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