MCPcopy Create free account
hub / github.com/Semporia/Scripts / h5receiveRedpacket

Function h5receiveRedpacket

jd_redPacket.js:987–1055  ·  view source on GitHub ↗
(_0x5f4c06)

Source from the content-addressed store, hash-verified

985}
986
987function h5receiveRedpacket(_0x5f4c06) {
988 var _0x57afad = {
989 'TfHNy': _0x5c3d('282', 'DI]G'), 'tygiq': _0x5c3d('283', 'sEZ['), 'xDOUv': function (_0x5db70b, _0x24df3c) {
990 return _0x5db70b === _0x24df3c;
991 }, 'rZQVU': _0x5c3d('284', ']loZ'), 'lrKHT': _0x5c3d('285', 'piza'), 'YIoks': _0x5c3d('d3', 'n@nG'), 'IhVGR': _0x5c3d('286', 'f$@p'), 'gPwJq': function (_0x28c411, _0x49a35b) {
992 return _0x28c411 !== _0x49a35b;
993 }, 'ykVma': _0x5c3d('287', '#g!5'), 'SOAlQ': _0x5c3d('288', 'NJq]'), 'CUQVp': function (_0x5eceaa, _0x29db57) {
994 return _0x5eceaa(_0x29db57);
995 }, 'JKsBh': _0x5c3d('289', '7De#'), 'PgROV': function (_0x33e47e, _0x19f5ac) {
996 return _0x33e47e + _0x19f5ac;
997 }, 'LvQCZ': function (_0x49c7b7, _0x225ba0, _0x1da602) {
998 return _0x49c7b7(_0x225ba0, _0x1da602);
999 }
1000 };
1001 const _0x3b7254 = {'redPacketId': _0x5f4c06};
1002 _0x3b7254[_0x5c3d('1f1', 'Ykax')] = $[_0x5c3d('28a', '7De#')]($[_0x5c3d('28b', 'P3j6')](_0x57afad[_0x5c3d('28c', 'fCgc')]('j', JSON[_0x5c3d('28d', 'I($f')](_0x3b7254)) + 'D'));
1003 const _0x2ec437 = _0x57afad[_0x5c3d('28e', 'sEZ[')](taskUrl, arguments[_0x5c3d('28f', 'wc[h')][_0x5c3d('1ea', 'KKA&')][_0x5c3d('290', 'fCgc')](), _0x3b7254);
1004 return new Promise(_0xa03e44 => {
1005 var _0x4a1f39 = {
1006 'WRCdy': function (_0x552a02, _0x18d261) {
1007 return _0x57afad[_0x5c3d('291', 'RJ[D')](_0x552a02, _0x18d261);
1008 }, 'RNMPb': _0x57afad['JKsBh'], 'wMAoM': function (_0x2240b1, _0x3a6c56) {
1009 return _0x2240b1 * _0x3a6c56;
1010 }
1011 };
1012 $[_0x5c3d('292', 'I($f')](_0x2ec437, (_0x3ef482, _0x554b2c, _0x3b7254) => {
1013 var _0x10cd55 = {'BHYXw': _0x57afad[_0x5c3d('293', 'Vm#Z')], 'cwTpi': 'https://bean.m.jd.com/bean/signIndex.action', 'ZeqnL': _0x57afad['tygiq']};
1014 try {
1015 if (_0x57afad[_0x5c3d('294', 'KKA&')](_0x5c3d('295', 'piza'), _0x5c3d('296', 'qi!x'))) {
1016 $[_0x5c3d('297', '(S7p')]($[_0x5c3d('298', 'Vm#Z')], _0x10cd55[_0x5c3d('299', 'J(]D')], _0x10cd55[_0x5c3d('29a', '8ye]')], {'open-url': _0x10cd55['cwTpi']});
1017 return;
1018 } else {
1019 if (_0x3ef482) {
1020 console[_0x5c3d('29b', '8ye]')]('\x0a' + $['name'] + _0x5c3d('29c', '$lyO'));
1021 console[_0x5c3d('a2', 'm)@n')](JSON[_0x5c3d('29d', ')4(@')](_0x3ef482));
1022 } else {
1023 if (_0x57afad[_0x5c3d('29e', '$[C2')] === _0x57afad[_0x5c3d('29f', 'pqb(')]) {
1024 _0x3b7254 = JSON['parse'](_0x3b7254);
1025 if (_0x3b7254 && _0x3b7254[_0x5c3d('2a0', 'QeIx')] && _0x57afad[_0x5c3d('2a1', '96*f')](_0x3b7254[_0x5c3d('122', 'dECe')][_0x57afad[_0x5c3d('2a2', 'fCgc')]], 0x0)) {
1026 console[_0x5c3d('47', 'o7vD')](_0x5c3d('2a3', 'qi!x') + _0x3b7254[_0x57afad['YIoks']][_0x5c3d('17c', '1xX6')][_0x57afad[_0x5c3d('2a4', 'I($f')]] + '元');
1027 } else {
1028 if (_0x57afad[_0x5c3d('2a5', 'OghG')](_0x57afad['ykVma'], _0x57afad['SOAlQ'])) {
1029 console[_0x5c3d('2a6', 'o%Hs')](_0x5c3d('2a7', 'sEZ[') + JSON[_0x5c3d('2a8', 'lR53')](_0x3b7254));
1030 } else {
1031 const _0x5999b0 = _0x4a1f39[_0x5c3d('2a9', 'lR53')](require, _0x4a1f39[_0x5c3d('2aa', 'dECe')]);
1032 const _0x5b0a6e = {
1033 'https': _0x5999b0['httpsOverHttp']({
1034 'proxy': {
1035 'host': process[_0x5c3d('2ab', 'QeIx')][_0x5c3d('2ac', '1xX6')],
1036 'port': _0x4a1f39[_0x5c3d('2ad', 's2t@')](process['env'][_0x5c3d('2ae', 'SI!Z')], 0x1)
1037 }
1038 })
1039 };
1040 Object[_0x5c3d('2af', 'NJq]')](_0x2ec437, {'agent': _0x5b0a6e});
1041 }
1042 }
1043 } else {
1044 console[_0x5c3d('2b0', 'XpI[')]('\x0a' + $[_0x5c3d('2b1', 'p4$W')]['data'][_0x10cd55[_0x5c3d('2b2', 'lR53')]] + '\x0a');

Callers

nothing calls this directly

Calls 1

_0x5c3dFunction · 0.85

Tested by

no test coverage detected