1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BhBxn6SA.js","./entry.CZpnWRbA.css"])))=>i.map(i=>d[i]); 2import{p as I,_ as me,r as l,o as de,n as ue,a as _e,b as pe,d as i,e as c,f as e,l as Ze,j as J,m as Q,w as Se,q as Ye,s as qe,u as Xe,h as ee,c as ce,F as N,g as j,v as X,t as q,x as le,y as ne,z as Re,A as De,B as Ne}from"./BhBxn6SA.js";import{_ as je}from"./BOR7iYd8.js";import{_ as Ke}from"./B8VO8idD.js";import{_ as Ge}from"./CVGnsn59.js";import{F as Ue}from"./DrwBYZnm.js";const Je=I("/collection/card-3.png"),Qe=I("/collection/card-2.png"),et=I("/collection/card-6.png"),tt=I("/collection/card-5.png"),rt=I("/collection/card-8.png"),ot=I("/collection/card-9.png"),st={class:"cards","aria-hidden":"true"},lt={class:"card-3-wrapper"},nt={class:"card-2-wrapper"},at={class:"cards","aria-hidden":"true"},it={class:"card-6-wrapper"},ct={class:"card-5-wrapper"},dt={class:"cards","aria-hidden":"true"},ut={class:"card-8-wrapper"},pt={class:"card-9-wrapper"},ft={class:"badge",style:{"margin-bottom":"5vh"},viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false"},vt={class:"ui-progress","aria-hidden":"true"},ht={__name:"ProductCollection",setup(k){let t,p,z=()=>{};const h=l(null),d=l(null),w=l(null),f=l(null),u=l(null),y=l(null),V=l(null),H=l(null),$=l(null),x=l(null),L=l(null),C=l(null),n=l(null),v=l(null),b=l(null),T=l(null),S=l(null),M=l(null),K=l(null),D=l(null);let R=null,F=null,m=[];const G=async()=>{const B=await ee(()=>import("./BhBxn6SA.js").then(Y=>Y.L),__vite__mapDeps([0,1]),import.meta.url),s=await ee(()=>import("./BhBxn6SA.js").then(Y=>Y.S),__vite__mapDeps([0,1]),import.meta.url);if(t=B.gsap,p=s.ScrollTrigger,t.registerPlugin(p),!h.value)return;m=[];const A=document.querySelectorAll(".locked");let P=h.value.offsetTop;for(let Y=0;Y<A.length;Y++)A[Y].offsetTop<h.value.offsetTop&&(P+=900*window.scrollStop);const Z=`${P-900}px top`,_=`${P+450}px top`,o=`${P+1350*window.scrollStop-450}px top`,r=`${P+900*window.scrollStop-450}px top`,a=`${P+1800*window.scrollStop-450}px top`,g=`${P+3150*window.scrollStop-450}px top`,W=`${P+1800*window.scrollStop+450}px top`,O=`${P+2700*window.scrollStop+450}px top`,ye=`${P+2925*window.scrollStop+450}px top`,se=1440/(window.innerWidth||1),Te=Math.max(1e3,1e3/se),fe=Math.max(500,500/se),U=Math.max(1200,2e3/se),ae=Math.max(700,1e3/se);[w.value,f.value,u.value].forEach(Y=>{if(!Y)return;Y.style.perspective=`${Te}px`;const Be=Y.querySelector(".cards");Be&&(Be.style.perspective=`${Te}px`)});const ke=window.innerWidth/2+$.value.offsetWidth,ve=window.innerWidth/2+x.value.offsetWidth,xe=window.innerWidth/2+L.value.offsetWidth;t.set($.value,{x:-ke,z:fe,rotationY:-90}),t.set(x.value,{x:-ve,z:U,rotationY:-90}),t.set(L.value,{x:xe,z:U,rotationY:90});const be=window.innerWidth/2+C.value.offsetWidth,ie=window.innerWidth/2+n.value.offsetWidth,he=window.innerWidth/2+v.value.offsetWidth;t.set(C.value,{x:-be,z:fe,rotationY:-90}),t.set(n.value,{x:ie,z:U,rotationY:90}),t.set(v.value,{x:-he,z:U,rotationY:-90});const ge=window.innerWidth/2+b.value.offsetWidth,we=window.innerWidth/2+T.value.offsetWidth,E=window.innerWidth/2+S.value.offsetWidth;t.set(b.value,{x:-ge,z:fe,rotationY:-90}),t.set(T.value,{x:we,z:U,rotationY:90}),t.set(S.value,{x:-E,z:U,rotationY:-90}),t.set(y.value,{z:ae,rotationY:40}),t.set(V.value,{z:ae,rotationY:40}),t.set(H.value,{z:ae,rotationY:40});const Le=t.to(y.value,{z:0,rotationY:0,duration:1,ease:"power2.inOut",scrollTrigger:{trigger:"body",start:Z,end:_,scrub:1}});Le.scrollTrigger&&m.push(Le.scrollTrigger);const Pe=t.to(V.value,{z:0,rotationY:0,duration:1,ease:"power2.inOut",scrollTrigger:{trigger:"body",start:r,end:a,scrub:1}});Pe.scrollTrigger&&m.push(Pe.scrollTrigger);const ze=t.to(H.value,{z:0,rotationY:0,duration:1,ease:"power2.inOut",scrollTrigger:{trigger:"body",start:W,end:O,scrub:1}});ze.scrollTrigger&&m.push(ze.scrollTrigger),t.set([M.value,K.value,D.value],{width:3});const We=t.to([$.value,L.value,x.value],{x:0,z:0,rotationY:0,duration:1,stagger:.15,ease:"power2.InOut",scrollTrigger:{trigger:"body",start:Z,end:_,scrub:1}});We.scrollTrigger&&m.push(We.scrollTrigger);const Ae=t.to([C.value,v.value,n.value],{x:0,z:0,rotationY:0,duration:1,stagger:.15,ease:"power2.InOut",scrollTrigger:{trigger:"body",
2start:r,end:a,scrub:1}});Ae.scrollTrigger&&m.push(Ae.scrollTrigger);const Ie=t.to([b.value,S.value,T.value],{x:0,z:0,rotationY:0,duration:1,stagger:.15,ease:"power2.InOut",scrollTrigger:{trigger:"body",start:W,end:O,scrub:1}});Ie.scrollTrigger&&m.push(Ie.scrollTrigger),t.set([w.value,f.value,u.value],{autoAlpha:0});const $e=.2,Oe=.2,Ee=t.timeline({scrollTrigger:{trigger:"body",start:Z,end:o,scrub:!0}});Ee.fromTo(w.value,{autoAlpha:0},{autoAlpha:1,duration:$e,ease:"power2.inOut"}).to(w.value,{autoAlpha:0,duration:Oe,ease:"power2.inOut"}),Ee.scrollTrigger&&m.push(Ee.scrollTrigger);const He=t.timeline({scrollTrigger:{trigger:"body",start:r,end:g,scrub:!0}});He.fromTo(f.value,{autoAlpha:0},{autoAlpha:1,duration:$e,ease:"power2.inOut"}).to(f.value,{autoAlpha:0,duration:Oe,ease:"power2.inOut"}),He.scrollTrigger&&m.push(He.scrollTrigger);const Ve=t.timeline({scrollTrigger:{trigger:"body",start:W,end:ye,scrub:!0}});Ve.fromTo(u.value,{autoAlpha:0},{autoAlpha:1,duration:$e,ease:"power2.inOut"}),Ve.scrollTrigger&&m.push(Ve.scrollTrigger)},re=()=>{if(!t||!w.value||!f.value||!u.value||!M.value||!K.value||!D.value){F=requestAnimationFrame(re);return}const B=t.getProperty(w.value,"opacity"),s=t.getProperty(f.value,"opacity"),A=t.getProperty(u.value,"opacity"),P=B/1*12,Z=s/1*12,_=A/1*12;t.set(M.value,{width:3+P,opacity:.5+P/24}),t.set(K.value,{width:3+Z,opacity:.5+Z/24}),t.set(D.value,{width:3+_,opacity:.5+_/24}),F=requestAnimationFrame(re)},oe=()=>{if(p&&m.length&&(m.forEach(B=>B.kill()),m=[]),t){const B=[$.value,x.value,L.value,C.value,n.value,v.value,b.value,T.value,S.value].filter(Boolean),s=[y.value,V.value,H.value].filter(Boolean),A=[w.value,f.value,u.value].filter(Boolean);t.killTweensOf([...B,...s,...A]),t.set([...B,...s],{clearProps:"transform"}),t.set(A,{clearProps:"autoAlpha,opacity"})}},te=()=>{h.value&&(h.value.style.height=window.innerHeight+"px"),R&&clearTimeout(R),R=setTimeout(()=>{p&&t&&(oe(),setTimeout(()=>{G(),p.refresh()},10))},100)};return de(async()=>{await ue(),G(),te(),re(),window.addEventListener("resize",te),z=_e(()=>{te()})}),pe(()=>{F&&(cancelAnimationFrame(F),F=null),oe(),window.removeEventListener("resize",te),z(),R&&clearTimeout(R)}),(B,s)=>{const A=Ye;return c(),i("div",{ref_key:"container",ref:h,class:"product-collection locked",role:"list","aria-label":"Ironhill product collection"},[e("div",{ref_key:"section1",ref:w,class:"product-collection-section",role:"listitem"},[e("div",st,[e("img",{ref_key:"card1",ref:$,src:Ze,class:"card card-1",alt:""},null,512),e("div",lt,[e("img",{ref_key:"card3",ref:L,src:Je,class:"card card-3",alt:""},null,512)]),e("div",nt,[e("img",{ref_key:"card2",ref:x,src:Qe,class:"card card-2",alt:""},null,512)])]),e("div",{ref_key:"wrapper1",ref:y,class:"product-collection-section-wrapper"},[s[2]||(s[2]=e("svg",{class:"badge",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false"},[e("path",{d:"M17.1377 27.9998C16.6758 28.7998 15.5211 28.7998 15.0593 27.9998L2.32868 5.94981C1.8668 5.1498 2.44416 4.1498 3.36791 4.1498L28.8291 4.14981C29.7528 4.14981 30.3302 5.14981 29.8683 5.94981L17.1377 27.9998Z",fill:"#385139","fill-opacity":"0.1",stroke:"#344128","stroke-width":"0.6"}),e("path",{d:"M13.7968 16.171C11.9608 16.171 10.8358 14.902 10.8358 12.877C10.8358 10.843 11.9608 9.574 13.7968 9.574C15.6328 9.574 16.7488 10.843 16.7488 12.877C16.7488 14.902 15.6328 16.171 13.7968 16.171ZM13.7968 15.244C14.8948 15.244 15.5338 14.371 15.5338 12.877C15.5338 11.365 14.8948 10.501 13.7968 10.501C12.6988 10.501 12.0598 11.365 12.0598 12.877C12.0598 14.371 12.6988 15.244 13.7968 15.244ZM19.3333 16V11.41C19.0993 11.689 18.5863 11.86 18.0553 11.86H17.7223V10.825H17.9293C18.7213 10.816 19.2883 10.429 19.5133 9.745H20.5213V16H19.3333Z",fill:"#344128"})],-1)),s[3]||(s[3]=e("img",{src:je,class:"collection-img-1",alt:"Warden of the Wild whisky bottle illustration",loading:"lazy"},null,-1)),e("div",{ref_key:"titleContainer",ref:d,class:"title-container"},[...s[0]||(s[0]=[e("p",{class:"line-1",role:"heading","aria-level":"2"},[Q("Warden"),e("span",null,"of")],-1),e("p",{class:"line-2"},[e("span",null,"The"),Q("Wild")],-1)])],512),s[4]||(s[4]=e("div",{class:"description-container"},[e("p",null,"Whisky that warms the soul"),e("p",null,"when the stories run cold")],-1)),J(A,{to:"/whisky",class:"section-button","aria-label":"Explore Warden of the Wild whisky collection"},{default:Se(()=>[...s[1]||(s[1]=[Q("Explore",-1)])]),_:1})],512)],512),e("div",{ref_key:"section2",ref:f,class:"product-collection-section",role:"listitem"},[e("div",at,[e("img",{ref_key:"card4",ref:C,src:qe,class:"card card-4",alt:""},null,512),e("div",it,[e("img",{ref_key:"card6",ref:v,src:et,class:"card card-6",alt:""},null,512)]),e("div",ct,[e("img",{ref_key:"card5",ref:n,src:tt,class:"card card-5",alt:""},null,512)])]),e("div",{ref_key:"wrapper2",ref:V,class:"product-collection-section-wrapper"},[s[7]||(s[7]=e("svg",{class:"badge",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false"},[e("path",{d:"M8 4.2998H24C26.0435 4.2998 27.7002 5.95655 27.7002 8V24C27.7002 26.0435 26.0435 27.7002 24 27.7002H8C5.95655 27.7002 4.2998 26.0435 4.2998 24V8C4.2998 5.95655 5.95655 4.2998 8 4.2998Z",fill:"#385139","fill-opacity":"0.1"}),e("path",{d:"M8 4.2998H24C26.0435 4.2998 27.7002 5.95655 27.7002 8V24C27.7002 26.0435 26.0435 27.7002 24 27.7002H8C5.95655 27.7002 4.2998 26.0435 4.2998 24V8C4.2998 5.95655 5.95655 4.2998 8 4.2998Z",stroke:"#344128","stroke-width":"0.6"}),e("path",{d:"M12.8491 19.171C11.0131 19.171 9.88809 17.902 9.88809 15.877C9.88809 13.843 11.0131 12.574 12.8491 12.574C14.6851 12.574 15.8011 13.843 15.8011 15.877C15.8011 17.902 14.6851 19.171 12.8491 19.171ZM12.8491 18.244C13.9471 18.244 14.5861 17.371 14.5861 15.877C14.5861 14.365 13.9471 13.501 12.8491 13.501C11.7511 13.501 11.1121 14.365 11.1121 15.877C11.1121 17.371 11.7511 18.244 12.8491 18.244ZM16.785 19V18.1C17.892 17.587 18.909 17.002 19.692 16.39C20.466 15.778 20.718 15.31 20.718 14.662C20.718 13.987 20.295 13.51 19.413 13.51C18.576 13.51 18.063 13.96 18.063 14.698C18.063 14.824 18.081 14.986 18.117 15.157L16.902 15.04C16.866 14.887 16.848 14.752 16.848 14.59C16.848 13.384 17.865 12.574 19.449 12.574C21.087 12.574 21.987 13.357 21.987 14.599C21.987 15.517 21.483 16.21 20.61 16.876C20.052 17.281 19.413 17.65 18.522 18.028H22.095V19H16.785Z",fill:"#344128"})],-1)),s[8]||(s[8]=e("img",{src:Ke,class:"collection-img-2",alt:"Skunk Ape beer can illustration",loading:"lazy"},null,-1)),e("div",{ref_key:"titleContainer",ref:d,class:"title-container"},[...s[5]||(s[5]=[e("p",{class:"line-1",role:"heading","aria-level":"2"},"Skunk",-1),e("p",{class:"line-2"},"Ape",-1)])],512),s[9]||(s[9]=e("div",{class:"description-container"},[e("p",null,"Swamp-stomping beer"),e("p",null,"brewed in the wetlands")],-1)),J(A,{to:"/beer",class:"section-button","aria-label":"Explore Skunk Ape beer collection"},{default:Se(()=>[...s[6]||(s[6]=[Q("Explore",-1)])]),_:1})],512)],512),e("div",{ref_key:"section3",ref:u,class:"product-collection-section",role:"listitem"},[e("div",dt,[e("img",{ref_key:"card7",ref:b,src:Xe,class:"card card-7",alt:""},null,512),e("div",ut,[e("img",{ref_key:"card8",ref:T,src:rt,class:"card card-8",alt:""},null,512)]),e("div",pt,[e("img",{ref_key:"card9",ref:S,src:ot,class:"card card-9",alt:""},null,512)])]),e("div",{ref_key:"wrapper3",ref:H,class:"product-collection-section-wrapper"},[(c(),i("svg",ft,[...s[10]||(s[10]=[e("path",{d:"M16 4.2998C22.4617 4.2998 27.7002 9.53827 27.7002 16C27.7002 22.4617 22.4617 27.7002 16 27.7002C9.53827 27.7002 4.2998 22.4617 4.2998 16C4.2998 9.53827 9.53827 4.2998 16 4.2998Z",fill:"#385139","fill-opacity":"0.1"},null,-1),e("path",{d:"M16 4.2998C22.4617 4.2998 27.7002 9.53827 27.7002 16C27.7002 22.4617 22.4617 27.7002 16 27.7002C9.53827 27.7002 4.2998 22.4617 4.2998 16C4.2998 9.53827 9.53827 4.2998 16 4.2998Z",stroke:"#344128","stroke-width":"0.6"},null,-1),e("path",{d:"M12.7436 19.171C10.9076 19.171 9.78262 17.902 9.78262 15.877C9.78262 13.843 10.9076 12.574 12.7436 12.574C14.5796 12.574 15.6956 13.843 15.6956 15.877C15.6956 17.902 14.5796 19.171 12.7436 19.171ZM12.7436 18.244C13.8416 18.244 14.4806 17.371 14.4806 15.877C14.4806 14.3
265 13.8416 13.501 12.7436 13.501C11.6456 13.501 11.0066 14.365 11.0066 15.877C11.0066 17.371 11.6456 18.244 12.7436 18.244ZM19.5037 19.171C17.8477 19.171 16.8217 18.379 16.7497 17.128L17.9467 17.011C18.0187 17.803 18.5677 18.262 19.5307 18.262C20.4757 18.262 20.9707 17.875 20.9707 17.209C20.9707 16.498 20.4397 16.21 19.5037 16.21H18.9817V15.382H19.4767C20.3407 15.382 20.7997 15.049 20.7997 14.437C20.7997 13.834 20.3407 13.483 19.4497 13.483C18.5317 13.483 18.0277 13.969 18.0007 14.797L16.8397 14.626C16.8667 13.411 17.8117 12.574 19.4857 12.574C21.1327 12.574 22.0147 13.249 22.0147 14.329C22.0147 15.112 21.4387 15.607 20.6647 15.733C21.6277 15.868 22.2127 16.345 22.2127 17.254C22.2127 18.388 21.2407 19.171 19.5037 19.171Z",fill:"#344128"},null,-1)])])),s[13]||(s[13]=e("img",{src:Ge,class:"collection-img-3",alt:"Mermaids' Tears water can illustration",loading:"lazy"},null,-1)),e("div",{ref_key:"titleContainer",ref:d,class:"title-container"},[...s[11]||(s[11]=[e("p",{class:"line-1",role:"heading","aria-level":"2"},"Mermaids'",-1),e("p",{class:"line-2"},"Tears",-1)])],512),s[14]||(s[14]=e("div",{class:"description-container"},[e("p",null,"A water that whispers"),e("p",null,"of faraway seas")],-1)),J(A,{to:"/water",class:"section-button","aria-label":"Explore Mermaids' Tears water collection"},{default:Se(()=>[...s[12]||(s[12]=[Q("Explore",-1)])]),_:1})],512)],512),e("div",vt,[e("div",{ref_key:"progress1",ref:M,class:"ui-progress-inner"},null,512),e("div",{ref_key:"progress2",ref:K,class:"ui-progress-inner"},null,512),e("div",{ref_key:"progress3",ref:D,class:"ui-progress-inner"},null,512)])],512)}}},gt=me(ht,[["__scopeId","data-v-8fb82835"]]),wt={class:"character-reveal__background","aria-hidden":"true"},mt={key:0},_t={class:"character-reveal__text"},yt={key:0,class:"character-reveal__note-top"},Ct=["innerHTML"],Tt={key:0},kt={key:1,class:"character-reveal__note-bottom"},xt=["innerHTML"],bt={__name:"CharacterReveal",props:{text:{type:String,default:"There's a place not far from here the maps won't show, known to some as the Ironhill."},noteBottom:{type:String,default:null},noteTop:{type:String,default:null}},setup(k){let t,p;const z=k,h=l(null),d=l([]);let w=null,f=()=>{},u=null;const y=ce(()=>z.text.split(" ")),V=async()=>{const x=await ee(()=>import("./BhBxn6SA.js").then(M=>M.L),__vite__mapDeps([0,1]),import.meta.url),L=await ee(()=>import("./BhBxn6SA.js").then(M=>M.S),__vite__mapDeps([0,1]),import.meta.url);if(t=x.gsap,p=L.ScrollTrigger,t.registerPlugin(p),!h.value)return;const C=document.querySelectorAll(".locked");let n=h.value.offsetTop;for(let M=0;M<C.length;M++)C[M].offsetTop<h.value.offsetTop&&(n+=900*window.scrollStop);const v=h.value.closest(".character-reveal"),b=v&&v.classList.contains("locked"),T=b?`${n-window.innerHeight*.2}px top`:`${n-window.innerHeight*.5}px top`,S=b?`${n+window.innerHeight*.8}px top`:`${n+window.innerHeight*.4}px top`;u=`character-reveal-${Date.now()}-${Math.random().toString(36).slice(2)}`,t.to(d.value,{opacity:1,duration:1,stagger:.3,ease:"none",scrollTrigger:{id:u,trigger:"body",start:T,end:S,scrub:1}})},H=()=>{if(p&&u){const x=p.getById(u);x&&x.kill()}t&&d.value&&d.value.length&&(t.killTweensOf(d.value),t.set(d.value,{clearProps:"opacity,transform"})),u=null},$=()=>{h.value&&(h.value.style.height=window.innerHeight+"px"),w&&clearTimeout(w),w=setTimeout(()=>{p&&t&&(H(),setTimeout(()=>{V(),p.refresh()},10))},100)};return de(async()=>{await ue(),V(),$(),window.addEventListener("resize",$),f=_e(()=>{$()})}),pe(()=>{H(),window.removeEventListener("resize",$),f(),w&&clearTimeout(w)}),(x,L)=>(c(),i("div",{ref_key:"container",ref:h,class:"character-reveal",role:"region","aria-label":"Ironhill narrative section"},[e("div",wt,[e("p",null,[(c(!0),i(N,null,j(y.value,(C,n)=>(c(),i("span",{key:n,class:"character-reveal__char-background",ref_for:!0,ref:v=>d.value[n]=v},[Q(q(C),1),n<y.value.length-1?(c(),i("span",mt,"Â ")):X("",!0)]))),128))])]),e("div",_t,[k.noteTop?(c(),i("div",yt,[e("p",{innerHTML:k.noteTop},null,8,Ct)])):X("",!0),(c(!0),i(N,null,j(y.value,(C,n)=>(c(),i("span",{key:n,class:"character-reveal__char",ref_for:!0,ref:v=>d.value[n]=v},[Q(q(C),1),n<y.value.length-1?(c(),i("span",Tt,"Â ")):X("",!0)]))),128)),k.noteBottom?(c(),i("div",kt,[e("p",{innerHTML:k.noteBottom},null,8,xt)])):X("",!0)])],512))}},Fe=me(bt,[["__scopeId","data-v-0e79b82c"]]),$t=I("/cards/card-1.webp"),Et=I("/cards/card-2.webp"),Ht=I("/cards/card-3.webp"),Vt={class:"character-reveal__background","aria-hidden":"true"},St={class:"wrapper-background"},Mt={key:0,class:"character-reveal__note-top"},Lt=["innerHTML"],Pt={key:0},zt={key:1,class:"character-reveal__note-bottom"},Wt=["innerHTML"],At={class:"character-reveal__text"},It={key:0,class:"character-reveal__note-top"},Ot=["innerHTML"],Bt={key:0},Rt={key:1,class:"character-reveal__note-bottom"},Ft=["innerHTML"],Zt={class:"cards","aria-hidden":"true"},Yt={__name:"CharacterRevealCard",props:{text:{type:String,default:"There's a place not far from here the maps won't show, known to some as the Ironhill."},noteBottom:{type:String,default:null},noteTop:{type:String,default:null}},setup(k){let t,p,z=()=>{};const h=k,d=l(null),w=l([]),f=l(null),u=l(null),y=l(null);let V=null,H=[];const $=ce(()=>h.text.split(" ")),x=async()=>{const n=await ee(()=>import("./BhBxn6SA.js").then(m=>m.L),__vite__mapDeps([0,1]),import.meta.url),v=await ee(()=>import("./BhBxn6SA.js").then(m=>m.S),__vite__mapDeps([0,1]),import.meta.url);if(t=n.gsap,p=v.ScrollTrigger,t.registerPlugin(p),!d.value)return;H=[];const b=document.querySelectorAll(".locked");let T=d.value.offsetTop;for(let m=0;m<b.length;m++)b[m].offsetTop<d.value.offsetTop&&(T+=900*window.scrollStop);const S=`${T-window.innerHeight*.4}px top`,M=`${T+window.innerHeight*.9}px top`,K=w.value.filter(Boolean),D=[f.value,u.value,y.value].filter(
2Boolean),R=t.to(K,{opacity:1,duration:1,stagger:.3,ease:"power2.InOut",scrollTrigger:{trigger:"body",start:S,end:M,scrub:2}});R.scrollTrigger&&H.push(R.scrollTrigger),t.set(D,{y:window.innerHeight});const F=t.to(D,{y:0,duration:2,stagger:.65,ease:"power2.InOut",scrollTrigger:{trigger:"body",start:S,end:M,scrub:2}});F.scrollTrigger&&H.push(F.scrollTrigger)},L=()=>{if(p&&H.length&&(H.forEach(n=>n.kill()),H=[]),t){const n=[f.value,u.value,y.value].filter(Boolean),v=[...w.value.filter(Boolean),...n];v.length&&(t.killTweensOf(v),t.set(v,{clearProps:"opacity,transform"}))}},C=()=>{d.value&&(d.value.style.height=window.innerHeight+"px"),V&&clearTimeout(V),V=setTimeout(()=>{p&&t&&(L(),setTimeout(()=>{x(),p.refresh()},10))},100)};return de(async()=>{await ue(),x(),C(),window.addEventListener("resize",C),z=_e(()=>{C()})}),pe(()=>{L(),window.removeEventListener("resize",C),z(),V&&clearTimeout(V)}),(n,v)=>(c(),i("div",{ref_key:"container",ref:d,class:"character-reveal locked",role:"region","aria-label":"Ironhill story section"},[e("div",Vt,[e("div",St,[k.noteTop?(c(),i("div",Mt,[e("p",{innerHTML:k.noteTop},null,8,Lt)])):X("",!0),(c(!0),i(N,null,j($.value,(b,T)=>(c(),i("span",{key:T,class:"character-reveal__char-background",ref_for:!0,ref:S=>w.value[T]=S},[Q(q(b),1),T<$.value.length-1?(c(),i("span",Pt,"Â ")):X("",!0)]))),128)),k.noteBottom?(c(),i("div",zt,[e("p",{innerHTML:k.noteBottom},null,8,Wt)])):X("",!0),v[0]||(v[0]=e("div",{class:"body-copy-wrapper"},[e("div",{class:"body-copy"},[e("p",null,"Â Â Â But while this place is silent and still, on the Ironhill you are never alone. For it is home to others, seldom seen but always there."),e("p",null,"Creatures of myth and lore, they are the keepers of our crafts, the ones from whom our goods are born. And over them all stands just one, tall and heavy-set. He is the shape that shifts between the trees, the warden of this wildness."),e("p",null,"So shake off the grip of your daily grind and come watch the mist sit low, heat your hands by the embersâ warm, and step onto the Ironhill.")])],-1))])]),e("div",At,[k.noteTop?(c(),i("div",It,[e("p",{innerHTML:k.noteTop},null,8,Ot)])):X("",!0),(c(!0),i(N,null,j($.value,(b,T)=>(c(),i("span",{key:T,class:"character-reveal__char",ref_for:!0,ref:S=>w.value[T]=S},[Q(q(b),1),T<$.value.length-1?(c(),i("span",Bt,"Â ")):X("",!0)]))),128)),k.noteBottom?(c(),i("div",Rt,[e("p",{innerHTML:k.noteBottom},null,8,Ft)])):X("",!0),v[1]||(v[1]=e("div",{class:"body-copy-wrapper"},[e("div",{class:"body-copy"},[e("p",null,"Â Â Â But while this place is silent and still, on the Ironhill you are never alone. For it is home to others, seldom seen but always there."),e("p",null,"Creatures of myth and lore, they are the keepers of our crafts, the ones from whom our goods are born. And over them all stands just one, tall and heavy-set. He is the shape that shifts between the trees, the warden of this wildness."),e("p",null,"So shake off the grip of your daily grind and come watch the mist sit low, heat your hands by the embersâ warm, and step onto the Ironhill.")])],-1))]),e("div",Zt,[e("img",{ref_key:"card1",ref:f,src:$t,class:"card card-1",alt:"Ironhill story illustration 1",loading:"lazy"},null,512),e("img",{ref_key:"card2",ref:u,src:Et,class:"card card-2",alt:"Ironhill story illustration 2",loading:"lazy"},null,512),e("img",{ref_key:"card3",ref:y,src:Ht,class:"card card-3",alt:"Ironhill story illustration 3",loading:"lazy"},null,512)])],512))}},qt=me(Yt,[["__scopeId","data-v-f45df147"]]),Xt=I("/cards/produce-card-1.webp"),Dt=I("/cards/chicken.mp4"),Nt=I("/cards/produce-card-2.webp"),jt=I("/cards/produce-card-2.mp4"),Kt=I("/cards/produce-card-3.webp"),Gt=I("/cards/produce-card-3.mp4"),Ut=["aria-labelledby"],Jt={key:0,class:"header-text",id:"full-height-text-heading"},Qt={class:"text-container background","aria-hidden":"true"},er={class:"line-1"},tr={class:"line-2"},rr={class:"line-3"},or={class:"line-1"},sr={class:"line-2"},lr={class:"line-3"},nr={class:"cards"},ar={class:"ui-progress","aria-hidden":"true"},ir={__name:"FullHeightText",props:{header:{type:String,default:null},line1:{type:String,required:!0},line2:{type:String,required:!0},line3:{type:String,required:!0},card1Href:{type:String,default:""},card2Href:{type:String,default:""},card3Href:{type:String,default:""}},setup(k){let t,p,z=()=>{};const h=k,d=l(null),w=l(null),f=l(null),u=l(null),y=l(null),V=l(null),H=l(null),$=l(null),x=l({});let L=null,C=null;const n=l(null);let v=null,b=null;const T=typeof window<"u"&&("ontouchstart"in window||navigator.maxTouchPoints>0);let S=0,M=0,K=0;const D=ce(()=>h.line1.split("")),R=ce(()=>h.line2.split("")),F=ce(()=>h.line3.split("")),m=async _=>{const r=[h.card1Href,h.card2Href,h.card3Href][_];if(!r)return;
2const a=/^https?:\/\//i.test(r),g=a||r.startsWith("/")?r:"/"+r;try{a?await Re(g,{external:!0}):await Re(g)}catch{a?window.open(g,"_self"):window.location.assign(g)}},G=(_,o)=>{(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),m(_))},re=async()=>{const _=await ee(()=>import("./BhBxn6SA.js").then(E=>E.L),__vite__mapDeps([0,1]),import.meta.url),o=await ee(()=>import("./BhBxn6SA.js").then(E=>E.S),__vite__mapDeps([0,1]),import.meta.url);t=_.gsap,p=o.ScrollTrigger,t.registerPlugin(p);const r=document.getElementsByClassName("locked")[2],a=r.offsetTop+4050*window.scrollStop,g=r.offsetTop+3850*window.scrollStop,W=a+"px top",O=g+"px top",ye=a+2250*window.scrollStop+"px top",Me=a+2250*window.scrollStop+"px top";t.set([V.value,H.value,$.value],{width:3}),t.to(Object.values(x.value),{opacity:0,duration:3,stagger:.5,ease:"power2.InOut",scrollTrigger:{trigger:"body",start:W,end:ye,scrub:1}});const Ce=[f.value,u.value,y.value],se=Ce.map(E=>E.querySelector(".card-3d")),U=1440/window.innerWidth,ae=Math.max(500,500/U),ke=Math.max(1e3,1e3/U),ve=[0,1,2],xe=[window.innerWidth*.6,window.innerWidth*-.6,window.innerWidth*.6],be=[90,-90,90],ie=ve.map(E=>Ce[E]).filter(Boolean),he=ve.map(E=>se[E]).filter(Boolean);ie.forEach(E=>{E&&(E.style.perspective=`${ke}px`)}),t.set(ie,{x:E=>xe[E]??0}),t.set(he,{rotationY:E=>be[E]??0,z:ae});const ge=t.timeline({paused:!0});ge.to(ie,{x:0,ease:"power2.inOut",stagger:1},0).to(he,{rotationY:0,z:0,ease:"power2.inOut",stagger:1},0);const we={p:0};p.create({trigger:"body",start:O,end:Me,onUpdate:E=>{t.to(we,{p:E.progress,duration:.8,ease:"power2.out",overwrite:!0,onUpdate:()=>ge.progress(we.p)})}})},oe=()=>{if(!t||!f.value||!u.value||!y.value||!V.value||!H.value||!$.value){C=requestAnimationFrame(oe);return}const _=Math.abs(Number(t.getProperty(f.value,"x"))),o=Math.abs(Number(t.getProperty(u.value,"x"))),r=Math.abs(Number(t.getProperty(y.value,"x"))),a=window.innerWidth*.6||1;let g=12-_/a*12,W=12-o/a*12,O=12-r/a*12;g=Math.max(0,Math.min(12,g)),W=Math.max(0,Math.min(12,W)),O=Math.max(0,Math.min(12,O)),t.set(V.value,{width:3+g-W,opacity:.5+g/24-W/24}),t.set(H.value,{width:3+W-O,opacity:.5+W/24-O/24}),t.set($.value,{width:3+O,opacity:.5+O/24}),C=requestAnimationFrame(oe)},te=()=>{p&&p.getAll().filter(_=>_.vars?.trigger===d.value).forEach(_=>_.kill())},B=()=>{if(w.value&&f.value&&u.value&&y.value){const o=w.value.offsetHeight*.9;f.value.style.height=`${o}px`,u.value.style.height=`${o}px`,y.value.style.height=`${o}px`;const r=[.41,.43,.47];[f.value,u.value,y.value].forEach((a,g)=>{const W=a.querySelector("video");if(W){const O=a.querySelector(".card");O&&(W.style.width=`${O.offsetWidth*r[g]}px`)}})}},s=_=>{if(T||!n.value||!d.value)return;d.value.classList.add("cursor-none");const o=d.value.getBoundingClientRect(),r=_.clientX-o.left,a=_.clientY-o.top;t&&t.set(n.value,{x:r,y:a}),v&&v(r),b&&b(a),t.to(n.value,{opacity:1,scale:1,duration:.18,ease:"power2.out"})},A=()=>{d.value&&(d.value.classList.remove("cursor-none"),!(T||!n.value)&&t.to(n.value,{opacity:0,scale:.6,duration:.18,ease:"power2.in"}))},P=_=>{if(T||!n.value||!d.value)return;const o=d.value.getBoundingClientRect();M=_.clientX-o.left,K=_.clientY-o.top,!S&&(S=requestAnimationFrame(()=>{v&&v(M),b&&b(K),S=0}))},Z=()=>{d.value.style.height=window.innerHeight+"px",B(),L&&clearTimeout(L),L=setTimeout(()=>{p&&t&&(te(),setTimeout(()=>{re(),p.refresh()},10))},100)};return de(async()=>{await ue(),t=(await ee(()=>import("./BhBxn6SA.js").then(o=>o.L),__vite__mapDeps([0,1]),import.meta.url)).gsap,n.value&&(t.set(n.value,{x:0,y:0,opacity:0,scale:.6}),v=t.quickTo(n.value,"x",{duration:.22,ease:"power3.out"}),b=t.quickTo(n.value,"y",{duration:.22,ease:"power3.out"})),re(),Z(),oe(),window.addEventListener("resize",Z),z=_e(()=>{Z()}),setTimeout(()=>{B()},100)}),pe(()=>{te(),C&&(cancelAnimationFrame(C),C=null),window.removeEventListener("resize",Z),z(),L&&clearTimeout(L)}),(_,o)=>(c(),i("section",{ref_key:"container",ref:d,class:"full-height-text locked",role:"region","aria-labelledby":k.header?"full-height-text-heading":null},[k.header?(c(),i("h2",Jt,q(k.header),1)):X("",!0),e("div",Qt,[e("p",er,[(c(!0),i(N,null,j(D.value,(r,a)=>(c(),i("span",{key:`line1-${a}`,class:"text-char",ref_for:!0,ref:g=>x.value[`line1-${a}`]=g}
2,q(r===" "?"Â ":r),1))),128))]),e("p",tr,[(c(!0),i(N,null,j(R.value,(r,a)=>(c(),i("span",{key:`line2-${a}`,class:"text-char",ref_for:!0,ref:g=>x.value[`line2-${a}`]=g},q(r===" "?"Â ":r),1))),128))]),e("p",rr,[(c(!0),i(N,null,j(F.value,(r,a)=>(c(),i("span",{key:`line3-${a}`,class:"text-char",ref_for:!0,ref:g=>x.value[`line3-${a}`]=g},q(r===" "?"Â ":r),1))),128))])]),e("div",{ref_key:"textContainer",ref:w,class:"text-container"},[e("p",or,[(c(!0),i(N,null,j(D.value,(r,a)=>(c(),i("span",{key:`line1-${a}`,class:"text-char",ref_for:!0,ref:g=>x.value[`line1-${a}`]=g},q(r===" "?"Â ":r),1))),128))]),e("p",sr,[(c(!0),i(N,null,j(R.value,(r,a)=>(c(),i("span",{key:`line2-${a}`,class:"text-char",ref_for:!0,ref:g=>x.value[`line2-${a}`]=g},q(r===" "?"Â ":r),1))),128))]),e("p",lr,[(c(!0),i(N,null,j(F.value,(r,a)=>(c(),i("span",{key:`line3-${a}`,class:"text-char",ref_for:!0,ref:g=>x.value[`line3-${a}`]=g},q(r===" "?"Â ":r),1))),128))])],512),e("div",nr,[e("div",{ref_key:"card1",ref:f,class:"card-container card-container-1",role:"button",tabindex:"0","aria-label":"Explore first product",onClick:o[0]||(o[0]=r=>m(0)),onKeydown:[o[1]||(o[1]=le(ne(r=>G(0,r),["prevent"]),["enter"])),o[2]||(o[2]=le(ne(r=>G(0,r),["prevent"]),["space"]))],onPointerenter:s,onPointerleave:A,onPointermove:P},[...o[9]||(o[9]=[e("div",{class:"card-3d"},[e("img",{src:Xt,class:"card card-1","aria-hidden":"true"}),e("video",{class:"video-card-1",src:Dt,loop:"",autoplay:"",muted:"",playsinline:"","aria-hidden":"true"})],-1)])],544),e("div",{ref_key:"card2",ref:u,class:"card-container card-container-2",role:"button",tabindex:"0","aria-label":"Explore second product",onClick:o[3]||(o[3]=r=>m(1)),onKeydown:[o[4]||(o[4]=le(ne(r=>G(1,r),["prevent"]),["enter"])),o[5]||(o[5]=le(ne(r=>G(1,r),["prevent"]),["space"]))],onPointerenter:s,onPointerleave:A,onPointermove:P},[...o[10]||(o[10]=[e("div",{class:"card-3d"},[e("img",{src:Nt,class:"card card-2","aria-hidden":"true"}),e("video",{class:"video-card-2",src:jt,loop:"",autoplay:"",muted:"",playsinline:"","aria-hidden":"true"})],-1)])],544),e("div",{ref_key:"card3",ref:y,class:"card-container card-container-3",role:"button",tabindex:"0","aria-label":"Explore third product",onClick:o[6]||(o[6]=r=>m(2)),onKeydown:[o[7]||(o[7]=le(ne(r=>G(2,r),["prevent"]),["enter"])),o[8]||(o[8]=le(ne(r=>G(2,r),["prevent"]),["space"]))],onPointerenter:s,onPointerleave:A,onPointermove:P},[...o[11]||(o[11]=[e("div",{class:"card-3d"},[e("img",{src:Kt,class:"card card-3","aria-hidden":"true"}),e("video",{class:"video-card-3",src:Gt,loop:"",autoplay:"",muted:"",playsinline:"","aria-hidden":"true"})],-1)])],544)]),e("div",ar,[e("div",{ref_key:"progress1",ref:V,class:"ui-progress-inner"},null,512),e("div",{ref_key:"progress2",ref:H,class:"ui-progress-inner"},null,512),e("div",{ref_key:"progress3",ref:$,class:"ui-progress-inner"},null,512)]),e("div",{ref_key:"cursorEl",ref:n,class:"cursor-dot","aria-hidden":"true"}," Explore ",512)],8,Ut))}},cr=me(ir,[["__scopeId","data-v-6e76baa0"]]),dr={class:"wrapper-content"},ur={class:"fixed-content-inner"},wr={__name:"index",setup(k){const t=l(null),p=l(null);let z=null;const h=Ne("isSceneLoaded");De(h,f=>{f&&d()},{immediate:!1});const d=()=>{if(p.value&&t.value){let f=p.value.offsetHeight;for(let u=0;u<document.getElementsByClassName("locked").length;u++)f+=900*window.scrollStop;f+=1800*window.scrollStop,f+=1800*window.scrollStop,t.value.style.height=`${f}px`}},w=()=>{h.value&&d()};return de(async()=>{await ue(),h.value&&d(),window.addEventListener("resize",w),window.ResizeObserver&&p.value&&(z=new ResizeObserver(()=>{h.value&&d()}),z.observe(p.value))}),pe(()=>{window.removeEventListener("resize",w),z&&(z.disconnect(),z=null)}),(f,u)=>{const y=gt;return c(),i("div",{ref_key:"wrapperRef",ref:t,class:"wrapper",role:"main"},[e("div",dr,[e("div",{ref_key:"fixedContentRef",ref:p,class:"fixed-content"},[e("div",ur,[u[0]||(u[0]=e("div",{class:"ui-intro"},[e("div",{class:"intro-3d"},[e("p",{class:"intro-description"},"Step Onto The"),e("h1",null,[e("span",{class:"sr-only"},"Ironhill"),e("svg",{class:"baseline",viewBox:"0 0 706 121",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false"},[e("path",{d:"M702.704 95.1027L705.351 95.4556L702.351 116.456L701.998 119.103H623.469V116.456C631.057 116.456 632.292 112.22 632.292 103.044V18.5144C632.292 9.33796 631.057 5.27914 623.469 5.27914V2.63208H652.586V5.27914C644.998 5.27914 643.763 9.33796 643.763 18.5144V112.926H686.998C696.175 112.926 700.586 110.103 702.704 95.1027Z",fill:"#FEC81E"}),e("path",{d:"M611.021 95.1027L613.669 95.4556L610.668 116.456L610.316 119.103H531.786V116.456C539.374 116.456 540.61 112.22 540.61 103.044V18.5144C540.61 9.33796 539.374 5.27914 531.786 5.27914V2.63208H560.904V5.27914C553.316 5.27914 552.08 9.33796 552.08 18.5144V112.926H595.316C604.492 112.926 608.904 110.103 611.021 95.1027Z",fill:"#FEC81E"}),e("path",{d:"M493.011 119.103V116.456C500.599 116.456 501.834 112.22 501.834 103.044V18.5144C501.834 9.33796 500.599 5.27914 493.011 5.27914V2.63208H522.128V5.27914C514.54 5.27914 513.305 9.33796 513.305 18.5144V103.044C513.305 112.22 514.54 116.456 522.128 116.456V119.103H493.011Z",fill:"#FEC81E"}),e("path",{d:"M483.338 5.27914C475.749 5.27914 474.514 9.33796 474.514 18.5144V103.044C474.514 112.22 475.749 116.456 483.338 116.456V119.103H454.22V116.456C461.808 116.456 463.043 112.22 463.043 103.044V58.7497H394.22V103.044C394.22 112.22 395.455 116.456 403.043 116.456V119.103H373.926V116.456C381.514 116.456 382.749 112.22 382.749 103.044V18.5144C382.749 9.33796 381.514 5.27914 373.926 5.27914V2.63208H403.043V5.27914C395.455 5.27914 394.22 9.33796 394.22 18.5144V52.5733H463.043V18.5144C463.043 9.33796 461.808 5.27914 454.22 5.27914V2.63208H483.338V5.27914Z",fill:"#FEC81E"}),e("path",{d:"M253.294 119.103V116.456C260.882 116.456 262.117 112.22 262.117 103.044V18.5144C262.117 9.33796 260.882 5.27914 253.294 5.27914V2.63208H263.882C271.294 2.80855 274.117 4.74973 280.294 12.8674L349.294 105.514V18.5144C349.294 9.33796 348.059 5.27914 340.47 5.27914V2.63208H364.294V5.27914C356.706 5.27914 355.47 9.33796 355.47 18.5144V119.103C347 119.103 344 117.691 337.294 108.691L268.294 16.0438V103.044C268.294 112.22 269.529 116.456 277.117 116.456V119.103H253.294Z",fill:"#FEC81E"}),e("path",{d:"M136.796 60.8672C136.796 26.4554 157.09 0.867188 190.619 0.867188C224.149 0.867188 244.443 26.4554 244.443 60.8672C244.443 95.279 224.149 120.867 190.619 120.867C157.09 120.867 136.796 95.279 136.796 60.8672ZM148.619 64.7495C151.619 96.6907 169.443 116.808 196.796 114.161C222.031 111.867 235.972 88.7495 232.796 56.8084C229.619 24.8672 211.796 4.74954 184.619 7.3966C159.208 9.86719 145.443 32.8084 148.619 64.7495Z",fill:"#FEC81E"}),e("path",{d:"M113.19 84.338C119.542 110.103 128.895 116.456 140.366 116.456V119.103C121.484 119.103 109.484 116.456 102.601 89.2792C95.8954 62.8086 86.1895 57.1615 62.013 57.1615H59.7189V103.044C59.7189 112.22 60.9542 116.456 68.5425 116.456V119.103H39.4248V116.456C47.013 116.456 48.2483 112.22 48.2483 103.044V18.5144C48.2483 9.33796 47.013 5.27914 39.4248 5.27914V2.63208H78.4248C92.7189 2.63208 118.307 3.6909 118.307 3
20.1615C118.307 48.8674 106.307 54.6909 93.6013 56.4556C102.954 61.0439 109.484 69.5144 113.19 84.338ZM59.7189 50.985H81.0719C98.5425 50.985 106.837 44.2791 106.837 30.1615C106.837 16.0438 98.5425 8.80856 81.0719 8.80856H59.7189V50.985Z",fill:"#FEC81E"}),e("path",{d:"M0.651367 119.103V116.456C8.2396 116.456 9.4749 112.22 9.4749 103.044V18.5144C9.4749 9.33796 8.2396 5.27914 0.651367 5.27914V2.63208H29.769V5.27914C22.1808 5.27914 20.9455 9.33796 20.9455 18.5144V103.044C20.9455 112.22 22.1808 116.456 29.769 116.456V119.103H0.651367Z",fill:"#FEC81E"})])]),e("p",{class:"intro-description"},"Known to some, found by few.")]),e("div",{class:"scroll"},[e("span",null,"Scroll to explore"),e("div",{class:"line"},[e("div",{class:"line-inner"})])])],-1)),J(Fe,{text:"There's a place not far from here the maps won't show, known to some as the Ironhill.",noteBottom:"Beyond the noise, behind the veil, reached by foot and feel."}),J(qt,{class:"locked",text:"Here, my friends, is where racing minds turn to clear thoughts, a space of nature's doing - where the fruits of your labour can be plucked from the vine.","note-top":"25.3444° S <hr style='display: inline-block; width: 54px; margin: 0 12px; border: none; border-top: 1px solid #CFD0C0;'></CharacterReveal> 131.0369° E"}),J(Fe,{text:"Meet the keepers of our crafts, the ones from whom our goods are born."}),J(y),u[1]||(u[1]=e("div",{class:"space"},null,-1)),J(cr,{header:"Ironhill produce",line1:"Simple wares,",line2:"born from",line3:"honest work.",card1Href:"/produce#eggs",card2Href:"/produce#beef",card3Href:"/produce#honey"}),J(Ue)])],512)])],512)}}};export{wr 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.