$AdfDhtmlQuickQueryPeer$$.$_SUB_ID_MAP$ = {criteria_items:"criteriaItems", search_icon:"search_icon"};
$AdfDhtmlQuickQueryPeer$$.prototype.$GetSubIdDomElement$ = function $$AdfDhtmlQuickQueryPeer$$$$$GetSubIdDomElement$$($subElementIdLocator$$7$$) {
  $AdfAssert$$.$assertNonEmptyString$($subElementIdLocator$$7$$);
  var $nestedSubelementClientId$$4_subElementId$$51_subId$$59$$ = $subElementIdLocator$$7$$, $nestedSubElementId$$6$$, $peer$$225_startIndex$$28_subIdElement$$8$$ = $subElementIdLocator$$7$$.indexOf("#");
  -1 < $peer$$225_startIndex$$28_subIdElement$$8$$ && ($nestedSubelementClientId$$4_subElementId$$51_subId$$59$$ = $subElementIdLocator$$7$$.substring(0, $peer$$225_startIndex$$28_subIdElement$$8$$), $AdfAssert$$.$assertNonEmptyString$($nestedSubelementClientId$$4_subElementId$$51_subId$$59$$), $nestedSubElementId$$6$$ = $subElementIdLocator$$7$$.substring($peer$$225_startIndex$$28_subIdElement$$8$$ + 1));
  var $peer$$225_startIndex$$28_subIdElement$$8$$ = null, $childElems$$2_component$$2452_componentId$$60$$ = this.$getComponent$(), $count$$43_domElem$$13$$ = $AdfSubIdUtils$$.$getSubIdDomElementByMappedSubId$($nestedSubelementClientId$$4_subElementId$$51_subId$$59$$, $AdfDhtmlQuickQueryPeer$$.$_SUB_ID_MAP$, $childElems$$2_component$$2452_componentId$$60$$);
  if ($count$$43_domElem$$13$$) {
    $peer$$225_startIndex$$28_subIdElement$$8$$ = $count$$43_domElem$$13$$;
  } else {
    if ("criterion_value" == $nestedSubelementClientId$$4_subElementId$$51_subId$$59$$) {
      for (var $childElems$$2_component$$2452_componentId$$60$$ = $childElems$$2_component$$2452_componentId$$60$$.$getClientId$(), $nestedSubelementClientId$$4_subElementId$$51_subId$$59$$ = $childElems$$2_component$$2452_componentId$$60$$ + ":criterionValue", $childElems$$2_component$$2452_componentId$$60$$ = $AdfAgent$$.$getAgent$().getElementById($childElems$$2_component$$2452_componentId$$60$$).getElementsByTagName("*"), $inputComponentElem_subComponent$$8$$, $count$$43_domElem$$13$$ = 0;$count$$43_domElem$$13$$ < 
      $childElems$$2_component$$2452_componentId$$60$$.length;$count$$43_domElem$$13$$++) {
        if (-1 != $childElems$$2_component$$2452_componentId$$60$$[$count$$43_domElem$$13$$].id.indexOf($nestedSubelementClientId$$4_subElementId$$51_subId$$59$$)) {
          $inputComponentElem_subComponent$$8$$ = $childElems$$2_component$$2452_componentId$$60$$[$count$$43_domElem$$13$$];
          break;
        }
      }
      $inputComponentElem_subComponent$$8$$ && ($peer$$225_startIndex$$28_subIdElement$$8$$ = $inputComponentElem_subComponent$$8$$);
    }
  }
  $nestedSubElementId$$6$$ && $peer$$225_startIndex$$28_subIdElement$$8$$ && ($nestedSubelementClientId$$4_subElementId$$51_subId$$59$$ = $peer$$225_startIndex$$28_subIdElement$$8$$.id) && (($inputComponentElem_subComponent$$8$$ = $AdfPage$$.$PAGE$.$findComponent$($nestedSubelementClientId$$4_subElementId$$51_subId$$59$$)) ? ($peer$$225_startIndex$$28_subIdElement$$8$$ = $inputComponentElem_subComponent$$8$$.$getPeer$(), $peer$$225_startIndex$$28_subIdElement$$8$$.bind($inputComponentElem_subComponent$$8$$), 
  $peer$$225_startIndex$$28_subIdElement$$8$$ = $peer$$225_startIndex$$28_subIdElement$$8$$.$getSubIdDomElement$($inputComponentElem_subComponent$$8$$, $nestedSubElementId$$6$$)) : $AdfLogger$$.$LOGGER$.warning("component: ", $nestedSubelementClientId$$4_subElementId$$51_subId$$59$$, " doesn't exist for this subid:", $subElementIdLocator$$7$$));
  $peer$$225_startIndex$$28_subIdElement$$8$$ || $AdfLogger$$.$LOGGER$.warning("Sub Id doesn't exist for this component:", $subElementIdLocator$$7$$);
  return $peer$$225_startIndex$$28_subIdElement$$8$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQuickQueryPeer.prototype.GetSubIdDomElement", {$GetSubIdDomElement$:$AdfDhtmlQuickQueryPeer$$.prototype.$GetSubIdDomElement$});
$AdfDhtmlQuickQueryPeer$$.prototype.$GetBestMatchSubId$ = function $$AdfDhtmlQuickQueryPeer$$$$$GetBestMatchSubId$$($domElement$$675_nestedLocator$$) {
  var $subId$$60$$ = $AdfSubIdUtils$$.$getBestMatchSubId$($domElement$$675_nestedLocator$$, this, $AdfDhtmlQuickQueryPeer$$.$_SUB_ID_MAP$);
  if ($subId$$60$$) {
    "criteria_items" == $subId$$60$$ && ($clientId$$527$$ = $domElement$$675_nestedLocator$$.id, -1 != $clientId$$527$$.indexOf(":criteriaItems") && ($nestedSubIdIndex$$1$$ = $JSCompiler_StaticMethods__getNestedSubIdIndex$$($clientId$$527$$, ":criteriaItems"), $nestedSubId$$ = $clientId$$527$$.substring($nestedSubIdIndex$$1$$, $clientId$$527$$.length), 0 < $nestedSubId$$.length && ($clientId$$527$$ = $clientId$$527$$.substring(0, $nestedSubIdIndex$$1$$), ($domElement$$675_nestedLocator$$ = $JSCompiler_StaticMethods__getNestedComponentSubId$$($clientId$$527$$, 
    $domElement$$675_nestedLocator$$, $nestedSubId$$)) && ($subId$$60$$ = "criteria_items#" + $domElement$$675_nestedLocator$$)), $subId$$60$$ || ($subId$$60$$ = "criteria_items")));
  } else {
    var $clientId$$527$$ = $domElement$$675_nestedLocator$$.id;
    if (-1 != $clientId$$527$$.indexOf(":criterionValue")) {
      var $nestedSubIdIndex$$1$$ = $JSCompiler_StaticMethods__getNestedSubIdIndex$$($clientId$$527$$, ":criterionValue"), $nestedSubId$$ = $clientId$$527$$.substring($nestedSubIdIndex$$1$$, $clientId$$527$$.length);
      0 < $nestedSubId$$.length && ($clientId$$527$$ = $clientId$$527$$.substring(0, $nestedSubIdIndex$$1$$), ($domElement$$675_nestedLocator$$ = $JSCompiler_StaticMethods__getNestedComponentSubId$$($clientId$$527$$, $domElement$$675_nestedLocator$$, $nestedSubId$$)) && ($subId$$60$$ = "criterion_value#" + $domElement$$675_nestedLocator$$));
      $subId$$60$$ || ($subId$$60$$ = "criterion_value");
    }
  }
  return $subId$$60$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQuickQueryPeer.prototype.GetBestMatchSubId", {$GetBestMatchSubId$:$AdfDhtmlQuickQueryPeer$$.prototype.$GetBestMatchSubId$});
function $JSCompiler_StaticMethods__getNestedComponentSubId$$($nestedComponentClientId$$1_peer$$226$$, $domElement$$676$$, $nestedSubId$$1$$) {
  var $subComponent$$9$$ = $AdfPage$$.$PAGE$.$findComponent$($nestedComponentClientId$$1_peer$$226$$), $subId$$61$$ = null;
  $subComponent$$9$$ ? ($nestedComponentClientId$$1_peer$$226$$ = $subComponent$$9$$.$getPeer$(), $nestedComponentClientId$$1_peer$$226$$.bind($subComponent$$9$$), $subId$$61$$ = $nestedComponentClientId$$1_peer$$226$$.$GetBestMatchSubId$($domElement$$676$$)) : $AdfLogger$$.$LOGGER$.warning("component: ", $nestedComponentClientId$$1_peer$$226$$, " doesn't exist for this subid:", $nestedSubId$$1$$);
  return $subId$$61$$;
}
function $JSCompiler_StaticMethods__getNestedSubIdIndex$$($clientId$$528$$, $subClientId$$) {
  var $startCharIndex$$1$$ = $clientId$$528$$.indexOf($subClientId$$), $startCharIndex$$1$$ = $startCharIndex$$1$$ + $subClientId$$.length, $prunedClientId$$3$$ = $clientId$$528$$.substring($startCharIndex$$1$$, $clientId$$528$$.length), $prunedClientIdCharArray$$1$$ = $prunedClientId$$3$$.split(""), $count$$44$$;
  for ($count$$44$$ = 0;$count$$44$$ < $prunedClientId$$3$$.length && !isNaN($prunedClientIdCharArray$$1$$[$count$$44$$]);$count$$44$$++) {
  }
  return $startCharIndex$$1$$ + $count$$44$$;
}
;