1import{_ as h}from"./C5UXxsG3.js";import{N as g,Q as x,a as c,K as k,c as o,o as s,b as n,e as r,v,F as b,n as _,t as L,k as N,s as w}from"#entry";const H={class:"bg-white hero"},M={class:"container- md:max-w-screen-lg mx-auto px-6 pb-8 md:py-8 lg:py-28"},S={key:0,class:"flex flex-col-reverse md:gap-10 flex-col- md:flex-row"},$=["innerHTML"],j={key:0},q=["href"],A={key:1},z={__name:"HeroNew",props:{content:{type:Array,required:!1},image:{type:Object,default:null,required:!1},anchorLinks:{type:Array,required:!1,default:()=>[]}},setup(e){const{$gsap:u}=g(),l=e,m=x(),d=c(null),i=c(null),f=(t="default")=>!!m[t],y=()=>{const t=u.timeline();t.from(".hero-copy h1",{duration:.8,opacity:0,y:30,ease:"expo.out"}),l.image!=null&&t.from(i.value,{duration:.8,opacity:0,y:30,ease:"expo.out"},"-=75%"),t.from(".hero-copy p",{duration:.8,opacity:0,y:30,ease:"expo.out",stagger:{amount:.2}},"<"),l.anchorLinks.length>0&&t.from(".hero-anchor-link",{duration:.8,opacity:0,y:30,ease:"expo.out",stagger:{amount:.3}},"-=25%")};return k(()=>{y()}),(t,B)=>{const p=h;return s(),o("div",H,[n("div",M,[f()?(s(),o("div",A,[w(t.$slots,"default")])):(s(),o("div",S,[e.content?(s(),o("div",{key:0,class:v(["flex flex-col justify-center flex-1 prismic-body prismic-body-blue",[e.image==null?"mx-auto pt-8":""]])},[n("div",{ref_key:"copy",ref:d,class:"hero-copy",innerHTML:t.$prismic.asHTML(e.content)},null,8,$),e.anchorLinks.length>0?(s(),o("div",j,[(s(!0),o(b,null,_(e.anchorLinks,a=>(s(),o("div",{class:"hero-anchor-link inline-block",key:a.id},[n("a",{href:"#"+a.id,class:"mr-3 mb-3"},L(a.name),9,q)]))),128))])):r("",!0)],2)):r("",!0),e.image!=null?(s(),o("div",{key:1,ref_key:"img",ref:i,class:"flex-1 overflow-hidden py-10 md:py-0"},[N(p,{class:"object-contain w-full h-full max-h-[390px]",provider:"prismic",src:e.image.url,alt:e.image.alt,sizes:"sm:400px lg:490px"},null,8,["src","alt"])],512)):r("",!0)]))])])}}};export{z as _}; 2//# sourceMappingURL=rwPNAUPE.js.map
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.