import{Q as p}from"./inertia-11bf9011.js";import{b as c,q as u,u as m,v as o,$ as i}from"./vue-0d7ee8e8.js";const _="/build/assets/Crossword Puzzle-72ca8274.svg",x="/build/assets/Kreuzworträtsel-da8306f3.svg",f={class:"border-[1px] border-black p-2 flex items-center justify-between gap-[4px] max-[500px]:flex-col"},h={class:"flex flex-col gap-[5px] grow-0 max-[500px]:order-2 max-[500px]:text-center max-[500px]:items-center"},v=["innerHTML"],w=["innerHTML"],g=["href","innerHTML"],b={class:"max-w-[230px] h-full w-full shrink-0"},L=["src"],k={__name:"GameCard",setup(H){const r=p(),t=c(()=>{var e,s;return(s=(e=r.props)==null?void 0:e.layoutData)==null?void 0:s.crosswordGameCard}),d=c(()=>{var e,s;return(s=(e=r.props)==null?void 0:e.layoutData)==null?void 0:s.locale});return(e,s)=>{var a,l,n;return u(),m("div",f,[o("div",h,[o("h5",{innerHTML:(a=t.value)==null?void 0:a.title,class:"font-bold"},null,8,v),o("p",{innerHTML:(l=t.value)==null?void 0:l.description},null,8,w),o("a",{href:e.route("crosswords.game"),innerHTML:(n=t.value)==null?void 0:n.crosswordGameLink,class:"mt-[5px] button w-fit hover:!text-white hover:!no-underline"},null,8,g)]),o("div",b,[o("img",{class:"object-cover w-full h-full",src:d.value==="de"?i(x):i(_),alt:"crossword game"},null,8,L)])])}}};export{k as _};