function y7g(){}
function A7g(){}
function uvf(){tvf()}
function fvf(a){this.a=a}
function kvf(a){this.a=a}
function m7g(a){this.a=a}
function o7g(a){this.a=a}
function r7g(a){this.a=a}
function w7g(a){this.a=a}
function N7g(a){this.a=a}
function P7g(a){this.a=a}
function L7g(){this.a=new Hif}
function u7g(a,b){this.a=a;this.b=b}
function hvf(a,b){this.a=a;this.b=b}
function dvf(a){this.a=a;this.c=10}
function Cvf(a){a.b.Vb();a.a=0}
function jvf(a,b){a.a.a.b=b.a}
function q7g(a,b){h7g(a.a,b)}
function H7g(a,b){Fif(a.a,b)}
function I7g(a,b){a.d=b;Gif(a.a,b)}
function K7g(a,b){x_f(a.b,b);a.c.le('Server: '+W6g(b))}
function M8g(a){var b;if(!a.g){b=new L7g;a.g=b}return a.g}
function k7g(a,b,d,e,g,i){CGd.call(this,a,b,d);this.b=e;this.d=g;this.a=i;this.c=new Tif(e)}
function i7g(a){var b;b=new W8i;H8i(y8i(b,oHj),Hik);y8i(b,qHj).b=new vmj;uoj(new Nnj(b),new o7g(a))}
function h7g(a,b){var d;d=new W8i;H8i(y8i(d,oHj),d1j);H8i(y8i(d,GBj),agk);y8i(d,qHj).b=new vmj;uoj(new Nnj(d),new u7g(a,b))}
function j7g(a){var b,d;b=new dvf(new r7g(a));d=mkj((LYd(),Pak),Qak,new fvf(b));Dq((oq(),new hvf(b,d)),500)}
function L8g(a){var b;if(!a.f){b=new k7g(MFd(Jce(a.a)),M8g(a),K8g(a),(kJd(Lce(a.a)),Yoj(pee(a.a)),F7e(jde(a.a))),Nvf(Cde(a.a)),Xfe(Uce(a.a)));YFd((Kce(a.a),b),VGd(Kce(a.a)));a.f=b}return a.f}
function J7g(a,b){var d,e,g,i;if(b.b.sc()>0){i=b.b;e=new KQd;g=yUd(vUd(jh(i)));d=g.b?'The server configuration needs to be reloaded!':'The server needs to be restarted!';GQd((Pq(e.a,d),e),$Hj);Bnd(a.f,e.a.a);Nr(a.e,g.b)}a.g.oh(b.b.sc()>0?1:0)}
function t7g(a,b){var d,e,g;g=ooj(b);if(g.b.kN(LHj)&&y8i(g,LHj).b.b!=(Rmj(),Qmj)&&!QPd(y8i(g,LHj).b.cf(),MHj)){f4d(new wo('Failed to poll server state'))}else{e=y8i(g,xHj).b.cf();d=!RPd(e,EWj);if(!d){Cvf(a.a.d);SYd(w0j+(LYd(),Mik));J7g(a.a.A,a.a.d);kI(a.a.v,new uvf)}jvf(a.b,(MNd(),d?LNd:KNd))}}
var jjk='padding:15px;vertical-align:middle',ijk='padding:15px;vertical-align:middle;width:20%',hjk='status-panel';K3c(1479,1,Dyj);_.Wk=function(){this.b=null;fs(this.e)};K3c(2781,1,{},dvf);_.b=true;_.c=0;_.d=0;K3c(2782,1,{},fvf);_.Sc=function(){this.a.b=false};K3c(2783,1,{},hvf);_.vd=function(){++this.a.d;if(this.a.d>this.a.c){LYd();afe(Sfe(Wce(JYd.a)),new Eee(Sik,(Uee(),Tee)));this.a.b=false}else{q7g(this.a.a,new kvf(this))}!this.a.b&&!!this.b&&vHe(this.b);return this.a.b};K3c(2784,1300,{},kvf);_.fh=function(a){jvf(this,a)};K3c(2787,429,{},uvf);_.Ae=function(a){a.Wk()};_.Be=function(){return svf};K3c(4456,1013,pzj,k7g);_.Ui=function(){I7g(this.A,this)};_.km=function(){Rif(this.c,new y7g)};_.Zi=function(){var a;a=new W8i;H8i(y8i(a,oHj),i0j);P8i(y8i(a,j0j),true);y8i(a,qHj).b=new vmj;uoj(new Nnj(a),new m7g(this));Sif(this.c,new w7g(this));J7g(this.A,this.d)};_.bj=function(){rGd(this,new RId((d9g(),c9g),this))};K3c(4457,1300,{},m7g);_.fh=function(a){var b,d,e;b=ooj(a);d=(new S6g(this.a.b)).a;e=y8i(b,xHj).b.dN();_6g(d,y8i(e,GBj).b.cf());a7g(d,y8i(e,djk).b.cf());b7g(d,this.a.a.k);c7g(d,y8i(e,agk).b.cf());K7g(this.a.A,d);J7g(this.a.A,this.a.d)};K3c(4458,1,{},o7g);_.td=function(a){RYd(n0j+(LYd(),Mik),a._b())};_.fh=function(a){var b;b=ooj(a);b.b.kN(LHj)&&y8i(b,LHj).b.b!=(Rmj(),Qmj)&&!QPd(y8i(b,LHj).b.cf(),MHj)?RYd(n0j+(LYd(),Mik),A8i(b)):j7g(this.a)};K3c(4459,1,{},r7g);K3c(4460,1300,{},u7g);_.fh=function(a){t7g(this,a)};K3c(4461,1300,{},w7g);_.fh=function(a){H7g(this.a.A,a)};K3c(4462,1300,{},y7g);_.fh=function(a){var b,d;b=new BHe(Rik);yHe(b,480);wHe(b,360);Wr(b,new A7g,pH?pH:(pH=new gG));d=new Rud;Iz((igd(),d.gb),S0j);d.gb[aCj]=a!=null?a:OAj;fs(b.n);bpd(b.n,d);$kd(b);uHe(b)};K3c(4463,1,ezj,A7g);_.Ne=function(a){};K3c(4466,1417,ozj,L7g);_.Ch=function(){var a,b,d,e,g,i,j,k,n,o,p,q,r,s,t,u,v;this.e=new Ljj((LYd(),ejk),new N7g(this));Dr(this.e,'reloadBtnStandaloneServerView');t=new Vjj;Pjj(t,this.e);g=true;p=Xfe(Uce(JYd.a)).n;for(k=oUd(gh(p.a));k.a.hc()&&g;){o=rUd(k);g=RPd('superuser',o)||RPd('administrator',o)||RPd('maintainer',o)||RPd(fjk,o)}if(!g){Tr((igd(),t.gb),false);wz(t.gb,gjk)}this.c=new End(qak);Kr(this.c,P1j);this.b=new E_f(d1b);G1d(this.b,false);a=new vij(ZWj,'Code Name');v=new vij(YWj,Ggk);r=new vij($Wj,'Server State');I1d(this.b,BHj,sM(s2c,Zzj,261,[a,v,r]));this.g=new Jkd;Kr(this.g,G0j);d=new Ywd;u=new Aod;Iz((igd(),u.gb),hjk);Rr(u.gb,'serverUptoDate',true);i=new Ofd((_ij(),Vij));e=new Jnd('The server configuration is  up to date!');vod(u,e);vod(u,i);hA(i.gb).setAttribute(VBj,ijk);hA(e.gb).setAttribute(VBj,jjk);Vwd(d,u);b=new Ywd;Vwd(b,t);q=new Aod;Iz(q.gb,hjk);Rr(q.gb,'serverNeedsUpdate',true);j=new Ofd((ajj(),Wij));this.f=new Jnd('The server configuration needs to be reloaded or the server restarted!');vod(q,this.f);vod(q,j);hA(j.gb).setAttribute(VBj,ijk);hA(yr(this.f)).setAttribute(VBj,jjk);Vwd(b,q);this.g.Xd(d);this.g.Xd(b);this.g.oh(0);n=HCe(MCe(JCe(LCe(OCe(PCe(new QCe,_Hj)),this.c),'Server configuration status. In some cases the configuration needs to be reloaded in order to become effective.'),kck,C1d(this.b)),kjk,this.g);s=new S3i((ND(),MD));Rr(s.gb,x0j,true);pud(s,ICe(n),dYj);pud(s,Eif(this.a),$ik);Q3i(s,0);return s};K3c(4467,1,Dyj,N7g);_.me=function(a){lkj((LYd(),'Reload server configuration'),'Do you want to reload the server configuration for server '+this.a.b.c.Bd()+DBj,new P7g(this))};K3c(4468,1,{},P7g);_.Ik=function(a){a&&i7g(this.a.a.d)};K3c(4489,1,Xzj);_.ud=function(){uHd(this.b,L8g(this.a.a))};var _0b=sOd(4456),S0b=sOd(4457),T0b=sOd(4458),U0b=sOd(4459),V0b=sOd(4460),W0b=sOd(4461),X0b=sOd(4462),Y0b=sOd(4463),Jwb=sOd(2787),c1b=sOd(4466),b1b=sOd(4467),a1b=sOd(4468),Fwb=sOd(2781),Cwb=sOd(2782),Ewb=sOd(2783),Dwb=sOd(2784);JAj(np)(72);