function $AdfDhtmlPositionManager$$() {
  this.Init();
}
$goog$exportSymbol$$("AdfDhtmlPositionManager", $AdfDhtmlPositionManager$$);
$goog$exportSymbol$$("AdfDhtmlPositionManager", $AdfDhtmlPositionManager$$);
$AdfObject$$.$createSubclass$($AdfDhtmlPositionManager$$);
$AdfDhtmlPositionManager$$.$InitClass$ = function $$AdfDhtmlPositionManager$$$$InitClass$$() {
  this.$TOP$ = 0;
  $goog$exportSymbol$$("AdfDhtmlPositionManager.TOP", $AdfDhtmlPositionManager$$.$TOP$);
  this.$MIDDLE$ = 1;
  $goog$exportSymbol$$("AdfDhtmlPositionManager.MIDDLE", $AdfDhtmlPositionManager$$.$MIDDLE$);
  this.$BOTTOM$ = 2;
  $goog$exportSymbol$$("AdfDhtmlPositionManager.BOTTOM", $AdfDhtmlPositionManager$$.$BOTTOM$);
  this.$LEFT$ = 3;
  $goog$exportSymbol$$("AdfDhtmlPositionManager.LEFT", $AdfDhtmlPositionManager$$.$LEFT$);
  this.$CENTER$ = 4;
  $goog$exportSymbol$$("AdfDhtmlPositionManager.CENTER", $AdfDhtmlPositionManager$$.$CENTER$);
  this.$RIGHT$ = 5;
  $goog$exportSymbol$$("AdfDhtmlPositionManager.RIGHT", $AdfDhtmlPositionManager$$.$RIGHT$);
  this.$MIN_WIDTH$ = 32;
  $goog$exportSymbol$$("AdfDhtmlPositionManager.MIN_WIDTH", $AdfDhtmlPositionManager$$.$MIN_WIDTH$);
};
$goog$exportSymbol$$("AdfDhtmlPositionManager.InitClass", $AdfDhtmlPositionManager$$.$InitClass$);
$AdfDhtmlPositionManager$$.prototype.Init = function $$AdfDhtmlPositionManager$$$$Init$() {
  $AdfDhtmlPositionManager$$.$superclass$.Init.call(this);
  var $logger$$5$$ = $AdfLogger$$.$LOGGER$;
  $logger$$5$$.getLevel($AdfLogger$$.FINEST) && (this.$_logger$ = $logger$$5$$);
  this.$_elements$ = [];
  this.$_isRTL$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPositionManager.prototype.Init", {Init:$AdfDhtmlPositionManager$$.prototype.Init});
$AdfDhtmlPositionManager$$.prototype.$getElementCount$ = function $$AdfDhtmlPositionManager$$$$$getElementCount$$() {
  var $count$$15$$ = 0, $elements$$10$$ = this.$_elements$, $element$$168$$;
  for ($element$$168$$ in $elements$$10$$) {
    $element$$168$$ && $count$$15$$++;
  }
  return $count$$15$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPositionManager.prototype.getElementCount", {$getElementCount$:$AdfDhtmlPositionManager$$.prototype.$getElementCount$});
$AdfDhtmlPositionManager$$.prototype.$dispose$ = function $$AdfDhtmlPositionManager$$$$$dispose$$() {
  this.$_elements$ = null;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPositionManager.prototype.dispose", {$dispose$:$AdfDhtmlPositionManager$$.prototype.$dispose$});
$AdfDhtmlPositionManager$$.prototype.$addFloatingElement$ = function $$AdfDhtmlPositionManager$$$$$addFloatingElement$$($floatingElement$$, $alignmentHint$$1$$) {
  $floatingElement$$.$getAlignPosition$() || $AdfAssert$$.$assertDomElement$($floatingElement$$.$getAlignElement$());
  return $JSCompiler_StaticMethods__addFloatingElement$$(this, $floatingElement$$, $alignmentHint$$1$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPositionManager.prototype.addFloatingElement", {$addFloatingElement$:$AdfDhtmlPositionManager$$.prototype.$addFloatingElement$});
$AdfDhtmlPositionManager$$.prototype.$addFloatingElementByPosition$ = function $$AdfDhtmlPositionManager$$$$$addFloatingElementByPosition$$($floatingElement$$1$$, $pos$$12$$) {
  $floatingElement$$1$$.$setAlignPosition$($pos$$12$$);
  return $JSCompiler_StaticMethods__addFloatingElement$$(this, $floatingElement$$1$$, AdfRichPopup.$ALIGN_AFTER_START$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPositionManager.prototype.addFloatingElementByPosition", {$addFloatingElementByPosition$:$AdfDhtmlPositionManager$$.prototype.$addFloatingElementByPosition$});
$AdfDhtmlPositionManager$$.prototype.$calculatePlacementPosition$ = function $$AdfDhtmlPositionManager$$$$$calculatePlacementPosition$$($box$$1_elementHeight$$, $elementWidth$$, $alignmentHint$$3_preferredHorizontalBehavior_verticalBehavior$$1$$, $alignBox_alignElement$$7$$, $alignPosition_horizontalBehavior$$1$$) {
  var $hintBehavior_preferredVerticalBehavior$$ = $JSCompiler_StaticMethods__getHintBehavior$$(this, $alignmentHint$$3_preferredHorizontalBehavior_verticalBehavior$$1$$);
  $alignmentHint$$3_preferredHorizontalBehavior_verticalBehavior$$1$$ = $hintBehavior_preferredVerticalBehavior$$.$horizontalBehavior$;
  $hintBehavior_preferredVerticalBehavior$$ = $hintBehavior_preferredVerticalBehavior$$.$verticalBehavior$;
  $box$$1_elementHeight$$ = {top:0, right:$elementWidth$$, bottom:$box$$1_elementHeight$$, left:0, width:$elementWidth$$, height:$box$$1_elementHeight$$};
  $alignBox_alignElement$$7$$ = $JSCompiler_StaticMethods__getAlignBox$$($alignBox_alignElement$$7$$, $alignPosition_horizontalBehavior$$1$$);
  $alignPosition_horizontalBehavior$$1$$ = $JSCompiler_StaticMethods__selectBehavior$$(this, $alignmentHint$$3_preferredHorizontalBehavior_verticalBehavior$$1$$, $box$$1_elementHeight$$, $alignBox_alignElement$$7$$);
  $alignmentHint$$3_preferredHorizontalBehavior_verticalBehavior$$1$$ = $JSCompiler_StaticMethods__selectBehavior$$(this, $hintBehavior_preferredVerticalBehavior$$, $box$$1_elementHeight$$, $alignBox_alignElement$$7$$);
  return $JSCompiler_StaticMethods__getNewPosition$$($alignPosition_horizontalBehavior$$1$$, $alignmentHint$$3_preferredHorizontalBehavior_verticalBehavior$$1$$, $box$$1_elementHeight$$, $alignBox_alignElement$$7$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPositionManager.prototype.calculatePlacementPosition", {$calculatePlacementPosition$:$AdfDhtmlPositionManager$$.prototype.$calculatePlacementPosition$});
function $JSCompiler_StaticMethods__addFloatingElement$$($JSCompiler_StaticMethods__addFloatingElement$self$$, $floatingElement$$2$$, $alignmentHint$$4_verticalBehaviors$$inline_882$$) {
  $AdfAssert$$.$assertDomElement$($floatingElement$$2$$.$getElement$());
  if (1 > $JSCompiler_StaticMethods__addFloatingElement$self$$.$getElementCount$()) {
    var $agent$$inline_874_horizontalBehaviors$$inline_883$$ = $AdfAgent$$.$AGENT$, $domWindow$$inline_875_hintBehavior$$1_insideBorder$$inline_884$$ = $agent$$inline_874_horizontalBehaviors$$inline_883$$.$getDomWindow$(), $alignElement$$inline_885_alignElementIsManaged$$inline_886_domDocument$$inline_876$$ = $agent$$inline_874_horizontalBehaviors$$inline_883$$.$getDomDocument$(), $resizeCallback$$inline_877$$ = $JSCompiler_StaticMethods__addFloatingElement$self$$.$_repostionOnScrollCallback$;
    $resizeCallback$$inline_877$$ || ($resizeCallback$$inline_877$$ = $JSCompiler_StaticMethods__addFloatingElement$self$$.$_repostionOnScrollCallback$ = $JSCompiler_StaticMethods__addFloatingElement$self$$.$createCallback$($JSCompiler_StaticMethods__addFloatingElement$self$$.$_repostionOnScroll$));
    var $isIE$$inline_878$$ = $agent$$inline_874_horizontalBehaviors$$inline_883$$.$getPlatform$() == $AdfAgent$$.$IE_PLATFORM$;
    $agent$$inline_874_horizontalBehaviors$$inline_883$$.$isInlineDialogRepositioningOnScroll$() && ($agent$$inline_874_horizontalBehaviors$$inline_883$$.$addBubbleEventListener$($alignElement$$inline_885_alignElementIsManaged$$inline_886_domDocument$$inline_876$$, "mousewheel", $resizeCallback$$inline_877$$), $agent$$inline_874_horizontalBehaviors$$inline_883$$.$addBubbleEventListener$($domWindow$$inline_875_hintBehavior$$1_insideBorder$$inline_884$$, "scroll", $resizeCallback$$inline_877$$), $isIE$$inline_878$$ || 
    $agent$$inline_874_horizontalBehaviors$$inline_883$$.$addBubbleEventListener$($alignElement$$inline_885_alignElementIsManaged$$inline_886_domDocument$$inline_876$$, "DOMMouseScroll", $resizeCallback$$inline_877$$));
    $agent$$inline_874_horizontalBehaviors$$inline_883$$.$addBubbleEventListener$($domWindow$$inline_875_hintBehavior$$1_insideBorder$$inline_884$$, "resize", $resizeCallback$$inline_877$$);
  }
  $domWindow$$inline_875_hintBehavior$$1_insideBorder$$inline_884$$ = $JSCompiler_StaticMethods__getHintBehavior$$($JSCompiler_StaticMethods__addFloatingElement$self$$, $alignmentHint$$4_verticalBehaviors$$inline_882$$);
  $alignmentHint$$4_verticalBehaviors$$inline_882$$ = $domWindow$$inline_875_hintBehavior$$1_insideBorder$$inline_884$$.$verticalBehavior$;
  $agent$$inline_874_horizontalBehaviors$$inline_883$$ = $domWindow$$inline_875_hintBehavior$$1_insideBorder$$inline_884$$.$horizontalBehavior$;
  $domWindow$$inline_875_hintBehavior$$1_insideBorder$$inline_884$$ = $domWindow$$inline_875_hintBehavior$$1_insideBorder$$inline_884$$.$insideBorder$;
  $alignElement$$inline_885_alignElementIsManaged$$inline_886_domDocument$$inline_876$$ = ($alignElement$$inline_885_alignElementIsManaged$$inline_886_domDocument$$inline_876$$ = $floatingElement$$2$$.$getAlignElement$()) ? $JSCompiler_StaticMethods__addFloatingElement$self$$.$managesElement$($alignElement$$inline_885_alignElementIsManaged$$inline_886_domDocument$$inline_876$$) : !1;
  $JSCompiler_StaticMethods__addFloatingElement$self$$.$_elements$.push({element:$floatingElement$$2$$, $verticalBehaviors$:$alignmentHint$$4_verticalBehaviors$$inline_882$$, $horizontalBehaviors$:$agent$$inline_874_horizontalBehaviors$$inline_883$$, $alignElementIsManaged$:$alignElement$$inline_885_alignElementIsManaged$$inline_886_domDocument$$inline_876$$, $insideBorder$:$domWindow$$inline_875_hintBehavior$$1_insideBorder$$inline_884$$});
  return $JSCompiler_StaticMethods__addFloatingElement$self$$.$_elements$.length - 1;
}
function $JSCompiler_StaticMethods__getHintBehavior$$($JSCompiler_StaticMethods__getHintBehavior$self$$, $alignmentHint$$5$$) {
  var $bottom$$1$$ = $AdfDhtmlPositionManager$$.$BOTTOM$, $top$$9$$ = $AdfDhtmlPositionManager$$.$TOP$, $middle$$ = $AdfDhtmlPositionManager$$.$MIDDLE$, $start$$20$$ = $JSCompiler_StaticMethods__convertHorizontal$$($JSCompiler_StaticMethods__getHintBehavior$self$$, "start"), $end$$4$$ = $JSCompiler_StaticMethods__convertHorizontal$$($JSCompiler_StaticMethods__getHintBehavior$self$$, "end"), $center$$ = $AdfDhtmlPositionManager$$.$CENTER$, $insideBorder$$ = !1, $horizontal$$, $vertical$$;
  switch($alignmentHint$$5$$) {
    case AdfRichPopup.$ALIGN_AFTER_START$:
      $vertical$$ = [$bottom$$1$$, $top$$9$$];
      $horizontal$$ = [$start$$20$$, $start$$20$$];
      break;
    case AdfRichPopup.$ALIGN_AFTER_END$:
      $vertical$$ = [$bottom$$1$$, $top$$9$$];
      $horizontal$$ = [$end$$4$$, $end$$4$$];
      break;
    case AdfRichPopup.$ALIGN_AFTER_CENTER$:
      $vertical$$ = [$bottom$$1$$, $top$$9$$, $bottom$$1$$, $top$$9$$];
      $horizontal$$ = [$start$$20$$, $start$$20$$, $center$$, $center$$];
      break;
    case AdfRichPopup.$ALIGN_BEFORE_START$:
      $vertical$$ = [$top$$9$$, $bottom$$1$$];
      $horizontal$$ = [$start$$20$$, $start$$20$$];
      break;
    case AdfRichPopup.$ALIGN_BEFORE_END$:
      $vertical$$ = [$top$$9$$, $bottom$$1$$];
      $horizontal$$ = [$end$$4$$, $end$$4$$];
      break;
    case AdfRichPopup.$ALIGN_BEFORE_CENTER$:
      $vertical$$ = [$top$$9$$, $bottom$$1$$, $top$$9$$, $bottom$$1$$];
      $horizontal$$ = [$start$$20$$, $start$$20$$, $center$$, $center$$];
      break;
    case AdfRichPopup.$ALIGN_END_AFTER$:
      $vertical$$ = [$bottom$$1$$, $bottom$$1$$];
      $horizontal$$ = [$end$$4$$, $start$$20$$];
      break;
    case AdfRichPopup.$ALIGN_END_BEFORE$:
      $vertical$$ = [$top$$9$$, $top$$9$$];
      $horizontal$$ = [$end$$4$$, $start$$20$$];
      break;
    case AdfRichPopup.$ALIGN_END_CENTER$:
      $vertical$$ = [$top$$9$$, $top$$9$$, $middle$$, $middle$$];
      $horizontal$$ = [$end$$4$$, $start$$20$$, $end$$4$$, $start$$20$$];
      break;
    case AdfRichPopup.$ALIGN_START_AFTER$:
      $vertical$$ = [$bottom$$1$$, $bottom$$1$$];
      $horizontal$$ = [$start$$20$$, $end$$4$$];
      break;
    case AdfRichPopup.$ALIGN_START_BEFORE$:
      $vertical$$ = [$top$$9$$, $top$$9$$];
      $horizontal$$ = [$start$$20$$, $end$$4$$];
      break;
    case AdfRichPopup.$ALIGN_START_CENTER$:
      $vertical$$ = [$top$$9$$, $top$$9$$, $middle$$, $middle$$];
      $horizontal$$ = [$start$$20$$, $end$$4$$, $start$$20$$, $end$$4$$];
      break;
    case AdfRichPopup.$ALIGN_OVERLAP$:
      $vertical$$ = [$top$$9$$, $top$$9$$];
      $horizontal$$ = [$start$$20$$, $start$$20$$];
      break;
    case AdfRichPopup.$ALIGN_OVERLAP_END_BEFORE$:
      $insideBorder$$ = !0;
      $vertical$$ = [$top$$9$$, $top$$9$$];
      $horizontal$$ = [$end$$4$$, $end$$4$$];
      break;
    case AdfRichPopup.$ALIGN_OVERLAP_START_BEFORE$:
      $insideBorder$$ = !0;
      $vertical$$ = [$top$$9$$, $top$$9$$];
      $horizontal$$ = [$start$$20$$, $start$$20$$];
      break;
    case AdfRichPopup.$ALIGN_BEFORE_AFTER$:
      $vertical$$ = [$top$$9$$, $bottom$$1$$, $top$$9$$, $bottom$$1$$];
      $horizontal$$ = [$end$$4$$, $end$$4$$, $end$$4$$, $start$$20$$];
      break;
    default:
      $AdfAssert$$.assert(!1, "Invalid alignmentHint provided");
  }
  return {$horizontalBehavior$:$JSCompiler_StaticMethods__getBehavior$$($JSCompiler_StaticMethods__getHintBehavior$self$$, $horizontal$$), $verticalBehavior$:$JSCompiler_StaticMethods__getBehavior$$($JSCompiler_StaticMethods__getHintBehavior$self$$, $vertical$$), $insideBorder$:$insideBorder$$};
}
function $JSCompiler_StaticMethods__inversePosition$$($position$$2$$) {
  switch($position$$2$$) {
    case $AdfDhtmlPositionManager$$.$TOP$:
      return $AdfDhtmlPositionManager$$.$BOTTOM$;
    case $AdfDhtmlPositionManager$$.$BOTTOM$:
      return $AdfDhtmlPositionManager$$.$TOP$;
    case $AdfDhtmlPositionManager$$.$MIDDLE$:
      return $AdfDhtmlPositionManager$$.$MIDDLE$;
    case $AdfDhtmlPositionManager$$.$LEFT$:
      return $AdfDhtmlPositionManager$$.$RIGHT$;
    case $AdfDhtmlPositionManager$$.$RIGHT$:
      return $AdfDhtmlPositionManager$$.$LEFT$;
    case $AdfDhtmlPositionManager$$.$CENTER$:
      return $AdfDhtmlPositionManager$$.$CENTER$;
  }
}
function $JSCompiler_StaticMethods__positionToString$$($position$$3$$) {
  switch($position$$3$$) {
    case $AdfDhtmlPositionManager$$.$TOP$:
      return "Top";
    case $AdfDhtmlPositionManager$$.$BOTTOM$:
      return "Bottom";
    case $AdfDhtmlPositionManager$$.$MIDDLE$:
      return "Middle";
    case $AdfDhtmlPositionManager$$.$LEFT$:
      return "Left";
    case $AdfDhtmlPositionManager$$.$RIGHT$:
      return "Right";
    case $AdfDhtmlPositionManager$$.$CENTER$:
      return "Center";
  }
}
function $JSCompiler_StaticMethods__getBehavior$$($JSCompiler_StaticMethods__getBehavior$self$$, $preference$$) {
  for (var $behaviors$$6$$ = [], $i$$213$$ = 0;$i$$213$$ < $preference$$.length;$i$$213$$ += 2) {
    $behaviors$$6$$.splice(0, 0, {$alignElementAnchor$:$preference$$[$i$$213$$], $floatingElementAnchor$:$preference$$[$i$$213$$ + 1], $condition$:$JSCompiler_StaticMethods__getBehavior$self$$["_prefer" + $JSCompiler_StaticMethods__positionToString$$($JSCompiler_StaticMethods__inversePosition$$($preference$$[$i$$213$$])) + $JSCompiler_StaticMethods__positionToString$$($JSCompiler_StaticMethods__inversePosition$$($preference$$[$i$$213$$ + 1])) + "Condition"]}, {$alignElementAnchor$:$JSCompiler_StaticMethods__inversePosition$$($preference$$[$i$$213$$]), 
    $floatingElementAnchor$:$JSCompiler_StaticMethods__inversePosition$$($preference$$[$i$$213$$ + 1]), $condition$:$JSCompiler_StaticMethods__getBehavior$self$$["_prefer" + $JSCompiler_StaticMethods__positionToString$$($preference$$[$i$$213$$]) + $JSCompiler_StaticMethods__positionToString$$($preference$$[$i$$213$$ + 1]) + "Condition"]});
  }
  return $behaviors$$6$$;
}
function $JSCompiler_StaticMethods__getAlignBox$$($alignElement$$8_bottom$$2_rect$$, $alignPosition$$1_left$$11$$, $insideBorder$$1_top$$11$$) {
  var $agent$$131_pos$$14_width$$22$$ = $AdfAgent$$.$AGENT$, $right$$3$$, $height$$27$$;
  $alignElement$$8_bottom$$2_rect$$ ? ($agent$$131_pos$$14_width$$22$$ = $agent$$131_pos$$14_width$$22$$.$getElementPosition$($alignElement$$8_bottom$$2_rect$$), $alignElement$$8_bottom$$2_rect$$ instanceof SVGElement ? ($insideBorder$$1_top$$11$$ = $agent$$131_pos$$14_width$$22$$.y, $alignPosition$$1_left$$11$$ = $agent$$131_pos$$14_width$$22$$.x, $alignElement$$8_bottom$$2_rect$$ = $alignElement$$8_bottom$$2_rect$$.getBoundingClientRect(), $agent$$131_pos$$14_width$$22$$ = $alignElement$$8_bottom$$2_rect$$.width, 
  $height$$27$$ = $alignElement$$8_bottom$$2_rect$$.height) : $insideBorder$$1_top$$11$$ ? ($insideBorder$$1_top$$11$$ = $agent$$131_pos$$14_width$$22$$.y + $alignElement$$8_bottom$$2_rect$$.clientTop, $alignPosition$$1_left$$11$$ = $agent$$131_pos$$14_width$$22$$.x + $alignElement$$8_bottom$$2_rect$$.clientLeft, $agent$$131_pos$$14_width$$22$$ = $alignElement$$8_bottom$$2_rect$$.clientWidth, $height$$27$$ = $alignElement$$8_bottom$$2_rect$$.clientHeight) : ($insideBorder$$1_top$$11$$ = $agent$$131_pos$$14_width$$22$$.y, 
  $alignPosition$$1_left$$11$$ = $agent$$131_pos$$14_width$$22$$.x, $agent$$131_pos$$14_width$$22$$ = $alignElement$$8_bottom$$2_rect$$.offsetWidth, $height$$27$$ = $alignElement$$8_bottom$$2_rect$$.offsetHeight), $alignElement$$8_bottom$$2_rect$$ = $insideBorder$$1_top$$11$$ + $height$$27$$, $right$$3$$ = $alignPosition$$1_left$$11$$ + $agent$$131_pos$$14_width$$22$$) : ($height$$27$$ = $agent$$131_pos$$14_width$$22$$ = 0, null == $alignPosition$$1_left$$11$$ ? $right$$3$$ = $alignPosition$$1_left$$11$$ = 
  $alignElement$$8_bottom$$2_rect$$ = $insideBorder$$1_top$$11$$ = 0 : ($alignElement$$8_bottom$$2_rect$$ = $insideBorder$$1_top$$11$$ = $alignPosition$$1_left$$11$$.y, $right$$3$$ = $alignPosition$$1_left$$11$$ = $alignPosition$$1_left$$11$$.x));
  return {top:$insideBorder$$1_top$$11$$, bottom:$alignElement$$8_bottom$$2_rect$$, left:$alignPosition$$1_left$$11$$, right:$right$$3$$, width:$agent$$131_pos$$14_width$$22$$, height:$height$$27$$};
}
$AdfDhtmlPositionManager$$.prototype.$_preferTopTopCondition$ = function $$AdfDhtmlPositionManager$$$$$_preferTopTopCondition$$($box$$4_isValid$$, $alignBox$$1_fitsAbove$$, $inverse$$) {
  var $agent$$132_fitsBelow$$ = $AdfAgent$$.$AGENT$, $fitsShadowDownward_logger$$6_windowHeight$$1$$ = $agent$$132_fitsBelow$$.getWindowHeight(), $scrollTop$$11$$ = $agent$$132_fitsBelow$$.$getBrowserViewportScrollTop$(), $shadowSize$$1$$ = $AdfDhtmlShadowDecorator$$.$getShadowSize$(), $agent$$132_fitsBelow$$ = $alignBox$$1_fitsAbove$$.top + $box$$4_isValid$$.height <= $fitsShadowDownward_logger$$6_windowHeight$$1$$ + $scrollTop$$11$$, $fitsShadowDownward_logger$$6_windowHeight$$1$$ = $alignBox$$1_fitsAbove$$.bottom + 
  $shadowSize$$1$$ <= $fitsShadowDownward_logger$$6_windowHeight$$1$$ + $scrollTop$$11$$;
  $alignBox$$1_fitsAbove$$ = $alignBox$$1_fitsAbove$$.bottom - ($box$$4_isValid$$.height - $shadowSize$$1$$) >= $scrollTop$$11$$ && $fitsShadowDownward_logger$$6_windowHeight$$1$$;
  $box$$4_isValid$$ = $inverse$$ ? $agent$$132_fitsBelow$$ : $alignBox$$1_fitsAbove$$;
  ($fitsShadowDownward_logger$$6_windowHeight$$1$$ = this.$_logger$) && $fitsShadowDownward_logger$$6_windowHeight$$1$$.$logMessage$($AdfLogger$$.FINEST, ($inverse$$ ? "_preferBottomBottomCondition" : "_preferTopTopCondition") + " fitsBelow\x3d" + $agent$$132_fitsBelow$$ + " fitsAbove\x3d" + $alignBox$$1_fitsAbove$$ + " return\x3d" + $box$$4_isValid$$ + " usedBy\x3d" + ($inverse$$ ? "end_before, start_before, overlap" : "end_after, start_after"));
  return $box$$4_isValid$$;
};
$AdfDhtmlPositionManager$$.prototype._preferTopTopCondition = $AdfDhtmlPositionManager$$.prototype.$_preferTopTopCondition$;
$AdfDhtmlPositionManager$$.prototype.$_preferMiddleMiddleCondition$ = function $$AdfDhtmlPositionManager$$$$$_preferMiddleMiddleCondition$$($box$$5$$, $alignBox$$2$$) {
  var $agent$$133_isValid$$1_scrollTop$$12$$ = $AdfAgent$$.$AGENT$, $fitsBelow$$1_windowHeight$$2$$ = $agent$$133_isValid$$1_scrollTop$$12$$.getWindowHeight(), $agent$$133_isValid$$1_scrollTop$$12$$ = $agent$$133_isValid$$1_scrollTop$$12$$.$getBrowserViewportScrollTop$(), $logger$$7_shadowSize$$2$$ = $AdfDhtmlShadowDecorator$$.$getShadowSize$(), $boxHeightWithoutShadow$$1_fitsAbove$$1$$ = $box$$5$$.height - $logger$$7_shadowSize$$2$$, $fitsBelow$$1_windowHeight$$2$$ = $alignBox$$2$$.top + $alignBox$$2$$.height / 
  2 + $boxHeightWithoutShadow$$1_fitsAbove$$1$$ / 2 + $logger$$7_shadowSize$$2$$ <= $fitsBelow$$1_windowHeight$$2$$ + $agent$$133_isValid$$1_scrollTop$$12$$, $boxHeightWithoutShadow$$1_fitsAbove$$1$$ = $alignBox$$2$$.bottom - $alignBox$$2$$.height / 2 - $boxHeightWithoutShadow$$1_fitsAbove$$1$$ / 2 >= $agent$$133_isValid$$1_scrollTop$$12$$, $agent$$133_isValid$$1_scrollTop$$12$$ = $fitsBelow$$1_windowHeight$$2$$ && $boxHeightWithoutShadow$$1_fitsAbove$$1$$;
  ($logger$$7_shadowSize$$2$$ = this.$_logger$) && $logger$$7_shadowSize$$2$$.$logMessage$($AdfLogger$$.FINEST, "_preferMiddleMiddleCondition fitsBelow\x3d" + $fitsBelow$$1_windowHeight$$2$$ + " fitsAbove\x3d" + $boxHeightWithoutShadow$$1_fitsAbove$$1$$ + " return\x3d" + $agent$$133_isValid$$1_scrollTop$$12$$ + " usedBy\x3dend_center, start_center");
  return $agent$$133_isValid$$1_scrollTop$$12$$;
};
$AdfDhtmlPositionManager$$.prototype._preferMiddleMiddleCondition = $AdfDhtmlPositionManager$$.prototype.$_preferMiddleMiddleCondition$;
$AdfDhtmlPositionManager$$.prototype.$_preferCenterCenterCondition$ = function $$AdfDhtmlPositionManager$$$$$_preferCenterCenterCondition$$($box$$6$$, $alignBox$$3$$) {
  var $agent$$134_isValid$$2_scrollLeft$$13$$ = $AdfAgent$$.$AGENT$, $fitsToRight_windowWidth$$1$$ = $agent$$134_isValid$$2_scrollLeft$$13$$.getWindowWidth(), $agent$$134_isValid$$2_scrollLeft$$13$$ = $agent$$134_isValid$$2_scrollLeft$$13$$.$getBrowserViewportScrollLeft$(), $fitsToLeft_shadowSize$$3$$ = $AdfDhtmlShadowDecorator$$.$getShadowSize$(), $boxWidthWithoutShadow_logger$$8$$ = $box$$6$$.width - $fitsToLeft_shadowSize$$3$$;
  this.$_isRTL$ ? ($fitsToRight_windowWidth$$1$$ = $alignBox$$3$$.left + $alignBox$$3$$.width / 2 + $boxWidthWithoutShadow_logger$$8$$ / 2 <= $fitsToRight_windowWidth$$1$$ + $agent$$134_isValid$$2_scrollLeft$$13$$, $fitsToLeft_shadowSize$$3$$ = $alignBox$$3$$.right - $alignBox$$3$$.width / 2 - $boxWidthWithoutShadow_logger$$8$$ / 2 - $fitsToLeft_shadowSize$$3$$ >= $agent$$134_isValid$$2_scrollLeft$$13$$) : ($fitsToRight_windowWidth$$1$$ = $alignBox$$3$$.left + $alignBox$$3$$.width / 2 + $boxWidthWithoutShadow_logger$$8$$ / 
  2 + $fitsToLeft_shadowSize$$3$$ <= $fitsToRight_windowWidth$$1$$ + $agent$$134_isValid$$2_scrollLeft$$13$$, $fitsToLeft_shadowSize$$3$$ = $alignBox$$3$$.right - $alignBox$$3$$.width / 2 - $boxWidthWithoutShadow_logger$$8$$ / 2 >= $agent$$134_isValid$$2_scrollLeft$$13$$);
  $agent$$134_isValid$$2_scrollLeft$$13$$ = $fitsToRight_windowWidth$$1$$ && $fitsToLeft_shadowSize$$3$$;
  ($boxWidthWithoutShadow_logger$$8$$ = this.$_logger$) && $boxWidthWithoutShadow_logger$$8$$.$logMessage$($AdfLogger$$.FINEST, "_preferCenterCenterCondition fitsToRight\x3d" + $fitsToRight_windowWidth$$1$$ + " fitsToLeft\x3d" + $fitsToLeft_shadowSize$$3$$ + " return\x3d" + $agent$$134_isValid$$2_scrollLeft$$13$$ + " usedBy\x3dafter_center, before_center");
  return $agent$$134_isValid$$2_scrollLeft$$13$$;
};
$AdfDhtmlPositionManager$$.prototype._preferCenterCenterCondition = $AdfDhtmlPositionManager$$.prototype.$_preferCenterCenterCondition$;
$AdfDhtmlPositionManager$$.prototype.$_preferBottomBottomCondition$ = function $$AdfDhtmlPositionManager$$$$$_preferBottomBottomCondition$$($box$$7$$, $alignBox$$4$$) {
  return this.$_preferTopTopCondition$($box$$7$$, $alignBox$$4$$, !0);
};
$AdfDhtmlPositionManager$$.prototype._preferBottomBottomCondition = $AdfDhtmlPositionManager$$.prototype.$_preferBottomBottomCondition$;
$AdfDhtmlPositionManager$$.prototype.$_preferBottomTopCondition$ = function $$AdfDhtmlPositionManager$$$$$_preferBottomTopCondition$$($box$$8_isValid$$3$$, $alignBox$$5_fitsBelow$$2$$, $inverse$$1$$) {
  var $agent$$135_fitsAbove$$2_shadowSize$$4$$ = $AdfAgent$$.$AGENT$, $logger$$9_windowHeight$$3$$ = $agent$$135_fitsAbove$$2_shadowSize$$4$$.getWindowHeight(), $scrollTop$$13$$ = $agent$$135_fitsAbove$$2_shadowSize$$4$$.$getBrowserViewportScrollTop$(), $agent$$135_fitsAbove$$2_shadowSize$$4$$ = $AdfDhtmlShadowDecorator$$.$getShadowSize$(), $fitsShadowDownward$$1$$ = $alignBox$$5_fitsBelow$$2$$.top + $agent$$135_fitsAbove$$2_shadowSize$$4$$ <= $logger$$9_windowHeight$$3$$ + $scrollTop$$13$$, $agent$$135_fitsAbove$$2_shadowSize$$4$$ = 
  $alignBox$$5_fitsBelow$$2$$.top - ($box$$8_isValid$$3$$.height - $agent$$135_fitsAbove$$2_shadowSize$$4$$) >= $scrollTop$$13$$ && $fitsShadowDownward$$1$$;
  $alignBox$$5_fitsBelow$$2$$ = $alignBox$$5_fitsBelow$$2$$.bottom + $box$$8_isValid$$3$$.height <= $logger$$9_windowHeight$$3$$ + $scrollTop$$13$$;
  $box$$8_isValid$$3$$ = $inverse$$1$$ ? $alignBox$$5_fitsBelow$$2$$ : $agent$$135_fitsAbove$$2_shadowSize$$4$$;
  ($logger$$9_windowHeight$$3$$ = this.$_logger$) && $logger$$9_windowHeight$$3$$.$logMessage$($AdfLogger$$.FINEST, ($inverse$$1$$ ? "_preferTopBottomCondition" : "_preferBottomTopCondition") + " fitsAbove\x3d" + $agent$$135_fitsAbove$$2_shadowSize$$4$$ + " fitsBelow\x3d" + $alignBox$$5_fitsBelow$$2$$ + " return\x3d" + $box$$8_isValid$$3$$ + " usedBy\x3d" + ($inverse$$1$$ ? "after_start, after_end" : "before_start, before_end, before_after"));
  return $box$$8_isValid$$3$$;
};
$AdfDhtmlPositionManager$$.prototype._preferBottomTopCondition = $AdfDhtmlPositionManager$$.prototype.$_preferBottomTopCondition$;
$AdfDhtmlPositionManager$$.prototype.$_preferTopBottomCondition$ = function $$AdfDhtmlPositionManager$$$$$_preferTopBottomCondition$$($box$$9$$, $alignBox$$6$$) {
  return this.$_preferBottomTopCondition$($box$$9$$, $alignBox$$6$$, !0);
};
$AdfDhtmlPositionManager$$.prototype._preferTopBottomCondition = $AdfDhtmlPositionManager$$.prototype.$_preferTopBottomCondition$;
$AdfDhtmlPositionManager$$.prototype.$_preferLeftLeftCondition$ = function $$AdfDhtmlPositionManager$$$$$_preferLeftLeftCondition$$($box$$10_fitsShadowLeftward_fitsToRight$$1$$, $alignBox$$7_isValid$$4$$, $inverse$$2$$) {
  var $agent$$136_scrollLeft$$14$$ = $AdfAgent$$.$AGENT$, $fitsShadowRightward_logger$$10_windowWidth$$2$$ = $agent$$136_scrollLeft$$14$$.getWindowWidth(), $agent$$136_scrollLeft$$14$$ = $agent$$136_scrollLeft$$14$$.$getBrowserViewportScrollLeft$(), $shadowSize$$5$$ = $AdfDhtmlShadowDecorator$$.$getShadowSize$(), $boxWidthWithoutShadow$$1$$ = $box$$10_fitsShadowLeftward_fitsToRight$$1$$.width + $box$$10_fitsShadowLeftward_fitsToRight$$1$$.$tailWidth$ - $shadowSize$$5$$, $fitsToLeft$$1$$;
  this.$_isRTL$ ? ($fitsToLeft$$1$$ = $alignBox$$7_isValid$$4$$.right - ($box$$10_fitsShadowLeftward_fitsToRight$$1$$.width + $box$$10_fitsShadowLeftward_fitsToRight$$1$$.$tailWidth$) >= $agent$$136_scrollLeft$$14$$, $box$$10_fitsShadowLeftward_fitsToRight$$1$$ = $alignBox$$7_isValid$$4$$.left - $shadowSize$$5$$ >= $agent$$136_scrollLeft$$14$$, $box$$10_fitsShadowLeftward_fitsToRight$$1$$ = $alignBox$$7_isValid$$4$$.left + $boxWidthWithoutShadow$$1$$ <= $fitsShadowRightward_logger$$10_windowWidth$$2$$ + 
  $agent$$136_scrollLeft$$14$$ && $box$$10_fitsShadowLeftward_fitsToRight$$1$$) : ($box$$10_fitsShadowLeftward_fitsToRight$$1$$ = $alignBox$$7_isValid$$4$$.left + $box$$10_fitsShadowLeftward_fitsToRight$$1$$.width + $box$$10_fitsShadowLeftward_fitsToRight$$1$$.$tailWidth$ <= $fitsShadowRightward_logger$$10_windowWidth$$2$$ + $agent$$136_scrollLeft$$14$$, $fitsShadowRightward_logger$$10_windowWidth$$2$$ = $alignBox$$7_isValid$$4$$.right + $shadowSize$$5$$ <= $fitsShadowRightward_logger$$10_windowWidth$$2$$ + 
  $agent$$136_scrollLeft$$14$$, $fitsToLeft$$1$$ = $alignBox$$7_isValid$$4$$.right - $boxWidthWithoutShadow$$1$$ >= $agent$$136_scrollLeft$$14$$ && $fitsShadowRightward_logger$$10_windowWidth$$2$$);
  $alignBox$$7_isValid$$4$$ = $inverse$$2$$ ? $box$$10_fitsShadowLeftward_fitsToRight$$1$$ : $fitsToLeft$$1$$;
  ($fitsShadowRightward_logger$$10_windowWidth$$2$$ = this.$_logger$) && $fitsShadowRightward_logger$$10_windowWidth$$2$$.$logMessage$($AdfLogger$$.FINEST, ($inverse$$2$$ ? "_preferRightRightCondition" : "_preferLeftLeftCondition") + " fitsToRight\x3d" + $box$$10_fitsShadowLeftward_fitsToRight$$1$$ + " fitsToLeft\x3d" + $fitsToLeft$$1$$ + " return\x3d" + $alignBox$$7_isValid$$4$$ + " usedBy\x3d" + ($inverse$$2$$ ? "after_start, before_start, overlap" : "after_end, before_end, before_after"));
  return $alignBox$$7_isValid$$4$$;
};
$AdfDhtmlPositionManager$$.prototype._preferLeftLeftCondition = $AdfDhtmlPositionManager$$.prototype.$_preferLeftLeftCondition$;
$AdfDhtmlPositionManager$$.prototype.$_preferRightRightCondition$ = function $$AdfDhtmlPositionManager$$$$$_preferRightRightCondition$$($box$$11$$, $alignBox$$8$$) {
  return this.$_preferLeftLeftCondition$($box$$11$$, $alignBox$$8$$, !0);
};
$AdfDhtmlPositionManager$$.prototype._preferRightRightCondition = $AdfDhtmlPositionManager$$.prototype.$_preferRightRightCondition$;
$AdfDhtmlPositionManager$$.prototype.$_preferRightLeftCondition$ = function $$AdfDhtmlPositionManager$$$$$_preferRightLeftCondition$$($box$$12_isValid$$5$$, $alignBox$$9_logger$$11$$, $inverse$$3$$) {
  var $agent$$137_scrollLeft$$15$$ = $AdfAgent$$.$AGENT$, $fitsToRight$$2_windowWidth$$3$$ = $agent$$137_scrollLeft$$15$$.getWindowWidth(), $agent$$137_scrollLeft$$15$$ = $agent$$137_scrollLeft$$15$$.$getBrowserViewportScrollLeft$(), $fitsShadowLeftward$$1_fitsShadowRightward$$1_shadowSize$$6$$ = $AdfDhtmlShadowDecorator$$.$getShadowSize$(), $boxWidthWithoutShadow$$2_fitsToLeft$$2$$ = $box$$12_isValid$$5$$.width + $box$$12_isValid$$5$$.$tailWidth$ - $fitsShadowLeftward$$1_fitsShadowRightward$$1_shadowSize$$6$$;
  this.$_isRTL$ ? ($fitsShadowLeftward$$1_fitsShadowRightward$$1_shadowSize$$6$$ = $alignBox$$9_logger$$11$$.right - $fitsShadowLeftward$$1_fitsShadowRightward$$1_shadowSize$$6$$ >= $agent$$137_scrollLeft$$15$$, $fitsToRight$$2_windowWidth$$3$$ = $alignBox$$9_logger$$11$$.right + $boxWidthWithoutShadow$$2_fitsToLeft$$2$$ < $fitsToRight$$2_windowWidth$$3$$ + $agent$$137_scrollLeft$$15$$ && $fitsShadowLeftward$$1_fitsShadowRightward$$1_shadowSize$$6$$, $boxWidthWithoutShadow$$2_fitsToLeft$$2$$ = $alignBox$$9_logger$$11$$.left - 
  ($box$$12_isValid$$5$$.width + $box$$12_isValid$$5$$.$tailWidth$) >= $agent$$137_scrollLeft$$15$$) : ($fitsShadowLeftward$$1_fitsShadowRightward$$1_shadowSize$$6$$ = $alignBox$$9_logger$$11$$.left + $fitsShadowLeftward$$1_fitsShadowRightward$$1_shadowSize$$6$$ < $fitsToRight$$2_windowWidth$$3$$ + $agent$$137_scrollLeft$$15$$, $boxWidthWithoutShadow$$2_fitsToLeft$$2$$ = $alignBox$$9_logger$$11$$.left - $boxWidthWithoutShadow$$2_fitsToLeft$$2$$ >= $agent$$137_scrollLeft$$15$$ && $fitsShadowLeftward$$1_fitsShadowRightward$$1_shadowSize$$6$$, 
  $fitsToRight$$2_windowWidth$$3$$ = $alignBox$$9_logger$$11$$.right + ($box$$12_isValid$$5$$.width + $box$$12_isValid$$5$$.$tailWidth$) < $fitsToRight$$2_windowWidth$$3$$ + $agent$$137_scrollLeft$$15$$);
  $box$$12_isValid$$5$$ = $inverse$$3$$ ? $fitsToRight$$2_windowWidth$$3$$ : $boxWidthWithoutShadow$$2_fitsToLeft$$2$$;
  ($alignBox$$9_logger$$11$$ = this.$_logger$) && $alignBox$$9_logger$$11$$.$logMessage$($AdfLogger$$.FINEST, ($inverse$$3$$ ? "_preferLeftRightCondition" : "_preferRightLeftCondition") + " fitsToLeft\x3d" + $boxWidthWithoutShadow$$2_fitsToLeft$$2$$ + " fitsToRight\x3d" + $fitsToRight$$2_windowWidth$$3$$ + " return\x3d" + $box$$12_isValid$$5$$ + " usedBy\x3d" + ($inverse$$3$$ ? "end_before, before_after" : "start_after, start_before"));
  return $box$$12_isValid$$5$$;
};
$AdfDhtmlPositionManager$$.prototype._preferRightLeftCondition = $AdfDhtmlPositionManager$$.prototype.$_preferRightLeftCondition$;
$AdfDhtmlPositionManager$$.prototype.$_preferLeftRightCondition$ = function $$AdfDhtmlPositionManager$$$$$_preferLeftRightCondition$$($box$$13$$, $alignBox$$10$$) {
  return this.$_preferRightLeftCondition$($box$$13$$, $alignBox$$10$$, !0);
};
$AdfDhtmlPositionManager$$.prototype._preferLeftRightCondition = $AdfDhtmlPositionManager$$.prototype.$_preferLeftRightCondition$;
function $JSCompiler_StaticMethods__convertHorizontal$$($JSCompiler_StaticMethods__convertHorizontal$self$$, $horizontalHint$$) {
  return "start" == $horizontalHint$$ && $JSCompiler_StaticMethods__convertHorizontal$self$$.$_isRTL$ || "end" == $horizontalHint$$ && !$JSCompiler_StaticMethods__convertHorizontal$self$$.$_isRTL$ ? $AdfDhtmlPositionManager$$.$RIGHT$ : $AdfDhtmlPositionManager$$.$LEFT$;
}
$AdfDhtmlPositionManager$$.prototype.$removeElement$ = function $$AdfDhtmlPositionManager$$$$$removeElement$$($agent$$inline_929_index$$114$$) {
  delete this.$_elements$[$agent$$inline_929_index$$114$$];
  if (1 > this.$getElementCount$()) {
    $agent$$inline_929_index$$114$$ = $AdfAgent$$.$AGENT$;
    var $domWindow$$inline_930$$ = $agent$$inline_929_index$$114$$.$getDomWindow$(), $domDocument$$inline_931$$ = $agent$$inline_929_index$$114$$.$getDomDocument$(), $resizeCallback$$inline_932$$ = this.$_repostionOnScrollCallback$;
    $resizeCallback$$inline_932$$ && ($agent$$inline_929_index$$114$$.$removeBubbleEventListener$($domDocument$$inline_931$$, "mousewheel", $resizeCallback$$inline_932$$), $agent$$inline_929_index$$114$$.$removeBubbleEventListener$($domWindow$$inline_930$$, "scroll", $resizeCallback$$inline_932$$), $agent$$inline_929_index$$114$$.$removeBubbleEventListener$($domDocument$$inline_931$$, "DOMMouseScroll", $resizeCallback$$inline_932$$), $agent$$inline_929_index$$114$$.$removeBubbleEventListener$($domWindow$$inline_930$$, 
    "resize", $resizeCallback$$inline_932$$));
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPositionManager.prototype.removeElement", {$removeElement$:$AdfDhtmlPositionManager$$.prototype.$removeElement$});
$AdfDhtmlPositionManager$$.prototype.$managesElement$ = function $$AdfDhtmlPositionManager$$$$$managesElement$$($element$$169$$) {
  return $AdfPage$$.$PAGE$.$getZOrderManager$().$containsElement$($element$$169$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPositionManager.prototype.managesElement", {$managesElement$:$AdfDhtmlPositionManager$$.prototype.$managesElement$});
$AdfDhtmlPositionManager$$.prototype.$validatePosition$ = function $$AdfDhtmlPositionManager$$$$$validatePosition$$($floatingElement$$5_index$$115$$) {
  var $computedBehavior$$inline_951_dndContext$$66_newPosition$$inline_954_wrapper$$16$$ = $AdfPage$$.$PAGE$.$getDnDContext$();
  if (!$computedBehavior$$inline_951_dndContext$$66_newPosition$$inline_954_wrapper$$16$$ || !$computedBehavior$$inline_951_dndContext$$66_newPosition$$inline_954_wrapper$$16$$.$isDragging$()) {
    if ($computedBehavior$$inline_951_dndContext$$66_newPosition$$inline_954_wrapper$$16$$ = this.$_elements$[$floatingElement$$5_index$$115$$], null != $computedBehavior$$inline_951_dndContext$$66_newPosition$$inline_954_wrapper$$16$$) {
      $floatingElement$$5_index$$115$$ = $computedBehavior$$inline_951_dndContext$$66_newPosition$$inline_954_wrapper$$16$$.element;
      var $alignBox$$11_alignElement$$10$$ = $floatingElement$$5_index$$115$$.$getAlignElement$(), $alignPosition$$2_verticalBehavior$$2$$ = $floatingElement$$5_index$$115$$.$getAlignPosition$(), $horizontalBehavior$$2_insideBorder$$3$$ = $computedBehavior$$inline_951_dndContext$$66_newPosition$$inline_954_wrapper$$16$$.$insideBorder$, $agent$$inline_935_top$$inline_940$$ = $AdfAgent$$.$AGENT$, $el$$inline_936_firstChild$$inline_942_shadowSize$$inline_943_tailWidth$$inline_944$$ = $floatingElement$$5_index$$115$$.$getElement$(), 
      $box$$inline_947_width$$inline_937$$ = $el$$inline_936_firstChild$$inline_942_shadowSize$$inline_943_tailWidth$$inline_944$$.offsetWidth, $height$$inline_938$$ = $el$$inline_936_firstChild$$inline_942_shadowSize$$inline_943_tailWidth$$inline_944$$.offsetHeight, $left$$inline_941_pos$$inline_939$$ = $agent$$inline_935_top$$inline_940$$.$getElementPosition$($el$$inline_936_firstChild$$inline_942_shadowSize$$inline_943_tailWidth$$inline_944$$), $agent$$inline_935_top$$inline_940$$ = $left$$inline_941_pos$$inline_939$$.y, 
      $left$$inline_941_pos$$inline_939$$ = $left$$inline_941_pos$$inline_939$$.x;
      0 == $box$$inline_947_width$$inline_937$$ && ($el$$inline_936_firstChild$$inline_942_shadowSize$$inline_943_tailWidth$$inline_944$$ = $el$$inline_936_firstChild$$inline_942_shadowSize$$inline_943_tailWidth$$inline_944$$.firstChild) && ($box$$inline_947_width$$inline_937$$ = $el$$inline_936_firstChild$$inline_942_shadowSize$$inline_943_tailWidth$$inline_944$$.offsetWidth, $height$$inline_938$$ = $el$$inline_936_firstChild$$inline_942_shadowSize$$inline_943_tailWidth$$inline_944$$.offsetHeight);
      var $el$$inline_936_firstChild$$inline_942_shadowSize$$inline_943_tailWidth$$inline_944$$ = $AdfDhtmlShadowDecorator$$.$getShadowSize$(), $height$$inline_938$$ = $height$$inline_938$$ + $el$$inline_936_firstChild$$inline_942_shadowSize$$inline_943_tailWidth$$inline_944$$, $box$$inline_947_width$$inline_937$$ = $box$$inline_947_width$$inline_937$$ + $el$$inline_936_firstChild$$inline_942_shadowSize$$inline_943_tailWidth$$inline_944$$, $tailElement$$inline_946_tailHeight$$inline_945$$ = $el$$inline_936_firstChild$$inline_942_shadowSize$$inline_943_tailWidth$$inline_944$$ = 
      0;
      $floatingElement$$5_index$$115$$.$getTailElement$ && $floatingElement$$5_index$$115$$.$getTailElement$() && ($tailElement$$inline_946_tailHeight$$inline_945$$ = $floatingElement$$5_index$$115$$.$getTailElement$(), $el$$inline_936_firstChild$$inline_942_shadowSize$$inline_943_tailWidth$$inline_944$$ = $tailElement$$inline_946_tailHeight$$inline_945$$.offsetWidth, $tailElement$$inline_946_tailHeight$$inline_945$$ = $tailElement$$inline_946_tailHeight$$inline_945$$.offsetHeight);
      $box$$inline_947_width$$inline_937$$ = {top:$agent$$inline_935_top$$inline_940$$, right:$left$$inline_941_pos$$inline_939$$ + $box$$inline_947_width$$inline_937$$, bottom:$agent$$inline_935_top$$inline_940$$ + $height$$inline_938$$, left:$left$$inline_941_pos$$inline_939$$, width:$box$$inline_947_width$$inline_937$$, height:$height$$inline_938$$, $tailWidth$:$el$$inline_936_firstChild$$inline_942_shadowSize$$inline_943_tailWidth$$inline_944$$, $tailHeight$:$tailElement$$inline_946_tailHeight$$inline_945$$};
      $box$$inline_947_width$$inline_937$$.inversePosition = $floatingElement$$5_index$$115$$.$shouldInvertPosition$();
      $alignBox$$11_alignElement$$10$$ = $JSCompiler_StaticMethods__getAlignBox$$($alignBox$$11_alignElement$$10$$, $alignPosition$$2_verticalBehavior$$2$$, $horizontalBehavior$$2_insideBorder$$3$$);
      $alignPosition$$2_verticalBehavior$$2$$ = $JSCompiler_StaticMethods__selectBehavior$$(this, $computedBehavior$$inline_951_dndContext$$66_newPosition$$inline_954_wrapper$$16$$.$verticalBehaviors$, $box$$inline_947_width$$inline_937$$, $alignBox$$11_alignElement$$10$$);
      $horizontalBehavior$$2_insideBorder$$3$$ = $JSCompiler_StaticMethods__selectBehavior$$(this, $computedBehavior$$inline_951_dndContext$$66_newPosition$$inline_954_wrapper$$16$$.$horizontalBehaviors$, $box$$inline_947_width$$inline_937$$, $alignBox$$11_alignElement$$10$$);
      $computedBehavior$$inline_951_dndContext$$66_newPosition$$inline_954_wrapper$$16$$.$_computedBehavior$ = {};
      $computedBehavior$$inline_951_dndContext$$66_newPosition$$inline_954_wrapper$$16$$.$_computedBehavior$.$verticalBehavior$ = $alignPosition$$2_verticalBehavior$$2$$;
      $computedBehavior$$inline_951_dndContext$$66_newPosition$$inline_954_wrapper$$16$$.$_computedBehavior$.$horizontalBehavior$ = $horizontalBehavior$$2_insideBorder$$3$$;
      $computedBehavior$$inline_951_dndContext$$66_newPosition$$inline_954_wrapper$$16$$ = $computedBehavior$$inline_951_dndContext$$66_newPosition$$inline_954_wrapper$$16$$.$_computedBehavior$;
      $computedBehavior$$inline_951_dndContext$$66_newPosition$$inline_954_wrapper$$16$$ = $JSCompiler_StaticMethods__getNewPosition$$($computedBehavior$$inline_951_dndContext$$66_newPosition$$inline_954_wrapper$$16$$.$horizontalBehavior$, $computedBehavior$$inline_951_dndContext$$66_newPosition$$inline_954_wrapper$$16$$.$verticalBehavior$, $box$$inline_947_width$$inline_937$$, $alignBox$$11_alignElement$$10$$);
      $floatingElement$$5_index$$115$$.setPosition($computedBehavior$$inline_951_dndContext$$66_newPosition$$inline_954_wrapper$$16$$.y, $computedBehavior$$inline_951_dndContext$$66_newPosition$$inline_954_wrapper$$16$$.x);
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPositionManager.prototype.validatePosition", {$validatePosition$:$AdfDhtmlPositionManager$$.prototype.$validatePosition$});
function $JSCompiler_StaticMethods__selectBehavior$$($JSCompiler_StaticMethods__selectBehavior$self$$, $behaviors$$7$$, $box$$15$$, $alignBox$$12$$) {
  if (!$box$$15$$.inversePosition) {
    return $behaviors$$7$$[0];
  }
  for (var $behavior$$4$$, $i$$214$$ = 0;!$behavior$$4$$ && $i$$214$$ < $behaviors$$7$$.length;$i$$214$$++) {
    $behaviors$$7$$[$i$$214$$].$condition$.call($JSCompiler_StaticMethods__selectBehavior$self$$, $box$$15$$, $alignBox$$12$$) && ($behavior$$4$$ = $behaviors$$7$$[$i$$214$$]);
  }
  $behavior$$4$$ || ($behavior$$4$$ = $behaviors$$7$$[0]);
  return $behavior$$4$$;
}
$AdfDhtmlPositionManager$$.prototype.$getComputedBehavior$ = function $$AdfDhtmlPositionManager$$$$$getComputedBehavior$$($index$$116_wrapper$$17$$) {
  $index$$116_wrapper$$17$$ = this.$_elements$[$index$$116_wrapper$$17$$];
  if (null != $index$$116_wrapper$$17$$) {
    return $index$$116_wrapper$$17$$.$_computedBehavior$;
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPositionManager.prototype.getComputedBehavior", {$getComputedBehavior$:$AdfDhtmlPositionManager$$.prototype.$getComputedBehavior$});
function $JSCompiler_StaticMethods__getNewPosition$$($horizontalBehavior$$4_scrollLeft$$16$$, $scrollTop$$14_verticalBehavior$$4$$, $box$$17_xdelta$$1$$, $alignBox$$14_windowWidth$$4$$) {
  var $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$, $alignElementAnchorLeft$$, $boxWidthWithoutShadow$$3_shadowSize$$7$$ = $AdfDhtmlShadowDecorator$$.$getShadowSize$(), $boxHeightWithoutShadow$$3$$ = $box$$17_xdelta$$1$$.height - $boxWidthWithoutShadow$$3_shadowSize$$7$$, $boxWidthWithoutShadow$$3_shadowSize$$7$$ = $box$$17_xdelta$$1$$.width - $boxWidthWithoutShadow$$3_shadowSize$$7$$;
  switch($scrollTop$$14_verticalBehavior$$4$$.$alignElementAnchor$) {
    case $AdfDhtmlPositionManager$$.$TOP$:
      $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$ = $alignBox$$14_windowWidth$$4$$.top;
      break;
    case $AdfDhtmlPositionManager$$.$BOTTOM$:
      $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$ = $alignBox$$14_windowWidth$$4$$.bottom;
      break;
    case $AdfDhtmlPositionManager$$.$MIDDLE$:
      $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$ = $alignBox$$14_windowWidth$$4$$.top + $alignBox$$14_windowWidth$$4$$.height / 2;
      break;
    default:
      $AdfAssert$$.assert(!1, "Invalid alignElementAnchor for verticalBehavior provided");
  }
  switch($horizontalBehavior$$4_scrollLeft$$16$$.$alignElementAnchor$) {
    case $AdfDhtmlPositionManager$$.$LEFT$:
      $alignElementAnchorLeft$$ = $alignBox$$14_windowWidth$$4$$.left;
      break;
    case $AdfDhtmlPositionManager$$.$RIGHT$:
      $alignElementAnchorLeft$$ = $alignBox$$14_windowWidth$$4$$.right;
      break;
    case $AdfDhtmlPositionManager$$.$CENTER$:
      $alignElementAnchorLeft$$ = $alignBox$$14_windowWidth$$4$$.left + $alignBox$$14_windowWidth$$4$$.width / 2;
      break;
    default:
      $AdfAssert$$.assert(!1, "Invalid alignElementAnchor for horizontalBehavior provided");
  }
  var $newTop$$, $newLeft$$;
  switch($scrollTop$$14_verticalBehavior$$4$$.$floatingElementAnchor$) {
    case $AdfDhtmlPositionManager$$.$TOP$:
      $newTop$$ = $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$;
      break;
    case $AdfDhtmlPositionManager$$.$BOTTOM$:
      $newTop$$ = $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$ - $boxHeightWithoutShadow$$3$$;
      break;
    case $AdfDhtmlPositionManager$$.$MIDDLE$:
      $newTop$$ = $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$ - $boxHeightWithoutShadow$$3$$ / 2;
      break;
    default:
      $AdfAssert$$.assert(!1, "Invalid floatingElementAnchor for verticalBehavior provided");
  }
  switch($horizontalBehavior$$4_scrollLeft$$16$$.$floatingElementAnchor$) {
    case $AdfDhtmlPositionManager$$.$LEFT$:
      $newLeft$$ = $alignElementAnchorLeft$$;
      break;
    case $AdfDhtmlPositionManager$$.$RIGHT$:
      $newLeft$$ = $alignElementAnchorLeft$$ - $boxWidthWithoutShadow$$3_shadowSize$$7$$;
      break;
    case $AdfDhtmlPositionManager$$.$CENTER$:
      $newLeft$$ = $alignElementAnchorLeft$$ - $boxWidthWithoutShadow$$3_shadowSize$$7$$ / 2;
      break;
    default:
      $AdfAssert$$.assert(!1, "Invalid floatingElementAnchor for horizontalBehavior provided");
  }
  $AdfPage$$.$PAGE$.$isPortlet$() && ($agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$ = $AdfAgent$$.$AGENT$, $scrollTop$$14_verticalBehavior$$4$$ = $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$.$getBrowserViewportScrollTop$(), $horizontalBehavior$$4_scrollLeft$$16$$ = $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$.$getBrowserViewportScrollLeft$(), $alignBox$$14_windowWidth$$4$$ = $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$.getWindowWidth(), 
  $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$ = $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$.getWindowHeight(), $newTop$$ = Math.max(0, $newTop$$), $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$ = $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$ + $scrollTop$$14_verticalBehavior$$4$$ - ($newTop$$ + $box$$17_xdelta$$1$$.height), 0 > $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$ && ($newTop$$ = Math.max($scrollTop$$14_verticalBehavior$$4$$, 
  $newTop$$ + $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$)), $newLeft$$ = Math.max(0, $newLeft$$), $box$$17_xdelta$$1$$ = $alignBox$$14_windowWidth$$4$$ + $horizontalBehavior$$4_scrollLeft$$16$$ - ($newLeft$$ + $box$$17_xdelta$$1$$.width), 0 > $box$$17_xdelta$$1$$ && ($newLeft$$ = Math.max($horizontalBehavior$$4_scrollLeft$$16$$, $newLeft$$ + $box$$17_xdelta$$1$$)));
  return {x:$newLeft$$, y:$newTop$$};
}
$AdfDhtmlPositionManager$$.prototype.$_repostionOnScroll$ = function $$AdfDhtmlPositionManager$$$$$_repostionOnScroll$$() {
  var $domWindow$$80$$ = $AdfAgent$$.$AGENT$.$getDomWindow$();
  null == this.$_repostionCallback$ && (this.$_repostionCallback$ = this.$createCallback$(this.$_repostionOnScrollTimeout$));
  this.$_repostionTimeout$ && $domWindow$$80$$.clearTimeout(this.$_repostionTimeout$);
  this.$_repostionTimeout$ = $domWindow$$80$$.setTimeout(this.$_repostionCallback$, 200);
};
$AdfDhtmlPositionManager$$.prototype.$_repostionOnScrollTimeout$ = function $$AdfDhtmlPositionManager$$$$$_repostionOnScrollTimeout$$() {
  delete this.$_repostionTimeout$;
  for (var $elements$$11$$ = this.$_elements$, $i$$215$$ = $elements$$11$$.length - 1;-1 < $i$$215$$;$i$$215$$--) {
    if (null != $elements$$11$$[$i$$215$$]) {
      var $elementWidth$$inline_969_floatingElement$$7$$ = $elements$$11$$[$i$$215$$].element, $JSCompiler_temp$$52_agent$$inline_957_agent$$inline_968_alignElement$$11_windowHeight$$inline_972$$ = $elementWidth$$inline_969_floatingElement$$7$$.$getAlignElement$();
      if (!$elementWidth$$inline_969_floatingElement$$7$$.$isAnimating$()) {
        if ($JSCompiler_temp$$52_agent$$inline_957_agent$$inline_968_alignElement$$11_windowHeight$$inline_972$$) {
          for (var $element$$inline_956_parentNode$$inline_964_windowWidth$$inline_971$$ = $JSCompiler_temp$$52_agent$$inline_957_agent$$inline_968_alignElement$$11_windowHeight$$inline_972$$, $JSCompiler_temp$$52_agent$$inline_957_agent$$inline_968_alignElement$$11_windowHeight$$inline_972$$ = $AdfAgent$$.$AGENT$, $alignBox$$inline_958_elementHeight$$inline_970_floatingElement$$inline_967$$ = $JSCompiler_temp$$52_agent$$inline_957_agent$$inline_968_alignElement$$11_windowHeight$$inline_972$$.$getElementPageBounds$($element$$inline_956_parentNode$$inline_964_windowWidth$$inline_971$$), 
          $isWithinViewPort$$inline_963_parentBox$$inline_965_windowWidth$$inline_959$$ = $JSCompiler_temp$$52_agent$$inline_957_agent$$inline_968_alignElement$$11_windowHeight$$inline_972$$.getWindowWidth(), $scrollLeft$$inline_960$$ = $JSCompiler_temp$$52_agent$$inline_957_agent$$inline_968_alignElement$$11_windowHeight$$inline_972$$.$getBrowserViewportScrollLeft$(), $windowHeight$$inline_961$$ = $JSCompiler_temp$$52_agent$$inline_957_agent$$inline_968_alignElement$$11_windowHeight$$inline_972$$.getWindowHeight(), 
          $scrollTop$$inline_962$$ = $JSCompiler_temp$$52_agent$$inline_957_agent$$inline_968_alignElement$$11_windowHeight$$inline_972$$.$getBrowserViewportScrollTop$(), $isWithinViewPort$$inline_963_parentBox$$inline_965_windowWidth$$inline_959$$ = $AdfDhtmlPositionManager$$.$_isWithinViewport$($alignBox$$inline_958_elementHeight$$inline_970_floatingElement$$inline_967$$, {top:$scrollTop$$inline_962$$, bottom:$windowHeight$$inline_961$$ + $scrollTop$$inline_962$$, left:$scrollLeft$$inline_960$$, 
          right:$scrollLeft$$inline_960$$ + $isWithinViewPort$$inline_963_parentBox$$inline_965_windowWidth$$inline_959$$}), $element$$inline_956_parentNode$$inline_964_windowWidth$$inline_971$$ = $element$$inline_956_parentNode$$inline_964_windowWidth$$inline_971$$.parentNode;$isWithinViewPort$$inline_963_parentBox$$inline_965_windowWidth$$inline_959$$ && $element$$inline_956_parentNode$$inline_964_windowWidth$$inline_971$$ && !$AdfDhtmlPositionManager$$.$_isRootNode$($element$$inline_956_parentNode$$inline_964_windowWidth$$inline_971$$);) {
            1 == $element$$inline_956_parentNode$$inline_964_windowWidth$$inline_971$$.nodeType && ($isWithinViewPort$$inline_963_parentBox$$inline_965_windowWidth$$inline_959$$ = $JSCompiler_temp$$52_agent$$inline_957_agent$$inline_968_alignElement$$11_windowHeight$$inline_972$$.$getElementPageBounds$($element$$inline_956_parentNode$$inline_964_windowWidth$$inline_971$$), $isWithinViewPort$$inline_963_parentBox$$inline_965_windowWidth$$inline_959$$ = $AdfDhtmlPositionManager$$.$_isWithinViewport$($alignBox$$inline_958_elementHeight$$inline_970_floatingElement$$inline_967$$, 
            $isWithinViewPort$$inline_963_parentBox$$inline_965_windowWidth$$inline_959$$)), $element$$inline_956_parentNode$$inline_964_windowWidth$$inline_971$$ = $element$$inline_956_parentNode$$inline_964_windowWidth$$inline_971$$.parentNode;
          }
          !$isWithinViewPort$$inline_963_parentBox$$inline_965_windowWidth$$inline_959$$ && $elementWidth$$inline_969_floatingElement$$7$$.$ShouldHideOnClip$() ? $elementWidth$$inline_969_floatingElement$$7$$.cancel() : this.$validatePosition$($i$$215$$);
        } else {
          if ($JSCompiler_temp$$52_agent$$inline_957_agent$$inline_968_alignElement$$11_windowHeight$$inline_972$$ = $elementWidth$$inline_969_floatingElement$$7$$.$getAlignPosition$()) {
            $alignBox$$inline_958_elementHeight$$inline_970_floatingElement$$inline_967$$ = $elementWidth$$inline_969_floatingElement$$7$$, $JSCompiler_temp$$52_agent$$inline_957_agent$$inline_968_alignElement$$11_windowHeight$$inline_972$$ = $AdfAgent$$.$AGENT$, $elementWidth$$inline_969_floatingElement$$7$$ = $alignBox$$inline_958_elementHeight$$inline_970_floatingElement$$inline_967$$.getWidth(), $alignBox$$inline_958_elementHeight$$inline_970_floatingElement$$inline_967$$ = $alignBox$$inline_958_elementHeight$$inline_970_floatingElement$$inline_967$$.getHeight(), 
            $element$$inline_956_parentNode$$inline_964_windowWidth$$inline_971$$ = $JSCompiler_temp$$52_agent$$inline_957_agent$$inline_968_alignElement$$11_windowHeight$$inline_972$$.getWindowWidth(), $JSCompiler_temp$$52_agent$$inline_957_agent$$inline_968_alignElement$$11_windowHeight$$inline_972$$ = $JSCompiler_temp$$52_agent$$inline_957_agent$$inline_968_alignElement$$11_windowHeight$$inline_972$$.getWindowHeight(), $JSCompiler_temp$$52_agent$$inline_957_agent$$inline_968_alignElement$$11_windowHeight$$inline_972$$ = 
            !($elementWidth$$inline_969_floatingElement$$7$$ > $element$$inline_956_parentNode$$inline_964_windowWidth$$inline_971$$ || $alignBox$$inline_958_elementHeight$$inline_970_floatingElement$$inline_967$$ > $JSCompiler_temp$$52_agent$$inline_957_agent$$inline_968_alignElement$$11_windowHeight$$inline_972$$);
          }
          $JSCompiler_temp$$52_agent$$inline_957_agent$$inline_968_alignElement$$11_windowHeight$$inline_972$$ && this.$validatePosition$($i$$215$$);
        }
      }
    }
  }
};
$AdfDhtmlPositionManager$$.$_isRootNode$ = function $$AdfDhtmlPositionManager$$$$_isRootNode$$($element$$172_id$$247_tokens$$14$$) {
  var $tagName$$4_tokensLen$$1$$ = $AdfAgent$$.$AGENT$.$getNodeName$($element$$172_id$$247_tokens$$14$$);
  if ("FORM" == $tagName$$4_tokensLen$$1$$ || "BODY" == $tagName$$4_tokensLen$$1$$) {
    return !0;
  }
  if ($element$$172_id$$247_tokens$$14$$ = $element$$172_id$$247_tokens$$14$$.getAttribute("id")) {
    if ($element$$172_id$$247_tokens$$14$$ = $element$$172_id$$247_tokens$$14$$.split(":"), $tagName$$4_tokensLen$$1$$ = $element$$172_id$$247_tokens$$14$$.length, 0 < $tagName$$4_tokensLen$$1$$) {
      return $AdfDhtmlZOrderManager$$.$FLOATINGTYPE_WINDOW$ == $element$$172_id$$247_tokens$$14$$[$tagName$$4_tokensLen$$1$$ - 1];
    }
  }
  return !1;
};
$AdfDhtmlPositionManager$$.$_isWithinViewport$ = function $$AdfDhtmlPositionManager$$$$_isWithinViewport$$($alignBox$$16$$, $containerBox$$) {
  return -2 > $alignBox$$16$$.top - $containerBox$$.top || -2 > $containerBox$$.bottom - $alignBox$$16$$.bottom || -2 > $alignBox$$16$$.left - $containerBox$$.left || 2 < $alignBox$$16$$.right - $containerBox$$.right ? !1 : !0;
};
$AdfDhtmlPositionManager$$.prototype.$resizeFloatingElement$ = function $$AdfDhtmlPositionManager$$$$$resizeFloatingElement$$($childDomElement$$1$$) {
  var $floatingElement$$9$$ = this.$findFloatingElement$($childDomElement$$1$$);
  if ($floatingElement$$9$$ && !($floatingElement$$9$$ instanceof $AdfDhtmlTooltip$$)) {
    var $domElement$$55$$ = $floatingElement$$9$$.$getElement$();
    if ($AdfDomUtils$$.$isAncestorOrSelf$($domElement$$55$$, $childDomElement$$1$$)) {
      return $floatingElement$$9$$.$autoSize$(), !0;
    }
  }
  return !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPositionManager.prototype.resizeFloatingElement", {$resizeFloatingElement$:$AdfDhtmlPositionManager$$.prototype.$resizeFloatingElement$});
$AdfDhtmlPositionManager$$.prototype.$findFloatingElement$ = function $$AdfDhtmlPositionManager$$$$$findFloatingElement$$($childDomElement$$2$$) {
  for (var $elements$$12$$ = this.$_elements$, $i$$216$$ = 0;$i$$216$$ < $elements$$12$$.length;$i$$216$$++) {
    if ($i$$216$$ in $elements$$12$$) {
      var $floatingElement$$10_wrapper$$18$$ = $elements$$12$$[$i$$216$$];
      if ($floatingElement$$10_wrapper$$18$$ && ($floatingElement$$10_wrapper$$18$$ = $floatingElement$$10_wrapper$$18$$.element)) {
        var $domElement$$56$$ = $floatingElement$$10_wrapper$$18$$.$getElement$();
        if ($AdfDomUtils$$.$isAncestorOrSelf$($domElement$$56$$, $childDomElement$$2$$)) {
          return $floatingElement$$10_wrapper$$18$$;
        }
      }
    }
  }
  return null;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPositionManager.prototype.findFloatingElement", {$findFloatingElement$:$AdfDhtmlPositionManager$$.prototype.$findFloatingElement$});
