import{createClass as e}from"@gem-sdk/system";let g=g=>{let{setting:t,className:i,builderProps:s,advanced:p,styles:r}=g,d=e({...i&&{[i]:!0},...p?.cssClass&&{[p.cssClass]:!0},"!gp-m-auto gp-grid gp-w-full":!0,"gp-grid-flow-row":t?.sameHeight}),l=e({"gp-relative gp-flex":!0,[`${s?.builderData?.uid}`]:!0}),a=e({"gp-contents":t?.sameHeight&&r?.layout==="grid"}),o=e({"gp-justify-center":!0,"gp-overflow-hidden":!t?.sameHeight}),m=e({"gp-contents [&>*>div]:gp-contents [&>*>div>div[gp-el-wrapper]]:gp-h-fit [&>*]:gp-grid-rows-[subgrid] [&>*]:gp-gap-y-0":t?.sameHeight&&r?.layout==="grid",[`gp-child-item-${s?.uid}`]:!0});return{gridLayoutClass:d,productItemClass:m,carouselClass:o,productListWrapClass:l,gpProductClass:a}};export{g as getClass};
