var qc=M.U(tc,"AdfDhtmlIteratorPeer");v("AdfDhtmlIteratorPeer",qc);qc.prototype.md=function(a,b){var d;for(d=a.getParent();d&&!(d instanceof AdfRichIterator);)d=d.getParent();d&&d.md();d=so(a);a.setProperty("_tokenMappings",d);return qc.f.md.call(this,a,b)};z.a("AdfDhtmlIteratorPeer.prototype.getAbsoluteLocator",{md:qc.prototype.md});qc.kVa=function(a){var b;do a=a.getParent(),b=a.k().yp();while(!b);return b};
qc.BVa=function(a,b){var d=a.id,e=b.length;if(d&&b===d.substring(0,e)){var f=d.indexOf(":",e);return d.substring(e,f)}return n};function so(a){function b(a){return(a=qc.BVa(a,d))?(e[a]==k&&(e[a]=f++),NodeFilter.gk):NodeFilter.Ps}var d=a.e()+":";a=qc.kVa(a);var e={},f=0;b.i9a=b;for(a=document.createTreeWalker(a,NodeFilter.X5a,b,p);a.n$a(););return e}
qc.M_=function(a){var b=F.c;do{var d=/[\:](\d+)[\:](.+)/.exec(a);if(d){var e=a.substring(0,a.length-d[0].length),f=b.Ph(e);if(f instanceof AdfRichIterator){f.md();var g=f.r("_tokenMappings");a=f.getFirst();var h=d[1],g=g[h];g===k&&aa(Error("Couldn't find index of token "+h+" on "+f));a=e+"["+(a+g)+"]:"+d[2]}else break}}while(d);return a};v("AdfDhtmlIteratorPeer.fixupIteratorAbsoluteLocator",qc.M_);M.prototype.tJ=t(p);z.a("AdfRichUIPeer.prototype.isAbsoluteLocatorCacheable",{tJ:M.prototype.tJ});