"use strict";var e=require("@gem-sdk/core");exports.getAlignStyle=e=>({"--o":e?.layoutType==="left"?"1":"0","--jc":e?.align==="left"?"flex-start":e?.align==="right"?"flex-end":"center"}),exports.getContainerStyles=({style:e,hasDiscount:t})=>({...e,opacity:t?1:.2}),exports.getFeatureImageStyle=t=>({...e.makeStyleResponsive("w",t?.ftWidth)}),exports.getImageGridStyle=(t,a)=>({...a,...e.makeStyle({gg:t?.gap}),...e.makeStyle({gtc:`repeat(${t?.itemSlide}, 1fr)`})}),exports.getImageListStyle=e=>({flexDirection:e?.vertical?"column":"row",gap:parseInt(e?.gap)}),exports.getProductImageLayoutStyle=(t,a)=>({...a,...e.makeStyle({gg:t?.gap})});
