"use strict";var e=require("@gem-sdk/core"),t=require("../../common/helper.js");exports.getContainerStyles=({style:t})=>{if(!t)return{};let r=JSON.parse(JSON.stringify(t));return e.filterTruthyStyles(r)},exports.getTextStyles=({textAlign:r,typo:o})=>{let i={"word-break":"break-word",...e.makeStyle({ta:r})};if(!o)return e.filterTruthyStyles(i);let s={"text-transform":o.textTransform,color:t.makeTextColor(o.textColor,o.fontWeight),"font-weight":t.makeFontWeight(o.fontWeight),"font-size":t.makeFontSize(o.fontSize)};return e.filterTruthyStyles({...i,...s})},exports.getWrapperStyles=({styles:t})=>e.filterTruthyStyles(e.makeStyleResponsive("w",t?.width));
