var nPc="AvailableCount",oPc="Data Sources",pPc="DataSource selection is null!",qPc="MaxUsedCount",rPc="Prepared Statement Cache",sPc="PreparedStatementCacheAccessCount",tPc="PreparedStatementCacheHitCount",uPc="PreparedStatementCacheMissCount",vPc="XA Data Sources",wPc="statistics";
function xPc(a,b){var d,e,h;d=b?a.d:a.c;if(!d)throw new Yw(pPc);yPc(a.A);h=b?xt:Jf;d=d.Ad();e=new H;BI(J(e,n),v1());T(J(e,n),Ar,Nf);T(J(e,n),h,d);T(J(e,n),wPc,gwb);I(J(e,kn),AO);CE(J(e,pN),!0);EE(new FE(e),new zPc(a,b))}function APc(a,b){var d,e,h;d=b?a.d:a.c;if(!d)throw new Yw(pPc);yPc(a.A);h=b?xt:Jf;d=d.Ad();e=new H;BI(J(e,n),v1());T(J(e,n),Ar,Nf);T(J(e,n),h,d);T(J(e,n),wPc,ixb);I(J(e,kn),AO);CE(J(e,pN),!0);EE(new FE(e),new BPc(a,b))}
function CPc(a){yPc(a.A);DPc(a.A,(cv(),Qy),!0);DPc(a.A,Qy,!1);EPc(a.a,new FPc(a),!1);EPc(a.a,new GPc(a),!0)}function HPc(a,b,d){b.mn()?d?(a.d=b,a.d&&(APc(a,!0),xPc(a,!0))):(a.c=b,a.c&&(APc(a,!1),xPc(a,!1))):(RT(Qpb+(G(),b.Ad())),yPc(a.A))}function IPc(a,b,d,e,h,l){$X.call(this,a,b,d,e);this.b=h;this.e=l;this.a=new JPc}x(2504,1401,lu,IPc);_.Ri=function(){this.A.b=this;ZX(this,this.e)};_.Wi=function(){CPc(this)};_.$i=function(){L1(this.b,this)};function FPc(a){this.a=a}x(2505,1643,{},FPc);_.sd=KPc;
_.eh=function(a){DPc(this.a.A,a,!1)};function GPc(a){this.a=a}x(2506,1643,{},GPc);_.sd=KPc;_.eh=function(a){DPc(this.a.A,a,!0)};function BPc(a,b){this.a=a;this.b=b}x(2508,1643,{},BPc);_.eh=function(a){var b,d;a=IE(a);a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&!y(J(a,t).b.bf(),Br)?yD(DL+(G(),Ppb),JE(a)):(d=J(a,mp).b._M(),b=J(d,nPc).b.$M(),a=J(d,"ActiveCount").b.$M(),d=J(d,qPc).b.$M(),a=new u1(A(YW,Gu,-1,[b,a,d])),b=this.a.A,this.b?BY(b.d.d,a):BY(b.a.d,a))};_.b=!1;function zPc(a,b){this.a=a;this.b=b}
x(2509,1643,{},zPc);_.eh=function(a){var b,d;a=IE(a);a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&!y(J(a,t).b.bf(),Br)?yD(DL+(G(),Ppb),JE(a)):(b=J(a,mp).b._M(),d=J(b,sPc).b.$M(),a=J(b,tPc).b.$M(),b=J(b,uPc).b.$M(),a=new u1(A(YW,Gu,-1,[d,a,b])),d=this.a.A,this.b?BY(d.d.a,a):BY(d.a.a,a))};_.b=!1;function LPc(a){this.a=a}x(2510,1,{},LPc);_.sd=function(a){d_((new Emc(new L3(a))).a)};
_.eh=function(a){var b;a=IE(a);(new o1((D(),a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&!y(J(a,t).b.bf(),Br)?TB:E),a)).b.a?b=new N3(!0,Jsb+(G(),this.a)+ua):b=new M3(!1,Trb+(G(),this.a),JE(a));d_((new Emc(b)).a)};function MPc(a){this.a=a}x(2511,1643,{},MPc);_.eh=function(a){a=IE(a);a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&!y(J(a,t).b.bf(),Br)?yD(DL+(G(),"Flush connections error for "+this.a),JE(a)):qX(iM+(G(),"Flush connections for "+this.a))};function yPc(a){var b=a.a;tY(b.d);tY(b.a);a=a.d;tY(a.d);tY(a.a)}
function DPc(a,b,d){a=d?a.d:a.a;tV(a.b,b);G0(a.f)}function NPc(){}x(2514,1208,Fu,NPc);_.Bh=function(){this.a=new OPc(this.b,!1);this.d=new OPc(this.b,!0);this.c=new W1((wy(),xy));$P(this.c,YM);QU(this.c,PPc(this.a),oPc);QU(this.c,PPc(this.d),vPc);SU(this.c,0);return this.c};
function PPc(a){var b,d,e,h;a.f=new B0(5,new QPc);NX(a.f,new KV);a.b=new vV;fV(a.b,a.f);e=new RPc(new VP);b=new SPc(new VP);h=new TPc(new VP);d=new UPc(new VP);pS(a.f,e,Tb);pS(a.f,b,LL);pS(a.f,h,yL);pS(a.f,d,"Statistics Enabled?");a.f.Z.k.di(new VPc(a));e=new y0;d=new z0((G(),lM),new WPc(a));b=new z0(xqb,new XPc(a));yx((B(),d.gb),!0);fQ(d,Iyb);a.c?(d.b=Aaa,d.a=VO):(d.b=zaa,d.a=VO);yx(b.gb,!0);fQ(b,Iyb);A0(e,d);A0(e,b);yx(e.gb,!0);b=new wY(nPc,"Available Connections");b=A(xY,Cu,195,[(b.c=!0,b),y1(new wY(nPc,
"Active"),b),y1(new wY(qPc,"Max Used"),b)]);a.d=w1(new x1("Connection Pool",ZO,!0),b);d=new kZ;jZ(d,a.f);b=new GT;b.gb.className=iN;V(b,a.f);V(b,d);d=new wY(sPc,"Access Count");d=A(xY,Cu,195,[(d.c=!0,d),y1(new wY(tPc,Eqb),d),y1(new wY(uPc,rrb),d)]);a.a=w1(new zY(rPc,ZO),d);d=new $T(UK);d.gb.className=nN;d.gb.style[zN]=30+(wy(),no);d.gb.style[yN]="-20px";d.th(new YPc(a));a=NZ(NZ(NZ(NZ(NZ(PZ(QZ(TZ(SZ(new UZ),a.c?vPc:oPc),a.c?"XA Data Source Metrics":"Data Source Metrics"),"Datasources runtime utilisation."),
g,e),hb,b),g,d),"Pool Usage",AY(a.d)),rPc,AY(a.a));a=OZ(a);by(d.gb).style.textAlign=(uEb(),vp);return a}function OPc(a,b){this.e=a;this.c=b}x(2515,1,{},OPc);_.c=!1;function QPc(){}x(2516,1,{},QPc);_.bi=ZPc;function YPc(a){this.a=a}x(2517,1,v,YPc);_.le=function(){HPc(this.a.e,JV(this.a.f.Z.k),this.a.c)};function RPc(a){this.d=a}x(2518,642,lK,RPc);_.qd=function(a){return a.Ad()};function SPc(a){this.d=a}x(2519,642,lK,SPc);_.qd=ZPc;function TPc(a){this.d=a}x(2520,642,lK,TPc);
_.qd=function(a){return g+a.mn()};function UPc(a){this.d=a}x(2521,642,lK,UPc);_.qd=function(a){return g+a.ay()};function VPc(a){this.a=a}x(2522,1,v,VPc);_.Sg=function(){var a;a=JV(this.a.f.Z.k);HPc(this.a.e,a,this.a.c)};function WPc(a){this.a=a}x(2523,1,v,WPc);_.le=function(){var a=JV(this.a.f.Z.k).Ad(),b,d;d=this.a.c?xt:Jf;b=new H;BI(J(b,n),v1());T(J(b,n),Ar,Nf);T(J(b,n),d,a);I(J(b,kn),VO);EE(new FE(b),new LPc(a))};function XPc(a){this.a=a}x(2524,1,v,XPc);
_.le=function(){var a=JV(this.a.f.Z.k).Ad(),b,d;d=this.a.c?xt:Jf;b=new H;BI(J(b,n),v1());T(J(b,n),Ar,Nf);T(J(b,n),d,a);I(J(b,kn),mvb);EE(new FE(b),new MPc(a))};function EPc(a,b,d){var e,h;e=v1();wI(vI(e),Ar,Nf);h=d?xt:Jf;d=new H;I(J(d,kn),zO);BI(J(d,n),e);I(J(d,Ke),h);EE(new FE(d),new $Pc(a,b))}function JPc(){this.a=new jE(FG)}x(2525,1,{},JPc);function $Pc(a,b){this.a=a;this.b=b}x(2526,1643,{},$Pc);
_.eh=function(a){a=IE(a);a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&!y(J(a,t).b.bf(),Br)?this.b.sd(new Yw("Failed to read DS metrics: "+JE(a))):(a=g2(this.a.a,J(a,mp).b.ZM()),this.b.eh(a))};x(2529,1,ku);_.td=function(){var a=this.b,b=this.a.a,d;if(!b.c){d=FA(EB(b.a));var e;b.d||(e=new NPc,b.d=e);e=b.d;var h=Qwa(b),l=(CB(FD(b.a)),oE(cE(b.a)),xX(yX(b.a))),p=(qE(aE(b.a)),J4(fY(b.a))),s=XE($D(b.a));ZD(b.a);d=new IPc(d,e,h,l,p,s);MA((WD(b.a),d),jB(WD(b.a)));b.c=d}qB(a,b.c)};F(2504);F(2505);F(2506);F(2508);F(2509);
F(2510);F(2511);F(2514);F(2525);F(2526);F(2515);F(2516);F(2518);F(2519);F(2520);F(2521);F(2522);F(2523);F(2524);F(2517);Bw(PJ)(1);function ZPc(a){return a.ar()}function KPc(a){hv(a.$b())};