var $AdfFocusUtils$$ = {};
$goog$exportSymbol$$("AdfFocusUtils", $AdfFocusUtils$$);
$AdfFocusUtils$$.$containsFocus$ = function $$AdfFocusUtils$$$$containsFocus$$($element$$317$$) {
  for(var $focusElement$$5$$ = $AdfPage$$.$PAGE$.$_activeDomNode$;$focusElement$$5$$ != $JSCompiler_alias_NULL$$;) {
    if($focusElement$$5$$ == $element$$317$$) {
      return $JSCompiler_alias_TRUE$$
    }
    $focusElement$$5$$ = $focusElement$$5$$.parentNode
  }
  return $JSCompiler_alias_FALSE$$
};
$goog$exportSymbol$$("AdfFocusUtils.containsFocus", $AdfFocusUtils$$.$containsFocus$);
$AdfFocusUtils$$.$focusElement$ = function $$AdfFocusUtils$$$$focusElement$$($element$$318$$) {
  $AdfAssert$$.$assertDomElement$($element$$318$$);
  $AdfPopupScopingUtils$$.scope($element$$318$$);
  $AdfFocusUtils$$.$_focusElementImpl$($element$$318$$)
};
$AdfFocusUtils$$.focusElement = $AdfFocusUtils$$.$focusElement$;
$goog$exportSymbol$$("AdfFocusUtils.focusElement", $AdfFocusUtils$$.$focusElement$);
$AdfFocusUtils$$.$isFocusChangePending$ = function $$AdfFocusUtils$$$$isFocusChangePending$$() {
  return $AdfFocusUtils$$.$_delayFocusTimerId$ != $JSCompiler_alias_NULL$$
};
$goog$exportSymbol$$("AdfFocusUtils.isFocusChangePending", $AdfFocusUtils$$.$isFocusChangePending$);
$AdfFocusUtils$$.$focusFirstDocumentTabStop$ = function $$AdfFocusUtils$$$$focusFirstDocumentTabStop$$() {
  var $focusElement$$6$$ = $AdfFocusUtils$$.$getFirstTabStop$($AdfPage$$.$PAGE$.$_document$.body, $JSCompiler_alias_TRUE$$);
  $focusElement$$6$$ != $JSCompiler_alias_NULL$$ && 0 > $focusElement$$6$$.offsetTop && ($focusElement$$6$$ = $AdfFocusUtils$$.$getNextTabStop$($focusElement$$6$$));
  $focusElement$$6$$ != $JSCompiler_alias_NULL$$ && $AdfFocusUtils$$.$focusElement$($focusElement$$6$$);
  return $focusElement$$6$$
};
$goog$exportSymbol$$("AdfFocusUtils.focusFirstDocumentTabStop", $AdfFocusUtils$$.$focusFirstDocumentTabStop$);
$AdfFocusUtils$$.$focusFirstTabStop$ = function $$AdfFocusUtils$$$$focusFirstTabStop$$($element$$319$$, $isExclusive$$6$$) {
  $AdfAssert$$.$assertDomElement$($element$$319$$);
  var $focusElement$$7$$ = $AdfFocusUtils$$.$getFirstTabStop$($element$$319$$, $isExclusive$$6$$);
  $focusElement$$7$$ != $JSCompiler_alias_NULL$$ && $AdfFocusUtils$$.$focusElement$($focusElement$$7$$);
  return $focusElement$$7$$
};
$AdfFocusUtils$$.focusFirstTabStop = $AdfFocusUtils$$.$focusFirstTabStop$;
$goog$exportSymbol$$("AdfFocusUtils.focusFirstTabStop", $AdfFocusUtils$$.$focusFirstTabStop$);
$AdfFocusUtils$$.$focusLastTabStop$ = function $$AdfFocusUtils$$$$focusLastTabStop$$($element$$320$$, $isExclusive$$7$$) {
  $AdfAssert$$.$assertDomElement$($element$$320$$);
  var $focusElement$$8$$ = $AdfFocusUtils$$.$getLastTabStop$($element$$320$$, $isExclusive$$7$$);
  $focusElement$$8$$ != $JSCompiler_alias_NULL$$ && $AdfFocusUtils$$.$focusElement$($focusElement$$8$$);
  return $focusElement$$8$$
};
$goog$exportSymbol$$("AdfFocusUtils.focusLastTabStop", $AdfFocusUtils$$.$focusLastTabStop$);
$AdfFocusUtils$$.$focusNextTabStop$ = function $$AdfFocusUtils$$$$focusNextTabStop$$($element$$321$$, $contextElement$$4$$, $focusElement$$9_startOutside$$) {
  $focusElement$$9_startOutside$$ = $AdfFocusUtils$$.$getNextTabStop$($element$$321$$, $contextElement$$4$$, $focusElement$$9_startOutside$$);
  $focusElement$$9_startOutside$$ || ($contextElement$$4$$ || ($contextElement$$4$$ = $element$$321$$.ownerDocument.documentElement), $focusElement$$9_startOutside$$ = $AdfFocusUtils$$.$getFirstTabStop$($contextElement$$4$$, $JSCompiler_alias_TRUE$$));
  $focusElement$$9_startOutside$$ && $AdfFocusUtils$$.$focusElement$($focusElement$$9_startOutside$$);
  return $focusElement$$9_startOutside$$
};
$goog$exportSymbol$$("AdfFocusUtils.focusNextTabStop", $AdfFocusUtils$$.$focusNextTabStop$);
$AdfFocusUtils$$.$focusPreviousTabStop$ = function $$AdfFocusUtils$$$$focusPreviousTabStop$$($element$$322$$, $contextElement$$5$$) {
  var $focusElement$$10$$ = $AdfFocusUtils$$.$getPreviousTabStop$($element$$322$$, $contextElement$$5$$);
  $focusElement$$10$$ || ($contextElement$$5$$ || ($contextElement$$5$$ = $element$$322$$.ownerDocument.documentElement), $focusElement$$10$$ = $AdfFocusUtils$$.$getLastTabStop$($contextElement$$5$$, $JSCompiler_alias_TRUE$$));
  $focusElement$$10$$ && $AdfFocusUtils$$.$focusElement$($focusElement$$10$$);
  return $focusElement$$10$$
};
$goog$exportSymbol$$("AdfFocusUtils.focusPreviousTabStop", $AdfFocusUtils$$.$focusPreviousTabStop$);
$AdfFocusUtils$$.$getFirstTabStop$ = function $$AdfFocusUtils$$$$getFirstTabStop$$($element$$323$$, $isExclusive$$8$$) {
  return $AdfDomUtils$$.$getFirstElementMatch$($element$$323$$, $isExclusive$$8$$, $AdfFocusUtils$$.$isTabStop$)
};
$goog$exportSymbol$$("AdfFocusUtils.getFirstTabStop", $AdfFocusUtils$$.$getFirstTabStop$);
$AdfFocusUtils$$.$getLastTabStop$ = function $$AdfFocusUtils$$$$getLastTabStop$$($element$$324$$, $isExclusive$$9$$) {
  return $AdfDomUtils$$.$getLastElementMatch$($element$$324$$, $isExclusive$$9$$, $AdfFocusUtils$$.$isTabStop$)
};
$goog$exportSymbol$$("AdfFocusUtils.getLastTabStop", $AdfFocusUtils$$.$getLastTabStop$);
$AdfFocusUtils$$.$getNextTabStop$ = function $$AdfFocusUtils$$$$getNextTabStop$$($element$$325$$, $contextElement$$6$$, $startOutside$$2$$) {
  return $AdfDomUtils$$.$getNextElementMatch$($element$$325$$, $contextElement$$6$$, $startOutside$$2$$, $AdfFocusUtils$$.$isTabStop$)
};
$AdfFocusUtils$$.getNextTabStop = $AdfFocusUtils$$.$getNextTabStop$;
$goog$exportSymbol$$("AdfFocusUtils.getNextTabStop", $AdfFocusUtils$$.$getNextTabStop$);
$AdfFocusUtils$$.$getPreviousTabStop$ = function $$AdfFocusUtils$$$$getPreviousTabStop$$($element$$326$$, $contextElement$$7$$) {
  return $AdfDomUtils$$.$getPreviousElementMatch$($element$$326$$, $contextElement$$7$$, $AdfFocusUtils$$.$isTabStop$)
};
$goog$exportSymbol$$("AdfFocusUtils.getPreviousTabStop", $AdfFocusUtils$$.$getPreviousTabStop$);
$AdfFocusUtils$$.$isTabStop$ = function $$AdfFocusUtils$$$$isTabStop$$($el$$24$$) {
  return $el$$24$$ != $JSCompiler_alias_NULL$$ && -1 < $el$$24$$.tabIndex && $AdfFocusUtils$$.$isFocusable$($el$$24$$)
};
$goog$exportSymbol$$("AdfFocusUtils.isTabStop", $AdfFocusUtils$$.$isTabStop$);
$AdfFocusUtils$$.$isFocusable$ = function $$AdfFocusUtils$$$$isFocusable$$($el$$25$$, $context$$49$$) {
  return $AdfFocusUtils$$.$acceptFocusableNode$($el$$25$$, $context$$49$$) == $AdfDomUtils$$.$FILTER_ACCEPT$
};
$goog$exportSymbol$$("AdfFocusUtils.isFocusable", $AdfFocusUtils$$.$isFocusable$);
$AdfFocusUtils$$.$acceptFocusableNode$ = function $$AdfFocusUtils$$$$acceptFocusableNode$$($el$$26$$, $context$$50$$) {
  if($el$$26$$ == $JSCompiler_alias_NULL$$ || 1 != $el$$26$$.nodeType || $el$$26$$.disabled || -1 > $AdfDomUtils$$.$getTabIndex$($el$$26$$)) {
    return $AdfDomUtils$$.$FILTER_REJECT$
  }
  if(!$AdfFocusUtils$$.$_isFocusableType$($el$$26$$)) {
    return $AdfDomUtils$$.$FILTER_SKIP$
  }
  $AdfFocusUtils$$.$_setupContext$($context$$50$$);
  return $AdfFocusUtils$$.$isConnectedAndVisible$($el$$26$$, $context$$50$$) ? $AdfDomUtils$$.$FILTER_ACCEPT$ : $AdfDomUtils$$.$FILTER_REJECT$
};
$goog$exportSymbol$$("AdfFocusUtils.acceptFocusableNode", $AdfFocusUtils$$.$acceptFocusableNode$);
$AdfFocusUtils$$.$_setupContext$ = function $$AdfFocusUtils$$$$_setupContext$$($context$$51$$) {
  if($context$$51$$ && !$context$$51$$.$positiveValue$) {
    var $timestamp$$3$$ = (new Date).getTime();
    $context$$51$$.$positiveValue$ = "y" + $timestamp$$3$$;
    $context$$51$$.$negativeValue$ = "n" + $timestamp$$3$$
  }
};
$AdfFocusUtils$$.$calculateCachedValue$ = function $$AdfFocusUtils$$$$calculateCachedValue$$($cachedValue_el$$27$$, $context$$52$$, $expando$$1$$) {
  if($context$$52$$ && $cachedValue_el$$27$$ && $expando$$1$$) {
    $cachedValue_el$$27$$ = $AdfAgent$$.$AGENT$.getAttribute($cachedValue_el$$27$$, $expando$$1$$);
    if($cachedValue_el$$27$$ == $context$$52$$.$positiveValue$) {
      return $JSCompiler_alias_TRUE$$
    }
    if($cachedValue_el$$27$$ == $context$$52$$.$negativeValue$) {
      return $JSCompiler_alias_FALSE$$
    }
  }
};
$goog$exportSymbol$$("AdfFocusUtils.calculateCachedValue", $AdfFocusUtils$$.$calculateCachedValue$);
$AdfFocusUtils$$.$setCacheValue$ = function $$AdfFocusUtils$$$$setCacheValue$$($el$$28$$, $context$$53$$, $expando$$2$$, $value$$201$$) {
  $context$$53$$ && ($el$$28$$ && $expando$$2$$ && $value$$201$$ != $JSCompiler_alias_VOID$$) && $AdfAgent$$.$AGENT$.$setExpandoProperty$($el$$28$$, $expando$$2$$, $value$$201$$ ? $context$$53$$.$positiveValue$ : $context$$53$$.$negativeValue$)
};
$goog$exportSymbol$$("AdfFocusUtils.setCacheValue", $AdfFocusUtils$$.$setCacheValue$);
$AdfFocusUtils$$.$isConnectedAndVisible$ = function $$AdfFocusUtils$$$$isConnectedAndVisible$$($el$$29$$, $context$$54$$) {
  $AdfAssert$$.$assertDomElement$($el$$29$$);
  var $documentElement$$13_parentValue$$ = $AdfAgent$$.$AGENT$.$getDomDocument$().documentElement, $cachedValue$$1$$ = $AdfFocusUtils$$.$calculateCachedValue$($el$$29$$, $context$$54$$, "_afrFoc");
  if($cachedValue$$1$$ != $JSCompiler_alias_VOID$$) {
    return $cachedValue$$1$$
  }
  if(!$AdfFocusUtils$$.$_isVisible$($el$$29$$)) {
    return $AdfFocusUtils$$.$setCacheValue$($el$$29$$, $context$$54$$, "_afrFoc", $JSCompiler_alias_FALSE$$), $JSCompiler_alias_FALSE$$
  }
  if($el$$29$$ == $documentElement$$13_parentValue$$) {
    return $AdfFocusUtils$$.$setCacheValue$($el$$29$$, $context$$54$$, "_afrFoc", $JSCompiler_alias_TRUE$$), $JSCompiler_alias_TRUE$$
  }
  $documentElement$$13_parentValue$$ = $el$$29$$.parentNode == $JSCompiler_alias_NULL$$ || 1 != $el$$29$$.parentNode.nodeType ? $JSCompiler_alias_FALSE$$ : $AdfFocusUtils$$.$isConnectedAndVisible$($el$$29$$.parentNode, $context$$54$$);
  $AdfFocusUtils$$.$setCacheValue$($el$$29$$, $context$$54$$, "_afrFoc", $documentElement$$13_parentValue$$);
  return $documentElement$$13_parentValue$$
};
$goog$exportSymbol$$("AdfFocusUtils.isConnectedAndVisible", $AdfFocusUtils$$.$isConnectedAndVisible$);
$AdfFocusUtils$$.$_isVisible$ = function $$AdfFocusUtils$$$$_isVisible$$($el$$30$$) {
  var $currentStyle$$16$$;
  $currentStyle$$16$$ || ($currentStyle$$16$$ = $AdfAgent$$.$AGENT$.getComputedStyle($el$$30$$));
  return $AdfFocusUtils$$.$_isDisplayNone$($el$$30$$, $currentStyle$$16$$) ? $JSCompiler_alias_FALSE$$ : !$AdfFocusUtils$$.$_isVisibilityHidden$($el$$30$$, $currentStyle$$16$$)
};
$AdfFocusUtils$$.$_isVisibilityHidden$ = function $$AdfFocusUtils$$$$_isVisibilityHidden$$($el$$31$$, $currentStyle$$17$$) {
  $currentStyle$$17$$ || ($currentStyle$$17$$ = $AdfAgent$$.$AGENT$.getComputedStyle($el$$31$$));
  return"hidden" == $currentStyle$$17$$.visibility
};
$AdfFocusUtils$$.$_isDisplayNone$ = function $$AdfFocusUtils$$$$_isDisplayNone$$($el$$32$$, $currentStyle$$18$$) {
  $currentStyle$$18$$ || ($currentStyle$$18$$ = $AdfAgent$$.$AGENT$.getComputedStyle($el$$32$$));
  return"none" == $currentStyle$$18$$.display && ("none" == $el$$32$$.style.display || !$AdfPopupScopingUtils$$.$isScopingContainer$($el$$32$$) || !$AdfPopupScopingUtils$$.$isOutOfScope$($el$$32$$)) ? $JSCompiler_alias_TRUE$$ : $JSCompiler_alias_FALSE$$
};
$AdfFocusUtils$$.$_isFocusableType$ = function $$AdfFocusUtils$$$$_isFocusableType$$($el$$33$$) {
  $AdfAssert$$.$assertDomElement$($el$$33$$);
  var $tabIdx$$1$$ = $AdfDomUtils$$.$getTabIndex$($el$$33$$);
  switch($el$$33$$.nodeName.toLowerCase()) {
    case "a":
      if(!$el$$33$$.href && $tabIdx$$1$$ == $JSCompiler_alias_VOID$$) {
        return $JSCompiler_alias_FALSE$$
      }
    ;
    case "input":
      if("hidden" == $el$$33$$.type && $el$$33$$.isContentEditable != $JSCompiler_alias_TRUE$$) {
        return $JSCompiler_alias_FALSE$$
      }
    ;
    case "area":
    ;
    case "body":
    ;
    case "button":
    ;
    case "frame":
    ;
    case "iframe":
    ;
    case "isindex":
    ;
    case "object":
    ;
    case "select":
    ;
    case "textarea":
      return $JSCompiler_alias_TRUE$$;
    default:
      return-1 <= $tabIdx$$1$$ ? $JSCompiler_alias_TRUE$$ : $JSCompiler_alias_FALSE$$
  }
};
$AdfFocusUtils$$.$focusElementDelayed$ = function $$AdfFocusUtils$$$$focusElementDelayed$$($element$$327$$, $timeout$$10$$) {
  $AdfAssert$$.$assertDomElement$($element$$327$$);
  $AdfAssert$$.$assertNumber$($timeout$$10$$);
  var $page$$197$$ = $AdfPage$$.$PAGE$, $timerId$$12$$ = $AdfFocusUtils$$.$_delayFocusTimerId$;
  $timerId$$12$$ && $page$$197$$.$cancelTimer$($timerId$$12$$);
  $AdfFocusUtils$$.$_delayFocusTimerId$ = $page$$197$$.$scheduleTimer$($JSCompiler_alias_NULL$$, $AdfFocusUtils$$.$_focusElementDelayedCallback$, $element$$327$$, $timeout$$10$$)
};
$goog$exportSymbol$$("AdfFocusUtils.focusElementDelayed", $AdfFocusUtils$$.$focusElementDelayed$);
$AdfFocusUtils$$.$_focusElementDelayedCallback$ = function $$AdfFocusUtils$$$$_focusElementDelayedCallback$$($element$$328$$) {
  $AdfFocusUtils$$.$_delayFocusTimerId$ = $JSCompiler_alias_NULL$$;
  $AdfFocusUtils$$.$_focusElementImpl$($element$$328$$)
};
$AdfFocusUtils$$.$_focusElementImpl$ = function $$AdfFocusUtils$$$$_focusElementImpl$$($element$$329$$) {
  try {
    var $agent$$690$$ = $AdfAgent$$.$AGENT$, $domWindow$$120$$ = $agent$$690$$.$getDomWindow$();
    $element$$329$$.setActive && 11 > $agent$$690$$.$getVersion$() && $element$$329$$.setActive();
    $element$$329$$.focus();
    $domWindow$$120$$.$AdfSafariMobileAgent$ && $agent$$690$$ instanceof $AdfSafariMobileAgent$$ || "text" == $element$$329$$.type && "INPUT" == $element$$329$$.tagName && $element$$329$$.setSelectionRange(0, $element$$329$$.value.length)
  }catch($e$$150$$) {
    $AdfLogger$$.$LOGGER$.error($e$$150$$)
  }
};
$AdfFocusUtils$$.$focusNextActiveDescendant$ = function $$AdfFocusUtils$$$$focusNextActiveDescendant$$($contextElement$$8$$, $currentActiveDescendant$$, $wrap$$3$$) {
  $AdfAssert$$.$assertDomElement$($contextElement$$8$$);
  $AdfAssert$$.$assertDomElement$($currentActiveDescendant$$);
  var $newActiveDescendant$$3$$ = $AdfFocusUtils$$.$getNextFocusableDescendant$($contextElement$$8$$, $currentActiveDescendant$$);
  if(!$newActiveDescendant$$3$$) {
    if($wrap$$3$$) {
      $newActiveDescendant$$3$$ = $AdfFocusUtils$$.$getFirstFocusableDescendant$($contextElement$$8$$)
    }else {
      return $newActiveDescendant$$3$$
    }
  }
  $newActiveDescendant$$3$$ && $newActiveDescendant$$3$$ != $currentActiveDescendant$$ && ($currentActiveDescendant$$.setAttribute("tabIndex", "-1"), $newActiveDescendant$$3$$.setAttribute("tabIndex", "0"), $AdfFocusUtils$$.$focusElement$($newActiveDescendant$$3$$));
  return $newActiveDescendant$$3$$
};
$goog$exportSymbol$$("AdfFocusUtils.focusNextActiveDescendant", $AdfFocusUtils$$.$focusNextActiveDescendant$);
$AdfFocusUtils$$.$focusPreviousActiveDescendant$ = function $$AdfFocusUtils$$$$focusPreviousActiveDescendant$$($contextElement$$9$$, $currentActiveDescendant$$1$$, $wrap$$4$$) {
  $AdfAssert$$.$assertDomElement$($contextElement$$9$$);
  $AdfAssert$$.$assertDomElement$($currentActiveDescendant$$1$$);
  var $newActiveDescendant$$4$$ = $AdfFocusUtils$$.$getPreviousFocusableDescendant$($contextElement$$9$$, $currentActiveDescendant$$1$$);
  if(!$newActiveDescendant$$4$$) {
    if($wrap$$4$$) {
      $newActiveDescendant$$4$$ = $AdfFocusUtils$$.$getLastFocusableDescendant$($contextElement$$9$$)
    }else {
      return $newActiveDescendant$$4$$
    }
  }
  $newActiveDescendant$$4$$ && $newActiveDescendant$$4$$ != $currentActiveDescendant$$1$$ && ($currentActiveDescendant$$1$$.setAttribute("tabIndex", "-1"), $newActiveDescendant$$4$$.setAttribute("tabIndex", "0"), $AdfFocusUtils$$.$focusElement$($newActiveDescendant$$4$$));
  return $newActiveDescendant$$4$$
};
$goog$exportSymbol$$("AdfFocusUtils.focusPreviousActiveDescendant", $AdfFocusUtils$$.$focusPreviousActiveDescendant$);
$AdfFocusUtils$$.$setFirstActiveDescendant$ = function $$AdfFocusUtils$$$$setFirstActiveDescendant$$($contextElement$$10$$, $context$$55$$) {
  $AdfAssert$$.$assertDomElement$($contextElement$$10$$);
  var $newActiveDescendant$$5$$ = $AdfFocusUtils$$.$getFirstFocusableDescendant$($contextElement$$10$$, $context$$55$$);
  $newActiveDescendant$$5$$ && $newActiveDescendant$$5$$.setAttribute("tabIndex", "0");
  return $newActiveDescendant$$5$$
};
$goog$exportSymbol$$("AdfFocusUtils.setFirstActiveDescendant", $AdfFocusUtils$$.$setFirstActiveDescendant$);
$AdfFocusUtils$$.$setupCompositeWidget$ = function $$AdfFocusUtils$$$$setupCompositeWidget$$($contextElement$$11$$) {
  $AdfAssert$$.$assertDomElement$($contextElement$$11$$);
  for(var $context$$56$$ = {$includeVisibilityHidden$:$JSCompiler_alias_TRUE$$, $includeDisplayNone$:$JSCompiler_alias_FALSE$$, $includeDisabled$:$JSCompiler_alias_TRUE$$}, $nextFocusableDescendant$$ = $AdfFocusUtils$$.$getFirstFocusableDescendant$($contextElement$$11$$, $context$$56$$);$nextFocusableDescendant$$;) {
    $nextFocusableDescendant$$.setAttribute("tabIndex", "-1"), $nextFocusableDescendant$$ = $AdfFocusUtils$$.$getNextFocusableDescendant$($contextElement$$11$$, $nextFocusableDescendant$$, $context$$56$$)
  }
  return $AdfFocusUtils$$.$setFirstActiveDescendant$($contextElement$$11$$)
};
$goog$exportSymbol$$("AdfFocusUtils.setupCompositeWidget", $AdfFocusUtils$$.$setupCompositeWidget$);
$AdfFocusUtils$$.$getFirstFocusableDescendant$ = function $$AdfFocusUtils$$$$getFirstFocusableDescendant$$($element$$330$$, $context$$57$$) {
  $AdfAssert$$.$assertDomElement$($element$$330$$);
  return $AdfDomUtils$$.$getFirstFilteredElement$($element$$330$$, $JSCompiler_alias_FALSE$$, $AdfFocusUtils$$.$isFocusableDescendant$, $context$$57$$)
};
$goog$exportSymbol$$("AdfFocusUtils.getFirstFocusableDescendant", $AdfFocusUtils$$.$getFirstFocusableDescendant$);
$AdfFocusUtils$$.$getLastFocusableDescendant$ = function $$AdfFocusUtils$$$$getLastFocusableDescendant$$($element$$331$$, $context$$58$$) {
  $AdfAssert$$.$assertDomElement$($element$$331$$);
  return $AdfDomUtils$$.$getLastFilteredElement$($element$$331$$, $JSCompiler_alias_FALSE$$, $AdfFocusUtils$$.$isFocusableDescendant$, $context$$58$$)
};
$goog$exportSymbol$$("AdfFocusUtils.getLastFocusableDescendant", $AdfFocusUtils$$.$getLastFocusableDescendant$);
$AdfFocusUtils$$.$getNextFocusableDescendant$ = function $$AdfFocusUtils$$$$getNextFocusableDescendant$$($contextElement$$12$$, $element$$332$$, $context$$59$$) {
  $AdfAssert$$.$assertDomElement$($contextElement$$12$$);
  $AdfAssert$$.$assertDomElement$($element$$332$$);
  return $AdfDomUtils$$.$getNextFilteredElement$($element$$332$$, $contextElement$$12$$, $JSCompiler_alias_TRUE$$, $AdfFocusUtils$$.$isFocusableDescendant$, $context$$59$$)
};
$goog$exportSymbol$$("AdfFocusUtils.getNextFocusableDescendant", $AdfFocusUtils$$.$getNextFocusableDescendant$);
$AdfFocusUtils$$.$getPreviousFocusableDescendant$ = function $$AdfFocusUtils$$$$getPreviousFocusableDescendant$$($contextElement$$13$$, $element$$333$$, $context$$60$$) {
  $AdfAssert$$.$assertDomElement$($contextElement$$13$$);
  $AdfAssert$$.$assertDomElement$($element$$333$$);
  return $AdfDomUtils$$.$getPreviousFilteredElement$($element$$333$$, $contextElement$$13$$, $AdfFocusUtils$$.$isFocusableDescendant$, $context$$60$$)
};
$goog$exportSymbol$$("AdfFocusUtils.getPreviousFocusableDescendant", $AdfFocusUtils$$.$getPreviousFocusableDescendant$);
$AdfFocusUtils$$.$getFirstUnmarkedTabstop$ = function $$AdfFocusUtils$$$$getFirstUnmarkedTabstop$$($element$$334$$) {
  $AdfAssert$$.$assertDomElement$($element$$334$$);
  return $AdfDomUtils$$.$getFirstFilteredElement$($element$$334$$, $JSCompiler_alias_FALSE$$, $AdfFocusUtils$$.$isUnmarkedTabstop$)
};
$goog$exportSymbol$$("AdfFocusUtils.getFirstUnmarkedTabstop", $AdfFocusUtils$$.$getFirstUnmarkedTabstop$);
$AdfFocusUtils$$.$isUnmarkedTabstop$ = function $$AdfFocusUtils$$$$isUnmarkedTabstop$$($element$$335$$) {
  var $logger$$24$$ = $AdfLogger$$.$LOGGER$;
  if($element$$335$$ == $JSCompiler_alias_NULL$$ || 1 != $element$$335$$.nodeType) {
    return $logger$$24$$.$isLoggable$($AdfLogger$$.FINE) && $logger$$24$$.fine("isUnmarkedTabstop: Null or not element node type"), $AdfDomUtils$$.$FILTER_REJECT$
  }
  var $isDisplayNone$$ = $AdfFocusUtils$$.$_isDisplayNone$($element$$335$$);
  if($isDisplayNone$$) {
    return $logger$$24$$.$isLoggable$($AdfLogger$$.FINE) && $logger$$24$$.fine("isUnmarkedTabstop: Node display none: " + $isDisplayNone$$ + ", node tree: " + $element$$335$$.id + " " + $element$$335$$.nodeName), $AdfDomUtils$$.$FILTER_REJECT$
  }
  if($element$$335$$.attributes[$AdfFocusUtils$$.$DESCENDANT_FOCUSABLE$]) {
    return $logger$$24$$.$isLoggable$($AdfLogger$$.FINE) && $logger$$24$$.fine("isUnmarkedTabstop: Node is a marked tabstop: " + $element$$335$$.id + " " + $element$$335$$.nodeName), $AdfDomUtils$$.$FILTER_REJECT$
  }
  if($AdfFocusUtils$$.$isTabStop$($element$$335$$)) {
    return $logger$$24$$.$isLoggable$($AdfLogger$$.FINE) && $logger$$24$$.fine("isUnmarkedTabstop: Found node that is an unmarked tabstop: " + $element$$335$$.id + " " + $element$$335$$.nodeName), $AdfDomUtils$$.$FILTER_ACCEPT$
  }
  $logger$$24$$.$isLoggable$($AdfLogger$$.FINE) && $logger$$24$$.fine("isUnmarkedTabstop: Node not a tabstop: " + $element$$335$$.id + " " + $element$$335$$.nodeName);
  return $AdfDomUtils$$.$FILTER_SKIP$
};
$goog$exportSymbol$$("AdfFocusUtils.isUnmarkedTabstop", $AdfFocusUtils$$.$isUnmarkedTabstop$);
$AdfFocusUtils$$.$isFocusableDescendant$ = function $$AdfFocusUtils$$$$isFocusableDescendant$$($element$$336$$, $context$$61$$) {
  var $logger$$25$$ = $AdfLogger$$.$LOGGER$;
  $context$$61$$ = $context$$61$$ == $JSCompiler_alias_NULL$$ ? {$includeVisibilityHidden$:$JSCompiler_alias_FALSE$$, $includeDisplayNone$:$JSCompiler_alias_FALSE$$, $includeDisabled$:$JSCompiler_alias_FALSE$$} : $context$$61$$;
  if($element$$336$$ == $JSCompiler_alias_NULL$$ || 1 != $element$$336$$.nodeType) {
    return $logger$$25$$.$isLoggable$($AdfLogger$$.FINE) && $logger$$25$$.fine("isFocusableDescendant? Skip and reject tree: Null or not element node type"), $AdfDomUtils$$.$FILTER_REJECT$
  }
  var $elementStyle$$7_focusableAttribute$$1$$ = $AdfAgent$$.$AGENT$.getComputedStyle($element$$336$$);
  if($AdfFocusUtils$$.$_isVisibilityHidden$($element$$336$$, $elementStyle$$7_focusableAttribute$$1$$) && !Boolean($context$$61$$.$includeVisibilityHidden$)) {
    return $logger$$25$$.$isLoggable$($AdfLogger$$.FINE) && $logger$$25$$.fine("isFocusableDescendant? Skip and reject tree, Node is visibility hidden, node: " + $element$$336$$.id + " " + $element$$336$$.nodeName), $AdfDomUtils$$.$FILTER_REJECT$
  }
  if($AdfFocusUtils$$.$_isDisplayNone$($element$$336$$, $elementStyle$$7_focusableAttribute$$1$$) && !Boolean($context$$61$$.$includeDisplayNone$)) {
    return $logger$$25$$.$isLoggable$($AdfLogger$$.FINE) && $logger$$25$$.fine("isFocusableDescendant? Skip and reject tree, Node is display none, node: " + $element$$336$$.id + " " + $element$$336$$.nodeName), $AdfDomUtils$$.$FILTER_REJECT$
  }
  $elementStyle$$7_focusableAttribute$$1$$ = $element$$336$$.attributes[$AdfFocusUtils$$.$DESCENDANT_FOCUSABLE$];
  if(!$elementStyle$$7_focusableAttribute$$1$$) {
    return $logger$$25$$.$isLoggable$($AdfLogger$$.FINE) && $logger$$25$$.fine("isFocusableDescendant? Skip, node not focusable, node: " + $element$$336$$.id + " " + $element$$336$$.nodeName), $AdfDomUtils$$.$FILTER_SKIP$
  }
  if("true" == $elementStyle$$7_focusableAttribute$$1$$.value) {
    return $logger$$25$$.$isLoggable$($AdfLogger$$.FINE) && $logger$$25$$.fine("isFocusableDescendant? Accept, node focusable TRUE, node: " + $element$$336$$.id + " " + $element$$336$$.nodeName), $AdfDomUtils$$.$FILTER_ACCEPT$
  }
  if("false" == $elementStyle$$7_focusableAttribute$$1$$.value) {
    return $logger$$25$$.$isLoggable$($AdfLogger$$.FINE) && $logger$$25$$.fine("isFocusableDescendant? Node focusable FALSE, node: " + $element$$336$$.id + " " + $element$$336$$.nodeName), Boolean($context$$61$$.$includeDisabled$) ? $AdfDomUtils$$.$FILTER_ACCEPT$ : $AdfDomUtils$$.$FILTER_REJECT$
  }
  $logger$$25$$.$isLoggable$($AdfLogger$$.FINE) && $logger$$25$$.fine("isFocusableDescendant? Skip, invalid value found: " + $elementStyle$$7_focusableAttribute$$1$$.name + " " + $elementStyle$$7_focusableAttribute$$1$$.value);
  return $AdfDomUtils$$.$FILTER_SKIP$
};
$goog$exportSymbol$$("AdfFocusUtils.isFocusableDescendant", $AdfFocusUtils$$.$isFocusableDescendant$);
$AdfFocusUtils$$.$DESCENDANT_FOCUSABLE$ = "data-afr-fcs";
$goog$exportSymbol$$("AdfFocusUtils.DESCENDANT_FOCUSABLE", $AdfFocusUtils$$.$DESCENDANT_FOCUSABLE$);
