function $AdfDhtmlPopupWindow$$() {
  this.Init()
}
$goog$exportSymbol$$("AdfDhtmlPopupWindow", $AdfDhtmlPopupWindow$$);
$goog$exportSymbol$$("AdfDhtmlPopupWindow", $AdfDhtmlPopupWindow$$);
$AdfObject$$.$createSubclass$($AdfDhtmlPopupWindow$$, $AdfAbstractFloatingElement$$);
$AdfDhtmlPopupWindow$$.$__CANCELED_EXPANDO$ = "data-afr-iscanceled";
$AdfDhtmlPopupWindow$$.$__REPLACEDOM_EXPANDO$ = "data-afr-isreplacedom";
$AdfDhtmlPopupWindow$$.$__POPUPID_EXPANDO$ = "data-afr-popupid";
$AdfDhtmlPopupWindow$$.$__POPUP_CONTAINER_ID$ = "popup-container";
$AdfDhtmlPopupWindow$$.$InitClass$ = function $$AdfDhtmlPopupWindow$$$$InitClass$$() {
  this.$_SCROLL_POSITION_EXPANDO$ = "data-afr-sclptn";
  this.$_ANIMATE_WRAPPER_EXPANDO$ = "data-afr-taw"
};
$goog$exportSymbol$$("AdfDhtmlPopupWindow.InitClass", $AdfDhtmlPopupWindow$$.$InitClass$);
$AdfDhtmlPopupWindow$$.prototype.Init = function $$AdfDhtmlPopupWindow$$$$Init$() {
  $AdfDhtmlPopupWindow$$.$superclass$.Init.call(this, $AdfDhtmlZOrderManager$$.$FLOATINGTYPE_WINDOW$);
  var $rootElement$$10$$ = this.$CreateDomElement$();
  this.$setElement$($rootElement$$10$$);
  $rootElement$$10$$.style.display = "none";
  $AdfPopupScopingUtils$$.$markAsScopingContainer$($rootElement$$10$$);
  this.$_isTouchScreen$ = $AdfAgent$$.$AGENT$.$getCapabilities$()[$AdfAgent$$.$CAP_TOUCH_SCREEN$] != $AdfAgent$$.$CAP_TOUCH_SCREEN_NONE$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.Init", {Init:$AdfDhtmlPopupWindow$$.prototype.Init});
$AdfDhtmlPopupWindow$$.prototype.$CreateDomElement$ = function $$AdfDhtmlPopupWindow$$$$$CreateDomElement$$() {
  $AdfAssert$$.$failedInAbstractFunction$()
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.CreateDomElement", {$CreateDomElement$:$AdfDhtmlPopupWindow$$.prototype.$CreateDomElement$});
$AdfDhtmlPopupWindow$$.prototype.$ShouldHideOnClip$ = function $$AdfDhtmlPopupWindow$$$$$ShouldHideOnClip$$() {
  return!this.$_isTouchScreen$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.ShouldHideOnClip", {$ShouldHideOnClip$:$AdfDhtmlPopupWindow$$.prototype.$ShouldHideOnClip$});
$AdfDhtmlPopupWindow$$.prototype.$NeedsCloseLink$ = function $$AdfDhtmlPopupWindow$$$$$NeedsCloseLink$$() {
  var $domWindow$$73$$ = $AdfPage$$.$PAGE$.$getDomWindow$();
  return Boolean($domWindow$$73$$.$AdfSafariMobileAgent$ && $AdfAgent$$.$AGENT$ instanceof $AdfSafariMobileAgent$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.NeedsCloseLink", {$NeedsCloseLink$:$AdfDhtmlPopupWindow$$.prototype.$NeedsCloseLink$});
$AdfDhtmlPopupWindow$$.prototype.show = function $$AdfDhtmlPopupWindow$$$$show$($activeDomElementId_hints$$32_restoreFocusElement$$) {
  $AdfAssert$$.$assertObject$($activeDomElementId_hints$$32_restoreFocusElement$$, "Cannot show a popup element without hints");
  $AdfPage$$.$PAGE$.$__perfTimings$($JSCompiler_alias_FALSE$$, $JSCompiler_alias_FALSE$$, $JSCompiler_alias_TRUE$$, "popup show called");
  var $componentId$$21$$ = $activeDomElementId_hints$$32_restoreFocusElement$$.componentId;
  this.$_componentId$ = $componentId$$21$$;
  this.$setAlignElement$($activeDomElementId_hints$$32_restoreFocusElement$$.alignElement);
  var $activeDomElementIdKey_align$$3$$ = $activeDomElementId_hints$$32_restoreFocusElement$$[AdfRichPopup.$HINT_ALIGN$], $restoreImmediate$$ = $activeDomElementId_hints$$32_restoreFocusElement$$.restoreImmediate;
  this.$_isOpening$ = $JSCompiler_alias_TRUE$$;
  var $closeOnEscape_maxWidth$$2_openedHandler_page$$49$$ = $activeDomElementId_hints$$32_restoreFocusElement$$.openedHandler, $mousePosition$$1_openedParams$$ = $activeDomElementId_hints$$32_restoreFocusElement$$.openedHandlerParam;
  $closeOnEscape_maxWidth$$2_openedHandler_page$$49$$ && this.$addOpenedHandler$($closeOnEscape_maxWidth$$2_openedHandler_page$$49$$, $mousePosition$$1_openedParams$$);
  $mousePosition$$1_openedParams$$ = $activeDomElementId_hints$$32_restoreFocusElement$$.mousePosition;
  $activeDomElementId_hints$$32_restoreFocusElement$$.autodismiss === $JSCompiler_alias_TRUE$$ && ($activeDomElementId_hints$$32_restoreFocusElement$$.autodismiss = "autodismissAlways");
  $closeOnEscape_maxWidth$$2_openedHandler_page$$49$$ = $activeDomElementId_hints$$32_restoreFocusElement$$.closeOnEscape;
  $closeOnEscape_maxWidth$$2_openedHandler_page$$49$$ == $JSCompiler_alias_NULL$$ && ($closeOnEscape_maxWidth$$2_openedHandler_page$$49$$ = $JSCompiler_alias_TRUE$$);
  this.$_closeOnEscape$ = $closeOnEscape_maxWidth$$2_openedHandler_page$$49$$;
  this.$_launchSourceId$ = $activeDomElementId_hints$$32_restoreFocusElement$$[AdfRichPopup.$HINT_LAUNCH_ID$];
  if($closeOnEscape_maxWidth$$2_openedHandler_page$$49$$ = $activeDomElementId_hints$$32_restoreFocusElement$$.maxWidth) {
    $AdfAssert$$.$assertNumeric$($closeOnEscape_maxWidth$$2_openedHandler_page$$49$$, "AdfDhtmlPopupHints.MAX_WIDTH"), this.$_maxWidth$ = $closeOnEscape_maxWidth$$2_openedHandler_page$$49$$
  }
  var $closeOnEscape_maxWidth$$2_openedHandler_page$$49$$ = $AdfPage$$.$PAGE$, $component$$333$$ = $closeOnEscape_maxWidth$$2_openedHandler_page$$49$$.$findComponent$($componentId$$21$$);
  this.$getElement$().id = $AdfRichUIPeer$$.$CreateSubId$($componentId$$21$$, $AdfDhtmlPopupWindow$$.$__POPUP_CONTAINER_ID$);
  $AdfAssert$$.assert($component$$333$$ != $JSCompiler_alias_NULL$$, "Cannot show a popup element without a valid component");
  var $content$$14_focusHint$$1$$ = $activeDomElementId_hints$$32_restoreFocusElement$$.focus;
  $content$$14_focusHint$$1$$ == $JSCompiler_alias_NULL$$ && ($content$$14_focusHint$$1$$ = $JSCompiler_alias_TRUE$$);
  var $activeDomElement$$2_animateHint_domWindow$$74_zorderManager$$ = $AdfPage$$.$PAGE$.$getDomWindow$();
  $content$$14_focusHint$$1$$ == $JSCompiler_alias_FALSE$$ && ($activeDomElement$$2_animateHint_domWindow$$74_zorderManager$$.$AdfSafariMobileAgent$ && $AdfAgent$$.$AGENT$ instanceof $AdfSafariMobileAgent$$) && ($content$$14_focusHint$$1$$ = $JSCompiler_alias_TRUE$$);
  $restoreImmediate$$ && ($content$$14_focusHint$$1$$ = $JSCompiler_alias_FALSE$$);
  if($content$$14_focusHint$$1$$ && ($activeDomElement$$2_animateHint_domWindow$$74_zorderManager$$ = $closeOnEscape_maxWidth$$2_openedHandler_page$$49$$.$_activeDomNode$)) {
    var $activeDomId_animProperty$$1_element$$145$$ = $activeDomElement$$2_animateHint_domWindow$$74_zorderManager$$.id;
    $activeDomId_animProperty$$1_element$$145$$ || ($activeDomId_animProperty$$1_element$$145$$ = $activeDomElement$$2_animateHint_domWindow$$74_zorderManager$$.id = (new Date).getTime());
    this.$_restoreFocusId$ = $activeDomId_animProperty$$1_element$$145$$
  }
  this.$SetFocusOnOpen$($content$$14_focusHint$$1$$);
  if($content$$14_focusHint$$1$$ = $activeDomElementId_hints$$32_restoreFocusElement$$.content) {
    this.$_maxWidth$ && ($content$$14_focusHint$$1$$.style.maxWidth = this.$_maxWidth$ + "px");
    if(!this.$ImmediateZorderRegistration$()) {
      var $activeDomElement$$2_animateHint_domWindow$$74_zorderManager$$ = $closeOnEscape_maxWidth$$2_openedHandler_page$$49$$.$getZOrderManager$(), $activeDomId_animProperty$$1_element$$145$$ = this.$getElement$(), $animationDuration$$2_floatingType$$2$$ = this.$GetFloatingType$();
      switch(this.$_zorderScope$ = $activeDomElementId_hints$$32_restoreFocusElement$$.zorderScope) {
        case 1:
          var $containedFormId_firstFormId$$ = $AdfDhtmlPopupWindow$$.$_getFormElementId$($content$$14_focusHint$$1$$);
          $activeDomElement$$2_animateHint_domWindow$$74_zorderManager$$.$addElementToLayer$($activeDomId_animProperty$$1_element$$145$$, $animationDuration$$2_floatingType$$2$$, $JSCompiler_alias_NULL$$, $containedFormId_firstFormId$$);
          break;
        case 2:
          $activeDomElement$$2_animateHint_domWindow$$74_zorderManager$$.$addElementToLayer$($activeDomId_animProperty$$1_element$$145$$, $animationDuration$$2_floatingType$$2$$);
          break;
        default:
          $containedFormId_firstFormId$$ = this.$GetFirstFormId$(), $activeDomElement$$2_animateHint_domWindow$$74_zorderManager$$.$addElementToLayer$($activeDomId_animProperty$$1_element$$145$$, $animationDuration$$2_floatingType$$2$$, $JSCompiler_alias_NULL$$, $containedFormId_firstFormId$$)
      }
    }
    $content$$14_focusHint$$1$$ = $activeDomElementId_hints$$32_restoreFocusElement$$.content = this.$WrapContent$($activeDomElementId_hints$$32_restoreFocusElement$$, $content$$14_focusHint$$1$$);
    this.$setContent$($content$$14_focusHint$$1$$)
  }
  this.$setAccessibleAttrs$($activeDomElementId_hints$$32_restoreFocusElement$$);
  $activeDomElement$$2_animateHint_domWindow$$74_zorderManager$$ = $activeDomElementId_hints$$32_restoreFocusElement$$.animate;
  if($closeOnEscape_maxWidth$$2_openedHandler_page$$49$$.$isAnimationEnabled$() && $activeDomElement$$2_animateHint_domWindow$$74_zorderManager$$ != AdfRichPopup.$ANIMATE_FALSE$ && ($activeDomId_animProperty$$1_element$$145$$ = this.$GetAnimationDurationSkinProperty$($activeDomElementId_hints$$32_restoreFocusElement$$))) {
    if($animationDuration$$2_floatingType$$2$$ = parseInt($closeOnEscape_maxWidth$$2_openedHandler_page$$49$$.$getLookAndFeel$().$getSkinProperty$($activeDomId_animProperty$$1_element$$145$$)), 0 < $animationDuration$$2_floatingType$$2$$ && ($activeDomId_animProperty$$1_element$$145$$ = this.$GetAnimateSkinProperty$(), ($activeDomId_animProperty$$1_element$$145$$ ? $closeOnEscape_maxWidth$$2_openedHandler_page$$49$$.$getLookAndFeel$().$getSkinProperty$($activeDomId_animProperty$$1_element$$145$$) : 
    $JSCompiler_alias_NULL$$) != AdfRichPopup.$ANIMATE_FALSE$ || $activeDomElement$$2_animateHint_domWindow$$74_zorderManager$$ == AdfRichPopup.$ANIMATE_TRUE$)) {
      this.$_animationDuration$ = $animationDuration$$2_floatingType$$2$$
    }
  }
  this.$setCloseHandler$($activeDomElementId_hints$$32_restoreFocusElement$$.closeHandler);
  this.$setCloseHandlerParam$($activeDomElementId_hints$$32_restoreFocusElement$$.closeHandlerParam);
  this.$getElement$().style.visibility = "hidden";
  $activeDomElementIdKey_align$$3$$ ? this.$Position$($activeDomElementIdKey_align$$3$$) : $mousePosition$$1_openedParams$$ && (this.$_positionManagerIndex$ = $AdfPage$$.$PAGE$.$getPositionManager$().$addFloatingElementByPosition$(this, $mousePosition$$1_openedParams$$));
  this.$DoShow$($activeDomElementId_hints$$32_restoreFocusElement$$);
  $closeOnEscape_maxWidth$$2_openedHandler_page$$49$$.$getAutoDismissalManager$().addBehavior($component$$333$$, $activeDomElementId_hints$$32_restoreFocusElement$$);
  $activeDomElementIdKey_align$$3$$ = $AdfDhtmlPopupWindow$$.$_createFocusPagePropertyKey$($componentId$$21$$);
  if($restoreImmediate$$) {
    if(this.$_sizeTimeout$ = 0, this.$_size$($activeDomElementId_hints$$32_restoreFocusElement$$), $activeDomElementId_hints$$32_restoreFocusElement$$ = $closeOnEscape_maxWidth$$2_openedHandler_page$$49$$.$getPageProperty$($activeDomElementIdKey_align$$3$$)) {
      ($activeDomElementId_hints$$32_restoreFocusElement$$ = $AdfAgent$$.$AGENT$.getElementById($activeDomElementId_hints$$32_restoreFocusElement$$)) && ($AdfDomUtils$$.$isAncestor$($content$$14_focusHint$$1$$, $activeDomElementId_hints$$32_restoreFocusElement$$) && $AdfFocusUtils$$.$isFocusable$($activeDomElementId_hints$$32_restoreFocusElement$$)) && $AdfFocusUtils$$.$focusElement$($activeDomElementId_hints$$32_restoreFocusElement$$)
    }
  }else {
    this.$_sizeTimeout$ = $closeOnEscape_maxWidth$$2_openedHandler_page$$49$$.$scheduleTimer$(this, this.$createCallback$(this.$_size$), $activeDomElementId_hints$$32_restoreFocusElement$$, 1, {isSynchronized:$JSCompiler_alias_TRUE$$})
  }
  $closeOnEscape_maxWidth$$2_openedHandler_page$$49$$.$setPageProperty$($activeDomElementIdKey_align$$3$$, $JSCompiler_alias_NULL$$);
  $componentId$$21$$ && this.$getElement$().setAttribute($AdfDhtmlPopupWindow$$.$__POPUPID_EXPANDO$, $componentId$$21$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.show", {show:$AdfDhtmlPopupWindow$$.prototype.show});
$AdfDhtmlPopupWindow$$.$_getFormElementId$ = function $$AdfDhtmlPopupWindow$$$$_getFormElementId$$($node$$58$$) {
  $AdfAssert$$.$assertDomNode$($node$$58$$);
  for(var $formId$$, $ourDocument$$ = $node$$58$$.ownerDocument, $agent$$66$$ = $AdfAgent$$.$AGENT$;$node$$58$$ && $node$$58$$ != $ourDocument$$;) {
    if("FORM" == $agent$$66$$.$getNodeName$($node$$58$$)) {
      $formId$$ = $node$$58$$.getAttribute("id");
      break
    }
    $node$$58$$ = $node$$58$$.parentNode
  }
  return $formId$$
};
$AdfDhtmlPopupWindow$$.prototype.$getPopupClientId$ = $JSCompiler_get$$("$_componentId$");
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.getPopupClientId", {$getPopupClientId$:$AdfDhtmlPopupWindow$$.prototype.$getPopupClientId$});
$AdfDhtmlPopupWindow$$.prototype.$OpenedPopup$ = function $$AdfDhtmlPopupWindow$$$$$OpenedPopup$$($domElement$$46_hints$$33_i$$133$$) {
  if(this.$_isOpening$) {
    delete this.$_isOpening$;
    this.$announceOpeningViaLiveRegion$($domElement$$46_hints$$33_i$$133$$);
    this.$_registerEventHandlers$($domElement$$46_hints$$33_i$$133$$);
    var $openedHandlers$$ = this.$_openedHandlers$, $openedHandlerParams$$ = this.$_openedHandlerParams$;
    delete this.$_openedHandlers$;
    delete this.$_openedHandlerParams$;
    if($domElement$$46_hints$$33_i$$133$$) {
      $domElement$$46_hints$$33_i$$133$$ = this.$getContent$();
      if(!$openedHandlers$$) {
        this.$FocusOnFirstElement$();
        $AdfPage$$.$PAGE$.$__perfTimings$($JSCompiler_alias_FALSE$$, $JSCompiler_alias_FALSE$$, $JSCompiler_alias_TRUE$$, "popup opened no handler present: id\x3d" + this.$_componentId$);
        return
      }
      this.$RestoreScrollValues$($domElement$$46_hints$$33_i$$133$$);
      this.$FocusOnFirstElement$()
    }
    if($openedHandlers$$) {
      for($domElement$$46_hints$$33_i$$133$$ = 0;$domElement$$46_hints$$33_i$$133$$ < $openedHandlers$$.length;$domElement$$46_hints$$33_i$$133$$++) {
        try {
          (0,$openedHandlers$$[$domElement$$46_hints$$33_i$$133$$])($openedHandlerParams$$[$domElement$$46_hints$$33_i$$133$$])
        }catch($e$$89$$) {
          $AdfLogger$$.$LOGGER$.$logErrorAsWarning$($e$$89$$, "popup opened handler failed.")
        }
      }
      $AdfPage$$.$PAGE$.$__perfTimings$($JSCompiler_alias_FALSE$$, $JSCompiler_alias_FALSE$$, $JSCompiler_alias_TRUE$$, "popup opened handler present")
    }else {
      $AdfPage$$.$PAGE$.$__perfTimings$($JSCompiler_alias_FALSE$$, $JSCompiler_alias_FALSE$$, $JSCompiler_alias_TRUE$$, "popup opened no handler present: id\x3d" + this.$_componentId$)
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.OpenedPopup", {$OpenedPopup$:$AdfDhtmlPopupWindow$$.prototype.$OpenedPopup$});
$AdfDhtmlPopupWindow$$.prototype.$WrapContent$ = function $$AdfDhtmlPopupWindow$$$$$WrapContent$$($hints$$34$$, $content$$15$$) {
  var $table$$9$$ = $AdfPage$$.$PAGE$.$getDomDocument$().createElement("table");
  this.$_resizeAnchorId$ = $table$$9$$.id = $AdfRichUIPeer$$.$CreateSubId$(this.$_componentId$, "" + (new Date).getTime());
  $AdfAgent$$.$AGENT$.$elementsAdded$($table$$9$$);
  $table$$9$$.cellPadding = $table$$9$$.cellSpacing = 0;
  $table$$9$$.insertRow(0).insertCell(0).appendChild($content$$15$$);
  $table$$9$$.style.position = "relative";
  $table$$9$$.$role$ = "presentation";
  return $table$$9$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.WrapContent", {$WrapContent$:$AdfDhtmlPopupWindow$$.prototype.$WrapContent$});
$JSCompiler_prototypeAlias$$ = $AdfDhtmlPopupWindow$$.prototype;
$JSCompiler_prototypeAlias$$.$_registerEventHandlers$ = function $$JSCompiler_prototypeAlias$$$$_registerEventHandlers$$($hints$$35_keyUpCallback$$) {
  var $doc$$33_keyDownCallback$$ = $AdfPage$$.$PAGE$.$getDomDocument$(), $agent$$67$$ = $AdfAgent$$.$AGENT$, $domElement$$47_resizeCallback$$ = this.$getContent$();
  if(!$hints$$35_keyUpCallback$$ || !$hints$$35_keyUpCallback$$.componentEventsEnabled) {
    $hints$$35_keyUpCallback$$ = this.$_keyUpCallback$ = this.$createCallback$(this.$_handleKeyUp$), $agent$$67$$.$addBubbleEventListener$($doc$$33_keyDownCallback$$, "keyup", $hints$$35_keyUpCallback$$), $doc$$33_keyDownCallback$$ = this.$_keyDownCallback$ = this.$createCallback$(this.$_handleKeyDown$), $agent$$67$$.$addBubbleEventListener$($domElement$$47_resizeCallback$$, "keydown", $doc$$33_keyDownCallback$$)
  }
  $domElement$$47_resizeCallback$$ = this.$_resizeCallback$ = this.$createCallback$(this.$_handleResize$);
  $agent$$67$$.$addResizeListener$(this.$_resizeAnchorId$, $domElement$$47_resizeCallback$$)
};
$JSCompiler_prototypeAlias$$.$_handleResize$ = function $$JSCompiler_prototypeAlias$$$$_handleResize$$() {
  this.$autoSize$();
  var $content$$16$$ = this.$getContent$();
  this.$DoResizeNotifyDom$($content$$16$$);
  this.$_positionManagerIndex$ != $JSCompiler_alias_NULL$$ && $AdfPage$$.$PAGE$.$getPositionManager$().$validatePosition$(this.$_positionManagerIndex$)
};
$JSCompiler_prototypeAlias$$.$_unregisterEventHandlers$ = function $$JSCompiler_prototypeAlias$$$$_unregisterEventHandlers$$() {
  var $doc$$34_keyDownCallback$$1$$ = $AdfPage$$.$PAGE$.$getDomDocument$(), $agent$$68$$ = $AdfAgent$$.$AGENT$, $domElement$$48$$ = this.$getContent$(), $keyUpCallback$$1$$ = this.$_keyUpCallback$;
  $keyUpCallback$$1$$ && ($agent$$68$$.$removeBubbleEventListener$($doc$$34_keyDownCallback$$1$$, "keyup", $keyUpCallback$$1$$), delete this.$_keyUpCallback$);
  if($doc$$34_keyDownCallback$$1$$ = this.$_keyDownCallback$) {
    $agent$$68$$.$removeBubbleEventListener$($domElement$$48$$, "keydown", $doc$$34_keyDownCallback$$1$$), delete this.$_keyDownCallback$
  }
  this.$_resizeCallback$ && ($agent$$68$$.$removeResizeListener$(this.$_resizeAnchorId$), delete this.$_resizeAnchorId$, delete this.$_resizeCallback$)
};
$JSCompiler_prototypeAlias$$.$_toggleOffAnimating$ = function $$JSCompiler_prototypeAlias$$$$_toggleOffAnimating$$() {
  delete this.$_animating$
};
$JSCompiler_prototypeAlias$$.$hide$ = function $$JSCompiler_prototypeAlias$$$$hide$$() {
  if(!this.$_isHiding$) {
    this.$_isHiding$ = $JSCompiler_alias_TRUE$$;
    if(this.$_animating$) {
      this.$_toggleOffAnimating$();
      var $elementParent_page$$53$$ = this.$getElement$().parentNode;
      "true" == $elementParent_page$$53$$.getAttribute($AdfDhtmlPopupWindow$$.$_ANIMATE_WRAPPER_EXPANDO$) && $AdfDhtmlPopupWindow$$.$_restoreRootPostAnimation$($elementParent_page$$53$$)
    }
    var $elementParent_page$$53$$ = $AdfPage$$.$PAGE$, $closeHandler$$1_component$$334_domElement$$49$$ = this.$getContent$();
    this.$removeAccessibleAttrs$();
    this.$SaveScrollValues$($closeHandler$$1_component$$334_domElement$$49$$);
    var $closeHandler$$1_component$$334_domElement$$49$$ = $elementParent_page$$53$$.$findComponent$(this.$_componentId$), $popupId$$22$$ = $AdfDhtmlPopupWindow$$.$_getInternalPopupId$(this, $closeHandler$$1_component$$334_domElement$$49$$);
    $elementParent_page$$53$$.$getAutoDismissalManager$().removeBehavior($closeHandler$$1_component$$334_domElement$$49$$, $popupId$$22$$);
    if(!$JSCompiler_StaticMethods__isRestoring$$($closeHandler$$1_component$$334_domElement$$49$$) && ($elementParent_page$$53$$.$_activeDomNode$ == $JSCompiler_alias_NULL$$ || $AdfFocusUtils$$.$containsFocus$(this.$getElement$())) && !$AdfFocusUtils$$.$isFocusChangePending$()) {
      try {
        this.$_restoreFocus$()
      }catch($e$$90$$) {
        $AdfLogger$$.$LOGGER$.$logErrorAsWarning$($e$$90$$, "restoring popup focus")
      }
    }
    if($closeHandler$$1_component$$334_domElement$$49$$ = this.$_closeHandler$) {
      delete this.$_closeHandler$, $closeHandler$$1_component$$334_domElement$$49$$(this.$_closeHandlerParam$), delete this.$_closeHandlerParam$
    }
    this.$destroy$();
    delete this.$_isHiding$;
    $elementParent_page$$53$$.$__perfTimings$($JSCompiler_alias_FALSE$$, $JSCompiler_alias_FALSE$$, $JSCompiler_alias_TRUE$$, "popup hidden")
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.hide", {$hide$:$AdfDhtmlPopupWindow$$.prototype.$hide$});
$AdfDhtmlPopupWindow$$.$_getInternalPopupId$ = function $$AdfDhtmlPopupWindow$$$$_getInternalPopupId$$($popupWindow$$18$$, $component$$335$$) {
  if($component$$335$$) {
    var $peer$$64_popupList$$9$$ = $component$$335$$.$getPeer$();
    if($peer$$64_popupList$$9$$ && ($peer$$64_popupList$$9$$ = $peer$$64_popupList$$9$$.$getAllPopups$($component$$335$$))) {
      for(popupId in $peer$$64_popupList$$9$$) {
        if($peer$$64_popupList$$9$$[popupId] === $popupWindow$$18$$) {
          return popupId
        }
      }
    }
  }
  return $JSCompiler_alias_NULL$$
};
function $JSCompiler_StaticMethods__isRestoring$$($component$$336_key$$37$$) {
  var $isRestoring$$2$$ = $JSCompiler_alias_FALSE$$;
  $component$$336_key$$37$$ instanceof AdfRichPopup && $component$$336_key$$37$$.getAutoCancel() == AdfRichPopup.$AUTO_CANCEL_DISABLED$ && ($component$$336_key$$37$$ = $AdfDhtmlPopupWindow$$.$_createFocusPagePropertyKey$($component$$336_key$$37$$.$getClientId$()), $isRestoring$$2$$ = page.$getPageProperty$($component$$336_key$$37$$) ? $JSCompiler_alias_TRUE$$ : $JSCompiler_alias_FALSE$$);
  return $isRestoring$$2$$
}
$AdfDhtmlPopupWindow$$.prototype.cancel = function $$AdfDhtmlPopupWindow$$$$cancel$($key$$38_poppupId_replaceDom$$2$$) {
  var $contentDom$$4_page$$54$$ = this.$_closeHandlerParam$.contentDom;
  $contentDom$$4_page$$54$$.setAttribute($AdfDhtmlPopupWindow$$.$__CANCELED_EXPANDO$, $JSCompiler_alias_TRUE$$);
  $contentDom$$4_page$$54$$.setAttribute($AdfDhtmlPopupWindow$$.$__REPLACEDOM_EXPANDO$, $key$$38_poppupId_replaceDom$$2$$ ? $JSCompiler_alias_TRUE$$ : $JSCompiler_alias_FALSE$$);
  if($key$$38_poppupId_replaceDom$$2$$ && $AdfFocusUtils$$.$containsFocus$(this.$getElement$())) {
    $key$$38_poppupId_replaceDom$$2$$ = this.$getPopupClientId$();
    $key$$38_poppupId_replaceDom$$2$$ = $AdfDhtmlPopupWindow$$.$_createFocusPagePropertyKey$($key$$38_poppupId_replaceDom$$2$$);
    var $contentDom$$4_page$$54$$ = $AdfPage$$.$PAGE$, $activeDomElement$$3$$ = $contentDom$$4_page$$54$$.$_activeDomNode$;
    $activeDomElement$$3$$ && $activeDomElement$$3$$.id && $contentDom$$4_page$$54$$.$setPageProperty$($key$$38_poppupId_replaceDom$$2$$, $activeDomElement$$3$$.id)
  }
  $AdfDhtmlPopupWindow$$.$superclass$.cancel.call(this)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.cancel", {cancel:$AdfDhtmlPopupWindow$$.prototype.cancel});
$AdfDhtmlPopupWindow$$.$_createFocusPagePropertyKey$ = function $$AdfDhtmlPopupWindow$$$$_createFocusPagePropertyKey$$($clientId$$51$$) {
  $AdfAssert$$.$assertString$($clientId$$51$$);
  return $clientId$$51$$.split(":").join("$") + "$restoreFocus"
};
$AdfDhtmlPopupWindow$$.prototype.$_restoreFocus$ = function $$AdfDhtmlPopupWindow$$$$$_restoreFocus$$() {
  var $agent$$69_focusParams$$ = $AdfAgent$$.$AGENT$, $page$$55$$ = $AdfPage$$.$PAGE$, $focusContextCache$$ = {}, $restoreFocusElement$$1$$, $element$$146$$ = this.$getElement$();
  if($agent$$69_focusParams$$.$getPlatform$() == $AdfAgent$$.$IE_PLATFORM$ && !(this instanceof $AdfDhtmlSimpleFloat$$)) {
    var $clickEvent_eventTarget$$10$$ = $page$$55$$.$getDomWindow$().event;
    $clickEvent_eventTarget$$10$$ && ($clickEvent_eventTarget$$10$$ = $agent$$69_focusParams$$.$getEventTarget$($clickEvent_eventTarget$$10$$)) && ($AdfFocusUtils$$.$isFocusable$($clickEvent_eventTarget$$10$$) && !$AdfDomUtils$$.$isAncestorOrSelf$($element$$146$$, $clickEvent_eventTarget$$10$$)) && ($restoreFocusElement$$1$$ = $clickEvent_eventTarget$$10$$)
  }
  $restoreFocusElement$$1$$ || ($restoreFocusElement$$1$$ = this.$getAlignElement$());
  if(this.$_restoreFocusId$ && (!$restoreFocusElement$$1$$ || !$AdfFocusUtils$$.$isFocusable$($restoreFocusElement$$1$$, $focusContextCache$$))) {
    $restoreFocusElement$$1$$ = $agent$$69_focusParams$$.$getDomDocument$().getElementById(this.$_restoreFocusId$)
  }
  if(!$restoreFocusElement$$1$$ || !$AdfFocusUtils$$.$isFocusable$($restoreFocusElement$$1$$, $focusContextCache$$)) {
    $restoreFocusElement$$1$$ = this.$GetLaunchSourceElement$()
  }
  $restoreFocusElement$$1$$ ? $agent$$69_focusParams$$.$getPlatform$() == $AdfAgent$$.$IE_PLATFORM$ ? ($agent$$69_focusParams$$ = {}, $agent$$69_focusParams$$.focusElement = $restoreFocusElement$$1$$, $agent$$69_focusParams$$.popupElement = $element$$146$$, $page$$55$$.$scheduleTimer$(this, this.$_delayedCheckedFocus$, $agent$$69_focusParams$$, 10, {isSynchronized:$JSCompiler_alias_TRUE$$})) : $AdfFocusUtils$$.$isFocusable$($restoreFocusElement$$1$$, $focusContextCache$$) ? $AdfFocusUtils$$.$focusElement$($restoreFocusElement$$1$$) : 
  $AdfFocusUtils$$.$focusNextTabStop$($restoreFocusElement$$1$$) : $AdfFocusUtils$$.$focusFirstDocumentTabStop$()
};
$AdfDhtmlPopupWindow$$.prototype.$_delayedCheckedFocus$ = function $$AdfDhtmlPopupWindow$$$$$_delayedCheckedFocus$$($params$$28$$) {
  !$AdfFocusUtils$$.$isFocusable$($AdfPage$$.$PAGE$.$_activeDomNode$) && !$AdfDomUtils$$.$isAncestorOrSelf$($params$$28$$.popupElement, $params$$28$$.focusElement) && $AdfFocusUtils$$.$focusElement$($params$$28$$.focusElement)
};
$AdfDhtmlPopupWindow$$.prototype.$GetLaunchSourceElement$ = function $$AdfDhtmlPopupWindow$$$$$GetLaunchSourceElement$$() {
  var $launchSourceId$$11$$ = this.$_launchSourceId$;
  return $launchSourceId$$11$$ ? $AdfAgent$$.$AGENT$.getElementById($launchSourceId$$11$$) : $JSCompiler_alias_NULL$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.GetLaunchSourceElement", {$GetLaunchSourceElement$:$AdfDhtmlPopupWindow$$.prototype.$GetLaunchSourceElement$});
$AdfDhtmlPopupWindow$$.prototype.$setContent$ = function $$AdfDhtmlPopupWindow$$$$$setContent$$($selectorContent$$) {
  var $contentElement$$3$$ = this.$GetContentParent$();
  $contentElement$$3$$.firstChild && $contentElement$$3$$.removeChild($contentElement$$3$$.firstChild);
  $contentElement$$3$$.appendChild($selectorContent$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.setContent", {$setContent$:$AdfDhtmlPopupWindow$$.prototype.$setContent$});
$AdfDhtmlPopupWindow$$.prototype.$setAccessibleAttrs$ = $JSCompiler_emptyFn$$();
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.setAccessibleAttrs", {$setAccessibleAttrs$:$AdfDhtmlPopupWindow$$.prototype.$setAccessibleAttrs$});
$AdfDhtmlPopupWindow$$.prototype.$removeAccessibleAttrs$ = $JSCompiler_emptyFn$$();
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.removeAccessibleAttrs", {$removeAccessibleAttrs$:$AdfDhtmlPopupWindow$$.prototype.$removeAccessibleAttrs$});
$AdfDhtmlPopupWindow$$.prototype.$announceOpeningViaLiveRegion$ = $JSCompiler_emptyFn$$();
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.announceOpeningViaLiveRegion", {$announceOpeningViaLiveRegion$:$AdfDhtmlPopupWindow$$.prototype.$announceOpeningViaLiveRegion$});
$AdfDhtmlPopupWindow$$.prototype.$getContent$ = function $$AdfDhtmlPopupWindow$$$$$getContent$$() {
  return this.$GetContentParent$().firstChild
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.getContent", {$getContent$:$AdfDhtmlPopupWindow$$.prototype.$getContent$});
$AdfDhtmlPopupWindow$$.prototype.$GetContentParent$ = function $$AdfDhtmlPopupWindow$$$$$GetContentParent$$() {
  $AdfAssert$$.$failedInAbstractFunction$()
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.GetContentParent", {$GetContentParent$:$AdfDhtmlPopupWindow$$.prototype.$GetContentParent$});
$AdfDhtmlPopupWindow$$.prototype.$setCloseHandler$ = $JSCompiler_set$$("$_closeHandler$");
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.setCloseHandler", {$setCloseHandler$:$AdfDhtmlPopupWindow$$.prototype.$setCloseHandler$});
$AdfDhtmlPopupWindow$$.prototype.$setCloseHandlerParam$ = $JSCompiler_set$$("$_closeHandlerParam$");
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.setCloseHandlerParam", {$setCloseHandlerParam$:$AdfDhtmlPopupWindow$$.prototype.$setCloseHandlerParam$});
$AdfDhtmlPopupWindow$$.prototype.$isVisible$ = function $$AdfDhtmlPopupWindow$$$$$isVisible$$() {
  return"none" != this.$getElement$().style.display
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.isVisible", {$isVisible$:$AdfDhtmlPopupWindow$$.prototype.$isVisible$});
$AdfDhtmlPopupWindow$$.prototype.$DoShow$ = function $$AdfDhtmlPopupWindow$$$$$DoShow$$() {
  $AdfDhtmlPopupWindow$$.$superclass$.show.call(this);
  this.$raiseToFront$()
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.DoShow", {$DoShow$:$AdfDhtmlPopupWindow$$.prototype.$DoShow$});
$AdfDhtmlPopupWindow$$.prototype.$CreateShadow$ = function $$AdfDhtmlPopupWindow$$$$$CreateShadow$$($afterAnimation$$1$$) {
  this.$HasShadow$() && (!this.$_animationDuration$ || $afterAnimation$$1$$) && $AdfDhtmlShadowDecorator$$.$createShadowDecorator$(this.$getShadowAnchor$(), this.$getElement$().parentNode)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.CreateShadow", {$CreateShadow$:$AdfDhtmlPopupWindow$$.prototype.$CreateShadow$});
$AdfDhtmlPopupWindow$$.prototype.$HasShadow$ = $JSCompiler_returnArg$$($JSCompiler_alias_TRUE$$);
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.HasShadow", {$HasShadow$:$AdfDhtmlPopupWindow$$.prototype.$HasShadow$});
$AdfDhtmlPopupWindow$$.prototype.$shouldInvertPosition$ = $JSCompiler_returnArg$$($JSCompiler_alias_TRUE$$);
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.shouldInvertPosition", {$shouldInvertPosition$:$AdfDhtmlPopupWindow$$.prototype.$shouldInvertPosition$});
$AdfDhtmlPopupWindow$$.prototype.$destroy$ = function $$AdfDhtmlPopupWindow$$$$$destroy$$() {
  var $agent$$70_shadowAnchor$$ = $AdfAgent$$.$AGENT$, $page$$56$$ = $AdfPage$$.$PAGE$;
  this.$_unregisterEventHandlers$();
  $agent$$70_shadowAnchor$$.$elementsRemoved$(this.$getElement$());
  this.$_restoreFocusElement$ = $JSCompiler_alias_NULL$$;
  this.$_sizeTimeout$ != $JSCompiler_alias_NULL$$ && ($page$$56$$.$cancelTimer$(this.$_sizeTimeout$), delete this.$_sizeTimeout$);
  $agent$$70_shadowAnchor$$ = this.$getShadowAnchor$();
  $AdfDhtmlShadowDecorator$$.$hasShadowDecorator$($agent$$70_shadowAnchor$$) && $AdfDhtmlShadowDecorator$$.$removeShadowDecorator$($agent$$70_shadowAnchor$$);
  this.$_positionManagerIndex$ != $JSCompiler_alias_NULL$$ && $page$$56$$.$getPositionManager$().$removeElement$(this.$_positionManagerIndex$);
  this.$setAlignElement$($JSCompiler_alias_NULL$$);
  $AdfDhtmlPopupWindow$$.$superclass$.$destroy$.call(this)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.destroy", {$destroy$:$AdfDhtmlPopupWindow$$.prototype.$destroy$});
$AdfDhtmlPopupWindow$$.prototype.$isAnimating$ = function $$AdfDhtmlPopupWindow$$$$$isAnimating$$() {
  return this.$_animating$ || this.$_isOpening$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.isAnimating", {$isAnimating$:$AdfDhtmlPopupWindow$$.prototype.$isAnimating$});
$AdfDhtmlPopupWindow$$.prototype.$GetPositionManagerIndex$ = $JSCompiler_get$$("$_positionManagerIndex$");
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.GetPositionManagerIndex", {$GetPositionManagerIndex$:$AdfDhtmlPopupWindow$$.prototype.$GetPositionManagerIndex$});
$AdfDhtmlPopupWindow$$.prototype.$_handleKeyDown$ = function $$AdfDhtmlPopupWindow$$$$$_handleKeyDown$$($event$$91$$) {
  var $agent$$71$$ = $AdfAgent$$.$AGENT$, $targetElement$$4$$ = $agent$$71$$.$getEventTarget$($event$$91$$);
  if($event$$91$$.keyCode == $AdfKeyStroke$$.$TAB_KEY$) {
    var $content$$17$$ = this.$getContent$(), $firstFocusableElementInPopup$$ = $AdfFocusUtils$$.$getFirstTabStop$($content$$17$$), $lastElement$$ = $AdfFocusUtils$$.$getLastTabStop$($content$$17$$);
    $event$$91$$.shiftKey ? $targetElement$$4$$ == $firstFocusableElementInPopup$$ && ($AdfFocusUtils$$.$focusPreviousTabStop$($targetElement$$4$$, $content$$17$$), $agent$$71$$.$eatEvent$($event$$91$$)) : $lastElement$$ == $targetElement$$4$$ && ($AdfFocusUtils$$.$focusNextTabStop$($targetElement$$4$$, $content$$17$$), $agent$$71$$.$eatEvent$($event$$91$$))
  }
  $event$$91$$.keyCode == $AdfKeyStroke$$.$F6_KEY$ && $AdfDomUtils$$.$isAncestorOrSelf$(this.$getElement$(), $targetElement$$4$$) && this.$HandleKeyNavigation$($event$$91$$)
};
$AdfDhtmlPopupWindow$$.prototype.$_handleKeyUp$ = function $$AdfDhtmlPopupWindow$$$$$_handleKeyUp$$($event$$92$$) {
  var $agent$$72_launchElement$$4$$ = $AdfAgent$$.$AGENT$, $keyCode$$21$$ = $agent$$72_launchElement$$4$$.$getKeyCode$($event$$92$$), $targetElement$$5$$ = $agent$$72_launchElement$$4$$.$getEventTarget$($event$$92$$);
  if($keyCode$$21$$ == $AdfKeyStroke$$.$ESC_KEY$ && this.$_closeOnEscape$) {
    var $invokeEscapeHandler$$ = $JSCompiler_alias_FALSE$$, $launchSourceId$$12$$ = this.$_launchSourceId$;
    $AdfDomUtils$$.$isAncestorOrSelf$(this.$getElement$(), $targetElement$$5$$) ? $invokeEscapeHandler$$ = $JSCompiler_alias_TRUE$$ : $launchSourceId$$12$$ && ($agent$$72_launchElement$$4$$ = $agent$$72_launchElement$$4$$.getElementById($launchSourceId$$12$$)) && $AdfDomUtils$$.$isAncestorOrSelf$($agent$$72_launchElement$$4$$, $targetElement$$5$$) && ($invokeEscapeHandler$$ = $JSCompiler_alias_TRUE$$);
    $invokeEscapeHandler$$ && this.$HandleEscapeKey$($event$$92$$)
  }
  $event$$92$$.ctrlKey && $event$$92$$.altKey && $keyCode$$21$$ == $AdfKeyStroke$$.$W_KEY$ && $AdfDomUtils$$.$isAncestorOrSelf$(this.$getElement$(), $targetElement$$5$$) && this.$HandleKeyNavigation$($event$$92$$)
};
$AdfDhtmlPopupWindow$$.prototype.$HandleEscapeKey$ = function $$AdfDhtmlPopupWindow$$$$$HandleEscapeKey$$($event$$93$$) {
  this.cancel();
  $AdfAgent$$.$AGENT$.$eatEvent$($event$$93$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.HandleEscapeKey", {$HandleEscapeKey$:$AdfDhtmlPopupWindow$$.prototype.$HandleEscapeKey$});
$AdfDhtmlPopupWindow$$.prototype.$HandleKeyNavigation$ = $JSCompiler_emptyFn$$();
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.HandleKeyNavigation", {$HandleKeyNavigation$:$AdfDhtmlPopupWindow$$.prototype.$HandleKeyNavigation$});
$AdfDhtmlPopupWindow$$.prototype.$_size$ = function $$AdfDhtmlPopupWindow$$$$$_size$$($hints$$39$$) {
  if(this.$_sizeTimeout$ != $JSCompiler_alias_NULL$$) {
    delete this.$_sizeTimeout$;
    var $domElement$$50_elementStyle$$1$$ = this.$getContent$();
    this.$DoResizeNotifyDom$($domElement$$50_elementStyle$$1$$);
    var $animationDuration$$3_element$$147$$ = this.$getElement$(), $domElement$$50_elementStyle$$1$$ = $animationDuration$$3_element$$147$$.style, $agent$$73_maxWidth$$3$$ = this.$_maxWidth$;
    $agent$$73_maxWidth$$3$$ ? $domElement$$50_elementStyle$$1$$.width = Math.min($animationDuration$$3_element$$147$$.offsetWidth, $agent$$73_maxWidth$$3$$) + "px" : ($agent$$73_maxWidth$$3$$ = $AdfAgent$$.$AGENT$, $agent$$73_maxWidth$$3$$.$getPlatform$() == $AdfAgent$$.$IE_PLATFORM$ && 8 < $agent$$73_maxWidth$$3$$.$getVersion$() ? $domElement$$50_elementStyle$$1$$.width = $animationDuration$$3_element$$147$$.offsetWidth + 1 + "px" : $domElement$$50_elementStyle$$1$$.width = $animationDuration$$3_element$$147$$.offsetWidth + 
    "px");
    this.$_positionManagerIndex$ != $JSCompiler_alias_NULL$$ && $AdfPage$$.$PAGE$.$getPositionManager$().$validatePosition$(this.$_positionManagerIndex$);
    $animationDuration$$3_element$$147$$ = this.$_animationDuration$;
    0 < $animationDuration$$3_element$$147$$ ? this.$AnimateOpening$($animationDuration$$3_element$$147$$, $hints$$39$$) : ($domElement$$50_elementStyle$$1$$.visibility = "", this.$CreateShadow$(), this.$OpenedPopup$($hints$$39$$))
  }
};
$AdfDhtmlPopupWindow$$.prototype.$AnimateOpening$ = function $$AdfDhtmlPopupWindow$$$$$AnimateOpening$$($animationDuration$$4$$, $hints$$40$$) {
  this.$_animating$ = $JSCompiler_alias_TRUE$$;
  var $isAnchorRight$$1$$ = $JSCompiler_alias_FALSE$$, $isAnchorBottom$$1$$ = $JSCompiler_alias_FALSE$$, $behavior$$3_positionManagerIndex$$2$$ = this.$GetPositionManagerIndex$();
  if(0 <= $behavior$$3_positionManagerIndex$$2$$ && ($behavior$$3_positionManagerIndex$$2$$ = $AdfPage$$.$PAGE$.$getPositionManager$().$getComputedBehavior$($behavior$$3_positionManagerIndex$$2$$))) {
    $isAnchorRight$$1$$ = $behavior$$3_positionManagerIndex$$2$$.$horizontalBehavior$.$floatingElementAnchor$ == $AdfDhtmlPositionManager$$.$RIGHT$, $isAnchorBottom$$1$$ = $behavior$$3_positionManagerIndex$$2$$.$verticalBehavior$.$floatingElementAnchor$ == $AdfDhtmlPositionManager$$.$BOTTOM$
  }
  this.$AnimateUsingWrapper$($animationDuration$$4$$, $isAnchorRight$$1$$, $isAnchorBottom$$1$$, $hints$$40$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.AnimateOpening", {$AnimateOpening$:$AdfDhtmlPopupWindow$$.prototype.$AnimateOpening$});
$AdfDhtmlPopupWindow$$.prototype.$AnimateUsingWrapper$ = function $$AdfDhtmlPopupWindow$$$$$AnimateUsingWrapper$$($animationDuration$$5$$, $isAchorRight$$2$$, $isAchorBottom$$2$$, $hints$$41$$) {
  var $rootElement$$12$$ = this.$getElement$(), $wrapper$$6$$ = $rootElement$$12$$.ownerDocument.createElement("div");
  $wrapper$$6$$.setAttribute($AdfDhtmlPopupWindow$$.$_ANIMATE_WRAPPER_EXPANDO$, $JSCompiler_alias_TRUE$$);
  var $properties$$48_wrapperStyle$$1$$ = $wrapper$$6$$.style, $rootStyle$$1$$ = $rootElement$$12$$.style, $finalHeight$$1$$ = $rootElement$$12$$.offsetHeight, $finalWidth$$1$$ = $rootElement$$12$$.offsetWidth, $finalLeft$$1$$ = parseInt($rootStyle$$1$$.left), $finalTop$$1$$ = parseInt($rootStyle$$1$$.top);
  $properties$$48_wrapperStyle$$1$$.left = $isAchorRight$$2$$ ? $finalLeft$$1$$ + $finalWidth$$1$$ - 1 + "px" : $rootStyle$$1$$.left;
  $properties$$48_wrapperStyle$$1$$.top = $isAchorBottom$$2$$ ? $finalTop$$1$$ + $finalHeight$$1$$ + 1 + "px" : $rootStyle$$1$$.top;
  $properties$$48_wrapperStyle$$1$$.overflow = "hidden";
  $properties$$48_wrapperStyle$$1$$.position = "absolute";
  $properties$$48_wrapperStyle$$1$$.height = "1px";
  $properties$$48_wrapperStyle$$1$$.width = "1px";
  $rootStyle$$1$$.left = $rootStyle$$1$$.top = "0px";
  $properties$$48_wrapperStyle$$1$$.zIndex = $rootStyle$$1$$.zIndex;
  this.$SaveScrollValues$($rootElement$$12$$);
  $rootElement$$12$$.parentNode.replaceChild($wrapper$$6$$, $rootElement$$12$$);
  $wrapper$$6$$.appendChild($rootElement$$12$$);
  $rootStyle$$1$$.visibility = "";
  $properties$$48_wrapperStyle$$1$$ = {height:$finalHeight$$1$$, width:$finalWidth$$1$$};
  $isAchorBottom$$2$$ && ($properties$$48_wrapperStyle$$1$$.top = $finalTop$$1$$);
  $isAchorRight$$2$$ && ($properties$$48_wrapperStyle$$1$$.left = $finalLeft$$1$$);
  $AdfPage$$.$PAGE$.$prepareMaskingFrame$($rootElement$$12$$);
  $AdfDhtmlElementAnimator$animate$$(0, $animationDuration$$5$$, [{element:$wrapper$$6$$, properties:$properties$$48_wrapperStyle$$1$$}], $JSCompiler_alias_NULL$$, $AdfDhtmlPopupWindow$$.$AnimationComplete$, {wrapper:$wrapper$$6$$, myself:this, hints:$hints$$41$$})
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.AnimateUsingWrapper", {$AnimateUsingWrapper$:$AdfDhtmlPopupWindow$$.prototype.$AnimateUsingWrapper$});
$AdfDhtmlPopupWindow$$.$_restoreRootPostAnimation$ = function $$AdfDhtmlPopupWindow$$$$_restoreRootPostAnimation$$($wrapper$$7$$) {
  var $wrapperStyle$$2$$ = $wrapper$$7$$.style, $rootElement$$13$$ = $wrapper$$7$$.firstChild, $rootStyle$$2$$ = $rootElement$$13$$.style;
  $rootStyle$$2$$.right = $wrapperStyle$$2$$.right;
  $rootStyle$$2$$.left = $wrapperStyle$$2$$.left;
  $rootStyle$$2$$.top = $wrapperStyle$$2$$.top;
  $wrapper$$7$$.parentNode.replaceChild($rootElement$$13$$, $wrapper$$7$$)
};
$AdfDhtmlPopupWindow$$.$AnimationComplete$ = function $$AdfDhtmlPopupWindow$$$$AnimationComplete$$($context$$26_hints$$42$$) {
  var $wrapper$$8$$ = $context$$26_hints$$42$$.wrapper, $myself$$5$$ = $context$$26_hints$$42$$.myself;
  $context$$26_hints$$42$$ = $context$$26_hints$$42$$.hints;
  $myself$$5$$.$_animating$ && (delete $myself$$5$$.$_animator$, $AdfDhtmlPopupWindow$$.$_restoreRootPostAnimation$($wrapper$$8$$), $myself$$5$$.$CreateShadow$($JSCompiler_alias_TRUE$$), $myself$$5$$.$OpenedPopup$($context$$26_hints$$42$$), $AdfAgent$$.$AGENT$.$getPlatform$() == $AdfAgent$$.$IE_PLATFORM$ ? $AdfPage$$.$PAGE$.$scheduleTimer$($myself$$5$$, $myself$$5$$.$createCallback$($myself$$5$$.$_toggleOffAnimating$), $JSCompiler_alias_NULL$$, 1, {isSynchronized:$JSCompiler_alias_TRUE$$}) : $myself$$5$$.$_toggleOffAnimating$())
};
$goog$exportSymbol$$("AdfDhtmlPopupWindow.AnimationComplete", $AdfDhtmlPopupWindow$$.$AnimationComplete$);
$AdfDhtmlPopupWindow$$.prototype.$GetAnimationDuration$ = $JSCompiler_get$$("$_animationDuration$");
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.GetAnimationDuration", {$GetAnimationDuration$:$AdfDhtmlPopupWindow$$.prototype.$GetAnimationDuration$});
$AdfDhtmlPopupWindow$$.prototype.$GetAnimationDurationSkinProperty$ = $JSCompiler_returnArg$$($JSCompiler_alias_NULL$$);
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.GetAnimationDurationSkinProperty", {$GetAnimationDurationSkinProperty$:$AdfDhtmlPopupWindow$$.prototype.$GetAnimationDurationSkinProperty$});
$AdfDhtmlPopupWindow$$.prototype.$GetAnimateSkinProperty$ = $JSCompiler_returnArg$$($JSCompiler_alias_NULL$$);
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.GetAnimateSkinProperty", {$GetAnimateSkinProperty$:$AdfDhtmlPopupWindow$$.prototype.$GetAnimateSkinProperty$});
$AdfDhtmlPopupWindow$$.prototype.$autoSize$ = function $$AdfDhtmlPopupWindow$$$$$autoSize$$() {
  var $anchor$$11_element$$148_isOpening$$ = this.$_isOpening$;
  if(this.$isVisible$() && !$anchor$$11_element$$148_isOpening$$) {
    var $anchor$$11_element$$148_isOpening$$ = this.$getElement$(), $elementStyle$$2$$ = $anchor$$11_element$$148_isOpening$$.style;
    $elementStyle$$2$$.width = "auto";
    var $maxWidth$$4$$ = this.$_maxWidth$;
    $elementStyle$$2$$.width = $maxWidth$$4$$ ? Math.min($anchor$$11_element$$148_isOpening$$.offsetWidth, $maxWidth$$4$$) + "px" : $anchor$$11_element$$148_isOpening$$.offsetWidth + "px";
    $anchor$$11_element$$148_isOpening$$ = this.$getShadowAnchor$();
    $AdfDhtmlShadowDecorator$$.$hasShadowDecorator$($anchor$$11_element$$148_isOpening$$) && ($AdfDhtmlShadowDecorator$$.$moveShadowDecorator$($anchor$$11_element$$148_isOpening$$), $AdfDhtmlShadowDecorator$$.$showShadowDecorator$($anchor$$11_element$$148_isOpening$$, $JSCompiler_alias_TRUE$$))
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.autoSize", {$autoSize$:$AdfDhtmlPopupWindow$$.prototype.$autoSize$});
$AdfDhtmlPopupWindow$$.prototype.$FocusOnFirstElement$ = function $$AdfDhtmlPopupWindow$$$$$FocusOnFirstElement$$($firstFocus_force$$1$$) {
  var $agent$$74_focusContentElement_focusHint$$2$$ = this.$GetFocusOnOpen$();
  if($firstFocus_force$$1$$ || $agent$$74_focusContentElement_focusHint$$2$$) {
    $agent$$74_focusContentElement_focusHint$$2$$ = this.$GetFocusContent$();
    $firstFocus_force$$1$$ = $AdfFocusUtils$$.$getFirstTabStop$($agent$$74_focusContentElement_focusHint$$2$$);
    if(!$firstFocus_force$$1$$) {
      var $rootElement$$14$$ = this.$getElement$();
      $rootElement$$14$$ != $agent$$74_focusContentElement_focusHint$$2$$ && ($firstFocus_force$$1$$ = $AdfFocusUtils$$.$getFirstTabStop$($rootElement$$14$$));
      $firstFocus_force$$1$$ || ($agent$$74_focusContentElement_focusHint$$2$$.tabIndex = 0, $firstFocus_force$$1$$ = $agent$$74_focusContentElement_focusHint$$2$$)
    }
    $firstFocus_force$$1$$ && ($agent$$74_focusContentElement_focusHint$$2$$ = $AdfAgent$$.$AGENT$, $AdfAgent$$.$IE_PLATFORM$ == $agent$$74_focusContentElement_focusHint$$2$$.$getPlatform$() && 8 == $agent$$74_focusContentElement_focusHint$$2$$.$getVersion$() ? $AdfFocusUtils$$.$focusElementDelayed$($firstFocus_force$$1$$, 1E3) : $AdfFocusUtils$$.$focusElement$($firstFocus_force$$1$$))
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.FocusOnFirstElement", {$FocusOnFirstElement$:$AdfDhtmlPopupWindow$$.prototype.$FocusOnFirstElement$});
$AdfDhtmlPopupWindow$$.prototype.$GetFocusContent$ = function $$AdfDhtmlPopupWindow$$$$$GetFocusContent$$() {
  return this.$getElement$()
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.GetFocusContent", {$GetFocusContent$:$AdfDhtmlPopupWindow$$.prototype.$GetFocusContent$});
$AdfDhtmlPopupWindow$$.prototype.$Position$ = function $$AdfDhtmlPopupWindow$$$$$Position$$($hintAlign$$) {
  var $positionManager$$1$$ = $AdfPage$$.$PAGE$.$getPositionManager$(), $positionManagerIndex$$3$$ = this.$_positionManagerIndex$;
  $positionManagerIndex$$3$$ && ($positionManager$$1$$.$removeElement$($positionManagerIndex$$3$$), delete this.$_positionManagerIndex$);
  this.$_positionManagerIndex$ = $positionManager$$1$$.$addFloatingElement$(this, $hintAlign$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.Position", {$Position$:$AdfDhtmlPopupWindow$$.prototype.$Position$});
$AdfDhtmlPopupWindow$$.prototype.$DoResizeNotifyDom$ = function $$AdfDhtmlPopupWindow$$$$$DoResizeNotifyDom$$($content$$18$$) {
  $AdfPage$$.$PAGE$.$doResizeNotifyDom$($content$$18$$, $JSCompiler_alias_FALSE$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.DoResizeNotifyDom", {$DoResizeNotifyDom$:$AdfDhtmlPopupWindow$$.prototype.$DoResizeNotifyDom$});
$AdfDhtmlPopupWindow$$.prototype.$SaveScrollValues$ = function $$AdfDhtmlPopupWindow$$$$$SaveScrollValues$$($childElements$$1_domElement$$51$$) {
  $childElements$$1_domElement$$51$$ = $childElements$$1_domElement$$51$$.getElementsByTagName("*");
  for(var $childCount$$1$$ = $childElements$$1_domElement$$51$$.length, $i$$134$$ = 0;$i$$134$$ < $childCount$$1$$;$i$$134$$++) {
    var $currElement$$8$$ = $childElements$$1_domElement$$51$$[$i$$134$$], $scrollTop$$7$$ = $currElement$$8$$.scrollTop;
    0 < $scrollTop$$7$$ && $currElement$$8$$.setAttribute($AdfDhtmlPopupWindow$$.$_SCROLL_POSITION_EXPANDO$, $scrollTop$$7$$)
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.SaveScrollValues", {$SaveScrollValues$:$AdfDhtmlPopupWindow$$.prototype.$SaveScrollValues$});
$AdfDhtmlPopupWindow$$.prototype.$RestoreScrollValues$ = function $$AdfDhtmlPopupWindow$$$$$RestoreScrollValues$$($childElements$$2_domElement$$52$$) {
  $childElements$$2_domElement$$52$$ = $childElements$$2_domElement$$52$$.getElementsByTagName("*");
  for(var $childCount$$2$$ = $childElements$$2_domElement$$52$$.length, $y$$37$$ = 0;$y$$37$$ < $childCount$$2$$;$y$$37$$++) {
    var $currElement$$9$$ = $childElements$$2_domElement$$52$$[$y$$37$$], $scrollPosition$$ = $currElement$$9$$.getAttribute($AdfDhtmlPopupWindow$$.$_SCROLL_POSITION_EXPANDO$);
    $scrollPosition$$ && 0 < $scrollPosition$$ && $AdfDomUtils$$.setScrollTop($currElement$$9$$, $scrollPosition$$)
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.RestoreScrollValues", {$RestoreScrollValues$:$AdfDhtmlPopupWindow$$.prototype.$RestoreScrollValues$});
$AdfDhtmlPopupWindow$$.prototype.$getLaunchSourceId$ = $JSCompiler_get$$("$_launchSourceId$");
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.getLaunchSourceId", {$getLaunchSourceId$:$AdfDhtmlPopupWindow$$.prototype.$getLaunchSourceId$});
$AdfDhtmlPopupWindow$$.prototype.$GetFocusOnOpen$ = function $$AdfDhtmlPopupWindow$$$$$GetFocusOnOpen$$() {
  return this.$_focusHint$ ? $JSCompiler_alias_TRUE$$ : $JSCompiler_alias_FALSE$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.GetFocusOnOpen", {$GetFocusOnOpen$:$AdfDhtmlPopupWindow$$.prototype.$GetFocusOnOpen$});
$AdfDhtmlPopupWindow$$.prototype.$SetFocusOnOpen$ = $JSCompiler_set$$("$_focusHint$");
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.SetFocusOnOpen", {$SetFocusOnOpen$:$AdfDhtmlPopupWindow$$.prototype.$SetFocusOnOpen$});
$AdfDhtmlPopupWindow$$.prototype.$GetMaxWidth$ = $JSCompiler_get$$("$_maxWidth$");
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.GetMaxWidth", {$GetMaxWidth$:$AdfDhtmlPopupWindow$$.prototype.$GetMaxWidth$});
$AdfDhtmlPopupWindow$$.$isAncestorOrSelf$ = function $$AdfDhtmlPopupWindow$$$$isAncestorOrSelf$$($ancestorNode$$1$$, $domElement$$53$$) {
  for(var $agent$$75$$ = $AdfAgent$$.$AGENT$;$domElement$$53$$;) {
    if($ancestorNode$$1$$ == $domElement$$53$$) {
      return $JSCompiler_alias_TRUE$$
    }
    1 == $domElement$$53$$.nodeType && $domElement$$53$$.hasAttribute($AdfDhtmlPopupWindow$$.$__POPUPID_EXPANDO$) ? (popupId = $domElement$$53$$.getAttribute($AdfDhtmlPopupWindow$$.$__POPUPID_EXPANDO$), $domElement$$53$$ = $agent$$75$$.getElementById(popupId)) : $domElement$$53$$ = $domElement$$53$$.parentNode
  }
  return $JSCompiler_alias_FALSE$$
};
$goog$exportSymbol$$("AdfDhtmlPopupWindow.isAncestorOrSelf", $AdfDhtmlPopupWindow$$.$isAncestorOrSelf$);
$AdfDhtmlPopupWindow$$.prototype.$ImmediateZorderRegistration$ = $JSCompiler_returnArg$$($JSCompiler_alias_FALSE$$);
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.ImmediateZorderRegistration", {$ImmediateZorderRegistration$:$AdfDhtmlPopupWindow$$.prototype.$ImmediateZorderRegistration$});
$AdfDhtmlPopupWindow$$.prototype.$getZorderScope$ = $JSCompiler_get$$("$_zorderScope$");
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.getZorderScope", {$getZorderScope$:$AdfDhtmlPopupWindow$$.prototype.$getZorderScope$});
$AdfDhtmlPopupWindow$$.prototype.$setRestoreFocusId$ = $JSCompiler_set$$("$_restoreFocusId$");
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.setRestoreFocusId", {$setRestoreFocusId$:$AdfDhtmlPopupWindow$$.prototype.$setRestoreFocusId$});
$AdfDhtmlPopupWindow$$.prototype.$addOpenedHandler$ = function $$AdfDhtmlPopupWindow$$$$$addOpenedHandler$$($handler$$4$$, $params$$29$$) {
  $AdfAssert$$.$assertFunction$($handler$$4$$, "popup opened handler");
  $AdfAssert$$.$assertObjectOrNull$($params$$29$$, "popup opened handler function params");
  var $openedHandlers$$1$$ = this.$_openedHandlers$;
  $openedHandlers$$1$$ || ($openedHandlers$$1$$ = this.$_openedHandlers$ = []);
  var $openedHandlerParams$$1$$ = this.$_openedHandlerParams$;
  $openedHandlerParams$$1$$ || ($openedHandlerParams$$1$$ = this.$_openedHandlerParams$ = []);
  $openedHandlers$$1$$.push($handler$$4$$);
  $openedHandlerParams$$1$$.push($params$$29$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.addOpenedHandler", {$addOpenedHandler$:$AdfDhtmlPopupWindow$$.prototype.$addOpenedHandler$});
