import{j as e}from"./client-By3tlFYA.js";import{r as o}from"./index-TEHZzOO_.js";import{c}from"./index-DkCxcZFY.js";import{bx as d}from"./useSelectableClick-DfiwdSfn.js";const j=({src:r,srcSet:t,blurhash:s,className:m})=>{const[i,a]=o.useState(!1),l=o.useCallback(()=>{a(!0)},[a]);return e.jsxs("div",{className:c("image",{loaded:i},m),role:"presentation",children:[s&&e.jsx(d,{hash:s,className:"image__preview"}),e.jsx("img",{src:r,srcSet:t,alt:"",onLoad:l})]})};export{j as S};
//# sourceMappingURL=server_hero_image-BG_GJz0e.js.map
