1import{c as e}from"./useStore-BRGPYjhR.js";var t=e(),n=`[data-game-card-preview-video]`;function r(e){return e.querySelector(n)}function i(e){r(e.currentTarget)?.play().catch(()=>{})}function a(e){let t=r(e.currentTarget);t&&(t.pause(),t.currentTime=0)}var o={onBlur:a,onFocus:i,onMouseEnter:i,onMouseLeave:a};function s({className:e=``,src:n}){return n?.trim()?(0,t.jsx)(`video`,{className:`absolute inset-0 h-full w-full object-cover opacity-0 transition-opacity duration-200 group-hover:opacity-100 ${e}`,"data-game-card-preview-video":!0,loop:!0,muted:!0,playsInline:!0,preload:`none`,src:n}):null}export{o as n,s as t};
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.