import{_ as L,i as T,G as w,H as B,C as N,am as V,r as a,o as t,a as o,w as k,l as c,p as i,q as s,b as l}from"./main-DtyiNRRn.js";import{C as z}from"./ContactDetailsFi-DSRIj8ZO.js";const G={name:"ContactPersonFi",components:{ComponentWrapper:T,GridContainerFi:w,HeadlineFi:B,CloudImageFi:N,ContactDetailsFi:z},mixins:[V],props:{fields:{type:Object,default:()=>({})}}},I={class:"fi-col-start-1 fi-col-end-13 lg:fi-col-end-11 lg:fi-col-start-2"},P={class:"contact-person-fi__center-container"},j={class:"contact-person-fi__headline"},q={class:"contact-person-fi__layout"},D={class:"contact-person-fi__contact-details"},O={class:"contact-person-fi__contact-details-column contact-person-fi__contact-details-column--left"},W={class:"contact-person-fi__contact-details-head"},A=["innerHTML"],J=["innerHTML"],K={class:"contact-person-fi__image-container"},Q=["innerHTML"],R={key:1,class:"contact-person-fi__image-padding"},S={class:"contact-person-fi__image"};function U(n,X,e,Y,Z,x){const d=a("headline-fi"),y=a("contact-details-fi"),H=a("cloud-image-fi"),p=a("grid-container-fi"),F=a("component-wrapper");return t(),o(F,{class:"contact-person-fi"},{default:k(()=>[c(p,{"grid-class":"contact-person-fi__content"},{default:k(()=>{var _,f,r,m,u,h,v,g,b,M,C,E;return[i("div",I,[i("div",P,[i("div",j,[n.isEditMode&&e.fields.subheadline||(_=e.fields.subheadline)!=null&&_.value?(t(),o(d,{key:0,class:"fi-mb-12",tag:"div",color:"brand",size:30,"html-content":n.isEditMode?e.fields.subheadline.editable:(f=e.fields.subheadline)==null?void 0:f.value},null,8,["html-content"])):s("",!0),n.isEditMode&&e.fields.headline||(r=e.fields.headline)!=null&&r.value?(t(),o(d,{key:1,tag:"h3",size:60,"html-content":n.isEditMode?e.fields.headline.editable:(m=e.fields.headline)==null?void 0:m.value},null,8,["html-content"])):s("",!0)]),i("div",q,[i("div",D,[i("div",O,[i("div",W,[n.isEditMode&&e.fields.name||(u=e.fields.name)!=null&&u.value?(t(),l("div",{key:0,class:"contact-person-fi__name contact-person-fi__detail-line",innerHTML:n.isEditMode?e.fields.name.editable:n.legalisedContent(e.fields.name.value)},null,8,A)):s("",!0),n.isEditMode&&e.fields.role||(h=e.fields.role)!=null&&h.value?(t(),l("div",{key:1,class:"contact-person-fi__role contact-person-fi__detail-line",innerHTML:n.isEditMode?e.fields.role.editable:n.legalisedContent(e.fields.role.value)},null,8,J)):s("",!0)]),c(y,{phonenumber1:e.fields.phonenumber1,phonenumber2:e.fields.phonenumber2,fax:e.fields.fax,email:e.fields.email},null,8,["phonenumber1","phonenumber2","fax","email"])])]),i("div",K,[n.isEditMode&&e.fields.image?(t(),l("span",{key:0,class:"contact-person-fi__image",innerHTML:e.fields.image.editable},null,8,Q)):(g=(v=e.fields.image)==null?void 0:v.value)!=null&&g.src?(t(),l("div",R,[i("div",S,[c(H,{src:(M=(b=e.fields.image)==null?void 0:b.value)==null?void 0:M.src,alt:(E=(C=e.fields.image)==null?void 0:C.value)==null?void 0:E.alt,params:"func=crop&org_if_sml=0","full-height":""},null,8,["src","alt"])])])):s("",!0)])])])])]}),_:1})]),_:1})}const ne=L(G,[["render",U],["__scopeId","data-v-d7527979"]]);export{ne as default};