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