import{_ as y,o as t,c as i,n as l,t as r,i as s,F as _,r as d,v as u,d as f,f as h}from"./entry.DPwc-EV0.js";const b={props:{fullName:{type:String},title:{type:String},bio:{type:String},website:{type:String},publicEmail:{type:String},phone:{type:String},socialLinks:{type:Array,default:()=>[]}},methods:{getIcon(a){var o;return a.provider==="twitter"?"fa6-brands:x-twitter":`mdi:${(o=a.provider)==null?void 0:o.toLowerCase()}`}}},g={class:"ebm-author-profile"},F={key:1,class:"email-website"},k=["href"],w=["href"],v={key:2,class:"social-links"},p=["href"];function S(a,o,e,E,I,c){const m=h;return t(),i("div",g,[e.title?(t(),i("div",{key:0,class:"title",style:l({fontFamily:a.$ss.primaryFontFamily})},r(e.title),5)):s("",!0),e.publicEmail||e.website?(t(),i("div",F,[e.publicEmail?(t(),i("a",{key:0,class:"email",href:`mailto:${e.publicEmail}`,target:"_blank",style:l({fontFamily:a.$ss.primaryFontFamily})},r(e.publicEmail),13,k)):s("",!0),e.website?(t(),i("a",{key:1,class:"website",href:e.website,target:"_blank",style:l({fontFamily:a.$ss.primaryFontFamily})},r(e.website),13,w)):s("",!0)])):s("",!0),e.socialLinks.length?(t(),i("div",v,[(t(!0),i(_,null,d(e.socialLinks,n=>(t(),i("a",{key:n.url,class:u(["social-links__icon",c.getIcon(n)]),href:n.url,target:"_blank",rel:"noopener"},[f(m,{icon:c.getIcon(n),width:32},null,8,["icon"])],10,p))),128))])):s("",!0),e.phone?(t(),i("div",{key:3,class:"phone",style:l({fontFamily:a.$ss.primaryFontFamily})}," Phone: "+r(e.phone),5)):s("",!0)])}const C=y(b,[["render",S],["__scopeId","data-v-b443658f"]]);export{C as default};