Sp.ha={search_icon:"lovIconId",search_dialog:"_afrLovDialogId",search_dialog_popup:"_afrLovPopupId",lovDialog_query:"_afrLovInternalQueryId",lovDialog_toolbar:"_afrLovToolbar",lovDialog_table:"_afrLovInternalTableId"};
Sp.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));e=null;e=Sp.h.L.call(this,b);if(!e){var e=Sp.ha[b],f=this.f();e?"_afrLovInternalTableId"==e||"_afrLovPopupId"==e||"_afrLovDialogId"==e||"_afrLovToolbar"==e||"_afrLovInternalQueryId"==e?(b=f.g()+e,e=q.oa().getElementById(b)):e=Mh.nf(f,e):e=gp.asa(f,b)}d&&e&&(b=e.id)&&((f=A.c.m(b))?e=f.o().sd(f,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("AdfDhtmlInputListOfValuesPeer.prototype.GetSubIdDomElement",{L:Sp.prototype.L});Sp.prototype.N=function(a){var b=Sp.h.N.call(this,a);return b?b:gp.Oba(a,Sp.ha)};r.a("AdfDhtmlInputListOfValuesPeer.prototype.GetBestMatchSubId",{N:Sp.prototype.N});
gp.asa=function(a,b){var d=null;if(0<=b.indexOf("lovDialog_table")){var e=b.split(/\[|\]/),f=e.length;if(1<f){var g=null,h=null;"lovDialog_table"==e[0]||"lovDialog_table_cellContainer"==e[0]?(g=parseInt(e[1]),h=parseInt(e[f-2]),isNaN(g)||isNaN(h)||(d=a.Kd()+"_afrLovInternalTableId["+g+"]:_afrColChild"+h,d=A.c.wh(d),d=I.Fb(d),"lovDialog_table_cellContainer"==e[0]&&(d=d.parentNode,"TD"!=d.tagName&&(d=d.parentNode)))):"lovDialog_table_columnHeader_text"==e[0]&&(h=parseInt(e[1]),isNaN(h)||(e=a.Kd()+"_afrLovInternalTableId:col"+
h,e=A.c.wh(e),d=e.o().sd(e,"header_text")))}}return d};m("AdfDhtmlInputListOfValuesBasePeer.getLovDialogTableSubIdDomElements",gp.asa);
gp.Oba=function(a,b){var d;if(-1<a.id.indexOf("col")||-1<a.id.indexOf("_afrColChild")){var e=gp.Ulb(a.id);if(-1<a.id.indexOf("_afrColChild"))return d=gp.Xia(a.id,"_afrColChild"),"lovDialog_table["+e+"]["+d+"]";d=gp.Xia(a.id,"col");return"lovDialog_table_cellContainer["+e+"]["+d+"]"}if(-1<a.parentNode.id.indexOf("col"))return d=gp.Xia(a.parentNode.id,"col"),"lovDialog_table_columnHeader_text["+d+"]";for(d in b){if(gp.ff(a.id,b[d]))return d;if(-1<a.id.indexOf(b[d])){var e=a.id.indexOf(b[d])+b[d].length,
e=A.c.m(a.id.substr(0,e)),f=e.o();f.bind(e);if(e=f.N(a))return d+"#"+e}}return null};m("AdfDhtmlInputListOfValuesBasePeer.GetBestMatchSubIdImpl",gp.Oba);gp.Ulb=function(a){for(var b=0,d=1,e=a.lastIndexOf(":")-1;":"!=a.charAt(e);e--)b+=(a.charAt(e)-0)*d,d*=10;return b};gp.Xia=function(a,b){for(var d=0,e=a.lastIndexOf(":")+b.length+1;e<a.length;e++)d=10*d+(a.charAt(e)-0);return d};gp.ff=function(a,b){return-1!=a.indexOf(b,a.length-b.length)};