import{makeStyleResponsive as e,getStyleBackgroundByDevice as t}from"@gem-sdk/core";import{getBackgroundTranslated as r}from"../../helpers.js";import{CSSCode as i}from"../settings/configs/translate.js";let getCodeStyle=({setting:o,style:a,isLiquid:l,uid:s,pageContext:n,type:d="React"})=>{let{background:g}=o??{},m="Liquid"===d?r({background:g,uid:s,enableTranslate:!!i?.background?.id,pageContext:n,isTranslateVideo:!1}):g;return{...a,...e("ta",o?.align),...t(m||g,{liquid:l})}};export{getCodeStyle};
