(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[430,446,447,448],{"KHd+":function(e,t,a){"use strict";function n(e,t,a,n,i,s,o,r){var c,d="function"==typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=a,d._compiled=!0),n&&(d.functional=!0),s&&(d._scopeId="data-v-"+s),o?(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__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},d._ssrRegister=c):i&&(c=r?function(){i.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(d.functional){d._injectStyles=c;var l=d.render;d.render=function(e,t){return c.call(t),l(e,t)}}else{var p=d.beforeCreate;d.beforeCreate=p?[].concat(p,c):[c]}return{exports:e,options:d}}a.d(t,"a",(function(){return n}))},guH4:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[!e.loading&&e.article?a("div",{staticClass:"tb-w-standalone-occupancy"},[e.article.capacity?a("tb-w-occupancy",{attrs:{capacity:e.article.capacity,item:e.article,"display-max-width-container":e.displayContainer,"display-content-centered":e.displayCentered}}):e._e()],1):e._e(),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:e.loading,expression:"loading"}]},[a("div",{class:{"px-4":e.displayContainer}},[a("div",{staticClass:"flex",class:{"justify-center":e.displayCentered,"max-w-4xl mx-auto":e.displayContainer}},[a("skeleton-loader",{attrs:{width:"17.5rem",height:"110px",animation:"fade",type:"rect",radius:6,rounded:!0}})],1)])])])};n._withStripped=!0;var i=a("xBaG"),s={name:"StandaloneOccupancy",data:()=>({article:null,loading:!0}),props:{id:{type:String,required:!0},displayCentered:{type:Boolean,default:!1},displayContainer:{type:Boolean,default:!0}},methods:{...Object(i.b)({setDateIndex:"visitorChanneling/setDateIndex"}),async fetchArticle(e){try{const t=await this.articleRepository.fetch(e,{include:["capacity","externalIds"],language:this.$store.state.language});this.article=t.payload,this.loading=!1}catch(e){console.error(e)}}},created(){this.fetchArticle(this.id),this.setDateIndex()}},o=a("KHd+"),r=Object(o.a)(s,n,[],!1,null,null,null);t.default=r.exports}}]);