import{d as u,H as i,h as l,r as d,u as f,o as m,c as p,z as P,aD as $,e as o}from"./index-207e8178.js";const B=35.5,_=40,s=50,a=180,c=90,D=100,C=(e,r,t,n)=>n?{"background-image":`linear-gradient(${k(r,t)}deg,${e} ${h(r,t)}%,${n} 0%)`}:{"background-color":e},k=(e,r)=>e||r?a:c,h=(e,r)=>e?B:r?_:s,y=(e,r,t)=>t?{"background-image":`linear-gradient(${S(r)}deg,${e} ${b(r)}%,${t} 0%)`}:{"background-color":e},S=e=>e?a:c,b=e=>e?D:s,H=u({__name:"HeroSection",setup(e){const{firstBackgroundColor:r,secondBackgroundColor:t}=i(l()),n=d(f());return(g,z)=>(m(),p("div",{id:"hero-section",style:$(o(y)(o(r),n.value.smAndDown,o(t)))},[P(g.$slots,"default")],4))}});export{H as _,C as g};