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