"use strict";var e=require("@gem-sdk/core"),t=require("../../helpers.js"),o=require("../settings/configs/translate.js");const i=e=>(["--mb","--mb-mobile","--mb-tablet"].forEach(t=>{delete e?.[t]}),e||{});exports.getContainerStyles=({style:s,styles:a,extraData:r,uid:l,type:n="React",pageContext:d})=>{let{align:g,background:c,globalSize:p}=a||{},m=e.makeGlobalSize(p||{desktop:{width:"100%"}}),S="Liquid"===n?t.getBackgroundTranslated({background:c,uid:l,enableTranslate:!!o.IconList?.background?.id,pageContext:d??{},isTranslateVideo:!1}):c,u={...s,...r?.advancedClasses,...m.width,...e.makeStyleResponsive("ta",g),...e.getStyleBackgroundByDevice(S,{liquid:r?.isLiquid}),...e.getGradientBgrStyleByDevice(S)};return r?.isLiquid?u:i(u)},exports.getItemStyles=t=>{let o=e.makeGlobalSize(t?.itemPadding);return{...o.padding,...e.getResponsiveStyleShadowWithoutState(t?.itemBoxShadow,"box-shadow",t?.itemBoxShadow),...e.composeRadiusResponsive(t?.itemRounded),...e.composeBorderResponsive(t?.itemBorder),...e.getGlobalColorResponsiveStyle("bgc",t?.itemBackgroundColor),...e.getGlobalColorResponsiveStyle("bgi",t?.itemBackgroundColor),...e.makeStyleResponsive("cg",t?.horizontalSpacing)}},exports.getUlStyles=t=>({...e.makeStyleResponsive("gg",t?.verticalSpacing)}),exports.getWrapperStyles=t=>{let{alignWrapper:o}=t||{};return{...e.makeStyleResponsive("jc",o)}};
