function N4g(){}
function P4g(){}
function ctf(){btf()}
function Psf(a){this.a=a}
function Usf(a){this.a=a}
function B4g(a){this.a=a}
function D4g(a){this.a=a}
function G4g(a){this.a=a}
function L4g(a){this.a=a}
function a5g(a){this.a=a}
function c5g(a){this.a=a}
function $4g(){this.a=new qgf}
function J4g(a,b){this.a=a;this.b=b}
function Rsf(a,b){this.a=a;this.b=b}
function Nsf(a){this.a=a;this.c=10}
function ktf(a){a.b.Vb();a.a=0}
function Tsf(a,b){a.a.a.b=b.a}
function F4g(a,b){w4g(a.a,b)}
function W4g(a,b){ogf(a.a,b)}
function X4g(a,b){a.d=b;pgf(a.a,b)}
function Y4g(a,b){a.e.mh(b?1:0)}
function Z4g(a,b){fZf(a.b,b);a.c.ge('Server: '+j4g(b))}
function _5g(a){var b;if(!a.g){b=new $4g;a.g=b}return a.g}
function z4g(a,b,d,e,g,i){xEd.call(this,a,b,d);this.b=e;this.d=g;this.a=i;this.c=new Cgf(e)}
function x4g(a){var b;b=new a5i;N4i(D4i(b,VCj),iek);D4i(b,XCj).b=new Dij;Ckj(new Ujj(b),new D4g(a))}
function w4g(a,b){var d;d=new a5i;N4i(D4i(d,VCj),EYj);N4i(D4i(d,yxj),xbk);D4i(d,XCj).b=new Dij;Ckj(new Ujj(d),new J4g(a,b))}
function y4g(a){var b,d;b=new Nsf(new G4g(a));d=sgj((AWd(),g6j),h6j,new Psf(b));Ip((tp(),new Rsf(b,d)),500)}
function $5g(a){var b;if(!a.f){b=new z4g(HDd(tae(a.a)),_5g(a),Z5g(a),(bHd(vae(a.a)),Rkj(_be(a.a)),o5e(Vae(a.a))),vtf(mbe(a.a)),Hde(Eae(a.a)));TDd((uae(a.a),b),QEd(uae(a.a)));a.f=b}return a.f}
function I4g(a,b){var d,e,g;g=wkj(b);if(g.b.ZM(qDj)&&D4i(g,qDj).b.b!=(Zij(),Yij)&&!GNd(D4i(g,qDj).b.Ze(),rDj)){U1d(new An('Failed to poll server state'))}else{e=D4i(g,cDj).b.Ze();d=!HNd(e,dSj);if(!d){ktf(a.a.d);HWd(VXj+(AWd(),nek));Y4g(a.a.A,a.a.d.b.rc()>0);jH(a.a.v,new ctf)}Tsf(a.b,(DLd(),d?CLd:BLd))}}
var Nek='padding:15px;vertical-align:middle',Mek='padding:15px;vertical-align:middle;width:20%',Lek='status-panel';G1c(1460,1,vuj);_.Uk=function(){this.b=null;kr(this.e)};G1c(2760,1,{},Nsf);_.b=true;_.c=0;_.d=0;G1c(2761,1,{},Psf);_.Rc=function(){this.a.b=false};G1c(2762,1,{},Rsf);_.qd=function(){++this.a.d;if(this.a.d>this.a.c){AWd();Mce(Cde(Gae(yWd.a)),new oce(uek,(Ece(),Dce)));this.a.b=false}else{F4g(this.a.a,new Usf(this))}!this.a.b&&!!this.b&&eFe(this.b);return this.a.b};G1c(2763,1282,{},Usf);_.dh=function(a){Tsf(this,a)};G1c(2766,412,{},ctf);_.ve=function(a){a.Uk()};_.we=function(){return atf};G1c(4434,997,ivj,z4g);_.Ri=function(){X4g(this.A,this)};_.im=function(){Agf(this.c,new N4g)};_.Wi=function(){var a;a=new a5i;N4i(D4i(a,VCj),HXj);V4i(D4i(a,IXj),true);D4i(a,XCj).b=new Dij;Ckj(new Ujj(a),new B4g(this));Bgf(this.c,new L4g(this));Y4g(this.A,this.d.b.rc()>0)};_.$i=function(){mEd(this,new IGd((s6g(),r6g),this))};G1c(4435,1282,{},B4g);_.dh=function(a){var b,d,e;b=wkj(a);d=(new f4g(this.a.b)).a;e=D4i(b,cDj).b.RM();o4g(d,D4i(e,yxj).b.Ze());p4g(d,D4i(e,Hek).b.Ze());q4g(d,this.a.a.k);r4g(d,D4i(e,xbk).b.Ze());Z4g(this.a.A,d);Y4g(this.a.A,this.a.d.b.rc()>0)};G1c(4436,1,{},D4g);_.od=function(a){GWd(MXj+(AWd(),nek),a._b())};_.dh=function(a){var b;b=wkj(a);b.b.ZM(qDj)&&D4i(b,qDj).b.b!=(Zij(),Yij)&&!GNd(D4i(b,qDj).b.Ze(),rDj)?GWd(MXj+(AWd(),nek),F4i(b)):y4g(this.a)};G1c(4437,1,{},G4g);G1c(4438,1282,{},J4g);_.dh=function(a){I4g(this,a)};G1c(4439,1282,{},L4g);_.dh=function(a){W4g(this.a.A,a)};G1c(4440,1282,{},N4g);_.dh=function(a){var b,d;b=new kFe(tek);hFe(b,480);fFe(b,360);_q(b,new P4g,oG?oG:(oG=new jF));d=new Xsd;Ky((ked(),d.gb),rYj);d.gb[Sxj]=a!=null?a:Hwj;kr(b.n);bnd(b.n,d);Yid(b);dFe(b)};G1c(4441,1,Zuj,P4g);_.Ie=function(a){};G1c(4444,1399,hvj,$4g);_.Ah=function(){var a,b,d,e,g,i,j,k,n,o,p,q,r,s,t,u,v,w,A;p=new Rfj((AWd(),Iek),new a5g(this));Iq(p,'reloadBtnStandaloneServerView');v=new _fj;Vfj(v,p);i=true;r=Hde(Eae(yWd.a)).n;for(n=eSd(qg(r.a));n.a.gc()&&i;){q=hSd(n);i=HNd('superuser',q)||HNd('administrator',q)||HNd('maintainer',q)||HNd(Jek,q)}if(!i){Yq((ked(),v.gb),false);zy(v.gb,Kek)}this.c=new Ald(J5j);Pq(this.c,oZj);this.b=new mZf(H_b);t_d(this.b,false);a=new Bej(xSj,'Code Name');A=new Bej(wSj,bck);t=new Bej(ySj,'Server State');v_d(this.b,gDj,sL(o0c,Svj,262,[a,A,t]));this.e=new Hid;Pq(this.e,dYj);d=new dvd;w=new Bmd;Ky((ked(),w.gb),Lek);Wq(w.gb,'serverUptoDate',true);j=new Odd((ffj(),_ej));e=new Fld('The server configuration is  up to date!');wmd(w,e);wmd(w,j);jz(j.gb).setAttribute(nYj,Mek);jz(e.gb).setAttribute(nYj,Nek);avd(d,w);b=new dvd;avd(b,v);s=new Bmd;Ky(s.gb,Lek);Wq(s.gb,'serverNeedsUpdate',true);k=new Odd((gfj(),afj));g=new Fld('The server configuration needs to be reloaded or the server restarted!');wmd(s,g);wmd(s,k);jz(k.gb).setAttribute(nYj,Mek);jz(g.gb).setAttribute(nYj,Nek);avd(b,s);this.e.Sd(d);this.e.Sd(b);this.e.mh(0);o=qAe(vAe(sAe(uAe(xAe(yAe(new zAe,GDj)),this.c),'Server configuration status. In some cases the configuration needs to be reloaded in order to become effective.'),E7j,p_d(this.b)),Oek,this.e);u=new V_i((PC(),OC));Wq(u.gb,WXj,true);vsd(u,rAe(o),HTj);vsd(u,ngf(this.a),Cek);T_i(u,0);return u};G1c(4445,1,vuj,a5g);_.he=function(a){rgj((AWd(),'Reload server configuration'),'Do you want to reload the server configuration for server '+this.a.b.c.wd()+vxj,new c5g(this))};G1c(4446,1,{},c5g);_.Gk=function(a){a&&x4g(this.a.a.d)};G1c(4467,1,Qvj);_.pd=function(){pFd(this.b,$5g(this.a.a))};var D_b=iMd(4434),u_b=iMd(4435),v_b=iMd(4436),w_b=iMd(4437),x_b=iMd(4438),y_b=iMd(4439),z_b=iMd(4440),A_b=iMd(4441),mvb=iMd(2766),G_b=iMd(4444),F_b=iMd(4445),E_b=iMd(4446),ivb=iMd(2760),fvb=iMd(2761),hvb=iMd(2762),gvb=iMd(2763);Cwj(so)(72);