forked from Ramlan404/babybot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.js
6 lines (5 loc) · 33.3 KB
/
main.js
1
2
3
4
5
6
/*
for business contact me
on whatsapp 0855-5924-0360
*/
const _0x49186c=_0x2426;(function(_0x1ce65b,_0x3f3dd2){const _0x5b4617=_0x2426,_0x2d4e91=_0x1ce65b();while(!![]){try{const _0x341cf1=-parseInt(_0x5b4617(0x18a))/0x1+-parseInt(_0x5b4617(0x17c))/0x2+parseInt(_0x5b4617(0x192))/0x3*(parseInt(_0x5b4617(0x1dc))/0x4)+parseInt(_0x5b4617(0x1ce))/0x5*(parseInt(_0x5b4617(0x19b))/0x6)+-parseInt(_0x5b4617(0x132))/0x7*(parseInt(_0x5b4617(0x138))/0x8)+parseInt(_0x5b4617(0x12f))/0x9+parseInt(_0x5b4617(0x125))/0xa;if(_0x341cf1===_0x3f3dd2)break;else _0x2d4e91['push'](_0x2d4e91['shift']());}catch(_0x54d695){_0x2d4e91['push'](_0x2d4e91['shift']());}}}(_0x5529,0xbc6f5));const _0x174341=(function(){let _0x4007a4=!![];return function(_0x426ab5,_0x5a396d){const _0x481d77=_0x4007a4?function(){const _0x333ddb=_0x2426;if(_0x5a396d){const _0x1b88f4=_0x5a396d[_0x333ddb(0x1f1)](_0x426ab5,arguments);return _0x5a396d=null,_0x1b88f4;}}:function(){};return _0x4007a4=![],_0x481d77;};}());function _0x2426(_0x2661e2,_0x30ee02){const _0x3ca45a=_0x5529();return _0x2426=function(_0x4e659e,_0x174341){_0x4e659e=_0x4e659e-0xf2;let _0x55295a=_0x3ca45a[_0x4e659e];return _0x55295a;},_0x2426(_0x2661e2,_0x30ee02);}function _0x5529(){const _0x47922f=['public','*View\x20Once\x20Detected!*\x0a\x0a*From:*\x20','WhatsApp','110VbucmL','vGKSa','ScjQy','textSync','author','updateBlockStatus','desc','default','BEGIN:VCARD\x0aVERSION:3.0\x0aN:','expired','open','image','conversation','stickerMessage','448LfxLlm','UqEZE','./lib/exif2','unlinkSync','silent','decodeJid','./lib/function','name','remoteJid','HH:mm:ss','international','lvqyj','.png','PztPY','key','@adiwajshing/baileys','sendMessage','string','endsWith','participants','init','apply','child','cyanBright','mVgNI','uNxrX','alloc','bind','Welcome\x20Back\x20Owner\x20^^','UdYzh','\x27\x20Telah\x20berubah!','stateObject','video','TPfAD','writeFileSync','rrhHt','badSession','./lib/setwelcome','remove','length','error','\x20Kontak','includes','awesome-phonenumber','stringify','function\x20*\x5c(\x20*\x5c)','clear','./lib/setleft','prefa','dlReR','Connection\x20Status:\x20','push','logout','./database/antilink.json','Jangan\x20telepon\x20bot!','eKggd','message','notify','store','\x20and\x20Scan\x20Again.','Welcome\x20@','add','concat','verifiedName','splice','moment','mode','replace','\x0aFN:','mZyLu','svhhF','./database/set_welcome.json','MlKpm','readFileSync','messages','videoMessage','24485400KgrMDD','ephemeralMessage','resolve','Database\x20Connected\x20✓','Bad\x20Session\x20File,\x20Please\x20Delete\x20','split','content','./command/conn.js','groupLeave','call-creator','466407MOBwQD','connectionReplaced','debu','9903103mOJsWX','user','gger','bBcxH','messages.upsert','Sayonara\x20@','8IpeAPe','GgnrW','forEach','OnOkb','Restart\x20Required,\x20Restarting...','imageMessage','OJzir','./temp/','constructor','https://i0.wp.com/www.gambarunik.id/wp-content/uploads/2019/06/Top-Gambar-Foto-Profil-Kosong-Lucu-Tergokil-.jpg','\x20and\x20Scan\x20Again','input','multi','then','audio','./lib/sewa','format','groupMetadata','musgG','\x5c+\x5c+\x20*(?:[a-zA-Z_$][0-9a-zA-Z_$]*)','packname','./help.js','pino','connection.update','sendVideoAsSticker','UhcUO','audioMessage','now','zEtUR','./database/db_response_list.json','Connection\x20closed,\x20reconnecting....','./database/left.json','subject','./lib/color','BuCPX','watchFile','Connection\x20TimedOut,\x20Reconnecting...','readViewOnce','catch','qoPvm','./config.json','cache','\x0a*Type:*\x20ImageMessage','status','action','attrs','CB:call','sendContact','block','statusCode','Standard','jIzRn','@g.us','connectionClosed','chain','@hapi/boom','profilePictureUrl','hYKqu','existsSync','JbfXG','gpJnB','geGQI','sendImageAsSticker','withoutContact','./command/conn','Connection\x20Replaced,\x20Another\x20New\x20Session\x20Opened,\x20Please\x20Close\x20Current\x20Session\x20First','output','.mp4','1859888gkGUOr','./database/set_done.json','[email protected]','counter','sticker','getNumber','parse','.json','relayMessage','viewOnce','ignore','nopref','\x0aitem1.TEL;waid=','getName','1064163NKwSbm','./database/sewa.json','contacts','contacts.update','group-participants.update','xDhME','sendMessageFromContent','test','18327OrIGJP','close','white','while\x20(true)\x20{}','wFoKZ','status@broadcast','viewOnceMessage','log','server','271662OFUesx','Unknown\x20DisconnectReason:\x20','\x20Dipantau\x20oleh\x20Owner','QKUxa','Device\x20Logged\x20Out,\x20Please\x20Delete\x20','restartRequired','quotedMessage','chalk','./database/set_left.json','connectionLost','Kvysr','isBuffer','Module\x20','base64','loggedOut','IdEJa','\x0aitem1.X-ABLabel:Ponsel\x0aEND:VCARD','Server\x20Ready\x20✓','call','bold','sessionName','laeIX','figlet','Connection\x20Lost\x20from\x20Server,\x20reconnecting...','from','./database/set_proses.json','creds.update','copyNForward','DURKu','seVAI','GANce','extendedTextMessage','end','./database/welcome.json','JsYcT','contextInfo','keys','etYOA','Sewa\x20expired:\x20','Qhjtk','kxyma','ZMFJA','timedOut','BlWDR','@s.whatsapp.net','downloadAndSaveMediaMessage','botName','aqua'];_0x5529=function(){return _0x47922f;};return _0x5529();}(function(){_0x174341(this,function(){const _0x4cc390=_0x2426,_0x41306c=new RegExp(_0x4cc390(0x106)),_0x9600cb=new RegExp(_0x4cc390(0x14b),'i'),_0x8dece7=_0x4e659e(_0x4cc390(0x1f0));!_0x41306c[_0x4cc390(0x191)](_0x8dece7+_0x4cc390(0x16e))||!_0x9600cb[_0x4cc390(0x191)](_0x8dece7+_0x4cc390(0x143))?_0x4cc390(0x151)===_0x4cc390(0x151)?_0x8dece7('0'):_0x4228c7=_0x414e83[_0x4cc390(0x117)]([_0x47a0ff,_0x34c1b1]):_0x4e659e();})();}());const {default:WASocket,BufferJSON,initInMemoryKeyStore,DisconnectReason,fetchLatestBaileysVersion,AnyMessageContent,useSingleFileAuthState,makeInMemoryStore,delay,downloadContentFromMessage,jidDecode,generateForwardMessageContent,generateWAMessageFromContent,proto,prepareWAMessageMedia}=require(_0x49186c(0x1eb)),figlet=require(_0x49186c(0x1b1)),fs=require('fs'),moment=require(_0x49186c(0x11a)),chalk=require(_0x49186c(0x1a2)),{Boom}=require(_0x49186c(0x16f)),logg=require(_0x49186c(0x14e)),PhoneNumber=require(_0x49186c(0x104)),{color}=require(_0x49186c(0x159)),{serialize,sleep,getBuffer}=require(_0x49186c(0x1e2)),{imageToWebp,videoToWebp,writeExifImg,writeExifVid}=require(_0x49186c(0x1de)),{isSetWelcome,getTextSetWelcome}=require(_0x49186c(0xfe)),{isSetLeft,getTextSetLeft}=require(_0x49186c(0x108)),{expiredCheck}=require(_0x49186c(0x147));let db_setdone=JSON[_0x49186c(0x182)](fs[_0x49186c(0x122)](_0x49186c(0x17d))),db_setproses=JSON[_0x49186c(0x182)](fs[_0x49186c(0x122)](_0x49186c(0x1b4))),db_antilink=JSON[_0x49186c(0x182)](fs[_0x49186c(0x122)](_0x49186c(0x10e))),db_response_list=JSON[_0x49186c(0x182)](fs[_0x49186c(0x122)](_0x49186c(0x155))),welcome=JSON[_0x49186c(0x182)](fs[_0x49186c(0x122)](_0x49186c(0x1bc))),left=JSON[_0x49186c(0x182)](fs[_0x49186c(0x122)](_0x49186c(0x157))),set_welcome_db=JSON[_0x49186c(0x182)](fs[_0x49186c(0x122)](_0x49186c(0x120))),set_left_db=JSON[_0x49186c(0x182)](fs[_0x49186c(0x122)](_0x49186c(0x1a3))),sewa=JSON[_0x49186c(0x182)](fs[_0x49186c(0x122)](_0x49186c(0x18b))),setting=JSON[_0x49186c(0x182)](fs[_0x49186c(0x122)](_0x49186c(0x160))),session='./'+setting[_0x49186c(0x1af)]+_0x49186c(0x183);const {state,saveState}=useSingleFileAuthState(session);function title(){const _0x16718c=_0x49186c;console[_0x16718c(0x107)](),console[_0x16718c(0x199)](chalk[_0x16718c(0x1ae)][_0x16718c(0x1f3)](figlet[_0x16718c(0x1d1)](''+setting[_0x16718c(0x1c9)],{'font':_0x16718c(0x16a),'horizontalLayout':_0x16718c(0x1d5),'verticalLayout':_0x16718c(0x1d5),'width':0x50,'whitespaceBreak':![]}))),console[_0x16718c(0x199)](color('[',_0x16718c(0x1ca)),color(moment(new Date())[_0x16718c(0x148)](_0x16718c(0x1e5)),_0x16718c(0x194)),color(']',_0x16718c(0x1ca)),color(_0x16718c(0x128),_0x16718c(0x194))),console[_0x16718c(0x199)](color('[',_0x16718c(0x1ca)),color(moment(new Date())[_0x16718c(0x148)](_0x16718c(0x1e5)),_0x16718c(0x194)),color(']',_0x16718c(0x1ca)),color(_0x16718c(0xf5),_0x16718c(0x194))),console[_0x16718c(0x199)](color('[',_0x16718c(0x1ca)),color(moment(new Date())[_0x16718c(0x148)](_0x16718c(0x1e5)),_0x16718c(0x194)),color(']',_0x16718c(0x1ca)),color(_0x16718c(0x1ac),_0x16718c(0x194)));}const store=makeInMemoryStore({'logger':logg()[_0x49186c(0x1f2)]({'level':_0x49186c(0x1e0),'stream':_0x49186c(0x113)})}),connectToWhatsApp=async()=>{const _0x209e80=_0x49186c;let {version:_0x32b019}=await fetchLatestBaileysVersion();const _0x2e6179=WASocket({'logger':logg({'level':_0x209e80(0x1e0)}),'printQRInTerminal':!![],'auth':state,'version':_0x32b019});return title(),store[_0x209e80(0xf4)](_0x2e6179['ev']),_0x2e6179[_0x209e80(0x144)]=!![],_0x2e6179[_0x209e80(0x187)]=![],_0x2e6179[_0x209e80(0x109)]='#',_0x2e6179[_0x209e80(0x11b)]=_0x209e80(0x1cb),require(_0x209e80(0x12c)),require(_0x209e80(0x14d)),nocache(_0x209e80(0x12c),_0x53998d=>console[_0x209e80(0x199)](color('\x27'+_0x53998d+_0x209e80(0xf7)))),nocache(_0x209e80(0x14d),_0x1595ee=>console[_0x209e80(0x199)](color('\x27'+_0x1595ee+_0x209e80(0xf7)))),setInterval(()=>{const _0x5ad770=_0x209e80;let _0x4081e4=null;Object[_0x5ad770(0x1bf)](sewa)[_0x5ad770(0x13a)](_0x7a5832=>{const _0x476176=_0x5ad770;if(Date[_0x476176(0x153)]()>=sewa[_0x7a5832][_0x476176(0x1d7)]){if(_0x476176(0x13e)===_0x476176(0xfa)){if(_0xa396a1(_0x8456c1['id'],_0x906514)){var _0xd58605=_0x4cf7f8(_0x350b18['id'],_0x45b8ea),_0x5187f1=_0xd58605[_0x476176(0x11c)](/@user/gi,'@'+_0x2e6a76[_0x476176(0x12a)]('@')[0x0]),_0x1cba7e=_0x5187f1[_0x476176(0x11c)](/@group/gi,_0x233d13[_0x476176(0x158)])[_0x476176(0x11c)](/@desc/gi,_0x13db66[_0x476176(0x1d4)]);_0x17a166[_0x476176(0x1ec)](_0x597444['id'],{'image':{'url':_0x2312e6},'caption':''+_0x1cba7e,'mentions':[_0x34c7dc]});}else _0x3057e6[_0x476176(0x1ec)](_0x2ba2ba['id'],{'image':{'url':_0x51e44c},'caption':_0x476176(0x137)+_0x214400[_0x476176(0x12a)]('@')[0x0],'mentions':[_0x4e9408]});}else _0x4081e4=_0x7a5832;}});if(_0x4081e4!==null){if(_0x5ad770(0x10a)!==_0x5ad770(0xf2))console[_0x5ad770(0x199)](_0x5ad770(0x1c1)+sewa[_0x4081e4]['id']),sewa[_0x4081e4][_0x5ad770(0x163)]===!![]&&_0x2e6179[_0x5ad770(0x12d)](sewa[_0x4081e4]['id'])[_0x5ad770(0x145)](()=>{const _0x4ce339=_0x5ad770;sewa[_0x4ce339(0x119)](_0x4081e4,0x1),fs[_0x4ce339(0xfb)](_0x4ce339(0x18b),JSON[_0x4ce339(0x105)](sewa,null,0x3));});else{var _0x2e250e=_0x43330c[_0x5ad770(0x1e1)](_0x2d9dd9);_0x62da1b=_0x3fcc47[_0x5ad770(0x177)]||_0x486862;let _0x369a14;if(_0x2e250e[_0x5ad770(0x1ee)](_0x5ad770(0x16c)))return new _0xa4a78d(async _0xb87e6a=>{const _0x168f59=_0x5ad770;_0x369a14=_0x14f7d9[_0x168f59(0x18c)][_0x2e250e]||{};if(!(_0x369a14[_0x168f59(0x1e3)]||_0x369a14[_0x168f59(0x158)]))_0x369a14=_0x22a247[_0x168f59(0x149)](_0x2e250e)||{};_0xb87e6a(_0x369a14[_0x168f59(0x1e3)]||_0x369a14[_0x168f59(0x158)]||_0x34061d('+'+_0x2e250e[_0x168f59(0x11c)](_0x168f59(0x1c7),''))[_0x168f59(0x181)](_0x168f59(0x1e6)));});else _0x369a14=_0x2e250e===_0x5ad770(0x17e)?{'id':_0x2e250e,'name':_0x5ad770(0x1cd)}:_0x2e250e===_0xff6740[_0x5ad770(0x1e1)](_0x4ee102[_0x5ad770(0x133)]['id'])?_0x46ab90[_0x5ad770(0x133)]:_0x5d3e62[_0x5ad770(0x18c)][_0x2e250e]||{};return(_0x88fb3e?'':_0x369a14[_0x5ad770(0x1e3)])||_0x369a14[_0x5ad770(0x158)]||_0x369a14[_0x5ad770(0x118)]||_0x42501a('+'+_0x44f073[_0x5ad770(0x11c)](_0x5ad770(0x1c7),''))[_0x5ad770(0x181)](_0x5ad770(0x1e6));}}},0x3e8),_0x2e6179['ev']['on'](_0x209e80(0x136),async _0x5075a5=>{const _0x545ae8=_0x209e80;if(!_0x5075a5[_0x545ae8(0x123)])return;var _0x41b0ce=_0x5075a5[_0x545ae8(0x123)][0x0];_0x41b0ce=serialize(_0x2e6179,_0x41b0ce);if(_0x41b0ce[_0x545ae8(0x1ea)]&&_0x41b0ce[_0x545ae8(0x1ea)][_0x545ae8(0x1e4)]===_0x545ae8(0x197))return;if(JSON[_0x545ae8(0x105)](_0x5075a5[_0x545ae8(0x123)][0x0])[_0x545ae8(0x103)](_0x545ae8(0x198))&&JSON[_0x545ae8(0x105)](_0x5075a5[_0x545ae8(0x123)][0x0])[_0x545ae8(0x103)](_0x545ae8(0x1ba))===![]){if(JSON[_0x545ae8(0x105)](_0x5075a5[_0x545ae8(0x123)][0x0][_0x545ae8(0x111)][_0x545ae8(0x198)][_0x545ae8(0x111)])[_0x545ae8(0x103)](_0x545ae8(0x13d))){if(_0x545ae8(0x1d0)!==_0x545ae8(0x1c3)){var _0x18f2d4=await downloadContentFromMessage(_0x5075a5[_0x545ae8(0x123)][0x0][_0x545ae8(0x111)][_0x545ae8(0x198)][_0x545ae8(0x111)][_0x545ae8(0x13d)],_0x545ae8(0x1d9));let _0x21b8f8=Buffer[_0x545ae8(0x1b3)]([]);for await(const _0x218f49 of _0x18f2d4){_0x21b8f8=Buffer[_0x545ae8(0x117)]([_0x21b8f8,_0x218f49]);}fs[_0x545ae8(0xfb)](_0x545ae8(0x13f)+_0x5075a5[_0x545ae8(0x123)][0x0][_0x545ae8(0x1ea)][_0x545ae8(0x1e4)]+_0x545ae8(0x1e8),_0x21b8f8),_0x2e6179[_0x545ae8(0x1ec)](_0x5075a5[_0x545ae8(0x123)][0x0][_0x545ae8(0x1ea)][_0x545ae8(0x1e4)],{'image':fs[_0x545ae8(0x122)](_0x545ae8(0x13f)+_0x5075a5[_0x545ae8(0x123)][0x0][_0x545ae8(0x1ea)][_0x545ae8(0x1e4)]+_0x545ae8(0x1e8)),'caption':_0x545ae8(0x1cc)+_0x5075a5[_0x545ae8(0x123)][0x0][_0x545ae8(0x1ea)][_0x545ae8(0x1e4)][_0x545ae8(0x12a)]('@')[0x0]+_0x545ae8(0x162)});if(fs[_0x545ae8(0x172)](_0x545ae8(0x13f)+_0x5075a5[_0x545ae8(0x123)][0x0][_0x545ae8(0x1ea)][_0x545ae8(0x1e4)]+_0x545ae8(0x1e8)))fs[_0x545ae8(0x1df)](_0x545ae8(0x13f)+_0x5075a5[_0x545ae8(0x123)][0x0][_0x545ae8(0x1ea)][_0x545ae8(0x1e4)]+_0x545ae8(0x1e8));}else delete _0x463f9f[_0x545ae8(0x161)][_0x4bd58f[_0x545ae8(0x127)](_0x152b87)],_0x51b79f();}else{if(JSON[_0x545ae8(0x105)](_0x5075a5[_0x545ae8(0x123)][0x0][_0x545ae8(0x111)][_0x545ae8(0x198)][_0x545ae8(0x111)])[_0x545ae8(0x103)](_0x545ae8(0x124))){if(_0x545ae8(0x1b9)!==_0x545ae8(0x1b9))(function(){return![];}[_0x545ae8(0x140)](_0x545ae8(0x131)+_0x545ae8(0x134))[_0x545ae8(0x1f1)](_0x545ae8(0xf8)));else{var _0x18f2d4=await downloadContentFromMessage(_0x5075a5[_0x545ae8(0x123)][0x0][_0x545ae8(0x111)][_0x545ae8(0x198)][_0x545ae8(0x111)][_0x545ae8(0x124)],_0x545ae8(0xf9));let _0x2ac2f9=Buffer[_0x545ae8(0x1b3)]([]);for await(const _0x39cc47 of _0x18f2d4){_0x2ac2f9=Buffer[_0x545ae8(0x117)]([_0x2ac2f9,_0x39cc47]);}fs[_0x545ae8(0xfb)](_0x545ae8(0x13f)+_0x5075a5[_0x545ae8(0x123)][0x0][_0x545ae8(0x1ea)][_0x545ae8(0x1e4)]+_0x545ae8(0x17b),_0x2ac2f9),_0x2e6179[_0x545ae8(0x1ec)](_0x5075a5[_0x545ae8(0x123)][0x0][_0x545ae8(0x1ea)][_0x545ae8(0x1e4)],{'video':fs[_0x545ae8(0x122)](_0x545ae8(0x13f)+_0x5075a5[_0x545ae8(0x123)][0x0][_0x545ae8(0x1ea)][_0x545ae8(0x1e4)]+_0x545ae8(0x17b)),'caption':_0x545ae8(0x1cc)+_0x5075a5[_0x545ae8(0x123)][0x0][_0x545ae8(0x1ea)][_0x545ae8(0x1e4)][_0x545ae8(0x12a)]('@')[0x0]+_0x545ae8(0x162)});if(fs[_0x545ae8(0x172)](_0x545ae8(0x13f)+_0x5075a5[_0x545ae8(0x123)][0x0][_0x545ae8(0x1ea)][_0x545ae8(0x1e4)]+_0x545ae8(0x17b)))fs[_0x545ae8(0x1df)](_0x545ae8(0x13f)+_0x5075a5[_0x545ae8(0x123)][0x0][_0x545ae8(0x1ea)][_0x545ae8(0x1e4)]+_0x545ae8(0x17b));}}}}require(_0x545ae8(0x178))(_0x2e6179,_0x41b0ce,setting,store,db_response_list,db_antilink,db_setproses,db_setdone,welcome,left,set_welcome_db,set_left_db,sewa);}),_0x2e6179['ev']['on'](_0x209e80(0x14f),_0x3d05ed=>{const _0x97663e=_0x209e80,{lastDisconnect:_0x17062d,connection:_0xfafa01}=_0x3d05ed;_0xfafa01&&(_0x97663e(0xf6)!==_0x97663e(0x1c0)?console[_0x97663e(0x199)](color('[',_0x97663e(0x1ca)),color(moment(new Date())[_0x97663e(0x148)](_0x97663e(0x1e5)),_0x97663e(0x194)),color(']',_0x97663e(0x1ca)),color(_0x97663e(0x10b)+_0xfafa01,_0x97663e(0x194))):_0x172880[_0x97663e(0x1ec)](_0x5062d9['id'],{'image':{'url':_0x4c97a7},'caption':_0x97663e(0x115)+_0x2a3ca0[_0x97663e(0x12a)]('@')[0x0],'mentions':[_0x32de96]}));if(_0xfafa01===_0x97663e(0x193)){if(_0x97663e(0x1e9)===_0x97663e(0x139)){if(_0x13bcba(_0x26ba3d['id'],_0xd34f4b)){var _0x18b34a=_0x2c1f96(_0x4afe2b['id'],_0x3b4945),_0x3b7b7f=_0x18b34a[_0x97663e(0x11c)](/@user/gi,'@'+_0x3e4ba5[_0x97663e(0x12a)]('@')[0x0]),_0x38f8ee=_0x3b7b7f[_0x97663e(0x11c)](/@group/gi,_0x3d9112[_0x97663e(0x158)])[_0x97663e(0x11c)](/@desc/gi,_0x3f31e1[_0x97663e(0x1d4)]);_0x47d2bc[_0x97663e(0x1ec)](_0x4398ee['id'],{'image':{'url':_0x4ac44a},'caption':''+_0x38f8ee,'mentions':[_0x3cc143]});}else _0x1729c0[_0x97663e(0x1ec)](_0x2b11e2['id'],{'image':{'url':_0x4388e5},'caption':_0x97663e(0x115)+_0x466b15[_0x97663e(0x12a)]('@')[0x0],'mentions':[_0x3f479d]});}else{let _0x45bfb1=new Boom(_0x17062d?.[_0x97663e(0x101)])?.[_0x97663e(0x17a)]?.[_0x97663e(0x169)];if(_0x45bfb1===DisconnectReason[_0x97663e(0xfd)])console[_0x97663e(0x199)](color('[',_0x97663e(0x1ca)),color(moment(new Date())[_0x97663e(0x148)](_0x97663e(0x1e5)),_0x97663e(0x194)),color(']',_0x97663e(0x1ca)),color(_0x97663e(0x129)+session+_0x97663e(0x142),_0x97663e(0x194))),_0x2e6179[_0x97663e(0x10d)]();else{if(_0x45bfb1===DisconnectReason[_0x97663e(0x16d)])console[_0x97663e(0x199)](color('[',_0x97663e(0x1ca)),color(moment(new Date())[_0x97663e(0x148)](_0x97663e(0x1e5)),_0x97663e(0x194)),color(']',_0x97663e(0x1ca)),color(_0x97663e(0x156),_0x97663e(0x194))),connectToWhatsApp();else{if(_0x45bfb1===DisconnectReason[_0x97663e(0x1a4)])console[_0x97663e(0x199)](color('[',_0x97663e(0x1ca)),color(moment(new Date())[_0x97663e(0x148)](_0x97663e(0x1e5)),_0x97663e(0x194)),color(']',_0x97663e(0x1ca)),color(_0x97663e(0x1b2),_0x97663e(0x194))),connectToWhatsApp();else{if(_0x45bfb1===DisconnectReason[_0x97663e(0x130)])console[_0x97663e(0x199)](color('[',_0x97663e(0x1ca)),color(moment(new Date())[_0x97663e(0x148)](_0x97663e(0x1e5)),_0x97663e(0x194)),color(']',_0x97663e(0x1ca)),color(_0x97663e(0x179),_0x97663e(0x194))),_0x2e6179[_0x97663e(0x10d)]();else{if(_0x45bfb1===DisconnectReason[_0x97663e(0x1a9)])console[_0x97663e(0x199)](color('[',_0x97663e(0x1ca)),color(moment(new Date())[_0x97663e(0x148)](_0x97663e(0x1e5)),_0x97663e(0x194)),color(']',_0x97663e(0x1ca)),color(_0x97663e(0x19f)+session+_0x97663e(0x114),_0x97663e(0x194))),_0x2e6179[_0x97663e(0x10d)]();else{if(_0x45bfb1===DisconnectReason[_0x97663e(0x1a0)])console[_0x97663e(0x199)](color('[',_0x97663e(0x1ca)),color(moment(new Date())[_0x97663e(0x148)](_0x97663e(0x1e5)),_0x97663e(0x194)),color(']',_0x97663e(0x1ca)),color(_0x97663e(0x13c),_0x97663e(0x194))),connectToWhatsApp();else{if(_0x45bfb1===DisconnectReason[_0x97663e(0x1c5)]){if(_0x97663e(0x135)!==_0x97663e(0x135)){if(_0x2226ed){const _0x70ea29=_0x4ab4b1[_0x97663e(0x1f1)](_0x1c99f2,arguments);return _0x225bcb=null,_0x70ea29;}}else console[_0x97663e(0x199)](color('[',_0x97663e(0x1ca)),color(moment(new Date())[_0x97663e(0x148)](_0x97663e(0x1e5)),_0x97663e(0x194)),color(']',_0x97663e(0x1ca)),color(_0x97663e(0x15c),_0x97663e(0x194))),connectToWhatsApp();}else{_0x2e6179[_0x97663e(0x1bb)](color('[',_0x97663e(0x1ca)),color(moment(new Date())[_0x97663e(0x148)](_0x97663e(0x1e5)),_0x97663e(0x194)),color(']',_0x97663e(0x1ca)),color(_0x97663e(0x19c)+_0x45bfb1+'|'+_0x17062d[_0x97663e(0x101)],_0x97663e(0x194)));;}}}}}}}}}else{if(_0xfafa01===_0x97663e(0x1d8)){if(_0x97663e(0x15a)!==_0x97663e(0x1b7))title();else return _0x12419f[_0x97663e(0x1df)](_0x1a712b),_0xa9a1a1;}}}),_0x2e6179['ev']['on'](_0x209e80(0x18e),async _0x53d079=>{const _0x5e3649=_0x209e80,_0x2c8c57=welcome[_0x5e3649(0x103)](_0x53d079['id'])?!![]:![],_0x1918bb=left[_0x5e3649(0x103)](_0x53d079['id'])?!![]:![],_0x35e28c=await _0x2e6179[_0x5e3649(0x149)](_0x53d079['id']);try{for(let _0x4ad202 of _0x53d079[_0x5e3649(0x1ef)]){try{var _0x3cba25=await _0x2e6179[_0x5e3649(0x170)](_0x4ad202,_0x5e3649(0x1d9));}catch{var _0x3cba25=_0x5e3649(0x141);}if(_0x53d079[_0x5e3649(0x164)]==_0x5e3649(0x116)&&_0x2c8c57){if(isSetWelcome(_0x53d079['id'],set_welcome_db)){var _0x2f3488=getTextSetWelcome(_0x53d079['id'],set_welcome_db),_0x638570=_0x2f3488[_0x5e3649(0x11c)](/@user/gi,'@'+_0x4ad202[_0x5e3649(0x12a)]('@')[0x0]),_0x2168ee=_0x638570[_0x5e3649(0x11c)](/@group/gi,_0x35e28c[_0x5e3649(0x158)])[_0x5e3649(0x11c)](/@desc/gi,_0x35e28c[_0x5e3649(0x1d4)]);_0x2e6179[_0x5e3649(0x1ec)](_0x53d079['id'],{'image':{'url':_0x3cba25},'caption':''+_0x2168ee,'mentions':[_0x4ad202]});}else _0x2e6179[_0x5e3649(0x1ec)](_0x53d079['id'],{'image':{'url':_0x3cba25},'caption':_0x5e3649(0x115)+_0x4ad202[_0x5e3649(0x12a)]('@')[0x0],'mentions':[_0x4ad202]});}else{if(_0x53d079[_0x5e3649(0x164)]==_0x5e3649(0xff)&&_0x1918bb){if(_0x5e3649(0x174)===_0x5e3649(0x1c6))_0xcce97c();else{if(isSetLeft(_0x53d079['id'],set_left_db)){var _0x5c8db3=getTextSetLeft(_0x53d079['id'],set_left_db),_0x638570=_0x5c8db3[_0x5e3649(0x11c)](/@user/gi,'@'+_0x4ad202[_0x5e3649(0x12a)]('@')[0x0]),_0x2168ee=_0x638570[_0x5e3649(0x11c)](/@group/gi,_0x35e28c[_0x5e3649(0x158)])[_0x5e3649(0x11c)](/@desc/gi,_0x35e28c[_0x5e3649(0x1d4)]);_0x2e6179[_0x5e3649(0x1ec)](_0x53d079['id'],{'image':{'url':_0x3cba25},'caption':''+_0x2168ee,'mentions':[_0x4ad202]});}else _0x2e6179[_0x5e3649(0x1ec)](_0x53d079['id'],{'image':{'url':_0x3cba25},'caption':_0x5e3649(0x137)+_0x4ad202[_0x5e3649(0x12a)]('@')[0x0],'mentions':[_0x4ad202]});}}}}}catch(_0x309e9e){console[_0x5e3649(0x199)](_0x309e9e);}}),_0x2e6179['ev']['on'](_0x209e80(0x1b5),()=>saveState),_0x2e6179['ws']['on'](_0x209e80(0x166),async _0x4a59cb=>{const _0x3dd2d3=_0x209e80,_0xa6867c=_0x4a59cb[_0x3dd2d3(0x12b)][0x0][_0x3dd2d3(0x165)][_0x3dd2d3(0x12e)];_0x2e6179[_0x3dd2d3(0x1ec)](_0xa6867c,{'text':_0x3dd2d3(0x10f)}),await sleep(0x3e8),await _0x2e6179[_0x3dd2d3(0x1d3)](_0x4a59cb[_0x3dd2d3(0x12b)][0x0][_0x3dd2d3(0x165)][_0x3dd2d3(0x12e)],_0x3dd2d3(0x168));}),_0x2e6179[_0x209e80(0x1e1)]=_0x4dda70=>{const _0x1db1ab=_0x209e80;if(!_0x4dda70)return _0x4dda70;if(/:\d+@/gi[_0x1db1ab(0x191)](_0x4dda70)){if(_0x1db1ab(0x121)===_0x1db1ab(0x1c2))(function(){return!![];}[_0x1db1ab(0x140)](_0x1db1ab(0x131)+_0x1db1ab(0x134))[_0x1db1ab(0x1ad)](_0x1db1ab(0x164)));else{let _0x24201e=jidDecode(_0x4dda70)||{};return _0x24201e[_0x1db1ab(0x133)]&&_0x24201e[_0x1db1ab(0x19a)]&&_0x24201e[_0x1db1ab(0x133)]+'@'+_0x24201e[_0x1db1ab(0x19a)]||_0x4dda70;}}else return _0x4dda70;},_0x2e6179['ev']['on'](_0x209e80(0x18d),_0x662f78=>{const _0x555419=_0x209e80;for(let _0x12afd4 of _0x662f78){let _0x528086=_0x2e6179[_0x555419(0x1e1)](_0x12afd4['id']);if(store&&store[_0x555419(0x18c)])store[_0x555419(0x18c)][_0x528086]={'id':_0x528086,'name':_0x12afd4[_0x555419(0x112)]};}}),_0x2e6179[_0x209e80(0x189)]=(_0x58bbc5,_0x4922b4=![])=>{const _0xf541d1=_0x209e80;if(_0xf541d1(0x11f)===_0xf541d1(0x154))_0x487c4b[_0xf541d1(0x111)]=_0x1f2733[_0xf541d1(0x111)]&&_0x1f2bc5[_0xf541d1(0x111)][_0xf541d1(0x126)]&&_0x5ab6b3[_0xf541d1(0x111)][_0xf541d1(0x126)][_0xf541d1(0x111)]?_0xb2492f[_0xf541d1(0x111)][_0xf541d1(0x126)][_0xf541d1(0x111)]:_0x6d24a0[_0xf541d1(0x111)]||_0x382329,_0x42d946=_0x45c166[_0xf541d1(0x1bf)](_0x54ca0f[_0xf541d1(0x111)][_0xf541d1(0x198)][_0xf541d1(0x111)])[0x0],delete(_0x2a435a[_0xf541d1(0x111)]&&_0x3a8771[_0xf541d1(0x111)][_0xf541d1(0x186)]?_0x47e924[_0xf541d1(0x111)][_0xf541d1(0x186)]:_0x562923[_0xf541d1(0x111)]||_0x274c88),delete _0x5b7e1a[_0xf541d1(0x111)][_0xf541d1(0x198)][_0xf541d1(0x111)][_0x59e4b1][_0xf541d1(0x185)],_0x52c2f7[_0xf541d1(0x111)]={..._0x3b1fd7[_0xf541d1(0x111)][_0xf541d1(0x198)][_0xf541d1(0x111)]};else{var _0x123acd=_0x2e6179[_0xf541d1(0x1e1)](_0x58bbc5);_0x4922b4=_0x2e6179[_0xf541d1(0x177)]||_0x4922b4;let _0x44d1df;if(_0x123acd[_0xf541d1(0x1ee)](_0xf541d1(0x16c)))return new Promise(async _0x3c7d3e=>{const _0x2c2a98=_0xf541d1;_0x44d1df=store[_0x2c2a98(0x18c)][_0x123acd]||{};if(!(_0x44d1df[_0x2c2a98(0x1e3)]||_0x44d1df[_0x2c2a98(0x158)]))_0x44d1df=_0x2e6179[_0x2c2a98(0x149)](_0x123acd)||{};_0x3c7d3e(_0x44d1df[_0x2c2a98(0x1e3)]||_0x44d1df[_0x2c2a98(0x158)]||PhoneNumber('+'+_0x123acd[_0x2c2a98(0x11c)](_0x2c2a98(0x1c7),''))[_0x2c2a98(0x181)](_0x2c2a98(0x1e6)));});else _0x44d1df=_0x123acd===_0xf541d1(0x17e)?{'id':_0x123acd,'name':_0xf541d1(0x1cd)}:_0x123acd===_0x2e6179[_0xf541d1(0x1e1)](_0x2e6179[_0xf541d1(0x133)]['id'])?_0x2e6179[_0xf541d1(0x133)]:store[_0xf541d1(0x18c)][_0x123acd]||{};return(_0x4922b4?'':_0x44d1df[_0xf541d1(0x1e3)])||_0x44d1df[_0xf541d1(0x158)]||_0x44d1df[_0xf541d1(0x118)]||PhoneNumber('+'+_0x58bbc5[_0xf541d1(0x11c)](_0xf541d1(0x1c7),''))[_0xf541d1(0x181)](_0xf541d1(0x1e6));}},_0x2e6179[_0x209e80(0x167)]=async(_0x4e25b5,_0x5457c3,_0x27eb56='',_0x138ba1={})=>{const _0x48862a=_0x209e80;if(_0x48862a(0x1bd)!==_0x48862a(0x1dd)){let _0x4952c8=[];for(let _0x53ce74 of _0x5457c3){_0x4952c8[_0x48862a(0x10c)]({'lisplayName':await _0x2e6179[_0x48862a(0x189)](_0x53ce74+_0x48862a(0x1c7)),'vcard':_0x48862a(0x1d6)+await _0x2e6179[_0x48862a(0x189)](_0x53ce74+_0x48862a(0x1c7))+_0x48862a(0x11d)+await _0x2e6179[_0x48862a(0x189)](_0x53ce74+_0x48862a(0x1c7))+_0x48862a(0x188)+_0x53ce74+':'+_0x53ce74+_0x48862a(0x1ab)});}return _0x2e6179[_0x48862a(0x1ec)](_0x4e25b5,{'contacts':{'displayName':_0x4952c8[_0x48862a(0x100)]+_0x48862a(0x102),'contacts':_0x4952c8},..._0x138ba1},{'quoted':_0x27eb56});}else{_0x179622=_0x6b63a6[_0x48862a(0x18c)][_0x3ba575]||{};if(!(_0x5dc032[_0x48862a(0x1e3)]||_0x35b77f[_0x48862a(0x158)]))_0x419c1a=_0x118894[_0x48862a(0x149)](_0x5f0905)||{};_0x51d5cb(_0x44bce9[_0x48862a(0x1e3)]||_0xc89326[_0x48862a(0x158)]||_0x1fa2ec('+'+_0x34252e[_0x48862a(0x11c)](_0x48862a(0x1c7),''))[_0x48862a(0x181)](_0x48862a(0x1e6)));}},_0x2e6179[_0x209e80(0x1b6)]=async(_0x471c93,_0x52b8d8,_0x3d74bb=![],_0xab51f7={})=>{const _0x3b3dc9=_0x209e80;let _0x51cd72;_0xab51f7[_0x3b3dc9(0x15d)]&&(_0x52b8d8[_0x3b3dc9(0x111)]=_0x52b8d8[_0x3b3dc9(0x111)]&&_0x52b8d8[_0x3b3dc9(0x111)][_0x3b3dc9(0x126)]&&_0x52b8d8[_0x3b3dc9(0x111)][_0x3b3dc9(0x126)][_0x3b3dc9(0x111)]?_0x52b8d8[_0x3b3dc9(0x111)][_0x3b3dc9(0x126)][_0x3b3dc9(0x111)]:_0x52b8d8[_0x3b3dc9(0x111)]||undefined,_0x51cd72=Object[_0x3b3dc9(0x1bf)](_0x52b8d8[_0x3b3dc9(0x111)][_0x3b3dc9(0x198)][_0x3b3dc9(0x111)])[0x0],delete(_0x52b8d8[_0x3b3dc9(0x111)]&&_0x52b8d8[_0x3b3dc9(0x111)][_0x3b3dc9(0x186)]?_0x52b8d8[_0x3b3dc9(0x111)][_0x3b3dc9(0x186)]:_0x52b8d8[_0x3b3dc9(0x111)]||undefined),delete _0x52b8d8[_0x3b3dc9(0x111)][_0x3b3dc9(0x198)][_0x3b3dc9(0x111)][_0x51cd72][_0x3b3dc9(0x185)],_0x52b8d8[_0x3b3dc9(0x111)]={..._0x52b8d8[_0x3b3dc9(0x111)][_0x3b3dc9(0x198)][_0x3b3dc9(0x111)]});let _0x36cc57=Object[_0x3b3dc9(0x1bf)](_0x52b8d8[_0x3b3dc9(0x111)])[0x0],_0x2ab30c=await generateForwardMessageContent(_0x52b8d8,_0x3d74bb),_0x26a53c=Object[_0x3b3dc9(0x1bf)](_0x2ab30c)[0x0],_0x1b501a={};if(_0x36cc57!=_0x3b3dc9(0x1da))_0x1b501a=_0x52b8d8[_0x3b3dc9(0x111)][_0x36cc57][_0x3b3dc9(0x1be)];_0x2ab30c[_0x26a53c][_0x3b3dc9(0x1be)]={..._0x1b501a,..._0x2ab30c[_0x26a53c][_0x3b3dc9(0x1be)]};const _0x36a0c7=await generateWAMessageFromContent(_0x471c93,_0x2ab30c,_0xab51f7?{..._0x2ab30c[_0x26a53c],..._0xab51f7,..._0xab51f7[_0x3b3dc9(0x1be)]?{'contextInfo':{..._0x2ab30c[_0x26a53c][_0x3b3dc9(0x1be)],..._0xab51f7[_0x3b3dc9(0x1be)]}}:{}}:{});return await _0x2e6179[_0x3b3dc9(0x184)](_0x471c93,_0x36a0c7[_0x3b3dc9(0x111)],{'messageId':_0x36a0c7[_0x3b3dc9(0x1ea)]['id']}),_0x36a0c7;},_0x2e6179[_0x209e80(0x190)]=async(_0x530216,_0x856dc8,_0x24a854={})=>{const _0x3e5424=_0x209e80;if(_0x3e5424(0x196)===_0x3e5424(0x196)){var _0x13feeb={'contextInfo':{},..._0x24a854},_0x305aca=await generateWAMessageFromContent(_0x530216,_0x856dc8,_0x13feeb);return await _0x2e6179[_0x3e5424(0x184)](_0x530216,_0x305aca[_0x3e5424(0x111)],{'messageId':_0x305aca[_0x3e5424(0x1ea)]['id']}),_0x305aca;}else _0x1d8ca1=_0x6ba79e[_0x3e5424(0x117)]([_0x1c0baa,_0x252900]);},_0x2e6179[_0x209e80(0x1c8)]=async(_0x38fc62,_0x467519,_0x21cdeb)=>{const _0x521b30=_0x209e80;if(_0x467519===_0x521b30(0x1d9)){if(_0x521b30(0x1a5)===_0x521b30(0x1a5)){var _0x364b59=await downloadContentFromMessage(_0x38fc62[_0x521b30(0x111)][_0x521b30(0x13d)]||_0x38fc62[_0x521b30(0x111)][_0x521b30(0x1ba)]?.[_0x521b30(0x1be)][_0x521b30(0x1a1)][_0x521b30(0x13d)],_0x521b30(0x1d9));let _0x287211=Buffer[_0x521b30(0x1b3)]([]);for await(const _0x3cc3eb of _0x364b59){if(_0x521b30(0x1e7)===_0x521b30(0x1e7))_0x287211=Buffer[_0x521b30(0x117)]([_0x287211,_0x3cc3eb]);else return _0x3356d7[_0x521b30(0x1df)](_0x344d9c),_0x37cca8;}return fs[_0x521b30(0xfb)](_0x21cdeb,_0x287211),_0x21cdeb;}else{let _0x4e85f1=_0xfc9800[_0x521b30(0x1e1)](_0x14d6e5['id']);if(_0x1cd82f&&_0x545380[_0x521b30(0x18c)])_0x2fd2fc[_0x521b30(0x18c)][_0x4e85f1]={'id':_0x4e85f1,'name':_0x3283a3[_0x521b30(0x112)]};}}else{if(_0x467519===_0x521b30(0xf9)){var _0x364b59=await downloadContentFromMessage(_0x38fc62[_0x521b30(0x111)][_0x521b30(0x124)]||_0x38fc62[_0x521b30(0x111)][_0x521b30(0x1ba)]?.[_0x521b30(0x1be)][_0x521b30(0x1a1)][_0x521b30(0x124)],_0x521b30(0xf9));let _0x52d1d6=Buffer[_0x521b30(0x1b3)]([]);for await(const _0x32e8c2 of _0x364b59){_0x52d1d6=Buffer[_0x521b30(0x117)]([_0x52d1d6,_0x32e8c2]);}return fs[_0x521b30(0xfb)](_0x21cdeb,_0x52d1d6),_0x21cdeb;}else{if(_0x467519===_0x521b30(0x180)){var _0x364b59=await downloadContentFromMessage(_0x38fc62[_0x521b30(0x111)][_0x521b30(0x1db)]||_0x38fc62[_0x521b30(0x111)][_0x521b30(0x1ba)]?.[_0x521b30(0x1be)][_0x521b30(0x1a1)][_0x521b30(0x1db)],_0x521b30(0x180));let _0x2a43b4=Buffer[_0x521b30(0x1b3)]([]);for await(const _0x134422 of _0x364b59){if(_0x521b30(0xfc)!==_0x521b30(0xfc))return _0x50bfdb;else _0x2a43b4=Buffer[_0x521b30(0x117)]([_0x2a43b4,_0x134422]);}return fs[_0x521b30(0xfb)](_0x21cdeb,_0x2a43b4),_0x21cdeb;}else{if(_0x467519===_0x521b30(0x146)){var _0x364b59=await downloadContentFromMessage(_0x38fc62[_0x521b30(0x111)][_0x521b30(0x152)]||_0x38fc62[_0x521b30(0x111)][_0x521b30(0x1ba)]?.[_0x521b30(0x1be)][_0x521b30(0x1a1)][_0x521b30(0x152)],_0x521b30(0x146));let _0x3b50ce=Buffer[_0x521b30(0x1b3)]([]);for await(const _0x5d92b6 of _0x364b59){_0x3b50ce=Buffer[_0x521b30(0x117)]([_0x3b50ce,_0x5d92b6]);}return fs[_0x521b30(0xfb)](_0x21cdeb,_0x3b50ce),_0x21cdeb;}}}}},_0x2e6179[_0x209e80(0x176)]=async(_0x545900,_0xe80aff,_0x21945e,_0x1ca0ed={})=>{const _0x58155e=_0x209e80;if(_0x58155e(0x1f4)===_0x58155e(0x1f4)){let _0x2b36e7=Buffer[_0x58155e(0x1a6)](_0xe80aff)?_0xe80aff:/^data:.*?\/.*?;base64,/i[_0x58155e(0x191)](_0xe80aff)?Buffer[_0x58155e(0x1b3)](_0xe80aff[_0x58155e(0x12a)]`,`[0x1],_0x58155e(0x1a8)):/^https?:\/\//[_0x58155e(0x191)](_0xe80aff)?await await getBuffer(_0xe80aff):fs[_0x58155e(0x172)](_0xe80aff)?fs[_0x58155e(0x122)](_0xe80aff):Buffer[_0x58155e(0xf3)](0x0),_0x54639d;_0x1ca0ed&&(_0x1ca0ed[_0x58155e(0x14c)]||_0x1ca0ed[_0x58155e(0x1d2)])?_0x54639d=await writeExifImg(_0x2b36e7,_0x1ca0ed):_0x58155e(0x11e)===_0x58155e(0x11e)?_0x54639d=await imageToWebp(_0x2b36e7):_0x510877=_0x4518cd[_0x58155e(0x117)]([_0x33c89d,_0x473735]),await _0x2e6179[_0x58155e(0x1ec)](_0x545900,{'sticker':{'url':_0x54639d},..._0x1ca0ed},{'quoted':_0x21945e})[_0x58155e(0x145)](_0x184bba=>{const _0x15af73=_0x58155e;if(_0x15af73(0x175)===_0x15af73(0x175))return fs[_0x15af73(0x1df)](_0x54639d),_0x184bba;else _0x11f346=_0xe61699[_0x15af73(0x117)]([_0x23b2f8,_0x1e6d05]);});}else{const _0x95c47f=_0x260d3a?function(){const _0x3644f6=_0x58155e;if(_0x4490c6){const _0x132d5a=_0x3ba092[_0x3644f6(0x1f1)](_0x53b2cf,arguments);return _0x375a30=null,_0x132d5a;}}:function(){};return _0x2e8e4b=![],_0x95c47f;}},_0x2e6179[_0x209e80(0x150)]=async(_0x52f5dd,_0x40144f,_0x418564,_0x2f565c={})=>{const _0x5e039c=_0x209e80;let _0x4ca3fd=Buffer[_0x5e039c(0x1a6)](_0x40144f)?_0x40144f:/^data:.*?\/.*?;base64,/i[_0x5e039c(0x191)](_0x40144f)?Buffer[_0x5e039c(0x1b3)](_0x40144f[_0x5e039c(0x12a)]`,`[0x1],_0x5e039c(0x1a8)):/^https?:\/\//[_0x5e039c(0x191)](_0x40144f)?await await getBuffer(_0x40144f):fs[_0x5e039c(0x172)](_0x40144f)?fs[_0x5e039c(0x122)](_0x40144f):Buffer[_0x5e039c(0xf3)](0x0),_0x4e923c;_0x2f565c&&(_0x2f565c[_0x5e039c(0x14c)]||_0x2f565c[_0x5e039c(0x1d2)])?_0x4e923c=await writeExifVid(_0x4ca3fd,_0x2f565c):_0x4e923c=await videoToWebp(_0x4ca3fd),await _0x2e6179[_0x5e039c(0x1ec)](_0x52f5dd,{'sticker':{'url':_0x4e923c},..._0x2f565c},{'quoted':_0x418564})[_0x5e039c(0x145)](_0x1cb596=>{const _0x238564=_0x5e039c;return _0x238564(0x173)===_0x238564(0x1c4)?![]:(fs[_0x238564(0x1df)](_0x4e923c),_0x1cb596);});},_0x2e6179;};function nocache(_0x5c23d2,_0x594e2b=()=>{}){const _0xa52f28=_0x49186c;console[_0xa52f28(0x199)](color(_0xa52f28(0x1a7)+_0x5c23d2+_0xa52f28(0x19d))),fs[_0xa52f28(0x15b)](require[_0xa52f28(0x127)](_0x5c23d2),async()=>{const _0x2a0d67=_0xa52f28;await uncache(require[_0x2a0d67(0x127)](_0x5c23d2)),_0x594e2b(_0x5c23d2);});}function uncache(_0x18effb='.'){return new Promise((_0x1ef4bb,_0x3c8e63)=>{const _0x4055e3=_0x2426;if(_0x4055e3(0x15f)===_0x4055e3(0x19e))_0x59579f=_0x5b071b;else try{if(_0x4055e3(0x14a)!==_0x4055e3(0x14a))var _0x502dd7=_0x4055e3(0x141);else delete require[_0x4055e3(0x161)][require[_0x4055e3(0x127)](_0x18effb)],_0x1ef4bb();}catch(_0x3a2132){_0x4055e3(0x1b8)!==_0x4055e3(0x1cf)?_0x3c8e63(_0x3a2132):_0x104f78('0');}});}connectToWhatsApp()[_0x49186c(0x15e)](_0x5304c3=>console[_0x49186c(0x199)](_0x5304c3));function _0x4e659e(_0x41360d){const _0x507a96=_0x49186c;function _0x423866(_0x29ff5f){const _0x10717f=_0x2426;if(_0x10717f(0x16b)===_0x10717f(0x18f))_0x31f402[_0x10717f(0x1ec)](_0x58523a['id'],{'image':{'url':_0x2427cb},'caption':_0x10717f(0x137)+_0x2f0b1a[_0x10717f(0x12a)]('@')[0x0],'mentions':[_0x462bcd]});else{if(typeof _0x29ff5f===_0x10717f(0x1ed)){if(_0x10717f(0x1b0)!==_0x10717f(0x1b0)){const _0x2ab0da=new _0x35bf87(_0x10717f(0x106)),_0x25c1f0=new _0x1a667c(_0x10717f(0x14b),'i'),_0x31a644=_0x96bb38(_0x10717f(0x1f0));!_0x2ab0da[_0x10717f(0x191)](_0x31a644+_0x10717f(0x16e))||!_0x25c1f0[_0x10717f(0x191)](_0x31a644+_0x10717f(0x143))?_0x31a644('0'):_0xfa0bdd();}else return function(_0x3405dd){}[_0x10717f(0x140)](_0x10717f(0x195))[_0x10717f(0x1f1)](_0x10717f(0x17f));}else{if(_0x10717f(0x13b)!==_0x10717f(0x13b))return function(_0x5865ca){}[_0x10717f(0x140)](_0x10717f(0x195))[_0x10717f(0x1f1)](_0x10717f(0x17f));else(''+_0x29ff5f/_0x29ff5f)[_0x10717f(0x100)]!==0x1||_0x29ff5f%0x14===0x0?function(){const _0xa431ca=_0x10717f;if(_0xa431ca(0x171)!==_0xa431ca(0x171)){if(_0x2e3df1)return _0x2b4971;else _0x87e43c(0x0);}else return!![];}[_0x10717f(0x140)](_0x10717f(0x131)+_0x10717f(0x134))[_0x10717f(0x1ad)](_0x10717f(0x164)):function(){return![];}[_0x10717f(0x140)](_0x10717f(0x131)+_0x10717f(0x134))[_0x10717f(0x1f1)](_0x10717f(0xf8));}_0x423866(++_0x29ff5f);}}try{if(_0x507a96(0x110)===_0x507a96(0x110)){if(_0x41360d){if(_0x507a96(0x1aa)!==_0x507a96(0x1aa))_0x336898=_0x1dd410[_0x507a96(0x117)]([_0x46e141,_0x59d728]);else return _0x423866;}else _0x423866(0x0);}else{let _0x106382=_0x99e06a(_0x79bc50)||{};return _0x106382[_0x507a96(0x133)]&&_0x106382[_0x507a96(0x19a)]&&_0x106382[_0x507a96(0x133)]+'@'+_0x106382[_0x507a96(0x19a)]||_0x4b4bd8;}}catch(_0xf4efe){}}