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 Ask(a){Vc(a.$b())}
function zsk(a){return a.ar()}
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 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 Zff(){this.a=new g0i(nHb)}
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 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?VYj:MLj;d=new P7i;F7i(r7i(d,gGj),Idf());k7i(r7i(d,gGj),vHj,kFj);k7i(r7i(d,gGj),e,a);A7i(r7i(d,eGj),W$j);mnj(new Fmj(d),new mff(a))}
function Xef(a,b){var d,e;e=b?VYj:MLj;d=new P7i;F7i(r7i(d,gGj),Idf());k7i(r7i(d,gGj),vHj,kFj);k7i(r7i(d,gGj),e,a);A7i(r7i(d,eGj),c_j);mnj(new Fmj(d),new kff(a))}
function Yff(a,b,d){var e,g,i;e=Idf();B7i(f7i(e),vHj,kFj);i=d?VYj:MLj;g=new P7i;A7i(r7i(g,eGj),E_j);F7i(r7i(g,gGj),e);A7i(r7i(g,F$j),i);mnj(new Fmj(g),new agf(a,b))}
function Wef(a,b,d){if(!b.mn()){UXd(b_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=gnj(b);if(e.b.gN(BGj)&&r7i(e,BGj).b.b!=(Jlj(),Ilj)&&!UOd(r7i(e,BGj).b.Ze(),CGj)){a.b.od(new io('Failed to read DS metrics: '+t7i(e)))}else{d=Z_i(a.a.a,r7i(e,nGj).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)),Qnj(sde(a.a)),Toj(ude(a.a))),(U0i(qde(a.a)),lLg(Gce(a.a))),Ayh(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(X$j);tff(a.A);g=b?VYj:MLj;d=i.wd();e=new P7i;F7i(r7i(e,gGj),Idf());k7i(r7i(e,gGj),vHj,kFj);k7i(r7i(e,gGj),g,d);k7i(r7i(e,gGj),Y$j,Z$j);A7i(r7i(e,eGj),$$j);I7i(r7i(e,_$j),true);mnj(new Fmj(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(X$j);tff(a.A);g=b?VYj:MLj;d=i.wd();e=new P7i;F7i(r7i(e,gGj),Idf());k7i(r7i(e,gGj),vHj,kFj);k7i(r7i(e,gGj),g,d);k7i(r7i(e,gGj),Y$j,a_j);A7i(r7i(e,eGj),$$j);I7i(r7i(e,_$j),true);mnj(new Fmj(e),new fff(a,b))}
function hff(a,b){var d,e,g,i,j,k;i=gnj(b);if(i.b.gN(BGj)&&r7i(i,BGj).b.b!=(Jlj(),Ilj)&&!UOd(r7i(i,BGj).b.Ze(),CGj)){VXd(d_j+(PXd(),e_j),t7i(i))}else{j=r7i(i,nGj).b._M();k=r7i(j,h_j).b.$M();d=r7i(j,i_j).b.$M();g=r7i(j,j_j).b.$M();e=new Edf($L(a0c,_wj,-1,[k,d,g]));uff(a.a.A,e,a.b)}}
function eff(a,b){var d,e,g,i,j,k;j=gnj(b);if(j.b.gN(BGj)&&r7i(j,BGj).b.b!=(Jlj(),Ilj)&&!UOd(r7i(j,BGj).b.Ze(),CGj)){VXd(d_j+(PXd(),e_j),t7i(j))}else{k=r7i(j,nGj).b._M();e=r7i(k,f_j).b.$M();d=r7i(k,'ActiveCount').b.$M();g=r7i(k,g_j).b.$M();i=new Edf($L(a0c,_wj,-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,JHj);g7c(a.f,o,q_j);g7c(a.f,s,r_j);g7c(a.f,r,'Statistics Enabled?');a.f.Z.k.ci(new Sff(a));u=new Nij;v=new Dij((PXd(),s_j),new Uff(a));i=new Dij(t_j,new Wff(a));Fr((Mfd(),v.gb),true);pr(v,u_j);a.c?(v.b=qEj,v.a=c_j):(v.b=pEj,v.a=c_j);Fr(i.gb,true);pr(i,u_j);Hij(u,v);Hij(u,i);Fr(u.gb,true);b=new Kef(f_j,'Available Connections');e=$L(s1c,axj,196,[(b.c=true,b),wef(new Kef(f_j,'Active'),b),wef(new Kef(g_j,'Max Used'),b)]);a.d=Vdf(new Xdf('Connection Pool',v_j,true),e);n=new gAe;fAe(n,a.f);t=new rwd;rz(t.gb,w_j);owd(t,a.f);owd(t,n);d=new Kef(h_j,'Access Count');g=$L(s1c,axj,196,[(d.c=true,d),wef(new Kef(i_j,x_j),d),wef(new Kef(j_j,y_j),d)]);a.a=Vdf(new Wdf(z_j,v_j),g);p=new cnd(A_j);rz(p.gb,B_j);p.gb.style[C_j]=30+(sD(),KAj);p.gb.style[D_j]='-20px';p.sh(new Iff(a));j=oBe(oBe(oBe(oBe(oBe(rBe(sBe(vBe(uBe(new xBe),a.c?p_j:o_j),a.c?'XA Data Source Metrics':'Data Source Metrics'),'Datasources runtime utilisation.'),Hzj,u),DPj,t),Hzj,p),'Pool Usage',Ndf(a.d)),z_j,Ndf(a.a));q=pBe(j);Sz(p.gb).style['textAlign']=(YC(),eCj);return q}
var f_j='AvailableCount',o_j='Data Sources',X$j='DataSource selection is null!',g_j='MaxUsedCount',z_j='Prepared Statement Cache',h_j='PreparedStatementCacheAccessCount',i_j='PreparedStatementCacheHitCount',j_j='PreparedStatementCacheMissCount',p_j='XA Data Sources',Y$j='statistics';f3c(2505,1402,gyj,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=Ask;_.dh=function(a){wff(this.a.A,a,false)};f3c(2507,1644,{},aff);_.od=Ask;_.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=gnj(a);d=new l5e((QMd(),b.b.gN(BGj)&&r7i(b,BGj).b.b!=(Jlj(),Ilj)&&!UOd(r7i(b,BGj).b.Ze(),CGj)?OMd:PMd),b);d.b.a?(e=new P0f(true,k_j+(PXd(),this.a)+XCj)):(e=new Q0f(false,l_j+(PXd(),this.a),t7i(b)));SFe((new hSf(e)).a)};f3c(2512,1644,{},mff);_.dh=function(a){var b;b=gnj(a);b.b.gN(BGj)&&r7i(b,BGj).b.b!=(Jlj(),Ilj)&&!UOd(r7i(b,BGj).b.Ze(),CGj)?VXd(d_j+(PXd(),'Flush connections error for '+this.a),t7i(b)):WXd(m_j+(PXd(),'Flush connections for '+this.a))};f3c(2515,1209,Pyj,xff);_.Ah=function(){this.a=new Eff(this.b,false);this.d=new Eff(this.b,true);this.c=new L2i((sD(),rD));jr(this.c,n_j);Jtd(this.c,zff(this.a),o_j);Jtd(this.c,zff(this.d),p_j);J2i(this.c,0);return this.c};f3c(2516,1,{},Eff);_.c=false;f3c(2517,1,{},Gff);_.ai=zsk;f3c(2518,1,uxj,Iff);_.he=function(a){Wef(this.a.e,Xyd(this.a.f.Z.k),this.a.c)};f3c(2519,644,Qxj,Kff);_.md=function(a){return a.wd()};f3c(2520,644,Qxj,Mff);_.md=zsk;f3c(2521,644,Qxj,Off);_.md=function(a){return Hzj+a.mn()};f3c(2522,644,Qxj,Qff);_.md=function(a){return Hzj+a.ay()};f3c(2523,1,uxj,Sff);_.Rg=function(a){var b;b=Xyd(this.a.f.Z.k);Wef(this.a.e,b,this.a.c)};f3c(2524,1,uxj,Uff);_.he=function(a){Xef(Xyd(this.a.f.Z.k).wd(),this.a.c)};f3c(2525,1,uxj,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,Oyj);_.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);Czj(_o)(1);