$.X={saved_search:"saveSrch",disclosure_icon:"_afrDscl",search_header:"_afrTtxt",addFields_button:"adFlds",match_type:"conj",deleteCriterion:"delCrtn",criterion_label:"crtnLab",criterion_operator:"oper",criterion_value:"val",saveSearch_popup:"SSPop",saveSearch_name:"SS_name",saveSearch_dialog:"SSD",personalizeSearch_popup:"PSSPop",personalizeSearch_searches:"PSS_Srchs",personalizeSearch_dialog:"PSSD",personalizeSearch_delete:"delete",personalizeSearch_duplicate:"duplicate",personalizeSearch_apply:"apply",
personalizeSearch_Name:"PSS_name",deleteWarning_popup:"DWPop",deleteWarning_dialog:"DWD",overrideWarning_popup:"OWPop",overrideWarning_dialog:"OWD",overrideError_popup:"OEPop",overrideError_dialog:"OED",saveSearchSetAsDefault:"SS_def",saveSearchAutoExecute:"SS_autoEx",saveSearchSaveLayout:"SS_SL",personalizeSearchSetAsDefault:"PSS_def",personalizeSearchAutoExecute:"PSS_autoEx",personalizeSearchShowInList:"PSS_SiL",deleteWarningMessage:"DWDMsg",overrideWarningMessage:"OWDMsg",reorderPopup:"REPop",
reorderDialog:"REDlg",reorderTree:"RETree",reorderMoveTopButton:"move-top",reorderMoveUpButton:"move-up",reorderMoveDownButton:"move-down",reorderMoveBottomButton:"move-bottom"};$.C7={saveSearch_dialog:"dlgSS",personalizeSearch_dialog:"dlgPSS",reorderDialog:"REDlg"};$.P4="__afrAdFldsSep__";$.FNa="ndStOut";
$.prototype.z=function(a){B.Wa(a);var b=a,d,e=a.indexOf("#");-1<e&&(b=a.substring(0,e),B.Wa(b),d=a.substring(e+1));var e=this.d(),f=n,f=b.indexOf("["),g=b.lastIndexOf("["),h=b.lastIndexOf("]"),m=b.indexOf("addFields[");-1<m?(m+=9,h=b.lastIndexOf("["),f=b.indexOf("]"),f=b.substring(m+2,f-1),m!=h&&(m=b.lastIndexOf("]"),b=-1<b.indexOf("ALL_FIELDS")?b.substring(h+1,m):b.substring(h+2,m-1),f=f+$.P4+b),(b=PA(this))?(e=e.e()+":"+b[f],f=w.b.getElementById(e)):f=n):-1<f?(m=$.X[b.substring(0,g)],"crtnLab"==
m?(e=e.e()+":crtn"+b.substring(f+1,h),e=w.b.getElementById(e),f=H.TI(e,"LABEL")):(e="RETree"==m?e.e()+":"+m+":"+b.substring(f+1,h)+":"+$.FNa:e.e()+":"+m+b.substring(f+1,h),f=w.b.getElementById(e))):(m=$.X[b],"old"!=lookAndFeel.ka("af|dialog-tr-button-type")&&("saveSearch_dialog"==b||"personalizeSearch_dialog"==b||"reorderDialog"==b)?(m=$.C7[b],f=vh.Xh(e,m,l)):"adFlds"==m||"conj"==m||"move-top"==m||"move-bottom"==m||"move-up"==m||"move-down"==m?f=vh.Xh(e,m,l):m?f=vh.Xh(e,m):(e=this.S_().CL[b],f=this.jZ(e)));
if(d&&f&&(e=f.id))(b=F.c.j(e))?f=b.k().Wh(b,d):D.i.warning("component: ",e," doesn't exist for this subid:",a);f||D.i.warning("Sub Id doesn't exist for this component:",a);return f};z.a("AdfDhtmlQueryPeer.prototype.GetSubIdDomElement",{z:$.prototype.z});
$.prototype.s3=function(a){if(!a)return n;var b=a.id;if(b){var d=this.d().e(),e=b.substring(d.length);if(e){var f=-1<e.indexOf($.IL),g=-1<e.indexOf($.GNa),h=":"==e.charAt(1);":"==e.charAt(0)&&(e=e.substring(1));":"==e.charAt(0)&&(e=e.substring(1));var m="",q=p;if(f){var g=e,s=":"+$.IL,m=g.indexOf(s),m=m+s.length,g=g.substring(m,g.length),s=g.split(""),y;for(y=0;y<g.length&&!isNaN(s[y]);y++);m=e.substring(0,m+y);m.length<e.length&&(q=l)}else if(g&&(g=e.match(/\d+/)))return g=g.toString(),"reorderTree["+
g+"]";g=e.indexOf(":");(s=-1<g)&&(e=e.substring(0,g));g="";g=f?QA(this,m):QA(this,e);if(s||q){d+=":";h&&(d+=":");d=f?d+m:d+e;if(f=F.c.j(d))return b=f.k(),g+"#"+b.D(a);D.i.warning("component: ",b," doesn't exist for this subid:",d)}return g}}return n};z.a("AdfDhtmlQueryPeer.prototype.GetDomElementSubId",{s3:$.prototype.s3});
function QA(a,b){var d=$.HMa[b];d&&(b=d);if("value"==b.substring(0,5))return"criterion_value["+b.substring(5)+"]";if("val"==b.substring(0,3))return"criterion_value["+b.substring(3)+"]";if("operator"==b.substring(0,8))return"criterion_operator["+b.substring(8)+"]";if("oper"==b.substring(0,4))return"criterion_operator["+b.substring(4)+"]";if("deleteCriterion"==b.substring(0,15))return"deleteCriterion["+b.substring(15)+"]";if("delCrtn"==b.substring(0,7))return"deleteCriterion["+b.substring(7)+"]";if("fldItem"==
b.substring(0,7)||"adFldGrpMenu"==b.substring(0,12)||"adFldGrpAddAllItem"==b.substring(0,18)){var e;a:{var d=b,f=PA(a);if(f)for(e in f)if(f[e]==d){d=e.indexOf($.P4);e=-1<d?"addFields['"+e.substring(0,d)+"']['"+e.substring(d+$.P4.length)+"']":"addFields['"+e+"']";break a}e=k}return e}for(f in $.X)if($.X[f]==b)return f;for(f in $.C7)if($.C7[f]==b)return f;return-1<b.indexOf("search")?"search_button":-1<b.indexOf("reset")?"reset_button":-1<b.indexOf("save")?"save_button":-1<b.indexOf("mode")?"mode_button":
-1<b.indexOf("reorder")?"reorderButton":-1<b.indexOf("dlgSS_ok")?"saveSearch_dialog#ok_button":-1<b.indexOf("dlgSS_cancel")?"saveSearch_dialog#cancel_button":-1<b.indexOf("dlgPSS_ok")?"personalizeSearch_dialog#ok_button":-1<b.indexOf("dlgPSS_cancel")?"personalizeSearch_dialog#cancel_button":-1<b.indexOf("REDlg_ok")?"reorderDialog#ok_button":-1<b.indexOf("REDlg_cancel")?"reorderDialog#cancel_button":n}
function PA(a){a=a.d();if(a=w.b.getElementById(M.g(a.e(),"addFldExId")))if(a=a.getAttribute("data-afr-addFldSubIds"))return eval("var _SUB_ID_MAP_ADD_FIELDS \x3d"+a+";"),_SUB_ID_MAP_ADD_FIELDS;return n}$.prototype.jZ=function(a){var b=this.d();if("old"!=F.c.u().ka("af|query-tr-button-type")||"reorder"==a){var d=b.j("_"+a);d==n&&(d=b.j(a));return d!=n?(a=d.k(),a.bind(d),a.h()):n}return vh.Xh(b,a)};$.prototype.D=function(a){return this.s3(a)};z.a("AdfDhtmlQueryPeer.prototype.GetBestMatchSubId",{D:$.prototype.D});
$.CL={search_button:"search",reset_button:"reset",save_button:"save",mode_button:"mode",reorderButton:"reorder"};
$.HMa={addFields:"adFlds",addFieldsIter:"adFldIter",conjunction:"conj",operator:"oper",value:"val",vPanel:"vPan",deleteCriterion:"delCrtn",saveSearch:"saveSrch",PSSPopup:"PSSPop",PSSDlg:"PSSD",PSSDlg_sSearches:"PSS_Srchs",PSSDlg_name:"PSS_name",PSSDlg_autoExecute:"PSS_autoEx",PSSDlg_showInList:"PSS_SiL",PSSDlg_default:"PSS_def",DWPopup:"DWPop",DWDlgMsg:"DWDMsg",SSPopup:"SSPop",SSDlg:"SSD",SSDlg_name:"SS_name",SSDlg_saveLayout:"SS_SL",SSDlg_autoExecute:"SS_autoEx",SSDlg_default:"SS_def",criterion:"crtn",
criteria:"crta",dlgSS_ok:"dlgSS_ok",dlgSS_cancel:"dlgSS_cancel"};