var AdfDhtmlBaseProjectGanttPeer = AdfRichUIPeer.createPeerClass($AdfDhtmlGanttPeer$$, "AdfDhtmlBaseProjectGanttPeer", !1);
$goog$exportSymbol$$("AdfDhtmlBaseProjectGanttPeer", AdfDhtmlBaseProjectGanttPeer);
AdfDhtmlBaseProjectGanttPeer.InitSubclass = function $AdfDhtmlBaseProjectGanttPeer$InitSubclass$() {
  AdfRichUIPeer.addComponentEventHandlers(this, AdfSelectionEvent.SELECTION_EVENT_TYPE);
  this.$_SPLIT_POPUP_ID$ = "_cpSplit";
  this.$_MERGE_POPUP_ID$ = "_cpMerge";
  this.$_SPLIT_BUTTON_ID$ = "_bSplit";
  this.$_SPLIT_MENUITEM_ID$ = "_split";
  this.$_MERGE_MENUITEM_ID$ = "_merge";
  this.$_PROPERTIES_POPUP_ID$ = "_cpProp";
  this.$_VIEWSELECTED_POPUP_ID$ = "_tpVs";
  this.$_DEPENDENCY_LINES_MENUITEM_ID$ = "_dpLn";
  this.$_DEPENDENCY_LINES_DIALOG_MENUITEM_ID$ = "_dpdLn";
  this.$_DEPENDENCY_AS_LINES_MENUITEM_ID$ = "_dpAsLn";
  this.$_DEPENDENCY_AS_MENU_MENUITEM_ID$ = "_dpAsMn";
  this.$_DEPENDENCY_NONE_MENUITEM_ID$ = "_dpNone";
  this.$_CM_POPUP_ID$ = "rPopup";
  this.$_CM_CREATE_POPUP_ID$ = "_rcp";
  this.$_CM_PASTE_POPUP_ID$ = "_rpp";
  this.$_COMPLETE_THROUGH_CONVERTER$ = "ct_conv";
  var $actionMap$$2_genericMap$$2$$ = this.$_GENERIC_HANDLER_MAP$ = {};
  $actionMap$$2_genericMap$$2$$[this.$_DEPENDENCY_AS_LINES_MENUITEM_ID$] = "dependency_lines";
  $actionMap$$2_genericMap$$2$$[this.$_DEPENDENCY_AS_MENU_MENUITEM_ID$] = "dependency_menu";
  $actionMap$$2_genericMap$$2$$[this.$_DEPENDENCY_NONE_MENUITEM_ID$] = "dependency_none";
  $actionMap$$2_genericMap$$2$$ = this.$_ACTION_HANDLER_MAP$ = {};
  $actionMap$$2_genericMap$$2$$[this.$_SPLIT_BUTTON_ID$] = "split";
  $actionMap$$2_genericMap$$2$$[this.$_SPLIT_MENUITEM_ID$] = "split";
  $actionMap$$2_genericMap$$2$$[this.$_MERGE_MENUITEM_ID$] = "merge";
  $actionMap$$2_genericMap$$2$$[this.$_SPLIT_POPUP_ID$] = "splitPopup";
  $actionMap$$2_genericMap$$2$$[this.$_MERGE_POPUP_ID$] = "merge";
  $actionMap$$2_genericMap$$2$$[this.$_PROPERTIES_POPUP_ID$] = "properties";
  $actionMap$$2_genericMap$$2$$[this.$_VIEWSELECTED_POPUP_ID$] = "viewSelected";
  $actionMap$$2_genericMap$$2$$[this.$_DEPENDENCY_LINES_DIALOG_MENUITEM_ID$] = "gotoDependentTask";
  $actionMap$$2_genericMap$$2$$[this.$_CM_CREATE_POPUP_ID$] = "create";
  $actionMap$$2_genericMap$$2$$[this.$_CM_PASTE_POPUP_ID$] = "paste";
  this.dragger = this.$selectedDiv$ = null;
  this.$dragged$ = !1;
  this.$draggerBorder$ = null;
  this.$isMove$ = this.$isResize$ = !1;
  this.$currentX$ = this.$currentLeft$ = this.$currentWidth$ = 0;
  this.$endDate$ = this.$startDate$ = null;
  this.$splitLoc$ = 0;
  this.$linking$ = !1;
  this.$selectEndRowKey$ = this.$selectStartRowKey$ = this.$selectedIds$ = this.$rowKeys$ = null;
};
$goog$exportSymbol$$("AdfDhtmlBaseProjectGanttPeer.InitSubclass", AdfDhtmlBaseProjectGanttPeer.InitSubclass);
AdfDhtmlBaseProjectGanttPeer.prototype.InitDomElement = function $AdfDhtmlBaseProjectGanttPeer$$InitDomElement$($component$$359$$, $domElement$$125$$) {
  AdfDhtmlBaseProjectGanttPeer.superclass.InitDomElement.call(this, $component$$359$$, $domElement$$125$$);
  this.$selectedIds$ = $component$$359$$.getProperty("selectedIds");
  null != this.$selectedIds$ && 0 < this.$selectedIds$.length && (this.$rowKeys$ = this.$selectedIds$.split(","));
};
AdfDhtmlBaseProjectGanttPeer.prototype.InitDomElement = AdfDhtmlBaseProjectGanttPeer.prototype.InitDomElement;
AdfDhtmlBaseProjectGanttPeer.prototype.$HandleComponentSelection$ = function $AdfDhtmlBaseProjectGanttPeer$$$HandleComponentSelection$$($componentEvent$$30_removedSet$$7$$) {
  if ($componentEvent$$30_removedSet$$7$$.getSource().getClientId() == $JSCompiler_StaticMethods_getDataTreeTableId$$(this)) {
    var $counter_selectedRowKeys$$1$$ = $componentEvent$$30_removedSet$$7$$.getSource().getSelectedRowKeys(), $addedSet$$7_count$$11_dup$$ = 0, $key$$39$$;
    for ($key$$39$$ in $counter_selectedRowKeys$$1$$) {
      $addedSet$$7_count$$11_dup$$++;
    }
    null == this.$rowKeys$ && (this.$rowKeys$ = []);
    1 >= $addedSet$$7_count$$11_dup$$ && (this.$rowKeys$.length = 0);
    $addedSet$$7_count$$11_dup$$ = $componentEvent$$30_removedSet$$7$$.getAddedSet();
    $counter_selectedRowKeys$$1$$ = 0;
    for ($key$$39$$ in $addedSet$$7_count$$11_dup$$) {
      $counter_selectedRowKeys$$1$$++;
    }
    for ($key$$39$$ in $addedSet$$7_count$$11_dup$$) {
      $addedSet$$7_count$$11_dup$$ = !1;
      if (1 < $counter_selectedRowKeys$$1$$) {
        for (var $i$$94$$ = 0;$i$$94$$ < this.$rowKeys$.length;$i$$94$$++) {
          var $_item$$ = this.$rowKeys$[$i$$94$$];
          if ($_item$$ == $key$$39$$) {
            $addedSet$$7_count$$11_dup$$ = !0;
            break;
          }
        }
      }
      $addedSet$$7_count$$11_dup$$ || this.$rowKeys$.push($key$$39$$);
    }
    $componentEvent$$30_removedSet$$7$$ = $componentEvent$$30_removedSet$$7$$.getRemovedSet();
    for ($key$$39$$ in $componentEvent$$30_removedSet$$7$$) {
      for ($i$$94$$ = 0;$i$$94$$ < this.$rowKeys$.length;$i$$94$$++) {
        $_item$$ = this.$rowKeys$[$i$$94$$], $_item$$ == $key$$39$$ && (this.$rowKeys$[$i$$94$$] = null);
      }
    }
    $JSCompiler_StaticMethods_updateSelectedRowKeys$$(this);
  }
};
$goog$exportSymbol$$("AdfDhtmlBaseProjectGanttPeer.prototype.HandleComponentSelection", AdfDhtmlBaseProjectGanttPeer.prototype.$HandleComponentSelection$);
function $JSCompiler_StaticMethods_updateSelectedRowKeys$$($JSCompiler_StaticMethods_updateSelectedRowKeys$self$$) {
  if (0 < $JSCompiler_StaticMethods_updateSelectedRowKeys$self$$.$rowKeys$.length) {
    var $_ids_dTables$$inline_1579_dataTreeTableId$$inline_1578_empty$$ = !0;
    for (i = 0;i < $JSCompiler_StaticMethods_updateSelectedRowKeys$self$$.$rowKeys$.length;i++) {
      var $_item$$1_ids$$inline_1577$$ = $JSCompiler_StaticMethods_updateSelectedRowKeys$self$$.$rowKeys$[i];
      null != $_item$$1_ids$$inline_1577$$ && ($_ids_dTables$$inline_1579_dataTreeTableId$$inline_1578_empty$$ = !1);
    }
    if (!$_ids_dTables$$inline_1579_dataTreeTableId$$inline_1578_empty$$) {
      $_ids_dTables$$inline_1579_dataTreeTableId$$inline_1578_empty$$ = "";
      for (i = 0;i < $JSCompiler_StaticMethods_updateSelectedRowKeys$self$$.$rowKeys$.length;i++) {
        $_item$$1_ids$$inline_1577$$ = $JSCompiler_StaticMethods_updateSelectedRowKeys$self$$.$rowKeys$[i], null != $_item$$1_ids$$inline_1577$$ && ("" != $_ids_dTables$$inline_1579_dataTreeTableId$$inline_1578_empty$$ && ($_ids_dTables$$inline_1579_dataTreeTableId$$inline_1578_empty$$ += ","), $_ids_dTables$$inline_1579_dataTreeTableId$$inline_1578_empty$$ += $_item$$1_ids$$inline_1577$$);
      }
      $JSCompiler_StaticMethods_updateSelectedRowKeys$self$$.$selectedIds$ = $_ids_dTables$$inline_1579_dataTreeTableId$$inline_1578_empty$$;
      if (null != $JSCompiler_StaticMethods_updateSelectedRowKeys$self$$.$selectStartRowKey$ && null != $JSCompiler_StaticMethods_updateSelectedRowKeys$self$$.$selectEndRowKey$) {
        for (var $_item$$1_ids$$inline_1577$$ = [], $_ids_dTables$$inline_1579_dataTreeTableId$$inline_1578_empty$$ = $JSCompiler_StaticMethods_updateSelectedRowKeys$self$$.getComponent().getClientId() + AdfDhtmlBaseGanttPeer.$_NAMING_SEP$ + AdfDhtmlBaseGanttPeer.$_DATA_TREETABLE_ID$, $_ids_dTables$$inline_1579_dataTreeTableId$$inline_1578_empty$$ = document.getElementById($_ids_dTables$$inline_1579_dataTreeTableId$$inline_1578_empty$$).childNodes[1].childNodes, $found$$inline_1580$$ = !1, $reverse$$inline_1581$$ = 
        !1, $stopKey$$inline_1582$$ = null, $done$$inline_1583$$ = !1, $i$$inline_1584$$ = 0;$i$$inline_1584$$ < $_ids_dTables$$inline_1579_dataTreeTableId$$inline_1578_empty$$.length && !$done$$inline_1583$$;$i$$inline_1584$$++) {
          var $rows$$inline_1585$$;
          $rows$$inline_1585$$ = "DIV" != $_ids_dTables$$inline_1579_dataTreeTableId$$inline_1578_empty$$[$i$$inline_1584$$].nodeName ? AdfAgent.AGENT.getPlatform() != AdfAgent.WEBKIT_PLATFORM ? $_ids_dTables$$inline_1579_dataTreeTableId$$inline_1578_empty$$[$i$$inline_1584$$].childNodes[0].childNodes : $_ids_dTables$$inline_1579_dataTreeTableId$$inline_1578_empty$$[$i$$inline_1584$$].childNodes[1].childNodes : $_ids_dTables$$inline_1579_dataTreeTableId$$inline_1578_empty$$[$i$$inline_1584$$].childNodes[0].childNodes[0].childNodes;
          for (var $j$$inline_1586$$ = 0;$j$$inline_1586$$ < $rows$$inline_1585$$.length && !$done$$inline_1583$$;$j$$inline_1586$$++) {
            var $rowKey$$inline_1587$$ = $rows$$inline_1585$$[$j$$inline_1586$$].getAttribute("_afrrk");
            if (!$found$$inline_1580$$) {
              if ($rowKey$$inline_1587$$ == $JSCompiler_StaticMethods_updateSelectedRowKeys$self$$.$selectStartRowKey$ || $rowKey$$inline_1587$$ == $JSCompiler_StaticMethods_updateSelectedRowKeys$self$$.$selectEndRowKey$) {
                $found$$inline_1580$$ = !0;
              }
              $stopKey$$inline_1582$$ = $rowKey$$inline_1587$$ == $JSCompiler_StaticMethods_updateSelectedRowKeys$self$$.$selectStartRowKey$ ? $JSCompiler_StaticMethods_updateSelectedRowKeys$self$$.$selectEndRowKey$ : $JSCompiler_StaticMethods_updateSelectedRowKeys$self$$.$selectStartRowKey$;
              $rowKey$$inline_1587$$ == $JSCompiler_StaticMethods_updateSelectedRowKeys$self$$.$selectEndRowKey$ && ($reverse$$inline_1581$$ = !0);
            }
            $found$$inline_1580$$ && $_item$$1_ids$$inline_1577$$.push($rowKey$$inline_1587$$);
            $rowKey$$inline_1587$$ == $stopKey$$inline_1582$$ && ($done$$inline_1583$$ = !0);
          }
        }
        $reverse$$inline_1581$$ && $_item$$1_ids$$inline_1577$$.reverse();
        $JSCompiler_StaticMethods_updateSelectedRowKeys$self$$.$selectedIds$ = $_item$$1_ids$$inline_1577$$.toString();
        $JSCompiler_StaticMethods_updateSelectedRowKeys$self$$.$rowKeys$ = $JSCompiler_StaticMethods_updateSelectedRowKeys$self$$.$selectedIds$.split(",");
      }
      $JSCompiler_StaticMethods_updateSelectedRowKeys$self$$.getComponent().setProperty("selectedIds", $JSCompiler_StaticMethods_updateSelectedRowKeys$self$$.$selectedIds$, !1, AdfUIComponent.PROPAGATE_ALWAYS);
    }
  }
}
AdfDhtmlBaseProjectGanttPeer.prototype.$HandleComponentMouseDown$ = function $AdfDhtmlBaseProjectGanttPeer$$$HandleComponentMouseDown$$($componentEvent$$31_evt$$109$$) {
  AdfDhtmlBaseProjectGanttPeer.superclass.$HandleComponentMouseDown$.call(this, $componentEvent$$31_evt$$109$$);
  $componentEvent$$31_evt$$109$$ = $componentEvent$$31_evt$$109$$.getNativeEvent();
  var $rowKey$$29$$ = $JSCompiler_StaticMethods_findRowKey$$(this, $JSCompiler_StaticMethods_getTarget$$($componentEvent$$31_evt$$109$$));
  null != $rowKey$$29$$ && (1 == $componentEvent$$31_evt$$109$$.ctrlKey || 0 == $componentEvent$$31_evt$$109$$.shiftKey || null == this.$selectStartRowKey$ ? (this.$selectStartRowKey$ = $rowKey$$29$$, this.$selectEndRowKey$ = null) : this.$selectEndRowKey$ = $rowKey$$29$$);
};
$goog$exportSymbol$$("AdfDhtmlBaseProjectGanttPeer.prototype.HandleComponentMouseDown", AdfDhtmlBaseProjectGanttPeer.prototype.$HandleComponentMouseDown$);
AdfDhtmlBaseProjectGanttPeer.prototype.HandleComponentAction = function $AdfDhtmlBaseProjectGanttPeer$$HandleComponentAction$($componentEvent$$32_event$$105_pos$$7$$) {
  AdfDhtmlBaseProjectGanttPeer.superclass.HandleComponentAction.call(this, $componentEvent$$32_event$$105_pos$$7$$);
  var $clientId$$73_source$$112$$ = $componentEvent$$32_event$$105_pos$$7$$.getSource();
  if (!$clientId$$73_source$$112$$.getDisabled()) {
    var $clientId$$73_source$$112$$ = $clientId$$73_source$$112$$.getClientId(), $actionMap$$3_genericMap$$3$$ = AdfDhtmlBaseProjectGanttPeer.$_GENERIC_HANDLER_MAP$, $key$$40$$;
    for ($key$$40$$ in $actionMap$$3_genericMap$$3$$) {
      if (0 <= $clientId$$73_source$$112$$.indexOf($key$$40$$)) {
        this.$handleAction$($actionMap$$3_genericMap$$3$$[$key$$40$$]);
        $componentEvent$$32_event$$105_pos$$7$$.cancel();
        return;
      }
    }
    $actionMap$$3_genericMap$$3$$ = AdfDhtmlBaseProjectGanttPeer.$_ACTION_HANDLER_MAP$;
    for ($key$$40$$ in $actionMap$$3_genericMap$$3$$) {
      if (0 <= $clientId$$73_source$$112$$.indexOf($key$$40$$)) {
        this[$actionMap$$3_genericMap$$3$$[$key$$40$$]].call(this, $componentEvent$$32_event$$105_pos$$7$$);
        $componentEvent$$32_event$$105_pos$$7$$.cancel();
        return;
      }
    }
    null != this.$cachedContextMenuEvent$ && ($componentEvent$$32_event$$105_pos$$7$$ = $JSCompiler_StaticMethods_getPositionInChart$$(this, this.$cachedContextMenuEvent$), $componentEvent$$32_event$$105_pos$$7$$ = new $AdfGanttContextEvent$$(this.getComponent(), $componentEvent$$32_event$$105_pos$$7$$), AdfPage.PAGE.queueEventToServer($componentEvent$$32_event$$105_pos$$7$$), this.$cachedContextMenuEvent$ = null);
  }
};
$goog$exportSymbol$$("AdfDhtmlBaseProjectGanttPeer.prototype.HandleComponentAction", AdfDhtmlBaseProjectGanttPeer.prototype.HandleComponentAction);
AdfDhtmlBaseProjectGanttPeer.prototype.$getChartRowContextMenuId$ = function $AdfDhtmlBaseProjectGanttPeer$$$getChartRowContextMenuId$$() {
  var $replaceChartRowContextMenuId$$ = this.getDomElement().getAttribute("rcrcm");
  return null != $replaceChartRowContextMenuId$$ ? $replaceChartRowContextMenuId$$ : AdfDhtmlBaseProjectGanttPeer.$_CM_POPUP_ID$;
};
AdfDhtmlBaseProjectGanttPeer.prototype.$HandleComponentContextMenu$ = function $AdfDhtmlBaseProjectGanttPeer$$$HandleComponentContextMenu$$($componentEvent$$33_evt$$110$$) {
  AdfDhtmlBaseProjectGanttPeer.superclass.$HandleComponentContextMenu$.call(this, $componentEvent$$33_evt$$110$$);
  $componentEvent$$33_evt$$110$$ = $componentEvent$$33_evt$$110$$.getNativeEvent();
  var $component$$360_target$$90$$ = $JSCompiler_StaticMethods_getTarget$$($componentEvent$$33_evt$$110$$), $chartTreeTableId$$4$$ = $JSCompiler_StaticMethods_getChartTreeTableId$$(this), $elem$$26$$ = $JSCompiler_StaticMethods_findElement$$(this, $component$$360_target$$90$$, AdfDhtmlBaseGanttPeer.$_TASKID$);
  null != $elem$$26$$ && null != $elem$$26$$.getAttribute(AdfDhtmlBaseGanttPeer.$_TASKID$) ? (this.$contextRowKey$ = $JSCompiler_StaticMethods_findRowKey$$(this, $elem$$26$$), $component$$360_target$$90$$ = this.getComponent(), this.showContextMenu($componentEvent$$33_evt$$110$$, $JSCompiler_StaticMethods_getChartContextMenuId$$(this), $component$$360_target$$90$$, null, null, $chartTreeTableId$$4$$)) : this.$_isAncestorOrSelf$(AdfPage.PAGE.findComponent($chartTreeTableId$$4$$).getPeer().getDomElement(), 
  $component$$360_target$$90$$) && null != $JSCompiler_StaticMethods_findRowKey$$(this, $component$$360_target$$90$$) && ($component$$360_target$$90$$ = this.getComponent(), this.showContextMenu($componentEvent$$33_evt$$110$$, this.$getChartRowContextMenuId$(), $component$$360_target$$90$$, null, null, $chartTreeTableId$$4$$), this.$cachedContextMenuEvent$ = $componentEvent$$33_evt$$110$$);
};
AdfDhtmlBaseProjectGanttPeer.prototype.HandleComponentContextMenu = AdfDhtmlBaseProjectGanttPeer.prototype.$HandleComponentContextMenu$;
$goog$exportSymbol$$("AdfDhtmlBaseProjectGanttPeer.prototype.HandleComponentContextMenu", AdfDhtmlBaseProjectGanttPeer.prototype.$HandleComponentContextMenu$);
AdfDhtmlBaseProjectGanttPeer.prototype.$HandleComponentPopupClosed$ = function $AdfDhtmlBaseProjectGanttPeer$$$HandleComponentPopupClosed$$($componentEvent$$34$$) {
  AdfDhtmlBaseProjectGanttPeer.superclass.$HandleComponentPopupOpened$.call(this, $componentEvent$$34$$);
  var $peer$$44$$ = this;
  setTimeout(function() {
    $peer$$44$$.$cachedContextMenuEvent$ = null;
    console.log("cleared");
  }, 0);
};
AdfDhtmlBaseProjectGanttPeer.prototype.HandleComponentPopupClosed = AdfDhtmlBaseProjectGanttPeer.prototype.$HandleComponentPopupClosed$;
$goog$exportSymbol$$("AdfDhtmlBaseProjectGanttPeer.prototype.HandleComponentPopupClosed", AdfDhtmlBaseProjectGanttPeer.prototype.$HandleComponentPopupClosed$);
AdfDhtmlBaseProjectGanttPeer.prototype.$isMultipleTasksPerRow$ = function $AdfDhtmlBaseProjectGanttPeer$$$isMultipleTasksPerRow$$() {
  return !1;
};
AdfDhtmlBaseProjectGanttPeer.prototype.$viewSelected$ = function $AdfDhtmlBaseProjectGanttPeer$$$viewSelected$$() {
  this.$handleAction$("viewSelectedTask");
};
AdfDhtmlBaseProjectGanttPeer.prototype.viewSelected = AdfDhtmlBaseProjectGanttPeer.prototype.$viewSelected$;
AdfDhtmlBaseProjectGanttPeer.prototype.create = function $AdfDhtmlBaseProjectGanttPeer$$create$() {
  this.$_handleContextMenuAction$(this.$cachedContextMenuEvent$, "cmCreate");
  this.$cachedContextMenuEvent$ = null;
};
AdfDhtmlBaseProjectGanttPeer.prototype.create = AdfDhtmlBaseProjectGanttPeer.prototype.create;
AdfDhtmlBaseProjectGanttPeer.prototype.$paste$ = function $AdfDhtmlBaseProjectGanttPeer$$$paste$$() {
  this.$_handleContextMenuAction$(this.$cachedContextMenuEvent$, "cmPaste");
  this.$cachedContextMenuEvent$ = null;
};
AdfDhtmlBaseProjectGanttPeer.prototype.paste = AdfDhtmlBaseProjectGanttPeer.prototype.$paste$;
AdfDhtmlBaseProjectGanttPeer.prototype.$_handleContextMenuAction$ = function $AdfDhtmlBaseProjectGanttPeer$$$_handleContextMenuAction$$($evt$$114$$, $type$$110$$) {
  var $event$$106_prop$$23$$ = {};
  $event$$106_prop$$23$$.actionType = $type$$110$$;
  $event$$106_prop$$23$$.rowKey = $JSCompiler_StaticMethods_findRowKey$$(this, $JSCompiler_StaticMethods_getTarget$$($evt$$114$$));
  $event$$106_prop$$23$$.location = $JSCompiler_StaticMethods_getPositionInChart$$(this, $evt$$114$$);
  var $gantt$$4$$ = this.getComponent(), $event$$106_prop$$23$$ = new $AdfGanttDataChangeEvent$$($gantt$$4$$, $event$$106_prop$$23$$);
  $event$$106_prop$$23$$.setPartial(!0);
  $gantt$$4$$.queueEvent($event$$106_prop$$23$$);
};
AdfDhtmlBaseProjectGanttPeer.prototype.$properties$ = function $AdfDhtmlBaseProjectGanttPeer$$$properties$$($_gantt$$5_elem$$28_evt$$115$$) {
  var $_event$$5__prop$$7$$ = {actionType:"properties", taskId:""};
  null != this.$contextRowKey$ ? ($_event$$5__prop$$7$$.rowKey = this.$contextRowKey$, this.$contextRowKey$ = null) : null != $_gantt$$5_elem$$28_evt$$115$$ && ($_gantt$$5_elem$$28_evt$$115$$ = $JSCompiler_StaticMethods_getTarget$$($_gantt$$5_elem$$28_evt$$115$$), null != $_gantt$$5_elem$$28_evt$$115$$ && ($_event$$5__prop$$7$$.rowKey = $JSCompiler_StaticMethods_findRowKey$$(this, $_gantt$$5_elem$$28_evt$$115$$)));
  $_gantt$$5_elem$$28_evt$$115$$ = this.getComponent();
  $_event$$5__prop$$7$$ = new $AdfGanttDataChangeEvent$$($_gantt$$5_elem$$28_evt$$115$$, $_event$$5__prop$$7$$);
  $_event$$5__prop$$7$$.setPartial(!0);
  $_gantt$$5_elem$$28_evt$$115$$.queueEvent($_event$$5__prop$$7$$);
};
AdfDhtmlBaseProjectGanttPeer.prototype.properties = AdfDhtmlBaseProjectGanttPeer.prototype.$properties$;
AdfDhtmlBaseProjectGanttPeer.prototype.link = function $AdfDhtmlBaseProjectGanttPeer$$link$() {
  var $_event$$6__prop$$8$$ = {actionType:"link"};
  $_event$$6__prop$$8$$.rowKeys = this.$selectedIds$;
  var $_gantt$$6$$ = this.getComponent(), $_event$$6__prop$$8$$ = new $AdfGanttDataChangeEvent$$($_gantt$$6$$, $_event$$6__prop$$8$$);
  $_event$$6__prop$$8$$.setPartial(!0);
  $_gantt$$6$$.queueEvent($_event$$6__prop$$8$$);
};
AdfDhtmlBaseProjectGanttPeer.prototype.link = AdfDhtmlBaseProjectGanttPeer.prototype.link;
AdfDhtmlBaseProjectGanttPeer.prototype.$unlink$ = function $AdfDhtmlBaseProjectGanttPeer$$$unlink$$() {
  var $_event$$7__prop$$9$$ = {actionType:"unlink"};
  $_event$$7__prop$$9$$.rowKeys = this.$selectedIds$;
  var $_gantt$$7$$ = this.getComponent(), $_event$$7__prop$$9$$ = new $AdfGanttDataChangeEvent$$($_gantt$$7$$, $_event$$7__prop$$9$$);
  $_event$$7__prop$$9$$.setPartial(!0);
  $_gantt$$7$$.queueEvent($_event$$7__prop$$9$$);
};
AdfDhtmlBaseProjectGanttPeer.prototype.unlink = AdfDhtmlBaseProjectGanttPeer.prototype.$unlink$;
AdfDhtmlBaseProjectGanttPeer.prototype.split = function $AdfDhtmlBaseProjectGanttPeer$$split$() {
  var $_event$$8__prop$$10$$ = {actionType:"split"};
  null != this.$getTaskId$() && ($_event$$8__prop$$10$$.taskId = this.$getTaskId$());
  var $_gantt$$8$$ = this.getComponent(), $_event$$8__prop$$10$$ = new $AdfGanttDataChangeEvent$$($_gantt$$8$$, $_event$$8__prop$$10$$);
  $_event$$8__prop$$10$$.setPartial(!0);
  $_gantt$$8$$.queueEvent($_event$$8__prop$$10$$);
};
AdfDhtmlBaseProjectGanttPeer.prototype.split = AdfDhtmlBaseProjectGanttPeer.prototype.split;
AdfDhtmlBaseProjectGanttPeer.prototype.$splitPopup$ = function $AdfDhtmlBaseProjectGanttPeer$$$splitPopup$$() {
  var $_event$$9__prop$$11$$ = {actionType:"split"};
  null != this.$getTaskId$() && ($_event$$9__prop$$11$$.taskId = this.$getTaskId$());
  null != this.$splitId$ && ($_event$$9__prop$$11$$.splitId = this.$splitId$);
  $_event$$9__prop$$11$$.splitLoc = this.$splitLoc$;
  $_event$$9__prop$$11$$.splitterStart = this.$splitLoc$ + 10;
  var $_gantt$$9$$ = this.getComponent(), $_event$$9__prop$$11$$ = new $AdfGanttDataChangeEvent$$($_gantt$$9$$, $_event$$9__prop$$11$$);
  $_event$$9__prop$$11$$.setPartial(!0);
  $_gantt$$9$$.queueEvent($_event$$9__prop$$11$$);
};
AdfDhtmlBaseProjectGanttPeer.prototype.splitPopup = AdfDhtmlBaseProjectGanttPeer.prototype.$splitPopup$;
AdfDhtmlBaseProjectGanttPeer.prototype.$merge$ = function $AdfDhtmlBaseProjectGanttPeer$$$merge$$() {
  var $_event$$10__prop$$12$$ = {actionType:"merge"};
  null != this.$getTaskId$() && ($_event$$10__prop$$12$$.taskId = this.$getTaskId$());
  null != this.$splitId$ && ($_event$$10__prop$$12$$.splitId = this.$splitId$);
  var $_gantt$$10$$ = this.getComponent(), $_event$$10__prop$$12$$ = new $AdfGanttDataChangeEvent$$($_gantt$$10$$, $_event$$10__prop$$12$$);
  $_event$$10__prop$$12$$.setPartial(!0);
  $_gantt$$10$$.queueEvent($_event$$10__prop$$12$$);
};
AdfDhtmlBaseProjectGanttPeer.prototype.merge = AdfDhtmlBaseProjectGanttPeer.prototype.$merge$;
AdfDhtmlBaseProjectGanttPeer.prototype.$gotoDependentTask$ = function $AdfDhtmlBaseProjectGanttPeer$$$gotoDependentTask$$($_event$$11__prop$$13_clientId$$74_componentEvent$$40$$) {
  $_event$$11__prop$$13_clientId$$74_componentEvent$$40$$ = $_event$$11__prop$$13_clientId$$74_componentEvent$$40$$.getSource().getClientId();
  var $_gantt$$11_taskId$$5$$ = $_event$$11__prop$$13_clientId$$74_componentEvent$$40$$.substring($_event$$11__prop$$13_clientId$$74_componentEvent$$40$$.lastIndexOf(AdfDhtmlBaseProjectGanttPeer.$_DEPENDENCY_LINES_DIALOG_MENUITEM_ID$) + AdfDhtmlBaseProjectGanttPeer.$_DEPENDENCY_LINES_DIALOG_MENUITEM_ID$.length, $_event$$11__prop$$13_clientId$$74_componentEvent$$40$$.length);
  $_event$$11__prop$$13_clientId$$74_componentEvent$$40$$ = {};
  $_event$$11__prop$$13_clientId$$74_componentEvent$$40$$.taskId = $_gantt$$11_taskId$$5$$;
  $_gantt$$11_taskId$$5$$ = this.getComponent();
  $_event$$11__prop$$13_clientId$$74_componentEvent$$40$$ = new $AdfGanttActionEvent$$($_gantt$$11_taskId$$5$$, "gotoDepTask", $_event$$11__prop$$13_clientId$$74_componentEvent$$40$$);
  $_event$$11__prop$$13_clientId$$74_componentEvent$$40$$.setPartial(!0);
  $_gantt$$11_taskId$$5$$.queueEvent($_event$$11__prop$$13_clientId$$74_componentEvent$$40$$);
};
AdfDhtmlBaseProjectGanttPeer.prototype.gotoDependentTask = AdfDhtmlBaseProjectGanttPeer.prototype.$gotoDependentTask$;
AdfDhtmlBaseProjectGanttPeer.prototype.$showResizeCursor$ = function $AdfDhtmlBaseProjectGanttPeer$$$showResizeCursor$$($evt$$116$$) {
  this.$linking$ || this.$dragged$ || (this.dragger = $JSCompiler_StaticMethods_getTarget$$($evt$$116$$), null != this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_PC$) ? $JSCompiler_StaticMethods_isFeatureOff$$(this, "percentComplete") || (AdfAgent.getAgent().getPlatform() == AdfAgent.WEBKIT_PLATFORM ? this.dragger.style.cursor = "url(" + $JSCompiler_StaticMethods_getContextPath$$(this) + "/bi/cursors/percentComplete.cur) 18 15, w-resize" : this.dragger.style.cursor = "url(" + $JSCompiler_StaticMethods_getContextPath$$(this) + 
  "/bi/cursors/percentComplete.cur), w-resize") : !$JSCompiler_StaticMethods_isFeatureOff$$(this, "edit") && this.$areEditsEnabled$() && (this.dragger.style.cursor = "w-resize"), this.$isResize$ = !0, this.$isMove$ = !1, null != this.getTooltip() && this.showTooltip($evt$$116$$));
};
AdfDhtmlBaseProjectGanttPeer.prototype.showResizeCursor = AdfDhtmlBaseProjectGanttPeer.prototype.$showResizeCursor$;
AdfDhtmlBaseProjectGanttPeer.prototype.$showSummaryTooltip$ = function $AdfDhtmlBaseProjectGanttPeer$$$showSummaryTooltip$$($evt$$117$$) {
  this.$dragged$ || this.$linking$ || (this.dragger = $JSCompiler_StaticMethods_getTarget$$($evt$$117$$), null != this.getTooltip() && this.showTooltip($evt$$117$$));
};
AdfDhtmlBaseProjectGanttPeer.prototype.showSummaryTooltip = AdfDhtmlBaseProjectGanttPeer.prototype.$showSummaryTooltip$;
AdfDhtmlBaseProjectGanttPeer.prototype.$hideSummaryTooltip$ = function $AdfDhtmlBaseProjectGanttPeer$$$hideSummaryTooltip$$() {
  if (!this.$dragged$ && !this.$linking$) {
    var $_tooltip$$11$$ = this.getTooltip();
    null != $_tooltip$$11$$ && ($_tooltip$$11$$.style.display = "none");
    this.dragger = null;
  }
};
AdfDhtmlBaseProjectGanttPeer.prototype.hideSummaryTooltip = AdfDhtmlBaseProjectGanttPeer.prototype.$hideSummaryTooltip$;
AdfDhtmlBaseProjectGanttPeer.prototype.$updateTooltipPosition$ = function $AdfDhtmlBaseProjectGanttPeer$$$updateTooltipPosition$$($tooltip$$8$$, $x$$80$$, $datetooltip_y$$57$$, $windowScrollTop$$1$$, $bounds$$6$$) {
  $datetooltip_y$$57$$ = $JSCompiler_StaticMethods_getSplitDateTooltip$$(this);
  0 < parseInt($tooltip$$8$$.style.left) + parseInt($tooltip$$8$$.offsetWidth) + 10 - ($bounds$$6$$.right - $bounds$$6$$.left + $windowScrollTop$$1$$) ? $tooltip$$8$$.style.top = parseInt($datetooltip_y$$57$$.style.top) - parseInt($tooltip$$8$$.offsetHeight) + "px" : $tooltip$$8$$.style.left = parseInt($x$$80$$) - parseInt($tooltip$$8$$.offsetWidth) - 10 + "px";
};
AdfDhtmlBaseProjectGanttPeer.prototype.$showMoveCursor$ = function $AdfDhtmlBaseProjectGanttPeer$$$showMoveCursor$$($evt$$118_target$$91$$) {
  if (this.$linking$) {
    $evt$$118_target$$91$$ = $JSCompiler_StaticMethods_getTarget$$($evt$$118_target$$91$$), $evt$$118_target$$91$$ = $JSCompiler_StaticMethods_findElement$$(this, $evt$$118_target$$91$$, AdfDhtmlBaseGanttPeer.$_TASKID$), null == this.$linkToElem$ && (this.$linkToElem$ = document.createElement("div")), this.$linkToElem$.setAttribute(AdfDhtmlBaseGanttPeer.$_TASKID$, $evt$$118_target$$91$$.getAttribute(AdfDhtmlBaseGanttPeer.$_TASKID$)), this.$linkToElem$.index = 0, this.$linkToElem$.style.position = 
    "absolute", this.$linkToElem$.style.border = "solid 2px #FF6600", AdfPage.PAGE.getLocaleContext().isRightToLeft() ? this.$linkToElem$.style.right = parseInt($evt$$118_target$$91$$.style.right) - 2 + "px" : this.$linkToElem$.style.left = parseInt($evt$$118_target$$91$$.style.left) - 2 + "px", this.$linkToElem$.style.width = parseInt($evt$$118_target$$91$$.style.width) + 5 + "px", this.$linkToElem$.style.top = "50%", this.$linkToElem$.style.marginTop = "-10px", this.$linkToElem$.style.height = 
    "15px", this.$linkToElem$.style.display = "block", $evt$$118_target$$91$$.parentNode.appendChild(this.$linkToElem$);
  } else {
    if (!this.$dragged$) {
      this.dragger = $JSCompiler_StaticMethods_getTarget$$($evt$$118_target$$91$$);
      !$JSCompiler_StaticMethods_isFeatureOff$$(this, "edit") && this.$areEditsEnabled$() && (this.dragger.style.cursor = "move");
      this.$selectedDiv$ = this.dragger = $JSCompiler_StaticMethods_findElement$$(this, this.dragger, AdfDhtmlBaseGanttPeer.$_TASKID$);
      this.$splitId$ = this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_SPLITID$);
      for (var $JSCompiler_object_inline_x_0$$inline_1654$$ = 0, $_elem$$inline_1655$$ = this.dragger.parentNode;$_elem$$inline_1655$$;) {
        $JSCompiler_object_inline_x_0$$inline_1654$$ += $_elem$$inline_1655$$.offsetLeft, $_elem$$inline_1655$$ = $_elem$$inline_1655$$.offsetParent;
      }
      this.$splitLoc$ = $evt$$118_target$$91$$.clientX - $JSCompiler_object_inline_x_0$$inline_1654$$;
      this.$isMove$ = !0;
      this.$isResize$ = !1;
      null != this.getTooltip() && this.showTooltip($evt$$118_target$$91$$);
      this.$renderSplitTooltip$($evt$$118_target$$91$$);
      this.$showSplitTooltip$ = !0;
    }
  }
};
AdfDhtmlBaseProjectGanttPeer.prototype.showMoveCursor = AdfDhtmlBaseProjectGanttPeer.prototype.$showMoveCursor$;
AdfDhtmlBaseProjectGanttPeer.prototype.$resetCursor$ = function $AdfDhtmlBaseProjectGanttPeer$$$resetCursor$$($evt$$119$$) {
  this.$linking$ ? null != this.$linkToElem$ && (this.$linkToElem$.removeAttribute(AdfDhtmlBaseGanttPeer.$_TASKID$), this.$linkToElem$.style.display = "none") : null != this.dragger && null != this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_PC$) || AdfDhtmlBaseProjectGanttPeer.superclass.$resetCursor$.call(this, $evt$$119$$);
};
AdfDhtmlBaseProjectGanttPeer.prototype.resetCursor = AdfDhtmlBaseProjectGanttPeer.prototype.$resetCursor$;
AdfDhtmlBaseProjectGanttPeer.prototype.$showDepTooltip$ = function $AdfDhtmlBaseProjectGanttPeer$$$showDepTooltip$$($evt$$120$$) {
  var $_splitTooltip$$2$$ = $JSCompiler_StaticMethods_getSplitDateTooltip$$(this), $_parent__text$$ = $evt$$120$$.target.parentNode;
  $evt$$120$$.target.src = $evt$$120$$.target.getAttribute("src_ovr");
  $_parent__text$$ = $_parent__text$$.getAttribute("tooltip");
  if (null != $_splitTooltip$$2$$) {
    $_splitTooltip$$2$$.style.display = "block";
    AdfPage.PAGE.getLocaleContext().isRightToLeft() ? $_splitTooltip$$2$$.style.right = parseInt(this.$getX$($evt$$120$$)) + 3 + "px" : $_splitTooltip$$2$$.style.left = parseInt(this.$getX$($evt$$120$$)) + 3 + "px";
    $_splitTooltip$$2$$.style.top = parseInt(this.$getY$($evt$$120$$)) - 30 + "px";
    var $_inner$$1$$ = "\x3cdiv style\x3d'position:relative;padding-bottom:3px;padding-right:3px'\x3e";
    AdfPage.PAGE.getLocaleContext().isRightToLeft() && ($_inner$$1$$ = "\x3cdiv style\x3d'position:relative;padding-bottom:3px;padding-right:3px'\x3e");
    $_inner$$1$$ = $_inner$$1$$ + $_parent__text$$ + "\x3c/div\x3e";
    $JSCompiler_StaticMethods_computeTooltipLeftFromX$$(this, $_splitTooltip$$2$$, this.$getX$($evt$$120$$));
    $_splitTooltip$$2$$.childNodes[0].childNodes[1].childNodes[1].innerHTML = $_inner$$1$$;
  }
};
AdfDhtmlBaseProjectGanttPeer.prototype.showDepTooltip = AdfDhtmlBaseProjectGanttPeer.prototype.$showDepTooltip$;
AdfDhtmlBaseProjectGanttPeer.prototype.$hideDepTooltip$ = function $AdfDhtmlBaseProjectGanttPeer$$$hideDepTooltip$$($evt$$121$$) {
  var $_splitTooltip$$3$$ = $JSCompiler_StaticMethods_getSplitDateTooltip$$(this);
  $evt$$121$$.target.src = $evt$$121$$.target.getAttribute("src_ena");
  null != $_splitTooltip$$3$$ && ($_splitTooltip$$3$$.style.display = "none");
};
AdfDhtmlBaseProjectGanttPeer.prototype.hideDepTooltip = AdfDhtmlBaseProjectGanttPeer.prototype.$hideDepTooltip$;
AdfDhtmlBaseProjectGanttPeer.prototype.$renderSplitTooltip$ = function $AdfDhtmlBaseProjectGanttPeer$$$renderSplitTooltip$$($evt$$122$$) {
  if (!(this.$isChartPopupVisible$ || $JSCompiler_StaticMethods_isFeatureOff$$(this, "split") || this.$dragpan$ || 1 == this.$zoomPerformed$)) {
    var $_currentDate__part$$1_clientId$$75_currentDateText_popup$$15$$ = this.getComponent().getClientId(), $_currentDate__part$$1_clientId$$75_currentDateText_popup$$15$$ = AdfPage.PAGE.findComponent($_currentDate__part$$1_clientId$$75_currentDateText_popup$$15$$ + AdfDhtmlBaseGanttPeer.$_NAMING_SEP$ + $JSCompiler_StaticMethods_getChartContextMenuId$$(this));
    if (null == $_currentDate__part$$1_clientId$$75_currentDateText_popup$$15$$ || !$_currentDate__part$$1_clientId$$75_currentDateText_popup$$15$$.isPopupVisible()) {
      if ($_currentDate__part$$1_clientId$$75_currentDateText_popup$$15$$ = this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_PART$), null != $_currentDate__part$$1_clientId$$75_currentDateText_popup$$15$$ && ("bar" == $_currentDate__part$$1_clientId$$75_currentDateText_popup$$15$$ || "split" == $_currentDate__part$$1_clientId$$75_currentDateText_popup$$15$$)) {
        var $_inner$$2__startDate_startTimeConverter$$1$$ = new Date(parseInt(this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_STARTTIME$))), $_currentDate__part$$1_clientId$$75_currentDateText_popup$$15$$ = new Date;
        $_currentDate__part$$1_clientId$$75_currentDateText_popup$$15$$.setTime($_inner$$2__startDate_startTimeConverter$$1$$.getTime());
        var $_increment__moveX$$ = parseInt(this.$dateIncrement$);
        if (0 < $_increment__moveX$$) {
          var $_diff$$3_windowsScroll$$1$$ = parseInt(AdfAgent.AGENT.getDomWindow().document.documentElement.scrollLeft), $_diff$$3_windowsScroll$$1$$ = parseInt(this.$getX$($evt$$122$$)) - $_diff$$3_windowsScroll$$1$$ - (parseInt(AdfAgent.AGENT.getElementLeft(this.dragger)) + $_diff$$3_windowsScroll$$1$$) + parseInt(AdfAgent.AGENT.getElementLeft(this.getDomElement())), $_increment__moveX$$ = Math.round($_diff$$3_windowsScroll$$1$$ / $_increment__moveX$$);
          if (0 != $_increment__moveX$$) {
            var $_splitTooltip$$4__unit$$1$$ = this.$dateIncrementUnit$;
            "hour" == $_splitTooltip$$4__unit$$1$$ ? $_currentDate__part$$1_clientId$$75_currentDateText_popup$$15$$.setMinutes($_inner$$2__startDate_startTimeConverter$$1$$.getMinutes() + $_increment__moveX$$) : $_currentDate__part$$1_clientId$$75_currentDateText_popup$$15$$.setDate($_inner$$2__startDate_startTimeConverter$$1$$.getDate() + $_increment__moveX$$);
          }
        }
        $_inner$$2__startDate_startTimeConverter$$1$$ = $JSCompiler_StaticMethods_getClientConverter$$(this, AdfDhtmlBaseGanttPeer.$_STARTTIME_CONVERTER$);
        null != $_inner$$2__startDate_startTimeConverter$$1$$ ? $_currentDate__part$$1_clientId$$75_currentDateText_popup$$15$$ = $_inner$$2__startDate_startTimeConverter$$1$$.getAsString($_currentDate__part$$1_clientId$$75_currentDateText_popup$$15$$) : ($_currentDate__part$$1_clientId$$75_currentDateText_popup$$15$$ = $JSCompiler_StaticMethods_formatDate$$(this, $_currentDate__part$$1_clientId$$75_currentDateText_popup$$15$$), "hour" == $_splitTooltip$$4__unit$$1$$ && ($_currentDate__part$$1_clientId$$75_currentDateText_popup$$15$$ += 
        "\x3c/b\x3e"));
        $_splitTooltip$$4__unit$$1$$ = $JSCompiler_StaticMethods_getSplitDateTooltip$$(this);
        null != $_splitTooltip$$4__unit$$1$$ && ($_splitTooltip$$4__unit$$1$$.style.display = "block", AdfPage.PAGE.getLocaleContext().isRightToLeft() ? $_splitTooltip$$4__unit$$1$$.style.right = parseInt(this.$getX$($evt$$122$$)) + 3 + "px" : $_splitTooltip$$4__unit$$1$$.style.left = parseInt(this.$getX$($evt$$122$$)) + 3 + "px", $_splitTooltip$$4__unit$$1$$.style.top = parseInt(this.$getY$($evt$$122$$)) - 30 + "px", $_inner$$2__startDate_startTimeConverter$$1$$ = "\x3cdiv style\x3d'position:relative;padding-bottom:3px;padding-right:3px'\x3e", 
        AdfPage.PAGE.getLocaleContext().isRightToLeft() && ($_inner$$2__startDate_startTimeConverter$$1$$ = "\x3cdiv style\x3d'position:relative;padding-bottom:3px;padding-right:3px'\x3e"), $_inner$$2__startDate_startTimeConverter$$1$$ = $_inner$$2__startDate_startTimeConverter$$1$$ + $_currentDate__part$$1_clientId$$75_currentDateText_popup$$15$$ + "\x3c/div\x3e", $JSCompiler_StaticMethods_computeTooltipLeftFromX$$(this, $_splitTooltip$$4__unit$$1$$, this.$getX$($evt$$122$$)), $_splitTooltip$$4__unit$$1$$.childNodes[0].childNodes[1].childNodes[1].innerHTML = 
        $_inner$$2__startDate_startTimeConverter$$1$$);
      }
    }
  }
};
AdfDhtmlBaseProjectGanttPeer.prototype.renderSplitTooltip = AdfDhtmlBaseProjectGanttPeer.prototype.$renderSplitTooltip$;
function $JSCompiler_StaticMethods_renderPercentCompleteTooltip$$($JSCompiler_StaticMethods_renderPercentCompleteTooltip$self$$, $evt$$123$$) {
  var $_completeThrough__dateTooltip$$1$$ = new Date(parseInt($JSCompiler_StaticMethods_renderPercentCompleteTooltip$self$$.dragger.parentNode.getAttribute("ctt"))), $_unit$$2$$ = $JSCompiler_StaticMethods_renderPercentCompleteTooltip$self$$.$dateIncrementUnit$, $_current_currentText$$ = new Date;
  $_current_currentText$$.setTime($_completeThrough__dateTooltip$$1$$.getTime());
  var $_increment$$1__inner$$3__moveX$$1_domElement$$126$$ = parseInt($JSCompiler_StaticMethods_renderPercentCompleteTooltip$self$$.$dateIncrement$);
  if (0 < $_increment$$1__inner$$3__moveX$$1_domElement$$126$$) {
    var $_diff$$4_completeThroughConverter$$ = $JSCompiler_StaticMethods_renderPercentCompleteTooltip$self$$.$getX$($evt$$123$$) - $JSCompiler_StaticMethods_renderPercentCompleteTooltip$self$$.$globalStartX$, $_increment$$1__inner$$3__moveX$$1_domElement$$126$$ = Math.round($_diff$$4_completeThroughConverter$$ / $_increment$$1__inner$$3__moveX$$1_domElement$$126$$);
    "hour" == $_unit$$2$$ ? $_current_currentText$$.setMinutes($_completeThrough__dateTooltip$$1$$.getMinutes() + $_increment$$1__inner$$3__moveX$$1_domElement$$126$$) : $_current_currentText$$.setDate($_completeThrough__dateTooltip$$1$$.getDate() + $_increment$$1__inner$$3__moveX$$1_domElement$$126$$);
  }
  $_completeThrough__dateTooltip$$1$$ = $JSCompiler_StaticMethods_getDateTooltip$$($JSCompiler_StaticMethods_renderPercentCompleteTooltip$self$$);
  null != $_completeThrough__dateTooltip$$1$$ && (AdfPage.PAGE.getLocaleContext().isRightToLeft() ? $_completeThrough__dateTooltip$$1$$.style.right = $JSCompiler_StaticMethods_renderPercentCompleteTooltip$self$$.$getX$($evt$$123$$) + "px" : $_completeThrough__dateTooltip$$1$$.style.left = $JSCompiler_StaticMethods_renderPercentCompleteTooltip$self$$.$getX$($evt$$123$$) + "px", $_completeThrough__dateTooltip$$1$$.style.display = "block", $_increment$$1__inner$$3__moveX$$1_domElement$$126$$ = "", $_increment$$1__inner$$3__moveX$$1_domElement$$126$$ = 
  $JSCompiler_StaticMethods_renderPercentCompleteTooltip$self$$.getDomElement(), $_completeThrough__dateTooltip$$1$$.style.top = parseInt($JSCompiler_StaticMethods_renderPercentCompleteTooltip$self$$.$getY$($evt$$123$$)) - 30 + "px", $_diff$$4_completeThroughConverter$$ = $JSCompiler_StaticMethods_getClientConverter$$($JSCompiler_StaticMethods_renderPercentCompleteTooltip$self$$, AdfDhtmlBaseProjectGanttPeer.$_COMPLETE_THROUGH_CONVERTER$), null != $_diff$$4_completeThroughConverter$$ ? $_current_currentText$$ = 
  $_diff$$4_completeThroughConverter$$.getAsString($_current_currentText$$) : ($_current_currentText$$ = $JSCompiler_StaticMethods_formatDate$$($JSCompiler_StaticMethods_renderPercentCompleteTooltip$self$$, $_current_currentText$$), "hour" == $_unit$$2$$ && ($_current_currentText$$ += "\x3c/b\x3e")), $_increment$$1__inner$$3__moveX$$1_domElement$$126$$ = "\x3ctable cellpadding\x3d'0' cellspacing\x3d'0' style\x3d'padding-bottom:3px;padding-right:3px'\x3e\x3ctr valign\x3d'top'\x3e\x3ctd class\x3d'" + 
  $_increment$$1__inner$$3__moveX$$1_domElement$$126$$.getAttribute(AdfDhtmlBaseGanttPeer.$_TOOLTIP_LABEL_CLASS$) + "' style\x3d'text-align:right; padding:0 8px 0 0; white-space: nowrap;'\x3eComplete Through\x3c/td\x3e\x3ctd  style\x3d'text-align:left;'\x3e" + $_current_currentText$$ + "\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e", $JSCompiler_StaticMethods_computeTooltipLeftFromX$$($JSCompiler_StaticMethods_renderPercentCompleteTooltip$self$$, $_completeThrough__dateTooltip$$1$$, $JSCompiler_StaticMethods_renderPercentCompleteTooltip$self$$.$getX$($evt$$123$$)), 
  $_completeThrough__dateTooltip$$1$$.childNodes[0].childNodes[1].childNodes[1].innerHTML = $_increment$$1__inner$$3__moveX$$1_domElement$$126$$, AdfPage.PAGE.getLocaleContext().isRightToLeft() ? $_completeThrough__dateTooltip$$1$$.style.right = parseInt($_completeThrough__dateTooltip$$1$$.style.right) - parseInt($_completeThrough__dateTooltip$$1$$.offsetWidth) - 10 + "px" : $_completeThrough__dateTooltip$$1$$.style.left = parseInt($_completeThrough__dateTooltip$$1$$.style.left) - parseInt($_completeThrough__dateTooltip$$1$$.offsetWidth) - 
  10 + "px");
}
AdfDhtmlBaseProjectGanttPeer.prototype.$startNormalDrag$ = function $AdfDhtmlBaseProjectGanttPeer$$$startNormalDrag$$($_splitTooltip$$inline_1696__tooltip$$inline_1695_evt$$125$$) {
  if (!this.$dragged$ && null != this.dragger) {
    if ($_splitTooltip$$inline_1696__tooltip$$inline_1695_evt$$125$$.cancelBubble = !0, $JSCompiler_StaticMethods_isCtrlClick$$($_splitTooltip$$inline_1696__tooltip$$inline_1695_evt$$125$$)) {
      null != this.dragger && (null == this.$linkFromElem$ && (this.$linkFromElem$ = document.createElement("div")), this.$linkFromElem$.setAttribute(AdfDhtmlBaseGanttPeer.$_TASKID$, this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_TASKID$)), this.$linkFromElem$.index = 0, this.$linkFromElem$.style.position = "absolute", this.$linkFromElem$.style.border = "solid 2px #FF6600", AdfPage.PAGE.getLocaleContext().isRightToLeft() ? this.$linkFromElem$.style.right = parseInt(this.dragger.style.right) - 
      2 + "px" : this.$linkFromElem$.style.left = parseInt(this.dragger.style.left) - 2 + "px", this.$linkFromElem$.style.width = parseInt(this.dragger.style.width) + 5 + "px", this.$linkFromElem$.style.top = "50%", this.$linkFromElem$.style.marginTop = "-10px", this.$linkFromElem$.style.height = "15px", this.$linkFromElem$.style.display = "block", this.dragger.parentNode.appendChild(this.$linkFromElem$), this.$draggerBorder$ = this.dragger.style.border);
      this.$linkSrcX$ = this.$getX$($_splitTooltip$$inline_1696__tooltip$$inline_1695_evt$$125$$);
      this.$linkSrcY$ = this.$getY$($_splitTooltip$$inline_1696__tooltip$$inline_1695_evt$$125$$);
      var $_ghost$$2_component$$inline_1691_connector$$inline_1694_splitId$$ = this.getComponent(), $_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$ = document.getElementById($_ghost$$2_component$$inline_1691_connector$$inline_1694_splitId$$.getClientId() + "::hline"), $_child$$3__parentLeft_index$$64_vline$$inline_1693$$ = document.getElementById($_ghost$$2_component$$inline_1691_connector$$inline_1694_splitId$$.getClientId() + "::vline"), $_ghost$$2_component$$inline_1691_connector$$inline_1694_splitId$$ = 
      document.getElementById($_ghost$$2_component$$inline_1691_connector$$inline_1694_splitId$$.getClientId() + "::connector");
      null != $_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$ && null != $_child$$3__parentLeft_index$$64_vline$$inline_1693$$ && null != $_ghost$$2_component$$inline_1691_connector$$inline_1694_splitId$$ && ($_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$.display = "block", $_child$$3__parentLeft_index$$64_vline$$inline_1693$$.display = "block", AdfPage.PAGE.getLocaleContext().isRightToLeft() ? $_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$.style.right = 
      this.$getX$($_splitTooltip$$inline_1696__tooltip$$inline_1695_evt$$125$$) + "px" : $_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$.style.left = this.$getX$($_splitTooltip$$inline_1696__tooltip$$inline_1695_evt$$125$$) + "px", $_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$.style.top = this.$getY$($_splitTooltip$$inline_1696__tooltip$$inline_1695_evt$$125$$) + "px", $_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$.style.display = 
      "block", AdfPage.PAGE.getLocaleContext().isRightToLeft() ? $_child$$3__parentLeft_index$$64_vline$$inline_1693$$.style.right = this.$getX$($_splitTooltip$$inline_1696__tooltip$$inline_1695_evt$$125$$) + "px" : $_child$$3__parentLeft_index$$64_vline$$inline_1693$$.style.left = this.$getX$($_splitTooltip$$inline_1696__tooltip$$inline_1695_evt$$125$$) + "px", $_child$$3__parentLeft_index$$64_vline$$inline_1693$$.style.top = this.$getY$($_splitTooltip$$inline_1696__tooltip$$inline_1695_evt$$125$$) + 
      "px", $_child$$3__parentLeft_index$$64_vline$$inline_1693$$.style.display = "block", AdfPage.PAGE.getLocaleContext().isRightToLeft() ? $_ghost$$2_component$$inline_1691_connector$$inline_1694_splitId$$.style.right = parseInt(this.$getX$($_splitTooltip$$inline_1696__tooltip$$inline_1695_evt$$125$$)) - 6 + "px" : $_ghost$$2_component$$inline_1691_connector$$inline_1694_splitId$$.style.left = parseInt(this.$getX$($_splitTooltip$$inline_1696__tooltip$$inline_1695_evt$$125$$)) - 6 + "px", $_ghost$$2_component$$inline_1691_connector$$inline_1694_splitId$$.style.top = 
      parseInt(this.$getY$($_splitTooltip$$inline_1696__tooltip$$inline_1695_evt$$125$$)) - 13 + "px", $_ghost$$2_component$$inline_1691_connector$$inline_1694_splitId$$.style.display = "block", $_splitTooltip$$inline_1696__tooltip$$inline_1695_evt$$125$$ = this.getTooltip(), null != $_splitTooltip$$inline_1696__tooltip$$inline_1695_evt$$125$$ && ($_splitTooltip$$inline_1696__tooltip$$inline_1695_evt$$125$$.style.display = "none"), $_splitTooltip$$inline_1696__tooltip$$inline_1695_evt$$125$$ = $JSCompiler_StaticMethods_getSplitDateTooltip$$(this), 
      null != $_splitTooltip$$inline_1696__tooltip$$inline_1695_evt$$125$$ && ($_splitTooltip$$inline_1696__tooltip$$inline_1695_evt$$125$$.style.display = "none"), this.$linking$ = !0);
    } else {
      this.$globalStartX$ = this.$getX$($_splitTooltip$$inline_1696__tooltip$$inline_1695_evt$$125$$);
      this.$dragged$ = !0;
      $_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$ = this.getTooltip();
      null != $_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$ && ($_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$.style.display = "none");
      $_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$ = $JSCompiler_StaticMethods_getSplitDateTooltip$$(this);
      null != $_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$ && ($_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$.style.display = "none");
      if (this.$isResize$) {
        if (null != this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_PC$)) {
          this.$currentWidth$ = this.dragger.style.width;
          AdfPage.PAGE.getLocaleContext().isRightToLeft() ? this.$currentLeft$ = this.dragger.style.right : this.$currentLeft$ = this.dragger.style.left;
          return;
        }
        this.$currentX$ = AdfAgent.AGENT.getElementLeft(this.dragger.previousSibling);
        this.resizeGhostRight = this.resizeGhostBar = null;
        for (var $_ghost$$2_component$$inline_1691_connector$$inline_1694_splitId$$ = this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_SPLITID$), $_splitId_recurrId$$ = this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_RECURRID$), $_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$ = 0;$_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$ < this.dragger.parentNode.childNodes.length;$_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$++) {
          if ($_child$$3__parentLeft_index$$64_vline$$inline_1693$$ = this.dragger.parentNode.childNodes[$_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$], null == $_ghost$$2_component$$inline_1691_connector$$inline_1694_splitId$$ && null == $_splitId_recurrId$$ || null != $_ghost$$2_component$$inline_1691_connector$$inline_1694_splitId$$ && $_ghost$$2_component$$inline_1691_connector$$inline_1694_splitId$$ == $_child$$3__parentLeft_index$$64_vline$$inline_1693$$.getAttribute(AdfDhtmlBaseGanttPeer.$_SPLITID$) || 
          null != $_splitId_recurrId$$ && $_splitId_recurrId$$ == $_child$$3__parentLeft_index$$64_vline$$inline_1693$$.getAttribute(AdfDhtmlBaseGanttPeer.$_RECURRID$)) {
            $_child$$3__parentLeft_index$$64_vline$$inline_1693$$.getAttribute("part") == AdfDhtmlBaseGanttPeer.$_BAR$ && null == this.resizeGhostBar && (this.resizeGhostBar = $_child$$3__parentLeft_index$$64_vline$$inline_1693$$.cloneNode(!0)), $_child$$3__parentLeft_index$$64_vline$$inline_1693$$.getAttribute("part") == AdfDhtmlBaseGanttPeer.$_SPLIT$ && null == this.resizeGhostBar ? this.resizeGhostBar = $_child$$3__parentLeft_index$$64_vline$$inline_1693$$.cloneNode(!0) : $_child$$3__parentLeft_index$$64_vline$$inline_1693$$.getAttribute("part") == 
            AdfDhtmlBaseGanttPeer.$_RIGHT$ && null == this.resizeGhostRight && (this.resizeGhostRight = $_child$$3__parentLeft_index$$64_vline$$inline_1693$$.cloneNode(!0));
          }
        }
        if (null != $_ghost$$2_component$$inline_1691_connector$$inline_1694_splitId$$ || null != $_splitId_recurrId$$) {
          $_child$$3__parentLeft_index$$64_vline$$inline_1693$$ = "0", AdfPage.PAGE.getLocaleContext().isRightToLeft() ? this.dragger.parentNode.style.right && ($_child$$3__parentLeft_index$$64_vline$$inline_1693$$ = this.dragger.parentNode.style.right) : this.dragger.parentNode.style.left && ($_child$$3__parentLeft_index$$64_vline$$inline_1693$$ = this.dragger.parentNode.style.left), $_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$ = AdfAgent.AGENT.getComputedStyle(this.dragger.parentNode).marginTop, 
          this.resizeGhostBar.style.marginTop = $_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$, AdfPage.PAGE.getLocaleContext().isRightToLeft() ? this.resizeGhostBar.style.right = parseInt(this.resizeGhostBar.style.right) + parseInt($_child$$3__parentLeft_index$$64_vline$$inline_1693$$) + "px" : this.resizeGhostBar.style.left = parseInt(this.resizeGhostBar.style.left) + parseInt($_child$$3__parentLeft_index$$64_vline$$inline_1693$$) + "px", this.resizeGhostBar.style.top = 
          "50%", this.resizeGhostRight.style.marginTop = $_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$, AdfPage.PAGE.getLocaleContext().isRightToLeft() ? this.resizeGhostRight.style.right = parseInt(this.resizeGhostRight.style.right) + parseInt($_child$$3__parentLeft_index$$64_vline$$inline_1693$$) + "px" : this.resizeGhostRight.style.left = parseInt(this.resizeGhostRight.style.left) + parseInt($_child$$3__parentLeft_index$$64_vline$$inline_1693$$) + "px", this.resizeGhostRight.style.top = 
          "50%";
        }
        AdfAgent.AGENT.setOpacity(this.resizeGhostBar, 70);
        this.resizeGhostBar.style.$positon$ = "absolute";
        this.resizeGhostBar.style.width = parseInt(this.resizeGhostBar.style.width) + 5 + "px";
        this.resizeGhostBar.style.cursor = "w-resize";
        this.resizeGhostRight.style.$positon$ = "absolute";
        this.resizeGhostRight.style.cursor = "w-resize";
        $_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$ = this.dragger.parentNode;
        if (null != $_ghost$$2_component$$inline_1691_connector$$inline_1694_splitId$$ || null != $_splitId_recurrId$$) {
          $_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$ = $_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$.parentNode;
        }
        $_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$.appendChild(this.resizeGhostBar);
        $_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$.appendChild(this.resizeGhostRight);
        this.$currentWidth$ = this.resizeGhostBar.style.width;
        this.resizeGhostWidth = parseInt(this.$currentWidth$);
      } else {
        if (this.$isMove$) {
          $_ghost$$2_component$$inline_1691_connector$$inline_1694_splitId$$ = this.$getGhost$();
          $_ghost$$2_component$$inline_1691_connector$$inline_1694_splitId$$.style.height = "18px";
          for (var $_splitId_recurrId$$ = this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_SPLITID$), $_recurrId$$ = this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_RECURRID$), $_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$ = 0;$_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$ < this.dragger.parentNode.childNodes.length;$_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$++) {
            if ($_child$$3__parentLeft_index$$64_vline$$inline_1693$$ = this.dragger.parentNode.childNodes[$_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$], null == $_splitId_recurrId$$ || $_splitId_recurrId$$ == $_child$$3__parentLeft_index$$64_vline$$inline_1693$$.getAttribute(AdfDhtmlBaseGanttPeer.$_SPLITID$)) {
              if (null == $_recurrId$$ || $_recurrId$$ == $_child$$3__parentLeft_index$$64_vline$$inline_1693$$.getAttribute(AdfDhtmlBaseGanttPeer.$_RECURRID$)) {
                var $_clone$$ = $_child$$3__parentLeft_index$$64_vline$$inline_1693$$.cloneNode(!0);
                $_clone$$.onmouseover = null;
                $_clone$$.onmouseout = null;
                $_clone$$.onmousedown = null;
                $_clone$$.style.cursor = "move";
                if ($_child$$3__parentLeft_index$$64_vline$$inline_1693$$.getAttribute(AdfDhtmlBaseGanttPeer.$_PART$) == AdfDhtmlBaseGanttPeer.$_LEFT$ || $_child$$3__parentLeft_index$$64_vline$$inline_1693$$.getAttribute(AdfDhtmlBaseGanttPeer.$_PART$) == AdfDhtmlBaseGanttPeer.$_BAR$ || $_child$$3__parentLeft_index$$64_vline$$inline_1693$$.getAttribute(AdfDhtmlBaseGanttPeer.$_PART$) == AdfDhtmlBaseGanttPeer.$_SPLIT$) {
                  AdfPage.PAGE.getLocaleContext().isRightToLeft() ? $_clone$$.style.right = "0px" : $_clone$$.style.left = "0px";
                } else {
                  if ($_child$$3__parentLeft_index$$64_vline$$inline_1693$$.getAttribute(AdfDhtmlBaseGanttPeer.$_PART$) == AdfDhtmlBaseGanttPeer.$_GRABBER$) {
                    AdfPage.PAGE.getLocaleContext().isRightToLeft() ? $_clone$$.style.right = parseInt(this.dragger.style.width) + "px" : $_clone$$.style.left = parseInt(this.dragger.style.width) + "px";
                  } else {
                    if ($_child$$3__parentLeft_index$$64_vline$$inline_1693$$.getAttribute(AdfDhtmlBaseGanttPeer.$_PART$) == AdfDhtmlBaseGanttPeer.$_RIGHT$) {
                      AdfDhtmlBaseGanttPeer.$isMobileTouchDevice$() ? AdfPage.PAGE.getLocaleContext().isRightToLeft() ? $_clone$$.style.right = parseInt(this.dragger.style.width) + "px" : $_clone$$.style.left = parseInt(this.dragger.style.width) + "px" : AdfPage.PAGE.getLocaleContext().isRightToLeft() ? $_clone$$.style.right = parseInt(this.dragger.style.width) + 5 + "px" : $_clone$$.style.left = parseInt(this.dragger.style.width) + 5 + "px";
                    } else {
                      continue;
                    }
                  }
                }
                $_ghost$$2_component$$inline_1691_connector$$inline_1694_splitId$$.firstChild.appendChild($_clone$$);
              }
            }
          }
          AdfAgent.AGENT.setOpacity($_ghost$$2_component$$inline_1691_connector$$inline_1694_splitId$$, 70);
          $_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$ = AdfAgent.AGENT.getComputedStyle(this.dragger).marginTop;
          $_child$$3__parentLeft_index$$64_vline$$inline_1693$$ = $_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$.indexOf("px");
          -1 != $_child$$3__parentLeft_index$$64_vline$$inline_1693$$ && ($_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$ = parseInt($_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$.substring(0, $_child$$3__parentLeft_index$$64_vline$$inline_1693$$)), $_ghost$$2_component$$inline_1691_connector$$inline_1694_splitId$$.style.marginTop = 0 - $_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$ + "px");
          $_ghost$$2_component$$inline_1691_connector$$inline_1694_splitId$$.style.width = parseInt(this.dragger.style.width) + 6 + "px";
          AdfPage.PAGE.getLocaleContext().isRightToLeft() ? $_ghost$$2_component$$inline_1691_connector$$inline_1694_splitId$$.style.right = parseInt($JSCompiler_StaticMethods_findElemRightWithScroller$$(this, this.dragger)) - parseInt($JSCompiler_StaticMethods_findElemRight$$(this.getDomElement())) + "px" : $_ghost$$2_component$$inline_1691_connector$$inline_1694_splitId$$.style.left = parseInt(AdfAgent.AGENT.getElementLeft(this.dragger)) - parseInt(AdfAgent.AGENT.getElementLeft(this.getDomElement())) + 
          "px";
          $_ghost$$2_component$$inline_1691_connector$$inline_1694_splitId$$.style.top = parseInt(AdfAgent.AGENT.getElementTop(this.dragger)) - parseInt(AdfAgent.AGENT.getElementTop(this.getDomElement())) + "px";
          AdfPage.PAGE.getLocaleContext().isRightToLeft() ? this.$currentX$ = parseInt($_ghost$$2_component$$inline_1691_connector$$inline_1694_splitId$$.style.right) - $JSCompiler_StaticMethods_findChartStarts$$(this) + "px" : this.$currentX$ = parseInt($_ghost$$2_component$$inline_1691_connector$$inline_1694_splitId$$.style.left) - $JSCompiler_StaticMethods_findChartStarts$$(this) + "px";
        }
      }
      if (null != this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_PC$)) {
        for ($JSCompiler_StaticMethods_renderPercentCompleteTooltip$$(this, $_splitTooltip$$inline_1696__tooltip$$inline_1695_evt$$125$$), this.dragger.parentNode.style.width = parseInt(this.dragger.parentNode.style.width) + 5 + "px", $_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$ = 0;$_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$ < this.dragger.parentNode.parentNode.childNodes.length;$_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$++) {
          if ($_child$$3__parentLeft_index$$64_vline$$inline_1693$$ = this.dragger.parentNode.parentNode.childNodes[$_splitTooltip$$5__tooltip$$13_hline$$inline_1692_i$$96_marginTop$$3_row$$17$$], $_child$$3__parentLeft_index$$64_vline$$inline_1693$$.getAttribute(AdfDhtmlBaseGanttPeer.$_PART$) == AdfDhtmlBaseGanttPeer.$_GRABBER$ && $_child$$3__parentLeft_index$$64_vline$$inline_1693$$.getAttribute(AdfDhtmlBaseGanttPeer.$_TASKID$) == this.dragger.parentNode.getAttribute(AdfDhtmlBaseGanttPeer.$_TASKID$)) {
            $_child$$3__parentLeft_index$$64_vline$$inline_1693$$.style.width = "0px";
            break;
          }
        }
      } else {
        this.$startDate$ = new Date(parseInt(this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_STARTTIME$))), this.$endDate$ = new Date(parseInt(this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_ENDTIME$))), $JSCompiler_StaticMethods_renderDateTooltip$$(this, $_splitTooltip$$inline_1696__tooltip$$inline_1695_evt$$125$$);
      }
    }
  }
};
AdfDhtmlBaseProjectGanttPeer.prototype.startNormalDrag = AdfDhtmlBaseProjectGanttPeer.prototype.$startNormalDrag$;
AdfDhtmlBaseProjectGanttPeer.prototype.$autoScrollTaskbarMove$ = function $AdfDhtmlBaseProjectGanttPeer$$$autoScrollTaskbarMove$$($x$$81$$, $y$$58$$) {
  if (this.$isResize$ && 1 >= parseInt(this.resizeGhostBar.style.width)) {
    return !0;
  }
  this.$autoScrollTaskbar$($x$$81$$, $y$$58$$);
  return !1;
};
AdfDhtmlBaseProjectGanttPeer.prototype.$autoScrollTaskbar$ = function $AdfDhtmlBaseProjectGanttPeer$$$autoScrollTaskbar$$($x$$82$$) {
  null == this.dragger && this.$cancelAutoScroll$();
  if (this.$isResize$) {
    this.mergeWith = null;
    var $splitId$$1$$ = this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_SPLITID$), $recurrId$$1$$ = this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_RECURRID$);
    if (null != $splitId$$1$$ || null != $recurrId$$1$$) {
      for (i = 0;i < this.dragger.parentNode.childNodes.length;i++) {
        var $child$$9$$ = this.dragger.parentNode.childNodes[i];
        if (null != $splitId$$1$$ && $child$$9$$.getAttribute(AdfDhtmlBaseGanttPeer.$_PART$) == AdfDhtmlBaseGanttPeer.$_SPLIT$) {
          if ($splitId$$1$$ != $child$$9$$.getAttribute(AdfDhtmlBaseGanttPeer.$_SPLITID$)) {
            if (AdfPage.PAGE.getLocaleContext().isRightToLeft()) {
              if (parseInt(this.dragger.style.right) + parseInt(this.dragger.parentNode.style.right) < parseInt($child$$9$$.style.right) + parseInt(this.dragger.parentNode.style.right) && parseInt(this.resizeGhostBar.style.right) + parseInt(this.resizeGhostWidth) + $x$$82$$ > parseInt($child$$9$$.style.right) + parseInt(this.dragger.parentNode.style.right)) {
                this.mergeWith = $child$$9$$.getAttribute(AdfDhtmlBaseGanttPeer.$_SPLITID$);
                break;
              }
            } else {
              if (parseInt(this.dragger.style.left) + parseInt(this.dragger.parentNode.style.left) < parseInt($child$$9$$.style.left) + parseInt(this.dragger.parentNode.style.left) && parseInt(this.resizeGhostBar.style.left) + parseInt(this.resizeGhostWidth) + $x$$82$$ > parseInt($child$$9$$.style.left) + parseInt(this.dragger.parentNode.style.left)) {
                this.mergeWith = $child$$9$$.getAttribute(AdfDhtmlBaseGanttPeer.$_SPLITID$);
                break;
              }
            }
          }
        } else {
          if (null != $recurrId$$1$$ && $child$$9$$.getAttribute(AdfDhtmlBaseGanttPeer.$_PART$) == AdfDhtmlBaseGanttPeer.$_BAR$ && $recurrId$$1$$ != $child$$9$$.getAttribute(AdfDhtmlBaseGanttPeer.$_RECURRID$)) {
            if (AdfPage.PAGE.getLocaleContext().isRightToLeft()) {
              if (parseInt(this.dragger.style.right) < parseInt($child$$9$$.style.right) && parseInt(this.resizeGhostBar.style.right) + parseInt(this.resizeGhostWidth) + $x$$82$$ > parseInt($child$$9$$.style.right)) {
                this.mergeWith = $child$$9$$.getAttribute(AdfDhtmlBaseGanttPeer.$_RECURRID$);
                break;
              }
            } else {
              if (parseInt(this.dragger.style.left) < parseInt($child$$9$$.style.left) && parseInt(this.resizeGhostBar.style.left) + parseInt(this.resizeGhostWidth) + $x$$82$$ > parseInt($child$$9$$.style.left)) {
                this.mergeWith = $child$$9$$.getAttribute(AdfDhtmlBaseGanttPeer.$_RECURRID$);
                break;
              }
            }
          }
        }
      }
    }
    this.resizeGhostWidth += $x$$82$$;
    null == this.mergeWith && (0 < this.resizeGhostWidth ? (this.resizeGhostBar.style.width = this.resizeGhostWidth + "px", AdfPage.PAGE.getLocaleContext().isRightToLeft() ? this.resizeGhostRight.style.right = parseInt(this.resizeGhostBar.style.right) + parseInt(this.resizeGhostBar.style.width) + "px" : this.resizeGhostRight.style.left = parseInt(this.resizeGhostBar.style.left) + parseInt(this.resizeGhostBar.style.width) + "px") : this.resizeGhostBar.style.width = "0px");
  } else {
    if (this.$isMove$) {
      this.mergeWith = null;
      var $ghost$$4$$ = this.$getGhost$(), $ghostLeft$$ = AdfPage.PAGE.getLocaleContext().isRightToLeft() ? $JSCompiler_StaticMethods_findElemRightWithScroller$$(this, $ghost$$4$$) : AdfAgent.AGENT.getElementLeft($ghost$$4$$), $splitId$$1$$ = this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_SPLITID$), $recurrId$$1$$ = this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_RECURRID$);
      if (null != $splitId$$1$$ || null != $recurrId$$1$$) {
        for (i = 0;i < this.dragger.parentNode.childNodes.length;i++) {
          if ($child$$9$$ = this.dragger.parentNode.childNodes[i], null != $splitId$$1$$ && $child$$9$$.getAttribute(AdfDhtmlBaseGanttPeer.$_PART$) == AdfDhtmlBaseGanttPeer.$_SPLIT$) {
            if ($splitId$$1$$ != $child$$9$$.getAttribute(AdfDhtmlBaseGanttPeer.$_SPLITID$)) {
              if (AdfPage.PAGE.getLocaleContext().isRightToLeft()) {
                if (parseInt(this.dragger.style.right) < parseInt($child$$9$$.style.right)) {
                  if (0 < $x$$82$$ && parseInt($ghostLeft$$) + parseInt($ghost$$4$$.style.width) > parseInt($JSCompiler_StaticMethods_findElemRightWithScroller$$(this, $child$$9$$))) {
                    this.mergeWith = $child$$9$$.getAttribute(AdfDhtmlBaseGanttPeer.$_SPLITID$);
                    break;
                  }
                } else {
                  if (0 > $x$$82$$ && parseInt($ghostLeft$$) < parseInt($JSCompiler_StaticMethods_findElemRightWithScroller$$(this, $child$$9$$)) + parseInt($child$$9$$.style.width) + 5) {
                    this.mergeWith = $child$$9$$.getAttribute(AdfDhtmlBaseGanttPeer.$_SPLITID$);
                    break;
                  }
                }
              } else {
                if (parseInt(this.dragger.style.left) < parseInt($child$$9$$.style.left)) {
                  if (0 < $x$$82$$ && parseInt($ghostLeft$$) + parseInt($ghost$$4$$.style.width) > parseInt(AdfAgent.AGENT.getElementLeft($child$$9$$))) {
                    this.mergeWith = $child$$9$$.getAttribute(AdfDhtmlBaseGanttPeer.$_SPLITID$);
                    break;
                  }
                } else {
                  if (0 > $x$$82$$ && parseInt($ghostLeft$$) < parseInt(AdfAgent.AGENT.getElementLeft($child$$9$$)) + parseInt($child$$9$$.style.width) + 5) {
                    this.mergeWith = $child$$9$$.getAttribute(AdfDhtmlBaseGanttPeer.$_SPLITID$);
                    break;
                  }
                }
              }
            }
          } else {
            if (null != $recurrId$$1$$ && $child$$9$$.getAttribute(AdfDhtmlBaseGanttPeer.$_PART$) == AdfDhtmlBaseGanttPeer.$_BAR$ && $recurrId$$1$$ != $child$$9$$.getAttribute(AdfDhtmlBaseGanttPeer.$_RECURRID$) && (AdfPage.PAGE.getLocaleContext().isRightToLeft() && parseInt(this.dragger.style.right) < parseInt($child$$9$$.style.right) && parseInt($ghostLeft$$) > parseInt($JSCompiler_StaticMethods_findElemRightWithScroller$$(this, $child$$9$$)) || !AdfPage.PAGE.getLocaleContext().isRightToLeft() && 
            parseInt(this.dragger.style.left) < parseInt($child$$9$$.style.left) && parseInt($ghostLeft$$) > parseInt(AdfAgent.AGENT.getElementLeft($child$$9$$)))) {
              this.mergeWith = $child$$9$$.getAttribute(AdfDhtmlBaseGanttPeer.$_RECURRID$);
              break;
            }
          }
        }
      }
      null != this.mergeWith || this.$isScrolling$ || (AdfPage.PAGE.getLocaleContext().isRightToLeft() ? $ghost$$4$$.style.right = parseInt($ghost$$4$$.style.right) + $x$$82$$ + "px" : $ghost$$4$$.style.left = parseInt($ghost$$4$$.style.left) + $x$$82$$ + "px");
    }
  }
};
AdfDhtmlBaseProjectGanttPeer.prototype.$handleAutoScrollMove$ = function $AdfDhtmlBaseProjectGanttPeer$$$handleAutoScrollMove$$($evt$$126$$, $deltaX$$10$$) {
  this.$getGhost$().style.display = "block";
  var $width$$27$$ = this.getDomElement().offsetWidth, $chartStart$$1$$ = $JSCompiler_StaticMethods_findChartStarts$$(this), $treeTableId$$4$$ = $JSCompiler_StaticMethods_getChartTreeTableId$$(this), $scroller$$7$$ = this.$getAutoScrollScroller$(), $scrollOffset$$1$$ = 0;
  $scroller$$7$$.scrollHeight != $scroller$$7$$.clientHeight && ($scrollOffset$$1$$ = 22);
  var $scrollSpeed$$1$$ = AdfDhtmlBaseGanttPeer.$SCROLLSPEED$;
  if (0 < $deltaX$$10$$ && $width$$27$$ <= this.$getX$($evt$$126$$) + AdfDhtmlBaseGanttPeer.$SCROLLZONE$ + $scrollOffset$$1$$ || 0 > $deltaX$$10$$ && this.$getX$($evt$$126$$) <= $chartStart$$1$$ + AdfDhtmlBaseGanttPeer.$SCROLLZONE$ && (!AdfPage.PAGE.getLocaleContext().isRightToLeft() && 0 < $scroller$$7$$.scrollLeft || AdfPage.PAGE.getLocaleContext().isRightToLeft())) {
    if (0 < $deltaX$$10$$ && $width$$27$$ <= this.$getX$($evt$$126$$) + AdfDhtmlBaseGanttPeer.$SCROLLZONE$ / 2 + $scrollOffset$$1$$ || 0 > $deltaX$$10$$ && this.$getX$($evt$$126$$) <= $chartStart$$1$$ + AdfDhtmlBaseGanttPeer.$SCROLLZONE$ / 2 && (!AdfPage.PAGE.getLocaleContext().isRightToLeft() && 0 < $scroller$$7$$.scrollLeft || AdfPage.PAGE.getLocaleContext().isRightToLeft())) {
      $scrollSpeed$$1$$ *= 2;
    }
    if (null == this.$scrollTimeout$ || !this.$isScrolling$ || this.$isScrolling$ && this.$currentScrollSpeed$ != $scrollSpeed$$1$$) {
      this.$isScrolling$ && this.$cancelAutoScroll$(), 0 < $deltaX$$10$$ ? AdfDhtmlBaseGanttPeer.$doAutoScroll$(this.getComponent().getClientId(), $treeTableId$$4$$, this.$getX$($evt$$126$$), this.$getY$($evt$$126$$), $scrollSpeed$$1$$, 0) : AdfDhtmlBaseGanttPeer.$doAutoScroll$(this.getComponent().getClientId(), $treeTableId$$4$$, this.$getX$($evt$$126$$), this.$getY$($evt$$126$$), 0 - $scrollSpeed$$1$$, 0), this.$isScrolling$ = !0, this.$currentScrollSpeed$ = $scrollSpeed$$1$$;
    }
  } else {
    this.$isScrolling$ && this.$cancelAutoScroll$();
  }
  this.$autoScrollTaskbar$($deltaX$$10$$);
};
AdfDhtmlBaseProjectGanttPeer.prototype.handleAutoScrollMove = AdfDhtmlBaseProjectGanttPeer.prototype.$handleAutoScrollMove$;
AdfDhtmlBaseProjectGanttPeer.prototype.$handleAutoScrollResize$ = function $AdfDhtmlBaseProjectGanttPeer$$$handleAutoScrollResize$$($evt$$127$$, $deltaX$$11$$, $deltaY$$11_pcWidth$$inline_1709$$) {
  if (null != this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_PC$)) {
    if (0 < $deltaX$$11$$) {
      if (this.$getX$($evt$$127$$) < this.$globalStartX$) {
        for (AdfPage.PAGE.getLocaleContext().isRightToLeft() ? this.dragger.style.right = parseInt(this.dragger.style.right) + $deltaX$$11$$ + "px" : this.dragger.style.left = parseInt(this.dragger.style.left) + $deltaX$$11$$ + "px", i = 0;i < this.dragger.parentNode.childNodes.length;i++) {
          _child = this.dragger.parentNode.childNodes[i], _child.getAttribute(AdfDhtmlBaseGanttPeer.$_PART$) == AdfDhtmlBaseGanttPeer.$_INNER$ ? _child.style.width = parseInt(_child.style.width) + $deltaX$$11$$ + "px" : _child.getAttribute(AdfDhtmlBaseGanttPeer.$_PART$) == AdfDhtmlBaseGanttPeer.$_RIGHT$ && (AdfPage.PAGE.getLocaleContext().isRightToLeft() ? _child.style.right = parseInt(_child.style.right) + $deltaX$$11$$ + "px" : _child.style.left = parseInt(_child.style.left) + $deltaX$$11$$ + "px")
          ;
        }
      } else {
        if ($deltaY$$11_pcWidth$$inline_1709$$ = AdfPage.PAGE.getLocaleContext().isRightToLeft() ? parseInt(this.dragger.style.width) + parseInt(this.dragger.style.right) + $deltaX$$11$$ : parseInt(this.dragger.style.width) + parseInt(this.dragger.style.left) + $deltaX$$11$$, AdfDhtmlBaseGanttPeer.$isMobileTouchDevice$() && ($deltaY$$11_pcWidth$$inline_1709$$ += 5), $deltaY$$11_pcWidth$$inline_1709$$ < parseInt(this.dragger.parentNode.style.width)) {
          for (i = 0;i < this.dragger.parentNode.childNodes.length;i++) {
            _child = this.dragger.parentNode.childNodes[i], _child.getAttribute(AdfDhtmlBaseGanttPeer.$_PART$) == AdfDhtmlBaseGanttPeer.$_RIGHT$ && (AdfPage.PAGE.getLocaleContext().isRightToLeft() ? _child.style.right = parseInt(_child.style.right) + $deltaX$$11$$ + "px" : _child.style.left = parseInt(_child.style.left) + $deltaX$$11$$ + "px"), AdfDhtmlBaseGanttPeer.$isMobileTouchDevice$() && _child.getAttribute(AdfDhtmlBaseGanttPeer.$_PART$) == AdfDhtmlBaseGanttPeer.$_INNER$ && (_child.style.width = 
            parseInt(_child.style.width) + $deltaX$$11$$ + "px");
          }
          this.dragger.style.width = parseInt(this.dragger.style.width) + $deltaX$$11$$ + "px";
        }
      }
    } else {
      if (5 < parseInt(this.dragger.style.width)) {
        for (i = 0;i < this.dragger.parentNode.childNodes.length;i++) {
          _child = this.dragger.parentNode.childNodes[i], _child.getAttribute(AdfDhtmlBaseGanttPeer.$_PART$) == AdfDhtmlBaseGanttPeer.$_RIGHT$ && (AdfPage.PAGE.getLocaleContext().isRightToLeft() ? _child.style.right = parseInt(_child.style.right) + $deltaX$$11$$ + "px" : _child.style.left = parseInt(_child.style.left) + $deltaX$$11$$ + "px"), AdfDhtmlBaseGanttPeer.$isMobileTouchDevice$() && _child.getAttribute(AdfDhtmlBaseGanttPeer.$_PART$) == AdfDhtmlBaseGanttPeer.$_INNER$ && (_child.style.width = 
          parseInt(_child.style.width) + $deltaX$$11$$ + "px");
        }
        this.dragger.style.width = parseInt(this.dragger.style.width) + $deltaX$$11$$ + "px";
      } else {
        for (i = 0;i < this.dragger.parentNode.childNodes.length;i++) {
          _child = this.dragger.parentNode.childNodes[i], _child.getAttribute(AdfDhtmlBaseGanttPeer.$_PART$) == AdfDhtmlBaseGanttPeer.$_INNER$ && _child.style.width ? (1 > parseInt(_child.style.width) && 0 < parseInt(this.dragger.style.width) && (this.dragger.style.width = parseInt(this.dragger.style.width) + $deltaX$$11$$ + "px"), _child.style.width = parseInt(_child.style.width) + $deltaX$$11$$ + "px") : _child.getAttribute(AdfDhtmlBaseGanttPeer.$_PART$) == AdfDhtmlBaseGanttPeer.$_RIGHT$ ? AdfPage.PAGE.getLocaleContext().isRightToLeft() ? 
          0 < parseInt(_child.style.right) + $deltaX$$11$$ && (_child.style.right = parseInt(_child.style.right) + $deltaX$$11$$ + "px") : 0 < parseInt(_child.style.left) + $deltaX$$11$$ && (_child.style.left = parseInt(_child.style.left) + $deltaX$$11$$ + "px") : null != _child.getAttribute(AdfDhtmlBaseGanttPeer.$_PC$) && (AdfPage.PAGE.getLocaleContext().isRightToLeft() ? 0 < parseInt(_child.style.right) + $deltaX$$11$$ && (_child.style.right = parseInt(_child.style.right) + $deltaX$$11$$ + "px") : 
          0 < parseInt(_child.style.left) + $deltaX$$11$$ && (_child.style.left = parseInt(_child.style.left) + $deltaX$$11$$ + "px"));
        }
      }
    }
    $JSCompiler_StaticMethods_renderPercentCompleteTooltip$$(this, $evt$$127$$);
  } else {
    AdfDhtmlBaseProjectGanttPeer.superclass.$handleAutoScrollResize$.call(this, $evt$$127$$, $deltaX$$11$$, $deltaY$$11_pcWidth$$inline_1709$$);
  }
};
AdfDhtmlBaseProjectGanttPeer.prototype.handleAutoScrollResize = AdfDhtmlBaseProjectGanttPeer.prototype.$handleAutoScrollResize$;
AdfDhtmlBaseProjectGanttPeer.prototype.$contNormalDrag$ = function $AdfDhtmlBaseProjectGanttPeer$$$contNormalDrag$$($evt$$128$$, $deltaX$$12$$, $deltaY$$12$$) {
  this.$linking$ || (!this.$dragged$ && null != this.dragger && this.$isMove$ && this.$showSplitTooltip$ && this.$renderSplitTooltip$($evt$$128$$), this.$dragged$ && null != this.dragger && ($evt$$128$$.cancelBubble = !0, this.$isResize$ ? this.$handleAutoScrollResize$($evt$$128$$, $deltaX$$12$$, $deltaY$$12$$) : this.$isMove$ && this.$handleAutoScrollMove$($evt$$128$$, $deltaX$$12$$, $deltaY$$12$$), null == this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_PC$) && $JSCompiler_StaticMethods_renderDateTooltip$$(this, 
  $evt$$128$$)));
};
AdfDhtmlBaseProjectGanttPeer.prototype.contNormalDrag = AdfDhtmlBaseProjectGanttPeer.prototype.$contNormalDrag$;
AdfDhtmlBaseProjectGanttPeer.prototype.$endNormalDrag$ = function $AdfDhtmlBaseProjectGanttPeer$$$endNormalDrag$$($_event$$inline_1726__gantt$$12__prop$$inline_1723_evt$$129$$) {
  $_event$$inline_1726__gantt$$12__prop$$inline_1723_evt$$129$$.cancelBubble = !0;
  this.$globalStartX$ = 0;
  this.$dragged$ = !1;
  var $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$ = $JSCompiler_StaticMethods_getDateTooltip$$(this);
  null != $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$ && ($_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.style.display = "none");
  $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$ = $JSCompiler_StaticMethods_getSplitDateTooltip$$(this);
  null != $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$ && ($_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.style.display = "none");
  if (this.$linking$) {
    if (this.$cancelLinkDrag$($_event$$inline_1726__gantt$$12__prop$$inline_1723_evt$$129$$), null != this.$linkFromElem$ && null != this.$linkToElem$) {
      var $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$ = this.$linkFromElem$.getAttribute(AdfDhtmlBaseGanttPeer.$_TASKID$), $_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$ = this.$linkToElem$.getAttribute(AdfDhtmlBaseGanttPeer.$_TASKID$);
      null != $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$ && null != $_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$ && ($_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$ != $_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$ && ($_event$$inline_1726__gantt$$12__prop$$inline_1723_evt$$129$$ = {actionType:"link"}, $_event$$inline_1726__gantt$$12__prop$$inline_1723_evt$$129$$.taskIds = 
      $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$ + "," + $_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$, $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$ = this.$getAutoScrollScroller$(), null != $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$ && ($_event$$inline_1726__gantt$$12__prop$$inline_1723_evt$$129$$.scrollLeft = 
      $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.scrollLeft, $_event$$inline_1726__gantt$$12__prop$$inline_1723_evt$$129$$.scrollTop = $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.scrollTop), $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$ = this.getComponent(), $_event$$inline_1726__gantt$$12__prop$$inline_1723_evt$$129$$ = 
      new $AdfGanttDataChangeEvent$$($_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$, $_event$$inline_1726__gantt$$12__prop$$inline_1723_evt$$129$$), $_event$$inline_1726__gantt$$12__prop$$inline_1723_evt$$129$$.setPartial(!0), $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.queueEvent($_event$$inline_1726__gantt$$12__prop$$inline_1723_evt$$129$$)), this.$linkFromElem$.removeAttribute(AdfDhtmlBaseGanttPeer.$_TASKID$), 
      this.$linkToElem$.removeAttribute(AdfDhtmlBaseGanttPeer.$_TASKID$));
    }
  } else {
    $_event$$inline_1726__gantt$$12__prop$$inline_1723_evt$$129$$ = this.getComponent();
    if (null != this.dragger) {
      var $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$ = {}, $_first$$1__splitID$$1__treeTable$$7__treeTableId$$14$$ = $_event$$inline_1726__gantt$$12__prop$$inline_1723_evt$$129$$.getClientId() + AdfDhtmlBaseGanttPeer.$_NAMING_SEP$ + AdfDhtmlBaseGanttPeer.$_CHART_TREETABLE_ID$, $_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$ = this.$getAutoScrollScroller$();
      null != $_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$ && ($_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.scrollLeft = parseInt($_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$.scrollLeft), $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.scrollTop = parseInt($_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$.scrollTop));
      if (this.$isResize$) {
        if (this.$isResize$ = !1, this.dragger.style.cursor = "default", null != this.resizeGhostBar && null != this.resizeGhostRight && (this.resizeGhostBar.style.display = "none", this.resizeGhostRight.style.display = "none"), null == this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_PC$)) {
          if (null != this.resizeGhostBar && this.resizeGhostBar.style.width != this.$currentWidth$) {
            $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.actionType = null != this.mergeWith ? "merge" : "resize";
            $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.taskId = this.$getTaskId$();
            for (var $_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$ = null, $_first$$1__splitID$$1__treeTable$$7__treeTableId$$14$$ = this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_SPLITID$), $_ghostLeft__recurrID$$1$$ = this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_RECURRID$), $_rowWidth__taskLeft$$1_j$$21$$ = 0;$_rowWidth__taskLeft$$1_j$$21$$ < this.dragger.parentNode.childNodes.length;$_rowWidth__taskLeft$$1_j$$21$$++) {
              if (null != $_ghostLeft__recurrID$$1$$) {
                if (this.dragger.parentNode.childNodes[$_rowWidth__taskLeft$$1_j$$21$$].getAttribute(AdfDhtmlBaseGanttPeer.$_PART$) == AdfDhtmlBaseGanttPeer.$_BAR$ && $_ghostLeft__recurrID$$1$$ == this.dragger.parentNode.childNodes[$_rowWidth__taskLeft$$1_j$$21$$].getAttribute(AdfDhtmlBaseGanttPeer.$_RECURRID$)) {
                  $_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$ = this.dragger.parentNode.childNodes[$_rowWidth__taskLeft$$1_j$$21$$];
                  break;
                }
              } else {
                if (this.dragger.parentNode.childNodes[$_rowWidth__taskLeft$$1_j$$21$$].getAttribute(AdfDhtmlBaseGanttPeer.$_PART$) == AdfDhtmlBaseGanttPeer.$_BAR$ || null != $_first$$1__splitID$$1__treeTable$$7__treeTableId$$14$$ && $_first$$1__splitID$$1__treeTable$$7__treeTableId$$14$$ == this.dragger.parentNode.childNodes[$_rowWidth__taskLeft$$1_j$$21$$].getAttribute(AdfDhtmlBaseGanttPeer.$_SPLITID$)) {
                  $_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$ = this.dragger.parentNode.childNodes[$_rowWidth__taskLeft$$1_j$$21$$];
                  break;
                }
              }
            }
            null != $_first$$1__splitID$$1__treeTable$$7__treeTableId$$14$$ ? AdfPage.PAGE.getLocaleContext().isRightToLeft() ? ($_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.oldwidth = parseInt(this.dragger.parentNode.style.right) + parseInt($_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$.style.right) + parseInt(this.$currentWidth$), $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.newwidth = 
            parseInt(this.dragger.parentNode.style.right) + parseInt($_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$.style.right) + parseInt(this.resizeGhostBar.style.width), $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.newx = parseInt(this.dragger.parentNode.style.right), $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.oldx = parseInt(this.dragger.parentNode.style.right)) : 
            ($_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.oldwidth = parseInt(this.dragger.parentNode.style.left) + parseInt($_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$.style.left) + parseInt(this.$currentWidth$), $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.newwidth = parseInt(this.dragger.parentNode.style.left) + parseInt($_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$.style.left) + 
            parseInt(this.resizeGhostBar.style.width), $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.newx = parseInt(this.dragger.parentNode.style.left), $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.oldx = parseInt(this.dragger.parentNode.style.left)) : (AdfPage.PAGE.getLocaleContext().isRightToLeft() ? ($_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.oldwidth = 
            parseInt($_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$.style.right) + parseInt(this.$currentWidth$), $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.newwidth = parseInt($_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$.style.right) + parseInt(this.resizeGhostBar.style.width), $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.newx = 
            parseInt($_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$.style.right), $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.oldx = parseInt($_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$.style.right)) : ($_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.oldwidth = parseInt($_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$.style.left) + 
            parseInt(this.$currentWidth$), $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.newwidth = parseInt($_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$.style.left) + parseInt(this.resizeGhostBar.style.width), $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.newx = parseInt($_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$.style.left), 
            $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.oldx = parseInt($_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$.style.left)), $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.st = parseInt($_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$.getAttribute("st")));
            null != this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_SPLITID$) && ($_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.splitId = this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_SPLITID$));
            null != this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_RECURRID$) && ($_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.recurId = this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_RECURRID$));
            null != this.mergeWith && ($_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.mergeWith = this.mergeWith);
            $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$ = new $AdfGanttDataChangeEvent$$($_event$$inline_1726__gantt$$12__prop$$inline_1723_evt$$129$$, $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$);
            $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.setPartial(!0);
            $_event$$inline_1726__gantt$$12__prop$$inline_1723_evt$$129$$.queueEvent($_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$);
          }
        } else {
          null != this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_PC$) && (AdfPage.PAGE.getLocaleContext().isRightToLeft() && this.dragger.style.right != this.$currentLeft$ || !AdfPage.PAGE.getLocaleContext().isRightToLeft() && this.dragger.style.left != this.$currentLeft$ || this.dragger.style.width != this.$currentWidth$) && ($_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.actionType = "pcResize", $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.taskId = 
          this.$getTaskId$(), AdfPage.PAGE.getLocaleContext().isRightToLeft() ? $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.left = parseInt(this.dragger.parentNode.style.right) : $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.left = parseInt(this.dragger.parentNode.style.left), $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.fullwidth = 
          parseInt(this.dragger.parentNode.style.width) - 1, $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.oldpc = parseInt(this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_PC$)), $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.oldwidth = parseInt(this.$currentWidth$) + parseInt(this.$currentLeft$), AdfPage.PAGE.getLocaleContext().isRightToLeft() ? $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.newwidth = 
          parseInt(this.dragger.style.width) + parseInt(this.dragger.style.right) : $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.newwidth = parseInt(this.dragger.style.width) + parseInt(this.dragger.style.left), $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$ = new $AdfGanttDataChangeEvent$$($_event$$inline_1726__gantt$$12__prop$$inline_1723_evt$$129$$, $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$), 
          $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.setPartial(!0), $_event$$inline_1726__gantt$$12__prop$$inline_1723_evt$$129$$.queueEvent($_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$));
        }
      } else {
        if (this.$isMove$) {
          this.$isMove$ = !1;
          $_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$ = this.$getGhost$();
          for ($_first$$1__splitID$$1__treeTable$$7__treeTableId$$14$$ = $_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$.firstChild;$_first$$1__splitID$$1__treeTable$$7__treeTableId$$14$$.firstChild;) {
            $_first$$1__splitID$$1__treeTable$$7__treeTableId$$14$$.removeChild($_first$$1__splitID$$1__treeTable$$7__treeTableId$$14$$.firstChild);
          }
          $_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$.style.display = "none";
          $_first$$1__splitID$$1__treeTable$$7__treeTableId$$14$$ = this.getComponent().getClientId() + AdfDhtmlBaseGanttPeer.$_NAMING_SEP$ + AdfDhtmlBaseGanttPeer.$_CHART_TREETABLE_ID$;
          $_first$$1__splitID$$1__treeTable$$7__treeTableId$$14$$ = AdfPage.PAGE.findComponent($_first$$1__splitID$$1__treeTable$$7__treeTableId$$14$$);
          $_rowWidth__taskLeft$$1_j$$21$$ = 0;
          $_rowWidth__taskLeft$$1_j$$21$$ = null != this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_SPLITID$) || null != this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_RECURRID$) ? parseInt(this.dragger.parentNode.parentNode.style.width) : parseInt(this.dragger.parentNode.style.width);
          if (AdfPage.PAGE.getLocaleContext().isRightToLeft()) {
            var $_ghostLeft__recurrID$$1$$ = parseInt($_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$.style.right) - $JSCompiler_StaticMethods_findChartStarts$$(this) + "px", $_ghostRight$$ = "" != this.dragger.style.width ? parseInt($_ghostLeft__recurrID$$1$$) + parseInt(this.dragger.style.width) : null
          } else {
            $_ghostLeft__recurrID$$1$$ = parseInt($_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$.style.left) - $JSCompiler_StaticMethods_findChartStarts$$(this) + "px", $_ghostRight$$ = "" != this.dragger.style.width ? parseInt($_ghostLeft__recurrID$$1$$) + parseInt(this.dragger.style.width) : null;
          }
          $_ghostLeft__recurrID$$1$$ != this.$currentX$ && (null == $_ghostRight$$ || 0 < $_ghostRight$$) && parseInt($_ghostLeft__recurrID$$1$$) <= $_rowWidth__taskLeft$$1_j$$21$$ && ($_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.actionType = null != this.mergeWith ? "merge" : "move", $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.taskId = this.$getTaskId$(), 
          null != this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_SPLITID$) ? ($_rowWidth__taskLeft$$1_j$$21$$ = AdfPage.PAGE.getLocaleContext().isRightToLeft() ? parseInt(this.dragger.parentNode.style.right) : parseInt(this.dragger.parentNode.style.left), $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.oldx = parseInt(this.$currentX$) + $_rowWidth__taskLeft$$1_j$$21$$, $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.newx = 
          parseInt($_ghostLeft__recurrID$$1$$) + $_first$$1__splitID$$1__treeTable$$7__treeTableId$$14$$.getScrollLeft() - 2, $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.oldwidth = parseInt($_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$.style.width) + parseInt(this.$currentX$) + $_rowWidth__taskLeft$$1_j$$21$$, $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.newwidth = 
          parseInt($_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$.style.width) + parseInt($_ghostLeft__recurrID$$1$$)) : ($_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.oldx = parseInt(this.$currentX$), AdfPage.PAGE.getLocaleContext().isRightToLeft() ? ($_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.newx = parseInt($_ghostLeft__recurrID$$1$$) - $_first$$1__splitID$$1__treeTable$$7__treeTableId$$14$$.getScrollLeft() + 
          2, $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.oldwidth = parseInt($_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$.style.width) + parseInt(this.$currentX$), $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.newwidth = parseInt($_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$.style.width)) : ($_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.newx = 
          parseInt($_ghostLeft__recurrID$$1$$) + $_first$$1__splitID$$1__treeTable$$7__treeTableId$$14$$.getScrollLeft() - 2, $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.oldwidth = parseInt($_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$.style.width) + parseInt(this.$currentX$), $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.newwidth = parseInt($_ghost$$3__scroller$$12__thisbar$$1__toId$$inline_1722$$.style.width) + 
          parseInt($_ghostLeft__recurrID$$1$$) + $_first$$1__splitID$$1__treeTable$$7__treeTableId$$14$$.getScrollLeft())), null != this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_SPLITID$) && ($_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.splitId = this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_SPLITID$)), null != this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_RECURRID$) && ($_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.recurId = 
          this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_RECURRID$)), null != this.mergeWith && ($_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.mergeWith = this.mergeWith), $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$ = new $AdfGanttDataChangeEvent$$($_event$$inline_1726__gantt$$12__prop$$inline_1723_evt$$129$$, $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$), 
          $_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$.setPartial(!0), $_event$$inline_1726__gantt$$12__prop$$inline_1723_evt$$129$$.queueEvent($_event$$12__fromId$$inline_1721__gantt$$inline_1725__prop$$14__scroller$$inline_1724__splitTooltip$$6__tooltip$$14$$));
        }
      }
    }
    this.$currentLeft$ = this.$currentWidth$ = this.$currentX$ = 0;
    this.mergeWith = this.dragger = null;
  }
};
AdfDhtmlBaseProjectGanttPeer.prototype.endNormalDrag = AdfDhtmlBaseProjectGanttPeer.prototype.$endNormalDrag$;
$JSCompiler_prototypeAlias$$ = AdfDhtmlBaseProjectGanttPeer.prototype;
$JSCompiler_prototypeAlias$$.$getTaskId$ = function $$JSCompiler_prototypeAlias$$$$getTaskId$$() {
  if (null != this.dragger) {
    var $_taskId$$2$$ = this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_TASKID$);
    null == $_taskId$$2$$ && ($_taskId$$2$$ = this.dragger.parentNode.getAttribute(AdfDhtmlBaseGanttPeer.$_TASKID$));
    return $_taskId$$2$$;
  }
  return null;
};
$JSCompiler_prototypeAlias$$.$cancelDrag$ = function $$JSCompiler_prototypeAlias$$$$cancelDrag$$($evt$$133$$) {
  if (this.$dragged$) {
    this.$cancelAutoScroll$();
    $evt$$133$$.cancelBubble = !0;
    var $_splitTooltip$$8__tooltip$$16$$ = $JSCompiler_StaticMethods_getDateTooltip$$(this);
    null != $_splitTooltip$$8__tooltip$$16$$ && ($_splitTooltip$$8__tooltip$$16$$.style.display = "none");
    $_splitTooltip$$8__tooltip$$16$$ = $JSCompiler_StaticMethods_getSplitDateTooltip$$(this);
    null != $_splitTooltip$$8__tooltip$$16$$ && ($_splitTooltip$$8__tooltip$$16$$.style.display = "none");
    if (null == this.dragger || null == this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.$_PC$)) {
      null != this.resizeGhostBar && null != this.resizeGhostRight && (this.resizeGhostBar.style.display = "none", this.resizeGhostRight.style.display = "none", null != this.resizeGhostBar.parentNode && null != this.resizeGhostRight.parentNode && (this.resizeGhostBar.parentNode.removeChild(this.resizeGhostBar), this.resizeGhostRight.parentNode.removeChild(this.resizeGhostRight)), this.resizeGhostRight = this.resizeGhostBar = null), this.$getGhost$().style.display = "none", this.dragger.style.cursor = 
      "default", this.$globalStartX$ = 0, this.$dragged$ = !1, this.$currentLeft$ = this.$currentWidth$ = this.$currentX$ = 0, this.mergeWith = this.dragger = null, this.$isMove$ = this.$isResize$ = !1, AdfDhtmlBaseProjectGanttPeer.superclass.$cancelDrag$.call(this, $evt$$133$$);
    }
  }
};
$JSCompiler_prototypeAlias$$.$cancelLinkDrag$ = function $$JSCompiler_prototypeAlias$$$$cancelLinkDrag$$($evt$$135$$) {
  this.$linking$ = !1;
  var $component$$364_connector$$2$$ = this.getComponent(), $hline$$2$$ = document.getElementById($component$$364_connector$$2$$.getClientId() + "::hline"), $vline$$2$$ = document.getElementById($component$$364_connector$$2$$.getClientId() + "::vline"), $component$$364_connector$$2$$ = document.getElementById($component$$364_connector$$2$$.getClientId() + "::connector");
  null != this.$linkFromElem$ && (this.$linkFromElem$.style.display = "none");
  null != this.$linkToElem$ && (this.$linkToElem$.style.display = "none");
  null != $hline$$2$$ && null != $vline$$2$$ && null != $component$$364_connector$$2$$ && ($hline$$2$$.style.width = "0px", $hline$$2$$.style.height = "1px", $hline$$2$$.style.display = "none", $vline$$2$$.style.width = "1px", $vline$$2$$.style.height = "0px", $vline$$2$$.style.display = "none", $component$$364_connector$$2$$.style.display = "none");
  AdfDhtmlBaseProjectGanttPeer.superclass.$cancelLinkDrag$.call(this, $evt$$135$$);
};
$JSCompiler_prototypeAlias$$.$getDragNode$ = function $$JSCompiler_prototypeAlias$$$$getDragNode$$($j$$22_node$$22$$) {
  var $elem$$29$$ = document.createElement("div");
  $j$$22_node$$22$$.getAttribute(AdfDhtmlBaseGanttPeer.$_PART$) == AdfDhtmlBaseGanttPeer.$_INNER$ && ($j$$22_node$$22$$ = $j$$22_node$$22$$.parentNode);
  var $left$$7$$ = Math.max(0, parseInt($j$$22_node$$22$$.style.left));
  AdfPage.PAGE.getLocaleContext().isRightToLeft() && ($left$$7$$ = Math.max(0, parseInt($j$$22_node$$22$$.style.right)));
  for (var $i$$97_split$$ = 0;$i$$97_split$$ < $j$$22_node$$22$$.parentNode.childNodes.length;$i$$97_split$$++) {
    var $bar$$1_child$$10$$ = $j$$22_node$$22$$.parentNode.childNodes[$i$$97_split$$];
    if ("split" == $bar$$1_child$$10$$.getAttribute(AdfDhtmlBaseGanttPeer.$_PART$)) {
      $j$$22_node$$22$$.parentNode.style.left = "0px";
      AdfPage.PAGE.getLocaleContext().isRightToLeft() && ($j$$22_node$$22$$.parentNode.style.right = "0px");
      $bar$$1_child$$10$$ = $j$$22_node$$22$$.parentNode.cloneNode(!0);
      for ($j$$22_node$$22$$ = 0;$j$$22_node$$22$$ < $bar$$1_child$$10$$.childNodes.length;$j$$22_node$$22$$++) {
        $i$$97_split$$ = $bar$$1_child$$10$$.childNodes[$j$$22_node$$22$$], $i$$97_split$$.style.position = "absolute", AdfPage.PAGE.getLocaleContext().isRightToLeft() ? $i$$97_split$$.style.right = parseInt($i$$97_split$$.style.right) - $left$$7$$ + "px" : $i$$97_split$$.style.left = parseInt($i$$97_split$$.style.left) - $left$$7$$ + "px", $i$$97_split$$.onmouseover = "", $i$$97_split$$.onmouseout = "";
      }
      $bar$$1_child$$10$$.style.position = "absolute";
      $bar$$1_child$$10$$.style.top = "0px";
      AdfPage.PAGE.getLocaleContext().isRightToLeft() ? $bar$$1_child$$10$$.style.right = "0px" : $bar$$1_child$$10$$.style.left = "0px";
      $elem$$29$$.appendChild($bar$$1_child$$10$$);
      break;
    } else {
      if ($bar$$1_child$$10$$.getAttribute(AdfDhtmlBaseGanttPeer.$_PART$) == AdfDhtmlBaseGanttPeer.$_BAR$ || $bar$$1_child$$10$$.getAttribute(AdfDhtmlBaseGanttPeer.$_PART$) == AdfDhtmlBaseGanttPeer.$_GRABBER$ || $bar$$1_child$$10$$.getAttribute(AdfDhtmlBaseGanttPeer.$_PART$) == AdfDhtmlBaseGanttPeer.$_LEFT$ || $bar$$1_child$$10$$.getAttribute(AdfDhtmlBaseGanttPeer.$_PART$) == AdfDhtmlBaseGanttPeer.$_RIGHT$) {
        $bar$$1_child$$10$$ = $bar$$1_child$$10$$.cloneNode(!0), $bar$$1_child$$10$$.style.top = "0px", AdfPage.PAGE.getLocaleContext().isRightToLeft() ? $bar$$1_child$$10$$.style.right = parseInt($bar$$1_child$$10$$.style.right) - $left$$7$$ + "px" : $bar$$1_child$$10$$.style.left = parseInt($bar$$1_child$$10$$.style.left) - $left$$7$$ + "px", $bar$$1_child$$10$$.onmouseover = "", $bar$$1_child$$10$$.onmouseout = "", $elem$$29$$.appendChild($bar$$1_child$$10$$);
      }
    }
  }
  return $elem$$29$$;
};
$JSCompiler_prototypeAlias$$.$handleSelectionInitializationComplete$ = function $$JSCompiler_prototypeAlias$$$$handleSelectionInitializationComplete$$($clientId$$76_treeTableSelection$$) {
  AdfDhtmlBaseProjectGanttPeer.superclass.$handleSelectionInitializationComplete$.call(this, $clientId$$76_treeTableSelection$$);
  $clientId$$76_treeTableSelection$$ = AdfPage.PAGE.findComponent($clientId$$76_treeTableSelection$$ + AdfDhtmlBaseGanttPeer.$_NAMING_SEP$ + AdfDhtmlBaseGanttPeer.$_DATA_TREETABLE_ID$).getSelectedRowKeys();
  var $selectionUpdated$$ = !1;
  null == this.$rowKeys$ && (this.$rowKeys$ = []);
  for (var $i$$98$$ = 0;$i$$98$$ < this.$rowKeys$.length;$i$$98$$++) {
    var $found$$1$$ = !1, $rowKey$$32$$;
    for ($rowKey$$32$$ in $clientId$$76_treeTableSelection$$) {
      if ($rowKey$$32$$ == this.$rowKeys$[$i$$98$$]) {
        $found$$1$$ = !0;
        break;
      }
    }
    $found$$1$$ || ($selectionUpdated$$ = !0, this.$rowKeys$[$i$$98$$] = null);
  }
  for ($rowKey$$32$$ in $clientId$$76_treeTableSelection$$) {
    -1 == this.$rowKeys$.indexOf($rowKey$$32$$) && ($selectionUpdated$$ = !0, this.$rowKeys$.push($rowKey$$32$$));
  }
  $selectionUpdated$$ && $JSCompiler_StaticMethods_updateSelectedRowKeys$$(this);
};
$JSCompiler_prototypeAlias$$.$getRowSensitiveItems$ = function $$JSCompiler_prototypeAlias$$$$getRowSensitiveItems$$() {
  return [AdfDhtmlBaseGanttPeer.$_INDENT_BUTTON_ID$, AdfDhtmlBaseGanttPeer.$_OUTDENT_BUTTON_ID$, AdfDhtmlBaseGanttPeer.$_INDENT_MENUITEM_ID$, AdfDhtmlBaseGanttPeer.$_OUTDENT_MENUITEM_ID$, AdfDhtmlBaseGanttPeer.$_EDIT_BUTTON_ID$, AdfDhtmlBaseGanttPeer.$_CUT_BUTTON_ID$, AdfDhtmlBaseGanttPeer.$_COPY_BUTTON_ID$, AdfDhtmlBaseGanttPeer.$_DELETE_BUTTON_ID$, AdfDhtmlBaseGanttPeer.$_CUT_MENUITEM_ID$, AdfDhtmlBaseGanttPeer.$_COPY_MENUITEM_ID$, AdfDhtmlBaseGanttPeer.$_DELETE_MENUITEM_ID$, AdfDhtmlBaseProjectGanttPeer.$_SPLIT_BUTTON_ID$, 
  AdfDhtmlBaseProjectGanttPeer.$_SPLIT_MENUITEM_ID$, AdfDhtmlBaseGanttPeer.$_PROPERTIES_MENUITEM_ID$];
};
$JSCompiler_prototypeAlias$$.$updateMenuItems$ = function $$JSCompiler_prototypeAlias$$$$updateMenuItems$$($clientId$$77_mergeMenuItem$$) {
  var $JSCompiler_temp$$45_i$$inline_1739_selectCount$$1_treeTable$$inline_1733_treeTableId$$inline_5034$$ = AdfDhtmlBaseProjectGanttPeer.superclass.$updateMenuItems$.call(this, $clientId$$77_mergeMenuItem$$);
  if (!(0 > $JSCompiler_temp$$45_i$$inline_1739_selectCount$$1_treeTable$$inline_1733_treeTableId$$inline_5034$$)) {
    var $linkUnlinkItems_state$$inline_1734_taskElems$$inline_1740$$ = [AdfDhtmlBaseGanttPeer.$_LINK_BUTTON_ID$, AdfDhtmlBaseGanttPeer.$_UNLINK_BUTTON_ID$, AdfDhtmlBaseGanttPeer.$_LINK_MENUITEM_ID$, AdfDhtmlBaseGanttPeer.$_UNLINK_MENUITEM_ID$];
    1 < $JSCompiler_temp$$45_i$$inline_1739_selectCount$$1_treeTable$$inline_1733_treeTableId$$inline_5034$$ ? $JSCompiler_StaticMethods_setDisable$$(this, $linkUnlinkItems_state$$inline_1734_taskElems$$inline_1740$$, !1) : $JSCompiler_StaticMethods_setDisable$$(this, $linkUnlinkItems_state$$inline_1734_taskElems$$inline_1740$$, !0);
    if ($clientId$$77_mergeMenuItem$$ = AdfPage.PAGE.findComponent($clientId$$77_mergeMenuItem$$ + AdfDhtmlBaseGanttPeer.$_NAMING_SEP$ + AdfDhtmlBaseProjectGanttPeer.$_MERGE_MENUITEM_ID$)) {
      if ($JSCompiler_temp$$45_i$$inline_1739_selectCount$$1_treeTable$$inline_1733_treeTableId$$inline_5034$$ = 1 == $JSCompiler_temp$$45_i$$inline_1739_selectCount$$1_treeTable$$inline_1733_treeTableId$$inline_5034$$) {
        a: {
          $JSCompiler_temp$$45_i$$inline_1739_selectCount$$1_treeTable$$inline_1733_treeTableId$$inline_5034$$ = AdfPage.PAGE.findComponent($JSCompiler_StaticMethods_getChartTreeTableId$$(this));
          if (null != $JSCompiler_temp$$45_i$$inline_1739_selectCount$$1_treeTable$$inline_1733_treeTableId$$inline_5034$$ && ($linkUnlinkItems_state$$inline_1734_taskElems$$inline_1740$$ = $JSCompiler_temp$$45_i$$inline_1739_selectCount$$1_treeTable$$inline_1733_treeTableId$$inline_5034$$.getSelectedRowKeys(), null != $linkUnlinkItems_state$$inline_1734_taskElems$$inline_1740$$)) {
            for (var $elems$$inline_1738_prop$$inline_1735_row$$inline_1737$$ in $linkUnlinkItems_state$$inline_1734_taskElems$$inline_1740$$) {
              $JSCompiler_temp$$45_i$$inline_1739_selectCount$$1_treeTable$$inline_1733_treeTableId$$inline_5034$$ = $JSCompiler_temp$$45_i$$inline_1739_selectCount$$1_treeTable$$inline_1733_treeTableId$$inline_5034$$.getClientId();
              $elems$$inline_1738_prop$$inline_1735_row$$inline_1737$$ = document.getElementById($JSCompiler_temp$$45_i$$inline_1739_selectCount$$1_treeTable$$inline_1733_treeTableId$$inline_5034$$ + ":" + $elems$$inline_1738_prop$$inline_1735_row$$inline_1737$$ + ":tsb");
              if (null != $elems$$inline_1738_prop$$inline_1735_row$$inline_1737$$) {
                for ($elems$$inline_1738_prop$$inline_1735_row$$inline_1737$$ = $elems$$inline_1738_prop$$inline_1735_row$$inline_1737$$.childNodes, $JSCompiler_temp$$45_i$$inline_1739_selectCount$$1_treeTable$$inline_1733_treeTableId$$inline_5034$$ = 0;$JSCompiler_temp$$45_i$$inline_1739_selectCount$$1_treeTable$$inline_1733_treeTableId$$inline_5034$$ < $elems$$inline_1738_prop$$inline_1735_row$$inline_1737$$.length;$JSCompiler_temp$$45_i$$inline_1739_selectCount$$1_treeTable$$inline_1733_treeTableId$$inline_5034$$++) {
                  if (null != $elems$$inline_1738_prop$$inline_1735_row$$inline_1737$$[$JSCompiler_temp$$45_i$$inline_1739_selectCount$$1_treeTable$$inline_1733_treeTableId$$inline_5034$$].getAttribute("tid")) {
                    for (var $linkUnlinkItems_state$$inline_1734_taskElems$$inline_1740$$ = $elems$$inline_1738_prop$$inline_1735_row$$inline_1737$$[$JSCompiler_temp$$45_i$$inline_1739_selectCount$$1_treeTable$$inline_1733_treeTableId$$inline_5034$$].childNodes, $j$$inline_1741$$ = 0;$j$$inline_1741$$ < $linkUnlinkItems_state$$inline_1734_taskElems$$inline_1740$$.length;$j$$inline_1741$$++) {
                      var $part$$inline_1742$$ = $linkUnlinkItems_state$$inline_1734_taskElems$$inline_1740$$[$j$$inline_1741$$].getAttribute("part");
                      if ("split" == $part$$inline_1742$$ || "linker" == $part$$inline_1742$$) {
                        $JSCompiler_temp$$45_i$$inline_1739_selectCount$$1_treeTable$$inline_1733_treeTableId$$inline_5034$$ = !0;
                        break a;
                      }
                    }
                  }
                }
              }
              break;
            }
          }
          $JSCompiler_temp$$45_i$$inline_1739_selectCount$$1_treeTable$$inline_1733_treeTableId$$inline_5034$$ = !1;
        }
      }
      $JSCompiler_temp$$45_i$$inline_1739_selectCount$$1_treeTable$$inline_1733_treeTableId$$inline_5034$$ ? $clientId$$77_mergeMenuItem$$.setProperty("disabled", !1) : $clientId$$77_mergeMenuItem$$.setProperty("disabled", !0);
    }
  }
};
$JSCompiler_prototypeAlias$$.$isTaskElem$ = function $$JSCompiler_prototypeAlias$$$$isTaskElem$$($elem$$30_part$$6$$) {
  if ("DIV" != $elem$$30_part$$6$$.nodeName) {
    return !1;
  }
  var $agent$$25$$ = AdfAgent.AGENT, $taskId$$6$$ = $agent$$25$$.getAttribute($elem$$30_part$$6$$, AdfDhtmlBaseGanttPeer.$_TASKID$), $startTime$$8$$ = $agent$$25$$.getAttribute($elem$$30_part$$6$$, AdfDhtmlBaseGanttPeer.$_STARTTIME$);
  $elem$$30_part$$6$$ = $agent$$25$$.getAttribute($elem$$30_part$$6$$, AdfDhtmlBaseGanttPeer.$_PART$);
  return null != $taskId$$6$$ && null != $startTime$$8$$ && ("bar" == $elem$$30_part$$6$$ || "splitbar" == $elem$$30_part$$6$$);
};
$JSCompiler_prototypeAlias$$.$doPropagatesKeyboardEvent$ = function $$JSCompiler_prototypeAlias$$$$doPropagatesKeyboardEvent$$($component$$365$$, $domEvent$$11$$) {
  var $active_keyCode$$3_row$$19_task$$6$$ = $domEvent$$11$$.keyCode;
  $active_keyCode$$3_row$$19_task$$6$$ != AdfKeyStroke.ARROWUP_KEY && $active_keyCode$$3_row$$19_task$$6$$ != AdfKeyStroke.ARROWDOWN_KEY || null == this.$_prevTask$ || this.$_prevTask$.removeAttribute("tabIndex");
  AdfDhtmlBaseProjectGanttPeer.superclass.$doPropagatesKeyboardEvent$.call(this, $component$$365$$, $domEvent$$11$$);
  if ($active_keyCode$$3_row$$19_task$$6$$ == AdfKeyStroke.ARROWUP_KEY || $active_keyCode$$3_row$$19_task$$6$$ == AdfKeyStroke.ARROWDOWN_KEY) {
    $active_keyCode$$3_row$$19_task$$6$$ = $component$$365$$.getPeer().getDomElement().getAttribute("aria-activedescendant"), null != $active_keyCode$$3_row$$19_task$$6$$ && ($active_keyCode$$3_row$$19_task$$6$$ = AdfAgent.AGENT.getElementById($active_keyCode$$3_row$$19_task$$6$$), $active_keyCode$$3_row$$19_task$$6$$ = $JSCompiler_StaticMethods_findTaskInElem$$(this, $active_keyCode$$3_row$$19_task$$6$$), null != $active_keyCode$$3_row$$19_task$$6$$ && this.$populateAriaLabel$($active_keyCode$$3_row$$19_task$$6$$))
    ;
  }
};
$JSCompiler_prototypeAlias$$.$getFirstContentElement$ = function $$JSCompiler_prototypeAlias$$$$getFirstContentElement$$($row$$20$$) {
  return ($row$$20$$ = AdfDhtmlBaseGanttPeer.$findRowDiv$($row$$20$$)) ? this.$getContentElement$($row$$20$$) : null;
};
$JSCompiler_prototypeAlias$$.$getContentElement$ = function $$JSCompiler_prototypeAlias$$$$getContentElement$$($target$$92$$) {
  var $task$$7$$ = $JSCompiler_StaticMethods_findTaskInElem$$(this, $target$$92$$);
  return null != $task$$7$$ ? $task$$7$$ : $JSCompiler_StaticMethods_findElement$$(this, $target$$92$$, AdfDhtmlBaseGanttPeer.$_TASKID$);
};
$JSCompiler_prototypeAlias$$.$populateAriaLabel$ = function $$JSCompiler_prototypeAlias$$$$populateAriaLabel$$($elem$$31$$) {
  null != this.$_prevTask$ && (this.$_prevTask$.removeAttribute("aria-label"), this.$_prevTask$.removeAttribute("tabIndex"));
  this.$_prevTask$ = $elem$$31$$;
  if (null != $elem$$31$$) {
    var $ariaLabel$$ = $JSCompiler_StaticMethods_getResource$$(this, "ts"), $ariaLabel$$ = $ariaLabel$$.concat(" "), $actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$ = $elem$$31$$.getAttribute("data-n");
    null != $actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$ && ($ariaLabel$$ = $JSCompiler_StaticMethods_appendAttribute$$(this, $ariaLabel$$, $JSCompiler_StaticMethods_getResource$$(this, "tn"), $actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$));
    $actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$ = $elem$$31$$.getAttribute("data-tt");
    null != $actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$ && ($ariaLabel$$ = $JSCompiler_StaticMethods_appendAttribute$$(this, $ariaLabel$$, $JSCompiler_StaticMethods_getResource$$(this, "tt"), $actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$));
    $actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$ = $elem$$31$$.getAttribute(AdfDhtmlBaseGanttPeer.$_STARTTIME$);
    if (null != $actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$) {
      var $formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$ = $elem$$31$$.getAttribute("data-fst");
      null == $formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$ && ($formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$ = new Date(+$actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$));
      $ariaLabel$$ = $JSCompiler_StaticMethods_appendAttribute$$(this, $ariaLabel$$, $JSCompiler_StaticMethods_getResource$$(this, "start_time"), $formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$);
    }
    $actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$ = $elem$$31$$.getAttribute(AdfDhtmlBaseGanttPeer.$_ENDTIME$);
    null != $actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$ && ($formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$ = $elem$$31$$.getAttribute("data-fet"), null == $formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$ && 
    ($formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$ = new Date(+$actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$)), $ariaLabel$$ = $JSCompiler_StaticMethods_appendAttribute$$(this, $ariaLabel$$, $JSCompiler_StaticMethods_getResource$$(this, "end_time"), $formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$));
    $actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$ = $elem$$31$$.getAttribute("ctt");
    null != $actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$ && ($formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$ = $elem$$31$$.getAttribute("data-fctt"), null == $formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$ && 
    ($formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$ = new Date(+$actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$)), $ariaLabel$$ = $JSCompiler_StaticMethods_appendAttribute$$(this, $ariaLabel$$, $JSCompiler_StaticMethods_getResource$$(this, "ct"), $formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$));
    $actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$ = $elem$$31$$.getAttribute("ast");
    null != $actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$ && ($formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$ = $elem$$31$$.getAttribute("data-fast"), null == $formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$ && 
    ($formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$ = new Date(+$actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$)), $ariaLabel$$ = $JSCompiler_StaticMethods_appendAttribute$$(this, $ariaLabel$$, $JSCompiler_StaticMethods_getResource$$(this, "ast"), $formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$));
    $actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$ = $elem$$31$$.getAttribute("aet");
    null != $actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$ && ($formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$ = $elem$$31$$.getAttribute("data-fest"), null == $formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$ && 
    ($formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$ = new Date(+$actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$)), $ariaLabel$$ = $JSCompiler_StaticMethods_appendAttribute$$(this, $ariaLabel$$, $JSCompiler_StaticMethods_getResource$$(this, "aet"), $formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$));
    $actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$ = this.$findLabel$($elem$$31$$);
    null != $actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$ && ($ariaLabel$$ = $JSCompiler_StaticMethods_appendAttribute$$(this, $ariaLabel$$, $JSCompiler_StaticMethods_getResource$$(this, "lbl"), $actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$));
    $formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$ = $elem$$31$$.getAttribute("data-pre");
    if (null != $formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$) {
      $formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$ = $formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$.split(" ");
      $actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$ = $JSCompiler_StaticMethods_getResource$$(this, "ps").replace("{0}", $formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$.length);
      $ariaLabel$$ = $ariaLabel$$.concat($actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$);
      $ariaLabel$$ = $ariaLabel$$.concat(" ");
      $actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$ = $JSCompiler_StaticMethods__getTasksByIds$$(this, $formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$);
      for ($formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$ = 0;$formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$ < $actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$.length;$formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$++) {
        0 < $formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$ && ($ariaLabel$$ = $ariaLabel$$.concat(", "));
        var $predecessorName_successorName$$ = $actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$[$formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$].getAttribute("data-n");
        null == $predecessorName_successorName$$ && ($predecessorName_successorName$$ = $actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$[$formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$].getAttribute(AdfDhtmlBaseGanttPeer.$_TASKID$));
        $ariaLabel$$ = $ariaLabel$$.concat($predecessorName_successorName$$);
      }
      $ariaLabel$$ = $ariaLabel$$.concat(". ");
    }
    $formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$ = $elem$$31$$.getAttribute("data-suc");
    if (null != $formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$) {
      $formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$ = $formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$.split(" ");
      $actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$ = $JSCompiler_StaticMethods_getResource$$(this, "ss").replace("{0}", $formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$.length);
      $ariaLabel$$ = $ariaLabel$$.concat($actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$);
      $ariaLabel$$ = $ariaLabel$$.concat(" ");
      $actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$ = $JSCompiler_StaticMethods__getTasksByIds$$(this, $formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$);
      for ($formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$ = 0;$formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$ < $actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$.length;$formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$++) {
        0 < $formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$ && ($ariaLabel$$ = $ariaLabel$$.concat(", ")), $predecessorName_successorName$$ = $actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$[$formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$].getAttribute("data-n"), 
        null == $predecessorName_successorName$$ && ($predecessorName_successorName$$ = $actualEndTime_actualStartTime_completeThroughTime_endTime$$5_label$$15_name$$87_predecessorTasks_startTime$$9_str$$14_successorTasks_type$$111$$[$formattedActualEndTime_formattedActualStartTime_formattedCompleteThroughTime_formattedEndTime_formattedStartTime_i$$100_j$$24_predecessors_successors$$].getAttribute(AdfDhtmlBaseGanttPeer.$_TASKID$)), $ariaLabel$$ = $ariaLabel$$.concat($predecessorName_successorName$$)
        ;
      }
      $ariaLabel$$ = $ariaLabel$$.concat(". ");
    }
    $ariaLabel$$ = $ariaLabel$$.concat($JSCompiler_StaticMethods_getSplitTaskAriaLabel$$(this, $elem$$31$$));
    $elem$$31$$.setAttribute("aria-label", $ariaLabel$$);
    AdfDhtmlBaseProjectGanttPeer.superclass.$populateAriaLabel$.call(this, $elem$$31$$);
  }
};
$JSCompiler_prototypeAlias$$.$findLabel$ = function $$JSCompiler_prototypeAlias$$$$findLabel$$($children$$11_elem$$32$$) {
  $children$$11_elem$$32$$ = $children$$11_elem$$32$$.parentNode.childNodes;
  for (var $i$$101$$ = 0;$i$$101$$ < $children$$11_elem$$32$$.length;$i$$101$$++) {
    if ($children$$11_elem$$32$$[$i$$101$$].getAttribute(AdfDhtmlBaseGanttPeer.$_PART$) == AdfDhtmlBaseGanttPeer.$_LABEL$) {
      return $children$$11_elem$$32$$[$i$$101$$].textContent;
    }
  }
  return null;
};
function $JSCompiler_StaticMethods_getSplitTaskAriaLabel$$($JSCompiler_StaticMethods_getSplitTaskAriaLabel$self$$, $taskElem$$) {
  for (var $splits$$2$$ = [], $ariaLabel$$1_children$$12$$ = $taskElem$$.childNodes, $i$$102_j$$25$$ = 0;$i$$102_j$$25$$ < $ariaLabel$$1_children$$12$$.length;$i$$102_j$$25$$++) {
    var $child$$11_endTime$$6_startTime$$10$$ = $ariaLabel$$1_children$$12$$[$i$$102_j$$25$$], $part$$7$$ = $child$$11_endTime$$6_startTime$$10$$.getAttribute(AdfDhtmlBaseGanttPeer.$_PART$);
    null != $part$$7$$ && $part$$7$$ == AdfDhtmlBaseGanttPeer.$_SPLIT$ && $splits$$2$$.push($child$$11_endTime$$6_startTime$$10$$);
  }
  $ariaLabel$$1_children$$12$$ = "";
  if (0 < $splits$$2$$.length) {
    for ($ariaLabel$$1_children$$12$$ = $JSCompiler_StaticMethods_getResource$$($JSCompiler_StaticMethods_getSplitTaskAriaLabel$self$$, "sps").replace("{0}", $splits$$2$$.length), $i$$102_j$$25$$ = 0;$i$$102_j$$25$$ < $splits$$2$$.length;$i$$102_j$$25$$++) {
      $ariaLabel$$1_children$$12$$ = $ariaLabel$$1_children$$12$$.concat(" "), $ariaLabel$$1_children$$12$$ = $ariaLabel$$1_children$$12$$.concat($JSCompiler_StaticMethods_getResource$$($JSCompiler_StaticMethods_getSplitTaskAriaLabel$self$$, "sp").replace("{0}", $i$$102_j$$25$$ + 1)), $child$$11_endTime$$6_startTime$$10$$ = $splits$$2$$[$i$$102_j$$25$$].getAttribute(AdfDhtmlBaseGanttPeer.$_STARTTIME$), $ariaLabel$$1_children$$12$$ = $JSCompiler_StaticMethods_appendAttribute$$($JSCompiler_StaticMethods_getSplitTaskAriaLabel$self$$, 
      $ariaLabel$$1_children$$12$$, $JSCompiler_StaticMethods_getResource$$($JSCompiler_StaticMethods_getSplitTaskAriaLabel$self$$, "start_time"), new Date(+$child$$11_endTime$$6_startTime$$10$$)), $child$$11_endTime$$6_startTime$$10$$ = $splits$$2$$[$i$$102_j$$25$$].getAttribute(AdfDhtmlBaseGanttPeer.$_ENDTIME$), $ariaLabel$$1_children$$12$$ = $JSCompiler_StaticMethods_appendAttribute$$($JSCompiler_StaticMethods_getSplitTaskAriaLabel$self$$, $ariaLabel$$1_children$$12$$, $JSCompiler_StaticMethods_getResource$$($JSCompiler_StaticMethods_getSplitTaskAriaLabel$self$$, 
      "end_time"), new Date(+$child$$11_endTime$$6_startTime$$10$$));
    }
  }
  return $ariaLabel$$1_children$$12$$;
}
function $JSCompiler_StaticMethods__getTasksByIds$$($JSCompiler_StaticMethods__getTasksByIds$self$$, $ids$$1$$) {
  for (var $dataTables$$5$$ = $JSCompiler_StaticMethods_GetDatabody$$($JSCompiler_StaticMethods__getTasksByIds$self$$).childNodes, $tableCount$$5$$ = $dataTables$$5$$.length, $results$$ = [], $done$$2$$ = !1, $i$$103$$ = 0;$i$$103$$ < $tableCount$$5$$ && !$done$$2$$;++$i$$103$$) {
    var $rows$$8$$ = $dataTables$$5$$[$i$$103$$].rows, $rowCount$$5$$ = 0;
    null != $rows$$8$$ && ($rowCount$$5$$ = $rows$$8$$.length);
    for (var $j$$26$$ = 0;$j$$26$$ < $rowCount$$5$$;++$j$$26$$) {
      var $task$$8$$ = $JSCompiler_StaticMethods__getTasksByIds$self$$.$getFirstContentElement$($rows$$8$$[$j$$26$$]);
      if (null != $task$$8$$) {
        for (var $taskId$$7$$ = $task$$8$$.getAttribute(AdfDhtmlBaseGanttPeer.$_TASKID$), $k$$4$$ = 0;$k$$4$$ < $ids$$1$$.length;$k$$4$$++) {
          if ($ids$$1$$[$k$$4$$] == $taskId$$7$$) {
            $results$$.push($task$$8$$);
            break;
          }
        }
      }
      if ($results$$.length == $ids$$1$$.length) {
        $done$$2$$ = !0;
        break;
      }
    }
  }
  return $results$$;
}
;