text: (window.webpackJsonp=window.webpackJsonp||[]).push([[3],{300:function(t,n,e){"use strict";e.r(n);var o={asyncData:function(t){var n=t.query._storyblok||t.isDev?"draft":"published";return t.app.$storyapi.get("cdn/stories"+t.route.path+"/home",{version:n}).then((function(t){return t.data})).catch((function(n){n.response?t.error({statusCode:n.response.status,message:n.response.data}):t.error({statusCode:404,message:"Failed to receive content form api"})}))},data:function(){return{story:{content:{}}}},mounted:function(){var t=this;this.$storybridge.on("input",(function(n){n.story.id===t.story.id&&(t.story.content=n.story.content)})),this.$storybridge.on(["published","change"],(function(n){t.$nuxt.$router.go({path:t.$nuxt.$router.currentRoute,force:!0})}))}},r=e(3),component=Object(r.a)(o,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("section",[t.story.content.component?e(t.story.content.component,{key:t.story.content._uid,tag:"component",attrs:{blok:t.story.content}}):t._e()],1)}),[],!1,null,null,null);n.default=component.exports}}]);