(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[310],{"KHd+":function(e,n,t){"use strict";function s(e,n,t,s,o,a,i,r){var d,l="function"==typeof e?e.options:e;if(n&&(l.render=n,l.staticRenderFns=t,l._compiled=!0),s&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),i?(d=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__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=d):o&&(d=r?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),d)if(l.functional){l._injectStyles=d;var u=l.render;l.render=function(e,n){return d.call(n),u(e,n)}}else{var c=l.beforeCreate;l.beforeCreate=c?[].concat(c,d):[d]}return{exports:e,options:l}}t.d(n,"a",(function(){return s}))},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||e.loading?t("tb-w-grid",{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.sortedEvents,(function(n){return t("tb-w-teaser-card-event",{directives:[{name:"show",rawName:"v-show",value:!e.loading,expression:"!loading"}],key:n.id,attrs:{event:n,"open-in-new-tab":e.openInNewTabOnList}})}))],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.noEvents"))+"\n")],1)};s._withStripped=!0;var o=t("L2JU"),a={name:"TbWEventList",props:{events:{type:Array,required:!0}},computed:{...Object(o.e)("displayConfig",["openInNewTabOnList"]),...Object(o.e)("globalList",["loading","paginationState"]),sortedEvents(){return structuredClone(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})}},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."}},cs:{message:{noEvents:"Nebyly nalezeny žádné události."}}}}},i=t("KHd+"),r=Object(i.a)(a,s,[],!1,null,null,null);r.options.__file="node_modules/@newland/toubiz-widget/src/components/tb-w-event-list.vue";n.default=r.exports}}]);