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$$962$$) {
  $component$$962$$.getParent();
  $AdfDhtmlCommandMenuItemPeer$$.$superclass$.Init.call(this, $component$$962$$);
  this.$_spaceKeyDown$ = this.$_enterKeyDown$ = !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCommandMenuItemPeer.prototype.Init", {Init:$AdfDhtmlCommandMenuItemPeer$$.prototype.Init});
$AdfDhtmlCommandMenuItemPeer$$.prototype.$InitDomElement$ = function $$AdfDhtmlCommandMenuItemPeer$$$$$InitDomElement$$($component$$963$$, $domElement$$138$$) {
  $AdfDhtmlCommandMenuItemPeer$$.$superclass$.$InitDomElement$.call(this, $component$$963$$, $domElement$$138$$);
  var $keystroke$$3$$ = $component$$963$$.getAccelerator();
  null != $keystroke$$3$$ && $AdfRichUIPeer$$.$registerKeyStroke$($component$$963$$, $keystroke$$3$$, this.$_execute$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCommandMenuItemPeer.prototype.InitDomElement", {$InitDomElement$:$AdfDhtmlCommandMenuItemPeer$$.prototype.$InitDomElement$});
$AdfDhtmlCommandMenuItemPeer$$.prototype.$ComponentRemoved$ = function $$AdfDhtmlCommandMenuItemPeer$$$$$ComponentRemoved$$($component$$964$$) {
  var $keystroke$$4$$ = $component$$964$$.getAccelerator();
  null != $keystroke$$4$$ && $AdfRichUIPeer$$.$unregisterKeyStroke$($component$$964$$, $keystroke$$4$$);
  $AdfDhtmlCommandMenuItemPeer$$.$superclass$.$ComponentRemoved$.call(this, $component$$964$$);
};
$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$$966$$, $domElement$$139$$) {
  var $parent$$24_text$$26_textElement$$2$$ = $component$$966$$.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$$966$$.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$$156_parent$$25$$) {
  var $component$$967_evt$$92$$ = $componentEvent$$156_parent$$25$$.$getNativeEvent$();
  if (!$component$$967_evt$$92$$.ctrlKey) {
    var $cancelEvent_keyCode$$51$$ = $AdfAgent$$.$AGENT$.$getKeyCode$($component$$967_evt$$92$$), $component$$967_evt$$92$$ = this.$getComponent$(), $isBusy$$11$$ = $component$$967_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$$156_parent$$25$$.cancel();
    ($componentEvent$$156_parent$$25$$ = $component$$967_evt$$92$$.getParent()) && $componentEvent$$156_parent$$25$$ instanceof AdfRichMenu && $componentEvent$$156_parent$$25$$.$getPeer$().$updateScrollIconsState$();
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCommandMenuItemPeer.prototype.HandleComponentKeyUp", {$HandleComponentKeyUp$:$AdfDhtmlCommandMenuItemPeer$$.prototype.$HandleComponentKeyUp$});
$AdfDhtmlCommandMenuItemPeer$$.prototype.$HandleComponentKeyDown$ = function $$AdfDhtmlCommandMenuItemPeer$$$$$HandleComponentKeyDown$$($componentEvent$$157$$) {
  if (!$componentEvent$$157$$.$isCanceled$() && !this.$_isDisabled$()) {
    var $keyCode$$52$$ = $componentEvent$$157$$.$getKeyCode$();
    $keyCode$$52$$ == $AdfKeyStroke$$.$ENTER_KEY$ ? (this.$_enterKeyDown$ = !0, $componentEvent$$157$$.cancel(), $componentEvent$$157$$.$stopBubbling$()) : $keyCode$$52$$ == $AdfKeyStroke$$.$SPACE_KEY$ && (this.$_spaceKeyDown$ = !0, $componentEvent$$157$$.cancel(), $componentEvent$$157$$.$stopBubbling$());
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCommandMenuItemPeer.prototype.HandleComponentKeyDown", {$HandleComponentKeyDown$:$AdfDhtmlCommandMenuItemPeer$$.prototype.$HandleComponentKeyDown$});
$AdfDhtmlCommandMenuItemPeer$$.prototype.$HandleComponentFocus$ = function $$AdfDhtmlCommandMenuItemPeer$$$$$HandleComponentFocus$$($componentEvent$$158_rootElement$$42$$) {
  if (!this.$_isDisabled$()) {
    $componentEvent$$158_rootElement$$42$$.cancel();
    $componentEvent$$158_rootElement$$42$$ = this.$getDomElement$();
    $AdfDhtmlMenuPeer$$.$cancelShowing$();
    var $component$$968$$ = this.$getComponent$();
    $AdfMenuUtils$$.$isInMenu$($component$$968$$) ? $AdfDomUtils$$.$addCSSClassName$($componentEvent$$158_rootElement$$42$$, $AdfMenuUtils$$.$HIGHLIGHTED_STYLE_CLASS$) : ($AdfMenuUtils$$.$isMenuBarAutoOpenMode$() && $AdfMenuUtils$$.$closeAllMenus$(!1), $AdfMenuUtils$$.$highlightRootMenuItem$($componentEvent$$158_rootElement$$42$$));
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCommandMenuItemPeer.prototype.HandleComponentFocus", {$HandleComponentFocus$:$AdfDhtmlCommandMenuItemPeer$$.prototype.$HandleComponentFocus$});
$AdfDhtmlCommandMenuItemPeer$$.prototype.$HandleComponentMouseDown$ = function $$AdfDhtmlCommandMenuItemPeer$$$$$HandleComponentMouseDown$$($componentEvent$$159_rootElement$$43$$) {
  !this.$_isDisabled$() && $componentEvent$$159_rootElement$$43$$.$isLeftButtonPressed$() && ($componentEvent$$159_rootElement$$43$$ = this.$getDomElement$(), $AdfDomUtils$$.$addCSSClassName$($componentEvent$$159_rootElement$$43$$, $AdfMenuUtils$$.$DEPRESSED_STYLE_CLASS$));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCommandMenuItemPeer.prototype.HandleComponentMouseDown", {$HandleComponentMouseDown$:$AdfDhtmlCommandMenuItemPeer$$.prototype.$HandleComponentMouseDown$});
$AdfDhtmlCommandMenuItemPeer$$.prototype.$HandleComponentMouseUp$ = function $$AdfDhtmlCommandMenuItemPeer$$$$$HandleComponentMouseUp$$($componentEvent$$160_rootElement$$44$$) {
  !this.$_isDisabled$() && $componentEvent$$160_rootElement$$44$$.$isLeftButtonPressed$() && ($componentEvent$$160_rootElement$$44$$ = this.$getDomElement$(), $AdfDomUtils$$.$removeCSSClassName$($componentEvent$$160_rootElement$$44$$, $AdfMenuUtils$$.$DEPRESSED_STYLE_CLASS$));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCommandMenuItemPeer.prototype.HandleComponentMouseUp", {$HandleComponentMouseUp$:$AdfDhtmlCommandMenuItemPeer$$.prototype.$HandleComponentMouseUp$});
$AdfDhtmlCommandMenuItemPeer$$.prototype.$HandleComponentMouseOver$ = function $$AdfDhtmlCommandMenuItemPeer$$$$$HandleComponentMouseOver$$($componentEvent$$161_rootElement$$45$$) {
  var $component$$969$$ = this.$getComponent$();
  if (this.$_isDisabled$()) {
    $AdfMenuUtils$$.$isMenuBarAutoOpenMode$() && $AdfMenuUtils$$.$isOnMenuBar$($component$$969$$) && $AdfMenuUtils$$.$closeAllMenus$(!1);
  } else {
    $componentEvent$$161_rootElement$$45$$.cancel();
    $componentEvent$$161_rootElement$$45$$ = this.$getDomElement$();
    var $alreadyHaveFocus$$ = $AdfFocusUtils$$.$containsFocus$($componentEvent$$161_rootElement$$45$$);
    $AdfMenuUtils$$.$isInMenu$($component$$969$$) ? ($AdfDomUtils$$.$addCSSClassName$($componentEvent$$161_rootElement$$45$$, $AdfMenuUtils$$.$HIGHLIGHTED_STYLE_CLASS$), $AdfMenuUtils$$.$dismiss$($componentEvent$$161_rootElement$$45$$, !1), $alreadyHaveFocus$$ || this.focus($component$$969$$)) : $AdfMenuUtils$$.$isMenuBarAutoOpenMode$() && !$alreadyHaveFocus$$ ? this.focus($component$$969$$) : $AdfMenuUtils$$.$highlightRootMenuItem$($componentEvent$$161_rootElement$$45$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCommandMenuItemPeer.prototype.HandleComponentMouseOver", {$HandleComponentMouseOver$:$AdfDhtmlCommandMenuItemPeer$$.prototype.$HandleComponentMouseOver$});
$AdfDhtmlCommandMenuItemPeer$$.prototype.$HandleComponentMouseOut$ = function $$AdfDhtmlCommandMenuItemPeer$$$$$HandleComponentMouseOut$$($component$$970_componentEvent$$162_rootElement$$46$$) {
  $component$$970_componentEvent$$162_rootElement$$46$$.cancel();
  $AdfMenuUtils$$.$unhighlightRootMenuItem$();
  this.$_isDisabled$() || ($component$$970_componentEvent$$162_rootElement$$46$$ = this.$getComponent$(), $AdfMenuUtils$$.$isInMenu$($component$$970_componentEvent$$162_rootElement$$46$$) && this.$_deselectElement$(), $component$$970_componentEvent$$162_rootElement$$46$$ = this.$getDomElement$(), $AdfDomUtils$$.$removeCSSClassName$($component$$970_componentEvent$$162_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$$164$$) {
  var $isBusy$$12$$ = this.$getComponent$().$getProperty$($AdfDhtmlCommandMenuItemPeer$$.$_BUSY$);
  !$componentEvent$$164$$.$isLeftButtonPressed$() || this.$_isDisabled$() || $isBusy$$12$$ || this.$_execute$();
  $componentEvent$$164$$.cancel();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCommandMenuItemPeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlCommandMenuItemPeer$$.prototype.$HandleComponentClick$});
$AdfDhtmlCommandMenuItemPeer$$.prototype.$ComponentDisabledChanged$ = function $$AdfDhtmlCommandMenuItemPeer$$$$$ComponentDisabledChanged$$($component$$972$$, $domElement$$140$$, $newValue$$55$$) {
  $AdfMenuUtils$$.$menuItemDisabledChanged$($component$$972$$, $domElement$$140$$, $newValue$$55$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCommandMenuItemPeer.prototype.ComponentDisabledChanged", {$ComponentDisabledChanged$:$AdfDhtmlCommandMenuItemPeer$$.prototype.$ComponentDisabledChanged$});
$AdfDhtmlCommandMenuItemPeer$$.prototype.$ComponentSelectedChanged$ = function $$AdfDhtmlCommandMenuItemPeer$$$$$ComponentSelectedChanged$$($component$$973$$, $domElement$$141$$, $newValue$$56$$) {
  var $type$$171$$ = $component$$973$$.getType();
  "check" != $type$$171$$ && "radio" != $type$$171$$ || ($AdfMenuUtils$$.$isInMenu$($component$$973$$) ? $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$$974$$, $domElement$$142$$, $newValue$$57$$, $oldValue$$35$$) {
  $AdfDhtmlCommandMenuItemPeer$$.$superclass$.$ComponentVisibleChanged$.call(this, $component$$974$$, $domElement$$142$$, $newValue$$57$$, $oldValue$$35$$);
  $AdfMenuUtils$$.$menuItemVisibleChanged$($component$$974$$, $domElement$$142$$, $newValue$$57$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCommandMenuItemPeer.prototype.ComponentVisibleChanged", {$ComponentVisibleChanged$:$AdfDhtmlCommandMenuItemPeer$$.prototype.$ComponentVisibleChanged$});
$AdfDhtmlCommandMenuItemPeer$$.prototype.$SetBusy$ = function $$AdfDhtmlCommandMenuItemPeer$$$$$SetBusy$$($isBusy$$13$$) {
  var $component$$975$$ = 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$$975$$.getDisabled() || $actionForm$$4_isMultipart$$1$$ || $AdfPage$$.$PAGE$.$isAttachmentMode$() || ($AdfDomUtils$$.$addOrRemoveCSSClassName$($isBusy$$13$$, $domElement$$143$$, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$), $component$$975$$.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$$976_parent$$26$$) {
  this.bind($component$$976_parent$$26$$);
  $component$$976_parent$$26$$ = this.$getComponentParent$($component$$976_parent$$26$$);
  var $parentPeer$$6$$ = null != $component$$976_parent$$26$$ ? $component$$976_parent$$26$$.$getPeer$() : null;
  $parentPeer$$6$$ && $parentPeer$$6$$.$__preferredSizeChangeNotify$ && $parentPeer$$6$$.$__preferredSizeChangeNotify$($component$$976_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$$977$$ = this.$getComponent$(), $actionEvent$$3_inMenu_parent$$27_targetAttrs_type$$172$$ = $component$$977$$.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$$977$$), $AdfMenuUtils$$.$closeAllMenus$($actionEvent$$3_inMenu_parent$$27_targetAttrs_type$$172$$ && !$AdfMenuUtils$$.$isInDetachedMenu$($component$$977$$)));
    $actionEvent$$3_inMenu_parent$$27_targetAttrs_type$$172$$ = $AdfMenuUtils$$.$getContextMenuItemTargetAttrs$($component$$977$$);
    null != $actionEvent$$3_inMenu_parent$$27_targetAttrs_type$$172$$ && $AdfMenuUtils$$.$setContextMenuItemTargetAttrs$($component$$977$$, $actionEvent$$3_inMenu_parent$$27_targetAttrs_type$$172$$);
    $actionEvent$$3_inMenu_parent$$27_targetAttrs_type$$172$$ = new $AdfActionEvent$$($component$$977$$);
    $actionEvent$$3_inMenu_parent$$27_targetAttrs_type$$172$$.$queue$($component$$977$$.getPartialSubmit());
    $actionEvent$$3_inMenu_parent$$27_targetAttrs_type$$172$$.$isCanceled$() || ($actionEvent$$3_inMenu_parent$$27_targetAttrs_type$$172$$ = $component$$977$$.getType(), "check" == $actionEvent$$3_inMenu_parent$$27_targetAttrs_type$$172$$ || "antonym" == $actionEvent$$3_inMenu_parent$$27_targetAttrs_type$$172$$ ? $component$$977$$.setSelected(!$component$$977$$.getSelected()) : "radio" == $actionEvent$$3_inMenu_parent$$27_targetAttrs_type$$172$$ && this.$_toggleRadioGroupItems$());
  }
};
$JSCompiler_prototypeAlias$$.$_toggleRadioGroupItems$ = function $$JSCompiler_prototypeAlias$$$$_toggleRadioGroupItems$$() {
  var $component$$978$$ = 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$$978$$.setSelected(!$component$$978$$.getSelected());
  } else {
    if ($AdfMenuUtils$$.$isInMenu$($component$$978$$)) {
      for (var $component$$inline_1818_component$$inline_1828$$ = this.$getComponent$(), $menuBar$$inline_1829_menuBarItems$$inline_1830_menuItems$$inline_1819$$ = this.$getDomElement$().parentNode.childNodes, $i$$inline_1820_i$$inline_1831$$ = 0;$i$$inline_1820_i$$inline_1831$$ < $menuBar$$inline_1829_menuBarItems$$inline_1830_menuItems$$inline_1819$$.length;$i$$inline_1820_i$$inline_1831$$++) {
        var $id$$inline_1823_menuBarItem$$inline_1832_menuItem$$inline_1821_sibling$$inline_1824$$ = $menuBar$$inline_1829_menuBarItems$$inline_1830_menuItems$$inline_1819$$[$i$$inline_1820_i$$inline_1831$$], $groupId$$inline_1822_groupId$$inline_1835_menuItemElement$$inline_1834_menuItemPeer$$inline_1833$$ = this.$_getGroupId$($id$$inline_1823_menuBarItem$$inline_1832_menuItem$$inline_1821_sibling$$inline_1824$$);
        $currentGroupId$$1_domElement$$144$$ == $groupId$$inline_1822_groupId$$inline_1835_menuItemElement$$inline_1834_menuItemPeer$$inline_1833$$ && ($id$$inline_1823_menuBarItem$$inline_1832_menuItem$$inline_1821_sibling$$inline_1824$$ = $id$$inline_1823_menuBarItem$$inline_1832_menuItem$$inline_1821_sibling$$inline_1824$$.id) && ($id$$inline_1823_menuBarItem$$inline_1832_menuItem$$inline_1821_sibling$$inline_1824$$ = $AdfPage$$.$PAGE$.$findComponent$($id$$inline_1823_menuBarItem$$inline_1832_menuItem$$inline_1821_sibling$$inline_1824$$), 
        $id$$inline_1823_menuBarItem$$inline_1832_menuItem$$inline_1821_sibling$$inline_1824$$ != $component$$inline_1818_component$$inline_1828$$ && $id$$inline_1823_menuBarItem$$inline_1832_menuItem$$inline_1821_sibling$$inline_1824$$.getType && "radio" == $id$$inline_1823_menuBarItem$$inline_1832_menuItem$$inline_1821_sibling$$inline_1824$$.getType() && $id$$inline_1823_menuBarItem$$inline_1832_menuItem$$inline_1821_sibling$$inline_1824$$.setSelected(!1));
      }
    } else {
      if ($AdfMenuUtils$$.$isOnMenuBar$($component$$978$$)) {
        for ($component$$inline_1818_component$$inline_1828$$ = this.$getComponent$(), $menuBar$$inline_1829_menuBarItems$$inline_1830_menuItems$$inline_1819$$ = $component$$inline_1818_component$$inline_1828$$.getParent(), $menuBar$$inline_1829_menuBarItems$$inline_1830_menuItems$$inline_1819$$ = $menuBar$$inline_1829_menuBarItems$$inline_1830_menuItems$$inline_1819$$.$getPeer$().$getDescendantComponents$($menuBar$$inline_1829_menuBarItems$$inline_1830_menuItems$$inline_1819$$), $i$$inline_1820_i$$inline_1831$$ = 
        0;$i$$inline_1820_i$$inline_1831$$ < $menuBar$$inline_1829_menuBarItems$$inline_1830_menuItems$$inline_1819$$.length;$i$$inline_1820_i$$inline_1831$$++) {
          $id$$inline_1823_menuBarItem$$inline_1832_menuItem$$inline_1821_sibling$$inline_1824$$ = $menuBar$$inline_1829_menuBarItems$$inline_1830_menuItems$$inline_1819$$[$i$$inline_1820_i$$inline_1831$$], $groupId$$inline_1822_groupId$$inline_1835_menuItemElement$$inline_1834_menuItemPeer$$inline_1833$$ = $id$$inline_1823_menuBarItem$$inline_1832_menuItem$$inline_1821_sibling$$inline_1824$$.$getPeer$(), null != $groupId$$inline_1822_groupId$$inline_1835_menuItemElement$$inline_1834_menuItemPeer$$inline_1833$$ && 
          ($groupId$$inline_1822_groupId$$inline_1835_menuItemElement$$inline_1834_menuItemPeer$$inline_1833$$ = $groupId$$inline_1822_groupId$$inline_1835_menuItemElement$$inline_1834_menuItemPeer$$inline_1833$$.$getDomElement$(), $groupId$$inline_1822_groupId$$inline_1835_menuItemElement$$inline_1834_menuItemPeer$$inline_1833$$ = this.$_getGroupId$($groupId$$inline_1822_groupId$$inline_1835_menuItemElement$$inline_1834_menuItemPeer$$inline_1833$$), $currentGroupId$$1_domElement$$144$$ == $groupId$$inline_1822_groupId$$inline_1835_menuItemElement$$inline_1834_menuItemPeer$$inline_1833$$ && 
          $id$$inline_1823_menuBarItem$$inline_1832_menuItem$$inline_1821_sibling$$inline_1824$$ != $component$$inline_1818_component$$inline_1828$$ && $id$$inline_1823_menuBarItem$$inline_1832_menuItem$$inline_1821_sibling$$inline_1824$$.getType && "radio" == $id$$inline_1823_menuBarItem$$inline_1832_menuItem$$inline_1821_sibling$$inline_1824$$.getType() && $id$$inline_1823_menuBarItem$$inline_1832_menuItem$$inline_1821_sibling$$inline_1824$$.setSelected(!1));
        }
      }
    }
    $component$$978$$.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$);
};
