1import{j as t}from"./jsx-runtime-kF-aRxYe.js";import{s as v,t as g,f as p}from"./funnel-Borfob3-.js";const x="_item_194xv_1",d="_image_194xv_16",_="_formats_194xv_51",f="_svg_194xv_66",j="_items_194xv_72",a={item:x,image:d,formats:_,svg:f,items:j},h=c=>{const{link:r,src:l,title:o,formats:m,attribution:n}=c,e=()=>{var i;if(!n)return;const s=(i=r.split("/").pop())==null?void 0:i.split("?")[0];s&&(v(s,n),g(p.collectionAssetClick,{...n,imageSlug:s}))};return t.jsxs("a",{href:r,className:a.item,onClick:e,children:[t.jsxs("div",{className:a.image,children:[t.jsx("img",{alt:o,src:l,decoding:"async",loading:"lazy"}),t.jsx("div",{className:a.formats,children:m.sort().map((s,i)=>t.jsx("span",{className:a[s],title:s==="svg"?"Available in SVG (Vector) format":`Available in ${s.toUpperCase()} format`,children:s},i))})]}),t.jsx("p",{children:o})]})},k=({images:c,url:r,collectionTag:l,pageNumber:o,positionOffset:m=0})=>{const n=r||"/image/$slug";return t.jsx("div",{className:a.items,children:c.map((e,s)=>{const i=l?{collectionTag:l,pageNumber:o||1,resultPosition:m+s+1}:void 0,u=n.replace("$slug",e.slug);return t.jsx(h,{link:u,src:e.src,title:e.title,formats:[...e.formats],attribution:i},e.slug)})})};export{k as I};
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.