superchats
Version:
SuperChats is a premium library with unique features that control Whatsapp functions. With Superchats you can build service bots, multiservice chats or any system that uses whatsapp
1 lines • 8.85 kB
JavaScript
;const a22_0x344efc=a22_0x5284;(function(_0x30cdc7,_0x167aa5){const _0xe50a07=a22_0x5284,_0x378de1=_0x30cdc7();while(!![]){try{const _0x2605dd=-parseInt(_0xe50a07(0x19d))/0x1+-parseInt(_0xe50a07(0x1ad))/0x2+parseInt(_0xe50a07(0x1bd))/0x3*(-parseInt(_0xe50a07(0x1b0))/0x4)+-parseInt(_0xe50a07(0x1b3))/0x5+-parseInt(_0xe50a07(0x1ae))/0x6+parseInt(_0xe50a07(0x1a6))/0x7*(parseInt(_0xe50a07(0x1c1))/0x8)+-parseInt(_0xe50a07(0x19a))/0x9*(-parseInt(_0xe50a07(0x1a7))/0xa);if(_0x2605dd===_0x167aa5)break;else _0x378de1['push'](_0x378de1['shift']());}catch(_0x1ecf2e){_0x378de1['push'](_0x378de1['shift']());}}}(a22_0x129a,0x43f32));function a22_0x129a(){const _0x395426=['defineProperty','charCodeAt','encodeBinaryNode','LIST_EMPTY','ceil','from','75102uUqzhO','__setModuleDefault','get','utf-8','307208qGTdBn','create','isBuffer','number','default','isArray','floor','keys','PACKED_MAX','__createBinding','call','LIST_16','getOwnPropertyDescriptor','9RjPplQ','HEX_8','push','163462lYsPNY','string','AD_JID','filter','length','./jid-utils','undefined','forEach','dict','7zIbZCe','11364170SgPvbG','writable','LIST_8','nibble','JID_PAIR','jidDecode','25290jdPRww','979110JqkpzM','BINARY_32','64tWgucE','hasOwnProperty','./constants','783300fDSEqV','DICTIONARY_0','NIBBLE_8','__esModule'];a22_0x129a=function(){return _0x395426;};return a22_0x129a();}function a22_0x5284(_0x3825ae,_0xd1f8de){const _0x129ac8=a22_0x129a();return a22_0x5284=function(_0x5284e6,_0x288a85){_0x5284e6=_0x5284e6-0x193;let _0x1ca596=_0x129ac8[_0x5284e6];return _0x1ca596;},a22_0x5284(_0x3825ae,_0xd1f8de);}var __createBinding=this&&this[a22_0x344efc(0x196)]||(Object[a22_0x344efc(0x1c2)]?function(_0x2b5e2f,_0x2e247c,_0x449fb7,_0xe44617){const _0x2d473f=a22_0x344efc;if(_0xe44617===undefined)_0xe44617=_0x449fb7;var _0x13a29d=Object[_0x2d473f(0x199)](_0x2e247c,_0x449fb7);(!_0x13a29d||(_0x2d473f(0x1bf)in _0x13a29d?!_0x2e247c['__esModule']:_0x13a29d[_0x2d473f(0x1a8)]||_0x13a29d['configurable']))&&(_0x13a29d={'enumerable':!![],'get':function(){return _0x2e247c[_0x449fb7];}}),Object[_0x2d473f(0x1b7)](_0x2b5e2f,_0xe44617,_0x13a29d);}:function(_0xd0a04b,_0x4760d4,_0x18a1eb,_0x3dceee){if(_0x3dceee===undefined)_0x3dceee=_0x18a1eb;_0xd0a04b[_0x3dceee]=_0x4760d4[_0x18a1eb];}),__setModuleDefault=this&&this[a22_0x344efc(0x1be)]||(Object[a22_0x344efc(0x1c2)]?function(_0x32f187,_0x152d3a){const _0x34a457=a22_0x344efc;Object[_0x34a457(0x1b7)](_0x32f187,_0x34a457(0x1c5),{'enumerable':!![],'value':_0x152d3a});}:function(_0x29324d,_0x2280da){const _0xa8b09f=a22_0x344efc;_0x29324d[_0xa8b09f(0x1c5)]=_0x2280da;}),__importStar=this&&this['__importStar']||function(_0x189533){const _0x51b9e5=a22_0x344efc;if(_0x189533&&_0x189533[_0x51b9e5(0x1b6)])return _0x189533;var _0x495a50={};if(_0x189533!=null){for(var _0x1dde5f in _0x189533)if(_0x1dde5f!=='default'&&Object['prototype'][_0x51b9e5(0x1b1)][_0x51b9e5(0x197)](_0x189533,_0x1dde5f))__createBinding(_0x495a50,_0x189533,_0x1dde5f);}return __setModuleDefault(_0x495a50,_0x189533),_0x495a50;};Object['defineProperty'](exports,a22_0x344efc(0x1b6),{'value':!![]}),exports[a22_0x344efc(0x1b9)]=void 0x0;const constants=__importStar(require(a22_0x344efc(0x1b2))),jid_utils_1=require(a22_0x344efc(0x1a2)),encodeBinaryNode=(_0x3dd1ec,_0x3ba082=constants,_0x56b383=[0x0])=>{const _0x23b5fc=a22_0x344efc,_0x54cb2f=encodeBinaryNodeInner(_0x3dd1ec,_0x3ba082,_0x56b383);return Buffer[_0x23b5fc(0x1bc)](_0x54cb2f);};exports[a22_0x344efc(0x1b9)]=encodeBinaryNode;const encodeBinaryNodeInner=({tag:_0x36e866,attrs:_0x17cbaf,content:_0x32b508},_0x12d848,_0x3aaaaf)=>{const _0x50b8ae=a22_0x344efc,{TAGS:_0x20362b,TOKEN_MAP:_0x34ac07}=_0x12d848,_0x4070c8=_0x4c133e=>_0x3aaaaf[_0x50b8ae(0x19c)](_0x4c133e&0xff),_0x4a205b=(_0xa7a87f,_0x3b9ad9,_0x5b4936=![])=>{for(let _0x24a293=0x0;_0x24a293<_0x3b9ad9;_0x24a293++){const _0xc7d721=_0x5b4936?_0x24a293:_0x3b9ad9-0x1-_0x24a293;_0x3aaaaf['push'](_0xa7a87f>>_0xc7d721*0x8&0xff);}},_0x3afaa2=_0x1abdf3=>_0x1abdf3[_0x50b8ae(0x1a4)](_0x25d068=>_0x3aaaaf['push'](_0x25d068)),_0x2b92f1=_0x543707=>{_0x3afaa2([_0x543707>>0x8&0xff,_0x543707&0xff]);},_0x45bb4c=_0x2a5751=>_0x3afaa2([_0x2a5751>>0x10&0xf,_0x2a5751>>0x8&0xff,_0x2a5751&0xff]),_0x5751f0=_0x18b34f=>{const _0x492abd=_0x50b8ae;if(_0x18b34f>=0x100000000)throw null;if(_0x18b34f>=0x1<<0x14)_0x4070c8(_0x20362b[_0x492abd(0x1af)]),_0x4a205b(_0x18b34f,0x4);else _0x18b34f>=0x100?(_0x4070c8(_0x20362b['BINARY_20']),_0x45bb4c(_0x18b34f)):(_0x4070c8(_0x20362b['BINARY_8']),_0x4070c8(_0x18b34f));},_0x3d0860=_0x42f34f=>{const _0xd9ea7f=_0x50b8ae,_0x6273df=Buffer[_0xd9ea7f(0x1bc)](_0x42f34f,_0xd9ea7f(0x1c0));_0x5751f0(_0x6273df[_0xd9ea7f(0x1a1)]),_0x3afaa2(_0x6273df);},_0x4f86bc=({domainType:_0x20f0de,device:_0x1c44cd,user:_0x315dae,server:_0x460f20})=>{const _0x4ee841=_0x50b8ae;typeof _0x1c44cd!=='undefined'?(_0x4070c8(_0x20362b[_0x4ee841(0x19f)]),_0x4070c8(_0x20f0de||0x0),_0x4070c8(_0x1c44cd||0x0),_0x3d6d4a(_0x315dae)):(_0x4070c8(_0x20362b[_0x4ee841(0x1ab)]),_0x315dae[_0x4ee841(0x1a1)]?_0x3d6d4a(_0x315dae):_0x4070c8(_0x20362b[_0x4ee841(0x1ba)]),_0x3d6d4a(_0x460f20));},_0x430112=_0x5a8612=>{const _0x239eb2=_0x50b8ae;switch(_0x5a8612){case'-':return 0xa;case'.':return 0xb;case'\x00':return 0xf;default:if(_0x5a8612>='0'&&_0x5a8612<='9')return _0x5a8612[_0x239eb2(0x1b8)](0x0)-'0'[_0x239eb2(0x1b8)](0x0);throw null;}},_0x55e843=_0x1146f7=>{const _0x3681f4=_0x50b8ae;if(_0x1146f7>='0'&&_0x1146f7<='9')return _0x1146f7[_0x3681f4(0x1b8)](0x0)-'0'[_0x3681f4(0x1b8)](0x0);if(_0x1146f7>='A'&&_0x1146f7<='F')return 0xa+_0x1146f7[_0x3681f4(0x1b8)](0x0)-'A'['charCodeAt'](0x0);if(_0x1146f7>='a'&&_0x1146f7<='f')return 0xa+_0x1146f7[_0x3681f4(0x1b8)](0x0)-'a'[_0x3681f4(0x1b8)](0x0);if(_0x1146f7==='\x00')return 0xf;throw null;},_0x4ec0b4=(_0x506f10,_0x55c19c)=>{const _0x145452=_0x50b8ae;if(_0x506f10[_0x145452(0x1a1)]>_0x20362b[_0x145452(0x195)])throw null;_0x4070c8(_0x55c19c==='nibble'?_0x20362b[_0x145452(0x1b5)]:_0x20362b[_0x145452(0x19b)]);let _0x1a4582=Math[_0x145452(0x1bb)](_0x506f10[_0x145452(0x1a1)]/0x2);_0x506f10[_0x145452(0x1a1)]%0x2!==0x0&&(_0x1a4582|=0x80);_0x4070c8(_0x1a4582);const _0x3c36d0=_0x55c19c===_0x145452(0x1aa)?_0x430112:_0x55e843,_0x539ad9=(_0x2dd10f,_0x236370)=>{const _0x99cbec=_0x3c36d0(_0x2dd10f)<<0x4|_0x3c36d0(_0x236370);return _0x99cbec;},_0x2f7c5f=Math[_0x145452(0x193)](_0x506f10[_0x145452(0x1a1)]/0x2);for(let _0x22ef81=0x0;_0x22ef81<_0x2f7c5f;_0x22ef81++){_0x4070c8(_0x539ad9(_0x506f10[0x2*_0x22ef81],_0x506f10[0x2*_0x22ef81+0x1]));}_0x506f10[_0x145452(0x1a1)]%0x2!==0x0&&_0x4070c8(_0x539ad9(_0x506f10[_0x506f10[_0x145452(0x1a1)]-0x1],'\x00'));},_0x1d4cb6=_0x5a3b90=>{const _0xd5c687=_0x50b8ae;if(_0x5a3b90[_0xd5c687(0x1a1)]>_0x20362b[_0xd5c687(0x195)])return![];for(let _0x1c696b=0x0;_0x1c696b<_0x5a3b90['length'];_0x1c696b++){const _0x4dd08e=_0x5a3b90[_0x1c696b],_0x49bb66=_0x4dd08e>='0'&&_0x4dd08e<='9';if(!_0x49bb66&&_0x4dd08e!=='-'&&_0x4dd08e!=='.')return![];}return!![];},_0x1f8323=_0x2127df=>{const _0x32c22a=_0x50b8ae;if(_0x2127df[_0x32c22a(0x1a1)]>_0x20362b['PACKED_MAX'])return![];for(let _0x41c4ab=0x0;_0x41c4ab<_0x2127df['length'];_0x41c4ab++){const _0x4cfc58=_0x2127df[_0x41c4ab],_0x5c9310=_0x4cfc58>='0'&&_0x4cfc58<='9';if(!_0x5c9310&&!(_0x4cfc58>='A'&&_0x4cfc58<='F')&&!(_0x4cfc58>='a'&&_0x4cfc58<='f'))return![];}return!![];},_0x3d6d4a=_0x5bf660=>{const _0x4f6373=_0x50b8ae,_0x6cab=_0x34ac07[_0x5bf660];if(_0x6cab)typeof _0x6cab[_0x4f6373(0x1a5)]===_0x4f6373(0x1c4)&&_0x4070c8(_0x20362b[_0x4f6373(0x1b4)]+_0x6cab[_0x4f6373(0x1a5)]),_0x4070c8(_0x6cab['index']);else{if(_0x1d4cb6(_0x5bf660))_0x4ec0b4(_0x5bf660,'nibble');else{if(_0x1f8323(_0x5bf660))_0x4ec0b4(_0x5bf660,'hex');else{if(_0x5bf660){const _0x2858c2=(0x0,jid_utils_1[_0x4f6373(0x1ac)])(_0x5bf660);_0x2858c2?_0x4f86bc(_0x2858c2):_0x3d0860(_0x5bf660);}}}}},_0xd733ff=_0x4ebe99=>{const _0x59f48f=_0x50b8ae;if(_0x4ebe99===0x0)_0x4070c8(_0x20362b[_0x59f48f(0x1ba)]);else _0x4ebe99<0x100?_0x3afaa2([_0x20362b[_0x59f48f(0x1a9)],_0x4ebe99]):(_0x4070c8(_0x20362b[_0x59f48f(0x198)]),_0x2b92f1(_0x4ebe99));},_0x1737f3=Object[_0x50b8ae(0x194)](_0x17cbaf)[_0x50b8ae(0x1a0)](_0xfb7912=>typeof _0x17cbaf[_0xfb7912]!==_0x50b8ae(0x1a3)&&_0x17cbaf[_0xfb7912]!==null);_0xd733ff(0x2*_0x1737f3[_0x50b8ae(0x1a1)]+0x1+(typeof _0x32b508!=='undefined'?0x1:0x0)),_0x3d6d4a(_0x36e866);for(const _0x4aa573 of _0x1737f3){typeof _0x17cbaf[_0x4aa573]===_0x50b8ae(0x19e)&&(_0x3d6d4a(_0x4aa573),_0x3d6d4a(_0x17cbaf[_0x4aa573]));}if(typeof _0x32b508===_0x50b8ae(0x19e))_0x3d6d4a(_0x32b508);else{if(Buffer[_0x50b8ae(0x1c3)](_0x32b508)||_0x32b508 instanceof Uint8Array)_0x5751f0(_0x32b508[_0x50b8ae(0x1a1)]),_0x3afaa2(_0x32b508);else{if(Array[_0x50b8ae(0x1c6)](_0x32b508)){_0xd733ff(_0x32b508[_0x50b8ae(0x1a1)]);for(const _0x3ab8a7 of _0x32b508){encodeBinaryNodeInner(_0x3ab8a7,_0x12d848,_0x3aaaaf);}}else{if(typeof _0x32b508==='undefined'){}else throw null;}}}return _0x3aaaaf;};