function Zjf(){}
function qjf(a){this.b=a}
function Xjf(a){this.b=a}
function sjf(a){this.a=a}
function Gjf(a){this.a=a}
function Jjf(a){this.a=a}
function fkf(a){this.a=a}
function mkf(){this.b=false}
function bkf(){vfd.call(this)}
function _jf(){vfd.call(this)}
function Tjf(){cZd.call(this)}
function dkf(a){Ucd.call(this,a)}
function hkf(a){Ucd.call(this,a)}
function jkf(a,b){this.a=a;this.b=b}
function Djf(a,b){this.a=a;this.b=b}
function Qjf(a,b){a.f=b;Wjf(a.c,b)}
function Cdf(a,b){fWd(a.a,b)}
function wkf(a,b){ZCd(a.a).Xq(b)}
function xkf(a,b){ZCd(a.a).Zq(b)}
function Wjf(a,b){Sxd(a.a,b);yqg(a.c)}
function Qef(a,b){xef.call(this,(Gef(),Eef),b);this.b=a}
function Fkf(a){var b;if(!a.d){b=new Tjf;a.d=b}return a.d}
function njf(a){Odf(a.j);Odf(a.c);Odf(a.d);$md(a.f,x1j);Odf(a.e);Odf(a.a)}
function pjf(a,b){Mdf(a.j,b.f);Mdf(a.c,b.d);Mdf(a.d,b.c);$md(a.f,x1j+$f(b.c.a,2));Mdf(a.e,b.e);Mdf(a.a,b.a)}
function Sjf(a,b){b.b?pjf(a.a,b):UXd('Metric not enabled on '+(PXd(),a.b[0]))}
function lkf(a,b,d,e,g){this.f=a;this.d=b;this.c=d;this.e=e;this.a=g;this.b=true}
function yjf(a,b,d,e,g,i,j){J8d.call(this,a,b,d,e);this.d=g;this.c=j;this.b=i;this.a=new g0i(Rsb)}
function ojf(a,b){var d;a.i=b;d=(QMd(),VOd(CAj,b[2])?PMd:OMd).a?b[1]:b[0]+uAj+b[1];Wmd(a.g,'Persistence Unit Metrics: '+d)}
function Rjf(a,b){var d,e;a.b=b;if(null==b)t1i(a.d,0);else{ojf(a.a,b);if(a.f){for(e=a.f.oc();e.gc();){d=e.hc();if(UOd(d.Tq(),b[1])){break}}}ujf(a.e,b);t1i(a.d,1)}}
function Ijf(a,b){var d;d=gnj(b);if(d.b.gN(BGj)&&r7i(d,BGj).b.b!=(Jlj(),Ilj)&&!UOd(r7i(d,BGj).b.Ze(),CGj)){VXd(j0j+(PXd(),G1j),t7i(d))}else{WXd(k0j+(PXd(),G1j));xjf(a.a,false)}}
function Ekf(a){var b;if(!a.c){b=new yjf(QEd(Nbe(a.a)),Fkf(a),Dkf(a),(Qnj(sde(a.a)),Toj(ude(a.a))),(U0i(qde(a.a)),lLg(Gce(a.a))),a6e(mce(a.a)),oId(Pbe(a.a)));aFd((Obe(a.a),b),ZFd(Obe(a.a)));a.c=b}return a.c}
function Cjf(a,b){var d,e,g,i,j;d=gnj(b);if(d.b.gN(BGj)&&r7i(d,BGj).b.b!=(Jlj(),Ilj)&&!UOd(r7i(d,BGj).b.Ze(),CGj)){Wc((d_j+(PXd(),'JPA Deployments'),t7i(d)))}else{g=new Xs;e=r7i(d,nGj);i=r7i(e,D1j);j=r7i(e,E1j);wjf(a.a,i,g);wjf(a.a,j,g);Qjf(a.a.A,g)}a.b&&Rjf(a.a.A,a.a.e)}
function ujf(a,b){var d,e,g;d=new P7i;F7i(r7i(d,gGj),Idf());if(b[0].indexOf(wAj)!=-1){e=ePd(b[0],wAj,0);k7i(r7i(d,gGj),_Lj,e[0]);k7i(r7i(d,gGj),y1j,e[1])}else{k7i(r7i(d,gGj),_Lj,b[0])}k7i(r7i(d,gGj),vHj,AFj);g=(QMd(),VOd(CAj,b[2])?PMd:OMd).a?b[1]:b[0]+uAj+b[1];k7i(r7i(d,gGj),z1j,g);A7i(r7i(d,eGj),$$j);I7i(r7i(d,_$j),true);mnj(new Fmj(d),new Gjf(a))}
function vjf(a,b,d){var e,g,i,j,k;e=new P7i;F7i(r7i(e,gGj),Idf());g=b.Sq();if(b.Uq()){k=b.Tq();k7i(r7i(e,gGj),_Lj,b.Sq())}else{if(g.indexOf(wAj)!=-1){j=ePd(g,wAj,0);k7i(r7i(e,gGj),_Lj,j[0]);k7i(r7i(e,gGj),y1j,j[1])}else{k7i(r7i(e,gGj),_Lj,g)}k=g+uAj+b.Tq()}k7i(r7i(e,gGj),vHj,AFj);k7i(r7i(e,gGj),z1j,k);i=X_i(a.a,d,e,$L(R1c,axj,281,[]));mnj(new Fmj(i),new Jjf(a))}
function xjf(a,b){var d,e,g,i;njf(a.A.a);Qjf(a.A,(STd(),PTd));Rjf(a.A,null);e=new P7i;r7i(e,gGj).b=new nlj;A7i(r7i(e,eGj),fGj);g=new Xs;d=new P7i;A7i(r7i(d,eGj),$$j);F7i(r7i(d,gGj),Idf());k7i(r7i(d,gGj),_Lj,HCj);k7i(r7i(d,gGj),vHj,AFj);I7i(r7i(d,_$j),true);I7i(r7i(d,z$j),true);i=new P7i;A7i(r7i(i,eGj),$$j);F7i(r7i(i,gGj),Idf());k7i(r7i(i,gGj),_Lj,HCj);k7i(r7i(i,gGj),y1j,HCj);k7i(r7i(i,gGj),vHj,AFj);I7i(r7i(i,_$j),true);I7i(r7i(i,z$j),true);g.a[g.b++]=d;g.a[g.b++]=i;E7i(r7i(e,mGj),g);mnj(new Fmj(e),new Djf(a,b))}
function wjf(a,b,d){var e,g,i,j,k,n,o,p,q,r,s,t,u,v;k=r7i(b,nGj).b.ZM();for(g=k.oc();g.gc();){e=g.hc();i=r7i(r7i(e,gGj).b._M(),_Lj).b.Ze();j=r7i(e,nGj).b._M();if(j.b.gN(z1j)&&r7i(j,z1j).b.b!=(Jlj(),Ilj)){v=r7i(j,z1j).b.bN();for(t=v.oc();t.gc();){s=t.hc();o=(new pkf(a.b)).a;u=s.b;q=s.a;r=ePd(q,uAj,0);p=q.indexOf(i)==-1;if(r.length>1&&!p){wkf(o,r[0]);xkf(o,r[1])}else{ZCd(o.a).Wq(true);QMd();ZCd(o.a).Xq(i);ZCd(o.a).Zq(q)}n=u.b.gN(AHj)&&r7i(u,AHj).b.b!=(Jlj(),Ilj)&&r7i(u,AHj).b.UM();ZCd(o.a).Yq(n);QMd();d.a[d.b++]=o}}}}
function Fjf(a,b){var d,e,g,i,j,k,n,o;k=gnj(b);if(k.b.gN(BGj)&&r7i(k,BGj).b.b!=(Jlj(),Ilj)&&!UOd(r7i(k,BGj).b.Ze(),CGj)){VXd(d_j+(PXd(),F1j),t7i(k))}else{g=r7i(k,nGj).b._M();e=r7i(g,AHj).b.UM();if(e){o=new Edf($L(a0c,_wj,-1,[r7i(g,g1j).b.$M(),r7i(g,h1j).b.$M()]));j=new Edf($L(a0c,_wj,-1,[r7i(g,n1j).b.$M(),r7i(g,o1j).b.$M()]));Cdf(j,r7i(g,'query-execution-max-time-query-string').b.Ze());i=new Edf($L(a0c,_wj,-1,[r7i(g,j1j).b.$M(),r7i(g,l1j).b.$M(),r7i(g,m1j).b.$M()]));n=new Edf($L(a0c,_wj,-1,[r7i(g,p1j).b.$M(),r7i(g,q1j).b.$M(),r7i(g,r1j).b.$M()]));d=new Edf($L(a0c,_wj,-1,[r7i(g,t1j).b.$M(),r7i(g,u1j).b.$M(),r7i(g,'connect-count').b.$M()]));Sjf(a.a.A,new lkf(o,i,j,n,d))}else{Sjf(a.a.A,new mkf)}}}
function Vjf(a){var b,d,e,g,i,j,k,n,o,p,q,r;a.c=new Cqg(8,new Zjf);n=new _jf;r=new bkf;q=new dkf(new On);o=new hkf(new C2i((PXd(),I0j),new fkf(a)));g7c(a.c,r,I1j);g7c(a.c,n,J1j);g7c(a.c,q,K1j);g7c(a.c,o,J0j);Aqg(a.c,new $yd);a.a=new Txd;ixd(a.a,a.c);e=new a$f(Rsb);e.k=false;!!e.f&&P0d(e);b=new ohj(CRj,J1j);p=new ohj(L1j,'Unit');d=new hWf(jZj,K1j);M0d(e,rGj,$L(P1c,Qyj,262,[b,p,d]));j=new kZd('metric-enabled: Wether or nor statistics should be collected for a persistence unit.');F0d(e,a.c);i=new z0i(e,new jkf(a,e));g=new rwd;owd(g,x0i(i));owd(g,iZd(j));owd(g,G0d(e));k=LAe(TAe(OAe(RAe(XAe(WAe(new ZAe),F1j),'Persistence Units'),'Available persistence units. You may need to enable statistics per deployment in order view the metrics.'),'Available Persistence Units',a.c),I1j,g);return MAe(k)}
function mjf(a){var b,d,e,g,i,j,k,n,o,p,q,r,s,t,u,v;u=new Kef(g1j,'Completed');b=$L(s1c,axj,196,[(u.c=true,u),wef(new Kef(h1j,'Successful'),u)]);PXd();a.j=Vdf(new Wdf(i1j,v_j),b);j=new Kef(j1j,k1j);i=$L(s1c,axj,196,[(j.c=true,j),wef(new Kef(l1j,x_j),j),wef(new Kef(m1j,y_j),j)]);a.c=Vdf(new Xdf('Query Cache',v_j,false),i);n=new Kef(n1j,'Execution Count');k=$L(s1c,axj,196,[n,new Kef(o1j,'Max Time')]);a.d=Vdf(new Xdf('Query Execution',v_j,false),k);r=new Kef(p1j,k1j);q=$L(s1c,axj,196,[(r.c=true,r),wef(new Kef(q1j,x_j),r),wef(new Qef(r1j,y_j),r)]);a.e=Vdf(new Wdf(s1j,v_j),q);t=new Kef(t1j,'Sessions opened');d=$L(s1c,axj,196,[(t.c=true,t),wef(new Qef(u1j,'Closed'),t)]);a.a=Vdf(new Wdf(v1j,v_j),d);a.g=new _md;wr(a.g,G0j);e=new rwd;rz((Mfd(),e.gb),w_j);owd(e,Ndf(a.a));v=new rwd;rz(v.gb,w_j);owd(v,Ndf(a.j));o=new rwd;rz(o.gb,w_j);a.f=new _md;wr(a.f,w1j);qz(kr(a.f),F_j,'padding:5px');owd(o,Ndf(a.d));owd(o,Ndf(a.c));s=new rwd;rz(s.gb,w_j);owd(s,Ndf(a.e));p=new cnd(A_j);rz(p.gb,B_j);p.gb.style[ZBj]=(wC(),gCj);p.gb.style[cCj]=-65+(sD(),KAj);p.gb.style[C_j]=e1j;QA(p.gb.style,mB());p.gb.style[bCj]=f1j;p.sh(new sjf(a));g=oBe(oBe(oBe(oBe(oBe(rBe(tBe(uBe(new xBe),a.g),'Runtime information about Hibernate use in the deployment.'),Hzj,p),v1j,e),i1j,v),'Queries',o),s1j,s);return pBe(g)}
var x1j='<b>Max Time Query<\/b>: ',G1j='JPA Deployment',K1j='Metrics Enabled?',k1j='Put Count',s1j='Second Level Cache',g1j='completed-transaction-count',C1j='custom',A1j='dpl',l1j='query-cache-hit-count',m1j='query-cache-miss-count',j1j='query-cache-put-count',n1j='query-execution-count',o1j='query-execution-max-time',q1j='second-level-cache-hit-count',r1j='second-level-cache-miss-count',p1j='second-level-cache-put-count',u1j='session-close-count',t1j='session-open-count',h1j='successful-transaction-count';f3c(2504,2500,fzj,Qef);f3c(2583,1,{},qjf);f3c(2584,1,uxj,sjf);_.he=function(a){ujf(this.a.b,this.a.i)};f3c(2585,1402,gyj,yjf);_.Qi=function(){this.A.e=this;I8d(this,Ayh(pde((PXd(),NXd).a)))};_.Vi=function(){this.B&&xjf(this,true)};_.Yi=function(a){var b;b=rId(a,A1j,null);b!=null?(this.e=$L(Y0c,hxj,1,[b,rId(a,B1j,null),rId(a,C1j,null)])):(this.e=null)};_.Zi=function(){suf(this.d,this)};f3c(2587,1644,{},Djf);_.dh=function(a){Cjf(this,a)};_.b=false;f3c(2588,1644,{},Gjf);_.dh=function(a){Fjf(this,a)};f3c(2589,1644,{},Jjf);_.dh=function(a){Ijf(this,a)};f3c(2592,1209,Pyj,Tjf);_.Ah=function(){var a,b,d;this.d=new u1i;this.c=new Xjf(this.e);this.a=new qjf(this.e);r1i(this.d,(PXd(),m0j),Vjf(this.c));r1i(this.d,'Basic Metrics',mjf(this.a));t1i(this.d,0);a=new God;d=new yij(H1j);wod(a,d,a.n.c);b=s1i(this.d);wod(a,b,a.n.c);Eod(a,d,0,(sD(),rD),40,rD);Eod(a,b,40,rD,100,pD);return a};f3c(2593,1,{},Xjf);f3c(2594,1,{},Zjf);_.ai=function(a){return a.Sq()+I_j+a.Tq()};f3c(2595,676,Qxj,_jf);_.md=function(a){return a.Sq()};f3c(2596,676,Qxj,bkf);_.md=function(a){return a.Tq()};f3c(2597,644,Qxj,dkf);_.md=function(a){var b;return a.Vq()?(b=(Uhj(),Ohj)):(b=(Thj(),Nhj)),b};f3c(2598,1,{},fkf);_.gd=function(a){XGd(this.a.b.c,tId(tId(tId(new uId(tEj),A1j,a.Sq()),B1j,a.Tq()),C1j,Hzj+a.Uq()),true)};f3c(2599,644,Qxj,hkf);_.md=function(a){return a};f3c(2600,1,{},jkf);_.Dk=function(a){vjf(this.a.b,this.b.c,a)};f3c(2601,1,{},lkf,mkf);_.b=false;f3c(2603,1,{});_.Wq=function(a){ZCd(this.a).Wq(a);QMd()};_.Xq=function(a){wkf(this,a)};_.Zq=function(a){xkf(this,a)};f3c(2604,1,{});_.Wq=function(a){$Cd(this.a,M1j,(QMd(),a?PMd:OMd))};_.Xq=function(a){$Cd(this.a,CRj,a)};_.Zq=function(a){$Cd(this.a,L1j,a)};f3c(2607,1,Oyj);_.pd=function(){yGd(this.b,Ekf(this.a.a))};var Dsb=wNd(2585),ysb=wNd(2587),zsb=wNd(2588),Asb=wNd(2589),Esb=wNd(2592),Msb=wNd(2593),Fsb=wNd(2594),Gsb=wNd(2595),Hsb=wNd(2596),Isb=wNd(2597),Jsb=wNd(2598),Ksb=wNd(2599),Lsb=wNd(2600),wsb=wNd(2583),vsb=wNd(2584),Xqb=wNd(2504),Nsb=wNd(2601);Czj(_o)(6);