1import{s as T,R as A,D as I,v as l,G as m,n as d,k as a,r as o,f as S,F as R,K as M,z as B,e as E,A as N,N as $,J as c}from"./D9RCvU4K.js";import{g as D}from"./CpsPJSKh.js";const F=["data-slice-type","data-slice-variation"],L={class:"landscape:flex landscape:flex-col landscape:items-center relative w-1/1"},O={class:"relative landscape:w-1/2 z-2"},G=T({__name:"index",props:D(),setup(g){const s=g,{elsToRevert:p}=A(),f=c(),i=c([]),u=c(),r=c(),v=[{from:-5,to:0},{from:5,to:10},{from:5,to:0},{from:-5,to:-10}];let n=s.slice.primary.images.length,h=0;I(()=>{y()});function y(){x(),b(),w()}function x(){const e=l.timeline({scrollTrigger:{trigger:r.value,start:"top bottom",end:"bottom bottom-=5%",toggleActions:"none play none reset"},defaults:{ease:"expo.inOut",duration:1}}).from(r.value,{"--x-translate":1,duration:1}).fromTo(r.value.children[0],{yPercent:100,clipPath:"inset(0% 0% 100% 0%)"},{yPercent:0,clipPath:"inset(0% 0% 0% 0%)"},"<+=0.1");p.push(e)}function b(){const e=l.timeline({scrollTrigger:{trigger:f.value,start:"center bottom",end:"bottom bottom-=5%",toggleActions:"none play none reset",scrub:!0},defaults:{ease:"power1.inOut",duration:1}});i.value.forEach((k,t)=>{e.to(i.value[t%s.slice.primary.images.length],{rotation:v[t%4].to},"<")})}function w(){p.push(l.fromTo(u.value,{xPercent:0},{xPercent:-1/3*100,ease:"none",duration:7,repeat:-1}))}function _(){n--;let e;n>0?(e=Math.abs(n%s.slice.primary.images.length),Math.abs(e-1)%s.slice.primary.images.length):(n=s.slice.primary.images.length,e=0),l.set(i.value[e],{zIndex:--h})}return(e,k)=>{const t=S,P=E;return m(),d("section",{id:"gallery","data-slice-type":e.slice.slice_type,"data-slice-variation":e.slice.variation,class:"px-(--grid-margin) pt-[8.16svh] pb-[9.79svh] landscape:pt-[14.5svh] landscape:pb-[11.19svh] overflow-hidden",ref_key:"ctn",ref:f},[a("div",{onClick:_,class:"uppercase landscape:flex landscape:flex-col landscape:items-center cursor-hoverable"},[a("div",L,[a("div",{ref_key:"banner",ref:u,class:"pointer-events-none hidden z-1 landscape:flex absolute text-[15.97svw] min-w-max tracking-normal font-(--f-bold) w-max"},[o(t,{wrapper:"div",class:"mx-[0.125em]",field:e.slice.primary.headline},null,8,["field"]),o(t,{wrapper:"div",class:"mx-[0.125em]",field:e.slice.primary.headline},null,8,["field"]),o(t,{wrapper:"div",class:"mx-[0.125em]",field:e.slice.primary.headline},null,8,["field"])],512),a("div",O,[(m(!0),d(R,null,M(e.slice.primary.images,(z,C)=>(m(),d("div",{class:B(C>0?"absolute top-0 left-0":"relative"),ref_for:!0,ref_key:"imgCtns",ref:i},[o(P,{image:z.image,"x-window-ratio":833/1728,"x-portrait-ratio":318/390},null,8,["image"])],2))),256))])]),a("div",{ref_key:"title",ref:r,style:N(`--ref-size: ${e.context?.win?.isInPortraitMode?"var(--grid-width) * 0.25":"var(--grid-width) * 0.078"};`),class:"text-small-p tracking-tight z-1 flex justify-between with-brackets mt-[6.28svh] w-1/2 mx-auto landscape:w-25/160 landscape:mt-[7.43svh]"},[a("div",null,$(e.slice.primary.indicator_text),1)],4)])],8,F)}}});export{G 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.