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$$1036$$, $domElement$$173$$) {
  $AdfDhtmlConveyorBeltPeer$$.$superclass$.$InitDomElement$.call(this, $component$$1036$$, $domElement$$173$$);
  var $firstItemId$$ = $component$$1036$$.$getProperty$($AdfDhtmlConveyorBeltPeer$$.$_FIRST_VISIBLE_CHILD_KEY$), $adfPage_orientation$$2$$ = $AdfPage$$.$PAGE$, $adfAgent_buttonInfo$$1_i$$inline_1843$$ = $AdfAgent$$.$AGENT$, $localeContext_rtl$$2_sizes$$inline_1842$$ = $adfPage_orientation$$2$$.$getLocaleContext$(), $cbCommon_clientId$$195$$ = $component$$1036$$.$getClientId$(), $localeContext_rtl$$2_sizes$$inline_1842$$ = $localeContext_rtl$$2_sizes$$inline_1842$$.$isRightToLeft$(), $callbackInfo$$1_prevButtonId_sizeObj$$inline_1844$$ = 
  $AdfRichUIPeer$$.$CreateSubId$($cbCommon_clientId$$195$$, "buttonPrev"), $nextButtonId$$ = $AdfRichUIPeer$$.$CreateSubId$($cbCommon_clientId$$195$$, "buttonNext"), $laf$$79$$ = $adfPage_orientation$$2$$.$getLookAndFeel$(), $adfPage_orientation$$2$$ = $component$$1036$$.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_1843$$.getAttribute($domElement$$173$$, $AdfDhtmlConveyorBeltPeer$$.$_START_ICON$) && ($prevIcon$$ = $laf$$79$$.getIcon($AdfDhtmlConveyorBeltPeer$$.$_CONVEYOR_BELT_START_OVERFLOW_ICON_CLASS$)), 
  $adfAgent_buttonInfo$$1_i$$inline_1843$$.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_1843$$.getAttribute($domElement$$173$$, $AdfDhtmlConveyorBeltPeer$$.$_TOP_ICON$) && ($prevIcon$$ = $laf$$79$$.getIcon($AdfDhtmlConveyorBeltPeer$$.$_CONVEYOR_BELT_TOP_OVERFLOW_ICON_CLASS$)), $adfAgent_buttonInfo$$1_i$$inline_1843$$.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_1843$$ = {};
  $adfAgent_buttonInfo$$1_i$$inline_1843$$.prevButtonId = $callbackInfo$$1_prevButtonId_sizeObj$$inline_1844$$;
  $adfAgent_buttonInfo$$1_i$$inline_1843$$.nextButtonId = $nextButtonId$$;
  $adfAgent_buttonInfo$$1_i$$inline_1843$$.prevButtonStyleClass = $prevStyleClass$$;
  $adfAgent_buttonInfo$$1_i$$inline_1843$$.nextButtonStyleClass = $nextStyleClass$$;
  $adfAgent_buttonInfo$$1_i$$inline_1843$$.prevButtonIcon = $prevIcon$$;
  $adfAgent_buttonInfo$$1_i$$inline_1843$$.nextButtonIcon = $nextIcon$$;
  $callbackInfo$$1_prevButtonId_sizeObj$$inline_1844$$ = {};
  $callbackInfo$$1_prevButtonId_sizeObj$$inline_1844$$.scrollFunc = $animateScrollFunc$$;
  $callbackInfo$$1_prevButtonId_sizeObj$$inline_1844$$.firstVisibleItemChangedFunc = this.$_firstVisibleItemChanged$;
  $callbackInfo$$1_prevButtonId_sizeObj$$inline_1844$$.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_1842$$, $adfAgent_buttonInfo$$1_i$$inline_1843$$, $callbackInfo$$1_prevButtonId_sizeObj$$inline_1844$$);
  $cbCommon_clientId$$195$$.$setup$(!0);
  if ($firstItemId$$) {
    for ($localeContext_rtl$$2_sizes$$inline_1842$$ = $cbCommon_clientId$$195$$.$_sizes$, $adfAgent_buttonInfo$$1_i$$inline_1843$$ = 0;$adfAgent_buttonInfo$$1_i$$inline_1843$$ < $localeContext_rtl$$2_sizes$$inline_1842$$.length;$adfAgent_buttonInfo$$1_i$$inline_1843$$++) {
      if ($callbackInfo$$1_prevButtonId_sizeObj$$inline_1844$$ = $localeContext_rtl$$2_sizes$$inline_1842$$[$adfAgent_buttonInfo$$1_i$$inline_1843$$], $callbackInfo$$1_prevButtonId_sizeObj$$inline_1844$$.id == $firstItemId$$) {
        $JSCompiler_StaticMethods__setCurrScroll$$($cbCommon_clientId$$195$$, $callbackInfo$$1_prevButtonId_sizeObj$$inline_1844$$.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$$1038$$ = this.$getComponent$();
  $component$$1038$$ && $component$$1038$$.setProperty($AdfDhtmlConveyorBeltPeer$$.$_FIRST_VISIBLE_CHILD_KEY$, $itemId$$1$$, !1, $AdfUIComponent$$.$PROPAGATE_ALWAYS$);
};
