var $AdfDhtmlCommandMenuItemPeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfRichUIPeer$$, "AdfDhtmlCommandMenuItemPeer");
$goog$exportSymbol$$("AdfDhtmlCommandMenuItemPeer", $AdfDhtmlCommandMenuItemPeer$$);
$AdfDhtmlCommandMenuItemPeer$$.$InitSubclass$ = function $$AdfDhtmlCommandMenuItemPeer$$$$InitSubclass$$() {
  $AdfObject$$.$ensureClassInitialization$(AdfRichCommandMenuItem);
  $AdfObject$$.$ensureClassInitialization$($AdfMenuUtils$$);
  $AdfRichUIPeer$$.$addComponentEventHandlers$(this, $AdfUIInputEvent$$.$MOUSE_DOWN_EVENT_TYPE$, $AdfUIInputEvent$$.$MOUSE_UP_EVENT_TYPE$, $AdfUIInputEvent$$.$CLICK_EVENT_TYPE$, $AdfUIInputEvent$$.$FOCUS_EVENT_TYPE$, $AdfUIInputEvent$$.$BLUR_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_UP_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_DOWN_EVENT_TYPE$);
  $AdfAgent$$.$AGENT$.$isTouchFirstDevice$() && "Windows" != $AdfAgent$$.$guessOS$() || $AdfRichUIPeer$$.$addComponentEventHandlers$(this, $AdfUIInputEvent$$.$MOUSE_IN_EVENT_TYPE$, $AdfUIInputEvent$$.$MOUSE_OUT_EVENT_TYPE$);
  $AdfRichUIPeer$$.$addComponentPropertyChanges$(this, AdfRichCommandMenuItem.DISABLED, AdfRichCommandMenuItem.SELECTED, AdfRichCommandMenuItem.VISIBLE);
  $AdfRichUIPeer$$.$addComponentPropertyGetters$(this, AdfRichCommandMenuItem.TEXT);
  this.$_AFR_GROUPID$ = "_afrGrp";
  this.$_BUSY$ = "_busy";
};
$goog$exportSymbol$$("AdfDhtmlCommandMenuItemPeer.InitSubclass", $AdfDhtmlCommandMenuItemPeer$$.$InitSubclass$);
$AdfDhtmlCommandMenuItemPeer$$.prototype.Init = function $$AdfDhtmlCommandMenuItemPeer$$$$Init$($component$$963$$) {
  $component$$963$$.getParent();
  $AdfDhtmlCommandMenuItemPeer$$.$superclass$.Init.call(this, $component$$963$$);
  this.$_spaceKeyDown$ = this.$_enterKeyDown$ = !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCommandMenuItemPeer.prototype.Init", {Init:$AdfDhtmlCommandMenuItemPeer$$.prototype.Init});
$AdfDhtmlCommandMenuItemPeer$$.prototype.$InitDomElement$ = function $$AdfDhtmlCommandMenuItemPeer$$$$$InitDomElement$$($component$$964$$, $domElement$$138$$) {
  $AdfDhtmlCommandMenuItemPeer$$.$superclass$.$InitDomElement$.call(this, $component$$964$$, $domElement$$138$$);
  var $keystroke$$3$$ = $component$$964$$.getAccelerator();
  null != $keystroke$$3$$ && $AdfRichUIPeer$$.$registerKeyStroke$($component$$964$$, $keystroke$$3$$, this.$_execute$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCommandMenuItemPeer.prototype.InitDomElement", {$InitDomElement$:$AdfDhtmlCommandMenuItemPeer$$.prototype.$InitDomElement$});
$AdfDhtmlCommandMenuItemPeer$$.prototype.$ComponentRemoved$ = function $$AdfDhtmlCommandMenuItemPeer$$$$$ComponentRemoved$$($component$$965$$) {
  var $keystroke$$4$$ = $component$$965$$.getAccelerator();
  null != $keystroke$$4$$ && $AdfRichUIPeer$$.$unregisterKeyStroke$($component$$965$$, $keystroke$$4$$);
  $AdfDhtmlCommandMenuItemPeer$$.$superclass$.$ComponentRemoved$.call(this, $component$$965$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCommandMenuItemPeer.prototype.ComponentRemoved", {$ComponentRemoved$:$AdfDhtmlCommandMenuItemPeer$$.prototype.$ComponentRemoved$});
$AdfDhtmlCommandMenuItemPeer$$.prototype.$GetAccessibleName$ = function $$AdfDhtmlCommandMenuItemPeer$$$$$GetAccessibleName$$() {
  return this.$getComponent$().getText();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCommandMenuItemPeer.prototype.GetAccessibleName", {$GetAccessibleName$:$AdfDhtmlCommandMenuItemPeer$$.prototype.$GetAccessibleName$});
$AdfDhtmlCommandMenuItemPeer$$.prototype.$GetComponentText$ = function $$AdfDhtmlCommandMenuItemPeer$$$$$GetComponentText$$($component$$967$$, $domElement$$139$$) {
  var $parent$$24_text$$26_textElement$$2$$ = $component$$967$$.getParent();
  if ($parent$$24_text$$26_textElement$$2$$ = window.AdfRichMenu && $parent$$24_text$$26_textElement$$2$$ instanceof AdfRichMenu ? $AdfDomUtils$$.$getChildElements$($domElement$$139$$)[1] : $AdfDomUtils$$.$getFirstDescendentElement$($domElement$$139$$, "a")) {
    if ("antonym" == $component$$967$$.getType() && ($parent$$24_text$$26_textElement$$2$$ = $AdfDomUtils$$.$getFirstChildElement$($parent$$24_text$$26_textElement$$2$$)), $parent$$24_text$$26_textElement$$2$$) {
      return $parent$$24_text$$26_textElement$$2$$ = $AdfAgent$$.$AGENT$.$getTextContent$($parent$$24_text$$26_textElement$$2$$), "" == $parent$$24_text$$26_textElement$$2$$ ? null : $parent$$24_text$$26_textElement$$2$$;
    }
  }
  $AdfAssert$$.assert(!1, "Unable to find the element containing the text");
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCommandMenuItemPeer.prototype.GetComponentText", {$GetComponentText$:$AdfDhtmlCommandMenuItemPeer$$.prototype.$GetComponentText$});
$AdfDhtmlCommandMenuItemPeer$$.prototype.$HandleComponentKeyUp$ = function $$AdfDhtmlCommandMenuItemPeer$$$$$HandleComponentKeyUp$$($componentEvent$$158_parent$$25$$) {
  var $component$$968_evt$$92$$ = $componentEvent$$158_parent$$25$$.$getNativeEvent$();
  if (!$component$$968_evt$$92$$.ctrlKey) {
    var $cancelEvent_keyCode$$51$$ = $AdfAgent$$.$AGENT$.$getKeyCode$($component$$968_evt$$92$$), $component$$968_evt$$92$$ = this.$getComponent$(), $isBusy$$11$$ = $component$$968_evt$$92$$.$getProperty$($AdfDhtmlCommandMenuItemPeer$$.$_BUSY$);
    switch($cancelEvent_keyCode$$51$$) {
      case $AdfKeyStroke$$.$ENTER_KEY$:
        this.$_enterKeyDown$ && !$isBusy$$11$$ && this.$_execute$();
        this.$_enterKeyDown$ = !1;
        $cancelEvent_keyCode$$51$$ = !0;
        break;
      case $AdfKeyStroke$$.$SPACE_KEY$:
        this.$_spaceKeyDown$ && !$isBusy$$11$$ && this.$_execute$();
        this.$_spaceKeyDown$ = !1;
        $cancelEvent_keyCode$$51$$ = !0;
        break;
      default:
        return;
    }
    $cancelEvent_keyCode$$51$$ && $componentEvent$$158_parent$$25$$.cancel();
    ($componentEvent$$158_parent$$25$$ = $component$$968_evt$$92$$.getParent()) && $componentEvent$$158_parent$$25$$ instanceof AdfRichMenu && $componentEvent$$158_parent$$25$$.$getPeer$().$updateScrollIconsState$();
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCommandMenuItemPeer.prototype.HandleComponentKeyUp", {$HandleComponentKeyUp$:$AdfDhtmlCommandMenuItemPeer$$.prototype.$HandleComponentKeyUp$});
$AdfDhtmlCommandMenuItemPeer$$.prototype.$HandleComponentKeyDown$ = function $$AdfDhtmlCommandMenuItemPeer$$$$$HandleComponentKeyDown$$($componentEvent$$159$$) {
  if (!$componentEvent$$159$$.$isCanceled$() && !this.$_isDisabled$()) {
    var $keyCode$$52$$ = $componentEvent$$159$$.$getKeyCode$();
    $keyCode$$52$$ == $AdfKeyStroke$$.$ENTER_KEY$ ? (this.$_enterKeyDown$ = !0, $componentEvent$$159$$.cancel(), $componentEvent$$159$$.$stopBubbling$()) : $keyCode$$52$$ == $AdfKeyStroke$$.$SPACE_KEY$ && (this.$_spaceKeyDown$ = !0, $componentEvent$$159$$.cancel(), $componentEvent$$159$$.$stopBubbling$());
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCommandMenuItemPeer.prototype.HandleComponentKeyDown", {$HandleComponentKeyDown$:$AdfDhtmlCommandMenuItemPeer$$.prototype.$HandleComponentKeyDown$});
$AdfDhtmlCommandMenuItemPeer$$.prototype.$HandleComponentFocus$ = function $$AdfDhtmlCommandMenuItemPeer$$$$$HandleComponentFocus$$($componentEvent$$160_rootElement$$42$$) {
  if (!this.$_isDisabled$()) {
    $componentEvent$$160_rootElement$$42$$.cancel();
    $componentEvent$$160_rootElement$$42$$ = this.$getDomElement$();
    $AdfDhtmlMenuPeer$$.$cancelShowing$();
    var $component$$969$$ = this.$getComponent$();
    $AdfMenuUtils$$.$isInMenu$($component$$969$$) ? $AdfDomUtils$$.$addCSSClassName$($componentEvent$$160_rootElement$$42$$, $AdfMenuUtils$$.$HIGHLIGHTED_STYLE_CLASS$) : ($AdfMenuUtils$$.$isMenuBarAutoOpenMode$() && $AdfMenuUtils$$.$closeAllMenus$(!1), $AdfMenuUtils$$.$highlightRootMenuItem$($componentEvent$$160_rootElement$$42$$));
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCommandMenuItemPeer.prototype.HandleComponentFocus", {$HandleComponentFocus$:$AdfDhtmlCommandMenuItemPeer$$.prototype.$HandleComponentFocus$});
$AdfDhtmlCommandMenuItemPeer$$.prototype.$HandleComponentMouseDown$ = function $$AdfDhtmlCommandMenuItemPeer$$$$$HandleComponentMouseDown$$($componentEvent$$161_rootElement$$43$$) {
  !this.$_isDisabled$() && $componentEvent$$161_rootElement$$43$$.$isLeftButtonPressed$() && ($componentEvent$$161_rootElement$$43$$ = this.$getDomElement$(), $AdfDomUtils$$.$addCSSClassName$($componentEvent$$161_rootElement$$43$$, $AdfMenuUtils$$.$DEPRESSED_STYLE_CLASS$));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCommandMenuItemPeer.prototype.HandleComponentMouseDown", {$HandleComponentMouseDown$:$AdfDhtmlCommandMenuItemPeer$$.prototype.$HandleComponentMouseDown$});
$AdfDhtmlCommandMenuItemPeer$$.prototype.$HandleComponentMouseUp$ = function $$AdfDhtmlCommandMenuItemPeer$$$$$HandleComponentMouseUp$$($componentEvent$$162_rootElement$$44$$) {
  !this.$_isDisabled$() && $componentEvent$$162_rootElement$$44$$.$isLeftButtonPressed$() && ($componentEvent$$162_rootElement$$44$$ = this.$getDomElement$(), $AdfDomUtils$$.$removeCSSClassName$($componentEvent$$162_rootElement$$44$$, $AdfMenuUtils$$.$DEPRESSED_STYLE_CLASS$));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCommandMenuItemPeer.prototype.HandleComponentMouseUp", {$HandleComponentMouseUp$:$AdfDhtmlCommandMenuItemPeer$$.prototype.$HandleComponentMouseUp$});
$AdfDhtmlCommandMenuItemPeer$$.prototype.$HandleComponentMouseOver$ = function $$AdfDhtmlCommandMenuItemPeer$$$$$HandleComponentMouseOver$$($componentEvent$$163_rootElement$$45$$) {
  var $component$$970$$ = this.$getComponent$();
  if (this.$_isDisabled$()) {
    $AdfMenuUtils$$.$isMenuBarAutoOpenMode$() && $AdfMenuUtils$$.$isOnMenuBar$($component$$970$$) && $AdfMenuUtils$$.$closeAllMenus$(!1);
  } else {
    $componentEvent$$163_rootElement$$45$$.cancel();
    $componentEvent$$163_rootElement$$45$$ = this.$getDomElement$();
    var $alreadyHaveFocus$$ = $AdfFocusUtils$$.$containsFocus$($componentEvent$$163_rootElement$$45$$);
    $AdfMenuUtils$$.$isInMenu$($component$$970$$) ? ($AdfDomUtils$$.$addCSSClassName$($componentEvent$$163_rootElement$$45$$, $AdfMenuUtils$$.$HIGHLIGHTED_STYLE_CLASS$), $AdfMenuUtils$$.$dismiss$($componentEvent$$163_rootElement$$45$$, !1), $alreadyHaveFocus$$ || this.focus($component$$970$$)) : $AdfMenuUtils$$.$isMenuBarAutoOpenMode$() && !$alreadyHaveFocus$$ ? this.focus($component$$970$$) : $AdfMenuUtils$$.$highlightRootMenuItem$($componentEvent$$163_rootElement$$45$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCommandMenuItemPeer.prototype.HandleComponentMouseOver", {$HandleComponentMouseOver$:$AdfDhtmlCommandMenuItemPeer$$.prototype.$HandleComponentMouseOver$});
$AdfDhtmlCommandMenuItemPeer$$.prototype.$HandleComponentMouseOut$ = function $$AdfDhtmlCommandMenuItemPeer$$$$$HandleComponentMouseOut$$($component$$971_componentEvent$$164_rootElement$$46$$) {
  $component$$971_componentEvent$$164_rootElement$$46$$.cancel();
  $AdfMenuUtils$$.$unhighlightRootMenuItem$();
  this.$_isDisabled$() || ($component$$971_componentEvent$$164_rootElement$$46$$ = this.$getComponent$(), $AdfMenuUtils$$.$isInMenu$($component$$971_componentEvent$$164_rootElement$$46$$) && this.$_deselectElement$(), $component$$971_componentEvent$$164_rootElement$$46$$ = this.$getDomElement$(), $AdfDomUtils$$.$removeCSSClassName$($component$$971_componentEvent$$164_rootElement$$46$$, $AdfMenuUtils$$.$DEPRESSED_STYLE_CLASS$));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCommandMenuItemPeer.prototype.HandleComponentMouseOut", {$HandleComponentMouseOut$:$AdfDhtmlCommandMenuItemPeer$$.prototype.$HandleComponentMouseOut$});
$AdfDhtmlCommandMenuItemPeer$$.prototype.$HandleComponentBlur$ = function $$AdfDhtmlCommandMenuItemPeer$$$$$HandleComponentBlur$$() {
  this.$_deselectElement$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCommandMenuItemPeer.prototype.HandleComponentBlur", {$HandleComponentBlur$:$AdfDhtmlCommandMenuItemPeer$$.prototype.$HandleComponentBlur$});
$AdfDhtmlCommandMenuItemPeer$$.prototype.$HandleComponentClick$ = function $$AdfDhtmlCommandMenuItemPeer$$$$$HandleComponentClick$$($componentEvent$$166$$) {
  var $isBusy$$12$$ = this.$getComponent$().$getProperty$($AdfDhtmlCommandMenuItemPeer$$.$_BUSY$);
  !$componentEvent$$166$$.$isLeftButtonPressed$() || this.$_isDisabled$() || $isBusy$$12$$ || this.$_execute$();
  $componentEvent$$166$$.cancel();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCommandMenuItemPeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlCommandMenuItemPeer$$.prototype.$HandleComponentClick$});
$AdfDhtmlCommandMenuItemPeer$$.prototype.$ComponentDisabledChanged$ = function $$AdfDhtmlCommandMenuItemPeer$$$$$ComponentDisabledChanged$$($component$$973$$, $domElement$$140$$, $newValue$$55$$) {
  $AdfMenuUtils$$.$menuItemDisabledChanged$($component$$973$$, $domElement$$140$$, $newValue$$55$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCommandMenuItemPeer.prototype.ComponentDisabledChanged", {$ComponentDisabledChanged$:$AdfDhtmlCommandMenuItemPeer$$.prototype.$ComponentDisabledChanged$});
$AdfDhtmlCommandMenuItemPeer$$.prototype.$ComponentSelectedChanged$ = function $$AdfDhtmlCommandMenuItemPeer$$$$$ComponentSelectedChanged$$($component$$974$$, $domElement$$141$$, $newValue$$56$$) {
  var $type$$171$$ = $component$$974$$.getType();
  "check" != $type$$171$$ && "radio" != $type$$171$$ || ($AdfMenuUtils$$.$isInMenu$($component$$974$$) ? $domElement$$141$$ : $AdfDomUtils$$.$getFirstChildElement$($domElement$$141$$)).setAttribute("aria-checked", $newValue$$56$$ ? "true" : "false");
  $newValue$$56$$ ? ($AdfDomUtils$$.$addCSSClassName$($domElement$$141$$, $AdfMenuUtils$$.$SELECTED_STYLE_CLASS$), "radio" == $type$$171$$ && this.$_toggleRadioGroupItems$()) : $AdfDomUtils$$.$removeCSSClassName$($domElement$$141$$, $AdfMenuUtils$$.$SELECTED_STYLE_CLASS$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCommandMenuItemPeer.prototype.ComponentSelectedChanged", {$ComponentSelectedChanged$:$AdfDhtmlCommandMenuItemPeer$$.prototype.$ComponentSelectedChanged$});
$AdfDhtmlCommandMenuItemPeer$$.prototype.$ComponentVisibleChanged$ = function $$AdfDhtmlCommandMenuItemPeer$$$$$ComponentVisibleChanged$$($component$$975$$, $domElement$$142$$, $newValue$$57$$, $oldValue$$35$$) {
  $AdfDhtmlCommandMenuItemPeer$$.$superclass$.$ComponentVisibleChanged$.call(this, $component$$975$$, $domElement$$142$$, $newValue$$57$$, $oldValue$$35$$);
  $AdfMenuUtils$$.$menuItemVisibleChanged$($component$$975$$, $domElement$$142$$, $newValue$$57$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCommandMenuItemPeer.prototype.ComponentVisibleChanged", {$ComponentVisibleChanged$:$AdfDhtmlCommandMenuItemPeer$$.prototype.$ComponentVisibleChanged$});
$AdfDhtmlCommandMenuItemPeer$$.prototype.$SetBusy$ = function $$AdfDhtmlCommandMenuItemPeer$$$$$SetBusy$$($isBusy$$13$$) {
  var $component$$976$$ = this.$getComponent$(), $domElement$$143$$ = this.$getDomElement$(), $actionForm$$4_isMultipart$$1$$ = $AdfDomUtils$$.$getFormElement$($domElement$$143$$);
  $actionForm$$4_isMultipart$$1$$ && ($actionForm$$4_isMultipart$$1$$ = $AdfDomUtils$$.$isMultiPartForm$($actionForm$$4_isMultipart$$1$$), $component$$976$$.getDisabled() || $actionForm$$4_isMultipart$$1$$ || $AdfPage$$.$PAGE$.$isAttachmentMode$() || ($AdfDomUtils$$.$addOrRemoveCSSClassName$($isBusy$$13$$, $domElement$$143$$, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$), $component$$976$$.setProperty($AdfDhtmlCommandMenuItemPeer$$.$_BUSY$, $isBusy$$13$$, !1, $AdfUIComponent$$.$PROPAGATE_NEVER$)));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCommandMenuItemPeer.prototype.SetBusy", {$SetBusy$:$AdfDhtmlCommandMenuItemPeer$$.prototype.$SetBusy$});
$AdfDhtmlCommandMenuItemPeer$$.prototype.$__preferredSizeChangeNotify$ = function $$AdfDhtmlCommandMenuItemPeer$$$$$__preferredSizeChangeNotify$$($component$$977_parent$$26$$) {
  this.bind($component$$977_parent$$26$$);
  $component$$977_parent$$26$$ = this.$getComponentParent$($component$$977_parent$$26$$);
  var $parentPeer$$6$$ = null != $component$$977_parent$$26$$ ? $component$$977_parent$$26$$.$getPeer$() : null;
  $parentPeer$$6$$ && $parentPeer$$6$$.$__preferredSizeChangeNotify$ && $parentPeer$$6$$.$__preferredSizeChangeNotify$($component$$977_parent$$26$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCommandMenuItemPeer.prototype.__preferredSizeChangeNotify", {$__preferredSizeChangeNotify$:$AdfDhtmlCommandMenuItemPeer$$.prototype.$__preferredSizeChangeNotify$});
$JSCompiler_prototypeAlias$$ = $AdfDhtmlCommandMenuItemPeer$$.prototype;
$JSCompiler_prototypeAlias$$.$_execute$ = function $$JSCompiler_prototypeAlias$$$$_execute$$() {
  if (!this.$_isDisabled$()) {
    $AdfLogger$$.$LOGGER$.finest("menuBar auto open mode, set to OFF due to commandMenuItem execute");
    $AdfMenuUtils$$.$setMenuBarAutoOpenMode$(!1);
    for (var $component$$978$$ = this.$getComponent$(), $actionEvent$$3_inMenu_parent$$27_targetAttrs_type$$172$$ = $component$$978$$.getParent();$actionEvent$$3_inMenu_parent$$27_targetAttrs_type$$172$$ instanceof AdfRichMenu;) {
      $actionEvent$$3_inMenu_parent$$27_targetAttrs_type$$172$$ = $actionEvent$$3_inMenu_parent$$27_targetAttrs_type$$172$$.getParent();
    }
    $actionEvent$$3_inMenu_parent$$27_targetAttrs_type$$172$$ instanceof AdfRichPopup ? ($AdfMenuUtils$$.$closeAllMenus$(!1), $actionEvent$$3_inMenu_parent$$27_targetAttrs_type$$172$$.$getPeer$().$hide$($actionEvent$$3_inMenu_parent$$27_targetAttrs_type$$172$$)) : ($actionEvent$$3_inMenu_parent$$27_targetAttrs_type$$172$$ = $AdfMenuUtils$$.$isInMenu$($component$$978$$), $AdfMenuUtils$$.$closeAllMenus$($actionEvent$$3_inMenu_parent$$27_targetAttrs_type$$172$$ && !$AdfMenuUtils$$.$isInDetachedMenu$($component$$978$$)));
    $actionEvent$$3_inMenu_parent$$27_targetAttrs_type$$172$$ = $AdfMenuUtils$$.$getContextMenuItemTargetAttrs$($component$$978$$);
    null != $actionEvent$$3_inMenu_parent$$27_targetAttrs_type$$172$$ && $AdfMenuUtils$$.$setContextMenuItemTargetAttrs$($component$$978$$, $actionEvent$$3_inMenu_parent$$27_targetAttrs_type$$172$$);
    $actionEvent$$3_inMenu_parent$$27_targetAttrs_type$$172$$ = new $AdfActionEvent$$($component$$978$$);
    $actionEvent$$3_inMenu_parent$$27_targetAttrs_type$$172$$.$queue$($component$$978$$.getPartialSubmit());
    $actionEvent$$3_inMenu_parent$$27_targetAttrs_type$$172$$.$isCanceled$() || ($actionEvent$$3_inMenu_parent$$27_targetAttrs_type$$172$$ = $component$$978$$.getType(), "check" == $actionEvent$$3_inMenu_parent$$27_targetAttrs_type$$172$$ || "antonym" == $actionEvent$$3_inMenu_parent$$27_targetAttrs_type$$172$$ ? $component$$978$$.setSelected(!$component$$978$$.getSelected()) : "radio" == $actionEvent$$3_inMenu_parent$$27_targetAttrs_type$$172$$ && this.$_toggleRadioGroupItems$());
  }
};
$JSCompiler_prototypeAlias$$.$_toggleRadioGroupItems$ = function $$JSCompiler_prototypeAlias$$$$_toggleRadioGroupItems$$() {
  var $component$$979$$ = this.$getComponent$(), $currentGroupId$$1_domElement$$144$$ = this.$getDomElement$(), $currentGroupId$$1_domElement$$144$$ = this.$_getGroupId$($currentGroupId$$1_domElement$$144$$);
  if (null == $currentGroupId$$1_domElement$$144$$) {
    $AdfLogger$$.$LOGGER$.warning("Unexpected to have commandMenuItem without a group Id."), $component$$979$$.setSelected(!$component$$979$$.getSelected());
  } else {
    if ($AdfMenuUtils$$.$isInMenu$($component$$979$$)) {
      for (var $component$$inline_1823_component$$inline_1833$$ = this.$getComponent$(), $menuBar$$inline_1834_menuBarItems$$inline_1835_menuItems$$inline_1824$$ = this.$getDomElement$().parentNode.childNodes, $i$$inline_1825_i$$inline_1836$$ = 0;$i$$inline_1825_i$$inline_1836$$ < $menuBar$$inline_1834_menuBarItems$$inline_1835_menuItems$$inline_1824$$.length;$i$$inline_1825_i$$inline_1836$$++) {
        var $id$$inline_1828_menuBarItem$$inline_1837_menuItem$$inline_1826_sibling$$inline_1829$$ = $menuBar$$inline_1834_menuBarItems$$inline_1835_menuItems$$inline_1824$$[$i$$inline_1825_i$$inline_1836$$], $groupId$$inline_1827_groupId$$inline_1840_menuItemElement$$inline_1839_menuItemPeer$$inline_1838$$ = this.$_getGroupId$($id$$inline_1828_menuBarItem$$inline_1837_menuItem$$inline_1826_sibling$$inline_1829$$);
        $currentGroupId$$1_domElement$$144$$ == $groupId$$inline_1827_groupId$$inline_1840_menuItemElement$$inline_1839_menuItemPeer$$inline_1838$$ && ($id$$inline_1828_menuBarItem$$inline_1837_menuItem$$inline_1826_sibling$$inline_1829$$ = $id$$inline_1828_menuBarItem$$inline_1837_menuItem$$inline_1826_sibling$$inline_1829$$.id) && ($id$$inline_1828_menuBarItem$$inline_1837_menuItem$$inline_1826_sibling$$inline_1829$$ = $AdfPage$$.$PAGE$.$findComponent$($id$$inline_1828_menuBarItem$$inline_1837_menuItem$$inline_1826_sibling$$inline_1829$$), 
        $id$$inline_1828_menuBarItem$$inline_1837_menuItem$$inline_1826_sibling$$inline_1829$$ != $component$$inline_1823_component$$inline_1833$$ && $id$$inline_1828_menuBarItem$$inline_1837_menuItem$$inline_1826_sibling$$inline_1829$$.getType && "radio" == $id$$inline_1828_menuBarItem$$inline_1837_menuItem$$inline_1826_sibling$$inline_1829$$.getType() && $id$$inline_1828_menuBarItem$$inline_1837_menuItem$$inline_1826_sibling$$inline_1829$$.setSelected(!1));
      }
    } else {
      if ($AdfMenuUtils$$.$isOnMenuBar$($component$$979$$)) {
        for ($component$$inline_1823_component$$inline_1833$$ = this.$getComponent$(), $menuBar$$inline_1834_menuBarItems$$inline_1835_menuItems$$inline_1824$$ = $component$$inline_1823_component$$inline_1833$$.getParent(), $menuBar$$inline_1834_menuBarItems$$inline_1835_menuItems$$inline_1824$$ = $menuBar$$inline_1834_menuBarItems$$inline_1835_menuItems$$inline_1824$$.$getPeer$().$getDescendantComponents$($menuBar$$inline_1834_menuBarItems$$inline_1835_menuItems$$inline_1824$$), $i$$inline_1825_i$$inline_1836$$ = 
        0;$i$$inline_1825_i$$inline_1836$$ < $menuBar$$inline_1834_menuBarItems$$inline_1835_menuItems$$inline_1824$$.length;$i$$inline_1825_i$$inline_1836$$++) {
          $id$$inline_1828_menuBarItem$$inline_1837_menuItem$$inline_1826_sibling$$inline_1829$$ = $menuBar$$inline_1834_menuBarItems$$inline_1835_menuItems$$inline_1824$$[$i$$inline_1825_i$$inline_1836$$], $groupId$$inline_1827_groupId$$inline_1840_menuItemElement$$inline_1839_menuItemPeer$$inline_1838$$ = $id$$inline_1828_menuBarItem$$inline_1837_menuItem$$inline_1826_sibling$$inline_1829$$.$getPeer$(), null != $groupId$$inline_1827_groupId$$inline_1840_menuItemElement$$inline_1839_menuItemPeer$$inline_1838$$ && 
          ($groupId$$inline_1827_groupId$$inline_1840_menuItemElement$$inline_1839_menuItemPeer$$inline_1838$$ = $groupId$$inline_1827_groupId$$inline_1840_menuItemElement$$inline_1839_menuItemPeer$$inline_1838$$.$getDomElement$(), $groupId$$inline_1827_groupId$$inline_1840_menuItemElement$$inline_1839_menuItemPeer$$inline_1838$$ = this.$_getGroupId$($groupId$$inline_1827_groupId$$inline_1840_menuItemElement$$inline_1839_menuItemPeer$$inline_1838$$), $currentGroupId$$1_domElement$$144$$ == $groupId$$inline_1827_groupId$$inline_1840_menuItemElement$$inline_1839_menuItemPeer$$inline_1838$$ && 
          $id$$inline_1828_menuBarItem$$inline_1837_menuItem$$inline_1826_sibling$$inline_1829$$ != $component$$inline_1823_component$$inline_1833$$ && $id$$inline_1828_menuBarItem$$inline_1837_menuItem$$inline_1826_sibling$$inline_1829$$.getType && "radio" == $id$$inline_1828_menuBarItem$$inline_1837_menuItem$$inline_1826_sibling$$inline_1829$$.getType() && $id$$inline_1828_menuBarItem$$inline_1837_menuItem$$inline_1826_sibling$$inline_1829$$.setSelected(!1));
        }
      }
    }
    $component$$979$$.setSelected(!0);
  }
};
$JSCompiler_prototypeAlias$$.$_getGroupId$ = function $$JSCompiler_prototypeAlias$$$$_getGroupId$$($domElement$$146$$) {
  return $domElement$$146$$.getAttribute ? $domElement$$146$$.getAttribute($AdfDhtmlCommandMenuItemPeer$$.$_AFR_GROUPID$) : null;
};
$JSCompiler_prototypeAlias$$.$_deselectElement$ = function $$JSCompiler_prototypeAlias$$$$_deselectElement$$() {
  var $rootElement$$47$$ = this.$getDomElement$();
  $AdfDomUtils$$.$removeCSSClassName$($rootElement$$47$$, $AdfMenuUtils$$.$HIGHLIGHTED_STYLE_CLASS$);
};
$JSCompiler_prototypeAlias$$.$_isDisabled$ = function $$JSCompiler_prototypeAlias$$$$_isDisabled$$() {
  var $rootElement$$48$$ = this.$getDomElement$();
  return $rootElement$$48$$.disabled || $AdfDomUtils$$.$containsCSSClassName$($rootElement$$48$$, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$);
};
