rr.prototype.L=function(a){var b=this.f().g(),d=q.oa().getElementById(b),e=A.c,b=e.H(),f=e.Ku(e.fj),g=f.o(),h=g.xZ(),f=g.sd(f,"page.messageDialog");if("ok"==a){if(h)return null;var l=e.Ku(f.id);return l.o().sd(l,"cancel_button")}h||(d=f);e=0;h=-1;"]"==a.charAt(a.length-1)&&(h=a.lastIndexOf("["),e=1*a.substring(h+1,a.length-1));if("page."==a.substr(0,5)){a=0<h?a.substring(5,h):a.substring(5);h=b.getStyleClass(rr.GCa);d=C.getElementsByClassName(d,h);if(!d||0==d.length)return null;if("intro"==a)return d[0];
d=d[0].parentNode.getElementsByTagName("table");d=d.length?d[0]:null;if(!d)return null;h=b.getStyleClass(rr.FCa);if(h=Kh.nj(d,"class",h))return null}else{a=0<h?a.substring(0,h):a;h=b.getStyleClass(rr.FCa);h=Kh.nj(d,"class",h);if(!h)return d;for(d=h.parentNode;"TABLE"!=d.nodeName&&d.parentNode;)d=d.parentNode}"summary"==a?l=b.getStyleClass(rr.JCa):"detail"==a&&(l=b.getStyleClass(rr.ECa));if(!l)return null;if(0==e)return Kh.nj(d,"class",l);l=Kh.my(d,"class",l);return e<l.length?l[e]:null};
r.a("AdfDhtmlMessagesPeer.prototype.GetSubIdDomElement",{L:rr.prototype.L});
rr.prototype.N=function(a){var b=a.getAttribute("class"),d=A.c,e=d.H(),f=q.oa(),g=d.Ku(d.fj),h=g.o();if(!h.xZ()&&(g=h.sd(g,"page.messageDialog"),d=d.Ku(g.id),d.o().sd(d,"cancel_button")==a))return"ok";var d=e.getStyleClass(rr.GCa),l=(new RegExp(d.replace("|","\\|"))).test(b),g=e.getStyleClass(rr.ECa),d=!l&&(new RegExp(g.replace("|","\\|"))).test(b),h=e.getStyleClass(rr.JCa),b=!d&&(new RegExp(h.replace("|","\\|"))).test(b);if(!l&&!d&&!b)return null;if(l)return"page.intro";for(var b=f.getElementById(this.f().g()),
f=null,l=a,n=15,t=new RegExp(e.getStyleClass("af|messages::message-list-page").replace("|","\\|")),e=new RegExp(e.getStyleClass("af|message::component-messages-list-container").replace("|","\\|"));0<n&&l!=b&&null!=l;){var y=l.getAttribute("class");if(t.test(y)){f=!0;break}else if(e.test(y)){f=!1;break}l=l.parentNode;n--}if(null!=f)for(e=Kh.my(l,"class",1==d?g:h),d=(1==f?"page.":"")+(d?"detail":"summary"),g=0;g<e.length;g++)if(e[g]==a)return d+"["+g+"]";return null};
r.a("AdfDhtmlMessagesPeer.prototype.GetBestMatchSubId",{N:rr.prototype.N});