@everymatrix/casino-page 1.7.2 → 1.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/casino-page.js +1 -1
- package/dist/casino-page.js.map +1 -1
- package/package.json +2 -2
package/dist/casino-page.js
CHANGED
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
<span id=${t} class="${e}">
|
|
30
30
|
${n}
|
|
31
31
|
</span>
|
|
32
|
-
`},q,g,y,b,v,$,ne,S,k,_,T,F,M,L,E,G,pe,ge,function(e){at[e?"unshift":"push"](()=>{i=e,s(19,i)})},()=>be(x),()=>ye(x),()=>be(x),function(e){at[e?"unshift":"push"](()=>{p=e,s(14,p)})},function(e){at[e?"unshift":"push"](()=>{o=e,s(11,o)})}]}function Mr(e,t){ka(e,t)}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends r{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>',a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Fr,Cr,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 Lr={en:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},zh:{Translations:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"}},de:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},it:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},fr:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},es:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},tr:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},ru:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},ro:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},hr:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},hu:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},pl:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},pt:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},sl:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},sr:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}}};function Er(e,t,n){const a=e.slice();return a[35]=t[n],a[36]=t,a[37]=n,a}function Gr(n){let a,r,i,s,o,l,c,d,u,h,m,p,g,f,y,b,v,w,e,x,A,$,C,B,S,k,_,T,F,M,O,L=n[11]("Translations.filterby")+"",E=n[11]("Translations.providers")+"",G=n[11]("Translations.clear")+"";function N(e){return e[7]?Rr:Ir}let P=N(n),I=P(n),R=n[5],D=[];for(let e=0;e<R.length;e+=1)D[e]=Br(Er(n,R,e));return{c(){a=me("div"),r=me("div"),i=me("div"),s=j("svg"),o=j("path"),l=ge(),c=me("div"),d=me("span"),u=pe(L),h=ge(),m=me("div"),p=me("span"),g=pe(E),f=ge(),I.c(),y=ge(),b=me("span"),v=j("svg"),w=j("path"),A=ge(),$=me("div"),C=me("ul");for(let e=0;e<D.length;e+=1)D[e].c();B=ge(),S=me("button"),k=pe(G),fe(o,"id","noun_filter_736223"),fe(o,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),fe(o,"transform","translate(-5 -6.2)"),fe(o,"fill","#fff"),fe(s,"xmlns","http://www.w3.org/2000/svg"),fe(s,"width","16"),fe(s,"height","16"),fe(s,"viewBox","0 0 16 16"),fe(d,"class","FilterName"),fe(m,"class","FilterValueContainer"),fe(c,"class","FilterTextContainer"),fe(i,"class","FilterMainArea"),fe(w,"id","arrow"),fe(w,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),fe(w,"transform","translate(-274.511 -441.088)"),fe(w,"fill","#d1d1d1"),fe(v,"xmlns","http://www.w3.org/2000/svg"),fe(v,"width","14"),fe(v,"height","6.835"),fe(v,"viewBox","0 0 14 6.835"),fe(b,"class",e="TriangleInactive "+(n[4]?"TriangleActive":"")),fe(r,"class",x="FilterSelector "+(n[4]?"FilterSelectorOpen":"")),fe(C,"class","FilterDropdown"),fe(S,"class","ClearFilters"),S.disabled=_=n[7]&&n[6].length!=n[5].length,fe($,"class",T="FilterDropdownContainer "+(n[4]?"FilterOpen":"")),fe(a,"class",F="FilterContainer "+("true"==n[0]&&"true"==n[1]?"FilerContainerSplit":""))},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(i,s),de(s,o),de(i,l),de(i,c),de(c,d),de(d,u),de(c,h),de(c,m),de(m,p),de(p,g),de(m,f),I.m(m,null),de(r,y),de(r,b),de(b,v),de(v,w),de(a,A),de(a,$),de($,C);for(let e=0;e<D.length;e+=1)D[e].m(C,null);de($,B),de($,S),de(S,k),M||(O=[V(r,"click",n[22]),V(S,"click",n[25])],M=!0)},p(t,n){if(2048&n[0]&&L!==(L=t[11]("Translations.filterby")+"")&&ye(u,L),2048&n[0]&&E!==(E=t[11]("Translations.providers")+"")&&ye(g,E),P===(P=N(t))&&I?I.p(t,n):(I.d(1),(I=P(t))&&(I.c(),I.m(m,null))),16&n[0]&&e!==(e="TriangleInactive "+(t[4]?"TriangleActive":""))&&fe(b,"class",e),16&n[0]&&x!==(x="FilterSelector "+(t[4]?"FilterSelectorOpen":""))&&fe(r,"class",x),8228&n[0]){let e;for(R=t[5],e=0;e<R.length;e+=1){const r=Er(t,R,e);D[e]?D[e].p(r,n):(D[e]=Br(r),D[e].c(),D[e].m(C,null))}for(;e<D.length;e+=1)D[e].d(1);D.length=R.length}2048&n[0]&&G!==(G=t[11]("Translations.clear")+"")&&ye(k,G),224&n[0]&&_!==(_=t[7]&&t[6].length!=t[5].length)&&(S.disabled=_),16&n[0]&&T!==(T="FilterDropdownContainer "+(t[4]?"FilterOpen":""))&&fe($,"class",T),3&n[0]&&F!==(F="FilterContainer "+("true"==t[0]&&"true"==t[1]?"FilerContainerSplit":""))&&fe(a,"class",F)},d(e){e&&he(a),I.d(),H(D,e),M=!1,Y(O)}}}function Pr(e){let n,a,r=e[11]("casinoPage.500")+"";return{c(){n=me("p"),a=pe(r),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){2048&t[0]&&r!==(r=e[11]("casinoPage.500")+"")&&ye(a,r)},d(e){e&&he(n)}}}function Ir(e){let n,a;return{c(){n=me("span"),a=pe(e[8]),fe(n,"class","FilterCounter")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){256&t[0]&&ye(a,e[8])},d(e){e&&he(n)}}}function Rr(e){let n,a,r=e[11]("Translations.all")+"";return{c(){n=me("span"),a=pe(r),fe(n,"class","FilterCounter")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){2048&t[0]&&r!==(r=e[11]("Translations.all")+"")&&ye(a,r)},d(e){e&&he(n)}}}function Dr(e){let n,a;return{c(){ce((n=me("img")).src,a=e[35].logo)||fe(n,"src",a),fe(n,"alt","vendor logo")},m(e,t){ue(e,n,t)},p(e,t){32&t[0]&&!ce(n.src,a=e[35].logo)&&fe(n,"src",a)},d(e){e&&he(n)}}}function Ar(e){let n,a,r=e[35].name+"";return{c(){n=me("span"),a=pe(r)},m(e,t){ue(e,n,t),de(n,a)},p(e,t){32&t[0]&&r!==(r=e[35].name+"")&&ye(a,r)},d(e){e&&he(n)}}}function Br(n){let a,r,i,s,o,l,c,d,u,h,m,p;function g(){n[23].call(i,n[36],n[37])}function f(){return n[24](n[35])}function y(e){return"false"===e[2]?Ar:"true"===e[2]?Dr:void 0}let b=y(n),v=b&&b(n);return{c(){a=me("li"),r=me("label"),i=me("input"),o=ge(),l=me("span"),c=ge(),v&&v.c(),d=ge(),fe(i,"type","checkbox"),fe(i,"name","checkbox"),i.__value=s=n[35].name,i.value=i.__value,fe(l,"class","FiltersCheckmark"),fe(r,"class","FilterLabel"),fe(a,"class",u="FilterItem "+("true"===n[2]?"FilterItemWithLogos":"")),a.value=h=n[35].name},m(e,t){ue(e,a,t),de(a,r),de(r,i),i.checked=n[35].isFilterSelected,de(r,o),de(r,l),de(r,c),v&&v.m(r,null),de(a,d),m||(p=[V(i,"change",g),V(i,"click",f)],m=!0)},p(e,t){n=e,32&t[0]&&s!==(s=n[35].name)&&(i.__value=s,i.value=i.__value),32&t[0]&&(i.checked=n[35].isFilterSelected),b===(b=y(n))&&v?v.p(n,t):(v&&v.d(1),(v=b&&b(n))&&(v.c(),v.m(r,null))),4&t[0]&&u!==(u="FilterItem "+("true"===n[2]?"FilterItemWithLogos":""))&&fe(a,"class",u),32&t[0]&&h!==(h=n[35].name)&&(a.value=h)},d(e){e&&he(a),v&&v.d(),m=!1,Y(p)}}}function Or(n){let a;function r(e){return e[10]?Pr:e[9]?void 0:Gr}let i=r(n),s=i&&i(n);return{c(){a=me("div"),s&&s.c(),this.c=z},m(e,t){ue(e,a,t),s&&s.m(a,null),n[26](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:z,o:z,d(e){e&&he(a),s&&s.d(),n[26](null)}}}function Nr(n,e,a){let t;ot(n,za,e=>a(11,t=e));let r,{endpoint:i=""}=e,{datasource:s=""}=e,{lang:o=""}=e,{translationurl:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:d=""}=e,{categoryid:u=""}=e,{addfilterselector:h="false"}=e,{addsortingselector:m="false"}=e,{filterbylogo:p="false"}=e,g=!1,f=window.navigator.userAgent,y=[],b=[],v={},w=!1,x=0,$=!0,C=!1;var S,k;({withLocale:S,translations:k}={withLocale:"en",translations:{}}),rt.subscribe(e=>{null==e&&(Ca.set(k),rt.set(S))}),Object.keys(Lr).forEach(e=>{Mr(e,Lr[e])}),v[u]&&(v={[u]:[]});const _=()=>{a(4,g=!g)},T=t=>{let e=localStorage.getItem("vendorFiltersByCategory");t.isFilterSelected=!t.isFilterSelected,b.length&&0!=b.filter(e=>e.name===t.name).length?a(6,b=b.filter(e=>e.name!==t.name)):b.push(t),null==e?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[u]:b.map(e=>e.id)})):((e=JSON.parse(e))[u]=b.map(e=>e.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),F()},F=()=>{a(7,w=b.length===y.length||0==b.length),a(8,x=b.length)},M=()=>{a(9,$=!0),a(6,b=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[u]:b.map(e=>e.id)})),y.forEach(e=>e.isFilterSelected=!1),setTimeout(()=>{a(9,$=!1)},50),window.postMessage({type:"ApplyFilters"},window.location.href),a(7,w=!0),a(4,g=!1)};return n.$$set=e=>{"endpoint"in e&&a(15,i=e.endpoint),"datasource"in e&&a(16,s=e.datasource),"lang"in e&&a(17,o=e.lang),"translationurl"in e&&a(18,l=e.translationurl),"clientstyling"in e&&a(19,c=e.clientstyling),"clientstylingurl"in e&&a(20,d=e.clientstylingurl),"categoryid"in e&&a(21,u=e.categoryid),"addfilterselector"in e&&a(0,h=e.addfilterselector),"addsortingselector"in e&&a(1,m=e.addsortingselector),"filterbylogo"in e&&a(2,p=e.filterbylogo)},n.$$.update=()=>{if(2195460&n.$$.dirty[0]&&i&&s&&u&&p){const t=new URL(i+"/casino/vendors");var e;t.searchParams.append("fields","id,name,logo,subVendors"),t.searchParams.append("language",o),t.searchParams.append("datasource",s),t.searchParams.append("platform",st(f)),1<(u.match(/\$/g)||[]).length?(t.searchParams.append("filter",`games(subGroups=${u})`),t.searchParams.append("subVendors",`games(subGroups=${u})`)):t.searchParams.append("filter",`games(groups=${u})`),e=t,a(9,$=!0),new Promise((t,n)=>{fetch(e).then(e=>e.json()).then(e=>{e=e.items,t(e.items),a(6,b=[]);let n=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));e.forEach(e=>{var t;0<=(null==(t=(n=n||{currentCategoryId:[]})[u])?void 0:t.indexOf(e.id))?(e.isFilterSelected=!0,b.push(e)):e.isFilterSelected=!1}),a(5,y=e),F()}).catch(e=>{console.error(e),a(10,C=!0),n(e)}).finally(()=>{a(9,$=!1)})})}if(524296&n.$$.dirty[0]&&c&&r){let e=document.createElement("style");e.innerHTML=c,r.appendChild(e)}if(1048584&n.$$.dirty[0]&&d&&r){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}262144&n.$$.dirty[0]&&l&&fetch(l).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Mr(e,t[e])})}).catch(e=>{console.log(e)})},[h,m,p,r,g,y,b,w,x,$,C,t,_,T,M,i,s,o,l,c,d,u,()=>_(),function(e,t){e[t].isFilterSelected=this.checked,a(5,y)},e=>T(e),()=>M(),function(e){at[e?"unshift":"push"](()=>{r=e,a(3,r)})}]}function Hr(e,t,n){const a=e.slice();return a[80]=t[n],a[82]=n,a}function jr(e,t,n){const a=e.slice();return a[80]=t[n],a[83]=t,a[82]=n,a}function Ur(e,t,n){const a=e.slice();return a[80]=t[n],a[82]=n,a}function Wr(e){let n;function a(e){return e[22]?Zr:e[32]?Vr:void 0}let r=a(e),i=r&&r(e);return{c(){n=me("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&&he(n),i&&i.d()}}}function zr(e){let n,a,r;function i(e){return e[26]?bi:e[23].length?fi:yi}let s=i(e),o=s(e);function l(e){return e[23]?wi:vi}let c=l(e),d=c(e);return{c(){n=me("div"),a=me("div"),o.c(),r=ge(),d.c(),fe(a,"class","CasinoGamesHeader Searched "+(it(e[37])?"CasinoGamesHeaderMobile":"")),fe(a,"part","CasinoGamesHeader Searched "+(it(e[37])?"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&&he(n),o.d(),d.d()}}}function Yr(e){let n;function a(e){return e[28]?Si:Ci}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&&he(n)}}}function Vr(n){let a,r,i,s,o,l="true"!==n[14]&&Kr(n);function c(e){return e[20]?Jr:e[35]?qr:Xr}let d=c(n),u=d(n);return{c(){a=me("div"),l&&l.c(),r=ge(),i=me("ul"),u.c(),fe(i,"class",s=(0!=n[35].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(i,"part",o=(0!=n[35].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[55](i)},p(e,t){"true"!==e[14]?l?l.p(e,t):((l=Kr(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))),16&t[1]&&s!==(s=(0!=e[35].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(i,"class",s),16&t[1]&&o!==(o=(0!=e[35].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(i,"part",o)},d(e){e&&he(a),l&&l.d(),u.d(),n[55](null)}}}function Zr(e){let n,a,r="true"!==e[14]&&li(e);function i(e){return e[20]?pi:0!==e[23].length?mi:hi}let s=i(e),o=s(e);return{c(){n=me("div"),r&&r.c(),a=ge(),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[14]?r?r.p(e,t):((r=li(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&&he(n),r&&r.d(),o.d()}}}function Kr(n){let a,r,i,s,o,l,c,d,u=n[36]("gamesCategorySection.favorites")+"",h=n[35].items.length+"";return{c(){a=me("div"),r=me("h3"),i=pe(u),s=ge(),o=me("span"),l=pe("("),c=pe(h),d=pe(")"),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[54](r)},p(e,t){32&t[1]&&u!==(u=e[36]("gamesCategorySection.favorites")+"")&&ye(i,u),16&t[1]&&h!==(h=e[35].items.length+"")&&ye(c,h)},d(e){e&&he(a),n[54](null)}}}function Xr(e){let n,a,r=e[36]("gamesCategorySection.waiting")+"";return{c(){n=me("p"),a=pe(r)},m(e,t){ue(e,n,t),de(n,a)},p(e,t){32&t[1]&&r!==(r=e[36]("gamesCategorySection.waiting")+"")&&ye(a,r)},d(e){e&&he(n)}}}function qr(t){let a,r=t[35].items,i=[];for(let e=0;e<r.length;e+=1)i[e]=oi(Hr(t,r,e));let s=null;return r.length||(s=Qr(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(16378&n[0]|254&n[1]){let e;for(r=t[35].items,e=0;e<r.length;e+=1){const s=Hr(t,r,e);i[e]?i[e].p(s,n):(i[e]=oi(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=Qr(t)).c(),s.m(a.parentNode,a))}},d(e){H(i,e),e&&he(a),s&&s.d(e)}}}function Jr(e){let n;return{c(){fe(n=me("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function Qr(e){let n,a,r,i,s,o,l,c,t,d,u=e[36]("gamesCategorySection.noFavoritesTitle")+"",h=(p=e,it(p[37])?ti:ei),m=h(e);var p;return{c(){n=me("p"),a=j("svg"),r=j("path"),i=ge(),s=me("span"),o=pe(u),l=ge(),m.c(),c=ge(),_(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"),_(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 "+(it(e[37])?"NoFavoriteGamesMobile":"")),fe(n,"part",d="NoFavoriteGames "+(it(e[37])?"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),m.m(n,null),de(n,c)},p(e,t){32&t[1]&&u!==(u=e[36]("gamesCategorySection.noFavoritesTitle")+"")&&ye(o,u),m.p(e,t)},d(e){e&&he(n),m.d()}}}function ei(e){let n,a,r=e[36]("gamesCategorySection.noFavorites")+"";return{c(){n=me("span"),a=pe(r),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){32&t[1]&&r!==(r=e[36]("gamesCategorySection.noFavorites")+"")&&ye(a,r)},d(e){e&&he(n)}}}function ti(e){let n,a,r=e[36]("gamesCategorySection.noFavoritesMobile")+"";return{c(){n=me("span"),a=pe(r),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){32&t[1]&&r!==(r=e[36]("gamesCategorySection.noFavoritesMobile")+"")&&ye(a,r)},d(e){e&&he(n)}}}function ni(e){let n,a=e[80].gameModel.isFavorite&&ai(e);return{c(){a&&a.c(),n=l()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){e[80].gameModel.isFavorite?a?a.p(e,t):((a=ai(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&he(n)}}}function ai(e){let n,a=function(e){let n,a,r;function i(e,t){return 16&t[1]&&(a=null),(n=null==n?!!it(e[37]):n)?ii:(a=null==a?!!e[80].gameModel.platform.includes("PC"):a)?ri: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&&he(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&&he(n)}}}function ri(e){let n,a,r,i,s,o,l,c,d,u,h,m,p,g;return{c(){S(n=me("casino-game-thumbnail"),"class",a=""+(w+(e[80].cellSize||"1x1"))),S(n,"part",r=""+(w+(e[80].cellSize||"1x1"))),S(n,"session",e[4]),S(n,"userid",e[5]),S(n,"lang",e[3]),S(n,"favorites",e[6]),S(n,"gamethumbnail",i=e[80].gameModel.thumbnail),S(n,"gamename",s=e[80].gameModel.name),S(n,"gamevendor",o=e[80].gameModel.vendor.name),S(n,"gameisnew",l=e[80].gameModel.isNew),S(n,"gametag",c=0<e[80].gameModel.advancedTags?.length&&e[38](e[80].gameModel.advancedTags)),S(n,"gamecellsize",d=e[80].cellSize),S(n,"gameid",u=e[80].gameModel.id),S(n,"gamefunmode",h=e[80].gameModel.hasFunMode),S(n,"gamefavorite",m=e[80].gameModel.isFavorite),S(n,"showfavoredcategory",e[32]),S(n,"connectlive",p=1==e[33][e[80].id]?"connect":"disconnect"),S(n,"visibilityconnect",e[34]),S(n,"currency",e[9]),S(n,"livelobbyendpoint",g=e[80].gameModel.details?e[80].gameModel.launchUrl:""),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8]),S(n,"endpoint",e[1]),S(n,"livecasino",e[10]),S(n,"gamepagemodalurl",e[11]),S(n,"integratedgameframedesktop",e[12]),S(n,"integratedgameframemobile",e[13])},m(e,t){ue(e,n,t)},p(e,t){16&t[1]&&a!==(a=""+(w+(e[80].cellSize||"1x1")))&&S(n,"class",a),16&t[1]&&r!==(r=""+(w+(e[80].cellSize||"1x1")))&&S(n,"part",r),16&t[0]&&S(n,"session",e[4]),32&t[0]&&S(n,"userid",e[5]),8&t[0]&&S(n,"lang",e[3]),64&t[0]&&S(n,"favorites",e[6]),16&t[1]&&i!==(i=e[80].gameModel.thumbnail)&&S(n,"gamethumbnail",i),16&t[1]&&s!==(s=e[80].gameModel.name)&&S(n,"gamename",s),16&t[1]&&o!==(o=e[80].gameModel.vendor.name)&&S(n,"gamevendor",o),16&t[1]&&l!==(l=e[80].gameModel.isNew)&&S(n,"gameisnew",l),16&t[1]&&c!==(c=0<e[80].gameModel.advancedTags?.length&&e[38](e[80].gameModel.advancedTags))&&S(n,"gametag",c),16&t[1]&&d!==(d=e[80].cellSize)&&S(n,"gamecellsize",d),16&t[1]&&u!==(u=e[80].gameModel.id)&&S(n,"gameid",u),16&t[1]&&h!==(h=e[80].gameModel.hasFunMode)&&S(n,"gamefunmode",h),16&t[1]&&m!==(m=e[80].gameModel.isFavorite)&&S(n,"gamefavorite",m),2&t[1]&&S(n,"showfavoredcategory",e[32]),20&t[1]&&p!==(p=1==e[33][e[80].id]?"connect":"disconnect")&&S(n,"connectlive",p),8&t[1]&&S(n,"visibilityconnect",e[34]),512&t[0]&&S(n,"currency",e[9]),16&t[1]&&g!==(g=e[80].gameModel.details?e[80].gameModel.launchUrl:"")&&S(n,"livelobbyendpoint",g),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8]),2&t[0]&&S(n,"endpoint",e[1]),1024&t[0]&&S(n,"livecasino",e[10]),2048&t[0]&&S(n,"gamepagemodalurl",e[11]),4096&t[0]&&S(n,"integratedgameframedesktop",e[12]),8192&t[0]&&S(n,"integratedgameframemobile",e[13])},d(e){e&&he(n)}}}function ii(e){let n,a=e[80].gameModel.platform.includes("iPad")||e[80].gameModel.platform.includes("iPhone")||e[80].gameModel.platform.includes("Android"),r=a&&si(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){(a=16&t[1]?e[80].gameModel.platform.includes("iPad")||e[80].gameModel.platform.includes("iPhone")||e[80].gameModel.platform.includes("Android"):a)?r?r.p(e,t):((r=si(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function si(e){let n,a,r,i,s,o,l,c,d,u,h,m,p,g;return{c(){S(n=me("casino-game-thumbnail"),"class",a=""+(w+(e[80].cellSize||"1x1"))),S(n,"part",r=""+(w+(e[80].cellSize||"1x1"))),S(n,"session",e[4]),S(n,"userid",e[5]),S(n,"lang",e[3]),S(n,"favorites",e[6]),S(n,"gamethumbnail",i=e[80].gameModel.thumbnail),S(n,"gamename",s=e[80].gameModel.name),S(n,"gamevendor",o=e[80].gameModel.vendor.name),S(n,"gameisnew",l=e[80].gameModel.isNew),S(n,"gametag",c=0<e[80].gameModel.advancedTags?.length&&e[38](e[80].gameModel.advancedTags)),S(n,"gamecellsize",d=e[80].cellSize),S(n,"gameid",u=e[80].gameModel.id),S(n,"gamefunmode",h=e[80].gameModel.hasFunMode),S(n,"gamefavorite",m=e[80].gameModel.isFavorite),S(n,"showfavoredcategory",e[32]),S(n,"connectlive",p=1==e[33][e[80].id]?"connect":"disconnect"),S(n,"visibilityconnect",e[34]),S(n,"currency",e[9]),S(n,"livelobbyendpoint",g=e[80].gameModel.details?e[80].gameModel.launchUrl:""),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8]),S(n,"endpoint",e[1]),S(n,"livecasino",e[10]),S(n,"gamepagemodalurl",e[11]),S(n,"integratedgameframedesktop",e[12]),S(n,"integratedgameframemobile",e[13])},m(e,t){ue(e,n,t)},p(e,t){16&t[1]&&a!==(a=""+(w+(e[80].cellSize||"1x1")))&&S(n,"class",a),16&t[1]&&r!==(r=""+(w+(e[80].cellSize||"1x1")))&&S(n,"part",r),16&t[0]&&S(n,"session",e[4]),32&t[0]&&S(n,"userid",e[5]),8&t[0]&&S(n,"lang",e[3]),64&t[0]&&S(n,"favorites",e[6]),16&t[1]&&i!==(i=e[80].gameModel.thumbnail)&&S(n,"gamethumbnail",i),16&t[1]&&s!==(s=e[80].gameModel.name)&&S(n,"gamename",s),16&t[1]&&o!==(o=e[80].gameModel.vendor.name)&&S(n,"gamevendor",o),16&t[1]&&l!==(l=e[80].gameModel.isNew)&&S(n,"gameisnew",l),16&t[1]&&c!==(c=0<e[80].gameModel.advancedTags?.length&&e[38](e[80].gameModel.advancedTags))&&S(n,"gametag",c),16&t[1]&&d!==(d=e[80].cellSize)&&S(n,"gamecellsize",d),16&t[1]&&u!==(u=e[80].gameModel.id)&&S(n,"gameid",u),16&t[1]&&h!==(h=e[80].gameModel.hasFunMode)&&S(n,"gamefunmode",h),16&t[1]&&m!==(m=e[80].gameModel.isFavorite)&&S(n,"gamefavorite",m),2&t[1]&&S(n,"showfavoredcategory",e[32]),20&t[1]&&p!==(p=1==e[33][e[80].id]?"connect":"disconnect")&&S(n,"connectlive",p),8&t[1]&&S(n,"visibilityconnect",e[34]),512&t[0]&&S(n,"currency",e[9]),16&t[1]&&g!==(g=e[80].gameModel.details?e[80].gameModel.launchUrl:"")&&S(n,"livelobbyendpoint",g),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8]),2&t[0]&&S(n,"endpoint",e[1]),1024&t[0]&&S(n,"livecasino",e[10]),2048&t[0]&&S(n,"gamepagemodalurl",e[11]),4096&t[0]&&S(n,"integratedgameframedesktop",e[12]),8192&t[0]&&S(n,"integratedgameframemobile",e[13])},d(e){e&&he(n)}}}function oi(e){let n,a=e[80].gameModel&&ni(e);return{c(){a&&a.c(),n=l()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){e[80].gameModel?a?a.p(e,t):((a=ni(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&he(n)}}}function li(n){let a,r,i,s,o=n[22].name+"";function l(e){return e[24]?di:ci}let c=l(n),d=c(n);return{c(){a=me("div"),r=me("h3"),i=pe(o),s=ge(),d.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[50](r),de(a,s),d.m(a,null)},p(e,t){4194304&t[0]&&o!==(o=e[22].name+"")&&ye(i,o),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(a,null)))},d(e){e&&he(a),n[50](null),d.d()}}}function ci(e){let n,a,r="true"==e[15]&&ui(e);return{c(){n=me("div"),r&&r.c(),fe(n,"class",a="true"==e[15]&&"true"==e[16]?"CategoryFilterContainer":"")},m(e,t){ue(e,n,t),r&&r.m(n,null)},p(e,t){"true"==e[15]?r?r.p(e,t):((r=ui(e)).c(),r.m(n,null)):r&&(r.d(1),r=null),98304&t[0]&&a!==(a="true"==e[15]&&"true"==e[16]?"CategoryFilterContainer":"")&&fe(n,"class",a)},d(e){e&&he(n),r&&r.d()}}}function di(n){let a,r,i,s,o,l,c,d,u=n[36]("gamesCategorySection.viewAll")+"",h=n[22].games.total+"";return{c(){a=me("a"),r=me("span"),i=pe(u),s=pe(" ("),o=pe(h),l=pe(")"),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=V(a,"click",n[51]),c=!0)},p(e,t){32&t[1]&&u!==(u=e[36]("gamesCategorySection.viewAll")+"")&&ye(i,u),4194304&t[0]&&h!==(h=e[22].games.total+"")&&ye(o,h)},d(e){e&&he(a),c=!1,d()}}}function ui(e){let n;return{c(){S(n=me("casino-filter"),"clientstylingurl",e[8]),S(n,"clientstyling",e[7]),S(n,"endpoint",e[1]),S(n,"datasource",e[2]),S(n,"lang",e[3]),S(n,"categoryid",e[0]),S(n,"addfilterselector",e[15]),S(n,"addsortingselector",e[16]),S(n,"filterbylogo",e[17])},m(e,t){ue(e,n,t)},p(e,t){256&t[0]&&S(n,"clientstylingurl",e[8]),128&t[0]&&S(n,"clientstyling",e[7]),2&t[0]&&S(n,"endpoint",e[1]),4&t[0]&&S(n,"datasource",e[2]),8&t[0]&&S(n,"lang",e[3]),1&t[0]&&S(n,"categoryid",e[0]),32768&t[0]&&S(n,"addfilterselector",e[15]),65536&t[0]&&S(n,"addsortingselector",e[16]),131072&t[0]&&S(n,"filterbylogo",e[17])},d(e){e&&he(n)}}}function hi(e){let n;return{c(){(n=me("p")).textContent="You don't have any games in this category.",fe(n,"class","NoSearchResults"),fe(n,"part","NoSearchResults")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function mi(n){let a,e,r,i=n[23],s=[];for(let e=0;e<i.length;e+=1)s[e]=gi(jr(n,i,e));return{c(){a=me("ul");for(let e=0;e<s.length;e+=1)s[e].c();fe(a,"class",e=(0===n[35].items.length&&n[32]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),fe(a,"part",r=(0===n[35].items.length&&n[32]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){ue(e,a,t);for(let e=0;e<s.length;e+=1)s[e].m(a,null);n[53](a)},p(t,n){if(8929274&n[0]|140&n[1]){let e;for(i=t[23],e=0;e<i.length;e+=1){const r=jr(t,i,e);s[e]?s[e].p(r,n):(s[e]=gi(r),s[e].c(),s[e].m(a,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}18&n[1]&&e!==(e=(0===t[35].items.length&&t[32]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(a,"class",e),18&n[1]&&r!==(r=(0===t[35].items.length&&t[32]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(a,"part",r)},d(e){e&&he(a),H(s,e),n[53](null)}}}function pi(e){let n;return{c(){fe(n=me("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function gi(e){let n,a=function(n){let a,r,i,s,o,l,c,d,u,h,m,p,g,f,y=n[82];const b=()=>n[52](a,y),v=()=>n[52](null,y);return{c(){S(a=me("casino-game-thumbnail"),"session",n[4]),S(a,"userid",n[5]),S(a,"lang",n[3]),S(a,"class",r=""+(w+(n[80].cellSize||"1x1"))),S(a,"part",i=""+(w+(n[80].cellSize||"1x1"))),S(a,"favorites",n[6]),S(a,"gamethumbnail",s=n[80].thumbnail),S(a,"gamename",o=n[80].name),S(a,"gamevendor",l=n[80].vendor.name),S(a,"gameisnew",c=n[80].isNew),S(a,"gametag",d=0<n[80].advancedTags?.length&&n[38](n[80].advancedTags)),S(a,"gamecellsize",u=n[80].cellSize),S(a,"gameid",h=n[80].id),S(a,"gamefunmode",m=n[80].hasFunMode),S(a,"gamefavorite",p=n[80].isFavorite),S(a,"connectlive",g=1==n[33][n[80].id]?"connect":"disconnect"),S(a,"visibilityconnect",n[34]),S(a,"currency",n[9]),S(a,"livelobbyendpoint",f=n[80].details?n[80].href:""),S(a,"clientstyling",n[7]),S(a,"clientstylingurl",n[8]),S(a,"endpoint",n[1]),S(a,"livecasino",n[10]),S(a,"gamepagemodalurl",n[11]),S(a,"integratedgameframedesktop",n[12]),S(a,"integratedgameframemobile",n[13])},m(e,t){ue(e,a,t),b()},p(e,t){n=e,16&t[0]&&S(a,"session",n[4]),32&t[0]&&S(a,"userid",n[5]),8&t[0]&&S(a,"lang",n[3]),8388608&t[0]&&r!==(r=""+(w+(n[80].cellSize||"1x1")))&&S(a,"class",r),8388608&t[0]&&i!==(i=""+(w+(n[80].cellSize||"1x1")))&&S(a,"part",i),64&t[0]&&S(a,"favorites",n[6]),8388608&t[0]&&s!==(s=n[80].thumbnail)&&S(a,"gamethumbnail",s),8388608&t[0]&&o!==(o=n[80].name)&&S(a,"gamename",o),8388608&t[0]&&l!==(l=n[80].vendor.name)&&S(a,"gamevendor",l),8388608&t[0]&&c!==(c=n[80].isNew)&&S(a,"gameisnew",c),8388608&t[0]&&d!==(d=0<n[80].advancedTags?.length&&n[38](n[80].advancedTags))&&S(a,"gametag",d),8388608&t[0]&&u!==(u=n[80].cellSize)&&S(a,"gamecellsize",u),8388608&t[0]&&h!==(h=n[80].id)&&S(a,"gameid",h),8388608&t[0]&&m!==(m=n[80].hasFunMode)&&S(a,"gamefunmode",m),8388608&t[0]&&p!==(p=n[80].isFavorite)&&S(a,"gamefavorite",p),8388608&t[0]|4&t[1]&&g!==(g=1==n[33][n[80].id]?"connect":"disconnect")&&S(a,"connectlive",g),8&t[1]&&S(a,"visibilityconnect",n[34]),512&t[0]&&S(a,"currency",n[9]),8388608&t[0]&&f!==(f=n[80].details?n[80].href:"")&&S(a,"livelobbyendpoint",f),128&t[0]&&S(a,"clientstyling",n[7]),256&t[0]&&S(a,"clientstylingurl",n[8]),2&t[0]&&S(a,"endpoint",n[1]),1024&t[0]&&S(a,"livecasino",n[10]),2048&t[0]&&S(a,"gamepagemodalurl",n[11]),4096&t[0]&&S(a,"integratedgameframedesktop",n[12]),8192&t[0]&&S(a,"integratedgameframemobile",n[13]),y!==n[82]&&(v(),y=n[82],b())},d(e){e&&he(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&&he(n)}}}function fi(e){let n,a,r=e[36]("gamesCategorySection.searchedItems")+"";return{c(){n=me("h3"),a=pe(r),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){32&t[1]&&r!==(r=e[36]("gamesCategorySection.searchedItems")+"")&&ye(a,r)},d(e){e&&he(n)}}}function yi(e){let n,a,r=e[36]("gamesCategorySection.noResults")+"";return{c(){n=me("h3"),a=pe(r),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){32&t[1]&&r!==(r=e[36]("gamesCategorySection.noResults")+"")&&ye(a,r)},d(e){e&&he(n)}}}function bi(e){let n,a,r=e[36]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=me("h3"),a=pe(r),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){32&t[1]&&r!==(r=e[36]("gamesCategorySection.recentSearchedItems")+"")&&ye(a,r)},d(e){e&&he(n)}}}function vi(e){let n;return{c(){(n=me("p")).textContent="Waiting",fe(n,"class","SearchWaiting"),fe(n,"part","SearchWaiting")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function wi(t){let a,r,i=!t[29]&&xi(t),s=t[23],o=[];for(let e=0;e<s.length;e+=1)o[e]=$i(Ur(t,s,e));return{c(){i&&i.c(),a=ge(),r=me("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[29]?i&&(i.d(1),i=null):i?i.p(t,n):((i=xi(t)).c(),i.m(a.parentNode,a)),142622714&n[0]|128&n[1]){let e;for(s=t[23],e=0;e<s.length;e+=1){const i=Ur(t,s,e);o[e]?o[e].p(i,n):(o[e]=$i(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&&he(a),e&&he(r),H(o,e)}}}function xi(e){let n,a,t,r,i=e[36]("gamesCategorySection.noRecentSearch")+"";return{c(){n=me("p"),a=pe(i),fe(n,"class",t="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(it(e[37])?"NoRecentSearchesMobile":"")),fe(n,"part",r="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(it(e[37])?"NoRecentSearchesMobile":""))},m(e,t){ue(e,n,t),de(n,a)},p(e,t){32&t[1]&&i!==(i=e[36]("gamesCategorySection.noRecentSearch")+"")&&ye(a,i)},d(e){e&&he(n)}}}function $i(e){let n,a,r,i,s,o,l,c,d,u,h,m,p;return{c(){S(n=me("casino-game-thumbnail"),"class",a=""+(w+(e[80].cellSize||"1x1"))),S(n,"part",r=""+(w+(e[80].cellSize||"1x1"))),S(n,"session",e[4]),S(n,"userid",e[5]),S(n,"lang",e[3]),S(n,"searchitem",e[27]),S(n,"favorites",e[6]),S(n,"gamethumbnail",i=e[80].thumbnail),S(n,"gamename",s=e[80].name),S(n,"gamevendor",o=e[80].vendor.name),S(n,"gameisnew",l=e[80].isNew),S(n,"gametag",c=0<e[80].advancedTags?.length&&e[38](e[80].advancedTags)),S(n,"gamecellsize",d=e[80].cellSize),S(n,"gameid",u=e[80].id),S(n,"gamefunmode",h=e[80].hasFunMode),S(n,"gamefavorite",m=e[80].isFavorite),S(n,"currency",e[9]),S(n,"livelobbyendpoint",p=e[80].details?e[80].href:""),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8]),S(n,"endpoint",e[1]),S(n,"livecasino",e[10]),S(n,"gamepagemodalurl",e[11]),S(n,"integratedgameframedesktop",e[12]),S(n,"integratedgameframemobile",e[13])},m(e,t){ue(e,n,t)},p(e,t){8388608&t[0]&&a!==(a=""+(w+(e[80].cellSize||"1x1")))&&S(n,"class",a),8388608&t[0]&&r!==(r=""+(w+(e[80].cellSize||"1x1")))&&S(n,"part",r),16&t[0]&&S(n,"session",e[4]),32&t[0]&&S(n,"userid",e[5]),8&t[0]&&S(n,"lang",e[3]),134217728&t[0]&&S(n,"searchitem",e[27]),64&t[0]&&S(n,"favorites",e[6]),8388608&t[0]&&i!==(i=e[80].thumbnail)&&S(n,"gamethumbnail",i),8388608&t[0]&&s!==(s=e[80].name)&&S(n,"gamename",s),8388608&t[0]&&o!==(o=e[80].vendor.name)&&S(n,"gamevendor",o),8388608&t[0]&&l!==(l=e[80].isNew)&&S(n,"gameisnew",l),8388608&t[0]&&c!==(c=0<e[80].advancedTags?.length&&e[38](e[80].advancedTags))&&S(n,"gametag",c),8388608&t[0]&&d!==(d=e[80].cellSize)&&S(n,"gamecellsize",d),8388608&t[0]&&u!==(u=e[80].id)&&S(n,"gameid",u),8388608&t[0]&&h!==(h=e[80].hasFunMode)&&S(n,"gamefunmode",h),8388608&t[0]&&m!==(m=e[80].isFavorite)&&S(n,"gamefavorite",m),512&t[0]&&S(n,"currency",e[9]),8388608&t[0]&&p!==(p=e[80].details?e[80].href:"")&&S(n,"livelobbyendpoint",p),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8]),2&t[0]&&S(n,"endpoint",e[1]),1024&t[0]&&S(n,"livecasino",e[10]),2048&t[0]&&S(n,"gamepagemodalurl",e[11]),4096&t[0]&&S(n,"integratedgameframedesktop",e[12]),8192&t[0]&&S(n,"integratedgameframemobile",e[13])},d(e){e&&he(n)}}}function Ci(e){let n;return{c(){(n=me("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function Si(e){let n;return{c(){(n=me("p")).textContent="404 Error - No result found.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function ki(n){let a;function r(e){return e[21]?Yr:e[25]?zr:Wr}let i=r(n),s=i(n);return{c(){a=me("div"),s.c(),this.c=z,fe(a,"class","CasinoGamesCategorySectionContainer"),fe(a,"part","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,a,t),s.m(a,null),n[56](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:z,o:z,d(e){e&&he(a),s.d(),n[56](null)}}}customElements.get("casino-filter")||customElements.define("casino-filter",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>.FilterContainer{color:#fff;position:relative;z-index:16}.FilterSelector{background-color:#58586B;display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:#D1D1D1;text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none}.FilterItem{position:relative}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid #D0046C}.FilterItem input:checked~.FiltersCheckmark{background-color:#D0046C;border:1px solid #D0046C}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin:0 15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid white;border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid #fff}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{display:grid;grid-template-columns:minmax(150px, 150px) minmax(150px, 150px);gap:30px;margin-block-start:0}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{grid-template-columns:1fr}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:10px 25px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}}</style>',a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Nr,Or,t,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo: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","translationurl","clientstyling","clientstylingurl","categoryid","addfilterselector","addsortingselector","filterbylogo"]}get endpoint(){return this.$$.ctx[15]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[16]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),f()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),f()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get categoryid(){return this.$$.ctx[21]}set categoryid(e){this.$$set({categoryid:e}),f()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(e){this.$$set({addfilterselector:e}),f()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(e){this.$$set({addsortingselector:e}),f()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(e){this.$$set({filterbylogo:e}),f()}});const w="game-tile-";function _i(e,t,l){let D;ot(e,za,e=>l(36,D=e));let i,s,o,n,A,a,c,r,d,u,{categoryindex:B=""}=t,{endpoint:h=""}=t,{datasource:m=""}=t,{lang:p=""}=t,{session:O=""}=t,{userid:N=""}=t,{favorites:g=""}=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:W=""}=t,{gamepagemodalurl:z="false"}=t,{integratedgameframedesktop:Y="false"}=t,{integratedgameframemobile:V="false"}=t,{casinomygames:w="false"}=t,{addfilterselector:Z="false"}=t,{addsortingselector:K="false"}=t,{filterbylogo:X=""}=t,{once:q=!0}=t,{top:J=0}=t,{bottom:Q=0}=t,{left:ee=0}=t,{right:te=0}=t,x=!0,$=!1,C=!0,ne=window.navigator.userAgent,S=[],k=!0,_=40,T=!1,F=!1,ae=!1,M=!1,L=!1,re=!0,E=!1,ie=!1,G=new Array(1e4),P={},se="",I={items:[],count:0,name:""},oe=(Object.keys(Ka).forEach(e=>{Za(e,Ka[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>_&&de(v),l(33,P[t]=1,P)):l(33,P[t]=0,P)})}));const le=(e,a,r,t=0)=>{l(20,x=!0);let n,i="",s=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),o=h.replace(/.$/,"2");return i=1<(v.match(/\$/g)||[]).length?(n=v.split("$").slice(0,2).join("$"),new URL(`${o}/casino/groups/${m}/${n}/subGroups`)):new URL(`${o}/casino/groups/${m}/`+v),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",st(ne)),i.searchParams.append("pagination",`games(offset=${a},limit=${r})`),i.searchParams.append("language",p),window.postMessage({type:"CategoryVendors",categoryid:v},window.location.href),s&&s[v])if(s[v].length&&!1===C&&!1===E){let t="";l(28,L=!0),s[v].forEach(e=>{t+=t?`,games(vendor(id=${e}))`:`games(vendor(id=${e}))`}),i.searchParams.append("filter",(s&&s[v].length<2?"$and":"$or")+`(${t})`)}else l(28,L=!1);fetch(i).then(e=>e.json()).then(e=>{l(20,x=!1),1<(v.match(/\$/g)||[]).length&&(e=e.items.filter(e=>{if(e.id==v)return e})[0]),l(49,u=!0),l(21,$=!1),A=e.games.total,t(e)},e=>{l(21,$=!0),console.error(e),n(e)})})},ce=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":"MOSTPLAYED"==v&&(l(25,T=!1),C=!1,l(24,k=!1),l(23,S=t.data.mostPlayedGames),l(22,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}})),l(20,x=!1);break;case"LastPlayedData":"LASTPLAYED"==v&&(l(25,T=!1),C=!1,l(24,k=!1),l(23,S=t.data.lastPlayedGames),l(22,o={id:"LASTPLAYED",name:"Last Played Games",games:{count:t.data.lastPlayedGames.length,total:t.data.lastPlayedGames.length,items:t.data.lastPlayedGames}})),l(20,x=!1);break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":l(25,T=!0),l(26,F=!0),0<t.data.searchData.length?(l(23,S=t.data.searchData),l(29,re=!0),S&&S.forEach(e=>{e.isFavorite=R(e.id)})):(l(23,S=[]),l(29,re=!1));break;case"OutOfRecentSearches":l(25,T=!1),l(26,F=!1);break;case"SearchData":l(25,T=!0),l(26,F=!1),l(23,S=t.data.searchData.items||[]),l(27,M=!0),t.data.receivedFavoriteResults&&(c=t.data.receivedFavoriteResults.items),S&&S.forEach(e=>{e.isFavorite=R(e.id)});break;case"CategoryData_"+v:l(25,T=!1),C=!0,l(24,k=!0),l(27,M=!1),ie=!1,t.data.receivedFavoriteResults&&(c=t.data.receivedFavoriteResults.items),le(t.data.categoryId,0,t.data.visiblegames).then(e=>{l(22,o=e),l(23,S=o.games.items),S&&S.forEach(e=>{e.isFavorite=R(e.id)})});break;case"CategoryChange":_=20;break;case"CategoryUpdate":l(25,T=!1),C=!1,l(27,M=!1),ie=!0,l(0,v=t.data.itemId),"MOSTPLAYED"!==v&&l(24,k=!1),"true"!==w&&le(0,0,_).then(e=>{l(22,o=e),o.games.items.forEach(e=>{e.isFavorite=R(e.id)}),l(23,S=o.games.items),l(24,k=!1),S.length<10&&0==t.data.origin&&(ae=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:ae},window.location.href)},500))});break;case"FavoriteUpdate":C=!0,o&&(l(23,S=o.games.items),S.forEach(e=>{e.isFavorite=R(e.id)}));break;case"UpdateCategoryFavoriteGames":if(t.data.receivedFavoriteResults){if(c=t.data.receivedFavoriteResults.items,t.data.favStadalone)return;E?C||window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href)}break;case"ShowFavoriteSection":let e;C=!1,t.data&&((e=t.data.receivedFavoriteResults.items).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),l(35,I.items=(n=e,I.items,r=window.navigator.userAgent,it(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})),I),l(35,I.name="Favorites",I),l(32,E=!0),l(20,x=!1));break;case"UserSessionID":if(i=t.data.session,s=t.data.userID,"true"==g&&s&&s.length&&i&&0<i.length){var a=`${h}/player/${s}/favorites/`;r=i;l(20,x=!0);let e={method:"GET",headers:{"X-SessionID":r}};new Promise((t,n)=>{fetch(a,e).then(e=>e.json()).then(e=>{l(20,x=!1),c=e?e.items:[],S.forEach(e=>{e.isFavorite=R(e.id)});e=S;l(23,S=void 0),l(23,S=e),t(c)}).catch(e=>{console.error(e),n(e)})})}}var n,r},de=e=>{(_+=1)<=A&&le(0,0,_).then(e=>{l(22,o=e),o.games.items.length>S.length&&(l(23,S=o.games.items),S.forEach(e=>{e.isFavorite=R(e.id)}))})},R=t=>!!c&&-1!==c.findIndex(e=>e.id==t),ue=e=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href)};return lt(()=>(window.addEventListener("visibilitychange",e=>{document[d]?l(34,se="disconnect"):l(34,se="connect")}),window.addEventListener("message",ce,!1),"FAVORITES"===v&&window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",ce),window.removeEventListener("visibilitychange",ce)})),e.$$set=e=>{"categoryindex"in e&&l(40,B=e.categoryindex),"endpoint"in e&&l(1,h=e.endpoint),"datasource"in e&&l(2,m=e.datasource),"lang"in e&&l(3,p=e.lang),"session"in e&&l(4,O=e.session),"userid"in e&&l(5,N=e.userid),"favorites"in e&&l(6,g=e.favorites),"clientstyling"in e&&l(7,f=e.clientstyling),"clientstylingurl"in e&&l(8,y=e.clientstylingurl),"translationurl"in e&&l(41,b=e.translationurl),"currency"in e&&l(9,H=e.currency),"categoryid"in e&&l(0,v=e.categoryid),"categorygames"in e&&l(42,j=e.categorygames),"livecasino"in e&&l(10,U=e.livecasino),"visiblegames"in e&&l(43,W=e.visiblegames),"gamepagemodalurl"in e&&l(11,z=e.gamepagemodalurl),"integratedgameframedesktop"in e&&l(12,Y=e.integratedgameframedesktop),"integratedgameframemobile"in e&&l(13,V=e.integratedgameframemobile),"casinomygames"in e&&l(14,w=e.casinomygames),"addfilterselector"in e&&l(15,Z=e.addfilterselector),"addsortingselector"in e&&l(16,K=e.addsortingselector),"filterbylogo"in e&&l(17,X=e.filterbylogo),"once"in e&&l(44,q=e.once),"top"in e&&l(45,J=e.top),"bottom"in e&&l(46,Q=e.bottom),"left"in e&&l(47,ee=e.left),"right"in e&&l(48,te=e.right)},e.$$.update=()=>{if(524288&e.$$.dirty[0]|262144&e.$$.dirty[1]&&u&&G&&ie&&G.forEach((e,t)=>{e&&(e.elems_index=t,oe.observe(e))}),9&e.$$.dirty[0]&&p&&v)switch(v){case"FAVORITES":l(32,E=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===w&&l(32,E=!1)}if(1024&e.$$.dirty[1]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Za(e,t[e])})}).catch(e=>{console.log(e)}),262272&e.$$.dirty[0]&&f&&r){let e=document.createElement("style");e.innerHTML=f,r.appendChild(e)}if(262400&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)})}},[v,h,m,p,O,N,g,f,y,H,U,z,Y,V,w,Z,K,X,r,G,x,$,o,S,k,T,F,M,L,re,n,a,E,P,se,I,D,ne,a=>{if(0===(null==a?void 0:a.length))return"";let r,i="",s=999999999999;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);Ja(e).diff(o)<s&&(s=Ja(e).diff(o),r=t),Ja(o).isAfter(n)&&Ja(o).isBefore(e)&&(i=a[r].name)}),i},ue,B,b,j,W,q,J,Q,ee,te,u,function(e){at[e?"unshift":"push"](()=>{a=e,l(31,a)})},e=>ue(o.id),function(e,t){at[e?"unshift":"push"](()=>{G[t]=e,l(19,G)})},function(e){at[e?"unshift":"push"](()=>{n=e,l(30,n)})},function(e){at[e?"unshift":"push"](()=>{a=e,l(31,a)})},function(e){at[e?"unshift":"push"](()=>{n=e,l(30,n)})},function(e){at[e?"unshift":"push"](()=>{r=e,l(18,r)})}]}function Ti(e,t){ka(e,t)}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends r{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}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px}@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 only screen and (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:column}.CategoryName{margin-bottom:20px}}@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>',a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},_i,ki,t,{categoryindex:40,endpoint:1,datasource:2,lang:3,session:4,userid:5,favorites:6,clientstyling:7,clientstylingurl:8,translationurl:41,currency:9,categoryid:0,categorygames:42,livecasino:10,visiblegames:43,gamepagemodalurl:11,integratedgameframedesktop:12,integratedgameframemobile:13,casinomygames:14,addfilterselector:15,addsortingselector:16,filterbylogo:17,once:44,top:45,bottom:46,left:47,right:48},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","addfilterselector","addsortingselector","filterbylogo","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[40]}set categoryindex(e){this.$$set({categoryindex:e}),f()}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 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 favorites(){return this.$$.ctx[6]}set favorites(e){this.$$set({favorites: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[41]}set translationurl(e){this.$$set({translationurl:e}),f()}get currency(){return this.$$.ctx[9]}set currency(e){this.$$set({currency:e}),f()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),f()}get categorygames(){return this.$$.ctx[42]}set categorygames(e){this.$$set({categorygames:e}),f()}get livecasino(){return this.$$.ctx[10]}set livecasino(e){this.$$set({livecasino:e}),f()}get visiblegames(){return this.$$.ctx[43]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),f()}get addfilterselector(){return this.$$.ctx[15]}set addfilterselector(e){this.$$set({addfilterselector:e}),f()}get addsortingselector(){return this.$$.ctx[16]}set addsortingselector(e){this.$$set({addsortingselector:e}),f()}get filterbylogo(){return this.$$.ctx[17]}set filterbylogo(e){this.$$set({filterbylogo:e}),f()}get once(){return this.$$.ctx[44]}set once(e){this.$$set({once:e}),f()}get top(){return this.$$.ctx[45]}set top(e){this.$$set({top:e}),f()}get bottom(){return this.$$.ctx[46]}set bottom(e){this.$$set({bottom:e}),f()}get left(){return this.$$.ctx[47]}set left(e){this.$$set({left:e}),f()}get right(){return this.$$.ctx[48]}set right(e){this.$$set({right:e}),f()}});const Fi={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},"zh-hk":{randomGame:{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放"}},de:{randomGame:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuft",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 Mi(e,t,n){const a=e.slice();return a[35]=t[n],a[37]=n,a}function Li(n){let a,r,i,s,o,l,c,d=!n[7]&&Ei(n),u=n[7]&&Pi(n);return{c(){a=me("div"),r=me("div"),(i=me("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=ge(),d&&d.c(),o=ge(),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=V(i,"click",n[11]),l=!0)},p(e,t){e[7]?d&&(d.d(1),d=null):d?d.p(e,t):((d=Ei(e)).c(),d.m(r,o)),e[7]?u?u.p(e,t):((u=Pi(e)).c(),u.m(r,null)):u&&(u.d(1),u=null)},d(e){e&&he(a),d&&d.d(),u&&u.d(),l=!1,c()}}}function Ei(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]=Gi(Mi(t,l,e));return{c(){n=me("div"),a=me("main"),r=me("div");for(let e=0;e<c.length;e+=1)c[e].c();i=ge(),s=me("p"),o=pe(e),fe(r,"class","items"),fe(r,"part","items"),_(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=Mi(t,l,e);c[e]?c[e].p(a,n):(c[e]=Gi(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]&&_(r,"transform","translateY("+t[6]+"px)"),256&n[0]&&e!==(e=t[8]("randomGame.randomGameLoading")+"")&&ye(o,e)},d(e){e&&he(n),H(c,e)}}}function Gi(e){let n,a,r,i,s,o;return{c(){n=me("div"),a=me("img"),o=ge(),fe(a,"class","RandomGameImage"),fe(a,"part","RandomGameImage"),ce(a.src,r=e[35].thumbnail)||fe(a,"src",r),fe(a,"alt",i=e[35].name),fe(a,"title",s=e[35].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[35].thumbnail)&&fe(a,"src",r),16&t[0]&&i!==(i=e[35].name)&&fe(a,"alt",i),16&t[0]&&s!==(s=e[35].name)&&fe(a,"title",s)},d(e){e&&he(n)}}}function Pi(n){let a,r,i,s,o,l,c,d,u,h,m,p,g,f,y,b,v,w,x,$,C=n[3].name+"",S=n[3].vendor.name+"",k=n[8]("randomGame.playNowRandomGame")+"";return{c(){a=me("div"),r=me("div"),i=me("img"),c=ge(),(d=me("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emfe-w-color-white, #FFFFFF);;}\n </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>',u=ge(),h=me("div"),m=me("p"),p=pe(C),g=ge(),f=me("p"),y=pe(S),b=ge(),v=me("button"),w=pe(k),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(m,"class","RandomGameTitle"),fe(m,"part","RandomGameTitle"),fe(f,"class","RandomGameVendor"),fe(f,"part","RandomGameVendor"),fe(v,"class","RandomGamePlay"),fe(v,"part","RandomGamePlay"),fe(h,"class","RandomGameDetails"),fe(h,"part","RandomGameDetails"),fe(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,h),de(h,m),de(m,p),de(h,g),de(h,f),de(f,y),de(h,b),de(h,v),de(v,w),x||($=[V(d,"click",n[20]),V(v,"click",n[21])],x=!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]&&C!==(C=e[3].name+"")&&ye(p,C),8&t[0]&&S!==(S=e[3].vendor.name+"")&&ye(y,S),256&t[0]&&k!==(k=e[8]("randomGame.playNowRandomGame")+"")&&ye(w,k)},d(e){e&&he(a),x=!1,Y($)}}}function Ii(e){let n,a,r=e[8]("randomGame.playRandomGame")+"";return{c(){n=me("span"),a=pe(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&&he(n)}}}function Ri(e){let n,a;return{c(){n=me("span"),a=pe(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&&he(n)}}}function Di(n){let a,r,i,s,o,l,c,d,u=n[5]&&Li(n);function h(e){return e[1]?Ri:e[1]?void 0:Ii}let m=h(n),p=m&&m(n);return{c(){a=me("div"),u&&u.c(),r=ge(),i=me("div"),s=me("button"),p&&p.c(),o=ge(),l=me("span"),this.c=z,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),p&&p.m(s,null),de(s,o),de(s,l),l.innerHTML=n[0],n[23](a),c||(d=V(s,"click",n[22]),c=!0)},p(e,t){e[5]?u?u.p(e,t):((u=Li(e)).c(),u.m(a,r)):u&&(u.d(1),u=null),m===(m=h(e))&&p?p.p(e,t):(p&&p.d(1),(p=m&&m(e))&&(p.c(),p.m(s,o))),1&t[0]&&(l.innerHTML=e[0])},i:z,o:z,d(e){e&&he(a),u&&u.d(),p&&p.d(),n[23](null),c=!1,d()}}}function Ai(t,e,n){let a;ot(t,za,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:h=""}=e,{clientstyling:m=""}=e,{clientstylingurl:p=""}=e,{filteredrandomgamecategories:g=""}=e,f=[],y="",b=!1,v=0,w=0,x=!1,$=window.navigator.userAgent;var C,S;({withLocale:C,translations:S}={withLocale:"en",translations:{}}),rt.subscribe(e=>{null==e&&(Ca.set(S),rt.set(C))}),Object.keys(Fi).forEach(e=>{Ti(e,Fi[e])});const k=()=>{n(4,r=F(r)),n(6,v=0),w=0,n(7,x=!1),n(3,y=f[Math.floor(Math.random()*f.length)]),n(5,b=!0)};let _;const T=e=>{if(g)for(;k(),!g.includes(y.vendor.name););else k();clearInterval(_),_=setInterval(()=>{n(6,v-=75),20==++w&&(n(7,x=!0),clearInterval(_))},150),e&&"function"==typeof gtag&>ag("event","RefreshRandomGame",{context:"RandomGameWidget",gameId:""+(y.gId||y.id)}),window.postMessage({type:"RandomWidgetState",state:!0},window.location.href)},F=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},M=()=>{window.postMessage({type:l,gameId:y.gId||y.id},window.location.href),n(5,b=!1),window.postMessage({type:"RandomWidgetState",state:!1},window.location.href),"function"==typeof gtag&>ag("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,h=e.translationurl),"clientstyling"in e&&n(17,m=e.clientstyling),"clientstylingurl"in e&&n(18,p=e.clientstylingurl),"filteredrandomgamecategories"in e&&n(19,g=e.filteredrandomgamecategories)},t.$$.update=()=>{if(32768&t.$$.dirty[0]&&c&&(e=c,rt.set(e)),65536&t.$$.dirty[0]&&h&&fetch(h).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ti(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",st($)),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]&&m&&i){let e=document.createElement("style");e.innerHTML=m,i.appendChild(e)}if(262148&t.$$.dirty[0]&&p&&i){let e=new URL(p),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,x,a,T,M,()=>{n(5,b=!1),window.postMessage({type:"RandomWidgetState",state:b},window.location.href)},s,o,l,c,h,m,p,g,()=>T(!0),()=>M(),()=>T(),function(e){at[e?"unshift":"push"](()=>{i=e,n(2,i)})}]}function Bi(e,t){ka(e,t)}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends r{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;transition:transform 400ms ease-in-out}.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>',a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ai,Di,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-hk":{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 Ni(e,t,n){const a=e.slice();return a[63]=t[n],a}function Hi(e,t,n){const a=e.slice();return a[66]=t[n],a}function ji(n){let r,a,i,s,o,l,c,d,e,u,h,m,p,g,f,y,b,v,w,x,$=n[14],C=[];for(let e=0;e<$.length;e+=1)C[e]=Yi(Hi(n,$,e));let S=n[9],k=[];for(let e=0;e<S.length;e+=1)k[e]=Vi(Ni(n,S,e));return{c(){r=me("div"),a=me("div"),i=me("div");for(let e=0;e<C.length;e+=1)C[e].c();s=ge(),o=me("div"),l=me("button"),c=j("svg"),d=j("path"),u=ge(),h=me("button"),m=j("svg"),p=j("path"),y=ge(),b=me("div");for(let e=0;e<k.length;e+=1)k[e].c();fe(i,"class","WinnerButtonsContainer"),fe(d,"style",e=n[10]>=n[9].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(p,"style",g=n[10]>=n[9].length?"fill:#F6F6F62E":""),fe(p,"id","Path_36"),fe(p,"data-name","Path 36"),fe(p,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(p,"transform","translate(0 24.656) rotate(-90)"),fe(p,"fill","#fff"),fe(m,"id","Component_46_2"),fe(m,"data-name","Component 46 – 2"),fe(m,"xmlns","http://www.w3.org/2000/svg"),fe(m,"width","15"),fe(m,"height","15"),fe(m,"viewBox","0 0 16 24.656"),fe(h,"class","SliderButton"),fe(o,"class",f="ButtonsContainer "+("true"==n[4]?"ButtonsContainerNone":"")),fe(a,"class","WinnersHeader"),fe(b,"class","WinnersSlider"),fe(r,"class",v="CasinoWinners "+(n[11]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i);for(let e=0;e<C.length;e+=1)C[e].m(i,null);de(a,s),de(a,o),de(o,l),de(l,c),de(c,d),de(o,u),de(o,h),de(h,m),de(m,p),de(r,y),de(r,b);for(let e=0;e<k.length;e+=1)k[e].m(b,null);n[42](b),w||(x=[V(l,"click",n[39]),V(h,"click",n[40])],w=!0)},p(t,n){if(114947&n[0]){let e;for($=t[14],e=0;e<$.length;e+=1){var a=Hi(t,$,e);C[e]?C[e].p(a,n):(C[e]=Yi(a),C[e].c(),C[e].m(i,null))}for(;e<C.length;e+=1)C[e].d(1);C.length=$.length}if(1536&n[0]&&e!==(e=t[10]>=t[9].length?"fill:#F6F6F62E":"")&&fe(d,"style",e),1536&n[0]&&g!==(g=t[10]>=t[9].length?"fill:#F6F6F62E":"")&&fe(p,"style",g),16&n[0]&&f!==(f="ButtonsContainer "+("true"==t[4]?"ButtonsContainerNone":""))&&fe(o,"class",f),434732&n[0]){let e;for(S=t[9],e=0;e<S.length;e+=1){const i=Ni(t,S,e);k[e]?k[e].p(i,n):(k[e]=Vi(i),k[e].c(),k[e].m(b,null))}for(;e<k.length;e+=1)k[e].d(1);k.length=S.length}2048&n[0]&&v!==(v="CasinoWinners "+(t[11]?"Mobile":""))&&fe(r,"class",v)},d(e){e&&he(r),H(C,e),H(k,e),n[42](null),w=!1,Y(x)}}}function Ui(e){let n;return{c(){(n=me("p")).textContent="Loading, please wait ..."},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function Wi(n){let a,r,i,s,o,l=n[15]("Translations.recentWinners")+"";return{c(){a=me("button"),r=pe(l),fe(a,"class",i="WinnersButton "+("recent"==n[8]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),s||(o=V(a,"click",n[37]),s=!0)},p(e,t){32768&t[0]&&l!==(l=e[15]("Translations.recentWinners")+"")&&ye(r,l),257&t[0]&&i!==(i="WinnersButton "+("recent"==e[8]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(a,"class",i)},d(e){e&&he(a),s=!1,o()}}}function zi(n){let a,r,i,s,o,l,c=n[15]("Translations.topWinners")+"";return{c(){a=me("button"),r=pe(c),i=ge(),fe(a,"class",s="WinnersButton "+("top"==n[8]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),de(a,i),o||(l=V(a,"click",n[38]),o=!0)},p(e,t){32768&t[0]&&c!==(c=e[15]("Translations.topWinners")+"")&&ye(r,c),258&t[0]&&s!==(s="WinnersButton "+("top"==e[8]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(a,"class",s)},d(e){e&&he(a),o=!1,l()}}}function Yi(e){let n,a,r="recent"==e[66]&&Wi(e),i="top"==e[66]&&zi(e);return{c(){r&&r.c(),n=ge(),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[66]?r?r.p(e,t):((r=Wi(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null),"top"==e[66]?i?i.p(e,t):((i=zi(e)).c(),i.m(a.parentNode,a)):i&&(i.d(1),i=null)},d(e){r&&r.d(e),e&&he(n),i&&i.d(e),e&&he(a)}}}function Vi(n){let a,r,i,s,o,l,c,d,u,h,m,p,g,f,y,b,v,w,x,$,C,S,k,_,T=n[63].gameName+"",F=n[17](n[63].username)+"",M=n[15]("Translations.won")+"",L=n[63].specifiedCurrencyAmount.toFixed(2)+"",E=(n[5]?n[3]:n[2])+"";function G(){return n[41](n[63])}return{c(){a=me("div"),r=me("div"),i=me("img"),l=ge(),c=me("p"),d=pe(T),u=ge(),h=me("p"),m=pe(F),p=ge(),g=me("p"),f=pe(M),y=ge(),b=me("p"),v=pe(L),w=ge(),x=me("span"),$=pe(E),C=ge(),ce(i.src,s=n[63]?.gameModel?.thumbnail)||fe(i,"src",s),fe(i,"alt",o=n[63]?.gameModel?.thumbnail),fe(i,"class","WinnersImage"),fe(g,"class","WinnerUsername"),fe(r,"class","WinnerCard"),fe(a,"class",S="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,h),de(h,m),de(r,p),de(r,g),de(g,f),de(r,y),de(r,b),de(b,v),de(b,w),de(b,x),de(x,$),de(a,C),k||(_=V(i,"click",G),k=!0)},p(e,t){n=e,512&t[0]&&!ce(i.src,s=n[63]?.gameModel?.thumbnail)&&fe(i,"src",s),512&t[0]&&o!==(o=n[63]?.gameModel?.thumbnail)&&fe(i,"alt",o),512&t[0]&&T!==(T=n[63].gameName+"")&&ye(d,T),512&t[0]&&F!==(F=n[17](n[63].username)+"")&&ye(m,F),32768&t[0]&&M!==(M=n[15]("Translations.won")+"")&&ye(f,M),512&t[0]&&L!==(L=n[63].specifiedCurrencyAmount.toFixed(2)+"")&&ye(v,L),44&t[0]&&E!==(E=(n[5]?n[3]:n[2])+"")&&ye($,E),8192&t[0]&&S!==(S="CardWrapper "+(n[13]?"CardWrapperAnimation":""))&&fe(a,"class",S)},d(e){e&&he(a),k=!1,_()}}}function Zi(n){let a;function r(e){return e[12]?Ui:ji}let i=r(n),s=i(n);return{c(){a=me("div"),s.c(),this.c=z},m(e,t){ue(e,a,t),s.m(a,null),n[43](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:z,o:z,d(e){e&&he(a),s.d(),n[43](null)}}}function Ki(t,e,a){let D;ot(t,za,e=>a(15,D=e));let r,n,A,i,B,s,O,o,l,c,{endpoint:d=""}=e,{session:u=""}=e,{userid:h=""}=e,{periodrecent:m="Today"}=e,{periodtop:p="Last7Days"}=e,{numberusersrecent:g="20"}=e,{numberuserstop:f="20"}=e,{amountlimit:y="1"}=e,{vendorCategory:b="All"}=e,{lang:v="en"}=e,{isrecentavailable:w="true"}=e,{istopavailable:x="true"}=e,{defaultcurrency:$=""}=e,{usercurrency:C=""}=e,{clientstyling:S=""}=e,{clientstylingurl:k=""}=e,{enableautoscroll:_=""}=e,{tabsorder:T=""}=e,{translationurl:F=""}=e,{winnersdatasources:M=""}=e,L=[],E=0,G=0,N=window.navigator.userAgent,P=!0,H=!1,j=[];Object.keys(Oi).forEach(e=>{Bi(e,Oi[e])});const I=()=>{j=M.split(",").map(function(e){return e.trim()});const t=new URL(`${d}/casino/${n}-winners`);t.searchParams.append("limit","recent"==n?g:f),t.searchParams.append("specifiedCurrency",c),t.searchParams.append("period","recent"==n?m:p),t.searchParams.append("language",v),t.searchParams.append("amountLimit",y),t.searchParams.append("vendorCategory",b),j.forEach(e=>{t.searchParams.append("dataSources",e)}),fetch(t.href).then(e=>e.json()).then(e=>{a(9,L=[]),a(9,L=e.items.map(e=>e)),setTimeout(()=>{a(10,G=Math.round(r.offsetWidth/225)),W(),"true"==_&&(clearInterval(o),E=0,G<O?o=setInterval(()=>{V()},3e3):clearInterval(o)),a(12,P=!1)},5)})},R=e=>{n!==e&&(a(9,L=[]),a(8,n=e),I())},U=(e,t,n)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"WinnersWidget",gameId:""+e,userId:""+(B||"Not logged in")})},W=n=>{const e=[...r.children];O=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),setTimeout(()=>{a(13,H=!0)},10)},z=()=>{W(E)},Y=()=>{var e;G>=L.length||(e=L.length,0===E?E=e-G:E-G<0?E=0:E-=G,z())},V=()=>{var e;G>=L.length||(e=L.length,"true"==_&&(E===e-G?E=0:E++),"false"==_&&(E===e-G?E=0:e-G<E+G?E=e-G:E+=G),z())},Z=()=>{a(36,c=i?C:$)};return lt(()=>(a(11,A=it(N)),()=>{clearInterval(o)})),t.$$set=e=>{"endpoint"in e&&a(22,d=e.endpoint),"session"in e&&a(23,u=e.session),"userid"in e&&a(24,h=e.userid),"periodrecent"in e&&a(25,m=e.periodrecent),"periodtop"in e&&a(26,p=e.periodtop),"numberusersrecent"in e&&a(27,g=e.numberusersrecent),"numberuserstop"in e&&a(28,f=e.numberuserstop),"amountlimit"in e&&a(21,y=e.amountlimit),"vendorCategory"in e&&a(29,b=e.vendorCategory),"lang"in e&&a(30,v=e.lang),"isrecentavailable"in e&&a(0,w=e.isrecentavailable),"istopavailable"in e&&a(1,x=e.istopavailable),"defaultcurrency"in e&&a(2,$=e.defaultcurrency),"usercurrency"in e&&a(3,C=e.usercurrency),"clientstyling"in e&&a(31,S=e.clientstyling),"clientstylingurl"in e&&a(32,k=e.clientstylingurl),"enableautoscroll"in e&&a(4,_=e.enableautoscroll),"tabsorder"in e&&a(33,T=e.tabsorder),"translationurl"in e&&a(34,F=e.translationurl),"winnersdatasources"in e&&a(35,M=e.winnersdatasources)},t.$$.update=()=>{if(2116026371&t.$$.dirty[0]|4&t.$$.dirty[1]&&w&&x&&m&&p&&g&&f&&y&&b&&v&&T&&(a(14,l=T.split(",")),a(8,n=l[0]),"false"==w&&a(21,y=""),Z(),a(12,P=!1)),12582912&t.$$.dirty[0]&&u&&d&&(a(5,i=!0),B=h),32&t.$$.dirty[0]&&i&&Z(),4194304&t.$$.dirty[0]|32&t.$$.dirty[1]&&d&&c&&I(),1073741824&t.$$.dirty[0]&&v&&(e=v,rt.set(e)),8&t.$$.dirty[1]&&F&&(e=new URL(F),fetch(e.href).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Bi(e,t[e])})}).catch(e=>{console.log(e)})),64&t.$$.dirty[0]|1&t.$$.dirty[1]&&S&&s){let e=document.createElement("style");e.innerHTML=S,s.appendChild(e)}if(64&t.$$.dirty[0]|2&t.$$.dirty[1]&&k&&s){let e=new URL(k),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1),setTimeout(()=>{},500)})}var e;16&t.$$.dirty[1]&&M&&I()},[w,x,$,C,_,i,s,r,n,L,G,A,P,H,l,D,R,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),U,Y,V,y,d,u,h,m,p,g,f,b,v,S,k,T,F,M,c,()=>R("recent"),()=>R("top"),()=>Y(),()=>V(),e=>U(e.gameId,e.gameModel.launchUrl,e.gameModel.name),function(e){at[e?"unshift":"push"](()=>{r=e,a(7,r)})},function(e){at[e?"unshift":"push"](()=>{s=e,a(6,s)})}]}function Xi(e,t){ka(e,t)}customElements.get("casino-winners")||customElements.define("casino-winners",class extends r{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>',a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ki,Zi,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,winnersdatasources:35},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","winnersdatasources"]}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()}get winnersdatasources(){return this.$$.ctx[35]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),f()}});const qi={en:{jackpotBanners:{loadingText:"Loading, please wait..."}},"zh-hk":{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 Ji(e,t,n){const a=e.slice();return a[49]=t[n],a[51]=n,a}function Qi(n){let a,r,i,s,o,l,c,d,u,h,m,p,g,f,y,b,v;function w(e){return e[5]?ns:as}let x=w(n),$=x(n);return{c(){a=me("div"),r=me("div"),i=me("div"),s=me("div"),o=me("img"),c=ge(),d=me("div"),$.c(),u=ge(),h=me("div"),m=me("img"),ce(o.src,l=n[6])||fe(o,"src",l),fe(o,"alt",""),fe(s,"class","vendorLogo"),fe(d,"class","displayContainer"),ce(m.src,p=n[11])||fe(m,"src",p),fe(m,"alt",""),fe(h,"class","title"),fe(i,"class",g="mainWrapper "+n[0]+" "+(n[4]&&!n[5]?"mobile":n[5]?"tablet":"")),_(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),$.m(d,null),de(i,u),de(i,h),de(h,m),b||(v=V(r,"click",n[32]),b=!0)},p(e,t){64&t[0]&&!ce(o.src,l=e[6])&&fe(o,"src",l),x===(x=w(e))&&$?$.p(e,t):($.d(1),($=x(e))&&($.c(),$.m(d,null))),2048&t[0]&&!ce(m.src,p=e[11])&&fe(m,"src",p),49&t[0]&&g!==(g="mainWrapper "+e[0]+" "+(e[4]&&!e[5]?"mobile":e[5]?"tablet":""))&&fe(i,"class",g),1024&t[0]&&_(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&&he(a),$.d(),b=!1,v()}}}function es(e){let n,a,r=e[14]("jackpotBanners.loadingText")+"";return{c(){n=me("p"),a=pe(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&&he(n)}}}function ts(e){let n;return{c(){(n=me("p")).textContent="500 Server error"},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function ns(e){let n,a,r,i,s,o,A,l,c,B,O,d,N,H,u,h,m,p,g,j,f,y,U,W,b,z,Y,v,w,x,$,C,S,V,k,_,Z,K,T,X,q,F,M,L,E,G,J,P,I,Q,ee,R,te,D=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=me("div"),a=me("div"),r=me("div"),i=me("img"),o=me("span"),A=pe(D),l=me("span"),c=me("span"),B=pe(ne),O=ge(),d=me("span"),N=pe(e[1]),H=ge(),u=me("div"),h=me("div"),m=me("img"),g=me("span"),j=pe(ae),f=me("span"),y=me("span"),U=pe(re),W=ge(),b=me("span"),z=pe(e[1]),Y=ge(),v=me("div"),w=me("div"),x=me("div"),$=me("img"),S=me("span"),V=pe(ie),k=me("span"),_=me("span"),Z=pe(se),K=ge(),T=me("span"),X=pe(e[1]),q=ge(),F=me("div"),M=me("div"),L=me("img"),G=me("span"),J=pe(oe),P=me("span"),I=me("span"),Q=pe(le),ee=ge(),R=me("span"),te=pe(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(m,"class","displayCardIcon"),ce(m.src,p=e[9][1])||fe(m,"src",p),fe(m,"alt",""),fe(g,"class","cardLabel"),fe(h,"class","iconWrapper"),fe(y,"class","jackpotValue"),fe(b,"class","jackpot-currency"),fe(f,"class","cardTextWrapper"),fe(u,"class","displayCard"),fe(n,"class","pairWrapper"),fe($,"class","displayCardIcon"),ce($.src,C=e[9][2])||fe($,"src",C),fe($,"alt",""),fe(S,"class","cardLabel"),fe(x,"class","iconWrapper"),fe(_,"class","jackpotValue"),fe(T,"class","jackpot-currency"),fe(k,"class","cardTextWrapper"),fe(w,"class","displayCard"),fe(L,"class","displayCardIcon"),ce(L.src,E=e[9][3])||fe(L,"src",E),fe(L,"alt",""),fe(G,"class","cardLabel"),fe(M,"class","iconWrapper"),fe(I,"class","jackpotValue"),fe(R,"class","jackpot-currency"),fe(P,"class","cardTextWrapper"),fe(F,"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,A),de(a,l),de(l,c),de(c,B),de(l,O),de(l,d),de(d,N),de(n,H),de(n,u),de(u,h),de(h,m),de(h,g),de(g,j),de(u,f),de(f,y),de(y,U),de(f,W),de(f,b),de(b,z),ue(e,Y,t),ue(e,v,t),de(v,w),de(w,x),de(x,$),de(x,S),de(S,V),de(w,k),de(k,_),de(_,Z),de(k,K),de(k,T),de(T,X),de(v,q),de(v,F),de(F,M),de(M,L),de(M,G),de(G,J),de(F,P),de(P,I),de(I,Q),de(P,ee),de(P,R),de(R,te)},p(e,t){512&t[0]&&!ce(i.src,s=e[9][0])&&fe(i,"src",s),256&t[0]&&D!==(D=e[8][0]+"")&&ye(A,D),128&t[0]&&ne!==(ne=e[7][0]+"")&&ye(B,ne),2&t[0]&&ye(N,e[1]),512&t[0]&&!ce(m.src,p=e[9][1])&&fe(m,"src",p),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(z,e[1]),512&t[0]&&!ce($.src,C=e[9][2])&&fe($,"src",C),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(L.src,E=e[9][3])&&fe(L,"src",E),256&t[0]&&oe!==(oe=e[8][3]+"")&&ye(J,oe),128&t[0]&&le!==(le=e[7][3]+"")&&ye(Q,le),2&t[0]&&ye(te,e[1])},d(e){e&&he(n),e&&he(Y),e&&he(v)}}}function as(t){let r,i=Array(4),s=[];for(let e=0;e<i.length;e+=1)s[e]=rs(Ji(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=Ji(t,i,e);s[e]?s[e].p(a,n):(s[e]=rs(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){H(s,e),e&&he(r)}}}function rs(e){let n,a,r,i,s,o,l,c,d,u,h,m,p=e[8][e[51]]+"",g=(e[7][e[51]]??"")+"";return{c(){n=me("div"),a=me("div"),r=me("img"),s=me("span"),o=pe(p),l=me("span"),c=me("span"),d=pe(g),u=ge(),h=me("span"),m=pe(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(h,"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,h),de(h,m)},p(e,t){512&t[0]&&!ce(r.src,i=e[9][e[51]])&&fe(r,"src",i),256&t[0]&&p!==(p=e[8][e[51]]+"")&&ye(o,p),128&t[0]&&g!==(g=(e[7][e[51]]??"")+"")&&ye(d,g),2&t[0]&&ye(m,e[1])},d(e){e&&he(n)}}}function is(n){let a;function r(e){return e[13]?ts:e[3]?es:Qi}let i=r(n),s=i(n);return{c(){a=me("div"),s.c(),this.c=z},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:z,o:z,d(e){e&&he(a),s.d(),n[33](null)}}}function ss(n,e,a){let t;ot(n,za,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:h=""}=e,{backgroundsrc:m=""}=e,{currency:p=""}=e,{backgroundsrcmobile:g=""}=e,{titlelogopath:f=""}=e,{lang:y="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{translationurl:w=""}=e,{endpoint:x=""}=e,{gameid:$=""}=e,D=window.navigator.userAgent,C=!1,S=!1,k="",_=[],T=[],F=[],M=[],L=[],E="",G="",P=!1,I=!0,A=!1;Object.keys(qi).forEach(e=>{Xi(e,qi[e])});const R=["typeSpread","typeLeft"],B=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:$},window.location.href),"function"==typeof gtag&>ag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:""+$})};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,h=e.iconlabels),"backgroundsrc"in e&&a(22,m=e.backgroundsrc),"currency"in e&&a(1,p=e.currency),"backgroundsrcmobile"in e&&a(23,g=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,x=e.endpoint),"gameid"in e&&a(30,$=e.gameid)},n.$$.update=()=>{if(536870912&n.$$.dirty[0]&&x&&(t=new URL(x+"/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,P=!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,P=!1)},500)})}if(570425346&n.$$.dirty[0]|1&n.$$.dirty[1]&&x&&y&&p&&0<T.length&&(x&&y&&p)){let e=new URL(x+"/casino/jackpots");e.searchParams.append("filter","id="+$),e.searchParams.append("language",y),e.searchParams.append("additionalDataCurrency",p),fetch(e.href).then(e=>e.json().then(e=>{a(3,I=!1),i=e,T.includes($)&&((e=null==(e=null==(e=i)?void 0:e.items[0])?void 0:e.additionalData)&&Object.values(e).forEach(e=>_.push(+e)),a(6,k=i.items[0].vendorLogo))}).catch(e=>{a(13,A=!0),a(3,I=!1),console.error(e)}))}var e,t;33554442&n.$$.dirty[0]&&p&&y&&!I&&(a(4,C=it(D)&&1<window.innerHeight/window.innerWidth),a(5,S=.75<(t=window.innerHeight/window.innerWidth)&&t<1.6),0!==_.length&&a(7,F=_.map(e=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(e))),a(8,M=h?h.split(",").map(e=>e.trim().toUpperCase()):new Array(4).fill("")),R.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 "${R[0]}"`),a(0,s=R[0])),a(10,E=g&&C&&!S?g:m),a(11,G=f),a(9,L=[l,c,d,u])),33554432&n.$$.dirty[0]&&y&&(e=y,rt.set(e)),268435456&n.$$.dirty[0]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Xi(e,t[e])})}).catch(e=>{console.log(e)})},[s,p,r,I,C,S,k,F,M,L,E,G,P,A,t,B,o,l,c,d,u,h,m,g,f,y,b,v,w,x,$,T,()=>B(),function(e){at[e?"unshift":"push"](()=>{r=e,a(2,r)})}]}function os(e,t){ka(e,t)}customElements.get("jackpot-banner")||customElements.define("jackpot-banner",class extends r{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:auto;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>',a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ss,is,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 ls={en:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},"zh-hk":{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 cs(e,t,n){const a=e.slice();return a[39]=t[n],a}function ds(e,t,n){const a=e.slice();return a[42]=t[n],a}function us(n){let r,a,i,s,o,l,c,d,u,h,m,e,p,g,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]=ys(cs(n,y,e));return{c(){r=me("div"),a=me("div"),i=me("p"),s=pe(f),o=ge(),l=me("div"),(c=me("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=ge(),(u=me("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>',h=ge(),m=me("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(m,"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,h),de(r,m);for(let e=0;e<b.length;e+=1)b[e].m(m,null);n[23](m),p||(g=[V(c,"click",n[19]),V(u,"click",n[20])],p=!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=cs(t,y,e);b[e]?b[e].p(a,n):(b[e]=ys(a),b[e].c(),b[e].m(m,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&&he(r),H(b,e),n[23](null),p=!1,Y(g)}}}function hs(e){let n,a,r=e[8]("Translations.loading")+"";return{c(){n=me("p"),a=pe(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&&he(n)}}}function ms(e){let n,a,r=e[39].name+"";return{c(){n=me("p"),a=pe(r),fe(n,"class","CategorySlideTitle")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){8&t[0]&&r!==(r=e[39].name+"")&&ye(a,r)},d(e){e&&he(n)}}}function ps(e){let n,a,r;return{c(){fe(n=me("img"),"class","CategorySlideLogo"),ce(n.src,a=e[39].icon)||fe(n,"src",a),fe(n,"alt",r=e[39].name+" icon")},m(e,t){ue(e,n,t)},p(e,t){8&t[0]&&!ce(n.src,a=e[39].icon)&&fe(n,"src",a),8&t[0]&&r!==(r=e[39].name+" icon")&&fe(n,"alt",r)},d(e){e&&he(n)}}}function gs(e){let n,a,r,i=e[42].name+"";return{c(){n=me("p"),a=pe(i),fe(n,"title",r=e[42].name)},m(e,t){ue(e,n,t),de(n,a)},p(e,t){8&t[0]&&i!==(i=e[42].name+"")&&ye(a,i),8&t[0]&&r!==(r=e[42].name)&&fe(n,"title",r)},d(e){e&&he(n)}}}function fs(n){let a,r,i,s,o,l,c,d;function u(){return n[21](n[42])}let h="true"==n[2]&&gs(n);return{c(){a=me("div"),r=me("img"),o=ge(),h&&h.c(),l=ge(),fe(r,"class","CategorySlideGameImage"),ce(r.src,i=n[42].defaultThumbnail)||fe(r,"src",i),fe(r,"alt",s=n[42].name),fe(a,"class","CategorySlideGames")},m(e,t){var n;ue(e,a,t),de(a,r),de(a,o),h&&h.m(a,null),de(a,l),c||(d=V(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[42].defaultThumbnail)&&fe(r,"src",i),8&t[0]&&s!==(s=n[42].name)&&fe(r,"alt",s),"true"==n[2]?h?h.p(n,t):((h=gs(n)).c(),h.m(a,l)):h&&(h.d(1),h=null)},d(e){e&&he(a),h&&h.d(),c=!1,d()}}}function ys(n){let a,r,i,s,o,l,c,d,u;function h(e){return"logo"==e[1]?ps:"title"==e[1]?ms:void 0}let m=h(n),p=m&&m(n),g=n[39].games,f=[];for(let e=0;e<g.length;e+=1)f[e]=fs(ds(n,g,e));function y(){return n[22](n[39])}return{c(){a=me("div"),r=me("div"),i=me("div"),p&&p.c(),s=ge(),o=me("div");for(let e=0;e<f.length;e+=1)f[e].c();c=ge(),fe(i,"class","CategorySlideTopContainer"),fe(o,"class","CategorySlideGameContainer"),fe(r,"class",l="CategorySlide "+("vendor"==n[39]?.flag[0]?"CategorySlideNoHighlight":"")),_(r,"background-image","url("+n[39]?.background+")"),fe(a,"class","CategoriesSliderWrapper Animation")},m(e,t){ue(e,a,t),de(a,r),de(r,i),p&&p.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=V(r,"click",y),d=!0)},p(e,t){if(m===(m=h(n=e))&&p?p.p(n,t):(p&&p.d(1),(p=m&&m(n))&&(p.c(),p.m(i,null))),2060&t[0]){let e;for(g=n[39].games,e=0;e<g.length;e+=1){const r=ds(n,g,e);f[e]?f[e].p(r,t):(f[e]=fs(r),f[e].c(),f[e].m(o,null))}for(;e<f.length;e+=1)f[e].d(1);f.length=g.length}8&t[0]&&l!==(l="CategorySlide "+("vendor"==n[39]?.flag[0]?"CategorySlideNoHighlight":""))&&fe(r,"class",l),8&t[0]&&_(r,"background-image","url("+n[39]?.background+")")},d(e){e&&he(a),p&&p.d(),H(f,e),d=!1,u()}}}function bs(n){let a;function r(e){return e[6]?hs:us}let i=r(n),s=i(n);return{c(){a=me("div"),s.c(),this.c=z},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:z,o:z,d(e){e&&he(a),s.d(),n[24](null)}}}function vs(n,e,a){let t;ot(n,za,e=>a(8,t=e));let r,i,s,o,l,{endpoint:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{type:h=""}=e,{titletype:m=""}=e,{clientstyling:p=""}=e,{clientstylingurl:g=""}=e,{translationurl:f=""}=e,{collectionprovidersgamenames:y=""}=e,b=[],v=!0,w=0,x=0,$=0,C=window.navigator.userAgent;Object.keys(ls).forEach(e=>{os(e,ls[e])});const S=n=>{(s=[...r.children]).forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),s.map(e=>i=e.getBoundingClientRect().width),$=Math.round(r.offsetWidth/i)},k=()=>{S(w)},_=()=>{$>=x||(0===w?w=x-$:w-$<-1?w=0:w--,k())},T=()=>{$>=x||(w===x-$?w=0:x-$<w+1?w=x-$:w++,k())},F=(e,t,n)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:e,launchUrl:t,gameName:n},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"CollectionsProviders",gameName:""+n})},M=e=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:e},window.location.href)};return lt(()=>{a(7,l=it(C))}),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,h=e.type),"titletype"in e&&a(1,m=e.titletype),"clientstyling"in e&&a(16,p=e.clientstyling),"clientstylingurl"in e&&a(17,g=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==h);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}})),x=b.length})}if(24&n.$$.dirty[0]&&b&&r&&S(),32768&n.$$.dirty[0]&&u&&(e=u,rt.set(e)),65568&n.$$.dirty[0]&&p&&o){let e=document.createElement("style");e.innerHTML=p,o.appendChild(e)}if(131104&n.$$.dirty[0]&&g&&o){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)},1)})}var e;262144&n.$$.dirty[0]&&f&&fetch(f).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{os(e,t[e])})}).catch(e=>{console.log(e)})},[h,m,y,b,r,o,v,l,t,_,T,F,M,c,d,u,p,g,f,()=>_(),()=>T(),e=>F(e.gameId,e.launchUrl,e.name),e=>M(e.id),function(e){at[e?"unshift":"push"](()=>{r=e,a(4,r)})},function(e){at[e?"unshift":"push"](()=>{o=e,a(5,o)})}]}function ws(n){let a,r,i,s,o;return{c(){a=me("div"),r=me("casino-games-category-section"),this.c=z,S(r,"session",n[0]),S(r,"userid",n[1]),S(r,"endpoint",n[2]),S(r,"datasource",n[3]),S(r,"lang",n[5]),S(r,"currency",n[4]),S(r,"favorites",n[13]),S(r,"categoryid","FAVORITES"),S(r,"class","CategoryContainer"),S(r,"clientstyling",n[6]),S(r,"clientstylingurl",n[7]),S(r,"livecasino",n[8]),S(r,"visiblegames",n[12]),S(r,"gamepagemodalurl",n[11]),S(r,"integratedgameframedesktop",n[10]),S(r,"integratedgameframemobile",n[9]),S(r,"casinomygames",n[14]),fe(a,"class","CasinoFavoritesSectionContainer")},m(e,t){ue(e,a,t),de(a,r),n[18](a),s||(o=T(i=n[16].call(null,r,(n[2],n[1],n[0],n[1]))),s=!0)},p(e,[t]){1&t&&S(r,"session",e[0]),2&t&&S(r,"userid",e[1]),4&t&&S(r,"endpoint",e[2]),8&t&&S(r,"datasource",e[3]),32&t&&S(r,"lang",e[5]),16&t&&S(r,"currency",e[4]),8192&t&&S(r,"favorites",e[13]),64&t&&S(r,"clientstyling",e[6]),128&t&&S(r,"clientstylingurl",e[7]),256&t&&S(r,"livecasino",e[8]),4096&t&&S(r,"visiblegames",e[12]),2048&t&&S(r,"gamepagemodalurl",e[11]),1024&t&&S(r,"integratedgameframedesktop",e[10]),512&t&&S(r,"integratedgameframemobile",e[9]),16384&t&&S(r,"casinomygames",e[14]),i&&k(i.update)&&7&t&&i.update.call(null,(e[2],e[1],e[0],e[1]))},i:z,o:z,d(e){e&&he(a),n[18](null),s=!1,o()}}}function xs(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:h=""}=t,{livecasino:m="false"}=t,{integratedgameframemobile:p="false"}=t,{integratedgameframedesktop:g="false"}=t,{gamepagemodalurl:f="false"}=t,{visiblegames:y=""}=t,{favorites:b=""}=t,{categoryid:v=""}=t,{casinomygames:w="false"}=t,x=[];var $,C;({withLocale:$,translations:C}={withLocale:"en",translations:{}}),rt.subscribe(e=>{null==e&&(Ca.set(C),rt.set($))});const S=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&&k(l,c,d);break;case"SetUnfavoredGame":e=`${l}/player/${d}/favorites`,t=c,d,s=n.data.id,n.data.triggerFactor,x.includes(s)&&(x=x.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),_(e,t)});break;case"SetFavoredGame":{var a=`${l}/player/${d}/favorites`;var r=c;d;var i=n.data.id;n.data.triggerFactor;x.includes(i)||x.push(i);let e={items:x},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),_(a,r)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":d&&d.length&&c&&0<c.length&&k(l,c,d)}var e,t,s};let k=(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),F(a.items)),a)).then(e=>e).catch(e=>{console.error(e)})};let _=(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)},F=(e=[])=>(x=[],0<e.length&&e.forEach(e=>{x.push(e.id)}),x);return lt(()=>(window.addEventListener("message",S,!1),()=>{window.removeEventListener("message",S)})),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,h=e.clientstylingurl),"livecasino"in e&&o(8,m=e.livecasino),"integratedgameframemobile"in e&&o(9,p=e.integratedgameframemobile),"integratedgameframedesktop"in e&&o(10,g=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&&k(l,c,d),32832&e.$$.dirty&&u&&n){let e=document.createElement("style");e.innerHTML=u,n.appendChild(e)}if(32896&e.$$.dirty&&h&&n){let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1)})}},[c,d,l,r,i,s,u,h,m,p,g,f,y,b,w,n,k,v,function(e){at[e?"unshift":"push"](()=>{n=e,o(15,n)})}]}function $s(e,t){ka(e,t)}customElements.get("casino-collections-providers")||customElements.define("casino-collections-providers",class extends r{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{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.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:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}</style>',a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},vs,bs,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 r{constructor(e){super(),this.shadowRoot.innerHTML="<style>.CasinoFavoritesSectionContainer{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}</style>",a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},xs,ws,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 Cs={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 Ss(e){let n;return{c(){S(n=me("casino-games-category-section"),"session",e[4]),S(n,"userid",e[5]),S(n,"endpoint",e[0]),S(n,"datasource",e[1]),S(n,"lang",e[3]),S(n,"currency",e[2]),S(n,"favorites",e[13]),S(n,"categoryid","LASTPLAYED"),S(n,"categoryindex","1"),S(n,"categorygames","9"),S(n,"class","CategoryContainer"),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[12]),S(n,"gamepagemodalurl",e[11]),S(n,"integratedgameframedesktop",e[10]),S(n,"integratedgameframemobile",e[9]),S(n,"casinomygames",e[14])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&S(n,"session",e[4]),32&t[0]&&S(n,"userid",e[5]),1&t[0]&&S(n,"endpoint",e[0]),2&t[0]&&S(n,"datasource",e[1]),8&t[0]&&S(n,"lang",e[3]),4&t[0]&&S(n,"currency",e[2]),8192&t[0]&&S(n,"favorites",e[13]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),4096&t[0]&&S(n,"visiblegames",e[12]),2048&t[0]&&S(n,"gamepagemodalurl",e[11]),1024&t[0]&&S(n,"integratedgameframedesktop",e[10]),512&t[0]&&S(n,"integratedgameframemobile",e[9]),16384&t[0]&&S(n,"casinomygames",e[14])},d(e){e&&he(n)}}}function ks(e){let n,a,r=e[17]("LastPlayedTranslations.noRecentGames")+"";return{c(){n=me("p"),a=pe(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&&he(n)}}}function _s(n){let a,r;function i(e){return e[16]?ks:Ss}let s=i(n),o=s(n);return{c(){a=me("div"),r=me("div"),o.c(),this.c=z,fe(r,"class","CasinoLastPlayedSection"),fe(a,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,a,t),de(a,r),o.m(r,null),n[23](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:z,o:z,d(e){e&&he(a),o.d(),n[23](null)}}}function Ts(t,e,n){let a;ot(t,za,e=>n(17,a=e));let r,i,{endpoint:s=""}=e,{datasource:o=""}=e,{currency:l=""}=e,{lang:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{clientstyling:h=""}=e,{clientstylingurl:m=""}=e,{translationurl:p=""}=e,{livecasino:g="false"}=e,{integratedgameframemobile:f="false"}=e,{integratedgameframedesktop:y="false"}=e,{gamepagemodalurl:b="false"}=e,{visiblegames:v=""}=e,{favorites:w=""}=e,{lastplayedperiod:x="Last30Days"}=e,{lastplayedorder:$=""}=e,{lastplayedlimit:C=""}=e,{casinomygames:S="false"}=e,{lastplayedunique:k="true"}=e,_=window.navigator.userAgent,T=!1,F;Object.keys(Cs).forEach(e=>{$s(e,Cs[e])});return t.$$set=e=>{"endpoint"in e&&n(0,s=e.endpoint),"datasource"in e&&n(1,o=e.datasource),"currency"in e&&n(2,l=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,h=e.clientstyling),"clientstylingurl"in e&&n(7,m=e.clientstylingurl),"translationurl"in e&&n(18,p=e.translationurl),"livecasino"in e&&n(8,g=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,x=e.lastplayedperiod),"lastplayedorder"in e&&n(20,$=e.lastplayedorder),"lastplayedlimit"in e&&n(21,C=e.lastplayedlimit),"casinomygames"in e&&n(14,S=e.casinomygames),"lastplayedunique"in e&&n(22,k=e.lastplayedunique)},t.$$.update=()=>{if(41&t.$$.dirty[0]&&s&&u&&c&&new Promise((e,t)=>{let n=new URL(`${s}/player/${u}/games/last-played`);n.searchParams.append("unique",k),n.searchParams.append("limit",C),n.searchParams.append("order",$),n.searchParams.append("period",x),"PC"===st(_)?n.searchParams.append("device","Desktop"):n.searchParams.append("device","Mobile"),r=g?n:n.href,fetch(r).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(s+"/casino/games/"+e.gameId);t.searchParams.append("datasource",o),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{F=e.map(e=>e[0]),window.postMessage({type:"LastPlayedData",lastPlayedGames:F},window.location.href)})}else n(16,T=!0)}),262144&t.$$.dirty[0]&&p&&(e=translationUrl,fetch(e).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{$s(e,t[e])})}).catch(e=>{console.log(e)})),32832&t.$$.dirty[0]&&h&&i){let e=document.createElement("style");e.innerHTML=h,i.appendChild(e)}if(32896&t.$$.dirty[0]&&m&&i){let t=document.createElement("style");fetch(new URL(m)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e;8&t.$$.dirty[0]&&c&&(e=c,rt.set(e))},[s,o,l,c,d,u,h,m,g,f,y,b,v,w,S,i,T,a,p,x,$,C,k,function(e){at[e?"unshift":"push"](()=>{i=e,n(15,i)})}]}function Fs(e){let n;return{c(){S(n=me("casino-games-category-section"),"session",e[4]),S(n,"userid",e[5]),S(n,"endpoint",e[0]),S(n,"datasource",e[1]),S(n,"lang",e[3]),S(n,"currency",e[2]),S(n,"favorites",e[13]),S(n,"categoryid","MOSTPLAYED"),S(n,"categoryindex","1"),S(n,"categorygames","9"),S(n,"class","CategoryContainer"),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[12]),S(n,"gamepagemodalurl",e[11]),S(n,"integratedgameframedesktop",e[10]),S(n,"integratedgameframemobile",e[9]),S(n,"casinomygames",e[14])},m(e,t){ue(e,n,t)},p(e,t){16&t&&S(n,"session",e[4]),32&t&&S(n,"userid",e[5]),1&t&&S(n,"endpoint",e[0]),2&t&&S(n,"datasource",e[1]),8&t&&S(n,"lang",e[3]),4&t&&S(n,"currency",e[2]),8192&t&&S(n,"favorites",e[13]),64&t&&S(n,"clientstyling",e[6]),128&t&&S(n,"clientstylingurl",e[7]),256&t&&S(n,"livecasino",e[8]),4096&t&&S(n,"visiblegames",e[12]),2048&t&&S(n,"gamepagemodalurl",e[11]),1024&t&&S(n,"integratedgameframedesktop",e[10]),512&t&&S(n,"integratedgameframemobile",e[9]),16384&t&&S(n,"casinomygames",e[14])},d(e){e&&he(n)}}}function Ms(e){let n;return{c(){(n=me("p")).textContent="No games in most played",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function Ls(n){let a,r;function i(e){return e[16]?Ms:Fs}let s=i(n),o=s(n);return{c(){a=me("div"),r=me("div"),o.c(),this.c=z,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[19](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:z,o:z,d(e){e&&he(a),o.d(),n[19](null)}}}function Es(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:h=""}=e,{livecasino:m="false"}=e,{integratedgameframemobile:p="false"}=e,{integratedgameframedesktop:g="false"}=e,{gamepagemodalurl:f="false"}=e,y=e["visiblegames"],{favorites:b=""}=e,{lastPlayedEmpty:v=""}=e,{casinomygames:w="false"}=e,{mostplayedperiod:x="Last30Days"}=e,$=window.navigator.userAgent,C=[],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,h=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"integratedgameframemobile"in e&&n(9,p=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,g=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),"mostplayedperiod"in e&&n(18,x=e.mostplayedperiod)},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"),t.searchParams.append("period",x);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=m?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:st($),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=>{C=e.map(e=>e[0]),"true"===w&&(C=C.slice(0,JSON.parse(y))),window.postMessage({type:"MostPlayedData",mostPlayedGames:C},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&&h&&r){let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e;8&t.$$.dirty&&l&&(e=l,rt.set(e))},[i,s,o,l,c,d,u,h,m,p,g,f,y,b,w,r,S,v,x,function(e){at[e?"unshift":"push"](()=>{r=e,n(15,r)})}]}function Gs(e,t){ka(e,t)}customElements.get("casino-last-played-section")||customElements.define("casino-last-played-section",class extends r{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>',a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ts,_s,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,lastplayedorder:20,lastplayedlimit:21,casinomygames:14,lastplayedunique:22},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","lastplayedorder","lastplayedlimit","casinomygames","lastplayedunique"]}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 lastplayedorder(){return this.$$.ctx[20]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),f()}get lastplayedlimit(){return this.$$.ctx[21]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),f()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),f()}get lastplayedunique(){return this.$$.ctx[22]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),f()}}),customElements.get("casino-most-played-section")||customElements.define("casino-most-played-section",class extends r{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>',a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Es,Ls,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,mostplayedperiod:18},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","mostplayedperiod"]}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()}get mostplayedperiod(){return this.$$.ctx[18]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),f()}});const Ps={en:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},"zh-hk":{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 Is(e,t,n){const a=e.slice();return a[40]=t[n],a}function Rs(t){let r,n,i,a,s,e,o=t[26],l=[];for(let e=0;e<o.length;e+=1)l[e]=Os(Is(t,o,e));function c(e){return"Favorites"==e[24]?js:"MostPlayed"==e[24]?Hs:"LastPlayed"==e[24]?Ns:void 0}let d=c(t),u=d&&d(t);return{c(){r=me("div"),n=me("div"),i=me("div");for(let e=0;e<l.length;e+=1)l[e].c();a=ge(),s=me("div"),u&&u.c(),fe(i,"class","MyGamesButtonsContainer"),fe(n,"class","MyGamesHeader"),fe(r,"class",e="CasinoMyGames "+(t[25]?"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(486596608&n[0]){let e;for(o=t[26],e=0;e<o.length;e+=1){var a=Is(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))),33554432&n[0]&&e!==(e="CasinoMyGames "+(t[25]?"Mobile":""))&&fe(r,"class",e)},d(e){e&&he(r),H(l,e),u&&u.d()}}}function Ds(n){let a,r,i,s,o,l=n[27]("Translations.favorites")+"";return{c(){a=me("button"),r=pe(l),fe(a,"class",i="MyGamesButton "+("Favorites"==n[24]?"Active":"")+" "+("false"==n[13]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),s||(o=V(a,"click",n[30]),s=!0)},p(e,t){134217728&t[0]&&l!==(l=e[27]("Translations.favorites")+"")&&ye(r,l),16785408&t[0]&&i!==(i="MyGamesButton "+("Favorites"==e[24]?"Active":"")+" "+("false"==e[13]?"Off":""))&&fe(a,"class",i)},d(e){e&&he(a),s=!1,o()}}}function As(n){let a,r,i,s,o,l=n[27]("Translations.mostPlayed")+"";return{c(){a=me("button"),r=pe(l),fe(a,"class",i="MyGamesButton "+("MostPlayed"==n[24]?"Active":"")+" "+("false"==n[14]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),s||(o=V(a,"click",n[31]),s=!0)},p(e,t){134217728&t[0]&&l!==(l=e[27]("Translations.mostPlayed")+"")&&ye(r,l),16793600&t[0]&&i!==(i="MyGamesButton "+("MostPlayed"==e[24]?"Active":"")+" "+("false"==e[14]?"Off":""))&&fe(a,"class",i)},d(e){e&&he(a),s=!1,o()}}}function Bs(n){let a,r,i,s,o,l,c=n[27]("Translations.recentlyPlayed")+"";return{c(){a=me("button"),r=pe(c),i=ge(),fe(a,"class",s="MyGamesButton "+("LastPlayed"==n[24]?"Active":"")+" "+("false"==n[15]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),de(a,i),o||(l=V(a,"click",n[32]),o=!0)},p(e,t){134217728&t[0]&&c!==(c=e[27]("Translations.recentlyPlayed")+"")&&ye(r,c),16809984&t[0]&&s!==(s="MyGamesButton "+("LastPlayed"==e[24]?"Active":"")+" "+("false"==e[15]?"Off":""))&&fe(a,"class",s)},d(e){e&&he(a),o=!1,l()}}}function Os(e){let n,a,r,i="Favorites"==e[40]&&Ds(e),s="MostPlayed"==e[40]&&As(e),o="LastPlayed"==e[40]&&Bs(e);return{c(){i&&i.c(),n=ge(),s&&s.c(),a=ge(),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[40]?i?i.p(e,t):((i=Ds(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),"MostPlayed"==e[40]?s?s.p(e,t):((s=As(e)).c(),s.m(a.parentNode,a)):s&&(s.d(1),s=null),"LastPlayed"==e[40]?o?o.p(e,t):((o=Bs(e)).c(),o.m(r.parentNode,r)):o&&(o.d(1),o=null)},d(e){i&&i.d(e),e&&he(n),s&&s.d(e),e&&he(a),o&&o.d(e),e&&he(r)}}}function Ns(e){let n;return{c(){S(n=me("casino-last-played-section"),"userid",e[0]),S(n,"endpoint",e[2]),S(n,"datasource",e[3]),S(n,"favorites",e[13]),S(n,"lang",e[4]),S(n,"currency",e[5]),S(n,"session",e[1]),S(n,"class","CategoryContainer"),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[9]),S(n,"lastplayedperiod",e[17]),S(n,"lastplayedorder",e[19]),S(n,"lastplayedlimit",e[20]),S(n,"lastplayedunique",e[21]),S(n,"gamepagemodalurl",e[10]),S(n,"integratedgameframedesktop",e[11]),S(n,"integratedgameframemobile",e[12]),S(n,"casinomygames",e[16])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&S(n,"userid",e[0]),4&t[0]&&S(n,"endpoint",e[2]),8&t[0]&&S(n,"datasource",e[3]),8192&t[0]&&S(n,"favorites",e[13]),16&t[0]&&S(n,"lang",e[4]),32&t[0]&&S(n,"currency",e[5]),2&t[0]&&S(n,"session",e[1]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),512&t[0]&&S(n,"visiblegames",e[9]),131072&t[0]&&S(n,"lastplayedperiod",e[17]),524288&t[0]&&S(n,"lastplayedorder",e[19]),1048576&t[0]&&S(n,"lastplayedlimit",e[20]),2097152&t[0]&&S(n,"lastplayedunique",e[21]),1024&t[0]&&S(n,"gamepagemodalurl",e[10]),2048&t[0]&&S(n,"integratedgameframedesktop",e[11]),4096&t[0]&&S(n,"integratedgameframemobile",e[12]),65536&t[0]&&S(n,"casinomygames",e[16])},d(e){e&&he(n)}}}function Hs(e){let n;return{c(){S(n=me("casino-most-played-section"),"endpoint",e[2]),S(n,"datasource",e[3]),S(n,"lang",e[4]),S(n,"currency",e[5]),S(n,"session",e[1]),S(n,"userid",e[0]),S(n,"favorites",e[13]),S(n,"categoryindex","0"),S(n,"class","CategoryContainer"),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[9]),S(n,"gamepagemodalurl",e[10]),S(n,"mostplayedrounds",e[22]),S(n,"integratedgameframedesktop",e[11]),S(n,"integratedgameframemobile",e[12]),S(n,"mostplayedperiod",e[18]),S(n,"casinomygames",e[16])},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&S(n,"endpoint",e[2]),8&t[0]&&S(n,"datasource",e[3]),16&t[0]&&S(n,"lang",e[4]),32&t[0]&&S(n,"currency",e[5]),2&t[0]&&S(n,"session",e[1]),1&t[0]&&S(n,"userid",e[0]),8192&t[0]&&S(n,"favorites",e[13]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),512&t[0]&&S(n,"visiblegames",e[9]),1024&t[0]&&S(n,"gamepagemodalurl",e[10]),4194304&t[0]&&S(n,"mostplayedrounds",e[22]),2048&t[0]&&S(n,"integratedgameframedesktop",e[11]),4096&t[0]&&S(n,"integratedgameframemobile",e[12]),262144&t[0]&&S(n,"mostplayedperiod",e[18]),65536&t[0]&&S(n,"casinomygames",e[16])},d(e){e&&he(n)}}}function js(e){let n;return{c(){S(n=me("casino-favorites-section"),"session",e[1]),S(n,"userid",e[0]),S(n,"endpoint",e[2]),S(n,"datasource",e[3]),S(n,"lang",e[4]),S(n,"currency",e[5]),S(n,"favorites",e[13]),S(n,"categoryid","FAVORITES"),S(n,"class","CategoryContainer"),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[9]),S(n,"gamepagemodalurl",e[10]),S(n,"integratedgameframedesktop",e[11]),S(n,"integratedgameframemobile",e[12]),S(n,"casinomygames",e[16])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&S(n,"session",e[1]),1&t[0]&&S(n,"userid",e[0]),4&t[0]&&S(n,"endpoint",e[2]),8&t[0]&&S(n,"datasource",e[3]),16&t[0]&&S(n,"lang",e[4]),32&t[0]&&S(n,"currency",e[5]),8192&t[0]&&S(n,"favorites",e[13]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),512&t[0]&&S(n,"visiblegames",e[9]),1024&t[0]&&S(n,"gamepagemodalurl",e[10]),2048&t[0]&&S(n,"integratedgameframedesktop",e[11]),4096&t[0]&&S(n,"integratedgameframemobile",e[12]),65536&t[0]&&S(n,"casinomygames",e[16])},d(e){e&&he(n)}}}function Us(n){let a;function r(e){if(e[16])return Rs}let i=r(n),s=i&&i(n);return{c(){a=me("div"),s&&s.c(),this.c=z},m(e,t){ue(e,a,t),s&&s.m(a,null),n[33](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:z,o:z,d(e){e&&he(a),s&&s.d(),n[33](null)}}}function Ws(e,t,n){let a;ot(e,za,e=>n(27,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:h=""}=t,{livecasino:m=""}=t,{visiblegames:p=""}=t,{gamepagemodalurl:g=""}=t,{integratedgameframedesktop:f=""}=t,{integratedgameframemobile:y=""}=t,{translationurl:b=""}=t,{favorites:v="false"}=t,{mostplayed:w="false"}=t,{lastplayed:x="false"}=t,{casinomygames:$="false"}=t,{lastplayedperiod:C="Last30Days"}=t,{mostplayedperiod:S="Last30Days"}=t,{lastplayedorder:k=""}=t,{lastplayedlimit:_=""}=t,{lastplayedunique:T="true"}=t,{mostplayedrounds:F=""}=t,D=window.navigator.userAgent,M="",L=!1,E=["","",""];var G,P;({withLocale:G,translations:P}={withLocale:"en",translations:{}}),rt.subscribe(e=>{null==e&&(Ca.set(P),rt.set(G))}),Object.keys(Ps).forEach(e=>{Gs(e,Ps[e])});const I=e=>{M!==e&&n(24,M=e)},R=()=>{var e;n(24,M="true"===v?"Favorites":"true"===w?"MostPlayed":"true"===x?"LastPlayed":""),n(26,E[0]="true"===v?"Favorites":"",E),n(26,E[1]="true"===w?"MostPlayed":"",E),n(26,E[2]="true"===x?"LastPlayed":"",E),e=c,rt.set(e)};return lt(()=>{n(25,L=it(D))}),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,h=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"visiblegames"in e&&n(9,p=e.visiblegames),"gamepagemodalurl"in e&&n(10,g=e.gamepagemodalurl),"integratedgameframedesktop"in e&&n(11,f=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(12,y=e.integratedgameframemobile),"translationurl"in e&&n(29,b=e.translationurl),"favorites"in e&&n(13,v=e.favorites),"mostplayed"in e&&n(14,w=e.mostplayed),"lastplayed"in e&&n(15,x=e.lastplayed),"casinomygames"in e&&n(16,$=e.casinomygames),"lastplayedperiod"in e&&n(17,C=e.lastplayedperiod),"mostplayedperiod"in e&&n(18,S=e.mostplayedperiod),"lastplayedorder"in e&&n(19,k=e.lastplayedorder),"lastplayedlimit"in e&&n(20,_=e.lastplayedlimit),"lastplayedunique"in e&&n(21,T=e.lastplayedunique),"mostplayedrounds"in e&&n(22,F=e.mostplayedrounds)},e.$$.update=()=>{if(28&e.$$.dirty[0]&&o&&l&&c&&R(),57344&e.$$.dirty[0]&&v&&w&&x&&R(),536870912&e.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Gs(e,t[e])})}).catch(e=>{console.log(e)}),8388672&e.$$.dirty[0]&&u&&r){let e=document.createElement("style");e.innerHTML=u,r.appendChild(e)}if(8388736&e.$$.dirty[0]&&h&&r){let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}},[i,s,o,l,c,d,u,h,m,p,g,f,y,v,w,x,$,C,S,k,_,T,F,r,M,L,E,a,I,b,()=>I("Favorites"),()=>I("MostPlayed"),()=>I("LastPlayed"),function(e){at[e?"unshift":"push"](()=>{r=e,n(23,r)})}]}function zs(e,t){ka(e,t)}customElements.get("casino-my-games")||customElements.define("casino-my-games",class extends r{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>",a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ws,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:29,favorites:13,mostplayed:14,lastplayed:15,casinomygames:16,lastplayedperiod:17,mostplayedperiod:18,lastplayedorder:19,lastplayedlimit:20,lastplayedunique:21,mostplayedrounds:22},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","casinomygames","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayedrounds"]}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[29]}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 casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),f()}get lastplayedperiod(){return this.$$.ctx[17]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get mostplayedperiod(){return this.$$.ctx[18]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),f()}get lastplayedorder(){return this.$$.ctx[19]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),f()}get lastplayedlimit(){return this.$$.ctx[20]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),f()}get lastplayedunique(){return this.$$.ctx[21]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),f()}get mostplayedrounds(){return this.$$.ctx[22]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}});const Ys={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-hk":{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",placeHolderSearchGames:"Recherche de jeux de casino",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 Vs(e,t,n){const a=e.slice();return a[48]=t[n],a}function Zs(e){let n,a,r,i;function s(e){return 1==e[13]&&e[8].length<2?qs:0!=e[11].length?Xs:void 0}let o=s(e),l=o&&o(e),c=!1===e[9]&&Qs(e),d=2<=e[8].length&&0==e[11].length&&to(e);return{c(){l&&l.c(),n=ge(),a=me("div"),c&&c.c(),r=ge(),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=Qs(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=to(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&&he(n),e&&he(a),c&&c.d(),d&&d.d()}}}function Ks(e){let n,a,r=e[17]("Translations.loading")+"";return{c(){n=me("p"),a=pe(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&&he(n)}}}function Xs(e){let n,a,r=e[17]("Translations.searchResult")+"";return{c(){n=me("p"),a=pe(r),fe(n,"class","SearchMessage")},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&&he(n)}}}function qs(e){let n,a,r,i,s=e[17]("Translations.recentSearch")+"",o=0==e[11].length&&Js(e);return{c(){n=me("p"),a=pe(s),r=ge(),o&&o.c(),i=l(),fe(n,"class","SearchMessage")},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=Js(e)).c(),o.m(i.parentNode,i)):o&&(o.d(1),o=null)},d(e){e&&he(n),e&&he(r),o&&o.d(e),e&&he(i)}}}function Js(e){let n,a,r,i=e[17]("Translations.noRecentSearches")+"";return{c(){n=me("div"),a=me("p"),r=pe(i),fe(a,"class","SearchMessage"),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&&he(n)}}}function Qs(t){let r,i=t[11],s=[];for(let e=0;e<i.length;e+=1)s[e]=eo(Vs(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=Vs(t,i,e);s[e]?s[e].p(a,n):(s[e]=eo(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){H(s,e),e&&he(r)}}}function eo(e){let n,a,r,i,s,o,l,c,d,u,h;return{c(){S(n=me("casino-game-thumbnail"),"endpoint",e[0]),S(n,"session",e[15]),S(n,"userid",e[16]),S(n,"favorites",e[7]),S(n,"lang",e[1]),S(n,"gamethumbnail",a=e[48].thumbnail),S(n,"gamename",r=e[48].name),S(n,"gamevendor",i=e[48].vendor.name),S(n,"gameisnew",s=e[48].isNew),S(n,"gametag",o=0<e[48].advancedTags?.length&&e[20](e[48].advancedTags)),S(n,"gamecellsize",l=e[48].cellSize),S(n,"gameid",c=e[48].id),S(n,"gamefunmode",d=e[48].hasFunMode),S(n,"gamefavorite",u=e[48].isFavorite),S(n,"livelobbyendpoint",h=e[48].details?e[48].launchUrl:""),S(n,"integratedgameframedesktop",e[4]),S(n,"integratedgameframemobile",e[5]),S(n,"clientstyling",e[2]),S(n,"clientstylingurl",e[3]),S(n,"gamepagemodalurl",e[6])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&S(n,"endpoint",e[0]),32768&t[0]&&S(n,"session",e[15]),65536&t[0]&&S(n,"userid",e[16]),128&t[0]&&S(n,"favorites",e[7]),2&t[0]&&S(n,"lang",e[1]),2048&t[0]&&a!==(a=e[48].thumbnail)&&S(n,"gamethumbnail",a),2048&t[0]&&r!==(r=e[48].name)&&S(n,"gamename",r),2048&t[0]&&i!==(i=e[48].vendor.name)&&S(n,"gamevendor",i),2048&t[0]&&s!==(s=e[48].isNew)&&S(n,"gameisnew",s),2048&t[0]&&o!==(o=0<e[48].advancedTags?.length&&e[20](e[48].advancedTags))&&S(n,"gametag",o),2048&t[0]&&l!==(l=e[48].cellSize)&&S(n,"gamecellsize",l),2048&t[0]&&c!==(c=e[48].id)&&S(n,"gameid",c),2048&t[0]&&d!==(d=e[48].hasFunMode)&&S(n,"gamefunmode",d),2048&t[0]&&u!==(u=e[48].isFavorite)&&S(n,"gamefavorite",u),2048&t[0]&&h!==(h=e[48].details?e[48].launchUrl:"")&&S(n,"livelobbyendpoint",h),16&t[0]&&S(n,"integratedgameframedesktop",e[4]),32&t[0]&&S(n,"integratedgameframemobile",e[5]),4&t[0]&&S(n,"clientstyling",e[2]),8&t[0]&&S(n,"clientstylingurl",e[3]),64&t[0]&&S(n,"gamepagemodalurl",e[6])},d(e){e&&he(n)}}}function to(e){let n,a,r,i,s,o,l=e[17]("Translations.notFound")+"",c=e[17]("Translations.notFoundText")+"";return{c(){n=me("div"),a=me("p"),r=pe(l),i=ge(),s=me("p"),o=pe(c),fe(a,"class","SearchMessage"),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&&he(n)}}}function no(n){let a,r,i,s,o,l,c,d,u,h,m,p,g,f,y,b,v,w,x,$=n[17]("Translations.cancel")+"";function C(e){return e[14]?Ks:Zs}let S=C(n),k=S(n);return{c(){a=me("div"),r=me("div"),(i=me("div")).innerHTML='<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>',s=ge(),o=me("input"),d=ge(),u=me("span"),h=j("svg"),m=j("path"),g=ge(),f=me("small"),y=pe($),v=ge(),k.c(),this.c=z,fe(i,"class","SearchIcon"),fe(o,"class",l="SearchInput "+(n[9]?"":"SearchAnimation")),fe(o,"type","search"),fe(o,"placeholder",c=n[17]("Translations.placeHolderSearchGames")),fe(m,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),fe(m,"stroke","#717171"),fe(m,"stroke-width","2"),fe(m,"stroke-linecap","round"),fe(m,"stroke-linejoin","round"),fe(h,"width","11"),fe(h,"height","11"),fe(h,"fill","none"),fe(h,"xmlns","http://www.w3.org/2000/svg"),fe(u,"class",p="SearchClearButton "+(0!=n[8].length?"":"NotVisible")),fe(f,"class",b="SearchCancelButton "+(n[9]?"NotVisible":"")),fe(r,"class","Search"),fe(a,"class",("PC"!==st(n[18])?"":"Desktop")+" CasinoSearch")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,s),de(r,o),P(o,n[8]),n[29](o),de(r,d),de(r,u),de(u,h),de(h,m),de(r,g),de(r,f),de(f,y),de(a,v),k.m(a,null),n[32](a),w||(x=[V(o,"input",n[28]),V(o,"focus",n[19]),V(u,"click",n[30]),V(f,"click",n[31])],w=!0)},p(e,t){512&t[0]&&l!==(l="SearchInput "+(e[9]?"":"SearchAnimation"))&&fe(o,"class",l),131072&t[0]&&c!==(c=e[17]("Translations.placeHolderSearchGames"))&&fe(o,"placeholder",c),256&t[0]&&P(o,e[8]),256&t[0]&&p!==(p="SearchClearButton "+(0!=e[8].length?"":"NotVisible"))&&fe(u,"class",p),131072&t[0]&&$!==($=e[17]("Translations.cancel")+"")&&ye(y,$),512&t[0]&&b!==(b="SearchCancelButton "+(e[9]?"NotVisible":""))&&fe(f,"class",b),S===(S=C(e))&&k?k.p(e,t):(k.d(1),(k=S(e))&&(k.c(),k.m(a,null)))},i:z,o:z,d(e){e&&he(a),n[29](null),k.d(),n[32](null),w=!1,Y(x)}}}function ao(a,e,i){let t;ot(a,za,e=>i(17,t=e));let n,r,s,o,{endpoint:l=""}=e,{datasource:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{lang:h="en"}=e,{clientstyling:m=""}=e,{clientstylingurl:p=""}=e,{integratedgameframedesktop:g="false"}=e,{integratedgameframemobile:f="false"}=e,{gamepagemodalurl:y="true"}=e,{translationurl:b=""}=e,{showfavorites:v=""}=e,w=window.navigator.userAgent,x=[],$=[],C={},S="",k=!0,_=!1,T=!1,F=!1,M=[];Object.keys(Ys).forEach(e=>{zs(e,Ys[e])});const L=e=>{{var t,n;e.data&&"SearchedItemClicked"==e.data.type&&(t=e.data.gameId,-1===($=($=localStorage.getItem("searchedGamesWds_casino"))?$.split(","):[]).indexOf(t)&&($.push(t),n=$.join(","),localStorage.setItem("searchedGamesWds_casino",n)))}"UserSessionID"==e.data.type&&(i(15,s=e.data.session),i(16,o=e.data.userid),i(27,F=!0)),"CategoryChange"==e.data.type&&P()},E=()=>{if(i(9,k=!1),i(13,_=!0),l&&c&&h&&S.length<2){i(11,x=[]);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",h),e.searchParams.append("datasource",c),e.searchParams.append("platform",st(w)),n.push(((e,a)=>new Promise((t,n)=>{i(14,T=!0),a&&Object.keys(C).indexOf(a)>=0?(i(14,T=!1),t(C[a])):fetch(e).then(e=>e.json()).then(e=>{i(14,T=!1),e.error||(C[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=>{e=e.filter(function(e){return!!e}),i(11,x=e.map(e=>(e.isFavorite=G(e.id),e)))})}}R(_),"function"==typeof gtag&>ag("event","SearchInitialized",{context:"SearchWidget"})},G=t=>-1!==M.findIndex(e=>e==t),P=()=>{i(8,S=""),i(9,k=!0),i(14,T=!1),i(11,x=[]),i(13,_=!1),R(_)},I=()=>{i(8,S=""),n.focus()},R=e=>{window.postMessage({type:!0===e?"searchActive":"searchCancelled",searchStatus:e})};return lt(()=>(window.addEventListener("message",L,!1),()=>{window.removeEventListener("message",L)})),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,h=e.lang),"clientstyling"in e&&i(2,m=e.clientstyling),"clientstylingurl"in e&&i(3,p=e.clientstylingurl),"integratedgameframedesktop"in e&&i(4,g=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<=S.length){const a=new URL(l+"/casino/games");a.searchParams.append("datasource",c),a.searchParams.append("expand","vendor"),a.searchParams.append("platform",st(w)),a.searchParams.append("language",h),a.searchParams.append("pagination","offset=0,limit=30"),a.searchParams.append("filter","name="+S),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,x=e.items.map(e=>(e.isFavorite=G(e.id),e)))})}else k||E();var e,t,n;if(2&a.$$.dirty[0]&&h&&(n=h,rt.set(n)),67108864&a.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{zs(e,t[e])})}).catch(e=>{console.log(e)}),50331648&a.$$.dirty[0]&&d&&u&&(i(27,F=!0),i(15,s=d),i(16,o=u)),134217856&a.$$.dirty[0]&&v&&F&&(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]&&m&&r){let e=document.createElement("style");e.innerHTML=m,r.appendChild(e)}if(1032&a.$$.dirty[0]&&p&&r){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}},[l,h,m,p,g,f,y,v,S,k,r,x,n,_,T,s,o,t,w,E,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);Ja(e).diff(o)<s&&(s=Ja(e).diff(o),i=t),Ja(o).isAfter(n)&&Ja(o).isBefore(e)&&(r=a[i].name)}),r},P,I,c,d,u,b,F,function(){S=this.value,i(8,S)},function(e){at[e?"unshift":"push"](()=>{n=e,i(12,n)})},()=>I(),()=>P(),function(e){at[e?"unshift":"push"](()=>{r=e,i(10,r)})}]}function ro(e,{delay:t=0,duration:n=400,easing:a=x}={}){const r=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:a,css:e=>"opacity: "+e*r}}function io(n){let a,r,i,s,o,l,c,d,t,u,h,m;return{c(){a=me("div"),r=me("div"),(i=me("div")).innerHTML="<slot></slot>",s=ge(),o=me("span"),(l=me("slot")).innerHTML='<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>',fe(i,"class","ModalContainer"),fe(i,"part","ModalContainer"),fe(l,"name","close"),fe(o,"class",c="ModalCloseBtn "+("true"==n[1]&&n[3]?"ModalPanicCloseButton":"")),fe(o,"part","ModalCloseBtn"),fe(o,"role","button"),fe(r,"class","ModalWindow"),fe(r,"part","ModalWindow"),fe(r,"id","Modal"),X(()=>n[18].call(r)),fe(a,"part","CustomStylingContainer")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,s),de(r,o),de(o,l),n[17](r),d=function(e,t){"static"===getComputedStyle(e).position&&(e.style.position="relative");const n=me("iframe"),a=(n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1,function(){if(void 0===p){p=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(e){p=!0}}return p}());let r;return a?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",r=V(window,"message",e=>{e.source===n.contentWindow&&t()})):(n.src="about:blank",n.onload=()=>{r=V(n.contentWindow,"resize",t)}),de(e,n),()=>{(a||r&&n.contentWindow)&&r(),he(n)}}(r,n[18].bind(r)),n[19](a),u=!0,h||(m=V(o,"click",n[8]),h=!0)},p(e,t){n=e,(!u||10&t&&c!==(c="ModalCloseBtn "+("true"==n[1]&&n[3]?"ModalPanicCloseButton":"")))&&fe(o,"class",c)},i(e){u||(X(()=>{(t=t||se(r,ro,{transitionDuration:n[0]},!0)).run(1)}),u=!0)},o(e){(t=t||se(r,ro,{transitionDuration:n[0]},!1)).run(0),u=!1},d(e){e&&he(a),n[17](null),d(),e&&t&&t.end(),n[19](null),h=!1,m()}}}function so(e){let n,a,r=e[7]&&io(e);return{c(){r&&r.c(),n=l(),this.c=z},m(e,t){r&&r.m(e,t),ue(e,n,t),a=!0},p(e,[t]){e[7]?r?(r.p(e,t),128&t&&ae(r,1)):((r=io(e)).c(),ae(r,1),r.m(n.parentNode,n)):r&&(ne={r:0,c:[],p:ne},re(r,1,1,()=>{r=null}),ne.r||Y(ne.c),ne=ne.p)},i(e){a||(ae(r),a=!0)},o(e){re(r),a=!1},d(e){r&&r.d(e),e&&he(n)}}}function oo(e,t,n){let a,i,r,s,{duration:o=350}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:u=""}=t,{endpoint:h=""}=t,{haspanicbutton:m="false"}=t,{gamepagemodalurl:p="false"}=t,{sessioncheck:g="true"}=t,{integratedgameframedesktop:f="false"}=t,y=window.navigator.userAgent,b=!1,v=!1,w=!1;const x=e=>{var t;"ModalClosed"!=e.data.type||"false"==f&&!it(y)||n(7,w=!1),"ShowGameModal"===e.data.type&&(n(7,w=!0),window.postMessage({type:"GameLaunchID",gameId:e.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"OpenGameFrame"===e.data.type&&(n(7,w=!0),window.postMessage({type:"LaunchGameFrame",gameId:e.data.gameId,gameFunMode:e.data.gamefunmode},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"RequestModalSize"===e.data.type&&(t={modalWidth:a?getComputedStyle(a).width:null,modalHeight:a?getComputedStyle(a).height:null},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href)),"GameStateOnResize"===e.data.type&&(v=e.data.detailsObtained),"OpenCalendarModal"===e.data.type&&(n(7,w=!0),window.postMessage({type:"DisableScroll"},window.location.href))},$=e=>{var t;v&&(t={modalWidth:getComputedStyle(a).width,modalHeight:getComputedStyle(a).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return lt(()=>(n(3,b=it(y)),window.addEventListener("message",x,!1),window.addEventListener("resize",$,!1),()=>{window.removeEventListener("message",x),window.removeEventListener("resize",x)})),e.$$set=e=>{"duration"in e&&n(0,o=e.duration),"session"in e&&n(9,l=e.session),"userid"in e&&n(10,c=e.userid),"clientstyling"in e&&n(11,d=e.clientstyling),"clientstylingurl"in e&&n(12,u=e.clientstylingurl),"endpoint"in e&&n(13,h=e.endpoint),"haspanicbutton"in e&&n(1,m=e.haspanicbutton),"gamepagemodalurl"in e&&n(14,p=e.gamepagemodalurl),"sessioncheck"in e&&n(15,g=e.sessioncheck),"integratedgameframedesktop"in e&&n(16,f=e.integratedgameframedesktop)},e.$$.update=()=>{if(9728&e.$$.dirty&&l&&c&&h&&"true"==g&&(a=h,r=l,new Promise((t,n)=>{let e=new Headers;e.append("X-SessionID",r),Oe(a+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))}).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)})),2052&e.$$.dirty&&d&&i){let e=document.createElement("style");e.innerHTML=d,i.appendChild(e)}if(4100&e.$$.dirty&&u&&i){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var a,r},[o,m,i,b,a,void 0,void 0,w,()=>{n(7,w=!1),n(3,b=it(y)),window.postMessage({type:"ModalClosed",gamepagemodalurl:p,mobileView:b},window.location.href)},l,c,d,u,h,p,g,f,function(e){at[e?"unshift":"push"](()=>{a=e,n(4,a)})},function(){r=this.clientWidth,s=this.clientHeight,n(5,r),n(6,s)},function(e){at[e?"unshift":"push"](()=>{i=e,n(2,i)})}]}function lo(e,t,n){const a=e.slice();return a[26]=t[n],a[27]=t,a[28]=n,a}function co(e,t,n){const a=e.slice();return a[29]=t[n],a[28]=n,a}function uo(t){let r,n,i,a,e,s=t[3],o=[];for(let e=0;e<s.length;e+=1)o[e]=bo(lo(t,s,e));return{c(){r=me("div"),n=me("div"),i=pe(t[1]),a=ge();for(let e=0;e<o.length;e+=1)o[e].c();fe(n,"class","CasinoCalendarDailyDay"),fe(r,"class",e="CasinoCalendarDailyDetailsBackground "+(t[6]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,n),de(n,i),de(r,a);for(let e=0;e<o.length;e+=1)o[e].m(r,null)},p(t,n){if(2&n&&ye(i,t[1]),409&n){let e;for(s=t[3],e=0;e<s.length;e+=1){var a=lo(t,s,e);o[e]?o[e].p(a,n):(o[e]=bo(a),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=s.length}64&n&&e!==(e="CasinoCalendarDailyDetailsBackground "+(t[6]?"Mobile":""))&&fe(r,"class",e)},d(e){e&&he(r),H(o,e)}}}function ho(e){let n;return{c(){(n=me("p")).textContent="Loading ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function mo(e){let n,a;return{c(){n=j("svg"),fe(a=j("path"),"stroke-linecap","round"),fe(a,"stroke-linejoin","round"),fe(a,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),fe(n,"xmlns","http://www.w3.org/2000/svg"),fe(n,"fill","none"),fe(n,"viewBox","0 0 24 24"),fe(n,"stroke-width","1.5"),fe(n,"stroke","currentColor"),fe(n,"class","IconUp")},m(e,t){ue(e,n,t),de(n,a)},d(e){e&&he(n)}}}function po(e){let n,a;return{c(){n=j("svg"),fe(a=j("path"),"stroke-linecap","round"),fe(a,"stroke-linejoin","round"),fe(a,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),fe(n,"xmlns","http://www.w3.org/2000/svg"),fe(n,"fill","none"),fe(n,"viewBox","0 0 24 24"),fe(n,"stroke-width","1.5"),fe(n,"stroke","currentColor"),fe(n,"class","IconDown")},m(e,t){ue(e,n,t),de(n,a)},d(e){e&&he(n)}}}function go(t){let a,r,i=t[26].details,s=[];for(let e=0;e<i.length;e+=1)s[e]=fo(co(t,i,e));let o=t[26].detailsExpanded&&yo(t);return{c(){for(let e=0;e<s.length;e+=1)s[e].c();a=ge(),o&&o.c(),r=l()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);ue(t,a,n),o&&o.m(t,n),ue(t,r,n)},p(t,n){if(280&n){let e;for(i=t[26].details,e=0;e<i.length;e+=1){const o=co(t,i,e);s[e]?s[e].p(o,n):(s[e]=fo(o),s[e].c(),s[e].m(a.parentNode,a))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}t[26].detailsExpanded?o?o.p(t,n):((o=yo(t)).c(),o.m(r.parentNode,r)):o&&(o.d(1),o=null)},d(e){H(s,e),e&&he(a),o&&o.d(e),e&&he(r)}}}function fo(n){let a,r,i,s,o,l,c,d,u=n[29].title+"";function h(){return n[18](n[26],n[28])}return{c(){a=me("div"),r=me("div"),i=me("button"),s=pe(u),fe(i,"class",o="HeaderButton "+(n[29].expandedTab?"Active":"")),fe(r,"class","Header"),fe(a,"class",l=n[28]==n[4]?"SelectedTab":""),fe(a,"id","CollapseMoreInfoButton"),_(a,"height",n[26].expandedInfo?"100%":"")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(i,s),c||(d=V(i,"click",h),c=!0)},p(e,t){n=e,8&t&&u!==(u=n[29].title+"")&&ye(s,u),8&t&&o!==(o="HeaderButton "+(n[29].expandedTab?"Active":""))&&fe(i,"class",o),16&t&&l!==(l=n[28]==n[4]?"SelectedTab":"")&&fe(a,"class",l),8&t&&_(a,"height",n[26].expandedInfo?"100%":"")},d(e){e&&he(a),c=!1,d()}}}function yo(e){let n,a,r,i=e[26].details[e[4]].description+"";return{c(){n=me("div"),a=pe(i),fe(n,"class",r="DetailTabsDescription "+(e[26].details[e[4]].expandedTab?"":"NotVisible"))},m(e,t){ue(e,n,t),de(n,a)},p(e,t){24&t&&i!==(i=e[26].details[e[4]].description+"")&&ye(a,i),24&t&&r!==(r="DetailTabsDescription "+(e[26].details[e[4]].expandedTab?"":"NotVisible"))&&fe(n,"class",r)},d(e){e&&he(n)}}}function bo(n){let a,r,i,s,o,l,c,d,u,h,m,p,g,f,y,b,v,w,x,$,C=n[26].title+"",S=n[26].description+"";function k(e){return 1==e[26].expandedInfo?po:mo}let _=k(n),T=_(n);function F(){return n[17](n[26],n[27],n[28])}let M=1==n[26].expandedInfo&&go(n);return{c(){a=me("div"),r=me("div"),i=pe(C),s=ge(),o=me("div"),l=me("img"),u=ge(),h=me("div"),m=pe(S),p=ge(),g=me("div"),f=me("button"),y=pe(n[0]),b=ge(),T.c(),v=ge(),M&&M.c(),w=ge(),fe(r,"class","CasinoCalendarDailyTitle"),fe(l,"class","CasinoCalendarFitImage"),ce(l.src,c=n[26].image)||fe(l,"src",c),fe(l,"alt",d=n[26].image),fe(o,"class","CasinoCalendarImage"),fe(h,"class","CasinoCalendarDailyDescription"),fe(f,"class","MoreInfoButton"),fe(g,"class","CasinoCalendarTabs"),fe(a,"class","CasinoCalendarDailyDetailsParent")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(a,s),de(a,o),de(o,l),de(a,u),de(a,h),de(h,m),de(a,p),de(a,g),de(g,f),de(f,y),de(f,b),T.m(f,null),de(g,v),M&&M.m(g,null),de(a,w),x||($=V(f,"click",F),x=!0)},p(e,t){n=e,8&t&&C!==(C=n[26].title+"")&&ye(i,C),8&t&&!ce(l.src,c=n[26].image)&&fe(l,"src",c),8&t&&d!==(d=n[26].image)&&fe(l,"alt",d),8&t&&S!==(S=n[26].description+"")&&ye(m,S),1&t&&ye(y,n[0]),_!==(_=k(n))&&(T.d(1),(T=_(n))&&(T.c(),T.m(f,null))),1==n[26].expandedInfo?M?M.p(n,t):((M=go(n)).c(),M.m(g,null)):M&&(M.d(1),M=null)},d(e){e&&he(a),T.d(),M&&M.d(),x=!1,$()}}}function vo(n){let a;function r(e){return e[5]?ho:uo}let i=r(n),s=i(n);return{c(){a=me("div"),s.c(),this.c=z},m(e,t){ue(e,a,t),s.m(a,null),n[19](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:z,o:z,d(e){e&&he(a),s.d(),n[19](null)}}}function wo(t,e,a){let n,{dailybackground:r=""}=e,{dailybuttontitle:i=""}=e,{dailyday:s=""}=e,{dailydescription:o="<p></p>"}=e,{dailyicon:l=""}=e,{dailytitle:c=""}=e,{lang:d="en"}=e,{clientstyling:u=""}=e,{clientstylingurl:h=""}=e,{translationUrl:m=""}=e,p=[],g=0,f=!0,y=!1,b=window.navigator.userAgent;var v,w;({withLocale:v,translations:w}={withLocale:"en",translations:{}}),rt.subscribe(e=>{null==e&&(Ca.set(w),rt.set(v))});const x=e=>{"DailyEventsData"==e.data.type&&(a(5,f=!1),a(3,p=e.data.data),p.forEach(e=>{e.expandedInfo=!1,e.detailsExpanded=!1,e.details.forEach((e,t)=>{e.expandedTab=0==t})})),"ModalClosed"==e.data.type&&(a(4,g=0),p.forEach((e,t)=>{e.detailsExpanded=0==t,e.expandedInfo=0==t}))},$=e=>{a(4,g=0),a(3,p[e].detailsExpanded=!p[e].detailsExpanded,p),"function"==typeof gtag&>ag("event","MoreInfo",{context:"CalendarWidgetDetails"})},C=(e,t)=>{a(4,g=t),e.details.forEach((e,t)=>{e.expandedTab=g==t})};return lt(()=>(window.addEventListener("message",x,!1),it(b)&&a(6,y=!0),()=>{window.removeEventListener("message",x)})),t.$$set=e=>{"dailybackground"in e&&a(9,r=e.dailybackground),"dailybuttontitle"in e&&a(0,i=e.dailybuttontitle),"dailyday"in e&&a(1,s=e.dailyday),"dailydescription"in e&&a(10,o=e.dailydescription),"dailyicon"in e&&a(11,l=e.dailyicon),"dailytitle"in e&&a(12,c=e.dailytitle),"lang"in e&&a(13,d=e.lang),"clientstyling"in e&&a(14,u=e.clientstyling),"clientstylingurl"in e&&a(15,h=e.clientstylingurl),"translationUrl"in e&&a(16,m=e.translationUrl)},t.$$.update=()=>{if(8192&t.$$.dirty&&d&&(e=d,rt.set(e)),16388&t.$$.dirty&&u&&n){let e=document.createElement("style");e.innerHTML=u,n.appendChild(e)}if(32772&t.$$.dirty&&h&&n){let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[i,s,n,p,g,f,y,$,C,r,o,l,c,d,u,h,m,(e,t,n)=>{a(3,t[n].expandedInfo=!e.expandedInfo,p),$(n)},(e,t)=>{C(e,t)},function(e){at[e?"unshift":"push"](()=>{n=e,a(2,n)})}]}function xo(n){let a,r,i,s,o,l,c,d,u,h,m,p,g,f,y,b,v,w,x,$,C,S,k;return{c(){a=me("div"),r=me("div"),i=me("div"),s=me("div"),(o=me("div")).innerHTML='<div class="RingLeft"></div> \n <div class="RingRight"></div>',l=ge(),c=me("div"),d=me("div"),u=me("img"),m=ge(),p=me("div"),g=pe(n[2]),f=ge(),y=me("div"),b=ge(),v=me("div"),w=me("button"),x=pe(n[3]),this.c=z,fe(o,"class","CalendarBar"),ce(u.src,h=n[1])||fe(u,"src",h),fe(u,"alt",n[1]),fe(d,"class","CasinoCalendarDailyIcon"),fe(p,"class","CasinoCalendarDailyTitle"),fe(y,"class","CasinoCalendarDailyItemDescription"),fe(w,"class","MoreInfoButton"),fe(v,"class","CasinoCalendarDailyItemButton"),fe(c,"class",$="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==n[4]?"Tear":"")),_(c,"background-image","url('"+n[0]+"')"),_(c,"background-size","cover"),_(c,"background-position","center"),_(c,"-webkit-background-size","cover"),_(c,"-moz-background-size","cover"),_(c,"-o-background-size","cover"),fe(s,"class","CalendarCard"),fe(i,"class","CasinoCalendarItems"),fe(r,"class",C="Container "+(n[7]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(i,s),de(s,o),de(s,l),de(s,c),de(c,d),de(d,u),de(c,m),de(c,p),de(p,g),de(c,f),de(c,y),n[14](y),de(c,b),de(c,v),de(v,w),de(w,x),n[16](a),S||(k=V(w,"click",n[15]),S=!0)},p(e,[t]){2&t&&!ce(u.src,h=e[1])&&fe(u,"src",h),2&t&&fe(u,"alt",e[1]),4&t&&ye(g,e[2]),8&t&&ye(x,e[3]),16&t&&$!==($="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==e[4]?"Tear":""))&&fe(c,"class",$),1&t&&_(c,"background-image","url('"+e[0]+"')"),128&t&&C!==(C="Container "+(e[7]?"Mobile":""))&&fe(r,"class",C)},i:z,o:z,d(e){e&&he(a),n[14](null),n[16](null),S=!1,k()}}}function $o(e,t,n){let a,r,{cmsendpoint:i=""}=t,{lang:s=""}=t,{dailybackground:o=""}=t,{dailyicon:l=""}=t,{dailyday:c=""}=t,{dailydescription:d="<p></p>"}=t,{dailybuttontitle:u=""}=t,{index:h="0"}=t,{clientstyling:m=""}=t,{clientstylingurl:p=""}=t;var g,f;({withLocale:g,translations:f}={withLocale:"en",translations:{}}),rt.subscribe(e=>{null==e&&(Ca.set(f),rt.set(g))});let y=!1,b=window.navigator.userAgent;const v=()=>{window.postMessage({type:"OpenCalendarModal",index:h},window.location.href),"function"==typeof gtag&>ag("event","MoreInfo",{context:"CalendarWidgetItem"})};return lt(()=>{it(b)&&n(7,y=!0)}),e.$$set=e=>{"cmsendpoint"in e&&n(9,i=e.cmsendpoint),"lang"in e&&n(10,s=e.lang),"dailybackground"in e&&n(0,o=e.dailybackground),"dailyicon"in e&&n(1,l=e.dailyicon),"dailyday"in e&&n(2,c=e.dailyday),"dailydescription"in e&&n(11,d=e.dailydescription),"dailybuttontitle"in e&&n(3,u=e.dailybuttontitle),"index"in e&&n(4,h=e.index),"clientstyling"in e&&n(12,m=e.clientstyling),"clientstylingurl"in e&&n(13,p=e.clientstylingurl)},e.$$.update=()=>{if(2063&e.$$.dirty&&l&&c&&d&&u&&o){let e=document.createElement("div");e.innerHTML=d,a&&a.append(e)}if(4128&e.$$.dirty&&m&&r){let e=document.createElement("style");e.innerHTML=m,r.appendChild(e)}if(8224&e.$$.dirty&&p&&r){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1),setTimeout(()=>{},500)})}},[o,l,c,u,h,r,a,y,v,i,s,d,m,p,function(e){at[e?"unshift":"push"](()=>{a=e,n(6,a)})},()=>v(),function(e){at[e?"unshift":"push"](()=>{r=e,n(5,r)})}]}function Co(e,t,n){const a=e.slice();return a[11]=t[n],a[13]=n,a}function So(t){let a,r,n,i,s,e,o,l,c,d,u,h=t[1],m=[];for(let e=0;e<h.length;e+=1)m[e]=To(Co(t,h,e));return{c(){a=me("div");for(let e=0;e<m.length;e+=1)m[e].c();r=ge(),n=me("casino-modal"),S(i=me("casino-calendar-daily-details"),"dailybackground",s=t[1][t[2]].dailyBackground),S(i,"dailybuttontitle",e=t[1][t[2]].dailyButtonTitle),S(i,"dailyday",o=t[1][t[2]].dailyDay),S(i,"dailydescription",l=t[1][t[2]].dailyDescription),S(i,"dailyicon",c=t[1][t[2]].dailyIcon),S(i,"dailytitle",d=t[1][t[2]].dailyTitle),S(i,"lang",t[0]),fe(a,"class",u="CasinoCalendarItem "+(t[5]?"Mobile":""))},m(e,t){ue(e,a,t);for(let e=0;e<m.length;e+=1)m[e].m(a,null);de(a,r),de(a,n),de(n,i)},p(t,n){if(3&n){let e;for(h=t[1],e=0;e<h.length;e+=1){const s=Co(t,h,e);m[e]?m[e].p(s,n):(m[e]=To(s),m[e].c(),m[e].m(a,r))}for(;e<m.length;e+=1)m[e].d(1);m.length=h.length}6&n&&s!==(s=t[1][t[2]].dailyBackground)&&S(i,"dailybackground",s),6&n&&e!==(e=t[1][t[2]].dailyButtonTitle)&&S(i,"dailybuttontitle",e),6&n&&o!==(o=t[1][t[2]].dailyDay)&&S(i,"dailyday",o),6&n&&l!==(l=t[1][t[2]].dailyDescription)&&S(i,"dailydescription",l),6&n&&c!==(c=t[1][t[2]].dailyIcon)&&S(i,"dailyicon",c),6&n&&d!==(d=t[1][t[2]].dailyTitle)&&S(i,"dailytitle",d),1&n&&S(i,"lang",t[0]),32&n&&u!==(u="CasinoCalendarItem "+(t[5]?"Mobile":""))&&fe(a,"class",u)},d(e){e&&he(a),H(m,e)}}}function ko(e){let n;return{c(){(n=me("p")).textContent="Loading ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function _o(e){let n;return{c(){(n=me("p")).textContent="500 Error - Internal Server Error",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function To(e){let n,a,r,i,s,o,t;return{c(){S(n=me("casino-calendar-daily-item"),"dailybackground",a=e[11].dailyBackground),S(n,"dailyicon",r=e[11].dailyIcon),S(n,"dailyday",i=e[11].dailyDay),S(n,"dailydescription",s=e[11].dailyDescription),S(n,"dailybuttontitle",o=e[11].dailyButtonTitle),S(n,"index",t=e[13]),S(n,"lang",e[0])},m(e,t){ue(e,n,t)},p(e,t){2&t&&a!==(a=e[11].dailyBackground)&&S(n,"dailybackground",a),2&t&&r!==(r=e[11].dailyIcon)&&S(n,"dailyicon",r),2&t&&i!==(i=e[11].dailyDay)&&S(n,"dailyday",i),2&t&&s!==(s=e[11].dailyDescription)&&S(n,"dailydescription",s),2&t&&o!==(o=e[11].dailyButtonTitle)&&S(n,"dailybuttontitle",o),1&t&&S(n,"lang",e[0])},d(e){e&&he(n)}}}function Fo(e){let n;function a(e){return e[4]?_o:e[3]?ko:e[1]?.length?So:void 0}let r=a(e),i=r&&r(e);return{c(){i&&i.c(),n=l(),this.c=z},m(e,t){i&&i.m(e,t),ue(e,n,t)},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.parentNode,n)))},i:z,o:z,d(e){i&&i.d(e),e&&he(n)}}}function Mo(e,t,n){let a,{cmsendpoint:r=""}=t,{lang:i="en"}=t,s=0,o=!0,l=!1,c=!1,d=window.navigator.userAgent;const u=e=>{e.data&&"OpenCalendarModal"==e.data.type&&(n(2,s=e.data.index),window.postMessage({type:"DailyEventsData",data:null==(e=a[s])?void 0:e.dailyEvents}))};return lt(()=>(window.addEventListener("message",u,!1),it(d)&&n(5,c=!0),()=>{window.removeEventListener("message",u)})),e.$$set=e=>{"cmsendpoint"in e&&n(6,r=e.cmsendpoint),"lang"in e&&n(0,i=e.lang)},e.$$.update=()=>{65&e.$$.dirty&&r&&i&&fetch(`${r}/${i}/daily-calendar/`).then(e=>e.json()).then(e=>{n(1,a=e)}).catch(e=>{console.log(e),n(4,l=!0)}).finally(()=>{n(3,o=!1)})},[i,a,s,o,l,c,r]}function Lo(e,t,n){const a=e.slice();return a[135]=t[n],a[137]=n,a}function Eo(e){let n,a,r,i,s,o,l,c="PC"!==st(e[78])&&"false"===e[13],d=c&&Po(),u="true"==e[20]&&0==qo&&!e[74]&&Io(e),h=!e[73]&&"false"==e[50]&&Ro(e);function m(e){return e[68]?Bo:e[74]?void 0:Ao}let p=m(e),g=p&&p(e),f=e[70]&&"true"==e[16]&&Ko(e);return{c(){n=me("section"),d&&d.c(),a=ge(),r=me("casino-search"),i=ge(),u&&u.c(),s=ge(),h&&h.c(),o=ge(),g&&g.c(),l=ge(),f&&f.c(),S(r,"endpoint",e[1]),S(r,"datasource",e[2]),S(r,"lang",e[4]),S(r,"clientstyling",e[7]),S(r,"clientstylingurl",e[8]),S(r,"integratedgameframedesktop",e[28]),S(r,"integratedgameframemobile",e[29]),S(r,"translationurl",e[9]),S(r,"showfavorites",e[14]),fe(n,"class","CategoriesLobby"),fe(n,"part","CategoriesLobby"),_(n,"max-width",e[15]+"px")},m(e,t){ue(e,n,t),d&&d.m(n,null),de(n,a),de(n,r),de(n,i),u&&u.m(n,null),de(n,s),h&&h.m(n,null),de(n,o),g&&g.m(n,null),de(n,l),f&&f.m(n,null)},p(e,t){(c=8192&t[0]?"PC"!==st(e[78])&&"false"===e[13]:c)?d||((d=Po()).c(),d.m(n,a)):d&&(d.d(1),d=null),2&t[0]&&S(r,"endpoint",e[1]),4&t[0]&&S(r,"datasource",e[2]),16&t[0]&&S(r,"lang",e[4]),128&t[0]&&S(r,"clientstyling",e[7]),256&t[0]&&S(r,"clientstylingurl",e[8]),268435456&t[0]&&S(r,"integratedgameframedesktop",e[28]),536870912&t[0]&&S(r,"integratedgameframemobile",e[29]),512&t[0]&&S(r,"translationurl",e[9]),16384&t[0]&&S(r,"showfavorites",e[14]),"true"!=e[20]||0!=qo||e[74]?u&&(u.d(1),u=null):u?u.p(e,t):((u=Io(e)).c(),u.m(n,s)),e[73]||"false"!=e[50]?h&&(h.d(1),h=null):h?h.p(e,t):((h=Ro(e)).c(),h.m(n,o)),p===(p=m(e))&&g?g.p(e,t):(g&&g.d(1),(g=p&&p(e))&&(g.c(),g.m(n,l))),e[70]&&"true"==e[16]?f?f.p(e,t):((f=Ko(e)).c(),f.m(n,null)):f&&(f.d(1),f=null),32768&t[0]&&_(n,"max-width",e[15]+"px")},d(e){e&&he(n),d&&d.d(),u&&u.d(),h&&h.d(),g&&g.d(),f&&f.d()}}}function Go(e){let n,a,r=e[77]("casinoPage.500")+"";return{c(){n=me("p"),a=pe(r),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){32768&t[2]&&r!==(r=e[77]("casinoPage.500")+"")&&ye(a,r)},d(e){e&&he(n)}}}function Po(){let n;return{c(){fe(n=me("div"),"class","SearchBarPlaceholder"),fe(n,"part","SearchBarPlaceholder")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function Io(e){let n;return{c(){S(n=me("casino-random-game"),"datasource",e[2]),S(n,"filteredrandomgamecategories",e[21]),S(n,"endpoint",e[1]),S(n,"lang",e[4]),S(n,"gameevent",e[67]),S(n,"randombuttonicon",e[63]),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&S(n,"datasource",e[2]),2097152&t[0]&&S(n,"filteredrandomgamecategories",e[21]),2&t[0]&&S(n,"endpoint",e[1]),16&t[0]&&S(n,"lang",e[4]),32&t[2]&&S(n,"gameevent",e[67]),2&t[2]&&S(n,"randombuttonicon",e[63]),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8])},d(e){e&&he(n)}}}function Ro(n){let a,r,i,s,o,l,c,d,u,h,m,p,g,f,y,b,v,w,x=n[77]("casinoPage.filters")+"",$=n[76]&&Do(n);return{c(){a=me("div"),$&&$.c(),r=ge(),i=me("div"),s=me("div"),o=pe(x),l=ge(),c=me("div"),d=j("svg"),u=j("defs"),h=j("style"),m=pe(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),p=j("path"),g=ge(),f=me("div"),y=me("span"),b=pe(n[76]),fe(s,"class","FilterButton"),fe(s,"part","FilterButton"),fe(p,"class","a"),fe(p,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),fe(p,"transform","translate(-5 -6.2)"),fe(d,"xmlns","http://www.w3.org/2000/svg"),fe(d,"width","20"),fe(d,"height","20"),fe(d,"viewBox","0 0 26 26"),fe(y,"class","NumberOfFilters"),fe(y,"part","NumberOfFilters"),fe(f,"class","NumberOfFiltersContainer"),fe(f,"part","NumberOfFiltersContainer"),fe(c,"class","FilterIconContainer"),fe(c,"part","FilterIconContainer"),fe(i,"class","FilterButtonWrapper"),fe(i,"part","FilterButtonWrapper"),fe(a,"class","FiltersButtonsContainer"),fe(a,"part","FiltersButtonsContainer")},m(e,t){ue(e,a,t),$&&$.m(a,null),de(a,r),de(a,i),de(i,s),de(s,o),de(i,l),de(i,c),de(c,d),de(d,u),de(u,h),de(h,m),de(d,p),de(c,g),de(c,f),de(f,y),de(y,b),v||(w=V(i,"click",n[86]),v=!0)},p(e,t){e[76]?$?$.p(e,t):(($=Do(e)).c(),$.m(a,r)):$&&($.d(1),$=null),32768&t[2]&&x!==(x=e[77]("casinoPage.filters")+"")&&ye(o,x),16384&t[2]&&ye(b,e[76])},d(e){e&&he(a),$&&$.d(),v=!1,w()}}}function Do(n){let a,r,i,s,o,l,c,d=n[77]("casinoPage.clear")+"";return{c(){a=me("div"),r=me("div"),i=pe(d),s=ge(),(o=me("span")).innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',fe(o,"class","ClearIcon"),fe(o,"part","ClearIcon"),fe(r,"class","ClearButton"),fe(r,"part","ClearButton"),fe(a,"class","ClearFilterButtonWrapper"),fe(a,"part","ClearFilterButtonWrapper")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,s),de(r,o),l||(c=V(a,"click",n[85]),l=!0)},p(e,t){32768&t[2]&&d!==(d=e[77]("casinoPage.clear")+"")&&ye(i,d)},d(e){e&&he(a),l=!1,c()}}}function Ao(e){let n;function a(e){return e[73]?Ho:e[72]?No:Oo}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&&he(n)}}}function Bo(e){let n,a,r=e[77]("casinoPage.loading")+"";return{c(){n=me("p"),a=pe(r),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){32768&t[2]&&r!==(r=e[77]("casinoPage.loading")+"")&&ye(a,r)},d(e){e&&he(n)}}}function Oo(e){let n;return{c(){S(n=me("casino-games-category-section"),"userid",e[6]),S(n,"endpoint",e[1]),S(n,"datasource",e[2]),S(n,"favorites",e[14]),S(n,"lang",e[4]),S(n,"currency",e[3]),S(n,"session",e[5]),S(n,"categoryid",e[65]),S(n,"categorygames","9"),S(n,"class","CategoryContainer"),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8]),S(n,"livecasino",e[19]),S(n,"visiblegames",e[12]),S(n,"gamepagemodalurl",e[22]),S(n,"integratedgameframedesktop",e[28]),S(n,"integratedgameframemobile",e[29]),S(n,"casinomygames",e[0]),S(n,"filterbylogo",e[52]),S(n,"addfilterselector",e[50]),S(n,"addsortingselector",e[51])},m(e,t){ue(e,n,t)},p(e,t){64&t[0]&&S(n,"userid",e[6]),2&t[0]&&S(n,"endpoint",e[1]),4&t[0]&&S(n,"datasource",e[2]),16384&t[0]&&S(n,"favorites",e[14]),16&t[0]&&S(n,"lang",e[4]),8&t[0]&&S(n,"currency",e[3]),32&t[0]&&S(n,"session",e[5]),8&t[2]&&S(n,"categoryid",e[65]),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8]),524288&t[0]&&S(n,"livecasino",e[19]),4096&t[0]&&S(n,"visiblegames",e[12]),4194304&t[0]&&S(n,"gamepagemodalurl",e[22]),268435456&t[0]&&S(n,"integratedgameframedesktop",e[28]),536870912&t[0]&&S(n,"integratedgameframemobile",e[29]),1&t[0]&&S(n,"casinomygames",e[0]),2097152&t[1]&&S(n,"filterbylogo",e[52]),524288&t[1]&&S(n,"addfilterselector",e[50]),1048576&t[1]&&S(n,"addsortingselector",e[51])},d(e){e&&he(n)}}}function No(e){let n;return{c(){S(n=me("casino-my-games"),"userid",e[6]),S(n,"session",e[5]),S(n,"endpoint",e[1]),S(n,"datasource",e[2]),S(n,"lang",e[4]),S(n,"currency",e[3]),S(n,"favorites",e[14]),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8]),S(n,"livecasino",e[19]),S(n,"visiblegames",e[12]),S(n,"gamepagemodalurl",e[22]),S(n,"integratedgameframedesktop",e[28]),S(n,"integratedgameframemobile",e[29]),S(n,"translationurl",e[9]),S(n,"mostplayed",e[54]),S(n,"lastplayed",e[55]),S(n,"filteredcategories",e[17]),S(n,"activecategory",e[18]),S(n,"lastplayedunique",e[60]),S(n,"categoryindex","0"),S(n,"categoryid","MYGAMES"),S(n,"casinomygames",e[0]),S(n,"lastplayedperiod",e[56]),S(n,"mostplayedperiod",e[57]),S(n,"lastplayedorder",e[58]),S(n,"lastplayedlimit",e[59]),S(n,"mostplayedrounds",e[61])},m(e,t){ue(e,n,t)},p(e,t){64&t[0]&&S(n,"userid",e[6]),32&t[0]&&S(n,"session",e[5]),2&t[0]&&S(n,"endpoint",e[1]),4&t[0]&&S(n,"datasource",e[2]),16&t[0]&&S(n,"lang",e[4]),8&t[0]&&S(n,"currency",e[3]),16384&t[0]&&S(n,"favorites",e[14]),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8]),524288&t[0]&&S(n,"livecasino",e[19]),4096&t[0]&&S(n,"visiblegames",e[12]),4194304&t[0]&&S(n,"gamepagemodalurl",e[22]),268435456&t[0]&&S(n,"integratedgameframedesktop",e[28]),536870912&t[0]&&S(n,"integratedgameframemobile",e[29]),512&t[0]&&S(n,"translationurl",e[9]),8388608&t[1]&&S(n,"mostplayed",e[54]),16777216&t[1]&&S(n,"lastplayed",e[55]),131072&t[0]&&S(n,"filteredcategories",e[17]),262144&t[0]&&S(n,"activecategory",e[18]),536870912&t[1]&&S(n,"lastplayedunique",e[60]),1&t[0]&&S(n,"casinomygames",e[0]),33554432&t[1]&&S(n,"lastplayedperiod",e[56]),67108864&t[1]&&S(n,"mostplayedperiod",e[57]),134217728&t[1]&&S(n,"lastplayedorder",e[58]),268435456&t[1]&&S(n,"lastplayedlimit",e[59]),1073741824&t[1]&&S(n,"mostplayedrounds",e[61])},d(e){e&&he(n)}}}function Ho(t){let r,i=t[75],s=[];for(let e=0;e<i.length;e+=1)s[e]=Zo(Lo(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(2143837695&n[0]|8388607&n[1]|8193&n[2]){let e;for(i=t[75],e=0;e<i.length;e+=1){var a=Lo(t,i,e);s[e]?s[e].p(a,n):(s[e]=Zo(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){H(s,e),e&&he(r)}}}function jo(e){let n,a;return{c(){n=me("div"),S(a=me("casino-winners"),"session",e[5]),S(a,"userid",e[6]),S(a,"periodrecent",e[30]),S(a,"periodtop",e[31]),S(a,"numberusersrecent",e[32]),S(a,"numberuserstop",e[33]),S(a,"amountlimit",e[34]),S(a,"isrecentavailable",e[27]),S(a,"istopavailable",e[26]),S(a,"defaultcurrency",e[35]),S(a,"usercurrency",e[3]),S(a,"enableautoscroll",e[25]),S(a,"tabsorder",e[24]),S(a,"lang",e[4]),S(a,"clientstyling",e[7]),S(a,"clientstylingurl",e[8]),S(a,"endpoint",e[1]),S(a,"winnersdatasources",e[62]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){32&t[0]&&S(a,"session",e[5]),64&t[0]&&S(a,"userid",e[6]),1073741824&t[0]&&S(a,"periodrecent",e[30]),1&t[1]&&S(a,"periodtop",e[31]),2&t[1]&&S(a,"numberusersrecent",e[32]),4&t[1]&&S(a,"numberuserstop",e[33]),8&t[1]&&S(a,"amountlimit",e[34]),134217728&t[0]&&S(a,"isrecentavailable",e[27]),67108864&t[0]&&S(a,"istopavailable",e[26]),16&t[1]&&S(a,"defaultcurrency",e[35]),8&t[0]&&S(a,"usercurrency",e[3]),33554432&t[0]&&S(a,"enableautoscroll",e[25]),16777216&t[0]&&S(a,"tabsorder",e[24]),16&t[0]&&S(a,"lang",e[4]),128&t[0]&&S(a,"clientstyling",e[7]),256&t[0]&&S(a,"clientstylingurl",e[8]),2&t[0]&&S(a,"endpoint",e[1]),1&t[2]&&S(a,"winnersdatasources",e[62])},d(e){e&&he(n)}}}function Uo(e){let n,a,r;return{c(){n=me("br"),a=ge(),S(r=me("casino-calendar"),"cmsendpoint",e[10]),S(r,"lang",e[4])},m(e,t){ue(e,n,t),ue(e,a,t),ue(e,r,t)},p(e,t){1024&t[0]&&S(r,"cmsendpoint",e[10]),16&t[0]&&S(r,"lang",e[4])},d(e){e&&he(n),e&&he(a),e&&he(r)}}}function Wo(e){let n,a,r,i;return{c(){n=me("br"),a=ge(),S(r=me("jackpot-banner"),"title","Jackpot Cards"),S(r,"currency",i=e[3]||"RON"),S(r,"gameid","999"),S(r,"endpoint",e[1]),S(r,"lang",e[4]),S(r,"backgroundsrc","/assets/background0.jpg"),S(r,"backgroundsrcmobile","/assets/background0.jpg"),S(r,"titlelogopath","/assets/jackpots_logo.svg"),S(r,"caticon0","/assets/icon0.svg"),S(r,"caticon1","/assets/icon1.svg"),S(r,"caticon2","/assets/icon2.svg"),S(r,"caticon3","/assets/icon3.svg"),S(r,"iconlabels",e[44]),S(r,"visualstructure","typeSpread"),S(r,"clientstyling",e[7]),S(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")&&S(r,"currency",i),2&t[0]&&S(r,"endpoint",e[1]),16&t[0]&&S(r,"lang",e[4]),8192&t[1]&&S(r,"iconlabels",e[44]),128&t[0]&&S(r,"clientstyling",e[7]),256&t[0]&&S(r,"clientstylingurl",e[8])},d(e){e&&he(n),e&&he(a),e&&he(r)}}}function zo(e){let n,a,r,i;return{c(){n=me("br"),a=ge(),S(r=me("jackpot-banner"),"title","Egypt Quest"),S(r,"currency",i=e[3]||"RON"),S(r,"gameid","998"),S(r,"endpoint",e[1]),S(r,"lang",e[4]),S(r,"backgroundsrc",e[41]),S(r,"backgroundsrcmobile",e[42]),S(r,"titlelogopath",e[43]),S(r,"caticon0",e[37]),S(r,"caticon1",e[38]),S(r,"caticon2",e[39]),S(r,"caticon3",e[40]),S(r,"iconlabels",e[44]),S(r,"visualstructure",e[45]),S(r,"clientstyling",e[7]),S(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")&&S(r,"currency",i),2&t[0]&&S(r,"endpoint",e[1]),16&t[0]&&S(r,"lang",e[4]),1024&t[1]&&S(r,"backgroundsrc",e[41]),2048&t[1]&&S(r,"backgroundsrcmobile",e[42]),4096&t[1]&&S(r,"titlelogopath",e[43]),64&t[1]&&S(r,"caticon0",e[37]),128&t[1]&&S(r,"caticon1",e[38]),256&t[1]&&S(r,"caticon2",e[39]),512&t[1]&&S(r,"caticon3",e[40]),8192&t[1]&&S(r,"iconlabels",e[44]),16384&t[1]&&S(r,"visualstructure",e[45]),128&t[0]&&S(r,"clientstyling",e[7]),256&t[0]&&S(r,"clientstylingurl",e[8])},d(e){e&&he(n),e&&he(a),e&&he(r)}}}function Yo(e){let n,a;return{c(){S(n=me("casino-collections-providers"),"endpoint",a=e[1].slice(0,-2)),S(n,"datasource",e[2]),S(n,"lang",e[4]),S(n,"type","vendor"),S(n,"titletype","logo"),S(n,"collectionprovidersgamenames",e[49]),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&a!==(a=e[1].slice(0,-2))&&S(n,"endpoint",a),4&t[0]&&S(n,"datasource",e[2]),16&t[0]&&S(n,"lang",e[4]),262144&t[1]&&S(n,"collectionprovidersgamenames",e[49]),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8])},d(e){e&&he(n)}}}function Vo(e){let n,a;return{c(){S(n=me("casino-collections-providers"),"endpoint",a=e[1].slice(0,-2)),S(n,"datasource",e[2]),S(n,"lang",e[4]),S(n,"type",e[47]),S(n,"collectionprovidersgamenames",e[49]),S(n,"titletype",e[48]),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&a!==(a=e[1].slice(0,-2))&&S(n,"endpoint",a),4&t[0]&&S(n,"datasource",e[2]),16&t[0]&&S(n,"lang",e[4]),65536&t[1]&&S(n,"type",e[47]),262144&t[1]&&S(n,"collectionprovidersgamenames",e[49]),131072&t[1]&&S(n,"titletype",e[48]),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8])},d(e){e&&he(n)}}}function Zo(n){let a,r,i,s,o,l,c,d,u,h,e,m,p,g,f=n[23]&&n[137]==+n[23]&&jo(n),y=n[53]&&n[137]==+n[53]&&Uo(n);function b(e,t){return 32&t[1]|8192&t[2]&&(i=null),32&t[1]|8192&t[2]&&(s=null),(i=null==i?!(!e[36]||e[137]!=(""==e[36].split(",")[0]?e[75].length:+e[36].split(",")[0])):i)?zo:(s=null==s?!(!e[36]||e[137]!=(""==e[36].split(",")[1]?e[75].length:+e[36].split(",")[1])):s)?Wo:void 0}let v=b(n,[-1,-1,-1,-1,-1]),w=v&&v(n);function x(e,t){return 32768&t[1]|8192&t[2]&&(l=null),32768&t[1]|8192&t[2]&&(c=null),(l=null==l?!(!e[46]||e[137]!=(""==e[46].split(",")[0]?e[75].length:+e[46].split(",")[0])):l)?Vo:(c=null==c?!(!e[46]||e[137]!=(""==e[46].split(",")[1]?e[75].length:+e[46].split(",")[1])):c)?Yo:void 0}let $=x(n,[-1,-1,-1,-1,-1]),C=$&&$(n);return{c(){f&&f.c(),a=ge(),y&&y.c(),r=ge(),w&&w.c(),o=ge(),C&&C.c(),d=ge(),S(u=me("casino-games-category-section"),"session",n[5]),S(u,"userid",n[6]),S(u,"endpoint",n[1]),S(u,"datasource",n[2]),S(u,"lang",n[4]),S(u,"currency",n[3]),S(u,"categoryid",h=n[135]),S(u,"categoryindex",e=n[137]),S(u,"categorygames","9"),S(u,"favorites",n[14]),S(u,"class","CategoryContainer"),_(u,"background-color",n[137]%2!=0?n[11]:"transparent"),S(u,"clientstyling",n[7]),S(u,"clientstylingurl",n[8]),S(u,"livecasino",n[19]),S(u,"visiblegames",n[12]),S(u,"gamepagemodalurl",n[22]),S(u,"integratedgameframedesktop",n[28]),S(u,"integratedgameframemobile",n[29]),S(u,"casinomygames",n[0]),S(u,"filterbylogo",n[52]),S(u,"addfilterselector",n[50]),S(u,"addsortingselector",n[51])},m(e,t){f&&f.m(e,t),ue(e,a,t),y&&y.m(e,t),ue(e,r,t),w&&w.m(e,t),ue(e,o,t),C&&C.m(e,t),ue(e,d,t),ue(e,u,t),p||(g=T(m=n[81].call(null,u,n[135])),p=!0)},p(e,t){(n=e)[23]&&n[137]==+n[23]?f?f.p(n,t):((f=jo(n)).c(),f.m(a.parentNode,a)):f&&(f.d(1),f=null),n[53]&&n[137]==+n[53]?y?y.p(n,t):((y=Uo(n)).c(),y.m(r.parentNode,r)):y&&(y.d(1),y=null),v===(v=b(n,t))&&w?w.p(n,t):(w&&w.d(1),(w=v&&v(n))&&(w.c(),w.m(o.parentNode,o))),$===($=x(n,t))&&C?C.p(n,t):(C&&C.d(1),(C=$&&$(n))&&(C.c(),C.m(d.parentNode,d))),32&t[0]&&S(u,"session",n[5]),64&t[0]&&S(u,"userid",n[6]),2&t[0]&&S(u,"endpoint",n[1]),4&t[0]&&S(u,"datasource",n[2]),16&t[0]&&S(u,"lang",n[4]),8&t[0]&&S(u,"currency",n[3]),8192&t[2]&&h!==(h=n[135])&&S(u,"categoryid",h),16384&t[0]&&S(u,"favorites",n[14]),2048&t[0]&&_(u,"background-color",n[137]%2!=0?n[11]:"transparent"),128&t[0]&&S(u,"clientstyling",n[7]),256&t[0]&&S(u,"clientstylingurl",n[8]),524288&t[0]&&S(u,"livecasino",n[19]),4096&t[0]&&S(u,"visiblegames",n[12]),4194304&t[0]&&S(u,"gamepagemodalurl",n[22]),268435456&t[0]&&S(u,"integratedgameframedesktop",n[28]),536870912&t[0]&&S(u,"integratedgameframemobile",n[29]),1&t[0]&&S(u,"casinomygames",n[0]),2097152&t[1]&&S(u,"filterbylogo",n[52]),524288&t[1]&&S(u,"addfilterselector",n[50]),1048576&t[1]&&S(u,"addsortingselector",n[51]),m&&k(m.update)&&8192&t[2]&&m.update.call(null,n[135])},d(e){f&&f.d(e),e&&he(a),y&&y.d(e),e&&he(r),w&&w.d(e),e&&he(o),C&&C.d(e),e&&he(d),e&&he(u),p=!1,g()}}}function Ko(n){let a,r,i,e,t,s,o,l=n[77]("casinoPage.breakButton")+"";return{c(){a=me("div"),r=me("button"),i=pe(l),fe(r,"class",e="PanicButton "+("PC"!==st(n[78])?"PanicButtonMobile ":"")),fe(r,"part",t="PanicButton "+("PC"!==st(n[78])?"PanicButtonMobile":"")),h(r,"PanicButtonAnimation",n[71]),fe(a,"class",s="PanicSection "+("PC"!==st(n[78])?"PanicSectionMobile":"")),fe(a,"part",o="PanicSection "+("PC"!==st(n[78])?"PanicSectionMobile":""))},m(e,t){ue(e,a,t),de(a,r),de(r,i),n[87](r)},p(e,t){32768&t[2]&&l!==(l=e[77]("casinoPage.breakButton")+"")&&ye(i,l),512&t[2]&&h(r,"PanicButtonAnimation",e[71])},d(e){e&&he(a),n[87](null)}}}function Xo(n){let a;function r(e){return e[69]?Go:Eo}let i=r(n),s=i(n);return{c(){a=me("div"),s.c(),this.c=z},m(e,t){ue(e,a,t),s.m(a,null),n[88](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:z,o:z,d(e){e&&he(a),s.d(),n[88](null)}}}customElements.get("casino-search")||customElements.define("casino-search",class extends r{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}.CasinoSearch{margin:30px 16px}.Search{display:flex;align-items:center;position:relative;margin-bottom:20px}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.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:65px;cursor:pointer}.SearchCancelButton{color:#717171;font-weight:300;margin-left:8px;cursor:pointer}.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}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop.CasinoSearch{margin:30px 16px}.Desktop .Search{display:flex;align-items:center;justify-content:center}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchInput{width:50%;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03);margin-left:20px}.Desktop .SearchAnimation{width:60%;outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}</style>',a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ao,no,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()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}</style>',a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},oo,so,t,{duration:0,session:9,userid:10,clientstyling:11,clientstylingurl:12,endpoint:13,haspanicbutton:1,gamepagemodalurl:14,sessioncheck:15,integratedgameframedesktop:16},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["duration","session","userid","clientstyling","clientstylingurl","endpoint","haspanicbutton","gamepagemodalurl","sessioncheck","integratedgameframedesktop"]}get duration(){return this.$$.ctx[0]}set duration(e){this.$$set({duration:e}),f()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[10]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),f()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get sessioncheck(){return this.$$.ctx[15]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[16]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}}),customElements.get("casino-calendar-daily-details")||customElements.define("casino-calendar-daily-details",class extends r{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}#CollapseMoreInfoButton{-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s;-webkit-transition:height 0.5s;transition:height 0.5s;height:0;overflow:hidden}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:15px 0;border-radius:0 0 5px 5px;border:none;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C)}.IconDown{width:18px;height:18px;margin-left:10px;transform:rotate(0deg)}.IconUp{width:18px;height:18px;margin-left:10px;transform:rotate(180deg)}.CasinoCalendarDailyDetailsBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;background:var(--emfe-w-color-white, #FFFFFF);width:500px;max-height:50vw;padding:20px;text-align:center;margin-bottom:50px;overflow:scroll}.CasinoCalendarDailyDetailsParent{display:flex;justify-content:flex-start;align-items:center;flex-direction:column;max-width:376px}.CasinoCalendarDailyDay{padding:10px 0 40px 0;font-size:22px;text-transform:uppercase;width:100%;color:var(--emfe-w-color-primary, #D0046C)}.CasinoCalendarDailyTitle{padding:15px 0 20px 0;font-size:18px;text-transform:capitalize;width:100%;color:var(--emfe-w-color-primary, #D0046C)}.CasinoCalendarImage{background:var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px 5px 0 0}.CasinoCalendarImage img{max-width:376px;max-height:250px;border-radius:5px 5px 0 0}.CasinoCalendarDailyDescription{width:100%;padding:25px 15px;font-size:14px;font-weight:600;color:var(--emfe-w-gray-300, #58586B);font-weight:400;border-radius:0;background:linear-gradient(180deg, var(--emfe-w-color-white, #FFFFFF) 55%, var(--emfe-w-color-gray-100, #E6E6E6))}.DetailTabsDescription{margin-top:15px}.CasinoCalendarTabs{width:100%;font-size:14px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;align-content:stretch;padding-bottom:40px}.CasinoCalendarFitImage{border-radius:5px}.NotVisible{display:none}.Header{display:flex;justify-content:center;justify-items:center;margin-bottom:4px;padding:0 10px}.HeaderButton{min-height:48px;margin:0;border:none;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-gray-150, #828282)}.SelectedTab{box-shadow:none;border-bottom:2px solid var(--emfe-w-color-primary, #D0046C)}.Mobile{max-height:70vh;margin-bottom:0}</style>',a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},wo,vo,t,{dailybackground:9,dailybuttontitle:0,dailyday:1,dailydescription:10,dailyicon:11,dailytitle:12,lang:13,clientstyling:14,clientstylingurl:15,translationUrl:16},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["dailybackground","dailybuttontitle","dailyday","dailydescription","dailyicon","dailytitle","lang","clientstyling","clientstylingurl","translationUrl"]}get dailybackground(){return this.$$.ctx[9]}set dailybackground(e){this.$$set({dailybackground:e}),f()}get dailybuttontitle(){return this.$$.ctx[0]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),f()}get dailyday(){return this.$$.ctx[1]}set dailyday(e){this.$$set({dailyday:e}),f()}get dailydescription(){return this.$$.ctx[10]}set dailydescription(e){this.$$set({dailydescription:e}),f()}get dailyicon(){return this.$$.ctx[11]}set dailyicon(e){this.$$set({dailyicon:e}),f()}get dailytitle(){return this.$$.ctx[12]}set dailytitle(e){this.$$set({dailytitle:e}),f()}get lang(){return this.$$.ctx[13]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationUrl(){return this.$$.ctx[16]}set translationUrl(e){this.$$set({translationUrl:e}),f()}}),customElements.get("casino-calendar-daily-item")||customElements.define("casino-calendar-daily-item",class extends r{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}.Container{display:flex;overflow-x:scroll;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:linear-gradient(#e2e2e2, #b5b5b5);border-radius:4px 4px 0 0;border-bottom:3px solid #888;display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 16px;text-align:center;border-radius:0 0 2px 2px;color:#fff;position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:#fff;position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-gray-300, #58586B);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:72px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:80%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;font-size:12px;padding:10px 6px;border-radius:5px;border:none;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C)}</style>',a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},$o,xo,t,{cmsendpoint:9,lang:10,dailybackground:0,dailyicon:1,dailyday:2,dailydescription:11,dailybuttontitle:3,index:4,clientstyling:12,clientstylingurl:13},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["cmsendpoint","lang","dailybackground","dailyicon","dailyday","dailydescription","dailybuttontitle","index","clientstyling","clientstylingurl"]}get cmsendpoint(){return this.$$.ctx[9]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),f()}get lang(){return this.$$.ctx[10]}set lang(e){this.$$set({lang:e}),f()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(e){this.$$set({dailybackground:e}),f()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(e){this.$$set({dailyicon:e}),f()}get dailyday(){return this.$$.ctx[2]}set dailyday(e){this.$$set({dailyday:e}),f()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(e){this.$$set({dailydescription:e}),f()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),f()}get index(){return this.$$.ctx[4]}set index(e){this.$$set({index:e}),f()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}}),customElements.get("casino-calendar")||customElements.define("casino-calendar",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>.CasinoCalendarItem{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:flex-start;text-align:left;gap:10px}.Mobile{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}</style>",a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Mo,Fo,t,{cmsendpoint:6,lang:0},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["cmsendpoint","lang"]}get cmsendpoint(){return this.$$.ctx[6]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),f()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),f()}});let qo=!1;function Jo(e,t,l){let D;ot(e,za,e=>l(77,D=e));let A,{endpoint:c=""}=t,{datasource:n=""}=t,{currency:B=""}=t,{lang:r=""}=t,{session:i=""}=t,{userid:s=""}=t,{clientstyling:o=""}=t,{clientstylingurl:d=""}=t,{translationurl:u=""}=t,{cmsendpoint:O=""}=t,{categorybackground:N=""}=t,H=t["visiblegames"],{alternativesearch:j="false"}=t,{favorites:h=""}=t,{containermaxwidth:U="1300"}=t,{lobbyid:W="casinodefault"}=t,{haspanicbutton:z="false"}=t,{filteredcategories:m=""}=t,{activecategory:p=""}=t,{livecasino:Y="false"}=t,{playrandomgame:V="false"}=t,{filteredrandomgamecategories:Z=""}=t,{gamepagemodalurl:K="false"}=t,{positionwinnerswidget:X=""}=t,{tabsorder:q=""}=t,{enableautoscroll:J=""}=t,{istopavailable:Q=""}=t,{isrecentavailable:ee=""}=t,{integratedgameframedesktop:te="false"}=t,{integratedgameframemobile:ne="false"}=t,{periodrecent:ae=""}=t,{periodtop:re=""}=t,{numberusersrecent:ie=""}=t,{numberuserstop:se=""}=t,{amountlimit:oe=""}=t,{defaultcurrency:le=""}=t,{showsubgroups:ce=""}=t,{positionjackpotbanners:de=""}=t,{caticon0:ue=""}=t,{caticon1:he=""}=t,{caticon2:me=""}=t,{caticon3:pe=""}=t,{backgroundsrc:ge=""}=t,{backgroundsrcmobile:fe=""}=t,{titlelogopath:ye=""}=t,{iconlabels:be=""}=t,{visualstructure:ve=""}=t,{positioncollections:we=""}=t,{type:xe=""}=t,{titletype:$e=""}=t,{collectionprovidersgamenames:Ce=""}=t,{addfilterselector:Se="false"}=t,{addsortingselector:ke="false"}=t,{filterbylogo:_e=""}=t,{positioncasinocalendar:Te=""}=t,{casinomygames:g="false"}=t,{mostplayed:Fe=""}=t,{lastplayed:Me=""}=t,{lastplayedperiod:Le="Last30Days"}=t,{mostplayedperiod:Ee="Last30Days"}=t,{lastplayedorder:Ge=""}=t,{lastplayedlimit:Pe=""}=t,{lastplayedunique:Ie="true"}=t,{mostplayedrounds:Re=""}=t,{winnersdatasources:De=""}=t,{randombuttonicon:Ae=""}=t,Be=window.navigator.userAgent;A=it(Be)?"OpenGameFrame":"ShowGameModal";let f,y,b,Oe,v,w,Ne,He,a,x,$=!1,C=!1,je=!1,S="",k=!1,_=0,T=!1,F=!0,Ue=!1,We=[],M=[],ze=!1,L=[],Ye=0,E="",Ve=!1;var Ze,Ke;({withLocale:Ze,translations:Ke}={withLocale:"en",translations:{}}),rt.subscribe(e=>{null==e&&(Ca.set(Ke),rt.set(Ze))}),Object.keys(Va).forEach(e=>{Ya(e,Va[e])});const Xe=e=>{switch(ze=!0,l(0,g="false"),setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:ze},window.location.href)}),e.data.itemId){case"LOBBY":l(73,F=!0),l(72,T=!1),l(65,v="");break;case"MYGAMES":l(0,g="true"),l(73,F=!1),l(72,T=!0),l(65,v="");break;case"FAVORITES":l(73,F=!1),l(72,T=!0),l(65,v="");break;case"MOSTPLAYED":"true"==Fe&&(l(65,v=""),l(73,F=!1),l(72,T=!0));break;case"LASTPLAYED":"true"==Me&&(l(65,v=""),l(73,F=!1),l(72,T=!0));break;default:l(73,F=!1),l(72,T=!1),l(65,v=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href)},500)}},qe=n=>{if(n.data)switch(n.data.type){case"CategoryChange":Xe(n);break;case"UserSessionID":y=n.data.session,(f=n.data.userID)&&f.length&&y&&0<y.length&&G(c,y,f);break;case"SetUnfavoredGame":t=`${c}/player/${f}/favorites`,s=y,f,o=n.data.id,L.includes(o)&&(L=L.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),Je(t,s)});break;case"SetFavoredGame":{var a=`${c}/player/${f}/favorites`;var r=y;f;var i=n.data.id;L.includes(i)||L.push(i);let e={items:L},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),Je(a,r)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":f&&f.length&&y&&0<y.length&&G(c,y,f);break;case"UpdateFilters":e=n.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:e},window.location.href),P();break;case"ClearFilters":e=n.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:e},window.location.href),P();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:E,origin:n.data.origin},window.location.href),P();break;case"CategoryVendors":E=n.data.categoryid,P();break;case"searchCancelled":l(74,Ue=!1),v&&Xe({data:{itemId:v}});break;case"searchActive":l(74,Ue=!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 G=(e,t,n)=>{"true"==h&&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),tt(a.items)),a)).then(e=>e).catch(e=>{console.error(e)})},Je=(e,t)=>{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 Qe=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},et=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},tt=(e=[])=>(L=[],0<e.length&&e.forEach(e=>{L.push(e.id)}),L);const P=()=>{var e=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));e&&E&&(e[E]?l(76,Ye=e[E].length):l(76,Ye=0))},nt=()=>{w&&(Ne=w.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop},I=e=>{_=0,Oe=setInterval(()=>{_+=1,l(71,k=!0),3<=_&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(Oe))},1e3)},R=e=>{_<3&&l(71,k=!1),clearInterval(Oe)};return lt(()=>(window.addEventListener("scroll",nt,!1),window.addEventListener("message",qe,!1),()=>{window.removeEventListener("scroll",nt),window.removeEventListener("message",qe),l(71,k=!1),null!=b&&b.removeEventListener("mousedown",I),null!=b&&b.removeEventListener("touchstart",I),null!=b&&b.removeEventListener("mouseup",R),null!=b&&b.removeEventListener("touchend",R)})),e.$$set=e=>{"endpoint"in e&&l(1,c=e.endpoint),"datasource"in e&&l(2,n=e.datasource),"currency"in e&&l(3,B=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),"cmsendpoint"in e&&l(10,O=e.cmsendpoint),"categorybackground"in e&&l(11,N=e.categorybackground),"visiblegames"in e&&l(12,H=e.visiblegames),"alternativesearch"in e&&l(13,j=e.alternativesearch),"favorites"in e&&l(14,h=e.favorites),"containermaxwidth"in e&&l(15,U=e.containermaxwidth),"lobbyid"in e&&l(82,W=e.lobbyid),"haspanicbutton"in e&&l(16,z=e.haspanicbutton),"filteredcategories"in e&&l(17,m=e.filteredcategories),"activecategory"in e&&l(18,p=e.activecategory),"livecasino"in e&&l(19,Y=e.livecasino),"playrandomgame"in e&&l(20,V=e.playrandomgame),"filteredrandomgamecategories"in e&&l(21,Z=e.filteredrandomgamecategories),"gamepagemodalurl"in e&&l(22,K=e.gamepagemodalurl),"positionwinnerswidget"in e&&l(23,X=e.positionwinnerswidget),"tabsorder"in e&&l(24,q=e.tabsorder),"enableautoscroll"in e&&l(25,J=e.enableautoscroll),"istopavailable"in e&&l(26,Q=e.istopavailable),"isrecentavailable"in e&&l(27,ee=e.isrecentavailable),"integratedgameframedesktop"in e&&l(28,te=e.integratedgameframedesktop),"integratedgameframemobile"in e&&l(29,ne=e.integratedgameframemobile),"periodrecent"in e&&l(30,ae=e.periodrecent),"periodtop"in e&&l(31,re=e.periodtop),"numberusersrecent"in e&&l(32,ie=e.numberusersrecent),"numberuserstop"in e&&l(33,se=e.numberuserstop),"amountlimit"in e&&l(34,oe=e.amountlimit),"defaultcurrency"in e&&l(35,le=e.defaultcurrency),"showsubgroups"in e&&l(83,ce=e.showsubgroups),"positionjackpotbanners"in e&&l(36,de=e.positionjackpotbanners),"caticon0"in e&&l(37,ue=e.caticon0),"caticon1"in e&&l(38,he=e.caticon1),"caticon2"in e&&l(39,me=e.caticon2),"caticon3"in e&&l(40,pe=e.caticon3),"backgroundsrc"in e&&l(41,ge=e.backgroundsrc),"backgroundsrcmobile"in e&&l(42,fe=e.backgroundsrcmobile),"titlelogopath"in e&&l(43,ye=e.titlelogopath),"iconlabels"in e&&l(44,be=e.iconlabels),"visualstructure"in e&&l(45,ve=e.visualstructure),"positioncollections"in e&&l(46,we=e.positioncollections),"type"in e&&l(47,xe=e.type),"titletype"in e&&l(48,$e=e.titletype),"collectionprovidersgamenames"in e&&l(49,Ce=e.collectionprovidersgamenames),"addfilterselector"in e&&l(50,Se=e.addfilterselector),"addsortingselector"in e&&l(51,ke=e.addsortingselector),"filterbylogo"in e&&l(52,_e=e.filterbylogo),"positioncasinocalendar"in e&&l(53,Te=e.positioncasinocalendar),"casinomygames"in e&&l(0,g=e.casinomygames),"mostplayed"in e&&l(54,Fe=e.mostplayed),"lastplayed"in e&&l(55,Me=e.lastplayed),"lastplayedperiod"in e&&l(56,Le=e.lastplayedperiod),"mostplayedperiod"in e&&l(57,Ee=e.mostplayedperiod),"lastplayedorder"in e&&l(58,Ge=e.lastplayedorder),"lastplayedlimit"in e&&l(59,Pe=e.lastplayedlimit),"lastplayedunique"in e&&l(60,Ie=e.lastplayedunique),"mostplayedrounds"in e&&l(61,Re=e.mostplayedrounds),"winnersdatasources"in e&&l(62,De=e.winnersdatasources),"randombuttonicon"in e&&l(63,Ae=e.randombuttonicon)},e.$$.update=()=>{var a,t;if((262160&e.$$.dirty[0]&&r&&p&&(l(65,v=p),Xe({data:{itemId:v}})),98&e.$$.dirty[0]&&i&&s&&c&&(l(70,je=!0),y=i,(f=s)&&f.length&&y&&0<y.length&&"true"!=g&&G(c,y,f)),4194312&e.$$.dirty[2]&&v&&M&&M&&!M.includes(decodeURI(v))&&""!=v&&window.postMessage({type:"NonExistentCategory"},window.location.href),8214&e.$$.dirty[0]&&c&&n&&r&&j)&&(c||(S="Endpoint is missing! Please provide a valid endpointURL.",l(69,C=!0),l(68,$=!1),console.error(S)),n||(S="Datasource is missing! Please provide a valid datasource.",l(69,C=!0),l(68,$=!1),console.error(S)),(!r||r.length<2)&&(S="Language is missing! Please provide a valid language (alpha2code)",l(69,C=!0),l(68,$=!1),console.error(S)),!C)){l(68,$=!0),"true"==h&&G(c,y,f),t=r,rt.set(t);let e=new URL(c+"/casino/groups/"+n);e.searchParams.append("language",r),e.searchParams.append("platform",st(Be)),a=e,new Promise((t,n)=>{l(68,$=!0),fetch(a).then(e=>e.json()).then(e=>{l(68,$=!1),t(e)}).catch(e=>{l(69,C=!0),l(68,$=!1),console.error(e),n(e)})}).then(e=>{let a=m.split(",");e&&(He=e.items.filter(e=>{let t;if(0<e.games.total&&(t=!0,m))for(var n of a)e.flags==n&&(t=!1);return t}),l(75,We=He.filter(e=>{return!(0<(null==(e=null==e?void 0:e.subGroups)?void 0:e.count)&&"true"==ce)}).map(e=>e.id)),l(84,M=e.items.map(e=>e.id.toString())),l(68,$=!1))}),P(),(w=void 0)&&(Ne=w.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}if(16&e.$$.dirty[0]&&r&&(Ve&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href)},500),Ve=!1),512&e.$$.dirty[0]&&u&&(t=new URL(u),fetch(t.href).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ya(e,t[e])})}).catch(e=>{console.log(e)})),128&e.$$.dirty[0]|16&e.$$.dirty[2]&&o&&x){let e=document.createElement("style");e.innerHTML=o,x.appendChild(e)}if(256&e.$$.dirty[0]|16&e.$$.dirty[2]&&d&&x){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{x.appendChild(t)},1)})}4&e.$$.dirty[2]&&b&&(null!=b&&b.addEventListener("mousedown",I,!1),null!=b&&b.addEventListener("touchstart",I,!1),null!=b&&b.addEventListener("mouseup",R,!1),null!=b&&b.addEventListener("touchend",R,!1))},[g,c,n,B,r,i,s,o,d,u,O,N,H,j,h,U,z,m,p,Y,V,Z,K,X,q,J,Q,ee,te,ne,ae,re,ie,se,oe,le,de,ue,he,me,pe,ge,fe,ye,be,ve,we,xe,$e,Ce,Se,ke,_e,Te,Fe,Me,Le,Ee,Ge,Pe,Ie,Re,De,Ae,b,v,x,A,$,C,je,k,T,F,Ue,We,Ye,D,Be,Qe,et,(e,t)=>{E=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:H,receivedFavoriteResults:a},window.location.href)},W,ce,M,()=>et(),()=>{Qe()},function(e){at[e?"unshift":"push"](()=>{b=e,l(64,b)})},function(e){at[e?"unshift":"push"](()=>{x=e,l(66,x)})}]}class Qo extends r{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}.FiltersButtonsContainer{display:flex;flex:1;grid-gap:20px;flex-direction:row-reverse}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;padding:10px;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:5px;text-transform:uppercase;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.ClearFilterButtonWrapper{border:1px solid var(--emfe-w-color-secondary, #FD2839);color:var(--emfe-w-color-secondary, #FD2839)}.FilterIconContainer,.ClearIcon{position:relative;padding-left:5px}.FilterIconContainer{top:2px}.ClearIcon{position:relative;top:1px}.ClearIcon svg{width:14px}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;justify-content:center;align-items:center}.NumberOfFiltersContainer{display:block;line-height:0px;border-radius:50%;border:2px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);font-size:12px;position:absolute;top:-5px;left:18px}.NumberOfFiltersContainer .NumberOfFilters{display:inline-block;padding-top:50%;padding-bottom:50%;margin-left:3px;margin-right:3px}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{position:relative;width:100%;display:flex;flex-direction:row-reverse;border:1px solid var(--emfe-w-color-white, #FFFFFF);border-radius:0;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{position:absolute;left:40px;top:revert;padding-left:0}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer path{fill:var(--emfe-w-color-primary, #D0046C)}@media screen and (max-width: 1300px){}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{border-radius:5px;border:1px solid var(--emfe-w-color-white, #FFFFFF);background:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper{padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper .ClearIcon{display:none}.ClearFilterMobileButtonWrapper .ClearIcon svg{width:12px}@media(max-width: 768px){}.SearchBarPlaceholder{display:block;width:100%;height:46px}.SearchBarPlaceholder{display:block;width:100%;height:46px}</style>',a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Jo,Xo,t,{endpoint:1,datasource:2,currency:3,lang:4,session:5,userid:6,clientstyling:7,clientstylingurl:8,translationurl:9,cmsendpoint:10,categorybackground:11,visiblegames:12,alternativesearch:13,favorites:14,containermaxwidth:15,lobbyid:82,haspanicbutton:16,filteredcategories:17,activecategory:18,livecasino:19,playrandomgame:20,filteredrandomgamecategories:21,gamepagemodalurl:22,positionwinnerswidget:23,tabsorder:24,enableautoscroll:25,istopavailable:26,isrecentavailable:27,integratedgameframedesktop:28,integratedgameframemobile:29,periodrecent:30,periodtop:31,numberusersrecent:32,numberuserstop:33,amountlimit:34,defaultcurrency:35,showsubgroups:83,positionjackpotbanners:36,caticon0:37,caticon1:38,caticon2:39,caticon3:40,backgroundsrc:41,backgroundsrcmobile:42,titlelogopath:43,iconlabels:44,visualstructure:45,positioncollections:46,type:47,titletype:48,collectionprovidersgamenames:49,addfilterselector:50,addsortingselector:51,filterbylogo:52,positioncasinocalendar:53,casinomygames:0,mostplayed:54,lastplayed:55,lastplayedperiod:56,mostplayedperiod:57,lastplayedorder:58,lastplayedlimit:59,lastplayedunique:60,mostplayedrounds:61,winnersdatasources:62,randombuttonicon:63},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","cmsendpoint","categorybackground","visiblegames","alternativesearch","favorites","containermaxwidth","lobbyid","haspanicbutton","filteredcategories","activecategory","livecasino","playrandomgame","filteredrandomgamecategories","gamepagemodalurl","positionwinnerswidget","tabsorder","enableautoscroll","istopavailable","isrecentavailable","integratedgameframedesktop","integratedgameframemobile","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","showsubgroups","positionjackpotbanners","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","positioncollections","type","titletype","collectionprovidersgamenames","addfilterselector","addsortingselector","filterbylogo","positioncasinocalendar","casinomygames","mostplayed","lastplayed","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayedrounds","winnersdatasources","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 cmsendpoint(){return this.$$.ctx[10]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),f()}get categorybackground(){return this.$$.ctx[11]}set categorybackground(e){this.$$set({categorybackground:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get alternativesearch(){return this.$$.ctx[13]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),f()}get containermaxwidth(){return this.$$.ctx[15]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get lobbyid(){return this.$$.ctx[82]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get haspanicbutton(){return this.$$.ctx[16]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get filteredcategories(){return this.$$.ctx[17]}set filteredcategories(e){this.$$set({filteredcategories:e}),f()}get activecategory(){return this.$$.ctx[18]}set activecategory(e){this.$$set({activecategory:e}),f()}get livecasino(){return this.$$.ctx[19]}set livecasino(e){this.$$set({livecasino:e}),f()}get playrandomgame(){return this.$$.ctx[20]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get filteredrandomgamecategories(){return this.$$.ctx[21]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),f()}get gamepagemodalurl(){return this.$$.ctx[22]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get positionwinnerswidget(){return this.$$.ctx[23]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),f()}get tabsorder(){return this.$$.ctx[24]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[25]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[26]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[27]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[28]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[29]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get periodrecent(){return this.$$.ctx[30]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[31]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[32]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[33]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[34]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get defaultcurrency(){return this.$$.ctx[35]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get showsubgroups(){return this.$$.ctx[83]}set showsubgroups(e){this.$$set({showsubgroups:e}),f()}get positionjackpotbanners(){return this.$$.ctx[36]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),f()}get caticon0(){return this.$$.ctx[37]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[38]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[39]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[40]}set caticon3(e){this.$$set({caticon3:e}),f()}get backgroundsrc(){return this.$$.ctx[41]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[42]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[43]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get iconlabels(){return this.$$.ctx[44]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get visualstructure(){return this.$$.ctx[45]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get positioncollections(){return this.$$.ctx[46]}set positioncollections(e){this.$$set({positioncollections:e}),f()}get type(){return this.$$.ctx[47]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[48]}set titletype(e){this.$$set({titletype:e}),f()}get collectionprovidersgamenames(){return this.$$.ctx[49]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),f()}get addfilterselector(){return this.$$.ctx[50]}set addfilterselector(e){this.$$set({addfilterselector:e}),f()}get addsortingselector(){return this.$$.ctx[51]}set addsortingselector(e){this.$$set({addsortingselector:e}),f()}get filterbylogo(){return this.$$.ctx[52]}set filterbylogo(e){this.$$set({filterbylogo:e}),f()}get positioncasinocalendar(){return this.$$.ctx[53]}set positioncasinocalendar(e){this.$$set({positioncasinocalendar:e}),f()}get casinomygames(){return this.$$.ctx[0]}set casinomygames(e){this.$$set({casinomygames:e}),f()}get mostplayed(){return this.$$.ctx[54]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get lastplayed(){return this.$$.ctx[55]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get lastplayedperiod(){return this.$$.ctx[56]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get mostplayedperiod(){return this.$$.ctx[57]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),f()}get lastplayedorder(){return this.$$.ctx[58]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),f()}get lastplayedlimit(){return this.$$.ctx[59]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),f()}get lastplayedunique(){return this.$$.ctx[60]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),f()}get mostplayedrounds(){return this.$$.ctx[61]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get winnersdatasources(){return this.$$.ctx[62]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),f()}get randombuttonicon(){return this.$$.ctx[63]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}}return customElements.get("casino-page")||customElements.define("casino-page",Qo),Qo});
|
|
32
|
+
`},q,g,y,b,v,$,ne,S,k,_,T,F,M,L,E,G,pe,ge,function(e){at[e?"unshift":"push"](()=>{i=e,s(19,i)})},()=>be(x),()=>ye(x),()=>be(x),function(e){at[e?"unshift":"push"](()=>{p=e,s(14,p)})},function(e){at[e?"unshift":"push"](()=>{o=e,s(11,o)})}]}function Mr(e,t){ka(e,t)}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends r{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>",a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Fr,Cr,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 Lr={en:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},zh:{Translations:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"}},de:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},it:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},fr:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},es:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},tr:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},ru:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},ro:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},hr:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},hu:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},pl:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},pt:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},sl:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},sr:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}}};function Er(e,t,n){const a=e.slice();return a[35]=t[n],a[36]=t,a[37]=n,a}function Gr(n){let a,r,i,s,o,l,c,d,u,h,m,p,g,f,y,b,v,w,e,x,A,$,C,B,S,k,_,T,F,M,O,L=n[11]("Translations.filterby")+"",E=n[11]("Translations.providers")+"",G=n[11]("Translations.clear")+"";function N(e){return e[7]?Rr:Ir}let P=N(n),I=P(n),R=n[5],D=[];for(let e=0;e<R.length;e+=1)D[e]=Br(Er(n,R,e));return{c(){a=me("div"),r=me("div"),i=me("div"),s=j("svg"),o=j("path"),l=ge(),c=me("div"),d=me("span"),u=pe(L),h=ge(),m=me("div"),p=me("span"),g=pe(E),f=ge(),I.c(),y=ge(),b=me("span"),v=j("svg"),w=j("path"),A=ge(),$=me("div"),C=me("ul");for(let e=0;e<D.length;e+=1)D[e].c();B=ge(),S=me("button"),k=pe(G),fe(o,"id","noun_filter_736223"),fe(o,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),fe(o,"transform","translate(-5 -6.2)"),fe(o,"fill","#fff"),fe(s,"xmlns","http://www.w3.org/2000/svg"),fe(s,"width","16"),fe(s,"height","16"),fe(s,"viewBox","0 0 16 16"),fe(d,"class","FilterName"),fe(m,"class","FilterValueContainer"),fe(c,"class","FilterTextContainer"),fe(i,"class","FilterMainArea"),fe(w,"id","arrow"),fe(w,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),fe(w,"transform","translate(-274.511 -441.088)"),fe(w,"fill","#d1d1d1"),fe(v,"xmlns","http://www.w3.org/2000/svg"),fe(v,"width","14"),fe(v,"height","6.835"),fe(v,"viewBox","0 0 14 6.835"),fe(b,"class",e="TriangleInactive "+(n[4]?"TriangleActive":"")),fe(r,"class",x="FilterSelector "+(n[4]?"FilterSelectorOpen":"")),fe(C,"class","FilterDropdown"),fe(S,"class","ClearFilters"),S.disabled=_=n[7]&&n[6].length!=n[5].length,fe($,"class",T="FilterDropdownContainer "+(n[4]?"FilterOpen":"")),fe(a,"class",F="FilterContainer "+("true"==n[0]&&"true"==n[1]?"FilerContainerSplit":""))},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(i,s),de(s,o),de(i,l),de(i,c),de(c,d),de(d,u),de(c,h),de(c,m),de(m,p),de(p,g),de(m,f),I.m(m,null),de(r,y),de(r,b),de(b,v),de(v,w),de(a,A),de(a,$),de($,C);for(let e=0;e<D.length;e+=1)D[e].m(C,null);de($,B),de($,S),de(S,k),M||(O=[V(r,"click",n[22]),V(S,"click",n[25])],M=!0)},p(t,n){if(2048&n[0]&&L!==(L=t[11]("Translations.filterby")+"")&&ye(u,L),2048&n[0]&&E!==(E=t[11]("Translations.providers")+"")&&ye(g,E),P===(P=N(t))&&I?I.p(t,n):(I.d(1),(I=P(t))&&(I.c(),I.m(m,null))),16&n[0]&&e!==(e="TriangleInactive "+(t[4]?"TriangleActive":""))&&fe(b,"class",e),16&n[0]&&x!==(x="FilterSelector "+(t[4]?"FilterSelectorOpen":""))&&fe(r,"class",x),8228&n[0]){let e;for(R=t[5],e=0;e<R.length;e+=1){const r=Er(t,R,e);D[e]?D[e].p(r,n):(D[e]=Br(r),D[e].c(),D[e].m(C,null))}for(;e<D.length;e+=1)D[e].d(1);D.length=R.length}2048&n[0]&&G!==(G=t[11]("Translations.clear")+"")&&ye(k,G),224&n[0]&&_!==(_=t[7]&&t[6].length!=t[5].length)&&(S.disabled=_),16&n[0]&&T!==(T="FilterDropdownContainer "+(t[4]?"FilterOpen":""))&&fe($,"class",T),3&n[0]&&F!==(F="FilterContainer "+("true"==t[0]&&"true"==t[1]?"FilerContainerSplit":""))&&fe(a,"class",F)},d(e){e&&he(a),I.d(),H(D,e),M=!1,Y(O)}}}function Pr(e){let n,a,r=e[11]("casinoPage.500")+"";return{c(){n=me("p"),a=pe(r),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){2048&t[0]&&r!==(r=e[11]("casinoPage.500")+"")&&ye(a,r)},d(e){e&&he(n)}}}function Ir(e){let n,a;return{c(){n=me("span"),a=pe(e[8]),fe(n,"class","FilterCounter")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){256&t[0]&&ye(a,e[8])},d(e){e&&he(n)}}}function Rr(e){let n,a,r=e[11]("Translations.all")+"";return{c(){n=me("span"),a=pe(r),fe(n,"class","FilterCounter")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){2048&t[0]&&r!==(r=e[11]("Translations.all")+"")&&ye(a,r)},d(e){e&&he(n)}}}function Dr(e){let n,a;return{c(){ce((n=me("img")).src,a=e[35].logo)||fe(n,"src",a),fe(n,"alt","vendor logo")},m(e,t){ue(e,n,t)},p(e,t){32&t[0]&&!ce(n.src,a=e[35].logo)&&fe(n,"src",a)},d(e){e&&he(n)}}}function Ar(e){let n,a,r=e[35].name+"";return{c(){n=me("span"),a=pe(r)},m(e,t){ue(e,n,t),de(n,a)},p(e,t){32&t[0]&&r!==(r=e[35].name+"")&&ye(a,r)},d(e){e&&he(n)}}}function Br(n){let a,r,i,s,o,l,c,d,u,h,m,p;function g(){n[23].call(i,n[36],n[37])}function f(){return n[24](n[35])}function y(e){return"false"===e[2]?Ar:"true"===e[2]?Dr:void 0}let b=y(n),v=b&&b(n);return{c(){a=me("li"),r=me("label"),i=me("input"),o=ge(),l=me("span"),c=ge(),v&&v.c(),d=ge(),fe(i,"type","checkbox"),fe(i,"name","checkbox"),i.__value=s=n[35].name,i.value=i.__value,fe(l,"class","FiltersCheckmark"),fe(r,"class","FilterLabel"),fe(a,"class",u="FilterItem "+("true"===n[2]?"FilterItemWithLogos":"")),a.value=h=n[35].name},m(e,t){ue(e,a,t),de(a,r),de(r,i),i.checked=n[35].isFilterSelected,de(r,o),de(r,l),de(r,c),v&&v.m(r,null),de(a,d),m||(p=[V(i,"change",g),V(i,"click",f)],m=!0)},p(e,t){n=e,32&t[0]&&s!==(s=n[35].name)&&(i.__value=s,i.value=i.__value),32&t[0]&&(i.checked=n[35].isFilterSelected),b===(b=y(n))&&v?v.p(n,t):(v&&v.d(1),(v=b&&b(n))&&(v.c(),v.m(r,null))),4&t[0]&&u!==(u="FilterItem "+("true"===n[2]?"FilterItemWithLogos":""))&&fe(a,"class",u),32&t[0]&&h!==(h=n[35].name)&&(a.value=h)},d(e){e&&he(a),v&&v.d(),m=!1,Y(p)}}}function Or(n){let a;function r(e){return e[10]?Pr:e[9]?void 0:Gr}let i=r(n),s=i&&i(n);return{c(){a=me("div"),s&&s.c(),this.c=z},m(e,t){ue(e,a,t),s&&s.m(a,null),n[26](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:z,o:z,d(e){e&&he(a),s&&s.d(),n[26](null)}}}function Nr(n,e,a){let t;ot(n,za,e=>a(11,t=e));let r,{endpoint:i=""}=e,{datasource:s=""}=e,{lang:o=""}=e,{translationurl:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:d=""}=e,{categoryid:u=""}=e,{addfilterselector:h="false"}=e,{addsortingselector:m="false"}=e,{filterbylogo:p="false"}=e,g=!1,f=window.navigator.userAgent,y=[],b=[],v={},w=!1,x=0,$=!0,C=!1;var S,k;({withLocale:S,translations:k}={withLocale:"en",translations:{}}),rt.subscribe(e=>{null==e&&(Ca.set(k),rt.set(S))}),Object.keys(Lr).forEach(e=>{Mr(e,Lr[e])}),v[u]&&(v={[u]:[]});const _=()=>{a(4,g=!g)},T=t=>{let e=localStorage.getItem("vendorFiltersByCategory");t.isFilterSelected=!t.isFilterSelected,b.length&&0!=b.filter(e=>e.name===t.name).length?a(6,b=b.filter(e=>e.name!==t.name)):b.push(t),null==e?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[u]:b.map(e=>e.id)})):((e=JSON.parse(e))[u]=b.map(e=>e.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),F()},F=()=>{a(7,w=b.length===y.length||0==b.length),a(8,x=b.length)},M=()=>{a(9,$=!0),a(6,b=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[u]:b.map(e=>e.id)})),y.forEach(e=>e.isFilterSelected=!1),setTimeout(()=>{a(9,$=!1)},50),window.postMessage({type:"ApplyFilters"},window.location.href),a(7,w=!0),a(4,g=!1)};return n.$$set=e=>{"endpoint"in e&&a(15,i=e.endpoint),"datasource"in e&&a(16,s=e.datasource),"lang"in e&&a(17,o=e.lang),"translationurl"in e&&a(18,l=e.translationurl),"clientstyling"in e&&a(19,c=e.clientstyling),"clientstylingurl"in e&&a(20,d=e.clientstylingurl),"categoryid"in e&&a(21,u=e.categoryid),"addfilterselector"in e&&a(0,h=e.addfilterselector),"addsortingselector"in e&&a(1,m=e.addsortingselector),"filterbylogo"in e&&a(2,p=e.filterbylogo)},n.$$.update=()=>{if(2195460&n.$$.dirty[0]&&i&&s&&u&&p){const t=new URL(i+"/casino/vendors");var e;t.searchParams.append("fields","id,name,logo,subVendors"),t.searchParams.append("language",o),t.searchParams.append("datasource",s),t.searchParams.append("platform",st(f)),1<(u.match(/\$/g)||[]).length?(t.searchParams.append("filter",`games(subGroups=${u})`),t.searchParams.append("subVendors",`games(subGroups=${u})`)):t.searchParams.append("filter",`games(groups=${u})`),e=t,a(9,$=!0),new Promise((t,n)=>{fetch(e).then(e=>e.json()).then(e=>{e=e.items,t(e.items),a(6,b=[]);let n=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));e.forEach(e=>{var t;0<=(null==(t=(n=n||{currentCategoryId:[]})[u])?void 0:t.indexOf(e.id))?(e.isFilterSelected=!0,b.push(e)):e.isFilterSelected=!1}),a(5,y=e),F()}).catch(e=>{console.error(e),a(10,C=!0),n(e)}).finally(()=>{a(9,$=!1)})})}if(524296&n.$$.dirty[0]&&c&&r){let e=document.createElement("style");e.innerHTML=c,r.appendChild(e)}if(1048584&n.$$.dirty[0]&&d&&r){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}262144&n.$$.dirty[0]&&l&&fetch(l).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Mr(e,t[e])})}).catch(e=>{console.log(e)})},[h,m,p,r,g,y,b,w,x,$,C,t,_,T,M,i,s,o,l,c,d,u,()=>_(),function(e,t){e[t].isFilterSelected=this.checked,a(5,y)},e=>T(e),()=>M(),function(e){at[e?"unshift":"push"](()=>{r=e,a(3,r)})}]}function Hr(e,t,n){const a=e.slice();return a[80]=t[n],a[82]=n,a}function jr(e,t,n){const a=e.slice();return a[80]=t[n],a[83]=t,a[82]=n,a}function Ur(e,t,n){const a=e.slice();return a[80]=t[n],a[82]=n,a}function Wr(e){let n;function a(e){return e[22]?Zr:e[32]?Vr:void 0}let r=a(e),i=r&&r(e);return{c(){n=me("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&&he(n),i&&i.d()}}}function zr(e){let n,a,r;function i(e){return e[26]?bi:e[23].length?fi:yi}let s=i(e),o=s(e);function l(e){return e[23]?wi:vi}let c=l(e),d=c(e);return{c(){n=me("div"),a=me("div"),o.c(),r=ge(),d.c(),fe(a,"class","CasinoGamesHeader Searched "+(it(e[37])?"CasinoGamesHeaderMobile":"")),fe(a,"part","CasinoGamesHeader Searched "+(it(e[37])?"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&&he(n),o.d(),d.d()}}}function Yr(e){let n;function a(e){return e[28]?Si:Ci}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&&he(n)}}}function Vr(n){let a,r,i,s,o,l="true"!==n[14]&&Kr(n);function c(e){return e[20]?Jr:e[35]?qr:Xr}let d=c(n),u=d(n);return{c(){a=me("div"),l&&l.c(),r=ge(),i=me("ul"),u.c(),fe(i,"class",s=(0!=n[35].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(i,"part",o=(0!=n[35].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[55](i)},p(e,t){"true"!==e[14]?l?l.p(e,t):((l=Kr(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))),16&t[1]&&s!==(s=(0!=e[35].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(i,"class",s),16&t[1]&&o!==(o=(0!=e[35].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(i,"part",o)},d(e){e&&he(a),l&&l.d(),u.d(),n[55](null)}}}function Zr(e){let n,a,r="true"!==e[14]&&li(e);function i(e){return e[20]?pi:0!==e[23].length?mi:hi}let s=i(e),o=s(e);return{c(){n=me("div"),r&&r.c(),a=ge(),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[14]?r?r.p(e,t):((r=li(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&&he(n),r&&r.d(),o.d()}}}function Kr(n){let a,r,i,s,o,l,c,d,u=n[36]("gamesCategorySection.favorites")+"",h=n[35].items.length+"";return{c(){a=me("div"),r=me("h3"),i=pe(u),s=ge(),o=me("span"),l=pe("("),c=pe(h),d=pe(")"),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[54](r)},p(e,t){32&t[1]&&u!==(u=e[36]("gamesCategorySection.favorites")+"")&&ye(i,u),16&t[1]&&h!==(h=e[35].items.length+"")&&ye(c,h)},d(e){e&&he(a),n[54](null)}}}function Xr(e){let n,a,r=e[36]("gamesCategorySection.waiting")+"";return{c(){n=me("p"),a=pe(r)},m(e,t){ue(e,n,t),de(n,a)},p(e,t){32&t[1]&&r!==(r=e[36]("gamesCategorySection.waiting")+"")&&ye(a,r)},d(e){e&&he(n)}}}function qr(t){let a,r=t[35].items,i=[];for(let e=0;e<r.length;e+=1)i[e]=oi(Hr(t,r,e));let s=null;return r.length||(s=Qr(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(16378&n[0]|254&n[1]){let e;for(r=t[35].items,e=0;e<r.length;e+=1){const s=Hr(t,r,e);i[e]?i[e].p(s,n):(i[e]=oi(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=Qr(t)).c(),s.m(a.parentNode,a))}},d(e){H(i,e),e&&he(a),s&&s.d(e)}}}function Jr(e){let n;return{c(){fe(n=me("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function Qr(e){let n,a,r,i,s,o,l,c,t,d,u=e[36]("gamesCategorySection.noFavoritesTitle")+"",h=(p=e,it(p[37])?ti:ei),m=h(e);var p;return{c(){n=me("p"),a=j("svg"),r=j("path"),i=ge(),s=me("span"),o=pe(u),l=ge(),m.c(),c=ge(),_(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"),_(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 "+(it(e[37])?"NoFavoriteGamesMobile":"")),fe(n,"part",d="NoFavoriteGames "+(it(e[37])?"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),m.m(n,null),de(n,c)},p(e,t){32&t[1]&&u!==(u=e[36]("gamesCategorySection.noFavoritesTitle")+"")&&ye(o,u),m.p(e,t)},d(e){e&&he(n),m.d()}}}function ei(e){let n,a,r=e[36]("gamesCategorySection.noFavorites")+"";return{c(){n=me("span"),a=pe(r),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){32&t[1]&&r!==(r=e[36]("gamesCategorySection.noFavorites")+"")&&ye(a,r)},d(e){e&&he(n)}}}function ti(e){let n,a,r=e[36]("gamesCategorySection.noFavoritesMobile")+"";return{c(){n=me("span"),a=pe(r),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){32&t[1]&&r!==(r=e[36]("gamesCategorySection.noFavoritesMobile")+"")&&ye(a,r)},d(e){e&&he(n)}}}function ni(e){let n,a=e[80].gameModel.isFavorite&&ai(e);return{c(){a&&a.c(),n=l()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){e[80].gameModel.isFavorite?a?a.p(e,t):((a=ai(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&he(n)}}}function ai(e){let n,a=function(e){let n,a,r;function i(e,t){return 16&t[1]&&(a=null),(n=null==n?!!it(e[37]):n)?ii:(a=null==a?!!e[80].gameModel.platform.includes("PC"):a)?ri: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&&he(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&&he(n)}}}function ri(e){let n,a,r,i,s,o,l,c,d,u,h,m,p,g;return{c(){S(n=me("casino-game-thumbnail"),"class",a=""+(w+(e[80].cellSize||"1x1"))),S(n,"part",r=""+(w+(e[80].cellSize||"1x1"))),S(n,"session",e[4]),S(n,"userid",e[5]),S(n,"lang",e[3]),S(n,"favorites",e[6]),S(n,"gamethumbnail",i=e[80].gameModel.thumbnail),S(n,"gamename",s=e[80].gameModel.name),S(n,"gamevendor",o=e[80].gameModel.vendor.name),S(n,"gameisnew",l=e[80].gameModel.isNew),S(n,"gametag",c=0<e[80].gameModel.advancedTags?.length&&e[38](e[80].gameModel.advancedTags)),S(n,"gamecellsize",d=e[80].cellSize),S(n,"gameid",u=e[80].gameModel.id),S(n,"gamefunmode",h=e[80].gameModel.hasFunMode),S(n,"gamefavorite",m=e[80].gameModel.isFavorite),S(n,"showfavoredcategory",e[32]),S(n,"connectlive",p=1==e[33][e[80].id]?"connect":"disconnect"),S(n,"visibilityconnect",e[34]),S(n,"currency",e[9]),S(n,"livelobbyendpoint",g=e[80].gameModel.details?e[80].gameModel.launchUrl:""),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8]),S(n,"endpoint",e[1]),S(n,"livecasino",e[10]),S(n,"gamepagemodalurl",e[11]),S(n,"integratedgameframedesktop",e[12]),S(n,"integratedgameframemobile",e[13])},m(e,t){ue(e,n,t)},p(e,t){16&t[1]&&a!==(a=""+(w+(e[80].cellSize||"1x1")))&&S(n,"class",a),16&t[1]&&r!==(r=""+(w+(e[80].cellSize||"1x1")))&&S(n,"part",r),16&t[0]&&S(n,"session",e[4]),32&t[0]&&S(n,"userid",e[5]),8&t[0]&&S(n,"lang",e[3]),64&t[0]&&S(n,"favorites",e[6]),16&t[1]&&i!==(i=e[80].gameModel.thumbnail)&&S(n,"gamethumbnail",i),16&t[1]&&s!==(s=e[80].gameModel.name)&&S(n,"gamename",s),16&t[1]&&o!==(o=e[80].gameModel.vendor.name)&&S(n,"gamevendor",o),16&t[1]&&l!==(l=e[80].gameModel.isNew)&&S(n,"gameisnew",l),16&t[1]&&c!==(c=0<e[80].gameModel.advancedTags?.length&&e[38](e[80].gameModel.advancedTags))&&S(n,"gametag",c),16&t[1]&&d!==(d=e[80].cellSize)&&S(n,"gamecellsize",d),16&t[1]&&u!==(u=e[80].gameModel.id)&&S(n,"gameid",u),16&t[1]&&h!==(h=e[80].gameModel.hasFunMode)&&S(n,"gamefunmode",h),16&t[1]&&m!==(m=e[80].gameModel.isFavorite)&&S(n,"gamefavorite",m),2&t[1]&&S(n,"showfavoredcategory",e[32]),20&t[1]&&p!==(p=1==e[33][e[80].id]?"connect":"disconnect")&&S(n,"connectlive",p),8&t[1]&&S(n,"visibilityconnect",e[34]),512&t[0]&&S(n,"currency",e[9]),16&t[1]&&g!==(g=e[80].gameModel.details?e[80].gameModel.launchUrl:"")&&S(n,"livelobbyendpoint",g),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8]),2&t[0]&&S(n,"endpoint",e[1]),1024&t[0]&&S(n,"livecasino",e[10]),2048&t[0]&&S(n,"gamepagemodalurl",e[11]),4096&t[0]&&S(n,"integratedgameframedesktop",e[12]),8192&t[0]&&S(n,"integratedgameframemobile",e[13])},d(e){e&&he(n)}}}function ii(e){let n,a=e[80].gameModel.platform.includes("iPad")||e[80].gameModel.platform.includes("iPhone")||e[80].gameModel.platform.includes("Android"),r=a&&si(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){(a=16&t[1]?e[80].gameModel.platform.includes("iPad")||e[80].gameModel.platform.includes("iPhone")||e[80].gameModel.platform.includes("Android"):a)?r?r.p(e,t):((r=si(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function si(e){let n,a,r,i,s,o,l,c,d,u,h,m,p,g;return{c(){S(n=me("casino-game-thumbnail"),"class",a=""+(w+(e[80].cellSize||"1x1"))),S(n,"part",r=""+(w+(e[80].cellSize||"1x1"))),S(n,"session",e[4]),S(n,"userid",e[5]),S(n,"lang",e[3]),S(n,"favorites",e[6]),S(n,"gamethumbnail",i=e[80].gameModel.thumbnail),S(n,"gamename",s=e[80].gameModel.name),S(n,"gamevendor",o=e[80].gameModel.vendor.name),S(n,"gameisnew",l=e[80].gameModel.isNew),S(n,"gametag",c=0<e[80].gameModel.advancedTags?.length&&e[38](e[80].gameModel.advancedTags)),S(n,"gamecellsize",d=e[80].cellSize),S(n,"gameid",u=e[80].gameModel.id),S(n,"gamefunmode",h=e[80].gameModel.hasFunMode),S(n,"gamefavorite",m=e[80].gameModel.isFavorite),S(n,"showfavoredcategory",e[32]),S(n,"connectlive",p=1==e[33][e[80].id]?"connect":"disconnect"),S(n,"visibilityconnect",e[34]),S(n,"currency",e[9]),S(n,"livelobbyendpoint",g=e[80].gameModel.details?e[80].gameModel.launchUrl:""),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8]),S(n,"endpoint",e[1]),S(n,"livecasino",e[10]),S(n,"gamepagemodalurl",e[11]),S(n,"integratedgameframedesktop",e[12]),S(n,"integratedgameframemobile",e[13])},m(e,t){ue(e,n,t)},p(e,t){16&t[1]&&a!==(a=""+(w+(e[80].cellSize||"1x1")))&&S(n,"class",a),16&t[1]&&r!==(r=""+(w+(e[80].cellSize||"1x1")))&&S(n,"part",r),16&t[0]&&S(n,"session",e[4]),32&t[0]&&S(n,"userid",e[5]),8&t[0]&&S(n,"lang",e[3]),64&t[0]&&S(n,"favorites",e[6]),16&t[1]&&i!==(i=e[80].gameModel.thumbnail)&&S(n,"gamethumbnail",i),16&t[1]&&s!==(s=e[80].gameModel.name)&&S(n,"gamename",s),16&t[1]&&o!==(o=e[80].gameModel.vendor.name)&&S(n,"gamevendor",o),16&t[1]&&l!==(l=e[80].gameModel.isNew)&&S(n,"gameisnew",l),16&t[1]&&c!==(c=0<e[80].gameModel.advancedTags?.length&&e[38](e[80].gameModel.advancedTags))&&S(n,"gametag",c),16&t[1]&&d!==(d=e[80].cellSize)&&S(n,"gamecellsize",d),16&t[1]&&u!==(u=e[80].gameModel.id)&&S(n,"gameid",u),16&t[1]&&h!==(h=e[80].gameModel.hasFunMode)&&S(n,"gamefunmode",h),16&t[1]&&m!==(m=e[80].gameModel.isFavorite)&&S(n,"gamefavorite",m),2&t[1]&&S(n,"showfavoredcategory",e[32]),20&t[1]&&p!==(p=1==e[33][e[80].id]?"connect":"disconnect")&&S(n,"connectlive",p),8&t[1]&&S(n,"visibilityconnect",e[34]),512&t[0]&&S(n,"currency",e[9]),16&t[1]&&g!==(g=e[80].gameModel.details?e[80].gameModel.launchUrl:"")&&S(n,"livelobbyendpoint",g),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8]),2&t[0]&&S(n,"endpoint",e[1]),1024&t[0]&&S(n,"livecasino",e[10]),2048&t[0]&&S(n,"gamepagemodalurl",e[11]),4096&t[0]&&S(n,"integratedgameframedesktop",e[12]),8192&t[0]&&S(n,"integratedgameframemobile",e[13])},d(e){e&&he(n)}}}function oi(e){let n,a=e[80].gameModel&&ni(e);return{c(){a&&a.c(),n=l()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){e[80].gameModel?a?a.p(e,t):((a=ni(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&he(n)}}}function li(n){let a,r,i,s,o=n[22].name+"";function l(e){return e[24]?di:ci}let c=l(n),d=c(n);return{c(){a=me("div"),r=me("h3"),i=pe(o),s=ge(),d.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[50](r),de(a,s),d.m(a,null)},p(e,t){4194304&t[0]&&o!==(o=e[22].name+"")&&ye(i,o),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(a,null)))},d(e){e&&he(a),n[50](null),d.d()}}}function ci(e){let n,a,r="true"==e[15]&&ui(e);return{c(){n=me("div"),r&&r.c(),fe(n,"class",a="true"==e[15]&&"true"==e[16]?"CategoryFilterContainer":"")},m(e,t){ue(e,n,t),r&&r.m(n,null)},p(e,t){"true"==e[15]?r?r.p(e,t):((r=ui(e)).c(),r.m(n,null)):r&&(r.d(1),r=null),98304&t[0]&&a!==(a="true"==e[15]&&"true"==e[16]?"CategoryFilterContainer":"")&&fe(n,"class",a)},d(e){e&&he(n),r&&r.d()}}}function di(n){let a,r,i,s,o,l,c,d,u=n[36]("gamesCategorySection.viewAll")+"",h=n[22].games.total+"";return{c(){a=me("a"),r=me("span"),i=pe(u),s=pe(" ("),o=pe(h),l=pe(")"),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=V(a,"click",n[51]),c=!0)},p(e,t){32&t[1]&&u!==(u=e[36]("gamesCategorySection.viewAll")+"")&&ye(i,u),4194304&t[0]&&h!==(h=e[22].games.total+"")&&ye(o,h)},d(e){e&&he(a),c=!1,d()}}}function ui(e){let n;return{c(){S(n=me("casino-filter"),"clientstylingurl",e[8]),S(n,"clientstyling",e[7]),S(n,"endpoint",e[1]),S(n,"datasource",e[2]),S(n,"lang",e[3]),S(n,"categoryid",e[0]),S(n,"addfilterselector",e[15]),S(n,"addsortingselector",e[16]),S(n,"filterbylogo",e[17])},m(e,t){ue(e,n,t)},p(e,t){256&t[0]&&S(n,"clientstylingurl",e[8]),128&t[0]&&S(n,"clientstyling",e[7]),2&t[0]&&S(n,"endpoint",e[1]),4&t[0]&&S(n,"datasource",e[2]),8&t[0]&&S(n,"lang",e[3]),1&t[0]&&S(n,"categoryid",e[0]),32768&t[0]&&S(n,"addfilterselector",e[15]),65536&t[0]&&S(n,"addsortingselector",e[16]),131072&t[0]&&S(n,"filterbylogo",e[17])},d(e){e&&he(n)}}}function hi(e){let n;return{c(){(n=me("p")).textContent="You don't have any games in this category.",fe(n,"class","NoSearchResults"),fe(n,"part","NoSearchResults")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function mi(n){let a,e,r,i=n[23],s=[];for(let e=0;e<i.length;e+=1)s[e]=gi(jr(n,i,e));return{c(){a=me("ul");for(let e=0;e<s.length;e+=1)s[e].c();fe(a,"class",e=(0===n[35].items.length&&n[32]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),fe(a,"part",r=(0===n[35].items.length&&n[32]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){ue(e,a,t);for(let e=0;e<s.length;e+=1)s[e].m(a,null);n[53](a)},p(t,n){if(8929274&n[0]|140&n[1]){let e;for(i=t[23],e=0;e<i.length;e+=1){const r=jr(t,i,e);s[e]?s[e].p(r,n):(s[e]=gi(r),s[e].c(),s[e].m(a,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}18&n[1]&&e!==(e=(0===t[35].items.length&&t[32]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(a,"class",e),18&n[1]&&r!==(r=(0===t[35].items.length&&t[32]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(a,"part",r)},d(e){e&&he(a),H(s,e),n[53](null)}}}function pi(e){let n;return{c(){fe(n=me("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function gi(e){let n,a=function(n){let a,r,i,s,o,l,c,d,u,h,m,p,g,f,y=n[82];const b=()=>n[52](a,y),v=()=>n[52](null,y);return{c(){S(a=me("casino-game-thumbnail"),"session",n[4]),S(a,"userid",n[5]),S(a,"lang",n[3]),S(a,"class",r=""+(w+(n[80].cellSize||"1x1"))),S(a,"part",i=""+(w+(n[80].cellSize||"1x1"))),S(a,"favorites",n[6]),S(a,"gamethumbnail",s=n[80].thumbnail),S(a,"gamename",o=n[80].name),S(a,"gamevendor",l=n[80].vendor.name),S(a,"gameisnew",c=n[80].isNew),S(a,"gametag",d=0<n[80].advancedTags?.length&&n[38](n[80].advancedTags)),S(a,"gamecellsize",u=n[80].cellSize),S(a,"gameid",h=n[80].id),S(a,"gamefunmode",m=n[80].hasFunMode),S(a,"gamefavorite",p=n[80].isFavorite),S(a,"connectlive",g=1==n[33][n[80].id]?"connect":"disconnect"),S(a,"visibilityconnect",n[34]),S(a,"currency",n[9]),S(a,"livelobbyendpoint",f=n[80].details?n[80].href:""),S(a,"clientstyling",n[7]),S(a,"clientstylingurl",n[8]),S(a,"endpoint",n[1]),S(a,"livecasino",n[10]),S(a,"gamepagemodalurl",n[11]),S(a,"integratedgameframedesktop",n[12]),S(a,"integratedgameframemobile",n[13])},m(e,t){ue(e,a,t),b()},p(e,t){n=e,16&t[0]&&S(a,"session",n[4]),32&t[0]&&S(a,"userid",n[5]),8&t[0]&&S(a,"lang",n[3]),8388608&t[0]&&r!==(r=""+(w+(n[80].cellSize||"1x1")))&&S(a,"class",r),8388608&t[0]&&i!==(i=""+(w+(n[80].cellSize||"1x1")))&&S(a,"part",i),64&t[0]&&S(a,"favorites",n[6]),8388608&t[0]&&s!==(s=n[80].thumbnail)&&S(a,"gamethumbnail",s),8388608&t[0]&&o!==(o=n[80].name)&&S(a,"gamename",o),8388608&t[0]&&l!==(l=n[80].vendor.name)&&S(a,"gamevendor",l),8388608&t[0]&&c!==(c=n[80].isNew)&&S(a,"gameisnew",c),8388608&t[0]&&d!==(d=0<n[80].advancedTags?.length&&n[38](n[80].advancedTags))&&S(a,"gametag",d),8388608&t[0]&&u!==(u=n[80].cellSize)&&S(a,"gamecellsize",u),8388608&t[0]&&h!==(h=n[80].id)&&S(a,"gameid",h),8388608&t[0]&&m!==(m=n[80].hasFunMode)&&S(a,"gamefunmode",m),8388608&t[0]&&p!==(p=n[80].isFavorite)&&S(a,"gamefavorite",p),8388608&t[0]|4&t[1]&&g!==(g=1==n[33][n[80].id]?"connect":"disconnect")&&S(a,"connectlive",g),8&t[1]&&S(a,"visibilityconnect",n[34]),512&t[0]&&S(a,"currency",n[9]),8388608&t[0]&&f!==(f=n[80].details?n[80].href:"")&&S(a,"livelobbyendpoint",f),128&t[0]&&S(a,"clientstyling",n[7]),256&t[0]&&S(a,"clientstylingurl",n[8]),2&t[0]&&S(a,"endpoint",n[1]),1024&t[0]&&S(a,"livecasino",n[10]),2048&t[0]&&S(a,"gamepagemodalurl",n[11]),4096&t[0]&&S(a,"integratedgameframedesktop",n[12]),8192&t[0]&&S(a,"integratedgameframemobile",n[13]),y!==n[82]&&(v(),y=n[82],b())},d(e){e&&he(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&&he(n)}}}function fi(e){let n,a,r=e[36]("gamesCategorySection.searchedItems")+"";return{c(){n=me("h3"),a=pe(r),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){32&t[1]&&r!==(r=e[36]("gamesCategorySection.searchedItems")+"")&&ye(a,r)},d(e){e&&he(n)}}}function yi(e){let n,a,r=e[36]("gamesCategorySection.noResults")+"";return{c(){n=me("h3"),a=pe(r),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){32&t[1]&&r!==(r=e[36]("gamesCategorySection.noResults")+"")&&ye(a,r)},d(e){e&&he(n)}}}function bi(e){let n,a,r=e[36]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=me("h3"),a=pe(r),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){32&t[1]&&r!==(r=e[36]("gamesCategorySection.recentSearchedItems")+"")&&ye(a,r)},d(e){e&&he(n)}}}function vi(e){let n;return{c(){(n=me("p")).textContent="Waiting",fe(n,"class","SearchWaiting"),fe(n,"part","SearchWaiting")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function wi(t){let a,r,i=!t[29]&&xi(t),s=t[23],o=[];for(let e=0;e<s.length;e+=1)o[e]=$i(Ur(t,s,e));return{c(){i&&i.c(),a=ge(),r=me("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[29]?i&&(i.d(1),i=null):i?i.p(t,n):((i=xi(t)).c(),i.m(a.parentNode,a)),142622714&n[0]|128&n[1]){let e;for(s=t[23],e=0;e<s.length;e+=1){const i=Ur(t,s,e);o[e]?o[e].p(i,n):(o[e]=$i(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&&he(a),e&&he(r),H(o,e)}}}function xi(e){let n,a,t,r,i=e[36]("gamesCategorySection.noRecentSearch")+"";return{c(){n=me("p"),a=pe(i),fe(n,"class",t="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(it(e[37])?"NoRecentSearchesMobile":"")),fe(n,"part",r="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(it(e[37])?"NoRecentSearchesMobile":""))},m(e,t){ue(e,n,t),de(n,a)},p(e,t){32&t[1]&&i!==(i=e[36]("gamesCategorySection.noRecentSearch")+"")&&ye(a,i)},d(e){e&&he(n)}}}function $i(e){let n,a,r,i,s,o,l,c,d,u,h,m,p;return{c(){S(n=me("casino-game-thumbnail"),"class",a=""+(w+(e[80].cellSize||"1x1"))),S(n,"part",r=""+(w+(e[80].cellSize||"1x1"))),S(n,"session",e[4]),S(n,"userid",e[5]),S(n,"lang",e[3]),S(n,"searchitem",e[27]),S(n,"favorites",e[6]),S(n,"gamethumbnail",i=e[80].thumbnail),S(n,"gamename",s=e[80].name),S(n,"gamevendor",o=e[80].vendor.name),S(n,"gameisnew",l=e[80].isNew),S(n,"gametag",c=0<e[80].advancedTags?.length&&e[38](e[80].advancedTags)),S(n,"gamecellsize",d=e[80].cellSize),S(n,"gameid",u=e[80].id),S(n,"gamefunmode",h=e[80].hasFunMode),S(n,"gamefavorite",m=e[80].isFavorite),S(n,"currency",e[9]),S(n,"livelobbyendpoint",p=e[80].details?e[80].href:""),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8]),S(n,"endpoint",e[1]),S(n,"livecasino",e[10]),S(n,"gamepagemodalurl",e[11]),S(n,"integratedgameframedesktop",e[12]),S(n,"integratedgameframemobile",e[13])},m(e,t){ue(e,n,t)},p(e,t){8388608&t[0]&&a!==(a=""+(w+(e[80].cellSize||"1x1")))&&S(n,"class",a),8388608&t[0]&&r!==(r=""+(w+(e[80].cellSize||"1x1")))&&S(n,"part",r),16&t[0]&&S(n,"session",e[4]),32&t[0]&&S(n,"userid",e[5]),8&t[0]&&S(n,"lang",e[3]),134217728&t[0]&&S(n,"searchitem",e[27]),64&t[0]&&S(n,"favorites",e[6]),8388608&t[0]&&i!==(i=e[80].thumbnail)&&S(n,"gamethumbnail",i),8388608&t[0]&&s!==(s=e[80].name)&&S(n,"gamename",s),8388608&t[0]&&o!==(o=e[80].vendor.name)&&S(n,"gamevendor",o),8388608&t[0]&&l!==(l=e[80].isNew)&&S(n,"gameisnew",l),8388608&t[0]&&c!==(c=0<e[80].advancedTags?.length&&e[38](e[80].advancedTags))&&S(n,"gametag",c),8388608&t[0]&&d!==(d=e[80].cellSize)&&S(n,"gamecellsize",d),8388608&t[0]&&u!==(u=e[80].id)&&S(n,"gameid",u),8388608&t[0]&&h!==(h=e[80].hasFunMode)&&S(n,"gamefunmode",h),8388608&t[0]&&m!==(m=e[80].isFavorite)&&S(n,"gamefavorite",m),512&t[0]&&S(n,"currency",e[9]),8388608&t[0]&&p!==(p=e[80].details?e[80].href:"")&&S(n,"livelobbyendpoint",p),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8]),2&t[0]&&S(n,"endpoint",e[1]),1024&t[0]&&S(n,"livecasino",e[10]),2048&t[0]&&S(n,"gamepagemodalurl",e[11]),4096&t[0]&&S(n,"integratedgameframedesktop",e[12]),8192&t[0]&&S(n,"integratedgameframemobile",e[13])},d(e){e&&he(n)}}}function Ci(e){let n;return{c(){(n=me("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function Si(e){let n;return{c(){(n=me("p")).textContent="404 Error - No result found.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function ki(n){let a;function r(e){return e[21]?Yr:e[25]?zr:Wr}let i=r(n),s=i(n);return{c(){a=me("div"),s.c(),this.c=z,fe(a,"class","CasinoGamesCategorySectionContainer"),fe(a,"part","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,a,t),s.m(a,null),n[56](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:z,o:z,d(e){e&&he(a),s.d(),n[56](null)}}}customElements.get("casino-filter")||customElements.define("casino-filter",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>.FilterContainer{color:#fff;position:relative;z-index:16}.FilterSelector{background-color:#58586B;display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:#D1D1D1;text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all .5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:#58586b;background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem{position:relative}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid #D0046C}.FilterItem input:checked~.FiltersCheckmark{background-color:#D0046C;border:1px solid #D0046C}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin:0 15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid white;border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid #fff}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{display:grid;grid-template-columns:minmax(150px, 150px) minmax(150px, 150px);gap:30px;margin-block-start:0}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{grid-template-columns:1fr}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:10px 25px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}}</style>',a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Nr,Or,t,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo: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","translationurl","clientstyling","clientstylingurl","categoryid","addfilterselector","addsortingselector","filterbylogo"]}get endpoint(){return this.$$.ctx[15]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[16]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),f()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),f()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get categoryid(){return this.$$.ctx[21]}set categoryid(e){this.$$set({categoryid:e}),f()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(e){this.$$set({addfilterselector:e}),f()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(e){this.$$set({addsortingselector:e}),f()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(e){this.$$set({filterbylogo:e}),f()}});const w="game-tile-";function _i(e,t,l){let D;ot(e,za,e=>l(36,D=e));let i,s,o,n,A,a,c,r,d,u,{categoryindex:B=""}=t,{endpoint:h=""}=t,{datasource:m=""}=t,{lang:p=""}=t,{session:O=""}=t,{userid:N=""}=t,{favorites:g=""}=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:W=""}=t,{gamepagemodalurl:z="false"}=t,{integratedgameframedesktop:Y="false"}=t,{integratedgameframemobile:V="false"}=t,{casinomygames:w="false"}=t,{addfilterselector:Z="false"}=t,{addsortingselector:K="false"}=t,{filterbylogo:X=""}=t,{once:q=!0}=t,{top:J=0}=t,{bottom:Q=0}=t,{left:ee=0}=t,{right:te=0}=t,x=!0,$=!1,C=!0,ne=window.navigator.userAgent,S=[],k=!0,_=40,T=!1,F=!1,ae=!1,M=!1,L=!1,re=!0,E=!1,ie=!1,G=new Array(1e4),P={},se="",I={items:[],count:0,name:""},oe=(Object.keys(Ka).forEach(e=>{Za(e,Ka[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>_&&de(v),l(33,P[t]=1,P)):l(33,P[t]=0,P)})}));const le=(e,a,r,t=0)=>{l(20,x=!0);let n,i="",s=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),o=h.replace(/.$/,"2");return i=1<(v.match(/\$/g)||[]).length?(n=v.split("$").slice(0,2).join("$"),new URL(`${o}/casino/groups/${m}/${n}/subGroups`)):new URL(`${o}/casino/groups/${m}/`+v),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",st(ne)),i.searchParams.append("pagination",`games(offset=${a},limit=${r})`),i.searchParams.append("language",p),window.postMessage({type:"CategoryVendors",categoryid:v},window.location.href),s&&s[v])if(s[v].length&&!1===C&&!1===E){let t="";l(28,L=!0),s[v].forEach(e=>{t+=t?`,games(vendor(id=${e}))`:`games(vendor(id=${e}))`}),i.searchParams.append("filter",(s&&s[v].length<2?"$and":"$or")+`(${t})`)}else l(28,L=!1);fetch(i).then(e=>e.json()).then(e=>{l(20,x=!1),1<(v.match(/\$/g)||[]).length&&(e=e.items.filter(e=>{if(e.id==v)return e})[0]),l(49,u=!0),l(21,$=!1),A=e.games.total,t(e)},e=>{l(21,$=!0),console.error(e),n(e)})})},ce=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":"MOSTPLAYED"==v&&(l(25,T=!1),C=!1,l(24,k=!1),l(23,S=t.data.mostPlayedGames),l(22,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}})),l(20,x=!1);break;case"LastPlayedData":"LASTPLAYED"==v&&(l(25,T=!1),C=!1,l(24,k=!1),l(23,S=t.data.lastPlayedGames),l(22,o={id:"LASTPLAYED",name:"Last Played Games",games:{count:t.data.lastPlayedGames.length,total:t.data.lastPlayedGames.length,items:t.data.lastPlayedGames}})),l(20,x=!1);break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":l(25,T=!0),l(26,F=!0),0<t.data.searchData.length?(l(23,S=t.data.searchData),l(29,re=!0),S&&S.forEach(e=>{e.isFavorite=R(e.id)})):(l(23,S=[]),l(29,re=!1));break;case"OutOfRecentSearches":l(25,T=!1),l(26,F=!1);break;case"SearchData":l(25,T=!0),l(26,F=!1),l(23,S=t.data.searchData.items||[]),l(27,M=!0),t.data.receivedFavoriteResults&&(c=t.data.receivedFavoriteResults.items),S&&S.forEach(e=>{e.isFavorite=R(e.id)});break;case"CategoryData_"+v:l(25,T=!1),C=!0,l(24,k=!0),l(27,M=!1),ie=!1,t.data.receivedFavoriteResults&&(c=t.data.receivedFavoriteResults.items),le(t.data.categoryId,0,t.data.visiblegames).then(e=>{l(22,o=e),l(23,S=o.games.items),S&&S.forEach(e=>{e.isFavorite=R(e.id)})});break;case"CategoryChange":_=20;break;case"CategoryUpdate":l(25,T=!1),C=!1,l(27,M=!1),ie=!0,l(0,v=t.data.itemId),"MOSTPLAYED"!==v&&l(24,k=!1),"true"!==w&&le(0,0,_).then(e=>{l(22,o=e),o.games.items.forEach(e=>{e.isFavorite=R(e.id)}),l(23,S=o.games.items),l(24,k=!1),S.length<10&&0==t.data.origin&&(ae=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:ae},window.location.href)},500))});break;case"FavoriteUpdate":C=!0,o&&(l(23,S=o.games.items),S.forEach(e=>{e.isFavorite=R(e.id)}));break;case"UpdateCategoryFavoriteGames":if(t.data.receivedFavoriteResults){if(c=t.data.receivedFavoriteResults.items,t.data.favStadalone)return;E?C||window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href)}break;case"ShowFavoriteSection":let e;C=!1,t.data&&((e=t.data.receivedFavoriteResults.items).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),l(35,I.items=(n=e,I.items,r=window.navigator.userAgent,it(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})),I),l(35,I.name="Favorites",I),l(32,E=!0),l(20,x=!1));break;case"UserSessionID":if(i=t.data.session,s=t.data.userID,"true"==g&&s&&s.length&&i&&0<i.length){var a=`${h}/player/${s}/favorites/`;r=i;l(20,x=!0);let e={method:"GET",headers:{"X-SessionID":r}};new Promise((t,n)=>{fetch(a,e).then(e=>e.json()).then(e=>{l(20,x=!1),c=e?e.items:[],S.forEach(e=>{e.isFavorite=R(e.id)});e=S;l(23,S=void 0),l(23,S=e),t(c)}).catch(e=>{console.error(e),n(e)})})}}var n,r},de=e=>{(_+=1)<=A&&le(0,0,_).then(e=>{l(22,o=e),o.games.items.length>S.length&&(l(23,S=o.games.items),S.forEach(e=>{e.isFavorite=R(e.id)}))})},R=t=>!!c&&-1!==c.findIndex(e=>e.id==t),ue=e=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href)};return lt(()=>(window.addEventListener("visibilitychange",e=>{document[d]?l(34,se="disconnect"):l(34,se="connect")}),window.addEventListener("message",ce,!1),"FAVORITES"===v&&window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",ce),window.removeEventListener("visibilitychange",ce)})),e.$$set=e=>{"categoryindex"in e&&l(40,B=e.categoryindex),"endpoint"in e&&l(1,h=e.endpoint),"datasource"in e&&l(2,m=e.datasource),"lang"in e&&l(3,p=e.lang),"session"in e&&l(4,O=e.session),"userid"in e&&l(5,N=e.userid),"favorites"in e&&l(6,g=e.favorites),"clientstyling"in e&&l(7,f=e.clientstyling),"clientstylingurl"in e&&l(8,y=e.clientstylingurl),"translationurl"in e&&l(41,b=e.translationurl),"currency"in e&&l(9,H=e.currency),"categoryid"in e&&l(0,v=e.categoryid),"categorygames"in e&&l(42,j=e.categorygames),"livecasino"in e&&l(10,U=e.livecasino),"visiblegames"in e&&l(43,W=e.visiblegames),"gamepagemodalurl"in e&&l(11,z=e.gamepagemodalurl),"integratedgameframedesktop"in e&&l(12,Y=e.integratedgameframedesktop),"integratedgameframemobile"in e&&l(13,V=e.integratedgameframemobile),"casinomygames"in e&&l(14,w=e.casinomygames),"addfilterselector"in e&&l(15,Z=e.addfilterselector),"addsortingselector"in e&&l(16,K=e.addsortingselector),"filterbylogo"in e&&l(17,X=e.filterbylogo),"once"in e&&l(44,q=e.once),"top"in e&&l(45,J=e.top),"bottom"in e&&l(46,Q=e.bottom),"left"in e&&l(47,ee=e.left),"right"in e&&l(48,te=e.right)},e.$$.update=()=>{if(524288&e.$$.dirty[0]|262144&e.$$.dirty[1]&&u&&G&&ie&&G.forEach((e,t)=>{e&&(e.elems_index=t,oe.observe(e))}),9&e.$$.dirty[0]&&p&&v)switch(v){case"FAVORITES":l(32,E=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===w&&l(32,E=!1)}if(1024&e.$$.dirty[1]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Za(e,t[e])})}).catch(e=>{console.log(e)}),262272&e.$$.dirty[0]&&f&&r){let e=document.createElement("style");e.innerHTML=f,r.appendChild(e)}if(262400&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)})}},[v,h,m,p,O,N,g,f,y,H,U,z,Y,V,w,Z,K,X,r,G,x,$,o,S,k,T,F,M,L,re,n,a,E,P,se,I,D,ne,a=>{if(0===(null==a?void 0:a.length))return"";let r,i="",s=999999999999;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);Ja(e).diff(o)<s&&(s=Ja(e).diff(o),r=t),Ja(o).isAfter(n)&&Ja(o).isBefore(e)&&(i=a[r].name)}),i},ue,B,b,j,W,q,J,Q,ee,te,u,function(e){at[e?"unshift":"push"](()=>{a=e,l(31,a)})},e=>ue(o.id),function(e,t){at[e?"unshift":"push"](()=>{G[t]=e,l(19,G)})},function(e){at[e?"unshift":"push"](()=>{n=e,l(30,n)})},function(e){at[e?"unshift":"push"](()=>{a=e,l(31,a)})},function(e){at[e?"unshift":"push"](()=>{n=e,l(30,n)})},function(e){at[e?"unshift":"push"](()=>{r=e,l(18,r)})}]}function Ti(e,t){ka(e,t)}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends r{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}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px}@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 only screen and (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:column}.CategoryName{margin-bottom:20px}}@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>",a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},_i,ki,t,{categoryindex:40,endpoint:1,datasource:2,lang:3,session:4,userid:5,favorites:6,clientstyling:7,clientstylingurl:8,translationurl:41,currency:9,categoryid:0,categorygames:42,livecasino:10,visiblegames:43,gamepagemodalurl:11,integratedgameframedesktop:12,integratedgameframemobile:13,casinomygames:14,addfilterselector:15,addsortingselector:16,filterbylogo:17,once:44,top:45,bottom:46,left:47,right:48},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","addfilterselector","addsortingselector","filterbylogo","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[40]}set categoryindex(e){this.$$set({categoryindex:e}),f()}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 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 favorites(){return this.$$.ctx[6]}set favorites(e){this.$$set({favorites: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[41]}set translationurl(e){this.$$set({translationurl:e}),f()}get currency(){return this.$$.ctx[9]}set currency(e){this.$$set({currency:e}),f()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),f()}get categorygames(){return this.$$.ctx[42]}set categorygames(e){this.$$set({categorygames:e}),f()}get livecasino(){return this.$$.ctx[10]}set livecasino(e){this.$$set({livecasino:e}),f()}get visiblegames(){return this.$$.ctx[43]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),f()}get addfilterselector(){return this.$$.ctx[15]}set addfilterselector(e){this.$$set({addfilterselector:e}),f()}get addsortingselector(){return this.$$.ctx[16]}set addsortingselector(e){this.$$set({addsortingselector:e}),f()}get filterbylogo(){return this.$$.ctx[17]}set filterbylogo(e){this.$$set({filterbylogo:e}),f()}get once(){return this.$$.ctx[44]}set once(e){this.$$set({once:e}),f()}get top(){return this.$$.ctx[45]}set top(e){this.$$set({top:e}),f()}get bottom(){return this.$$.ctx[46]}set bottom(e){this.$$set({bottom:e}),f()}get left(){return this.$$.ctx[47]}set left(e){this.$$set({left:e}),f()}get right(){return this.$$.ctx[48]}set right(e){this.$$set({right:e}),f()}});const Fi={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},"zh-hk":{randomGame:{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放"}},de:{randomGame:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuft",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 Mi(e,t,n){const a=e.slice();return a[35]=t[n],a[37]=n,a}function Li(n){let a,r,i,s,o,l,c,d=!n[7]&&Ei(n),u=n[7]&&Pi(n);return{c(){a=me("div"),r=me("div"),(i=me("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=ge(),d&&d.c(),o=ge(),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=V(i,"click",n[11]),l=!0)},p(e,t){e[7]?d&&(d.d(1),d=null):d?d.p(e,t):((d=Ei(e)).c(),d.m(r,o)),e[7]?u?u.p(e,t):((u=Pi(e)).c(),u.m(r,null)):u&&(u.d(1),u=null)},d(e){e&&he(a),d&&d.d(),u&&u.d(),l=!1,c()}}}function Ei(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]=Gi(Mi(t,l,e));return{c(){n=me("div"),a=me("main"),r=me("div");for(let e=0;e<c.length;e+=1)c[e].c();i=ge(),s=me("p"),o=pe(e),fe(r,"class","items"),fe(r,"part","items"),_(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=Mi(t,l,e);c[e]?c[e].p(a,n):(c[e]=Gi(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]&&_(r,"transform","translateY("+t[6]+"px)"),256&n[0]&&e!==(e=t[8]("randomGame.randomGameLoading")+"")&&ye(o,e)},d(e){e&&he(n),H(c,e)}}}function Gi(e){let n,a,r,i,s,o;return{c(){n=me("div"),a=me("img"),o=ge(),fe(a,"class","RandomGameImage"),fe(a,"part","RandomGameImage"),ce(a.src,r=e[35].thumbnail)||fe(a,"src",r),fe(a,"alt",i=e[35].name),fe(a,"title",s=e[35].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[35].thumbnail)&&fe(a,"src",r),16&t[0]&&i!==(i=e[35].name)&&fe(a,"alt",i),16&t[0]&&s!==(s=e[35].name)&&fe(a,"title",s)},d(e){e&&he(n)}}}function Pi(n){let a,r,i,s,o,l,c,d,u,h,m,p,g,f,y,b,v,w,x,$,C=n[3].name+"",S=n[3].vendor.name+"",k=n[8]("randomGame.playNowRandomGame")+"";return{c(){a=me("div"),r=me("div"),i=me("img"),c=ge(),(d=me("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emfe-w-color-white, #FFFFFF);;}\n </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>',u=ge(),h=me("div"),m=me("p"),p=pe(C),g=ge(),f=me("p"),y=pe(S),b=ge(),v=me("button"),w=pe(k),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(m,"class","RandomGameTitle"),fe(m,"part","RandomGameTitle"),fe(f,"class","RandomGameVendor"),fe(f,"part","RandomGameVendor"),fe(v,"class","RandomGamePlay"),fe(v,"part","RandomGamePlay"),fe(h,"class","RandomGameDetails"),fe(h,"part","RandomGameDetails"),fe(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,h),de(h,m),de(m,p),de(h,g),de(h,f),de(f,y),de(h,b),de(h,v),de(v,w),x||($=[V(d,"click",n[20]),V(v,"click",n[21])],x=!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]&&C!==(C=e[3].name+"")&&ye(p,C),8&t[0]&&S!==(S=e[3].vendor.name+"")&&ye(y,S),256&t[0]&&k!==(k=e[8]("randomGame.playNowRandomGame")+"")&&ye(w,k)},d(e){e&&he(a),x=!1,Y($)}}}function Ii(e){let n,a,r=e[8]("randomGame.playRandomGame")+"";return{c(){n=me("span"),a=pe(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&&he(n)}}}function Ri(e){let n,a;return{c(){n=me("span"),a=pe(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&&he(n)}}}function Di(n){let a,r,i,s,o,l,c,d,u=n[5]&&Li(n);function h(e){return e[1]?Ri:e[1]?void 0:Ii}let m=h(n),p=m&&m(n);return{c(){a=me("div"),u&&u.c(),r=ge(),i=me("div"),s=me("button"),p&&p.c(),o=ge(),l=me("span"),this.c=z,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),p&&p.m(s,null),de(s,o),de(s,l),l.innerHTML=n[0],n[23](a),c||(d=V(s,"click",n[22]),c=!0)},p(e,t){e[5]?u?u.p(e,t):((u=Li(e)).c(),u.m(a,r)):u&&(u.d(1),u=null),m===(m=h(e))&&p?p.p(e,t):(p&&p.d(1),(p=m&&m(e))&&(p.c(),p.m(s,o))),1&t[0]&&(l.innerHTML=e[0])},i:z,o:z,d(e){e&&he(a),u&&u.d(),p&&p.d(),n[23](null),c=!1,d()}}}function Ai(t,e,n){let a;ot(t,za,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:h=""}=e,{clientstyling:m=""}=e,{clientstylingurl:p=""}=e,{filteredrandomgamecategories:g=""}=e,f=[],y="",b=!1,v=0,w=0,x=!1,$=window.navigator.userAgent;var C,S;({withLocale:C,translations:S}={withLocale:"en",translations:{}}),rt.subscribe(e=>{null==e&&(Ca.set(S),rt.set(C))}),Object.keys(Fi).forEach(e=>{Ti(e,Fi[e])});const k=()=>{n(4,r=F(r)),n(6,v=0),w=0,n(7,x=!1),n(3,y=f[Math.floor(Math.random()*f.length)]),n(5,b=!0)};let _;const T=e=>{if(g)for(;k(),!g.includes(y.vendor.name););else k();clearInterval(_),_=setInterval(()=>{n(6,v-=75),20==++w&&(n(7,x=!0),clearInterval(_))},150),e&&"function"==typeof gtag&>ag("event","RefreshRandomGame",{context:"RandomGameWidget",gameId:""+(y.gId||y.id)}),window.postMessage({type:"RandomWidgetState",state:!0},window.location.href)},F=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},M=()=>{window.postMessage({type:l,gameId:y.gId||y.id},window.location.href),n(5,b=!1),window.postMessage({type:"RandomWidgetState",state:!1},window.location.href),"function"==typeof gtag&>ag("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,h=e.translationurl),"clientstyling"in e&&n(17,m=e.clientstyling),"clientstylingurl"in e&&n(18,p=e.clientstylingurl),"filteredrandomgamecategories"in e&&n(19,g=e.filteredrandomgamecategories)},t.$$.update=()=>{if(32768&t.$$.dirty[0]&&c&&(e=c,rt.set(e)),65536&t.$$.dirty[0]&&h&&fetch(h).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ti(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",st($)),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]&&m&&i){let e=document.createElement("style");e.innerHTML=m,i.appendChild(e)}if(262148&t.$$.dirty[0]&&p&&i){let e=new URL(p),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,x,a,T,M,()=>{n(5,b=!1),window.postMessage({type:"RandomWidgetState",state:b},window.location.href)},s,o,l,c,h,m,p,g,()=>T(!0),()=>M(),()=>T(),function(e){at[e?"unshift":"push"](()=>{i=e,n(2,i)})}]}function Bi(e,t){ka(e,t)}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends r{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;transition:transform 400ms ease-in-out}.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>",a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ai,Di,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-hk":{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 Ni(e,t,n){const a=e.slice();return a[63]=t[n],a}function Hi(e,t,n){const a=e.slice();return a[66]=t[n],a}function ji(n){let r,a,i,s,o,l,c,d,e,u,h,m,p,g,f,y,b,v,w,x,$=n[14],C=[];for(let e=0;e<$.length;e+=1)C[e]=Yi(Hi(n,$,e));let S=n[9],k=[];for(let e=0;e<S.length;e+=1)k[e]=Vi(Ni(n,S,e));return{c(){r=me("div"),a=me("div"),i=me("div");for(let e=0;e<C.length;e+=1)C[e].c();s=ge(),o=me("div"),l=me("button"),c=j("svg"),d=j("path"),u=ge(),h=me("button"),m=j("svg"),p=j("path"),y=ge(),b=me("div");for(let e=0;e<k.length;e+=1)k[e].c();fe(i,"class","WinnerButtonsContainer"),fe(d,"style",e=n[10]>=n[9].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(p,"style",g=n[10]>=n[9].length?"fill:#F6F6F62E":""),fe(p,"id","Path_36"),fe(p,"data-name","Path 36"),fe(p,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(p,"transform","translate(0 24.656) rotate(-90)"),fe(p,"fill","#fff"),fe(m,"id","Component_46_2"),fe(m,"data-name","Component 46 – 2"),fe(m,"xmlns","http://www.w3.org/2000/svg"),fe(m,"width","15"),fe(m,"height","15"),fe(m,"viewBox","0 0 16 24.656"),fe(h,"class","SliderButton"),fe(o,"class",f="ButtonsContainer "+("true"==n[4]?"ButtonsContainerNone":"")),fe(a,"class","WinnersHeader"),fe(b,"class","WinnersSlider"),fe(r,"class",v="CasinoWinners "+(n[11]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i);for(let e=0;e<C.length;e+=1)C[e].m(i,null);de(a,s),de(a,o),de(o,l),de(l,c),de(c,d),de(o,u),de(o,h),de(h,m),de(m,p),de(r,y),de(r,b);for(let e=0;e<k.length;e+=1)k[e].m(b,null);n[42](b),w||(x=[V(l,"click",n[39]),V(h,"click",n[40])],w=!0)},p(t,n){if(114947&n[0]){let e;for($=t[14],e=0;e<$.length;e+=1){var a=Hi(t,$,e);C[e]?C[e].p(a,n):(C[e]=Yi(a),C[e].c(),C[e].m(i,null))}for(;e<C.length;e+=1)C[e].d(1);C.length=$.length}if(1536&n[0]&&e!==(e=t[10]>=t[9].length?"fill:#F6F6F62E":"")&&fe(d,"style",e),1536&n[0]&&g!==(g=t[10]>=t[9].length?"fill:#F6F6F62E":"")&&fe(p,"style",g),16&n[0]&&f!==(f="ButtonsContainer "+("true"==t[4]?"ButtonsContainerNone":""))&&fe(o,"class",f),434732&n[0]){let e;for(S=t[9],e=0;e<S.length;e+=1){const i=Ni(t,S,e);k[e]?k[e].p(i,n):(k[e]=Vi(i),k[e].c(),k[e].m(b,null))}for(;e<k.length;e+=1)k[e].d(1);k.length=S.length}2048&n[0]&&v!==(v="CasinoWinners "+(t[11]?"Mobile":""))&&fe(r,"class",v)},d(e){e&&he(r),H(C,e),H(k,e),n[42](null),w=!1,Y(x)}}}function Ui(e){let n;return{c(){(n=me("p")).textContent="Loading, please wait ..."},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function Wi(n){let a,r,i,s,o,l=n[15]("Translations.recentWinners")+"";return{c(){a=me("button"),r=pe(l),fe(a,"class",i="WinnersButton "+("recent"==n[8]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),s||(o=V(a,"click",n[37]),s=!0)},p(e,t){32768&t[0]&&l!==(l=e[15]("Translations.recentWinners")+"")&&ye(r,l),257&t[0]&&i!==(i="WinnersButton "+("recent"==e[8]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(a,"class",i)},d(e){e&&he(a),s=!1,o()}}}function zi(n){let a,r,i,s,o,l,c=n[15]("Translations.topWinners")+"";return{c(){a=me("button"),r=pe(c),i=ge(),fe(a,"class",s="WinnersButton "+("top"==n[8]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),de(a,i),o||(l=V(a,"click",n[38]),o=!0)},p(e,t){32768&t[0]&&c!==(c=e[15]("Translations.topWinners")+"")&&ye(r,c),258&t[0]&&s!==(s="WinnersButton "+("top"==e[8]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(a,"class",s)},d(e){e&&he(a),o=!1,l()}}}function Yi(e){let n,a,r="recent"==e[66]&&Wi(e),i="top"==e[66]&&zi(e);return{c(){r&&r.c(),n=ge(),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[66]?r?r.p(e,t):((r=Wi(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null),"top"==e[66]?i?i.p(e,t):((i=zi(e)).c(),i.m(a.parentNode,a)):i&&(i.d(1),i=null)},d(e){r&&r.d(e),e&&he(n),i&&i.d(e),e&&he(a)}}}function Vi(n){let a,r,i,s,o,l,c,d,u,h,m,p,g,f,y,b,v,w,x,$,C,S,k,_,T=n[63].gameName+"",F=n[17](n[63].username)+"",M=n[15]("Translations.won")+"",L=n[63].specifiedCurrencyAmount.toFixed(2)+"",E=(n[5]?n[3]:n[2])+"";function G(){return n[41](n[63])}return{c(){a=me("div"),r=me("div"),i=me("img"),l=ge(),c=me("p"),d=pe(T),u=ge(),h=me("p"),m=pe(F),p=ge(),g=me("p"),f=pe(M),y=ge(),b=me("p"),v=pe(L),w=ge(),x=me("span"),$=pe(E),C=ge(),ce(i.src,s=n[63]?.gameModel?.thumbnail)||fe(i,"src",s),fe(i,"alt",o=n[63]?.gameModel?.thumbnail),fe(i,"class","WinnersImage"),fe(g,"class","WinnerUsername"),fe(r,"class","WinnerCard"),fe(a,"class",S="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,h),de(h,m),de(r,p),de(r,g),de(g,f),de(r,y),de(r,b),de(b,v),de(b,w),de(b,x),de(x,$),de(a,C),k||(_=V(i,"click",G),k=!0)},p(e,t){n=e,512&t[0]&&!ce(i.src,s=n[63]?.gameModel?.thumbnail)&&fe(i,"src",s),512&t[0]&&o!==(o=n[63]?.gameModel?.thumbnail)&&fe(i,"alt",o),512&t[0]&&T!==(T=n[63].gameName+"")&&ye(d,T),512&t[0]&&F!==(F=n[17](n[63].username)+"")&&ye(m,F),32768&t[0]&&M!==(M=n[15]("Translations.won")+"")&&ye(f,M),512&t[0]&&L!==(L=n[63].specifiedCurrencyAmount.toFixed(2)+"")&&ye(v,L),44&t[0]&&E!==(E=(n[5]?n[3]:n[2])+"")&&ye($,E),8192&t[0]&&S!==(S="CardWrapper "+(n[13]?"CardWrapperAnimation":""))&&fe(a,"class",S)},d(e){e&&he(a),k=!1,_()}}}function Zi(n){let a;function r(e){return e[12]?Ui:ji}let i=r(n),s=i(n);return{c(){a=me("div"),s.c(),this.c=z},m(e,t){ue(e,a,t),s.m(a,null),n[43](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:z,o:z,d(e){e&&he(a),s.d(),n[43](null)}}}function Ki(t,e,a){let D;ot(t,za,e=>a(15,D=e));let r,n,A,i,B,s,O,o,l,c,{endpoint:d=""}=e,{session:u=""}=e,{userid:h=""}=e,{periodrecent:m="Today"}=e,{periodtop:p="Last7Days"}=e,{numberusersrecent:g="20"}=e,{numberuserstop:f="20"}=e,{amountlimit:y="1"}=e,{vendorCategory:b="All"}=e,{lang:v="en"}=e,{isrecentavailable:w="true"}=e,{istopavailable:x="true"}=e,{defaultcurrency:$=""}=e,{usercurrency:C=""}=e,{clientstyling:S=""}=e,{clientstylingurl:k=""}=e,{enableautoscroll:_=""}=e,{tabsorder:T=""}=e,{translationurl:F=""}=e,{winnersdatasources:M=""}=e,L=[],E=0,G=0,N=window.navigator.userAgent,P=!0,H=!1,j=[];Object.keys(Oi).forEach(e=>{Bi(e,Oi[e])});const I=()=>{j=M.split(",").map(function(e){return e.trim()});const t=new URL(`${d}/casino/${n}-winners`);t.searchParams.append("limit","recent"==n?g:f),t.searchParams.append("specifiedCurrency",c),t.searchParams.append("period","recent"==n?m:p),t.searchParams.append("language",v),t.searchParams.append("amountLimit",y),t.searchParams.append("vendorCategory",b),j.forEach(e=>{t.searchParams.append("dataSources",e)}),fetch(t.href).then(e=>e.json()).then(e=>{a(9,L=[]),a(9,L=e.items.map(e=>e)),setTimeout(()=>{a(10,G=Math.round(r.offsetWidth/225)),W(),"true"==_&&(clearInterval(o),E=0,G<O?o=setInterval(()=>{V()},3e3):clearInterval(o)),a(12,P=!1)},5)})},R=e=>{n!==e&&(a(9,L=[]),a(8,n=e),I())},U=(e,t,n)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"WinnersWidget",gameId:""+e,userId:""+(B||"Not logged in")})},W=n=>{const e=[...r.children];O=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),setTimeout(()=>{a(13,H=!0)},10)},z=()=>{W(E)},Y=()=>{var e;G>=L.length||(e=L.length,0===E?E=e-G:E-G<0?E=0:E-=G,z())},V=()=>{var e;G>=L.length||(e=L.length,"true"==_&&(E===e-G?E=0:E++),"false"==_&&(E===e-G?E=0:e-G<E+G?E=e-G:E+=G),z())},Z=()=>{a(36,c=i?C:$)};return lt(()=>(a(11,A=it(N)),()=>{clearInterval(o)})),t.$$set=e=>{"endpoint"in e&&a(22,d=e.endpoint),"session"in e&&a(23,u=e.session),"userid"in e&&a(24,h=e.userid),"periodrecent"in e&&a(25,m=e.periodrecent),"periodtop"in e&&a(26,p=e.periodtop),"numberusersrecent"in e&&a(27,g=e.numberusersrecent),"numberuserstop"in e&&a(28,f=e.numberuserstop),"amountlimit"in e&&a(21,y=e.amountlimit),"vendorCategory"in e&&a(29,b=e.vendorCategory),"lang"in e&&a(30,v=e.lang),"isrecentavailable"in e&&a(0,w=e.isrecentavailable),"istopavailable"in e&&a(1,x=e.istopavailable),"defaultcurrency"in e&&a(2,$=e.defaultcurrency),"usercurrency"in e&&a(3,C=e.usercurrency),"clientstyling"in e&&a(31,S=e.clientstyling),"clientstylingurl"in e&&a(32,k=e.clientstylingurl),"enableautoscroll"in e&&a(4,_=e.enableautoscroll),"tabsorder"in e&&a(33,T=e.tabsorder),"translationurl"in e&&a(34,F=e.translationurl),"winnersdatasources"in e&&a(35,M=e.winnersdatasources)},t.$$.update=()=>{if(2116026371&t.$$.dirty[0]|4&t.$$.dirty[1]&&w&&x&&m&&p&&g&&f&&y&&b&&v&&T&&(a(14,l=T.split(",")),a(8,n=l[0]),"false"==w&&a(21,y=""),Z(),a(12,P=!1)),12582912&t.$$.dirty[0]&&u&&d&&(a(5,i=!0),B=h),32&t.$$.dirty[0]&&i&&Z(),4194304&t.$$.dirty[0]|32&t.$$.dirty[1]&&d&&c&&I(),1073741824&t.$$.dirty[0]&&v&&(e=v,rt.set(e)),8&t.$$.dirty[1]&&F&&(e=new URL(F),fetch(e.href).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Bi(e,t[e])})}).catch(e=>{console.log(e)})),64&t.$$.dirty[0]|1&t.$$.dirty[1]&&S&&s){let e=document.createElement("style");e.innerHTML=S,s.appendChild(e)}if(64&t.$$.dirty[0]|2&t.$$.dirty[1]&&k&&s){let e=new URL(k),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1),setTimeout(()=>{},500)})}var e;16&t.$$.dirty[1]&&M&&I()},[w,x,$,C,_,i,s,r,n,L,G,A,P,H,l,D,R,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),U,Y,V,y,d,u,h,m,p,g,f,b,v,S,k,T,F,M,c,()=>R("recent"),()=>R("top"),()=>Y(),()=>V(),e=>U(e.gameId,e.gameModel.launchUrl,e.gameModel.name),function(e){at[e?"unshift":"push"](()=>{r=e,a(7,r)})},function(e){at[e?"unshift":"push"](()=>{s=e,a(6,s)})}]}function Xi(e,t){ka(e,t)}customElements.get("casino-winners")||customElements.define("casino-winners",class extends r{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>",a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ki,Zi,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,winnersdatasources:35},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","winnersdatasources"]}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()}get winnersdatasources(){return this.$$.ctx[35]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),f()}});const qi={en:{jackpotBanners:{loadingText:"Loading, please wait..."}},"zh-hk":{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 Ji(e,t,n){const a=e.slice();return a[49]=t[n],a[51]=n,a}function Qi(n){let a,r,i,s,o,l,c,d,u,h,m,p,g,f,y,b,v;function w(e){return e[5]?ns:as}let x=w(n),$=x(n);return{c(){a=me("div"),r=me("div"),i=me("div"),s=me("div"),o=me("img"),c=ge(),d=me("div"),$.c(),u=ge(),h=me("div"),m=me("img"),ce(o.src,l=n[6])||fe(o,"src",l),fe(o,"alt",""),fe(s,"class","vendorLogo"),fe(d,"class","displayContainer"),ce(m.src,p=n[11])||fe(m,"src",p),fe(m,"alt",""),fe(h,"class","title"),fe(i,"class",g="mainWrapper "+n[0]+" "+(n[4]&&!n[5]?"mobile":n[5]?"tablet":"")),_(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),$.m(d,null),de(i,u),de(i,h),de(h,m),b||(v=V(r,"click",n[32]),b=!0)},p(e,t){64&t[0]&&!ce(o.src,l=e[6])&&fe(o,"src",l),x===(x=w(e))&&$?$.p(e,t):($.d(1),($=x(e))&&($.c(),$.m(d,null))),2048&t[0]&&!ce(m.src,p=e[11])&&fe(m,"src",p),49&t[0]&&g!==(g="mainWrapper "+e[0]+" "+(e[4]&&!e[5]?"mobile":e[5]?"tablet":""))&&fe(i,"class",g),1024&t[0]&&_(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&&he(a),$.d(),b=!1,v()}}}function es(e){let n,a,r=e[14]("jackpotBanners.loadingText")+"";return{c(){n=me("p"),a=pe(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&&he(n)}}}function ts(e){let n;return{c(){(n=me("p")).textContent="500 Server error"},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function ns(e){let n,a,r,i,s,o,A,l,c,B,O,d,N,H,u,h,m,p,g,j,f,y,U,W,b,z,Y,v,w,x,$,C,S,V,k,_,Z,K,T,X,q,F,M,L,E,G,J,P,I,Q,ee,R,te,D=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=me("div"),a=me("div"),r=me("div"),i=me("img"),o=me("span"),A=pe(D),l=me("span"),c=me("span"),B=pe(ne),O=ge(),d=me("span"),N=pe(e[1]),H=ge(),u=me("div"),h=me("div"),m=me("img"),g=me("span"),j=pe(ae),f=me("span"),y=me("span"),U=pe(re),W=ge(),b=me("span"),z=pe(e[1]),Y=ge(),v=me("div"),w=me("div"),x=me("div"),$=me("img"),S=me("span"),V=pe(ie),k=me("span"),_=me("span"),Z=pe(se),K=ge(),T=me("span"),X=pe(e[1]),q=ge(),F=me("div"),M=me("div"),L=me("img"),G=me("span"),J=pe(oe),P=me("span"),I=me("span"),Q=pe(le),ee=ge(),R=me("span"),te=pe(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(m,"class","displayCardIcon"),ce(m.src,p=e[9][1])||fe(m,"src",p),fe(m,"alt",""),fe(g,"class","cardLabel"),fe(h,"class","iconWrapper"),fe(y,"class","jackpotValue"),fe(b,"class","jackpot-currency"),fe(f,"class","cardTextWrapper"),fe(u,"class","displayCard"),fe(n,"class","pairWrapper"),fe($,"class","displayCardIcon"),ce($.src,C=e[9][2])||fe($,"src",C),fe($,"alt",""),fe(S,"class","cardLabel"),fe(x,"class","iconWrapper"),fe(_,"class","jackpotValue"),fe(T,"class","jackpot-currency"),fe(k,"class","cardTextWrapper"),fe(w,"class","displayCard"),fe(L,"class","displayCardIcon"),ce(L.src,E=e[9][3])||fe(L,"src",E),fe(L,"alt",""),fe(G,"class","cardLabel"),fe(M,"class","iconWrapper"),fe(I,"class","jackpotValue"),fe(R,"class","jackpot-currency"),fe(P,"class","cardTextWrapper"),fe(F,"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,A),de(a,l),de(l,c),de(c,B),de(l,O),de(l,d),de(d,N),de(n,H),de(n,u),de(u,h),de(h,m),de(h,g),de(g,j),de(u,f),de(f,y),de(y,U),de(f,W),de(f,b),de(b,z),ue(e,Y,t),ue(e,v,t),de(v,w),de(w,x),de(x,$),de(x,S),de(S,V),de(w,k),de(k,_),de(_,Z),de(k,K),de(k,T),de(T,X),de(v,q),de(v,F),de(F,M),de(M,L),de(M,G),de(G,J),de(F,P),de(P,I),de(I,Q),de(P,ee),de(P,R),de(R,te)},p(e,t){512&t[0]&&!ce(i.src,s=e[9][0])&&fe(i,"src",s),256&t[0]&&D!==(D=e[8][0]+"")&&ye(A,D),128&t[0]&&ne!==(ne=e[7][0]+"")&&ye(B,ne),2&t[0]&&ye(N,e[1]),512&t[0]&&!ce(m.src,p=e[9][1])&&fe(m,"src",p),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(z,e[1]),512&t[0]&&!ce($.src,C=e[9][2])&&fe($,"src",C),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(L.src,E=e[9][3])&&fe(L,"src",E),256&t[0]&&oe!==(oe=e[8][3]+"")&&ye(J,oe),128&t[0]&&le!==(le=e[7][3]+"")&&ye(Q,le),2&t[0]&&ye(te,e[1])},d(e){e&&he(n),e&&he(Y),e&&he(v)}}}function as(t){let r,i=Array(4),s=[];for(let e=0;e<i.length;e+=1)s[e]=rs(Ji(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=Ji(t,i,e);s[e]?s[e].p(a,n):(s[e]=rs(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){H(s,e),e&&he(r)}}}function rs(e){let n,a,r,i,s,o,l,c,d,u,h,m,p=e[8][e[51]]+"",g=(e[7][e[51]]??"")+"";return{c(){n=me("div"),a=me("div"),r=me("img"),s=me("span"),o=pe(p),l=me("span"),c=me("span"),d=pe(g),u=ge(),h=me("span"),m=pe(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(h,"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,h),de(h,m)},p(e,t){512&t[0]&&!ce(r.src,i=e[9][e[51]])&&fe(r,"src",i),256&t[0]&&p!==(p=e[8][e[51]]+"")&&ye(o,p),128&t[0]&&g!==(g=(e[7][e[51]]??"")+"")&&ye(d,g),2&t[0]&&ye(m,e[1])},d(e){e&&he(n)}}}function is(n){let a;function r(e){return e[13]?ts:e[3]?es:Qi}let i=r(n),s=i(n);return{c(){a=me("div"),s.c(),this.c=z},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:z,o:z,d(e){e&&he(a),s.d(),n[33](null)}}}function ss(n,e,a){let t;ot(n,za,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:h=""}=e,{backgroundsrc:m=""}=e,{currency:p=""}=e,{backgroundsrcmobile:g=""}=e,{titlelogopath:f=""}=e,{lang:y="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{translationurl:w=""}=e,{endpoint:x=""}=e,{gameid:$=""}=e,D=window.navigator.userAgent,C=!1,S=!1,k="",_=[],T=[],F=[],M=[],L=[],E="",G="",P=!1,I=!0,A=!1;Object.keys(qi).forEach(e=>{Xi(e,qi[e])});const R=["typeSpread","typeLeft"],B=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:$},window.location.href),"function"==typeof gtag&>ag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:""+$})};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,h=e.iconlabels),"backgroundsrc"in e&&a(22,m=e.backgroundsrc),"currency"in e&&a(1,p=e.currency),"backgroundsrcmobile"in e&&a(23,g=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,x=e.endpoint),"gameid"in e&&a(30,$=e.gameid)},n.$$.update=()=>{if(536870912&n.$$.dirty[0]&&x&&(t=new URL(x+"/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,P=!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,P=!1)},500)})}if(570425346&n.$$.dirty[0]|1&n.$$.dirty[1]&&x&&y&&p&&0<T.length&&(x&&y&&p)){let e=new URL(x+"/casino/jackpots");e.searchParams.append("filter","id="+$),e.searchParams.append("language",y),e.searchParams.append("additionalDataCurrency",p),fetch(e.href).then(e=>e.json().then(e=>{a(3,I=!1),i=e,T.includes($)&&((e=null==(e=null==(e=i)?void 0:e.items[0])?void 0:e.additionalData)&&Object.values(e).forEach(e=>_.push(+e)),e=i,a(6,k=(null==(e=null==e?void 0:e.items[0])?void 0:e.vendorLogo)||""))}).catch(e=>{a(13,A=!0),a(3,I=!1),console.error(e)}))}var e,t;33554442&n.$$.dirty[0]&&p&&y&&!I&&(a(4,C=it(D)&&1<window.innerHeight/window.innerWidth),a(5,S=.75<(t=window.innerHeight/window.innerWidth)&&t<1.6),0!==_.length&&a(7,F=_.map(e=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(e))),a(8,M=h?h.split(",").map(e=>e.trim().toUpperCase()):new Array(4).fill("")),R.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 "${R[0]}"`),a(0,s=R[0])),a(10,E=g&&C&&!S?g:m),a(11,G=f),a(9,L=[l,c,d,u])),33554432&n.$$.dirty[0]&&y&&(e=y,rt.set(e)),268435456&n.$$.dirty[0]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Xi(e,t[e])})}).catch(e=>{console.log(e)})},[s,p,r,I,C,S,k,F,M,L,E,G,P,A,t,B,o,l,c,d,u,h,m,g,f,y,b,v,w,x,$,T,()=>B(),function(e){at[e?"unshift":"push"](()=>{r=e,a(2,r)})}]}function os(e,t){ka(e,t)}customElements.get("jackpot-banner")||customElements.define("jackpot-banner",class extends r{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:auto;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>',a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ss,is,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 ls={en:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},"zh-hk":{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 cs(e,t,n){const a=e.slice();return a[39]=t[n],a}function ds(e,t,n){const a=e.slice();return a[42]=t[n],a}function us(n){let r,a,i,s,o,l,c,d,u,h,m,e,p,g,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]=ys(cs(n,y,e));return{c(){r=me("div"),a=me("div"),i=me("p"),s=pe(f),o=ge(),l=me("div"),(c=me("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=ge(),(u=me("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>',h=ge(),m=me("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(m,"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,h),de(r,m);for(let e=0;e<b.length;e+=1)b[e].m(m,null);n[23](m),p||(g=[V(c,"click",n[19]),V(u,"click",n[20])],p=!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=cs(t,y,e);b[e]?b[e].p(a,n):(b[e]=ys(a),b[e].c(),b[e].m(m,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&&he(r),H(b,e),n[23](null),p=!1,Y(g)}}}function hs(e){let n,a,r=e[8]("Translations.loading")+"";return{c(){n=me("p"),a=pe(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&&he(n)}}}function ms(e){let n,a,r=e[39].name+"";return{c(){n=me("p"),a=pe(r),fe(n,"class","CategorySlideTitle")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){8&t[0]&&r!==(r=e[39].name+"")&&ye(a,r)},d(e){e&&he(n)}}}function ps(e){let n,a,r;return{c(){fe(n=me("img"),"class","CategorySlideLogo"),ce(n.src,a=e[39].icon)||fe(n,"src",a),fe(n,"alt",r=e[39].name+" icon")},m(e,t){ue(e,n,t)},p(e,t){8&t[0]&&!ce(n.src,a=e[39].icon)&&fe(n,"src",a),8&t[0]&&r!==(r=e[39].name+" icon")&&fe(n,"alt",r)},d(e){e&&he(n)}}}function gs(e){let n,a,r,i=e[42].name+"";return{c(){n=me("p"),a=pe(i),fe(n,"title",r=e[42].name)},m(e,t){ue(e,n,t),de(n,a)},p(e,t){8&t[0]&&i!==(i=e[42].name+"")&&ye(a,i),8&t[0]&&r!==(r=e[42].name)&&fe(n,"title",r)},d(e){e&&he(n)}}}function fs(n){let a,r,i,s,o,l,c,d;function u(){return n[21](n[42])}let h="true"==n[2]&&gs(n);return{c(){a=me("div"),r=me("img"),o=ge(),h&&h.c(),l=ge(),fe(r,"class","CategorySlideGameImage"),ce(r.src,i=n[42].defaultThumbnail)||fe(r,"src",i),fe(r,"alt",s=n[42].name),fe(a,"class","CategorySlideGames")},m(e,t){var n;ue(e,a,t),de(a,r),de(a,o),h&&h.m(a,null),de(a,l),c||(d=V(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[42].defaultThumbnail)&&fe(r,"src",i),8&t[0]&&s!==(s=n[42].name)&&fe(r,"alt",s),"true"==n[2]?h?h.p(n,t):((h=gs(n)).c(),h.m(a,l)):h&&(h.d(1),h=null)},d(e){e&&he(a),h&&h.d(),c=!1,d()}}}function ys(n){let a,r,i,s,o,l,c,d,u;function h(e){return"logo"==e[1]?ps:"title"==e[1]?ms:void 0}let m=h(n),p=m&&m(n),g=n[39].games,f=[];for(let e=0;e<g.length;e+=1)f[e]=fs(ds(n,g,e));function y(){return n[22](n[39])}return{c(){a=me("div"),r=me("div"),i=me("div"),p&&p.c(),s=ge(),o=me("div");for(let e=0;e<f.length;e+=1)f[e].c();c=ge(),fe(i,"class","CategorySlideTopContainer"),fe(o,"class","CategorySlideGameContainer"),fe(r,"class",l="CategorySlide "+("vendor"==n[39]?.flag[0]?"CategorySlideNoHighlight":"")),_(r,"background-image","url("+n[39]?.background+")"),fe(a,"class","CategoriesSliderWrapper Animation")},m(e,t){ue(e,a,t),de(a,r),de(r,i),p&&p.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=V(r,"click",y),d=!0)},p(e,t){if(m===(m=h(n=e))&&p?p.p(n,t):(p&&p.d(1),(p=m&&m(n))&&(p.c(),p.m(i,null))),2060&t[0]){let e;for(g=n[39].games,e=0;e<g.length;e+=1){const r=ds(n,g,e);f[e]?f[e].p(r,t):(f[e]=fs(r),f[e].c(),f[e].m(o,null))}for(;e<f.length;e+=1)f[e].d(1);f.length=g.length}8&t[0]&&l!==(l="CategorySlide "+("vendor"==n[39]?.flag[0]?"CategorySlideNoHighlight":""))&&fe(r,"class",l),8&t[0]&&_(r,"background-image","url("+n[39]?.background+")")},d(e){e&&he(a),p&&p.d(),H(f,e),d=!1,u()}}}function bs(n){let a;function r(e){return e[6]?hs:us}let i=r(n),s=i(n);return{c(){a=me("div"),s.c(),this.c=z},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:z,o:z,d(e){e&&he(a),s.d(),n[24](null)}}}function vs(n,e,a){let t;ot(n,za,e=>a(8,t=e));let r,i,s,o,l,{endpoint:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{type:h=""}=e,{titletype:m=""}=e,{clientstyling:p=""}=e,{clientstylingurl:g=""}=e,{translationurl:f=""}=e,{collectionprovidersgamenames:y=""}=e,b=[],v=!0,w=0,x=0,$=0,C=window.navigator.userAgent;Object.keys(ls).forEach(e=>{os(e,ls[e])});const S=n=>{(s=[...r.children]).forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),s.map(e=>i=e.getBoundingClientRect().width),$=Math.round(r.offsetWidth/i)},k=()=>{S(w)},_=()=>{$>=x||(0===w?w=x-$:w-$<-1?w=0:w--,k())},T=()=>{$>=x||(w===x-$?w=0:x-$<w+1?w=x-$:w++,k())},F=(e,t,n)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:e,launchUrl:t,gameName:n},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"CollectionsProviders",gameName:""+n})},M=e=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:e},window.location.href)};return lt(()=>{a(7,l=it(C))}),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,h=e.type),"titletype"in e&&a(1,m=e.titletype),"clientstyling"in e&&a(16,p=e.clientstyling),"clientstylingurl"in e&&a(17,g=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==h);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}})),x=b.length})}if(24&n.$$.dirty[0]&&b&&r&&S(),32768&n.$$.dirty[0]&&u&&(e=u,rt.set(e)),65568&n.$$.dirty[0]&&p&&o){let e=document.createElement("style");e.innerHTML=p,o.appendChild(e)}if(131104&n.$$.dirty[0]&&g&&o){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)},1)})}var e;262144&n.$$.dirty[0]&&f&&fetch(f).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{os(e,t[e])})}).catch(e=>{console.log(e)})},[h,m,y,b,r,o,v,l,t,_,T,F,M,c,d,u,p,g,f,()=>_(),()=>T(),e=>F(e.gameId,e.launchUrl,e.name),e=>M(e.id),function(e){at[e?"unshift":"push"](()=>{r=e,a(4,r)})},function(e){at[e?"unshift":"push"](()=>{o=e,a(5,o)})}]}function ws(n){let a,r,i,s,o;return{c(){a=me("div"),r=me("casino-games-category-section"),this.c=z,S(r,"session",n[0]),S(r,"userid",n[1]),S(r,"endpoint",n[2]),S(r,"datasource",n[3]),S(r,"lang",n[5]),S(r,"currency",n[4]),S(r,"favorites",n[13]),S(r,"categoryid","FAVORITES"),S(r,"class","CategoryContainer"),S(r,"clientstyling",n[6]),S(r,"clientstylingurl",n[7]),S(r,"livecasino",n[8]),S(r,"visiblegames",n[12]),S(r,"gamepagemodalurl",n[11]),S(r,"integratedgameframedesktop",n[10]),S(r,"integratedgameframemobile",n[9]),S(r,"casinomygames",n[14]),fe(a,"class","CasinoFavoritesSectionContainer")},m(e,t){ue(e,a,t),de(a,r),n[18](a),s||(o=T(i=n[16].call(null,r,(n[2],n[1],n[0],n[1]))),s=!0)},p(e,[t]){1&t&&S(r,"session",e[0]),2&t&&S(r,"userid",e[1]),4&t&&S(r,"endpoint",e[2]),8&t&&S(r,"datasource",e[3]),32&t&&S(r,"lang",e[5]),16&t&&S(r,"currency",e[4]),8192&t&&S(r,"favorites",e[13]),64&t&&S(r,"clientstyling",e[6]),128&t&&S(r,"clientstylingurl",e[7]),256&t&&S(r,"livecasino",e[8]),4096&t&&S(r,"visiblegames",e[12]),2048&t&&S(r,"gamepagemodalurl",e[11]),1024&t&&S(r,"integratedgameframedesktop",e[10]),512&t&&S(r,"integratedgameframemobile",e[9]),16384&t&&S(r,"casinomygames",e[14]),i&&k(i.update)&&7&t&&i.update.call(null,(e[2],e[1],e[0],e[1]))},i:z,o:z,d(e){e&&he(a),n[18](null),s=!1,o()}}}function xs(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:h=""}=t,{livecasino:m="false"}=t,{integratedgameframemobile:p="false"}=t,{integratedgameframedesktop:g="false"}=t,{gamepagemodalurl:f="false"}=t,{visiblegames:y=""}=t,{favorites:b=""}=t,{categoryid:v=""}=t,{casinomygames:w="false"}=t,x=[];var $,C;({withLocale:$,translations:C}={withLocale:"en",translations:{}}),rt.subscribe(e=>{null==e&&(Ca.set(C),rt.set($))});const S=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&&k(l,c,d);break;case"SetUnfavoredGame":e=`${l}/player/${d}/favorites`,t=c,d,s=n.data.id,n.data.triggerFactor,x.includes(s)&&(x=x.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),_(e,t)});break;case"SetFavoredGame":{var a=`${l}/player/${d}/favorites`;var r=c;d;var i=n.data.id;n.data.triggerFactor;x.includes(i)||x.push(i);let e={items:x},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),_(a,r)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":d&&d.length&&c&&0<c.length&&k(l,c,d)}var e,t,s};let k=(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),F(a.items)),a)).then(e=>e).catch(e=>{console.error(e)})};let _=(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)},F=(e=[])=>(x=[],0<e.length&&e.forEach(e=>{x.push(e.id)}),x);return lt(()=>(window.addEventListener("message",S,!1),()=>{window.removeEventListener("message",S)})),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,h=e.clientstylingurl),"livecasino"in e&&o(8,m=e.livecasino),"integratedgameframemobile"in e&&o(9,p=e.integratedgameframemobile),"integratedgameframedesktop"in e&&o(10,g=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&&k(l,c,d),32832&e.$$.dirty&&u&&n){let e=document.createElement("style");e.innerHTML=u,n.appendChild(e)}if(32896&e.$$.dirty&&h&&n){let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1)})}},[c,d,l,r,i,s,u,h,m,p,g,f,y,b,w,n,k,v,function(e){at[e?"unshift":"push"](()=>{n=e,o(15,n)})}]}function $s(e,t){ka(e,t)}customElements.get("casino-collections-providers")||customElements.define("casino-collections-providers",class extends r{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{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.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:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}</style>",a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},vs,bs,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 r{constructor(e){super(),this.shadowRoot.innerHTML="<style>.CasinoFavoritesSectionContainer{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}</style>",a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},xs,ws,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 Cs={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 Ss(e){let n;return{c(){S(n=me("casino-games-category-section"),"session",e[4]),S(n,"userid",e[5]),S(n,"endpoint",e[0]),S(n,"datasource",e[1]),S(n,"lang",e[3]),S(n,"currency",e[2]),S(n,"favorites",e[13]),S(n,"categoryid","LASTPLAYED"),S(n,"categoryindex","1"),S(n,"categorygames","9"),S(n,"class","CategoryContainer"),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[12]),S(n,"gamepagemodalurl",e[11]),S(n,"integratedgameframedesktop",e[10]),S(n,"integratedgameframemobile",e[9]),S(n,"casinomygames",e[14])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&S(n,"session",e[4]),32&t[0]&&S(n,"userid",e[5]),1&t[0]&&S(n,"endpoint",e[0]),2&t[0]&&S(n,"datasource",e[1]),8&t[0]&&S(n,"lang",e[3]),4&t[0]&&S(n,"currency",e[2]),8192&t[0]&&S(n,"favorites",e[13]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),4096&t[0]&&S(n,"visiblegames",e[12]),2048&t[0]&&S(n,"gamepagemodalurl",e[11]),1024&t[0]&&S(n,"integratedgameframedesktop",e[10]),512&t[0]&&S(n,"integratedgameframemobile",e[9]),16384&t[0]&&S(n,"casinomygames",e[14])},d(e){e&&he(n)}}}function ks(e){let n,a,r=e[17]("LastPlayedTranslations.noRecentGames")+"";return{c(){n=me("p"),a=pe(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&&he(n)}}}function _s(n){let a,r;function i(e){return e[16]?ks:Ss}let s=i(n),o=s(n);return{c(){a=me("div"),r=me("div"),o.c(),this.c=z,fe(r,"class","CasinoLastPlayedSection"),fe(a,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,a,t),de(a,r),o.m(r,null),n[23](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:z,o:z,d(e){e&&he(a),o.d(),n[23](null)}}}function Ts(t,e,n){let a;ot(t,za,e=>n(17,a=e));let r,i,{endpoint:s=""}=e,{datasource:o=""}=e,{currency:l=""}=e,{lang:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{clientstyling:h=""}=e,{clientstylingurl:m=""}=e,{translationurl:p=""}=e,{livecasino:g="false"}=e,{integratedgameframemobile:f="false"}=e,{integratedgameframedesktop:y="false"}=e,{gamepagemodalurl:b="false"}=e,{visiblegames:v=""}=e,{favorites:w=""}=e,{lastplayedperiod:x="Last30Days"}=e,{lastplayedorder:$=""}=e,{lastplayedlimit:C=""}=e,{casinomygames:S="false"}=e,{lastplayedunique:k="true"}=e,_=window.navigator.userAgent,T=!1,F;Object.keys(Cs).forEach(e=>{$s(e,Cs[e])});return t.$$set=e=>{"endpoint"in e&&n(0,s=e.endpoint),"datasource"in e&&n(1,o=e.datasource),"currency"in e&&n(2,l=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,h=e.clientstyling),"clientstylingurl"in e&&n(7,m=e.clientstylingurl),"translationurl"in e&&n(18,p=e.translationurl),"livecasino"in e&&n(8,g=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,x=e.lastplayedperiod),"lastplayedorder"in e&&n(20,$=e.lastplayedorder),"lastplayedlimit"in e&&n(21,C=e.lastplayedlimit),"casinomygames"in e&&n(14,S=e.casinomygames),"lastplayedunique"in e&&n(22,k=e.lastplayedunique)},t.$$.update=()=>{if(41&t.$$.dirty[0]&&s&&u&&c&&new Promise((e,t)=>{let n=new URL(`${s}/player/${u}/games/last-played`);n.searchParams.append("unique",k),n.searchParams.append("limit",C),n.searchParams.append("order",$),n.searchParams.append("period",x),"PC"===st(_)?n.searchParams.append("device","Desktop"):n.searchParams.append("device","Mobile"),r=g?n:n.href,fetch(r).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(s+"/casino/games/"+e.gameId);t.searchParams.append("datasource",o),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{F=e.map(e=>e[0]),window.postMessage({type:"LastPlayedData",lastPlayedGames:F},window.location.href)})}else n(16,T=!0)}),262144&t.$$.dirty[0]&&p&&(e=translationUrl,fetch(e).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{$s(e,t[e])})}).catch(e=>{console.log(e)})),32832&t.$$.dirty[0]&&h&&i){let e=document.createElement("style");e.innerHTML=h,i.appendChild(e)}if(32896&t.$$.dirty[0]&&m&&i){let t=document.createElement("style");fetch(new URL(m)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e;8&t.$$.dirty[0]&&c&&(e=c,rt.set(e))},[s,o,l,c,d,u,h,m,g,f,y,b,v,w,S,i,T,a,p,x,$,C,k,function(e){at[e?"unshift":"push"](()=>{i=e,n(15,i)})}]}function Fs(e){let n;return{c(){S(n=me("casino-games-category-section"),"session",e[4]),S(n,"userid",e[5]),S(n,"endpoint",e[0]),S(n,"datasource",e[1]),S(n,"lang",e[3]),S(n,"currency",e[2]),S(n,"favorites",e[13]),S(n,"categoryid","MOSTPLAYED"),S(n,"categoryindex","1"),S(n,"categorygames","9"),S(n,"class","CategoryContainer"),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[12]),S(n,"gamepagemodalurl",e[11]),S(n,"integratedgameframedesktop",e[10]),S(n,"integratedgameframemobile",e[9]),S(n,"casinomygames",e[14])},m(e,t){ue(e,n,t)},p(e,t){16&t&&S(n,"session",e[4]),32&t&&S(n,"userid",e[5]),1&t&&S(n,"endpoint",e[0]),2&t&&S(n,"datasource",e[1]),8&t&&S(n,"lang",e[3]),4&t&&S(n,"currency",e[2]),8192&t&&S(n,"favorites",e[13]),64&t&&S(n,"clientstyling",e[6]),128&t&&S(n,"clientstylingurl",e[7]),256&t&&S(n,"livecasino",e[8]),4096&t&&S(n,"visiblegames",e[12]),2048&t&&S(n,"gamepagemodalurl",e[11]),1024&t&&S(n,"integratedgameframedesktop",e[10]),512&t&&S(n,"integratedgameframemobile",e[9]),16384&t&&S(n,"casinomygames",e[14])},d(e){e&&he(n)}}}function Ms(e){let n;return{c(){(n=me("p")).textContent="No games in most played",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function Ls(n){let a,r;function i(e){return e[16]?Ms:Fs}let s=i(n),o=s(n);return{c(){a=me("div"),r=me("div"),o.c(),this.c=z,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[19](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:z,o:z,d(e){e&&he(a),o.d(),n[19](null)}}}function Es(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:h=""}=e,{livecasino:m="false"}=e,{integratedgameframemobile:p="false"}=e,{integratedgameframedesktop:g="false"}=e,{gamepagemodalurl:f="false"}=e,y=e["visiblegames"],{favorites:b=""}=e,{lastPlayedEmpty:v=""}=e,{casinomygames:w="false"}=e,{mostplayedperiod:x="Last30Days"}=e,$=window.navigator.userAgent,C=[],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,h=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"integratedgameframemobile"in e&&n(9,p=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,g=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),"mostplayedperiod"in e&&n(18,x=e.mostplayedperiod)},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"),t.searchParams.append("period",x);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=m?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:st($),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=>{C=e.map(e=>e[0]),"true"===w&&(C=C.slice(0,JSON.parse(y))),window.postMessage({type:"MostPlayedData",mostPlayedGames:C},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&&h&&r){let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e;8&t.$$.dirty&&l&&(e=l,rt.set(e))},[i,s,o,l,c,d,u,h,m,p,g,f,y,b,w,r,S,v,x,function(e){at[e?"unshift":"push"](()=>{r=e,n(15,r)})}]}function Gs(e,t){ka(e,t)}customElements.get("casino-last-played-section")||customElements.define("casino-last-played-section",class extends r{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>",a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ts,_s,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,lastplayedorder:20,lastplayedlimit:21,casinomygames:14,lastplayedunique:22},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","lastplayedorder","lastplayedlimit","casinomygames","lastplayedunique"]}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 lastplayedorder(){return this.$$.ctx[20]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),f()}get lastplayedlimit(){return this.$$.ctx[21]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),f()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),f()}get lastplayedunique(){return this.$$.ctx[22]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),f()}}),customElements.get("casino-most-played-section")||customElements.define("casino-most-played-section",class extends r{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>",a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Es,Ls,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,mostplayedperiod:18},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","mostplayedperiod"]}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()}get mostplayedperiod(){return this.$$.ctx[18]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),f()}});const Ps={en:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},"zh-hk":{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 Is(e,t,n){const a=e.slice();return a[40]=t[n],a}function Rs(t){let r,n,i,a,s,e,o=t[26],l=[];for(let e=0;e<o.length;e+=1)l[e]=Os(Is(t,o,e));function c(e){return"Favorites"==e[24]?js:"MostPlayed"==e[24]?Hs:"LastPlayed"==e[24]?Ns:void 0}let d=c(t),u=d&&d(t);return{c(){r=me("div"),n=me("div"),i=me("div");for(let e=0;e<l.length;e+=1)l[e].c();a=ge(),s=me("div"),u&&u.c(),fe(i,"class","MyGamesButtonsContainer"),fe(n,"class","MyGamesHeader"),fe(r,"class",e="CasinoMyGames "+(t[25]?"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(486596608&n[0]){let e;for(o=t[26],e=0;e<o.length;e+=1){var a=Is(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))),33554432&n[0]&&e!==(e="CasinoMyGames "+(t[25]?"Mobile":""))&&fe(r,"class",e)},d(e){e&&he(r),H(l,e),u&&u.d()}}}function Ds(n){let a,r,i,s,o,l=n[27]("Translations.favorites")+"";return{c(){a=me("button"),r=pe(l),fe(a,"class",i="MyGamesButton "+("Favorites"==n[24]?"Active":"")+" "+("false"==n[13]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),s||(o=V(a,"click",n[30]),s=!0)},p(e,t){134217728&t[0]&&l!==(l=e[27]("Translations.favorites")+"")&&ye(r,l),16785408&t[0]&&i!==(i="MyGamesButton "+("Favorites"==e[24]?"Active":"")+" "+("false"==e[13]?"Off":""))&&fe(a,"class",i)},d(e){e&&he(a),s=!1,o()}}}function As(n){let a,r,i,s,o,l=n[27]("Translations.mostPlayed")+"";return{c(){a=me("button"),r=pe(l),fe(a,"class",i="MyGamesButton "+("MostPlayed"==n[24]?"Active":"")+" "+("false"==n[14]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),s||(o=V(a,"click",n[31]),s=!0)},p(e,t){134217728&t[0]&&l!==(l=e[27]("Translations.mostPlayed")+"")&&ye(r,l),16793600&t[0]&&i!==(i="MyGamesButton "+("MostPlayed"==e[24]?"Active":"")+" "+("false"==e[14]?"Off":""))&&fe(a,"class",i)},d(e){e&&he(a),s=!1,o()}}}function Bs(n){let a,r,i,s,o,l,c=n[27]("Translations.recentlyPlayed")+"";return{c(){a=me("button"),r=pe(c),i=ge(),fe(a,"class",s="MyGamesButton "+("LastPlayed"==n[24]?"Active":"")+" "+("false"==n[15]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),de(a,i),o||(l=V(a,"click",n[32]),o=!0)},p(e,t){134217728&t[0]&&c!==(c=e[27]("Translations.recentlyPlayed")+"")&&ye(r,c),16809984&t[0]&&s!==(s="MyGamesButton "+("LastPlayed"==e[24]?"Active":"")+" "+("false"==e[15]?"Off":""))&&fe(a,"class",s)},d(e){e&&he(a),o=!1,l()}}}function Os(e){let n,a,r,i="Favorites"==e[40]&&Ds(e),s="MostPlayed"==e[40]&&As(e),o="LastPlayed"==e[40]&&Bs(e);return{c(){i&&i.c(),n=ge(),s&&s.c(),a=ge(),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[40]?i?i.p(e,t):((i=Ds(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),"MostPlayed"==e[40]?s?s.p(e,t):((s=As(e)).c(),s.m(a.parentNode,a)):s&&(s.d(1),s=null),"LastPlayed"==e[40]?o?o.p(e,t):((o=Bs(e)).c(),o.m(r.parentNode,r)):o&&(o.d(1),o=null)},d(e){i&&i.d(e),e&&he(n),s&&s.d(e),e&&he(a),o&&o.d(e),e&&he(r)}}}function Ns(e){let n;return{c(){S(n=me("casino-last-played-section"),"userid",e[0]),S(n,"endpoint",e[2]),S(n,"datasource",e[3]),S(n,"favorites",e[13]),S(n,"lang",e[4]),S(n,"currency",e[5]),S(n,"session",e[1]),S(n,"class","CategoryContainer"),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[9]),S(n,"lastplayedperiod",e[17]),S(n,"lastplayedorder",e[19]),S(n,"lastplayedlimit",e[20]),S(n,"lastplayedunique",e[21]),S(n,"gamepagemodalurl",e[10]),S(n,"integratedgameframedesktop",e[11]),S(n,"integratedgameframemobile",e[12]),S(n,"casinomygames",e[16])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&S(n,"userid",e[0]),4&t[0]&&S(n,"endpoint",e[2]),8&t[0]&&S(n,"datasource",e[3]),8192&t[0]&&S(n,"favorites",e[13]),16&t[0]&&S(n,"lang",e[4]),32&t[0]&&S(n,"currency",e[5]),2&t[0]&&S(n,"session",e[1]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),512&t[0]&&S(n,"visiblegames",e[9]),131072&t[0]&&S(n,"lastplayedperiod",e[17]),524288&t[0]&&S(n,"lastplayedorder",e[19]),1048576&t[0]&&S(n,"lastplayedlimit",e[20]),2097152&t[0]&&S(n,"lastplayedunique",e[21]),1024&t[0]&&S(n,"gamepagemodalurl",e[10]),2048&t[0]&&S(n,"integratedgameframedesktop",e[11]),4096&t[0]&&S(n,"integratedgameframemobile",e[12]),65536&t[0]&&S(n,"casinomygames",e[16])},d(e){e&&he(n)}}}function Hs(e){let n;return{c(){S(n=me("casino-most-played-section"),"endpoint",e[2]),S(n,"datasource",e[3]),S(n,"lang",e[4]),S(n,"currency",e[5]),S(n,"session",e[1]),S(n,"userid",e[0]),S(n,"favorites",e[13]),S(n,"categoryindex","0"),S(n,"class","CategoryContainer"),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[9]),S(n,"gamepagemodalurl",e[10]),S(n,"mostplayedrounds",e[22]),S(n,"integratedgameframedesktop",e[11]),S(n,"integratedgameframemobile",e[12]),S(n,"mostplayedperiod",e[18]),S(n,"casinomygames",e[16])},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&S(n,"endpoint",e[2]),8&t[0]&&S(n,"datasource",e[3]),16&t[0]&&S(n,"lang",e[4]),32&t[0]&&S(n,"currency",e[5]),2&t[0]&&S(n,"session",e[1]),1&t[0]&&S(n,"userid",e[0]),8192&t[0]&&S(n,"favorites",e[13]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),512&t[0]&&S(n,"visiblegames",e[9]),1024&t[0]&&S(n,"gamepagemodalurl",e[10]),4194304&t[0]&&S(n,"mostplayedrounds",e[22]),2048&t[0]&&S(n,"integratedgameframedesktop",e[11]),4096&t[0]&&S(n,"integratedgameframemobile",e[12]),262144&t[0]&&S(n,"mostplayedperiod",e[18]),65536&t[0]&&S(n,"casinomygames",e[16])},d(e){e&&he(n)}}}function js(e){let n;return{c(){S(n=me("casino-favorites-section"),"session",e[1]),S(n,"userid",e[0]),S(n,"endpoint",e[2]),S(n,"datasource",e[3]),S(n,"lang",e[4]),S(n,"currency",e[5]),S(n,"favorites",e[13]),S(n,"categoryid","FAVORITES"),S(n,"class","CategoryContainer"),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[9]),S(n,"gamepagemodalurl",e[10]),S(n,"integratedgameframedesktop",e[11]),S(n,"integratedgameframemobile",e[12]),S(n,"casinomygames",e[16])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&S(n,"session",e[1]),1&t[0]&&S(n,"userid",e[0]),4&t[0]&&S(n,"endpoint",e[2]),8&t[0]&&S(n,"datasource",e[3]),16&t[0]&&S(n,"lang",e[4]),32&t[0]&&S(n,"currency",e[5]),8192&t[0]&&S(n,"favorites",e[13]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),512&t[0]&&S(n,"visiblegames",e[9]),1024&t[0]&&S(n,"gamepagemodalurl",e[10]),2048&t[0]&&S(n,"integratedgameframedesktop",e[11]),4096&t[0]&&S(n,"integratedgameframemobile",e[12]),65536&t[0]&&S(n,"casinomygames",e[16])},d(e){e&&he(n)}}}function Us(n){let a;function r(e){if(e[16])return Rs}let i=r(n),s=i&&i(n);return{c(){a=me("div"),s&&s.c(),this.c=z},m(e,t){ue(e,a,t),s&&s.m(a,null),n[33](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:z,o:z,d(e){e&&he(a),s&&s.d(),n[33](null)}}}function Ws(e,t,n){let a;ot(e,za,e=>n(27,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:h=""}=t,{livecasino:m=""}=t,{visiblegames:p=""}=t,{gamepagemodalurl:g=""}=t,{integratedgameframedesktop:f=""}=t,{integratedgameframemobile:y=""}=t,{translationurl:b=""}=t,{favorites:v="false"}=t,{mostplayed:w="false"}=t,{lastplayed:x="false"}=t,{casinomygames:$="false"}=t,{lastplayedperiod:C="Last30Days"}=t,{mostplayedperiod:S="Last30Days"}=t,{lastplayedorder:k=""}=t,{lastplayedlimit:_=""}=t,{lastplayedunique:T="true"}=t,{mostplayedrounds:F=""}=t,D=window.navigator.userAgent,M="",L=!1,E=["","",""];var G,P;({withLocale:G,translations:P}={withLocale:"en",translations:{}}),rt.subscribe(e=>{null==e&&(Ca.set(P),rt.set(G))}),Object.keys(Ps).forEach(e=>{Gs(e,Ps[e])});const I=e=>{M!==e&&n(24,M=e)},R=()=>{var e;n(24,M="true"===v?"Favorites":"true"===w?"MostPlayed":"true"===x?"LastPlayed":""),n(26,E[0]="true"===v?"Favorites":"",E),n(26,E[1]="true"===w?"MostPlayed":"",E),n(26,E[2]="true"===x?"LastPlayed":"",E),e=c,rt.set(e)};return lt(()=>{n(25,L=it(D))}),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,h=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"visiblegames"in e&&n(9,p=e.visiblegames),"gamepagemodalurl"in e&&n(10,g=e.gamepagemodalurl),"integratedgameframedesktop"in e&&n(11,f=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(12,y=e.integratedgameframemobile),"translationurl"in e&&n(29,b=e.translationurl),"favorites"in e&&n(13,v=e.favorites),"mostplayed"in e&&n(14,w=e.mostplayed),"lastplayed"in e&&n(15,x=e.lastplayed),"casinomygames"in e&&n(16,$=e.casinomygames),"lastplayedperiod"in e&&n(17,C=e.lastplayedperiod),"mostplayedperiod"in e&&n(18,S=e.mostplayedperiod),"lastplayedorder"in e&&n(19,k=e.lastplayedorder),"lastplayedlimit"in e&&n(20,_=e.lastplayedlimit),"lastplayedunique"in e&&n(21,T=e.lastplayedunique),"mostplayedrounds"in e&&n(22,F=e.mostplayedrounds)},e.$$.update=()=>{if(28&e.$$.dirty[0]&&o&&l&&c&&R(),57344&e.$$.dirty[0]&&v&&w&&x&&R(),536870912&e.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Gs(e,t[e])})}).catch(e=>{console.log(e)}),8388672&e.$$.dirty[0]&&u&&r){let e=document.createElement("style");e.innerHTML=u,r.appendChild(e)}if(8388736&e.$$.dirty[0]&&h&&r){let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}},[i,s,o,l,c,d,u,h,m,p,g,f,y,v,w,x,$,C,S,k,_,T,F,r,M,L,E,a,I,b,()=>I("Favorites"),()=>I("MostPlayed"),()=>I("LastPlayed"),function(e){at[e?"unshift":"push"](()=>{r=e,n(23,r)})}]}function zs(e,t){ka(e,t)}customElements.get("casino-my-games")||customElements.define("casino-my-games",class extends r{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>",a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ws,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:29,favorites:13,mostplayed:14,lastplayed:15,casinomygames:16,lastplayedperiod:17,mostplayedperiod:18,lastplayedorder:19,lastplayedlimit:20,lastplayedunique:21,mostplayedrounds:22},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","casinomygames","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayedrounds"]}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[29]}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 casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),f()}get lastplayedperiod(){return this.$$.ctx[17]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get mostplayedperiod(){return this.$$.ctx[18]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),f()}get lastplayedorder(){return this.$$.ctx[19]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),f()}get lastplayedlimit(){return this.$$.ctx[20]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),f()}get lastplayedunique(){return this.$$.ctx[21]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),f()}get mostplayedrounds(){return this.$$.ctx[22]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}});const Ys={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-hk":{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",placeHolderSearchGames:"Recherche de jeux de casino",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 Vs(e,t,n){const a=e.slice();return a[48]=t[n],a}function Zs(e){let n,a,r,i;function s(e){return 1==e[13]&&e[8].length<2?qs:0!=e[11].length?Xs:void 0}let o=s(e),l=o&&o(e),c=!1===e[9]&&Qs(e),d=2<=e[8].length&&0==e[11].length&&to(e);return{c(){l&&l.c(),n=ge(),a=me("div"),c&&c.c(),r=ge(),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=Qs(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=to(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&&he(n),e&&he(a),c&&c.d(),d&&d.d()}}}function Ks(e){let n,a,r=e[17]("Translations.loading")+"";return{c(){n=me("p"),a=pe(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&&he(n)}}}function Xs(e){let n,a,r=e[17]("Translations.searchResult")+"";return{c(){n=me("p"),a=pe(r),fe(n,"class","SearchMessage")},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&&he(n)}}}function qs(e){let n,a,r,i,s=e[17]("Translations.recentSearch")+"",o=0==e[11].length&&Js(e);return{c(){n=me("p"),a=pe(s),r=ge(),o&&o.c(),i=l(),fe(n,"class","SearchMessage")},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=Js(e)).c(),o.m(i.parentNode,i)):o&&(o.d(1),o=null)},d(e){e&&he(n),e&&he(r),o&&o.d(e),e&&he(i)}}}function Js(e){let n,a,r,i=e[17]("Translations.noRecentSearches")+"";return{c(){n=me("div"),a=me("p"),r=pe(i),fe(a,"class","SearchMessage"),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&&he(n)}}}function Qs(t){let r,i=t[11],s=[];for(let e=0;e<i.length;e+=1)s[e]=eo(Vs(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=Vs(t,i,e);s[e]?s[e].p(a,n):(s[e]=eo(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){H(s,e),e&&he(r)}}}function eo(e){let n,a,r,i,s,o,l,c,d,u,h;return{c(){S(n=me("casino-game-thumbnail"),"endpoint",e[0]),S(n,"session",e[15]),S(n,"userid",e[16]),S(n,"favorites",e[7]),S(n,"lang",e[1]),S(n,"gamethumbnail",a=e[48].thumbnail),S(n,"gamename",r=e[48].name),S(n,"gamevendor",i=e[48].vendor.name),S(n,"gameisnew",s=e[48].isNew),S(n,"gametag",o=0<e[48].advancedTags?.length&&e[20](e[48].advancedTags)),S(n,"gamecellsize",l=e[48].cellSize),S(n,"gameid",c=e[48].id),S(n,"gamefunmode",d=e[48].hasFunMode),S(n,"gamefavorite",u=e[48].isFavorite),S(n,"livelobbyendpoint",h=e[48].details?e[48].launchUrl:""),S(n,"integratedgameframedesktop",e[4]),S(n,"integratedgameframemobile",e[5]),S(n,"clientstyling",e[2]),S(n,"clientstylingurl",e[3]),S(n,"gamepagemodalurl",e[6])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&S(n,"endpoint",e[0]),32768&t[0]&&S(n,"session",e[15]),65536&t[0]&&S(n,"userid",e[16]),128&t[0]&&S(n,"favorites",e[7]),2&t[0]&&S(n,"lang",e[1]),2048&t[0]&&a!==(a=e[48].thumbnail)&&S(n,"gamethumbnail",a),2048&t[0]&&r!==(r=e[48].name)&&S(n,"gamename",r),2048&t[0]&&i!==(i=e[48].vendor.name)&&S(n,"gamevendor",i),2048&t[0]&&s!==(s=e[48].isNew)&&S(n,"gameisnew",s),2048&t[0]&&o!==(o=0<e[48].advancedTags?.length&&e[20](e[48].advancedTags))&&S(n,"gametag",o),2048&t[0]&&l!==(l=e[48].cellSize)&&S(n,"gamecellsize",l),2048&t[0]&&c!==(c=e[48].id)&&S(n,"gameid",c),2048&t[0]&&d!==(d=e[48].hasFunMode)&&S(n,"gamefunmode",d),2048&t[0]&&u!==(u=e[48].isFavorite)&&S(n,"gamefavorite",u),2048&t[0]&&h!==(h=e[48].details?e[48].launchUrl:"")&&S(n,"livelobbyendpoint",h),16&t[0]&&S(n,"integratedgameframedesktop",e[4]),32&t[0]&&S(n,"integratedgameframemobile",e[5]),4&t[0]&&S(n,"clientstyling",e[2]),8&t[0]&&S(n,"clientstylingurl",e[3]),64&t[0]&&S(n,"gamepagemodalurl",e[6])},d(e){e&&he(n)}}}function to(e){let n,a,r,i,s,o,l=e[17]("Translations.notFound")+"",c=e[17]("Translations.notFoundText")+"";return{c(){n=me("div"),a=me("p"),r=pe(l),i=ge(),s=me("p"),o=pe(c),fe(a,"class","SearchMessage"),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&&he(n)}}}function no(n){let a,r,i,s,o,l,c,d,u,h,m,p,g,f,y,b,v,w,x,$=n[17]("Translations.cancel")+"";function C(e){return e[14]?Ks:Zs}let S=C(n),k=S(n);return{c(){a=me("div"),r=me("div"),(i=me("div")).innerHTML='<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>',s=ge(),o=me("input"),d=ge(),u=me("span"),h=j("svg"),m=j("path"),g=ge(),f=me("small"),y=pe($),v=ge(),k.c(),this.c=z,fe(i,"class","SearchIcon"),fe(o,"class",l="SearchInput "+(n[9]?"":"SearchAnimation")),fe(o,"type","search"),fe(o,"placeholder",c=n[17]("Translations.placeHolderSearchGames")),fe(m,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),fe(m,"stroke","#717171"),fe(m,"stroke-width","2"),fe(m,"stroke-linecap","round"),fe(m,"stroke-linejoin","round"),fe(h,"width","11"),fe(h,"height","11"),fe(h,"fill","none"),fe(h,"xmlns","http://www.w3.org/2000/svg"),fe(u,"class",p="SearchClearButton "+(0!=n[8].length?"":"NotVisible")),fe(f,"class",b="SearchCancelButton "+(n[9]?"NotVisible":"")),fe(r,"class","Search"),fe(a,"class",("PC"!==st(n[18])?"":"Desktop")+" CasinoSearch")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,s),de(r,o),P(o,n[8]),n[29](o),de(r,d),de(r,u),de(u,h),de(h,m),de(r,g),de(r,f),de(f,y),de(a,v),k.m(a,null),n[32](a),w||(x=[V(o,"input",n[28]),V(o,"focus",n[19]),V(u,"click",n[30]),V(f,"click",n[31])],w=!0)},p(e,t){512&t[0]&&l!==(l="SearchInput "+(e[9]?"":"SearchAnimation"))&&fe(o,"class",l),131072&t[0]&&c!==(c=e[17]("Translations.placeHolderSearchGames"))&&fe(o,"placeholder",c),256&t[0]&&P(o,e[8]),256&t[0]&&p!==(p="SearchClearButton "+(0!=e[8].length?"":"NotVisible"))&&fe(u,"class",p),131072&t[0]&&$!==($=e[17]("Translations.cancel")+"")&&ye(y,$),512&t[0]&&b!==(b="SearchCancelButton "+(e[9]?"NotVisible":""))&&fe(f,"class",b),S===(S=C(e))&&k?k.p(e,t):(k.d(1),(k=S(e))&&(k.c(),k.m(a,null)))},i:z,o:z,d(e){e&&he(a),n[29](null),k.d(),n[32](null),w=!1,Y(x)}}}function ao(a,e,i){let t;ot(a,za,e=>i(17,t=e));let n,r,s,o,{endpoint:l=""}=e,{datasource:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{lang:h="en"}=e,{clientstyling:m=""}=e,{clientstylingurl:p=""}=e,{integratedgameframedesktop:g="false"}=e,{integratedgameframemobile:f="false"}=e,{gamepagemodalurl:y="true"}=e,{translationurl:b=""}=e,{showfavorites:v=""}=e,w=window.navigator.userAgent,x=[],$=[],C={},S="",k=!0,_=!1,T=!1,F=!1,M=[];Object.keys(Ys).forEach(e=>{zs(e,Ys[e])});const L=e=>{{var t,n;e.data&&"SearchedItemClicked"==e.data.type&&(t=e.data.gameId,-1===($=($=localStorage.getItem("searchedGamesWds_casino"))?$.split(","):[]).indexOf(t)&&($.push(t),n=$.join(","),localStorage.setItem("searchedGamesWds_casino",n)))}"UserSessionID"==e.data.type&&(i(15,s=e.data.session),i(16,o=e.data.userid),i(27,F=!0)),"CategoryChange"==e.data.type&&P()},E=()=>{if(i(9,k=!1),i(13,_=!0),l&&c&&h&&S.length<2){i(11,x=[]);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",h),e.searchParams.append("datasource",c),e.searchParams.append("platform",st(w)),n.push(((e,a)=>new Promise((t,n)=>{i(14,T=!0),a&&Object.keys(C).indexOf(a)>=0?(i(14,T=!1),t(C[a])):fetch(e).then(e=>e.json()).then(e=>{i(14,T=!1),e.error||(C[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=>{e=e.filter(function(e){return!!e}),i(11,x=e.map(e=>(e.isFavorite=G(e.id),e)))})}}R(_),"function"==typeof gtag&>ag("event","SearchInitialized",{context:"SearchWidget"})},G=t=>-1!==M.findIndex(e=>e==t),P=()=>{i(8,S=""),i(9,k=!0),i(14,T=!1),i(11,x=[]),i(13,_=!1),R(_)},I=()=>{i(8,S=""),n.focus()},R=e=>{window.postMessage({type:!0===e?"searchActive":"searchCancelled",searchStatus:e})};return lt(()=>(window.addEventListener("message",L,!1),()=>{window.removeEventListener("message",L)})),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,h=e.lang),"clientstyling"in e&&i(2,m=e.clientstyling),"clientstylingurl"in e&&i(3,p=e.clientstylingurl),"integratedgameframedesktop"in e&&i(4,g=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<=S.length){const a=new URL(l+"/casino/games");a.searchParams.append("datasource",c),a.searchParams.append("expand","vendor"),a.searchParams.append("platform",st(w)),a.searchParams.append("language",h),a.searchParams.append("pagination","offset=0,limit=30"),a.searchParams.append("filter","name="+S),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,x=e.items.map(e=>(e.isFavorite=G(e.id),e)))})}else k||E();var e,t,n;if(2&a.$$.dirty[0]&&h&&(n=h,rt.set(n)),67108864&a.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{zs(e,t[e])})}).catch(e=>{console.log(e)}),50331648&a.$$.dirty[0]&&d&&u&&(i(27,F=!0),i(15,s=d),i(16,o=u)),134217856&a.$$.dirty[0]&&v&&F&&(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]&&m&&r){let e=document.createElement("style");e.innerHTML=m,r.appendChild(e)}if(1032&a.$$.dirty[0]&&p&&r){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}},[l,h,m,p,g,f,y,v,S,k,r,x,n,_,T,s,o,t,w,E,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);Ja(e).diff(o)<s&&(s=Ja(e).diff(o),i=t),Ja(o).isAfter(n)&&Ja(o).isBefore(e)&&(r=a[i].name)}),r},P,I,c,d,u,b,F,function(){S=this.value,i(8,S)},function(e){at[e?"unshift":"push"](()=>{n=e,i(12,n)})},()=>I(),()=>P(),function(e){at[e?"unshift":"push"](()=>{r=e,i(10,r)})}]}function ro(e,{delay:t=0,duration:n=400,easing:a=x}={}){const r=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:a,css:e=>"opacity: "+e*r}}function io(n){let a,r,i,s,o,l,c,d,t,u,h,m;return{c(){a=me("div"),r=me("div"),(i=me("div")).innerHTML="<slot></slot>",s=ge(),o=me("span"),(l=me("slot")).innerHTML='<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>',fe(i,"class","ModalContainer"),fe(i,"part","ModalContainer"),fe(l,"name","close"),fe(o,"class",c="ModalCloseBtn "+("true"==n[1]&&n[3]?"ModalPanicCloseButton":"")),fe(o,"part","ModalCloseBtn"),fe(o,"role","button"),fe(r,"class","ModalWindow"),fe(r,"part","ModalWindow"),fe(r,"id","Modal"),X(()=>n[18].call(r)),fe(a,"part","CustomStylingContainer")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,s),de(r,o),de(o,l),n[17](r),d=function(e,t){"static"===getComputedStyle(e).position&&(e.style.position="relative");const n=me("iframe"),a=(n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1,function(){if(void 0===p){p=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(e){p=!0}}return p}());let r;return a?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",r=V(window,"message",e=>{e.source===n.contentWindow&&t()})):(n.src="about:blank",n.onload=()=>{r=V(n.contentWindow,"resize",t)}),de(e,n),()=>{(a||r&&n.contentWindow)&&r(),he(n)}}(r,n[18].bind(r)),n[19](a),u=!0,h||(m=V(o,"click",n[8]),h=!0)},p(e,t){n=e,(!u||10&t&&c!==(c="ModalCloseBtn "+("true"==n[1]&&n[3]?"ModalPanicCloseButton":"")))&&fe(o,"class",c)},i(e){u||(X(()=>{(t=t||se(r,ro,{transitionDuration:n[0]},!0)).run(1)}),u=!0)},o(e){(t=t||se(r,ro,{transitionDuration:n[0]},!1)).run(0),u=!1},d(e){e&&he(a),n[17](null),d(),e&&t&&t.end(),n[19](null),h=!1,m()}}}function so(e){let n,a,r=e[7]&&io(e);return{c(){r&&r.c(),n=l(),this.c=z},m(e,t){r&&r.m(e,t),ue(e,n,t),a=!0},p(e,[t]){e[7]?r?(r.p(e,t),128&t&&ae(r,1)):((r=io(e)).c(),ae(r,1),r.m(n.parentNode,n)):r&&(ne={r:0,c:[],p:ne},re(r,1,1,()=>{r=null}),ne.r||Y(ne.c),ne=ne.p)},i(e){a||(ae(r),a=!0)},o(e){re(r),a=!1},d(e){r&&r.d(e),e&&he(n)}}}function oo(e,t,n){let a,i,r,s,{duration:o=350}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:u=""}=t,{endpoint:h=""}=t,{haspanicbutton:m="false"}=t,{gamepagemodalurl:p="false"}=t,{sessioncheck:g="true"}=t,{integratedgameframedesktop:f="false"}=t,y=window.navigator.userAgent,b=!1,v=!1,w=!1;const x=e=>{var t;"ModalClosed"!=e.data.type||"false"==f&&!it(y)||n(7,w=!1),"ShowGameModal"===e.data.type&&(n(7,w=!0),window.postMessage({type:"GameLaunchID",gameId:e.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"OpenGameFrame"===e.data.type&&(n(7,w=!0),window.postMessage({type:"LaunchGameFrame",gameId:e.data.gameId,gameFunMode:e.data.gamefunmode},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"RequestModalSize"===e.data.type&&(t={modalWidth:a?getComputedStyle(a).width:null,modalHeight:a?getComputedStyle(a).height:null},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href)),"GameStateOnResize"===e.data.type&&(v=e.data.detailsObtained),"OpenCalendarModal"===e.data.type&&(n(7,w=!0),window.postMessage({type:"DisableScroll"},window.location.href))},$=e=>{var t;v&&(t={modalWidth:getComputedStyle(a).width,modalHeight:getComputedStyle(a).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return lt(()=>(n(3,b=it(y)),window.addEventListener("message",x,!1),window.addEventListener("resize",$,!1),()=>{window.removeEventListener("message",x),window.removeEventListener("resize",x)})),e.$$set=e=>{"duration"in e&&n(0,o=e.duration),"session"in e&&n(9,l=e.session),"userid"in e&&n(10,c=e.userid),"clientstyling"in e&&n(11,d=e.clientstyling),"clientstylingurl"in e&&n(12,u=e.clientstylingurl),"endpoint"in e&&n(13,h=e.endpoint),"haspanicbutton"in e&&n(1,m=e.haspanicbutton),"gamepagemodalurl"in e&&n(14,p=e.gamepagemodalurl),"sessioncheck"in e&&n(15,g=e.sessioncheck),"integratedgameframedesktop"in e&&n(16,f=e.integratedgameframedesktop)},e.$$.update=()=>{if(9728&e.$$.dirty&&l&&c&&h&&"true"==g&&(a=h,r=l,new Promise((t,n)=>{let e=new Headers;e.append("X-SessionID",r),Oe(a+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))}).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)})),2052&e.$$.dirty&&d&&i){let e=document.createElement("style");e.innerHTML=d,i.appendChild(e)}if(4100&e.$$.dirty&&u&&i){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var a,r},[o,m,i,b,a,void 0,void 0,w,()=>{n(7,w=!1),n(3,b=it(y)),window.postMessage({type:"ModalClosed",gamepagemodalurl:p,mobileView:b},window.location.href)},l,c,d,u,h,p,g,f,function(e){at[e?"unshift":"push"](()=>{a=e,n(4,a)})},function(){r=this.clientWidth,s=this.clientHeight,n(5,r),n(6,s)},function(e){at[e?"unshift":"push"](()=>{i=e,n(2,i)})}]}function lo(e,t,n){const a=e.slice();return a[26]=t[n],a[27]=t,a[28]=n,a}function co(e,t,n){const a=e.slice();return a[29]=t[n],a[28]=n,a}function uo(t){let r,n,i,a,e,s=t[3],o=[];for(let e=0;e<s.length;e+=1)o[e]=bo(lo(t,s,e));return{c(){r=me("div"),n=me("div"),i=pe(t[1]),a=ge();for(let e=0;e<o.length;e+=1)o[e].c();fe(n,"class","CasinoCalendarDailyDay"),fe(r,"class",e="CasinoCalendarDailyDetailsBackground "+(t[6]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,n),de(n,i),de(r,a);for(let e=0;e<o.length;e+=1)o[e].m(r,null)},p(t,n){if(2&n&&ye(i,t[1]),409&n){let e;for(s=t[3],e=0;e<s.length;e+=1){var a=lo(t,s,e);o[e]?o[e].p(a,n):(o[e]=bo(a),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=s.length}64&n&&e!==(e="CasinoCalendarDailyDetailsBackground "+(t[6]?"Mobile":""))&&fe(r,"class",e)},d(e){e&&he(r),H(o,e)}}}function ho(e){let n;return{c(){(n=me("p")).textContent="Loading ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function mo(e){let n,a;return{c(){n=j("svg"),fe(a=j("path"),"stroke-linecap","round"),fe(a,"stroke-linejoin","round"),fe(a,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),fe(n,"xmlns","http://www.w3.org/2000/svg"),fe(n,"fill","none"),fe(n,"viewBox","0 0 24 24"),fe(n,"stroke-width","1.5"),fe(n,"stroke","currentColor"),fe(n,"class","IconUp")},m(e,t){ue(e,n,t),de(n,a)},d(e){e&&he(n)}}}function po(e){let n,a;return{c(){n=j("svg"),fe(a=j("path"),"stroke-linecap","round"),fe(a,"stroke-linejoin","round"),fe(a,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),fe(n,"xmlns","http://www.w3.org/2000/svg"),fe(n,"fill","none"),fe(n,"viewBox","0 0 24 24"),fe(n,"stroke-width","1.5"),fe(n,"stroke","currentColor"),fe(n,"class","IconDown")},m(e,t){ue(e,n,t),de(n,a)},d(e){e&&he(n)}}}function go(t){let a,r,i=t[26].details,s=[];for(let e=0;e<i.length;e+=1)s[e]=fo(co(t,i,e));let o=t[26].detailsExpanded&&yo(t);return{c(){for(let e=0;e<s.length;e+=1)s[e].c();a=ge(),o&&o.c(),r=l()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);ue(t,a,n),o&&o.m(t,n),ue(t,r,n)},p(t,n){if(280&n){let e;for(i=t[26].details,e=0;e<i.length;e+=1){const o=co(t,i,e);s[e]?s[e].p(o,n):(s[e]=fo(o),s[e].c(),s[e].m(a.parentNode,a))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}t[26].detailsExpanded?o?o.p(t,n):((o=yo(t)).c(),o.m(r.parentNode,r)):o&&(o.d(1),o=null)},d(e){H(s,e),e&&he(a),o&&o.d(e),e&&he(r)}}}function fo(n){let a,r,i,s,o,l,c,d,u=n[29].title+"";function h(){return n[18](n[26],n[28])}return{c(){a=me("div"),r=me("div"),i=me("button"),s=pe(u),fe(i,"class",o="HeaderButton "+(n[29].expandedTab?"Active":"")),fe(r,"class","Header"),fe(a,"class",l=n[28]==n[4]?"SelectedTab":""),fe(a,"id","CollapseMoreInfoButton"),_(a,"height",n[26].expandedInfo?"100%":"")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(i,s),c||(d=V(i,"click",h),c=!0)},p(e,t){n=e,8&t&&u!==(u=n[29].title+"")&&ye(s,u),8&t&&o!==(o="HeaderButton "+(n[29].expandedTab?"Active":""))&&fe(i,"class",o),16&t&&l!==(l=n[28]==n[4]?"SelectedTab":"")&&fe(a,"class",l),8&t&&_(a,"height",n[26].expandedInfo?"100%":"")},d(e){e&&he(a),c=!1,d()}}}function yo(e){let n,a,r,i=e[26].details[e[4]].description+"";return{c(){n=me("div"),a=pe(i),fe(n,"class",r="DetailTabsDescription "+(e[26].details[e[4]].expandedTab?"":"NotVisible"))},m(e,t){ue(e,n,t),de(n,a)},p(e,t){24&t&&i!==(i=e[26].details[e[4]].description+"")&&ye(a,i),24&t&&r!==(r="DetailTabsDescription "+(e[26].details[e[4]].expandedTab?"":"NotVisible"))&&fe(n,"class",r)},d(e){e&&he(n)}}}function bo(n){let a,r,i,s,o,l,c,d,u,h,m,p,g,f,y,b,v,w,x,$,C=n[26].title+"",S=n[26].description+"";function k(e){return 1==e[26].expandedInfo?po:mo}let _=k(n),T=_(n);function F(){return n[17](n[26],n[27],n[28])}let M=1==n[26].expandedInfo&&go(n);return{c(){a=me("div"),r=me("div"),i=pe(C),s=ge(),o=me("div"),l=me("img"),u=ge(),h=me("div"),m=pe(S),p=ge(),g=me("div"),f=me("button"),y=pe(n[0]),b=ge(),T.c(),v=ge(),M&&M.c(),w=ge(),fe(r,"class","CasinoCalendarDailyTitle"),fe(l,"class","CasinoCalendarFitImage"),ce(l.src,c=n[26].image)||fe(l,"src",c),fe(l,"alt",d=n[26].image),fe(o,"class","CasinoCalendarImage"),fe(h,"class","CasinoCalendarDailyDescription"),fe(f,"class","MoreInfoButton"),fe(g,"class","CasinoCalendarTabs"),fe(a,"class","CasinoCalendarDailyDetailsParent")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(a,s),de(a,o),de(o,l),de(a,u),de(a,h),de(h,m),de(a,p),de(a,g),de(g,f),de(f,y),de(f,b),T.m(f,null),de(g,v),M&&M.m(g,null),de(a,w),x||($=V(f,"click",F),x=!0)},p(e,t){n=e,8&t&&C!==(C=n[26].title+"")&&ye(i,C),8&t&&!ce(l.src,c=n[26].image)&&fe(l,"src",c),8&t&&d!==(d=n[26].image)&&fe(l,"alt",d),8&t&&S!==(S=n[26].description+"")&&ye(m,S),1&t&&ye(y,n[0]),_!==(_=k(n))&&(T.d(1),(T=_(n))&&(T.c(),T.m(f,null))),1==n[26].expandedInfo?M?M.p(n,t):((M=go(n)).c(),M.m(g,null)):M&&(M.d(1),M=null)},d(e){e&&he(a),T.d(),M&&M.d(),x=!1,$()}}}function vo(n){let a;function r(e){return e[5]?ho:uo}let i=r(n),s=i(n);return{c(){a=me("div"),s.c(),this.c=z},m(e,t){ue(e,a,t),s.m(a,null),n[19](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:z,o:z,d(e){e&&he(a),s.d(),n[19](null)}}}function wo(t,e,a){let n,{dailybackground:r=""}=e,{dailybuttontitle:i=""}=e,{dailyday:s=""}=e,{dailydescription:o="<p></p>"}=e,{dailyicon:l=""}=e,{dailytitle:c=""}=e,{lang:d="en"}=e,{clientstyling:u=""}=e,{clientstylingurl:h=""}=e,{translationUrl:m=""}=e,p=[],g=0,f=!0,y=!1,b=window.navigator.userAgent;var v,w;({withLocale:v,translations:w}={withLocale:"en",translations:{}}),rt.subscribe(e=>{null==e&&(Ca.set(w),rt.set(v))});const x=e=>{"DailyEventsData"==e.data.type&&(a(5,f=!1),a(3,p=e.data.data),p.forEach(e=>{e.expandedInfo=!1,e.detailsExpanded=!1,e.details.forEach((e,t)=>{e.expandedTab=0==t})})),"ModalClosed"==e.data.type&&(a(4,g=0),p.forEach((e,t)=>{e.detailsExpanded=0==t,e.expandedInfo=0==t}))},$=e=>{a(4,g=0),a(3,p[e].detailsExpanded=!p[e].detailsExpanded,p),"function"==typeof gtag&>ag("event","MoreInfo",{context:"CalendarWidgetDetails"})},C=(e,t)=>{a(4,g=t),e.details.forEach((e,t)=>{e.expandedTab=g==t})};return lt(()=>(window.addEventListener("message",x,!1),it(b)&&a(6,y=!0),()=>{window.removeEventListener("message",x)})),t.$$set=e=>{"dailybackground"in e&&a(9,r=e.dailybackground),"dailybuttontitle"in e&&a(0,i=e.dailybuttontitle),"dailyday"in e&&a(1,s=e.dailyday),"dailydescription"in e&&a(10,o=e.dailydescription),"dailyicon"in e&&a(11,l=e.dailyicon),"dailytitle"in e&&a(12,c=e.dailytitle),"lang"in e&&a(13,d=e.lang),"clientstyling"in e&&a(14,u=e.clientstyling),"clientstylingurl"in e&&a(15,h=e.clientstylingurl),"translationUrl"in e&&a(16,m=e.translationUrl)},t.$$.update=()=>{if(8192&t.$$.dirty&&d&&(e=d,rt.set(e)),16388&t.$$.dirty&&u&&n){let e=document.createElement("style");e.innerHTML=u,n.appendChild(e)}if(32772&t.$$.dirty&&h&&n){let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[i,s,n,p,g,f,y,$,C,r,o,l,c,d,u,h,m,(e,t,n)=>{a(3,t[n].expandedInfo=!e.expandedInfo,p),$(n)},(e,t)=>{C(e,t)},function(e){at[e?"unshift":"push"](()=>{n=e,a(2,n)})}]}function xo(n){let a,r,i,s,o,l,c,d,u,h,m,p,g,f,y,b,v,w,x,$,C,S,k;return{c(){a=me("div"),r=me("div"),i=me("div"),s=me("div"),(o=me("div")).innerHTML='<div class="RingLeft"></div> \n <div class="RingRight"></div>',l=ge(),c=me("div"),d=me("div"),u=me("img"),m=ge(),p=me("div"),g=pe(n[2]),f=ge(),y=me("div"),b=ge(),v=me("div"),w=me("button"),x=pe(n[3]),this.c=z,fe(o,"class","CalendarBar"),ce(u.src,h=n[1])||fe(u,"src",h),fe(u,"alt",n[1]),fe(d,"class","CasinoCalendarDailyIcon"),fe(p,"class","CasinoCalendarDailyTitle"),fe(y,"class","CasinoCalendarDailyItemDescription"),fe(w,"class","MoreInfoButton"),fe(v,"class","CasinoCalendarDailyItemButton"),fe(c,"class",$="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==n[4]?"Tear":"")),_(c,"background-image","url('"+n[0]+"')"),_(c,"background-size","cover"),_(c,"background-position","center"),_(c,"-webkit-background-size","cover"),_(c,"-moz-background-size","cover"),_(c,"-o-background-size","cover"),fe(s,"class","CalendarCard"),fe(i,"class","CasinoCalendarItems"),fe(r,"class",C="Container "+(n[7]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(i,s),de(s,o),de(s,l),de(s,c),de(c,d),de(d,u),de(c,m),de(c,p),de(p,g),de(c,f),de(c,y),n[14](y),de(c,b),de(c,v),de(v,w),de(w,x),n[16](a),S||(k=V(w,"click",n[15]),S=!0)},p(e,[t]){2&t&&!ce(u.src,h=e[1])&&fe(u,"src",h),2&t&&fe(u,"alt",e[1]),4&t&&ye(g,e[2]),8&t&&ye(x,e[3]),16&t&&$!==($="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==e[4]?"Tear":""))&&fe(c,"class",$),1&t&&_(c,"background-image","url('"+e[0]+"')"),128&t&&C!==(C="Container "+(e[7]?"Mobile":""))&&fe(r,"class",C)},i:z,o:z,d(e){e&&he(a),n[14](null),n[16](null),S=!1,k()}}}function $o(e,t,n){let a,r,{cmsendpoint:i=""}=t,{lang:s=""}=t,{dailybackground:o=""}=t,{dailyicon:l=""}=t,{dailyday:c=""}=t,{dailydescription:d="<p></p>"}=t,{dailybuttontitle:u=""}=t,{index:h="0"}=t,{clientstyling:m=""}=t,{clientstylingurl:p=""}=t;var g,f;({withLocale:g,translations:f}={withLocale:"en",translations:{}}),rt.subscribe(e=>{null==e&&(Ca.set(f),rt.set(g))});let y=!1,b=window.navigator.userAgent;const v=()=>{window.postMessage({type:"OpenCalendarModal",index:h},window.location.href),"function"==typeof gtag&>ag("event","MoreInfo",{context:"CalendarWidgetItem"})};return lt(()=>{it(b)&&n(7,y=!0)}),e.$$set=e=>{"cmsendpoint"in e&&n(9,i=e.cmsendpoint),"lang"in e&&n(10,s=e.lang),"dailybackground"in e&&n(0,o=e.dailybackground),"dailyicon"in e&&n(1,l=e.dailyicon),"dailyday"in e&&n(2,c=e.dailyday),"dailydescription"in e&&n(11,d=e.dailydescription),"dailybuttontitle"in e&&n(3,u=e.dailybuttontitle),"index"in e&&n(4,h=e.index),"clientstyling"in e&&n(12,m=e.clientstyling),"clientstylingurl"in e&&n(13,p=e.clientstylingurl)},e.$$.update=()=>{if(2063&e.$$.dirty&&l&&c&&d&&u&&o){let e=document.createElement("div");e.innerHTML=d,a&&a.append(e)}if(4128&e.$$.dirty&&m&&r){let e=document.createElement("style");e.innerHTML=m,r.appendChild(e)}if(8224&e.$$.dirty&&p&&r){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1),setTimeout(()=>{},500)})}},[o,l,c,u,h,r,a,y,v,i,s,d,m,p,function(e){at[e?"unshift":"push"](()=>{a=e,n(6,a)})},()=>v(),function(e){at[e?"unshift":"push"](()=>{r=e,n(5,r)})}]}function Co(e,t,n){const a=e.slice();return a[11]=t[n],a[13]=n,a}function So(t){let a,r,n,i,s,e,o,l,c,d,u,h=t[1],m=[];for(let e=0;e<h.length;e+=1)m[e]=To(Co(t,h,e));return{c(){a=me("div");for(let e=0;e<m.length;e+=1)m[e].c();r=ge(),n=me("casino-modal"),S(i=me("casino-calendar-daily-details"),"dailybackground",s=t[1][t[2]].dailyBackground),S(i,"dailybuttontitle",e=t[1][t[2]].dailyButtonTitle),S(i,"dailyday",o=t[1][t[2]].dailyDay),S(i,"dailydescription",l=t[1][t[2]].dailyDescription),S(i,"dailyicon",c=t[1][t[2]].dailyIcon),S(i,"dailytitle",d=t[1][t[2]].dailyTitle),S(i,"lang",t[0]),fe(a,"class",u="CasinoCalendarItem "+(t[5]?"Mobile":""))},m(e,t){ue(e,a,t);for(let e=0;e<m.length;e+=1)m[e].m(a,null);de(a,r),de(a,n),de(n,i)},p(t,n){if(3&n){let e;for(h=t[1],e=0;e<h.length;e+=1){const s=Co(t,h,e);m[e]?m[e].p(s,n):(m[e]=To(s),m[e].c(),m[e].m(a,r))}for(;e<m.length;e+=1)m[e].d(1);m.length=h.length}6&n&&s!==(s=t[1][t[2]].dailyBackground)&&S(i,"dailybackground",s),6&n&&e!==(e=t[1][t[2]].dailyButtonTitle)&&S(i,"dailybuttontitle",e),6&n&&o!==(o=t[1][t[2]].dailyDay)&&S(i,"dailyday",o),6&n&&l!==(l=t[1][t[2]].dailyDescription)&&S(i,"dailydescription",l),6&n&&c!==(c=t[1][t[2]].dailyIcon)&&S(i,"dailyicon",c),6&n&&d!==(d=t[1][t[2]].dailyTitle)&&S(i,"dailytitle",d),1&n&&S(i,"lang",t[0]),32&n&&u!==(u="CasinoCalendarItem "+(t[5]?"Mobile":""))&&fe(a,"class",u)},d(e){e&&he(a),H(m,e)}}}function ko(e){let n;return{c(){(n=me("p")).textContent="Loading ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function _o(e){let n;return{c(){(n=me("p")).textContent="500 Error - Internal Server Error",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function To(e){let n,a,r,i,s,o,t;return{c(){S(n=me("casino-calendar-daily-item"),"dailybackground",a=e[11].dailyBackground),S(n,"dailyicon",r=e[11].dailyIcon),S(n,"dailyday",i=e[11].dailyDay),S(n,"dailydescription",s=e[11].dailyDescription),S(n,"dailybuttontitle",o=e[11].dailyButtonTitle),S(n,"index",t=e[13]),S(n,"lang",e[0])},m(e,t){ue(e,n,t)},p(e,t){2&t&&a!==(a=e[11].dailyBackground)&&S(n,"dailybackground",a),2&t&&r!==(r=e[11].dailyIcon)&&S(n,"dailyicon",r),2&t&&i!==(i=e[11].dailyDay)&&S(n,"dailyday",i),2&t&&s!==(s=e[11].dailyDescription)&&S(n,"dailydescription",s),2&t&&o!==(o=e[11].dailyButtonTitle)&&S(n,"dailybuttontitle",o),1&t&&S(n,"lang",e[0])},d(e){e&&he(n)}}}function Fo(e){let n;function a(e){return e[4]?_o:e[3]?ko:e[1]?.length?So:void 0}let r=a(e),i=r&&r(e);return{c(){i&&i.c(),n=l(),this.c=z},m(e,t){i&&i.m(e,t),ue(e,n,t)},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.parentNode,n)))},i:z,o:z,d(e){i&&i.d(e),e&&he(n)}}}function Mo(e,t,n){let a,{cmsendpoint:r=""}=t,{lang:i="en"}=t,s=0,o=!0,l=!1,c=!1,d=window.navigator.userAgent;const u=e=>{e.data&&"OpenCalendarModal"==e.data.type&&(n(2,s=e.data.index),window.postMessage({type:"DailyEventsData",data:null==(e=a[s])?void 0:e.dailyEvents}))};return lt(()=>(window.addEventListener("message",u,!1),it(d)&&n(5,c=!0),()=>{window.removeEventListener("message",u)})),e.$$set=e=>{"cmsendpoint"in e&&n(6,r=e.cmsendpoint),"lang"in e&&n(0,i=e.lang)},e.$$.update=()=>{65&e.$$.dirty&&r&&i&&fetch(`${r}/${i}/daily-calendar/`).then(e=>e.json()).then(e=>{n(1,a=e)}).catch(e=>{console.log(e),n(4,l=!0)}).finally(()=>{n(3,o=!1)})},[i,a,s,o,l,c,r]}function Lo(e,t,n){const a=e.slice();return a[135]=t[n],a[137]=n,a}function Eo(e){let n,a,r,i,s,o,l,c="PC"!==st(e[78])&&"false"===e[13],d=c&&Po(),u="true"==e[20]&&0==qo&&!e[74]&&Io(e),h=!e[73]&&"false"==e[50]&&Ro(e);function m(e){return e[68]?Bo:e[74]?void 0:Ao}let p=m(e),g=p&&p(e),f=e[70]&&"true"==e[16]&&Ko(e);return{c(){n=me("section"),d&&d.c(),a=ge(),r=me("casino-search"),i=ge(),u&&u.c(),s=ge(),h&&h.c(),o=ge(),g&&g.c(),l=ge(),f&&f.c(),S(r,"endpoint",e[1]),S(r,"datasource",e[2]),S(r,"lang",e[4]),S(r,"clientstyling",e[7]),S(r,"clientstylingurl",e[8]),S(r,"integratedgameframedesktop",e[28]),S(r,"integratedgameframemobile",e[29]),S(r,"translationurl",e[9]),S(r,"showfavorites",e[14]),fe(n,"class","CategoriesLobby"),fe(n,"part","CategoriesLobby"),_(n,"max-width",e[15]+"px")},m(e,t){ue(e,n,t),d&&d.m(n,null),de(n,a),de(n,r),de(n,i),u&&u.m(n,null),de(n,s),h&&h.m(n,null),de(n,o),g&&g.m(n,null),de(n,l),f&&f.m(n,null)},p(e,t){(c=8192&t[0]?"PC"!==st(e[78])&&"false"===e[13]:c)?d||((d=Po()).c(),d.m(n,a)):d&&(d.d(1),d=null),2&t[0]&&S(r,"endpoint",e[1]),4&t[0]&&S(r,"datasource",e[2]),16&t[0]&&S(r,"lang",e[4]),128&t[0]&&S(r,"clientstyling",e[7]),256&t[0]&&S(r,"clientstylingurl",e[8]),268435456&t[0]&&S(r,"integratedgameframedesktop",e[28]),536870912&t[0]&&S(r,"integratedgameframemobile",e[29]),512&t[0]&&S(r,"translationurl",e[9]),16384&t[0]&&S(r,"showfavorites",e[14]),"true"!=e[20]||0!=qo||e[74]?u&&(u.d(1),u=null):u?u.p(e,t):((u=Io(e)).c(),u.m(n,s)),e[73]||"false"!=e[50]?h&&(h.d(1),h=null):h?h.p(e,t):((h=Ro(e)).c(),h.m(n,o)),p===(p=m(e))&&g?g.p(e,t):(g&&g.d(1),(g=p&&p(e))&&(g.c(),g.m(n,l))),e[70]&&"true"==e[16]?f?f.p(e,t):((f=Ko(e)).c(),f.m(n,null)):f&&(f.d(1),f=null),32768&t[0]&&_(n,"max-width",e[15]+"px")},d(e){e&&he(n),d&&d.d(),u&&u.d(),h&&h.d(),g&&g.d(),f&&f.d()}}}function Go(e){let n,a,r=e[77]("casinoPage.500")+"";return{c(){n=me("p"),a=pe(r),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){32768&t[2]&&r!==(r=e[77]("casinoPage.500")+"")&&ye(a,r)},d(e){e&&he(n)}}}function Po(){let n;return{c(){fe(n=me("div"),"class","SearchBarPlaceholder"),fe(n,"part","SearchBarPlaceholder")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function Io(e){let n;return{c(){S(n=me("casino-random-game"),"datasource",e[2]),S(n,"filteredrandomgamecategories",e[21]),S(n,"endpoint",e[1]),S(n,"lang",e[4]),S(n,"gameevent",e[67]),S(n,"randombuttonicon",e[63]),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&S(n,"datasource",e[2]),2097152&t[0]&&S(n,"filteredrandomgamecategories",e[21]),2&t[0]&&S(n,"endpoint",e[1]),16&t[0]&&S(n,"lang",e[4]),32&t[2]&&S(n,"gameevent",e[67]),2&t[2]&&S(n,"randombuttonicon",e[63]),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8])},d(e){e&&he(n)}}}function Ro(n){let a,r,i,s,o,l,c,d,u,h,m,p,g,f,y,b,v,w,x=n[77]("casinoPage.filters")+"",$=n[76]&&Do(n);return{c(){a=me("div"),$&&$.c(),r=ge(),i=me("div"),s=me("div"),o=pe(x),l=ge(),c=me("div"),d=j("svg"),u=j("defs"),h=j("style"),m=pe(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),p=j("path"),g=ge(),f=me("div"),y=me("span"),b=pe(n[76]),fe(s,"class","FilterButton"),fe(s,"part","FilterButton"),fe(p,"class","a"),fe(p,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),fe(p,"transform","translate(-5 -6.2)"),fe(d,"xmlns","http://www.w3.org/2000/svg"),fe(d,"width","20"),fe(d,"height","20"),fe(d,"viewBox","0 0 26 26"),fe(y,"class","NumberOfFilters"),fe(y,"part","NumberOfFilters"),fe(f,"class","NumberOfFiltersContainer"),fe(f,"part","NumberOfFiltersContainer"),fe(c,"class","FilterIconContainer"),fe(c,"part","FilterIconContainer"),fe(i,"class","FilterButtonWrapper"),fe(i,"part","FilterButtonWrapper"),fe(a,"class","FiltersButtonsContainer"),fe(a,"part","FiltersButtonsContainer")},m(e,t){ue(e,a,t),$&&$.m(a,null),de(a,r),de(a,i),de(i,s),de(s,o),de(i,l),de(i,c),de(c,d),de(d,u),de(u,h),de(h,m),de(d,p),de(c,g),de(c,f),de(f,y),de(y,b),v||(w=V(i,"click",n[86]),v=!0)},p(e,t){e[76]?$?$.p(e,t):(($=Do(e)).c(),$.m(a,r)):$&&($.d(1),$=null),32768&t[2]&&x!==(x=e[77]("casinoPage.filters")+"")&&ye(o,x),16384&t[2]&&ye(b,e[76])},d(e){e&&he(a),$&&$.d(),v=!1,w()}}}function Do(n){let a,r,i,s,o,l,c,d=n[77]("casinoPage.clear")+"";return{c(){a=me("div"),r=me("div"),i=pe(d),s=ge(),(o=me("span")).innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',fe(o,"class","ClearIcon"),fe(o,"part","ClearIcon"),fe(r,"class","ClearButton"),fe(r,"part","ClearButton"),fe(a,"class","ClearFilterButtonWrapper"),fe(a,"part","ClearFilterButtonWrapper")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,s),de(r,o),l||(c=V(a,"click",n[85]),l=!0)},p(e,t){32768&t[2]&&d!==(d=e[77]("casinoPage.clear")+"")&&ye(i,d)},d(e){e&&he(a),l=!1,c()}}}function Ao(e){let n;function a(e){return e[73]?Ho:e[72]?No:Oo}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&&he(n)}}}function Bo(e){let n,a,r=e[77]("casinoPage.loading")+"";return{c(){n=me("p"),a=pe(r),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){32768&t[2]&&r!==(r=e[77]("casinoPage.loading")+"")&&ye(a,r)},d(e){e&&he(n)}}}function Oo(e){let n;return{c(){S(n=me("casino-games-category-section"),"userid",e[6]),S(n,"endpoint",e[1]),S(n,"datasource",e[2]),S(n,"favorites",e[14]),S(n,"lang",e[4]),S(n,"currency",e[3]),S(n,"session",e[5]),S(n,"categoryid",e[65]),S(n,"categorygames","9"),S(n,"class","CategoryContainer"),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8]),S(n,"livecasino",e[19]),S(n,"visiblegames",e[12]),S(n,"gamepagemodalurl",e[22]),S(n,"integratedgameframedesktop",e[28]),S(n,"integratedgameframemobile",e[29]),S(n,"casinomygames",e[0]),S(n,"filterbylogo",e[52]),S(n,"addfilterselector",e[50]),S(n,"addsortingselector",e[51])},m(e,t){ue(e,n,t)},p(e,t){64&t[0]&&S(n,"userid",e[6]),2&t[0]&&S(n,"endpoint",e[1]),4&t[0]&&S(n,"datasource",e[2]),16384&t[0]&&S(n,"favorites",e[14]),16&t[0]&&S(n,"lang",e[4]),8&t[0]&&S(n,"currency",e[3]),32&t[0]&&S(n,"session",e[5]),8&t[2]&&S(n,"categoryid",e[65]),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8]),524288&t[0]&&S(n,"livecasino",e[19]),4096&t[0]&&S(n,"visiblegames",e[12]),4194304&t[0]&&S(n,"gamepagemodalurl",e[22]),268435456&t[0]&&S(n,"integratedgameframedesktop",e[28]),536870912&t[0]&&S(n,"integratedgameframemobile",e[29]),1&t[0]&&S(n,"casinomygames",e[0]),2097152&t[1]&&S(n,"filterbylogo",e[52]),524288&t[1]&&S(n,"addfilterselector",e[50]),1048576&t[1]&&S(n,"addsortingselector",e[51])},d(e){e&&he(n)}}}function No(e){let n;return{c(){S(n=me("casino-my-games"),"userid",e[6]),S(n,"session",e[5]),S(n,"endpoint",e[1]),S(n,"datasource",e[2]),S(n,"lang",e[4]),S(n,"currency",e[3]),S(n,"favorites",e[14]),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8]),S(n,"livecasino",e[19]),S(n,"visiblegames",e[12]),S(n,"gamepagemodalurl",e[22]),S(n,"integratedgameframedesktop",e[28]),S(n,"integratedgameframemobile",e[29]),S(n,"translationurl",e[9]),S(n,"mostplayed",e[54]),S(n,"lastplayed",e[55]),S(n,"filteredcategories",e[17]),S(n,"activecategory",e[18]),S(n,"lastplayedunique",e[60]),S(n,"categoryindex","0"),S(n,"categoryid","MYGAMES"),S(n,"casinomygames",e[0]),S(n,"lastplayedperiod",e[56]),S(n,"mostplayedperiod",e[57]),S(n,"lastplayedorder",e[58]),S(n,"lastplayedlimit",e[59]),S(n,"mostplayedrounds",e[61])},m(e,t){ue(e,n,t)},p(e,t){64&t[0]&&S(n,"userid",e[6]),32&t[0]&&S(n,"session",e[5]),2&t[0]&&S(n,"endpoint",e[1]),4&t[0]&&S(n,"datasource",e[2]),16&t[0]&&S(n,"lang",e[4]),8&t[0]&&S(n,"currency",e[3]),16384&t[0]&&S(n,"favorites",e[14]),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8]),524288&t[0]&&S(n,"livecasino",e[19]),4096&t[0]&&S(n,"visiblegames",e[12]),4194304&t[0]&&S(n,"gamepagemodalurl",e[22]),268435456&t[0]&&S(n,"integratedgameframedesktop",e[28]),536870912&t[0]&&S(n,"integratedgameframemobile",e[29]),512&t[0]&&S(n,"translationurl",e[9]),8388608&t[1]&&S(n,"mostplayed",e[54]),16777216&t[1]&&S(n,"lastplayed",e[55]),131072&t[0]&&S(n,"filteredcategories",e[17]),262144&t[0]&&S(n,"activecategory",e[18]),536870912&t[1]&&S(n,"lastplayedunique",e[60]),1&t[0]&&S(n,"casinomygames",e[0]),33554432&t[1]&&S(n,"lastplayedperiod",e[56]),67108864&t[1]&&S(n,"mostplayedperiod",e[57]),134217728&t[1]&&S(n,"lastplayedorder",e[58]),268435456&t[1]&&S(n,"lastplayedlimit",e[59]),1073741824&t[1]&&S(n,"mostplayedrounds",e[61])},d(e){e&&he(n)}}}function Ho(t){let r,i=t[75],s=[];for(let e=0;e<i.length;e+=1)s[e]=Zo(Lo(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(2143837695&n[0]|8388607&n[1]|8193&n[2]){let e;for(i=t[75],e=0;e<i.length;e+=1){var a=Lo(t,i,e);s[e]?s[e].p(a,n):(s[e]=Zo(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){H(s,e),e&&he(r)}}}function jo(e){let n,a;return{c(){n=me("div"),S(a=me("casino-winners"),"session",e[5]),S(a,"userid",e[6]),S(a,"periodrecent",e[30]),S(a,"periodtop",e[31]),S(a,"numberusersrecent",e[32]),S(a,"numberuserstop",e[33]),S(a,"amountlimit",e[34]),S(a,"isrecentavailable",e[27]),S(a,"istopavailable",e[26]),S(a,"defaultcurrency",e[35]),S(a,"usercurrency",e[3]),S(a,"enableautoscroll",e[25]),S(a,"tabsorder",e[24]),S(a,"lang",e[4]),S(a,"clientstyling",e[7]),S(a,"clientstylingurl",e[8]),S(a,"endpoint",e[1]),S(a,"winnersdatasources",e[62]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){32&t[0]&&S(a,"session",e[5]),64&t[0]&&S(a,"userid",e[6]),1073741824&t[0]&&S(a,"periodrecent",e[30]),1&t[1]&&S(a,"periodtop",e[31]),2&t[1]&&S(a,"numberusersrecent",e[32]),4&t[1]&&S(a,"numberuserstop",e[33]),8&t[1]&&S(a,"amountlimit",e[34]),134217728&t[0]&&S(a,"isrecentavailable",e[27]),67108864&t[0]&&S(a,"istopavailable",e[26]),16&t[1]&&S(a,"defaultcurrency",e[35]),8&t[0]&&S(a,"usercurrency",e[3]),33554432&t[0]&&S(a,"enableautoscroll",e[25]),16777216&t[0]&&S(a,"tabsorder",e[24]),16&t[0]&&S(a,"lang",e[4]),128&t[0]&&S(a,"clientstyling",e[7]),256&t[0]&&S(a,"clientstylingurl",e[8]),2&t[0]&&S(a,"endpoint",e[1]),1&t[2]&&S(a,"winnersdatasources",e[62])},d(e){e&&he(n)}}}function Uo(e){let n,a,r;return{c(){n=me("br"),a=ge(),S(r=me("casino-calendar"),"cmsendpoint",e[10]),S(r,"lang",e[4])},m(e,t){ue(e,n,t),ue(e,a,t),ue(e,r,t)},p(e,t){1024&t[0]&&S(r,"cmsendpoint",e[10]),16&t[0]&&S(r,"lang",e[4])},d(e){e&&he(n),e&&he(a),e&&he(r)}}}function Wo(e){let n,a,r,i;return{c(){n=me("br"),a=ge(),S(r=me("jackpot-banner"),"title","Jackpot Cards"),S(r,"currency",i=e[3]||"RON"),S(r,"gameid","999"),S(r,"endpoint",e[1]),S(r,"lang",e[4]),S(r,"backgroundsrc","/assets/background0.jpg"),S(r,"backgroundsrcmobile","/assets/background0.jpg"),S(r,"titlelogopath","/assets/jackpots_logo.svg"),S(r,"caticon0","/assets/icon0.svg"),S(r,"caticon1","/assets/icon1.svg"),S(r,"caticon2","/assets/icon2.svg"),S(r,"caticon3","/assets/icon3.svg"),S(r,"iconlabels",e[44]),S(r,"visualstructure","typeSpread"),S(r,"clientstyling",e[7]),S(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")&&S(r,"currency",i),2&t[0]&&S(r,"endpoint",e[1]),16&t[0]&&S(r,"lang",e[4]),8192&t[1]&&S(r,"iconlabels",e[44]),128&t[0]&&S(r,"clientstyling",e[7]),256&t[0]&&S(r,"clientstylingurl",e[8])},d(e){e&&he(n),e&&he(a),e&&he(r)}}}function zo(e){let n,a,r,i;return{c(){n=me("br"),a=ge(),S(r=me("jackpot-banner"),"title","Egypt Quest"),S(r,"currency",i=e[3]||"RON"),S(r,"gameid","998"),S(r,"endpoint",e[1]),S(r,"lang",e[4]),S(r,"backgroundsrc",e[41]),S(r,"backgroundsrcmobile",e[42]),S(r,"titlelogopath",e[43]),S(r,"caticon0",e[37]),S(r,"caticon1",e[38]),S(r,"caticon2",e[39]),S(r,"caticon3",e[40]),S(r,"iconlabels",e[44]),S(r,"visualstructure",e[45]),S(r,"clientstyling",e[7]),S(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")&&S(r,"currency",i),2&t[0]&&S(r,"endpoint",e[1]),16&t[0]&&S(r,"lang",e[4]),1024&t[1]&&S(r,"backgroundsrc",e[41]),2048&t[1]&&S(r,"backgroundsrcmobile",e[42]),4096&t[1]&&S(r,"titlelogopath",e[43]),64&t[1]&&S(r,"caticon0",e[37]),128&t[1]&&S(r,"caticon1",e[38]),256&t[1]&&S(r,"caticon2",e[39]),512&t[1]&&S(r,"caticon3",e[40]),8192&t[1]&&S(r,"iconlabels",e[44]),16384&t[1]&&S(r,"visualstructure",e[45]),128&t[0]&&S(r,"clientstyling",e[7]),256&t[0]&&S(r,"clientstylingurl",e[8])},d(e){e&&he(n),e&&he(a),e&&he(r)}}}function Yo(e){let n,a;return{c(){S(n=me("casino-collections-providers"),"endpoint",a=e[1].slice(0,-2)),S(n,"datasource",e[2]),S(n,"lang",e[4]),S(n,"type","vendor"),S(n,"titletype","logo"),S(n,"collectionprovidersgamenames",e[49]),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&a!==(a=e[1].slice(0,-2))&&S(n,"endpoint",a),4&t[0]&&S(n,"datasource",e[2]),16&t[0]&&S(n,"lang",e[4]),262144&t[1]&&S(n,"collectionprovidersgamenames",e[49]),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8])},d(e){e&&he(n)}}}function Vo(e){let n,a;return{c(){S(n=me("casino-collections-providers"),"endpoint",a=e[1].slice(0,-2)),S(n,"datasource",e[2]),S(n,"lang",e[4]),S(n,"type",e[47]),S(n,"collectionprovidersgamenames",e[49]),S(n,"titletype",e[48]),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&a!==(a=e[1].slice(0,-2))&&S(n,"endpoint",a),4&t[0]&&S(n,"datasource",e[2]),16&t[0]&&S(n,"lang",e[4]),65536&t[1]&&S(n,"type",e[47]),262144&t[1]&&S(n,"collectionprovidersgamenames",e[49]),131072&t[1]&&S(n,"titletype",e[48]),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8])},d(e){e&&he(n)}}}function Zo(n){let a,r,i,s,o,l,c,d,u,h,e,m,p,g,f=n[23]&&n[137]==+n[23]&&jo(n),y=n[53]&&n[137]==+n[53]&&Uo(n);function b(e,t){return 32&t[1]|8192&t[2]&&(i=null),32&t[1]|8192&t[2]&&(s=null),(i=null==i?!(!e[36]||e[137]!=(""==e[36].split(",")[0]?e[75].length:+e[36].split(",")[0])):i)?zo:(s=null==s?!(!e[36]||e[137]!=(""==e[36].split(",")[1]?e[75].length:+e[36].split(",")[1])):s)?Wo:void 0}let v=b(n,[-1,-1,-1,-1,-1]),w=v&&v(n);function x(e,t){return 32768&t[1]|8192&t[2]&&(l=null),32768&t[1]|8192&t[2]&&(c=null),(l=null==l?!(!e[46]||e[137]!=(""==e[46].split(",")[0]?e[75].length:+e[46].split(",")[0])):l)?Vo:(c=null==c?!(!e[46]||e[137]!=(""==e[46].split(",")[1]?e[75].length:+e[46].split(",")[1])):c)?Yo:void 0}let $=x(n,[-1,-1,-1,-1,-1]),C=$&&$(n);return{c(){f&&f.c(),a=ge(),y&&y.c(),r=ge(),w&&w.c(),o=ge(),C&&C.c(),d=ge(),S(u=me("casino-games-category-section"),"session",n[5]),S(u,"userid",n[6]),S(u,"endpoint",n[1]),S(u,"datasource",n[2]),S(u,"lang",n[4]),S(u,"currency",n[3]),S(u,"categoryid",h=n[135]),S(u,"categoryindex",e=n[137]),S(u,"categorygames","9"),S(u,"favorites",n[14]),S(u,"class","CategoryContainer"),_(u,"background-color",n[137]%2!=0?n[11]:"transparent"),S(u,"clientstyling",n[7]),S(u,"clientstylingurl",n[8]),S(u,"livecasino",n[19]),S(u,"visiblegames",n[12]),S(u,"gamepagemodalurl",n[22]),S(u,"integratedgameframedesktop",n[28]),S(u,"integratedgameframemobile",n[29]),S(u,"casinomygames",n[0]),S(u,"filterbylogo",n[52]),S(u,"addfilterselector",n[50]),S(u,"addsortingselector",n[51])},m(e,t){f&&f.m(e,t),ue(e,a,t),y&&y.m(e,t),ue(e,r,t),w&&w.m(e,t),ue(e,o,t),C&&C.m(e,t),ue(e,d,t),ue(e,u,t),p||(g=T(m=n[81].call(null,u,n[135])),p=!0)},p(e,t){(n=e)[23]&&n[137]==+n[23]?f?f.p(n,t):((f=jo(n)).c(),f.m(a.parentNode,a)):f&&(f.d(1),f=null),n[53]&&n[137]==+n[53]?y?y.p(n,t):((y=Uo(n)).c(),y.m(r.parentNode,r)):y&&(y.d(1),y=null),v===(v=b(n,t))&&w?w.p(n,t):(w&&w.d(1),(w=v&&v(n))&&(w.c(),w.m(o.parentNode,o))),$===($=x(n,t))&&C?C.p(n,t):(C&&C.d(1),(C=$&&$(n))&&(C.c(),C.m(d.parentNode,d))),32&t[0]&&S(u,"session",n[5]),64&t[0]&&S(u,"userid",n[6]),2&t[0]&&S(u,"endpoint",n[1]),4&t[0]&&S(u,"datasource",n[2]),16&t[0]&&S(u,"lang",n[4]),8&t[0]&&S(u,"currency",n[3]),8192&t[2]&&h!==(h=n[135])&&S(u,"categoryid",h),16384&t[0]&&S(u,"favorites",n[14]),2048&t[0]&&_(u,"background-color",n[137]%2!=0?n[11]:"transparent"),128&t[0]&&S(u,"clientstyling",n[7]),256&t[0]&&S(u,"clientstylingurl",n[8]),524288&t[0]&&S(u,"livecasino",n[19]),4096&t[0]&&S(u,"visiblegames",n[12]),4194304&t[0]&&S(u,"gamepagemodalurl",n[22]),268435456&t[0]&&S(u,"integratedgameframedesktop",n[28]),536870912&t[0]&&S(u,"integratedgameframemobile",n[29]),1&t[0]&&S(u,"casinomygames",n[0]),2097152&t[1]&&S(u,"filterbylogo",n[52]),524288&t[1]&&S(u,"addfilterselector",n[50]),1048576&t[1]&&S(u,"addsortingselector",n[51]),m&&k(m.update)&&8192&t[2]&&m.update.call(null,n[135])},d(e){f&&f.d(e),e&&he(a),y&&y.d(e),e&&he(r),w&&w.d(e),e&&he(o),C&&C.d(e),e&&he(d),e&&he(u),p=!1,g()}}}function Ko(n){let a,r,i,e,t,s,o,l=n[77]("casinoPage.breakButton")+"";return{c(){a=me("div"),r=me("button"),i=pe(l),fe(r,"class",e="PanicButton "+("PC"!==st(n[78])?"PanicButtonMobile ":"")),fe(r,"part",t="PanicButton "+("PC"!==st(n[78])?"PanicButtonMobile":"")),h(r,"PanicButtonAnimation",n[71]),fe(a,"class",s="PanicSection "+("PC"!==st(n[78])?"PanicSectionMobile":"")),fe(a,"part",o="PanicSection "+("PC"!==st(n[78])?"PanicSectionMobile":""))},m(e,t){ue(e,a,t),de(a,r),de(r,i),n[87](r)},p(e,t){32768&t[2]&&l!==(l=e[77]("casinoPage.breakButton")+"")&&ye(i,l),512&t[2]&&h(r,"PanicButtonAnimation",e[71])},d(e){e&&he(a),n[87](null)}}}function Xo(n){let a;function r(e){return e[69]?Go:Eo}let i=r(n),s=i(n);return{c(){a=me("div"),s.c(),this.c=z},m(e,t){ue(e,a,t),s.m(a,null),n[88](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:z,o:z,d(e){e&&he(a),s.d(),n[88](null)}}}customElements.get("casino-search")||customElements.define("casino-search",class extends r{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}.CasinoSearch{margin:30px 16px}.Search{display:flex;align-items:center;position:relative;margin-bottom:20px}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.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:65px;cursor:pointer}.SearchCancelButton{color:#717171;font-weight:300;margin-left:8px;cursor:pointer}.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}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop.CasinoSearch{margin:30px 16px}.Desktop .Search{display:flex;align-items:center;justify-content:center}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchInput{width:50%;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03);margin-left:20px}.Desktop .SearchAnimation{width:60%;outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}</style>",a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ao,no,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()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}</style>",a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},oo,so,t,{duration:0,session:9,userid:10,clientstyling:11,clientstylingurl:12,endpoint:13,haspanicbutton:1,gamepagemodalurl:14,sessioncheck:15,integratedgameframedesktop:16},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["duration","session","userid","clientstyling","clientstylingurl","endpoint","haspanicbutton","gamepagemodalurl","sessioncheck","integratedgameframedesktop"]}get duration(){return this.$$.ctx[0]}set duration(e){this.$$set({duration:e}),f()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[10]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),f()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get sessioncheck(){return this.$$.ctx[15]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[16]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}}),customElements.get("casino-calendar-daily-details")||customElements.define("casino-calendar-daily-details",class extends r{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}#CollapseMoreInfoButton{-moz-transition:height .5s;-ms-transition:height .5s;-o-transition:height .5s;-webkit-transition:height .5s;transition:height .5s;height:0;overflow:hidden}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:15px 0;border-radius:0 0 5px 5px;border:none;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C)}.IconDown{width:18px;height:18px;margin-left:10px;transform:rotate(0deg)}.IconUp{width:18px;height:18px;margin-left:10px;transform:rotate(180deg)}.CasinoCalendarDailyDetailsBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;background:var(--emfe-w-color-white, #FFFFFF);width:500px;max-height:50vw;padding:20px;text-align:center;margin-bottom:50px;overflow:scroll}.CasinoCalendarDailyDetailsParent{display:flex;justify-content:flex-start;align-items:center;flex-direction:column;max-width:376px}.CasinoCalendarDailyDay{padding:10px 0 40px 0;font-size:22px;text-transform:uppercase;width:100%;color:var(--emfe-w-color-primary, #D0046C)}.CasinoCalendarDailyTitle{padding:15px 0 20px 0;font-size:18px;text-transform:capitalize;width:100%;color:var(--emfe-w-color-primary, #D0046C)}.CasinoCalendarImage{background:var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px 5px 0 0}.CasinoCalendarImage img{max-width:376px;max-height:250px;border-radius:5px 5px 0 0}.CasinoCalendarDailyDescription{width:100%;padding:25px 15px;font-size:14px;font-weight:600;color:var(--emfe-w-gray-300, #58586B);font-weight:400;border-radius:0;background:linear-gradient(180deg, var(--emfe-w-color-white, #FFFFFF) 55%, var(--emfe-w-color-gray-100, #E6E6E6))}.DetailTabsDescription{margin-top:15px}.CasinoCalendarTabs{width:100%;font-size:14px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;align-content:stretch;padding-bottom:40px}.CasinoCalendarFitImage{border-radius:5px}.NotVisible{display:none}.Header{display:flex;justify-content:center;justify-items:center;margin-bottom:4px;padding:0 10px}.HeaderButton{min-height:48px;margin:0;border:none;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-gray-150, #828282)}.SelectedTab{box-shadow:none;border-bottom:2px solid var(--emfe-w-color-primary, #D0046C)}.Mobile{max-height:70vh;margin-bottom:0}</style>",a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},wo,vo,t,{dailybackground:9,dailybuttontitle:0,dailyday:1,dailydescription:10,dailyicon:11,dailytitle:12,lang:13,clientstyling:14,clientstylingurl:15,translationUrl:16},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["dailybackground","dailybuttontitle","dailyday","dailydescription","dailyicon","dailytitle","lang","clientstyling","clientstylingurl","translationUrl"]}get dailybackground(){return this.$$.ctx[9]}set dailybackground(e){this.$$set({dailybackground:e}),f()}get dailybuttontitle(){return this.$$.ctx[0]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),f()}get dailyday(){return this.$$.ctx[1]}set dailyday(e){this.$$set({dailyday:e}),f()}get dailydescription(){return this.$$.ctx[10]}set dailydescription(e){this.$$set({dailydescription:e}),f()}get dailyicon(){return this.$$.ctx[11]}set dailyicon(e){this.$$set({dailyicon:e}),f()}get dailytitle(){return this.$$.ctx[12]}set dailytitle(e){this.$$set({dailytitle:e}),f()}get lang(){return this.$$.ctx[13]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationUrl(){return this.$$.ctx[16]}set translationUrl(e){this.$$set({translationUrl:e}),f()}}),customElements.get("casino-calendar-daily-item")||customElements.define("casino-calendar-daily-item",class extends r{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}.Container{display:flex;overflow-x:scroll;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:linear-gradient(#e2e2e2, #b5b5b5);border-radius:4px 4px 0 0;border-bottom:3px solid #888;display:block;z-index:2}.CalendarBar::before{content:'';position:absolute;z-index:-1}.RingLeft::before{content:'';width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:'';float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:'';width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:'';float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 16px;text-align:center;border-radius:0 0 2px 2px;color:#fff;position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:#fff;position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-gray-300, #58586B);background-image:url(\"https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png\");background-position:center;background-size:cover;background-blend-mode:multiply;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:72px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:80%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;font-size:12px;padding:10px 6px;border-radius:5px;border:none;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C)}</style>",a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},$o,xo,t,{cmsendpoint:9,lang:10,dailybackground:0,dailyicon:1,dailyday:2,dailydescription:11,dailybuttontitle:3,index:4,clientstyling:12,clientstylingurl:13},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["cmsendpoint","lang","dailybackground","dailyicon","dailyday","dailydescription","dailybuttontitle","index","clientstyling","clientstylingurl"]}get cmsendpoint(){return this.$$.ctx[9]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),f()}get lang(){return this.$$.ctx[10]}set lang(e){this.$$set({lang:e}),f()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(e){this.$$set({dailybackground:e}),f()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(e){this.$$set({dailyicon:e}),f()}get dailyday(){return this.$$.ctx[2]}set dailyday(e){this.$$set({dailyday:e}),f()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(e){this.$$set({dailydescription:e}),f()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),f()}get index(){return this.$$.ctx[4]}set index(e){this.$$set({index:e}),f()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}}),customElements.get("casino-calendar")||customElements.define("casino-calendar",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>.CasinoCalendarItem{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:flex-start;text-align:left;gap:10px}.Mobile{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}</style>",a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Mo,Fo,t,{cmsendpoint:6,lang:0},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["cmsendpoint","lang"]}get cmsendpoint(){return this.$$.ctx[6]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),f()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),f()}});let qo=!1;function Jo(e,t,l){let D;ot(e,za,e=>l(77,D=e));let A,{endpoint:c=""}=t,{datasource:n=""}=t,{currency:B=""}=t,{lang:r=""}=t,{session:i=""}=t,{userid:s=""}=t,{clientstyling:o=""}=t,{clientstylingurl:d=""}=t,{translationurl:u=""}=t,{cmsendpoint:O=""}=t,{categorybackground:N=""}=t,H=t["visiblegames"],{alternativesearch:j="false"}=t,{favorites:h=""}=t,{containermaxwidth:U="1300"}=t,{lobbyid:W="casinodefault"}=t,{haspanicbutton:z="false"}=t,{filteredcategories:m=""}=t,{activecategory:p=""}=t,{livecasino:Y="false"}=t,{playrandomgame:V="false"}=t,{filteredrandomgamecategories:Z=""}=t,{gamepagemodalurl:K="false"}=t,{positionwinnerswidget:X=""}=t,{tabsorder:q=""}=t,{enableautoscroll:J=""}=t,{istopavailable:Q=""}=t,{isrecentavailable:ee=""}=t,{integratedgameframedesktop:te="false"}=t,{integratedgameframemobile:ne="false"}=t,{periodrecent:ae=""}=t,{periodtop:re=""}=t,{numberusersrecent:ie=""}=t,{numberuserstop:se=""}=t,{amountlimit:oe=""}=t,{defaultcurrency:le=""}=t,{showsubgroups:ce=""}=t,{positionjackpotbanners:de=""}=t,{caticon0:ue=""}=t,{caticon1:he=""}=t,{caticon2:me=""}=t,{caticon3:pe=""}=t,{backgroundsrc:ge=""}=t,{backgroundsrcmobile:fe=""}=t,{titlelogopath:ye=""}=t,{iconlabels:be=""}=t,{visualstructure:ve=""}=t,{positioncollections:we=""}=t,{type:xe=""}=t,{titletype:$e=""}=t,{collectionprovidersgamenames:Ce=""}=t,{addfilterselector:Se="false"}=t,{addsortingselector:ke="false"}=t,{filterbylogo:_e=""}=t,{positioncasinocalendar:Te=""}=t,{casinomygames:g="false"}=t,{mostplayed:Fe=""}=t,{lastplayed:Me=""}=t,{lastplayedperiod:Le="Last30Days"}=t,{mostplayedperiod:Ee="Last30Days"}=t,{lastplayedorder:Ge=""}=t,{lastplayedlimit:Pe=""}=t,{lastplayedunique:Ie="true"}=t,{mostplayedrounds:Re=""}=t,{winnersdatasources:De=""}=t,{randombuttonicon:Ae=""}=t,Be=window.navigator.userAgent;A=it(Be)?"OpenGameFrame":"ShowGameModal";let f,y,b,Oe,v,w,Ne,He,a,x,$=!1,C=!1,je=!1,S="",k=!1,_=0,T=!1,F=!0,Ue=!1,We=[],M=[],ze=!1,L=[],Ye=0,E="",Ve=!1;var Ze,Ke;({withLocale:Ze,translations:Ke}={withLocale:"en",translations:{}}),rt.subscribe(e=>{null==e&&(Ca.set(Ke),rt.set(Ze))}),Object.keys(Va).forEach(e=>{Ya(e,Va[e])});const Xe=e=>{switch(ze=!0,l(0,g="false"),setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:ze},window.location.href)}),e.data.itemId){case"LOBBY":l(73,F=!0),l(72,T=!1),l(65,v="");break;case"MYGAMES":l(0,g="true"),l(73,F=!1),l(72,T=!0),l(65,v="");break;case"FAVORITES":l(73,F=!1),l(72,T=!0),l(65,v="");break;case"MOSTPLAYED":"true"==Fe&&(l(65,v=""),l(73,F=!1),l(72,T=!0));break;case"LASTPLAYED":"true"==Me&&(l(65,v=""),l(73,F=!1),l(72,T=!0));break;default:l(73,F=!1),l(72,T=!1),l(65,v=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href)},500)}},qe=n=>{if(n.data)switch(n.data.type){case"CategoryChange":Xe(n);break;case"UserSessionID":y=n.data.session,(f=n.data.userID)&&f.length&&y&&0<y.length&&G(c,y,f);break;case"SetUnfavoredGame":t=`${c}/player/${f}/favorites`,s=y,f,o=n.data.id,L.includes(o)&&(L=L.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),Je(t,s)});break;case"SetFavoredGame":{var a=`${c}/player/${f}/favorites`;var r=y;f;var i=n.data.id;L.includes(i)||L.push(i);let e={items:L},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),Je(a,r)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":f&&f.length&&y&&0<y.length&&G(c,y,f);break;case"UpdateFilters":e=n.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:e},window.location.href),P();break;case"ClearFilters":e=n.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:e},window.location.href),P();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:E,origin:n.data.origin},window.location.href),P();break;case"CategoryVendors":E=n.data.categoryid,P();break;case"searchCancelled":l(74,Ue=!1),v&&Xe({data:{itemId:v}});break;case"searchActive":l(74,Ue=!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 G=(e,t,n)=>{"true"==h&&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),tt(a.items)),a)).then(e=>e).catch(e=>{console.error(e)})},Je=(e,t)=>{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 Qe=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},et=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},tt=(e=[])=>(L=[],0<e.length&&e.forEach(e=>{L.push(e.id)}),L);const P=()=>{var e=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));e&&E&&(e[E]?l(76,Ye=e[E].length):l(76,Ye=0))},nt=()=>{w&&(Ne=w.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop},I=e=>{_=0,Oe=setInterval(()=>{_+=1,l(71,k=!0),3<=_&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(Oe))},1e3)},R=e=>{_<3&&l(71,k=!1),clearInterval(Oe)};return lt(()=>(window.addEventListener("scroll",nt,!1),window.addEventListener("message",qe,!1),()=>{window.removeEventListener("scroll",nt),window.removeEventListener("message",qe),l(71,k=!1),null!=b&&b.removeEventListener("mousedown",I),null!=b&&b.removeEventListener("touchstart",I),null!=b&&b.removeEventListener("mouseup",R),null!=b&&b.removeEventListener("touchend",R)})),e.$$set=e=>{"endpoint"in e&&l(1,c=e.endpoint),"datasource"in e&&l(2,n=e.datasource),"currency"in e&&l(3,B=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),"cmsendpoint"in e&&l(10,O=e.cmsendpoint),"categorybackground"in e&&l(11,N=e.categorybackground),"visiblegames"in e&&l(12,H=e.visiblegames),"alternativesearch"in e&&l(13,j=e.alternativesearch),"favorites"in e&&l(14,h=e.favorites),"containermaxwidth"in e&&l(15,U=e.containermaxwidth),"lobbyid"in e&&l(82,W=e.lobbyid),"haspanicbutton"in e&&l(16,z=e.haspanicbutton),"filteredcategories"in e&&l(17,m=e.filteredcategories),"activecategory"in e&&l(18,p=e.activecategory),"livecasino"in e&&l(19,Y=e.livecasino),"playrandomgame"in e&&l(20,V=e.playrandomgame),"filteredrandomgamecategories"in e&&l(21,Z=e.filteredrandomgamecategories),"gamepagemodalurl"in e&&l(22,K=e.gamepagemodalurl),"positionwinnerswidget"in e&&l(23,X=e.positionwinnerswidget),"tabsorder"in e&&l(24,q=e.tabsorder),"enableautoscroll"in e&&l(25,J=e.enableautoscroll),"istopavailable"in e&&l(26,Q=e.istopavailable),"isrecentavailable"in e&&l(27,ee=e.isrecentavailable),"integratedgameframedesktop"in e&&l(28,te=e.integratedgameframedesktop),"integratedgameframemobile"in e&&l(29,ne=e.integratedgameframemobile),"periodrecent"in e&&l(30,ae=e.periodrecent),"periodtop"in e&&l(31,re=e.periodtop),"numberusersrecent"in e&&l(32,ie=e.numberusersrecent),"numberuserstop"in e&&l(33,se=e.numberuserstop),"amountlimit"in e&&l(34,oe=e.amountlimit),"defaultcurrency"in e&&l(35,le=e.defaultcurrency),"showsubgroups"in e&&l(83,ce=e.showsubgroups),"positionjackpotbanners"in e&&l(36,de=e.positionjackpotbanners),"caticon0"in e&&l(37,ue=e.caticon0),"caticon1"in e&&l(38,he=e.caticon1),"caticon2"in e&&l(39,me=e.caticon2),"caticon3"in e&&l(40,pe=e.caticon3),"backgroundsrc"in e&&l(41,ge=e.backgroundsrc),"backgroundsrcmobile"in e&&l(42,fe=e.backgroundsrcmobile),"titlelogopath"in e&&l(43,ye=e.titlelogopath),"iconlabels"in e&&l(44,be=e.iconlabels),"visualstructure"in e&&l(45,ve=e.visualstructure),"positioncollections"in e&&l(46,we=e.positioncollections),"type"in e&&l(47,xe=e.type),"titletype"in e&&l(48,$e=e.titletype),"collectionprovidersgamenames"in e&&l(49,Ce=e.collectionprovidersgamenames),"addfilterselector"in e&&l(50,Se=e.addfilterselector),"addsortingselector"in e&&l(51,ke=e.addsortingselector),"filterbylogo"in e&&l(52,_e=e.filterbylogo),"positioncasinocalendar"in e&&l(53,Te=e.positioncasinocalendar),"casinomygames"in e&&l(0,g=e.casinomygames),"mostplayed"in e&&l(54,Fe=e.mostplayed),"lastplayed"in e&&l(55,Me=e.lastplayed),"lastplayedperiod"in e&&l(56,Le=e.lastplayedperiod),"mostplayedperiod"in e&&l(57,Ee=e.mostplayedperiod),"lastplayedorder"in e&&l(58,Ge=e.lastplayedorder),"lastplayedlimit"in e&&l(59,Pe=e.lastplayedlimit),"lastplayedunique"in e&&l(60,Ie=e.lastplayedunique),"mostplayedrounds"in e&&l(61,Re=e.mostplayedrounds),"winnersdatasources"in e&&l(62,De=e.winnersdatasources),"randombuttonicon"in e&&l(63,Ae=e.randombuttonicon)},e.$$.update=()=>{var a,t;if((262160&e.$$.dirty[0]&&r&&p&&(l(65,v=p),Xe({data:{itemId:v}})),98&e.$$.dirty[0]&&i&&s&&c&&(l(70,je=!0),y=i,(f=s)&&f.length&&y&&0<y.length&&"true"!=g&&G(c,y,f)),4194312&e.$$.dirty[2]&&v&&M&&M&&!M.includes(decodeURI(v))&&""!=v&&window.postMessage({type:"NonExistentCategory"},window.location.href),8214&e.$$.dirty[0]&&c&&n&&r&&j)&&(c||(S="Endpoint is missing! Please provide a valid endpointURL.",l(69,C=!0),l(68,$=!1),console.error(S)),n||(S="Datasource is missing! Please provide a valid datasource.",l(69,C=!0),l(68,$=!1),console.error(S)),(!r||r.length<2)&&(S="Language is missing! Please provide a valid language (alpha2code)",l(69,C=!0),l(68,$=!1),console.error(S)),!C)){l(68,$=!0),"true"==h&&G(c,y,f),t=r,rt.set(t);let e=new URL(c+"/casino/groups/"+n);e.searchParams.append("language",r),e.searchParams.append("platform",st(Be)),a=e,new Promise((t,n)=>{l(68,$=!0),fetch(a).then(e=>e.json()).then(e=>{l(68,$=!1),t(e)}).catch(e=>{l(69,C=!0),l(68,$=!1),console.error(e),n(e)})}).then(e=>{let a=m.split(",");e&&(He=e.items.filter(e=>{let t;if(0<e.games.total&&(t=!0,m))for(var n of a)e.flags==n&&(t=!1);return t}),l(75,We=He.filter(e=>{return!(0<(null==(e=null==e?void 0:e.subGroups)?void 0:e.count)&&"true"==ce)}).map(e=>e.id)),l(84,M=e.items.map(e=>e.id.toString())),l(68,$=!1))}),P(),(w=void 0)&&(Ne=w.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}if(16&e.$$.dirty[0]&&r&&(Ve&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href)},500),Ve=!1),512&e.$$.dirty[0]&&u&&(t=new URL(u),fetch(t.href).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ya(e,t[e])})}).catch(e=>{console.log(e)})),128&e.$$.dirty[0]|16&e.$$.dirty[2]&&o&&x){let e=document.createElement("style");e.innerHTML=o,x.appendChild(e)}if(256&e.$$.dirty[0]|16&e.$$.dirty[2]&&d&&x){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{x.appendChild(t)},1)})}4&e.$$.dirty[2]&&b&&(null!=b&&b.addEventListener("mousedown",I,!1),null!=b&&b.addEventListener("touchstart",I,!1),null!=b&&b.addEventListener("mouseup",R,!1),null!=b&&b.addEventListener("touchend",R,!1))},[g,c,n,B,r,i,s,o,d,u,O,N,H,j,h,U,z,m,p,Y,V,Z,K,X,q,J,Q,ee,te,ne,ae,re,ie,se,oe,le,de,ue,he,me,pe,ge,fe,ye,be,ve,we,xe,$e,Ce,Se,ke,_e,Te,Fe,Me,Le,Ee,Ge,Pe,Ie,Re,De,Ae,b,v,x,A,$,C,je,k,T,F,Ue,We,Ye,D,Be,Qe,et,(e,t)=>{E=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:H,receivedFavoriteResults:a},window.location.href)},W,ce,M,()=>et(),()=>{Qe()},function(e){at[e?"unshift":"push"](()=>{b=e,l(64,b)})},function(e){at[e?"unshift":"push"](()=>{x=e,l(66,x)})}]}class Qo extends r{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}.FiltersButtonsContainer{display:flex;flex:1;grid-gap:20px;flex-direction:row-reverse}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;padding:10px;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:5px;text-transform:uppercase;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.ClearFilterButtonWrapper{border:1px solid var(--emfe-w-color-secondary, #FD2839);color:var(--emfe-w-color-secondary, #FD2839)}.FilterIconContainer,.ClearIcon{position:relative;padding-left:5px}.FilterIconContainer{top:2px}.ClearIcon{position:relative;top:1px}.ClearIcon svg{width:14px}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;justify-content:center;align-items:center}.NumberOfFiltersContainer{display:block;line-height:0px;border-radius:50%;border:2px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);font-size:12px;position:absolute;top:-5px;left:18px}.NumberOfFiltersContainer .NumberOfFilters{display:inline-block;padding-top:50%;padding-bottom:50%;margin-left:3px;margin-right:3px}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{position:relative;width:100%;display:flex;flex-direction:row-reverse;border:1px solid var(--emfe-w-color-white, #FFFFFF);border-radius:0;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{position:absolute;left:40px;top:revert;padding-left:0}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer path{fill:var(--emfe-w-color-primary, #D0046C)}@media screen and (max-width: 1300px){}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{border-radius:5px;border:1px solid var(--emfe-w-color-white, #FFFFFF);background:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper{padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper .ClearIcon{display:none}.ClearFilterMobileButtonWrapper .ClearIcon svg{width:12px}@media(max-width: 768px){}.SearchBarPlaceholder{display:block;width:100%;height:46px}.SearchBarPlaceholder{display:block;width:100%;height:46px}</style>",a(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Jo,Xo,t,{endpoint:1,datasource:2,currency:3,lang:4,session:5,userid:6,clientstyling:7,clientstylingurl:8,translationurl:9,cmsendpoint:10,categorybackground:11,visiblegames:12,alternativesearch:13,favorites:14,containermaxwidth:15,lobbyid:82,haspanicbutton:16,filteredcategories:17,activecategory:18,livecasino:19,playrandomgame:20,filteredrandomgamecategories:21,gamepagemodalurl:22,positionwinnerswidget:23,tabsorder:24,enableautoscroll:25,istopavailable:26,isrecentavailable:27,integratedgameframedesktop:28,integratedgameframemobile:29,periodrecent:30,periodtop:31,numberusersrecent:32,numberuserstop:33,amountlimit:34,defaultcurrency:35,showsubgroups:83,positionjackpotbanners:36,caticon0:37,caticon1:38,caticon2:39,caticon3:40,backgroundsrc:41,backgroundsrcmobile:42,titlelogopath:43,iconlabels:44,visualstructure:45,positioncollections:46,type:47,titletype:48,collectionprovidersgamenames:49,addfilterselector:50,addsortingselector:51,filterbylogo:52,positioncasinocalendar:53,casinomygames:0,mostplayed:54,lastplayed:55,lastplayedperiod:56,mostplayedperiod:57,lastplayedorder:58,lastplayedlimit:59,lastplayedunique:60,mostplayedrounds:61,winnersdatasources:62,randombuttonicon:63},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","cmsendpoint","categorybackground","visiblegames","alternativesearch","favorites","containermaxwidth","lobbyid","haspanicbutton","filteredcategories","activecategory","livecasino","playrandomgame","filteredrandomgamecategories","gamepagemodalurl","positionwinnerswidget","tabsorder","enableautoscroll","istopavailable","isrecentavailable","integratedgameframedesktop","integratedgameframemobile","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","showsubgroups","positionjackpotbanners","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","positioncollections","type","titletype","collectionprovidersgamenames","addfilterselector","addsortingselector","filterbylogo","positioncasinocalendar","casinomygames","mostplayed","lastplayed","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayedrounds","winnersdatasources","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 cmsendpoint(){return this.$$.ctx[10]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),f()}get categorybackground(){return this.$$.ctx[11]}set categorybackground(e){this.$$set({categorybackground:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get alternativesearch(){return this.$$.ctx[13]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),f()}get containermaxwidth(){return this.$$.ctx[15]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get lobbyid(){return this.$$.ctx[82]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get haspanicbutton(){return this.$$.ctx[16]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get filteredcategories(){return this.$$.ctx[17]}set filteredcategories(e){this.$$set({filteredcategories:e}),f()}get activecategory(){return this.$$.ctx[18]}set activecategory(e){this.$$set({activecategory:e}),f()}get livecasino(){return this.$$.ctx[19]}set livecasino(e){this.$$set({livecasino:e}),f()}get playrandomgame(){return this.$$.ctx[20]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get filteredrandomgamecategories(){return this.$$.ctx[21]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),f()}get gamepagemodalurl(){return this.$$.ctx[22]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get positionwinnerswidget(){return this.$$.ctx[23]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),f()}get tabsorder(){return this.$$.ctx[24]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[25]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[26]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[27]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[28]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[29]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get periodrecent(){return this.$$.ctx[30]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[31]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[32]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[33]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[34]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get defaultcurrency(){return this.$$.ctx[35]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get showsubgroups(){return this.$$.ctx[83]}set showsubgroups(e){this.$$set({showsubgroups:e}),f()}get positionjackpotbanners(){return this.$$.ctx[36]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),f()}get caticon0(){return this.$$.ctx[37]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[38]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[39]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[40]}set caticon3(e){this.$$set({caticon3:e}),f()}get backgroundsrc(){return this.$$.ctx[41]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[42]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[43]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get iconlabels(){return this.$$.ctx[44]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get visualstructure(){return this.$$.ctx[45]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get positioncollections(){return this.$$.ctx[46]}set positioncollections(e){this.$$set({positioncollections:e}),f()}get type(){return this.$$.ctx[47]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[48]}set titletype(e){this.$$set({titletype:e}),f()}get collectionprovidersgamenames(){return this.$$.ctx[49]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),f()}get addfilterselector(){return this.$$.ctx[50]}set addfilterselector(e){this.$$set({addfilterselector:e}),f()}get addsortingselector(){return this.$$.ctx[51]}set addsortingselector(e){this.$$set({addsortingselector:e}),f()}get filterbylogo(){return this.$$.ctx[52]}set filterbylogo(e){this.$$set({filterbylogo:e}),f()}get positioncasinocalendar(){return this.$$.ctx[53]}set positioncasinocalendar(e){this.$$set({positioncasinocalendar:e}),f()}get casinomygames(){return this.$$.ctx[0]}set casinomygames(e){this.$$set({casinomygames:e}),f()}get mostplayed(){return this.$$.ctx[54]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get lastplayed(){return this.$$.ctx[55]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get lastplayedperiod(){return this.$$.ctx[56]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get mostplayedperiod(){return this.$$.ctx[57]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),f()}get lastplayedorder(){return this.$$.ctx[58]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),f()}get lastplayedlimit(){return this.$$.ctx[59]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),f()}get lastplayedunique(){return this.$$.ctx[60]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),f()}get mostplayedrounds(){return this.$$.ctx[61]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get winnersdatasources(){return this.$$.ctx[62]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),f()}get randombuttonicon(){return this.$$.ctx[63]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}}return customElements.get("casino-page")||customElements.define("casino-page",Qo),Qo});
|
|
33
33
|
//# sourceMappingURL=casino-page.js.map
|