function $AdfUserInactivityTimeoutHelper$$($userInactivityTimeout$$1$$) {
  this.Init($userInactivityTimeout$$1$$)
}
$goog$exportSymbol$$("AdfUserInactivityTimeoutHelper", $AdfUserInactivityTimeoutHelper$$);
$goog$exportSymbol$$("AdfUserInactivityTimeoutHelper", $AdfUserInactivityTimeoutHelper$$);
$AdfObject$$.$createSubclass$($AdfUserInactivityTimeoutHelper$$);
$AdfUserInactivityTimeoutHelper$$.prototype.$registerPollComponent$ = function $$AdfUserInactivityTimeoutHelper$$$$$registerPollComponent$$($component$$1798_componentTimeout$$) {
  $AdfAssert$$.$assertObject$($component$$1798_componentTimeout$$);
  var $clientId$$439$$ = $component$$1798_componentTimeout$$.$getClientId$();
  this.$_componentIDsArray$.push($clientId$$439$$);
  $component$$1798_componentTimeout$$ = $component$$1798_componentTimeout$$.getTimeout();
  if(this.$_maxComponentTimeoutInterval$ == $JSCompiler_alias_NULL$$) {
    this.$_maxComponentTimeoutInterval$ = $component$$1798_componentTimeout$$
  }else {
    if(-1 == $component$$1798_componentTimeout$$ || -1 != this.$_maxComponentTimeoutInterval$ && $component$$1798_componentTimeout$$ > this.$_maxComponentTimeoutInterval$) {
      this.$_maxComponentTimeoutInterval$ = $component$$1798_componentTimeout$$
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfUserInactivityTimeoutHelper.prototype.registerPollComponent", {$registerPollComponent$:$AdfUserInactivityTimeoutHelper$$.prototype.$registerPollComponent$});
$AdfUserInactivityTimeoutHelper$$.prototype.$unregisterPollComponent$ = function $$AdfUserInactivityTimeoutHelper$$$$$unregisterPollComponent$$($clientId$$440_component$$1799_timeoutInterval$$inline_4623$$) {
  $AdfAssert$$.$assertObject$($clientId$$440_component$$1799_timeoutInterval$$inline_4623$$);
  $clientId$$440_component$$1799_timeoutInterval$$inline_4623$$ = $clientId$$440_component$$1799_timeoutInterval$$inline_4623$$.$getClientId$();
  $AdfCollections$$.$removeArrayValue$(this.$_componentIDsArray$, $clientId$$440_component$$1799_timeoutInterval$$inline_4623$$);
  $clientId$$440_component$$1799_timeoutInterval$$inline_4623$$ = this.$_defaultTimeoutInterval$;
  var $componentIds$$inline_4624$$ = this.$_componentIDsArray$, $page$$inline_4625$$ = $AdfPage$$.$PAGE$;
  this.$_maxComponentTimeoutInterval$ = $JSCompiler_alias_NULL$$;
  for(var $i$$inline_4626$$ = 0;$i$$inline_4626$$ < $componentIds$$inline_4624$$.length;$i$$inline_4626$$++) {
    var $component$$inline_4627_tmpTimeoutValue$$inline_4628$$ = $page$$inline_4625$$.$findComponent$($componentIds$$inline_4624$$[$i$$inline_4626$$]);
    if($component$$inline_4627_tmpTimeoutValue$$inline_4628$$) {
      $component$$inline_4627_tmpTimeoutValue$$inline_4628$$ = $component$$inline_4627_tmpTimeoutValue$$inline_4628$$.getTimeout();
      if(-1 == $component$$inline_4627_tmpTimeoutValue$$inline_4628$$) {
        this.$_maxComponentTimeoutInterval$ = $component$$inline_4627_tmpTimeoutValue$$inline_4628$$;
        break
      }
      this.$_maxComponentTimeoutInterval$ == $JSCompiler_alias_NULL$$ ? this.$_maxComponentTimeoutInterval$ = $component$$inline_4627_tmpTimeoutValue$$inline_4628$$ : $component$$inline_4627_tmpTimeoutValue$$inline_4628$$ > this.$_maxComponentTimeoutInterval$ && (this.$_maxComponentTimeoutInterval$ = $component$$inline_4627_tmpTimeoutValue$$inline_4628$$)
    }
  }
  this.$_maxComponentTimeoutInterval$ != $JSCompiler_alias_NULL$$ && ($clientId$$440_component$$1799_timeoutInterval$$inline_4623$$ = this.$_maxComponentTimeoutInterval$);
  this.$_globalTimeoutInterval$ = $clientId$$440_component$$1799_timeoutInterval$$inline_4623$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfUserInactivityTimeoutHelper.prototype.unregisterPollComponent", {$unregisterPollComponent$:$AdfUserInactivityTimeoutHelper$$.prototype.$unregisterPollComponent$});
$AdfUserInactivityTimeoutHelper$$.prototype.$hasTimedOut$ = $JSCompiler_get$$("$_hasTimedOut$");
$AdfObject$$.$exportPrototypeSymbol$("AdfUserInactivityTimeoutHelper.prototype.hasTimedOut", {$hasTimedOut$:$AdfUserInactivityTimeoutHelper$$.prototype.$hasTimedOut$});
$AdfUserInactivityTimeoutHelper$$.prototype.$isTimeoutEnabled$ = function $$AdfUserInactivityTimeoutHelper$$$$$isTimeoutEnabled$$() {
  return-1 != this.$_globalTimeoutInterval$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfUserInactivityTimeoutHelper.prototype.isTimeoutEnabled", {$isTimeoutEnabled$:$AdfUserInactivityTimeoutHelper$$.prototype.$isTimeoutEnabled$});
$AdfUserInactivityTimeoutHelper$$.prototype.$initializeTimeout$ = function $$AdfUserInactivityTimeoutHelper$$$$$initializeTimeout$$($interval$$2$$) {
  $AdfAssert$$.$assertNumberOrNull$($interval$$2$$);
  this.$_defaultTimeoutInterval$ = $interval$$2$$;
  var $oldGlobalTimeoutInterval$$ = this.$_globalTimeoutInterval$;
  this.$_globalTimeoutInterval$ = this.$_maxComponentTimeoutInterval$ ? this.$_maxComponentTimeoutInterval$ : $interval$$2$$;
  this.$_globalTimeoutInterval$ != $oldGlobalTimeoutInterval$$ && $JSCompiler_StaticMethods__rescheduleOrScheduleTimerIfNeeded$$(this)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfUserInactivityTimeoutHelper.prototype.initializeTimeout", {$initializeTimeout$:$AdfUserInactivityTimeoutHelper$$.prototype.$initializeTimeout$});
$AdfUserInactivityTimeoutHelper$$.$InitClass$ = $JSCompiler_emptyFn$$();
$goog$exportSymbol$$("AdfUserInactivityTimeoutHelper.InitClass", $AdfUserInactivityTimeoutHelper$$.$InitClass$);
$AdfUserInactivityTimeoutHelper$$.prototype.Init = function $$AdfUserInactivityTimeoutHelper$$$$Init$() {
  $AdfUserInactivityTimeoutHelper$$.$superclass$.Init.call(this);
  this.$_componentIDsArray$ = [];
  this.$_defaultTimeoutInterval$ = $JSCompiler_alias_NULL$$;
  this.$_globalTimeoutInterval$ = -1;
  this.$_maxComponentTimeoutInterval$ = $JSCompiler_alias_NULL$$;
  this.$_hasTimedOut$ = $JSCompiler_alias_FALSE$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfUserInactivityTimeoutHelper.prototype.Init", {Init:$AdfUserInactivityTimeoutHelper$$.prototype.Init});
$AdfUserInactivityTimeoutHelper$$.prototype.$_forceComponentStop$ = function $$AdfUserInactivityTimeoutHelper$$$$$_forceComponentStop$$() {
  this.$_hasTimedOut$ = $JSCompiler_alias_TRUE$$;
  var $page$$223_page$$inline_4631_page$$inline_4633_sessionTimeoutHelper$$inline_4634$$ = $AdfPage$$.$PAGE$;
  $page$$223_page$$inline_4631_page$$inline_4633_sessionTimeoutHelper$$inline_4634$$.$_componentsUpdatedByPollEvent$ != $JSCompiler_alias_NULL$$ && $page$$223_page$$inline_4631_page$$inline_4633_sessionTimeoutHelper$$inline_4634$$.$scheduleTimer$(this, this.$_applyPollTimeoutStyle$, $JSCompiler_alias_NULL$$, 500);
  $page$$223_page$$inline_4631_page$$inline_4633_sessionTimeoutHelper$$inline_4634$$ = $AdfPage$$.$PAGE$;
  if($page$$223_page$$inline_4631_page$$inline_4633_sessionTimeoutHelper$$inline_4634$$.$isActiveDataSupported$() && ($page$$223_page$$inline_4631_page$$inline_4633_sessionTimeoutHelper$$inline_4634$$.$getActiveDataSupport$().stop(), $page$$223_page$$inline_4631_page$$inline_4633_sessionTimeoutHelper$$inline_4634$$ = $page$$223_page$$inline_4631_page$$inline_4633_sessionTimeoutHelper$$inline_4634$$.$_sessionTimeoutHelper$)) {
    $page$$223_page$$inline_4631_page$$inline_4633_sessionTimeoutHelper$$inline_4634$$.$__cancelSessionTimeoutTimer$(), $page$$223_page$$inline_4631_page$$inline_4633_sessionTimeoutHelper$$inline_4634$$.$__startSessionTimeoutTimer$()
  }
  $page$$223_page$$inline_4631_page$$inline_4633_sessionTimeoutHelper$$inline_4634$$ = $AdfPage$$.$PAGE$;
  this.$_timeoutTimer$ != $JSCompiler_alias_NULL$$ && ($page$$223_page$$inline_4631_page$$inline_4633_sessionTimeoutHelper$$inline_4634$$.$cancelTimer$(this.$_timeoutTimer$), this.$_timeoutTimer$ = $JSCompiler_alias_NULL$$)
};
$AdfUserInactivityTimeoutHelper$$.prototype.$_applyPollTimeoutStyle$ = function $$AdfUserInactivityTimeoutHelper$$$$$_applyPollTimeoutStyle$$() {
  for(var $updates$$2$$ = $AdfPage$$.$PAGE$.$_componentsUpdatedByPollEvent$, $timeoutLayers$$ = [], $agent$$712$$ = $AdfAgent$$.$AGENT$, $i$$626$$ = 0;$i$$626$$ < $updates$$2$$.length;$i$$626$$++) {
    var $componentRootDomElement$$ = $agent$$712$$.getElementById($updates$$2$$[$i$$626$$]);
    if($componentRootDomElement$$) {
      $AdfDomUtils$$.$addCSSClassName$($componentRootDomElement$$, "p_AFNoUpdate");
      var $el$$inline_4638_layer$$11$$, $computedStyle$$inline_4641_element$$inline_4636$$ = $componentRootDomElement$$;
      $AdfAssert$$.$assertDomElement$($computedStyle$$inline_4641_element$$inline_4636$$);
      var $agent$$inline_4637$$ = $AdfAgent$$.$AGENT$;
      $el$$inline_4638_layer$$11$$ = $AdfPage$$.$PAGE$.$getDomDocument$().createElement("div");
      $el$$inline_4638_layer$$11$$.className = "p_AFNoUpdateBadge";
      var $style$$inline_4639$$ = $el$$inline_4638_layer$$11$$.style, $pos$$inline_4640$$ = $AdfDomUtils$$.$getRelativePosition$($computedStyle$$inline_4641_element$$inline_4636$$);
      $style$$inline_4639$$.top = $pos$$inline_4640$$.y + "px";
      $style$$inline_4639$$.left = $pos$$inline_4640$$.x + "px";
      $style$$inline_4639$$.width = $computedStyle$$inline_4641_element$$inline_4636$$.offsetWidth + "px";
      $style$$inline_4639$$.height = $computedStyle$$inline_4641_element$$inline_4636$$.offsetHeight + "px";
      $style$$inline_4639$$.position = "absolute";
      $style$$inline_4639$$.visibility = "visible";
      $computedStyle$$inline_4641_element$$inline_4636$$ = $agent$$inline_4637$$.getComputedStyle($computedStyle$$inline_4641_element$$inline_4636$$);
      $style$$inline_4639$$.zIndex = "auto" == $computedStyle$$inline_4641_element$$inline_4636$$.zIndex ? 1 : $computedStyle$$inline_4641_element$$inline_4636$$.zIndex + 1;
      $timeoutLayers$$.push($el$$inline_4638_layer$$11$$);
      $componentRootDomElement$$.parentNode.insertBefore($el$$inline_4638_layer$$11$$, $componentRootDomElement$$)
    }
  }
  this.$_timeoutLayers$ = $timeoutLayers$$
};
$AdfUserInactivityTimeoutHelper$$.prototype.$__resetTimeoutHandler$ = function $$AdfUserInactivityTimeoutHelper$$$$$__resetTimeoutHandler$$($event$$274_sessionTimeoutHelper$$2_updates$$inline_4644$$) {
  if(!(-1 == this.$_globalTimeoutInterval$ || "mouseover" == $event$$274_sessionTimeoutHelper$$2_updates$$inline_4644$$.type || "mouseout" == $event$$274_sessionTimeoutHelper$$2_updates$$inline_4644$$.type || "blur" == $event$$274_sessionTimeoutHelper$$2_updates$$inline_4644$$.type || "focus" == $event$$274_sessionTimeoutHelper$$2_updates$$inline_4644$$.type)) {
    if($event$$274_sessionTimeoutHelper$$2_updates$$inline_4644$$ = $AdfPage$$.$PAGE$.$_sessionTimeoutHelper$, !($event$$274_sessionTimeoutHelper$$2_updates$$inline_4644$$ && $event$$274_sessionTimeoutHelper$$2_updates$$inline_4644$$.$getTimeoutWindowState$() == $AdfSessionTimeoutHelper$$.$TimeoutWindowStates$.$LAUNCHED$)) {
      $event$$274_sessionTimeoutHelper$$2_updates$$inline_4644$$ = $AdfPage$$.$PAGE$.$_componentsUpdatedByPollEvent$;
      var $agent$$inline_4648_layers$$inline_4645$$ = this.$_timeoutLayers$;
      if($agent$$inline_4648_layers$$inline_4645$$ && $agent$$inline_4648_layers$$inline_4645$$.length) {
        for(var $i$$inline_4646_j$$inline_4649$$ = 0;$i$$inline_4646_j$$inline_4649$$ < $agent$$inline_4648_layers$$inline_4645$$.length;$i$$inline_4646_j$$inline_4649$$++) {
          var $componentRootDomElement$$inline_4650_layer$$inline_4647$$ = $agent$$inline_4648_layers$$inline_4645$$.pop();
          $componentRootDomElement$$inline_4650_layer$$inline_4647$$.parentNode.removeChild($componentRootDomElement$$inline_4650_layer$$inline_4647$$)
        }
        $agent$$inline_4648_layers$$inline_4645$$ = $AdfAgent$$.$AGENT$;
        for($i$$inline_4646_j$$inline_4649$$ = 0;$i$$inline_4646_j$$inline_4649$$ < $event$$274_sessionTimeoutHelper$$2_updates$$inline_4644$$.length;$i$$inline_4646_j$$inline_4649$$++) {
          ($componentRootDomElement$$inline_4650_layer$$inline_4647$$ = $agent$$inline_4648_layers$$inline_4645$$.getElementById($event$$274_sessionTimeoutHelper$$2_updates$$inline_4644$$.pop())) && $AdfDomUtils$$.$removeCSSClassName$($componentRootDomElement$$inline_4650_layer$$inline_4647$$, "p_AFNoUpdate")
        }
      }
      $JSCompiler_StaticMethods__rescheduleOrScheduleTimerIfNeeded$$(this)
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfUserInactivityTimeoutHelper.prototype.__resetTimeoutHandler", {$__resetTimeoutHandler$:$AdfUserInactivityTimeoutHelper$$.prototype.$__resetTimeoutHandler$});
function $JSCompiler_StaticMethods__rescheduleOrScheduleTimerIfNeeded$$($JSCompiler_StaticMethods__rescheduleOrScheduleTimerIfNeeded$self$$) {
  var $page$$226$$ = $AdfPage$$.$PAGE$;
  if($page$$226$$.$isActiveDataSupported$()) {
    var $sessionTimeoutHelper$$3$$ = $page$$226$$.$_sessionTimeoutHelper$;
    $sessionTimeoutHelper$$3$$ && $sessionTimeoutHelper$$3$$.$__cancelSessionTimeoutTimer$()
  }
  $JSCompiler_StaticMethods__rescheduleOrScheduleTimerIfNeeded$self$$.$_timeoutTimer$ != $JSCompiler_alias_NULL$$ && $page$$226$$.$cancelTimer$($JSCompiler_StaticMethods__rescheduleOrScheduleTimerIfNeeded$self$$.$_timeoutTimer$);
  $JSCompiler_StaticMethods__rescheduleOrScheduleTimerIfNeeded$self$$.$_timeoutTimer$ = $JSCompiler_alias_NULL$$;
  $JSCompiler_StaticMethods__rescheduleOrScheduleTimerIfNeeded$self$$.$_globalTimeoutInterval$ && -1 != $JSCompiler_StaticMethods__rescheduleOrScheduleTimerIfNeeded$self$$.$_globalTimeoutInterval$ && ($JSCompiler_StaticMethods__rescheduleOrScheduleTimerIfNeeded$self$$.$_timeoutTimer$ = $page$$226$$.$scheduleTimer$($JSCompiler_StaticMethods__rescheduleOrScheduleTimerIfNeeded$self$$, $JSCompiler_StaticMethods__rescheduleOrScheduleTimerIfNeeded$self$$.$_forceComponentStop$, $JSCompiler_alias_NULL$$, 
  $JSCompiler_StaticMethods__rescheduleOrScheduleTimerIfNeeded$self$$.$_globalTimeoutInterval$));
  $JSCompiler_StaticMethods__rescheduleOrScheduleTimerIfNeeded$self$$.$_hasTimedOut$ = $JSCompiler_alias_FALSE$$
}
;