Wv.ha={criteria_items:"criteriaItems",search_icon:"search_icon"};
Wv.prototype.L=function(a){u.Ya(a);var b=a,d,e=a.indexOf("#");-1<e&&(b=a.substring(0,e),u.Ya(b),d=a.substring(e+1));var e=null,f=this.f(),g=Kh.Fe(b,Wv.ha,f);if(g)e=g;else if("criterion_value"==b){for(var f=f.g(),b=f+":criterionValue",f=q.oa().getElementById(f).getElementsByTagName("*"),h,g=0;g<f.length;g++)if(-1!=f[g].id.indexOf(b)){h=f[g];break}h&&(e=h)}d&&e&&(b=e.id)&&((h=A.c.m(b))?(e=h.o(),e.bind(h),e=e.sd(h,d)):v.l.warning("component: ",b," doesn't exist for this subid:",a));e||v.l.warning("Sub Id doesn't exist for this component:",
a);return e};r.a("AdfDhtmlQuickQueryPeer.prototype.GetSubIdDomElement",{L:Wv.prototype.L});
Wv.prototype.N=function(a){var b=Kh.vc(a,this,Wv.ha);if(b)"criteria_items"==b&&(d=a.id,-1!=d.indexOf(":criteriaItems")&&(e=XC(d,":criteriaItems"),f=d.substring(e,d.length),0<f.length&&(d=d.substring(0,e),(a=YC(d,a,f))&&(b="criteria_items#"+a)),b||(b="criteria_items")));else{var d=a.id;if(-1!=d.indexOf(":criterionValue")){var e=XC(d,":criterionValue"),f=d.substring(e,d.length);0<f.length&&(d=d.substring(0,e),(a=YC(d,a,f))&&(b="criterion_value#"+a));b||(b="criterion_value")}}return b};
r.a("AdfDhtmlQuickQueryPeer.prototype.GetBestMatchSubId",{N:Wv.prototype.N});function YC(a,b,d){var e=A.c.m(a),f=null;e?(a=e.o(),a.bind(e),f=a.N(b)):v.l.warning("component: ",a," doesn't exist for this subid:",d);return f}function XC(a,b){var d=a.indexOf(b),d=d+b.length,e=a.substring(d,a.length),f=e.split(""),g;for(g=0;g<e.length&&!isNaN(f[g]);g++);return d+g};