import{getFlexGrowClassByShapeGlobalSize as e,handleConvertClassColor as a}from"@gem-sdk/core";let getContainerClasses=(a,g,s)=>{let l=e(s);return{"gp-group/image gp-relative":!0,[`force-publish-${new Date().getTime()}`]:!0,...l,...a&&{[a]:!0},...g&&{[g]:!0}}},getWrapperClasses=()=>({"gp-h-full gp-w-full gp-flex pointer-events-auto":!0}),getImageClasses=(e,g)=>{let s=a(g?.borderImg);return{...e&&{[e]:!0},...s&&{[s]:!0},"gp-inline-block gp-w-full gp-max-w-full":!0}},getNextImageClasses=({className:e,hasLazyLoad:a,isOptimizePlan:g=!1})=>({...e&&{[e]:!0},gp_lazyload:a,gp_force_load:g}),getAdaptiveImageClasses=({className:e,hasLazyLoad:a=!1,hasForceLoad:g=!1})=>({...e&&{[e]:!0},gp_lazyload:a,gp_force_load:g});export{getAdaptiveImageClasses,getContainerClasses,getImageClasses,getNextImageClasses,getWrapperClasses};
