function Ajf(){}
function hjf(a){this.a=a}
function kjf(a){this.a=a}
function Ijf(a){this.a=a}
function Vif(a){this.a=a}
function Tif(a){this.b=a}
function yjf(a){this.b=a}
function Pjf(){this.b=false}
function ujf(){aYd.call(this)}
function Cjf(){$dd.call(this)}
function Ejf(){$dd.call(this)}
function Gjf(a){ybd.call(this,a)}
function Kjf(a){ybd.call(this,a)}
function ejf(a,b){this.a=a;this.b=b}
function Mjf(a,b){this.a=a;this.b=b}
function Yjf(a,b){dCd(a.a).Yq(b)}
function Zjf(a,b){dCd(a.a).$q(b)}
function ddf(a,b){fVd(a.a,b)}
function rjf(a,b){a.f=b;xjf(a.c,b)}
function xjf(a,b){Uwd(a.a,b);Hpg(a.c)}
function ref(a,b){$df.call(this,(hef(),fef),b);this.b=a}
function fkf(a){var b;if(!a.d){b=new ujf;a.d=b}return a.d}
function Qif(a){pdf(a.j);pdf(a.c);pdf(a.d);Mld(a.f,t$j);pdf(a.e);pdf(a.a)}
function Sif(a,b){ndf(a.j,b.f);ndf(a.c,b.d);ndf(a.d,b.c);Mld(a.f,t$j+rf(b.c.a,2));ndf(a.e,b.e);ndf(a.a,b.a)}
function tjf(a,b){b.b?Sif(a.a,b):UWd('Metric not enabled on '+(PWd(),a.b[0]))}
function Rif(a,b){a.i=b;Ild(a.g,'Persistence Unit Metrics: '+b[0]+Lxj+b[1])}
function Ojf(a,b,d,e,g){this.f=a;this.d=b;this.c=d;this.e=e;this.a=g;this.b=true}
function _if(a,b,d,e,g,i,j){H7d.call(this,a,b,d,e);this.d=g;this.c=j;this.b=i;this.a=new FZi(rsb)}
function sjf(a,b){var d,e;a.b=b;if(null==b)S$i(a.d,0);else{Rif(a.a,b);if(a.f){for(e=a.f.oc();e.gc();){d=e.hc();if(VNd(d.Wq(),b[1])){break}}}Xif(a.e,b);S$i(a.d,1)}}
function jjf(a,b){var d;d=Lkj(b);if(d.b.$M(HDj)&&S4i(d,HDj).b.b!=(mjj(),ljj)&&!VNd(S4i(d,HDj).b.bf(),IDj)){VWd(hZj+(PWd(),B$j),U4i(d))}else{WWd(iZj+(PWd(),B$j));$if(a.a,false)}}
function ekf(a){var b;if(!a.c){b=new _if(WDd(Iae(a.a)),fkf(a),dkf(a),(elj(oce(a.a)),hmj(qce(a.a))),(r$i(mce(a.a)),uKg(Cbe(a.a))),D5e(ibe(a.a)),qHd(Kae(a.a)));gEd((Jae(a.a),b),dFd(Jae(a.a)));a.c=b}return a.c}
function djf(a,b){var d,e,g,i,j;d=Lkj(b);if(d.b.$M(HDj)&&S4i(d,HDj).b.b!=(mjj(),ljj)&&!VNd(S4i(d,HDj).b.bf(),IDj)){dd((bYj+(PWd(),'JPA Deployments'),U4i(d)))}else{g=new us;e=S4i(d,tDj);i=S4i(e,y$j);j=S4i(e,z$j);Zif(a.a,i,g);Zif(a.a,j,g);rjf(a.a.A,g)}a.b&&sjf(a.a.A,a.a.e)}
function Xif(a,b){var d,e;d=new p5i;f5i(S4i(d,mDj),jdf());if(b[0].indexOf(Nxj)!=-1){e=fOd(b[0],Nxj,0);K4i(S4i(d,mDj),TIj,e[0]);K4i(S4i(d,mDj),u$j,e[1])}else{K4i(S4i(d,mDj),TIj,b[0])}K4i(S4i(d,mDj),BEj,DBj);K4i(S4i(d,mDj),v$j,b[0]+Lxj+b[1]);a5i(S4i(d,kDj),YXj);i5i(S4i(d,ZXj),true);Rkj(new hkj(d),new hjf(a))}
function Yif(a,b,d){var e,g,i;e=new p5i;f5i(S4i(e,mDj),jdf());if(b.Vq().indexOf(Nxj)!=-1){i=fOd(b.Vq(),Nxj,0);K4i(S4i(e,mDj),TIj,i[0]);K4i(S4i(e,mDj),u$j,i[1])}else{K4i(S4i(e,mDj),TIj,b.Vq())}K4i(S4i(e,mDj),BEj,DBj);K4i(S4i(e,mDj),v$j,b.Vq()+Lxj+b.Wq());g=uZi(a.a,d,e,AL(C0c,puj,280,[]));Rkj(new hkj(g),new kjf(a))}
function Zif(a,b,d){var e,g,i,j,k,n,o,p,q,r,s,t;j=S4i(b,tDj).b.QM();for(g=j.oc();g.gc();){e=g.hc();i=S4i(e,tDj).b.SM();if(i.b.$M(v$j)&&S4i(i,v$j).b.b!=(mjj(),ljj)){t=S4i(i,v$j).b.UM();for(r=t.oc();r.gc();){q=r.hc();n=(new Sjf(a.b)).a;s=q.b;o=q.a;p=fOd(o,Lxj,0);Yjf(n,p[0]);Zjf(n,p[1]);k=s.b.$M(GEj)&&S4i(s,GEj).b.b!=(mjj(),ljj)&&S4i(s,GEj).b.LM();dCd(n.a).Zq(k);SLd();d.a[d.b++]=n}}}}
function $if(a,b){var d,e,g,i;Qif(a.A.a);rjf(a.A,(SSd(),PSd));sjf(a.A,null);e=new p5i;S4i(e,mDj).b=new Sij;a5i(S4i(e,kDj),lDj);g=new us;d=new p5i;a5i(S4i(d,kDj),YXj);f5i(S4i(d,mDj),jdf());K4i(S4i(d,mDj),TIj,Yzj);K4i(S4i(d,mDj),BEj,DBj);i5i(S4i(d,ZXj),true);i5i(S4i(d,BXj),true);i=new p5i;a5i(S4i(i,kDj),YXj);f5i(S4i(i,mDj),jdf());K4i(S4i(i,mDj),TIj,Yzj);K4i(S4i(i,mDj),u$j,Yzj);K4i(S4i(i,mDj),BEj,DBj);i5i(S4i(i,ZXj),true);i5i(S4i(i,BXj),true);g.a[g.b++]=d;g.a[g.b++]=i;e5i(S4i(e,sDj),g);Rkj(new hkj(e),new ejf(a,b))}
function gjf(a,b){var d,e,g,i,j,k,n,o;k=Lkj(b);if(k.b.$M(HDj)&&S4i(k,HDj).b.b!=(mjj(),ljj)&&!VNd(S4i(k,HDj).b.bf(),IDj)){VWd(bYj+(PWd(),A$j),U4i(k))}else{g=S4i(k,tDj).b.SM();e=S4i(g,GEj).b.LM();if(e){o=new fdf(AL(N$c,zuj,-1,[S4i(g,c$j).b.RM(),S4i(g,d$j).b.RM()]));j=new fdf(AL(N$c,zuj,-1,[S4i(g,j$j).b.RM(),S4i(g,k$j).b.RM()]));ddf(j,S4i(g,'query-execution-max-time-query-string').b.bf());i=new fdf(AL(N$c,zuj,-1,[S4i(g,f$j).b.RM(),S4i(g,h$j).b.RM(),S4i(g,i$j).b.RM()]));n=new fdf(AL(N$c,zuj,-1,[S4i(g,l$j).b.RM(),S4i(g,m$j).b.RM(),S4i(g,n$j).b.RM()]));d=new fdf(AL(N$c,zuj,-1,[S4i(g,p$j).b.RM(),S4i(g,q$j).b.RM(),S4i(g,'connect-count').b.RM()]));tjf(a.a.A,new Ojf(o,i,j,n,d))}else{tjf(a.a.A,new Pjf)}}}
function wjf(a){var b,d,e,g,i,j,k,n,o,p,q,r;a.c=new Lpg(8,new Ajf);n=new Cjf;r=new Ejf;q=new Gjf(new ln);o=new Kjf(new __i((PWd(),GZj),new Ijf(a)));O5c(a.c,r,D$j);O5c(a.c,n,E$j);O5c(a.c,q,F$j);O5c(a.c,o,HZj);Jpg(a.c,new ayd);a.a=new Vwd;kwd(a.a,a.c);e=new BZf(rsb);e.k=false;!!e.f&&N_d(e);b=new Qej(wOj,E$j);p=new Qej(G$j,'Unit');d=new IVf(oWj,F$j);K_d(e,xDj,AL(A0c,gwj,261,[b,p,d]));j=new iYd('metric-enabled: Wether or nor statistics should be collected for a persistence unit.');D_d(e,a.c);i=new YZi(e,new Mjf(a,e));g=new gvd;dvd(g,WZi(i));dvd(g,gYd(j));dvd(g,E_d(e));k=lAe(tAe(oAe(rAe(xAe(wAe(new zAe),A$j),'Persistence Units'),'Available persistence units. You may need to enable statistics per deployment in order view the metrics.'),'Available Persistence Units',a.c),D$j,g);return mAe(k)}
function Pif(a){var b,d,e,g,i,j,k,n,o,p,q,r,s,t,u,v;u=new lef(c$j,'Completed');b=AL(d0c,puj,195,[(u.c=true,u),Zdf(new lef(d$j,'Successful'),u)]);PWd();a.j=wdf(new xdf(e$j,tYj),b);j=new lef(f$j,g$j);i=AL(d0c,puj,195,[(j.c=true,j),Zdf(new lef(h$j,vYj),j),Zdf(new lef(i$j,wYj),j)]);a.c=wdf(new ydf('Query Cache',tYj,false),i);n=new lef(j$j,'Execution Count');k=AL(d0c,puj,195,[n,new lef(k$j,'Max Time')]);a.d=wdf(new ydf('Query Execution',tYj,false),k);r=new lef(l$j,g$j);q=AL(d0c,puj,195,[(r.c=true,r),Zdf(new lef(m$j,vYj),r),Zdf(new ref(n$j,wYj),r)]);a.e=wdf(new xdf(o$j,tYj),q);t=new lef(p$j,'Sessions opened');d=AL(d0c,puj,195,[(t.c=true,t),Zdf(new ref(q$j,'Closed'),t)]);a.a=wdf(new xdf(r$j,tYj),d);a.g=new Nld;Vq(a.g,EZj);e=new gvd;Ty((ped(),e.gb),uYj);dvd(e,odf(a.a));v=new gvd;Ty(v.gb,uYj);dvd(v,odf(a.j));o=new gvd;Ty(o.gb,uYj);a.f=new Nld;Vq(a.f,s$j);Sy(Jq(a.f),cyj,'padding:5px');dvd(o,odf(a.d));dvd(o,odf(a.c));s=new gvd;Ty(s.gb,uYj);dvd(s,odf(a.e));p=new Qld(yYj);Ty(p.gb,zYj);p.gb.style[ozj]=(cC(),xzj);p.gb.style[tzj]=-65+($C(),_xj);p.gb.style[AYj]=BYj;wA(p.gb.style,UA());p.gb.style[szj]=CYj;p.uh(new Vif(a));g=QAe(QAe(QAe(QAe(QAe(TAe(VAe(WAe(new ZAe),a.g),'Runtime information about Hibernate use in the deployment.'),Xwj,p),r$j,e),e$j,v),'Queries',o),o$j,s);return RAe(g)}
var t$j='<b>Max Time Query<\/b>: ',B$j='JPA Deployment',F$j='Metrics Enabled?',g$j='Put Count',o$j='Second Level Cache',c$j='completed-transaction-count',w$j='dpl',h$j='query-cache-hit-count',i$j='query-cache-miss-count',f$j='query-cache-put-count',j$j='query-execution-count',k$j='query-execution-max-time',m$j='second-level-cache-hit-count',n$j='second-level-cache-miss-count',l$j='second-level-cache-put-count',q$j='session-close-count',p$j='session-open-count',d$j='successful-transaction-count';S1c(2502,2498,vwj,ref);S1c(2581,1,{},Tif);S1c(2582,1,Luj,Vif);_.le=function(a){Xif(this.a.b,this.a.i)};S1c(2583,1391,yvj,_if);_.Ti=function(){this.A.e=this;G7d(this,oxh(lce((PWd(),NWd).a)))};_.Yi=function(){this.B&&$if(this,true)};_._i=function(a){var b;b=tHd(a,w$j,null);b!=null?(this.e=AL(J_c,xuj,1,[b,tHd(a,x$j,null)])):(this.e=null)};_.aj=function(){Ttf(this.d,this)};S1c(2585,1644,{},ejf);_.eh=function(a){djf(this,a)};_.b=false;S1c(2586,1644,{},hjf);_.eh=function(a){gjf(this,a)};S1c(2587,1644,{},kjf);_.eh=function(a){jjf(this,a)};S1c(2590,1198,fwj,ujf);_.Bh=function(){var a,b,d;this.d=new T$i;this.c=new yjf(this.e);this.a=new Tif(this.e);Q$i(this.d,(PWd(),kZj),wjf(this.c));Q$i(this.d,'Basic Metrics',Pif(this.a));S$i(this.d,0);a=new wnd;d=new $fj(C$j);mnd(a,d,a.n.c);b=R$i(this.d);mnd(a,b,a.n.c);und(a,d,0,($C(),ZC),40,ZC);und(a,b,40,ZC,100,XC);return a};S1c(2591,1,{},yjf);S1c(2592,1,{},Ajf);_.di=function(a){return a.Vq()+GYj+a.Wq()};S1c(2593,661,fvj,Cjf);_.qd=function(a){return a.Vq()};S1c(2594,661,fvj,Ejf);_.qd=function(a){return a.Wq()};S1c(2595,629,fvj,Gjf);_.qd=function(a){var b;return a.Xq()?(b=(ufj(),ofj)):(b=(tfj(),nfj)),b};S1c(2596,1,{},Ijf);_.ld=function(a){bGd(this.a.b.c,vHd(vHd(new wHd(_Aj),w$j,a.Vq()),x$j,a.Wq()),true)};S1c(2597,629,fvj,Kjf);_.qd=function(a){return a};S1c(2598,1,{},Mjf);_.Gk=function(a){Yif(this.a.b,this.b.c,a)};S1c(2599,1,{},Ojf,Pjf);_.b=false;S1c(2601,1,{});_.Yq=function(a){Yjf(this,a)};_.$q=function(a){Zjf(this,a)};S1c(2602,1,{});_.Yq=function(a){eCd(this.a,wOj,a)};_.$q=function(a){eCd(this.a,G$j,a)};S1c(2605,1,ewj);_.td=function(){EFd(this.b,ekf(this.a.a))};var dsb=xMd(2583),$rb=xMd(2585),_rb=xMd(2586),asb=xMd(2587),esb=xMd(2590),msb=xMd(2591),fsb=xMd(2592),gsb=xMd(2593),hsb=xMd(2594),isb=xMd(2595),jsb=xMd(2596),ksb=xMd(2597),lsb=xMd(2598),Yrb=xMd(2581),Xrb=xMd(2582),xqb=xMd(2502),nsb=xMd(2599);Swj(yo)(6);