(function(a,b){const c=a();function l(a,b){return _gab(a- -0x38c,b);}while(!![]){try{const d=parseInt(l(-0x1c3,-0x1cf))/0x1+parseInt(l(-0x1cb,-0x1c8))/0x2*(-parseInt(l(-0x1ca,-0x1d7))/0x3)+parseInt(l(-0x1c1,-0x1ca))/0x4*(-parseInt(l(-0x1bc,-0x1bc))/0x5)+-parseInt(l(-0x1b6,-0x1a5))/0x6+parseInt(l(-0x1b0,-0x1b4))/0x7+-parseInt(l(-0x1ae,-0x1ae))/0x8*(-parseInt(l(-0x1b4,-0x1c3))/0x9)+-parseInt(l(-0x1d2,-0x1e2))/0xa;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_gaa,0xf3905));import _gac from'@bryntum/core-thin/lib/helper/ObjectHelper.js';import _gad from'@bryntum/schedulerpro-thin/lib/feature/CellEdit.js';function _gam(a,b){return _gab(a-0xf4,b);}function _gaa(){const t=['rootNode','configurable','taskStore','stopFeatureTransactionOnCellEditFinish','$name','3205068cYxWzj','commitAsync','27lYUPKV','afterCellEdit','onCellEditStart','isDestroying','13344506YNItGt','assign','3569352mLNRsb','CellEdit','function','nearest','loadEvent','resumeAutoSync','onProjectChange','Tab','addTask','11246340oNUDtP','suspendAutoSync','queue','startDate','after','setTimeout','pluginConfig','2KgfHHX','2270355MdRQEV','appendChild','isDestroyed','call','stopImmediatePropagation','project','doAddNewAtEnd','294213vnYkbt','getEditorForCell','251688OZcfvZ','client','registerFeature','store','Gantt','10LHsjGw'];_gaa=function(){return t;};return _gaa();}import _gae from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';function _gab(a,b){const c=_gaa();_gab=function(d,e){d=d-0x1ba;let f=c[d];return f;};return _gab(a,b);}import _gaf from'@bryntum/core-thin/lib/helper/EventHelper.js';const tabEaterSpec={'element':document,'capture':!![],'keydown':a=>a['key']===_gam(0x2d9,0x2ea)&&(a['preventDefault'](),a[_gam(0x2ba,0x2b9)]())};export default class CellEdit extends _gad{static [_gam(0x2c9,0x2b8)]=_gam(0x2d3,0x2c4);static [_gam(0x2c6,0x2c6)]={'addNewAtEnd':{'duration':0x1}};static get[_gam(0x2b4,0x29e)](){const a=super['pluginConfig'];a['after']=[...a[n(-0xbc,-0xb2)],n(-0x96,-0xa8)];function n(a,b){return _gam(a- -0x36e,b);}return a;}['onProjectChange'](){this['cancelEditing'](!![]);}[_gam(0x2be,0x2d2)]({record:a}){function o(a,b){return _gam(b- -0xda,a);}var b;const c=super['getEditorForCell'](...arguments),{inputField:d}=c;d[o(0x1ee,0x1e1)]=a[o(0x1cc,0x1e1)];d['eventRecord']=a;(b=d[o(0x1f8,0x1fc)])===null||b===void 0x0||b[o(0x1d4,0x1df)](d,a,![]);return c;}async[_gam(0x2bc,0x2bf)](){function p(a,b){return _gam(a-0xaa,b);}const a=this,b=a['grid'],{addNewAtEnd:c,addToCurrentParent:d}=a,{project:e}=b,f=_gaf['on']({...tabEaterSpec,'thisObj':a});await(!e[p(0x379,0x36f)]&&e['commitAsync']());if(b[p(0x362,0x354)]||b[p(0x36c,0x369)]!==b[p(0x371,0x363)]){f();return null;}async function g(){const i=_gac[q(-0x163,-0x164)]({'name':a['L']('L{Gantt.New\x20task}'),'startDate':e[q(-0x183,-0x178)]},c);let j;if(d){j=b[q(-0x15a,-0x166)](b['taskStore']['last'],{'data':i});}else{let k=b['newTaskDefaults'];if(typeof k==q(-0x160,-0x16a)){k=k(b[q(-0x16d,-0x17a)]['last']);}j=b[q(-0x16d,-0x15b)][q(-0x16f,-0x165)][q(-0x17d,-0x16e)](_gac['assign'](i,k));}await e[q(-0x169,-0x153)]();function q(a,b){return p(a- -0x4de,b);}return j;}const h=a[p(0x372,0x364)]?await e[p(0x35a,0x365)](g):await g();if(b[p(0x362,0x378)]){f();return null;}await b['scrollRowIntoView'](h,{'animate':![],'block':p(0x37f,0x394)});if(b[p(0x362,0x34f)]){f();return null;}a[p(0x35d,0x369)](f,0x64);return h;}[_gam(0x2ce,0x2bf)](){function r(a,b){return _gam(a- -0x471,b);}this[r(-0x1b1,-0x1c2)][r(-0x1b6,-0x1b9)][r(-0x1c2,-0x1bb)]();}async[_gam(0x2cd,0x2ce)](){function s(a,b){return _gam(b- -0x3a,a);}await this[s(0x270,0x286)][s(0x27b,0x281)][s(0x289,0x29d)]();}}_gae[_gam(0x2c1,0x2ab)](CellEdit,!![],_gam(0x2c3,0x2c8));