(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[170],{rVZW:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"px-4 mt-4 mb-12"},[i("div",{staticClass:"max-w-4xl mx-auto"},[t.article.area&&t.article.area.claim?i("span",{staticClass:"text-gray-600 text-lg italic"},[t._v("\n            "+t._s(t.article.area.claim)+"\n        ")]):t._e(),t._v(" "),t.article.point&&t.article.point.address?i("tb-w-article-address",{staticClass:"mt-4",class:{"inline-flex mr-4 font-bold":t.$eq.medium},scopedSlots:t._u([t.article.point.address.name?{key:"name",fn:function(){return[t._v(t._s(t.article.point.address.name))]},proxy:!0}:null,t.article.point.address.street?{key:"street",fn:function(){return[t._v("\n                "+t._s(t.article.point.address.street)+"\n            ")]},proxy:!0}:null,{key:"streetNumber",fn:function(){return[t._v(t._s(t.article.point.address.streetNumber))]},proxy:!0},{key:"zip",fn:function(){return[t._v("\n                "+t._s(t.article.point.address.zip)+"\n            ")]},proxy:!0},{key:"city",fn:function(){return[t._v("\n                "+t._s(t.article.point.address.city)+"\n            ")]},proxy:!0}],null,!0)}):t._e(),t._v(" "),t.article.openingTimes&&((t.article.openingTimes.definitions||[]).length||"always_open"===t.article.openingTimes.mode)?i("tb-w-opening-times-parser",{staticClass:"inline-block mt-4",attrs:{"opening-times-format":"toubizV1","opening-times-definition":t.article.openingTimes},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.openingTimes;return[["open_on_inquiry","always_open"].includes(t.article.openingTimes.mode)?i("span",[i("tb-w-opening-times-line-preview",{attrs:{"opening-times":n,"date-format":"dd.mm.yyyy"}})],1):i("button",{staticClass:"border-b",on:{click:function(e){return t.$emit("scroll-to-opening-times")}}},[i("tb-w-opening-times-line-preview",{attrs:{"opening-times":n,"date-format":"dd.mm.yyyy"}})],1)]}}],null,!1,3856000599)}):t._e(),t._v(" "),"tour"===t.article.type?i("tb-w-tour-facts",{attrs:{article:t.article}}):t._e(),t._v(" "),i("tb-w-page-actions",t._b({staticClass:"mt-6",attrs:{title:t.article.name,"show-share-popup":"","article-type":t.article.type}},"tb-w-page-actions",t.article.geocoordinates?{"show-map-button":!0}:{},!1)),t._v(" "),t.article.abstract?i("tb-w-readmore-truncate",{staticClass:"mt-6 text-lg",attrs:{"truncate-value":350,"only-if-more-than-value":425},scopedSlots:t._u([{key:"html",fn:function(){return[i("div",{domProps:{innerHTML:t._s(t.article.abstract)}})]},proxy:!0}],null,!1,255378350)}):t._e(),t._v(" "),t.trackDownloads.length?[i("a",{staticClass:"mt-6 inline-flex items-center font-bold text-link-500",attrs:{download:"",href:t.trackDownloads[0].url}},[i("tb-w-icon",{staticClass:"mr-2",attrs:{icon:"download",size:"1"}}),t._v("\n                "+t._s(t.$t("message.downloadGps"))+"\n                "),t.trackDownloads[0].name?[t._v("\n                    ("+t._s(t.trackDownloads[0].name)+")\n                ")]:t._e()],2)]:t.article.tour&&t.article.tour.trackInformation&&t.article.tour.trackInformation.file?i("a",{staticClass:"inline-flex items-center mt-6 mr-6 font-bold text-link-500",attrs:{download:"",href:t.article.tour.trackInformation.file.url}},[i("tb-w-icon",{staticClass:"mr-2",attrs:{icon:"download",size:"1"}}),t._v("\n            "+t._s(t.$t("message.downloadGps"))+"\n        ")],1):t._e(),t._v(" "),t.article.files&&t.article.files.length?i("tb-w-downloads",{attrs:{downloads:t.article.files}}):t._e()],2),t._v(" "),t.displayMaintainedBy&&t.article.client?i("div",{staticClass:"max-w-4xl mx-auto mt-6"},[i("tb-w-maintained-by",{attrs:{href:t.clientUrl?t.article.client.url:null,"open-in-new-tab":!!t.clientUrl},scopedSlots:t._u([{key:"client",fn:function(){return[t._v(t._s(t.article.client.name))]},proxy:!0}],null,!1,3605666547)})],1):t._e()])};n._withStripped=!0;var a={name:"TbWArticleDetailSubHeader",props:{article:{type:Object,required:!0}},eq:{breakpoints:{medium:{minWidth:768}}},computed:{clientUrl(){var t;return(null===(t=this.article.client)||void 0===t?void 0:t.url)||null},displayMaintainedBy(){return this.$store.state.displayConfig.displayMaintainedBy},trackDownloads(){var t,e;return null!==(t=null===(e=this.article.tour)||void 0===e?void 0:e.trackDownload)&&void 0!==t?t:[]}},methods:{showMap(){"tour"===this.article.type?this.$refs.tourProfile.activateDynamicMap():this.dynamicMap=!0}}},r=i("KHd+"),s=Object(r.a)(a,n,[],!1,null,null,null);s.options.__file="node_modules/@newland/toubiz-widget/src/components/article-detail/tb-w-article-detail-sub-header.vue";e.default=s.exports}}]);