'use client';
"use strict";var e=require("react/jsx-runtime"),r=require("@gem-sdk/core"),s=require("@gem-sdk/system"),t=require("../../../image/components/Image.js"),a=require("../../common/classes.js");exports.ItemGridPostPurchase=o=>{let{image:c,border:i,aspectRatio:u,objectFit:d}=o,l=r.useFeaturedImageGlobal(),m=r.useProductStore(e=>e.setProductFeaturedImage),n={src:c.src,alt:""},g=s.createClass(a.getItemCarouselPostPurchaseClass({border:c?.id===l?.id&&"none"!==i}));return e.jsx("div",{"aria-hidden":"true",className:g,onClick:()=>m(c),children:e.jsx(t.default,{setting:{srcSet:{desktop:n,mobile:n,tablet:n}},styles:{aspectRatio:u,objectFit:d,enableBorder:"none"}},c?.src)})};
