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