function Jff(){}
function bff(a){this.a=a}
function dff(a){this.a=a}
function nff(a){this.a=a}
function pff(a){this.a=a}
function Lff(a){this.a=a}
function Vff(a){this.a=a}
function Xff(a){this.a=a}
function Zff(a){this.a=a}
function Eff(a,b){Pdf(a.a,b)}
function Fff(a,b){Pdf(a.d,b)}
function Jsk(a){Vc(a.$b())}
function Isk(a){return a.ar()}
function Aff(){fZd.call(this)}
function Nff(a){Xcd.call(this,a)}
function Pff(a){Xcd.call(this,a)}
function Rff(a){Xcd.call(this,a)}
function Tff(a){Xcd.call(this,a)}
function Dff(a){Rdf(a.d);Rdf(a.a)}
function wff(a){Dff(a.a);Dff(a.d)}
function Gff(a,b){Vxd(a.b,b);Bqg(a.f)}
function xff(a,b,d){d?Eff(a.d,b):Eff(a.a,b)}
function yff(a,b,d){d?Fff(a.d,b):Fff(a.a,b)}
function zff(a,b,d){d?Gff(a.d,b):Gff(a.a,b)}
function iff(a,b){this.a=a;this.b=b}
function lff(a,b){this.a=a;this.b=b}
function dgf(a,b){this.a=a;this.b=b}
function Hff(a,b){this.e=a;this.c=b}
function agf(){this.a=new o0i(nHb)}
function jgf(a,b,d,e,g,i){return new _ef(a,b,d,e,g,i)}
function igf(a){var b;if(!a.d){b=new Aff;a.d=b}return a.d}
function _ef(a,b,d,e,g,i){M8d.call(this,a,b,d,e);this.b=g;this.e=i;this.a=new agf}
function Yef(a){wff(a.A);zff(a.A,(VTd(),STd),true);zff(a.A,STd,false);_ff(a.a,new bff(a),false);_ff(a.a,new dff(a),true)}
function Vef(a,b){var d,e;e=b?bZj:ULj;d=new X7i;N7i(z7i(d,oGj),Ldf());s7i(z7i(d,oGj),DHj,sFj);s7i(z7i(d,oGj),e,a);I7i(z7i(d,mGj),c_j);unj(new Nmj(d),new pff(a))}
function $ef(a,b){var d,e;e=b?bZj:ULj;d=new X7i;N7i(z7i(d,oGj),Ldf());s7i(z7i(d,oGj),DHj,sFj);s7i(z7i(d,oGj),e,a);I7i(z7i(d,mGj),k_j);unj(new Nmj(d),new nff(a))}
function _ff(a,b,d){var e,g,i;e=Ldf();J7i(n7i(e),DHj,sFj);i=d?bZj:ULj;g=new X7i;I7i(z7i(g,mGj),M_j);N7i(z7i(g,oGj),e);I7i(z7i(g,N$j),i);unj(new Nmj(g),new dgf(a,b))}
function Zef(a,b,d){if(!b.mn()){XXd(j_j+(SXd(),b.wd()));wff(a.A);return}if(d){a.d=b;!!a.d&&(Xef(a,true),Wef(a,true))}else{a.c=b;!!a.c&&(Xef(a,false),Wef(a,false))}}
function cgf(a,b){var d,e;e=onj(b);if(e.b.gN(JGj)&&z7i(e,JGj).b.b!=(Rlj(),Qlj)&&!XOd(z7i(e,JGj).b.Ze(),KGj)){a.b.od(new io('Failed to read DS metrics: '+B7i(e)))}else{d=f0i(a.a.a,z7i(e,vGj).b.ZM());a.b.dh(d)}}
function hgf(a){var b;if(!a.c){b=jgf(TEd(Qbe(a.a)),igf(a),ggf(a),(rId(Sbe(a.a)),Ynj(vde(a.a)),_oj(xde(a.a))),(a1i(tde(a.a)),oLg(Jce(a.a))),Iyh(sde(a.a)),d6e(pce(a.a)));dFd((Rbe(a.a),b),aGd(Rbe(a.a)));a.c=b}return a.c}
function Wef(a,b){var d,e,g,i;i=b?a.d:a.c;if(!i)throw new io(d_j);wff(a.A);g=b?bZj:ULj;d=i.wd();e=new X7i;N7i(z7i(e,oGj),Ldf());s7i(z7i(e,oGj),DHj,sFj);s7i(z7i(e,oGj),g,d);s7i(z7i(e,oGj),e_j,f_j);I7i(z7i(e,mGj),g_j);Q7i(z7i(e,h_j),true);unj(new Nmj(e),new lff(a,b))}
function Xef(a,b){var d,e,g,i;i=b?a.d:a.c;if(!i)throw new io(d_j);wff(a.A);g=b?bZj:ULj;d=i.wd();e=new X7i;N7i(z7i(e,oGj),Ldf());s7i(z7i(e,oGj),DHj,sFj);s7i(z7i(e,oGj),g,d);s7i(z7i(e,oGj),e_j,i_j);I7i(z7i(e,mGj),g_j);Q7i(z7i(e,h_j),true);unj(new Nmj(e),new iff(a,b))}
function kff(a,b){var d,e,g,i,j,k;i=onj(b);if(i.b.gN(JGj)&&z7i(i,JGj).b.b!=(Rlj(),Qlj)&&!XOd(z7i(i,JGj).b.Ze(),KGj)){YXd(l_j+(SXd(),m_j),B7i(i))}else{j=z7i(i,vGj).b._M();k=z7i(j,p_j).b.$M();d=z7i(j,q_j).b.$M();g=z7i(j,r_j).b.$M();e=new Hdf($L(c0c,hxj,-1,[k,d,g]));xff(a.a.A,e,a.b)}}
function hff(a,b){var d,e,g,i,j,k;j=onj(b);if(j.b.gN(JGj)&&z7i(j,JGj).b.b!=(Rlj(),Qlj)&&!XOd(z7i(j,JGj).b.Ze(),KGj)){YXd(l_j+(SXd(),m_j),B7i(j))}else{k=z7i(j,vGj).b._M();e=z7i(k,n_j).b.$M();d=z7i(k,'ActiveCount').b.$M();g=z7i(k,o_j).b.$M();i=new Hdf($L(c0c,hxj,-1,[e,d,g]));yff(a.a.A,i,a.b)}}
function Cff(a){var b,d,e,g,i,j,k,n,o,p,q,r,s,t,u,v;a.f=new Fqg(5,new Jff);Dqg(a.f,new bzd);a.b=new Wxd;lxd(a.b,a.f);k=new Nff(new Vn);o=new Pff(new Vn);s=new Rff(new Vn);r=new Tff(new Vn);i7c(a.f,k,WHj);i7c(a.f,o,y_j);i7c(a.f,s,z_j);i7c(a.f,r,'Statistics Enabled?');a.f.Z.k.ci(new Vff(a));u=new Vij;v=new Lij((SXd(),A_j),new Xff(a));i=new Lij(B_j,new Zff(a));Fr((Pfd(),v.gb),true);pr(v,C_j);a.c?(v.b=yEj,v.a=k_j):(v.b=xEj,v.a=k_j);Fr(i.gb,true);pr(i,C_j);Pij(u,v);Pij(u,i);Fr(u.gb,true);b=new Nef(n_j,'Available Connections');e=$L(u1c,ixj,196,[(b.c=true,b),zef(new Nef(n_j,'Active'),b),zef(new Nef(o_j,'Max Used'),b)]);a.d=Ydf(new $df('Connection Pool',D_j,true),e);n=new jAe;iAe(n,a.f);t=new uwd;rz(t.gb,E_j);rwd(t,a.f);rwd(t,n);d=new Nef(p_j,'Access Count');g=$L(u1c,ixj,196,[(d.c=true,d),zef(new Nef(q_j,F_j),d),zef(new Nef(r_j,G_j),d)]);a.a=Ydf(new Zdf(H_j,D_j),g);p=new fnd(I_j);rz(p.gb,J_j);p.gb.style[K_j]=30+(sD(),SAj);p.gb.style[L_j]='-20px';p.sh(new Lff(a));j=rBe(rBe(rBe(rBe(rBe(uBe(vBe(yBe(xBe(new ABe),a.c?x_j:w_j),a.c?'XA Data Source Metrics':'Data Source Metrics'),'Datasources runtime utilisation.'),Pzj,u),LPj,t),Pzj,p),'Pool Usage',Qdf(a.d)),H_j,Qdf(a.a));q=sBe(j);Sz(p.gb).style['textAlign']=(YC(),mCj);return q}
var n_j='AvailableCount',w_j='Data Sources',d_j='DataSource selection is null!',o_j='MaxUsedCount',H_j='Prepared Statement Cache',p_j='PreparedStatementCacheAccessCount',q_j='PreparedStatementCacheHitCount',r_j='PreparedStatementCacheMissCount',x_j='XA Data Sources',e_j='statistics';h3c(2505,1402,oyj,_ef);_.Qi=function(){this.A.b=this;L8d(this,this.e)};_.Vi=function(){Yef(this)};_.Zi=function(){vuf(this.b,this)};h3c(2506,1644,{},bff);_.od=Jsk;_.dh=function(a){zff(this.a.A,a,false)};h3c(2507,1644,{},dff);_.od=Jsk;_.dh=function(a){zff(this.a.A,a,true)};h3c(2509,1644,{},iff);_.dh=function(a){hff(this,a)};_.b=false;h3c(2510,1644,{},lff);_.dh=function(a){kff(this,a)};_.b=false;h3c(2511,1,{},nff);_.od=function(a){VFe((new kSf(new R0f(a))).a)};_.dh=function(a){var b,d,e;b=onj(a);d=new o5e((TMd(),b.b.gN(JGj)&&z7i(b,JGj).b.b!=(Rlj(),Qlj)&&!XOd(z7i(b,JGj).b.Ze(),KGj)?RMd:SMd),b);d.b.a?(e=new S0f(true,s_j+(SXd(),this.a)+dDj)):(e=new T0f(false,t_j+(SXd(),this.a),B7i(b)));VFe((new kSf(e)).a)};h3c(2512,1644,{},pff);_.dh=function(a){var b;b=onj(a);b.b.gN(JGj)&&z7i(b,JGj).b.b!=(Rlj(),Qlj)&&!XOd(z7i(b,JGj).b.Ze(),KGj)?YXd(l_j+(SXd(),'Flush connections error for '+this.a),B7i(b)):ZXd(u_j+(SXd(),'Flush connections for '+this.a))};h3c(2515,1209,Xyj,Aff);_.Ah=function(){this.a=new Hff(this.b,false);this.d=new Hff(this.b,true);this.c=new T2i((sD(),rD));jr(this.c,v_j);Mtd(this.c,Cff(this.a),w_j);Mtd(this.c,Cff(this.d),x_j);R2i(this.c,0);return this.c};h3c(2516,1,{},Hff);_.c=false;h3c(2517,1,{},Jff);_.ai=Isk;h3c(2518,1,Cxj,Lff);_.he=function(a){Zef(this.a.e,$yd(this.a.f.Z.k),this.a.c)};h3c(2519,644,Yxj,Nff);_.md=function(a){return a.wd()};h3c(2520,644,Yxj,Pff);_.md=Isk;h3c(2521,644,Yxj,Rff);_.md=function(a){return Pzj+a.mn()};h3c(2522,644,Yxj,Tff);_.md=function(a){return Pzj+a.ay()};h3c(2523,1,Cxj,Vff);_.Rg=function(a){var b;b=$yd(this.a.f.Z.k);Zef(this.a.e,b,this.a.c)};h3c(2524,1,Cxj,Xff);_.he=function(a){$ef($yd(this.a.f.Z.k).wd(),this.a.c)};h3c(2525,1,Cxj,Zff);_.he=function(a){Vef($yd(this.a.f.Z.k).wd(),this.a.c)};h3c(2526,1,{},agf);h3c(2527,1644,{},dgf);_.dh=function(a){cgf(this,a)};h3c(2530,1,Wyj);_.pd=function(){BGd(this.b,hgf(this.a.a))};var frb=zNd(2505),Yqb=zNd(2506),Zqb=zNd(2507),_qb=zNd(2509),arb=zNd(2510),brb=zNd(2511),crb=zNd(2512),grb=zNd(2515),srb=zNd(2526),rrb=zNd(2527),qrb=zNd(2516),irb=zNd(2517),jrb=zNd(2519),krb=zNd(2520),lrb=zNd(2521),mrb=zNd(2522),nrb=zNd(2523),orb=zNd(2524),prb=zNd(2525),hrb=zNd(2518);Kzj(_o)(1);