1import{u as Q,f as V,g as X,_ as Y,j as Z,R as ee,w as te,o as oe,n as ne,C as A,E as I,a4 as ae,V as se,U as le,a5 as re,k as ie,l as f,m as ce,i as t,H as g,x as C,y as ue,e as a,p as s,L as de,c as r,d as o,F as y,r as h,O as _e,J as _,t as M,K as x,a6 as pe,q as ve,a7 as me,a8 as fe,v as ge,s as ye}from"./Dy5qH14U.js";import{f as U}from"./DN7K_04y.js";import{u as we}from"./CDYunglr.js";async function Se(){const{client:P}=Q(),{data:i}=V("contact_page");if(i.value)return Promise.resolve({page:i});const{data:p}=await X("contact_page",()=>P.getSingle("contact_page"));return{page:p}}const be={key:1,class:"formatted-urls","aria-hidden":"true"},ke={class:"contact-info | site-grid"},Ce={class:"contact-info-detail | body-4-alt | whitespace-nowrap"},he={class:"address-info | site-grid"},xe={__name:"contact",async setup(P){let i,p;const{gsap:R}=Z(),F=ee(),{page:d}=([i,p]=te(()=>Se()),i=await i,p(),i);we(d.value.data);const{data:c}=V("global_settings"),n=ye({reelButtonHover:0,logoButtonHover:0,activeSocialIndex:null,desktopMenuOpen:!1}),v=C(null),B=C(null),E=C(null);let w,L,S;oe(async()=>{await ne(),L=v.value.$el.querySelector(".site-grid"),R.delayedCall(.15,()=>{A.emit(I.SET_SITE_HEADER_COLOR,{theme:"light",origin:"contact-page"})}),b(),A.once(I.SCROLL_ANIMATIONS_CREATE,()=>{z()}),window.addEventListener("resize",b)}),ae(()=>{window.removeEventListener("resize",b)}),se(()=>{w.destroy()}),c.value?S=U(c.value.data.social_links):le(c,l=>{S=U(c.value.data.social_links)});function z(){w=new re({wrapper:B.value,content:E.value,eventsTarget:v.value.$el,duration:.04,easing:l=>Math.min(1,1.001-Math.pow(2,-10*l)),orientation:"vertical",smoothWheel:!0,wheelMultiplier:3,infinite:!0}),R.ticker.add(D)}function D(l,e,k){w.raf(k)}function T(l){n.activeSocialIndex=l}function $(){n.activeSocialIndex=null}function b(){const l=getComputedStyle(L);v.value.$el.style.setProperty("--column-width",l.gridTemplateColumns.split(" ")[0])}return(l,e)=>{const k=de,H=_e,W=pe,q=me,G=ve,j=fe,N=ge,J=ue;return a(),ie(J,{class:g(["page",{invisible:!t(F).isAboveTheFoldUIVisible}]),style:ce({"--reel-button-hover":t(n).reelButtonHover,"--logo-button-hover":t(n).logoButtonHover}),tag:"main",ref_key:"pageRef",ref:v},{default:f(()=>[s(k,{class:g(["play-reel",{"opacity-0 pointer-events-none":t(n).desktopMenuOpen}]),theme:"light",onPointerenter:e[0]||(e[0]=u=>t(n).reelButtonHover=1),onPointerleave:e[1]||(e[1]=u=>t(n).reelButtonHover=0)},null,8,["class"]),t(c)?(a(),r("div",{key:0,class:"socials",ref_key:"socialsContainerRef",ref:B},[o("nav",{class:"hero-1",ref_key:"socialsWrapperRef",ref:E},[(a(),r(y,null,h(2,u=>o("ul",{class:g({"lg-down:hidden lg:h-screen overflow-hidden":u===2})},[(a(!0),r(y,null,h(t(c).data.social_links,(m,O)=>(a(),r("li",null,[s(H,{class:"social-link",to:m.link.url,target:"_blank",rel:"noopener",onPointerenter:K=>T(O),onPointerleave:$,onFocus:K=>T(O),onBlur:$},{default:f(()=>[_(" ("+M(m.abbreviation)+") ",1)]),_:2},1032,["to","onPointerenter","onFocus"])]))),256))],2)),64))],512)],512)):x("",!0),t(c)?(a(),r("div",be,[(a(!0),r(y,null,h(t(S),(u,m)=>(a(),r("span",{class:g(["body-1",{"opacity-0":t(n).activeSocialIndex!==m}])},M(u.formattedUrl),3))),256))])):x("",!0),o("div",ke,[e[8]||(e[8]=o("h3",{class:"contact-info-title | body-4"},"Contact us",-1)),o("p",Ce,[s(W,{theme:"light"}),e[4]||(e[4]=o("br",null,null,-1)),e[5]||(e[5]=_(" +27 73 351 6633",-1)),e[6]||(e[6]=o("br",null,null,-1)),e[7]||(e[7]=o("span",{class:"contact-info-person | body-4-alt"},"(Olive)",-1))])]),o("div",he,[e[9]||(e[9]=o("h3",{class:"address-info-title | body-4"},"CT_SA",-1)),s(G,null,{default:f(()=>[s(q,{class:"address-info-clock | body-4-alt"})]),_:1}),e[10]||(e[10]=o("p",{class:"address-info-detail | body-4-alt | whitespace-nowrap"},[_(" 33 Loop"),o("br"),_("Street,"),o("br"),_("Cape Town,"),o("br"),_("8000 ")],-1))]),s(H,{class:"logo",to:"/"},{default:f(()=>[s(j,{class:"display-4",onPointerenter:e[2]||(e[2]=u=>t(n).logoButtonHover=1),onPointerleave:e[3]||(e[3]=u=>t(n).logoButtonHover=0)})]),_:1}),t(d)?(a(),r(y,{key:2},[s(N,{class:"reel-hover-image",src:t(d).data.showreel_hover_image.url,alt:t(d).data.showreel_hover_image.url??""},null,8,["src","alt"]),s(N,{class:"logo-hover-image",src:t(d).data.logo_hover_image.url,alt:t(d).data.logo_hover_image.url??""},null,8,["src","alt"])],64)):x("",!0)]),_:1},8,["class","style"])}}},Ee=Y(xe,[["__scopeId","data-v-c6066574"]]);export{Ee 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.