(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[392],{"KHd+":function(t,e,s){"use strict";function n(t,e,s,n,o,r,i,a){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=s,c._compiled=!0),n&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),i?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},c._ssrRegister=l):o&&(l=a?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,l):[l]}return{exports:t,options:c}}s.d(e,"a",(function(){return n}))},oxDo:function(t,e,s){"use strict";s.r(e);var n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("tb-w-popover",{ref:"hostsFilter",staticClass:"mr-4",class:{"flex-initial flex-shrink-0":t.parentEq.small,"mb-4":!(t.parentEq.small||t.filterSectionCount<=2)},attrs:{alignment:t.parentEq.medium||t.filterSectionCount>4?"left":"right","position-relative":!t.parentEq.small},on:{toggle:function(e){return t.$emit("toggle")}},scopedSlots:t._u([{key:"trigger",fn:function(e){var n=e.toggle,o=e.showPopover;return[s("tb-w-button",{class:{"bg-gray-100":o},attrs:{variant:"tertiary"},on:{click:function(t){return n()}}},[t._v("\n            "+t._s(t.sectionLabel)+"\n            "),s("tb-w-icon",{staticClass:"ml-2",attrs:{icon:o?"chevron-up":"chevron-down",size:".5"}})],1)]}},{key:"default",fn:function(){return[s("tb-w-hosts-filter",{staticClass:"w-64",attrs:{options:t.options,label:t.$t("message.searchHosts"),"is-search-string-active":""},on:{input:t.onInput}})]},proxy:!0}])})};n._withStripped=!0;var o={name:"TbWEventFilterHosts",props:{sectionLabel:{type:String,required:!0},hosts:{type:Object,required:!0},filterSectionCount:{type:Number,required:!0},parentEq:{type:Object,required:!0}},data:()=>({options:[]}),created(){this.options=Object.entries(this.hosts).map(([t,e])=>({id:t,name:e}))},methods:{onInput(t){this.$emit("input",t),this.$refs.hostsFilter.toggle()}},i18n:{fallbackLocale:"de",silentFallbackWarn:"undefined"==typeof window,messages:{de:{message:{hosts:"Veranstalter",searchHosts:"Veranstalter suchen"}},en:{message:{hosts:"host",searchHosts:"Search hosts"}},fr:{message:{hosts:"Host"}},it:{message:{hosts:"Host"}},es:{message:{hosts:"Host"}},nl:{message:{hosts:"Host"}},cs:{message:{hosts:"Host"}}}}},r=s("KHd+"),i=Object(r.a)(o,n,[],!1,null,null,null);e.default=i.exports}}]);