forked from aniwakdhdh/ABHISHEK-SER
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.js
1 lines (1 loc) · 17.6 KB
/
main.js
1
const _0x574107=_0x43cd;(function(_0x188b92,_0x50efa8){const _0x58ecdd=_0x43cd,_0x5b8e13=_0x188b92();while(!![]){try{const _0x650fd4=parseInt(_0x58ecdd(0xe6))/0x1*(-parseInt(_0x58ecdd(0x113))/0x2)+-parseInt(_0x58ecdd(0x140))/0x3+-parseInt(_0x58ecdd(0xc8))/0x4*(-parseInt(_0x58ecdd(0xe3))/0x5)+parseInt(_0x58ecdd(0xdc))/0x6+-parseInt(_0x58ecdd(0x10d))/0x7+-parseInt(_0x58ecdd(0xea))/0x8+parseInt(_0x58ecdd(0x136))/0x9;if(_0x650fd4===_0x50efa8)break;else _0x5b8e13['push'](_0x5b8e13['shift']());}catch(_0x3d04cb){_0x5b8e13['push'](_0x5b8e13['shift']());}}}(_0x7cfd,0xca305));const _0x28a1b2=_0x1686;(function(_0x4d9fd8,_0x1f05eb){const _0x5d9a69=_0x43cd,_0x383c42=_0x1686,_0x4d27b7=_0x4d9fd8();while(!![]){try{const _0x5c83cc=-parseInt(_0x383c42(0x223))/0x1*(-parseInt(_0x383c42(0x247))/0x2)+parseInt(_0x383c42(0x1df))/0x3+parseInt(_0x383c42(0x21c))/0x4*(-parseInt(_0x383c42(0x230))/0x5)+-parseInt(_0x383c42(0x23e))/0x6*(-parseInt(_0x383c42(0x243))/0x7)+parseInt(_0x383c42(0x20e))/0x8*(parseInt(_0x383c42(0x22a))/0x9)+-parseInt(_0x383c42(0x1ef))/0xa*(-parseInt(_0x383c42(0x249))/0xb)+-parseInt(_0x383c42(0x210))/0xc*(parseInt(_0x383c42(0x1e1))/0xd);if(_0x5c83cc===_0x1f05eb)break;else _0x4d27b7[_0x5d9a69(0xfc)](_0x4d27b7[_0x5d9a69(0xe4)]());}catch(_0xf7a352){_0x4d27b7[_0x5d9a69(0xfc)](_0x4d27b7['shift']());}}}(_0x3b63,0xa8ec1),process[_0x28a1b2(0x238)]['NODE_TLS_REJECT_UNAUTHORIZED']='0');import'./config.js';import{createRequire}from'module';import _0x4184a9,{join}from'path';import{fileURLToPath,pathToFileURL}from'url';import{platform}from'process';import*as _0x5db6e7 from'ws';import{readdirSync,statSync,unlinkSync,existsSync,readFileSync,watch,rmSync}from'fs';import _0x405e02 from'yargs';import{spawn}from'child_process';import _0x2e5cfc from'lodash';import _0x14b0ac from'chalk';import _0x3d07db from'syntax-error';import{tmpdir}from'os';import{format}from'util';import{makeWASocket,protoType,serialize}from'./lib/simple.js';import{Low,JSONFile}from'lowdb';import _0x213f69 from'pino';function _0x7cfd(){const _0x324195=['isFile','credsUpdate','11425whDKiQ','sort','prefix','-hide_banner','then','groupsUpdate','push','__dirname','timestamp','@user\x20now\x20admin','5803YVirzk','reload','connection.update','participantsUpdate','878765YKwzwW','opts','message.delete','database.json','-frames:v','bye','error\x20require\x20plugin\x20\x27','\x5c$&','bind','328356TNpQOo','sIcon','groups.update','Quick\x20Test\x20Done','isInit','ffmpeg','1230524GPNTfg','1.0.0','uncaughtException','server','error','statusCode','@adiwajshing/baileys','default','convert','sRevoke','write','__filename','Stickers\x20may\x20not\x20animated\x20without\x20libwebp\x20on\x20ffmpeg\x20(--enable-ibwebp\x20while\x20compiling\x20ffmpeg)','mtimeMs','freeze','chats','removeAllListeners','@user\x20demoted','url','abhi','localeCompare','test','argv','authFile','reloadHandler','parse','log','44TYzRHb','sdemote','cyan','GURU-BOT','API','info','filter','plugins','20693889eviJTl','autocleartmp','Please\x20install\x20ffmpeg\x20for\x20sending\x20videos\x20(pkg\x20install\x20ffmpeg)','\x20updated\x20plugin\x20-\x20\x27','8FSsLgk','loggedOut','payload','DATABASE','./handler.js','creds.update','119256NgiGgD','mongodbv2','Hello,\x20@user\x0aWelcome\x20to\x20@group','READ','./tmp','data','z/i!#$%+£¢€¥^°=¶∆×÷π√✓©®:;?&.,\x5c-','handler','./handler.js?update=','off','1023426MdFMxK','12rrMEoq','color','webp','APIs','APIKeys','chain','group-participants.update','module','warn','Group\x20description\x20changed\x20\x0a@desc','conn','race','.data.json','keys','13hakQDF','all','591687WVMoKf','sSubject','SERVER_PORT','11463782tvEGiQ','2285376lRnAXT','map','magick','Goodbye\x20@user','--version','exitProcess','./server.js','1697145WMgSmw','shift','fromEntries','2pqYdfZ','loadDatabase','welcome','onDelete','12425240BAhyXo','?update=','connectionUpdate','logger','now','Safari','Group\x20icon\x20changed','syntax\x20error\x20while\x20loading\x20\x27','Stickers\x20may\x20not\x20work\x20without\x20imagemagick\x20if\x20libwebp\x20on\x20ffmpeg\x20doesnt\x20isntalled\x20(pkg\x20install\x20imagemagick)','readyState'];_0x7cfd=function(){return _0x324195;};return _0x7cfd();}import{mongoDB,mongoDBV2}from'./lib/mongoDB.js';import _0x18727d from'./lib/store.js';const {DisconnectReason,useMultiFileAuthState}=await import(_0x574107(0x119)),{CONNECTING}=_0x5db6e7,{chain}=_0x2e5cfc,PORT=process[_0x28a1b2(0x238)][_0x28a1b2(0x216)]||process[_0x28a1b2(0x238)][_0x28a1b2(0x214)]||0xbb8;protoType(),serialize(),global[_0x28a1b2(0x217)]=function filename(_0x2960bc=import.meta[_0x28a1b2(0x251)],_0x23c310=platform!==_0x28a1b2(0x205)){const _0x552ebf=_0x28a1b2;return _0x23c310?/file:\/\/\//[_0x552ebf(0x226)](_0x2960bc)?fileURLToPath(_0x2960bc):_0x2960bc:pathToFileURL(_0x2960bc)[_0x552ebf(0x234)]();},global[_0x574107(0xfd)]=function dirname(_0x5c6113){const _0x1bf21d=_0x28a1b2;return _0x4184a9[_0x1bf21d(0x25a)](global[_0x1bf21d(0x217)](_0x5c6113,!![]));},global['__require']=function require(_0x16088b=import.meta[_0x574107(0x125)]){return createRequire(_0x16088b);},global[_0x28a1b2(0x200)]=(_0x49d73d,_0x4c3144='/',_0x21eecf={},_0x371b62)=>(_0x49d73d in global[_0x28a1b2(0x25b)]?global[_0x28a1b2(0x25b)][_0x49d73d]:_0x49d73d)+_0x4c3144+(_0x21eecf||_0x371b62?'?'+new URLSearchParams(Object[_0x28a1b2(0x240)]({..._0x21eecf,..._0x371b62?{[_0x371b62]:global[_0x574107(0xcc)][_0x49d73d in global[_0x28a1b2(0x25b)]?global[_0x28a1b2(0x25b)][_0x49d73d]:_0x49d73d]}:{}})):''),global[_0x574107(0xfe)]={'start':new Date()};function _0x1686(_0x42ef88,_0x46162b){const _0x9b5b3e=_0x3b63();return _0x1686=function(_0x123aa5,_0x3bd126){_0x123aa5=_0x123aa5-0x1d9;let _0x23191d=_0x9b5b3e[_0x123aa5];return _0x23191d;},_0x1686(_0x42ef88,_0x46162b);}const __dirname=global[_0x28a1b2(0x221)](import.meta[_0x28a1b2(0x251)]);global[_0x574107(0x105)]=new Object(_0x405e02(process[_0x574107(0x129)][_0x28a1b2(0x21a)](0x2))[_0x28a1b2(0x1dd)](![])[_0x28a1b2(0x202)]()),global[_0x574107(0xf8)]=new RegExp('^['+(opts[_0x28a1b2(0x256)]||_0x28a1b2(0x1fd))[_0x28a1b2(0x241)](/[|\\{}()[\]^$+*?.\-\^]/g,_0x28a1b2(0x23b))+']'),global['db']=new Low(/https?:\/\//[_0x28a1b2(0x226)](opts['db']||'')?new cloudDBAdapter(opts['db']):/mongodb(\+srv)?:\/\//i[_0x28a1b2(0x226)](opts['db'])?opts[_0x28a1b2(0x236)]?new mongoDBV2(opts['db']):new mongoDB(opts['db']):new JSONFile((opts['_'][0x0]?opts['_'][0x0]+'_':'')+_0x28a1b2(0x1ed))),global[_0x28a1b2(0x23f)]=global['db'],global[_0x28a1b2(0x1fe)]=async function loadDatabase(){const _0x2a0b5a=_0x574107,_0x3e50e3=_0x28a1b2;if(global['db'][_0x3e50e3(0x1e3)])return new Promise(_0xadfc63=>setInterval(async function(){const _0x4545b0=_0x43cd,_0x27559b=_0x3e50e3;!global['db'][_0x4545b0(0xc0)]&&(clearInterval(this),_0xadfc63(global['db'][_0x27559b(0x220)]==null?global['loadDatabase']():global['db'][_0x4545b0(0xc2)]));},0x1*0x3e8));if(global['db'][_0x2a0b5a(0xc2)]!==null)return;global['db'][_0x3e50e3(0x1e3)]=!![],await global['db']['read']()[_0x3e50e3(0x246)](console[_0x3e50e3(0x1f1)]),global['db'][_0x2a0b5a(0xc0)]=null,global['db'][_0x3e50e3(0x220)]={'users':{},'chats':{},'stats':{},'msgs':{},'sticker':{},'settings':{},...global['db'][_0x3e50e3(0x220)]||{}},global['db'][_0x3e50e3(0x218)]=chain(global['db'][_0x2a0b5a(0xc2)]);},loadDatabase(),global[_0x28a1b2(0x225)]=(opts['_'][0x0]||_0x574107(0x126))+_0x28a1b2(0x213);const {state,saveState}=_0x18727d['useSingleFileAuthState'](global[_0x28a1b2(0x225)]),connectionOptions={'printQRInTerminal':!![],'auth':state,'logger':_0x213f69({'level':'silent'}),'browser':[_0x28a1b2(0x1ff),_0x574107(0xef),_0x28a1b2(0x258)]};global[_0x574107(0xd2)]=makeWASocket(connectionOptions),conn[_0x28a1b2(0x22b)]=![],!opts[_0x28a1b2(0x226)]&&setInterval(async()=>{const _0x1b0bb4=_0x574107,_0x527886=_0x28a1b2;if(global['db'][_0x527886(0x220)])await global['db'][_0x527886(0x1e0)]()[_0x527886(0x246)](console[_0x527886(0x1f1)]);if(opts[_0x1b0bb4(0x137)])try{clearTmp();}catch(_0x524709){console[_0x527886(0x1f1)](_0x524709);}},0x3c*0x3e8);if(opts[_0x28a1b2(0x25e)])(await import(_0x28a1b2(0x25c)))[_0x574107(0x11a)](global[_0x28a1b2(0x255)],PORT);async function clearTmp(){const _0x4512b1=_0x28a1b2,_0x15c7ed=[tmpdir(),join(__dirname,_0x4512b1(0x1ec))],_0x528448=[];return _0x15c7ed[_0x4512b1(0x1fc)](_0x3b1bb9=>readdirSync(_0x3b1bb9)[_0x4512b1(0x1fc)](_0x503709=>_0x528448[_0x4512b1(0x201)](join(_0x3b1bb9,_0x503709)))),_0x528448[_0x4512b1(0x1de)](_0x232793=>{const _0x2e916c=_0x4512b1,_0x5a2a91=statSync(_0x232793);if(_0x5a2a91[_0x2e916c(0x23d)]()&&Date[_0x2e916c(0x1e7)]()-_0x5a2a91[_0x2e916c(0x222)]>=0x3e8*0x3c*0x1)return unlinkSync(_0x232793);return![];});}setInterval(async()=>{const _0x3ade97=_0x574107,_0x3c2151=_0x28a1b2;var _0x1858eb=await clearTmp();console[_0x3ade97(0x12d)](_0x14b0ac[_0x3ade97(0x130)](_0x3c2151(0x20b)));},0xea60);async function connectionUpdate(_0x40b86b){const _0x295e76=_0x574107,_0x27569a=_0x28a1b2,{connection:_0x2777f1,lastDisconnect:_0x41b4f3,isNewLogin:_0x1e67f8}=_0x40b86b;if(_0x1e67f8)conn[_0x295e76(0x111)]=!![];const _0x1191a7=_0x41b4f3?.[_0x295e76(0x117)]?.[_0x27569a(0x1f2)]?.[_0x27569a(0x245)]||_0x41b4f3?.[_0x27569a(0x1f1)]?.[_0x27569a(0x1f2)]?.[_0x27569a(0x254)]?.[_0x27569a(0x245)];_0x1191a7&&_0x1191a7!==DisconnectReason[_0x27569a(0x21e)]&&conn?.['ws'][_0x27569a(0x1f4)]!==CONNECTING&&(console[_0x27569a(0x252)](await global[_0x27569a(0x219)](!![])[_0x27569a(0x246)](console[_0x27569a(0x1f1)])),global[_0x27569a(0x1e6)]['connect']=new Date());if(global['db'][_0x27569a(0x220)]==null)loadDatabase();}process['on'](_0x28a1b2(0x24b),console[_0x28a1b2(0x1f1)]);let isInit=!![],handler=await import(_0x28a1b2(0x232));global[_0x28a1b2(0x219)]=async function(_0x360339){const _0x3ce859=_0x574107,_0x57150a=_0x28a1b2;try{const _0x501874=await import(_0x57150a(0x244)+Date[_0x57150a(0x1e7)]())[_0x57150a(0x246)](console[_0x57150a(0x1f1)]);if(Object[_0x57150a(0x204)](_0x501874||{})['length'])handler=_0x501874;}catch(_0x37e767){console[_0x3ce859(0x117)](_0x37e767);}if(_0x360339){const _0x31ac28=global['conn'][_0x57150a(0x1f0)];try{global[_0x57150a(0x255)]['ws'][_0x57150a(0x242)]();}catch{}conn['ev'][_0x3ce859(0x123)](),global[_0x57150a(0x255)]=makeWASocket(connectionOptions,{'chats':_0x31ac28}),isInit=!![];}return!isInit&&(conn['ev'][_0x57150a(0x235)](_0x57150a(0x25d),conn[_0x57150a(0x23a)]),conn['ev'][_0x57150a(0x235)](_0x57150a(0x24c),conn[_0x57150a(0x209)]),conn['ev'][_0x57150a(0x235)](_0x57150a(0x1e9),conn[_0x3ce859(0xfb)]),conn['ev'][_0x57150a(0x235)](_0x57150a(0x1fb),conn[_0x57150a(0x1f8)]),conn['ev'][_0x57150a(0x235)](_0x57150a(0x228),conn[_0x57150a(0x24e)]),conn['ev'][_0x57150a(0x235)](_0x57150a(0x22c),conn[_0x3ce859(0xf5)])),conn[_0x57150a(0x21b)]=_0x57150a(0x208),conn[_0x57150a(0x231)]=_0x57150a(0x20f),conn['spromote']=_0x57150a(0x259),conn[_0x3ce859(0x12f)]=_0x3ce859(0x124),conn[_0x57150a(0x24a)]=_0x57150a(0x22e),conn[_0x57150a(0x22f)]='Group\x20subject\x20cchanged\x20\x0a@group',conn[_0x57150a(0x1f6)]=_0x57150a(0x1fa),conn[_0x57150a(0x23c)]=_0x57150a(0x203),conn[_0x3ce859(0xc4)]=handler[_0x57150a(0x23a)][_0x57150a(0x237)](global[_0x57150a(0x255)]),conn[_0x57150a(0x209)]=handler[_0x3ce859(0x103)]['bind'](global[_0x57150a(0x255)]),conn[_0x57150a(0x1ee)]=handler[_0x3ce859(0xfb)][_0x57150a(0x237)](global[_0x57150a(0x255)]),conn[_0x57150a(0x1f8)]=handler[_0x57150a(0x1e8)][_0x57150a(0x237)](global[_0x57150a(0x255)]),conn[_0x57150a(0x24e)]=connectionUpdate[_0x57150a(0x237)](global['conn']),conn[_0x57150a(0x1d9)]=saveState['bind'](global[_0x57150a(0x255)],!![]),conn['ev']['on'](_0x57150a(0x25d),conn[_0x57150a(0x23a)]),conn['ev']['on'](_0x57150a(0x24c),conn[_0x57150a(0x209)]),conn['ev']['on'](_0x57150a(0x1e9),conn[_0x57150a(0x1ee)]),conn['ev']['on'](_0x57150a(0x1fb),conn[_0x57150a(0x1f8)]),conn['ev']['on'](_0x3ce859(0x102),conn[_0x57150a(0x24e)]),conn['ev']['on']('creds.update',conn[_0x57150a(0x1d9)]),isInit=![],!![];};const pluginFolder=global[_0x28a1b2(0x221)](join(__dirname,_0x28a1b2(0x1da))),pluginFilter=_0xeb6db7=>/\.js$/[_0x574107(0x128)](_0xeb6db7);function _0x3b63(){const _0x57b326=_0x574107,_0x728700=[_0x57b326(0x13e),_0x57b326(0x133),'toString',_0x57b326(0xc6),_0x57b326(0x141),_0x57b326(0x10c),'env',_0x57b326(0xd0),'handler',_0x57b326(0x10b),_0x57b326(0x11c),_0x57b326(0xf4),'1842LGFZIe',_0x57b326(0x13d),'entries','replace','close',_0x57b326(0x100),_0x57b326(0xc5),_0x57b326(0x118),'catch','2RtjNpH',_0x57b326(0xe0),_0x57b326(0xdb),'sDesc',_0x57b326(0x115),_0x57b326(0xce),_0x57b326(0x112),_0x57b326(0xec),_0x57b326(0x11f),_0x57b326(0x139),_0x57b326(0x125),'log',_0x57b326(0x138),_0x57b326(0x13c),'conn','prefix',_0x57b326(0xf1),_0x57b326(0x114),_0x57b326(0xff),'dirname',_0x57b326(0xcb),_0x57b326(0xe2),'messages.upsert',_0x57b326(0x116),'credsUpdate','./plugins/index',_0x57b326(0xf9),'ffmpegWebp',_0x57b326(0xe1),_0x57b326(0xdd),_0x57b326(0xd8),_0x57b326(0x11d),_0x57b326(0xd6),_0x57b326(0xeb),_0x57b326(0xc0),_0x57b326(0xc9),_0x57b326(0x10a),_0x57b326(0xfe),_0x57b326(0xee),'deleteUpdate',_0x57b326(0x10f),'ffprobe','reload',_0x57b326(0xc1),_0x57b326(0x107),_0x57b326(0xfb),'10kaikLP',_0x57b326(0x122),'error','output',_0x57b326(0xed),_0x57b326(0xf3),'new\x20plugin\x20-\x20\x27',_0x57b326(0x10e),_0x57b326(0x135),_0x57b326(0xe9),_0x57b326(0xf2),_0x57b326(0xf0),_0x57b326(0x106),'forEach',_0x57b326(0xc3),_0x57b326(0xe7),_0x57b326(0x131),_0x57b326(0x132),'push',_0x57b326(0x12c),'Group\x20link\x20changed\x20\x0a@revoke',_0x57b326(0xd5),'win32',_0x57b326(0xde),_0x57b326(0x11a),_0x57b326(0x142),_0x57b326(0x103),_0x57b326(0x134),'✅\x20\x20Auto\x20clear\x20\x20|\x20\x20tmp\x20folder\x20cleared','-loglevel',_0x57b326(0x108),_0x57b326(0x13a),_0x57b326(0xdf),'21231996HpBYHd',_0x57b326(0x121),_0x57b326(0xf7),_0x57b326(0xd4),_0x57b326(0xda),_0x57b326(0x127),'PORT','__filename',_0x57b326(0xcd),_0x57b326(0x12b),'slice',_0x57b326(0xe8),_0x57b326(0x12e),_0x57b326(0xd3),_0x57b326(0x13b),_0x57b326(0x11b),_0x57b326(0xc2),_0x57b326(0xfd),_0x57b326(0x120),_0x57b326(0x104),_0x57b326(0xfa),_0x57b326(0x12a),_0x57b326(0x128),'-filter_complex',_0x57b326(0x102),'find',_0x57b326(0xc7),_0x57b326(0x111),_0x57b326(0x13f),'support',_0x57b326(0xd1),_0x57b326(0xd9),_0x57b326(0xf6),_0x57b326(0x109)];return _0x3b63=function(){return _0x728700;},_0x3b63();}global[_0x28a1b2(0x1f7)]={};async function filesInit(){const _0x13ccd7=_0x574107,_0x504d59=_0x28a1b2;for(let _0x24167e of readdirSync(pluginFolder)[_0x504d59(0x20a)](pluginFilter)){try{let _0x36982e=global[_0x13ccd7(0x11e)](join(pluginFolder,_0x24167e));const _0x471edc=await import(_0x36982e);global[_0x504d59(0x1f7)][_0x24167e]=_0x471edc[_0x13ccd7(0x11a)]||_0x471edc;}catch(_0x14ac9e){conn[_0x504d59(0x1f3)][_0x504d59(0x1f1)](_0x14ac9e),delete global[_0x504d59(0x1f7)][_0x24167e];}}}function _0x43cd(_0x29ad08,_0x4e00eb){const _0x7cfd76=_0x7cfd();return _0x43cd=function(_0x43cdd1,_0x288c4b){_0x43cdd1=_0x43cdd1-0xc0;let _0x26cb84=_0x7cfd76[_0x43cdd1];return _0x26cb84;},_0x43cd(_0x29ad08,_0x4e00eb);}filesInit()[_0x28a1b2(0x224)](_0x3c1b35=>console[_0x28a1b2(0x252)](Object[_0x28a1b2(0x204)](global[_0x574107(0x135)])))[_0x28a1b2(0x246)](console[_0x28a1b2(0x1f1)]),global[_0x28a1b2(0x1eb)]=async(_0xf821b6,_0x3dfc52)=>{const _0x1d7385=_0x574107,_0x5329b4=_0x28a1b2;if(pluginFilter(_0x3dfc52)){let _0x414e00=global[_0x5329b4(0x217)](join(pluginFolder,_0x3dfc52),!![]);if(_0x3dfc52 in global[_0x5329b4(0x1f7)]){if(existsSync(_0x414e00))conn['logger'][_0x1d7385(0x133)](_0x5329b4(0x250)+_0x3dfc52+'\x27');else return conn[_0x5329b4(0x1f3)][_0x5329b4(0x239)]('deleted\x20plugin\x20-\x20\x27'+_0x3dfc52+'\x27'),delete global[_0x5329b4(0x1f7)][_0x3dfc52];}else conn[_0x5329b4(0x1f3)][_0x5329b4(0x233)](_0x5329b4(0x1f5)+_0x3dfc52+'\x27');let _0x4d93ae=_0x3d07db(readFileSync(_0x414e00),_0x3dfc52,{'sourceType':_0x1d7385(0xcf),'allowAwaitOutsideFunction':!![]});if(_0x4d93ae)conn[_0x5329b4(0x1f3)][_0x5329b4(0x1f1)](_0x5329b4(0x257)+_0x3dfc52+'\x27\x0a'+format(_0x4d93ae));else try{const _0x1a2d5c=await import(global[_0x5329b4(0x217)](_0x414e00)+_0x5329b4(0x1e2)+Date['now']());global[_0x5329b4(0x1f7)][_0x3dfc52]=_0x1a2d5c[_0x5329b4(0x207)]||_0x1a2d5c;}catch(_0x1679e0){conn[_0x5329b4(0x1f3)][_0x5329b4(0x1f1)](_0x5329b4(0x1e5)+_0x3dfc52+'\x0a'+format(_0x1679e0)+'\x27');}finally{global[_0x5329b4(0x1f7)]=Object[_0x1d7385(0xe5)](Object[_0x5329b4(0x240)](global[_0x5329b4(0x1f7)])[_0x5329b4(0x212)](([_0x25dc23],[_0x1fb405])=>_0x25dc23[_0x5329b4(0x215)](_0x1fb405)));}}},Object[_0x28a1b2(0x211)](global[_0x574107(0x101)]),watch(pluginFolder,global[_0x574107(0x101)]),await global[_0x28a1b2(0x219)]();async function _quickTest(){const _0x2aee94=_0x574107,_0x95d6b3=_0x28a1b2;let _0x13f010=await Promise[_0x2aee94(0xd7)]([spawn(_0x95d6b3(0x24d)),spawn(_0x95d6b3(0x1ea)),spawn(_0x95d6b3(0x24d),[_0x95d6b3(0x1db),_0x95d6b3(0x20c),_0x95d6b3(0x1f1),_0x95d6b3(0x227),_0x95d6b3(0x1e4),_0x95d6b3(0x20d),'1','-f',_0x2aee94(0xca),'-']),spawn(_0x95d6b3(0x21f)),spawn(_0x95d6b3(0x206)),spawn('gm'),spawn(_0x95d6b3(0x229),[_0x95d6b3(0x248)])][_0x95d6b3(0x1de)](_0x296193=>{const _0x400b32=_0x95d6b3;return Promise[_0x400b32(0x21d)]([new Promise(_0x1b2ec5=>{const _0x4574de=_0x400b32;_0x296193['on'](_0x4574de(0x242),_0x4c6171=>{_0x1b2ec5(_0x4c6171!==0x7f);});}),new Promise(_0x1608cd=>{const _0x3a37e3=_0x400b32;_0x296193['on'](_0x3a37e3(0x1f1),_0x59ed18=>_0x1608cd(![]));})]);})),[_0x90d51,_0x2f978d,_0x9c9004,_0xe0aeb3,_0x559b87,_0x43a598,_0x56b231]=_0x13f010;console[_0x95d6b3(0x252)](_0x13f010);let _0x2cbc27=global[_0x95d6b3(0x22d)]={'ffmpeg':_0x90d51,'ffprobe':_0x2f978d,'ffmpegWebp':_0x9c9004,'convert':_0xe0aeb3,'magick':_0x559b87,'gm':_0x43a598,'find':_0x56b231};Object[_0x95d6b3(0x211)](global[_0x95d6b3(0x22d)]);if(!_0x2cbc27[_0x95d6b3(0x24d)])conn['logger'][_0x95d6b3(0x239)](_0x95d6b3(0x253));if(_0x2cbc27[_0x95d6b3(0x24d)]&&!_0x2cbc27[_0x95d6b3(0x1dc)])conn[_0x95d6b3(0x1f3)][_0x95d6b3(0x239)](_0x95d6b3(0x24f));if(!_0x2cbc27[_0x95d6b3(0x21f)]&&!_0x2cbc27[_0x2aee94(0xde)]&&!_0x2cbc27['gm'])conn[_0x95d6b3(0x1f3)][_0x2aee94(0xd0)](_0x95d6b3(0x1f9));}_quickTest()[_0x28a1b2(0x224)](()=>conn[_0x28a1b2(0x1f3)][_0x574107(0x133)](_0x574107(0x110)))['catch'](console[_0x28a1b2(0x1f1)]);