/* @license dhtmlxGantt v.6.2.7 Professional This software can be used only as part of dhtmlx.com site. You are not allowed to use it on any other site (c) XB Software Ltd. */ Gantt.plugin(function(t){!function(t,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var e=n();for(var o in e)("object"==typeof exports?exports:t)[o]=e[o]}}(window,function(){return function(t){var n={};function e(o){if(n[o])return n[o].exports;var i=n[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=n,e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:o})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(e.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var i in t)e.d(o,i,function(n){return t[n]}.bind(null,i));return o},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="/codebase/",e(e.s=227)}({227:function(n,e){t.config.undo_steps=10,t.config.undo=!0,t.config.redo=!0,t.undo=function(){this._undo.undo()},t.getUndoStack=function(){return this._undo._undoStack},t.getRedoStack=function(){return this._undo._redoStack},t.clearUndoStack=function(){this._undo._undoStack=[]},t.clearRedoStack=function(){this._undo._redoStack=[]},t.redo=function(){this._undo.redo()},t.config.undo_types={link:"link",task:"task"},t.config.undo_actions={update:"update",remove:"remove",add:"add",move:"move"},t._undo={_undoStack:[],_redoStack:[],maxSteps:10,undo_enabled:!0,redo_enabled:!0,_push:function(n,e){if(e.commands.length){var o=n===this._undoStack?"onBeforeUndoStack":"onBeforeRedoStack";if(!1!==t.callEvent(o,[e])&&e.commands.length){for(n.push(e);n.length>this.maxSteps;)n.shift();return e}}},_pop:function(t){return t.pop()},_reorderCommands:function(t){var n={any:0,link:1,task:2},e={move:1,any:0};t.commands.sort(function(t,o){if("task"==t.entity&&"task"==o.entity)return t.type!=o.type?(e[o.type]||0)-(e[t.type]||0):"move"==t.type&&t.oldValue&&o.oldValue&&o.oldValue.parent==t.oldValue.parent?t.$index-o.$index:0;var i=n[t.entity]||n.any;return(n[o.entity]||n.any)-i})},undo:function(){if(this.updateConfigs(),this.undo_enabled){var n=this._pop(this._undoStack);if(n&&this._reorderCommands(n),!1!==t.callEvent("onBeforeUndo",[n])&&n)return this._applyAction(this.action.invert(n)),this._push(this._redoStack,t.copy(n)),void t.callEvent("onAfterUndo",[n]);t.callEvent("onAfterUndo",[null])}},redo:function(){if(this.updateConfigs(),this.redo_enabled){var n=this._pop(this._redoStack);if(n&&this._reorderCommands(n),!1!==t.callEvent("onBeforeRedo",[n])&&n)return this._applyAction(n),this._push(this._undoStack,t.copy(n)),void t.callEvent("onAfterRedo",[n]);t.callEvent("onAfterRedo",[null])}},_applyAction:function(n){var e=null,o=this.command.entity,i=this.command.type,a={};a[o.task]={add:"addTask",update:"updateTask",remove:"deleteTask",move:"moveTask",isExists:"isTaskExists"},a[o.link]={add:"addLink",update:"updateLink",remove:"deleteLink",isExists:"isLinkExists"},t.batchUpdate(function(){for(var o=0;o