node-fre-utils/lib/utils/rotines.js

1 line
3.8 KiB
JavaScript

'use strict';const a8_0x418503=a8_0x267e;(function(_0x35c246,_0x508c52){const _0x325a28=a8_0x267e,_0x2f03e4=_0x35c246();while(!![]){try{const _0x51637d=parseInt(_0x325a28(0x1bc))/0x1+-parseInt(_0x325a28(0x1b7))/0x2*(-parseInt(_0x325a28(0x1b1))/0x3)+-parseInt(_0x325a28(0x1b5))/0x4+-parseInt(_0x325a28(0x1ae))/0x5+-parseInt(_0x325a28(0x1af))/0x6+parseInt(_0x325a28(0x1c3))/0x7*(parseInt(_0x325a28(0x1a8))/0x8)+parseInt(_0x325a28(0x1c5))/0x9;if(_0x51637d===_0x508c52)break;else _0x2f03e4['push'](_0x2f03e4['shift']());}catch(_0x58a5e6){_0x2f03e4['push'](_0x2f03e4['shift']());}}}(a8_0x4010,0xa91fd));Object[a8_0x418503(0x1ab)](exports,a8_0x418503(0x1a9),{'value':!![]}),exports['Routines']=void 0x0;function a8_0x267e(_0x5d93f9,_0x53d9d2){const _0x401071=a8_0x4010();return a8_0x267e=function(_0x267eae,_0x598855){_0x267eae=_0x267eae-0x1a6;let _0x2b9ac3=_0x401071[_0x267eae];return _0x2b9ac3;},a8_0x267e(_0x5d93f9,_0x53d9d2);}const buffer_1=require(a8_0x418503(0x1bb));class Routines{static ['CompletaCampos']=(_0x5d80f0,_0x5423d5,_0xcafb19,_0x413598,_0x5d4e31=!![])=>{const _0xacafa3=a8_0x418503;if(_0x5d80f0[_0xacafa3(0x1b8)]<_0x413598)return _0xcafb19==='E'?_0x5d80f0[_0xacafa3(0x1aa)](_0x413598,_0x5423d5):_0x5d80f0[_0xacafa3(0x1ac)](_0x413598,_0x5423d5);else{if(_0x5d80f0[_0xacafa3(0x1b8)]>_0x413598&&_0x5d4e31)return _0x5d80f0[_0xacafa3(0x1be)](0x0,_0x413598);}return _0x5d80f0;};static [a8_0x418503(0x1c1)]=_0x387bb1=>{const _0x4f0259=a8_0x418503;if(_0x387bb1[_0x4f0259(0x1b8)]>0x2)return _0x387bb1[0x0]<<0x8|_0x387bb1[0x1];};static [a8_0x418503(0x1bf)]=_0x23ce44=>{const _0x4eca9b=a8_0x418503;if(Routines[_0x4eca9b(0x1c6)](_0x23ce44[_0x4eca9b(0x1b8)],0x1,0x4)){let _0xf7cc2b=0x0;for(let _0x1314eb=0x0;_0x1314eb<_0x23ce44[_0x4eca9b(0x1b8)];_0x1314eb++){_0xf7cc2b|=_0x23ce44[_0x23ce44[_0x4eca9b(0x1b8)]-0x1-_0x1314eb]<<_0x1314eb*0x8;}return _0xf7cc2b;}};static [a8_0x418503(0x1bd)]=_0x2100c7=>{const _0x536d04=a8_0x418503;let _0x566a2c='';return _0x2100c7[_0x536d04(0x1c4)](_0x2483ec=>{const _0x7fd414=_0x536d04;return _0x566a2c+=String[_0x7fd414(0x1b9)](_0x2483ec),_0x2483ec;}),_0x566a2c;};static [a8_0x418503(0x1a6)]=_0x1a54c7=>buffer_1[a8_0x418503(0x1b2)][a8_0x418503(0x1b3)](_0x1a54c7)[a8_0x418503(0x1a7)](a8_0x418503(0x1c2));static [a8_0x418503(0x1b0)]=_0x31c316=>{const _0x576453=a8_0x418503;let _0x1127da='';_0x31c316[_0x576453(0x1b8)]%0x2!==0x0?_0x1127da=_0x31c316[_0x576453(0x1aa)](_0x31c316[_0x576453(0x1b8)]+0x1,'0'):_0x1127da=_0x31c316;const _0x4f50d0=new Uint8Array(_0x31c316['length']/0x2);for(let _0x5c031e=0x0,_0x548d9a=0x0;_0x5c031e<_0x31c316[_0x576453(0x1b8)];_0x5c031e+=0x2,_0x548d9a++){_0x4f50d0[_0x548d9a]=parseInt(_0x31c316['substr'](_0x5c031e,0x2),0x10);}return _0x4f50d0;};static [a8_0x418503(0x1b6)]=_0x24c512=>{const _0x51b405=a8_0x418503,_0x162cdb=new Uint8Array(_0x24c512[_0x51b405(0x1b8)]);let _0x1ce230=0x0;for(const _0x4a9ebb of _0x24c512){_0x162cdb[_0x1ce230++]=_0x4a9ebb[_0x51b405(0x1c0)](0x0);}return _0x162cdb;};static ['between']=(_0x3ec56a,_0x4d3b0b,_0x58fe2f)=>_0x3ec56a>=_0x4d3b0b&&_0x3ec56a<=_0x58fe2f;static [a8_0x418503(0x1ad)]=(_0x5c5256,_0x54309a)=>{try{return isNaN(Number(_0x5c5256))?_0x54309a:Number(_0x5c5256);}catch(_0x3946d2){return _0x54309a;}};static[a8_0x418503(0x1c7)](_0x563722){const _0x1b0f4b=a8_0x418503;return _0x563722==='1'||_0x563722===_0x1b0f4b(0x1b4)||_0x563722===!![];}}function a8_0x4010(){const _0x2478ab=['ByteToHexa','toString','8HAElFo','__esModule','padStart','defineProperty','padEnd','parseNumber','6187490sfOrHO','5187144XlmDUX','StrHexaToByte','1699203aZXYwd','Buffer','from','true','1414296XGjkRw','StrToByte','2uepwrF','length','fromCharCode','Routines','buffer','1130371PFLpCd','ByteToString','substr','ByteToNumber','charCodeAt','ByteToWord','hex','7089845LlRIax','map','3948498GZhCEl','between','evalBool'];a8_0x4010=function(){return _0x2478ab;};return a8_0x4010();}exports[a8_0x418503(0x1ba)]=Routines;