"use strict";var e=require("@gem-sdk/core"),t=require("../../helpers.js"),r=require("../settings/configs/translate.js");exports.getCodeStyle=({setting:a,style:i,isLiquid:s,uid:l,pageContext:n,type:d="React"})=>{let{background:g}=a??{},o="Liquid"===d?t.getBackgroundTranslated({background:g,uid:l,enableTranslate:!!r.CSSCode?.background?.id,pageContext:n,isTranslateVideo:!1})??g:g,u={...e.getStyleBackgroundByDevice(o,{liquid:s}),...e.getGradientBgrStyleByDevice(o,{desktop:!0,tablet:!0,mobile:!0})};return{...i,...e.makeStyleResponsive("ta",a?.align),...u}};
