1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CMuMJSPu.js","./B30BqIw0.js","./entry.BE7KYCbw.css"])))=>i.map(i=>d[i]); 2import{b as z,b3 as G,c as s,r as L,H as S,m as t,v as i,w as v,b4 as $,Y as h,x as y,q as o,j as c,k as x,s as M,o as _,l as Z,U as O,V as F,Q as H}from"./B30BqIw0.js";import{_ as R}from"./C-EdCaY6.js";import{u as Y,i as b,C as q}from"./CKMqasif.js";import{u as Q}from"./jFCjGePJ.js";import{u as J}from"./DgKymIvq.js";const K=["src","type"],W={key:2},X={key:0,class:"absolute top-4 right-0 float-right w-10 h-10 i-carbon-zoom-in cursor-pointer"},ee=10,ne=z({__name:"CmsElementImage",props:{content:{},imageGallery:{type:Boolean},isZoomEnable:{type:Boolean}},setup(C){const a=C,{getUrlPrefix:E}=J(),{containerStyle:k,displayMode:r,imageContainerAttrs:w,imageAttrs:n,imageLink:P,isVideoElement:A,mimeType:I}=Y(a.content),{getConfigValue:m}=Q(a.content),{isFirstImage:V}=G(),l=s(()=>!!m("isPreload")||V),B=s(()=>!!m("isDecorative")),U=s(()=>B.value?"":a.content.data?.media?.translated?.alt||a.content.data?.media?.alt),u=L(null),{width:d,height:p}=S(u);function f(e){return e?Math.ceil(e/100)*100:ee}const j=s(()=>{const e=d.value>p.value?`width=${f(d.value)}`:`height=${f(p.value)}`;return`${n.value.src}?${e}&fit=crop,smart`}),D=s(()=>{const e=Object.assign({},w.value);return e?.href&&(e.href=H(e.href,E()).path),e}),N=s(()=>b(a.content.data.media)?O(()=>F(()=>import("./CMuMJSPu.js"),__vite__mapDeps([0,1,2]),import.meta.url)):"");return(e,g)=>{const T=R;return t(n).src?(o(),i(h(t(P).url?"a":"div"),$({key:0,class:["cms-element-image relative w-full block",{"flex justify-center items-center":e.imageGallery}],style:t(r)!=="standard"?{...t(k)}:{}},D.value),{default:v(()=>[t(A)?(o(),c("video",{key:0,controls:"",class:_({"h-full w-full":!0,"absolute inset-0":["cover","stretch"].includes(t(r)),"object-cover":t(r)==="cover"})},[x("source",{src:t(n).src,type:t(I)},null,8,K),g[0]||(g[0]=M(" Your browser does not support the video tag. "))],2)):t(b)(a.content.data.media)?(o(),i(t(q),{key:1},{default:v(()=>[(o(),i(h(N.value),{src:a.content.data.media.url},null,8,["src"]))]),_:1})):(o(),c("span",W,[e.isZoomEnable?(o(),c("span",X)):y("",!0),Z(T,{format:"webp",preload:!!l.value,placeholder:"",ref_key:"imageElement",ref:u,loading:l.value?"eager":"lazy",fetchpriority:l.value?"high":"undefined",class:_({"w-full h-full":!e.imageGallery,"w-full min-h-100":e.imageGallery,"cursor-zoom-in":e.isZoomEnable,"absolute inset-0":["cover","stretch"].includes(t(r)),"object-cover":t(r)==="cover","object-contain":e.imageGallery}),alt:U.value,src:j.value,srcset:t(n).srcset},null,8,["preload","loading","fetchpriority","class","alt","src","srcset"])]))]),_:1},16,["class","style"])):y("",!0)}}});export{ne 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.