import{createStyle as e}from"@gem-sdk/system";import{getWrapContainerStyle as t,getFeatureImageStyle as l,getFeaturedImageOnlyOneImageStyle as r,getGalleryImageStyle as s,getFeaturedImageCarouselStyle as a,getFeatureImageCarouselItemStyle as g,getGalleryGridStyle as m,getGalleryGridItemStyle as o,getGalleryCarouselStyle as i,getGalleryCarouselItemStyle as n}from"../common/styles.js";let getProductImagesStyles=(d,p)=>{let y=e(t(d)),u=e(t(d,!0)),h=e(t(d,p?.gallery&&p?.gallery?.length<2)),b=e(l(d,{enableOrder:!0,enableDisplay:!0})),c=e(r({setting:d,options:{enableRadius:!0,enableHeight:!0}})),I=e(s(d,p?.featureImageHeight)),f=e(a(d)),x=e({...g(d)}),H=e({...g(d),width:"{{productImageWidth}}px"}),P=e(m(d)),S=e(o(d)),j=e(i(d)),k=e(n(d));return{wrapContainerStyle:y,wrapContainerStyleOnlyOneImage:u,wrapperFeaturedImageStyle:h,featureImageStyle:b,featureImageOnlyOneImageStyle:c,galleryImageStyle:I,featuredImageCarouselStyle:f,featureImageCarouselItemStyle:x,featureImageCarouselOnlyOneImageStyle:H,galleryGridStyles:P,galleryGridItemStyles:S,galleryCarouselStyle:j,galleryCarouselItemStyle:k}};export{getProductImagesStyles};
