1import{_ as w}from"./CphFRQ6G.js";import{_ as B}from"./DQmFAKpS.js";import{u as h}from"./DDjN3CnM.js";import{s as C,$,a0 as r,m as a,F as d,a8 as m,k as V,aD as E,j as n,q as N,p,ah as l,aj as i,U as S,i as j}from"./DJnCcjL8.js";import"./jMe_hbyu.js";import"./BfIwj1_6.js";import"./3TOkpMLE.js";import"./ilL2GgD0.js";import"./DOPkRTL9.js";import"./Cl1F4VYt.js";import"./Bt5x1V3-.js";import"./Duq_1e-e.js";import"./SZGhzUzM.js";import"./CsX6Ryp0.js";import"./B2u0Z4F3.js";const L={class:"relative w-full overflow-hidden rounded-lg mb-2 aspect-[4/3]"},M={class:"pt-4 pb-2"},z={class:"text-sm font-semibold mb-6 lg:min-h-[2.5rem]"},G={class:"flex flex-wrap gap-3.5"},g="cubic-bezier(0.16, 1, 0.3, 1)",P=C({__name:"GridView",props:{items:{}},setup(f){const{bgColor:_,textColor:x,setBrandBg:k,clearBrandBg:c}=h(),v=j(()=>({backgroundColor:_.value||"transparent",color:x.value,transition:`color 120ms ${g}, background-color 300ms ${g}`}));$(()=>c());function b(u){document.documentElement.classList.add("vt-from-card"),setTimeout(()=>document.documentElement.classList.remove("vt-from-card"),1200);const s=u.currentTarget.querySelector(".rounded-lg");s&&s.style.setProperty("view-transition-name","work-hero-active")}return(u,t)=>{const s=w,y=B;return r(),a("section",{class:"container grid gap-x-10 gap-y-24 grid-cols-1 lg:grid-cols-3 pt-8 pb-24",style:S(i(v))},[(r(!0),a(d,null,m(f.items,e=>(r(),V(y,{key:e.slug,to:`/work/${e.slug}`,class:"flex flex-col cursor-pointer group",onMouseenter:o=>i(k)(e.brandPrimary),onMouseleave:t[0]||(t[0]=o=>i(c)()),onClick:t[1]||(t[1]=o=>b(o))},{default:E(()=>[n("div",L,[N(s,{src:e.thumbnail||e.heroMedia,alt:e.title,class:"w-full h-full object-cover transition-transform duration-[0.6s] ease-out-expo group-hover:scale-[1.03]",loading:"lazy"},null,8,["src","alt"])]),n("div",M,[n("p",z,[p(l(e.client)+" ",1),t[2]||(t[2]=n("span",{class:"text-neutral-mid mx-1"},"|",-1)),p(" "+l(e.tagline),1)]),n("div",G,[(r(!0),a(d,null,m(e.categories,o=>(r(),a("span",{key:o,class:"text-xs lowercase text-center border border-current/40 rounded-full px-6 py-3 flex-1"},l(o),1))),128))])])]),_:2},1032,["to","onMouseenter"]))),128))],4)}}}),Y=Object.assign(P,{__name:"WorkGridView"});export{Y 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.