1import f from"./XIrq9obg.js";import{r as w,c as n,C as i,o as t,a as s,B as m,e as a,Z as y,$ as r,K as c,D as b,a0 as v,a1 as k,J as C,a2 as L,a3 as B}from"#entry";const A={key:0,class:"c-location-card rounded-sm overflow-hidden"},j={class:"px-24 py-md2 >=960:px-20 >=1440:px-40 >=1920:px-md2 >=960:py-48 w-full"},T={class:"flex flex-col justify-center items-center text-center"},$={class:"flex flex-col justify-center items-center overflow-hidden duration-1000"},E={key:0,class:"text-header-xxs font-bold mb-12"},F={class:"italic text-caption-md"},N={key:0},P={key:1},D=["innerHTML"],O=["href"],V={key:1,class:"w-full flex items-center gap-12 py-8 mt-24"},z={key:2,class:"flex justify-center mx-auto flex-col gap-8 mt-24"},H={class:"flex gap-x-20 flex-wrap justify-between"},M={class:"text-caption-md font-bold uppercase"},S=["href"],U={__name:"LocationCard",props:{item:Object,settings:Object,showAsCard:Boolean},setup(e){const l=w(!1);return(o,d)=>{const u=f;return e.item?(t(),n("div",A,[s("div",j,[e.item?.image?.cropUrl&&!e.settings?.hideImage?(t(),m(u,{key:0,src:("useLocalFocus"in o?o.useLocalFocus:a(y))(e.item.image?.cropUrl,e.item.localFocusPoint),width:e.item.image.width,height:e.item.image.height,ratio:1/1,fit:"cover",sizes:"170px >=375:170px >=605:170px",class:"w-full max-w-[170px] h-full mb-24 mx-auto",alt:e.item.altText},null,8,["src","width","height","alt"])):i("",!0),s("div",T,[s("div",$,[e.item.name?(t(),n("span",E,r(e.item.name),1)):i("",!0)]),s("div",F,[e.item.address&&!e.settings?.hideAddress?(t(),n("span",N,r(e.item.address),1)):i("",!0),e.item.country&&!e.settings?.hideCountry?(t(),n("span",P," ⢠"+r(e.item.country),1)):i("",!0)]),!e.settings?.hideEmail||!e.settings?.hideText?(t(),n("div",{key:0,class:c(["grid duration-300 ease-slow",[a(l)?"grid-rows-[1fr]":"grid-rows-[0fr] delay-100"]])},[s("div",{class:c(["flex flex-col justify-center items-center gap-32","overflow-hidden duration-200 ease-slow",[a(l)?"opacity-100 delay-200":"opacity-0"]])},[e.item.text&&!e.settings?.hideText?(t(),n("div",{key:0,class:"text-caption-md mt-8",innerHTML:e.item.text},null,8,D)):i("",!0),e.item.email&&!e.settings?.hideEmail?(t(),n("a",{key:1,href:`mailto:${e.item.email}`,class:"text-caption-md font-bold uppercase underline hover:no-underline cursor-pointer break-all"},r(e.item.email),9,O)):i("",!0)],2)],2)):i("",!0),!e.settings?.hideEmail&&e.item.email?.length||!e.settings?.hideText&&e.item.text?.length?(t(),n("div",V,[s("div",{class:c(["h-1 w-20 flex-grow",[e.showAsCard?"bg-current-color":"bg-current-color >=605:bg-current-primary"]])},null,2),s("button",{class:c(["c-contact-card__button","w-40 rounded-full aspect-square",[e.showAsCard?"bg-current-color":"bg-current-color >=605:bg-current-primary"]]),onClick:d[0]||(d[0]=()=>{l.value=!a(l)})},[b(a(v),{class:c(["c-contact-card__button-icon","w-full duration-300 ease-slow",[a(l)?"rotate-180":"rotate-0",e.showAsCard?"text-current-primary":"text-current-primary >=605:text-current-color"]])},null,8,["class"])],2),s("div",{class:c(["h-1 w-20 flex-grow",[e.showAsCard?"bg-current-color":"bg-current-color >=605:bg-current-primary"]])},null,2)])):i("",!0),e.item.phone&&!e.settings?.hidePhone?(t(),n("div",z,[s("div",H,[s("span",M,r(("useLabel"in o?o.useLabel:a(k))("blockContactsPhone").value),1),s("a",{href:`tel:${e.item.phone}`,class:"text-caption-md whitespace-nowrap >=960:hover:underline underline-offset-2"},r(e.item.phone),9,S)])])):i("",!0)])])])):i("",!0)}}},q={class:"c-block-list__separator-padding c-block-list__separator-line w-full text-current-primary bg-current-color py-md2"},K={__name:"BlockListBlocksBlockLocations",props:{content:Array,settings:Object},setup(e){const o=C(e.settings,"BlockContactLocations");return(d,u)=>{const h=U;return t(),n("div",{class:c(`c-block-list-locations ${a(o)}`)},[s("div",q,[e.content?.length>0?(t(),n("div",{key:0,class:c([">=605:max-w-layout-max <605:px-layout-margin <605:w-full >=605:mx-auto flex <605:snap-x <605:snap-mandatory >=605:grid gap-layout-gutter <605:overflow-x-auto",[[e.content.length===1?"grid-cols-1 w-12col >=605:w-8col":"w-12col"],[e.content.length===2?">=605:grid-cols-2 w-8col":"w-12col"],{">=605:grid-cols-2 >=960:grid-cols-3":e.content.length===3},{">=605:grid-cols-2 >=960:grid-cols-3 >=1440:grid-cols-4":e.content.length>=4}]])},[(t(!0),n(L,null,B(e.content,(g,x)=>(t(),m(h,{key:x,item:g,items:e.content,settings:e.settings?.hideFields,"show-as-card":e.settings?.showAsCards,class:c(["<605:snap-center",[[e.content.length>1?"c-block-list-locations__items-mobile":"w-full"],{"<960:first:col-span-2":e.content.length===3},[e.settings.showAsCards?"bg-current-primary text-current-color":"bg-current-primary text-current-color >=605:bg-current-color >=605:text-current-primary"]]])},null,8,["item","items","settings","show-as-card","class"]))),128))],2)):i("",!0)])],2)}}};export{K 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.