System.register(["./request-legacy-6e7b4fe0.js","./index-legacy-b5b2d9a0.js"],(function(n,t){"use strict";var e,i,u,r;return{setters:[function(n){e=n.e,i=n.E},function(n){u=n.r,r=n.cc}],execute:function(){n("u",(function(n,e){var a=u(null),o=r(t,{cacheKey:"siteSetting",onSuccess:function(n){a.value=n.data}}),c=o.loading,s=o.refresh,d=r(n,{manual:!0,onSuccess:function(){i({message:"保存成功",type:"success"})}}),f=d.loading,l=d.run;return{siteSetting:a,siteSettingLoading:c,siteSettingReload:s,saveData:function(n){e&&e.value?e.value.validate((function(t,e){if(t)l(a.value);else if(!0===n)for(var u in e){for(var r="",o=0;o<e[u].length;o++)r+=e[u][o].message,o<e[u].length-1&&(r+=", ");i.warning(r)}})):l(a.value)},saveLoading:f}}));var t=n("l",(function(){return e({url:"/admin/config",method:"get"})}));n("f",(function(n){return e({url:"/admin/config/site",method:"put",data:n})})),n("h",(function(){return e({url:"/admin/serverAddress",method:"get",config:{showDefaultMsg:!1}})})),n("i",(function(){return e({url:"/admin/headers",method:"get",config:{showDefaultMsg:!1}})})),n("e",(function(n){return e({url:"/admin/config/view",method:"put",data:n})})),n("d",(function(){return e({url:"/admin/clientIp",method:"get",config:{showDefaultMsg:!1}})})),n("t",(function(n){return e({url:"/admin/rule-test",method:"post",data:n})})),n("g",(function(n){return e({url:"/admin/link/limit/info",method:"get",data:n})})),n("b",(function(n){return e({url:"/admin/config/link",method:"put",data:n})})),n("a",(function(n){return e({url:"/admin/config/security",method:"put",data:n})})),n("c",(function(n){return e({url:"/admin/config/access",method:"put",data:n})})),n("j",(function(){return e({url:"/admin/log/download",method:"get",config:{responseType:"blob",showDefaultMsg:!1,responseIntercept:!1}})}))}}}));
