(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[265],{"KHd+":function(e,n,t){"use strict";function i(e,n,t,i,s,o,a,r){var l,d="function"==typeof e?e.options:e;if(n&&(d.render=n,d.staticRenderFns=t,d._compiled=!0),i&&(d.functional=!0),o&&(d._scopeId="data-v-"+o),a?(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(a)},d._ssrRegister=l):s&&(l=r?function(){s.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:s),l)if(d.functional){d._injectStyles=l;var c=d.render;d.render=function(e,n){return l.call(n),c(e,n)}}else{var p=d.beforeCreate;d.beforeCreate=p?[].concat(p,l):[l]}return{exports:e,options:d}}t.d(n,"a",(function(){return i}))},L4kf:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return e.articles&&0!==e.articles.length||e.loading?t("tb-w-grid",{staticClass:"min-h-screen",attrs:{columns:{xs:1,sm:2,md:3,lg:4,xl:4}}},[e._l(e.paginationState.pageSize,(function(n){return t("skeleton-teaser-card",{directives:[{name:"show",rawName:"v-show",value:e.loading,expression:"loading"}],key:n})})),e._v(" "),e._l(e.articles,(function(n,i){return t("tb-w-teaser-card-article",{directives:[{name:"show",rawName:"v-show",value:!e.loading,expression:"!loading"}],key:n.id,attrs:{article:n,"open-in-new-tab":e.openInNewTabOnList,"display-info-slot":"","display-list-item-index":e.displayListItemIndex,index:e.displayListItemIndex?e.computeIndex(i):null}})}))],2):t("div",{staticClass:"p-4 border border-gray-200 rounded"},[t("tb-w-icon",{staticClass:"text-warning-500 mr-2",attrs:{icon:"info-circle",size:"1.5"}}),e._v("\n    "+e._s(e.$t("message.noEntries"))+"\n")],1)};i._withStripped=!0;var s=t("L2JU"),o=t("eGhY"),a={name:"TbWArticleList",props:{articles:{type:Array,required:!0},displayListItemIndex:{type:Boolean,default:!1}},created(){this.setEnableScrollToTopOnNavigation(!0)},computed:{...Object(s.e)("displayConfig",["displayCapacityOnTeaser","openInNewTabOnList"]),...Object(s.e)("globalList",["loading","paginationState","listPayload"])},methods:{...Object(s.d)(["setEnableScrollToTopOnNavigation"]),computeIndex:o.a},i18n:{fallbackLocale:"de",silentFallbackWarn:"undefined"==typeof window,messages:{de:{message:{noEntries:"Es konnten keine Einträge gefunden werden."}},en:{message:{noEntries:"No entries could be found."}},fr:{message:{noEntries:"Aucune entrée n'a pu être trouvée."}},it:{message:{noEntries:"Impossibile trovare voci."}},es:{message:{noEntries:"Impossibile trovare voci."}},nl:{message:{noEntries:"Er zijn geen items gevonden."}},cs:{message:{noEntries:"Nebyly nalezeny žádné záznamy."}}}}},r=t("KHd+"),l=Object(r.a)(a,i,[],!1,null,null,null);l.options.__file="node_modules/@newland/toubiz-widget/src/components/tb-w-article-list.vue";n.default=l.exports},eGhY:function(e,n,t){"use strict";function i(e){var n;let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];var i;return(null===(n=this.paginationState)||void 0===n?void 0:n.page)>1&&!t?(this.paginationState.page-1)*(null===(i=this.paginationState)||void 0===i?void 0:i.pageSize)+e+1:e+1}t.d(n,"a",(function(){return i}))}}]);