import{a as d}from"./DaqkdMVO.js";import{d as f,r as a,s as p,h as b,i as x,a as g,o as y,n as h,L as w,u as l,e as o,t as i}from"./m2W8DxR4.js";const _={class:"container mx-auto flex items-center justify-center gap-3 px-4 text-sm sm:gap-4 sm:text-base"},S=["aria-label"],C=f({__name:"GetStarted",setup(v){const c=()=>{const t=document.getElementById("contact");t==null||t.scrollIntoView({behavior:"smooth",block:"start"})};let s=a();const{y:m}=d();s=p(()=>m.value>window.innerHeight);const n=a("1rem");let e=null;return b(()=>{const t=document.querySelector("footer");t&&(e=new IntersectionObserver(r=>{r.forEach(u=>{n.value=u.isIntersecting?`${t.clientHeight+10}px`:"1rem"})},{root:null,threshold:0}),e.observe(t))}),x(()=>{e&&e.disconnect()}),(t,r)=>(y(),g("div",{class:w(["ws-gradient-border-animated fixed bottom-0 left-1/2 z-40 flex h-[60px] w-[300px] -translate-x-1/2 items-center justify-center transition-all duration-500 ease-in-out sm:w-[330px] rtl:w-[280px]",l(s)?"translate-y-0 opacity-100":"translate-y-full opacity-0"]),style:h({bottom:l(n)})},[o("div",_,[o("p",null,i(t.$t("getStarted.text")),1),o("button",{"aria-label":t.$t("ariaLabels.getStartedBtn"),class:"bg-accent text-foreground w-fit cursor-pointer rounded-full px-4 py-2 text-sm sm:text-base",onClick:c},i(t.$t("getStarted.button")),9,S)])],6))}});export{C as _};
