(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[273],{"KHd+":function(e,t,n){"use strict";function s(e,t,n,s,o,l,a,i){var r,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),s&&(c.functional=!0),l&&(c._scopeId="data-v-"+l),a?(r=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__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=r):o&&(r=i?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),r)if(c.functional){c._injectStyles=r;var u=c.render;c.render=function(e,t){return r.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,r):[r]}return{exports:e,options:c}}n.d(t,"a",(function(){return s}))},MqkC:function(e,t,n){"use strict";n.r(t);var s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tb-w-occupancy-card-prognosis text-gray-800",class:{"pb-8":e.allInfoIsNull||e.allInfoIsZeroOrNull}},[n("div",{staticClass:"grid grid-cols-8 gap-1"},e._l(e.prognosis,(function(e,t){return n("tb-w-occupancy-bars",{key:t,attrs:{occupancy:e||0,time:t}})})),1),e._v(" "),e.$slots.title?n("h3",{staticClass:"text-sm font-bold mt-4"},[e._t("title")],2):e._e(),e._v(" "),e.$slots.content?n("p",{staticClass:"text-sm"},[e._t("content")],2):e._e(),e._v(" "),e.allInfoIsNull?n("div",{staticClass:"absolute bottom-0 right-0 left-0 h-8 flex justify-center items-center text-xs rounded-b-md"},[e._v("\n        "+e._s(e.$t("message.allInfoIsNull"))+"\n    ")]):e._e()])};s._withStripped=!0;var o={props:{prognosis:{type:Array,required:!0}},computed:{allInfoIsNull(){return!this.prognosis.some(e=>null!==e)},allInfoIsZeroOrNull(){return 0===this.prognosis.reduce((e,t)=>e+t)}},i18n:{fallbackLocale:"de",silentFallbackWarn:"undefined"==typeof window,messages:{de:{message:{allInfoIsNull:"Es sind leider keine Infos zur voraussichtlichen Auslastung vorhanden."}},en:{message:{allInfoIsNull:"Unfortunately, there is no info available on the expected occupancy rate."}},fr:{message:{allInfoIsNull:"Malheureusement, il n'y a pas d'information\n                    disponible sur le taux d'occupation attendu."}},it:{message:{allInfoIsNull:"Unfortunately, there is no info available on the expected occupancy rate."}},es:{message:{allInfoIsNull:"Unfortunately, there is no info available on the expected occupancy rate."}},nl:{message:{allInfoIsNull:"Unfortunately, there is no info available on the expected occupancy rate."}},cs:{message:{allInfoIsNull:"Unfortunately, there is no info available on the expected occupancy rate."}}}}},l=n("KHd+"),a=Object(l.a)(o,s,[],!1,null,null,null);a.options.__file="node_modules/@newland/toubiz-widget/src/components/visitor-channeling/tb-w-occupancy-card-prognosis.vue";t.default=a.exports}}]);