import{getStyleBackgroundByDevice as t,getGradientBgrStyleByDevice as e,makeStyle as r,makeStyleResponsive as l}from"@gem-sdk/core";function filterTruthyStyles(t){return Object.fromEntries(Object.entries(t||{}).filter(([,t])=>!!t))}let getWrapperStyle=(r,l)=>{let i={...r,...t(l,{liquid:!0}),...e(l,{desktop:!0,tablet:!0,mobile:!0})};return filterTruthyStyles(i)},getContainStyle=t=>{let{horizontalSpacing:e,align:i,verticalAlign:n}=t||{},o={...r({cg:e}),...l("jc",i),...l("ai",n)};return filterTruthyStyles(o)};export{getContainStyle,getWrapperStyle};
