function A6g(){}
function C6g(){}
function wuf(){vuf()}
function huf(a){this.a=a}
function muf(a){this.a=a}
function o6g(a){this.a=a}
function q6g(a){this.a=a}
function t6g(a){this.a=a}
function y6g(a){this.a=a}
function P6g(a){this.a=a}
function R6g(a){this.a=a}
function N6g(){this.a=new Ihf}
function w6g(a,b){this.a=a;this.b=b}
function juf(a,b){this.a=a;this.b=b}
function fuf(a){this.a=a;this.c=10}
function Euf(a){a.b.Ub();a.a=0}
function luf(a,b){a.a.a.b=b.a}
function s6g(a,b){j6g(a.a,b)}
function J6g(a,b){Ghf(a.a,b)}
function K6g(a,b){a.d=b;Hhf(a.a,b)}
function M6g(a,b){z$f(a.b,b);a.c.ke('Server: '+Y5g(b))}
function O7g(a){var b;if(!a.g){b=new N6g;a.g=b}return a.g}
function m6g(a,b,d,e,g,i){lGd.call(this,a,b,d);this.b=e;this.d=g;this.a=i;this.c=new Uhf(e)}
function k6g(a){var b;b=new Y7i;J7i(A7i(b,qGj),Chk);A7i(b,sGj).b=new wlj;vnj(new Omj(b),new q6g(a))}
function j6g(a,b){var d;d=new Y7i;J7i(A7i(d,qGj),f0j);J7i(A7i(d,JAj),Xek);A7i(d,sGj).b=new wlj;vnj(new Omj(d),new w6g(a,b))}
function l6g(a){var b,d;b=new fuf(new t6g(a));d=njj((uYd(),K9j),L9j,new huf(b));Dq((oq(),new juf(b,d)),500)}
function N7g(a){var b;if(!a.f){b=new m6g(vFd(sce(a.a)),O7g(a),M7g(a),(VId(uce(a.a)),Znj(Zde(a.a)),G6e(Tce(a.a))),Puf(kde(a.a)),Ffe(Dce(a.a)));HFd((tce(a.a),b),EGd(tce(a.a)));a.f=b}return a.f}
function L6g(a,b){var d,e,g,i;if(b.b.rc()>0){i=b.b;e=new tQd;g=hUd(eUd(jh(i)));d=g.b?'The server configuration needs to be reloaded!':'The server needs to be restarted!';pQd((Pq(e.a,d),e),aHj);knd(a.f,e.a.a);Nr(a.e,g.b)}a.g.nh(b.b.rc()>0?1:0)}
function v6g(a,b){var d,e,g;g=pnj(b);if(g.b.iN(NGj)&&A7i(g,NGj).b.b!=(Slj(),Rlj)&&!zPd(A7i(g,NGj).b.bf(),OGj)){Q3d(new wo('Failed to poll server state'))}else{e=A7i(g,zGj).b.bf();d=!APd(e,GVj);if(!d){Euf(a.a.d);BYd(y_j+(uYd(),Ghk));L6g(a.a.A,a.a.d);jI(a.a.v,new wuf)}luf(a.b,(vNd(),d?uNd:tNd))}}
var dik='padding:15px;vertical-align:middle',cik='padding:15px;vertical-align:middle;width:20%',bik='status-panel';w3c(1476,1,Exj);_.Uk=function(){this.b=null;fs(this.e)};w3c(2766,1,{},fuf);_.b=true;_.c=0;_.d=0;w3c(2767,1,{},huf);_.Rc=function(){this.a.b=false};w3c(2768,1,{},juf);_.ud=function(){++this.a.d;if(this.a.d>this.a.c){uYd();Kee(Afe(Fce(sYd.a)),new mee(Nhk,(Cee(),Bee)));this.a.b=false}else{s6g(this.a.a,new muf(this))}!this.a.b&&!!this.b&&xGe(this.b);return this.a.b};w3c(2769,1297,{},muf);_.eh=function(a){luf(this,a)};w3c(2772,427,{},wuf);_.ze=function(a){a.Uk()};_.Ae=function(){return uuf};w3c(4441,1010,qyj,m6g);_.Ti=function(){K6g(this.A,this)};_.im=function(){Shf(this.c,new A6g)};_.Yi=function(){var a;a=new Y7i;J7i(A7i(a,qGj),k_j);R7i(A7i(a,l_j),true);A7i(a,sGj).b=new wlj;vnj(new Omj(a),new o6g(this));Thf(this.c,new y6g(this));L6g(this.A,this.d)};_.aj=function(){aGd(this,new AId((f8g(),e8g),this))};w3c(4442,1297,{},o6g);_.eh=function(a){var b,d,e;b=pnj(a);d=(new U5g(this.a.b)).a;e=A7i(b,zGj).b.bN();b6g(d,A7i(e,JAj).b.bf());c6g(d,A7i(e,Zhk).b.bf());d6g(d,this.a.a.k);e6g(d,A7i(e,Xek).b.bf());M6g(this.a.A,d);L6g(this.a.A,this.a.d)};w3c(4443,1,{},q6g);_.sd=function(a){AYd(p_j+(uYd(),Ghk),a.$b())};_.eh=function(a){var b;b=pnj(a);b.b.iN(NGj)&&A7i(b,NGj).b.b!=(Slj(),Rlj)&&!zPd(A7i(b,NGj).b.bf(),OGj)?AYd(p_j+(uYd(),Ghk),C7i(b)):l6g(this.a)};w3c(4444,1,{},t6g);w3c(4445,1297,{},w6g);_.eh=function(a){v6g(this,a)};w3c(4446,1297,{},y6g);_.eh=function(a){J6g(this.a.A,a)};w3c(4447,1297,{},A6g);_.eh=function(a){var b,d;b=new DGe(Mhk);AGe(b,480);yGe(b,360);Wr(b,new C6g,oH?oH:(oH=new fG));d=new Aud;Iz((Wfd(),d.gb),U_j);d.gb[dBj]=a!=null?a:Rzj;fs(b.n);Mod(b.n,d);Mkd(b);wGe(b)};w3c(4448,1,fyj,C6g);_.Me=function(a){};w3c(4451,1414,pyj,N6g);_.Bh=function(){var a,b,d,e,g,i,j,k,n,o,p,q,r,s,t,u,v;this.e=new Mij((uYd(),$hk),new P6g(this));Dr(this.e,'reloadBtnStandaloneServerView');t=new Wij;Qij(t,this.e);g=true;p=Ffe(Dce(sYd.a)).n;for(k=ZTd(gh(p.a));k.a.gc()&&g;){o=aUd(k);g=APd('superuser',o)||APd('administrator',o)||APd('maintainer',o)||APd(_hk,o)}if(!g){Tr((Wfd(),t.gb),false);wz(t.gb,aik)}this.c=new nnd(l9j);Kr(this.c,R0j);this.b=new G$f(R0b);p1d(this.b,false);a=new xhj(_Vj,'Code Name');v=new xhj($Vj,Bfk);r=new xhj(aWj,'Server State');r1d(this.b,DGj,rM(e2c,$yj,261,[a,v,r]));this.g=new vkd;Kr(this.g,I_j);d=new Hwd;u=new jod;Iz((Wfd(),u.gb),bik);Rr(u.gb,'serverUptoDate',true);i=new Afd((bij(),Xhj));e=new snd('The server configuration is  up to date!');eod(u,e);eod(u,i);hA(i.gb).setAttribute(YAj,cik);hA(e.gb).setAttribute(YAj,dik);Ewd(d,u);b=new Hwd;Ewd(b,t);q=new jod;Iz(q.gb,bik);Rr(q.gb,'serverNeedsUpdate',true);j=new Afd((cij(),Yhj));this.f=new snd('The server configuration needs to be reloaded or the server restarted!');eod(q,this.f);eod(q,j);hA(j.gb).setAttribute(YAj,cik);hA(yr(this.f)).setAttribute(YAj,dik);Ewd(b,q);this.g.Wd(d);this.g.Wd(b);this.g.nh(0);n=JBe(OBe(LBe(NBe(QBe(RBe(new SBe,bHj)),this.c),'Server configuration status. In some cases the configuration needs to be reloaded in order to become effective.'),fbk,l1d(this.b)),eik,this.g);s=new U2i((MD(),LD));Rr(s.gb,z_j,true);$td(s,KBe(n),fXj);$td(s,Fhf(this.a),Vhk);S2i(s,0);return s};w3c(4452,1,Exj,P6g);_.le=function(a){mjj((uYd(),'Reload server configuration'),'Do you want to reload the server configuration for server '+this.a.b.c.Ad()+GAj,new R6g(this))};w3c(4453,1,{},R6g);_.Gk=function(a){a&&k6g(this.a.a.d)};w3c(4474,1,Yyj);_.td=function(){dHd(this.b,N7g(this.a.a))};var N0b=bOd(4441),E0b=bOd(4442),F0b=bOd(4443),G0b=bOd(4444),H0b=bOd(4445),I0b=bOd(4446),J0b=bOd(4447),K0b=bOd(4448),vwb=bOd(2772),Q0b=bOd(4451),P0b=bOd(4452),O0b=bOd(4453),rwb=bOd(2766),owb=bOd(2767),qwb=bOd(2768),pwb=bOd(2769);Mzj(np)(71);