(window.webpackJsonp=window.webpackJsonp||[]).push([[80],{613:function(n,t,e){"use strict";e.r(t);e(614),e(19),e(42);var r={data:function(){return{page_slug:this.$route.path,tab_number:0,tabs:[],dynamicBlocks:null}},mounted:function(){var n=this,t=[];this.page&&this.page.content?t=this.page.content:this.page&&this.page.children&&(t=this.page.children);var e=[],r=[];t.forEach((function(n,t){"tab_in"==n.component&&e.push(t),"tab_out"==n.component&&r.push(t)}));var o=0,c=0;e.forEach((function(e,l){var d=r[l]-e;0==l&&(c=e,n.$store.commit("setActiveTab",t[e].settings.id)),n.tabs[c]=t.splice(e+1-o,d-1),t.splice(e+1-o,1),o+=d,c++})),this.dynamicBlocks=t},computed:{get_tab_content:function(){var n;return n=this.tabs[this.tab_number],this.tab_number++,n}},components:{banner:function(){return e.e(14).then(e.bind(null,642))},slideshow:function(){return e.e(26).then(e.bind(null,887))},banner_job:function(){return e.e(34).then(e.bind(null,888))},text_image:function(){return e.e(19).then(e.bind(null,889))},thumbnail:function(){return e.e(27).then(e.bind(null,657))},cta:function(){return e.e(2).then(e.bind(null,886))},small_cta:function(){return e.e(46).then(e.bind(null,890))},cta_second_col:function(){return e.e(38).then(e.bind(null,891))},navigation_block:function(){return e.e(41).then(e.bind(null,892))},news_banner:function(){return e.e(42).then(e.bind(null,893))},text_video:function(){return e.e(49).then(e.bind(null,894))},feature:function(){return e.e(15).then(e.bind(null,895))},specification:function(){return e.e(18).then(e.bind(null,896))},document:function(){return e.e(39).then(e.bind(null,897))},testimony:function(){return e.e(24).then(e.bind(null,898))},testimony_slider:function(){return e.e(20).then(e.bind(null,899))},sectionDiv:function(){return e.e(45).then(e.bind(null,900))},textDiv:function(){return e.e(48).then(e.bind(null,732))},event:function(){return e.e(22).then(e.bind(null,901))},news:function(){return e.e(16).then(e.bind(null,902))},product_list:function(){return e.e(37).then(e.bind(null,903))},plan:function(){return e.e(44).then(e.bind(null,904))},tableDiv:function(){return e.e(35).then(e.bind(null,905))},configurator:function(){return e.e(21).then(e.bind(null,906))},education:function(){return e.e(13).then(e.bind(null,907))},presentation:function(){return e.e(31).then(e.bind(null,908))},videoDiv:function(){return e.e(17).then(e.bind(null,643))},gallery:function(){return e.e(25).then(e.bind(null,909))},parallax:function(){return e.e(30).then(e.bind(null,910))},addon:function(){return e.e(28).then(e.bind(null,911))},job_list:function(){return e.e(23).then(e.bind(null,912))},wysiwyg:function(){return e.e(50).then(e.bind(null,913))},timeline:function(){return e.e(32).then(e.bind(null,914))},form_technical_support:function(){return e.e(36).then(e.bind(null,915))},blocs_and_images:function(){return e.e(29).then(e.bind(null,916))},two_col_bloc_right:function(){return e.e(33).then(e.bind(null,917))},statistics:function(){return e.e(47).then(e.bind(null,918))},packages:function(){return e.e(43).then(e.bind(null,919))},htmlDiv:function(){return e.e(40).then(e.bind(null,920))},tab_in:function(){return e.e(92).then(e.bind(null,921))},tab_out:function(){return e.e(95).then(e.bind(null,922))},tab_selector:function(){return e.e(96).then(e.bind(null,923))},lp_accordeon_icon:function(){return e.e(88).then(e.bind(null,924))},lp_client_testimonies:function(){return e.e(86).then(e.bind(null,925))},lp_title_cta:function(){return e.e(93).then(e.bind(null,926))},lp_text_cta:function(){return e.e(94).then(e.bind(null,927))},lp_advantages:function(){return e.e(89).then(e.bind(null,928))},lp_beds_card:function(){return e.e(90).then(e.bind(null,929))},anchor:function(){return e.e(87).then(e.bind(null,930))}},props:{page:Object}},o=e(16),component=Object(o.a)(r,(function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",[n._l(n.dynamicBlocks,(function(content,t){return n.page?["section"==content.component?e(content.component+"Div",{tag:"component",attrs:{data:content.children}}):"tab_in"==content.component?e(content.component,{tag:"component",attrs:{data:content.settings,tab_content:n.tabs[t]}}):"text"==content.component||"table"==content.component||"video"==content.component||"text"==content.component||"html"==content.component||"table"==content.component||"video"==content.component?e(content.component+"Div",{tag:"component",attrs:{data:content.settings}}):"cta_second_col"==content.component?e(content.component,{tag:"component",attrs:{data:content.settings,slug:n.page_slug}}):e(content.component,{tag:"component",attrs:{data:content.settings}})]:n._e()}))],2)}),[],!1,null,null,null);t.default=component.exports},614:function(n,t,e){"use strict";var r=e(13),o=e(50),c=e(146),l=e(90),d=e(55),h=e(615),f=e(329),m=e(202),_=e(113),v=e(330),w=e(114)("splice"),y=Math.max,x=Math.min;r({target:"Array",proto:!0,forced:!w},{splice:function(n,t){var e,r,w,k,D,j,O=o(this),$=d(O),E=c(n,$),T=arguments.length;for(0===T?e=r=0:1===T?(e=0,r=$-E):(e=T-2,r=x(y(l(t),0),$-E)),f($+e-r),w=m(O,r),k=0;k<r;k++)(D=E+k)in O&&_(w,k,O[D]);if(w.length=r,e<r){for(k=E;k<$-r;k++)j=k+e,(D=k+r)in O?O[j]=O[D]:v(O,j);for(k=$;k>$-r+e;k--)v(O,k-1)}else if(e>r)for(k=$-r;k>E;k--)j=k+e-1,(D=k+r-1)in O?O[j]=O[D]:v(O,j);for(k=0;k<e;k++)O[k+E]=arguments[k+2];return h(O,$-r+e),w}})},615:function(n,t,e){"use strict";var r=e(22),o=e(145),c=TypeError,l=Object.getOwnPropertyDescriptor,d=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(n){return n instanceof TypeError}}();n.exports=d?function(n,t){if(o(n)&&!l(n,"length").writable)throw c("Cannot set read only .length");return n.length=t}:function(n,t){return n.length=t}},882:function(n,t,e){"use strict";e.r(t);e(26);var r=e(4),o={components:{Dynamic:e(613).default},data:function(){return{is_preview:!1,page:null}},asyncData:function(n){return Object(r.a)(regeneratorRuntime.mark((function t(){var e,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return console.log("test"),t.next=3,n.app.$customApollo.getProductType(n.route.path);case 3:if(e=t.sent,r=n.route.path.indexOf("preview")>-1){t.next=15;break}if(!e){t.next=12;break}return t.next=9,n.app.$urlTranslation(e.slug,"product_type",["","category"]);case 9:return t.abrupt("return",{page:e});case 12:return t.abrupt("return",n.error({statusCode:404}));case 13:t.next=16;break;case 15:return t.abrupt("return",{is_preview:r});case 16:case"end":return t.stop()}}),t)})))()},head:function(){if(!this.is_preview)return this.$generateContentSeoMetas(this.page,this.page.parent.title)},mounted:function(){var n=this;window.addEventListener("message",(function(t){"cockpit:collections.preview"==t.data.event&&(n.$setLocalizedApiObject(t.data.entry,t.data.lang),n.page=t.data.entry)}))}},c=e(16),component=Object(c.a)(o,(function(){var n=this.$createElement,t=this._self._c||n;return t("div",[t("Dynamic",{attrs:{page:this.page}})],1)}),[],!1,null,null,null);t.default=component.exports;installComponents(component,{Dynamic:e(613).default})}}]);