function ogf(){}
function qgf(a){this.a=a}
function Agf(a){this.a=a}
function Cgf(a){this.a=a}
function Egf(a){this.a=a}
function Iff(a){this.a=a}
function Kff(a){this.a=a}
function Uff(a){this.a=a}
function Wff(a){this.a=a}
function utk(a){Vc(a.$b())}
function vtk(a){return a.cr()}
function jgf(a,b){uef(a.a,b)}
function kgf(a,b){uef(a.d,b)}
function igf(a){wef(a.d);wef(a.a)}
function bgf(a){igf(a.a);igf(a.d)}
function sgf(a){gdd.call(this,a)}
function ugf(a){gdd.call(this,a)}
function wgf(a){gdd.call(this,a)}
function ygf(a){gdd.call(this,a)}
function fgf(){MZd.call(this)}
function Kgf(a,b){this.a=a;this.b=b}
function Pff(a,b){this.a=a;this.b=b}
function Sff(a,b){this.a=a;this.b=b}
function mgf(a,b){this.e=a;this.c=b}
function Hgf(){this.a=new V0i(EHb)}
function lgf(a,b){wyd(a.b,b);grg(a.f)}
function cgf(a,b,d){d?jgf(a.d,b):jgf(a.a,b)}
function dgf(a,b,d){d?kgf(a.d,b):kgf(a.a,b)}
function egf(a,b,d){d?lgf(a.d,b):lgf(a.a,b)}
function Qgf(a,b,d,e,g,i){return new Gff(a,b,d,e,g,i)}
function Pgf(a){var b;if(!a.d){b=new fgf;a.d=b}return a.d}
function Gff(a,b,d,e,g,i){r9d.call(this,a,b,d,e);this.b=g;this.e=i;this.a=new Hgf}
function Dff(a){bgf(a.A);egf(a.A,(AUd(),xUd),true);egf(a.A,xUd,false);Ggf(a.a,new Iff(a),false);Ggf(a.a,new Kff(a),true)}
function Aff(a,b){var d,e;e=b?LZj:CMj;d=new C8i;s8i(e8i(d,YGj),qef());Z7i(e8i(d,YGj),lIj,aGj);Z7i(e8i(d,YGj),e,a);n8i(e8i(d,WGj),M_j);_nj(new snj(d),new Wff(a))}
function Fff(a,b){var d,e;e=b?LZj:CMj;d=new C8i;s8i(e8i(d,YGj),qef());Z7i(e8i(d,YGj),lIj,aGj);Z7i(e8i(d,YGj),e,a);n8i(e8i(d,WGj),U_j);_nj(new snj(d),new Uff(a))}
function Ggf(a,b,d){var e,g,i;e=qef();o8i(U7i(e),lIj,aGj);i=d?LZj:CMj;g=new C8i;n8i(e8i(g,WGj),u0j);s8i(e8i(g,YGj),e);n8i(e8i(g,v_j),i);_nj(new snj(g),new Kgf(a,b))}
function Eff(a,b,d){if(!b.on()){CYd(T_j+(xYd(),b.Ad()));bgf(a.A);return}if(d){a.d=b;!!a.d&&(Cff(a,true),Bff(a,true))}else{a.c=b;!!a.c&&(Cff(a,false),Bff(a,false))}}
function Jgf(a,b){var d,e;e=Vnj(b);if(e.b.iN(rHj)&&e8i(e,rHj).b.b!=(wmj(),vmj)&&!CPd(e8i(e,rHj).b.bf(),sHj)){a.b.sd(new oo('Failed to read DS metrics: '+g8i(e)))}else{d=M0i(a.a.a,e8i(e,dHj).b._M());a.b.eh(d)}}
function Ogf(a){var b;if(!a.c){b=Qgf(yFd(vce(a.a)),Pgf(a),Ngf(a),(YId(xce(a.a)),Doj(aee(a.a)),Gpj(cee(a.a))),(H1i($de(a.a)),VLg(ode(a.a))),nzh(Zde(a.a)),K6e(Wce(a.a)));KFd((wce(a.a),b),HGd(wce(a.a)));a.c=b}return a.c}
function Bff(a,b){var d,e,g,i;i=b?a.d:a.c;if(!i)throw new oo(N_j);bgf(a.A);g=b?LZj:CMj;d=i.Ad();e=new C8i;s8i(e8i(e,YGj),qef());Z7i(e8i(e,YGj),lIj,aGj);Z7i(e8i(e,YGj),g,d);Z7i(e8i(e,YGj),O_j,P_j);n8i(e8i(e,WGj),Q_j);v8i(e8i(e,R_j),true);_nj(new snj(e),new Sff(a,b))}
function Cff(a,b){var d,e,g,i;i=b?a.d:a.c;if(!i)throw new oo(N_j);bgf(a.A);g=b?LZj:CMj;d=i.Ad();e=new C8i;s8i(e8i(e,YGj),qef());Z7i(e8i(e,YGj),lIj,aGj);Z7i(e8i(e,YGj),g,d);Z7i(e8i(e,YGj),O_j,S_j);n8i(e8i(e,WGj),Q_j);v8i(e8i(e,R_j),true);_nj(new snj(e),new Pff(a,b))}
function Rff(a,b){var d,e,g,i,j,k;i=Vnj(b);if(i.b.iN(rHj)&&e8i(i,rHj).b.b!=(wmj(),vmj)&&!CPd(e8i(i,rHj).b.bf(),sHj)){DYd(V_j+(xYd(),W_j),g8i(i))}else{j=e8i(i,dHj).b.bN();k=e8i(j,Z_j).b.aN();d=e8i(j,$_j).b.aN();g=e8i(j,__j).b.aN();e=new mef(jM(t0c,Oxj,-1,[k,d,g]));cgf(a.a.A,e,a.b)}}
function Off(a,b){var d,e,g,i,j,k;j=Vnj(b);if(j.b.iN(rHj)&&e8i(j,rHj).b.b!=(wmj(),vmj)&&!CPd(e8i(j,rHj).b.bf(),sHj)){DYd(V_j+(xYd(),W_j),g8i(j))}else{k=e8i(j,dHj).b.bN();e=e8i(k,X_j).b.aN();d=e8i(k,'ActiveCount').b.aN();g=e8i(k,Y_j).b.aN();i=new mef(jM(t0c,Oxj,-1,[e,d,g]));dgf(a.a.A,i,a.b)}}
function hgf(a){var b,d,e,g,i,j,k,n,o,p,q,r,s,t,u,v;a.f=new krg(5,new ogf);irg(a.f,new Ezd);a.b=new xyd;Oxd(a.b,a.f);k=new sgf(new _n);o=new ugf(new _n);s=new wgf(new _n);r=new ygf(new _n);u7c(a.f,k,EIj);u7c(a.f,o,g0j);u7c(a.f,s,h0j);u7c(a.f,r,'Statistics Enabled?');a.f.Z.k.fi(new Agf(a));u=new Ajj;v=new qjj((xYd(),i0j),new Cgf(a));i=new qjj(j0j,new Egf(a));Lr((Zfd(),v.gb),true);vr(v,k0j);a.c?(v.b=gFj,v.a=U_j):(v.b=fFj,v.a=U_j);Lr(i.gb,true);vr(i,k0j);ujj(u,v);ujj(u,i);Lr(u.gb,true);b=new sff(X_j,'Available Connections');e=jM(L1c,Pxj,195,[(b.c=true,b),eff(new sff(X_j,'Active'),b),eff(new sff(Y_j,'Max Used'),b)]);a.d=Def(new Fef('Connection Pool',l0j,true),e);n=new QAe;PAe(n,a.f);t=new Kwd;Az(t.gb,m0j);Hwd(t,a.f);Hwd(t,n);d=new sff(Z_j,'Access Count');g=jM(L1c,Pxj,195,[(d.c=true,d),eff(new sff($_j,n0j),d),eff(new sff(__j,o0j),d)]);a.a=Def(new Eef(p0j,l0j),g);p=new vnd(q0j);Az(p.gb,r0j);p.gb.style[s0j]=30+(ED(),zBj);p.gb.style[t0j]='-20px';p.th(new qgf(a));j=YBe(YBe(YBe(YBe(YBe(_Be(aCe(dCe(cCe(new fCe),a.c?f0j:e0j),a.c?'XA Data Source Metrics':'Data Source Metrics'),'Datasources runtime utilisation.'),vAj,u),tQj,t),vAj,p),'Pool Usage',vef(a.d)),p0j,vef(a.a));q=ZBe(j);_z(p.gb).style['textAlign']=(iD(),WCj);return q}
var X_j='AvailableCount',e0j='Data Sources',N_j='DataSource selection is null!',Y_j='MaxUsedCount',p0j='Prepared Statement Cache',Z_j='PreparedStatementCacheAccessCount',$_j='PreparedStatementCacheHitCount',__j='PreparedStatementCacheMissCount',f0j='XA Data Sources',O_j='statistics';y3c(2509,1406,Wyj,Gff);_.Ti=function(){this.A.b=this;q9d(this,this.e)};_.Yi=function(){Dff(this)};_.aj=function(){avf(this.b,this)};y3c(2510,1648,{},Iff);_.sd=utk;_.eh=function(a){egf(this.a.A,a,false)};y3c(2511,1648,{},Kff);_.sd=utk;_.eh=function(a){egf(this.a.A,a,true)};y3c(2513,1648,{},Pff);_.eh=function(a){Off(this,a)};_.b=false;y3c(2514,1648,{},Sff);_.eh=function(a){Rff(this,a)};_.b=false;y3c(2515,1,{},Uff);_.sd=function(a){AGe((new RSf(new w1f(a))).a)};_.eh=function(a){var b,d,e;b=Vnj(a);d=new V5e((yNd(),b.b.iN(rHj)&&e8i(b,rHj).b.b!=(wmj(),vmj)&&!CPd(e8i(b,rHj).b.bf(),sHj)?wNd:xNd),b);d.b.a?(e=new x1f(true,a0j+(xYd(),this.a)+NDj)):(e=new y1f(false,b0j+(xYd(),this.a),g8i(b)));AGe((new RSf(e)).a)};y3c(2516,1648,{},Wff);_.eh=function(a){var b;b=Vnj(a);b.b.iN(rHj)&&e8i(b,rHj).b.b!=(wmj(),vmj)&&!CPd(e8i(b,rHj).b.bf(),sHj)?DYd(V_j+(xYd(),'Flush connections error for '+this.a),g8i(b)):EYd(c0j+(xYd(),'Flush connections for '+this.a))};y3c(2519,1213,Dzj,fgf);_.Bh=function(){this.a=new mgf(this.b,false);this.d=new mgf(this.b,true);this.c=new y3i((ED(),DD));pr(this.c,d0j);bud(this.c,hgf(this.a),e0j);bud(this.c,hgf(this.d),f0j);w3i(this.c,0);return this.c};y3c(2520,1,{},mgf);_.c=false;y3c(2521,1,{},ogf);_.di=vtk;y3c(2522,1,iyj,qgf);_.le=function(a){Eff(this.a.e,Bzd(this.a.f.Z.k),this.a.c)};y3c(2523,644,Eyj,sgf);_.qd=function(a){return a.Ad()};y3c(2524,644,Eyj,ugf);_.qd=vtk;y3c(2525,644,Eyj,wgf);_.qd=function(a){return vAj+a.on()};y3c(2526,644,Eyj,ygf);_.qd=function(a){return vAj+a.cy()};y3c(2527,1,iyj,Agf);_.Sg=function(a){var b;b=Bzd(this.a.f.Z.k);Eff(this.a.e,b,this.a.c)};y3c(2528,1,iyj,Cgf);_.le=function(a){Fff(Bzd(this.a.f.Z.k).Ad(),this.a.c)};y3c(2529,1,iyj,Egf);_.le=function(a){Aff(Bzd(this.a.f.Z.k).Ad(),this.a.c)};y3c(2530,1,{},Hgf);y3c(2531,1648,{},Kgf);_.eh=function(a){Jgf(this,a)};y3c(2534,1,Czj);_.td=function(){gHd(this.b,Ogf(this.a.a))};var wrb=eOd(2509),nrb=eOd(2510),orb=eOd(2511),qrb=eOd(2513),rrb=eOd(2514),srb=eOd(2515),trb=eOd(2516),xrb=eOd(2519),Jrb=eOd(2530),Irb=eOd(2531),Hrb=eOd(2520),zrb=eOd(2521),Arb=eOd(2523),Brb=eOd(2524),Crb=eOd(2525),Drb=eOd(2526),Erb=eOd(2527),Frb=eOd(2528),Grb=eOd(2529),yrb=eOd(2522);qAj(fp)(1);