1import{r as e,j as t}from"./index-CXTn97Cm.js";function x({src:n,alt:s,delayMs:r=0,from:i="left",className:d=""}){const[c,o]=e.useState(!1),[u,l]=e.useState(!1);e.useEffect(()=>{if(typeof window>"u")return;const a=window.matchMedia("(prefers-reduced-motion: reduce)");if(l(a.matches),a.matches){o(!0);return}const m=window.setTimeout(()=>o(!0),r);return()=>window.clearTimeout(m)},[r]);const f=i==="left"?"-translate-x-[140%]":"translate-x-[140%]";return t.jsx("div",{className:`transition-all duration-700 ease-out will-change-transform ${c||u?"translate-x-0 opacity-100":`${f} opacity-0`} ${d}`,children:t.jsx("div",{className:"rounded-2xl border border-border bg-white p-3 shadow-md",children:t.jsx("img",{src:n,alt:s,loading:"lazy",className:"h-auto w-full object-contain"})})})}export{x as C};
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.