var $AdfDhtmlInputSearchPeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfDhtmlInputBasePeer$$, "AdfDhtmlInputSearchPeer", !1);
$goog$exportSymbol$$("AdfDhtmlInputSearchPeer", $AdfDhtmlInputSearchPeer$$);
$AdfDhtmlInputSearchPeer$$.$InitSubclass$ = function $$AdfDhtmlInputSearchPeer$$$$InitSubclass$$() {
  $AdfObject$$.$ensureClassInitialization$(AdfRichPopup);
  $AdfObject$$.$ensureClassInitialization$($AdfRestDataService$$);
  $AdfObject$$.$ensureClassInitialization$($AdfInputSearchScrollManager$$);
  $AdfObject$$.$ensureClassInitialization$($AdfInputSearchScoreUtils$$);
  $AdfObject$$.$ensureClassInitialization$($AdfInputSearchMruCache$$);
  $AdfObject$$.$ensureClassInitialization$($AdfPreferredSuggestionsManager$$);
  $AdfObject$$.$ensureClassInitialization$($AdfSuggestionsContainer$$);
  $AdfObject$$.$ensureClassInitialization$($AdfSuggestionsPanel$$);
  $AdfObject$$.$ensureClassInitialization$($AdfToolbarPanel$$);
  $AdfObject$$.$ensureClassInitialization$($AdfDhtmlSuggestionsSectionPeer$$);
  $AdfRichUIPeer$$.$addComponentEventHandlers$(this, $AdfUIInputEvent$$.$CLICK_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_DOWN_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_UP_EVENT_TYPE$, $AdfUIInputEvent$$.$FOCUS_EVENT_TYPE$);
  this.$SELECTION_PROPERTY$ = "_selection";
  this.$_VALUE_ATTRIBUTE_DATA_TYPE$ = "_valJsType";
  $AdfRichUIPeer$$.$addComponentPropertyGetters$(this, AdfRichInputSearch.LABEL);
  $AdfRichUIPeer$$.$addComponentPropertyChanges$(this, AdfRichInputSearch.LABEL, this.$_VALUE_ATTRIBUTE_DATA_TYPE$);
  this.$_CUSTOM_NAME_EXPANDO$ = "data-afr-name";
  this.$_SUGGESTIONS_POPUP_SUB_ID$ = "suggestions-popup";
  this.$__CONTENT_MODE_TABLE$ = "TABLE";
  this.$__SELECTION_MODE_MULTIPLE$ = "MULTIPLE";
  this.$__SEARCH_SECTION_TYPE_DEFAULT$ = "default";
  this.$_VALUE_UPDATING_STYLE_CLASS$ = "p_AFValueUpdating";
  this.$__SUGGESTIONS_RENDERING_CHUNK_SIZE$ = 300;
  this.$_SPECIAL_CHARS_REGEX_STR$ = "~`!@#$%^\x26*()_+{}|:;\"'\x3c,\x3e.?/[\\]\\-\\\\";
};
$goog$exportSymbol$$("AdfDhtmlInputSearchPeer.InitSubclass", $AdfDhtmlInputSearchPeer$$.$InitSubclass$);
$AdfDhtmlInputSearchPeer$$.prototype.$InitDomElement$ = function $$AdfDhtmlInputSearchPeer$$$$$InitDomElement$$($component$$1402$$, $element$$242$$) {
  this.$BindToComponent$($component$$1402$$, $element$$242$$);
  $AdfDhtmlInputSearchPeer$$.$superclass$.$InitDomElement$.call(this, $component$$1402$$, $element$$242$$);
  this.$_suggestionsContainer$ = new $AdfSuggestionsContainer$$(this);
  this.$_toolbarPanel$ = new $AdfToolbarPanel$$(this);
  if (!$AdfInputSearchUtils$isReadOnlyOrDisabled$$($component$$1402$$)) {
    var $contentNode$$57$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1402$$, $element$$242$$);
    $AdfDhtmlInputBasePeer$$.$setLastValue$($contentNode$$57$$);
    $AdfDhtmlInputSearchPeer$$.$_setIdOnLabelElement$($component$$1402$$, $contentNode$$57$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.InitDomElement", {$InitDomElement$:$AdfDhtmlInputSearchPeer$$.prototype.$InitDomElement$});
$AdfDhtmlInputSearchPeer$$.prototype.$compareValues$ = function $$AdfDhtmlInputSearchPeer$$$$$compareValues$$($oldValues$$1$$, $newValues$$4$$) {
  $newValues$$4$$ || ($newValues$$4$$ = []);
  $AdfAssert$$.$assertArray$($oldValues$$1$$);
  $AdfAssert$$.$assertArray$($newValues$$4$$);
  if ($newValues$$4$$ == $oldValues$$1$$) {
    return !0;
  }
  if ($newValues$$4$$.length != $oldValues$$1$$.length) {
    return !1;
  }
  for (var $i$$332$$ = 0, $len$$17$$ = $newValues$$4$$.length;$i$$332$$ < $len$$17$$;$i$$332$$++) {
    if (-1 == $oldValues$$1$$.indexOf($newValues$$4$$[$i$$332$$])) {
      return !1;
    }
  }
  return !0;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.compareValues", {$compareValues$:$AdfDhtmlInputSearchPeer$$.prototype.$compareValues$});
$AdfDhtmlInputSearchPeer$$.prototype.$getDisplayedValue$ = function $$AdfDhtmlInputSearchPeer$$$$$getDisplayedValue$$($component$$1403$$) {
  return this.$GetDisplayValue$($component$$1403$$, this.$getDomElement$());
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.getDisplayedValue", {$getDisplayedValue$:$AdfDhtmlInputSearchPeer$$.prototype.$getDisplayedValue$});
$AdfDhtmlInputSearchPeer$$.prototype.$getSearchSections$ = function $$AdfDhtmlInputSearchPeer$$$$$getSearchSections$$($component$$1404_searchSections$$2$$) {
  $component$$1404_searchSections$$2$$ = $AdfInputSearchUtils$getChildrenSection$$($component$$1404_searchSections$$2$$, AdfRichSearchSection);
  for (var $searchSectionMap$$ = {}, $i$$333$$ = 0, $length$$61$$ = $component$$1404_searchSections$$2$$.length;$i$$333$$ < $length$$61$$;$i$$333$$++) {
    var $searchSection$$8$$ = $component$$1404_searchSections$$2$$[$i$$333$$];
    $searchSectionMap$$[$searchSection$$8$$.getType()] = $searchSection$$8$$;
  }
  return $searchSectionMap$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.getSearchSections", {$getSearchSections$:$AdfDhtmlInputSearchPeer$$.prototype.$getSearchSections$});
$AdfDhtmlInputSearchPeer$$.prototype.$getSuggestions$ = function $$AdfDhtmlInputSearchPeer$$$$$getSuggestions$$() {
  var $displayedSuggestions$$2$$ = this.$GetSuggestionsPanel$().$getDisplayedSuggestions$();
  return $displayedSuggestions$$2$$ && $displayedSuggestions$$2$$.$getArray$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.getSuggestions", {$getSuggestions$:$AdfDhtmlInputSearchPeer$$.prototype.$getSuggestions$});
$AdfDhtmlInputSearchPeer$$.prototype.$getConvertedObject$ = function $$AdfDhtmlInputSearchPeer$$$$$getConvertedObject$$($component$$1405$$, $newValues$$5$$) {
  $AdfAssert$$.$assertArray$($newValues$$5$$);
  var $converter$$18$$ = $component$$1405$$.getConverter(), $hasConverter_suggestions$$17$$ = !(null == $converter$$18$$ || $converter$$18$$ instanceof $AdfMissingConverter$$), $isClientOnly$$ = $hasConverter_suggestions$$17$$ && $converter$$18$$.$isClientOnly$ && $converter$$18$$.$isClientOnly$();
  $hasConverter_suggestions$$17$$ && !$isClientOnly$$ ? $newValues$$5$$ = $AdfDhtmlInputSearchPeer$$.$_deriveDisplayValueFromConv$($component$$1405$$, $converter$$18$$, $newValues$$5$$) : (($hasConverter_suggestions$$17$$ = this.$GetSuggestionMapContainingSelections$()) || ($hasConverter_suggestions$$17$$ = new Map), $newValues$$5$$ = $AdfDhtmlInputSearchPeer$$.$_defaultDisplayValueDerivation$($component$$1405$$, $hasConverter_suggestions$$17$$, $newValues$$5$$), $isClientOnly$$ && ($newValues$$5$$ = 
  $JSCompiler_StaticMethods__doDisplayValueFormatting$$(this, $component$$1405$$, this.$getDomElement$(), $converter$$18$$, $newValues$$5$$)));
  return $newValues$$5$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.getConvertedObject", {$getConvertedObject$:$AdfDhtmlInputSearchPeer$$.prototype.$getConvertedObject$});
$AdfDhtmlInputSearchPeer$$.prototype.$getConvertedValue$ = function $$AdfDhtmlInputSearchPeer$$$$$getConvertedValue$$($component$$1406$$, $submittedValues$$) {
  $AdfAssert$$.$assertArray$($submittedValues$$);
  if ("Number" == $AdfDhtmlInputSearchPeer$$.$getValueAttributeType$($component$$1406$$)) {
    for (var $i$$334$$ = 0, $len$$18$$ = $submittedValues$$.length;$i$$334$$ < $len$$18$$;$i$$334$$++) {
      $submittedValues$$[$i$$334$$] = Number($submittedValues$$[$i$$334$$]);
    }
  }
  return $submittedValues$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.getConvertedValue", {$getConvertedValue$:$AdfDhtmlInputSearchPeer$$.prototype.$getConvertedValue$});
$AdfDhtmlInputSearchPeer$$.prototype.$ComponentValueChanged$ = function $$AdfDhtmlInputSearchPeer$$$$$ComponentValueChanged$$($component$$1407$$, $domElement$$292_hiddenValueElems$$inline_2118$$, $newValues$$6_newValues$$inline_2117$$, $contentContainer$$inline_2119_oldValues$$2$$) {
  $newValues$$6_newValues$$inline_2117$$ ? Array.prototype.isPrototypeOf($newValues$$6_newValues$$inline_2117$$) || ($newValues$$6_newValues$$inline_2117$$ = [$newValues$$6_newValues$$inline_2117$$]) : $newValues$$6_newValues$$inline_2117$$ = [];
  $AdfAssert$$.$assertArray$($contentContainer$$inline_2119_oldValues$$2$$);
  var $i$$inline_2120_suggestionMap$$8$$ = this.$GetSuggestionMapContainingSelections$($newValues$$6_newValues$$inline_2117$$);
  $AdfDhtmlInputSearchPeer$$.$_deriveAndSetSelection$($component$$1407$$, $newValues$$6_newValues$$inline_2117$$, $i$$inline_2120_suggestionMap$$8$$);
  var $length$$inline_2121_realNewValues$$ = this.$GetRealNewValues$($newValues$$6_newValues$$inline_2117$$, $contentContainer$$inline_2119_oldValues$$2$$);
  $AdfPreferredSuggestionsManager$$.add($component$$1407$$, $length$$inline_2121_realNewValues$$, $i$$inline_2120_suggestionMap$$8$$);
  $AdfDhtmlInputSearchPeer$$.$superclass$.$ComponentValueChanged$.call(this, $component$$1407$$, $domElement$$292_hiddenValueElems$$inline_2118$$, $newValues$$6_newValues$$inline_2117$$, $contentContainer$$inline_2119_oldValues$$2$$);
  $domElement$$292_hiddenValueElems$$inline_2118$$ = $AdfDhtmlInputSearchPeer$$.$_getHiddenValueElements$($component$$1407$$, $domElement$$292_hiddenValueElems$$inline_2118$$);
  $contentContainer$$inline_2119_oldValues$$2$$ = $AdfInputSearchUtils$getContentContainer$$($component$$1407$$);
  $i$$inline_2120_suggestionMap$$8$$ = 0;
  for ($length$$inline_2121_realNewValues$$ = $newValues$$6_newValues$$inline_2117$$.length;$i$$inline_2120_suggestionMap$$8$$ < $length$$inline_2121_realNewValues$$;$i$$inline_2120_suggestionMap$$8$$++) {
    var $hiddenValueElem$$inline_2122$$ = $domElement$$292_hiddenValueElems$$inline_2118$$[$i$$inline_2120_suggestionMap$$8$$];
    $hiddenValueElem$$inline_2122$$ || ($hiddenValueElem$$inline_2122$$ = $AdfDhtmlInputSearchPeer$$.$_createHiddenValueElement$($component$$1407$$, $contentContainer$$inline_2119_oldValues$$2$$));
    $hiddenValueElem$$inline_2122$$.value = $newValues$$6_newValues$$inline_2117$$[$i$$inline_2120_suggestionMap$$8$$];
  }
  for ($length$$inline_2121_realNewValues$$ = $domElement$$292_hiddenValueElems$$inline_2118$$.length;$i$$inline_2120_suggestionMap$$8$$ < $length$$inline_2121_realNewValues$$;$i$$inline_2120_suggestionMap$$8$$++) {
    $contentContainer$$inline_2119_oldValues$$2$$.removeChild($domElement$$292_hiddenValueElems$$inline_2118$$[$i$$inline_2120_suggestionMap$$8$$]);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.ComponentValueChanged", {$ComponentValueChanged$:$AdfDhtmlInputSearchPeer$$.prototype.$ComponentValueChanged$});
$AdfDhtmlInputSearchPeer$$.prototype.$LazyInitialize$ = function $$AdfDhtmlInputSearchPeer$$$$$LazyInitialize$$() {
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.LazyInitialize", {$LazyInitialize$:$AdfDhtmlInputSearchPeer$$.prototype.$LazyInitialize$});
$AdfDhtmlInputSearchPeer$$.prototype.$GetComponentValue$ = function $$AdfDhtmlInputSearchPeer$$$$$GetComponentValue$$($component$$1409$$, $domElement$$294$$) {
  var $hiddenValueElems$$ = $AdfDhtmlInputSearchPeer$$.$_getHiddenValueElements$($component$$1409$$, $domElement$$294$$), $selections$$ = [];
  if ($hiddenValueElems$$) {
    for (var $i$$335$$ = 0;$i$$335$$ < $hiddenValueElems$$.length;$i$$335$$++) {
      var $value$$212$$ = $hiddenValueElems$$[$i$$335$$].value;
      $value$$212$$ && 0 < $value$$212$$.length && $selections$$.push($value$$212$$);
    }
  }
  return this.$getConvertedValue$($component$$1409$$, $selections$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.GetComponentValue", {$GetComponentValue$:$AdfDhtmlInputSearchPeer$$.prototype.$GetComponentValue$});
$AdfDhtmlInputSearchPeer$$.prototype.$GetFormattedDisplayValue$ = function $$AdfDhtmlInputSearchPeer$$$$$GetFormattedDisplayValue$$($component$$1410$$, $domElement$$295$$, $clientConverter$$) {
  var $rawDisplayValues$$ = this.$GetDisplayValue$($component$$1410$$, $domElement$$295$$, !0);
  return $JSCompiler_StaticMethods__doDisplayValueFormatting$$(this, $component$$1410$$, $domElement$$295$$, $clientConverter$$, $rawDisplayValues$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.GetFormattedDisplayValue", {$GetFormattedDisplayValue$:$AdfDhtmlInputSearchPeer$$.prototype.$GetFormattedDisplayValue$});
$AdfDhtmlInputSearchPeer$$.prototype.$GetInlineEditor$ = function $$AdfDhtmlInputSearchPeer$$$$$GetInlineEditor$$() {
  return $AdfDhtmlSimpleLabelEditor$$.$getInlineEditor$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.GetInlineEditor", {$GetInlineEditor$:$AdfDhtmlInputSearchPeer$$.prototype.$GetInlineEditor$});
$AdfDhtmlInputSearchPeer$$.prototype.$GetNullDefault$ = function $$AdfDhtmlInputSearchPeer$$$$$GetNullDefault$$() {
  return $AdfCollections$$.$EMPTY_ARRAY$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.GetNullDefault", {$GetNullDefault$:$AdfDhtmlInputSearchPeer$$.prototype.$GetNullDefault$});
$AdfDhtmlInputSearchPeer$$.prototype.$GetSubmittedValue$ = function $$AdfDhtmlInputSearchPeer$$$$$GetSubmittedValue$$($component$$1411$$, $domElement$$296$$) {
  return this.$GetComponentValue$($component$$1411$$, $domElement$$296$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.GetSubmittedValue", {$GetSubmittedValue$:$AdfDhtmlInputSearchPeer$$.prototype.$GetSubmittedValue$});
$AdfDhtmlInputSearchPeer$$.prototype.$GetCombinedDisplayValue$ = function $$AdfDhtmlInputSearchPeer$$$$$GetCombinedDisplayValue$$() {
  $AdfAssert$$.$failedInAbstractFunction$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.GetCombinedDisplayValue", {$GetCombinedDisplayValue$:$AdfDhtmlInputSearchPeer$$.prototype.$GetCombinedDisplayValue$});
$AdfDhtmlInputSearchPeer$$.prototype.$SetDisplayValue$ = function $$AdfDhtmlInputSearchPeer$$$$$SetDisplayValue$$($component$$1412_contentNode$$58$$, $domElement$$297$$, $newValue$$98_newValues$$8$$) {
  $AdfAssert$$.$assertArray$($newValue$$98_newValues$$8$$);
  $newValue$$98_newValues$$8$$ = this.$GetCombinedDisplayValue$($newValue$$98_newValues$$8$$);
  $AdfAssert$$.$assertString$($newValue$$98_newValues$$8$$);
  this.$_lastValue$ = $newValue$$98_newValues$$8$$;
  $component$$1412_contentNode$$58$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1412_contentNode$$58$$, $domElement$$297$$);
  "INPUT" == $component$$1412_contentNode$$58$$.tagName ? ($component$$1412_contentNode$$58$$.value = $newValue$$98_newValues$$8$$, $AdfDhtmlInputBasePeer$$.$setLastValue$($component$$1412_contentNode$$58$$, $component$$1412_contentNode$$58$$.value)) : $AdfAgent$$.$AGENT$.$setTextContent$($component$$1412_contentNode$$58$$, $newValue$$98_newValues$$8$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.SetDisplayValue", {$SetDisplayValue$:$AdfDhtmlInputSearchPeer$$.prototype.$SetDisplayValue$});
$AdfDhtmlInputSearchPeer$$.prototype.$VetoBlurValidation$ = function $$AdfDhtmlInputSearchPeer$$$$$VetoBlurValidation$$() {
  return !0;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.VetoBlurValidation", {$VetoBlurValidation$:$AdfDhtmlInputSearchPeer$$.prototype.$VetoBlurValidation$});
$AdfDhtmlInputSearchPeer$$.prototype.$setTextAndShowSuggestions$ = function $$AdfDhtmlInputSearchPeer$$$$$setTextAndShowSuggestions$$($component$$1413$$, $newText$$6$$) {
  var $domElement$$298$$ = this.$getDomElement$();
  $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1413$$, $domElement$$298$$).value = $newText$$6$$;
  $JSCompiler_StaticMethods__filterSuggestions$$(this, $component$$1413$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.setTextAndShowSuggestions", {$setTextAndShowSuggestions$:$AdfDhtmlInputSearchPeer$$.prototype.$setTextAndShowSuggestions$});
$AdfDhtmlInputSearchPeer$$.$GetValue$ = function $$AdfDhtmlInputSearchPeer$$$$GetValue$$($component$$1414$$) {
  return $component$$1414$$.$getProperty$(AdfUIValue.VALUE);
};
$goog$exportSymbol$$("AdfDhtmlInputSearchPeer.GetValue", $AdfDhtmlInputSearchPeer$$.$GetValue$);
$AdfDhtmlInputSearchPeer$$.prototype.$DeriveAndSetDisplayValue$ = function $$AdfDhtmlInputSearchPeer$$$$$DeriveAndSetDisplayValue$$($component$$1415$$, $domElement$$299$$, $newDisplayValues_values$$8$$) {
  $newDisplayValues_values$$8$$ || ($newDisplayValues_values$$8$$ = $AdfDhtmlInputSearchPeer$$.$GetValue$($component$$1415$$));
  $newDisplayValues_values$$8$$ = this.$getConvertedObject$($component$$1415$$, $newDisplayValues_values$$8$$);
  this.$SetDisplayValue$($component$$1415$$, $domElement$$299$$, $newDisplayValues_values$$8$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.DeriveAndSetDisplayValue", {$DeriveAndSetDisplayValue$:$AdfDhtmlInputSearchPeer$$.prototype.$DeriveAndSetDisplayValue$});
function $JSCompiler_StaticMethods__doDisplayValueFormatting$$($JSCompiler_StaticMethods__doDisplayValueFormatting$self_label$$23$$, $component$$1416$$, $domElement$$300_formattedValues$$, $clientConverter$$1$$, $rawDisplayValues$$1$$) {
  $JSCompiler_StaticMethods__doDisplayValueFormatting$self_label$$23$$ = $JSCompiler_StaticMethods__doDisplayValueFormatting$self_label$$23$$.$GetComponentLabel$($component$$1416$$, $domElement$$300_formattedValues$$);
  try {
    $domElement$$300_formattedValues$$ = [];
    for (var $i$$336$$ = 0, $len$$19$$ = $rawDisplayValues$$1$$.length;$i$$336$$ < $len$$19$$;$i$$336$$++) {
      $domElement$$300_formattedValues$$.push($clientConverter$$1$$.getAsString($rawDisplayValues$$1$$[$i$$336$$], $JSCompiler_StaticMethods__doDisplayValueFormatting$self_label$$23$$));
    }
    return $domElement$$300_formattedValues$$;
  } catch ($e$$136$$) {
    $AdfLogger$$.$LOGGER$.$logErrorAsSevere$($e$$136$$, "Invoking TrClientConverter.getAsString on component (id\x3d'" + $component$$1416$$.$getClientId$() + "') resulted in an unexpected exception. The component's display value will not be formatted.");
  }
  return $rawDisplayValues$$1$$;
}
$AdfDhtmlInputSearchPeer$$.$_defaultDisplayValueDerivation$ = function $$AdfDhtmlInputSearchPeer$$$$_defaultDisplayValueDerivation$$($component$$1417$$, $suggestions$$18$$, $newValues$$9$$) {
  if (!$suggestions$$18$$ || 0 == $suggestions$$18$$.size) {
    return $newValues$$9$$;
  }
  for (var $values$$9$$ = [], $i$$337$$ = 0, $length$$62$$ = $newValues$$9$$.length;$i$$337$$ < $length$$62$$;$i$$337$$++) {
    var $newValue$$99$$ = $newValues$$9$$[$i$$337$$];
    if ($newValue$$99$$) {
      var $selectedItem$$3$$ = $suggestions$$18$$.get($newValue$$99$$), $newValue$$99$$ = $selectedItem$$3$$ ? $AdfDhtmlInputSearchPeer$$.$_getDisplayValueFromSelection$($component$$1417$$, $selectedItem$$3$$) : String($newValue$$99$$);
      $values$$9$$.push($newValue$$99$$);
    }
  }
  return $values$$9$$;
};
$AdfDhtmlInputSearchPeer$$.$_deriveDisplayValueFromConv$ = function $$AdfDhtmlInputSearchPeer$$$$_deriveDisplayValueFromConv$$($component$$1418_label$$24$$, $converter$$19$$, $newValues$$10$$) {
  var $values$$10$$ = [];
  $component$$1418_label$$24$$ = $component$$1418_label$$24$$.$getProperty$("label");
  for (var $i$$338$$ = 0, $length$$63$$ = $newValues$$10$$.length;$i$$338$$ < $length$$63$$;$i$$338$$++) {
    var $newValue$$100$$ = $newValues$$10$$[$i$$338$$];
    $newValue$$100$$ && ($newValue$$100$$ = $converter$$19$$.getAsString($newValue$$100$$, $component$$1418_label$$24$$)) && $values$$10$$.push($newValue$$100$$);
  }
  return $values$$10$$;
};
$AdfDhtmlInputSearchPeer$$.$_getDisplayValueFromSelection$ = function $$AdfDhtmlInputSearchPeer$$$$_getDisplayValueFromSelection$$($component$$1419$$, $selectedItem$$4$$) {
  if ($selectedItem$$4$$) {
    var $displayValues$$ = "";
    $selectedItem$$4$$ = $selectedItem$$4$$.data;
    for (var $displayAttributes$$1$$ = $component$$1419$$.getDisplayAttributes(), $i$$339$$ = 0, $len$$20$$ = $displayAttributes$$1$$.length;$i$$339$$ < $len$$20$$;$i$$339$$++) {
      var $displayValue$$1$$ = $selectedItem$$4$$[$displayAttributes$$1$$[$i$$339$$]];
      null != $displayValue$$1$$ && ($displayValues$$ += $displayValue$$1$$ + " ");
    }
    return $displayValues$$.trim();
  }
  return null;
};
$AdfDhtmlInputSearchPeer$$.$_deriveAndSetSelection$ = function $$AdfDhtmlInputSearchPeer$$$$_deriveAndSetSelection$$($component$$1420$$, $newValues$$11$$, $suggestionMap$$9$$) {
  if ($suggestionMap$$9$$) {
    for (var $newSuggestionsObjs$$ = [], $i$$340$$ = 0;$i$$340$$ < $newValues$$11$$.length;$i$$340$$++) {
      var $suggestionObj$$ = $suggestionMap$$9$$.get($newValues$$11$$[$i$$340$$]);
      $suggestionObj$$ && $newSuggestionsObjs$$.push($suggestionObj$$);
    }
    $AdfDhtmlInputSearchPeer$$.$SetSelectionProp$($component$$1420$$, $newSuggestionsObjs$$);
  }
};
$AdfDhtmlInputSearchPeer$$.prototype.$prefetchOrUpdate$ = function $$AdfDhtmlInputSearchPeer$$$$$prefetchOrUpdate$$($component$$1421$$, $searchSection$$9$$) {
  this.$_isPrefetchListComprehensive$ = null;
  if (this.$IsSuggestionPopupVisible$($component$$1421$$)) {
    this.$_lastFilteredText$ = "";
    this.$CacheServerSuggestionsList$(null);
    var $contentNode$$60_isReadonlyOrDisabled$$inline_2127$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1421$$, this.$getDomElement$());
    this.$ShowSuggestionsPopup$($component$$1421$$, $AdfDhtmlInputBasePeer$$.$getLastValue$($contentNode$$60_isReadonlyOrDisabled$$inline_2127$$) != $contentNode$$60_isReadonlyOrDisabled$$inline_2127$$.value) ? "filtering" : "initial";
  } else {
    a: {
      if ($searchSection$$9$$.getDataUrl()) {
        $contentNode$$60_isReadonlyOrDisabled$$inline_2127$$ = $AdfInputSearchUtils$isReadOnlyOrDisabled$$($component$$1421$$);
        if ($searchSection$$9$$.getType() == $AdfDhtmlInputSearchPeer$$.$__SEARCH_SECTION_TYPE_DEFAULT$) {
          var $value$$inline_2128$$ = $AdfDhtmlInputSearchPeer$$.$GetValue$($component$$1421$$), $domElement$$inline_2129$$ = this.$getDomElement$(), $displayValue$$inline_2130$$ = $AdfDhtmlEditableValuePeer$$.$getContentNodeText$($component$$1421$$, $domElement$$inline_2129$$);
          if (0 !== $value$$inline_2128$$.length && 0 === $displayValue$$inline_2130$$.length) {
            $AdfDomUtils$$.$addCSSClassName$($domElement$$inline_2129$$, $AdfDhtmlInputSearchPeer$$.$_VALUE_UPDATING_STYLE_CLASS$);
          } else {
            if ($contentNode$$60_isReadonlyOrDisabled$$inline_2127$$) {
              break a;
            }
          }
        } else {
          if ($contentNode$$60_isReadonlyOrDisabled$$inline_2127$$) {
            break a;
          }
        }
        $AdfSequencedSections$$.$fetchSection$($component$$1421$$, $searchSection$$9$$, !0);
      }
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.prefetchOrUpdate", {$prefetchOrUpdate$:$AdfDhtmlInputSearchPeer$$.prototype.$prefetchOrUpdate$});
$AdfDhtmlInputSearchPeer$$.$getValueAttributeType$ = function $$AdfDhtmlInputSearchPeer$$$$getValueAttributeType$$($component$$1422$$) {
  return $component$$1422$$.$getProperty$($AdfDhtmlInputSearchPeer$$.$_VALUE_ATTRIBUTE_DATA_TYPE$);
};
$goog$exportSymbol$$("AdfDhtmlInputSearchPeer.getValueAttributeType", $AdfDhtmlInputSearchPeer$$.$getValueAttributeType$);
$AdfDhtmlInputSearchPeer$$.$propagateValueAttributeDataType$ = function $$AdfDhtmlInputSearchPeer$$$$propagateValueAttributeDataType$$($component$$1423$$, $suggestions$$19$$) {
  var $sampleValue$$ = $suggestions$$19$$ && $suggestions$$19$$.$at$(0) && $suggestions$$19$$.$at$(0).key;
  if (null != $sampleValue$$) {
    var $type$$175$$ = null;
    $sampleValue$$.constructor == Number && ($type$$175$$ = "Number");
    $type$$175$$ ? $component$$1423$$.setProperty($AdfDhtmlInputSearchPeer$$.$_VALUE_ATTRIBUTE_DATA_TYPE$, $type$$175$$, !1, $AdfUIComponent$$.$PROPAGATE_ALWAYS$) : $component$$1423$$.setProperty($AdfDhtmlInputSearchPeer$$.$_VALUE_ATTRIBUTE_DATA_TYPE$, "String", !1, $AdfUIComponent$$.$PROPAGATE_NEVER$);
  }
};
$goog$exportSymbol$$("AdfDhtmlInputSearchPeer.propagateValueAttributeDataType", $AdfDhtmlInputSearchPeer$$.$propagateValueAttributeDataType$);
$AdfDhtmlInputSearchPeer$$.prototype.$Component_valJsTypeChanged$ = function $$AdfDhtmlInputSearchPeer$$$$$Component_valJsTypeChanged$$($component$$1424$$, $domElement$$301$$) {
  var $values$$11$$ = this.$GetComponentValue$($component$$1424$$, $domElement$$301$$);
  $component$$1424$$.$initializeProperty$(AdfUIValue.VALUE, $values$$11$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.Component_valJsTypeChanged", {$Component_valJsTypeChanged$:$AdfDhtmlInputSearchPeer$$.prototype.$Component_valJsTypeChanged$});
$AdfDhtmlInputSearchPeer$$.prototype.$HandleComponentClick$ = function $$AdfDhtmlInputSearchPeer$$$$$HandleComponentClick$$($componentEvent$$278_eventTarget$$61$$) {
  $AdfDhtmlInputSearchPeer$$.$superclass$.$HandleComponentClick$.call(this, $componentEvent$$278_eventTarget$$61$$);
  var $component$$1425$$ = this.$getComponent$();
  if ($componentEvent$$278_eventTarget$$61$$.$isLeftButtonPressed$() && !$AdfInputSearchUtils$isReadOnlyOrDisabled$$($component$$1425$$)) {
    $component$$1425$$.$getClientId$();
    $componentEvent$$278_eventTarget$$61$$ = $componentEvent$$278_eventTarget$$61$$.$getNativeEventTarget$();
    var $contentContainer$$5$$ = $AdfInputSearchUtils$getContentContainer$$($component$$1425$$), $contentNode$$61$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1425$$, this.$getDomElement$());
    $componentEvent$$278_eventTarget$$61$$ == $AdfInputSearchUtils$getSelectionsButton$$($component$$1425$$) ? this.$ShowSelectionsPopup$($component$$1425$$, $contentNode$$61$$) : $componentEvent$$278_eventTarget$$61$$ == $contentNode$$61$$ || $componentEvent$$278_eventTarget$$61$$ == $contentContainer$$5$$ || $componentEvent$$278_eventTarget$$61$$.parentElement == $contentContainer$$5$$ ? this.$IsSelectionsShown$($component$$1425$$) ? (this.$ShowSuggestionsPopup$($component$$1425$$, "initial"), 
    $component$$1425$$.focus()) : this.$IsSuggestionPopupVisible$($component$$1425$$) || ($contentNode$$61$$.select(), $component$$1425$$.focus(), this.$ShowSuggestionsPopup$($component$$1425$$, "initial")) : this.$IsSuggestionPopupVisible$($component$$1425$$) && this.$GetSuggestionsPanel$().$handleClick$($componentEvent$$278_eventTarget$$61$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlInputSearchPeer$$.prototype.$HandleComponentClick$});
$AdfDhtmlInputSearchPeer$$.prototype.$HandleComponentKeyDown$ = function $$AdfDhtmlInputSearchPeer$$$$$HandleComponentKeyDown$$($componentEvent$$279$$) {
  var $component$$1426$$ = this.$getComponent$(), $contentNode$$62$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1426$$, this.$getDomElement$());
  this.$_keyUpNotExecuted$ || (this.$_keyUpNotExecuted$ = !0, this.$_lastValue$ = $contentNode$$62$$.value.trim());
  this.$IsSuggestionPopupVisible$($component$$1426$$) && (this.$_toolbarPanel$.$handleKeyDown$($componentEvent$$279$$, $contentNode$$62$$), this.$GetSuggestionsPanel$().$handleKeyDown$($componentEvent$$279$$, $contentNode$$62$$));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.HandleComponentKeyDown", {$HandleComponentKeyDown$:$AdfDhtmlInputSearchPeer$$.prototype.$HandleComponentKeyDown$});
$AdfDhtmlInputSearchPeer$$.prototype.$HandleComponentKeyUp$ = function $$AdfDhtmlInputSearchPeer$$$$$HandleComponentKeyUp$$($componentEvent$$280_keyCode$$69$$) {
  this.$_keyUpNotExecuted$ = null;
  var $component$$1427$$ = this.$getComponent$(), $JSCompiler_temp$$136_contentNodeValue$$inline_2133_domElement$$302_isRTL$$21$$ = this.$getDomElement$(), $contentNode$$63$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1427$$, this.$getDomElement$());
  $componentEvent$$280_keyCode$$69$$ = $componentEvent$$280_keyCode$$69$$.$getKeyCode$();
  var $isSuggestionPopupVisible$$ = this.$IsSuggestionPopupVisible$($component$$1427$$);
  if ($isSuggestionPopupVisible$$) {
    $componentEvent$$280_keyCode$$69$$ == $AdfKeyStroke$$.$ESC_KEY$ && (this.$RestoreSelectionOnEscape$($component$$1427$$, $JSCompiler_temp$$136_contentNodeValue$$inline_2133_domElement$$302_isRTL$$21$$, $contentNode$$63$$), this.$HideSuggestionPopup$($component$$1427$$));
  } else {
    if ($componentEvent$$280_keyCode$$69$$ == $AdfKeyStroke$$.$ARROWDOWN_KEY$) {
      this.$ShowSuggestionsPopup$($component$$1427$$, "initial");
      return;
    }
    var $JSCompiler_temp$$136_contentNodeValue$$inline_2133_domElement$$302_isRTL$$21$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$(), $isTextCaretAtEndPos$$ = $contentNode$$63$$.selectionEnd == $contentNode$$63$$.value.length;
    if (($JSCompiler_temp$$136_contentNodeValue$$inline_2133_domElement$$302_isRTL$$21$$ && $componentEvent$$280_keyCode$$69$$ == $AdfKeyStroke$$.$ARROWLEFT_KEY$ || !$JSCompiler_temp$$136_contentNodeValue$$inline_2133_domElement$$302_isRTL$$21$$ && $componentEvent$$280_keyCode$$69$$ == $AdfKeyStroke$$.$ARROWRIGHT_KEY$) && $isTextCaretAtEndPos$$) {
      this.$ShowSelectionsPopup$($component$$1427$$, $contentNode$$63$$);
      return;
    }
  }
  if ($JSCompiler_temp$$136_contentNodeValue$$inline_2133_domElement$$302_isRTL$$21$$ = $componentEvent$$280_keyCode$$69$$ != $AdfKeyStroke$$.$TAB_KEY$ && 16 != $componentEvent$$280_keyCode$$69$$) {
    $JSCompiler_temp$$136_contentNodeValue$$inline_2133_domElement$$302_isRTL$$21$$ = $contentNode$$63$$.value.trim(), $JSCompiler_temp$$136_contentNodeValue$$inline_2133_domElement$$302_isRTL$$21$$ != this.$_lastValue$ ? (this.$_lastValue$ = $JSCompiler_temp$$136_contentNodeValue$$inline_2133_domElement$$302_isRTL$$21$$, $JSCompiler_temp$$136_contentNodeValue$$inline_2133_domElement$$302_isRTL$$21$$ = !0) : $JSCompiler_temp$$136_contentNodeValue$$inline_2133_domElement$$302_isRTL$$21$$ = !1;
  }
  $JSCompiler_temp$$136_contentNodeValue$$inline_2133_domElement$$302_isRTL$$21$$ && ($isSuggestionPopupVisible$$ || this.$ToggleDisplayValueToFiltering$($contentNode$$63$$, $componentEvent$$280_keyCode$$69$$), $JSCompiler_StaticMethods__filterSuggestions$$(this, $component$$1427$$));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.HandleComponentKeyUp", {$HandleComponentKeyUp$:$AdfDhtmlInputSearchPeer$$.prototype.$HandleComponentKeyUp$});
$AdfDhtmlInputSearchPeer$$.prototype.$HandleComponentFocus$ = function $$AdfDhtmlInputSearchPeer$$$$$HandleComponentFocus$$($componentEvent$$281$$, $contentNode$$64$$) {
  var $component$$1428$$ = this.$getComponent$();
  $contentNode$$64$$ || ($contentNode$$64$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1428$$, this.$getDomElement$()));
  $componentEvent$$281$$.$getNativeEventTarget$() == $contentNode$$64$$ && $AdfDhtmlInputBasePeer$$.$setLastValue$($contentNode$$64$$);
  $AdfDhtmlInputSearchPeer$$.$superclass$.$HandleComponentFocus$.call(this, $componentEvent$$281$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.HandleComponentFocus", {$HandleComponentFocus$:$AdfDhtmlInputSearchPeer$$.prototype.$HandleComponentFocus$});
$AdfDhtmlInputSearchPeer$$.prototype.$_handleSuggestionsPopupClosed$ = function $$AdfDhtmlInputSearchPeer$$$$$_handleSuggestionsPopupClosed$$($component$$1429$$) {
  var $contentNode$$65$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1429$$, this.$getDomElement$());
  this.$RunValidation$($component$$1429$$, $contentNode$$65$$, !0);
  $contentNode$$65$$.parentElement.setAttribute("aria-expanded", "false");
  this.$_toolbarPanel$.detach($component$$1429$$);
  this.$_suggestionsContainer$.detach($component$$1429$$, $contentNode$$65$$, this.$GetSuggestionsPanel$(), this.$IsUnderAutocompletion$());
  this.$ClearTemporaryStorage$();
};
$AdfDhtmlInputSearchPeer$$.prototype.$_handleSuggestionsPopupOpening$ = function $$AdfDhtmlInputSearchPeer$$$$$_handleSuggestionsPopupOpening$$($component$$1430$$) {
  $AdfInputSearchUtils$getContentContainer$$($component$$1430$$).setAttribute("aria-expanded", "true");
};
$AdfDhtmlInputSearchPeer$$.$SetSelectionProp$ = function $$AdfDhtmlInputSearchPeer$$$$SetSelectionProp$$($component$$1431$$, $selection$$17$$) {
  $component$$1431$$.setProperty($AdfDhtmlInputSearchPeer$$.$SELECTION_PROPERTY$, $selection$$17$$, !1, $AdfUIComponent$$.$PROPAGATE_ALWAYS$);
};
$goog$exportSymbol$$("AdfDhtmlInputSearchPeer.SetSelectionProp", $AdfDhtmlInputSearchPeer$$.$SetSelectionProp$);
$AdfDhtmlInputSearchPeer$$.prototype.$ClearTemporaryStorage$ = function $$AdfDhtmlInputSearchPeer$$$$$ClearTemporaryStorage$$() {
  this.$_fastKeyInputTimer$ && ($AdfPage$$.$PAGE$.$cancelTimer$(this.$_fastKeyInputTimer$), this.$_fastKeyInputTimer$ = null);
  this.$_serverFilterTimer$ && ($AdfPage$$.$PAGE$.$cancelTimer$(this.$_serverFilterTimer$), this.$_serverFilterTimer$ = null);
  this.$_lastFilteredText$ = this.$_keyUpNotExecuted$ = null;
  this.$CacheServerSuggestionsList$(null);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.ClearTemporaryStorage", {$ClearTemporaryStorage$:$AdfDhtmlInputSearchPeer$$.prototype.$ClearTemporaryStorage$});
$AdfDhtmlInputSearchPeer$$.prototype.$DerivePropsFromPrefSuggestions$ = function $$AdfDhtmlInputSearchPeer$$$$$DerivePropsFromPrefSuggestions$$($component$$1432$$, $preferredSuggestions$$6$$) {
  $AdfDhtmlInputSearchPeer$$.$propagateValueAttributeDataType$($component$$1432$$, $preferredSuggestions$$6$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.DerivePropsFromPrefSuggestions", {$DerivePropsFromPrefSuggestions$:$AdfDhtmlInputSearchPeer$$.prototype.$DerivePropsFromPrefSuggestions$});
$AdfDhtmlInputSearchPeer$$.prototype.$GetRealNewValues$ = function $$AdfDhtmlInputSearchPeer$$$$$GetRealNewValues$$() {
  $AdfAssert$$.$failedInAbstractFunction$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.GetRealNewValues", {$GetRealNewValues$:$AdfDhtmlInputSearchPeer$$.prototype.$GetRealNewValues$});
$AdfDhtmlInputSearchPeer$$.prototype.$GetSuggestionMapContainingSelections$ = function $$AdfDhtmlInputSearchPeer$$$$$GetSuggestionMapContainingSelections$$() {
  $AdfAssert$$.$failedInAbstractFunction$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.GetSuggestionMapContainingSelections", {$GetSuggestionMapContainingSelections$:$AdfDhtmlInputSearchPeer$$.prototype.$GetSuggestionMapContainingSelections$});
$AdfDhtmlInputSearchPeer$$.prototype.$GetSuggestionsPanel$ = function $$AdfDhtmlInputSearchPeer$$$$$GetSuggestionsPanel$$() {
  $AdfAssert$$.$failedInAbstractFunction$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.GetSuggestionsPanel", {$GetSuggestionsPanel$:$AdfDhtmlInputSearchPeer$$.prototype.$GetSuggestionsPanel$});
$AdfDhtmlInputSearchPeer$$.prototype.$ShowSelectionsPopup$ = function $$AdfDhtmlInputSearchPeer$$$$$ShowSelectionsPopup$$() {
  $AdfAssert$$.$failedInAbstractFunction$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.ShowSelectionsPopup", {$ShowSelectionsPopup$:$AdfDhtmlInputSearchPeer$$.prototype.$ShowSelectionsPopup$});
$AdfDhtmlInputSearchPeer$$.prototype.$IsUnderAutocompletion$ = function $$AdfDhtmlInputSearchPeer$$$$$IsUnderAutocompletion$$() {
  $AdfAssert$$.$failedInAbstractFunction$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.IsUnderAutocompletion", {$IsUnderAutocompletion$:$AdfDhtmlInputSearchPeer$$.prototype.$IsUnderAutocompletion$});
$AdfDhtmlInputSearchPeer$$.prototype.$RestoreSelectionOnEscape$ = function $$AdfDhtmlInputSearchPeer$$$$$RestoreSelectionOnEscape$$() {
  $AdfAssert$$.$failedInAbstractFunction$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.RestoreSelectionOnEscape", {$RestoreSelectionOnEscape$:$AdfDhtmlInputSearchPeer$$.prototype.$RestoreSelectionOnEscape$});
$AdfDhtmlInputSearchPeer$$.prototype.$RenderSelections$ = function $$AdfDhtmlInputSearchPeer$$$$$RenderSelections$$() {
  $AdfAssert$$.$failedInAbstractFunction$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.RenderSelections", {$RenderSelections$:$AdfDhtmlInputSearchPeer$$.prototype.$RenderSelections$});
$AdfDhtmlInputSearchPeer$$.prototype.$ToggleDisplayValueToFiltering$ = function $$AdfDhtmlInputSearchPeer$$$$$ToggleDisplayValueToFiltering$$($contentNode$$68$$, $keyCode$$70$$) {
  this.$_lastValue$ = this.$_lastFilteredText$ = "";
  if ($keyCode$$70$$ === $AdfKeyStroke$$.$BACKSPACE_KEY$ || $keyCode$$70$$ === $AdfKeyStroke$$.$DELETE_KEY$) {
    this.$_lastFilteredText$ = null;
  }
  $AdfDhtmlInputBasePeer$$.$setLastValue$($contentNode$$68$$, "");
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.ToggleDisplayValueToFiltering", {$ToggleDisplayValueToFiltering$:$AdfDhtmlInputSearchPeer$$.prototype.$ToggleDisplayValueToFiltering$});
$AdfDhtmlInputSearchPeer$$.prototype.$UpdateDisplayValueAndSelection$ = function $$AdfDhtmlInputSearchPeer$$$$$UpdateDisplayValueAndSelection$$($component$$1436$$, $domElement$$304$$, $values$$12$$) {
  var $suggestionMap$$10$$ = this.$GetSuggestionMapContainingSelections$();
  $AdfDhtmlInputSearchPeer$$.$_deriveAndSetSelection$($component$$1436$$, $values$$12$$, $suggestionMap$$10$$);
  this.$DeriveAndSetDisplayValue$($component$$1436$$, $domElement$$304$$, $values$$12$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.UpdateDisplayValueAndSelection", {$UpdateDisplayValueAndSelection$:$AdfDhtmlInputSearchPeer$$.prototype.$UpdateDisplayValueAndSelection$});
$AdfDhtmlInputSearchPeer$$.$__isSimpleFetchRequest$ = function $$AdfDhtmlInputSearchPeer$$$$__isSimpleFetchRequest$$($options$$34$$) {
  var $request$$16$$ = $options$$34$$[$AdfRestDataService$$.$REQUEST_DATA$];
  return !$options$$34$$.$_serverFilterContext$ || "GET" == $request$$16$$.method && null == $request$$16$$.$queryString$;
};
function $JSCompiler_StaticMethods__fetch$$($component$$1439$$, $options$$35$$) {
  var $type$$176$$ = $AdfDhtmlInputSearchPeer$$.$__SEARCH_SECTION_TYPE_DEFAULT$, $searchSection$$11$$ = $component$$1439$$.$getSearchSections$()[$type$$176$$];
  $searchSection$$11$$ ? $AdfSequencedSections$$.$fetchSection$($component$$1439$$, $searchSection$$11$$, !1, $options$$35$$) : $AdfLogger$$.$LOGGER$.severe("Can't locate the searchSection component of type ", $type$$176$$);
}
$AdfDhtmlInputSearchPeer$$.prototype.$__getFetchOptions$ = function $$AdfDhtmlInputSearchPeer$$$$$__getFetchOptions$$($component$$1440$$, $searchSection$$12$$, $options$$36$$, $context$$42_isFiltering$$1$$) {
  $context$$42_isFiltering$$1$$ || ($options$$36$$.$_isPreferredSuggestionsDisplayed$ = !!$AdfPreferredSuggestionsManager$$.get($component$$1440$$));
  $options$$36$$.$_lastValue$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1440$$, this.$getDomElement$()).value;
  $JSCompiler_StaticMethods__getPrefetchListComprehensive$$(this, $component$$1440$$) || ($context$$42_isFiltering$$1$$ = {}, $context$$42_isFiltering$$1$$.$filterAttributes$ = $component$$1440$$.getFilterAttributes(), $context$$42_isFiltering$$1$$.$criteria$ = $component$$1440$$.getCriteria(), $context$$42_isFiltering$$1$$.$searchTerms$ = $options$$36$$.$_isServerFiltering$ && $options$$36$$.$_lastValue$ ? $AdfInputSearchMruCache$$.$__splitAndSort$($options$$36$$.$_lastValue$) : null, $options$$36$$.$_serverFilterContext$ = 
  $context$$42_isFiltering$$1$$, $options$$36$$[$AdfRestDataService$$.$REQUEST_DATA$] = $AdfDhtmlSearchSectionPeer$$.$executeFilterParametersFunc$($searchSection$$12$$, $context$$42_isFiltering$$1$$));
  return $options$$36$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.__getFetchOptions", {$__getFetchOptions$:$AdfDhtmlInputSearchPeer$$.prototype.$__getFetchOptions$});
$AdfDhtmlInputSearchPeer$$.prototype.$__sequencedCallback$ = function $$AdfDhtmlInputSearchPeer$$$$$__sequencedCallback$$($component$$1441$$, $hasOtherSearchSections_searchSection$$13$$, $suggestions$$20$$, $contentNode$$69_isListComprehensive$$1_renderingContext$$3$$, $lastValue$$5_options$$37$$) {
  $hasOtherSearchSections_searchSection$$13$$.getType() == $AdfDhtmlInputSearchPeer$$.$__SEARCH_SECTION_TYPE_DEFAULT$ ? ($hasOtherSearchSections_searchSection$$13$$ = $AdfSuggestionsPanel$$.$removePartialSuggestionsLoadingIndicator$($component$$1441$$), this.$__fetchComplete$($component$$1441$$, $suggestions$$20$$, $contentNode$$69_isListComprehensive$$1_renderingContext$$3$$, $lastValue$$5_options$$37$$, $hasOtherSearchSections_searchSection$$13$$)) : this.$IsSuggestionPopupVisible$($component$$1441$$) && 
  0 != $suggestions$$20$$.length && ($contentNode$$69_isListComprehensive$$1_renderingContext$$3$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1441$$, this.$getDomElement$()), $lastValue$$5_options$$37$$ = $AdfDhtmlInputBasePeer$$.$getLastValue$($contentNode$$69_isListComprehensive$$1_renderingContext$$3$$), $lastValue$$5_options$$37$$ && $lastValue$$5_options$$37$$ !== $contentNode$$69_isListComprehensive$$1_renderingContext$$3$$.value || ($contentNode$$69_isListComprehensive$$1_renderingContext$$3$$ = 
  {$isPartialList$:!0}, $contentNode$$69_isListComprehensive$$1_renderingContext$$3$$.source = $hasOtherSearchSections_searchSection$$13$$, this.$GetSuggestionsPanel$().$render$($component$$1441$$, $suggestions$$20$$, $contentNode$$69_isListComprehensive$$1_renderingContext$$3$$)));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.__sequencedCallback", {$__sequencedCallback$:$AdfDhtmlInputSearchPeer$$.prototype.$__sequencedCallback$});
$AdfDhtmlInputSearchPeer$$.prototype.$__fetchComplete$ = function $$AdfDhtmlInputSearchPeer$$$$$__fetchComplete$$($component$$1442$$, $prefilteredSuggestions$$, $isListComprehensive$$2_values$$inline_2140$$, $isMasterList$$inline_2139_options$$38$$, $hasOtherSearchSections$$1$$) {
  var $isMasterList$$4$$ = !1;
  $AdfDhtmlInputSearchPeer$$.$__isSimpleFetchRequest$($isMasterList$$inline_2139_options$$38$$) && ($isMasterList$$4$$ = this.$_isPrefetchListComprehensive$ = $isListComprehensive$$2_values$$inline_2140$$);
  var $domElement$$306_renderingContext$$4$$ = this.$getDomElement$();
  $isMasterList$$inline_2139_options$$38$$.$_isPreferredSuggestionsDisplayed$ && $AdfDomUtils$$.$removeCSSClassName$($domElement$$306_renderingContext$$4$$, $AdfDhtmlInputSearchPeer$$.$_VALUE_UPDATING_STYLE_CLASS$);
  if (this.$IsSuggestionPopupVisible$($component$$1442$$)) {
    var $serverFilterContext$$1$$ = $isMasterList$$inline_2139_options$$38$$.$_serverFilterContext$;
    this.$CacheServerSuggestionsList$($prefilteredSuggestions$$, $serverFilterContext$$1$$ && $serverFilterContext$$1$$.$searchTerms$ ? $serverFilterContext$$1$$.$searchTerms$ : "", $isListComprehensive$$2_values$$inline_2140$$);
    if ($isMasterList$$inline_2139_options$$38$$.$_lastValue$ !== $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1442$$, $domElement$$306_renderingContext$$4$$).value || $isMasterList$$inline_2139_options$$38$$.$_isClientFiltering$) {
      $JSCompiler_StaticMethods__filterSuggestionsImpl$$(this, $component$$1442$$, $isMasterList$$inline_2139_options$$38$$.$_isServerFiltering$ || !$isListComprehensive$$2_values$$inline_2140$$);
    } else {
      if ($isMasterList$$inline_2139_options$$38$$.$_isPreferredSuggestionsDisplayed$) {
        this.$GetSuggestionsPanel$().update($component$$1442$$, $prefilteredSuggestions$$, $isMasterList$$4$$);
      } else {
        if (!$hasOtherSearchSections$$1$$) {
          $domElement$$306_renderingContext$$4$$ = {};
          if ($isMasterList$$inline_2139_options$$38$$.$_isServerFiltering$) {
            if (this.$_lastFilteredText$ == $isMasterList$$inline_2139_options$$38$$.$_lastValue$ && !$AdfSuggestionsContainer$$.$needsUpdate$($component$$1442$$)) {
              return;
            }
            this.$_lastFilteredText$ = $isMasterList$$inline_2139_options$$38$$.$_lastValue$;
            $domElement$$306_renderingContext$$4$$.$shouldHighlight$ = !0;
          }
          this.$GetSuggestionsPanel$().$render$($component$$1442$$, $prefilteredSuggestions$$, $domElement$$306_renderingContext$$4$$);
        }
      }
    }
  } else {
    $isMasterList$$inline_2139_options$$38$$.$_isPreferredSuggestionsDisplayed$ ? ($isMasterList$$inline_2139_options$$38$$ = $isMasterList$$4$$, $AdfPreferredSuggestionsManager$$.$isDisplayAttributesCacheable$($component$$1442$$) || ($isListComprehensive$$2_values$$inline_2140$$ = $component$$1442$$.getValue(), null != $isListComprehensive$$2_values$$inline_2140$$ && 0 != $isListComprehensive$$2_values$$inline_2140$$.length && this.$UpdateDisplayValueAndSelection$($component$$1442$$, $domElement$$306_renderingContext$$4$$, 
    $isListComprehensive$$2_values$$inline_2140$$, $prefilteredSuggestions$$, $isMasterList$$inline_2139_options$$38$$))) : $AdfLogger$$.$LOGGER$.info("Popup dismissed while fetching the suggestions for InputSearch with client id ", $component$$1442$$.$getClientId$());
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.__fetchComplete", {$__fetchComplete$:$AdfDhtmlInputSearchPeer$$.prototype.$__fetchComplete$});
$AdfDhtmlInputSearchPeer$$.prototype.$__fetchFailed$ = function $$AdfDhtmlInputSearchPeer$$$$$__fetchFailed$$($component$$1443$$) {
  $AdfDomUtils$$.$removeCSSClassName$(this.$getDomElement$(), $AdfDhtmlInputSearchPeer$$.$_VALUE_UPDATING_STYLE_CLASS$);
  this.$GetSuggestionsPanel$().$getDisplayedSuggestions$() || this.$GetSuggestionsPanel$().$render$($component$$1443$$, new $AdfSuggestionMap$$([]));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.__fetchFailed", {$__fetchFailed$:$AdfDhtmlInputSearchPeer$$.prototype.$__fetchFailed$});
$AdfDhtmlInputSearchPeer$$.prototype.$PrefetchComplete$ = function $$AdfDhtmlInputSearchPeer$$$$$PrefetchComplete$$($component$$1445$$, $suggestions$$21$$, $isListComprehensive$$3$$, $needsFurtherFetching$$) {
  this.$_isPrefetchListComprehensive$ = $isListComprehensive$$3$$;
  this.$SetDisplayValueOnPrefetch$($component$$1445$$, $suggestions$$21$$, $isListComprehensive$$3$$, $needsFurtherFetching$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.PrefetchComplete", {$PrefetchComplete$:$AdfDhtmlInputSearchPeer$$.prototype.$PrefetchComplete$});
$AdfDhtmlInputSearchPeer$$.prototype.$__prefetchFailed$ = function $$AdfDhtmlInputSearchPeer$$$$$__prefetchFailed$$() {
  $AdfDomUtils$$.$removeCSSClassName$(this.$getDomElement$(), $AdfDhtmlInputSearchPeer$$.$_VALUE_UPDATING_STYLE_CLASS$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.__prefetchFailed", {$__prefetchFailed$:$AdfDhtmlInputSearchPeer$$.prototype.$__prefetchFailed$});
$AdfDhtmlInputSearchPeer$$.prototype.$SetDisplayValueOnPrefetch$ = function $$AdfDhtmlInputSearchPeer$$$$$SetDisplayValueOnPrefetch$$($component$$1447$$, $domElement$$307_suggestions$$22$$, $isListComprehensive$$4$$, $needsFurtherFetching$$1$$) {
  $AdfPreferredSuggestionsManager$$.update($component$$1447$$, $isListComprehensive$$4$$, $domElement$$307_suggestions$$22$$);
  $domElement$$307_suggestions$$22$$ = $AdfRichUIPeer$$.$getDomElementForComponent$($component$$1447$$);
  "" !== $AdfDhtmlEditableValuePeer$$.$getContentNodeText$($component$$1447$$, $domElement$$307_suggestions$$22$$) ? $AdfDomUtils$$.$removeCSSClassName$($domElement$$307_suggestions$$22$$, $AdfDhtmlInputSearchPeer$$.$_VALUE_UPDATING_STYLE_CLASS$) : $needsFurtherFetching$$1$$ || ($AdfDomUtils$$.$removeCSSClassName$($domElement$$307_suggestions$$22$$, $AdfDhtmlInputSearchPeer$$.$_VALUE_UPDATING_STYLE_CLASS$), this.$IsSuggestionPopupVisible$($component$$1447$$) || "" == $AdfDhtmlEditableValuePeer$$.$getContentNodeText$($component$$1447$$, 
  $domElement$$307_suggestions$$22$$) && this.$DeriveAndSetDisplayValue$($component$$1447$$, $domElement$$307_suggestions$$22$$));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.SetDisplayValueOnPrefetch", {$SetDisplayValueOnPrefetch$:$AdfDhtmlInputSearchPeer$$.prototype.$SetDisplayValueOnPrefetch$});
$AdfDhtmlInputSearchPeer$$.prototype.$CacheServerSuggestionsList$ = function $$AdfDhtmlInputSearchPeer$$$$$CacheServerSuggestionsList$$($data$$50$$, $searchTerms$$4$$, $isListComprehensive$$5$$) {
  $data$$50$$ ? (void 0 === $isListComprehensive$$5$$ && ($isListComprehensive$$5$$ = !0), this.$_suggestionsCacheMap$ || (this.$_suggestionsCacheMap$ = new $AdfInputSearchMruCache$$(3)), this.$_suggestionsCacheMap$.put($searchTerms$$4$$, $data$$50$$, $isListComprehensive$$5$$)) : this.$_suggestionsCacheMap$ = null;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.CacheServerSuggestionsList", {$CacheServerSuggestionsList$:$AdfDhtmlInputSearchPeer$$.prototype.$CacheServerSuggestionsList$});
$AdfDhtmlInputSearchPeer$$.prototype.$GetCachedServerSuggestionsList$ = function $$AdfDhtmlInputSearchPeer$$$$$GetCachedServerSuggestionsList$$($data$$51_searchTerms$$5$$) {
  if (this.$_suggestionsCacheMap$ && ($data$$51_searchTerms$$5$$ = this.$_suggestionsCacheMap$.get($data$$51_searchTerms$$5$$))) {
    return $data$$51_searchTerms$$5$$[$AdfInputSearchMruCache$$.$SUGGESTIONS$];
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.GetCachedServerSuggestionsList", {$GetCachedServerSuggestionsList$:$AdfDhtmlInputSearchPeer$$.prototype.$GetCachedServerSuggestionsList$});
$AdfDhtmlInputSearchPeer$$.$_attributeStartsWithFilter$ = function $$AdfDhtmlInputSearchPeer$$$$_attributeStartsWithFilter$$($component$$1449$$, $searchText$$1$$, $suggestions$$23$$) {
  var $filterAttrs$$ = $component$$1449$$.getFilterAttributes(), $userOrderedSearchTerms$$ = $searchText$$1$$.split(" "), $searchTerms$$7$$ = $searchText$$1$$.split(" ").sort(function($component$$1449$$, $searchText$$1$$) {
    return $component$$1449$$.length - $searchText$$1$$.length;
  });
  return $suggestions$$23$$.filter(function($component$$1449$$) {
    return $AdfDhtmlInputSearchPeer$$.$_isAttributeStartsWithMatch$($component$$1449$$, $searchTerms$$7$$, $filterAttrs$$, $userOrderedSearchTerms$$);
  });
};
$AdfDhtmlInputSearchPeer$$.$_isAttributeStartsWithMatch$ = function $$AdfDhtmlInputSearchPeer$$$$_isAttributeStartsWithMatch$$($suggestion$$6$$, $searchTerms$$8$$, $filterAttrs$$1$$, $userOrderedSearchTerms$$1$$) {
  $searchTerms$$8$$ = $searchTerms$$8$$.slice();
  for (var $i$$341$$ = $filterAttrs$$1$$.length - 1;0 <= $i$$341$$;$i$$341$$--) {
    var $attrValue$$16$$ = $suggestion$$6$$[$filterAttrs$$1$$[$i$$341$$]];
    if (null !== $attrValue$$16$$ && void 0 !== $attrValue$$16$$) {
      for (var $attrValue$$16$$ = $attrValue$$16$$ + "", $j$$36$$ = $searchTerms$$8$$.length - 1;0 <= $j$$36$$;$j$$36$$--) {
        var $term$$1$$ = $searchTerms$$8$$[$j$$36$$], $whitespaceIndex$$ = $AdfDhtmlInputSearchPeer$$.$_startsWithWhitespaceIndex$($attrValue$$16$$, $term$$1$$, 0);
        if (0 <= $whitespaceIndex$$) {
          $searchTerms$$8$$.splice($j$$36$$, 1);
          0 < $whitespaceIndex$$ && $AdfDhtmlInputSearchPeer$$.$_doNextWordMatch$($attrValue$$16$$, $whitespaceIndex$$ + 1, $term$$1$$, $searchTerms$$8$$, $userOrderedSearchTerms$$1$$);
          break;
        }
      }
    }
  }
  return 0 == $searchTerms$$8$$.length;
};
$AdfDhtmlInputSearchPeer$$.$_doNextWordMatch$ = function $$AdfDhtmlInputSearchPeer$$$$_doNextWordMatch$$($attrValue$$17$$, $startIndex$$9_whitespaceIndex$$1$$, $currentTerm_nextTerm_nextTermIndex$$, $searchTerms$$9$$, $userOrderedSearchTerms$$2$$) {
  $currentTerm_nextTerm_nextTermIndex$$ = $userOrderedSearchTerms$$2$$.indexOf($currentTerm_nextTerm_nextTermIndex$$) + 1;
  if (!($currentTerm_nextTerm_nextTermIndex$$ >= $userOrderedSearchTerms$$2$$.length) && ($currentTerm_nextTerm_nextTermIndex$$ = $userOrderedSearchTerms$$2$$[$currentTerm_nextTerm_nextTermIndex$$], $startIndex$$9_whitespaceIndex$$1$$ = $AdfDhtmlInputSearchPeer$$.$_startsWithWhitespaceIndex$($attrValue$$17$$, $currentTerm_nextTerm_nextTermIndex$$, $startIndex$$9_whitespaceIndex$$1$$), 0 <= $startIndex$$9_whitespaceIndex$$1$$)) {
    var $nextTermPosInSearchTerms$$ = $searchTerms$$9$$.indexOf($currentTerm_nextTerm_nextTermIndex$$);
    -1 != $nextTermPosInSearchTerms$$ && ($searchTerms$$9$$.splice($nextTermPosInSearchTerms$$, 1), 0 < $startIndex$$9_whitespaceIndex$$1$$ && $AdfDhtmlInputSearchPeer$$.$_doNextWordMatch$($attrValue$$17$$, $startIndex$$9_whitespaceIndex$$1$$ + 1, $currentTerm_nextTerm_nextTermIndex$$, $searchTerms$$9$$, $userOrderedSearchTerms$$2$$));
  }
};
$AdfDhtmlInputSearchPeer$$.$_startsWithWhitespaceIndex$ = function $$AdfDhtmlInputSearchPeer$$$$_startsWithWhitespaceIndex$$($attrValue$$18$$, $term$$2$$, $startIndex$$10$$) {
  if (!($attrValue$$18$$.length - $startIndex$$10$$ < $term$$2$$.length)) {
    var $i$$342$$, $len$$21$$;
    $i$$342$$ = 0;
    for ($len$$21$$ = $term$$2$$.length;$i$$342$$ < $len$$21$$;$i$$342$$++) {
      if ($term$$2$$.charAt($i$$342$$).toLocaleLowerCase() != $attrValue$$18$$.charAt($i$$342$$ + $startIndex$$10$$).toLocaleLowerCase()) {
        return -1;
      }
    }
    return " " == $attrValue$$18$$.charAt($len$$21$$ + $startIndex$$10$$) ? $len$$21$$ + $startIndex$$10$$ : 0;
  }
};
$AdfDhtmlInputSearchPeer$$.$_getBoundaryRegex$ = function $$AdfDhtmlInputSearchPeer$$$$_getBoundaryRegex$$($word$$) {
  var $specialCharsRegexStr$$ = $AdfDhtmlInputSearchPeer$$.$_SPECIAL_CHARS_REGEX_STR$, $firstChar$$1$$ = $word$$.charAt(0);
  "\\" == $firstChar$$1$$ && ($firstChar$$1$$ = $word$$.charAt(1));
  switch($firstChar$$1$$) {
    case "\\":
      $firstChar$$1$$ = "\\\\";
      break;
    case "-":
      $firstChar$$1$$ = "\\-";
      break;
    case "]":
      $firstChar$$1$$ = "\\]";
  }
  $specialCharsRegexStr$$.indexOf($firstChar$$1$$) && ($specialCharsRegexStr$$ = $specialCharsRegexStr$$.replace($firstChar$$1$$, ""));
  return "(?:^|[\\s" + $specialCharsRegexStr$$ + "])+(?\x3d[^\\s" + $specialCharsRegexStr$$ + "])";
};
$AdfDhtmlInputSearchPeer$$.$_getBoundaryRegexList$ = function $$AdfDhtmlInputSearchPeer$$$$_getBoundaryRegexList$$($searchTextList$$) {
  for (var $list$$5$$ = [], $i$$343$$ = 0, $len$$22$$ = $searchTextList$$.length;$i$$343$$ < $len$$22$$;$i$$343$$++) {
    $list$$5$$.push($AdfDhtmlInputSearchPeer$$.$_getBoundaryRegex$($searchTextList$$[$i$$343$$]));
  }
  return $list$$5$$;
};
$AdfDhtmlInputSearchPeer$$.$_getContainsFilterRegex$ = function $$AdfDhtmlInputSearchPeer$$$$_getContainsFilterRegex$$($re$$4_searchText$$2_searchTextList$$1$$) {
  $re$$4_searchText$$2_searchTextList$$1$$ = $AdfInputSearchUtils$escapeRegexChars$$($re$$4_searchText$$2_searchTextList$$1$$);
  $re$$4_searchText$$2_searchTextList$$1$$ = $AdfInputSearchUtils$splitAndSort$$($re$$4_searchText$$2_searchTextList$$1$$);
  for (var $boundaryRegexList$$ = $AdfDhtmlInputSearchPeer$$.$_getBoundaryRegexList$($re$$4_searchText$$2_searchTextList$$1$$), $regex$$4$$ = "^", $z$$8$$ = 0, $lenz$$ = $re$$4_searchText$$2_searchTextList$$1$$.length;$z$$8$$ < $lenz$$;$z$$8$$++) {
    $regex$$4$$ += "(?\x3d[\\s\\S]*?" + $boundaryRegexList$$[$z$$8$$] + "(\\w*?)(";
    if (0 != $z$$8$$) {
      for (var $regex$$4$$ = $regex$$4$$ + "?!", $y$$48$$ = 1;$y$$48$$ <= $z$$8$$;$y$$48$$++) {
        $regex$$4$$ += "\\" + 2 * $y$$48$$ + "$|";
      }
      $regex$$4$$ = $regex$$4$$.substr(0, $regex$$4$$.length - 1) + ")(";
      $regex$$4$$ += $re$$4_searchText$$2_searchTextList$$1$$[$z$$8$$] + "(?:(?\x3d[\\s\\S]*?" + $boundaryRegexList$$[$z$$8$$] + "(?:";
      for ($y$$48$$ = 1;$y$$48$$ <= $z$$8$$;$y$$48$$++) {
        $regex$$4$$ += "\\" + 2 * $y$$48$$ + "$|";
      }
      $regex$$4$$ = $regex$$4$$.substr(0, $regex$$4$$.length - 1) + "))|(?![\\s\\S]*?" + $boundaryRegexList$$[$z$$8$$] + $re$$4_searchText$$2_searchTextList$$1$$[$z$$8$$] + "))";
    } else {
      $regex$$4$$ += $re$$4_searchText$$2_searchTextList$$1$$[$z$$8$$] + "(?![\\s\\S]*?" + $boundaryRegexList$$[$z$$8$$] + $re$$4_searchText$$2_searchTextList$$1$$[$z$$8$$] + ")";
    }
    $regex$$4$$ += "[\\s\\S]*))";
  }
  $re$$4_searchText$$2_searchTextList$$1$$ = new RegExp($regex$$4$$, "gi");
  $AdfLogger$$.$LOGGER$.$config$("The regex used for filtering is ", $re$$4_searchText$$2_searchTextList$$1$$);
  return $re$$4_searchText$$2_searchTextList$$1$$;
};
$AdfDhtmlInputSearchPeer$$.$_getStartsWithFilterRegex$ = function $$AdfDhtmlInputSearchPeer$$$$_getStartsWithFilterRegex$$($re$$5_searchText$$3_searchTextList$$2$$) {
  $re$$5_searchText$$3_searchTextList$$2$$ = $AdfInputSearchUtils$escapeRegexChars$$($re$$5_searchText$$3_searchTextList$$2$$);
  $re$$5_searchText$$3_searchTextList$$2$$ = $AdfInputSearchUtils$splitAndSort$$($re$$5_searchText$$3_searchTextList$$2$$);
  for (var $boundaryRegexList$$1$$ = $AdfDhtmlInputSearchPeer$$.$_getBoundaryRegexList$($re$$5_searchText$$3_searchTextList$$2$$), $regex$$5$$ = "^", $z$$9$$ = 0, $lenz$$1$$ = $re$$5_searchText$$3_searchTextList$$2$$.length;$z$$9$$ < $lenz$$1$$;$z$$9$$++) {
    $regex$$5$$ = $regex$$5$$ + "(?\x3d[\\s\\S]*?" + $boundaryRegexList$$1$$[$z$$9$$] + "(";
    if (0 != $z$$9$$) {
      for (var $regex$$5$$ = $regex$$5$$ + "?!", $y$$49$$ = 1;$y$$49$$ <= $z$$9$$;$y$$49$$++) {
        $regex$$5$$ += "\\" + $y$$49$$ + "$|";
      }
      $regex$$5$$ = $regex$$5$$.substr(0, $regex$$5$$.length - 1) + ")(";
    }
    $regex$$5$$ += $re$$5_searchText$$3_searchTextList$$2$$[$z$$9$$] + "[\\s\\S]*))";
  }
  $re$$5_searchText$$3_searchTextList$$2$$ = new RegExp($regex$$5$$, "gi");
  $AdfLogger$$.$LOGGER$.$config$("The regex used for filtering is ", $re$$5_searchText$$3_searchTextList$$2$$);
  return $re$$5_searchText$$3_searchTextList$$2$$;
};
$AdfDhtmlInputSearchPeer$$.$_concatenateFilterAttributeValues$ = function $$AdfDhtmlInputSearchPeer$$$$_concatenateFilterAttributeValues$$($filterAttributes$$1$$, $suggestionItem$$3$$) {
  for (var $filterStr$$ = "", $j$$37$$ = 0, $lenj$$ = $filterAttributes$$1$$.length;$j$$37$$ < $lenj$$;$j$$37$$++) {
    var $value$$214$$ = $suggestionItem$$3$$[$filterAttributes$$1$$[$j$$37$$]];
    $value$$214$$ && ($filterStr$$ += $value$$214$$ + " ");
  }
  return $filterStr$$;
};
$AdfDhtmlInputSearchPeer$$.$_containsFilter$ = function $$AdfDhtmlInputSearchPeer$$$$_containsFilter$$($component$$1450_i$$344$$, $searchText$$4$$, $data$$53$$) {
  var $re$$6$$ = $AdfDhtmlInputSearchPeer$$.$_getContainsFilterRegex$($searchText$$4$$), $filterAttributes$$2$$ = $component$$1450_i$$344$$.getFilterAttributes(), $scoredCollection$$ = Array($searchText$$4$$.split(" ").length + 1);
  $component$$1450_i$$344$$ = 0;
  for (var $len$$23_scoredOrderedSuggestions$$ = $scoredCollection$$.length;$component$$1450_i$$344$$ < $len$$23_scoredOrderedSuggestions$$;$component$$1450_i$$344$$++) {
    $scoredCollection$$[$component$$1450_i$$344$$] = [];
  }
  $data$$53$$.forEach(function($component$$1450_i$$344$$, $data$$53$$, $len$$23_scoredOrderedSuggestions$$, $suggestionObj$$1$$) {
    $len$$23_scoredOrderedSuggestions$$ = $AdfDhtmlInputSearchPeer$$.$_concatenateFilterAttributeValues$($filterAttributes$$2$$, $component$$1450_i$$344$$);
    $component$$1450_i$$344$$ = $re$$6$$.exec($len$$23_scoredOrderedSuggestions$$);
    unicode_regex = /[^\u0000-\u00ff]/;
    if (unicode_regex.test($searchText$$4$$)) {
      $data$$53$$ = 0, -1 != $len$$23_scoredOrderedSuggestions$$.indexOf($searchText$$4$$) && $scoredCollection$$[$data$$53$$].push($suggestionObj$$1$$);
    } else {
      if (null != $component$$1450_i$$344$$) {
        $data$$53$$ = 0;
        $len$$23_scoredOrderedSuggestions$$ = 1;
        for (var $len$$24$$ = $component$$1450_i$$344$$.length;$len$$23_scoredOrderedSuggestions$$ < $len$$24$$;$len$$23_scoredOrderedSuggestions$$ += 2) {
          "" == $component$$1450_i$$344$$[$len$$23_scoredOrderedSuggestions$$] && $data$$53$$++;
        }
        $scoredCollection$$[$data$$53$$].push($suggestionObj$$1$$);
      }
      $re$$6$$.lastIndex = 0;
    }
  });
  $len$$23_scoredOrderedSuggestions$$ = [];
  for ($component$$1450_i$$344$$ = $scoredCollection$$.length - 1;0 <= $component$$1450_i$$344$$;$component$$1450_i$$344$$--) {
    $len$$23_scoredOrderedSuggestions$$ = $len$$23_scoredOrderedSuggestions$$.concat($scoredCollection$$[$component$$1450_i$$344$$]);
  }
  return new $AdfSuggestionMap$$($len$$23_scoredOrderedSuggestions$$, $data$$53$$);
};
$AdfDhtmlInputSearchPeer$$.$_startsWithFilter$ = function $$AdfDhtmlInputSearchPeer$$$$_startsWithFilter$$($component$$1451$$, $searchText$$5$$, $data$$54$$) {
  var $re$$7$$ = $AdfDhtmlInputSearchPeer$$.$_getStartsWithFilterRegex$($searchText$$5$$), $filterAttributes$$3$$ = $component$$1451$$.getFilterAttributes();
  return $data$$54$$.filter(function($component$$1451$$) {
    $component$$1451$$ = $re$$7$$.test($AdfDhtmlInputSearchPeer$$.$_concatenateFilterAttributeValues$($filterAttributes$$3$$, $component$$1451$$));
    $re$$7$$.lastIndex = 0;
    return $component$$1451$$;
  });
};
function $JSCompiler_StaticMethods__filterSuggestions$$($JSCompiler_StaticMethods__filterSuggestions$self$$, $component$$1452$$) {
  var $page$$137$$ = $AdfPage$$.$PAGE$;
  $JSCompiler_StaticMethods__filterSuggestions$self$$.$_fastKeyInputTimer$ ? $page$$137$$.$rescheduleTimer$($JSCompiler_StaticMethods__filterSuggestions$self$$.$_fastKeyInputTimer$, 70) : $JSCompiler_StaticMethods__filterSuggestions$self$$.$_fastKeyInputTimer$ = $page$$137$$.$scheduleTimer$($JSCompiler_StaticMethods__filterSuggestions$self$$, $JSCompiler_StaticMethods__filterSuggestions$self$$.$_filterSuggestionsCallback$, $component$$1452$$, 70, {isSynchronized:!0});
  $JSCompiler_StaticMethods__filterSuggestions$self$$.$_serverFilterTimer$ && ($AdfPage$$.$PAGE$.$cancelTimer$($JSCompiler_StaticMethods__filterSuggestions$self$$.$_serverFilterTimer$), $JSCompiler_StaticMethods__filterSuggestions$self$$.$_serverFilterTimer$ = null);
}
$AdfDhtmlInputSearchPeer$$.prototype.$_filterSuggestionsCallback$ = function $$AdfDhtmlInputSearchPeer$$$$$_filterSuggestionsCallback$$($component$$1453$$) {
  this.$_fastKeyInputTimer$ = null;
  $JSCompiler_StaticMethods__filterSuggestionsImpl$$(this, $component$$1453$$);
};
function $JSCompiler_StaticMethods__filterSuggestionsImpl$$($JSCompiler_StaticMethods__filterSuggestionsImpl$self$$, $component$$1454$$, $data$$inline_2144_knownPartialListCase_list$$6_suggestions$$24$$) {
  var $searchText$$6$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1454$$, $JSCompiler_StaticMethods__filterSuggestionsImpl$self$$.$getDomElement$()).value.trim();
  $JSCompiler_StaticMethods__filterSuggestionsImpl$self$$.$_lastValue$ = $searchText$$6$$;
  if ($JSCompiler_StaticMethods__filterSuggestionsImpl$self$$.$_lastFilteredText$ != $searchText$$6$$ || $AdfSuggestionsContainer$$.$needsUpdate$($component$$1454$$)) {
    var $renderingContext$$5$$ = {};
    $renderingContext$$5$$.$shouldHighlight$ = !!$searchText$$6$$;
    $data$$inline_2144_knownPartialListCase_list$$6_suggestions$$24$$ ? $renderingContext$$5$$.$isPartialList$ = !0 : $JSCompiler_StaticMethods__filterSuggestionsImpl$self$$.$ShowSuggestionsPopup$($component$$1454$$, "filtering");
    $data$$inline_2144_knownPartialListCase_list$$6_suggestions$$24$$ = $JSCompiler_StaticMethods__filterSuggestionsImpl$self$$.$GetCachedServerSuggestionsList$($searchText$$6$$);
    if (!$data$$inline_2144_knownPartialListCase_list$$6_suggestions$$24$$ && ($JSCompiler_StaticMethods__filterSuggestionsImpl$self$$.$_suggestionsCacheMap$ || ($JSCompiler_StaticMethods__filterSuggestionsImpl$self$$.$_suggestionsCacheMap$ = new $AdfInputSearchMruCache$$(3)), $data$$inline_2144_knownPartialListCase_list$$6_suggestions$$24$$ = ($data$$inline_2144_knownPartialListCase_list$$6_suggestions$$24$$ = $JSCompiler_StaticMethods__filterSuggestionsImpl$self$$.$_suggestionsCacheMap$.$getBestMatch$($searchText$$6$$)) ? 
    $data$$inline_2144_knownPartialListCase_list$$6_suggestions$$24$$[$AdfInputSearchMruCache$$.$SUGGESTIONS$] : void 0, $renderingContext$$5$$.$isPartialList$ = !0, !$data$$inline_2144_knownPartialListCase_list$$6_suggestions$$24$$)) {
      return;
    }
    var $criteria$$ = $component$$1454$$.getCriteria();
    $searchText$$6$$ && ($data$$inline_2144_knownPartialListCase_list$$6_suggestions$$24$$ = $criteria$$ == AdfRichInputSearch.$CRITERIA_CONTAINS$ ? $AdfDhtmlInputSearchPeer$$.$_containsFilter$($component$$1454$$, $searchText$$6$$, $data$$inline_2144_knownPartialListCase_list$$6_suggestions$$24$$) : $criteria$$ == AdfRichInputSearch.$CRITERIA_ATTRIBUTE_STARTS_WITH$ ? $AdfDhtmlInputSearchPeer$$.$_attributeStartsWithFilter$($component$$1454$$, $searchText$$6$$, $data$$inline_2144_knownPartialListCase_list$$6_suggestions$$24$$) : 
    $AdfDhtmlInputSearchPeer$$.$_startsWithFilter$($component$$1454$$, $searchText$$6$$, $data$$inline_2144_knownPartialListCase_list$$6_suggestions$$24$$));
    $JSCompiler_StaticMethods__filterSuggestionsImpl$self$$.$GetSuggestionsPanel$().$render$($component$$1454$$, $data$$inline_2144_knownPartialListCase_list$$6_suggestions$$24$$, $renderingContext$$5$$);
    $JSCompiler_StaticMethods__filterSuggestionsImpl$self$$.$_lastFilteredText$ = $searchText$$6$$;
  }
}
function $JSCompiler_StaticMethods__getPrefetchListComprehensive$$($JSCompiler_StaticMethods__getPrefetchListComprehensive$self$$, $component$$1455$$) {
  $AdfAssert$$.assert(void 0 !== $JSCompiler_StaticMethods__getPrefetchListComprehensive$self$$.$_isPrefetchListComprehensive$, "This method should not be invoked before prefetchOrUpdate is invoked");
  null === $JSCompiler_StaticMethods__getPrefetchListComprehensive$self$$.$_isPrefetchListComprehensive$ && ($JSCompiler_StaticMethods__getPrefetchListComprehensive$self$$.$_isPrefetchListComprehensive$ = !$component$$1455$$.$getSearchSections$()[$AdfDhtmlInputSearchPeer$$.$__SEARCH_SECTION_TYPE_DEFAULT$].getFilterParameters());
  return $JSCompiler_StaticMethods__getPrefetchListComprehensive$self$$.$_isPrefetchListComprehensive$;
}
$AdfDhtmlInputSearchPeer$$.$_createHiddenValueElement$ = function $$AdfDhtmlInputSearchPeer$$$$_createHiddenValueElement$$($component$$1456$$, $contentContainer$$6$$) {
  var $hiddenValueElem$$ = document.createElement("input");
  $hiddenValueElem$$.setAttribute("type", "hidden");
  $hiddenValueElem$$.setAttribute("name", $component$$1456$$.$getClientId$());
  $contentContainer$$6$$.appendChild($hiddenValueElem$$);
  return $hiddenValueElem$$;
};
$AdfDhtmlInputSearchPeer$$.$_getHiddenValueElements$ = function $$AdfDhtmlInputSearchPeer$$$$_getHiddenValueElements$$($component$$1457$$, $domElement$$309$$) {
  $domElement$$309$$ || ($domElement$$309$$ = $component$$1457$$.$getDomElement$());
  var $attributeName$$3$$ = $component$$1457$$.getReadOnly() ? $AdfDhtmlInputSearchPeer$$.$_CUSTOM_NAME_EXPANDO$ : "name";
  return $domElement$$309$$.querySelectorAll("[" + $attributeName$$3$$ + "\x3d'" + $component$$1457$$.$getClientId$() + "']");
};
$AdfDhtmlInputSearchPeer$$.$_setIdOnLabelElement$ = function $$AdfDhtmlInputSearchPeer$$$$_setIdOnLabelElement$$($component$$1459$$, $contentNode$$70$$) {
  var $labelElement$$3$$ = $AdfDhtmlEditableValuePeer$$.$GetLabelElement$($contentNode$$70$$);
  $labelElement$$3$$ ? $labelElement$$3$$.setAttribute("id", $AdfInputSearchUtils$getLabelId$$($component$$1459$$)) : $AdfLogger$$.$LOGGER$.severe("Label not defined or for attribute not set for inputSearch ", $contentNode$$70$$.id);
};
$AdfDhtmlInputSearchPeer$$.prototype.$IsSelectionsShown$ = function $$AdfDhtmlInputSearchPeer$$$$$IsSelectionsShown$$($component$$1461_popupWindow$$20$$) {
  return ($component$$1461_popupWindow$$20$$ = this.$__getSuggestionPopupWindow$($component$$1461_popupWindow$$20$$)) && $component$$1461_popupWindow$$20$$.$_isSelections$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.IsSelectionsShown", {$IsSelectionsShown$:$AdfDhtmlInputSearchPeer$$.prototype.$IsSelectionsShown$});
$AdfDhtmlInputSearchPeer$$.prototype.$__getSuggestionPopupWindow$ = function $$AdfDhtmlInputSearchPeer$$$$$__getSuggestionPopupWindow$$($component$$1462$$) {
  return this.$getPopupWindow$($component$$1462$$, $AdfDhtmlInputSearchPeer$$.$_SUGGESTIONS_POPUP_SUB_ID$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.__getSuggestionPopupWindow", {$__getSuggestionPopupWindow$:$AdfDhtmlInputSearchPeer$$.prototype.$__getSuggestionPopupWindow$});
$AdfDhtmlInputSearchPeer$$.prototype.$IsSuggestionPopupVisible$ = function $$AdfDhtmlInputSearchPeer$$$$$IsSuggestionPopupVisible$$($component$$1463$$) {
  return this.$isPopupVisible$($component$$1463$$, $AdfDhtmlInputSearchPeer$$.$_SUGGESTIONS_POPUP_SUB_ID$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.IsSuggestionPopupVisible", {$IsSuggestionPopupVisible$:$AdfDhtmlInputSearchPeer$$.prototype.$IsSuggestionPopupVisible$});
$AdfDhtmlInputSearchPeer$$.prototype.$HideSuggestionPopup$ = function $$AdfDhtmlInputSearchPeer$$$$$HideSuggestionPopup$$($component$$1464$$) {
  this.$hidePopup$($component$$1464$$, $AdfDhtmlInputSearchPeer$$.$_SUGGESTIONS_POPUP_SUB_ID$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.HideSuggestionPopup", {$HideSuggestionPopup$:$AdfDhtmlInputSearchPeer$$.prototype.$HideSuggestionPopup$});
$AdfDhtmlInputSearchPeer$$.prototype.$ShowSuggestionsPopup$ = function $$AdfDhtmlInputSearchPeer$$$$$ShowSuggestionsPopup$$($component$$1466$$, $state$$45$$) {
  var $contentNode$$71_preferredSuggestions$$inline_5816_searchText$$inline_2160_time$$inline_5824$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1466$$, this.$getDomElement$()), $clientId$$inline_2147_page$$inline_5825_popupWindow$$21_searchSections$$inline_5817_suggestionsPopup$$3_suggestionsPopupId$$inline_2148$$ = this.$__getSuggestionPopupWindow$($component$$1466$$);
  if ($clientId$$inline_2147_page$$inline_5825_popupWindow$$21_searchSections$$inline_5817_suggestionsPopup$$3_suggestionsPopupId$$inline_2148$$) {
    $clientId$$inline_2147_page$$inline_5825_popupWindow$$21_searchSections$$inline_5817_suggestionsPopup$$3_suggestionsPopupId$$inline_2148$$.$_isSelections$ = !1, this.$_suggestionsContainer$.reset($component$$1466$$, $contentNode$$71_preferredSuggestions$$inline_5816_searchText$$inline_2160_time$$inline_5824$$, this.$GetSuggestionsPanel$());
  } else {
    "filtering" != $state$$45$$ && this.$ToggleDisplayValueToFiltering$($contentNode$$71_preferredSuggestions$$inline_5816_searchText$$inline_2160_time$$inline_5824$$);
    var $clientId$$inline_2147_page$$inline_5825_popupWindow$$21_searchSections$$inline_5817_suggestionsPopup$$3_suggestionsPopupId$$inline_2148$$ = $component$$1466$$.$getClientId$(), $clientId$$inline_2147_page$$inline_5825_popupWindow$$21_searchSections$$inline_5817_suggestionsPopup$$3_suggestionsPopupId$$inline_2148$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$inline_2147_page$$inline_5825_popupWindow$$21_searchSections$$inline_5817_suggestionsPopup$$3_suggestionsPopupId$$inline_2148$$, $AdfDhtmlInputSearchPeer$$.$_SUGGESTIONS_POPUP_SUB_ID$), 
    $clientId$$inline_2153_suggestionsPopup$$inline_2149_suggestionsSection$$inline_5818$$ = document.getElementById($clientId$$inline_2147_page$$inline_5825_popupWindow$$21_searchSections$$inline_5817_suggestionsPopup$$3_suggestionsPopupId$$inline_2148$$);
    $clientId$$inline_2153_suggestionsPopup$$inline_2149_suggestionsSection$$inline_5818$$ || ($clientId$$inline_2153_suggestionsPopup$$inline_2149_suggestionsSection$$inline_5818$$ = document.createElement("div"), $clientId$$inline_2153_suggestionsPopup$$inline_2149_suggestionsSection$$inline_5818$$.setAttribute("id", $clientId$$inline_2147_page$$inline_5825_popupWindow$$21_searchSections$$inline_5817_suggestionsPopup$$3_suggestionsPopupId$$inline_2148$$), $component$$1466$$.getStyleClass() && $clientId$$inline_2153_suggestionsPopup$$inline_2149_suggestionsSection$$inline_5818$$.setAttribute("class", 
    $component$$1466$$.getStyleClass()));
    $clientId$$inline_2147_page$$inline_5825_popupWindow$$21_searchSections$$inline_5817_suggestionsPopup$$3_suggestionsPopupId$$inline_2148$$ = $clientId$$inline_2153_suggestionsPopup$$inline_2149_suggestionsSection$$inline_5818$$;
    this.$_toolbarPanel$.$attach$($component$$1466$$, $clientId$$inline_2147_page$$inline_5825_popupWindow$$21_searchSections$$inline_5817_suggestionsPopup$$3_suggestionsPopupId$$inline_2148$$);
    this.$_suggestionsContainer$.$attach$($component$$1466$$, $clientId$$inline_2147_page$$inline_5825_popupWindow$$21_searchSections$$inline_5817_suggestionsPopup$$3_suggestionsPopupId$$inline_2148$$);
    var $clientId$$inline_2153_suggestionsPopup$$inline_2149_suggestionsSection$$inline_5818$$ = $component$$1466$$.$getClientId$(), $hints$$inline_2154_renderingContext$$inline_5819$$ = {type:"menu", autodismiss:"autodismissMenu", closeOnEscape:!0};
    $hints$$inline_2154_renderingContext$$inline_5819$$.closeHandler = this.$createCallback$(this.$_handleSuggestionsPopupClosed$);
    $hints$$inline_2154_renderingContext$$inline_5819$$.closeHandlerParam = $component$$1466$$;
    $hints$$inline_2154_renderingContext$$inline_5819$$.openedHandler = this.$createCallback$(this.$_handleSuggestionsPopupOpening$);
    $hints$$inline_2154_renderingContext$$inline_5819$$.openedHandlerParam = $component$$1466$$;
    $hints$$inline_2154_renderingContext$$inline_5819$$[AdfRichPopup.$HINT_ALIGN_ID$] = $AdfDhtmlEditableValuePeer$$.$GetContentNodeId$($component$$1466$$);
    $hints$$inline_2154_renderingContext$$inline_5819$$[AdfRichPopup.$HINT_ALIGN$] = AdfRichPopup.$ALIGN_AFTER_START$;
    $hints$$inline_2154_renderingContext$$inline_5819$$[AdfRichPopup.$HINT_LAUNCH_ID$] = $clientId$$inline_2153_suggestionsPopup$$inline_2149_suggestionsSection$$inline_5818$$;
    $hints$$inline_2154_renderingContext$$inline_5819$$.animate = AdfRichPopup.$ANIMATE_FALSE$;
    $hints$$inline_2154_renderingContext$$inline_5819$$.focus = !1;
    window.$AdfSafariMobileAgent$ && $AdfAgent$$.$AGENT$ instanceof $AdfSafariMobileAgent$$ && this.$preventNextValueSubmission$();
    $hints$$inline_2154_renderingContext$$inline_5819$$.componentEventsEnabled = !0;
    this.$showPopup$($component$$1466$$, $clientId$$inline_2147_page$$inline_5825_popupWindow$$21_searchSections$$inline_5817_suggestionsPopup$$3_suggestionsPopupId$$inline_2148$$, $hints$$inline_2154_renderingContext$$inline_5819$$, $AdfDhtmlInputSearchPeer$$.$_SUGGESTIONS_POPUP_SUB_ID$);
  }
  "selections" == $state$$45$$ ? (this.$__getSuggestionPopupWindow$($component$$1466$$).$_isSelections$ = !0, this.$RenderSelections$($component$$1466$$)) : "initial" == $state$$45$$ ? ($AdfPage$$.$PAGE$.$__perfTimings$(!0, !0, !0, "inputSearch: user click: show suggestions: id\x3d", $component$$1466$$.$getClientId$()), $contentNode$$71_preferredSuggestions$$inline_5816_searchText$$inline_2160_time$$inline_5824$$ = $AdfPreferredSuggestionsManager$$.get($component$$1466$$), $clientId$$inline_2147_page$$inline_5825_popupWindow$$21_searchSections$$inline_5817_suggestionsPopup$$3_suggestionsPopupId$$inline_2148$$ = 
  $AdfInputSearchUtils$getChildrenSection$$($component$$1466$$, AdfRichSearchSection), $contentNode$$71_preferredSuggestions$$inline_5816_searchText$$inline_2160_time$$inline_5824$$ && ($clientId$$inline_2153_suggestionsPopup$$inline_2149_suggestionsSection$$inline_5818$$ = $AdfInputSearchUtils$getSuggestionsSection$$($component$$1466$$), $hints$$inline_2154_renderingContext$$inline_5819$$ = {$isPreferredList$:!0}, $hints$$inline_2154_renderingContext$$inline_5819$$.$isPartialList$ = 1 < $clientId$$inline_2147_page$$inline_5825_popupWindow$$21_searchSections$$inline_5817_suggestionsPopup$$3_suggestionsPopupId$$inline_2148$$.length, 
  $hints$$inline_2154_renderingContext$$inline_5819$$.source = $clientId$$inline_2153_suggestionsPopup$$inline_2149_suggestionsSection$$inline_5818$$, this.$GetSuggestionsPanel$().$render$($component$$1466$$, $contentNode$$71_preferredSuggestions$$inline_5816_searchText$$inline_2160_time$$inline_5824$$, $hints$$inline_2154_renderingContext$$inline_5819$$), $clientId$$inline_2153_suggestionsPopup$$inline_2149_suggestionsSection$$inline_5818$$.getDontCache() && $AdfDomUtils$$.$addCSSClassName$(this.$getDomElement$(), 
  $AdfDhtmlInputSearchPeer$$.$_VALUE_UPDATING_STYLE_CLASS$)), (new $AdfSequencedSections$$($clientId$$inline_2147_page$$inline_5825_popupWindow$$21_searchSections$$inline_5817_suggestionsPopup$$3_suggestionsPopupId$$inline_2148$$)).$sendRequests$()) : ($contentNode$$71_preferredSuggestions$$inline_5816_searchText$$inline_2160_time$$inline_5824$$ = $contentNode$$71_preferredSuggestions$$inline_5816_searchText$$inline_2160_time$$inline_5824$$.value.trim(), $AdfPage$$.$PAGE$.$__perfTimings$(!0, !0, 
  !0, "inputSearch: user click: filter values: id\x3d", $component$$1466$$.$getClientId$(), ", terms\x3d", $contentNode$$71_preferredSuggestions$$inline_5816_searchText$$inline_2160_time$$inline_5824$$), this.$GetCachedServerSuggestionsList$($contentNode$$71_preferredSuggestions$$inline_5816_searchText$$inline_2160_time$$inline_5824$$) || ($JSCompiler_StaticMethods__getPrefetchListComprehensive$$(this, $component$$1466$$) ? $JSCompiler_StaticMethods__fetch$$($component$$1466$$, {$_isClientFiltering$:!0}) : 
  ($contentNode$$71_preferredSuggestions$$inline_5816_searchText$$inline_2160_time$$inline_5824$$ = $AdfDhtmlInputSearchPeer$$.$_getServerFilterDelay$($contentNode$$71_preferredSuggestions$$inline_5816_searchText$$inline_2160_time$$inline_5824$$.length), $clientId$$inline_2147_page$$inline_5825_popupWindow$$21_searchSections$$inline_5817_suggestionsPopup$$3_suggestionsPopupId$$inline_2148$$ = $AdfPage$$.$PAGE$, this.$_serverFilterTimer$ ? $clientId$$inline_2147_page$$inline_5825_popupWindow$$21_searchSections$$inline_5817_suggestionsPopup$$3_suggestionsPopupId$$inline_2148$$.$rescheduleTimer$(this.$_serverFilterTimer$, 
  $contentNode$$71_preferredSuggestions$$inline_5816_searchText$$inline_2160_time$$inline_5824$$) : this.$_serverFilterTimer$ = $clientId$$inline_2147_page$$inline_5825_popupWindow$$21_searchSections$$inline_5817_suggestionsPopup$$3_suggestionsPopupId$$inline_2148$$.$scheduleTimer$(this, this.$_serverFiltering$, $component$$1466$$, $contentNode$$71_preferredSuggestions$$inline_5816_searchText$$inline_2160_time$$inline_5824$$, {isSynchronized:!0}))));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.ShowSuggestionsPopup", {$ShowSuggestionsPopup$:$AdfDhtmlInputSearchPeer$$.prototype.$ShowSuggestionsPopup$});
$AdfDhtmlInputSearchPeer$$.prototype.$_serverFiltering$ = function $$AdfDhtmlInputSearchPeer$$$$$_serverFiltering$$($component$$1469$$) {
  this.$_serverFilterTimer$ = null;
  $JSCompiler_StaticMethods__fetch$$($component$$1469$$, {$_isServerFiltering$:!0});
};
$AdfDhtmlInputSearchPeer$$.$_getServerFilterDelay$ = function $$AdfDhtmlInputSearchPeer$$$$_getServerFilterDelay$$($searchTermsLength$$) {
  switch($searchTermsLength$$) {
    case 0:
      return 500;
    case 1:
      return 1E3;
    case 2:
      return 700;
    case 3:
      return 500;
    default:
      return 300;
  }
};
