1import{H,I as L,A as M}from"./DJq7rukS.js";import{v as j,c as J,w as K}from"./MfzheibQ.js";import{c as Q,a as U}from"./DkeRC0Ow.js";import{_ as W}from"./DB9TeH9R.js";import{_ as X}from"./Dh6xf6sJ.js";import{a as Y}from"./DeDgIEHj.js";import{d as Z,g as ee,q as w,v as te,y as ae,z as oe,l as ne,aa as b,c as _,o,a as r,b as v,e as h,a5 as C,a6 as S,m as i,w as q,h as se,F as I,B as A,E as re,G as ce,ab as le,A as ue}from"./DjT57jGX.js";import"./C1edu0OX.js";try{let t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="490b2214-f48b-49aa-9678-00717a8b3cd4",t._sentryDebugIdIdentifier="sentry-dbid-490b2214-f48b-49aa-9678-00717a8b3cd4")}catch{}const ie={class:"mt-[8vw] md:mt-[4vw] grid md:grid-cols-3 md:gap-y-[4vw] gap-y-[10vw] md:gap-x-[2vw]"},me={key:0,class:"flex"},B=6,de=6,he=Z({__name:"games",props:{content:{}},async setup(t){let n,$;const{$event:D}=ee(),c=w(B),a=te(),N=le(),p=w(a.query.character?a.query.character:"all"),y=w(a.query.category?a.query.category:"all"),{data:m}=([n,$]=ae(()=>oe("games",()=>ue("games").where({id:{$ne:"fbc4e9e6-46e0-41bb-afd3-d4bfb4e68584"}}).sort({order:1,$numeric:1}).find())),n=await n,$(),n),V=[{value:"all",label:"All Games"},...t.content.filter.gameCategories],k=ne(()=>{if(m&&m.value&&m.value.length>0){let e=m.value;const d=p.value;if(d&&d!=="all"){const s=t.content.order[d];e=e.filter(u=>s.includes(u.id)),e.sort((u,g)=>s.indexOf(u.id)-s.indexOf(g.id))}const l=y.value;return l&&l!=="all"&&(e=e.filter(s=>s.categories.includes(l))),e}return[]});b(()=>a.query.character,e=>{p.value=e||"all",N.push({query:{...a.query,category:void 0}})}),b(()=>a.query.category,e=>{y.value=e||"all"}),b([()=>a.query.category,()=>a.query.character],()=>{c.value=B});function F(){D("show-more",{props:{title:"games"}}),c.value=c.value+de}return(e,d)=>{const l=H,s=K,u=Q,g=W,G=X,P=L,T=j,E=M,O=J,R=U,x=Y;return o(),_("div",null,[r(l,C(S(e.content.hero)),null,16),e.content.feature.videoPlaylistId?(o(),v(s,C(i({key:0},e.content.feature)),null,16)):h("",!0),r(u,C(S(e.content.new)),null,16),r(g),r(T,{title:e.content.filter.title,"selected-character-value":p.value,categories:V,"selected-category-value":y.value},{default:q(()=>[se("div",ie,[(o(!0),_(I,null,A(k.value.slice(0,c.value),f=>(o(),v(G,i({key:f.id,ref_for:!0},f),null,16))),128))]),k.value.length>c.value?(o(),_("div",me,[r(P,{"background-color":"white",color:"indigo",class:"mx-auto mt-[12vw] md:mt-[4vw] self-start",icon:"ArrowDown",onClick:F},{default:q(()=>[re(ce(e.content.filter.cta),1)]),_:1})])):h("",!0)]),_:1},8,["title","selected-character-value","selected-category-value"]),r(O,{class:"mb-[16vw] md:mb-[5vw] space-y-[8vw] md:space-y-[5vw] mt-[16vw] md:mt-[10vw]"},{default:q(()=>[(o(!0),_(I,null,A(e.content.bigCards,(f,z)=>(o(),v(E,i({key:z,ref_for:!0},f),null,16))),128))]),_:1}),r(R,i({class:"mb-[20vw] md:mb-[10vw] bg-white"},e.content.promo),null,16),e.content.faq?(o(),v(x,i({key:1},e.content.faq,{class:"mb-[20vw] md:mb-[10vw]"}),null,16)):h("",!0)])}}});export{he as default}; 2
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.