var EKd="background:none",FKd="cssText";function GKd(a,b,d,e){RCb(a,b,d);a=BQ(a,b,d,null==e);null!=e&&$x(a,e)}function HKd(a,b,d){a=$T(a.c,a.a);d=0==b||0==d?0:Ez($y(Math.round(d/b*100)));0<d?(a.setAttribute(Br,Kyb+d+ha),a.setAttribute(FKd,Kyb+d+ha)):(a.setAttribute(Br,EKd),a.setAttribute(FKd,EKd));b=new BP;GP(GR((U(b.a,"\x3cspan style\x3d'padding-right:5px;'\x3e"),b),d+ha),OK);$x(a,(new CP(b.a.a.a)).a)}function IKd(){this.b=cy();this.a=cy()}w(2502,1,{},IKd);
function JKd(){this.c=new vD;ty();this.d=g}w(2673,1,{},JKd);_.a=null;_.e=100;function KKd(a){var b,d;b=s1();zI(yI(b),Dr,Kr);d=new H;I(J(d,nn),"engine-statistics");EI(J(d,n),b);GE(new HE(d),new LKd(a))}function MKd(a,b,d,e){NW.call(this,a,b,d,null);this.a=e;this.b=new lE(iF)}w(4577,1006,tu,MKd);_.Ri=function(){this.A.a=this;Oy(this.v,(Rgc(),Sgc),this)};_.Sk=function(){kx((lx(),mx),new NKd(this))};_.Wi=function(){this.B&&KKd(this)};_.$i=function(){I1(this.a,this)};function NKd(a){this.a=a}
w(4578,1,{},NKd);_.vd=function(){KKd(this.a)};function LKd(a){this.a=a}w(4579,1293,{},LKd);_.sd=function(a){AD("Failed to retrieve query engine statistics for Teiid",a.$b())};_.eh=function(a){a=KE(a);J(a,qp).b.b!=(K(),L)?(a=XY(this.a.b,J(a,qp)),OKd(this.a.A,a)):OKd(this.a.A,null)};
function OKd(a,b){var d;d=new r1(A(WW,Fu,-1,[az(b.rI().a),b.sI().a,b.tI().a,b.nI().a,b.pI().a,b.lI().a,b.mI().a,b.oI().a,az(b.kI().a),az(b.uI().a),az(b.qI().a)]));var e=a.b,h,l,p,s,x,y,M,S;S=1;y=0;x=!1;l=e.a;p=0;for(s=l.length;p<s;++p){h=l[p];if(h.c){x=!0;break}++y}h=x?y:-1;if(h>d.a.b)throw new Vw(Iqb+h+$nb+d.a.b);l=zW(0<=h?(new VW(BW(iw(d.a,h)))).a:Jt);s=e.a;x=0;for(y=s.length;x<y;++x){p=s[x];M=S-1;h=iw(d.a,M);if(null==h)throw new Vw(prb+M+Ynb);EQ(e.b,S,1,h);if(p.a&&zz(l.a,Kt))HKd(iw(e.c,M),Ez(l.a),
(new dC(UW(h))).a);else if(p.a&&!cz(l.a,Kt))throw new Vw(Bpb);++S}}function PKd(){}w(4582,1410,Hu,PKd);
_.Bh=function(){var a,b,d,e,h,l,p,s,x,y,M,S,$;S=new v0;x0(S,new w0((G(),"Refresh"),new QKd(this)));y=new tY(oia,"Session Count");x=new tY(Yia,"Memory in Use(KB)");s=new tY(Xia,"Memory Used By Active Plans(KB)");e=new tY(Rea,"Buffer Disk Reads");h=new tY(Sea,"Buffer Disk Writes");b=new tY(Pea,"Buffer Cache Reads");d=new tY(Qea,"Buffer Cache Writes");M=new tY(Tea,"Disk Space In Use(MB)");a=new tY(wea,"Active Plan Count");$=new tY(Uja,"Waiting Plan Count");p=new tY(Uga,"Maximum Plans Waiting Water Mark");
a=A(uY,Bu,195,[y,x,s,e,h,b,d,M,a,$,p]);b=new JKd;b.a=a;ty();b.e=100;this.b=b;a=NZ(QZ(new RZ,mM),"Teiid Metrics");a.i=S;S=MZ(a,"Metrics for teiid subsystem");a=this.b;b=new ET;(B(),b.gb).className=kN;V(b,new YT("\x3cdiv class\x3d'metric-table-title'\x3e"+a.d+KK));a.b=new GQ;aQ(a.b).setAttribute(qt,a.e+ha);GKd(a.b,0,0,"Metric");GKd(a.b,0,1,"Actual");GKd(a.b,0,2,ka);d=a.b.d;e=(cU(),eU);d.a.oe(0,1);d.a.c.rows[0].cells[1][JM]=e.a;p=1;d=a.a;e=0;for(h=d.length;e<h;++e)s=d[e],GKd(a.b,p,0,"\x3cdiv class\x3d'metric-table-label'\x3e"+
s.d+":\x3c/div\x3e"),GKd(a.b,p,1,g),pD(a.c,new IKd),s.a?(x=iw(a.c,p-1),y=a.b,M=p,$=new BP,GP($,"\x3cdiv id\x3d'"+x.b+"'\x3e\x3cdiv id\x3d'"+x.a+"'/\x3e\x3c/div\x3e"),x.c=new bU(new CP($.a.a.a)),$=$T(x.c,x.b),lQ($,"stacked-bar-total"),$.setAttribute(Br,eP),$.setAttribute(FKd,"width:100%!important"),FQ(y,M,2,(l=$T(x.c,x.a),lQ(l,"stacked-bar-actual"),by(l,g),x.c)),HKd(x,0,0)):EQ(a.b,p,2,g),x=a.b.d,y=p,M=eU,x.a.oe(y,1),x.a.c.rows[y].cells[1][JM]=M.a,s.c&&(s=a.b.f,x=p,$P((s.a.pe(x),B(),DQ(s.a.c,x)),"metric-table-baseline",
!0)),++p;KMb(a.b.d,0,0,"metric-table-header");KMb(a.b.d,0,1,"metric-table-header");KMb(a.b.d,0,2,"metric-table-header");l=a.b.d;l.a.oe(0,2);l.a.c.rows[0].cells[2][qt]=GK;V(b,a.b);l=KZ(S,"Teiid Metrics",b);return LZ(l)};function QKd(a){this.a=a}w(4583,1,v,QKd);_.le=function(){KKd(this.a.a)};w(4741,1,iu);_.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 PKd,b.d=e);d=new MKd(d,b.d,dza(b),(qE(eE(b.a)),sE(cE(b.a)),I4(cY(b.a))));LA((YD(b.a),d),jB(YD(b.a)));b.c=d}qB(a,b.c)};
F(4577);F(4578);F(4579);F(4582);F(4583);F(2673);F(2502);zw(RJ)(75);