try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ce7d2b94-ad7e-4c43-b2e8-0e17584385e1",e._sentryDebugIdIdentifier="sentry-dbid-ce7d2b94-ad7e-4c43-b2e8-0e17584385e1")}catch(e){}{let e="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{};e.SENTRY_RELEASE={id:"558896"}}(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["preloadChunk-MainPage"],{"674b":function(e,t,i){"use strict";i.r(t);i("4de4"),i("e9f5"),i("910d");var o=i("f2bf");const n={class:"home-bg-section"},s={class:"main-page__games-jackpot"},a={class:"home-bg-section-inner"},r={class:"home-bg-section-inner main-page__games-providers"},l={class:"home-bg-section-inner"};function c(e,t,i,c,d,m){const h=Object(o["resolveComponent"])("preloader"),b=Object(o["resolveComponent"])("games-list"),g=Object(o["resolveComponent"])("mount-into-view"),u=Object(o["resolveComponent"])("games-jackpot"),f=Object(o["resolveComponent"])("record-winnings"),p=Object(o["resolveComponent"])("play-providers-slider"),v=Object(o["resolveComponent"])("banners-welcome-offer");return Object(o["openBlock"])(),Object(o["createElementBlock"])("div",n,[m.isGamesDataLoading?(Object(o["openBlock"])(),Object(o["createBlock"])(h,{key:0})):(Object(o["openBlock"])(),Object(o["createElementBlock"])(o["Fragment"],{key:1},[Object(o["createVNode"])(b,{"has-loader":"",class:"home-bg-section-inner--initial","games-sections":m.initialGamesSections,collection:i.collection,filter:i.filter,"game-provider":i.gameProvider,"jackpot-games":i.jackpotGames},null,8,["games-sections","collection","filter","game-provider","jackpot-games"]),t[0]||(t[0]=Object(o["createTextVNode"])()),m.showScrolledGamesSections?(Object(o["openBlock"])(),Object(o["createBlock"])(g,{key:0},{default:Object(o["withCtx"])(()=>[Object(o["createVNode"])(b,{"has-loader":"","games-sections":m.scrolledGamesSections,collection:i.collection,filter:i.filter,"game-provider":i.gameProvider,"preloader-props":{oneRowSection:!1}},null,8,["games-sections","collection","filter","game-provider"])]),_:1})):Object(o["createCommentVNode"])("",!0)],64)),t[1]||(t[1]=Object(o["createTextVNode"])()),m.isShowMainBlock?(Object(o["openBlock"])(),Object(o["createBlock"])(g,{key:2},{default:Object(o["withCtx"])(()=>[Object(o["createElementVNode"])("div",s,[Object(o["createVNode"])(u,{"gtm-element":e.GTM_ELEMENTS.main.jackpot},null,8,["gtm-element"])])]),_:1})):Object(o["createCommentVNode"])("",!0),t[2]||(t[2]=Object(o["createTextVNode"])()),m.isGamesDataLoading?Object(o["createCommentVNode"])("",!0):(Object(o["openBlock"])(),Object(o["createBlock"])(g,{key:3},{default:Object(o["withCtx"])(()=>[Object(o["createVNode"])(b,{"has-loader":"","games-sections":m.liveGamesSections,collection:i.collection,filter:i.filter,"game-provider":i.gameProvider,"preloader-props":{twoRowSection:!1}},null,8,["games-sections","collection","filter","game-provider"])]),_:1})),t[3]||(t[3]=Object(o["createTextVNode"])()),m.isShowMainBlock?(Object(o["openBlock"])(),Object(o["createBlock"])(g,{key:4},{default:Object(o["withCtx"])(()=>[Object(o["createElementVNode"])("div",a,[Object(o["createVNode"])(f)])]),_:1})):Object(o["createCommentVNode"])("",!0),t[4]||(t[4]=Object(o["createTextVNode"])()),Object(o["createVNode"])(g,null,{default:Object(o["withCtx"])(()=>[Object(o["createElementVNode"])("div",r,[Object(o["createVNode"])(p,{"is-jackpot-games":m.isJackpotGames},null,8,["is-jackpot-games"])])]),_:1}),t[5]||(t[5]=Object(o["createTextVNode"])()),m.isShowWelcomeOfferBanners?(Object(o["openBlock"])(),Object(o["createBlock"])(g,{key:5},{default:Object(o["withCtx"])(()=>[Object(o["createElementVNode"])("div",l,[Object(o["createVNode"])(v)])]),_:1})):Object(o["createCommentVNode"])("",!0)])}var d=i("c964"),m=i("d0af"),h=i("f3f3"),b=(i("d81d"),i("f665"),i("ab43"),i("a732"),i("ac1f"),i("5319"),i("be92")),g=i("d373"),u=i("b047"),f=i.n(u),p=i("8f12"),v=i("653a");i("caad"),i("14d9"),i("13d5"),i("9485"),i("2532");const O=(e,t)=>{const i=t.reduce((t,{identifier:i})=>e.includes(i.toLowerCase())?(t.push(i),t):t,[]);if(!i.length)return null;const o=i.length>1?Math.floor(Math.random()*i.length):0;return i[o]};var S=i("b28f"),j=i("9d19"),G=i("0a93");const y=10,w=1,k=2,L=3;var E={name:"main-page",components:{BannersWelcomeOffer:Object(o["defineAsyncComponent"])(()=>i.e("BannersWelcomeOffer").then(i.bind(null,"00948"))),GamesJackpot:Object(o["defineAsyncComponent"])(()=>Promise.all([i.e("chunk-15d3be62"),i.e("GamesJackpot")]).then(i.bind(null,"ba906"))),PlayProvidersSlider:Object(o["defineAsyncComponent"])(()=>Promise.all([i.e("chunk-15d3be62"),i.e("PlayProvidersSlider")]).then(i.bind(null,"bcdf6"))),RecordWinnings:Object(o["defineAsyncComponent"])(()=>i.e("RecordWinnings").then(i.bind(null,"b13a"))),MountIntoView:G["a"],Preloader:j["default"],GamesList:S["default"]},props:{collection:{type:String,default:""},gameProvider:{type:String,default:""},filter:{type:String,default:""},scrolling:{type:Boolean,default:!1},jackpotGames:{type:String,default:""}},computed:Object(h["a"])(Object(h["a"])(Object(h["a"])(Object(h["a"])(Object(h["a"])(Object(h["a"])(Object(h["a"])(Object(h["a"])(Object(h["a"])(Object(h["a"])({},Object(b["f"])(g["a"].breakpoints,["isMobileOrTablet"])),Object(b["f"])(g["a"].playerFavoriteGames,["playerFavoriteGamesArray","playerFavoriteGamesFormattedIdentifiers","playerFavoriteGamesV4FormattedIdentifiers"])),Object(b["f"])(g["a"].player,["isPlayerAuthorized","getLanguageForUrl"])),Object(b["f"])(g["a"].games,["isDataLoaded","recommendedGameIdentifiers"])),Object(b["f"])(g["a"].batches,["getIsInitialBatchLoaded"])),Object(b["f"])(g["a"].lazyLoading,["isLazyLoadingEnabled"])),Object(b["f"])(g["a"].gamesMedia,["getMediaGamesList"])),Object(b["f"])(g["a"].banners,["getBannersBottom"])),Object(b["f"])(g["a"].gamesV4,["isDataLoading","homeGamesIdentifiers","gamesMap","dayHotFormattedIdentifiersGamesMap"])),{},{favoritesSectionGames(){var e;return(null===(e=this.playerFavoriteGamesV4FormattedIdentifiers)||void 0===e?void 0:e.map(e=>Object(v["b"])(e,this.gamesMap)))||[]},popularSection(){return this.getHomeGamesSection(p["qc"].POPULAR)},popularSectionGames(){var e;return this.prepareGamesV4List(null===(e=this.popularSection)||void 0===e?void 0:e.identifiers)},recommendedSection(){return this.getHomeGamesSection(p["kf"])},recommendedSectionGames(){var e;return this.prepareGamesV4List(null===(e=this.recommendedSection)||void 0===e?void 0:e.identifiers)},newSection(){return this.getHomeGamesSection(p["qc"].NEW)},newSectionGames(){var e;return this.prepareGamesV4List(null===(e=this.newSection)||void 0===e?void 0:e.identifiers)},liveSection(){return this.getHomeGamesSection(p["qc"].LIVE)},liveSectionGames(){var e;return this.prepareGamesV4List(null===(e=this.liveSection)||void 0===e?void 0:e.identifiers)},hotSection(){return this.getHomeGamesSection(p["vf"].HOT)},hotSectionGames(){var e;const t=null===(e=this.hotSection)||void 0===e?void 0:e.identifiers,i=this.prepareGamesV4List(t).map(e=>Object(h["a"])(Object(h["a"])({},e),{},{rtp:{value:this.dayHotFormattedIdentifiersGamesMap[e.identifier],type:p["vf"].HOT}}));return i},isGamesDataLoading(){return!this.isDataLoaded||this.isDataLoading},homeFavoritesRows(){return!this.isMobileOrTablet||this.playerFavoriteGamesArray.length<=y?w:k},homePopularRows(){return this.popularSectionGames.length>y?k:w},homeRecommendedRows(){return this.recommendedSectionGames.length>y?k:w},homeNewRows(){return!this.isMobileOrTablet||this.newSectionGames.length<=y?w:k},homeLiveRows(){return!this.isMobileOrTablet||this.liveSectionGames.length<=y?w:k},isShowWelcomeOfferBanners(){return this.isShowMainBlock&&!this.isPlayerAuthorized&&this.hasBottomBanner},gtmCollection(){return this.GTM_ELEMENTS.main},isRecommendedGamesBannerVisible(){return this.isPlayerAuthorized&&!this.recommendedSectionGames.length},isRecommendedGamesVisible(){return this.isPlayerAuthorized&&this.recommendedSectionGames.length},videoGameIdentifier(){return O(this.getMediaGamesList,this.popularSectionGames)},initialGamesSections(){return[{name:p["ad"].HOME_FAVORITES,navigate_id:p["vc"].FAVORITES,row:this.homeFavoritesRows,collection_list:this.favoritesSectionGames,title:"collections_filters.favorites",show:this.favoritesSectionGames.length,gtmElement:this.gtmCollection.favorites,cardSize:"l",sectionUrl:`${this.getLanguageForUrl}${p["zb"].FAVORITES.MAIN}`},{name:p["ad"].HOME_POPULAR,navigate_id:p["vc"].POPULAR,row:this.homePopularRows,collection_list:this.popularSectionGames,collectionName:p["qc"].POPULAR,title:"collections_filters.popular",show:this.popularSectionGames.length,loaded:Boolean(this.popularSection),gtmElement:this.gtmCollection.popular,cardSize:"m",showBottomLabel:!1,sectionUrl:`${this.getLanguageForUrl}${p["zb"].GAMES.POPULAR}`,cardVideoIdentifier:this.videoGameIdentifier},{name:p["ad"].HOME_RECOMMENDED,collection:p["kf"],navigate_id:p["vc"].RECOMMENDED,row:this.homeRecommendedRows,collection_list:this.recommendedSectionGames,title:"collections_filters.recommended",show:this.isRecommendedGamesBannerVisible||this.isRecommendedGamesVisible,loaded:Boolean(this.recommendedSection||this.isRecommendedGamesBannerVisible),gtmElement:this.gtmCollection.recommended,cardSize:"m",showBottomLabel:!1,sectionUrl:`${this.getLanguageForUrl}${p["zb"].SLOTS.RECOMMENDED}`,isRecommendedGamesBannerVisible:this.isRecommendedGamesBannerVisible},{name:p["ad"].HOME_NEW,collection:p["qc"].NEW,navigate_id:p["vc"].NEW,row:this.homeNewRows,collection_list:this.newSectionGames,title:"collections_filters.new",show:this.newSectionGames.length,loaded:Boolean(this.newSection),gtmElement:this.gtmCollection.new,cardSize:"l",sectionUrl:`${this.getLanguageForUrl}${p["zb"].GAMES.NEW}`}]},liveGamesSections(){return[{name:p["ad"].HOME_LIVE_DEALERS,navigate_id:p["vc"].LIVE_DEALERS,row:this.homeLiveRows,collection_list:this.liveSectionGames,title:"live_dealers",show:this.liveSectionGames.length,loaded:Boolean(this.liveSection),gtmElement:this.gtmCollection.live,cardSize:"l",sectionUrl:`${this.getLanguageForUrl}${p["zb"].LIVE.LIVE_LOBBY_LIVE}`}]},scrolledGamesSections(){return[{name:p["ad"].HOME_DAY_HOT_GAMES,navigate_id:p["vc"].DAY_HOT_GAMES,row:this.isMobileOrTablet?L:w,rtp_type:"hot",rtp_mode:"days",collection_list:this.hotSectionGames,title:"collections_filters.day_hot_games",gtmElement:this.gtmCollection.hot,show:this.hotSectionGames.length,loaded:Boolean(this.hotSection),sectionUrl:`${this.getLanguageForUrl}${p["zb"].HOT.MAIN}`,cardSize:"xs",hideShowAll:!0,hideBadges:!0,showBottomLabel:!1}]},showScrolledGamesSections(){return this.scrolledGamesSections.some(({show:e})=>e)},isShowMainBlock(){return!this.isLazyLoadingEnabled||this.scrolling&&this.isDataLoaded},hasBottomBanner(){var e;return Boolean(null===(e=this.getBannersBottom)||void 0===e?void 0:e[0])},isJackpotGames(){return"active"===this.jackpotGames}}),watch:{getIsInitialBatchLoaded(){this.openRegistrationForFavorites()},getCurrencyCode(){this.getIsInitialBatchLoaded&&this.fetchCategoriesGames()},recommendedGameIdentifiers(){this.fetchRecommendedGames(this.recommendedGameIdentifiers)},isPlayerAuthorized(){this.fetchCategoriesGames()},playerFavoriteGamesFormattedIdentifiers(e,t){(!t.length&&e.length||t.lengtht===e)},fetchCategoriesGames(){this.playerFavoriteGamesFormattedIdentifiers.length&&this.fetchFavoritesGames(),this.fetchPaginatedGames(p["qc"].POPULAR),this.fetchRecommendedGames(this.recommendedGameIdentifiers),this.fetchPaginatedGames(p["qc"].NEW),this.fetchPaginatedGames(p["qc"].LIVE),this.fetchPaginatedGames(p["qc"].JACKPOT)},prepareGamesV4List(e){return null!==e&&void 0!==e&&e.length?e.map(e=>Object(v["b"])(e,this.gamesMap)):[]},onSliderVisible(e){this.slidersRendered[e]=!1,this.initSliders[e]=!1,this.debounceRenderSliders()},onSliderRendered(e){this.slidersRendered[e]=!0,this.debounceInitSliders(),this.debounceRenderSliders()},debounceRenderSliders:f()((function(){const e=Object.keys(this.slidersRendered).filter(e=>!this.slidersRendered[e]),t=Object(m["a"])(e,1),i=t[0];i&&this.$bus.$emit("slider-render",i)}),100),debounceInitSliders:f()((function(){const e=Object.keys(this.initSliders).filter(e=>!this.initSliders[e]),t=Object(m["a"])(e,1),i=t[0];i&&this.$bus.$emit("slider-init",i)}),200),onSliderInitialized(e){this.initSliders[e]||(this.initSliders[e]=!0,this.debounceInitSliders())},openRegistrationForFavorites(){"favorites"!==this.filter||this.isPlayerAuthorized||(this.$router.replace(this.getLanguageForUrl||"/"),this.openModal({name:p["yd"].REGISTRATION,props:{place:p["zd"].TO_REGISTRATION.DIRECT_FAVORITES},component:Object(o["defineAsyncComponent"])(()=>Promise.all([i.e("chunk-7a521346"),i.e("velocity-animate"),i.e("chunk-727d6e6a"),i.e("chunk-13133f38"),i.e("auth")]).then(i.bind(null,"8037")))}))},onAllSectionClick(){var e=this;return Object(d["a"])((function*(){yield e.$nextTick(),setTimeout(()=>{window.scrollTo(0,p["xf"])})}))()}})},C=i("6b0d"),_=i.n(C);const B=_()(E,[["render",c]]);t["default"]=B},"793d":function(e,t,i){"use strict";var o=i("b047"),n=i.n(o),s=i("8f12");t["a"]={data(){return{hoveredGame:""}},methods:{onMousemove:n()((function(e){this.hoverHandler(e)}),s["Gb"]),hoverHandler(e){var t,i,o;if(null!==e&&void 0!==e&&null!==(t=e.target)&&void 0!==t&&t.closest(".games-list-card__body")||null!==e&&void 0!==e&&null!==(i=e.target)&&void 0!==i&&i.closest(".games-list-card__favorites"))return;const n=this.isMobile?".games-list-card":".games-list-card__img-area",s=null===e||void 0===e||null===(o=e.target)||void 0===o?void 0:o.closest(n);if(s){var a;const t=null===e||void 0===e||null===(a=e.target)||void 0===a?void 0:a.closest(".games-list-card");this.hoveredGame=t.dataset.gameId}else this.hoveredGame=""},getGameIdInSection(e,t){if(e&&t)return`${e}-${t}`}}}},"83b5":function(e,t,i){"use strict";var o=i("f3f3"),n=(i("caad"),i("e9f5"),i("a732"),i("2532"),i("be92")),s=i("d373"),a=i("8f12");t["a"]={computed:Object(o["a"])(Object(o["a"])(Object(o["a"])({},Object(n["f"])(s["a"].games,["mapIds"])),Object(n["f"])(s["a"].gamesCollections,["getCollectionsById"])),{},{realMoneyCollection(){return this.getCollectionsById[a["qc"].REAL_MONEY]}}),methods:{isRealMoneyGame(e){return null!==e&&void 0!==e&&e.collections?e.collections.includes(a["qc"].REAL_MONEY):!(null===e||void 0===e||!e.id)&&(null===(t=this.realMoneyCollection)||void 0===t?void 0:t.itemsIDS.some(t=>t===e.id));var t},isRealMoneyGameFromIdentifier(e){var t;return null===(t=this.realMoneyCollection)||void 0===t?void 0:t.itemsIDS.some(t=>t===this.mapIds[e])}}}},"88ec":function(e,t,i){"use strict";i("f669")},b28f:function(e,t,i){"use strict";i.r(t);i("4de4"),i("e9f5"),i("910d");var o=i("f2bf");const n={key:1,class:"games-list__no-results relative"};function s(e,t,i,s,a,r){const l=Object(o["resolveComponent"])("preloader"),c=Object(o["resolveComponent"])("games-filter"),d=Object(o["resolveComponent"])("recommended-games-banner"),m=Object(o["resolveComponent"])("games-cards-slider"),h=Object(o["resolveComponent"])("games-list-empty");return r.isShowLoader?(Object(o["openBlock"])(),Object(o["createBlock"])(l,Object(o["normalizeProps"])(Object(o["mergeProps"])({key:0},i.preloaderProps)),null,16)):(Object(o["openBlock"])(),Object(o["createElementBlock"])("div",{key:1,class:"home-bg-section-inner",onMousemove:t[0]||(t[0]=(...t)=>e.onMousemove&&e.onMousemove(...t)),onMouseleave:t[1]||(t[1]=(...t)=>e.hoverHandler&&e.hoverHandler(...t))},[e.isLiveOrTablePage?(Object(o["openBlock"])(),Object(o["createBlock"])(c,{key:0,collection:i.collection,filter:i.filter,provider:i.gameProvider,"total-items":r.totalItems,"is-jackpot-games":r.isJackpotGames,class:"games-sort-page__wr--live-table",onOnCategoryChanged:r.onCategoryChanged},null,8,["collection","filter","provider","total-items","is-jackpot-games","onOnCategoryChanged"])):Object(o["createCommentVNode"])("",!0),t[2]||(t[2]=Object(o["createTextVNode"])()),(Object(o["openBlock"])(!0),Object(o["createElementBlock"])(o["Fragment"],null,Object(o["renderList"])(r.visibleSections,t=>(Object(o["openBlock"])(),Object(o["createElementBlock"])(o["Fragment"],null,[t.isRecommendedGamesBannerVisible?(Object(o["openBlock"])(),Object(o["createBlock"])(d,{key:t.name})):(Object(o["openBlock"])(),Object(o["createBlock"])(m,{key:t.name,name:t.name,filter:i.filter,"cards-slider-filter":t.filter,collection:i.collection,"collection-list":t.collection_list,"collection-name":t.collectionName,"navigate-id":t.navigate_id,row:t.row,title:t.title,"rtp-options":r.getRtpOptions(t),"hovered-game-id":e.hoveredGame,"gtm-element":t.gtmElement,"card-size":r.getSectionCardSize(t.cardSize),"section-url":t.sectionUrl,"hide-show-all":t.hideShowAll,provider:i.gameProvider,"hide-badges":t.hideBadges,"show-bottom-label":t.showBottomLabel,"is-last-card-show-all":r.isShowLastCard(t.name),"card-video-identifier":t.cardVideoIdentifier},null,8,["name","filter","cards-slider-filter","collection","collection-list","collection-name","navigate-id","row","title","rtp-options","hovered-game-id","gtm-element","card-size","section-url","hide-show-all","provider","hide-badges","show-bottom-label","is-last-card-show-all","card-video-identifier"]))],64))),256)),t[3]||(t[3]=Object(o["createTextVNode"])()),r.isShowEmptyList?(Object(o["openBlock"])(),Object(o["createElementBlock"])("div",n,[Object(o["createVNode"])(h,{collection:i.collection,filter:i.filter,provider:i.gameProvider},null,8,["collection","filter","provider"])])):Object(o["createCommentVNode"])("",!0)],32))}var a=i("f3f3"),r=(i("caad"),i("d81d"),i("13d5"),i("f665"),i("7d54"),i("ab43"),i("9485"),i("a732"),i("ac1f"),i("2532"),i("5319"),i("5b81"),i("be92")),l=i("d373"),c=i("a137"),d=i("9d19"),m=i("83b5"),h=i("793d"),b=i("e613"),g=i("8f12"),u=i("bba4"),f=i.n(u),p=i("653a");const v={L:"l",M:"m"};var O={name:"games-list",components:{GamesFilter:Object(o["defineAsyncComponent"])(()=>Promise.all([i.e("preloadChunk-GroupFilters"),i.e("chunk-d97a5cc4"),i.e("preloadChunk-GamesFilter")]).then(i.bind(null,"e2e1"))),GamesListEmpty:Object(o["defineAsyncComponent"])(()=>i.e("preloadChunk-GamesListEmpty").then(i.bind(null,"8359"))),RecommendedGamesBanner:Object(o["defineAsyncComponent"])(()=>i.e("preloadChunk-RecommendedGamesBanner").then(i.bind(null,"3a7e"))),GamesCardsSlider:c["default"],Preloader:d["default"]},mixins:[m["a"],h["a"],b["a"]],props:{preloaderProps:{type:Object,default:()=>({})},collection:{type:String,default:""},filter:{type:String,default:""},gameProvider:{type:String,default:""},gamesSections:{type:Array,default:()=>[]},jackpotGames:{type:String,default:""},hasLoader:{type:Boolean,default:!1}},data(){return{renderedSections:{},listIsReady:!1}},computed:Object(a["a"])(Object(a["a"])(Object(a["a"])(Object(a["a"])(Object(a["a"])(Object(a["a"])({},Object(r["f"])(l["a"].breakpoints,["isMobileOrTablet"])),Object(r["f"])(l["a"].games,["isDataLoaded","isDataLoading"])),Object(r["f"])(l["a"].gamesCollections,["getCollectionsById"])),Object(r["f"])(l["a"].playerFavoriteGames,["playerFavoriteGamesArray"])),Object(r["f"])(l["a"].player,["getLanguageForUrl"])),{},{isShowLoader(){return!this.listIsReady&&this.hasLoader},isShowEmptyList(){const e=!this.filteredGamesSections.some(e=>{var t;return null===(t=e.collection_list)||void 0===t?void 0:t.length});return e&&!this.isGamesDataLoading},isGamesDataLoading(){return!this.isDataLoaded||this.isDataLoading},isJackpotGames(){return"active"===this.jackpotGames},filteredGamesSections(){if(!this.isLiveOrTablePage)return this.gamesSections.filter(e=>e.show);const e=g["rc"][this.collection]||[];return null===e||void 0===e?void 0:e.map(e=>{var t;let i,o;const n=Object(p["a"])(e.id);n.length?(i=n,o=e.id):(i=Object(p["a"])(e.code),o=e.code);const s=null===(t=i)||void 0===t?void 0:t.filter(e=>{var t,i;const o=null===(t=e.collections)||void 0===t?void 0:t.includes(this.collection),n=!this.gameProvider||e.provider===this.gameProvider,s=!this.isJackpotGames||(null===(i=e.collections)||void 0===i?void 0:i.includes(g["qc"].JACKPOT));return o&&n&&s}),r=this.createSectionUrl(o),l=r.sectionUrl,c=r.gtmCollectionName,d=Object(a["a"])(Object(a["a"])({},this.GTM_ELEMENTS[c][f()(o)]),{},{cardFilter:{jackpot_switch:this.isJackpotGames}});return this.gameProvider&&(d.cardFilter.provider=[this.gameProvider]),{name:`${this.collection}-${o}`,navigate_id:"section-"+o,filter:o,collection_list:s,title:e.title,row:1,cardSize:this.isMobileOrTablet?v.L:v.M,show:!0,sectionUrl:l,gtmElement:d}})},visibleSections(){return this.filteredGamesSections.filter(e=>this.renderedSections[e.name]&&((null===e||void 0===e?void 0:e.collection_list.length)||(null===e||void 0===e?void 0:e.isRecommendedGamesBannerVisible)))},totalItems(){const e=this.visibleSections.find(({filter:e})=>e===g["qc"].ALL);var t;return e?null===(t=e.collection_list)||void 0===t?void 0:t.length:this.visibleSections.reduce((e,{collection_list:t})=>(e+=null===t||void 0===t?void 0:t.length,e),0)}}),watch:{filteredGamesSections:{handler(){this.setRenderedSections()},immediate:!0},getCollectionsById(){this.setRenderedSections()},playerFavoriteGamesArray(){this.setRenderedSections()},visibleSections:{handler(e){e.length>0&&(this.listIsReady=!0)},immediate:!0}},methods:{setRenderedSections(){const e=Object.keys(this.renderedSections);this.filteredGamesSections.forEach(({collection_list:e,name:t,isRecommendedGamesBannerVisible:i})=>{const o=(null===e||void 0===e?void 0:e.length)||0;this.renderedSections[t]||!o&&!i||(this.renderedSections[t]=!this.renderedSections[t])});const t=e.filter(e=>!this.renderedSections[e]);t.forEach(e=>{setTimeout(()=>{this.renderedSections[e]=!0})})},onCategoryChanged(){this.$emit("on-category-changed")},createSectionUrl(e){let t="",i=g["zc"].LIVE;return this.isLivePage&&(t=`${this.getLanguageForUrl}${g["zb"].LIVE.MAIN}/${e.replaceAll("_","-")}`),this.isTablePage&&(i=g["zc"].TABLE,t=`${this.getLanguageForUrl}${g["zb"].TABLE.MAIN}/${e.replaceAll("_","-")}`),{sectionUrl:t,gtmCollectionName:i}},isShowLastCard(e){return e!==g["ad"].HOME_DAY_HOT_GAMES},getSectionCardSize(e){return e||v.L},getRtpOptions({rtp_mode:e,rtp_type:t}){return e?{mode:e,type:t}:void 0}}},S=(i("88ec"),i("6b0d")),j=i.n(S);const G=j()(O,[["render",s]]);t["default"]=G},f669:function(e,t,i){}}]); //# sourceMappingURL=preloadChunk-MainPage.5cbba560.js.map