"use strict";var e=require("@gem-sdk/system"),t=require("@gem-sdk/core");exports.getStyles=(s,i)=>{let{styles:o,justifyContent:r,order:l,layout:n,parentTag:a,children:p}=s,m=t.getResponsiveValue(n,"display"),y={},d=["IconListItem","ThirdPartySlot"];for(let e of t.DEVICES)y[e]="fit"===t.getResponsiveValueByScreen(m,e)||n&&t.isColumnDirectionExist(n,e)||d.includes(a||"")?"none":o?.display?.[e];let k=e.createStyle({...t.makeStyleResponsive("cg",o?.gap),...t.makeStyleResponsive("rg",o?.gap),...t.makeStyleResponsive("ai",o?.alignItem),...t.makeStyleResponsive("jc",r??o?.justifyContent),...t.makeStyleResponsive("o",(()=>{let e=Object.fromEntries(Object.entries(o?.order??{}).map(([e,t])=>[e,String(t)])),t=l??e;return i?{desktop:t?.desktop,tablet:t?.desktop,mobile:t?.desktop}:t})()),...t.makeStyleResponsive("d",p?o?.display:y)});return{colStyle:k}};
