(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[63],{"KHd+":function(t,e,n){"use strict";function a(t,e,n,a,r,s,i,o){var l,d="function"==typeof t?t.options:t;if(e&&(d.render=e,d.staticRenderFns=n,d._compiled=!0),a&&(d.functional=!0),s&&(d._scopeId="data-v-"+s),i?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},d._ssrRegister=l):r&&(l=o?function(){r.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(d.functional){d._injectStyles=l;var c=d.render;d.render=function(t,e){return l.call(e),c(t,e)}}else{var u=d.beforeCreate;d.beforeCreate=u?[].concat(u,l):[l]}return{exports:t,options:d}}n.d(e,"a",(function(){return a}))},jib7:function(t,e,n){"use strict";
/*!
 * vue-client-only v2.0.0
 * (c) 2019-present egoist <0x142857@gmail.com>
 * Released under the MIT License.
 */var a={name:"ClientOnly",functional:!0,props:{placeholder:String,placeholderTag:{type:String,default:"div"}},render:function(t,e){var n=e.parent,a=e.slots,r=e.props,s=a(),i=s.default;void 0===i&&(i=[]);var o=s.placeholder;return n._isMounted?i:(n.$once("hook:mounted",(function(){n.$forceUpdate()})),r.placeholderTag&&(r.placeholder||o)?t(r.placeholderTag,{class:["client-only-placeholder"]},r.placeholder||o):i.length>0?i.map((function(){return t(!1)})):t(!1))}};t.exports=a},qV7p:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));const a={sm:327,md:720,lg:976,xl:1232}},yhpY:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tb-date-list"},[n("div",{staticClass:"grid items-start gap-8 mt-6",class:t.$eq.md?"grid-cols-2":"grid-cols-1"},[n("client-only",[n("v-calendar",{attrs:{"is-expanded":"",locale:"de-DE",attributes:t.attributes,"min-date":t.startDate},on:{"update:from-page":t.handlePageChange}})],1),t._v(" "),n("div",{staticClass:"text-gray-900"},[n("tb-readmore",{key:t.selectedMonth,attrs:{"initial-height":264,"more-label":"Alle Termine anzeigen"}},[n("ul",t._l(t.currentMonthDates,(function(e,a){return n("li",[n("div",{staticClass:"border-t",class:0===a?"mt-0 pt-0 border-transparent":"pt-4 mt-4 border-gray-200"},[n("div",{staticClass:"grid grid-cols-2"},[n("div",{},[n("span",[t._v(t._s(t._f("formatWeekdayShort")(e.date)))]),t._v(", "),n("span",{staticClass:"font-bold"},[t._v(t._s(t._f("formatDayAndMonthLong")(e.date)))])]),t._v(" "),e.startAt?n("div",{staticClass:"text-right"},[n("span",[t._v("\n                                        "+t._s(t._f("formatTime")(e.startAt))+"\n                                    ")]),t._v(" "),e.endAt?n("span",[t._v("\n                                        – "+t._s(t._f("formatTime")(e.endAt))+"\n                                    ")]):t._e()]):t._e()]),t._v(" "),e.additionalInformation?n("div",{staticClass:"mt-2 text-gray-600"},[t._v("\n                                "+t._s(e.additionalInformation)+"\n                            ")]):t._e()])])})),0)])],1)],1)])};a._withStripped=!0;var r=n("qV7p"),s=n("jib7"),i={components:{ClientOnly:n.n(s).a},data(){return{current:null,mode:"range",attributes:[{key:"eventDates",highlight:{color:"blue",fillMode:"light"},dates:this.dates.map(t=>new Date(t.date))}]}},props:{dates:{type:Array,default:()=>null}},computed:{selectedMonth(){return this.current?`${this.current.year} ${this.current.month}`:null},currentMonthDates(){return this.dates.filter(t=>{const e=new Date(t.date);if(this.current&&e.getFullYear()===this.current.year&&e.getMonth()+1===this.current.month)return!0})},startDate(){return this.dates[0].date}},methods:{handlePageChange(t){this.current=t}},eq:{breakpoints:{sm:{minWidth:r.a.sm},md:{minWidth:r.a.md},lg:{minWidth:r.a.lg},xl:{minWidth:r.a.xl}}}},o=n("KHd+"),l=Object(o.a)(i,a,[],!1,null,null,null);l.options.__file="node_modules/@newland/toubiz-widget/src/components/basic/tb-date-list.vue";e.default=l.exports}}]);