1import{a as P,b as i,f as o,F as y,D as x,h as C,j as D,x as G,E as N,s as _,g as B,aj as V,ah as L,k as f,c as m,ae as M,l as $,J as E,z as v,q as j}from"./vendors-CPk3M6i0.js";import{S as F,n as I,ac as O,ad as b}from"./main-Dy_n8oYa.js";import{_ as q}from"./GameList.vue_vue_type_script_setup_true_lang-D3mmKSa8.js";import{t as z}from"./floating-ui-CBJR7zbo.js";import"./sentry-BxIe8E8H.js";import"./zod-mSUfeT8K.js";import"./vue-recaptcha-Cr4SASIG.js";import"./vue3-touch-events-BftI5NW8.js";import"./body-scroll-lock-upgrade-CmWMI3F6.js";import"./livechat-VtgPE7xX.js";import"./firebase-B2llcgY_.js";import"./vee-validate-CsULLl_x.js";/* empty css *//* empty css *//* empty css */import"./overlayscrollbars-B8xQBPdb.js";import"./GameItems-BS7Kz8E-.js";const A={class:"bread-crumbs"},J={key:1,class:"bread-crumbs__item-link active"},R={key:2,class:"bread-crumbs__item-link-separator"},T=P({__name:"Breadcrumbs",props:{config:{}},setup(S){return(s,l)=>(o(),i("div",A,[(o(!0),i(y,null,x(s.config,(e,n)=>(o(),i("div",{key:n,class:"bread-crumbs__item"},[e.to?(o(),C(B(z),{key:0,to:e.to,class:"bread-crumbs__item-link"},{default:G(()=>[N(_(e.title),1)]),_:2},1032,["to"])):(o(),i("span",J,_(e.title),1)),s.config&&n!==s.config.length-1?(o(),i("span",R,"/")):D("",!0)]))),128))]))}}),U={class:"static-games relative w-full max-w-layout transition-[max-width] duration-300"},ut=P({__name:"StaticPageGames",setup(S){const s=F(),{parseContent:l}=I(),e=V(),n=L(),g=O(),c=f(!1),u=f([]);async function d(){var a;const t=(a=e==null?void 0:e.meta)==null?void 0:a.slug;t&&(await s.loadPageGamesInitData(t),await g.loadCurrentStaticPage({slug:t,url:e.path}),u.value=s.getPageGamesSlugData(t).items)}const r=m(()=>g.currentStaticPage),p=m(()=>{var t,a;return((a=(t=r.value)==null?void 0:t.localisation)==null?void 0:a.variables)||{}});function h(){var t,a;return[{title:l(((t=r.value)==null?void 0:t.title)??"",p.value),to:{path:`/${((a=r.value)==null?void 0:a.slug)??""}`}},{title:n.t("COMMON.GAMES")}]}const w=m(()=>{var t;return l(((t=r.value)==null?void 0:t.game_list_title)??"",p.value)});M(async()=>{await d(),c.value=!0}),$(async()=>{c.value||(await d(),c.value=!0),b.addListener(await k)}),E(()=>{b.removeListener()});async function k(){var a;const t=(a=e==null?void 0:e.meta)==null?void 0:a.slug;await s.loadPageGamesNextPage(t),u.value=s.getPageGamesSlugData(t).items}return(t,a)=>(o(),i("div",U,[v(T,{config:h(),class:"static-games__crumbs w-full hidden md:flex"},null,8,["config"]),v(q,{class:"m-auto auto-cols-fr md:max-w-layout md:grid-cols-8 lg:grid-cols-12","game-list":u.value,title:w.value},null,8,["game-list","title"]),a[0]||(a[0]=j("div",{id:"pagination-end"},null,-1))]))}});export{ut as default}; 2//# sourceMappingURL=StaticPageGames-HdUdl7Eq.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.