1import{g as d}from"./index-BvSoWoVY.js";import{S as m}from"./ScrollTrigger-CItBpdEV.js";import{d as p,r as s,e as _,a as r,b as t,n as u,k as g,t as f,o as c}from"./inertia-C4NloYwc.js";/* empty css *//* empty css */import"./_commonjsHelpers-CmZmv3Qo.js";const b={class:"two-columns overflow-hidden"},h={class:"flex items-center mx-auto"},v=["src","alt"],x={class:"mb-4"},y={key:0,class:"mb-4"},B=["innerHTML"],N=p({__name:"TwoColumnsBlock",props:{block:{}},setup(k){d.registerPlugin(m);const e=k,o=s(null),a=s(null),l=s(null),i=d.timeline(),n=e.block.data.layout==="image-left";return _(()=>{!o.value||!a.value||!l.value||(i.from(o.value,{backgroundColor:"#fff",duration:.85}).from(l.value,{xPercent:n?100:-100,opacity:0,duration:.2,ease:"power2.out"},"-=0.3").from(a.value,{xPercent:n?-100:100,opacity:0,ease:"power2.out",duration:.2},"-=0.3"),m.create({trigger:o.value,start:"top 90%",end:"bottom 20%",animation:i}))}),(w,C)=>(c(),r("section",b,[t("div",h,[t("div",{ref_key:"gridBlock",ref:o,class:u(`grid items-center ${e.block.data.layout==="image-left"?"lg:grid-cols-2":"lg:grid-cols-2 lg:grid-flow-dense bg-custom-red text-white"}`)},[t("div",{ref_key:"imageBlock",ref:a,class:u(e.block.data.layout==="image-left"?"":"lg:col-start-2")},[e.block.data.image?(c(),r("img",{key:0,src:`/storage/${e.block.data.image}`,alt:e.block.data.title,class:"w-full min-h-100 object-cover lg:h-[calc(80vh-161px)] lg:min-h-140"},null,8,v)):g("",!0)],2),t("div",{ref_key:"textBlock",ref:l,class:"lg:px-30 p-12"},[t("h2",x,f(e.block.data.title),1),e.block.data.subtitle?(c(),r("h3",y,f(e.block.data.subtitle),1)):g("",!0),t("h4",{class:"leading-relaxed",innerHTML:e.block.data.content},null,8,B)],512)],2)])]))}});export{N 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.