xp.prototype.z=function(a){var b=this.d().e(),d=w.fa().getElementById(b),e=F.c,b=e.u(),f=e.Ur(e.mi),g=f.k(),h=g.GR(),f=g.Wh(f,"page.messageDialog");if("ok"==a){if(h)return n;var m=e.Ur(f.id);return m.k().Wh(m,"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(xp.fpa);d=H.getElementsByClassName(d,h);if(!d||0==d.length)return n;if("intro"==a)return d[0];
d=d[0].parentNode.getElementsByTagName("table");d=d.length?d[0]:n;if(!d)return n;h=b.getStyleClass(xp.epa);if(h=vh.nh(d,"class",h))return n}else{a=0<h?a.substring(0,h):a;h=b.getStyleClass(xp.epa);h=vh.nh(d,"class",h);if(!h)return d;for(d=h.parentNode;"TABLE"!=d.nodeName&&d.parentNode;)d=d.parentNode}"summary"==a?m=b.getStyleClass(xp.ipa):"detail"==a&&(m=b.getStyleClass(xp.dpa));if(!m)return n;if(0==e)return vh.nh(d,"class",m);m=vh.Gu(d,"class",m);return e<m.length?m[e]:n};
z.a("AdfDhtmlMessagesPeer.prototype.GetSubIdDomElement",{z:xp.prototype.z});
xp.prototype.D=function(a){var b=a.getAttribute("class"),d=F.c,e=d.u(),f=w.fa(),g=d.Ur(d.mi),h=g.k();if(!h.GR()&&(g=h.Wh(g,"page.messageDialog"),d=d.Ur(g.id),d.k().Wh(d,"cancel_button")==a))return"ok";var d=e.getStyleClass(xp.fpa),m=RegExp(d.replace("|","\\|")).test(b),g=e.getStyleClass(xp.dpa),d=!m&&RegExp(g.replace("|","\\|")).test(b),h=e.getStyleClass(xp.ipa),b=!d&&RegExp(h.replace("|","\\|")).test(b);if(!m&&!d&&!b)return n;if(m)return"page.intro";for(var b=f.getElementById(this.d().e()),f=n,m=
a,q=15,s=RegExp(e.getStyleClass("af|messages::message-list-page").replace("|","\\|")),e=RegExp(e.getStyleClass("af|message::component-messages-list-container").replace("|","\\|"));0<q&&m!=b&&m!=n;){var y=m.getAttribute("class");if(s.test(y)){f=l;break}else if(e.test(y)){f=p;break}m=m.parentNode;q--}if(f!=n){e=vh.Gu(m,"class",d==l?g:h);d=(f==l?"page.":"")+(d?"detail":"summary");for(g=0;g<e.length;g++)if(e[g]==a)return d+"["+g+"]"}return n};z.a("AdfDhtmlMessagesPeer.prototype.GetBestMatchSubId",{D:xp.prototype.D});