(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[362],{"7RWo":function(e,t,i){"use strict";i.r(t);var s=function(){var e,t=this,i=t.$createElement,s=t._self._c||i;return s("div",[s("tb-w-section",{directives:[{name:"show",rawName:"v-show",value:!t.loaderSuspense,expression:"!loaderSuspense"}]},[s("skeleton-loader",{attrs:{width:"18rem",height:"2.5rem",animation:"fade",type:"rect",radius:6,rounded:!0}}),t._v(" "),s("skeleton-loader",{staticClass:"mt-4",attrs:{width:"100%",height:"45rem",animation:"fade",type:"rect",radius:6,rounded:!0}}),t._v(" "),s("skeleton-loader",{staticClass:"mt-12",attrs:{width:"18rem",height:"2.5rem",animation:"fade",type:"rect",radius:6,rounded:!0}}),t._v(" "),s("skeleton-loader",{staticClass:"mt-4",attrs:{width:"100%",height:"35rem",animation:"fade",type:"rect",radius:6,rounded:!0}})],1),t._v(" "),s("transition",{attrs:{name:"fade"}},[s("div",{directives:[{name:"show",rawName:"v-show",value:t.loaderSuspense,expression:"loaderSuspense"}]},[null!==(e=t.article)&&void 0!==e&&e.openingTimes?s("tb-w-section",{staticClass:"tb-w-article-detail-opening-times-section",scopedSlots:t._u([{key:"content",fn:function(){var e;return[s("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[s("div",["live"===t.type?s("div",{staticClass:"text-left max-w-sm inline-flex"},[s("tb-w-opening-times-line-preview",{attrs:{"opening-times":e.openingTimes,"for-date-and-time":new Date}})],1):t._e(),t._v(" "),s("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?s("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?s("tb-w-article-detail-price",{attrs:{article:t.article}}):t._e()],1)])],1)};s._withStripped=!0;var a=i("m5nq"),n={props:{id:{type:String,required:!0},type:{type:String,default:"overview",validator:e=>["live","overview"].includes(e)}},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},a.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:"Openingtijden"}},cs:{message:{hoursOfOperation:"hodiny operace"}}}}},r=i("KHd+"),o=Object(r.a)(n,s,[],!1,null,null,null);o.options.__file="node_modules/@newland/toubiz-widget/src/routes/openingtimes-prices.vue";t.default=o.exports}}]);