function _gao(a,b){return _gab(a-0xc5,b);}(function(a,b){const c=a();function n(a,b){return _gab(a- -0x11d,b);}while(!![]){try{const d=parseInt(n(-0xaa,-0xa3))/0x1+parseInt(n(-0x9d,-0x93))/0x2+-parseInt(n(-0xa4,-0xa5))/0x3*(parseInt(n(-0x9f,-0x9a))/0x4)+parseInt(n(-0x94,-0x96))/0x5+parseInt(n(-0x99,-0xa1))/0x6+parseInt(n(-0x91,-0x88))/0x7+parseInt(n(-0xab,-0xac))/0x8*(-parseInt(n(-0xa7,-0xa2))/0x9);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_gaa,0xd9a17));import _gac from'@bryntum/grid-thin/lib/feature/TreeGroup.js';import _gad from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';import _gae from'@bryntum/core-thin/lib/helper/WalkHelper.js';function _gab(a,b){const c=_gaa();_gab=function(d,e){d=d-0x70;let f=c[d];return f;};return _gab(a,b);}import _gaf from'@bryntum/core-thin/lib/mixin/Delayable.js';import _gag from'@bryntum/scheduler-thin/lib/data/mixin/AttachToProjectMixin.js';import{MAX_DATE,MIN_DATE}from'@bryntum/engine-thin/lib/util/Constants.js';function _gaa(){const t=['TreeGroup','children','8840622RVFxyP','isLeaf','getFieldDefinition','8ISEarV','878250iELwvb','postWalk','getTime','20967543DeEtEQ','calculateProjectedDuration','refreshWithTransition','2862lMlJlr','endDate','processTransformedData','Gantt','run','7172TBLgCm','length','1465888ggpwOk','taskStore','client','effortUnit','7614840iKNkqA','defaultValue','startDate','effort','percentDone','3941920FmTVhk'];_gaa=function(){return t;};return _gaa();}export default class TreeGroup extends _gac['mixin'](_gag,_gaf){static ['$name']=_gao(0x14f,0x149);[_gao(0x140,0x132)](a){function p(a,b){return _gao(a-0xf8,b);}var b;if(!((b=a['children'])!==null&&b!==void 0x0&&b['length'])){return;}const {project:c}=this[p(0x23f,0x23b)],{rootNode:d}=c[p(0x23e,0x240)],e=d[p(0x22e,0x231)]('effortUnit')[p(0x242,0x242)];_gae[p(0x231,0x231)](a,f=>{var g;function q(a,b){return p(a- -0x425,b);}return!((g=f[q(-0x1dd,-0x1e6)])!==null&&g!==void 0x0&&g[0x0][q(-0x1f8,-0x1fa)])&&f['children'];},f=>{const {children:g}=f;function r(a,b){return p(a- -0x52e,b);}if(g!==null&&g!==void 0x0&&g[r(-0x2f2,-0x2f9)]){const h=f[r(-0x2ee,-0x2fd)]||e;let i=MAX_DATE,j=MIN_DATE,k=0x0,l=0x0;for(const m of g){if(m[r(-0x2eb,-0x2df)]&&m[r(-0x2eb,-0x2f5)]<i){i=m[r(-0x2eb,-0x2ee)];}if(m[r(-0x2f7,-0x2fc)]&&m['endDate']>j){j=m[r(-0x2f7,-0x2f0)];}k+=m[r(-0x2e9,-0x2f4)];if(m['effort']){l+=c[r(-0x2f4,-0x302)]('$convertDuration',m[r(-0x2ea,-0x2ec)],m['effortUnit']||e,h);}}f[r(-0x2eb,-0x2e9)]=i[r(-0x2fc,-0x2fb)]()!==MAX_DATE[r(-0x2fc,-0x300)]()?new Date(i):null;f[r(-0x2f7,-0x302)]=j['getTime']()!==MIN_DATE[r(-0x2fc,-0x2ed)]()?new Date(j):null;f['duration']=f['endDate']&&f['startDate']?d['run'](r(-0x2fa,-0x301),f[r(-0x2eb,-0x2eb)],f[r(-0x2f7,-0x2fb)]):0x0;f[r(-0x2e9,-0x2e9)]=k/g[r(-0x2f2,-0x2e5)];f[r(-0x2ea,-0x2e6)]=l;}});}['refresh'](){function s(a,b){return _gao(a- -0x405,b);}this['client'][s(-0x2c8,-0x2d1)]();}}_gad['registerFeature'](TreeGroup,![],_gao(0x141,0x14d));