(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[236],{"3ELh":function(i,t,e){"use strict";e.r(t);var a=function(){var i=this,t=i.$createElement;return(i._self._c||t)("tb-w-map-info-window-mapbox",{attrs:{title:i.article.name||i.article.address&&i.article.address.name,"category-title":i.article.primaryCategory&&i.article.primaryCategory.name,"image-url":i.imageUrl,"image-alt":i.imageAlt,description:i.article.abstract,"tour-duration":i.tourDuration,"tour-distance":i.tourDistance,"article-opening-times":i.article.openingTimes,url:i.url,classification:i.classification,"hide-details-button":i.hideDetailsButton}})};a._withStripped=!0;var l={name:"TbWMapboxPopup",props:{article:{type:Object,required:!0},hideDetailsButton:{type:Boolean,default:!1}},computed:{tourDuration(){var i,t,e,a;return null!==(i=null==this||null===(t=this.article)||void 0===t||null===(e=t.tour)||void 0===e||null===(a=e.trackInformation)||void 0===a?void 0:a.duration)&&void 0!==i?i:0},tourDistance(){var i,t,e,a;return null!==(i=null==this||null===(t=this.article)||void 0===t||null===(e=t.tour)||void 0===e||null===(a=e.trackInformation)||void 0===a?void 0:a.distance)&&void 0!==i?i:0},url(){return this.buildUrl({name:"article.detail",params:{id:this.article.id}})},classification(){var i,t,e;return null!==(i=this.article.primaryCategory)&&void 0!==i&&null!==(t=i.rootline)&&void 0!==t&&t.includes("32b05798-f54c-462d-9f58-a39899c85ef6")&&null!==(e=this.article.classifications)&&void 0!==e&&e.length?this.article.classifications[0]:null},imageUrl(){var i;return null!==(i=this.article.mainImage)&&void 0!==i&&i.updatedAt?this.buildImageUri(this.article.id,"article"):null},imageAlt(){return this.article.media&&this.article.media[0]?this.article.media[0].altText:null}}},r=e("KHd+"),n=Object(r.a)(l,a,[],!1,null,null,null);n.options.__file="node_modules/@newland/toubiz-widget/src/components/tb-w-mapbox-popup.vue";t.default=n.exports}}]);