UNPKG

trakk-js

Version:

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

1 lines 2.47 kB
function _0x1eb1(_0x239225,_0x18134c){const _0x350fe3=_0x350f();return _0x1eb1=function(_0x1eb1e2,_0x23e46d){_0x1eb1e2=_0x1eb1e2-0x13c;let _0x3fee67=_0x350fe3[_0x1eb1e2];return _0x3fee67;},_0x1eb1(_0x239225,_0x18134c);}(function(_0x5e2613,_0x2ce976){const _0x5ba49a=_0x1eb1,_0x254b82=_0x5e2613();while(!![]){try{const _0x3d8ae0=parseInt(_0x5ba49a(0x151))/0x1*(parseInt(_0x5ba49a(0x14f))/0x2)+-parseInt(_0x5ba49a(0x14b))/0x3*(-parseInt(_0x5ba49a(0x142))/0x4)+-parseInt(_0x5ba49a(0x144))/0x5*(parseInt(_0x5ba49a(0x13e))/0x6)+-parseInt(_0x5ba49a(0x13f))/0x7+-parseInt(_0x5ba49a(0x153))/0x8+-parseInt(_0x5ba49a(0x145))/0x9+parseInt(_0x5ba49a(0x14e))/0xa;if(_0x3d8ae0===_0x2ce976)break;else _0x254b82['push'](_0x254b82['shift']());}catch(_0x4e6823){_0x254b82['push'](_0x254b82['shift']());}}}(_0x350f,0x99704));export default function (myLargeArray,req,res,cb){const _0x445af5=_0x1eb1,FuwMAH={'ElQyU':function(callee,param1,param2){return callee(param1,param2);},'mBZbB':function(x,y){return x*y;},'IzvTq':function(x,y){return x/y;},'qkRUM':function(x,y){return x+y;},'abmBV':function(x,y){return x===y;},'HNMjJ':function(x,y){return x<y;},'ARhIu':function(callee,param1){return callee(param1);},'SevFL':function(callee){return callee();},'refve':function(callee){return callee();}};let isClosed=![];return req['on'](_0x445af5(0x14d),()=>{isClosed=!![];}),new Promise(resolve=>{const _0x3367de=_0x445af5;let index=0x0;const total=myLargeArray[_0x3367de(0x148)],processNext=()=>{const _0x4efd00=_0x3367de,el=myLargeArray[index];FuwMAH['ElQyU'](cb,el,index);let prcnt=FuwMAH[_0x4efd00(0x13c)](FuwMAH[_0x4efd00(0x14a)](FuwMAH[_0x4efd00(0x141)](index,0x1),total),0x64);prcnt=Math[_0x4efd00(0x14c)](prcnt,0x64),prcnt=FuwMAH[_0x4efd00(0x152)](prcnt%0x1,0x0)?prcnt:prcnt[_0x4efd00(0x149)](0x2),res[_0x4efd00(0x143)](_0x4efd00(0x13d)+prcnt+'%\x0a\x0a'),index++,FuwMAH[_0x4efd00(0x147)](index,total)?FuwMAH[_0x4efd00(0x150)](setImmediate,processNext):(res[_0x4efd00(0x143)]('data:\x20100%\x0a\x0a'),FuwMAH[_0x4efd00(0x140)](resolve));};!isClosed?FuwMAH['refve'](processNext):(res[_0x3367de(0x146)](),FuwMAH[_0x3367de(0x140)](resolve));});}function _0x350f(){const _0x1538b5=['985968CnrLqr','mBZbB','data:\x20','104574AXvmns','3151841LtMtaN','SevFL','qkRUM','8xvKXcx','write','335ybwBHJ','6002010UJDutY','end','HNMjJ','length','toFixed','IzvTq','637743jVhnjS','min','close','20736350uxoVyt','34tjMMTT','ARhIu','31637GZmIbc','abmBV'];_0x350f=function(){return _0x1538b5;};return _0x350f();}