"use strict";var core=require("@gem-sdk/core");const getClassContainerBanner=({builderProps:e,setting:s,advanced:r})=>{let{contentPosition:o}=s??{};return composeClasses(core.cls(e?.uid,r?.cssClass,"gp-group/hero gp-flex gp-flex-col gp-relative gp-overflow-hidden gp-transition-colors gp-duration-200 gp-ease-in-out",{"gp-justify-center":"center"===o,"gp-justify-start":"top"===o,"gp-justify-end":"bottom"===o}))},getClassContainerBackgoundImage=({setting:e})=>{let{hoverEffect:s}=e??{};return composeClasses(core.cls("gp-absolute gp-inset-0 gp-transition-transform ",{"gp-duration-[var(--duration)] group-hover/hero:gp-scale-[var(--scale)]":"zoom"===s}))},getClassOverlayBanner=({setting:e})=>{let{overlayColor:s}=e??{};return composeClasses(core.cls("gp-absolute gp-inset-0 gp-transition-all gp-duration-300 group-hover/hero:gp-bg-[color:var(--hvr-bgc,_var(--bgc))] group-hover/hero:gp-opacity-[var(--hvr-op,_var(--op))]",core.getGlobalColorStateClass("bg",s)))},getClassLinkBanner=()=>composeClasses("gp-absolute gp-inset-0 gp-z-1"),composeClasses=e=>e.trim().split(/\s+/).reduce((e,s)=>(e[s]=!0,e),{});exports.getClassContainerBackgoundImage=getClassContainerBackgoundImage,exports.getClassContainerBanner=getClassContainerBanner,exports.getClassLinkBanner=getClassLinkBanner,exports.getClassOverlayBanner=getClassOverlayBanner;
