forked from prabhasha2006/RedDragon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RentBot.js
1 lines (1 loc) · 17.8 KB
/
RentBot.js
1
const _0x4d295c=_0x4016;function _0x1238(){const _0xd130e4=['conns','80ajcaHM','query','contextInfo','map','user','server','sendImage','restartRequired','@s.whatsapp.net','./lib/color','send5ButLoc','test','[email protected]','s.whatsapp.net','loggedOut','copyNForward','public','connection.update','block','./XeonCheems7','startsWith','isBuffer','open','contacts.update','sendContact','msg','\x0a\x0aFN:','c.us','./database/owner.json','status','decodeJid','length','key','join','from','Block\x20Automatic\x20System!!!\x0aDon\x27t\x20Call\x20Bots!!!\x0aPlease\x20contact\x20the\x20owner\x20to\x20open\x20the\x20block!!!','RedDragon','split','time','toString','concat','child','updateBlockStatus','BEGIN:VCARD\x0a\x0aVERSION:3.0\x0a\x0aN:','connecting','Message','mtype','13464657MmqUCH','relayMessage','viewOnce','downloadAndSaveMediaMessage','https://youtube.com/channel/UC7NslQroUqQYzo2wDFBOUMg','parse','ext','type','./lib/myfunc','sendKatalog','silent','contacts','replace','exports','base64','content','6193688ZmgnUs','now','keys','49737sTPxlq','redBright','Connecting\x20to\x20rent\x20bot..','log','*\x0a\x0a*User\x20:*\x0a\x20_*×\x20id\x20:\x20','12.1','remoteJid','sendButtonText','messages','verifiedName','188507ubdbUm','[email protected]','7QqQZaK','push','blocklist','call-creator','142lETMzm','fromBuffer','existsSync','toDataURL','*Detected\x20using\x20rent\x20bot*\x0a\x0a\x20_×\x20User\x20:\x20@','\x0a\x0aitem1.TEL;waid=','logout','pino','698100LYLdBC','sendNode','botname','Bad\x20Session\x20File,\x20Please\x20Delete\x20Session\x20and\x20Scan\x20Again','ignore','sendMessage','bind','resolve','Connection\x20Lost\x20from\x20Server,\x20reconnecting...','./lib/exif','parseMention','getName','international','endsWith','call-id','readViewOnce','Scan\x20this\x20QR\x20to\x20become\x20a\x20temporary\x20bot\x0a\x0a1.\x20Click\x20the\x20three\x20dots\x20in\x20the\x20top\x20right\x20corner\x0a2.\x20Tap\x20Link\x20Devices\x0a3.\x20Scan\x20this\x20QR\x20\x0aQR\x20Expired\x20in\x2030\x20seconds','alloc','groupMetadata','attrs','badSession','writeFileSync','imageMessage','setStatus','1110zfVWyi','name','Opera','store','reject','9999','Device\x20Logged\x20Out,\x20Please\x20Scan\x20Again\x20And\x20Run.','offer','close','creds.update','fromMe','ephemeralMessage','viewOnceMessage','@g.us','message','mimetype','notify','sendText','subject','getNumber','conversation','connectionClosed','19632QVcEmN','qrcode','593750uvNAWS'];_0x1238=function(){return _0xd130e4;};return _0x1238();}(function(_0x456e5a,_0x190808){const _0x499715=_0x4016,_0x29f161=_0x456e5a();while(!![]){try{const _0x9a49ff=-parseInt(_0x499715(0xd3))/0x1+-parseInt(_0x499715(0x9b))/0x2*(-parseInt(_0x499715(0x8b))/0x3)+parseInt(_0x499715(0xd1))/0x4*(-parseInt(_0x499715(0xd5))/0x5)+parseInt(_0x499715(0xa3))/0x6+parseInt(_0x499715(0x97))/0x7*(parseInt(_0x499715(0x88))/0x8)+parseInt(_0x499715(0x78))/0x9+parseInt(_0x499715(0xbb))/0xa*(-parseInt(_0x499715(0x95))/0xb);if(_0x9a49ff===_0x190808)break;else _0x29f161['push'](_0x29f161['shift']());}catch(_0xea0179){_0x29f161['push'](_0x29f161['shift']());}}}(_0x1238,0xf184a));const {modul}=require('./module'),{baileys,boom,chalk,fs,figlet,FileType,path,process,PhoneNumber}=modul,{Boom}=boom,{default:makeWaSocket,useMultiFileAuthState,DisconnectReason,fetchLatestBaileysVersion,generateForwardMessageContent,generateWAMessage,prepareWAMessageMedia,generateWAMessageFromContent,generateMessageID,downloadContentFromMessage,makeInMemoryStore,jidDecode,proto}=baileys,{color,bgcolor}=require(_0x4d295c(0xde)),log=pino=require(_0x4d295c(0xa2)),qrcode=require(_0x4d295c(0xd2)),rimraf=require('rimraf'),{imageToWebp,videoToWebp,writeExifImg,writeExifVid}=require(_0x4d295c(0xac)),{smsg,isUrl,generateMessageTag,getBuffer,getSizeMedia,fetchJson,await,sleep,reSize}=require(_0x4d295c(0x80)),owner=JSON[_0x4d295c(0x7d)](fs['readFileSync'](_0x4d295c(0xf1))[_0x4d295c(0x70)]()),store=makeInMemoryStore({'logger':pino()[_0x4d295c(0x72)]({'level':_0x4d295c(0x82),'stream':_0x4d295c(0xbe)})});if(global[_0x4d295c(0xd4)]instanceof Array)console[_0x4d295c(0x8e)]();else global[_0x4d295c(0xd4)]=[];const rentfromxeon=async(_0x2dd7ef,_0x1a841f,_0x9e36b8)=>{const _0x58a438=_0x4d295c,{sendImage:_0x5e46f3,sendMessage:_0x31e5ea}=_0x2dd7ef,{reply:_0x5318aa,sender:_0xf81e5}=_0x1a841f,{state:_0x4ab1c9,saveCreds:_0x49a8ac}=await useMultiFileAuthState(path[_0x58a438(0x6a)](__dirname,'./database/rentbot/'+_0xf81e5[_0x58a438(0x6e)]('@')[0x0]),log({'level':_0x58a438(0x82)}));try{async function _0x3df619(){const _0x2d1fc0=_0x58a438;let {version:_0x522066,isLatest:_0x5bc971}=await fetchLatestBaileysVersion();const _0x23b454=await makeWaSocket({'auth':_0x4ab1c9,'browser':[_0x2d1fc0(0x6d),_0x2d1fc0(0xbd),_0x2d1fc0(0x90)],'logger':log({'level':'silent'}),'version':_0x522066});_0x23b454['ws']['on']('CB:Blocklist',_0x413fef=>{const _0x5c9833=_0x2d1fc0;if(blocked[_0x5c9833(0x68)]>0x2)return;for(let _0x2ec783 of _0x413fef[0x1][_0x5c9833(0x99)]){blocked[_0x5c9833(0x98)](_0x2ec783[_0x5c9833(0x84)](_0x5c9833(0xf0),_0x5c9833(0xe2)));}}),_0x23b454['ws']['on']('CB:call',async _0x247fb0=>{const _0x296f38=_0x2d1fc0,_0x25ccd0=_0x247fb0[_0x296f38(0x87)][0x0][_0x296f38(0xb6)][_0x296f38(0x9a)],_0x5ee675=_0x247fb0[_0x296f38(0x87)][0x0][_0x296f38(0xb6)][_0x296f38(0xb1)],_0x404419=_0x247fb0[_0x296f38(0xb6)]['id'],_0x25db4e=_0x247fb0[_0x296f38(0xb6)]['t'];_0x23b454[_0x296f38(0xa4)]({'tag':'call','attrs':{'from':_0x296f38(0xe1),'id':_0x404419,'t':_0x25db4e},'content':[{'tag':_0x296f38(0xbf),'attrs':{'call-creator':_0x25ccd0,'call-id':_0x5ee675,'count':'0'},'content':null}]});if(_0x247fb0[_0x296f38(0x87)][0x0]['tag']==_0x296f38(0xc2)){let _0x4c50e2=await _0x23b454[_0x296f38(0xed)](_0x25ccd0,owner);await _0x23b454['sendMessage'](_0x25ccd0,{'text':_0x296f38(0x6c)},{'quoted':_0x4c50e2}),await sleep(0x1f40),await _0x23b454[_0x296f38(0x73)](_0x25ccd0,_0x296f38(0xe7));}}),_0x23b454['ev']['on']('messages.upsert',async _0x1004c7=>{const _0x53d7ec=_0x2d1fc0;try{kay=_0x1004c7[_0x53d7ec(0x93)][0x0];if(!kay[_0x53d7ec(0xc9)])return;kay['message']=Object[_0x53d7ec(0x8a)](kay['message'])[0x0]===_0x53d7ec(0xc6)?kay[_0x53d7ec(0xc9)][_0x53d7ec(0xc6)]['message']:kay[_0x53d7ec(0xc9)];if(kay[_0x53d7ec(0x69)]&&kay[_0x53d7ec(0x69)][_0x53d7ec(0x91)]==='status@broadcast')return;if(!_0x23b454[_0x53d7ec(0xe5)]&&!kay[_0x53d7ec(0x69)][_0x53d7ec(0xc5)]&&_0x1004c7[_0x53d7ec(0x7f)]==='notify')return;if(kay['key']['id'][_0x53d7ec(0xe9)]('BAE5')&&kay[_0x53d7ec(0x69)]['id'][_0x53d7ec(0x68)]===0x10)return;_0x1a841f=smsg(_0x23b454,kay,store),require(_0x53d7ec(0xe8))(_0x23b454,_0x1a841f,_0x1004c7,store);}catch(_0x56e1be){console[_0x53d7ec(0x8e)](_0x56e1be);}}),_0x23b454[_0x2d1fc0(0xe5)]=!![],store[_0x2d1fc0(0xa9)](_0x23b454['ev']),_0x23b454['ev']['on'](_0x2d1fc0(0xc4),_0x49a8ac),_0x23b454['ev']['on'](_0x2d1fc0(0xe6),async _0x10a0c2=>{const _0x13a06d=_0x2d1fc0,{lastDisconnect:_0x2dba69,connection:_0x3f3b45}=_0x10a0c2;if(_0x3f3b45==_0x13a06d(0x75))return;if(_0x3f3b45){if(_0x3f3b45!=_0x13a06d(0x75))console[_0x13a06d(0x8e)](_0x13a06d(0x8d));}console['log'](_0x10a0c2);if(_0x10a0c2['qr'])await _0x5e46f3(_0x9e36b8,await qrcode[_0x13a06d(0x9e)](_0x10a0c2['qr'],{'scale':0x8}),_0x13a06d(0xb3),_0x1a841f);console[_0x13a06d(0x8e)](_0x3f3b45);_0x3f3b45==_0x13a06d(0xeb)&&(_0x23b454['id']=_0x23b454['decodeJid'](_0x23b454[_0x13a06d(0xd9)]['id']),_0x23b454[_0x13a06d(0x6f)]=Date[_0x13a06d(0x89)](),global[_0x13a06d(0xd4)][_0x13a06d(0x98)](_0x23b454),await _0x1a841f['reply']('*Connected\x20to\x20'+ec[_0x13a06d(0xa5)]+_0x13a06d(0x8f)+_0x23b454['decodeJid'](_0x23b454['user']['id'])+'*_'),user=''+_0x23b454[_0x13a06d(0x67)](_0x23b454[_0x13a06d(0xd9)]['id']),txt=_0x13a06d(0x9f)+user['split']('@')[0x0]+'_',_0x31e5ea(_0x13a06d(0xe1),{'text':txt,'mentions':[user]}));if(_0x3f3b45===_0x13a06d(0xc3)){let _0x3383eb=new Boom(_0x2dba69?.['error'])?.['output']['statusCode'];if(_0x3383eb===DisconnectReason[_0x13a06d(0xb7)])console['log'](_0x13a06d(0xa6)),_0x23b454[_0x13a06d(0xa1)]();else{if(_0x3383eb===DisconnectReason[_0x13a06d(0xd0)])console['log']('Connection\x20closed,\x20reconnecting....'),_0x3df619();else{if(_0x3383eb===DisconnectReason['connectionLost'])console[_0x13a06d(0x8e)](_0x13a06d(0xab)),_0x3df619();else{if(_0x3383eb===DisconnectReason['connectionReplaced'])console[_0x13a06d(0x8e)]('Connection\x20Replaced,\x20Another\x20New\x20Session\x20Opened,\x20Please\x20Close\x20Current\x20Session\x20First'),_0x23b454[_0x13a06d(0xa1)]();else{if(_0x3383eb===DisconnectReason[_0x13a06d(0xe3)])console[_0x13a06d(0x8e)](_0x13a06d(0xc1)),_0x23b454[_0x13a06d(0xa1)]();else{if(_0x3383eb===DisconnectReason[_0x13a06d(0xdc)])console['log']('Restart\x20Required,\x20Restarting...'),_0x3df619();else{if(_0x3383eb===DisconnectReason['timedOut'])console['log']('Connection\x20TimedOut,\x20Reconnecting...'),_0x3df619();else _0x23b454['end']('Unknown\x20DisconnectReason:\x20'+_0x3383eb+'|'+_0x3f3b45);}}}}}}}}),_0x23b454[_0x2d1fc0(0x67)]=_0x2132d3=>{const _0x10ec1a=_0x2d1fc0;if(!_0x2132d3)return _0x2132d3;if(/:\d+@/gi[_0x10ec1a(0xe0)](_0x2132d3)){let _0x29c6=jidDecode(_0x2132d3)||{};return _0x29c6['user']&&_0x29c6[_0x10ec1a(0xda)]&&_0x29c6[_0x10ec1a(0xd9)]+'@'+_0x29c6[_0x10ec1a(0xda)]||_0x2132d3;}else return _0x2132d3;},_0x23b454['ev']['on'](_0x2d1fc0(0xec),_0xb23f90=>{const _0x22b55d=_0x2d1fc0;for(let _0xb8e3e7 of _0xb23f90){let _0xfab9b2=_0x23b454['decodeJid'](_0xb8e3e7['id']);if(store&&store[_0x22b55d(0x83)])store[_0x22b55d(0x83)][_0xfab9b2]={'id':_0xfab9b2,'name':_0xb8e3e7[_0x22b55d(0xcb)]};}}),_0x23b454[_0x2d1fc0(0xae)]=(_0x344171,_0x411442=![])=>{const _0x4c7766=_0x2d1fc0;id=_0x23b454[_0x4c7766(0x67)](_0x344171),_0x411442=_0x23b454['withoutContact']||_0x411442;let _0x4c0265;if(id[_0x4c7766(0xb0)](_0x4c7766(0xc8)))return new Promise(async _0xe78f54=>{const _0x4fc486=_0x4c7766;_0x4c0265=store[_0x4fc486(0x83)][id]||{};if(!(_0x4c0265['name']||_0x4c0265[_0x4fc486(0xcd)]))_0x4c0265=_0x23b454[_0x4fc486(0xb5)](id)||{};_0xe78f54(_0x4c0265[_0x4fc486(0xbc)]||_0x4c0265['subject']||PhoneNumber('+'+id['replace'](_0x4fc486(0xdd),''))[_0x4fc486(0xce)](_0x4fc486(0xaf)));});else _0x4c0265=id===_0x4c7766(0x96)?{'id':id,'name':'WhatsApp'}:id===_0x23b454[_0x4c7766(0x67)](_0x23b454['user']['id'])?_0x23b454[_0x4c7766(0xd9)]:store[_0x4c7766(0x83)][id]||{};return(_0x411442?'':_0x4c0265[_0x4c7766(0xbc)])||_0x4c0265[_0x4c7766(0xcd)]||_0x4c0265[_0x4c7766(0x94)]||PhoneNumber('+'+_0x344171[_0x4c7766(0x84)]('@s.whatsapp.net',''))[_0x4c7766(0xce)](_0x4c7766(0xaf));},_0x23b454[_0x2d1fc0(0xad)]=(_0xf852e0='')=>{const _0x12387f=_0x2d1fc0;return[..._0xf852e0['matchAll'](/@([0-9]{5,16}|0)/g)][_0x12387f(0xd8)](_0x3672e2=>_0x3672e2[0x1]+_0x12387f(0xdd));},_0x23b454[_0x2d1fc0(0xed)]=async(_0x1d1efa,_0x3eea9b,_0x41b117='',_0x12e6fe={})=>{const _0x1ba2fc=_0x2d1fc0;let _0x1cf76b=[];for(let _0x3c5658 of _0x3eea9b){_0x1cf76b[_0x1ba2fc(0x98)]({'displayName':await _0x23b454[_0x1ba2fc(0xae)](_0x3c5658+_0x1ba2fc(0xdd)),'vcard':_0x1ba2fc(0x74)+await _0x23b454['getName'](_0x3c5658+_0x1ba2fc(0xdd))+_0x1ba2fc(0xef)+await _0x23b454['getName'](_0x3c5658+_0x1ba2fc(0xdd))+_0x1ba2fc(0xa0)+_0x3c5658+':'+_0x3c5658+'\x0a\x0aitem1.X-ABLabel:Ponsel\x0a\x0aitem2.EMAIL;type=INTERNET:[email protected]\x0a\x0aitem2.X-ABLabel:Email\x0a\x0aitem3.URL:https://bit.ly/39Ivus6\x0a\x0aitem3.X-ABLabel:YouTube\x0a\x0aitem4.ADR:;;Indonesia;;;;\x0a\x0aitem4.X-ABLabel:Region\x0a\x0aEND:VCARD'});}_0x23b454[_0x1ba2fc(0xa8)](_0x1d1efa,{'contacts':{'displayName':_0x1cf76b[_0x1ba2fc(0x68)]+'\x20Contact','contacts':_0x1cf76b},..._0x12e6fe},{'quoted':_0x41b117});},_0x23b454[_0x2d1fc0(0xdb)]=async(_0x715556,_0x16b7b0,_0xaf1947='',_0x4fd294='',_0x404542)=>{const _0x5280e1=_0x2d1fc0;let _0x537d14=Buffer[_0x5280e1(0xea)](_0x16b7b0)?_0x16b7b0:/^data:.*?\/.*?;base64,/i[_0x5280e1(0xe0)](_0x16b7b0)?Buffer[_0x5280e1(0x6b)](_0x16b7b0[_0x5280e1(0x6e)]`,`[0x1],_0x5280e1(0x86)):/^https?:\/\//['test'](_0x16b7b0)?await await getBuffer(_0x16b7b0):fs[_0x5280e1(0x9d)](_0x16b7b0)?fs['readFileSync'](_0x16b7b0):Buffer[_0x5280e1(0xb4)](0x0);return await _0x23b454['sendMessage'](_0x715556,{'image':_0x537d14,'caption':_0xaf1947,..._0x404542},{'quoted':_0x4fd294});},_0x23b454[_0x2d1fc0(0xe4)]=async(_0x277d32,_0x6c95f2,_0x7a9dd9=![],_0x2c239f={})=>{const _0x354894=_0x2d1fc0;let _0x948773;_0x2c239f[_0x354894(0xb2)]&&(_0x6c95f2[_0x354894(0xc9)]=_0x6c95f2['message']&&_0x6c95f2[_0x354894(0xc9)][_0x354894(0xc6)]&&_0x6c95f2[_0x354894(0xc9)][_0x354894(0xc6)][_0x354894(0xc9)]?_0x6c95f2[_0x354894(0xc9)][_0x354894(0xc6)]['message']:_0x6c95f2[_0x354894(0xc9)]||undefined,_0x948773=Object[_0x354894(0x8a)](_0x6c95f2['message']['viewOnceMessage'][_0x354894(0xc9)])[0x0],delete(_0x6c95f2[_0x354894(0xc9)]&&_0x6c95f2[_0x354894(0xc9)][_0x354894(0xa7)]?_0x6c95f2[_0x354894(0xc9)][_0x354894(0xa7)]:_0x6c95f2[_0x354894(0xc9)]||undefined),delete _0x6c95f2[_0x354894(0xc9)][_0x354894(0xc7)][_0x354894(0xc9)][_0x948773][_0x354894(0x7a)],_0x6c95f2['message']={..._0x6c95f2[_0x354894(0xc9)][_0x354894(0xc7)][_0x354894(0xc9)]});let _0x55ff46=Object[_0x354894(0x8a)](_0x6c95f2[_0x354894(0xc9)])[0x0],_0x751ec2=await generateForwardMessageContent(_0x6c95f2,_0x7a9dd9),_0x5c5ab1=Object['keys'](_0x751ec2)[0x0],_0xcfb63b={};if(_0x55ff46!=_0x354894(0xcf))_0xcfb63b=_0x6c95f2['message'][_0x55ff46][_0x354894(0xd7)];_0x751ec2[_0x5c5ab1][_0x354894(0xd7)]={..._0xcfb63b,..._0x751ec2[_0x5c5ab1][_0x354894(0xd7)]};const _0x483275=await generateWAMessageFromContent(_0x277d32,_0x751ec2,_0x2c239f?{..._0x751ec2[_0x5c5ab1],..._0x2c239f,..._0x2c239f[_0x354894(0xd7)]?{'contextInfo':{..._0x751ec2[_0x5c5ab1][_0x354894(0xd7)],..._0x2c239f[_0x354894(0xd7)]}}:{}}:{});return await _0x23b454[_0x354894(0x79)](_0x277d32,_0x483275[_0x354894(0xc9)],{'messageId':_0x483275['key']['id']}),_0x483275;},_0x23b454[_0x2d1fc0(0x92)]=(_0x349c3e,_0x56165d=[],_0x55736b,_0x33334c,_0x59fd71='',_0x1b8808={})=>{let _0x54f9a7={'text':_0x55736b,'footer':_0x33334c,'buttons':_0x56165d,'headerType':0x2,..._0x1b8808};_0x23b454['sendMessage'](_0x349c3e,_0x54f9a7,{'quoted':_0x59fd71,..._0x1b8808});},_0x23b454[_0x2d1fc0(0x81)]=async(_0x1a9ad0,_0xce1770='',_0x1ebad5='',_0x3ead46,_0x416494={})=>{const _0x144a01=_0x2d1fc0;let _0x46af0b=await prepareWAMessageMedia({'image':_0x3ead46},{'upload':_0x23b454['waUploadToServer']});const _0x266cc9=generateWAMessageFromContent(_0x1a9ad0,{'productMessage':{'product':{'productImage':_0x46af0b[_0x144a01(0xb9)],'productId':_0x144a01(0xc0),'title':_0xce1770,'description':_0x1ebad5,'currencyCode':'INR','priceAmount1000':'100000','url':_0x144a01(0x7c),'productImageCount':0x1,'salePriceAmount1000':'0'},'businessOwnerJid':'[email protected]'}},_0x416494);return _0x23b454['relayMessage'](_0x1a9ad0,_0x266cc9[_0x144a01(0xc9)],{'messageId':_0x266cc9['key']['id']});},_0x23b454[_0x2d1fc0(0xdf)]=async(_0x137489,_0x732f44='',_0x25774b='',_0x4c9eb3,_0x2ad6c1=[],_0x5d3607={})=>{const _0x326088=_0x2d1fc0;var _0x2c814b=generateWAMessageFromContent(_0x137489,proto[_0x326088(0x76)]['fromObject']({'templateMessage':{'hydratedTemplate':{'hydratedContentText':_0x732f44,'locationMessage':{'jpegThumbnail':_0x4c9eb3},'hydratedFooterText':_0x25774b,'hydratedButtons':_0x2ad6c1}}}),_0x5d3607);_0x23b454['relayMessage'](_0x137489,_0x2c814b['message'],{'messageId':_0x2c814b[_0x326088(0x69)]['id']});},_0x23b454['sendButImg']=async(_0x565a6a,_0x3c6d9f,_0x353440,_0x3ec229,_0x5cf25d)=>{const _0x12a80a=_0x2d1fc0;let _0x10a53c=Buffer[_0x12a80a(0xea)](_0x3c6d9f)?_0x3c6d9f:/^data:.*?\/.*?;base64,/i[_0x12a80a(0xe0)](_0x3c6d9f)?Buffer[_0x12a80a(0x6b)](_0x3c6d9f['split']`,`[0x1],'base64'):/^https?:\/\//[_0x12a80a(0xe0)](_0x3c6d9f)?await await getBuffer(_0x3c6d9f):fs[_0x12a80a(0x9d)](_0x3c6d9f)?fs['readFileSync'](_0x3c6d9f):Buffer['alloc'](0x0),_0x2bfc8b={'image':_0x10a53c,'jpegThumbnail':_0x10a53c,'caption':_0x353440,'fileLength':'1','footer':_0x3ec229,'buttons':_0x5cf25d,'headerType':0x4};_0x23b454['sendMessage'](_0x565a6a,_0x2bfc8b,{'quoted':_0x1a841f});},_0x23b454[_0x2d1fc0(0xba)]=_0x12ba54=>{const _0x30ceca=_0x2d1fc0;return _0x23b454[_0x30ceca(0xd6)]({'tag':'iq','attrs':{'to':_0x30ceca(0xdd),'type':'set','xmlns':_0x30ceca(0xf2)},'content':[{'tag':'status','attrs':{},'content':Buffer[_0x30ceca(0x6b)](_0x12ba54,'utf-8')}]}),_0x12ba54;},_0x23b454[_0x2d1fc0(0x7b)]=async(_0x15a695,_0x6d481e,_0x582919=!![])=>{const _0x2e3417=_0x2d1fc0;let _0x171672=_0x15a695[_0x2e3417(0xee)]?_0x15a695[_0x2e3417(0xee)]:_0x15a695,_0x47603c=(_0x15a695['msg']||_0x15a695)[_0x2e3417(0xca)]||'',_0x1a5d52=_0x15a695[_0x2e3417(0x77)]?_0x15a695[_0x2e3417(0x77)][_0x2e3417(0x84)](/Message/gi,''):_0x47603c[_0x2e3417(0x6e)]('/')[0x0];const _0x392282=await downloadContentFromMessage(_0x171672,_0x1a5d52);let _0x5cd610=Buffer[_0x2e3417(0x6b)]([]);for await(const _0x4c60b7 of _0x392282){_0x5cd610=Buffer[_0x2e3417(0x71)]([_0x5cd610,_0x4c60b7]);}let _0x335f7d=await FileType[_0x2e3417(0x9c)](_0x5cd610);return trueFileName=_0x582919?_0x6d481e+'.'+_0x335f7d[_0x2e3417(0x7e)]:_0x6d481e,await fs[_0x2e3417(0xb8)](trueFileName,_0x5cd610),trueFileName;},_0x23b454['downloadMediaMessage']=async _0x483810=>{const _0x3d3f27=_0x2d1fc0;let _0x1f3120=(_0x483810[_0x3d3f27(0xee)]||_0x483810)[_0x3d3f27(0xca)]||'',_0x7424a6=_0x483810[_0x3d3f27(0x77)]?_0x483810[_0x3d3f27(0x77)][_0x3d3f27(0x84)](/Message/gi,''):_0x1f3120[_0x3d3f27(0x6e)]('/')[0x0];const _0x196631=await downloadContentFromMessage(_0x483810,_0x7424a6);let _0x423de6=Buffer['from']([]);for await(const _0x1c8a28 of _0x196631){_0x423de6=Buffer[_0x3d3f27(0x71)]([_0x423de6,_0x1c8a28]);}return _0x423de6;},_0x23b454[_0x2d1fc0(0xcc)]=(_0x527194,_0x8e1301,_0x351d6f='',_0x26d4b8)=>_0x23b454['sendMessage'](_0x527194,{'text':_0x8e1301,..._0x26d4b8},{'quoted':_0x351d6f});}_0x3df619();}catch(_0x31a7a0){console['log'](_0x31a7a0);}};module[_0x4d295c(0x85)]={'rentfromxeon':rentfromxeon,'conns':conns};let file=require[_0x4d295c(0xaa)](__filename);function _0x4016(_0x1b4a50,_0x58b658){const _0x123885=_0x1238();return _0x4016=function(_0x40161d,_0x1f8397){_0x40161d=_0x40161d-0x67;let _0x31489c=_0x123885[_0x40161d];return _0x31489c;},_0x4016(_0x1b4a50,_0x58b658);}fs['watchFile'](file,()=>{const _0x1d216f=_0x4d295c;fs['unwatchFile'](file),console[_0x1d216f(0x8e)](chalk[_0x1d216f(0x8c)]('Update\x20'+__filename)),delete require['cache'][file],require(file);});