function $AdfDhtmlRichDialogService$$() {
  this.Init()
}
$goog$exportSymbol$$("AdfDhtmlRichDialogService", $AdfDhtmlRichDialogService$$);
$goog$exportSymbol$$("AdfDhtmlRichDialogService", $AdfDhtmlRichDialogService$$);
$AdfDhtmlRichDialogService$$.$_PANELWINDOWID_EXPANDO$ = "data-afr-panelwindowid";
$AdfDhtmlRichDialogService$$.$_INLINEFRAMEID_EXPANDO$ = "data-afr-inlineframeid";
$AdfDhtmlRichDialogService$$.$_RTNID_EXPANDO$ = "data-afr-rtnid";
$AdfObject$$.$createSubclass$($AdfDhtmlRichDialogService$$);
$AdfDhtmlRichDialogService$$.$getInstance$ = function $$AdfDhtmlRichDialogService$$$$getInstance$$() {
  this.$_theInstance$ == $JSCompiler_alias_NULL$$ && (this.$_theInstance$ = new $AdfDhtmlRichDialogService$$);
  return this.$_theInstance$
};
$AdfDhtmlRichDialogService$$.getInstance = $AdfDhtmlRichDialogService$$.$getInstance$;
$goog$exportSymbol$$("AdfDhtmlRichDialogService.getInstance", $AdfDhtmlRichDialogService$$.$getInstance$);
$AdfDhtmlRichDialogService$$.$dialogExists$ = function $$AdfDhtmlRichDialogService$$$$dialogExists$$($rtnId$$5$$) {
  return $AdfDhtmlRichDialogService$$.$_getDialogStateToken$($rtnId$$5$$) ? $JSCompiler_alias_TRUE$$ : $JSCompiler_alias_FALSE$$
};
$AdfDhtmlRichDialogService$$.dialogExists = $AdfDhtmlRichDialogService$$.$dialogExists$;
$goog$exportSymbol$$("AdfDhtmlRichDialogService.dialogExists", $AdfDhtmlRichDialogService$$.$dialogExists$);
$AdfDhtmlRichDialogService$$.prototype.$launchWindow$ = function $$AdfDhtmlRichDialogService$$$$$launchWindow$$($srcURL$$, $windowName$$3$$, $features$$2$$, $dialogSourceClientId_state$$68$$) {
  $AdfAssert$$.$assertString$($srcURL$$);
  $AdfAssert$$.$assertString$($windowName$$3$$);
  $AdfAssert$$.$assertObject$($features$$2$$);
  $AdfAssert$$.$assertStringOrNull$($dialogSourceClientId_state$$68$$);
  var $page$$163$$ = $AdfPage$$.$PAGE$;
  try {
    $AdfDhtmlRichDialogService$$.$_setBusy$($JSCompiler_alias_TRUE$$, "LAUNCHING_WINDOW_DIALOG");
    var $rtnId$$6$$ = $AdfDhtmlRichDialogService$$.$_generateRtnId$(), $launchSourceId$$13$$ = $AdfDhtmlRichDialogService$$.$_normalizeLaunchSourceId$($dialogSourceClientId_state$$68$$), $modal$$3$$ = $features$$2$$.$windowModalityType$ && $features$$2$$.$windowModalityType$ == $AdfDhtmlRichDialogService$$.$_WINDOW_MODALITY_TYPE_APPLICATION_MODAL$ ? $JSCompiler_alias_TRUE$$ : $JSCompiler_alias_FALSE$$;
    $dialogSourceClientId_state$$68$$ = {launchSourceId:$launchSourceId$$13$$, modal:$modal$$3$$, windowName:$windowName$$3$$, rtnId:$rtnId$$6$$};
    $AdfDhtmlRichDialogService$$.$_setDialogStateToken$($rtnId$$6$$, $dialogSourceClientId_state$$68$$);
    $modal$$3$$ && $AdfDhtmlRichDialogService$$.$_showModalGlass$();
    var $childWindow$$1$$ = $AdfDhtmlRichDialogService$$.$_openWindow$($srcURL$$, $windowName$$3$$, $features$$2$$, $rtnId$$6$$);
    $dialogSourceClientId_state$$68$$.childWindow = $childWindow$$1$$;
    $AdfDhtmlRichDialogService$$.$_setDialogStateToken$($rtnId$$6$$, $dialogSourceClientId_state$$68$$);
    $page$$163$$.$scheduleTimer$($page$$163$$, $AdfDhtmlRichDialogService$$.$_setWindowFocus$, $rtnId$$6$$, 100, {isSynchronized:$JSCompiler_alias_TRUE$$})
  }finally {
    $AdfDhtmlRichDialogService$$.$_setBusy$($JSCompiler_alias_FALSE$$)
  }
};
$AdfDhtmlRichDialogService$$.prototype.launchWindow = $AdfDhtmlRichDialogService$$.prototype.$launchWindow$;
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlRichDialogService.prototype.launchWindow", {$launchWindow$:$AdfDhtmlRichDialogService$$.prototype.$launchWindow$});
$AdfDhtmlRichDialogService$$.prototype.$launchInline$ = function $$AdfDhtmlRichDialogService$$$$$launchInline$$($hints$$96_popupId$$71$$) {
  $AdfAssert$$.$assertString$($hints$$96_popupId$$71$$);
  var $page$$164$$ = $AdfPage$$.$PAGE$;
  try {
    $AdfDhtmlRichDialogService$$.$_setBusy$($JSCompiler_alias_TRUE$$, "LAUNCHING_INLINE_DIALOG");
    var $popup$$39$$ = $page$$164$$.$findComponent$($hints$$96_popupId$$71$$);
    $AdfAssert$$.$assertPrototype$($popup$$39$$, AdfRichPopup);
    $popup$$39$$.addEventListener($AdfPopupOpenedEvent$$.$POPUP_OPENED_EVENT_TYPE$, $AdfDhtmlRichDialogService$$.$_popupOpenedHandler$);
    $popup$$39$$.addEventListener($AdfPopupClosedEvent$$.$POPUP_CLOSED_EVENT_TYPE$, $AdfDhtmlRichDialogService$$.$_popupClosedHandler$);
    $popup$$39$$.$getPeer$().bind($popup$$39$$);
    var $rtnId$$7$$ = $popup$$39$$.$getProperty$("_rtnId"), $dialogSourceClientId$$1$$ = $popup$$39$$.$getProperty$("_launchId"), $inlineFrameId$$ = $popup$$39$$.$getProperty$("_inlineFrameId"), $isCancellationDisabled$$ = $popup$$39$$.$getProperty$("_isCancellationDisabled"), $launchSourceId$$14$$ = $AdfDhtmlRichDialogService$$.$_normalizeLaunchSourceId$($dialogSourceClientId$$1$$), $state$$69$$ = {launchSourceId:$launchSourceId$$14$$, popupId:$hints$$96_popupId$$71$$, frameName:$inlineFrameId$$, 
    rtnId:$rtnId$$7$$, panelWindowId:$popup$$39$$.$getProperty$("_panelWindowId")};
    $AdfDhtmlRichDialogService$$.$_setDialogStateToken$($rtnId$$7$$, $state$$69$$);
    $hints$$96_popupId$$71$$ = {};
    $launchSourceId$$14$$ && ($hints$$96_popupId$$71$$[AdfRichPopup.$HINT_LAUNCH_ID$] = $launchSourceId$$14$$);
    $isCancellationDisabled$$ && ($hints$$96_popupId$$71$$.closeOnEscape = $JSCompiler_alias_FALSE$$);
    $popup$$39$$.show($hints$$96_popupId$$71$$)
  }finally {
    $AdfDhtmlRichDialogService$$.$_setBusy$($JSCompiler_alias_FALSE$$)
  }
};
$AdfDhtmlRichDialogService$$.prototype.launchInline = $AdfDhtmlRichDialogService$$.prototype.$launchInline$;
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlRichDialogService.prototype.launchInline", {$launchInline$:$AdfDhtmlRichDialogService$$.prototype.$launchInline$});
$AdfDhtmlRichDialogService$$.prototype.$returnFrom$ = function $$AdfDhtmlRichDialogService$$$$$returnFrom$$($rtnId$$8$$) {
  var $state$$70$$ = $AdfDhtmlRichDialogService$$.$_getDialogStateToken$($rtnId$$8$$);
  if($state$$70$$) {
    try {
      if($state$$70$$.popupId) {
        $AdfDhtmlRichDialogService$$.$_setBusy$($JSCompiler_alias_TRUE$$, "CLOSING_INLINE_DIALOG"), $AdfDhtmlRichDialogService$$.$_hidePopup$($state$$70$$), $AdfDhtmlRichDialogService$$.$_queueReturnEvent$($state$$70$$)
      }else {
        $AdfDhtmlRichDialogService$$.$_setBusy$($JSCompiler_alias_TRUE$$, "CLOSING_WINDOW_DIALOG");
        if(!$AdfDhtmlRichDialogService$$.$_closeWindow$($state$$70$$)) {
          $state$$70$$.isReturnFromPending = $JSCompiler_alias_TRUE$$;
          return
        }
        $AdfDhtmlRichDialogService$$.$_queueReturnEvent$($state$$70$$);
        $state$$70$$.modal && $AdfDhtmlRichDialogService$$.$_hideModalGlass$()
      }
      $AdfDhtmlRichDialogService$$.$_removeDialogStateToken$($rtnId$$8$$)
    }finally {
      $AdfDhtmlRichDialogService$$.$_setBusy$($JSCompiler_alias_FALSE$$)
    }
  }else {
    $AdfLogger$$.$LOGGER$.warning("dialog state missing or already returned for rtnId:", $rtnId$$8$$)
  }
};
$AdfDhtmlRichDialogService$$.prototype.returnFrom = $AdfDhtmlRichDialogService$$.prototype.$returnFrom$;
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlRichDialogService.prototype.returnFrom", {$returnFrom$:$AdfDhtmlRichDialogService$$.prototype.$returnFrom$});
$AdfDhtmlRichDialogService$$.prototype.$checkForWindowCanceled$ = function $$AdfDhtmlRichDialogService$$$$$checkForWindowCanceled$$($rtnId$$9$$) {
  $AdfAssert$$.$assertNumeric$($rtnId$$9$$);
  var $state$$71$$ = $AdfDhtmlRichDialogService$$.$_getDialogStateToken$($rtnId$$9$$);
  if($state$$71$$) {
    $state$$71$$.loadingState === $JSCompiler_alias_VOID$$ && ($state$$71$$.loadingState = "unloading");
    try {
      if($AdfDhtmlRichDialogService$$.$_setBusy$($JSCompiler_alias_TRUE$$, "CLOSING_WINDOW_DIALOG"), $state$$71$$.childWindow.closed) {
        $state$$71$$.modal && $AdfDhtmlRichDialogService$$.$_hideModalGlass$(), $state$$71$$.isReturnFromPending ? $AdfDhtmlRichDialogService$$.$_queueReturnEvent$($state$$71$$) : $AdfDhtmlRichDialogService$$.$_notifyWindowClosed$($rtnId$$9$$), $AdfDhtmlRichDialogService$$.$_removeDialogStateToken$($rtnId$$9$$)
      }else {
        if("unloading" === $state$$71$$.loadingState) {
          var $page$$165$$ = $AdfPage$$.$PAGE$;
          $page$$165$$.$scheduleTimer$($page$$165$$, $AdfDhtmlRichDialogService$$.$getInstance$().$checkForWindowCanceled$, $rtnId$$9$$, 100, {isSynchronized:$JSCompiler_alias_TRUE$$})
        }else {
          $state$$71$$.loadingState = $JSCompiler_alias_VOID$$
        }
      }
    }finally {
      $AdfDhtmlRichDialogService$$.$_setBusy$($JSCompiler_alias_FALSE$$)
    }
  }
};
$AdfDhtmlRichDialogService$$.prototype.checkForWindowCanceled = $AdfDhtmlRichDialogService$$.prototype.$checkForWindowCanceled$;
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlRichDialogService.prototype.checkForWindowCanceled", {$checkForWindowCanceled$:$AdfDhtmlRichDialogService$$.prototype.$checkForWindowCanceled$});
$AdfDhtmlRichDialogService$$.prototype.$unsetWindowDialogCanceled$ = function $$AdfDhtmlRichDialogService$$$$$unsetWindowDialogCanceled$$($rtnId$$10_state$$72$$) {
  $AdfAssert$$.$assertNumeric$($rtnId$$10_state$$72$$);
  ($rtnId$$10_state$$72$$ = $AdfDhtmlRichDialogService$$.$_getDialogStateToken$($rtnId$$10_state$$72$$)) && "unloading" === $rtnId$$10_state$$72$$.loadingState && ($rtnId$$10_state$$72$$.loadingState = "loading")
};
$AdfDhtmlRichDialogService$$.prototype.unsetWindowDialogCanceled = $AdfDhtmlRichDialogService$$.prototype.$unsetWindowDialogCanceled$;
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlRichDialogService.prototype.unsetWindowDialogCanceled", {$unsetWindowDialogCanceled$:$AdfDhtmlRichDialogService$$.prototype.$unsetWindowDialogCanceled$});
$AdfDhtmlRichDialogService$$.$_setBusy$ = function $$AdfDhtmlRichDialogService$$$$_setBusy$$($isBusy$$22$$, $op$$1$$) {
  var $instance$$29$$ = $AdfDhtmlRichDialogService$$.$getInstance$();
  $instance$$29$$.$Busy$ = $isBusy$$22$$;
  $instance$$29$$.$_trackBusyState$ && $instance$$29$$.$_trackBusyState$($isBusy$$22$$, $op$$1$$)
};
$AdfDhtmlRichDialogService$$.$isBusy$ = function $$AdfDhtmlRichDialogService$$$$isBusy$$() {
  var $instance$$30$$ = $AdfDhtmlRichDialogService$$.$getInstance$();
  if($instance$$30$$.$Busy$) {
    return $JSCompiler_alias_TRUE$$
  }
  var $stateMap$$2$$ = $instance$$30$$.$StateMap$;
  if($stateMap$$2$$) {
    for(rtnId in $stateMap$$2$$) {
      var $state$$73$$ = $stateMap$$2$$[rtnId];
      if($state$$73$$ && $state$$73$$.isReturnFromPending) {
        return $JSCompiler_alias_TRUE$$
      }
    }
  }
  return $instance$$30$$.$_isBusyForAutomation$ && $instance$$30$$.$_isBusyForAutomation$() ? $JSCompiler_alias_TRUE$$ : $JSCompiler_alias_FALSE$$
};
$goog$exportSymbol$$("AdfDhtmlRichDialogService.isBusy", $AdfDhtmlRichDialogService$$.$isBusy$);
$AdfDhtmlRichDialogService$$.prototype.$cancelAll$ = function $$AdfDhtmlRichDialogService$$$$$cancelAll$$() {
  try {
    $AdfDhtmlRichDialogService$$.$_setBusy$($JSCompiler_alias_TRUE$$);
    var $stateMap$$3$$ = $AdfDhtmlRichDialogService$$.$getInstance$().$StateMap$;
    if($stateMap$$3$$) {
      for(rtnId in $stateMap$$3$$) {
        $AdfDhtmlRichDialogService$$.$_cancel$()
      }
    }
  }finally {
    $AdfDhtmlRichDialogService$$.$_setBusy$($JSCompiler_alias_FALSE$$)
  }
};
$AdfDhtmlRichDialogService$$.prototype.cancelAll = $AdfDhtmlRichDialogService$$.prototype.$cancelAll$;
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlRichDialogService.prototype.cancelAll", {$cancelAll$:$AdfDhtmlRichDialogService$$.prototype.$cancelAll$});
$AdfDhtmlRichDialogService$$.prototype.$__visitWindows$ = function $$AdfDhtmlRichDialogService$$$$$__visitWindows$$($callback$$66$$) {
  var $stateMap$$4$$ = $AdfDhtmlRichDialogService$$.$getInstance$().$StateMap$;
  if($stateMap$$4$$) {
    for(rtnId in $stateMap$$4$$) {
      var $state$$74$$ = $stateMap$$4$$[rtnId];
      $state$$74$$ && $callback$$66$$($state$$74$$)
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlRichDialogService.prototype.__visitWindows", {$__visitWindows$:$AdfDhtmlRichDialogService$$.prototype.$__visitWindows$});
$AdfDhtmlRichDialogService$$.$_setWindowFocus$ = function $$AdfDhtmlRichDialogService$$$$_setWindowFocus$$($rtnId$$11_state$$75$$) {
  $AdfAssert$$.$assertNumeric$($rtnId$$11_state$$75$$);
  if($rtnId$$11_state$$75$$ = $AdfDhtmlRichDialogService$$.$_getDialogStateToken$($rtnId$$11_state$$75$$)) {
    childWindow = $rtnId$$11_state$$75$$.childWindow, childWindow.focus()
  }
};
$AdfDhtmlRichDialogService$$.$_cancel$ = function $$AdfDhtmlRichDialogService$$$$_cancel$$() {
  var $rtnId$$12$$ = rtnId;
  $AdfAssert$$.$assertNumeric$($rtnId$$12$$);
  var $state$$76$$ = $AdfDhtmlRichDialogService$$.$_getDialogStateToken$($rtnId$$12$$);
  $state$$76$$ && ($state$$76$$.popupId ? $AdfDhtmlRichDialogService$$.$_cancelPopup$($state$$76$$) : ($AdfDhtmlRichDialogService$$.$_closeWindow$($state$$76$$), $state$$76$$.modal && $AdfDhtmlRichDialogService$$.$_hideModalGlass$()), $AdfDhtmlRichDialogService$$.$_removeDialogStateToken$($rtnId$$12$$), $AdfDhtmlRichDialogService$$.$_notifyWindowClosed$($rtnId$$12$$))
};
$AdfDhtmlRichDialogService$$.$_queueReturnEvent$ = function $$AdfDhtmlRichDialogService$$$$_queueReturnEvent$$($launchSourceId$$15_state$$77_targetComponent$$7$$) {
  $AdfAssert$$.$assertObject$($launchSourceId$$15_state$$77_targetComponent$$7$$);
  var $rtnId$$13$$ = $launchSourceId$$15_state$$77_targetComponent$$7$$.rtnId;
  ($launchSourceId$$15_state$$77_targetComponent$$7$$ = $launchSourceId$$15_state$$77_targetComponent$$7$$.launchSourceId) ? ($launchSourceId$$15_state$$77_targetComponent$$7$$ = $AdfPage$$.$PAGE$.$findComponent$($launchSourceId$$15_state$$77_targetComponent$$7$$)) ? ($AdfDhtmlRichDialogService$$.$_notifyWindowClosed$($rtnId$$13$$, $JSCompiler_alias_TRUE$$), (new $AdfReturnEvent$$($launchSourceId$$15_state$$77_targetComponent$$7$$)).$queue$(), $launchSourceId$$15_state$$77_targetComponent$$7$$.focus()) : 
  $AdfDhtmlRichDialogService$$.$_notifyWindowClosed$($rtnId$$13$$) : $AdfDhtmlRichDialogService$$.$_notifyWindowClosed$($rtnId$$13$$)
};
$AdfDhtmlRichDialogService$$.$_normalizeLaunchSourceId$ = function $$AdfDhtmlRichDialogService$$$$_normalizeLaunchSourceId$$($dialogSourceClientId$$2$$) {
  if(!$dialogSourceClientId$$2$$ || 0 == $dialogSourceClientId$$2$$.length) {
    return $JSCompiler_alias_NULL$$
  }
  var $page$$166$$ = $AdfPage$$.$PAGE$;
  if(!$page$$166$$.$findComponent$($dialogSourceClientId$$2$$)) {
    var $lastSeperator_returnId$$2$$ = $dialogSourceClientId$$2$$.lastIndexOf(":");
    if(-1 != $lastSeperator_returnId$$2$$) {
      var $idBeforeCurrency_secondToLastSeperator$$ = $dialogSourceClientId$$2$$.lastIndexOf(":", $lastSeperator_returnId$$2$$ - 1);
      if(-1 != $idBeforeCurrency_secondToLastSeperator$$) {
        var $idBeforeCurrency_secondToLastSeperator$$ = $dialogSourceClientId$$2$$.substring(0, $idBeforeCurrency_secondToLastSeperator$$), $parentCollection$$ = $page$$166$$.$findComponent$($idBeforeCurrency_secondToLastSeperator$$);
        if($parentCollection$$ && (window.AdfUICollection && $parentCollection$$ instanceof AdfUICollection) && ($lastSeperator_returnId$$2$$ = $idBeforeCurrency_secondToLastSeperator$$.concat($dialogSourceClientId$$2$$.substring($lastSeperator_returnId$$2$$)), $page$$166$$.$findComponent$($lastSeperator_returnId$$2$$))) {
          return $lastSeperator_returnId$$2$$
        }
      }
    }
  }
  return $dialogSourceClientId$$2$$
};
$AdfDhtmlRichDialogService$$.$_generateRtnId$ = function $$AdfDhtmlRichDialogService$$$$_generateRtnId$$() {
  return(new Date).getTime()
};
$AdfDhtmlRichDialogService$$.$_closeWindow$ = function $$AdfDhtmlRichDialogService$$$$_closeWindow$$($childWindow$$3_state$$78$$) {
  $AdfAssert$$.$assertObject$($childWindow$$3_state$$78$$);
  $childWindow$$3_state$$78$$ = $childWindow$$3_state$$78$$.childWindow;
  $childWindow$$3_state$$78$$.close();
  return $childWindow$$3_state$$78$$.closed
};
$AdfDhtmlRichDialogService$$.$_hidePopup$ = function $$AdfDhtmlRichDialogService$$$$_hidePopup$$($popup$$40_popupId$$72_state$$79$$) {
  $popup$$40_popupId$$72_state$$79$$ = $popup$$40_popupId$$72_state$$79$$.popupId;
  $AdfAssert$$.$assertString$($popup$$40_popupId$$72_state$$79$$);
  $popup$$40_popupId$$72_state$$79$$ = $AdfPage$$.$PAGE$.$findComponent$($popup$$40_popupId$$72_state$$79$$);
  $AdfAssert$$.$assertPrototype$($popup$$40_popupId$$72_state$$79$$, AdfRichPopup);
  $popup$$40_popupId$$72_state$$79$$ && ($AdfDhtmlRichDialogService$$.$__unloadDocument$($popup$$40_popupId$$72_state$$79$$), $popup$$40_popupId$$72_state$$79$$.$hide$())
};
$AdfDhtmlRichDialogService$$.$_cancelPopup$ = function $$AdfDhtmlRichDialogService$$$$_cancelPopup$$($popup$$41_popupId$$73_state$$80$$) {
  $popup$$41_popupId$$73_state$$80$$ = $popup$$41_popupId$$73_state$$80$$.popupId;
  $AdfAssert$$.$assertString$($popup$$41_popupId$$73_state$$80$$);
  $popup$$41_popupId$$73_state$$80$$ = $AdfPage$$.$PAGE$.$findComponent$($popup$$41_popupId$$73_state$$80$$);
  $AdfAssert$$.$assertPrototype$($popup$$41_popupId$$73_state$$80$$, AdfRichPopup);
  $popup$$41_popupId$$73_state$$80$$ && ($AdfDhtmlRichDialogService$$.$__unloadDocument$($popup$$41_popupId$$73_state$$80$$), $popup$$41_popupId$$73_state$$80$$.cancel())
};
$AdfDhtmlRichDialogService$$.$__unloadDocument$ = function $$AdfDhtmlRichDialogService$$$$__unloadDocument$$($inlineFrameId$$1_inlineFramePeer_popup$$42$$) {
  $AdfAssert$$.$assertPrototype$($inlineFrameId$$1_inlineFramePeer_popup$$42$$, AdfRichPopup);
  var $frameDom$$2_inlineFrame$$68_page$$167$$ = $AdfPage$$.$PAGE$;
  $inlineFrameId$$1_inlineFramePeer_popup$$42$$ = $inlineFrameId$$1_inlineFramePeer_popup$$42$$.$getProperty$("_inlineFrameId");
  $frameDom$$2_inlineFrame$$68_page$$167$$ = $frameDom$$2_inlineFrame$$68_page$$167$$.$findComponent$($inlineFrameId$$1_inlineFramePeer_popup$$42$$);
  $inlineFrameId$$1_inlineFramePeer_popup$$42$$ = $frameDom$$2_inlineFrame$$68_page$$167$$.$getPeer$();
  $inlineFrameId$$1_inlineFramePeer_popup$$42$$.bind($frameDom$$2_inlineFrame$$68_page$$167$$);
  $frameDom$$2_inlineFrame$$68_page$$167$$ = $inlineFrameId$$1_inlineFramePeer_popup$$42$$.$__getIframe$();
  $AdfAssert$$.$assertDomElement$($frameDom$$2_inlineFrame$$68_page$$167$$, "IFRAME");
  $frameDom$$2_inlineFrame$$68_page$$167$$.setAttribute("src", "about:blank")
};
$AdfDhtmlRichDialogService$$.$_getOpenDialogCount$ = function $$AdfDhtmlRichDialogService$$$$_getOpenDialogCount$$() {
  var $n$$12$$ = 0, $stateMap$$5$$ = $AdfDhtmlRichDialogService$$.$getInstance$().$StateMap$;
  if($stateMap$$5$$) {
    for(rtnId in $stateMap$$5$$) {
      $n$$12$$++
    }
  }
  return $n$$12$$
};
$AdfDhtmlRichDialogService$$.$_setDialogStateToken$ = function $$AdfDhtmlRichDialogService$$$$_setDialogStateToken$$($rtnId$$14$$, $state$$81$$) {
  var $key$$74$$ = "" + $rtnId$$14$$, $stateMap$$6$$ = $AdfDhtmlRichDialogService$$.$getInstance$().$StateMap$;
  $stateMap$$6$$ || ($stateMap$$6$$ = {}, $AdfDhtmlRichDialogService$$.$getInstance$().$StateMap$ = $stateMap$$6$$);
  $stateMap$$6$$[$key$$74$$] = $state$$81$$;
  $AdfDhtmlRichDialogService$$.$getInstance$().$dlgInfo$ = $state$$81$$
};
$AdfDhtmlRichDialogService$$.$_getDialogStateToken$ = function $$AdfDhtmlRichDialogService$$$$_getDialogStateToken$$($rtnId$$15$$) {
  var $stateMap$$7$$ = $AdfDhtmlRichDialogService$$.$getInstance$().$StateMap$;
  return!$stateMap$$7$$ ? $JSCompiler_alias_NULL$$ : $stateMap$$7$$["" + $rtnId$$15$$]
};
$AdfDhtmlRichDialogService$$.$_removeDialogStateToken$ = function $$AdfDhtmlRichDialogService$$$$_removeDialogStateToken$$($key$$76_rtnId$$16$$) {
  var $stateMap$$8$$ = $AdfDhtmlRichDialogService$$.$getInstance$().$StateMap$;
  $stateMap$$8$$ && ($key$$76_rtnId$$16$$ = "" + $key$$76_rtnId$$16$$, $AdfDhtmlRichDialogService$$.$getInstance$().$dlgInfo$ = $stateMap$$8$$[$key$$76_rtnId$$16$$], delete $stateMap$$8$$[$key$$76_rtnId$$16$$])
};
$AdfDhtmlRichDialogService$$.$_openWindow$ = function $$AdfDhtmlRichDialogService$$$$_openWindow$$($srcURL$$1_targetURL$$, $childWindow$$4_windowName$$4$$, $featureString_features$$3$$, $rtnId$$17$$) {
  var $domWindow$$119$$ = $AdfPage$$.$PAGE$.$getDomWindow$();
  $AdfCollections$$.$union$($AdfDhtmlRichDialogService$$.$_WINDOW_DEFAULT_FEATURES_MAP$, $featureString_features$$3$$, $featureString_features$$3$$);
  $featureString_features$$3$$ = $AdfDhtmlRichDialogService$$.$_buildFeatureString$($featureString_features$$3$$);
  $srcURL$$1_targetURL$$ = $AdfDhtmlRichDialogService$$.$_encodeURL$($srcURL$$1_targetURL$$, $rtnId$$17$$);
  $childWindow$$4_windowName$$4$$ = $domWindow$$119$$.open($srcURL$$1_targetURL$$, $childWindow$$4_windowName$$4$$, $featureString_features$$3$$);
  try {
    $childWindow$$4_windowName$$4$$.opener = $domWindow$$119$$
  }catch($e$$144$$) {
    $AdfLogger$$.$LOGGER$.$logErrorAsWarning$($e$$144$$, " error setting opener of child window.")
  }
  return $childWindow$$4_windowName$$4$$
};
$AdfDhtmlRichDialogService$$.$_buildFeatureString$ = function $$AdfDhtmlRichDialogService$$$$_buildFeatureString$$($features$$4$$) {
  var $featureString$$1$$ = "", $k$$10$$;
  for($k$$10$$ in $features$$4$$) {
    0 < $featureString$$1$$.length && ($featureString$$1$$ += ","), $featureString$$1$$ += $k$$10$$ + "\x3d" + $features$$4$$[$k$$10$$]
  }
  return $featureString$$1$$
};
$AdfDhtmlRichDialogService$$.$_encodeURL$ = function $$AdfDhtmlRichDialogService$$$$_encodeURL$$($srcURL$$2$$, $rtnId$$18$$) {
  $AdfAssert$$.$assertString$($srcURL$$2$$);
  $AdfAssert$$.$assertNumeric$($rtnId$$18$$);
  return $srcURL$$2$$ + "\x26_rtrnId\x3d" + $rtnId$$18$$
};
$AdfDhtmlRichDialogService$$.$_showModalGlass$ = function $$AdfDhtmlRichDialogService$$$$_showModalGlass$$() {
  var $dummyLayer_page$$169$$ = $AdfPage$$.$PAGE$, $modalityManager$$4$$ = $dummyLayer_page$$169$$.$getModalityManager$(), $zorderManager$$1$$ = $dummyLayer_page$$169$$.$getZOrderManager$(), $dummyLayer_page$$169$$ = $dummyLayer_page$$169$$.$getDomDocument$().createElement("div");
  $zorderManager$$1$$.$addElementToLayer$($dummyLayer_page$$169$$, $AdfDhtmlZOrderManager$$.$FLOATINGTYPE_WINDOW$);
  $modalityManager$$4$$.$pushModal$($dummyLayer_page$$169$$);
  $zorderManager$$1$$.$removeElement$($dummyLayer_page$$169$$)
};
$AdfDhtmlRichDialogService$$.$_hideModalGlass$ = function $$AdfDhtmlRichDialogService$$$$_hideModalGlass$$() {
  $AdfPage$$.$PAGE$.$getModalityManager$().$popModal$()
};
$AdfDhtmlRichDialogService$$.$hasModalDialogsOpen$ = function $$AdfDhtmlRichDialogService$$$$hasModalDialogsOpen$$() {
  var $stateMap$$9$$ = $AdfDhtmlRichDialogService$$.$getInstance$().$StateMap$;
  if($stateMap$$9$$) {
    var $page$$170$$ = $AdfPage$$.$PAGE$;
    for(rtnId in $stateMap$$9$$) {
      var $panelWindow$$1_panelWindowId$$1_popup$$43_state$$82$$ = $stateMap$$9$$[rtnId];
      if($panelWindow$$1_panelWindowId$$1_popup$$43_state$$82$$ && $panelWindow$$1_panelWindowId$$1_popup$$43_state$$82$$.modal || $panelWindow$$1_panelWindowId$$1_popup$$43_state$$82$$.popupId && ($panelWindow$$1_panelWindowId$$1_popup$$43_state$$82$$ = $page$$170$$.$findComponent$($panelWindow$$1_panelWindowId$$1_popup$$43_state$$82$$.popupId), $panelWindow$$1_panelWindowId$$1_popup$$43_state$$82$$.$getPeer$().bind($panelWindow$$1_panelWindowId$$1_popup$$43_state$$82$$), $panelWindow$$1_panelWindowId$$1_popup$$43_state$$82$$ = 
      $panelWindow$$1_panelWindowId$$1_popup$$43_state$$82$$.$getProperty$("_panelWindowId"), $AdfAssert$$.$assertString$($panelWindow$$1_panelWindowId$$1_popup$$43_state$$82$$), $panelWindow$$1_panelWindowId$$1_popup$$43_state$$82$$ = $page$$170$$.$findComponent$($panelWindow$$1_panelWindowId$$1_popup$$43_state$$82$$), $AdfAssert$$.$assertPrototype$($panelWindow$$1_panelWindowId$$1_popup$$43_state$$82$$, AdfRichPanelWindow), $panelWindow$$1_panelWindowId$$1_popup$$43_state$$82$$.getModal())) {
        return $JSCompiler_alias_TRUE$$
      }
    }
  }
  return $JSCompiler_alias_FALSE$$
};
$goog$exportSymbol$$("AdfDhtmlRichDialogService.hasModalDialogsOpen", $AdfDhtmlRichDialogService$$.$hasModalDialogsOpen$);
$AdfDhtmlRichDialogService$$.$_popupOpenedHandler$ = function $$AdfDhtmlRichDialogService$$$$_popupOpenedHandler$$($event$$220$$) {
  try {
    $AdfDhtmlRichDialogService$$.$_setBusy$($JSCompiler_alias_TRUE$$);
    var $agent$$482$$ = $AdfAgent$$.$AGENT$, $page$$171$$ = $AdfPage$$.$PAGE$, $popup$$44$$ = $event$$220$$.getSource(), $popupPeer$$5$$ = $popup$$44$$.$getPeer$();
    $popupPeer$$5$$.bind($popup$$44$$);
    var $popupDom$$3$$ = $popupPeer$$5$$.$getDomElement$(), $panelWindowId$$2$$ = $popup$$44$$.$getProperty$("_panelWindowId"), $inlineFrameId$$2$$ = $popup$$44$$.$getProperty$("_inlineFrameId"), $inlineFrame$$69$$ = $page$$171$$.$findComponent$($inlineFrameId$$2$$), $inlineFramePeer$$1$$ = $inlineFrame$$69$$.$getPeer$();
    $inlineFramePeer$$1$$.bind($inlineFrame$$69$$);
    var $frameDom$$3$$ = $inlineFramePeer$$1$$.$__getIframe$();
    $AdfAssert$$.$assertDomElement$($frameDom$$3$$, "IFRAME");
    var $rtnId$$19$$ = $popup$$44$$.$getProperty$("_rtnId");
    $frameDom$$3$$.setAttribute($AdfDhtmlRichDialogService$$.$_PANELWINDOWID_EXPANDO$, $panelWindowId$$2$$);
    $popupDom$$3$$.setAttribute($AdfDhtmlRichDialogService$$.$_INLINEFRAMEID_EXPANDO$, $inlineFrameId$$2$$);
    $frameDom$$3$$.setAttribute($AdfDhtmlRichDialogService$$.$_RTNID_EXPANDO$, $rtnId$$19$$);
    $agent$$482$$.$addBubbleEventListener$($frameDom$$3$$, "load", $AdfDhtmlRichDialogService$$.$_iframeLoadHandler$);
    var $dialogURL$$ = $popup$$44$$.$getProperty$("_dialogURL");
    $frameDom$$3$$.src = $dialogURL$$;
    $page$$171$$.$isPPRNavigationEnabled$() && $AdfDhtmlRichDialogService$$.$_checkForIframeTitleChangeWithPPRNavOn$($rtnId$$19$$)
  }finally {
    $AdfDhtmlRichDialogService$$.$_setBusy$($JSCompiler_alias_FALSE$$)
  }
};
$AdfDhtmlRichDialogService$$.$_popupClosedHandler$ = function $$AdfDhtmlRichDialogService$$$$_popupClosedHandler$$($event$$221$$) {
  try {
    $AdfDhtmlRichDialogService$$.$_setBusy$($JSCompiler_alias_TRUE$$, "CLOSING_INLINE_DIALOG");
    var $agent$$483$$ = $AdfAgent$$.$AGENT$, $popup$$45$$ = $event$$221$$.getSource(), $popupPeer$$6$$ = $popup$$45$$.$getPeer$();
    $popupPeer$$6$$.bind($popup$$45$$);
    var $inlineFrameId$$3$$ = $popupPeer$$6$$.$getDomElement$().getAttribute($AdfDhtmlRichDialogService$$.$_INLINEFRAMEID_EXPANDO$), $rtnId$$20$$ = $popup$$45$$.$getProperty$("_rtnId"), $inlineFrame$$70$$ = $AdfPage$$.$PAGE$.$findComponent$($inlineFrameId$$3$$);
    $AdfAssert$$.$assertPrototype$($inlineFrame$$70$$, AdfRichInlineFrame);
    var $inlineFramePeer$$2$$ = $inlineFrame$$70$$.$getPeer$();
    $inlineFramePeer$$2$$.bind($inlineFrame$$70$$);
    var $frameDom$$4$$ = $inlineFramePeer$$2$$.$__getIframe$();
    $AdfAssert$$.$assertDomElement$($frameDom$$4$$, "IFRAME");
    $frameDom$$4$$.setAttribute("src", "about:blank");
    $agent$$483$$.$removeBubbleEventListener$($frameDom$$4$$, "load", $AdfDhtmlRichDialogService$$.$_iframeLoadHandler$);
    $AdfDhtmlRichDialogService$$.$_removeDialogStateToken$($rtnId$$20$$);
    $AdfDhtmlRichDialogService$$.$_notifyWindowClosed$($rtnId$$20$$)
  }finally {
    $AdfDhtmlRichDialogService$$.$_setBusy$($JSCompiler_alias_FALSE$$)
  }
};
$AdfDhtmlRichDialogService$$.$_iframeLoadHandler$ = function $$AdfDhtmlRichDialogService$$$$_iframeLoadHandler$$($event$$222_panelWindowId$$3$$) {
  var $page$$172_panelWindow$$2$$ = $AdfPage$$.$PAGE$, $frameDom$$5_title$$15$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($event$$222_panelWindowId$$3$$);
  $frameDom$$5_title$$15$$ || ($frameDom$$5_title$$15$$ = $event$$222_panelWindowId$$3$$.currentTarget);
  $AdfAssert$$.$assertDomElement$($frameDom$$5_title$$15$$, "IFRAME");
  $event$$222_panelWindowId$$3$$ = $frameDom$$5_title$$15$$.getAttribute($AdfDhtmlRichDialogService$$.$_PANELWINDOWID_EXPANDO$);
  $AdfAssert$$.$assertString$($event$$222_panelWindowId$$3$$);
  $page$$172_panelWindow$$2$$ = $page$$172_panelWindow$$2$$.$findComponent$($event$$222_panelWindowId$$3$$);
  $AdfAssert$$.$assertPrototype$($page$$172_panelWindow$$2$$, AdfRichPanelWindow);
  ($frameDom$$5_title$$15$$ = $frameDom$$5_title$$15$$.contentWindow.document.title) && $page$$172_panelWindow$$2$$.setTitle($frameDom$$5_title$$15$$)
};
$AdfDhtmlRichDialogService$$.$_checkForIframeTitleChangeWithPPRNavOn$ = function $$AdfDhtmlRichDialogService$$$$_checkForIframeTitleChangeWithPPRNavOn$$($rtnId$$21$$) {
  $AdfAssert$$.$assertNumeric$($rtnId$$21$$);
  var $frameDom$$6_inlineFrame$$71_inlineFrameId$$4_popup$$46_popupId$$74_state$$83_title$$16$$ = $AdfDhtmlRichDialogService$$.$_getDialogStateToken$($rtnId$$21$$);
  if($frameDom$$6_inlineFrame$$71_inlineFrameId$$4_popup$$46_popupId$$74_state$$83_title$$16$$) {
    var $page$$173$$ = $AdfPage$$.$PAGE$, $frameDom$$6_inlineFrame$$71_inlineFrameId$$4_popup$$46_popupId$$74_state$$83_title$$16$$ = $frameDom$$6_inlineFrame$$71_inlineFrameId$$4_popup$$46_popupId$$74_state$$83_title$$16$$.popupId;
    $AdfAssert$$.$assertString$($frameDom$$6_inlineFrame$$71_inlineFrameId$$4_popup$$46_popupId$$74_state$$83_title$$16$$);
    if($frameDom$$6_inlineFrame$$71_inlineFrameId$$4_popup$$46_popupId$$74_state$$83_title$$16$$ = $page$$173$$.$findComponent$($frameDom$$6_inlineFrame$$71_inlineFrameId$$4_popup$$46_popupId$$74_state$$83_title$$16$$)) {
      $AdfAssert$$.$assertPrototype$($frameDom$$6_inlineFrame$$71_inlineFrameId$$4_popup$$46_popupId$$74_state$$83_title$$16$$, AdfRichPopup);
      var $inlineFramePeer$$3_panelWindow$$3_panelWindowId$$4_popupPeer$$7$$ = $frameDom$$6_inlineFrame$$71_inlineFrameId$$4_popup$$46_popupId$$74_state$$83_title$$16$$.$getPeer$();
      $inlineFramePeer$$3_panelWindow$$3_panelWindowId$$4_popupPeer$$7$$.bind($frameDom$$6_inlineFrame$$71_inlineFrameId$$4_popup$$46_popupId$$74_state$$83_title$$16$$);
      $frameDom$$6_inlineFrame$$71_inlineFrameId$$4_popup$$46_popupId$$74_state$$83_title$$16$$ = $inlineFramePeer$$3_panelWindow$$3_panelWindowId$$4_popupPeer$$7$$.$getDomElement$().getAttribute($AdfDhtmlRichDialogService$$.$_INLINEFRAMEID_EXPANDO$);
      $frameDom$$6_inlineFrame$$71_inlineFrameId$$4_popup$$46_popupId$$74_state$$83_title$$16$$ = $AdfPage$$.$PAGE$.$findComponent$($frameDom$$6_inlineFrame$$71_inlineFrameId$$4_popup$$46_popupId$$74_state$$83_title$$16$$);
      $AdfAssert$$.$assertPrototype$($frameDom$$6_inlineFrame$$71_inlineFrameId$$4_popup$$46_popupId$$74_state$$83_title$$16$$, AdfRichInlineFrame);
      $inlineFramePeer$$3_panelWindow$$3_panelWindowId$$4_popupPeer$$7$$ = $frameDom$$6_inlineFrame$$71_inlineFrameId$$4_popup$$46_popupId$$74_state$$83_title$$16$$.$getPeer$();
      $inlineFramePeer$$3_panelWindow$$3_panelWindowId$$4_popupPeer$$7$$.bind($frameDom$$6_inlineFrame$$71_inlineFrameId$$4_popup$$46_popupId$$74_state$$83_title$$16$$);
      $frameDom$$6_inlineFrame$$71_inlineFrameId$$4_popup$$46_popupId$$74_state$$83_title$$16$$ = $inlineFramePeer$$3_panelWindow$$3_panelWindowId$$4_popupPeer$$7$$.$__getIframe$();
      $AdfAssert$$.$assertDomElement$($frameDom$$6_inlineFrame$$71_inlineFrameId$$4_popup$$46_popupId$$74_state$$83_title$$16$$, "IFRAME");
      $inlineFramePeer$$3_panelWindow$$3_panelWindowId$$4_popupPeer$$7$$ = $frameDom$$6_inlineFrame$$71_inlineFrameId$$4_popup$$46_popupId$$74_state$$83_title$$16$$.getAttribute($AdfDhtmlRichDialogService$$.$_PANELWINDOWID_EXPANDO$);
      $AdfAssert$$.$assertString$($inlineFramePeer$$3_panelWindow$$3_panelWindowId$$4_popupPeer$$7$$);
      $inlineFramePeer$$3_panelWindow$$3_panelWindowId$$4_popupPeer$$7$$ = $page$$173$$.$findComponent$($inlineFramePeer$$3_panelWindow$$3_panelWindowId$$4_popupPeer$$7$$);
      $AdfAssert$$.$assertPrototype$($inlineFramePeer$$3_panelWindow$$3_panelWindowId$$4_popupPeer$$7$$, AdfRichPanelWindow);
      ($frameDom$$6_inlineFrame$$71_inlineFrameId$$4_popup$$46_popupId$$74_state$$83_title$$16$$ = $frameDom$$6_inlineFrame$$71_inlineFrameId$$4_popup$$46_popupId$$74_state$$83_title$$16$$.contentWindow.document.title) && $inlineFramePeer$$3_panelWindow$$3_panelWindowId$$4_popupPeer$$7$$.setTitle($frameDom$$6_inlineFrame$$71_inlineFrameId$$4_popup$$46_popupId$$74_state$$83_title$$16$$);
      $page$$173$$.$scheduleTimer$($page$$173$$, $AdfDhtmlRichDialogService$$.$_checkForIframeTitleChangeWithPPRNavOn$, $rtnId$$21$$, 3E3)
    }
  }
};
$AdfDhtmlRichDialogService$$.$_notifyWindowClosed$ = function $$AdfDhtmlRichDialogService$$$$_notifyWindowClosed$$($returnId$$3$$, $withNextRequest$$) {
  var $page$$174$$ = $AdfPage$$.$PAGE$;
  $withNextRequest$$ ? $page$$174$$.$__notifyWindowClose$($returnId$$3$$) : $page$$174$$.$__notifyWindowCloseImmediately$($JSCompiler_alias_TRUE$$, $returnId$$3$$)
};
$AdfDhtmlRichDialogService$$.$_WINDOW_MODALITY_TYPE_APPLICATION_MODAL$ = "applicationModal";
$AdfDhtmlRichDialogService$$.$_WINDOW_DEFAULT_FEATURES_MAP$ = {alwayslowered:1, alwaysraised:1, channelmode:0, copyhistory:0, dependent:1, directories:0, fullscreen:0, hotkeys:1, location:0, menubar:0, resizable:1, scrollbars:1, status:1, titlebar:1, toolbar:1, "z-lock":1};
