function $AdfSuggestionsPanel$$() {
  $AdfAssert$$.$failedInAbstractFunction$();
}
$goog$exportSymbol$$("AdfSuggestionsPanel", $AdfSuggestionsPanel$$);
$AdfObject$$.$createSubclass$($AdfSuggestionsPanel$$);
$AdfSuggestionsPanel$$.$InitClass$ = function $$AdfSuggestionsPanel$$$$InitClass$$() {
  this.$_VALUE_ATTRIBUTE_EXPANDO$ = "data-afr-value";
  this.$_NO_SUGGESTIONS_MESSAGE_STYLE_CLASS$ = "af|inputSearch::no-suggestions-message";
  this.$_SERVER_FILTERING_STYLE_CLASS$ = "af|inputSearch::server-filtering-indicator";
  this.$_LIST_ITEMS_CONTAINER_STYLE_CLASS$ = "af|inputSearch::list-items-container";
  this.$_ROW_ITEMS_CONTAINER_STYLE_CLASS$ = "af|inputSearch::row-items-container";
  this.$_SUGGESTION_LIST_ITEM_STYLE_CLASS$ = "af|inputSearch::suggestion-list-item";
  this.$_SUGGESTION_ROW_HEADER_STYLE_CLASS$ = "af|inputSearch::suggestion-row-header";
  this.$_SUGGESTION_ROW_ITEM_STYLE_CLASS$ = "af|inputSearch::suggestion-row-item";
  this.$_SUGGESTION_ITEM_MATCHING_TEXT_STYLE_CLASS$ = "af|inputSearch::suggestion-item-matching-text";
  this.$_ACTIVE_CELL_ID$ = "afr-active";
  this.$_CONTENT_STAMP_SUB_ID$ = "cntStmp";
  this.$_CONTENT_HEADER_SUB_ID$ = "cntHdr";
  this.$_SERVER_FILTERING_INDICATOR_SUB_ID$ = "serverFilteringIndicator";
  this.$_SUGGEST_ITEM_SUB_ID$ = "item";
  this.$_SUGGESTIONS_BODY_SUB_ID$ = "sgstnBdy";
  this.$_LABEL_FETCHING$ = "af_inputSearch.LABEL_FETCHING";
  this.$_LABEL_NO_DATA$ = "af_inputSearch.LABEL_NO_DATA";
  this.$_LABEL_NO_MATCHES$ = "af_inputSearch.LABEL_NO_MATCHES";
  this.$_SUGGESTIONS_COUNT_MSG$ = "af_inputSearch.SUGGESTIONS_COUNT_MSG";
  this.$_SUGGESTIONS_MERGED_MSG$ = "af_inputSearch.SUGGESTIONS_MERGED_MSG";
  this.$_POPUP_RESIZE_TIME$ = 151;
  this.$__SUGGESTIONS_RENDERING_CHUNK_SIZE$ = 300;
  this.$_HIGHLIGHT_MARKER$ = "\u19e6\u1391$1\u19e6\u1391";
  this.$_HIGHLIGHT_MARKER_REPLACE_REGEX$ = /\u19e6\u1391(.+?)\u19e6\u1391/g;
};
$goog$exportSymbol$$("AdfSuggestionsPanel.InitClass", $AdfSuggestionsPanel$$.$InitClass$);
$AdfSuggestionsPanel$$.prototype.Init = function $$AdfSuggestionsPanel$$$$Init$($component$$580_peer$$69$$) {
  $AdfSuggestionsPanel$$.$superclass$.Init.call(this);
  this.$_peer$ = $component$$580_peer$$69$$;
  $component$$580_peer$$69$$ = $component$$580_peer$$69$$.$getComponent$();
  if (!$AdfInputSearchUtils$isReadOnlyOrDisabled$$($component$$580_peer$$69$$)) {
    var $headerFacet$$inline_740$$ = $AdfSuggestionsPanel$$.$_getContentHeaderFacetElement$($component$$580_peer$$69$$);
    $headerFacet$$inline_740$$ && ($headerFacet$$inline_740$$.innerHTML = this.$WrapContentHeaderTemplate$($AdfInputSearchUtils$parseTemplate$$($headerFacet$$inline_740$$.innerHTML)));
    $JSCompiler_StaticMethods__initContentStampTemplate$$(this, $component$$580_peer$$69$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfSuggestionsPanel.prototype.Init", {Init:$AdfSuggestionsPanel$$.prototype.Init});
$AdfSuggestionsPanel$$.$appendHeader$ = function $$AdfSuggestionsPanel$$$$appendHeader$$($isTableMode$$3$$, $headerHtml$$, $suggestionsDomFragment$$, $styleClass$$2$$, $id$$234$$) {
  var $headerItem$$ = document.createElement($isTableMode$$3$$ ? "tr" : "li");
  $id$$234$$ && $headerItem$$.setAttribute("id", $id$$234$$);
  $AdfDomUtils$$.$addCSSClassName$($headerItem$$, $AdfPage$$.$PAGE$.$getLookAndFeel$().getStyleClass($styleClass$$2$$));
  $isTableMode$$3$$ || $headerItem$$.setAttribute("role", "presentation");
  $headerItem$$.innerHTML = $headerHtml$$;
  $suggestionsDomFragment$$.appendChild($headerItem$$);
};
$goog$exportSymbol$$("AdfSuggestionsPanel.appendHeader", $AdfSuggestionsPanel$$.$appendHeader$);
$AdfSuggestionsPanel$$.$getSuggestItemIdPrefix$ = function $$AdfSuggestionsPanel$$$$getSuggestItemIdPrefix$$($clientId$$79$$) {
  return $AdfRichUIPeer$$.$createSubId$($clientId$$79$$, $AdfSuggestionsPanel$$.$_SUGGEST_ITEM_SUB_ID$);
};
$goog$exportSymbol$$("AdfSuggestionsPanel.getSuggestItemIdPrefix", $AdfSuggestionsPanel$$.$getSuggestItemIdPrefix$);
$AdfSuggestionsPanel$$.$getSuggestionElement$ = function $$AdfSuggestionsPanel$$$$getSuggestionElement$$($element$$153$$, $rootElement$$9$$) {
  for (;$element$$153$$ != document.body && !$AdfSuggestionsPanel$$.$IsSuggestItem$($element$$153$$) && $element$$153$$ != $rootElement$$9$$;) {
    $element$$153$$ = $element$$153$$.parentNode;
  }
  return $AdfSuggestionsPanel$$.$IsSuggestItem$($element$$153$$) ? $element$$153$$ : null;
};
$goog$exportSymbol$$("AdfSuggestionsPanel.getSuggestionElement", $AdfSuggestionsPanel$$.$getSuggestionElement$);
$AdfSuggestionsPanel$$.$hasPartialDisplayedList$ = function $$AdfSuggestionsPanel$$$$hasPartialDisplayedList$$($component$$581$$) {
  return null != $AdfSuggestionsPanel$$.$_getPartialSuggestionsLoadingIndicator$($component$$581$$);
};
$goog$exportSymbol$$("AdfSuggestionsPanel.hasPartialDisplayedList", $AdfSuggestionsPanel$$.$hasPartialDisplayedList$);
$AdfSuggestionsPanel$$.prototype.clear = function $$AdfSuggestionsPanel$$$$clear$($contentNode$$15$$, $underAutocompletion$$2$$) {
  $contentNode$$15$$ && $contentNode$$15$$.removeAttribute("aria-activedescendant");
  $underAutocompletion$$2$$ || (this.$_displayedSuggestions$ = null);
  this.$_scrollManager$ && (this.$_scrollManager$.release(), this.$_scrollManager$ = null);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfSuggestionsPanel.prototype.clear", {clear:$AdfSuggestionsPanel$$.prototype.clear});
$AdfSuggestionsPanel$$.$getSuggestionsBodyId$ = function $$AdfSuggestionsPanel$$$$getSuggestionsBodyId$$($component$$582$$) {
  return $AdfRichUIPeer$$.$createSubId$($component$$582$$.$getClientId$(), $AdfSuggestionsPanel$$.$_SUGGESTIONS_BODY_SUB_ID$);
};
$goog$exportSymbol$$("AdfSuggestionsPanel.getSuggestionsBodyId", $AdfSuggestionsPanel$$.$getSuggestionsBodyId$);
$AdfSuggestionsPanel$$.$removePartialSuggestionsLoadingIndicator$ = function $$AdfSuggestionsPanel$$$$removePartialSuggestionsLoadingIndicator$$($component$$583$$, $dontRemove$$) {
  var $busyDiv$$3$$ = $AdfSuggestionsPanel$$.$_getPartialSuggestionsLoadingIndicator$($component$$583$$);
  if (!$busyDiv$$3$$) {
    return !1;
  }
  if ($dontRemove$$) {
    return !0;
  }
  $AdfSuggestionsPanel$$.$_getSuggestionsBody$($component$$583$$).removeChild($busyDiv$$3$$);
  return !0;
};
$goog$exportSymbol$$("AdfSuggestionsPanel.removePartialSuggestionsLoadingIndicator", $AdfSuggestionsPanel$$.$removePartialSuggestionsLoadingIndicator$);
$AdfSuggestionsPanel$$.prototype.$getDisplayedSuggestions$ = function $$AdfSuggestionsPanel$$$$$getDisplayedSuggestions$$() {
  return this.$_displayedSuggestions$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfSuggestionsPanel.prototype.getDisplayedSuggestions", {$getDisplayedSuggestions$:$AdfSuggestionsPanel$$.prototype.$getDisplayedSuggestions$});
$AdfSuggestionsPanel$$.prototype.$render$ = function $$AdfSuggestionsPanel$$$$$render$$($component$$584$$, $page$$34_suggestions$$8$$, $options$$31_renderingContext$$) {
  $options$$31_renderingContext$$ || ($options$$31_renderingContext$$ = {});
  var $JSCompiler_inline_result$$38_chainedSuggestionsMap_page$$inline_749_renderingContext$$inline_748$$;
  $JSCompiler_inline_result$$38_chainedSuggestionsMap_page$$inline_749_renderingContext$$inline_748$$ = $options$$31_renderingContext$$;
  $AdfSuggestionsPanel$$.$removePartialSuggestionsLoadingIndicator$($component$$584$$, $JSCompiler_inline_result$$38_chainedSuggestionsMap_page$$inline_749_renderingContext$$inline_748$$.$isPartialList$) ? ($AdfSuggestionsPanel$$.$_deDuplicateSuggestions$(this.$_displayedSuggestions$, $page$$34_suggestions$$8$$, $JSCompiler_inline_result$$38_chainedSuggestionsMap_page$$inline_749_renderingContext$$inline_748$$.source) && (this.$_scrollManager$.$updateCollection$(this.$_displayedSuggestions$), this.$_adjustPopupDimensions$(this.$_displayedSuggestions$), 
  $JSCompiler_inline_result$$38_chainedSuggestionsMap_page$$inline_749_renderingContext$$inline_748$$ = $AdfPage$$.$PAGE$, $JSCompiler_inline_result$$38_chainedSuggestionsMap_page$$inline_749_renderingContext$$inline_748$$.$announceToAssistiveTechnology$($JSCompiler_inline_result$$38_chainedSuggestionsMap_page$$inline_749_renderingContext$$inline_748$$.$getLookAndFeel$().$getTranslatedString$($AdfSuggestionsPanel$$.$_SUGGESTIONS_MERGED_MSG$, this.$_displayedSuggestions$.length)), $component$$584$$.getContentMode() == 
  $AdfDhtmlInputSearchPeer$$.$__CONTENT_MODE_TABLE$ && $AdfSuggestionsPanel$$.$_getSuggestionsBody$($component$$584$$).setAttribute("aria-rowcount", this.$_displayedSuggestions$.length)), $JSCompiler_inline_result$$38_chainedSuggestionsMap_page$$inline_749_renderingContext$$inline_748$$ = !0) : $JSCompiler_inline_result$$38_chainedSuggestionsMap_page$$inline_749_renderingContext$$inline_748$$ = !1;
  if ($JSCompiler_inline_result$$38_chainedSuggestionsMap_page$$inline_749_renderingContext$$inline_748$$) {
    $AdfPage$$.$PAGE$.$__perfTimings$(!1, !1, !0, "inputSearch: suggestions popup update done: id\x3d", $component$$584$$.$getClientId$());
  } else {
    var $shouldHighlight_suggestionsBody$$1$$ = !!$options$$31_renderingContext$$.$shouldHighlight$, $isPartialList_suggestionsContainer$$8$$ = !!$options$$31_renderingContext$$.$isPartialList$;
    $JSCompiler_inline_result$$38_chainedSuggestionsMap_page$$inline_749_renderingContext$$inline_748$$ = new $AdfChainSuggestionsMap$$;
    $JSCompiler_inline_result$$38_chainedSuggestionsMap_page$$inline_749_renderingContext$$inline_748$$.$addSuggestionMap$($page$$34_suggestions$$8$$, $options$$31_renderingContext$$.source);
    this.$_displayedSuggestions$ = $JSCompiler_inline_result$$38_chainedSuggestionsMap_page$$inline_749_renderingContext$$inline_748$$;
    if (0 === $JSCompiler_inline_result$$38_chainedSuggestionsMap_page$$inline_749_renderingContext$$inline_748$$.length) {
      $isPartialList_suggestionsContainer$$8$$ || $AdfSuggestionsPanel$$.$_renderNoSuggestionsMessage$($component$$584$$, $shouldHighlight_suggestionsBody$$1$$), $AdfPage$$.$PAGE$.$__perfTimings$(!1, !1, !0, "inputSearch: suggestions popup update done: id\x3d", $component$$584$$.$getClientId$());
    } else {
      $page$$34_suggestions$$8$$ = $AdfPage$$.$PAGE$;
      $page$$34_suggestions$$8$$.$announceToAssistiveTechnology$($page$$34_suggestions$$8$$.$getLookAndFeel$().$getTranslatedString$($AdfSuggestionsPanel$$.$_SUGGESTIONS_COUNT_MSG$, $JSCompiler_inline_result$$38_chainedSuggestionsMap_page$$inline_749_renderingContext$$inline_748$$.length));
      $options$$31_renderingContext$$ = {};
      $options$$31_renderingContext$$.$suggestions$ = $JSCompiler_inline_result$$38_chainedSuggestionsMap_page$$inline_749_renderingContext$$inline_748$$;
      $options$$31_renderingContext$$.$shouldHighlight$ = $shouldHighlight_suggestionsBody$$1$$;
      var $suggestionsDomFragment$$1$$ = this.$_createSuggestionsDomFragment$($JSCompiler_inline_result$$38_chainedSuggestionsMap_page$$inline_749_renderingContext$$inline_748$$, $options$$31_renderingContext$$, !0, 0), $shouldHighlight_suggestionsBody$$1$$ = $AdfSuggestionsPanel$$.$_getSuggestionsBody$($component$$584$$);
      $component$$584$$.getContentMode() == $AdfDhtmlInputSearchPeer$$.$__CONTENT_MODE_TABLE$ && $shouldHighlight_suggestionsBody$$1$$.setAttribute("aria-rowcount", $JSCompiler_inline_result$$38_chainedSuggestionsMap_page$$inline_749_renderingContext$$inline_748$$.length);
      $shouldHighlight_suggestionsBody$$1$$.appendChild($suggestionsDomFragment$$1$$);
      $isPartialList_suggestionsContainer$$8$$ && $AdfSuggestionsPanel$$.$_renderServerLoadingIndicator$($component$$584$$, $shouldHighlight_suggestionsBody$$1$$);
      $isPartialList_suggestionsContainer$$8$$ = $AdfSuggestionsContainer$$.$getElement$($component$$584$$);
      $AdfSuggestionsContainer$$.$showSuggestions$($component$$584$$, $shouldHighlight_suggestionsBody$$1$$, $isPartialList_suggestionsContainer$$8$$);
      $page$$34_suggestions$$8$$.$scheduleTimer$(this, this.$_adjustPopupDimensions$, $JSCompiler_inline_result$$38_chainedSuggestionsMap_page$$inline_749_renderingContext$$inline_748$$, $AdfSuggestionsPanel$$.$_POPUP_RESIZE_TIME$, {isSynchronized:!0});
      $page$$34_suggestions$$8$$.$__perfTimings$(!1, !1, !0, "inputSearch: suggestions popup update done: id\x3d", $component$$584$$.$getClientId$());
      this.$_scrollManager$ && this.$_scrollManager$.release();
      $options$$31_renderingContext$$.$headerHeight$ = $AdfSuggestionsPanel$$.$_getContentHeaderHeight$($shouldHighlight_suggestionsBody$$1$$);
      this.$_scrollManager$ = new $AdfInputSearchScrollManager$$($component$$584$$.$getClientId$(), $JSCompiler_inline_result$$38_chainedSuggestionsMap_page$$inline_749_renderingContext$$inline_748$$, $isPartialList_suggestionsContainer$$8$$, $shouldHighlight_suggestionsBody$$1$$, this.$createCallback$(this.$_createSuggestionsDomFragment$), $options$$31_renderingContext$$);
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfSuggestionsPanel.prototype.render", {$render$:$AdfSuggestionsPanel$$.prototype.$render$});
$AdfSuggestionsPanel$$.prototype.update = function $$AdfSuggestionsPanel$$$$update$($component$$585$$, $suggestions$$9$$, $isMasterList$$2$$) {
  for (var $templateAttributes$$ = this.$_templateAttributes$, $template$$16$$ = this.$_contentStampTemplate$, $selectedTemplate$$ = this.$GetSelectedItemTemplate$($template$$16$$), $suggestionsBody$$2$$ = $AdfSuggestionsPanel$$.$_getSuggestionsBody$($component$$585$$), $suggestionElem$$3$$ = $suggestionsBody$$2$$.firstElementChild;!$AdfSuggestionsPanel$$.$IsSuggestItem$($suggestionElem$$3$$);) {
    $suggestionElem$$3$$ = $suggestionElem$$3$$.nextElementSibling;
  }
  for (var $positionAttr$$ = $component$$585$$.getContentMode() == $AdfDhtmlInputSearchPeer$$.$__CONTENT_MODE_TABLE$ ? "aria-rowindex" : "aria-posinset", $idPrefix$$1$$ = $AdfSuggestionsPanel$$.$getSuggestItemIdPrefix$($component$$585$$.$getClientId$()), $displayedSuggestions$$1$$ = this.$_displayedSuggestions$.$getSuggestionMap$(0).$getArray$(), $i$$181$$ = 0, $index$$108$$ = 0, $indexMismatch$$ = !1, $len$$12$$ = $displayedSuggestions$$1$$.length;$i$$181$$ < $len$$12$$ && $suggestionElem$$3$$;$i$$181$$++) {
    var $templateToUse_value$$171$$ = $AdfSuggestionsPanel$$.$GetValueFromItem$($component$$585$$, $suggestionElem$$3$$), $listItemContent_suggestion$$4$$ = $suggestions$$9$$.get($templateToUse_value$$171$$);
    !$listItemContent_suggestion$$4$$ && $isMasterList$$2$$ ? ($suggestionsBody$$2$$.removeChild($suggestionElem$$3$$), $displayedSuggestions$$1$$.splice($index$$108$$, 1), $indexMismatch$$ = !0) : ($listItemContent_suggestion$$4$$ && ($templateToUse_value$$171$$ = this.$IsSelected$($templateToUse_value$$171$$) ? $selectedTemplate$$ : $template$$16$$, $displayedSuggestions$$1$$[$index$$108$$] = $listItemContent_suggestion$$4$$, $listItemContent_suggestion$$4$$ = $AdfSuggestionsPanel$$.$_getListItemContent$($listItemContent_suggestion$$4$$.data, 
    null, null, $templateToUse_value$$171$$, $templateAttributes$$), $suggestionElem$$3$$.innerHTML != $listItemContent_suggestion$$4$$ && ($suggestionElem$$3$$.innerHTML = $listItemContent_suggestion$$4$$)), $indexMismatch$$ && ($suggestionElem$$3$$.setAttribute("id", $idPrefix$$1$$ + this.$_displayedSuggestions$.$getInclusiveHeaderIndex$($index$$108$$)), $suggestionElem$$3$$.setAttribute($positionAttr$$, $index$$108$$ + 1)), $index$$108$$++);
    $suggestionElem$$3$$ = $suggestionElem$$3$$.nextElementSibling;
  }
  this.$_displayedSuggestions$.$updateSuggestionMap$(0, new $AdfSuggestionMap$$($displayedSuggestions$$1$$));
  this.$_adjustPopupDimensions$(this.$_displayedSuggestions$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfSuggestionsPanel.prototype.update", {update:$AdfSuggestionsPanel$$.prototype.update});
$AdfSuggestionsPanel$$.prototype.$handleClick$ = function $$AdfSuggestionsPanel$$$$$handleClick$$($eventTarget$$29_suggestionElem$$4$$) {
  var $component$$586$$ = this.$_peer$.$getComponent$(), $newValue$$30_rootElement$$10$$ = this.$_peer$.$getDomElement$();
  if ($eventTarget$$29_suggestionElem$$4$$ = $AdfSuggestionsPanel$$.$getSuggestionElement$($eventTarget$$29_suggestionElem$$4$$, $newValue$$30_rootElement$$10$$)) {
    $newValue$$30_rootElement$$10$$ = $AdfSuggestionsPanel$$.$GetValueFromItem$($component$$586$$, $eventTarget$$29_suggestionElem$$4$$), this.$SelectSuggestItem$($component$$586$$, $newValue$$30_rootElement$$10$$, $eventTarget$$29_suggestionElem$$4$$), $component$$586$$.focus();
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfSuggestionsPanel.prototype.handleClick", {$handleClick$:$AdfSuggestionsPanel$$.prototype.$handleClick$});
$AdfSuggestionsPanel$$.prototype.$handleKeyDown$ = function $$AdfSuggestionsPanel$$$$$handleKeyDown$$($componentEvent$$78$$, $contentNode$$16$$) {
  var $component$$587$$ = this.$_peer$.$getComponent$();
  $component$$587$$.$getClientId$();
  var $eventTarget$$30$$ = $componentEvent$$78$$.$getNativeEventTarget$(), $keyCode$$25$$ = $componentEvent$$78$$.$getKeyCode$();
  if ($eventTarget$$30$$ == $contentNode$$16$$) {
    switch($keyCode$$25$$) {
      case $AdfKeyStroke$$.$ARROWRIGHT_KEY$:
        $AdfSuggestionsPanel$$.$_speakUpNewCell$($component$$587$$, $contentNode$$16$$, !0);
        break;
      case $AdfKeyStroke$$.$ARROWLEFT_KEY$:
        $AdfSuggestionsPanel$$.$_speakUpNewCell$($component$$587$$, $contentNode$$16$$, !1);
        break;
      case $AdfKeyStroke$$.$ARROWUP_KEY$:
        this.$_selectNewItem$($component$$587$$, $contentNode$$16$$, !1);
        break;
      case $AdfKeyStroke$$.$ARROWDOWN_KEY$:
        this.$_selectNewItem$($component$$587$$, $contentNode$$16$$, !0);
        break;
      case $AdfKeyStroke$$.$ENTER_KEY$:
        this.$_handleEnterKey$($component$$587$$, $contentNode$$16$$);
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfSuggestionsPanel.prototype.handleKeyDown", {$handleKeyDown$:$AdfSuggestionsPanel$$.prototype.$handleKeyDown$});
$AdfSuggestionsPanel$$.prototype.$_handleEnterKey$ = function $$AdfSuggestionsPanel$$$$$_handleEnterKey$$($component$$588$$, $contentNode$$17$$) {
  var $selectedItem$$1$$ = $AdfSuggestionsPanel$$.$_getCurrentSelectedItem$($contentNode$$17$$);
  if ($selectedItem$$1$$) {
    var $newValue$$31$$ = $AdfSuggestionsPanel$$.$GetValueFromItem$($component$$588$$, $selectedItem$$1$$);
    this.$SelectSuggestItem$($component$$588$$, $newValue$$31$$, $selectedItem$$1$$);
  } else {
    this.$_peer$.$RunValidation$($component$$588$$, $contentNode$$17$$, !0);
  }
};
$AdfSuggestionsPanel$$.$_renderNoSuggestionsMessage$ = function $$AdfSuggestionsPanel$$$$_renderNoSuggestionsMessage$$($component$$590$$, $isFiltering$$) {
  var $page$$36$$ = $AdfPage$$.$PAGE$, $laf$$44$$ = $page$$36$$.$getLookAndFeel$(), $noSuggestionsMessage$$ = $laf$$44$$.$getTranslatedString$($isFiltering$$ ? $AdfSuggestionsPanel$$.$_LABEL_NO_MATCHES$ : $AdfSuggestionsPanel$$.$_LABEL_NO_DATA$), $noSuggestionsElement$$ = document.createElement("div");
  $AdfDomUtils$$.$addCSSClassName$($noSuggestionsElement$$, $laf$$44$$.getStyleClass($AdfSuggestionsPanel$$.$_NO_SUGGESTIONS_MESSAGE_STYLE_CLASS$));
  $noSuggestionsElement$$.textContent = $noSuggestionsMessage$$;
  $AdfSuggestionsContainer$$.$showSuggestions$($component$$590$$, $noSuggestionsElement$$);
  $page$$36$$.$announceToAssistiveTechnology$($noSuggestionsMessage$$);
};
$AdfSuggestionsPanel$$.$_renderServerLoadingIndicator$ = function $$AdfSuggestionsPanel$$$$_renderServerLoadingIndicator$$($component$$591$$, $container$$5$$) {
  var $busyDivClientId$$2_clientId$$81$$ = $component$$591$$.$getClientId$(), $busySelector$$1_laf$$45$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$(), $busyDiv$$4$$ = document.createElement("div"), $busyDivClientId$$2_clientId$$81$$ = $AdfRichUIPeer$$.$createSubId$($busyDivClientId$$2_clientId$$81$$, $AdfSuggestionsPanel$$.$_SERVER_FILTERING_INDICATOR_SUB_ID$);
  $busyDiv$$4$$.setAttribute("id", $busyDivClientId$$2_clientId$$81$$);
  $busyDiv$$4$$.setAttribute("role", "presentation");
  $busyDiv$$4$$.setAttribute("title", $busySelector$$1_laf$$45$$.$getTranslatedString$($AdfSuggestionsPanel$$.$_LABEL_FETCHING$));
  $busySelector$$1_laf$$45$$ = $busySelector$$1_laf$$45$$.getStyleClass($AdfSuggestionsPanel$$.$_SERVER_FILTERING_STYLE_CLASS$);
  $AdfDomUtils$$.$addCSSClassName$($busyDiv$$4$$, $busySelector$$1_laf$$45$$);
  $container$$5$$.appendChild($busyDiv$$4$$);
};
$AdfSuggestionsPanel$$.prototype.$CreateSampleListItem$ = function $$AdfSuggestionsPanel$$$$$CreateSampleListItem$$($isTableMode$$4$$, $listSize$$1$$) {
  var $laf$$46$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$(), $sampleListItem$$3$$;
  $isTableMode$$4$$ ? ($sampleListItem$$3$$ = document.createElement("tr"), $AdfDomUtils$$.$addCSSClassName$($sampleListItem$$3$$, $laf$$46$$.getStyleClass($AdfSuggestionsPanel$$.$_SUGGESTION_ROW_ITEM_STYLE_CLASS$))) : ($sampleListItem$$3$$ = document.createElement("li"), $AdfDomUtils$$.$addCSSClassName$($sampleListItem$$3$$, $laf$$46$$.getStyleClass($AdfSuggestionsPanel$$.$_SUGGESTION_LIST_ITEM_STYLE_CLASS$)), $sampleListItem$$3$$.setAttribute("role", "option"), $sampleListItem$$3$$.setAttribute("aria-setsize", 
  $listSize$$1$$));
  return $sampleListItem$$3$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfSuggestionsPanel.prototype.CreateSampleListItem", {$CreateSampleListItem$:$AdfSuggestionsPanel$$.prototype.$CreateSampleListItem$});
$AdfSuggestionsPanel$$.prototype.$GetSelectedSampleListItem$ = function $$AdfSuggestionsPanel$$$$$GetSelectedSampleListItem$$() {
  $AdfAssert$$.$failedInAbstractFunction$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfSuggestionsPanel.prototype.GetSelectedSampleListItem", {$GetSelectedSampleListItem$:$AdfSuggestionsPanel$$.prototype.$GetSelectedSampleListItem$});
$AdfSuggestionsPanel$$.$_getListItemContent$ = function $$AdfSuggestionsPanel$$$$_getListItemContent$$($copyData_data$$49$$, $matchRegex$$, $replaceStr$$, $template$$17$$, $templateAttributes$$1$$) {
  if (!$matchRegex$$) {
    return Mustache.$render$($template$$17$$, $copyData_data$$49$$);
  }
  $copyData_data$$49$$ = $AdfInputSearchUtils$cloneSimpleObject$$($copyData_data$$49$$);
  for (var $i$$182$$ = 0, $length$$46$$ = $templateAttributes$$1$$.length;$i$$182$$ < $length$$46$$;$i$$182$$++) {
    var $attrName$$10$$ = $templateAttributes$$1$$[$i$$182$$], $attrValue$$15$$ = $copyData_data$$49$$[$attrName$$10$$];
    null != $attrValue$$15$$ && ($attrValue$$15$$ = $attrValue$$15$$.toString().replace($matchRegex$$, $AdfSuggestionsPanel$$.$_HIGHLIGHT_MARKER$), $attrValue$$15$$ = Mustache.escape($attrValue$$15$$), $attrValue$$15$$ = $attrValue$$15$$.replace($AdfSuggestionsPanel$$.$_HIGHLIGHT_MARKER_REPLACE_REGEX$, $replaceStr$$), $copyData_data$$49$$[$attrName$$10$$ + "\u19e6\u1391"] = $attrValue$$15$$);
  }
  return Mustache.$render$($template$$17$$, $copyData_data$$49$$);
};
function $JSCompiler_StaticMethods__appendSuggestions$$($JSCompiler_StaticMethods__appendSuggestions$self$$, $suggestions$$11$$, $isTableMode$$5_shouldHighlight$$1$$, $renderHeader$$, $startIndex$$6$$, $endIndex$$1$$) {
  var $component$$592$$ = $JSCompiler_StaticMethods__appendSuggestions$self$$.$_peer$.$getComponent$(), $clientId$$82$$ = $component$$592$$.$getClientId$(), $highlightRegex$$ = $isTableMode$$5_shouldHighlight$$1$$ ? $AdfSuggestionsPanel$$.$_getHighlightRegex$($component$$592$$) : null, $highlightWrapper$$ = $isTableMode$$5_shouldHighlight$$1$$ ? $AdfSuggestionsPanel$$.$_getHighlightTextWrapperHtml$() : null, $template$$18$$ = $isTableMode$$5_shouldHighlight$$1$$ ? $JSCompiler_StaticMethods__appendSuggestions$self$$.$_filterTemplate$ : 
  $JSCompiler_StaticMethods__appendSuggestions$self$$.$_contentStampTemplate$, $selectedTemplate$$1$$ = $JSCompiler_StaticMethods__appendSuggestions$self$$.$GetSelectedItemTemplate$($template$$18$$), $templateAttributes$$2$$ = $JSCompiler_StaticMethods__appendSuggestions$self$$.$_templateAttributes$;
  $isTableMode$$5_shouldHighlight$$1$$ = $component$$592$$.getContentMode() == $AdfDhtmlInputSearchPeer$$.$__CONTENT_MODE_TABLE$;
  var $sampleListItem$$5$$ = $JSCompiler_StaticMethods__appendSuggestions$self$$.$CreateSampleListItem$($isTableMode$$5_shouldHighlight$$1$$, $suggestions$$11$$.length), $selectedSampleListItem$$1$$ = $JSCompiler_StaticMethods__appendSuggestions$self$$.$GetSelectedSampleListItem$($sampleListItem$$5$$), $idPrefix$$2$$ = $AdfSuggestionsPanel$$.$getSuggestItemIdPrefix$($clientId$$82$$), $positionAttr$$1$$ = $isTableMode$$5_shouldHighlight$$1$$ ? "aria-rowindex" : "aria-posinset", $suggestionsDomFragment$$2$$ = 
  document.createDocumentFragment();
  $renderHeader$$ && $AdfSuggestionsPanel$$.$_appendContentHeader$($component$$592$$, $suggestionsDomFragment$$2$$);
  $suggestions$$11$$.$inclusiveHeaderForEach$($startIndex$$6$$, $endIndex$$1$$, function($suggestions$$11$$, $isTableMode$$5_shouldHighlight$$1$$, $renderHeader$$) {
    if ($suggestions$$11$$ instanceof $AdfUIComponent$$) {
      $AdfDhtmlSuggestionsSectionPeer$$.$appendHeader$($suggestions$$11$$, $suggestionsDomFragment$$2$$, $idPrefix$$2$$ + $isTableMode$$5_shouldHighlight$$1$$);
    } else {
      var $startIndex$$6$$ = $suggestions$$11$$.data;
      $suggestions$$11$$ = $suggestions$$11$$.key;
      var $endIndex$$1$$ = $JSCompiler_StaticMethods__appendSuggestions$self$$.$IsSelected$($suggestions$$11$$), $component$$592$$ = $endIndex$$1$$ ? $selectedTemplate$$1$$ : $template$$18$$, $endIndex$$1$$ = $endIndex$$1$$ ? $selectedSampleListItem$$1$$.cloneNode(!1) : $sampleListItem$$5$$.cloneNode(!1);
      $endIndex$$1$$.setAttribute("id", $idPrefix$$2$$ + $isTableMode$$5_shouldHighlight$$1$$);
      $endIndex$$1$$.setAttribute($positionAttr$$1$$, $renderHeader$$ + 1);
      $endIndex$$1$$.setAttribute($AdfSuggestionsPanel$$.$_VALUE_ATTRIBUTE_EXPANDO$, $suggestions$$11$$);
      $endIndex$$1$$.innerHTML = $AdfSuggestionsPanel$$.$_getListItemContent$($startIndex$$6$$, $highlightRegex$$, $highlightWrapper$$, $component$$592$$, $templateAttributes$$2$$);
      $suggestionsDomFragment$$2$$.appendChild($endIndex$$1$$);
    }
  });
  return $suggestionsDomFragment$$2$$;
}
$AdfSuggestionsPanel$$.prototype.$_createSuggestionsDomFragment$ = function $$AdfSuggestionsPanel$$$$$_createSuggestionsDomFragment$$($suggestions$$12$$, $options$$32$$, $renderHeader$$1$$, $startIndex$$7$$, $endIndex$$2_size$$17$$) {
  $AdfAssert$$.assert(null != $startIndex$$7$$);
  0 > $startIndex$$7$$ && ($startIndex$$7$$ = 0);
  null == $endIndex$$2_size$$17$$ && ($endIndex$$2_size$$17$$ = $AdfSuggestionsPanel$$.$__SUGGESTIONS_RENDERING_CHUNK_SIZE$);
  $endIndex$$2_size$$17$$ = $startIndex$$7$$ + $endIndex$$2_size$$17$$;
  $endIndex$$2_size$$17$$ = $endIndex$$2_size$$17$$ > $suggestions$$12$$.length ? $suggestions$$12$$.$inclusiveHeaderLength$ : $endIndex$$2_size$$17$$;
  return $JSCompiler_StaticMethods__appendSuggestions$$(this, $suggestions$$12$$, $options$$32$$.$shouldHighlight$, $renderHeader$$1$$, $startIndex$$7$$, $endIndex$$2_size$$17$$);
};
$AdfSuggestionsPanel$$.$_appendContentHeader$ = function $$AdfSuggestionsPanel$$$$_appendContentHeader$$($component$$593$$, $suggestionsDomFragment$$3$$) {
  var $isTableMode$$6$$ = $component$$593$$.getContentMode() == $AdfDhtmlInputSearchPeer$$.$__CONTENT_MODE_TABLE$;
  if ($isTableMode$$6$$) {
    var $headerHtml$$1$$ = $AdfSuggestionsPanel$$.$_getContentHeaderFacet$($component$$593$$);
    $headerHtml$$1$$ && $AdfSuggestionsPanel$$.$appendHeader$($isTableMode$$6$$, $headerHtml$$1$$, $suggestionsDomFragment$$3$$, $AdfSuggestionsPanel$$.$_SUGGESTION_ROW_HEADER_STYLE_CLASS$);
  }
};
$AdfSuggestionsPanel$$.$_getContentHeaderHeight$ = function $$AdfSuggestionsPanel$$$$_getContentHeaderHeight$$($header$$2_suggestionsBody$$4$$) {
  $header$$2_suggestionsBody$$4$$ = $header$$2_suggestionsBody$$4$$.firstElementChild;
  if (!$header$$2_suggestionsBody$$4$$.hasAttribute("id")) {
    return $header$$2_suggestionsBody$$4$$.offsetHeight;
  }
};
$AdfSuggestionsPanel$$.$_getContentHeaderFacet$ = function $$AdfSuggestionsPanel$$$$_getContentHeaderFacet$$($component$$594_templateElem$$) {
  if ($component$$594_templateElem$$ = $AdfSuggestionsPanel$$.$_getContentHeaderFacetElement$($component$$594_templateElem$$)) {
    return $component$$594_templateElem$$.innerHTML;
  }
};
$AdfSuggestionsPanel$$.$_getContentHeaderFacetElement$ = function $$AdfSuggestionsPanel$$$$_getContentHeaderFacetElement$$($clientId$$83_component$$595_templateId$$) {
  $clientId$$83_component$$595_templateId$$ = $clientId$$83_component$$595_templateId$$.$getClientId$();
  $clientId$$83_component$$595_templateId$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$83_component$$595_templateId$$, $AdfSuggestionsPanel$$.$_CONTENT_HEADER_SUB_ID$);
  return $AdfAgent$$.$AGENT$.getElementById($clientId$$83_component$$595_templateId$$);
};
$AdfSuggestionsPanel$$.$_getContentStampContainer$ = function $$AdfSuggestionsPanel$$$$_getContentStampContainer$$($clientId$$84_component$$596_templateId$$1$$) {
  $clientId$$84_component$$596_templateId$$1$$ = $clientId$$84_component$$596_templateId$$1$$.$getClientId$();
  $clientId$$84_component$$596_templateId$$1$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$84_component$$596_templateId$$1$$, $AdfSuggestionsPanel$$.$_CONTENT_STAMP_SUB_ID$);
  return $AdfAgent$$.$AGENT$.getElementById($clientId$$84_component$$596_templateId$$1$$);
};
function $JSCompiler_StaticMethods__initContentStampTemplate$$($JSCompiler_StaticMethods__initContentStampTemplate$self$$, $component$$597$$) {
  var $template$$19_templateElem$$1$$ = $AdfSuggestionsPanel$$.$_getContentStampContainer$($component$$597$$), $template$$19_templateElem$$1$$ = $JSCompiler_StaticMethods__initContentStampTemplate$self$$.$WrapContentStampTemplate$($component$$597$$, $AdfInputSearchUtils$parseTemplate$$($template$$19_templateElem$$1$$.innerHTML));
  $JSCompiler_StaticMethods__initContentStampTemplate$self$$.$_contentStampTemplate$ = $template$$19_templateElem$$1$$;
  var $templateAttributes$$3$$ = [], $filterAttributes$$ = $component$$597$$.getFilterAttributes(), $template$$19_templateElem$$1$$ = $template$$19_templateElem$$1$$.replace(new RegExp(Mustache.$tags$[0] + "(\\s*\\w+\\s*)" + Mustache.$tags$[1] + "(?!" + Mustache.$tags$[1][0] + ")(?![^\x3c]*?\x3e)", "g"), function($JSCompiler_StaticMethods__initContentStampTemplate$self$$, $component$$597$$) {
    return -1 != $filterAttributes$$.indexOf($component$$597$$) ? (-1 == $templateAttributes$$3$$.indexOf($component$$597$$) && $templateAttributes$$3$$.push($component$$597$$), Mustache.$tags$[0] + "\x26" + ($component$$597$$ + "\u19e6\u1391") + Mustache.$tags$[1]) : $JSCompiler_StaticMethods__initContentStampTemplate$self$$;
  });
  $JSCompiler_StaticMethods__initContentStampTemplate$self$$.$_filterTemplate$ = $template$$19_templateElem$$1$$;
  $JSCompiler_StaticMethods__initContentStampTemplate$self$$.$_templateAttributes$ = $templateAttributes$$3$$;
}
$AdfSuggestionsPanel$$.$_adjustHeightToRowCount$ = function $$AdfSuggestionsPanel$$$$_adjustHeightToRowCount$$($component$$599$$, $firstItem$$) {
  var $lastElem$$ = $AdfSuggestionsPanel$$.$_getXthElement$($firstItem$$, $component$$599$$.getRowCount());
  $AdfSuggestionsContainer$$.setHeight($component$$599$$, $lastElem$$.offsetTop + $lastElem$$.offsetHeight + 2 + "px");
};
$AdfSuggestionsPanel$$.prototype.$_manageSuggestionsPopupHeight$ = function $$AdfSuggestionsPanel$$$$$_manageSuggestionsPopupHeight$$($suggestionElems_suggestions$$13$$) {
  var $peer$$70$$ = this.$_peer$, $component$$600$$ = $peer$$70$$.$getComponent$();
  this.$_displayedSuggestions$ == $suggestionElems_suggestions$$13$$ && ($suggestionElems_suggestions$$13$$ = $AdfSuggestionsPanel$$.$_getSuggestionsBody$($component$$600$$).children) && 0 != $suggestionElems_suggestions$$13$$.length && ($AdfSuggestionsPanel$$.$_adjustHeightToRowCount$($component$$600$$, $suggestionElems_suggestions$$13$$[0]), $peer$$70$$.$__getSuggestionPopupWindow$($component$$600$$).$autoSize$());
};
$AdfSuggestionsPanel$$.prototype.$_adjustPopupDimensions$ = function $$AdfSuggestionsPanel$$$$$_adjustPopupDimensions$$($suggestions$$14$$) {
  if (this.$_displayedSuggestions$ == $suggestions$$14$$) {
    var $peer$$71$$ = this.$_peer$, $component$$601$$ = $peer$$71$$.$getComponent$();
    $peer$$71$$.$__getSuggestionPopupWindow$($component$$601$$).$autoSize$();
    $AdfPage$$.$PAGE$.$scheduleTimer$(this, this.$_manageSuggestionsPopupHeight$, $suggestions$$14$$, 0, {isSynchronized:!0});
  }
};
$AdfSuggestionsPanel$$.$_deDuplicateSuggestions$ = function $$AdfSuggestionsPanel$$$$_deDuplicateSuggestions$$($displayedSuggestionsChain$$, $suggestions$$15$$, $source$$184$$) {
  for (var $deDuplicatedSuggestions$$ = [], $i$$183$$ = 0, $len$$13$$ = $suggestions$$15$$.length;$i$$183$$ < $len$$13$$;$i$$183$$++) {
    var $suggestion$$5$$ = $suggestions$$15$$.$at$($i$$183$$);
    $displayedSuggestionsChain$$.get($suggestion$$5$$.key) || $deDuplicatedSuggestions$$.push($suggestion$$5$$);
  }
  if (0 === $deDuplicatedSuggestions$$.length) {
    return !1;
  }
  $displayedSuggestionsChain$$.$addSuggestionMap$(new $AdfSuggestionMap$$($deDuplicatedSuggestions$$), $source$$184$$);
  return !0;
};
$AdfSuggestionsPanel$$.$_getHighlightRegex$ = function $$AdfSuggestionsPanel$$$$_getHighlightRegex$$($component$$603_i$$184$$) {
  var $contentNodeValue_highlightRegexStr_len$$14$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$603_i$$184$$).value.trim();
  if ($contentNodeValue_highlightRegexStr_len$$14$$) {
    var $contentNodeValue_highlightRegexStr_len$$14$$ = $AdfInputSearchUtils$escapeRegexChars$$($contentNodeValue_highlightRegexStr_len$$14$$), $highlightStrings$$ = $AdfInputSearchUtils$splitAndSort$$($contentNodeValue_highlightRegexStr_len$$14$$);
    switch($component$$603_i$$184$$.getCriteria()) {
      case AdfRichInputSearch.$CRITERIA_ATTRIBUTE_STARTS_WITH$:
        $contentNodeValue_highlightRegexStr_len$$14$$ = "^(" + $AdfSuggestionsPanel$$.$_getWhitespacePreservedMatcher$($contentNodeValue_highlightRegexStr_len$$14$$);
        break;
      case AdfRichInputSearch.$CRITERIA_STARTS_WITH$:
        for ($component$$603_i$$184$$ = 0, $contentNodeValue_highlightRegexStr_len$$14$$ = $highlightStrings$$.length;$component$$603_i$$184$$ < $contentNodeValue_highlightRegexStr_len$$14$$;$component$$603_i$$184$$++) {
          var $leni_term$$ = $highlightStrings$$[$component$$603_i$$184$$];
          $leni_term$$.match(/^\w/) ? $highlightStrings$$[$component$$603_i$$184$$] = "\\b" + $leni_term$$ : $highlightStrings$$[$component$$603_i$$184$$] = $leni_term$$;
        }
      ;
      default:
        $contentNodeValue_highlightRegexStr_len$$14$$ = "(";
    }
    $component$$603_i$$184$$ = 0;
    for ($leni_term$$ = $highlightStrings$$.length;$contentNodeValue_highlightRegexStr_len$$14$$ += $highlightStrings$$[$component$$603_i$$184$$], ++$component$$603_i$$184$$ != $leni_term$$;) {
      $contentNodeValue_highlightRegexStr_len$$14$$ += "|";
    }
    return new RegExp($contentNodeValue_highlightRegexStr_len$$14$$ + ")", "gi");
  }
};
$AdfSuggestionsPanel$$.$_getHighlightTextWrapperHtml$ = function $$AdfSuggestionsPanel$$$$_getHighlightTextWrapperHtml$$() {
  return "\x3cspan class\x3d'" + $AdfPage$$.$PAGE$.$getLookAndFeel$().getStyleClass($AdfSuggestionsPanel$$.$_SUGGESTION_ITEM_MATCHING_TEXT_STYLE_CLASS$) + "'\x3e$1\x3c/span\x3e";
};
$AdfSuggestionsPanel$$.$_getWhitespacePreservedMatcher$ = function $$AdfSuggestionsPanel$$$$_getWhitespacePreservedMatcher$$($contentNodeValue$$1_highlightStrings$$1$$) {
  $contentNodeValue$$1_highlightStrings$$1$$ = $contentNodeValue$$1_highlightStrings$$1$$.split(" ");
  for (var $option$$4$$ = "", $i$$185$$ = 0, $len$$15$$ = $contentNodeValue$$1_highlightStrings$$1$$.length;$i$$185$$ < $len$$15$$ - 1;$i$$185$$++) {
    for (var $option$$4$$ = $option$$4$$ + ($contentNodeValue$$1_highlightStrings$$1$$[$i$$185$$] + " "), $j$$19$$ = $i$$185$$ + 1;$j$$19$$ < $len$$15$$;$j$$19$$++) {
      $option$$4$$ += " " == $option$$4$$.charAt($option$$4$$.length - 1) ? "(?:" : "(?: ", $option$$4$$ += $contentNodeValue$$1_highlightStrings$$1$$[$j$$19$$] + ")?";
    }
    $option$$4$$ += "|";
  }
  return $option$$4$$;
};
$AdfSuggestionsPanel$$.$GetValueFromItem$ = function $$AdfSuggestionsPanel$$$$GetValueFromItem$$($component$$605$$, $suggestItem$$3$$) {
  var $value$$172$$ = $suggestItem$$3$$.getAttribute($AdfSuggestionsPanel$$.$_VALUE_ATTRIBUTE_EXPANDO$);
  "Number" == $AdfDhtmlInputSearchPeer$$.$getValueAttributeType$($component$$605$$) && ($value$$172$$ = Number($value$$172$$));
  return $value$$172$$;
};
$goog$exportSymbol$$("AdfSuggestionsPanel.GetValueFromItem", $AdfSuggestionsPanel$$.$GetValueFromItem$);
$AdfSuggestionsPanel$$.$_getCurrentSelectedItem$ = function $$AdfSuggestionsPanel$$$$_getCurrentSelectedItem$$($contentNode$$18$$) {
  var $activeDescendantId$$ = $contentNode$$18$$.getAttribute("aria-activedescendant");
  if ($activeDescendantId$$) {
    var $activeDescendant$$ = document.getElementById($activeDescendantId$$);
    $activeDescendantId$$ == $AdfSuggestionsPanel$$.$_ACTIVE_CELL_ID$ && ($activeDescendant$$.removeAttribute("id"), $activeDescendant$$ = $AdfSuggestionsPanel$$.$getSuggestionElement$($activeDescendant$$), $contentNode$$18$$.setAttribute("aria-activedescendant", $activeDescendant$$.getAttribute("id")));
    return $activeDescendant$$;
  }
};
$AdfSuggestionsPanel$$.$_speakUpNewCell$ = function $$AdfSuggestionsPanel$$$$_speakUpNewCell$$($activeDescendant$$1_component$$606$$, $contentNode$$19_oldActiveDescendant$$, $isNext$$) {
  if ($activeDescendant$$1_component$$606$$.getContentMode() === $AdfDhtmlInputSearchPeer$$.$__CONTENT_MODE_TABLE$) {
    var $activeDescendantId$$1$$ = $contentNode$$19_oldActiveDescendant$$.getAttribute("aria-activedescendant");
    $activeDescendantId$$1$$ && ($activeDescendant$$1_component$$606$$ = document.getElementById($activeDescendantId$$1$$), $activeDescendantId$$1$$ == $AdfSuggestionsPanel$$.$_ACTIVE_CELL_ID$ ? ($contentNode$$19_oldActiveDescendant$$ = $activeDescendant$$1_component$$606$$, ($activeDescendant$$1_component$$606$$ = $isNext$$ ? $activeDescendant$$1_component$$606$$.nextElementSibling : $activeDescendant$$1_component$$606$$.previousElementSibling) && !$activeDescendant$$1_component$$606$$.hasAttribute($AdfMultiSelectPanel$$.$CHECKBOX_EXPANDO$) && 
    ($contentNode$$19_oldActiveDescendant$$.removeAttribute("id"), $activeDescendant$$1_component$$606$$.setAttribute("id", $AdfSuggestionsPanel$$.$_ACTIVE_CELL_ID$))) : ($activeDescendant$$1_component$$606$$ = $activeDescendant$$1_component$$606$$.firstElementChild, $activeDescendant$$1_component$$606$$.hasAttribute($AdfMultiSelectPanel$$.$CHECKBOX_EXPANDO$) && ($activeDescendant$$1_component$$606$$ = $activeDescendant$$1_component$$606$$.nextElementSibling), $activeDescendant$$1_component$$606$$.setAttribute("id", 
    $AdfSuggestionsPanel$$.$_ACTIVE_CELL_ID$), $contentNode$$19_oldActiveDescendant$$.setAttribute("aria-activedescendant", $AdfSuggestionsPanel$$.$_ACTIVE_CELL_ID$)));
  }
};
$AdfSuggestionsPanel$$.$GetNextItem$ = function $$AdfSuggestionsPanel$$$$GetNextItem$$($component$$607_newItem$$1$$, $isFindNextItem$$1$$, $currentItem$$) {
  if ($currentItem$$) {
    $component$$607_newItem$$1$$ = $currentItem$$;
    do {
      $component$$607_newItem$$1$$ = $isFindNextItem$$1$$ ? $component$$607_newItem$$1$$.nextElementSibling : $component$$607_newItem$$1$$.previousElementSibling;
    } while ($component$$607_newItem$$1$$ && !$AdfSuggestionsPanel$$.$IsSuggestItem$($component$$607_newItem$$1$$));
    return $component$$607_newItem$$1$$;
  }
  if ($isFindNextItem$$1$$) {
    return $AdfSuggestionsPanel$$.$_getSuggestionsBody$($component$$607_newItem$$1$$).querySelector("[" + $AdfSuggestionsPanel$$.$_VALUE_ATTRIBUTE_EXPANDO$ + "]");
  }
};
$goog$exportSymbol$$("AdfSuggestionsPanel.GetNextItem", $AdfSuggestionsPanel$$.$GetNextItem$);
$AdfSuggestionsPanel$$.$_getXthElement$ = function $$AdfSuggestionsPanel$$$$_getXthElement$$($element$$154$$, $rowCount$$) {
  for (var $prevElem$$;$element$$154$$ && 0 != $rowCount$$;) {
    $prevElem$$ = $element$$154$$, $AdfSuggestionsPanel$$.$IsSuggestItem$($element$$154$$) && $rowCount$$--, $element$$154$$ = $element$$154$$.nextElementSibling;
  }
  return $prevElem$$;
};
$AdfSuggestionsPanel$$.$IsSuggestItem$ = function $$AdfSuggestionsPanel$$$$IsSuggestItem$$($element$$155$$) {
  return $element$$155$$.hasAttribute($AdfSuggestionsPanel$$.$_VALUE_ATTRIBUTE_EXPANDO$);
};
$goog$exportSymbol$$("AdfSuggestionsPanel.IsSuggestItem", $AdfSuggestionsPanel$$.$IsSuggestItem$);
$AdfSuggestionsPanel$$.prototype.$_selectNewItem$ = function $$AdfSuggestionsPanel$$$$$_selectNewItem$$($component$$608_newItem$$2$$, $contentNode$$20$$, $isFindNextItem$$2$$) {
  var $oldItem$$1$$ = $AdfSuggestionsPanel$$.$_getCurrentSelectedItem$($contentNode$$20$$);
  if ($component$$608_newItem$$2$$ = $AdfSuggestionsPanel$$.$GetNextItem$($component$$608_newItem$$2$$, $isFindNextItem$$2$$, $oldItem$$1$$)) {
    $oldItem$$1$$ && $AdfDomUtils$$.$removeCSSClassName$($oldItem$$1$$, $AdfRichUIPeer$$.$SELECTED_STYLECLASS$), $AdfDomUtils$$.$addCSSClassName$($component$$608_newItem$$2$$, $AdfRichUIPeer$$.$SELECTED_STYLECLASS$), $contentNode$$20$$.setAttribute("aria-activedescendant", $component$$608_newItem$$2$$.id), this.$_scrollManager$.$isElementHidden$($component$$608_newItem$$2$$) && this.$_scrollManager$.scrollIntoView($component$$608_newItem$$2$$, !$isFindNextItem$$2$$);
  }
};
$AdfSuggestionsPanel$$.$_getPartialSuggestionsLoadingIndicator$ = function $$AdfSuggestionsPanel$$$$_getPartialSuggestionsLoadingIndicator$$($busyDivClientId$$3_clientId$$85_component$$609$$) {
  $busyDivClientId$$3_clientId$$85_component$$609$$ = $busyDivClientId$$3_clientId$$85_component$$609$$.$getClientId$();
  $busyDivClientId$$3_clientId$$85_component$$609$$ = $AdfRichUIPeer$$.$createSubId$($busyDivClientId$$3_clientId$$85_component$$609$$, $AdfSuggestionsPanel$$.$_SERVER_FILTERING_INDICATOR_SUB_ID$);
  return document.getElementById($busyDivClientId$$3_clientId$$85_component$$609$$);
};
$AdfSuggestionsPanel$$.prototype.$GetPeer$ = function $$AdfSuggestionsPanel$$$$$GetPeer$$() {
  return this.$_peer$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfSuggestionsPanel.prototype.GetPeer", {$GetPeer$:$AdfSuggestionsPanel$$.prototype.$GetPeer$});
$AdfSuggestionsPanel$$.prototype.$IsSelected$ = function $$AdfSuggestionsPanel$$$$$IsSelected$$() {
  $AdfAssert$$.$failedInAbstractFunction$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfSuggestionsPanel.prototype.IsSelected", {$IsSelected$:$AdfSuggestionsPanel$$.prototype.$IsSelected$});
$AdfSuggestionsPanel$$.prototype.$SelectSuggestItem$ = function $$AdfSuggestionsPanel$$$$$SelectSuggestItem$$() {
  $AdfAssert$$.$failedInAbstractFunction$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfSuggestionsPanel.prototype.SelectSuggestItem", {$SelectSuggestItem$:$AdfSuggestionsPanel$$.prototype.$SelectSuggestItem$});
$AdfSuggestionsPanel$$.prototype.$GetSelectedItemTemplate$ = function $$AdfSuggestionsPanel$$$$$GetSelectedItemTemplate$$() {
  $AdfAssert$$.$failedInAbstractFunction$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfSuggestionsPanel.prototype.GetSelectedItemTemplate", {$GetSelectedItemTemplate$:$AdfSuggestionsPanel$$.prototype.$GetSelectedItemTemplate$});
$AdfSuggestionsPanel$$.prototype.$WrapContentHeaderTemplate$ = function $$AdfSuggestionsPanel$$$$$WrapContentHeaderTemplate$$() {
  $AdfAssert$$.$failedInAbstractFunction$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfSuggestionsPanel.prototype.WrapContentHeaderTemplate", {$WrapContentHeaderTemplate$:$AdfSuggestionsPanel$$.prototype.$WrapContentHeaderTemplate$});
$AdfSuggestionsPanel$$.prototype.$WrapContentStampTemplate$ = function $$AdfSuggestionsPanel$$$$$WrapContentStampTemplate$$() {
  $AdfAssert$$.$failedInAbstractFunction$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfSuggestionsPanel.prototype.WrapContentStampTemplate", {$WrapContentStampTemplate$:$AdfSuggestionsPanel$$.prototype.$WrapContentStampTemplate$});
$AdfSuggestionsPanel$$.prototype.$WrapSectionHeaderTemplate$ = function $$AdfSuggestionsPanel$$$$$WrapSectionHeaderTemplate$$() {
  $AdfAssert$$.$failedInAbstractFunction$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfSuggestionsPanel.prototype.WrapSectionHeaderTemplate", {$WrapSectionHeaderTemplate$:$AdfSuggestionsPanel$$.prototype.$WrapSectionHeaderTemplate$});
$AdfSuggestionsPanel$$.$_getSuggestionsBody$ = function $$AdfSuggestionsPanel$$$$_getSuggestionsBody$$($component$$613$$) {
  var $suggestionsBodyId$$ = $AdfSuggestionsPanel$$.$getSuggestionsBodyId$($component$$613$$), $elementName$$6_suggestionsBody$$7$$ = document.getElementById($suggestionsBodyId$$);
  if ($elementName$$6_suggestionsBody$$7$$) {
    return $elementName$$6_suggestionsBody$$7$$;
  }
  var $isTableMode$$7_roleName$$ = $component$$613$$.getContentMode() == $AdfDhtmlInputSearchPeer$$.$__CONTENT_MODE_TABLE$, $className$$14_laf$$47$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$();
  $isTableMode$$7_roleName$$ ? ($elementName$$6_suggestionsBody$$7$$ = "table", $isTableMode$$7_roleName$$ = "grid", $className$$14_laf$$47$$ = $className$$14_laf$$47$$.getStyleClass($AdfSuggestionsPanel$$.$_ROW_ITEMS_CONTAINER_STYLE_CLASS$)) : ($elementName$$6_suggestionsBody$$7$$ = "ul", $isTableMode$$7_roleName$$ = "listbox", $className$$14_laf$$47$$ = $className$$14_laf$$47$$.getStyleClass($AdfSuggestionsPanel$$.$_LIST_ITEMS_CONTAINER_STYLE_CLASS$));
  $elementName$$6_suggestionsBody$$7$$ = document.createElement($elementName$$6_suggestionsBody$$7$$);
  $elementName$$6_suggestionsBody$$7$$.setAttribute("id", $suggestionsBodyId$$);
  $elementName$$6_suggestionsBody$$7$$.setAttribute("role", $isTableMode$$7_roleName$$);
  $elementName$$6_suggestionsBody$$7$$.setAttribute("aria-labelledby", $AdfInputSearchUtils$getLabelId$$($component$$613$$));
  $component$$613$$.getSelectionMode() == $AdfDhtmlInputSearchPeer$$.$__SELECTION_MODE_SINGLE$ && $elementName$$6_suggestionsBody$$7$$.setAttribute("aria-multiselectable", "true");
  $AdfDomUtils$$.$addCSSClassName$($elementName$$6_suggestionsBody$$7$$, $className$$14_laf$$47$$);
  return $elementName$$6_suggestionsBody$$7$$;
};
