1import{_ as D}from"./D5ohXxNW.js";import{_ as H}from"./CWiznQFs.js";import V from"./B8vDC2Lw.js";import{_ as j}from"./CBd9hd-J.js";import z from"./CvqvY_Gn.js";import{b as O}from"./DnwsBMhS.js";import{s as R}from"./C86chrfv.js";import{d as W}from"./DzF-K-Vn.js";import{q,ab as A,a5 as E,W as o,a7 as G,N as u,O as n,L as b,a1 as s,a0 as d,F as f,X as v,u as i,l as a,a8 as K,K as t}from"./Cd75FhB2.js";import"./BtlZMv8e.js";import"./BPOkVIvZ.js";import"./CU6YxjRU.js";import"./Ci5RF5VI.js";import"./Dbopr8VC.js";import"./BusP5ec2.js";import"./DlAUqK2U.js";import"./BRiAjdz5.js";import"./qFndrg0g.js";import"./pyWeVuMD.js";import"./CVEslQ1b.js";const M={class:"flex flex-col gap-10 md:gap-16"},U={key:0},X={key:1,class:"flex flex-col gap-6 md:gap-8"},J={class:"text-xxs font-bold"},P={class:"grid gap-6 md:grid-cols-2 md:grid-cols-3 xl:grid-cols-4"},Q={key:2,class:"flex flex-col gap-6"},Y={class:"text-xxs font-bold"},Z={class:"text-xxs whitespace-pre-line not-italic"},ee={key:0},te={key:3,class:"flex flex-col gap-6"},oe={class:"text-xxs font-bold"},ne={class:"grid grid-cols-2 gap-x-6 gap-y-10 md:grid-cols-3 lg:grid-cols-4"},se=q({__name:"SbLocationItem",props:{blok:{},index:{},storyName:{}},async setup(e){let c,g;const{t:r,locale:x,defaultLocale:y}=W(),{stories:w}=([c,g]=A(()=>O("sb-team-leadership-member",[],100,"position:asc")),c=await c,g(),c),p=a(()=>R(w,e.blok.location)),C=a(()=>e.storyName?`${r("directions")} ${e.storyName}`:r("directions")),L=a(()=>e.storyName?`${r("leadershipTeam")} ${e.storyName}`:r("leadershipTeam")),_=a(()=>e.blok.address?`https://www.google.com/maps/dir/?api=1&destination=${encodeURIComponent(e.blok.address)}`:""),$=a(()=>({linktype:"story",cached_url:x.value===y?"kontakt":`${x.value}/kontakt`})),N=a(()=>({linktype:"url",url:_.value}));return(m,ie)=>{const S=D,B=H,I=V,h=j,T=z,F=K("editable");return E((t(),o("div",M,[e.blok.image?.filename||e.blok.description?(t(),o("div",{key:0,class:G(["grid grid-cols-1 gap-8 lg:gap-12",e.blok.image?.filename&&e.blok.description?"md:grid-cols-2":""])},[e.blok.image?.filename?(t(),o("div",U,[u(S,{image:e.blok.image,sizes:"xs:100vw sm:100vw md:50vw lg:50vw xl:50vw",index:e.index,classes:"pointer-events-none w-full object-cover "},null,8,["image","index"])])):n("",!0),e.blok.description?(t(),b(B,{key:1,blok:e.blok.description,class:"text-body"},null,8,["blok"])):n("",!0)],2)):n("",!0),e.blok.contact_options?.length?(t(),o("div",X,[s("h4",J,d(m.$t("contact")),1),s("div",P,[(t(!0),o(f,null,v(e.blok.contact_options,(l,k)=>(t(),b(I,{key:l._uid,blok:l,index:k},null,8,["blok","index"]))),128))]),s("div",null,[u(h,{variant:"solid",color:"black",link:i($),label:m.$t("contactCta")},null,8,["link","label"])])])):n("",!0),e.blok.address?(t(),o("div",Q,[s("h4",Y,d(i(C)),1),s("address",Z,d(e.blok.address),1),i(_)?(t(),o("div",ee,[u(h,{variant:"solid",color:"black",link:i(N),label:m.$t("directionsCta"),target:"_blank"},null,8,["link","label"])])):n("",!0)])):n("",!0),i(p).length?(t(),o("div",te,[s("h4",oe,d(i(L)),1),s("div",ne,[(t(!0),o(f,null,v(i(p),(l,k)=>(t(),b(T,{key:l.uuid,blok:l.content,index:k},null,8,["blok","index"]))),128))])])):n("",!0)])),[[F,e.blok]])}}}),$e=Object.assign(se,{__name:"SbLocationItem"});export{$e 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.