var xp=M.U(M,"AdfDhtmlMessagesPeer");v("AdfDhtmlMessagesPeer",xp);xp.m=function(){M.$b(this,AdfRichMessages.SHORT_DESC);M.$b(this,AdfRichMessages.MESSAGE);M.$b(this,AdfRichMessages.TEXT);M.$b(this,AdfRichMessages.GLOBAL_ONLY);xp.NGa="_afrGlobalOnly";xp.OGa="_afrMessage";xp.PGa="_afrText";xp.qKa="af|messages::header-text";xp.fpa="af|messages::intro";xp.epa="af|messages::message-group-title";xp.ipa="af|messages::type";xp.dpa="af|messages::detail"};v("AdfDhtmlMessagesPeer.InitSubclass",xp.m);
xp.prototype.gf=function(a){xp.f.gf.call(this,a);var b=F.c,d=b.Pk(),e=b.my(),f=a.e(),g=p;if(f==d){for(var g=l,h;a&&!h;)(a=a.getParent())&&a instanceof AdfRichDocument&&(h=a.e());d=h}f==e&&(P.wE(),g=l,e=n);g&&b.cS(d,e)};z.a("AdfDhtmlMessagesPeer.prototype.componentRemoved",{gf:xp.prototype.gf});xp.prototype.EJ=t(p);z.a("AdfDhtmlMessagesPeer.prototype.isMessagesDialogShowable",{EJ:xp.prototype.EJ});xp.prototype.Yy=ca();z.a("AdfDhtmlMessagesPeer.prototype.setMessagesDialogShown",{Yy:xp.prototype.Yy});
xp.prototype.Xka=function(a,b){return w.b.getAttribute(b,"title")};z.a("AdfDhtmlMessagesPeer.prototype.GetComponentShortDesc",{Xka:xp.prototype.Xka});xp.prototype.Uka=function(a,b){return w.b.getAttribute(b,xp.OGa)};z.a("AdfDhtmlMessagesPeer.prototype.GetComponentMessage",{Uka:xp.prototype.Uka});xp.prototype.Xb=function(a,b){return w.b.getAttribute(b,xp.PGa)};z.a("AdfDhtmlMessagesPeer.prototype.GetComponentText",{Xb:xp.prototype.Xb});xp.prototype.o3=function(a,b){return w.b.Rh(b,xp.NGa)};
z.a("AdfDhtmlMessagesPeer.prototype.GetComponentGlobalOnly",{o3:xp.prototype.o3});xp.prototype.el=function(a,b){this.gP(a,b,l)};z.a("AdfDhtmlMessagesPeer.prototype.MessageShow",{el:xp.prototype.el});xp.prototype.Ah=function(a,b){xp.f.Ah.call(this,a,b);this.gP(a,b,p)};z.a("AdfDhtmlMessagesPeer.prototype.MessageNotify",{Ah:xp.prototype.Ah});
xp.prototype.gP=function(a,b,d){b=F.c;var e=this.d(),f=e.e(),g=b.Jk(),h=this.h(),m=this.o3(e,h),q=g[f],s=0;q!=n&&(s=q.length);if(d&&!P.U0(b,q,m))for(var y in g)d=g[y],d!=n&&d.x_!=n&&P.NR(y);if(P.Hp(b,s,m)){H.lD(h);y=w.b;d=y.w().createElement("table");d.summary="";d.setAttribute("role","presentation");var A=d.insertRow(-1),s=A.insertCell(-1);a==n&&(a=0);if(m)a=q.ls;else for(var C in g)q=g[C].ls,q>a&&(a=q);C=P.getIcon(a,l);s.appendChild(C);s=A.insertCell(-1);C=F.c.u();H.n(s,C.getStyleClass(xp.qKa));
C=e.getText();C==n?y.yb(s,P.ds(a,l)):y.yb(s,C);h.appendChild(d);a=e.getMessage();a=P.Efa(f,a,m);h.appendChild(a);h.style.display=""}else h.style.display="none",H.lD(h),P.wE();b.Iw(e);b.Dw()};