function $AdfXmlHttpDataTransferService$$($domWindow$$64$$) {
  this.Init($domWindow$$64$$);
}
$goog$exportSymbol$$("AdfXmlHttpDataTransferService", $AdfXmlHttpDataTransferService$$);
$goog$exportSymbol$$("AdfXmlHttpDataTransferService", $AdfXmlHttpDataTransferService$$);
$AdfObject$$.$createSubclass$($AdfXmlHttpDataTransferService$$, $AdfDataTransferService$$);
$AdfXmlHttpDataTransferService$$.$InitClass$ = function $$AdfXmlHttpDataTransferService$$$$InitClass$$() {
  this.$_MULTIPART_FRAME$ = "_afrDTSFrame";
  this.$_ADF_STREAMING_IFRAME_ID$ = "_adfStreamingIframe";
  this.$_XMLHTTP_TYPE$ = 0;
  this.$_MULTIPART_TYPE$ = 1;
  this.$_STREAMING_TYPE$ = 2;
  this.$_POLLING_TYPE$ = 3;
};
$goog$exportSymbol$$("AdfXmlHttpDataTransferService.InitClass", $AdfXmlHttpDataTransferService$$.$InitClass$);
$AdfXmlHttpDataTransferService$$.prototype.Init = function $$AdfXmlHttpDataTransferService$$$$Init$($domWindow$$65$$) {
  $AdfXmlHttpDataTransferService$$.$superclass$.Init.call(this);
  this.$_state$ = $AdfDataTransferService$$.$STATE_READY$;
  this.$_requestQueue$ = [];
  this.$_stateChangeListeners$ = null;
  this.$_window$ = $domWindow$$65$$;
  this.$_suspendCount$ = this.$_reqCount$ = this.$_streamingCount$ = 0;
  this.$_pageUnloading$ = !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfXmlHttpDataTransferService.prototype.Init", {Init:$AdfXmlHttpDataTransferService$$.prototype.Init});
$AdfXmlHttpDataTransferService$$.prototype.$dispose$ = function $$AdfXmlHttpDataTransferService$$$$$dispose$$() {
  this.$pageUnloading$();
  this.$_window$ = this.$_stateChangeListeners$ = this.$_requestQueue$ = null;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfXmlHttpDataTransferService.prototype.dispose", {$dispose$:$AdfXmlHttpDataTransferService$$.prototype.$dispose$});
$AdfXmlHttpDataTransferService$$.prototype.$pageUnloading$ = function $$AdfXmlHttpDataTransferService$$$$$pageUnloading$$() {
  this.$_pageUnloading$ = !0;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfXmlHttpDataTransferService.prototype.pageUnloading", {$pageUnloading$:$AdfXmlHttpDataTransferService$$.prototype.$pageUnloading$});
$AdfXmlHttpDataTransferService$$.$__broadcastRequestStatusChanged$ = function $$AdfXmlHttpDataTransferService$$$$__broadcastRequestStatusChanged$$($listeners$$13$$, $event$$98$$) {
  $AdfLogger$$.$LOGGER$.fine("Broadcasting:", $event$$98$$);
  for (var $listenerCount$$2$$ = $listeners$$13$$ ? $listeners$$13$$.length : 0, $i$$122$$ = 0;$i$$122$$ < $listenerCount$$2$$;$i$$122$$++) {
    var $currListener$$3$$ = $listeners$$13$$[$i$$122$$];
    if ($currListener$$3$$.$requestStatusChanged$) {
      try {
        $currListener$$3$$.$requestStatusChanged$($event$$98$$);
      } catch ($e$$81$$) {
        $AdfLogger$$.$LOGGER$.$logError$($e$$81$$, $AdfLogger$$.WARNING, "Error delivering Datatransfer request status changed to:", $currListener$$3$$);
      }
    }
  }
};
function $JSCompiler_StaticMethods__addRequestToQueue$$($JSCompiler_StaticMethods__addRequestToQueue$self$$, $newRequest_type$$154$$, $context$$28$$, $actionURL$$15$$, $headerParams$$5$$, $content$$9$$, $listeners$$14$$, $eventListeners$$3$$, $minBusyState$$) {
  $newRequest_type$$154$$ = new $AdfXmlHttpDataTransferRequest$$($newRequest_type$$154$$, $context$$28$$, $actionURL$$15$$, $headerParams$$5$$, $content$$9$$, $listeners$$14$$, $eventListeners$$3$$);
  $JSCompiler_StaticMethods__addRequestToQueue$self$$.$_requestQueue$.push($newRequest_type$$154$$);
  $newRequest_type$$154$$.$setStatus$($AdfDataTransferRequestEvent$$.$STATUS_QUEUED$);
  try {
    var $dtsRequestEvent$$1$$ = new $AdfDataTransferRequestEvent$$($AdfDataTransferRequestEvent$$.$STATUS_QUEUED$, $context$$28$$, null);
    $AdfXmlHttpDataTransferService$$.$__broadcastRequestStatusChanged$($listeners$$14$$, $dtsRequestEvent$$1$$);
  } catch ($e$$82$$) {
    $AdfLogger$$.$LOGGER$.severe("Error on listener callback invocation - STATUS_QUEUED\n");
  }
  $JSCompiler_StaticMethods__addRequestToQueue$self$$.$_state$ <= $minBusyState$$ && 1 == $JSCompiler_StaticMethods__addRequestToQueue$self$$.$_requestQueue$.length && $JSCompiler_StaticMethods__addRequestToQueue$self$$.$_doNextRequest$();
  return $newRequest_type$$154$$;
}
$AdfXmlHttpDataTransferService$$.prototype.$sendRequest$ = function $$AdfXmlHttpDataTransferService$$$$$sendRequest$$($context$$29$$, $actionURL$$16$$, $headerParams$$6$$, $content$$10$$, $listeners$$15$$) {
  return $JSCompiler_StaticMethods__addRequestToQueue$$(this, $AdfXmlHttpDataTransferService$$.$_XMLHTTP_TYPE$, $context$$29$$, $actionURL$$16$$, $headerParams$$6$$, $content$$10$$, $listeners$$15$$, null, $AdfDataTransferService$$.$STATE_READY$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfXmlHttpDataTransferService.prototype.sendRequest", {$sendRequest$:$AdfXmlHttpDataTransferService$$.prototype.$sendRequest$});
$AdfXmlHttpDataTransferService$$.prototype.$sendPollingRequest$ = function $$AdfXmlHttpDataTransferService$$$$$sendPollingRequest$$($actionURL$$17$$, $listeners$$16$$) {
  return $JSCompiler_StaticMethods__addRequestToQueue$$(this, $AdfXmlHttpDataTransferService$$.$_POLLING_TYPE$, null, $actionURL$$17$$, null, null, $listeners$$16$$, null, $AdfDataTransferService$$.$STATE_READY$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfXmlHttpDataTransferService.prototype.sendPollingRequest", {$sendPollingRequest$:$AdfXmlHttpDataTransferService$$.prototype.$sendPollingRequest$});
$AdfXmlHttpDataTransferService$$.prototype.$sendMultiPartRequest$ = function $$AdfXmlHttpDataTransferService$$$$$sendMultiPartRequest$$($context$$30$$, $actionURL$$18$$, $headerParams$$7$$, $htmlForm$$5$$, $params$$22$$, $listeners$$17$$, $eventListeners$$4$$) {
  var $domDocument$$6_newRequest$$1$$ = null;
  null == $context$$30$$ ? $context$$30$$ = {_htmlForm:$htmlForm$$5$$} : $context$$30$$.$_htmlForm$ = $htmlForm$$5$$;
  if (null != $htmlForm$$5$$.nodeType && "FORM" == $htmlForm$$5$$.nodeName) {
    if ($params$$22$$ || $headerParams$$7$$) {
      var $domDocument$$6_newRequest$$1$$ = null, $domDocument$$6_newRequest$$1$$ = $htmlForm$$5$$.ownerDocument ? $htmlForm$$5$$.ownerDocument : this.$_window$.document, $key$$43$$;
      for ($key$$43$$ in $params$$22$$) {
        $JSCompiler_StaticMethods__appendParamNode$$(this, $domDocument$$6_newRequest$$1$$, $htmlForm$$5$$, $key$$43$$, $params$$22$$[$key$$43$$]);
      }
      for ($key$$43$$ in $headerParams$$7$$) {
        $JSCompiler_StaticMethods__appendParamNode$$(this, $domDocument$$6_newRequest$$1$$, $htmlForm$$5$$, $key$$43$$, $headerParams$$7$$[$key$$43$$]);
      }
    }
    $domDocument$$6_newRequest$$1$$ = $JSCompiler_StaticMethods__addRequestToQueue$$(this, $AdfXmlHttpDataTransferService$$.$_MULTIPART_TYPE$, $context$$30$$, $actionURL$$18$$, $headerParams$$7$$, null, $listeners$$17$$, $eventListeners$$4$$, $AdfDataTransferService$$.$STATE_READY$);
  } else {
    if ($params$$22$$) {
      for ($key$$43$$ in $params$$22$$) {
        $htmlForm$$5$$.append($key$$43$$, $params$$22$$[$key$$43$$]);
      }
    }
    $context$$30$$.$_formData$ = !0;
    $domDocument$$6_newRequest$$1$$ = $JSCompiler_StaticMethods__addRequestToQueue$$(this, $AdfXmlHttpDataTransferService$$.$_MULTIPART_TYPE$, $context$$30$$, $actionURL$$18$$, $headerParams$$7$$, $htmlForm$$5$$, $listeners$$17$$, $eventListeners$$4$$, $AdfDataTransferService$$.$STATE_READY$);
  }
  return $domDocument$$6_newRequest$$1$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfXmlHttpDataTransferService.prototype.sendMultiPartRequest", {$sendMultiPartRequest$:$AdfXmlHttpDataTransferService$$.prototype.$sendMultiPartRequest$});
$AdfXmlHttpDataTransferService$$.prototype.$sendStreamingRequest$ = function $$AdfXmlHttpDataTransferService$$$$$sendStreamingRequest$$($actionURL$$19$$, $params$$23$$) {
  $actionURL$$19$$ = -1 == $actionURL$$19$$.indexOf("?") ? $actionURL$$19$$ + "?" : $actionURL$$19$$ + "\x26";
  $actionURL$$19$$ = $actionURL$$19$$ + "Adf-Rich-Message\x3dtrue\x26unique\x3d" + (new Date).getTime();
  for (var $agent$$43_name$$90$$ in $params$$23$$) {
    $actionURL$$19$$ += "\x26" + $agent$$43_name$$90$$ + "\x3d" + $params$$23$$[$agent$$43_name$$90$$];
  }
  $agent$$43_name$$90$$ = $AdfAgent$$.$AGENT$;
  $agent$$43_name$$90$$.$getPlatform$() == $AdfAgent$$.$IE_PLATFORM$ && 9 > $agent$$43_name$$90$$.$getVersion$() && ($actionURL$$19$$ += "\x26oracle.adf.view.rich.forceHTML\x3dtrue");
  return $JSCompiler_StaticMethods__addRequestToQueue$$(this, $AdfXmlHttpDataTransferService$$.$_STREAMING_TYPE$, null, $actionURL$$19$$, null, null, null, null, $AdfDataTransferService$$.$TRANSFER_COMPLETE$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfXmlHttpDataTransferService.prototype.sendStreamingRequest", {$sendStreamingRequest$:$AdfXmlHttpDataTransferService$$.prototype.$sendStreamingRequest$});
$AdfXmlHttpDataTransferService$$.prototype.$streamingResponsesOutstanding$ = function $$AdfXmlHttpDataTransferService$$$$$streamingResponsesOutstanding$$() {
  return 0 < this.$_streamingCount$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfXmlHttpDataTransferService.prototype.streamingResponsesOutstanding", {$streamingResponsesOutstanding$:$AdfXmlHttpDataTransferService$$.prototype.$streamingResponsesOutstanding$});
$AdfXmlHttpDataTransferService$$.prototype.$processStreamingResponse$ = function $$AdfXmlHttpDataTransferService$$$$$processStreamingResponse$$($script$$5$$) {
  $AdfAssert$$.assert(this.$_streamingFrame$, "Unexpected streaming response");
  0 < this.$_suspendCount$ || 1 < this.$_reqCount$ ? (this.$_streamingMsgQueue$ || (this.$_streamingMsgQueue$ = []), this.$_streamingMsgQueue$.push($script$$5$$)) : ($JSCompiler_StaticMethods__processQueuedStreamingMessages$$(this), $AdfAgent$$.$AGENT$.execScript(this.$_streamingFrame$.contentWindow, $script$$5$$));
};
$AdfXmlHttpDataTransferService$$.prototype.processStreamingResponse = $AdfXmlHttpDataTransferService$$.prototype.$processStreamingResponse$;
$AdfObject$$.$exportPrototypeSymbol$("AdfXmlHttpDataTransferService.prototype.processStreamingResponse", {$processStreamingResponse$:$AdfXmlHttpDataTransferService$$.prototype.$processStreamingResponse$});
function $JSCompiler_StaticMethods__processQueuedStreamingMessages$$($JSCompiler_StaticMethods__processQueuedStreamingMessages$self$$) {
  if ($JSCompiler_StaticMethods__processQueuedStreamingMessages$self$$.$_streamingMsgQueue$) {
    for (var $agent$$44$$ = $AdfAgent$$.$AGENT$;$JSCompiler_StaticMethods__processQueuedStreamingMessages$self$$.$_streamingMsgQueue$ && 0 < $JSCompiler_StaticMethods__processQueuedStreamingMessages$self$$.$_streamingMsgQueue$.length;) {
      $agent$$44$$.execScript($JSCompiler_StaticMethods__processQueuedStreamingMessages$self$$.$_streamingFrame$.contentWindow, $JSCompiler_StaticMethods__processQueuedStreamingMessages$self$$.$_streamingMsgQueue$.shift());
    }
    $JSCompiler_StaticMethods__processQueuedStreamingMessages$self$$.$_streamingMsgQueue$ = null;
  }
}
$AdfXmlHttpDataTransferService$$.prototype.$notifyStreamingRequestComplete$ = function $$AdfXmlHttpDataTransferService$$$$$notifyStreamingRequestComplete$$() {
  var $iframeDoc$$6$$ = this.$_streamingFrame$.contentWindow.document;
  $iframeDoc$$6$$.removeChild($iframeDoc$$6$$.documentElement);
  this.$_streamingFrame$ = null;
  this.$_streamingCount$--;
  $AdfAssert$$.assert(0 <= this.$_streamingCount$, "Streaming request underflow");
  $JSCompiler_StaticMethods__requestDone$$(this);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfXmlHttpDataTransferService.prototype.notifyStreamingRequestComplete", {$notifyStreamingRequestComplete$:$AdfXmlHttpDataTransferService$$.prototype.$notifyStreamingRequestComplete$});
$AdfXmlHttpDataTransferService$$.prototype.$suspend$ = function $$AdfXmlHttpDataTransferService$$$$$suspend$$() {
  this.$_suspendCount$++;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfXmlHttpDataTransferService.prototype.suspend", {$suspend$:$AdfXmlHttpDataTransferService$$.prototype.$suspend$});
$AdfXmlHttpDataTransferService$$.prototype.$resume$ = function $$AdfXmlHttpDataTransferService$$$$$resume$$() {
  this.$_suspendCount$--;
  $AdfAssert$$.assert(0 <= this.$_suspendCount$, "Suspend count underflow");
  0 < this.$_suspendCount$ || this.$_doNextRequest$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfXmlHttpDataTransferService.prototype.resume", {$resume$:$AdfXmlHttpDataTransferService$$.prototype.$resume$});
function $JSCompiler_StaticMethods__doXmlHttpTransfer$$($JSCompiler_StaticMethods__doXmlHttpTransfer$self_actionUrl$$1$$, $requestItem$$2$$, $callback$$83_headerParams$$8_isFormData_pageId$$10$$) {
  var $xmlHttp$$2$$ = new $AdfXMLRequest$$, $context$$31_eventListeners$$5_logger$$4$$ = $xmlHttp$$2$$.$__dtsRequestContext$ = $requestItem$$2$$.getContext();
  $xmlHttp$$2$$.$__dtsRequestListeners$ = $requestItem$$2$$.$getListeners$();
  $requestItem$$2$$.$setAdfXMLRequest$($xmlHttp$$2$$);
  $xmlHttp$$2$$.$setSynchronous$($context$$31_eventListeners$$5_logger$$4$$ && $context$$31_eventListeners$$5_logger$$4$$.$__isSynchronous$ ? !0 : !1);
  void 0 !== $callback$$83_headerParams$$8_isFormData_pageId$$10$$ ? $xmlHttp$$2$$.$setCallback$($callback$$83_headerParams$$8_isFormData_pageId$$10$$) : $xmlHttp$$2$$.$setCallback$($AdfXmlHttpDataTransferService$$.$_requestCallback$);
  $callback$$83_headerParams$$8_isFormData_pageId$$10$$ = !1;
  null != $context$$31_eventListeners$$5_logger$$4$$ && $context$$31_eventListeners$$5_logger$$4$$.$_formData$ && ($callback$$83_headerParams$$8_isFormData_pageId$$10$$ = !0);
  $callback$$83_headerParams$$8_isFormData_pageId$$10$$ || $xmlHttp$$2$$.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset\x3dUTF-8");
  $callback$$83_headerParams$$8_isFormData_pageId$$10$$ = $requestItem$$2$$.$getHeaderParams$();
  if (null != $callback$$83_headerParams$$8_isFormData_pageId$$10$$) {
    for (var $headerName_i$$123_ourWindow$$ in $callback$$83_headerParams$$8_isFormData_pageId$$10$$) {
      var $currHeader$$ = $callback$$83_headerParams$$8_isFormData_pageId$$10$$[$headerName_i$$123_ourWindow$$];
      $AdfCollections$$.isArray($currHeader$$) && ($currHeader$$ = $currHeader$$.join(","));
      $xmlHttp$$2$$.setRequestHeader($headerName_i$$123_ourWindow$$, $currHeader$$);
    }
  }
  $headerName_i$$123_ourWindow$$ = $JSCompiler_StaticMethods__doXmlHttpTransfer$self_actionUrl$$1$$.$_window$;
  ($JSCompiler_StaticMethods__doXmlHttpTransfer$self_actionUrl$$1$$ = $requestItem$$2$$.$getActionURL$()) || ($JSCompiler_StaticMethods__doXmlHttpTransfer$self_actionUrl$$1$$ = "" + $headerName_i$$123_ourWindow$$.document.location.href);
  $callback$$83_headerParams$$8_isFormData_pageId$$10$$ = $AdfPage$$.$PAGE$.$_pageStateId$;
  $JSCompiler_StaticMethods__doXmlHttpTransfer$self_actionUrl$$1$$ = $AdfXmlHttpDataTransferService$$.$__encodeWindowIdOnUrl$($JSCompiler_StaticMethods__doXmlHttpTransfer$self_actionUrl$$1$$, $headerName_i$$123_ourWindow$$.name);
  $context$$31_eventListeners$$5_logger$$4$$ && $context$$31_eventListeners$$5_logger$$4$$.$richPostback$ && ($JSCompiler_StaticMethods__doXmlHttpTransfer$self_actionUrl$$1$$ = $AdfXmlHttpDataTransferService$$.$__encodePageIdOnUrl$($JSCompiler_StaticMethods__doXmlHttpTransfer$self_actionUrl$$1$$, $callback$$83_headerParams$$8_isFormData_pageId$$10$$));
  $context$$31_eventListeners$$5_logger$$4$$ = $requestItem$$2$$.$getEventListeners$();
  if (null != $context$$31_eventListeners$$5_logger$$4$$) {
    for ($headerName_i$$123_ourWindow$$ = 0;$headerName_i$$123_ourWindow$$ < $context$$31_eventListeners$$5_logger$$4$$.length;$headerName_i$$123_ourWindow$$ += 2) {
      $xmlHttp$$2$$.addEventListener($context$$31_eventListeners$$5_logger$$4$$[$headerName_i$$123_ourWindow$$], $context$$31_eventListeners$$5_logger$$4$$[$headerName_i$$123_ourWindow$$ + 1]);
    }
  }
  $AdfPage$$.$PAGE$.$__perfTimings$(!1, !1, !0, "Request sent to server: ", $JSCompiler_StaticMethods__doXmlHttpTransfer$self_actionUrl$$1$$);
  $context$$31_eventListeners$$5_logger$$4$$ = $AdfLogger$$.$LOGGER$;
  $context$$31_eventListeners$$5_logger$$4$$.fine("Request sent to server:", $requestItem$$2$$);
  $context$$31_eventListeners$$5_logger$$4$$.$getLogWriter$().flush();
  $xmlHttp$$2$$.send($JSCompiler_StaticMethods__doXmlHttpTransfer$self_actionUrl$$1$$, $requestItem$$2$$.$getContent$());
}
function $JSCompiler_StaticMethods__appendParamNode$$($JSCompiler_StaticMethods__appendParamNode$self_node$$61$$, $domDocument$$8$$, $form$$4$$, $name$$91$$, $value$$158$$) {
  $AdfAssert$$.assert(null != $form$$4$$);
  var $nodes$$8$$ = $JSCompiler_StaticMethods__appendParamNode$self_node$$61$$.$_paramNodes$;
  $nodes$$8$$ || ($nodes$$8$$ = [], $JSCompiler_StaticMethods__appendParamNode$self_node$$61$$.$_paramNodes$ = $nodes$$8$$);
  $JSCompiler_StaticMethods__appendParamNode$self_node$$61$$ = $domDocument$$8$$.createElement("input");
  $JSCompiler_StaticMethods__appendParamNode$self_node$$61$$.type = "hidden";
  $JSCompiler_StaticMethods__appendParamNode$self_node$$61$$.name = $name$$91$$;
  $JSCompiler_StaticMethods__appendParamNode$self_node$$61$$.value = $value$$158$$;
  $nodes$$8$$.push($JSCompiler_StaticMethods__appendParamNode$self_node$$61$$);
  $form$$4$$.insertBefore($JSCompiler_StaticMethods__appendParamNode$self_node$$61$$, $form$$4$$.firstChild);
}
$AdfXmlHttpDataTransferService$$.prototype.$_doStreamingTransfer$ = function $$AdfXmlHttpDataTransferService$$$$$_doStreamingTransfer$$($requestItem$$4$$) {
  this.$_streamingMsgQueue$ = null;
  var $doc$$32$$ = this.$_window$.document, $div$$4$$ = $doc$$32$$.getElementById($AdfXmlHttpDataTransferService$$.$_ADF_STREAMING_IFRAME_ID$);
  $div$$4$$ || ($div$$4$$ = $doc$$32$$.createElement("DIV"), $div$$4$$.id = $AdfXmlHttpDataTransferService$$.$_ADF_STREAMING_IFRAME_ID$, $div$$4$$.style.display = "none", $doc$$32$$.body.appendChild($div$$4$$));
  var $actionUrl$$2_windowId$$3$$ = this.$_window$.name, $actionUrl$$2_windowId$$3$$ = $AdfXmlHttpDataTransferService$$.$__encodeWindowIdOnUrl$($requestItem$$4$$.$getActionURL$(), $actionUrl$$2_windowId$$3$$);
  $div$$4$$.innerHTML = '\x3cIFRAME id \x3d "iFrameID" src\x3d"' + $actionUrl$$2_windowId$$3$$ + '"\x3e\x3c/IFRAME\x3e';
  $doc$$32$$.getElementById("iFrameID").addEventListener("load", function anonymousStreamResponse() {
    $AdfPage$$.$PAGE$.$getDataTransferService$().$processStreamingResponse$("parent.AdfPage.PAGE.streamingResponseComplete();");
  });
  this.$_streamingFrame$ = $div$$4$$.firstChild;
  $AdfAssert$$.$assertDomElement$(this.$_streamingFrame$);
  $AdfAssert$$.assert("IFRAME" == this.$_streamingFrame$.tagName);
  $requestItem$$4$$.$setStreamingIFrame$(this.$_streamingFrame$);
};
$AdfXmlHttpDataTransferService$$.prototype.$_handleIFrameLoad$ = function $$AdfXmlHttpDataTransferService$$$$$_handleIFrameLoad$$() {
  var $domDocument$$9_hiddenFrame$$1$$ = this.$_window$.document, $agentIsIE$$5_iframeDoc$$inline_637$$ = $AdfAgent$$.$AGENT$.$getPlatform$() == $AdfAgent$$.$IE_PLATFORM$, $frameName$$1_iframeDoc$$8$$ = $AdfXmlHttpDataTransferService$$.$_MULTIPART_FRAME$;
  $agentIsIE$$5_iframeDoc$$inline_637$$ ? ($domDocument$$9_hiddenFrame$$1$$ = $domDocument$$9_hiddenFrame$$1$$.frames[$frameName$$1_iframeDoc$$8$$], $frameName$$1_iframeDoc$$8$$ = $domDocument$$9_hiddenFrame$$1$$.document) : ($domDocument$$9_hiddenFrame$$1$$ = $domDocument$$9_hiddenFrame$$1$$.getElementById($frameName$$1_iframeDoc$$8$$), $frameName$$1_iframeDoc$$8$$ = $domDocument$$9_hiddenFrame$$1$$.contentDocument);
  try {
    if (!$frameName$$1_iframeDoc$$8$$.documentElement || !$frameName$$1_iframeDoc$$8$$.documentElement.firstChild || $agentIsIE$$5_iframeDoc$$inline_637$$ && "complete" != $frameName$$1_iframeDoc$$8$$.readyState) {
      this.$_iframeLoadTimerId$ = $AdfPage$$.$PAGE$.$scheduleTimer$(this, this.$_handleIFrameLoad$, null, 50);
    } else {
      var $page$$20$$ = $AdfPage$$.$PAGE$, $iframeLoadTimerId$$ = this.$_iframeLoadTimerId$;
      $iframeLoadTimerId$$ && (delete this.$_iframeLoadTimerId$, $page$$20$$.$cancelTimer$($iframeLoadTimerId$$));
      $page$$20$$.$scheduleTimer$(this, $AdfXmlHttpDataTransferService$$.$_removeFrame$, $domDocument$$9_hiddenFrame$$1$$, 1);
      var $agentIsIE$$5_iframeDoc$$inline_637$$ = $frameName$$1_iframeDoc$$8$$, $i$$inline_5529_requestListeners$$inline_639$$ = this.$_dtsRequestlisteners$;
      try {
        var $dtsRequestEvent$$inline_640$$ = new $AdfIFrameDataTransferRequestEvent$$($agentIsIE$$5_iframeDoc$$inline_637$$, this.$_dtsContext$);
        $AdfXmlHttpDataTransferService$$.$__broadcastRequestStatusChanged$($i$$inline_5529_requestListeners$$inline_639$$, $dtsRequestEvent$$inline_640$$);
      } finally {
        for (;$agentIsIE$$5_iframeDoc$$inline_637$$.firstChild;) {
          $agentIsIE$$5_iframeDoc$$inline_637$$.firstChild && $agentIsIE$$5_iframeDoc$$inline_637$$.removeChild($agentIsIE$$5_iframeDoc$$inline_637$$.firstChild);
        }
        this.$_htmlForm$.action = this.$_savedActionUrl$;
        this.$_htmlForm$.target = this.$_savedTarget$;
        var $nodes$$inline_5526$$ = this.$_paramNodes$;
        if ($nodes$$inline_5526$$) {
          for (var $form$$inline_5527$$ = $nodes$$inline_5526$$[0].parentNode, $count$$inline_5528$$ = $nodes$$inline_5526$$.length, $i$$inline_5529_requestListeners$$inline_639$$ = 0;$i$$inline_5529_requestListeners$$inline_639$$ < $count$$inline_5528$$;$i$$inline_5529_requestListeners$$inline_639$$++) {
            $form$$inline_5527$$ && $form$$inline_5527$$.removeChild($nodes$$inline_5526$$[$i$$inline_5529_requestListeners$$inline_639$$]);
          }
          delete this.$_paramNodes$;
        }
        $JSCompiler_StaticMethods__requestDone$$(this);
      }
    }
  } catch ($e$$84$$) {
    this.$_pageUnloading$ || ($AdfXmlHttpDataTransferService$$.$_alertError$("unknown"), $AdfLogger$$.$LOGGER$.$logErrorAsSevere$($e$$84$$, "Error (" + $e$$84$$.message + ") while performing Data Transfer request")), this.$_htmlForm$.action = this.$_savedActionUrl$, this.$_htmlForm$.target = this.$_savedTarget$;
  }
};
function $JSCompiler_StaticMethods__handleRequestCallback$$($JSCompiler_StaticMethods__handleRequestCallback$self$$, $xmlHttp$$3$$) {
  if ($xmlHttp$$3$$.$getCompletionState$() == $AdfXMLRequest$$.$COMPLETED$) {
    var $statusCode_warningMsg$$1$$ = 0;
    try {
      $statusCode_warningMsg$$1$$ = $xmlHttp$$3$$.$getStatus$();
    } catch ($e$$85$$) {
    }
    try {
      if (200 != $statusCode_warningMsg$$1$$ && 302 != $statusCode_warningMsg$$1$$ && 0 != $statusCode_warningMsg$$1$$) {
        $JSCompiler_StaticMethods__handleRequestCallback$self$$.$_pageUnloading$ || ($AdfXmlHttpDataTransferService$$.$_alertError$($statusCode_warningMsg$$1$$), $AdfLogger$$.$LOGGER$.severe("Error StatusCode(", $statusCode_warningMsg$$1$$, ") while performing Data Transfer request\n"));
      } else {
        if (!$JSCompiler_StaticMethods__handleRequestCallback$self$$.$_pageUnloading$) {
          $JSCompiler_StaticMethods__broadcastStateChangeEvent$$($JSCompiler_StaticMethods__handleRequestCallback$self$$, $AdfDataTransferService$$.$TRANSFER_COMPLETE$);
          var $dtsRequestEvent$$3$$ = new $AdfDataTransferRequestEvent$$($AdfDataTransferRequestEvent$$.$STATUS_COMPLETE$, $xmlHttp$$3$$.$__dtsRequestContext$, $xmlHttp$$3$$);
          $AdfXmlHttpDataTransferService$$.$__broadcastRequestStatusChanged$($xmlHttp$$3$$.$__dtsRequestListeners$, $dtsRequestEvent$$3$$);
        }
      }
    } finally {
      try {
        if (!$JSCompiler_StaticMethods__handleRequestCallback$self$$.$_pageUnloading$ && null != $AdfPage$$.$PAGE$.$getResponseIdentifier$() && $xmlHttp$$3$$.getResponseHeader) {
          var $responseId$$inline_643$$ = $xmlHttp$$3$$.getResponseHeader("Adf-Context-Id");
          $responseId$$inline_643$$ || ($responseId$$inline_643$$ = $xmlHttp$$3$$.getResponseHeader("X-ORACLE-DMS-ECID"));
          $responseId$$inline_643$$ && $AdfPage$$.$PAGE$.$__setResponseIdentifier$($responseId$$inline_643$$);
        }
      } catch ($e$$86$$) {
        $statusCode_warningMsg$$1$$ = "Not able to retrieve response id from header.Error (" + $e$$86$$.message, $AdfLogger$$.$LOGGER$.warning($statusCode_warningMsg$$1$$ + "). The response id in page object will not be up-to-date.");
      }
      $xmlHttp$$3$$.$cleanup$();
      delete $xmlHttp$$3$$;
      $JSCompiler_StaticMethods__handleRequestCallback$self$$.$_pageUnloading$ || $JSCompiler_StaticMethods__requestDone$$($JSCompiler_StaticMethods__handleRequestCallback$self$$);
    }
  }
}
function $JSCompiler_StaticMethods__requestDone$$($JSCompiler_StaticMethods__requestDone$self$$) {
  $JSCompiler_StaticMethods__requestDone$self$$.$_requestQueue$ && ($JSCompiler_StaticMethods__requestDone$self$$.$_reqCount$--, $AdfAssert$$.assert(0 <= $JSCompiler_StaticMethods__requestDone$self$$.$_reqCount$, "Request count underflow"), 1 == $JSCompiler_StaticMethods__requestDone$self$$.$_reqCount$ && 1 == $JSCompiler_StaticMethods__requestDone$self$$.$_streamingCount$ && $JSCompiler_StaticMethods__processQueuedStreamingMessages$$($JSCompiler_StaticMethods__requestDone$self$$), 0 == $JSCompiler_StaticMethods__requestDone$self$$.$_requestQueue$.length && 
  ($JSCompiler_StaticMethods__requestDone$self$$.$_state$ != $AdfDataTransferService$$.$TRANSFER_COMPLETE$ && $JSCompiler_StaticMethods__broadcastStateChangeEvent$$($JSCompiler_StaticMethods__requestDone$self$$, $AdfDataTransferService$$.$TRANSFER_COMPLETE$), $JSCompiler_StaticMethods__broadcastStateChangeEvent$$($JSCompiler_StaticMethods__requestDone$self$$, $AdfDataTransferService$$.$STATE_READY$)), $AdfPage$$.$PAGE$.$scheduleTimer$($JSCompiler_StaticMethods__requestDone$self$$, $JSCompiler_StaticMethods__requestDone$self$$.$_doNextRequest$, 
  null, 1));
}
$AdfXmlHttpDataTransferService$$.prototype.$_doNextRequest$ = function $$AdfXmlHttpDataTransferService$$$$$_doNextRequest$$() {
  if (!(0 < this.$_suspendCount$ || 0 < this.$_reqCount$) && 0 < this.$_requestQueue$.length) {
    this.$_state$ != $AdfDataTransferService$$.$STATE_BUSY$ && $JSCompiler_StaticMethods__broadcastStateChangeEvent$$(this, $AdfDataTransferService$$.$STATE_BUSY$);
    var $requestItem$$inline_646$$ = this.$_requestQueue$.shift();
    if ($requestItem$$inline_646$$.$getStatus$() == $AdfDataTransferRequestEvent$$.$STATUS_ABORTED$) {
      $AdfLogger$$.$LOGGER$.fine("Transfer request aborted beforing sending to server:", $requestItem$$inline_646$$);
    } else {
      switch($requestItem$$inline_646$$.$setStatus$($AdfDataTransferRequestEvent$$.$STATUS_SEND_BEFORE$), $AdfLogger$$.$LOGGER$.fine("Transfer start:", $requestItem$$inline_646$$), this.$_reqCount$++, $AdfAssert$$.assert(2 >= this.$_reqCount$, "Request count overflow"), $requestItem$$inline_646$$.getType()) {
        case $AdfXmlHttpDataTransferService$$.$_XMLHTTP_TYPE$:
          $JSCompiler_StaticMethods__doXmlHttpTransfer$$(this, $requestItem$$inline_646$$);
          break;
        case $AdfXmlHttpDataTransferService$$.$_POLLING_TYPE$:
          $JSCompiler_StaticMethods__doXmlHttpTransfer$$(this, $requestItem$$inline_646$$, $AdfDhtmlActiveData$$.$_requestCallback$);
          break;
        case $AdfXmlHttpDataTransferService$$.$_MULTIPART_TYPE$:
          if (null != $requestItem$$inline_646$$.$getContent$()) {
            $JSCompiler_StaticMethods__doXmlHttpTransfer$$(this, $requestItem$$inline_646$$, $AdfDhtmlMultipartUpload$$.$_requestCallback$);
          } else {
            var $context$$inline_5533$$ = $requestItem$$inline_646$$.getContext(), $htmlForm$$inline_5534$$ = $context$$inline_5533$$.$_htmlForm$, $actionURL$$inline_5537_windowId$$inline_5535$$ = this.$_window$.name, $frameName$$inline_5538_pageId$$inline_5536$$ = $AdfPage$$.$PAGE$.$_pageStateId$, $actionURL$$inline_5537_windowId$$inline_5535$$ = $AdfXmlHttpDataTransferService$$.$__encodeWindowIdOnUrl$($requestItem$$inline_646$$.$getActionURL$(), $actionURL$$inline_5537_windowId$$inline_5535$$), 
            $actionURL$$inline_5537_windowId$$inline_5535$$ = $AdfXmlHttpDataTransferService$$.$__encodePageIdOnUrl$($actionURL$$inline_5537_windowId$$inline_5535$$, $frameName$$inline_5538_pageId$$inline_5536$$);
            $AdfAssert$$.assert($htmlForm$$inline_5534$$.action, "form action cannot be null for multiform post");
            var $frameName$$inline_5538_pageId$$inline_5536$$ = $AdfXmlHttpDataTransferService$$.$_MULTIPART_FRAME$, $agent$$inline_5539_agentIsIE$$inline_5543$$ = $AdfAgent$$.$AGENT$, $domDocument$$inline_5540$$ = this.$_window$.document, $hiddenFrame$$inline_5541$$ = $domDocument$$inline_5540$$.getElementById($frameName$$inline_5538_pageId$$inline_5536$$), $frameStyle$$inline_5544_iframeDoc$$inline_5542$$, $agent$$inline_5539_agentIsIE$$inline_5543$$ = $agent$$inline_5539_agentIsIE$$inline_5543$$.$getPlatform$() == 
            $AdfAgent$$.$IE_PLATFORM$;
            null == this.$_iframeLoadCallback$ && (this.$_iframeLoadCallback$ = this.$createCallback$(this.$_handleIFrameLoad$));
            $hiddenFrame$$inline_5541$$ || ($hiddenFrame$$inline_5541$$ = $domDocument$$inline_5540$$.createElement("iframe"), $hiddenFrame$$inline_5541$$.name = $frameName$$inline_5538_pageId$$inline_5536$$, $hiddenFrame$$inline_5541$$.id = $frameName$$inline_5538_pageId$$inline_5536$$, $hiddenFrame$$inline_5541$$.dataset.$postReqCounter$ = 0, $frameStyle$$inline_5544_iframeDoc$$inline_5542$$ = $hiddenFrame$$inline_5541$$.style, $frameStyle$$inline_5544_iframeDoc$$inline_5542$$.top = $frameStyle$$inline_5544_iframeDoc$$inline_5542$$.left = 
            "0px", $frameStyle$$inline_5544_iframeDoc$$inline_5542$$.width = $frameStyle$$inline_5544_iframeDoc$$inline_5542$$.height = "1px", $frameStyle$$inline_5544_iframeDoc$$inline_5542$$.position = "absolute", $frameStyle$$inline_5544_iframeDoc$$inline_5542$$.visibility = "hidden", $domDocument$$inline_5540$$.body.appendChild($hiddenFrame$$inline_5541$$), $agent$$inline_5539_agentIsIE$$inline_5543$$ || ($hiddenFrame$$inline_5541$$.onload = this.$_iframeLoadCallback$));
            $agent$$inline_5539_agentIsIE$$inline_5543$$ ? ($hiddenFrame$$inline_5541$$ = $domDocument$$inline_5540$$.frames[$frameName$$inline_5538_pageId$$inline_5536$$], $hiddenFrame$$inline_5541$$.name = $frameName$$inline_5538_pageId$$inline_5536$$, $frameStyle$$inline_5544_iframeDoc$$inline_5542$$ = $hiddenFrame$$inline_5541$$.document) : $frameStyle$$inline_5544_iframeDoc$$inline_5542$$ = $hiddenFrame$$inline_5541$$.contentDocument;
            $frameStyle$$inline_5544_iframeDoc$$inline_5542$$.firstChild && $frameStyle$$inline_5544_iframeDoc$$inline_5542$$.removeChild($frameStyle$$inline_5544_iframeDoc$$inline_5542$$.firstChild);
            this.$_dtsContext$ = $context$$inline_5533$$;
            this.$_dtsRequestlisteners$ = $requestItem$$inline_646$$.$getListeners$();
            this.$_htmlForm$ = $htmlForm$$inline_5534$$;
            this.$_savedActionUrl$ = $htmlForm$$inline_5534$$.action;
            this.$_savedTarget$ = $htmlForm$$inline_5534$$.target;
            $htmlForm$$inline_5534$$.method = "POST";
            $htmlForm$$inline_5534$$.action = $actionURL$$inline_5537_windowId$$inline_5535$$;
            $htmlForm$$inline_5534$$.target = $frameName$$inline_5538_pageId$$inline_5536$$;
            $JSCompiler_StaticMethods__appendParamNode$$(this, $domDocument$$inline_5540$$, $htmlForm$$inline_5534$$, "Adf-Rich-Message", "true");
            $JSCompiler_StaticMethods__appendParamNode$$(this, $domDocument$$inline_5540$$, $htmlForm$$inline_5534$$, "partial", "true");
            $JSCompiler_StaticMethods__appendParamNode$$(this, $domDocument$$inline_5540$$, $htmlForm$$inline_5534$$, $AdfXmlHttpDataTransferService$$.$_WINDOW_PARAM$, this.$_window$.name);
            $AdfAgent$$.$AGENT$.$autoCompleteForm$($htmlForm$$inline_5534$$);
            try {
              ($hiddenFrame$$inline_5541$$.parentNode ? $hiddenFrame$$inline_5541$$ : $hiddenFrame$$inline_5541$$.frameElement).dataset.$postReqCounter$++, $htmlForm$$inline_5534$$.submit(), $agent$$inline_5539_agentIsIE$$inline_5543$$ && (this.$_iframeLoadTimerId$ = $AdfPage$$.$PAGE$.$scheduleTimer$(this, this.$_handleIFrameLoad$, null, 50));
            } catch ($e$$inline_5545$$) {
              $AdfInputFileUtils$$.$addUploadErrorMessage$(), $JSCompiler_StaticMethods__requestDone$$(this);
            }
          }
          break;
        case $AdfXmlHttpDataTransferService$$.$_STREAMING_TYPE$:
          this.$_streamingCount$++;
          page.$scheduleTimer$(this, this.$_doStreamingTransfer$, $requestItem$$inline_646$$, 0);
          break;
        default:
          $AdfAssert$$.assert(!1, "Unknown transfer type"), this.$_reqCount$--;
      }
    }
  }
};
$AdfXmlHttpDataTransferService$$.$_requestCallback$ = function $$AdfXmlHttpDataTransferService$$$$_requestCallback$$($xmlRequest$$) {
  $AdfLogger$$.$LOGGER$.finer("Request complete:", $xmlRequest$$);
  var $dts$$2$$ = $AdfPage$$.$PAGE$.$getDataTransferService$(!0);
  $dts$$2$$ && $JSCompiler_StaticMethods__handleRequestCallback$$($dts$$2$$, $xmlRequest$$);
};
$AdfXmlHttpDataTransferService$$.prototype.$addStateChangeListener$ = function $$AdfXmlHttpDataTransferService$$$$$addStateChangeListener$$($listener$$96$$, $instance$$19$$) {
  $AdfAssert$$.$assertFunction$($listener$$96$$);
  $AdfAssert$$.$assertObjectOrNull$($instance$$19$$);
  var $stateChangeListeners$$ = this.$_stateChangeListeners$;
  $stateChangeListeners$$ || (this.$_stateChangeListeners$ = $stateChangeListeners$$ = []);
  $stateChangeListeners$$.push($listener$$96$$);
  $stateChangeListeners$$.push($instance$$19$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfXmlHttpDataTransferService.prototype.addStateChangeListener", {$addStateChangeListener$:$AdfXmlHttpDataTransferService$$.prototype.$addStateChangeListener$});
$AdfXmlHttpDataTransferService$$.prototype.$removeStateChangeListener$ = function $$AdfXmlHttpDataTransferService$$$$$removeStateChangeListener$$($listener$$97$$, $instance$$20$$) {
  $AdfAssert$$.$assertFunction$($listener$$97$$);
  $AdfAssert$$.$assertObjectOrNull$($instance$$20$$);
  var $stateChangeListeners$$1$$ = this.$_stateChangeListeners$;
  $AdfAssert$$.assert($stateChangeListeners$$1$$, "stateChangeListeners must exist");
  for (var $length$$36$$ = $stateChangeListeners$$1$$.length, $i$$125$$ = 0;$i$$125$$ < $length$$36$$;$i$$125$$++) {
    var $currListener$$4$$ = $stateChangeListeners$$1$$[$i$$125$$];
    $i$$125$$++;
    $currListener$$4$$ == $listener$$97$$ && $stateChangeListeners$$1$$[$i$$125$$] === $instance$$20$$ && $stateChangeListeners$$1$$.splice($i$$125$$ - 1, 2);
  }
  0 == $stateChangeListeners$$1$$.length && (this.$_stateChangeListeners$ = null);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfXmlHttpDataTransferService.prototype.removeStateChangeListener", {$removeStateChangeListener$:$AdfXmlHttpDataTransferService$$.prototype.$removeStateChangeListener$});
$AdfXmlHttpDataTransferService$$.prototype.$getDTSState$ = function $$AdfXmlHttpDataTransferService$$$$$getDTSState$$() {
  return this.$_state$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfXmlHttpDataTransferService.prototype.getDTSState", {$getDTSState$:$AdfXmlHttpDataTransferService$$.prototype.$getDTSState$});
function $JSCompiler_StaticMethods__broadcastStateChangeEvent$$($JSCompiler_StaticMethods__broadcastStateChangeEvent$self$$, $state$$11$$) {
  $JSCompiler_StaticMethods__broadcastStateChangeEvent$self$$.$_state$ = $state$$11$$;
  var $stateChangeListeners$$2$$ = $JSCompiler_StaticMethods__broadcastStateChangeEvent$self$$.$_stateChangeListeners$;
  if ($stateChangeListeners$$2$$) {
    for (var $listenerCount$$3$$ = $stateChangeListeners$$2$$.length, $i$$126$$ = 0;$i$$126$$ < $listenerCount$$3$$;$i$$126$$++) {
      try {
        var $currListener$$5$$ = $stateChangeListeners$$2$$[$i$$126$$];
        $i$$126$$++;
        var $currInstance$$1$$ = $stateChangeListeners$$2$$[$i$$126$$];
        if (0 == (null != $currInstance$$1$$ ? $currListener$$5$$.call($currInstance$$1$$, $state$$11$$) : $currListener$$5$$($state$$11$$))) {
          break;
        }
      } catch ($e$$87$$) {
        $AdfLogger$$.$LOGGER$.$logErrorAsWarning$($e$$87$$, "Error on DTS State Change Listener");
      }
    }
  }
}
$AdfXmlHttpDataTransferService$$.$_alertError$ = function $$AdfXmlHttpDataTransferService$$$$_alertError$$($message$$57_statusCode$$1$$) {
  var $ecid$$1_failedConnectionText$$ = $AdfPage$$.$PAGE$.getFailedConnectionText();
  if (null != $ecid$$1_failedConnectionText$$) {
    $message$$57_statusCode$$1$$ = $ecid$$1_failedConnectionText$$ + " (status\x3d" + $message$$57_statusCode$$1$$;
    if ($ecid$$1_failedConnectionText$$ = $AdfPage$$.$PAGE$.$getResponseIdentifier$()) {
      $message$$57_statusCode$$1$$ += ",ecid\x3d", $message$$57_statusCode$$1$$ += $ecid$$1_failedConnectionText$$;
    }
    $message$$57_statusCode$$1$$ += ")";
    alert($message$$57_statusCode$$1$$);
  }
};
$AdfXmlHttpDataTransferService$$.$_WINDOW_PARAM$ = "Adf-Window-Id";
$AdfXmlHttpDataTransferService$$.$__encodeWindowIdOnUrl$ = function $$AdfXmlHttpDataTransferService$$$$__encodeWindowIdOnUrl$$($url$$37$$, $windowId$$4$$) {
  var $actionUrl$$3$$ = $url$$37$$, $windowParam$$ = $AdfXmlHttpDataTransferService$$.$_WINDOW_PARAM$ + "\x3d", $windowParamValue$$ = $windowParam$$ + $windowId$$4$$;
  -1 == $actionUrl$$3$$.indexOf($windowParam$$) ? ($actionUrl$$3$$ += -1 == $actionUrl$$3$$.indexOf("?") ? "?" : "\x26", $actionUrl$$3$$ += $windowParamValue$$) : $actionUrl$$3$$ = $actionUrl$$3$$.replace(/adf-window-id=[^&#]*/, $windowParamValue$$);
  return $actionUrl$$3$$;
};
$AdfXmlHttpDataTransferService$$.$__encodePageIdOnUrl$ = function $$AdfXmlHttpDataTransferService$$$$__encodePageIdOnUrl$$($url$$38$$, $pageId$$12$$) {
  if (null == $pageId$$12$$ || void 0 == $pageId$$12$$) {
    return $url$$38$$;
  }
  var $actionUrl$$4$$ = $url$$38$$, $pageParam$$ = $AdfDhtmlPage$$.$_PAGE_STATE_ID$ + "\x3d", $pageParamValue$$ = $pageParam$$ + $pageId$$12$$;
  -1 == $actionUrl$$4$$.indexOf($pageParam$$) ? ($actionUrl$$4$$ += -1 == $actionUrl$$4$$.indexOf("?") ? "?" : "\x26", $actionUrl$$4$$ += $pageParamValue$$) : $actionUrl$$4$$ = $actionUrl$$4$$.replace(/Adf-Page-Id=[^&#]*/, $pageParamValue$$);
  return $actionUrl$$4$$;
};
$AdfXmlHttpDataTransferService$$.$_removeFrame$ = function $$AdfXmlHttpDataTransferService$$$$_removeFrame$$($frameNode$$1_hiddenFrame$$2$$) {
  if ($frameNode$$1_hiddenFrame$$2$$ = $frameNode$$1_hiddenFrame$$2$$.parentNode ? $frameNode$$1_hiddenFrame$$2$$ : $frameNode$$1_hiddenFrame$$2$$.frameElement) {
    if ($frameNode$$1_hiddenFrame$$2$$.dataset.$postReqCounter$--, 0 >= $frameNode$$1_hiddenFrame$$2$$.dataset.$postReqCounter$) {
      $frameNode$$1_hiddenFrame$$2$$.onload = "void(0);";
      var $parentNode$$2$$ = $frameNode$$1_hiddenFrame$$2$$.parentNode;
      $parentNode$$2$$ && $parentNode$$2$$.removeChild($frameNode$$1_hiddenFrame$$2$$);
    }
  }
};
