1import I from"./Dy0IncLk.js";import T from"./DkWGNHsB.js";import D from"./C8BGABDk.js";import N from"./BxWBKtWN.js";import{M as V,N as y,O as a,S as b,T as i,R as z,U as e,_ as n,V as f,Q as w,$ as L,P as S}from"./B-rITWnd.js";import"./85NLK1zf.js";const $={class:"relative h-full overflow-hidden"},Q={__name:"BaseSidebar",props:{blok:{type:Object,default:()=>({})}},setup(B){const c=B,s=V(()=>{var d,m,l,r,o;return!!((m=(d=c.blok)==null?void 0:d.sidebarImage)!=null&&m.filename)||!!((o=(r=(l=c.blok)==null?void 0:l.sidebarDash)==null?void 0:r.asset)!=null&&o.url)}),t=c.blok;return(d,m)=>{var u,p,_,k,h,g,x,v;const l=I,r=T,o=D,j=N;return a(),y("div",$,[e(s)?(a(),b(l,{key:0,class:"absolute h-full w-full object-cover",src:((p=(u=e(t).sidebarDash)==null?void 0:u.asset)==null?void 0:p.url)||((_=e(t).sidebarImage)==null?void 0:_.filename),alt:((h=(k=e(t).sidebarDash)==null?void 0:k.asset)==null?void 0:h.name)||((g=e(t).sidebarImage)==null?void 0:g.alt),provider:(v=(x=e(t).sidebarDash)==null?void 0:x.asset)!=null&&v.url?"cloudfront":"storyblok",sizes:"100vw lg:50vw"},null,8,["src","alt","provider"])):i("",!0),z("div",{class:n(["relative z-[1] flex h-full flex-col justify-start",e(s)?"p-10 pt-20 lg:justify-end lg:pt-40":"lg:justify-start"])},[e(t).sidebarTagline?(a(),y("span",{key:0,class:n(["subheading3 mb-4 block",e(s)?"text-left text-white drop-shadow-sm lg:text-right":"text-textcolor"])},f(e(t).sidebarTagline),3)):i("",!0),e(t).sidebarTitle?(a(),b(r,{key:1,level:"h2","visual-level":"h3",class:n(["font-bold",e(s)?"text-left text-white drop-shadow lg:text-right":"text-textcolor",e(t).sidebarLink&&e(t).sidebarLinkLabel?"mb-6":""])},{default:w(()=>[L(f(e(t).sidebarTitle),1)]),_:1},8,["class"])):i("",!0),e(t).sidebarLink&&e(t).sidebarLinkLabel?(a(),b(j,{key:2,link:e(t).sidebarLink,class:n(["link link-primary flex w-fit items-center justify-center",{"ml-auto":e(s)}])},{default:w(()=>[L(f(e(t).sidebarLinkLabel)+" ",1),S(o,{class:"ml-3 size-3",name:"fa7-solid:arrow-right"})]),_:1},8,["link","class"])):i("",!0)],2)])}}};export{Q 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.