(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[154],{"7BfZ":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("VjoN");function o(t,e,n,o,i){let s={};return o&&(s.categories=[String(o)]),i&&(s.dynamicFields=i),{name:t+".list",query:{params:Object(r.b)({predefinedParams:{filter:{element:e,area:n}},filter:s})}}}},"7yoQ":function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return i}));var r=n("6dQ1");function o(e){return Object(r.b)()?t.from(e,"utf-8").toString("base64"):btoa(e)}function i(e){return Object(r.b)()?t.from(e,"base64").toString("utf-8"):atob(e)}}).call(this,n("tjlA").Buffer)},"KHd+":function(t,e,n){"use strict";function r(t,e,n,r,o,i,s,a){var u,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),s?(u=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(s)},c._ssrRegister=u):o&&(u=a?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(t,e){return u.call(e),l(t,e)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,u):[u]}return{exports:t,options:c}}n.d(e,"a",(function(){return r}))},VjoN:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return i}));var r=n("7yoQ");function o(t){return encodeURIComponent(Object(r.b)(JSON.stringify(t)))}const i={created(){for(const t of this.$options.urlState)this.restoreStateFromUrl(t),this.$watch(t,e=>this.saveStateToUrl(t,e),{deep:!0})},methods:{saveStateToUrl(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this[t];const n=Object.assign({},this.$route.query);n[t]=o(e),this.$router.push({name:this.$route.name,query:n}).catch(t=>{if(!(""+t.message).includes("redundant navigation"))throw t})},restoreStateFromUrl(t){if(!this.$route.query[t])return null;try{const e=function(t){return JSON.parse(Object(r.a)(decodeURIComponent(t)))}(this.$route.query[t]);return this.$set(this,t,e),e}catch(e){return console.warn(`Could not restore state ${t} from URL parameter ${t}`,e),null}}}}},hkNU:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this.$createElement;return(this._self._c||t)("tb-w-button",{staticClass:"tb-w-corona-category-filter-link mt-4",attrs:{href:this.buildListUrl(),variant:"secondary",target:"_blank"}},[this._v("\n    "+this._s(this.category.label)+"\n")])};r._withStripped=!0;var o=n("7BfZ"),i={props:{element:{type:String,required:!0},category:{type:Object,default:null},id:{type:String,required:!0}},methods:{buildListUrl(){return this.buildUrl(Object(o.a)(this.category.type,this.element,this.id,this.category.id))}}},s=n("KHd+"),a=Object(s.a)(i,r,[],!1,null,null,null);a.options.__file="node_modules/@newland/toubiz-widget/src/components/corona-information/tb-w-corona-category-filter-link.vue";e.default=a.exports}}]);