-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathindex.js
2 lines (2 loc) · 33.7 KB
/
index.js
1
2
////edit di setting.js
const _0x9e5afa=_0x45db;(function(_0x54a849,_0x71efbc){const _0x4f72fa=_0x45db,_0x31d93e=_0x54a849();while(!![]){try{const _0x4ed163=parseInt(_0x4f72fa(0x201))/0x1+parseInt(_0x4f72fa(0x263))/0x2*(-parseInt(_0x4f72fa(0x239))/0x3)+parseInt(_0x4f72fa(0x1ab))/0x4*(parseInt(_0x4f72fa(0x20a))/0x5)+parseInt(_0x4f72fa(0x23d))/0x6*(-parseInt(_0x4f72fa(0x21b))/0x7)+-parseInt(_0x4f72fa(0x259))/0x8+parseInt(_0x4f72fa(0x243))/0x9*(parseInt(_0x4f72fa(0x1f9))/0xa)+parseInt(_0x4f72fa(0x200))/0xb;if(_0x4ed163===_0x71efbc)break;else _0x31d93e['push'](_0x31d93e['shift']());}catch(_0x3cab72){_0x31d93e['push'](_0x31d93e['shift']());}}}(_0x3863,0x20329),require(_0x9e5afa(0x1c9)));const {default:XeonBotIncConnect,useSingleFileAuthState,DisconnectReason,fetchLatestBaileysVersion,generateForwardMessageContent,prepareWAMessageMedia,generateWAMessageFromContent,generateMessageID,downloadContentFromMessage,makeInMemoryStore,jidDecode,proto}=require('@adiwajshing/baileys'),{state,saveState}=useSingleFileAuthState(sessionName+_0x9e5afa(0x1cd)),pino=require('pino'),{Boom}=require('@hapi/boom'),fs=require('fs'),yargs=require(_0x9e5afa(0x1fd)),chalk=require(_0x9e5afa(0x1e7)),FileType=require(_0x9e5afa(0x1dc)),path=require('path'),_=require(_0x9e5afa(0x19f)),axios=require('axios'),PhoneNumber=require(_0x9e5afa(0x245)),{imageToWebp,videoToWebp,writeExifImg,writeExifVid}=require(_0x9e5afa(0x225)),{smsg,isUrl,generateMessageTag,getBuffer,getSizeMedia,fetchJson,await,sleep}=require(_0x9e5afa(0x1b4)),{TelegraPh}=require('./lib/uploader'),moment=require(_0x9e5afa(0x26b)),getRandom=_0x3a21c9=>{const _0x15ab77=_0x9e5afa;return''+Math['floor'](Math[_0x15ab77(0x210)]()*0x2710)+_0x3a21c9;};var low;try{low=require(_0x9e5afa(0x1b2));}catch(_0x22c1cb){low=require(_0x9e5afa(0x250));}const {Low,JSONFile}=low,mongoDB=require(_0x9e5afa(0x234));function _0x45db(_0x547984,_0x2b428f){const _0x3863af=_0x3863();return _0x45db=function(_0x45db2f,_0x32bc1c){_0x45db2f=_0x45db2f-0x19f;let _0x1dd079=_0x3863af[_0x45db2f];return _0x1dd079;},_0x45db(_0x547984,_0x2b428f);}global[_0x9e5afa(0x21d)]=(_0x2289bd,_0xd45f77='/',_0x44120b={},_0x4bd1d7)=>(_0x2289bd in global[_0x9e5afa(0x209)]?global[_0x9e5afa(0x209)][_0x2289bd]:_0x2289bd)+_0xd45f77+(_0x44120b||_0x4bd1d7?'?'+new URLSearchParams(Object[_0x9e5afa(0x1db)]({..._0x44120b,..._0x4bd1d7?{[_0x4bd1d7]:global['APIKeys'][_0x2289bd in global[_0x9e5afa(0x209)]?global[_0x9e5afa(0x209)][_0x2289bd]:_0x2289bd]}:{}})):'');const store=makeInMemoryStore({'logger':pino()[_0x9e5afa(0x1e6)]({'level':'silent','stream':'store'})});global[_0x9e5afa(0x241)]=new Object(yargs(process[_0x9e5afa(0x226)][_0x9e5afa(0x21c)](0x2))[_0x9e5afa(0x278)](![])[_0x9e5afa(0x1a4)]()),global['db']=new Low(/https?:\/\//[_0x9e5afa(0x1d7)](opts['db']||'')?new cloudDBAdapter(opts['db']):/mongodb/[_0x9e5afa(0x1d7)](opts['db'])?new mongoDB(opts['db']):new JSONFile(_0x9e5afa(0x1d1))),global[_0x9e5afa(0x22d)]=global['db'],global[_0x9e5afa(0x1a8)]=async function loadDatabase(){const _0x454666=_0x9e5afa;if(global['db'][_0x454666(0x1e5)])return new Promise(_0x430c11=>setInterval(function(){const _0x43862e=_0x454666;!global['db']['READ']?(clearInterval(this),_0x430c11(global['db'][_0x43862e(0x1b8)]==null?global[_0x43862e(0x1a8)]():global['db'][_0x43862e(0x1b8)])):null;},0x1*0x3e8));if(global['db']['data']!==null)return;global['db'][_0x454666(0x1e5)]=!![],await global['db'][_0x454666(0x20e)](),global['db'][_0x454666(0x1e5)]=![],global['db'][_0x454666(0x1b8)]={'users':{},'chats':{},'database':{},'game':{},'settings':{},'others':{},'sticker':{},...global['db'][_0x454666(0x1b8)]||{}},global['db']['chain']=_[_0x454666(0x215)](global['db']['data']);},loadDatabase(),process['on'](_0x9e5afa(0x256),console[_0x9e5afa(0x207)]);if(global['db'])setInterval(async()=>{const _0x157e09=_0x9e5afa;if(global['db']['data'])await global['db'][_0x157e09(0x1a3)]();},0x1e*0x3e8);function _0x3863(){const _0x1246b4=['2359lSiGXy','slice','api','「\x20Group\x20Settings\x20Changed\x20」\x0a\x0aGroup\x20Info\x20Has\x20Been\x20Restricted,\x20Now\x20Only\x20Admin\x20Can\x20Edit\x20Group\x20Info\x20!','author','alloc','Message','keys','restartRequired','Connected...','./lib/exif','argv','groups.update','「\x20Group\x20Settings\x20Changed\x20」\x0a\x0aGroup\x20Info\x20Has\x20Been\x20Opened,\x20Now\x20Participants\x20Can\x20Edit\x20Group\x20Info\x20!','statusCode','sendTextWithMentions','getNumber','json','DATABASE','base64','connectionLost','\x0a\x20\x20\x20└───────────────┈\x20⳹','content','end','[email protected]','./lib/mongoDB','th\x0a\x20\x20\x20│✑\x20\x20𝗝𝗼𝗶𝗻𝗲𝗱\x20:\x20\x0a\x20\x20\x20│✑\x20','unwatchFile','./src/','replace','603TNpupw','format','string','connectionClosed','3570eRmpNG','getFile','head','./Maslent/pplent/lent.xlsx','opts','sendListMsg','9BdxsgJ','loggedOut','awesome-phonenumber','contacts','application/octet-stream','「\x20Group\x20Settings\x20Changed\x20」\x0a\x0aThe\x20Group\x20Has\x20Been\x20Closed\x20By\x20Admin,\x20Now\x20Only\x20Admin\x20Can\x20Send\x20Messages\x20!','remove','remoteJid','announce','image/webp','sendVideoAsSticker','sendContact','profilePictureUrl','./lib/lowdb','sendImage','sendImageAsSticker','offer','copyNForward','xeon','uncaughtException','connectionReplaced','attrs','1757720IqdIFw','logout','th\x0a\x20\x20\x20│✑\x20\x20𝗧𝗶𝗺𝗲\x20:\x20\x0a\x20\x20\x20│✑\x20\x20','HH:mm:ss','mtype','resolve','downloadAndSaveMediaMessage','notify','groupMetadata','participant','574dertzj','videoMessage','tag','「\x20Group\x20Settings\x20Changed\x20」\x0a\x0aGroup\x20Subject\x20Has\x20Been\x20Changed\x20To\x20*','\x0aFN:','[email protected]','fromMe','application/pdf','moment-timezone','Connection\x20TimedOut,\x20Reconnecting...','./MaslentV8','matchAll','bind','push','action','Connection\x20closed,\x20reconnecting....','withoutContact','https://i.ibb.co/RBx5SQC/avatar-group-large-v2.png','\x0a\x20\x20\x20│✑\x20\x20𝗠𝗲𝗺𝗯𝗲𝗿\x20:\x20\x0a\x20\x20\x20│✑\x20','viewOnceMessage','asSticker','exitProcess','sendVideo','lodash','from','messages','Sayonara\x20🥀','write','parse','audio','type','floor','loadDatabase','promises','fromObject','40eymCdK','server','concat','waUploadToServer','viewOnce','close','send5ButMsg','lowdb','output','./lib/myfunc','message','\x0aitem1.TEL;waid=','Restart\x20Required,\x20Restarting...','data','getName','caption','send5ButImg','@broadcast','utf-8','decodeJid','sendAudio','document','conversation','restrict','\x20Kontak','Update\x20','length','Connection\x20Lost\x20from\x20Server,\x20reconnecting...','┌─❖\x0a│「\x20𝗛𝗶\x20👋\x20」\x0a└┬❖\x20「\x20@','badSession','./settings','video/mp4','text','readViewOnce','.json','Maslent\x20Bot\x20Md\x20v8','international','isBuffer','src/database.json','verifiedName','owner','connection.update','timedOut','video','test','split','Safari','ext','entries','file-type','contextInfo','relayMessage','name','subject','public','「\x20Group\x20Settings\x20Changed\x20」\x0a\x0aThe\x20Group\x20Has\x20Been\x20Opened\x20By\x20Admin,\x20Now\x20Participants\x20Can\x20Send\x20Messages\x20!','@s.whatsapp.net','endsWith','READ','child','chalk','key','cMod','Connection\x20Replaced,\x20Another\x20New\x20Session\x20Opened,\x20Please\x20Close\x20Current\x20Session\x20First','participants','silent','fromBuffer','writeFile','ephemeralMessage','CB:call','send5ButVid','Asia/Kolkata','content-type','sendButtonText',';;;;\x0aitem4.X-ABLabel:Region\x0aEND:VCARD','┌─❖\x0a│「\x20𝗚𝗼𝗼𝗱𝗯𝘆𝗲\x20👋\x20」\x0a└┬❖\x20「\x20@','Bad\x20Session\x20File,\x20Please\x20Delete\x20Session\x20and\x20Scan\x20Again','\x20\x20」\x0a\x20\x20\x20│✑\x20\x20𝗟𝗲𝗳𝘁\x20\x0a\x20\x20\x20│✑\x20','1369910LsYvJT','categories','existsSync','sendMessage','yargs/yargs','query','sticker','3520891cMjwFq','65116NDhsLM','redBright','ignore','packname','block','writeFileSync','error','msg','APIs','43805fqDUER','readFileSync','startsWith','log','read','toString','random','user','map','wkwkwk','includes','chain','updateBlockStatus','serializeM','DD/MM/YYYY','imageMessage','image'];_0x3863=function(){return _0x1246b4;};return _0x3863();}async function startXeonBotInc(){const _0x18872e=_0x9e5afa,_0xf2c9a9=XeonBotIncConnect({'logger':pino({'level':_0x18872e(0x1ec)}),'printQRInTerminal':!![],'browser':[_0x18872e(0x1ce),_0x18872e(0x1d9),'1.0.0'],'auth':state});store[_0x18872e(0x26f)](_0xf2c9a9['ev']),_0xf2c9a9['ws']['on'](_0x18872e(0x1f0),async _0x3cfe05=>{const _0x3be2ef=_0x18872e,_0x32753b=_0x3cfe05[_0x3be2ef(0x231)][0x0][_0x3be2ef(0x258)]['call-creator'];if(_0x3cfe05['content'][0x0][_0x3be2ef(0x265)]==_0x3be2ef(0x253)){let _0x1ac7f5=await _0xf2c9a9[_0x3be2ef(0x24e)](_0x32753b,global[_0x3be2ef(0x1d3)]);_0xf2c9a9[_0x3be2ef(0x1fc)](_0x32753b,{'text':'*Automatic\x20blocking\x20system!*\x0a*Don\x27t\x20call\x20bot*!\x0a*Please\x20contact\x20the\x20owner\x20to\x20open\x20block\x20!*'},{'quoted':_0x1ac7f5}),await sleep(0x1f40),await _0xf2c9a9[_0x3be2ef(0x216)](_0x32753b,_0x3be2ef(0x205));}}),_0xf2c9a9['ev']['on']('messages.upsert',async _0xf8944d=>{const _0x29febd=_0x18872e;try{mek=_0xf8944d[_0x29febd(0x1a1)][0x0];if(!mek[_0x29febd(0x1b5)])return;mek['message']=Object[_0x29febd(0x222)](mek[_0x29febd(0x1b5)])[0x0]===_0x29febd(0x1ef)?mek[_0x29febd(0x1b5)][_0x29febd(0x1ef)][_0x29febd(0x1b5)]:mek[_0x29febd(0x1b5)];if(mek['key']&&mek[_0x29febd(0x1e8)][_0x29febd(0x24a)]==='status@broadcast')return;if(!_0xf2c9a9[_0x29febd(0x1e1)]&&!mek[_0x29febd(0x1e8)]['fromMe']&&_0xf8944d[_0x29febd(0x1a6)]==='notify')return;if(mek[_0x29febd(0x1e8)]['id'][_0x29febd(0x20c)]('BAE5')&&mek[_0x29febd(0x1e8)]['id'][_0x29febd(0x1c5)]===0x10)return;m=smsg(_0xf2c9a9,mek,store),require(_0x29febd(0x26d))(_0xf2c9a9,m,_0xf8944d,store);}catch(_0x5da280){console[_0x29febd(0x20d)](_0x5da280);}}),_0xf2c9a9['ev']['on'](_0x18872e(0x227),async _0x252c4a=>{const _0x4d1a6f=_0x18872e;try{ppgc=await _0xf2c9a9['profilePictureUrl'](_0x252c4a[0x0]['id'],'image');}catch{ppgc=_0x4d1a6f(0x274);}let _0x4f3755={'url':ppgc};if(_0x252c4a[0x0][_0x4d1a6f(0x24b)]==!![])_0xf2c9a9['send5ButImg'](_0x252c4a[0x0]['id'],_0x4d1a6f(0x248),''+botname,_0x4f3755,[]);else{if(_0x252c4a[0x0][_0x4d1a6f(0x24b)]==![])_0xf2c9a9[_0x4d1a6f(0x1bb)](_0x252c4a[0x0]['id'],_0x4d1a6f(0x1e2),''+botname,_0x4f3755,[]);else{if(_0x252c4a[0x0][_0x4d1a6f(0x1c2)]==!![])_0xf2c9a9[_0x4d1a6f(0x1bb)](_0x252c4a[0x0]['id'],_0x4d1a6f(0x21e),''+botname,_0x4f3755,[]);else _0x252c4a[0x0][_0x4d1a6f(0x1c2)]==![]?_0xf2c9a9[_0x4d1a6f(0x1bb)](_0x252c4a[0x0]['id'],_0x4d1a6f(0x228),''+botname,_0x4f3755,[]):_0xf2c9a9[_0x4d1a6f(0x1bb)](_0x252c4a[0x0]['id'],_0x4d1a6f(0x266)+_0x252c4a[0x0][_0x4d1a6f(0x1e0)]+'*',''+botname,_0x4f3755,[]);}}});function _0x3ac4dd(_0x300678){const _0x2b4b23=_0x18872e;return _0x300678[Math[_0x2b4b23(0x1a7)](_0x300678['length']*Math[_0x2b4b23(0x210)]())];}let _0x21e03b=[doc1,doc2,doc3,doc4,doc5,doc6],_0x15b458=_0x3ac4dd(_0x21e03b);return _0xf2c9a9['ev']['on']('group-participants.update',async _0x27467a=>{const _0x593f47=_0x18872e;console[_0x593f47(0x20d)](_0x27467a);try{let _0x25c7a1=await _0xf2c9a9[_0x593f47(0x261)](_0x27467a['id']),_0x5d64f7=_0x27467a[_0x593f47(0x1eb)];for(let _0x1a672b of _0x5d64f7){try{ppuser=await _0xf2c9a9[_0x593f47(0x24f)](_0x1a672b,'image');}catch{ppuser='https://i.ibb.co/sbqvDMw/avatar-contact-large-v2.png';}try{ppgroup=await zass[_0x593f47(0x24f)](_0x27467a['id'],'image');}catch{ppgroup=_0x593f47(0x274);}let _0xf444a2=await _0xf2c9a9[_0x593f47(0x1b9)](_0x1a672b);memb=_0x25c7a1['participants'][_0x593f47(0x1c5)],XeonWlcm=await getBuffer(ppuser),XeonLft=await getBuffer(ppuser);if(_0x27467a[_0x593f47(0x271)]=='add'){const _0x53f5a0=await getBuffer(ppuser);let _0x293a5c=_0x1a672b;const _0x1528a0=moment['tz']('Asia/Kolkata')['format'](_0x593f47(0x25c)),_0x4c3a26=moment['tz'](_0x593f47(0x1f2))['format']('DD/MM/YYYY'),_0x41d909=_0x25c7a1[_0x593f47(0x1eb)][_0x593f47(0x1c5)];let _0x328d76={'key':{'fromMe':![],'participant':'[email protected]','remoteJid':'[email protected]'},'message':{'orderMessage':{'itemCount':0x98967f,'status':0xc8,'thumbnail':XeonWlcm,'surface':0xc8,'message':''+_0x25c7a1[_0x593f47(0x1e0)],'orderTitle':_0x593f47(0x255),'sellerJid':_0x593f47(0x233)}},'contextInfo':{'forwardingScore':0x3e7,'isForwarded':!![]},'sendEphemeral':!![]};xeonbody=_0x593f47(0x1c7)+_0x293a5c['split']('@')[0x0]+'\x20\x20」\x0a\x20\x20\x20│✑\x20\x20𝗪𝗲𝗹𝗰𝗼𝗺𝗲\x20𝘁𝗼\x20\x0a\x20\x20\x20│✑\x20\x20'+_0x25c7a1['subject']+'\x0a\x20\x20\x20│✑\x20\x20𝗠𝗲𝗺𝗯𝗲𝗿\x20:\x20\x0a\x20\x20\x20│✑\x20'+_0x41d909+_0x593f47(0x235)+_0x1528a0+'\x20'+_0x4c3a26+_0x593f47(0x230);let _0x209b1e=[{'buttonId':'wkwwk','buttonText':{'displayText':'Welcome\x20💐'},'type':0x1}],_0xdb3d32={'document':fs[_0x593f47(0x20b)](_0x593f47(0x240)),'mimetype':_0x15b458,'jpegThumbnail':XeonWlcm,'mentions':[_0x1a672b],'fileName':''+_0x25c7a1['subject'],'fileLength':0x5af3107a3fff,'caption':xeonbody,'footer':''+botname,'buttons':_0x209b1e,'headerType':0x4,'contextInfo':{'externalAdReply':{'title':''+ownername,'body':'Don\x27t\x20forget\x20to\x20read\x20group\x20description','mediaType':0x2,'thumbnail':XeonWlcm,'sourceUrl':''+websitex,'mediaUrl':''+websitex}}};_0xf2c9a9[_0x593f47(0x1fc)](_0x27467a['id'],_0xdb3d32,{'quoted':_0x328d76});}else{if(_0x27467a['action']==_0x593f47(0x249)){const _0x348702=await getBuffer(ppuser),_0xfccafd=moment['tz'](_0x593f47(0x1f2))[_0x593f47(0x23a)]('HH:mm:ss'),_0xac1d15=moment['tz'](_0x593f47(0x1f2))[_0x593f47(0x23a)](_0x593f47(0x218));let _0x3e44da=_0x1a672b;const _0x4c3cdd=_0x25c7a1[_0x593f47(0x1eb)][_0x593f47(0x1c5)];let _0x583838={'key':{'fromMe':![],'participant':_0x593f47(0x233),'remoteJid':_0x593f47(0x268)},'message':{'orderMessage':{'itemCount':0x98967f,'status':0xc8,'thumbnail':_0x348702,'surface':0xc8,'message':''+_0x25c7a1[_0x593f47(0x1e0)],'orderTitle':_0x593f47(0x255),'sellerJid':_0x593f47(0x233)}},'contextInfo':{'forwardingScore':0x3e7,'isForwarded':!![]},'sendEphemeral':!![]};xeonbody=_0x593f47(0x1f6)+_0x3e44da['split']('@')[0x0]+_0x593f47(0x1f8)+_0x25c7a1[_0x593f47(0x1e0)]+_0x593f47(0x275)+_0x4c3cdd+_0x593f47(0x25b)+_0xfccafd+'\x20'+_0xac1d15+_0x593f47(0x230);let _0x12b80e=[{'buttonId':_0x593f47(0x213),'buttonText':{'displayText':_0x593f47(0x1a2)},'type':0x1}],_0x1db07b={'document':fs[_0x593f47(0x20b)](_0x593f47(0x240)),'mimetype':_0x15b458,'jpegThumbnail':XeonLft,'mentions':[_0x1a672b],'fileName':''+_0x25c7a1[_0x593f47(0x1e0)],'fileLength':0x5af3107a3fff,'caption':xeonbody,'footer':''+botname,'buttons':_0x12b80e,'headerType':0x4,'contextInfo':{'externalAdReply':{'title':''+ownername,'body':'Bye!\x20my\x20friend,\x20take\x20care.','mediaType':0x2,'thumbnail':XeonLft,'sourceUrl':''+websitex,'mediaUrl':''+websitex}}};_0xf2c9a9['sendMessage'](_0x27467a['id'],_0x1db07b,{'quoted':_0x583838});}}}}catch(_0x2c8b02){console[_0x593f47(0x20d)](_0x2c8b02);}}),_0xf2c9a9['decodeJid']=_0x48333f=>{const _0xae703b=_0x18872e;if(!_0x48333f)return _0x48333f;if(/:\d+@/gi['test'](_0x48333f)){let _0xf5a598=jidDecode(_0x48333f)||{};return _0xf5a598['user']&&_0xf5a598['server']&&_0xf5a598[_0xae703b(0x211)]+'@'+_0xf5a598[_0xae703b(0x1ac)]||_0x48333f;}else return _0x48333f;},_0xf2c9a9['ev']['on']('contacts.update',_0x11282a=>{const _0x6ac372=_0x18872e;for(let _0x11cf76 of _0x11282a){let _0x1a68fd=_0xf2c9a9[_0x6ac372(0x1be)](_0x11cf76['id']);if(store&&store[_0x6ac372(0x246)])store['contacts'][_0x1a68fd]={'id':_0x1a68fd,'name':_0x11cf76[_0x6ac372(0x260)]};}}),_0xf2c9a9[_0x18872e(0x1b9)]=(_0x1b704f,_0x2da72b=![])=>{const _0x6ed0c5=_0x18872e;id=_0xf2c9a9[_0x6ed0c5(0x1be)](_0x1b704f),_0x2da72b=_0xf2c9a9[_0x6ed0c5(0x273)]||_0x2da72b;let _0x7625e8;if(id[_0x6ed0c5(0x1e4)]('@g.us'))return new Promise(async _0x283b26=>{const _0x3f3b1a=_0x6ed0c5;_0x7625e8=store[_0x3f3b1a(0x246)][id]||{};if(!(_0x7625e8[_0x3f3b1a(0x1df)]||_0x7625e8['subject']))_0x7625e8=_0xf2c9a9[_0x3f3b1a(0x261)](id)||{};_0x283b26(_0x7625e8[_0x3f3b1a(0x1df)]||_0x7625e8[_0x3f3b1a(0x1e0)]||PhoneNumber('+'+id['replace'](_0x3f3b1a(0x1e3),''))['getNumber'](_0x3f3b1a(0x1cf)));});else _0x7625e8=id===_0x6ed0c5(0x233)?{'id':id,'name':'WhatsApp'}:id===_0xf2c9a9[_0x6ed0c5(0x1be)](_0xf2c9a9[_0x6ed0c5(0x211)]['id'])?_0xf2c9a9[_0x6ed0c5(0x211)]:store[_0x6ed0c5(0x246)][id]||{};return(_0x2da72b?'':_0x7625e8['name'])||_0x7625e8[_0x6ed0c5(0x1e0)]||_0x7625e8[_0x6ed0c5(0x1d2)]||PhoneNumber('+'+_0x1b704f[_0x6ed0c5(0x238)](_0x6ed0c5(0x1e3),''))[_0x6ed0c5(0x22b)](_0x6ed0c5(0x1cf));},_0xf2c9a9[_0x18872e(0x24e)]=async(_0x32ce0f,_0x2b24e9,_0x3ca48b='',_0x2bb451={})=>{const _0x5e6c7a=_0x18872e;let _0x2cca8f=[];for(let _0x5bbf2c of _0x2b24e9){_0x2cca8f[_0x5e6c7a(0x270)]({'displayName':await _0xf2c9a9[_0x5e6c7a(0x1b9)](_0x5bbf2c),'vcard':'BEGIN:VCARD\x0aVERSION:3.0\x0aN:'+await _0xf2c9a9[_0x5e6c7a(0x1b9)](_0x5bbf2c)+_0x5e6c7a(0x267)+await _0xf2c9a9[_0x5e6c7a(0x1b9)](_0x5bbf2c)+_0x5e6c7a(0x1b6)+_0x5bbf2c+':'+_0x5bbf2c+'\x0aitem1.X-ABLabel:Click\x20here\x20to\x20chat\x0aitem2.EMAIL;type=INTERNET:'+ytname+'\x0aitem2.X-ABLabel:YouTube\x0aitem3.URL:'+socialm+'\x0aitem3.X-ABLabel:GitHub\x0aitem4.ADR:;;'+location+_0x5e6c7a(0x1f5)});}_0xf2c9a9[_0x5e6c7a(0x1fc)](_0x32ce0f,{'contacts':{'displayName':_0x2cca8f[_0x5e6c7a(0x1c5)]+_0x5e6c7a(0x1c3),'contacts':_0x2cca8f},..._0x2bb451},{'quoted':_0x3ca48b});},_0xf2c9a9['setStatus']=_0x23df95=>{const _0x3b85a9=_0x18872e;return _0xf2c9a9[_0x3b85a9(0x1fe)]({'tag':'iq','attrs':{'to':_0x3b85a9(0x1e3),'type':'set','xmlns':'status'},'content':[{'tag':'status','attrs':{},'content':Buffer[_0x3b85a9(0x1a0)](_0x23df95,_0x3b85a9(0x1bd))}]}),_0x23df95;},_0xf2c9a9[_0x18872e(0x1e1)]=!![],_0xf2c9a9[_0x18872e(0x217)]=_0x5a7841=>smsg(_0xf2c9a9,_0x5a7841,store),_0xf2c9a9['ev']['on'](_0x18872e(0x1d4),async _0x2a1d7c=>{const _0x500123=_0x18872e,{connection:_0x35e329,lastDisconnect:_0x16a4b9}=_0x2a1d7c;if(_0x35e329===_0x500123(0x1b0)){let _0x44ffaa=new Boom(_0x16a4b9?.[_0x500123(0x207)])?.[_0x500123(0x1b3)][_0x500123(0x229)];if(_0x44ffaa===DisconnectReason[_0x500123(0x1c8)])console[_0x500123(0x20d)](_0x500123(0x1f7)),_0xf2c9a9[_0x500123(0x25a)]();else{if(_0x44ffaa===DisconnectReason[_0x500123(0x23c)])console[_0x500123(0x20d)](_0x500123(0x272)),startXeonBotInc();else{if(_0x44ffaa===DisconnectReason[_0x500123(0x22f)])console[_0x500123(0x20d)](_0x500123(0x1c6)),startXeonBotInc();else{if(_0x44ffaa===DisconnectReason[_0x500123(0x257)])console[_0x500123(0x20d)](_0x500123(0x1ea)),_0xf2c9a9[_0x500123(0x25a)]();else{if(_0x44ffaa===DisconnectReason[_0x500123(0x244)])console[_0x500123(0x20d)]('Device\x20Logged\x20Out,\x20Please\x20Scan\x20Again\x20And\x20Run.'),_0xf2c9a9[_0x500123(0x25a)]();else{if(_0x44ffaa===DisconnectReason[_0x500123(0x223)])console[_0x500123(0x20d)](_0x500123(0x1b7)),startXeonBotInc();else{if(_0x44ffaa===DisconnectReason[_0x500123(0x1d5)])console[_0x500123(0x20d)](_0x500123(0x26c)),startXeonBotInc();else _0xf2c9a9[_0x500123(0x232)]('Unknown\x20DisconnectReason:\x20'+_0x44ffaa+'|'+_0x35e329);}}}}}}}console['log'](_0x500123(0x224),_0x2a1d7c);}),_0xf2c9a9['ev']['on']('creds.update',saveState),_0xf2c9a9['sendFileUrl']=async(_0x573f67,_0x29f63c,_0x34d792,_0x38ab98,_0x2acdd1={})=>{const _0x2116d6=_0x18872e;let _0xe723cc='',_0x6ea8ad=await axios[_0x2116d6(0x23f)](_0x29f63c);_0xe723cc=_0x6ea8ad['headers'][_0x2116d6(0x1f3)];if(_0xe723cc[_0x2116d6(0x1d8)]('/')[0x1]==='gif')return _0xf2c9a9[_0x2116d6(0x1fc)](_0x573f67,{'video':await getBuffer(_0x29f63c),'caption':_0x34d792,'gifPlayback':!![],..._0x2acdd1},{'quoted':_0x38ab98,..._0x2acdd1});let _0x19de93=_0xe723cc[_0x2116d6(0x1d8)]('/')[0x0]+_0x2116d6(0x221);if(_0xe723cc===_0x2116d6(0x26a))return _0xf2c9a9['sendMessage'](_0x573f67,{'document':await getBuffer(_0x29f63c),'mimetype':_0x2116d6(0x26a),'caption':_0x34d792,..._0x2acdd1},{'quoted':_0x38ab98,..._0x2acdd1});if(_0xe723cc['split']('/')[0x0]===_0x2116d6(0x21a))return _0xf2c9a9['sendMessage'](_0x573f67,{'image':await getBuffer(_0x29f63c),'caption':_0x34d792,..._0x2acdd1},{'quoted':_0x38ab98,..._0x2acdd1});if(_0xe723cc['split']('/')[0x0]===_0x2116d6(0x1d6))return _0xf2c9a9[_0x2116d6(0x1fc)](_0x573f67,{'video':await getBuffer(_0x29f63c),'caption':_0x34d792,'mimetype':_0x2116d6(0x1ca),..._0x2acdd1},{'quoted':_0x38ab98,..._0x2acdd1});if(_0xe723cc['split']('/')[0x0]==='audio')return _0xf2c9a9[_0x2116d6(0x1fc)](_0x573f67,{'audio':await getBuffer(_0x29f63c),'caption':_0x34d792,'mimetype':'audio/mpeg',..._0x2acdd1},{'quoted':_0x38ab98,..._0x2acdd1});},_0xf2c9a9[_0x18872e(0x242)]=(_0x591b11,_0x116a5b='',_0x75b642='',_0x135fac='',_0x44247d='',_0x586499=[],_0x28c559)=>{const _0x23af80=_0x18872e;let _0x358374=_0x586499;var _0x5c06d9={'text':_0x116a5b,'footer':_0x75b642,'title':_0x135fac,'buttonText':_0x44247d,'sections':_0x358374};_0xf2c9a9[_0x23af80(0x1fc)](_0x591b11,_0x5c06d9,{'quoted':_0x28c559});},_0xf2c9a9[_0x18872e(0x1b1)]=(_0x24910d,_0xd62409='',_0x5a7a7f='',_0x1ef1e3=[])=>{const _0xab66cc=_0x18872e;let _0x2f9e06=_0x1ef1e3;var _0x19cb71={'text':_0xd62409,'footer':_0x5a7a7f,'templateButtons':_0x2f9e06};_0xf2c9a9[_0xab66cc(0x1fc)](_0x24910d,_0x19cb71);},_0xf2c9a9[_0x18872e(0x1bb)]=async(_0x5650bf,_0x5c8263='',_0x205fb3='',_0x3e7777,_0x4cec19=[],_0x3d3d0a={})=>{const _0xabd221=_0x18872e;let _0x1d70d5=await prepareWAMessageMedia({'image':_0x3e7777},{'upload':_0xf2c9a9['waUploadToServer']});var _0x2363ed=generateWAMessageFromContent(_0x5650bf,proto[_0xabd221(0x221)][_0xabd221(0x1aa)]({'templateMessage':{'hydratedTemplate':{'imageMessage':_0x1d70d5[_0xabd221(0x219)],'hydratedContentText':_0x5c8263,'hydratedFooterText':_0x205fb3,'hydratedButtons':_0x4cec19}}}),_0x3d3d0a);_0xf2c9a9[_0xabd221(0x1de)](_0x5650bf,_0x2363ed[_0xabd221(0x1b5)],{'messageId':_0x2363ed[_0xabd221(0x1e8)]['id']});},_0xf2c9a9[_0x18872e(0x1f1)]=async(_0x21ef48,_0x5e5d16='',_0x277b06='',_0x87d942,_0xfc399=[],_0x27c095={})=>{const _0x26ad9e=_0x18872e;let _0x59815c=await prepareWAMessageMedia({'video':_0x87d942},{'upload':_0xf2c9a9[_0x26ad9e(0x1ae)]});var _0x282084=generateWAMessageFromContent(_0x21ef48,proto[_0x26ad9e(0x221)][_0x26ad9e(0x1aa)]({'templateMessage':{'hydratedTemplate':{'videoMessage':_0x59815c[_0x26ad9e(0x264)],'hydratedContentText':_0x5e5d16,'hydratedFooterText':_0x277b06,'hydratedButtons':_0xfc399}}}),_0x27c095);_0xf2c9a9[_0x26ad9e(0x1de)](_0x21ef48,_0x282084[_0x26ad9e(0x1b5)],{'messageId':_0x282084['key']['id']});},_0xf2c9a9['send5ButGif']=async(_0x497bae,_0x47a077='',_0x565eca='',_0x44faa6,_0x5acfd2=[],_0x210d7b={})=>{const _0x187fc8=_0x18872e;let _0x3962ab=await prepareWAMessageMedia({'video':_0x44faa6,'gifPlayback':!![]},{'upload':_0xf2c9a9[_0x187fc8(0x1ae)]});var _0x338b87=generateWAMessageFromContent(_0x497bae,proto[_0x187fc8(0x221)][_0x187fc8(0x1aa)]({'templateMessage':{'hydratedTemplate':{'videoMessage':_0x3962ab[_0x187fc8(0x264)],'hydratedContentText':_0x47a077,'hydratedFooterText':_0x565eca,'hydratedButtons':_0x5acfd2}}}),_0x210d7b);_0xf2c9a9[_0x187fc8(0x1de)](_0x497bae,_0x338b87[_0x187fc8(0x1b5)],{'messageId':_0x338b87[_0x187fc8(0x1e8)]['id']});},_0xf2c9a9[_0x18872e(0x1f4)]=(_0x2189a9,_0x34d867=[],_0x3ee82f,_0x252ccf,_0x4fb2c6='',_0x1a90f4={})=>{let _0x4c536d={'text':_0x3ee82f,'footer':_0x252ccf,'buttons':_0x34d867,'headerType':0x2,..._0x1a90f4};_0xf2c9a9['sendMessage'](_0x2189a9,_0x4c536d,{'quoted':_0x4fb2c6,..._0x1a90f4});},_0xf2c9a9['sendText']=(_0x34fe9e,_0x43f33f,_0x1817cd='',_0x1e0eb0)=>_0xf2c9a9[_0x18872e(0x1fc)](_0x34fe9e,{'text':_0x43f33f,..._0x1e0eb0},{'quoted':_0x1817cd}),_0xf2c9a9[_0x18872e(0x251)]=async(_0x31147d,_0x287422,_0x356b8d='',_0x3bb76d='',_0x3527d2)=>{const _0x2b69d7=_0x18872e;let _0x49b7aa=Buffer[_0x2b69d7(0x1d0)](_0x287422)?_0x287422:/^data:.*?\/.*?;base64,/i[_0x2b69d7(0x1d7)](_0x287422)?Buffer['from'](_0x287422[_0x2b69d7(0x1d8)]`,`[0x1],_0x2b69d7(0x22e)):/^https?:\/\//['test'](_0x287422)?await await getBuffer(_0x287422):fs[_0x2b69d7(0x1fb)](_0x287422)?fs[_0x2b69d7(0x20b)](_0x287422):Buffer[_0x2b69d7(0x220)](0x0);return await _0xf2c9a9[_0x2b69d7(0x1fc)](_0x31147d,{'image':_0x49b7aa,'caption':_0x356b8d,..._0x3527d2},{'quoted':_0x3bb76d});},_0xf2c9a9[_0x18872e(0x279)]=async(_0xab386e,_0x2ce93,_0x11572a='',_0xf636a6='',_0x200b46=![],_0x57d9c0)=>{const _0xde4cec=_0x18872e;let _0x442958=Buffer[_0xde4cec(0x1d0)](_0x2ce93)?_0x2ce93:/^data:.*?\/.*?;base64,/i['test'](_0x2ce93)?Buffer[_0xde4cec(0x1a0)](_0x2ce93['split']`,`[0x1],_0xde4cec(0x22e)):/^https?:\/\//['test'](_0x2ce93)?await await getBuffer(_0x2ce93):fs[_0xde4cec(0x1fb)](_0x2ce93)?fs[_0xde4cec(0x20b)](_0x2ce93):Buffer[_0xde4cec(0x220)](0x0);return await _0xf2c9a9['sendMessage'](_0xab386e,{'video':_0x442958,'caption':_0x11572a,'gifPlayback':_0x200b46,..._0x57d9c0},{'quoted':_0xf636a6});},_0xf2c9a9[_0x18872e(0x1bf)]=async(_0x329969,_0x3e4618,_0xd65739='',_0x5b4771=![],_0x3dcb07)=>{const _0x378bd6=_0x18872e;let _0x1ceb59=Buffer[_0x378bd6(0x1d0)](_0x3e4618)?_0x3e4618:/^data:.*?\/.*?;base64,/i[_0x378bd6(0x1d7)](_0x3e4618)?Buffer[_0x378bd6(0x1a0)](_0x3e4618[_0x378bd6(0x1d8)]`,`[0x1],'base64'):/^https?:\/\//[_0x378bd6(0x1d7)](_0x3e4618)?await await getBuffer(_0x3e4618):fs[_0x378bd6(0x1fb)](_0x3e4618)?fs['readFileSync'](_0x3e4618):Buffer['alloc'](0x0);return await _0xf2c9a9[_0x378bd6(0x1fc)](_0x329969,{'audio':_0x1ceb59,'ptt':_0x5b4771,..._0x3dcb07},{'quoted':_0xd65739});},_0xf2c9a9[_0x18872e(0x22a)]=async(_0x594b0d,_0x519683,_0x209d8d,_0x27800f={})=>_0xf2c9a9['sendMessage'](_0x594b0d,{'text':_0x519683,'contextInfo':{'mentionedJid':[..._0x519683[_0x18872e(0x26e)](/@(\d{0,16})/g)][_0x18872e(0x212)](_0x4169fd=>_0x4169fd[0x1]+_0x18872e(0x1e3))},..._0x27800f},{'quoted':_0x209d8d}),_0xf2c9a9[_0x18872e(0x252)]=async(_0x23be71,_0x194305,_0x279d86,_0xf4a693={})=>{const _0x5ebaad=_0x18872e;let _0x472dad=Buffer[_0x5ebaad(0x1d0)](_0x194305)?_0x194305:/^data:.*?\/.*?;base64,/i[_0x5ebaad(0x1d7)](_0x194305)?Buffer[_0x5ebaad(0x1a0)](_0x194305[_0x5ebaad(0x1d8)]`,`[0x1],_0x5ebaad(0x22e)):/^https?:\/\//[_0x5ebaad(0x1d7)](_0x194305)?await await getBuffer(_0x194305):fs[_0x5ebaad(0x1fb)](_0x194305)?fs[_0x5ebaad(0x20b)](_0x194305):Buffer['alloc'](0x0),_0x2edac8;return _0xf4a693&&(_0xf4a693['packname']||_0xf4a693[_0x5ebaad(0x21f)])?_0x2edac8=await writeExifImg(_0x472dad,_0xf4a693):_0x2edac8=await imageToWebp(_0x472dad),await _0xf2c9a9[_0x5ebaad(0x1fc)](_0x23be71,{'sticker':{'url':_0x2edac8},..._0xf4a693},{'quoted':_0x279d86}),_0x2edac8;},_0xf2c9a9[_0x18872e(0x24d)]=async(_0x10cfbe,_0xe2428a,_0x35fca0,_0x2bbc61={})=>{const _0x9c9484=_0x18872e;let _0x4316d3=Buffer[_0x9c9484(0x1d0)](_0xe2428a)?_0xe2428a:/^data:.*?\/.*?;base64,/i[_0x9c9484(0x1d7)](_0xe2428a)?Buffer[_0x9c9484(0x1a0)](_0xe2428a[_0x9c9484(0x1d8)]`,`[0x1],_0x9c9484(0x22e)):/^https?:\/\//[_0x9c9484(0x1d7)](_0xe2428a)?await await getBuffer(_0xe2428a):fs['existsSync'](_0xe2428a)?fs[_0x9c9484(0x20b)](_0xe2428a):Buffer[_0x9c9484(0x220)](0x0),_0x5e837f;return _0x2bbc61&&(_0x2bbc61[_0x9c9484(0x204)]||_0x2bbc61[_0x9c9484(0x21f)])?_0x5e837f=await writeExifVid(_0x4316d3,_0x2bbc61):_0x5e837f=await videoToWebp(_0x4316d3),await _0xf2c9a9[_0x9c9484(0x1fc)](_0x10cfbe,{'sticker':{'url':_0x5e837f},..._0x2bbc61},{'quoted':_0x35fca0}),_0x5e837f;},_0xf2c9a9[_0x18872e(0x25f)]=async(_0x4558fb,_0x1b9753,_0x2e8acd=!![])=>{const _0x107ddf=_0x18872e;let _0x3932c5=_0x4558fb[_0x107ddf(0x208)]?_0x4558fb[_0x107ddf(0x208)]:_0x4558fb,_0x52ec2c=(_0x4558fb['msg']||_0x4558fb)['mimetype']||'',_0x3e76ea=_0x4558fb[_0x107ddf(0x25d)]?_0x4558fb[_0x107ddf(0x25d)][_0x107ddf(0x238)](/Message/gi,''):_0x52ec2c[_0x107ddf(0x1d8)]('/')[0x0];const _0x50e8fb=await downloadContentFromMessage(_0x3932c5,_0x3e76ea);let _0x533e5c=Buffer[_0x107ddf(0x1a0)]([]);for await(const _0x59f249 of _0x50e8fb){_0x533e5c=Buffer['concat']([_0x533e5c,_0x59f249]);}let _0x1d5f1f=await FileType[_0x107ddf(0x1ed)](_0x533e5c);return trueFileName=_0x2e8acd?_0x1b9753+'.'+_0x1d5f1f['ext']:_0x1b9753,await fs[_0x107ddf(0x206)](trueFileName,_0x533e5c),trueFileName;},_0xf2c9a9['downloadMediaMessage']=async _0x46d0e0=>{const _0x4ef463=_0x18872e;let _0x177564=(_0x46d0e0[_0x4ef463(0x208)]||_0x46d0e0)['mimetype']||'',_0x822cb0=_0x46d0e0[_0x4ef463(0x25d)]?_0x46d0e0[_0x4ef463(0x25d)]['replace'](/Message/gi,''):_0x177564[_0x4ef463(0x1d8)]('/')[0x0];const _0x2aa815=await downloadContentFromMessage(_0x46d0e0,_0x822cb0);let _0x33749f=Buffer['from']([]);for await(const _0x5359b0 of _0x2aa815){_0x33749f=Buffer[_0x4ef463(0x1ad)]([_0x33749f,_0x5359b0]);}return _0x33749f;},_0xf2c9a9['sendMedia']=async(_0x50565c,_0x38c1fc,_0x243bc8='',_0x170d1b='',_0x44d149='',_0x5160b0={})=>{const _0x55571d=_0x18872e;let _0x1d1950=await _0xf2c9a9[_0x55571d(0x23e)](_0x38c1fc,!![]),{mime:_0x153f89,ext:_0x2f959d,res:_0x406ecc,data:_0x30272f,filename:_0x4fd8b9}=_0x1d1950;if(_0x406ecc&&_0x406ecc['status']!==0xc8||file[_0x55571d(0x1c5)]<=0x10000)try{throw{'json':JSON[_0x55571d(0x1a4)](file[_0x55571d(0x20f)]())};}catch(_0x51d37b){if(_0x51d37b['json'])throw _0x51d37b[_0x55571d(0x22c)];}let _0x520f12='',_0x43c5b9=_0x153f89,_0x942073=_0x4fd8b9;if(_0x5160b0['asDocument'])_0x520f12=_0x55571d(0x1c0);if(_0x5160b0[_0x55571d(0x277)]||/webp/['test'](_0x153f89)){let {writeExif:_0x9482a5}=require('./lib/exif'),_0xef28c1={'mimetype':_0x153f89,'data':_0x30272f};_0x942073=await _0x9482a5(_0xef28c1,{'packname':_0x5160b0[_0x55571d(0x204)]?_0x5160b0['packname']:global[_0x55571d(0x204)],'author':_0x5160b0[_0x55571d(0x21f)]?_0x5160b0[_0x55571d(0x21f)]:global['author'],'categories':_0x5160b0['categories']?_0x5160b0[_0x55571d(0x1fa)]:[]}),await fs[_0x55571d(0x1a9)]['unlink'](_0x4fd8b9),_0x520f12=_0x55571d(0x1ff),_0x43c5b9=_0x55571d(0x24c);}else{if(/image/['test'](_0x153f89))_0x520f12='image';else{if(/video/[_0x55571d(0x1d7)](_0x153f89))_0x520f12='video';else{if(/audio/[_0x55571d(0x1d7)](_0x153f89))_0x520f12=_0x55571d(0x1a5);else _0x520f12=_0x55571d(0x1c0);}}}return await _0xf2c9a9[_0x55571d(0x1fc)](_0x50565c,{[_0x520f12]:{'url':_0x942073},'caption':_0x170d1b,'mimetype':_0x43c5b9,'fileName':_0x243bc8,..._0x5160b0},{'quoted':_0x44d149,..._0x5160b0}),fs[_0x55571d(0x1a9)]['unlink'](_0x942073);},_0xf2c9a9[_0x18872e(0x254)]=async(_0x3a3195,_0x3b69e1,_0x58d55e=![],_0x17d4a5={})=>{const _0x4740b8=_0x18872e;let _0xe9eeac;_0x17d4a5[_0x4740b8(0x1cc)]&&(_0x3b69e1[_0x4740b8(0x1b5)]=_0x3b69e1[_0x4740b8(0x1b5)]&&_0x3b69e1[_0x4740b8(0x1b5)]['ephemeralMessage']&&_0x3b69e1[_0x4740b8(0x1b5)][_0x4740b8(0x1ef)][_0x4740b8(0x1b5)]?_0x3b69e1[_0x4740b8(0x1b5)][_0x4740b8(0x1ef)][_0x4740b8(0x1b5)]:_0x3b69e1[_0x4740b8(0x1b5)]||undefined,_0xe9eeac=Object[_0x4740b8(0x222)](_0x3b69e1[_0x4740b8(0x1b5)]['viewOnceMessage'][_0x4740b8(0x1b5)])[0x0],delete(_0x3b69e1[_0x4740b8(0x1b5)]&&_0x3b69e1[_0x4740b8(0x1b5)][_0x4740b8(0x203)]?_0x3b69e1[_0x4740b8(0x1b5)]['ignore']:_0x3b69e1[_0x4740b8(0x1b5)]||undefined),delete _0x3b69e1['message'][_0x4740b8(0x276)][_0x4740b8(0x1b5)][_0xe9eeac][_0x4740b8(0x1af)],_0x3b69e1[_0x4740b8(0x1b5)]={..._0x3b69e1[_0x4740b8(0x1b5)][_0x4740b8(0x276)]['message']});let _0x4d1608=Object[_0x4740b8(0x222)](_0x3b69e1[_0x4740b8(0x1b5)])[0x0],_0x3f6f61=await generateForwardMessageContent(_0x3b69e1,_0x58d55e),_0x283639=Object[_0x4740b8(0x222)](_0x3f6f61)[0x0],_0x176ba1={};if(_0x4d1608!=_0x4740b8(0x1c1))_0x176ba1=_0x3b69e1[_0x4740b8(0x1b5)][_0x4d1608][_0x4740b8(0x1dd)];_0x3f6f61[_0x283639][_0x4740b8(0x1dd)]={..._0x176ba1,..._0x3f6f61[_0x283639][_0x4740b8(0x1dd)]};const _0x509cec=await generateWAMessageFromContent(_0x3a3195,_0x3f6f61,_0x17d4a5?{..._0x3f6f61[_0x283639],..._0x17d4a5,..._0x17d4a5[_0x4740b8(0x1dd)]?{'contextInfo':{..._0x3f6f61[_0x283639][_0x4740b8(0x1dd)],..._0x17d4a5[_0x4740b8(0x1dd)]}}:{}}:{});return await _0xf2c9a9[_0x4740b8(0x1de)](_0x3a3195,_0x509cec[_0x4740b8(0x1b5)],{'messageId':_0x509cec[_0x4740b8(0x1e8)]['id']}),_0x509cec;},_0xf2c9a9[_0x18872e(0x1e9)]=(_0x1d3b6f,_0x2eb8c,_0x45cd95='',_0x5b7675=_0xf2c9a9[_0x18872e(0x211)]['id'],_0x140f95={})=>{const _0x5601e6=_0x18872e;let _0x400e58=Object[_0x5601e6(0x222)](_0x2eb8c[_0x5601e6(0x1b5)])[0x0],_0x53927b=_0x400e58===_0x5601e6(0x1ef);_0x53927b&&(_0x400e58=Object[_0x5601e6(0x222)](_0x2eb8c[_0x5601e6(0x1b5)][_0x5601e6(0x1ef)]['message'])[0x0]);let _0x3dbbf5=_0x53927b?_0x2eb8c[_0x5601e6(0x1b5)][_0x5601e6(0x1ef)][_0x5601e6(0x1b5)]:_0x2eb8c[_0x5601e6(0x1b5)],_0x1eb05d=_0x3dbbf5[_0x400e58];if(typeof _0x1eb05d===_0x5601e6(0x23b))_0x3dbbf5[_0x400e58]=_0x45cd95||_0x1eb05d;else{if(_0x1eb05d[_0x5601e6(0x1ba)])_0x1eb05d['caption']=_0x45cd95||_0x1eb05d[_0x5601e6(0x1ba)];else{if(_0x1eb05d[_0x5601e6(0x1cb)])_0x1eb05d['text']=_0x45cd95||_0x1eb05d[_0x5601e6(0x1cb)];}}if(typeof _0x1eb05d!=='string')_0x3dbbf5[_0x400e58]={..._0x1eb05d,..._0x140f95};if(_0x2eb8c['key']['participant'])_0x5b7675=_0x2eb8c[_0x5601e6(0x1e8)][_0x5601e6(0x262)]=_0x5b7675||_0x2eb8c[_0x5601e6(0x1e8)][_0x5601e6(0x262)];else{if(_0x2eb8c[_0x5601e6(0x1e8)]['participant'])_0x5b7675=_0x2eb8c[_0x5601e6(0x1e8)][_0x5601e6(0x262)]=_0x5b7675||_0x2eb8c[_0x5601e6(0x1e8)][_0x5601e6(0x262)];}if(_0x2eb8c[_0x5601e6(0x1e8)][_0x5601e6(0x24a)][_0x5601e6(0x214)]('@s.whatsapp.net'))_0x5b7675=_0x5b7675||_0x2eb8c['key']['remoteJid'];else{if(_0x2eb8c[_0x5601e6(0x1e8)][_0x5601e6(0x24a)][_0x5601e6(0x214)](_0x5601e6(0x1bc)))_0x5b7675=_0x5b7675||_0x2eb8c['key'][_0x5601e6(0x24a)];}return _0x2eb8c[_0x5601e6(0x1e8)][_0x5601e6(0x24a)]=_0x1d3b6f,_0x2eb8c[_0x5601e6(0x1e8)][_0x5601e6(0x269)]=_0x5b7675===_0xf2c9a9[_0x5601e6(0x211)]['id'],proto['WebMessageInfo'][_0x5601e6(0x1aa)](_0x2eb8c);},_0xf2c9a9[_0x18872e(0x23e)]=async(_0x59fdfa,_0x373997)=>{const _0x179ce0=_0x18872e;let _0xc920ca,_0x5c7a2c=Buffer['isBuffer'](_0x59fdfa)?_0x59fdfa:/^data:.*?\/.*?;base64,/i[_0x179ce0(0x1d7)](_0x59fdfa)?Buffer[_0x179ce0(0x1a0)](_0x59fdfa[_0x179ce0(0x1d8)]`,`[0x1],_0x179ce0(0x22e)):/^https?:\/\//[_0x179ce0(0x1d7)](_0x59fdfa)?await(_0xc920ca=await getBuffer(_0x59fdfa)):fs[_0x179ce0(0x1fb)](_0x59fdfa)?(filename=_0x59fdfa,fs[_0x179ce0(0x20b)](_0x59fdfa)):typeof _0x59fdfa===_0x179ce0(0x23b)?_0x59fdfa:Buffer[_0x179ce0(0x220)](0x0),_0x2a865f=await FileType[_0x179ce0(0x1ed)](_0x5c7a2c)||{'mime':_0x179ce0(0x247),'ext':'.bin'};filename=path['join'](__filename,_0x179ce0(0x237)+new Date()*0x1+'.'+_0x2a865f[_0x179ce0(0x1da)]);if(_0x5c7a2c&&_0x373997)fs['promises'][_0x179ce0(0x1ee)](filename,_0x5c7a2c);return{'res':_0xc920ca,'filename':filename,'size':await getSizeMedia(_0x5c7a2c),..._0x2a865f,'data':_0x5c7a2c};},_0xf2c9a9;}startXeonBotInc();let file=require[_0x9e5afa(0x25e)](__filename);fs['watchFile'](file,()=>{const _0x5bdb49=_0x9e5afa;fs[_0x5bdb49(0x236)](file),console[_0x5bdb49(0x20d)](chalk[_0x5bdb49(0x202)](_0x5bdb49(0x1c4)+__filename)),delete require['cache'][file],require(file);});