(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[140],{"7BfZ":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("VjoN");function o(t,e,n,o,s){let a={};return o&&(a.categories=[String(o)]),s&&(a.dynamicFields=s),{name:t+".list",query:{params:Object(r.b)({predefinedParams:{filter:{element:e,area:n}},filter:a})}}}},"7yoQ":function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return s}));var r=n("6dQ1");function o(e){return Object(r.a)()?t.from(e,"utf-8").toString("base64"):btoa(e)}function s(e){return Object(r.a)()?t.from(e,"base64").toString("utf-8"):atob(e)}}).call(this,n("tjlA").Buffer)},VjoN:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return s}));var r=n("7yoQ");function o(t){return encodeURIComponent(Object(r.b)(JSON.stringify(t)))}const s={created(){for(const t of this.$options.urlState)this.restoreStateFromUrl(t),this.$watch(t,e=>this.saveStateToUrl(t,e),{deep:!0})},methods:{saveStateToUrl(t,e=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}}}}},Y4Dx:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tb-w-section",{attrs:{background:t.background,wide:"",gaps:""},scopedSlots:t._u([{key:"content",fn:function(){return[n("tb-w-corona-element-links",{attrs:{type:t.elementInfo.slug,article:t.article}}),t._v(" "),n("tb-w-collapse",{staticClass:"mt-16",scopedSlots:t._u([{key:"trigger",fn:function(e){var r=e.toggle,o=e.isOpen;return[n("button",{staticClass:"w-full font-bold flex items-center text-left focus:outline-none",on:{click:r}},[n("tb-w-icon",{staticClass:"transform transition-transform duration-150 mr-6",class:{"rotate-180":o},attrs:{icon:"chevron-down"}}),t._v(" "),n("h3",{staticClass:"text-lg text-gray-800 font-bold"},[t._v("\n                        Was darf ich aktuell?\n                    ")])],1)]}}])},[t._v(" "),t.hasAreaNotices?n("tb-w-corona-element-info-table",{attrs:{"element-info":t.elementInfo}}):t._e()],1)]},proxy:!0}])},[n("span",{staticClass:"flex justify-start items-center"},[n("span",{staticClass:"rounded-full border bg-white border-primary-500 h-14 w-14 flex flex-shrink-0 justify-center items-center mr-4"},[n("tb-w-icon",{staticClass:"text-gray-700",attrs:{icon:t.elementInfo.icon,size:"1.5"}})],1),t._v(" "),n("a",{staticClass:"font-bold text-2xl text-gray-800 break-words border-b border-primary-500",attrs:{href:t.listLink,target:"_blank"}},[t._v("\n            "+t._s(t.elementInfo.name)+"\n        ")])])])};r._withStripped=!0;var o=n("7BfZ"),s={props:{background:{type:Boolean,default:!1},elementInfo:{type:Object,required:!0},article:{type:Object,required:!0}},computed:{hasAreaNotices(){return this.$store.state.areaNotices.length},listLink(){let t="";return t="events"===this.elementInfo.slug?"event":"article",this.buildUrl(Object(o.a)(t,this.elementInfo.slug,this.article.id))}}},a=n("KHd+"),i=Object(a.a)(s,r,[],!1,null,null,null);i.options.__file="node_modules/@newland/toubiz-widget/src/components/corona-information/tb-w-corona-element-info.vue";e.default=i.exports}}]);