'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("@gem-sdk/core"),d=require("../child/ProductGalleryGrid.js");exports.default=o=>{let{isEditMode:t}=r.useRenderMode(),{setting:i,styles:u,gallery:l,builderProps:n,noDataChildren:c,onHandleClickImage:s,children:a}=o,b={...i,...u,borderActive:{...i?.borderActive,border:"none"}};return l?.[0]?.id==="noImageError"&&t?e.jsx(e.Fragment,{children:c}):e.jsx(d.default,{productImages:l,enableHoverAction:!0,...b,builderPropUID:n?.uid,onHandleClick:(e,r)=>s(e||"",r),children:a})};
