'use client';
import{jsxs as e,jsx as r}from"react/jsx-runtime";import t from"./AdaptiveImage.js";import{makeResponsiveSetting as o}from"../common/helpers.js";import{createStyle as s,createClass as m}from"@gem-sdk/system";import{getFigureClass as a,getAdaptiveClass as i,getImageClass as l}from"../common/classes.js";import{getFigureStyle as c,getImageStyle as p}from"../common/styles.js";let PostPurchaseImage=({styles:n,setting:d,builderAttrs:f,style:u,children:y,onClick:j})=>{let g=s(c(n)),h=m(a()),P=m(i()),b=s(p(n,u)),I=m(l());return e("div",{...f,onClick:j,role:"presentation",className:I,style:b,children:[r("figure",{className:h,style:g,children:r(t,{srcSet:d?.srcSet,className:P,alt:d?.alt,aspectRatio:o(n?.aspectRatio),layout:o(n?.objectFit),priority:d?.priority,enableBorder:n?.enableBorder})}),y]})};export{PostPurchaseImage as default};
