1import{_}from"./nnerV5db.js";import{i as w}from"./BIFD3iOF.js";import{d as D,c as r,F as d,r as $,l as u,o,K as h,G as i,j as y}from"./CZ7uo5US.js";const v={key:0,class:"background-images-container"},C=D({__name:"BackgroundImagesModule",props:{componentData:{},additionalData:{}},setup(a){const p=t=>{const c=t.horizontal_distance||"0px",e=t.vertical_distance||"0px",n=`${t.horizontal}:${c}`,l=`${t.vertical}:${e}`,f=t.width?`width:${t.width}`:null,g=t.height?`height:${t.height}`:null,k=t.rotation?`transform: rotate(${t.rotation}deg)`:null,x=t.repeat_picture?"position: fixed":"position: absolute";return[n,l,f,g,k,x].filter(Boolean).join("; ")},s=t=>{const c=t.width||"0",e=t.height||"0",n=c.includes("px")?c.replace(/\D/g,""):"0",l=e.includes("px")?e.replace(/\D/g,""):"0";return`${n}x${l}`},m=t=>t?`background-image: url(${w(t.image).getImage(s(t),!0)});`:"";return(t,c)=>{const e=_;return a.componentData&&a.componentData.images&&a.componentData.images.length>0?(o(),r("div",v,[(o(!0),r(d,null,$(a.componentData.images,n=>(o(),r("div",{key:n,class:i(["background-image-container",{"d-none d-lg-block":!n.all_resolutions}]),style:h(p(n))},[n.image?(o(),r(d,{key:0},[n.repeat_picture?(o(),r("div",{key:1,class:i(["repeated-image",{"full-width":n.full_width}]),style:h(m(n))},null,6)):(o(),y(e,{key:0,class:i({"full-width":n.full_width}),"with-file-extension":!0,"component-data":n.image,"component-index":a.componentData?.index,format:s(n)},null,8,["class","component-data","component-index","format"]))],64)):u("",!0)],6))),128))])):u("",!0)}}});export{C 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.