(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[173,182],{TeXk:function(e,n,t){"use strict";t.r(n);var s=function(){var e=this,n=e.$createElement,t=e._self._c||n;return e.events&&0!==e.events.length?t("tb-w-grid",{attrs:{columns:{xs:1,sm:2,md:3,lg:4,xl:4}}},e._l(e.eventsSorted,(function(n){return t("tb-w-teaser-card-event",{key:n.id,attrs:{event:n,"open-in-new-tab":e.openInNewTab,type:"stacked"}})})),1):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.noEvents"))+"\n")],1)};s._withStripped=!0;var a=t("YS/t"),o=t("L2JU"),i={name:"TbWEventList",props:{events:{type:Array,required:!0}},data:()=>({eventsSorted:[]}),created(){this.eventsSorted=Object(a.a)(this.events).sort((e,n)=>{var t,s;return null!==(t=e.nextDate)&&void 0!==t&&t.date?null!==(s=n.nextDate)&&void 0!==s&&s.date&&e.nextDate.date<=n.nextDate.date?-1:1:-1})},computed:{...Object(o.d)("displayConfig",["openInNewTabOnList"]),...Object(o.d)(["staticWidgetPath"]),openInNewTab(){return!!this.staticWidgetPath||this.openInNewTabOnList}},i18n:{fallbackLocale:"de",silentFallbackWarn:"undefined"==typeof window,messages:{de:{message:{noEvents:"Es konnten keine Veranstaltungen gefunden werden."}},en:{message:{noEvents:"No events could be found."}},fr:{message:{noEvents:"Aucun événement n'a pu être trouvé."}},it:{message:{noEvents:"Impossibile trovare eventi."}},es:{message:{noEvents:"No se pudieron encontrar eventos."}},nl:{message:{noEvents:"Er zijn geen evenementen gevonden."}},cz:{message:{noEvents:"Nebyly nalezeny žádné události."}}}}},r=t("KHd+"),d=Object(r.a)(i,s,[],!1,null,null,null);d.options.__file="node_modules/@newland/toubiz-widget/src/components/tb-w-event-list.vue";n.default=d.exports},"YS/t":function(e,n,t){"use strict";function s(e){return JSON.parse(JSON.stringify(e))}t.d(n,"a",(function(){return s}))}}]);