(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[345],{"459H":function(e,t,o){"use strict";o.r(t);var n=function(){var e=this,t=e.$createElement;return(e._self._c||t)("tb-w-autocompleted-select",{ref:"autocomplete",attrs:{value:e.value,options:e.options,label:e.$t("message.category")},on:{input:function(t){return e.$emit("input",t)}}})};n._withStripped=!0;var a={name:"TbWCategorySearch",props:{value:{validator:e=>"string"==typeof e||null===e,required:!0},type:{type:String,default:null}},data:()=>({options:{}}),async created(){const e=await this.categoryRepository.listFlattened(),t={};for(const o of e)this.type&&o.type!==this.type||(t[o.id]=o.nameWithParents);this.options=t},methods:{reset(){this.$refs.autocomplete.reset()}},i18n:{fallbackLocale:"de",silentFallbackWarn:"undefined"==typeof window,messages:{de:{message:{category:"Kategorie"}},en:{message:{category:"Category"}},fr:{message:{category:"Catégorie"}},it:{message:{category:"Categoria"}},es:{message:{category:"Categoría"}},nl:{message:{category:"Categorie"}},cs:{message:{category:"Kategorie"}}}}},s=o("KHd+"),r=Object(s.a)(a,n,[],!1,null,null,null);t.default=r.exports},"KHd+":function(e,t,o){"use strict";function n(e,t,o,n,a,s,r,i){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=o,l._compiled=!0),n&&(l.functional=!0),s&&(l._scopeId="data-v-"+s),r?(c=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__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},l._ssrRegister=c):a&&(c=i?function(){a.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:a),c)if(l.functional){l._injectStyles=c;var d=l.render;l.render=function(e,t){return c.call(t),d(e,t)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,c):[c]}return{exports:e,options:l}}o.d(t,"a",(function(){return n}))}}]);