(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[246],{bhy5:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this.$createElement,t=this._self._c||e;return null===this.event?t("tb-w-loader"):t("div",[t("tb-w-event-detail",{attrs:{event:this.event}})],1)};n._withStripped=!0;var l=i("Tm+q");const s=["awards","client","contactInformation","dates","fieldBlueprints","fieldValues","files","media","price","relatedArticles","seo"];var a={components:{TbWEventDetail:l.default},props:{id:{type:String,required:!0},globalConfiguration:{type:Object,required:!0}},data:()=>({event:null}),watch:{id:{immediate:!0,handler(e){this.fetchEvent(e)}}},methods:{async fetchEvent(e=this.id){this.event=null,this.location=null,this.host=null;const t=await this.eventRepository.fetch(e,{include:s});this.event=t.payload,this.event.fieldValues instanceof Array&&0===this.event.fieldValues.length&&(this.event.fieldValues={})}}},o=i("KHd+"),d=Object(o.a)(a,n,[],!1,null,null,null);d.options.__file="node_modules/@newland/toubiz-widget/src/routes/event-detail.vue";t.default=d.exports}}]);