function $AdfNavigationHistoryAgent$$() {
  this.Init()
}
$goog$exportSymbol$$("AdfNavigationHistoryAgent", $AdfNavigationHistoryAgent$$);
$goog$exportSymbol$$("AdfNavigationHistoryAgent", $AdfNavigationHistoryAgent$$);
$AdfObject$$.$createSubclass$($AdfNavigationHistoryAgent$$);
$AdfNavigationHistoryAgent$$.$InitClass$ = function $$AdfNavigationHistoryAgent$$$$InitClass$$() {
  this.$_STATE_SEPARATOR$ = "@";
  this.$STATE_MARKER$ = "!";
  $goog$exportSymbol$$("AdfNavigationHistoryAgent.STATE_MARKER", $AdfNavigationHistoryAgent$$.$STATE_MARKER$);
  this.$_STATE_MARKER_LENGTH$ = this.$STATE_MARKER$.length
};
$goog$exportSymbol$$("AdfNavigationHistoryAgent.InitClass", $AdfNavigationHistoryAgent$$.$InitClass$);
$AdfNavigationHistoryAgent$$.prototype.Init = function $$AdfNavigationHistoryAgent$$$$Init$() {
  $AdfNavigationHistoryAgent$$.$superclass$.Init.call(this);
  this.$_loadCounter$ = 0
};
$AdfObject$$.$exportPrototypeSymbol$("AdfNavigationHistoryAgent.prototype.Init", {Init:$AdfNavigationHistoryAgent$$.prototype.Init});
$AdfNavigationHistoryAgent$$.$getInstance$ = function $$AdfNavigationHistoryAgent$$$$getInstance$$() {
  $AdfNavigationHistoryAgent$$.$_instance$ == $JSCompiler_alias_VOID$$ && ($AdfNavigationHistoryAgent$$.$_instance$ = new $AdfHtml5NavigationHistoryAgent$$);
  return $AdfNavigationHistoryAgent$$.$_instance$
};
$AdfNavigationHistoryAgent$$.getInstance = $AdfNavigationHistoryAgent$$.$getInstance$;
$goog$exportSymbol$$("AdfNavigationHistoryAgent.getInstance", $AdfNavigationHistoryAgent$$.$getInstance$);
$AdfNavigationHistoryAgent$$.prototype.$initializeNavigation$ = function $$AdfNavigationHistoryAgent$$$$$initializeNavigation$$($defaultViewId$$, $queryParams$$4$$) {
  this.$_currentViewId$ = this.$_defaultViewId$ = $defaultViewId$$;
  this.$_initialized$ = $JSCompiler_alias_TRUE$$;
  var $params$$inline_357$$ = $JSCompiler_alias_VOID$$, $search$$inline_358$$ = this.$GetDomWindow$().location.search;
  $search$$inline_358$$ && 0 < $search$$inline_358$$.length && ($params$$inline_357$$ = $search$$inline_358$$);
  this.$_currentParams$ = this.$_defaultParams$ = $params$$inline_357$$;
  $queryParams$$4$$ && (this.$_currentParams$ = $queryParams$$4$$)
};
$AdfNavigationHistoryAgent$$.prototype.initializeNavigation = $AdfNavigationHistoryAgent$$.prototype.$initializeNavigation$;
$AdfObject$$.$exportPrototypeSymbol$("AdfNavigationHistoryAgent.prototype.initializeNavigation", {$initializeNavigation$:$AdfNavigationHistoryAgent$$.prototype.$initializeNavigation$});
$AdfNavigationHistoryAgent$$.prototype.$isNavigationInitialized$ = function $$AdfNavigationHistoryAgent$$$$$isNavigationInitialized$$() {
  return $JSCompiler_alias_TRUE$$ == this.$_initialized$
};
$AdfNavigationHistoryAgent$$.prototype.isNavigationInitialized = $AdfNavigationHistoryAgent$$.prototype.$isNavigationInitialized$;
$AdfObject$$.$exportPrototypeSymbol$("AdfNavigationHistoryAgent.prototype.isNavigationInitialized", {$isNavigationInitialized$:$AdfNavigationHistoryAgent$$.prototype.$isNavigationInitialized$});
$AdfNavigationHistoryAgent$$.prototype.$setFacesPath$ = $JSCompiler_set$$("$_facesPath$");
$AdfObject$$.$exportPrototypeSymbol$("AdfNavigationHistoryAgent.prototype.setFacesPath", {$setFacesPath$:$AdfNavigationHistoryAgent$$.prototype.$setFacesPath$});
$AdfNavigationHistoryAgent$$.prototype.$setCurrentPage$ = function $$AdfNavigationHistoryAgent$$$$$setCurrentPage$$($viewId$$3$$, $queryParams$$5$$, $loadId$$) {
  this.$_currentViewId$ = $viewId$$3$$;
  $queryParams$$5$$ = "" == $queryParams$$5$$ ? $JSCompiler_alias_NULL$$ : $queryParams$$5$$;
  $queryParams$$5$$ == $JSCompiler_alias_NULL$$ && this.$_defaultParams$ != $JSCompiler_alias_NULL$$ && ($queryParams$$5$$ = "?");
  this.$_currentParams$ = $queryParams$$5$$;
  this.$_currentAnchor$ = $JSCompiler_alias_NULL$$;
  if($loadId$$ != $JSCompiler_alias_VOID$$ && $loadId$$ != $JSCompiler_alias_NULL$$ && $loadId$$ == this.$_pendingLoadId$) {
    this.$setQueryString$($queryParams$$5$$, $JSCompiler_alias_TRUE$$);
    this.$_pendingLoadId$ = this.$_pendingParams$ = this.$_pendingViewId$ = $JSCompiler_alias_VOID$$;
    var $info$$5$$ = this.$GetViewInfoFromBrowserURI$();
    $info$$5$$.anchor != $JSCompiler_alias_NULL$$ && (this.$_currentAnchor$ = $info$$5$$.anchor, this.$NavigateToSavedAnchorImpl$($info$$5$$, this.$_currentAnchor$))
  }
  $loadId$$ || this.$AddHistoryEntry$($viewId$$3$$, $queryParams$$5$$)
};
$AdfNavigationHistoryAgent$$.prototype.setCurrentPage = $AdfNavigationHistoryAgent$$.prototype.$setCurrentPage$;
$AdfObject$$.$exportPrototypeSymbol$("AdfNavigationHistoryAgent.prototype.setCurrentPage", {$setCurrentPage$:$AdfNavigationHistoryAgent$$.prototype.$setCurrentPage$});
$AdfNavigationHistoryAgent$$.prototype.$setQueryString$ = function $$AdfNavigationHistoryAgent$$$$$setQueryString$$($queryParams$$6$$, $noHistory$$1$$) {
  var $info$$6$$ = this.$GetViewInfoFromBrowserURI$(), $id$$194$$ = $info$$6$$.id;
  $info$$6$$.$params$ != $queryParams$$6$$ && (this.$_currentParams$ = $queryParams$$6$$, this.$SetQueryStringImpl$($info$$6$$.$pageId$, $id$$194$$, $queryParams$$6$$, $info$$6$$.anchor, $noHistory$$1$$))
};
$AdfNavigationHistoryAgent$$.prototype.setQueryString = $AdfNavigationHistoryAgent$$.prototype.$setQueryString$;
$AdfObject$$.$exportPrototypeSymbol$("AdfNavigationHistoryAgent.prototype.setQueryString", {$setQueryString$:$AdfNavigationHistoryAgent$$.prototype.$setQueryString$});
$AdfNavigationHistoryAgent$$.prototype.$startTrackingURI$ = function $$AdfNavigationHistoryAgent$$$$$startTrackingURI$$($callbackObj_info$$7$$) {
  this.$_callbackObj$ = $callbackObj_info$$7$$;
  $callbackObj_info$$7$$ = this.$GetViewInfoFromBrowserURI$();
  $callbackObj_info$$7$$.$simpleAnchor$ ? this.$GetDomWindow$().setTimeout($AdfNavigationHistoryAgent$$.$_delayedStartTrackingURI$, 100) : this.$StartTrackingUriImpl$($callbackObj_info$$7$$)
};
$AdfNavigationHistoryAgent$$.prototype.startTrackingURI = $AdfNavigationHistoryAgent$$.prototype.$startTrackingURI$;
$AdfObject$$.$exportPrototypeSymbol$("AdfNavigationHistoryAgent.prototype.startTrackingURI", {$startTrackingURI$:$AdfNavigationHistoryAgent$$.prototype.$startTrackingURI$});
$AdfNavigationHistoryAgent$$.prototype.$setPageId$ = function $$AdfNavigationHistoryAgent$$$$$setPageId$$($id$$195$$) {
  this.$_currentPageId$ = $id$$195$$;
  $JSCompiler_StaticMethods__recordCurrentTrackedValues$$(this)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfNavigationHistoryAgent.prototype.setPageId", {$setPageId$:$AdfNavigationHistoryAgent$$.prototype.$setPageId$});
$AdfNavigationHistoryAgent$$.prototype.$dispose$ = $JSCompiler_emptyFn$$();
$AdfNavigationHistoryAgent$$.prototype.dispose = $AdfNavigationHistoryAgent$$.prototype.$dispose$;
$AdfObject$$.$exportPrototypeSymbol$("AdfNavigationHistoryAgent.prototype.dispose", {$dispose$:$AdfNavigationHistoryAgent$$.prototype.$dispose$});
$AdfNavigationHistoryAgent$$.prototype.$GetFacesPath$ = $JSCompiler_get$$("$_facesPath$");
$AdfObject$$.$exportPrototypeSymbol$("AdfNavigationHistoryAgent.prototype.GetFacesPath", {$GetFacesPath$:$AdfNavigationHistoryAgent$$.prototype.$GetFacesPath$});
$AdfNavigationHistoryAgent$$.prototype.$SetViewIdOnURI$ = function $$AdfNavigationHistoryAgent$$$$$SetViewIdOnURI$$($id$$196$$, $queryParams$$7$$) {
  var $info$$8$$ = this.$GetViewInfoFromBrowserURI$();
  return $info$$8$$.id != $id$$196$$ || $info$$8$$.$params$ != $queryParams$$7$$ ? (this.$UpdateHash$($JSCompiler_alias_NULL$$, $id$$196$$, $queryParams$$7$$, $JSCompiler_alias_NULL$$, $JSCompiler_alias_FALSE$$), $JSCompiler_alias_TRUE$$) : $JSCompiler_alias_FALSE$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfNavigationHistoryAgent.prototype.SetViewIdOnURI", {$SetViewIdOnURI$:$AdfNavigationHistoryAgent$$.prototype.$SetViewIdOnURI$});
$AdfNavigationHistoryAgent$$.prototype.$AddHistoryEntry$ = function $$AdfNavigationHistoryAgent$$$$$AddHistoryEntry$$($id$$197$$, $queryParams$$8$$) {
  return this.$SetViewIdOnURI$($id$$197$$, $queryParams$$8$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfNavigationHistoryAgent.prototype.AddHistoryEntry", {$AddHistoryEntry$:$AdfNavigationHistoryAgent$$.prototype.$AddHistoryEntry$});
$AdfNavigationHistoryAgent$$.prototype.$ValidateCurrentView$ = function $$AdfNavigationHistoryAgent$$$$$ValidateCurrentView$$($browserId$$, $queryParams$$9$$) {
  var $id$$inline_393_params$$9$$ = $JSCompiler_alias_NULL$$, $anchorNavigation$$inline_388_info$$9$$ = $JSCompiler_alias_FALSE$$, $params$$inline_394_paramsEmpty_url$$inline_389$$ = this.$GetDomWindow$().location.href, $hashIndex$$inline_390_pageId$$inline_395$$ = $params$$inline_394_paramsEmpty_url$$inline_389$$.indexOf("#");
  0 <= $hashIndex$$inline_390_pageId$$inline_395$$ && $params$$inline_394_paramsEmpty_url$$inline_389$$.indexOf($AdfNavigationHistoryAgent$$.$STATE_MARKER$, $hashIndex$$inline_390_pageId$$inline_395$$ + 1) != $hashIndex$$inline_390_pageId$$inline_395$$ + 1 && (this.$_currentAnchor$ = decodeURIComponent($params$$inline_394_paramsEmpty_url$$inline_389$$.substring($hashIndex$$inline_390_pageId$$inline_395$$ + 1)), this.$_initialHashMarked$ && this.$RestoreValuesAfterAnchorNavigation$(this.$_currentPageId$, 
  this.$_currentViewId$, this.$_currentParams$, this.$_currentAnchor$), $anchorNavigation$$inline_388_info$$9$$ = $JSCompiler_alias_TRUE$$);
  if(!$anchorNavigation$$inline_388_info$$9$$) {
    $anchorNavigation$$inline_388_info$$9$$ = this.$GetViewInfoFromBrowserURI$();
    if(this.$isNavigationInitialized$() && ($browserId$$ == $JSCompiler_alias_NULL$$ && ($browserId$$ = $anchorNavigation$$inline_388_info$$9$$.id, $queryParams$$9$$ = $anchorNavigation$$inline_388_info$$9$$.$params$), $params$$inline_394_paramsEmpty_url$$inline_389$$ = ("?" == $queryParams$$9$$ || $queryParams$$9$$ == $JSCompiler_alias_NULL$$) && ("?" == this.$_currentParams$ || this.$_currentParams$ == $JSCompiler_alias_NULL$$), $browserId$$ != this.$_currentViewId$ || !$params$$inline_394_paramsEmpty_url$$inline_389$$ && 
    $queryParams$$9$$ != this.$_currentParams$)) {
      $id$$inline_393_params$$9$$ = $browserId$$, $params$$inline_394_paramsEmpty_url$$inline_389$$ = $queryParams$$9$$, $hashIndex$$inline_390_pageId$$inline_395$$ = $anchorNavigation$$inline_388_info$$9$$.$pageId$, !this.$_callbackObj$ || $id$$inline_393_params$$9$$ == this.$_pendingViewId$ && $params$$inline_394_paramsEmpty_url$$inline_389$$ == this.$_pendingParams$ ? $id$$inline_393_params$$9$$ = $JSCompiler_alias_NULL$$ : (this.$_pendingViewId$ = $id$$inline_393_params$$9$$, this.$_pendingParams$ = 
      $params$$inline_394_paramsEmpty_url$$inline_389$$, this.$_pendingLoadId$ = this.$_loadCounter$++, this.$_callbackObj$.$loadView$($id$$inline_393_params$$9$$, $params$$inline_394_paramsEmpty_url$$inline_389$$, this.$_pendingLoadId$, $hashIndex$$inline_390_pageId$$inline_395$$), $id$$inline_393_params$$9$$ = {id:this.$_pendingViewId$, $params$:this.$_pendingParams$})
    }
    $id$$inline_393_params$$9$$ == $JSCompiler_alias_NULL$$ && $anchorNavigation$$inline_388_info$$9$$.anchor != this.$_currentAnchor$ && (this.$_currentAnchor$ = $anchorNavigation$$inline_388_info$$9$$.anchor, this.$NavigateToSavedAnchorImpl$($anchorNavigation$$inline_388_info$$9$$, this.$_currentAnchor$))
  }
  return $id$$inline_393_params$$9$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfNavigationHistoryAgent.prototype.ValidateCurrentView", {$ValidateCurrentView$:$AdfNavigationHistoryAgent$$.prototype.$ValidateCurrentView$});
$AdfNavigationHistoryAgent$$.prototype.$StartTrackingUriImpl$ = function $$AdfNavigationHistoryAgent$$$$$StartTrackingUriImpl$$($info$$10$$) {
  this.$_trackingURI$ = $JSCompiler_alias_TRUE$$;
  $info$$10$$ == $JSCompiler_alias_NULL$$ && ($info$$10$$ = this.$GetViewInfoFromBrowserURI$());
  this.$_currentAnchor$ = $info$$10$$.anchor;
  $JSCompiler_StaticMethods__recordCurrentTrackedValues$$(this);
  $info$$10$$.$simpleAnchor$ || (this.$_currentAnchor$ = $JSCompiler_alias_VOID$$);
  this.$ValidateCurrentView$()
};
$AdfObject$$.$exportPrototypeSymbol$("AdfNavigationHistoryAgent.prototype.StartTrackingUriImpl", {$StartTrackingUriImpl$:$AdfNavigationHistoryAgent$$.prototype.$StartTrackingUriImpl$});
$AdfNavigationHistoryAgent$$.prototype.$GetViewInfoFromBrowserURI$ = function $$AdfNavigationHistoryAgent$$$$$GetViewInfoFromBrowserURI$$() {
  var $hash$$2_href$$8_state$$5_w$$6$$ = this.$GetDomWindow$(), $info$$11$$ = {};
  $info$$11$$.$params$ = this.$_defaultParams$;
  $info$$11$$.id = this.$_defaultViewId$;
  var $hash$$2_href$$8_state$$5_w$$6$$ = $hash$$2_href$$8_state$$5_w$$6$$.location.href, $hashIndex$$3_len$$5$$ = $hash$$2_href$$8_state$$5_w$$6$$.indexOf("#");
  if(0 <= $hashIndex$$3_len$$5$$) {
    var $stateIndex$$ = $hash$$2_href$$8_state$$5_w$$6$$.indexOf($AdfNavigationHistoryAgent$$.$STATE_MARKER$, $hashIndex$$3_len$$5$$ + 1);
    $stateIndex$$ == $hashIndex$$3_len$$5$$ + 1 ? ($hash$$2_href$$8_state$$5_w$$6$$ = $hash$$2_href$$8_state$$5_w$$6$$.substring($stateIndex$$ + $AdfNavigationHistoryAgent$$.$_STATE_MARKER_LENGTH$), 0 < $hash$$2_href$$8_state$$5_w$$6$$.length && ($hash$$2_href$$8_state$$5_w$$6$$ = decodeURIComponent($hash$$2_href$$8_state$$5_w$$6$$), $hash$$2_href$$8_state$$5_w$$6$$ = $hash$$2_href$$8_state$$5_w$$6$$.split($AdfNavigationHistoryAgent$$.$_STATE_SEPARATOR$), $hashIndex$$3_len$$5$$ = $hash$$2_href$$8_state$$5_w$$6$$.length, 
    1 <= $hashIndex$$3_len$$5$$ && "" !== $hash$$2_href$$8_state$$5_w$$6$$[0] && ($info$$11$$.$pageId$ = $hash$$2_href$$8_state$$5_w$$6$$[0]), 2 <= $hashIndex$$3_len$$5$$ && "" !== $hash$$2_href$$8_state$$5_w$$6$$[1] && ($info$$11$$.id = $hash$$2_href$$8_state$$5_w$$6$$[1]), 3 <= $hashIndex$$3_len$$5$$ && "" !== $hash$$2_href$$8_state$$5_w$$6$$[2] && ($info$$11$$.$params$ = $hash$$2_href$$8_state$$5_w$$6$$[2]), 4 <= $hashIndex$$3_len$$5$$ && "" !== $hash$$2_href$$8_state$$5_w$$6$$[3] && ($info$$11$$.anchor = 
    $hash$$2_href$$8_state$$5_w$$6$$[3]))) : ($info$$11$$.anchor = decodeURIComponent($hash$$2_href$$8_state$$5_w$$6$$.substring($hashIndex$$3_len$$5$$ + 1)), $info$$11$$.$simpleAnchor$ = $JSCompiler_alias_TRUE$$)
  }
  return $info$$11$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfNavigationHistoryAgent.prototype.GetViewInfoFromBrowserURI", {$GetViewInfoFromBrowserURI$:$AdfNavigationHistoryAgent$$.prototype.$GetViewInfoFromBrowserURI$});
$AdfNavigationHistoryAgent$$.prototype.$GetDomWindow$ = function $$AdfNavigationHistoryAgent$$$$$GetDomWindow$$() {
  return $AdfPage$$.$PAGE$.$getDomWindow$()
};
$AdfObject$$.$exportPrototypeSymbol$("AdfNavigationHistoryAgent.prototype.GetDomWindow", {$GetDomWindow$:$AdfNavigationHistoryAgent$$.prototype.$GetDomWindow$});
$AdfNavigationHistoryAgent$$.prototype.$GetDomDocument$ = function $$AdfNavigationHistoryAgent$$$$$GetDomDocument$$() {
  return $AdfPage$$.$PAGE$.$getDomDocument$()
};
$AdfObject$$.$exportPrototypeSymbol$("AdfNavigationHistoryAgent.prototype.GetDomDocument", {$GetDomDocument$:$AdfNavigationHistoryAgent$$.prototype.$GetDomDocument$});
$AdfNavigationHistoryAgent$$.prototype.$SetQueryStringImpl$ = function $$AdfNavigationHistoryAgent$$$$$SetQueryStringImpl$$($pageId$$4$$, $id$$198$$, $queryParams$$10$$, $anchor$$5$$, $noHistory$$2$$) {
  this.$UpdateHash$($pageId$$4$$, $id$$198$$, $queryParams$$10$$, $anchor$$5$$, $noHistory$$2$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfNavigationHistoryAgent.prototype.SetQueryStringImpl", {$SetQueryStringImpl$:$AdfNavigationHistoryAgent$$.prototype.$SetQueryStringImpl$});
$AdfNavigationHistoryAgent$$.prototype.$GetCurrentViewId$ = $JSCompiler_get$$("$_currentViewId$");
$AdfObject$$.$exportPrototypeSymbol$("AdfNavigationHistoryAgent.prototype.GetCurrentViewId", {$GetCurrentViewId$:$AdfNavigationHistoryAgent$$.prototype.$GetCurrentViewId$});
$AdfNavigationHistoryAgent$$.prototype.$GetCurrentQueryParams$ = $JSCompiler_get$$("$_currentParams$");
$AdfObject$$.$exportPrototypeSymbol$("AdfNavigationHistoryAgent.prototype.GetCurrentQueryParams", {$GetCurrentQueryParams$:$AdfNavigationHistoryAgent$$.prototype.$GetCurrentQueryParams$});
$AdfNavigationHistoryAgent$$.prototype.$UsesHashForTrackingNavigation$ = $JSCompiler_returnArg$$($JSCompiler_alias_TRUE$$);
$AdfObject$$.$exportPrototypeSymbol$("AdfNavigationHistoryAgent.prototype.UsesHashForTrackingNavigation", {$UsesHashForTrackingNavigation$:$AdfNavigationHistoryAgent$$.prototype.$UsesHashForTrackingNavigation$});
$AdfNavigationHistoryAgent$$.prototype.$NavigateToSavedAnchorImpl$ = function $$AdfNavigationHistoryAgent$$$$$NavigateToSavedAnchorImpl$$($info$$12$$, $anchor$$6$$) {
  var $hash$$3$$ = "#";
  $anchor$$6$$ != $JSCompiler_alias_NULL$$ && ($hash$$3$$ += encodeURIComponent($anchor$$6$$));
  $JSCompiler_StaticMethods__replaceLocation$$(this, $hash$$3$$);
  $info$$12$$.$simpleAnchor$ || this.$UpdateHash$(this.$_currentPageId$, this.$_currentViewId$, this.$_currentParams$, this.$_currentAnchor$, $JSCompiler_alias_TRUE$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfNavigationHistoryAgent.prototype.NavigateToSavedAnchorImpl", {$NavigateToSavedAnchorImpl$:$AdfNavigationHistoryAgent$$.prototype.$NavigateToSavedAnchorImpl$});
$AdfNavigationHistoryAgent$$.prototype.$UpdateHash$ = function $$AdfNavigationHistoryAgent$$$$$UpdateHash$$($pageId$$5_paramArray$$, $hash$$4_id$$199$$, $allSeps_queryParams$$11$$, $anchor$$7_i$$58$$, $noHistory$$3$$) {
  this.$_initialHashMarked$ = $JSCompiler_alias_TRUE$$;
  this.$UsesHashForTrackingNavigation$() && ($hash$$4_id$$199$$ == this.$_defaultViewId$ && ($hash$$4_id$$199$$ = $JSCompiler_alias_VOID$$), $allSeps_queryParams$$11$$ == this.$_defaultParams$ && ($allSeps_queryParams$$11$$ = $JSCompiler_alias_VOID$$));
  $pageId$$5_paramArray$$ = [$pageId$$5_paramArray$$, $hash$$4_id$$199$$, $allSeps_queryParams$$11$$, $anchor$$7_i$$58$$];
  $hash$$4_id$$199$$ = "";
  $allSeps_queryParams$$11$$ = $JSCompiler_alias_FALSE$$;
  for($anchor$$7_i$$58$$ = $pageId$$5_paramArray$$.length - 1;0 <= $anchor$$7_i$$58$$;$anchor$$7_i$$58$$--) {
    $pageId$$5_paramArray$$[$anchor$$7_i$$58$$] != $JSCompiler_alias_NULL$$ && ($hash$$4_id$$199$$ = $pageId$$5_paramArray$$[$anchor$$7_i$$58$$] + $hash$$4_id$$199$$, $allSeps_queryParams$$11$$ = $JSCompiler_alias_TRUE$$), $allSeps_queryParams$$11$$ && 0 != $anchor$$7_i$$58$$ && ($hash$$4_id$$199$$ = $AdfNavigationHistoryAgent$$.$_STATE_SEPARATOR$ + $hash$$4_id$$199$$)
  }
  $hash$$4_id$$199$$ = "#" + $AdfNavigationHistoryAgent$$.$STATE_MARKER$ + encodeURIComponent($hash$$4_id$$199$$);
  $noHistory$$3$$ ? $JSCompiler_StaticMethods__replaceLocation$$(this, $hash$$4_id$$199$$) : this.$GetDomWindow$().location.hash = $hash$$4_id$$199$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfNavigationHistoryAgent.prototype.UpdateHash", {$UpdateHash$:$AdfNavigationHistoryAgent$$.prototype.$UpdateHash$});
function $JSCompiler_StaticMethods__replaceLocation$$($JSCompiler_StaticMethods__replaceLocation$self$$, $hash$$5$$) {
  var $locationBase$$ = $JSCompiler_StaticMethods__replaceLocation$self$$.$GetDomWindow$().location.href + "", $hashIndex$$4$$ = $locationBase$$.indexOf("#"), $locationBase$$ = -1 == $hashIndex$$4$$ ? $locationBase$$ : $locationBase$$.substring(0, $hashIndex$$4$$);
  $JSCompiler_StaticMethods__replaceLocation$self$$.$GetDomWindow$().location.replace($locationBase$$ + $hash$$5$$)
}
$AdfNavigationHistoryAgent$$.prototype.$UpdateInitialValues$ = function $$AdfNavigationHistoryAgent$$$$$UpdateInitialValues$$($pageId$$6$$, $viewid$$, $queryParams$$12$$, $anchor$$8$$) {
  this.$UpdateHash$($pageId$$6$$, $viewid$$, $queryParams$$12$$, $anchor$$8$$, $JSCompiler_alias_TRUE$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfNavigationHistoryAgent.prototype.UpdateInitialValues", {$UpdateInitialValues$:$AdfNavigationHistoryAgent$$.prototype.$UpdateInitialValues$});
$AdfNavigationHistoryAgent$$.prototype.$RestoreValuesAfterAnchorNavigation$ = function $$AdfNavigationHistoryAgent$$$$$RestoreValuesAfterAnchorNavigation$$($pageId$$7$$, $viewid$$1$$, $queryParams$$13$$, $anchor$$9$$) {
  this.$UpdateHash$($pageId$$7$$, $viewid$$1$$, $queryParams$$13$$, $anchor$$9$$, $JSCompiler_alias_TRUE$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfNavigationHistoryAgent.prototype.RestoreValuesAfterAnchorNavigation", {$RestoreValuesAfterAnchorNavigation$:$AdfNavigationHistoryAgent$$.prototype.$RestoreValuesAfterAnchorNavigation$});
function $JSCompiler_StaticMethods__recordCurrentTrackedValues$$($JSCompiler_StaticMethods__recordCurrentTrackedValues$self$$) {
  if($JSCompiler_StaticMethods__recordCurrentTrackedValues$self$$.$_trackingURI$) {
    var $info$$14_needsUpdate$$ = $JSCompiler_StaticMethods__recordCurrentTrackedValues$self$$.$isNavigationInitialized$() && $JSCompiler_StaticMethods__recordCurrentTrackedValues$self$$.$UsesHashForTrackingNavigation$() && !$JSCompiler_StaticMethods__recordCurrentTrackedValues$self$$.$_initialHashMarked$;
    $info$$14_needsUpdate$$ || ($info$$14_needsUpdate$$ = $JSCompiler_StaticMethods__recordCurrentTrackedValues$self$$.$GetViewInfoFromBrowserURI$(), $info$$14_needsUpdate$$ = $JSCompiler_StaticMethods__recordCurrentTrackedValues$self$$.$_currentParams$ != $info$$14_needsUpdate$$.$params$ || $JSCompiler_StaticMethods__recordCurrentTrackedValues$self$$.$_currentPageId$ != $info$$14_needsUpdate$$.$pageId$ || $JSCompiler_StaticMethods__recordCurrentTrackedValues$self$$.$_currentAnchor$ != $info$$14_needsUpdate$$.anchor || 
    $JSCompiler_StaticMethods__recordCurrentTrackedValues$self$$.$_currentViewId$ != $info$$14_needsUpdate$$.id);
    $info$$14_needsUpdate$$ && $JSCompiler_StaticMethods__recordCurrentTrackedValues$self$$.$UpdateInitialValues$($JSCompiler_StaticMethods__recordCurrentTrackedValues$self$$.$_currentPageId$, $JSCompiler_StaticMethods__recordCurrentTrackedValues$self$$.$_currentViewId$, $JSCompiler_StaticMethods__recordCurrentTrackedValues$self$$.$_currentParams$, $JSCompiler_StaticMethods__recordCurrentTrackedValues$self$$.$_currentAnchor$)
  }
}
$AdfNavigationHistoryAgent$$.$_delayedStartTrackingURI$ = function $$AdfNavigationHistoryAgent$$$$_delayedStartTrackingURI$$() {
  $AdfNavigationHistoryAgent$$.$getInstance$().$StartTrackingUriImpl$($JSCompiler_alias_NULL$$)
};
$AdfNavigationHistoryAgent$$.prototype.$isWaitingForServer$ = function $$AdfNavigationHistoryAgent$$$$$isWaitingForServer$$() {
  this.$ValidateCurrentView$();
  return this.$_pendingViewId$ != $JSCompiler_alias_NULL$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfNavigationHistoryAgent.prototype.isWaitingForServer", {$isWaitingForServer$:$AdfNavigationHistoryAgent$$.prototype.$isWaitingForServer$});
