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$ = $JSCompiler_alias_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$$989$$) {
  return $component$$989$$.getStepSize()
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputNumberSpinboxPeer.prototype.GetStepSize", {$GetStepSize$:$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$GetStepSize$});
$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$InitDomElement$ = function $$AdfDhtmlInputNumberSpinboxPeer$$$$$InitDomElement$$($component$$990$$, $domElement$$263$$) {
  $AdfDhtmlInputNumberSpinboxPeer$$.$superclass$.$InitDomElement$.call(this, $component$$990$$, $domElement$$263$$);
  var $domNode$$36_value$$141$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$990$$, $domElement$$263$$), $clientId$$199_decId$$ = $component$$990$$.$getClientId$(), $converter$$10_incId_max$$7$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$199_decId$$, $AdfDhtmlInputNumberSpinboxPeer$$.$_INC$), $clientId$$199_decId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$199_decId$$, $AdfDhtmlInputNumberSpinboxPeer$$.$_DEC$);
  $domElement$$263$$.setAttribute($AdfDhtmlInputNumberSpinboxPeer$$.$_INC_ID$, $converter$$10_incId_max$$7$$);
  $domElement$$263$$.setAttribute($AdfDhtmlInputNumberSpinboxPeer$$.$_DEC_ID$, $clientId$$199_decId$$);
  if(!$component$$990$$.getReadOnly() && !$component$$990$$.getDisabled() && ($domNode$$36_value$$141$$ = $AdfStrings$$.trim($domNode$$36_value$$141$$.value), "" != $domNode$$36_value$$141$$)) {
    if($converter$$10_incId_max$$7$$ = $component$$990$$.getConverter()) {
      try {
        var $convertedValue$$1_min$$11$$ = $converter$$10_incId_max$$7$$.getAsObject($domNode$$36_value$$141$$, $JSCompiler_alias_NULL$$);
        $convertedValue$$1_min$$11$$ === $JSCompiler_alias_VOID$$ && ($convertedValue$$1_min$$11$$ = $domNode$$36_value$$141$$);
        $domNode$$36_value$$141$$ = parseFloat($convertedValue$$1_min$$11$$)
      }catch($e$$128$$) {
      }
    }else {
      $domNode$$36_value$$141$$ = parseFloat($domNode$$36_value$$141$$)
    }
    $convertedValue$$1_min$$11$$ = $JSCompiler_StaticMethods__getMin$$($component$$990$$);
    $converter$$10_incId_max$$7$$ = $JSCompiler_StaticMethods__getMax$$($component$$990$$);
    $JSCompiler_StaticMethods__updateButtons$$(this, $domElement$$263$$, $domNode$$36_value$$141$$ >= $converter$$10_incId_max$$7$$, $domNode$$36_value$$141$$ <= $convertedValue$$1_min$$11$$)
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputNumberSpinboxPeer.prototype.InitDomElement", {$InitDomElement$:$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$InitDomElement$});
$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentMouseOut$ = function $$AdfDhtmlInputNumberSpinboxPeer$$$$$HandleComponentMouseOut$$($componentEvent$$203_target$$116$$) {
  this.$getComponent$().getDisabled() || ($componentEvent$$203_target$$116$$ = this.$_getAnchor$($AdfAgent$$.$AGENT$.$getEventTarget$($componentEvent$$203_target$$116$$.$getNativeEvent$())), $JSCompiler_StaticMethods__isActionButton$$(this, $componentEvent$$203_target$$116$$) && self.clearInterval(this.$_timerId$))
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputNumberSpinboxPeer.prototype.HandleComponentMouseOut", {$HandleComponentMouseOut$:$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentMouseOut$});
$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentMouseDown$ = function $$AdfDhtmlInputNumberSpinboxPeer$$$$$HandleComponentMouseDown$$($componentEvent$$204_increment$$7_target$$117$$) {
  if(!this.$getComponent$().getDisabled() && ($componentEvent$$204_increment$$7_target$$117$$ = this.$_getAnchor$($AdfAgent$$.$AGENT$.$getEventTarget$($componentEvent$$204_increment$$7_target$$117$$.$getNativeEvent$())), $componentEvent$$204_increment$$7_target$$117$$ = $JSCompiler_StaticMethods__isActionButton$$(this, $componentEvent$$204_increment$$7_target$$117$$))) {
    this.$getDomElement$(), this.$_currentSpinMode$ = $componentEvent$$204_increment$$7_target$$117$$, 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$$205_contentNode$$40_increment$$8_target$$118$$) {
  var $component$$991$$ = this.$getComponent$();
  if(!$component$$991$$.getDisabled() && ($AdfDhtmlInputNumberSpinboxPeer$$.$superclass$.$HandleComponentClick$.call(this, $componentEvent$$205_contentNode$$40_increment$$8_target$$118$$), $componentEvent$$205_contentNode$$40_increment$$8_target$$118$$ = this.$_getAnchor$($AdfAgent$$.$AGENT$.$getEventTarget$($componentEvent$$205_contentNode$$40_increment$$8_target$$118$$.$getNativeEvent$())), $componentEvent$$205_contentNode$$40_increment$$8_target$$118$$ = $JSCompiler_StaticMethods__isActionButton$$(this, 
  $componentEvent$$205_contentNode$$40_increment$$8_target$$118$$))) {
    "inc" == $componentEvent$$205_contentNode$$40_increment$$8_target$$118$$ ? $JSCompiler_StaticMethods__manipulateValue$$(this, $JSCompiler_alias_TRUE$$) : "dec" == $componentEvent$$205_contentNode$$40_increment$$8_target$$118$$ && $JSCompiler_StaticMethods__manipulateValue$$(this, $JSCompiler_alias_FALSE$$), $componentEvent$$205_contentNode$$40_increment$$8_target$$118$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$991$$), this.$RunValidation$($component$$991$$, $componentEvent$$205_contentNode$$40_increment$$8_target$$118$$)
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputNumberSpinboxPeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentClick$});
$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentBlur$ = function $$AdfDhtmlInputNumberSpinboxPeer$$$$$HandleComponentBlur$$($componentEvent$$206_value$$142$$) {
  var $component$$992_min$$12$$ = this.$getComponent$();
  if(!$component$$992_min$$12$$.getReadOnly()) {
    if($AdfDhtmlInputNumberSpinboxPeer$$.$superclass$.$HandleComponentBlur$.call(this, $componentEvent$$206_value$$142$$), $componentEvent$$206_value$$142$$ = $JSCompiler_StaticMethods__getSpinboxValue$$(this, $component$$992_min$$12$$), isNaN($componentEvent$$206_value$$142$$)) {
      $JSCompiler_StaticMethods__updateButtons$$(this, $JSCompiler_alias_NULL$$, $JSCompiler_alias_TRUE$$, $JSCompiler_alias_TRUE$$)
    }else {
      if($componentEvent$$206_value$$142$$ == $JSCompiler_alias_NULL$$) {
        $JSCompiler_StaticMethods__updateButtons$$(this, $JSCompiler_alias_NULL$$, $JSCompiler_alias_FALSE$$, $JSCompiler_alias_FALSE$$)
      }else {
        var $max$$8$$ = $JSCompiler_StaticMethods__getMax$$($component$$992_min$$12$$), $component$$992_min$$12$$ = $JSCompiler_StaticMethods__getMin$$($component$$992_min$$12$$);
        $JSCompiler_StaticMethods__updateButtons$$(this, $JSCompiler_alias_NULL$$, $componentEvent$$206_value$$142$$ >= $max$$8$$, $componentEvent$$206_value$$142$$ <= $component$$992_min$$12$$)
      }
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputNumberSpinboxPeer.prototype.HandleComponentBlur", {$HandleComponentBlur$:$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentBlur$});
$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentMouseUp$ = function $$AdfDhtmlInputNumberSpinboxPeer$$$$$HandleComponentMouseUp$$($componentEvent$$207_target$$119$$) {
  this.$getComponent$().getDisabled() || ($componentEvent$$207_target$$119$$ = this.$_getAnchor$($AdfAgent$$.$AGENT$.$getEventTarget$($componentEvent$$207_target$$119$$.$getNativeEvent$())), $JSCompiler_StaticMethods__isActionButton$$(this, $componentEvent$$207_target$$119$$) && self.clearInterval(this.$_timerId$))
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputNumberSpinboxPeer.prototype.HandleComponentMouseUp", {$HandleComponentMouseUp$:$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentMouseUp$});
$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentKeyDown$ = function $$AdfDhtmlInputNumberSpinboxPeer$$$$$HandleComponentKeyDown$$($componentEvent$$208$$) {
  this.$StopArrowKeyBubbling$($componentEvent$$208$$);
  var $keyCode$$53$$ = $AdfAgent$$.$AGENT$.$getKeyCode$($componentEvent$$208$$.$getNativeEvent$()), $component$$993$$ = this.$getComponent$();
  switch($keyCode$$53$$) {
    case $AdfKeyStroke$$.$ENTER_KEY$:
      this.$RunValidation$($component$$993$$, $componentEvent$$208$$.$getNativeEventTarget$());
      break;
    case $AdfKeyStroke$$.$ARROWUP_KEY$:
      $JSCompiler_StaticMethods__manipulateValue$$(this, $JSCompiler_alias_TRUE$$);
      this.$RunValidation$($component$$993$$, $componentEvent$$208$$.$getNativeEventTarget$());
      break;
    case $AdfKeyStroke$$.$ARROWDOWN_KEY$:
      $JSCompiler_StaticMethods__manipulateValue$$(this, $JSCompiler_alias_FALSE$$);
      this.$RunValidation$($component$$993$$, $componentEvent$$208$$.$getNativeEventTarget$());
      break;
    case $AdfKeyStroke$$.$END_KEY$:
      $componentEvent$$208$$.$getNativeEvent$().ctrlKey && $component$$993$$.getMaximum() != $JSCompiler_alias_NULL$$ && $JSCompiler_StaticMethods__setVisibleValue$$(this, $component$$993$$, $component$$993$$.getMaximum());
      break;
    case $AdfKeyStroke$$.$HOME_KEY$:
      $componentEvent$$208$$.$getNativeEvent$().ctrlKey && $component$$993$$.getMinimum() != $JSCompiler_alias_NULL$$ && $JSCompiler_StaticMethods__setVisibleValue$$(this, $component$$993$$, $component$$993$$.getMinimum())
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputNumberSpinboxPeer.prototype.HandleComponentKeyDown", {$HandleComponentKeyDown$:$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentKeyDown$});
$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentKeyPress$ = function $$AdfDhtmlInputNumberSpinboxPeer$$$$$HandleComponentKeyPress$$($componentEvent$$209$$) {
  this.$StopArrowKeyBubbling$($componentEvent$$209$$)
};
$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$$994_domNode$$37$$, $domElement$$265$$, $newValue$$83$$) {
  $component$$994_domNode$$37$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$994_domNode$$37$$, $domElement$$265$$);
  $newValue$$83$$ == $JSCompiler_alias_TRUE$$ ? ($AdfDomUtils$$.$addCSSClassName$($domElement$$265$$, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$), $component$$994_domNode$$37$$.setAttribute("disabled", "true"), $JSCompiler_StaticMethods__updateButtons$$(this, $JSCompiler_alias_NULL$$, $JSCompiler_alias_TRUE$$, $JSCompiler_alias_TRUE$$)) : ($AdfDomUtils$$.$removeCSSClassName$($domElement$$265$$, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$), $JSCompiler_StaticMethods__updateButtons$$(this, $JSCompiler_alias_NULL$$, 
  $JSCompiler_alias_FALSE$$, $JSCompiler_alias_FALSE$$), $component$$994_domNode$$37$$.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, $JSCompiler_alias_TRUE$$) : "dec" == this.$_currentSpinMode$ && $JSCompiler_StaticMethods__manipulateValue$$(this, $JSCompiler_alias_FALSE$$)
};
function $JSCompiler_StaticMethods__isActionButton$$($JSCompiler_StaticMethods__isActionButton$self$$, $element$$222$$) {
  if($element$$222$$) {
    var $decId$$1_domElement$$266$$ = $JSCompiler_StaticMethods__isActionButton$self$$.$getDomElement$(), $incId$$1$$ = $decId$$1_domElement$$266$$.getAttribute($AdfDhtmlInputNumberSpinboxPeer$$.$_INC_ID$), $decId$$1_domElement$$266$$ = $decId$$1_domElement$$266$$.getAttribute($AdfDhtmlInputNumberSpinboxPeer$$.$_DEC_ID$);
    return $element$$222$$.id == $incId$$1$$ ? "inc" : $element$$222$$.id == $decId$$1_domElement$$266$$ ? "dec" : $JSCompiler_alias_NULL$$
  }
  return $JSCompiler_alias_NULL$$
}
function $JSCompiler_StaticMethods__manipulateValue$$($JSCompiler_StaticMethods__manipulateValue$self$$, $incrementor$$) {
  $AdfAssert$$.$assertBoolean$($incrementor$$);
  var $component$$996$$ = $JSCompiler_StaticMethods__manipulateValue$self$$.$getComponent$(), $converter$$inline_1845_spinboxValue$$ = $JSCompiler_StaticMethods__getSpinboxValue$$($JSCompiler_StaticMethods__manipulateValue$self$$, $component$$996$$);
  if(!isNaN($converter$$inline_1845_spinboxValue$$)) {
    $AdfAssert$$.$assertBoolean$($incrementor$$);
    var $min$$inline_1839$$ = $JSCompiler_StaticMethods__getMin$$($component$$996$$), $max$$inline_1840$$ = $JSCompiler_StaticMethods__getMax$$($component$$996$$), $stepSize$$inline_1841$$ = $JSCompiler_StaticMethods__manipulateValue$self$$.$GetStepSize$($component$$996$$), $valMax$$inline_1842$$ = $max$$inline_1840$$ - $stepSize$$inline_1841$$, $valMin$$inline_1843$$ = $min$$inline_1839$$ + $stepSize$$inline_1841$$, $newValue$$inline_1844$$ = $JSCompiler_alias_NULL$$;
    $incrementor$$ == $JSCompiler_alias_TRUE$$ ? $converter$$inline_1845_spinboxValue$$ == $JSCompiler_alias_NULL$$ ? $newValue$$inline_1844$$ = $component$$996$$.getMinimum() != $JSCompiler_alias_NULL$$ ? $component$$996$$.getMaximum() != $JSCompiler_alias_NULL$$ ? $max$$inline_1840$$ : $valMin$$inline_1843$$ : $component$$996$$.getMaximum() != $JSCompiler_alias_NULL$$ ? $max$$inline_1840$$ : 0 : $converter$$inline_1845_spinboxValue$$ > $valMax$$inline_1842$$ ? $newValue$$inline_1844$$ = $max$$inline_1840$$ : 
    ($newValue$$inline_1844$$ = $converter$$inline_1845_spinboxValue$$ + $stepSize$$inline_1841$$, $newValue$$inline_1844$$ < $min$$inline_1839$$ && ($newValue$$inline_1844$$ = $min$$inline_1839$$)) : $converter$$inline_1845_spinboxValue$$ == $JSCompiler_alias_NULL$$ ? $newValue$$inline_1844$$ = $component$$996$$.getMinimum() != $JSCompiler_alias_NULL$$ ? $min$$inline_1839$$ : $component$$996$$.getMaximum() != $JSCompiler_alias_NULL$$ ? $valMax$$inline_1842$$ : 0 : $converter$$inline_1845_spinboxValue$$ < 
    $valMin$$inline_1843$$ ? $newValue$$inline_1844$$ = $min$$inline_1839$$ : ($newValue$$inline_1844$$ = $converter$$inline_1845_spinboxValue$$ - $stepSize$$inline_1841$$, $newValue$$inline_1844$$ > $max$$inline_1840$$ && ($newValue$$inline_1844$$ = $max$$inline_1840$$));
    $converter$$inline_1845_spinboxValue$$ = $component$$996$$.getConverter();
    $converter$$inline_1845_spinboxValue$$ instanceof $AdfMissingConverter$$ && ($converter$$inline_1845_spinboxValue$$ = $JSCompiler_alias_NULL$$);
    if($converter$$inline_1845_spinboxValue$$ && $newValue$$inline_1844$$ != $JSCompiler_alias_NULL$$) {
      try {
        var $convertedValue$$inline_1846$$ = $converter$$inline_1845_spinboxValue$$.getAsObject($converter$$inline_1845_spinboxValue$$.getAsString($newValue$$inline_1844$$, $JSCompiler_alias_NULL$$), $JSCompiler_alias_NULL$$);
        $convertedValue$$inline_1846$$ != $JSCompiler_alias_NULL$$ && ($newValue$$inline_1844$$ = $convertedValue$$inline_1846$$)
      }catch($e$$inline_1847$$) {
      }
    }
    $JSCompiler_StaticMethods__setVisibleValue$$($JSCompiler_StaticMethods__manipulateValue$self$$, $component$$996$$, $newValue$$inline_1844$$)
  }
}
function $JSCompiler_StaticMethods__getSpinboxValue$$($JSCompiler_StaticMethods__getSpinboxValue$self$$, $component$$997$$) {
  var $visibleValue$$ = $AdfUIUtils$$.trim($AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$997$$).value);
  if("" == $visibleValue$$) {
    return $JSCompiler_alias_NULL$$
  }
  var $convertedValue$$3$$, $converter$$12$$ = $component$$997$$.getConverter();
  try {
    $converter$$12$$ && ($convertedValue$$3$$ = $converter$$12$$.getAsObject($visibleValue$$, $JSCompiler_alias_NULL$$)), $convertedValue$$3$$ === $JSCompiler_alias_VOID$$ && ($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$$130$$) {
    $JSCompiler_StaticMethods__getSpinboxValue$self$$.$Validate$($component$$997$$, $visibleValue$$), $visibleValue$$ = NaN
  }
  return $visibleValue$$
}
function $JSCompiler_StaticMethods__setVisibleValue$$($JSCompiler_StaticMethods__setVisibleValue$self$$, $component$$998$$, $newValue$$86$$) {
  var $converter$$13_max$$10$$ = $component$$998$$.getConverter();
  $converter$$13_max$$10$$ instanceof $AdfMissingConverter$$ && ($converter$$13_max$$10$$ = $JSCompiler_alias_NULL$$);
  var $convertedValue$$4_domElement$$267$$;
  if($converter$$13_max$$10$$ && $newValue$$86$$ != $JSCompiler_alias_NULL$$ && ($convertedValue$$4_domElement$$267$$ = $converter$$13_max$$10$$.getAsString($newValue$$86$$, $JSCompiler_alias_NULL$$), $convertedValue$$4_domElement$$267$$ == $JSCompiler_alias_NULL$$)) {
    $AdfLogger$$.$LOGGER$.warning("inputNumberSpinbox: The new value '", $newValue$$86$$, "' could not be converted for display.");
    return
  }
  var $converter$$13_max$$10$$ = $JSCompiler_StaticMethods__getMax$$($component$$998$$), $min$$14$$ = $JSCompiler_StaticMethods__getMin$$($component$$998$$);
  $JSCompiler_StaticMethods__updateButtons$$($JSCompiler_StaticMethods__setVisibleValue$self$$, $JSCompiler_alias_NULL$$, $newValue$$86$$ >= $converter$$13_max$$10$$, $newValue$$86$$ <= $min$$14$$);
  $convertedValue$$4_domElement$$267$$ != $JSCompiler_alias_NULL$$ && ($newValue$$86$$ = $convertedValue$$4_domElement$$267$$);
  $newValue$$86$$ == $JSCompiler_alias_NULL$$ && ($newValue$$86$$ = "");
  $convertedValue$$4_domElement$$267$$ = $JSCompiler_StaticMethods__setVisibleValue$self$$.$getDomElement$();
  $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$998$$, $convertedValue$$4_domElement$$267$$).setAttribute("aria-valuenow", $newValue$$86$$.toString());
  $JSCompiler_StaticMethods__setVisibleValue$self$$.$SetDisplayValue$($component$$998$$, $convertedValue$$4_domElement$$267$$, $newValue$$86$$.toString())
}
function $JSCompiler_StaticMethods__getMin$$($component$$999_min$$15$$) {
  $component$$999_min$$15$$ = $component$$999_min$$15$$.getMinimum();
  $component$$999_min$$15$$ == $JSCompiler_alias_NULL$$ && ($component$$999_min$$15$$ = -Number.MAX_VALUE);
  return $component$$999_min$$15$$
}
function $JSCompiler_StaticMethods__getMax$$($component$$1000_max$$11$$) {
  $component$$1000_max$$11$$ = $component$$1000_max$$11$$.getMaximum();
  $component$$1000_max$$11$$ == $JSCompiler_alias_NULL$$ && ($component$$1000_max$$11$$ = Number.MAX_VALUE);
  return $component$$1000_max$$11$$
}
$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$_getAnchor$ = function $$AdfDhtmlInputNumberSpinboxPeer$$$$$_getAnchor$$($node$$77$$) {
  var $agent$$281$$ = $AdfAgent$$.$AGENT$;
  for("DIV" == $agent$$281$$.$getNodeName$($node$$77$$) && $node$$77$$.children[0] && ($node$$77$$ = $node$$77$$.children[0]);$node$$77$$;) {
    if("INPUT" == $agent$$281$$.$getNodeName$($node$$77$$) || "LABEL" == $agent$$281$$.$getNodeName$($node$$77$$)) {
      return $JSCompiler_alias_NULL$$
    }
    if("A" == $agent$$281$$.$getNodeName$($node$$77$$)) {
      return $node$$77$$
    }
    $node$$77$$ = $node$$77$$.parentNode
  }
};
function $JSCompiler_StaticMethods__updateButtons$$($JSCompiler_StaticMethods__updateButtons$self_incElement$$, $domElement$$268_domNode$$39$$, $atMax$$, $atMin$$) {
  $AdfAssert$$.$assertDomElementOrNull$($domElement$$268_domNode$$39$$);
  $AdfAssert$$.$assertBoolean$($atMax$$);
  $AdfAssert$$.$assertBoolean$($atMin$$);
  var $agent$$282_decElement$$ = $AdfAgent$$.$AGENT$;
  $domElement$$268_domNode$$39$$ = $domElement$$268_domNode$$39$$ ? $domElement$$268_domNode$$39$$ : $JSCompiler_StaticMethods__updateButtons$self_incElement$$.$getDomElement$();
  $JSCompiler_StaticMethods__updateButtons$self_incElement$$ = $agent$$282_decElement$$.getElementById($domElement$$268_domNode$$39$$.getAttribute($AdfDhtmlInputNumberSpinboxPeer$$.$_INC_ID$));
  $agent$$282_decElement$$ = $agent$$282_decElement$$.getElementById($domElement$$268_domNode$$39$$.getAttribute($AdfDhtmlInputNumberSpinboxPeer$$.$_DEC_ID$));
  $AdfDomUtils$$.$addOrRemoveCSSClassName$($atMin$$, $agent$$282_decElement$$, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$);
  $AdfDomUtils$$.$addOrRemoveCSSClassName$($atMax$$, $JSCompiler_StaticMethods__updateButtons$self_incElement$$, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$);
  $AdfDomUtils$$.$addOrRemoveCSSClassName$($atMin$$, $agent$$282_decElement$$.parentNode, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$);
  $AdfDomUtils$$.$addOrRemoveCSSClassName$($atMax$$, $JSCompiler_StaticMethods__updateButtons$self_incElement$$.parentNode, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$)
}
;