webpackJsonp([5],{"8Byo":function(o,e,t){"use strict";var r=t("9YJX"),i=t("Cb+C"),n=t("Rhsk");document.addEventListener("dragover",function(o){o.preventDefault()},!1),document.addEventListener("drop",function(o){o.preventDefault()},!1),Object(r.a)(),e.a={computed:{isDefaultSkin:function(){var o=this.$sget(this.$store.state.skin,"skinInfo"),e=!1;return 0===this.$sget(o,"type")?(e=!0,document.body.classList.remove("is-theme")):document.body.classList.add("is-theme"),e},isSpeedCurveDefaultSkin:function(){var o=this.$sget(this.$store.state.skin,"speedCurveSkinInfo"),e=!1;return 1!==this.$sget(o,"id")&&Object(n.l)(this.$sget(o,"icon_link"))?document.body.classList.add("is-theme-speed"):(e=!0,document.body.classList.remove("is-theme-speed")),e}},created:function(){var o=this;this.$store.dispatch("home/getConfigModules"),this.$store.dispatch("comments/getQuickReview"),this.initFetchConfig(),this.$store.dispatch("skin/getSkinInfo").then(function(e){o.setCssVariables(e)}),this.$store.dispatch("skin/getSpeedCurveSkinInfo").then(function(e){o.setSpeedCurveCssVariables(e)})},mounted:function(){var o=this;i.a.api.attach("OnChangeSkin",function(e){o.$store.commit("skin/setSkinInfo",e),o.setCssVariables(e)}),i.a.api.attach("OnChangeSpeedCurveSkin",function(e){o.$store.commit("skin/setSpeedCurveSkinInfo",e),o.setSpeedCurveCssVariables(e)})},methods:{initFetchConfig:function(){var o=this;i.a.api.attach("OnConfigValueChanaged",function(e,t,r,i){e in o.$store.state.config&&t in o.$store.state.config[e]&&r!==i&&o.$store.commit("config/setConfigValue",{section:e,key:t,value:i})}),this.$store.dispatch("config/getConfigValue",{section:"GenericSettings",key:"AnimationLevel",defaultValue:"1"})},setCssVariables:function(o){if(void 0!==this.$sget(o,"colorID"))if(this.isDefaultSkin)Object(n.i)(document.body,{"--color-primary-theme":"","--color-primary-control-1":"","--color-primary-control-2":"","--color-primary-control-3":"","--color-primary-control-4":"","--color-primary-gradient-1":"","--color-primary-gradient-2":"","--color-primary-text":"","--color-search":"","--color-secondary":"","--color-gradient-background-1":"","--color-gradient-background-2":"","--color-gradient-foreground-1":"","--color-gradient-foreground-2":"","--color-accordion-1":"","--color-accordion-2":"","--default-opacity-1":"","--default-opacity-2":""});else{var e=o.colors,t=e.colorPrimaryControl1,r=e.colorGradientBackground,i=e.colorPrimaryText,a=e.colorSecondary,c=e.colorPrimary,s=e.colorPrimaryGradient,l=e.colorPrimaryControl2,d=e.colorPrimaryControl3,u=e.colorPrimaryControl4,f=e.colorSearch,p=e.colorGradientForeground,g=e.colorAccordion,h=o.opacity,m=void 0===h?.35:h;Object(n.i)(document.body,{"--color-primary-theme":""+c,"--color-primary-control-1":""+t,"--color-primary-control-2":""+l,"--color-primary-control-3":""+d,"--color-primary-control-4":""+u,"--color-primary-gradient-1":""+s[0],"--color-primary-gradient-2":""+s[1],"--color-primary-text":""+i,"--color-search":""+f,"--color-secondary":""+a,"--color-gradient-background-1":""+r[0],"--color-gradient-background-2":""+r[1],"--color-gradient-foreground-1":""+p[0],"--color-gradient-foreground-2":""+p[1],"--color-accordion-1":""+g[0],"--color-accordion-2":""+g[1],"--default-opacity-1":""+(m-.1),"--default-opacity-2":""+(m+.1)})}},setSpeedCurveCssVariables:function(o){if(this.isSpeedCurveDefaultSkin)Object(n.i)(document.body,{"--chart-bg":""});else{var e=this.$sget(o,"icon_link");Object(n.i)(document.body,{"--chart-bg":"url('"+e+"')"})}}}}},"9YJX":function(o,e,t){"use strict";e.a=function(){document.addEventListener("drop",function(o){o.preventDefault();var e=o.dataTransfer,t=e.files,i=e.items;if(void 0!==i&&null!==i&&i.length>0)for(var n=0;n<i.length;n++){var a=i[n];"string"===a.kind&&"text/uri-list"===a.type&&a.getAsString(function(o){Object(r.b)("DropOpenUrl",o)})}if(void 0!==t&&null!==t&&t.length>0)for(var c=0;c<t.length;c++){var s=t[c],l=s.path;void 0!==l&&null!==l&&""!==l&&Object(r.b)("DropOpenFile",l)}},!1)};var r=t("/8Fg")},Ma2J:function(o,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=t("8Byo"),i=t("STrE"),n=t("VU/8")(r.a,i.a,!1,null,null,null);n.options.__file="layouts\\default.vue",e.default=n.exports},STrE:function(o,e,t){"use strict";var r=function(){var o=this.$createElement,e=this._self._c||o;return e("div",[e("nuxt")],1)};r._withStripped=!0;var i={render:r,staticRenderFns:[]};e.a=i}});
//# sourceMappingURL=../../sourcemaps/layouts_default.0db569d5419b8af4326a.js.map