@everymatrix/casino-most-played-section 1.8.1 → 1.8.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.
@@ -1297,22 +1297,22 @@ a,Open:o}=i;if(e)switch(t){case"SeatsUpdated":a&&Array.isArray(a)&&(n(29,y=a),n(
|
|
1297
1297
|
// }
|
1298
1298
|
return t})(s)),n(26,me=Mr[q]),n(27,f=(he.min||{})[q]),n(28,p=(he.max||{})[q]),v=s.currentRouletteNumbers,b=s.currentDoubleBallRouletteNumbers,w=s.vendorCategory,n(30,_=w.toLowerCase()===Qr),n(13,S=(_?b:v)||[]),n(31,x="GameProp LiveProps RoulleteProps"),n(31,x+=_?" Double":""),n(32,C=Ge(ge,w.toLowerCase())?ve:ye),E=T,n(33,T=Array.isArray(y)&&y.length===g),s.dealer&&n(35,F=s.dealer.DealerName),L=s.numberOfPlayers,n(34,fe="ListGame"),s.isOpen&&s.currentRouletteNumbers&&n(34,fe+=" GameBackdrop"),d&&T&&f&&p&&s.currentOccupiedSeats?n(34,fe+=" GameContainerDimmed"):!1===d&&h&&n(34,fe+=" GameContainerFullyDimmed"),o&&(!E&&T?(n(34,fe+=" PulsatingRedShadow"),n(34,fe=fe.replace(" PulsatingGreenShadow",""))):E&&!T&&(n(34,fe+=" PulsatingGreenShadow"),n(34,fe=fe.replace(" PulsatingRedShadow",""))))}},Fe=()=>{let e=new URL(N),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{o.appendChild(t)}),1)}))};M((()=>(window.addEventListener("message",be,!1),()=>{window.removeEventListener("message",be),l&&l.removeEventListener("message",Te)})));return e.$$set=e=>{"session"in e&&n(48,$=e.session),"userid"in e&&n(49,I=e.userid),"lang"in e&&n(1,P=e.lang),"clientstyling"in e&&n(50,D=e.clientstyling),"clientstylingurl"in e&&n(51,N=e.clientstylingurl),"translationurl"in e&&n(52,A=e.translationurl),"favorites"in e&&n(2,R=e.favorites),"gamethumbnail"in e&&n(3,H=e.gamethumbnail),"gamename"in e&&n(4,B=e.gamename),"gamevendor"in e&&n(5,U=e.gamevendor),"gameid"in e&&n(6,Y=e.gameid),"gameisnew"in e&&n(7,j=e.gameisnew),"gametag"in e&&n(8,z=e.gametag),"gamefunmode"in e&&n(53,W=e.gamefunmode),"searchitem"in e&&n(54,V=e.searchitem),"gamefavorite"in e&&n(0,Z=e.gamefavorite),"gamecellsize"in e&&n(9,K=e.gamecellsize),"showfavoredcategory"in e&&n(55,X=e.showfavoredcategory),"showgamename"in e&&n(10,J=e.showgamename),"currency"in e&&n(56,q=e.currency),"gamepagemodalurl"in e&&n(57,Q=e.gamepagemodalurl),"endpoint"in e&&n(58,ee=e.endpoint),"livelobbyendpoint"in e&&n(59,te=e.livelobbyendpoint),"connectlive"in e&&n(60,ne=e.connectlive),"visibilityconnect"in e&&n(61,re=e.visibilityconnect),"integratedgameframedesktop"in e&&n(62,ie=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(63,ae=e.integratedgameframemobile)},e.$$.update=()=>{/*connectlive*/536870912&e.$$.dirty[1]&&ne&&("disconnect"===ne?Ce():"connect"===ne&&xe()),/*visibilityconnect*/1073741824&e.$$.dirty[1]&&re&&("disconnect"===re?Ce():"connect"===re&&"connect"===ne&&xe()),/*lang*/2&e.$$.dirty[0]&&P&&Se(),/*session, userid, endpoint*/134610944&e.$$.dirty[1]&&$&&I&&ee&&(n(15,oe=!0),i=I),/*gamethumbnail*/8&e.$$.dirty[0]&&H&&a&&n(19,a.onload=()=>{n(18,le=!0)},a),/*customStylingContainer*/2048&e.$$.dirty[0]|/*clientstyling*/524288&e.$$.dirty[1]&&D&&o&&(()=>{let e=document.createElement("style");e.innerHTML=D,o.appendChild(e)})(),/*customStylingContainer*/2048&e.$$.dirty[0]|/*clientstylingurl*/1048576&e.$$.dirty[1]&&N&&o&&Fe(),/*favorites*/4&e.$$.dirty[0]&&R&&"true"==R&&n(16,se=!0),/*translationurl*/2097152&e.$$.dirty[1]&&A&&fetch(A).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Er(t,e[t])}))})).catch((e=>{console.log(e)})),/*gamecellsize*/512&e.$$.dirty[0]|/*clientstylingurl*/1048576&e.$$.dirty[1]&&K&&N&&Fe(),/*endpoint, livelobbyendpoint*/402653184&e.$$.dirty[1]&&ee&&te&&(()=>{let e=new URL(`${te.split("?")[0]}`);e.searchParams.append("platform",Sr(ce)),e.searchParams.append("language",P),
|
1299
1299
|
// let url:URL = new URL(`${endpoint}${livelobbyendpoint}`);
|
1300
|
-
fetch(e).then((e=>e.json())).then((e=>{const{details:t}=e[0];n(12,s=t)}))})(),/*livegamedata*/4096&e.$$.dirty[0]&&s&&Me(),/*roulletteref, roulleteresults*/24576&e.$$.dirty[0]&&G&&S&&(()=>{const e="FirstElementAnimated",t=G.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout((()=>{t.classList.remove(e)}),2e3))})()},[Z,P,R,H,B,U,Y,j,z,K,J,o,s,S,G,oe,se,!1,le,a,c,h,ue,d,m,de,me,f,p,y,_,x,C,T,fe,F,r,ce,we,_e,()=>{window.postMessage({type:"GameHoveredMobile"},window.location.href)},()=>{window.postMessage({type:"GameBlurMobile"},window.location.href)},()=>{window.postMessage({type:"GameHoveredPc"},window.location.href)},()=>{window.postMessage({type:"GameBlurPc"},window.location.href)},Ge,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`\n <span>\n ${n}\n </span>\n ${Ee(e)}-${Ee(t)}`),L&&(r=`\n <svg fill="white" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>\n <span class="NrOfPlayers">${L}</span>`),r||i?`\n <p class="LiveLimits">\n <span class="BetLimitLeft">\n ${i||""}\n </span>\n <span class="BetLimitRight">\n ${r||""}\n </span>\n </p>`:""},e=>e?`\n <p class="LiveLimits">\n <span class="DealerName">${r("gameThumbnail.dealer")}: ${e}</span>\n </p>\n `:"",(e,t,n,r="")=>{const i=`${e} ${r}`,a=t.toString().match(/first0|second0|0/g);return 0===t||a&&0!==a.length?`\n <span\n id=${t}\n class="${i}"\n >\n ${n}\n </span>\n `:`\n <span id=${t} class="${i}">\n ${n}\n </span>\n `},$,I,D,N,A,W,V,X,q,Q,ee,te,ne,re,ie,ae,ye,ve,function(e){k[e?"unshift":"push"]((()=>{a=e,n(19,a)}))},()=>_e(Y),()=>we(Y),()=>_e(Y),function(e){k[e?"unshift":"push"]((()=>{G=e,n(14,G)}))},function(e){k[e?"unshift":"push"]((()=>{o=e,n(11,o)}))}]}function ni(e,t){Vn(e,t)}!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",class extends j{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>",Y(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},ti,Xr,a,{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&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}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}),H()}get userid(){return this.$$.ctx[49]}set userid(e){this.$$set({userid:e}),H()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),H()}get clientstyling(){return this.$$.ctx[50]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[51]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get translationurl(){return this.$$.ctx[52]}set translationurl(e){this.$$set({translationurl:e}),H()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),H()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),H()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),H()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),H()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),H()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),H()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),H()}get gamefunmode(){return this.$$.ctx[53]}set gamefunmode(e){this.$$set({gamefunmode:e}),H()}get searchitem(){return this.$$.ctx[54]}set searchitem(e){this.$$set({searchitem:e}),H()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),H()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),H()}get showfavoredcategory(){return this.$$.ctx[55]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),H()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),H()}get currency(){return this.$$.ctx[56]}set currency(e){this.$$set({currency:e}),H()}get gamepagemodalurl(){return this.$$.ctx[57]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get endpoint(){return this.$$.ctx[58]}set endpoint(e){this.$$set({endpoint:e}),H()}get livelobbyendpoint(){return this.$$.ctx[59]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),H()}get connectlive(){return this.$$.ctx[60]}set connectlive(e){this.$$set({connectlive:e}),H()}get visibilityconnect(){return this.$$.ctx[61]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[62]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get integratedgameframemobile(){return this.$$.ctx[63]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[64]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[65]}});const ri={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"}}};
|
1300
|
+
fetch(e).then((e=>e.json())).then((e=>{const{details:t}=e[0];n(12,s=t)}))})(),/*livegamedata*/4096&e.$$.dirty[0]&&s&&Me(),/*roulletteref, roulleteresults*/24576&e.$$.dirty[0]&&G&&S&&(()=>{const e="FirstElementAnimated",t=G.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout((()=>{t.classList.remove(e)}),2e3))})()},[Z,P,R,H,B,U,Y,j,z,K,J,o,s,S,G,oe,se,!1,le,a,c,h,ue,d,m,de,me,f,p,y,_,x,C,T,fe,F,r,ce,we,_e,()=>{window.postMessage({type:"GameHoveredMobile"},window.location.href)},()=>{window.postMessage({type:"GameBlurMobile"},window.location.href)},()=>{window.postMessage({type:"GameHoveredPc"},window.location.href)},()=>{window.postMessage({type:"GameBlurPc"},window.location.href)},Ge,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`\n <span>\n ${n}\n </span>\n ${Ee(e)}-${Ee(t)}`),L&&(r=`\n <svg fill="white" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>\n <span class="NrOfPlayers">${L}</span>`),r||i?`\n <p class="LiveLimits">\n <span class="BetLimitLeft">\n ${i||""}\n </span>\n <span class="BetLimitRight">\n ${r||""}\n </span>\n </p>`:""},e=>e?`\n <p class="LiveLimits">\n <span class="DealerName">${r("gameThumbnail.dealer")}: ${e}</span>\n </p>\n `:"",(e,t,n,r="")=>{const i=`${e} ${r}`,a=t.toString().match(/first0|second0|0/g);return 0===t||a&&0!==a.length?`\n <span\n id=${t}\n class="${i}"\n >\n ${n}\n </span>\n `:`\n <span id=${t} class="${i}">\n ${n}\n </span>\n `},$,I,D,N,A,W,V,X,q,Q,ee,te,ne,re,ie,ae,ye,ve,function(e){k[e?"unshift":"push"]((()=>{a=e,n(19,a)}))},()=>_e(Y),()=>we(Y),()=>_e(Y),function(e){k[e?"unshift":"push"]((()=>{G=e,n(14,G)}))},function(e){k[e?"unshift":"push"]((()=>{o=e,n(11,o)}))}]}function ni(e,t){Vn(e,t)}!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",class extends j{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>',Y(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},ti,Xr,a,{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&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}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}),H()}get userid(){return this.$$.ctx[49]}set userid(e){this.$$set({userid:e}),H()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),H()}get clientstyling(){return this.$$.ctx[50]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[51]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get translationurl(){return this.$$.ctx[52]}set translationurl(e){this.$$set({translationurl:e}),H()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),H()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),H()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),H()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),H()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),H()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),H()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),H()}get gamefunmode(){return this.$$.ctx[53]}set gamefunmode(e){this.$$set({gamefunmode:e}),H()}get searchitem(){return this.$$.ctx[54]}set searchitem(e){this.$$set({searchitem:e}),H()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),H()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),H()}get showfavoredcategory(){return this.$$.ctx[55]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),H()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),H()}get currency(){return this.$$.ctx[56]}set currency(e){this.$$set({currency:e}),H()}get gamepagemodalurl(){return this.$$.ctx[57]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get endpoint(){return this.$$.ctx[58]}set endpoint(e){this.$$set({endpoint:e}),H()}get livelobbyendpoint(){return this.$$.ctx[59]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),H()}get connectlive(){return this.$$.ctx[60]}set connectlive(e){this.$$set({connectlive:e}),H()}get visibilityconnect(){return this.$$.ctx[61]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[62]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get integratedgameframemobile(){return this.$$.ctx[63]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[64]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[65]}});const ri={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"}}};
|
1301
1301
|
/* ../casino-filter/src/CasinoFilter.svelte generated by Svelte v3.48.0 */function ii(e,t,n){const r=e.slice();return r[35]=t[n],r[36]=t,r[37]=n,r}
|
1302
|
-
// (
|
1302
|
+
// (164:4) {#if !isLoading}
|
1303
1303
|
function ai(e){let t,n,i,a,o,s,l,c,u,b,S,C,T,E,G,M,F,k,L,$,I,P,D,O,N,A,R,H,B,U,Y,j=/*$_*/e[11]("Translations.filterby")+"",z=/*$_*/e[11]("Translations.providers")+"",W=/*$_*/e[11]("Translations.clear")+"";function V(e,t){/*fullSelection*/
|
1304
1304
|
return e[7]?li:si}let Z=V(e),K=Z(e),X=/*vendorArray*/e[5],J=[];for(let t=0;t<X.length;t+=1)J[t]=hi(ii(e,X,t));return{c(){t=p("div"),n=p("div"),i=p("div"),a=g("svg"),o=g("path"),s=v(),l=p("div"),c=p("span"),u=y(j),b=v(),S=p("div"),C=p("span"),T=y(z),E=v(),K.c(),G=v(),M=p("span"),F=g("svg"),k=g("path"),I=v(),P=p("div"),D=p("ul");for(let e=0;e<J.length;e+=1)J[e].c();O=v(),N=p("button"),A=y(W),_(o,"id","noun_filter_736223"),_(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"),_(o,"transform","translate(-5 -6.2)"),_(o,"fill","#fff"),_(a,"xmlns","http://www.w3.org/2000/svg"),_(a,"width","16"),_(a,"height","16"),_(a,"viewBox","0 0 16 16"),_(c,"class","FilterName"),_(S,"class","FilterValueContainer"),_(l,"class","FilterTextContainer"),_(i,"class","FilterMainArea"),_(k,"id","arrow"),_(k,"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"),_(k,"transform","translate(-274.511 -441.088)"),_(k,"fill","#d1d1d1"),_(F,"xmlns","http://www.w3.org/2000/svg"),_(F,"width","14"),_(F,"height","6.835"),_(F,"viewBox","0 0 14 6.835"),_(M,"class",L="TriangleInactive "+(/*isFilterActive*/e[4]?"TriangleActive":"")),_(n,"class",$="FilterSelector "+(/*isFilterActive*/e[4]?"FilterSelectorOpen":"")),_(D,"class","FilterDropdown"),_(N,"class","ClearFilters"),N.disabled=R=/*fullSelection*/e[7]&&/*selectedVendorArray*/e[6].length!=/*vendorArray*/e[5].length,_(P,"class",H="FilterDropdownContainer "+(/*isFilterActive*/e[4]?"FilterOpen":"")),_(t,"class",B="FilterContainer "+(/*addfilterselector*/"true"==e[0]&&/*addsortingselector*/"true"==e[1]?"FilerContainerSplit":""))},m(r,m){d(r,t,m),h(t,n),h(n,i),h(i,a),h(a,o),h(i,s),h(i,l),h(l,c),h(c,u),h(l,b),h(l,S),h(S,C),h(C,T),h(S,E),K.m(S,null),h(n,G),h(n,M),h(M,F),h(F,k),h(t,I),h(t,P),h(P,D);for(let e=0;e<J.length;e+=1)J[e].m(D,null);h(P,O),h(P,N),h(N,A),U||(Y=[w(n,"click",/*click_handler*/e[22]),w(N,"click",/*click_handler_2*/e[25])],U=!0)},p(e,r){if(/*$_*/2048&r[0]&&j!==(j=/*$_*/e[11]("Translations.filterby")+"")&&x(u,j),/*$_*/2048&r[0]&&z!==(z=/*$_*/e[11]("Translations.providers")+"")&&x(T,z),Z===(Z=V(e))&&K?K.p(e,r):(K.d(1),K=Z(e),K&&(K.c(),K.m(S,null))),/*isFilterActive*/16&r[0]&&L!==(L="TriangleInactive "+(/*isFilterActive*/e[4]?"TriangleActive":""))&&_(M,"class",L),/*isFilterActive*/16&r[0]&&$!==($="FilterSelector "+(/*isFilterActive*/e[4]?"FilterSelectorOpen":""))&&_(n,"class",$),/*filterbylogo, vendorArray, filterByVendors*/8228&r[0]){let t;for(X=/*vendorArray*/e[5],t=0;t<X.length;t+=1){const n=ii(e,X,t);J[t]?J[t].p(n,r):(J[t]=hi(n),J[t].c(),J[t].m(D,null))}for(;t<J.length;t+=1)J[t].d(1);J.length=X.length}/*$_*/2048&r[0]&&W!==(W=/*$_*/e[11]("Translations.clear")+"")&&x(A,W),/*fullSelection, selectedVendorArray, vendorArray*/224&r[0]&&R!==(R=/*fullSelection*/e[7]&&/*selectedVendorArray*/e[6].length!=/*vendorArray*/e[5].length)&&(N.disabled=R),/*isFilterActive*/16&r[0]&&H!==(H="FilterDropdownContainer "+(/*isFilterActive*/e[4]?"FilterOpen":""))&&_(P,"class",H),/*addfilterselector, addsortingselector*/3&r[0]&&B!==(B="FilterContainer "+(/*addfilterselector*/"true"==e[0]&&/*addsortingselector*/"true"==e[1]?"FilerContainerSplit":""))&&_(t,"class",B)},d(e){e&&m(t),K.d(),f(J,e),U=!1,r(Y)}}}
|
1305
|
-
// (
|
1305
|
+
// (161:2) {#if hasErrors}
|
1306
1306
|
function oi(e){let t,n,r=/*$_*/e[11]("casinoPage.500")+"";return{c(){t=p("p"),n=y(r),_(t,"class","SearchLoading"),_(t,"part","SearchLoading")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/2048&t[0]&&r!==(r=/*$_*/e[11]("casinoPage.500")+"")&&x(n,r)},d(e){e&&m(t)}}}
|
1307
|
-
// (
|
1307
|
+
// (177:14) {:else}
|
1308
1308
|
function si(e){let t,n;return{c(){t=p("span"),n=y(/*selectionNumber*/e[8]),_(t,"class","FilterCounter")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*selectionNumber*/256&t[0]&&x(n,/*selectionNumber*/e[8])},d(e){e&&m(t)}}}
|
1309
|
-
// (
|
1309
|
+
// (175:14) {#if fullSelection}
|
1310
1310
|
function li(e){let t,n,r=/*$_*/e[11]("Translations.all")+"";return{c(){t=p("span"),n=y(r),_(t,"class","FilterCounter")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/2048&t[0]&&r!==(r=/*$_*/e[11]("Translations.all")+"")&&x(n,r)},d(e){e&&m(t)}}}
|
1311
|
-
// (
|
1311
|
+
// (199:50)
|
1312
1312
|
function ci(e){let t,n;return{c(){t=p("img"),l(t.src,n=/*vendor*/e[35].logo)||_(t,"src",n),_(t,"alt","vendor logo")},m(e,n){d(e,t,n)},p(e,r){/*vendorArray*/32&r[0]&&!l(t.src,n=/*vendor*/e[35].logo)&&_(t,"src",n)},d(e){e&&m(t)}}}
|
1313
|
-
// (
|
1313
|
+
// (197:16) {#if filterbylogo === "false"}
|
1314
1314
|
function ui(e){let t,n,r=/*vendor*/e[35].name+"";return{c(){t=p("span"),n=y(r)},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*vendorArray*/32&t[0]&&r!==(r=/*vendor*/e[35].name+"")&&x(n,r)},d(e){e&&m(t)}}}
|
1315
|
-
// (
|
1315
|
+
// (192:10) {#each vendorArray as vendor}
|
1316
1316
|
function hi(e){let t,n,i,a,o,s,l,c,u,f,g,y;function b(){
|
1317
1317
|
/*input_change_handler*/e[23].call(i,/*each_value*/e[36],/*vendor_index*/e[37])}function S(){/*click_handler_1*/
|
1318
1318
|
return e[24](/*vendor*/e[35])}function x(e,t){/*filterbylogo*/
|
@@ -1329,137 +1329,139 @@ w[d]&&(w={[d]:[]});const T=()=>{n(4,g=!g)},E=e=>{let t=localStorage.getItem("ven
|
|
1329
1329
|
// update filters value
|
1330
1330
|
n(7,_=b.length===v.length||0==b.length),n(8,S=b.length)},M=()=>{const e=new URL(`${a}/casino/vendors`);e.searchParams.append("fields","id,name,logo,subVendors"),e.searchParams.append("language",s),e.searchParams.append("datasource",o),e.searchParams.append("platform",Sr(y)),(d.match(/\$/g)||[]).length>1?(e.searchParams.append("filter",`games(subGroups=${d})`),e.searchParams.append("subVendors",`games(subGroups=${d})`)):e.searchParams.append("filter",`games(groups=${d})`),(e=>{n(9,x=!0),new Promise(((t,r)=>{fetch(e).then((e=>e.json())).then((e=>{e=e.items,t(e.items),n(6,b=[]);let r=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));e.forEach((e=>{var t;r||(r={currentCategoryId:[]}),(null===(t=r[d])||void 0===t?void 0:t.indexOf(e.id))>=0?(e.isFilterSelected=!0,b.push(e)):e.isFilterSelected=!1})),n(5,v=e),
|
1331
1331
|
// needed to force the update of the filters value
|
1332
|
-
G()})).catch((e=>{console.error(e),n(10,C=!0),r(e)})).finally((()=>{n(9,x=!1)}))}))})(e)},F=()=>{n(
|
1332
|
+
G()})).catch((e=>{console.error(e),n(10,C=!0),r(e)})).finally((()=>{n(9,x=!1)}))}))})(e)},F=()=>{n(6,b=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[d]:b.map((e=>e.id))})),v.forEach((e=>e.isFilterSelected=!1)),
|
1333
|
+
// this reassignation of the pointer value is required in order to have Svelte trigger a re-render
|
1334
|
+
n(5,v),window.postMessage({type:"ApplyFilters"},window.location.href),n(7,_=!0),n(4,g=!1)};return e.$$set=e=>{"endpoint"in e&&n(15,a=e.endpoint),"datasource"in e&&n(16,o=e.datasource),"lang"in e&&n(17,s=e.lang),"translationurl"in e&&n(18,l=e.translationurl),"clientstyling"in e&&n(19,c=e.clientstyling),"clientstylingurl"in e&&n(20,h=e.clientstylingurl),"categoryid"in e&&n(21,d=e.categoryid),"addfilterselector"in e&&n(0,m=e.addfilterselector),"addsortingselector"in e&&n(1,f=e.addsortingselector),"filterbylogo"in e&&n(2,p=e.filterbylogo)},e.$$.update=()=>{/*endpoint, datasource, categoryid, filterbylogo*/2195460&e.$$.dirty[0]&&a&&o&&d&&p&&M(),/*clientstyling, customStylingContainer*/524296&e.$$.dirty[0]&&c&&i&&(()=>{let e=document.createElement("style");e.innerHTML=c,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/1048584&e.$$.dirty[0]&&h&&i&&(()=>{let e=document.createElement("style");fetch(new URL(h)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{i.appendChild(e)}),1)}))})(),/*translationurl*/262144&e.$$.dirty[0]&&l&&fetch(l).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{ni(t,e[t])}))})).catch((e=>{console.log(e)}))},[m,f,p,i,g,v,b,_,S,x,C,r,T,E,F,a,o,s,l,c,h,d,()=>T(),function(e,t){e[t].isFilterSelected=this.checked,n(5,v)},e=>E(e),()=>F(),function(e){k[e?"unshift":"push"]((()=>{i=e,n(3,i)}))}]}
|
1333
1335
|
/* ../casino-games-category-section/src/CasinoGamesCategorySection.svelte generated by Svelte v3.48.0 */
|
1334
|
-
function fi(e,t,n){const r=e.slice();return r[
|
1335
|
-
// (
|
1336
|
+
function fi(e,t,n){const r=e.slice();return r[81]=t[n],r[83]=n,r}function pi(e,t,n){const r=e.slice();return r[81]=t[n],r[84]=t,r[83]=n,r}function gi(e,t,n){const r=e.slice();return r[81]=t[n],r[83]=n,r}
|
1337
|
+
// (599:4) {:else}
|
1336
1338
|
function yi(e){let t;function n(e,t){/*categoryData*/
|
1337
|
-
return e[22]?_i:/*showFavGamesCategory*/e[
|
1338
|
-
// (
|
1339
|
+
return e[22]?_i:/*showFavGamesCategory*/e[33]?wi:void 0}let r=n(e),i=r&&r(e);return{c(){t=p("div"),i&&i.c()},m(e,n){d(e,t,n),i&&i.m(t,null)},p(e,a){r===(r=n(e))&&i?i.p(e,a):(i&&i.d(1),i=r&&r(e),i&&(i.c(),i.m(t,null)))},d(e){e&&m(t),i&&i.d()}}}
|
1340
|
+
// (541:4) {#if searched}
|
1339
1341
|
function vi(e){let t,n,r;function i(e,t){/*recentSearched*/
|
1340
1342
|
return e[26]?zi:/*shownCategoryData*/e[23].length?Yi:ji}let a=i(e),o=a(e);function s(e,t){/*shownCategoryData*/
|
1341
|
-
return e[23]?Vi:Wi}let l=s(e),c=l(e);return{c(){t=p("div"),n=p("div"),o.c(),r=v(),c.c(),_(n,"class","CasinoGamesHeader Searched "+(_r(/*userAgent*/e[
|
1342
|
-
// (
|
1343
|
+
return e[23]?Vi:Wi}let l=s(e),c=l(e);return{c(){t=p("div"),n=p("div"),o.c(),r=v(),c.c(),_(n,"class","CasinoGamesHeader Searched "+(_r(/*userAgent*/e[38])?"CasinoGamesHeaderMobile":"")),_(n,"part","CasinoGamesHeader Searched "+(_r(/*userAgent*/e[38])?"CasinoGamesHeaderMobile":"")),_(t,"class","CasinoGamesContainer"),_(t,"part","CasinoGamesContainer")},m(e,i){d(e,t,i),h(t,n),o.m(n,null),h(t,r),c.m(t,null)},p(e,r){a===(a=i(e))&&o?o.p(e,r):(o.d(1),o=a(e),o&&(o.c(),o.m(n,null))),l===(l=s(e))&&c?c.p(e,r):(c.d(1),c=l(e),c&&(c.c(),c.m(t,null)))},d(e){e&&m(t),o.d(),c.d()}}}
|
1344
|
+
// (533:2) {#if hasErrors}
|
1343
1345
|
function bi(e){let t;function n(e,t){/*filteresPresent*/
|
1344
1346
|
return e[28]?Ji:Xi}let r=n(e),i=r(e);return{c(){i.c(),t=b()},m(e,n){i.m(e,n),d(e,t,n)},p(e,a){r!==(r=n(e))&&(i.d(1),i=r(e),i&&(i.c(),i.m(t.parentNode,t)))},d(e){i.d(e),e&&m(t)}}}
|
1345
|
-
// (
|
1347
|
+
// (678:39)
|
1346
1348
|
function wi(e){let t,n,r,i,a,o=/*casinomygames*/"true"!==e[14]&&Si(e);function s(e,t){/*isLoading*/
|
1347
|
-
return e[20]?Ti:/*favoriteGamesData*/e[
|
1348
|
-
/*ul_binding_1*/e[
|
1349
|
-
/*ul_binding_1*/e[
|
1350
|
-
// (
|
1349
|
+
return e[20]&&!/*isLazyLoading*/e[30]?Ti:/*favoriteGamesData*/e[36]?Ci:xi}let l=s(e),c=l(e);return{c(){t=p("div"),o&&o.c(),n=v(),r=p("ul"),c.c(),_(r,"class",i=/*favoriteGamesData*/(0!=e[36].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),_(r,"part",a=/*favoriteGamesData*/(0!=e[36].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),_(t,"class","CasinoGamesContainer"),_(t,"part","CasinoGamesContainer")},m(i,a){d(i,t,a),o&&o.m(t,null),h(t,n),h(t,r),c.m(r,null),
|
1350
|
+
/*ul_binding_1*/e[56](r)},p(e,u){/*casinomygames*/"true"!==e[14]?o?o.p(e,u):(o=Si(e),o.c(),o.m(t,n)):o&&(o.d(1),o=null),l===(l=s(e))&&c?c.p(e,u):(c.d(1),c=l(e),c&&(c.c(),c.m(r,null))),/*favoriteGamesData*/32&u[1]&&i!==(i=/*favoriteGamesData*/(0!=e[36].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&_(r,"class",i),/*favoriteGamesData*/32&u[1]&&a!==(a=/*favoriteGamesData*/(0!=e[36].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&_(r,"part",a)},d(n){n&&m(t),o&&o.d(),c.d(),
|
1351
|
+
/*ul_binding_1*/e[56](null)}}}
|
1352
|
+
// (601:8) {#if categoryData}
|
1351
1353
|
function _i(e){let t,n,r=/*casinomygames*/"true"!==e[14]&&Di(e);function i(e,t){/*isLoading*/
|
1352
|
-
return e[20]?Bi:/*shownCategoryData*/0!==e[23].length?Hi:Ri}let a=i(e),o=a(e);return{c(){t=p("div"),r&&r.c(),n=v(),o.c(),_(t,"class","CasinoGamesContainer"),_(t,"part","CasinoGamesContainer")},m(e,i){d(e,t,i),r&&r.m(t,null),h(t,n),o.m(t,null)},p(e,s){/*casinomygames*/"true"!==e[14]?r?r.p(e,s):(r=Di(e),r.c(),r.m(t,n)):r&&(r.d(1),r=null),a===(a=i(e))&&o?o.p(e,s):(o.d(1),o=a(e),o&&(o.c(),o.m(t,null)))},d(e){e&&m(t),r&&r.d(),o.d()}}}
|
1353
|
-
// (
|
1354
|
-
function Si(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[
|
1355
|
-
/*h3_binding_1*/e[
|
1356
|
-
/*h3_binding_1*/,e[
|
1357
|
-
// (
|
1358
|
-
function xi(e){let t,n,r=/*$_*/e[
|
1359
|
-
// (
|
1360
|
-
function Ci(e){let t,n=/*favoriteGamesData*/e[
|
1361
|
-
// (
|
1354
|
+
return e[20]&&!/*isLazyLoading*/e[30]?Bi:/*shownCategoryData*/0!==e[23].length?Hi:Ri}let a=i(e),o=a(e);return{c(){t=p("div"),r&&r.c(),n=v(),o.c(),_(t,"class","CasinoGamesContainer"),_(t,"part","CasinoGamesContainer")},m(e,i){d(e,t,i),r&&r.m(t,null),h(t,n),o.m(t,null)},p(e,s){/*casinomygames*/"true"!==e[14]?r?r.p(e,s):(r=Di(e),r.c(),r.m(t,n)):r&&(r.d(1),r=null),a===(a=i(e))&&o?o.p(e,s):(o.d(1),o=a(e),o&&(o.c(),o.m(t,null)))},d(e){e&&m(t),r&&r.d(),o.d()}}}
|
1355
|
+
// (680:14) {#if casinomygames !== 'true'}
|
1356
|
+
function Si(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[37]("gamesCategorySection.favorites")+"",u=/*favoriteGamesData*/e[36].items.length+"";return{c(){t=p("div"),n=p("h3"),r=y(c),i=v(),a=p("span"),o=y("("),s=y(u),l=y(")"),_(a,"class","CategoryFavName"),_(n,"class","CategoryName"),_(n,"part","CategoryName"),_(t,"class","CasinoGamesHeader"),_(t,"part","CasinoGamesHeader")},m(c,u){d(c,t,u),h(t,n),h(n,r),h(n,i),h(n,a),h(a,o),h(a,s),h(a,l),
|
1357
|
+
/*h3_binding_1*/e[55](n)},p(e,t){/*$_*/64&t[1]&&c!==(c=/*$_*/e[37]("gamesCategorySection.favorites")+"")&&x(r,c),/*favoriteGamesData*/32&t[1]&&u!==(u=/*favoriteGamesData*/e[36].items.length+"")&&x(s,u)},d(n){n&&m(t)
|
1358
|
+
/*h3_binding_1*/,e[55](null)}}}
|
1359
|
+
// (784:18) {:else}
|
1360
|
+
function xi(e){let t,n,r=/*$_*/e[37]("gamesCategorySection.waiting")+"";return{c(){t=p("p"),n=y(r)},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/64&t[1]&&r!==(r=/*$_*/e[37]("gamesCategorySection.waiting")+"")&&x(n,r)},d(e){e&&m(t)}}}
|
1361
|
+
// (693:18) {#if favoriteGamesData}
|
1362
|
+
function Ci(e){let t,n=/*favoriteGamesData*/e[36].items,r=[];for(let t=0;t<n.length;t+=1)r[t]=Pi(fi(e,n,t));let i=null;return n.length||(i=Ei(e)),{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=b(),i&&i.c()},m(e,n){for(let t=0;t<r.length;t+=1)r[t].m(e,n);d(e,t,n),i&&i.m(e,n)},p(e,a){if(/*session, userid, lang, favorites, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/16378&a[0]|/*favoriteGamesData, addGameTag, showFavGamesCategory, intersectingIndexes, visibilityconnect, userAgent, $_*/508&a[1]){let o;for(n=/*favoriteGamesData*/e[36].items,o=0;o<n.length;o+=1){const i=fi(e,n,o);r[o]?r[o].p(i,a):(r[o]=Pi(i),r[o].c(),r[o].m(t.parentNode,t))}for(;o<r.length;o+=1)r[o].d(1);r.length=n.length,!n.length&&i?i.p(e,a):n.length?i&&(i.d(1),i=null):(i=Ei(e),i.c(),i.m(t.parentNode,t))}},d(e){f(r,e),e&&m(t),i&&i.d(e)}}}
|
1363
|
+
// (690:16) {#if isLoading && !isLazyLoading}
|
1362
1364
|
function Ti(t){let n;return{c(){n=p("div"),_(n,"class","lds-dual-ring"),_(n,"part","lds-dual-ring")},m(e,t){d(e,n,t)},p:e,d(e){e&&m(n)}}}
|
1363
|
-
// (
|
1364
|
-
function Ei(e){let t,n,r,i,a,o,s,l,c,u,f=/*$_*/e[
|
1365
|
-
// (
|
1366
|
-
function Gi(e){let t,n,r=/*$_*/e[
|
1367
|
-
// (
|
1368
|
-
function Mi(e){let t,n,r=/*$_*/e[
|
1369
|
-
// (
|
1370
|
-
function Fi(e){let t,n=/*gameprops*/e[
|
1371
|
-
// (
|
1365
|
+
// (764:20) {:else}
|
1366
|
+
function Ei(e){let t,n,r,i,a,o,s,l,c,u,f=/*$_*/e[37]("gamesCategorySection.noFavoritesTitle")+"";let b=function(e,t){return _r(/*userAgent*/e[38])?Mi:Gi}(e),w=b(e);return{c(){t=p("p"),n=g("svg"),r=g("path"),i=v(),a=p("span"),o=y(f),s=v(),w.c(),l=v(),C(r,"fill","white"),_(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"),_(n,"version","1.1"),_(n,"class","UnfavoredIcon"),_(n,"part","UnfavoredIcon"),_(n,"xmlns","http://www.w3.org/2000/svg"),_(n,"xmlns:xlink","http://www.w3.org/1999/xlink"),_(n,"x","50px"),_(n,"y","50px"),_(n,"viewBox","0 0 512.001 512.001"),C(n,"enable-background","new 0 0 512.001 512.001"),_(n,"xml:space","preserve"),_(a,"class","NoFavoriteText NoFavoriteTextHighlight"),_(a,"part","NoFavoriteText NoFavoriteTextHighlight"),_(t,"class",c="NoFavoriteGames "+(_r(/*userAgent*/e[38])?"NoFavoriteGamesMobile":"")),_(t,"part",u="NoFavoriteGames "+(_r(/*userAgent*/e[38])?"NoFavoriteGamesMobile":""))},m(e,c){d(e,t,c),h(t,n),h(n,r),h(t,i),h(t,a),h(a,o),h(t,s),w.m(t,null),h(t,l)},p(e,t){/*$_*/64&t[1]&&f!==(f=/*$_*/e[37]("gamesCategorySection.noFavoritesTitle")+"")&&x(o,f),w.p(e,t)},d(e){e&&m(t),w.d()}}}
|
1367
|
+
// (779:24) {:else}
|
1368
|
+
function Gi(e){let t,n,r=/*$_*/e[37]("gamesCategorySection.noFavorites")+"";return{c(){t=p("span"),n=y(r),_(t,"class","NoFavoriteText"),_(t,"part","NoFavoriteText")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/64&t[1]&&r!==(r=/*$_*/e[37]("gamesCategorySection.noFavorites")+"")&&x(n,r)},d(e){e&&m(t)}}}
|
1369
|
+
// (777:24) {#if isMobile(userAgent)}
|
1370
|
+
function Mi(e){let t,n,r=/*$_*/e[37]("gamesCategorySection.noFavoritesMobile")+"";return{c(){t=p("span"),n=y(r),_(t,"class","NoFavoriteText"),_(t,"part","NoFavoriteText")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/64&t[1]&&r!==(r=/*$_*/e[37]("gamesCategorySection.noFavoritesMobile")+"")&&x(n,r)},d(e){e&&m(t)}}}
|
1371
|
+
// (695:22) {#if gameprops.gameModel}
|
1372
|
+
function Fi(e){let t,n=/*gameprops*/e[81].gameModel.isFavorite&&ki(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),d(e,t,r)},p(e,r){/*gameprops*/e[81].gameModel.isFavorite?n?n.p(e,r):(n=ki(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&m(t)}}}
|
1373
|
+
// (696:24) {#if gameprops.gameModel.isFavorite}
|
1372
1374
|
function ki(e){let t,n=
|
1373
|
-
// (
|
1375
|
+
// (697:26) {#if intersecting || nativeLoading}
|
1374
1376
|
function(e){let t,n,r;function i(e,r){/*favoriteGamesData*/
|
1375
|
-
return
|
1376
|
-
// (
|
1377
|
-
(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),d(e,t,r)},p(e,t){n.p(e,t)},d(e){n&&n.d(e),e&&m(t)}}}function Li(e){let t,n,r,i,a,o,s,l,c,u,h,f,g,y;return{c(){t=p("casino-game-thumbnail"),S(t,"class",n=""+(Qi+(/*gameprops*/e[
|
1378
|
-
// (
|
1379
|
-
function $i(e){let t,n=/*gameprops*/e[
|
1380
|
-
// (
|
1381
|
-
function Ii(e){let t,n,r,i,a,o,s,l,c,u,h,f,g,y;return{c(){t=p("casino-game-thumbnail"),S(t,"class",n=""+(Qi+(/*gameprops*/e[
|
1382
|
-
// (
|
1383
|
-
function Pi(e){let t,n=/*gameprops*/e[
|
1384
|
-
// (
|
1377
|
+
return 32&r[1]&&(n=null),null==t&&(t=!!_r(/*userAgent*/e[38])),t?$i:(null==n&&(n=!!/*gameprops*/e[81].gameModel.platform.includes("PC")),n?Li:void 0)}let a=i(e,[-1,-1,-1]),o=a&&a(e);return{c(){o&&o.c(),r=b()},m(e,t){o&&o.m(e,t),d(e,r,t)},p(e,t){a===(a=i(e,t))&&o?o.p(e,t):(o&&o.d(1),o=a&&a(e),o&&(o.c(),o.m(r.parentNode,r)))},d(e){o&&o.d(e),e&&m(r)}}}
|
1378
|
+
// (730:82)
|
1379
|
+
(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),d(e,t,r)},p(e,t){n.p(e,t)},d(e){n&&n.d(e),e&&m(t)}}}function Li(e){let t,n,r,i,a,o,s,l,c,u,h,f,g,y;return{c(){t=p("casino-game-thumbnail"),S(t,"class",n=""+(Qi+(/*gameprops*/e[81].cellSize?/*gameprops*/e[81].cellSize:"1x1"))),S(t,"part",r=""+(Qi+(/*gameprops*/e[81].cellSize?/*gameprops*/e[81].cellSize:"1x1"))),S(t,"session",/*session*/e[4]),S(t,"userid",/*userid*/e[5]),S(t,"lang",/*lang*/e[3]),S(t,"favorites",/*favorites*/e[6]),S(t,"gamethumbnail",i=/*gameprops*/e[81].gameModel.thumbnail),S(t,"gamename",a=/*gameprops*/e[81].gameModel.name),S(t,"gamevendor",o=/*gameprops*/e[81].gameModel.vendor.name),S(t,"gameisnew",s=/*gameprops*/e[81].gameModel.isNew),S(t,"gametag",l=/*gameprops*/e[81].gameModel.advancedTags?.length>0&&/*addGameTag*/e[39](/*gameprops*/e[81].gameModel.advancedTags)),S(t,"gamecellsize",c=/*gameprops*/e[81].cellSize),S(t,"gameid",u=/*gameprops*/e[81].gameModel.id),S(t,"gamefunmode",h=/*gameprops*/e[81].gameModel.hasFunMode),S(t,"gamefavorite",f=/*gameprops*/e[81].gameModel.isFavorite),S(t,"showfavoredcategory",/*showFavGamesCategory*/e[33]),S(t,"connectlive",g=/*intersectingIndexes*/1==e[34][/*gameprops*/e[81].id]?"connect":"disconnect"),S(t,"visibilityconnect",/*visibilityconnect*/e[35]),S(t,"currency",/*currency*/e[9]),S(t,"livelobbyendpoint",y=/*gameprops*/e[81].gameModel.details?/*gameprops*/e[81].gameModel.launchUrl:""),S(t,"clientstyling",/*clientstyling*/e[7]),S(t,"clientstylingurl",/*clientstylingurl*/e[8]),S(t,"endpoint",/*endpoint*/e[1]),S(t,"livecasino",/*livecasino*/e[10]),S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[12]),S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[13])},m(e,n){d(e,t,n)},p(e,d){/*favoriteGamesData*/32&d[1]&&n!==(n=""+(Qi+(/*gameprops*/e[81].cellSize?/*gameprops*/e[81].cellSize:"1x1")))&&S(t,"class",n),/*favoriteGamesData*/32&d[1]&&r!==(r=""+(Qi+(/*gameprops*/e[81].cellSize?/*gameprops*/e[81].cellSize:"1x1")))&&S(t,"part",r),/*session*/16&d[0]&&S(t,"session",/*session*/e[4]),/*userid*/32&d[0]&&S(t,"userid",/*userid*/e[5]),/*lang*/8&d[0]&&S(t,"lang",/*lang*/e[3]),/*favorites*/64&d[0]&&S(t,"favorites",/*favorites*/e[6]),/*favoriteGamesData*/32&d[1]&&i!==(i=/*gameprops*/e[81].gameModel.thumbnail)&&S(t,"gamethumbnail",i),/*favoriteGamesData*/32&d[1]&&a!==(a=/*gameprops*/e[81].gameModel.name)&&S(t,"gamename",a),/*favoriteGamesData*/32&d[1]&&o!==(o=/*gameprops*/e[81].gameModel.vendor.name)&&S(t,"gamevendor",o),/*favoriteGamesData*/32&d[1]&&s!==(s=/*gameprops*/e[81].gameModel.isNew)&&S(t,"gameisnew",s),/*favoriteGamesData*/32&d[1]&&l!==(l=/*gameprops*/e[81].gameModel.advancedTags?.length>0&&/*addGameTag*/e[39](/*gameprops*/e[81].gameModel.advancedTags))&&S(t,"gametag",l),/*favoriteGamesData*/32&d[1]&&c!==(c=/*gameprops*/e[81].cellSize)&&S(t,"gamecellsize",c),/*favoriteGamesData*/32&d[1]&&u!==(u=/*gameprops*/e[81].gameModel.id)&&S(t,"gameid",u),/*favoriteGamesData*/32&d[1]&&h!==(h=/*gameprops*/e[81].gameModel.hasFunMode)&&S(t,"gamefunmode",h),/*favoriteGamesData*/32&d[1]&&f!==(f=/*gameprops*/e[81].gameModel.isFavorite)&&S(t,"gamefavorite",f),/*showFavGamesCategory*/4&d[1]&&S(t,"showfavoredcategory",/*showFavGamesCategory*/e[33]),/*intersectingIndexes, favoriteGamesData*/40&d[1]&&g!==(g=/*intersectingIndexes*/1==e[34][/*gameprops*/e[81].id]?"connect":"disconnect")&&S(t,"connectlive",g),/*visibilityconnect*/16&d[1]&&S(t,"visibilityconnect",/*visibilityconnect*/e[35]),/*currency*/512&d[0]&&S(t,"currency",/*currency*/e[9]),/*favoriteGamesData*/32&d[1]&&y!==(y=/*gameprops*/e[81].gameModel.details?/*gameprops*/e[81].gameModel.launchUrl:"")&&S(t,"livelobbyendpoint",y),/*clientstyling*/128&d[0]&&S(t,"clientstyling",/*clientstyling*/e[7]),/*clientstylingurl*/256&d[0]&&S(t,"clientstylingurl",/*clientstylingurl*/e[8]),/*endpoint*/2&d[0]&&S(t,"endpoint",/*endpoint*/e[1]),/*livecasino*/1024&d[0]&&S(t,"livecasino",/*livecasino*/e[10]),/*gamepagemodalurl*/2048&d[0]&&S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),/*integratedgameframedesktop*/4096&d[0]&&S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[12]),/*integratedgameframemobile*/8192&d[0]&&S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[13])},d(e){e&&m(t)}}}
|
1380
|
+
// (698:28) {#if isMobile(userAgent)}
|
1381
|
+
function $i(e){let t,n=/*gameprops*/e[81].gameModel.platform.includes("iPad")||/*gameprops*/e[81].gameModel.platform.includes("iPhone")||/*gameprops*/e[81].gameModel.platform.includes("Android"),r=n&&Ii(e);return{c(){r&&r.c(),t=b()},m(e,n){r&&r.m(e,n),d(e,t,n)},p(e,i){/*favoriteGamesData*/32&i[1]&&(n=/*gameprops*/e[81].gameModel.platform.includes("iPad")||/*gameprops*/e[81].gameModel.platform.includes("iPhone")||/*gameprops*/e[81].gameModel.platform.includes("Android")),n?r?r.p(e,i):(r=Ii(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&m(t)}}}
|
1382
|
+
// (699:30) {#if (gameprops.gameModel.platform.includes("iPad") || gameprops.gameModel.platform.includes("iPhone") || gameprops.gameModel.platform.includes("Android"))}
|
1383
|
+
function Ii(e){let t,n,r,i,a,o,s,l,c,u,h,f,g,y;return{c(){t=p("casino-game-thumbnail"),S(t,"class",n=""+(Qi+(/*gameprops*/e[81].cellSize?/*gameprops*/e[81].cellSize:"1x1"))),S(t,"part",r=""+(Qi+(/*gameprops*/e[81].cellSize?/*gameprops*/e[81].cellSize:"1x1"))),S(t,"session",/*session*/e[4]),S(t,"userid",/*userid*/e[5]),S(t,"lang",/*lang*/e[3]),S(t,"favorites",/*favorites*/e[6]),S(t,"gamethumbnail",i=/*gameprops*/e[81].gameModel.thumbnail),S(t,"gamename",a=/*gameprops*/e[81].gameModel.name),S(t,"gamevendor",o=/*gameprops*/e[81].gameModel.vendor.name),S(t,"gameisnew",s=/*gameprops*/e[81].gameModel.isNew),S(t,"gametag",l=/*gameprops*/e[81].gameModel.advancedTags?.length>0&&/*addGameTag*/e[39](/*gameprops*/e[81].gameModel.advancedTags)),S(t,"gamecellsize",c=/*gameprops*/e[81].cellSize),S(t,"gameid",u=/*gameprops*/e[81].gameModel.id),S(t,"gamefunmode",h=/*gameprops*/e[81].gameModel.hasFunMode),S(t,"gamefavorite",f=/*gameprops*/e[81].gameModel.isFavorite),S(t,"showfavoredcategory",/*showFavGamesCategory*/e[33]),S(t,"connectlive",g=/*intersectingIndexes*/1==e[34][/*gameprops*/e[81].id]?"connect":"disconnect"),S(t,"visibilityconnect",/*visibilityconnect*/e[35]),S(t,"currency",/*currency*/e[9]),S(t,"livelobbyendpoint",y=/*gameprops*/e[81].gameModel.details?/*gameprops*/e[81].gameModel.launchUrl:""),S(t,"clientstyling",/*clientstyling*/e[7]),S(t,"clientstylingurl",/*clientstylingurl*/e[8]),S(t,"endpoint",/*endpoint*/e[1]),S(t,"livecasino",/*livecasino*/e[10]),S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[12]),S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[13])},m(e,n){d(e,t,n)},p(e,d){/*favoriteGamesData*/32&d[1]&&n!==(n=""+(Qi+(/*gameprops*/e[81].cellSize?/*gameprops*/e[81].cellSize:"1x1")))&&S(t,"class",n),/*favoriteGamesData*/32&d[1]&&r!==(r=""+(Qi+(/*gameprops*/e[81].cellSize?/*gameprops*/e[81].cellSize:"1x1")))&&S(t,"part",r),/*session*/16&d[0]&&S(t,"session",/*session*/e[4]),/*userid*/32&d[0]&&S(t,"userid",/*userid*/e[5]),/*lang*/8&d[0]&&S(t,"lang",/*lang*/e[3]),/*favorites*/64&d[0]&&S(t,"favorites",/*favorites*/e[6]),/*favoriteGamesData*/32&d[1]&&i!==(i=/*gameprops*/e[81].gameModel.thumbnail)&&S(t,"gamethumbnail",i),/*favoriteGamesData*/32&d[1]&&a!==(a=/*gameprops*/e[81].gameModel.name)&&S(t,"gamename",a),/*favoriteGamesData*/32&d[1]&&o!==(o=/*gameprops*/e[81].gameModel.vendor.name)&&S(t,"gamevendor",o),/*favoriteGamesData*/32&d[1]&&s!==(s=/*gameprops*/e[81].gameModel.isNew)&&S(t,"gameisnew",s),/*favoriteGamesData*/32&d[1]&&l!==(l=/*gameprops*/e[81].gameModel.advancedTags?.length>0&&/*addGameTag*/e[39](/*gameprops*/e[81].gameModel.advancedTags))&&S(t,"gametag",l),/*favoriteGamesData*/32&d[1]&&c!==(c=/*gameprops*/e[81].cellSize)&&S(t,"gamecellsize",c),/*favoriteGamesData*/32&d[1]&&u!==(u=/*gameprops*/e[81].gameModel.id)&&S(t,"gameid",u),/*favoriteGamesData*/32&d[1]&&h!==(h=/*gameprops*/e[81].gameModel.hasFunMode)&&S(t,"gamefunmode",h),/*favoriteGamesData*/32&d[1]&&f!==(f=/*gameprops*/e[81].gameModel.isFavorite)&&S(t,"gamefavorite",f),/*showFavGamesCategory*/4&d[1]&&S(t,"showfavoredcategory",/*showFavGamesCategory*/e[33]),/*intersectingIndexes, favoriteGamesData*/40&d[1]&&g!==(g=/*intersectingIndexes*/1==e[34][/*gameprops*/e[81].id]?"connect":"disconnect")&&S(t,"connectlive",g),/*visibilityconnect*/16&d[1]&&S(t,"visibilityconnect",/*visibilityconnect*/e[35]),/*currency*/512&d[0]&&S(t,"currency",/*currency*/e[9]),/*favoriteGamesData*/32&d[1]&&y!==(y=/*gameprops*/e[81].gameModel.details?/*gameprops*/e[81].gameModel.launchUrl:"")&&S(t,"livelobbyendpoint",y),/*clientstyling*/128&d[0]&&S(t,"clientstyling",/*clientstyling*/e[7]),/*clientstylingurl*/256&d[0]&&S(t,"clientstylingurl",/*clientstylingurl*/e[8]),/*endpoint*/2&d[0]&&S(t,"endpoint",/*endpoint*/e[1]),/*livecasino*/1024&d[0]&&S(t,"livecasino",/*livecasino*/e[10]),/*gamepagemodalurl*/2048&d[0]&&S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),/*integratedgameframedesktop*/4096&d[0]&&S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[12]),/*integratedgameframemobile*/8192&d[0]&&S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[13])},d(e){e&&m(t)}}}
|
1384
|
+
// (694:20) {#each favoriteGamesData.items as gameprops, index}
|
1385
|
+
function Pi(e){let t,n=/*gameprops*/e[81].gameModel&&Fi(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),d(e,t,r)},p(e,r){/*gameprops*/e[81].gameModel?n?n.p(e,r):(n=Fi(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&m(t)}}}
|
1386
|
+
// (603:12) {#if casinomygames !== 'true'}
|
1385
1387
|
function Di(e){let t,n,r,i,a=/*categoryData*/e[22].name+"";function o(e,t){/*showLoadCategory*/
|
1386
1388
|
return e[24]?Ni:Oi}let s=o(e),l=s(e);return{c(){t=p("div"),n=p("h3"),r=y(a),i=v(),l.c(),_(n,"class","CategoryName"),_(n,"part","CategoryName"),_(t,"class","CasinoGamesHeader"),_(t,"part","CasinoGamesHeader")},m(a,o){d(a,t,o),h(t,n),h(n,r),
|
1387
|
-
/*h3_binding*/e[
|
1388
|
-
/*h3_binding*/,e[
|
1389
|
-
// (
|
1389
|
+
/*h3_binding*/e[51](n),h(t,i),l.m(t,null)},p(e,n){/*categoryData*/4194304&n[0]&&a!==(a=/*categoryData*/e[22].name+"")&&x(r,a),s===(s=o(e))&&l?l.p(e,n):(l.d(1),l=s(e),l&&(l.c(),l.m(t,null)))},d(n){n&&m(t)
|
1390
|
+
/*h3_binding*/,e[51](null),l.d()}}}
|
1391
|
+
// (615:16) {:else}
|
1390
1392
|
function Oi(e){let t,n,r=/*addfilterselector*/"true"==e[15]&&Ai(e);return{c(){t=p("div"),r&&r.c(),_(t,"class",n=/*addfilterselector*/"true"==e[15]&&/*addsortingselector*/"true"==e[16]?"CategoryFilterContainer":"")},m(e,n){d(e,t,n),r&&r.m(t,null)},p(e,i){/*addfilterselector*/"true"==e[15]?r?r.p(e,i):(r=Ai(e),r.c(),r.m(t,null)):r&&(r.d(1),r=null),/*addfilterselector, addsortingselector*/98304&i[0]&&n!==(n=/*addfilterselector*/"true"==e[15]&&/*addsortingselector*/"true"==e[16]?"CategoryFilterContainer":"")&&_(t,"class",n)},d(e){e&&m(t),r&&r.d()}}}
|
1391
|
-
// (
|
1392
|
-
function Ni(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[
|
1393
|
-
// (
|
1393
|
+
// (608:16) {#if showLoadCategory}
|
1394
|
+
function Ni(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[37]("gamesCategorySection.viewAll")+"",u=/*categoryData*/e[22].games.total+"";return{c(){t=p("a"),n=p("span"),r=y(c),i=y(" ("),a=y(u),o=y(")"),_(n,"class","CategoryLoadMore"),_(n,"part","CategoryLoadMore"),_(t,"class","CategoryNameLink"),_(t,"part","CategoryNameLink")},m(c,u){d(c,t,u),h(t,n),h(n,r),h(n,i),h(n,a),h(n,o),s||(l=w(t,"click",/*click_handler*/e[52]),s=!0)},p(e,t){/*$_*/64&t[1]&&c!==(c=/*$_*/e[37]("gamesCategorySection.viewAll")+"")&&x(r,c),/*categoryData*/4194304&t[0]&&u!==(u=/*categoryData*/e[22].games.total+"")&&x(a,u)},d(e){e&&m(t),s=!1,l()}}}
|
1395
|
+
// (617:22) {#if addfilterselector == "true"}
|
1394
1396
|
function Ai(e){let t;return{c(){t=p("casino-filter"),S(t,"clientstylingurl",/*clientstylingurl*/e[8]),S(t,"clientstyling",/*clientstyling*/e[7]),S(t,"endpoint",/*endpoint*/e[1]),S(t,"datasource",/*datasource*/e[2]),S(t,"lang",/*lang*/e[3]),S(t,"categoryid",/*categoryid*/e[0]),S(t,"addfilterselector",/*addfilterselector*/e[15]),S(t,"addsortingselector",/*addsortingselector*/e[16]),S(t,"filterbylogo",/*filterbylogo*/e[17])},m(e,n){d(e,t,n)},p(e,n){/*clientstylingurl*/256&n[0]&&S(t,"clientstylingurl",/*clientstylingurl*/e[8]),/*clientstyling*/128&n[0]&&S(t,"clientstyling",/*clientstyling*/e[7]),/*endpoint*/2&n[0]&&S(t,"endpoint",/*endpoint*/e[1]),/*datasource*/4&n[0]&&S(t,"datasource",/*datasource*/e[2]),/*lang*/8&n[0]&&S(t,"lang",/*lang*/e[3]),/*categoryid*/1&n[0]&&S(t,"categoryid",/*categoryid*/e[0]),/*addfilterselector*/32768&n[0]&&S(t,"addfilterselector",/*addfilterselector*/e[15]),/*addsortingselector*/65536&n[0]&&S(t,"addsortingselector",/*addsortingselector*/e[16]),/*filterbylogo*/131072&n[0]&&S(t,"filterbylogo",/*filterbylogo*/e[17])},d(e){e&&m(t)}}}
|
1395
|
-
// (
|
1397
|
+
// (673:14) {:else}
|
1396
1398
|
function Ri(t){let n;return{c(){n=p("p"),n.textContent="You don't have any games in this category.",_(n,"class","NoSearchResults"),_(n,"part","NoSearchResults")},m(e,t){d(e,n,t)},p:e,d(e){e&&m(n)}}}
|
1397
|
-
// (
|
1398
|
-
function Hi(e){let t,n,r,i=/*shownCategoryData*/e[23],a=[];for(let t=0;t<i.length;t+=1)a[t]=Ui(pi(e,i,t));return{c(){t=p("ul");for(let e=0;e<a.length;e+=1)a[e].c();_(t,"class",n=/*favoriteGamesData*/(0===e[
|
1399
|
-
/*ul_binding*/e[
|
1400
|
-
/*ul_binding*/e[
|
1401
|
-
// (
|
1399
|
+
// (637:14) {#if shownCategoryData.length !== 0}
|
1400
|
+
function Hi(e){let t,n,r,i=/*shownCategoryData*/e[23],a=[];for(let t=0;t<i.length;t+=1)a[t]=Ui(pi(e,i,t));return{c(){t=p("ul");for(let e=0;e<a.length;e+=1)a[e].c();_(t,"class",n=/*favoriteGamesData*/(0===e[36].items.length&&/*showFavGamesCategory*/e[33]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),_(t,"part",r=/*favoriteGamesData*/(0===e[36].items.length&&/*showFavGamesCategory*/e[33]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(n,r){d(n,t,r);for(let e=0;e<a.length;e+=1)a[e].m(t,null);
|
1401
|
+
/*ul_binding*/e[54](t)},p(e,o){if(/*session, userid, lang, shownCategoryData, favorites, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile, thumbnailContainer*/8929274&o[0]|/*addGameTag, intersectingIndexes, visibilityconnect*/280&o[1]){let n;for(i=/*shownCategoryData*/e[23],n=0;n<i.length;n+=1){const r=pi(e,i,n);a[n]?a[n].p(r,o):(a[n]=Ui(r),a[n].c(),a[n].m(t,null))}for(;n<a.length;n+=1)a[n].d(1);a.length=i.length}/*favoriteGamesData, showFavGamesCategory*/36&o[1]&&n!==(n=/*favoriteGamesData*/(0===e[36].items.length&&/*showFavGamesCategory*/e[33]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&_(t,"class",n),/*favoriteGamesData, showFavGamesCategory*/36&o[1]&&r!==(r=/*favoriteGamesData*/(0===e[36].items.length&&/*showFavGamesCategory*/e[33]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&_(t,"part",r)},d(n){n&&m(t),f(a,n),
|
1402
|
+
/*ul_binding*/e[54](null)}}}
|
1403
|
+
// (634:12) {#if isLoading && !isLazyLoading}
|
1402
1404
|
function Bi(t){let n;return{c(){n=p("div"),_(n,"class","lds-dual-ring"),_(n,"part","lds-dual-ring")},m(e,t){d(e,n,t)},p:e,d(e){e&&m(n)}}}
|
1403
|
-
// (
|
1404
|
-
// (
|
1405
|
-
function Ui(e){let t,n=function(e){let t,n,r,i,a,o,s,l,c,u,h,f,g,y,v=/*index*/e[
|
1406
|
-
// (
|
1407
|
-
function Yi(e){let t,n,r=/*$_*/e[
|
1408
|
-
// (
|
1409
|
-
function ji(e){let t,n,r=/*$_*/e[
|
1410
|
-
// (
|
1411
|
-
function zi(e){let t,n,r=/*$_*/e[
|
1412
|
-
// (
|
1405
|
+
// (640:18) {#if intersecting || nativeLoading}
|
1406
|
+
// (639:18) {#each shownCategoryData as gameprops, index}
|
1407
|
+
function Ui(e){let t,n=function(e){let t,n,r,i,a,o,s,l,c,u,h,f,g,y,v=/*index*/e[83];const b=()=>/*casino_game_thumbnail_binding*/e[53](t,v),w=()=>/*casino_game_thumbnail_binding*/e[53](null,v);return{c(){t=p("casino-game-thumbnail"),S(t,"session",/*session*/e[4]),S(t,"userid",/*userid*/e[5]),S(t,"lang",/*lang*/e[3]),S(t,"class",n=""+(Qi+(/*gameprops*/e[81].cellSize?/*gameprops*/e[81].cellSize:"1x1"))),S(t,"part",r=""+(Qi+(/*gameprops*/e[81].cellSize?/*gameprops*/e[81].cellSize:"1x1"))),S(t,"favorites",/*favorites*/e[6]),S(t,"gamethumbnail",i=/*gameprops*/e[81].thumbnail),S(t,"gamename",a=/*gameprops*/e[81].name),S(t,"gamevendor",o=/*gameprops*/e[81].vendor.name),S(t,"gameisnew",s=/*gameprops*/e[81].isNew),S(t,"gametag",l=/*gameprops*/e[81].advancedTags?.length>0&&/*addGameTag*/e[39](/*gameprops*/e[81].advancedTags)),S(t,"gamecellsize",c=/*gameprops*/e[81].cellSize),S(t,"gameid",u=/*gameprops*/e[81].id),S(t,"gamefunmode",h=/*gameprops*/e[81].hasFunMode),S(t,"gamefavorite",f=/*gameprops*/e[81].isFavorite),S(t,"connectlive",g=/*intersectingIndexes*/1==e[34][/*gameprops*/e[81].id]?"connect":"disconnect"),S(t,"visibilityconnect",/*visibilityconnect*/e[35]),S(t,"currency",/*currency*/e[9]),S(t,"livelobbyendpoint",y=/*gameprops*/e[81].details?/*gameprops*/e[81].href:""),S(t,"clientstyling",/*clientstyling*/e[7]),S(t,"clientstylingurl",/*clientstylingurl*/e[8]),S(t,"endpoint",/*endpoint*/e[1]),S(t,"livecasino",/*livecasino*/e[10]),S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[12]),S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[13])},m(e,n){d(e,t,n),b()},p(d,m){e=d,/*session*/16&m[0]&&S(t,"session",/*session*/e[4]),/*userid*/32&m[0]&&S(t,"userid",/*userid*/e[5]),/*lang*/8&m[0]&&S(t,"lang",/*lang*/e[3]),/*shownCategoryData*/8388608&m[0]&&n!==(n=""+(Qi+(/*gameprops*/e[81].cellSize?/*gameprops*/e[81].cellSize:"1x1")))&&S(t,"class",n),/*shownCategoryData*/8388608&m[0]&&r!==(r=""+(Qi+(/*gameprops*/e[81].cellSize?/*gameprops*/e[81].cellSize:"1x1")))&&S(t,"part",r),/*favorites*/64&m[0]&&S(t,"favorites",/*favorites*/e[6]),/*shownCategoryData*/8388608&m[0]&&i!==(i=/*gameprops*/e[81].thumbnail)&&S(t,"gamethumbnail",i),/*shownCategoryData*/8388608&m[0]&&a!==(a=/*gameprops*/e[81].name)&&S(t,"gamename",a),/*shownCategoryData*/8388608&m[0]&&o!==(o=/*gameprops*/e[81].vendor.name)&&S(t,"gamevendor",o),/*shownCategoryData*/8388608&m[0]&&s!==(s=/*gameprops*/e[81].isNew)&&S(t,"gameisnew",s),/*shownCategoryData*/8388608&m[0]&&l!==(l=/*gameprops*/e[81].advancedTags?.length>0&&/*addGameTag*/e[39](/*gameprops*/e[81].advancedTags))&&S(t,"gametag",l),/*shownCategoryData*/8388608&m[0]&&c!==(c=/*gameprops*/e[81].cellSize)&&S(t,"gamecellsize",c),/*shownCategoryData*/8388608&m[0]&&u!==(u=/*gameprops*/e[81].id)&&S(t,"gameid",u),/*shownCategoryData*/8388608&m[0]&&h!==(h=/*gameprops*/e[81].hasFunMode)&&S(t,"gamefunmode",h),/*shownCategoryData*/8388608&m[0]&&f!==(f=/*gameprops*/e[81].isFavorite)&&S(t,"gamefavorite",f),/*shownCategoryData*/8388608&m[0]|/*intersectingIndexes*/8&m[1]&&g!==(g=/*intersectingIndexes*/1==e[34][/*gameprops*/e[81].id]?"connect":"disconnect")&&S(t,"connectlive",g),/*visibilityconnect*/16&m[1]&&S(t,"visibilityconnect",/*visibilityconnect*/e[35]),/*currency*/512&m[0]&&S(t,"currency",/*currency*/e[9]),/*shownCategoryData*/8388608&m[0]&&y!==(y=/*gameprops*/e[81].details?/*gameprops*/e[81].href:"")&&S(t,"livelobbyendpoint",y),/*clientstyling*/128&m[0]&&S(t,"clientstyling",/*clientstyling*/e[7]),/*clientstylingurl*/256&m[0]&&S(t,"clientstylingurl",/*clientstylingurl*/e[8]),/*endpoint*/2&m[0]&&S(t,"endpoint",/*endpoint*/e[1]),/*livecasino*/1024&m[0]&&S(t,"livecasino",/*livecasino*/e[10]),/*gamepagemodalurl*/2048&m[0]&&S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),/*integratedgameframedesktop*/4096&m[0]&&S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[12]),/*integratedgameframemobile*/8192&m[0]&&S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[13]),v!==/*index*/e[83]&&(w(),v=/*index*/e[83],b())},d(e){e&&m(t),w()}}}(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),d(e,t,r)},p(e,t){n.p(e,t)},d(e){n&&n.d(e),e&&m(t)}}}
|
1408
|
+
// (553:12) {:else}
|
1409
|
+
function Yi(e){let t,n,r=/*$_*/e[37]("gamesCategorySection.searchedItems")+"";return{c(){t=p("h3"),n=y(r),_(t,"class","StatusText"),_(t,"part","StatusText")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/64&t[1]&&r!==(r=/*$_*/e[37]("gamesCategorySection.searchedItems")+"")&&x(n,r)},d(e){e&&m(t)}}}
|
1410
|
+
// (549:12) {#if !shownCategoryData.length}
|
1411
|
+
function ji(e){let t,n,r=/*$_*/e[37]("gamesCategorySection.noResults")+"";return{c(){t=p("h3"),n=y(r),_(t,"class","StatusText"),_(t,"part","StatusText")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/64&t[1]&&r!==(r=/*$_*/e[37]("gamesCategorySection.noResults")+"")&&x(n,r)},d(e){e&&m(t)}}}
|
1412
|
+
// (544:10) {#if recentSearched}
|
1413
|
+
function zi(e){let t,n,r=/*$_*/e[37]("gamesCategorySection.recentSearchedItems")+"";return{c(){t=p("h3"),n=y(r),_(t,"class","StatusText"),_(t,"part","StatusText")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/64&t[1]&&r!==(r=/*$_*/e[37]("gamesCategorySection.recentSearchedItems")+"")&&x(n,r)},d(e){e&&m(t)}}}
|
1414
|
+
// (595:8) {:else}
|
1413
1415
|
function Wi(t){let n;return{c(){n=p("p"),n.textContent="Waiting",_(n,"class","SearchWaiting"),_(n,"part","SearchWaiting")},m(e,t){d(e,n,t)},p:e,d(e){e&&m(n)}}}
|
1414
|
-
// (
|
1415
|
-
function Vi(e){let t,n,r=!/*showItems*/e[29]&&Zi(e),i=/*shownCategoryData*/e[23],a=[];for(let t=0;t<i.length;t+=1)a[t]=Ki(gi(e,i,t));return{c(){r&&r.c(),t=v(),n=p("ul");for(let e=0;e<a.length;e+=1)a[e].c();_(n,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),_(n,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,i){r&&r.m(e,i),d(e,t,i),d(e,n,i);for(let e=0;e<a.length;e+=1)a[e].m(n,null)},p(e,o){if(/*showItems*/e[29]?r&&(r.d(1),r=null):r?r.p(e,o):(r=Zi(e),r.c(),r.m(t.parentNode,t)),/*shownCategoryData, session, userid, lang, searchItem, favorites, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/142622714&o[0]|/*addGameTag*/
|
1416
|
-
// (
|
1417
|
-
function Zi(e){let t,n,r,i,a=/*$_*/e[
|
1418
|
-
// (
|
1419
|
-
function Ki(e){let t,n,r,i,a,o,s,l,c,u,h,f,g;return{c(){t=p("casino-game-thumbnail"),S(t,"class",n=""+(Qi+(/*gameprops*/e[
|
1420
|
-
// (
|
1416
|
+
// (560:8) {#if shownCategoryData}
|
1417
|
+
function Vi(e){let t,n,r=!/*showItems*/e[29]&&Zi(e),i=/*shownCategoryData*/e[23],a=[];for(let t=0;t<i.length;t+=1)a[t]=Ki(gi(e,i,t));return{c(){r&&r.c(),t=v(),n=p("ul");for(let e=0;e<a.length;e+=1)a[e].c();_(n,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),_(n,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,i){r&&r.m(e,i),d(e,t,i),d(e,n,i);for(let e=0;e<a.length;e+=1)a[e].m(n,null)},p(e,o){if(/*showItems*/e[29]?r&&(r.d(1),r=null):r?r.p(e,o):(r=Zi(e),r.c(),r.m(t.parentNode,t)),/*shownCategoryData, session, userid, lang, searchItem, favorites, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/142622714&o[0]|/*addGameTag*/256&o[1]){let t;for(i=/*shownCategoryData*/e[23],t=0;t<i.length;t+=1){const r=gi(e,i,t);a[t]?a[t].p(r,o):(a[t]=Ki(r),a[t].c(),a[t].m(n,null))}for(;t<a.length;t+=1)a[t].d(1);a.length=i.length}},d(e){r&&r.d(e),e&&m(t),e&&m(n),f(a,e)}}}
|
1418
|
+
// (561:10) {#if !showItems}
|
1419
|
+
function Zi(e){let t,n,r,i,a=/*$_*/e[37]("gamesCategorySection.noRecentSearch")+"";return{c(){t=p("p"),n=y(a),_(t,"class",r="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(_r(/*userAgent*/e[38])?"NoRecentSearchesMobile":"")),_(t,"part",i="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(_r(/*userAgent*/e[38])?"NoRecentSearchesMobile":""))},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/64&t[1]&&a!==(a=/*$_*/e[37]("gamesCategorySection.noRecentSearch")+"")&&x(n,a)},d(e){e&&m(t)}}}
|
1420
|
+
// (565:12) {#each shownCategoryData as gameprops, index}
|
1421
|
+
function Ki(e){let t,n,r,i,a,o,s,l,c,u,h,f,g;return{c(){t=p("casino-game-thumbnail"),S(t,"class",n=""+(Qi+(/*gameprops*/e[81].cellSize?/*gameprops*/e[81].cellSize:"1x1"))),S(t,"part",r=""+(Qi+(/*gameprops*/e[81].cellSize?/*gameprops*/e[81].cellSize:"1x1"))),S(t,"session",/*session*/e[4]),S(t,"userid",/*userid*/e[5]),S(t,"lang",/*lang*/e[3]),S(t,"searchitem",/*searchItem*/e[27]),S(t,"favorites",/*favorites*/e[6]),S(t,"gamethumbnail",i=/*gameprops*/e[81].thumbnail),S(t,"gamename",a=/*gameprops*/e[81].name),S(t,"gamevendor",o=/*gameprops*/e[81].vendor.name),S(t,"gameisnew",s=/*gameprops*/e[81].isNew),S(t,"gametag",l=/*gameprops*/e[81].advancedTags?.length>0&&/*addGameTag*/e[39](/*gameprops*/e[81].advancedTags)),S(t,"gamecellsize",c=/*gameprops*/e[81].cellSize),S(t,"gameid",u=/*gameprops*/e[81].id),S(t,"gamefunmode",h=/*gameprops*/e[81].hasFunMode),S(t,"gamefavorite",f=/*gameprops*/e[81].isFavorite),S(t,"currency",/*currency*/e[9]),S(t,"livelobbyendpoint",g=/*gameprops*/e[81].details?/*gameprops*/e[81].href:""),S(t,"clientstyling",/*clientstyling*/e[7]),S(t,"clientstylingurl",/*clientstylingurl*/e[8]),S(t,"endpoint",/*endpoint*/e[1]),S(t,"livecasino",/*livecasino*/e[10]),S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[12]),S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[13])},m(e,n){d(e,t,n)},p(e,d){/*shownCategoryData*/8388608&d[0]&&n!==(n=""+(Qi+(/*gameprops*/e[81].cellSize?/*gameprops*/e[81].cellSize:"1x1")))&&S(t,"class",n),/*shownCategoryData*/8388608&d[0]&&r!==(r=""+(Qi+(/*gameprops*/e[81].cellSize?/*gameprops*/e[81].cellSize:"1x1")))&&S(t,"part",r),/*session*/16&d[0]&&S(t,"session",/*session*/e[4]),/*userid*/32&d[0]&&S(t,"userid",/*userid*/e[5]),/*lang*/8&d[0]&&S(t,"lang",/*lang*/e[3]),/*searchItem*/134217728&d[0]&&S(t,"searchitem",/*searchItem*/e[27]),/*favorites*/64&d[0]&&S(t,"favorites",/*favorites*/e[6]),/*shownCategoryData*/8388608&d[0]&&i!==(i=/*gameprops*/e[81].thumbnail)&&S(t,"gamethumbnail",i),/*shownCategoryData*/8388608&d[0]&&a!==(a=/*gameprops*/e[81].name)&&S(t,"gamename",a),/*shownCategoryData*/8388608&d[0]&&o!==(o=/*gameprops*/e[81].vendor.name)&&S(t,"gamevendor",o),/*shownCategoryData*/8388608&d[0]&&s!==(s=/*gameprops*/e[81].isNew)&&S(t,"gameisnew",s),/*shownCategoryData*/8388608&d[0]&&l!==(l=/*gameprops*/e[81].advancedTags?.length>0&&/*addGameTag*/e[39](/*gameprops*/e[81].advancedTags))&&S(t,"gametag",l),/*shownCategoryData*/8388608&d[0]&&c!==(c=/*gameprops*/e[81].cellSize)&&S(t,"gamecellsize",c),/*shownCategoryData*/8388608&d[0]&&u!==(u=/*gameprops*/e[81].id)&&S(t,"gameid",u),/*shownCategoryData*/8388608&d[0]&&h!==(h=/*gameprops*/e[81].hasFunMode)&&S(t,"gamefunmode",h),/*shownCategoryData*/8388608&d[0]&&f!==(f=/*gameprops*/e[81].isFavorite)&&S(t,"gamefavorite",f),/*currency*/512&d[0]&&S(t,"currency",/*currency*/e[9]),/*shownCategoryData*/8388608&d[0]&&g!==(g=/*gameprops*/e[81].details?/*gameprops*/e[81].href:"")&&S(t,"livelobbyendpoint",g),/*clientstyling*/128&d[0]&&S(t,"clientstyling",/*clientstyling*/e[7]),/*clientstylingurl*/256&d[0]&&S(t,"clientstylingurl",/*clientstylingurl*/e[8]),/*endpoint*/2&d[0]&&S(t,"endpoint",/*endpoint*/e[1]),/*livecasino*/1024&d[0]&&S(t,"livecasino",/*livecasino*/e[10]),/*gamepagemodalurl*/2048&d[0]&&S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),/*integratedgameframedesktop*/4096&d[0]&&S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[12]),/*integratedgameframemobile*/8192&d[0]&&S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[13])},d(e){e&&m(t)}}}
|
1422
|
+
// (537:4) {:else}
|
1421
1423
|
function Xi(e){let t;return{c(){t=p("p"),t.textContent="500 Error - Internal Server Error.",_(t,"class","SearchLoading"),_(t,"part","SearchLoading")},m(e,n){d(e,t,n)},d(e){e&&m(t)}}}
|
1422
|
-
// (
|
1424
|
+
// (535:4) {#if filteresPresent}
|
1423
1425
|
function Ji(e){let t;return{c(){t=p("p"),t.textContent="404 Error - No result found.",_(t,"class","SearchLoading"),_(t,"part","SearchLoading")},m(e,n){d(e,t,n)},d(e){e&&m(t)}}}function qi(t){let n;function r(e,t){/*hasErrors*/
|
1424
1426
|
return e[21]?bi:/*searched*/e[25]?vi:yi}let i=r(t),a=i(t);return{c(){n=p("div"),a.c(),this.c=e,_(n,"class","CasinoGamesCategorySectionContainer"),_(n,"part","CasinoGamesCategorySectionContainer")},m(e,r){d(e,n,r),a.m(n,null),
|
1425
|
-
/*div_binding*/t[
|
1426
|
-
/*div_binding*/t[
|
1427
|
+
/*div_binding*/t[57](n)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n,null)))},i:e,o:e,d(e){e&&m(n),a.d(),
|
1428
|
+
/*div_binding*/t[57](null)}}}!customElements.get("casino-filter")&&customElements.define("casino-filter",class extends j{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;-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>',Y(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},mi,di,a,{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&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}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}),H()}get datasource(){return this.$$.ctx[16]}set datasource(e){this.$$set({datasource:e}),H()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),H()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),H()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get categoryid(){return this.$$.ctx[21]}set categoryid(e){this.$$set({categoryid:e}),H()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(e){this.$$set({addfilterselector:e}),H()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(e){this.$$set({addsortingselector:e}),H()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(e){this.$$set({filterbylogo:e}),H()}});const Qi="game-tile-";function ea(e,t,n){let r;u(e,wr,(e=>n(37,r=e)));let i,a,o,s,l,c,h,d,m,f,{categoryindex:p=""}=t,{endpoint:g=""}=t,{datasource:y=""}=t,{lang:v=""}=t,{session:b=""}=t,{userid:w=""}=t,{favorites:_=""}=t,{clientstyling:S=""}=t,{clientstylingurl:x=""}=t,{translationurl:C=""}=t,{currency:T=""}=t,{categoryid:E=""}=t,{categorygames:G=0}=t,{livecasino:F="false"}=t,{visiblegames:L=""}=t,{gamepagemodalurl:$="false"}=t,{integratedgameframedesktop:I="false"}=t,{integratedgameframemobile:P="false"}=t,{casinomygames:D="false"}=t,{addfilterselector:O="false"}=t,{addsortingselector:N="false"}=t,{filterbylogo:A=""}=t,{once:R=!0}=t,{top:H=0}=t,{bottom:B=0}=t,{left:U=0}=t,{right:Y=0}=t,j=!0,z=!1,W=!0,V=window.navigator.userAgent,Z=[],K=!0,X=40,J=!1,q=!1,Q=!1,ee=!1,te=!1,ne=!0,re=!1,ie=!1,ae=!1,oe=new Array(1e4),se={},le="",ce={items:[],count:0,name:""};Object.keys(Cr).forEach((e=>{xr(e,Cr[e])})),void 0!==document.hidden?
|
1427
1429
|
// Opera 12.10 and Firefox 18 and later support
|
1428
1430
|
m="hidden":void 0!==document.msHidden?m="msHidden":void 0!==document.webkitHidden&&(m="webkitHidden");
|
1429
1431
|
// IntersectionObserver used for loading more games
|
1430
|
-
let
|
1432
|
+
let ue=new IntersectionObserver((e=>{e.forEach((async e=>{let t=e.target.gameid,r=e.target.elems_index;// eslint-disable-line
|
1431
1433
|
// eslint-disable-line
|
1432
|
-
e.isIntersecting?(1.2*r>X&&
|
1434
|
+
e.isIntersecting?(1.2*r>X&&me(E),n(34,se[t]=1,se)):n(34,se[t]=0,se)}))}));
|
1433
1435
|
// Start favored games section
|
1434
|
-
const
|
1436
|
+
const he=(e,t,r,i=[])=>{n(20,j=!0);let a="",o="",s=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),c=g.replace(/.$/,"2");// @TODO remove after we migrate with all endpoints to v2 - hack for the endpoint since the filtering of categories functionality was developed only for the v2 api
|
1435
1437
|
return(E.match(/\$/g)||[]).length>1?(a=E.split("$").slice(0,2).join("$"),o=new URL(`${c}/casino/groups/${y}/${a}/subGroups`)):o=new URL(`${c}/casino/groups/${y}/${E}`),new Promise(((e,i)=>{if(o.searchParams.delete("pagination"),o.searchParams.append("expand","games(vendor)"),o.searchParams.append("fields","id,name,games"),o.searchParams.append("platform",Sr(V)),o.searchParams.append("pagination",`games(offset=${t},limit=${r})`),o.searchParams.append("language",v),
|
1436
1438
|
// if vendor filters are active, get filtered games
|
1437
|
-
window.postMessage({type:"CategoryVendors",categoryid:E},window.location.href),s&&s[E])if(s[E].length&&!1===W&&!1===
|
1439
|
+
window.postMessage({type:"CategoryVendors",categoryid:E},window.location.href),s&&s[E])if(s[E].length&&!1===W&&!1===ie){let e="";n(28,te=!0),s[E].forEach((t=>{e+=e?`,games(vendor(id=${t}))`:`games(vendor(id=${t}))`})),o.searchParams.append("filter",(s&&s[E].length<2?"$and":"$or")+`(${e})`)}else n(28,te=!1);fetch(o).then((e=>e.json())).then((t=>{n(20,j=!1),(E.match(/\$/g)||[]).length>1&&(t=t.items.filter((e=>{if(e.id==E)return e}))[0]),n(50,f=!0),n(21,z=!1),l=t.games.total,e(t)}),(e=>{n(21,z=!0),console.error(e),i(e)}))}))},de=e=>{if(e.data)switch(e.data.type){case"MostPlayedData":"MOSTPLAYED"==E&&(n(25,J=!1),W=!1,n(24,K=!1),n(23,Z=e.data.mostPlayedGames),n(22,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:e.data.mostPlayedGames.length,total:e.data.mostPlayedGames.length,items:e.data.mostPlayedGames}})),n(20,j=!1);break;case"LastPlayedData":"LASTPLAYED"==E&&(n(25,J=!1),W=!1,n(24,K=!1),n(23,Z=e.data.lastPlayedGames),n(22,o={id:"LASTPLAYED",name:"Last Played Games",games:{count:e.data.lastPlayedGames.length,total:e.data.lastPlayedGames.length,items:e.data.lastPlayedGames}})),n(20,j=!1);break;case"CustomOperatorData":e.data.operatordetail;break;case"RecentSearchData":n(25,J=!0),n(26,q=!0),e.data.searchData.length>0?(n(23,Z=e.data.searchData),n(29,ne=!0),Z&&Z.forEach((e=>{e.isFavorite=fe(e.id)}))):(n(23,Z=[]),n(29,ne=!1));break;case"OutOfRecentSearches":n(25,J=!1),n(26,q=!1);break;case"SearchData":n(25,J=!0),n(26,q=!1),n(23,Z=e.data.searchData.items||[]),n(27,ee=!0),e.data.receivedFavoriteResults&&(h=e.data.receivedFavoriteResults.items),Z&&Z.forEach((e=>{e.isFavorite=fe(e.id)}));break;case`CategoryData_${E}`:n(25,J=!1),W=!0,n(24,K=!0),n(27,ee=!1),ae=!1,e.data.receivedFavoriteResults&&(h=e.data.receivedFavoriteResults.items),he(e.data.categoryId,0,e.data.visiblegames).then((e=>{n(22,o=e),n(23,Z=o.games.items),Z&&Z.forEach((e=>{e.isFavorite=fe(e.id)}))}));break;case"CategoryChange":X=20;break;case"CategoryUpdate":n(25,J=!1),W=!1,n(27,ee=!1),ae=!0,n(0,E=e.data.itemId),"MOSTPLAYED"!==E&&n(24,K=!1),"true"!==D&&he(0,0,X).then((t=>{n(22,o=t),o.games.items.forEach((e=>{e.isFavorite=fe(e.id)})),n(23,Z=o.games.items),n(24,K=!1),
|
1438
1440
|
// @TODO: replace this quick fix - when there are only a few category games, the view scrolls to the footer
|
1439
|
-
Z.length<10&&0==e.data.origin&&(Q=!0,setTimeout((()=>{window.postMessage({type:"WidgetTopReference",scrollTop:Q},window.location.href)}),500))}));break;case"FavoriteUpdate":W=!0,o&&(n(23,Z=o.games.items),Z.forEach((e=>{e.isFavorite=
|
1441
|
+
Z.length<10&&0==e.data.origin&&(Q=!0,setTimeout((()=>{window.postMessage({type:"WidgetTopReference",scrollTop:Q},window.location.href)}),500))}));break;case"FavoriteUpdate":W=!0,o&&(n(23,Z=o.games.items),Z.forEach((e=>{e.isFavorite=fe(e.id)})));break;case"UpdateCategoryFavoriteGames":if(e.data.receivedFavoriteResults){if(h=e.data.receivedFavoriteResults.items,e.data.favStadalone)return;ie?W||window.postMessage({type:"CategoryUpdate",itemId:E},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href)}break;case"ShowFavoriteSection":let t;W=!1,e.data&&(t=e.data.receivedFavoriteResults.items,t.length&&t.forEach((e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)})),n(36,ce.items=
|
1440
1442
|
// separate favorites array into mobile and desktop favorites
|
1441
1443
|
function(e,t){let n=window.navigator.userAgent;
|
1442
1444
|
// make sure to display favored games specific to the platform used
|
1443
|
-
return _r(n)?e.filter((e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e})):e.filter((e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e}))}(t,
|
1445
|
+
return _r(n)?e.filter((e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e})):e.filter((e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e}))}(t,ce.items),ce),n(36,ce.name="Favorites",ce),n(33,ie=!0),n(20,j=!1));break;case"UserSessionID":i=e.data.session,a=e.data.userID,"true"==_&&a&&a.length&&i&&i.length>0&&((e,t)=>{n(20,j=!0);let r={method:"GET",headers:{"X-SessionID":t}};new Promise(((t,i)=>{fetch(e,r).then((e=>e.json())).then((e=>{n(20,j=!1),h=e?e.items:[],Z.forEach((e=>{e.isFavorite=fe(e.id)}));let r=Z;n(23,Z=void 0),n(23,Z=r),t(h)})).catch((e=>{console.error(e),i(e)}))}))})(`${g}/player/${a}/favorites/`,i)}},me=e=>{X+=1,n(30,re=!0),X<=l&&he(0,0,X).then((e=>{n(22,o=e),
|
1444
1446
|
// @TODO categoryData type fix
|
1445
1447
|
/**
|
1446
1448
|
* This check is needed to prevent requests with less items
|
1447
1449
|
* that started before but ended after the last request to add items to list
|
1448
1450
|
* This could also use abort controller instead but refactoring is needed
|
1449
1451
|
*/
|
1450
|
-
o.games.items.length>Z.length&&(n(23,Z=o.games.items),Z.forEach((e=>{e.isFavorite=
|
1452
|
+
o.games.items.length>Z.length&&(n(23,Z=o.games.items),Z.forEach((e=>{e.isFavorite=fe(e.id)}))),n(30,re=!1)}))},fe=e=>!!h&&-1!==h.findIndex((t=>t.id==e)),pe=e=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href)};
|
1451
1453
|
// @TODO categoryId type
|
1452
|
-
M((()=>(window.addEventListener("visibilitychange",(e=>{document[m]?n(
|
1454
|
+
M((()=>(window.addEventListener("visibilitychange",(e=>{document[m]?n(35,le="disconnect"):n(35,le="connect")})),window.addEventListener("message",de,!1),"FAVORITES"===E&&window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",de),window.removeEventListener("visibilitychange",de)})));return e.$$set=e=>{"categoryindex"in e&&n(41,p=e.categoryindex),"endpoint"in e&&n(1,g=e.endpoint),"datasource"in e&&n(2,y=e.datasource),"lang"in e&&n(3,v=e.lang),"session"in e&&n(4,b=e.session),"userid"in e&&n(5,w=e.userid),"favorites"in e&&n(6,_=e.favorites),"clientstyling"in e&&n(7,S=e.clientstyling),"clientstylingurl"in e&&n(8,x=e.clientstylingurl),"translationurl"in e&&n(42,C=e.translationurl),"currency"in e&&n(9,T=e.currency),"categoryid"in e&&n(0,E=e.categoryid),"categorygames"in e&&n(43,G=e.categorygames),"livecasino"in e&&n(10,F=e.livecasino),"visiblegames"in e&&n(44,L=e.visiblegames),"gamepagemodalurl"in e&&n(11,$=e.gamepagemodalurl),"integratedgameframedesktop"in e&&n(12,I=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(13,P=e.integratedgameframemobile),"casinomygames"in e&&n(14,D=e.casinomygames),"addfilterselector"in e&&n(15,O=e.addfilterselector),"addsortingselector"in e&&n(16,N=e.addsortingselector),"filterbylogo"in e&&n(17,A=e.filterbylogo),"once"in e&&n(45,R=e.once),"top"in e&&n(46,H=e.top),"bottom"in e&&n(47,B=e.bottom),"left"in e&&n(48,U=e.left),"right"in e&&n(49,Y=e.right)},e.$$.update=()=>{/*thumbnailContainer*/524288&e.$$.dirty[0]|/*dataloaded*/524288&e.$$.dirty[1]&&f&&oe&&ae&&oe.forEach(((e,t)=>{e&&(
|
1453
1455
|
// Hack to make sure that I can identify the thumbnail index
|
1454
|
-
e.elems_index=t,
|
1456
|
+
e.elems_index=t,ue.observe(e))})),/*lang, categoryid*/9&e.$$.dirty[0]&&v&&E&&(()=>{
|
1455
1457
|
// showFavGamesCategory vs categoryData
|
1456
1458
|
// favoriteGamesData vs shownCategoryData
|
1457
|
-
switch(E){case"FAVORITES":n(
|
1459
|
+
switch(E){case"FAVORITES":n(33,ie=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===D&&n(33,ie=!1)}})(),/*translationurl*/2048&e.$$.dirty[1]&&C&&fetch(C).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{xr(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/262272&e.$$.dirty[0]&&S&&d&&(()=>{let e=document.createElement("style");e.innerHTML=S,d.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/262400&e.$$.dirty[0]&&x&&d&&(()=>{let e=new URL(x),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{d.appendChild(t)}),1)}))})()},[E,g,y,v,b,w,_,S,x,T,F,$,I,P,D,O,N,A,d,oe,j,z,o,Z,K,J,q,ee,te,ne,re,s,c,ie,se,le,ce,r,V,e=>{if(0===(null==e?void 0:e.length))return"";let t,n="",r=999999999999;const i=new Date(Date.now());return e.forEach(((a,o)=>{const s=new Date(a.schedules[0].startTime),l=new Date(a.schedules[0].endTime);Tr(l).diff(i)<r&&(r=Tr(l).diff(i),t=o),Tr(i).isAfter(s)&&Tr(i).isBefore(l)&&(n=e[t].name)})),n},pe,p,C,G,L,R,H,B,U,Y,f,function(e){k[e?"unshift":"push"]((()=>{c=e,n(32,c)}))},e=>pe(o.id),function(e,t){k[e?"unshift":"push"]((()=>{oe[t]=e,n(19,oe)}))},function(e){k[e?"unshift":"push"]((()=>{s=e,n(31,s)}))},function(e){k[e?"unshift":"push"]((()=>{c=e,n(32,c)}))},function(e){k[e?"unshift":"push"]((()=>{s=e,n(31,s)}))},function(e){k[e?"unshift":"push"]((()=>{d=e,n(18,d)}))}]}
|
1458
1460
|
/* src/CasinoMostPlayedSection.svelte generated by Svelte v3.48.0 */
|
1459
1461
|
function ta(e){let t;return{c(){t=p("casino-games-category-section"),S(t,"session",/*session*/e[4]),S(t,"userid",/*userid*/e[5]),S(t,"endpoint",/*endpoint*/e[0]),S(t,"datasource",/*datasource*/e[1]),S(t,"lang",/*lang*/e[3]),S(t,"currency",/*currency*/e[2]),S(t,"favorites",/*favorites*/e[13]),S(t,"categoryid","MOSTPLAYED"),S(t,"categoryindex","1"),S(t,"categorygames","9"),S(t,"class","CategoryContainer"),S(t,"clientstyling",/*clientstyling*/e[6]),S(t,"clientstylingurl",/*clientstylingurl*/e[7]),S(t,"livecasino",/*livecasino*/e[8]),S(t,"visiblegames",/*visiblegames*/e[12]),S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),S(t,"casinomygames",/*casinomygames*/e[14])},m(e,n){d(e,t,n)},p(e,n){/*session*/16&n&&S(t,"session",/*session*/e[4]),/*userid*/32&n&&S(t,"userid",/*userid*/e[5]),/*endpoint*/1&n&&S(t,"endpoint",/*endpoint*/e[0]),/*datasource*/2&n&&S(t,"datasource",/*datasource*/e[1]),/*lang*/8&n&&S(t,"lang",/*lang*/e[3]),/*currency*/4&n&&S(t,"currency",/*currency*/e[2]),/*favorites*/8192&n&&S(t,"favorites",/*favorites*/e[13]),/*clientstyling*/64&n&&S(t,"clientstyling",/*clientstyling*/e[6]),/*clientstylingurl*/128&n&&S(t,"clientstylingurl",/*clientstylingurl*/e[7]),/*livecasino*/256&n&&S(t,"livecasino",/*livecasino*/e[8]),/*visiblegames*/4096&n&&S(t,"visiblegames",/*visiblegames*/e[12]),/*gamepagemodalurl*/2048&n&&S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),/*integratedgameframedesktop*/1024&n&&S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),/*integratedgameframemobile*/512&n&&S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),/*casinomygames*/16384&n&&S(t,"casinomygames",/*casinomygames*/e[14])},d(e){e&&m(t)}}}
|
1460
1462
|
// (134:4) {#if mostPlayedEmpty}
|
1461
1463
|
function na(t){let n;return{c(){n=p("p"),n.textContent="No games in most played",_(n,"class","SearchLoading"),_(n,"part","SearchLoading")},m(e,t){d(e,n,t)},p:e,d(e){e&&m(n)}}}function ra(t){let n,r;function i(e,t){/*mostPlayedEmpty*/
|
1462
1464
|
return e[16]?na:ta}let a=i(t),o=a(t);return{c(){n=p("div"),r=p("div"),o.c(),this.c=e,_(r,"class","casino-most-played-section"),_(n,"class","CasinoGamesCategorySectionContainer"),_(n,"part","CasinoGamesCategorySectionContainer")},m(e,i){d(e,n,i),h(n,r),o.m(r,null),
|
1463
1465
|
/*div1_binding*/t[19](n)},p(e,[t]){a===(a=i(e))&&o?o.p(e,t):(o.d(1),o=a(e),o&&(o.c(),o.m(r,null)))},i:e,o:e,d(e){e&&m(n),o.d(),
|
1464
|
-
/*div1_binding*/t[19](null)}}}function ia(e,t,n){let r,i,{endpoint:a=""}=t,{datasource:o=""}=t,{currency:s=""}=t,{lang:l=""}=t,{session:c=""}=t,{userid:u=""}=t,{clientstyling:h=""}=t,{clientstylingurl:d=""}=t,{livecasino:m="false"}=t,{integratedgameframemobile:f="false"}=t,{integratedgameframedesktop:p="false"}=t,{gamepagemodalurl:g="false"}=t,{visiblegames:y}=t,{favorites:v=""}=t,{lastPlayedEmpty:b=""}=t,{casinomygames:w="false"}=t,{mostplayedperiod:_="Last30Days"}=t,S=window.navigator.userAgent,x=[],C=!1;const T=()=>{(e=>{let t=new URL(`${a}/player/${u}/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",_);let 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),r=m?t:t.href,new Promise(((e,t)=>{fetch(r).then((e=>e.json())).then((t=>{t.items=t.items.filter((e=>{let n=!0;return"OddsMatrix2"==e.gameCode&&(t.count--,n=!1),n})),e(t)})).catch((e=>{console.error(e),t(e)}))}))})({limit:100,device:Sr(S),rounds:10}).then((e=>{if(window.postMessage({type:"GetFavoredGame"},window.location.href),e.count>0){let t=[];e.items.forEach((e=>{let n=new URL(`${a}/casino/games/${e.gameId}`);n.searchParams.append("datasource",o),t.push(fetch(n.href).then((e=>e.json())))})),Promise.all(t).then((e=>{x=e.map((e=>e[0])),"true"===w&&(x=x.slice(0,JSON.parse(y))),window.postMessage({type:"MostPlayedData",mostPlayedGames:x},window.location.href)}))}else n(16,C=!0)}))},E=()=>{var e;e=l,lr.set(e)};return e.$$set=e=>{"endpoint"in e&&n(0,a=e.endpoint),"datasource"in e&&n(1,o=e.datasource),"currency"in e&&n(2,s=e.currency),"lang"in e&&n(3,l=e.lang),"session"in e&&n(4,c=e.session),"userid"in e&&n(5,u=e.userid),"clientstyling"in e&&n(6,h=e.clientstyling),"clientstylingurl"in e&&n(7,d=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"integratedgameframemobile"in e&&n(9,f=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,p=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,g=e.gamepagemodalurl),"visiblegames"in e&&n(12,y=e.visiblegames),"favorites"in e&&n(13,v=e.favorites),"lastPlayedEmpty"in e&&n(17,b=e.lastPlayedEmpty),"casinomygames"in e&&n(14,w=e.casinomygames),"mostplayedperiod"in e&&n(18,_=e.mostplayedperiod)},e.$$.update=()=>{/*endpoint, userid, lang*/41&e.$$.dirty&&a&&u&&l&&T(),/*clientstyling, customStylingContainer*/32832&e.$$.dirty&&h&&i&&(()=>{let e=document.createElement("style");e.innerHTML=h,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/32896&e.$$.dirty&&d&&i&&(()=>{let e=document.createElement("style");fetch(new URL(d)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{i.appendChild(e)}),1)}))})(),/*lang*/8&e.$$.dirty&&l&&E()},[a,o,s,l,c,u,h,d,m,f,p,g,y,v,w,i,C,b,_,function(e){k[e?"unshift":"push"]((()=>{i=e,n(15,i)}))}]}!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",class extends j{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:row}.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>",Y(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},ea,qi,a,{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&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}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}),H()}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),H()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),H()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),H()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),H()}get favorites(){return this.$$.ctx[6]}set favorites(e){this.$$set({favorites:e}),H()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get translationurl(){return this.$$.ctx[41]}set translationurl(e){this.$$set({translationurl:e}),H()}get currency(){return this.$$.ctx[9]}set currency(e){this.$$set({currency:e}),H()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),H()}get categorygames(){return this.$$.ctx[42]}set categorygames(e){this.$$set({categorygames:e}),H()}get livecasino(){return this.$$.ctx[10]}set livecasino(e){this.$$set({livecasino:e}),H()}get visiblegames(){return this.$$.ctx[43]}set visiblegames(e){this.$$set({visiblegames:e}),H()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),H()}get addfilterselector(){return this.$$.ctx[15]}set addfilterselector(e){this.$$set({addfilterselector:e}),H()}get addsortingselector(){return this.$$.ctx[16]}set addsortingselector(e){this.$$set({addsortingselector:e}),H()}get filterbylogo(){return this.$$.ctx[17]}set filterbylogo(e){this.$$set({filterbylogo:e}),H()}get once(){return this.$$.ctx[44]}set once(e){this.$$set({once:e}),H()}get top(){return this.$$.ctx[45]}set top(e){this.$$set({top:e}),H()}get bottom(){return this.$$.ctx[46]}set bottom(e){this.$$set({bottom:e}),H()}get left(){return this.$$.ctx[47]}set left(e){this.$$set({left:e}),H()}get right(){return this.$$.ctx[48]}set right(e){this.$$set({right:e}),H()}});class aa extends j{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>",Y(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},ia,ra,a,{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&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}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}),H()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),H()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),H()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),H()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),H()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),H()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),H()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),H()}get lastPlayedEmpty(){return this.$$.ctx[17]}set lastPlayedEmpty(e){this.$$set({lastPlayedEmpty:e}),H()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),H()}get mostplayedperiod(){return this.$$.ctx[18]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),H()}}return!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",aa),aa}));
|
1466
|
+
/*div1_binding*/t[19](null)}}}function ia(e,t,n){let r,i,{endpoint:a=""}=t,{datasource:o=""}=t,{currency:s=""}=t,{lang:l=""}=t,{session:c=""}=t,{userid:u=""}=t,{clientstyling:h=""}=t,{clientstylingurl:d=""}=t,{livecasino:m="false"}=t,{integratedgameframemobile:f="false"}=t,{integratedgameframedesktop:p="false"}=t,{gamepagemodalurl:g="false"}=t,{visiblegames:y}=t,{favorites:v=""}=t,{lastPlayedEmpty:b=""}=t,{casinomygames:w="false"}=t,{mostplayedperiod:_="Last30Days"}=t,S=window.navigator.userAgent,x=[],C=!1;const T=()=>{(e=>{let t=new URL(`${a}/player/${u}/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",_);let 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),r=m?t:t.href,new Promise(((e,t)=>{fetch(r).then((e=>e.json())).then((t=>{t.items=t.items.filter((e=>{let n=!0;return"OddsMatrix2"==e.gameCode&&(t.count--,n=!1),n})),e(t)})).catch((e=>{console.error(e),t(e)}))}))})({limit:100,device:Sr(S),rounds:10}).then((e=>{if(window.postMessage({type:"GetFavoredGame"},window.location.href),e.count>0){let t=[];e.items.forEach((e=>{let n=new URL(`${a}/casino/games/${e.gameId}`);n.searchParams.append("datasource",o),t.push(fetch(n.href).then((e=>e.json())))})),Promise.all(t).then((e=>{x=e.map((e=>e[0])),"true"===w&&(x=x.slice(0,JSON.parse(y))),window.postMessage({type:"MostPlayedData",mostPlayedGames:x},window.location.href)}))}else n(16,C=!0)}))},E=()=>{var e;e=l,lr.set(e)};return e.$$set=e=>{"endpoint"in e&&n(0,a=e.endpoint),"datasource"in e&&n(1,o=e.datasource),"currency"in e&&n(2,s=e.currency),"lang"in e&&n(3,l=e.lang),"session"in e&&n(4,c=e.session),"userid"in e&&n(5,u=e.userid),"clientstyling"in e&&n(6,h=e.clientstyling),"clientstylingurl"in e&&n(7,d=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"integratedgameframemobile"in e&&n(9,f=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,p=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,g=e.gamepagemodalurl),"visiblegames"in e&&n(12,y=e.visiblegames),"favorites"in e&&n(13,v=e.favorites),"lastPlayedEmpty"in e&&n(17,b=e.lastPlayedEmpty),"casinomygames"in e&&n(14,w=e.casinomygames),"mostplayedperiod"in e&&n(18,_=e.mostplayedperiod)},e.$$.update=()=>{/*endpoint, userid, lang*/41&e.$$.dirty&&a&&u&&l&&T(),/*clientstyling, customStylingContainer*/32832&e.$$.dirty&&h&&i&&(()=>{let e=document.createElement("style");e.innerHTML=h,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/32896&e.$$.dirty&&d&&i&&(()=>{let e=document.createElement("style");fetch(new URL(d)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{i.appendChild(e)}),1)}))})(),/*lang*/8&e.$$.dirty&&l&&E()},[a,o,s,l,c,u,h,d,m,f,p,g,y,v,w,i,C,b,_,function(e){k[e?"unshift":"push"]((()=>{i=e,n(15,i)}))}]}!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",class extends j{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:row}.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>',Y(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},ea,qi,a,{categoryindex:41,endpoint:1,datasource:2,lang:3,session:4,userid:5,favorites:6,clientstyling:7,clientstylingurl:8,translationurl:42,currency:9,categoryid:0,categorygames:43,livecasino:10,visiblegames:44,gamepagemodalurl:11,integratedgameframedesktop:12,integratedgameframemobile:13,casinomygames:14,addfilterselector:15,addsortingselector:16,filterbylogo:17,once:45,top:46,bottom:47,left:48,right:49},null,[-1,-1,-1]),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}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[41]}set categoryindex(e){this.$$set({categoryindex:e}),H()}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),H()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),H()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),H()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),H()}get favorites(){return this.$$.ctx[6]}set favorites(e){this.$$set({favorites:e}),H()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get translationurl(){return this.$$.ctx[42]}set translationurl(e){this.$$set({translationurl:e}),H()}get currency(){return this.$$.ctx[9]}set currency(e){this.$$set({currency:e}),H()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),H()}get categorygames(){return this.$$.ctx[43]}set categorygames(e){this.$$set({categorygames:e}),H()}get livecasino(){return this.$$.ctx[10]}set livecasino(e){this.$$set({livecasino:e}),H()}get visiblegames(){return this.$$.ctx[44]}set visiblegames(e){this.$$set({visiblegames:e}),H()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),H()}get addfilterselector(){return this.$$.ctx[15]}set addfilterselector(e){this.$$set({addfilterselector:e}),H()}get addsortingselector(){return this.$$.ctx[16]}set addsortingselector(e){this.$$set({addsortingselector:e}),H()}get filterbylogo(){return this.$$.ctx[17]}set filterbylogo(e){this.$$set({filterbylogo:e}),H()}get once(){return this.$$.ctx[45]}set once(e){this.$$set({once:e}),H()}get top(){return this.$$.ctx[46]}set top(e){this.$$set({top:e}),H()}get bottom(){return this.$$.ctx[47]}set bottom(e){this.$$set({bottom:e}),H()}get left(){return this.$$.ctx[48]}set left(e){this.$$set({left:e}),H()}get right(){return this.$$.ctx[49]}set right(e){this.$$set({right:e}),H()}});class aa extends j{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>',Y(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},ia,ra,a,{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&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}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}),H()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),H()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),H()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),H()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),H()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),H()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),H()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),H()}get lastPlayedEmpty(){return this.$$.ctx[17]}set lastPlayedEmpty(e){this.$$set({lastPlayedEmpty:e}),H()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),H()}get mostplayedperiod(){return this.$$.ctx[18]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),H()}}return!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",aa),aa}));
|
1465
1467
|
//# sourceMappingURL=casino-most-played-section.js.map
|