1import{d as v,u as _,B as m,m as k,a3 as h,f as l,o as y,c as A,n as g,Y as B,h as S,z as p,l as C}from"#entry";import{_ as w}from"./DlAUqK2U.js";const E=v({__name:"SpaceHandler",props:{blok:{}},setup(c){const u=_(),e=c,t=m(),o=t.query&&t.query._storyblok&&t.query._storyblok!=="",i=p(()=>{if(e.blok?.visualAppearance?.customer_type?.length){if(e.blok.visualAppearance.customer_type==="hidden"&&!o||e.blok.visualAppearance.customer_type==="b2c"&&u.isB2B)return!1;if(e.blok.visualAppearance.customer_type==="b2b"&&!u.isB2B)return!1}return!0}),b=p(()=>!!(e.blok?.visualAppearance?.customer_type?.length&&e.blok.visualAppearance.customer_type==="hidden"&&o)),f=p(()=>{const s=[];return e.blok?.visualAppearance?.spacing?s.push(e.blok.visualAppearance.spacing):s.push("spacing-base"),!o&&e.blok?.visualAppearance?.fade_type?.length&&s.push(e.blok?.visualAppearance?.fade_type.replaceAll("_","-")),s}),r=C(null);return k(()=>{if(r.value&&!o&&e.blok?.visualAppearance?.fade_type?.length){const s={root:null,threshold:0,rootMargin:"-100px"},a=new IntersectionObserver(d=>{d.forEach(n=>{n.isIntersecting&&(n.target.classList.add("observer-in-view"),a.unobserve(n.target))})},s);a.observe(r.value),h(()=>{a.unobserve(r.value)})}}),(s,a)=>l(i)?(y(),A("div",{key:0,ref_key:"observerEl",ref:r,class:g([l(f),{showAsHidden:l(b)}])},[B(s.$slots,"default",{},void 0,!0)],2)):S("",!0)}}),q=w(E,[["__scopeId","data-v-b5922445"]]);export{q as S};
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.