(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[415],{A76k:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("minimal"!==e.styling?"tb-w-section":"div",{directives:[{name:"show",rawName:"v-show",value:!e.loaderSuspense,expression:"!loaderSuspense"}],tag:"component",attrs:{"no-container":e.noSectionSpacing,"no-spacing":e.noSectionSpacing}},["minimal"!==e.styling?n("skeleton-loader",{attrs:{width:"18rem",height:"2.5rem",animation:"fade",type:"rect",radius:6,rounded:!0}}):e._e(),e._v(" "),n("skeleton-loader",{staticClass:"mt-4",attrs:{width:"100%",height:"35rem",animation:"fade",type:"rect",radius:6,rounded:!0}})],1),e._v(" "),n("transition",{attrs:{name:"fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.loaderSuspense,expression:"loaderSuspense"}]},[e.article?n("tb-w-article-detail-price",{attrs:{article:e.article,"display-in-section":"minimal"!==e.styling,"no-section-spacing":e.noSectionSpacing}}):e._e()],1)])],1)};i._withStripped=!0;var a=n("m5nq"),o={name:"ArticlePrice",props:{id:{type:String,required:!0},styling:{type:String,default:"section",validator:e=>["section","minimal"].includes(e)},noSectionSpacing:{type:Boolean,default:!1}},data:()=>({article:null,loaderSuspense:!1}),methods:{async fetchArticle(e){this.article=null;try{const t=await this.articleRepository.fetch(e,{language:this.$store.state.language},a.a.VERSION_1);this.article=t.payload}catch(e){console.error(e)}}},watch:{article(){this.article&&setTimeout(()=>{this.loaderSuspense=!0},300)},id:{immediate:!0,handler(e){this.fetchArticle(e)}}}},s=n("KHd+"),r=Object(s.a)(o,i,[],!1,null,null,null);t.default=r.exports},"KHd+":function(e,t,n){"use strict";function i(e,t,n,i,a,o,s,r){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),s?(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__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},l._ssrRegister=c):a&&(c=r?function(){a.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:a),c)if(l.functional){l._injectStyles=c;var d=l.render;l.render=function(e,t){return c.call(t),d(e,t)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,c):[c]}return{exports:e,options:l}}n.d(t,"a",(function(){return i}))}}]);