(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[168],{"KHd+":function(t,e,n){"use strict";function r(t,e,n,r,o,s,a,i){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),s&&(u._scopeId="data-v-"+s),a?(c=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(a)},u._ssrRegister=c):o&&(c=i?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var d=u.render;u.render=function(t,e){return c.call(e),d(t,e)}}else{var l=u.beforeCreate;u.beforeCreate=l?[].concat(l,c):[c]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},N8I4:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("sdSa");function o(t){Object(r.a)(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"==typeof t&&"[object Date]"===e?new Date(t.getTime()):"number"==typeof t||"[object Number]"===e?new Date(t):("string"!=typeof t&&"[object String]"!==e||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}},Q3Ip:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("ZoCn"),o=n("N8I4"),s=n("sdSa");function a(t,e){Object(s.a)(2,arguments);var n=Object(o.a)(t).getTime(),a=Object(r.a)(e);return new Date(n+a)}},ZoCn:function(t,e,n){"use strict";function r(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}n.d(e,"a",(function(){return r}))},r1vC: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("p",{staticClass:"mt-4 text-xs text-gray-700"},[t._v("\n    Quelle:\n\n    "),"areaNotices"===t.source?n("a",{staticClass:"text-link-500",attrs:{href:"https://tourismus-wegweiser.de/",target:"_blank"}},[t._v("\n        Kompetenzzentrum Tourismus des Bundes\n    ")]):"rki"===t.source?n("a",{staticClass:"text-link-500",attrs:{href:"https://www.rki.de/DE/Content/InfAZ/N/Neuartiges_Coronavirus/Fallzahlen.html",target:"_blank"}},[t._v("\n        Robert Koch-Institut\n    ")]):t._e(),t._v("\n\n    (Stand "+t._s(t.updatedAt)+" Uhr)\n")])};r._withStripped=!0;var o=n("g8pp"),s={props:{source:{type:String,default:"areaNotices"}},computed:{updatedAt(){let t="";if("areaNotices"===this.source&&this.$store.state.areaNotices){const e=this.$store.state.areaNotices.find(t=>"wegweiser"===t.source);t=new Date(e.updatedAt)}else if("rki"===this.source&&this.$store.state.areaNotices){const e=this.$store.state.areaNotices.find(t=>"rki_corona"===t.source);t=new Date(e.updatedAt)}return Object(o.a)(t,"dd.MM.yyyy, HH.mm")}}},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-source.vue";e.default=i.exports},sdSa:function(t,e,n){"use strict";function r(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}n.d(e,"a",(function(){return r}))}}]);