$AdfDhtmlQueryPeer$$.$_SUB_ID_MAP$ = {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"};
$AdfDhtmlQueryPeer$$.$_SUB_ID_MAP_UNIFIED_BUTTON_DIALOG$ = {saveSearch_dialog:"dlgSS", personalizeSearch_dialog:"dlgPSS", reorderDialog:"REDlg"};
$AdfDhtmlQueryPeer$$.$_ADD_FIELDS_MENU_SEPARATOR$ = "__afrAdFldsSep__";
$AdfDhtmlQueryPeer$$.$_REORDER_TREE_NDSTAMP_ID$ = "ndStOut";
$AdfDhtmlQueryPeer$$.prototype.$GetSubIdDomElement$ = function $$AdfDhtmlQueryPeer$$$$$GetSubIdDomElement$$($subElementIdLocator$$6$$) {
  $AdfAssert$$.$assertNonEmptyString$($subElementIdLocator$$6$$);
  var $menuItemSubId$$inline_5182_subComponent$$6_subElementId$$48_subElementId$$inline_5173_subIdMap$$inline_5183$$ = $subElementIdLocator$$6$$, $nestedSubElementId$$5$$, $buttonId$$13_component$$2448_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5180$$ = $subElementIdLocator$$6$$.indexOf("#");
  -1 < $buttonId$$13_component$$2448_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5180$$ && ($menuItemSubId$$inline_5182_subComponent$$6_subElementId$$48_subElementId$$inline_5173_subIdMap$$inline_5183$$ = $subElementIdLocator$$6$$.substring(0, $buttonId$$13_component$$2448_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5180$$), $AdfAssert$$.$assertNonEmptyString$($menuItemSubId$$inline_5182_subComponent$$6_subElementId$$48_subElementId$$inline_5173_subIdMap$$inline_5183$$), 
  $nestedSubElementId$$5$$ = $subElementIdLocator$$6$$.substring($buttonId$$13_component$$2448_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5180$$ + 1));
  var $buttonId$$13_component$$2448_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5180$$ = this.$getComponent$(), $closeBracketFirstIndex$$inline_5178_label$$inline_5179_openBracketIndex_subIdElement$$6$$ = null, $closeBracketFirstIndex$$inline_5178_label$$inline_5179_openBracketIndex_subIdElement$$6$$ = $menuItemSubId$$inline_5182_subComponent$$6_subElementId$$48_subElementId$$inline_5173_subIdMap$$inline_5183$$.indexOf("["), $openBracketLastIndex$$ = 
  $menuItemSubId$$inline_5182_subComponent$$6_subElementId$$48_subElementId$$inline_5173_subIdMap$$inline_5183$$.lastIndexOf("["), $closeBracketLastIndex_openBracketLastIndex$$inline_5177$$ = $menuItemSubId$$inline_5182_subComponent$$6_subElementId$$48_subElementId$$inline_5173_subIdMap$$inline_5183$$.lastIndexOf("]"), $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5181_openBracketFirstIndex$$inline_5176$$ = $menuItemSubId$$inline_5182_subComponent$$6_subElementId$$48_subElementId$$inline_5173_subIdMap$$inline_5183$$.indexOf("addFields[");
  -1 < $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5181_openBracketFirstIndex$$inline_5176$$ ? ($addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5181_openBracketFirstIndex$$inline_5176$$ += 9, $closeBracketLastIndex_openBracketLastIndex$$inline_5177$$ = $menuItemSubId$$inline_5182_subComponent$$6_subElementId$$48_subElementId$$inline_5173_subIdMap$$inline_5183$$.lastIndexOf("["), $closeBracketFirstIndex$$inline_5178_label$$inline_5179_openBracketIndex_subIdElement$$6$$ = 
  $menuItemSubId$$inline_5182_subComponent$$6_subElementId$$48_subElementId$$inline_5173_subIdMap$$inline_5183$$.indexOf("]"), $closeBracketFirstIndex$$inline_5178_label$$inline_5179_openBracketIndex_subIdElement$$6$$ = $menuItemSubId$$inline_5182_subComponent$$6_subElementId$$48_subElementId$$inline_5173_subIdMap$$inline_5183$$.substring($addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5181_openBracketFirstIndex$$inline_5176$$ + 2, $closeBracketFirstIndex$$inline_5178_label$$inline_5179_openBracketIndex_subIdElement$$6$$ - 
  1), $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5181_openBracketFirstIndex$$inline_5176$$ != $closeBracketLastIndex_openBracketLastIndex$$inline_5177$$ && ($addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5181_openBracketFirstIndex$$inline_5176$$ = $menuItemSubId$$inline_5182_subComponent$$6_subElementId$$48_subElementId$$inline_5173_subIdMap$$inline_5183$$.lastIndexOf("]"), $menuItemSubId$$inline_5182_subComponent$$6_subElementId$$48_subElementId$$inline_5173_subIdMap$$inline_5183$$ = 
  -1 < $menuItemSubId$$inline_5182_subComponent$$6_subElementId$$48_subElementId$$inline_5173_subIdMap$$inline_5183$$.indexOf("ALL_FIELDS") ? $menuItemSubId$$inline_5182_subComponent$$6_subElementId$$48_subElementId$$inline_5173_subIdMap$$inline_5183$$.substring($closeBracketLastIndex_openBracketLastIndex$$inline_5177$$ + 1, $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5181_openBracketFirstIndex$$inline_5176$$) : $menuItemSubId$$inline_5182_subComponent$$6_subElementId$$48_subElementId$$inline_5173_subIdMap$$inline_5183$$.substring($closeBracketLastIndex_openBracketLastIndex$$inline_5177$$ + 
  2, $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5181_openBracketFirstIndex$$inline_5176$$ - 1), $closeBracketFirstIndex$$inline_5178_label$$inline_5179_openBracketIndex_subIdElement$$6$$ = $closeBracketFirstIndex$$inline_5178_label$$inline_5179_openBracketIndex_subIdElement$$6$$ + $AdfDhtmlQueryPeer$$.$_ADD_FIELDS_MENU_SEPARATOR$ + $menuItemSubId$$inline_5182_subComponent$$6_subElementId$$48_subElementId$$inline_5173_subIdMap$$inline_5183$$), ($menuItemSubId$$inline_5182_subComponent$$6_subElementId$$48_subElementId$$inline_5173_subIdMap$$inline_5183$$ = 
  $JSCompiler_StaticMethods__evaluateAddFieldsExpandoScript$$(this)) ? ($buttonId$$13_component$$2448_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5180$$ = $buttonId$$13_component$$2448_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5180$$.$getClientId$() + ":" + $menuItemSubId$$inline_5182_subComponent$$6_subElementId$$48_subElementId$$inline_5173_subIdMap$$inline_5183$$[$closeBracketFirstIndex$$inline_5178_label$$inline_5179_openBracketIndex_subIdElement$$6$$], 
  $closeBracketFirstIndex$$inline_5178_label$$inline_5179_openBracketIndex_subIdElement$$6$$ = $AdfAgent$$.$AGENT$.getElementById($buttonId$$13_component$$2448_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5180$$)) : $closeBracketFirstIndex$$inline_5178_label$$inline_5179_openBracketIndex_subIdElement$$6$$ = null) : -1 < $closeBracketFirstIndex$$inline_5178_label$$inline_5179_openBracketIndex_subIdElement$$6$$ ? ($addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5181_openBracketFirstIndex$$inline_5176$$ = 
  $AdfDhtmlQueryPeer$$.$_SUB_ID_MAP$[$menuItemSubId$$inline_5182_subComponent$$6_subElementId$$48_subElementId$$inline_5173_subIdMap$$inline_5183$$.substring(0, $openBracketLastIndex$$)], "crtnLab" == $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5181_openBracketFirstIndex$$inline_5176$$ ? ($buttonId$$13_component$$2448_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5180$$ = $buttonId$$13_component$$2448_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5180$$.$getClientId$() + 
  ":crtn" + $menuItemSubId$$inline_5182_subComponent$$6_subElementId$$48_subElementId$$inline_5173_subIdMap$$inline_5183$$.substring($closeBracketFirstIndex$$inline_5178_label$$inline_5179_openBracketIndex_subIdElement$$6$$ + 1, $closeBracketLastIndex_openBracketLastIndex$$inline_5177$$), $buttonId$$13_component$$2448_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5180$$ = $AdfAgent$$.$AGENT$.getElementById($buttonId$$13_component$$2448_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5180$$), 
  $closeBracketFirstIndex$$inline_5178_label$$inline_5179_openBracketIndex_subIdElement$$6$$ = $AdfDomUtils$$.$getFirstElementByTagName$($buttonId$$13_component$$2448_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5180$$, "LABEL")) : ($buttonId$$13_component$$2448_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5180$$ = "RETree" == $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5181_openBracketFirstIndex$$inline_5176$$ ? 
  $buttonId$$13_component$$2448_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5180$$.$getClientId$() + ":" + $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5181_openBracketFirstIndex$$inline_5176$$ + ":" + $menuItemSubId$$inline_5182_subComponent$$6_subElementId$$48_subElementId$$inline_5173_subIdMap$$inline_5183$$.substring($closeBracketFirstIndex$$inline_5178_label$$inline_5179_openBracketIndex_subIdElement$$6$$ + 1, $closeBracketLastIndex_openBracketLastIndex$$inline_5177$$) + 
  ":" + $AdfDhtmlQueryPeer$$.$_REORDER_TREE_NDSTAMP_ID$ : $buttonId$$13_component$$2448_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5180$$.$getClientId$() + ":" + $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5181_openBracketFirstIndex$$inline_5176$$ + $menuItemSubId$$inline_5182_subComponent$$6_subElementId$$48_subElementId$$inline_5173_subIdMap$$inline_5183$$.substring($closeBracketFirstIndex$$inline_5178_label$$inline_5179_openBracketIndex_subIdElement$$6$$ + 
  1, $closeBracketLastIndex_openBracketLastIndex$$inline_5177$$), $closeBracketFirstIndex$$inline_5178_label$$inline_5179_openBracketIndex_subIdElement$$6$$ = $AdfAgent$$.$AGENT$.getElementById($buttonId$$13_component$$2448_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5180$$))) : ($addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5181_openBracketFirstIndex$$inline_5176$$ = $AdfDhtmlQueryPeer$$.$_SUB_ID_MAP$[$menuItemSubId$$inline_5182_subComponent$$6_subElementId$$48_subElementId$$inline_5173_subIdMap$$inline_5183$$], 
  "old" == lookAndFeel.$getSkinProperty$("af|dialog-tr-button-type") || "saveSearch_dialog" != $menuItemSubId$$inline_5182_subComponent$$6_subElementId$$48_subElementId$$inline_5173_subIdMap$$inline_5183$$ && "personalizeSearch_dialog" != $menuItemSubId$$inline_5182_subComponent$$6_subElementId$$48_subElementId$$inline_5173_subIdMap$$inline_5183$$ && "reorderDialog" != $menuItemSubId$$inline_5182_subComponent$$6_subElementId$$48_subElementId$$inline_5173_subIdMap$$inline_5183$$ ? "adFlds" == $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5181_openBracketFirstIndex$$inline_5176$$ || 
  "conj" == $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5181_openBracketFirstIndex$$inline_5176$$ || "move-top" == $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5181_openBracketFirstIndex$$inline_5176$$ || "move-bottom" == $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5181_openBracketFirstIndex$$inline_5176$$ || "move-up" == $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5181_openBracketFirstIndex$$inline_5176$$ || "move-down" == $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5181_openBracketFirstIndex$$inline_5176$$ ? 
  $closeBracketFirstIndex$$inline_5178_label$$inline_5179_openBracketIndex_subIdElement$$6$$ = $AdfSubIdUtils$$.$getSubIdElementById$($buttonId$$13_component$$2448_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5180$$, $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5181_openBracketFirstIndex$$inline_5176$$, !0) : $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5181_openBracketFirstIndex$$inline_5176$$ ? $closeBracketFirstIndex$$inline_5178_label$$inline_5179_openBracketIndex_subIdElement$$6$$ = 
  $AdfSubIdUtils$$.$getSubIdElementById$($buttonId$$13_component$$2448_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5180$$, $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5181_openBracketFirstIndex$$inline_5176$$) : ($buttonId$$13_component$$2448_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5180$$ = this.$getClass$().$_BUTTON_ID_MAP$[$menuItemSubId$$inline_5182_subComponent$$6_subElementId$$48_subElementId$$inline_5173_subIdMap$$inline_5183$$], 
  $closeBracketFirstIndex$$inline_5178_label$$inline_5179_openBracketIndex_subIdElement$$6$$ = this.$_returnButtonElement$($buttonId$$13_component$$2448_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5180$$)) : ($addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5181_openBracketFirstIndex$$inline_5176$$ = $AdfDhtmlQueryPeer$$.$_SUB_ID_MAP_UNIFIED_BUTTON_DIALOG$[$menuItemSubId$$inline_5182_subComponent$$6_subElementId$$48_subElementId$$inline_5173_subIdMap$$inline_5183$$], 
  $closeBracketFirstIndex$$inline_5178_label$$inline_5179_openBracketIndex_subIdElement$$6$$ = $AdfSubIdUtils$$.$getSubIdElementById$($buttonId$$13_component$$2448_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5180$$, $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5181_openBracketFirstIndex$$inline_5176$$, !0)));
  $nestedSubElementId$$5$$ && $closeBracketFirstIndex$$inline_5178_label$$inline_5179_openBracketIndex_subIdElement$$6$$ && ($buttonId$$13_component$$2448_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5180$$ = $closeBracketFirstIndex$$inline_5178_label$$inline_5179_openBracketIndex_subIdElement$$6$$.id) && (($menuItemSubId$$inline_5182_subComponent$$6_subElementId$$48_subElementId$$inline_5173_subIdMap$$inline_5183$$ = $AdfPage$$.$PAGE$.$findComponent$($buttonId$$13_component$$2448_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5180$$)) ? 
  $closeBracketFirstIndex$$inline_5178_label$$inline_5179_openBracketIndex_subIdElement$$6$$ = $menuItemSubId$$inline_5182_subComponent$$6_subElementId$$48_subElementId$$inline_5173_subIdMap$$inline_5183$$.$getPeer$().$getSubIdDomElement$($menuItemSubId$$inline_5182_subComponent$$6_subElementId$$48_subElementId$$inline_5173_subIdMap$$inline_5183$$, $nestedSubElementId$$5$$) : $AdfLogger$$.$LOGGER$.warning("component: ", $buttonId$$13_component$$2448_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5180$$, 
  " doesn't exist for this subid:", $subElementIdLocator$$6$$));
  $closeBracketFirstIndex$$inline_5178_label$$inline_5179_openBracketIndex_subIdElement$$6$$ || $AdfLogger$$.$LOGGER$.warning("Sub Id doesn't exist for this component:", $subElementIdLocator$$6$$);
  return $closeBracketFirstIndex$$inline_5178_label$$inline_5179_openBracketIndex_subIdElement$$6$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQueryPeer.prototype.GetSubIdDomElement", {$GetSubIdDomElement$:$AdfDhtmlQueryPeer$$.prototype.$GetSubIdDomElement$});
$AdfDhtmlQueryPeer$$.prototype.$GetDomElementSubId$ = function $$AdfDhtmlQueryPeer$$$$$GetDomElementSubId$$($subIdElement$$7$$) {
  if (!$subIdElement$$7$$) {
    return null;
  }
  var $isValueComponent_subElementId$$49$$ = $subIdElement$$7$$.id, $isNestedComponentSubId_nestedSubComponentClientId_peer$$224$$ = !1, $queryComponentClientId_subComponent$$7_subComponentId$$12$$ = $AdfRichUIPeer$$.$getFirstAncestorComponent$($subIdElement$$7$$);
  !$queryComponentClientId_subComponent$$7_subComponentId$$12$$ || $queryComponentClientId_subComponent$$7_subComponentId$$12$$ instanceof AdfRichQuery || ($queryComponentClientId_subComponent$$7_subComponentId$$12$$ = $queryComponentClientId_subComponent$$7_subComponentId$$12$$.$getClientId$(), $isNestedComponentSubId_nestedSubComponentClientId_peer$$224$$ = $isValueComponent_subElementId$$49$$ != $queryComponentClientId_subComponent$$7_subComponentId$$12$$, $isValueComponent_subElementId$$49$$ = 
  $queryComponentClientId_subComponent$$7_subComponentId$$12$$);
  if ($isValueComponent_subElementId$$49$$) {
    var $queryComponentClientId_subComponent$$7_subComponentId$$12$$ = this.$getComponent$().$getClientId$(), $prunedClientId$$inline_5185_prunedSubElementId$$ = $isValueComponent_subElementId$$49$$.substring($queryComponentClientId_subComponent$$7_subComponentId$$12$$.length);
    if ($prunedClientId$$inline_5185_prunedSubElementId$$) {
      var $isValueComponent_subElementId$$49$$ = -1 < $prunedClientId$$inline_5185_prunedSubElementId$$.indexOf($AdfDhtmlQueryPeer$$.$_CRITERION_VALUE_SUBID$), $clientId$$inline_5187_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5190_subIdLocator$$ = -1 < $prunedClientId$$inline_5185_prunedSubElementId$$.indexOf($AdfDhtmlQueryPeer$$.$_REORDER_TREE_SUBID$), $isDoubleColonSeparator$$ = ":" == $prunedClientId$$inline_5185_prunedSubElementId$$.charAt(1);
      ":" == $prunedClientId$$inline_5185_prunedSubElementId$$.charAt(0) && ($prunedClientId$$inline_5185_prunedSubElementId$$ = $prunedClientId$$inline_5185_prunedSubElementId$$.substring(1));
      ":" == $prunedClientId$$inline_5185_prunedSubElementId$$.charAt(0) && ($prunedClientId$$inline_5185_prunedSubElementId$$ = $prunedClientId$$inline_5185_prunedSubElementId$$.substring(1));
      var $startCharIndex$$inline_5189_subIdFragment$$ = "", $isNestedValueComponent$$ = !1;
      if ($clientId$$inline_5187_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5190_subIdLocator$$) {
        if ($clientId$$inline_5187_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5190_subIdLocator$$ = $prunedClientId$$inline_5185_prunedSubElementId$$.match(/\d+/)) {
          return $clientId$$inline_5187_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5190_subIdLocator$$ = $clientId$$inline_5187_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5190_subIdLocator$$.toString(), "reorderTree[" + $clientId$$inline_5187_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5190_subIdLocator$$ + "]";
        }
      } else {
        if ($isValueComponent_subElementId$$49$$) {
          var $clientId$$inline_5187_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5190_subIdLocator$$ = $prunedClientId$$inline_5185_prunedSubElementId$$, $isNestedComponent_prunedClientIdCharArray$$inline_5191_subIdFragment$$inline_5188$$ = ":" + $AdfDhtmlQueryPeer$$.$_CRITERION_VALUE_SUBID$, $startCharIndex$$inline_5189_subIdFragment$$ = $clientId$$inline_5187_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5190_subIdLocator$$.indexOf($isNestedComponent_prunedClientIdCharArray$$inline_5191_subIdFragment$$inline_5188$$), 
          $startCharIndex$$inline_5189_subIdFragment$$ = $startCharIndex$$inline_5189_subIdFragment$$ + $isNestedComponent_prunedClientIdCharArray$$inline_5191_subIdFragment$$inline_5188$$.length, $clientId$$inline_5187_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5190_subIdLocator$$ = $clientId$$inline_5187_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5190_subIdLocator$$.substring($startCharIndex$$inline_5189_subIdFragment$$, $clientId$$inline_5187_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5190_subIdLocator$$.length), 
          $isNestedComponent_prunedClientIdCharArray$$inline_5191_subIdFragment$$inline_5188$$ = $clientId$$inline_5187_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5190_subIdLocator$$.split(""), $count$$inline_5192$$;
          for ($count$$inline_5192$$ = 0;$count$$inline_5192$$ < $clientId$$inline_5187_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5190_subIdLocator$$.length && !isNaN($isNestedComponent_prunedClientIdCharArray$$inline_5191_subIdFragment$$inline_5188$$[$count$$inline_5192$$]);$count$$inline_5192$$++) {
          }
          $startCharIndex$$inline_5189_subIdFragment$$ = $prunedClientId$$inline_5185_prunedSubElementId$$.substring(0, $startCharIndex$$inline_5189_subIdFragment$$ + $count$$inline_5192$$);
          $startCharIndex$$inline_5189_subIdFragment$$.length < $prunedClientId$$inline_5185_prunedSubElementId$$.length && ($isNestedValueComponent$$ = !0);
        }
      }
      $clientId$$inline_5187_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5190_subIdLocator$$ = $prunedClientId$$inline_5185_prunedSubElementId$$.indexOf(":");
      ($isNestedComponent_prunedClientIdCharArray$$inline_5191_subIdFragment$$inline_5188$$ = -1 < $clientId$$inline_5187_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5190_subIdLocator$$) && ($prunedClientId$$inline_5185_prunedSubElementId$$ = $prunedClientId$$inline_5185_prunedSubElementId$$.substring(0, $clientId$$inline_5187_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5190_subIdLocator$$));
      $clientId$$inline_5187_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5190_subIdLocator$$ = "";
      $clientId$$inline_5187_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5190_subIdLocator$$ = $isValueComponent_subElementId$$49$$ ? $JSCompiler_StaticMethods__getSubIdFromPrunedClientId$$(this, $startCharIndex$$inline_5189_subIdFragment$$) : $JSCompiler_StaticMethods__getSubIdFromPrunedClientId$$(this, $prunedClientId$$inline_5185_prunedSubElementId$$);
      if ($isNestedComponent_prunedClientIdCharArray$$inline_5191_subIdFragment$$inline_5188$$ || $isNestedValueComponent$$ || $isNestedComponentSubId_nestedSubComponentClientId_peer$$224$$) {
        $isNestedComponentSubId_nestedSubComponentClientId_peer$$224$$ = $queryComponentClientId_subComponent$$7_subComponentId$$12$$ + ":";
        $isDoubleColonSeparator$$ && ($isNestedComponentSubId_nestedSubComponentClientId_peer$$224$$ += ":");
        $isNestedComponentSubId_nestedSubComponentClientId_peer$$224$$ = $isValueComponent_subElementId$$49$$ ? $isNestedComponentSubId_nestedSubComponentClientId_peer$$224$$ + $startCharIndex$$inline_5189_subIdFragment$$ : $isNestedComponentSubId_nestedSubComponentClientId_peer$$224$$ + $prunedClientId$$inline_5185_prunedSubElementId$$;
        if ($queryComponentClientId_subComponent$$7_subComponentId$$12$$ = $AdfPage$$.$PAGE$.$findComponent$($isNestedComponentSubId_nestedSubComponentClientId_peer$$224$$)) {
          return $isNestedComponentSubId_nestedSubComponentClientId_peer$$224$$ = $queryComponentClientId_subComponent$$7_subComponentId$$12$$.$getPeer$(), $clientId$$inline_5187_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5190_subIdLocator$$ + "#" + $isNestedComponentSubId_nestedSubComponentClientId_peer$$224$$.$GetBestMatchSubId$($subIdElement$$7$$);
        }
        $AdfLogger$$.$LOGGER$.warning("component: ", clientId, " doesn't exist for this subid:", $isNestedComponentSubId_nestedSubComponentClientId_peer$$224$$);
      }
      return $clientId$$inline_5187_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5190_subIdLocator$$;
    }
  }
  return null;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQueryPeer.prototype.GetDomElementSubId", {$GetDomElementSubId$:$AdfDhtmlQueryPeer$$.prototype.$GetDomElementSubId$});
function $JSCompiler_StaticMethods__getSubIdFromPrunedClientId$$($JSCompiler_StaticMethods__getSubIdFromPrunedClientId$self$$, $clientId$$526$$) {
  var $indexOfSep$$inline_5198_newClientId$$4_prunedClientId$$inline_5195$$ = $AdfDhtmlQueryPeer$$.$_OLD_INTERNAL_SUBID_MAP$[$clientId$$526$$];
  $indexOfSep$$inline_5198_newClientId$$4_prunedClientId$$inline_5195$$ && ($clientId$$526$$ = $indexOfSep$$inline_5198_newClientId$$4_prunedClientId$$inline_5195$$);
  if ("value" == $clientId$$526$$.substring(0, 5)) {
    return "criterion_value[" + $clientId$$526$$.substring(5) + "]";
  }
  if ("val" == $clientId$$526$$.substring(0, 3)) {
    return "criterion_value[" + $clientId$$526$$.substring(3) + "]";
  }
  if ("operator" == $clientId$$526$$.substring(0, 8)) {
    return "criterion_operator[" + $clientId$$526$$.substring(8) + "]";
  }
  if ("oper" == $clientId$$526$$.substring(0, 4)) {
    return "criterion_operator[" + $clientId$$526$$.substring(4) + "]";
  }
  if ("deleteCriterion" == $clientId$$526$$.substring(0, 15)) {
    return "deleteCriterion[" + $clientId$$526$$.substring(15) + "]";
  }
  if ("delCrtn" == $clientId$$526$$.substring(0, 7)) {
    return "deleteCriterion[" + $clientId$$526$$.substring(7) + "]";
  }
  if ("fldItem" == $clientId$$526$$.substring(0, 7) || "adFldGrpMenu" == $clientId$$526$$.substring(0, 12) || "adFldGrpAddAllItem" == $clientId$$526$$.substring(0, 18)) {
    var $JSCompiler_inline_result$$284_key$$inline_5197$$;
    a: {
      var $indexOfSep$$inline_5198_newClientId$$4_prunedClientId$$inline_5195$$ = $clientId$$526$$, $prop$$20_subId$$inline_5199_subIdMap$$inline_5196$$ = $JSCompiler_StaticMethods__evaluateAddFieldsExpandoScript$$($JSCompiler_StaticMethods__getSubIdFromPrunedClientId$self$$);
      if ($prop$$20_subId$$inline_5199_subIdMap$$inline_5196$$) {
        for ($JSCompiler_inline_result$$284_key$$inline_5197$$ in $prop$$20_subId$$inline_5199_subIdMap$$inline_5196$$) {
          if ($prop$$20_subId$$inline_5199_subIdMap$$inline_5196$$[$JSCompiler_inline_result$$284_key$$inline_5197$$] == $indexOfSep$$inline_5198_newClientId$$4_prunedClientId$$inline_5195$$) {
            $indexOfSep$$inline_5198_newClientId$$4_prunedClientId$$inline_5195$$ = $JSCompiler_inline_result$$284_key$$inline_5197$$.indexOf($AdfDhtmlQueryPeer$$.$_ADD_FIELDS_MENU_SEPARATOR$);
            if (-1 < $indexOfSep$$inline_5198_newClientId$$4_prunedClientId$$inline_5195$$) {
              $prop$$20_subId$$inline_5199_subIdMap$$inline_5196$$ = $JSCompiler_inline_result$$284_key$$inline_5197$$.substring($indexOfSep$$inline_5198_newClientId$$4_prunedClientId$$inline_5195$$ + $AdfDhtmlQueryPeer$$.$_ADD_FIELDS_MENU_SEPARATOR$.length);
              $JSCompiler_inline_result$$284_key$$inline_5197$$ = "ALL_FIELDS" == $prop$$20_subId$$inline_5199_subIdMap$$inline_5196$$ ? "addFields['" + $JSCompiler_inline_result$$284_key$$inline_5197$$.substring(0, $indexOfSep$$inline_5198_newClientId$$4_prunedClientId$$inline_5195$$) + "'][ALL_FIELDS]" : "addFields['" + $JSCompiler_inline_result$$284_key$$inline_5197$$.substring(0, $indexOfSep$$inline_5198_newClientId$$4_prunedClientId$$inline_5195$$) + "']['" + $prop$$20_subId$$inline_5199_subIdMap$$inline_5196$$ + 
              "']";
              break a;
            }
            $JSCompiler_inline_result$$284_key$$inline_5197$$ = "addFields['" + $JSCompiler_inline_result$$284_key$$inline_5197$$ + "']";
            break a;
          }
        }
      }
      $JSCompiler_inline_result$$284_key$$inline_5197$$ = void 0;
    }
    return $JSCompiler_inline_result$$284_key$$inline_5197$$;
  }
  for ($prop$$20_subId$$inline_5199_subIdMap$$inline_5196$$ in $AdfDhtmlQueryPeer$$.$_SUB_ID_MAP$) {
    if ($AdfDhtmlQueryPeer$$.$_SUB_ID_MAP$[$prop$$20_subId$$inline_5199_subIdMap$$inline_5196$$] == $clientId$$526$$) {
      return $prop$$20_subId$$inline_5199_subIdMap$$inline_5196$$;
    }
  }
  for ($prop$$20_subId$$inline_5199_subIdMap$$inline_5196$$ in $AdfDhtmlQueryPeer$$.$_SUB_ID_MAP_UNIFIED_BUTTON_DIALOG$) {
    if ($AdfDhtmlQueryPeer$$.$_SUB_ID_MAP_UNIFIED_BUTTON_DIALOG$[$prop$$20_subId$$inline_5199_subIdMap$$inline_5196$$] == $clientId$$526$$) {
      return $prop$$20_subId$$inline_5199_subIdMap$$inline_5196$$;
    }
  }
  return -1 < $clientId$$526$$.indexOf("search") ? "search_button" : -1 < $clientId$$526$$.indexOf("reset") ? "reset_button" : -1 < $clientId$$526$$.indexOf("save") ? "save_button" : -1 < $clientId$$526$$.indexOf("mode") ? "mode_button" : -1 < $clientId$$526$$.indexOf("reorder") ? "reorderButton" : -1 < $clientId$$526$$.indexOf("dlgSS_ok") ? "saveSearch_dialog#ok_button" : -1 < $clientId$$526$$.indexOf("dlgSS_cancel") ? "saveSearch_dialog#cancel_button" : -1 < $clientId$$526$$.indexOf("dlgPSS_ok") ? 
  "personalizeSearch_dialog#ok_button" : -1 < $clientId$$526$$.indexOf("dlgPSS_cancel") ? "personalizeSearch_dialog#cancel_button" : -1 < $clientId$$526$$.indexOf("REDlg_ok") ? "reorderDialog#ok_button" : -1 < $clientId$$526$$.indexOf("REDlg_cancel") ? "reorderDialog#cancel_button" : null;
}
function $JSCompiler_StaticMethods__evaluateAddFieldsExpandoScript$$($JSCompiler_StaticMethods__evaluateAddFieldsExpandoScript$self_addFldExpando_component$$2450_subIdMap$$5$$) {
  $JSCompiler_StaticMethods__evaluateAddFieldsExpandoScript$self_addFldExpando_component$$2450_subIdMap$$5$$ = $JSCompiler_StaticMethods__evaluateAddFieldsExpandoScript$self_addFldExpando_component$$2450_subIdMap$$5$$.$getComponent$();
  if ($JSCompiler_StaticMethods__evaluateAddFieldsExpandoScript$self_addFldExpando_component$$2450_subIdMap$$5$$ = $AdfAgent$$.$AGENT$.getElementById($AdfRichUIPeer$$.$CreateSubId$($JSCompiler_StaticMethods__evaluateAddFieldsExpandoScript$self_addFldExpando_component$$2450_subIdMap$$5$$.$getClientId$(), "addFldExId"))) {
    if ($JSCompiler_StaticMethods__evaluateAddFieldsExpandoScript$self_addFldExpando_component$$2450_subIdMap$$5$$ = $JSCompiler_StaticMethods__evaluateAddFieldsExpandoScript$self_addFldExpando_component$$2450_subIdMap$$5$$.getAttribute("data-afr-addFldSubIds")) {
      return eval("var _SUB_ID_MAP_ADD_FIELDS \x3d" + $JSCompiler_StaticMethods__evaluateAddFieldsExpandoScript$self_addFldExpando_component$$2450_subIdMap$$5$$ + ";"), _SUB_ID_MAP_ADD_FIELDS;
    }
  }
  return null;
}
$AdfDhtmlQueryPeer$$.prototype.$_returnButtonElement$ = function $$AdfDhtmlQueryPeer$$$$$_returnButtonElement$$($buttonId$$14_buttonPeer$$1$$) {
  var $component$$2451$$ = this.$getComponent$();
  if ("old" != $AdfPage$$.$PAGE$.$getLookAndFeel$().$getSkinProperty$("af|query-tr-button-type") || "reorder" == $buttonId$$14_buttonPeer$$1$$) {
    var $buttonComp$$1$$ = $component$$2451$$.$findComponent$("_" + $buttonId$$14_buttonPeer$$1$$);
    null == $buttonComp$$1$$ && ($buttonComp$$1$$ = $component$$2451$$.$findComponent$($buttonId$$14_buttonPeer$$1$$));
    return null != $buttonComp$$1$$ ? ($buttonId$$14_buttonPeer$$1$$ = $buttonComp$$1$$.$getPeer$(), $buttonId$$14_buttonPeer$$1$$.bind($buttonComp$$1$$), $buttonId$$14_buttonPeer$$1$$.$getDomElement$()) : null;
  }
  return $AdfSubIdUtils$$.$getSubIdElementById$($component$$2451$$, $buttonId$$14_buttonPeer$$1$$);
};
$AdfDhtmlQueryPeer$$.prototype.$GetBestMatchSubId$ = function $$AdfDhtmlQueryPeer$$$$$GetBestMatchSubId$$($domElement$$674$$) {
  return this.$GetDomElementSubId$($domElement$$674$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQueryPeer.prototype.GetBestMatchSubId", {$GetBestMatchSubId$:$AdfDhtmlQueryPeer$$.prototype.$GetBestMatchSubId$});
$AdfDhtmlQueryPeer$$.$_BUTTON_ID_MAP$ = {search_button:"search", reset_button:"reset", save_button:"save", mode_button:"mode", reorderButton:"reorder"};
$AdfDhtmlQueryPeer$$.$_OLD_INTERNAL_SUBID_MAP$ = {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"};
