function B6g(){}
function D6g(){}
function Auf(){zuf()}
function luf(a){this.a=a}
function quf(a){this.a=a}
function p6g(a){this.a=a}
function r6g(a){this.a=a}
function u6g(a){this.a=a}
function z6g(a){this.a=a}
function Q6g(a){this.a=a}
function S6g(a){this.a=a}
function O6g(){this.a=new Ohf}
function x6g(a,b){this.a=a;this.b=b}
function nuf(a,b){this.a=a;this.b=b}
function juf(a){this.a=a;this.c=10}
function Iuf(a){a.b.Vb();a.a=0}
function puf(a,b){a.a.a.b=b.a}
function t6g(a,b){k6g(a.a,b)}
function K6g(a,b){Mhf(a.a,b)}
function L6g(a,b){a.d=b;Nhf(a.a,b)}
function N6g(a,b){D$f(a.b,b);a.c.he('Server: '+Z5g(b))}
function P7g(a){var b;if(!a.g){b=new O6g;a.g=b}return a.g}
function l6g(a){var b;b=new P7i;A7i(q7i(b,eGj),zhk);q7i(b,gGj).b=new olj;nnj(new Gmj(b),new r6g(a))}
function k6g(a,b){var d;d=new P7i;A7i(q7i(d,eGj),__j);A7i(q7i(d,xAj),Uek);q7i(d,gGj).b=new olj;nnj(new Gmj(d),new x6g(a,b))}
function m6g(a){var b,d;b=new juf(new u6g(a));d=fjj((WXd(),F9j),G9j,new luf(b));xq((iq(),new nuf(b,d)),500)}
function n6g(a,b,d,e,g,i){RFd.call(this,a,b,d);this.b=e;this.d=g;this.a=i;this.c=new $hf(e)}
function O7g(a){var b;if(!a.f){b=new n6g(_Ed(Ube(a.a)),P7g(a),N7g(a),(vId(Wbe(a.a)),Rnj(Ade(a.a)),M6e(uce(a.a))),Tuf(Nce(a.a)),gfe(dce(a.a)));lFd((Vbe(a.a),b),iGd(Vbe(a.a)));a.f=b}return a.f}
function M6g(a,b){var d,e,g,i;if(b.b.sc()>0){i=b.b;e=new VPd;g=JTd(GTd(jh(i)));d=g.b?'The server configuration needs to be reloaded!':'The server needs to be restarted!';RPd((Jq(e.a,d),e),QGj);fnd(a.f,e.a.a);Hr(a.e,g.b)}a.g.nh(b.b.sc()>0?1:0)}
function w6g(a,b){var d,e,g;g=hnj(b);if(g.b.iN(BGj)&&q7i(g,BGj).b.b!=(Klj(),Jlj)&&!_Od(q7i(g,BGj).b.$e(),CGj)){q3d(new qo('Failed to poll server state'))}else{e=q7i(g,nGj).b.$e();d=!aPd(e,uVj);if(!d){Iuf(a.a.d);bYd(r_j+(WXd(),Ehk));M6g(a.a.A,a.a.d);_H(a.a.v,new Auf)}puf(a.b,(XMd(),d?WMd:VMd))}}
var aik='padding:15px;vertical-align:middle',_hk='padding:15px;vertical-align:middle;width:20%',$hk='status-panel';n3c(1474,1,vxj);_.Uk=function(){this.b=null;_r(this.e)};n3c(2774,1,{},juf);_.b=true;_.c=0;_.d=0;n3c(2775,1,{},luf);_.Sc=function(){this.a.b=false};n3c(2776,1,{},nuf);_.rd=function(){++this.a.d;if(this.a.d>this.a.c){WXd();lee(bfe(fce(UXd.a)),new Pde(Jhk,(dee(),cee)));this.a.b=false}else{t6g(this.a.a,new quf(this))}!this.a.b&&!!this.b&&CGe(this.b);return this.a.b};n3c(2777,1295,{},quf);_.eh=function(a){puf(this,a)};n3c(2780,427,{},Auf);_.we=function(a){a.Uk()};_.xe=function(){return yuf};n3c(4448,1009,hyj,n6g);_.Ri=function(){L6g(this.A,this)};_.im=function(){Yhf(this.c,new B6g)};_.Wi=function(){var a;a=new P7i;A7i(q7i(a,eGj),d_j);I7i(q7i(a,e_j),true);q7i(a,gGj).b=new olj;nnj(new Gmj(a),new p6g(this));Zhf(this.c,new z6g(this));M6g(this.A,this.d)};_.$i=function(){GFd(this,new aId((g8g(),f8g),this))};n3c(4449,1295,{},p6g);_.eh=function(a){var b,d,e;b=hnj(a);d=(new V5g(this.a.b)).a;e=q7i(b,nGj).b.bN();c6g(d,q7i(e,xAj).b.$e());d6g(d,q7i(e,Whk).b.$e());e6g(d,this.a.a.k);f6g(d,q7i(e,Uek).b.$e());N6g(this.a.A,d);M6g(this.a.A,this.a.d)};n3c(4450,1,{},r6g);_.pd=function(a){aYd(i_j+(WXd(),Ehk),a._b())};_.eh=function(a){var b;b=hnj(a);b.b.iN(BGj)&&q7i(b,BGj).b.b!=(Klj(),Jlj)&&!_Od(q7i(b,BGj).b.$e(),CGj)?aYd(i_j+(WXd(),Ehk),s7i(b)):m6g(this.a)};n3c(4451,1,{},u6g);n3c(4452,1295,{},x6g);_.eh=function(a){w6g(this,a)};n3c(4453,1295,{},z6g);_.eh=function(a){K6g(this.a.A,a)};n3c(4454,1295,{},B6g);_.eh=function(a){var b,d;b=new IGe(Ihk);FGe(b,480);DGe(b,360);Qr(b,new D6g,eH?eH:(eH=new XF));d=new uud;zz((Ufd(),d.gb),O_j);d.gb[SAj]=a!=null?a:Gzj;_r(b.n);God(b.n,d);Gkd(b);BGe(b)};n3c(4455,1,Yxj,D6g);_.Je=function(a){};n3c(4458,1412,gyj,O6g);_.Bh=function(){var a,b,d,e,g,i,j,k,n,o,p,q,r,s,t,u,v;this.e=new Eij((WXd(),Xhk),new Q6g(this));xr(this.e,'reloadBtnStandaloneServerView');t=new Oij;Iij(t,this.e);g=true;p=gfe(dce(UXd.a)).n;for(k=zTd(gh(p.a));k.a.hc()&&g;){o=CTd(k);g=aPd('superuser',o)||aPd('administrator',o)||aPd('maintainer',o)||aPd(Yhk,o)}if(!g){Nr((Ufd(),t.gb),false);oz(t.gb,Zhk)}this.c=new ind(g9j);Er(this.c,L0j);this.b=new K$f(K0b);R0d(this.b,false);a=new ohj(PVj,'Code Name');v=new ohj(OVj,yfk);r=new ohj(QVj,'Server State');T0d(this.b,rGj,hM(X1c,Ryj,262,[a,v,r]));this.g=new pkd;Er(this.g,B_j);d=new Cwd;u=new eod;zz((Ufd(),u.gb),$hk);Lr(u.gb,'serverUptoDate',true);i=new yfd((Uhj(),Ohj));e=new nnd('The server configuration is  up to date!');_nd(u,e);_nd(u,i);$z(i.gb).setAttribute(K_j,_hk);$z(e.gb).setAttribute(K_j,aik);zwd(d,u);b=new Cwd;zwd(b,t);q=new eod;zz(q.gb,$hk);Lr(q.gb,'serverNeedsUpdate',true);j=new yfd((Vhj(),Phj));this.f=new nnd('The server configuration needs to be reloaded or the server restarted!');_nd(q,this.f);_nd(q,j);$z(j.gb).setAttribute(K_j,_hk);$z(sr(this.f)).setAttribute(K_j,aik);zwd(b,q);this.g.Td(d);this.g.Td(b);this.g.nh(0);n=OBe(TBe(QBe(SBe(VBe(WBe(new XBe,RGj)),this.c),'Server configuration status. In some cases the configuration needs to be reloaded in order to become effective.'),bbk,N0d(this.b)),bik,this.g);s=new K2i((BD(),AD));Lr(s.gb,s_j,true);Utd(s,PBe(n),YWj);Utd(s,Lhf(this.a),Rhk);I2i(s,0);return s};n3c(4459,1,vxj,Q6g);_.ie=function(a){ejj((WXd(),'Reload server configuration'),'Do you want to reload the server configuration for server '+this.a.b.c.xd()+uAj,new S6g(this))};n3c(4460,1,{},S6g);_.Gk=function(a){a&&l6g(this.a.a.d)};n3c(4481,1,Pyj);_.qd=function(){JGd(this.b,O7g(this.a.a))};var G0b=DNd(4448),x0b=DNd(4449),y0b=DNd(4450),z0b=DNd(4451),A0b=DNd(4452),B0b=DNd(4453),C0b=DNd(4454),D0b=DNd(4455),pwb=DNd(2780),J0b=DNd(4458),I0b=DNd(4459),H0b=DNd(4460),lwb=DNd(2774),iwb=DNd(2775),kwb=DNd(2776),jwb=DNd(2777);Bzj(hp)(72);