(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d8561e02"],{"49c1":function(e,t,n){},"9e1b":function(e,t,n){"use strict";n("49c1")},dabe:function(e,t,n){"use strict";n.r(t);var c=n("7a23"),i=Object(c["K"])("data-v-3565b88b");Object(c["u"])("data-v-3565b88b");var o={class:"plugin"};Object(c["s"])();var a=i((function(e,t,n,i,a,r){var s=Object(c["z"])("Loading");return Object(c["r"])(),Object(c["e"])("div",o,[a.loading?(Object(c["r"])(),Object(c["e"])(s,{key:0})):a.component?(Object(c["r"])(),Object(c["e"])(Object(c["A"])(a.component),{key:1,config:a.config},null,8,["config"])):Object(c["f"])("",!0)])})),r=n("1da1"),s=(n("96cf"),n("a15b"),n("d81d"),n("ac1f"),n("1276"),n("fb6a"),n("d3b7"),n("3ca3"),n("ddb0"),n("3e54")),u=n("3a5e"),p={name:"Plugin",components:{Loading:u["a"]},mixins:[s["a"]],props:{pluginName:{type:String,required:!0}},data:function(){return{loading:!1,component:null,config:{}}},computed:{componentName:function(){return this.pluginName.split(".").map((function(e){return e[0].toUpperCase()+e.slice(1)})).join("")}},methods:{refresh:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,i=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.loading=!0,e.prev=1,this.component=Object(c["i"])((function(){return n("0f0c")("./".concat(i.componentName,"/Index"))})),this.$options.components[this.componentName]=this.component,e.next=6,this.request("config.get_plugins");case 6:if(e.t2=t=e.sent,e.t1=null===e.t2,e.t1){e.next=10;break}e.t1=void 0===t;case 10:if(!e.t1){e.next=14;break}e.t3=void 0,e.next=15;break;case 14:e.t3=t[this.pluginName];case 15:if(e.t0=e.t3,e.t0){e.next=18;break}e.t0={};case 18:this.config=e.t0;case 19:return e.prev=19,this.loading=!1,e.finish(19);case 22:case"end":return e.stop()}}),e,this,[[1,,19,22]])})));function t(){return e.apply(this,arguments)}return t}()},mounted:function(){this.refresh()}};n("9e1b");p.render=a,p.__scopeId="data-v-3565b88b";t["default"]=p}}]);
//# sourceMappingURL=chunk-d8561e02.5a2d2ffe.js.map