var $AdfDhtmlToolbarPeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfRichUIPeer$$, "AdfDhtmlToolbarPeer", $JSCompiler_alias_FALSE$$);
$goog$exportSymbol$$("AdfDhtmlToolbarPeer", $AdfDhtmlToolbarPeer$$);
$AdfDhtmlToolbarPeer$$.$InitSubclass$ = function $$AdfDhtmlToolbarPeer$$$$InitSubclass$$() {
  $AdfObject$$.$ensureClassInitialization$($AdfToolbarUtils$$);
  $AdfRichUIPeer$$.$addComponentEventHandlers$(this, $AdfUIInputEvent$$.$KEY_DOWN_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_PRESS_EVENT_TYPE$, $AdfUIInputEvent$$.$FOCUS_EVENT_TYPE$)
};
$goog$exportSymbol$$("AdfDhtmlToolbarPeer.InitSubclass", $AdfDhtmlToolbarPeer$$.$InitSubclass$);
$AdfDhtmlToolbarPeer$$.prototype.$InitDomElement$ = function $$AdfDhtmlToolbarPeer$$$$$InitDomElement$$($component$$1686$$, $domElement$$497$$) {
  $AdfDhtmlToolbarPeer$$.$superclass$.$InitDomElement$.call(this, $component$$1686$$, $domElement$$497$$);
  var $clientId$$397$$ = $component$$1686$$.$getClientId$(), $id$$350$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$397$$, "eoc"), $agent$$650$$ = $AdfAgent$$.$AGENT$;
  if(this.$_isOverflowSupported$ = (this.$_overflowContainer$ = $agent$$650$$.getElementById($id$$350$$)) ? $JSCompiler_alias_TRUE$$ : $JSCompiler_alias_FALSE$$) {
    $id$$350$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$397$$, "eoi"), this.$_overflowIndicator$ = $agent$$650$$.getElementById($id$$350$$), $AdfPage$$.$PAGE$.$__registerDescendantResizeNotifyComponent$($component$$1686$$)
  }
  this.$_childContainers$ = $agent$$650$$.$getTableRowCells$($agent$$650$$.$getTableRow$($domElement$$497$$.getElementsByTagName("table")[0], 0));
  (this.$_isSingleTabstop$ = $AdfFocusUtils$$.$getFirstUnmarkedTabstop$($domElement$$497$$) == $JSCompiler_alias_NULL$$) ? this.$_activeDescendant$ = $AdfFocusUtils$$.$setupCompositeWidget$($domElement$$497$$) : this.$_isOverflowSupported$ && this.$_overflowIndicator$.setAttribute("tabIndex", "0")
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlToolbarPeer.prototype.InitDomElement", {$InitDomElement$:$AdfDhtmlToolbarPeer$$.prototype.$InitDomElement$});
$AdfDhtmlToolbarPeer$$.prototype.$needsChildVisibilityChanges$ = $JSCompiler_returnArg$$($JSCompiler_alias_TRUE$$);
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlToolbarPeer.prototype.needsChildVisibilityChanges", {$needsChildVisibilityChanges$:$AdfDhtmlToolbarPeer$$.prototype.$needsChildVisibilityChanges$});
$AdfDhtmlToolbarPeer$$.prototype.$needsResizeNotify$ = $JSCompiler_returnArg$$($JSCompiler_alias_TRUE$$);
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlToolbarPeer.prototype.needsResizeNotify", {$needsResizeNotify$:$AdfDhtmlToolbarPeer$$.prototype.$needsResizeNotify$});
$AdfDhtmlToolbarPeer$$.prototype.$getDescendantComponents$ = function $$AdfDhtmlToolbarPeer$$$$$getDescendantComponents$$($component$$1689$$, $children$$65$$) {
  $children$$65$$ || ($children$$65$$ = []);
  $AdfDhtmlToolbarPeer$$.$superclass$.$getDescendantComponents$.call(this, $component$$1689$$, $children$$65$$);
  this.$_isOverflowSupported$ == $JSCompiler_alias_TRUE$$ && $AdfOverflowSupport$$.$getOverflowChildComponents$($component$$1689$$, $children$$65$$);
  return $children$$65$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlToolbarPeer.prototype.getDescendantComponents", {$getDescendantComponents$:$AdfDhtmlToolbarPeer$$.prototype.$getDescendantComponents$});
$AdfDhtmlToolbarPeer$$.prototype.$resetActiveDescendant$ = function $$AdfDhtmlToolbarPeer$$$$$resetActiveDescendant$$() {
  this.$_isSingleTabstop$ && (this.$_activeDescendant$ && this.$_activeDescendant$.setAttribute("tabIndex", "-1"), this.$_activeDescendant$ = $AdfFocusUtils$$.$setFirstActiveDescendant$(this.$getDomElement$()))
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlToolbarPeer.prototype.resetActiveDescendant", {$resetActiveDescendant$:$AdfDhtmlToolbarPeer$$.prototype.$resetActiveDescendant$});
$AdfDhtmlToolbarPeer$$.prototype.$ResizeNotify$ = function $$AdfDhtmlToolbarPeer$$$$$ResizeNotify$$() {
  var $rootElement$$138_toolbarItems$$ = this.$getDomElement$(), $agent$$651_component$$1690_i$$546$$ = this.$getComponent$(), $childElement$$18_id$$351_overflowElement$$5_toolbarItem$$ = $agent$$651_component$$1690_i$$546$$.$getClientId$();
  if(this.$_isOverflowSupported$ != $JSCompiler_alias_FALSE$$ || $agent$$651_component$$1690_i$$546$$.getStretchId()) {
    this.$_unStretch$();
    if(this.$_isOverflowSupported$ == $JSCompiler_alias_TRUE$$) {
      if(!this.$_overflowSupport$) {
        this.$_overflowSupport$ = new $AdfOverflowSupport$$($childElement$$18_id$$351_overflowElement$$5_toolbarItem$$, this, "end", $JSCompiler_alias_NULL$$, $JSCompiler_alias_NULL$$, this.$_isSingleTabstop$);
        $agent$$651_component$$1690_i$$546$$ = $AdfAgent$$.$AGENT$;
        $rootElement$$138_toolbarItems$$ = $agent$$651_component$$1690_i$$546$$.$getTableRowCells$($agent$$651_component$$1690_i$$546$$.$getTableRow$($rootElement$$138_toolbarItems$$.getElementsByTagName("table")[0], 0));
        $agent$$651_component$$1690_i$$546$$ = 0;
        for($childElement$$18_id$$351_overflowElement$$5_toolbarItem$$ = $rootElement$$138_toolbarItems$$[0];$childElement$$18_id$$351_overflowElement$$5_toolbarItem$$;) {
          this.$_overflowSupport$.$createStep$(), this.$_overflowSupport$.addElement($childElement$$18_id$$351_overflowElement$$5_toolbarItem$$), $childElement$$18_id$$351_overflowElement$$5_toolbarItem$$ = $AdfDomUtils$$.$getFirstChildElement$($childElement$$18_id$$351_overflowElement$$5_toolbarItem$$), $AdfToolbarUtils$$.$isValidOverflowElement$($childElement$$18_id$$351_overflowElement$$5_toolbarItem$$) && ($childElement$$18_id$$351_overflowElement$$5_toolbarItem$$ = this.$_createOverflowElement$($childElement$$18_id$$351_overflowElement$$5_toolbarItem$$), 
          this.$_overflowSupport$.$addOverflowElement$($childElement$$18_id$$351_overflowElement$$5_toolbarItem$$)), $agent$$651_component$$1690_i$$546$$++, $childElement$$18_id$$351_overflowElement$$5_toolbarItem$$ = $rootElement$$138_toolbarItems$$[$agent$$651_component$$1690_i$$546$$]
        }
      }
      this.$_overflowSupport$.$handleResize$()
    }
    this.$_reStretch$();
    (!this.$_activeDescendant$ || !(0 < this.$_activeDescendant$.offsetWidth || 0 < this.$_activeDescendant$.offsetHeight)) && this.$resetActiveDescendant$()
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlToolbarPeer.prototype.ResizeNotify", {$ResizeNotify$:$AdfDhtmlToolbarPeer$$.prototype.$ResizeNotify$});
$AdfDhtmlToolbarPeer$$.prototype.$ChildVisibilityChanged$ = function $$AdfDhtmlToolbarPeer$$$$$ChildVisibilityChanged$$() {
  $AdfPage$$.$PAGE$.$addPartialTargets$(this.$getComponent$());
  return $JSCompiler_alias_FALSE$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlToolbarPeer.prototype.ChildVisibilityChanged", {$ChildVisibilityChanged$:$AdfDhtmlToolbarPeer$$.prototype.$ChildVisibilityChanged$});
$AdfDhtmlToolbarPeer$$.prototype.$GetPreferredWidth$ = function $$AdfDhtmlToolbarPeer$$$$$GetPreferredWidth$$() {
  if(this.$_preferredWidth$) {
    $AdfLogger$$.$LOGGER$.fine("toolbar#GetPreferredWidth called, returned cached value of: " + this.$_preferredWidth$)
  }else {
    var $content$$33$$ = this.$getDomElement$().firstChild;
    this.$_unStretch$();
    this.$_overflowSupport$ && this.$_overflowSupport$.$removeAllItemsFromOverflow$();
    this.$_preferredWidth$ = $content$$33$$.offsetWidth;
    this.$_reStretch$();
    $AdfLogger$$.$LOGGER$.fine("toolbar#GetPreferredWidth called, returned calculated value of: " + this.$_preferredWidth$)
  }
  return this.$_preferredWidth$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlToolbarPeer.prototype.GetPreferredWidth", {$GetPreferredWidth$:$AdfDhtmlToolbarPeer$$.prototype.$GetPreferredWidth$});
$AdfDhtmlToolbarPeer$$.prototype.$GetMinimumWidth$ = function $$AdfDhtmlToolbarPeer$$$$$GetMinimumWidth$$() {
  if(!this.$_minimumWidth$) {
    if(this.$_isOverflowSupported$ == $JSCompiler_alias_FALSE$$) {
      this.$_minimumWidth$ = this.$GetPreferredWidth$()
    }else {
      if(this.$_childContainers$ && 0 < this.$_childContainers$.length) {
        var $oldIndicatorDisplay$$1_preferredWidth$$1$$ = this.$_overflowIndicator$.style.display, $overflowIndicator$$ = this.$_overflowIndicator$;
        $overflowIndicator$$.style.display = "block";
        var $currentStyle$$14$$ = $AdfAgent$$.$AGENT$.getComputedStyle($overflowIndicator$$);
        this.$_minimumWidth$ = $overflowIndicator$$.offsetWidth + $AdfAgent$$.$getCSSLengthAsInt$($currentStyle$$14$$.marginLeft) + $AdfAgent$$.$getCSSLengthAsInt$($currentStyle$$14$$.marginRight);
        $overflowIndicator$$.style.display = $oldIndicatorDisplay$$1_preferredWidth$$1$$;
        $oldIndicatorDisplay$$1_preferredWidth$$1$$ = this.$GetPreferredWidth$();
        this.$_minimumWidth$ > $oldIndicatorDisplay$$1_preferredWidth$$1$$ && (this.$_minimumWidth$ = $oldIndicatorDisplay$$1_preferredWidth$$1$$)
      }else {
        this.$_minimumWidth$ = 0
      }
    }
  }
  return this.$_minimumWidth$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlToolbarPeer.prototype.GetMinimumWidth", {$GetMinimumWidth$:$AdfDhtmlToolbarPeer$$.prototype.$GetMinimumWidth$});
$AdfDhtmlToolbarPeer$$.prototype.$ComponentRemoved$ = function $$AdfDhtmlToolbarPeer$$$$$ComponentRemoved$$($component$$1691$$) {
  this.$_overflowSupport$ && (this.$_overflowSupport$.$removeOverflowSupport$(), delete this.$_overflowSupport$);
  delete this.$_overflowContainer$;
  delete this.$_overflowIndicator$;
  delete this.$_childContainers$;
  delete this.$_isOverflowSupported$;
  delete this.$_preferredWidth$;
  delete this.$_minimumWidth$;
  $AdfPage$$.$PAGE$.$__unregisterDescendantResizeNotifyComponent$($component$$1691$$);
  $AdfDhtmlToolbarPeer$$.$superclass$.$ComponentRemoved$.call(this, $component$$1691$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlToolbarPeer.prototype.ComponentRemoved", {$ComponentRemoved$:$AdfDhtmlToolbarPeer$$.prototype.$ComponentRemoved$});
$AdfDhtmlToolbarPeer$$.prototype.$HandleComponentKeyDown$ = function $$AdfDhtmlToolbarPeer$$$$$HandleComponentKeyDown$$($componentEvent$$423$$) {
  if(!$componentEvent$$423$$.$isCanceled$()) {
    var $agent$$652$$ = $AdfAgent$$.$AGENT$, $keyCode$$98$$ = $componentEvent$$423$$.$getKeyCode$();
    $agent$$652$$.$getPreferredKeyEventForRepetition$() == $AdfUIInputEvent$$.$KEY_DOWN_EVENT_TYPE$ && this.$_handleArrowKeys$($keyCode$$98$$, $componentEvent$$423$$)
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlToolbarPeer.prototype.HandleComponentKeyDown", {$HandleComponentKeyDown$:$AdfDhtmlToolbarPeer$$.prototype.$HandleComponentKeyDown$});
$AdfDhtmlToolbarPeer$$.prototype.$HandleComponentKeyPress$ = function $$AdfDhtmlToolbarPeer$$$$$HandleComponentKeyPress$$($componentEvent$$424$$) {
  if(!$componentEvent$$424$$.$isCanceled$() && $AdfAgent$$.$AGENT$.$getPreferredKeyEventForRepetition$() == $AdfUIInputEvent$$.$KEY_PRESS_EVENT_TYPE$) {
    var $keyCode$$99$$ = $componentEvent$$424$$.$getKeyCode$();
    this.$_handleArrowKeys$($keyCode$$99$$, $componentEvent$$424$$)
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlToolbarPeer.prototype.HandleComponentKeyPress", {$HandleComponentKeyPress$:$AdfDhtmlToolbarPeer$$.prototype.$HandleComponentKeyPress$});
$AdfDhtmlToolbarPeer$$.prototype.$HandleComponentFocus$ = function $$AdfDhtmlToolbarPeer$$$$$HandleComponentFocus$$($componentEvent$$425$$) {
  if(this.$_isSingleTabstop$) {
    var $eventSource$$22_focusableElement$$2_overflowFocusableElement$$1$$ = $componentEvent$$425$$.getSource(), $evt$$149_evtTarget$$11$$ = $componentEvent$$425$$.$getNativeEvent$(), $evt$$149_evtTarget$$11$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($evt$$149_evtTarget$$11$$), $childRootElement_clientId$$398$$ = $eventSource$$22_focusableElement$$2_overflowFocusableElement$$1$$.$getClientId$(), $childRootElement_clientId$$398$$ = $AdfAgent$$.$AGENT$.getElementById($childRootElement_clientId$$398$$);
    $childRootElement_clientId$$398$$ == this.$getDomElement$() && ($childRootElement_clientId$$398$$ = $evt$$149_evtTarget$$11$$);
    $evt$$149_evtTarget$$11$$ == this.$_overflowIndicator$ ? this.$_activeDescendant$ != $evt$$149_evtTarget$$11$$ && this.$_updateActiveDescendant$($evt$$149_evtTarget$$11$$) : $AdfToolbarUtils$$.$isInOverflow$($childRootElement_clientId$$398$$) ? ($eventSource$$22_focusableElement$$2_overflowFocusableElement$$1$$ = $AdfFocusUtils$$.$getFirstFocusableDescendant$($childRootElement_clientId$$398$$)) && this.$_overflowSupport$.$updateActiveDescendant$($eventSource$$22_focusableElement$$2_overflowFocusableElement$$1$$) : 
    $AdfToolbarUtils$$.$isOnToolbar$($eventSource$$22_focusableElement$$2_overflowFocusableElement$$1$$) && ($eventSource$$22_focusableElement$$2_overflowFocusableElement$$1$$ = $AdfFocusUtils$$.$getFirstFocusableDescendant$($childRootElement_clientId$$398$$)) && $eventSource$$22_focusableElement$$2_overflowFocusableElement$$1$$ != this.$_activeDescendant$ && this.$_updateActiveDescendant$($eventSource$$22_focusableElement$$2_overflowFocusableElement$$1$$);
    $componentEvent$$425$$.cancel()
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlToolbarPeer.prototype.HandleComponentFocus", {$HandleComponentFocus$:$AdfDhtmlToolbarPeer$$.prototype.$HandleComponentFocus$});
$AdfDhtmlToolbarPeer$$.prototype.$SimulateMouseOnDescendant$ = function $$AdfDhtmlToolbarPeer$$$$$SimulateMouseOnDescendant$$($targetComponent$$8$$, $domElement$$498$$, $mouseEvent$$11$$) {
  $AdfDhtmlToolbarPeer$$.$superclass$.$SimulateMouseOnDescendant$.call(this, $targetComponent$$8$$, $domElement$$498$$, $mouseEvent$$11$$);
  this.$_isOverflowSupported$ && this.$_overflowSupport$.$isInOverflow$($domElement$$498$$) && this.$_overflowSupport$.$showOverflowPopup$()
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlToolbarPeer.prototype.SimulateMouseOnDescendant", {$SimulateMouseOnDescendant$:$AdfDhtmlToolbarPeer$$.prototype.$SimulateMouseOnDescendant$});
$AdfDhtmlToolbarPeer$$.prototype.$__preferredSizeChangeNotify$ = function $$AdfDhtmlToolbarPeer$$$$$__preferredSizeChangeNotify$$($component$$1692_parent$$65$$) {
  this.bind($component$$1692_parent$$65$$);
  this.$_minimumWidth$ = this.$_preferredWidth$ = $JSCompiler_alias_NULL$$;
  $component$$1692_parent$$65$$ = this.$getComponentParent$($component$$1692_parent$$65$$);
  var $parentPeer$$15$$ = $component$$1692_parent$$65$$ != $JSCompiler_alias_NULL$$ ? $component$$1692_parent$$65$$.$getPeer$() : $JSCompiler_alias_NULL$$;
  $parentPeer$$15$$ && $parentPeer$$15$$.$__preferredSizeChangeNotify$ && $parentPeer$$15$$.$__preferredSizeChangeNotify$($component$$1692_parent$$65$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlToolbarPeer.prototype.__preferredSizeChangeNotify", {$__preferredSizeChangeNotify$:$AdfDhtmlToolbarPeer$$.prototype.$__preferredSizeChangeNotify$});
$JSCompiler_prototypeAlias$$ = $AdfDhtmlToolbarPeer$$.prototype;
$JSCompiler_prototypeAlias$$.$_unStretch$ = function $$JSCompiler_prototypeAlias$$$$_unStretch$$() {
  var $stretchElement$$2$$ = this.$_getStretchElement$();
  $stretchElement$$2$$ && ($stretchElement$$2$$.parentNode.style.width = "")
};
$JSCompiler_prototypeAlias$$.$_reStretch$ = function $$JSCompiler_prototypeAlias$$$$_reStretch$$() {
  var $stretchElement$$3$$ = this.$_getStretchElement$();
  if($stretchElement$$3$$) {
    if($AdfToolbarUtils$$.$isInOverflow$($stretchElement$$3$$)) {
      $stretchElement$$3$$.parentNode.style.width = "100%"
    }else {
      var $maxWidth$$10$$ = $AdfAgent$$.$AGENT$.getWindowWidth() + "px";
      $stretchElement$$3$$.parentNode.style.width = $maxWidth$$10$$
    }
  }
};
$JSCompiler_prototypeAlias$$.$_createOverflowElement$ = function $$JSCompiler_prototypeAlias$$$$_createOverflowElement$$($element$$288_swapPosition$$1$$) {
  var $stretchCellWidth_stretchElement$$4$$ = this.$_getStretchElement$(), $stretchCellWidth_stretchElement$$4$$ = $element$$288_swapPosition$$1$$ == $stretchCellWidth_stretchElement$$4$$ ? "auto" : "100%", $table$$63$$ = $element$$288_swapPosition$$1$$.ownerDocument.createElement("table");
  $table$$63$$.cellPadding = 0;
  $table$$63$$.cellSpacing = 0;
  $table$$63$$.style.width = "100%";
  $table$$63$$.setAttribute("role", "presentation");
  var $tableRow$$5$$ = $table$$63$$.insertRow(-1), $itemCell$$ = $tableRow$$5$$.insertCell(-1);
  $itemCell$$.setAttribute($AdfToolbarUtils$$.$OVERFLOW_KEY$, "true");
  $itemCell$$.setAttribute("role", "presentation");
  $AdfDomUtils$$.$addCSSClassName$($itemCell$$, $AdfToolbarUtils$$.$OVERFLOW_CELL_STYLE_CLASS$);
  $element$$288_swapPosition$$1$$ = this.$_overflowSupport$.$createSwapPosition$($element$$288_swapPosition$$1$$);
  $itemCell$$.appendChild($element$$288_swapPosition$$1$$);
  $tableRow$$5$$.insertCell(-1).style.width = $stretchCellWidth_stretchElement$$4$$;
  return $table$$63$$
};
$JSCompiler_prototypeAlias$$.$_getStretchElement$ = function $$JSCompiler_prototypeAlias$$$$_getStretchElement$$() {
  var $stretchComponent$$1_toolbar$$ = this.$getComponent$(), $stretchClientId$$1_stretchId$$1$$ = $stretchComponent$$1_toolbar$$.getStretchId();
  if($stretchClientId$$1_stretchId$$1$$) {
    if($stretchComponent$$1_toolbar$$ = $stretchComponent$$1_toolbar$$.$findComponent$($stretchClientId$$1_stretchId$$1$$)) {
      return $stretchClientId$$1_stretchId$$1$$ = $stretchComponent$$1_toolbar$$.$getClientId$(), $AdfAgent$$.$AGENT$.getElementById($stretchClientId$$1_stretchId$$1$$)
    }
    $AdfLogger$$.$LOGGER$.warning("Unable to find client component for stretch id " + $stretchClientId$$1_stretchId$$1$$)
  }
  return $JSCompiler_alias_NULL$$
};
$JSCompiler_prototypeAlias$$.$_handleArrowKeys$ = function $$JSCompiler_prototypeAlias$$$$_handleArrowKeys$$($keyCode$$100$$, $componentEvent$$426$$) {
  var $evt$$150_evt$$inline_4333_evt$$inline_4340_evtTarget$$12_evtTarget$$inline_4334_evtTarget$$inline_4341_nextItem$$inline_4339_previousItem$$inline_4332_toolbarElement$$inline_4331_toolbarElement$$inline_4338$$ = $componentEvent$$426$$.$getNativeEvent$();
  if(!$evt$$150_evt$$inline_4333_evt$$inline_4340_evtTarget$$12_evtTarget$$inline_4334_evtTarget$$inline_4341_nextItem$$inline_4339_previousItem$$inline_4332_toolbarElement$$inline_4331_toolbarElement$$inline_4338$$.ctrlKey && !$evt$$150_evt$$inline_4333_evt$$inline_4340_evtTarget$$12_evtTarget$$inline_4334_evtTarget$$inline_4341_nextItem$$inline_4339_previousItem$$inline_4332_toolbarElement$$inline_4331_toolbarElement$$inline_4338$$.altKey && !$evt$$150_evt$$inline_4333_evt$$inline_4340_evtTarget$$12_evtTarget$$inline_4334_evtTarget$$inline_4341_nextItem$$inline_4339_previousItem$$inline_4332_toolbarElement$$inline_4331_toolbarElement$$inline_4338$$.shiftKey && 
  !$evt$$150_evt$$inline_4333_evt$$inline_4340_evtTarget$$12_evtTarget$$inline_4334_evtTarget$$inline_4341_nextItem$$inline_4339_previousItem$$inline_4332_toolbarElement$$inline_4331_toolbarElement$$inline_4338$$.metaKey) {
    var $evt$$150_evt$$inline_4333_evt$$inline_4340_evtTarget$$12_evtTarget$$inline_4334_evtTarget$$inline_4341_nextItem$$inline_4339_previousItem$$inline_4332_toolbarElement$$inline_4331_toolbarElement$$inline_4338$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($evt$$150_evt$$inline_4333_evt$$inline_4340_evtTarget$$12_evtTarget$$inline_4334_evtTarget$$inline_4341_nextItem$$inline_4339_previousItem$$inline_4332_toolbarElement$$inline_4331_toolbarElement$$inline_4338$$), $childRootElement$$1_clientId$$399$$ = 
    $componentEvent$$426$$.getSource().$getClientId$(), $childRootElement$$1_clientId$$399$$ = $AdfAgent$$.$AGENT$.getElementById($childRootElement$$1_clientId$$399$$);
    $childRootElement$$1_clientId$$399$$ == this.$getDomElement$() && ($childRootElement$$1_clientId$$399$$ = $evt$$150_evt$$inline_4333_evt$$inline_4340_evtTarget$$12_evtTarget$$inline_4334_evtTarget$$inline_4341_nextItem$$inline_4339_previousItem$$inline_4332_toolbarElement$$inline_4331_toolbarElement$$inline_4338$$);
    if($AdfToolbarUtils$$.$isInOverflow$($childRootElement$$1_clientId$$399$$)) {
      if(this.$_isSingleTabstop$) {
        switch($keyCode$$100$$) {
          case $AdfKeyStroke$$.$ARROWUP_KEY$:
          ;
          case $AdfKeyStroke$$.$ARROWLEFT_KEY$:
            this.$_overflowSupport$.$focusPreviousChild$(this.$_overflowContainer$);
            $componentEvent$$426$$.cancel();
            break;
          case $AdfKeyStroke$$.$ARROWDOWN_KEY$:
          ;
          case $AdfKeyStroke$$.$ARROWRIGHT_KEY$:
            this.$_overflowSupport$.$focusNextChild$(this.$_overflowContainer$), $componentEvent$$426$$.cancel()
        }
      }else {
        switch($keyCode$$100$$) {
          case $AdfKeyStroke$$.$ARROWUP_KEY$:
          ;
          case $AdfKeyStroke$$.$ARROWLEFT_KEY$:
            $AdfFocusUtils$$.$focusPreviousTabStop$($evt$$150_evt$$inline_4333_evt$$inline_4340_evtTarget$$12_evtTarget$$inline_4334_evtTarget$$inline_4341_nextItem$$inline_4339_previousItem$$inline_4332_toolbarElement$$inline_4331_toolbarElement$$inline_4338$$, this.$_overflowContainer$);
            $componentEvent$$426$$.cancel();
            break;
          case $AdfKeyStroke$$.$ARROWDOWN_KEY$:
          ;
          case $AdfKeyStroke$$.$ARROWRIGHT_KEY$:
            $AdfFocusUtils$$.$focusNextTabStop$($evt$$150_evt$$inline_4333_evt$$inline_4340_evtTarget$$12_evtTarget$$inline_4334_evtTarget$$inline_4341_nextItem$$inline_4339_previousItem$$inline_4332_toolbarElement$$inline_4331_toolbarElement$$inline_4338$$, this.$_overflowContainer$), $componentEvent$$426$$.cancel()
        }
      }
    }else {
      switch($keyCode$$100$$) {
        case $AdfKeyStroke$$.$ARROWLEFT_KEY$:
          this.$_isSingleTabstop$ && this.$_canMoveFocus$() ? ($evt$$150_evt$$inline_4333_evt$$inline_4340_evtTarget$$12_evtTarget$$inline_4334_evtTarget$$inline_4341_nextItem$$inline_4339_previousItem$$inline_4332_toolbarElement$$inline_4331_toolbarElement$$inline_4338$$ = this.$getDomElement$(), ($evt$$150_evt$$inline_4333_evt$$inline_4340_evtTarget$$12_evtTarget$$inline_4334_evtTarget$$inline_4341_nextItem$$inline_4339_previousItem$$inline_4332_toolbarElement$$inline_4331_toolbarElement$$inline_4338$$ = 
          $AdfFocusUtils$$.$focusPreviousActiveDescendant$($evt$$150_evt$$inline_4333_evt$$inline_4340_evtTarget$$12_evtTarget$$inline_4334_evtTarget$$inline_4341_nextItem$$inline_4339_previousItem$$inline_4332_toolbarElement$$inline_4331_toolbarElement$$inline_4338$$, this.$_activeDescendant$)) ? this.$_activeDescendant$ = $evt$$150_evt$$inline_4333_evt$$inline_4340_evtTarget$$12_evtTarget$$inline_4334_evtTarget$$inline_4341_nextItem$$inline_4339_previousItem$$inline_4332_toolbarElement$$inline_4331_toolbarElement$$inline_4338$$ : 
          $AdfFocusUtils$$.$focusPreviousTabStop$(this.$_activeDescendant$)) : ($evt$$150_evt$$inline_4333_evt$$inline_4340_evtTarget$$12_evtTarget$$inline_4334_evtTarget$$inline_4341_nextItem$$inline_4339_previousItem$$inline_4332_toolbarElement$$inline_4331_toolbarElement$$inline_4338$$ = $componentEvent$$426$$.$getNativeEvent$(), $evt$$150_evt$$inline_4333_evt$$inline_4340_evtTarget$$12_evtTarget$$inline_4334_evtTarget$$inline_4341_nextItem$$inline_4339_previousItem$$inline_4332_toolbarElement$$inline_4331_toolbarElement$$inline_4338$$ = 
          $AdfAgent$$.$AGENT$.$getEventTarget$($evt$$150_evt$$inline_4333_evt$$inline_4340_evtTarget$$12_evtTarget$$inline_4334_evtTarget$$inline_4341_nextItem$$inline_4339_previousItem$$inline_4332_toolbarElement$$inline_4331_toolbarElement$$inline_4338$$), $AdfFocusUtils$$.$focusPreviousTabStop$($evt$$150_evt$$inline_4333_evt$$inline_4340_evtTarget$$12_evtTarget$$inline_4334_evtTarget$$inline_4341_nextItem$$inline_4339_previousItem$$inline_4332_toolbarElement$$inline_4331_toolbarElement$$inline_4338$$));
          $componentEvent$$426$$.cancel();
          break;
        case $AdfKeyStroke$$.$ARROWRIGHT_KEY$:
          this.$_isSingleTabstop$ && this.$_canMoveFocus$() ? ($evt$$150_evt$$inline_4333_evt$$inline_4340_evtTarget$$12_evtTarget$$inline_4334_evtTarget$$inline_4341_nextItem$$inline_4339_previousItem$$inline_4332_toolbarElement$$inline_4331_toolbarElement$$inline_4338$$ = this.$getDomElement$(), ($evt$$150_evt$$inline_4333_evt$$inline_4340_evtTarget$$12_evtTarget$$inline_4334_evtTarget$$inline_4341_nextItem$$inline_4339_previousItem$$inline_4332_toolbarElement$$inline_4331_toolbarElement$$inline_4338$$ = 
          $AdfFocusUtils$$.$focusNextActiveDescendant$($evt$$150_evt$$inline_4333_evt$$inline_4340_evtTarget$$12_evtTarget$$inline_4334_evtTarget$$inline_4341_nextItem$$inline_4339_previousItem$$inline_4332_toolbarElement$$inline_4331_toolbarElement$$inline_4338$$, this.$_activeDescendant$)) ? this.$_activeDescendant$ = $evt$$150_evt$$inline_4333_evt$$inline_4340_evtTarget$$12_evtTarget$$inline_4334_evtTarget$$inline_4341_nextItem$$inline_4339_previousItem$$inline_4332_toolbarElement$$inline_4331_toolbarElement$$inline_4338$$ : 
          $AdfFocusUtils$$.$focusNextTabStop$(this.$_activeDescendant$)) : ($evt$$150_evt$$inline_4333_evt$$inline_4340_evtTarget$$12_evtTarget$$inline_4334_evtTarget$$inline_4341_nextItem$$inline_4339_previousItem$$inline_4332_toolbarElement$$inline_4331_toolbarElement$$inline_4338$$ = $componentEvent$$426$$.$getNativeEvent$(), $evt$$150_evt$$inline_4333_evt$$inline_4340_evtTarget$$12_evtTarget$$inline_4334_evtTarget$$inline_4341_nextItem$$inline_4339_previousItem$$inline_4332_toolbarElement$$inline_4331_toolbarElement$$inline_4338$$ = 
          $AdfAgent$$.$AGENT$.$getEventTarget$($evt$$150_evt$$inline_4333_evt$$inline_4340_evtTarget$$12_evtTarget$$inline_4334_evtTarget$$inline_4341_nextItem$$inline_4339_previousItem$$inline_4332_toolbarElement$$inline_4331_toolbarElement$$inline_4338$$), $AdfFocusUtils$$.$focusNextTabStop$($evt$$150_evt$$inline_4333_evt$$inline_4340_evtTarget$$12_evtTarget$$inline_4334_evtTarget$$inline_4341_nextItem$$inline_4339_previousItem$$inline_4332_toolbarElement$$inline_4331_toolbarElement$$inline_4338$$)), 
          $componentEvent$$426$$.cancel()
      }
    }
  }
};
$JSCompiler_prototypeAlias$$.$_canMoveFocus$ = function $$JSCompiler_prototypeAlias$$$$_canMoveFocus$$() {
  $AdfAssert$$.$assertDomElement$(this.$_activeDescendant$);
  $AdfAssert$$.assert("0" == this.$_activeDescendant$.getAttribute("tabindex"), "The toolbar's active descendant should have tabindex 0");
  this.$_activeDescendant$ || ($AdfLogger$$.$LOGGER$.warning("Toolbar has lost its assigned activeDescendant!"), this.$resetActiveDescendant$());
  return this.$_activeDescendant$ != $JSCompiler_alias_NULL$$
};
$JSCompiler_prototypeAlias$$.$_updateActiveDescendant$ = function $$JSCompiler_prototypeAlias$$$$_updateActiveDescendant$$($newActiveDescendant$$2$$) {
  $AdfAssert$$.$assertDomElement$($newActiveDescendant$$2$$);
  this.$_activeDescendant$ && this.$_activeDescendant$.setAttribute("tabIndex", "-1");
  $newActiveDescendant$$2$$.setAttribute("tabIndex", "0");
  this.$_activeDescendant$ = $newActiveDescendant$$2$$
};
