UNPKG

trakk-js

Version:

Automatic Documentation Generation - Real-Time Code Execution Flow - Testing / Debugging - Onboarding - for Front-End Applications

1 lines 4.01 kB
(function(_0x4bc563,_0x1980cd){const _0x472601=_0x2712,_0x590793=_0x4bc563();while(!![]){try{const _0x29e6fe=parseInt(_0x472601(0x198))/0x1*(parseInt(_0x472601(0x1a5))/0x2)+parseInt(_0x472601(0x19b))/0x3+parseInt(_0x472601(0x1a2))/0x4*(-parseInt(_0x472601(0x188))/0x5)+parseInt(_0x472601(0x19d))/0x6+-parseInt(_0x472601(0x18c))/0x7*(-parseInt(_0x472601(0x19a))/0x8)+parseInt(_0x472601(0x186))/0x9+-parseInt(_0x472601(0x192))/0xa*(parseInt(_0x472601(0x196))/0xb);if(_0x29e6fe===_0x1980cd)break;else _0x590793['push'](_0x590793['shift']());}catch(_0x3932ea){_0x590793['push'](_0x590793['shift']());}}}(_0x11f4,0x416ca));import _0x381859 from'chokidar';function _0x11f4(){const _0x29e5c6=['15474DrhSDH','isInteger','711315vXPXye','log','10VoHWsO','.tsx','close','YSFOl','1564766jDEJYd','map','yZBhD','length','.jsx','GJAMu','10CZmkyp','\x0d[trakk.js]\x20Strap\x20in...\x20','.ts','fJarM','10653621UdYXyi','all','68ksZKwD','CizyH','8YijWuf','1255062kZUTYs','rdRji','2784228OSOKDd','ready','replace','resolve','MRavg','949184ctUqWO','oHFtr','exclude'];_0x11f4=function(){return _0x29e5c6;};return _0x11f4();}import _0x48c2fe from'path';function _0x2712(_0x1ed66e,_0xc1b72){const _0x11f420=_0x11f4();return _0x2712=function(_0x2712c2,_0x48619e){_0x2712c2=_0x2712c2-0x185;let _0x18258e=_0x11f420[_0x2712c2];return _0x18258e;},_0x2712(_0x1ed66e,_0xc1b72);}import _0x22eec3 from'fs';import _0xbf99b6 from'is-glob';let watcher;function resolvePattern(_0x558606,_0x3c8c73){const _0x3a68de=_0x2712,_0x14436c={'mJuQN':function(_0x376527,_0x5719b4){return _0x376527(_0x5719b4);}};if(_0x3c8c73['startsWith'](_0x558606))return _0x3c8c73;const _0x224ce8=_0x14436c['mJuQN'](_0xbf99b6,_0x3c8c73);if(_0x224ce8){const _0x1f487d=_0x48c2fe[_0x3a68de(0x1a0)](_0x558606,_0x3c8c73[_0x3a68de(0x19f)](/^\/*/,''));return _0x1f487d;}const _0x428734=_0x48c2fe[_0x3a68de(0x1a0)](_0x558606,_0x3c8c73[_0x3a68de(0x19f)](/^\/*/,''));return _0x22eec3['existsSync'](_0x428734)?_0x428734:_0x3c8c73;}function logProgress(_0x28c8fe,_0x91379b){const _0x11d1bc=_0x2712,_0xada771={'fJarM':function(_0x35dbe4,_0x178e89){return _0x35dbe4/_0x178e89;}};let _0x5540b6=_0xada771[_0x11d1bc(0x195)](_0x28c8fe,_0x91379b)*0x64;_0x5540b6=Number[_0x11d1bc(0x185)](_0x5540b6)?_0x5540b6:_0x5540b6['toFixed'](0x2),process['stdout']['write'](_0x11d1bc(0x193)+_0x5540b6+'%');}function start(_0xef6d4b,_0x520b8e,_0x426c48){const _0x42c729=_0x2712,_0x2404a1={'oHFtr':function(_0x255bd1,_0x1bfe85,_0x2ca7f1){return _0x255bd1(_0x1bfe85,_0x2ca7f1);},'rdRji':function(_0x343ce5,_0x33f507,_0x5751cf){return _0x343ce5(_0x33f507,_0x5751cf);},'MRavg':_0x42c729(0x194),'GJAMu':_0x42c729(0x189),'YSFOl':function(_0x331616,_0x24d268){return _0x331616+_0x24d268;},'yZBhD':_0x42c729(0x19e),'CizyH':_0x42c729(0x197)},_0x49b1b3=_0x2404a1[_0x42c729(0x18b)](_0x520b8e['include'][_0x42c729(0x18f)],_0x520b8e[_0x42c729(0x1a4)][_0x42c729(0x18f)]);let _0x6c9636=0x0;const _0x6d5a5e=_0x520b8e['include'][_0x42c729(0x18d)](_0x279954=>{const _0x3f8309=_0x42c729;return logProgress(++_0x6c9636,_0x49b1b3),_0x2404a1[_0x3f8309(0x1a3)](resolvePattern,_0xef6d4b,_0x279954);}),_0x2fb3a3=_0x520b8e[_0x42c729(0x1a4)]['map'](_0x43a709=>{const _0x262d2f=_0x42c729;return _0x2404a1[_0x262d2f(0x19c)](logProgress,++_0x6c9636,_0x49b1b3),_0x2404a1[_0x262d2f(0x1a3)](resolvePattern,_0xef6d4b,_0x43a709);});watcher=_0x381859['watch'](_0x6d5a5e,{'ignored':_0x2fb3a3[_0x42c729(0x18f)]?_0x2fb3a3:undefined,'persistent':!![],'ignoreInitial':!![],'followSymlinks':![]}),watcher['on'](_0x2404a1[_0x42c729(0x18e)],()=>{const _0x5d2474=_0x42c729;console[_0x5d2474(0x187)]('\x0a\x0a');}),watcher['on'](_0x2404a1[_0x42c729(0x199)],(_0x50eefd,_0xc09a36)=>{const _0x30078d=_0x42c729,_0x249f8d=_0x48c2fe['extname'](_0xc09a36);['.js',_0x30078d(0x190),_0x2404a1[_0x30078d(0x1a1)],_0x2404a1[_0x30078d(0x191)]]['includes'](_0x249f8d)&&_0x2404a1[_0x30078d(0x1a3)](_0x426c48,_0x50eefd,_0xc09a36);});}function stop(){const _0x9f0ab5=_0x2712;if(watcher)watcher[_0x9f0ab5(0x18a)]();else{}}export default{'start':start,'stop':stop};