forked from Samue-l1/Jinx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
1 lines (1 loc) · 32 KB
/
index.js
1
const _0x491d92=_0x4411;(function(_0x5c7358,_0x29a6a6){const _0x566b6d=_0x4411,_0x1bb10e=_0x5c7358();while(!![]){try{const _0x4fd0d2=-parseInt(_0x566b6d(0x7e))/0x1+-parseInt(_0x566b6d(0xe9))/0x2+-parseInt(_0x566b6d(0xd0))/0x3*(-parseInt(_0x566b6d(0x164))/0x4)+parseInt(_0x566b6d(0x120))/0x5+parseInt(_0x566b6d(0x124))/0x6*(parseInt(_0x566b6d(0x15d))/0x7)+parseInt(_0x566b6d(0x149))/0x8*(-parseInt(_0x566b6d(0x150))/0x9)+-parseInt(_0x566b6d(0xaa))/0xa;if(_0x4fd0d2===_0x29a6a6)break;else _0x1bb10e['push'](_0x1bb10e['shift']());}catch(_0x4a87cf){_0x1bb10e['push'](_0x1bb10e['shift']());}}}(_0x3977,0xf0316),require('./derived/config'));const {default:samConnect,makeWASocket,useMultiFileAuthState,DisconnectReason,fetchLatestBaileysVersion,generateForwardMessageContent,prepareWAMessageMedia,generateWAMessageFromContent,generateMessageID,downloadContentFromMessage,makeInMemoryStore,jidDecode,proto,getAggregateVotesInPollMessage,makeCacheableSignalKeyStore,Browsers,MessageRetryMap}=require(_0x491d92(0x15a)),pino=require('pino'),chalk=require(_0x491d92(0x139)),{Boom}=require(_0x491d92(0xad)),fs=require('fs'),fsPromises=fs[_0x491d92(0xb9)],axios=require('axios'),FileType=require(_0x491d92(0x93)),path=require(_0x491d92(0xc5)),_=require(_0x491d92(0x14f)),PhoneNumber=require('awesome-phonenumber'),{spawn}=require(_0x491d92(0x148)),{say}=require(_0x491d92(0x113)),moment=require(_0x491d92(0xa3)),readline=require(_0x491d92(0xf5)),yargs=require(_0x491d92(0x153)),NodeCache=require(_0x491d92(0x108));let low;try{low=require(_0x491d92(0x103));}catch(_0x310770){low=require('./lib/lowdb');};function _0x3977(){const _0x26f0d7=['push','messages','loadMessage','lodash','9tdmkPE','\x0aitem1.X-ABLabel:Ponsel\x0aEND:VCARD','pollUpdates','yargs/yargs','Connection\x20Replaced,\x20Another\x20New\x20Session\x20Opened,\x20Please\x20Close\x20Current\x20Session\x20First','resolve','Timed\x20Out','messages.upsert','block','mimetype','@whiskeysockets/baileys','message','creds.update','10734339apANyV','ephemeralMessage','open','console','getFile','subject','chain','7548496RHmswV','readMessages','setStatus','155180hWJpQa','stringify','includes','existsSync','image/webp','BAE5','serializeM','mime','\x20Kontak','fromBuffer','yellow','@s.whatsapp.net','all','createInterface','false','timedOut','Value\x20not\x20found','getNumber','fatal','badSession','not-authorized','file-type','length','alloc','fromMe','connectionClosed','json','status@broadcast','argv','msg','join','./lib/myfunction','withoutContact','WebMessageInfo','application/pdf','categories','base64','moment-timezone','asImage','concat','set','Caught\x20exception:\x20','connectionReplaced','end','16214980ipdHFa','mtime','downloadMediaMessage','@hapi/boom','question','status','unwatchFile','asLocation','viewOnce','fromObject','author','international','true','close','ext','promises','exitProcess','Connection\x20Lost\x20from\x20Server,\x20reconnecting...','creds.json','./grab/src/','sendContact','green','caption','sendImageAsSticker','sendFile','Socket\x20connection\x20timeout','image','path','isBuffer','decodeJid','statusCode','copyNForward','cache','matchAll','application/octet-stream','cMod','filter','split','3CPpJho','sendMessage','gif','sessionName','string','BEGIN:VCARD\x0aVERSION:3.0\x0aN:','keys','redBright','replace','receivedPendingNotifications','Restart\x20Required,\x20Restarting...','public','sendVideo','magenta','readFileSync','query','quoted','data','rate-overlimit','test','packname','clear','sendAudio','silent','\x0aFN:','1628628xFdknU','writeFile','connection.update','already-exists','document','buttonsMessage','Connection\x20Closed','asDocument','sendVideoAsSticker','Unknown\x20DisconnectReason:\x20','readViewOnce','sendPoll','readline','.bin','unlink','headers','call','Device\x20Logged\x20Out,\x20Please\x20Scan\x20Again\x20And\x20Run.','participant','output','audio/mpeg','relayMessage','mtype','restartRequired','stdout','sendMedia','lowdb','\x0aCreate\x20By\x20King\x20Sam\x0aYOUTUBE\x20:\x20King\x20Sam\x0aTelegram\x20:\x20imKing\x20Sam\x0aInstagram\x20:\x20justKing\x20Sam\x0a','registered','conflict','hi,\x20i\x27m\x20King\x20Samcore','node-cache','contacts','[\x20#\x20]\x20enter\x20that\x20code\x20into\x20WhatsApp:\x20','content-type','JINX-V1\x0a','creds','downloadAndSaveMediaMessage','asSticker','authState','utf-8','stdin','cfonts','DATABASE','map','trim','sticker','log','[email protected]','WhatsApp','error','Chrome','loggedOut','audio','sendImage','8764330kcoCQs','from','remoteJid','name','6azLfYm','ignore','./lib/mongoDB','slice','text','\x0aitem1.TEL;waid=','viewOnceMessage','audio/ogg\x20codecs=opus','user','connection','loadDatabase','FatihArridho_','center','endsWith','parse','groupMetadata','video','Update\x20','toString','blue','Create\x20By\x20𝕶𝖎𝖓𝖌\x20𝕾𝖆𝖒\x0aJinx\x20V1\x0a𝐓𝐇𝐄\x20𝐇𝐎𝐋𝐘\x20𝐆𝐇𝐎𝐒𝐓\x0a𝐖𝐇𝐀𝐓𝐒𝐀𝐏𝐏\x20𝐍𝐈𝐆𝐇𝐓𝐌𝐀𝐑𝐄\x0a','chalk','./lib/exif','READ','@broadcast','key','contextInfo','contacts.update','conversation','readdir','video/mp4','connect','getName','server','exit','startsWith','child_process','12789160pnvYIF','./lib/color','<!>\x20ENTER\x20PHONE\x20NUMBER\x20BEGINNING\x20WITH\x20COUNTRY\x20CODE\x20(DO\x20NOT\x20USE0).\x20❌\x0a<✓>\x20EXAMPLE\x20:\x20254778890000\x0a\x0a\x20<+>\x20𝖓𝖚𝖒𝖇𝖊𝖗\x20:\x20'];_0x3977=function(){return _0x26f0d7;};return _0x3977();}const {Low,JSONFile}=low,mongoDB=require(_0x491d92(0x126)),{imageToWebp,videoToWebp,writeExifImg,writeExifVid}=require(_0x491d92(0x13a)),{smsg,isUrl,generateMessageTag,getBuffer,getSizeMedia,fetchJson,sleep}=require(_0x491d92(0x9d)),{color}=require(_0x491d92(0x14a)),usePairingCode=global[_0x491d92(0x143)],listcolor=['cyan',_0x491d92(0xdd),_0x491d92(0xbf),_0x491d92(0x88),_0x491d92(0x137)],randomcolor=listcolor[Math['floor'](Math['random']()*listcolor[_0x491d92(0x94)])],question=_0x298161=>{const _0x1678be=_0x491d92,_0x674df7=readline[_0x1678be(0x8b)]({'input':process[_0x1678be(0x112)],'output':process[_0x1678be(0x101)]});return new Promise(_0x1b609e=>{const _0x534fd2=_0x1678be;_0x674df7[_0x534fd2(0xae)](color(_0x298161,randomcolor),_0x1db385=>{_0x1b609e(_0x1db385),_0x674df7['close']();});});};async function samStart(){const _0x327b43=_0x491d92,_0x692fd1=makeInMemoryStore({'logger':pino()['child']({'level':_0x327b43(0xe7),'stream':'store'})}),{state:_0x1da95e,saveCreds:_0x480a87}=await useMultiFileAuthState('./'+global[_0x327b43(0xd3)]),{version:_0x52e595,isLatest:_0x54985f}=await fetchLatestBaileysVersion(),_0x26685f=new NodeCache(),_0x3ede71=samConnect({'isLatest':_0x54985f,'version':_0x52e595,'keepAliveIntervalMs':0x7530,'printQRInTerminal':!usePairingCode,'logger':pino({'level':_0x327b43(0x90)}),'auth':{'creds':_0x1da95e[_0x327b43(0x10d)],'keys':makeCacheableSignalKeyStore(_0x1da95e[_0x327b43(0xd6)],pino({'level':_0x327b43(0x90)})['child']({'level':_0x327b43(0x90)}))},'browser':Browsers['macOS'](_0x327b43(0x11c)),'generateHighQualityLinkPreview':!![],'syncFullHistory':!![],'connectTimeoutMs':0x0,'defaultQueryTimeoutMs':undefined,'MessageRetryMap':MessageRetryMap,'resolveMsgBuffer':_0x26685f,'patchMessageBeforeSending':async _0x27efed=>{const _0x3cf735=_0x327b43,_0x1f9f8a=!!(_0x27efed[_0x3cf735(0xee)]||_0x27efed['listMessage']||_0x27efed['templateMessage']);return _0x1f9f8a&&(_0x27efed={'viewOnceMessage':{'message':{'messageContextInfo':{'deviceListMetadataVersion':0x2,'deviceListMetadata':{}},..._0x27efed}}}),_0x27efed;},'getMessage':async _0x3ccfa0=>{const _0x2a2ee7=_0x327b43;if(_0x692fd1){const _0x1f9368=await _0x692fd1[_0x2a2ee7(0x14e)](_0x3ccfa0[_0x2a2ee7(0x122)],_0x3ccfa0['id'],undefined);return _0x1f9368?.['message'];}return{'conversation':_0x2a2ee7(0x107)};}});if(usePairingCode&&!_0x3ede71[_0x327b43(0x110)][_0x327b43(0x10d)][_0x327b43(0x105)]){say(_0x327b43(0x10c),{'font':_0x327b43(0x158),'align':_0x327b43(0x130),'gradient':[randomcolor,randomcolor]}),say(_0x327b43(0x138),{'font':_0x327b43(0x160),'align':'center','gradient':[randomcolor,randomcolor]});let _0x44448f=await question(_0x327b43(0x14b)),_0x1f72d9=_0x44448f[_0x327b43(0xd8)](/[^0-9]/g,'');await console[_0x327b43(0xe5)]();let _0x5e0448=await _0x3ede71['requestPairingCode'](_0x1f72d9[_0x327b43(0x116)]());console[_0x327b43(0x118)](color(_0x327b43(0x10a)+_0x5e0448,randomcolor));};setInterval(async()=>{const _0x3405e9=_0x327b43;try{let _0x25c139=path['join'](__dirname,global[_0x3405e9(0xd3)]),_0x3b1d5e=await fsPromises[_0x3405e9(0x141)](_0x25c139),_0x455d8e=_0x3b1d5e['filter'](_0x2d0d39=>_0x2d0d39!==_0x3405e9(0xbc))[_0x3405e9(0x115)](async _0x500f75=>{const _0x2213ed=_0x3405e9;let _0x427ce4=path[_0x2213ed(0x9c)](_0x25c139,_0x500f75),_0x150f13=await fsPromises['stat'](_0x427ce4),_0x33e611=new Date(),_0x238e79=(_0x33e611-new Date(_0x150f13[_0x2213ed(0xab)]))/0x3e8;_0x238e79>0x3c&&await fsPromises[_0x2213ed(0xf7)](_0x427ce4);});await Promise[_0x3405e9(0x8a)](_0x455d8e);}catch(_0x298e29){}},0x61a8),global['opts']=new Object(yargs(process['argv'][_0x327b43(0x127)](0x2))[_0x327b43(0xba)](![])[_0x327b43(0x132)]()),global['db']=new Low(/https?:\/\//[_0x327b43(0xe3)](opts['db']||'')?new cloudDBAdapter(opts['db']):/mongodb/[_0x327b43(0xe3)](opts['db'])?new mongoDB(opts['db']):new JSONFile('./grab/database.json')),global[_0x327b43(0x114)]=global['db'],global['loadDatabase']=async function _0x2a2965(){const _0x4bd8f0=_0x327b43;if(global['db'][_0x4bd8f0(0x13b)])return new Promise(_0x823f82=>setInterval(function(){const _0x44d005=_0x4bd8f0;!global['db'][_0x44d005(0x13b)]&&(clearInterval(this),_0x823f82(global['db'][_0x44d005(0xe1)]==null?global[_0x44d005(0x12e)]():global['db'][_0x44d005(0xe1)]));},0x1*0x3e8));if(global['db'][_0x4bd8f0(0xe1)]!==null)return;global['db'][_0x4bd8f0(0x13b)]=!![],await global['db']['read'](),global['db'][_0x4bd8f0(0x13b)]=![],global['db'][_0x4bd8f0(0xe1)]={'users':{},'chats':{},'game':{},'database':{},'settings':{},'setting':{},'others':{},'sticker':{},...global['db'][_0x4bd8f0(0xe1)]||{}},global['db'][_0x4bd8f0(0x163)]=_[_0x4bd8f0(0x163)](global['db'][_0x4bd8f0(0xe1)]);},loadDatabase();if(global['db'])setInterval(async()=>{const _0x2b994a=_0x327b43;if(global['db'][_0x2b994a(0xe1)])await global['db']['write']();},0x1e*0x3e8);return _0x3ede71[_0x327b43(0xdb)]=!![],_0x3ede71['ev']['on'](_0x327b43(0xeb),async _0x462dde=>{const _0x52ff50=_0x327b43,{connection:_0x27d872,lastDisconnect:_0x19e2c1}=_0x462dde;try{if(_0x27d872===_0x52ff50(0xb7)){let _0x13018f=new Boom(_0x19e2c1?.[_0x52ff50(0x11b)])?.[_0x52ff50(0xfc)][_0x52ff50(0xc8)];if(_0x13018f===DisconnectReason[_0x52ff50(0x91)]){console[_0x52ff50(0x118)]('Bad\x20Session\x20File,\x20Please\x20Delete\x20Session\x20and\x20Scan\x20Again'),process['exit']();;}else{if(_0x13018f===DisconnectReason[_0x52ff50(0x97)])console[_0x52ff50(0x118)]('Connection\x20closed,\x20reconnecting....'),samStart();else{if(_0x13018f===DisconnectReason['connectionLost'])console[_0x52ff50(0x118)](_0x52ff50(0xbb)),samStart();else{if(_0x13018f===DisconnectReason[_0x52ff50(0xa8)])console[_0x52ff50(0x118)](_0x52ff50(0x154)),exec('node\x20'+process[_0x52ff50(0x9a)][0x1]);else{if(_0x13018f===DisconnectReason[_0x52ff50(0x11d)])console[_0x52ff50(0x118)](_0x52ff50(0xfa)),process[_0x52ff50(0x146)](),samStart();else{if(_0x13018f===DisconnectReason[_0x52ff50(0x100)])console['log'](_0x52ff50(0xda)),samStart();else _0x13018f===DisconnectReason[_0x52ff50(0x8d)]?(console[_0x52ff50(0x118)]('Connection\x20TimedOut,\x20Reconnecting...'),samStart()):_0x3ede71[_0x52ff50(0xa9)](_0x52ff50(0xf2)+_0x13018f+'|'+_0x27d872);}}}}}}if(_0x462dde[_0x52ff50(0x12d)]==='connecting'||_0x462dde[_0x52ff50(0xd9)]===_0x52ff50(0x8c)){}(_0x462dde['connection']===_0x52ff50(0x15f)||_0x462dde[_0x52ff50(0xd9)]===_0x52ff50(0xb6))&&(await console['clear'](),await console[_0x52ff50(0x118)](color('<℅>\x20Connect\x20!!!',''+randomcolor)),await console[_0x52ff50(0x118)](color(_0x52ff50(0x104),''+randomcolor)));}catch(_0x23e2fc){console[_0x52ff50(0x118)]('Error\x20In\x20Connection.update\x20'+_0x23e2fc),samStart();}}),_0x3ede71['ev']['on']('messages.update',async _0x12434a=>{const _0x467117=_0x327b43;for(const {key:_0x1f133d,update:_0x3b713b}of _0x12434a){if(_0x3b713b[_0x467117(0x152)]&&_0x1f133d['fromMe']){const _0x103f80=await getMessage(_0x1f133d);if(_0x103f80){const _0xfd7fa5=await getAggregateVotesInPollMessage({'message':_0x103f80,'pollUpdates':_0x3b713b['pollUpdates']});var _0x2eab25=_0xfd7fa5[_0x467117(0xce)](_0x5d90fc=>_0x5d90fc['voters'][_0x467117(0x94)]!==0x0)[0x0]?.[_0x467117(0x123)];if(_0x2eab25==undefined)return;var _0x1ccdf3=prefix+_0x2eab25;_0x3ede71['appendTextMessage'](_0x1ccdf3,_0x12434a);}}}}),_0x3ede71[_0x327b43(0xc7)]=_0x2edf5a=>{const _0x45508e=_0x327b43;if(!_0x2edf5a)return _0x2edf5a;if(/:\d+@/gi[_0x45508e(0xe3)](_0x2edf5a)){let _0x537345=jidDecode(_0x2edf5a)||{};return _0x537345['user']&&_0x537345[_0x45508e(0x145)]&&_0x537345[_0x45508e(0x12c)]+'@'+_0x537345['server']||_0x2edf5a;}else return _0x2edf5a;},_0x3ede71['ev']['on'](_0x327b43(0x13f),_0x5e7692=>{const _0x16563b=_0x327b43;for(let _0x32b7e2 of _0x5e7692){let _0x8e6cd7=_0x3ede71[_0x16563b(0xc7)](_0x32b7e2['id']);if(_0x692fd1&&_0x692fd1[_0x16563b(0x109)])_0x692fd1[_0x16563b(0x109)][_0x8e6cd7]={'id':_0x8e6cd7,'name':_0x32b7e2['notify']};}}),_0x3ede71[_0x327b43(0x7d)]=_0x109b08=>{const _0x298bd4=_0x327b43;return _0x3ede71[_0x298bd4(0xdf)]({'tag':'iq','attrs':{'to':_0x298bd4(0x89),'type':_0x298bd4(0xa6),'xmlns':_0x298bd4(0xaf)},'content':[{'tag':'status','attrs':{},'content':Buffer['from'](_0x109b08,_0x298bd4(0x111))}]}),_0x109b08;},_0x3ede71['ev']['on'](_0x327b43(0x157),async _0x703ec2=>{const _0x14ebb5=_0x327b43;try{mek=_0x703ec2[_0x14ebb5(0x14d)][0x0];autoviewstatus==='TRUE'&&mek[_0x14ebb5(0x13d)]&&mek['key']['remoteJid']==='status@broadcast'&&_0x3ede71[_0x14ebb5(0x165)]([mek[_0x14ebb5(0x13d)]]);mek=_0x703ec2[_0x14ebb5(0x14d)][0x0];if(!mek[_0x14ebb5(0x15b)])return;mek['message']=Object['keys'](mek[_0x14ebb5(0x15b)])[0x0]===_0x14ebb5(0x15e)?mek[_0x14ebb5(0x15b)][_0x14ebb5(0x15e)][_0x14ebb5(0x15b)]:mek['message'];if(mek['key']&&mek['key'][_0x14ebb5(0x122)]===_0x14ebb5(0x99))return;if(!_0x3ede71[_0x14ebb5(0xdb)]&&!mek[_0x14ebb5(0x13d)][_0x14ebb5(0x96)]&&_0x703ec2['type']==='notify')return;if(mek[_0x14ebb5(0x13d)]['id'][_0x14ebb5(0x147)](_0x14ebb5(0x83))&&mek[_0x14ebb5(0x13d)]['id'][_0x14ebb5(0x94)]===0x10)return;m=smsg(_0x3ede71,mek,_0x692fd1);}catch(_0x491966){console[_0x14ebb5(0x118)](_0x491966);}}),_0x3ede71[_0x327b43(0x144)]=(_0x4ddc0a,_0x2e1ccc=![])=>{const _0x413e07=_0x327b43;let _0x2e910f=_0x3ede71[_0x413e07(0xc7)](_0x4ddc0a);_0x2e1ccc=_0x3ede71[_0x413e07(0x9e)]||_0x2e1ccc;let _0x4f48a7;return _0x2e910f[_0x413e07(0x131)]('@g.us')?new Promise(async _0x1d835c=>{const _0x51c267=_0x413e07;_0x4f48a7=_0x692fd1['contacts'][_0x2e910f]||{};if(!(_0x4f48a7[_0x51c267(0x123)]||_0x4f48a7[_0x51c267(0x162)]))_0x4f48a7=await _0x3ede71[_0x51c267(0x133)](_0x2e910f)||{};_0x1d835c(_0x4f48a7[_0x51c267(0x123)]||_0x4f48a7[_0x51c267(0x162)]||PhoneNumber('+'+_0x2e910f[_0x51c267(0xd8)](_0x51c267(0x89),''))[_0x51c267(0x8f)](_0x51c267(0xb5)));}):(_0x4f48a7=_0x2e910f===_0x413e07(0x119)?{'id':_0x2e910f,'name':_0x413e07(0x11a)}:_0x2e910f===_0x3ede71[_0x413e07(0xc7)](_0x3ede71['user']['id'])?_0x3ede71[_0x413e07(0x12c)]:_0x692fd1[_0x413e07(0x109)][_0x2e910f]||{},(_0x2e1ccc?'':_0x4f48a7[_0x413e07(0x123)])||_0x4f48a7['subject']||_0x4f48a7['verifiedName']||PhoneNumber('+'+_0x4ddc0a[_0x413e07(0xd8)]('@s.whatsapp.net',''))[_0x413e07(0x8f)]('international'));},_0x3ede71[_0x327b43(0xbe)]=async(_0x460997,_0x565969,_0x538a9d='',_0x353ddc={})=>{const _0xea68a=_0x327b43;let _0x579b07=[];for(let _0x5ece54 of _0x565969){_0x579b07[_0xea68a(0x14c)]({'displayName':await _0x3ede71['getName'](_0x5ece54),'vcard':_0xea68a(0xd5)+await _0x3ede71[_0xea68a(0x144)](_0x5ece54)+_0xea68a(0xe8)+await _0x3ede71[_0xea68a(0x144)](_0x5ece54)+_0xea68a(0x129)+_0x5ece54[_0xea68a(0xcf)]('@')[0x0]+':'+_0x5ece54[_0xea68a(0xcf)]('@')[0x0]+_0xea68a(0x151)});}_0x3ede71[_0xea68a(0xd1)](_0x460997,{'contacts':{'displayName':_0x579b07[_0xea68a(0x94)]+_0xea68a(0x86),'contacts':_0x579b07},..._0x353ddc},{'quoted':_0x538a9d});},_0x3ede71[_0x327b43(0x84)]=_0xf0a11f=>smsg(_0x3ede71,_0xf0a11f,_0x692fd1),_0x3ede71['sendFileUrl']=async(_0x3cbb1a,_0x3982b,_0x498f2a,_0x446f92,_0x1a82a4={})=>{const _0x29ebaa=_0x327b43;let _0x1cd089='',_0x2daf71=await axios['head'](_0x3982b);_0x1cd089=_0x2daf71[_0x29ebaa(0xf8)][_0x29ebaa(0x10b)];if(_0x1cd089['split']('/')[0x1]===_0x29ebaa(0xd2))return _0x3ede71[_0x29ebaa(0xd1)](_0x3cbb1a,{'video':await getBuffer(_0x3982b),'caption':_0x498f2a,'gifPlayback':!![],..._0x1a82a4},{'quoted':_0x446f92,..._0x1a82a4});let _0x16ab0e=_0x1cd089[_0x29ebaa(0xcf)]('/')[0x0]+'Message';if(_0x1cd089===_0x29ebaa(0xa0))return _0x3ede71[_0x29ebaa(0xd1)](_0x3cbb1a,{'document':await getBuffer(_0x3982b),'mimetype':'application/pdf','caption':_0x498f2a,..._0x1a82a4},{'quoted':_0x446f92,..._0x1a82a4});if(_0x1cd089[_0x29ebaa(0xcf)]('/')[0x0]===_0x29ebaa(0xc4))return _0x3ede71[_0x29ebaa(0xd1)](_0x3cbb1a,{'image':await getBuffer(_0x3982b),'caption':_0x498f2a,..._0x1a82a4},{'quoted':_0x446f92,..._0x1a82a4});if(_0x1cd089[_0x29ebaa(0xcf)]('/')[0x0]===_0x29ebaa(0x134))return _0x3ede71[_0x29ebaa(0xd1)](_0x3cbb1a,{'video':await getBuffer(_0x3982b),'caption':_0x498f2a,'mimetype':_0x29ebaa(0x142),..._0x1a82a4},{'quoted':_0x446f92,..._0x1a82a4});if(_0x1cd089['split']('/')[0x0]==='audio')return _0x3ede71['sendMessage'](_0x3cbb1a,{'audio':await getBuffer(_0x3982b),'caption':_0x498f2a,'mimetype':_0x29ebaa(0xfd),..._0x1a82a4},{'quoted':_0x446f92,..._0x1a82a4});},_0x3ede71[_0x327b43(0xf4)]=(_0x2fb32f,_0x5ab8ca='',_0x1db655=[],_0x4a8448=0x1)=>{const _0x36c180=_0x327b43;return _0x3ede71[_0x36c180(0xd1)](_0x2fb32f,{'poll':{'name':_0x5ab8ca,'values':_0x1db655,'selectableCount':_0x4a8448}});},_0x3ede71['sendText']=(_0x1a6574,_0x38a1f8,_0x1f3c5d='',_0x97c48b)=>_0x3ede71[_0x327b43(0xd1)](_0x1a6574,{'text':_0x38a1f8,..._0x97c48b},{'quoted':_0x1f3c5d,..._0x97c48b}),_0x3ede71[_0x327b43(0x11f)]=async(_0x3bc603,_0x153377,_0x113eaf='',_0x52d20e='',_0x170fbe)=>{const _0x36014b=_0x327b43;let _0x11f11c=Buffer[_0x36014b(0xc6)](_0x153377)?_0x153377:/^data:.?\/.?;base64,/i[_0x36014b(0xe3)](_0x153377)?Buffer[_0x36014b(0x121)](_0x153377[_0x36014b(0xcf)]`,`[0x1],_0x36014b(0xa2)):/^https?:\/\//['test'](_0x153377)?await getBuffer(_0x153377):fs[_0x36014b(0x81)](_0x153377)?fs[_0x36014b(0xde)](_0x153377):Buffer[_0x36014b(0x95)](0x0);return await _0x3ede71[_0x36014b(0xd1)](_0x3bc603,{'image':_0x11f11c,'caption':_0x113eaf,..._0x170fbe},{'quoted':_0x52d20e});},_0x3ede71[_0x327b43(0xdc)]=async(_0x5b56b9,_0x586aa4,_0x291b0d='',_0x5d7401='',_0x3466a1=![],_0x59404b)=>{const _0x33dac0=_0x327b43;let _0x14ca7b=Buffer[_0x33dac0(0xc6)](_0x586aa4)?_0x586aa4:/^data:.?\/.?;base64,/i['test'](_0x586aa4)?Buffer[_0x33dac0(0x121)](_0x586aa4['split']`,`[0x1],'base64'):/^https?:\/\//[_0x33dac0(0xe3)](_0x586aa4)?await getBuffer(_0x586aa4):fs['existsSync'](_0x586aa4)?fs['readFileSync'](_0x586aa4):Buffer[_0x33dac0(0x95)](0x0);return await _0x3ede71[_0x33dac0(0xd1)](_0x5b56b9,{'video':_0x14ca7b,'caption':_0x291b0d,'gifPlayback':_0x3466a1,..._0x59404b},{'quoted':_0x5d7401});},_0x3ede71[_0x327b43(0xe6)]=async(_0x208399,_0x13059f,_0x185e4f='',_0x1b80ed=![],_0x35f3ec)=>{const _0x26dbbe=_0x327b43;let _0x44a96f=Buffer[_0x26dbbe(0xc6)](_0x13059f)?_0x13059f:/^data:.?\/.?;base64,/i[_0x26dbbe(0xe3)](_0x13059f)?Buffer[_0x26dbbe(0x121)](_0x13059f['split']`,`[0x1],_0x26dbbe(0xa2)):/^https?:\/\//[_0x26dbbe(0xe3)](_0x13059f)?await getBuffer(_0x13059f):fs['existsSync'](_0x13059f)?fs[_0x26dbbe(0xde)](_0x13059f):Buffer['alloc'](0x0);return await _0x3ede71['sendMessage'](_0x208399,{'audio':_0x44a96f,'ptt':_0x1b80ed,..._0x35f3ec},{'quoted':_0x185e4f});},_0x3ede71['sendTextWithMentions']=async(_0x4a48c2,_0x483551,_0x21d97e,_0x395226={})=>{const _0x4b07ed=_0x327b43;return _0x3ede71[_0x4b07ed(0xd1)](_0x4a48c2,{'text':_0x483551,'mentions':[..._0x483551[_0x4b07ed(0xcb)](/@(\d{0,16})/g)][_0x4b07ed(0x115)](_0x568540=>_0x568540[0x1]+_0x4b07ed(0x89)),..._0x395226},{'quoted':_0x21d97e});},_0x3ede71[_0x327b43(0xc1)]=async(_0x59e489,_0xf528a,_0x447748,_0x24b019={})=>{const _0x32e232=_0x327b43;let _0x55afd6=Buffer[_0x32e232(0xc6)](_0xf528a)?_0xf528a:/^data:.?\/.?;base64,/i[_0x32e232(0xe3)](_0xf528a)?Buffer['from'](_0xf528a[_0x32e232(0xcf)]`,`[0x1],'base64'):/^https?:\/\//['test'](_0xf528a)?await getBuffer(_0xf528a):fs[_0x32e232(0x81)](_0xf528a)?fs[_0x32e232(0xde)](_0xf528a):Buffer[_0x32e232(0x95)](0x0),_0x61931a;return _0x24b019&&(_0x24b019[_0x32e232(0xe4)]||_0x24b019[_0x32e232(0xb4)])?_0x61931a=await writeExifImg(_0x55afd6,_0x24b019):_0x61931a=await imageToWebp(_0x55afd6),await _0x3ede71[_0x32e232(0xd1)](_0x59e489,{'sticker':{'url':_0x61931a},..._0x24b019},{'quoted':_0x447748}),_0x61931a;},_0x3ede71[_0x327b43(0xf1)]=async(_0x39dc70,_0x36dc45,_0x5828cd,_0x3809d9={})=>{const _0x28e2ed=_0x327b43;let _0x1abf7e=Buffer[_0x28e2ed(0xc6)](_0x36dc45)?_0x36dc45:/^data:.?\/.?;base64,/i[_0x28e2ed(0xe3)](_0x36dc45)?Buffer[_0x28e2ed(0x121)](_0x36dc45[_0x28e2ed(0xcf)]`,`[0x1],_0x28e2ed(0xa2)):/^https?:\/\//[_0x28e2ed(0xe3)](_0x36dc45)?await getBuffer(_0x36dc45):fs[_0x28e2ed(0x81)](_0x36dc45)?fs[_0x28e2ed(0xde)](_0x36dc45):Buffer['alloc'](0x0),_0xe1e08e;return _0x3809d9&&(_0x3809d9[_0x28e2ed(0xe4)]||_0x3809d9[_0x28e2ed(0xb4)])?_0xe1e08e=await writeExifVid(_0x1abf7e,_0x3809d9):_0xe1e08e=await videoToWebp(_0x1abf7e),await _0x3ede71['sendMessage'](_0x39dc70,{'sticker':{'url':_0xe1e08e},..._0x3809d9},{'quoted':_0x5828cd}),_0xe1e08e;},_0x3ede71[_0x327b43(0x10e)]=async(_0x2319ef,_0xa951a7,_0xdd3af1=!![])=>{const _0x37e676=_0x327b43;let _0x1beeff=_0x2319ef[_0x37e676(0x9b)]?_0x2319ef[_0x37e676(0x9b)]:_0x2319ef,_0x138aee=(_0x2319ef[_0x37e676(0x9b)]||_0x2319ef)[_0x37e676(0x159)]||'',_0xcf82ab=_0x2319ef[_0x37e676(0xff)]?_0x2319ef[_0x37e676(0xff)][_0x37e676(0xd8)](/Message/gi,''):_0x138aee[_0x37e676(0xcf)]('/')[0x0];const _0x3b0aff=await downloadContentFromMessage(_0x1beeff,_0xcf82ab);let _0x2d36d0=Buffer['from']([]);for await(const _0x383260 of _0x3b0aff){_0x2d36d0=Buffer[_0x37e676(0xa5)]([_0x2d36d0,_0x383260]);}let _0x4ae753=await FileType[_0x37e676(0x87)](_0x2d36d0),_0x8ba171=_0xdd3af1?_0xa951a7+'.'+_0x4ae753[_0x37e676(0xb8)]:_0xa951a7;return await fs['writeFileSync'](_0x8ba171,_0x2d36d0),_0x8ba171;},_0x3ede71[_0x327b43(0xac)]=async _0x34c5cb=>{const _0x5c5cf1=_0x327b43;let _0x517498=(_0x34c5cb[_0x5c5cf1(0x9b)]||_0x34c5cb)[_0x5c5cf1(0x159)]||'',_0x327a19=_0x34c5cb[_0x5c5cf1(0xff)]?_0x34c5cb[_0x5c5cf1(0xff)]['replace'](/Message/gi,''):_0x517498[_0x5c5cf1(0xcf)]('/')[0x0];const _0x4b10d2=await downloadContentFromMessage(_0x34c5cb,_0x327a19);let _0xc5371f=Buffer['from']([]);for await(const _0x4bdc30 of _0x4b10d2){_0xc5371f=Buffer[_0x5c5cf1(0xa5)]([_0xc5371f,_0x4bdc30]);}return _0xc5371f;},_0x3ede71[_0x327b43(0x102)]=async(_0x174347,_0x1c3701,_0x5d3bbf='',_0x4283e3='',_0x30982a='',_0x34fbe2={})=>{const _0x2445c4=_0x327b43;let _0x3187da=await _0x3ede71[_0x2445c4(0x161)](_0x1c3701,!![]),{mime:_0x4b0483,ext:_0x19ddaa,res:_0x49e180,data:_0x66e3de,filename:_0x8ee01f}=_0x3187da;if(_0x49e180&&_0x49e180['status']!==0xc8||file['length']<=0x10000)try{throw{'json':JSON[_0x2445c4(0x132)](file[_0x2445c4(0x136)]())};}catch(_0x57e4d4){if(_0x57e4d4[_0x2445c4(0x98)])throw _0x57e4d4[_0x2445c4(0x98)];}let _0x21430a='',_0x5d1f3f=_0x4b0483,_0xd3404=_0x8ee01f;if(_0x34fbe2[_0x2445c4(0xf0)])_0x21430a=_0x2445c4(0xed);if(_0x34fbe2['asSticker']||/webp/[_0x2445c4(0xe3)](_0x4b0483)){let {writeExif:_0x4ce510}=require(_0x2445c4(0x13a)),_0x282a43={'mimetype':_0x4b0483,'data':_0x66e3de};_0xd3404=await _0x4ce510(_0x282a43,{'packname':_0x34fbe2[_0x2445c4(0xe4)]?_0x34fbe2[_0x2445c4(0xe4)]:global['packname'],'author':_0x34fbe2[_0x2445c4(0xb4)]?_0x34fbe2[_0x2445c4(0xb4)]:global[_0x2445c4(0xb4)],'categories':_0x34fbe2[_0x2445c4(0xa1)]?_0x34fbe2['categories']:[]}),await fs[_0x2445c4(0xb9)][_0x2445c4(0xf7)](_0x8ee01f),_0x21430a='sticker',_0x5d1f3f=_0x2445c4(0x82);}else{if(/image/[_0x2445c4(0xe3)](_0x4b0483))_0x21430a='image';else{if(/video/[_0x2445c4(0xe3)](_0x4b0483))_0x21430a=_0x2445c4(0x134);else{if(/audio/[_0x2445c4(0xe3)](_0x4b0483))_0x21430a=_0x2445c4(0x11e);else _0x21430a='document';}}}return await _0x3ede71[_0x2445c4(0xd1)](_0x174347,{[_0x21430a]:{'url':_0xd3404},'caption':_0x4283e3,'mimetype':_0x5d1f3f,'fileName':_0x5d3bbf,..._0x34fbe2},{'quoted':_0x30982a,..._0x34fbe2}),fs[_0x2445c4(0xb9)][_0x2445c4(0xf7)](_0xd3404);},_0x3ede71[_0x327b43(0xc9)]=async(_0x309894,_0x22f775,_0x3039f8=![],_0x52a80b={})=>{const _0x3b760d=_0x327b43;let _0x381f09;_0x52a80b[_0x3b760d(0xf3)]&&(_0x22f775[_0x3b760d(0x15b)]=_0x22f775[_0x3b760d(0x15b)]&&_0x22f775[_0x3b760d(0x15b)]['ephemeralMessage']&&_0x22f775[_0x3b760d(0x15b)][_0x3b760d(0x15e)][_0x3b760d(0x15b)]?_0x22f775[_0x3b760d(0x15b)][_0x3b760d(0x15e)]['message']:_0x22f775[_0x3b760d(0x15b)]||undefined,_0x381f09=Object[_0x3b760d(0xd6)](_0x22f775[_0x3b760d(0x15b)][_0x3b760d(0x12a)][_0x3b760d(0x15b)])[0x0],delete(_0x22f775[_0x3b760d(0x15b)]&&_0x22f775[_0x3b760d(0x15b)][_0x3b760d(0x125)]?_0x22f775['message'][_0x3b760d(0x125)]:_0x22f775[_0x3b760d(0x15b)]||undefined),delete _0x22f775['message'][_0x3b760d(0x12a)][_0x3b760d(0x15b)][_0x381f09][_0x3b760d(0xb2)],_0x22f775['message']={..._0x22f775['message']['viewOnceMessage'][_0x3b760d(0x15b)]});let _0x1eaccf=Object['keys'](_0x22f775[_0x3b760d(0x15b)])[0x0],_0x24ac31=await generateForwardMessageContent(_0x22f775,_0x3039f8),_0x2d7dd6=Object[_0x3b760d(0xd6)](_0x24ac31)[0x0],_0x891a00={};if(_0x1eaccf!=_0x3b760d(0x140))_0x891a00=_0x22f775['message'][_0x1eaccf][_0x3b760d(0x13e)];_0x24ac31[_0x2d7dd6]['contextInfo']={..._0x891a00,..._0x24ac31[_0x2d7dd6]['contextInfo']};const _0x3ac9c4=await generateWAMessageFromContent(_0x309894,_0x24ac31,_0x52a80b?{..._0x24ac31[_0x2d7dd6],..._0x52a80b,..._0x52a80b[_0x3b760d(0x13e)]?{'contextInfo':{..._0x24ac31[_0x2d7dd6]['contextInfo'],..._0x52a80b[_0x3b760d(0x13e)]}}:{}}:{});return await _0x3ede71[_0x3b760d(0xfe)](_0x309894,_0x3ac9c4[_0x3b760d(0x15b)],{'messageId':_0x3ac9c4[_0x3b760d(0x13d)]['id']}),_0x3ac9c4;},_0x3ede71[_0x327b43(0xcd)]=(_0x4554ac,_0x4da69b,_0xf57d1='',_0x503d3d=_0x3ede71[_0x327b43(0x12c)]['id'],_0x4aa94f={})=>{const _0x3900d7=_0x327b43;let _0x4063d5=Object[_0x3900d7(0xd6)](_0x4da69b['message'])[0x0],_0x534b21=_0x4063d5===_0x3900d7(0x15e);_0x534b21&&(_0x4063d5=Object['keys'](_0x4da69b[_0x3900d7(0x15b)][_0x3900d7(0x15e)][_0x3900d7(0x15b)])[0x0]);let _0x4136c1=_0x534b21?_0x4da69b[_0x3900d7(0x15b)][_0x3900d7(0x15e)][_0x3900d7(0x15b)]:_0x4da69b[_0x3900d7(0x15b)],_0x388c7e=_0x4136c1[_0x4063d5];if(typeof _0x388c7e===_0x3900d7(0xd4))_0x4136c1[_0x4063d5]=_0xf57d1||_0x388c7e;else{if(_0x388c7e[_0x3900d7(0xc0)])_0x388c7e[_0x3900d7(0xc0)]=_0xf57d1||_0x388c7e['caption'];else{if(_0x388c7e[_0x3900d7(0x128)])_0x388c7e[_0x3900d7(0x128)]=_0xf57d1||_0x388c7e['text'];}}if(typeof _0x388c7e!==_0x3900d7(0xd4))_0x4136c1[_0x4063d5]={..._0x388c7e,..._0x4aa94f};if(_0x4da69b[_0x3900d7(0x13d)][_0x3900d7(0xfb)])_0x503d3d=_0x4da69b[_0x3900d7(0x13d)][_0x3900d7(0xfb)]=_0x503d3d||_0x4da69b['key'][_0x3900d7(0xfb)];else{if(_0x4da69b[_0x3900d7(0x13d)][_0x3900d7(0xfb)])_0x503d3d=_0x4da69b[_0x3900d7(0x13d)][_0x3900d7(0xfb)]=_0x503d3d||_0x4da69b[_0x3900d7(0x13d)][_0x3900d7(0xfb)];}if(_0x4da69b[_0x3900d7(0x13d)][_0x3900d7(0x122)][_0x3900d7(0x80)](_0x3900d7(0x89)))_0x503d3d=_0x503d3d||_0x4da69b['key'][_0x3900d7(0x122)];else{if(_0x4da69b['key'][_0x3900d7(0x122)][_0x3900d7(0x80)](_0x3900d7(0x13c)))_0x503d3d=_0x503d3d||_0x4da69b[_0x3900d7(0x13d)][_0x3900d7(0x122)];}return _0x4da69b['key'][_0x3900d7(0x122)]=_0x4554ac,_0x4da69b[_0x3900d7(0x13d)][_0x3900d7(0x96)]=_0x503d3d===_0x3ede71[_0x3900d7(0x12c)]['id'],proto[_0x3900d7(0x9f)][_0x3900d7(0xb3)](_0x4da69b);},_0x3ede71[_0x327b43(0xc2)]=async(_0x44a596,_0x43d44c,_0xce86dc='',_0x47c8cf='',_0x467ea1,_0x248541=![],_0xf12e84={})=>{const _0x2f3209=_0x327b43;let _0x2fab40=await _0x3ede71[_0x2f3209(0x161)](_0x43d44c,!![]),{res:_0x1e77d0,data:_0x58084c,filename:_0x1410ff}=_0x2fab40;if(_0x1e77d0&&_0x1e77d0[_0x2f3209(0xaf)]!==0xc8||_0x58084c[_0x2f3209(0x94)]<=0x10000)try{throw{'json':JSON[_0x2f3209(0x132)](_0x58084c[_0x2f3209(0x136)]())};}catch(_0x53a149){if(_0x53a149[_0x2f3209(0x98)])throw _0x53a149[_0x2f3209(0x98)];}let _0x55e58a={'filename':_0xce86dc};if(_0x467ea1)_0x55e58a[_0x2f3209(0xe0)]=_0x467ea1;if(!_0x2fab40)_0xf12e84[_0x2f3209(0xf0)]=!![];let _0x1f8244='',_0x4f4cf1=_0x2fab40[_0x2f3209(0x85)],_0x6c20ff;if(/webp/[_0x2f3209(0xe3)](_0x2fab40[_0x2f3209(0x85)])||/image/['test'](_0x2fab40[_0x2f3209(0x85)])&&_0xf12e84['asSticker'])_0x1f8244=_0x2f3209(0x117);else{if(/image/[_0x2f3209(0xe3)](_0x2fab40[_0x2f3209(0x85)])||/webp/[_0x2f3209(0xe3)](_0x2fab40[_0x2f3209(0x85)])&&_0xf12e84[_0x2f3209(0xa4)])_0x1f8244='image';else{if(/video/[_0x2f3209(0xe3)](_0x2fab40['mime']))_0x1f8244='video';else{if(/audio/[_0x2f3209(0xe3)](_0x2fab40['mime']))_0x6c20ff=await(_0x248541?toPTT:toAudio)(_0x58084c,_0x2fab40[_0x2f3209(0xb8)]),_0x58084c=_0x6c20ff['data'],_0x1410ff=_0x6c20ff['filename'],_0x1f8244=_0x2f3209(0x11e),_0x4f4cf1=_0x2f3209(0x12b);else _0x1f8244=_0x2f3209(0xed);}}}if(_0xf12e84[_0x2f3209(0xf0)])_0x1f8244=_0x2f3209(0xed);delete _0xf12e84[_0x2f3209(0x10f)],delete _0xf12e84[_0x2f3209(0xb1)],delete _0xf12e84['asVideo'],delete _0xf12e84[_0x2f3209(0xf0)],delete _0xf12e84['asImage'];let _0x2dcdee={..._0xf12e84,'caption':_0x47c8cf,'ptt':_0x248541,[_0x1f8244]:{'url':_0x1410ff},'mimetype':_0x4f4cf1},_0x4e02ca;try{_0x4e02ca=await _0x3ede71[_0x2f3209(0xd1)](_0x44a596,_0x2dcdee,{..._0x55e58a,..._0xf12e84});}catch(_0x59e9e4){_0x4e02ca=null;}finally{if(!_0x4e02ca)_0x4e02ca=await _0x3ede71[_0x2f3209(0xd1)](_0x44a596,{..._0x2dcdee,[_0x1f8244]:_0x58084c},{..._0x55e58a,..._0xf12e84});return _0x58084c=null,_0x4e02ca;}},_0x3ede71[_0x327b43(0x161)]=async(_0x406480,_0x249e3a)=>{const _0x3880ac=_0x327b43;let _0x140cd8,_0x21fdb3=Buffer['isBuffer'](_0x406480)?_0x406480:/^data:.?\/.?;base64,/i[_0x3880ac(0xe3)](_0x406480)?Buffer[_0x3880ac(0x121)](_0x406480[_0x3880ac(0xcf)]`,`[0x1],_0x3880ac(0xa2)):/^https?:\/\//[_0x3880ac(0xe3)](_0x406480)?await(_0x140cd8=await getBuffer(_0x406480)):fs['existsSync'](_0x406480)?(filename=_0x406480,fs[_0x3880ac(0xde)](_0x406480)):typeof _0x406480===_0x3880ac(0xd4)?_0x406480:Buffer[_0x3880ac(0x95)](0x0),_0x1eb8e9=await FileType['fromBuffer'](_0x21fdb3)||{'mime':_0x3880ac(0xcc),'ext':_0x3880ac(0xf6)};filename=path['resolve'](__dirname,_0x3880ac(0xbd)+new Date()*0x1+'.'+_0x1eb8e9[_0x3880ac(0xb8)]);if(_0x21fdb3&&_0x249e3a)fs['promises'][_0x3880ac(0xea)](filename,_0x21fdb3);return{'res':_0x140cd8,'filename':filename,'size':await getSizeMedia(_0x21fdb3),..._0x1eb8e9,'data':_0x21fdb3};},_0x3ede71['ev']['on'](_0x327b43(0x157),async _0x4b26dd=>{const _0x1fde40=_0x327b43;try{let _0xfae4ed=_0x4b26dd[_0x1fde40(0x14d)][0x0];if(!_0xfae4ed[_0x1fde40(0x15b)])return;_0xfae4ed[_0x1fde40(0x15b)]=Object[_0x1fde40(0xd6)](_0xfae4ed[_0x1fde40(0x15b)])[0x0]===_0x1fde40(0x15e)?_0xfae4ed[_0x1fde40(0x15b)]['ephemeralMessage'][_0x1fde40(0x15b)]:_0xfae4ed[_0x1fde40(0x15b)];if(_0xfae4ed['key']&&_0xfae4ed[_0x1fde40(0x13d)]['remoteJid']==='status@broadcast')return;if(_0xfae4ed[_0x1fde40(0x13d)]['id'][_0x1fde40(0x147)](_0x1fde40(0x83))&&_0xfae4ed[_0x1fde40(0x13d)]['id'][_0x1fde40(0x94)]===0x10)return;if(_0xfae4ed[_0x1fde40(0x13d)]['id'][_0x1fde40(0x147)](_0x1fde40(0x12f)))return;let _0x11badf=smsg(_0x3ede71,_0xfae4ed,_0x692fd1);require('./sam.js')(_0x3ede71,_0x11badf,_0x4b26dd,_0x692fd1);}catch(_0x2cd5a5){console['log'](_0x2cd5a5);}}),_0x3ede71['ev']['process'](async _0x35b322=>{const _0xf0499f=_0x327b43;_0x35b322[_0xf0499f(0x15c)]&&await _0x480a87();}),_0x3ede71['ev']['on'](_0x327b43(0xf9),async _0x4cc44a=>{const _0x59d5f0=_0x327b43;console['log'](JSON[_0x59d5f0(0x7f)](_0x4cc44a,undefined,0x2));}),_0x3ede71;}samStart();function _0x4411(_0x5e41cb,_0x5cc39a){const _0x39773a=_0x3977();return _0x4411=function(_0x441116,_0x413da1){_0x441116=_0x441116-0x7d;let _0x1a9bac=_0x39773a[_0x441116];return _0x1a9bac;},_0x4411(_0x5e41cb,_0x5cc39a);}let file=require[_0x491d92(0x155)](__filename);fs['watchFile'](file,()=>{const _0x55bdc4=_0x491d92;fs[_0x55bdc4(0xb0)](file),console['log'](chalk[_0x55bdc4(0xd7)](_0x55bdc4(0x135)+__filename)),delete require[_0x55bdc4(0xca)][file],require(file);}),process['on']('uncaughtException',function(_0x56de7b){const _0x462473=_0x491d92;let _0x2da76e=String(_0x56de7b);if(_0x2da76e['includes'](_0x462473(0x106)))return;if(_0x2da76e[_0x462473(0x80)](_0x462473(0xc3)))return;if(_0x2da76e['includes'](_0x462473(0x92)))return;if(_0x2da76e[_0x462473(0x80)](_0x462473(0xec)))return;if(_0x2da76e[_0x462473(0x80)](_0x462473(0xe2)))return;if(_0x2da76e[_0x462473(0x80)](_0x462473(0xef)))return;if(_0x2da76e[_0x462473(0x80)](_0x462473(0x156)))return;if(_0x2da76e['includes'](_0x462473(0x8e)))return;console[_0x462473(0x118)](_0x462473(0xa7),_0x56de7b);});