import{composeClasses as e,DEVICES as r}from"@gem-sdk/core";let getProductOfferContainerClasses=r=>({...e(r),...e("gp-flex gp-w-auto")}),getProductOfferWrapperClasses=()=>e("gp-grid gp-grid-cols-2"),getProductOfferItemClasses=(t,s,o)=>{let{productOfferLayout:f}=s??{},l="";return r.forEach(e=>{let r="desktop"===e?"":`${e}:`;if("mobile"===e){l+=" mobile:gp-col-span-2";return}(f?.[e]==="1col"&&t%3==0||1>=(o||0))&&(l+=` ${r}gp-col-span-2`)}),e(l)};export{getProductOfferContainerClasses,getProductOfferItemClasses,getProductOfferWrapperClasses};
