@everymatrix/casino-page 1.4.1 → 1.5.2

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.
@@ -27,5 +27,5 @@
27
27
  <span id=${t} class="${e}">
28
28
  ${n}
29
29
  </span>
30
- `},J,p,y,b,v,x,ne,_,C,k,T,G,M,E,L,P,ge,pe,function(e){Ue[e?"unshift":"push"](()=>{i=e,s(19,i)})},()=>be($),()=>ye($),()=>be($),function(e){Ue[e?"unshift":"push"](()=>{g=e,s(14,g)})},function(e){Ue[e?"unshift":"push"](()=>{o=e,s(11,o)})}]}function ur(e,t,n){const a=e.slice();return a[77]=t[n],a[79]=n,a}function mr(e,t,n){const a=e.slice();return a[77]=t[n],a[80]=t,a[79]=n,a}function hr(e,t,n){const a=e.slice();return a[77]=t[n],a[79]=n,a}function gr(e){let n;function a(e){return e[17]?br:e[27]?yr:void 0}let r=a(e),i=r&&r(e);return{c(){n=he("div"),i&&i.c()},m(e,t){ue(e,n,t),i&&i.m(n,null)},p(e,t){r===(r=a(e))&&i?i.p(e,t):(i&&i.d(1),(i=r&&r(e))&&(i.c(),i.m(n,null)))},d(e){e&&me(n),i&&i.d()}}}function pr(e){let n,a,r;function i(e){return e[21]?Br:e[18].length?Nr:Dr}let s=i(e),o=s(e);function l(e){return e[18]?jr:Hr}let c=l(e),d=c(e);return{c(){n=he("div"),a=he("div"),o.c(),r=pe(),d.c(),fe(a,"class","CasinoGamesHeader Searched "+(We(e[32])?"CasinoGamesHeaderMobile":"")),fe(a,"part","CasinoGamesHeader Searched "+(We(e[32])?"CasinoGamesHeaderMobile":"")),fe(n,"class","CasinoGamesContainer"),fe(n,"part","CasinoGamesContainer")},m(e,t){ue(e,n,t),de(n,a),o.m(a,null),de(n,r),d.m(n,null)},p(e,t){s===(s=i(e))&&o?o.p(e,t):(o.d(1),(o=s(e))&&(o.c(),o.m(a,null))),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(n,null)))},d(e){e&&me(n),o.d(),d.d()}}}function fr(e){let n;function a(e){return e[23]?zr:Wr}let r=a(e),i=r(e);return{c(){i.c(),n=l()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){r!==(r=a(e))&&(i.d(1),(i=r(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&me(n)}}}function yr(n){let a,r,i,s,o,l="true"!==n[12]&&vr(n);function c(e){return e[15]?xr:e[30]?$r:wr}let d=c(n),u=d(n);return{c(){a=he("div"),l&&l.c(),r=pe(),i=he("ul"),u.c(),fe(i,"class",s=(0!=n[30].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(i,"part",o=(0!=n[30].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(a,"class","CasinoGamesContainer"),fe(a,"part","CasinoGamesContainer")},m(e,t){ue(e,a,t),l&&l.m(a,null),de(a,r),de(a,i),u.m(i,null),n[52](i)},p(e,t){"true"!==e[12]?l?l.p(e,t):((l=vr(e)).c(),l.m(a,r)):l&&(l.d(1),l=null),d===(d=c(e))&&u?u.p(e,t):(u.d(1),(u=d(e))&&(u.c(),u.m(i,null))),1073741824&t[0]&&s!==(s=(0!=e[30].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(i,"class",s),1073741824&t[0]&&o!==(o=(0!=e[30].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(i,"part",o)},d(e){e&&me(a),l&&l.d(),u.d(),n[52](null)}}}function br(e){let n,a,r="true"!==e[12]&&Pr(e);function i(e){return e[15]?Ar:0!==e[18].length?Ir:Rr}let s=i(e),o=s(e);return{c(){n=he("div"),r&&r.c(),a=pe(),o.c(),fe(n,"class","CasinoGamesContainer"),fe(n,"part","CasinoGamesContainer")},m(e,t){ue(e,n,t),r&&r.m(n,null),de(n,a),o.m(n,null)},p(e,t){"true"!==e[12]?r?r.p(e,t):((r=Pr(e)).c(),r.m(n,a)):r&&(r.d(1),r=null),s===(s=i(e))&&o?o.p(e,t):(o.d(1),(o=s(e))&&(o.c(),o.m(n,null)))},d(e){e&&me(n),r&&r.d(),o.d()}}}function vr(n){let a,r,i,s,o,l,c,d,u=n[31]("gamesCategorySection.favorites")+"",m=n[30].items.length+"";return{c(){a=he("div"),r=he("h3"),i=ge(u),s=pe(),o=he("span"),l=ge("("),c=ge(m),d=ge(")"),fe(o,"class","CategoryFavName"),fe(r,"class","CategoryName"),fe(r,"part","CategoryName"),fe(a,"class","CasinoGamesHeader"),fe(a,"part","CasinoGamesHeader")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,s),de(r,o),de(o,l),de(o,c),de(o,d),n[51](r)},p(e,t){1&t[1]&&u!==(u=e[31]("gamesCategorySection.favorites")+"")&&ye(i,u),1073741824&t[0]&&m!==(m=e[30].items.length+"")&&ye(c,m)},d(e){e&&me(a),n[51](null)}}}function wr(e){let n,a,r=e[31]("gamesCategorySection.waiting")+"";return{c(){n=he("p"),a=ge(r)},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1&t[1]&&r!==(r=e[31]("gamesCategorySection.waiting")+"")&&ye(a,r)},d(e){e&&me(n)}}}function $r(t){let a,r=t[30].items,i=[];for(let e=0;e<r.length;e+=1)i[e]=Lr(ur(t,r,e));let s=null;return r.length||(s=Sr(t)),{c(){for(let e=0;e<i.length;e+=1)i[e].c();a=l(),s&&s.c()},m(t,n){for(let e=0;e<i.length;e+=1)i[e].m(t,n);ue(t,a,n),s&&s.m(t,n)},p(t,n){if(2013270015&n[0]|7&n[1]){let e;for(r=t[30].items,e=0;e<r.length;e+=1){const s=ur(t,r,e);i[e]?i[e].p(s,n):(i[e]=Lr(s),i[e].c(),i[e].m(a.parentNode,a))}for(;e<i.length;e+=1)i[e].d(1);i.length=r.length,!r.length&&s?s.p(t,n):r.length?s&&(s.d(1),s=null):((s=Sr(t)).c(),s.m(a.parentNode,a))}},d(e){k(i,e),e&&me(a),s&&s.d(e)}}}function xr(e){let n;return{c(){fe(n=he("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function Sr(e){let n,a,r,i,s,o,l,c,t,d,u=e[31]("gamesCategorySection.noFavoritesTitle")+"",m=(g=e,We(g[32])?Cr:_r),h=m(e);var g;return{c(){n=he("p"),a=M("svg"),r=M("path"),i=pe(),s=he("span"),o=ge(u),l=pe(),h.c(),c=pe(),S(r,"fill","white"),fe(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"),fe(a,"version","1.1"),fe(a,"class","UnfavoredIcon"),fe(a,"part","UnfavoredIcon"),fe(a,"xmlns","http://www.w3.org/2000/svg"),fe(a,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(a,"x","50px"),fe(a,"y","50px"),fe(a,"viewBox","0 0 512.001 512.001"),S(a,"enable-background","new 0 0 512.001 512.001"),fe(a,"xml:space","preserve"),fe(s,"class","NoFavoriteText NoFavoriteTextHighlight"),fe(s,"part","NoFavoriteText NoFavoriteTextHighlight"),fe(n,"class",t="NoFavoriteGames "+(We(e[32])?"NoFavoriteGamesMobile":"")),fe(n,"part",d="NoFavoriteGames "+(We(e[32])?"NoFavoriteGamesMobile":""))},m(e,t){ue(e,n,t),de(n,a),de(a,r),de(n,i),de(n,s),de(s,o),de(n,l),h.m(n,null),de(n,c)},p(e,t){1&t[1]&&u!==(u=e[31]("gamesCategorySection.noFavoritesTitle")+"")&&ye(o,u),h.p(e,t)},d(e){e&&me(n),h.d()}}}function _r(e){let n,a,r=e[31]("gamesCategorySection.noFavorites")+"";return{c(){n=he("span"),a=ge(r),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1&t[1]&&r!==(r=e[31]("gamesCategorySection.noFavorites")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Cr(e){let n,a,r=e[31]("gamesCategorySection.noFavoritesMobile")+"";return{c(){n=he("span"),a=ge(r),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1&t[1]&&r!==(r=e[31]("gamesCategorySection.noFavoritesMobile")+"")&&ye(a,r)},d(e){e&&me(n)}}}function kr(e){let n,a=e[77].gameModel.isFavorite&&Tr(e);return{c(){a&&a.c(),n=l()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){e[77].gameModel.isFavorite?a?a.p(e,t):((a=Tr(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&me(n)}}}function Tr(e){let n,a=function(e){let n,a,r;function i(e,t){return 1073741824&t[0]&&(a=null),(n=null==n?!!We(e[32]):n)?Mr:(a=null==a?!!e[77].gameModel.platform.includes("PC"):a)?Gr:void 0}let s=i(e,[-1,-1,-1]),o=s&&s(e);return{c(){o&&o.c(),r=l()},m(e,t){o&&o.m(e,t),ue(e,r,t)},p(e,t){s===(s=i(e,t))&&o?o.p(e,t):(o&&o.d(1),(o=s&&s(e))&&(o.c(),o.m(r.parentNode,r)))},d(e){o&&o.d(e),e&&me(r)}}}(e);return{c(){a&&a.c(),n=l()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){a.p(e,t)},d(e){a&&a.d(e),e&&me(n)}}}function Gr(e){let n,a,r,i,s,o,l,c,d,u,m,h,g,p;return{c(){x(n=he("casino-game-thumbnail"),"class",a=""+($+(e[77].cellSize||"1x1"))),x(n,"part",r=""+($+(e[77].cellSize||"1x1"))),x(n,"session",e[2]),x(n,"userid",e[3]),x(n,"lang",e[1]),x(n,"favorites",e[4]),x(n,"gamethumbnail",i=e[77].gameModel.thumbnail),x(n,"gamename",s=e[77].gameModel.name),x(n,"gamevendor",o=e[77].gameModel.vendor.name),x(n,"gameisnew",l=e[77].gameModel.isNew),x(n,"gametag",c=0<e[77].gameModel.advancedTags?.length&&e[33](e[77].advancedTags)),x(n,"gamecellsize",d=e[77].cellSize),x(n,"gameid",u=e[77].gameModel.id),x(n,"gamefunmode",m=e[77].gameModel.hasFunMode),x(n,"gamefavorite",h=e[77].gameModel.isFavorite),x(n,"showfavoredcategory",e[27]),x(n,"connectlive",g=1==e[28][e[77].id]?"connect":"disconnect"),x(n,"visibilityconnect",e[29]),x(n,"currency",e[7]),x(n,"livelobbyendpoint",p=e[77].gameModel.details?e[77].gameModel.launchUrl:""),x(n,"clientstyling",e[5]),x(n,"clientstylingurl",e[6]),x(n,"endpoint",e[0]),x(n,"livecasino",e[8]),x(n,"gamepagemodalurl",e[9]),x(n,"integratedgameframedesktop",e[10]),x(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){1073741824&t[0]&&a!==(a=""+($+(e[77].cellSize||"1x1")))&&x(n,"class",a),1073741824&t[0]&&r!==(r=""+($+(e[77].cellSize||"1x1")))&&x(n,"part",r),4&t[0]&&x(n,"session",e[2]),8&t[0]&&x(n,"userid",e[3]),2&t[0]&&x(n,"lang",e[1]),16&t[0]&&x(n,"favorites",e[4]),1073741824&t[0]&&i!==(i=e[77].gameModel.thumbnail)&&x(n,"gamethumbnail",i),1073741824&t[0]&&s!==(s=e[77].gameModel.name)&&x(n,"gamename",s),1073741824&t[0]&&o!==(o=e[77].gameModel.vendor.name)&&x(n,"gamevendor",o),1073741824&t[0]&&l!==(l=e[77].gameModel.isNew)&&x(n,"gameisnew",l),1073741824&t[0]&&c!==(c=0<e[77].gameModel.advancedTags?.length&&e[33](e[77].advancedTags))&&x(n,"gametag",c),1073741824&t[0]&&d!==(d=e[77].cellSize)&&x(n,"gamecellsize",d),1073741824&t[0]&&u!==(u=e[77].gameModel.id)&&x(n,"gameid",u),1073741824&t[0]&&m!==(m=e[77].gameModel.hasFunMode)&&x(n,"gamefunmode",m),1073741824&t[0]&&h!==(h=e[77].gameModel.isFavorite)&&x(n,"gamefavorite",h),134217728&t[0]&&x(n,"showfavoredcategory",e[27]),1342177280&t[0]&&g!==(g=1==e[28][e[77].id]?"connect":"disconnect")&&x(n,"connectlive",g),536870912&t[0]&&x(n,"visibilityconnect",e[29]),128&t[0]&&x(n,"currency",e[7]),1073741824&t[0]&&p!==(p=e[77].gameModel.details?e[77].gameModel.launchUrl:"")&&x(n,"livelobbyendpoint",p),32&t[0]&&x(n,"clientstyling",e[5]),64&t[0]&&x(n,"clientstylingurl",e[6]),1&t[0]&&x(n,"endpoint",e[0]),256&t[0]&&x(n,"livecasino",e[8]),512&t[0]&&x(n,"gamepagemodalurl",e[9]),1024&t[0]&&x(n,"integratedgameframedesktop",e[10]),2048&t[0]&&x(n,"integratedgameframemobile",e[11])},d(e){e&&me(n)}}}function Mr(e){let n,a=e[77].gameModel.platform.includes("iPad")||e[77].gameModel.platform.includes("iPhone")||e[77].gameModel.platform.includes("Android"),r=a&&Er(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){(a=1073741824&t[0]?e[77].gameModel.platform.includes("iPad")||e[77].gameModel.platform.includes("iPhone")||e[77].gameModel.platform.includes("Android"):a)?r?r.p(e,t):((r=Er(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&me(n)}}}function Er(e){let n,a,r,i,s,o,l,c,d,u,m,h,g,p;return{c(){x(n=he("casino-game-thumbnail"),"class",a=""+($+(e[77].cellSize||"1x1"))),x(n,"part",r=""+($+(e[77].cellSize||"1x1"))),x(n,"session",e[2]),x(n,"userid",e[3]),x(n,"lang",e[1]),x(n,"favorites",e[4]),x(n,"gamethumbnail",i=e[77].gameModel.thumbnail),x(n,"gamename",s=e[77].gameModel.name),x(n,"gamevendor",o=e[77].gameModel.vendor.name),x(n,"gameisnew",l=e[77].gameModel.isNew),x(n,"gametag",c=0<e[77].gameModel.advancedTags?.length&&e[33](e[77].advancedTags)),x(n,"gamecellsize",d=e[77].cellSize),x(n,"gameid",u=e[77].gameModel.id),x(n,"gamefunmode",m=e[77].gameModel.hasFunMode),x(n,"gamefavorite",h=e[77].gameModel.isFavorite),x(n,"showfavoredcategory",e[27]),x(n,"connectlive",g=1==e[28][e[77].id]?"connect":"disconnect"),x(n,"visibilityconnect",e[29]),x(n,"currency",e[7]),x(n,"livelobbyendpoint",p=e[77].gameModel.details?e[77].gameModel.launchUrl:""),x(n,"clientstyling",e[5]),x(n,"clientstylingurl",e[6]),x(n,"endpoint",e[0]),x(n,"livecasino",e[8]),x(n,"gamepagemodalurl",e[9]),x(n,"integratedgameframedesktop",e[10]),x(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){1073741824&t[0]&&a!==(a=""+($+(e[77].cellSize||"1x1")))&&x(n,"class",a),1073741824&t[0]&&r!==(r=""+($+(e[77].cellSize||"1x1")))&&x(n,"part",r),4&t[0]&&x(n,"session",e[2]),8&t[0]&&x(n,"userid",e[3]),2&t[0]&&x(n,"lang",e[1]),16&t[0]&&x(n,"favorites",e[4]),1073741824&t[0]&&i!==(i=e[77].gameModel.thumbnail)&&x(n,"gamethumbnail",i),1073741824&t[0]&&s!==(s=e[77].gameModel.name)&&x(n,"gamename",s),1073741824&t[0]&&o!==(o=e[77].gameModel.vendor.name)&&x(n,"gamevendor",o),1073741824&t[0]&&l!==(l=e[77].gameModel.isNew)&&x(n,"gameisnew",l),1073741824&t[0]&&c!==(c=0<e[77].gameModel.advancedTags?.length&&e[33](e[77].advancedTags))&&x(n,"gametag",c),1073741824&t[0]&&d!==(d=e[77].cellSize)&&x(n,"gamecellsize",d),1073741824&t[0]&&u!==(u=e[77].gameModel.id)&&x(n,"gameid",u),1073741824&t[0]&&m!==(m=e[77].gameModel.hasFunMode)&&x(n,"gamefunmode",m),1073741824&t[0]&&h!==(h=e[77].gameModel.isFavorite)&&x(n,"gamefavorite",h),134217728&t[0]&&x(n,"showfavoredcategory",e[27]),1342177280&t[0]&&g!==(g=1==e[28][e[77].id]?"connect":"disconnect")&&x(n,"connectlive",g),536870912&t[0]&&x(n,"visibilityconnect",e[29]),128&t[0]&&x(n,"currency",e[7]),1073741824&t[0]&&p!==(p=e[77].gameModel.details?e[77].gameModel.launchUrl:"")&&x(n,"livelobbyendpoint",p),32&t[0]&&x(n,"clientstyling",e[5]),64&t[0]&&x(n,"clientstylingurl",e[6]),1&t[0]&&x(n,"endpoint",e[0]),256&t[0]&&x(n,"livecasino",e[8]),512&t[0]&&x(n,"gamepagemodalurl",e[9]),1024&t[0]&&x(n,"integratedgameframedesktop",e[10]),2048&t[0]&&x(n,"integratedgameframemobile",e[11])},d(e){e&&me(n)}}}function Lr(e){let n,a=e[77].gameModel&&kr(e);return{c(){a&&a.c(),n=l()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){e[77].gameModel?a?a.p(e,t):((a=kr(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&me(n)}}}function Pr(n){let a,r,i,s,o=n[17].name+"",l=n[19]&&Fr(n);return{c(){a=he("div"),r=he("h3"),i=ge(o),s=pe(),l&&l.c(),fe(r,"class","CategoryName"),fe(r,"part","CategoryName"),fe(a,"class","CasinoGamesHeader"),fe(a,"part","CasinoGamesHeader")},m(e,t){ue(e,a,t),de(a,r),de(r,i),n[47](r),de(a,s),l&&l.m(a,null)},p(e,t){131072&t[0]&&o!==(o=e[17].name+"")&&ye(i,o),e[19]?l?l.p(e,t):((l=Fr(e)).c(),l.m(a,null)):l&&(l.d(1),l=null)},d(e){e&&me(a),n[47](null),l&&l.d()}}}function Fr(n){let a,r,i,s,o,l,c,d,u=n[31]("gamesCategorySection.viewAll")+"",m=n[17].games.total+"";return{c(){a=he("a"),r=he("span"),i=ge(u),s=ge(" ("),o=ge(m),l=ge(")"),fe(r,"class","CategoryLoadMore"),fe(r,"part","CategoryLoadMore"),fe(a,"class","CategoryNameLink"),fe(a,"part","CategoryNameLink")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,s),de(r,o),de(r,l),c||(d=z(a,"click",n[48]),c=!0)},p(e,t){1&t[1]&&u!==(u=e[31]("gamesCategorySection.viewAll")+"")&&ye(i,u),131072&t[0]&&m!==(m=e[17].games.total+"")&&ye(o,m)},d(e){e&&me(a),c=!1,d()}}}function Rr(e){let n;return{c(){(n=he("p")).textContent="You don't have any games in this category.",fe(n,"class","NoSearchResults"),fe(n,"part","NoSearchResults")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function Ir(n){let a,e,r,i=n[18],s=[];for(let e=0;e<i.length;e+=1)s[e]=Or(mr(n,i,e));return{c(){a=he("ul");for(let e=0;e<s.length;e+=1)s[e].c();fe(a,"class",e=(0===n[30].items.length&&n[27]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),fe(a,"part",r=(0===n[30].items.length&&n[27]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){ue(e,a,t);for(let e=0;e<s.length;e+=1)s[e].m(a,null);n[50](a)},p(t,n){if(805588991&n[0]|4&n[1]){let e;for(i=t[18],e=0;e<i.length;e+=1){const r=mr(t,i,e);s[e]?s[e].p(r,n):(s[e]=Or(r),s[e].c(),s[e].m(a,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}1207959552&n[0]&&e!==(e=(0===t[30].items.length&&t[27]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(a,"class",e),1207959552&n[0]&&r!==(r=(0===t[30].items.length&&t[27]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(a,"part",r)},d(e){e&&me(a),k(s,e),n[50](null)}}}function Ar(e){let n;return{c(){fe(n=he("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function Or(e){let n,a=function(n){let a,r,i,s,o,l,c,d,u,m,h,g,p,f,y=n[79];const b=()=>n[49](a,y),v=()=>n[49](null,y);return{c(){x(a=he("casino-game-thumbnail"),"session",n[2]),x(a,"userid",n[3]),x(a,"lang",n[1]),x(a,"class",r=""+($+(n[77].cellSize||"1x1"))),x(a,"part",i=""+($+(n[77].cellSize||"1x1"))),x(a,"favorites",n[4]),x(a,"gamethumbnail",s=n[77].thumbnail),x(a,"gamename",o=n[77].name),x(a,"gamevendor",l=n[77].vendor.name),x(a,"gameisnew",c=n[77].isNew),x(a,"gametag",d=0<n[77].advancedTags?.length&&n[33](n[77].advancedTags)),x(a,"gamecellsize",u=n[77].cellSize),x(a,"gameid",m=n[77].id),x(a,"gamefunmode",h=n[77].hasFunMode),x(a,"gamefavorite",g=n[77].isFavorite),x(a,"connectlive",p=1==n[28][n[77].id]?"connect":"disconnect"),x(a,"visibilityconnect",n[29]),x(a,"currency",n[7]),x(a,"livelobbyendpoint",f=n[77].details?n[77].href:""),x(a,"clientstyling",n[5]),x(a,"clientstylingurl",n[6]),x(a,"endpoint",n[0]),x(a,"livecasino",n[8]),x(a,"gamepagemodalurl",n[9]),x(a,"integratedgameframedesktop",n[10]),x(a,"integratedgameframemobile",n[11])},m(e,t){ue(e,a,t),b()},p(e,t){n=e,4&t[0]&&x(a,"session",n[2]),8&t[0]&&x(a,"userid",n[3]),2&t[0]&&x(a,"lang",n[1]),262144&t[0]&&r!==(r=""+($+(n[77].cellSize||"1x1")))&&x(a,"class",r),262144&t[0]&&i!==(i=""+($+(n[77].cellSize||"1x1")))&&x(a,"part",i),16&t[0]&&x(a,"favorites",n[4]),262144&t[0]&&s!==(s=n[77].thumbnail)&&x(a,"gamethumbnail",s),262144&t[0]&&o!==(o=n[77].name)&&x(a,"gamename",o),262144&t[0]&&l!==(l=n[77].vendor.name)&&x(a,"gamevendor",l),262144&t[0]&&c!==(c=n[77].isNew)&&x(a,"gameisnew",c),262144&t[0]&&d!==(d=0<n[77].advancedTags?.length&&n[33](n[77].advancedTags))&&x(a,"gametag",d),262144&t[0]&&u!==(u=n[77].cellSize)&&x(a,"gamecellsize",u),262144&t[0]&&m!==(m=n[77].id)&&x(a,"gameid",m),262144&t[0]&&h!==(h=n[77].hasFunMode)&&x(a,"gamefunmode",h),262144&t[0]&&g!==(g=n[77].isFavorite)&&x(a,"gamefavorite",g),268697600&t[0]&&p!==(p=1==n[28][n[77].id]?"connect":"disconnect")&&x(a,"connectlive",p),536870912&t[0]&&x(a,"visibilityconnect",n[29]),128&t[0]&&x(a,"currency",n[7]),262144&t[0]&&f!==(f=n[77].details?n[77].href:"")&&x(a,"livelobbyendpoint",f),32&t[0]&&x(a,"clientstyling",n[5]),64&t[0]&&x(a,"clientstylingurl",n[6]),1&t[0]&&x(a,"endpoint",n[0]),256&t[0]&&x(a,"livecasino",n[8]),512&t[0]&&x(a,"gamepagemodalurl",n[9]),1024&t[0]&&x(a,"integratedgameframedesktop",n[10]),2048&t[0]&&x(a,"integratedgameframemobile",n[11]),y!==n[79]&&(v(),y=n[79],b())},d(e){e&&me(a),v()}}}(e);return{c(){a&&a.c(),n=l()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){a.p(e,t)},d(e){a&&a.d(e),e&&me(n)}}}function Nr(e){let n,a,r=e[31]("gamesCategorySection.searchedItems")+"";return{c(){n=he("h3"),a=ge(r),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1&t[1]&&r!==(r=e[31]("gamesCategorySection.searchedItems")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Dr(e){let n,a,r=e[31]("gamesCategorySection.noResults")+"";return{c(){n=he("h3"),a=ge(r),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1&t[1]&&r!==(r=e[31]("gamesCategorySection.noResults")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Br(e){let n,a,r=e[31]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=he("h3"),a=ge(r),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1&t[1]&&r!==(r=e[31]("gamesCategorySection.recentSearchedItems")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Hr(e){let n;return{c(){(n=he("p")).textContent="Waiting",fe(n,"class","SearchWaiting"),fe(n,"part","SearchWaiting")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function jr(t){let a,r,i=!t[24]&&Ur(t),s=t[18],o=[];for(let e=0;e<s.length;e+=1)o[e]=Yr(hr(t,s,e));return{c(){i&&i.c(),a=pe(),r=he("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(r,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),fe(r,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){i&&i.m(e,t),ue(e,a,t),ue(e,r,t);for(let e=0;e<o.length;e+=1)o[e].m(r,null)},p(t,n){if(t[24]?i&&(i.d(1),i=null):i?i.p(t,n):((i=Ur(t)).c(),i.m(a.parentNode,a)),4460543&n[0]|4&n[1]){let e;for(s=t[18],e=0;e<s.length;e+=1){const i=hr(t,s,e);o[e]?o[e].p(i,n):(o[e]=Yr(i),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=s.length}},d(e){i&&i.d(e),e&&me(a),e&&me(r),k(o,e)}}}function Ur(e){let n,a,t,r,i=e[31]("gamesCategorySection.noRecentSearch")+"";return{c(){n=he("p"),a=ge(i),fe(n,"class",t="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(We(e[32])?"NoRecentSearchesMobile":"")),fe(n,"part",r="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(We(e[32])?"NoRecentSearchesMobile":""))},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1&t[1]&&i!==(i=e[31]("gamesCategorySection.noRecentSearch")+"")&&ye(a,i)},d(e){e&&me(n)}}}function Yr(e){let n,a,r,i,s,o,l,c,d,u,m,h,g;return{c(){x(n=he("casino-game-thumbnail"),"class",a=""+($+(e[77].cellSize||"1x1"))),x(n,"part",r=""+($+(e[77].cellSize||"1x1"))),x(n,"session",e[2]),x(n,"userid",e[3]),x(n,"lang",e[1]),x(n,"searchitem",e[22]),x(n,"favorites",e[4]),x(n,"gamethumbnail",i=e[77].thumbnail),x(n,"gamename",s=e[77].name),x(n,"gamevendor",o=e[77].vendor.name),x(n,"gameisnew",l=e[77].isNew),x(n,"gametag",c=0<e[77].advancedTags?.length&&e[33](e[77].advancedTags)),x(n,"gamecellsize",d=e[77].cellSize),x(n,"gameid",u=e[77].id),x(n,"gamefunmode",m=e[77].hasFunMode),x(n,"gamefavorite",h=e[77].isFavorite),x(n,"currency",e[7]),x(n,"livelobbyendpoint",g=e[77].details?e[77].href:""),x(n,"clientstyling",e[5]),x(n,"clientstylingurl",e[6]),x(n,"endpoint",e[0]),x(n,"livecasino",e[8]),x(n,"gamepagemodalurl",e[9]),x(n,"integratedgameframedesktop",e[10]),x(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){262144&t[0]&&a!==(a=""+($+(e[77].cellSize||"1x1")))&&x(n,"class",a),262144&t[0]&&r!==(r=""+($+(e[77].cellSize||"1x1")))&&x(n,"part",r),4&t[0]&&x(n,"session",e[2]),8&t[0]&&x(n,"userid",e[3]),2&t[0]&&x(n,"lang",e[1]),4194304&t[0]&&x(n,"searchitem",e[22]),16&t[0]&&x(n,"favorites",e[4]),262144&t[0]&&i!==(i=e[77].thumbnail)&&x(n,"gamethumbnail",i),262144&t[0]&&s!==(s=e[77].name)&&x(n,"gamename",s),262144&t[0]&&o!==(o=e[77].vendor.name)&&x(n,"gamevendor",o),262144&t[0]&&l!==(l=e[77].isNew)&&x(n,"gameisnew",l),262144&t[0]&&c!==(c=0<e[77].advancedTags?.length&&e[33](e[77].advancedTags))&&x(n,"gametag",c),262144&t[0]&&d!==(d=e[77].cellSize)&&x(n,"gamecellsize",d),262144&t[0]&&u!==(u=e[77].id)&&x(n,"gameid",u),262144&t[0]&&m!==(m=e[77].hasFunMode)&&x(n,"gamefunmode",m),262144&t[0]&&h!==(h=e[77].isFavorite)&&x(n,"gamefavorite",h),128&t[0]&&x(n,"currency",e[7]),262144&t[0]&&g!==(g=e[77].details?e[77].href:"")&&x(n,"livelobbyendpoint",g),32&t[0]&&x(n,"clientstyling",e[5]),64&t[0]&&x(n,"clientstylingurl",e[6]),1&t[0]&&x(n,"endpoint",e[0]),256&t[0]&&x(n,"livecasino",e[8]),512&t[0]&&x(n,"gamepagemodalurl",e[9]),1024&t[0]&&x(n,"integratedgameframedesktop",e[10]),2048&t[0]&&x(n,"integratedgameframemobile",e[11])},d(e){e&&me(n)}}}function Wr(e){let n;return{c(){(n=he("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function zr(e){let n;return{c(){(n=he("p")).textContent="404 Error - No result found.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function Vr(n){let a;function r(e){return e[16]?fr:e[20]?pr:gr}let i=r(n),s=i(n);return{c(){a=he("div"),s.c(),this.c=W,fe(a,"class","CasinoGamesCategorySectionContainer"),fe(a,"part","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,a,t),s.m(a,null),n[53](a)},p(e,t){i===(i=r(e))&&s?s.p(e,t):(s.d(1),(s=i(e))&&(s.c(),s.m(a,null)))},i:W,o:W,d(e){e&&me(a),s.d(),n[53](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends e{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, black 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}</style>",j(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},dr,ir,t,{session:48,userid:49,lang:1,clientstyling:50,clientstylingurl:51,translationurl:52,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gameid:6,gameisnew:7,gametag:8,gamefunmode:53,searchitem:54,gamefavorite:0,gamecellsize:9,showfavoredcategory:55,showgamename:10,currency:56,gamepagemodalurl:57,endpoint:58,livelobbyendpoint:59,connectlive:60,visibilityconnect:61,integratedgameframedesktop:62,integratedgameframemobile:63,MONEY_WHEEL_COLOR_MAP:64,ROULETTE_COLOR_MAP:65},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gametag","gamefunmode","searchitem","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[48]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[49]}set userid(e){this.$$set({userid:e}),f()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[50]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[51]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[52]}set translationurl(e){this.$$set({translationurl:e}),f()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),f()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),f()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),f()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),f()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),f()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),f()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),f()}get gamefunmode(){return this.$$.ctx[53]}set gamefunmode(e){this.$$set({gamefunmode:e}),f()}get searchitem(){return this.$$.ctx[54]}set searchitem(e){this.$$set({searchitem:e}),f()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),f()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),f()}get showfavoredcategory(){return this.$$.ctx[55]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),f()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),f()}get currency(){return this.$$.ctx[56]}set currency(e){this.$$set({currency:e}),f()}get gamepagemodalurl(){return this.$$.ctx[57]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get endpoint(){return this.$$.ctx[58]}set endpoint(e){this.$$set({endpoint:e}),f()}get livelobbyendpoint(){return this.$$.ctx[59]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),f()}get connectlive(){return this.$$.ctx[60]}set connectlive(e){this.$$set({connectlive:e}),f()}get visibilityconnect(){return this.$$.ctx[61]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[62]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[63]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[64]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[65]}});const $="game-tile-";function Zr(e,t,o){let A;Ve(e,Ta,e=>o(31,A=e));let i,s,l,n,O,a,c,r,d,u,{categoryindex:N=""}=t,{endpoint:m=""}=t,{datasource:h=""}=t,{lang:g=""}=t,{session:D=""}=t,{userid:B=""}=t,{favorites:p=""}=t,{clientstyling:f=""}=t,{clientstylingurl:y=""}=t,{translationurl:b=""}=t,{currency:H=""}=t,{categoryid:v=""}=t,{categorygames:j=0}=t,{livecasino:U="false"}=t,{visiblegames:Y=""}=t,{gamepagemodalurl:W="false"}=t,{integratedgameframedesktop:z="false"}=t,{integratedgameframemobile:V="false"}=t,{casinomygames:w="false"}=t,{once:Z=!0}=t,{top:K=0}=t,{bottom:X=0}=t,{left:J=0}=t,{right:q=0}=t,$=!0,x=!1,S=!0,Q=window.navigator.userAgent,_=[],C=!0,k=40,T=!1,G=!1,ee=!1,M=!1,E=!1,te=!0,L=!1,ne=!1,P=new Array(1e4),F={},ae="",R={items:[],count:0,name:""},re=(Object.keys(La).forEach(e=>{Ea(e,La[e])}),void 0!==document.hidden?d="hidden":void 0!==document.msHidden?d="msHidden":void 0!==document.webkitHidden&&(d="webkitHidden"),new IntersectionObserver(e=>{e.forEach(async e=>{var t=e.target.gameid,n=e.target.elems_index;e.isIntersecting?(1.2*n>k&&oe(v),o(28,F[t]=1,F)):o(28,F[t]=0,F)})}));const ie=(e,a,r,t=0)=>{let n,i="",s=(o(15,$=!0),i=1<(v.match(/\$/g)||[]).length?(n=v.split("$").slice(0,2).join("$"),new URL(`${m}/casino/groups/${h}/${n}/subGroups`)):new URL(`${m}/casino/groups/${h}/`+v),JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")));return new Promise((t,n)=>{if(i.searchParams.delete("pagination"),i.searchParams.append("expand","games(vendor)"),i.searchParams.append("fields","id,name,games"),i.searchParams.append("platform",ze(Q)),i.searchParams.append("pagination",`games(offset=${a},limit=${r})`),i.searchParams.append("language",g),window.postMessage({type:"CategoryVendors",categoryid:v},window.location.href),s&&s[v])if(s[v].length&&!1===S&&!1===L){let t="";o(23,E=!0),s[v].forEach(e=>{t+=t?", id="+e:"id="+e}),i.searchParams.append("filter",`games(vendor(${t}))`)}else o(23,E=!1);fetch(i).then(e=>e.json()).then(e=>{o(15,$=!1),1<(v.match(/\$/g)||[]).length&&(e=e.items.filter(e=>{if(e.id==v)return e})[0]),o(46,u=!0),o(16,x=!1),O=e.games.total,t(e)},e=>{o(16,x=!0),console.error(e),n(e)})})},se=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":"MOSTPLAYED"==v&&(o(20,T=!1),S=!1,o(19,C=!1),o(18,_=t.data.mostPlayedGames),o(17,l={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}})),o(15,$=!1);break;case"LastPlayedData":"LASTPLAYED"==v&&(o(20,T=!1),S=!1,o(19,C=!1),o(18,_=t.data.lastPlayedGames),o(17,l={id:"LASTPLAYED",name:"Last Played Games",games:{count:t.data.lastPlayedGames.length,total:t.data.lastPlayedGames.length,items:t.data.lastPlayedGames}})),o(15,$=!1);break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":o(20,T=!0),o(21,G=!0),0<t.data.searchData.length?(o(18,_=t.data.searchData),o(24,te=!0),_&&_.forEach(e=>{e.isFavorite=I(e.id)})):(o(18,_=[]),o(24,te=!1));break;case"OutOfRecentSearches":o(20,T=!1),o(21,G=!1);break;case"SearchData":o(20,T=!0),o(21,G=!1),o(18,_=t.data.searchData.items||[]),o(22,M=!0),t.data.receivedFavoriteResults&&(c=t.data.receivedFavoriteResults.items),_&&_.forEach(e=>{e.isFavorite=I(e.id)});break;case"CategoryData_"+v:o(20,T=!1),S=!0,o(19,C=!0),o(22,M=!1),ne=!1,t.data.receivedFavoriteResults&&(c=t.data.receivedFavoriteResults.items),ie(t.data.categoryId,0,t.data.visiblegames).then(e=>{o(17,l=e),o(18,_=l.games.items),_&&_.forEach(e=>{e.isFavorite=I(e.id)})});break;case"CategoryChange":k=20;break;case"CategoryUpdate":o(20,T=!1),S=!1,o(22,M=!1),ne=!0,o(35,v=t.data.itemId),"MOSTPLAYED"!==v&&o(19,C=!1),"true"!==w&&ie(0,0,k).then(e=>{o(17,l=e),l.games.items.forEach(e=>{e.isFavorite=I(e.id)}),o(18,_=l.games.items),o(19,C=!1),_.length<10&&(ee=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:ee},window.location.href)},500))});break;case"FavoriteUpdate":S=!0,o(18,_=l.games.items),_.forEach(e=>{e.isFavorite=I(e.id)});break;case"UpdateCategoryFavoriteGames":if(t.data.receivedFavoriteResults){if(c=t.data.receivedFavoriteResults.items,t.data.favStadalone)return;L?S||window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href)}break;case"ShowFavoriteSection":let e;S=!1,t.data&&((e=t.data.receivedFavoriteResults.items).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),o(30,R.items=(n=e,R.items,r=window.navigator.userAgent,We(r)?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})),R),o(30,R.name="Favorites",R),o(27,L=!0),o(15,$=!1));break;case"UserSessionID":if(i=t.data.session,s=t.data.userID,"true"==p&&s&&s.length&&i&&0<i.length){var a=`${m}/player/${s}/favorites/`;r=i;o(15,$=!0);let e={method:"GET",headers:{"X-SessionID":r}};new Promise((t,n)=>{fetch(a,e).then(e=>e.json()).then(e=>{o(15,$=!1),c=e?e.items:[],_.forEach(e=>{e.isFavorite=I(e.id)});e=_;o(18,_=void 0),o(18,_=e),t(c)}).catch(e=>{console.error(e),n(e)})})}}var n,r},oe=e=>{(k+=1)<=O&&ie(0,0,k).then(e=>{o(17,l=e),l.games.items.length>_.length&&(o(18,_=l.games.items),_.forEach(e=>{e.isFavorite=I(e.id)}))})},I=t=>!!c&&-1!==c.findIndex(e=>e.id==t),le=e=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href)};return Ze(()=>(window.addEventListener("visibilitychange",e=>{document[d]?o(29,ae="disconnect"):o(29,ae="connect")}),window.addEventListener("message",se,!1),"FAVORITES"===v&&window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",se),window.removeEventListener("visibilitychange",se)})),e.$$set=e=>{"categoryindex"in e&&o(36,N=e.categoryindex),"endpoint"in e&&o(0,m=e.endpoint),"datasource"in e&&o(37,h=e.datasource),"lang"in e&&o(1,g=e.lang),"session"in e&&o(2,D=e.session),"userid"in e&&o(3,B=e.userid),"favorites"in e&&o(4,p=e.favorites),"clientstyling"in e&&o(5,f=e.clientstyling),"clientstylingurl"in e&&o(6,y=e.clientstylingurl),"translationurl"in e&&o(38,b=e.translationurl),"currency"in e&&o(7,H=e.currency),"categoryid"in e&&o(35,v=e.categoryid),"categorygames"in e&&o(39,j=e.categorygames),"livecasino"in e&&o(8,U=e.livecasino),"visiblegames"in e&&o(40,Y=e.visiblegames),"gamepagemodalurl"in e&&o(9,W=e.gamepagemodalurl),"integratedgameframedesktop"in e&&o(10,z=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(11,V=e.integratedgameframemobile),"casinomygames"in e&&o(12,w=e.casinomygames),"once"in e&&o(41,Z=e.once),"top"in e&&o(42,K=e.top),"bottom"in e&&o(43,X=e.bottom),"left"in e&&o(44,J=e.left),"right"in e&&o(45,q=e.right)},e.$$.update=()=>{if(16384&e.$$.dirty[0]|32768&e.$$.dirty[1]&&u&&P&&ne&&P.forEach((e,t)=>{e&&(e.elems_index=t,re.observe(e))}),2&e.$$.dirty[0]|16&e.$$.dirty[1]&&g&&v)switch(v){case"FAVORITES":o(27,L=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===w&&o(27,L=!1)}if(128&e.$$.dirty[1]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ea(e,t[e])})}).catch(e=>{console.log(e)}),8224&e.$$.dirty[0]&&f&&r){let e=document.createElement("style");e.innerHTML=f,r.appendChild(e)}if(8256&e.$$.dirty[0]&&y&&r){let e=new URL(y),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}},[m,g,D,B,p,f,y,H,U,W,z,V,w,r,P,$,x,l,_,C,T,G,M,E,te,n,a,L,F,ae,R,A,Q,a=>{if(0===(null==a?void 0:a.length))return"";let r,i,s=99999999999;const o=new Date(Date.now());return a.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);Ra(e).diff(o)<s&&(s=Ra(e).diff(o),i=t),Ra(o).isAfter(n)&&Ra(o).isBefore(e)&&(r=a[i].name)}),r},le,v,N,h,b,j,Y,Z,K,X,J,q,u,function(e){Ue[e?"unshift":"push"](()=>{a=e,o(26,a)})},e=>le(l.id),function(e,t){Ue[e?"unshift":"push"](()=>{P[t]=e,o(14,P)})},function(e){Ue[e?"unshift":"push"](()=>{n=e,o(25,n)})},function(e){Ue[e?"unshift":"push"](()=>{a=e,o(26,a)})},function(e){Ue[e?"unshift":"push"](()=>{n=e,o(25,n)})},function(e){Ue[e?"unshift":"push"](()=>{r=e,o(13,r)})}]}function Kr(e,t){oa(e,t)}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends e{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color:var(--emfe-w-color-white, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-color-white, #FFFFFF);font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-color-white, #FFFFFF);font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 5px 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}@media screen and (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}.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>",j(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Zr,Vr,t,{categoryindex:36,endpoint:0,datasource:37,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,translationurl:38,currency:7,categoryid:35,categorygames:39,livecasino:8,visiblegames:40,gamepagemodalurl:9,integratedgameframedesktop:10,integratedgameframemobile:11,casinomygames:12,once:41,top:42,bottom:43,left:44,right:45},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["categoryindex","endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[36]}set categoryindex(e){this.$$set({categoryindex:e}),f()}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[37]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),f()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$$set({favorites:e}),f()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[38]}set translationurl(e){this.$$set({translationurl:e}),f()}get currency(){return this.$$.ctx[7]}set currency(e){this.$$set({currency:e}),f()}get categoryid(){return this.$$.ctx[35]}set categoryid(e){this.$$set({categoryid:e}),f()}get categorygames(){return this.$$.ctx[39]}set categorygames(e){this.$$set({categorygames:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get visiblegames(){return this.$$.ctx[40]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get gamepagemodalurl(){return this.$$.ctx[9]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get casinomygames(){return this.$$.ctx[12]}set casinomygames(e){this.$$set({casinomygames:e}),f()}get once(){return this.$$.ctx[41]}set once(e){this.$$set({once:e}),f()}get top(){return this.$$.ctx[42]}set top(e){this.$$set({top:e}),f()}get bottom(){return this.$$.ctx[43]}set bottom(e){this.$$set({bottom:e}),f()}get left(){return this.$$.ctx[44]}set left(e){this.$$set({left:e}),f()}get right(){return this.$$.ctx[45]}set right(e){this.$$set({right:e}),f()}});const Xr={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},zh:{randomGame:{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放"}},de:{randomGame:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuf",playNowRandomGame:"Jetzt spielen"}},fr:{randomGame:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant"}},ro:{randomGame:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"}},tr:{randomGame:{playRandomGame:"Rastgele Bir Oyun Oyna",randomGameLoading:"Oyun Seçiliyor",playNowRandomGame:"Şimdi Oyna"}},es:{randomGame:{playRandomGame:"Juego aleatorio",randomGameLoading:"Seleccionando…",playNowRandomGame:"Juega Ya"}},pt:{randomGame:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora"}}};function Jr(e,t,n){const a=e.slice();return a[34]=t[n],a[36]=n,a}function qr(n){let a,r,i,s,o,l,c,d=!n[7]&&Qr(n),u=n[7]&&ti(n);return{c(){a=he("div"),r=he("div"),(i=he("span")).innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',s=pe(),d&&d.c(),o=pe(),u&&u.c(),fe(i,"class","ModalCloseBtn"),fe(i,"part","ModalCloseBtn"),fe(i,"role","button"),fe(r,"class","ModalContainer"),fe(r,"part","ModalContainer"),fe(a,"class","ModalWindow"),fe(a,"part","ModalWindow")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,s),d&&d.m(r,null),de(r,o),u&&u.m(r,null),l||(c=z(i,"click",n[11]),l=!0)},p(e,t){e[7]?d&&(d.d(1),d=null):d?d.p(e,t):((d=Qr(e)).c(),d.m(r,o)),e[7]?u?u.p(e,t):((u=ti(e)).c(),u.m(r,null)):u&&(u.d(1),u=null)},d(e){e&&me(a),d&&d.d(),u&&u.d(),l=!1,c()}}}function Qr(t){let n,a,r,i,s,o,e=t[8]("randomGame.randomGameLoading")+"",l=t[4],c=[];for(let e=0;e<l.length;e+=1)c[e]=ei(Jr(t,l,e));return{c(){n=he("div"),a=he("main"),r=he("div");for(let e=0;e<c.length;e+=1)c[e].c();i=pe(),s=he("p"),o=ge(e),fe(r,"class","items"),fe(r,"part","items"),S(r,"transform","translateY("+t[6]+"px)"),fe(a,"class","RandomGamesSliderWrapper"),fe(a,"part","RandomGamesSliderWrapper"),fe(s,"class","RandomGameLoading"),fe(s,"part","RandomGameLoading"),fe(n,"class","RandomGameWrapper"),fe(n,"part","RandomGameWrapper")},m(e,t){ue(e,n,t),de(n,a),de(a,r);for(let e=0;e<c.length;e+=1)c[e].m(r,null);de(n,i),de(n,s),de(s,o)},p(t,n){if(16&n[0]){let e;for(l=t[4],e=0;e<l.length;e+=1){var a=Jr(t,l,e);c[e]?c[e].p(a,n):(c[e]=ei(a),c[e].c(),c[e].m(r,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}64&n[0]&&S(r,"transform","translateY("+t[6]+"px)"),256&n[0]&&e!==(e=t[8]("randomGame.randomGameLoading")+"")&&ye(o,e)},d(e){e&&me(n),k(c,e)}}}function ei(e){let n,a,r,i,s,o;return{c(){n=he("div"),a=he("img"),o=pe(),fe(a,"class","RandomGameImage"),fe(a,"part","RandomGameImage"),ce(a.src,r=e[34].thumbnail)||fe(a,"src",r),fe(a,"alt",i=e[34].name),fe(a,"title",s=e[34].name),fe(n,"class","item"),fe(n,"part","item")},m(e,t){ue(e,n,t),de(n,a),de(n,o)},p(e,t){16&t[0]&&!ce(a.src,r=e[34].thumbnail)&&fe(a,"src",r),16&t[0]&&i!==(i=e[34].name)&&fe(a,"alt",i),16&t[0]&&s!==(s=e[34].name)&&fe(a,"title",s)},d(e){e&&me(n)}}}function ti(n){let a,r,i,s,o,l,c,d,u,m,h,g,p,f,y,b,v,w,$,x,S=n[3].name+"",_=n[3].vendor.name+"",C=n[8]("randomGame.playNowRandomGame")+"";return{c(){a=he("div"),r=he("div"),i=he("img"),c=pe(),(d=he("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emfe-w-color-white, #FFFFFF);;}\n </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>',u=pe(),m=he("div"),h=he("p"),g=ge(S),p=pe(),f=he("p"),y=ge(_),b=pe(),v=he("button"),w=ge(C),fe(i,"class","RandomGameImage"),fe(i,"part","RandomGameImage"),ce(i.src,s=n[3].thumbnail)||fe(i,"src",s),fe(i,"alt",o=n[3].name),fe(i,"title",l=n[3].name),fe(d,"class","RandomTryAgain"),fe(d,"part","RandomTryAgain"),fe(r,"class","item"),fe(r,"part","item"),fe(h,"class","RandomGameTitle"),fe(h,"part","RandomGameTitle"),fe(f,"class","RandomGameVendor"),fe(f,"part","RandomGameVendor"),fe(v,"class","RandomGamePlay"),fe(v,"part","RandomGamePlay"),fe(m,"class","RandomGameDetails"),fe(m,"part","RandomGameDetails"),fe(a,"class","RandomGameWrapper"),fe(a,"part","RandomGameWrapper")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,c),de(r,d),de(a,u),de(a,m),de(m,h),de(h,g),de(m,p),de(m,f),de(f,y),de(m,b),de(m,v),de(v,w),$||(x=[z(d,"click",n[20]),z(v,"click",n[21])],$=!0)},p(e,t){8&t[0]&&!ce(i.src,s=e[3].thumbnail)&&fe(i,"src",s),8&t[0]&&o!==(o=e[3].name)&&fe(i,"alt",o),8&t[0]&&l!==(l=e[3].name)&&fe(i,"title",l),8&t[0]&&S!==(S=e[3].name+"")&&ye(g,S),8&t[0]&&_!==(_=e[3].vendor.name+"")&&ye(y,_),256&t[0]&&C!==(C=e[8]("randomGame.playNowRandomGame")+"")&&ye(w,C)},d(e){e&&me(a),$=!1,V(x)}}}function ni(e){let n,a,r=e[8]("randomGame.playRandomGame")+"";return{c(){n=he("span"),a=ge(r),fe(n,"class","RandomButtonText"),fe(n,"part","RandomButtonText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){256&t[0]&&r!==(r=e[8]("randomGame.playRandomGame")+"")&&ye(a,r)},d(e){e&&me(n)}}}function ai(e){let n,a;return{c(){n=he("span"),a=ge(e[1]),fe(n,"class","RandomButtonText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){2&t[0]&&ye(a,e[1])},d(e){e&&me(n)}}}function ri(n){let a,r,i,s,o,l,c,d,u=n[5]&&qr(n);function m(e){return e[1]?ai:e[1]?void 0:ni}let h=m(n),g=h&&h(n);return{c(){a=he("div"),u&&u.c(),r=pe(),i=he("div"),s=he("button"),g&&g.c(),o=pe(),l=he("span"),this.c=W,fe(l,"class","RandomButtonIcon"),fe(l,"part","RandomButtonIcon"),fe(s,"class","RandomButton"),fe(s,"part","RandomButton"),fe(i,"class","RandomButtonWrapper"),fe(i,"part","RandomButtonWrapper"),fe(a,"part","CustomStylingContainer")},m(e,t){ue(e,a,t),u&&u.m(a,null),de(a,r),de(a,i),de(i,s),g&&g.m(s,null),de(s,o),de(s,l),l.innerHTML=n[0],n[23](a),c||(d=z(s,"click",n[22]),c=!0)},p(e,t){e[5]?u?u.p(e,t):((u=qr(e)).c(),u.m(a,r)):u&&(u.d(1),u=null),h===(h=m(e))&&g?g.p(e,t):(g&&g.d(1),(g=h&&h(e))&&(g.c(),g.m(s,o))),1&t[0]&&(l.innerHTML=e[0])},i:W,o:W,d(e){e&&me(a),u&&u.d(),g&&g.d(),n[23](null),c=!1,d()}}}function ii(t,e,n){let a;Ve(t,Ta,e=>n(8,a=e));let r,i,{endpoint:s=""}=e,{datasource:o=""}=e,{gameevent:l=""}=e,{lang:c=""}=e,{randombuttonicon:d=""}=e,{buttontext:u=""}=e,{translationurl:m=""}=e,{clientstyling:h=""}=e,{clientstylingurl:g=""}=e,{filteredrandomgamecategories:p=""}=e,f=[],y="",b=!1,v=0,w=0,$=!1,x=window.navigator.userAgent;var S,_;({withLocale:S,translations:_}={withLocale:"en",translations:{}}),Ye.subscribe(e=>{null==e&&(ia.set(_),Ye.set(S))}),Object.keys(Xr).forEach(e=>{Kr(e,Xr[e])});const C=()=>{n(4,r=T(r)),n(6,v=0),w=0,n(7,$=!1),n(3,y=f[Math.floor(Math.random()*f.length)]),n(5,b=!0)},k=e=>{if(p)for(;C(),!p.includes(y.vendor.name););else C();let t=setInterval(()=>{n(6,v-=100),20==++w&&(n(7,$=!0),clearInterval(t))},100);e&&"function"==typeof gtag&&gtag("event","RefreshRandomGame",{context:"RandomGameWidget",gameId:""+(y.gId||y.id)})},T=e=>{let t,n=e.length;for(;0!=n;)t=Math.floor(Math.random()*n),n--,[e[n],e[t]]=[e[t],e[n]];return e},G=()=>{window.postMessage({type:l,gameId:y.gId||y.id},window.location.href),n(5,b=!1),"function"==typeof gtag&&gtag("event","OpenGame",{context:"RandomGameWidget",gameId:""+(y.gId||y.id)})};return t.$$set=e=>{"endpoint"in e&&n(12,s=e.endpoint),"datasource"in e&&n(13,o=e.datasource),"gameevent"in e&&n(14,l=e.gameevent),"lang"in e&&n(15,c=e.lang),"randombuttonicon"in e&&n(0,d=e.randombuttonicon),"buttontext"in e&&n(1,u=e.buttontext),"translationurl"in e&&n(16,m=e.translationurl),"clientstyling"in e&&n(17,h=e.clientstyling),"clientstylingurl"in e&&n(18,g=e.clientstylingurl),"filteredrandomgamecategories"in e&&n(19,p=e.filteredrandomgamecategories)},t.$$.update=()=>{if(32768&t.$$.dirty[0]&&c&&(e=c,Ye.set(e)),65536&t.$$.dirty[0]&&m&&fetch(m).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Kr(e,t[e])})}).catch(e=>{console.log(e)}),12288&t.$$.dirty[0]&&s&&o){let e=new URL(s+"/casino/games");e.searchParams.append("platform",ze(x)),e.searchParams.append("datasource",o),e.searchParams.append("fields","gId,id,href,thumbnail,name,vendor"),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=1000"),fetch(e.href).then(e=>e.json()).then(e=>{f=e.items,n(4,r=f.slice(0,19))})}if(131076&t.$$.dirty[0]&&h&&i){let e=document.createElement("style");e.innerHTML=h,i.appendChild(e)}if(262148&t.$$.dirty[0]&&g&&i){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e},[d,u,i,y,r,b,v,$,a,k,G,()=>{n(5,b=!1)},s,o,l,c,m,h,g,p,()=>k(!0),()=>G(),()=>k(),function(e){Ue[e?"unshift":"push"](()=>{i=e,n(2,i)})}]}function si(e,t){oa(e,t)}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends e{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:40px 40px 16px 40px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.RandomGamesSliderWrapper{height:170px;overflow:hidden}.items{gap:5px;transition:transform 0.3s ease-in-out;transform:translateY(0px);-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomGameLoading{padding:30px 0}.RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:-10px;right:-10px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}</style>",j(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ii,ri,t,{endpoint:12,datasource:13,gameevent:14,lang:15,randombuttonicon:0,buttontext:1,translationurl:16,clientstyling:17,clientstylingurl:18,filteredrandomgamecategories:19},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","gameevent","lang","randombuttonicon","buttontext","translationurl","clientstyling","clientstylingurl","filteredrandomgamecategories"]}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[13]}set datasource(e){this.$$set({datasource:e}),f()}get gameevent(){return this.$$.ctx[14]}set gameevent(e){this.$$set({gameevent:e}),f()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),f()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}get buttontext(){return this.$$.ctx[1]}set buttontext(e){this.$$set({buttontext:e}),f()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),f()}get clientstyling(){return this.$$.ctx[17]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[18]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get filteredrandomgamecategories(){return this.$$.ctx[19]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),f()}});const oi={en:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},zh:{Translations:{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"}},de:{Translations:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"}},it:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},fr:{Translations:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"}},es:{Translations:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores"}},el:{Translations:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"}},tr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ru:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ro:{Translations:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"}},hr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},hu:{Translations:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"}},pl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},pt:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}}};function li(e,t,n){const a=e.slice();return a[61]=t[n],a}function ci(e,t,n){const a=e.slice();return a[64]=t[n],a}function di(n){let i,a,s,r,o,l,c,d,e,u,m,h,g,p,f,y,b,v,w,$,x=n[14],S=[];for(let e=0;e<x.length;e+=1)S[e]=gi(ci(n,x,e));let _=n[8],C=[];for(let e=0;e<_.length;e+=1)C[e]=pi(li(n,_,e));return{c(){i=he("div"),a=he("div"),s=he("div");for(let e=0;e<S.length;e+=1)S[e].c();r=pe(),o=he("div"),l=he("button"),c=M("svg"),d=M("path"),u=pe(),m=he("button"),h=M("svg"),g=M("path"),y=pe(),b=he("div");for(let e=0;e<C.length;e+=1)C[e].c();fe(s,"class","WinnerButtonsContainer"),fe(d,"style",e=n[9]>=n[8].length?"fill:#F6F6F62E":""),fe(d,"id","Path_36"),fe(d,"data-name","Path 36"),fe(d,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(d,"transform","translate(14.656 0) rotate(90)"),fe(d,"fill","#fff"),fe(c,"id","Component_46_2"),fe(c,"data-name","Component 46 – 2"),fe(c,"xmlns","http://www.w3.org/2000/svg"),fe(c,"width","15"),fe(c,"height","15"),fe(c,"viewBox","0 0 16 24.656"),fe(l,"class","SliderButton"),fe(g,"style",p=n[9]>=n[8].length?"fill:#F6F6F62E":""),fe(g,"id","Path_36"),fe(g,"data-name","Path 36"),fe(g,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(g,"transform","translate(0 24.656) rotate(-90)"),fe(g,"fill","#fff"),fe(h,"id","Component_46_2"),fe(h,"data-name","Component 46 – 2"),fe(h,"xmlns","http://www.w3.org/2000/svg"),fe(h,"width","15"),fe(h,"height","15"),fe(h,"viewBox","0 0 16 24.656"),fe(m,"class","SliderButton"),fe(o,"class",f="ButtonsContainer "+("true"==n[4]?"ButtonsContainerNone":"")),fe(a,"class","WinnersHeader"),fe(b,"class","WinnersSlider"),fe(i,"class",v="CasinoWinners "+(n[10]?"Mobile":""))},m(e,t){ue(e,i,t),de(i,a),de(a,s);for(let e=0;e<S.length;e+=1)S[e].m(s,null);de(a,r),de(a,o),de(o,l),de(l,c),de(c,d),de(o,u),de(o,m),de(m,h),de(h,g),de(i,y),de(i,b);for(let e=0;e<C.length;e+=1)C[e].m(b,null);n[41](b),w||($=[z(l,"click",n[38]),z(m,"click",n[39])],w=!0)},p(t,n){if(114819&n[0]){let e;for(x=t[14],e=0;e<x.length;e+=1){var a=ci(t,x,e);S[e]?S[e].p(a,n):(S[e]=gi(a),S[e].c(),S[e].m(s,null))}for(;e<S.length;e+=1)S[e].d(1);S.length=x.length}if(768&n[0]&&e!==(e=t[9]>=t[8].length?"fill:#F6F6F62E":"")&&fe(d,"style",e),768&n[0]&&p!==(p=t[9]>=t[8].length?"fill:#F6F6F62E":"")&&fe(g,"style",p),16&n[0]&&f!==(f="ButtonsContainer "+("true"==t[4]?"ButtonsContainerNone":""))&&fe(o,"class",f),436492&n[0]){let e;for(_=t[8],e=0;e<_.length;e+=1){var r=li(t,_,e);C[e]?C[e].p(r,n):(C[e]=pi(r),C[e].c(),C[e].m(b,null))}for(;e<C.length;e+=1)C[e].d(1);C.length=_.length}1024&n[0]&&v!==(v="CasinoWinners "+(t[10]?"Mobile":""))&&fe(i,"class",v)},d(e){e&&me(i),k(S,e),k(C,e),n[41](null),w=!1,V($)}}}function ui(e){let n;return{c(){(n=he("p")).textContent="Loading, please wait ..."},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function mi(n){let a,r,i,s,o,l=n[15]("Translations.recentWinners")+"";return{c(){a=he("button"),r=ge(l),fe(a,"class",i="WinnersButton "+("recent"==n[7]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),s||(o=z(a,"click",n[36]),s=!0)},p(e,t){32768&t[0]&&l!==(l=e[15]("Translations.recentWinners")+"")&&ye(r,l),129&t[0]&&i!==(i="WinnersButton "+("recent"==e[7]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(a,"class",i)},d(e){e&&me(a),s=!1,o()}}}function hi(n){let a,r,i,s,o,l,c=n[15]("Translations.topWinners")+"";return{c(){a=he("button"),r=ge(c),i=pe(),fe(a,"class",s="WinnersButton "+("top"==n[7]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),de(a,i),o||(l=z(a,"click",n[37]),o=!0)},p(e,t){32768&t[0]&&c!==(c=e[15]("Translations.topWinners")+"")&&ye(r,c),130&t[0]&&s!==(s="WinnersButton "+("top"==e[7]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(a,"class",s)},d(e){e&&me(a),o=!1,l()}}}function gi(e){let n,a,r="recent"==e[64]&&mi(e),i="top"==e[64]&&hi(e);return{c(){r&&r.c(),n=pe(),i&&i.c(),a=l()},m(e,t){r&&r.m(e,t),ue(e,n,t),i&&i.m(e,t),ue(e,a,t)},p(e,t){"recent"==e[64]?r?r.p(e,t):((r=mi(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null),"top"==e[64]?i?i.p(e,t):((i=hi(e)).c(),i.m(a.parentNode,a)):i&&(i.d(1),i=null)},d(e){r&&r.d(e),e&&me(n),i&&i.d(e),e&&me(a)}}}function pi(n){let a,r,i,s,o,l,c,d,u,m,h,g,p,f,y,b,v,w,$,x,S,_,C,k,T=n[61].gameName+"",G=n[17](n[61].username)+"",M=n[15]("Translations.won")+"",E=n[61].specifiedCurrencyAmount.toFixed(2)+"",L=(n[11]?n[3]:n[2])+"";function P(){return n[40](n[61])}return{c(){a=he("div"),r=he("div"),i=he("img"),l=pe(),c=he("p"),d=ge(T),u=pe(),m=he("p"),h=ge(G),g=pe(),p=he("p"),f=ge(M),y=pe(),b=he("p"),v=ge(E),w=pe(),$=he("span"),x=ge(L),S=pe(),ce(i.src,s=n[61]?.gameModel?.thumbnail)||fe(i,"src",s),fe(i,"alt",o=n[61]?.gameModel?.thumbnail),fe(i,"class","WinnersImage"),fe(p,"class","WinnerUsername"),fe(r,"class","WinnerCard"),fe(a,"class",_="CardWrapper "+(n[13]?"CardWrapperAnimation":""))},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,l),de(r,c),de(c,d),de(r,u),de(r,m),de(m,h),de(r,g),de(r,p),de(p,f),de(r,y),de(r,b),de(b,v),de(b,w),de(b,$),de($,x),de(a,S),C||(k=z(i,"click",P),C=!0)},p(e,t){n=e,256&t[0]&&!ce(i.src,s=n[61]?.gameModel?.thumbnail)&&fe(i,"src",s),256&t[0]&&o!==(o=n[61]?.gameModel?.thumbnail)&&fe(i,"alt",o),256&t[0]&&T!==(T=n[61].gameName+"")&&ye(d,T),256&t[0]&&G!==(G=n[17](n[61].username)+"")&&ye(h,G),32768&t[0]&&M!==(M=n[15]("Translations.won")+"")&&ye(f,M),256&t[0]&&E!==(E=n[61].specifiedCurrencyAmount.toFixed(2)+"")&&ye(v,E),2060&t[0]&&L!==(L=(n[11]?n[3]:n[2])+"")&&ye(x,L),8192&t[0]&&_!==(_="CardWrapper "+(n[13]?"CardWrapperAnimation":""))&&fe(a,"class",_)},d(e){e&&me(a),C=!1,k()}}}function fi(n){let a;function r(e){return e[12]?ui:di}let i=r(n),s=i(n);return{c(){a=he("div"),s.c(),this.c=W},m(e,t){ue(e,a,t),s.m(a,null),n[42](a)},p(e,t){i===(i=r(e))&&s?s.p(e,t):(s.d(1),(s=i(e))&&(s.c(),s.m(a,null)))},i:W,o:W,d(e){e&&me(a),s.d(),n[42](null)}}}function yi(t,e,a){let n;Ve(t,Ta,e=>a(15,n=e));let r,i,A,s,O,o,N,l,c,d,{endpoint:u=""}=e,{session:m=""}=e,{userid:h=""}=e,{periodrecent:g="Today"}=e,{periodtop:p="Last7Days"}=e,{numberusersrecent:f="20"}=e,{numberuserstop:y="20"}=e,{amountlimit:b="1"}=e,{vendorCategory:v="All"}=e,{lang:w="en"}=e,{isrecentavailable:$="true"}=e,{istopavailable:x="true"}=e,{defaultcurrency:S=""}=e,{usercurrency:_=""}=e,{clientstyling:C=""}=e,{clientstylingurl:k=""}=e,{enableautoscroll:T=""}=e,{tabsorder:G=""}=e,{translationurl:M=""}=e,E=[],L=0,P=0,D=window.navigator.userAgent,B=!0,F=!1;Object.keys(oi).forEach(e=>{si(e,oi[e])});const H=()=>{const e=new URL(`${u}/casino/${i}-winners`);e.searchParams.append("limit","recent"==i?f:y),e.searchParams.append("specifiedCurrency",d),e.searchParams.append("period","recent"==i?g:p),e.searchParams.append("language",w),e.searchParams.append("amountLimit",b),e.searchParams.append("vendorCategory",v),fetch(e.href).then(e=>e.json()).then(e=>{a(8,E=[]),a(8,E=e.items.map(e=>e)),a(12,B=!1),setTimeout(()=>{a(9,P=Math.round(r.offsetWidth/225)),U(),"true"==T&&(L=0,P<N?l=setInterval(()=>{I()},3e3):clearInterval(l))})})},R=e=>{i!==e&&(a(7,i=e),a(8,E=[]),H())},j=(e,t,n)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"WinnersWidget",gameId:""+e,userId:""+(O||"Not logged in")})},U=n=>{const e=[...r.children];N=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),"top"==i?setTimeout(()=>{a(13,F=!0)},10):a(13,F=!1)},Y=()=>{U(L)},W=()=>{var e=E.length;P>=E.length||(0===L?L=e-P:L-P<0?L=0:L-=P,Y())},I=()=>{var e=E.length;P>=E.length||("true"==T&&(L===e-P?L=0:L++),"false"==T&&(L===e-P?L=0:e-P<L+P?L=e-P:L+=P),Y())},z=()=>{a(35,d=s?_:S)};return Ze(()=>(a(10,A=We(D)),()=>{clearInterval(l)})),t.$$set=e=>{"endpoint"in e&&a(22,u=e.endpoint),"session"in e&&a(23,m=e.session),"userid"in e&&a(24,h=e.userid),"periodrecent"in e&&a(25,g=e.periodrecent),"periodtop"in e&&a(26,p=e.periodtop),"numberusersrecent"in e&&a(27,f=e.numberusersrecent),"numberuserstop"in e&&a(28,y=e.numberuserstop),"amountlimit"in e&&a(21,b=e.amountlimit),"vendorCategory"in e&&a(29,v=e.vendorCategory),"lang"in e&&a(30,w=e.lang),"isrecentavailable"in e&&a(0,$=e.isrecentavailable),"istopavailable"in e&&a(1,x=e.istopavailable),"defaultcurrency"in e&&a(2,S=e.defaultcurrency),"usercurrency"in e&&a(3,_=e.usercurrency),"clientstyling"in e&&a(31,C=e.clientstyling),"clientstylingurl"in e&&a(32,k=e.clientstylingurl),"enableautoscroll"in e&&a(4,T=e.enableautoscroll),"tabsorder"in e&&a(33,G=e.tabsorder),"translationurl"in e&&a(34,M=e.translationurl)},t.$$.update=()=>{if(2116026371&t.$$.dirty[0]|4&t.$$.dirty[1]&&$&&x&&g&&p&&f&&y&&b&&v&&w&&G&&(a(14,c=G.split(",")),a(7,i=c[0]),"false"==$&&a(21,b=""),z()),12582912&t.$$.dirty[0]&&m&&u&&(a(11,s=!0),O=h,z()),4194320&t.$$.dirty[0]|16&t.$$.dirty[1]&&u&&d&&T&&H(),1073741824&t.$$.dirty[0]&&w&&(e=w,Ye.set(e)),8&t.$$.dirty[1]&&M&&fetch(M).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{si(e,t[e])})}).catch(e=>{console.log(e)}),32&t.$$.dirty[0]|1&t.$$.dirty[1]&&C&&o){let e=document.createElement("style");e.innerHTML=C,o.appendChild(e)}if(32&t.$$.dirty[0]|2&t.$$.dirty[1]&&k&&o){let e=new URL(k),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[$,x,S,_,T,o,r,i,E,P,A,s,B,F,c,n,R,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),j,W,I,b,u,m,h,g,p,f,y,v,w,C,k,G,M,d,()=>R("recent"),()=>R("top"),()=>W(),()=>I(),e=>j(e.gameId,e.gameModel.launchUrl,e.gameModel.name),function(e){Ue[e?"unshift":"push"](()=>{r=e,a(6,r)})},function(e){Ue[e?"unshift":"push"](()=>{o=e,a(5,o)})}]}function bi(e,t){oa(e,t)}customElements.get("casino-winners")||customElements.define("casino-winners",class extends e{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton:focus{color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-color-primary, #D0046C)}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emfe-w-color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-color-primary, #D0046C);font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .WinnersSlider::-webkit-scrollbar{display:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}</style>",j(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},yi,fi,t,{endpoint:22,session:23,userid:24,periodrecent:25,periodtop:26,numberusersrecent:27,numberuserstop:28,amountlimit:21,vendorCategory:29,lang:30,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:31,clientstylingurl:32,enableautoscroll:4,tabsorder:33,translationurl:34},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","session","userid","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","vendorCategory","lang","isrecentavailable","istopavailable","defaultcurrency","usercurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder","translationurl"]}get endpoint(){return this.$$.ctx[22]}set endpoint(e){this.$$set({endpoint:e}),f()}get session(){return this.$$.ctx[23]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[24]}set userid(e){this.$$set({userid:e}),f()}get periodrecent(){return this.$$.ctx[25]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[26]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[27]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[28]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[21]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get vendorCategory(){return this.$$.ctx[29]}set vendorCategory(e){this.$$set({vendorCategory:e}),f()}get lang(){return this.$$.ctx[30]}set lang(e){this.$$set({lang:e}),f()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get usercurrency(){return this.$$.ctx[3]}set usercurrency(e){this.$$set({usercurrency:e}),f()}get clientstyling(){return this.$$.ctx[31]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[32]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get enableautoscroll(){return this.$$.ctx[4]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get tabsorder(){return this.$$.ctx[33]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get translationurl(){return this.$$.ctx[34]}set translationurl(e){this.$$set({translationurl:e}),f()}});const vi={en:{jackpotBanners:{loadingText:"Loading, please wait..."}},zh:{jackpotBanners:{loadingText:"加载请稍候 ..."}},fr:{jackpotBanners:{loadingText:"Chargement, veuillez patienter..."}},ro:{jackpotBanners:{loadingText:"Se incarca, va rugam asteptati..."}},es:{jackpotBanners:{loadingText:"Cargando"}},pt:{jackpotBanners:{loadingText:"Carregando, por favor espere..."}},de:{jackpotBanners:{loadingText:"Laden, bitte warten..."}}};function wi(e,t,n){const a=e.slice();return a[49]=t[n],a[51]=n,a}function $i(n){let a,r,i,s,o,l,c,d,u,m,h,g,p,f,y,b,v;function w(e){return e[5]?_i:Ci}let $=w(n),x=$(n);return{c(){a=he("div"),r=he("div"),i=he("div"),s=he("div"),o=he("img"),c=pe(),d=he("div"),x.c(),u=pe(),m=he("div"),h=he("img"),ce(o.src,l=n[6])||fe(o,"src",l),fe(o,"alt",""),fe(s,"class","vendorLogo"),fe(d,"class","displayContainer"),ce(h.src,g=n[11])||fe(h,"src",g),fe(h,"alt",""),fe(m,"class","title"),fe(i,"class",p="mainWrapper "+n[0]+" "+(n[4]&&!n[5]?"mobile":n[5]?"tablet":"")),S(i,"background","url("+n[10]+")"),fe(r,"class","jackpotBanner"),fe(a,"class",f=n[12]?"DisplayNone":""),fe(a,"part",y=n[12]?"DisplayNone":"")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(i,s),de(s,o),de(i,c),de(i,d),x.m(d,null),de(i,u),de(i,m),de(m,h),b||(v=z(r,"click",n[32]),b=!0)},p(e,t){64&t[0]&&!ce(o.src,l=e[6])&&fe(o,"src",l),$===($=w(e))&&x?x.p(e,t):(x.d(1),(x=$(e))&&(x.c(),x.m(d,null))),2048&t[0]&&!ce(h.src,g=e[11])&&fe(h,"src",g),49&t[0]&&p!==(p="mainWrapper "+e[0]+" "+(e[4]&&!e[5]?"mobile":e[5]?"tablet":""))&&fe(i,"class",p),1024&t[0]&&S(i,"background","url("+e[10]+")"),4096&t[0]&&f!==(f=e[12]?"DisplayNone":"")&&fe(a,"class",f),4096&t[0]&&y!==(y=e[12]?"DisplayNone":"")&&fe(a,"part",y)},d(e){e&&me(a),x.d(),b=!1,v()}}}function xi(e){let n,a,r=e[14]("jackpotBanners.loadingText")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","loadingPrompt")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){16384&t[0]&&r!==(r=e[14]("jackpotBanners.loadingText")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Si(e){let n;return{c(){(n=he("p")).textContent="500 Server error"},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function _i(e){let n,a,r,i,s,o,O,l,c,N,D,d,B,H,u,m,h,g,p,j,f,y,U,Y,b,W,z,v,w,$,x,S,_,V,C,k,Z,K,T,X,J,G,M,E,L,P,q,F,R,Q,ee,I,te,A=e[8][0]+"",ne=e[7][0]+"",ae=e[8][1]+"",re=e[7][1]+"",ie=e[8][2]+"",se=e[7][2]+"",oe=e[8][3]+"",le=e[7][3]+"";return{c(){n=he("div"),a=he("div"),r=he("div"),i=he("img"),o=he("span"),O=ge(A),l=he("span"),c=he("span"),N=ge(ne),D=pe(),d=he("span"),B=ge(e[1]),H=pe(),u=he("div"),m=he("div"),h=he("img"),p=he("span"),j=ge(ae),f=he("span"),y=he("span"),U=ge(re),Y=pe(),b=he("span"),W=ge(e[1]),z=pe(),v=he("div"),w=he("div"),$=he("div"),x=he("img"),_=he("span"),V=ge(ie),C=he("span"),k=he("span"),Z=ge(se),K=pe(),T=he("span"),X=ge(e[1]),J=pe(),G=he("div"),M=he("div"),E=he("img"),P=he("span"),q=ge(oe),F=he("span"),R=he("span"),Q=ge(le),ee=pe(),I=he("span"),te=ge(e[1]),fe(i,"class","displayCardIcon"),ce(i.src,s=e[9][0])||fe(i,"src",s),fe(i,"alt",""),fe(o,"class","cardLabel"),fe(r,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(d,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(a,"class","displayCard"),fe(h,"class","displayCardIcon"),ce(h.src,g=e[9][1])||fe(h,"src",g),fe(h,"alt",""),fe(p,"class","cardLabel"),fe(m,"class","iconWrapper"),fe(y,"class","jackpotValue"),fe(b,"class","jackpot-currency"),fe(f,"class","cardTextWrapper"),fe(u,"class","displayCard"),fe(n,"class","pairWrapper"),fe(x,"class","displayCardIcon"),ce(x.src,S=e[9][2])||fe(x,"src",S),fe(x,"alt",""),fe(_,"class","cardLabel"),fe($,"class","iconWrapper"),fe(k,"class","jackpotValue"),fe(T,"class","jackpot-currency"),fe(C,"class","cardTextWrapper"),fe(w,"class","displayCard"),fe(E,"class","displayCardIcon"),ce(E.src,L=e[9][3])||fe(E,"src",L),fe(E,"alt",""),fe(P,"class","cardLabel"),fe(M,"class","iconWrapper"),fe(R,"class","jackpotValue"),fe(I,"class","jackpot-currency"),fe(F,"class","cardTextWrapper"),fe(G,"class","displayCard"),fe(v,"class","pairWrapper")},m(e,t){ue(e,n,t),de(n,a),de(a,r),de(r,i),de(r,o),de(o,O),de(a,l),de(l,c),de(c,N),de(l,D),de(l,d),de(d,B),de(n,H),de(n,u),de(u,m),de(m,h),de(m,p),de(p,j),de(u,f),de(f,y),de(y,U),de(f,Y),de(f,b),de(b,W),ue(e,z,t),ue(e,v,t),de(v,w),de(w,$),de($,x),de($,_),de(_,V),de(w,C),de(C,k),de(k,Z),de(C,K),de(C,T),de(T,X),de(v,J),de(v,G),de(G,M),de(M,E),de(M,P),de(P,q),de(G,F),de(F,R),de(R,Q),de(F,ee),de(F,I),de(I,te)},p(e,t){512&t[0]&&!ce(i.src,s=e[9][0])&&fe(i,"src",s),256&t[0]&&A!==(A=e[8][0]+"")&&ye(O,A),128&t[0]&&ne!==(ne=e[7][0]+"")&&ye(N,ne),2&t[0]&&ye(B,e[1]),512&t[0]&&!ce(h.src,g=e[9][1])&&fe(h,"src",g),256&t[0]&&ae!==(ae=e[8][1]+"")&&ye(j,ae),128&t[0]&&re!==(re=e[7][1]+"")&&ye(U,re),2&t[0]&&ye(W,e[1]),512&t[0]&&!ce(x.src,S=e[9][2])&&fe(x,"src",S),256&t[0]&&ie!==(ie=e[8][2]+"")&&ye(V,ie),128&t[0]&&se!==(se=e[7][2]+"")&&ye(Z,se),2&t[0]&&ye(X,e[1]),512&t[0]&&!ce(E.src,L=e[9][3])&&fe(E,"src",L),256&t[0]&&oe!==(oe=e[8][3]+"")&&ye(q,oe),128&t[0]&&le!==(le=e[7][3]+"")&&ye(Q,le),2&t[0]&&ye(te,e[1])},d(e){e&&me(n),e&&me(z),e&&me(v)}}}function Ci(t){let r,i=Array(4),s=[];for(let e=0;e<i.length;e+=1)s[e]=ki(wi(t,i,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();r=l()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);ue(t,r,n)},p(t,n){if(898&n[0]){let e;for(i=Array(4),e=0;e<i.length;e+=1){var a=wi(t,i,e);s[e]?s[e].p(a,n):(s[e]=ki(a),s[e].c(),s[e].m(r.parentNode,r))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}},d(e){k(s,e),e&&me(r)}}}function ki(e){let n,a,r,i,s,o,l,c,d,u,m,h,g=e[8][e[51]]+"",p=(e[7][e[51]]??"")+"";return{c(){n=he("div"),a=he("div"),r=he("img"),s=he("span"),o=ge(g),l=he("span"),c=he("span"),d=ge(p),u=pe(),m=he("span"),h=ge(e[1]),fe(r,"class","displayCardIcon"),ce(r.src,i=e[9][e[51]])||fe(r,"src",i),fe(r,"alt",""),fe(s,"class","cardLabel"),fe(a,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(m,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(n,"class","displayCard")},m(e,t){ue(e,n,t),de(n,a),de(a,r),de(a,s),de(s,o),de(n,l),de(l,c),de(c,d),de(l,u),de(l,m),de(m,h)},p(e,t){512&t[0]&&!ce(r.src,i=e[9][e[51]])&&fe(r,"src",i),256&t[0]&&g!==(g=e[8][e[51]]+"")&&ye(o,g),128&t[0]&&p!==(p=(e[7][e[51]]??"")+"")&&ye(d,p),2&t[0]&&ye(h,e[1])},d(e){e&&me(n)}}}function Ti(n){let a;function r(e){return e[13]?Si:e[3]?xi:$i}let i=r(n),s=i(n);return{c(){a=he("div"),s.c(),this.c=W},m(e,t){ue(e,a,t),s.m(a,null),n[33](a)},p(e,t){i===(i=r(e))&&s?s.p(e,t):(s.d(1),(s=i(e))&&(s.c(),s.m(a,null)))},i:W,o:W,d(e){e&&me(a),s.d(),n[33](null)}}}function Gi(n,e,a){let t;Ve(n,Ta,e=>a(14,t=e));let r,i,{visualstructure:s=""}=e,{title:o=""}=e,{caticon0:l=""}=e,{caticon1:c=""}=e,{caticon2:d=""}=e,{caticon3:u=""}=e,{iconlabels:m=""}=e,{backgroundsrc:h=""}=e,{currency:g=""}=e,{backgroundsrcmobile:p=""}=e,{titlelogopath:f=""}=e,{lang:y="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{translationurl:w=""}=e,{endpoint:$=""}=e,{gameid:x=""}=e,A=window.navigator.userAgent,S=!1,_=!1,C="",k=[],T=[],G=[],M=[],E=[],L="",P="",F=!1,R=!0,O=!1;Object.keys(vi).forEach(e=>{bi(e,vi[e])});const I=["typeSpread","typeLeft"],N=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:x},window.location.href),"function"==typeof gtag&&gtag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:""+x})};return n.$$set=e=>{"visualstructure"in e&&a(0,s=e.visualstructure),"title"in e&&a(16,o=e.title),"caticon0"in e&&a(17,l=e.caticon0),"caticon1"in e&&a(18,c=e.caticon1),"caticon2"in e&&a(19,d=e.caticon2),"caticon3"in e&&a(20,u=e.caticon3),"iconlabels"in e&&a(21,m=e.iconlabels),"backgroundsrc"in e&&a(22,h=e.backgroundsrc),"currency"in e&&a(1,g=e.currency),"backgroundsrcmobile"in e&&a(23,p=e.backgroundsrcmobile),"titlelogopath"in e&&a(24,f=e.titlelogopath),"lang"in e&&a(25,y=e.lang),"clientstyling"in e&&a(26,b=e.clientstyling),"clientstylingurl"in e&&a(27,v=e.clientstylingurl),"translationurl"in e&&a(28,w=e.translationurl),"endpoint"in e&&a(29,$=e.endpoint),"gameid"in e&&a(30,x=e.gameid)},n.$$.update=()=>{if(536870912&n.$$.dirty[0]&&$&&(t=new URL($+"/casino/jackpots/config"),fetch(t.href).then(e=>e.json()).then(e=>{a(31,T=e.egtJackpotIds.map(e=>e))})),67108868&n.$$.dirty[0]&&r&&b){let e=document.createElement("style");e.innerHTML=b,r.appendChild(e)}if(134217732&n.$$.dirty[0]&&r&&v){a(12,F=!0);let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1),setTimeout(()=>{a(12,F=!1)},500)})}if(570425346&n.$$.dirty[0]|1&n.$$.dirty[1]&&$&&y&&g&&0<T.length&&($&&y&&g)){let e=new URL($+"/casino/jackpots");e.searchParams.append("filter","id="+x),e.searchParams.append("language",y),e.searchParams.append("additionalDataCurrency",g),fetch(e.href).then(e=>e.json().then(e=>{a(3,R=!1),i=e,T.includes(x)&&((e=null==(e=null==(e=i)?void 0:e.items[0])?void 0:e.additionalData)&&Object.values(e).forEach(e=>k.push(+e)),a(6,C=i.items[0].vendorLogo))}).catch(e=>{a(13,O=!0),a(3,R=!1),console.error(e)}))}var e,t;33554442&n.$$.dirty[0]&&g&&y&&!R&&(a(4,S=We(A)&&1<window.innerHeight/window.innerWidth),a(5,_=.75<(t=window.innerHeight/window.innerWidth)&&t<1.6),0!==k.length&&a(7,G=k.map(e=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(e))),a(8,M=m?m.split(",").map(e=>e.trim().toUpperCase()):new Array(4).fill("")),I.includes(s.trim())?a(0,s=s.trim()):(console.warn(`Invalid Attribute Value: "${s}" is not a valid value for the "visualstructure" attribute. Defaulting to "${I[0]}"`),a(0,s=I[0])),a(10,L=p&&S&&!_?p:h),a(11,P=f),a(9,E=[l,c,d,u])),33554432&n.$$.dirty[0]&&y&&(e=y,Ye.set(e)),268435456&n.$$.dirty[0]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{bi(e,t[e])})}).catch(e=>{console.log(e)})},[s,g,r,R,S,_,C,G,M,E,L,P,F,O,t,N,o,l,c,d,u,m,h,p,f,y,b,v,w,$,x,T,()=>N(),function(e){Ue[e?"unshift":"push"](()=>{r=e,a(2,r)})}]}function Mi(e,t){oa(e,t)}customElements.get("jackpot-banner")||customElements.define("jackpot-banner",class extends e{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:24px;width:auto;display:flex;align-items:center}.vendorLogo img{height:100%;width:auto}.displayCard{position:relative;background:#1c2136;height:Max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:clamp(30vw, auto, 50vw);gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:24px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}</style>',j(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Gi,Ti,t,{visualstructure:0,title:16,caticon0:17,caticon1:18,caticon2:19,caticon3:20,iconlabels:21,backgroundsrc:22,currency:1,backgroundsrcmobile:23,titlelogopath:24,lang:25,clientstyling:26,clientstylingurl:27,translationurl:28,endpoint:29,gameid:30},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["visualstructure","title","caticon0","caticon1","caticon2","caticon3","iconlabels","backgroundsrc","currency","backgroundsrcmobile","titlelogopath","lang","clientstyling","clientstylingurl","translationurl","endpoint","gameid"]}get visualstructure(){return this.$$.ctx[0]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get title(){return this.$$.ctx[16]}set title(e){this.$$set({title:e}),f()}get caticon0(){return this.$$.ctx[17]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[18]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[19]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[20]}set caticon3(e){this.$$set({caticon3:e}),f()}get iconlabels(){return this.$$.ctx[21]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get backgroundsrc(){return this.$$.ctx[22]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get currency(){return this.$$.ctx[1]}set currency(e){this.$$set({currency:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[23]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[24]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get lang(){return this.$$.ctx[25]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[28]}set translationurl(e){this.$$set({translationurl:e}),f()}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),f()}get gameid(){return this.$$.ctx[30]}set gameid(e){this.$$set({gameid:e}),f()}});const Ei={en:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},zh:{Translations:{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."}},de:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."}},it:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},fr:{Translations:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."}},es:{Translations:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"}},el:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."}},tr:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Yükleniyor, lütfen bekleyin..."}},ru:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},ro:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Se încarcă, asteptati ..."}},hr:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},hu:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."}},pl:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},pt:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."}},sl:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},sr:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}}};function Li(e,t,n){const a=e.slice();return a[40]=t[n],a}function Pi(e,t,n){const a=e.slice();return a[43]=t[n],a}function Fi(n){let r,a,i,s,o,l,c,d,u,m,h,e,g,p,f=("vendor"==n[0]?n[8]("Translations.providers"):n[8]("Translations.collections"))+"",y=n[3],b=[];for(let e=0;e<y.length;e+=1)b[e]=Di(Li(n,y,e));return{c(){r=he("div"),a=he("div"),i=he("p"),s=ge(f),o=pe(),l=he("div"),(c=he("button")).innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',d=pe(),(u=he("button")).innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',m=pe(),h=he("div");for(let e=0;e<b.length;e+=1)b[e].c();fe(i,"class","Title"),fe(l,"class","ButtonsContainer"),fe(a,"class","CategoriesHeader"),fe(h,"class","CategoriesSlider"),fe(r,"class",e="CasinoCollectionsProviders "+(n[7]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,s),de(a,o),de(a,l),de(l,c),de(l,d),de(l,u),de(r,m),de(r,h);for(let e=0;e<b.length;e+=1)b[e].m(h,null);n[23](h),g||(p=[z(c,"click",n[19]),z(u,"click",n[20])],g=!0)},p(t,n){if(257&n[0]&&f!==(f=("vendor"==t[0]?t[8]("Translations.providers"):t[8]("Translations.collections"))+"")&&ye(s,f),6158&n[0]){let e;for(y=t[3],e=0;e<y.length;e+=1){var a=Li(t,y,e);b[e]?b[e].p(a,n):(b[e]=Di(a),b[e].c(),b[e].m(h,null))}for(;e<b.length;e+=1)b[e].d(1);b.length=y.length}128&n[0]&&e!==(e="CasinoCollectionsProviders "+(t[7]?"Mobile":""))&&fe(r,"class",e)},d(e){e&&me(r),k(b,e),n[23](null),g=!1,V(p)}}}function Ri(e){let n,a,r=e[8]("Translations.loading")+"";return{c(){n=he("p"),a=ge(r)},m(e,t){ue(e,n,t),de(n,a)},p(e,t){256&t[0]&&r!==(r=e[8]("Translations.loading")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Ii(e){let n,a,r=e[40].name+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","CategorySlideTitle")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){8&t[0]&&r!==(r=e[40].name+"")&&ye(a,r)},d(e){e&&me(n)}}}function Ai(e){let n,a,r;return{c(){fe(n=he("img"),"class","CategorySlideLogo"),ce(n.src,a=e[40].icon)||fe(n,"src",a),fe(n,"alt",r=e[40].name+" icon")},m(e,t){ue(e,n,t)},p(e,t){8&t[0]&&!ce(n.src,a=e[40].icon)&&fe(n,"src",a),8&t[0]&&r!==(r=e[40].name+" icon")&&fe(n,"alt",r)},d(e){e&&me(n)}}}function Oi(e){let n,a,r,i=e[43].name+"";return{c(){n=he("p"),a=ge(i),fe(n,"title",r=e[43].name)},m(e,t){ue(e,n,t),de(n,a)},p(e,t){8&t[0]&&i!==(i=e[43].name+"")&&ye(a,i),8&t[0]&&r!==(r=e[43].name)&&fe(n,"title",r)},d(e){e&&me(n)}}}function Ni(n){let a,r,i,s,o,l,c,d;function u(){return n[21](n[43])}let m="true"==n[2]&&Oi(n);return{c(){a=he("div"),r=he("img"),o=pe(),m&&m.c(),l=pe(),fe(r,"class","CategorySlideGameImage"),ce(r.src,i=n[43].defaultThumbnail)||fe(r,"src",i),fe(r,"alt",s=n[43].name),fe(a,"class","CategorySlideGames")},m(e,t){var n;ue(e,a,t),de(a,r),de(a,o),m&&m.m(a,null),de(a,l),c||(d=z(r,"click",(n=u,function(e){return e.stopPropagation(),n.call(this,e)})),c=!0)},p(e,t){n=e,8&t[0]&&!ce(r.src,i=n[43].defaultThumbnail)&&fe(r,"src",i),8&t[0]&&s!==(s=n[43].name)&&fe(r,"alt",s),"true"==n[2]?m?m.p(n,t):((m=Oi(n)).c(),m.m(a,l)):m&&(m.d(1),m=null)},d(e){e&&me(a),m&&m.d(),c=!1,d()}}}function Di(n){let a,r,i,s,o,l,c,d,u;function m(e){return"logo"==e[1]?Ai:"title"==e[1]?Ii:void 0}let h=m(n),g=h&&h(n),p=n[40].games,f=[];for(let e=0;e<p.length;e+=1)f[e]=Ni(Pi(n,p,e));function y(){return n[22](n[40])}return{c(){a=he("div"),r=he("div"),i=he("div"),g&&g.c(),s=pe(),o=he("div");for(let e=0;e<f.length;e+=1)f[e].c();c=pe(),fe(i,"class","CategorySlideTopContainer"),fe(o,"class","CategorySlideGameContainer"),fe(r,"class",l="CategorySlide "+("vendor"==n[40]?.flag[0]?"CategorySlideNoHighlight":"")),S(r,"background-image","url("+n[40]?.background+")"),fe(a,"class","CategoriesSliderWrapper Animation")},m(e,t){ue(e,a,t),de(a,r),de(r,i),g&&g.m(i,null),de(r,s),de(r,o);for(let e=0;e<f.length;e+=1)f[e].m(o,null);de(a,c),d||(u=z(r,"click",y),d=!0)},p(e,t){if(h===(h=m(n=e))&&g?g.p(n,t):(g&&g.d(1),(g=h&&h(n))&&(g.c(),g.m(i,null))),2060&t[0]){let e;for(p=n[40].games,e=0;e<p.length;e+=1){const r=Pi(n,p,e);f[e]?f[e].p(r,t):(f[e]=Ni(r),f[e].c(),f[e].m(o,null))}for(;e<f.length;e+=1)f[e].d(1);f.length=p.length}8&t[0]&&l!==(l="CategorySlide "+("vendor"==n[40]?.flag[0]?"CategorySlideNoHighlight":""))&&fe(r,"class",l),8&t[0]&&S(r,"background-image","url("+n[40]?.background+")")},d(e){e&&me(a),g&&g.d(),k(f,e),d=!1,u()}}}function Bi(n){let a;function r(e){return e[6]?Ri:Fi}let i=r(n),s=i(n);return{c(){a=he("div"),s.c(),this.c=W},m(e,t){ue(e,a,t),s.m(a,null),n[24](a)},p(e,t){i===(i=r(e))&&s?s.p(e,t):(s.d(1),(s=i(e))&&(s.c(),s.m(a,null)))},i:W,o:W,d(e){e&&me(a),s.d(),n[24](null)}}}function Hi(n,e,a){let t;Ve(n,Ta,e=>a(8,t=e));let r,i,s,o,l,{endpoint:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{type:m=""}=e,{titletype:h=""}=e,{clientstyling:g=""}=e,{clientstylingurl:p=""}=e,{translationurl:f=""}=e,{collectionprovidersgamenames:y=""}=e,b=[],v=!0,w=0,$=0,x=0,S=window.navigator.userAgent;Object.keys(Ei).forEach(e=>{Mi(e,Ei[e])});const _=n=>{(s=[...r.children]).forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),s.map(e=>i=e.getBoundingClientRect().width),x=Math.round(r.offsetWidth/i)},C=()=>{_(w)},k=()=>{x>=$||(0===w?w=$-x:w-x<-1?w=0:w--,C())},T=()=>{x>=$||(w===$-x?w=0:$-x<w+1?w=$-x:w++,C())},G=(e,t,n)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:e,launchUrl:t,gameName:n},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"CollectionsProviders",gameName:""+n})},M=e=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:e},window.location.href)};return Ze(()=>{a(7,l=We(S))}),n.$$set=e=>{"endpoint"in e&&a(13,c=e.endpoint),"datasource"in e&&a(14,d=e.datasource),"lang"in e&&a(15,u=e.lang),"type"in e&&a(0,m=e.type),"titletype"in e&&a(1,h=e.titletype),"clientstyling"in e&&a(16,g=e.clientstyling),"clientstylingurl"in e&&a(17,p=e.clientstylingurl),"translationurl"in e&&a(18,f=e.translationurl),"collectionprovidersgamenames"in e&&a(2,y=e.collectionprovidersgamenames)},n.$$.update=()=>{if(57344&n.$$.dirty[0]&&c&&d&&u){const t=new URL(c+"/v2/casino/groups/"+d);t.searchParams.append("language",u),t.searchParams.append("expand","games"),fetch(t.href).then(e=>e.json()).then(e=>{a(6,v=!1);let t=e.items.filter(e=>e.flags==m);a(3,b=t.map(e=>{var t;return{id:e.id,name:e.name,icon:e.icon||(null==(t=null==(t=null==(t=e.vendors)?void 0:t.items[0])?void 0:t.subVendors[0])?void 0:t.logo),games:e.games.items.slice(0,4).map(e=>e),background:e.background,flag:e.flags}})),$=b.length})}if(24&n.$$.dirty[0]&&b&&r&&_(),32768&n.$$.dirty[0]&&u&&(e=u,Ye.set(e)),65568&n.$$.dirty[0]&&g&&o){let e=document.createElement("style");e.innerHTML=g,o.appendChild(e)}if(131104&n.$$.dirty[0]&&p&&o){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{},500)})}var e;262144&n.$$.dirty[0]&&f&&fetch(f).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Mi(e,t[e])})}).catch(e=>{console.log(e)})},[m,h,y,b,r,o,v,l,t,k,T,G,M,c,d,u,g,p,f,()=>k(),()=>T(),e=>G(e.gameId,e.launchUrl,e.name),e=>M(e.id),function(e){Ue[e?"unshift":"push"](()=>{r=e,a(4,r)})},function(e){Ue[e?"unshift":"push"](()=>{o=e,a(5,o)})}]}function ji(n){let a,r,i,s,o;return{c(){a=he("div"),r=he("casino-games-category-section"),this.c=W,x(r,"session",n[0]),x(r,"userid",n[1]),x(r,"endpoint",n[2]),x(r,"datasource",n[3]),x(r,"lang",n[5]),x(r,"currency",n[4]),x(r,"favorites",n[13]),x(r,"categoryid","FAVORITES"),x(r,"class","CategoryContainer"),x(r,"clientstyling",n[6]),x(r,"clientstylingurl",n[7]),x(r,"livecasino",n[8]),x(r,"visiblegames",n[12]),x(r,"gamepagemodalurl",n[11]),x(r,"integratedgameframedesktop",n[10]),x(r,"integratedgameframemobile",n[9]),x(r,"casinomygames",n[14]),fe(a,"class","CasinoFavoritesSectionContainer")},m(e,t){ue(e,a,t),de(a,r),n[18](a),s||(o=E(i=n[16].call(null,r,(n[2],n[1],n[0],n[1]))),s=!0)},p(e,[t]){1&t&&x(r,"session",e[0]),2&t&&x(r,"userid",e[1]),4&t&&x(r,"endpoint",e[2]),8&t&&x(r,"datasource",e[3]),32&t&&x(r,"lang",e[5]),16&t&&x(r,"currency",e[4]),8192&t&&x(r,"favorites",e[13]),64&t&&x(r,"clientstyling",e[6]),128&t&&x(r,"clientstylingurl",e[7]),256&t&&x(r,"livecasino",e[8]),4096&t&&x(r,"visiblegames",e[12]),2048&t&&x(r,"gamepagemodalurl",e[11]),1024&t&&x(r,"integratedgameframedesktop",e[10]),512&t&&x(r,"integratedgameframemobile",e[9]),16384&t&&x(r,"casinomygames",e[14]),i&&T(i.update)&&7&t&&i.update.call(null,(e[2],e[1],e[0],e[1]))},i:W,o:W,d(e){e&&me(a),n[18](null),s=!1,o()}}}function Ui(e,t,o){let n,a,{endpoint:l=""}=t,{datasource:r=""}=t,{currency:i=""}=t,{lang:s=""}=t,{session:c=""}=t,{userid:d=""}=t,{clientstyling:u=""}=t,{clientstylingurl:m=""}=t,{livecasino:h="false"}=t,{integratedgameframemobile:g="false"}=t,{integratedgameframedesktop:p="false"}=t,{gamepagemodalurl:f="false"}=t,{visiblegames:y=""}=t,{favorites:b=""}=t,{categoryid:v=""}=t,{casinomygames:w="false"}=t,$=[];var x,S;({withLocale:x,translations:S}={withLocale:"en",translations:{}}),Ye.subscribe(e=>{null==e&&(ia.set(S),Ye.set(x))});const _=n=>{if(n.data)switch(n.data.type){case"UserSessionID":o(0,c=n.data.session),o(1,d=n.data.userID),d&&d.length&&c&&0<c.length&&C(l,c,d);break;case"SetUnfavoredGame":e=`${l}/player/${d}/favorites`,t=c,d,s=n.data.id,n.data.triggerFactor,$.includes(s)&&($=$.filter(e=>e!=s)),fetch(e+"/"+s,{method:"DELETE",headers:{"X-SessionID":t}}).then(e=>e.json()).then(()=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+s},window.location.href),k(e,t)});break;case"SetFavoredGame":{var a=`${l}/player/${d}/favorites`;var r=c;d;var i=n.data.id;n.data.triggerFactor;$.includes(i)||$.push(i);let e={items:$},t={method:"POST",headers:{"X-SessionID":r,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(a,t).then(e=>e.json()).then(()=>{window.postMessage({type:`AddFavoriteThumbnail_${i}`},window.location.href),k(a,r)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":d&&d.length&&c&&0<c.length&&C(l,c,d)}var e,t,s};let C=(e,t,n)=>{"true"==b&&c&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((a=e)&&(T(),window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:a,favStadalone:!0},window.location.href),G(a.items)),a)).then(e=>e).catch(e=>{console.error(e)})};let k=(e,t)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(a=e,T(),a&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:a,favStadalone:!0},window.location.href),a)).catch(e=>{console.error(e)})};const T=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:a},window.location.href)},G=(e=[])=>($=[],0<e.length&&e.forEach(e=>{$.push(e.id)}),$);return Ze(()=>(window.addEventListener("message",_,!1),()=>{window.removeEventListener("message",_)})),e.$$set=e=>{"endpoint"in e&&o(2,l=e.endpoint),"datasource"in e&&o(3,r=e.datasource),"currency"in e&&o(4,i=e.currency),"lang"in e&&o(5,s=e.lang),"session"in e&&o(0,c=e.session),"userid"in e&&o(1,d=e.userid),"clientstyling"in e&&o(6,u=e.clientstyling),"clientstylingurl"in e&&o(7,m=e.clientstylingurl),"livecasino"in e&&o(8,h=e.livecasino),"integratedgameframemobile"in e&&o(9,g=e.integratedgameframemobile),"integratedgameframedesktop"in e&&o(10,p=e.integratedgameframedesktop),"gamepagemodalurl"in e&&o(11,f=e.gamepagemodalurl),"visiblegames"in e&&o(12,y=e.visiblegames),"favorites"in e&&o(13,b=e.favorites),"categoryid"in e&&o(17,v=e.categoryid),"casinomygames"in e&&o(14,w=e.casinomygames)},e.$$.update=()=>{if(8231&e.$$.dirty&&l&&d&&c&&s&&b&&"true"==b&&C(l,c,d),32832&e.$$.dirty&&u&&n){let e=document.createElement("style");e.innerHTML=u,n.appendChild(e)}if(32896&e.$$.dirty&&m&&n){let t=document.createElement("style");fetch(new URL(m)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1)})}},[c,d,l,r,i,s,u,m,h,g,p,f,y,b,w,n,C,v,function(e){Ue[e?"unshift":"push"](()=>{n=e,o(15,n)})}]}function Yi(e,t){oa(e,t)}customElements.get("casino-collections-providers")||customElements.define("casino-collections-providers",class extends e{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emfe-w-color-contrast, #07072A);width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{max-height:100px;position:absolute;top:30%;left:50%;transform:translate(-50%, -50%)}.CategoriesSlider .CategorySlideTitle{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;justify-content:center;gap:3%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:54px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:10px;text-overflow:ellipsis;overflow:hidden;height:20px;width:90px;white-space:nowrap}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:85vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}</style>",j(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Hi,Bi,t,{endpoint:13,datasource:14,lang:15,type:0,titletype:1,clientstyling:16,clientstylingurl:17,translationurl:18,collectionprovidersgamenames:2},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","type","titletype","clientstyling","clientstylingurl","translationurl","collectionprovidersgamenames"]}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[14]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),f()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[1]}set titletype(e){this.$$set({titletype:e}),f()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),f()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),f()}}),customElements.get("casino-favorites-section")||customElements.define("casino-favorites-section",class extends e{constructor(e){super(),this.shadowRoot.innerHTML="<style>.CasinoFavoritesSectionContainer{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}</style>",j(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ui,ji,t,{endpoint:2,datasource:3,currency:4,lang:5,session:0,userid:1,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,categoryid:17,casinomygames:14},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","categoryid","casinomygames"]}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[1]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get categoryid(){return this.$$.ctx[17]}set categoryid(e){this.$$set({categoryid:e}),f()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),f()}});const Wi={en:{LastPlayedTranslations:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}},de:{LastPlayedTranslations:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."}}};function zi(e){let n;return{c(){x(n=he("casino-games-category-section"),"session",e[4]),x(n,"userid",e[5]),x(n,"endpoint",e[0]),x(n,"datasource",e[1]),x(n,"lang",e[3]),x(n,"currency",e[2]),x(n,"favorites",e[13]),x(n,"categoryid","LASTPLAYED"),x(n,"categoryindex","1"),x(n,"categorygames","9"),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7]),x(n,"livecasino",e[8]),x(n,"visiblegames",e[12]),x(n,"gamepagemodalurl",e[11]),x(n,"integratedgameframedesktop",e[10]),x(n,"integratedgameframemobile",e[9]),x(n,"casinomygames",e[14])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&x(n,"session",e[4]),32&t[0]&&x(n,"userid",e[5]),1&t[0]&&x(n,"endpoint",e[0]),2&t[0]&&x(n,"datasource",e[1]),8&t[0]&&x(n,"lang",e[3]),4&t[0]&&x(n,"currency",e[2]),8192&t[0]&&x(n,"favorites",e[13]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7]),256&t[0]&&x(n,"livecasino",e[8]),4096&t[0]&&x(n,"visiblegames",e[12]),2048&t[0]&&x(n,"gamepagemodalurl",e[11]),1024&t[0]&&x(n,"integratedgameframedesktop",e[10]),512&t[0]&&x(n,"integratedgameframemobile",e[9]),16384&t[0]&&x(n,"casinomygames",e[14])},d(e){e&&me(n)}}}function Vi(e){let n,a,r=e[17]("LastPlayedTranslations.noRecentGames")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){131072&t[0]&&r!==(r=e[17]("LastPlayedTranslations.noRecentGames")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Zi(n){let a,r;function i(e){return e[16]?Vi:zi}let s=i(n),o=s(n);return{c(){a=he("div"),r=he("div"),o.c(),this.c=W,fe(r,"class","CasinoLastPlayedSection"),fe(a,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,a,t),de(a,r),o.m(r,null),n[20](a)},p(e,t){s===(s=i(e))&&o?o.p(e,t):(o.d(1),(o=s(e))&&(o.c(),o.m(r,null)))},i:W,o:W,d(e){e&&me(a),o.d(),n[20](null)}}}function Ki(t,e,n){let a;Ve(t,Ta,e=>n(17,a=e));let i,s,{endpoint:o=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{clientstyling:m=""}=e,{clientstylingurl:h=""}=e,{translationurl:g=""}=e,{livecasino:p="false"}=e,{integratedgameframemobile:f="false"}=e,{integratedgameframedesktop:y="false"}=e,{gamepagemodalurl:b="false"}=e,{visiblegames:v=""}=e,{favorites:w=""}=e,{lastplayedperiod:$=""}=e,{casinomygames:x="false"}=e,S=window.navigator.userAgent,_=!1,C;Object.keys(Wi).forEach(e=>{Yi(e,Wi[e])});return t.$$set=e=>{"endpoint"in e&&n(0,o=e.endpoint),"datasource"in e&&n(1,l=e.datasource),"currency"in e&&n(2,r=e.currency),"lang"in e&&n(3,c=e.lang),"session"in e&&n(4,d=e.session),"userid"in e&&n(5,u=e.userid),"clientstyling"in e&&n(6,m=e.clientstyling),"clientstylingurl"in e&&n(7,h=e.clientstylingurl),"translationurl"in e&&n(18,g=e.translationurl),"livecasino"in e&&n(8,p=e.livecasino),"integratedgameframemobile"in e&&n(9,f=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,y=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,b=e.gamepagemodalurl),"visiblegames"in e&&n(12,v=e.visiblegames),"favorites"in e&&n(13,w=e.favorites),"lastplayedperiod"in e&&n(19,$=e.lastplayedperiod),"casinomygames"in e&&n(14,x=e.casinomygames)},t.$$.update=()=>{if(41&t.$$.dirty[0]&&o&&u&&c&&(r={device:ze(S),period:$||"Last30Days"},new Promise((e,t)=>{let n=new URL(`${o}/player/${u}/games/last-played`);r.limit&&n.searchParams.append("limit","10"),r.order&&n.searchParams.append("order",r.order);var a=r.device;a?"PC"===a?n.searchParams.append("device","Desktop"):n.searchParams.append("device","Mobile"):n.searchParams.append("device","All"),r.period&&n.searchParams.append("period","Last30Days"),i=p?n:n.href,fetch(i).then(e=>e.json()).then(n=>{n.items=n.items.filter(e=>{let t=!0;return"OddsMatrix2"==e.gameCode&&(n.count--,t=!1),t}),e(n),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:n},window.location.href)}).catch(e=>{console.error(e),t(e)})}).then(e=>{if(window.postMessage({type:"GetFavoredGame"},window.location.href),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(o+"/casino/games/"+e.gameId);t.searchParams.append("datasource",l),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{C=e.map(e=>e[0]),window.postMessage({type:"LastPlayedData",lastPlayedGames:C},window.location.href)})}else n(16,_=!0)})),262144&t.$$.dirty[0]&&g&&(e=translationUrl,fetch(e).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Yi(e,t[e])})}).catch(e=>{console.log(e)})),32832&t.$$.dirty[0]&&m&&s){let e=document.createElement("style");e.innerHTML=m,s.appendChild(e)}if(32896&t.$$.dirty[0]&&h&&s){let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1)})}var e,r;8&t.$$.dirty[0]&&c&&(e=c,Ye.set(e))},[o,l,r,c,d,u,m,h,p,f,y,b,v,w,x,s,_,a,g,$,function(e){Ue[e?"unshift":"push"](()=>{s=e,n(15,s)})}]}function Xi(e){let n;return{c(){x(n=he("casino-games-category-section"),"session",e[4]),x(n,"userid",e[5]),x(n,"endpoint",e[0]),x(n,"datasource",e[1]),x(n,"lang",e[3]),x(n,"currency",e[2]),x(n,"favorites",e[13]),x(n,"categoryid","MOSTPLAYED"),x(n,"categoryindex","1"),x(n,"categorygames","9"),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7]),x(n,"livecasino",e[8]),x(n,"visiblegames",e[12]),x(n,"gamepagemodalurl",e[11]),x(n,"integratedgameframedesktop",e[10]),x(n,"integratedgameframemobile",e[9]),x(n,"casinomygames",e[14])},m(e,t){ue(e,n,t)},p(e,t){16&t&&x(n,"session",e[4]),32&t&&x(n,"userid",e[5]),1&t&&x(n,"endpoint",e[0]),2&t&&x(n,"datasource",e[1]),8&t&&x(n,"lang",e[3]),4&t&&x(n,"currency",e[2]),8192&t&&x(n,"favorites",e[13]),64&t&&x(n,"clientstyling",e[6]),128&t&&x(n,"clientstylingurl",e[7]),256&t&&x(n,"livecasino",e[8]),4096&t&&x(n,"visiblegames",e[12]),2048&t&&x(n,"gamepagemodalurl",e[11]),1024&t&&x(n,"integratedgameframedesktop",e[10]),512&t&&x(n,"integratedgameframemobile",e[9]),16384&t&&x(n,"casinomygames",e[14])},d(e){e&&me(n)}}}function Ji(e){let n;return{c(){(n=he("p")).textContent="No games in most played",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function qi(n){let a,r;function i(e){return e[16]?Ji:Xi}let s=i(n),o=s(n);return{c(){a=he("div"),r=he("div"),o.c(),this.c=W,fe(r,"class","casino-most-played-section"),fe(a,"class","CasinoGamesCategorySectionContainer"),fe(a,"part","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,a,t),de(a,r),o.m(r,null),n[18](a)},p(e,[t]){s===(s=i(e))&&o?o.p(e,t):(o.d(1),(o=s(e))&&(o.c(),o.m(r,null)))},i:W,o:W,d(e){e&&me(a),o.d(),n[18](null)}}}function Qi(t,e,n){let a,r,{endpoint:i=""}=e,{datasource:s=""}=e,{currency:o=""}=e,{lang:l=""}=e,{session:c=""}=e,{userid:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:m=""}=e,{livecasino:h="false"}=e,{integratedgameframemobile:g="false"}=e,{integratedgameframedesktop:p="false"}=e,{gamepagemodalurl:f="false"}=e,y=e["visiblegames"],{favorites:b=""}=e,{lastPlayedEmpty:v=""}=e,{casinomygames:w="false"}=e,$=window.navigator.userAgent,x=[],S=!1;return t.$$set=e=>{"endpoint"in e&&n(0,i=e.endpoint),"datasource"in e&&n(1,s=e.datasource),"currency"in e&&n(2,o=e.currency),"lang"in e&&n(3,l=e.lang),"session"in e&&n(4,c=e.session),"userid"in e&&n(5,d=e.userid),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,m=e.clientstylingurl),"livecasino"in e&&n(8,h=e.livecasino),"integratedgameframemobile"in e&&n(9,g=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,p=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,f=e.gamepagemodalurl),"visiblegames"in e&&n(12,y=e.visiblegames),"favorites"in e&&n(13,b=e.favorites),"lastPlayedEmpty"in e&&n(17,v=e.lastPlayedEmpty),"casinomygames"in e&&n(14,w=e.casinomygames)},t.$$.update=()=>{if(41&t.$$.dirty&&i&&d&&l&&(e=>{let t=new URL(`${i}/player/${d}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games");var n=e.device;return n?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),a=h?t:t.href,new Promise((e,t)=>{fetch(a).then(e=>e.json()).then(n=>{n.items=n.items.filter(e=>{let t=!0;return"OddsMatrix2"==e.gameCode&&(n.count--,t=!1),t}),e(n)}).catch(e=>{console.error(e),t(e)})})})({limit:100,device:ze($),rounds:10}).then(e=>{if(window.postMessage({type:"GetFavoredGame"},window.location.href),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(i+"/casino/games/"+e.gameId);t.searchParams.append("datasource",s),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{x=e.map(e=>e[0]),"true"===w&&(x=x.slice(0,JSON.parse(y))),window.postMessage({type:"MostPlayedData",mostPlayedGames:x},window.location.href)})}else n(16,S=!0)}),32832&t.$$.dirty&&u&&r){let e=document.createElement("style");e.innerHTML=u,r.appendChild(e)}if(32896&t.$$.dirty&&m&&r){let t=document.createElement("style");fetch(new URL(m)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e;8&t.$$.dirty&&l&&(e=l,Ye.set(e))},[i,s,o,l,c,d,u,m,h,g,p,f,y,b,w,r,S,v,function(e){Ue[e?"unshift":"push"](()=>{r=e,n(15,r)})}]}function es(e,t){oa(e,t)}customElements.get("casino-last-played-section")||customElements.define("casino-last-played-section",class extends e{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}</style>",j(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ki,Zi,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:18,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastplayedperiod:19,casinomygames:14},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastplayedperiod","casinomygames"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get lastplayedperiod(){return this.$$.ctx[19]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),f()}}),customElements.get("casino-most-played-section")||customElements.define("casino-most-played-section",class extends e{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}</style>",j(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Qi,qi,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastPlayedEmpty:17,casinomygames:14},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastPlayedEmpty","casinomygames"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get lastPlayedEmpty(){return this.$$.ctx[17]}set lastPlayedEmpty(e){this.$$set({lastPlayedEmpty:e}),f()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),f()}});const ts={en:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},zh:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},de:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},it:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},fr:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},es:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},tr:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},ru:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},ro:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},hr:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},hu:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},pl:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},pt:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},sl:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},sr:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}}};function ns(e,t,n){const a=e.slice();return a[36]=t[n],a}function as(t){let r,n,i,a,s,e,o=t[20],l=[];for(let e=0;e<o.length;e+=1)l[e]=os(ns(t,o,e));function c(e){return"Favorites"==e[18]?ds:"MostPlayed"==e[18]?cs:"LastPlayed"==e[18]?ls:void 0}let d=c(t),u=d&&d(t);return{c(){r=he("div"),n=he("div"),i=he("div");for(let e=0;e<l.length;e+=1)l[e].c();a=pe(),s=he("div"),u&&u.c(),fe(i,"class","MyGamesButtonsContainer"),fe(n,"class","MyGamesHeader"),fe(r,"class",e="CasinoMyGames "+(t[19]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,n),de(n,i);for(let e=0;e<l.length;e+=1)l[e].m(i,null);de(r,a),de(r,s),u&&u.m(s,null)},p(t,n){if(7659520&n[0]){let e;for(o=t[20],e=0;e<o.length;e+=1){var a=ns(t,o,e);l[e]?l[e].p(a,n):(l[e]=os(a),l[e].c(),l[e].m(i,null))}for(;e<l.length;e+=1)l[e].d(1);l.length=o.length}d===(d=c(t))&&u?u.p(t,n):(u&&u.d(1),(u=d&&d(t))&&(u.c(),u.m(s,null))),524288&n[0]&&e!==(e="CasinoMyGames "+(t[19]?"Mobile":""))&&fe(r,"class",e)},d(e){e&&me(r),k(l,e),u&&u.d()}}}function rs(n){let a,r,i,s,o,l=n[21]("Translations.favorites")+"";return{c(){a=he("button"),r=ge(l),fe(a,"class",i="MyGamesButton "+("Favorites"==n[18]?"Active":"")+" "+("false"==n[13]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),s||(o=z(a,"click",n[26]),s=!0)},p(e,t){2097152&t[0]&&l!==(l=e[21]("Translations.favorites")+"")&&ye(r,l),270336&t[0]&&i!==(i="MyGamesButton "+("Favorites"==e[18]?"Active":"")+" "+("false"==e[13]?"Off":""))&&fe(a,"class",i)},d(e){e&&me(a),s=!1,o()}}}function is(n){let a,r,i,s,o,l=n[21]("Translations.mostPlayed")+"";return{c(){a=he("button"),r=ge(l),fe(a,"class",i="MyGamesButton "+("MostPlayed"==n[18]?"Active":"")+" "+("false"==n[14]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),s||(o=z(a,"click",n[27]),s=!0)},p(e,t){2097152&t[0]&&l!==(l=e[21]("Translations.mostPlayed")+"")&&ye(r,l),278528&t[0]&&i!==(i="MyGamesButton "+("MostPlayed"==e[18]?"Active":"")+" "+("false"==e[14]?"Off":""))&&fe(a,"class",i)},d(e){e&&me(a),s=!1,o()}}}function ss(n){let a,r,i,s,o,l,c=n[21]("Translations.recentlyPlayed")+"";return{c(){a=he("button"),r=ge(c),i=pe(),fe(a,"class",s="MyGamesButton "+("LastPlayed"==n[18]?"Active":"")+" "+("false"==n[15]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),de(a,i),o||(l=z(a,"click",n[28]),o=!0)},p(e,t){2097152&t[0]&&c!==(c=e[21]("Translations.recentlyPlayed")+"")&&ye(r,c),294912&t[0]&&s!==(s="MyGamesButton "+("LastPlayed"==e[18]?"Active":"")+" "+("false"==e[15]?"Off":""))&&fe(a,"class",s)},d(e){e&&me(a),o=!1,l()}}}function os(e){let n,a,r,i="Favorites"==e[36]&&rs(e),s="MostPlayed"==e[36]&&is(e),o="LastPlayed"==e[36]&&ss(e);return{c(){i&&i.c(),n=pe(),s&&s.c(),a=pe(),o&&o.c(),r=l()},m(e,t){i&&i.m(e,t),ue(e,n,t),s&&s.m(e,t),ue(e,a,t),o&&o.m(e,t),ue(e,r,t)},p(e,t){"Favorites"==e[36]?i?i.p(e,t):((i=rs(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),"MostPlayed"==e[36]?s?s.p(e,t):((s=is(e)).c(),s.m(a.parentNode,a)):s&&(s.d(1),s=null),"LastPlayed"==e[36]?o?o.p(e,t):((o=ss(e)).c(),o.m(r.parentNode,r)):o&&(o.d(1),o=null)},d(e){i&&i.d(e),e&&me(n),s&&s.d(e),e&&me(a),o&&o.d(e),e&&me(r)}}}function ls(e){let n;return{c(){x(n=he("casino-last-played-section"),"userid",e[0]),x(n,"endpoint",e[2]),x(n,"datasource",e[3]),x(n,"favorites",e[13]),x(n,"lang",e[4]),x(n,"currency",e[5]),x(n,"session",e[1]),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7]),x(n,"livecasino",e[8]),x(n,"visiblegames",e[9]),x(n,"gamepagemodalurl",e[10]),x(n,"integratedgameframedesktop",e[11]),x(n,"integratedgameframemobile",e[12]),x(n,"casinomygames",e[16])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&x(n,"userid",e[0]),4&t[0]&&x(n,"endpoint",e[2]),8&t[0]&&x(n,"datasource",e[3]),8192&t[0]&&x(n,"favorites",e[13]),16&t[0]&&x(n,"lang",e[4]),32&t[0]&&x(n,"currency",e[5]),2&t[0]&&x(n,"session",e[1]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7]),256&t[0]&&x(n,"livecasino",e[8]),512&t[0]&&x(n,"visiblegames",e[9]),1024&t[0]&&x(n,"gamepagemodalurl",e[10]),2048&t[0]&&x(n,"integratedgameframedesktop",e[11]),4096&t[0]&&x(n,"integratedgameframemobile",e[12]),65536&t[0]&&x(n,"casinomygames",e[16])},d(e){e&&me(n)}}}function cs(e){let n;return{c(){x(n=he("casino-most-played-section"),"endpoint",e[2]),x(n,"datasource",e[3]),x(n,"lang",e[4]),x(n,"currency",e[5]),x(n,"session",e[1]),x(n,"userid",e[0]),x(n,"favorites",e[13]),x(n,"categoryindex","0"),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7]),x(n,"livecasino",e[8]),x(n,"visiblegames",e[9]),x(n,"gamepagemodalurl",e[10]),x(n,"integratedgameframedesktop",e[11]),x(n,"integratedgameframemobile",e[12]),x(n,"casinomygames",e[16])},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&x(n,"endpoint",e[2]),8&t[0]&&x(n,"datasource",e[3]),16&t[0]&&x(n,"lang",e[4]),32&t[0]&&x(n,"currency",e[5]),2&t[0]&&x(n,"session",e[1]),1&t[0]&&x(n,"userid",e[0]),8192&t[0]&&x(n,"favorites",e[13]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7]),256&t[0]&&x(n,"livecasino",e[8]),512&t[0]&&x(n,"visiblegames",e[9]),1024&t[0]&&x(n,"gamepagemodalurl",e[10]),2048&t[0]&&x(n,"integratedgameframedesktop",e[11]),4096&t[0]&&x(n,"integratedgameframemobile",e[12]),65536&t[0]&&x(n,"casinomygames",e[16])},d(e){e&&me(n)}}}function ds(e){let n;return{c(){x(n=he("casino-favorites-section"),"session",e[1]),x(n,"userid",e[0]),x(n,"endpoint",e[2]),x(n,"datasource",e[3]),x(n,"lang",e[4]),x(n,"currency",e[5]),x(n,"favorites",e[13]),x(n,"categoryid","FAVORITES"),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7]),x(n,"livecasino",e[8]),x(n,"visiblegames",e[9]),x(n,"gamepagemodalurl",e[10]),x(n,"integratedgameframedesktop",e[11]),x(n,"integratedgameframemobile",e[12]),x(n,"casinomygames",e[16])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&x(n,"session",e[1]),1&t[0]&&x(n,"userid",e[0]),4&t[0]&&x(n,"endpoint",e[2]),8&t[0]&&x(n,"datasource",e[3]),16&t[0]&&x(n,"lang",e[4]),32&t[0]&&x(n,"currency",e[5]),8192&t[0]&&x(n,"favorites",e[13]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7]),256&t[0]&&x(n,"livecasino",e[8]),512&t[0]&&x(n,"visiblegames",e[9]),1024&t[0]&&x(n,"gamepagemodalurl",e[10]),2048&t[0]&&x(n,"integratedgameframedesktop",e[11]),4096&t[0]&&x(n,"integratedgameframemobile",e[12]),65536&t[0]&&x(n,"casinomygames",e[16])},d(e){e&&me(n)}}}function us(n){let a;function r(e){if(e[16])return as}let i=r(n),s=i&&i(n);return{c(){a=he("div"),s&&s.c(),this.c=W},m(e,t){ue(e,a,t),s&&s.m(a,null),n[29](a)},p(e,t){i===(i=r(e))&&s?s.p(e,t):(s&&s.d(1),(s=i&&i(e))&&(s.c(),s.m(a,null)))},i:W,o:W,d(e){e&&me(a),s&&s.d(),n[29](null)}}}function ms(e,t,n){let a;Ve(e,Ta,e=>n(21,a=e));let r,{userid:i=""}=t,{session:s=""}=t,{endpoint:o=""}=t,{datasource:l=""}=t,{lang:c=""}=t,{currency:d=""}=t,{clientstyling:u=""}=t,{clientstylingurl:m=""}=t,{livecasino:h=""}=t,{visiblegames:g=""}=t,{gamepagemodalurl:p=""}=t,{integratedgameframedesktop:f=""}=t,{integratedgameframemobile:y=""}=t,{translationurl:b=""}=t,{favorites:v="false"}=t,{mostplayed:w="false"}=t,{lastplayed:$="false"}=t,{activecategory:x=""}=t,{categorybackground:S=""}=t,{casinomygames:_="false"}=t,C=window.navigator.userAgent,k="",T=!1,G=["","",""];var M,E;({withLocale:M,translations:E}={withLocale:"en",translations:{}}),Ye.subscribe(e=>{null==e&&(ia.set(E),Ye.set(M))}),Object.keys(ts).forEach(e=>{es(e,ts[e])});const L=e=>{k!==e&&n(18,k=e)},P=()=>{var e;n(18,k="true"===v?"Favorites":"true"===w?"MostPlayed":"true"===$?"LastPlayed":""),n(20,G[0]="true"===v?"Favorites":"",G),n(20,G[1]="true"===w?"MostPlayed":"",G),n(20,G[2]="true"===$?"LastPlayed":"",G),e=c,Ye.set(e)};return Ze(()=>{n(19,T=We(C))}),e.$$set=e=>{"userid"in e&&n(0,i=e.userid),"session"in e&&n(1,s=e.session),"endpoint"in e&&n(2,o=e.endpoint),"datasource"in e&&n(3,l=e.datasource),"lang"in e&&n(4,c=e.lang),"currency"in e&&n(5,d=e.currency),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,m=e.clientstylingurl),"livecasino"in e&&n(8,h=e.livecasino),"visiblegames"in e&&n(9,g=e.visiblegames),"gamepagemodalurl"in e&&n(10,p=e.gamepagemodalurl),"integratedgameframedesktop"in e&&n(11,f=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(12,y=e.integratedgameframemobile),"translationurl"in e&&n(23,b=e.translationurl),"favorites"in e&&n(13,v=e.favorites),"mostplayed"in e&&n(14,w=e.mostplayed),"lastplayed"in e&&n(15,$=e.lastplayed),"activecategory"in e&&n(24,x=e.activecategory),"categorybackground"in e&&n(25,S=e.categorybackground),"casinomygames"in e&&n(16,_=e.casinomygames)},e.$$.update=()=>{if(28&e.$$.dirty[0]&&o&&l&&c&&P(),57344&e.$$.dirty[0]&&v&&w&&$&&P(),8388608&e.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{es(e,t[e])})}).catch(e=>{console.log(e)}),131136&e.$$.dirty[0]&&u&&r){let e=document.createElement("style");e.innerHTML=u,r.appendChild(e)}if(131200&e.$$.dirty[0]&&m&&r){let t=document.createElement("style");fetch(new URL(m)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}},[i,s,o,l,c,d,u,m,h,g,p,f,y,v,w,$,_,r,k,T,G,a,L,b,x,S,()=>L("Favorites"),()=>L("MostPlayed"),()=>L("LastPlayed"),function(e){Ue[e?"unshift":"push"](()=>{r=e,n(17,r)})}]}function hs(e,t){oa(e,t)}customElements.get("casino-my-games")||customElements.define("casino-my-games",class extends e{constructor(e){super(),this.shadowRoot.innerHTML="<style>.CasinoMyGames{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;margin:50px 0}.CasinoMyGames.Mobile{padding:25px 10px}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButton{border:none;background:none;color:var(--emfe-w-color-white, #FFFFFF);font-size:20px;font-weight:500;margin-right:60px;transition:linear 100ms;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:36px}.MyGamesButton:focus{color:var(--emfe-w-color-primary, #D0046C);line-height:36px}.MyGamesButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-color-primary, #D0046C)}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C);line-height:36px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;margin-right:10px}.Mobile .MyGamesButton.Active{padding-bottom:4px}</style>",j(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ms,us,t,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,integratedgameframedesktop:11,integratedgameframemobile:12,translationurl:23,favorites:13,mostplayed:14,lastplayed:15,activecategory:24,categorybackground:25,casinomygames:16},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["userid","session","endpoint","datasource","lang","currency","clientstyling","clientstylingurl","livecasino","visiblegames","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","translationurl","favorites","mostplayed","lastplayed","activecategory","categorybackground","casinomygames"]}get userid(){return this.$$.ctx[0]}set userid(e){this.$$set({userid:e}),f()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),f()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),f()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[12]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get translationurl(){return this.$$.ctx[23]}set translationurl(e){this.$$set({translationurl:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get mostplayed(){return this.$$.ctx[14]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get lastplayed(){return this.$$.ctx[15]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get activecategory(){return this.$$.ctx[24]}set activecategory(e){this.$$set({activecategory:e}),f()}get categorybackground(){return this.$$.ctx[25]}set categorybackground(e){this.$$set({categorybackground:e}),f()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),f()}});const gs={en:{Translations:{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},zh:{Translations:{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"}},de:{Translations:{recentSearch:"Letzte Suche",placeHolderSearchGames:"Hier nach Spielen suchen",loading:"Es lädt, bitte warten...",searchResult:"Ergebnis suchen",cancel:"Abbrechen",notFound:"Spiel wurde nicht gefunden!",notFoundText:"Spiel nicht gefunden! Bitte verwende den richtigen Spielnamen um es zu starten.",noRecentSearches:"Keine vorherige Suche vorhanden! Suche nach einem beliebigen Spiel"}},it:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},fr:{Translations:{recentSearch:"Recherche récente",loading:"Chargement, veuillez patienter",searchResult:"Résultat de la recherche",cancel:"Annuler",notFound:"Jeu non trouvé!",notFoundText:"Veuillez saisir le nom correct du jeu pour commencer à jouer.",noRecentSearches:"Pas encore de recherches récentes. Recherchez l'un de nos jeux."}},es:{Translations:{recentSearch:"Busqueda reciente",placeHolderSearchGames:"Buscar juegos",loading:"Cargando",searchResult:"Resultado de busqueda",cancel:"Cancelar",notFound:"Juego no encontrado!",notFoundText:"Por favor escriba el nombre correcto del juego para empezar a jugar.",noRecentSearches:"No hay búsquedas recientes. Busca cualquiera de nuestros juegos"}},gr:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},tr:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},ru:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play."}},ro:{Translations:{recentSearch:"Cautari recente",loading:"Se incarca, te rugam asteapta…",searchResult:"Rezultat cautare",cancel:"Anuleaza",notFound:"Nu am gasit niciun rezultat!",notFoundText:"Te rugam sa introduci corect numele jocului. ",noRecentSearches:"Nu sunt cautari recente. Cauta oricare din jocurile noastre."}},hr:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},hu:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},pl:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},pt:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},sl:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},sr:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}}};function ps(e,t,n){const a=e.slice();return a[48]=t[n],a}function fs(e){let n,a,r,i;function s(e){return 1==e[13]&&e[8].length<2?vs:0!=e[11].length?bs:void 0}let o=s(e),l=o&&o(e),c=!1===e[9]&&$s(e),d=2<=e[8].length&&0==e[11].length&&Ss(e);return{c(){l&&l.c(),n=pe(),a=he("div"),c&&c.c(),r=pe(),d&&d.c(),fe(a,"class",i="SearchResultsContainer "+(1==e[13]?"":"NotVisible"))},m(e,t){l&&l.m(e,t),ue(e,n,t),ue(e,a,t),c&&c.m(a,null),de(a,r),d&&d.m(a,null)},p(e,t){o===(o=s(e))&&l?l.p(e,t):(l&&l.d(1),(l=o&&o(e))&&(l.c(),l.m(n.parentNode,n))),!1===e[9]?c?c.p(e,t):((c=$s(e)).c(),c.m(a,r)):c&&(c.d(1),c=null),2<=e[8].length&&0==e[11].length?d?d.p(e,t):((d=Ss(e)).c(),d.m(a,null)):d&&(d.d(1),d=null),8192&t[0]&&i!==(i="SearchResultsContainer "+(1==e[13]?"":"NotVisible"))&&fe(a,"class",i)},d(e){l&&l.d(e),e&&me(n),e&&me(a),c&&c.d(),d&&d.d()}}}function ys(e){let n,a,r=e[17]("Translations.loading")+"";return{c(){n=he("p"),a=ge(r)},m(e,t){ue(e,n,t),de(n,a)},p(e,t){131072&t[0]&&r!==(r=e[17]("Translations.loading")+"")&&ye(a,r)},d(e){e&&me(n)}}}function bs(e){let n,a,r=e[17]("Translations.searchResult")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","PC"!==ze(e[18])?"SearchMessage":"SearchMessagePc")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){131072&t[0]&&r!==(r=e[17]("Translations.searchResult")+"")&&ye(a,r)},d(e){e&&me(n)}}}function vs(e){let n,a,r,i,s=e[17]("Translations.recentSearch")+"",o=0==e[11].length&&ws(e);return{c(){n=he("p"),a=ge(s),r=pe(),o&&o.c(),i=l(),fe(n,"class","PC"!==ze(e[18])?"SearchMessage":"SearchMessagePc")},m(e,t){ue(e,n,t),de(n,a),ue(e,r,t),o&&o.m(e,t),ue(e,i,t)},p(e,t){131072&t[0]&&s!==(s=e[17]("Translations.recentSearch")+"")&&ye(a,s),0==e[11].length?o?o.p(e,t):((o=ws(e)).c(),o.m(i.parentNode,i)):o&&(o.d(1),o=null)},d(e){e&&me(n),e&&me(r),o&&o.d(e),e&&me(i)}}}function ws(e){let n,a,r,t,i=e[17]("Translations.noRecentSearches")+"";return{c(){n=he("div"),a=he("p"),r=ge(i),fe(a,"class",t="PC"!==ze(e[18])?"SearchMessage":"SearchMessagePc"),fe(n,"class","ResultsContainerError")},m(e,t){ue(e,n,t),de(n,a),de(a,r)},p(e,t){131072&t[0]&&i!==(i=e[17]("Translations.noRecentSearches")+"")&&ye(r,i)},d(e){e&&me(n)}}}function $s(t){let r,i=t[11],s=[];for(let e=0;e<i.length;e+=1)s[e]=xs(ps(t,i,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();r=l()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);ue(t,r,n)},p(t,n){if(1149183&n[0]){let e;for(i=t[11],e=0;e<i.length;e+=1){var a=ps(t,i,e);s[e]?s[e].p(a,n):(s[e]=xs(a),s[e].c(),s[e].m(r.parentNode,r))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}},d(e){k(s,e),e&&me(r)}}}function xs(e){let n,a,r,i,s,o,l,c,d,u,m;return{c(){x(n=he("casino-game-thumbnail"),"endpoint",e[0]),x(n,"session",e[15]),x(n,"userid",e[16]),x(n,"favorites",e[7]),x(n,"lang",e[1]),x(n,"gamethumbnail",a=e[48].thumbnail),x(n,"gamename",r=e[48].name),x(n,"gamevendor",i=e[48].vendor.name),x(n,"gameisnew",s=e[48].isNew),x(n,"gametag",o=0<e[48].advancedTags?.length&&e[20](e[48].advancedTags)),x(n,"gamecellsize",l=e[48].cellSize),x(n,"gameid",c=e[48].id),x(n,"gamefunmode",d=e[48].hasFunMode),x(n,"gamefavorite",u=e[48].isFavorite),x(n,"livelobbyendpoint",m=e[48].details?e[48].launchUrl:""),x(n,"integratedgameframedesktop",e[4]),x(n,"integratedgameframemobile",e[5]),x(n,"clientstyling",e[2]),x(n,"clientstylingurl",e[3]),x(n,"gamepagemodalurl",e[6])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&x(n,"endpoint",e[0]),32768&t[0]&&x(n,"session",e[15]),65536&t[0]&&x(n,"userid",e[16]),128&t[0]&&x(n,"favorites",e[7]),2&t[0]&&x(n,"lang",e[1]),2048&t[0]&&a!==(a=e[48].thumbnail)&&x(n,"gamethumbnail",a),2048&t[0]&&r!==(r=e[48].name)&&x(n,"gamename",r),2048&t[0]&&i!==(i=e[48].vendor.name)&&x(n,"gamevendor",i),2048&t[0]&&s!==(s=e[48].isNew)&&x(n,"gameisnew",s),2048&t[0]&&o!==(o=0<e[48].advancedTags?.length&&e[20](e[48].advancedTags))&&x(n,"gametag",o),2048&t[0]&&l!==(l=e[48].cellSize)&&x(n,"gamecellsize",l),2048&t[0]&&c!==(c=e[48].id)&&x(n,"gameid",c),2048&t[0]&&d!==(d=e[48].hasFunMode)&&x(n,"gamefunmode",d),2048&t[0]&&u!==(u=e[48].isFavorite)&&x(n,"gamefavorite",u),2048&t[0]&&m!==(m=e[48].details?e[48].launchUrl:"")&&x(n,"livelobbyendpoint",m),16&t[0]&&x(n,"integratedgameframedesktop",e[4]),32&t[0]&&x(n,"integratedgameframemobile",e[5]),4&t[0]&&x(n,"clientstyling",e[2]),8&t[0]&&x(n,"clientstylingurl",e[3]),64&t[0]&&x(n,"gamepagemodalurl",e[6])},d(e){e&&me(n)}}}function Ss(e){let n,a,r,t,i,s,o,l=e[17]("Translations.notFound")+"",c=e[17]("Translations.notFoundText")+"";return{c(){n=he("div"),a=he("p"),r=ge(l),i=pe(),s=he("p"),o=ge(c),fe(a,"class",t="PC"!==ze(e[18])?"SearchMessage":"SearchMessagePc"),fe(n,"class","ResultsContainerError")},m(e,t){ue(e,n,t),de(n,a),de(a,r),de(n,i),de(n,s),de(s,o)},p(e,t){131072&t[0]&&l!==(l=e[17]("Translations.notFound")+"")&&ye(r,l),131072&t[0]&&c!==(c=e[17]("Translations.notFoundText")+"")&&ye(o,c)},d(e){e&&me(n)}}}function _s(n){let a,r,i,s,o,l,c,d,u,m,h,g,p,f,y,b,v,w,$,x,S,_,C=n[17]("Translations.cancel")+"";function k(e){return e[14]?ys:fs}let T=k(n),G=T(n);return{c(){a=he("div"),r=he("div"),i=he("div"),s=M("svg"),o=M("path"),l=M("circle"),c=pe(),d=he("div"),u=he("input"),h=pe(),g=he("span"),p=M("svg"),f=M("path"),b=pe(),v=he("small"),w=ge(C),x=pe(),G.c(),this.c=W,fe(o,"stroke","#212121"),fe(o,"stroke-width","2"),fe(o,"stroke-linecap","round"),fe(o,"stroke-linejoin","round"),fe(o,"d","m10.48 10.985 2.21 2.373"),fe(l,"cx","6.5"),fe(l,"cy","6.5"),fe(l,"r","5.75"),fe(l,"stroke","#212121"),fe(l,"stroke-width","1.5"),fe(s,"width","14"),fe(s,"height","15"),fe(s,"fill","none"),fe(s,"xmlns","http://www.w3.org/2000/svg"),fe(i,"class","PC"!==ze(n[18])?"SearchIcon":"SearchIconPc"),fe(u,"class","SearchInput"),fe(u,"type","search"),fe(u,"placeholder",m=n[17]("Translations.placeHolderSearchGames")),fe(f,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),fe(f,"stroke","#717171"),fe(f,"stroke-width","2"),fe(f,"stroke-linecap","round"),fe(f,"stroke-linejoin","round"),fe(p,"width","11"),fe(p,"height","11"),fe(p,"fill","none"),fe(p,"xmlns","http://www.w3.org/2000/svg"),fe(g,"class",y="SearchClearButton "+(0!=n[8].length?"":"NotVisible")),fe(d,"class","PC"!==ze(n[18])?"SearchContainer":"SearchContainerPc"),fe(v,"class",$="SearchCancelButton "+(n[9]?"NotVisible":"")),fe(r,"class","PC"!==ze(n[18])?"Search":"SearchPc"),fe(a,"class","PC"!==ze(n[18])?"CasinoSearch":"CasinoSearchPc")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(i,s),de(s,o),de(s,l),de(r,c),de(r,d),de(d,u),L(u,n[8]),n[29](u),de(d,h),de(d,g),de(g,p),de(p,f),de(r,b),de(r,v),de(v,w),de(a,x),G.m(a,null),n[32](a),S||(_=[z(u,"input",n[28]),z(u,"focus",n[19]),z(g,"click",n[30]),z(v,"click",n[31])],S=!0)},p(e,t){131072&t[0]&&m!==(m=e[17]("Translations.placeHolderSearchGames"))&&fe(u,"placeholder",m),256&t[0]&&L(u,e[8]),256&t[0]&&y!==(y="SearchClearButton "+(0!=e[8].length?"":"NotVisible"))&&fe(g,"class",y),131072&t[0]&&C!==(C=e[17]("Translations.cancel")+"")&&ye(w,C),512&t[0]&&$!==($="SearchCancelButton "+(e[9]?"NotVisible":""))&&fe(v,"class",$),T===(T=k(e))&&G?G.p(e,t):(G.d(1),(G=T(e))&&(G.c(),G.m(a,null)))},i:W,o:W,d(e){e&&me(a),n[29](null),G.d(),n[32](null),S=!1,V(_)}}}function Cs(a,e,i){let t;Ve(a,Ta,e=>i(17,t=e));let n,r,s,o,{endpoint:l=""}=e,{datasource:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{lang:m="en"}=e,{clientstyling:h=""}=e,{clientstylingurl:g=""}=e,{integratedgameframedesktop:p="false"}=e,{integratedgameframemobile:f="false"}=e,{gamepagemodalurl:y="true"}=e,{translationurl:b=""}=e,{showfavorites:v=""}=e,w=window.navigator.userAgent,$=[],x=[],S={},_="",C=!0,k=!1,T=!1,G=!1,M=[];Object.keys(gs).forEach(e=>{hs(e,gs[e])});const E=e=>{{var t,n;e.data&&"SearchedItemClicked"==e.data.type&&(t=e.data.gameId,-1===(x=(x=localStorage.getItem("searchedGamesWds_casino"))?x.split(","):[]).indexOf(t)&&(x.push(t),n=x.join(","),localStorage.setItem("searchedGamesWds_casino",n)))}"UserSessionID"==e.data.type&&(i(15,s=e.data.session),i(16,o=e.data.userid),i(27,G=!0))},L=()=>{if(i(9,C=!1),i(13,k=!0),l&&c&&m&&_.length<2){i(11,$=[]);let e=localStorage.getItem("searchedGamesWds_casino"),t=[],n=[],a=0,r=(t=e?e.split(","):t).length;if(0<r){for(a=0;a<r;a++){let e=new URL(l+"/casino/games/"+t[a]);e.searchParams.append("language",m),e.searchParams.append("datasource",c),e.searchParams.append("platform",ze(w)),n.push(((e,a)=>new Promise((t,n)=>{i(14,T=!0),a&&Object.keys(S).indexOf(a)>=0?(i(14,T=!1),t(S[a])):fetch(e).then(e=>e.json()).then(e=>{i(14,T=!1),S[e[0].gameId]=e[0],t(e[0])}).catch(e=>{i(14,T=!1),console.error(e),n(e)})}))(e,t[a]))}Promise.all(n).then(e=>{i(11,$=e.map(e=>(e.isFavorite=P(e.id),e)))})}}I(k),"function"==typeof gtag&&gtag("event","SearchInitialized",{context:"SearchWidget"})},P=t=>-1!==M.findIndex(e=>e==t),F=()=>{i(8,_=""),i(9,C=!0),i(14,T=!1),i(11,$=[]),i(13,k=!1),I(k)},R=()=>{i(8,_=""),n.focus()},I=e=>{window.postMessage({type:!0===e?"searchActive":"searchCancelled",searchStatus:e})};return Ze(()=>(window.addEventListener("message",E,!1),()=>{window.removeEventListener("message",E)})),a.$$set=e=>{"endpoint"in e&&i(0,l=e.endpoint),"datasource"in e&&i(23,c=e.datasource),"session"in e&&i(24,d=e.session),"userid"in e&&i(25,u=e.userid),"lang"in e&&i(1,m=e.lang),"clientstyling"in e&&i(2,h=e.clientstyling),"clientstylingurl"in e&&i(3,g=e.clientstylingurl),"integratedgameframedesktop"in e&&i(4,p=e.integratedgameframedesktop),"integratedgameframemobile"in e&&i(5,f=e.integratedgameframemobile),"gamepagemodalurl"in e&&i(6,y=e.gamepagemodalurl),"translationurl"in e&&i(26,b=e.translationurl),"showfavorites"in e&&i(7,v=e.showfavorites)},a.$$.update=()=>{if(8389379&a.$$.dirty[0])if(2<=_.length){const a=new URL(l+"/casino/games");a.searchParams.append("datasource",c),a.searchParams.append("expand","vendor"),a.searchParams.append("platform",ze(w)),a.searchParams.append("language",m),a.searchParams.append("pagination","offset=0,limit=30"),a.searchParams.append("filter","name="+_),e=a,new Promise((t,n)=>{i(14,T=!0),fetch(e.href).then(e=>e.json()).then(e=>{i(14,T=!1),t(e)}).catch(e=>{i(14,T=!1),console.error(e),n(e)})}).then(e=>{i(11,$=e.items.map(e=>(e.isFavorite=P(e.id),e)))})}else C||L();var e,t,n;if(2&a.$$.dirty[0]&&m&&(n=m,Ye.set(n)),67108864&a.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{hs(e,t[e])})}).catch(e=>{console.log(e)}),50331648&a.$$.dirty[0]&&d&&u&&(i(27,G=!0),i(15,s=d),i(16,o=u)),134217856&a.$$.dirty[0]&&v&&G&&(n=new URL(`${l}/player/${o}/favorites/`),i(14,T=!0),t={method:"GET",headers:{"X-SessionID":s}},fetch(n.href,t).then(e=>e.json()).then(e=>{i(14,T=!1),M=e.items.map(e=>e.id)})),1028&a.$$.dirty[0]&&h&&r){let e=document.createElement("style");e.innerHTML=h,r.appendChild(e)}if(1032&a.$$.dirty[0]&&g&&r){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}},[l,m,h,g,p,f,y,v,_,C,r,$,n,k,T,s,o,t,w,L,a=>{if(0===(null==a?void 0:a.length))return"";let r,i,s=99999999999;const o=new Date(Date.now());return a.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);Ra(e).diff(o)<s&&(s=Ra(e).diff(o),i=t),Ra(o).isAfter(n)&&Ra(o).isBefore(e)&&(r=a[i].name)}),r},F,R,c,d,u,b,G,function(){_=this.value,i(8,_)},function(e){Ue[e?"unshift":"push"](()=>{n=e,i(12,n)})},()=>R(),()=>F(),function(e){Ue[e?"unshift":"push"](()=>{r=e,i(10,r)})}]}function ks(e,t,n){const a=e.slice();return a[129]=t[n],a[131]=n,a}function Ts(e,t,n){const a=e.slice();return a[129]=t[n],a[131]=n,a}function Gs(e){let n,a,r,i,s,o,l="PC"!==ze(e[65])&&"false"===e[12],c=l&&Es(),d="true"==e[21]&&0==qs&&!e[62]&&Ls(e);function u(e){return e[56]?Fs:e[62]?void 0:Ps}let m=u(e),h=m&&m(e),g=e[58]&&"true"==e[17]&&Xs(e);return{c(){n=he("section"),c&&c.c(),a=pe(),r=he("casino-search"),i=pe(),d&&d.c(),s=pe(),h&&h.c(),o=pe(),g&&g.c(),x(r,"endpoint",e[1]),x(r,"datasource",e[2]),x(r,"lang",e[4]),x(r,"clientstyling",e[7]),x(r,"clientstylingurl",e[8]),x(r,"integratedgameframedesktop",e[29]),x(r,"integratedgameframemobile",e[30]),x(r,"translationurl",e[9]),x(r,"showfavorites",e[13]),fe(n,"class","CategoriesLobby"),fe(n,"part","CategoriesLobby"),S(n,"max-width",e[16]+"px")},m(e,t){ue(e,n,t),c&&c.m(n,null),de(n,a),de(n,r),de(n,i),d&&d.m(n,null),de(n,s),h&&h.m(n,null),de(n,o),g&&g.m(n,null)},p(e,t){(l=4096&t[0]?"PC"!==ze(e[65])&&"false"===e[12]:l)?c||((c=Es()).c(),c.m(n,a)):c&&(c.d(1),c=null),2&t[0]&&x(r,"endpoint",e[1]),4&t[0]&&x(r,"datasource",e[2]),16&t[0]&&x(r,"lang",e[4]),128&t[0]&&x(r,"clientstyling",e[7]),256&t[0]&&x(r,"clientstylingurl",e[8]),536870912&t[0]&&x(r,"integratedgameframedesktop",e[29]),1073741824&t[0]&&x(r,"integratedgameframemobile",e[30]),512&t[0]&&x(r,"translationurl",e[9]),8192&t[0]&&x(r,"showfavorites",e[13]),"true"!=e[21]||0!=qs||e[62]?d&&(d.d(1),d=null):d?d.p(e,t):((d=Ls(e)).c(),d.m(n,s)),m===(m=u(e))&&h?h.p(e,t):(h&&h.d(1),(h=m&&m(e))&&(h.c(),h.m(n,o))),e[58]&&"true"==e[17]?g?g.p(e,t):((g=Xs(e)).c(),g.m(n,null)):g&&(g.d(1),g=null),65536&t[0]&&S(n,"max-width",e[16]+"px")},d(e){e&&me(n),c&&c.d(),d&&d.d(),h&&h.d(),g&&g.d()}}}function Ms(e){let n,a,r=e[64]("casinoPage.500")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){4&t[2]&&r!==(r=e[64]("casinoPage.500")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Es(){let n;return{c(){fe(n=he("div"),"class","SearchBarPlaceholder"),fe(n,"part","SearchBarPlaceholder")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function Ls(e){let n;return{c(){x(n=he("casino-random-game"),"datasource",e[2]),x(n,"filteredrandomgamecategories",e[22]),x(n,"endpoint",e[1]),x(n,"lang",e[4]),x(n,"gameevent",e[55]),x(n,"randombuttonicon",e[51]),x(n,"clientstyling",e[7]),x(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&x(n,"datasource",e[2]),4194304&t[0]&&x(n,"filteredrandomgamecategories",e[22]),2&t[0]&&x(n,"endpoint",e[1]),16&t[0]&&x(n,"lang",e[4]),16777216&t[1]&&x(n,"gameevent",e[55]),1048576&t[1]&&x(n,"randombuttonicon",e[51]),128&t[0]&&x(n,"clientstyling",e[7]),256&t[0]&&x(n,"clientstylingurl",e[8])},d(e){e&&me(n)}}}function Ps(e){let n;function a(e){return e[61]?Ns:e[60]?Os:e[61]?As:e[60]?Is:Rs}let r=a(e),i=r(e);return{c(){i.c(),n=l()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){r===(r=a(e))&&i?i.p(e,t):(i.d(1),(i=r(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&me(n)}}}function Fs(e){let n,a,r=e[64]("casinoPage.loading")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){4&t[2]&&r!==(r=e[64]("casinoPage.loading")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Rs(e){let n;return{c(){x(n=he("casino-games-category-section"),"userid",e[6]),x(n,"endpoint",e[1]),x(n,"datasource",e[2]),x(n,"favorites",e[13]),x(n,"lang",e[4]),x(n,"currency",e[3]),x(n,"session",e[5]),x(n,"categoryid",e[53]),x(n,"categorygames","9"),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[7]),x(n,"clientstylingurl",e[8]),x(n,"livecasino",e[20]),x(n,"visiblegames",e[11]),x(n,"gamepagemodalurl",e[23]),x(n,"integratedgameframedesktop",e[29]),x(n,"integratedgameframemobile",e[30]),x(n,"casinomygames",e[0])},m(e,t){ue(e,n,t)},p(e,t){64&t[0]&&x(n,"userid",e[6]),2&t[0]&&x(n,"endpoint",e[1]),4&t[0]&&x(n,"datasource",e[2]),8192&t[0]&&x(n,"favorites",e[13]),16&t[0]&&x(n,"lang",e[4]),8&t[0]&&x(n,"currency",e[3]),32&t[0]&&x(n,"session",e[5]),4194304&t[1]&&x(n,"categoryid",e[53]),128&t[0]&&x(n,"clientstyling",e[7]),256&t[0]&&x(n,"clientstylingurl",e[8]),1048576&t[0]&&x(n,"livecasino",e[20]),2048&t[0]&&x(n,"visiblegames",e[11]),8388608&t[0]&&x(n,"gamepagemodalurl",e[23]),536870912&t[0]&&x(n,"integratedgameframedesktop",e[29]),1073741824&t[0]&&x(n,"integratedgameframemobile",e[30]),1&t[0]&&x(n,"casinomygames",e[0])},d(e){e&&me(n)}}}function Is(e){let n;return{c(){x(n=he("casino-my-games"),"userid",e[6]),x(n,"session",e[5]),x(n,"endpoint",e[1]),x(n,"datasource",e[2]),x(n,"lang",e[4]),x(n,"currency",e[3]),x(n,"favorites",e[13]),x(n,"clientstyling",e[7]),x(n,"clientstylingurl",e[8]),x(n,"livecasino",e[20]),x(n,"visiblegames",e[11]),x(n,"gamepagemodalurl",e[23]),x(n,"integratedgameframedesktop",e[29]),x(n,"integratedgameframemobile",e[30]),x(n,"translationurl",e[9]),x(n,"mostplayed",e[14]),x(n,"lastplayed",e[15]),x(n,"filteredcategories",e[18]),x(n,"activecategory",e[19]),x(n,"categoryindex","0"),x(n,"categoryid","MYGAMES")},m(e,t){ue(e,n,t)},p(e,t){64&t[0]&&x(n,"userid",e[6]),32&t[0]&&x(n,"session",e[5]),2&t[0]&&x(n,"endpoint",e[1]),4&t[0]&&x(n,"datasource",e[2]),16&t[0]&&x(n,"lang",e[4]),8&t[0]&&x(n,"currency",e[3]),8192&t[0]&&x(n,"favorites",e[13]),128&t[0]&&x(n,"clientstyling",e[7]),256&t[0]&&x(n,"clientstylingurl",e[8]),1048576&t[0]&&x(n,"livecasino",e[20]),2048&t[0]&&x(n,"visiblegames",e[11]),8388608&t[0]&&x(n,"gamepagemodalurl",e[23]),536870912&t[0]&&x(n,"integratedgameframedesktop",e[29]),1073741824&t[0]&&x(n,"integratedgameframemobile",e[30]),512&t[0]&&x(n,"translationurl",e[9]),16384&t[0]&&x(n,"mostplayed",e[14]),32768&t[0]&&x(n,"lastplayed",e[15]),262144&t[0]&&x(n,"filteredcategories",e[18]),524288&t[0]&&x(n,"activecategory",e[19])},d(e){e&&me(n)}}}function As(t){let r,i=t[63],s=[];for(let e=0;e<i.length;e+=1)s[e]=Us(ks(t,i,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();r=l()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);ue(t,r,n)},p(t,n){if(2123378175&n[0]|458687&n[1]|2&n[2]){let e;for(i=t[63],e=0;e<i.length;e+=1){var a=ks(t,i,e);s[e]?s[e].p(a,n):(s[e]=Us(a),s[e].c(),s[e].m(r.parentNode,r))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}},d(e){k(s,e),e&&me(r)}}}function Os(e){let n;return{c(){x(n=he("casino-my-games"),"userid",e[6]),x(n,"session",e[5]),x(n,"endpoint",e[1]),x(n,"datasource",e[2]),x(n,"lang",e[4]),x(n,"currency",e[3]),x(n,"favorites",e[13]),x(n,"clientstyling",e[7]),x(n,"clientstylingurl",e[8]),x(n,"livecasino",e[20]),x(n,"visiblegames",e[11]),x(n,"gamepagemodalurl",e[23]),x(n,"integratedgameframedesktop",e[29]),x(n,"integratedgameframemobile",e[30]),x(n,"translationurl",""),x(n,"mostplayed",e[14]),x(n,"lastplayed",e[15]),x(n,"filteredcategories",e[18]),x(n,"activecategory",e[19]),x(n,"categoryindex","0"),x(n,"categoryid","MYGAMES"),x(n,"casinomygames",e[0])},m(e,t){ue(e,n,t)},p(e,t){64&t[0]&&x(n,"userid",e[6]),32&t[0]&&x(n,"session",e[5]),2&t[0]&&x(n,"endpoint",e[1]),4&t[0]&&x(n,"datasource",e[2]),16&t[0]&&x(n,"lang",e[4]),8&t[0]&&x(n,"currency",e[3]),8192&t[0]&&x(n,"favorites",e[13]),128&t[0]&&x(n,"clientstyling",e[7]),256&t[0]&&x(n,"clientstylingurl",e[8]),1048576&t[0]&&x(n,"livecasino",e[20]),2048&t[0]&&x(n,"visiblegames",e[11]),8388608&t[0]&&x(n,"gamepagemodalurl",e[23]),536870912&t[0]&&x(n,"integratedgameframedesktop",e[29]),1073741824&t[0]&&x(n,"integratedgameframemobile",e[30]),16384&t[0]&&x(n,"mostplayed",e[14]),32768&t[0]&&x(n,"lastplayed",e[15]),262144&t[0]&&x(n,"filteredcategories",e[18]),524288&t[0]&&x(n,"activecategory",e[19]),1&t[0]&&x(n,"casinomygames",e[0])},d(e){e&&me(n)}}}function Ns(t){let r,i=t[63],s=[];for(let e=0;e<i.length;e+=1)s[e]=Ks(Ts(t,i,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();r=l()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);ue(t,r,n)},p(t,n){if(2140155391&n[0]|1048575&n[1]|2&n[2]){let e;for(i=t[63],e=0;e<i.length;e+=1){var a=Ts(t,i,e);s[e]?s[e].p(a,n):(s[e]=Ks(a),s[e].c(),s[e].m(r.parentNode,r))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}},d(e){k(s,e),e&&me(r)}}}function Ds(e){let n,a,r,i;return{c(){n=he("br"),a=pe(),x(r=he("jackpot-banner"),"title","Jackpot Cards"),x(r,"currency",i=e[3]||"RON"),x(r,"gameid","998"),x(r,"endpoint",e[1]),x(r,"lang",e[4]),x(r,"backgroundsrc","/assets/background0.jpg"),x(r,"backgroundsrcmobile","/assets/background0.jpg"),x(r,"titlelogopath","/assets/jackpots_logo.svg"),x(r,"caticon0","/assets/icon0.svg"),x(r,"caticon1","/assets/icon1.svg"),x(r,"caticon2","/assets/icon2.svg"),x(r,"caticon3","/assets/icon3.svg"),x(r,"iconlabels",e[45]),x(r,"visualstructure","typeSpread"),x(r,"clientstyling",e[7]),x(r,"clientstylingurl",e[8])},m(e,t){ue(e,n,t),ue(e,a,t),ue(e,r,t)},p(e,t){8&t[0]&&i!==(i=e[3]||"RON")&&x(r,"currency",i),2&t[0]&&x(r,"endpoint",e[1]),16&t[0]&&x(r,"lang",e[4]),16384&t[1]&&x(r,"iconlabels",e[45]),128&t[0]&&x(r,"clientstyling",e[7]),256&t[0]&&x(r,"clientstylingurl",e[8])},d(e){e&&me(n),e&&me(a),e&&me(r)}}}function Bs(e){let n,a,r,i;return{c(){n=he("br"),a=pe(),x(r=he("jackpot-banner"),"title","Egypt Quest"),x(r,"currency",i=e[3]||"RON"),x(r,"gameid","999"),x(r,"endpoint",e[1]),x(r,"lang",e[4]),x(r,"backgroundsrc",e[42]),x(r,"backgroundsrcmobile",e[43]),x(r,"titlelogopath",e[44]),x(r,"caticon0",e[38]),x(r,"caticon1",e[39]),x(r,"caticon2",e[40]),x(r,"caticon3",e[41]),x(r,"iconlabels",e[45]),x(r,"visualstructure",e[46]),x(r,"clientstyling",e[7]),x(r,"clientstylingurl",e[8])},m(e,t){ue(e,n,t),ue(e,a,t),ue(e,r,t)},p(e,t){8&t[0]&&i!==(i=e[3]||"RON")&&x(r,"currency",i),2&t[0]&&x(r,"endpoint",e[1]),16&t[0]&&x(r,"lang",e[4]),2048&t[1]&&x(r,"backgroundsrc",e[42]),4096&t[1]&&x(r,"backgroundsrcmobile",e[43]),8192&t[1]&&x(r,"titlelogopath",e[44]),128&t[1]&&x(r,"caticon0",e[38]),256&t[1]&&x(r,"caticon1",e[39]),512&t[1]&&x(r,"caticon2",e[40]),1024&t[1]&&x(r,"caticon3",e[41]),16384&t[1]&&x(r,"iconlabels",e[45]),32768&t[1]&&x(r,"visualstructure",e[46]),128&t[0]&&x(r,"clientstyling",e[7]),256&t[0]&&x(r,"clientstylingurl",e[8])},d(e){e&&me(n),e&&me(a),e&&me(r)}}}function Hs(e){let n,a;return{c(){x(n=he("casino-collections-providers"),"endpoint",a=e[1].slice(0,-2)),x(n,"datasource",e[2]),x(n,"lang",e[4]),x(n,"type","vendor"),x(n,"titletype","logo"),x(n,"clientstyling",e[7]),x(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&a!==(a=e[1].slice(0,-2))&&x(n,"endpoint",a),4&t[0]&&x(n,"datasource",e[2]),16&t[0]&&x(n,"lang",e[4]),128&t[0]&&x(n,"clientstyling",e[7]),256&t[0]&&x(n,"clientstylingurl",e[8])},d(e){e&&me(n)}}}function js(e){let n,a;return{c(){x(n=he("casino-collections-providers"),"endpoint",a=e[1].slice(0,-2)),x(n,"datasource",e[2]),x(n,"lang",e[4]),x(n,"type",e[48]),x(n,"titletype",e[49]),x(n,"clientstyling",e[7]),x(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&a!==(a=e[1].slice(0,-2))&&x(n,"endpoint",a),4&t[0]&&x(n,"datasource",e[2]),16&t[0]&&x(n,"lang",e[4]),131072&t[1]&&x(n,"type",e[48]),262144&t[1]&&x(n,"titletype",e[49]),128&t[0]&&x(n,"clientstyling",e[7]),256&t[0]&&x(n,"clientstylingurl",e[8])},d(e){e&&me(n)}}}function Us(n){let a,r,i,s,o,e,l,c,d,u="true"===enablecasinowinners&&1===n[131]&&function(e){let n,a;return{c(){n=he("div"),x(a=he("casino-winners"),"session",e[5]),x(a,"periodrecent",e[31]),x(a,"periodtop",e[32]),x(a,"numberusersrecent",e[33]),x(a,"numberuserstop",e[34]),x(a,"amountlimit",e[35]),x(a,"isrecentavailable",e[28]),x(a,"istopavailable",e[27]),x(a,"defaultcurrency",e[36]),x(a,"enableautoscroll",e[26]),x(a,"tabsorder",e[25]),x(a,"lang",e[4]),x(a,"clientstyling",e[7]),x(a,"clientstylingurl",e[8]),x(a,"endpoint",e[1]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){32&t[0]&&x(a,"session",e[5]),1&t[1]&&x(a,"periodrecent",e[31]),2&t[1]&&x(a,"periodtop",e[32]),4&t[1]&&x(a,"numberusersrecent",e[33]),8&t[1]&&x(a,"numberuserstop",e[34]),16&t[1]&&x(a,"amountlimit",e[35]),268435456&t[0]&&x(a,"isrecentavailable",e[28]),134217728&t[0]&&x(a,"istopavailable",e[27]),32&t[1]&&x(a,"defaultcurrency",e[36]),67108864&t[0]&&x(a,"enableautoscroll",e[26]),33554432&t[0]&&x(a,"tabsorder",e[25]),16&t[0]&&x(a,"lang",e[4]),128&t[0]&&x(a,"clientstyling",e[7]),256&t[0]&&x(a,"clientstylingurl",e[8]),2&t[0]&&x(a,"endpoint",e[1])},d(e){e&&me(n)}}}(n),t=4===(h=n)[131]&&"true"==enablejackpotbanner?Bs:6===h[131]&&"true"==enablejackpotbanner?Ds:void 0,m=t&&t(n);var h;function g(e){return 7==e[131]&&"true"==enablecollections?js:e[131]==e[63].length-1&&"true"==enablecollections?Hs:void 0}let p=g(n),f=p&&p(n);return{c(){u&&u.c(),a=pe(),m&&m.c(),r=pe(),f&&f.c(),i=pe(),x(s=he("casino-games-category-section"),"session",n[5]),x(s,"userid",n[6]),x(s,"endpoint",n[1]),x(s,"datasource",n[2]),x(s,"lang",n[4]),x(s,"currency",n[3]),x(s,"categoryid",o=n[129]),x(s,"categoryindex",e=n[131]),x(s,"categorygames","9"),x(s,"favorites",n[13]),x(s,"class","CategoryContainer"),S(s,"background-color",n[131]%2!=0?n[10]:"transparent"),x(s,"clientstyling",n[7]),x(s,"clientstylingurl",n[8]),x(s,"livecasino",n[20]),x(s,"visiblegames",n[11]),x(s,"gamepagemodalurl",n[23]),x(s,"integratedgameframedesktop",n[29]),x(s,"integratedgameframemobile",n[30]),x(s,"casinomygames",n[0])},m(e,t){u&&u.m(e,t),ue(e,a,t),m&&m.m(e,t),ue(e,r,t),f&&f.m(e,t),ue(e,i,t),ue(e,s,t),c||(d=E(l=n[66].call(null,s,n[129])),c=!0)},p(e,t){n=e,"true"===enablecasinowinners&&1===n[131]&&u.p(n,t),m&&m.p(n,t),p===(p=g(n))&&f?f.p(n,t):(f&&f.d(1),(f=p&&p(n))&&(f.c(),f.m(i.parentNode,i))),32&t[0]&&x(s,"session",n[5]),64&t[0]&&x(s,"userid",n[6]),2&t[0]&&x(s,"endpoint",n[1]),4&t[0]&&x(s,"datasource",n[2]),16&t[0]&&x(s,"lang",n[4]),8&t[0]&&x(s,"currency",n[3]),2&t[2]&&o!==(o=n[129])&&x(s,"categoryid",o),8192&t[0]&&x(s,"favorites",n[13]),1024&t[0]&&S(s,"background-color",n[131]%2!=0?n[10]:"transparent"),128&t[0]&&x(s,"clientstyling",n[7]),256&t[0]&&x(s,"clientstylingurl",n[8]),1048576&t[0]&&x(s,"livecasino",n[20]),2048&t[0]&&x(s,"visiblegames",n[11]),8388608&t[0]&&x(s,"gamepagemodalurl",n[23]),536870912&t[0]&&x(s,"integratedgameframedesktop",n[29]),1073741824&t[0]&&x(s,"integratedgameframemobile",n[30]),1&t[0]&&x(s,"casinomygames",n[0]),l&&T(l.update)&&2&t[2]&&l.update.call(null,n[129])},d(e){u&&u.d(e),e&&me(a),m&&m.d(e),e&&me(r),f&&f.d(e),e&&me(i),e&&me(s),c=!1,d()}}}function Ys(e){let n,a;return{c(){n=he("div"),x(a=he("casino-winners"),"session",e[5]),x(a,"userid",e[6]),x(a,"periodrecent",e[31]),x(a,"periodtop",e[32]),x(a,"numberusersrecent",e[33]),x(a,"numberuserstop",e[34]),x(a,"amountlimit",e[35]),x(a,"isrecentavailable",e[28]),x(a,"istopavailable",e[27]),x(a,"defaultcurrency",e[36]),x(a,"usercurrency",e[3]),x(a,"enableautoscroll",e[26]),x(a,"tabsorder",e[25]),x(a,"lang",e[4]),x(a,"clientstyling",e[7]),x(a,"clientstylingurl",e[8]),x(a,"endpoint",e[1]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){32&t[0]&&x(a,"session",e[5]),64&t[0]&&x(a,"userid",e[6]),1&t[1]&&x(a,"periodrecent",e[31]),2&t[1]&&x(a,"periodtop",e[32]),4&t[1]&&x(a,"numberusersrecent",e[33]),8&t[1]&&x(a,"numberuserstop",e[34]),16&t[1]&&x(a,"amountlimit",e[35]),268435456&t[0]&&x(a,"isrecentavailable",e[28]),134217728&t[0]&&x(a,"istopavailable",e[27]),32&t[1]&&x(a,"defaultcurrency",e[36]),8&t[0]&&x(a,"usercurrency",e[3]),67108864&t[0]&&x(a,"enableautoscroll",e[26]),33554432&t[0]&&x(a,"tabsorder",e[25]),16&t[0]&&x(a,"lang",e[4]),128&t[0]&&x(a,"clientstyling",e[7]),256&t[0]&&x(a,"clientstylingurl",e[8]),2&t[0]&&x(a,"endpoint",e[1])},d(e){e&&me(n)}}}function Ws(e){let n,a,r,i;return{c(){n=he("br"),a=pe(),x(r=he("jackpot-banner"),"title","Jackpot Cards"),x(r,"currency",i=e[3]||"RON"),x(r,"gameid","999"),x(r,"endpoint",e[1]),x(r,"lang",e[4]),x(r,"backgroundsrc","/assets/background0.jpg"),x(r,"backgroundsrcmobile","/assets/background0.jpg"),x(r,"titlelogopath","/assets/jackpots_logo.svg"),x(r,"caticon0","/assets/icon0.svg"),x(r,"caticon1","/assets/icon1.svg"),x(r,"caticon2","/assets/icon2.svg"),x(r,"caticon3","/assets/icon3.svg"),x(r,"iconlabels",e[45]),x(r,"visualstructure","typeSpread"),x(r,"clientstyling",e[7]),x(r,"clientstylingurl",e[8])},m(e,t){ue(e,n,t),ue(e,a,t),ue(e,r,t)},p(e,t){8&t[0]&&i!==(i=e[3]||"RON")&&x(r,"currency",i),2&t[0]&&x(r,"endpoint",e[1]),16&t[0]&&x(r,"lang",e[4]),16384&t[1]&&x(r,"iconlabels",e[45]),128&t[0]&&x(r,"clientstyling",e[7]),256&t[0]&&x(r,"clientstylingurl",e[8])},d(e){e&&me(n),e&&me(a),e&&me(r)}}}function zs(e){let n,a,r,i;return{c(){n=he("br"),a=pe(),x(r=he("jackpot-banner"),"title","Egypt Quest"),x(r,"currency",i=e[3]||"RON"),x(r,"gameid","998"),x(r,"endpoint",e[1]),x(r,"lang",e[4]),x(r,"backgroundsrc",e[42]),x(r,"backgroundsrcmobile",e[43]),x(r,"titlelogopath",e[44]),x(r,"caticon0",e[38]),x(r,"caticon1",e[39]),x(r,"caticon2",e[40]),x(r,"caticon3",e[41]),x(r,"iconlabels",e[45]),x(r,"visualstructure",e[46]),x(r,"clientstyling",e[7]),x(r,"clientstylingurl",e[8])},m(e,t){ue(e,n,t),ue(e,a,t),ue(e,r,t)},p(e,t){8&t[0]&&i!==(i=e[3]||"RON")&&x(r,"currency",i),2&t[0]&&x(r,"endpoint",e[1]),16&t[0]&&x(r,"lang",e[4]),2048&t[1]&&x(r,"backgroundsrc",e[42]),4096&t[1]&&x(r,"backgroundsrcmobile",e[43]),8192&t[1]&&x(r,"titlelogopath",e[44]),128&t[1]&&x(r,"caticon0",e[38]),256&t[1]&&x(r,"caticon1",e[39]),512&t[1]&&x(r,"caticon2",e[40]),1024&t[1]&&x(r,"caticon3",e[41]),16384&t[1]&&x(r,"iconlabels",e[45]),32768&t[1]&&x(r,"visualstructure",e[46]),128&t[0]&&x(r,"clientstyling",e[7]),256&t[0]&&x(r,"clientstylingurl",e[8])},d(e){e&&me(n),e&&me(a),e&&me(r)}}}function Vs(e){let n,a;return{c(){x(n=he("casino-collections-providers"),"endpoint",a=e[1].slice(0,-2)),x(n,"datasource",e[2]),x(n,"lang",e[4]),x(n,"type","vendor"),x(n,"titletype","logo"),x(n,"collectionprovidersgamenames",e[50]),x(n,"clientstyling",e[7]),x(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&a!==(a=e[1].slice(0,-2))&&x(n,"endpoint",a),4&t[0]&&x(n,"datasource",e[2]),16&t[0]&&x(n,"lang",e[4]),524288&t[1]&&x(n,"collectionprovidersgamenames",e[50]),128&t[0]&&x(n,"clientstyling",e[7]),256&t[0]&&x(n,"clientstylingurl",e[8])},d(e){e&&me(n)}}}function Zs(e){let n,a;return{c(){x(n=he("casino-collections-providers"),"endpoint",a=e[1].slice(0,-2)),x(n,"datasource",e[2]),x(n,"lang",e[4]),x(n,"type",e[48]),x(n,"collectionprovidersgamenames",e[50]),x(n,"titletype",e[49]),x(n,"clientstyling",e[7]),x(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&a!==(a=e[1].slice(0,-2))&&x(n,"endpoint",a),4&t[0]&&x(n,"datasource",e[2]),16&t[0]&&x(n,"lang",e[4]),131072&t[1]&&x(n,"type",e[48]),524288&t[1]&&x(n,"collectionprovidersgamenames",e[50]),262144&t[1]&&x(n,"titletype",e[49]),128&t[0]&&x(n,"clientstyling",e[7]),256&t[0]&&x(n,"clientstylingurl",e[8])},d(e){e&&me(n)}}}function Ks(n){let a,r,i,s,o,l,c,d,u,e,m,h,g,p=n[24]&&n[131]==+n[24]&&Ys(n);function f(e,t){return 64&t[1]|2&t[2]&&(r=null),64&t[1]|2&t[2]&&(i=null),(r=null==r?!(!e[37]||e[131]!=(""==e[37].split(",")[0]?e[63].length:+e[37].split(",")[0])):r)?zs:(i=null==i?!(!e[37]||e[131]!=(""==e[37].split(",")[1]?e[63].length:+e[37].split(",")[1])):i)?Ws:void 0}let y=f(n,[-1,-1,-1,-1,-1]),b=y&&y(n);function v(e,t){return 65536&t[1]|2&t[2]&&(o=null),65536&t[1]|2&t[2]&&(l=null),(o=null==o?!(!e[47]||e[131]!=(""==e[47].split(",")[0]?e[63].length:+e[47].split(",")[0])):o)?Zs:(l=null==l?!(!e[47]||e[131]!=(""==e[47].split(",")[1]?e[63].length:+e[47].split(",")[1])):l)?Vs:void 0}let w=v(n,[-1,-1,-1,-1,-1]),$=w&&w(n);return{c(){p&&p.c(),a=pe(),b&&b.c(),s=pe(),$&&$.c(),c=pe(),x(d=he("casino-games-category-section"),"session",n[5]),x(d,"userid",n[6]),x(d,"endpoint",n[1]),x(d,"datasource",n[2]),x(d,"lang",n[4]),x(d,"currency",n[3]),x(d,"categoryid",u=n[129]),x(d,"categoryindex",e=n[131]),x(d,"categorygames","9"),x(d,"favorites",n[13]),x(d,"class","CategoryContainer"),S(d,"background-color",n[131]%2!=0?n[10]:"transparent"),x(d,"clientstyling",n[7]),x(d,"clientstylingurl",n[8]),x(d,"livecasino",n[20]),x(d,"visiblegames",n[11]),x(d,"gamepagemodalurl",n[23]),x(d,"integratedgameframedesktop",n[29]),x(d,"integratedgameframemobile",n[30]),x(d,"casinomygames",n[0])},m(e,t){p&&p.m(e,t),ue(e,a,t),b&&b.m(e,t),ue(e,s,t),$&&$.m(e,t),ue(e,c,t),ue(e,d,t),h||(g=E(m=n[66].call(null,d,n[129])),h=!0)},p(e,t){(n=e)[24]&&n[131]==+n[24]?p?p.p(n,t):((p=Ys(n)).c(),p.m(a.parentNode,a)):p&&(p.d(1),p=null),y===(y=f(n,t))&&b?b.p(n,t):(b&&b.d(1),(b=y&&y(n))&&(b.c(),b.m(s.parentNode,s))),w===(w=v(n,t))&&$?$.p(n,t):($&&$.d(1),($=w&&w(n))&&($.c(),$.m(c.parentNode,c))),32&t[0]&&x(d,"session",n[5]),64&t[0]&&x(d,"userid",n[6]),2&t[0]&&x(d,"endpoint",n[1]),4&t[0]&&x(d,"datasource",n[2]),16&t[0]&&x(d,"lang",n[4]),8&t[0]&&x(d,"currency",n[3]),2&t[2]&&u!==(u=n[129])&&x(d,"categoryid",u),8192&t[0]&&x(d,"favorites",n[13]),1024&t[0]&&S(d,"background-color",n[131]%2!=0?n[10]:"transparent"),128&t[0]&&x(d,"clientstyling",n[7]),256&t[0]&&x(d,"clientstylingurl",n[8]),1048576&t[0]&&x(d,"livecasino",n[20]),2048&t[0]&&x(d,"visiblegames",n[11]),8388608&t[0]&&x(d,"gamepagemodalurl",n[23]),536870912&t[0]&&x(d,"integratedgameframedesktop",n[29]),1073741824&t[0]&&x(d,"integratedgameframemobile",n[30]),1&t[0]&&x(d,"casinomygames",n[0]),m&&T(m.update)&&2&t[2]&&m.update.call(null,n[129])},d(e){p&&p.d(e),e&&me(a),b&&b.d(e),e&&me(s),$&&$.d(e),e&&me(c),e&&me(d),h=!1,g()}}}function Xs(n){let a,r,i,e,t,s,o,l=n[64]("casinoPage.breakButton")+"";return{c(){a=he("div"),r=he("button"),i=ge(l),fe(r,"class",e="PanicButton "+("PC"!==ze(n[65])?"PanicButtonMobile ":"")),fe(r,"part",t="PanicButton "+("PC"!==ze(n[65])?"PanicButtonMobile":"")),m(r,"PanicButtonAnimation",n[59]),fe(a,"class",s="PanicSection "+("PC"!==ze(n[65])?"PanicSectionMobile":"")),fe(a,"part",o="PanicSection "+("PC"!==ze(n[65])?"PanicSectionMobile":""))},m(e,t){ue(e,a,t),de(a,r),de(r,i),n[71](r)},p(e,t){4&t[2]&&l!==(l=e[64]("casinoPage.breakButton")+"")&&ye(i,l),268435456&t[1]&&m(r,"PanicButtonAnimation",e[59])},d(e){e&&me(a),n[71](null)}}}function Js(n){let a;function r(e){return e[57]?Ms:Gs}let i=r(n),s=i(n);return{c(){a=he("div"),s.c(),this.c=W},m(e,t){ue(e,a,t),s.m(a,null),n[72](a)},p(e,t){i===(i=r(e))&&s?s.p(e,t):(s.d(1),(s=i(e))&&(s.c(),s.m(a,null)))},i:W,o:W,d(e){e&&me(a),s.d(),n[72](null)}}}customElements.get("casino-search")||customElements.define("casino-search",class extends e{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}.CasinoSearchPc{margin:30px 16px}.CasinoSearch{margin:30px 16px}.SearchPc{display:flex;align-items:center;position:relative;margin-bottom:20px;left:19%}.Search{display:flex;align-items:center;position:relative;justify-content:space-between;margin-bottom:20px}.SearchIconPc{position:absolute;left:20px;z-index:1}.SearchIconPc svg{height:14px;width:13px}.SearchIcon{position:absolute;left:5%;z-index:1}.SearchIcon svg{height:14px;width:13px}.SearchContainerPc{width:60%;position:relative}.SearchContainer{width:100%;position:relative}.SearchInput{border-radius:4px;border:1px solid #cacaca;color:#717171;display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%}.SearchInput::placeholder{color:#717171;font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid #d9d7d7}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:15px;cursor:pointer}.SearchCancelButton{color:#717171;font-weight:300;margin-left:8px;cursor:pointer}.SearchMessagePc{font-size:18px;font-weight:600;margin:24px 0;color:#FFFFFF;margin-top:90px}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:#212121}.SearchResultsContainer{display:grid;gap:8px;grid-template-columns:repeat(auto-fill, minmax(Min(167px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 167px);grid-auto-rows:167px;grid-auto-columns:167px;grid-auto-flow:row dense}.ResultsContainerError{text-align:center;width:300px;color:#717171;font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.NotVisible{display:none}</style>",j(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Cs,_s,t,{endpoint:0,datasource:23,session:24,userid:25,lang:1,clientstyling:2,clientstylingurl:3,integratedgameframedesktop:4,integratedgameframemobile:5,gamepagemodalurl:6,translationurl:26,showfavorites:7},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","session","userid","lang","clientstyling","clientstylingurl","integratedgameframedesktop","integratedgameframemobile","gamepagemodalurl","translationurl","showfavorites"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[23]}set datasource(e){this.$$set({datasource:e}),f()}get session(){return this.$$.ctx[24]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[25]}set userid(e){this.$$set({userid:e}),f()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[4]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[5]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gamepagemodalurl(){return this.$$.ctx[6]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get translationurl(){return this.$$.ctx[26]}set translationurl(e){this.$$set({translationurl:e}),f()}get showfavorites(){return this.$$.ctx[7]}set showfavorites(e){this.$$set({showfavorites:e}),f()}});let qs=!1;function Qs(e,t,l){let A;Ve(e,Ta,e=>l(64,A=e));let O,{endpoint:c=""}=t,{datasource:n=""}=t,{currency:N=""}=t,{lang:r=""}=t,{session:i=""}=t,{userid:s=""}=t,{clientstyling:o=""}=t,{clientstylingurl:d=""}=t,{translationurl:u=""}=t,{categorybackground:D=""}=t,B=t["visiblegames"],{alternativesearch:H="false"}=t,{favorites:m=""}=t,{mostplayed:j=""}=t,{lastplayed:U=""}=t,{containermaxwidth:Y="1300"}=t,{lobbyid:W="casinodefault"}=t,{haspanicbutton:z="false"}=t,{mostplayedrounds:V=""}=t,{lastplayedperiod:Z=""}=t,{filteredcategories:h=""}=t,{activecategory:g=""}=t,{livecasino:K="false"}=t,{playrandomgame:X="false"}=t,{filteredrandomgamecategories:J=""}=t,{gamepagemodalurl:q="false"}=t,{positionwinnerswidget:Q=""}=t,{tabsorder:ee=""}=t,{enableautoscroll:te=""}=t,{istopavailable:ne=""}=t,{isrecentavailable:ae=""}=t,{integratedgameframedesktop:re="false"}=t,{integratedgameframemobile:ie="false"}=t,{periodrecent:se=""}=t,{periodtop:oe=""}=t,{numberusersrecent:le=""}=t,{numberuserstop:ce=""}=t,{amountlimit:de=""}=t,{defaultcurrency:ue=""}=t,{positionjackpotbanners:me=""}=t,{caticon0:he=""}=t,{caticon1:ge=""}=t,{caticon2:pe=""}=t,{caticon3:fe=""}=t,{backgroundsrc:ye=""}=t,{backgroundsrcmobile:be=""}=t,{titlelogopath:ve=""}=t,{iconlabels:we=""}=t,{visualstructure:$e=""}=t,{positioncollections:xe=""}=t,{type:Se=""}=t,{titletype:_e=""}=t,{casinomygames:p="false"}=t,{collectionprovidersgamenames:Ce=""}=t,{randombuttonicon:ke=""}=t,Te=window.navigator.userAgent;O=We(Te)?"OpenGameFrame":"ShowGameModal";let f,y,b,Ge,v,w,Me,Ee,a,$,x=!1,S=!1,Le=!1,_="",C=!1,k=0,T=!1,G=!0,Pe=!1,Fe=[],M=[],Re=!1,E=[],L="",Ie=!1;var Ae,Oe;({withLocale:Ae,translations:Oe}={withLocale:"en",translations:{}}),Ye.subscribe(e=>{null==e&&(ia.set(Oe),Ye.set(Ae))}),Object.keys(Ma).forEach(e=>{Ga(e,Ma[e])});const Ne=e=>{switch(Re=!0,l(0,p="false"),setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:Re},window.location.href)}),e.data.itemId){case"LOBBY":l(61,G=!0),l(60,T=!1),l(53,v="");break;case"MYGAMES":l(0,p="true"),l(61,G=!1),l(60,T=!0),l(53,v="");break;case"FAVORITES":l(61,G=!1),l(60,T=!0),l(53,v="");break;case"MOSTPLAYED":"true"==j&&(l(53,v=""),l(61,G=!1),l(60,T=!0));break;case"LASTPLAYED":"true"==U&&(l(53,v=""),l(61,G=!1),l(60,T=!0));break;default:l(61,G=!1),l(60,T=!1),l(53,v=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href)},500)}},De=n=>{if(n.data)switch(n.data.type){case"CategoryChange":Ne(n);break;case"UserSessionID":y=n.data.session,(f=n.data.userID)&&f.length&&y&&0<y.length&&P(c,y,f);break;case"SetUnfavoredGame":t=`${c}/player/${f}/favorites`,s=y,f,o=n.data.id,n.data.triggerFactor,E.includes(o)&&(E=E.filter(e=>e!=o)),fetch(t+"/"+o,{method:"DELETE",headers:{"X-SessionID":s}}).then(e=>e.json()).then(e=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+o},window.location.href),Be(t,s)});break;case"SetFavoredGame":{var a=`${c}/player/${f}/favorites`;var r=y;f;var i=n.data.id;n.data.triggerFactor;E.includes(i)||E.push(i);let e={items:E},t={method:"POST",headers:{"X-SessionID":r,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(a,t).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${i}`},window.location.href),Be(a,r)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":f&&f.length&&y&&0<y.length&&P(c,y,f);break;case"UpdateFilters":e=n.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:e},window.location.href),F();break;case"ClearFilters":e=n.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:e},window.location.href),F();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:L},window.location.href),F();break;case"CategoryVendors":L=n.data.categoryid,F();break;case"searchCancelled":l(62,Pe=!1);break;case"searchActive":l(62,Pe=!0);break;case"ModalClosed":break;case"SubgroupsIds":M.some(e=>n.data.subGroupsIds.includes(e))||M.push(...n.data.subGroupsIds)}var e,t,s,o};let P=(e,t,n)=>{"true"==m&&i&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((a=e)&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:a},window.location.href),He(a.items)),a)).then(e=>e).catch(e=>{console.error(e)})},Be=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((a=e)&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:a},window.location.href),a)).catch(e=>{console.error(e)})};const He=(e=[])=>(E=[],0<e.length&&e.forEach(e=>{E.push(e.id)}),E);const F=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&L&&e[L]&&e[L].length},je=()=>{w&&(Me=w.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop},R=e=>{k=0,Ge=setInterval(()=>{k+=1,l(59,C=!0),3<=k&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(Ge))},1e3)},I=e=>{k<3&&l(59,C=!1),clearInterval(Ge)};return Ze(()=>(window.addEventListener("scroll",je,!1),window.addEventListener("message",De,!1),()=>{window.removeEventListener("scroll",je),window.removeEventListener("message",De),l(59,C=!1),null!=b&&b.removeEventListener("mousedown",R),null!=b&&b.removeEventListener("touchstart",R),null!=b&&b.removeEventListener("mouseup",I),null!=b&&b.removeEventListener("touchend",I)})),e.$$set=e=>{"endpoint"in e&&l(1,c=e.endpoint),"datasource"in e&&l(2,n=e.datasource),"currency"in e&&l(3,N=e.currency),"lang"in e&&l(4,r=e.lang),"session"in e&&l(5,i=e.session),"userid"in e&&l(6,s=e.userid),"clientstyling"in e&&l(7,o=e.clientstyling),"clientstylingurl"in e&&l(8,d=e.clientstylingurl),"translationurl"in e&&l(9,u=e.translationurl),"categorybackground"in e&&l(10,D=e.categorybackground),"visiblegames"in e&&l(11,B=e.visiblegames),"alternativesearch"in e&&l(12,H=e.alternativesearch),"favorites"in e&&l(13,m=e.favorites),"mostplayed"in e&&l(14,j=e.mostplayed),"lastplayed"in e&&l(15,U=e.lastplayed),"containermaxwidth"in e&&l(16,Y=e.containermaxwidth),"lobbyid"in e&&l(67,W=e.lobbyid),"haspanicbutton"in e&&l(17,z=e.haspanicbutton),"mostplayedrounds"in e&&l(68,V=e.mostplayedrounds),"lastplayedperiod"in e&&l(69,Z=e.lastplayedperiod),"filteredcategories"in e&&l(18,h=e.filteredcategories),"activecategory"in e&&l(19,g=e.activecategory),"livecasino"in e&&l(20,K=e.livecasino),"playrandomgame"in e&&l(21,X=e.playrandomgame),"filteredrandomgamecategories"in e&&l(22,J=e.filteredrandomgamecategories),"gamepagemodalurl"in e&&l(23,q=e.gamepagemodalurl),"positionwinnerswidget"in e&&l(24,Q=e.positionwinnerswidget),"tabsorder"in e&&l(25,ee=e.tabsorder),"enableautoscroll"in e&&l(26,te=e.enableautoscroll),"istopavailable"in e&&l(27,ne=e.istopavailable),"isrecentavailable"in e&&l(28,ae=e.isrecentavailable),"integratedgameframedesktop"in e&&l(29,re=e.integratedgameframedesktop),"integratedgameframemobile"in e&&l(30,ie=e.integratedgameframemobile),"periodrecent"in e&&l(31,se=e.periodrecent),"periodtop"in e&&l(32,oe=e.periodtop),"numberusersrecent"in e&&l(33,le=e.numberusersrecent),"numberuserstop"in e&&l(34,ce=e.numberuserstop),"amountlimit"in e&&l(35,de=e.amountlimit),"defaultcurrency"in e&&l(36,ue=e.defaultcurrency),"positionjackpotbanners"in e&&l(37,me=e.positionjackpotbanners),"caticon0"in e&&l(38,he=e.caticon0),"caticon1"in e&&l(39,ge=e.caticon1),"caticon2"in e&&l(40,pe=e.caticon2),"caticon3"in e&&l(41,fe=e.caticon3),"backgroundsrc"in e&&l(42,ye=e.backgroundsrc),"backgroundsrcmobile"in e&&l(43,be=e.backgroundsrcmobile),"titlelogopath"in e&&l(44,ve=e.titlelogopath),"iconlabels"in e&&l(45,we=e.iconlabels),"visualstructure"in e&&l(46,$e=e.visualstructure),"positioncollections"in e&&l(47,xe=e.positioncollections),"type"in e&&l(48,Se=e.type),"titletype"in e&&l(49,_e=e.titletype),"casinomygames"in e&&l(0,p=e.casinomygames),"collectionprovidersgamenames"in e&&l(50,Ce=e.collectionprovidersgamenames),"randombuttonicon"in e&&l(51,ke=e.randombuttonicon)},e.$$.update=()=>{var a,t;if((524304&e.$$.dirty[0]&&r&&g&&(l(53,v=g),Ne({data:{itemId:v}})),98&e.$$.dirty[0]&&i&&s&&c&&(l(58,Le=!0),y=i,(f=s)&&f.length&&y&&0<y.length&&"true"!=p&&P(c,y,f)),4194304&e.$$.dirty[1]|256&e.$$.dirty[2]&&v&&M&&M&&!M.includes(decodeURI(v))&&""!=v&&window.postMessage({type:"NonExistentCategory"},window.location.href),4118&e.$$.dirty[0]&&c&&n&&r&&H)&&(c||(_="Endpoint is missing! Please provide a valid endpointURL.",l(57,S=!0),l(56,x=!1),console.error(_)),n||(_="Datasource is missing! Please provide a valid datasource.",l(57,S=!0),l(56,x=!1),console.error(_)),(!r||r.length<2)&&(_="Language is missing! Please provide a valid language (alpha2code)",l(57,S=!0),l(56,x=!1),console.error(_)),!S)){l(56,x=!0),"true"==m&&P(c,y,f),t=r,Ye.set(t);let e=new URL(c+"/casino/groups/"+n);e.searchParams.append("language",r),e.searchParams.append("platform",ze(Te)),a=e,new Promise((t,n)=>{l(56,x=!0),fetch(a).then(e=>e.json()).then(e=>{l(56,x=!1),t(e)}).catch(e=>{l(57,S=!0),l(56,x=!1),console.error(e),n(e)})}).then(e=>{let a=h.split(",");e&&(Ee=e.items.filter(e=>{let t;if(0<e.games.total&&(t=!0,h))for(var n of a)e.flags==n&&(t=!1);return t}),l(63,Fe=Ee.map(e=>e.id)),l(70,M=e.items.map(e=>e.id.toString())),l(56,x=!1))}),F(),(w=void 0)&&(Me=w.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}if(16&e.$$.dirty[0]&&r&&(Ie&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href)},500),Ie=!1),512&e.$$.dirty[0]&&u&&fetch(u).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ga(e,t[e])})}).catch(e=>{console.log(e)}),128&e.$$.dirty[0]|8388608&e.$$.dirty[1]&&o&&$){let e=document.createElement("style");e.innerHTML=o,$.appendChild(e)}if(256&e.$$.dirty[0]|8388608&e.$$.dirty[1]&&d&&$){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{$.appendChild(t)},1)})}2097152&e.$$.dirty[1]&&b&&(null!=b&&b.addEventListener("mousedown",R,!1),null!=b&&b.addEventListener("touchstart",R,!1),null!=b&&b.addEventListener("mouseup",I,!1),null!=b&&b.addEventListener("touchend",I,!1))},[p,c,n,N,r,i,s,o,d,u,D,B,H,m,j,U,Y,z,h,g,K,X,J,q,Q,ee,te,ne,ae,re,ie,se,oe,le,ce,de,ue,me,he,ge,pe,fe,ye,be,ve,we,$e,xe,Se,_e,Ce,ke,b,v,$,O,x,S,Le,C,T,G,Pe,Fe,A,Te,(e,t)=>{L=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:B,receivedFavoriteResults:a},window.location.href)},W,V,Z,M,function(e){Ue[e?"unshift":"push"](()=>{b=e,l(52,b)})},function(e){Ue[e?"unshift":"push"](()=>{$=e,l(54,$)})}]}class eo extends e{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;position:relative}.CasinoWinners{background:transparent;width:100%;min-height:200px}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:20px}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:48px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}.PanicButtonMobile{width:280px;padding:0 5px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}[type=\"search\"]{appearance:none}.CategoryContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);font-size:14px;margin-top:16px;text-align:center}@media screen and (max-width: 1300px){}@media(max-width: 768px){}.SearchBarPlaceholder{display:block;width:100%;height:46px}.SearchBarPlaceholder{display:block;width:100%;height:46px}</style>",j(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Qs,Js,t,{endpoint:1,datasource:2,currency:3,lang:4,session:5,userid:6,clientstyling:7,clientstylingurl:8,translationurl:9,categorybackground:10,visiblegames:11,alternativesearch:12,favorites:13,mostplayed:14,lastplayed:15,containermaxwidth:16,lobbyid:67,haspanicbutton:17,mostplayedrounds:68,lastplayedperiod:69,filteredcategories:18,activecategory:19,livecasino:20,playrandomgame:21,filteredrandomgamecategories:22,gamepagemodalurl:23,positionwinnerswidget:24,tabsorder:25,enableautoscroll:26,istopavailable:27,isrecentavailable:28,integratedgameframedesktop:29,integratedgameframemobile:30,periodrecent:31,periodtop:32,numberusersrecent:33,numberuserstop:34,amountlimit:35,defaultcurrency:36,positionjackpotbanners:37,caticon0:38,caticon1:39,caticon2:40,caticon3:41,backgroundsrc:42,backgroundsrcmobile:43,titlelogopath:44,iconlabels:45,visualstructure:46,positioncollections:47,type:48,titletype:49,casinomygames:0,collectionprovidersgamenames:50,randombuttonicon:51},null,[-1,-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","categorybackground","visiblegames","alternativesearch","favorites","mostplayed","lastplayed","containermaxwidth","lobbyid","haspanicbutton","mostplayedrounds","lastplayedperiod","filteredcategories","activecategory","livecasino","playrandomgame","filteredrandomgamecategories","gamepagemodalurl","positionwinnerswidget","tabsorder","enableautoscroll","istopavailable","isrecentavailable","integratedgameframedesktop","integratedgameframemobile","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","positionjackpotbanners","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","positioncollections","type","titletype","casinomygames","collectionprovidersgamenames","randombuttonicon"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[3]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[5]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[6]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),f()}get categorybackground(){return this.$$.ctx[10]}set categorybackground(e){this.$$set({categorybackground:e}),f()}get visiblegames(){return this.$$.ctx[11]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get alternativesearch(){return this.$$.ctx[12]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get mostplayed(){return this.$$.ctx[14]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get lastplayed(){return this.$$.ctx[15]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get containermaxwidth(){return this.$$.ctx[16]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get lobbyid(){return this.$$.ctx[67]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get haspanicbutton(){return this.$$.ctx[17]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get mostplayedrounds(){return this.$$.ctx[68]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get lastplayedperiod(){return this.$$.ctx[69]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get filteredcategories(){return this.$$.ctx[18]}set filteredcategories(e){this.$$set({filteredcategories:e}),f()}get activecategory(){return this.$$.ctx[19]}set activecategory(e){this.$$set({activecategory:e}),f()}get livecasino(){return this.$$.ctx[20]}set livecasino(e){this.$$set({livecasino:e}),f()}get playrandomgame(){return this.$$.ctx[21]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get filteredrandomgamecategories(){return this.$$.ctx[22]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),f()}get gamepagemodalurl(){return this.$$.ctx[23]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get positionwinnerswidget(){return this.$$.ctx[24]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),f()}get tabsorder(){return this.$$.ctx[25]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[26]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[27]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[28]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[29]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[30]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get periodrecent(){return this.$$.ctx[31]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[32]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[33]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[34]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[35]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get defaultcurrency(){return this.$$.ctx[36]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get positionjackpotbanners(){return this.$$.ctx[37]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),f()}get caticon0(){return this.$$.ctx[38]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[39]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[40]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[41]}set caticon3(e){this.$$set({caticon3:e}),f()}get backgroundsrc(){return this.$$.ctx[42]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[43]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[44]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get iconlabels(){return this.$$.ctx[45]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get visualstructure(){return this.$$.ctx[46]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get positioncollections(){return this.$$.ctx[47]}set positioncollections(e){this.$$set({positioncollections:e}),f()}get type(){return this.$$.ctx[48]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[49]}set titletype(e){this.$$set({titletype:e}),f()}get casinomygames(){return this.$$.ctx[0]}set casinomygames(e){this.$$set({casinomygames:e}),f()}get collectionprovidersgamenames(){return this.$$.ctx[50]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),f()}get randombuttonicon(){return this.$$.ctx[51]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}}return customElements.get("casino-page")||customElements.define("casino-page",eo),eo});
30
+ `},J,p,y,b,v,x,ne,_,C,k,T,G,M,E,L,P,ge,pe,function(e){Ue[e?"unshift":"push"](()=>{i=e,s(19,i)})},()=>be($),()=>ye($),()=>be($),function(e){Ue[e?"unshift":"push"](()=>{g=e,s(14,g)})},function(e){Ue[e?"unshift":"push"](()=>{o=e,s(11,o)})}]}function ur(e,t,n){const a=e.slice();return a[77]=t[n],a[79]=n,a}function mr(e,t,n){const a=e.slice();return a[77]=t[n],a[80]=t,a[79]=n,a}function hr(e,t,n){const a=e.slice();return a[77]=t[n],a[79]=n,a}function gr(e){let n;function a(e){return e[17]?br:e[27]?yr:void 0}let r=a(e),i=r&&r(e);return{c(){n=he("div"),i&&i.c()},m(e,t){ue(e,n,t),i&&i.m(n,null)},p(e,t){r===(r=a(e))&&i?i.p(e,t):(i&&i.d(1),(i=r&&r(e))&&(i.c(),i.m(n,null)))},d(e){e&&me(n),i&&i.d()}}}function pr(e){let n,a,r;function i(e){return e[21]?Br:e[18].length?Nr:Dr}let s=i(e),o=s(e);function l(e){return e[18]?jr:Hr}let c=l(e),d=c(e);return{c(){n=he("div"),a=he("div"),o.c(),r=pe(),d.c(),fe(a,"class","CasinoGamesHeader Searched "+(We(e[32])?"CasinoGamesHeaderMobile":"")),fe(a,"part","CasinoGamesHeader Searched "+(We(e[32])?"CasinoGamesHeaderMobile":"")),fe(n,"class","CasinoGamesContainer"),fe(n,"part","CasinoGamesContainer")},m(e,t){ue(e,n,t),de(n,a),o.m(a,null),de(n,r),d.m(n,null)},p(e,t){s===(s=i(e))&&o?o.p(e,t):(o.d(1),(o=s(e))&&(o.c(),o.m(a,null))),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(n,null)))},d(e){e&&me(n),o.d(),d.d()}}}function fr(e){let n;function a(e){return e[23]?zr:Wr}let r=a(e),i=r(e);return{c(){i.c(),n=l()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){r!==(r=a(e))&&(i.d(1),(i=r(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&me(n)}}}function yr(n){let a,r,i,s,o,l="true"!==n[12]&&vr(n);function c(e){return e[15]?xr:e[30]?$r:wr}let d=c(n),u=d(n);return{c(){a=he("div"),l&&l.c(),r=pe(),i=he("ul"),u.c(),fe(i,"class",s=(0!=n[30].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(i,"part",o=(0!=n[30].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(a,"class","CasinoGamesContainer"),fe(a,"part","CasinoGamesContainer")},m(e,t){ue(e,a,t),l&&l.m(a,null),de(a,r),de(a,i),u.m(i,null),n[52](i)},p(e,t){"true"!==e[12]?l?l.p(e,t):((l=vr(e)).c(),l.m(a,r)):l&&(l.d(1),l=null),d===(d=c(e))&&u?u.p(e,t):(u.d(1),(u=d(e))&&(u.c(),u.m(i,null))),1073741824&t[0]&&s!==(s=(0!=e[30].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(i,"class",s),1073741824&t[0]&&o!==(o=(0!=e[30].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(i,"part",o)},d(e){e&&me(a),l&&l.d(),u.d(),n[52](null)}}}function br(e){let n,a,r="true"!==e[12]&&Pr(e);function i(e){return e[15]?Ar:0!==e[18].length?Ir:Rr}let s=i(e),o=s(e);return{c(){n=he("div"),r&&r.c(),a=pe(),o.c(),fe(n,"class","CasinoGamesContainer"),fe(n,"part","CasinoGamesContainer")},m(e,t){ue(e,n,t),r&&r.m(n,null),de(n,a),o.m(n,null)},p(e,t){"true"!==e[12]?r?r.p(e,t):((r=Pr(e)).c(),r.m(n,a)):r&&(r.d(1),r=null),s===(s=i(e))&&o?o.p(e,t):(o.d(1),(o=s(e))&&(o.c(),o.m(n,null)))},d(e){e&&me(n),r&&r.d(),o.d()}}}function vr(n){let a,r,i,s,o,l,c,d,u=n[31]("gamesCategorySection.favorites")+"",m=n[30].items.length+"";return{c(){a=he("div"),r=he("h3"),i=ge(u),s=pe(),o=he("span"),l=ge("("),c=ge(m),d=ge(")"),fe(o,"class","CategoryFavName"),fe(r,"class","CategoryName"),fe(r,"part","CategoryName"),fe(a,"class","CasinoGamesHeader"),fe(a,"part","CasinoGamesHeader")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,s),de(r,o),de(o,l),de(o,c),de(o,d),n[51](r)},p(e,t){1&t[1]&&u!==(u=e[31]("gamesCategorySection.favorites")+"")&&ye(i,u),1073741824&t[0]&&m!==(m=e[30].items.length+"")&&ye(c,m)},d(e){e&&me(a),n[51](null)}}}function wr(e){let n,a,r=e[31]("gamesCategorySection.waiting")+"";return{c(){n=he("p"),a=ge(r)},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1&t[1]&&r!==(r=e[31]("gamesCategorySection.waiting")+"")&&ye(a,r)},d(e){e&&me(n)}}}function $r(t){let a,r=t[30].items,i=[];for(let e=0;e<r.length;e+=1)i[e]=Lr(ur(t,r,e));let s=null;return r.length||(s=Sr(t)),{c(){for(let e=0;e<i.length;e+=1)i[e].c();a=l(),s&&s.c()},m(t,n){for(let e=0;e<i.length;e+=1)i[e].m(t,n);ue(t,a,n),s&&s.m(t,n)},p(t,n){if(2013270015&n[0]|7&n[1]){let e;for(r=t[30].items,e=0;e<r.length;e+=1){const s=ur(t,r,e);i[e]?i[e].p(s,n):(i[e]=Lr(s),i[e].c(),i[e].m(a.parentNode,a))}for(;e<i.length;e+=1)i[e].d(1);i.length=r.length,!r.length&&s?s.p(t,n):r.length?s&&(s.d(1),s=null):((s=Sr(t)).c(),s.m(a.parentNode,a))}},d(e){k(i,e),e&&me(a),s&&s.d(e)}}}function xr(e){let n;return{c(){fe(n=he("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function Sr(e){let n,a,r,i,s,o,l,c,t,d,u=e[31]("gamesCategorySection.noFavoritesTitle")+"",m=(g=e,We(g[32])?Cr:_r),h=m(e);var g;return{c(){n=he("p"),a=M("svg"),r=M("path"),i=pe(),s=he("span"),o=ge(u),l=pe(),h.c(),c=pe(),S(r,"fill","white"),fe(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"),fe(a,"version","1.1"),fe(a,"class","UnfavoredIcon"),fe(a,"part","UnfavoredIcon"),fe(a,"xmlns","http://www.w3.org/2000/svg"),fe(a,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(a,"x","50px"),fe(a,"y","50px"),fe(a,"viewBox","0 0 512.001 512.001"),S(a,"enable-background","new 0 0 512.001 512.001"),fe(a,"xml:space","preserve"),fe(s,"class","NoFavoriteText NoFavoriteTextHighlight"),fe(s,"part","NoFavoriteText NoFavoriteTextHighlight"),fe(n,"class",t="NoFavoriteGames "+(We(e[32])?"NoFavoriteGamesMobile":"")),fe(n,"part",d="NoFavoriteGames "+(We(e[32])?"NoFavoriteGamesMobile":""))},m(e,t){ue(e,n,t),de(n,a),de(a,r),de(n,i),de(n,s),de(s,o),de(n,l),h.m(n,null),de(n,c)},p(e,t){1&t[1]&&u!==(u=e[31]("gamesCategorySection.noFavoritesTitle")+"")&&ye(o,u),h.p(e,t)},d(e){e&&me(n),h.d()}}}function _r(e){let n,a,r=e[31]("gamesCategorySection.noFavorites")+"";return{c(){n=he("span"),a=ge(r),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1&t[1]&&r!==(r=e[31]("gamesCategorySection.noFavorites")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Cr(e){let n,a,r=e[31]("gamesCategorySection.noFavoritesMobile")+"";return{c(){n=he("span"),a=ge(r),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1&t[1]&&r!==(r=e[31]("gamesCategorySection.noFavoritesMobile")+"")&&ye(a,r)},d(e){e&&me(n)}}}function kr(e){let n,a=e[77].gameModel.isFavorite&&Tr(e);return{c(){a&&a.c(),n=l()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){e[77].gameModel.isFavorite?a?a.p(e,t):((a=Tr(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&me(n)}}}function Tr(e){let n,a=function(e){let n,a,r;function i(e,t){return 1073741824&t[0]&&(a=null),(n=null==n?!!We(e[32]):n)?Mr:(a=null==a?!!e[77].gameModel.platform.includes("PC"):a)?Gr:void 0}let s=i(e,[-1,-1,-1]),o=s&&s(e);return{c(){o&&o.c(),r=l()},m(e,t){o&&o.m(e,t),ue(e,r,t)},p(e,t){s===(s=i(e,t))&&o?o.p(e,t):(o&&o.d(1),(o=s&&s(e))&&(o.c(),o.m(r.parentNode,r)))},d(e){o&&o.d(e),e&&me(r)}}}(e);return{c(){a&&a.c(),n=l()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){a.p(e,t)},d(e){a&&a.d(e),e&&me(n)}}}function Gr(e){let n,a,r,i,s,o,l,c,d,u,m,h,g,p;return{c(){x(n=he("casino-game-thumbnail"),"class",a=""+($+(e[77].cellSize||"1x1"))),x(n,"part",r=""+($+(e[77].cellSize||"1x1"))),x(n,"session",e[2]),x(n,"userid",e[3]),x(n,"lang",e[1]),x(n,"favorites",e[4]),x(n,"gamethumbnail",i=e[77].gameModel.thumbnail),x(n,"gamename",s=e[77].gameModel.name),x(n,"gamevendor",o=e[77].gameModel.vendor.name),x(n,"gameisnew",l=e[77].gameModel.isNew),x(n,"gametag",c=0<e[77].gameModel.advancedTags?.length&&e[33](e[77].advancedTags)),x(n,"gamecellsize",d=e[77].cellSize),x(n,"gameid",u=e[77].gameModel.id),x(n,"gamefunmode",m=e[77].gameModel.hasFunMode),x(n,"gamefavorite",h=e[77].gameModel.isFavorite),x(n,"showfavoredcategory",e[27]),x(n,"connectlive",g=1==e[28][e[77].id]?"connect":"disconnect"),x(n,"visibilityconnect",e[29]),x(n,"currency",e[7]),x(n,"livelobbyendpoint",p=e[77].gameModel.details?e[77].gameModel.launchUrl:""),x(n,"clientstyling",e[5]),x(n,"clientstylingurl",e[6]),x(n,"endpoint",e[0]),x(n,"livecasino",e[8]),x(n,"gamepagemodalurl",e[9]),x(n,"integratedgameframedesktop",e[10]),x(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){1073741824&t[0]&&a!==(a=""+($+(e[77].cellSize||"1x1")))&&x(n,"class",a),1073741824&t[0]&&r!==(r=""+($+(e[77].cellSize||"1x1")))&&x(n,"part",r),4&t[0]&&x(n,"session",e[2]),8&t[0]&&x(n,"userid",e[3]),2&t[0]&&x(n,"lang",e[1]),16&t[0]&&x(n,"favorites",e[4]),1073741824&t[0]&&i!==(i=e[77].gameModel.thumbnail)&&x(n,"gamethumbnail",i),1073741824&t[0]&&s!==(s=e[77].gameModel.name)&&x(n,"gamename",s),1073741824&t[0]&&o!==(o=e[77].gameModel.vendor.name)&&x(n,"gamevendor",o),1073741824&t[0]&&l!==(l=e[77].gameModel.isNew)&&x(n,"gameisnew",l),1073741824&t[0]&&c!==(c=0<e[77].gameModel.advancedTags?.length&&e[33](e[77].advancedTags))&&x(n,"gametag",c),1073741824&t[0]&&d!==(d=e[77].cellSize)&&x(n,"gamecellsize",d),1073741824&t[0]&&u!==(u=e[77].gameModel.id)&&x(n,"gameid",u),1073741824&t[0]&&m!==(m=e[77].gameModel.hasFunMode)&&x(n,"gamefunmode",m),1073741824&t[0]&&h!==(h=e[77].gameModel.isFavorite)&&x(n,"gamefavorite",h),134217728&t[0]&&x(n,"showfavoredcategory",e[27]),1342177280&t[0]&&g!==(g=1==e[28][e[77].id]?"connect":"disconnect")&&x(n,"connectlive",g),536870912&t[0]&&x(n,"visibilityconnect",e[29]),128&t[0]&&x(n,"currency",e[7]),1073741824&t[0]&&p!==(p=e[77].gameModel.details?e[77].gameModel.launchUrl:"")&&x(n,"livelobbyendpoint",p),32&t[0]&&x(n,"clientstyling",e[5]),64&t[0]&&x(n,"clientstylingurl",e[6]),1&t[0]&&x(n,"endpoint",e[0]),256&t[0]&&x(n,"livecasino",e[8]),512&t[0]&&x(n,"gamepagemodalurl",e[9]),1024&t[0]&&x(n,"integratedgameframedesktop",e[10]),2048&t[0]&&x(n,"integratedgameframemobile",e[11])},d(e){e&&me(n)}}}function Mr(e){let n,a=e[77].gameModel.platform.includes("iPad")||e[77].gameModel.platform.includes("iPhone")||e[77].gameModel.platform.includes("Android"),r=a&&Er(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){(a=1073741824&t[0]?e[77].gameModel.platform.includes("iPad")||e[77].gameModel.platform.includes("iPhone")||e[77].gameModel.platform.includes("Android"):a)?r?r.p(e,t):((r=Er(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&me(n)}}}function Er(e){let n,a,r,i,s,o,l,c,d,u,m,h,g,p;return{c(){x(n=he("casino-game-thumbnail"),"class",a=""+($+(e[77].cellSize||"1x1"))),x(n,"part",r=""+($+(e[77].cellSize||"1x1"))),x(n,"session",e[2]),x(n,"userid",e[3]),x(n,"lang",e[1]),x(n,"favorites",e[4]),x(n,"gamethumbnail",i=e[77].gameModel.thumbnail),x(n,"gamename",s=e[77].gameModel.name),x(n,"gamevendor",o=e[77].gameModel.vendor.name),x(n,"gameisnew",l=e[77].gameModel.isNew),x(n,"gametag",c=0<e[77].gameModel.advancedTags?.length&&e[33](e[77].advancedTags)),x(n,"gamecellsize",d=e[77].cellSize),x(n,"gameid",u=e[77].gameModel.id),x(n,"gamefunmode",m=e[77].gameModel.hasFunMode),x(n,"gamefavorite",h=e[77].gameModel.isFavorite),x(n,"showfavoredcategory",e[27]),x(n,"connectlive",g=1==e[28][e[77].id]?"connect":"disconnect"),x(n,"visibilityconnect",e[29]),x(n,"currency",e[7]),x(n,"livelobbyendpoint",p=e[77].gameModel.details?e[77].gameModel.launchUrl:""),x(n,"clientstyling",e[5]),x(n,"clientstylingurl",e[6]),x(n,"endpoint",e[0]),x(n,"livecasino",e[8]),x(n,"gamepagemodalurl",e[9]),x(n,"integratedgameframedesktop",e[10]),x(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){1073741824&t[0]&&a!==(a=""+($+(e[77].cellSize||"1x1")))&&x(n,"class",a),1073741824&t[0]&&r!==(r=""+($+(e[77].cellSize||"1x1")))&&x(n,"part",r),4&t[0]&&x(n,"session",e[2]),8&t[0]&&x(n,"userid",e[3]),2&t[0]&&x(n,"lang",e[1]),16&t[0]&&x(n,"favorites",e[4]),1073741824&t[0]&&i!==(i=e[77].gameModel.thumbnail)&&x(n,"gamethumbnail",i),1073741824&t[0]&&s!==(s=e[77].gameModel.name)&&x(n,"gamename",s),1073741824&t[0]&&o!==(o=e[77].gameModel.vendor.name)&&x(n,"gamevendor",o),1073741824&t[0]&&l!==(l=e[77].gameModel.isNew)&&x(n,"gameisnew",l),1073741824&t[0]&&c!==(c=0<e[77].gameModel.advancedTags?.length&&e[33](e[77].advancedTags))&&x(n,"gametag",c),1073741824&t[0]&&d!==(d=e[77].cellSize)&&x(n,"gamecellsize",d),1073741824&t[0]&&u!==(u=e[77].gameModel.id)&&x(n,"gameid",u),1073741824&t[0]&&m!==(m=e[77].gameModel.hasFunMode)&&x(n,"gamefunmode",m),1073741824&t[0]&&h!==(h=e[77].gameModel.isFavorite)&&x(n,"gamefavorite",h),134217728&t[0]&&x(n,"showfavoredcategory",e[27]),1342177280&t[0]&&g!==(g=1==e[28][e[77].id]?"connect":"disconnect")&&x(n,"connectlive",g),536870912&t[0]&&x(n,"visibilityconnect",e[29]),128&t[0]&&x(n,"currency",e[7]),1073741824&t[0]&&p!==(p=e[77].gameModel.details?e[77].gameModel.launchUrl:"")&&x(n,"livelobbyendpoint",p),32&t[0]&&x(n,"clientstyling",e[5]),64&t[0]&&x(n,"clientstylingurl",e[6]),1&t[0]&&x(n,"endpoint",e[0]),256&t[0]&&x(n,"livecasino",e[8]),512&t[0]&&x(n,"gamepagemodalurl",e[9]),1024&t[0]&&x(n,"integratedgameframedesktop",e[10]),2048&t[0]&&x(n,"integratedgameframemobile",e[11])},d(e){e&&me(n)}}}function Lr(e){let n,a=e[77].gameModel&&kr(e);return{c(){a&&a.c(),n=l()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){e[77].gameModel?a?a.p(e,t):((a=kr(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&me(n)}}}function Pr(n){let a,r,i,s,o=n[17].name+"",l=n[19]&&Fr(n);return{c(){a=he("div"),r=he("h3"),i=ge(o),s=pe(),l&&l.c(),fe(r,"class","CategoryName"),fe(r,"part","CategoryName"),fe(a,"class","CasinoGamesHeader"),fe(a,"part","CasinoGamesHeader")},m(e,t){ue(e,a,t),de(a,r),de(r,i),n[47](r),de(a,s),l&&l.m(a,null)},p(e,t){131072&t[0]&&o!==(o=e[17].name+"")&&ye(i,o),e[19]?l?l.p(e,t):((l=Fr(e)).c(),l.m(a,null)):l&&(l.d(1),l=null)},d(e){e&&me(a),n[47](null),l&&l.d()}}}function Fr(n){let a,r,i,s,o,l,c,d,u=n[31]("gamesCategorySection.viewAll")+"",m=n[17].games.total+"";return{c(){a=he("a"),r=he("span"),i=ge(u),s=ge(" ("),o=ge(m),l=ge(")"),fe(r,"class","CategoryLoadMore"),fe(r,"part","CategoryLoadMore"),fe(a,"class","CategoryNameLink"),fe(a,"part","CategoryNameLink")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,s),de(r,o),de(r,l),c||(d=z(a,"click",n[48]),c=!0)},p(e,t){1&t[1]&&u!==(u=e[31]("gamesCategorySection.viewAll")+"")&&ye(i,u),131072&t[0]&&m!==(m=e[17].games.total+"")&&ye(o,m)},d(e){e&&me(a),c=!1,d()}}}function Rr(e){let n;return{c(){(n=he("p")).textContent="You don't have any games in this category.",fe(n,"class","NoSearchResults"),fe(n,"part","NoSearchResults")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function Ir(n){let a,e,r,i=n[18],s=[];for(let e=0;e<i.length;e+=1)s[e]=Or(mr(n,i,e));return{c(){a=he("ul");for(let e=0;e<s.length;e+=1)s[e].c();fe(a,"class",e=(0===n[30].items.length&&n[27]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),fe(a,"part",r=(0===n[30].items.length&&n[27]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){ue(e,a,t);for(let e=0;e<s.length;e+=1)s[e].m(a,null);n[50](a)},p(t,n){if(805588991&n[0]|4&n[1]){let e;for(i=t[18],e=0;e<i.length;e+=1){const r=mr(t,i,e);s[e]?s[e].p(r,n):(s[e]=Or(r),s[e].c(),s[e].m(a,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}1207959552&n[0]&&e!==(e=(0===t[30].items.length&&t[27]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(a,"class",e),1207959552&n[0]&&r!==(r=(0===t[30].items.length&&t[27]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(a,"part",r)},d(e){e&&me(a),k(s,e),n[50](null)}}}function Ar(e){let n;return{c(){fe(n=he("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function Or(e){let n,a=function(n){let a,r,i,s,o,l,c,d,u,m,h,g,p,f,y=n[79];const b=()=>n[49](a,y),v=()=>n[49](null,y);return{c(){x(a=he("casino-game-thumbnail"),"session",n[2]),x(a,"userid",n[3]),x(a,"lang",n[1]),x(a,"class",r=""+($+(n[77].cellSize||"1x1"))),x(a,"part",i=""+($+(n[77].cellSize||"1x1"))),x(a,"favorites",n[4]),x(a,"gamethumbnail",s=n[77].thumbnail),x(a,"gamename",o=n[77].name),x(a,"gamevendor",l=n[77].vendor.name),x(a,"gameisnew",c=n[77].isNew),x(a,"gametag",d=0<n[77].advancedTags?.length&&n[33](n[77].advancedTags)),x(a,"gamecellsize",u=n[77].cellSize),x(a,"gameid",m=n[77].id),x(a,"gamefunmode",h=n[77].hasFunMode),x(a,"gamefavorite",g=n[77].isFavorite),x(a,"connectlive",p=1==n[28][n[77].id]?"connect":"disconnect"),x(a,"visibilityconnect",n[29]),x(a,"currency",n[7]),x(a,"livelobbyendpoint",f=n[77].details?n[77].href:""),x(a,"clientstyling",n[5]),x(a,"clientstylingurl",n[6]),x(a,"endpoint",n[0]),x(a,"livecasino",n[8]),x(a,"gamepagemodalurl",n[9]),x(a,"integratedgameframedesktop",n[10]),x(a,"integratedgameframemobile",n[11])},m(e,t){ue(e,a,t),b()},p(e,t){n=e,4&t[0]&&x(a,"session",n[2]),8&t[0]&&x(a,"userid",n[3]),2&t[0]&&x(a,"lang",n[1]),262144&t[0]&&r!==(r=""+($+(n[77].cellSize||"1x1")))&&x(a,"class",r),262144&t[0]&&i!==(i=""+($+(n[77].cellSize||"1x1")))&&x(a,"part",i),16&t[0]&&x(a,"favorites",n[4]),262144&t[0]&&s!==(s=n[77].thumbnail)&&x(a,"gamethumbnail",s),262144&t[0]&&o!==(o=n[77].name)&&x(a,"gamename",o),262144&t[0]&&l!==(l=n[77].vendor.name)&&x(a,"gamevendor",l),262144&t[0]&&c!==(c=n[77].isNew)&&x(a,"gameisnew",c),262144&t[0]&&d!==(d=0<n[77].advancedTags?.length&&n[33](n[77].advancedTags))&&x(a,"gametag",d),262144&t[0]&&u!==(u=n[77].cellSize)&&x(a,"gamecellsize",u),262144&t[0]&&m!==(m=n[77].id)&&x(a,"gameid",m),262144&t[0]&&h!==(h=n[77].hasFunMode)&&x(a,"gamefunmode",h),262144&t[0]&&g!==(g=n[77].isFavorite)&&x(a,"gamefavorite",g),268697600&t[0]&&p!==(p=1==n[28][n[77].id]?"connect":"disconnect")&&x(a,"connectlive",p),536870912&t[0]&&x(a,"visibilityconnect",n[29]),128&t[0]&&x(a,"currency",n[7]),262144&t[0]&&f!==(f=n[77].details?n[77].href:"")&&x(a,"livelobbyendpoint",f),32&t[0]&&x(a,"clientstyling",n[5]),64&t[0]&&x(a,"clientstylingurl",n[6]),1&t[0]&&x(a,"endpoint",n[0]),256&t[0]&&x(a,"livecasino",n[8]),512&t[0]&&x(a,"gamepagemodalurl",n[9]),1024&t[0]&&x(a,"integratedgameframedesktop",n[10]),2048&t[0]&&x(a,"integratedgameframemobile",n[11]),y!==n[79]&&(v(),y=n[79],b())},d(e){e&&me(a),v()}}}(e);return{c(){a&&a.c(),n=l()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){a.p(e,t)},d(e){a&&a.d(e),e&&me(n)}}}function Nr(e){let n,a,r=e[31]("gamesCategorySection.searchedItems")+"";return{c(){n=he("h3"),a=ge(r),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1&t[1]&&r!==(r=e[31]("gamesCategorySection.searchedItems")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Dr(e){let n,a,r=e[31]("gamesCategorySection.noResults")+"";return{c(){n=he("h3"),a=ge(r),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1&t[1]&&r!==(r=e[31]("gamesCategorySection.noResults")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Br(e){let n,a,r=e[31]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=he("h3"),a=ge(r),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1&t[1]&&r!==(r=e[31]("gamesCategorySection.recentSearchedItems")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Hr(e){let n;return{c(){(n=he("p")).textContent="Waiting",fe(n,"class","SearchWaiting"),fe(n,"part","SearchWaiting")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function jr(t){let a,r,i=!t[24]&&Ur(t),s=t[18],o=[];for(let e=0;e<s.length;e+=1)o[e]=Yr(hr(t,s,e));return{c(){i&&i.c(),a=pe(),r=he("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(r,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),fe(r,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){i&&i.m(e,t),ue(e,a,t),ue(e,r,t);for(let e=0;e<o.length;e+=1)o[e].m(r,null)},p(t,n){if(t[24]?i&&(i.d(1),i=null):i?i.p(t,n):((i=Ur(t)).c(),i.m(a.parentNode,a)),4460543&n[0]|4&n[1]){let e;for(s=t[18],e=0;e<s.length;e+=1){const i=hr(t,s,e);o[e]?o[e].p(i,n):(o[e]=Yr(i),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=s.length}},d(e){i&&i.d(e),e&&me(a),e&&me(r),k(o,e)}}}function Ur(e){let n,a,t,r,i=e[31]("gamesCategorySection.noRecentSearch")+"";return{c(){n=he("p"),a=ge(i),fe(n,"class",t="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(We(e[32])?"NoRecentSearchesMobile":"")),fe(n,"part",r="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(We(e[32])?"NoRecentSearchesMobile":""))},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1&t[1]&&i!==(i=e[31]("gamesCategorySection.noRecentSearch")+"")&&ye(a,i)},d(e){e&&me(n)}}}function Yr(e){let n,a,r,i,s,o,l,c,d,u,m,h,g;return{c(){x(n=he("casino-game-thumbnail"),"class",a=""+($+(e[77].cellSize||"1x1"))),x(n,"part",r=""+($+(e[77].cellSize||"1x1"))),x(n,"session",e[2]),x(n,"userid",e[3]),x(n,"lang",e[1]),x(n,"searchitem",e[22]),x(n,"favorites",e[4]),x(n,"gamethumbnail",i=e[77].thumbnail),x(n,"gamename",s=e[77].name),x(n,"gamevendor",o=e[77].vendor.name),x(n,"gameisnew",l=e[77].isNew),x(n,"gametag",c=0<e[77].advancedTags?.length&&e[33](e[77].advancedTags)),x(n,"gamecellsize",d=e[77].cellSize),x(n,"gameid",u=e[77].id),x(n,"gamefunmode",m=e[77].hasFunMode),x(n,"gamefavorite",h=e[77].isFavorite),x(n,"currency",e[7]),x(n,"livelobbyendpoint",g=e[77].details?e[77].href:""),x(n,"clientstyling",e[5]),x(n,"clientstylingurl",e[6]),x(n,"endpoint",e[0]),x(n,"livecasino",e[8]),x(n,"gamepagemodalurl",e[9]),x(n,"integratedgameframedesktop",e[10]),x(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){262144&t[0]&&a!==(a=""+($+(e[77].cellSize||"1x1")))&&x(n,"class",a),262144&t[0]&&r!==(r=""+($+(e[77].cellSize||"1x1")))&&x(n,"part",r),4&t[0]&&x(n,"session",e[2]),8&t[0]&&x(n,"userid",e[3]),2&t[0]&&x(n,"lang",e[1]),4194304&t[0]&&x(n,"searchitem",e[22]),16&t[0]&&x(n,"favorites",e[4]),262144&t[0]&&i!==(i=e[77].thumbnail)&&x(n,"gamethumbnail",i),262144&t[0]&&s!==(s=e[77].name)&&x(n,"gamename",s),262144&t[0]&&o!==(o=e[77].vendor.name)&&x(n,"gamevendor",o),262144&t[0]&&l!==(l=e[77].isNew)&&x(n,"gameisnew",l),262144&t[0]&&c!==(c=0<e[77].advancedTags?.length&&e[33](e[77].advancedTags))&&x(n,"gametag",c),262144&t[0]&&d!==(d=e[77].cellSize)&&x(n,"gamecellsize",d),262144&t[0]&&u!==(u=e[77].id)&&x(n,"gameid",u),262144&t[0]&&m!==(m=e[77].hasFunMode)&&x(n,"gamefunmode",m),262144&t[0]&&h!==(h=e[77].isFavorite)&&x(n,"gamefavorite",h),128&t[0]&&x(n,"currency",e[7]),262144&t[0]&&g!==(g=e[77].details?e[77].href:"")&&x(n,"livelobbyendpoint",g),32&t[0]&&x(n,"clientstyling",e[5]),64&t[0]&&x(n,"clientstylingurl",e[6]),1&t[0]&&x(n,"endpoint",e[0]),256&t[0]&&x(n,"livecasino",e[8]),512&t[0]&&x(n,"gamepagemodalurl",e[9]),1024&t[0]&&x(n,"integratedgameframedesktop",e[10]),2048&t[0]&&x(n,"integratedgameframemobile",e[11])},d(e){e&&me(n)}}}function Wr(e){let n;return{c(){(n=he("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function zr(e){let n;return{c(){(n=he("p")).textContent="404 Error - No result found.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function Vr(n){let a;function r(e){return e[16]?fr:e[20]?pr:gr}let i=r(n),s=i(n);return{c(){a=he("div"),s.c(),this.c=W,fe(a,"class","CasinoGamesCategorySectionContainer"),fe(a,"part","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,a,t),s.m(a,null),n[53](a)},p(e,t){i===(i=r(e))&&s?s.p(e,t):(s.d(1),(s=i(e))&&(s.c(),s.m(a,null)))},i:W,o:W,d(e){e&&me(a),s.d(),n[53](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends e{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, rgb(0, 0, 0) 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}</style>',j(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},dr,ir,t,{session:48,userid:49,lang:1,clientstyling:50,clientstylingurl:51,translationurl:52,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gameid:6,gameisnew:7,gametag:8,gamefunmode:53,searchitem:54,gamefavorite:0,gamecellsize:9,showfavoredcategory:55,showgamename:10,currency:56,gamepagemodalurl:57,endpoint:58,livelobbyendpoint:59,connectlive:60,visibilityconnect:61,integratedgameframedesktop:62,integratedgameframemobile:63,MONEY_WHEEL_COLOR_MAP:64,ROULETTE_COLOR_MAP:65},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gametag","gamefunmode","searchitem","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[48]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[49]}set userid(e){this.$$set({userid:e}),f()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[50]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[51]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[52]}set translationurl(e){this.$$set({translationurl:e}),f()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),f()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),f()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),f()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),f()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),f()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),f()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),f()}get gamefunmode(){return this.$$.ctx[53]}set gamefunmode(e){this.$$set({gamefunmode:e}),f()}get searchitem(){return this.$$.ctx[54]}set searchitem(e){this.$$set({searchitem:e}),f()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),f()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),f()}get showfavoredcategory(){return this.$$.ctx[55]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),f()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),f()}get currency(){return this.$$.ctx[56]}set currency(e){this.$$set({currency:e}),f()}get gamepagemodalurl(){return this.$$.ctx[57]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get endpoint(){return this.$$.ctx[58]}set endpoint(e){this.$$set({endpoint:e}),f()}get livelobbyendpoint(){return this.$$.ctx[59]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),f()}get connectlive(){return this.$$.ctx[60]}set connectlive(e){this.$$set({connectlive:e}),f()}get visibilityconnect(){return this.$$.ctx[61]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[62]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[63]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[64]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[65]}});const $="game-tile-";function Zr(e,t,o){let A;Ve(e,Ta,e=>o(31,A=e));let i,s,l,n,O,a,c,r,d,u,{categoryindex:N=""}=t,{endpoint:m=""}=t,{datasource:h=""}=t,{lang:g=""}=t,{session:D=""}=t,{userid:B=""}=t,{favorites:p=""}=t,{clientstyling:f=""}=t,{clientstylingurl:y=""}=t,{translationurl:b=""}=t,{currency:H=""}=t,{categoryid:v=""}=t,{categorygames:j=0}=t,{livecasino:U="false"}=t,{visiblegames:Y=""}=t,{gamepagemodalurl:W="false"}=t,{integratedgameframedesktop:z="false"}=t,{integratedgameframemobile:V="false"}=t,{casinomygames:w="false"}=t,{once:Z=!0}=t,{top:K=0}=t,{bottom:X=0}=t,{left:J=0}=t,{right:q=0}=t,$=!0,x=!1,S=!0,Q=window.navigator.userAgent,_=[],C=!0,k=40,T=!1,G=!1,ee=!1,M=!1,E=!1,te=!0,L=!1,ne=!1,P=new Array(1e4),F={},ae="",R={items:[],count:0,name:""},re=(Object.keys(La).forEach(e=>{Ea(e,La[e])}),void 0!==document.hidden?d="hidden":void 0!==document.msHidden?d="msHidden":void 0!==document.webkitHidden&&(d="webkitHidden"),new IntersectionObserver(e=>{e.forEach(async e=>{var t=e.target.gameid,n=e.target.elems_index;e.isIntersecting?(1.2*n>k&&oe(v),o(28,F[t]=1,F)):o(28,F[t]=0,F)})}));const ie=(e,a,r,t=0)=>{let n,i="",s=(o(15,$=!0),i=1<(v.match(/\$/g)||[]).length?(n=v.split("$").slice(0,2).join("$"),new URL(`${m}/casino/groups/${h}/${n}/subGroups`)):new URL(`${m}/casino/groups/${h}/`+v),JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")));return new Promise((t,n)=>{if(i.searchParams.delete("pagination"),i.searchParams.append("expand","games(vendor)"),i.searchParams.append("fields","id,name,games"),i.searchParams.append("platform",ze(Q)),i.searchParams.append("pagination",`games(offset=${a},limit=${r})`),i.searchParams.append("language",g),window.postMessage({type:"CategoryVendors",categoryid:v},window.location.href),s&&s[v])if(s[v].length&&!1===S&&!1===L){let t="";o(23,E=!0),s[v].forEach(e=>{t+=t?", id="+e:"id="+e}),i.searchParams.append("filter",`games(vendor(${t}))`)}else o(23,E=!1);fetch(i).then(e=>e.json()).then(e=>{o(15,$=!1),1<(v.match(/\$/g)||[]).length&&(e=e.items.filter(e=>{if(e.id==v)return e})[0]),o(46,u=!0),o(16,x=!1),O=e.games.total,t(e)},e=>{o(16,x=!0),console.error(e),n(e)})})},se=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":"MOSTPLAYED"==v&&(o(20,T=!1),S=!1,o(19,C=!1),o(18,_=t.data.mostPlayedGames),o(17,l={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}})),o(15,$=!1);break;case"LastPlayedData":"LASTPLAYED"==v&&(o(20,T=!1),S=!1,o(19,C=!1),o(18,_=t.data.lastPlayedGames),o(17,l={id:"LASTPLAYED",name:"Last Played Games",games:{count:t.data.lastPlayedGames.length,total:t.data.lastPlayedGames.length,items:t.data.lastPlayedGames}})),o(15,$=!1);break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":o(20,T=!0),o(21,G=!0),0<t.data.searchData.length?(o(18,_=t.data.searchData),o(24,te=!0),_&&_.forEach(e=>{e.isFavorite=I(e.id)})):(o(18,_=[]),o(24,te=!1));break;case"OutOfRecentSearches":o(20,T=!1),o(21,G=!1);break;case"SearchData":o(20,T=!0),o(21,G=!1),o(18,_=t.data.searchData.items||[]),o(22,M=!0),t.data.receivedFavoriteResults&&(c=t.data.receivedFavoriteResults.items),_&&_.forEach(e=>{e.isFavorite=I(e.id)});break;case"CategoryData_"+v:o(20,T=!1),S=!0,o(19,C=!0),o(22,M=!1),ne=!1,t.data.receivedFavoriteResults&&(c=t.data.receivedFavoriteResults.items),ie(t.data.categoryId,0,t.data.visiblegames).then(e=>{o(17,l=e),o(18,_=l.games.items),_&&_.forEach(e=>{e.isFavorite=I(e.id)})});break;case"CategoryChange":k=20;break;case"CategoryUpdate":o(20,T=!1),S=!1,o(22,M=!1),ne=!0,o(35,v=t.data.itemId),"MOSTPLAYED"!==v&&o(19,C=!1),"true"!==w&&ie(0,0,k).then(e=>{o(17,l=e),l.games.items.forEach(e=>{e.isFavorite=I(e.id)}),o(18,_=l.games.items),o(19,C=!1),_.length<10&&(ee=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:ee},window.location.href)},500))});break;case"FavoriteUpdate":S=!0,o(18,_=l.games.items),_.forEach(e=>{e.isFavorite=I(e.id)});break;case"UpdateCategoryFavoriteGames":if(t.data.receivedFavoriteResults){if(c=t.data.receivedFavoriteResults.items,t.data.favStadalone)return;L?S||window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href)}break;case"ShowFavoriteSection":let e;S=!1,t.data&&((e=t.data.receivedFavoriteResults.items).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),o(30,R.items=(n=e,R.items,r=window.navigator.userAgent,We(r)?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})),R),o(30,R.name="Favorites",R),o(27,L=!0),o(15,$=!1));break;case"UserSessionID":if(i=t.data.session,s=t.data.userID,"true"==p&&s&&s.length&&i&&0<i.length){var a=`${m}/player/${s}/favorites/`;r=i;o(15,$=!0);let e={method:"GET",headers:{"X-SessionID":r}};new Promise((t,n)=>{fetch(a,e).then(e=>e.json()).then(e=>{o(15,$=!1),c=e?e.items:[],_.forEach(e=>{e.isFavorite=I(e.id)});e=_;o(18,_=void 0),o(18,_=e),t(c)}).catch(e=>{console.error(e),n(e)})})}}var n,r},oe=e=>{(k+=1)<=O&&ie(0,0,k).then(e=>{o(17,l=e),l.games.items.length>_.length&&(o(18,_=l.games.items),_.forEach(e=>{e.isFavorite=I(e.id)}))})},I=t=>!!c&&-1!==c.findIndex(e=>e.id==t),le=e=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href)};return Ze(()=>(window.addEventListener("visibilitychange",e=>{document[d]?o(29,ae="disconnect"):o(29,ae="connect")}),window.addEventListener("message",se,!1),"FAVORITES"===v&&window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",se),window.removeEventListener("visibilitychange",se)})),e.$$set=e=>{"categoryindex"in e&&o(36,N=e.categoryindex),"endpoint"in e&&o(0,m=e.endpoint),"datasource"in e&&o(37,h=e.datasource),"lang"in e&&o(1,g=e.lang),"session"in e&&o(2,D=e.session),"userid"in e&&o(3,B=e.userid),"favorites"in e&&o(4,p=e.favorites),"clientstyling"in e&&o(5,f=e.clientstyling),"clientstylingurl"in e&&o(6,y=e.clientstylingurl),"translationurl"in e&&o(38,b=e.translationurl),"currency"in e&&o(7,H=e.currency),"categoryid"in e&&o(35,v=e.categoryid),"categorygames"in e&&o(39,j=e.categorygames),"livecasino"in e&&o(8,U=e.livecasino),"visiblegames"in e&&o(40,Y=e.visiblegames),"gamepagemodalurl"in e&&o(9,W=e.gamepagemodalurl),"integratedgameframedesktop"in e&&o(10,z=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(11,V=e.integratedgameframemobile),"casinomygames"in e&&o(12,w=e.casinomygames),"once"in e&&o(41,Z=e.once),"top"in e&&o(42,K=e.top),"bottom"in e&&o(43,X=e.bottom),"left"in e&&o(44,J=e.left),"right"in e&&o(45,q=e.right)},e.$$.update=()=>{if(16384&e.$$.dirty[0]|32768&e.$$.dirty[1]&&u&&P&&ne&&P.forEach((e,t)=>{e&&(e.elems_index=t,re.observe(e))}),2&e.$$.dirty[0]|16&e.$$.dirty[1]&&g&&v)switch(v){case"FAVORITES":o(27,L=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===w&&o(27,L=!1)}if(128&e.$$.dirty[1]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ea(e,t[e])})}).catch(e=>{console.log(e)}),8224&e.$$.dirty[0]&&f&&r){let e=document.createElement("style");e.innerHTML=f,r.appendChild(e)}if(8256&e.$$.dirty[0]&&y&&r){let e=new URL(y),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}},[m,g,D,B,p,f,y,H,U,W,z,V,w,r,P,$,x,l,_,C,T,G,M,E,te,n,a,L,F,ae,R,A,Q,a=>{if(0===(null==a?void 0:a.length))return"";let r,i,s=99999999999;const o=new Date(Date.now());return a.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);Ra(e).diff(o)<s&&(s=Ra(e).diff(o),i=t),Ra(o).isAfter(n)&&Ra(o).isBefore(e)&&(r=a[i].name)}),r},le,v,N,h,b,j,Y,Z,K,X,J,q,u,function(e){Ue[e?"unshift":"push"](()=>{a=e,o(26,a)})},e=>le(l.id),function(e,t){Ue[e?"unshift":"push"](()=>{P[t]=e,o(14,P)})},function(e){Ue[e?"unshift":"push"](()=>{n=e,o(25,n)})},function(e){Ue[e?"unshift":"push"](()=>{a=e,o(26,a)})},function(e){Ue[e?"unshift":"push"](()=>{n=e,o(25,n)})},function(e){Ue[e?"unshift":"push"](()=>{r=e,o(13,r)})}]}function Kr(e,t){oa(e,t)}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends e{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color:var(--emfe-w-color-white, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-color-white, #FFFFFF);font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-color-white, #FFFFFF);font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 5px 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}@media screen and (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}.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>',j(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Zr,Vr,t,{categoryindex:36,endpoint:0,datasource:37,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,translationurl:38,currency:7,categoryid:35,categorygames:39,livecasino:8,visiblegames:40,gamepagemodalurl:9,integratedgameframedesktop:10,integratedgameframemobile:11,casinomygames:12,once:41,top:42,bottom:43,left:44,right:45},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["categoryindex","endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[36]}set categoryindex(e){this.$$set({categoryindex:e}),f()}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[37]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),f()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$$set({favorites:e}),f()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[38]}set translationurl(e){this.$$set({translationurl:e}),f()}get currency(){return this.$$.ctx[7]}set currency(e){this.$$set({currency:e}),f()}get categoryid(){return this.$$.ctx[35]}set categoryid(e){this.$$set({categoryid:e}),f()}get categorygames(){return this.$$.ctx[39]}set categorygames(e){this.$$set({categorygames:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get visiblegames(){return this.$$.ctx[40]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get gamepagemodalurl(){return this.$$.ctx[9]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get casinomygames(){return this.$$.ctx[12]}set casinomygames(e){this.$$set({casinomygames:e}),f()}get once(){return this.$$.ctx[41]}set once(e){this.$$set({once:e}),f()}get top(){return this.$$.ctx[42]}set top(e){this.$$set({top:e}),f()}get bottom(){return this.$$.ctx[43]}set bottom(e){this.$$set({bottom:e}),f()}get left(){return this.$$.ctx[44]}set left(e){this.$$set({left:e}),f()}get right(){return this.$$.ctx[45]}set right(e){this.$$set({right:e}),f()}});const Xr={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},zh:{randomGame:{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放"}},de:{randomGame:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuf",playNowRandomGame:"Jetzt spielen"}},fr:{randomGame:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant"}},ro:{randomGame:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"}},tr:{randomGame:{playRandomGame:"Rastgele Bir Oyun Oyna",randomGameLoading:"Oyun Seçiliyor",playNowRandomGame:"Şimdi Oyna"}},es:{randomGame:{playRandomGame:"Juego aleatorio",randomGameLoading:"Seleccionando…",playNowRandomGame:"Juega Ya"}},pt:{randomGame:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora"}}};function Jr(e,t,n){const a=e.slice();return a[34]=t[n],a[36]=n,a}function qr(n){let a,r,i,s,o,l,c,d=!n[7]&&Qr(n),u=n[7]&&ti(n);return{c(){a=he("div"),r=he("div"),(i=he("span")).innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',s=pe(),d&&d.c(),o=pe(),u&&u.c(),fe(i,"class","ModalCloseBtn"),fe(i,"part","ModalCloseBtn"),fe(i,"role","button"),fe(r,"class","ModalContainer"),fe(r,"part","ModalContainer"),fe(a,"class","ModalWindow"),fe(a,"part","ModalWindow")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,s),d&&d.m(r,null),de(r,o),u&&u.m(r,null),l||(c=z(i,"click",n[11]),l=!0)},p(e,t){e[7]?d&&(d.d(1),d=null):d?d.p(e,t):((d=Qr(e)).c(),d.m(r,o)),e[7]?u?u.p(e,t):((u=ti(e)).c(),u.m(r,null)):u&&(u.d(1),u=null)},d(e){e&&me(a),d&&d.d(),u&&u.d(),l=!1,c()}}}function Qr(t){let n,a,r,i,s,o,e=t[8]("randomGame.randomGameLoading")+"",l=t[4],c=[];for(let e=0;e<l.length;e+=1)c[e]=ei(Jr(t,l,e));return{c(){n=he("div"),a=he("main"),r=he("div");for(let e=0;e<c.length;e+=1)c[e].c();i=pe(),s=he("p"),o=ge(e),fe(r,"class","items"),fe(r,"part","items"),S(r,"transform","translateY("+t[6]+"px)"),fe(a,"class","RandomGamesSliderWrapper"),fe(a,"part","RandomGamesSliderWrapper"),fe(s,"class","RandomGameLoading"),fe(s,"part","RandomGameLoading"),fe(n,"class","RandomGameWrapper"),fe(n,"part","RandomGameWrapper")},m(e,t){ue(e,n,t),de(n,a),de(a,r);for(let e=0;e<c.length;e+=1)c[e].m(r,null);de(n,i),de(n,s),de(s,o)},p(t,n){if(16&n[0]){let e;for(l=t[4],e=0;e<l.length;e+=1){var a=Jr(t,l,e);c[e]?c[e].p(a,n):(c[e]=ei(a),c[e].c(),c[e].m(r,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}64&n[0]&&S(r,"transform","translateY("+t[6]+"px)"),256&n[0]&&e!==(e=t[8]("randomGame.randomGameLoading")+"")&&ye(o,e)},d(e){e&&me(n),k(c,e)}}}function ei(e){let n,a,r,i,s,o;return{c(){n=he("div"),a=he("img"),o=pe(),fe(a,"class","RandomGameImage"),fe(a,"part","RandomGameImage"),ce(a.src,r=e[34].thumbnail)||fe(a,"src",r),fe(a,"alt",i=e[34].name),fe(a,"title",s=e[34].name),fe(n,"class","item"),fe(n,"part","item")},m(e,t){ue(e,n,t),de(n,a),de(n,o)},p(e,t){16&t[0]&&!ce(a.src,r=e[34].thumbnail)&&fe(a,"src",r),16&t[0]&&i!==(i=e[34].name)&&fe(a,"alt",i),16&t[0]&&s!==(s=e[34].name)&&fe(a,"title",s)},d(e){e&&me(n)}}}function ti(n){let a,r,i,s,o,l,c,d,u,m,h,g,p,f,y,b,v,w,$,x,S=n[3].name+"",_=n[3].vendor.name+"",C=n[8]("randomGame.playNowRandomGame")+"";return{c(){a=he("div"),r=he("div"),i=he("img"),c=pe(),(d=he("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emfe-w-color-white, #FFFFFF);;}\n </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>',u=pe(),m=he("div"),h=he("p"),g=ge(S),p=pe(),f=he("p"),y=ge(_),b=pe(),v=he("button"),w=ge(C),fe(i,"class","RandomGameImage"),fe(i,"part","RandomGameImage"),ce(i.src,s=n[3].thumbnail)||fe(i,"src",s),fe(i,"alt",o=n[3].name),fe(i,"title",l=n[3].name),fe(d,"class","RandomTryAgain"),fe(d,"part","RandomTryAgain"),fe(r,"class","item"),fe(r,"part","item"),fe(h,"class","RandomGameTitle"),fe(h,"part","RandomGameTitle"),fe(f,"class","RandomGameVendor"),fe(f,"part","RandomGameVendor"),fe(v,"class","RandomGamePlay"),fe(v,"part","RandomGamePlay"),fe(m,"class","RandomGameDetails"),fe(m,"part","RandomGameDetails"),fe(a,"class","RandomGameWrapper"),fe(a,"part","RandomGameWrapper")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,c),de(r,d),de(a,u),de(a,m),de(m,h),de(h,g),de(m,p),de(m,f),de(f,y),de(m,b),de(m,v),de(v,w),$||(x=[z(d,"click",n[20]),z(v,"click",n[21])],$=!0)},p(e,t){8&t[0]&&!ce(i.src,s=e[3].thumbnail)&&fe(i,"src",s),8&t[0]&&o!==(o=e[3].name)&&fe(i,"alt",o),8&t[0]&&l!==(l=e[3].name)&&fe(i,"title",l),8&t[0]&&S!==(S=e[3].name+"")&&ye(g,S),8&t[0]&&_!==(_=e[3].vendor.name+"")&&ye(y,_),256&t[0]&&C!==(C=e[8]("randomGame.playNowRandomGame")+"")&&ye(w,C)},d(e){e&&me(a),$=!1,V(x)}}}function ni(e){let n,a,r=e[8]("randomGame.playRandomGame")+"";return{c(){n=he("span"),a=ge(r),fe(n,"class","RandomButtonText"),fe(n,"part","RandomButtonText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){256&t[0]&&r!==(r=e[8]("randomGame.playRandomGame")+"")&&ye(a,r)},d(e){e&&me(n)}}}function ai(e){let n,a;return{c(){n=he("span"),a=ge(e[1]),fe(n,"class","RandomButtonText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){2&t[0]&&ye(a,e[1])},d(e){e&&me(n)}}}function ri(n){let a,r,i,s,o,l,c,d,u=n[5]&&qr(n);function m(e){return e[1]?ai:e[1]?void 0:ni}let h=m(n),g=h&&h(n);return{c(){a=he("div"),u&&u.c(),r=pe(),i=he("div"),s=he("button"),g&&g.c(),o=pe(),l=he("span"),this.c=W,fe(l,"class","RandomButtonIcon"),fe(l,"part","RandomButtonIcon"),fe(s,"class","RandomButton"),fe(s,"part","RandomButton"),fe(i,"class","RandomButtonWrapper"),fe(i,"part","RandomButtonWrapper"),fe(a,"part","CustomStylingContainer")},m(e,t){ue(e,a,t),u&&u.m(a,null),de(a,r),de(a,i),de(i,s),g&&g.m(s,null),de(s,o),de(s,l),l.innerHTML=n[0],n[23](a),c||(d=z(s,"click",n[22]),c=!0)},p(e,t){e[5]?u?u.p(e,t):((u=qr(e)).c(),u.m(a,r)):u&&(u.d(1),u=null),h===(h=m(e))&&g?g.p(e,t):(g&&g.d(1),(g=h&&h(e))&&(g.c(),g.m(s,o))),1&t[0]&&(l.innerHTML=e[0])},i:W,o:W,d(e){e&&me(a),u&&u.d(),g&&g.d(),n[23](null),c=!1,d()}}}function ii(t,e,n){let a;Ve(t,Ta,e=>n(8,a=e));let r,i,{endpoint:s=""}=e,{datasource:o=""}=e,{gameevent:l=""}=e,{lang:c=""}=e,{randombuttonicon:d=""}=e,{buttontext:u=""}=e,{translationurl:m=""}=e,{clientstyling:h=""}=e,{clientstylingurl:g=""}=e,{filteredrandomgamecategories:p=""}=e,f=[],y="",b=!1,v=0,w=0,$=!1,x=window.navigator.userAgent;var S,_;({withLocale:S,translations:_}={withLocale:"en",translations:{}}),Ye.subscribe(e=>{null==e&&(ia.set(_),Ye.set(S))}),Object.keys(Xr).forEach(e=>{Kr(e,Xr[e])});const C=()=>{n(4,r=T(r)),n(6,v=0),w=0,n(7,$=!1),n(3,y=f[Math.floor(Math.random()*f.length)]),n(5,b=!0)},k=e=>{if(p)for(;C(),!p.includes(y.vendor.name););else C();let t=setInterval(()=>{n(6,v-=100),20==++w&&(n(7,$=!0),clearInterval(t))},100);e&&"function"==typeof gtag&&gtag("event","RefreshRandomGame",{context:"RandomGameWidget",gameId:""+(y.gId||y.id)})},T=e=>{let t,n=e.length;for(;0!=n;)t=Math.floor(Math.random()*n),n--,[e[n],e[t]]=[e[t],e[n]];return e},G=()=>{window.postMessage({type:l,gameId:y.gId||y.id},window.location.href),n(5,b=!1),"function"==typeof gtag&&gtag("event","OpenGame",{context:"RandomGameWidget",gameId:""+(y.gId||y.id)})};return t.$$set=e=>{"endpoint"in e&&n(12,s=e.endpoint),"datasource"in e&&n(13,o=e.datasource),"gameevent"in e&&n(14,l=e.gameevent),"lang"in e&&n(15,c=e.lang),"randombuttonicon"in e&&n(0,d=e.randombuttonicon),"buttontext"in e&&n(1,u=e.buttontext),"translationurl"in e&&n(16,m=e.translationurl),"clientstyling"in e&&n(17,h=e.clientstyling),"clientstylingurl"in e&&n(18,g=e.clientstylingurl),"filteredrandomgamecategories"in e&&n(19,p=e.filteredrandomgamecategories)},t.$$.update=()=>{if(32768&t.$$.dirty[0]&&c&&(e=c,Ye.set(e)),65536&t.$$.dirty[0]&&m&&fetch(m).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Kr(e,t[e])})}).catch(e=>{console.log(e)}),12288&t.$$.dirty[0]&&s&&o){let e=new URL(s+"/casino/games");e.searchParams.append("platform",ze(x)),e.searchParams.append("datasource",o),e.searchParams.append("fields","gId,id,href,thumbnail,name,vendor"),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=1000"),fetch(e.href).then(e=>e.json()).then(e=>{f=e.items,n(4,r=f.slice(0,19))})}if(131076&t.$$.dirty[0]&&h&&i){let e=document.createElement("style");e.innerHTML=h,i.appendChild(e)}if(262148&t.$$.dirty[0]&&g&&i){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e},[d,u,i,y,r,b,v,$,a,k,G,()=>{n(5,b=!1)},s,o,l,c,m,h,g,p,()=>k(!0),()=>G(),()=>k(),function(e){Ue[e?"unshift":"push"](()=>{i=e,n(2,i)})}]}function si(e,t){oa(e,t)}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends e{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:40px 40px 16px 40px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.RandomGamesSliderWrapper{height:170px;overflow:hidden}.items{gap:5px;transition:transform 0.3s ease-in-out;transform:translateY(0px);-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomGameLoading{padding:30px 0}.RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:-10px;right:-10px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}</style>',j(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ii,ri,t,{endpoint:12,datasource:13,gameevent:14,lang:15,randombuttonicon:0,buttontext:1,translationurl:16,clientstyling:17,clientstylingurl:18,filteredrandomgamecategories:19},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","gameevent","lang","randombuttonicon","buttontext","translationurl","clientstyling","clientstylingurl","filteredrandomgamecategories"]}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[13]}set datasource(e){this.$$set({datasource:e}),f()}get gameevent(){return this.$$.ctx[14]}set gameevent(e){this.$$set({gameevent:e}),f()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),f()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}get buttontext(){return this.$$.ctx[1]}set buttontext(e){this.$$set({buttontext:e}),f()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),f()}get clientstyling(){return this.$$.ctx[17]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[18]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get filteredrandomgamecategories(){return this.$$.ctx[19]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),f()}});const oi={en:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},zh:{Translations:{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"}},de:{Translations:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"}},it:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},fr:{Translations:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"}},es:{Translations:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores"}},el:{Translations:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"}},tr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ru:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ro:{Translations:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"}},hr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},hu:{Translations:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"}},pl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},pt:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}}};function li(e,t,n){const a=e.slice();return a[61]=t[n],a}function ci(e,t,n){const a=e.slice();return a[64]=t[n],a}function di(n){let i,a,s,r,o,l,c,d,e,u,m,h,g,p,f,y,b,v,w,$,x=n[14],S=[];for(let e=0;e<x.length;e+=1)S[e]=gi(ci(n,x,e));let _=n[8],C=[];for(let e=0;e<_.length;e+=1)C[e]=pi(li(n,_,e));return{c(){i=he("div"),a=he("div"),s=he("div");for(let e=0;e<S.length;e+=1)S[e].c();r=pe(),o=he("div"),l=he("button"),c=M("svg"),d=M("path"),u=pe(),m=he("button"),h=M("svg"),g=M("path"),y=pe(),b=he("div");for(let e=0;e<C.length;e+=1)C[e].c();fe(s,"class","WinnerButtonsContainer"),fe(d,"style",e=n[9]>=n[8].length?"fill:#F6F6F62E":""),fe(d,"id","Path_36"),fe(d,"data-name","Path 36"),fe(d,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(d,"transform","translate(14.656 0) rotate(90)"),fe(d,"fill","#fff"),fe(c,"id","Component_46_2"),fe(c,"data-name","Component 46 – 2"),fe(c,"xmlns","http://www.w3.org/2000/svg"),fe(c,"width","15"),fe(c,"height","15"),fe(c,"viewBox","0 0 16 24.656"),fe(l,"class","SliderButton"),fe(g,"style",p=n[9]>=n[8].length?"fill:#F6F6F62E":""),fe(g,"id","Path_36"),fe(g,"data-name","Path 36"),fe(g,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(g,"transform","translate(0 24.656) rotate(-90)"),fe(g,"fill","#fff"),fe(h,"id","Component_46_2"),fe(h,"data-name","Component 46 – 2"),fe(h,"xmlns","http://www.w3.org/2000/svg"),fe(h,"width","15"),fe(h,"height","15"),fe(h,"viewBox","0 0 16 24.656"),fe(m,"class","SliderButton"),fe(o,"class",f="ButtonsContainer "+("true"==n[4]?"ButtonsContainerNone":"")),fe(a,"class","WinnersHeader"),fe(b,"class","WinnersSlider"),fe(i,"class",v="CasinoWinners "+(n[10]?"Mobile":""))},m(e,t){ue(e,i,t),de(i,a),de(a,s);for(let e=0;e<S.length;e+=1)S[e].m(s,null);de(a,r),de(a,o),de(o,l),de(l,c),de(c,d),de(o,u),de(o,m),de(m,h),de(h,g),de(i,y),de(i,b);for(let e=0;e<C.length;e+=1)C[e].m(b,null);n[41](b),w||($=[z(l,"click",n[38]),z(m,"click",n[39])],w=!0)},p(t,n){if(114819&n[0]){let e;for(x=t[14],e=0;e<x.length;e+=1){var a=ci(t,x,e);S[e]?S[e].p(a,n):(S[e]=gi(a),S[e].c(),S[e].m(s,null))}for(;e<S.length;e+=1)S[e].d(1);S.length=x.length}if(768&n[0]&&e!==(e=t[9]>=t[8].length?"fill:#F6F6F62E":"")&&fe(d,"style",e),768&n[0]&&p!==(p=t[9]>=t[8].length?"fill:#F6F6F62E":"")&&fe(g,"style",p),16&n[0]&&f!==(f="ButtonsContainer "+("true"==t[4]?"ButtonsContainerNone":""))&&fe(o,"class",f),436492&n[0]){let e;for(_=t[8],e=0;e<_.length;e+=1){var r=li(t,_,e);C[e]?C[e].p(r,n):(C[e]=pi(r),C[e].c(),C[e].m(b,null))}for(;e<C.length;e+=1)C[e].d(1);C.length=_.length}1024&n[0]&&v!==(v="CasinoWinners "+(t[10]?"Mobile":""))&&fe(i,"class",v)},d(e){e&&me(i),k(S,e),k(C,e),n[41](null),w=!1,V($)}}}function ui(e){let n;return{c(){(n=he("p")).textContent="Loading, please wait ..."},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function mi(n){let a,r,i,s,o,l=n[15]("Translations.recentWinners")+"";return{c(){a=he("button"),r=ge(l),fe(a,"class",i="WinnersButton "+("recent"==n[7]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),s||(o=z(a,"click",n[36]),s=!0)},p(e,t){32768&t[0]&&l!==(l=e[15]("Translations.recentWinners")+"")&&ye(r,l),129&t[0]&&i!==(i="WinnersButton "+("recent"==e[7]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(a,"class",i)},d(e){e&&me(a),s=!1,o()}}}function hi(n){let a,r,i,s,o,l,c=n[15]("Translations.topWinners")+"";return{c(){a=he("button"),r=ge(c),i=pe(),fe(a,"class",s="WinnersButton "+("top"==n[7]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),de(a,i),o||(l=z(a,"click",n[37]),o=!0)},p(e,t){32768&t[0]&&c!==(c=e[15]("Translations.topWinners")+"")&&ye(r,c),130&t[0]&&s!==(s="WinnersButton "+("top"==e[7]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(a,"class",s)},d(e){e&&me(a),o=!1,l()}}}function gi(e){let n,a,r="recent"==e[64]&&mi(e),i="top"==e[64]&&hi(e);return{c(){r&&r.c(),n=pe(),i&&i.c(),a=l()},m(e,t){r&&r.m(e,t),ue(e,n,t),i&&i.m(e,t),ue(e,a,t)},p(e,t){"recent"==e[64]?r?r.p(e,t):((r=mi(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null),"top"==e[64]?i?i.p(e,t):((i=hi(e)).c(),i.m(a.parentNode,a)):i&&(i.d(1),i=null)},d(e){r&&r.d(e),e&&me(n),i&&i.d(e),e&&me(a)}}}function pi(n){let a,r,i,s,o,l,c,d,u,m,h,g,p,f,y,b,v,w,$,x,S,_,C,k,T=n[61].gameName+"",G=n[17](n[61].username)+"",M=n[15]("Translations.won")+"",E=n[61].specifiedCurrencyAmount.toFixed(2)+"",L=(n[11]?n[3]:n[2])+"";function P(){return n[40](n[61])}return{c(){a=he("div"),r=he("div"),i=he("img"),l=pe(),c=he("p"),d=ge(T),u=pe(),m=he("p"),h=ge(G),g=pe(),p=he("p"),f=ge(M),y=pe(),b=he("p"),v=ge(E),w=pe(),$=he("span"),x=ge(L),S=pe(),ce(i.src,s=n[61]?.gameModel?.thumbnail)||fe(i,"src",s),fe(i,"alt",o=n[61]?.gameModel?.thumbnail),fe(i,"class","WinnersImage"),fe(p,"class","WinnerUsername"),fe(r,"class","WinnerCard"),fe(a,"class",_="CardWrapper "+(n[13]?"CardWrapperAnimation":""))},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,l),de(r,c),de(c,d),de(r,u),de(r,m),de(m,h),de(r,g),de(r,p),de(p,f),de(r,y),de(r,b),de(b,v),de(b,w),de(b,$),de($,x),de(a,S),C||(k=z(i,"click",P),C=!0)},p(e,t){n=e,256&t[0]&&!ce(i.src,s=n[61]?.gameModel?.thumbnail)&&fe(i,"src",s),256&t[0]&&o!==(o=n[61]?.gameModel?.thumbnail)&&fe(i,"alt",o),256&t[0]&&T!==(T=n[61].gameName+"")&&ye(d,T),256&t[0]&&G!==(G=n[17](n[61].username)+"")&&ye(h,G),32768&t[0]&&M!==(M=n[15]("Translations.won")+"")&&ye(f,M),256&t[0]&&E!==(E=n[61].specifiedCurrencyAmount.toFixed(2)+"")&&ye(v,E),2060&t[0]&&L!==(L=(n[11]?n[3]:n[2])+"")&&ye(x,L),8192&t[0]&&_!==(_="CardWrapper "+(n[13]?"CardWrapperAnimation":""))&&fe(a,"class",_)},d(e){e&&me(a),C=!1,k()}}}function fi(n){let a;function r(e){return e[12]?ui:di}let i=r(n),s=i(n);return{c(){a=he("div"),s.c(),this.c=W},m(e,t){ue(e,a,t),s.m(a,null),n[42](a)},p(e,t){i===(i=r(e))&&s?s.p(e,t):(s.d(1),(s=i(e))&&(s.c(),s.m(a,null)))},i:W,o:W,d(e){e&&me(a),s.d(),n[42](null)}}}function yi(t,e,a){let n;Ve(t,Ta,e=>a(15,n=e));let r,i,A,s,O,o,N,l,c,d,{endpoint:u=""}=e,{session:m=""}=e,{userid:h=""}=e,{periodrecent:g="Today"}=e,{periodtop:p="Last7Days"}=e,{numberusersrecent:f="20"}=e,{numberuserstop:y="20"}=e,{amountlimit:b="1"}=e,{vendorCategory:v="All"}=e,{lang:w="en"}=e,{isrecentavailable:$="true"}=e,{istopavailable:x="true"}=e,{defaultcurrency:S=""}=e,{usercurrency:_=""}=e,{clientstyling:C=""}=e,{clientstylingurl:k=""}=e,{enableautoscroll:T=""}=e,{tabsorder:G=""}=e,{translationurl:M=""}=e,E=[],L=0,P=0,D=window.navigator.userAgent,B=!0,F=!1;Object.keys(oi).forEach(e=>{si(e,oi[e])});const H=()=>{const e=new URL(`${u}/casino/${i}-winners`);e.searchParams.append("limit","recent"==i?f:y),e.searchParams.append("specifiedCurrency",d),e.searchParams.append("period","recent"==i?g:p),e.searchParams.append("language",w),e.searchParams.append("amountLimit",b),e.searchParams.append("vendorCategory",v),fetch(e.href).then(e=>e.json()).then(e=>{a(8,E=[]),a(8,E=e.items.map(e=>e)),a(12,B=!1),setTimeout(()=>{a(9,P=Math.round(r.offsetWidth/225)),U(),"true"==T&&(L=0,P<N?l=setInterval(()=>{I()},3e3):clearInterval(l))})})},R=e=>{i!==e&&(a(7,i=e),a(8,E=[]),H())},j=(e,t,n)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"WinnersWidget",gameId:""+e,userId:""+(O||"Not logged in")})},U=n=>{const e=[...r.children];N=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),"top"==i?setTimeout(()=>{a(13,F=!0)},10):a(13,F=!1)},Y=()=>{U(L)},W=()=>{var e=E.length;P>=E.length||(0===L?L=e-P:L-P<0?L=0:L-=P,Y())},I=()=>{var e=E.length;P>=E.length||("true"==T&&(L===e-P?L=0:L++),"false"==T&&(L===e-P?L=0:e-P<L+P?L=e-P:L+=P),Y())},z=()=>{a(35,d=s?_:S)};return Ze(()=>(a(10,A=We(D)),()=>{clearInterval(l)})),t.$$set=e=>{"endpoint"in e&&a(22,u=e.endpoint),"session"in e&&a(23,m=e.session),"userid"in e&&a(24,h=e.userid),"periodrecent"in e&&a(25,g=e.periodrecent),"periodtop"in e&&a(26,p=e.periodtop),"numberusersrecent"in e&&a(27,f=e.numberusersrecent),"numberuserstop"in e&&a(28,y=e.numberuserstop),"amountlimit"in e&&a(21,b=e.amountlimit),"vendorCategory"in e&&a(29,v=e.vendorCategory),"lang"in e&&a(30,w=e.lang),"isrecentavailable"in e&&a(0,$=e.isrecentavailable),"istopavailable"in e&&a(1,x=e.istopavailable),"defaultcurrency"in e&&a(2,S=e.defaultcurrency),"usercurrency"in e&&a(3,_=e.usercurrency),"clientstyling"in e&&a(31,C=e.clientstyling),"clientstylingurl"in e&&a(32,k=e.clientstylingurl),"enableautoscroll"in e&&a(4,T=e.enableautoscroll),"tabsorder"in e&&a(33,G=e.tabsorder),"translationurl"in e&&a(34,M=e.translationurl)},t.$$.update=()=>{if(2116026371&t.$$.dirty[0]|4&t.$$.dirty[1]&&$&&x&&g&&p&&f&&y&&b&&v&&w&&G&&(a(14,c=G.split(",")),a(7,i=c[0]),"false"==$&&a(21,b=""),z()),12582912&t.$$.dirty[0]&&m&&u&&(a(11,s=!0),O=h,z()),4194320&t.$$.dirty[0]|16&t.$$.dirty[1]&&u&&d&&T&&H(),1073741824&t.$$.dirty[0]&&w&&(e=w,Ye.set(e)),8&t.$$.dirty[1]&&M&&fetch(M).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{si(e,t[e])})}).catch(e=>{console.log(e)}),32&t.$$.dirty[0]|1&t.$$.dirty[1]&&C&&o){let e=document.createElement("style");e.innerHTML=C,o.appendChild(e)}if(32&t.$$.dirty[0]|2&t.$$.dirty[1]&&k&&o){let e=new URL(k),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[$,x,S,_,T,o,r,i,E,P,A,s,B,F,c,n,R,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),j,W,I,b,u,m,h,g,p,f,y,v,w,C,k,G,M,d,()=>R("recent"),()=>R("top"),()=>W(),()=>I(),e=>j(e.gameId,e.gameModel.launchUrl,e.gameModel.name),function(e){Ue[e?"unshift":"push"](()=>{r=e,a(6,r)})},function(e){Ue[e?"unshift":"push"](()=>{o=e,a(5,o)})}]}function bi(e,t){oa(e,t)}customElements.get("casino-winners")||customElements.define("casino-winners",class extends e{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton:focus{color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-color-primary, #D0046C)}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emfe-w-color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-color-primary, #D0046C);font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .WinnersSlider::-webkit-scrollbar{display:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}</style>',j(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},yi,fi,t,{endpoint:22,session:23,userid:24,periodrecent:25,periodtop:26,numberusersrecent:27,numberuserstop:28,amountlimit:21,vendorCategory:29,lang:30,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:31,clientstylingurl:32,enableautoscroll:4,tabsorder:33,translationurl:34},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","session","userid","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","vendorCategory","lang","isrecentavailable","istopavailable","defaultcurrency","usercurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder","translationurl"]}get endpoint(){return this.$$.ctx[22]}set endpoint(e){this.$$set({endpoint:e}),f()}get session(){return this.$$.ctx[23]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[24]}set userid(e){this.$$set({userid:e}),f()}get periodrecent(){return this.$$.ctx[25]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[26]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[27]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[28]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[21]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get vendorCategory(){return this.$$.ctx[29]}set vendorCategory(e){this.$$set({vendorCategory:e}),f()}get lang(){return this.$$.ctx[30]}set lang(e){this.$$set({lang:e}),f()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get usercurrency(){return this.$$.ctx[3]}set usercurrency(e){this.$$set({usercurrency:e}),f()}get clientstyling(){return this.$$.ctx[31]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[32]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get enableautoscroll(){return this.$$.ctx[4]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get tabsorder(){return this.$$.ctx[33]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get translationurl(){return this.$$.ctx[34]}set translationurl(e){this.$$set({translationurl:e}),f()}});const vi={en:{jackpotBanners:{loadingText:"Loading, please wait..."}},zh:{jackpotBanners:{loadingText:"加载请稍候 ..."}},fr:{jackpotBanners:{loadingText:"Chargement, veuillez patienter..."}},ro:{jackpotBanners:{loadingText:"Se incarca, va rugam asteptati..."}},es:{jackpotBanners:{loadingText:"Cargando"}},pt:{jackpotBanners:{loadingText:"Carregando, por favor espere..."}},de:{jackpotBanners:{loadingText:"Laden, bitte warten..."}}};function wi(e,t,n){const a=e.slice();return a[49]=t[n],a[51]=n,a}function $i(n){let a,r,i,s,o,l,c,d,u,m,h,g,p,f,y,b,v;function w(e){return e[5]?_i:Ci}let $=w(n),x=$(n);return{c(){a=he("div"),r=he("div"),i=he("div"),s=he("div"),o=he("img"),c=pe(),d=he("div"),x.c(),u=pe(),m=he("div"),h=he("img"),ce(o.src,l=n[6])||fe(o,"src",l),fe(o,"alt",""),fe(s,"class","vendorLogo"),fe(d,"class","displayContainer"),ce(h.src,g=n[11])||fe(h,"src",g),fe(h,"alt",""),fe(m,"class","title"),fe(i,"class",p="mainWrapper "+n[0]+" "+(n[4]&&!n[5]?"mobile":n[5]?"tablet":"")),S(i,"background","url("+n[10]+")"),fe(r,"class","jackpotBanner"),fe(a,"class",f=n[12]?"DisplayNone":""),fe(a,"part",y=n[12]?"DisplayNone":"")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(i,s),de(s,o),de(i,c),de(i,d),x.m(d,null),de(i,u),de(i,m),de(m,h),b||(v=z(r,"click",n[32]),b=!0)},p(e,t){64&t[0]&&!ce(o.src,l=e[6])&&fe(o,"src",l),$===($=w(e))&&x?x.p(e,t):(x.d(1),(x=$(e))&&(x.c(),x.m(d,null))),2048&t[0]&&!ce(h.src,g=e[11])&&fe(h,"src",g),49&t[0]&&p!==(p="mainWrapper "+e[0]+" "+(e[4]&&!e[5]?"mobile":e[5]?"tablet":""))&&fe(i,"class",p),1024&t[0]&&S(i,"background","url("+e[10]+")"),4096&t[0]&&f!==(f=e[12]?"DisplayNone":"")&&fe(a,"class",f),4096&t[0]&&y!==(y=e[12]?"DisplayNone":"")&&fe(a,"part",y)},d(e){e&&me(a),x.d(),b=!1,v()}}}function xi(e){let n,a,r=e[14]("jackpotBanners.loadingText")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","loadingPrompt")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){16384&t[0]&&r!==(r=e[14]("jackpotBanners.loadingText")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Si(e){let n;return{c(){(n=he("p")).textContent="500 Server error"},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function _i(e){let n,a,r,i,s,o,O,l,c,N,D,d,B,H,u,m,h,g,p,j,f,y,U,Y,b,W,z,v,w,$,x,S,_,V,C,k,Z,K,T,X,J,G,M,E,L,P,q,F,R,Q,ee,I,te,A=e[8][0]+"",ne=e[7][0]+"",ae=e[8][1]+"",re=e[7][1]+"",ie=e[8][2]+"",se=e[7][2]+"",oe=e[8][3]+"",le=e[7][3]+"";return{c(){n=he("div"),a=he("div"),r=he("div"),i=he("img"),o=he("span"),O=ge(A),l=he("span"),c=he("span"),N=ge(ne),D=pe(),d=he("span"),B=ge(e[1]),H=pe(),u=he("div"),m=he("div"),h=he("img"),p=he("span"),j=ge(ae),f=he("span"),y=he("span"),U=ge(re),Y=pe(),b=he("span"),W=ge(e[1]),z=pe(),v=he("div"),w=he("div"),$=he("div"),x=he("img"),_=he("span"),V=ge(ie),C=he("span"),k=he("span"),Z=ge(se),K=pe(),T=he("span"),X=ge(e[1]),J=pe(),G=he("div"),M=he("div"),E=he("img"),P=he("span"),q=ge(oe),F=he("span"),R=he("span"),Q=ge(le),ee=pe(),I=he("span"),te=ge(e[1]),fe(i,"class","displayCardIcon"),ce(i.src,s=e[9][0])||fe(i,"src",s),fe(i,"alt",""),fe(o,"class","cardLabel"),fe(r,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(d,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(a,"class","displayCard"),fe(h,"class","displayCardIcon"),ce(h.src,g=e[9][1])||fe(h,"src",g),fe(h,"alt",""),fe(p,"class","cardLabel"),fe(m,"class","iconWrapper"),fe(y,"class","jackpotValue"),fe(b,"class","jackpot-currency"),fe(f,"class","cardTextWrapper"),fe(u,"class","displayCard"),fe(n,"class","pairWrapper"),fe(x,"class","displayCardIcon"),ce(x.src,S=e[9][2])||fe(x,"src",S),fe(x,"alt",""),fe(_,"class","cardLabel"),fe($,"class","iconWrapper"),fe(k,"class","jackpotValue"),fe(T,"class","jackpot-currency"),fe(C,"class","cardTextWrapper"),fe(w,"class","displayCard"),fe(E,"class","displayCardIcon"),ce(E.src,L=e[9][3])||fe(E,"src",L),fe(E,"alt",""),fe(P,"class","cardLabel"),fe(M,"class","iconWrapper"),fe(R,"class","jackpotValue"),fe(I,"class","jackpot-currency"),fe(F,"class","cardTextWrapper"),fe(G,"class","displayCard"),fe(v,"class","pairWrapper")},m(e,t){ue(e,n,t),de(n,a),de(a,r),de(r,i),de(r,o),de(o,O),de(a,l),de(l,c),de(c,N),de(l,D),de(l,d),de(d,B),de(n,H),de(n,u),de(u,m),de(m,h),de(m,p),de(p,j),de(u,f),de(f,y),de(y,U),de(f,Y),de(f,b),de(b,W),ue(e,z,t),ue(e,v,t),de(v,w),de(w,$),de($,x),de($,_),de(_,V),de(w,C),de(C,k),de(k,Z),de(C,K),de(C,T),de(T,X),de(v,J),de(v,G),de(G,M),de(M,E),de(M,P),de(P,q),de(G,F),de(F,R),de(R,Q),de(F,ee),de(F,I),de(I,te)},p(e,t){512&t[0]&&!ce(i.src,s=e[9][0])&&fe(i,"src",s),256&t[0]&&A!==(A=e[8][0]+"")&&ye(O,A),128&t[0]&&ne!==(ne=e[7][0]+"")&&ye(N,ne),2&t[0]&&ye(B,e[1]),512&t[0]&&!ce(h.src,g=e[9][1])&&fe(h,"src",g),256&t[0]&&ae!==(ae=e[8][1]+"")&&ye(j,ae),128&t[0]&&re!==(re=e[7][1]+"")&&ye(U,re),2&t[0]&&ye(W,e[1]),512&t[0]&&!ce(x.src,S=e[9][2])&&fe(x,"src",S),256&t[0]&&ie!==(ie=e[8][2]+"")&&ye(V,ie),128&t[0]&&se!==(se=e[7][2]+"")&&ye(Z,se),2&t[0]&&ye(X,e[1]),512&t[0]&&!ce(E.src,L=e[9][3])&&fe(E,"src",L),256&t[0]&&oe!==(oe=e[8][3]+"")&&ye(q,oe),128&t[0]&&le!==(le=e[7][3]+"")&&ye(Q,le),2&t[0]&&ye(te,e[1])},d(e){e&&me(n),e&&me(z),e&&me(v)}}}function Ci(t){let r,i=Array(4),s=[];for(let e=0;e<i.length;e+=1)s[e]=ki(wi(t,i,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();r=l()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);ue(t,r,n)},p(t,n){if(898&n[0]){let e;for(i=Array(4),e=0;e<i.length;e+=1){var a=wi(t,i,e);s[e]?s[e].p(a,n):(s[e]=ki(a),s[e].c(),s[e].m(r.parentNode,r))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}},d(e){k(s,e),e&&me(r)}}}function ki(e){let n,a,r,i,s,o,l,c,d,u,m,h,g=e[8][e[51]]+"",p=(e[7][e[51]]??"")+"";return{c(){n=he("div"),a=he("div"),r=he("img"),s=he("span"),o=ge(g),l=he("span"),c=he("span"),d=ge(p),u=pe(),m=he("span"),h=ge(e[1]),fe(r,"class","displayCardIcon"),ce(r.src,i=e[9][e[51]])||fe(r,"src",i),fe(r,"alt",""),fe(s,"class","cardLabel"),fe(a,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(m,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(n,"class","displayCard")},m(e,t){ue(e,n,t),de(n,a),de(a,r),de(a,s),de(s,o),de(n,l),de(l,c),de(c,d),de(l,u),de(l,m),de(m,h)},p(e,t){512&t[0]&&!ce(r.src,i=e[9][e[51]])&&fe(r,"src",i),256&t[0]&&g!==(g=e[8][e[51]]+"")&&ye(o,g),128&t[0]&&p!==(p=(e[7][e[51]]??"")+"")&&ye(d,p),2&t[0]&&ye(h,e[1])},d(e){e&&me(n)}}}function Ti(n){let a;function r(e){return e[13]?Si:e[3]?xi:$i}let i=r(n),s=i(n);return{c(){a=he("div"),s.c(),this.c=W},m(e,t){ue(e,a,t),s.m(a,null),n[33](a)},p(e,t){i===(i=r(e))&&s?s.p(e,t):(s.d(1),(s=i(e))&&(s.c(),s.m(a,null)))},i:W,o:W,d(e){e&&me(a),s.d(),n[33](null)}}}function Gi(n,e,a){let t;Ve(n,Ta,e=>a(14,t=e));let r,i,{visualstructure:s=""}=e,{title:o=""}=e,{caticon0:l=""}=e,{caticon1:c=""}=e,{caticon2:d=""}=e,{caticon3:u=""}=e,{iconlabels:m=""}=e,{backgroundsrc:h=""}=e,{currency:g=""}=e,{backgroundsrcmobile:p=""}=e,{titlelogopath:f=""}=e,{lang:y="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{translationurl:w=""}=e,{endpoint:$=""}=e,{gameid:x=""}=e,A=window.navigator.userAgent,S=!1,_=!1,C="",k=[],T=[],G=[],M=[],E=[],L="",P="",F=!1,R=!0,O=!1;Object.keys(vi).forEach(e=>{bi(e,vi[e])});const I=["typeSpread","typeLeft"],N=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:x},window.location.href),"function"==typeof gtag&&gtag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:""+x})};return n.$$set=e=>{"visualstructure"in e&&a(0,s=e.visualstructure),"title"in e&&a(16,o=e.title),"caticon0"in e&&a(17,l=e.caticon0),"caticon1"in e&&a(18,c=e.caticon1),"caticon2"in e&&a(19,d=e.caticon2),"caticon3"in e&&a(20,u=e.caticon3),"iconlabels"in e&&a(21,m=e.iconlabels),"backgroundsrc"in e&&a(22,h=e.backgroundsrc),"currency"in e&&a(1,g=e.currency),"backgroundsrcmobile"in e&&a(23,p=e.backgroundsrcmobile),"titlelogopath"in e&&a(24,f=e.titlelogopath),"lang"in e&&a(25,y=e.lang),"clientstyling"in e&&a(26,b=e.clientstyling),"clientstylingurl"in e&&a(27,v=e.clientstylingurl),"translationurl"in e&&a(28,w=e.translationurl),"endpoint"in e&&a(29,$=e.endpoint),"gameid"in e&&a(30,x=e.gameid)},n.$$.update=()=>{if(536870912&n.$$.dirty[0]&&$&&(t=new URL($+"/casino/jackpots/config"),fetch(t.href).then(e=>e.json()).then(e=>{a(31,T=e.egtJackpotIds.map(e=>e))})),67108868&n.$$.dirty[0]&&r&&b){let e=document.createElement("style");e.innerHTML=b,r.appendChild(e)}if(134217732&n.$$.dirty[0]&&r&&v){a(12,F=!0);let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1),setTimeout(()=>{a(12,F=!1)},500)})}if(570425346&n.$$.dirty[0]|1&n.$$.dirty[1]&&$&&y&&g&&0<T.length&&($&&y&&g)){let e=new URL($+"/casino/jackpots");e.searchParams.append("filter","id="+x),e.searchParams.append("language",y),e.searchParams.append("additionalDataCurrency",g),fetch(e.href).then(e=>e.json().then(e=>{a(3,R=!1),i=e,T.includes(x)&&((e=null==(e=null==(e=i)?void 0:e.items[0])?void 0:e.additionalData)&&Object.values(e).forEach(e=>k.push(+e)),a(6,C=i.items[0].vendorLogo))}).catch(e=>{a(13,O=!0),a(3,R=!1),console.error(e)}))}var e,t;33554442&n.$$.dirty[0]&&g&&y&&!R&&(a(4,S=We(A)&&1<window.innerHeight/window.innerWidth),a(5,_=.75<(t=window.innerHeight/window.innerWidth)&&t<1.6),0!==k.length&&a(7,G=k.map(e=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(e))),a(8,M=m?m.split(",").map(e=>e.trim().toUpperCase()):new Array(4).fill("")),I.includes(s.trim())?a(0,s=s.trim()):(console.warn(`Invalid Attribute Value: "${s}" is not a valid value for the "visualstructure" attribute. Defaulting to "${I[0]}"`),a(0,s=I[0])),a(10,L=p&&S&&!_?p:h),a(11,P=f),a(9,E=[l,c,d,u])),33554432&n.$$.dirty[0]&&y&&(e=y,Ye.set(e)),268435456&n.$$.dirty[0]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{bi(e,t[e])})}).catch(e=>{console.log(e)})},[s,g,r,R,S,_,C,G,M,E,L,P,F,O,t,N,o,l,c,d,u,m,h,p,f,y,b,v,w,$,x,T,()=>N(),function(e){Ue[e?"unshift":"push"](()=>{r=e,a(2,r)})}]}function Mi(e,t){oa(e,t)}customElements.get("jackpot-banner")||customElements.define("jackpot-banner",class extends e{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:24px;width:auto;display:flex;align-items:center}.vendorLogo img{height:100%;width:auto}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:clamp(30vw, 100%, 50vw);gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:24px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}</style>',j(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Gi,Ti,t,{visualstructure:0,title:16,caticon0:17,caticon1:18,caticon2:19,caticon3:20,iconlabels:21,backgroundsrc:22,currency:1,backgroundsrcmobile:23,titlelogopath:24,lang:25,clientstyling:26,clientstylingurl:27,translationurl:28,endpoint:29,gameid:30},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["visualstructure","title","caticon0","caticon1","caticon2","caticon3","iconlabels","backgroundsrc","currency","backgroundsrcmobile","titlelogopath","lang","clientstyling","clientstylingurl","translationurl","endpoint","gameid"]}get visualstructure(){return this.$$.ctx[0]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get title(){return this.$$.ctx[16]}set title(e){this.$$set({title:e}),f()}get caticon0(){return this.$$.ctx[17]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[18]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[19]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[20]}set caticon3(e){this.$$set({caticon3:e}),f()}get iconlabels(){return this.$$.ctx[21]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get backgroundsrc(){return this.$$.ctx[22]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get currency(){return this.$$.ctx[1]}set currency(e){this.$$set({currency:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[23]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[24]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get lang(){return this.$$.ctx[25]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[28]}set translationurl(e){this.$$set({translationurl:e}),f()}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),f()}get gameid(){return this.$$.ctx[30]}set gameid(e){this.$$set({gameid:e}),f()}});const Ei={en:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},zh:{Translations:{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."}},de:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."}},it:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},fr:{Translations:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."}},es:{Translations:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"}},el:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."}},tr:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Yükleniyor, lütfen bekleyin..."}},ru:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},ro:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Se încarcă, asteptati ..."}},hr:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},hu:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."}},pl:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},pt:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."}},sl:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},sr:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}}};function Li(e,t,n){const a=e.slice();return a[40]=t[n],a}function Pi(e,t,n){const a=e.slice();return a[43]=t[n],a}function Fi(n){let r,a,i,s,o,l,c,d,u,m,h,e,g,p,f=("vendor"==n[0]?n[8]("Translations.providers"):n[8]("Translations.collections"))+"",y=n[3],b=[];for(let e=0;e<y.length;e+=1)b[e]=Di(Li(n,y,e));return{c(){r=he("div"),a=he("div"),i=he("p"),s=ge(f),o=pe(),l=he("div"),(c=he("button")).innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',d=pe(),(u=he("button")).innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',m=pe(),h=he("div");for(let e=0;e<b.length;e+=1)b[e].c();fe(i,"class","Title"),fe(l,"class","ButtonsContainer"),fe(a,"class","CategoriesHeader"),fe(h,"class","CategoriesSlider"),fe(r,"class",e="CasinoCollectionsProviders "+(n[7]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,s),de(a,o),de(a,l),de(l,c),de(l,d),de(l,u),de(r,m),de(r,h);for(let e=0;e<b.length;e+=1)b[e].m(h,null);n[23](h),g||(p=[z(c,"click",n[19]),z(u,"click",n[20])],g=!0)},p(t,n){if(257&n[0]&&f!==(f=("vendor"==t[0]?t[8]("Translations.providers"):t[8]("Translations.collections"))+"")&&ye(s,f),6158&n[0]){let e;for(y=t[3],e=0;e<y.length;e+=1){var a=Li(t,y,e);b[e]?b[e].p(a,n):(b[e]=Di(a),b[e].c(),b[e].m(h,null))}for(;e<b.length;e+=1)b[e].d(1);b.length=y.length}128&n[0]&&e!==(e="CasinoCollectionsProviders "+(t[7]?"Mobile":""))&&fe(r,"class",e)},d(e){e&&me(r),k(b,e),n[23](null),g=!1,V(p)}}}function Ri(e){let n,a,r=e[8]("Translations.loading")+"";return{c(){n=he("p"),a=ge(r)},m(e,t){ue(e,n,t),de(n,a)},p(e,t){256&t[0]&&r!==(r=e[8]("Translations.loading")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Ii(e){let n,a,r=e[40].name+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","CategorySlideTitle")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){8&t[0]&&r!==(r=e[40].name+"")&&ye(a,r)},d(e){e&&me(n)}}}function Ai(e){let n,a,r;return{c(){fe(n=he("img"),"class","CategorySlideLogo"),ce(n.src,a=e[40].icon)||fe(n,"src",a),fe(n,"alt",r=e[40].name+" icon")},m(e,t){ue(e,n,t)},p(e,t){8&t[0]&&!ce(n.src,a=e[40].icon)&&fe(n,"src",a),8&t[0]&&r!==(r=e[40].name+" icon")&&fe(n,"alt",r)},d(e){e&&me(n)}}}function Oi(e){let n,a,r,i=e[43].name+"";return{c(){n=he("p"),a=ge(i),fe(n,"title",r=e[43].name)},m(e,t){ue(e,n,t),de(n,a)},p(e,t){8&t[0]&&i!==(i=e[43].name+"")&&ye(a,i),8&t[0]&&r!==(r=e[43].name)&&fe(n,"title",r)},d(e){e&&me(n)}}}function Ni(n){let a,r,i,s,o,l,c,d;function u(){return n[21](n[43])}let m="true"==n[2]&&Oi(n);return{c(){a=he("div"),r=he("img"),o=pe(),m&&m.c(),l=pe(),fe(r,"class","CategorySlideGameImage"),ce(r.src,i=n[43].defaultThumbnail)||fe(r,"src",i),fe(r,"alt",s=n[43].name),fe(a,"class","CategorySlideGames")},m(e,t){var n;ue(e,a,t),de(a,r),de(a,o),m&&m.m(a,null),de(a,l),c||(d=z(r,"click",(n=u,function(e){return e.stopPropagation(),n.call(this,e)})),c=!0)},p(e,t){n=e,8&t[0]&&!ce(r.src,i=n[43].defaultThumbnail)&&fe(r,"src",i),8&t[0]&&s!==(s=n[43].name)&&fe(r,"alt",s),"true"==n[2]?m?m.p(n,t):((m=Oi(n)).c(),m.m(a,l)):m&&(m.d(1),m=null)},d(e){e&&me(a),m&&m.d(),c=!1,d()}}}function Di(n){let a,r,i,s,o,l,c,d,u;function m(e){return"logo"==e[1]?Ai:"title"==e[1]?Ii:void 0}let h=m(n),g=h&&h(n),p=n[40].games,f=[];for(let e=0;e<p.length;e+=1)f[e]=Ni(Pi(n,p,e));function y(){return n[22](n[40])}return{c(){a=he("div"),r=he("div"),i=he("div"),g&&g.c(),s=pe(),o=he("div");for(let e=0;e<f.length;e+=1)f[e].c();c=pe(),fe(i,"class","CategorySlideTopContainer"),fe(o,"class","CategorySlideGameContainer"),fe(r,"class",l="CategorySlide "+("vendor"==n[40]?.flag[0]?"CategorySlideNoHighlight":"")),S(r,"background-image","url("+n[40]?.background+")"),fe(a,"class","CategoriesSliderWrapper Animation")},m(e,t){ue(e,a,t),de(a,r),de(r,i),g&&g.m(i,null),de(r,s),de(r,o);for(let e=0;e<f.length;e+=1)f[e].m(o,null);de(a,c),d||(u=z(r,"click",y),d=!0)},p(e,t){if(h===(h=m(n=e))&&g?g.p(n,t):(g&&g.d(1),(g=h&&h(n))&&(g.c(),g.m(i,null))),2060&t[0]){let e;for(p=n[40].games,e=0;e<p.length;e+=1){const r=Pi(n,p,e);f[e]?f[e].p(r,t):(f[e]=Ni(r),f[e].c(),f[e].m(o,null))}for(;e<f.length;e+=1)f[e].d(1);f.length=p.length}8&t[0]&&l!==(l="CategorySlide "+("vendor"==n[40]?.flag[0]?"CategorySlideNoHighlight":""))&&fe(r,"class",l),8&t[0]&&S(r,"background-image","url("+n[40]?.background+")")},d(e){e&&me(a),g&&g.d(),k(f,e),d=!1,u()}}}function Bi(n){let a;function r(e){return e[6]?Ri:Fi}let i=r(n),s=i(n);return{c(){a=he("div"),s.c(),this.c=W},m(e,t){ue(e,a,t),s.m(a,null),n[24](a)},p(e,t){i===(i=r(e))&&s?s.p(e,t):(s.d(1),(s=i(e))&&(s.c(),s.m(a,null)))},i:W,o:W,d(e){e&&me(a),s.d(),n[24](null)}}}function Hi(n,e,a){let t;Ve(n,Ta,e=>a(8,t=e));let r,i,s,o,l,{endpoint:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{type:m=""}=e,{titletype:h=""}=e,{clientstyling:g=""}=e,{clientstylingurl:p=""}=e,{translationurl:f=""}=e,{collectionprovidersgamenames:y=""}=e,b=[],v=!0,w=0,$=0,x=0,S=window.navigator.userAgent;Object.keys(Ei).forEach(e=>{Mi(e,Ei[e])});const _=n=>{(s=[...r.children]).forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),s.map(e=>i=e.getBoundingClientRect().width),x=Math.round(r.offsetWidth/i)},C=()=>{_(w)},k=()=>{x>=$||(0===w?w=$-x:w-x<-1?w=0:w--,C())},T=()=>{x>=$||(w===$-x?w=0:$-x<w+1?w=$-x:w++,C())},G=(e,t,n)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:e,launchUrl:t,gameName:n},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"CollectionsProviders",gameName:""+n})},M=e=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:e},window.location.href)};return Ze(()=>{a(7,l=We(S))}),n.$$set=e=>{"endpoint"in e&&a(13,c=e.endpoint),"datasource"in e&&a(14,d=e.datasource),"lang"in e&&a(15,u=e.lang),"type"in e&&a(0,m=e.type),"titletype"in e&&a(1,h=e.titletype),"clientstyling"in e&&a(16,g=e.clientstyling),"clientstylingurl"in e&&a(17,p=e.clientstylingurl),"translationurl"in e&&a(18,f=e.translationurl),"collectionprovidersgamenames"in e&&a(2,y=e.collectionprovidersgamenames)},n.$$.update=()=>{if(57344&n.$$.dirty[0]&&c&&d&&u){const t=new URL(c+"/v2/casino/groups/"+d);t.searchParams.append("language",u),t.searchParams.append("expand","games"),fetch(t.href).then(e=>e.json()).then(e=>{a(6,v=!1);let t=e.items.filter(e=>e.flags==m);a(3,b=t.map(e=>{var t;return{id:e.id,name:e.name,icon:e.icon||(null==(t=null==(t=null==(t=e.vendors)?void 0:t.items[0])?void 0:t.subVendors[0])?void 0:t.logo),games:e.games.items.slice(0,4).map(e=>e),background:e.background,flag:e.flags}})),$=b.length})}if(24&n.$$.dirty[0]&&b&&r&&_(),32768&n.$$.dirty[0]&&u&&(e=u,Ye.set(e)),65568&n.$$.dirty[0]&&g&&o){let e=document.createElement("style");e.innerHTML=g,o.appendChild(e)}if(131104&n.$$.dirty[0]&&p&&o){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{},500)})}var e;262144&n.$$.dirty[0]&&f&&fetch(f).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Mi(e,t[e])})}).catch(e=>{console.log(e)})},[m,h,y,b,r,o,v,l,t,k,T,G,M,c,d,u,g,p,f,()=>k(),()=>T(),e=>G(e.gameId,e.launchUrl,e.name),e=>M(e.id),function(e){Ue[e?"unshift":"push"](()=>{r=e,a(4,r)})},function(e){Ue[e?"unshift":"push"](()=>{o=e,a(5,o)})}]}function ji(n){let a,r,i,s,o;return{c(){a=he("div"),r=he("casino-games-category-section"),this.c=W,x(r,"session",n[0]),x(r,"userid",n[1]),x(r,"endpoint",n[2]),x(r,"datasource",n[3]),x(r,"lang",n[5]),x(r,"currency",n[4]),x(r,"favorites",n[13]),x(r,"categoryid","FAVORITES"),x(r,"class","CategoryContainer"),x(r,"clientstyling",n[6]),x(r,"clientstylingurl",n[7]),x(r,"livecasino",n[8]),x(r,"visiblegames",n[12]),x(r,"gamepagemodalurl",n[11]),x(r,"integratedgameframedesktop",n[10]),x(r,"integratedgameframemobile",n[9]),x(r,"casinomygames",n[14]),fe(a,"class","CasinoFavoritesSectionContainer")},m(e,t){ue(e,a,t),de(a,r),n[18](a),s||(o=E(i=n[16].call(null,r,(n[2],n[1],n[0],n[1]))),s=!0)},p(e,[t]){1&t&&x(r,"session",e[0]),2&t&&x(r,"userid",e[1]),4&t&&x(r,"endpoint",e[2]),8&t&&x(r,"datasource",e[3]),32&t&&x(r,"lang",e[5]),16&t&&x(r,"currency",e[4]),8192&t&&x(r,"favorites",e[13]),64&t&&x(r,"clientstyling",e[6]),128&t&&x(r,"clientstylingurl",e[7]),256&t&&x(r,"livecasino",e[8]),4096&t&&x(r,"visiblegames",e[12]),2048&t&&x(r,"gamepagemodalurl",e[11]),1024&t&&x(r,"integratedgameframedesktop",e[10]),512&t&&x(r,"integratedgameframemobile",e[9]),16384&t&&x(r,"casinomygames",e[14]),i&&T(i.update)&&7&t&&i.update.call(null,(e[2],e[1],e[0],e[1]))},i:W,o:W,d(e){e&&me(a),n[18](null),s=!1,o()}}}function Ui(e,t,o){let n,a,{endpoint:l=""}=t,{datasource:r=""}=t,{currency:i=""}=t,{lang:s=""}=t,{session:c=""}=t,{userid:d=""}=t,{clientstyling:u=""}=t,{clientstylingurl:m=""}=t,{livecasino:h="false"}=t,{integratedgameframemobile:g="false"}=t,{integratedgameframedesktop:p="false"}=t,{gamepagemodalurl:f="false"}=t,{visiblegames:y=""}=t,{favorites:b=""}=t,{categoryid:v=""}=t,{casinomygames:w="false"}=t,$=[];var x,S;({withLocale:x,translations:S}={withLocale:"en",translations:{}}),Ye.subscribe(e=>{null==e&&(ia.set(S),Ye.set(x))});const _=n=>{if(n.data)switch(n.data.type){case"UserSessionID":o(0,c=n.data.session),o(1,d=n.data.userID),d&&d.length&&c&&0<c.length&&C(l,c,d);break;case"SetUnfavoredGame":e=`${l}/player/${d}/favorites`,t=c,d,s=n.data.id,n.data.triggerFactor,$.includes(s)&&($=$.filter(e=>e!=s)),fetch(e+"/"+s,{method:"DELETE",headers:{"X-SessionID":t}}).then(e=>e.json()).then(()=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+s},window.location.href),k(e,t)});break;case"SetFavoredGame":{var a=`${l}/player/${d}/favorites`;var r=c;d;var i=n.data.id;n.data.triggerFactor;$.includes(i)||$.push(i);let e={items:$},t={method:"POST",headers:{"X-SessionID":r,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(a,t).then(e=>e.json()).then(()=>{window.postMessage({type:`AddFavoriteThumbnail_${i}`},window.location.href),k(a,r)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":d&&d.length&&c&&0<c.length&&C(l,c,d)}var e,t,s};let C=(e,t,n)=>{"true"==b&&c&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((a=e)&&(T(),window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:a,favStadalone:!0},window.location.href),G(a.items)),a)).then(e=>e).catch(e=>{console.error(e)})};let k=(e,t)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(a=e,T(),a&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:a,favStadalone:!0},window.location.href),a)).catch(e=>{console.error(e)})};const T=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:a},window.location.href)},G=(e=[])=>($=[],0<e.length&&e.forEach(e=>{$.push(e.id)}),$);return Ze(()=>(window.addEventListener("message",_,!1),()=>{window.removeEventListener("message",_)})),e.$$set=e=>{"endpoint"in e&&o(2,l=e.endpoint),"datasource"in e&&o(3,r=e.datasource),"currency"in e&&o(4,i=e.currency),"lang"in e&&o(5,s=e.lang),"session"in e&&o(0,c=e.session),"userid"in e&&o(1,d=e.userid),"clientstyling"in e&&o(6,u=e.clientstyling),"clientstylingurl"in e&&o(7,m=e.clientstylingurl),"livecasino"in e&&o(8,h=e.livecasino),"integratedgameframemobile"in e&&o(9,g=e.integratedgameframemobile),"integratedgameframedesktop"in e&&o(10,p=e.integratedgameframedesktop),"gamepagemodalurl"in e&&o(11,f=e.gamepagemodalurl),"visiblegames"in e&&o(12,y=e.visiblegames),"favorites"in e&&o(13,b=e.favorites),"categoryid"in e&&o(17,v=e.categoryid),"casinomygames"in e&&o(14,w=e.casinomygames)},e.$$.update=()=>{if(8231&e.$$.dirty&&l&&d&&c&&s&&b&&"true"==b&&C(l,c,d),32832&e.$$.dirty&&u&&n){let e=document.createElement("style");e.innerHTML=u,n.appendChild(e)}if(32896&e.$$.dirty&&m&&n){let t=document.createElement("style");fetch(new URL(m)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1)})}},[c,d,l,r,i,s,u,m,h,g,p,f,y,b,w,n,C,v,function(e){Ue[e?"unshift":"push"](()=>{n=e,o(15,n)})}]}function Yi(e,t){oa(e,t)}customElements.get("casino-collections-providers")||customElements.define("casino-collections-providers",class extends e{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emfe-w-color-contrast, #07072A);width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{max-height:100px;position:absolute;top:30%;left:50%;transform:translate(-50%, -50%)}.CategoriesSlider .CategorySlideTitle{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;justify-content:center;gap:3%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:54px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:10px;text-overflow:ellipsis;overflow:hidden;height:20px;width:90px;white-space:nowrap}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:85vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}</style>',j(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Hi,Bi,t,{endpoint:13,datasource:14,lang:15,type:0,titletype:1,clientstyling:16,clientstylingurl:17,translationurl:18,collectionprovidersgamenames:2},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","type","titletype","clientstyling","clientstylingurl","translationurl","collectionprovidersgamenames"]}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[14]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),f()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[1]}set titletype(e){this.$$set({titletype:e}),f()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),f()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),f()}}),customElements.get("casino-favorites-section")||customElements.define("casino-favorites-section",class extends e{constructor(e){super(),this.shadowRoot.innerHTML="<style>.CasinoFavoritesSectionContainer{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}</style>",j(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ui,ji,t,{endpoint:2,datasource:3,currency:4,lang:5,session:0,userid:1,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,categoryid:17,casinomygames:14},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","categoryid","casinomygames"]}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[1]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get categoryid(){return this.$$.ctx[17]}set categoryid(e){this.$$set({categoryid:e}),f()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),f()}});const Wi={en:{LastPlayedTranslations:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}},de:{LastPlayedTranslations:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."}}};function zi(e){let n;return{c(){x(n=he("casino-games-category-section"),"session",e[4]),x(n,"userid",e[5]),x(n,"endpoint",e[0]),x(n,"datasource",e[1]),x(n,"lang",e[3]),x(n,"currency",e[2]),x(n,"favorites",e[13]),x(n,"categoryid","LASTPLAYED"),x(n,"categoryindex","1"),x(n,"categorygames","9"),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7]),x(n,"livecasino",e[8]),x(n,"visiblegames",e[12]),x(n,"gamepagemodalurl",e[11]),x(n,"integratedgameframedesktop",e[10]),x(n,"integratedgameframemobile",e[9]),x(n,"casinomygames",e[14])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&x(n,"session",e[4]),32&t[0]&&x(n,"userid",e[5]),1&t[0]&&x(n,"endpoint",e[0]),2&t[0]&&x(n,"datasource",e[1]),8&t[0]&&x(n,"lang",e[3]),4&t[0]&&x(n,"currency",e[2]),8192&t[0]&&x(n,"favorites",e[13]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7]),256&t[0]&&x(n,"livecasino",e[8]),4096&t[0]&&x(n,"visiblegames",e[12]),2048&t[0]&&x(n,"gamepagemodalurl",e[11]),1024&t[0]&&x(n,"integratedgameframedesktop",e[10]),512&t[0]&&x(n,"integratedgameframemobile",e[9]),16384&t[0]&&x(n,"casinomygames",e[14])},d(e){e&&me(n)}}}function Vi(e){let n,a,r=e[17]("LastPlayedTranslations.noRecentGames")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){131072&t[0]&&r!==(r=e[17]("LastPlayedTranslations.noRecentGames")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Zi(n){let a,r;function i(e){return e[16]?Vi:zi}let s=i(n),o=s(n);return{c(){a=he("div"),r=he("div"),o.c(),this.c=W,fe(r,"class","CasinoLastPlayedSection"),fe(a,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,a,t),de(a,r),o.m(r,null),n[20](a)},p(e,t){s===(s=i(e))&&o?o.p(e,t):(o.d(1),(o=s(e))&&(o.c(),o.m(r,null)))},i:W,o:W,d(e){e&&me(a),o.d(),n[20](null)}}}function Ki(t,e,n){let a;Ve(t,Ta,e=>n(17,a=e));let i,s,{endpoint:o=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{clientstyling:m=""}=e,{clientstylingurl:h=""}=e,{translationurl:g=""}=e,{livecasino:p="false"}=e,{integratedgameframemobile:f="false"}=e,{integratedgameframedesktop:y="false"}=e,{gamepagemodalurl:b="false"}=e,{visiblegames:v=""}=e,{favorites:w=""}=e,{lastplayedperiod:$=""}=e,{casinomygames:x="false"}=e,S=window.navigator.userAgent,_=!1,C;Object.keys(Wi).forEach(e=>{Yi(e,Wi[e])});return t.$$set=e=>{"endpoint"in e&&n(0,o=e.endpoint),"datasource"in e&&n(1,l=e.datasource),"currency"in e&&n(2,r=e.currency),"lang"in e&&n(3,c=e.lang),"session"in e&&n(4,d=e.session),"userid"in e&&n(5,u=e.userid),"clientstyling"in e&&n(6,m=e.clientstyling),"clientstylingurl"in e&&n(7,h=e.clientstylingurl),"translationurl"in e&&n(18,g=e.translationurl),"livecasino"in e&&n(8,p=e.livecasino),"integratedgameframemobile"in e&&n(9,f=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,y=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,b=e.gamepagemodalurl),"visiblegames"in e&&n(12,v=e.visiblegames),"favorites"in e&&n(13,w=e.favorites),"lastplayedperiod"in e&&n(19,$=e.lastplayedperiod),"casinomygames"in e&&n(14,x=e.casinomygames)},t.$$.update=()=>{if(41&t.$$.dirty[0]&&o&&u&&c&&(r={device:ze(S),period:$||"Last30Days"},new Promise((e,t)=>{let n=new URL(`${o}/player/${u}/games/last-played`);r.limit&&n.searchParams.append("limit","10"),r.order&&n.searchParams.append("order",r.order);var a=r.device;a?"PC"===a?n.searchParams.append("device","Desktop"):n.searchParams.append("device","Mobile"):n.searchParams.append("device","All"),r.period&&n.searchParams.append("period","Last30Days"),i=p?n:n.href,fetch(i).then(e=>e.json()).then(n=>{n.items=n.items.filter(e=>{let t=!0;return"OddsMatrix2"==e.gameCode&&(n.count--,t=!1),t}),e(n),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:n},window.location.href)}).catch(e=>{console.error(e),t(e)})}).then(e=>{if(window.postMessage({type:"GetFavoredGame"},window.location.href),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(o+"/casino/games/"+e.gameId);t.searchParams.append("datasource",l),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{C=e.map(e=>e[0]),window.postMessage({type:"LastPlayedData",lastPlayedGames:C},window.location.href)})}else n(16,_=!0)})),262144&t.$$.dirty[0]&&g&&(e=translationUrl,fetch(e).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Yi(e,t[e])})}).catch(e=>{console.log(e)})),32832&t.$$.dirty[0]&&m&&s){let e=document.createElement("style");e.innerHTML=m,s.appendChild(e)}if(32896&t.$$.dirty[0]&&h&&s){let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1)})}var e,r;8&t.$$.dirty[0]&&c&&(e=c,Ye.set(e))},[o,l,r,c,d,u,m,h,p,f,y,b,v,w,x,s,_,a,g,$,function(e){Ue[e?"unshift":"push"](()=>{s=e,n(15,s)})}]}function Xi(e){let n;return{c(){x(n=he("casino-games-category-section"),"session",e[4]),x(n,"userid",e[5]),x(n,"endpoint",e[0]),x(n,"datasource",e[1]),x(n,"lang",e[3]),x(n,"currency",e[2]),x(n,"favorites",e[13]),x(n,"categoryid","MOSTPLAYED"),x(n,"categoryindex","1"),x(n,"categorygames","9"),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7]),x(n,"livecasino",e[8]),x(n,"visiblegames",e[12]),x(n,"gamepagemodalurl",e[11]),x(n,"integratedgameframedesktop",e[10]),x(n,"integratedgameframemobile",e[9]),x(n,"casinomygames",e[14])},m(e,t){ue(e,n,t)},p(e,t){16&t&&x(n,"session",e[4]),32&t&&x(n,"userid",e[5]),1&t&&x(n,"endpoint",e[0]),2&t&&x(n,"datasource",e[1]),8&t&&x(n,"lang",e[3]),4&t&&x(n,"currency",e[2]),8192&t&&x(n,"favorites",e[13]),64&t&&x(n,"clientstyling",e[6]),128&t&&x(n,"clientstylingurl",e[7]),256&t&&x(n,"livecasino",e[8]),4096&t&&x(n,"visiblegames",e[12]),2048&t&&x(n,"gamepagemodalurl",e[11]),1024&t&&x(n,"integratedgameframedesktop",e[10]),512&t&&x(n,"integratedgameframemobile",e[9]),16384&t&&x(n,"casinomygames",e[14])},d(e){e&&me(n)}}}function Ji(e){let n;return{c(){(n=he("p")).textContent="No games in most played",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function qi(n){let a,r;function i(e){return e[16]?Ji:Xi}let s=i(n),o=s(n);return{c(){a=he("div"),r=he("div"),o.c(),this.c=W,fe(r,"class","casino-most-played-section"),fe(a,"class","CasinoGamesCategorySectionContainer"),fe(a,"part","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,a,t),de(a,r),o.m(r,null),n[18](a)},p(e,[t]){s===(s=i(e))&&o?o.p(e,t):(o.d(1),(o=s(e))&&(o.c(),o.m(r,null)))},i:W,o:W,d(e){e&&me(a),o.d(),n[18](null)}}}function Qi(t,e,n){let a,r,{endpoint:i=""}=e,{datasource:s=""}=e,{currency:o=""}=e,{lang:l=""}=e,{session:c=""}=e,{userid:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:m=""}=e,{livecasino:h="false"}=e,{integratedgameframemobile:g="false"}=e,{integratedgameframedesktop:p="false"}=e,{gamepagemodalurl:f="false"}=e,y=e["visiblegames"],{favorites:b=""}=e,{lastPlayedEmpty:v=""}=e,{casinomygames:w="false"}=e,$=window.navigator.userAgent,x=[],S=!1;return t.$$set=e=>{"endpoint"in e&&n(0,i=e.endpoint),"datasource"in e&&n(1,s=e.datasource),"currency"in e&&n(2,o=e.currency),"lang"in e&&n(3,l=e.lang),"session"in e&&n(4,c=e.session),"userid"in e&&n(5,d=e.userid),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,m=e.clientstylingurl),"livecasino"in e&&n(8,h=e.livecasino),"integratedgameframemobile"in e&&n(9,g=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,p=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,f=e.gamepagemodalurl),"visiblegames"in e&&n(12,y=e.visiblegames),"favorites"in e&&n(13,b=e.favorites),"lastPlayedEmpty"in e&&n(17,v=e.lastPlayedEmpty),"casinomygames"in e&&n(14,w=e.casinomygames)},t.$$.update=()=>{if(41&t.$$.dirty&&i&&d&&l&&(e=>{let t=new URL(`${i}/player/${d}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games");var n=e.device;return n?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),a=h?t:t.href,new Promise((e,t)=>{fetch(a).then(e=>e.json()).then(n=>{n.items=n.items.filter(e=>{let t=!0;return"OddsMatrix2"==e.gameCode&&(n.count--,t=!1),t}),e(n)}).catch(e=>{console.error(e),t(e)})})})({limit:100,device:ze($),rounds:10}).then(e=>{if(window.postMessage({type:"GetFavoredGame"},window.location.href),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(i+"/casino/games/"+e.gameId);t.searchParams.append("datasource",s),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{x=e.map(e=>e[0]),"true"===w&&(x=x.slice(0,JSON.parse(y))),window.postMessage({type:"MostPlayedData",mostPlayedGames:x},window.location.href)})}else n(16,S=!0)}),32832&t.$$.dirty&&u&&r){let e=document.createElement("style");e.innerHTML=u,r.appendChild(e)}if(32896&t.$$.dirty&&m&&r){let t=document.createElement("style");fetch(new URL(m)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e;8&t.$$.dirty&&l&&(e=l,Ye.set(e))},[i,s,o,l,c,d,u,m,h,g,p,f,y,b,w,r,S,v,function(e){Ue[e?"unshift":"push"](()=>{r=e,n(15,r)})}]}function es(e,t){oa(e,t)}customElements.get("casino-last-played-section")||customElements.define("casino-last-played-section",class extends e{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}</style>',j(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ki,Zi,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:18,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastplayedperiod:19,casinomygames:14},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastplayedperiod","casinomygames"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get lastplayedperiod(){return this.$$.ctx[19]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),f()}}),customElements.get("casino-most-played-section")||customElements.define("casino-most-played-section",class extends e{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}</style>',j(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Qi,qi,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastPlayedEmpty:17,casinomygames:14},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastPlayedEmpty","casinomygames"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get lastPlayedEmpty(){return this.$$.ctx[17]}set lastPlayedEmpty(e){this.$$set({lastPlayedEmpty:e}),f()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),f()}});const ts={en:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},zh:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},de:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},it:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},fr:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},es:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},tr:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},ru:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},ro:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},hr:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},hu:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},pl:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},pt:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},sl:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},sr:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}}};function ns(e,t,n){const a=e.slice();return a[36]=t[n],a}function as(t){let r,n,i,a,s,e,o=t[20],l=[];for(let e=0;e<o.length;e+=1)l[e]=os(ns(t,o,e));function c(e){return"Favorites"==e[18]?ds:"MostPlayed"==e[18]?cs:"LastPlayed"==e[18]?ls:void 0}let d=c(t),u=d&&d(t);return{c(){r=he("div"),n=he("div"),i=he("div");for(let e=0;e<l.length;e+=1)l[e].c();a=pe(),s=he("div"),u&&u.c(),fe(i,"class","MyGamesButtonsContainer"),fe(n,"class","MyGamesHeader"),fe(r,"class",e="CasinoMyGames "+(t[19]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,n),de(n,i);for(let e=0;e<l.length;e+=1)l[e].m(i,null);de(r,a),de(r,s),u&&u.m(s,null)},p(t,n){if(7659520&n[0]){let e;for(o=t[20],e=0;e<o.length;e+=1){var a=ns(t,o,e);l[e]?l[e].p(a,n):(l[e]=os(a),l[e].c(),l[e].m(i,null))}for(;e<l.length;e+=1)l[e].d(1);l.length=o.length}d===(d=c(t))&&u?u.p(t,n):(u&&u.d(1),(u=d&&d(t))&&(u.c(),u.m(s,null))),524288&n[0]&&e!==(e="CasinoMyGames "+(t[19]?"Mobile":""))&&fe(r,"class",e)},d(e){e&&me(r),k(l,e),u&&u.d()}}}function rs(n){let a,r,i,s,o,l=n[21]("Translations.favorites")+"";return{c(){a=he("button"),r=ge(l),fe(a,"class",i="MyGamesButton "+("Favorites"==n[18]?"Active":"")+" "+("false"==n[13]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),s||(o=z(a,"click",n[26]),s=!0)},p(e,t){2097152&t[0]&&l!==(l=e[21]("Translations.favorites")+"")&&ye(r,l),270336&t[0]&&i!==(i="MyGamesButton "+("Favorites"==e[18]?"Active":"")+" "+("false"==e[13]?"Off":""))&&fe(a,"class",i)},d(e){e&&me(a),s=!1,o()}}}function is(n){let a,r,i,s,o,l=n[21]("Translations.mostPlayed")+"";return{c(){a=he("button"),r=ge(l),fe(a,"class",i="MyGamesButton "+("MostPlayed"==n[18]?"Active":"")+" "+("false"==n[14]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),s||(o=z(a,"click",n[27]),s=!0)},p(e,t){2097152&t[0]&&l!==(l=e[21]("Translations.mostPlayed")+"")&&ye(r,l),278528&t[0]&&i!==(i="MyGamesButton "+("MostPlayed"==e[18]?"Active":"")+" "+("false"==e[14]?"Off":""))&&fe(a,"class",i)},d(e){e&&me(a),s=!1,o()}}}function ss(n){let a,r,i,s,o,l,c=n[21]("Translations.recentlyPlayed")+"";return{c(){a=he("button"),r=ge(c),i=pe(),fe(a,"class",s="MyGamesButton "+("LastPlayed"==n[18]?"Active":"")+" "+("false"==n[15]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),de(a,i),o||(l=z(a,"click",n[28]),o=!0)},p(e,t){2097152&t[0]&&c!==(c=e[21]("Translations.recentlyPlayed")+"")&&ye(r,c),294912&t[0]&&s!==(s="MyGamesButton "+("LastPlayed"==e[18]?"Active":"")+" "+("false"==e[15]?"Off":""))&&fe(a,"class",s)},d(e){e&&me(a),o=!1,l()}}}function os(e){let n,a,r,i="Favorites"==e[36]&&rs(e),s="MostPlayed"==e[36]&&is(e),o="LastPlayed"==e[36]&&ss(e);return{c(){i&&i.c(),n=pe(),s&&s.c(),a=pe(),o&&o.c(),r=l()},m(e,t){i&&i.m(e,t),ue(e,n,t),s&&s.m(e,t),ue(e,a,t),o&&o.m(e,t),ue(e,r,t)},p(e,t){"Favorites"==e[36]?i?i.p(e,t):((i=rs(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),"MostPlayed"==e[36]?s?s.p(e,t):((s=is(e)).c(),s.m(a.parentNode,a)):s&&(s.d(1),s=null),"LastPlayed"==e[36]?o?o.p(e,t):((o=ss(e)).c(),o.m(r.parentNode,r)):o&&(o.d(1),o=null)},d(e){i&&i.d(e),e&&me(n),s&&s.d(e),e&&me(a),o&&o.d(e),e&&me(r)}}}function ls(e){let n;return{c(){x(n=he("casino-last-played-section"),"userid",e[0]),x(n,"endpoint",e[2]),x(n,"datasource",e[3]),x(n,"favorites",e[13]),x(n,"lang",e[4]),x(n,"currency",e[5]),x(n,"session",e[1]),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7]),x(n,"livecasino",e[8]),x(n,"visiblegames",e[9]),x(n,"gamepagemodalurl",e[10]),x(n,"integratedgameframedesktop",e[11]),x(n,"integratedgameframemobile",e[12]),x(n,"casinomygames",e[16])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&x(n,"userid",e[0]),4&t[0]&&x(n,"endpoint",e[2]),8&t[0]&&x(n,"datasource",e[3]),8192&t[0]&&x(n,"favorites",e[13]),16&t[0]&&x(n,"lang",e[4]),32&t[0]&&x(n,"currency",e[5]),2&t[0]&&x(n,"session",e[1]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7]),256&t[0]&&x(n,"livecasino",e[8]),512&t[0]&&x(n,"visiblegames",e[9]),1024&t[0]&&x(n,"gamepagemodalurl",e[10]),2048&t[0]&&x(n,"integratedgameframedesktop",e[11]),4096&t[0]&&x(n,"integratedgameframemobile",e[12]),65536&t[0]&&x(n,"casinomygames",e[16])},d(e){e&&me(n)}}}function cs(e){let n;return{c(){x(n=he("casino-most-played-section"),"endpoint",e[2]),x(n,"datasource",e[3]),x(n,"lang",e[4]),x(n,"currency",e[5]),x(n,"session",e[1]),x(n,"userid",e[0]),x(n,"favorites",e[13]),x(n,"categoryindex","0"),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7]),x(n,"livecasino",e[8]),x(n,"visiblegames",e[9]),x(n,"gamepagemodalurl",e[10]),x(n,"integratedgameframedesktop",e[11]),x(n,"integratedgameframemobile",e[12]),x(n,"casinomygames",e[16])},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&x(n,"endpoint",e[2]),8&t[0]&&x(n,"datasource",e[3]),16&t[0]&&x(n,"lang",e[4]),32&t[0]&&x(n,"currency",e[5]),2&t[0]&&x(n,"session",e[1]),1&t[0]&&x(n,"userid",e[0]),8192&t[0]&&x(n,"favorites",e[13]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7]),256&t[0]&&x(n,"livecasino",e[8]),512&t[0]&&x(n,"visiblegames",e[9]),1024&t[0]&&x(n,"gamepagemodalurl",e[10]),2048&t[0]&&x(n,"integratedgameframedesktop",e[11]),4096&t[0]&&x(n,"integratedgameframemobile",e[12]),65536&t[0]&&x(n,"casinomygames",e[16])},d(e){e&&me(n)}}}function ds(e){let n;return{c(){x(n=he("casino-favorites-section"),"session",e[1]),x(n,"userid",e[0]),x(n,"endpoint",e[2]),x(n,"datasource",e[3]),x(n,"lang",e[4]),x(n,"currency",e[5]),x(n,"favorites",e[13]),x(n,"categoryid","FAVORITES"),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7]),x(n,"livecasino",e[8]),x(n,"visiblegames",e[9]),x(n,"gamepagemodalurl",e[10]),x(n,"integratedgameframedesktop",e[11]),x(n,"integratedgameframemobile",e[12]),x(n,"casinomygames",e[16])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&x(n,"session",e[1]),1&t[0]&&x(n,"userid",e[0]),4&t[0]&&x(n,"endpoint",e[2]),8&t[0]&&x(n,"datasource",e[3]),16&t[0]&&x(n,"lang",e[4]),32&t[0]&&x(n,"currency",e[5]),8192&t[0]&&x(n,"favorites",e[13]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7]),256&t[0]&&x(n,"livecasino",e[8]),512&t[0]&&x(n,"visiblegames",e[9]),1024&t[0]&&x(n,"gamepagemodalurl",e[10]),2048&t[0]&&x(n,"integratedgameframedesktop",e[11]),4096&t[0]&&x(n,"integratedgameframemobile",e[12]),65536&t[0]&&x(n,"casinomygames",e[16])},d(e){e&&me(n)}}}function us(n){let a;function r(e){if(e[16])return as}let i=r(n),s=i&&i(n);return{c(){a=he("div"),s&&s.c(),this.c=W},m(e,t){ue(e,a,t),s&&s.m(a,null),n[29](a)},p(e,t){i===(i=r(e))&&s?s.p(e,t):(s&&s.d(1),(s=i&&i(e))&&(s.c(),s.m(a,null)))},i:W,o:W,d(e){e&&me(a),s&&s.d(),n[29](null)}}}function ms(e,t,n){let a;Ve(e,Ta,e=>n(21,a=e));let r,{userid:i=""}=t,{session:s=""}=t,{endpoint:o=""}=t,{datasource:l=""}=t,{lang:c=""}=t,{currency:d=""}=t,{clientstyling:u=""}=t,{clientstylingurl:m=""}=t,{livecasino:h=""}=t,{visiblegames:g=""}=t,{gamepagemodalurl:p=""}=t,{integratedgameframedesktop:f=""}=t,{integratedgameframemobile:y=""}=t,{translationurl:b=""}=t,{favorites:v="false"}=t,{mostplayed:w="false"}=t,{lastplayed:$="false"}=t,{activecategory:x=""}=t,{categorybackground:S=""}=t,{casinomygames:_="false"}=t,C=window.navigator.userAgent,k="",T=!1,G=["","",""];var M,E;({withLocale:M,translations:E}={withLocale:"en",translations:{}}),Ye.subscribe(e=>{null==e&&(ia.set(E),Ye.set(M))}),Object.keys(ts).forEach(e=>{es(e,ts[e])});const L=e=>{k!==e&&n(18,k=e)},P=()=>{var e;n(18,k="true"===v?"Favorites":"true"===w?"MostPlayed":"true"===$?"LastPlayed":""),n(20,G[0]="true"===v?"Favorites":"",G),n(20,G[1]="true"===w?"MostPlayed":"",G),n(20,G[2]="true"===$?"LastPlayed":"",G),e=c,Ye.set(e)};return Ze(()=>{n(19,T=We(C))}),e.$$set=e=>{"userid"in e&&n(0,i=e.userid),"session"in e&&n(1,s=e.session),"endpoint"in e&&n(2,o=e.endpoint),"datasource"in e&&n(3,l=e.datasource),"lang"in e&&n(4,c=e.lang),"currency"in e&&n(5,d=e.currency),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,m=e.clientstylingurl),"livecasino"in e&&n(8,h=e.livecasino),"visiblegames"in e&&n(9,g=e.visiblegames),"gamepagemodalurl"in e&&n(10,p=e.gamepagemodalurl),"integratedgameframedesktop"in e&&n(11,f=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(12,y=e.integratedgameframemobile),"translationurl"in e&&n(23,b=e.translationurl),"favorites"in e&&n(13,v=e.favorites),"mostplayed"in e&&n(14,w=e.mostplayed),"lastplayed"in e&&n(15,$=e.lastplayed),"activecategory"in e&&n(24,x=e.activecategory),"categorybackground"in e&&n(25,S=e.categorybackground),"casinomygames"in e&&n(16,_=e.casinomygames)},e.$$.update=()=>{if(28&e.$$.dirty[0]&&o&&l&&c&&P(),57344&e.$$.dirty[0]&&v&&w&&$&&P(),8388608&e.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{es(e,t[e])})}).catch(e=>{console.log(e)}),131136&e.$$.dirty[0]&&u&&r){let e=document.createElement("style");e.innerHTML=u,r.appendChild(e)}if(131200&e.$$.dirty[0]&&m&&r){let t=document.createElement("style");fetch(new URL(m)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}},[i,s,o,l,c,d,u,m,h,g,p,f,y,v,w,$,_,r,k,T,G,a,L,b,x,S,()=>L("Favorites"),()=>L("MostPlayed"),()=>L("LastPlayed"),function(e){Ue[e?"unshift":"push"](()=>{r=e,n(17,r)})}]}function hs(e,t){oa(e,t)}customElements.get("casino-my-games")||customElements.define("casino-my-games",class extends e{constructor(e){super(),this.shadowRoot.innerHTML="<style>.CasinoMyGames{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;margin:50px 0}.CasinoMyGames.Mobile{padding:25px 10px}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButton{border:none;background:none;color:var(--emfe-w-color-white, #FFFFFF);font-size:20px;font-weight:500;margin-right:60px;transition:linear 100ms;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:36px}.MyGamesButton:focus{color:var(--emfe-w-color-primary, #D0046C);line-height:36px}.MyGamesButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-color-primary, #D0046C)}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C);line-height:36px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;margin-right:10px}.Mobile .MyGamesButton.Active{padding-bottom:4px}</style>",j(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ms,us,t,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,integratedgameframedesktop:11,integratedgameframemobile:12,translationurl:23,favorites:13,mostplayed:14,lastplayed:15,activecategory:24,categorybackground:25,casinomygames:16},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["userid","session","endpoint","datasource","lang","currency","clientstyling","clientstylingurl","livecasino","visiblegames","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","translationurl","favorites","mostplayed","lastplayed","activecategory","categorybackground","casinomygames"]}get userid(){return this.$$.ctx[0]}set userid(e){this.$$set({userid:e}),f()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),f()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),f()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[12]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get translationurl(){return this.$$.ctx[23]}set translationurl(e){this.$$set({translationurl:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get mostplayed(){return this.$$.ctx[14]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get lastplayed(){return this.$$.ctx[15]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get activecategory(){return this.$$.ctx[24]}set activecategory(e){this.$$set({activecategory:e}),f()}get categorybackground(){return this.$$.ctx[25]}set categorybackground(e){this.$$set({categorybackground:e}),f()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),f()}});const gs={en:{Translations:{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},zh:{Translations:{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"}},de:{Translations:{recentSearch:"Letzte Suche",placeHolderSearchGames:"Hier nach Spielen suchen",loading:"Es lädt, bitte warten...",searchResult:"Ergebnis suchen",cancel:"Abbrechen",notFound:"Spiel wurde nicht gefunden!",notFoundText:"Spiel nicht gefunden! Bitte verwende den richtigen Spielnamen um es zu starten.",noRecentSearches:"Keine vorherige Suche vorhanden! Suche nach einem beliebigen Spiel"}},it:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},fr:{Translations:{recentSearch:"Recherche récente",loading:"Chargement, veuillez patienter",searchResult:"Résultat de la recherche",cancel:"Annuler",notFound:"Jeu non trouvé!",notFoundText:"Veuillez saisir le nom correct du jeu pour commencer à jouer.",noRecentSearches:"Pas encore de recherches récentes. Recherchez l'un de nos jeux."}},es:{Translations:{recentSearch:"Busqueda reciente",placeHolderSearchGames:"Buscar juegos",loading:"Cargando",searchResult:"Resultado de busqueda",cancel:"Cancelar",notFound:"Juego no encontrado!",notFoundText:"Por favor escriba el nombre correcto del juego para empezar a jugar.",noRecentSearches:"No hay búsquedas recientes. Busca cualquiera de nuestros juegos"}},gr:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},tr:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},ru:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play."}},ro:{Translations:{recentSearch:"Cautari recente",loading:"Se incarca, te rugam asteapta…",searchResult:"Rezultat cautare",cancel:"Anuleaza",notFound:"Nu am gasit niciun rezultat!",notFoundText:"Te rugam sa introduci corect numele jocului. ",noRecentSearches:"Nu sunt cautari recente. Cauta oricare din jocurile noastre."}},hr:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},hu:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},pl:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},pt:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},sl:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},sr:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}}};function ps(e,t,n){const a=e.slice();return a[48]=t[n],a}function fs(e){let n,a,r,i;function s(e){return 1==e[13]&&e[8].length<2?vs:0!=e[11].length?bs:void 0}let o=s(e),l=o&&o(e),c=!1===e[9]&&$s(e),d=2<=e[8].length&&0==e[11].length&&Ss(e);return{c(){l&&l.c(),n=pe(),a=he("div"),c&&c.c(),r=pe(),d&&d.c(),fe(a,"class",i="SearchResultsContainer "+(1==e[13]?"":"NotVisible"))},m(e,t){l&&l.m(e,t),ue(e,n,t),ue(e,a,t),c&&c.m(a,null),de(a,r),d&&d.m(a,null)},p(e,t){o===(o=s(e))&&l?l.p(e,t):(l&&l.d(1),(l=o&&o(e))&&(l.c(),l.m(n.parentNode,n))),!1===e[9]?c?c.p(e,t):((c=$s(e)).c(),c.m(a,r)):c&&(c.d(1),c=null),2<=e[8].length&&0==e[11].length?d?d.p(e,t):((d=Ss(e)).c(),d.m(a,null)):d&&(d.d(1),d=null),8192&t[0]&&i!==(i="SearchResultsContainer "+(1==e[13]?"":"NotVisible"))&&fe(a,"class",i)},d(e){l&&l.d(e),e&&me(n),e&&me(a),c&&c.d(),d&&d.d()}}}function ys(e){let n,a,r=e[17]("Translations.loading")+"";return{c(){n=he("p"),a=ge(r)},m(e,t){ue(e,n,t),de(n,a)},p(e,t){131072&t[0]&&r!==(r=e[17]("Translations.loading")+"")&&ye(a,r)},d(e){e&&me(n)}}}function bs(e){let n,a,r=e[17]("Translations.searchResult")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","PC"!==ze(e[18])?"SearchMessage":"SearchMessagePc")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){131072&t[0]&&r!==(r=e[17]("Translations.searchResult")+"")&&ye(a,r)},d(e){e&&me(n)}}}function vs(e){let n,a,r,i,s=e[17]("Translations.recentSearch")+"",o=0==e[11].length&&ws(e);return{c(){n=he("p"),a=ge(s),r=pe(),o&&o.c(),i=l(),fe(n,"class","PC"!==ze(e[18])?"SearchMessage":"SearchMessagePc")},m(e,t){ue(e,n,t),de(n,a),ue(e,r,t),o&&o.m(e,t),ue(e,i,t)},p(e,t){131072&t[0]&&s!==(s=e[17]("Translations.recentSearch")+"")&&ye(a,s),0==e[11].length?o?o.p(e,t):((o=ws(e)).c(),o.m(i.parentNode,i)):o&&(o.d(1),o=null)},d(e){e&&me(n),e&&me(r),o&&o.d(e),e&&me(i)}}}function ws(e){let n,a,r,t,i=e[17]("Translations.noRecentSearches")+"";return{c(){n=he("div"),a=he("p"),r=ge(i),fe(a,"class",t="PC"!==ze(e[18])?"SearchMessage":"SearchMessagePc"),fe(n,"class","ResultsContainerError")},m(e,t){ue(e,n,t),de(n,a),de(a,r)},p(e,t){131072&t[0]&&i!==(i=e[17]("Translations.noRecentSearches")+"")&&ye(r,i)},d(e){e&&me(n)}}}function $s(t){let r,i=t[11],s=[];for(let e=0;e<i.length;e+=1)s[e]=xs(ps(t,i,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();r=l()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);ue(t,r,n)},p(t,n){if(1149183&n[0]){let e;for(i=t[11],e=0;e<i.length;e+=1){var a=ps(t,i,e);s[e]?s[e].p(a,n):(s[e]=xs(a),s[e].c(),s[e].m(r.parentNode,r))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}},d(e){k(s,e),e&&me(r)}}}function xs(e){let n,a,r,i,s,o,l,c,d,u,m;return{c(){x(n=he("casino-game-thumbnail"),"endpoint",e[0]),x(n,"session",e[15]),x(n,"userid",e[16]),x(n,"favorites",e[7]),x(n,"lang",e[1]),x(n,"gamethumbnail",a=e[48].thumbnail),x(n,"gamename",r=e[48].name),x(n,"gamevendor",i=e[48].vendor.name),x(n,"gameisnew",s=e[48].isNew),x(n,"gametag",o=0<e[48].advancedTags?.length&&e[20](e[48].advancedTags)),x(n,"gamecellsize",l=e[48].cellSize),x(n,"gameid",c=e[48].id),x(n,"gamefunmode",d=e[48].hasFunMode),x(n,"gamefavorite",u=e[48].isFavorite),x(n,"livelobbyendpoint",m=e[48].details?e[48].launchUrl:""),x(n,"integratedgameframedesktop",e[4]),x(n,"integratedgameframemobile",e[5]),x(n,"clientstyling",e[2]),x(n,"clientstylingurl",e[3]),x(n,"gamepagemodalurl",e[6])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&x(n,"endpoint",e[0]),32768&t[0]&&x(n,"session",e[15]),65536&t[0]&&x(n,"userid",e[16]),128&t[0]&&x(n,"favorites",e[7]),2&t[0]&&x(n,"lang",e[1]),2048&t[0]&&a!==(a=e[48].thumbnail)&&x(n,"gamethumbnail",a),2048&t[0]&&r!==(r=e[48].name)&&x(n,"gamename",r),2048&t[0]&&i!==(i=e[48].vendor.name)&&x(n,"gamevendor",i),2048&t[0]&&s!==(s=e[48].isNew)&&x(n,"gameisnew",s),2048&t[0]&&o!==(o=0<e[48].advancedTags?.length&&e[20](e[48].advancedTags))&&x(n,"gametag",o),2048&t[0]&&l!==(l=e[48].cellSize)&&x(n,"gamecellsize",l),2048&t[0]&&c!==(c=e[48].id)&&x(n,"gameid",c),2048&t[0]&&d!==(d=e[48].hasFunMode)&&x(n,"gamefunmode",d),2048&t[0]&&u!==(u=e[48].isFavorite)&&x(n,"gamefavorite",u),2048&t[0]&&m!==(m=e[48].details?e[48].launchUrl:"")&&x(n,"livelobbyendpoint",m),16&t[0]&&x(n,"integratedgameframedesktop",e[4]),32&t[0]&&x(n,"integratedgameframemobile",e[5]),4&t[0]&&x(n,"clientstyling",e[2]),8&t[0]&&x(n,"clientstylingurl",e[3]),64&t[0]&&x(n,"gamepagemodalurl",e[6])},d(e){e&&me(n)}}}function Ss(e){let n,a,r,t,i,s,o,l=e[17]("Translations.notFound")+"",c=e[17]("Translations.notFoundText")+"";return{c(){n=he("div"),a=he("p"),r=ge(l),i=pe(),s=he("p"),o=ge(c),fe(a,"class",t="PC"!==ze(e[18])?"SearchMessage":"SearchMessagePc"),fe(n,"class","ResultsContainerError")},m(e,t){ue(e,n,t),de(n,a),de(a,r),de(n,i),de(n,s),de(s,o)},p(e,t){131072&t[0]&&l!==(l=e[17]("Translations.notFound")+"")&&ye(r,l),131072&t[0]&&c!==(c=e[17]("Translations.notFoundText")+"")&&ye(o,c)},d(e){e&&me(n)}}}function _s(n){let a,r,i,s,o,l,c,d,u,m,h,g,p,f,y,b,v,w,$,x,S,_,C=n[17]("Translations.cancel")+"";function k(e){return e[14]?ys:fs}let T=k(n),G=T(n);return{c(){a=he("div"),r=he("div"),i=he("div"),s=M("svg"),o=M("path"),l=M("circle"),c=pe(),d=he("div"),u=he("input"),h=pe(),g=he("span"),p=M("svg"),f=M("path"),b=pe(),v=he("small"),w=ge(C),x=pe(),G.c(),this.c=W,fe(o,"stroke","#212121"),fe(o,"stroke-width","2"),fe(o,"stroke-linecap","round"),fe(o,"stroke-linejoin","round"),fe(o,"d","m10.48 10.985 2.21 2.373"),fe(l,"cx","6.5"),fe(l,"cy","6.5"),fe(l,"r","5.75"),fe(l,"stroke","#212121"),fe(l,"stroke-width","1.5"),fe(s,"width","14"),fe(s,"height","15"),fe(s,"fill","none"),fe(s,"xmlns","http://www.w3.org/2000/svg"),fe(i,"class","PC"!==ze(n[18])?"SearchIcon":"SearchIconPc"),fe(u,"class","SearchInput"),fe(u,"type","search"),fe(u,"placeholder",m=n[17]("Translations.placeHolderSearchGames")),fe(f,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),fe(f,"stroke","#717171"),fe(f,"stroke-width","2"),fe(f,"stroke-linecap","round"),fe(f,"stroke-linejoin","round"),fe(p,"width","11"),fe(p,"height","11"),fe(p,"fill","none"),fe(p,"xmlns","http://www.w3.org/2000/svg"),fe(g,"class",y="SearchClearButton "+(0!=n[8].length?"":"NotVisible")),fe(d,"class","PC"!==ze(n[18])?"SearchContainer":"SearchContainerPc"),fe(v,"class",$="SearchCancelButton "+(n[9]?"NotVisible":"")),fe(r,"class","PC"!==ze(n[18])?"Search":"SearchPc"),fe(a,"class","PC"!==ze(n[18])?"CasinoSearch":"CasinoSearchPc")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(i,s),de(s,o),de(s,l),de(r,c),de(r,d),de(d,u),L(u,n[8]),n[29](u),de(d,h),de(d,g),de(g,p),de(p,f),de(r,b),de(r,v),de(v,w),de(a,x),G.m(a,null),n[32](a),S||(_=[z(u,"input",n[28]),z(u,"focus",n[19]),z(g,"click",n[30]),z(v,"click",n[31])],S=!0)},p(e,t){131072&t[0]&&m!==(m=e[17]("Translations.placeHolderSearchGames"))&&fe(u,"placeholder",m),256&t[0]&&L(u,e[8]),256&t[0]&&y!==(y="SearchClearButton "+(0!=e[8].length?"":"NotVisible"))&&fe(g,"class",y),131072&t[0]&&C!==(C=e[17]("Translations.cancel")+"")&&ye(w,C),512&t[0]&&$!==($="SearchCancelButton "+(e[9]?"NotVisible":""))&&fe(v,"class",$),T===(T=k(e))&&G?G.p(e,t):(G.d(1),(G=T(e))&&(G.c(),G.m(a,null)))},i:W,o:W,d(e){e&&me(a),n[29](null),G.d(),n[32](null),S=!1,V(_)}}}function Cs(a,e,i){let t;Ve(a,Ta,e=>i(17,t=e));let n,r,s,o,{endpoint:l=""}=e,{datasource:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{lang:m="en"}=e,{clientstyling:h=""}=e,{clientstylingurl:g=""}=e,{integratedgameframedesktop:p="false"}=e,{integratedgameframemobile:f="false"}=e,{gamepagemodalurl:y="true"}=e,{translationurl:b=""}=e,{showfavorites:v=""}=e,w=window.navigator.userAgent,$=[],x=[],S={},_="",C=!0,k=!1,T=!1,G=!1,M=[];Object.keys(gs).forEach(e=>{hs(e,gs[e])});const E=e=>{{var t,n;e.data&&"SearchedItemClicked"==e.data.type&&(t=e.data.gameId,-1===(x=(x=localStorage.getItem("searchedGamesWds_casino"))?x.split(","):[]).indexOf(t)&&(x.push(t),n=x.join(","),localStorage.setItem("searchedGamesWds_casino",n)))}"UserSessionID"==e.data.type&&(i(15,s=e.data.session),i(16,o=e.data.userid),i(27,G=!0))},L=()=>{if(i(9,C=!1),i(13,k=!0),l&&c&&m&&_.length<2){i(11,$=[]);let e=localStorage.getItem("searchedGamesWds_casino"),t=[],n=[],a=0,r=(t=e?e.split(","):t).length;if(0<r){for(a=0;a<r;a++){let e=new URL(l+"/casino/games/"+t[a]);e.searchParams.append("language",m),e.searchParams.append("datasource",c),e.searchParams.append("platform",ze(w)),n.push(((e,a)=>new Promise((t,n)=>{i(14,T=!0),a&&Object.keys(S).indexOf(a)>=0?(i(14,T=!1),t(S[a])):fetch(e).then(e=>e.json()).then(e=>{i(14,T=!1),S[e[0].gameId]=e[0],t(e[0])}).catch(e=>{i(14,T=!1),console.error(e),n(e)})}))(e,t[a]))}Promise.all(n).then(e=>{i(11,$=e.map(e=>(e.isFavorite=P(e.id),e)))})}}I(k),"function"==typeof gtag&&gtag("event","SearchInitialized",{context:"SearchWidget"})},P=t=>-1!==M.findIndex(e=>e==t),F=()=>{i(8,_=""),i(9,C=!0),i(14,T=!1),i(11,$=[]),i(13,k=!1),I(k)},R=()=>{i(8,_=""),n.focus()},I=e=>{window.postMessage({type:!0===e?"searchActive":"searchCancelled",searchStatus:e})};return Ze(()=>(window.addEventListener("message",E,!1),()=>{window.removeEventListener("message",E)})),a.$$set=e=>{"endpoint"in e&&i(0,l=e.endpoint),"datasource"in e&&i(23,c=e.datasource),"session"in e&&i(24,d=e.session),"userid"in e&&i(25,u=e.userid),"lang"in e&&i(1,m=e.lang),"clientstyling"in e&&i(2,h=e.clientstyling),"clientstylingurl"in e&&i(3,g=e.clientstylingurl),"integratedgameframedesktop"in e&&i(4,p=e.integratedgameframedesktop),"integratedgameframemobile"in e&&i(5,f=e.integratedgameframemobile),"gamepagemodalurl"in e&&i(6,y=e.gamepagemodalurl),"translationurl"in e&&i(26,b=e.translationurl),"showfavorites"in e&&i(7,v=e.showfavorites)},a.$$.update=()=>{if(8389379&a.$$.dirty[0])if(2<=_.length){const a=new URL(l+"/casino/games");a.searchParams.append("datasource",c),a.searchParams.append("expand","vendor"),a.searchParams.append("platform",ze(w)),a.searchParams.append("language",m),a.searchParams.append("pagination","offset=0,limit=30"),a.searchParams.append("filter","name="+_),e=a,new Promise((t,n)=>{i(14,T=!0),fetch(e.href).then(e=>e.json()).then(e=>{i(14,T=!1),t(e)}).catch(e=>{i(14,T=!1),console.error(e),n(e)})}).then(e=>{i(11,$=e.items.map(e=>(e.isFavorite=P(e.id),e)))})}else C||L();var e,t,n;if(2&a.$$.dirty[0]&&m&&(n=m,Ye.set(n)),67108864&a.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{hs(e,t[e])})}).catch(e=>{console.log(e)}),50331648&a.$$.dirty[0]&&d&&u&&(i(27,G=!0),i(15,s=d),i(16,o=u)),134217856&a.$$.dirty[0]&&v&&G&&(n=new URL(`${l}/player/${o}/favorites/`),i(14,T=!0),t={method:"GET",headers:{"X-SessionID":s}},fetch(n.href,t).then(e=>e.json()).then(e=>{i(14,T=!1),M=e.items.map(e=>e.id)})),1028&a.$$.dirty[0]&&h&&r){let e=document.createElement("style");e.innerHTML=h,r.appendChild(e)}if(1032&a.$$.dirty[0]&&g&&r){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}},[l,m,h,g,p,f,y,v,_,C,r,$,n,k,T,s,o,t,w,L,a=>{if(0===(null==a?void 0:a.length))return"";let r,i,s=99999999999;const o=new Date(Date.now());return a.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);Ra(e).diff(o)<s&&(s=Ra(e).diff(o),i=t),Ra(o).isAfter(n)&&Ra(o).isBefore(e)&&(r=a[i].name)}),r},F,R,c,d,u,b,G,function(){_=this.value,i(8,_)},function(e){Ue[e?"unshift":"push"](()=>{n=e,i(12,n)})},()=>R(),()=>F(),function(e){Ue[e?"unshift":"push"](()=>{r=e,i(10,r)})}]}function ks(e,t,n){const a=e.slice();return a[129]=t[n],a[131]=n,a}function Ts(e,t,n){const a=e.slice();return a[129]=t[n],a[131]=n,a}function Gs(e){let n,a,r,i,s,o,l="PC"!==ze(e[65])&&"false"===e[12],c=l&&Es(),d="true"==e[21]&&0==qs&&!e[62]&&Ls(e);function u(e){return e[56]?Fs:e[62]?void 0:Ps}let m=u(e),h=m&&m(e),g=e[58]&&"true"==e[17]&&Xs(e);return{c(){n=he("section"),c&&c.c(),a=pe(),r=he("casino-search"),i=pe(),d&&d.c(),s=pe(),h&&h.c(),o=pe(),g&&g.c(),x(r,"endpoint",e[1]),x(r,"datasource",e[2]),x(r,"lang",e[4]),x(r,"clientstyling",e[7]),x(r,"clientstylingurl",e[8]),x(r,"integratedgameframedesktop",e[29]),x(r,"integratedgameframemobile",e[30]),x(r,"translationurl",e[9]),x(r,"showfavorites",e[13]),fe(n,"class","CategoriesLobby"),fe(n,"part","CategoriesLobby"),S(n,"max-width",e[16]+"px")},m(e,t){ue(e,n,t),c&&c.m(n,null),de(n,a),de(n,r),de(n,i),d&&d.m(n,null),de(n,s),h&&h.m(n,null),de(n,o),g&&g.m(n,null)},p(e,t){(l=4096&t[0]?"PC"!==ze(e[65])&&"false"===e[12]:l)?c||((c=Es()).c(),c.m(n,a)):c&&(c.d(1),c=null),2&t[0]&&x(r,"endpoint",e[1]),4&t[0]&&x(r,"datasource",e[2]),16&t[0]&&x(r,"lang",e[4]),128&t[0]&&x(r,"clientstyling",e[7]),256&t[0]&&x(r,"clientstylingurl",e[8]),536870912&t[0]&&x(r,"integratedgameframedesktop",e[29]),1073741824&t[0]&&x(r,"integratedgameframemobile",e[30]),512&t[0]&&x(r,"translationurl",e[9]),8192&t[0]&&x(r,"showfavorites",e[13]),"true"!=e[21]||0!=qs||e[62]?d&&(d.d(1),d=null):d?d.p(e,t):((d=Ls(e)).c(),d.m(n,s)),m===(m=u(e))&&h?h.p(e,t):(h&&h.d(1),(h=m&&m(e))&&(h.c(),h.m(n,o))),e[58]&&"true"==e[17]?g?g.p(e,t):((g=Xs(e)).c(),g.m(n,null)):g&&(g.d(1),g=null),65536&t[0]&&S(n,"max-width",e[16]+"px")},d(e){e&&me(n),c&&c.d(),d&&d.d(),h&&h.d(),g&&g.d()}}}function Ms(e){let n,a,r=e[64]("casinoPage.500")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){4&t[2]&&r!==(r=e[64]("casinoPage.500")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Es(){let n;return{c(){fe(n=he("div"),"class","SearchBarPlaceholder"),fe(n,"part","SearchBarPlaceholder")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function Ls(e){let n;return{c(){x(n=he("casino-random-game"),"datasource",e[2]),x(n,"filteredrandomgamecategories",e[22]),x(n,"endpoint",e[1]),x(n,"lang",e[4]),x(n,"gameevent",e[55]),x(n,"randombuttonicon",e[51]),x(n,"clientstyling",e[7]),x(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&x(n,"datasource",e[2]),4194304&t[0]&&x(n,"filteredrandomgamecategories",e[22]),2&t[0]&&x(n,"endpoint",e[1]),16&t[0]&&x(n,"lang",e[4]),16777216&t[1]&&x(n,"gameevent",e[55]),1048576&t[1]&&x(n,"randombuttonicon",e[51]),128&t[0]&&x(n,"clientstyling",e[7]),256&t[0]&&x(n,"clientstylingurl",e[8])},d(e){e&&me(n)}}}function Ps(e){let n;function a(e){return e[61]?Ns:e[60]?Os:e[61]?As:e[60]?Is:Rs}let r=a(e),i=r(e);return{c(){i.c(),n=l()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){r===(r=a(e))&&i?i.p(e,t):(i.d(1),(i=r(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&me(n)}}}function Fs(e){let n,a,r=e[64]("casinoPage.loading")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){4&t[2]&&r!==(r=e[64]("casinoPage.loading")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Rs(e){let n;return{c(){x(n=he("casino-games-category-section"),"userid",e[6]),x(n,"endpoint",e[1]),x(n,"datasource",e[2]),x(n,"favorites",e[13]),x(n,"lang",e[4]),x(n,"currency",e[3]),x(n,"session",e[5]),x(n,"categoryid",e[53]),x(n,"categorygames","9"),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[7]),x(n,"clientstylingurl",e[8]),x(n,"livecasino",e[20]),x(n,"visiblegames",e[11]),x(n,"gamepagemodalurl",e[23]),x(n,"integratedgameframedesktop",e[29]),x(n,"integratedgameframemobile",e[30]),x(n,"casinomygames",e[0])},m(e,t){ue(e,n,t)},p(e,t){64&t[0]&&x(n,"userid",e[6]),2&t[0]&&x(n,"endpoint",e[1]),4&t[0]&&x(n,"datasource",e[2]),8192&t[0]&&x(n,"favorites",e[13]),16&t[0]&&x(n,"lang",e[4]),8&t[0]&&x(n,"currency",e[3]),32&t[0]&&x(n,"session",e[5]),4194304&t[1]&&x(n,"categoryid",e[53]),128&t[0]&&x(n,"clientstyling",e[7]),256&t[0]&&x(n,"clientstylingurl",e[8]),1048576&t[0]&&x(n,"livecasino",e[20]),2048&t[0]&&x(n,"visiblegames",e[11]),8388608&t[0]&&x(n,"gamepagemodalurl",e[23]),536870912&t[0]&&x(n,"integratedgameframedesktop",e[29]),1073741824&t[0]&&x(n,"integratedgameframemobile",e[30]),1&t[0]&&x(n,"casinomygames",e[0])},d(e){e&&me(n)}}}function Is(e){let n;return{c(){x(n=he("casino-my-games"),"userid",e[6]),x(n,"session",e[5]),x(n,"endpoint",e[1]),x(n,"datasource",e[2]),x(n,"lang",e[4]),x(n,"currency",e[3]),x(n,"favorites",e[13]),x(n,"clientstyling",e[7]),x(n,"clientstylingurl",e[8]),x(n,"livecasino",e[20]),x(n,"visiblegames",e[11]),x(n,"gamepagemodalurl",e[23]),x(n,"integratedgameframedesktop",e[29]),x(n,"integratedgameframemobile",e[30]),x(n,"translationurl",e[9]),x(n,"mostplayed",e[14]),x(n,"lastplayed",e[15]),x(n,"filteredcategories",e[18]),x(n,"activecategory",e[19]),x(n,"categoryindex","0"),x(n,"categoryid","MYGAMES")},m(e,t){ue(e,n,t)},p(e,t){64&t[0]&&x(n,"userid",e[6]),32&t[0]&&x(n,"session",e[5]),2&t[0]&&x(n,"endpoint",e[1]),4&t[0]&&x(n,"datasource",e[2]),16&t[0]&&x(n,"lang",e[4]),8&t[0]&&x(n,"currency",e[3]),8192&t[0]&&x(n,"favorites",e[13]),128&t[0]&&x(n,"clientstyling",e[7]),256&t[0]&&x(n,"clientstylingurl",e[8]),1048576&t[0]&&x(n,"livecasino",e[20]),2048&t[0]&&x(n,"visiblegames",e[11]),8388608&t[0]&&x(n,"gamepagemodalurl",e[23]),536870912&t[0]&&x(n,"integratedgameframedesktop",e[29]),1073741824&t[0]&&x(n,"integratedgameframemobile",e[30]),512&t[0]&&x(n,"translationurl",e[9]),16384&t[0]&&x(n,"mostplayed",e[14]),32768&t[0]&&x(n,"lastplayed",e[15]),262144&t[0]&&x(n,"filteredcategories",e[18]),524288&t[0]&&x(n,"activecategory",e[19])},d(e){e&&me(n)}}}function As(t){let r,i=t[63],s=[];for(let e=0;e<i.length;e+=1)s[e]=Us(ks(t,i,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();r=l()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);ue(t,r,n)},p(t,n){if(2123378175&n[0]|458687&n[1]|2&n[2]){let e;for(i=t[63],e=0;e<i.length;e+=1){var a=ks(t,i,e);s[e]?s[e].p(a,n):(s[e]=Us(a),s[e].c(),s[e].m(r.parentNode,r))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}},d(e){k(s,e),e&&me(r)}}}function Os(e){let n;return{c(){x(n=he("casino-my-games"),"userid",e[6]),x(n,"session",e[5]),x(n,"endpoint",e[1]),x(n,"datasource",e[2]),x(n,"lang",e[4]),x(n,"currency",e[3]),x(n,"favorites",e[13]),x(n,"clientstyling",e[7]),x(n,"clientstylingurl",e[8]),x(n,"livecasino",e[20]),x(n,"visiblegames",e[11]),x(n,"gamepagemodalurl",e[23]),x(n,"integratedgameframedesktop",e[29]),x(n,"integratedgameframemobile",e[30]),x(n,"translationurl",""),x(n,"mostplayed",e[14]),x(n,"lastplayed",e[15]),x(n,"filteredcategories",e[18]),x(n,"activecategory",e[19]),x(n,"categoryindex","0"),x(n,"categoryid","MYGAMES"),x(n,"casinomygames",e[0])},m(e,t){ue(e,n,t)},p(e,t){64&t[0]&&x(n,"userid",e[6]),32&t[0]&&x(n,"session",e[5]),2&t[0]&&x(n,"endpoint",e[1]),4&t[0]&&x(n,"datasource",e[2]),16&t[0]&&x(n,"lang",e[4]),8&t[0]&&x(n,"currency",e[3]),8192&t[0]&&x(n,"favorites",e[13]),128&t[0]&&x(n,"clientstyling",e[7]),256&t[0]&&x(n,"clientstylingurl",e[8]),1048576&t[0]&&x(n,"livecasino",e[20]),2048&t[0]&&x(n,"visiblegames",e[11]),8388608&t[0]&&x(n,"gamepagemodalurl",e[23]),536870912&t[0]&&x(n,"integratedgameframedesktop",e[29]),1073741824&t[0]&&x(n,"integratedgameframemobile",e[30]),16384&t[0]&&x(n,"mostplayed",e[14]),32768&t[0]&&x(n,"lastplayed",e[15]),262144&t[0]&&x(n,"filteredcategories",e[18]),524288&t[0]&&x(n,"activecategory",e[19]),1&t[0]&&x(n,"casinomygames",e[0])},d(e){e&&me(n)}}}function Ns(t){let r,i=t[63],s=[];for(let e=0;e<i.length;e+=1)s[e]=Ks(Ts(t,i,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();r=l()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);ue(t,r,n)},p(t,n){if(2140155391&n[0]|1048575&n[1]|2&n[2]){let e;for(i=t[63],e=0;e<i.length;e+=1){var a=Ts(t,i,e);s[e]?s[e].p(a,n):(s[e]=Ks(a),s[e].c(),s[e].m(r.parentNode,r))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}},d(e){k(s,e),e&&me(r)}}}function Ds(e){let n,a,r,i;return{c(){n=he("br"),a=pe(),x(r=he("jackpot-banner"),"title","Jackpot Cards"),x(r,"currency",i=e[3]||"RON"),x(r,"gameid","998"),x(r,"endpoint",e[1]),x(r,"lang",e[4]),x(r,"backgroundsrc","/assets/background0.jpg"),x(r,"backgroundsrcmobile","/assets/background0.jpg"),x(r,"titlelogopath","/assets/jackpots_logo.svg"),x(r,"caticon0","/assets/icon0.svg"),x(r,"caticon1","/assets/icon1.svg"),x(r,"caticon2","/assets/icon2.svg"),x(r,"caticon3","/assets/icon3.svg"),x(r,"iconlabels",e[45]),x(r,"visualstructure","typeSpread"),x(r,"clientstyling",e[7]),x(r,"clientstylingurl",e[8])},m(e,t){ue(e,n,t),ue(e,a,t),ue(e,r,t)},p(e,t){8&t[0]&&i!==(i=e[3]||"RON")&&x(r,"currency",i),2&t[0]&&x(r,"endpoint",e[1]),16&t[0]&&x(r,"lang",e[4]),16384&t[1]&&x(r,"iconlabels",e[45]),128&t[0]&&x(r,"clientstyling",e[7]),256&t[0]&&x(r,"clientstylingurl",e[8])},d(e){e&&me(n),e&&me(a),e&&me(r)}}}function Bs(e){let n,a,r,i;return{c(){n=he("br"),a=pe(),x(r=he("jackpot-banner"),"title","Egypt Quest"),x(r,"currency",i=e[3]||"RON"),x(r,"gameid","999"),x(r,"endpoint",e[1]),x(r,"lang",e[4]),x(r,"backgroundsrc",e[42]),x(r,"backgroundsrcmobile",e[43]),x(r,"titlelogopath",e[44]),x(r,"caticon0",e[38]),x(r,"caticon1",e[39]),x(r,"caticon2",e[40]),x(r,"caticon3",e[41]),x(r,"iconlabels",e[45]),x(r,"visualstructure",e[46]),x(r,"clientstyling",e[7]),x(r,"clientstylingurl",e[8])},m(e,t){ue(e,n,t),ue(e,a,t),ue(e,r,t)},p(e,t){8&t[0]&&i!==(i=e[3]||"RON")&&x(r,"currency",i),2&t[0]&&x(r,"endpoint",e[1]),16&t[0]&&x(r,"lang",e[4]),2048&t[1]&&x(r,"backgroundsrc",e[42]),4096&t[1]&&x(r,"backgroundsrcmobile",e[43]),8192&t[1]&&x(r,"titlelogopath",e[44]),128&t[1]&&x(r,"caticon0",e[38]),256&t[1]&&x(r,"caticon1",e[39]),512&t[1]&&x(r,"caticon2",e[40]),1024&t[1]&&x(r,"caticon3",e[41]),16384&t[1]&&x(r,"iconlabels",e[45]),32768&t[1]&&x(r,"visualstructure",e[46]),128&t[0]&&x(r,"clientstyling",e[7]),256&t[0]&&x(r,"clientstylingurl",e[8])},d(e){e&&me(n),e&&me(a),e&&me(r)}}}function Hs(e){let n,a;return{c(){x(n=he("casino-collections-providers"),"endpoint",a=e[1].slice(0,-2)),x(n,"datasource",e[2]),x(n,"lang",e[4]),x(n,"type","vendor"),x(n,"titletype","logo"),x(n,"clientstyling",e[7]),x(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&a!==(a=e[1].slice(0,-2))&&x(n,"endpoint",a),4&t[0]&&x(n,"datasource",e[2]),16&t[0]&&x(n,"lang",e[4]),128&t[0]&&x(n,"clientstyling",e[7]),256&t[0]&&x(n,"clientstylingurl",e[8])},d(e){e&&me(n)}}}function js(e){let n,a;return{c(){x(n=he("casino-collections-providers"),"endpoint",a=e[1].slice(0,-2)),x(n,"datasource",e[2]),x(n,"lang",e[4]),x(n,"type",e[48]),x(n,"titletype",e[49]),x(n,"clientstyling",e[7]),x(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&a!==(a=e[1].slice(0,-2))&&x(n,"endpoint",a),4&t[0]&&x(n,"datasource",e[2]),16&t[0]&&x(n,"lang",e[4]),131072&t[1]&&x(n,"type",e[48]),262144&t[1]&&x(n,"titletype",e[49]),128&t[0]&&x(n,"clientstyling",e[7]),256&t[0]&&x(n,"clientstylingurl",e[8])},d(e){e&&me(n)}}}function Us(n){let a,r,i,s,o,e,l,c,d,u="true"===enablecasinowinners&&1===n[131]&&function(e){let n,a;return{c(){n=he("div"),x(a=he("casino-winners"),"session",e[5]),x(a,"periodrecent",e[31]),x(a,"periodtop",e[32]),x(a,"numberusersrecent",e[33]),x(a,"numberuserstop",e[34]),x(a,"amountlimit",e[35]),x(a,"isrecentavailable",e[28]),x(a,"istopavailable",e[27]),x(a,"defaultcurrency",e[36]),x(a,"enableautoscroll",e[26]),x(a,"tabsorder",e[25]),x(a,"lang",e[4]),x(a,"clientstyling",e[7]),x(a,"clientstylingurl",e[8]),x(a,"endpoint",e[1]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){32&t[0]&&x(a,"session",e[5]),1&t[1]&&x(a,"periodrecent",e[31]),2&t[1]&&x(a,"periodtop",e[32]),4&t[1]&&x(a,"numberusersrecent",e[33]),8&t[1]&&x(a,"numberuserstop",e[34]),16&t[1]&&x(a,"amountlimit",e[35]),268435456&t[0]&&x(a,"isrecentavailable",e[28]),134217728&t[0]&&x(a,"istopavailable",e[27]),32&t[1]&&x(a,"defaultcurrency",e[36]),67108864&t[0]&&x(a,"enableautoscroll",e[26]),33554432&t[0]&&x(a,"tabsorder",e[25]),16&t[0]&&x(a,"lang",e[4]),128&t[0]&&x(a,"clientstyling",e[7]),256&t[0]&&x(a,"clientstylingurl",e[8]),2&t[0]&&x(a,"endpoint",e[1])},d(e){e&&me(n)}}}(n),t=4===(h=n)[131]&&"true"==enablejackpotbanner?Bs:6===h[131]&&"true"==enablejackpotbanner?Ds:void 0,m=t&&t(n);var h;function g(e){return 7==e[131]&&"true"==enablecollections?js:e[131]==e[63].length-1&&"true"==enablecollections?Hs:void 0}let p=g(n),f=p&&p(n);return{c(){u&&u.c(),a=pe(),m&&m.c(),r=pe(),f&&f.c(),i=pe(),x(s=he("casino-games-category-section"),"session",n[5]),x(s,"userid",n[6]),x(s,"endpoint",n[1]),x(s,"datasource",n[2]),x(s,"lang",n[4]),x(s,"currency",n[3]),x(s,"categoryid",o=n[129]),x(s,"categoryindex",e=n[131]),x(s,"categorygames","9"),x(s,"favorites",n[13]),x(s,"class","CategoryContainer"),S(s,"background-color",n[131]%2!=0?n[10]:"transparent"),x(s,"clientstyling",n[7]),x(s,"clientstylingurl",n[8]),x(s,"livecasino",n[20]),x(s,"visiblegames",n[11]),x(s,"gamepagemodalurl",n[23]),x(s,"integratedgameframedesktop",n[29]),x(s,"integratedgameframemobile",n[30]),x(s,"casinomygames",n[0])},m(e,t){u&&u.m(e,t),ue(e,a,t),m&&m.m(e,t),ue(e,r,t),f&&f.m(e,t),ue(e,i,t),ue(e,s,t),c||(d=E(l=n[66].call(null,s,n[129])),c=!0)},p(e,t){n=e,"true"===enablecasinowinners&&1===n[131]&&u.p(n,t),m&&m.p(n,t),p===(p=g(n))&&f?f.p(n,t):(f&&f.d(1),(f=p&&p(n))&&(f.c(),f.m(i.parentNode,i))),32&t[0]&&x(s,"session",n[5]),64&t[0]&&x(s,"userid",n[6]),2&t[0]&&x(s,"endpoint",n[1]),4&t[0]&&x(s,"datasource",n[2]),16&t[0]&&x(s,"lang",n[4]),8&t[0]&&x(s,"currency",n[3]),2&t[2]&&o!==(o=n[129])&&x(s,"categoryid",o),8192&t[0]&&x(s,"favorites",n[13]),1024&t[0]&&S(s,"background-color",n[131]%2!=0?n[10]:"transparent"),128&t[0]&&x(s,"clientstyling",n[7]),256&t[0]&&x(s,"clientstylingurl",n[8]),1048576&t[0]&&x(s,"livecasino",n[20]),2048&t[0]&&x(s,"visiblegames",n[11]),8388608&t[0]&&x(s,"gamepagemodalurl",n[23]),536870912&t[0]&&x(s,"integratedgameframedesktop",n[29]),1073741824&t[0]&&x(s,"integratedgameframemobile",n[30]),1&t[0]&&x(s,"casinomygames",n[0]),l&&T(l.update)&&2&t[2]&&l.update.call(null,n[129])},d(e){u&&u.d(e),e&&me(a),m&&m.d(e),e&&me(r),f&&f.d(e),e&&me(i),e&&me(s),c=!1,d()}}}function Ys(e){let n,a;return{c(){n=he("div"),x(a=he("casino-winners"),"session",e[5]),x(a,"userid",e[6]),x(a,"periodrecent",e[31]),x(a,"periodtop",e[32]),x(a,"numberusersrecent",e[33]),x(a,"numberuserstop",e[34]),x(a,"amountlimit",e[35]),x(a,"isrecentavailable",e[28]),x(a,"istopavailable",e[27]),x(a,"defaultcurrency",e[36]),x(a,"usercurrency",e[3]),x(a,"enableautoscroll",e[26]),x(a,"tabsorder",e[25]),x(a,"lang",e[4]),x(a,"clientstyling",e[7]),x(a,"clientstylingurl",e[8]),x(a,"endpoint",e[1]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){32&t[0]&&x(a,"session",e[5]),64&t[0]&&x(a,"userid",e[6]),1&t[1]&&x(a,"periodrecent",e[31]),2&t[1]&&x(a,"periodtop",e[32]),4&t[1]&&x(a,"numberusersrecent",e[33]),8&t[1]&&x(a,"numberuserstop",e[34]),16&t[1]&&x(a,"amountlimit",e[35]),268435456&t[0]&&x(a,"isrecentavailable",e[28]),134217728&t[0]&&x(a,"istopavailable",e[27]),32&t[1]&&x(a,"defaultcurrency",e[36]),8&t[0]&&x(a,"usercurrency",e[3]),67108864&t[0]&&x(a,"enableautoscroll",e[26]),33554432&t[0]&&x(a,"tabsorder",e[25]),16&t[0]&&x(a,"lang",e[4]),128&t[0]&&x(a,"clientstyling",e[7]),256&t[0]&&x(a,"clientstylingurl",e[8]),2&t[0]&&x(a,"endpoint",e[1])},d(e){e&&me(n)}}}function Ws(e){let n,a,r,i;return{c(){n=he("br"),a=pe(),x(r=he("jackpot-banner"),"title","Jackpot Cards"),x(r,"currency",i=e[3]||"RON"),x(r,"gameid","999"),x(r,"endpoint",e[1]),x(r,"lang",e[4]),x(r,"backgroundsrc","/assets/background0.jpg"),x(r,"backgroundsrcmobile","/assets/background0.jpg"),x(r,"titlelogopath","/assets/jackpots_logo.svg"),x(r,"caticon0","/assets/icon0.svg"),x(r,"caticon1","/assets/icon1.svg"),x(r,"caticon2","/assets/icon2.svg"),x(r,"caticon3","/assets/icon3.svg"),x(r,"iconlabels",e[45]),x(r,"visualstructure","typeSpread"),x(r,"clientstyling",e[7]),x(r,"clientstylingurl",e[8])},m(e,t){ue(e,n,t),ue(e,a,t),ue(e,r,t)},p(e,t){8&t[0]&&i!==(i=e[3]||"RON")&&x(r,"currency",i),2&t[0]&&x(r,"endpoint",e[1]),16&t[0]&&x(r,"lang",e[4]),16384&t[1]&&x(r,"iconlabels",e[45]),128&t[0]&&x(r,"clientstyling",e[7]),256&t[0]&&x(r,"clientstylingurl",e[8])},d(e){e&&me(n),e&&me(a),e&&me(r)}}}function zs(e){let n,a,r,i;return{c(){n=he("br"),a=pe(),x(r=he("jackpot-banner"),"title","Egypt Quest"),x(r,"currency",i=e[3]||"RON"),x(r,"gameid","998"),x(r,"endpoint",e[1]),x(r,"lang",e[4]),x(r,"backgroundsrc",e[42]),x(r,"backgroundsrcmobile",e[43]),x(r,"titlelogopath",e[44]),x(r,"caticon0",e[38]),x(r,"caticon1",e[39]),x(r,"caticon2",e[40]),x(r,"caticon3",e[41]),x(r,"iconlabels",e[45]),x(r,"visualstructure",e[46]),x(r,"clientstyling",e[7]),x(r,"clientstylingurl",e[8])},m(e,t){ue(e,n,t),ue(e,a,t),ue(e,r,t)},p(e,t){8&t[0]&&i!==(i=e[3]||"RON")&&x(r,"currency",i),2&t[0]&&x(r,"endpoint",e[1]),16&t[0]&&x(r,"lang",e[4]),2048&t[1]&&x(r,"backgroundsrc",e[42]),4096&t[1]&&x(r,"backgroundsrcmobile",e[43]),8192&t[1]&&x(r,"titlelogopath",e[44]),128&t[1]&&x(r,"caticon0",e[38]),256&t[1]&&x(r,"caticon1",e[39]),512&t[1]&&x(r,"caticon2",e[40]),1024&t[1]&&x(r,"caticon3",e[41]),16384&t[1]&&x(r,"iconlabels",e[45]),32768&t[1]&&x(r,"visualstructure",e[46]),128&t[0]&&x(r,"clientstyling",e[7]),256&t[0]&&x(r,"clientstylingurl",e[8])},d(e){e&&me(n),e&&me(a),e&&me(r)}}}function Vs(e){let n,a;return{c(){x(n=he("casino-collections-providers"),"endpoint",a=e[1].slice(0,-2)),x(n,"datasource",e[2]),x(n,"lang",e[4]),x(n,"type","vendor"),x(n,"titletype","logo"),x(n,"collectionprovidersgamenames",e[50]),x(n,"clientstyling",e[7]),x(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&a!==(a=e[1].slice(0,-2))&&x(n,"endpoint",a),4&t[0]&&x(n,"datasource",e[2]),16&t[0]&&x(n,"lang",e[4]),524288&t[1]&&x(n,"collectionprovidersgamenames",e[50]),128&t[0]&&x(n,"clientstyling",e[7]),256&t[0]&&x(n,"clientstylingurl",e[8])},d(e){e&&me(n)}}}function Zs(e){let n,a;return{c(){x(n=he("casino-collections-providers"),"endpoint",a=e[1].slice(0,-2)),x(n,"datasource",e[2]),x(n,"lang",e[4]),x(n,"type",e[48]),x(n,"collectionprovidersgamenames",e[50]),x(n,"titletype",e[49]),x(n,"clientstyling",e[7]),x(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&a!==(a=e[1].slice(0,-2))&&x(n,"endpoint",a),4&t[0]&&x(n,"datasource",e[2]),16&t[0]&&x(n,"lang",e[4]),131072&t[1]&&x(n,"type",e[48]),524288&t[1]&&x(n,"collectionprovidersgamenames",e[50]),262144&t[1]&&x(n,"titletype",e[49]),128&t[0]&&x(n,"clientstyling",e[7]),256&t[0]&&x(n,"clientstylingurl",e[8])},d(e){e&&me(n)}}}function Ks(n){let a,r,i,s,o,l,c,d,u,e,m,h,g,p=n[24]&&n[131]==+n[24]&&Ys(n);function f(e,t){return 64&t[1]|2&t[2]&&(r=null),64&t[1]|2&t[2]&&(i=null),(r=null==r?!(!e[37]||e[131]!=(""==e[37].split(",")[0]?e[63].length:+e[37].split(",")[0])):r)?zs:(i=null==i?!(!e[37]||e[131]!=(""==e[37].split(",")[1]?e[63].length:+e[37].split(",")[1])):i)?Ws:void 0}let y=f(n,[-1,-1,-1,-1,-1]),b=y&&y(n);function v(e,t){return 65536&t[1]|2&t[2]&&(o=null),65536&t[1]|2&t[2]&&(l=null),(o=null==o?!(!e[47]||e[131]!=(""==e[47].split(",")[0]?e[63].length:+e[47].split(",")[0])):o)?Zs:(l=null==l?!(!e[47]||e[131]!=(""==e[47].split(",")[1]?e[63].length:+e[47].split(",")[1])):l)?Vs:void 0}let w=v(n,[-1,-1,-1,-1,-1]),$=w&&w(n);return{c(){p&&p.c(),a=pe(),b&&b.c(),s=pe(),$&&$.c(),c=pe(),x(d=he("casino-games-category-section"),"session",n[5]),x(d,"userid",n[6]),x(d,"endpoint",n[1]),x(d,"datasource",n[2]),x(d,"lang",n[4]),x(d,"currency",n[3]),x(d,"categoryid",u=n[129]),x(d,"categoryindex",e=n[131]),x(d,"categorygames","9"),x(d,"favorites",n[13]),x(d,"class","CategoryContainer"),S(d,"background-color",n[131]%2!=0?n[10]:"transparent"),x(d,"clientstyling",n[7]),x(d,"clientstylingurl",n[8]),x(d,"livecasino",n[20]),x(d,"visiblegames",n[11]),x(d,"gamepagemodalurl",n[23]),x(d,"integratedgameframedesktop",n[29]),x(d,"integratedgameframemobile",n[30]),x(d,"casinomygames",n[0])},m(e,t){p&&p.m(e,t),ue(e,a,t),b&&b.m(e,t),ue(e,s,t),$&&$.m(e,t),ue(e,c,t),ue(e,d,t),h||(g=E(m=n[66].call(null,d,n[129])),h=!0)},p(e,t){(n=e)[24]&&n[131]==+n[24]?p?p.p(n,t):((p=Ys(n)).c(),p.m(a.parentNode,a)):p&&(p.d(1),p=null),y===(y=f(n,t))&&b?b.p(n,t):(b&&b.d(1),(b=y&&y(n))&&(b.c(),b.m(s.parentNode,s))),w===(w=v(n,t))&&$?$.p(n,t):($&&$.d(1),($=w&&w(n))&&($.c(),$.m(c.parentNode,c))),32&t[0]&&x(d,"session",n[5]),64&t[0]&&x(d,"userid",n[6]),2&t[0]&&x(d,"endpoint",n[1]),4&t[0]&&x(d,"datasource",n[2]),16&t[0]&&x(d,"lang",n[4]),8&t[0]&&x(d,"currency",n[3]),2&t[2]&&u!==(u=n[129])&&x(d,"categoryid",u),8192&t[0]&&x(d,"favorites",n[13]),1024&t[0]&&S(d,"background-color",n[131]%2!=0?n[10]:"transparent"),128&t[0]&&x(d,"clientstyling",n[7]),256&t[0]&&x(d,"clientstylingurl",n[8]),1048576&t[0]&&x(d,"livecasino",n[20]),2048&t[0]&&x(d,"visiblegames",n[11]),8388608&t[0]&&x(d,"gamepagemodalurl",n[23]),536870912&t[0]&&x(d,"integratedgameframedesktop",n[29]),1073741824&t[0]&&x(d,"integratedgameframemobile",n[30]),1&t[0]&&x(d,"casinomygames",n[0]),m&&T(m.update)&&2&t[2]&&m.update.call(null,n[129])},d(e){p&&p.d(e),e&&me(a),b&&b.d(e),e&&me(s),$&&$.d(e),e&&me(c),e&&me(d),h=!1,g()}}}function Xs(n){let a,r,i,e,t,s,o,l=n[64]("casinoPage.breakButton")+"";return{c(){a=he("div"),r=he("button"),i=ge(l),fe(r,"class",e="PanicButton "+("PC"!==ze(n[65])?"PanicButtonMobile ":"")),fe(r,"part",t="PanicButton "+("PC"!==ze(n[65])?"PanicButtonMobile":"")),m(r,"PanicButtonAnimation",n[59]),fe(a,"class",s="PanicSection "+("PC"!==ze(n[65])?"PanicSectionMobile":"")),fe(a,"part",o="PanicSection "+("PC"!==ze(n[65])?"PanicSectionMobile":""))},m(e,t){ue(e,a,t),de(a,r),de(r,i),n[71](r)},p(e,t){4&t[2]&&l!==(l=e[64]("casinoPage.breakButton")+"")&&ye(i,l),268435456&t[1]&&m(r,"PanicButtonAnimation",e[59])},d(e){e&&me(a),n[71](null)}}}function Js(n){let a;function r(e){return e[57]?Ms:Gs}let i=r(n),s=i(n);return{c(){a=he("div"),s.c(),this.c=W},m(e,t){ue(e,a,t),s.m(a,null),n[72](a)},p(e,t){i===(i=r(e))&&s?s.p(e,t):(s.d(1),(s=i(e))&&(s.c(),s.m(a,null)))},i:W,o:W,d(e){e&&me(a),s.d(),n[72](null)}}}customElements.get("casino-search")||customElements.define("casino-search",class extends e{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}.CasinoSearchPc{margin:30px 16px}.CasinoSearch{margin:30px 16px}.SearchPc{display:flex;align-items:center;position:relative;margin-bottom:20px;left:19%}.Search{display:flex;align-items:center;position:relative;justify-content:space-between;margin-bottom:20px}.SearchIconPc{position:absolute;left:20px;z-index:1}.SearchIconPc svg{height:14px;width:13px}.SearchIcon{position:absolute;left:5%;z-index:1}.SearchIcon svg{height:14px;width:13px}.SearchContainerPc{width:60%;position:relative}.SearchContainer{width:100%;position:relative}.SearchInput{border-radius:4px;border:1px solid #cacaca;color:#717171;display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%}.SearchInput::placeholder{color:#717171;font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid #d9d7d7}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:15px;cursor:pointer}.SearchCancelButton{color:#717171;font-weight:300;margin-left:8px;cursor:pointer}.SearchMessagePc{font-size:18px;font-weight:600;margin:24px 0;color:#FFFFFF;margin-top:90px}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:#212121}.SearchResultsContainer{display:grid;gap:8px;grid-template-columns:repeat(auto-fill, minmax(min(167px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 167px);grid-auto-rows:167px;grid-auto-columns:167px;grid-auto-flow:row dense}.ResultsContainerError{text-align:center;width:300px;color:#717171;font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.NotVisible{display:none}</style>',j(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Cs,_s,t,{endpoint:0,datasource:23,session:24,userid:25,lang:1,clientstyling:2,clientstylingurl:3,integratedgameframedesktop:4,integratedgameframemobile:5,gamepagemodalurl:6,translationurl:26,showfavorites:7},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","session","userid","lang","clientstyling","clientstylingurl","integratedgameframedesktop","integratedgameframemobile","gamepagemodalurl","translationurl","showfavorites"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[23]}set datasource(e){this.$$set({datasource:e}),f()}get session(){return this.$$.ctx[24]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[25]}set userid(e){this.$$set({userid:e}),f()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[4]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[5]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gamepagemodalurl(){return this.$$.ctx[6]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get translationurl(){return this.$$.ctx[26]}set translationurl(e){this.$$set({translationurl:e}),f()}get showfavorites(){return this.$$.ctx[7]}set showfavorites(e){this.$$set({showfavorites:e}),f()}});let qs=!1;function Qs(e,t,l){let A;Ve(e,Ta,e=>l(64,A=e));let O,{endpoint:c=""}=t,{datasource:n=""}=t,{currency:N=""}=t,{lang:r=""}=t,{session:i=""}=t,{userid:s=""}=t,{clientstyling:o=""}=t,{clientstylingurl:d=""}=t,{translationurl:u=""}=t,{categorybackground:D=""}=t,B=t["visiblegames"],{alternativesearch:H="false"}=t,{favorites:m=""}=t,{mostplayed:j=""}=t,{lastplayed:U=""}=t,{containermaxwidth:Y="1300"}=t,{lobbyid:W="casinodefault"}=t,{haspanicbutton:z="false"}=t,{mostplayedrounds:V=""}=t,{lastplayedperiod:Z=""}=t,{filteredcategories:h=""}=t,{activecategory:g=""}=t,{livecasino:K="false"}=t,{playrandomgame:X="false"}=t,{filteredrandomgamecategories:J=""}=t,{gamepagemodalurl:q="false"}=t,{positionwinnerswidget:Q=""}=t,{tabsorder:ee=""}=t,{enableautoscroll:te=""}=t,{istopavailable:ne=""}=t,{isrecentavailable:ae=""}=t,{integratedgameframedesktop:re="false"}=t,{integratedgameframemobile:ie="false"}=t,{periodrecent:se=""}=t,{periodtop:oe=""}=t,{numberusersrecent:le=""}=t,{numberuserstop:ce=""}=t,{amountlimit:de=""}=t,{defaultcurrency:ue=""}=t,{positionjackpotbanners:me=""}=t,{caticon0:he=""}=t,{caticon1:ge=""}=t,{caticon2:pe=""}=t,{caticon3:fe=""}=t,{backgroundsrc:ye=""}=t,{backgroundsrcmobile:be=""}=t,{titlelogopath:ve=""}=t,{iconlabels:we=""}=t,{visualstructure:$e=""}=t,{positioncollections:xe=""}=t,{type:Se=""}=t,{titletype:_e=""}=t,{casinomygames:p="false"}=t,{collectionprovidersgamenames:Ce=""}=t,{randombuttonicon:ke=""}=t,Te=window.navigator.userAgent;O=We(Te)?"OpenGameFrame":"ShowGameModal";let f,y,b,Ge,v,w,Me,Ee,a,$,x=!1,S=!1,Le=!1,_="",C=!1,k=0,T=!1,G=!0,Pe=!1,Fe=[],M=[],Re=!1,E=[],L="",Ie=!1;var Ae,Oe;({withLocale:Ae,translations:Oe}={withLocale:"en",translations:{}}),Ye.subscribe(e=>{null==e&&(ia.set(Oe),Ye.set(Ae))}),Object.keys(Ma).forEach(e=>{Ga(e,Ma[e])});const Ne=e=>{switch(Re=!0,l(0,p="false"),setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:Re},window.location.href)}),e.data.itemId){case"LOBBY":l(61,G=!0),l(60,T=!1),l(53,v="");break;case"MYGAMES":l(0,p="true"),l(61,G=!1),l(60,T=!0),l(53,v="");break;case"FAVORITES":l(61,G=!1),l(60,T=!0),l(53,v="");break;case"MOSTPLAYED":"true"==j&&(l(53,v=""),l(61,G=!1),l(60,T=!0));break;case"LASTPLAYED":"true"==U&&(l(53,v=""),l(61,G=!1),l(60,T=!0));break;default:l(61,G=!1),l(60,T=!1),l(53,v=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href)},500)}},De=n=>{if(n.data)switch(n.data.type){case"CategoryChange":Ne(n);break;case"UserSessionID":y=n.data.session,(f=n.data.userID)&&f.length&&y&&0<y.length&&P(c,y,f);break;case"SetUnfavoredGame":t=`${c}/player/${f}/favorites`,s=y,f,o=n.data.id,n.data.triggerFactor,E.includes(o)&&(E=E.filter(e=>e!=o)),fetch(t+"/"+o,{method:"DELETE",headers:{"X-SessionID":s}}).then(e=>e.json()).then(e=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+o},window.location.href),Be(t,s)});break;case"SetFavoredGame":{var a=`${c}/player/${f}/favorites`;var r=y;f;var i=n.data.id;n.data.triggerFactor;E.includes(i)||E.push(i);let e={items:E},t={method:"POST",headers:{"X-SessionID":r,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(a,t).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${i}`},window.location.href),Be(a,r)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":f&&f.length&&y&&0<y.length&&P(c,y,f);break;case"UpdateFilters":e=n.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:e},window.location.href),F();break;case"ClearFilters":e=n.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:e},window.location.href),F();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:L},window.location.href),F();break;case"CategoryVendors":L=n.data.categoryid,F();break;case"searchCancelled":l(62,Pe=!1);break;case"searchActive":l(62,Pe=!0);break;case"ModalClosed":break;case"SubgroupsIds":M.some(e=>n.data.subGroupsIds.includes(e))||M.push(...n.data.subGroupsIds)}var e,t,s,o};let P=(e,t,n)=>{"true"==m&&i&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((a=e)&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:a},window.location.href),He(a.items)),a)).then(e=>e).catch(e=>{console.error(e)})},Be=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((a=e)&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:a},window.location.href),a)).catch(e=>{console.error(e)})};const He=(e=[])=>(E=[],0<e.length&&e.forEach(e=>{E.push(e.id)}),E);const F=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&L&&e[L]&&e[L].length},je=()=>{w&&(Me=w.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop},R=e=>{k=0,Ge=setInterval(()=>{k+=1,l(59,C=!0),3<=k&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(Ge))},1e3)},I=e=>{k<3&&l(59,C=!1),clearInterval(Ge)};return Ze(()=>(window.addEventListener("scroll",je,!1),window.addEventListener("message",De,!1),()=>{window.removeEventListener("scroll",je),window.removeEventListener("message",De),l(59,C=!1),null!=b&&b.removeEventListener("mousedown",R),null!=b&&b.removeEventListener("touchstart",R),null!=b&&b.removeEventListener("mouseup",I),null!=b&&b.removeEventListener("touchend",I)})),e.$$set=e=>{"endpoint"in e&&l(1,c=e.endpoint),"datasource"in e&&l(2,n=e.datasource),"currency"in e&&l(3,N=e.currency),"lang"in e&&l(4,r=e.lang),"session"in e&&l(5,i=e.session),"userid"in e&&l(6,s=e.userid),"clientstyling"in e&&l(7,o=e.clientstyling),"clientstylingurl"in e&&l(8,d=e.clientstylingurl),"translationurl"in e&&l(9,u=e.translationurl),"categorybackground"in e&&l(10,D=e.categorybackground),"visiblegames"in e&&l(11,B=e.visiblegames),"alternativesearch"in e&&l(12,H=e.alternativesearch),"favorites"in e&&l(13,m=e.favorites),"mostplayed"in e&&l(14,j=e.mostplayed),"lastplayed"in e&&l(15,U=e.lastplayed),"containermaxwidth"in e&&l(16,Y=e.containermaxwidth),"lobbyid"in e&&l(67,W=e.lobbyid),"haspanicbutton"in e&&l(17,z=e.haspanicbutton),"mostplayedrounds"in e&&l(68,V=e.mostplayedrounds),"lastplayedperiod"in e&&l(69,Z=e.lastplayedperiod),"filteredcategories"in e&&l(18,h=e.filteredcategories),"activecategory"in e&&l(19,g=e.activecategory),"livecasino"in e&&l(20,K=e.livecasino),"playrandomgame"in e&&l(21,X=e.playrandomgame),"filteredrandomgamecategories"in e&&l(22,J=e.filteredrandomgamecategories),"gamepagemodalurl"in e&&l(23,q=e.gamepagemodalurl),"positionwinnerswidget"in e&&l(24,Q=e.positionwinnerswidget),"tabsorder"in e&&l(25,ee=e.tabsorder),"enableautoscroll"in e&&l(26,te=e.enableautoscroll),"istopavailable"in e&&l(27,ne=e.istopavailable),"isrecentavailable"in e&&l(28,ae=e.isrecentavailable),"integratedgameframedesktop"in e&&l(29,re=e.integratedgameframedesktop),"integratedgameframemobile"in e&&l(30,ie=e.integratedgameframemobile),"periodrecent"in e&&l(31,se=e.periodrecent),"periodtop"in e&&l(32,oe=e.periodtop),"numberusersrecent"in e&&l(33,le=e.numberusersrecent),"numberuserstop"in e&&l(34,ce=e.numberuserstop),"amountlimit"in e&&l(35,de=e.amountlimit),"defaultcurrency"in e&&l(36,ue=e.defaultcurrency),"positionjackpotbanners"in e&&l(37,me=e.positionjackpotbanners),"caticon0"in e&&l(38,he=e.caticon0),"caticon1"in e&&l(39,ge=e.caticon1),"caticon2"in e&&l(40,pe=e.caticon2),"caticon3"in e&&l(41,fe=e.caticon3),"backgroundsrc"in e&&l(42,ye=e.backgroundsrc),"backgroundsrcmobile"in e&&l(43,be=e.backgroundsrcmobile),"titlelogopath"in e&&l(44,ve=e.titlelogopath),"iconlabels"in e&&l(45,we=e.iconlabels),"visualstructure"in e&&l(46,$e=e.visualstructure),"positioncollections"in e&&l(47,xe=e.positioncollections),"type"in e&&l(48,Se=e.type),"titletype"in e&&l(49,_e=e.titletype),"casinomygames"in e&&l(0,p=e.casinomygames),"collectionprovidersgamenames"in e&&l(50,Ce=e.collectionprovidersgamenames),"randombuttonicon"in e&&l(51,ke=e.randombuttonicon)},e.$$.update=()=>{var a,t;if((524304&e.$$.dirty[0]&&r&&g&&(l(53,v=g),Ne({data:{itemId:v}})),98&e.$$.dirty[0]&&i&&s&&c&&(l(58,Le=!0),y=i,(f=s)&&f.length&&y&&0<y.length&&"true"!=p&&P(c,y,f)),4194304&e.$$.dirty[1]|256&e.$$.dirty[2]&&v&&M&&M&&!M.includes(decodeURI(v))&&""!=v&&window.postMessage({type:"NonExistentCategory"},window.location.href),4118&e.$$.dirty[0]&&c&&n&&r&&H)&&(c||(_="Endpoint is missing! Please provide a valid endpointURL.",l(57,S=!0),l(56,x=!1),console.error(_)),n||(_="Datasource is missing! Please provide a valid datasource.",l(57,S=!0),l(56,x=!1),console.error(_)),(!r||r.length<2)&&(_="Language is missing! Please provide a valid language (alpha2code)",l(57,S=!0),l(56,x=!1),console.error(_)),!S)){l(56,x=!0),"true"==m&&P(c,y,f),t=r,Ye.set(t);let e=new URL(c+"/casino/groups/"+n);e.searchParams.append("language",r),e.searchParams.append("platform",ze(Te)),a=e,new Promise((t,n)=>{l(56,x=!0),fetch(a).then(e=>e.json()).then(e=>{l(56,x=!1),t(e)}).catch(e=>{l(57,S=!0),l(56,x=!1),console.error(e),n(e)})}).then(e=>{let a=h.split(",");e&&(Ee=e.items.filter(e=>{let t;if(0<e.games.total&&(t=!0,h))for(var n of a)e.flags==n&&(t=!1);return t}),l(63,Fe=Ee.map(e=>e.id)),l(70,M=e.items.map(e=>e.id.toString())),l(56,x=!1))}),F(),(w=void 0)&&(Me=w.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}if(16&e.$$.dirty[0]&&r&&(Ie&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href)},500),Ie=!1),512&e.$$.dirty[0]&&u&&fetch(u).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ga(e,t[e])})}).catch(e=>{console.log(e)}),128&e.$$.dirty[0]|8388608&e.$$.dirty[1]&&o&&$){let e=document.createElement("style");e.innerHTML=o,$.appendChild(e)}if(256&e.$$.dirty[0]|8388608&e.$$.dirty[1]&&d&&$){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{$.appendChild(t)},1)})}2097152&e.$$.dirty[1]&&b&&(null!=b&&b.addEventListener("mousedown",R,!1),null!=b&&b.addEventListener("touchstart",R,!1),null!=b&&b.addEventListener("mouseup",I,!1),null!=b&&b.addEventListener("touchend",I,!1))},[p,c,n,N,r,i,s,o,d,u,D,B,H,m,j,U,Y,z,h,g,K,X,J,q,Q,ee,te,ne,ae,re,ie,se,oe,le,ce,de,ue,me,he,ge,pe,fe,ye,be,ve,we,$e,xe,Se,_e,Ce,ke,b,v,$,O,x,S,Le,C,T,G,Pe,Fe,A,Te,(e,t)=>{L=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:B,receivedFavoriteResults:a},window.location.href)},W,V,Z,M,function(e){Ue[e?"unshift":"push"](()=>{b=e,l(52,b)})},function(e){Ue[e?"unshift":"push"](()=>{$=e,l(54,$)})}]}class eo extends e{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;position:relative}.CasinoWinners{background:transparent;width:100%;min-height:200px}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:20px}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:48px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}.PanicButtonMobile{width:280px;padding:0 5px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}[type=search]{appearance:none}.CategoryContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);font-size:14px;margin-top:16px;text-align:center}@media screen and (max-width: 1300px){}@media(max-width: 768px){}.SearchBarPlaceholder{display:block;width:100%;height:46px}.SearchBarPlaceholder{display:block;width:100%;height:46px}</style>',j(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Qs,Js,t,{endpoint:1,datasource:2,currency:3,lang:4,session:5,userid:6,clientstyling:7,clientstylingurl:8,translationurl:9,categorybackground:10,visiblegames:11,alternativesearch:12,favorites:13,mostplayed:14,lastplayed:15,containermaxwidth:16,lobbyid:67,haspanicbutton:17,mostplayedrounds:68,lastplayedperiod:69,filteredcategories:18,activecategory:19,livecasino:20,playrandomgame:21,filteredrandomgamecategories:22,gamepagemodalurl:23,positionwinnerswidget:24,tabsorder:25,enableautoscroll:26,istopavailable:27,isrecentavailable:28,integratedgameframedesktop:29,integratedgameframemobile:30,periodrecent:31,periodtop:32,numberusersrecent:33,numberuserstop:34,amountlimit:35,defaultcurrency:36,positionjackpotbanners:37,caticon0:38,caticon1:39,caticon2:40,caticon3:41,backgroundsrc:42,backgroundsrcmobile:43,titlelogopath:44,iconlabels:45,visualstructure:46,positioncollections:47,type:48,titletype:49,casinomygames:0,collectionprovidersgamenames:50,randombuttonicon:51},null,[-1,-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","categorybackground","visiblegames","alternativesearch","favorites","mostplayed","lastplayed","containermaxwidth","lobbyid","haspanicbutton","mostplayedrounds","lastplayedperiod","filteredcategories","activecategory","livecasino","playrandomgame","filteredrandomgamecategories","gamepagemodalurl","positionwinnerswidget","tabsorder","enableautoscroll","istopavailable","isrecentavailable","integratedgameframedesktop","integratedgameframemobile","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","positionjackpotbanners","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","positioncollections","type","titletype","casinomygames","collectionprovidersgamenames","randombuttonicon"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[3]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[5]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[6]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),f()}get categorybackground(){return this.$$.ctx[10]}set categorybackground(e){this.$$set({categorybackground:e}),f()}get visiblegames(){return this.$$.ctx[11]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get alternativesearch(){return this.$$.ctx[12]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get mostplayed(){return this.$$.ctx[14]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get lastplayed(){return this.$$.ctx[15]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get containermaxwidth(){return this.$$.ctx[16]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get lobbyid(){return this.$$.ctx[67]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get haspanicbutton(){return this.$$.ctx[17]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get mostplayedrounds(){return this.$$.ctx[68]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get lastplayedperiod(){return this.$$.ctx[69]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get filteredcategories(){return this.$$.ctx[18]}set filteredcategories(e){this.$$set({filteredcategories:e}),f()}get activecategory(){return this.$$.ctx[19]}set activecategory(e){this.$$set({activecategory:e}),f()}get livecasino(){return this.$$.ctx[20]}set livecasino(e){this.$$set({livecasino:e}),f()}get playrandomgame(){return this.$$.ctx[21]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get filteredrandomgamecategories(){return this.$$.ctx[22]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),f()}get gamepagemodalurl(){return this.$$.ctx[23]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get positionwinnerswidget(){return this.$$.ctx[24]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),f()}get tabsorder(){return this.$$.ctx[25]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[26]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[27]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[28]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[29]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[30]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get periodrecent(){return this.$$.ctx[31]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[32]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[33]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[34]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[35]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get defaultcurrency(){return this.$$.ctx[36]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get positionjackpotbanners(){return this.$$.ctx[37]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),f()}get caticon0(){return this.$$.ctx[38]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[39]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[40]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[41]}set caticon3(e){this.$$set({caticon3:e}),f()}get backgroundsrc(){return this.$$.ctx[42]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[43]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[44]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get iconlabels(){return this.$$.ctx[45]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get visualstructure(){return this.$$.ctx[46]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get positioncollections(){return this.$$.ctx[47]}set positioncollections(e){this.$$set({positioncollections:e}),f()}get type(){return this.$$.ctx[48]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[49]}set titletype(e){this.$$set({titletype:e}),f()}get casinomygames(){return this.$$.ctx[0]}set casinomygames(e){this.$$set({casinomygames:e}),f()}get collectionprovidersgamenames(){return this.$$.ctx[50]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),f()}get randombuttonicon(){return this.$$.ctx[51]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}}return customElements.get("casino-page")||customElements.define("casino-page",eo),eo});
31
31
  //# sourceMappingURL=casino-page.js.map