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$$1388$$) {
  return $component$$1388$$.getStepSize();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputNumberSpinboxPeer.prototype.GetStepSize", {$GetStepSize$:$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$GetStepSize$});
$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$InitDomElement$ = function $$AdfDhtmlInputNumberSpinboxPeer$$$$$InitDomElement$$($component$$1389$$, $domElement$$286$$) {
  $AdfDhtmlInputNumberSpinboxPeer$$.$superclass$.$InitDomElement$.call(this, $component$$1389$$, $domElement$$286$$);
  var $domNode$$44_value$$208$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1389$$, $domElement$$286$$), $clientId$$248_decId$$ = $component$$1389$$.$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$$1389$$.getReadOnly() && !$component$$1389$$.getDisabled() && ($domNode$$44_value$$208$$ = $AdfStrings$$.trim($domNode$$44_value$$208$$.value), "" != $domNode$$44_value$$208$$)) {
    if ($converter$$14_incId_max$$8$$ = $component$$1389$$.getConverter()) {
      try {
        var $convertedValue$$1_min$$10$$ = $converter$$14_incId_max$$8$$.getAsObject($domNode$$44_value$$208$$, null);
        void 0 === $convertedValue$$1_min$$10$$ && ($convertedValue$$1_min$$10$$ = $domNode$$44_value$$208$$);
        $domNode$$44_value$$208$$ = parseFloat($convertedValue$$1_min$$10$$);
      } catch ($e$$133$$) {
      }
    } else {
      $domNode$$44_value$$208$$ = parseFloat($domNode$$44_value$$208$$);
    }
    $convertedValue$$1_min$$10$$ = $JSCompiler_StaticMethods__getMin$$($component$$1389$$);
    $converter$$14_incId_max$$8$$ = $JSCompiler_StaticMethods__getMax$$($component$$1389$$);
    $JSCompiler_StaticMethods__updateButtons$$(this, $domElement$$286$$, $domNode$$44_value$$208$$ >= $converter$$14_incId_max$$8$$, $domNode$$44_value$$208$$ <= $convertedValue$$1_min$$10$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputNumberSpinboxPeer.prototype.InitDomElement", {$InitDomElement$:$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$InitDomElement$});
$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentMouseOut$ = function $$AdfDhtmlInputNumberSpinboxPeer$$$$$HandleComponentMouseOut$$($componentEvent$$273_target$$132$$) {
  this.$getComponent$().getDisabled() || ($componentEvent$$273_target$$132$$ = this.$_getAnchor$($AdfAgent$$.$AGENT$.$getEventTarget$($componentEvent$$273_target$$132$$.$getNativeEvent$())), $JSCompiler_StaticMethods__isActionButton$$(this, $componentEvent$$273_target$$132$$) && self.clearInterval(this.$_timerId$));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputNumberSpinboxPeer.prototype.HandleComponentMouseOut", {$HandleComponentMouseOut$:$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentMouseOut$});
$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentMouseDown$ = function $$AdfDhtmlInputNumberSpinboxPeer$$$$$HandleComponentMouseDown$$($componentEvent$$274_increment$$10_target$$133$$) {
  !this.$getComponent$().getDisabled() && ($componentEvent$$274_increment$$10_target$$133$$ = this.$_getAnchor$($AdfAgent$$.$AGENT$.$getEventTarget$($componentEvent$$274_increment$$10_target$$133$$.$getNativeEvent$())), $componentEvent$$274_increment$$10_target$$133$$ = $JSCompiler_StaticMethods__isActionButton$$(this, $componentEvent$$274_increment$$10_target$$133$$)) && (this.$getDomElement$(), this.$_currentSpinMode$ = $componentEvent$$274_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$$275_contentNode$$56_increment$$11_target$$134$$) {
  var $component$$1390$$ = this.$getComponent$();
  !$component$$1390$$.getDisabled() && ($AdfDhtmlInputNumberSpinboxPeer$$.$superclass$.$HandleComponentClick$.call(this, $componentEvent$$275_contentNode$$56_increment$$11_target$$134$$), $componentEvent$$275_contentNode$$56_increment$$11_target$$134$$ = this.$_getAnchor$($AdfAgent$$.$AGENT$.$getEventTarget$($componentEvent$$275_contentNode$$56_increment$$11_target$$134$$.$getNativeEvent$())), $componentEvent$$275_contentNode$$56_increment$$11_target$$134$$ = $JSCompiler_StaticMethods__isActionButton$$(this, 
  $componentEvent$$275_contentNode$$56_increment$$11_target$$134$$)) && ("inc" == $componentEvent$$275_contentNode$$56_increment$$11_target$$134$$ ? $JSCompiler_StaticMethods__manipulateValue$$(this, !0) : "dec" == $componentEvent$$275_contentNode$$56_increment$$11_target$$134$$ && $JSCompiler_StaticMethods__manipulateValue$$(this, !1), $componentEvent$$275_contentNode$$56_increment$$11_target$$134$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1390$$), this.$RunValidation$($component$$1390$$, 
  $componentEvent$$275_contentNode$$56_increment$$11_target$$134$$));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputNumberSpinboxPeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentClick$});
$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentBlur$ = function $$AdfDhtmlInputNumberSpinboxPeer$$$$$HandleComponentBlur$$($componentEvent$$276_value$$209$$) {
  var $component$$1391_min$$11$$ = this.$getComponent$();
  if (!$component$$1391_min$$11$$.getReadOnly()) {
    if ($AdfDhtmlInputNumberSpinboxPeer$$.$superclass$.$HandleComponentBlur$.call(this, $componentEvent$$276_value$$209$$), $componentEvent$$276_value$$209$$ = $JSCompiler_StaticMethods__getSpinboxValue$$(this, $component$$1391_min$$11$$), isNaN($componentEvent$$276_value$$209$$)) {
      $JSCompiler_StaticMethods__updateButtons$$(this, null, !0, !0);
    } else {
      if (null == $componentEvent$$276_value$$209$$) {
        $JSCompiler_StaticMethods__updateButtons$$(this, null, !1, !1);
      } else {
        var $max$$9$$ = $JSCompiler_StaticMethods__getMax$$($component$$1391_min$$11$$), $component$$1391_min$$11$$ = $JSCompiler_StaticMethods__getMin$$($component$$1391_min$$11$$);
        $JSCompiler_StaticMethods__updateButtons$$(this, null, $componentEvent$$276_value$$209$$ >= $max$$9$$, $componentEvent$$276_value$$209$$ <= $component$$1391_min$$11$$);
      }
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputNumberSpinboxPeer.prototype.HandleComponentBlur", {$HandleComponentBlur$:$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentBlur$});
$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentMouseUp$ = function $$AdfDhtmlInputNumberSpinboxPeer$$$$$HandleComponentMouseUp$$($componentEvent$$277_target$$135$$) {
  this.$getComponent$().getDisabled() || ($componentEvent$$277_target$$135$$ = this.$_getAnchor$($AdfAgent$$.$AGENT$.$getEventTarget$($componentEvent$$277_target$$135$$.$getNativeEvent$())), $JSCompiler_StaticMethods__isActionButton$$(this, $componentEvent$$277_target$$135$$) && self.clearInterval(this.$_timerId$));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputNumberSpinboxPeer.prototype.HandleComponentMouseUp", {$HandleComponentMouseUp$:$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentMouseUp$});
$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentKeyDown$ = function $$AdfDhtmlInputNumberSpinboxPeer$$$$$HandleComponentKeyDown$$($componentEvent$$278$$) {
  this.$StopArrowKeyBubbling$($componentEvent$$278$$);
  var $keyCode$$68$$ = $AdfAgent$$.$AGENT$.$getKeyCode$($componentEvent$$278$$.$getNativeEvent$()), $component$$1392$$ = this.$getComponent$();
  switch($keyCode$$68$$) {
    case $AdfKeyStroke$$.$ENTER_KEY$:
      this.$RunValidation$($component$$1392$$, $componentEvent$$278$$.$getNativeEventTarget$());
      break;
    case $AdfKeyStroke$$.$ARROWUP_KEY$:
      $JSCompiler_StaticMethods__manipulateValue$$(this, !0);
      this.$RunValidation$($component$$1392$$, $componentEvent$$278$$.$getNativeEventTarget$());
      break;
    case $AdfKeyStroke$$.$ARROWDOWN_KEY$:
      $JSCompiler_StaticMethods__manipulateValue$$(this, !1);
      this.$RunValidation$($component$$1392$$, $componentEvent$$278$$.$getNativeEventTarget$());
      break;
    case $AdfKeyStroke$$.$END_KEY$:
      $componentEvent$$278$$.$getNativeEvent$().ctrlKey && null != $component$$1392$$.getMaximum() && $JSCompiler_StaticMethods__setVisibleValue$$(this, $component$$1392$$, $component$$1392$$.getMaximum());
      break;
    case $AdfKeyStroke$$.$HOME_KEY$:
      $componentEvent$$278$$.$getNativeEvent$().ctrlKey && null != $component$$1392$$.getMinimum() && $JSCompiler_StaticMethods__setVisibleValue$$(this, $component$$1392$$, $component$$1392$$.getMinimum());
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputNumberSpinboxPeer.prototype.HandleComponentKeyDown", {$HandleComponentKeyDown$:$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentKeyDown$});
$AdfDhtmlInputNumberSpinboxPeer$$.prototype.$HandleComponentKeyPress$ = function $$AdfDhtmlInputNumberSpinboxPeer$$$$$HandleComponentKeyPress$$($componentEvent$$279$$) {
  this.$StopArrowKeyBubbling$($componentEvent$$279$$);
};
$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$$1393_domNode$$45$$, $domElement$$288$$, $newValue$$93$$) {
  $component$$1393_domNode$$45$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1393_domNode$$45$$, $domElement$$288$$);
  1 == $newValue$$93$$ ? ($AdfDomUtils$$.$addCSSClassName$($domElement$$288$$, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$), $component$$1393_domNode$$45$$.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$$1393_domNode$$45$$.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$$243$$) {
  if ($element$$243$$) {
    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$$243$$.id == $incId$$1$$ ? "inc" : $element$$243$$.id == $decId$$1_domElement$$289$$ ? "dec" : null;
  }
  return null;
}
function $JSCompiler_StaticMethods__manipulateValue$$($JSCompiler_StaticMethods__manipulateValue$self$$, $incrementor$$) {
  $AdfAssert$$.$assertBoolean$($incrementor$$);
  var $component$$1395$$ = $JSCompiler_StaticMethods__manipulateValue$self$$.$getComponent$(), $converter$$inline_2116_spinboxValue$$ = $JSCompiler_StaticMethods__getSpinboxValue$$($JSCompiler_StaticMethods__manipulateValue$self$$, $component$$1395$$);
  if (!isNaN($converter$$inline_2116_spinboxValue$$)) {
    $AdfAssert$$.$assertBoolean$($incrementor$$);
    var $min$$inline_2110$$ = $JSCompiler_StaticMethods__getMin$$($component$$1395$$), $max$$inline_2111$$ = $JSCompiler_StaticMethods__getMax$$($component$$1395$$), $stepSize$$inline_2112$$ = $JSCompiler_StaticMethods__manipulateValue$self$$.$GetStepSize$($component$$1395$$), $valMax$$inline_2113$$ = $max$$inline_2111$$ - $stepSize$$inline_2112$$, $valMin$$inline_2114$$ = $min$$inline_2110$$ + $stepSize$$inline_2112$$, $newValue$$inline_2115$$ = null;
    1 == $incrementor$$ ? null == $converter$$inline_2116_spinboxValue$$ ? $newValue$$inline_2115$$ = null != $component$$1395$$.getMinimum() ? null != $component$$1395$$.getMaximum() ? $max$$inline_2111$$ : $valMin$$inline_2114$$ : null != $component$$1395$$.getMaximum() ? $max$$inline_2111$$ : 0 : $converter$$inline_2116_spinboxValue$$ > $valMax$$inline_2113$$ ? $newValue$$inline_2115$$ = $max$$inline_2111$$ : ($newValue$$inline_2115$$ = $converter$$inline_2116_spinboxValue$$ + $stepSize$$inline_2112$$, 
    $newValue$$inline_2115$$ < $min$$inline_2110$$ && ($newValue$$inline_2115$$ = $min$$inline_2110$$)) : null == $converter$$inline_2116_spinboxValue$$ ? $newValue$$inline_2115$$ = null != $component$$1395$$.getMinimum() ? $min$$inline_2110$$ : null != $component$$1395$$.getMaximum() ? $valMax$$inline_2113$$ : 0 : $converter$$inline_2116_spinboxValue$$ < $valMin$$inline_2114$$ ? $newValue$$inline_2115$$ = $min$$inline_2110$$ : ($newValue$$inline_2115$$ = $converter$$inline_2116_spinboxValue$$ - 
    $stepSize$$inline_2112$$, $newValue$$inline_2115$$ > $max$$inline_2111$$ && ($newValue$$inline_2115$$ = $max$$inline_2111$$));
    $converter$$inline_2116_spinboxValue$$ = $component$$1395$$.getConverter();
    $converter$$inline_2116_spinboxValue$$ instanceof $AdfMissingConverter$$ && ($converter$$inline_2116_spinboxValue$$ = null);
    if ($converter$$inline_2116_spinboxValue$$ && null != $newValue$$inline_2115$$) {
      try {
        var $convertedValue$$inline_2117$$ = $converter$$inline_2116_spinboxValue$$.getAsObject($converter$$inline_2116_spinboxValue$$.getAsString($newValue$$inline_2115$$, null), null);
        null != $convertedValue$$inline_2117$$ && ($newValue$$inline_2115$$ = $convertedValue$$inline_2117$$);
      } catch ($e$$inline_2118$$) {
      }
    }
    $JSCompiler_StaticMethods__setVisibleValue$$($JSCompiler_StaticMethods__manipulateValue$self$$, $component$$1395$$, $newValue$$inline_2115$$);
  }
}
function $JSCompiler_StaticMethods__getSpinboxValue$$($JSCompiler_StaticMethods__getSpinboxValue$self$$, $component$$1396$$) {
  var $visibleValue$$ = $AdfUIUtils$$.trim($AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1396$$).value);
  if ("" == $visibleValue$$) {
    return null;
  }
  var $convertedValue$$3$$, $converter$$16$$ = $component$$1396$$.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$$1396$$, $visibleValue$$), $visibleValue$$ = NaN;
  }
  return $visibleValue$$;
}
function $JSCompiler_StaticMethods__setVisibleValue$$($JSCompiler_StaticMethods__setVisibleValue$self$$, $component$$1397$$, $newValue$$96$$) {
  var $converter$$17_max$$11$$ = $component$$1397$$.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$$1397$$), $min$$13$$ = $JSCompiler_StaticMethods__getMin$$($component$$1397$$);
  $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$$1397$$, $convertedValue$$4_domElement$$290$$).setAttribute("aria-valuenow", $newValue$$96$$.toString());
  $JSCompiler_StaticMethods__setVisibleValue$self$$.$SetDisplayValue$($component$$1397$$, $convertedValue$$4_domElement$$290$$, $newValue$$96$$.toString());
}
function $JSCompiler_StaticMethods__getMin$$($component$$1398_min$$14$$) {
  $component$$1398_min$$14$$ = $component$$1398_min$$14$$.getMinimum();
  null == $component$$1398_min$$14$$ && ($component$$1398_min$$14$$ = -Number.MAX_VALUE);
  return $component$$1398_min$$14$$;
}
function $JSCompiler_StaticMethods__getMax$$($component$$1399_max$$12$$) {
  $component$$1399_max$$12$$ = $component$$1399_max$$12$$.getMaximum();
  null == $component$$1399_max$$12$$ && ($component$$1399_max$$12$$ = Number.MAX_VALUE);
  return $component$$1399_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$$47$$, $atMax$$, $atMin$$) {
  $AdfAssert$$.$assertDomElementOrNull$($domElement$$291_domNode$$47$$);
  $AdfAssert$$.$assertBoolean$($atMax$$);
  $AdfAssert$$.$assertBoolean$($atMin$$);
  var $agent$$352_decElement$$ = $AdfAgent$$.$AGENT$;
  $domElement$$291_domNode$$47$$ = $domElement$$291_domNode$$47$$ ? $domElement$$291_domNode$$47$$ : $JSCompiler_StaticMethods__updateButtons$self_incElement$$.$getDomElement$();
  $JSCompiler_StaticMethods__updateButtons$self_incElement$$ = $agent$$352_decElement$$.getElementById($domElement$$291_domNode$$47$$.getAttribute($AdfDhtmlInputNumberSpinboxPeer$$.$_INC_ID$));
  $agent$$352_decElement$$ = $agent$$352_decElement$$.getElementById($domElement$$291_domNode$$47$$.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$);
}
;