function Gff(){}
function aff(a){this.a=a}
function kff(a){this.a=a}
function mff(a){this.a=a}
function Iff(a){this.a=a}
function Sff(a){this.a=a}
function Uff(a){this.a=a}
function Wff(a){this.a=a}
function $ef(a){this.a=a}
function Bsk(a){Vc(a.$b())}
function Bff(a,b){Mdf(a.a,b)}
function Cff(a,b){Mdf(a.d,b)}
function Aff(a){Odf(a.d);Odf(a.a)}
function tff(a){Aff(a.a);Aff(a.d)}
function Kff(a){Ucd.call(this,a)}
function Mff(a){Ucd.call(this,a)}
function Off(a){Ucd.call(this,a)}
function Qff(a){Ucd.call(this,a)}
function xff(){cZd.call(this)}
function Zff(){this.a=new h0i(nHb)}
function fff(a,b){this.a=a;this.b=b}
function iff(a,b){this.a=a;this.b=b}
function agf(a,b){this.a=a;this.b=b}
function Eff(a,b){this.e=a;this.c=b}
function Dff(a,b){Sxd(a.b,b);yqg(a.f)}
function uff(a,b,d){d?Bff(a.d,b):Bff(a.a,b)}
function vff(a,b,d){d?Cff(a.d,b):Cff(a.a,b)}
function wff(a,b,d){d?Dff(a.d,b):Dff(a.a,b)}
function Ask(a){return a.ar()}
function ggf(a,b,d,e,g,i){return new Yef(a,b,d,e,g,i)}
function fgf(a){var b;if(!a.d){b=new xff;a.d=b}return a.d}
function Yef(a,b,d,e,g,i){J8d.call(this,a,b,d,e);this.b=g;this.e=i;this.a=new Zff}
function Vef(a){tff(a.A);wff(a.A,(STd(),PTd),true);wff(a.A,PTd,false);Yff(a.a,new $ef(a),false);Yff(a.a,new aff(a),true)}
function Sef(a,b){var d,e;e=b?WYj:NLj;d=new Q7i;G7i(s7i(d,hGj),Idf());l7i(s7i(d,hGj),wHj,lFj);l7i(s7i(d,hGj),e,a);B7i(s7i(d,fGj),X$j);nnj(new Gmj(d),new mff(a))}
function Xef(a,b){var d,e;e=b?WYj:NLj;d=new Q7i;G7i(s7i(d,hGj),Idf());l7i(s7i(d,hGj),wHj,lFj);l7i(s7i(d,hGj),e,a);B7i(s7i(d,fGj),d_j);nnj(new Gmj(d),new kff(a))}
function Yff(a,b,d){var e,g,i;e=Idf();C7i(g7i(e),wHj,lFj);i=d?WYj:NLj;g=new Q7i;B7i(s7i(g,fGj),F_j);G7i(s7i(g,hGj),e);B7i(s7i(g,G$j),i);nnj(new Gmj(g),new agf(a,b))}
function Wef(a,b,d){if(!b.mn()){UXd(c_j+(PXd(),b.wd()));tff(a.A);return}if(d){a.d=b;!!a.d&&(Uef(a,true),Tef(a,true))}else{a.c=b;!!a.c&&(Uef(a,false),Tef(a,false))}}
function _ff(a,b){var d,e;e=hnj(b);if(e.b.gN(CGj)&&s7i(e,CGj).b.b!=(Klj(),Jlj)&&!UOd(s7i(e,CGj).b.Ze(),DGj)){a.b.od(new io('Failed to read DS metrics: '+u7i(e)))}else{d=$_i(a.a.a,s7i(e,oGj).b.ZM());a.b.dh(d)}}
function egf(a){var b;if(!a.c){b=ggf(QEd(Nbe(a.a)),fgf(a),dgf(a),(oId(Pbe(a.a)),Rnj(sde(a.a)),Uoj(ude(a.a))),(V0i(qde(a.a)),lLg(Gce(a.a))),Byh(pde(a.a)),a6e(mce(a.a)));aFd((Obe(a.a),b),ZFd(Obe(a.a)));a.c=b}return a.c}
function Tef(a,b){var d,e,g,i;i=b?a.d:a.c;if(!i)throw new io(Y$j);tff(a.A);g=b?WYj:NLj;d=i.wd();e=new Q7i;G7i(s7i(e,hGj),Idf());l7i(s7i(e,hGj),wHj,lFj);l7i(s7i(e,hGj),g,d);l7i(s7i(e,hGj),Z$j,$$j);B7i(s7i(e,fGj),_$j);J7i(s7i(e,a_j),true);nnj(new Gmj(e),new iff(a,b))}
function Uef(a,b){var d,e,g,i;i=b?a.d:a.c;if(!i)throw new io(Y$j);tff(a.A);g=b?WYj:NLj;d=i.wd();e=new Q7i;G7i(s7i(e,hGj),Idf());l7i(s7i(e,hGj),wHj,lFj);l7i(s7i(e,hGj),g,d);l7i(s7i(e,hGj),Z$j,b_j);B7i(s7i(e,fGj),_$j);J7i(s7i(e,a_j),true);nnj(new Gmj(e),new fff(a,b))}
function hff(a,b){var d,e,g,i,j,k;i=hnj(b);if(i.b.gN(CGj)&&s7i(i,CGj).b.b!=(Klj(),Jlj)&&!UOd(s7i(i,CGj).b.Ze(),DGj)){VXd(e_j+(PXd(),f_j),u7i(i))}else{j=s7i(i,oGj).b._M();k=s7i(j,i_j).b.$M();d=s7i(j,j_j).b.$M();g=s7i(j,k_j).b.$M();e=new Edf($L(a0c,axj,-1,[k,d,g]));uff(a.a.A,e,a.b)}}
function eff(a,b){var d,e,g,i,j,k;j=hnj(b);if(j.b.gN(CGj)&&s7i(j,CGj).b.b!=(Klj(),Jlj)&&!UOd(s7i(j,CGj).b.Ze(),DGj)){VXd(e_j+(PXd(),f_j),u7i(j))}else{k=s7i(j,oGj).b._M();e=s7i(k,g_j).b.$M();d=s7i(k,'ActiveCount').b.$M();g=s7i(k,h_j).b.$M();i=new Edf($L(a0c,axj,-1,[e,d,g]));vff(a.a.A,i,a.b)}}
function zff(a){var b,d,e,g,i,j,k,n,o,p,q,r,s,t,u,v;a.f=new Cqg(5,new Gff);Aqg(a.f,new $yd);a.b=new Txd;ixd(a.b,a.f);k=new Kff(new Vn);o=new Mff(new Vn);s=new Off(new Vn);r=new Qff(new Vn);g7c(a.f,k,PHj);g7c(a.f,o,r_j);g7c(a.f,s,s_j);g7c(a.f,r,'Statistics Enabled?');a.f.Z.k.ci(new Sff(a));u=new Oij;v=new Eij((PXd(),t_j),new Uff(a));i=new Eij(u_j,new Wff(a));Fr((Mfd(),v.gb),true);pr(v,v_j);a.c?(v.b=rEj,v.a=d_j):(v.b=qEj,v.a=d_j);Fr(i.gb,true);pr(i,v_j);Iij(u,v);Iij(u,i);Fr(u.gb,true);b=new Kef(g_j,'Available Connections');e=$L(s1c,bxj,196,[(b.c=true,b),wef(new Kef(g_j,'Active'),b),wef(new Kef(h_j,'Max Used'),b)]);a.d=Vdf(new Xdf('Connection Pool',w_j,true),e);n=new gAe;fAe(n,a.f);t=new rwd;rz(t.gb,x_j);owd(t,a.f);owd(t,n);d=new Kef(i_j,'Access Count');g=$L(s1c,bxj,196,[(d.c=true,d),wef(new Kef(j_j,y_j),d),wef(new Kef(k_j,z_j),d)]);a.a=Vdf(new Wdf(A_j,w_j),g);p=new cnd(B_j);rz(p.gb,C_j);p.gb.style[D_j]=30+(sD(),LAj);p.gb.style[E_j]='-20px';p.sh(new Iff(a));j=oBe(oBe(oBe(oBe(oBe(rBe(sBe(vBe(uBe(new xBe),a.c?q_j:p_j),a.c?'XA Data Source Metrics':'Data Source Metrics'),'Datasources runtime utilisation.'),Izj,u),EPj,t),Izj,p),'Pool Usage',Ndf(a.d)),A_j,Ndf(a.a));q=pBe(j);Sz(p.gb).style['textAlign']=(YC(),fCj);return q}
var g_j='AvailableCount',p_j='Data Sources',Y$j='DataSource selection is null!',h_j='MaxUsedCount',A_j='Prepared Statement Cache',i_j='PreparedStatementCacheAccessCount',j_j='PreparedStatementCacheHitCount',k_j='PreparedStatementCacheMissCount',q_j='XA Data Sources',Z$j='statistics';f3c(2505,1402,hyj,Yef);_.Qi=function(){this.A.b=this;I8d(this,this.e)};_.Vi=function(){Vef(this)};_.Zi=function(){suf(this.b,this)};f3c(2506,1644,{},$ef);_.od=Bsk;_.dh=function(a){wff(this.a.A,a,false)};f3c(2507,1644,{},aff);_.od=Bsk;_.dh=function(a){wff(this.a.A,a,true)};f3c(2509,1644,{},fff);_.dh=function(a){eff(this,a)};_.b=false;f3c(2510,1644,{},iff);_.dh=function(a){hff(this,a)};_.b=false;f3c(2511,1,{},kff);_.od=function(a){SFe((new hSf(new O0f(a))).a)};_.dh=function(a){var b,d,e;b=hnj(a);d=new l5e((QMd(),b.b.gN(CGj)&&s7i(b,CGj).b.b!=(Klj(),Jlj)&&!UOd(s7i(b,CGj).b.Ze(),DGj)?OMd:PMd),b);d.b.a?(e=new P0f(true,l_j+(PXd(),this.a)+YCj)):(e=new Q0f(false,m_j+(PXd(),this.a),u7i(b)));SFe((new hSf(e)).a)};f3c(2512,1644,{},mff);_.dh=function(a){var b;b=hnj(a);b.b.gN(CGj)&&s7i(b,CGj).b.b!=(Klj(),Jlj)&&!UOd(s7i(b,CGj).b.Ze(),DGj)?VXd(e_j+(PXd(),'Flush connections error for '+this.a),u7i(b)):WXd(n_j+(PXd(),'Flush connections for '+this.a))};f3c(2515,1209,Qyj,xff);_.Ah=function(){this.a=new Eff(this.b,false);this.d=new Eff(this.b,true);this.c=new M2i((sD(),rD));jr(this.c,o_j);Jtd(this.c,zff(this.a),p_j);Jtd(this.c,zff(this.d),q_j);K2i(this.c,0);return this.c};f3c(2516,1,{},Eff);_.c=false;f3c(2517,1,{},Gff);_.ai=Ask;f3c(2518,1,vxj,Iff);_.he=function(a){Wef(this.a.e,Xyd(this.a.f.Z.k),this.a.c)};f3c(2519,644,Rxj,Kff);_.md=function(a){return a.wd()};f3c(2520,644,Rxj,Mff);_.md=Ask;f3c(2521,644,Rxj,Off);_.md=function(a){return Izj+a.mn()};f3c(2522,644,Rxj,Qff);_.md=function(a){return Izj+a.ay()};f3c(2523,1,vxj,Sff);_.Rg=function(a){var b;b=Xyd(this.a.f.Z.k);Wef(this.a.e,b,this.a.c)};f3c(2524,1,vxj,Uff);_.he=function(a){Xef(Xyd(this.a.f.Z.k).wd(),this.a.c)};f3c(2525,1,vxj,Wff);_.he=function(a){Sef(Xyd(this.a.f.Z.k).wd(),this.a.c)};f3c(2526,1,{},Zff);f3c(2527,1644,{},agf);_.dh=function(a){_ff(this,a)};f3c(2530,1,Pyj);_.pd=function(){yGd(this.b,egf(this.a.a))};var frb=wNd(2505),Yqb=wNd(2506),Zqb=wNd(2507),_qb=wNd(2509),arb=wNd(2510),brb=wNd(2511),crb=wNd(2512),grb=wNd(2515),srb=wNd(2526),rrb=wNd(2527),qrb=wNd(2516),irb=wNd(2517),jrb=wNd(2519),krb=wNd(2520),lrb=wNd(2521),mrb=wNd(2522),nrb=wNd(2523),orb=wNd(2524),prb=wNd(2525),hrb=wNd(2518);Dzj(_o)(1);