1import{a as y,ad as A,c as C,h as p,f as n,D as M,x as O,B as r,g as a,ag as N,k as $,l as x,ae as B,b as H,q as W,j as c}from"./vendors-D6_U1cxw.js";import{x as z,w as F,h as U,r as V}from"./sentry-DGt8RGIC.js";import{_ as Y}from"./GamesListToolbar.vue_vue_type_script_setup_true_lang-BX--xjwZ.js";import{Y as j,S as q,bX as X,bW as J,a7 as K,l as _,t as S,a6 as Q}from"./main-Vts_Ar5q.js";import{T as Z,_ as aa,C as ea}from"./index-oXqV3Hig.js";import{i as sa,a as ta,b as oa,c as ra,P as la}from"./[email protected]";import{_ as ia}from"./PromotionItemCarousel.vue_vue_type_script_setup_true_lang-jsWpE2VG.js";import{_ as na,C as ma}from"./index-DIR4-BIB.js";import{_ as pa}from"./StaticContent.vue_vue_type_script_setup_true_lang-BxI68OSH.js";import{R as ua}from"./ReadMoreBlock-J7r8eF90.js";import{u as ca,i as ga,a as da}from"./topLeaderHelper-DPAlOLXH.js";import{u as fa}from"./casino-BacvtpZf.js";import{s as _a,R as ha}from"./Reels-Drw9f7m3.js";import{u as Ta,_ as Sa}from"./usePromoAreaBannerIsActive-jveYdZ7t.js";import"./floating-ui-CZqmgN8J.js";import"./body-scroll-lock-upgrade-CmWMI3F6.js";import"./overlayscrollbars-Cua63DhK.js";import"./zod-mSUfeT8K.js";/* empty css */import"./useGameSearch-D9CJOTKY.js";import"./searchCategories-CnReohGJ.js";import"./vue-recaptcha-DyvulmQb.js";import"./vue3-touch-events-BftI5NW8.js";import"./livechat-BavU3_q5.js";import"./firebase-K-rWttj5.js";import"./vee-validate-BoCWXGUL.js";/* empty css *//* empty css *//* empty css */import"./Table.vue_vue_type_style_index_0_lang-DfFRLhYh.js";import"./index.vue_vue_type_style_index_0_lang-BLhNf2O2.js";import"./index-DGWFrQqE.js";import"./StaticContentView.vue_vue_type_script_setup_true_lang-BzJjewsz.js";import"./parseSegments-ByK-PLri.js";import"./observeContentChanged-B-da6vRh.js";import"./mainPageStore-BQbAC0fu.js";import"./topLeaders-DC2PtLfu.js";import"./index-Dt7SpowH.js";const Ca="top",h=y({__name:"GameRowWithReels",props:{params:{},isLazyImage:{type:Boolean}},setup(R){const d=R,s=z(),{isMockerMode:l}=A(F()),E=C(()=>{const T=(d.params.slug||"").includes(Ca);return!l.value&&T&&_a(s.userGeo)});return(u,T)=>(n(),p(a(j),{params:u.params,"is-lazy-image":u.isLazyImage},M({_:2},[E.value?{name:"leading-slot",fn:O(()=>[r(a(ha))]),key:"0"}:void 0]),1032,["params","is-lazy-image"]))}}),Ea={class:"casino-page flex flex-col gap-6 lg:gap-8","data-test":"casino-page"},Pa={class:"order-last w-full col-span-full grid grid-cols-1 gap-6 m-auto auto-cols-auto max-w-layout md:grid-cols-8 lg:grid-cols-12 lg:gap-8"},g="top",i=5,ie=y({__name:"CasinoPage",setup(R){const d=N(),s=fa(),l=q(),E=U(),{isSeoBot:u}=A(V()),{topLeadersNow:T}=ca(),{getCategoryRouter:L}=X(),{getOriginalSlug:I}=J(),k=K.CASINO,{bannerArea:P}=Ta(),w=$(!1),f=C(()=>{const{sortedCategories:t}=s;if(t.length>=i){if(t.find(o=>o.slug.includes(g)))return t.slice(0,i).map(o=>({games:l.getSlugData(o.slug).items,title:o.name,path:L(o),slug:o.slug}));let e=i;const m=[];return _().topCategoriesFallback&&(m.push({games:l.getSlugData(g).items,title:d.t("TOP_CATEGORY_TITLE.TOP"),path:{name:S.casinoCategory,params:{slug:I(g)}},slug:g}),e=i-1),m.concat(t.slice(0,e).map(o=>({games:l.getSlugData(o.slug).items,title:o.name,path:L(o),slug:o.slug})))}return Array.from({length:i}).map(()=>({games:Q(),title:" ",path:"/"}))}),D=C(()=>{var t,e;return[{id:"1",dataTest:"table-leaders-now",title:"HOME_PAGE.TOP_LEADERS_TITLE_NOW",data:T.value,image:da,imageRetina:ga},{id:"2",dataTest:"table-leaders-today",title:"HOME_PAGE.TOP_LEADERS_TITLE_DAY",data:((t=s.topLeaders)==null?void 0:t.day)||[],image:ta,imageRetina:sa},{id:"3",dataTest:"table-leaders-month",title:"HOME_PAGE.TOP_LEADERS_TITLE_MONTH",data:((e=s.topLeaders)==null?void 0:e.month)||[],image:ra,imageRetina:oa}]}),b=C(()=>_().configShowTopLeaders&&!u.value);x(async()=>{w.value||(await v(),w.value=!0)}),B(async()=>{await v(),w.value=!0});async function v(){await s.initData();const t=[];if(s.sortedCategories.find(e=>
1e.slug.includes(g)))s.sortedCategories.slice(0,i).forEach(e=>{t.push(l.loadInitData(e.slug))});else{let e=i;_().topCategoriesFallback&&(t.push(l.loadInitData(g)),e=i-1),s.sortedCategories.slice(0,e).forEach(m=>{t.push(l.loadInitData(m.slug))})}await Promise.all(t)}return(t,e)=>{var m,o;return n(),H("div",Ea,[W("div",Pa,[a(E).isLogged?c("",!0):(n(),p(ua,{key:0,class:"w-full col-span-full md:col-span-8 md:col-start-1 lg:col-span-8 lg:col-start-3"},{default:O(()=>[r(pa,{"route-name":a(k),"set-seo-meta":"",gap:"gap-2 lg:gap-4","content-class":"grid"},null,8,["route-name"])]),_:1})),a(_)().enableInstallPWA?(n(),p(aa,{key:1,class:"col-span-full md:col-span-8 md:col-start-1 lg:col-span-8 lg:col-start-3"})):c("",!0)]),r(a(Y),{class:"col-span-full",categories:a(s).sortedCategories,producers:a(s).sortedProviders},null,8,["categories","producers"]),r(a(na),{class:"w-full col-span-full"}),r(h,{params:f.value[0],"is-lazy-image":!1},null,8,["params"]),a(P).casinoPage.show?(n(),p(a(Sa),{key:0,"data-test":(m=a(P).casinoPage)==null?void 0:m.dataTest,"description-text":(o=a(P).casinoPage)==null?void 0:o.descriptionText,class:"w-full col-span-full"},null,8,["data-test","description-text"])):c("",!0),r(la,{producers:a(s).sortedProviders,path:{name:a(S).casinoProviders},class:"w-full col-span-full"},null,8,["producers","path"]),r(h,{params:f.value[1]},null,8,["params"]),a(u)?c("",!0):(n(),p(a(ia),{key:1,class:"w-full col-span-full",title:a(d).t("PROMO_LIST.HEAD"),promotions:a(s).promoItems,path:{name:a(S).promotionsCasinoCurrent}},null,8,["title","promotions","path"])),a(_)().configShowCrypto?(n(),p(ea,{key:2})):c("",!0),r(h,{"data-test":"hot-slots",params:f.value[2]},null,8,["params"]),r(ma,{categories:a(s).sortedThemes,title:a(d).t("THEMES_TITLE.CASINO"),path:{name:a(S).casinoThemes},class:"w-full col-span-full",onAboutLink:e[0]||(e[0]=G=>t.$router.push({path:G}))},null,8,["categories","title","path"]),r(h,{params:f.value[3]},null,8,["params"]),r(h,{params:f.value[4]},null,8,["params"]),b.value?(n(),p(Z,{key:3,tables:D.value},null,8,["tables"])):c("",!0)])}}});export{ie as default}; 2//# sourceMappingURL=CasinoPage-2vHWIOFX.js.map
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.