1import{_ as v}from"./Bshn1A0_.js";import{r as p,d as y,e,f as P,w as b,i as d,aE as C,g as o,k as E,m as r,q as s,t as M,_ as B,x as n}from"./BnP3yFtX.js";import"./DZqdp8zj.js";const m=p(0),_=p(0);function l(){m.value=document.documentElement.clientWidth,_.value=document.documentElement.clientHeight}typeof window=="object"&&(l(),window.addEventListener("DOMContentLoaded",l),window.addEventListener("resize",l));function L(){return{width:m,height:_}}const S=["src","alt","title"],V={key:0,class:"parallax-picture__description"},z=["innerHTML"],H={key:1,class:"parallax-picture__copyright"},N=y({__name:"ParallaxPicture",props:{picture:{},lightboxPicture:{},caption:{},credits:{},creditsPosition:{},link:{}},setup(t){const a=t,{width:u}=L(),h=n(()=>!!(a.caption||a.credits)),f=n(()=>u.value>0?`${u.value}px`:"100vw"),g=n(()=>{const i=a?.picture,c=i?.breakpoints;return i?.url||c?.desktop?.sources?.[0]?.url||c?.mobile?.sources?.[0]?.url||""}),k=n(()=>({"--viewport-width":f.value}));return(i,c)=>{const x=v,w=B;return e(),P(w,null,{default:b(()=>[d("figure",{class:"parallax-picture",style:C(o(k))},[d("img",{class:"parallax-picture__image",src:o(g),alt:t.caption,title:t.picture?.title||void 0,loading:"lazy"},null,8,S),E(x,{marking:t.picture?.aiMarking,label:"full"},null,8,["marking"]),o(h)?(e(),r("figcaption",V,[t.caption?(e(),r("span",{key:0,innerHTML:t.caption},null,8,z)):s("",!0),t.credits?(e(),r("span",H," © "+M(t.credits),1)):s("",!0)])):s("",!0)],4)]),_:1})}}}),D=Object.assign(N,{__name:"MoleculesPicturesParallaxPicture"});export{D 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.