(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[242],{"7yoQ":function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return i}));var o=n("6dQ1");function s(t){return Object(o.b)()?e.from(t,"utf-8").toString("base64"):btoa(t)}function i(t){return Object(o.b)()?e.from(t,"base64").toString("utf-8"):atob(t)}}).call(this,n("tjlA").Buffer)},"KHd+":function(e,t,n){"use strict";function o(e,t,n,o,s,i,r,a){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),o&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),r?(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__),s&&s.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},c._ssrRegister=l):s&&(l=a?function(){s.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:s),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:c}}n.d(t,"a",(function(){return o}))},VjoN:function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return i}));var o=n("7yoQ");function s(e){return encodeURIComponent(Object(o.b)(JSON.stringify(e)))}const i={created(){for(const e of this.$options.urlState)this.restoreStateFromUrl(e),this.$watch(e,t=>{this.saveStateToUrl(e,t)},{deep:!0})},methods:{saveStateToUrl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this[e];const n=Object.assign({},this.$route.query);n[e]=s(t),this.$router.replace({name:this.$route.name,query:n}).catch(e=>{if(!(""+e.message).includes("redundant navigation"))throw e})},restoreStateFromUrl(e){var t;if(this.$route.query[e])try{const n=(t=this.$route.query[e],JSON.parse(Object(o.a)(decodeURIComponent(t))));this.$set(this,e,n),"params"===e&&this.initialListFetch(n)}catch(t){console.warn(`Could not restore state ${e} from URL parameter ${e}`,t),this.initialListFetch()}else this.initialListFetch()}}}},nJOY:function(e,t,n){"use strict";n.r(t);var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("tb-w-section",{staticClass:"tb-w-area-highlights",scopedSlots:e._u([{key:"content",fn:function(){return[e.highlightsInfo.topline?n("span",[e._v(e._s(e.highlightsInfo.topline))]):e._e(),e._v(" "),e.highlightsInfo.name?[n("tb-w-heading",[e._v("\n                "+e._s(e.highlightsInfo.name)+"\n            ")])]:[n("tb-w-heading",[e._v("\n                "+e._s(e.$t("message.ourRecommendations"))+"\n            ")])],e._v(" "),e.highlightsInfo.description?n("div",{staticClass:"mt-2 rte",domProps:{innerHTML:e._s(e.highlightsInfo.description)}}):e._e(),e._v(" "),n("tb-w-slider",{staticClass:"mt-6"},[e._l(e.areaHighlights.slice(0,6),(function(e){return n("tb-w-slider-item",{key:e.id},[n("tb-w-teaser-card-article",{attrs:{article:e,"display-info-slot":""}})],1)})),e._v(" "),e.areaHighlights.length>6?n("tb-w-show-all",{attrs:{"widget-route":e.buildWidgetRoute({name:"article.list",query:{params:e.ShowAllFilterParams}})}},[e._v("\n                "+e._s(e.$t("message.showAll"))+"\n            ")]):e._e()],2)]},proxy:!0}])})};o._withStripped=!0;var s=n("VjoN"),i={name:"TbWAreaHighlights",props:{areaHighlights:{type:Array,required:!0},highlightsInfo:{type:Object,required:!0}},computed:{ShowAllFilterParams(){return Object(s.b)({predefinedParams:{apiQueryState:{filter:{id:this.areaHighlights.map(e=>e.id),clientIncludingManaged:""}}},apiQueryState:{filter:{dynamicFields:{}}}})}},i18n:{fallbackLocale:"de",silentFallbackWarn:"undefined"==typeof window,messages:{de:{message:{ourRecommendations:"Unsere Empfehlungen",showAll:"Alle anzeigen"}},en:{message:{ourRecommendations:"Our recommendations",showAll:"Show all"}},fr:{message:{ourRecommendations:"Nos recommandations",showAll:"Afficher tout"}},it:{message:{ourRecommendations:"I nostri consigli",showAll:"Mostra tutto"}},es:{message:{ourRecommendations:"Nuestras recomendaciones",showAll:"Mostrar todo"}},nl:{message:{ourRecommendations:"Onze aanbevelingen",showAll:"Toon alles"}},cs:{message:{ourRecommendations:"Naše doporučení",showAll:"Ukázat vše"}}}}},r=n("KHd+"),a=Object(r.a)(i,o,[],!1,null,null,null);a.options.__file="node_modules/@newland/toubiz-widget/src/components/tb-w-area-highlights.vue";t.default=a.exports}}]);