var DKd="background:none",EKd="cssText";function FKd(a,b,d,e){RCb(a,b,d);a=BQ(a,b,d,null==e);null!=e&&dy(a,e)}function GKd(a,b,d){a=$T(a.c,a.a);d=0==b||0==d?0:Gz(bz(Math.round(d/b*100)));0<d?(a.setAttribute(Ar,Kyb+d+ha),a.setAttribute(EKd,Kyb+d+ha)):(a.setAttribute(Ar,DKd),a.setAttribute(EKd,DKd));b=new BP;GP(HR((U(b.a,"\x3cspan style\x3d'padding-right:5px;'\x3e"),b),d+ha),OK);dy(a,(new CP(b.a.a.a)).a)}function HKd(){this.b=gy();this.a=gy()}x(2502,1,{},HKd);
function IKd(){this.c=new wD;vy();this.d=g}x(2673,1,{},IKd);_.a=null;_.e=100;function JKd(a){var b,d;b=s1();yI(xI(b),Cr,Jr);d=new H;I(J(d,on),"engine-statistics");DI(J(d,n),b);FE(new GE(d),new KKd(a))}function LKd(a,b,d,e){MW.call(this,a,b,d,null);this.a=e;this.b=new kE(hF)}x(4577,1006,tu,LKd);_.Ri=function(){this.A.a=this;Qy(this.v,(Rgc(),Sgc),this)};_.Sk=function(){ox((px(),qx),new MKd(this))};_.Wi=function(){this.B&&JKd(this)};_.$i=function(){I1(this.a,this)};function MKd(a){this.a=a}
x(4578,1,{},MKd);_.vd=function(){JKd(this.a)};function KKd(a){this.a=a}x(4579,1293,{},KKd);_.sd=function(a){zD("Failed to retrieve query engine statistics for Teiid",a.$b())};_.eh=function(a){a=JE(a);J(a,pp).b.b!=(L(),M)?(a=XY(this.a.b,J(a,pp)),NKd(this.a.A,a)):NKd(this.a.A,null)};
function NKd(a,b){var d;d=new r1(A(VW,Fu,-1,[cz(b.rI().a),b.sI().a,b.tI().a,b.nI().a,b.pI().a,b.lI().a,b.mI().a,b.oI().a,cz(b.kI().a),cz(b.uI().a),cz(b.qI().a)]));var e=a.b,h,l,p,s,w,z,K,S;S=1;z=0;w=!1;l=e.a;p=0;for(s=l.length;p<s;++p){h=l[p];if(h.c){w=!0;break}++z}h=w?z:-1;if(h>d.a.b)throw new Zw(Iqb+h+$nb+d.a.b);l=yW(0<=h?(new UW(AW(jw(d.a,h)))).a:Ht);s=e.a;w=0;for(z=s.length;w<z;++w){p=s[w];K=S-1;h=jw(d.a,K);if(null==h)throw new Zw(prb+K+Ynb);EQ(e.b,S,1,h);if(p.a&&Bz(l.a,It))GKd(jw(e.c,K),Gz(l.a),
(new dC(TW(h))).a);else if(p.a&&!ez(l.a,It))throw new Zw(Bpb);++S}}function OKd(){}x(4582,1410,Hu,OKd);
_.Bh=function(){var a,b,d,e,h,l,p,s,w,z,K,S,$;S=new v0;x0(S,new w0((G(),"Refresh"),new PKd(this)));z=new tY(oia,"Session Count");w=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");K=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,[z,w,s,e,h,b,d,K,a,$,p]);b=new IKd;b.a=a;vy();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(ot,a.e+ha);FKd(a.b,0,0,"Metric");FKd(a.b,0,1,"Actual");FKd(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],FKd(a.b,p,0,"\x3cdiv class\x3d'metric-table-label'\x3e"+
s.d+":\x3c/div\x3e"),FKd(a.b,p,1,g),pD(a.c,new HKd),s.a?(w=jw(a.c,p-1),z=a.b,K=p,$=new BP,GP($,"\x3cdiv id\x3d'"+w.b+"'\x3e\x3cdiv id\x3d'"+w.a+"'/\x3e\x3c/div\x3e"),w.c=new bU(new CP($.a.a.a)),$=$T(w.c,w.b),lQ($,"stacked-bar-total"),$.setAttribute(Ar,eP),$.setAttribute(EKd,"width:100%!important"),FQ(z,K,2,(l=$T(w.c,w.a),lQ(l,"stacked-bar-actual"),fy(l,g),w.c)),GKd(w,0,0)):EQ(a.b,p,2,g),w=a.b.d,z=p,K=eU,w.a.oe(z,1),w.a.c.rows[z].cells[1][JM]=K.a,s.c&&(s=a.b.f,w=p,$P((s.a.pe(w),B(),DQ(s.a.c,w)),"metric-table-baseline",
!0)),++p;JMb(a.b.d,0,0,"metric-table-header");JMb(a.b.d,0,1,"metric-table-header");JMb(a.b.d,0,2,"metric-table-header");l=a.b.d;l.a.oe(0,2);l.a.c.rows[0].cells[2][ot]=GK;V(b,a.b);l=KZ(S,"Teiid Metrics",b);return LZ(l)};function PKd(a){this.a=a}x(4583,1,v,PKd);_.le=function(){JKd(this.a.a)};x(4739,1,ju);_.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 OKd,b.d=e);d=new LKd(d,b.d,dza(b),(pE(dE(b.a)),rE(bE(b.a)),I4(cY(b.a))));OA((XD(b.a),d),jB(XD(b.a)));b.c=d}qB(a,b.c)};
F(4577);F(4578);F(4579);F(4582);F(4583);F(2673);F(2502);Aw(RJ)(75);