(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[257],{"KHd+":function(e,t,n){"use strict";function o(e,t,n,o,r,i,s,a){var l,d="function"==typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=n,d._compiled=!0),o&&(d.functional=!0),i&&(d._scopeId="data-v-"+i),s?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},d._ssrRegister=l):r&&(l=a?function(){r.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(d.functional){d._injectStyles=l;var u=d.render;d.render=function(e,t){return l.call(t),u(e,t)}}else{var c=d.beforeCreate;d.beforeCreate=c?[].concat(c,l):[l]}return{exports:e,options:d}}n.d(t,"a",(function(){return o}))},XmhO:function(e,t,n){"use strict";n.r(t);var o=function(){var e,t=this,n=t.$createElement,o=t._self._c||n;return null!==(e=t.snowReportsWithDisplayContent)&&void 0!==e&&e.length?o("div",{staticClass:"tb-w-article-detail-snowreports"},[o("tb-w-section",{scopedSlots:t._u([{key:"content",fn:function(){return[o("tb-w-grid",{attrs:{columns:{xs:1,sm:1,md:2,lg:2,xl:2}}},t._l(t.snowReportsWithDisplayContent,(function(e){return o("tb-w-snow-report",{key:e.id,attrs:{"snow-report":e}})})),1)]},proxy:!0}],null,!1,4071429537)},[t.hideHeadline?t._e():[t._v("\n            "+t._s(t.$t("message.currentSnowreport"))+"\n        ")]],2)],1):t._e()};o._withStripped=!0;var r={name:"TbWArticleDetailSnowReports",props:{snowReports:{type:Array,default:()=>[]},hideHeadline:{type:Boolean,default:!1}},computed:{snowReportsWithDisplayContent(){return this.snowReports.filter(e=>{var t,n;return e.depthMax||e.depthMin||"undefined"!==e.quality||e.lastSnowAt||e.lastSnowAmount||(null===(t=e.area)||void 0===t?void 0:t.roadCondition)&&"undefined"!==(null===(n=e.area)||void 0===n?void 0:n.roadCondition)||"undefined"!==e.riskOfAvalanches})}},i18n:{fallbackLocale:"en",silentFallbackWarn:"undefined"==typeof window,messages:{de:{message:{currentSnowreport:"Aktueller Schneebericht"}},en:{message:{currentSnowreport:"Current snow report"}}}}},i=n("KHd+"),s=Object(i.a)(r,o,[],!1,null,null,null);s.options.__file="node_modules/@newland/toubiz-widget/src/components/article-detail/tb-w-article-detail-snow-reports.vue";t.default=s.exports}}]);