1import{u as o,a,o as n,f as t,e as s,j as r}from"./Do1nZpFk.js";import"./BM5aYONo.js";const l={class:"mb-4"},g=["href"],i=["src"],c=["href"],b={__name:"Ad",setup(d){const{blogStore:e}=o();return(_,m)=>(n(),a("div",l,[t(e).getBlogSettings.layout.sidebar?(n(),a("a",{key:0,href:t(e).getBlogSettings.ad_banner.href,target:"_blank",style:{height:"20vh"},class:"d-flex position-relative justify-content-center mx-auto my-20 max-w-lg lg:max-w-none"},[s("img",{class:"img-fluid rounded",src:t(e).getBlogSettings.ad_banner.image.src||t(e).getBlogSettings.ad_banner.image.placeholder,alt:"Banner"},null,8,i)],8,g)):(n(),a("a",{key:1,href:t(e).getBlogSettings.ad_banner.href,target:"_blank",style:{height:"20vh"},class:"d-flex position-relative justify-content-center mx-auto my-20 max-w-lg lg:max-w-none"},[s("div",{class:"position-absolute w-100 h-100 rounded bg-cover",style:r({backgroundRepeat:"no-repeat",backgroundImage:t(e).getBlogSettings.ad_banner.image.src||t(e).getBlogSettings.ad_banner.image.placeholder?`url(${t(e).getBlogSettings.ad_banner.image.src||t(e).getBlogSettings.ad_banner.image.placeholder})`:"unset"})},null,4)],8,c))]))}};export{b 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.