const a0_0xd59c3f=a0_0x5973;(function(_0x9ab8b7,_0x27a276){const _0x200f00=a0_0x5973,_0xd17652=_0x9ab8b7();while(!![]){try{const _0x275e8d=parseInt(_0x200f00(0xcf))/0x1*(parseInt(_0x200f00(0xd4))/0x2)+-parseInt(_0x200f00(0xc7))/0x3+-parseInt(_0x200f00(0xbe))/0x4*(parseInt(_0x200f00(0xc1))/0x5)+parseInt(_0x200f00(0xcb))/0x6+-parseInt(_0x200f00(0xd9))/0x7*(-parseInt(_0x200f00(0xc6))/0x8)+parseInt(_0x200f00(0xc2))/0x9*(-parseInt(_0x200f00(0xca))/0xa)+-parseInt(_0x200f00(0xd0))/0xb;if(_0x275e8d===_0x27a276)break;else _0xd17652['push'](_0xd17652['shift']());}catch(_0x2f6b32){_0xd17652['push'](_0xd17652['shift']());}}}(a0_0x12ee,0xc0592));function publishWindowApplication(_0x39b917){const _0x34d50b=a0_0x5973;if(!_0x39b917)return;const {caption:_0x30a464,resourceClass:_0x57b160,resourceName:_0x284ef7,pid:_0x51694f,windowId:_0xc473f5}=_0x39b917;print(_0x30a464+_0x34d50b(0xd8)+_0x57b160+_0x34d50b(0xd8)+_0x284ef7+'\x20|\x20'+_0x51694f+'\x20|\x20'+_0xc473f5);try{callDBus(_0x34d50b(0xc0),_0x34d50b(0xc9),'com.finkit.manictime.tracker',_0x34d50b(0xc8),_0x30a464,_0x57b160,_0x284ef7,_0x51694f);}catch(_0x3345c3){print(_0x3345c3['message']);}}function a0_0x5973(_0x3e56ca,_0x51c718){_0x3e56ca=_0x3e56ca-0xbd;const _0x12ee36=a0_0x12ee();let _0x597376=_0x12ee36[_0x3e56ca];return _0x597376;}function publishMouseMove(_0x10751b){const _0x34989a=a0_0x5973;if(!_0x10751b)return;try{callDBus(_0x34989a(0xc0),_0x34989a(0xc9),_0x34989a(0xd6),_0x34989a(0xce),_0x10751b['x'],_0x10751b['y']);}catch(_0x31133f){print(_0x31133f['message']);}}let lastMousePosition={'x':0x0,'y':0x0};function checkMouseMove(){const _0x5197df=a0_0x5973,_0x579d4c=workspace[_0x5197df(0xcd)];(_0x579d4c['x']!==lastMousePosition['x']||_0x579d4c['y']!==lastMousePosition['y'])&&(Object[_0x5197df(0xcc)](lastMousePosition,_0x579d4c),publishMouseMove(_0x579d4c));}let windowCaptionChangedSubscriptions={},handleWindowActive=function(_0x59a9ee){const _0x14c424=a0_0x5973;if(_0x59a9ee===null)return;!(_0x59a9ee[_0x14c424(0xd5)]in windowCaptionChangedSubscriptions)&&(windowCaptionChangedSubscriptions[_0x59a9ee[_0x14c424(0xd5)]]=!![],_0x59a9ee[_0x14c424(0xc3)][_0x14c424(0xc5)](function(){const _0x5886c9=_0x14c424;_0x59a9ee[_0x5886c9(0xbd)]&&publishWindowApplication(_0x59a9ee);})),publishWindowApplication(_0x59a9ee);};checkMouseMove();const myTimer=new QTimer();myTimer[a0_0xd59c3f(0xd3)][a0_0xd59c3f(0xc5)](checkMouseMove),myTimer['start'](0x3e8);try{if(typeof workspace[a0_0xd59c3f(0xd1)]!==a0_0xd59c3f(0xd2)){workspace[a0_0xd59c3f(0xd1)][a0_0xd59c3f(0xc5)](handleWindowActive);for(const client of workspace['clientList']()){if(client[a0_0xd59c3f(0xbd)]){handleWindowActive(client);break;}}}}catch(a0_0x4a53da){print(a0_0x4a53da[a0_0xd59c3f(0xc4)]);}try{if(typeof workspace['windowActivated']!==a0_0xd59c3f(0xd2)){workspace[a0_0xd59c3f(0xd7)][a0_0xd59c3f(0xc5)](handleWindowActive);for(const window of workspace[a0_0xd59c3f(0xbf)]()){if(window[a0_0xd59c3f(0xbd)]){handleWindowActive(window);break;}}}}catch(a0_0x3c401a){print(a0_0x3c401a['message']);}function a0_0x12ee(){const _0x4b108c=['internalId','com.finkit.manictime.tracker','windowActivated','\x20|\x20','43379JrRros','active','334168ZxJOmS','windowList','com.finkit.manictime','5XqPhVi','9KEVZaj','captionChanged','message','connect','1888JxuXGW','4530882muQNrd','publishApplication','/tracker','3537120OwkeqJ','3452970vzWlFy','assign','cursorPos','publishMouseMove','54879QJtLwC','5609109IviVhW','clientActivated','undefined','timeout','44aoMKwb'];a0_0x12ee=function(){return _0x4b108c;};return a0_0x12ee();}