(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[362],{"0oFR":function(e,n,t){"use strict";t.r(n),t.d(n,"ParserRegistry",(function(){return s}));var i=t("a6hf");const s={parsers:{legacy:i.e,"legacy-attraction":i.d,toubizV1:i.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!!s.hasParser(e)||(console.warn(`\n            openingTimesFormat must be one of[${s.parserNames().join(", ")}].\n            \`${e}\` is not allowed.\n        `),!1)}},openingTimesDefinition:{type:Object,required:!0}},computed:{openingTimes(){if(!this.openingTimesDefinition)return null;const e=s.initialize(this.openingTimesFormat).parse(this.openingTimesDefinition);return e&&0!==e.times.length?e:null}}},o=t("KHd+"),a=Object(o.a)(r,void 0,void 0,!1,null,null,null);n.default=a.exports},"KHd+":function(e,n,t){"use strict";function i(e,n,t,i,s,r,o,a){var l,u="function"==typeof e?e.options:e;if(n&&(u.render=n,u.staticRenderFns=t,u._compiled=!0),i&&(u.functional=!0),r&&(u._scopeId="data-v-"+r),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)},u._ssrRegister=l):s&&(l=a?function(){s.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:s),l)if(u.functional){u._injectStyles=l;var p=u.render;u.render=function(e,n){return l.call(n),p(e,n)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}t.d(n,"a",(function(){return i}))}}]);