function lgf(){}
function ngf(a){this.a=a}
function xgf(a){this.a=a}
function zgf(a){this.a=a}
function Bgf(a){this.a=a}
function Fff(a){this.a=a}
function Hff(a){this.a=a}
function Rff(a){this.a=a}
function Tff(a){this.a=a}
function mtk(a){Vc(a.$b())}
function ntk(a){return a.cr()}
function ggf(a,b){ref(a.a,b)}
function hgf(a,b){ref(a.d,b)}
function fgf(a){tef(a.d);tef(a.a)}
function $ff(a){fgf(a.a);fgf(a.d)}
function pgf(a){ddd.call(this,a)}
function rgf(a){ddd.call(this,a)}
function tgf(a){ddd.call(this,a)}
function vgf(a){ddd.call(this,a)}
function cgf(){JZd.call(this)}
function Hgf(a,b){this.a=a;this.b=b}
function Mff(a,b){this.a=a;this.b=b}
function Pff(a,b){this.a=a;this.b=b}
function jgf(a,b){this.e=a;this.c=b}
function Egf(){this.a=new O0i(EHb)}
function igf(a,b){tyd(a.b,b);drg(a.f)}
function agf(a,b,d){d?hgf(a.d,b):hgf(a.a,b)}
function bgf(a,b,d){d?igf(a.d,b):igf(a.a,b)}
function _ff(a,b,d){d?ggf(a.d,b):ggf(a.a,b)}
function Ngf(a,b,d,e,g,i){return new Dff(a,b,d,e,g,i)}
function Mgf(a){var b;if(!a.d){b=new cgf;a.d=b}return a.d}
function Dff(a,b,d,e,g,i){o9d.call(this,a,b,d,e);this.b=g;this.e=i;this.a=new Egf}
function Aff(a){$ff(a.A);bgf(a.A,(xUd(),uUd),true);bgf(a.A,uUd,false);Dgf(a.a,new Fff(a),false);Dgf(a.a,new Hff(a),true)}
function xff(a,b){var d,e;e=b?EZj:vMj;d=new v8i;l8i(Z7i(d,RGj),nef());S7i(Z7i(d,RGj),eIj,VFj);S7i(Z7i(d,RGj),e,a);g8i(Z7i(d,PGj),F_j);Unj(new lnj(d),new Tff(a))}
function Cff(a,b){var d,e;e=b?EZj:vMj;d=new v8i;l8i(Z7i(d,RGj),nef());S7i(Z7i(d,RGj),eIj,VFj);S7i(Z7i(d,RGj),e,a);g8i(Z7i(d,PGj),N_j);Unj(new lnj(d),new Rff(a))}
function Dgf(a,b,d){var e,g,i;e=nef();h8i(N7i(e),eIj,VFj);i=d?EZj:vMj;g=new v8i;g8i(Z7i(g,PGj),n0j);l8i(Z7i(g,RGj),e);g8i(Z7i(g,o_j),i);Unj(new lnj(g),new Hgf(a,b))}
function Bff(a,b,d){if(!b.on()){zYd(M_j+(uYd(),b.Ad()));$ff(a.A);return}if(d){a.d=b;!!a.d&&(zff(a,true),yff(a,true))}else{a.c=b;!!a.c&&(zff(a,false),yff(a,false))}}
function Ggf(a,b){var d,e;e=Onj(b);if(e.b.iN(kHj)&&Z7i(e,kHj).b.b!=(pmj(),omj)&&!zPd(Z7i(e,kHj).b.bf(),lHj)){a.b.sd(new oo('Failed to read DS metrics: '+_7i(e)))}else{d=F0i(a.a.a,Z7i(e,YGj).b._M());a.b.eh(d)}}
function Lgf(a){var b;if(!a.c){b=Ngf(vFd(sce(a.a)),Mgf(a),Kgf(a),(VId(uce(a.a)),woj(Zde(a.a)),zpj(_de(a.a))),(A1i(Xde(a.a)),SLg(lde(a.a))),gzh(Wde(a.a)),H6e(Tce(a.a)));HFd((tce(a.a),b),EGd(tce(a.a)));a.c=b}return a.c}
function yff(a,b){var d,e,g,i;i=b?a.d:a.c;if(!i)throw new oo(G_j);$ff(a.A);g=b?EZj:vMj;d=i.Ad();e=new v8i;l8i(Z7i(e,RGj),nef());S7i(Z7i(e,RGj),eIj,VFj);S7i(Z7i(e,RGj),g,d);S7i(Z7i(e,RGj),H_j,I_j);g8i(Z7i(e,PGj),J_j);o8i(Z7i(e,K_j),true);Unj(new lnj(e),new Pff(a,b))}
function zff(a,b){var d,e,g,i;i=b?a.d:a.c;if(!i)throw new oo(G_j);$ff(a.A);g=b?EZj:vMj;d=i.Ad();e=new v8i;l8i(Z7i(e,RGj),nef());S7i(Z7i(e,RGj),eIj,VFj);S7i(Z7i(e,RGj),g,d);S7i(Z7i(e,RGj),H_j,L_j);g8i(Z7i(e,PGj),J_j);o8i(Z7i(e,K_j),true);Unj(new lnj(e),new Mff(a,b))}
function Off(a,b){var d,e,g,i,j,k;i=Onj(b);if(i.b.iN(kHj)&&Z7i(i,kHj).b.b!=(pmj(),omj)&&!zPd(Z7i(i,kHj).b.bf(),lHj)){AYd(O_j+(uYd(),P_j),_7i(i))}else{j=Z7i(i,YGj).b.bN();k=Z7i(j,S_j).b.aN();d=Z7i(j,T_j).b.aN();g=Z7i(j,U_j).b.aN();e=new jef(jM(r0c,Hxj,-1,[k,d,g]));_ff(a.a.A,e,a.b)}}
function Lff(a,b){var d,e,g,i,j,k;j=Onj(b);if(j.b.iN(kHj)&&Z7i(j,kHj).b.b!=(pmj(),omj)&&!zPd(Z7i(j,kHj).b.bf(),lHj)){AYd(O_j+(uYd(),P_j),_7i(j))}else{k=Z7i(j,YGj).b.bN();e=Z7i(k,Q_j).b.aN();d=Z7i(k,'ActiveCount').b.aN();g=Z7i(k,R_j).b.aN();i=new jef(jM(r0c,Hxj,-1,[e,d,g]));agf(a.a.A,i,a.b)}}
function egf(a){var b,d,e,g,i,j,k,n,o,p,q,r,s,t,u,v;a.f=new hrg(5,new lgf);frg(a.f,new Bzd);a.b=new uyd;Lxd(a.b,a.f);k=new pgf(new _n);o=new rgf(new _n);s=new tgf(new _n);r=new vgf(new _n);s7c(a.f,k,xIj);s7c(a.f,o,__j);s7c(a.f,s,a0j);s7c(a.f,r,'Statistics Enabled?');a.f.Z.k.fi(new xgf(a));u=new tjj;v=new jjj((uYd(),b0j),new zgf(a));i=new jjj(c0j,new Bgf(a));Lr((Wfd(),v.gb),true);vr(v,d0j);a.c?(v.b=_Ej,v.a=N_j):(v.b=$Ej,v.a=N_j);Lr(i.gb,true);vr(i,d0j);njj(u,v);njj(u,i);Lr(u.gb,true);b=new pff(Q_j,'Available Connections');e=jM(J1c,Ixj,195,[(b.c=true,b),bff(new pff(Q_j,'Active'),b),bff(new pff(R_j,'Max Used'),b)]);a.d=Aef(new Cef('Connection Pool',e0j,true),e);n=new NAe;MAe(n,a.f);t=new Hwd;Az(t.gb,f0j);Ewd(t,a.f);Ewd(t,n);d=new pff(S_j,'Access Count');g=jM(J1c,Ixj,195,[(d.c=true,d),bff(new pff(T_j,g0j),d),bff(new pff(U_j,h0j),d)]);a.a=Aef(new Bef(i0j,e0j),g);p=new snd(j0j);Az(p.gb,k0j);p.gb.style[l0j]=30+(ED(),sBj);p.gb.style[m0j]='-20px';p.th(new ngf(a));j=VBe(VBe(VBe(VBe(VBe(YBe(ZBe(aCe(_Be(new cCe),a.c?$_j:Z_j),a.c?'XA Data Source Metrics':'Data Source Metrics'),'Datasources runtime utilisation.'),oAj,u),mQj,t),oAj,p),'Pool Usage',sef(a.d)),i0j,sef(a.a));q=WBe(j);_z(p.gb).style['textAlign']=(iD(),PCj);return q}
var Q_j='AvailableCount',Z_j='Data Sources',G_j='DataSource selection is null!',R_j='MaxUsedCount',i0j='Prepared Statement Cache',S_j='PreparedStatementCacheAccessCount',T_j='PreparedStatementCacheHitCount',U_j='PreparedStatementCacheMissCount',$_j='XA Data Sources',H_j='statistics';w3c(2509,1406,Pyj,Dff);_.Ti=function(){this.A.b=this;n9d(this,this.e)};_.Yi=function(){Aff(this)};_.aj=function(){Zuf(this.b,this)};w3c(2510,1648,{},Fff);_.sd=mtk;_.eh=function(a){bgf(this.a.A,a,false)};w3c(2511,1648,{},Hff);_.sd=mtk;_.eh=function(a){bgf(this.a.A,a,true)};w3c(2513,1648,{},Mff);_.eh=function(a){Lff(this,a)};_.b=false;w3c(2514,1648,{},Pff);_.eh=function(a){Off(this,a)};_.b=false;w3c(2515,1,{},Rff);_.sd=function(a){xGe((new OSf(new t1f(a))).a)};_.eh=function(a){var b,d,e;b=Onj(a);d=new S5e((vNd(),b.b.iN(kHj)&&Z7i(b,kHj).b.b!=(pmj(),omj)&&!zPd(Z7i(b,kHj).b.bf(),lHj)?tNd:uNd),b);d.b.a?(e=new u1f(true,V_j+(uYd(),this.a)+GDj)):(e=new v1f(false,W_j+(uYd(),this.a),_7i(b)));xGe((new OSf(e)).a)};w3c(2516,1648,{},Tff);_.eh=function(a){var b;b=Onj(a);b.b.iN(kHj)&&Z7i(b,kHj).b.b!=(pmj(),omj)&&!zPd(Z7i(b,kHj).b.bf(),lHj)?AYd(O_j+(uYd(),'Flush connections error for '+this.a),_7i(b)):BYd(X_j+(uYd(),'Flush connections for '+this.a))};w3c(2519,1213,wzj,cgf);_.Bh=function(){this.a=new jgf(this.b,false);this.d=new jgf(this.b,true);this.c=new r3i((ED(),DD));pr(this.c,Y_j);$td(this.c,egf(this.a),Z_j);$td(this.c,egf(this.d),$_j);p3i(this.c,0);return this.c};w3c(2520,1,{},jgf);_.c=false;w3c(2521,1,{},lgf);_.di=ntk;w3c(2522,1,byj,ngf);_.le=function(a){Bff(this.a.e,yzd(this.a.f.Z.k),this.a.c)};w3c(2523,644,xyj,pgf);_.qd=function(a){return a.Ad()};w3c(2524,644,xyj,rgf);_.qd=ntk;w3c(2525,644,xyj,tgf);_.qd=function(a){return oAj+a.on()};w3c(2526,644,xyj,vgf);_.qd=function(a){return oAj+a.cy()};w3c(2527,1,byj,xgf);_.Sg=function(a){var b;b=yzd(this.a.f.Z.k);Bff(this.a.e,b,this.a.c)};w3c(2528,1,byj,zgf);_.le=function(a){Cff(yzd(this.a.f.Z.k).Ad(),this.a.c)};w3c(2529,1,byj,Bgf);_.le=function(a){xff(yzd(this.a.f.Z.k).Ad(),this.a.c)};w3c(2530,1,{},Egf);w3c(2531,1648,{},Hgf);_.eh=function(a){Ggf(this,a)};w3c(2534,1,vzj);_.td=function(){dHd(this.b,Lgf(this.a.a))};var wrb=bOd(2509),nrb=bOd(2510),orb=bOd(2511),qrb=bOd(2513),rrb=bOd(2514),srb=bOd(2515),trb=bOd(2516),xrb=bOd(2519),Jrb=bOd(2530),Irb=bOd(2531),Hrb=bOd(2520),zrb=bOd(2521),Arb=bOd(2523),Brb=bOd(2524),Crb=bOd(2525),Drb=bOd(2526),Erb=bOd(2527),Frb=bOd(2528),Grb=bOd(2529),yrb=bOd(2522);jAj(fp)(1);