1import{d as k,B as h,c as l,o as t,k as d,a,j as u,u as y,A as I,X as p,D as x,t as o,i as g,w as s,y as i}from"./w7OlQP-1.js";import{_ as v}from"./D8wZDWdq.js";import{_ as C}from"./DlAUqK2U.js";import"./DzsGp8l1.js";const w={class:"my-card group aspect-h-7 aspect-w-10 block w-full overflow-hidden rounded-lg"},S={class:"fixed-full hidden md:block"},B={key:1,class:"relative inline-flex rounded-md px-3 py-1 mx-2.5 text-md font-medium text-white ring-1 ring-inset ring-blue-light/10"},N={key:0,class:"hidden md:flex bsolute bottom-0 left-0 h-8 game-label font-bold text-sm items-center text-center text-white bg-black"},$={class:"animate-wiggle relative flex-auto"},D={class:"absolute bottom-0 left-0 h-5 game-title text-center cursor-pointer z-10 font-bold text-sm text-white bg-gradient-to-t from-gray-dark to-transparent bg-opacity-40"},_={class:"flex flex-col items-center gap-2 justify-center"},K=k({__name:"DesktopItem",props:{gameItem:{},replace:{type:Boolean}},setup(e){const{setImageSource:f}=I();h();function c(){}return(m,r)=>{const b=p,n=v;return t(),l("div",w,[d(b,{src:y(f)(e.gameItem),alt:"",class:"pointer-events-none object-cover transition ease-in-out delay-150 group-hover:scale-110 duration-300"},null,8,["src"]),a("div",S,[e.gameItem.StickerTitle?(t(),l("span",{key:0,class:"stikerTitle",style:x([[e.gameItem.StickerColor?`background-color:${e.gameItem.StickerColor}`:""],[e.gameItem.StickerBorderColor?`border-color:${e.gameItem.StickerBorderColor}`:""]])},o(e.gameItem.StickerTitle),5)):(t(),l("span",B))]),r[0]||(r[0]=a("div",{class:"blurG group-hover:block hidden h-full w-full"},null,-1)),e.gameItem.Label?(t(),l("div",N,[a("span",$,o(e.gameItem.Label),1)])):u("",!0),a("div",D,[(t(),g(n,{replace:e.replace,to:{path:"/games/".concat(e.gameItem.Key??"")},key:e.gameItem.Key,"data-testId":"game-btn",onClick:c},{default:s(()=>[i(o(e.gameItem.Name),1)]),_:1},8,["replace","to"]))]),a("div",_,[d(n,{replace:e.replace,to:{path:"/games/".concat(e.gameItem.Key??""),query:{action:"play"}},"data-testId":"play-btn",onClick:c,class:"hidden md:block button btn1"},{default:s(()=>[i(o(m.$t("play").toUpperCase()),1)]),_:1},8,["replace","to"]),e.gameItem.InitDemoUrl?(t(),g(n,{key:0,replace:e.replace,to:{path:"/games/".concat(e.gameItem.Key??""),query:{action:"playDemo"}},"data-testId":"practice-btn",onClick:c,class:"hidden md:block button btn2"},{default:s(()=>[i(o(m.$t("practice").toUpperCase()),1)]),_:1},8,["replace","to"])):u("",!0)])])}}}),j=C(K,[["__scopeId","data-v-c4a2ed56"]]);export{j as default};
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.