PageSourceSearch

https://spree.com/_next/static/chunks/27671.8947a4e5ebaf99c7.js

js spree.com collected 2026-09-24 10:38:09 UTC 22,137 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[27671],{4586:e=>{e.exports={"spreepotz-notification-v2":"SpreepotzNotificationV2_spreepotz-notification-v2__Z8INi","--inline":"SpreepotzNotificationV2_--inline__5QwuM",panel:"SpreepotzNotificationV2_panel__bAGvu","bg-art":"SpreepotzNotificationV2_bg-art__O_on2","--top":"SpreepotzNotificationV2_--top__7Y1Nm","--bottom":"SpreepotzNotificationV2_--bottom__sBYo8","--mob":"SpreepotzNotificationV2_--mob__dTzTT","--desktop":"SpreepotzNotificationV2_--desktop__gpMHr","close-button":"SpreepotzNotificationV2_close-button__eGKb0","close-icon":"SpreepotzNotificationV2_close-icon__QmTde","rules-content":"SpreepotzNotificationV2_rules-content__klLuO",content:"SpreepotzNotificationV2_content__8IJNt","--hidden":"SpreepotzNotificationV2_--hidden__rkZtW",logo:"SpreepotzNotificationV2_logo__N2t0w",copy:"SpreepotzNotificationV2_copy__tVriR",title:"SpreepotzNotificationV2_title__xexXl","description-block":"SpreepotzNotificationV2_description-block__ZkQFv",description:"SpreepotzNotificationV2_description__O8GRM",sc:"SpreepotzNotificationV2_sc__lrrEV",link:"SpreepotzNotificationV2_link__SLa47","rules-link":"SpreepotzNotificationV2_rules-link__wRK8r",error:"SpreepotzNotificationV2_error__flPEm",actions:"SpreepotzNotificationV2_actions__kFhJH",button:"SpreepotzNotificationV2_button__FZLI_","optout-link":"SpreepotzNotificationV2_optout-link__aySUE",footer:"SpreepotzNotificationV2_footer__VMS80",divider:"SpreepotzNotificationV2_divider__0EEBl",disclaimer:"SpreepotzNotificationV2_disclaimer__4X1cr","you-joined-drawer":"SpreepotzNotificationV2_you-joined-drawer__S3rT4"}},6389:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>x});var i=o(6029),a=o(14187),s=o(8588),n=o.n(s),r=o(55729),l=o(31219),c=o(46735),u=o(47434),p=o(98640),d=o(91744),m=o(94082),f=o(23848),_=o(35339),g=o(86721),v=o(63125),b=o(3032),h=o(4586),y=o.n(h);let N=(0,b.M)(y()),x=e=>{let{className:t,handleClose:o}=e,s=(0,d.w)(),{t:b}=(0,g.A)(),{title:h,userOptedIn:y,toggleOptIn:x,isOptInLoading:S}=(0,_.A)(),{close:k}=(0,v.VJ)(),z=(0,l.wA)(),j=(0,m.U)("max-sm"),[w,C]=(0,r.useState)(!1),[V,E]=(0,r.useState)(!1),[G]=(0,f.Z)(e=>[e.games.active]),F=(0,r.useRef)(y).current,I=b("spreepotz.logo.join_v2",{defaultValue:null}),A=b("spreepotz.notification.images.divider_v2",{defaultValue:null}),M=[{key:"mob.top",src:b("spreepotz.notification.images.background.mob.top",{defaultValue:null}),className:N("bg-art","--top","--mob")},{key:"mob.bottom",src:b("spreepotz.notification.images.background.mob.bottom",{defaultValue:null}),className:N("bg-art","--bottom","--mob")},{key:"desktop.top",src:b("spreepotz.notification.images.background.desktop.top",{defaultValue:null}),className:N("bg-art","--top","--desktop")},{key:"desktop.bottom",src:b("spreepotz.notification.images.background.desktop.bottom",{defaultValue:null}),className:N("bg-art","--bottom","--desktop")}],P=(0,r.useCallback)(()=>{if(o){o();return}k(!1)},[o,k]),R=(0,r.useCallback)(()=>{if(V){E(!1);return}P()},[V,P]),T=(0,r.useCallback)(async()=>{C(!1);let e=!1;try{e=await x()}catch(e){console.error("[SPREEPOTZ] Failed to opt out",e),C(!0);return}if(!e){C(!0);return}P()},[x,P]),O=(0,r.useCallback)(async()=>{var e;if(F){P();return}C(!1);let t=!1;try{t=await x()}catch(e){console.error("[SPREEPOTZ] Failed to opt in",e),C(!0);return}if(!t){C(!0);return}null==o||o();let i=!G&&!window.location.hash.includes("game-catalogue");z.ui.enqueueDynamicModal({id:"spreepotz-opt-in-notification",i18nEnabled:!0,type:"notification",title:"spreepotz.optin_notification.title",description:"spreepotz.optin_notification.description",image:"spreepotz.optin_notification.image",drawerClassName:N("you-joined-drawer"),isDraggable:!!j,cta:{text:i?"spreepotz.optin_notification.cta_text":"spreepotz.optin_notification.cta_text_continue",url:i&&null!==(e=b("spreepotz.optin_notification.cta_url"))&&void 0!==e?e:"",closeOnClick:!0,size:"lg",isFullWidth:!0},onCloseHandler:()=>{o||k()},onDismissHandler:()=>{o||k()}})},[F,P,o,x,G,j,z.ui,b,k]);return s?null:(0,i.jsx)("div",{className:N("spreepotz-notification-v2",{"--inline":!!o},t),"data-bodyscrolllockignore":!0,children:(0,i.jsxs)("div",{className:N("panel"),children:[M.map(e=>{let{key:t,src:o,className:a}=e;return o&&(0,i.jsx)("div",{className:a,children:(0,i.jsx)(n(),{src:o,alt:"",width:430,height:201})},t)}
1),(0,i.jsx)(u.default,{iconName:"close",className:N("close-button"),iconClassName:N("close-icon"),handleClick:R}),V&&(0,i.jsx)("div",{className:N("rules-content"),"data-bodyscrolllockignore":!0,children:(0,i.jsx)(p.default,{hideTabs:!0,showTabId:p.TabId.INFO,doNotRedirectAfterOptin:!0})}),(0,i.jsxs)("div",{className:N("content",{"--hidden":V}),"data-bodyscrolllockignore":!0,children:[I&&(0,i.jsx)(n(),{className:N("logo"),src:I,alt:h,width:224,height:155,priority:!0}),(0,i.jsxs)("div",{className:N("copy"),children:[(0,i.jsx)("h1",{className:N("title"),children:F?b("spreepotz.optout.title"):b("spreepotz.notification.optin.title",{defaultValue:"Bigger Prizes!"})}),(0,i.jsx)("div",{className:N("description-block"),children:(0,i.jsxs)("p",{className:N("description"),children:[F?(0,i.jsx)(a.x6,{i18nKey:"spreepotz.optout.description",components:{sc:(0,i.jsx)("span",{className:N("sc")}),br:(0,i.jsx)("span",{}),a:(0,i.jsx)("a",{className:N("link"),target:"_blank",rel:"noopener noreferrer"})}}):(0,i.jsx)(a.x6,{i18nKey:"spreepotz.notification.optin.description",defaults:"By opting in you will by adding <sc>0.10 SC per spin</sc> to the SC Jackpots Prize Pool! <br/> <br/> There are Multiple Jackpots up for grabs, with payouts every day, week, month!",components:{sc:(0,i.jsx)("span",{className:N("sc")}),br:(0,i.jsx)("span",{}),a:(0,i.jsx)("a",{className:N("link"),target:"_blank",rel:"noopener noreferrer"})}})," ",(0,i.jsx)(c.default,{styledAs:"link",color:"link",className:N("rules-link"),handleClick:()=>E(!0),children:b("spreepotz.notification.rules.text",{defaultValue:"SC Jackpots Rules Apply"})})]})})]}),w&&(0,i.jsx)("p",{className:N("error"),children:b(F?"spreepotz.optout.error":"spreepotz.notification.optin.error")}),(0,i.jsxs)("div",{className:N("actions"),children:[(0,i.jsx)(c.default,{color:"primary",className:N("button"),size:"lg",isFullWidth:!0,isLoading:!F&&S,isDisabled:F&&S,handleClick:O,children:F?b("spreepotz.optout.button"):b("spreepotz.notification.optin.button",{defaultValue:"Opt-in Now"})}),F&&(0,i.jsx)(c.default,{styledAs:"link",color:"link",className:N("optout-link"),isDisabled:S,handleClick:T,children:b("spreepotz.optout.sc_text")}),(0,i.jsxs)("div",{className:N("footer"),children:[!F&&A&&(0,i.jsx)(n(),{className:N("divider"),src:A,alt:"",width:76,height:34}),(0,i.jsx)("div",{className:N("disclaimer"),children:F?(0,i.jsx)(a.x6,{i18nKey:"spreepotz.optout.disclaimer",components:{sc:(0,i.jsx)("span",{className:N("sc")}),br:(0,i.jsx)("span",{}),b:(0,i.jsx)("b",{}),a:(0,i.jsx)("a",{className:N("link"),target:"_blank",rel:"noopener noreferrer"})}}):(0,i.jsx)(a.x6,{i18nKey:"spreepotz.notification.optin.disclaimer",defaults:"We’ll also automatically enter you in to our GC Jackpots with every spin, just for fun! Enjoy the thrill of hitting the jackpots, for just 100 GC per spin.<br/> <a href='terms-conditions'><b>GC Jackpot Rules Apply.</b></a>",components:{sc:(0,i.jsx)("span",{className:N("sc")}),br:(0,i.jsx)("span",{}),b:(0,i.jsx)("b",{}),a:(0,i.jsx)("a",{className:N("link"),target:"_blank",rel:"noopener noreferrer"})}})})]})]})]})]})})}},11705:(e,t,o)=>{"use strict";o.d(t,{A:()=>d});var i=o(6029),a=o(42929),s=o(55729),n=o(3032),r=o(99563),l=o(47434),c=o(83518),u=o.n(c);let p=(0,n.M)(u()),d=e=>{let{className:t,isActive:o,handleClick:n}=e,[c,u]=(0,a.l)(),[d,m]=(0,s.useState)(!1),f=(0,s.useCallback)(()=>{n(),o||m(!0)},[n,o]);return(0,s.useEffect)(()=>{d&&c.current&&(u([[c.current,{scale:1,opacity:0,x:"0",y:"0"},{duration:0}],[c.current,{scale:.8,opacity:.5,x:"0",y:"calc(-50% - 80px)",rotate:"-30deg"},{ease:"easeOut",duration:.1}],[c.current,{scale:1.7,opacity:.5,x:"0",y:"calc(-50% - 80px)",rotate:"0"},{...r.x3,delay:.1}],[c.current,{scale:.8,opacity:.5,x:"0",y:"calc(-50% - 80px)"},{...r.qp,delay:.05}],[c.current,{scale:1,opacity:1,x:"0",y:"0"},{ease:"easeOut",duration:.05}]]),m(!1))},[o,c,d,u]),(0,i.jsxs)("div",{className:p("favourite-button",{"--active":o},t),onClick:f,children:[(0,i.jsx)(l.default,{iconName:"heart",className:p("favourite-button-icon")}),o&&(0,i.jsx)("div",{ref:c,className:p("favourite-button-animation-wrapper"),children:(0,i.jsx)(l.default,{iconName:"heart",className:p("favourite-button-icon","--active")})})]})}},21012:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>N});var i=o(6029),a=o(18571),s=o(35335),n=o(14187),r=o(8588),l=o.n(r),c=o(55729),u=o(46735),p=o(47434),d=o(98640),m=o(91744),f=o(35339),_=o(86721),g=o(3032),v=o(99563),b=o(62445),h=o.n(b);let y=(0,g.M)(h()),N=e=>{let{className:t,handleClose:o,isModal:r}=e,g=(0,m.w)(),{t:b}=(0,_.A)(),{userOptedIn:h,toggleOptIn:N}=(0,f.A)(),[x,S]=(0,c.useState)(!1),k=(0,c.useMemo)(()=>
1b("spreepotz.notification.".concat(h?"optout":"optin",".title"),{defaultValue:h?"Don't miss out!":"Bigger Prizes!"}),[b,h]),z=(0,c.useCallback)(()=>{N(),o()},[N,o]),j=(0,c.useCallback)(()=>{h||N(),o()},[N,h,o]);return g?null:(0,i.jsx)(a.N,{children:(0,i.jsx)("div",{className:y("spreepotz-notification",{"--is-modal":!!r},t),"data-bodyscrolllockignore":!0,children:(0,i.jsxs)("div",{className:y("spreepotz-notification-inner"),children:[(0,i.jsx)(p.default,{iconName:"close",className:y("optin-close-button"),iconClassName:y("close-icon"),handleClick:o}),(0,i.jsx)(s.P.div,{initial:{scale:0},animate:{scale:1},transition:{...v.GQ},className:y("image"),children:(0,i.jsx)(l(),{src:b("spreepotz.notification.images.top_banner"),alt:k,width:382,height:106})}),(0,i.jsx)("div",{className:y("spreepotz-notification-content"),"data-bodyscrolllockignore":!0,children:x?(0,i.jsx)("div",{className:y("spreepotz-info-content"),children:(0,i.jsx)(d.default,{hideTabs:!0,showTabId:d.TabId.INFO,doNotRedirectAfterOptin:!0})}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("h1",{className:y("title"),children:k}),(0,i.jsxs)("p",{className:y("description"),children:[(0,i.jsx)(n.x6,{i18nKey:"spreepotz.notification.".concat(h?"optout":"optin",".description"),defaults:h?"If you opt-out from SC Jackpots, you will no longer be able to Win the XXL, Major, Minor, Mini Jackpot Prize Pools.":"By opting in you will by adding <sc>0.10 SC per spin</sc> to the SC Jackpots Prize Pool! <br/> <br/> There are Multiple Jackpots up for grabs, with payouts every day, week, month!",components:{sc:(0,i.jsx)("span",{className:y("sc")}),br:(0,i.jsx)("br",{}),a:(0,i.jsx)("a",{className:y("link"),target:"_blank",rel:"noopener noreferrer"})}}),(0,i.jsx)("span",{className:y("jackpot-rules"),onClick:()=>S(!0),children:b("spreepotz.notification.rules.text",{defaultValue:"SC Jackpots Rules Apply"})})]}),(0,i.jsx)(u.default,{color:"primary",className:y("button"),size:"lg",isFullWidth:!0,handleClick:j,children:b("spreepotz.notification.".concat(h?"optout":"optin",".button"),{defaultValue:h?"Stay Opted-in!":"Opt-in Now"})}),h&&(0,i.jsx)(u.default,{className:y("m-auto mt-md"),styledAs:"link",color:"link",handleClick:()=>z(),children:b("spreepotz.notification.optout.sc_text",{defaultValue:"Opt-out of SC Jackpots"})}),(0,i.jsxs)("div",{className:y("disclaimer"),children:[(0,i.jsx)("div",{className:y("divider"),children:(0,i.jsx)(l(),{src:b("spreepotz.notification.images.divider"),alt:k,width:76,height:32})}),(0,i.jsx)(n.x6,{i18nKey:"spreepotz.notification.".concat(h?"optout":"optin",".disclaimer"),defaults:"We’ll also automatically enter you in to our GC Jackpots with every spin, just for fun! Enjoy the thrill of hitting the jackpots, for just 100 GC per spin.<br/> <a href='terms-conditions'><b>GC Jackpot Rules Apply.</b></a>",components:{sc:(0,i.jsx)("span",{className:y("sc")}),br:(0,i.jsx)("br",{}),b:(0,i.jsx)("b",{}),a:(0,i.jsx)("a",{className:y("link"),target:"_blank",rel:"noopener noreferrer"})}})]})]})})]})})})}},22014:(e,t,o)=>{"use strict";o.d(t,{B:()=>r});var i=o(6029),a=o(66425),s=o(55729);let n=function(){let{onIntersect:e,threshold:t=.1,rootMargin:o="0px",disabled:i=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[a,n]=(0,s.useState)(i),r=(0,s.useRef)(null);return(0,s.useEffect)(()=>{if(i){n(!0);return}let a=new IntersectionObserver(t=>{let[o]=t;(null==o?void 0:o.isIntersecting)&&(n(!0),null==e||e(),a.disconnect())},{threshold:t,rootMargin:o});return r.current&&a.observe(r.current),()=>a.disconnect()},[e,t,o,i]),{ref:r,isVisible:a}},r=e=>{let{children:t,onIntersect:o,height:s="100%",width:r="100%",className:l="",threshold:c=.1,loadingComponent:u,skeletonProps:p,maintainHeight:d=!1,rootMargin:m="0px",disabled:f=!1}=e,{ref:_,isVisible:g}=n({onIntersect:o,threshold:c,rootMargin:m,disabled:f}),v=d?{minHeight:g?s:void 0}:void 0;return(0,i.jsx)("div",{ref:_,className:"w-full h-full ".concat(l),style:v,children:g?t:u||(0,i.jsx)(a.A,{variant:"rounded",width:r,height:s,...p})})}},33186:(e,t,o)=>{"use strict";o.d(t,{e:()=>f});var i=o(29087),a=o(90545),s=o(55729),n=o(56758),r=o(65442),l=o(79633),c=o(74566),u=o(32887),p=o(55743),d=o(80287),m=o(30405);let f=e=>{let{articleSlug:t}=e,o=(0,m.f)(),{enabled:f}=(0,n.u)(i.FeatureFlagsKeys.Spree1606GetArticlesFromCacheEnableTemporary),[_,g]=(0,s.use
1State)([]),[v,b]=(0,s.useState)(),h=(0,r.k)(),{allowedGames:y,allowedProviders:N,lazyAllowedGames:x}=(0,l.M)(),{isLoggedInClient:S}=(0,p.A)(),{allItems:k}=(0,d.U)({allowedGames:y,allowedProviders:N,articleId:(null==v?void 0:v.id)||0,groups:h,isLoggedIn:S,lazyAllowedGames:x,lobbies:_,previousPath:""});return(0,s.useEffect)(()=>{(async()=>{try{let[e,i]=await Promise.all([c.Sn.request(a.M.GetLobbies,{}),(0,u.l)({slug:t,locale:o},f)]);g(e.data),b(i.data)}catch(e){console.error("[ERROR] Cannot get lobbies or article",e)}})()},[t,o,S,f]),{lobby:k}}},52556:(e,t,o)=>{"use strict";o.d(t,{Ss:()=>b,hn:()=>y,xh:()=>h});var i=o(29087),a=o(81278),s=o(55729),n=o(56758),r=o(30405),l=o(5926);let c="/slots",u="returnToModal",p="returnToModalSlug",d=[],m=e=>(d.push(e),()=>{d=d.filter(t=>t!==e)}),f=()=>{d.forEach(e=>e())},_=()=>sessionStorage.getItem(u),g=()=>sessionStorage.getItem(p),v=()=>null,b=e=>{sessionStorage.setItem(u,"game-discovery-results"),sessionStorage.setItem(p,e),f()},h=()=>{sessionStorage.removeItem(u),sessionStorage.removeItem(p),f()},y=()=>{let e=(0,r.f)(),{query:t}=(0,a.useRouter)(),{enabled:o}=(0,n.u)(i.FeatureFlagsKeys.Spree4041GameExitTargetEnableTemporary),u=(0,s.useSyncExternalStore)(m,_,v),p=(0,s.useSyncExternalStore)(m,g,v),d="string"==typeof t.slug?t.slug:void 0;return{enabled:o,target:(0,s.useMemo)(()=>{if("game-discovery-results"===u&&d&&p===d){let t=(0,l.tJ)("game-discovery-results",e);return"".concat(c,"#").concat(t)}return c},[u,p,d,e])}}},62445:e=>{e.exports={"spreepotz-notification":"SpreepotzNotification_spreepotz-notification___iyHV","--is-modal":"SpreepotzNotification_--is-modal__9Lyqy",sc:"SpreepotzNotification_sc__fN1Sq","spreepotz-notification-inner":"SpreepotzNotification_spreepotz-notification-inner__c_3hg","optin-close-button":"SpreepotzNotification_optin-close-button__cnar6",image:"SpreepotzNotification_image__A_ndK",title:"SpreepotzNotification_title__EdKjC",description:"SpreepotzNotification_description__42mh5","jackpot-rules":"SpreepotzNotification_jackpot-rules__mq5NV",button:"SpreepotzNotification_button__GtwwZ",disclaimer:"SpreepotzNotification_disclaimer__O_A40",divider:"SpreepotzNotification_divider__EjOwX","spreepotz-notification-content":"SpreepotzNotification_spreepotz-notification-content__Hrj0L","spreepotz-info-content":"SpreepotzNotification_spreepotz-info-content__bQJeX"}},65442:(e,t,o)=>{"use strict";o.d(t,{k:()=>n});var i=o(55729),a=o(31219),s=o(23848);let n=()=>{var e;let t=(0,a.wA)(),[o,n]=(0,s.Z)(e=>[e.gameGroups.groups,e.gameGroups.isLoading]);return(0,i.useEffect)(()=>{if(!n&&(null==o?void 0:o.type)!=="full")try{t.gameGroups.fetchGroups({})}catch(e){console.error("[ERROR] Cannot get game groups",e)}},[o,t.gameGroups,n]),null!==(e=null==o?void 0:o.list)&&void 0!==e?e:[]}},69439:(e,t,o)=>{"use strict";o.d(t,{A:()=>m});var i=o(29087),a=o(81278),s=o(55729),n=o(3071),r=o(68910),l=o(70334),c=o(44563),u=o(56758),p=o(52556),d=o(42884);let m=e=>{let{accountInfo:t,visibleGame:o,isDiscoveryGame:m,searchedFilters:f=[],selectedGameCollection:_=[],setVisibleGame:g,launchSource:v}=e,b=(0,a.useRouter)(),{enabled:h}=(0,u.u)(i.FeatureFlagsKeys.Spree1198GPSGeolocationEnableTemporary),y=(0,d.Q)({accountInfo:t,refetchAccountInfo:!0}),N=(0,s.useMemo)(()=>{var e;return(0,l.Nc)({parentPageType:"game-launch",slug:null!==(e=null==o?void 0:o.slug)&&void 0!==e?e:""})},[null==o?void 0:o.slug]),x=(0,s.useMemo)(()=>_.length?_.findIndex(e=>e.id===(null==o?void 0:o.id)):0,[_,null==o?void 0:o.id]),S=(0,s.useMemo)(()=>(e,t,o)=>{if(t<0||0===o)return!1;let i=t-2,a=t+2;return!!(e>=i)&&!!(e<=a)||!!(t<2)&&!!(e>=o+i)&&!!(e<o)||!!(t>o-3)&&!!(e>=0)&&!!(e<=a-o)},[]),k=(0,s.useMemo)(()=>(e,t)=>0===e?t-1:e-1,[]),z=(0,s.useMemo)(()=>(e,t)=>e===t-1?0:e+1,[]),j=async e=>{if(h&&y().then(e=>{e?localStorage.setItem(n.U.REDIRECT_PATH_FROM_GPS,N):localStorage.removeItem(n.U.REDIRECT_PATH_FROM_GPS)}),m){var t,i,a;(0,r.p6)({game_code:null!==(t=null==o?void 0:o.slug)&&void 0!==t?t:"",game_name:null!==(i=null==o?void 0:o.name)&&void 0!==i?i:"",game_mode:e,selected_filters:f}),(0,p.Ss)(null!==(a=null==o?void 0:o.slug)&&void 0!==a?a:"")}b.push({pathname:N,query:{coinCurrencyCode:e,...v&&{launchSource:v}}})},w=(0,s.useCallback)(e=>{let t=_[e];t&&g(t)},[_,g]);return(0,s.useEffect)(()=>
1{if(!(null==o?void 0:o.slug))return;let[e,t]=b.asPath.split("#");if(t){let[i,a]=t.split("?"),s=new URLSearchParams(a);if(s.get("game")!==o.slug){s.set("game",o.slug);let t="".concat(e,"#").concat(i).concat((null==i?void 0:i.includes("game-catalogue"))?"":"#game-catalogue","?").concat(s.toString());(0,l.gg)(t)}}},[null==o?void 0:o.slug,b.asPath]),(0,s.useEffect)(()=>{_.length&&localStorage.setItem(n.U.GAME_DISCOVERY_COLLECTION,JSON.stringify(_))},[_]),{gameCollectionIndex:x,slowConnection:(0,c.Q5)(),getShouldLoadContent:S,handlePlayClick:j,handleSliderSelect:w,getPrevIndex:k,getNextIndex:z}}},80287:(e,t,o)=>{"use strict";o.d(t,{U:()=>f});var i=o(29087),a=o(62071),s=o(55729),n=o(31219),r=o(39059),l=o(23848),c=o(30405),u=o(64023),p=o(56758),d=o(7878);let m=Number("300")||300,f=e=>{let{allowedGames:t=[],allowedProviders:o=[],articleId:f,gameGroupClassName:_,groups:g=[],isLoggedIn:v,lobbies:b,previousPath:h}=e,y=(0,c.f)(),N=(0,n.wA)(),[x,S,k]=(0,l.Z)(e=>[e.games.favoriteGames,e.games.lastPlayedGames,e.user.accountInfo]),z=null==k?void 0:k.hasPaymentHistory,{enabled:j}=(0,p.u)(i.FeatureFlagsKeys.Spree1965FilterGameGroupsByUserStatusEnableTemporary),{enabled:w}=(0,p.u)(i.FeatureFlagsKeys.Spree2536DeprecatedProviderEnableTemporary),{enabled:C}=(0,p.u)(i.FeatureFlagsKeys.Spree3012DebounceLobbyGameGroupsEnableTemporary),V=(0,s.useRef)(new Map);(0,s.useEffect)(()=>{V.current.clear()},[v,t,S]);let E=(0,s.useMemo)(()=>f?(0,u.Ig)(f,b):[],[f,b]),G=(0,s.useMemo)(()=>(0,u.ww)(E,g),[E,g]),F=(0,s.useMemo)(()=>v&&G.some(e=>"for-you"===e.type),[v,G]);(0,d.o)(()=>{v&&F&&(N.games.getFavoriteGames(),N.games.getLastPlayedGames(null),N.games.getSpecialTags())},[v,F]);let I=(0,s.useMemo)(()=>({allowedGames:t,allowedProviders:o,favoriteGames:x,lastPlayedGames:S,isDeprecatedProviderEnabled:w}),[t,o,x,S,w]),A=(0,r.d7)(I,m),M=(0,s.useMemo)(()=>C?A:I,[C,A,I]),P=(0,s.useCallback)((e,t,o,i)=>{var s,n,r;let{allowedGames:l,allowedProviders:c,favoriteGames:p,lastPlayedGames:d,isDeprecatedProviderEnabled:m}=M;switch(e){case"providers":return m?c.filter(e=>!e.isDeprecated):c;case"recently-played":return(0,u.Bp)(null!==(s=null==d?void 0:d.map(e=>e.id))&&void 0!==s?s:[],l);case"for-you":{let e=t.join(","),s=void 0!==p&&void 0!==d,c=s?V.current.get(e):void 0;if(c)return c;let m=null!==(n=null==p?void 0:p.map(e=>e.id))&&void 0!==n?n:[],f=void 0!==o?null==m?void 0:m.slice(0,o):m,_=m.filter(e=>t.includes(e)),g=null!==(r=null==d?void 0:d.map(e=>e.id))&&void 0!==r?r:[],v=void 0!==i?null==g?void 0:g.slice(0,i):g,b=g.filter(e=>t.includes(e)),h=(0,a.unique)([...f,..._,...v,...b,...t]),y=(0,u.Bp)(h,l);return s&&V.current.set(e,y),y}default:return(0,u.Bp)(t,l)}},[M]);return{allItems:(0,s.useMemo)(()=>{let e=[];for(let n of G){var t,o,a,s;let r="for-you"===n.type?n.maxFavoriteGames:void 0,l="for-you"===n.type?n.maxLastPlayedGames:void 0,c=P(n.type,n.gamesIds,r,l),u=!n.visibility||"all"===n.visibility||"loggedIn"===n.visibility&&v||"visitor"===n.visibility&&!v,p=!j||!(null===(t=n.userStatus)||void 0===t?void 0:t.length)||n.userStatus.includes(i.UserStatusEnum.LoggedOut)&&!v||n.userStatus.includes(i.UserStatusEnum.Purchaser)&&z||n.userStatus.includes(i.UserStatusEnum.NonPurchaser)&&v&&!z;u&&p&&("community-jackpot"!==n.type||v)&&e.push({id:n.id,className:_,hasSlider:"showcase"!==n.variant,isLoggedIn:v,items:c,itemsAmount:n.gamesAmount,previousPath:h,title:null===(o=n.translations[y])||void 0===o?void 0:o.title,subtitle:null===(a=n.translations[y])||void 0===a?void 0:a.subtitle,type:n.type,variant:n.variant,viewAllHref:null===(s=n.translations[y])||void 0===s?void 0:s.slug})}return e},[G,v,y,h,_,j,z,P])}}},83518:e=>{e.exports={"favourite-button":"FavouriteButton_favourite-button__HqX2B","favourite-button-icon":"FavouriteButton_favourite-button-icon___Dhvx","--active":"FavouriteButton_--active__k_OCF","favourite-button-animation-wrapper":"FavouriteButton_favourite-button-animation-wrapper__72SDB"}},87896:(e,t,o)=>{"use strict";o.d(t,{A:()=>u});var i=o(55729),a=o(31219),s=o(51530),n=o(68910),r=o(69034),l=o(23848),c=o(30033);let u=e=>{let{game:t}=e,o=(0,a.wA)(),{open:u}=(0,r.c)(),{displaySignupModal:p}=(0,c.t)(),[d=[],m]=(0,l.Z)(e=>[e.games.favoriteGames,e.user.id]),f=(0,i.useMemo)(()=>null!=t&&!!t.code&&d.some(e=>e.code===t.code),[d,t]),_=(0,i.useCallback)(()=>
1{if(!m){u(p?"signup-modal":"signup");return}let e=f?s.o.RemoveFavouriteGame:s.o.FavouriteGame,i=f?o.games.removeAccountFavouriteGame:o.games.addAccountFavouriteGame;(null==t?void 0:t.code)&&(i(t),(0,n.Dd)({event:e,customerId:m,parameters:{gamename:t.name,gamecode:t.code}}))},[t,f,m,p]);return{isFavourite:f,toggleFavourite:_}}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.