var DNc="AvailableCount",ENc="Data Sources",FNc="DataSource selection is null!",GNc="MaxUsedCount",S8="Pool Usage",HNc="PreparedStatementCacheCurrentSize",INc="PreparedStatementCacheHitCount",JNc="PreparedStatementCacheMissCount",KNc="XA Data Sources",LNc="jdbc",MNc="pool",NNc="statistics";
function ONc(a,b){var d,e,h;d=b?a.d:a.c;if(!d)throw new Iw(FNc);T8(a.y);h=b?Jt:Ff;d=d.sc();e=new G;ZH(I(e,l),s1());T(I(e,l),wr,Jf);T(I(e,l),h,d);T(I(e,l),NNc,LNc);H(I(e,q),mN);JE(I(e,LM),!0);K(new LE(e),new PNc(a,b))}function QNc(a,b){var d,e,h;d=b?a.d:a.c;if(!d)throw new Iw(FNc);T8(a.y);h=b?Jt:Ff;d=d.sc();e=new G;ZH(I(e,l),s1());T(I(e,l),wr,Jf);T(I(e,l),h,d);T(I(e,l),NNc,MNc);H(I(e,q),mN);JE(I(e,LM),!0);K(new LE(e),new RNc(a,b))}
function SNc(a){T8(a.y);TNc(a.y,(ev(),zy),!0);TNc(a.y,zy,!1);UNc(a.a,new VNc(a),!1);UNc(a.a,new WNc(a),!0)}function XNc(a,b,d){b.mm()?d?(a.d=b,a.d&&(QNc(a,!0),ONc(a,!0))):(a.c=b,a.c&&(QNc(a,!1),ONc(a,!1))):(vW(ymb+(F(),b.sc())),T8(a.y))}function YNc(a,b,d,e){VV.call(this,a,b,d,null);this.b=e;this.a=new ZNc}v(2385,926,ou,YNc);_.hi=function(){this.y.b=this;Ay(this.v,(L1(),M1),this)};_.mi=function(){SNc(this)};_.xk=function(){T8(this.y);hx((Xw(),Yw),new $Nc(this))};_.qi=function(){R1(this.b,this)};
_.a=null;_.b=null;_.c=null;_.d=null;function $Nc(a){this.a=a}v(2386,1,Au,$Nc);_.oc=function(){this.a.z&&SNc(this.a)};_.a=null;function VNc(a){this.a=a}v(2387,1553,{},VNc);_.lc=Dw;_.pg=function(a){TNc(this.a.y,a,!1)};_.a=null;function WNc(a){this.a=a}v(2388,1553,{},WNc);_.lc=Dw;_.pg=function(a){TNc(this.a.y,a,!0)};_.a=null;function RNc(a,b){this.a=a;this.b=b}v(2389,1553,{},RNc);
_.pg=function(a){var b,d,a=OE(a);a.b.uL(r)&&I(a,r).b.b!=(L(),M)&&!w(I(a,r).b.pe(),xr)?qD(JK+(F(),"Datasource Metrics"),PE(a)):(d=I(a,op).b.mL(),b=I(d,DNc).b.lL(),a=I(d,"ActiveCount").b.lL(),d=I(d,GNc).b.lL(),a=new r1(y(bW,wu,-1,[b,a,d])),b=this.a.y,this.b?b.d.d.qp(a):b.a.d.qp(a))};_.a=null;_.b=!1;function PNc(a,b){this.a=a;this.b=b}v(2390,1553,{},PNc);
_.pg=function(a){var b,d,a=OE(a);a.b.uL(r)&&I(a,r).b.b!=(L(),M)&&!w(I(a,r).b.pe(),xr)?qD(JK+(F(),"Datasource Metrics"),PE(a)):(b=I(a,op).b.mL(),d=I(b,HNc).b.lL(),a=I(b,INc).b.lL(),b=I(b,JNc).b.lL(),a=new r1(y(bW,wu,-1,[d,a,b])),d=this.a.y,this.b?d.d.a.qp(a):d.a.a.qp(a))};_.a=null;_.b=!1;function aOc(a){this.a=a}v(2391,1,{},aOc);_.lc=function(a){u0((new tec(new Z3(a))).a)};
_.pg=function(a){var b,a=OE(a);(new f1((B(),a.b.uL(r)&&I(a,r).b.b!=(L(),M)&&!w(I(a,r).b.pe(),xr)?D:C),a)).b.a?b=new a4(!0,Uob+(F(),this.a)+ua):b=new $3(!1,hob+(F(),this.a),PE(a));u0((new tec(b)).a)};_.a=null;function bOc(a){this.a=a}v(2392,1553,{},bOc);_.pg=function(a){a=OE(a);a.b.uL(r)&&I(a,r).b.b!=(L(),M)&&!w(I(a,r).b.pe(),xr)?qD(JK+(F(),"Flush connections error for "+this.a),PE(a)):xW(TL+(F(),"Flush connections for "+this.a))};_.a=null;
function T8(a){var b=a.a;b.d.zk();b.a.zk();a=a.d;a.d.zk();a.a.zk()}function TNc(a,b,d){d?cOc(a.d,b):cOc(a.a,b)}function dOc(){}v(2395,1125,xu,dOc);_.Ti=function(){this.a=new eOc(this.b,!1);this.d=new eOc(this.b,!0);this.c=new h6((hy(),iy));xO(this.c,wM);yT(this.c,fOc(this.a),ENc);yT(this.c,fOc(this.d),KNc);AT(this.c,0);return this.c};_.a=null;_.b=null;_.c=null;_.d=null;
function fOc(a){var b,d,e,h,j,m;j=new AX;BX(j,new CX((F(),iL),new gOc(a)));a.f=new B0(5);UW(a.f,new vU);a.b=new gU;VT(a.b,a.f);h=new hOc(new sO);d=new iOc(new sO);b=new jOc(new sO);JQ(a.f,h,Yb);JQ(a.f,d,SK);JQ(a.f,b,EK);a.f.W.k.nh(new kOc(a));a.f.db.setAttribute(ur,"margin-top:15px;margin-bottom:0px;");d=a.c?Jt:Ff;b=new lOc(a,d);h=new AX;m=new CX(WL,new mOc(a));e=new CX(enb,new nOc(a));mx(m.db,!0);zO(m,nub);mx(e.db,!0);zO(e,nub);BX(h,m);BX(h,e);mx(h.db,!0);e=new x1(DNc,"Available");e=y(I1,mu,182,
[(e.c=!0,e),v1(new x1(DNc,"Active Count"),e),v1(new x1(GNc,"Max Used"),e)]);yW()?a.d=t1(new u1(S8,Af),e):a.d=B1(A1(new C1(S8,b),e));b=new pY;AR(b,a.f);e=new hS;e.db[Ke]=FM;V(e,a.f);V(e,b);d=new oOc(a,d);b=new x1(HNc,"Current Size");b=y(I1,mu,182,[(b.c=!0,b),v1(new x1(INc,jnb),b),v1(new x1(JNc,"Miss Used"),b)]);yW()?a.a=t1(new u1(S8,Af),b):a.a=B1(A1(new C1(S8,d),b));d=new $N(cO(new ZN,"Datasources runtime utilisation.").a.a.a);a=xY(xY(HY(GY(lXb(jXb(EY(JY(IY(new KY),a.c?KNc:ENc),a.c?"XA Data Source Metrics":
"Data Source Metrics"),d),j),ib,a.f),h),S8,a.d.rc()),"Prepared Statement Cache",a.a.rc());return zY(a)}function cOc(a,b){eU(a.b,b);b.$c()||a.f.W.k.qh(b.ed(0),!0)}function eOc(a,b){this.e=a;this.c=b}v(2396,1,{},eOc);_.a=null;_.b=null;_.c=!1;_.d=null;_.e=null;_.f=null;function gOc(a){this.a=a}v(2397,1,u,gOc);_.zd=function(){XNc(this.a.e,sU(this.a.f.W.k),this.a.c)};_.a=null;function hOc(a){this.c=a}v(2398,571,vJ,hOc);_.kc=function(a){return a.sc()};function iOc(a){this.c=a}v(2399,571,vJ,iOc);_.kc=function(a){return a.Ip()};
function jOc(a){this.c=a}v(2400,571,vJ,jOc);_.kc=function(a){return g+a.mm()};function kOc(a){this.a=a}v(2401,1,u,kOc);_.cg=function(){var a;a=sU(this.a.f.W.k);XNc(this.a.e,a,this.a.c)};_.a=null;function lOc(a,b){this.a=a;this.b=b}v(2402,1,{},lOc);_.fk=function(){var a;a=new G;ZH(I(a,l),s1());T(I(a,l),wr,Jf);T(I(a,l),this.b,sU(this.a.f.W.k).sc());T(I(a,l),NNc,MNc);return a};_.a=null;_.b=null;function mOc(a){this.a=a}v(2403,1,u,mOc);
_.zd=function(){var a=sU(this.a.f.W.k).sc(),b,d;d=this.a.c?Jt:Ff;b=new G;ZH(I(b,l),s1());T(I(b,l),wr,Jf);T(I(b,l),d,a);H(I(b,q),Ttb);K(new LE(b),new aOc(a))};_.a=null;function nOc(a){this.a=a}v(2404,1,u,nOc);_.zd=function(){var a=sU(this.a.f.W.k).sc(),b,d;d=this.a.c?Jt:Ff;b=new G;ZH(I(b,l),s1());T(I(b,l),wr,Jf);T(I(b,l),d,a);H(I(b,q),orb);K(new LE(b),new bOc(a))};_.a=null;function oOc(a,b){this.a=a;this.b=b}v(2405,1,{},oOc);
_.fk=function(){var a;a=new G;ZH(I(a,l),s1());T(I(a,l),wr,Jf);T(I(a,l),this.b,sU(this.a.f.W.k).sc());T(I(a,l),NNc,LNc);return a};_.a=null;_.b=null;function UNc(a,b,d){var e,h;e=s1();xI(wI(e),wr,Jf);h=d?Jt:Ff;d=new G;H(I(d,q),lN);ZH(I(d,l),e);H(I(d,Fe),h);K(new LE(d),new pOc(a,b))}function ZNc(){this.a=new qE(QF)}v(2406,1,{},ZNc);_.a=null;function pOc(a,b){this.a=a;this.b=b}v(2407,1553,{},pOc);
_.pg=function(a){a=OE(a);a.b.uL(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: "+PE(a))):(a=k2(this.a.a,I(a,op).b.kL()),this.b.pg(a))};_.a=null;_.b=null;v(2410,1,nu);_.mc=function(){var a=this.b,b=this.a.a,d;if(!b.c){d=rA(sB(b.a));var e;b.d||(e=new dOc,b.d=e);e=b.d;var h=fva(b),j=(qB(tB(b.a)),vE(kE(b.a)),xE(jE(b.a)),R4(jX(b.a)));$E(iE(b.a));hE(b.a);d=new YNc(d,e,h,j);uA((eE(b.a),d),GA(eE(b.a)));b.c=d}NA(a,b.c)};E(2385);E(2386);E(2387);E(2388);E(2389);E(2390);
E(2391);E(2392);E(2395);E(2406);E(2407);E(2396);E(2397);E(2398);E(2399);E(2400);E(2401);E(2402);E(2403);E(2404);E(2405);pw(eJ)(2);function Dw(a){jv(a.Lb())};