1import{_ as f}from"./CFnxAIFK.js";import{_}from"./BQ50gokP.js";import{d as x,o as s,g as n,j as a,h as l,i as m,p as v,v as y,s as p,k as i,B as h,A as k}from"./D2Ffvoan.js";const w={class:"flex items-center justify-center w-full"},b={key:0},I={class:"relative"},B={key:0,class:"text-sm text-center py-3 px-8 sm:px-12 lg:px-16"},C=x({__name:"ImageFigure",props:{image:{},caption:{},link:{},customSource:{}},setup(e){const r=e,o=h(!1),c=k(()=>r.customSource||r.image?.source||null);return(S,t)=>{const d=f,g=_;return s(),n("div",{class:"relative",onPointerdown:t[0]||(t[0]=u=>o.value=!a(o)),onMouseenter:t[1]||(t[1]=u=>o.value=!0),onMouseleave:t[2]||(t[2]=u=>o.value=!1)},[l("div",w,[e.image?(s(),n("figure",b,[l("div",I,[m(g,{href:e.link,plain:""},{default:v(()=>[m(d,{asset:e.image,preset:"1920x1200",class:"w-fit rounded-64 sm:rounded-80"},null,8,["asset"])]),_:1},8,["href"]),a(c)?(s(),n("div",{key:0,class:y(["absolute bottom-6 lg:bottom-12 right-6 lg:right-12 py-3 px-8 bg-gray-100/70 text-xs rounded-32 transition-opacity duration-1000 opacity-0 [&.show]:opacity-100",{show:a(o)}])},p(a(c)),3)):i("",!0)]),e.caption?(s(),n("figcaption",B,p(e.caption),1)):i("",!0)])):i("",!0)])],32)}}}),$=Object.assign(C,{__name:"ImageFigure"});export{$ as _};
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.