forked from Itzpatron/PATRON-MD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsimple.js
1 lines (1 loc) · 50.8 KB
/
simple.js
1
const _0x5be20e=_0x2fd3;(function(_0x15f2f8,_0x404956){const _0x1e19fc=_0x2fd3,_0x41372b=_0x15f2f8();while(!![]){try{const _0x1b005e=parseInt(_0x1e19fc(0x2a4))/0x1*(parseInt(_0x1e19fc(0x251))/0x2)+parseInt(_0x1e19fc(0x23e))/0x3*(parseInt(_0x1e19fc(0x25d))/0x4)+-parseInt(_0x1e19fc(0x25e))/0x5*(-parseInt(_0x1e19fc(0x253))/0x6)+-parseInt(_0x1e19fc(0x2c6))/0x7*(parseInt(_0x1e19fc(0x273))/0x8)+parseInt(_0x1e19fc(0x265))/0x9+-parseInt(_0x1e19fc(0x2ba))/0xa+-parseInt(_0x1e19fc(0x1e3))/0xb;if(_0x1b005e===_0x404956)break;else _0x41372b['push'](_0x41372b['shift']());}catch(_0x26d033){_0x41372b['push'](_0x41372b['shift']());}}}(_0x2e97,0x588ac));const {default:makeWASocket,makeWALegacySocket,extractMessageContent,makeInMemoryStore,proto,prepareWAMessageMedia,downloadContentFromMessage,getBinaryNodeChild,jidDecode,areJidsSameUser,generateForwardMessageContent,generateWAMessageFromContent,WAMessageStubType,WA_DEFAULT_EPHEMERAL}=require(_0x5be20e(0x222)),{toAudio,toPTT,toVideo}=require('./converter'),chalk=require(_0x5be20e(0x239)),fetch=require(_0x5be20e(0x26b)),FileType=require(_0x5be20e(0x20a)),PhoneNumber=require('awesome-phonenumber'),fs=require('fs'),path=require(_0x5be20e(0x261));function _0x2fd3(_0x4587e1,_0x26b144){const _0x2e971b=_0x2e97();return _0x2fd3=function(_0x2fd3a5,_0x345ee8){_0x2fd3a5=_0x2fd3a5-0x1e0;let _0x2d1106=_0x2e971b[_0x2fd3a5];return _0x2d1106;},_0x2fd3(_0x4587e1,_0x26b144);}let Jimp=require(_0x5be20e(0x264));const pino=require(_0x5be20e(0x2d5)),store=makeInMemoryStore({'logger':pino()[_0x5be20e(0x1e6)]({'level':_0x5be20e(0x2a1),'stream':_0x5be20e(0x283)})}),{imageToWebp,videoToWebp,writeExifImg,writeExifVid}=require(_0x5be20e(0x203)),ephemeral={'ephemeralExpiration':0x2198};exports[_0x5be20e(0x2c0)]=(_0x154313,_0x55b575={})=>{const _0x4f6d0a=_0x5be20e;let _0x4b0ba8=(global[_0x4f6d0a(0x247)][_0x4f6d0a(0x1f3)]?makeWALegacySocket:makeWASocket)(_0x154313);_0x4b0ba8[_0x4f6d0a(0x28e)]=_0x4318c2=>{const _0x5e1997=_0x4f6d0a;return Object[_0x5e1997(0x2db)](_0x4b0ba8['chats'])[_0x5e1997(0x21a)](([_0x42db59,{messages:_0x11209a}])=>typeof _0x11209a==='object')[_0x5e1997(0x2d4)](([_0x12212d,{messages:_0x16c866}])=>Object[_0x5e1997(0x2db)](_0x16c866)[_0x5e1997(0x2d4)](([_0x25d806,_0x31b28c])=>_0x25d806===_0x4318c2||_0x31b28c[_0x5e1997(0x23d)]?.['id']===_0x4318c2))?.[0x1][_0x5e1997(0x1fc)]?.[_0x4318c2];},_0x4b0ba8[_0x4f6d0a(0x248)]=_0x57a69d=>{const _0x5503cd=_0x4f6d0a;if(!_0x57a69d)return _0x57a69d;if(/:\d+@/gi[_0x5503cd(0x1ea)](_0x57a69d)){const _0x1d6497=jidDecode(_0x57a69d)||{};return _0x1d6497[_0x5503cd(0x1e9)]&&_0x1d6497[_0x5503cd(0x28a)]&&_0x1d6497[_0x5503cd(0x1e9)]+'@'+_0x1d6497[_0x5503cd(0x28a)]||_0x57a69d;}else return _0x57a69d;};if(_0x4b0ba8[_0x4f6d0a(0x1e9)]&&_0x4b0ba8[_0x4f6d0a(0x1e9)]['id'])_0x4b0ba8[_0x4f6d0a(0x1e9)][_0x4f6d0a(0x24e)]=_0x4b0ba8['decodeJid'](_0x4b0ba8[_0x4f6d0a(0x1e9)]['id']);if(!_0x4b0ba8[_0x4f6d0a(0x272)])_0x4b0ba8['chats']={};function _0x73fad5(_0x4f9b9e){const _0x2b6fd1=_0x4f6d0a;if(!_0x4f9b9e)return;for(const _0x815715 of _0x4f9b9e){const _0x988921=_0x4b0ba8[_0x2b6fd1(0x248)](_0x815715['id']);if(!_0x988921)continue;let _0x359f1=_0x4b0ba8[_0x2b6fd1(0x272)][_0x988921];if(!_0x359f1)_0x359f1=_0x4b0ba8[_0x2b6fd1(0x272)][_0x988921]={'id':_0x988921};_0x4b0ba8['chats'][_0x988921]={..._0x359f1,...{..._0x815715,'id':_0x988921,..._0x988921[_0x2b6fd1(0x27d)](_0x2b6fd1(0x288))?{'subject':_0x815715[_0x2b6fd1(0x2d6)]||_0x359f1[_0x2b6fd1(0x2d6)]||''}:{'name':_0x815715[_0x2b6fd1(0x213)]||_0x359f1[_0x2b6fd1(0x24c)]||_0x359f1[_0x2b6fd1(0x213)]||''}}||{}};}}return _0x4b0ba8['ev']['on']('contacts.upsert',_0x73fad5),_0x4b0ba8['ev']['on'](_0x4f6d0a(0x24d),_0x73fad5),_0x4b0ba8['ev']['on'](_0x4f6d0a(0x254),async({chats:_0x5461f6})=>{const _0x497746=_0x4f6d0a;for(const {id:_0x47842c,name:_0x37b019,readOnly:_0x5019ef}of _0x5461f6){_0x47842c=_0x4b0ba8[_0x497746(0x248)](_0x47842c);if(!_0x47842c)continue;const _0x370772=_0x47842c[_0x497746(0x27d)]('@g.us');let _0x33c018=_0x4b0ba8[_0x497746(0x272)][_0x47842c];if(!_0x33c018)_0x33c018=_0x4b0ba8[_0x497746(0x272)][_0x47842c]={'id':_0x47842c};_0x33c018[_0x497746(0x234)]=!_0x5019ef;if(_0x37b019)_0x33c018[_0x370772?'subject':_0x497746(0x24c)]=_0x37b019;if(_0x370772){const _0x470efb=await _0x4b0ba8[_0x497746(0x219)](_0x47842c)['catch'](_0x166ffa=>null);if(!_0x470efb)continue;_0x33c018[_0x497746(0x2d6)]=_0x37b019||_0x470efb[_0x497746(0x2d6)],_0x33c018['metadata']=_0x470efb;}}}),_0x4b0ba8['ev']['on'](_0x4f6d0a(0x212),async function _0x509c51({id:_0x3fff09,participants:_0x8bce9e,action:_0x332ff2}){const _0x1729d0=_0x4f6d0a;_0x3fff09=_0x4b0ba8[_0x1729d0(0x248)](_0x3fff09);if(!(_0x3fff09 in _0x4b0ba8[_0x1729d0(0x272)]))_0x4b0ba8[_0x1729d0(0x272)][_0x3fff09]={'id':_0x3fff09};_0x4b0ba8[_0x1729d0(0x272)][_0x3fff09][_0x1729d0(0x234)]=!![];const _0x3e537e=await _0x4b0ba8[_0x1729d0(0x219)](_0x3fff09)['catch'](_0x5cf3b3=>null);if(!_0x3e537e)return;_0x4b0ba8['chats'][_0x3fff09]={..._0x4b0ba8[_0x1729d0(0x272)][_0x3fff09],'subject':_0x3e537e['subject'],'metadata':_0x3e537e};}),_0x4b0ba8['ev']['on'](_0x4f6d0a(0x24d),async function _0x4d89f8(_0x1f6945){const _0x5a1a2d=_0x4f6d0a;for(const _0x4bb2e4 of _0x1f6945){const _0x2f75ba=_0x4b0ba8[_0x5a1a2d(0x248)](_0x4bb2e4['id']);if(!_0x2f75ba)continue;const _0x2bad92=_0x2f75ba['endsWith']('@g.us');if(!_0x2bad92)continue;let _0x1acf6c=_0x4b0ba8[_0x5a1a2d(0x272)][_0x2f75ba];if(!_0x1acf6c)_0x1acf6c=_0x4b0ba8[_0x5a1a2d(0x272)][_0x2f75ba]={'id':_0x2f75ba};_0x1acf6c['isChats']=!![];const _0x9bca72=await _0x4b0ba8['groupMetadata'](_0x2f75ba)[_0x5a1a2d(0x27b)](_0x2623b2=>null);if(!_0x9bca72)continue;_0x1acf6c['subject']=_0x9bca72[_0x5a1a2d(0x2d6)],_0x1acf6c[_0x5a1a2d(0x206)]=_0x9bca72;}}),_0x4b0ba8['ev']['on'](_0x4f6d0a(0x250),async function _0x5e2cc5(_0x19d70c){const _0x52d914=_0x4f6d0a;console[_0x52d914(0x231)]({'chatsUpsert':_0x19d70c});const {id:_0x319af1,name:_0x9c7ebc}=_0x19d70c;if(!_0x319af1)return;let _0x3b2e4d=_0x4b0ba8[_0x52d914(0x272)][_0x319af1]={..._0x4b0ba8[_0x52d914(0x272)][_0x319af1],..._0x19d70c,'isChats':!![]};const _0xa0cb63=_0x319af1[_0x52d914(0x27d)](_0x52d914(0x288));if(_0xa0cb63){const _0x14f8ab=await _0x4b0ba8[_0x52d914(0x219)](_0x319af1)[_0x52d914(0x27b)](_0x4b1029=>null);_0x14f8ab&&(_0x3b2e4d[_0x52d914(0x2d6)]=_0x9c7ebc||_0x14f8ab['subject'],_0x3b2e4d[_0x52d914(0x206)]=_0x14f8ab);const _0x2e9c77=await _0x4b0ba8['groupFetchAllParticipating']()['catch'](_0x3a712b=>({}))||{};for(const _0x529794 in _0x2e9c77)_0x4b0ba8['chats'][_0x529794]={'id':_0x529794,'subject':_0x2e9c77[_0x529794][_0x52d914(0x2d6)],'isChats':!![],'metadata':_0x2e9c77[_0x529794]};}}),_0x4b0ba8['ev']['on'](_0x4f6d0a(0x263),async function _0x39c9f3({id:_0x3c588f,presences:_0x14ac20}){const _0x42bb40=_0x4f6d0a,_0x4f612e=Object[_0x42bb40(0x2ca)](_0x14ac20)[0x0]||_0x3c588f,_0xb814dd=_0x4b0ba8[_0x42bb40(0x248)](_0x4f612e),_0x5913e3=_0x14ac20[_0x4f612e][_0x42bb40(0x244)]||_0x42bb40(0x258);let _0x83087c=_0x4b0ba8[_0x42bb40(0x272)][_0xb814dd];if(!_0x83087c)_0x83087c=_0x4b0ba8[_0x42bb40(0x272)][_0xb814dd]={'id':_0x4f612e};_0x83087c[_0x42bb40(0x281)]=_0x5913e3;if(_0x3c588f['endsWith'](_0x42bb40(0x288))){let _0x1b7f38=_0x4b0ba8[_0x42bb40(0x272)][_0x3c588f];if(!_0x1b7f38){const _0x496b9e=await _0x4b0ba8['groupMetadata'](_0x3c588f)[_0x42bb40(0x27b)](_0x56c4eb=>null);if(_0x496b9e)_0x1b7f38=_0x4b0ba8[_0x42bb40(0x272)][_0x3c588f]={'id':_0x3c588f,'subject':_0x496b9e[_0x42bb40(0x2d6)],'metadata':_0x496b9e};}_0x1b7f38[_0x42bb40(0x234)]=!![];}}),_0x4b0ba8[_0x4f6d0a(0x2d2)]={..._0x4b0ba8[_0x4f6d0a(0x2d2)],'info'(..._0x3f4f4a){const _0x3901c6=_0x4f6d0a;console[_0x3901c6(0x231)](chalk[_0x3901c6(0x2b8)][_0x3901c6(0x21d)](0x39,0xb7,0x10)(_0x3901c6(0x2b9)+chalk['rgb'](0xff,0xff,0xff)(new Date())+']:'),chalk[_0x3901c6(0x29f)](..._0x3f4f4a));},'error'(..._0x50c28b){const _0x3d3679=_0x4f6d0a;console[_0x3d3679(0x231)](chalk['bold']['rgb'](0xf7,0x26,0x21)('ERROR\x20['+chalk['rgb'](0xff,0xff,0xff)(new Date())+']:'),chalk[_0x3d3679(0x21d)](0xff,0x26,0x0)(..._0x50c28b));},'warn'(..._0x34e0c7){const _0x1fb7f6=_0x4f6d0a;console[_0x1fb7f6(0x231)](chalk[_0x1fb7f6(0x2b8)][_0x1fb7f6(0x21d)](0xef,0xe1,0x3)(_0x1fb7f6(0x2a2)+chalk[_0x1fb7f6(0x21d)](0xff,0xff,0xff)(new Date())+']:'),chalk[_0x1fb7f6(0x1f9)](_0x1fb7f6(0x1e4))(..._0x34e0c7));}},_0x4b0ba8[_0x4f6d0a(0x1e7)]=async(_0x4732fe,_0x4afd11)=>{const _0x1b1a0e=_0x4f6d0a;let _0x586264,_0x1aadb0;const _0x3009d6=Buffer[_0x1b1a0e(0x1f7)](_0x4732fe)?_0x4732fe:/^data:.*?\/.*?;base64,/i[_0x1b1a0e(0x1ea)](_0x4732fe)?Buffer[_0x1b1a0e(0x256)](_0x4732fe['split']`,`[0x1],_0x1b1a0e(0x2aa)):/^https?:\/\//['test'](_0x4732fe)?await(_0x586264=await fetch(_0x4732fe))['buffer']():fs[_0x1b1a0e(0x210)](_0x4732fe)?(_0x1aadb0=_0x4732fe,fs[_0x1b1a0e(0x2bb)](_0x4732fe)):typeof _0x4732fe===_0x1b1a0e(0x259)?_0x4732fe:Buffer[_0x1b1a0e(0x2bd)](0x0);if(!Buffer[_0x1b1a0e(0x1f7)](_0x3009d6))throw new TypeError(_0x1b1a0e(0x285));const _0x152f70=await FileType[_0x1b1a0e(0x22f)](_0x3009d6)||{'mime':_0x1b1a0e(0x20e),'ext':'.bin'};if(_0x3009d6&&_0x4afd11&&!_0x1aadb0)_0x1aadb0=path[_0x1b1a0e(0x2b6)](__dirname,_0x1b1a0e(0x287)+new Date()*0x1+'.'+_0x152f70[_0x1b1a0e(0x2a5)]),await fs['promises']['writeFile'](_0x1aadb0,_0x3009d6);return{'res':_0x586264,'filename':_0x1aadb0,..._0x152f70,'data':_0x3009d6,'deleteFile'(){const _0x5e0a86=_0x1b1a0e;return _0x1aadb0&&fs['promises'][_0x5e0a86(0x255)](_0x1aadb0);}};},_0x4b0ba8[_0x4f6d0a(0x205)]=(_0x505a1c,_0xdeda60=()=>!![],_0xe6f058=0x19)=>{return new Promise((_0x429432,_0x5bc4e4)=>{let _0x5971e2=0x0,_0x22c57d=(..._0x3c5372)=>{if(++_0x5971e2>_0xe6f058)_0x5bc4e4('Max\x20tries\x20reached');else _0xdeda60()&&(_0x4b0ba8['ev']['off'](_0x505a1c,_0x22c57d),_0x429432(..._0x3c5372));};_0x4b0ba8['ev']['on'](_0x505a1c,_0x22c57d);});},_0x4b0ba8[_0x4f6d0a(0x22c)]=_0x213490=>new Promise(_0xb2583e=>setTimeout(_0xb2583e,_0x213490)),_0x4b0ba8[_0x4f6d0a(0x21a)]=_0x52270c=>{const _0x385f63=_0x4f6d0a;let _0x5990f7=['q','w','r','t','y','p','s','d','f','g','h','j','k','l','z','x','c','v','b','n','m'];if(/[aiueo][aiueo]([qwrtypsdfghjklzxcvbnm])?$/i[_0x385f63(0x1ea)](_0x52270c))return _0x52270c[_0x385f63(0x1eb)](_0x52270c[_0x385f63(0x22a)]-0x1);else{let _0x213137=Array[_0x385f63(0x256)](_0x52270c)['filter'](_0x45645b=>_0x5990f7['includes'](_0x45645b)),_0x51e69a=_0x213137[_0x213137['length']-0x1];for(let _0x4f2459 of _0x5990f7){_0x52270c[_0x385f63(0x27d)](_0x4f2459)&&(_0x51e69a=_0x213137[_0x213137[_0x385f63(0x22a)]-0x2]);}let _0x484d2d=_0x52270c[_0x385f63(0x266)](_0x51e69a);return _0x51e69a+_0x484d2d[_0x484d2d[_0x385f63(0x22a)]-0x1];}},_0x4b0ba8[_0x4f6d0a(0x27f)]=_0x107896=>{const _0x5ec630=_0x4f6d0a;let _0x1ffca2=Math[_0x5ec630(0x27e)](_0x107896/(0x18*0x3c*0x3c*0x3e8)),_0xac6573=_0x107896%(0x18*0x3c*0x3c*0x3e8),_0x40a9f9=Math['floor'](_0xac6573/(0x3c*0x3c*0x3e8)),_0x2891ca=_0x107896%(0x3c*0x3c*0x3e8),_0x5c1ce8=Math[_0x5ec630(0x27e)](_0x2891ca/(0x3c*0x3e8)),_0x408ba0=_0x107896%(0x3c*0x3e8),_0x11f1ad=Math[_0x5ec630(0x27e)](_0x408ba0/0x3e8);return _0x1ffca2+_0x5ec630(0x1e0)+_0x40a9f9+_0x5ec630(0x2b1)+_0x5c1ce8+_0x5ec630(0x238);},_0x4b0ba8[_0x4f6d0a(0x290)]=async _0x3aa49d=>{const _0x459624=_0x4f6d0a;return _0x3aa49d[Math[_0x459624(0x27e)](Math['random']()*_0x3aa49d['length'])];},_0x4b0ba8[_0x4f6d0a(0x2da)]=async(_0x57001d,_0x5a4bcf,_0x1048e9,_0x232fd1={})=>{const _0x135a51=_0x4f6d0a;let {ext:_0x3baf03,mime:_0x1cc0a7,data:_0x41e8db}=await _0x4b0ba8[_0x135a51(0x1e7)](_0x5a4bcf);return messageType=_0x1cc0a7['split']('/')[0x0],pase=messageType[_0x135a51(0x20b)](_0x135a51(0x2d1),_0x135a51(0x260))||messageType,await _0x4b0ba8['sendMessage'](_0x57001d,{[''+pase]:_0x41e8db,'mimetype':_0x1cc0a7,..._0x232fd1},{'quoted':_0x1048e9});},(_0x4b0ba8[_0x4f6d0a(0x201)]=(_0xe13fa,_0x1a2c11,_0xd4d936='',_0x896f71='',_0x3e8d4d,_0x4724e9='',_0x3987c8,_0xb17cc6)=>{const _0xfc9a9a=_0x4f6d0a;let {data:_0x34b439}=_0x4b0ba8[_0xfc9a9a(0x1e7)](_0x3e8d4d,!![]);return _0x4b0ba8[_0xfc9a9a(0x26f)](_0xe13fa,{'text':_0x1a2c11,'contextInfo':{'mentionedJid':_0x4b0ba8[_0xfc9a9a(0x270)](_0x1a2c11),'externalAdReply':{'showAdAttribution':!![],'mediaType':0x1,'title':_0xd4d936,'body':_0x896f71,'thumbnailUrl':_0xfc9a9a(0x246),'renderLargerThumbnail':!![],'sourceUrl':_0x4724e9}}},{'quoted':_0x3987c8,..._0xb17cc6,...ephemeral});_0x334d22:!![];},_0x4b0ba8['sendFile']=async(_0x47991c,_0x11829c,_0x3e573b='',_0x3f6bd7='',_0x384123,_0x24c949=![],_0x48da34={})=>{const _0x26044b=_0x4f6d0a;let _0x5daecd=await _0x4b0ba8['getFile'](_0x11829c,!![]),{res:_0x49cb9c,data:_0x106704,filename:_0x17c6d4}=_0x5daecd;if(_0x49cb9c&&_0x49cb9c[_0x26044b(0x286)]!==0xc8||_0x106704[_0x26044b(0x22a)]<=0x10000)try{throw{'json':JSON['parse'](_0x106704[_0x26044b(0x293)]())};}catch(_0x17be0a){if(_0x17be0a[_0x26044b(0x1f1)])throw _0x17be0a[_0x26044b(0x1f1)];}let _0x56fe7b={'filename':_0x3e573b};if(_0x384123)_0x56fe7b['quoted']=_0x384123;if(!_0x5daecd)_0x48da34[_0x26044b(0x202)]=!![];let _0x27c0bb='',_0x2cfeb9=_0x5daecd[_0x26044b(0x20c)],_0x12195;if(/webp/[_0x26044b(0x1ea)](_0x5daecd[_0x26044b(0x20c)])||/image/[_0x26044b(0x1ea)](_0x5daecd[_0x26044b(0x20c)])&&_0x48da34[_0x26044b(0x291)])_0x27c0bb=_0x26044b(0x284);else{if(/image/[_0x26044b(0x1ea)](_0x5daecd['mime'])||/webp/['test'](_0x5daecd[_0x26044b(0x20c)])&&_0x48da34[_0x26044b(0x267)])_0x27c0bb=_0x26044b(0x24a);else{if(/video/[_0x26044b(0x1ea)](_0x5daecd[_0x26044b(0x20c)]))_0x27c0bb=_0x26044b(0x2b0);else{if(/audio/[_0x26044b(0x1ea)](_0x5daecd['mime']))_0x12195=await(_0x24c949?toPTT:toAudio)(_0x106704,_0x5daecd[_0x26044b(0x2a5)]),_0x106704=_0x12195['data'],_0x17c6d4=_0x12195[_0x26044b(0x27a)],_0x27c0bb=_0x26044b(0x200),_0x2cfeb9=_0x26044b(0x1ff);else _0x27c0bb='document';}}}if(_0x48da34[_0x26044b(0x202)])_0x27c0bb='document';let _0x571792={..._0x48da34,'caption':_0x3f6bd7,'ptt':_0x24c949,[_0x27c0bb]:{'url':_0x17c6d4},'mimetype':_0x2cfeb9},_0x1a239e;try{_0x1a239e=await _0x4b0ba8[_0x26044b(0x26f)](_0x47991c,_0x571792,{..._0x56fe7b,..._0x48da34});}catch(_0x340811){console[_0x26044b(0x269)](_0x340811),_0x1a239e=null;}finally{if(!_0x1a239e)_0x1a239e=await _0x4b0ba8['sendMessage'](_0x47991c,{..._0x571792,[_0x27c0bb]:_0x106704},{..._0x56fe7b,..._0x48da34});return _0x1a239e;}}),_0x4b0ba8[_0x4f6d0a(0x1ec)]=async(_0x5ae8f4,_0x3d9306,_0x1dadb3,_0x300536={})=>{const _0x34df56=_0x4f6d0a;let _0x27e892=Buffer[_0x34df56(0x1f7)](_0x3d9306)?_0x3d9306:/^data:.*?\/.*?;base64,/i[_0x34df56(0x1ea)](_0x3d9306)?Buffer[_0x34df56(0x256)](_0x3d9306['split']`,`[0x1],_0x34df56(0x2aa)):/^https?:\/\//['test'](_0x3d9306)?await(await fetch(_0x3d9306))[_0x34df56(0x236)]():fs[_0x34df56(0x210)](_0x3d9306)?fs['readFileSync'](_0x3d9306):Buffer[_0x34df56(0x2bd)](0x0),_0x3e9ad1;return _0x300536&&(_0x300536[_0x34df56(0x29c)]||_0x300536[_0x34df56(0x2c4)])?_0x3e9ad1=await writeExifImg(_0x27e892,_0x300536):_0x3e9ad1=await imageToWebp(_0x27e892),await _0x4b0ba8['sendMessage'](_0x5ae8f4,{'sticker':{'url':_0x3e9ad1},..._0x300536},{'quoted':_0x1dadb3}),_0x3e9ad1;},(_0x4b0ba8['sendContact']=async(_0x5c934d,_0x2285b6,_0x3ce3df,_0x497b71)=>{const _0x5d7e82=_0x4f6d0a;if(!Array['isArray'](_0x2285b6[0x0])&&typeof _0x2285b6[0x0]===_0x5d7e82(0x259))_0x2285b6=[_0x2285b6];let _0x46c2f4=[];for(let [_0x4e8638,_0xcd1363]of _0x2285b6){_0x4e8638=_0x4e8638[_0x5d7e82(0x20b)](/[^0-9]/g,'');let _0x19762b=_0x4e8638+_0x5d7e82(0x1f4),_0x1d1fa3=await _0x4b0ba8['getBusinessProfile'](_0x19762b)[_0x5d7e82(0x27b)](_0x3b06c3=>null)||{},_0x4ffc5a=(_0x5d7e82(0x271)+_0xcd1363['replace'](/\n/g,'\x5cn')+_0x5d7e82(0x28f)+_0x4e8638+':'+PhoneNumber('+'+_0x4e8638)[_0x5d7e82(0x252)]('international')+_0x5d7e82(0x274)+(_0x1d1fa3[_0x5d7e82(0x20f)]?_0x5d7e82(0x2df)+(_0x1d1fa3[_0x5d7e82(0x2ab)]||'')[_0x5d7e82(0x20b)](/\n/g,'\x5cn')+_0x5d7e82(0x29d)+(await _0x4b0ba8[_0x5d7e82(0x1e7)](await _0x4b0ba8[_0x5d7e82(0x229)](_0x19762b))[_0x5d7e82(0x27b)](_0x51701c=>({}))||{})['number']?.[_0x5d7e82(0x293)](_0x5d7e82(0x2aa))+_0x5d7e82(0x243)+(_0x1d1fa3['description']||'')['replace'](/\n/g,'\x5cn')+_0x5d7e82(0x294)+_0xcd1363[_0x5d7e82(0x20b)](/\n/g,'\x5cn')+'\x0a':'')+_0x5d7e82(0x2c8))['trim']();_0x46c2f4['push']({'vcard':_0x4ffc5a,'displayName':_0xcd1363});}return _0x4b0ba8[_0x5d7e82(0x26f)](_0x5c934d,{..._0x497b71,'contacts':{..._0x497b71,'displayName':(_0x46c2f4[_0x5d7e82(0x22a)]>=0x2?_0x46c2f4[_0x5d7e82(0x22a)]+'\x20contact':_0x46c2f4[0x0][_0x5d7e82(0x1f2)])||null,'contacts':_0x46c2f4}},{'quoted':_0x3ce3df,..._0x497b71});_0x109a8d:!![];},_0x4b0ba8[_0x4f6d0a(0x2be)]=async(_0x372c10,_0x2da7fc,_0x58a2df,_0x1b1e54,_0x252772,_0xf6b504,_0x220cf7,_0x3a43bf)=>{const _0x3d16be=_0x4f6d0a,_0x2f36c0=_0xf6b504['flat'](),_0x31a75e=_0x2f36c0['reduce']((_0x538fb5,_0xf77654,_0x3c21f5)=>{const _0x4008f0=_0x2fd3;if(_0x3c21f5%0x2===0x1){const [_0xe8ba55,_0x15e498,_0x1643a9]=_0xf77654[0x0];_0x538fb5[_0x4008f0(0x2cf)]({'title':_0xe8ba55,'rowId':_0x15e498,'description':_0x1643a9});}return _0x538fb5;},[]);let _0x25917d=_0x31a75e[_0x3d16be(0x215)]((_0x289463,_0x136178)=>{const _0x399852=_0x3d16be;return((_0x289463[_0x399852(0x29b)]||'')+'\x0a'+(_0x289463[_0x399852(0x1e1)]||'')+'\x0a'+(_0x289463[_0x399852(0x20f)]||''))[_0x399852(0x226)]();})[_0x3d16be(0x21a)](_0x26af91=>_0x26af91)[_0x3d16be(0x2b6)]('\x0a\x0a');return _0x4b0ba8[_0x3d16be(0x26f)](_0x372c10,{..._0x3a43bf,'text':_0x25917d},{'quoted':_0x220cf7,..._0x3a43bf});},_0x4b0ba8['reply']=(_0x9df71f,_0xcb8c1a='',_0x2f0fa2,_0x56a9b7)=>{const _0x55b10a=_0x4f6d0a;return Buffer[_0x55b10a(0x1f7)](_0xcb8c1a)?_0x4b0ba8['sendFile'](_0x9df71f,_0xcb8c1a,_0x55b10a(0x1ee),'',_0x2f0fa2,![],_0x56a9b7):_0x4b0ba8[_0x55b10a(0x26f)](_0x9df71f,{..._0x56a9b7,'text':_0xcb8c1a,'mentions':_0x4b0ba8[_0x55b10a(0x270)](_0xcb8c1a)},{'quoted':_0x2f0fa2,..._0x56a9b7,'mentions':_0x4b0ba8[_0x55b10a(0x270)](_0xcb8c1a)});}),_0x4b0ba8[_0x4f6d0a(0x25b)]=async(_0x4d713d,_0xdcc8de,_0x94e587)=>{const _0x33ca19=_0x4f6d0a;let _0x3672e0=await Jimp['read'](_0x4d713d),_0x175e3c=await _0x3672e0[_0x33ca19(0x25b)](_0xdcc8de,_0x94e587)['getBufferAsync'](Jimp['MIME_JPEG']);return _0x175e3c;},_0x4b0ba8[_0x4f6d0a(0x23c)]=(_0xcaeee3,_0x216930='',_0xd7843f=_0x4b0ba8[_0x4f6d0a(0x1e9)][_0x4f6d0a(0x24e)],_0x12dd41='',_0x5df8d5,_0x24fa0f)=>{const _0x57c1f0=_0x4f6d0a;return _0x4b0ba8[_0x57c1f0(0x26f)](_0xcaeee3,{'text':_0x216930},{'ephemeralExpiration':0x15180,'quoted':{'key':{'fromMe':_0xd7843f==_0x4b0ba8[_0x57c1f0(0x1e9)][_0x57c1f0(0x24e)],'participant':_0xd7843f,..._0x5df8d5?{'remoteJid':_0x5df8d5}:{}},'message':{'conversation':_0x12dd41},..._0x24fa0f}});},_0x4b0ba8[_0x4f6d0a(0x2a8)]=async(_0x15e94c,_0x3cec74,_0x54903e,_0xc30d18)=>{const _0x3eeb3c=_0x4f6d0a;return _0x4b0ba8[_0x3eeb3c(0x26f)](_0x15e94c,{'text':_0x3cec74,'jpegThumbnail':await(await fetch(thumbr1))[_0x3eeb3c(0x236)](),'mentions':_0xc30d18},{'quoted':_0x54903e,'ephemeralExpiration':0x15180});},_0x4b0ba8['reply2']=async(_0x1b8853,_0x131482,_0x32abba,_0x2226e8,_0xc61c7)=>{const _0x38cc07=_0x4f6d0a;return _0x4b0ba8[_0x38cc07(0x26f)](_0x1b8853,{'text':_0x131482,'jpegThumbnail':await(await fetch(_0x32abba))[_0x38cc07(0x236)](),'mentions':_0xc61c7},{'quoted':_0x2226e8,'ephemeralExpiration':0x2198});},_0x4b0ba8[_0x4f6d0a(0x248)]=_0x28b87c=>{const _0x2ca266=_0x4f6d0a;if(!_0x28b87c)return _0x28b87c;if(/:\d+@/gi[_0x2ca266(0x1ea)](_0x28b87c)){let _0x158aef=jidDecode(_0x28b87c)||{};return _0x158aef[_0x2ca266(0x1e9)]&&_0x158aef[_0x2ca266(0x28a)]&&_0x158aef[_0x2ca266(0x1e9)]+'@'+_0x158aef['server']||_0x28b87c;}else return _0x28b87c;},_0x4b0ba8['sendText']=(_0x3bd68d,_0x7d8177,_0x78a69c='',_0x2ffee0)=>_0x4b0ba8[_0x4f6d0a(0x26f)](_0x3bd68d,{'text':_0x7d8177,..._0x2ffee0},{'quoted':_0x78a69c}),_0x4b0ba8[_0x4f6d0a(0x228)]=async(_0x57eb93,_0x308d4e,_0xdd1e3f,_0x4bc642,_0x363e35=_0x4f6d0a(0x1e8),_0x5df0ed=_0x4f6d0a(0x2d7),_0x4647c8={})=>{const _0x55e3dd=_0x4f6d0a;let _0x2bf989=proto[_0x55e3dd(0x2c5)][_0x55e3dd(0x25a)]({'groupInviteMessage':proto['GroupInviteMessage'][_0x55e3dd(0x25a)]({'inviteCode':_0xdd1e3f,'inviteExpiration':parseInt(_0x4bc642)||+new Date(new Date()+0x3*0x5265c00),'groupJid':_0x57eb93,'groupName':_0x363e35?_0x363e35:this[_0x55e3dd(0x208)](_0x57eb93),'caption':_0x5df0ed})}),_0x3f63df=await this[_0x55e3dd(0x262)](_0x308d4e,_0x2bf989,_0x4647c8);return await this[_0x55e3dd(0x2dc)](_0x3f63df),_0x3f63df;},_0x4b0ba8['cMod']=(_0x15f2ad,_0xcfa74c,_0x43b43e='',_0x4531cf=_0x4b0ba8['user'][_0x4f6d0a(0x24e)],_0x5b6397={})=>{const _0x1e71f7=_0x4f6d0a;let _0xb42119=_0xcfa74c['toJSON'](),_0x597f93=Object[_0x1e71f7(0x2ca)](_0xb42119[_0x1e71f7(0x230)])[0x0],_0x5da4b9=![];_0x5da4b9&&(_0x597f93=Object[_0x1e71f7(0x2ca)](_0xb42119['message'][_0x1e71f7(0x220)][_0x1e71f7(0x230)])[0x0]);let _0x5864c9=_0x5da4b9?_0xb42119[_0x1e71f7(0x230)]['ephemeralMessage'][_0x1e71f7(0x230)]:_0xb42119[_0x1e71f7(0x230)],_0x49aeb2=_0x5864c9[_0x597f93];if(typeof _0x49aeb2==='string')_0x5864c9[_0x597f93]=_0x43b43e||_0x49aeb2;else{if(_0x49aeb2['caption'])_0x49aeb2[_0x1e71f7(0x25c)]=_0x43b43e||_0x49aeb2['caption'];else{if(_0x49aeb2['text'])_0x49aeb2[_0x1e71f7(0x2cb)]=_0x43b43e||_0x49aeb2[_0x1e71f7(0x2cb)];}}if(typeof _0x49aeb2!==_0x1e71f7(0x259))_0x5864c9[_0x597f93]={..._0x49aeb2,..._0x5b6397};if(_0xb42119[_0x1e71f7(0x21e)])_0x4531cf=_0xb42119[_0x1e71f7(0x21e)]=_0x4531cf||_0xb42119[_0x1e71f7(0x21e)];else{if(_0xb42119['key']['participant'])_0x4531cf=_0xb42119['key'][_0x1e71f7(0x21e)]=_0x4531cf||_0xb42119[_0x1e71f7(0x23d)]['participant'];}if(_0xb42119[_0x1e71f7(0x23d)][_0x1e71f7(0x29a)][_0x1e71f7(0x2dd)](_0x1e71f7(0x1f4)))_0x4531cf=_0x4531cf||_0xb42119['key'][_0x1e71f7(0x29a)];else{if(_0xb42119[_0x1e71f7(0x23d)]['remoteJid'][_0x1e71f7(0x2dd)]('@broadcast'))_0x4531cf=_0x4531cf||_0xb42119[_0x1e71f7(0x23d)]['remoteJid'];}return _0xb42119[_0x1e71f7(0x23d)][_0x1e71f7(0x29a)]=_0x15f2ad,_0xb42119[_0x1e71f7(0x23d)][_0x1e71f7(0x22d)]=areJidsSameUser(_0x4531cf,_0x4b0ba8['user']['id'])||![],proto[_0x1e71f7(0x2cc)][_0x1e71f7(0x25a)](_0xb42119);},_0x4b0ba8[_0x4f6d0a(0x249)]=async(_0x5b82d9,_0x378a5a,_0xc0a3b2=!![],_0x563c4={})=>{const _0x13effe=_0x4f6d0a;let _0x43fa88=generateForwardMessageContent(_0x378a5a,!!_0xc0a3b2),_0x373198=Object[_0x13effe(0x2ca)](_0x43fa88)[0x0];if(_0xc0a3b2&&typeof _0xc0a3b2=='number'&&_0xc0a3b2>0x1)_0x43fa88[_0x373198]['contextInfo'][_0x13effe(0x257)]+=_0xc0a3b2;return _0x43fa88=generateWAMessageFromContent(_0x5b82d9,_0x43fa88,{..._0x563c4,'userJid':_0x4b0ba8[_0x13effe(0x1e9)]['id']}),await _0x4b0ba8[_0x13effe(0x2a9)](_0x5b82d9,_0x43fa88[_0x13effe(0x230)],{'messageId':_0x43fa88['key']['id'],'additionalAttributes':{..._0x563c4}}),_0x43fa88;},_0x4b0ba8[_0x4f6d0a(0x2ac)]=_0x4b0ba8[_0x4f6d0a(0x2ac)]||(async _0xf4d20c=>{const _0x2b006c=_0x4f6d0a;return Object[_0x2b006c(0x2db)](_0x4b0ba8['chats'])['filter'](([_0x12de64,{messages:_0x29f0e9}])=>typeof _0x29f0e9===_0x2b006c(0x2b3))[_0x2b006c(0x2d4)](([_0x490fcb,{messages:_0x2a5f98}])=>Object[_0x2b006c(0x2db)](_0x2a5f98)[_0x2b006c(0x2d4)](([_0x46f493,_0x4fa45b])=>_0x46f493===_0xf4d20c||_0x4fa45b[_0x2b006c(0x23d)]?.['id']===_0xf4d20c))?.[0x1]['messages']?.[_0xf4d20c];}),_0x4b0ba8['downloadM']=async(_0x58b468,_0x5dad4e,_0x330f5f)=>{const _0x41ae55=_0x4f6d0a;if(!_0x58b468||!(_0x58b468[_0x41ae55(0x2d8)]||_0x58b468['directPath']))return Buffer['alloc'](0x0);const _0x50beb3=await downloadContentFromMessage(_0x58b468,_0x5dad4e);let _0x4aa0b0=Buffer['from']([]);for await(const _0xdd79bb of _0x50beb3){_0x4aa0b0=Buffer[_0x41ae55(0x26c)]([_0x4aa0b0,_0xdd79bb]);}if(_0x330f5f)var {filename:_0x33a083}=await _0x4b0ba8[_0x41ae55(0x1e7)](_0x4aa0b0,!![]);return _0x330f5f&&fs[_0x41ae55(0x210)](_0x33a083)?_0x33a083:_0x4aa0b0;},_0x4b0ba8['downloadAndSaveMediaMessage']=async(_0x12cd2a,_0xc9bd9d,_0x4e9b5a=!![])=>{const _0x411d83=_0x4f6d0a;let _0x359687=_0x12cd2a[_0x411d83(0x232)]?_0x12cd2a['msg']:_0x12cd2a,_0x33968a=(_0x12cd2a[_0x411d83(0x232)]||_0x12cd2a)[_0x411d83(0x26a)]||'',_0x2d035c=_0x12cd2a['mtype']?_0x12cd2a[_0x411d83(0x209)][_0x411d83(0x20b)](/Message/gi,''):_0x33968a[_0x411d83(0x266)]('/')[0x0];const _0x2879b0=await downloadContentFromMessage(_0x359687,_0x2d035c);let _0x2e979e=Buffer[_0x411d83(0x256)]([]);for await(const _0x215377 of _0x2879b0){_0x2e979e=Buffer[_0x411d83(0x26c)]([_0x2e979e,_0x215377]);}let _0x4a5064=await FileType[_0x411d83(0x22f)](_0x2e979e);return trueFileName=_0x4e9b5a?_0xc9bd9d+'.'+_0x4a5064[_0x411d83(0x2a5)]:_0xc9bd9d,await fs[_0x411d83(0x1f8)](trueFileName,_0x2e979e),trueFileName;},_0x4b0ba8[_0x4f6d0a(0x270)]=(_0x276b5b='')=>{const _0x48dae1=_0x4f6d0a;return[..._0x276b5b[_0x48dae1(0x295)](/@([0-9]{5,16}|0)/g)][_0x48dae1(0x215)](_0x3a37ae=>_0x3a37ae[0x1]+'@s.whatsapp.net');},_0x4b0ba8[_0x4f6d0a(0x2a0)]=async(_0x55e4ab,_0x16c698=_0x4b0ba8[_0x4f6d0a(0x1e9)]['jid'],_0x5da587)=>{const _0x227d05=_0x4f6d0a;return await _0x4b0ba8[_0x227d05(0x20d)](_0x55e4ab,_0x16c698,[_0x5da587]);},_0x4b0ba8[_0x4f6d0a(0x24f)]=async(_0x2a8bfa,_0x332bf8,_0x168003,_0x3eb4f0={})=>{const _0x2f1072=_0x4f6d0a;let _0x453780=Buffer[_0x2f1072(0x1f7)](_0x332bf8)?_0x332bf8:/^data:.*?\/.*?;base64,/i[_0x2f1072(0x1ea)](_0x332bf8)?Buffer[_0x2f1072(0x256)](_0x332bf8[_0x2f1072(0x266)]`,`[0x1],_0x2f1072(0x2aa)):/^https?:\/\//[_0x2f1072(0x1ea)](_0x332bf8)?await(await fetch(_0x332bf8))['buffer']():fs[_0x2f1072(0x210)](_0x332bf8)?fs[_0x2f1072(0x2bb)](_0x332bf8):Buffer[_0x2f1072(0x2bd)](0x0),_0x33d553;return _0x3eb4f0&&(_0x3eb4f0[_0x2f1072(0x29c)]||_0x3eb4f0[_0x2f1072(0x2c4)])?_0x33d553=await writeExifImg(_0x453780,_0x3eb4f0):_0x33d553=await imageToWebp(_0x453780),await _0x4b0ba8['sendMessage'](_0x2a8bfa,{'sticker':{'url':_0x33d553},..._0x3eb4f0},{'quoted':_0x168003}),_0x33d553;},_0x4b0ba8['sendStvid']=async(_0x6e8011,_0x3899d8,_0x56cfb2,_0x430a28={})=>{const _0xf10917=_0x4f6d0a;let _0x1fd268=Buffer['isBuffer'](_0x3899d8)?_0x3899d8:/^data:.*?\/.*?;base64,/i['test'](_0x3899d8)?Buffer[_0xf10917(0x256)](_0x3899d8[_0xf10917(0x266)]`,`[0x1],_0xf10917(0x2aa)):/^https?:\/\//[_0xf10917(0x1ea)](_0x3899d8)?await getBuffer(_0x3899d8):fs['existsSync'](_0x3899d8)?fs[_0xf10917(0x2bb)](_0x3899d8):Buffer[_0xf10917(0x2bd)](0x0),_0x37ed3b;return _0x430a28&&(_0x430a28[_0xf10917(0x29c)]||_0x430a28[_0xf10917(0x2c4)])?_0x37ed3b=await writeExifVid(_0x1fd268,_0x430a28):_0x37ed3b=await videoToWebp(_0x1fd268),await _0x4b0ba8[_0xf10917(0x26f)](_0x6e8011,{'sticker':{'url':_0x37ed3b},..._0x430a28},{'quoted':_0x56cfb2}),_0x37ed3b;},_0x4b0ba8[_0x4f6d0a(0x270)]=(_0x254813='')=>{const _0x2cc6ac=_0x4f6d0a;return[..._0x254813[_0x2cc6ac(0x295)](/@([0-9]{5,16}|0)/g)][_0x2cc6ac(0x215)](_0x4378f6=>_0x4378f6[0x1]+'@s.whatsapp.net');},_0x4b0ba8[_0x4f6d0a(0x2bc)]=async(_0x51a238,_0x42c1c9,_0x57ae73,_0x589012={})=>_0x4b0ba8[_0x4f6d0a(0x26f)](_0x51a238,{'text':_0x42c1c9,'contextInfo':{'mentionedJid':[..._0x42c1c9[_0x4f6d0a(0x295)](/@(\d{0,16})/g)][_0x4f6d0a(0x215)](_0x481f8c=>_0x481f8c[0x1]+'@s.whatsapp.net')},..._0x589012},{'quoted':_0x57ae73}),_0x4b0ba8[_0x4f6d0a(0x208)]=(_0x5494b6='',_0x5db27c=![])=>{const _0x44c17b=_0x4f6d0a;_0x5494b6=_0x4b0ba8[_0x44c17b(0x248)](_0x5494b6),_0x5db27c=this[_0x44c17b(0x204)]||_0x5db27c;let _0x385a05;if(_0x5494b6[_0x44c17b(0x27d)]('@g.us'))return new Promise(async _0x2c9952=>{const _0x20e3aa=_0x44c17b;_0x385a05=_0x4b0ba8[_0x20e3aa(0x272)][_0x5494b6]||{};if(!(_0x385a05[_0x20e3aa(0x24c)]||_0x385a05['subject']))_0x385a05=await _0x4b0ba8[_0x20e3aa(0x219)](_0x5494b6)||{};_0x2c9952(_0x385a05[_0x20e3aa(0x24c)]||_0x385a05['subject']||PhoneNumber('+'+_0x5494b6[_0x20e3aa(0x20b)]('@s.whatsapp.net',''))[_0x20e3aa(0x252)](_0x20e3aa(0x1e2)));});else _0x385a05=_0x5494b6===_0x44c17b(0x23f)?{'jid':_0x5494b6,'vname':_0x44c17b(0x2ce)}:areJidsSameUser(_0x5494b6,_0x4b0ba8[_0x44c17b(0x1e9)]['id'])?_0x4b0ba8['user']:_0x4b0ba8[_0x44c17b(0x272)][_0x5494b6]||{};return(_0x5db27c?'':_0x385a05['name'])||_0x385a05[_0x44c17b(0x2d6)]||_0x385a05[_0x44c17b(0x268)]||_0x385a05[_0x44c17b(0x213)]||_0x385a05[_0x44c17b(0x1f5)]||PhoneNumber('+'+_0x5494b6[_0x44c17b(0x20b)]('@s.whatsapp.net',''))['getNumber'](_0x44c17b(0x1e2));},_0x4b0ba8[_0x4f6d0a(0x1fe)]=async _0x3518f9=>{const _0x4d6dac=_0x4f6d0a;if(!_0x3518f9[_0x4d6dac(0x214)])return;const _0x39ac44=_0x4b0ba8[_0x4d6dac(0x248)](_0x3518f9[_0x4d6dac(0x23d)]['remoteJid']||_0x3518f9[_0x4d6dac(0x230)]?.['senderKeyDistributionMessage']?.[_0x4d6dac(0x1fb)]||'');if(!_0x39ac44||_0x39ac44===_0x4d6dac(0x2d0))return;const _0x3b0512=_0x1dbcb5=>{const _0x190f8b=_0x4d6dac;_0x4b0ba8['ev'][_0x190f8b(0x279)]('groups.update',[{'id':_0x39ac44,..._0x1dbcb5}]);};switch(_0x3518f9[_0x4d6dac(0x214)]){case WAMessageStubType[_0x4d6dac(0x1fd)]:case WAMessageStubType['GROUP_CHANGE_INVITE_LINK']:_0x3b0512({'revoke':_0x3518f9[_0x4d6dac(0x2c7)][0x0]});break;case WAMessageStubType[_0x4d6dac(0x2b2)]:_0x3b0512({'icon':_0x3518f9[_0x4d6dac(0x2c7)][0x0]});break;default:{console[_0x4d6dac(0x231)]({'messageStubType':_0x3518f9[_0x4d6dac(0x214)],'messageStubParameters':_0x3518f9[_0x4d6dac(0x2c7)],'type':WAMessageStubType[_0x3518f9[_0x4d6dac(0x214)]]});break;}}const _0x515114=_0x39ac44[_0x4d6dac(0x27d)](_0x4d6dac(0x288));if(!_0x515114)return;let _0x269951=_0x4b0ba8[_0x4d6dac(0x272)][_0x39ac44];if(!_0x269951)_0x269951=_0x4b0ba8[_0x4d6dac(0x272)][_0x39ac44]={'id':_0x39ac44};_0x269951[_0x4d6dac(0x234)]=!![];const _0x17d148=await _0x4b0ba8[_0x4d6dac(0x219)](_0x39ac44)[_0x4d6dac(0x27b)](_0x395ad7=>null);if(!_0x17d148)return;_0x269951['subject']=_0x17d148[_0x4d6dac(0x2d6)],_0x269951[_0x4d6dac(0x206)]=_0x17d148;},_0x4b0ba8[_0x4f6d0a(0x233)]=async()=>{const _0x5c5740=_0x4f6d0a,_0x185db4=await _0x4b0ba8[_0x5c5740(0x2d9)]()[_0x5c5740(0x27b)](_0xdbb640=>null)||{};for(const _0x2dbb0f in _0x185db4)_0x4b0ba8[_0x5c5740(0x272)][_0x2dbb0f]={..._0x4b0ba8[_0x5c5740(0x272)][_0x2dbb0f]||{},'id':_0x2dbb0f,'subject':_0x185db4[_0x2dbb0f]['subject'],'isChats':!![],'metadata':_0x185db4[_0x2dbb0f]};return _0x4b0ba8[_0x5c5740(0x272)];},_0x4b0ba8[_0x4f6d0a(0x24b)]=async _0x3f6fcd=>{const _0x56d51d=_0x4f6d0a;if(!_0x3f6fcd)return;if(!Array[_0x56d51d(0x275)](_0x3f6fcd))_0x3f6fcd=[_0x3f6fcd];for(const _0x3d54ef of _0x3f6fcd){try{if(!_0x3d54ef)continue;if(_0x3d54ef[_0x56d51d(0x214)]&&_0x3d54ef[_0x56d51d(0x214)]!=WAMessageStubType[_0x56d51d(0x2a3)])_0x4b0ba8[_0x56d51d(0x1fe)](_0x3d54ef)[_0x56d51d(0x27b)](console[_0x56d51d(0x269)]);const _0x2ab55f=Object['keys'](_0x3d54ef[_0x56d51d(0x230)]||{}),_0x294cfe=!['senderKeyDistributionMessage',_0x56d51d(0x1f6)]['includes'](_0x2ab55f[0x0])&&_0x2ab55f[0x0]||_0x2ab55f[_0x56d51d(0x22a)]>=0x3&&_0x2ab55f[0x1]!=='messageContextInfo'&&_0x2ab55f[0x1]||_0x2ab55f[_0x2ab55f[_0x56d51d(0x22a)]-0x1],_0xd58848=_0x4b0ba8[_0x56d51d(0x248)](_0x3d54ef[_0x56d51d(0x23d)][_0x56d51d(0x29a)]||_0x3d54ef['message']?.[_0x56d51d(0x1f0)]?.[_0x56d51d(0x1fb)]||'');if(_0x3d54ef[_0x56d51d(0x230)]?.[_0x294cfe]?.[_0x56d51d(0x22b)]?.[_0x56d51d(0x2bf)]){let _0x1342fc=_0x3d54ef[_0x56d51d(0x230)][_0x294cfe]['contextInfo'],_0x1e942b=_0x4b0ba8['decodeJid'](_0x1342fc[_0x56d51d(0x21e)]);const _0x4ed2f1=_0x4b0ba8[_0x56d51d(0x248)](_0x1342fc['remoteJid']||_0x1e942b);let _0x3dee6f=_0x3d54ef[_0x56d51d(0x230)][_0x294cfe][_0x56d51d(0x22b)]['quotedMessage'];if(_0x4ed2f1&&_0x4ed2f1!=='status@broadcast'&&_0x3dee6f){let _0x3acb65=Object[_0x56d51d(0x2ca)](_0x3dee6f)[0x0];_0x3acb65==_0x56d51d(0x207)&&(_0x3dee6f[_0x56d51d(0x277)]={'text':_0x3dee6f[_0x3acb65]},delete _0x3dee6f[_0x56d51d(0x207)],_0x3acb65=_0x56d51d(0x277));if(!_0x3dee6f[_0x3acb65][_0x56d51d(0x22b)])_0x3dee6f[_0x3acb65][_0x56d51d(0x22b)]={};_0x3dee6f[_0x3acb65][_0x56d51d(0x22b)][_0x56d51d(0x298)]=_0x1342fc[_0x56d51d(0x298)]||_0x3dee6f[_0x3acb65][_0x56d51d(0x22b)]['mentionedJid']||[];const _0x59a44a=_0x4ed2f1[_0x56d51d(0x27d)]('g.us');if(_0x59a44a&&!_0x1e942b)_0x1e942b=_0x4ed2f1;const _0x4b7f3c={'key':{'remoteJid':_0x4ed2f1,'fromMe':areJidsSameUser(_0x4b0ba8[_0x56d51d(0x1e9)][_0x56d51d(0x24e)],_0x4ed2f1),'id':_0x1342fc[_0x56d51d(0x242)],'participant':_0x1e942b},'message':JSON[_0x56d51d(0x2ad)](JSON[_0x56d51d(0x217)](_0x3dee6f)),..._0x59a44a?{'participant':_0x1e942b}:{}};let _0x2a186e=_0x4b0ba8[_0x56d51d(0x272)][_0x1e942b];if(!_0x2a186e)_0x2a186e=_0x4b0ba8[_0x56d51d(0x272)][_0x1e942b]={'id':_0x1e942b,'isChats':!_0x59a44a};if(!_0x2a186e[_0x56d51d(0x1fc)])_0x2a186e['messages']={};if(!_0x2a186e[_0x56d51d(0x1fc)][_0x1342fc[_0x56d51d(0x242)]]&&!_0x4b7f3c['key']['fromMe'])_0x2a186e[_0x56d51d(0x1fc)][_0x1342fc['stanzaId']]=_0x4b7f3c;let _0x15a4ab;if((_0x15a4ab=Object[_0x56d51d(0x2db)](_0x2a186e['messages']))[_0x56d51d(0x22a)]>0x28)_0x2a186e[_0x56d51d(0x1fc)]=Object[_0x56d51d(0x29e)](_0x15a4ab[_0x56d51d(0x21f)](0x1e,_0x15a4ab[_0x56d51d(0x22a)]));}}if(!_0xd58848||_0xd58848===_0x56d51d(0x2d0))continue;const _0x95857c=_0xd58848[_0x56d51d(0x27d)](_0x56d51d(0x288));let _0x11c8a6=_0x4b0ba8[_0x56d51d(0x272)][_0xd58848];if(!_0x11c8a6){if(_0x95857c)await _0x4b0ba8['insertAllGroup']()[_0x56d51d(0x27b)](console[_0x56d51d(0x269)]);_0x11c8a6=_0x4b0ba8[_0x56d51d(0x272)][_0xd58848]={'id':_0xd58848,'isChats':!![],..._0x4b0ba8[_0x56d51d(0x272)][_0xd58848]||{}};}let _0x573dbf,_0x9017be;if(_0x95857c){if(!_0x11c8a6[_0x56d51d(0x2d6)]||!_0x11c8a6[_0x56d51d(0x206)]){_0x573dbf=await _0x4b0ba8[_0x56d51d(0x219)](_0xd58848)[_0x56d51d(0x27b)](_0x1ffba1=>({}))||{};if(!_0x11c8a6['subject'])_0x11c8a6['subject']=_0x573dbf['subject']||'';if(!_0x11c8a6['metadata'])_0x11c8a6['metadata']=_0x573dbf;}_0x9017be=_0x4b0ba8[_0x56d51d(0x248)](_0x3d54ef['key']?.[_0x56d51d(0x22d)]&&_0x4b0ba8[_0x56d51d(0x1e9)]['id']||_0x3d54ef[_0x56d51d(0x21e)]||_0x3d54ef[_0x56d51d(0x23d)]?.['participant']||_0xd58848||'');if(_0x9017be!==_0xd58848){let _0x7f4fe1=_0x4b0ba8[_0x56d51d(0x272)][_0x9017be];if(!_0x7f4fe1)_0x7f4fe1=_0x4b0ba8[_0x56d51d(0x272)][_0x9017be]={'id':_0x9017be};if(!_0x7f4fe1[_0x56d51d(0x24c)])_0x7f4fe1[_0x56d51d(0x24c)]=_0x3d54ef[_0x56d51d(0x1ed)]||_0x7f4fe1[_0x56d51d(0x24c)]||'';}}else{if(!_0x11c8a6[_0x56d51d(0x24c)])_0x11c8a6[_0x56d51d(0x24c)]=_0x3d54ef['pushName']||_0x11c8a6[_0x56d51d(0x24c)]||'';}if(['senderKeyDistributionMessage',_0x56d51d(0x1f6)][_0x56d51d(0x2dd)](_0x294cfe))continue;_0x11c8a6[_0x56d51d(0x234)]=!![];if(!_0x11c8a6['messages'])_0x11c8a6['messages']={};const _0x5c5cee=_0x3d54ef['key'][_0x56d51d(0x22d)]||areJidsSameUser(_0x9017be||_0xd58848,_0x4b0ba8[_0x56d51d(0x1e9)]['id']);if(![_0x56d51d(0x211)][_0x56d51d(0x2dd)](_0x294cfe)&&!_0x5c5cee&&_0x3d54ef[_0x56d51d(0x214)]!=WAMessageStubType['CIPHERTEXT']&&_0x3d54ef[_0x56d51d(0x230)]){delete _0x3d54ef[_0x56d51d(0x230)][_0x56d51d(0x1f6)],delete _0x3d54ef['message'][_0x56d51d(0x1f0)],_0x11c8a6[_0x56d51d(0x1fc)][_0x3d54ef[_0x56d51d(0x23d)]['id']]=JSON[_0x56d51d(0x2ad)](JSON[_0x56d51d(0x217)](_0x3d54ef,null,0x2));let _0x555ce6;if((_0x555ce6=Object[_0x56d51d(0x2db)](_0x11c8a6[_0x56d51d(0x1fc)]))['length']>0x28)_0x11c8a6[_0x56d51d(0x1fc)]=Object[_0x56d51d(0x29e)](_0x555ce6[_0x56d51d(0x21f)](0x1e,_0x555ce6[_0x56d51d(0x22a)]));}}catch(_0x4108df){console[_0x56d51d(0x269)](_0x4108df);}}},_0x4b0ba8[_0x4f6d0a(0x1e7)]=async _0x470ba6=>{const _0x3b5ada=_0x4f6d0a;let _0x13ffc7,_0x4d9301=Buffer[_0x3b5ada(0x1f7)](_0x470ba6)?_0x470ba6:/^data:.*?\/.*?;base64,/i['test'](_0x470ba6)?Buffer['from'](_0x470ba6[_0x3b5ada(0x266)]`,`[0x1],_0x3b5ada(0x2aa)):/^https?:\/\//['test'](_0x470ba6)?await(_0x13ffc7=await fetch(_0x470ba6))['buffer']():fs['existsSync'](_0x470ba6)?fs[_0x3b5ada(0x2bb)](_0x470ba6):typeof _0x470ba6===_0x3b5ada(0x259)?_0x470ba6:Buffer[_0x3b5ada(0x2bd)](0x0);if(!Buffer['isBuffer'](_0x4d9301))throw new TypeError(_0x3b5ada(0x285));let _0x5cb948=await FileType[_0x3b5ada(0x22f)](_0x4d9301)||{'mime':_0x3b5ada(0x20e),'ext':_0x3b5ada(0x2b5)};return{'res':_0x13ffc7,..._0x5cb948,'data':_0x4d9301};},_0x4b0ba8[_0x4f6d0a(0x28d)]=async(_0x19985a,_0x1941c9='',_0xc7b679,_0xa00b4b)=>{const _0x35e32b=_0x4f6d0a;if(!Array[_0x35e32b(0x275)](_0xc7b679[0x0])&&typeof _0xc7b679[0x0]===_0x35e32b(0x259))_0xc7b679=[_0xc7b679];if(!_0xa00b4b)_0xa00b4b={};const _0x366506={'name':_0x1941c9,'options':_0xc7b679[_0x35e32b(0x215)](_0x3ee579=>({'optionName':_0x3ee579[0x0]||''})),'selectableOptionsCount':0x1};return _0x4b0ba8[_0x35e32b(0x2a9)](_0x19985a,{'pollCreationMessage':_0x366506},{..._0xa00b4b});},_0x4b0ba8[_0x4f6d0a(0x2e0)]=async _0x86b417=>{const _0x477f88=_0x4f6d0a;return await _0x4b0ba8[_0x477f88(0x25f)]({'tag':'iq','attrs':{'to':_0x477f88(0x2e1),'type':_0x477f88(0x26e),'xmlns':_0x477f88(0x286)},'content':[{'tag':_0x477f88(0x286),'attrs':{},'content':Buffer['from'](_0x86b417,'utf-8')}]});},_0x4b0ba8['format']=(..._0x247e3a)=>{return util['format'](..._0x247e3a);},_0x4b0ba8[_0x4f6d0a(0x292)]=async(_0x55831d,_0xaa60f)=>{const _0x211c69=_0x4f6d0a;try{_0xaa60f?_0xaa60f:{};const _0x2a2ae8=await axios({'method':'get','url':_0x55831d,'headers':{'DNT':0x1,'Upgrade-Insecure-Request':0x1},..._0xaa60f,'responseType':_0x211c69(0x23b)});return _0x2a2ae8['data'];}catch(_0x5e428b){console[_0x211c69(0x231)](_0x211c69(0x2de)+_0x5e428b);}},_0x4b0ba8['serializeM']=_0x83c558=>{const _0x890374=_0x4f6d0a;return exports[_0x890374(0x27c)](_0x4b0ba8,_0x83c558);},Object[_0x4f6d0a(0x2af)](_0x4b0ba8,_0x4f6d0a(0x24c),{'value':'WASocket','configurable':!![]}),_0x4b0ba8;},exports[_0x5be20e(0x27c)]=(_0x3be2fd,_0x5187c8,_0x5019df)=>{const _0x4ce5bf=_0x5be20e;if(!_0x5187c8)return _0x5187c8;let _0x1b2bda=proto[_0x4ce5bf(0x2cc)];_0x5187c8=_0x1b2bda['fromObject'](_0x5187c8);_0x5187c8['key']&&(_0x5187c8['id']=_0x5187c8[_0x4ce5bf(0x23d)]['id'],_0x5187c8[_0x4ce5bf(0x240)]=_0x5187c8['id']&&_0x5187c8['id'][_0x4ce5bf(0x22a)]===0x10||_0x5187c8['id']['startsWith']('3EB0')&&_0x5187c8['id'][_0x4ce5bf(0x22a)]===0xc||![],_0x5187c8[_0x4ce5bf(0x2ae)]=_0x3be2fd[_0x4ce5bf(0x248)](_0x5187c8[_0x4ce5bf(0x23d)][_0x4ce5bf(0x29a)]||message[_0x4ce5bf(0x230)]?.[_0x4ce5bf(0x1f0)]?.[_0x4ce5bf(0x1fb)]||''),_0x5187c8[_0x4ce5bf(0x227)]=_0x5187c8[_0x4ce5bf(0x2ae)][_0x4ce5bf(0x27d)]('@g.us'),_0x5187c8['sender']=_0x3be2fd[_0x4ce5bf(0x248)](_0x5187c8[_0x4ce5bf(0x23d)][_0x4ce5bf(0x22d)]&&_0x3be2fd[_0x4ce5bf(0x1e9)]['id']||_0x5187c8[_0x4ce5bf(0x21e)]||_0x5187c8['key'][_0x4ce5bf(0x21e)]||_0x5187c8[_0x4ce5bf(0x2ae)]||''),_0x5187c8[_0x4ce5bf(0x22d)]=_0x5187c8[_0x4ce5bf(0x23d)][_0x4ce5bf(0x22d)]||areJidsSameUser(_0x5187c8[_0x4ce5bf(0x2cd)],_0x3be2fd[_0x4ce5bf(0x1e9)]['id']));if(_0x5187c8[_0x4ce5bf(0x230)]){let _0x2505d6=Object[_0x4ce5bf(0x2ca)](_0x5187c8[_0x4ce5bf(0x230)]);_0x5187c8[_0x4ce5bf(0x209)]=![_0x4ce5bf(0x1f0),_0x4ce5bf(0x1f6)][_0x4ce5bf(0x2dd)](_0x2505d6[0x0])&&_0x2505d6[0x0]||_0x2505d6['length']>=0x3&&_0x2505d6[0x1]!==_0x4ce5bf(0x1f6)&&_0x2505d6[0x1]||_0x2505d6[_0x2505d6[_0x4ce5bf(0x22a)]-0x1],_0x5187c8['msg']=_0x5187c8['message'][_0x5187c8[_0x4ce5bf(0x209)]];if(_0x5187c8[_0x4ce5bf(0x2ae)]==_0x4ce5bf(0x2d0)&&[_0x4ce5bf(0x211),_0x4ce5bf(0x1f0)]['includes'](_0x5187c8['mtype']))_0x5187c8[_0x4ce5bf(0x2ae)]=_0x5187c8['key'][_0x4ce5bf(0x29a)]!==_0x4ce5bf(0x2d0)&&_0x5187c8['key'][_0x4ce5bf(0x29a)]||_0x5187c8[_0x4ce5bf(0x2cd)];if(_0x5187c8[_0x4ce5bf(0x209)]=='protocolMessage'&&_0x5187c8[_0x4ce5bf(0x232)][_0x4ce5bf(0x23d)]){if(_0x5187c8[_0x4ce5bf(0x232)][_0x4ce5bf(0x23d)][_0x4ce5bf(0x29a)]==_0x4ce5bf(0x2d0))_0x5187c8[_0x4ce5bf(0x232)][_0x4ce5bf(0x23d)]['remoteJid']=_0x5187c8[_0x4ce5bf(0x2ae)];if(!_0x5187c8[_0x4ce5bf(0x232)]['key'][_0x4ce5bf(0x21e)]||_0x5187c8[_0x4ce5bf(0x232)][_0x4ce5bf(0x23d)][_0x4ce5bf(0x21e)]==_0x4ce5bf(0x278))_0x5187c8['msg'][_0x4ce5bf(0x23d)][_0x4ce5bf(0x21e)]=_0x5187c8[_0x4ce5bf(0x2cd)];_0x5187c8[_0x4ce5bf(0x232)]['key'][_0x4ce5bf(0x22d)]=_0x3be2fd[_0x4ce5bf(0x248)](_0x5187c8[_0x4ce5bf(0x232)][_0x4ce5bf(0x23d)][_0x4ce5bf(0x21e)])===_0x3be2fd[_0x4ce5bf(0x248)](_0x3be2fd[_0x4ce5bf(0x1e9)]['id']);if(!_0x5187c8[_0x4ce5bf(0x232)][_0x4ce5bf(0x23d)][_0x4ce5bf(0x22d)]&&_0x5187c8[_0x4ce5bf(0x232)]['key'][_0x4ce5bf(0x29a)]===_0x3be2fd[_0x4ce5bf(0x248)](_0x3be2fd['user']['id']))_0x5187c8[_0x4ce5bf(0x232)]['key']['remoteJid']=_0x5187c8[_0x4ce5bf(0x2cd)];}_0x5187c8[_0x4ce5bf(0x2cb)]=_0x5187c8[_0x4ce5bf(0x232)][_0x4ce5bf(0x2cb)]||_0x5187c8[_0x4ce5bf(0x232)][_0x4ce5bf(0x25c)]||_0x5187c8[_0x4ce5bf(0x232)][_0x4ce5bf(0x216)]||_0x5187c8[_0x4ce5bf(0x232)]||'';if(typeof _0x5187c8['text']!=='string'){if([_0x4ce5bf(0x211),_0x4ce5bf(0x1f6),_0x4ce5bf(0x225),'audioMessage',_0x4ce5bf(0x1f0)]['includes'](_0x5187c8[_0x4ce5bf(0x209)]))_0x5187c8[_0x4ce5bf(0x2cb)]='';else _0x5187c8[_0x4ce5bf(0x2cb)]=_0x5187c8[_0x4ce5bf(0x2cb)][_0x4ce5bf(0x22e)]||_0x5187c8[_0x4ce5bf(0x2cb)]['hydratedTemplate']?.[_0x4ce5bf(0x299)]||_0x5187c8[_0x4ce5bf(0x2cb)];}_0x5187c8[_0x4ce5bf(0x298)]=_0x5187c8['msg']?.[_0x4ce5bf(0x22b)]?.[_0x4ce5bf(0x298)]?.[_0x4ce5bf(0x22a)]&&_0x5187c8['msg']['contextInfo'][_0x4ce5bf(0x298)]||[];let _0x43a9d4=_0x5187c8['quoted']=_0x5187c8[_0x4ce5bf(0x232)]?.[_0x4ce5bf(0x22b)]?.[_0x4ce5bf(0x2bf)]?_0x5187c8[_0x4ce5bf(0x232)][_0x4ce5bf(0x22b)][_0x4ce5bf(0x2bf)]:null;if(_0x5187c8[_0x4ce5bf(0x2b4)]){let _0x2c4012=Object[_0x4ce5bf(0x2ca)](_0x5187c8['quoted'])[0x0];_0x5187c8[_0x4ce5bf(0x2b4)]=_0x5187c8[_0x4ce5bf(0x2b4)][_0x2c4012];if(typeof _0x5187c8[_0x4ce5bf(0x2b4)]===_0x4ce5bf(0x259))_0x5187c8[_0x4ce5bf(0x2b4)]={'text':_0x5187c8[_0x4ce5bf(0x2b4)]};_0x5187c8[_0x4ce5bf(0x2b4)][_0x4ce5bf(0x209)]=_0x2c4012,_0x5187c8[_0x4ce5bf(0x2b4)]['id']=_0x5187c8[_0x4ce5bf(0x232)][_0x4ce5bf(0x22b)][_0x4ce5bf(0x242)],_0x5187c8[_0x4ce5bf(0x2b4)][_0x4ce5bf(0x2ae)]=_0x3be2fd['decodeJid'](_0x5187c8['msg'][_0x4ce5bf(0x22b)][_0x4ce5bf(0x29a)]||_0x5187c8['chat']||_0x5187c8[_0x4ce5bf(0x2cd)]),_0x5187c8[_0x4ce5bf(0x2b4)][_0x4ce5bf(0x240)]=_0x5187c8[_0x4ce5bf(0x2b4)]['id']&&_0x5187c8[_0x4ce5bf(0x2b4)]['id']['length']===0x10||![],_0x5187c8[_0x4ce5bf(0x2b4)][_0x4ce5bf(0x2cd)]=_0x3be2fd[_0x4ce5bf(0x248)](_0x5187c8[_0x4ce5bf(0x232)]['contextInfo']['participant']),_0x5187c8[_0x4ce5bf(0x2b4)][_0x4ce5bf(0x22d)]=_0x5187c8['quoted'][_0x4ce5bf(0x2cd)]===_0x3be2fd['user'][_0x4ce5bf(0x24e)],_0x5187c8[_0x4ce5bf(0x2b4)]['text']=_0x5187c8[_0x4ce5bf(0x2b4)][_0x4ce5bf(0x2cb)]||_0x5187c8['quoted'][_0x4ce5bf(0x25c)]||_0x5187c8[_0x4ce5bf(0x2b4)][_0x4ce5bf(0x216)]||'',_0x5187c8[_0x4ce5bf(0x2b4)][_0x4ce5bf(0x24c)]=_0x3be2fd['getName'](_0x5187c8[_0x4ce5bf(0x2b4)][_0x4ce5bf(0x2cd)]),_0x5187c8['quoted'][_0x4ce5bf(0x298)]=_0x5187c8[_0x4ce5bf(0x2b4)][_0x4ce5bf(0x22b)]?.[_0x4ce5bf(0x298)]?.[_0x4ce5bf(0x22a)]&&_0x5187c8[_0x4ce5bf(0x2b4)][_0x4ce5bf(0x22b)][_0x4ce5bf(0x298)]||[];let _0x425449=_0x5187c8[_0x4ce5bf(0x2b4)]['fakeObj']=_0x1b2bda[_0x4ce5bf(0x25a)]({'key':{'fromMe':_0x5187c8[_0x4ce5bf(0x2b4)]['fromMe'],'remoteJid':_0x5187c8['quoted'][_0x4ce5bf(0x2ae)],'id':_0x5187c8['quoted']['id']},'message':_0x43a9d4,..._0x5187c8[_0x4ce5bf(0x227)]?{'participant':_0x5187c8[_0x4ce5bf(0x2b4)][_0x4ce5bf(0x2cd)]}:{}});_0x5187c8[_0x4ce5bf(0x245)]=_0x5187c8[_0x4ce5bf(0x237)]=async()=>{const _0x4b90e5=_0x4ce5bf;if(!_0x5187c8[_0x4b90e5(0x2b4)]['id'])return null;let _0x2eb695=_0x1b2bda[_0x4b90e5(0x25a)](await _0x3be2fd[_0x4b90e5(0x2ac)](_0x5187c8[_0x4b90e5(0x2b4)]['id'])||_0x425449);return exports['smsg'](_0x3be2fd,_0x2eb695);};if(_0x5187c8[_0x4ce5bf(0x2b4)][_0x4ce5bf(0x2d8)]||_0x5187c8['quoted'][_0x4ce5bf(0x1fa)])_0x5187c8[_0x4ce5bf(0x2b4)][_0x4ce5bf(0x2a7)]=(_0x4ca696=![])=>_0x3be2fd['downloadM'](_0x5187c8[_0x4ce5bf(0x2b4)],_0x5187c8[_0x4ce5bf(0x2b4)][_0x4ce5bf(0x209)][_0x4ce5bf(0x20b)](/message/i,''),_0x4ca696);_0x5187c8[_0x4ce5bf(0x2b4)][_0x4ce5bf(0x2c1)]=(_0x17f7bb,_0x3bfe4b,_0x44dcf6)=>_0x3be2fd[_0x4ce5bf(0x2c1)](_0x3bfe4b?_0x3bfe4b:_0x5187c8[_0x4ce5bf(0x2ae)],_0x17f7bb,_0x425449,_0x44dcf6),_0x5187c8['quoted'][_0x4ce5bf(0x276)]=()=>exports['smsg'](_0x3be2fd,_0x1b2bda[_0x4ce5bf(0x25a)](_0x1b2bda[_0x4ce5bf(0x1ef)](_0x425449))),_0x5187c8[_0x4ce5bf(0x2b4)]['forward']=(_0x409671,_0x235df0=![])=>_0x3be2fd['forwardMessage'](_0x409671,_0x425449,_0x235df0),_0x5187c8[_0x4ce5bf(0x2b4)]['copyNForward']=(_0x2fad17,_0x1a8571=!![],_0x40f5f9={})=>_0x3be2fd[_0x4ce5bf(0x249)](_0x2fad17,_0x425449,_0x1a8571,_0x40f5f9),_0x5187c8[_0x4ce5bf(0x2b4)][_0x4ce5bf(0x223)]=(_0x568649,_0x116dac='',_0x3cb2f0=_0x5187c8['quoted'][_0x4ce5bf(0x2cd)],_0x32b2ba={})=>_0x3be2fd[_0x4ce5bf(0x223)](_0x568649,_0x425449,_0x116dac,_0x3cb2f0,_0x32b2ba),_0x5187c8[_0x4ce5bf(0x2b4)][_0x4ce5bf(0x297)]=()=>_0x3be2fd[_0x4ce5bf(0x26f)](_0x5187c8[_0x4ce5bf(0x2b4)][_0x4ce5bf(0x2ae)],{'delete':_0x425449[_0x4ce5bf(0x23d)]});}}_0x5187c8['name']=_0x5187c8[_0x4ce5bf(0x1ed)]||_0x3be2fd[_0x4ce5bf(0x208)](_0x5187c8[_0x4ce5bf(0x2cd)]);if(_0x5187c8['msg']&&_0x5187c8[_0x4ce5bf(0x232)][_0x4ce5bf(0x2d8)])_0x5187c8[_0x4ce5bf(0x2a7)]=(_0x329f65=![])=>_0x3be2fd[_0x4ce5bf(0x2d3)](_0x5187c8[_0x4ce5bf(0x232)],_0x5187c8[_0x4ce5bf(0x209)][_0x4ce5bf(0x20b)](/message/i,''),_0x329f65);_0x5187c8[_0x4ce5bf(0x2c1)]=(_0x33ed70,_0x2608d6,_0x3912a1)=>_0x3be2fd[_0x4ce5bf(0x2c1)](_0x2608d6?_0x2608d6:_0x5187c8[_0x4ce5bf(0x2ae)],_0x33ed70,_0x5187c8,_0x3912a1),_0x5187c8[_0x4ce5bf(0x276)]=()=>exports[_0x4ce5bf(0x27c)](_0x3be2fd,_0x1b2bda[_0x4ce5bf(0x25a)](_0x1b2bda[_0x4ce5bf(0x1ef)](_0x5187c8))),_0x5187c8[_0x4ce5bf(0x282)]=(_0x46b12c=_0x5187c8[_0x4ce5bf(0x2ae)],_0x23d581=![])=>_0x3be2fd[_0x4ce5bf(0x249)](_0x46b12c,_0x5187c8,_0x23d581,options),_0x5187c8['reply']=async(_0x552ad4,_0x5abe0b,_0x178686)=>_0x3be2fd['reply'](_0x5abe0b?_0x5abe0b:_0x5187c8[_0x4ce5bf(0x2ae)],_0x552ad4,_0x5187c8,_0x178686),_0x5187c8[_0x4ce5bf(0x249)]=(_0x55e35a=_0x5187c8[_0x4ce5bf(0x2ae)],_0x238c89=!![],_0x3be3f5={})=>_0x3be2fd[_0x4ce5bf(0x249)](_0x55e35a,_0x5187c8,_0x238c89,_0x3be3f5),_0x5187c8['cMod']=(_0x4a1390,_0x24f93e='',_0x5a9e1e=_0x5187c8['sender'],_0x53b6a2={})=>_0x3be2fd[_0x4ce5bf(0x223)](_0x4a1390,_0x5187c8,_0x24f93e,_0x5a9e1e,_0x53b6a2),_0x5187c8[_0x4ce5bf(0x297)]=()=>_0x3be2fd[_0x4ce5bf(0x26f)](_0x5187c8[_0x4ce5bf(0x2ae)],{'delete':_0x5187c8[_0x4ce5bf(0x23d)]});try{if(_0x5187c8[_0x4ce5bf(0x232)]&&_0x5187c8['mtype']==_0x4ce5bf(0x211))_0x3be2fd['ev'][_0x4ce5bf(0x279)]('message.delete',_0x5187c8['msg'][_0x4ce5bf(0x23d)]);}catch(_0x38548d){console[_0x4ce5bf(0x269)](_0x38548d);}return _0x5187c8;},exports[_0x5be20e(0x224)]=(_0x541800,_0x2f19a6,_0x2918c0)=>{const _0x4e0cbd=_0x5be20e;if(_0x2f19a6[_0x4e0cbd(0x22a)]!==_0x2918c0['length'])throw new Error(_0x4e0cbd(0x26d));for(let _0x3da95f in _0x2f19a6)if(util[_0x4e0cbd(0x2a6)](_0x541800,_0x2f19a6[_0x3da95f]))return _0x2918c0[_0x3da95f];return null;},exports[_0x5be20e(0x28b)]=()=>{const _0x3d854f=_0x5be20e;Buffer[_0x3d854f(0x21c)][_0x3d854f(0x289)]=function _0x56bed3(){const _0x423240=_0x3d854f,_0x2bbbe0=new ArrayBuffer(this['length']),_0x255027=new Uint8Array(_0x2bbbe0);for(let _0x344692=0x0;_0x344692<this[_0x423240(0x22a)];++_0x344692){_0x255027[_0x344692]=this[_0x344692];}return _0x2bbbe0;},Buffer[_0x3d854f(0x21c)]['toArrayBufferV2']=function _0xf50316(){const _0x1255af=_0x3d854f;return this['buffer'][_0x1255af(0x21f)](this['byteOffset'],this[_0x1255af(0x280)]+this['byteLength']);},ArrayBuffer['prototype'][_0x3d854f(0x23a)]=function _0x2f6ac5(){return Buffer['from'](new Uint8Array(this));},Uint8Array[_0x3d854f(0x21c)][_0x3d854f(0x21b)]=ArrayBuffer[_0x3d854f(0x21c)][_0x3d854f(0x21b)]=Buffer[_0x3d854f(0x21c)]['getFileType']=async function _0x1a9135(){return await fileTypeFromBuffer(this);},String[_0x3d854f(0x21c)]['isNumber']=Number['prototype'][_0x3d854f(0x2b7)]=isNumber,String[_0x3d854f(0x21c)]['capitalize']=function _0x45a015(){const _0x226b15=_0x3d854f;return this['charAt'](0x0)[_0x226b15(0x218)]()+this[_0x226b15(0x21f)](0x1,this[_0x226b15(0x22a)]);},String[_0x3d854f(0x21c)]['capitalizeV2']=function _0x56e734(){const _0x51bf1a=_0x3d854f,_0x401360=this[_0x51bf1a(0x266)]('\x20');return _0x401360['map'](_0x5c4dec=>_0x5c4dec[_0x51bf1a(0x28c)]())[_0x51bf1a(0x2b6)]('\x20');},String['prototype'][_0x3d854f(0x248)]=function _0x572a7c(){const _0x140589=_0x3d854f;if(/:\d+@/gi[_0x140589(0x1ea)](this)){const _0x3aa829=jidDecode(this)||{};return(_0x3aa829[_0x140589(0x1e9)]&&_0x3aa829[_0x140589(0x28a)]&&_0x3aa829[_0x140589(0x1e9)]+'@'+_0x3aa829[_0x140589(0x28a)]||this)[_0x140589(0x226)]();}else return this[_0x140589(0x226)]();},Number[_0x3d854f(0x21c)][_0x3d854f(0x221)]=function _0x18320d(){const _0x1db20c=_0x3d854f,_0x2f488a=Math[_0x1db20c(0x27e)](this/0x3e8%0x3c),_0x36a34e=Math['floor'](this/(0x3c*0x3e8)%0x3c),_0x23f2c8=Math[_0x1db20c(0x27e)](this/(0x3c*0x3c*0x3e8)%0x18),_0x3cd540=Math[_0x1db20c(0x27e)](this/(0x18*0x3c*0x3c*0x3e8));return((_0x3cd540?_0x3cd540+_0x1db20c(0x296):'')+(_0x23f2c8?_0x23f2c8+_0x1db20c(0x241):'')+(_0x36a34e?_0x36a34e+_0x1db20c(0x235):'')+(_0x2f488a?_0x2f488a+_0x1db20c(0x2c3):''))[_0x1db20c(0x226)]();},Number[_0x3d854f(0x21c)][_0x3d854f(0x2c2)]=String['prototype'][_0x3d854f(0x2c2)]=Array['prototype'][_0x3d854f(0x2c2)]=getRandom;};function _0x2e97(){const _0x342c4d=['../tmp/','@g.us','toArrayBuffer','server','protoType','capitalize','sendPoll','loadAllMessages','\x0aORG:\x0aitem1.TEL;waid=','rand','asSticker','getBuffer','toString','\x0aX-WA-BIZ-NAME:','matchAll','\x20day(s)\x20','delete','mentionedJid','hydratedContentText','remoteJid','title','packname','\x0aitem2.X-ABLabel:Email\x0aPHOTO;BASE64:','fromEntries','cyan','chatRead','silent','WARNING\x20[','CIPHERTEXT','710062KTnqRl','ext','isDeepStrictEqual','download','reply1','relayMessage','base64','email','loadMessage','parse','chat','defineProperty','video','\x20Jam\x20','GROUP_CHANGE_ICON','object','quoted','.bin','join','isNumber','bold','INFO\x20[','6515330RbPWgF','readFileSync','sendTextWithMentions','alloc','sendList','quotedMessage','makeWASocket','reply','getRandom','\x20second(s)','author','Message','126bENVDS','messageStubParameters','\x0aEND:VCARD\x0a','random','keys','text','WebMessageInfo','sender','WhatsApp','push','status@broadcast','application','logger','downloadM','find','pino','subject','Invitation\x20to\x20join\x20my\x20WhatsApp\x20group','url','groupFetchAllParticipating','sendMedia','entries','relayWAMessage','includes','Error\x20:\x20','\x0aitem2.EMAIL;type=INTERNET:','setBio','s.whatsapp.net','\x20Hari\x20','rowId','international','9036907sQiEwe','orange','number','child','getFile','unknown\x20subject','user','test','substring','sendImageAsSticker','pushName','file','toObject','senderKeyDistributionMessage','json','displayName','legacy','@s.whatsapp.net','verifiedName','messageContextInfo','isBuffer','writeFileSync','keyword','directPath','groupId','messages','REVOKE','processMessageStubType','audio/ogg;\x20codecs=opus','audio','adReply','asDocument','./lib/exif','withoutContact','waitEvent','metadata','conversation','getName','mtype','file-type','replace','mime','sendReadReceipt','application/octet-stream','description','existsSync','protocolMessage','group-participants.update','notify','messageStubType','map','contentText','stringify','toUpperCase','groupMetadata','filter','getFileType','prototype','rgb','participant','slice','ephemeralMessage','toTimeString','@whiskeysockets/baileys','cMod','logic','stickerMessage','trim','isGroup','sendGroupV4Invite','profilePictureUrl','length','contextInfo','delay','fromMe','selectedDisplayText','fromBuffer','message','log','msg','insertAllGroup','isChats','\x20minute(s)\x20','buffer','getQuotedMessage','\x20Menit','chalk','toBuffer','arraybuffer','fakeReply','key','33nwBapO','0@s.whatsapp.net','isBaileys','\x20hour(s)\x20','stanzaId','\x0aX-WA-BIZ-DESCRIPTION:','lastKnownPresence','getQuotedObj','https://i.imgur.com/5wsWcjp.jpeg','opts','decodeJid','copyNForward','image','pushMessage','name','groups.update','jid','sendStimg','chats.upsert','2vwIiqM','getNumber','6NopdeX','chats.set','unlink','from','forwardingScore','composing','string','fromObject','resize','caption','257456sFzARW','2360705ItXLiK','query','document','path','prepareMessageFromContent','presence.update','jimp','2333439CLnhme','split','asImage','vname','error','mimetype','node-fetch','concat','Input\x20and\x20Output\x20must\x20have\x20same\x20length','set','sendMessage','parseMention','\x0aBEGIN:VCARD\x0aVERSION:3.0\x0aFN:','chats','139440FAhqdy','\x0aitem1.X-ABLabel:Ponsel','isArray','copy','extendedTextMessage','status_me','emit','filename','catch','smsg','endsWith','floor','msToDate','byteOffset','presences','forward','store','sticker','Result\x20is\x20not\x20a\x20buffer','status'];_0x2e97=function(){return _0x342c4d;};return _0x2e97();}function isNumber(){const _0x42f15e=_0x5be20e,_0x55e33c=parseInt(this);return typeof _0x55e33c===_0x42f15e(0x1e5)&&!isNaN(_0x55e33c);}function getRandom(){const _0x120b68=_0x5be20e;if(Array[_0x120b68(0x275)](this)||this instanceof String)return this[Math['floor'](Math['random']()*this[_0x120b68(0x22a)])];return Math[_0x120b68(0x27e)](Math[_0x120b68(0x2c9)]()*this);}function rand(_0x2bc7da){const _0x1fa822=_0x5be20e;return _0x2bc7da[Math[_0x1fa822(0x27e)](Math['random']()*_0x2bc7da['length'])];}