(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[427,446,447,448],{"KHd+":function(e,t,n){"use strict";function i(e,t,n,i,s,a,o,r){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),o?(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(o)},c._ssrRegister=l):s&&(l=r?function(){s.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:s),l)if(c.functional){c._injectStyles=l;var d=c.render;c.render=function(e,t){return l.call(t),d(e,t)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,l):[l]}return{exports:e,options:c}}n.d(t,"a",(function(){return i}))},kBgX:function(e,t,n){"use strict";n.r(t);var i=function(){var e,t=this,n=t.$createElement,i=t._self._c||n;return i("div",[i("tb-w-section",{directives:[{name:"show",rawName:"v-show",value:!t.loaderSuspense,expression:"!loaderSuspense"}],attrs:{"no-container":t.noSectionSpacing,"no-spacing":t.noSectionSpacing}},[i("skeleton-loader",{attrs:{width:"18rem",height:"2.5rem",animation:"fade",type:"rect",radius:6,rounded:!0}}),t._v(" "),i("skeleton-loader",{staticClass:"mt-4",attrs:{width:"100%",height:"45rem",animation:"fade",type:"rect",radius:6,rounded:!0}}),t._v(" "),i("skeleton-loader",{staticClass:"mt-12",attrs:{width:"18rem",height:"2.5rem",animation:"fade",type:"rect",radius:6,rounded:!0}}),t._v(" "),i("skeleton-loader",{staticClass:"mt-4",attrs:{width:"100%",height:"35rem",animation:"fade",type:"rect",radius:6,rounded:!0}})],1),t._v(" "),i("transition",{attrs:{name:"fade"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:t.loaderSuspense,expression:"loaderSuspense"}]},[null!==(e=t.article)&&void 0!==e&&e.openingTimes?i("tb-w-section",{staticClass:"tb-w-article-detail-opening-times-section",attrs:{"no-container":t.noSectionSpacing,"no-spacing":t.noSectionSpacing},scopedSlots:t._u([{key:"content",fn:function(){var e;return[i("tb-w-opening-times-parser",{attrs:{"opening-times-format":"toubizV1","opening-times-definition":t.article.openingTimes},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",["live"===t.type?i("div",{staticClass:"text-left max-w-sm inline-flex"},[i("tb-w-opening-times-line-preview",{attrs:{"opening-times":e.openingTimes,"for-date-and-time":new Date}})],1):t._e(),t._v(" "),i("tb-w-article-detail-opening-times",{class:{"mt-6":"live"===t.type},attrs:{"opening-times":e.openingTimes}})],1)]}}],null,!1,629698687)}),t._v(" "),null!==(e=t.article.openingTimes)&&void 0!==e&&e.description?i("div",{staticClass:"mt-8 text-base rte tb-w-article-detail-opening-times-description",domProps:{innerHTML:t._s(t.article.openingTimes.description)}}):t._e()]},proxy:!0}],null,!1,652148534)},[t._v("\n                "+t._s(t.$t("message.hoursOfOperation"))+"\n\n                ")]):t._e(),t._v(" "),t.article?i("tb-w-article-detail-price",{class:t.noSectionSpacing?"py-10 lg:py-12":"",attrs:{article:t.article,"no-section-spacing":t.noSectionSpacing}}):t._e()],1)])],1)};i._withStripped=!0;var s=n("m5nq"),a={name:"OpeningtimesPrices",props:{id:{type:String,required:!0},type:{type:String,default:"overview",validator:e=>["live","overview"].includes(e)},noSectionSpacing:{type:Boolean,default:!1}},data:()=>({article:null,date:(new Date).toISOString().substr(0,10),loaderSuspense:!1}),methods:{async fetchArticle(e){this.article=null;try{const t=await this.articleRepository.fetch(e,{include:["openingTimes"],language:this.$store.state.language},s.a.VERSION_1);this.article=t.payload}catch(e){console.error(e)}}},watch:{article(){this.article&&setTimeout(()=>{this.loaderSuspense=!0},300)},id:{immediate:!0,handler(e){this.fetchArticle(e)}}},i18n:{fallbackLocale:"de",silentFallbackWarn:"undefined"==typeof window,messages:{de:{message:{hoursOfOperation:"Öffnungszeiten"}},en:{message:{hoursOfOperation:"Hours of operation"}},fr:{message:{hoursOfOperation:"Heures d'ouverture"}},it:{message:{hoursOfOperation:"Orari di apertura"}},es:{message:{hoursOfOperation:"Horario de apertura"}},nl:{message:{hoursOfOperation:"Openingstijden"}},cs:{message:{hoursOfOperation:"hodiny operace"}}}}},o=n("KHd+"),r=Object(o.a)(a,i,[],!1,null,null,null);t.default=r.exports}}]);