(function(a,b){const c=a();function i(a,b){return _gab(b- -0x1b,a);}while(!![]){try{const d=-parseInt(i(0x94,0x83))/0x1*(-parseInt(i(0x60,0x73))/0x2)+parseInt(i(0x87,0x89))/0x3*(parseInt(i(0x90,0x8a))/0x4)+-parseInt(i(0x63,0x76))/0x5*(parseInt(i(0x7d,0x82))/0x6)+-parseInt(i(0x6f,0x6f))/0x7+parseInt(i(0x66,0x77))/0x8+parseInt(i(0x77,0x74))/0x9*(-parseInt(i(0x90,0x91))/0xa)+parseInt(i(0x6d,0x80))/0xb*(parseInt(i(0x79,0x6e))/0xc);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_gaa,0x92365));function _gaj(a,b){return _gab(a-0x49,b);}import _gac from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';import _gad from'@bryntum/scheduler-thin/lib/feature/ScrollButtons.js';function _gaa(){const m=['4146317kTinul','b-scroll-button-wrap\x20b-scroll-forward','visibleDateRange','b-scroll-button-content','2XbNNsa','92088woDTMD','loadStylesheet','10yLOYXh','4881528gcTlTU','forwardIconCls','end','dataset','isScheduled','ScrollButtons','classList','generateScrollButton','refreshScrollButtons','11GGlIQd','start','3170004uHbzSa','811469UnsejC','onElementClick','trigger','scrollTaskIntoView','startDate','span','3KBtHNJ','1339812KUjvYj','labelRenderer','$name','@bryntum/gantt-thin/lib/feature/ScrollButtons.css','contains','b-scroll-button-wrap\x20b-scroll-backward','recordId','40vOWHXc','scrollButtonClick','isDestroyed','6386388kuOvkS'];_gaa=function(){return m;};return _gaa();}function _gab(a,b){const c=_gaa();_gab=function(d,e){d=d-0x88;let f=c[d];return f;};return _gab(a,b);}import _gae from'@bryntum/core-thin/lib/helper/DomHelper.js';import _gaf from'@bryntum/core-thin/lib/helper/util/Objects.js';_gae[_gaj(0xd9,0xcc)](_gaj(0xf1,0xed));export default class ScrollButtons extends _gad{static [_gaj(0xf0,0xfb)]=_gaj(0xe0,0xf2);[_gaj(0xe2,0xe6)](a){if(!a[k(0x2c9,0x2be)]||!a[k(0x2d5,0x2dc)]){return null;}function k(a,b){return _gaj(a-0x1ea,b);}const {labelRenderer:b,backwardIconCls:c,forwardIconCls:d}=this,{startDate:e,endDate:f}=this['client'][k(0x2bf,0x2b5)];return[a['endDate']<=e?{'class':k(0x2dd,0x2ea),'children':[{'tag':'i','class':{'b-icon':0x1,'b-scroll-button':0x1,[c]:0x1}},b&&{'tag':'span','class':k(0x2c0,0x2b9),'text':this[k(0x2d9,0x2e5)]({'taskRecord':a,'isBefore':!![]})}]}:null,a[k(0x2d5,0x2c6)]>=f?{'class':k(0x2be,0x2bf),'children':[{'tag':'i','class':{'b-icon':0x1,'b-scroll-button':0x1,[d]:0x1}},b&&{'tag':k(0x2d6,0x2e7),'class':k(0x2c0,0x2b7),'text':this['labelRenderer']({'taskRecord':a,'isBefore':![]})}]}:null];}async[_gaj(0xe8,0xed)](a){const b=this,{client:c}=b,{target:d}=a,e=d['closest']('.b-scroll-buttons-container'),f=Boolean(e);function l(a,b){return _gaj(a- -0x2a5,b);}if(f){const g=e===null||e===void 0x0?void 0x0:e[l(-0x1c7,-0x1bd)][l(-0x1b1,-0x1a2)],h=c['store']['getById'](g);if(c[l(-0x1bc,-0x1b5)](l(-0x1af,-0x1b5),{'domEvent':a,'taskRecord':h})!==![]){await c[l(-0x1bb,-0x1b5)](h,_gaf['merge']({},b['scrollOptions'],{'block':d[l(-0x1c4,-0x1c8)][l(-0x1b3,-0x1bd)](b[l(-0x1c9,-0x1cf)])?l(-0x1c8,-0x1da):l(-0x1c0,-0x1d1)}),!![]);!b[l(-0x1d4,-0x1cd)]&&b[l(-0x1c2,-0x1b4)]();}}}}_gac['registerFeature'](ScrollButtons,![],'Gantt');