var $AdfDhtmlCarouselPeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfRichUIPeer$$, "AdfDhtmlCarouselPeer", $JSCompiler_alias_FALSE$$);
$goog$exportSymbol$$("AdfDhtmlCarouselPeer", $AdfDhtmlCarouselPeer$$);
$AdfDhtmlCarouselPeer$$.$InitSubclass$ = function $$AdfDhtmlCarouselPeer$$$$InitSubclass$$() {
  var $cap$$4$$ = $AdfAgent$$.$AGENT$.$getCapabilities$()[$AdfAgent$$.$CAP_TOUCH_SCREEN$];
  (!$cap$$4$$ || $cap$$4$$ == $AdfAgent$$.$CAP_TOUCH_SCREEN_NONE$) && $AdfRichUIPeer$$.$addDomEventHandlers$(this, "mousemove");
  $AdfRichUIPeer$$.$addComponentEventHandlers$(this, $AdfUIInputEvent$$.$CLICK_EVENT_TYPE$, $AdfUIInputEvent$$.$MOUSE_OUT_EVENT_TYPE$, $AdfUIInputEvent$$.$MOUSE_DOWN_EVENT_TYPE$, $AdfUIInputEvent$$.$MOUSE_UP_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_DOWN_EVENT_TYPE$);
  $AdfRichUIPeer$$.$addComponentPropertyChanges$(this, AdfRichCarousel.CURRENT_ITEM_KEY);
  this.$MISSING_AFTER$ = 1;
  this.$MISSING_BEFORE$ = 2;
  this.$NO_BLOCKS$ = 4;
  this.$VIEWPORT_SATISFIED$ = 0;
  this.$DW_SUB_ID$ = "dataW";
  this.$_ITEM_PADDING$ = 10;
  this.$_MAX_PLACEHOLDERS_ON_ONE_SIDE$ = 25;
  this.$_ROW_KEY$ = "_afrRK";
  this.$_FETCH_MORE_ITEM_COUNT$ = 5;
  this.$_FETCH_DELAY_TIMEOUT$ = 300;
  this.$_INPUT_REGEXP$ = /^INPUT|SELECT|OPTION|BUTTON|^A\b|TEXTAREA/;
  this.$_NEEDS_REFRESH_ATTRIBUTE$ = "_afrNdsRfr";
  this.$_UNDO_FETCH_ATTRIBUTE$ = "_afrUndFch"
};
$goog$exportSymbol$$("AdfDhtmlCarouselPeer.InitSubclass", $AdfDhtmlCarouselPeer$$.$InitSubclass$);
$AdfDhtmlCarouselPeer$$.prototype.$InitDomElement$ = function $$AdfDhtmlCarouselPeer$$$$$InitDomElement$$($component$$417$$, $domElement$$80$$) {
  $AdfDhtmlCarouselPeer$$.$superclass$.$InitDomElement$.call(this, $component$$417$$, $domElement$$80$$);
  if("yes" == $domElement$$80$$.getAttribute("data-nojs")) {
    this.$_NO_JS$ = $JSCompiler_alias_TRUE$$
  }else {
    this.$_SHRINK_FACTOR$ = $component$$417$$.getAuxiliaryScale();
    this.$_SHIFT_FACTOR$ = $component$$417$$.getAuxiliaryOffset();
    this.$_POP_OUT$ = $component$$417$$.getAuxiliaryPopOut();
    this.$_fetchId$ = 0;
    this.$_unavailableRowIndex$ = -1;
    this.$_isVertical$ = "vertical" == $component$$417$$.getOrientation();
    var $lookAndFeel$$3$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$();
    this.$_useOpacity$ = "none" != $lookAndFeel$$3$$.$getSkinProperty$("af|carousel-tr-overlay-opacity");
    this.$_popOutDuration$ = this.$_animDuration$ = 0;
    this.$_animDuration$ = parseInt($lookAndFeel$$3$$.$getSkinProperty$("af|carousel-tr-spin-animation-duration"), 10);
    isNaN(this.$_animDuration$) && (this.$_animDuration$ = 0);
    this.$_popOutDuration$ = parseInt($lookAndFeel$$3$$.$getSkinProperty$("af|carousel-tr-pop-out-animation-duration"), 10);
    isNaN(this.$_popOutDuration$) && (this.$_animDuration$ = 0);
    $JSCompiler_StaticMethods__setupInitialPositions$$(this, $component$$417$$, $domElement$$80$$);
    $domElement$$80$$.setAttribute("role", "listbox")
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.InitDomElement", {$InitDomElement$:$AdfDhtmlCarouselPeer$$.prototype.$InitDomElement$});
function $JSCompiler_StaticMethods__setupInitialPositions$$($JSCompiler_StaticMethods__setupInitialPositions$self$$, $component$$418_controlAreaDiv$$inline_1216_id$$inline_1241_itemTextDiv$$inline_1242_itemTextDiv$$inline_1249$$, $dataBody$$inline_1228_domElement$$81$$) {
  if(!$JSCompiler_StaticMethods__setupInitialPositions$self$$.$_initiallyPositioned$) {
    if($JSCompiler_StaticMethods__setupInitialPositions$self$$.$_displayItems$ = $component$$418_controlAreaDiv$$inline_1216_id$$inline_1241_itemTextDiv$$inline_1242_itemTextDiv$$inline_1249$$.getDisplayItems(), $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_controlArea$ = $component$$418_controlAreaDiv$$inline_1216_id$$inline_1241_itemTextDiv$$inline_1242_itemTextDiv$$inline_1249$$.getControlArea(), "small" == $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_controlArea$ || "compact" == 
    $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_controlArea$) {
      var $id$$inline_1213_itemTextDivOffsetHeight$$inline_1232_size$$inline_1230$$ = $component$$418_controlAreaDiv$$inline_1216_id$$inline_1241_itemTextDiv$$inline_1242_itemTextDiv$$inline_1249$$.$getClientId$(), $controlArea$$inline_1214_isRtl$$inline_1233_spinInfoDiv$$inline_1231$$ = $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_controlArea$, $agent$$inline_1215_spinNextElem$$inline_1227$$ = $AdfAgent$$.$AGENT$;
      $component$$418_controlAreaDiv$$inline_1216_id$$inline_1241_itemTextDiv$$inline_1242_itemTextDiv$$inline_1249$$ = $JSCompiler_StaticMethods__getControlAreaDiv$$($JSCompiler_StaticMethods__setupInitialPositions$self$$, $dataBody$$inline_1228_domElement$$81$$);
      var $controlAreaComputedStyle$$inline_1217_controlPaddingBottom$$inline_1221_currentInset$$inline_1253$$ = $agent$$inline_1215_spinNextElem$$inline_1227$$.getComputedStyle($component$$418_controlAreaDiv$$inline_1216_id$$inline_1241_itemTextDiv$$inline_1242_itemTextDiv$$inline_1249$$), $controlPaddingLeft$$inline_1218_dataBody$$inline_1250_itemTextSize$$inline_1243$$ = parseInt($controlAreaComputedStyle$$inline_1217_controlPaddingBottom$$inline_1221_currentInset$$inline_1253$$.paddingLeft, 10), 
      $controlPaddingRight$$inline_1219_dataBody$$inline_1244_spinInfoDiv$$inline_1251$$ = parseInt($controlAreaComputedStyle$$inline_1217_controlPaddingBottom$$inline_1221_currentInset$$inline_1253$$.paddingRight, 10), $controlPaddingTop$$inline_1220_id$$inline_1248_spinControlDiv$$inline_1252$$ = parseInt($controlAreaComputedStyle$$inline_1217_controlPaddingBottom$$inline_1221_currentInset$$inline_1253$$.paddingTop, 10), $controlAreaComputedStyle$$inline_1217_controlPaddingBottom$$inline_1221_currentInset$$inline_1253$$ = 
      parseInt($controlAreaComputedStyle$$inline_1217_controlPaddingBottom$$inline_1221_currentInset$$inline_1253$$.paddingBottom, 10), $itemTextDiv$$inline_1222_itemTextStyle$$inline_1236$$ = $JSCompiler_StaticMethods__getItemTextDiv$$($id$$inline_1213_itemTextDivOffsetHeight$$inline_1232_size$$inline_1230$$), $itemTextComputedStyle$$inline_1223_spinPrevElem$$inline_1226$$ = $agent$$inline_1215_spinNextElem$$inline_1227$$.getComputedStyle($itemTextDiv$$inline_1222_itemTextStyle$$inline_1236$$), 
      $itemTextPaddingTop$$inline_1224_size$$inline_1254_textHeight$$inline_1237$$ = parseInt($itemTextComputedStyle$$inline_1223_spinPrevElem$$inline_1226$$.paddingTop, 10), $itemTextPaddingBottom$$inline_1225$$ = parseInt($itemTextComputedStyle$$inline_1223_spinPrevElem$$inline_1226$$.paddingBottom, 10), $itemTextComputedStyle$$inline_1223_spinPrevElem$$inline_1226$$ = $agent$$inline_1215_spinNextElem$$inline_1227$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$inline_1213_itemTextDivOffsetHeight$$inline_1232_size$$inline_1230$$, 
      "sp")), $agent$$inline_1215_spinNextElem$$inline_1227$$ = $agent$$inline_1215_spinNextElem$$inline_1227$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$inline_1213_itemTextDivOffsetHeight$$inline_1232_size$$inline_1230$$, "sn"));
      $dataBody$$inline_1228_domElement$$81$$ = $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_getDataBody$($dataBody$$inline_1228_domElement$$81$$);
      var $currentInset$$inline_1229$$ = 0;
      "compact" != $controlArea$$inline_1214_isRtl$$inline_1233_spinInfoDiv$$inline_1231$$ && ($controlArea$$inline_1214_isRtl$$inline_1233_spinInfoDiv$$inline_1231$$ = $JSCompiler_StaticMethods__getSpinInfoDiv$$($JSCompiler_StaticMethods__setupInitialPositions$self$$, $id$$inline_1213_itemTextDivOffsetHeight$$inline_1232_size$$inline_1230$$), $id$$inline_1213_itemTextDivOffsetHeight$$inline_1232_size$$inline_1230$$ = $controlArea$$inline_1214_isRtl$$inline_1233_spinInfoDiv$$inline_1231$$.offsetHeight, 
      $currentInset$$inline_1229$$ += $id$$inline_1213_itemTextDivOffsetHeight$$inline_1232_size$$inline_1230$$, $controlArea$$inline_1214_isRtl$$inline_1233_spinInfoDiv$$inline_1231$$.style.bottom = $controlAreaComputedStyle$$inline_1217_controlPaddingBottom$$inline_1221_currentInset$$inline_1253$$ + "px");
      $id$$inline_1213_itemTextDivOffsetHeight$$inline_1232_size$$inline_1230$$ = $itemTextDiv$$inline_1222_itemTextStyle$$inline_1236$$.offsetHeight;
      0 != $id$$inline_1213_itemTextDivOffsetHeight$$inline_1232_size$$inline_1230$$ && ($JSCompiler_StaticMethods__setupInitialPositions$self$$.$_initiallyPositioned$ = $JSCompiler_alias_TRUE$$);
      var $id$$inline_1213_itemTextDivOffsetHeight$$inline_1232_size$$inline_1230$$ = Math.max($itemTextComputedStyle$$inline_1223_spinPrevElem$$inline_1226$$.offsetHeight, $id$$inline_1213_itemTextDivOffsetHeight$$inline_1232_size$$inline_1230$$, $agent$$inline_1215_spinNextElem$$inline_1227$$.offsetHeight), $currentInset$$inline_1229$$ = $currentInset$$inline_1229$$ + $id$$inline_1213_itemTextDivOffsetHeight$$inline_1232_size$$inline_1230$$, $controlArea$$inline_1214_isRtl$$inline_1233_spinInfoDiv$$inline_1231$$ = 
      $AdfDhtmlCarouselPeer$$.$_isRTL$(), $spinNextStyle$$inline_1235_spinPrevStyle$$inline_1234$$ = $itemTextComputedStyle$$inline_1223_spinPrevElem$$inline_1226$$.style;
      $spinNextStyle$$inline_1235_spinPrevStyle$$inline_1234$$.top = $controlPaddingTop$$inline_1220_id$$inline_1248_spinControlDiv$$inline_1252$$ + "px";
      $controlArea$$inline_1214_isRtl$$inline_1233_spinInfoDiv$$inline_1231$$ ? $spinNextStyle$$inline_1235_spinPrevStyle$$inline_1234$$.right = $controlPaddingRight$$inline_1219_dataBody$$inline_1244_spinInfoDiv$$inline_1251$$ + "px" : $spinNextStyle$$inline_1235_spinPrevStyle$$inline_1234$$.left = $controlPaddingLeft$$inline_1218_dataBody$$inline_1250_itemTextSize$$inline_1243$$ + "px";
      $spinNextStyle$$inline_1235_spinPrevStyle$$inline_1234$$ = $agent$$inline_1215_spinNextElem$$inline_1227$$.style;
      $spinNextStyle$$inline_1235_spinPrevStyle$$inline_1234$$.top = $controlPaddingTop$$inline_1220_id$$inline_1248_spinControlDiv$$inline_1252$$ + "px";
      $controlArea$$inline_1214_isRtl$$inline_1233_spinInfoDiv$$inline_1231$$ ? $spinNextStyle$$inline_1235_spinPrevStyle$$inline_1234$$.left = $controlPaddingLeft$$inline_1218_dataBody$$inline_1250_itemTextSize$$inline_1243$$ + "px" : $spinNextStyle$$inline_1235_spinPrevStyle$$inline_1234$$.right = $controlPaddingRight$$inline_1219_dataBody$$inline_1244_spinInfoDiv$$inline_1251$$ + "px";
      $itemTextDiv$$inline_1222_itemTextStyle$$inline_1236$$ = $itemTextDiv$$inline_1222_itemTextStyle$$inline_1236$$.style;
      $itemTextDiv$$inline_1222_itemTextStyle$$inline_1236$$.top = $controlPaddingTop$$inline_1220_id$$inline_1248_spinControlDiv$$inline_1252$$ + "px";
      $itemTextPaddingTop$$inline_1224_size$$inline_1254_textHeight$$inline_1237$$ = $id$$inline_1213_itemTextDivOffsetHeight$$inline_1232_size$$inline_1230$$ - $itemTextPaddingTop$$inline_1224_size$$inline_1254_textHeight$$inline_1237$$ - $itemTextPaddingBottom$$inline_1225$$;
      $itemTextDiv$$inline_1222_itemTextStyle$$inline_1236$$.height = $itemTextPaddingTop$$inline_1224_size$$inline_1254_textHeight$$inline_1237$$ + "px";
      $itemTextDiv$$inline_1222_itemTextStyle$$inline_1236$$.lineHeight = $itemTextPaddingTop$$inline_1224_size$$inline_1254_textHeight$$inline_1237$$ + "px";
      $controlArea$$inline_1214_isRtl$$inline_1233_spinInfoDiv$$inline_1231$$ ? ($itemTextDiv$$inline_1222_itemTextStyle$$inline_1236$$.right = $controlPaddingRight$$inline_1219_dataBody$$inline_1244_spinInfoDiv$$inline_1251$$ + $itemTextComputedStyle$$inline_1223_spinPrevElem$$inline_1226$$.offsetWidth + "px", $itemTextDiv$$inline_1222_itemTextStyle$$inline_1236$$.left = $controlPaddingLeft$$inline_1218_dataBody$$inline_1250_itemTextSize$$inline_1243$$ + $agent$$inline_1215_spinNextElem$$inline_1227$$.offsetWidth + 
      "px") : ($itemTextDiv$$inline_1222_itemTextStyle$$inline_1236$$.left = $controlPaddingLeft$$inline_1218_dataBody$$inline_1250_itemTextSize$$inline_1243$$ + $itemTextComputedStyle$$inline_1223_spinPrevElem$$inline_1226$$.offsetWidth + "px", $itemTextDiv$$inline_1222_itemTextStyle$$inline_1236$$.right = $controlPaddingRight$$inline_1219_dataBody$$inline_1244_spinInfoDiv$$inline_1251$$ + $agent$$inline_1215_spinNextElem$$inline_1227$$.offsetWidth + "px");
      $component$$418_controlAreaDiv$$inline_1216_id$$inline_1241_itemTextDiv$$inline_1242_itemTextDiv$$inline_1249$$.style.top = "auto";
      $component$$418_controlAreaDiv$$inline_1216_id$$inline_1241_itemTextDiv$$inline_1242_itemTextDiv$$inline_1249$$.style.height = $currentInset$$inline_1229$$ + "px";
      $currentInset$$inline_1229$$ = $currentInset$$inline_1229$$ + $controlPaddingTop$$inline_1220_id$$inline_1248_spinControlDiv$$inline_1252$$ + $controlAreaComputedStyle$$inline_1217_controlPaddingBottom$$inline_1221_currentInset$$inline_1253$$;
      $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_isVertical$ ? ($JSCompiler_StaticMethods__setupInitialPositions$self$$.$_nonDataBodySize$ = 0, $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_heightOfBoxUnderCurrentItem$ = $currentInset$$inline_1229$$) : ($component$$418_controlAreaDiv$$inline_1216_id$$inline_1241_itemTextDiv$$inline_1242_itemTextDiv$$inline_1249$$.style.bottom = $AdfDhtmlCarouselPeer$$.$_ITEM_PADDING$ + "px", $currentInset$$inline_1229$$ += $AdfDhtmlCarouselPeer$$.$_ITEM_PADDING$, 
      $dataBody$$inline_1228_domElement$$81$$.style.bottom = $currentInset$$inline_1229$$ + "px", $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_nonDataBodySize$ = $currentInset$$inline_1229$$)
    }else {
      "none" == $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_controlArea$ ? ($component$$418_controlAreaDiv$$inline_1216_id$$inline_1241_itemTextDiv$$inline_1242_itemTextDiv$$inline_1249$$ = $component$$418_controlAreaDiv$$inline_1216_id$$inline_1241_itemTextDiv$$inline_1242_itemTextDiv$$inline_1249$$.$getClientId$(), $component$$418_controlAreaDiv$$inline_1216_id$$inline_1241_itemTextDiv$$inline_1242_itemTextDiv$$inline_1249$$ = $JSCompiler_StaticMethods__getItemTextDiv$$($component$$418_controlAreaDiv$$inline_1216_id$$inline_1241_itemTextDiv$$inline_1242_itemTextDiv$$inline_1249$$), 
      $controlPaddingLeft$$inline_1218_dataBody$$inline_1250_itemTextSize$$inline_1243$$ = $component$$418_controlAreaDiv$$inline_1216_id$$inline_1241_itemTextDiv$$inline_1242_itemTextDiv$$inline_1249$$.offsetHeight, $controlPaddingRight$$inline_1219_dataBody$$inline_1244_spinInfoDiv$$inline_1251$$ = $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_getDataBody$($dataBody$$inline_1228_domElement$$81$$), $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_isVertical$ ? ($JSCompiler_StaticMethods__setupInitialPositions$self$$.$_initiallyPositioned$ = 
      $JSCompiler_alias_TRUE$$, $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_nonDataBodySize$ = 0, $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_heightOfBoxUnderCurrentItem$ = $controlPaddingLeft$$inline_1218_dataBody$$inline_1250_itemTextSize$$inline_1243$$) : ($JSCompiler_StaticMethods__setupInitialPositions$self$$.$_initiallyPositioned$ = $JSCompiler_alias_TRUE$$, $component$$418_controlAreaDiv$$inline_1216_id$$inline_1241_itemTextDiv$$inline_1242_itemTextDiv$$inline_1249$$.style.left = 
      "0px", $component$$418_controlAreaDiv$$inline_1216_id$$inline_1241_itemTextDiv$$inline_1242_itemTextDiv$$inline_1249$$.style.right = "0px", $component$$418_controlAreaDiv$$inline_1216_id$$inline_1241_itemTextDiv$$inline_1242_itemTextDiv$$inline_1249$$.style.bottom = "10px", $controlPaddingLeft$$inline_1218_dataBody$$inline_1250_itemTextSize$$inline_1243$$ += 10, $controlPaddingRight$$inline_1219_dataBody$$inline_1244_spinInfoDiv$$inline_1251$$.style.bottom = $controlPaddingLeft$$inline_1218_dataBody$$inline_1250_itemTextSize$$inline_1243$$ + 
      "px", $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_nonDataBodySize$ = $controlPaddingLeft$$inline_1218_dataBody$$inline_1250_itemTextSize$$inline_1243$$)) : ($controlPaddingTop$$inline_1220_id$$inline_1248_spinControlDiv$$inline_1252$$ = $component$$418_controlAreaDiv$$inline_1216_id$$inline_1241_itemTextDiv$$inline_1242_itemTextDiv$$inline_1249$$.$getClientId$(), $component$$418_controlAreaDiv$$inline_1216_id$$inline_1241_itemTextDiv$$inline_1242_itemTextDiv$$inline_1249$$ = $JSCompiler_StaticMethods__getItemTextDiv$$($controlPaddingTop$$inline_1220_id$$inline_1248_spinControlDiv$$inline_1252$$), 
      $controlPaddingLeft$$inline_1218_dataBody$$inline_1250_itemTextSize$$inline_1243$$ = $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_getDataBody$($dataBody$$inline_1228_domElement$$81$$), $controlPaddingRight$$inline_1219_dataBody$$inline_1244_spinInfoDiv$$inline_1251$$ = $JSCompiler_StaticMethods__getSpinInfoDiv$$($JSCompiler_StaticMethods__setupInitialPositions$self$$, $controlPaddingTop$$inline_1220_id$$inline_1248_spinControlDiv$$inline_1252$$), $controlPaddingTop$$inline_1220_id$$inline_1248_spinControlDiv$$inline_1252$$ = 
      $JSCompiler_StaticMethods__getSpinControlDiv$$($JSCompiler_StaticMethods__setupInitialPositions$self$$, $controlPaddingTop$$inline_1220_id$$inline_1248_spinControlDiv$$inline_1252$$), $controlAreaComputedStyle$$inline_1217_controlPaddingBottom$$inline_1221_currentInset$$inline_1253$$ = 0, $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_isVertical$ ? ($controlPaddingRight$$inline_1219_dataBody$$inline_1244_spinInfoDiv$$inline_1251$$.style.width = "auto", $itemTextPaddingTop$$inline_1224_size$$inline_1254_textHeight$$inline_1237$$ = 
      15 * $controlPaddingRight$$inline_1219_dataBody$$inline_1244_spinInfoDiv$$inline_1251$$.offsetWidth, 0 != $itemTextPaddingTop$$inline_1224_size$$inline_1254_textHeight$$inline_1237$$ && ($JSCompiler_StaticMethods__setupInitialPositions$self$$.$_initiallyPositioned$ = $JSCompiler_alias_TRUE$$), $controlPaddingRight$$inline_1219_dataBody$$inline_1244_spinInfoDiv$$inline_1251$$.style.width = $itemTextPaddingTop$$inline_1224_size$$inline_1254_textHeight$$inline_1237$$ + "px", $controlAreaComputedStyle$$inline_1217_controlPaddingBottom$$inline_1221_currentInset$$inline_1253$$ += 
      $itemTextPaddingTop$$inline_1224_size$$inline_1254_textHeight$$inline_1237$$ + 4, $AdfDhtmlCarouselPeer$$.$_isRTL$() ? $controlPaddingTop$$inline_1220_id$$inline_1248_spinControlDiv$$inline_1252$$.style.left = $controlAreaComputedStyle$$inline_1217_controlPaddingBottom$$inline_1221_currentInset$$inline_1253$$ + "px" : $controlPaddingTop$$inline_1220_id$$inline_1248_spinControlDiv$$inline_1252$$.style.right = $controlAreaComputedStyle$$inline_1217_controlPaddingBottom$$inline_1221_currentInset$$inline_1253$$ + 
      "px", $itemTextPaddingTop$$inline_1224_size$$inline_1254_textHeight$$inline_1237$$ = $AdfDomUtils$$.$getFirstChildElement$($controlPaddingTop$$inline_1220_id$$inline_1248_spinControlDiv$$inline_1252$$).offsetWidth, $controlPaddingTop$$inline_1220_id$$inline_1248_spinControlDiv$$inline_1252$$.style.width = $itemTextPaddingTop$$inline_1224_size$$inline_1254_textHeight$$inline_1237$$ + "px", $controlAreaComputedStyle$$inline_1217_controlPaddingBottom$$inline_1221_currentInset$$inline_1253$$ += 
      $itemTextPaddingTop$$inline_1224_size$$inline_1254_textHeight$$inline_1237$$, $AdfDhtmlCarouselPeer$$.$_isRTL$() ? $controlPaddingLeft$$inline_1218_dataBody$$inline_1250_itemTextSize$$inline_1243$$.style.left = $controlAreaComputedStyle$$inline_1217_controlPaddingBottom$$inline_1221_currentInset$$inline_1253$$ + "px" : $controlPaddingLeft$$inline_1218_dataBody$$inline_1250_itemTextSize$$inline_1243$$.style.right = $controlAreaComputedStyle$$inline_1217_controlPaddingBottom$$inline_1221_currentInset$$inline_1253$$ + 
      "px", $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_nonDataBodySize$ = $controlAreaComputedStyle$$inline_1217_controlPaddingBottom$$inline_1221_currentInset$$inline_1253$$, $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_heightOfBoxUnderCurrentItem$ = $component$$418_controlAreaDiv$$inline_1216_id$$inline_1241_itemTextDiv$$inline_1242_itemTextDiv$$inline_1249$$.offsetHeight) : ($controlPaddingRight$$inline_1219_dataBody$$inline_1244_spinInfoDiv$$inline_1251$$.style.height = 
      "auto", $itemTextPaddingTop$$inline_1224_size$$inline_1254_textHeight$$inline_1237$$ = $controlPaddingRight$$inline_1219_dataBody$$inline_1244_spinInfoDiv$$inline_1251$$.offsetHeight, 0 != $itemTextPaddingTop$$inline_1224_size$$inline_1254_textHeight$$inline_1237$$ && ($JSCompiler_StaticMethods__setupInitialPositions$self$$.$_initiallyPositioned$ = $JSCompiler_alias_TRUE$$), $controlAreaComputedStyle$$inline_1217_controlPaddingBottom$$inline_1221_currentInset$$inline_1253$$ += $itemTextPaddingTop$$inline_1224_size$$inline_1254_textHeight$$inline_1237$$, 
      $controlPaddingTop$$inline_1220_id$$inline_1248_spinControlDiv$$inline_1252$$.style.bottom = $controlAreaComputedStyle$$inline_1217_controlPaddingBottom$$inline_1221_currentInset$$inline_1253$$ + "px", $itemTextPaddingTop$$inline_1224_size$$inline_1254_textHeight$$inline_1237$$ = $AdfDomUtils$$.$getFirstChildElement$($controlPaddingTop$$inline_1220_id$$inline_1248_spinControlDiv$$inline_1252$$).offsetHeight, $controlPaddingTop$$inline_1220_id$$inline_1248_spinControlDiv$$inline_1252$$.style.height = 
      $itemTextPaddingTop$$inline_1224_size$$inline_1254_textHeight$$inline_1237$$ + "px", $controlAreaComputedStyle$$inline_1217_controlPaddingBottom$$inline_1221_currentInset$$inline_1253$$ += $itemTextPaddingTop$$inline_1224_size$$inline_1254_textHeight$$inline_1237$$, $component$$418_controlAreaDiv$$inline_1216_id$$inline_1241_itemTextDiv$$inline_1242_itemTextDiv$$inline_1249$$.style.left = "0px", $component$$418_controlAreaDiv$$inline_1216_id$$inline_1241_itemTextDiv$$inline_1242_itemTextDiv$$inline_1249$$.style.right = 
      "0px", $component$$418_controlAreaDiv$$inline_1216_id$$inline_1241_itemTextDiv$$inline_1242_itemTextDiv$$inline_1249$$.style.bottom = $controlAreaComputedStyle$$inline_1217_controlPaddingBottom$$inline_1221_currentInset$$inline_1253$$ + "px", $itemTextPaddingTop$$inline_1224_size$$inline_1254_textHeight$$inline_1237$$ = $component$$418_controlAreaDiv$$inline_1216_id$$inline_1241_itemTextDiv$$inline_1242_itemTextDiv$$inline_1249$$.offsetHeight, $controlAreaComputedStyle$$inline_1217_controlPaddingBottom$$inline_1221_currentInset$$inline_1253$$ += 
      $itemTextPaddingTop$$inline_1224_size$$inline_1254_textHeight$$inline_1237$$, $controlPaddingLeft$$inline_1218_dataBody$$inline_1250_itemTextSize$$inline_1243$$.style.bottom = $controlAreaComputedStyle$$inline_1217_controlPaddingBottom$$inline_1221_currentInset$$inline_1253$$ + "px", $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_nonDataBodySize$ = $controlAreaComputedStyle$$inline_1217_controlPaddingBottom$$inline_1221_currentInset$$inline_1253$$))
    }
  }
}
$AdfDhtmlCarouselPeer$$.prototype.$TruncateClientId$ = function $$AdfDhtmlCarouselPeer$$$$$TruncateClientId$$($carouselIdClientId_component$$419_iteratorIndex$$, $descendantComponent$$3_ids$$6_iteratorId$$, $childClientId$$10$$, $skipArray$$4$$) {
  $descendantComponent$$3_ids$$6_iteratorId$$ = $childClientId$$10$$.split(":");
  $carouselIdClientId_component$$419_iteratorIndex$$ = $carouselIdClientId_component$$419_iteratorIndex$$.$getClientId$();
  $carouselIdClientId_component$$419_iteratorIndex$$ = $AdfStrings$$.count($carouselIdClientId_component$$419_iteratorIndex$$, ":") + 1;
  ($descendantComponent$$3_ids$$6_iteratorId$$ = $descendantComponent$$3_ids$$6_iteratorId$$[$carouselIdClientId_component$$419_iteratorIndex$$]) && (isNaN($descendantComponent$$3_ids$$6_iteratorId$$) || $skipArray$$4$$.push($carouselIdClientId_component$$419_iteratorIndex$$))
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.TruncateClientId", {$TruncateClientId$:$AdfDhtmlCarouselPeer$$.prototype.$TruncateClientId$});
$AdfDhtmlCarouselPeer$$.prototype.$ComponentRemoved$ = function $$AdfDhtmlCarouselPeer$$$$$ComponentRemoved$$($component$$420$$) {
  this.$_touchMoveManager$ && this.$_touchMoveManager$.$unregister$();
  this.$_stopAnimation$($JSCompiler_alias_TRUE$$);
  $JSCompiler_StaticMethods__removePlaceholders$$(this);
  $AdfDhtmlCarouselPeer$$.$superclass$.$ComponentRemoved$.call(this, $component$$420$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.ComponentRemoved", {$ComponentRemoved$:$AdfDhtmlCarouselPeer$$.prototype.$ComponentRemoved$});
$AdfDhtmlCarouselPeer$$.prototype.$needsChildVisibilityChanges$ = $JSCompiler_returnArg$$($JSCompiler_alias_TRUE$$);
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.needsChildVisibilityChanges", {$needsChildVisibilityChanges$:$AdfDhtmlCarouselPeer$$.prototype.$needsChildVisibilityChanges$});
$AdfDhtmlCarouselPeer$$.prototype.$ChildVisibilityChanged$ = function $$AdfDhtmlCarouselPeer$$$$$ChildVisibilityChanged$$() {
  $AdfPage$$.$PAGE$.$addPartialTargets$(this.$getComponent$());
  return $JSCompiler_alias_TRUE$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.ChildVisibilityChanged", {$ChildVisibilityChanged$:$AdfDhtmlCarouselPeer$$.prototype.$ChildVisibilityChanged$});
$AdfDhtmlCarouselPeer$$.prototype.$needsResizeNotify$ = function $$AdfDhtmlCarouselPeer$$$$$needsResizeNotify$$() {
  return!this.$_NO_JS$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.needsResizeNotify", {$needsResizeNotify$:$AdfDhtmlCarouselPeer$$.prototype.$needsResizeNotify$});
$AdfDhtmlCarouselPeer$$.prototype.$_allRowsAvailableOnClient$ = function $$AdfDhtmlCarouselPeer$$$$$_allRowsAvailableOnClient$$($block$$) {
  var $blockRowCount$$ = $block$$.$startRow$ + $block$$.$numRows$, $rowCount$$ = this.$_rowCount$;
  return 0 < $rowCount$$ && 0 == $block$$.$startRow$ && $blockRowCount$$ == $rowCount$$
};
$AdfDhtmlCarouselPeer$$.prototype.$ResizeNotify$ = function $$AdfDhtmlCarouselPeer$$$$$ResizeNotify$$($dataBody$$3_oldWidth$$6_statusText$$, $i$$171_oldHeight$$8$$, $newWidth$$8_nodes$$8$$, $block$$1_newHeight$$10$$) {
  if(this.$_virtInitialized$) {
    $dataBody$$3_oldWidth$$6_statusText$$ = this.$_getDataBody$(), $JSCompiler_StaticMethods__sizeDataBody$$(this, $dataBody$$3_oldWidth$$6_statusText$$, $newWidth$$8_nodes$$8$$, $block$$1_newHeight$$10$$), this.$_fillViewPort$($dataBody$$3_oldWidth$$6_statusText$$, $JSCompiler_alias_FALSE$$)
  }else {
    if(this.$_isImmediateContentDelivery$(this.$getComponent$())) {
      $dataBody$$3_oldWidth$$6_statusText$$ = this.$_getDataBody$();
      this.$_unavailableRowIndex$ = this.$_getUnavailableRowIndex$($dataBody$$3_oldWidth$$6_statusText$$);
      $newWidth$$8_nodes$$8$$ = $dataBody$$3_oldWidth$$6_statusText$$.childNodes;
      $block$$1_newHeight$$10$$ = $JSCompiler_alias_NULL$$;
      for($i$$171_oldHeight$$8$$ = $newWidth$$8_nodes$$8$$.length - 1;0 <= $i$$171_oldHeight$$8$$;$i$$171_oldHeight$$8$$--) {
        var $node$$64$$ = $newWidth$$8_nodes$$8$$[$i$$171_oldHeight$$8$$];
        if("DIV" == $node$$64$$.tagName && $node$$64$$.getAttribute("_startRow") != $JSCompiler_alias_NULL$$) {
          $block$$1_newHeight$$10$$ = $newWidth$$8_nodes$$8$$[$i$$171_oldHeight$$8$$];
          break
        }
      }
      $block$$1_newHeight$$10$$ != $JSCompiler_alias_NULL$$ && 0 < $block$$1_newHeight$$10$$.childNodes.length ? this.$_initVirtualization$($block$$1_newHeight$$10$$, $JSCompiler_alias_TRUE$$) : ($JSCompiler_StaticMethods__addEmptyTextToDataBody$$(this, $dataBody$$3_oldWidth$$6_statusText$$, $dataBody$$3_oldWidth$$6_statusText$$), this.$_isEmpty$ = $JSCompiler_alias_TRUE$$)
    }else {
      this.$_firstBlockRequested$ || (this.$_firstBlockRequested$ = $JSCompiler_alias_TRUE$$, this.$_queueFetchEvent$($JSCompiler_alias_TRUE$$, $AdfCarouselDataFetchEvent$$.$INITIAL_SUBTYPE$, -1), $AdfDhtmlCarouselPeer$$.$_setCursor$(this.$_getDataBody$(), "wait"), $dataBody$$3_oldWidth$$6_statusText$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$().$getTranslatedString$("af_carousel.LABEL_FETCHING"), this.$_displayStatus$($dataBody$$3_oldWidth$$6_statusText$$))
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.ResizeNotify", {$ResizeNotify$:$AdfDhtmlCarouselPeer$$.prototype.$ResizeNotify$});
$AdfDhtmlCarouselPeer$$.prototype.$ReplaceDomElement$ = function $$AdfDhtmlCarouselPeer$$$$$ReplaceDomElement$$($newElement$$9$$, $oldElement$$2$$) {
  var $currentItemKey$$inline_1258_id$$253$$ = $newElement$$9$$.id;
  if(0 < $currentItemKey$$inline_1258_id$$253$$.indexOf($AdfDhtmlCarouselPeer$$.$DW_SUB_ID$)) {
    var $agent$$145$$ = $AdfAgent$$.$AGENT$, $dataBody$$4$$ = this.$_getDataBody$(), $block$$2$$ = $AdfDhtmlCarouselPeer$$.$_findFirstChildByTagName$($newElement$$9$$, "DIV");
    this.$_unavailableRowIndex$ = this.$_getUnavailableRowIndex$($newElement$$9$$);
    var $empty$$1$$ = $JSCompiler_alias_FALSE$$;
    if(this.$_virtInitialized$) {
      $block$$2$$ == $JSCompiler_alias_NULL$$ && ($empty$$1$$ = $JSCompiler_alias_TRUE$$);
      for(var $fetchId_pendingRenderOnly$$ = $agent$$145$$.$getIntAttribute$($newElement$$9$$, "_fetchId", -1), $pendingFetch$$ = this.$_pendingFetch$, $fetchIndex_oldChild$$2$$ = $oldElement$$2$$.firstChild;$fetchIndex_oldChild$$2$$;) {
        this.$_unregisterNode$($fetchIndex_oldChild$$2$$), $oldElement$$2$$.removeChild($fetchIndex_oldChild$$2$$), $fetchIndex_oldChild$$2$$ = $oldElement$$2$$.firstChild
      }
      if($pendingFetch$$ != $JSCompiler_alias_VOID$$ && this.$_pendingId$ == $fetchId_pendingRenderOnly$$) {
        $fetchId_pendingRenderOnly$$ = this.$_pendingRenderOnly$;
        $fetchIndex_oldChild$$2$$ = this.$_fetchIndex$;
        this.$_cancelPendingFetch$();
        if($agent$$145$$.$getBooleanAttribute$($newElement$$9$$, $AdfDhtmlCarouselPeer$$.$_NEEDS_REFRESH_ATTRIBUTE$, $JSCompiler_alias_FALSE$$)) {
          $AdfPage$$.$PAGE$.$addPartialTargets$(this.$getComponent$());
          return
        }
        if($agent$$145$$.$getBooleanAttribute$($newElement$$9$$, $AdfDhtmlCarouselPeer$$.$_UNDO_FETCH_ATTRIBUTE$, $JSCompiler_alias_FALSE$$)) {
          if($pendingFetch$$ == $AdfCarouselDataFetchEvent$$.$AT_INDEX_SUBTYPE$ || $pendingFetch$$ == $AdfCarouselDataFetchEvent$$.$AFTER_KEY_SUBTYPE$ || $pendingFetch$$ == $AdfCarouselDataFetchEvent$$.$BEFORE_KEY_SUBTYPE$) {
            if($currentItemKey$$inline_1258_id$$253$$ = $newElement$$9$$.getAttribute("_currentItemKey")) {
              this.$_currentItemKey$ = $currentItemKey$$inline_1258_id$$253$$, this.$getComponent$().setCurrentItemKey($currentItemKey$$inline_1258_id$$253$$), $JSCompiler_StaticMethods__positionThumbAndSpinInfo$$(this)
            }
          }
          $AdfDhtmlCarouselPeer$$.$_setCursor$($dataBody$$4$$, "");
          this.$_hideStatus$();
          return
        }
        $newElement$$9$$.removeChild($block$$2$$);
        this.$_pruneKeyCache$ || (this.$_pruneKeyCache$ = $agent$$145$$.getAttribute($block$$2$$, "_pruneKeyCache", $JSCompiler_alias_NULL$$));
        this.$_handleDataCallback$($block$$2$$, $pendingFetch$$, $fetchIndex_oldChild$$2$$, $fetchId_pendingRenderOnly$$);
        this.$_fillViewPort$($dataBody$$4$$, $JSCompiler_alias_FALSE$$, !$fetchId_pendingRenderOnly$$)
      }else {
        $JSCompiler_StaticMethods__addInvalidDataBlock$$(this, $oldElement$$2$$, $block$$2$$, $dataBody$$4$$)
      }
    }else {
      this.$_cancelPendingFetch$(), $block$$2$$ && $block$$2$$.firstChild ? (this.$_initVirtualization$($block$$2$$, $JSCompiler_alias_FALSE$$), $agent$$145$$.$elementsAdded$($block$$2$$)) : $empty$$1$$ = $JSCompiler_alias_TRUE$$
    }
    $empty$$1$$ && (this.$_virtInitialized$ ? $AdfLogger$$.$LOGGER$.severe("Empty data block received:" + $currentItemKey$$inline_1258_id$$253$$) : $JSCompiler_StaticMethods__addEmptyTextToDataBody$$(this, $dataBody$$4$$, $newElement$$9$$))
  }else {
    $AdfDhtmlCarouselPeer$$.$superclass$.$ReplaceDomElement$.call(this, $newElement$$9$$, $oldElement$$2$$)
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.ReplaceDomElement", {$ReplaceDomElement$:$AdfDhtmlCarouselPeer$$.prototype.$ReplaceDomElement$});
$AdfDhtmlCarouselPeer$$.prototype.$DomReplaceNotify$ = function $$AdfDhtmlCarouselPeer$$$$$DomReplaceNotify$$($domNode$$20$$) {
  return 0 < $domNode$$20$$.id.indexOf($AdfDhtmlCarouselPeer$$.$DW_SUB_ID$) ? $JSCompiler_alias_NULL$$ : $domNode$$20$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.DomReplaceNotify", {$DomReplaceNotify$:$AdfDhtmlCarouselPeer$$.prototype.$DomReplaceNotify$});
$JSCompiler_prototypeAlias$$ = $AdfDhtmlCarouselPeer$$.prototype;
$JSCompiler_prototypeAlias$$.$_getUnavailableRowIndex$ = function $$JSCompiler_prototypeAlias$$$$_getUnavailableRowIndex$$($elem$$17$$) {
  var $rowIndex$$2$$ = -1, $agent$$146$$ = $AdfAgent$$.$AGENT$, $unavailableRowDiv$$ = $AdfDhtmlCarouselPeer$$.$_getChildBySubId$($elem$$17$$, "unAvail");
  $unavailableRowDiv$$ && ($rowIndex$$2$$ = $agent$$146$$.$getIntAttribute$($unavailableRowDiv$$, "_unavailableRowIndex", -1), $elem$$17$$.removeChild($unavailableRowDiv$$));
  return $rowIndex$$2$$
};
function $JSCompiler_StaticMethods__addEmptyTextToDataBody$$($JSCompiler_StaticMethods__addEmptyTextToDataBody$self$$, $dataBody$$5$$, $id$$254_newElement$$10_rootElement$$18$$) {
  if("oneByOne" == $JSCompiler_StaticMethods__addEmptyTextToDataBody$self$$.$_displayItems$) {
    var $dataBodyStyle_newChildCount$$ = $dataBody$$5$$.style;
    $dataBodyStyle_newChildCount$$.top = "0px";
    $dataBodyStyle_newChildCount$$.bottom = "0px";
    $dataBodyStyle_newChildCount$$.left = "0px";
    $dataBodyStyle_newChildCount$$.right = "0px"
  }
  var $dataBodyStyle_newChildCount$$ = $id$$254_newElement$$10_rootElement$$18$$.childNodes.length, $div$$5_doc$$35$$ = $dataBody$$5$$.ownerDocument, $i$$172_outerDiv$$4$$ = $div$$5_doc$$35$$.createElement("div");
  $dataBody$$5$$.appendChild($i$$172_outerDiv$$4$$);
  var $fetchedChild_style$$13$$ = $i$$172_outerDiv$$4$$.style;
  $fetchedChild_style$$13$$.position = "absolute";
  $fetchedChild_style$$13$$.verticalAlign = "middle";
  $fetchedChild_style$$13$$.textAlign = "center";
  $fetchedChild_style$$13$$.left = $fetchedChild_style$$13$$.right = "0px";
  $fetchedChild_style$$13$$.top = "50%";
  $div$$5_doc$$35$$ = $div$$5_doc$$35$$.createElement("div");
  $i$$172_outerDiv$$4$$.appendChild($div$$5_doc$$35$$);
  $fetchedChild_style$$13$$ = $div$$5_doc$$35$$.style;
  $fetchedChild_style$$13$$.position = "relative";
  $AdfAgent$$.$getAgent$().$getPlatform$() != $AdfAgent$$.$WEBKIT_PLATFORM$ && ($fetchedChild_style$$13$$.top = "-50%");
  for($i$$172_outerDiv$$4$$ = 0;$i$$172_outerDiv$$4$$ < $dataBodyStyle_newChildCount$$;$i$$172_outerDiv$$4$$++) {
    $fetchedChild_style$$13$$ = $id$$254_newElement$$10_rootElement$$18$$.firstChild, $id$$254_newElement$$10_rootElement$$18$$.removeChild($fetchedChild_style$$13$$), 1 == $fetchedChild_style$$13$$.nodeType && $fetchedChild_style$$13$$.getAttribute("_startRow") != $JSCompiler_alias_NULL$$ || $div$$5_doc$$35$$.appendChild($fetchedChild_style$$13$$)
  }
  $JSCompiler_StaticMethods__addEmptyTextToDataBody$self$$.$_hideStatus$();
  $id$$254_newElement$$10_rootElement$$18$$ = $JSCompiler_StaticMethods__addEmptyTextToDataBody$self$$.$getComponent$().$getClientId$();
  $JSCompiler_StaticMethods__getItemTextDiv$$($id$$254_newElement$$10_rootElement$$18$$).style.display = "none";
  "small" == $JSCompiler_StaticMethods__addEmptyTextToDataBody$self$$.$_controlArea$ || "compact" == $JSCompiler_StaticMethods__addEmptyTextToDataBody$self$$.$_controlArea$ ? ($id$$254_newElement$$10_rootElement$$18$$ = $JSCompiler_StaticMethods__addEmptyTextToDataBody$self$$.$getDomElement$(), $JSCompiler_StaticMethods__getControlAreaDiv$$($JSCompiler_StaticMethods__addEmptyTextToDataBody$self$$, $id$$254_newElement$$10_rootElement$$18$$).style.display = "none") : "none" != $JSCompiler_StaticMethods__addEmptyTextToDataBody$self$$.$_controlArea$ && 
  "oneByOne" == $JSCompiler_StaticMethods__addEmptyTextToDataBody$self$$.$_displayItems$ && ($JSCompiler_StaticMethods__getSpinControlDiv$$($JSCompiler_StaticMethods__addEmptyTextToDataBody$self$$, $id$$254_newElement$$10_rootElement$$18$$).style.display = "none");
  $JSCompiler_StaticMethods__addEmptyTextToDataBody$self$$.$_isEmpty$ = $JSCompiler_alias_TRUE$$;
  $AdfDhtmlCarouselPeer$$.$_setCursor$($dataBody$$5$$, "")
}
function $JSCompiler_StaticMethods__addInvalidDataBlock$$($JSCompiler_StaticMethods__addInvalidDataBlock$self$$, $oldElement$$3$$, $newBlock$$, $existingDataBody_oldBlockStart$$) {
  var $agent$$148$$ = $AdfAgent$$.$AGENT$, $existingBlock_oldBlockEnd$$ = $existingDataBody_oldBlockStart$$.firstChild;
  $existingDataBody_oldBlockStart$$ = $existingBlock_oldBlockEnd$$.$startRow$;
  var $existingBlock_oldBlockEnd$$ = $existingDataBody_oldBlockStart$$ + $JSCompiler_StaticMethods__getNumberOfRows$$($existingBlock_oldBlockEnd$$), $newBlockStart$$ = $agent$$148$$.$getIntAttribute$($newBlock$$, "_startRow", 0), $newBlockEnd$$ = $newBlockStart$$ + $newBlock$$.childNodes.length, $countB_perfectMatch$$ = $existingDataBody_oldBlockStart$$ == $newBlockStart$$ && $existingBlock_oldBlockEnd$$ == $newBlockEnd$$;
  if($countB_perfectMatch$$ || $newBlockStart$$ >= $existingDataBody_oldBlockStart$$ && $newBlockStart$$ < $existingBlock_oldBlockEnd$$) {
    for(var $countA_j$$15$$ = $existingBlock_oldBlockEnd$$ - $newBlockStart$$, $i$$173_lastChildNode$$ = 0;$i$$173_lastChildNode$$ < $countA_j$$15$$;$i$$173_lastChildNode$$++) {
      var $firstChildNode$$ = $newBlock$$.firstChild;
      $JSCompiler_StaticMethods__updateFetchIntersectionItem$$($JSCompiler_StaticMethods__addInvalidDataBlock$self$$, $firstChildNode$$, $i$$173_lastChildNode$$, $countA_j$$15$$, $existingDataBody_oldBlockStart$$, $existingBlock_oldBlockEnd$$, $newBlockStart$$, $newBlockEnd$$);
      $newBlock$$.removeChild($firstChildNode$$)
    }
    if($countB_perfectMatch$$) {
      return
    }
  }else {
    if($newBlockEnd$$ >= $existingDataBody_oldBlockStart$$ && $newBlockEnd$$ < $existingBlock_oldBlockEnd$$) {
      $countB_perfectMatch$$ = $newBlockEnd$$ - $existingDataBody_oldBlockStart$$;
      for($countA_j$$15$$ = 0;$countA_j$$15$$ < $countB_perfectMatch$$;$countA_j$$15$$++) {
        $i$$173_lastChildNode$$ = $newBlock$$.lastChild, $JSCompiler_StaticMethods__updateFetchIntersectionItem$$($JSCompiler_StaticMethods__addInvalidDataBlock$self$$, $i$$173_lastChildNode$$, $countA_j$$15$$, $countB_perfectMatch$$, $existingDataBody_oldBlockStart$$, $existingBlock_oldBlockEnd$$, $newBlockStart$$, $newBlockEnd$$), $newBlock$$.removeChild($i$$173_lastChildNode$$)
      }
    }
  }
  $oldElement$$3$$.appendChild($newBlock$$);
  $agent$$148$$.$elementsAdded$($newBlock$$)
}
function $JSCompiler_StaticMethods__updateFetchIntersectionItem$$($JSCompiler_StaticMethods__updateFetchIntersectionItem$self$$, $existingElement_existingPeer_itemWrapper$$, $existingComponent_iteration$$, $count$$11$$, $oldBlockStart$$1$$, $oldBlockEnd$$1$$, $newBlockStart$$1$$, $newBlockEnd$$1$$) {
  var $newCarouselItemElement$$ = $AdfDomUtils$$.$getFirstChildElement$($existingElement_existingPeer_itemWrapper$$), $carouselItemId$$ = $newCarouselItemElement$$.id, $logger$$10$$ = $AdfLogger$$.$LOGGER$;
  $logger$$10$$.$isLoggable$($AdfLogger$$.FINE) && $logger$$10$$.fine("_addInvalidDataBlock: carousel fetch intersection item (" + $existingComponent_iteration$$ + ":" + $count$$11$$ + " " + $oldBlockStart$$1$$ + "-" + $oldBlockEnd$$1$$ + " " + $newBlockStart$$1$$ + "-" + $newBlockEnd$$1$$ + "): " + $carouselItemId$$);
  $existingComponent_iteration$$ = $AdfPage$$.$PAGE$.$findComponent$($carouselItemId$$);
  $AdfAssert$$.assert($existingComponent_iteration$$ != $JSCompiler_alias_NULL$$, "An existing intersection component could not be found to match the intersection node: " + $carouselItemId$$ + " of " + $existingElement_existingPeer_itemWrapper$$.innerHTML);
  $existingComponent_iteration$$ && ($existingElement_existingPeer_itemWrapper$$ = $existingComponent_iteration$$.$getPeer$(), $existingElement_existingPeer_itemWrapper$$.bind($existingComponent_iteration$$), $existingElement_existingPeer_itemWrapper$$ = $existingElement_existingPeer_itemWrapper$$.$getDomElement$(), $JSCompiler_StaticMethods__updateFetchIntersectionItem$self$$.$_unregisterNode$($existingElement_existingPeer_itemWrapper$$), $existingElement_existingPeer_itemWrapper$$.parentNode.replaceChild($newCarouselItemElement$$, 
  $existingElement_existingPeer_itemWrapper$$), $AdfAgent$$.$AGENT$.$elementsAdded$($newCarouselItemElement$$))
}
function $JSCompiler_StaticMethods__getFirstNonPlaceholder$$($blockOfRows_childNodes$$9$$) {
  $blockOfRows_childNodes$$9$$ = $blockOfRows_childNodes$$9$$.childNodes;
  for(var $i$$174$$ = 0;$i$$174$$ < $blockOfRows_childNodes$$9$$.length;$i$$174$$++) {
    var $child$$10$$ = $blockOfRows_childNodes$$9$$[$i$$174$$];
    if(!$AdfDhtmlCarouselPeer$$.$_isPlaceholder$($child$$10$$)) {
      return $child$$10$$
    }
  }
  return $JSCompiler_alias_NULL$$
}
function $JSCompiler_StaticMethods__getLastNonPlaceholder$$($blockOfRows$$1_childNodes$$10$$) {
  $blockOfRows$$1_childNodes$$10$$ = $blockOfRows$$1_childNodes$$10$$.childNodes;
  for(var $i$$175$$ = $blockOfRows$$1_childNodes$$10$$.length - 1;0 <= $i$$175$$;$i$$175$$--) {
    var $child$$11$$ = $blockOfRows$$1_childNodes$$10$$[$i$$175$$];
    if(!$AdfDhtmlCarouselPeer$$.$_isPlaceholder$($child$$11$$)) {
      return $child$$11$$
    }
  }
  return $JSCompiler_alias_NULL$$
}
function $JSCompiler_StaticMethods__getNumberOfRows$$($blockOfRows$$2_childNodes$$11$$) {
  var $numRows$$2$$ = 0;
  $blockOfRows$$2_childNodes$$11$$ = $blockOfRows$$2_childNodes$$11$$.childNodes;
  for(var $i$$176$$ = 0;$i$$176$$ < $blockOfRows$$2_childNodes$$11$$.length;$i$$176$$++) {
    $AdfDhtmlCarouselPeer$$.$_isPlaceholder$($blockOfRows$$2_childNodes$$11$$[$i$$176$$]) || ++$numRows$$2$$
  }
  return $numRows$$2$$
}
function $JSCompiler_StaticMethods__getNumberOfLeadingPlaceholders$$($blockOfRows$$3_childNodes$$12$$) {
  var $numLeadingPlaceholders$$ = 0;
  $blockOfRows$$3_childNodes$$12$$ = $blockOfRows$$3_childNodes$$12$$.childNodes;
  for(var $i$$177$$ = 0;$i$$177$$ < $blockOfRows$$3_childNodes$$12$$.length && $AdfDhtmlCarouselPeer$$.$_isPlaceholder$($blockOfRows$$3_childNodes$$12$$[$i$$177$$]);$i$$177$$++) {
    ++$numLeadingPlaceholders$$
  }
  return $numLeadingPlaceholders$$
}
$JSCompiler_prototypeAlias$$.$_initVirtualization$ = function $$JSCompiler_prototypeAlias$$$$_initVirtualization$$($firstBlock$$, $alreadyInserted$$) {
  this.$_hideStatus$();
  this.$_virtInitialized$ = $JSCompiler_alias_TRUE$$;
  var $agent$$149$$ = $AdfAgent$$.$AGENT$, $rootElement$$19_startRow$$ = $agent$$149$$.$getIntAttribute$($firstBlock$$, "_startRow", 0), $id$$255_numRows$$3_spinNextElem$$1$$ = $JSCompiler_StaticMethods__getNumberOfRows$$($firstBlock$$), $cap$$5_component$$424_spinPrevElem$$1$$ = this.$getComponent$();
  $JSCompiler_StaticMethods__updateComponentStartAndRowProperties$$($cap$$5_component$$424_spinPrevElem$$1$$, $rootElement$$19_startRow$$, $id$$255_numRows$$3_spinNextElem$$1$$);
  var $dataBody$$6$$ = this.$_getDataBody$(), $currentItemKey_rowCount$$1$$ = $agent$$149$$.$getIntAttribute$($firstBlock$$, "_rowCount", -1);
  0 == this.$_unavailableRowIndex$ ? $currentItemKey_rowCount$$1$$ = -1 : 0 < this.$_unavailableRowIndex$ && ($currentItemKey_rowCount$$1$$ = this.$_unavailableRowIndex$);
  this.$_rowCount$ = $currentItemKey_rowCount$$1$$;
  this.$_knownRowCount$ = -1 == $currentItemKey_rowCount$$1$$ ? $rootElement$$19_startRow$$ + $id$$255_numRows$$3_spinNextElem$$1$$ : $currentItemKey_rowCount$$1$$;
  if($currentItemKey_rowCount$$1$$ = $firstBlock$$.getAttribute("_currentItemKey")) {
    $cap$$5_component$$424_spinPrevElem$$1$$.setProperty("currentItemKey", $currentItemKey_rowCount$$1$$, $JSCompiler_alias_FALSE$$, $AdfUIComponent$$.$PROPAGATE_NEVER$), this.$_currentItemKey$ = $currentItemKey_rowCount$$1$$
  }
  var $container$$1_outerHeight$$4$$ = this.$getDomElement$(), $outerWidth$$3$$ = $container$$1_outerHeight$$4$$.clientWidth, $container$$1_outerHeight$$4$$ = $container$$1_outerHeight$$4$$.clientHeight;
  if(!$alreadyInserted$$) {
    for(var $children$$15$$ = $dataBody$$6$$.childNodes, $c$$8$$ = $children$$15$$.length - 1;0 <= $c$$8$$;$c$$8$$--) {
      $dataBody$$6$$.removeChild($children$$15$$[$c$$8$$])
    }
    $dataBody$$6$$.appendChild($firstBlock$$)
  }
  $firstBlock$$.$startRow$ = $rootElement$$19_startRow$$;
  $firstBlock$$.$numRows$ = $id$$255_numRows$$3_spinNextElem$$1$$;
  if(!$cap$$5_component$$424_spinPrevElem$$1$$.getDisabled() && ($rootElement$$19_startRow$$ = this.$getDomElement$(), $rootElement$$19_startRow$$.onmousewheel = $AdfDhtmlCarouselPeer$$.$_handleMouseWheel$, $agent$$149$$.$getPlatform$() != $AdfAgent$$.$IE_PLATFORM$ && $rootElement$$19_startRow$$.addEventListener("DOMMouseScroll", $AdfDhtmlCarouselPeer$$.$_handleMouseWheel$, $JSCompiler_alias_TRUE$$), "none" != this.$_controlArea$ && ($id$$255_numRows$$3_spinNextElem$$1$$ = $cap$$5_component$$424_spinPrevElem$$1$$.$getClientId$(), 
  $cap$$5_component$$424_spinPrevElem$$1$$ = $agent$$149$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$255_numRows$$3_spinNextElem$$1$$, "sp")), $id$$255_numRows$$3_spinNextElem$$1$$ = $agent$$149$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$255_numRows$$3_spinNextElem$$1$$, "sn")), $agent$$149$$.$addBubbleEventListener$($cap$$5_component$$424_spinPrevElem$$1$$, "click", $AdfDhtmlCarouselPeer$$.$_handlePreviousClick$), $agent$$149$$.$addBubbleEventListener$($id$$255_numRows$$3_spinNextElem$$1$$, 
  "click", $AdfDhtmlCarouselPeer$$.$_handleNextClick$)), ($cap$$5_component$$424_spinPrevElem$$1$$ = $agent$$149$$.$getCapabilities$()[$AdfAgent$$.$CAP_TOUCH_SCREEN$]) && $cap$$5_component$$424_spinPrevElem$$1$$ != $AdfAgent$$.$CAP_TOUCH_SCREEN_NONE$)) {
    this.$_touchMoveManager$ = $agent$$149$$.$createTouchMoveManager$($rootElement$$19_startRow$$, this.$createCallback$(this.$_handleTouchMovement$), 1), "hover" == this.$_POP_OUT$ && this.$_touchMoveManager$.$setLongTouchEventCallback$(this.$createCallback$(this.$_handleLongTouchEvent$))
  }
  $dataBody$$6$$.onselectstart = this.$createCallback$(this.$_handleDataBodySelectStart$);
  $JSCompiler_StaticMethods__sizeDataBody$$(this, $dataBody$$6$$, $outerWidth$$3$$, $container$$1_outerHeight$$4$$);
  $dataBody$$6$$.style.zIndex = 1;
  this.$_fillViewPort$($dataBody$$6$$, $JSCompiler_alias_FALSE$$);
  $currentItemKey_rowCount$$1$$ && (this.$_needsResizeNotifyOnDisplayedChildren$ = $JSCompiler_alias_TRUE$$, $JSCompiler_StaticMethods__updateTextForNewCurrentItemKey$$(this, $currentItemKey_rowCount$$1$$))
};
$JSCompiler_prototypeAlias$$.$_handleLongTouchEvent$ = function $$JSCompiler_prototypeAlias$$$$_handleLongTouchEvent$$($event$$123$$) {
  $event$$123$$ && $event$$123$$.target ? $JSCompiler_StaticMethods__updateHoverState$$(this, $event$$123$$.target) : $JSCompiler_StaticMethods__cleanUpHoverState$$(this)
};
$JSCompiler_prototypeAlias$$.$_handleTouchMovement$ = function $$JSCompiler_prototypeAlias$$$$_handleTouchMovement$$($deltaX$$9$$, $deltaY$$10$$) {
  var $scrollAmount$$ = $deltaX$$9$$;
  this.$_isVertical$ && ($scrollAmount$$ = $deltaY$$10$$);
  0 != $scrollAmount$$ && $JSCompiler_StaticMethods__scrollByAmount$$(this, -$scrollAmount$$, $JSCompiler_alias_TRUE$$)
};
$JSCompiler_prototypeAlias$$.$HandleDomMouseMove$ = function $$JSCompiler_prototypeAlias$$$$HandleDomMouseMove$$($component$$425$$, $domEvent$$13$$) {
  if(!("hover" != this.$_POP_OUT$ || "oneByOne" == this.$_displayItems$) && this.$_virtInitialized$ && !this.$_duringThumbDrag$ && !this.$_duringDataBodyDrag$) {
    var $target$$99$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($domEvent$$13$$);
    $JSCompiler_StaticMethods__updateHoverState$$(this, $target$$99$$)
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.HandleDomMouseMove", {$HandleDomMouseMove$:$AdfDhtmlCarouselPeer$$.prototype.$HandleDomMouseMove$});
function $JSCompiler_StaticMethods__updateHoverState$$($JSCompiler_StaticMethods__updateHoverState$self$$, $target$$100$$) {
  if($target$$100$$ && !$JSCompiler_StaticMethods__updateHoverState$self$$.$_isEmpty$) {
    var $attrs$$2_row$$10$$ = $JSCompiler_StaticMethods__getRowKeyAndRow$$($target$$100$$, $JSCompiler_StaticMethods__updateHoverState$self$$.$getDomElement$());
    if($attrs$$2_row$$10$$ != $JSCompiler_alias_NULL$$) {
      var $rowKey$$17$$ = $attrs$$2_row$$10$$[0], $attrs$$2_row$$10$$ = $attrs$$2_row$$10$$[1];
      if($rowKey$$17$$ != $JSCompiler_alias_NULL$$) {
        if($JSCompiler_StaticMethods__updateHoverState$self$$.$_currentItemKey$ != $rowKey$$17$$ && $rowKey$$17$$ != $JSCompiler_alias_NULL$$) {
          var $rowData$$ = $JSCompiler_StaticMethods__updateHoverState$self$$.$_findRowByKey$($JSCompiler_StaticMethods__updateHoverState$self$$.$_currentItemKey$, $JSCompiler_alias_TRUE$$);
          $rowData$$ ? $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$$($JSCompiler_StaticMethods__updateHoverState$self$$, $rowData$$.$row$, $JSCompiler_alias_NULL$$, $JSCompiler_alias_FALSE$$, {$hoverKey$:$rowKey$$17$$, $hoverWrapper$:$attrs$$2_row$$10$$}) : $AdfLogger$$.$LOGGER$.severe('During _updateHoverState, a null rowData was found for "' + $JSCompiler_StaticMethods__updateHoverState$self$$.$_currentItemKey$ + '".')
        }else {
          $JSCompiler_StaticMethods__cleanUpHoverState$$($JSCompiler_StaticMethods__updateHoverState$self$$)
        }
      }
    }
  }
}
function $JSCompiler_StaticMethods__cleanUpHoverState$$($JSCompiler_StaticMethods__cleanUpHoverState$self$$) {
  if($JSCompiler_StaticMethods__cleanUpHoverState$self$$.$_lastHoverKey$ != $JSCompiler_alias_NULL$$) {
    var $animateRequired_rowData$$1$$ = $JSCompiler_alias_TRUE$$;
    $JSCompiler_StaticMethods__cleanUpHoverState$self$$.$_currentItemKey$ == $JSCompiler_StaticMethods__cleanUpHoverState$self$$.$_lastHoverKey$ && ($animateRequired_rowData$$1$$ = $JSCompiler_alias_FALSE$$);
    $JSCompiler_StaticMethods__cleanUpHoverState$self$$.$_lastHoverKey$ = $JSCompiler_alias_NULL$$;
    $animateRequired_rowData$$1$$ && (($animateRequired_rowData$$1$$ = $JSCompiler_StaticMethods__cleanUpHoverState$self$$.$_findRowByKey$($JSCompiler_StaticMethods__cleanUpHoverState$self$$.$_currentItemKey$, $JSCompiler_alias_TRUE$$)) ? $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$$($JSCompiler_StaticMethods__cleanUpHoverState$self$$, $animateRequired_rowData$$1$$.$row$, $JSCompiler_alias_NULL$$, $JSCompiler_alias_FALSE$$, {$hoverKey$:$JSCompiler_alias_NULL$$, $hoverWrapper$:$JSCompiler_alias_NULL$$}) : 
    $AdfLogger$$.$LOGGER$.severe('During _cleanUpHoverState, a null rowData was found for "' + $JSCompiler_StaticMethods__cleanUpHoverState$self$$.$_currentItemKey$ + '".'))
  }
}
$AdfDhtmlCarouselPeer$$.prototype.$HandleComponentMouseOut$ = function $$AdfDhtmlCarouselPeer$$$$$HandleComponentMouseOut$$($agent$$151_componentEvent$$67_spinNextElem$$2$$) {
  if(this.$_virtInitialized$ && this.$_isOwnComponentEvent$($agent$$151_componentEvent$$67_spinNextElem$$2$$)) {
    if(this.$_incrementMouseHoldMode$) {
      var $domEvent$$14_target$$101$$ = $agent$$151_componentEvent$$67_spinNextElem$$2$$.$getNativeEvent$();
      $agent$$151_componentEvent$$67_spinNextElem$$2$$ = $AdfAgent$$.$AGENT$;
      var $domEvent$$14_target$$101$$ = $agent$$151_componentEvent$$67_spinNextElem$$2$$.$getEventTarget$($domEvent$$14_target$$101$$), $id$$256$$ = this.$getComponent$().$getClientId$(), $spinPrevElem$$2$$ = $agent$$151_componentEvent$$67_spinNextElem$$2$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$256$$, "sp"));
      $agent$$151_componentEvent$$67_spinNextElem$$2$$ = $agent$$151_componentEvent$$67_spinNextElem$$2$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$256$$, "sn"));
      if($domEvent$$14_target$$101$$.id == $spinPrevElem$$2$$.id || $domEvent$$14_target$$101$$.id == $agent$$151_componentEvent$$67_spinNextElem$$2$$.id) {
        self.clearInterval(this.$_incrementMouseHoldTimerId$), this.$_incrementMouseHoldMode$ = this.$_incrementMouseHoldTimerId$ = $JSCompiler_alias_NULL$$
      }
    }else {
      $JSCompiler_StaticMethods__cleanUpHoverState$$(this)
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.HandleComponentMouseOut", {$HandleComponentMouseOut$:$AdfDhtmlCarouselPeer$$.prototype.$HandleComponentMouseOut$});
$AdfDhtmlCarouselPeer$$.prototype.$HandleComponentMouseUp$ = function $$AdfDhtmlCarouselPeer$$$$$HandleComponentMouseUp$$($componentEvent$$68_domEvent$$15$$) {
  if(this.$_virtInitialized$ && this.$_isOwnComponentEvent$($componentEvent$$68_domEvent$$15$$) && this.$_incrementMouseHoldMode$) {
    $componentEvent$$68_domEvent$$15$$ = $componentEvent$$68_domEvent$$15$$.$getNativeEvent$();
    var $agent$$152$$ = $AdfAgent$$.$AGENT$, $target$$102$$ = $agent$$152$$.$getEventTarget$($componentEvent$$68_domEvent$$15$$), $id$$257_spinNextElem$$3$$ = this.$getComponent$().$getClientId$(), $spinPrevElem$$3$$ = $agent$$152$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$257_spinNextElem$$3$$, "sp")), $id$$257_spinNextElem$$3$$ = $agent$$152$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$257_spinNextElem$$3$$, "sn"));
    if($target$$102$$.id == $spinPrevElem$$3$$.id || $target$$102$$.id == $id$$257_spinNextElem$$3$$.id) {
      self.clearInterval(this.$_incrementMouseHoldTimerId$), this.$_incrementMouseHoldMode$ = this.$_incrementMouseHoldTimerId$ = $JSCompiler_alias_NULL$$, $agent$$152$$.$eatEvent$($componentEvent$$68_domEvent$$15$$)
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.HandleComponentMouseUp", {$HandleComponentMouseUp$:$AdfDhtmlCarouselPeer$$.prototype.$HandleComponentMouseUp$});
$AdfDhtmlCarouselPeer$$.prototype.$HandleComponentMouseDown$ = function $$AdfDhtmlCarouselPeer$$$$$HandleComponentMouseDown$$($componentEvent$$69_target$$103$$) {
  if(this.$_virtInitialized$ && this.$_isOwnComponentEvent$($componentEvent$$69_target$$103$$)) {
    var $domEvent$$16_holdMode$$ = $componentEvent$$69_target$$103$$.$getNativeEvent$(), $agent$$153$$ = $AdfAgent$$.$AGENT$;
    $componentEvent$$69_target$$103$$ = $agent$$153$$.$getEventTarget$($domEvent$$16_holdMode$$);
    if($agent$$153$$.$isLeftButton$($domEvent$$16_holdMode$$)) {
      if($componentEvent$$69_target$$103$$ && $componentEvent$$69_target$$103$$.id) {
        var $dataBody$$7_id$$258_rowData$$2_spinNextElem$$4$$ = this.$getComponent$().$getClientId$();
        if("none" != this.$_controlArea$) {
          if("small" != this.$_controlArea$ && "compact" != this.$_controlArea$) {
            var $spinPrevElem$$4_spinThumbElem$$ = $agent$$153$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($dataBody$$7_id$$258_rowData$$2_spinNextElem$$4$$, "st"));
            $componentEvent$$69_target$$103$$.id == $spinPrevElem$$4_spinThumbElem$$.id && ($agent$$153$$.$eatEvent$($domEvent$$16_holdMode$$), this.$_duringThumbDrag$ = $JSCompiler_alias_TRUE$$, $AdfPage$$.$PAGE$.$startDrag$($domEvent$$16_holdMode$$, this.$createCallback$(this.$_handleThumbDragPositioning$), this.$createCallback$(this.$_finishThumbDrag$)))
          }
          $spinPrevElem$$4_spinThumbElem$$ = $agent$$153$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($dataBody$$7_id$$258_rowData$$2_spinNextElem$$4$$, "sp"));
          $dataBody$$7_id$$258_rowData$$2_spinNextElem$$4$$ = $agent$$153$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($dataBody$$7_id$$258_rowData$$2_spinNextElem$$4$$, "sn"));
          if($componentEvent$$69_target$$103$$.id == $spinPrevElem$$4_spinThumbElem$$.id || $componentEvent$$69_target$$103$$.id == $dataBody$$7_id$$258_rowData$$2_spinNextElem$$4$$.id) {
            $domEvent$$16_holdMode$$ = "prev";
            $componentEvent$$69_target$$103$$.id == $dataBody$$7_id$$258_rowData$$2_spinNextElem$$4$$.id && ($domEvent$$16_holdMode$$ = "next");
            this.$_incrementMouseHoldMode$ = $domEvent$$16_holdMode$$;
            this.$_incrementMouseHoldTimerId$ = self.setInterval(this.$createCallback$(this.$_initMouseHoldIncrementRepeat$), 1E3);
            return
          }
        }
      }
      $dataBody$$7_id$$258_rowData$$2_spinNextElem$$4$$ = this.$_getDataBody$();
      $AdfDomUtils$$.$isAncestorOrSelf$($dataBody$$7_id$$258_rowData$$2_spinNextElem$$4$$, $componentEvent$$69_target$$103$$) && this.$_currentItemKey$ && ($dataBody$$7_id$$258_rowData$$2_spinNextElem$$4$$ = this.$_findRowByKey$(this.$_currentItemKey$, $JSCompiler_alias_FALSE$$), $dataBody$$7_id$$258_rowData$$2_spinNextElem$$4$$ != $JSCompiler_alias_NULL$$ && !$AdfDomUtils$$.$isAncestorOrSelf$($dataBody$$7_id$$258_rowData$$2_spinNextElem$$4$$.$row$, $componentEvent$$69_target$$103$$) && ($agent$$153$$.$eatEvent$($domEvent$$16_holdMode$$), 
      this.$_duringDataBodyDrag$ = $JSCompiler_alias_TRUE$$, $AdfPage$$.$PAGE$.$startDrag$($domEvent$$16_holdMode$$, this.$createCallback$(this.$_handleDataBodyDragPositioning$), this.$createCallback$(this.$_finishDataBodyDrag$))))
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.HandleComponentMouseDown", {$HandleComponentMouseDown$:$AdfDhtmlCarouselPeer$$.prototype.$HandleComponentMouseDown$});
$JSCompiler_prototypeAlias$$ = $AdfDhtmlCarouselPeer$$.prototype;
$JSCompiler_prototypeAlias$$.$_initMouseHoldIncrementRepeat$ = function $$JSCompiler_prototypeAlias$$$$_initMouseHoldIncrementRepeat$$() {
  self.clearInterval(this.$_incrementMouseHoldTimerId$);
  this.$_incrementMouseHoldTimerId$ = self.setInterval(this.$createCallback$(this.$_incrementCarouselPosition$), 100)
};
$JSCompiler_prototypeAlias$$.$_incrementCarouselPosition$ = function $$JSCompiler_prototypeAlias$$$$_incrementCarouselPosition$$() {
  "prev" == this.$_incrementMouseHoldMode$ ? $JSCompiler_StaticMethods__initiateSpinPreviousAnimation$$(this) : "next" == this.$_incrementMouseHoldMode$ && $JSCompiler_StaticMethods__initiateSpinNextAnimation$$(this)
};
$JSCompiler_prototypeAlias$$.$_handleThumbDragPositioning$ = function $$JSCompiler_prototypeAlias$$$$_handleThumbDragPositioning$$($barOffsetHeight_domEvent$$17$$) {
  var $agent$$154_newXFactor_newYFactor$$ = $AdfAgent$$.$AGENT$, $component$$429_id$$259_spinBarElem$$ = this.$getComponent$();
  if($component$$429_id$$259_spinBarElem$$ != $JSCompiler_alias_NULL$$) {
    var $component$$429_id$$259_spinBarElem$$ = $component$$429_id$$259_spinBarElem$$.$getClientId$(), $component$$429_id$$259_spinBarElem$$ = $agent$$154_newXFactor_newYFactor$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($component$$429_id$$259_spinBarElem$$, "sb")), $mousePosition$$2$$ = $agent$$154_newXFactor_newYFactor$$.$getMousePosition$($barOffsetHeight_domEvent$$17$$);
    this.$_isVertical$ ? ($barOffsetHeight_domEvent$$17$$ = $component$$429_id$$259_spinBarElem$$.offsetHeight, $agent$$154_newXFactor_newYFactor$$ = $agent$$154_newXFactor_newYFactor$$.$getElementTop$($component$$429_id$$259_spinBarElem$$) + $barOffsetHeight_domEvent$$17$$ - $mousePosition$$2$$.y, $agent$$154_newXFactor_newYFactor$$ = 1 - $agent$$154_newXFactor_newYFactor$$ / $barOffsetHeight_domEvent$$17$$) : ($agent$$154_newXFactor_newYFactor$$ = $mousePosition$$2$$.x - $agent$$154_newXFactor_newYFactor$$.$getElementLeft$($component$$429_id$$259_spinBarElem$$), 
    $agent$$154_newXFactor_newYFactor$$ /= $component$$429_id$$259_spinBarElem$$.offsetWidth, $AdfDhtmlCarouselPeer$$.$_isRTL$() && ($agent$$154_newXFactor_newYFactor$$ = 1 - $agent$$154_newXFactor_newYFactor$$));
    $JSCompiler_StaticMethods__updateTransientDragPosition$$(this, $agent$$154_newXFactor_newYFactor$$);
    $JSCompiler_StaticMethods__initiateSpinPercentAnimation$$(this, $agent$$154_newXFactor_newYFactor$$)
  }
};
$JSCompiler_prototypeAlias$$.$_finishThumbDrag$ = function $$JSCompiler_prototypeAlias$$$$_finishThumbDrag$$($domEvent$$18$$) {
  delete this.$_duringThumbDrag$;
  this.$_handleThumbDragPositioning$($domEvent$$18$$)
};
$JSCompiler_prototypeAlias$$.$_handleDataBodyDragPositioning$ = function $$JSCompiler_prototypeAlias$$$$_handleDataBodyDragPositioning$$($domEvent$$19_scrollAmount$$1$$, $deltaX$$12$$, $deltaY$$13$$) {
  $domEvent$$19_scrollAmount$$1$$ = $deltaX$$12$$;
  this.$_isVertical$ && ($domEvent$$19_scrollAmount$$1$$ = $deltaY$$13$$);
  0 != $domEvent$$19_scrollAmount$$1$$ && $JSCompiler_StaticMethods__scrollByAmount$$(this, -$domEvent$$19_scrollAmount$$1$$, $JSCompiler_alias_TRUE$$)
};
$JSCompiler_prototypeAlias$$.$_finishDataBodyDrag$ = function $$JSCompiler_prototypeAlias$$$$_finishDataBodyDrag$$() {
  delete this.$_duringDataBodyDrag$;
  this.$_queuedScrollAmount$ = $JSCompiler_alias_NULL$$
};
function $JSCompiler_StaticMethods__getRowIndexFromThumbPos$$($JSCompiler_StaticMethods__getRowIndexFromThumbPos$self$$) {
  var $agent$$155_factor$$1$$ = $AdfAgent$$.$AGENT$, $id$$260_spinBarElem$$1$$ = $JSCompiler_StaticMethods__getRowIndexFromThumbPos$self$$.$getComponent$().$getClientId$();
  if("small" == $JSCompiler_StaticMethods__getRowIndexFromThumbPos$self$$.$_controlArea$ || "compact" == $JSCompiler_StaticMethods__getRowIndexFromThumbPos$self$$.$_controlArea$ || "none" == $JSCompiler_StaticMethods__getRowIndexFromThumbPos$self$$.$_controlArea$) {
    $agent$$155_factor$$1$$ = $JSCompiler_StaticMethods__getCurrentPercent$$($JSCompiler_StaticMethods__getRowIndexFromThumbPos$self$$)
  }else {
    var $rowCount$$2_spinThumbElem$$1$$ = $agent$$155_factor$$1$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$260_spinBarElem$$1$$, "st")), $id$$260_spinBarElem$$1$$ = $agent$$155_factor$$1$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$260_spinBarElem$$1$$, "sb"));
    if($JSCompiler_StaticMethods__getRowIndexFromThumbPos$self$$.$_isVertical$) {
      var $barOffsetHeight$$1$$ = $id$$260_spinBarElem$$1$$.offsetHeight, $agent$$155_factor$$1$$ = $agent$$155_factor$$1$$.$getElementTop$($id$$260_spinBarElem$$1$$) + $barOffsetHeight$$1$$ - $agent$$155_factor$$1$$.$getElementTop$($rowCount$$2_spinThumbElem$$1$$), $agent$$155_factor$$1$$ = 1 - $agent$$155_factor$$1$$ / $barOffsetHeight$$1$$
    }else {
      $agent$$155_factor$$1$$ = $agent$$155_factor$$1$$.$getElementLeft$($rowCount$$2_spinThumbElem$$1$$) - $agent$$155_factor$$1$$.$getElementLeft$($id$$260_spinBarElem$$1$$), $agent$$155_factor$$1$$ /= $id$$260_spinBarElem$$1$$.offsetWidth, $AdfDhtmlCarouselPeer$$.$_isRTL$() && ($agent$$155_factor$$1$$ = 1 - $agent$$155_factor$$1$$)
    }
  }
  $rowCount$$2_spinThumbElem$$1$$ = $JSCompiler_StaticMethods__getRowIndexFromThumbPos$self$$.$_rowCount$;
  -1 == $rowCount$$2_spinThumbElem$$1$$ && ($rowCount$$2_spinThumbElem$$1$$ = $JSCompiler_StaticMethods__getRowIndexFromThumbPos$self$$.$_knownRowCount$ + $AdfDhtmlCarouselPeer$$.$_FETCH_MORE_ITEM_COUNT$);
  return Math.max(0, Math.round($agent$$155_factor$$1$$ * ($rowCount$$2_spinThumbElem$$1$$ - 1)))
}
$JSCompiler_prototypeAlias$$.$HandleComponentClick$ = function $$JSCompiler_prototypeAlias$$$$HandleComponentClick$$($componentEvent$$70_oldCurrentItemKey$$inline_5233_spinBarElem$$2$$) {
  if(this.$_isOwnComponentEvent$($componentEvent$$70_oldCurrentItemKey$$inline_5233_spinBarElem$$2$$)) {
    var $agent$$156_newXFactor$$1_newYFactor$$1_rowKey$$18$$ = $AdfAgent$$.$AGENT$, $domEvent$$21_mousePosition$$3_row$$11$$ = $componentEvent$$70_oldCurrentItemKey$$inline_5233_spinBarElem$$2$$.$getNativeEvent$(), $barOffsetHeight$$2_target$$104$$ = $agent$$156_newXFactor$$1_newYFactor$$1_rowKey$$18$$.$getEventTarget$($domEvent$$21_mousePosition$$3_row$$11$$);
    if($barOffsetHeight$$2_target$$104$$ && !this.$_isEmpty$) {
      var $attrs$$3_id$$261$$ = $JSCompiler_StaticMethods__getRowKeyAndRow$$($barOffsetHeight$$2_target$$104$$, this.$getDomElement$());
      $attrs$$3_id$$261$$ != $JSCompiler_alias_NULL$$ ? ($agent$$156_newXFactor$$1_newYFactor$$1_rowKey$$18$$ = $attrs$$3_id$$261$$[0], $domEvent$$21_mousePosition$$3_row$$11$$ = $attrs$$3_id$$261$$[1], $agent$$156_newXFactor$$1_newYFactor$$1_rowKey$$18$$ != $JSCompiler_alias_NULL$$ && ($componentEvent$$70_oldCurrentItemKey$$inline_5233_spinBarElem$$2$$.$isLeftButtonPressed$() && this.$_currentItemKey$ != $agent$$156_newXFactor$$1_newYFactor$$1_rowKey$$18$$ && $agent$$156_newXFactor$$1_newYFactor$$1_rowKey$$18$$ != 
      $JSCompiler_alias_NULL$$) && (this.$_cancelPendingFetch$(), this.$_pendingTimeout$ && window.clearTimeout(this.$_pendingTimeout$), this.$getComponent$().getDisabled() || ($componentEvent$$70_oldCurrentItemKey$$inline_5233_spinBarElem$$2$$ = this.$_currentItemKey$, $JSCompiler_StaticMethods__updateCurrentItemKey$$(this, $agent$$156_newXFactor$$1_newYFactor$$1_rowKey$$18$$) && $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$$(this, $domEvent$$21_mousePosition$$3_row$$11$$, 
      $componentEvent$$70_oldCurrentItemKey$$inline_5233_spinBarElem$$2$$, $JSCompiler_alias_TRUE$$)))) : "small" != this.$_controlArea$ && ("compact" != this.$_controlArea$ && "none" != this.$_controlArea$) && ($attrs$$3_id$$261$$ = this.$getComponent$().$getClientId$(), $componentEvent$$70_oldCurrentItemKey$$inline_5233_spinBarElem$$2$$ = $agent$$156_newXFactor$$1_newYFactor$$1_rowKey$$18$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($attrs$$3_id$$261$$, "sb")), $barOffsetHeight$$2_target$$104$$.id == 
      $componentEvent$$70_oldCurrentItemKey$$inline_5233_spinBarElem$$2$$.id && ($domEvent$$21_mousePosition$$3_row$$11$$ = $agent$$156_newXFactor$$1_newYFactor$$1_rowKey$$18$$.$getMousePosition$($domEvent$$21_mousePosition$$3_row$$11$$), $agent$$156_newXFactor$$1_newYFactor$$1_rowKey$$18$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($attrs$$3_id$$261$$, "st")).focus(), this.$_isVertical$ ? ($barOffsetHeight$$2_target$$104$$ = $componentEvent$$70_oldCurrentItemKey$$inline_5233_spinBarElem$$2$$.offsetHeight, 
      $agent$$156_newXFactor$$1_newYFactor$$1_rowKey$$18$$ = $agent$$156_newXFactor$$1_newYFactor$$1_rowKey$$18$$.$getElementTop$($componentEvent$$70_oldCurrentItemKey$$inline_5233_spinBarElem$$2$$) + $barOffsetHeight$$2_target$$104$$ - $domEvent$$21_mousePosition$$3_row$$11$$.y, $agent$$156_newXFactor$$1_newYFactor$$1_rowKey$$18$$ = 1 - $agent$$156_newXFactor$$1_newYFactor$$1_rowKey$$18$$ / $barOffsetHeight$$2_target$$104$$) : ($agent$$156_newXFactor$$1_newYFactor$$1_rowKey$$18$$ = $domEvent$$21_mousePosition$$3_row$$11$$.x - 
      $agent$$156_newXFactor$$1_newYFactor$$1_rowKey$$18$$.$getElementLeft$($componentEvent$$70_oldCurrentItemKey$$inline_5233_spinBarElem$$2$$), $agent$$156_newXFactor$$1_newYFactor$$1_rowKey$$18$$ /= $componentEvent$$70_oldCurrentItemKey$$inline_5233_spinBarElem$$2$$.offsetWidth, $AdfDhtmlCarouselPeer$$.$_isRTL$() && ($agent$$156_newXFactor$$1_newYFactor$$1_rowKey$$18$$ = 1 - $agent$$156_newXFactor$$1_newYFactor$$1_rowKey$$18$$)), $JSCompiler_StaticMethods__initiateSpinPercentAnimation$$(this, 
      $agent$$156_newXFactor$$1_newYFactor$$1_rowKey$$18$$, $JSCompiler_StaticMethods__getCurrentPercent$$(this))))
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlCarouselPeer$$.prototype.$HandleComponentClick$});
$JSCompiler_prototypeAlias$$ = $AdfDhtmlCarouselPeer$$.prototype;
$JSCompiler_prototypeAlias$$.$_fillViewPort$ = function $$JSCompiler_prototypeAlias$$$$_fillViewPort$$($dataBody$$8$$, $delay$$3$$, $isScroll$$) {
  var $missing$$1$$ = $AdfDhtmlCarouselPeer$$.$VIEWPORT_SATISFIED$;
  if(0 < this.$_knownRowCount$) {
    var $missing$$1$$ = this.$_isViewportSatisfied$($dataBody$$8$$), $gapBefore$$ = 0 != ($missing$$1$$ & $AdfDhtmlCarouselPeer$$.$MISSING_BEFORE$), $gapAfter$$ = 0 != ($missing$$1$$ & $AdfDhtmlCarouselPeer$$.$MISSING_AFTER$);
    $missing$$1$$ == $AdfDhtmlCarouselPeer$$.$VIEWPORT_SATISFIED$ ? (this.$_hideStatus$(), $AdfDhtmlCarouselPeer$$.$_setCursor$($dataBody$$8$$, "")) : $gapBefore$$ ? $JSCompiler_StaticMethods__addBefore$$(this, $dataBody$$8$$, $delay$$3$$, $isScroll$$) : $gapAfter$$ && $JSCompiler_StaticMethods__addAfter$$(this, $dataBody$$8$$, $delay$$3$$, $isScroll$$)
  }
  return $missing$$1$$
};
$JSCompiler_prototypeAlias$$.$_isViewportSatisfied$ = function $$JSCompiler_prototypeAlias$$$$_isViewportSatisfied$$($dataBody$$9_missing$$2$$) {
  var $block$$3_nextIndex$$4$$ = $dataBody$$9_missing$$2$$.firstChild;
  $dataBody$$9_missing$$2$$ = $AdfDhtmlCarouselPeer$$.$NO_BLOCKS$;
  if($block$$3_nextIndex$$4$$ && ($dataBody$$9_missing$$2$$ = $AdfDhtmlCarouselPeer$$.$VIEWPORT_SATISFIED$, !this.$_allRowsAvailableOnClient$($block$$3_nextIndex$$4$$))) {
    var $vertical$$5$$ = this.$_isVertical$, $rowData$$3_selectedIndex$$ = this.$_findRowByKey$(this.$_currentItemKey$, $JSCompiler_alias_TRUE$$);
    if(!$rowData$$3_selectedIndex$$) {
      return $AdfLogger$$.$LOGGER$.severe('When checking _isViewportSatisfied, a null rowData was found for "' + this.$_currentItemKey$ + '".'), $AdfDhtmlCarouselPeer$$.$VIEWPORT_SATISFIED$
    }
    var $rowData$$3_selectedIndex$$ = $rowData$$3_selectedIndex$$.index, $auxData_previousIndex$$ = $block$$3_nextIndex$$4$$.$startRow$ - 1, $block$$3_nextIndex$$4$$ = $block$$3_nextIndex$$4$$.$startRow$ + $JSCompiler_StaticMethods__getNumberOfRows$$($block$$3_nextIndex$$4$$), $rowCount$$3$$ = this.$_rowCount$;
    -1 == $rowCount$$3$$ && ($rowCount$$3$$ = this.$_knownRowCount$ + $AdfDhtmlCarouselPeer$$.$_FETCH_MORE_ITEM_COUNT$);
    if("oneByOne" == this.$_displayItems$) {
      0 <= $auxData_previousIndex$$ && $auxData_previousIndex$$ == $rowData$$3_selectedIndex$$ - 1 && ($dataBody$$9_missing$$2$$ |= $AdfDhtmlCarouselPeer$$.$MISSING_BEFORE$), $block$$3_nextIndex$$4$$ < $rowCount$$3$$ && $block$$3_nextIndex$$4$$ == $rowData$$3_selectedIndex$$ + 1 && ($dataBody$$9_missing$$2$$ |= $AdfDhtmlCarouselPeer$$.$MISSING_AFTER$)
    }else {
      var $component$$431_valign$$ = this.$getComponent$(), $dataBodyWidth$$ = this.$_dataBodyWidth$, $dataBodyHeight$$ = this.$_dataBodyHeight$, $halign$$ = $component$$431_valign$$.getHalign(), $component$$431_valign$$ = $component$$431_valign$$.getValign();
      if(0 <= $auxData_previousIndex$$ && ($auxData_previousIndex$$ = $JSCompiler_StaticMethods__getAuxShiftSizeAndOpacity$$(this, $rowData$$3_selectedIndex$$ - $auxData_previousIndex$$), 5 < $auxData_previousIndex$$.$auxSize$ && ($vertical$$5$$ && 0 < $JSCompiler_StaticMethods__getValignTop$$(this, $vertical$$5$$, $component$$431_valign$$, $dataBodyHeight$$, $auxData_previousIndex$$.$auxSize$, -$auxData_previousIndex$$.$auxShift$) || !$vertical$$5$$ && 0 < $JSCompiler_StaticMethods__getHalignLeft$$(this, 
      $vertical$$5$$, $halign$$, $dataBodyWidth$$, $auxData_previousIndex$$.$auxSize$, -$auxData_previousIndex$$.$auxShift$)))) {
        $dataBody$$9_missing$$2$$ |= $AdfDhtmlCarouselPeer$$.$MISSING_BEFORE$
      }
      if($block$$3_nextIndex$$4$$ < $rowCount$$3$$ && ($auxData_previousIndex$$ = $JSCompiler_StaticMethods__getAuxShiftSizeAndOpacity$$(this, $block$$3_nextIndex$$4$$ - $rowData$$3_selectedIndex$$), 5 < $auxData_previousIndex$$.$auxSize$ && ($vertical$$5$$ && $JSCompiler_StaticMethods__getValignTop$$(this, $vertical$$5$$, $component$$431_valign$$, $dataBodyHeight$$, $auxData_previousIndex$$.$auxSize$, $auxData_previousIndex$$.$auxShift$) < $dataBodyHeight$$ || !$vertical$$5$$ && $JSCompiler_StaticMethods__getHalignLeft$$(this, 
      $vertical$$5$$, $halign$$, $dataBodyWidth$$, $auxData_previousIndex$$.$auxSize$, $auxData_previousIndex$$.$auxShift$) < $dataBodyWidth$$))) {
        $dataBody$$9_missing$$2$$ |= $AdfDhtmlCarouselPeer$$.$MISSING_AFTER$
      }
    }
  }
  return $dataBody$$9_missing$$2$$
};
function $JSCompiler_StaticMethods__addBefore$$($JSCompiler_StaticMethods__addBefore$self$$, $dataBody$$10_index$$99$$, $delay$$4$$, $isScroll$$1$$) {
  var $block$$4_key$$44$$ = $dataBody$$10_index$$99$$.firstChild;
  $dataBody$$10_index$$99$$ = $block$$4_key$$44$$.$startRow$;
  $block$$4_key$$44$$ = $AdfAgent$$.$AGENT$.getAttribute($JSCompiler_StaticMethods__getFirstNonPlaceholder$$($block$$4_key$$44$$), $AdfDhtmlCarouselPeer$$.$_ROW_KEY$);
  $JSCompiler_StaticMethods__addBefore$self$$.$_startFetch$($AdfCarouselDataFetchEvent$$.$BEFORE_KEY_SUBTYPE$, $dataBody$$10_index$$99$$, $block$$4_key$$44$$, $delay$$4$$, !$isScroll$$1$$)
}
function $JSCompiler_StaticMethods__addAfter$$($JSCompiler_StaticMethods__addAfter$self$$, $dataBody$$11_index$$100$$, $delay$$5$$, $isScroll$$2$$) {
  var $block$$5_key$$45$$ = $dataBody$$11_index$$100$$.firstChild;
  $dataBody$$11_index$$100$$ = $block$$5_key$$45$$.$startRow$ + $JSCompiler_StaticMethods__getNumberOfRows$$($block$$5_key$$45$$) - 1;
  $block$$5_key$$45$$ = $AdfAgent$$.$AGENT$.getAttribute($JSCompiler_StaticMethods__getLastNonPlaceholder$$($block$$5_key$$45$$), $AdfDhtmlCarouselPeer$$.$_ROW_KEY$);
  $JSCompiler_StaticMethods__addAfter$self$$.$_startFetch$($AdfCarouselDataFetchEvent$$.$AFTER_KEY_SUBTYPE$, $dataBody$$11_index$$100$$, $block$$5_key$$45$$, $delay$$5$$, !$isScroll$$2$$)
}
$JSCompiler_prototypeAlias$$.$_handleLongJump$ = function $$JSCompiler_prototypeAlias$$$$_handleLongJump$$($dataBody$$12$$, $desiredRowKey_index$$101$$, $delay$$6$$, $isScroll$$3$$) {
  var $row$$12_where$$ = $JSCompiler_alias_NULL$$, $halfSize_start$$10$$, $end$$4$$, $addBefore_size$$15$$ = this.$getComponent$().getFetchSize(), $laf$$18$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$(), $block$$6_rowCount$$4$$ = this.$_rowCount$;
  $halfSize_start$$10$$ = Math.ceil($addBefore_size$$15$$ / 2);
  0 <= $desiredRowKey_index$$101$$ - $halfSize_start$$10$$ ? $halfSize_start$$10$$ = $desiredRowKey_index$$101$$ - $halfSize_start$$10$$ : ($row$$12_where$$ = $laf$$18$$.$getTranslatedString$("af_carousel.LABEL_START"), $halfSize_start$$10$$ = 0);
  -1 != $block$$6_rowCount$$4$$ ? $halfSize_start$$10$$ + $addBefore_size$$15$$ < $block$$6_rowCount$$4$$ ? $end$$4$$ = $halfSize_start$$10$$ + $addBefore_size$$15$$ - 1 : ($end$$4$$ = $block$$6_rowCount$$4$$ - 1, $row$$12_where$$ = $laf$$18$$.$getTranslatedString$("af_carousel.LABEL_END")) : $end$$4$$ = $halfSize_start$$10$$ + $addBefore_size$$15$$ - 1;
  $row$$12_where$$ == $JSCompiler_alias_NULL$$ && ($row$$12_where$$ = $laf$$18$$.$getTranslatedString$("af_carousel.LABEL_ITEM", 1 + $desiredRowKey_index$$101$$));
  $JSCompiler_StaticMethods__positionThumbAndSpinInfo$$(this, $desiredRowKey_index$$101$$);
  if($block$$6_rowCount$$4$$ = $dataBody$$12$$.firstChild) {
    var $oldStart$$3$$ = $block$$6_rowCount$$4$$.$startRow$, $oldEnd$$3$$ = $oldStart$$3$$ + $JSCompiler_StaticMethods__getNumberOfRows$$($block$$6_rowCount$$4$$) - 1;
    if($halfSize_start$$10$$ == $oldStart$$3$$ && $end$$4$$ == $oldEnd$$3$$) {
      return
    }
    var $addAfter$$ = $addBefore_size$$15$$ = $JSCompiler_alias_FALSE$$;
    $halfSize_start$$10$$ >= $oldStart$$3$$ && $desiredRowKey_index$$101$$ <= $oldEnd$$3$$ ? $addAfter$$ = $JSCompiler_alias_TRUE$$ : $end$$4$$ >= $oldStart$$3$$ && ($end$$4$$ <= $oldEnd$$3$$ && $desiredRowKey_index$$101$$ >= $oldStart$$3$$) && ($addBefore_size$$15$$ = $JSCompiler_alias_TRUE$$);
    if($addBefore_size$$15$$ || $addAfter$$) {
      $row$$12_where$$ = $block$$6_rowCount$$4$$.childNodes[$desiredRowKey_index$$101$$ - $oldStart$$3$$ + $JSCompiler_StaticMethods__getNumberOfLeadingPlaceholders$$($block$$6_rowCount$$4$$)];
      $AdfAssert$$.assert($row$$12_where$$ != $JSCompiler_alias_NULL$$, "Unexpected null row A: (" + $JSCompiler_StaticMethods__getNumberOfRows$$($block$$6_rowCount$$4$$) + ", " + $desiredRowKey_index$$101$$ + ", " + $oldStart$$3$$ + ")");
      $desiredRowKey_index$$101$$ = $AdfAgent$$.$AGENT$.getAttribute($row$$12_where$$, $AdfDhtmlCarouselPeer$$.$_ROW_KEY$);
      $JSCompiler_StaticMethods__updateCurrentItemKey$$(this, $desiredRowKey_index$$101$$);
      $addBefore_size$$15$$ ? $JSCompiler_StaticMethods__addBefore$$(this, $dataBody$$12$$, $delay$$6$$, $isScroll$$3$$) : $JSCompiler_StaticMethods__addAfter$$(this, $dataBody$$12$$, $delay$$6$$, $isScroll$$3$$);
      return
    }
  }
  $delay$$6$$ && this.$_displayStatus$($laf$$18$$.$getTranslatedString$("af_carousel.LABEL_GOING_TO", $row$$12_where$$));
  this.$_startFetch$($AdfCarouselDataFetchEvent$$.$AT_INDEX_SUBTYPE$, $desiredRowKey_index$$101$$, $JSCompiler_alias_NULL$$, $delay$$6$$, !$isScroll$$3$$)
};
function $JSCompiler_StaticMethods__deleteOffscreenItems$$($JSCompiler_StaticMethods__deleteOffscreenItems$self$$, $block$$7_dataBody$$13$$, $auxData$$1_deletePrevious$$) {
  $block$$7_dataBody$$13$$ = $block$$7_dataBody$$13$$.firstChild;
  var $i$$178_startRow$$1$$ = $block$$7_dataBody$$13$$.$startRow$, $begin$$11_numRows$$4$$ = $JSCompiler_StaticMethods__getNumberOfRows$$($block$$7_dataBody$$13$$), $dataBodyWidth$$1_firstRow_r$$ = $JSCompiler_StaticMethods__deleteOffscreenItems$self$$.$_dataBodyWidth$, $dataBodyHeight$$1_lastRow$$ = $JSCompiler_StaticMethods__deleteOffscreenItems$self$$.$_dataBodyHeight$, $component$$432$$ = $JSCompiler_StaticMethods__deleteOffscreenItems$self$$.$getComponent$(), $end$$5_fetchSize$$ = $component$$432$$.getFetchSize(), 
  $halign$$1$$ = $component$$432$$.getHalign(), $valign$$1$$ = $component$$432$$.getValign(), $index$$102_rowData$$4$$ = $JSCompiler_StaticMethods__deleteOffscreenItems$self$$.$_findRowByKey$($JSCompiler_StaticMethods__deleteOffscreenItems$self$$.$_currentItemKey$, $JSCompiler_alias_FALSE$$), $vertical$$6$$ = $JSCompiler_StaticMethods__deleteOffscreenItems$self$$.$_isVertical$;
  if($index$$102_rowData$$4$$) {
    if($index$$102_rowData$$4$$ = $index$$102_rowData$$4$$.index, $auxData$$1_deletePrevious$$) {
      for($begin$$11_numRows$$4$$ = $index$$102_rowData$$4$$ - $end$$5_fetchSize$$;$begin$$11_numRows$$4$$ >= $i$$178_startRow$$1$$;) {
        $auxData$$1_deletePrevious$$ = $JSCompiler_StaticMethods__getAuxShiftSizeAndOpacity$$($JSCompiler_StaticMethods__deleteOffscreenItems$self$$, $index$$102_rowData$$4$$ - $begin$$11_numRows$$4$$);
        if(5 >= $auxData$$1_deletePrevious$$.$auxSize$ || $vertical$$6$$ && 0 >= $JSCompiler_StaticMethods__getValignTop$$($JSCompiler_StaticMethods__deleteOffscreenItems$self$$, $vertical$$6$$, $valign$$1$$, $dataBodyHeight$$1_lastRow$$, $auxData$$1_deletePrevious$$.$auxSize$, -$auxData$$1_deletePrevious$$.$auxShift$) || !$vertical$$6$$ && 0 >= $JSCompiler_StaticMethods__getHalignLeft$$($JSCompiler_StaticMethods__deleteOffscreenItems$self$$, $vertical$$6$$, $halign$$1$$, $dataBodyWidth$$1_firstRow_r$$, 
        $auxData$$1_deletePrevious$$.$auxSize$, -$auxData$$1_deletePrevious$$.$auxShift$)) {
          for(;$i$$178_startRow$$1$$ <= $begin$$11_numRows$$4$$;$i$$178_startRow$$1$$++) {
            $dataBodyWidth$$1_firstRow_r$$ = $JSCompiler_StaticMethods__getFirstNonPlaceholder$$($block$$7_dataBody$$13$$), $JSCompiler_StaticMethods__deleteOffscreenItems$self$$.$_unregisterNode$($dataBodyWidth$$1_firstRow_r$$), $block$$7_dataBody$$13$$.removeChild($dataBodyWidth$$1_firstRow_r$$)
          }
          $block$$7_dataBody$$13$$.$startRow$ = $begin$$11_numRows$$4$$ + 1;
          $block$$7_dataBody$$13$$.$numRows$ = $JSCompiler_StaticMethods__getNumberOfRows$$($block$$7_dataBody$$13$$);
          $JSCompiler_StaticMethods__updateComponentStartAndRowProperties$$($component$$432$$, $block$$7_dataBody$$13$$.$startRow$, $block$$7_dataBody$$13$$.$numRows$);
          break
        }
        $begin$$11_numRows$$4$$--
      }
    }else {
      for($end$$5_fetchSize$$ = $index$$102_rowData$$4$$ + $end$$5_fetchSize$$;$end$$5_fetchSize$$ < $i$$178_startRow$$1$$ + $begin$$11_numRows$$4$$;) {
        $auxData$$1_deletePrevious$$ = $JSCompiler_StaticMethods__getAuxShiftSizeAndOpacity$$($JSCompiler_StaticMethods__deleteOffscreenItems$self$$, $end$$5_fetchSize$$ - $index$$102_rowData$$4$$);
        if(5 >= $auxData$$1_deletePrevious$$.$auxSize$ || $vertical$$6$$ && $JSCompiler_StaticMethods__getValignTop$$($JSCompiler_StaticMethods__deleteOffscreenItems$self$$, $vertical$$6$$, $valign$$1$$, $dataBodyHeight$$1_lastRow$$, $auxData$$1_deletePrevious$$.$auxSize$, $auxData$$1_deletePrevious$$.$auxShift$) >= $dataBodyHeight$$1_lastRow$$ || !$vertical$$6$$ && $JSCompiler_StaticMethods__getHalignLeft$$($JSCompiler_StaticMethods__deleteOffscreenItems$self$$, $vertical$$6$$, $halign$$1$$, $dataBodyWidth$$1_firstRow_r$$, 
        $auxData$$1_deletePrevious$$.$auxSize$, $auxData$$1_deletePrevious$$.$auxShift$) >= $dataBodyWidth$$1_firstRow_r$$) {
          for($dataBodyWidth$$1_firstRow_r$$ = $end$$5_fetchSize$$;$dataBodyWidth$$1_firstRow_r$$ < $i$$178_startRow$$1$$ + $begin$$11_numRows$$4$$;$dataBodyWidth$$1_firstRow_r$$++) {
            $dataBodyHeight$$1_lastRow$$ = $JSCompiler_StaticMethods__getLastNonPlaceholder$$($block$$7_dataBody$$13$$), $JSCompiler_StaticMethods__deleteOffscreenItems$self$$.$_unregisterNode$($dataBodyHeight$$1_lastRow$$), $block$$7_dataBody$$13$$.removeChild($dataBodyHeight$$1_lastRow$$)
          }
          $block$$7_dataBody$$13$$.$numRows$ = $JSCompiler_StaticMethods__getNumberOfRows$$($block$$7_dataBody$$13$$);
          $JSCompiler_StaticMethods__updateComponentStartAndRowProperties$$($component$$432$$, $block$$7_dataBody$$13$$.$startRow$, $block$$7_dataBody$$13$$.$numRows$);
          break
        }
        $end$$5_fetchSize$$++
      }
    }
  }
}
$JSCompiler_prototypeAlias$$.$_unregisterNode$ = function $$JSCompiler_prototypeAlias$$$$_unregisterNode$$($node$$65$$) {
  $AdfPage$$.$PAGE$.$removeComponentsInSubtree$($node$$65$$);
  $AdfAgent$$.$AGENT$.$elementsRemoved$($node$$65$$)
};
$JSCompiler_prototypeAlias$$.$_queueFetchEvent$ = function $$JSCompiler_prototypeAlias$$$$_queueFetchEvent$$($renderOnly$$, $subtype$$6$$, $index$$103$$, $key$$46$$) {
  var $id$$262$$ = this.$_fetchId$++, $component$$433$$ = this.$getComponent$(), $event$$124$$ = new $AdfCarouselDataFetchEvent$$($component$$433$$, $id$$262$$, $subtype$$6$$, $index$$103$$, $key$$46$$);
  $event$$124$$.$setPartial$($JSCompiler_alias_TRUE$$);
  $event$$124$$.$setRenderOnly$($renderOnly$$);
  var $canceled$$ = $JSCompiler_alias_FALSE$$;
  $renderOnly$$ ? $AdfPage$$.$PAGE$.$queueEventToServer$($event$$124$$) : ($JSCompiler_StaticMethods__setEventRootToCurrentItem$$(this, this.$_currentItemKey$, $event$$124$$), $component$$433$$.$queueEvent$($event$$124$$), $canceled$$ = $event$$124$$.$isCanceled$());
  $canceled$$ || (this.$_pendingFetch$ = $subtype$$6$$, this.$_pendingId$ = $id$$262$$, this.$_fetchIndex$ = $index$$103$$, this.$_fetchKey$ = $key$$46$$, this.$_pendingRenderOnly$ = $renderOnly$$, $event$$124$$.$setRoot$($component$$433$$));
  return $canceled$$ ? $JSCompiler_alias_NULL$$ : $event$$124$$
};
$JSCompiler_prototypeAlias$$.$_startFetch$ = function $$JSCompiler_prototypeAlias$$$$_startFetch$$($event$$125_subtype$$7$$, $index$$104_statusText$$1$$, $key$$47$$, $delay$$7_domWindow$$92$$, $renderOnly$$1$$) {
  if(!($event$$125_subtype$$7$$ == this.$_pendingFetch$ && $index$$104_statusText$$1$$ == this.$_fetchIndex$ && $key$$47$$ == this.$_fetchKey$)) {
    if(this.$_pendingTimeout$ && (delete this.$_pendingTimeout$, window.clearTimeout(this.$_pendingTimeout$)), $delay$$7_domWindow$$92$$) {
      $delay$$7_domWindow$$92$$ = $AdfPage$$.$PAGE$.$getDomWindow$();
      var $callback$$42$$ = new Function("var c \x3d arguments.callee;c._self._delNav(c._subtype, c._index, c._key, c._renderOnly);");
      $callback$$42$$._subtype = $event$$125_subtype$$7$$;
      $callback$$42$$._index = $index$$104_statusText$$1$$;
      $callback$$42$$._key = $key$$47$$;
      $callback$$42$$._renderOnly = $renderOnly$$1$$;
      $callback$$42$$._self = this;
      this.$_pendingTimeout$ = $delay$$7_domWindow$$92$$.setTimeout($callback$$42$$, $AdfDhtmlCarouselPeer$$.$_FETCH_DELAY_TIMEOUT$);
      this.$_cancelPendingFetch$()
    }else {
      ($event$$125_subtype$$7$$ = this.$_queueFetchEvent$($renderOnly$$1$$, $event$$125_subtype$$7$$, $index$$104_statusText$$1$$, $key$$47$$)) ? ($index$$104_statusText$$1$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$().$getTranslatedString$("af_carousel.LABEL_FETCHING"), this.$_displayStatus$($index$$104_statusText$$1$$), $AdfDhtmlCarouselPeer$$.$_setCursor$(this.$_getDataBody$(), "wait"), this.$_pruneKeyCache$ && ($event$$125_subtype$$7$$.$setClientTokens$(this.$_collectClientTokens$(this.$_pruneKeyCache$)), 
      this.$_pruneKeyCache$ = $JSCompiler_alias_NULL$$)) : (this.$_hideStatus$(), $JSCompiler_StaticMethods__positionThumbAndSpinInfo$$(this))
    }
  }
};
$AdfDhtmlCarouselPeer$$.prototype._delNav = function $$AdfDhtmlCarouselPeer$$$$_delNav$($subtype$$8$$, $index$$105$$, $key$$48$$, $renderOnly$$2$$) {
  this.$_startFetch$($subtype$$8$$, $index$$105$$, $key$$48$$, $JSCompiler_alias_FALSE$$, $renderOnly$$2$$);
  delete this.$_pendingTimeout$
};
$JSCompiler_prototypeAlias$$ = $AdfDhtmlCarouselPeer$$.prototype;
$JSCompiler_prototypeAlias$$.$_cancelPendingFetch$ = function $$JSCompiler_prototypeAlias$$$$_cancelPendingFetch$$() {
  this.$_pendingRenderOnly$ = this.$_pendingId$ = this.$_fetchKey$ = this.$_fetchIndex$ = this.$_pendingFetch$ = $JSCompiler_alias_VOID$$
};
$JSCompiler_prototypeAlias$$.$_initNewBlock$ = function $$JSCompiler_prototypeAlias$$$$_initNewBlock$$($node$$66$$, $start$$11$$, $size$$16$$) {
  $node$$66$$.$startRow$ = $start$$11$$;
  $node$$66$$.$numRows$ = $size$$16$$
};
function $JSCompiler_StaticMethods__sizeDataBody$$($JSCompiler_StaticMethods__sizeDataBody$self$$, $dataBody$$14_rowData$$5$$, $nextHeight_outerWidth$$4$$, $halign$$2_outerHeight$$5$$) {
  var $agent$$157_spinNextElem$$5$$ = $AdfAgent$$.$AGENT$, $barLeft_component$$434_prevWidth_valign$$2$$ = $JSCompiler_StaticMethods__sizeDataBody$self$$.$getComponent$(), $computedStyle$$6_controlAreaBoxCorrection_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$20_spinPrevElem$$5$$ = $JSCompiler_StaticMethods__sizeDataBody$self$$.$getDomElement$();
  $JSCompiler_StaticMethods__setupInitialPositions$$($JSCompiler_StaticMethods__sizeDataBody$self$$, $barLeft_component$$434_prevWidth_valign$$2$$, $computedStyle$$6_controlAreaBoxCorrection_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$20_spinPrevElem$$5$$);
  var $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ = Math.max(0, $nextHeight_outerWidth$$4$$), $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$ = Math.max(0, $halign$$2_outerHeight$$5$$), $vertical$$7$$ = $JSCompiler_StaticMethods__sizeDataBody$self$$.$_isVertical$;
  $vertical$$7$$ ? $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ = Math.max(0, $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ - $JSCompiler_StaticMethods__sizeDataBody$self$$.$_nonDataBodySize$) : $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$ = Math.max(0, $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$ - $JSCompiler_StaticMethods__sizeDataBody$self$$.$_nonDataBodySize$);
  var $barBottom_selectedSize$$ = $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$;
  $vertical$$7$$ ? ($barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$ -= $JSCompiler_StaticMethods__sizeDataBody$self$$.$_heightOfBoxUnderCurrentItem$, $barBottom_selectedSize$$ = $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$, $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$ < $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ && ($barBottom_selectedSize$$ = Math.max(0, $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$ - 2 * $AdfDhtmlCarouselPeer$$.$_ITEM_PADDING$))) : 
  $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ < $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$ && ($barBottom_selectedSize$$ = Math.max(0, $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ - 2 * $AdfDhtmlCarouselPeer$$.$_ITEM_PADDING$));
  $barBottom_selectedSize$$ = Math.round(Math.max(30, $barBottom_selectedSize$$ - 2 * $AdfDhtmlCarouselPeer$$.$_ITEM_PADDING$));
  $JSCompiler_StaticMethods__sizeDataBody$self$$.$_dataBodyWidth$ = $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$;
  $JSCompiler_StaticMethods__sizeDataBody$self$$.$_dataBodyHeight$ = $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$;
  $JSCompiler_StaticMethods__sizeDataBody$self$$.$_selectedSize$ = $barBottom_selectedSize$$;
  $JSCompiler_StaticMethods__sizeDataBody$self$$.$_widthMargin$ = ($barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ - $barBottom_selectedSize$$) / 2;
  $JSCompiler_StaticMethods__sizeDataBody$self$$.$_heightMargin$ = ($barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$ - $barBottom_selectedSize$$) / 2;
  var $id$$263_itemTextDivHeight$$ = $barLeft_component$$434_prevWidth_valign$$2$$.$getClientId$();
  if("small" == $JSCompiler_StaticMethods__sizeDataBody$self$$.$_controlArea$ || "compact" == $JSCompiler_StaticMethods__sizeDataBody$self$$.$_controlArea$) {
    var $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$ = $JSCompiler_StaticMethods__getControlAreaDiv$$($JSCompiler_StaticMethods__sizeDataBody$self$$, $computedStyle$$6_controlAreaBoxCorrection_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$20_spinPrevElem$$5$$), $computedStyle$$6_controlAreaBoxCorrection_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$20_spinPrevElem$$5$$ = $agent$$157_spinNextElem$$5$$.getComputedStyle($controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$), 
    $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$ = $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$.style, $boxModelCorrection_controlPaddingRight$$1$$ = parseInt($computedStyle$$6_controlAreaBoxCorrection_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$20_spinPrevElem$$5$$.paddingRight, 10), $computedStyle$$6_controlAreaBoxCorrection_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$20_spinPrevElem$$5$$ = 0 + 
    parseInt($computedStyle$$6_controlAreaBoxCorrection_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$20_spinPrevElem$$5$$.paddingLeft, 10);
    $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$.width = $barBottom_selectedSize$$ - ($computedStyle$$6_controlAreaBoxCorrection_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$20_spinPrevElem$$5$$ + $boxModelCorrection_controlPaddingRight$$1$$) + "px";
    $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$.right = "auto";
    $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$.left = $JSCompiler_StaticMethods__getHalignLeft$$($JSCompiler_StaticMethods__sizeDataBody$self$$, $vertical$$7$$, $barLeft_component$$434_prevWidth_valign$$2$$.getHalign(), $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$, $barBottom_selectedSize$$, 0) + "px";
    $vertical$$7$$ && ($controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$.top = $JSCompiler_StaticMethods__getValignTop$$($JSCompiler_StaticMethods__sizeDataBody$self$$, $vertical$$7$$, $barLeft_component$$434_prevWidth_valign$$2$$.getValign(), $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$, $barBottom_selectedSize$$, 0) + $barBottom_selectedSize$$ + "px")
  }else {
    $vertical$$7$$ && ($controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$ = $JSCompiler_StaticMethods__getItemTextDiv$$($id$$263_itemTextDivHeight$$), $computedStyle$$6_controlAreaBoxCorrection_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$20_spinPrevElem$$5$$ = $agent$$157_spinNextElem$$5$$.getComputedStyle($controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$), $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$ = 
    $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$.style, $boxModelCorrection_controlPaddingRight$$1$$ = 0 + parseInt($computedStyle$$6_controlAreaBoxCorrection_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$20_spinPrevElem$$5$$.paddingLeft, 10), $boxModelCorrection_controlPaddingRight$$1$$ += parseInt($computedStyle$$6_controlAreaBoxCorrection_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$20_spinPrevElem$$5$$.paddingRight, 10), $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$.width = 
    $barBottom_selectedSize$$ - $boxModelCorrection_controlPaddingRight$$1$$ + "px", $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$.left = $JSCompiler_StaticMethods__getHalignLeft$$($JSCompiler_StaticMethods__sizeDataBody$self$$, $JSCompiler_alias_TRUE$$, $barLeft_component$$434_prevWidth_valign$$2$$.getHalign(), $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$, $barBottom_selectedSize$$, 0) + ($AdfDhtmlCarouselPeer$$.$_isRTL$() ? parseInt($dataBody$$14_rowData$$5$$.offsetLeft) : 
    0) + "px", $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$.top = $JSCompiler_StaticMethods__getValignTop$$($JSCompiler_StaticMethods__sizeDataBody$self$$, $JSCompiler_alias_TRUE$$, $barLeft_component$$434_prevWidth_valign$$2$$.getValign(), $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$, $barBottom_selectedSize$$, 0) + $barBottom_selectedSize$$ + "px")
  }
  "oneByOne" == $JSCompiler_StaticMethods__sizeDataBody$self$$.$_displayItems$ && ($computedStyle$$6_controlAreaBoxCorrection_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$20_spinPrevElem$$5$$ = $dataBody$$14_rowData$$5$$.style, $computedStyle$$6_controlAreaBoxCorrection_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$20_spinPrevElem$$5$$.width = $barBottom_selectedSize$$ + "px", $computedStyle$$6_controlAreaBoxCorrection_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$20_spinPrevElem$$5$$.height = 
  $barBottom_selectedSize$$ + "px", $computedStyle$$6_controlAreaBoxCorrection_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$20_spinPrevElem$$5$$.right = "auto", $computedStyle$$6_controlAreaBoxCorrection_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$20_spinPrevElem$$5$$.bottom = "auto", $computedStyle$$6_controlAreaBoxCorrection_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$20_spinPrevElem$$5$$.top = $JSCompiler_StaticMethods__getValignTop$$($JSCompiler_StaticMethods__sizeDataBody$self$$, 
  $vertical$$7$$, $barLeft_component$$434_prevWidth_valign$$2$$.getValign(), $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$, $barBottom_selectedSize$$, 0) + "px", $computedStyle$$6_controlAreaBoxCorrection_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$20_spinPrevElem$$5$$.left = $JSCompiler_StaticMethods__getHalignLeft$$($JSCompiler_StaticMethods__sizeDataBody$self$$, $vertical$$7$$, $barLeft_component$$434_prevWidth_valign$$2$$.getHalign(), $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$, 
  $barBottom_selectedSize$$, 0) + ($AdfDhtmlCarouselPeer$$.$_isRTL$() ? parseInt($dataBody$$14_rowData$$5$$.offsetLeft) : 0) + "px");
  "oneByOne" == $JSCompiler_StaticMethods__sizeDataBody$self$$.$_displayItems$ && ("small" != $JSCompiler_StaticMethods__sizeDataBody$self$$.$_controlArea$ && "compact" != $JSCompiler_StaticMethods__sizeDataBody$self$$.$_controlArea$ && "none" != $JSCompiler_StaticMethods__sizeDataBody$self$$.$_controlArea$) && ($computedStyle$$6_controlAreaBoxCorrection_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$20_spinPrevElem$$5$$ = $agent$$157_spinNextElem$$5$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$263_itemTextDivHeight$$, 
  "sp")), $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$ = $agent$$157_spinNextElem$$5$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$263_itemTextDivHeight$$, "sb")), $agent$$157_spinNextElem$$5$$ = $agent$$157_spinNextElem$$5$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$263_itemTextDivHeight$$, "sn")), $vertical$$7$$ ? ($barLeft_component$$434_prevWidth_valign$$2$$ = $barLeft_component$$434_prevWidth_valign$$2$$.getValign(), $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ = 
  $computedStyle$$6_controlAreaBoxCorrection_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$20_spinPrevElem$$5$$.offsetHeight, $nextHeight_outerWidth$$4$$ = $agent$$157_spinNextElem$$5$$.offsetHeight, $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$ = $JSCompiler_StaticMethods__getValignTop$$($JSCompiler_StaticMethods__sizeDataBody$self$$, $JSCompiler_alias_TRUE$$, $barLeft_component$$434_prevWidth_valign$$2$$, $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$, $barBottom_selectedSize$$, 
  0), $id$$263_itemTextDivHeight$$ = $JSCompiler_StaticMethods__getItemTextDiv$$($id$$263_itemTextDivHeight$$).offsetHeight, $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ = $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$ + $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$, $barBottom_selectedSize$$ = $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$ + $barBottom_selectedSize$$ + $id$$263_itemTextDivHeight$$ - $nextHeight_outerWidth$$4$$, $computedStyle$$6_controlAreaBoxCorrection_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$20_spinPrevElem$$5$$.style.bottom = 
  $halign$$2_outerHeight$$5$$ - $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ + "px", $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$.style.top = $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ + "px", $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$.style.bottom = $halign$$2_outerHeight$$5$$ - $barBottom_selectedSize$$ + "px", $agent$$157_spinNextElem$$5$$.style.top = $barBottom_selectedSize$$ + "px") : ($halign$$2_outerHeight$$5$$ = 
  $barLeft_component$$434_prevWidth_valign$$2$$.getHalign(), $barLeft_component$$434_prevWidth_valign$$2$$ = $computedStyle$$6_controlAreaBoxCorrection_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$20_spinPrevElem$$5$$.offsetWidth, $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$ = $agent$$157_spinNextElem$$5$$.offsetWidth, $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ = $JSCompiler_StaticMethods__getHalignLeft$$($JSCompiler_StaticMethods__sizeDataBody$self$$, $JSCompiler_alias_FALSE$$, 
  $halign$$2_outerHeight$$5$$, $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$, $barBottom_selectedSize$$, 0), $barLeft_component$$434_prevWidth_valign$$2$$ = $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ + $barLeft_component$$434_prevWidth_valign$$2$$, $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$ = $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ + $barBottom_selectedSize$$ - $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$, $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$.style.left = 
  $barLeft_component$$434_prevWidth_valign$$2$$ + "px", $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$.style.right = $nextHeight_outerWidth$$4$$ - $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$ + "px", $AdfDhtmlCarouselPeer$$.$_isRTL$() ? ($computedStyle$$6_controlAreaBoxCorrection_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$20_spinPrevElem$$5$$.style.left = $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$ + "px", $agent$$157_spinNextElem$$5$$.style.right = 
  $nextHeight_outerWidth$$4$$ - $barLeft_component$$434_prevWidth_valign$$2$$ + "px") : ($computedStyle$$6_controlAreaBoxCorrection_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$20_spinPrevElem$$5$$.style.right = $nextHeight_outerWidth$$4$$ - $barLeft_component$$434_prevWidth_valign$$2$$ + "px", $agent$$157_spinNextElem$$5$$.style.left = $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$ + "px"), "start" == $halign$$2_outerHeight$$5$$ ? $JSCompiler_StaticMethods__getItemTextDiv$$($id$$263_itemTextDivHeight$$).style.right = 
  $nextHeight_outerWidth$$4$$ - 2 * $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ - $barBottom_selectedSize$$ + "px" : "end" == $halign$$2_outerHeight$$5$$ && ($JSCompiler_StaticMethods__getItemTextDiv$$($id$$263_itemTextDivHeight$$).style.left = 2 * $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ + $barBottom_selectedSize$$ - $nextHeight_outerWidth$$4$$ + "px")));
  $AdfAssert$$.assert(!$dataBody$$14_rowData$$5$$.firstChild || $JSCompiler_StaticMethods__sizeDataBody$self$$.$_currentItemKey$, "There is no current item in the data block");
  $JSCompiler_StaticMethods__sizeDataBody$self$$.$_currentItemKey$ && (($dataBody$$14_rowData$$5$$ = $JSCompiler_StaticMethods__sizeDataBody$self$$.$_findRowByKey$($JSCompiler_StaticMethods__sizeDataBody$self$$.$_currentItemKey$, $JSCompiler_alias_TRUE$$)) ? ($JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$$($JSCompiler_StaticMethods__sizeDataBody$self$$, $dataBody$$14_rowData$$5$$.$row$, $JSCompiler_alias_FALSE$$), $JSCompiler_StaticMethods__queueResizeNotifyOnDisplayedChildren$$($JSCompiler_StaticMethods__sizeDataBody$self$$)) : 
  $AdfLogger$$.$LOGGER$.severe("_sizeDataBody failed due to invalid currentItemKey: " + $JSCompiler_StaticMethods__sizeDataBody$self$$.$_currentItemKey$))
}
$JSCompiler_prototypeAlias$$.$_handleDataCallback$ = function $$JSCompiler_prototypeAlias$$$$_handleDataCallback$$($node$$67_rowCount$$5$$, $extraCount_pendingFetch$$1$$, $fetchIndex$$1_indexShift$$, $pendingRenderOnly$$1$$) {
  var $agent$$158_rowCountDelta$$ = $AdfAgent$$.$AGENT$, $start$$12$$ = $agent$$158_rowCountDelta$$.$getIntAttribute$($node$$67_rowCount$$5$$, "_startRow", 0), $size$$17$$ = $JSCompiler_StaticMethods__getNumberOfRows$$($node$$67_rowCount$$5$$), $dataBody$$15$$ = this.$_getDataBody$(), $currentBlock$$ = $dataBody$$15$$.firstChild;
  this.$_initNewBlock$($node$$67_rowCount$$5$$, $start$$12$$, $size$$17$$);
  $extraCount_pendingFetch$$1$$ == $AdfCarouselDataFetchEvent$$.$AT_INDEX_SUBTYPE$ ? ($JSCompiler_StaticMethods__replaceWithDataBlock$$(this, $dataBody$$15$$, $node$$67_rowCount$$5$$, $fetchIndex$$1_indexShift$$), this.$_adjustRowCountFromResponse$($dataBody$$15$$, $node$$67_rowCount$$5$$)) : $extraCount_pendingFetch$$1$$ == $AdfCarouselDataFetchEvent$$.$AFTER_KEY_SUBTYPE$ ? (0 == $size$$17$$ ? -1 == this.$_rowCount$ ? ($node$$67_rowCount$$5$$ = $agent$$158_rowCountDelta$$.$getIntAttribute$($currentBlock$$, 
  "_rowCount", -1), this.$_rowCount$ = -1 == $node$$67_rowCount$$5$$ ? this.$_knownRowCount$ : $node$$67_rowCount$$5$$) : this.$_adjustRowCountFromResponse$($dataBody$$15$$, $node$$67_rowCount$$5$$) : ($fetchIndex$$1_indexShift$$ = $start$$12$$ - $currentBlock$$.$startRow$ - $JSCompiler_StaticMethods__getNumberOfRows$$($currentBlock$$), 0 != $fetchIndex$$1_indexShift$$ ? ($fetchIndex$$1_indexShift$$ = $start$$12$$ + Math.ceil($size$$17$$ / 2), $JSCompiler_StaticMethods__replaceWithDataBlock$$(this, 
  $dataBody$$15$$, $node$$67_rowCount$$5$$, $fetchIndex$$1_indexShift$$)) : $JSCompiler_StaticMethods__addDataBlockItems$$(this, $dataBody$$15$$, $node$$67_rowCount$$5$$, $JSCompiler_alias_FALSE$$), this.$_adjustRowCountFromResponse$($dataBody$$15$$, $node$$67_rowCount$$5$$)), $pendingRenderOnly$$1$$ || $JSCompiler_StaticMethods__deleteOffscreenItems$$(this, $dataBody$$15$$, $JSCompiler_alias_TRUE$$)) : $extraCount_pendingFetch$$1$$ == $AdfCarouselDataFetchEvent$$.$BEFORE_KEY_SUBTYPE$ && ($fetchIndex$$1_indexShift$$ = 
  $start$$12$$ - $currentBlock$$.$startRow$ + $size$$17$$, $agent$$158_rowCountDelta$$ = this.$_adjustRowCountFromResponse$($dataBody$$15$$, $node$$67_rowCount$$5$$), 0 != $fetchIndex$$1_indexShift$$ || 0 != $agent$$158_rowCountDelta$$ ? ($fetchIndex$$1_indexShift$$ = $start$$12$$ + Math.ceil($size$$17$$ / 2), $JSCompiler_StaticMethods__replaceWithDataBlock$$(this, $dataBody$$15$$, $node$$67_rowCount$$5$$, $fetchIndex$$1_indexShift$$)) : $JSCompiler_StaticMethods__addDataBlockItems$$(this, $dataBody$$15$$, 
  $node$$67_rowCount$$5$$, $JSCompiler_alias_TRUE$$), $pendingRenderOnly$$1$$ || $JSCompiler_StaticMethods__deleteOffscreenItems$$(this, $dataBody$$15$$, $JSCompiler_alias_FALSE$$));
  if($extraCount_pendingFetch$$1$$ == $AdfCarouselDataFetchEvent$$.$AT_INDEX_SUBTYPE$ || $extraCount_pendingFetch$$1$$ == $AdfCarouselDataFetchEvent$$.$AFTER_KEY_SUBTYPE$) {
    $extraCount_pendingFetch$$1$$ = $start$$12$$ + $size$$17$$ - this.$_knownRowCount$, 0 < $extraCount_pendingFetch$$1$$ && (this.$_knownRowCount$ += $extraCount_pendingFetch$$1$$, $JSCompiler_StaticMethods__positionThumbAndSpinInfo$$(this))
  }
};
$JSCompiler_prototypeAlias$$.$_adjustRowCountFromResponse$ = function $$JSCompiler_prototypeAlias$$$$_adjustRowCountFromResponse$$($dataBody$$16$$, $node$$68$$) {
  var $rowCountDelta$$1$$ = 0, $oldCount$$ = this.$_rowCount$;
  if(-1 != $oldCount$$) {
    var $newCount$$ = $AdfAgent$$.$AGENT$.$getIntAttribute$($node$$68$$, "_rowCount", -1);
    0 == this.$_unavailableRowIndex$ ? $newCount$$ = -1 : 0 < this.$_unavailableRowIndex$ && ($newCount$$ = this.$_unavailableRowIndex$);
    -1 != $newCount$$ && ($rowCountDelta$$1$$ = $newCount$$ - $oldCount$$)
  }
  0 != $rowCountDelta$$1$$ && (this.$_rowCount$ = this.$_knownRowCount$ = $newCount$$, $JSCompiler_StaticMethods__positionThumbAndSpinInfo$$(this));
  return $rowCountDelta$$1$$
};
$JSCompiler_prototypeAlias$$.$_displayStatus$ = function $$JSCompiler_prototypeAlias$$$$_displayStatus$$($style$$14_text$$12$$) {
  var $halfMessageHeight_message$$56$$ = this.$_getStatusMessage$();
  if("icon" == $AdfPage$$.$PAGE$.$getLookAndFeel$().$getSkinProperty$("af|carousel-tr-status-type")) {
    var $dataBody$$17_image$$3_itemTop_vertical$$8$$ = $AdfDhtmlCarouselPeer$$.$_findFirstChildByTagName$($halfMessageHeight_message$$56$$, "IMG");
    $dataBody$$17_image$$3_itemTop_vertical$$8$$ != $JSCompiler_alias_NULL$$ ? $dataBody$$17_image$$3_itemTop_vertical$$8$$.title = $style$$14_text$$12$$ : $halfMessageHeight_message$$56$$.title = $style$$14_text$$12$$
  }else {
    $halfMessageHeight_message$$56$$.innerHTML = $style$$14_text$$12$$
  }
  $style$$14_text$$12$$ = $halfMessageHeight_message$$56$$.style;
  if("none" == $style$$14_text$$12$$.display) {
    var $centered_selectedSize$$1$$ = $JSCompiler_alias_FALSE$$, $dbWidth_itemLeft$$ = this.$_dataBodyWidth$, $dbHeight_vOffset$$1$$ = this.$_dataBodyHeight$;
    if($dbWidth_itemLeft$$ == $JSCompiler_alias_NULL$$ || $dbHeight_vOffset$$1$$ == $JSCompiler_alias_NULL$$ || 0 == $dbWidth_itemLeft$$ || 0 == $dbHeight_vOffset$$1$$) {
      $centered_selectedSize$$1$$ = $JSCompiler_alias_TRUE$$, $dataBody$$17_image$$3_itemTop_vertical$$8$$ = this.$_getDataBody$(), $dbWidth_itemLeft$$ = $dataBody$$17_image$$3_itemTop_vertical$$8$$.offsetWidth, $dbHeight_vOffset$$1$$ = $dataBody$$17_image$$3_itemTop_vertical$$8$$.offsetHeight
    }
    $style$$14_text$$12$$.zIndex = 1E4;
    $dataBody$$17_image$$3_itemTop_vertical$$8$$ = this.$_isVertical$;
    $style$$14_text$$12$$.visibility = "hidden";
    $style$$14_text$$12$$.display = "block";
    var $hOffset$$1_halfMessageWidth$$ = $halfMessageHeight_message$$56$$.offsetWidth / 2, $halfMessageHeight_message$$56$$ = $halfMessageHeight_message$$56$$.offsetHeight / 2;
    if($centered_selectedSize$$1$$) {
      $hOffset$$1_halfMessageWidth$$ = $dbWidth_itemLeft$$ / 2 - $hOffset$$1_halfMessageWidth$$, $dbHeight_vOffset$$1$$ = $dbHeight_vOffset$$1$$ / 2 - $halfMessageHeight_message$$56$$, $dataBody$$17_image$$3_itemTop_vertical$$8$$ && (this.$_nonDataBodySize$ != $JSCompiler_alias_NULL$$ && 0 != this.$_nonDataBodySize$) && ($hOffset$$1_halfMessageWidth$$ += this.$_nonDataBodySize$), $AdfDhtmlCarouselPeer$$.$_isRTL$() ? $style$$14_text$$12$$.left = Math.floor($hOffset$$1_halfMessageWidth$$) + "px" : 
      $style$$14_text$$12$$.right = Math.floor($hOffset$$1_halfMessageWidth$$) + "px"
    }else {
      var $component$$435$$ = this.$getComponent$(), $centered_selectedSize$$1$$ = this.$_selectedSize$, $dbWidth_itemLeft$$ = $JSCompiler_StaticMethods__getHalignLeft$$(this, $dataBody$$17_image$$3_itemTop_vertical$$8$$, $component$$435$$.getHalign(), $dbWidth_itemLeft$$, $centered_selectedSize$$1$$, 0), $dataBody$$17_image$$3_itemTop_vertical$$8$$ = $JSCompiler_StaticMethods__getValignTop$$(this, $dataBody$$17_image$$3_itemTop_vertical$$8$$, $component$$435$$.getValign(), $dbHeight_vOffset$$1$$, 
      $centered_selectedSize$$1$$, 0), $dbHeight_vOffset$$1$$ = $dataBody$$17_image$$3_itemTop_vertical$$8$$ + $centered_selectedSize$$1$$ / 2 - $halfMessageHeight_message$$56$$;
      $style$$14_text$$12$$.right = "auto";
      $style$$14_text$$12$$.left = Math.floor($dbWidth_itemLeft$$ + $centered_selectedSize$$1$$ / 2 - $hOffset$$1_halfMessageWidth$$) + "px"
    }
    $style$$14_text$$12$$.top = Math.floor($dbHeight_vOffset$$1$$) + "px";
    $style$$14_text$$12$$.visibility = "visible"
  }
};
$JSCompiler_prototypeAlias$$.$_hideStatus$ = function $$JSCompiler_prototypeAlias$$$$_hideStatus$$() {
  this.$_getStatusMessage$().style.display = "none"
};
$JSCompiler_prototypeAlias$$.$_getDataBody$ = function $$JSCompiler_prototypeAlias$$$$_getDataBody$$($rootDomElement$$6$$) {
  return this.$_getElemBySubId$("db", $rootDomElement$$6$$)
};
function $JSCompiler_StaticMethods__getControlAreaDiv$$($JSCompiler_StaticMethods__getControlAreaDiv$self$$, $rootDomElement$$7$$) {
  $AdfAssert$$.assert("small" == $JSCompiler_StaticMethods__getControlAreaDiv$self$$.$_controlArea$ || "compact" == $JSCompiler_StaticMethods__getControlAreaDiv$self$$.$_controlArea$, "Carousel peer should not be accessing the control area when controlArea \x3d\x3d full or none");
  return $JSCompiler_StaticMethods__getControlAreaDiv$self$$.$_getElemBySubId$("ca", $rootDomElement$$7$$)
}
function $JSCompiler_StaticMethods__getSpinControlDiv$$($JSCompiler_StaticMethods__getSpinControlDiv$self$$, $clientId$$95$$) {
  $AdfAssert$$.assert("small" != $JSCompiler_StaticMethods__getSpinControlDiv$self$$.$_controlArea$ && "compact" != $JSCompiler_StaticMethods__getSpinControlDiv$self$$.$_controlArea$ && "none" != $JSCompiler_StaticMethods__getSpinControlDiv$self$$.$_controlArea$, "Carousel peer should not be accessing the spin control div when controlArea !\x3d full");
  return $AdfAgent$$.$AGENT$.getElementById($AdfRichUIPeer$$.$CreateSubId$($clientId$$95$$, "sc"))
}
function $JSCompiler_StaticMethods__getSpinInfoDiv$$($JSCompiler_StaticMethods__getSpinInfoDiv$self$$, $clientId$$96$$) {
  $AdfAssert$$.assert("compact" != $JSCompiler_StaticMethods__getSpinInfoDiv$self$$.$_controlArea$ && "none" != $JSCompiler_StaticMethods__getSpinInfoDiv$self$$.$_controlArea$, "Carousel peer should not be accessing the spin info div when controlArea \x3d\x3d compact or none");
  return $AdfAgent$$.$AGENT$.getElementById($AdfRichUIPeer$$.$CreateSubId$($clientId$$96$$, "si"))
}
function $JSCompiler_StaticMethods__getItemTextDiv$$($clientId$$97$$) {
  return $AdfAgent$$.$AGENT$.getElementById($AdfRichUIPeer$$.$CreateSubId$($clientId$$97$$, "it"))
}
$JSCompiler_prototypeAlias$$.$_getStatusMessage$ = function $$JSCompiler_prototypeAlias$$$$_getStatusMessage$$() {
  return this.$_getElemBySubId$("sm")
};
$JSCompiler_prototypeAlias$$.$_getElemBySubId$ = function $$JSCompiler_prototypeAlias$$$$_getElemBySubId$$($sub$$, $rootDomElement$$8$$) {
  var $top$$11$$ = this.$getDomElement$();
  $top$$11$$ == $JSCompiler_alias_NULL$$ && ($top$$11$$ = $rootDomElement$$8$$);
  return $AdfDhtmlCarouselPeer$$.$_getChildBySubId$($top$$11$$, $sub$$)
};
$AdfDhtmlCarouselPeer$$.$_getChildBySubId$ = function $$AdfDhtmlCarouselPeer$$$$_getChildBySubId$$($parent$$19$$, $sub$$1$$) {
  $AdfAssert$$.assert($parent$$19$$ != $JSCompiler_alias_NULL$$, "Carousel peer cannot get a child by sub ID if the parent is null!");
  for(var $id$$264$$ = $parent$$19$$.id + "::" + $sub$$1$$, $nodes$$9$$ = $parent$$19$$.childNodes, $i$$179$$ = 0;$i$$179$$ < $nodes$$9$$.length;$i$$179$$++) {
    if($id$$264$$ == $nodes$$9$$[$i$$179$$].id) {
      return $nodes$$9$$[$i$$179$$]
    }
  }
  return $JSCompiler_alias_NULL$$
};
$AdfDhtmlCarouselPeer$$.$_handlePreviousClick$ = function $$AdfDhtmlCarouselPeer$$$$_handlePreviousClick$$($clientId$$98_domEvent$$22_eventTarget$$21$$) {
  $clientId$$98_domEvent$$22_eventTarget$$21$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($clientId$$98_domEvent$$22_eventTarget$$21$$);
  var $subId$$13$$ = $clientId$$98_domEvent$$22_eventTarget$$21$$.id;
  $subId$$13$$ || ($subId$$13$$ = $clientId$$98_domEvent$$22_eventTarget$$21$$.parentNode.id);
  $clientId$$98_domEvent$$22_eventTarget$$21$$ = $subId$$13$$.substring(0, $subId$$13$$.indexOf("::"));
  $JSCompiler_StaticMethods__initiateSpinPreviousAnimation$$($AdfPage$$.$PAGE$.$findComponent$($clientId$$98_domEvent$$22_eventTarget$$21$$).$getPeer$())
};
$AdfDhtmlCarouselPeer$$.$_handleNextClick$ = function $$AdfDhtmlCarouselPeer$$$$_handleNextClick$$($clientId$$99_domEvent$$23_eventTarget$$22$$) {
  $clientId$$99_domEvent$$23_eventTarget$$22$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($clientId$$99_domEvent$$23_eventTarget$$22$$);
  var $subId$$14$$ = $clientId$$99_domEvent$$23_eventTarget$$22$$.id;
  $subId$$14$$ || ($subId$$14$$ = $clientId$$99_domEvent$$23_eventTarget$$22$$.parentNode.id);
  $clientId$$99_domEvent$$23_eventTarget$$22$$ = $subId$$14$$.substring(0, $subId$$14$$.indexOf("::"));
  $JSCompiler_StaticMethods__initiateSpinNextAnimation$$($AdfPage$$.$PAGE$.$findComponent$($clientId$$99_domEvent$$23_eventTarget$$22$$).$getPeer$())
};
$AdfDhtmlCarouselPeer$$.$_handleMouseWheel$ = function $$AdfDhtmlCarouselPeer$$$$_handleMouseWheel$$($evt$$75$$) {
  $evt$$75$$ || ($evt$$75$$ = $AdfPage$$.$PAGE$.$getDomWindow$().event);
  var $scrollAmount$$2$$ = $evt$$75$$.wheelDelta != $JSCompiler_alias_NULL$$ ? -$evt$$75$$.wheelDelta / 4 : 4 * $evt$$75$$.detail, $carousel$$2_peer$$74$$ = $AdfPage$$.$PAGE$.$findComponent$(this.id);
  $carousel$$2_peer$$74$$ != $JSCompiler_alias_NULL$$ && ($carousel$$2_peer$$74$$ = $carousel$$2_peer$$74$$.$getPeer$(), $carousel$$2_peer$$74$$.$_isVertical$ && ($scrollAmount$$2$$ *= -1), $JSCompiler_StaticMethods__scrollByAmount$$($carousel$$2_peer$$74$$, $scrollAmount$$2$$, $JSCompiler_alias_FALSE$$));
  $AdfAgent$$.$AGENT$.$eatEvent$($evt$$75$$)
};
function $JSCompiler_StaticMethods__scrollByAmount$$($JSCompiler_StaticMethods__scrollByAmount$self$$, $scrollAmount$$3$$, $forcePercentBased$$) {
  if($JSCompiler_StaticMethods__scrollByAmount$self$$.$getComponent$() != $JSCompiler_alias_NULL$$) {
    if(!$forcePercentBased$$ && 30 >= Math.abs($scrollAmount$$3$$)) {
      0 < $scrollAmount$$3$$ ? $JSCompiler_StaticMethods__initiateSpinNextAnimation$$($JSCompiler_StaticMethods__scrollByAmount$self$$) : 0 != $scrollAmount$$3$$ && $JSCompiler_StaticMethods__initiateSpinPreviousAnimation$$($JSCompiler_StaticMethods__scrollByAmount$self$$)
    }else {
      var $bodySize_dataBody$$18$$ = $JSCompiler_StaticMethods__scrollByAmount$self$$.$_getDataBody$(), $bodySize_dataBody$$18$$ = $JSCompiler_StaticMethods__scrollByAmount$self$$.$_isVertical$ ? $bodySize_dataBody$$18$$.offsetHeight : $bodySize_dataBody$$18$$.offsetWidth;
      $JSCompiler_StaticMethods__scrollByAmount$self$$.$_queuedScrollAmount$ != $JSCompiler_alias_NULL$$ && ($scrollAmount$$3$$ += $JSCompiler_StaticMethods__scrollByAmount$self$$.$_queuedScrollAmount$);
      $forcePercentBased$$ && Math.abs($scrollAmount$$3$$ / $bodySize_dataBody$$18$$) < $JSCompiler_StaticMethods__scrollByAmount$self$$.$_percentSize$ ? $JSCompiler_StaticMethods__scrollByAmount$self$$.$_queuedScrollAmount$ = $scrollAmount$$3$$ : ($JSCompiler_StaticMethods__scrollByAmount$self$$.$_queuedScrollAmount$ = $JSCompiler_alias_NULL$$, 0 < $scrollAmount$$3$$ ? $JSCompiler_StaticMethods__initiateSpinNextAnimation$$($JSCompiler_StaticMethods__scrollByAmount$self$$) : 0 != $scrollAmount$$3$$ && 
      $JSCompiler_StaticMethods__initiateSpinPreviousAnimation$$($JSCompiler_StaticMethods__scrollByAmount$self$$))
    }
  }
}
$AdfDhtmlCarouselPeer$$.$_findFirstChildByTagName$ = function $$AdfDhtmlCarouselPeer$$$$_findFirstChildByTagName$$($parent$$20$$, $name$$77$$) {
  $AdfAssert$$.assert($parent$$20$$ != $JSCompiler_alias_NULL$$, "Carousel peer cannot find first child by tag name if the parent is null!");
  for(var $nodes$$10$$ = $parent$$20$$.childNodes, $i$$180$$ = 0;$i$$180$$ < $nodes$$10$$.length;$i$$180$$++) {
    if($name$$77$$ == $nodes$$10$$[$i$$180$$].tagName) {
      return $nodes$$10$$[$i$$180$$]
    }
  }
  return $JSCompiler_alias_NULL$$
};
function $JSCompiler_StaticMethods__getRowKeyAndRow$$($domElement$$85$$, $rootDomElement$$9$$) {
  $AdfAssert$$.$assertDomElement$($domElement$$85$$);
  var $currElement$$11$$ = $domElement$$85$$, $agent$$159$$ = $AdfAgent$$.$AGENT$;
  if($currElement$$11$$ == $JSCompiler_alias_NULL$$ || 1 != $currElement$$11$$.nodeType) {
    return $JSCompiler_alias_NULL$$
  }
  for(var $rowKey$$19$$ = $agent$$159$$.getAttribute($currElement$$11$$, $AdfDhtmlCarouselPeer$$.$_ROW_KEY$);$rowKey$$19$$ == $JSCompiler_alias_NULL$$;) {
    if($currElement$$11$$ == $JSCompiler_alias_NULL$$ || $currElement$$11$$ == $rootDomElement$$9$$) {
      return $JSCompiler_alias_NULL$$
    }
    $currElement$$11$$ = $currElement$$11$$.parentNode;
    if($currElement$$11$$ == $JSCompiler_alias_NULL$$ || 1 != $currElement$$11$$.nodeType) {
      return $JSCompiler_alias_NULL$$
    }
    $rowKey$$19$$ = $agent$$159$$.getAttribute($currElement$$11$$, $AdfDhtmlCarouselPeer$$.$_ROW_KEY$)
  }
  return[$rowKey$$19$$, $currElement$$11$$]
}
$AdfDhtmlCarouselPeer$$.prototype.$ComponentCurrentItemKeyChanged$ = function $$AdfDhtmlCarouselPeer$$$$$ComponentCurrentItemKeyChanged$$($component$$436$$, $domElement$$86_rowData$$6$$, $newValue$$31$$) {
  this.$_ignoreCurrentItemSet$ || ($domElement$$86_rowData$$6$$ = this.$_findRowByKey$($newValue$$31$$, $JSCompiler_alias_FALSE$$), $domElement$$86_rowData$$6$$ == $JSCompiler_alias_NULL$$ ? $AdfAssert$$.assert($domElement$$86_rowData$$6$$ != $JSCompiler_alias_NULL$$, "The carousel '" + $component$$436$$.$getClientId$() + "' does not any item in the current set of fetched items with client key: " + $newValue$$31$$) : (this.$_currentItemKey$ = $newValue$$31$$, $JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$$(this, 
  $domElement$$86_rowData$$6$$.$row$, $JSCompiler_alias_FALSE$$), $JSCompiler_StaticMethods__updateTextForNewCurrentItemKey$$(this, $newValue$$31$$)))
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.ComponentCurrentItemKeyChanged", {$ComponentCurrentItemKeyChanged$:$AdfDhtmlCarouselPeer$$.prototype.$ComponentCurrentItemKeyChanged$});
function $JSCompiler_StaticMethods__updateCurrentItemKey$$($JSCompiler_StaticMethods__updateCurrentItemKey$self$$, $key$$49$$, $ignoreValidation$$) {
  var $updated$$ = $JSCompiler_alias_FALSE$$, $carousel$$3$$ = $JSCompiler_StaticMethods__updateCurrentItemKey$self$$.$getComponent$(), $oldKey$$ = $JSCompiler_StaticMethods__updateCurrentItemKey$self$$.$_currentItemKey$, $spinEvent$$ = new $AdfCarouselSpinEvent$$($carousel$$3$$, $oldKey$$, $key$$49$$);
  $ignoreValidation$$ || $JSCompiler_StaticMethods__setEventRootToCurrentItem$$($JSCompiler_StaticMethods__updateCurrentItemKey$self$$, $oldKey$$, $spinEvent$$);
  $spinEvent$$.$queue$();
  $spinEvent$$.$isCanceled$() || ($spinEvent$$.$setRoot$($carousel$$3$$), $JSCompiler_StaticMethods__updateCurrentItemKey$self$$.$_currentItemKey$ = $key$$49$$, $JSCompiler_StaticMethods__updateCurrentItemKey$self$$.$_ignoreCurrentItemSet$ = $JSCompiler_alias_TRUE$$, $AdfLogger$$.$LOGGER$.finer("Update current item key to:", $key$$49$$), $carousel$$3$$.setCurrentItemKey($key$$49$$), $JSCompiler_StaticMethods__updateCurrentItemKey$self$$.$_ignoreCurrentItemSet$ = $JSCompiler_alias_FALSE$$, $JSCompiler_StaticMethods__updateTextForNewCurrentItemKey$$($JSCompiler_StaticMethods__updateCurrentItemKey$self$$, 
  $key$$49$$), $updated$$ = $JSCompiler_alias_TRUE$$);
  return $updated$$
}
function $JSCompiler_StaticMethods__setEventRootToCurrentItem$$($JSCompiler_StaticMethods__setEventRootToCurrentItem$self_rowData$$7$$, $currentItem_key$$50$$, $evt$$76$$) {
  $JSCompiler_StaticMethods__setEventRootToCurrentItem$self_rowData$$7$$ = $JSCompiler_StaticMethods__setEventRootToCurrentItem$self_rowData$$7$$.$_findRowByKey$($currentItem_key$$50$$, $JSCompiler_alias_FALSE$$);
  $AdfAssert$$.assert($JSCompiler_StaticMethods__setEventRootToCurrentItem$self_rowData$$7$$ != $JSCompiler_alias_NULL$$, 'Unexpected null rowData for key "' + $currentItem_key$$50$$ + '".');
  $JSCompiler_StaticMethods__setEventRootToCurrentItem$self_rowData$$7$$ && ($currentItem_key$$50$$ = $AdfPage$$.$PAGE$.$findComponent$($AdfDomUtils$$.$getFirstChildElement$($JSCompiler_StaticMethods__setEventRootToCurrentItem$self_rowData$$7$$.$row$).id)) && $evt$$76$$.$setRoot$($currentItem_key$$50$$)
}
function $JSCompiler_StaticMethods__updateTextForNewCurrentItemKey$$($JSCompiler_StaticMethods__updateTextForNewCurrentItemKey$self$$, $key$$51$$) {
  var $currentItem$$1_rowData$$8$$ = $JSCompiler_StaticMethods__updateTextForNewCurrentItemKey$self$$.$_findRowByKey$($key$$51$$, $JSCompiler_alias_TRUE$$);
  $AdfAssert$$.assert($currentItem$$1_rowData$$8$$ != $JSCompiler_alias_NULL$$, 'Unexpected null rowData for key "' + $key$$51$$ + '".');
  if($currentItem$$1_rowData$$8$$) {
    var $currentItemClientId$$1_text$$13$$ = $AdfDomUtils$$.$getFirstChildElement$($currentItem$$1_rowData$$8$$.$row$).id, $currentItem$$1_rowData$$8$$ = $AdfPage$$.$PAGE$.$findComponent$($currentItemClientId$$1_text$$13$$), $id$$265_itemTextDiv$$5$$ = $JSCompiler_StaticMethods__updateTextForNewCurrentItemKey$self$$.$getComponent$().$getClientId$(), $id$$265_itemTextDiv$$5$$ = $JSCompiler_StaticMethods__getItemTextDiv$$($id$$265_itemTextDiv$$5$$);
    $currentItem$$1_rowData$$8$$ == $JSCompiler_alias_NULL$$ ? ($JSCompiler_StaticMethods__updateTextForNewCurrentItemKey$self$$.$_waitingForTextClientId$ = $currentItemClientId$$1_text$$13$$, $id$$265_itemTextDiv$$5$$.title = "", $id$$265_itemTextDiv$$5$$.innerHTML = "") : ($JSCompiler_StaticMethods__updateTextForNewCurrentItemKey$self$$.$_waitingForTextClientId$ = $JSCompiler_alias_NULL$$, $currentItemClientId$$1_text$$13$$ = $currentItem$$1_rowData$$8$$.getText(), $id$$265_itemTextDiv$$5$$.title = 
    $currentItemClientId$$1_text$$13$$ == $JSCompiler_alias_NULL$$ ? "" : $currentItemClientId$$1_text$$13$$, $id$$265_itemTextDiv$$5$$.innerHTML = $currentItemClientId$$1_text$$13$$ == $JSCompiler_alias_NULL$$ ? "" : $currentItemClientId$$1_text$$13$$);
    $JSCompiler_StaticMethods__updateSelectedItemClass$$($JSCompiler_StaticMethods__updateTextForNewCurrentItemKey$self$$, $currentItem$$1_rowData$$8$$)
  }
}
$AdfDhtmlCarouselPeer$$.prototype.$CarouselItemInitialized$ = function $$AdfDhtmlCarouselPeer$$$$$CarouselItemInitialized$$($clientId$$101_currentItem$$inline_1268$$) {
  if(this.$_waitingForTextClientId$ != $JSCompiler_alias_NULL$$ && this.$_waitingForTextClientId$ == $clientId$$101_currentItem$$inline_1268$$) {
    this.$_waitingForTextClientId$ = $JSCompiler_alias_NULL$$;
    var $id$$inline_1266_itemTextDiv$$inline_1267$$ = this.$getComponent$().$getClientId$(), $id$$inline_1266_itemTextDiv$$inline_1267$$ = $JSCompiler_StaticMethods__getItemTextDiv$$($id$$inline_1266_itemTextDiv$$inline_1267$$);
    $clientId$$101_currentItem$$inline_1268$$ = $AdfPage$$.$PAGE$.$findComponent$($clientId$$101_currentItem$$inline_1268$$);
    if($clientId$$101_currentItem$$inline_1268$$ == $JSCompiler_alias_NULL$$) {
      $id$$inline_1266_itemTextDiv$$inline_1267$$.title = "", $id$$inline_1266_itemTextDiv$$inline_1267$$.innerHTML = ""
    }else {
      var $text$$inline_1269$$ = $clientId$$101_currentItem$$inline_1268$$.getText();
      $id$$inline_1266_itemTextDiv$$inline_1267$$.title = $text$$inline_1269$$ == $JSCompiler_alias_NULL$$ ? "" : $text$$inline_1269$$;
      $id$$inline_1266_itemTextDiv$$inline_1267$$.innerHTML = $text$$inline_1269$$ == $JSCompiler_alias_NULL$$ ? "" : $text$$inline_1269$$
    }
    $JSCompiler_StaticMethods__updateSelectedItemClass$$(this, $clientId$$101_currentItem$$inline_1268$$)
  }
  $JSCompiler_StaticMethods__queueResizeNotifyOnDisplayedChildren$$(this)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.CarouselItemInitialized", {$CarouselItemInitialized$:$AdfDhtmlCarouselPeer$$.prototype.$CarouselItemInitialized$});
function $JSCompiler_StaticMethods__updateSelectedItemClass$$($JSCompiler_StaticMethods__updateSelectedItemClass$self$$, $newCurrentItemComponent$$) {
  for(var $selectedStyleClass$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$().getStyleClass("p_AFSelected"), $currentItemElement_currentItemPeer_oldSelectedItem_rows$$2$$ = $JSCompiler_StaticMethods__updateSelectedItemClass$self$$.$_getDataBody$().firstChild.childNodes, $rowCount$$6$$ = $currentItemElement_currentItemPeer_oldSelectedItem_rows$$2$$.length, $r$$1$$ = 0;$r$$1$$ < $rowCount$$6$$;++$r$$1$$) {
    var $row$$13$$ = $currentItemElement_currentItemPeer_oldSelectedItem_rows$$2$$[$r$$1$$];
    if($AdfDomUtils$$.$removeCSSClassName$($row$$13$$, $selectedStyleClass$$)) {
      ($currentItemElement_currentItemPeer_oldSelectedItem_rows$$2$$ = $AdfDomUtils$$.$getFirstChildElement$($row$$13$$)) && $currentItemElement_currentItemPeer_oldSelectedItem_rows$$2$$.removeAttribute("aria-selected");
      break
    }
  }
  $newCurrentItemComponent$$ != $JSCompiler_alias_NULL$$ && ($currentItemElement_currentItemPeer_oldSelectedItem_rows$$2$$ = $newCurrentItemComponent$$.$getPeer$(), $currentItemElement_currentItemPeer_oldSelectedItem_rows$$2$$.bind($newCurrentItemComponent$$), $currentItemElement_currentItemPeer_oldSelectedItem_rows$$2$$ = $currentItemElement_currentItemPeer_oldSelectedItem_rows$$2$$.$getDomElement$(), $AdfDomUtils$$.$addCSSClassName$($currentItemElement_currentItemPeer_oldSelectedItem_rows$$2$$.parentNode, 
  $selectedStyleClass$$), $JSCompiler_StaticMethods__updateSelectedItemClass$self$$.$getDomElement$().setAttribute("aria-activedescendant", $currentItemElement_currentItemPeer_oldSelectedItem_rows$$2$$.id), $currentItemElement_currentItemPeer_oldSelectedItem_rows$$2$$.setAttribute("aria-selected", $JSCompiler_alias_TRUE$$))
}
function $JSCompiler_StaticMethods__queueResizeNotifyOnDisplayedChildren$$($JSCompiler_StaticMethods__queueResizeNotifyOnDisplayedChildren$self$$) {
  $JSCompiler_StaticMethods__queueResizeNotifyOnDisplayedChildren$self$$.$_pendingResizeNotify$ && (window.clearTimeout($JSCompiler_StaticMethods__queueResizeNotifyOnDisplayedChildren$self$$.$_pendingResizeNotify$), delete $JSCompiler_StaticMethods__queueResizeNotifyOnDisplayedChildren$self$$.$_pendingResizeNotify$);
  var $domWindow$$93$$ = $AdfPage$$.$PAGE$.$getDomWindow$(), $callback$$43$$ = new Function("var c \x3d arguments.callee;c._self._delRes();");
  $callback$$43$$._self = $JSCompiler_StaticMethods__queueResizeNotifyOnDisplayedChildren$self$$;
  $JSCompiler_StaticMethods__queueResizeNotifyOnDisplayedChildren$self$$.$_pendingResizeNotify$ = $domWindow$$93$$.setTimeout($callback$$43$$, 1)
}
$AdfDhtmlCarouselPeer$$.prototype._delRes = function $$AdfDhtmlCarouselPeer$$$$_delRes$() {
  $JSCompiler_StaticMethods__doResizeNotifyOnDisplayedChildren$$(this, this.$getComponent$())
};
$JSCompiler_prototypeAlias$$ = $AdfDhtmlCarouselPeer$$.prototype;
$JSCompiler_prototypeAlias$$.$_isTargetCellEditable$ = function $$JSCompiler_prototypeAlias$$$$_isTargetCellEditable$$($node$$69$$) {
  for(var $agent$$160$$ = $AdfAgent$$.$getAgent$(), $nodeName$$5$$, $rootElement$$21$$ = this.$getDomElement$(), $inputRegExp$$ = $AdfDhtmlCarouselPeer$$.$_INPUT_REGEXP$;$JSCompiler_alias_NULL$$ != $node$$69$$ && $node$$69$$ != $rootElement$$21$$ && "TD" != ($nodeName$$5$$ = $agent$$160$$.$getNodeName$($node$$69$$)) && "TH" != $nodeName$$5$$;) {
    if($nodeName$$5$$.match($inputRegExp$$) && -1 != $node$$69$$.tabIndex) {
      return $JSCompiler_alias_TRUE$$
    }
    $node$$69$$ = $node$$69$$.parentNode
  }
  return $JSCompiler_alias_FALSE$$
};
$JSCompiler_prototypeAlias$$.$_handleDataBodySelectStart$ = function $$JSCompiler_prototypeAlias$$$$_handleDataBodySelectStart$$($evt$$77$$) {
  $evt$$77$$ || ($evt$$77$$ = $AdfPage$$.$PAGE$.$getDomWindow$().event);
  var $agent$$161$$ = $AdfAgent$$.$AGENT$;
  this.$_isTargetCellEditable$($AdfAgent$$.$AGENT$.$getEventTarget$($evt$$77$$)) || $agent$$161$$.preventDefault($evt$$77$$)
};
$JSCompiler_prototypeAlias$$.$_findRowByKey$ = function $$JSCompiler_prototypeAlias$$$$_findRowByKey$$($rowKey$$21$$, $firstByDefault$$) {
  for(var $rowInfo$$ = $JSCompiler_alias_NULL$$, $block$$9_firstKey$$ = this.$_getDataBody$().firstChild, $rows$$3$$ = $block$$9_firstKey$$.childNodes, $numberOfLeadingPlaceholders$$ = $JSCompiler_StaticMethods__getNumberOfLeadingPlaceholders$$($block$$9_firstKey$$), $firstRow$$1_r$$2$$ = $numberOfLeadingPlaceholders$$;$firstRow$$1_r$$2$$ < $rows$$3$$.length && !$rowInfo$$;$firstRow$$1_r$$2$$++) {
    var $row$$15$$ = $rows$$3$$[$firstRow$$1_r$$2$$], $rowKeyAttribute$$ = $row$$15$$.getAttribute($AdfDhtmlCarouselPeer$$.$_ROW_KEY$);
    if($rowKeyAttribute$$ == $JSCompiler_alias_NULL$$) {
      break
    }
    if($rowKey$$21$$ == $rowKeyAttribute$$) {
      $rowInfo$$ = {$row$:$row$$15$$, index:$block$$9_firstKey$$.$startRow$ + $firstRow$$1_r$$2$$ - $numberOfLeadingPlaceholders$$, $block$:$block$$9_firstKey$$};
      break
    }
  }
  $firstByDefault$$ && ($rowInfo$$ == $JSCompiler_alias_NULL$$ && 0 < $rows$$3$$.length) && ($firstRow$$1_r$$2$$ = $rows$$3$$[$numberOfLeadingPlaceholders$$], $AdfAssert$$.assert(!$AdfDhtmlCarouselPeer$$.$_isPlaceholder$($firstRow$$1_r$$2$$), "The located firstRow (by default) is a placeholder: " + $numberOfLeadingPlaceholders$$ + ", " + $firstRow$$1_r$$2$$ + ", " + $rows$$3$$), $rowInfo$$ = {$row$:$firstRow$$1_r$$2$$, index:$block$$9_firstKey$$.$startRow$, $block$:$block$$9_firstKey$$}, $block$$9_firstKey$$ = 
  $AdfAgent$$.$AGENT$.getAttribute($firstRow$$1_r$$2$$, $AdfDhtmlCarouselPeer$$.$_ROW_KEY$), $JSCompiler_StaticMethods__updateCurrentItemKey$$(this, $block$$9_firstKey$$, $JSCompiler_alias_TRUE$$));
  return $rowInfo$$
};
$JSCompiler_prototypeAlias$$.$_collectClientTokens$ = function $$JSCompiler_prototypeAlias$$$$_collectClientTokens$$($cacheType$$) {
  for(var $tokens$$13$$ = "", $blockList$$ = this.$_getDataBody$().childNodes, $i$$181$$ = 0;$i$$181$$ < $blockList$$.length;$i$$181$$++) {
    for(var $rows$$4$$ = $blockList$$[$i$$181$$].childNodes, $r$$3$$ = 0;$r$$3$$ < $rows$$4$$.length;$r$$3$$++) {
      var $keys$$2_token$$4$$ = $rows$$4$$[$r$$3$$].getAttribute($AdfDhtmlCarouselPeer$$.$_ROW_KEY$);
      if($keys$$2_token$$4$$ != $JSCompiler_alias_NULL$$) {
        if("flat" == $cacheType$$) {
          $tokens$$13$$ += $keys$$2_token$$4$$, $tokens$$13$$ += "_"
        }else {
          for(var $keys$$2_token$$4$$ = $keys$$2_token$$4$$.split(","), $levels$$ = $keys$$2_token$$4$$.length, $tokens$$13$$ = $tokens$$13$$ + $keys$$2_token$$4$$[$levels$$ - 1], $tokens$$13$$ = $tokens$$13$$ + "_", $l$$2$$ = 0;$l$$2$$ < $levels$$ - 1;$l$$2$$++) {
            var $parent$$21$$ = $keys$$2_token$$4$$[$l$$2$$];
            $tokens$$13$$.match(RegExp("(^|_)" + $parent$$21$$ + "(_|$)")) || ($tokens$$13$$ += $parent$$21$$, $tokens$$13$$ += "_")
          }
        }
      }
    }
  }
  return $tokens$$13$$
};
$JSCompiler_prototypeAlias$$.$_grabFocus$ = function $$JSCompiler_prototypeAlias$$$$_grabFocus$$() {
  $AdfFocusUtils$$.$focusElement$(this.$getDomElement$())
};
$JSCompiler_prototypeAlias$$.$HandleComponentKeyDown$ = function $$JSCompiler_prototypeAlias$$$$HandleComponentKeyDown$$($componentEvent$$71_domEvent$$24$$) {
  if(!$componentEvent$$71_domEvent$$24$$.$isCanceled$()) {
    $componentEvent$$71_domEvent$$24$$ = $componentEvent$$71_domEvent$$24$$.$getNativeEvent$();
    var $agent$$162$$ = $AdfAgent$$.$AGENT$, $eventTarget$$23_rtl$$ = $agent$$162$$.$getEventTarget$($componentEvent$$71_domEvent$$24$$), $keyCode$$30$$ = $componentEvent$$71_domEvent$$24$$.keyCode, $propagate$$2_shiftKey$$inline_1273$$ = $JSCompiler_alias_TRUE$$, $eventTargetId$$ = $eventTarget$$23_rtl$$.id;
    if($eventTarget$$23_rtl$$ && $keyCode$$30$$ == $AdfKeyStroke$$.$TAB_KEY$) {
      var $propagate$$2_shiftKey$$inline_1273$$ = $componentEvent$$71_domEvent$$24$$.shiftKey, $currentItemKey$$inline_1274_rowData$$inline_1285$$ = this.$_currentItemKey$;
      if($currentItemKey$$inline_1274_rowData$$inline_1285$$) {
        var $id$$267_propagate$$inline_1275_spinThumbElem$$3$$ = $JSCompiler_alias_TRUE$$, $id$$inline_1276_itemTextDiv$$inline_1282_nextFocusable$$inline_1281$$ = this.$getComponent$().$getClientId$(), $agent$$inline_1277_inCurrentItem$$inline_1283$$ = $AdfAgent$$.$AGENT$, $rootElement$$inline_1278_thumbTargeted$$ = this.$getDomElement$(), $dataBody$$inline_1279_inDataBody$$inline_1280$$ = this.$_getDataBody$(), $dataBody$$inline_1279_inDataBody$$inline_1280$$ = $AdfDomUtils$$.$isAncestorOrSelf$($dataBody$$inline_1279_inDataBody$$inline_1280$$, 
        $eventTarget$$23_rtl$$);
        "none" == this.$_controlArea$ ? ($id$$inline_1276_itemTextDiv$$inline_1282_nextFocusable$$inline_1281$$ = $JSCompiler_StaticMethods__getItemTextDiv$$($id$$inline_1276_itemTextDiv$$inline_1282_nextFocusable$$inline_1281$$), $id$$inline_1276_itemTextDiv$$inline_1282_nextFocusable$$inline_1281$$ = $AdfFocusUtils$$.$getNextTabStop$($id$$inline_1276_itemTextDiv$$inline_1282_nextFocusable$$inline_1281$$, $JSCompiler_alias_NULL$$, $JSCompiler_alias_TRUE$$)) : $id$$inline_1276_itemTextDiv$$inline_1282_nextFocusable$$inline_1281$$ = 
        $agent$$inline_1277_inCurrentItem$$inline_1283$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$inline_1276_itemTextDiv$$inline_1282_nextFocusable$$inline_1281$$, "sp"));
        var $agent$$inline_1277_inCurrentItem$$inline_1283$$ = $JSCompiler_alias_FALSE$$, $currentItemElement$$inline_1284$$ = $JSCompiler_alias_NULL$$;
        if($currentItemKey$$inline_1274_rowData$$inline_1285$$ = this.$_findRowByKey$($currentItemKey$$inline_1274_rowData$$inline_1285$$, $JSCompiler_alias_FALSE$$)) {
          $currentItemElement$$inline_1284$$ = $currentItemKey$$inline_1274_rowData$$inline_1285$$.$row$, $agent$$inline_1277_inCurrentItem$$inline_1283$$ = $AdfDomUtils$$.$isAncestorOrSelf$($currentItemElement$$inline_1284$$, $eventTarget$$23_rtl$$)
        }
        $propagate$$2_shiftKey$$inline_1273$$ ? $dataBody$$inline_1279_inDataBody$$inline_1280$$ ? $agent$$inline_1277_inCurrentItem$$inline_1283$$ ? $AdfFocusUtils$$.$getFirstTabStop$($currentItemElement$$inline_1284$$, $JSCompiler_alias_FALSE$$) == $eventTarget$$23_rtl$$ && ($AdfFocusUtils$$.$focusElement$($rootElement$$inline_1278_thumbTargeted$$), $id$$267_propagate$$inline_1275_spinThumbElem$$3$$ = $JSCompiler_alias_FALSE$$) : ($AdfFocusUtils$$.$focusElement$($rootElement$$inline_1278_thumbTargeted$$), 
        $id$$267_propagate$$inline_1275_spinThumbElem$$3$$ = $JSCompiler_alias_FALSE$$) : $AdfDomUtils$$.$isAncestorOrSelf$($id$$inline_1276_itemTextDiv$$inline_1282_nextFocusable$$inline_1281$$, $eventTarget$$23_rtl$$) && ($AdfFocusUtils$$.$focusLastTabStop$($currentItemElement$$inline_1284$$) || $AdfFocusUtils$$.$focusElement$($rootElement$$inline_1278_thumbTargeted$$), $id$$267_propagate$$inline_1275_spinThumbElem$$3$$ = $JSCompiler_alias_FALSE$$) : $dataBody$$inline_1279_inDataBody$$inline_1280$$ ? 
        $agent$$inline_1277_inCurrentItem$$inline_1283$$ ? $AdfFocusUtils$$.$getLastTabStop$($currentItemElement$$inline_1284$$, $JSCompiler_alias_FALSE$$) == $eventTarget$$23_rtl$$ && ($AdfFocusUtils$$.$focusElement$($id$$inline_1276_itemTextDiv$$inline_1282_nextFocusable$$inline_1281$$), $id$$267_propagate$$inline_1275_spinThumbElem$$3$$ = $JSCompiler_alias_FALSE$$) : ($AdfFocusUtils$$.$focusElement$($id$$inline_1276_itemTextDiv$$inline_1282_nextFocusable$$inline_1281$$), $id$$267_propagate$$inline_1275_spinThumbElem$$3$$ = 
        $JSCompiler_alias_FALSE$$) : $eventTarget$$23_rtl$$ == $rootElement$$inline_1278_thumbTargeted$$ && ($AdfFocusUtils$$.$focusFirstTabStop$($currentItemElement$$inline_1284$$) || $AdfFocusUtils$$.$focusElement$($id$$inline_1276_itemTextDiv$$inline_1282_nextFocusable$$inline_1281$$), $id$$267_propagate$$inline_1275_spinThumbElem$$3$$ = $JSCompiler_alias_FALSE$$);
        $propagate$$2_shiftKey$$inline_1273$$ = $id$$267_propagate$$inline_1275_spinThumbElem$$3$$
      }else {
        $propagate$$2_shiftKey$$inline_1273$$ = $JSCompiler_alias_TRUE$$
      }
    }
    if($propagate$$2_shiftKey$$inline_1273$$ && ($eventTarget$$23_rtl$$ && $eventTargetId$$ && !this.$_isEmpty$) && ($id$$267_propagate$$inline_1275_spinThumbElem$$3$$ = this.$getComponent$().$getClientId$(), $rootElement$$inline_1278_thumbTargeted$$ = $JSCompiler_alias_FALSE$$, "small" != this.$_controlArea$ && ("compact" != this.$_controlArea$ && "none" != this.$_controlArea$) && ($id$$267_propagate$$inline_1275_spinThumbElem$$3$$ = $agent$$162$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$267_propagate$$inline_1275_spinThumbElem$$3$$, 
    "st")), $rootElement$$inline_1278_thumbTargeted$$ = $eventTargetId$$ == $id$$267_propagate$$inline_1275_spinThumbElem$$3$$.id), $rootElement$$inline_1278_thumbTargeted$$ || !this.$_isTargetCellEditable$($eventTarget$$23_rtl$$))) {
      if($eventTarget$$23_rtl$$ = $AdfDhtmlCarouselPeer$$.$_isRTL$(), $keyCode$$30$$ == $AdfKeyStroke$$.$ARROWUP_KEY$ || $keyCode$$30$$ == $AdfKeyStroke$$.$ARROWLEFT_KEY$) {
        this.$_isVertical$ ? $componentEvent$$71_domEvent$$24$$.shiftKey ? $JSCompiler_StaticMethods__initiateSpinPercentAnimation$$(this, 0) : $JSCompiler_StaticMethods__initiateSpinPreviousAnimation$$(this) : $eventTarget$$23_rtl$$ ? $componentEvent$$71_domEvent$$24$$.shiftKey ? $JSCompiler_StaticMethods__initiateSpinPercentAnimation$$(this, 1) : $JSCompiler_StaticMethods__initiateSpinNextAnimation$$(this) : $componentEvent$$71_domEvent$$24$$.shiftKey ? $JSCompiler_StaticMethods__initiateSpinPercentAnimation$$(this, 
        0) : $JSCompiler_StaticMethods__initiateSpinPreviousAnimation$$(this), propogate = $JSCompiler_alias_FALSE$$
      }else {
        if($keyCode$$30$$ == $AdfKeyStroke$$.$ARROWDOWN_KEY$ || $keyCode$$30$$ == $AdfKeyStroke$$.$ARROWRIGHT_KEY$) {
          this.$_isVertical$ ? $componentEvent$$71_domEvent$$24$$.shiftKey ? $JSCompiler_StaticMethods__initiateSpinPercentAnimation$$(this, 1) : $JSCompiler_StaticMethods__initiateSpinNextAnimation$$(this) : $eventTarget$$23_rtl$$ ? ($componentEvent$$71_domEvent$$24$$.shiftKey ? $JSCompiler_StaticMethods__initiateSpinPercentAnimation$$(this, 0) : $JSCompiler_StaticMethods__initiateSpinPreviousAnimation$$(this), $propagate$$2_shiftKey$$inline_1273$$ = $JSCompiler_alias_FALSE$$) : $componentEvent$$71_domEvent$$24$$.shiftKey ? 
          $JSCompiler_StaticMethods__initiateSpinPercentAnimation$$(this, 1) : $JSCompiler_StaticMethods__initiateSpinNextAnimation$$(this), propogate = $JSCompiler_alias_FALSE$$
        }
      }
    }
    $propagate$$2_shiftKey$$inline_1273$$ || $agent$$162$$.$eatEvent$($componentEvent$$71_domEvent$$24$$)
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.HandleComponentKeyDown", {$HandleComponentKeyDown$:$AdfDhtmlCarouselPeer$$.prototype.$HandleComponentKeyDown$});
$AdfDhtmlCarouselPeer$$.prototype.$_getNextRowKeyAndRow$ = function $$AdfDhtmlCarouselPeer$$$$$_getNextRowKeyAndRow$$($selectedRowKey$$) {
  if($selectedRowKey$$) {
    for(var $agent$$164$$ = $AdfAgent$$.$AGENT$, $attrs$$4$$ = {}, $rows$$5$$ = this.$_getDataBody$().firstChild.childNodes, $rowCount$$7$$ = $rows$$5$$.length, $j$$16$$ = 0;$j$$16$$ < $rowCount$$7$$;++$j$$16$$) {
      var $row$$16$$ = $rows$$5$$[$j$$16$$], $rowKey$$22$$ = $agent$$164$$.getAttribute($row$$16$$, $AdfDhtmlCarouselPeer$$.$_ROW_KEY$);
      if($rowKey$$22$$ != $JSCompiler_alias_NULL$$) {
        if($selectedRowKey$$ == $JSCompiler_alias_NULL$$) {
          $attrs$$4$$.$rowKey$ = $rowKey$$22$$;
          $attrs$$4$$.$row$ = $row$$16$$;
          break
        }else {
          if($rowKey$$22$$ == $selectedRowKey$$) {
            $attrs$$4$$.$lastRowKeyInView$ = $rowKey$$22$$;
            if($j$$16$$ + 1 < $rowCount$$7$$) {
              $row$$16$$ = $rows$$5$$[$j$$16$$ + 1];
              $rowKey$$22$$ = $agent$$164$$.getAttribute($row$$16$$, $AdfDhtmlCarouselPeer$$.$_ROW_KEY$);
              if($rowKey$$22$$ == $JSCompiler_alias_NULL$$) {
                break
              }
              $attrs$$4$$.$rowKey$ = $rowKey$$22$$;
              $attrs$$4$$.$row$ = $row$$16$$
            }
            break
          }
        }
      }
    }
    return $attrs$$4$$
  }
};
$AdfDhtmlCarouselPeer$$.prototype.$_getPreviousRowKeyAndRow$ = function $$AdfDhtmlCarouselPeer$$$$$_getPreviousRowKeyAndRow$$($selectedRowKey$$1$$) {
  if($selectedRowKey$$1$$) {
    for(var $agent$$165$$ = $AdfAgent$$.$AGENT$, $dataBody$$23$$ = this.$_getDataBody$(), $attrs$$5$$ = {}, $rows$$6$$ = $dataBody$$23$$.firstChild.childNodes, $j$$17$$ = $rows$$6$$.length - 1;0 <= $j$$17$$;--$j$$17$$) {
      var $row$$17$$ = $rows$$6$$[$j$$17$$], $rowKey$$23$$ = $agent$$165$$.getAttribute($row$$17$$, $AdfDhtmlCarouselPeer$$.$_ROW_KEY$);
      if($rowKey$$23$$ != $JSCompiler_alias_NULL$$) {
        if($selectedRowKey$$1$$ == $JSCompiler_alias_NULL$$) {
          $attrs$$5$$.$rowKey$ = $rowKey$$23$$;
          $attrs$$5$$.$row$ = $row$$17$$;
          break
        }else {
          if($rowKey$$23$$ == $selectedRowKey$$1$$) {
            $attrs$$5$$.$lastRowKeyInView$ = $rowKey$$23$$;
            if(0 <= $j$$17$$ - 1) {
              $row$$17$$ = $rows$$6$$[$j$$17$$ - 1];
              $rowKey$$23$$ = $agent$$165$$.getAttribute($row$$17$$, $AdfDhtmlCarouselPeer$$.$_ROW_KEY$);
              if($rowKey$$23$$ == $JSCompiler_alias_NULL$$) {
                break
              }
              $attrs$$5$$.$rowKey$ = $rowKey$$23$$;
              $attrs$$5$$.$row$ = $row$$17$$
            }else {
              0 == $agent$$165$$.$getIntAttribute$($dataBody$$23$$.firstChild, "_startRow", -1) && ($attrs$$5$$.$isAtTop$ = $JSCompiler_alias_TRUE$$)
            }
            break
          }
        }
      }
    }
    return $attrs$$5$$
  }
};
$AdfDhtmlCarouselPeer$$.prototype.$_isImmediateContentDelivery$ = function $$AdfDhtmlCarouselPeer$$$$$_isImmediateContentDelivery$$($component$$439$$) {
  return"immediate" == $component$$439$$.getContentDelivery()
};
$AdfDhtmlCarouselPeer$$.$_isRTL$ = function $$AdfDhtmlCarouselPeer$$$$_isRTL$$() {
  return $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$()
};
$AdfDhtmlCarouselPeer$$.prototype.$_isOwnComponentEvent$ = function $$AdfDhtmlCarouselPeer$$$$$_isOwnComponentEvent$$($componentEvent$$72_source$$151$$) {
  $componentEvent$$72_source$$151$$ = $componentEvent$$72_source$$151$$.getSource();
  for(var $self$$8$$ = this.$getComponent$(), $isOwn$$ = $JSCompiler_alias_FALSE$$;!$isOwn$$ && $componentEvent$$72_source$$151$$;) {
    if($componentEvent$$72_source$$151$$ == $self$$8$$) {
      $isOwn$$ = $JSCompiler_alias_TRUE$$
    }else {
      if($componentEvent$$72_source$$151$$ instanceof AdfRichCarousel || $componentEvent$$72_source$$151$$ instanceof AdfUIPopup) {
        break
      }
      $componentEvent$$72_source$$151$$ = $componentEvent$$72_source$$151$$.getParent()
    }
  }
  return $isOwn$$
};
$AdfDhtmlCarouselPeer$$.$_setCursor$ = function $$AdfDhtmlCarouselPeer$$$$_setCursor$$($elem$$18$$, $cur$$2$$) {
  $elem$$18$$ && $elem$$18$$.style.cursor != $cur$$2$$ && ($elem$$18$$.style.cursor = $cur$$2$$)
};
function $JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$$($JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$self$$, $selectedWrapper$$5$$, $animationAlreadyStopped_selectedSize$$2$$) {
  $animationAlreadyStopped_selectedSize$$2$$ || $JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$self$$.$_stopAnimation$($JSCompiler_alias_TRUE$$);
  $animationAlreadyStopped_selectedSize$$2$$ = $JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$self$$.$_selectedSize$;
  var $component$$440_valign$$3$$ = $JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$self$$.$getComponent$(), $halign$$3$$ = $component$$440_valign$$3$$.getHalign(), $component$$440_valign$$3$$ = $component$$440_valign$$3$$.getValign(), $vertical$$9$$ = $JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$self$$.$_isVertical$;
  $JSCompiler_StaticMethods__positionItem$$($JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$self$$, $selectedWrapper$$5$$, $animationAlreadyStopped_selectedSize$$2$$, 0, 3E3, $vertical$$9$$, $component$$440_valign$$3$$, $halign$$3$$, 1, $JSCompiler_alias_FALSE$$);
  $JSCompiler_StaticMethods__positionSiblings$$($JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$self$$, $selectedWrapper$$5$$, $vertical$$9$$, $component$$440_valign$$3$$, $halign$$3$$, $JSCompiler_alias_TRUE$$);
  $JSCompiler_StaticMethods__positionSiblings$$($JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$self$$, $selectedWrapper$$5$$, $vertical$$9$$, $component$$440_valign$$3$$, $halign$$3$$, $JSCompiler_alias_FALSE$$);
  $JSCompiler_StaticMethods__positionThumbAndSpinInfo$$($JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$self$$)
}
function $JSCompiler_StaticMethods__doResizeNotifyOnDisplayedChildren$$($JSCompiler_StaticMethods__doResizeNotifyOnDisplayedChildren$self_rows$$7$$) {
  var $page$$77$$ = $AdfPage$$.$PAGE$;
  $JSCompiler_StaticMethods__doResizeNotifyOnDisplayedChildren$self_rows$$7$$ = $JSCompiler_StaticMethods__doResizeNotifyOnDisplayedChildren$self_rows$$7$$.$_getDataBody$().firstChild.childNodes;
  for(var $rowCount$$9$$ = $JSCompiler_StaticMethods__doResizeNotifyOnDisplayedChildren$self_rows$$7$$.length, $r$$4$$ = 0;$r$$4$$ < $rowCount$$9$$;++$r$$4$$) {
    var $firstChildElement_itemClientId$$1_itemComponent_row$$18$$ = $JSCompiler_StaticMethods__doResizeNotifyOnDisplayedChildren$self_rows$$7$$[$r$$4$$];
    "block" == $firstChildElement_itemClientId$$1_itemComponent_row$$18$$.style.display && ($firstChildElement_itemClientId$$1_itemComponent_row$$18$$ = $AdfDomUtils$$.$getFirstChildElement$($firstChildElement_itemClientId$$1_itemComponent_row$$18$$), $firstChildElement_itemClientId$$1_itemComponent_row$$18$$ != $JSCompiler_alias_NULL$$ && ($firstChildElement_itemClientId$$1_itemComponent_row$$18$$ = $firstChildElement_itemClientId$$1_itemComponent_row$$18$$.id, $firstChildElement_itemClientId$$1_itemComponent_row$$18$$ != 
    $JSCompiler_alias_NULL$$ && ($firstChildElement_itemClientId$$1_itemComponent_row$$18$$ = $AdfPage$$.$PAGE$.$findComponent$($firstChildElement_itemClientId$$1_itemComponent_row$$18$$), $firstChildElement_itemClientId$$1_itemComponent_row$$18$$ != $JSCompiler_alias_NULL$$ && $page$$77$$.$doResizeNotify$($firstChildElement_itemClientId$$1_itemComponent_row$$18$$))))
  }
}
function $JSCompiler_StaticMethods__updateTransientDragPosition$$($JSCompiler_StaticMethods__updateTransientDragPosition$self$$, $desiredPercent$$) {
  if(!$JSCompiler_StaticMethods__updateTransientDragPosition$self$$.$getComponent$().getDisabled()) {
    var $rowCount$$10$$ = $JSCompiler_StaticMethods__updateTransientDragPosition$self$$.$_rowCount$;
    -1 == $rowCount$$10$$ && ($rowCount$$10$$ = $JSCompiler_StaticMethods__updateTransientDragPosition$self$$.$_knownRowCount$ + $AdfDhtmlCarouselPeer$$.$_FETCH_MORE_ITEM_COUNT$);
    var $fractionalRowIndex$$ = Math.max(0, $desiredPercent$$ * ($rowCount$$10$$ - 1));
    $JSCompiler_StaticMethods__positionThumbAndSpinInfo$$($JSCompiler_StaticMethods__updateTransientDragPosition$self$$, Math.min($fractionalRowIndex$$, $rowCount$$10$$ - 1))
  }
}
function $JSCompiler_StaticMethods__positionSiblings$$($JSCompiler_StaticMethods__positionSiblings$self$$, $auxItem_selectedItem$$2$$, $vertical$$10$$, $valign$$4$$, $halign$$4$$, $previous$$) {
  var $auxSize_selectedSize$$3$$ = $JSCompiler_StaticMethods__positionSiblings$self$$.$_selectedSize$, $shift_zIndex$$1$$ = 3E3;
  $auxItem_selectedItem$$2$$ = $previous$$ ? $AdfDomUtils$$.$getPreviousElement$($auxItem_selectedItem$$2$$) : $AdfDomUtils$$.$getNextElement$($auxItem_selectedItem$$2$$);
  if("oneByOne" == $JSCompiler_StaticMethods__positionSiblings$self$$.$_displayItems$) {
    for($shift_zIndex$$1$$ = $previous$$ ? -$auxSize_selectedSize$$3$$ : $auxSize_selectedSize$$3$$;$auxItem_selectedItem$$2$$ != $JSCompiler_alias_NULL$$;) {
      $JSCompiler_StaticMethods__positionItem$$($JSCompiler_StaticMethods__positionSiblings$self$$, $auxItem_selectedItem$$2$$, $auxSize_selectedSize$$3$$, $shift_zIndex$$1$$, 2999, $vertical$$10$$, $valign$$4$$, $halign$$4$$, 1, $JSCompiler_alias_TRUE$$), $auxItem_selectedItem$$2$$ = $previous$$ ? $AdfDomUtils$$.$getPreviousElement$($auxItem_selectedItem$$2$$) : $AdfDomUtils$$.$getNextElement$($auxItem_selectedItem$$2$$)
    }
  }else {
    for(var $shrinkFactor$$ = $JSCompiler_StaticMethods__positionSiblings$self$$.$_SHRINK_FACTOR$, $shiftFactor$$ = $JSCompiler_StaticMethods__positionSiblings$self$$.$_SHIFT_FACTOR$, $auxShift$$ = 0, $auxOpacity$$ = 100;$auxItem_selectedItem$$2$$ != $JSCompiler_alias_NULL$$;) {
      $auxShift$$ += $auxSize_selectedSize$$3$$ * $shiftFactor$$, $auxSize_selectedSize$$3$$ = Math.round($auxSize_selectedSize$$3$$ * $shrinkFactor$$), $auxOpacity$$ *= $shrinkFactor$$, $JSCompiler_StaticMethods__positionItem$$($JSCompiler_StaticMethods__positionSiblings$self$$, $auxItem_selectedItem$$2$$, $auxSize_selectedSize$$3$$, $previous$$ ? -$auxShift$$ : $auxShift$$, --$shift_zIndex$$1$$, $vertical$$10$$, $valign$$4$$, $halign$$4$$, Math.max(1, 100 - $auxOpacity$$), $JSCompiler_alias_TRUE$$), 
      $auxItem_selectedItem$$2$$ = $previous$$ ? $AdfDomUtils$$.$getPreviousElement$($auxItem_selectedItem$$2$$) : $AdfDomUtils$$.$getNextElement$($auxItem_selectedItem$$2$$)
    }
  }
}
function $JSCompiler_StaticMethods__getAuxShiftSizeAndOpacity$$($JSCompiler_StaticMethods__getAuxShiftSizeAndOpacity$self$$, $offsetIndex$$) {
  var $shrinkFactor$$1$$ = $JSCompiler_StaticMethods__getAuxShiftSizeAndOpacity$self$$.$_SHRINK_FACTOR$, $shiftFactor$$1$$ = $JSCompiler_StaticMethods__getAuxShiftSizeAndOpacity$self$$.$_SHIFT_FACTOR$, $auxShift$$1$$ = 0, $auxSize$$1$$ = $JSCompiler_StaticMethods__getAuxShiftSizeAndOpacity$self$$.$_selectedSize$, $auxOpacity$$1$$ = 100;
  if("oneByOne" == $JSCompiler_StaticMethods__getAuxShiftSizeAndOpacity$self$$.$_displayItems$) {
    $auxShift$$1$$ = $offsetIndex$$, $auxOpacity$$1$$ *= $shrinkFactor$$1$$
  }else {
    for(var $i$$182$$ = 0;$i$$182$$ < $offsetIndex$$;$i$$182$$++) {
      $auxShift$$1$$ += $auxSize$$1$$ * $shiftFactor$$1$$, $auxSize$$1$$ = Math.round($auxSize$$1$$ * $shrinkFactor$$1$$), $auxOpacity$$1$$ *= $shrinkFactor$$1$$
    }
  }
  return{$auxShift$:$auxShift$$1$$, $auxSize$:$auxSize$$1$$, $auxOpacity$:Math.max(1, 100 - $auxOpacity$$1$$)}
}
function $JSCompiler_StaticMethods__positionItem$$($JSCompiler_StaticMethods__positionItem$self$$, $item$$3_itemOverlay$$, $size$$18$$, $shift$$1$$, $zIndex$$2$$, $vertical$$11$$, $valign$$5$$, $halign$$5$$, $overlayOpacity$$, $showOverlay$$) {
  var $dataBodyWidth$$3$$ = $JSCompiler_StaticMethods__positionItem$self$$.$_dataBodyWidth$, $dataBodyHeight$$3$$ = $JSCompiler_StaticMethods__positionItem$self$$.$_dataBodyHeight$, $wrapperStyle$$3$$ = $item$$3_itemOverlay$$.style;
  $wrapperStyle$$3$$.display = 5 < $size$$18$$ || !$showOverlay$$ ? "block" : "none";
  $wrapperStyle$$3$$.width = $size$$18$$ + "px";
  $wrapperStyle$$3$$.height = $size$$18$$ + "px";
  !$showOverlay$$ && "oneByOne" == $JSCompiler_StaticMethods__positionItem$self$$.$_displayItems$ ? ($wrapperStyle$$3$$.top = "0px", $wrapperStyle$$3$$.left = "0px") : ($wrapperStyle$$3$$.top = $JSCompiler_StaticMethods__getValignTop$$($JSCompiler_StaticMethods__positionItem$self$$, $vertical$$11$$, $valign$$5$$, $dataBodyHeight$$3$$, $size$$18$$, $shift$$1$$) + "px", $wrapperStyle$$3$$.left = $JSCompiler_StaticMethods__getHalignLeft$$($JSCompiler_StaticMethods__positionItem$self$$, $vertical$$11$$, 
  $halign$$5$$, $dataBodyWidth$$3$$, $size$$18$$, $shift$$1$$) + "px");
  $wrapperStyle$$3$$.zIndex = $zIndex$$2$$;
  $item$$3_itemOverlay$$ = $AdfDomUtils$$.$getLastChildElement$($item$$3_itemOverlay$$);
  $item$$3_itemOverlay$$ != $JSCompiler_alias_NULL$$ && ($item$$3_itemOverlay$$.style.display = $showOverlay$$ ? "block" : "none", $JSCompiler_StaticMethods__positionItem$self$$.$_useOpacity$ ? $AdfAgent$$.$AGENT$.$setOpacity$($item$$3_itemOverlay$$, $overlayOpacity$$) : $item$$3_itemOverlay$$.style.backgroundColor = "transparent")
}
function $JSCompiler_StaticMethods__getHalignLeft$$($JSCompiler_StaticMethods__getHalignLeft$self_halignLeft$$, $vertical$$12$$, $halign$$6$$, $dbWidth$$1$$, $itemSize$$, $shift$$2$$) {
  if(0 != $shift$$2$$ && "oneByOne" == $JSCompiler_StaticMethods__getHalignLeft$self_halignLeft$$.$_displayItems$) {
    return $vertical$$12$$ ? 0 : 0 > $shift$$2$$ ? -$JSCompiler_StaticMethods__getHalignLeft$self_halignLeft$$.$_selectedSize$ : $JSCompiler_StaticMethods__getHalignLeft$self_halignLeft$$.$_selectedSize$
  }
  $vertical$$12$$ ? $JSCompiler_StaticMethods__getHalignLeft$self_halignLeft$$ = "start" == $halign$$6$$ ? $AdfDhtmlCarouselPeer$$.$_isRTL$() ? $dbWidth$$1$$ - $itemSize$$ - $JSCompiler_StaticMethods__getHalignLeft$self_halignLeft$$.$_widthMargin$ : $JSCompiler_StaticMethods__getHalignLeft$self_halignLeft$$.$_widthMargin$ : "end" == $halign$$6$$ ? $AdfDhtmlCarouselPeer$$.$_isRTL$() ? $JSCompiler_StaticMethods__getHalignLeft$self_halignLeft$$.$_widthMargin$ : $dbWidth$$1$$ - $itemSize$$ - $JSCompiler_StaticMethods__getHalignLeft$self_halignLeft$$.$_widthMargin$ : 
  0.5 * ($dbWidth$$1$$ - $itemSize$$) : ($JSCompiler_StaticMethods__getHalignLeft$self_halignLeft$$ = "start" == $halign$$6$$ ? 0.2 * ($dbWidth$$1$$ - $itemSize$$) + $shift$$2$$ : "end" == $halign$$6$$ ? 0.8 * ($dbWidth$$1$$ - $itemSize$$) + $shift$$2$$ : 0.5 * ($dbWidth$$1$$ - $itemSize$$) + $shift$$2$$, $AdfDhtmlCarouselPeer$$.$_isRTL$() && ($JSCompiler_StaticMethods__getHalignLeft$self_halignLeft$$ = $dbWidth$$1$$ - $itemSize$$ - $JSCompiler_StaticMethods__getHalignLeft$self_halignLeft$$));
  return Math.round($JSCompiler_StaticMethods__getHalignLeft$self_halignLeft$$)
}
function $JSCompiler_StaticMethods__getValignTop$$($JSCompiler_StaticMethods__getValignTop$self$$, $valignTop_vertical$$13$$, $valign$$6$$, $dbHeight$$1$$, $itemSize$$1$$, $shift$$3$$) {
  if(0 != $shift$$3$$ && "oneByOne" == $JSCompiler_StaticMethods__getValignTop$self$$.$_displayItems$) {
    return $valignTop_vertical$$13$$ ? 0 > $shift$$3$$ ? -$JSCompiler_StaticMethods__getValignTop$self$$.$_selectedSize$ : $JSCompiler_StaticMethods__getValignTop$self$$.$_selectedSize$ : 0
  }
  $valignTop_vertical$$13$$ ? "top" == $valign$$6$$ ? ($valignTop_vertical$$13$$ = 0.2 * ($dbHeight$$1$$ - $itemSize$$1$$) + $shift$$3$$, 0 < $shift$$3$$ && ($valignTop_vertical$$13$$ += $JSCompiler_StaticMethods__getValignTop$self$$.$_heightOfBoxUnderCurrentItem$)) : "bottom" == $valign$$6$$ ? ($valignTop_vertical$$13$$ = 0.8 * ($dbHeight$$1$$ - $itemSize$$1$$) + $shift$$3$$, 0 < $shift$$3$$ && ($valignTop_vertical$$13$$ += 0.25 * $JSCompiler_StaticMethods__getValignTop$self$$.$_heightOfBoxUnderCurrentItem$)) : 
  ($valignTop_vertical$$13$$ = 0.5 * ($dbHeight$$1$$ - $itemSize$$1$$) + $shift$$3$$, 0 < $shift$$3$$ && ($valignTop_vertical$$13$$ += $JSCompiler_StaticMethods__getValignTop$self$$.$_heightOfBoxUnderCurrentItem$)) : $valignTop_vertical$$13$$ = "top" == $valign$$6$$ ? $JSCompiler_StaticMethods__getValignTop$self$$.$_heightMargin$ : "bottom" == $valign$$6$$ ? $dbHeight$$1$$ - $itemSize$$1$$ - $JSCompiler_StaticMethods__getValignTop$self$$.$_heightMargin$ : 0.5 * ($dbHeight$$1$$ - $itemSize$$1$$);
  return Math.round($valignTop_vertical$$13$$)
}
function $JSCompiler_StaticMethods__replaceWithDataBlock$$($JSCompiler_StaticMethods__replaceWithDataBlock$self$$, $dataBody$$25_row$$19_startRow$$2$$, $desiredRowKey$$1_newBlock$$1$$, $fetchIndex$$2$$) {
  var $agent$$167$$ = $AdfAgent$$.$AGENT$, $currentBlock$$1_rowCount$$11$$ = $dataBody$$25_row$$19_startRow$$2$$.firstChild;
  $JSCompiler_StaticMethods__replaceWithDataBlock$self$$.$_unregisterNode$($currentBlock$$1_rowCount$$11$$);
  $dataBody$$25_row$$19_startRow$$2$$.removeChild($currentBlock$$1_rowCount$$11$$);
  $dataBody$$25_row$$19_startRow$$2$$.appendChild($desiredRowKey$$1_newBlock$$1$$);
  $agent$$167$$.$elementsAdded$($desiredRowKey$$1_newBlock$$1$$);
  ($dataBody$$25_row$$19_startRow$$2$$ = $desiredRowKey$$1_newBlock$$1$$.firstChild) ? ($dataBody$$25_row$$19_startRow$$2$$ = $desiredRowKey$$1_newBlock$$1$$.$startRow$, $currentBlock$$1_rowCount$$11$$ = $desiredRowKey$$1_newBlock$$1$$.childNodes.length, $AdfAssert$$.assert($fetchIndex$$2$$ >= $dataBody$$25_row$$19_startRow$$2$$, "Bad data block state: (" + $desiredRowKey$$1_newBlock$$1$$.innerHTML + ", " + $fetchIndex$$2$$ + ", " + $dataBody$$25_row$$19_startRow$$2$$ + ", " + $currentBlock$$1_rowCount$$11$$ + 
  ")"), $JSCompiler_StaticMethods__updateComponentStartAndRowProperties$$($JSCompiler_StaticMethods__replaceWithDataBlock$self$$.$getComponent$(), $dataBody$$25_row$$19_startRow$$2$$, $currentBlock$$1_rowCount$$11$$), $fetchIndex$$2$$ = Math.min($fetchIndex$$2$$, $dataBody$$25_row$$19_startRow$$2$$ + $currentBlock$$1_rowCount$$11$$ - 1), $dataBody$$25_row$$19_startRow$$2$$ = $desiredRowKey$$1_newBlock$$1$$.childNodes[$fetchIndex$$2$$ - $dataBody$$25_row$$19_startRow$$2$$], $desiredRowKey$$1_newBlock$$1$$ = 
  $agent$$167$$.getAttribute($dataBody$$25_row$$19_startRow$$2$$, $AdfDhtmlCarouselPeer$$.$_ROW_KEY$), $JSCompiler_StaticMethods__updateCurrentItemKey$$($JSCompiler_StaticMethods__replaceWithDataBlock$self$$, $desiredRowKey$$1_newBlock$$1$$, $JSCompiler_alias_TRUE$$), $JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$$($JSCompiler_StaticMethods__replaceWithDataBlock$self$$, $dataBody$$25_row$$19_startRow$$2$$, $JSCompiler_alias_FALSE$$), $JSCompiler_StaticMethods__queueResizeNotifyOnDisplayedChildren$$($JSCompiler_StaticMethods__replaceWithDataBlock$self$$)) : 
  $AdfLogger$$.$LOGGER$.severe("No items in the data block")
}
function $JSCompiler_StaticMethods__addDataBlockItems$$($JSCompiler_StaticMethods__addDataBlockItems$self$$, $currentBlock$$2_dataBody$$26$$, $newBlock$$2$$, $prepend$$1$$) {
  $currentBlock$$2_dataBody$$26$$ = $currentBlock$$2_dataBody$$26$$.firstChild;
  var $newRows$$ = $newBlock$$2$$.childNodes.length, $numRows$$5$$ = $JSCompiler_StaticMethods__getNumberOfRows$$($currentBlock$$2_dataBody$$26$$), $agent$$168$$ = $AdfAgent$$.$AGENT$, $addedIndex_startRow$$3$$ = $currentBlock$$2_dataBody$$26$$.$startRow$, $rowData$$10$$ = $JSCompiler_StaticMethods__addDataBlockItems$self$$.$_findRowByKey$($JSCompiler_StaticMethods__addDataBlockItems$self$$.$_currentItemKey$, $JSCompiler_alias_TRUE$$);
  if($rowData$$10$$ == $JSCompiler_alias_NULL$$) {
    $AdfLogger$$.$LOGGER$.severe("Addition of data block items failed: " + $JSCompiler_StaticMethods__addDataBlockItems$self$$.$_currentItemKey$ + ", " + $rowData$$10$$)
  }else {
    var $auxItem$$1_selectedIndex$$1$$ = $rowData$$10$$.index, $component$$444$$ = $JSCompiler_StaticMethods__addDataBlockItems$self$$.$getComponent$();
    $JSCompiler_StaticMethods__addDataBlockItems$self$$.$_stopAnimation$($JSCompiler_alias_TRUE$$, $rowData$$10$$.$row$);
    $JSCompiler_StaticMethods__removePlaceholders$$($JSCompiler_StaticMethods__addDataBlockItems$self$$);
    for(var $halign$$7$$ = $component$$444$$.getHalign(), $valign$$7$$ = $component$$444$$.getValign(), $zIndex$$3$$ = $prepend$$1$$ ? 3E3 - ($auxItem$$1_selectedIndex$$1$$ - ($addedIndex_startRow$$3$$ - 1)) : 3E3 - ($numRows$$5$$ + $addedIndex_startRow$$3$$ - $auxItem$$1_selectedIndex$$1$$), $addedIndex_startRow$$3$$ = $prepend$$1$$ ? $auxItem$$1_selectedIndex$$1$$ - ($addedIndex_startRow$$3$$ - 1) : $numRows$$5$$ + $addedIndex_startRow$$3$$ - $auxItem$$1_selectedIndex$$1$$;$prepend$$1$$ ? $newBlock$$2$$.lastChild : 
    $newBlock$$2$$.firstChild;) {
      $auxItem$$1_selectedIndex$$1$$ = $prepend$$1$$ ? $newBlock$$2$$.lastChild : $newBlock$$2$$.firstChild;
      if($prepend$$1$$) {
        var $auxData$$2_oldFirstRow$$ = $JSCompiler_StaticMethods__getFirstNonPlaceholder$$($currentBlock$$2_dataBody$$26$$);
        $currentBlock$$2_dataBody$$26$$.insertBefore($auxItem$$1_selectedIndex$$1$$, $auxData$$2_oldFirstRow$$)
      }else {
        $currentBlock$$2_dataBody$$26$$.appendChild($auxItem$$1_selectedIndex$$1$$)
      }
      $auxData$$2_oldFirstRow$$ = $JSCompiler_StaticMethods__getAuxShiftSizeAndOpacity$$($JSCompiler_StaticMethods__addDataBlockItems$self$$, $addedIndex_startRow$$3$$);
      $JSCompiler_StaticMethods__positionItem$$($JSCompiler_StaticMethods__addDataBlockItems$self$$, $auxItem$$1_selectedIndex$$1$$, $auxData$$2_oldFirstRow$$.$auxSize$, $prepend$$1$$ ? -$auxData$$2_oldFirstRow$$.$auxShift$ : $auxData$$2_oldFirstRow$$.$auxShift$, --$zIndex$$3$$, $JSCompiler_StaticMethods__addDataBlockItems$self$$.$_isVertical$, $valign$$7$$, $halign$$7$$, $auxData$$2_oldFirstRow$$.$auxOpacity$, $JSCompiler_alias_TRUE$$);
      $agent$$168$$.$elementsAdded$($auxItem$$1_selectedIndex$$1$$);
      $addedIndex_startRow$$3$$++
    }
    $prepend$$1$$ && ($currentBlock$$2_dataBody$$26$$.$startRow$ -= $newRows$$);
    $numRows$$5$$ += $newRows$$;
    $currentBlock$$2_dataBody$$26$$.$numRows$ = $numRows$$5$$;
    $JSCompiler_StaticMethods__updateComponentStartAndRowProperties$$($component$$444$$, $currentBlock$$2_dataBody$$26$$.$startRow$, $numRows$$5$$);
    $JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$$($JSCompiler_StaticMethods__addDataBlockItems$self$$, $rowData$$10$$.$row$, $JSCompiler_alias_FALSE$$);
    $JSCompiler_StaticMethods__queueResizeNotifyOnDisplayedChildren$$($JSCompiler_StaticMethods__addDataBlockItems$self$$)
  }
}
function $JSCompiler_StaticMethods__positionThumbAndSpinInfo$$($JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$, $itemIndex$$) {
  var $agent$$169_displayItemNumber$$inline_1301_infoText$$inline_1306_spinInfoDivStyle$$inline_1307_spinNextElem$$7_spinThumbElem$$5$$ = $AdfAgent$$.$AGENT$, $id$$270_id$$inline_1302_spinControlOffset$$inline_1314_spinNextElem$$inline_1315_spinPrevElem$$inline_1305_vertical$$14$$ = $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$getComponent$().$getClientId$();
  if($itemIndex$$ == $JSCompiler_alias_VOID$$) {
    if($JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_duringThumbDrag$) {
      return
    }
    var $lastIndex$$1_previousDisabled_rowCount$$12_rowData$$11_spinInfoDiv$$inline_1303_textWidth$$inline_1310_thumbPos$$ = $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_findRowByKey$($JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_currentItemKey$, $JSCompiler_alias_TRUE$$);
    if($lastIndex$$1_previousDisabled_rowCount$$12_rowData$$11_spinInfoDiv$$inline_1303_textWidth$$inline_1310_thumbPos$$ == $JSCompiler_alias_NULL$$) {
      $AdfLogger$$.$LOGGER$.severe("Thumb details failed: " + $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_currentItemKey$ + ", " + $lastIndex$$1_previousDisabled_rowCount$$12_rowData$$11_spinInfoDiv$$inline_1303_textWidth$$inline_1310_thumbPos$$);
      return
    }
    $itemIndex$$ = $lastIndex$$1_previousDisabled_rowCount$$12_rowData$$11_spinInfoDiv$$inline_1303_textWidth$$inline_1310_thumbPos$$.index
  }
  var $lastIndex$$1_previousDisabled_rowCount$$12_rowData$$11_spinInfoDiv$$inline_1303_textWidth$$inline_1310_thumbPos$$ = $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_rowCount$, $lastIndex$$1_previousDisabled_rowCount$$12_rowData$$11_spinInfoDiv$$inline_1303_textWidth$$inline_1310_thumbPos$$ = -1 != $lastIndex$$1_previousDisabled_rowCount$$12_rowData$$11_spinInfoDiv$$inline_1303_textWidth$$inline_1310_thumbPos$$ ? $lastIndex$$1_previousDisabled_rowCount$$12_rowData$$11_spinInfoDiv$$inline_1303_textWidth$$inline_1310_thumbPos$$ : 
  $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_knownRowCount$ + $AdfDhtmlCarouselPeer$$.$_FETCH_MORE_ITEM_COUNT$, $lastIndex$$1_previousDisabled_rowCount$$12_rowData$$11_spinInfoDiv$$inline_1303_textWidth$$inline_1310_thumbPos$$ = Math.max(1, $lastIndex$$1_previousDisabled_rowCount$$12_rowData$$11_spinInfoDiv$$inline_1303_textWidth$$inline_1310_thumbPos$$ - 1), $currentPercent_nextDisabled_spinBarElem$$4_spinThumbOffset$$inline_1311_totalNumberOfItems$$inline_1304$$ = $itemIndex$$ / 
  $lastIndex$$1_previousDisabled_rowCount$$12_rowData$$11_spinInfoDiv$$inline_1303_textWidth$$inline_1310_thumbPos$$;
  $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_duringThumbDrag$ || ($JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_currentPercent$ = $currentPercent_nextDisabled_spinBarElem$$4_spinThumbOffset$$inline_1311_totalNumberOfItems$$inline_1304$$);
  if("small" != $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_controlArea$ && "compact" != $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_controlArea$ && "none" != $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_controlArea$) {
    $currentPercent_nextDisabled_spinBarElem$$4_spinThumbOffset$$inline_1311_totalNumberOfItems$$inline_1304$$ = $agent$$169_displayItemNumber$$inline_1301_infoText$$inline_1306_spinInfoDivStyle$$inline_1307_spinNextElem$$7_spinThumbElem$$5$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$270_id$$inline_1302_spinControlOffset$$inline_1314_spinNextElem$$inline_1315_spinPrevElem$$inline_1305_vertical$$14$$, "sb"));
    $agent$$169_displayItemNumber$$inline_1301_infoText$$inline_1306_spinInfoDivStyle$$inline_1307_spinNextElem$$7_spinThumbElem$$5$$ = $agent$$169_displayItemNumber$$inline_1301_infoText$$inline_1306_spinInfoDivStyle$$inline_1307_spinNextElem$$7_spinThumbElem$$5$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$270_id$$inline_1302_spinControlOffset$$inline_1314_spinNextElem$$inline_1315_spinPrevElem$$inline_1305_vertical$$14$$, "st"));
    $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_duringThumbDrag$ || ($JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_percentSize$ = 1 / $lastIndex$$1_previousDisabled_rowCount$$12_rowData$$11_spinInfoDiv$$inline_1303_textWidth$$inline_1310_thumbPos$$);
    var $id$$270_id$$inline_1302_spinControlOffset$$inline_1314_spinNextElem$$inline_1315_spinPrevElem$$inline_1305_vertical$$14$$ = $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_isVertical$, $spinPrevElem$$8_spinThumbElem$$inline_1309_spinThumbWidth$$inline_1312_thumbSizeCorrection$$ = $agent$$169_displayItemNumber$$inline_1301_infoText$$inline_1306_spinInfoDivStyle$$inline_1307_spinNextElem$$7_spinThumbElem$$5$$[$id$$270_id$$inline_1302_spinControlOffset$$inline_1314_spinNextElem$$inline_1315_spinPrevElem$$inline_1305_vertical$$14$$ ? 
    "offsetHeight" : "offsetWidth"], $lastIndex$$1_previousDisabled_rowCount$$12_rowData$$11_spinInfoDiv$$inline_1303_textWidth$$inline_1310_thumbPos$$ = $id$$270_id$$inline_1302_spinControlOffset$$inline_1314_spinNextElem$$inline_1315_spinPrevElem$$inline_1305_vertical$$14$$ ? (1 - $itemIndex$$ / $lastIndex$$1_previousDisabled_rowCount$$12_rowData$$11_spinInfoDiv$$inline_1303_textWidth$$inline_1310_thumbPos$$) * ($currentPercent_nextDisabled_spinBarElem$$4_spinThumbOffset$$inline_1311_totalNumberOfItems$$inline_1304$$.offsetHeight - 
    $spinPrevElem$$8_spinThumbElem$$inline_1309_spinThumbWidth$$inline_1312_thumbSizeCorrection$$) : $AdfDhtmlCarouselPeer$$.$_isRTL$() ? ($lastIndex$$1_previousDisabled_rowCount$$12_rowData$$11_spinInfoDiv$$inline_1303_textWidth$$inline_1310_thumbPos$$ - $itemIndex$$) / $lastIndex$$1_previousDisabled_rowCount$$12_rowData$$11_spinInfoDiv$$inline_1303_textWidth$$inline_1310_thumbPos$$ * ($currentPercent_nextDisabled_spinBarElem$$4_spinThumbOffset$$inline_1311_totalNumberOfItems$$inline_1304$$.offsetWidth - 
    $spinPrevElem$$8_spinThumbElem$$inline_1309_spinThumbWidth$$inline_1312_thumbSizeCorrection$$) : $itemIndex$$ / $lastIndex$$1_previousDisabled_rowCount$$12_rowData$$11_spinInfoDiv$$inline_1303_textWidth$$inline_1310_thumbPos$$ * ($currentPercent_nextDisabled_spinBarElem$$4_spinThumbOffset$$inline_1311_totalNumberOfItems$$inline_1304$$.offsetWidth - $spinPrevElem$$8_spinThumbElem$$inline_1309_spinThumbWidth$$inline_1312_thumbSizeCorrection$$);
    $agent$$169_displayItemNumber$$inline_1301_infoText$$inline_1306_spinInfoDivStyle$$inline_1307_spinNextElem$$7_spinThumbElem$$5$$.style[$id$$270_id$$inline_1302_spinControlOffset$$inline_1314_spinNextElem$$inline_1315_spinPrevElem$$inline_1305_vertical$$14$$ ? "bottom" : "left"] = $lastIndex$$1_previousDisabled_rowCount$$12_rowData$$11_spinInfoDiv$$inline_1303_textWidth$$inline_1310_thumbPos$$ + "px"
  }else {
    !$JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_duringThumbDrag$ && "none" != $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_controlArea$ && ($lastIndex$$1_previousDisabled_rowCount$$12_rowData$$11_spinInfoDiv$$inline_1303_textWidth$$inline_1310_thumbPos$$ = 0 == $itemIndex$$, $currentPercent_nextDisabled_spinBarElem$$4_spinThumbOffset$$inline_1311_totalNumberOfItems$$inline_1304$$ = 1 == $currentPercent_nextDisabled_spinBarElem$$4_spinThumbOffset$$inline_1311_totalNumberOfItems$$inline_1304$$, 
    $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$getComponent$().getDisabled() && ($currentPercent_nextDisabled_spinBarElem$$4_spinThumbOffset$$inline_1311_totalNumberOfItems$$inline_1304$$ = $lastIndex$$1_previousDisabled_rowCount$$12_rowData$$11_spinInfoDiv$$inline_1303_textWidth$$inline_1310_thumbPos$$ = $JSCompiler_alias_TRUE$$), $spinPrevElem$$8_spinThumbElem$$inline_1309_spinThumbWidth$$inline_1312_thumbSizeCorrection$$ = $agent$$169_displayItemNumber$$inline_1301_infoText$$inline_1306_spinInfoDivStyle$$inline_1307_spinNextElem$$7_spinThumbElem$$5$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$270_id$$inline_1302_spinControlOffset$$inline_1314_spinNextElem$$inline_1315_spinPrevElem$$inline_1305_vertical$$14$$, 
    "sp")), $agent$$169_displayItemNumber$$inline_1301_infoText$$inline_1306_spinInfoDivStyle$$inline_1307_spinNextElem$$7_spinThumbElem$$5$$ = $agent$$169_displayItemNumber$$inline_1301_infoText$$inline_1306_spinInfoDivStyle$$inline_1307_spinNextElem$$7_spinThumbElem$$5$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$270_id$$inline_1302_spinControlOffset$$inline_1314_spinNextElem$$inline_1315_spinPrevElem$$inline_1305_vertical$$14$$, "sn")), $AdfDomUtils$$.$addOrRemoveCSSClassName$($lastIndex$$1_previousDisabled_rowCount$$12_rowData$$11_spinInfoDiv$$inline_1303_textWidth$$inline_1310_thumbPos$$, 
    $spinPrevElem$$8_spinThumbElem$$inline_1309_spinThumbWidth$$inline_1312_thumbSizeCorrection$$, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$), $AdfDomUtils$$.$addOrRemoveCSSClassName$($currentPercent_nextDisabled_spinBarElem$$4_spinThumbOffset$$inline_1311_totalNumberOfItems$$inline_1304$$, $agent$$169_displayItemNumber$$inline_1301_infoText$$inline_1306_spinInfoDivStyle$$inline_1307_spinNextElem$$7_spinThumbElem$$5$$, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$))
  }
  if("compact" != $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_controlArea$ && "none" != $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_controlArea$ && ($agent$$169_displayItemNumber$$inline_1301_infoText$$inline_1306_spinInfoDivStyle$$inline_1307_spinNextElem$$7_spinThumbElem$$5$$ = $itemIndex$$ + 1, $id$$270_id$$inline_1302_spinControlOffset$$inline_1314_spinNextElem$$inline_1315_spinPrevElem$$inline_1305_vertical$$14$$ = $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$getComponent$().$getClientId$(), 
  $lastIndex$$1_previousDisabled_rowCount$$12_rowData$$11_spinInfoDiv$$inline_1303_textWidth$$inline_1310_thumbPos$$ = $JSCompiler_StaticMethods__getSpinInfoDiv$$($JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$, $id$$270_id$$inline_1302_spinControlOffset$$inline_1314_spinNextElem$$inline_1315_spinPrevElem$$inline_1305_vertical$$14$$), $currentPercent_nextDisabled_spinBarElem$$4_spinThumbOffset$$inline_1311_totalNumberOfItems$$inline_1304$$ = $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_rowCount$, 
  $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_duringThumbDrag$ && ($agent$$169_displayItemNumber$$inline_1301_infoText$$inline_1306_spinInfoDivStyle$$inline_1307_spinNextElem$$7_spinThumbElem$$5$$ = Math.round($agent$$169_displayItemNumber$$inline_1301_infoText$$inline_1306_spinInfoDivStyle$$inline_1307_spinNextElem$$7_spinThumbElem$$5$$)), $agent$$169_displayItemNumber$$inline_1301_infoText$$inline_1306_spinInfoDivStyle$$inline_1307_spinNextElem$$7_spinThumbElem$$5$$ = -1 == $currentPercent_nextDisabled_spinBarElem$$4_spinThumbOffset$$inline_1311_totalNumberOfItems$$inline_1304$$ ? 
  $agent$$169_displayItemNumber$$inline_1301_infoText$$inline_1306_spinInfoDivStyle$$inline_1307_spinNextElem$$7_spinThumbElem$$5$$ : $AdfPage$$.$PAGE$.$getLookAndFeel$().$getTranslatedString$("af_carousel.TIP_SPIN_INFO_X_OF_Y", $agent$$169_displayItemNumber$$inline_1301_infoText$$inline_1306_spinInfoDivStyle$$inline_1307_spinNextElem$$7_spinThumbElem$$5$$, $currentPercent_nextDisabled_spinBarElem$$4_spinThumbOffset$$inline_1311_totalNumberOfItems$$inline_1304$$), $lastIndex$$1_previousDisabled_rowCount$$12_rowData$$11_spinInfoDiv$$inline_1303_textWidth$$inline_1310_thumbPos$$.innerHTML = 
  "\x3cspan\x3e" + $agent$$169_displayItemNumber$$inline_1301_infoText$$inline_1306_spinInfoDivStyle$$inline_1307_spinNextElem$$7_spinThumbElem$$5$$ + "\x3c/span\x3e", "small" != $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_controlArea$ && "compact" != $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_controlArea$ && "none" != $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_controlArea$)) {
    var $agent$$169_displayItemNumber$$inline_1301_infoText$$inline_1306_spinInfoDivStyle$$inline_1307_spinNextElem$$7_spinThumbElem$$5$$ = $lastIndex$$1_previousDisabled_rowCount$$12_rowData$$11_spinInfoDiv$$inline_1303_textWidth$$inline_1310_thumbPos$$.style, $agent$$inline_1308_spinButtonWidth$$inline_1313$$ = $AdfAgent$$.$AGENT$, $spinPrevElem$$8_spinThumbElem$$inline_1309_spinThumbWidth$$inline_1312_thumbSizeCorrection$$ = $agent$$inline_1308_spinButtonWidth$$inline_1313$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$270_id$$inline_1302_spinControlOffset$$inline_1314_spinNextElem$$inline_1315_spinPrevElem$$inline_1305_vertical$$14$$, 
    "st"));
    $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_isVertical$ ? ($id$$270_id$$inline_1302_spinControlOffset$$inline_1314_spinNextElem$$inline_1315_spinPrevElem$$inline_1305_vertical$$14$$ = $agent$$inline_1308_spinButtonWidth$$inline_1313$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$270_id$$inline_1302_spinControlOffset$$inline_1314_spinNextElem$$inline_1315_spinPrevElem$$inline_1305_vertical$$14$$, "sp")), $agent$$169_displayItemNumber$$inline_1301_infoText$$inline_1306_spinInfoDivStyle$$inline_1307_spinNextElem$$7_spinThumbElem$$5$$.paddingTop = 
    Math.round($id$$270_id$$inline_1302_spinControlOffset$$inline_1314_spinNextElem$$inline_1315_spinPrevElem$$inline_1305_vertical$$14$$.offsetTop + $id$$270_id$$inline_1302_spinControlOffset$$inline_1314_spinNextElem$$inline_1315_spinPrevElem$$inline_1305_vertical$$14$$.offsetHeight + $spinPrevElem$$8_spinThumbElem$$inline_1309_spinThumbWidth$$inline_1312_thumbSizeCorrection$$.offsetTop + $spinPrevElem$$8_spinThumbElem$$inline_1309_spinThumbWidth$$inline_1312_thumbSizeCorrection$$.offsetHeight / 
    2 - $lastIndex$$1_previousDisabled_rowCount$$12_rowData$$11_spinInfoDiv$$inline_1303_textWidth$$inline_1310_thumbPos$$.firstChild.offsetHeight / 2) + "px") : ($lastIndex$$1_previousDisabled_rowCount$$12_rowData$$11_spinInfoDiv$$inline_1303_textWidth$$inline_1310_thumbPos$$ = $lastIndex$$1_previousDisabled_rowCount$$12_rowData$$11_spinInfoDiv$$inline_1303_textWidth$$inline_1310_thumbPos$$.firstChild.offsetWidth, $currentPercent_nextDisabled_spinBarElem$$4_spinThumbOffset$$inline_1311_totalNumberOfItems$$inline_1304$$ = 
    $spinPrevElem$$8_spinThumbElem$$inline_1309_spinThumbWidth$$inline_1312_thumbSizeCorrection$$.offsetLeft, $spinPrevElem$$8_spinThumbElem$$inline_1309_spinThumbWidth$$inline_1312_thumbSizeCorrection$$ = $spinPrevElem$$8_spinThumbElem$$inline_1309_spinThumbWidth$$inline_1312_thumbSizeCorrection$$.offsetWidth, $id$$270_id$$inline_1302_spinControlOffset$$inline_1314_spinNextElem$$inline_1315_spinPrevElem$$inline_1305_vertical$$14$$ = $AdfDhtmlCarouselPeer$$.$_isRTL$() ? $agent$$inline_1308_spinButtonWidth$$inline_1313$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$270_id$$inline_1302_spinControlOffset$$inline_1314_spinNextElem$$inline_1315_spinPrevElem$$inline_1305_vertical$$14$$, 
    "sn")) : $agent$$inline_1308_spinButtonWidth$$inline_1313$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$270_id$$inline_1302_spinControlOffset$$inline_1314_spinNextElem$$inline_1315_spinPrevElem$$inline_1305_vertical$$14$$, "sp")), $agent$$inline_1308_spinButtonWidth$$inline_1313$$ = $id$$270_id$$inline_1302_spinControlOffset$$inline_1314_spinNextElem$$inline_1315_spinPrevElem$$inline_1305_vertical$$14$$.offsetWidth, $id$$270_id$$inline_1302_spinControlOffset$$inline_1314_spinNextElem$$inline_1315_spinPrevElem$$inline_1305_vertical$$14$$ = 
    $id$$270_id$$inline_1302_spinControlOffset$$inline_1314_spinNextElem$$inline_1315_spinPrevElem$$inline_1305_vertical$$14$$.offsetLeft, $agent$$169_displayItemNumber$$inline_1301_infoText$$inline_1306_spinInfoDivStyle$$inline_1307_spinNextElem$$7_spinThumbElem$$5$$.textAlign = "left", $agent$$169_displayItemNumber$$inline_1301_infoText$$inline_1306_spinInfoDivStyle$$inline_1307_spinNextElem$$7_spinThumbElem$$5$$.paddingLeft = Math.round($id$$270_id$$inline_1302_spinControlOffset$$inline_1314_spinNextElem$$inline_1315_spinPrevElem$$inline_1305_vertical$$14$$ + 
    $agent$$inline_1308_spinButtonWidth$$inline_1313$$ + $currentPercent_nextDisabled_spinBarElem$$4_spinThumbOffset$$inline_1311_totalNumberOfItems$$inline_1304$$ + $spinPrevElem$$8_spinThumbElem$$inline_1309_spinThumbWidth$$inline_1312_thumbSizeCorrection$$ / 2 - $lastIndex$$1_previousDisabled_rowCount$$12_rowData$$11_spinInfoDiv$$inline_1303_textWidth$$inline_1310_thumbPos$$ / 2) + "px")
  }
}
function $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$$($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$, $selectedWrapper$$7$$, $oldCurrentItemKey_oldCurrentRowData_shiftFactor$$2$$, $addPlaceholders$$, $popOutDetails$$2$$) {
  var $hoverWrapper$$ = $JSCompiler_alias_NULL$$, $auxShift$$2_dataBodyInfoOverlayAlpha$$ = 100, $hoverKey_oldSelectedWrapper_shrinkFactor$$2$$, $dontMessWithThisWrappersOverlay$$;
  if($popOutDetails$$2$$ == $JSCompiler_alias_NULL$$) {
    if($oldCurrentItemKey_oldCurrentRowData_shiftFactor$$2$$ = $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_findRowByKey$($oldCurrentItemKey_oldCurrentRowData_shiftFactor$$2$$, $JSCompiler_alias_TRUE$$)) {
      $hoverKey_oldSelectedWrapper_shrinkFactor$$2$$ = $oldCurrentItemKey_oldCurrentRowData_shiftFactor$$2$$.$row$
    }
    $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_stopAnimation$($JSCompiler_alias_TRUE$$, $hoverKey_oldSelectedWrapper_shrinkFactor$$2$$)
  }else {
    $dontMessWithThisWrappersOverlay$$ = $selectedWrapper$$7$$;
    $hoverKey_oldSelectedWrapper_shrinkFactor$$2$$ = $popOutDetails$$2$$.hoverKey;
    if($hoverKey_oldSelectedWrapper_shrinkFactor$$2$$ != $JSCompiler_alias_NULL$$) {
      $auxShift$$2_dataBodyInfoOverlayAlpha$$ = 0;
      if($hoverKey_oldSelectedWrapper_shrinkFactor$$2$$ == $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_lastHoverKey$) {
        return
      }
      $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_lastHoverKey$ = $hoverKey_oldSelectedWrapper_shrinkFactor$$2$$;
      $hoverWrapper$$ = $popOutDetails$$2$$.hoverWrapper
    }
    $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_stopAnimation$($JSCompiler_alias_FALSE$$)
  }
  $hoverKey_oldSelectedWrapper_shrinkFactor$$2$$ = $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_SHRINK_FACTOR$;
  $oldCurrentItemKey_oldCurrentRowData_shiftFactor$$2$$ = $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_SHIFT_FACTOR$;
  var $dataBodyWidth$$4$$ = $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_dataBodyWidth$, $dataBodyHeight$$4$$ = $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_dataBodyHeight$, $selectedSize$$4$$ = $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_selectedSize$, $vertical$$15$$ = $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_isVertical$, $component$$446_id$$271_rootElement$$23_zIndex$$4$$ = 
  $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$getComponent$(), $halign$$8$$ = $component$$446_id$$271_rootElement$$23_zIndex$$4$$.getHalign(), $valign$$8$$ = $component$$446_id$$271_rootElement$$23_zIndex$$4$$.getValign(), $animationObjects$$ = [], $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$, $auxSize$$2_selectedLeft$$ = 0, $auxOpacity$$2_selectedTop$$ = 0, $oneByOne$$ = "oneByOne" == $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_displayItems$;
  if(!$oneByOne$$ && ($auxSize$$2_selectedLeft$$ = $JSCompiler_StaticMethods__getHalignLeft$$($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$, $vertical$$15$$, $halign$$8$$, $dataBodyWidth$$4$$, $selectedSize$$4$$, 0), $auxOpacity$$2_selectedTop$$ = $JSCompiler_StaticMethods__getValignTop$$($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$, $vertical$$15$$, $valign$$8$$, $dataBodyHeight$$4$$, $selectedSize$$4$$, 0), "hover" == $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_POP_OUT$)) {
    var $component$$446_id$$271_rootElement$$23_zIndex$$4$$ = $component$$446_id$$271_rootElement$$23_zIndex$$4$$.$getClientId$(), $dataBodyInfoOverlay_rtl$$1$$ = $JSCompiler_alias_NULL$$;
    "small" == $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_controlArea$ || "compact" == $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_controlArea$ ? ($component$$446_id$$271_rootElement$$23_zIndex$$4$$ = $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$getDomElement$(), $dataBodyInfoOverlay_rtl$$1$$ = $JSCompiler_StaticMethods__getControlAreaDiv$$($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$, 
    $component$$446_id$$271_rootElement$$23_zIndex$$4$$)) : $dataBodyInfoOverlay_rtl$$1$$ = $JSCompiler_StaticMethods__getItemTextDiv$$($component$$446_id$$271_rootElement$$23_zIndex$$4$$);
    $dataBodyInfoOverlay_rtl$$1$$ != $JSCompiler_alias_NULL$$ && ($animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = {element:$dataBodyInfoOverlay_rtl$$1$$, $properties$:{alpha:$auxShift$$2_dataBodyInfoOverlayAlpha$$}}, $animationObjects$$.push($animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$))
  }
  $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = {element:$selectedWrapper$$7$$, $properties$:{offsetLeft:$auxSize$$2_selectedLeft$$, offsetTop:$auxOpacity$$2_selectedTop$$, width:$selectedSize$$4$$, height:$selectedSize$$4$$}};
  var $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$ = $selectedWrapper$$7$$.style;
  $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$.zIndex = 3E3;
  $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$.display = "block";
  $animationObjects$$.push($animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$);
  $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$ = $AdfDomUtils$$.$getLastChildElement$($selectedWrapper$$7$$);
  $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$ != $JSCompiler_alias_NULL$$ && ($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_useOpacity$ ? ($animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = {element:$itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$, $properties$:{alpha:0}}, $animationObjects$$.push($animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$)) : $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$.style.backgroundColor = 
  "transparent");
  $popOutDetails$$2$$ == $JSCompiler_alias_NULL$$ && $JSCompiler_StaticMethods__positionThumbAndSpinInfo$$($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$);
  for(var $auxItem$$2_nextAlpha_prevAlpha$$ = $AdfDomUtils$$.$getPreviousElement$($selectedWrapper$$7$$), $auxShift$$2_dataBodyInfoOverlayAlpha$$ = 0, $auxSize$$2_selectedLeft$$ = $selectedSize$$4$$, $auxOpacity$$2_selectedTop$$ = 100, $component$$446_id$$271_rootElement$$23_zIndex$$4$$ = 3E3, $leadingPlaceholders_trailingPlaceholders$$ = 0, $dataBodyInfoOverlay_rtl$$1$$ = $AdfDhtmlCarouselPeer$$.$_isRTL$();$auxItem$$2_nextAlpha_prevAlpha$$ != $JSCompiler_alias_NULL$$;) {
    $oneByOne$$ ? $auxShift$$2_dataBodyInfoOverlayAlpha$$ = 1 : ($auxShift$$2_dataBodyInfoOverlayAlpha$$ += $auxSize$$2_selectedLeft$$ * $oldCurrentItemKey_oldCurrentRowData_shiftFactor$$2$$, $auxSize$$2_selectedLeft$$ = Math.round($auxSize$$2_selectedLeft$$ * $hoverKey_oldSelectedWrapper_shrinkFactor$$2$$));
    $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$ = $auxItem$$2_nextAlpha_prevAlpha$$.style;
    if($auxItem$$2_nextAlpha_prevAlpha$$ == $hoverWrapper$$) {
      $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$.zIndex = 3001;
      --$component$$446_id$$271_rootElement$$23_zIndex$$4$$;
      $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = ($selectedSize$$4$$ - $auxSize$$2_selectedLeft$$) / 2;
      $vertical$$15$$ && ($dataBodyInfoOverlay_rtl$$1$$ ? "start" == $halign$$8$$ ? $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = $selectedSize$$4$$ - $auxSize$$2_selectedLeft$$ : "end" == $halign$$8$$ && ($animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = 0) : "start" == $halign$$8$$ ? $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = 0 : "end" == $halign$$8$$ && ($animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = 
      $selectedSize$$4$$ - $auxSize$$2_selectedLeft$$));
      var $leadingPopOutVShift_maximumNumberOfRows_trailingPopOutVShift$$ = ($selectedSize$$4$$ - $auxSize$$2_selectedLeft$$) / 2;
      $vertical$$15$$ || ("top" == $valign$$8$$ ? $leadingPopOutVShift_maximumNumberOfRows_trailingPopOutVShift$$ = 0 : "bottom" == $valign$$8$$ && ($leadingPopOutVShift_maximumNumberOfRows_trailingPopOutVShift$$ = $selectedSize$$4$$ - $auxSize$$2_selectedLeft$$));
      $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = {element:$auxItem$$2_nextAlpha_prevAlpha$$, $properties$:{offsetLeft:$JSCompiler_StaticMethods__getHalignLeft$$($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$, $vertical$$15$$, $halign$$8$$, $dataBodyWidth$$4$$, $auxSize$$2_selectedLeft$$, -$auxShift$$2_dataBodyInfoOverlayAlpha$$) - $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$, offsetTop:$JSCompiler_StaticMethods__getValignTop$$($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$, 
      $vertical$$15$$, $valign$$8$$, $dataBodyHeight$$4$$, $auxSize$$2_selectedLeft$$, -$auxShift$$2_dataBodyInfoOverlayAlpha$$) - $leadingPopOutVShift_maximumNumberOfRows_trailingPopOutVShift$$, width:$selectedSize$$4$$, height:$selectedSize$$4$$}}
    }else {
      $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$.zIndex = --$component$$446_id$$271_rootElement$$23_zIndex$$4$$, $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = {element:$auxItem$$2_nextAlpha_prevAlpha$$, $properties$:{offsetLeft:$JSCompiler_StaticMethods__getHalignLeft$$($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$, $vertical$$15$$, $halign$$8$$, $dataBodyWidth$$4$$, $auxSize$$2_selectedLeft$$, -$auxShift$$2_dataBodyInfoOverlayAlpha$$), 
      offsetTop:$JSCompiler_StaticMethods__getValignTop$$($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$, $vertical$$15$$, $valign$$8$$, $dataBodyHeight$$4$$, $auxSize$$2_selectedLeft$$, -$auxShift$$2_dataBodyInfoOverlayAlpha$$), width:$auxSize$$2_selectedLeft$$, height:$auxSize$$2_selectedLeft$$}}
    }
    $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$.display = 5 >= $auxSize$$2_selectedLeft$$ ? "none" : "block";
    $animationObjects$$.push($animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$);
    $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$ = $AdfDomUtils$$.$getLastChildElement$($auxItem$$2_nextAlpha_prevAlpha$$);
    $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$ != $JSCompiler_alias_NULL$$ && $auxItem$$2_nextAlpha_prevAlpha$$ != $dontMessWithThisWrappersOverlay$$ && ($itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$.style.display = "block", $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_useOpacity$ ? ($auxOpacity$$2_selectedTop$$ *= $hoverKey_oldSelectedWrapper_shrinkFactor$$2$$, $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = 
    $auxItem$$2_nextAlpha_prevAlpha$$ == $hoverWrapper$$ ? {element:$itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$, $properties$:{alpha:1}} : {element:$itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$, $properties$:{alpha:Math.max(1, 100 - $auxOpacity$$2_selectedTop$$)}}, $animationObjects$$.push($animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$)) : $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$.style.backgroundColor = 
    "transparent");
    $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$ = $auxItem$$2_nextAlpha_prevAlpha$$;
    $auxItem$$2_nextAlpha_prevAlpha$$ = $AdfDomUtils$$.$getPreviousElement$($auxItem$$2_nextAlpha_prevAlpha$$);
    $addPlaceholders$$ && ($auxItem$$2_nextAlpha_prevAlpha$$ == $JSCompiler_alias_NULL$$ && 2 < $auxSize$$2_selectedLeft$$) && 0 < $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$.parentNode.$startRow$ - $leadingPlaceholders_trailingPlaceholders$$ && ($auxItem$$2_nextAlpha_prevAlpha$$ = $JSCompiler_alias_NULL$$, $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_useOpacity$ && ($auxOpacity$$2_selectedTop$$ *= $hoverKey_oldSelectedWrapper_shrinkFactor$$2$$, 
    $auxItem$$2_nextAlpha_prevAlpha$$ = Math.max(1, 100 - $auxOpacity$$2_selectedTop$$)), $auxItem$$2_nextAlpha_prevAlpha$$ = $JSCompiler_StaticMethods__createPlaceholder$$($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$, $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$, $JSCompiler_alias_FALSE$$, $auxItem$$2_nextAlpha_prevAlpha$$), ++$leadingPlaceholders_trailingPlaceholders$$, $oneByOne$$ && ($auxItem$$2_nextAlpha_prevAlpha$$ = $JSCompiler_alias_NULL$$))
  }
  $auxItem$$2_nextAlpha_prevAlpha$$ = $AdfDomUtils$$.$getNextElement$($selectedWrapper$$7$$);
  $auxShift$$2_dataBodyInfoOverlayAlpha$$ = 0;
  $auxSize$$2_selectedLeft$$ = $selectedSize$$4$$;
  $auxOpacity$$2_selectedTop$$ = 100;
  $component$$446_id$$271_rootElement$$23_zIndex$$4$$ = 3E3;
  for($leadingPlaceholders_trailingPlaceholders$$ = 0;$auxItem$$2_nextAlpha_prevAlpha$$ != $JSCompiler_alias_NULL$$;) {
    if($oneByOne$$ ? $auxShift$$2_dataBodyInfoOverlayAlpha$$ = 1 : ($auxShift$$2_dataBodyInfoOverlayAlpha$$ += $auxSize$$2_selectedLeft$$ * $oldCurrentItemKey_oldCurrentRowData_shiftFactor$$2$$, $auxSize$$2_selectedLeft$$ = Math.round(Math.max(1, $auxSize$$2_selectedLeft$$ * $hoverKey_oldSelectedWrapper_shrinkFactor$$2$$))), $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$ = $auxItem$$2_nextAlpha_prevAlpha$$.style, $auxItem$$2_nextAlpha_prevAlpha$$ == $hoverWrapper$$ ? ($itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$.zIndex = 
    3001, --$component$$446_id$$271_rootElement$$23_zIndex$$4$$, $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = ($selectedSize$$4$$ - $auxSize$$2_selectedLeft$$) / 2, $vertical$$15$$ && ($dataBodyInfoOverlay_rtl$$1$$ ? "start" == $halign$$8$$ ? $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = $selectedSize$$4$$ - $auxSize$$2_selectedLeft$$ : "end" == $halign$$8$$ && ($animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = 
    0) : "start" == $halign$$8$$ ? $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = 0 : "end" == $halign$$8$$ && ($animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = $selectedSize$$4$$ - $auxSize$$2_selectedLeft$$)), $leadingPopOutVShift_maximumNumberOfRows_trailingPopOutVShift$$ = ($selectedSize$$4$$ - $auxSize$$2_selectedLeft$$) / 2, $vertical$$15$$ || ("top" == $valign$$8$$ ? $leadingPopOutVShift_maximumNumberOfRows_trailingPopOutVShift$$ = 
    0 : "bottom" == $valign$$8$$ && ($leadingPopOutVShift_maximumNumberOfRows_trailingPopOutVShift$$ = $selectedSize$$4$$ - $auxSize$$2_selectedLeft$$)), $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = {element:$auxItem$$2_nextAlpha_prevAlpha$$, $properties$:{offsetLeft:$JSCompiler_StaticMethods__getHalignLeft$$($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$, $vertical$$15$$, $halign$$8$$, $dataBodyWidth$$4$$, $auxSize$$2_selectedLeft$$, 
    $auxShift$$2_dataBodyInfoOverlayAlpha$$) - $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$, offsetTop:$JSCompiler_StaticMethods__getValignTop$$($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$, $vertical$$15$$, $valign$$8$$, $dataBodyHeight$$4$$, $auxSize$$2_selectedLeft$$, $auxShift$$2_dataBodyInfoOverlayAlpha$$) - $leadingPopOutVShift_maximumNumberOfRows_trailingPopOutVShift$$, width:$selectedSize$$4$$, height:$selectedSize$$4$$}}) : 
    ($itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$.zIndex = --$component$$446_id$$271_rootElement$$23_zIndex$$4$$, $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = {element:$auxItem$$2_nextAlpha_prevAlpha$$, $properties$:{offsetLeft:$JSCompiler_StaticMethods__getHalignLeft$$($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$, $vertical$$15$$, $halign$$8$$, $dataBodyWidth$$4$$, $auxSize$$2_selectedLeft$$, $auxShift$$2_dataBodyInfoOverlayAlpha$$), 
    offsetTop:$JSCompiler_StaticMethods__getValignTop$$($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$, $vertical$$15$$, $valign$$8$$, $dataBodyHeight$$4$$, $auxSize$$2_selectedLeft$$, $auxShift$$2_dataBodyInfoOverlayAlpha$$), width:$auxSize$$2_selectedLeft$$, height:$auxSize$$2_selectedLeft$$}}), $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$.display = 5 >= $auxSize$$2_selectedLeft$$ ? "none" : "block", $animationObjects$$.push($animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$), 
    $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$ = $AdfDomUtils$$.$getLastChildElement$($auxItem$$2_nextAlpha_prevAlpha$$), $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$ != $JSCompiler_alias_NULL$$ && $auxItem$$2_nextAlpha_prevAlpha$$ != $dontMessWithThisWrappersOverlay$$ && ($itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$.style.display = "block", $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_useOpacity$ ? 
    ($auxOpacity$$2_selectedTop$$ *= $hoverKey_oldSelectedWrapper_shrinkFactor$$2$$, $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = $auxItem$$2_nextAlpha_prevAlpha$$ == $hoverWrapper$$ ? {element:$itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$, $properties$:{alpha:1}} : {element:$itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$, $properties$:{alpha:Math.max(1, 100 - $auxOpacity$$2_selectedTop$$)}}, $animationObjects$$.push($animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$)) : 
    $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$.style.backgroundColor = "transparent"), $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$ = $auxItem$$2_nextAlpha_prevAlpha$$, $auxItem$$2_nextAlpha_prevAlpha$$ = $AdfDomUtils$$.$getNextElement$($auxItem$$2_nextAlpha_prevAlpha$$), $addPlaceholders$$ && ($auxItem$$2_nextAlpha_prevAlpha$$ == $JSCompiler_alias_NULL$$ && 2 < $auxSize$$2_selectedLeft$$ && $leadingPlaceholders_trailingPlaceholders$$ < $AdfDhtmlCarouselPeer$$.$_MAX_PLACEHOLDERS_ON_ONE_SIDE$) && 
    ($animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$.parentNode, $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$.$startRow$ + $JSCompiler_StaticMethods__getNumberOfRows$$($animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$) + $leadingPlaceholders_trailingPlaceholders$$, 
    $leadingPopOutVShift_maximumNumberOfRows_trailingPopOutVShift$$ = $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_rowCount$, -1 == $leadingPopOutVShift_maximumNumberOfRows_trailingPopOutVShift$$ || $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ < $leadingPopOutVShift_maximumNumberOfRows_trailingPopOutVShift$$)) {
      $auxItem$$2_nextAlpha_prevAlpha$$ = $JSCompiler_alias_NULL$$, $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_useOpacity$ && ($auxOpacity$$2_selectedTop$$ *= $hoverKey_oldSelectedWrapper_shrinkFactor$$2$$, $auxItem$$2_nextAlpha_prevAlpha$$ = Math.max(1, 100 - $auxOpacity$$2_selectedTop$$)), $auxItem$$2_nextAlpha_prevAlpha$$ = $JSCompiler_StaticMethods__createPlaceholder$$($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$, $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$4$$, 
      $JSCompiler_alias_TRUE$$, $auxItem$$2_nextAlpha_prevAlpha$$), ++$leadingPlaceholders_trailingPlaceholders$$, $oneByOne$$ && ($auxItem$$2_nextAlpha_prevAlpha$$ = $JSCompiler_alias_NULL$$)
    }
  }
  $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_longJumpAnimation$ = $AdfDhtmlCarouselPeer$$.$_isPlaceholder$($selectedWrapper$$7$$);
  $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_animator$ = $AdfDhtmlElementAnimator$animate$$(3, $popOutDetails$$2$$ == $JSCompiler_alias_NULL$$ ? $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_animDuration$ : $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_popOutDuration$, $animationObjects$$, $JSCompiler_alias_NULL$$, $AdfDhtmlCarouselPeer$$.$_spinAnimationComplete$, $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$, 
  $JSCompiler_alias_NULL$$)
}
function $JSCompiler_StaticMethods__createPlaceholder$$($JSCompiler_StaticMethods__createPlaceholder$self_carouselItem$$, $sibling$$1$$, $isNext$$3$$, $alpha$$3_theme$$) {
  var $agent$$170$$ = $AdfAgent$$.$AGENT$, $carouselItemOverlay_doc$$36$$ = $sibling$$1$$.ownerDocument, $placeholder$$ = $carouselItemOverlay_doc$$36$$.createElement("div"), $laf$$19_placeholderStyle$$ = $placeholder$$.style;
  $laf$$19_placeholderStyle$$.width = "1px";
  $laf$$19_placeholderStyle$$.height = "1px";
  $laf$$19_placeholderStyle$$.top = "50%";
  $laf$$19_placeholderStyle$$.left = "50%";
  $laf$$19_placeholderStyle$$.display = "none";
  $laf$$19_placeholderStyle$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$();
  $AdfDomUtils$$.$addCSSClassName$($placeholder$$, $laf$$19_placeholderStyle$$.getStyleClass("af|carousel::item"));
  "oneByOne" == $JSCompiler_StaticMethods__createPlaceholder$self_carouselItem$$.$_displayItems$ ? $AdfDomUtils$$.$addCSSClassName$($placeholder$$, $laf$$19_placeholderStyle$$.getStyleClass("p_AFOneByOne")) : $AdfDomUtils$$.$addCSSClassName$($placeholder$$, $laf$$19_placeholderStyle$$.getStyleClass("p_AFCircular"));
  $JSCompiler_StaticMethods__createPlaceholder$self_carouselItem$$ = $carouselItemOverlay_doc$$36$$.createElement("div");
  $AdfDomUtils$$.$addCSSClassName$($JSCompiler_StaticMethods__createPlaceholder$self_carouselItem$$, $laf$$19_placeholderStyle$$.getStyleClass("af|carouselItem"));
  $placeholder$$.appendChild($JSCompiler_StaticMethods__createPlaceholder$self_carouselItem$$);
  $carouselItemOverlay_doc$$36$$ = $carouselItemOverlay_doc$$36$$.createElement("div");
  $AdfDomUtils$$.$addCSSClassName$($carouselItemOverlay_doc$$36$$, $laf$$19_placeholderStyle$$.getStyleClass("af|carousel::item-overlay"));
  $alpha$$3_theme$$ != $JSCompiler_alias_NULL$$ && $agent$$170$$.$setOpacity$($carouselItemOverlay_doc$$36$$, 100 * $alpha$$3_theme$$);
  $placeholder$$.appendChild($carouselItemOverlay_doc$$36$$);
  $alpha$$3_theme$$ = $agent$$170$$.getAttribute($sibling$$1$$, "theme");
  $alpha$$3_theme$$ != $JSCompiler_alias_NULL$$ && ($agent$$170$$.setAttribute($placeholder$$, "theme", $alpha$$3_theme$$), $agent$$170$$.setAttribute($JSCompiler_StaticMethods__createPlaceholder$self_carouselItem$$, "theme", $alpha$$3_theme$$), $agent$$170$$.setAttribute($carouselItemOverlay_doc$$36$$, "theme", $alpha$$3_theme$$));
  $isNext$$3$$ ? $sibling$$1$$.parentNode.appendChild($placeholder$$) : $sibling$$1$$.parentNode.insertBefore($placeholder$$, $sibling$$1$$);
  return $placeholder$$
}
$AdfDhtmlCarouselPeer$$.$_isPlaceholder$ = function $$AdfDhtmlCarouselPeer$$$$_isPlaceholder$$($element$$193$$) {
  return $AdfAgent$$.$AGENT$.getAttribute($element$$193$$, $AdfDhtmlCarouselPeer$$.$_ROW_KEY$) == $JSCompiler_alias_NULL$$
};
function $JSCompiler_StaticMethods__removePlaceholders$$($JSCompiler_StaticMethods__removePlaceholders$self_block$$11_nodes$$11$$) {
  $JSCompiler_StaticMethods__removePlaceholders$self_block$$11_nodes$$11$$ = $JSCompiler_StaticMethods__removePlaceholders$self_block$$11_nodes$$11$$.$_getDataBody$().firstChild;
  if($JSCompiler_StaticMethods__removePlaceholders$self_block$$11_nodes$$11$$ != $JSCompiler_alias_NULL$$) {
    $JSCompiler_StaticMethods__removePlaceholders$self_block$$11_nodes$$11$$ = $JSCompiler_StaticMethods__removePlaceholders$self_block$$11_nodes$$11$$.childNodes;
    for(var $i$$183$$ = $JSCompiler_StaticMethods__removePlaceholders$self_block$$11_nodes$$11$$.length - 1;0 <= $i$$183$$;$i$$183$$--) {
      var $node$$70$$ = $JSCompiler_StaticMethods__removePlaceholders$self_block$$11_nodes$$11$$[$i$$183$$];
      $AdfDhtmlCarouselPeer$$.$_isPlaceholder$($node$$70$$) && $node$$70$$.parentNode.removeChild($node$$70$$)
    }
  }
}
$AdfDhtmlCarouselPeer$$.prototype.$_stopAnimation$ = function $$AdfDhtmlCarouselPeer$$$$$_stopAnimation$$($resizeForSelected$$, $selectedWrapperOverride$$) {
  if(this.$_animator$ != $JSCompiler_alias_NULL$$) {
    var $selectedWrapper$$8$$ = $selectedWrapperOverride$$;
    if(!$selectedWrapper$$8$$) {
      var $animator_rowData$$12$$ = this.$_findRowByKey$(this.$_currentItemKey$, $JSCompiler_alias_TRUE$$);
      $animator_rowData$$12$$ && ($selectedWrapper$$8$$ = $animator_rowData$$12$$.$row$)
    }
    $animator_rowData$$12$$ = this.$_animator$;
    this.$_animator$ = $JSCompiler_alias_NULL$$;
    $animator_rowData$$12$$.stop();
    $selectedWrapper$$8$$ && $resizeForSelected$$ && $JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$$(this, $selectedWrapper$$8$$, $JSCompiler_alias_TRUE$$)
  }
};
$AdfDhtmlCarouselPeer$$.$_spinAnimationComplete$ = function $$AdfDhtmlCarouselPeer$$$$_spinAnimationComplete$$($obj$$34$$) {
  $obj$$34$$.$_animator$ = $JSCompiler_alias_NULL$$;
  if(!$obj$$34$$.$_longJumpAnimation$) {
    for(var $itemOverlay$$inline_1323_items$$inline_1318_rowData$$inline_1321_selectedWrapper$$inline_1322$$ = $obj$$34$$.$_getDataBody$().firstChild.childNodes, $i$$inline_1319$$ = 0;$i$$inline_1319$$ < $itemOverlay$$inline_1323_items$$inline_1318_rowData$$inline_1321_selectedWrapper$$inline_1322$$.length;++$i$$inline_1319$$) {
      var $itemStyle$$inline_1320$$ = $itemOverlay$$inline_1323_items$$inline_1318_rowData$$inline_1321_selectedWrapper$$inline_1322$$[$i$$inline_1319$$].style;
      "block" == $itemStyle$$inline_1320$$.display && 5 >= parseInt($itemStyle$$inline_1320$$.width, 10) && ($itemStyle$$inline_1320$$.display = "none")
    }
    $JSCompiler_StaticMethods__doResizeNotifyOnDisplayedChildren$$($obj$$34$$, $obj$$34$$.$getComponent$());
    if($itemOverlay$$inline_1323_items$$inline_1318_rowData$$inline_1321_selectedWrapper$$inline_1322$$ = $obj$$34$$.$_findRowByKey$($obj$$34$$.$_currentItemKey$, $JSCompiler_alias_FALSE$$)) {
      $itemOverlay$$inline_1323_items$$inline_1318_rowData$$inline_1321_selectedWrapper$$inline_1322$$ = $itemOverlay$$inline_1323_items$$inline_1318_rowData$$inline_1321_selectedWrapper$$inline_1322$$.$row$, $itemOverlay$$inline_1323_items$$inline_1318_rowData$$inline_1321_selectedWrapper$$inline_1322$$.style.display = "block", $itemOverlay$$inline_1323_items$$inline_1318_rowData$$inline_1321_selectedWrapper$$inline_1322$$ = $AdfDomUtils$$.$getLastChildElement$($itemOverlay$$inline_1323_items$$inline_1318_rowData$$inline_1321_selectedWrapper$$inline_1322$$), 
      $itemOverlay$$inline_1323_items$$inline_1318_rowData$$inline_1321_selectedWrapper$$inline_1322$$ != $JSCompiler_alias_NULL$$ && ($itemOverlay$$inline_1323_items$$inline_1318_rowData$$inline_1321_selectedWrapper$$inline_1322$$.style.display = "none")
    }
    $obj$$34$$.$_fillViewPort$($obj$$34$$.$_getDataBody$(), $JSCompiler_alias_FALSE$$, $JSCompiler_alias_TRUE$$)
  }
};
function $JSCompiler_StaticMethods__initiateSpinPreviousAnimation$$($JSCompiler_StaticMethods__initiateSpinPreviousAnimation$self$$) {
  var $component$$447_currentItemKey$$4$$ = $JSCompiler_StaticMethods__initiateSpinPreviousAnimation$self$$.$getComponent$();
  if(!($component$$447_currentItemKey$$4$$ == $JSCompiler_alias_NULL$$ || $component$$447_currentItemKey$$4$$.getDisabled())) {
    var $component$$447_currentItemKey$$4$$ = $JSCompiler_StaticMethods__initiateSpinPreviousAnimation$self$$.$_currentItemKey$, $nextIndex$$5_previousRowData$$ = $JSCompiler_StaticMethods__initiateSpinPreviousAnimation$self$$.$_getPreviousRowKeyAndRow$($component$$447_currentItemKey$$4$$);
    if($nextIndex$$5_previousRowData$$.$row$ && $nextIndex$$5_previousRowData$$.$rowKey$) {
      $JSCompiler_StaticMethods__initiateSpinPreviousAnimation$self$$.$_cancelPendingFetch$(), $JSCompiler_StaticMethods__initiateSpinPreviousAnimation$self$$.$_pendingTimeout$ && window.clearTimeout($JSCompiler_StaticMethods__initiateSpinPreviousAnimation$self$$.$_pendingTimeout$), $JSCompiler_StaticMethods__updateCurrentItemKey$$($JSCompiler_StaticMethods__initiateSpinPreviousAnimation$self$$, $nextIndex$$5_previousRowData$$.$rowKey$) && $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$$($JSCompiler_StaticMethods__initiateSpinPreviousAnimation$self$$, 
      $nextIndex$$5_previousRowData$$.$row$, $component$$447_currentItemKey$$4$$, $JSCompiler_alias_TRUE$$)
    }else {
      var $nextIndex$$5_previousRowData$$ = $JSCompiler_StaticMethods__getRowIndexFromThumbPos$$($JSCompiler_StaticMethods__initiateSpinPreviousAnimation$self$$), $rowData$$14$$ = $JSCompiler_StaticMethods__initiateSpinPreviousAnimation$self$$.$_findRowByKey$($component$$447_currentItemKey$$4$$, $JSCompiler_alias_FALSE$$);
      $rowData$$14$$ ? $nextIndex$$5_previousRowData$$ < $rowData$$14$$.index && $JSCompiler_StaticMethods__initiateSpinPreviousAnimation$self$$.$_handleLongJump$($JSCompiler_StaticMethods__initiateSpinPreviousAnimation$self$$.$_getDataBody$(), $nextIndex$$5_previousRowData$$, $JSCompiler_alias_TRUE$$, $JSCompiler_alias_TRUE$$) : $AdfLogger$$.$LOGGER$.severe("_initiateSpinPreviousAnimation failed due to invalid currentItemKey: " + $component$$447_currentItemKey$$4$$)
    }
  }
}
function $JSCompiler_StaticMethods__initiateSpinNextAnimation$$($JSCompiler_StaticMethods__initiateSpinNextAnimation$self$$) {
  var $component$$448_currentItemKey$$5$$ = $JSCompiler_StaticMethods__initiateSpinNextAnimation$self$$.$getComponent$();
  if(!($component$$448_currentItemKey$$5$$ == $JSCompiler_alias_NULL$$ || $component$$448_currentItemKey$$5$$.getDisabled())) {
    var $component$$448_currentItemKey$$5$$ = $JSCompiler_StaticMethods__initiateSpinNextAnimation$self$$.$_currentItemKey$, $nextIndex$$6_nextRowData$$ = $JSCompiler_StaticMethods__initiateSpinNextAnimation$self$$.$_getNextRowKeyAndRow$($component$$448_currentItemKey$$5$$);
    if($nextIndex$$6_nextRowData$$.$row$ && $nextIndex$$6_nextRowData$$.$rowKey$) {
      $JSCompiler_StaticMethods__initiateSpinNextAnimation$self$$.$_cancelPendingFetch$(), $JSCompiler_StaticMethods__initiateSpinNextAnimation$self$$.$_pendingTimeout$ && window.clearTimeout($JSCompiler_StaticMethods__initiateSpinNextAnimation$self$$.$_pendingTimeout$), $JSCompiler_StaticMethods__updateCurrentItemKey$$($JSCompiler_StaticMethods__initiateSpinNextAnimation$self$$, $nextIndex$$6_nextRowData$$.$rowKey$) && $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$$($JSCompiler_StaticMethods__initiateSpinNextAnimation$self$$, 
      $nextIndex$$6_nextRowData$$.$row$, $component$$448_currentItemKey$$5$$, $JSCompiler_alias_TRUE$$)
    }else {
      var $nextIndex$$6_nextRowData$$ = $JSCompiler_StaticMethods__getRowIndexFromThumbPos$$($JSCompiler_StaticMethods__initiateSpinNextAnimation$self$$), $rowData$$15$$ = $JSCompiler_StaticMethods__initiateSpinNextAnimation$self$$.$_findRowByKey$($component$$448_currentItemKey$$5$$, $JSCompiler_alias_FALSE$$);
      $rowData$$15$$ ? $nextIndex$$6_nextRowData$$ > $rowData$$15$$.index && $JSCompiler_StaticMethods__initiateSpinNextAnimation$self$$.$_handleLongJump$($JSCompiler_StaticMethods__initiateSpinNextAnimation$self$$.$_getDataBody$(), $nextIndex$$6_nextRowData$$, $JSCompiler_alias_TRUE$$, $JSCompiler_alias_TRUE$$) : $AdfLogger$$.$LOGGER$.severe("_initiateSpinNextAnimation failed due to invalid currentItemKey: " + $component$$448_currentItemKey$$5$$)
    }
  }
}
function $JSCompiler_StaticMethods__getCurrentPercent$$($JSCompiler_StaticMethods__getCurrentPercent$self$$) {
  if($JSCompiler_StaticMethods__getCurrentPercent$self$$.$_currentPercent$ != $JSCompiler_alias_NULL$$) {
    return $JSCompiler_StaticMethods__getCurrentPercent$self$$.$_currentPercent$
  }
  $AdfAssert$$.assert($JSCompiler_alias_FALSE$$, "Illegal state; currentPercent is not known: " + $JSCompiler_StaticMethods__getCurrentPercent$self$$.$_currentPercent$)
}
function $JSCompiler_StaticMethods__initiateSpinPercentAnimation$$($JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$, $desiredPercent$$1_desiredRow$$1$$, $currentPercent$$1_numberOfLeadingPlaceholders$$1$$) {
  if(!$JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$.$getComponent$().getDisabled()) {
    var $dataBody$$29$$ = $JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$.$_getDataBody$(), $block$$13$$ = $dataBody$$29$$.firstChild, $desiredRowKey$$3_oldCurrentRowData$$1_rows$$8$$ = $block$$13$$.childNodes, $rowCount$$13$$ = $JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$.$_rowCount$, $needToResize_startRow$$5$$ = $block$$13$$.$startRow$, $numRows$$6$$ = $JSCompiler_StaticMethods__getNumberOfRows$$($block$$13$$);
    -1 == $rowCount$$13$$ && ($rowCount$$13$$ = $JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$.$_knownRowCount$ + $AdfDhtmlCarouselPeer$$.$_FETCH_MORE_ITEM_COUNT$);
    var $maximumRowIndex$$1$$ = $rowCount$$13$$ - 1, $desiredRowIndex_oldCurrentItemKey$$2$$ = Math.max(0, Math.round($desiredPercent$$1_desiredRow$$1$$ * $maximumRowIndex$$1$$)), $currentRowIndex$$ = $JSCompiler_alias_NULL$$;
    $currentPercent$$1_numberOfLeadingPlaceholders$$1$$ != $JSCompiler_alias_NULL$$ && ($currentRowIndex$$ = Math.max(0, Math.round($currentPercent$$1_numberOfLeadingPlaceholders$$1$$ * $maximumRowIndex$$1$$)));
    $desiredRowIndex_oldCurrentItemKey$$2$$ = Math.min($desiredRowIndex_oldCurrentItemKey$$2$$, $rowCount$$13$$ - 1);
    $currentRowIndex$$ == $desiredRowIndex_oldCurrentItemKey$$2$$ && ($desiredRowIndex_oldCurrentItemKey$$2$$ = $desiredPercent$$1_desiredRow$$1$$ < $currentPercent$$1_numberOfLeadingPlaceholders$$1$$ ? Math.max(0, --$desiredRowIndex_oldCurrentItemKey$$2$$) : Math.min($maximumRowIndex$$1$$, ++$desiredRowIndex_oldCurrentItemKey$$2$$));
    $desiredRowIndex_oldCurrentItemKey$$2$$ >= $needToResize_startRow$$5$$ && $desiredRowIndex_oldCurrentItemKey$$2$$ < $needToResize_startRow$$5$$ + $numRows$$6$$ ? ($JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$.$_cancelPendingFetch$(), $JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$.$_pendingTimeout$ && window.clearTimeout($JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$.$_pendingTimeout$), $currentPercent$$1_numberOfLeadingPlaceholders$$1$$ = $JSCompiler_StaticMethods__getNumberOfLeadingPlaceholders$$($block$$13$$), 
    $desiredPercent$$1_desiredRow$$1$$ = $desiredRowKey$$3_oldCurrentRowData$$1_rows$$8$$[$desiredRowIndex_oldCurrentItemKey$$2$$ - $needToResize_startRow$$5$$ + $currentPercent$$1_numberOfLeadingPlaceholders$$1$$], $AdfAssert$$.assert($desiredPercent$$1_desiredRow$$1$$ != $JSCompiler_alias_NULL$$, "A desired row could not be found: " + $desiredRowKey$$3_oldCurrentRowData$$1_rows$$8$$ + ", " + $desiredRowIndex_oldCurrentItemKey$$2$$ + ", " + $needToResize_startRow$$5$$ + ", " + $currentPercent$$1_numberOfLeadingPlaceholders$$1$$), 
    $desiredRowKey$$3_oldCurrentRowData$$1_rows$$8$$ = $AdfAgent$$.$AGENT$.getAttribute($desiredPercent$$1_desiredRow$$1$$, $AdfDhtmlCarouselPeer$$.$_ROW_KEY$), $needToResize_startRow$$5$$ = $JSCompiler_alias_TRUE$$, $JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$.$_currentItemKey$ != $desiredRowKey$$3_oldCurrentRowData$$1_rows$$8$$ && $desiredRowKey$$3_oldCurrentRowData$$1_rows$$8$$ != $JSCompiler_alias_NULL$$ && ($desiredRowIndex_oldCurrentItemKey$$2$$ = $JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$.$_currentItemKey$, 
    $JSCompiler_StaticMethods__updateCurrentItemKey$$($JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$, $desiredRowKey$$3_oldCurrentRowData$$1_rows$$8$$) && ($needToResize_startRow$$5$$ = $JSCompiler_alias_FALSE$$, $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$$($JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$, $desiredPercent$$1_desiredRow$$1$$, $desiredRowIndex_oldCurrentItemKey$$2$$, $JSCompiler_alias_TRUE$$))), $needToResize_startRow$$5$$ && ($JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$.$_stopAnimation$($JSCompiler_alias_TRUE$$), 
    $JSCompiler_StaticMethods__removePlaceholders$$($JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$), $JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$.$_hideStatus$(), ($desiredRowKey$$3_oldCurrentRowData$$1_rows$$8$$ = $JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$.$_findRowByKey$($JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$.$_currentItemKey$, $JSCompiler_alias_TRUE$$)) && $JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$$($JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$, 
    $desiredRowKey$$3_oldCurrentRowData$$1_rows$$8$$.$row$, $JSCompiler_alias_TRUE$$))) : $JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$.$_handleLongJump$($dataBody$$29$$, $desiredRowIndex_oldCurrentItemKey$$2$$, $JSCompiler_alias_TRUE$$, $JSCompiler_alias_TRUE$$)
  }
}
function $JSCompiler_StaticMethods__updateComponentStartAndRowProperties$$($component$$451$$, $startRow$$6$$, $numRows$$7$$) {
  $component$$451$$.setProperty("rows", $numRows$$7$$, $JSCompiler_alias_FALSE$$, $AdfUIComponent$$.$PROPAGATE_NEVER$);
  $component$$451$$.setProperty("first", $startRow$$6$$, $JSCompiler_alias_FALSE$$, $AdfUIComponent$$.$PROPAGATE_NEVER$)
}
$AdfDhtmlCarouselPeer$$.prototype.$ConvertClientIdToLocator$ = function $$AdfDhtmlCarouselPeer$$$$$ConvertClientIdToLocator$$($clientIdDepth$$2_component$$452$$, $childComponent$$6_clientId$$102_endIndex$$3$$, $descComponentClientId$$3_rowInfo$$1_subComponentId$$2$$, $replaceArray$$4$$) {
  $childComponent$$6_clientId$$102_endIndex$$3$$ = $clientIdDepth$$2_component$$452$$.$getClientId$();
  $clientIdDepth$$2_component$$452$$ = $AdfStrings$$.count($childComponent$$6_clientId$$102_endIndex$$3$$, ":");
  $AdfAssert$$.assert(0 <= $descComponentClientId$$3_rowInfo$$1_subComponentId$$2$$.indexOf($childComponent$$6_clientId$$102_endIndex$$3$$));
  $descComponentClientId$$3_rowInfo$$1_subComponentId$$2$$ = $descComponentClientId$$3_rowInfo$$1_subComponentId$$2$$.substring($childComponent$$6_clientId$$102_endIndex$$3$$.length + 1);
  $childComponent$$6_clientId$$102_endIndex$$3$$ = $descComponentClientId$$3_rowInfo$$1_subComponentId$$2$$.indexOf(":");
  0 < $childComponent$$6_clientId$$102_endIndex$$3$$ && ($descComponentClientId$$3_rowInfo$$1_subComponentId$$2$$ = this.$_findRowByKey$($descComponentClientId$$3_rowInfo$$1_subComponentId$$2$$.substring(0, $childComponent$$6_clientId$$102_endIndex$$3$$), $JSCompiler_alias_FALSE$$), $replaceArray$$4$$.push([$clientIdDepth$$2_component$$452$$ + 1, $descComponentClientId$$3_rowInfo$$1_subComponentId$$2$$ ? $descComponentClientId$$3_rowInfo$$1_subComponentId$$2$$.index : $JSCompiler_alias_NULL$$]))
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.ConvertClientIdToLocator", {$ConvertClientIdToLocator$:$AdfDhtmlCarouselPeer$$.prototype.$ConvertClientIdToLocator$});
$AdfDhtmlCarouselPeer$$.prototype.$convertLocatorToClientId$ = function $$AdfDhtmlCarouselPeer$$$$$convertLocatorToClientId$$($component$$453$$, $rowIndex$$3$$) {
  var $clientId$$103$$ = $component$$453$$.$getClientId$(), $rowKey$$26$$ = $JSCompiler_StaticMethods__getRowKeyForIndex$$(this, $rowIndex$$3$$);
  return $rowKey$$26$$ ? $clientId$$103$$ + ":" + $rowKey$$26$$ : $JSCompiler_alias_NULL$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.convertLocatorToClientId", {$convertLocatorToClientId$:$AdfDhtmlCarouselPeer$$.prototype.$convertLocatorToClientId$});
function $JSCompiler_StaticMethods__getRowKeyForIndex$$($JSCompiler_StaticMethods__getRowKeyForIndex$self$$, $rowIndex$$4$$) {
  var $blocks$$1_dataBody$$30$$ = $JSCompiler_StaticMethods__getRowKeyForIndex$self$$.$_getDataBody$($JSCompiler_StaticMethods__getRowKeyForIndex$self$$.$getDomElement$());
  if($blocks$$1_dataBody$$30$$ != $JSCompiler_alias_NULL$$) {
    for(var $blocks$$1_dataBody$$30$$ = $blocks$$1_dataBody$$30$$.childNodes, $i$$186$$ = 0;$i$$186$$ < $blocks$$1_dataBody$$30$$.length;$i$$186$$++) {
      var $block$$14$$ = $blocks$$1_dataBody$$30$$[$i$$186$$], $startRow$$7$$ = $block$$14$$.$startRow$;
      if($rowIndex$$4$$ >= $startRow$$7$$ && $rowIndex$$4$$ < $startRow$$7$$ + $block$$14$$.$numRows$) {
        return $AdfDomUtils$$.$getChildElementByPosition$($block$$14$$, 1, $rowIndex$$4$$ - $startRow$$7$$).getAttribute($AdfDhtmlCarouselPeer$$.$_ROW_KEY$)
      }
    }
  }
  return $JSCompiler_alias_NULL$$
}
$AdfDhtmlCarouselPeer$$.prototype.$getRowIndex$ = function $$AdfDhtmlCarouselPeer$$$$$getRowIndex$$($rowInfo$$2_rowKey$$28$$) {
  $AdfAssert$$.$assertString$($rowInfo$$2_rowKey$$28$$);
  $AdfAssert$$.assert($rowInfo$$2_rowKey$$28$$ != $JSCompiler_alias_NULL$$, "Row Key cannot be null");
  return($rowInfo$$2_rowKey$$28$$ = this.$_findRowByKey$($rowInfo$$2_rowKey$$28$$)) ? $rowInfo$$2_rowKey$$28$$.index : -1
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.getRowIndex", {$getRowIndex$:$AdfDhtmlCarouselPeer$$.prototype.$getRowIndex$});
$AdfDhtmlCarouselPeer$$.prototype.$getRowKey$ = function $$AdfDhtmlCarouselPeer$$$$$getRowKey$$($index$$106$$) {
  $AdfAssert$$.$assertNumber$($index$$106$$);
  var $component$$455_first$$1$$ = this.$getComponent$(), $rows$$9$$ = $component$$455_first$$1$$.$getProperty$("rows"), $component$$455_first$$1$$ = $component$$455_first$$1$$.$getProperty$("first");
  $AdfAssert$$.assert($index$$106$$ >= $component$$455_first$$1$$ && $index$$106$$ < $rows$$9$$ + $component$$455_first$$1$$, "index must be within the viewport of the client");
  return $JSCompiler_StaticMethods__getRowKeyForIndex$$(this, $index$$106$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.getRowKey", {$getRowKey$:$AdfDhtmlCarouselPeer$$.prototype.$getRowKey$});
$AdfDhtmlCarouselPeer$$.prototype.$scrollToRowIndex$ = function $$AdfDhtmlCarouselPeer$$$$$scrollToRowIndex$$($rowIndex$$5$$, $callback$$44$$) {
  $AdfAssert$$.$assertNumber$($rowIndex$$5$$);
  $AdfAssert$$.assert("number" === typeof $rowIndex$$5$$ && 0 <= $rowIndex$$5$$ && $rowIndex$$5$$ < this.$_rowCount$ && 0 === $rowIndex$$5$$ % 1, "Provided value expected to be a valid rowIndex, provided value: " + $rowIndex$$5$$);
  if("number" === typeof $rowIndex$$5$$ && 0 <= $rowIndex$$5$$ && $rowIndex$$5$$ < this.$_rowCount$ && 0 === $rowIndex$$5$$ % 1) {
    var $block$$15_desiredRow$$2_oldCurrentRowData$$3_rowData$$16$$ = this.$_findRowByKey$(this.$_currentItemKey$, $JSCompiler_alias_FALSE$$);
    if($block$$15_desiredRow$$2_oldCurrentRowData$$3_rowData$$16$$ && $rowIndex$$5$$ == $block$$15_desiredRow$$2_oldCurrentRowData$$3_rowData$$16$$.index) {
      $JSCompiler_StaticMethods__callCallback$$($callback$$44$$)
    }else {
      var $dataBody$$31_numberOfLeadingPlaceholders$$2_oldCurrentItemKey$$3$$ = this.$_getDataBody$(), $block$$15_desiredRow$$2_oldCurrentRowData$$3_rowData$$16$$ = $dataBody$$31_numberOfLeadingPlaceholders$$2_oldCurrentItemKey$$3$$.firstChild, $desiredRowKey$$4_startRow$$8$$ = $block$$15_desiredRow$$2_oldCurrentRowData$$3_rowData$$16$$.$startRow$, $numRows$$8$$ = $JSCompiler_StaticMethods__getNumberOfRows$$($block$$15_desiredRow$$2_oldCurrentRowData$$3_rowData$$16$$);
      $rowIndex$$5$$ >= $desiredRowKey$$4_startRow$$8$$ && $rowIndex$$5$$ < $desiredRowKey$$4_startRow$$8$$ + $numRows$$8$$ ? (this.$_cancelPendingFetch$(), this.$_pendingTimeout$ && window.clearTimeout(this.$_pendingTimeout$), $dataBody$$31_numberOfLeadingPlaceholders$$2_oldCurrentItemKey$$3$$ = $JSCompiler_StaticMethods__getNumberOfLeadingPlaceholders$$($block$$15_desiredRow$$2_oldCurrentRowData$$3_rowData$$16$$), $block$$15_desiredRow$$2_oldCurrentRowData$$3_rowData$$16$$ = $block$$15_desiredRow$$2_oldCurrentRowData$$3_rowData$$16$$.childNodes[$rowIndex$$5$$ - 
      $desiredRowKey$$4_startRow$$8$$ + $dataBody$$31_numberOfLeadingPlaceholders$$2_oldCurrentItemKey$$3$$], $AdfAssert$$.assert($block$$15_desiredRow$$2_oldCurrentRowData$$3_rowData$$16$$ != $JSCompiler_alias_NULL$$, "A desired row could not be found, rowIndex: " + $rowIndex$$5$$), $desiredRowKey$$4_startRow$$8$$ = $AdfAgent$$.$AGENT$.getAttribute($block$$15_desiredRow$$2_oldCurrentRowData$$3_rowData$$16$$, $AdfDhtmlCarouselPeer$$.$_ROW_KEY$), $dataBody$$31_numberOfLeadingPlaceholders$$2_oldCurrentItemKey$$3$$ = 
      this.$_currentItemKey$, $JSCompiler_StaticMethods__updateCurrentItemKey$$(this, $desiredRowKey$$4_startRow$$8$$) ? $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$$(this, $block$$15_desiredRow$$2_oldCurrentRowData$$3_rowData$$16$$, $dataBody$$31_numberOfLeadingPlaceholders$$2_oldCurrentItemKey$$3$$, $JSCompiler_alias_TRUE$$) : (this.$_stopAnimation$($JSCompiler_alias_TRUE$$), $JSCompiler_StaticMethods__removePlaceholders$$(this), this.$_hideStatus$(), ($block$$15_desiredRow$$2_oldCurrentRowData$$3_rowData$$16$$ = 
      this.$_findRowByKey$(this.$_currentItemKey$, $JSCompiler_alias_TRUE$$)) && $JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$$(this, $block$$15_desiredRow$$2_oldCurrentRowData$$3_rowData$$16$$.$row$, $JSCompiler_alias_TRUE$$)), $JSCompiler_StaticMethods__callCallback$$($callback$$44$$)) : (this.$_handleLongJump$($dataBody$$31_numberOfLeadingPlaceholders$$2_oldCurrentItemKey$$3$$, $rowIndex$$5$$, $JSCompiler_alias_TRUE$$, $JSCompiler_alias_TRUE$$), $callback$$44$$ != $JSCompiler_alias_NULL$$ && 
      (this.$_postUpdateCallback$ = $callback$$44$$, $AdfPage$$.$PAGE$.addEventListener($AdfDomReplacedEvent$$.$EVENT_TYPE$, this.$_domReplacedListener$, this)))
    }
  }else {
    $AdfLogger$$.$LOGGER$.warning("Invalid rowIndex value used, rowIndex: " + $rowIndex$$5$$)
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.scrollToRowIndex", {$scrollToRowIndex$:$AdfDhtmlCarouselPeer$$.prototype.$scrollToRowIndex$});
function $JSCompiler_StaticMethods__callCallback$$($callback$$45$$) {
  $callback$$45$$ && ($AdfAssert$$.$assertFunction$($callback$$45$$), $callback$$45$$())
}
$AdfDhtmlCarouselPeer$$.prototype.$_domReplacedListener$ = function $$AdfDhtmlCarouselPeer$$$$$_domReplacedListener$$($callback$$46_event$$126$$) {
  var $clientId$$104_component$$456$$ = this.$getComponent$();
  $AdfAssert$$.$assertPrototype$($clientId$$104_component$$456$$, $AdfUIComponent$$);
  $clientId$$104_component$$456$$ = $clientId$$104_component$$456$$.$getClientId$();
  $callback$$46_event$$126$$.$containsClientId$($clientId$$104_component$$456$$) && ($AdfPage$$.$PAGE$.removeEventListener($AdfDomReplacedEvent$$.$EVENT_TYPE$, this.$_domReplacedListener$, this), $callback$$46_event$$126$$ = this.$_postUpdateCallback$, this.$_postUpdateCallback$ = $JSCompiler_alias_NULL$$, $JSCompiler_StaticMethods__callCallback$$($callback$$46_event$$126$$))
};
