(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[144],{"yEz/":function(e,t,i){"use strict";i.r(t);var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("tb-w-detail-header",{attrs:{"image-webp-small":e.buildImageUri(e.article.id,"article",480,"image/webp"),"image-webp-medium":e.buildImageUri(e.article.id,"article",1280,"image/webp"),"image-webp-large":e.buildImageUri(e.article.id,"article",1900,"image/webp"),"image-jpeg-small":e.buildImageUri(e.article.id,"article",480),"image-jpeg-medium":e.buildImageUri(e.article.id,"article",1280),"image-jpeg-large":e.buildImageUri(e.article.id,"article",1900),"alt-text":e.mainImageAltText},scopedSlots:e._u([e.article.currentInformation&&e.article.currentInformation.length>3?{key:"notifications",fn:function(){return[i("tb-w-notification",{attrs:{severity:"alert"},on:{click:function(t){e.notificationActive=!0}}},[i("div",{staticClass:"line-clamp-3",domProps:{innerHTML:e._s(e.article.currentInformation)}})]),e._v(" "),e.article.currentInformation.length?i("tb-w-modal",{attrs:{show:e.notificationActive},on:{close:function(t){e.notificationActive=!1}}},[i("div",{domProps:{innerHTML:e._s(e.article.currentInformation)}})]):e._e()]},proxy:!0}:null,{key:"label",fn:function(){return[e.article.tour&&"closed"===e.article.tour.status?[e._v("\n            "+e._s(e.$t("message.blocked"))+"\n        ")]:e._e()]},proxy:!0},{key:"topline",fn:function(){return[e.article.primaryCategory?i("span",{staticClass:"font-bold uppercase"},[e._v("\n            "+e._s(e.article.primaryCategory.name)+"\n        ")]):e._e(),e._v(" "),e.article.tour&&e.tourType?i("span",[e._v("\n            • "+e._s(e.tourType)+"\n        ")]):e._e()]},proxy:!0},{key:"info",fn:function(){return[e.classificationTop?i("tb-w-classification",{attrs:{classification:e.classificationTop}}):e._e()]},proxy:!0}],null,!0)},[e._v(" "),e._v(" "),e._v("\n\n    "+e._s(e.article.name)+"\n\n    ")])};a._withStripped=!0;var r={name:"TbWArticleDetailHeader",props:{article:{type:Object,required:!0}},data:()=>({notificationActive:!1}),computed:{classificationTop(){var e;const t=(null!==(e=this.article.classifications)&&void 0!==e?e:[]).filter(e=>e.awardSet.showInList);return t.length?t[0]:null},mainImageAltText(){var e,t;return null!==(e=this.article)&&void 0!==e&&null!==(t=e.media)&&void 0!==t&&t.length?this.article.media[0].altText:""},tourType(){var e;switch(null===(e=this.article.tour)||void 0===e?void 0:e.typeOfTour){case"loop_tour":return this.$t("message.loopTour");case"one_way_tour":return this.$t("message.oneWayTour");case"stage":return this.$t("message.stage");case"stages_tour":return this.$t("message.stagesTour");default:return null}}}},n=i("KHd+"),l=Object(n.a)(r,a,[],!1,null,null,null);l.options.__file="node_modules/@newland/toubiz-widget/src/components/article-detail/tb-w-article-detail-header.vue";t.default=l.exports}}]);