import{c as m}from"./PageHeader-DmRLoM5E.js";import{c as o,o as n,d as e,t,g as l,u as a,F as y,h as g}from"./app-fEKA3BkQ.js";import"./assetStore-BSVLrDIW.js";const h={class:"rounded-lg bg-white p-4 shadow-md dark:bg-gray-800"},x={class:"mb-2 text-lg font-semibold text-gray-900 dark:text-gray-100"},p={class:"grid grid-cols-2 gap-4"},k={key:0},u={class:"text-sm font-semibold text-gray-900 dark:text-gray-100"},f={class:"list-disc pl-5 text-gray-700 dark:text-gray-300"},b={key:1},v={class:"text-sm font-semibold text-gray-900 dark:text-gray-100"},N={class:"text-gray-700 dark:text-gray-300"},B={key:2},C={class:"text-sm font-semibold text-gray-900 dark:text-gray-100"},F={class:"list-disc pl-5 text-gray-700 dark:text-gray-300"},L={key:3},M={class:"text-sm font-semibold text-gray-900 dark:text-gray-100"},w={class:"text-gray-700 dark:text-gray-300"},z={class:"text-gray-700 dark:text-gray-300"},D={class:"text-gray-700 dark:text-gray-300"},E={class:"text-gray-700 dark:text-gray-300"},I={class:"text-gray-700 dark:text-gray-300"},P={class:"text-gray-700 dark:text-gray-300"},S={key:4},V={class:"text-sm font-semibold text-gray-900 dark:text-gray-100"},A={class:"text-gray-700 dark:text-gray-300"},O={class:"text-gray-700 dark:text-gray-300"},R={class:"text-gray-700 dark:text-gray-300"},T={key:5},U={class:"text-sm font-semibold text-gray-900 dark:text-gray-100"},j={class:"list-disc pl-5 text-gray-700 dark:text-gray-300"},q={key:6},G={class:"text-sm font-semibold text-gray-900 dark:text-gray-100"},H={class:"list-disc pl-5 text-gray-700 dark:text-gray-300"},J={__name:"ContactMessage",props:["message"],setup(_){const c=_,s=c.message.body;return c.message.type,(r,K)=>(n(),o("div",h,[e("h4",x,t(r.trans("Contact Info")),1),e("div",p,[a(s).addresses.length?(n(),o("div",k,[e("h5",u,t(r.trans("Address")),1),e("ul",f,[(n(!0),o(y,null,g(a(s).addresses,(d,i)=>(n(),o("li",{key:i},t(d.street)+", "+t(d.city)+", "+t(d.state)+", "+t(d.zip)+", "+t(d.country)+" ("+t(d.type)+") ",1))),128))])])):l("",!0),a(s).birthday?(n(),o("div",b,[e("h5",v,t(r.trans("Birthday")),1),e("p",N,t(a(s).birthday),1)])):l("",!0),a(s).emails.length?(n(),o("div",B,[e("h5",C,t(r.trans("Emails")),1),e("ul",F,[(n(!0),o(y,null,g(a(s).emails,(d,i)=>(n(),o("li",{key:i},t(d.email)+" ("+t(d.type)+") ",1))),128))])])):l("",!0),a(s).name?(n(),o("div",L,[e("h5",M,t(r.trans("Name")),1),e("p",w,t(a(s).name.formatted_name),1),e("p",z,t(r.trans("First Name"))+": "+t(a(s).name.first_name),1),e("p",D,t(r.trans("Last Name"))+": "+t(a(s).name.last_name),1),e("p",E,t(r.trans("Middle Name"))+": "+t(a(s).name.middle_name),1),e("p",I,t(r.trans("Suffix"))+": "+t(a(s).name.suffix),1),e("p",P,t(r.trans("Prefix"))+": "+t(a(s).name.prefix),1)])):l("",!0),a(s).org?(n(),o("div",S,[e("h5",V,t(r.trans("Organization")),1),e("p",A,t(r.trans("Company"))+": "+t(a(s).org.company),1),e("p",O,t(r.trans("Department"))+": "+t(a(s).org.department),1),e("p",R,t(r.trans("Title"))+": "+t(a(s).org.title),1)])):l("",!0),a(s).phones.length?(n(),o("div",T,[e("h5",U,t(r.trans("Phones")),1),e("ul",j,[(n(!0),o(y,null,g(a(s).phones,(d,i)=>(n(),o("li",{key:i},t(d.phone)+" ("+t(d.type)+") ",1))),128))])])):l("",!0),a(s).urls.length?(n(),o("div",q,[e("h5",G,t(r.trans("URLs")),1),e("ul",H,[(n(!0),o(y,null,g(a(s).urls,(d,i)=>(n(),o("li",{key:i},t(d.url)+" ("+t(d.type)+") ",1))),128))])])):l("",!0)])]))}},Y=m(J,[["__scopeId","data-v-2eac3087"]]);export{Y as default};
