import{Ot as e,S as t,T as n,X as r,o as i,q as a,v as o,x as s}from"./framework-CFqPLBV8.js";var c={class:`relative isolate overflow-hidden bg-brand`},l=[`src`],u={key:1,class:`absolute inset-0 -z-10`,style:{"background-image":`linear-gradient(120deg, transparent 40%, rgb(255 255 255 / 0.08))`}},d={__name:`CoverBanner`,props:{image:{type:String,default:null}},setup(d){let f=d,p=s(()=>i().props.branding?.profile_cover??{}),m=s(()=>f.image||p.value.image_url||null);return(i,s)=>(a(),n(`div`,c,[m.value?(a(),n(o,{key:0},[t(`img`,{src:m.value,alt:``,class:`absolute inset-0 -z-10 size-full object-cover`,loading:`lazy`},null,8,l),t(`div`,{class:`absolute inset-0 -z-10 bg-brand`,style:e({opacity:p.value.overlay??.7})},null,4)],64)):(a(),n(`div`,u)),r(i.$slots,`default`)]))}};export{d as t};