var $AdfDhtmlConveyorBeltPeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfRichUIPeer$$, "AdfDhtmlConveyorBeltPeer", !1);
$goog$exportSymbol$$("AdfDhtmlConveyorBeltPeer", $AdfDhtmlConveyorBeltPeer$$);
$AdfDhtmlConveyorBeltPeer$$.$InitSubclass$ = function $$AdfDhtmlConveyorBeltPeer$$$$InitSubclass$$() {
  this.$_CONVEYOR_BELT_CLASS$ = "af|conveyorBelt";
  this.$_CONVEYOR_BELT_START_OVERFLOW_INDICATOR_CLASS$ = this.$_CONVEYOR_BELT_CLASS$ + "::start-overflow-indicator";
  this.$_CONVEYOR_BELT_END_OVERFLOW_INDICATOR_CLASS$ = this.$_CONVEYOR_BELT_CLASS$ + "::end-overflow-indicator";
  this.$_CONVEYOR_BELT_TOP_OVERFLOW_INDICATOR_CLASS$ = this.$_CONVEYOR_BELT_CLASS$ + "::top-overflow-indicator";
  this.$_CONVEYOR_BELT_BOTTOM_OVERFLOW_INDICATOR_CLASS$ = this.$_CONVEYOR_BELT_CLASS$ + "::bottom-overflow-indicator";
  this.$_CONVEYOR_BELT_START_OVERFLOW_ICON_CLASS$ = this.$_CONVEYOR_BELT_CLASS$ + "::start-overflow-icon";
  this.$_CONVEYOR_BELT_END_OVERFLOW_ICON_CLASS$ = this.$_CONVEYOR_BELT_CLASS$ + "::end-overflow-icon";
  this.$_CONVEYOR_BELT_TOP_OVERFLOW_ICON_CLASS$ = this.$_CONVEYOR_BELT_CLASS$ + "::top-overflow-icon";
  this.$_CONVEYOR_BELT_BOTTOM_OVERFLOW_ICON_CLASS$ = this.$_CONVEYOR_BELT_CLASS$ + "::bottom-overflow-icon";
  this.$_START_ICON$ = "data-afr-start-icon";
  this.$_END_ICON$ = "data-afr-end-icon";
  this.$_TOP_ICON$ = "data-afr-top-icon";
  this.$_BOTTOM_ICON$ = "data-afr-bottom-icon";
  this.$_FIRST_VISIBLE_CHILD_KEY$ = "firstVisibleChild";
  $AdfRichUIPeer$$.$addSuppressedPPRAttributes$(this, this.$_FIRST_VISIBLE_CHILD_KEY$);
};
$goog$exportSymbol$$("AdfDhtmlConveyorBeltPeer.InitSubclass", $AdfDhtmlConveyorBeltPeer$$.$InitSubclass$);
$AdfDhtmlConveyorBeltPeer$$.prototype.$InitDomElement$ = function $$AdfDhtmlConveyorBeltPeer$$$$$InitDomElement$$($component$$1037$$, $domElement$$173$$) {
  $AdfDhtmlConveyorBeltPeer$$.$superclass$.$InitDomElement$.call(this, $component$$1037$$, $domElement$$173$$);
  var $firstItemId$$ = $component$$1037$$.$getProperty$($AdfDhtmlConveyorBeltPeer$$.$_FIRST_VISIBLE_CHILD_KEY$), $adfPage_orientation$$2$$ = $AdfPage$$.$PAGE$, $adfAgent_buttonInfo$$1_i$$inline_1848$$ = $AdfAgent$$.$AGENT$, $localeContext_rtl$$2_sizes$$inline_1847$$ = $adfPage_orientation$$2$$.$getLocaleContext$(), $cbCommon_clientId$$195$$ = $component$$1037$$.$getClientId$(), $localeContext_rtl$$2_sizes$$inline_1847$$ = $localeContext_rtl$$2_sizes$$inline_1847$$.$isRightToLeft$(), $callbackInfo$$1_prevButtonId_sizeObj$$inline_1849$$ = 
  $AdfRichUIPeer$$.$CreateSubId$($cbCommon_clientId$$195$$, "buttonPrev"), $nextButtonId$$ = $AdfRichUIPeer$$.$CreateSubId$($cbCommon_clientId$$195$$, "buttonNext"), $laf$$79$$ = $adfPage_orientation$$2$$.$getLookAndFeel$(), $adfPage_orientation$$2$$ = $component$$1037$$.getOrientation(), $prevStyleClass$$ = null, $nextStyleClass$$ = null, $prevIcon$$ = null, $nextIcon$$ = null, $animateScrollFunc$$ = null;
  "vertical" != $adfPage_orientation$$2$$ ? ($prevStyleClass$$ = $laf$$79$$.getStyleClass($AdfDhtmlConveyorBeltPeer$$.$_CONVEYOR_BELT_START_OVERFLOW_INDICATOR_CLASS$), $nextStyleClass$$ = $laf$$79$$.getStyleClass($AdfDhtmlConveyorBeltPeer$$.$_CONVEYOR_BELT_END_OVERFLOW_INDICATOR_CLASS$), $adfAgent_buttonInfo$$1_i$$inline_1848$$.getAttribute($domElement$$173$$, $AdfDhtmlConveyorBeltPeer$$.$_START_ICON$) && ($prevIcon$$ = $laf$$79$$.getIcon($AdfDhtmlConveyorBeltPeer$$.$_CONVEYOR_BELT_START_OVERFLOW_ICON_CLASS$)), 
  $adfAgent_buttonInfo$$1_i$$inline_1848$$.getAttribute($domElement$$173$$, $AdfDhtmlConveyorBeltPeer$$.$_END_ICON$) && ($nextIcon$$ = $laf$$79$$.getIcon($AdfDhtmlConveyorBeltPeer$$.$_CONVEYOR_BELT_END_OVERFLOW_ICON_CLASS$)), $animateScrollFunc$$ = this.$_animateScrollLeft$) : ($prevStyleClass$$ = $laf$$79$$.getStyleClass($AdfDhtmlConveyorBeltPeer$$.$_CONVEYOR_BELT_TOP_OVERFLOW_INDICATOR_CLASS$), $nextStyleClass$$ = $laf$$79$$.getStyleClass($AdfDhtmlConveyorBeltPeer$$.$_CONVEYOR_BELT_BOTTOM_OVERFLOW_INDICATOR_CLASS$), 
  $adfAgent_buttonInfo$$1_i$$inline_1848$$.getAttribute($domElement$$173$$, $AdfDhtmlConveyorBeltPeer$$.$_TOP_ICON$) && ($prevIcon$$ = $laf$$79$$.getIcon($AdfDhtmlConveyorBeltPeer$$.$_CONVEYOR_BELT_TOP_OVERFLOW_ICON_CLASS$)), $adfAgent_buttonInfo$$1_i$$inline_1848$$.getAttribute($domElement$$173$$, $AdfDhtmlConveyorBeltPeer$$.$_BOTTOM_ICON$) && ($nextIcon$$ = $laf$$79$$.getIcon($AdfDhtmlConveyorBeltPeer$$.$_CONVEYOR_BELT_BOTTOM_OVERFLOW_ICON_CLASS$)), $animateScrollFunc$$ = this.$_animateScrollTop$);
  $adfAgent_buttonInfo$$1_i$$inline_1848$$ = {};
  $adfAgent_buttonInfo$$1_i$$inline_1848$$.prevButtonId = $callbackInfo$$1_prevButtonId_sizeObj$$inline_1849$$;
  $adfAgent_buttonInfo$$1_i$$inline_1848$$.nextButtonId = $nextButtonId$$;
  $adfAgent_buttonInfo$$1_i$$inline_1848$$.prevButtonStyleClass = $prevStyleClass$$;
  $adfAgent_buttonInfo$$1_i$$inline_1848$$.nextButtonStyleClass = $nextStyleClass$$;
  $adfAgent_buttonInfo$$1_i$$inline_1848$$.prevButtonIcon = $prevIcon$$;
  $adfAgent_buttonInfo$$1_i$$inline_1848$$.nextButtonIcon = $nextIcon$$;
  $callbackInfo$$1_prevButtonId_sizeObj$$inline_1849$$ = {};
  $callbackInfo$$1_prevButtonId_sizeObj$$inline_1849$$.scrollFunc = $animateScrollFunc$$;
  $callbackInfo$$1_prevButtonId_sizeObj$$inline_1849$$.firstVisibleItemChangedFunc = this.$_firstVisibleItemChanged$;
  $callbackInfo$$1_prevButtonId_sizeObj$$inline_1849$$.callbackObj = this;
  this.$_cbCommon$ = $cbCommon_clientId$$195$$ = new $adf$$.$shared$.$impl$.$conveyorBelt$.$ConveyorBeltCommon$($cbCommon_clientId$$195$$, $adfPage_orientation$$2$$, null, $localeContext_rtl$$2_sizes$$inline_1847$$, $adfAgent_buttonInfo$$1_i$$inline_1848$$, $callbackInfo$$1_prevButtonId_sizeObj$$inline_1849$$);
  $cbCommon_clientId$$195$$.$setup$(!0);
  if ($firstItemId$$) {
    for ($localeContext_rtl$$2_sizes$$inline_1847$$ = $cbCommon_clientId$$195$$.$_sizes$, $adfAgent_buttonInfo$$1_i$$inline_1848$$ = 0;$adfAgent_buttonInfo$$1_i$$inline_1848$$ < $localeContext_rtl$$2_sizes$$inline_1847$$.length;$adfAgent_buttonInfo$$1_i$$inline_1848$$++) {
      if ($callbackInfo$$1_prevButtonId_sizeObj$$inline_1849$$ = $localeContext_rtl$$2_sizes$$inline_1847$$[$adfAgent_buttonInfo$$1_i$$inline_1848$$], $callbackInfo$$1_prevButtonId_sizeObj$$inline_1849$$.id == $firstItemId$$) {
        $JSCompiler_StaticMethods__setCurrScroll$$($cbCommon_clientId$$195$$, $callbackInfo$$1_prevButtonId_sizeObj$$inline_1849$$.start, !0);
        break;
      }
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlConveyorBeltPeer.prototype.InitDomElement", {$InitDomElement$:$AdfDhtmlConveyorBeltPeer$$.prototype.$InitDomElement$});
$AdfDhtmlConveyorBeltPeer$$.prototype.$needsResizeNotify$ = function $$AdfDhtmlConveyorBeltPeer$$$$$needsResizeNotify$$() {
  return !0;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlConveyorBeltPeer.prototype.needsResizeNotify", {$needsResizeNotify$:$AdfDhtmlConveyorBeltPeer$$.prototype.$needsResizeNotify$});
$AdfDhtmlConveyorBeltPeer$$.prototype.$ResizeNotify$ = function $$AdfDhtmlConveyorBeltPeer$$$$$ResizeNotify$$($cbCommon$$1_oldWidth$$8$$, $oldHeight$$11$$, $newWidth$$13$$, $newHeight$$14$$) {
  $AdfDhtmlConveyorBeltPeer$$.$superclass$.$ResizeNotify$.call(this, $cbCommon$$1_oldWidth$$8$$, $oldHeight$$11$$, $newWidth$$13$$, $newHeight$$14$$);
  ($cbCommon$$1_oldWidth$$8$$ = this.$_cbCommon$) && $cbCommon$$1_oldWidth$$8$$.$setup$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlConveyorBeltPeer.prototype.ResizeNotify", {$ResizeNotify$:$AdfDhtmlConveyorBeltPeer$$.prototype.$ResizeNotify$});
$AdfDhtmlConveyorBeltPeer$$.prototype.$_animateScrollLeft$ = function $$AdfDhtmlConveyorBeltPeer$$$$$_animateScrollLeft$$($elem$$21$$, $value$$187$$, $duration$$2$$, $onEndFunc$$1$$) {
  $AdfDhtmlElementAnimator$animate$$(3, $duration$$2$$, [{element:$elem$$21$$, properties:{scrollLeft:$value$$187$$}}], null, $onEndFunc$$1$$, null, null);
};
$AdfDhtmlConveyorBeltPeer$$.prototype.$_animateScrollTop$ = function $$AdfDhtmlConveyorBeltPeer$$$$$_animateScrollTop$$($elem$$22$$, $value$$188$$, $duration$$3$$, $onEndFunc$$2$$) {
  $AdfDhtmlElementAnimator$animate$$(3, $duration$$3$$, [{element:$elem$$22$$, properties:{scrollTop:$value$$188$$}}], null, $onEndFunc$$2$$, null, null);
};
$AdfDhtmlConveyorBeltPeer$$.prototype.$_firstVisibleItemChanged$ = function $$AdfDhtmlConveyorBeltPeer$$$$$_firstVisibleItemChanged$$($itemId$$1$$) {
  var $component$$1039$$ = this.$getComponent$();
  $component$$1039$$ && $component$$1039$$.setProperty($AdfDhtmlConveyorBeltPeer$$.$_FIRST_VISIBLE_CHILD_KEY$, $itemId$$1$$, !1, $AdfUIComponent$$.$PROPAGATE_ALWAYS$);
};
