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