var $AdfDhtmlInputNumberSpinboxPeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfDhtmlInputNumberSpinboxBasePeer$$, "AdfDhtmlInputNumberSpinboxPeer");
$goog$exportSymbol$$("AdfDhtmlInputNumberSpinboxPeer", $AdfDhtmlInputNumberSpinboxPeer$$);
$AdfDhtmlInputNumberSpinboxPeer$$.$InitSubclass$ = function $$AdfDhtmlInputNumberSpinboxPeer$$$$InitSubclass$$() {
  $AdfObject$$.$ensureClassInitialization$(AdfRichInputNumberSpinbox);
  $AdfRichUIPeer$$.$addComponentEventHandlers$(this, $AdfUIInputEvent$$.$CLICK_EVENT_TYPE$, $AdfUIInputEvent$$.$BLUR_EVENT_TYPE$, $AdfUIInputEvent$$.$MOUSE_OUT_EVENT_TYPE$, $AdfUIInputEvent$$.$MOUSE_UP_EVENT_TYPE$, $AdfUIInputEvent$$.$MOUSE_DOWN_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_DOWN_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_PRESS_EVENT_TYPE$);
  $AdfRichUIPeer$$.$addComponentPropertyChanges$(this, AdfRichInputNumberSpinbox.DISABLED);
  this.$_timerId$ = this.$_currentSpinMode$ = null;
  this.$_INC$ = "increment";
  this.$_DEC$ = "decrement";
  this.$_INC_ID$ = "_adfInc";
  this.$_DEC_ID$ = "_adfDec";
};
$goog$exportSymbol$$("AdfDhtmlInputNumberSpinboxPeer.InitSubclass", $AdfDhtmlInputNumberSpinboxPeer$$.$InitSubclass$);
$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$GetStepSize$ = function $$AdfDhtmlInputNumberSpinboxPeer$$$$$GetStepSize$$($component$$1387$$) {
  return $component$$1387$$.getStepSize();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputNumberSpinboxPeer.prototype.GetStepSize", {$GetStepSize$:$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$GetStepSize$});
$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$InitDomElement$ = function $$AdfDhtmlInputNumberSpinboxPeer$$$$$InitDomElement$$($component$$1388$$, $domElement$$286$$) {
  $AdfDhtmlInputNumberSpinboxPeer$$.$superclass$.$InitDomElement$.call(this, $component$$1388$$, $domElement$$286$$);
  var $domNode$$42_value$$208$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1388$$, $domElement$$286$$), $clientId$$248_decId$$ = $component$$1388$$.$getClientId$(), $converter$$14_incId_max$$8$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$248_decId$$, $AdfDhtmlInputNumberSpinboxPeer$$.$_INC$), $clientId$$248_decId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$248_decId$$, $AdfDhtmlInputNumberSpinboxPeer$$.$_DEC$);
  $domElement$$286$$.setAttribute($AdfDhtmlInputNumberSpinboxPeer$$.$_INC_ID$, $converter$$14_incId_max$$8$$);
  $domElement$$286$$.setAttribute($AdfDhtmlInputNumberSpinboxPeer$$.$_DEC_ID$, $clientId$$248_decId$$);
  if (!$component$$1388$$.getReadOnly() && !$component$$1388$$.getDisabled() && ($domNode$$42_value$$208$$ = $AdfStrings$$.trim($domNode$$42_value$$208$$.value), "" != $domNode$$42_value$$208$$)) {
    if ($converter$$14_incId_max$$8$$ = $component$$1388$$.getConverter()) {
      try {
        var $convertedValue$$1_min$$10$$ = $converter$$14_incId_max$$8$$.getAsObject($domNode$$42_value$$208$$, null);
        void 0 === $convertedValue$$1_min$$10$$ && ($convertedValue$$1_min$$10$$ = $domNode$$42_value$$208$$);
        $domNode$$42_value$$208$$ = parseFloat($convertedValue$$1_min$$10$$);
      } catch ($e$$133$$) {
      }
    } else {
      $domNode$$42_value$$208$$ = parseFloat($domNode$$42_value$$208$$);
    }
    $convertedValue$$1_min$$10$$ = $JSCompiler_StaticMethods__getMin$$($component$$1388$$);
    $converter$$14_incId_max$$8$$ = $JSCompiler_StaticMethods__getMax$$($component$$1388$$);
    $JSCompiler_StaticMethods__updateButtons$$(this, $domElement$$286$$, $domNode$$42_value$$208$$ >= $converter$$14_incId_max$$8$$, $domNode$$42_value$$208$$ <= $convertedValue$$1_min$$10$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputNumberSpinboxPeer.prototype.InitDomElement", {$InitDomElement$:$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$InitDomElement$});
$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentMouseOut$ = function $$AdfDhtmlInputNumberSpinboxPeer$$$$$HandleComponentMouseOut$$($componentEvent$$271_target$$132$$) {
  this.$getComponent$().getDisabled() || ($componentEvent$$271_target$$132$$ = this.$_getAnchor$($AdfAgent$$.$AGENT$.$getEventTarget$($componentEvent$$271_target$$132$$.$getNativeEvent$())), $JSCompiler_StaticMethods__isActionButton$$(this, $componentEvent$$271_target$$132$$) && self.clearInterval(this.$_timerId$));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputNumberSpinboxPeer.prototype.HandleComponentMouseOut", {$HandleComponentMouseOut$:$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentMouseOut$});
$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentMouseDown$ = function $$AdfDhtmlInputNumberSpinboxPeer$$$$$HandleComponentMouseDown$$($componentEvent$$272_increment$$10_target$$133$$) {
  !this.$getComponent$().getDisabled() && ($componentEvent$$272_increment$$10_target$$133$$ = this.$_getAnchor$($AdfAgent$$.$AGENT$.$getEventTarget$($componentEvent$$272_increment$$10_target$$133$$.$getNativeEvent$())), $componentEvent$$272_increment$$10_target$$133$$ = $JSCompiler_StaticMethods__isActionButton$$(this, $componentEvent$$272_increment$$10_target$$133$$)) && (this.$getDomElement$(), this.$_currentSpinMode$ = $componentEvent$$272_increment$$10_target$$133$$, this.$_timerId$ = self.setInterval(this.$createCallback$(this.$_initRepeat$), 
  1E3));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputNumberSpinboxPeer.prototype.HandleComponentMouseDown", {$HandleComponentMouseDown$:$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentMouseDown$});
$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentClick$ = function $$AdfDhtmlInputNumberSpinboxPeer$$$$$HandleComponentClick$$($componentEvent$$273_contentNode$$56_increment$$11_target$$134$$) {
  var $component$$1389$$ = this.$getComponent$();
  !$component$$1389$$.getDisabled() && ($AdfDhtmlInputNumberSpinboxPeer$$.$superclass$.$HandleComponentClick$.call(this, $componentEvent$$273_contentNode$$56_increment$$11_target$$134$$), $componentEvent$$273_contentNode$$56_increment$$11_target$$134$$ = this.$_getAnchor$($AdfAgent$$.$AGENT$.$getEventTarget$($componentEvent$$273_contentNode$$56_increment$$11_target$$134$$.$getNativeEvent$())), $componentEvent$$273_contentNode$$56_increment$$11_target$$134$$ = $JSCompiler_StaticMethods__isActionButton$$(this, 
  $componentEvent$$273_contentNode$$56_increment$$11_target$$134$$)) && ("inc" == $componentEvent$$273_contentNode$$56_increment$$11_target$$134$$ ? $JSCompiler_StaticMethods__manipulateValue$$(this, !0) : "dec" == $componentEvent$$273_contentNode$$56_increment$$11_target$$134$$ && $JSCompiler_StaticMethods__manipulateValue$$(this, !1), $componentEvent$$273_contentNode$$56_increment$$11_target$$134$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1389$$), this.$RunValidation$($component$$1389$$, 
  $componentEvent$$273_contentNode$$56_increment$$11_target$$134$$));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputNumberSpinboxPeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentClick$});
$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentBlur$ = function $$AdfDhtmlInputNumberSpinboxPeer$$$$$HandleComponentBlur$$($componentEvent$$274_value$$209$$) {
  var $component$$1390_min$$11$$ = this.$getComponent$();
  if (!$component$$1390_min$$11$$.getReadOnly()) {
    if ($AdfDhtmlInputNumberSpinboxPeer$$.$superclass$.$HandleComponentBlur$.call(this, $componentEvent$$274_value$$209$$), $componentEvent$$274_value$$209$$ = $JSCompiler_StaticMethods__getSpinboxValue$$(this, $component$$1390_min$$11$$), isNaN($componentEvent$$274_value$$209$$)) {
      $JSCompiler_StaticMethods__updateButtons$$(this, null, !0, !0);
    } else {
      if (null == $componentEvent$$274_value$$209$$) {
        $JSCompiler_StaticMethods__updateButtons$$(this, null, !1, !1);
      } else {
        var $max$$9$$ = $JSCompiler_StaticMethods__getMax$$($component$$1390_min$$11$$), $component$$1390_min$$11$$ = $JSCompiler_StaticMethods__getMin$$($component$$1390_min$$11$$);
        $JSCompiler_StaticMethods__updateButtons$$(this, null, $componentEvent$$274_value$$209$$ >= $max$$9$$, $componentEvent$$274_value$$209$$ <= $component$$1390_min$$11$$);
      }
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputNumberSpinboxPeer.prototype.HandleComponentBlur", {$HandleComponentBlur$:$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentBlur$});
$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentMouseUp$ = function $$AdfDhtmlInputNumberSpinboxPeer$$$$$HandleComponentMouseUp$$($componentEvent$$275_target$$135$$) {
  this.$getComponent$().getDisabled() || ($componentEvent$$275_target$$135$$ = this.$_getAnchor$($AdfAgent$$.$AGENT$.$getEventTarget$($componentEvent$$275_target$$135$$.$getNativeEvent$())), $JSCompiler_StaticMethods__isActionButton$$(this, $componentEvent$$275_target$$135$$) && self.clearInterval(this.$_timerId$));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputNumberSpinboxPeer.prototype.HandleComponentMouseUp", {$HandleComponentMouseUp$:$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentMouseUp$});
$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentKeyDown$ = function $$AdfDhtmlInputNumberSpinboxPeer$$$$$HandleComponentKeyDown$$($componentEvent$$276$$) {
  this.$StopArrowKeyBubbling$($componentEvent$$276$$);
  var $keyCode$$68$$ = $AdfAgent$$.$AGENT$.$getKeyCode$($componentEvent$$276$$.$getNativeEvent$()), $component$$1391$$ = this.$getComponent$();
  switch($keyCode$$68$$) {
    case $AdfKeyStroke$$.$ENTER_KEY$:
      this.$RunValidation$($component$$1391$$, $componentEvent$$276$$.$getNativeEventTarget$());
      break;
    case $AdfKeyStroke$$.$ARROWUP_KEY$:
      $JSCompiler_StaticMethods__manipulateValue$$(this, !0);
      this.$RunValidation$($component$$1391$$, $componentEvent$$276$$.$getNativeEventTarget$());
      break;
    case $AdfKeyStroke$$.$ARROWDOWN_KEY$:
      $JSCompiler_StaticMethods__manipulateValue$$(this, !1);
      this.$RunValidation$($component$$1391$$, $componentEvent$$276$$.$getNativeEventTarget$());
      break;
    case $AdfKeyStroke$$.$END_KEY$:
      $componentEvent$$276$$.$getNativeEvent$().ctrlKey && null != $component$$1391$$.getMaximum() && $JSCompiler_StaticMethods__setVisibleValue$$(this, $component$$1391$$, $component$$1391$$.getMaximum());
      break;
    case $AdfKeyStroke$$.$HOME_KEY$:
      $componentEvent$$276$$.$getNativeEvent$().ctrlKey && null != $component$$1391$$.getMinimum() && $JSCompiler_StaticMethods__setVisibleValue$$(this, $component$$1391$$, $component$$1391$$.getMinimum());
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputNumberSpinboxPeer.prototype.HandleComponentKeyDown", {$HandleComponentKeyDown$:$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentKeyDown$});
$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentKeyPress$ = function $$AdfDhtmlInputNumberSpinboxPeer$$$$$HandleComponentKeyPress$$($componentEvent$$277$$) {
  this.$StopArrowKeyBubbling$($componentEvent$$277$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputNumberSpinboxPeer.prototype.HandleComponentKeyPress", {$HandleComponentKeyPress$:$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentKeyPress$});
$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$GetInlineEditor$ = function $$AdfDhtmlInputNumberSpinboxPeer$$$$$GetInlineEditor$$() {
  return $AdfDhtmlSimpleLabelEditor$$.$getInlineEditor$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputNumberSpinboxPeer.prototype.GetInlineEditor", {$GetInlineEditor$:$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$GetInlineEditor$});
$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$ComponentDisabledChanged$ = function $$AdfDhtmlInputNumberSpinboxPeer$$$$$ComponentDisabledChanged$$($component$$1392_domNode$$43$$, $domElement$$288$$, $newValue$$93$$) {
  $component$$1392_domNode$$43$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1392_domNode$$43$$, $domElement$$288$$);
  1 == $newValue$$93$$ ? ($AdfDomUtils$$.$addCSSClassName$($domElement$$288$$, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$), $component$$1392_domNode$$43$$.setAttribute("disabled", "true"), $JSCompiler_StaticMethods__updateButtons$$(this, null, !0, !0)) : ($AdfDomUtils$$.$removeCSSClassName$($domElement$$288$$, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$), $JSCompiler_StaticMethods__updateButtons$$(this, null, !1, !1), $component$$1392_domNode$$43$$.removeAttribute("disabled"));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputNumberSpinboxPeer.prototype.ComponentDisabledChanged", {$ComponentDisabledChanged$:$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$ComponentDisabledChanged$});
$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$_initRepeat$ = function $$AdfDhtmlInputNumberSpinboxPeer$$$$$_initRepeat$$() {
  this.focus(this.$getComponent$());
  self.clearInterval(this.$_timerId$);
  this.$_timerId$ = self.setInterval(this.$createCallback$(this.$_repeatSpinbox$), 100);
};
$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$_repeatSpinbox$ = function $$AdfDhtmlInputNumberSpinboxPeer$$$$$_repeatSpinbox$$() {
  "inc" == this.$_currentSpinMode$ ? $JSCompiler_StaticMethods__manipulateValue$$(this, !0) : "dec" == this.$_currentSpinMode$ && $JSCompiler_StaticMethods__manipulateValue$$(this, !1);
};
function $JSCompiler_StaticMethods__isActionButton$$($JSCompiler_StaticMethods__isActionButton$self$$, $element$$241$$) {
  if ($element$$241$$) {
    var $decId$$1_domElement$$289$$ = $JSCompiler_StaticMethods__isActionButton$self$$.$getDomElement$(), $incId$$1$$ = $decId$$1_domElement$$289$$.getAttribute($AdfDhtmlInputNumberSpinboxPeer$$.$_INC_ID$), $decId$$1_domElement$$289$$ = $decId$$1_domElement$$289$$.getAttribute($AdfDhtmlInputNumberSpinboxPeer$$.$_DEC_ID$);
    return $element$$241$$.id == $incId$$1$$ ? "inc" : $element$$241$$.id == $decId$$1_domElement$$289$$ ? "dec" : null;
  }
  return null;
}
function $JSCompiler_StaticMethods__manipulateValue$$($JSCompiler_StaticMethods__manipulateValue$self$$, $incrementor$$) {
  $AdfAssert$$.$assertBoolean$($incrementor$$);
  var $component$$1394$$ = $JSCompiler_StaticMethods__manipulateValue$self$$.$getComponent$(), $converter$$inline_2111_spinboxValue$$ = $JSCompiler_StaticMethods__getSpinboxValue$$($JSCompiler_StaticMethods__manipulateValue$self$$, $component$$1394$$);
  if (!isNaN($converter$$inline_2111_spinboxValue$$)) {
    $AdfAssert$$.$assertBoolean$($incrementor$$);
    var $min$$inline_2105$$ = $JSCompiler_StaticMethods__getMin$$($component$$1394$$), $max$$inline_2106$$ = $JSCompiler_StaticMethods__getMax$$($component$$1394$$), $stepSize$$inline_2107$$ = $JSCompiler_StaticMethods__manipulateValue$self$$.$GetStepSize$($component$$1394$$), $valMax$$inline_2108$$ = $max$$inline_2106$$ - $stepSize$$inline_2107$$, $valMin$$inline_2109$$ = $min$$inline_2105$$ + $stepSize$$inline_2107$$, $newValue$$inline_2110$$ = null;
    1 == $incrementor$$ ? null == $converter$$inline_2111_spinboxValue$$ ? $newValue$$inline_2110$$ = null != $component$$1394$$.getMinimum() ? null != $component$$1394$$.getMaximum() ? $max$$inline_2106$$ : $valMin$$inline_2109$$ : null != $component$$1394$$.getMaximum() ? $max$$inline_2106$$ : 0 : $converter$$inline_2111_spinboxValue$$ > $valMax$$inline_2108$$ ? $newValue$$inline_2110$$ = $max$$inline_2106$$ : ($newValue$$inline_2110$$ = $converter$$inline_2111_spinboxValue$$ + $stepSize$$inline_2107$$, 
    $newValue$$inline_2110$$ < $min$$inline_2105$$ && ($newValue$$inline_2110$$ = $min$$inline_2105$$)) : null == $converter$$inline_2111_spinboxValue$$ ? $newValue$$inline_2110$$ = null != $component$$1394$$.getMinimum() ? $min$$inline_2105$$ : null != $component$$1394$$.getMaximum() ? $valMax$$inline_2108$$ : 0 : $converter$$inline_2111_spinboxValue$$ < $valMin$$inline_2109$$ ? $newValue$$inline_2110$$ = $min$$inline_2105$$ : ($newValue$$inline_2110$$ = $converter$$inline_2111_spinboxValue$$ - 
    $stepSize$$inline_2107$$, $newValue$$inline_2110$$ > $max$$inline_2106$$ && ($newValue$$inline_2110$$ = $max$$inline_2106$$));
    $converter$$inline_2111_spinboxValue$$ = $component$$1394$$.getConverter();
    $converter$$inline_2111_spinboxValue$$ instanceof $AdfMissingConverter$$ && ($converter$$inline_2111_spinboxValue$$ = null);
    if ($converter$$inline_2111_spinboxValue$$ && null != $newValue$$inline_2110$$) {
      try {
        var $convertedValue$$inline_2112$$ = $converter$$inline_2111_spinboxValue$$.getAsObject($converter$$inline_2111_spinboxValue$$.getAsString($newValue$$inline_2110$$, null), null);
        null != $convertedValue$$inline_2112$$ && ($newValue$$inline_2110$$ = $convertedValue$$inline_2112$$);
      } catch ($e$$inline_2113$$) {
      }
    }
    $JSCompiler_StaticMethods__setVisibleValue$$($JSCompiler_StaticMethods__manipulateValue$self$$, $component$$1394$$, $newValue$$inline_2110$$);
  }
}
function $JSCompiler_StaticMethods__getSpinboxValue$$($JSCompiler_StaticMethods__getSpinboxValue$self$$, $component$$1395$$) {
  var $visibleValue$$ = $AdfUIUtils$$.trim($AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1395$$).value);
  if ("" == $visibleValue$$) {
    return null;
  }
  var $convertedValue$$3$$, $converter$$16$$ = $component$$1395$$.getConverter();
  try {
    $converter$$16$$ && ($convertedValue$$3$$ = $converter$$16$$.getAsObject($visibleValue$$, null)), void 0 === $convertedValue$$3$$ && ($convertedValue$$3$$ = parseFloat($visibleValue$$), isNaN($convertedValue$$3$$) && $AdfLogger$$.$LOGGER$.warning("inputNumberSpinbox: The value '", $visibleValue$$, "' could not be converted to a number.")), $visibleValue$$ = $convertedValue$$3$$;
  } catch ($e$$135$$) {
    $JSCompiler_StaticMethods__getSpinboxValue$self$$.$Validate$($component$$1395$$, $visibleValue$$), $visibleValue$$ = NaN;
  }
  return $visibleValue$$;
}
function $JSCompiler_StaticMethods__setVisibleValue$$($JSCompiler_StaticMethods__setVisibleValue$self$$, $component$$1396$$, $newValue$$96$$) {
  var $converter$$17_max$$11$$ = $component$$1396$$.getConverter();
  $converter$$17_max$$11$$ instanceof $AdfMissingConverter$$ && ($converter$$17_max$$11$$ = null);
  var $convertedValue$$4_domElement$$290$$;
  if ($converter$$17_max$$11$$ && null != $newValue$$96$$ && ($convertedValue$$4_domElement$$290$$ = $converter$$17_max$$11$$.getAsString($newValue$$96$$, null), null == $convertedValue$$4_domElement$$290$$)) {
    $AdfLogger$$.$LOGGER$.warning("inputNumberSpinbox: The new value '", $newValue$$96$$, "' could not be converted for display.");
    return;
  }
  var $converter$$17_max$$11$$ = $JSCompiler_StaticMethods__getMax$$($component$$1396$$), $min$$13$$ = $JSCompiler_StaticMethods__getMin$$($component$$1396$$);
  $JSCompiler_StaticMethods__updateButtons$$($JSCompiler_StaticMethods__setVisibleValue$self$$, null, $newValue$$96$$ >= $converter$$17_max$$11$$, $newValue$$96$$ <= $min$$13$$);
  null != $convertedValue$$4_domElement$$290$$ && ($newValue$$96$$ = $convertedValue$$4_domElement$$290$$);
  null == $newValue$$96$$ && ($newValue$$96$$ = "");
  $convertedValue$$4_domElement$$290$$ = $JSCompiler_StaticMethods__setVisibleValue$self$$.$getDomElement$();
  $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1396$$, $convertedValue$$4_domElement$$290$$).setAttribute("aria-valuenow", $newValue$$96$$.toString());
  $JSCompiler_StaticMethods__setVisibleValue$self$$.$SetDisplayValue$($component$$1396$$, $convertedValue$$4_domElement$$290$$, $newValue$$96$$.toString());
}
function $JSCompiler_StaticMethods__getMin$$($component$$1397_min$$14$$) {
  $component$$1397_min$$14$$ = $component$$1397_min$$14$$.getMinimum();
  null == $component$$1397_min$$14$$ && ($component$$1397_min$$14$$ = -Number.MAX_VALUE);
  return $component$$1397_min$$14$$;
}
function $JSCompiler_StaticMethods__getMax$$($component$$1398_max$$12$$) {
  $component$$1398_max$$12$$ = $component$$1398_max$$12$$.getMaximum();
  null == $component$$1398_max$$12$$ && ($component$$1398_max$$12$$ = Number.MAX_VALUE);
  return $component$$1398_max$$12$$;
}
$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$_getAnchor$ = function $$AdfDhtmlInputNumberSpinboxPeer$$$$$_getAnchor$$($node$$81$$) {
  var $agent$$351$$ = $AdfAgent$$.$AGENT$;
  for ("DIV" == $agent$$351$$.$getNodeName$($node$$81$$) && $node$$81$$.children[0] && ($node$$81$$ = $node$$81$$.children[0]);$node$$81$$;) {
    if ("INPUT" == $agent$$351$$.$getNodeName$($node$$81$$) || "LABEL" == $agent$$351$$.$getNodeName$($node$$81$$)) {
      return null;
    }
    if ("A" == $agent$$351$$.$getNodeName$($node$$81$$)) {
      return $node$$81$$;
    }
    $node$$81$$ = $node$$81$$.parentNode;
  }
};
function $JSCompiler_StaticMethods__updateButtons$$($JSCompiler_StaticMethods__updateButtons$self_incElement$$, $domElement$$291_domNode$$45$$, $atMax$$, $atMin$$) {
  $AdfAssert$$.$assertDomElementOrNull$($domElement$$291_domNode$$45$$);
  $AdfAssert$$.$assertBoolean$($atMax$$);
  $AdfAssert$$.$assertBoolean$($atMin$$);
  var $agent$$352_decElement$$ = $AdfAgent$$.$AGENT$;
  $domElement$$291_domNode$$45$$ = $domElement$$291_domNode$$45$$ ? $domElement$$291_domNode$$45$$ : $JSCompiler_StaticMethods__updateButtons$self_incElement$$.$getDomElement$();
  $JSCompiler_StaticMethods__updateButtons$self_incElement$$ = $agent$$352_decElement$$.getElementById($domElement$$291_domNode$$45$$.getAttribute($AdfDhtmlInputNumberSpinboxPeer$$.$_INC_ID$));
  $agent$$352_decElement$$ = $agent$$352_decElement$$.getElementById($domElement$$291_domNode$$45$$.getAttribute($AdfDhtmlInputNumberSpinboxPeer$$.$_DEC_ID$));
  $AdfDomUtils$$.$addOrRemoveCSSClassName$($atMin$$, $agent$$352_decElement$$, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$);
  $AdfDomUtils$$.$addOrRemoveCSSClassName$($atMax$$, $JSCompiler_StaticMethods__updateButtons$self_incElement$$, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$);
  $AdfDomUtils$$.$addOrRemoveCSSClassName$($atMin$$, $agent$$352_decElement$$.parentNode, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$);
  $AdfDomUtils$$.$addOrRemoveCSSClassName$($atMax$$, $JSCompiler_StaticMethods__updateButtons$self_incElement$$.parentNode, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$);
}
;