(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[165],{Cifo:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:{"mb-8 lg:mb-14":t.article.description&&t.article.description.length>0||t.displayAreaOrTourContact}},[i("h3",{staticClass:"mb-2 font-bold text-gray-800",class:{"mt-8":t.article.description&&t.article.description.length>0}},[t._v("\n        "+t._s(t.$t("message.additionalInformation"))+"\n    ")]),t._v(" "),t.primaryEmail?i("span",{staticClass:"block text-gray-600 mb-2"},[t.$eq.medium?[t._v("\n            "+t._s(t.$t("message.email"))+"\n        ")]:t._e(),t._v(" "),i("a",{staticClass:"text-link-500",attrs:{href:"mailto:"+t.primaryEmail}},[t._v(t._s(t.primaryEmail))])],2):t._e(),t._v(" "),t.primaryPhone?i("span",{staticClass:"block text-gray-600 mb-2"},[t.$eq.medium?[t._v("\n            "+t._s(t.$t("message.phone"))+":\n        ")]:t._e(),t._v(" "),i("a",{staticClass:"text-link-500",attrs:{href:"tel:"+t.primaryPhone.replace(/\s/g,"")}},[t._v("\n            "+t._s(t.primaryPhone)+"\n        ")])],2):t._e(),t._v(" "),t.mobilePhone?i("span",{staticClass:"block text-gray-600 mb-2"},[t.$eq.medium?[t._v("\n            "+t._s(t.$t("message.mobilePhone"))+":\n        ")]:t._e(),t._v(" "),i("a",{staticClass:"text-link-500",attrs:{href:"tel:"+t.mobilePhone.replace(/\s/g,"")}},[t._v("\n            "+t._s(t.mobilePhone)+"\n        ")])],2):t._e(),t._v(" "),t.article.contactInformation.website?i("span",{staticClass:"block text-gray-600"},[t.$eq.medium?[t._v("\n            "+t._s(t.$t("message.website"))+"\n        ")]:t._e(),t._v(" "),i("a",{staticClass:"text-link-500",attrs:{href:t.article.contactInformation.website,target:"_blank"}},[t._v("\n            "+t._s(t._f("removeProtocol")(t.article.contactInformation.website))+"\n        ")])],2):t._e(),t._v(" "),t.socialLinks.length||t.article.contactInformation.website?i("ul",{staticClass:"flex text-gray-700",class:t.primaryPhone||t.primaryEmail||t.article.contactInformation.website?"mt-6":""},t._l(t.socialLinks,(function(e){return i("li",{key:e.name,staticClass:"mr-4"},[i("a",{attrs:{href:e.link,target:"_blank"}},[i("tb-w-icon",{attrs:{icon:e.fileName,size:"2"}},[t._v(t._s(t.$t("message.linkTo"))+" "+t._s(e.name)+"\n                ")])],1)])})),0):t._e()])};a._withStripped=!0;var n=i("M4XY"),r=i.n(n),s={name:"TbWArticleDetailAreaAndTourContact",mixins:[i("eiOJ").a],eq:{breakpoints:{medium:{minWidth:768}}},props:{article:{type:Object,required:!0}},computed:{displayAreaOrTourContact(){var t;return("area"===this.article.type||"tour"===this.article.type)&&(this.primaryPhone||this.primaryEmail||(null===(t=this.article.contactInformation)||void 0===t?void 0:t.website)||this.socialLinks.length)},primaryEmail(){var t;const e=((null===(t=this.article)||void 0===t?void 0:t.emails)||[]).find(t=>t.primary);return e?e.email:""},primaryPhone(){var t;const e=((null===(t=this.article)||void 0===t?void 0:t.phoneNumbers)||[]).find(t=>"phone"===t.type);return e?e.iso5008:""},mobilePhone(){var t;const e=((null===(t=this.article)||void 0===t?void 0:t.phoneNumbers)||[]).find(t=>"mobile"===t.type);return e?e.iso5008:""},socialLinks(){return["facebook","flickr","instagram","linkedIn","pinterest","twitter","vimeo","xing","youtube","wikipedia","blog"].reduce((t,e)=>{var i;return null!==(i=this.article)&&void 0!==i&&i.contactInformation&&""!==this.article.contactInformation[e]&&t.push({name:e,fileName:`social-${r()(e)}-mono`,link:this.article.contactInformation[e]}),t},[])}}},o=i("KHd+"),l=Object(o.a)(s,a,[],!1,null,"e9277938",null);l.options.__file="node_modules/@newland/toubiz-widget/src/components/article-detail/tb-w-article-detail-area-and-tour-contact.vue";e.default=l.exports}}]);