1import{_ as W}from"./D6czUPVG.js";import{_ as Y}from"./C-a4rF_T.js";import{_ as V}from"./Csd2jvSC.js";import{_ as J}from"./dhVNQm5I.js";import{p as L,g as b,a as q,d as A,c as K}from"./D7enOkY_.js";import{S as Q}from"./C4gmGO9R.js";import{_ as U}from"./DlAUqK2U.js";import{d as X,E as Z,ao as E,af as n,aa as a,aj as t,ap as h,H as u,al as d,ak as m,u as e,G as C,aq as H,ab as f,as as w,am as v,a9 as y}from"./_MbA3FA0.js";import{_ as ee}from"./lr1a-iSj.js";import{u as k}from"./CL-6es_X.js";import"./TMMvcIpE.js";const te=L("/images/3ds/news-3d.png"),se={"last-news-home":"",class:"mr-2.5 md:mr-8 bg-green-100 rounded-tr-4xl rounded-br-4xl"},oe={class:"container relative pt-11 md:pt-24 pb-12 md:pb-20",role:"none"},ae={class:"text-xl-mob md:text-xl md:text-right font-semibold uppercase"},ne=["innerHTML"],le={class:"grid md:grid-cols-3 md:gap-x-12 gap-y-8 md:gap-y-24 md:max-w-5xl md:ml-auto",role:"none"},re={class:"text-gray-500"},me={class:"text-xs mb-7 mt-2"},ie={__name:"LastNews",props:{news:{type:Array,required:!0}},setup(T){b.registerPlugin(Q);const{t:o}=q(),l=A(),s=X(null);return Z(()=>{b.set(s.value,{opacity:0,y:-100,x:-100,duration:1,ease:"expo.inOut"}),new window.IntersectionObserver(r=>{r.forEach(i=>{i.isIntersecting?b.to(s.value,{opacity:1,y:0,x:0}):b.to(s.value,{opacity:0,y:-100,x:-100})})}).observe(s.value)}),(_,r)=>{const i=V,p=E("title-reveal");return a(),n("section",se,[t("div",oe,[t("div",{ref_key:"lastNewsHomeImage",ref:s,class:"absolute md:left-0 right-0 md:right-auto -top-[5.5%] md:-top-[15%] h-full max-h-36 md:max-h-[470px]",role:"none"},r[0]||(r[0]=[t("img",{src:te,alt:"3d news",class:"h-full max-h-36 md:max-h-[420px]"},null,-1)]),512),h((a(),n("h3",ae,[d(m(e(o)("home.news.title")),1)])),[[p]]),t("div",{class:"text text-base-big-mob md:text-base-big block mt-6 md:mt-16 mb-16 md:mb-24 md:max-w-4xl",role:"none",innerHTML:e(o)("home.news.text")},null,8,ne),t("div",le,[(a(!0),n(C,null,H(T.news,c=>(a(),n("div",{key:c.postId,role:"none"},[r[1]||(r[1]=t("div",{class:"block h-px w-full bg-gray-300 mb-6"},null,-1)),t("span",re,m(new Date(c.date).toLocaleString("it-IT").slice(0,10)),1),h((a(),n("p",me,[d(m(c.title),1)])),[[p]]),u(i,{white:"",class:"block w-fit",to:e(l)({name:"news-slug",params:{slug:c.slug}})},{default:f(()=>[d(m(e(o)("news.readPost")),1)]),_:2},1032,["to"])]))),128))]),u(i,{green:"",to:e(l)("news"),class:"block mt-16 md:mt-20 mx-auto w-fit"},{default:f(()=>[d(m(e(o)("home.news.button")),1)]),_:1},8,["to"])])])}}},ce=U(ie,[["__scopeId","data-v-16573cfb"]]),de=L("/images/home/up-circle-3d.png"),ue=L("/images/home/circle-3d.png"),_e={class:"pt-28 overflow-x-hidden"},pe={"header-page":"",class:"container mb-10 md:mb-20"},ge={class:"header relative bg-green-100 container rounded-3xl overflow-x-hidden"},xe=["innerHTML"],be={class:"marquee-text flex pt-16 md:pt-0"},he={class:"text-xxl-mob md:text-xxl text-white font-bold"},fe={key:0,class:"categories-home container mb-28 md:mb-52"},we={class:"flex flex-col gap-y-8 md:flex-row md:justify-between md:items-center mb-16 md:mb-32"},ve=["innerHTML"],ye={class:"grid grid-cols-2 md:grid-cols-3 gap-x-3.5 md:gap-x-7 gap-y-11 md:gap-y-20"},ke={key:2,"related-projects-home":"",class:"mb-12 md:mb-36 container"},Ce=["innerHTML"],He={__name:"index",async setup(T){let o,l;const{t:s,locale:_}=q(),r=A(),{data:i}=([o,l]=w(()=>k("getProductCategories",{language:_.value.toUpperCase()})),o=await o,l(),o),{data:p}=([o,l]=w(()=>k("getPosts",{language:_.value.toUpperCase()})),o=await o,l(),o),{data:c}=([o,l]=w(()=>k("getCaseStudies",{language:_.value.toUpperCase()})),o=await o,l(),o);return K({title:s("home.seo.title"),ogTitle:s("home.seo.title"),description:s("home.seo.description"),ogDescription:s("home.seo.description"),ogImage:"og-image.jpg",ogType:"website",twitterCard:"summary_large_image"}),(Le,x)=>{var P,$,M,N,j,B,D;const z=W,G=Y,I=V,O=J,F=ce,R=ee,S=E("title-reveal");return a(),n("div",_e,[t("section",pe,[t("div",ge,[t("span",{class:"uppercase text-gray-800 relative md:absolute left-5 md:left-11 top-5 md:top-16 block mb-5 md:mb-0",innerHTML:e(s)("home.pretitle")},null,8,xe),t("div",be,[t("h1",he,[d(m(e(s)("home.title"))+" ",1),t("span",null,m(e(s)("home.title")),1)])]),x[0]||(x[0]=t("div",{class:"max-h-[520px] max-w-56 md:max-w-lg mx-auto relative mt-10 mb-5 md:mb-3 md:mt-3.5"},[t("img",{class:"w-full h-full object-cover z-2 absolute",src:de,alt:"Header home circle 3d"}),t("img",{class:"w-full h-full object-cover z-null",src:ue,alt:"Header home circle 3d"})],-1))])]),u(z,{class:"mb-10 md:mb-20",title:e(s)("home.intro.title"),text:e(s)("home.intro.text")},null,8,["title","text"]),u(G,{class:"mb-10 md:mb-20","video-id":"H8fdd0Y_ebg"}),x[1]||(x[1]=t("div",{class:"line mb-10 md:mb-20 block h-px w-full bg-gray-100 mx-2.5 md:mx-8"},null,-1)),(P=e(i).productCategories)!=null&&P.nodes.length?(a(),n("section",fe,[t("div",we,[h(t("h2",{class:"text-xl-mob md:text-xl uppercase text-gray-200 font-semibold",innerHTML:e(s)("home.products.title")},null,8,ve),[[S]]),u(I,{green:"",to:e(r)("products"),class:"block w-fit"},{default:f(()=>
1[d(m(e(s)("home.products.button")),1)]),_:1},8,["to"])]),t("div",ye,[(a(!0),n(C,null,H(e(i).productCategories.nodes,g=>(a(),y(O,{key:g.name,"product-category":g},null,8,["product-category"]))),128))])])):v("",!0),(M=($=e(p))==null?void 0:$.posts)!=null&&M.nodes.length?(a(),y(F,{key:1,class:"mb-16 md:mb-28",news:e(p).posts.nodes.slice(0,6)},null,8,["news"])):v("",!0),(j=(N=e(c))==null?void 0:N.caseStudies)!=null&&j.nodes.length?(a(),n("section",ke,[h(t("h3",{class:"text-gray-200 text-xl-mob md:text-xl font-semibold text-center uppercase mb-10 md:mb-20",innerHTML:e(s)("home.projects.title")},null,8,Ce),[[S]]),(a(!0),n(C,null,H((D=(B=e(c))==null?void 0:B.caseStudies)==null?void 0:D.nodes,g=>(a(),y(R,{key:g.caseStudyId,"case-study":g,class:"mb-6"},null,8,["case-study"]))),128)),u(I,{green:"",to:e(r)("case-studies"),class:"block mt-10 md:mt-20 mx-auto w-fit"},{default:f(()=>[d(m(e(s)("home.projects.button")),1)]),_:1},8,["to"])])):v("",!0)])}}},qe=U(He,[["__scopeId","data-v-3af0fdef"]]);export{qe as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.