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