var $AdfMultiSelectInputSearchPeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfDhtmlInputSearchPeer$$, "AdfMultiSelectInputSearchPeer", !1);
$goog$exportSymbol$$("AdfMultiSelectInputSearchPeer", $AdfMultiSelectInputSearchPeer$$);
$AdfMultiSelectInputSearchPeer$$.$InitSubclass$ = function $$AdfMultiSelectInputSearchPeer$$$$InitSubclass$$() {
  $AdfObject$$.$ensureClassInitialization$($AdfMultiSelectPanel$$);
  this.$_DISPLAY_VALUE_SEPARATOR$ = ", ";
  this.$__SELECTIONS_LENGTH_EXPANDO$ = "data-afr-sel";
  this.$__HAS_SELECTIONS_STATE_STYLE_CLASS$ = "p_AFHasSelections";
};
$goog$exportSymbol$$("AdfMultiSelectInputSearchPeer.InitSubclass", $AdfMultiSelectInputSearchPeer$$.$InitSubclass$);
$AdfMultiSelectInputSearchPeer$$.prototype.$InitDomElement$ = function $$AdfMultiSelectInputSearchPeer$$$$$InitDomElement$$($component$$2343$$, $element$$383$$) {
  $AdfMultiSelectInputSearchPeer$$.$superclass$.$InitDomElement$.call(this, $component$$2343$$, $element$$383$$);
  this.$_suggestionsPanel$ = new $AdfMultiSelectPanel$$(this);
  var $values$$19$$ = $AdfDhtmlInputSearchPeer$$.$GetValue$($component$$2343$$);
  $AdfMultiSelectInputSearchPeer$$.$_setSelectionsCount$($component$$2343$$, $element$$383$$, $values$$19$$.length);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfMultiSelectInputSearchPeer.prototype.InitDomElement", {$InitDomElement$:$AdfMultiSelectInputSearchPeer$$.prototype.$InitDomElement$});
$AdfMultiSelectInputSearchPeer$$.prototype.$GetReadyState$ = function $$AdfMultiSelectInputSearchPeer$$$$$GetReadyState$$() {
  return this.$_selectionSeedingDone$ ? $AdfMultiSelectInputSearchPeer$$.$superclass$.$GetReadyState$.call(this) : $AdfUIComponent$$.$STATE_LOADING$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfMultiSelectInputSearchPeer.prototype.GetReadyState", {$GetReadyState$:$AdfMultiSelectInputSearchPeer$$.prototype.$GetReadyState$});
$AdfMultiSelectInputSearchPeer$$.prototype.$GetDisplayValue$ = function $$AdfMultiSelectInputSearchPeer$$$$$GetDisplayValue$$($component$$2344$$, $domElement$$616$$) {
  var $contentNodeValue$$4$$ = $AdfDhtmlEditableValuePeer$$.$getContentNodeText$($component$$2344$$, $domElement$$616$$).trim();
  return $contentNodeValue$$4$$ ? $contentNodeValue$$4$$.split($AdfMultiSelectInputSearchPeer$$.$_DISPLAY_VALUE_SEPARATOR$) : $AdfCollections$$.$EMPTY_ARRAY$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfMultiSelectInputSearchPeer.prototype.GetDisplayValue", {$GetDisplayValue$:$AdfMultiSelectInputSearchPeer$$.prototype.$GetDisplayValue$});
$AdfMultiSelectInputSearchPeer$$.prototype.$RunValidation$ = function $$AdfMultiSelectInputSearchPeer$$$$$RunValidation$$($component$$2345$$) {
  var $values$$20$$ = $AdfInputSearchUtils$mapKeys$$(this.$__getLocalSelections$());
  0 == $values$$20$$.length && 0 == $AdfDhtmlInputSearchPeer$$.$GetValue$($component$$2345$$).length && this.$SetDisplayValue$($component$$2345$$, this.$getDomElement$(), $values$$20$$);
  this.$Validate$($component$$2345$$, $values$$20$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfMultiSelectInputSearchPeer.prototype.RunValidation", {$RunValidation$:$AdfMultiSelectInputSearchPeer$$.prototype.$RunValidation$});
$AdfMultiSelectInputSearchPeer$$.prototype.$DerivePropsFromPrefSuggestions$ = function $$AdfMultiSelectInputSearchPeer$$$$$DerivePropsFromPrefSuggestions$$($component$$2346$$, $preferredSuggestions$$9$$) {
  $AdfMultiSelectInputSearchPeer$$.$superclass$.$DerivePropsFromPrefSuggestions$.call(this, $component$$2346$$, $preferredSuggestions$$9$$);
  this.$__resolveLocalSelections$($component$$2346$$, $preferredSuggestions$$9$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfMultiSelectInputSearchPeer.prototype.DerivePropsFromPrefSuggestions", {$DerivePropsFromPrefSuggestions$:$AdfMultiSelectInputSearchPeer$$.prototype.$DerivePropsFromPrefSuggestions$});
$AdfMultiSelectInputSearchPeer$$.prototype.$GetCombinedDisplayValue$ = function $$AdfMultiSelectInputSearchPeer$$$$$GetCombinedDisplayValue$$($newValues$$15$$) {
  return $newValues$$15$$.join($AdfMultiSelectInputSearchPeer$$.$_DISPLAY_VALUE_SEPARATOR$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfMultiSelectInputSearchPeer.prototype.GetCombinedDisplayValue", {$GetCombinedDisplayValue$:$AdfMultiSelectInputSearchPeer$$.prototype.$GetCombinedDisplayValue$});
$AdfMultiSelectInputSearchPeer$$.prototype.$GetRealNewValues$ = function $$AdfMultiSelectInputSearchPeer$$$$$GetRealNewValues$$($newValues$$16$$, $oldValues$$11$$) {
  for (var $oldValObj$$ = {}, $i$$734$$ = 0, $length$$102$$ = $oldValues$$11$$.length;$i$$734$$ < $length$$102$$;$i$$734$$++) {
    $oldValObj$$[$oldValues$$11$$[$i$$734$$]] = !0;
  }
  for (var $realNewValues$$1$$ = [], $i$$734$$ = 0, $length$$102$$ = $newValues$$16$$.length;$i$$734$$ < $length$$102$$;$i$$734$$++) {
    $oldValObj$$[$newValues$$16$$[$i$$734$$]] || $realNewValues$$1$$.push($newValues$$16$$[$i$$734$$]);
  }
  return $realNewValues$$1$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfMultiSelectInputSearchPeer.prototype.GetRealNewValues", {$GetRealNewValues$:$AdfMultiSelectInputSearchPeer$$.prototype.$GetRealNewValues$});
$AdfMultiSelectInputSearchPeer$$.prototype.$GetSuggestionMapContainingSelections$ = function $$AdfMultiSelectInputSearchPeer$$$$$GetSuggestionMapContainingSelections$$($newValues$$17$$) {
  var $localSelections$$2_oldLocalSelections$$inline_5025$$ = this.$__getLocalSelections$();
  if ($newValues$$17$$ && !this.$compareValues$($AdfInputSearchUtils$mapKeys$$($localSelections$$2_oldLocalSelections$$inline_5025$$), $newValues$$17$$)) {
    for (var $displayedSuggestions$$3$$ = this.$GetSuggestionsPanel$().$getDisplayedSuggestions$(), $newLocalSelections$$inline_5027$$ = new Map, $i$$inline_5028$$ = 0, $len$$inline_5029$$ = $newValues$$17$$.length;$i$$inline_5028$$ < $len$$inline_5029$$;$i$$inline_5028$$++) {
      var $newerValue$$inline_5030$$ = $newValues$$17$$[$i$$inline_5028$$];
      $localSelections$$2_oldLocalSelections$$inline_5025$$ && $localSelections$$2_oldLocalSelections$$inline_5025$$.has($newerValue$$inline_5030$$) ? $newLocalSelections$$inline_5027$$.set($newerValue$$inline_5030$$, $localSelections$$2_oldLocalSelections$$inline_5025$$.get($newerValue$$inline_5030$$)) : $displayedSuggestions$$3$$ ? $newLocalSelections$$inline_5027$$.set($newerValue$$inline_5030$$, $displayedSuggestions$$3$$.get($newerValue$$inline_5030$$)) : $newLocalSelections$$inline_5027$$.set($newerValue$$inline_5030$$, 
      null);
    }
    $localSelections$$2_oldLocalSelections$$inline_5025$$ = this.$_localSelections$ = $newLocalSelections$$inline_5027$$;
    $AdfMultiSelectInputSearchPeer$$.$_updateSelectionsCount$(this.$getComponent$(), this.$getDomElement$(), $newValues$$17$$.length);
  }
  return $localSelections$$2_oldLocalSelections$$inline_5025$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfMultiSelectInputSearchPeer.prototype.GetSuggestionMapContainingSelections", {$GetSuggestionMapContainingSelections$:$AdfMultiSelectInputSearchPeer$$.prototype.$GetSuggestionMapContainingSelections$});
$AdfMultiSelectInputSearchPeer$$.prototype.$GetSuggestionsPanel$ = function $$AdfMultiSelectInputSearchPeer$$$$$GetSuggestionsPanel$$() {
  return this.$_suggestionsPanel$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfMultiSelectInputSearchPeer.prototype.GetSuggestionsPanel", {$GetSuggestionsPanel$:$AdfMultiSelectInputSearchPeer$$.prototype.$GetSuggestionsPanel$});
$AdfMultiSelectInputSearchPeer$$.prototype.$ShowSelectionsPopup$ = function $$AdfMultiSelectInputSearchPeer$$$$$ShowSelectionsPopup$$($component$$2347$$, $contentNode$$110$$) {
  $AdfDomUtils$$.$containsCSSClassName$(this.$getDomElement$(), $AdfMultiSelectInputSearchPeer$$.$__HAS_SELECTIONS_STATE_STYLE_CLASS$) && (this.$IsSelectionsShown$($component$$2347$$) || (this.$ToggleDisplayValueToFiltering$($contentNode$$110$$), this.$ShowSuggestionsPopup$($component$$2347$$, "selections")), $component$$2347$$.focus());
};
$AdfObject$$.$exportPrototypeSymbol$("AdfMultiSelectInputSearchPeer.prototype.ShowSelectionsPopup", {$ShowSelectionsPopup$:$AdfMultiSelectInputSearchPeer$$.prototype.$ShowSelectionsPopup$});
$AdfMultiSelectInputSearchPeer$$.prototype.$IsUnderAutocompletion$ = function $$AdfMultiSelectInputSearchPeer$$$$$IsUnderAutocompletion$$() {
  return !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfMultiSelectInputSearchPeer.prototype.IsUnderAutocompletion", {$IsUnderAutocompletion$:$AdfMultiSelectInputSearchPeer$$.prototype.$IsUnderAutocompletion$});
$AdfMultiSelectInputSearchPeer$$.prototype.$RestoreSelectionOnEscape$ = function $$AdfMultiSelectInputSearchPeer$$$$$RestoreSelectionOnEscape$$() {
};
$AdfObject$$.$exportPrototypeSymbol$("AdfMultiSelectInputSearchPeer.prototype.RestoreSelectionOnEscape", {$RestoreSelectionOnEscape$:$AdfMultiSelectInputSearchPeer$$.prototype.$RestoreSelectionOnEscape$});
$AdfMultiSelectInputSearchPeer$$.prototype.$RenderSelections$ = function $$AdfMultiSelectInputSearchPeer$$$$$RenderSelections$$($component$$2349$$) {
  if (!this.$_selectionSeedingDone$) {
    var $page$$247_selections$$1_suggestionMap$$11$$ = $AdfPage$$.$PAGE$;
    $page$$247_selections$$1_suggestionMap$$11$$.$unregisterLoadingComponent$($component$$2349$$);
    $page$$247_selections$$1_suggestionMap$$11$$.$registerLoadingComponent$($component$$2349$$);
  }
  var $page$$247_selections$$1_suggestionMap$$11$$ = this.$__getLocalSelections$(), $JSCompiler_temp$$274_JSCompiler_temp$$275_suggestionsPanel$$4$$;
  if ($JSCompiler_temp$$274_JSCompiler_temp$$275_suggestionsPanel$$4$$ = $page$$247_selections$$1_suggestionMap$$11$$) {
    ($JSCompiler_temp$$274_JSCompiler_temp$$275_suggestionsPanel$$4$$ = this.$_selectionSeedingDone$) || ($JSCompiler_temp$$274_JSCompiler_temp$$275_suggestionsPanel$$4$$ = !(!this.$__getLocalSelections$() || 0 < $JSCompiler_StaticMethods__getUnresolvedValues$$(this, $component$$2349$$).length));
  }
  if ($JSCompiler_temp$$274_JSCompiler_temp$$275_suggestionsPanel$$4$$) {
    if ($page$$247_selections$$1_suggestionMap$$11$$ = new $AdfSuggestionMap$$($AdfInputSearchUtils$mapValues$$($page$$247_selections$$1_suggestionMap$$11$$)), $JSCompiler_temp$$274_JSCompiler_temp$$275_suggestionsPanel$$4$$ = this.$GetSuggestionsPanel$(), $JSCompiler_temp$$274_JSCompiler_temp$$275_suggestionsPanel$$4$$.$getDisplayedSuggestions$()) {
      $JSCompiler_temp$$274_JSCompiler_temp$$275_suggestionsPanel$$4$$.update($component$$2349$$, $page$$247_selections$$1_suggestionMap$$11$$, !0);
    } else {
      var $renderingContext$$6$$ = {};
      $renderingContext$$6$$.source = $AdfInputSearchUtils$getDefaultSearchSection$$($component$$2349$$);
      $JSCompiler_temp$$274_JSCompiler_temp$$275_suggestionsPanel$$4$$.$render$($component$$2349$$, $page$$247_selections$$1_suggestionMap$$11$$, $renderingContext$$6$$);
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfMultiSelectInputSearchPeer.prototype.RenderSelections", {$RenderSelections$:$AdfMultiSelectInputSearchPeer$$.prototype.$RenderSelections$});
$AdfMultiSelectInputSearchPeer$$.prototype.$ToggleDisplayValueToFiltering$ = function $$AdfMultiSelectInputSearchPeer$$$$$ToggleDisplayValueToFiltering$$($contentNode$$112$$, $keyCode$$121$$) {
  $contentNode$$112$$.value = void 0 !== $keyCode$$121$$ && $keyCode$$121$$ !== $AdfKeyStroke$$.$BACKSPACE_KEY$ && $keyCode$$121$$ !== $AdfKeyStroke$$.$DELETE_KEY$ ? String.fromCodePoint ? String.fromCodePoint($keyCode$$121$$) : String.fromCharCode($keyCode$$121$$) : "";
  $AdfMultiSelectInputSearchPeer$$.$superclass$.$ToggleDisplayValueToFiltering$.call(this, $contentNode$$112$$, $keyCode$$121$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfMultiSelectInputSearchPeer.prototype.ToggleDisplayValueToFiltering", {$ToggleDisplayValueToFiltering$:$AdfMultiSelectInputSearchPeer$$.prototype.$ToggleDisplayValueToFiltering$});
$AdfMultiSelectInputSearchPeer$$.prototype.$UpdateDisplayValueAndSelection$ = function $$AdfMultiSelectInputSearchPeer$$$$$UpdateDisplayValueAndSelection$$($component$$2350$$, $domElement$$618$$, $values$$21$$, $freshSuggestions$$1$$) {
  for (var $selections$$2$$ = this.$__getLocalSelections$(), $i$$735$$ = 0, $len$$31$$ = $values$$21$$.length;$i$$735$$ < $len$$31$$;$i$$735$$++) {
    var $value$$275$$ = $values$$21$$[$i$$735$$], $suggestion$$7$$ = $freshSuggestions$$1$$.get($value$$275$$);
    $suggestion$$7$$ && $selections$$2$$.set($value$$275$$, $suggestion$$7$$);
  }
  $AdfMultiSelectInputSearchPeer$$.$superclass$.$UpdateDisplayValueAndSelection$.call(this, $component$$2350$$, $domElement$$618$$, $values$$21$$, $freshSuggestions$$1$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfMultiSelectInputSearchPeer.prototype.UpdateDisplayValueAndSelection", {$UpdateDisplayValueAndSelection$:$AdfMultiSelectInputSearchPeer$$.prototype.$UpdateDisplayValueAndSelection$});
$AdfMultiSelectInputSearchPeer$$.prototype.$PrefetchComplete$ = function $$AdfMultiSelectInputSearchPeer$$$$$PrefetchComplete$$($component$$2351$$, $suggestions$$25$$, $isListComprehensive$$6$$) {
  this.$__resolveLocalSelections$($component$$2351$$, $suggestions$$25$$);
  var $needsFurtherFetching$$2$$ = !1, $leftOutValues$$ = $JSCompiler_StaticMethods__getUnresolvedValues$$(this, $component$$2351$$);
  $isListComprehensive$$6$$ ? 0 < $leftOutValues$$.length && $AdfLogger$$.$LOGGER$.severe("There are values for which the suggestion objects are not available. Component: ", $component$$2351$$.$getClientId$(), ". Values are ", $leftOutValues$$) : 0 < $leftOutValues$$.length && ($needsFurtherFetching$$2$$ = !0, $AdfSequencedSections$$.$fetchSpecificSuggestions$($component$$2351$$, $leftOutValues$$));
  $AdfMultiSelectInputSearchPeer$$.$superclass$.$PrefetchComplete$.call(this, $component$$2351$$, $suggestions$$25$$, $isListComprehensive$$6$$, $needsFurtherFetching$$2$$);
  $needsFurtherFetching$$2$$ || (this.$_selectionSeedingDone$ = !0, $AdfPage$$.$PAGE$.$unregisterLoadingComponent$($component$$2351$$), this.$IsSelectionsShown$($component$$2351$$) && this.$RenderSelections$($component$$2351$$));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfMultiSelectInputSearchPeer.prototype.PrefetchComplete", {$PrefetchComplete$:$AdfMultiSelectInputSearchPeer$$.prototype.$PrefetchComplete$});
$AdfMultiSelectInputSearchPeer$$.prototype.$__fetchSpecificSuggestionsComplete$ = function $$AdfMultiSelectInputSearchPeer$$$$$__fetchSpecificSuggestionsComplete$$($component$$2353$$, $suggestions$$26$$) {
  this.$_selectionSeedingDone$ = !0;
  $AdfPage$$.$PAGE$.$unregisterLoadingComponent$($component$$2353$$);
  this.$__resolveLocalSelections$($component$$2353$$, $suggestions$$26$$);
  var $leftOutValues$$1$$ = $JSCompiler_StaticMethods__getUnresolvedValues$$(this, $component$$2353$$);
  0 < $leftOutValues$$1$$.length && $AdfLogger$$.$LOGGER$.severe("There are values for which the suggestion objects are not available. Component: ", $component$$2353$$.$getClientId$(), ". Values are ", $leftOutValues$$1$$);
  this.$SetDisplayValueOnPrefetch$($component$$2353$$, $suggestions$$26$$, !1, !1);
  this.$IsSelectionsShown$($component$$2353$$) && this.$RenderSelections$($component$$2353$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfMultiSelectInputSearchPeer.prototype.__fetchSpecificSuggestionsComplete", {$__fetchSpecificSuggestionsComplete$:$AdfMultiSelectInputSearchPeer$$.prototype.$__fetchSpecificSuggestionsComplete$});
$AdfMultiSelectInputSearchPeer$$.prototype.$__getLocalSelections$ = function $$AdfMultiSelectInputSearchPeer$$$$$__getLocalSelections$$() {
  return this.$_localSelections$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfMultiSelectInputSearchPeer.prototype.__getLocalSelections", {$__getLocalSelections$:$AdfMultiSelectInputSearchPeer$$.prototype.$__getLocalSelections$});
function $JSCompiler_StaticMethods__getUnresolvedValues$$($JSCompiler_StaticMethods__getUnresolvedValues$self$$, $component$$2354$$) {
  for (var $values$$22$$ = $AdfDhtmlInputSearchPeer$$.$GetValue$($component$$2354$$), $localSelections$$3$$ = $JSCompiler_StaticMethods__getUnresolvedValues$self$$.$_localSelections$, $leftOutValues$$2$$ = [], $i$$736$$ = 0, $len$$32$$ = $values$$22$$.length;$i$$736$$ < $len$$32$$;$i$$736$$++) {
    null == $localSelections$$3$$.get($values$$22$$[$i$$736$$]) && $leftOutValues$$2$$.push($values$$22$$[$i$$736$$]);
  }
  return $leftOutValues$$2$$;
}
$AdfMultiSelectInputSearchPeer$$.prototype.$__resolveLocalSelections$ = function $$AdfMultiSelectInputSearchPeer$$$$$__resolveLocalSelections$$($component$$2356$$, $suggestions$$27$$) {
  if (!this.$__getLocalSelections$()) {
    $AdfAssert$$.assert(null != $AdfDhtmlInputSearchPeer$$.$getValueAttributeType$($component$$2356$$));
    for (var $values$$23_values$$inline_5043$$ = $AdfDhtmlInputSearchPeer$$.$GetValue$($component$$2356$$), $i$$737_selections$$inline_5044$$ = $component$$2356$$.getSelection() || [], $len$$33_localSelections$$inline_5045$$ = new Map, $i$$inline_5046_suggestion$$8$$ = 0, $len$$inline_5047$$ = $values$$23_values$$inline_5043$$.length;$i$$inline_5046_suggestion$$8$$ < $len$$inline_5047$$;$i$$inline_5046_suggestion$$8$$++) {
      $len$$33_localSelections$$inline_5045$$.set($values$$23_values$$inline_5043$$[$i$$inline_5046_suggestion$$8$$], $AdfMultiSelectInputSearchPeer$$.$_getSelectionForValue$($values$$23_values$$inline_5043$$[$i$$inline_5046_suggestion$$8$$], $i$$737_selections$$inline_5044$$));
    }
    this.$_localSelections$ = $len$$33_localSelections$$inline_5045$$;
  }
  $values$$23_values$$inline_5043$$ = $AdfDhtmlInputSearchPeer$$.$GetValue$($component$$2356$$);
  $i$$737_selections$$inline_5044$$ = 0;
  for ($len$$33_localSelections$$inline_5045$$ = $values$$23_values$$inline_5043$$.length;$i$$737_selections$$inline_5044$$ < $len$$33_localSelections$$inline_5045$$;$i$$737_selections$$inline_5044$$++) {
    ($i$$inline_5046_suggestion$$8$$ = $suggestions$$27$$.get($values$$23_values$$inline_5043$$[$i$$737_selections$$inline_5044$$])) && this.$_localSelections$.set($values$$23_values$$inline_5043$$[$i$$737_selections$$inline_5044$$], $i$$inline_5046_suggestion$$8$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfMultiSelectInputSearchPeer.prototype.__resolveLocalSelections", {$__resolveLocalSelections$:$AdfMultiSelectInputSearchPeer$$.prototype.$__resolveLocalSelections$});
$AdfMultiSelectInputSearchPeer$$.$_getSelectionForValue$ = function $$AdfMultiSelectInputSearchPeer$$$$_getSelectionForValue$$($value$$276$$, $selections$$4$$) {
  for (var $i$$740$$ = 0, $len$$36$$ = $selections$$4$$.length;$i$$740$$ < $len$$36$$;$i$$740$$++) {
    if ($value$$276$$ == $selections$$4$$[$i$$740$$].key) {
      return $selections$$4$$[$i$$740$$];
    }
  }
};
$AdfMultiSelectInputSearchPeer$$.$_setSelectionsCount$ = function $$AdfMultiSelectInputSearchPeer$$$$_setSelectionsCount$$($component$$2358_selectionsButton$$2$$, $element$$384$$, $size$$73$$) {
  ($component$$2358_selectionsButton$$2$$ = $AdfInputSearchUtils$getSelectionsButton$$($component$$2358_selectionsButton$$2$$)) && 0 < $size$$73$$ && ($component$$2358_selectionsButton$$2$$.setAttribute($AdfMultiSelectInputSearchPeer$$.$__SELECTIONS_LENGTH_EXPANDO$, $size$$73$$), $AdfDomUtils$$.$addCSSClassName$($element$$384$$, $AdfMultiSelectInputSearchPeer$$.$__HAS_SELECTIONS_STATE_STYLE_CLASS$));
};
$AdfMultiSelectInputSearchPeer$$.$_updateSelectionsCount$ = function $$AdfMultiSelectInputSearchPeer$$$$_updateSelectionsCount$$($component$$2359$$, $element$$385$$, $size$$74$$) {
  0 === $size$$74$$ ? ($AdfDomUtils$$.$removeCSSClassName$($element$$385$$, $AdfMultiSelectInputSearchPeer$$.$__HAS_SELECTIONS_STATE_STYLE_CLASS$), $AdfInputSearchUtils$getSelectionsButton$$($component$$2359$$).removeAttribute($AdfMultiSelectInputSearchPeer$$.$__SELECTIONS_LENGTH_EXPANDO$)) : $AdfMultiSelectInputSearchPeer$$.$_setSelectionsCount$($component$$2359$$, $element$$385$$, $size$$74$$);
};
