tr.prototype.L=function(a){var b=this.f().g(),d=q.oa().getElementById(b),e=A.c,b=e.H(),f=e.Lu(e.gj),g=f.o(),h=g.xZ(),f=g.sd(f,"page.messageDialog");if("ok"==a){if(h)return null;var l=e.Lu(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(tr.KCa);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(tr.JCa);if(h=Mh.oj(d,"class",h))return null}else{a=0<h?a.substring(0,h):a;h=b.getStyleClass(tr.JCa);h=Mh.oj(d,"class",h);if(!h)return d;for(d=h.parentNode;"TABLE"!=d.nodeName&&d.parentNode;)d=d.parentNode}"summary"==a?l=b.getStyleClass(tr.NCa):"detail"==a&&(l=b.getStyleClass(tr.ICa));if(!l)return null;if(0==e)return Mh.oj(d,"class",l);l=Mh.ny(d,"class",l);return e<l.length?l[e]:null};
r.a("AdfDhtmlMessagesPeer.prototype.GetSubIdDomElement",{L:tr.prototype.L});
tr.prototype.N=function(a){var b=a.getAttribute("class"),d=A.c,e=d.H(),f=q.oa(),g=d.Lu(d.gj),h=g.o();if(!h.xZ()&&(g=h.sd(g,"page.messageDialog"),d=d.Lu(g.id),d.o().sd(d,"cancel_button")==a))return"ok";var d=e.getStyleClass(tr.KCa),l=(new RegExp(d.replace("|","\\|"))).test(b),g=e.getStyleClass(tr.ICa),d=!l&&(new RegExp(g.replace("|","\\|"))).test(b),h=e.getStyleClass(tr.NCa),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=Mh.ny(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:tr.prototype.N});