(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[255],{"0oFR":function(e,n,i){"use strict";i.r(n),i.d(n,"ParserRegistry",(function(){return t}));var s=i("a6hf");const t={parsers:{legacy:s.e,"legacy-attraction":s.d,toubizV1:s.f},addParser(e,n){this.parsers[e]=n},hasParser(e){return!!this.parsers[e]},parserNames(){return Object.keys(this.parsers)},initialize(e){return new this.parsers[e]}};var r={name:"TbWOpeningTimesParser",render(){if(!this.$scopedSlots.default)return null;const e=this.$scopedSlots.default({openingTimes:this.openingTimes});return e?(e.length>1&&console.warn("tb-w-opening-times-parser must have a default slot that renders at most a single element."),e[0]||null):null},props:{openingTimesFormat:{type:String,required:!0,validator:function(e){return!!t.hasParser(e)||(console.warn(`\n            openingTimesFormat must be one of[${t.parserNames().join(", ")}].\n            \`${e}\` is not allowed.\n        `),!1)}},openingTimesDefinition:{type:Object,required:!0}},computed:{openingTimes(){if(!this.openingTimesDefinition)return null;const e=t.initialize(this.openingTimesFormat).parse(this.openingTimesDefinition);return e&&0!==e.times.length?e:null}}},o=i("KHd+"),a=Object(o.a)(r,void 0,void 0,!1,null,null,null);a.options.__file="node_modules/@newland/toubiz-widget/src/components/basic/tb-w-opening-times-parser.vue";n.default=a.exports}}]);