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$$2340$$, $element$$381$$) {
  $AdfMultiSelectInputSearchPeer$$.$superclass$.$InitDomElement$.call(this, $component$$2340$$, $element$$381$$);
  this.$_suggestionsPanel$ = new $AdfMultiSelectPanel$$(this);
  var $values$$19$$ = $AdfDhtmlInputSearchPeer$$.$GetValue$($component$$2340$$);
  $AdfMultiSelectInputSearchPeer$$.$_setSelectionsCount$($component$$2340$$, $element$$381$$, $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$$2341$$, $domElement$$616$$) {
  var $contentNodeValue$$4$$ = $AdfDhtmlEditableValuePeer$$.$getContentNodeText$($component$$2341$$, $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$$2342$$) {
  var $values$$20$$ = $AdfInputSearchUtils$mapKeys$$(this.$__getLocalSelections$());
  0 == $values$$20$$.length && 0 == $AdfDhtmlInputSearchPeer$$.$GetValue$($component$$2342$$).length && this.$SetDisplayValue$($component$$2342$$, this.$getDomElement$(), $values$$20$$);
  this.$Validate$($component$$2342$$, $values$$20$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfMultiSelectInputSearchPeer.prototype.RunValidation", {$RunValidation$:$AdfMultiSelectInputSearchPeer$$.prototype.$RunValidation$});
$AdfMultiSelectInputSearchPeer$$.prototype.$DerivePropsFromPrefSuggestions$ = function $$AdfMultiSelectInputSearchPeer$$$$$DerivePropsFromPrefSuggestions$$($component$$2343$$, $preferredSuggestions$$9$$) {
  $AdfMultiSelectInputSearchPeer$$.$superclass$.$DerivePropsFromPrefSuggestions$.call(this, $component$$2343$$, $preferredSuggestions$$9$$);
  this.$__resolveLocalSelections$($component$$2343$$, $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$$731$$ = 0, $length$$102$$ = $oldValues$$11$$.length;$i$$731$$ < $length$$102$$;$i$$731$$++) {
    $oldValObj$$[$oldValues$$11$$[$i$$731$$]] = !0;
  }
  for (var $realNewValues$$1$$ = [], $i$$731$$ = 0, $length$$102$$ = $newValues$$16$$.length;$i$$731$$ < $length$$102$$;$i$$731$$++) {
    $oldValObj$$[$newValues$$16$$[$i$$731$$]] || $realNewValues$$1$$.push($newValues$$16$$[$i$$731$$]);
  }
  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_5020$$ = this.$__getLocalSelections$();
  if ($newValues$$17$$ && !this.$compareValues$($AdfInputSearchUtils$mapKeys$$($localSelections$$2_oldLocalSelections$$inline_5020$$), $newValues$$17$$)) {
    for (var $displayedSuggestions$$3$$ = this.$GetSuggestionsPanel$().$getDisplayedSuggestions$(), $newLocalSelections$$inline_5022$$ = new Map, $i$$inline_5023$$ = 0, $len$$inline_5024$$ = $newValues$$17$$.length;$i$$inline_5023$$ < $len$$inline_5024$$;$i$$inline_5023$$++) {
      var $newerValue$$inline_5025$$ = $newValues$$17$$[$i$$inline_5023$$];
      $localSelections$$2_oldLocalSelections$$inline_5020$$ && $localSelections$$2_oldLocalSelections$$inline_5020$$.has($newerValue$$inline_5025$$) ? $newLocalSelections$$inline_5022$$.set($newerValue$$inline_5025$$, $localSelections$$2_oldLocalSelections$$inline_5020$$.get($newerValue$$inline_5025$$)) : $displayedSuggestions$$3$$ ? $newLocalSelections$$inline_5022$$.set($newerValue$$inline_5025$$, $displayedSuggestions$$3$$.get($newerValue$$inline_5025$$)) : $newLocalSelections$$inline_5022$$.set($newerValue$$inline_5025$$, 
      null);
    }
    $localSelections$$2_oldLocalSelections$$inline_5020$$ = this.$_localSelections$ = $newLocalSelections$$inline_5022$$;
    $AdfMultiSelectInputSearchPeer$$.$_updateSelectionsCount$(this.$getComponent$(), this.$getDomElement$(), $newValues$$17$$.length);
  }
  return $localSelections$$2_oldLocalSelections$$inline_5020$$;
};
$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$$2344$$, $contentNode$$109$$) {
  $AdfDomUtils$$.$containsCSSClassName$(this.$getDomElement$(), $AdfMultiSelectInputSearchPeer$$.$__HAS_SELECTIONS_STATE_STYLE_CLASS$) && (this.$IsSelectionsShown$($component$$2344$$) || (this.$ToggleDisplayValueToFiltering$($contentNode$$109$$), this.$ShowSuggestionsPopup$($component$$2344$$, "selections")), $component$$2344$$.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$$2346$$) {
  if (!this.$_selectionSeedingDone$) {
    var $page$$247_selections$$1_suggestionMap$$11$$ = $AdfPage$$.$PAGE$;
    $page$$247_selections$$1_suggestionMap$$11$$.$unregisterLoadingComponent$($component$$2346$$);
    $page$$247_selections$$1_suggestionMap$$11$$.$registerLoadingComponent$($component$$2346$$);
  }
  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$$2346$$).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$$2346$$, $page$$247_selections$$1_suggestionMap$$11$$, !0);
    } else {
      var $renderingContext$$6$$ = {};
      $renderingContext$$6$$.source = $AdfInputSearchUtils$getDefaultSearchSection$$($component$$2346$$);
      $JSCompiler_temp$$274_JSCompiler_temp$$275_suggestionsPanel$$4$$.$render$($component$$2346$$, $page$$247_selections$$1_suggestionMap$$11$$, $renderingContext$$6$$);
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfMultiSelectInputSearchPeer.prototype.RenderSelections", {$RenderSelections$:$AdfMultiSelectInputSearchPeer$$.prototype.$RenderSelections$});
$AdfMultiSelectInputSearchPeer$$.prototype.$ToggleDisplayValueToFiltering$ = function $$AdfMultiSelectInputSearchPeer$$$$$ToggleDisplayValueToFiltering$$($contentNode$$111$$, $keyCode$$121$$) {
  $contentNode$$111$$.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$$111$$, $keyCode$$121$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfMultiSelectInputSearchPeer.prototype.ToggleDisplayValueToFiltering", {$ToggleDisplayValueToFiltering$:$AdfMultiSelectInputSearchPeer$$.prototype.$ToggleDisplayValueToFiltering$});
$AdfMultiSelectInputSearchPeer$$.prototype.$UpdateDisplayValueAndSelection$ = function $$AdfMultiSelectInputSearchPeer$$$$$UpdateDisplayValueAndSelection$$($component$$2347$$, $domElement$$618$$, $values$$21$$, $freshSuggestions$$1$$) {
  for (var $selections$$2$$ = this.$__getLocalSelections$(), $i$$732$$ = 0, $len$$31$$ = $values$$21$$.length;$i$$732$$ < $len$$31$$;$i$$732$$++) {
    var $value$$275$$ = $values$$21$$[$i$$732$$], $suggestion$$7$$ = $freshSuggestions$$1$$.get($value$$275$$);
    $suggestion$$7$$ && $selections$$2$$.set($value$$275$$, $suggestion$$7$$);
  }
  $AdfMultiSelectInputSearchPeer$$.$superclass$.$UpdateDisplayValueAndSelection$.call(this, $component$$2347$$, $domElement$$618$$, $values$$21$$, $freshSuggestions$$1$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfMultiSelectInputSearchPeer.prototype.UpdateDisplayValueAndSelection", {$UpdateDisplayValueAndSelection$:$AdfMultiSelectInputSearchPeer$$.prototype.$UpdateDisplayValueAndSelection$});
$AdfMultiSelectInputSearchPeer$$.prototype.$PrefetchComplete$ = function $$AdfMultiSelectInputSearchPeer$$$$$PrefetchComplete$$($component$$2348$$, $suggestions$$25$$, $isListComprehensive$$6$$) {
  this.$__resolveLocalSelections$($component$$2348$$, $suggestions$$25$$);
  var $needsFurtherFetching$$2$$ = !1, $leftOutValues$$ = $JSCompiler_StaticMethods__getUnresolvedValues$$(this, $component$$2348$$);
  $isListComprehensive$$6$$ ? 0 < $leftOutValues$$.length && $AdfLogger$$.$LOGGER$.severe("There are values for which the suggestion objects are not available. Component: ", $component$$2348$$.$getClientId$(), ". Values are ", $leftOutValues$$) : 0 < $leftOutValues$$.length && ($needsFurtherFetching$$2$$ = !0, $AdfSequencedSections$$.$fetchSpecificSuggestions$($component$$2348$$, $leftOutValues$$));
  $AdfMultiSelectInputSearchPeer$$.$superclass$.$PrefetchComplete$.call(this, $component$$2348$$, $suggestions$$25$$, $isListComprehensive$$6$$, $needsFurtherFetching$$2$$);
  $needsFurtherFetching$$2$$ || (this.$_selectionSeedingDone$ = !0, $AdfPage$$.$PAGE$.$unregisterLoadingComponent$($component$$2348$$), this.$IsSelectionsShown$($component$$2348$$) && this.$RenderSelections$($component$$2348$$));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfMultiSelectInputSearchPeer.prototype.PrefetchComplete", {$PrefetchComplete$:$AdfMultiSelectInputSearchPeer$$.prototype.$PrefetchComplete$});
$AdfMultiSelectInputSearchPeer$$.prototype.$__fetchSpecificSuggestionsComplete$ = function $$AdfMultiSelectInputSearchPeer$$$$$__fetchSpecificSuggestionsComplete$$($component$$2350$$, $suggestions$$26$$) {
  this.$_selectionSeedingDone$ = !0;
  $AdfPage$$.$PAGE$.$unregisterLoadingComponent$($component$$2350$$);
  this.$__resolveLocalSelections$($component$$2350$$, $suggestions$$26$$);
  var $leftOutValues$$1$$ = $JSCompiler_StaticMethods__getUnresolvedValues$$(this, $component$$2350$$);
  0 < $leftOutValues$$1$$.length && $AdfLogger$$.$LOGGER$.severe("There are values for which the suggestion objects are not available. Component: ", $component$$2350$$.$getClientId$(), ". Values are ", $leftOutValues$$1$$);
  this.$SetDisplayValueOnPrefetch$($component$$2350$$, $suggestions$$26$$, !1, !1);
  this.$IsSelectionsShown$($component$$2350$$) && this.$RenderSelections$($component$$2350$$);
};
$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$$2351$$) {
  for (var $values$$22$$ = $AdfDhtmlInputSearchPeer$$.$GetValue$($component$$2351$$), $localSelections$$3$$ = $JSCompiler_StaticMethods__getUnresolvedValues$self$$.$_localSelections$, $leftOutValues$$2$$ = [], $i$$733$$ = 0, $len$$32$$ = $values$$22$$.length;$i$$733$$ < $len$$32$$;$i$$733$$++) {
    null == $localSelections$$3$$.get($values$$22$$[$i$$733$$]) && $leftOutValues$$2$$.push($values$$22$$[$i$$733$$]);
  }
  return $leftOutValues$$2$$;
}
$AdfMultiSelectInputSearchPeer$$.prototype.$__resolveLocalSelections$ = function $$AdfMultiSelectInputSearchPeer$$$$$__resolveLocalSelections$$($component$$2353$$, $suggestions$$27$$) {
  if (!this.$__getLocalSelections$()) {
    $AdfAssert$$.assert(null != $AdfDhtmlInputSearchPeer$$.$getValueAttributeType$($component$$2353$$));
    for (var $values$$23_values$$inline_5038$$ = $AdfDhtmlInputSearchPeer$$.$GetValue$($component$$2353$$), $i$$734_selections$$inline_5039$$ = $component$$2353$$.getSelection() || [], $len$$33_localSelections$$inline_5040$$ = new Map, $i$$inline_5041_suggestion$$8$$ = 0, $len$$inline_5042$$ = $values$$23_values$$inline_5038$$.length;$i$$inline_5041_suggestion$$8$$ < $len$$inline_5042$$;$i$$inline_5041_suggestion$$8$$++) {
      $len$$33_localSelections$$inline_5040$$.set($values$$23_values$$inline_5038$$[$i$$inline_5041_suggestion$$8$$], $AdfMultiSelectInputSearchPeer$$.$_getSelectionForValue$($values$$23_values$$inline_5038$$[$i$$inline_5041_suggestion$$8$$], $i$$734_selections$$inline_5039$$));
    }
    this.$_localSelections$ = $len$$33_localSelections$$inline_5040$$;
  }
  $values$$23_values$$inline_5038$$ = $AdfDhtmlInputSearchPeer$$.$GetValue$($component$$2353$$);
  $i$$734_selections$$inline_5039$$ = 0;
  for ($len$$33_localSelections$$inline_5040$$ = $values$$23_values$$inline_5038$$.length;$i$$734_selections$$inline_5039$$ < $len$$33_localSelections$$inline_5040$$;$i$$734_selections$$inline_5039$$++) {
    ($i$$inline_5041_suggestion$$8$$ = $suggestions$$27$$.get($values$$23_values$$inline_5038$$[$i$$734_selections$$inline_5039$$])) && this.$_localSelections$.set($values$$23_values$$inline_5038$$[$i$$734_selections$$inline_5039$$], $i$$inline_5041_suggestion$$8$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfMultiSelectInputSearchPeer.prototype.__resolveLocalSelections", {$__resolveLocalSelections$:$AdfMultiSelectInputSearchPeer$$.prototype.$__resolveLocalSelections$});
$AdfMultiSelectInputSearchPeer$$.$_getSelectionForValue$ = function $$AdfMultiSelectInputSearchPeer$$$$_getSelectionForValue$$($value$$276$$, $selections$$4$$) {
  for (var $i$$737$$ = 0, $len$$36$$ = $selections$$4$$.length;$i$$737$$ < $len$$36$$;$i$$737$$++) {
    if ($value$$276$$ == $selections$$4$$[$i$$737$$].key) {
      return $selections$$4$$[$i$$737$$];
    }
  }
};
$AdfMultiSelectInputSearchPeer$$.$_setSelectionsCount$ = function $$AdfMultiSelectInputSearchPeer$$$$_setSelectionsCount$$($component$$2355_selectionsButton$$2$$, $element$$382$$, $size$$73$$) {
  ($component$$2355_selectionsButton$$2$$ = $AdfInputSearchUtils$getSelectionsButton$$($component$$2355_selectionsButton$$2$$)) && 0 < $size$$73$$ && ($component$$2355_selectionsButton$$2$$.setAttribute($AdfMultiSelectInputSearchPeer$$.$__SELECTIONS_LENGTH_EXPANDO$, $size$$73$$), $AdfDomUtils$$.$addCSSClassName$($element$$382$$, $AdfMultiSelectInputSearchPeer$$.$__HAS_SELECTIONS_STATE_STYLE_CLASS$));
};
$AdfMultiSelectInputSearchPeer$$.$_updateSelectionsCount$ = function $$AdfMultiSelectInputSearchPeer$$$$_updateSelectionsCount$$($component$$2356$$, $element$$383$$, $size$$74$$) {
  0 === $size$$74$$ ? ($AdfDomUtils$$.$removeCSSClassName$($element$$383$$, $AdfMultiSelectInputSearchPeer$$.$__HAS_SELECTIONS_STATE_STYLE_CLASS$), $AdfInputSearchUtils$getSelectionsButton$$($component$$2356$$).removeAttribute($AdfMultiSelectInputSearchPeer$$.$__SELECTIONS_LENGTH_EXPANDO$)) : $AdfMultiSelectInputSearchPeer$$.$_setSelectionsCount$($component$$2356$$, $element$$383$$, $size$$74$$);
};
