import{_}from"./CRLRuL3I.js";import{d as w,O as k,f as E,P as q,M as C,a3 as B,o,c as i,h as s,q as z,F as x,k as f,j as t,a as y,i as I,y as u,t as b,l as N,s as V,_ as W}from"./Cx6dzAGM.js";import{u as A}from"./DMJaR9RH.js";const S=window.setInterval,T={class:"about-us-business-ecosystem sm:py-[42px]"},j={class:"container mx-auto px-4 sm:px-0"},$={class:"inline-flex items-start gap-2"},L={key:0,class:"marquee max-w-[1536px] mx-auto mt-[32px]"},U={class:"marquee-inner"},D={key:1,class:"mt-[72px] flex items-center justify-around flex-wrap gap-4"},F=w({__name:"business-ecosystem",setup(G){const h=A(),g=[{label:"Elemes Tech Development Center",desc:"We help companies build the most successful digital product from zero."},{label:"Elemes Venture Builder",desc:"We build successful startups which can be acquired by companies to support their businesses."}],v=["https://res.cloudinary.com/tefanhaetami/image/upload/v1721730501/z5ey614mek3obkerfmnf.webp","https://res.cloudinary.com/tefanhaetami/image/upload/v1721730521/ightqau8h7trgrfvlqcp.webp","https://res.cloudinary.com/tefanhaetami/image/upload/v1721730542/r5tr6incyvuxfasiilzq.webp","https://res.cloudinary.com/tefanhaetami/image/upload/v1721730561/yb2t9pvongrnmbkw2wvy.webp"],r=k(0),a=E(()=>l=>l===r.value);let d;return q(()=>{if(d=S(()=>{r.value===0?r.value=1:r.value=0},8e3),h.isLessThan("sm")){const l=document.querySelector(".marquee-inner");document.querySelectorAll(".marquee div").forEach(m=>{const n=m.cloneNode(!0);l.appendChild(n)});const p=l.scrollWidth/2;C.to(l,{x:-p,duration:36,ease:"linear",repeat:-1})}}),B(()=>{d&&clearInterval(d)}),(l,c)=>{const p=_,m=V;return o(),i("section",T,[s("div",j,[c[0]||(c[0]=s("h2",{class:"text-xl sm:text-4xl font-bold text-slate-900 leading-7 sm:leading-10 mb-4 sm:mb-8"},[z(" Our Business and Ecosytem as "),s("br"),s("span",{class:"text-primary"},"Elemes group.")],-1)),c[1]||(c[1]=s("p",{class:"mb-[72px] text-slate-500 text-sm sm:text-base leading-6"}," As a consultant and agency, Elemes Group provides end-to-end solutions for companies to build and run digital businesses. With the experience of the Elemes Group Team, we believe we can help companies to be successful in the market. ",-1)),(o(),i(x,null,f(g,(n,e)=>y(p,{key:e,ui:{base:"cursor-pointer transition duration-1000 ease-in-out",background:t(a)(e)?"bg-primary-700":"bg-white",divide:"divide-x-0 divide-y-0",ring:"ring-0",shadow:"shadow-none shadow-business-ecosystem",rounded:"rounded-2xl sm:rounded-lg",body:{base:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4",padding:"py-8 px-6 sm:p-0 sm:py-8 sm:px-6"}},class:u({"mb-6":e<g.length-1}),onClick:M=>r.value=e},{default:I(()=>[s("div",$,[s("h2",{class:u(["text-base sm:text-2xl leading-6 sm:leading-8 font-bold transition duration-1000 ease-in-out",{"text-slate-200":!t(a)(e),"text-primary-400":t(a)(e)}])}," 0"+b(e+1),3),s("h2",{class:u(["text-base sm:text-2xl leading-6 sm:leading-8 font-bold transition duration-1000 ease-in-out",{"text-slate-950":!t(a)(e),"text-slate-50":t(a)(e)}])},b(n.label),3)]),t(a)(e)?(o(),i("p",{key:0,class:u(["mb-0 text-sm leading-5 text-slate-50 transition-opacity duration-1000 ease-in-out transform scale-100",{"opacity-0 scale-95":!t(a)(e),"opacity-100 scale-100":t(a)(e)}]),style:{"transition-property":"opacity, transform"}},b(n.desc),3)):N("",!0)]),_:2},1032,["ui","class","onClick"])),64)),t(h).isLessThan("sm")?(o(),i("div",L,[s("div",U,[(o(),i(x,null,f(v,(n,e)=>s("div",{key:e,class:"w-[222px] sm:w-[222px] flex items-center justify-center"},[y(m,{format:"webp",loading:"lazy",src:n,alt:`Client ${e+1}`,width:"222",class:"w-full"},null,8,["src","alt"])])),64))])])):(o(),i("div",D,[(o(),i(x,null,f(v,(n,e)=>s("div",{key:e,class:"rounded-3xl overflow-hidden bg-white"},[y(m,{format:"webp",loading:"lazy",src:n,alt:`Client ${e+1}`,width:"222"},null,8,["src","alt"])])),64))]))])])}}}),J=W(F,[["__scopeId","data-v-8e5d2b93"]]);export{J as default};
