R.ha={button:"btn",selectionsButton:"selBtn"};R.prototype.N=function(a){var b=this.f(),d=this.i(),e=b.g(),f=ji.H9(a,d);f?(a=ji.BC(e),f=f.getAttribute("id"),f=parseInt(f.substring(a.length)),f=(a=this.ye().Pp())?"suggestion["+a.mra(f)+"]":null):f=this.ow(b)&&Ci.F9(b,a,d)?"selectedHeader":Kh.qm(a,this,R.ha,R);return f};r.a("AdfDhtmlInputSearchPeer.prototype.GetBestMatchSubId",{N:R.prototype.N});
R.prototype.L=function(a){var b=this.f(),d=b.g();if(0==a.indexOf("suggestion["))b=parseInt(a.substring(11,a.length-1)),(a=this.ye().Pp())?(b=a.i9(b),b=ji.BC(d)+b,b=document.getElementById(b)):b=null;else if("selectedHeader"==a)a:{if(this.ow(b)&&(d=ji.BC(d)+"0",d=document.getElementById(d),b=Ci.F9(b,d,this.i())))break a;b=null}else b=Kh.Xu(a,R.ha,b,this,R);return b};r.a("AdfDhtmlInputSearchPeer.prototype.GetSubIdDomElement",{L:R.prototype.L});