(function(a,b){const c=a();function t(a,b){return _gab(b-0x308,a);}while(!![]){try{const d=parseInt(t(0x49f,0x4a1))/0x1*(-parseInt(t(0x489,0x488))/0x2)+parseInt(t(0x497,0x493))/0x3+parseInt(t(0x4ae,0x4ad))/0x4+parseInt(t(0x4a2,0x492))/0x5+-parseInt(t(0x485,0x48e))/0x6+-parseInt(t(0x4a0,0x49b))/0x7+-parseInt(t(0x4ad,0x4a0))/0x8*(-parseInt(t(0x497,0x498))/0x9);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_gaa,0x203e7));import _gac from'@bryntum/core-thin/lib/Base.js';function _gab(a,b){const c=_gaa();_gab=function(d,e){d=d-0x180;let f=c[d];return f;};return _gab(a,b);}function _gau(a,b){return _gab(a-0x1f8,b);}import _gad from'@bryntum/core-thin/lib/helper/util/Rectangle.js';import _gae from'@bryntum/core-thin/lib/helper/DateHelper.js';function _gaa(){const A=['getDateConstraints','taskRendering','164192MUdvdD','18742XCUwiQ','getCoordinateFromDate','bottom','timeSpanInAxis','barMargin','getElement','286968nNozQx','getRowById','start','getTaskBox','1248000lscZXA','591498onNHJr','widgetClass','max','getBoundingClientRect','translateToPageCoordinate','27QMDYSr','isRowVisible','startDate','1466227vGTkBc','getSizeAndPosition','$name','end','from','412168uMuUVW','27vAVbjF','endDate','moveTo','min','getElementFromTaskRecord','width','timeAxisSubGridElement','indexOf','left','scrollLeft'];_gaa=function(){return A;};return _gaa();}export default a=>class b extends(a||_gac){static [_gau(0x38d,0x382)]='GanttRegions';['getScheduleRegion'](c,d=!![],e){const f=this,{timeAxisSubGridElement:g,timeAxis:h}=f;let i;function v(a,b){return _gau(a- -0x119,b);}if(c){const q=f[v(0x27c,0x272)](c),r=f[v(0x266,0x275)](c['id']);if(!r){return null;}i=_gad['from'](r[v(0x264,0x26b)]('normal'),g);if(q){const s=_gad[v(0x276,0x263)](q,g);i['y']=s['y'];i[v(0x261,0x254)]=s[v(0x261,0x254)];}else{i['y']+=f[v(0x263,0x260)];i[v(0x261,0x274)]-=f[v(0x263,0x255)];}}else{i=_gad[v(0x276,0x288)](g)[v(0x27a,0x27a)](null,0x0);i[v(0x27d,0x28c)]=g['scrollWidth'];i['y']=i['y']+f[v(0x263,0x268)];i[v(0x261,0x25e)]=i['bottom']-f['barMargin'];}const j=h[v(0x271,0x27d)],k=h[v(0x279,0x26c)],{start:l,end:m}=e||{};if(l&&m&&!h[v(0x262,0x270)](l,m)){return null;}if(!l&&!m){var n;e=((n=f[v(0x282,0x282)])===null||n===void 0x0?void 0x0:n['call'](f,c))||{'start':j,'end':k};}let o=f[v(0x260,0x271)](e[v(0x267,0x26c)]?_gae[v(0x26c,0x27a)](j,e['start']):j),p=f[v(0x260,0x271)](e['end']?_gae['min'](k,e[v(0x275,0x27e)]):k);if(!d){o=f[v(0x26e,0x275)](o);p=f[v(0x26e,0x272)](p);}i['x']=Math[v(0x27b,0x27c)](o,p);i['width']=Math[v(0x26c,0x25d)](o,p)-Math[v(0x27b,0x285)](o,p);return i;}['translateToPageCoordinate'](c){function w(a,b){return _gau(b- -0x4ca,a);}const d=this[w(-0x141,-0x133)];return c+d[w(-0x148,-0x144)]()[w(-0x123,-0x131)]-d[w(-0x11f,-0x130)];}[_gau(0x389,0x37d)](c){function x(a,b){return _gau(a- -0x3e1,b);}return this['store'][x(-0x49,-0x42)](c)>=0x0;}[_gau(0x381,0x38d)](c,d=![],e=![]){function y(a,b){return _gau(b- -0x542,a);}return this[y(-0x1a0,-0x1a6)][y(-0x1c1,-0x1c1)](...arguments);}[_gau(0x38c,0x379)](){function z(a,b){return _gau(b-0x1e7,a);}return this[z(0x586,0x583)][z(0x578,0x573)](...arguments);}get[_gau(0x384,0x396)](){}};