var INc="AvailableCount",JNc="Data Sources",KNc="DataSource selection is null!",LNc="MaxUsedCount",O8="Pool Usage",MNc="PreparedStatementCacheCurrentSize",NNc="PreparedStatementCacheHitCount",ONc="PreparedStatementCacheMissCount",PNc="XA Data Sources",QNc="jdbc",RNc="pool",SNc="statistics";
function TNc(a,b){var d,e,h;d=b?a.d:a.c;if(!d)throw new Iw(KNc);P8(a.y);h=b?Jt:Ff;d=d.sc();e=new G;YH(I(e,l),l1());T(I(e,l),wr,Jf);T(I(e,l),h,d);T(I(e,l),SNc,QNc);H(I(e,q),kN);IE(I(e,JM),!0);K(new KE(e),new UNc(a,b))}function VNc(a,b){var d,e,h;d=b?a.d:a.c;if(!d)throw new Iw(KNc);P8(a.y);h=b?Jt:Ff;d=d.sc();e=new G;YH(I(e,l),l1());T(I(e,l),wr,Jf);T(I(e,l),h,d);T(I(e,l),SNc,RNc);H(I(e,q),kN);IE(I(e,JM),!0);K(new KE(e),new WNc(a,b))}
function XNc(a){P8(a.y);YNc(a.y,(ev(),zy),!0);YNc(a.y,zy,!1);ZNc(a.a,new $Nc(a),!1);ZNc(a.a,new aOc(a),!0)}function bOc(a,b,d){b.om()?d?(a.d=b,a.d&&(VNc(a,!0),TNc(a,!0))):(a.c=b,a.c&&(VNc(a,!1),TNc(a,!1))):(uW(wmb+(F(),b.sc())),P8(a.y))}function cOc(a,b,d,e){UV.call(this,a,b,d,null);this.b=e;this.a=new dOc}v(2389,930,ou,cOc);_.ji=function(){this.y.b=this;Ay(this.v,(F1(),G1),this)};_.oi=function(){XNc(this)};_.zk=function(){P8(this.y);$w((Xw(),Yw),new eOc(this))};_.si=function(){L1(this.b,this)};
_.a=null;_.b=null;_.c=null;_.d=null;function eOc(a){this.a=a}v(2390,1,Au,eOc);_.oc=function(){this.a.z&&XNc(this.a)};_.a=null;function $Nc(a){this.a=a}v(2391,1557,{},$Nc);_.lc=Pu;_.pg=function(a){YNc(this.a.y,a,!1)};_.a=null;function aOc(a){this.a=a}v(2392,1557,{},aOc);_.lc=Pu;_.pg=function(a){YNc(this.a.y,a,!0)};_.a=null;function WNc(a,b){this.a=a;this.b=b}v(2393,1557,{},WNc);
_.pg=function(a){var b,d,a=NE(a);a.b.wL(r)&&I(a,r).b.b!=(L(),M)&&!w(I(a,r).b.pe(),xr)?pD(IK+(F(),"Datasource Metrics"),OE(a)):(d=I(a,op).b.oL(),b=I(d,INc).b.nL(),a=I(d,"ActiveCount").b.nL(),d=I(d,LNc).b.nL(),a=new k1(y(aW,wu,-1,[b,a,d])),b=this.a.y,this.b?b.d.d.sp(a):b.a.d.sp(a))};_.a=null;_.b=!1;function UNc(a,b){this.a=a;this.b=b}v(2394,1557,{},UNc);
_.pg=function(a){var b,d,a=NE(a);a.b.wL(r)&&I(a,r).b.b!=(L(),M)&&!w(I(a,r).b.pe(),xr)?pD(IK+(F(),"Datasource Metrics"),OE(a)):(b=I(a,op).b.oL(),d=I(b,MNc).b.nL(),a=I(b,NNc).b.nL(),b=I(b,ONc).b.nL(),a=new k1(y(aW,wu,-1,[d,a,b])),d=this.a.y,this.b?d.d.a.sp(a):d.a.a.sp(a))};_.a=null;_.b=!1;function fOc(a){this.a=a}v(2395,1,{},fOc);_.lc=function(a){p0((new Aec(new U3(a))).a)};
_.pg=function(a){var b,a=NE(a);(new Z0((B(),a.b.wL(r)&&I(a,r).b.b!=(L(),M)&&!w(I(a,r).b.pe(),xr)?D:C),a)).b.a?b=new W3(!0,Tob+(F(),this.a)+ua):b=new V3(!1,gob+(F(),this.a),OE(a));p0((new Aec(b)).a)};_.a=null;function gOc(a){this.a=a}v(2396,1557,{},gOc);_.pg=function(a){a=NE(a);a.b.wL(r)&&I(a,r).b.b!=(L(),M)&&!w(I(a,r).b.pe(),xr)?pD(IK+(F(),"Flush connections error for "+this.a),OE(a)):wW(SL+(F(),"Flush connections for "+this.a))};_.a=null;
function P8(a){var b=a.a;b.d.Bk();b.a.Bk();a=a.d;a.d.Bk();a.a.Bk()}function YNc(a,b,d){d?hOc(a.d,b):hOc(a.a,b)}function iOc(){}v(2399,1129,xu,iOc);_.Vi=function(){this.a=new jOc(this.b,!1);this.d=new jOc(this.b,!0);this.c=new d6((hy(),iy));wO(this.c,uM);xT(this.c,kOc(this.a),JNc);xT(this.c,kOc(this.d),PNc);zT(this.c,0);return this.c};_.a=null;_.b=null;_.c=null;_.d=null;
function kOc(a){var b,d,e,h,j,m;j=new yX;zX(j,new AX((F(),hL),new lOc(a)));a.f=new w0(5);SW(a.f,new uU);a.b=new fU;UT(a.b,a.f);h=new mOc(new rO);d=new nOc(new rO);b=new oOc(new rO);HQ(a.f,h,Xb);HQ(a.f,d,RK);HQ(a.f,b,DK);a.f.W.k.ph(new pOc(a));a.f.db.setAttribute(ur,"margin-top:15px;margin-bottom:0px;");d=a.c?Jt:Ff;b=new qOc(a,d);h=new yX;m=new AX(VL,new rOc(a));e=new AX(dnb,new sOc(a));mx(m.db,!0);yO(m,oub);mx(e.db,!0);yO(e,oub);zX(h,m);zX(h,e);mx(h.db,!0);e=new q1(INc,"Available");e=y(C1,cu,182,
[(e.c=!0,e),o1(new q1(INc,"Active Count"),e),o1(new q1(LNc,"Max Used"),e)]);xW()?a.d=m1(new n1(O8,Af),e):a.d=u1(t1(new v1(O8,b),e));b=new mY;AR(b,a.f);e=new eS;e.db[Ke]=DM;V(e,a.f);V(e,b);d=new tOc(a,d);b=new q1(MNc,"Current Size");b=y(C1,cu,182,[(b.c=!0,b),o1(new q1(NNc,inb),b),o1(new q1(ONc,"Miss Used"),b)]);xW()?a.a=m1(new n1(O8,Af),b):a.a=u1(t1(new v1(O8,d),b));d=new YN(aO(new XN,"Datasources runtime utilisation.").a.a.a);a=uY(uY(EY(DY(jXb(hXb(BY(GY(FY(new HY),a.c?PNc:JNc),a.c?"XA Data Source Metrics":
"Data Source Metrics"),d),j),ib,a.f),h),O8,a.d.rc()),"Prepared Statement Cache",a.a.rc());return wY(a)}function hOc(a,b){dU(a.b,b);b.$c()||a.f.W.k.sh(b.ed(0),!0)}function jOc(a,b){this.e=a;this.c=b}v(2400,1,{},jOc);_.a=null;_.b=null;_.c=!1;_.d=null;_.e=null;_.f=null;function lOc(a){this.a=a}v(2401,1,u,lOc);_.zd=function(){bOc(this.a.e,rU(this.a.f.W.k),this.a.c)};_.a=null;function mOc(a){this.c=a}v(2402,573,uJ,mOc);_.kc=function(a){return a.sc()};function nOc(a){this.c=a}v(2403,573,uJ,nOc);_.kc=function(a){return a.Kp()};
function oOc(a){this.c=a}v(2404,573,uJ,oOc);_.kc=function(a){return g+a.om()};function pOc(a){this.a=a}v(2405,1,u,pOc);_.cg=function(){var a;a=rU(this.a.f.W.k);bOc(this.a.e,a,this.a.c)};_.a=null;function qOc(a,b){this.a=a;this.b=b}v(2406,1,{},qOc);_.hk=function(){var a;a=new G;YH(I(a,l),l1());T(I(a,l),wr,Jf);T(I(a,l),this.b,rU(this.a.f.W.k).sc());T(I(a,l),SNc,RNc);return a};_.a=null;_.b=null;function rOc(a){this.a=a}v(2407,1,u,rOc);
_.zd=function(){var a=rU(this.a.f.W.k).sc(),b,d;d=this.a.c?Jt:Ff;b=new G;YH(I(b,l),l1());T(I(b,l),wr,Jf);T(I(b,l),d,a);H(I(b,q),Utb);K(new KE(b),new fOc(a))};_.a=null;function sOc(a){this.a=a}v(2408,1,u,sOc);_.zd=function(){var a=rU(this.a.f.W.k).sc(),b,d;d=this.a.c?Jt:Ff;b=new G;YH(I(b,l),l1());T(I(b,l),wr,Jf);T(I(b,l),d,a);H(I(b,q),orb);K(new KE(b),new gOc(a))};_.a=null;function tOc(a,b){this.a=a;this.b=b}v(2409,1,{},tOc);
_.hk=function(){var a;a=new G;YH(I(a,l),l1());T(I(a,l),wr,Jf);T(I(a,l),this.b,rU(this.a.f.W.k).sc());T(I(a,l),SNc,QNc);return a};_.a=null;_.b=null;function ZNc(a,b,d){var e,h;e=l1();wI(vI(e),wr,Jf);h=d?Jt:Ff;d=new G;H(I(d,q),jN);YH(I(d,l),e);H(I(d,Ee),h);K(new KE(d),new uOc(a,b))}function dOc(){this.a=new pE(PF)}v(2410,1,{},dOc);_.a=null;function uOc(a,b){this.a=a;this.b=b}v(2411,1557,{},uOc);
_.pg=function(a){a=NE(a);a.b.wL(r)&&I(a,r).b.b!=(L(),M)&&!w(I(a,r).b.pe(),xr)?this.b.lc(new Iw("Failed to read DS metrics: "+OE(a))):(a=e2(this.a.a,I(a,op).b.mL()),this.b.pg(a))};_.a=null;_.b=null;v(2414,1,nu);_.mc=function(){var a=this.b,b=this.a.a,d;if(!b.c){d=qA(jB(b.a));var e;b.d||(e=new iOc,b.d=e);e=b.d;var h=cva(b),j=(hB(sB(b.a)),uE(jE(b.a)),wE(iE(b.a)),M4(hX(b.a)));ZE(hE(b.a));gE(b.a);d=new cOc(d,e,h,j);tA((dE(b.a),d),FA(dE(b.a)));b.c=d}MA(a,b.c)};E(2389);E(2390);E(2391);E(2392);E(2393);E(2394);
E(2395);E(2396);E(2399);E(2410);E(2411);E(2400);E(2401);E(2402);E(2403);E(2404);E(2405);E(2406);E(2407);E(2408);E(2409);vw(dJ)(2);function Pu(a){jv(a.Lb())};