var sKd="background:none",tKd="cssText";function uKd(a,b,d,e){GCb(a,b,d);a=zQ(a,b,d,null==e);null!=e&&dy(a,e)}function vKd(a,b,d){a=cU(a.c,a.a);d=0==b||0==d?0:Fz(az(Math.round(d/b*100)));0<d?(a.setAttribute(LO,Ayb+d+ha),a.setAttribute(tKd,Ayb+d+ha)):(a.setAttribute(LO,sKd),a.setAttribute(tKd,sKd));b=new yP;DP(KR((U(b.a,"\x3cspan style\x3d'padding-right:5px;'\x3e"),b),d+ha),IK);dy(a,(new zP(b.a.a.a)).a)}function wKd(){this.b=ly();this.a=ly()}x(2517,1,{},wKd);
function xKd(){this.c=new AD;sy();this.d=g}x(2688,1,{},xKd);_.a=null;_.e=100;function yKd(a){var b,d;b=w1();zI(yI(b),xr,Er);d=new H;I(J(d,kn),"engine-statistics");EI(J(d,n),b);KE(new LE(d),new zKd(a))}function AKd(a,b,d,e){QW.call(this,a,b,d,null);this.a=e;this.b=new pE(mF)}x(4592,1009,Du,AKd);_.Ri=function(){this.A.a=this;Py(this.v,(rgc(),sgc),this)};_.Uk=function(){ox((px(),qx),new BKd(this))};_.Wi=function(){this.B&&yKd(this)};_.$i=function(){K1(this.a,this)};function BKd(a){this.a=a}
x(4593,1,{},BKd);_.sd=function(){yKd(this.a)};function zKd(a){this.a=a}x(4594,1296,{},zKd);_.pd=function(a){DD("Failed to retrieve query engine statistics for Teiid",a._b())};_.eh=function(a){a=OE(a);J(a,hp).b.b!=(K(),L)?(a=aZ(this.a.b,J(a,hp)),CKd(this.a.A,a)):CKd(this.a.A,null)};
function CKd(a,b){var d;d=new v1(A(ZW,Bu,-1,[bz(b.tI().a),b.uI().a,b.vI().a,b.pI().a,b.rI().a,b.nI().a,b.oI().a,b.qI().a,bz(b.mI().a),bz(b.wI().a),bz(b.sI().a)]));var e=a.b,h,l,p,s,w,y,N,S;S=1;y=0;w=!1;l=e.a;p=0;for(s=l.length;p<s;++p){h=l[p];if(h.c){w=!0;break}++y}h=w?y:-1;if(h>d.a.b)throw new dx(wqb+h+Onb+d.a.b);l=CW(0<=h?(new YW(EW(iw(d.a,h)))).a:Qt);s=e.a;w=0;for(y=s.length;w<y;++w){p=s[w];N=S-1;h=iw(d.a,N);if(null==h)throw new dx(drb+N+Mnb);CQ(e.b,S,1,h);if(p.a&&Az(l.a,St))vKd(iw(e.c,N),Fz(l.a),
(new dC(XW(h))).a);else if(p.a&&!dz(l.a,St))throw new dx(ppb);++S}}function DKd(){}x(4597,1413,pu,DKd);
_.Bh=function(){var a,b,d,e,h,l,p,s,w,y,N,S,Z;S=new z0;B0(S,new A0((G(),"Refresh"),new EKd(this)));y=new xY(kia,"Session Count");w=new xY(Uia,"Memory in Use(KB)");s=new xY(Tia,"Memory Used By Active Plans(KB)");e=new xY(Pea,"Buffer Disk Reads");h=new xY(Qea,"Buffer Disk Writes");b=new xY(Nea,"Buffer Cache Reads");d=new xY(Oea,"Buffer Cache Writes");N=new xY(Rea,"Disk Space In Use(MB)");a=new xY(uea,"Active Plan Count");Z=new xY(Sja,"Waiting Plan Count");p=new xY(Qga,"Maximum Plans Waiting Water Mark");
a=A(yY,tu,196,[y,w,s,e,h,b,d,N,a,Z,p]);b=new xKd;b.a=a;sy();b.e=100;this.b=b;a=RZ(UZ(new VZ,gM),"Teiid Metrics");a.i=S;S=QZ(a,"Metrics for teiid subsystem");a=this.b;b=new HT;(B(),b.gb).className=eN;V(b,new aU("\x3cdiv class\x3d'metric-table-title'\x3e"+a.d+EK));a.b=new EQ;XP(a.b).setAttribute(jt,a.e+ha);uKd(a.b,0,0,"Metric");uKd(a.b,0,1,"Actual");uKd(a.b,0,2,ka);d=a.b.d;e=(fU(),hU);d.a.le(0,1);d.a.c.rows[0].cells[1][DM]=e.a;p=1;d=a.a;e=0;for(h=d.length;e<h;++e)s=d[e],uKd(a.b,p,0,"\x3cdiv class\x3d'metric-table-label'\x3e"+
s.d+":\x3c/div\x3e"),uKd(a.b,p,1,g),wD(a.c,new wKd),s.a?(w=iw(a.c,p-1),y=a.b,N=p,Z=new yP,DP(Z,"\x3cdiv id\x3d'"+w.b+"'\x3e\x3cdiv id\x3d'"+w.a+"'/\x3e\x3c/div\x3e"),w.c=new eU(new zP(Z.a.a.a)),Z=cU(w.c,w.b),iQ(Z,"stacked-bar-total"),Z.setAttribute(LO,bP),Z.setAttribute(tKd,"width:100%!important"),DQ(y,N,2,(l=cU(w.c,w.a),iQ(l,"stacked-bar-actual"),fy(l,g),w.c)),vKd(w,0,0)):CQ(a.b,p,2,g),w=a.b.d,y=p,N=hU,w.a.le(y,1),w.a.c.rows[y].cells[1][DM]=N.a,s.c&&(s=a.b.f,w=p,WP((s.a.me(w),B(),BQ(s.a.c,w)),"metric-table-baseline",
!0)),++p;hMb(a.b.d,0,0,"metric-table-header");hMb(a.b.d,0,1,"metric-table-header");hMb(a.b.d,0,2,"metric-table-header");l=a.b.d;l.a.le(0,2);l.a.c.rows[0].cells[2][jt]=AK;V(b,a.b);l=OZ(S,"Teiid Metrics",b);return PZ(l)};function EKd(a){this.a=a}x(4598,1,v,EKd);_.ie=function(){yKd(this.a.a)};x(4754,1,nu);_.qd=function(){var a=this.b,b=this.a.a,d;if(!b.c){d=VA(EB(b.a));var e;b.d||(e=new DKd,b.d=e);d=new AKd(d,b.d,Zya(b),(uE(iE(b.a)),wE(gE(b.a)),M4(gY(b.a))));ZA((bE(b.a),d),jB(bE(b.a)));b.c=d}qB(a,b.c)};
F(4592);F(4593);F(4594);F(4597);F(4598);F(2688);F(2517);Mw(NJ)(76);