-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathzooOpencard01.js
20 lines (20 loc) · 63.2 KB
/
zooOpencard01.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/**
* Author:Panda
* Date:2021-06-04
* Version:1.0
* Url:https://raw.githubusercontent.com/zooPanda/zoo/dev/zooOpencard01.js
*
* 纯开卡 大牌联合618提前购
* 活动地址:https://lzdz1-isv.isvjcloud.com/dingzhi/dz/openCard/activity?activityId=d4aeb27dd22845d2ad70ad5f1f10b430
* 活动时间:截止2021-06-13
* 账号1默认助力Panda,后续账号助力账号1,如账号1无法正常获取到参数,则所有账号均助力Panda
*
* 环境变量:
* - export ZOO_ADD2CART="true" //默认不加购商品
*/
const $ = new Env("大牌联合618提前购");
const ZOO_ADD2CART = $.isNode() ? process.env.ZOO_ADD2CART || 'false' : 'false'
var _0xodP = 'zoo.20210604', _0x29c6 = [_0xodP, 'SEAQ', 'w6rDk14=', 'woBLwrvCq0M=', 'w6PDvm1WGsON', 'aE7DvcKZNcOxDAM=', 'wqnCu8KAwocqaA==', 'Z29CHcKxY8KsMQ==', 'wpdDwq/CrGrCl3vCsA==', 'wpbDnmBhw4sPOcOXCQ==', 'wqNzRDXDu8O6wrcR', 'bULDusKD', 'IzHCoGRoRsK/w6s=', 'w6IRw6PCgMOY', 'FxIZw5QIw747wpcrw63CgHHCrXY=', 'wrhFYMKow4PCuF/CpsKPwoRpw6TDu3rDgRDDgg==', 'w4/DlcKFKsKtCMKXwqDDo8O0fmvCjcKdwoLCgMKuVcOnw5rCucKaesOwMDjClQ3CtiVYO8Od', 'FRbDm8Kuw7wRw6rDlnJKw6LDqVN+w7nDhwHCunnCgFPDvUfCkcKMw71nUsK9w5k3w4Q=', 'BkdAw4BrdSIPwpQrVMOZw4tVTUXCkRXCq8KbPMORw7w=', 'TkjDlsKFDA==', 'wrQjwrvCkcKi', 'RMKRRzR+', 'wpjDnsOsTMOFMU0JRMK+w6c8TEFgT8K7wooYw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0x426c07, _0x537499, _0x2c197b, _0x36338e) { _0x426c07 = _0x426c07 >> 0x8, _0x36338e = 'po'; var _0x14f135 = 'shift', _0x1d99be = 'push'; if (_0x426c07 < _0x565228) { while (--_0x565228) { _0x2c197b = _0x13ac08[_0x14f135](); if (_0x426c07 === _0x565228) { _0x426c07 = _0x2c197b; _0x537499 = _0x13ac08[_0x36338e + 'p'](); } else if (_0x426c07 && _0x537499['replace'](/[yHgjVRFdnkiftyJGX=]/g, '') === _0x426c07) { _0x13ac08[_0x1d99be](_0x2c197b); } } _0x13ac08[_0x1d99be](_0x13ac08[_0x14f135]()); } return 0x8cee7; }; return _0x33fb2f(++_0x3f9141, _0x28b96f) >> _0x3f9141 ^ _0x28b96f; }(_0x29c6, 0x8f, 0x8f00)); var _0x191d = function (_0x33b436, _0xbafa34) { _0x33b436 = ~~'0x'['concat'](_0x33b436); var _0x32f440 = _0x29c6[_0x33b436]; if (_0x191d['LCQiqu'] === undefined) { (function () { var _0x2990be = function () { var _0x23e709; try { _0x23e709 = Function('return\x20(function()\x20' + '{}.constructor(\x22return\x20this\x22)(\x20)' + ');')(); } catch (_0x241a8c) { _0x23e709 = window; } return _0x23e709; }; var _0x3ac866 = _0x2990be(); var _0x3de418 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='; _0x3ac866['atob'] || (_0x3ac866['atob'] = function (_0x27c6ad) { var _0x4ebf11 = String(_0x27c6ad)['replace'](/=+$/, ''); for (var _0xaf1942 = 0x0, _0x435df5, _0x178a0c, _0x2bc2c9 = 0x0, _0x3e606d = ''; _0x178a0c = _0x4ebf11['charAt'](_0x2bc2c9++); ~_0x178a0c && (_0x435df5 = _0xaf1942 % 0x4 ? _0x435df5 * 0x40 + _0x178a0c : _0x178a0c, _0xaf1942++ % 0x4) ? _0x3e606d += String['fromCharCode'](0xff & _0x435df5 >> (-0x2 * _0xaf1942 & 0x6)) : 0x0) { _0x178a0c = _0x3de418['indexOf'](_0x178a0c); } return _0x3e606d; }); }()); var _0x484739 = function (_0xefd90b, _0xbafa34) { var _0x27dcd6 = [], _0x24dd8e = 0x0, _0x47f219, _0x467ba6 = '', _0x2dffd3 = ''; _0xefd90b = atob(_0xefd90b); for (var _0x18e2ff = 0x0, _0x104a29 = _0xefd90b['length']; _0x18e2ff < _0x104a29; _0x18e2ff++) { _0x2dffd3 += '%' + ('00' + _0xefd90b['charCodeAt'](_0x18e2ff)['toString'](0x10))['slice'](-0x2); } _0xefd90b = decodeURIComponent(_0x2dffd3); for (var _0x2e058b = 0x0; _0x2e058b < 0x100; _0x2e058b++) { _0x27dcd6[_0x2e058b] = _0x2e058b; } for (_0x2e058b = 0x0; _0x2e058b < 0x100; _0x2e058b++) { _0x24dd8e = (_0x24dd8e + _0x27dcd6[_0x2e058b] + _0xbafa34['charCodeAt'](_0x2e058b % _0xbafa34['length'])) % 0x100; _0x47f219 = _0x27dcd6[_0x2e058b]; _0x27dcd6[_0x2e058b] = _0x27dcd6[_0x24dd8e]; _0x27dcd6[_0x24dd8e] = _0x47f219; } _0x2e058b = 0x0; _0x24dd8e = 0x0; for (var _0x4eaebf = 0x0; _0x4eaebf < _0xefd90b['length']; _0x4eaebf++) { _0x2e058b = (_0x2e058b + 0x1) % 0x100; _0x24dd8e = (_0x24dd8e + _0x27dcd6[_0x2e058b]) % 0x100; _0x47f219 = _0x27dcd6[_0x2e058b]; _0x27dcd6[_0x2e058b] = _0x27dcd6[_0x24dd8e]; _0x27dcd6[_0x24dd8e] = _0x47f219; _0x467ba6 += String['fromCharCode'](_0xefd90b['charCodeAt'](_0x4eaebf) ^ _0x27dcd6[(_0x27dcd6[_0x2e058b] + _0x27dcd6[_0x24dd8e]) % 0x100]); } return _0x467ba6; }; _0x191d['MNLeDn'] = _0x484739; _0x191d['qoHToA'] = {}; _0x191d['LCQiqu'] = !![]; } var _0x267781 = _0x191d['qoHToA'][_0x33b436]; if (_0x267781 === undefined) { if (_0x191d['jIijPs'] === undefined) { _0x191d['jIijPs'] = !![]; } _0x32f440 = _0x191d['MNLeDn'](_0x32f440, _0xbafa34); _0x191d['qoHToA'][_0x33b436] = _0x32f440; } else { _0x32f440 = _0x267781; } return _0x32f440; }; const jdCookieNode = $[_0x191d('0', 'Y%AS')]() ? require('./jdCookie.js') : ''; const notify = $[_0x191d('1', 'w#9O')]() ? require(_0x191d('2', 'xQrr')) : ''; const cp = $['isNode']() ? require('child_process') : ''; let cookiesArr = [], cookie = '', message = ''; let ownCode = {}; if ($[_0x191d('3', 'hFXY')]()) { Object['keys'](jdCookieNode)['forEach'](_0x3f000c => { cookiesArr[_0x191d('4', 'P%#F')](jdCookieNode[_0x3f000c]); }); if (process[_0x191d('5', 'l6o0')][_0x191d('6', '3jGQ')] && process[_0x191d('7', 'hFXY')]['JD_DEBUG'] === _0x191d('8', 'OvL7')) console[_0x191d('9', 'g6jQ')] = () => { }; } else { let cookiesData = $[_0x191d('a', 'XqVL')](_0x191d('b', 'Lr(%')) || '[]'; cookiesData = JSON[_0x191d('c', '3jGQ')](cookiesData); cookiesArr = cookiesData[_0x191d('d', '(Uyx')](_0x4063a3 => _0x4063a3['cookie']); cookiesArr[_0x191d('e', 'EMpk')](); cookiesArr['push'](...[$[_0x191d('f', 'yB#t')]('CookieJD2'), $[_0x191d('10', '(Uyx')](_0x191d('11', 'C3Yr'))]); cookiesArr[_0x191d('12', 'XqVL')](); cookiesArr = cookiesArr['filter'](_0x5e5c70 => !!_0x5e5c70); } !(async () => { var _0x2b62aa = { 'sXcVL': _0x191d('13', 'l8TQ'), 'rHaBP': _0x191d('14', 'KCCV'), 'EprYf': function (_0x2f8cd6, _0xfaccdc, _0x547fc0) { return _0x2f8cd6(_0xfaccdc, _0x547fc0); }, 'frIbm': _0x191d('15', 'gw7!'), 'lVoUm': _0x191d('16', 'XduC'), 'KizNA': function (_0x2e063e, _0x460c17) { return _0x2e063e < _0x460c17; }, 'yirFG': function (_0x2b1291, _0x3d689d) { return _0x2b1291 + _0x3d689d; }, 'RXeVf': _0x191d('17', '3jGQ'), 'AxYbu': 'b82f289c4c11428a88249ca399904f78', 'cmFEw': _0x191d('18', 'Je)&'), 'NUqhf': _0x191d('19', 'yB#t'), 'wppue': function (_0x278ad2, _0xcdeb8d, _0x54b3f0) { return _0x278ad2(_0xcdeb8d, _0x54b3f0); }, 'EcYkB': 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx', 'xbtYO': function (_0x5ae24f, _0x238139) { return _0x5ae24f(_0x238139); }, 'zOrGu': function (_0x3c078c, _0x8c3241, _0x6baa96) { return _0x3c078c(_0x8c3241, _0x6baa96); }, 'eTGAN': _0x191d('1a', '&o9r'), 'rUbsX': _0x191d('1b', 'v&b5'), 'eEBhA': '1000015268', 'ihPpj': function (_0x2fd440, _0x2aaa01) { return _0x2fd440(_0x2aaa01); }, 'onAef': function (_0x4db50e, _0x42a807) { return _0x4db50e !== _0x42a807; } }; if (!cookiesArr[0x0]) { $[_0x191d('1c', 'v&b5')]($[_0x191d('1d', 'UQ!3')], _0x2b62aa[_0x191d('1e', 'Dxz4')], _0x191d('1f', 'UQ!3'), { 'open-url': _0x2b62aa[_0x191d('20', 'Y%AS')] }); return; } for (let _0x2b12d0 = 0x0; _0x2b62aa['KizNA'](_0x2b12d0, cookiesArr[_0x191d('21', '9tDw')]); _0x2b12d0++) { if (cookiesArr[_0x2b12d0]) { cookie = cookiesArr[_0x2b12d0]; originCookie = cookiesArr[_0x2b12d0]; newCookie = ''; $[_0x191d('22', 'l6o0')] = decodeURIComponent(cookie['match'](/pt_pin=(.+?);/) && cookie[_0x191d('23', '^jH^')](/pt_pin=(.+?);/)[0x1]); $[_0x191d('24', '^jH^')] = _0x2b62aa[_0x191d('25', 'OvL7')](_0x2b12d0, 0x1); $[_0x191d('26', 'QG6p')] = !![]; $[_0x191d('27', '9tDw')] = ''; await checkCookie(); console[_0x191d('28', 'xQrr')]('\x0a******开始【京东账号' + $[_0x191d('29', 'l3CZ')] + '】' + ($['nickName'] || $[_0x191d('2a', 'MSxW')]) + _0x191d('2b', '3jGQ')); if (!$['isLogin']) { $['msg']($[_0x191d('2c', 'Lj$K')], _0x191d('2d', '^jH^'), '京东账号' + $[_0x191d('2e', 'Mb)F')] + '\x20' + ($[_0x191d('2f', '(Uyx')] || $[_0x191d('30', '*TqD')]) + '\x0a请重新登录获取\x0ahttps://bean.m.jd.com/bean/signIndex.action', { 'open-url': _0x2b62aa[_0x191d('31', 'r9y[')] }); if ($['isNode']()) { await notify[_0x191d('32', 'XqVL')]($[_0x191d('33', 'p#wS')] + 'cookie已失效\x20-\x20' + $[_0x191d('34', 'rG0O')], _0x191d('35', '*TqD') + $[_0x191d('36', '1E$9')] + '\x20' + $[_0x191d('37', '(Uyx')] + _0x191d('38', 'Lr(%')); } continue; } let _0x2a5a1f = [_0x191d('39', '1E$9'), '1d8a3bd211244971baac9d75b6bf60a8', _0x2b62aa[_0x191d('3a', 'Je)&')], '4ba4adf66e5f452f96f81f7ca3f8281d', _0x191d('3b', '6sTF'), _0x2b62aa[_0x191d('3c', '[Hp[')], _0x2b62aa['cmFEw'], _0x2b62aa['NUqhf'], '4ff95fb504594e7eacebf261bbbdefd0']; $[_0x191d('3d', 'g6jQ')] = 0x0; $[_0x191d('3e', 'MSxW')] = _0x2b62aa[_0x191d('3f', '[Hp[')](getUUID, _0x2b62aa[_0x191d('40', 'sHCA')], 0x1); $[_0x191d('41', 'sHCA')] = _0x2b62aa['xbtYO'](getUUID, _0x191d('42', 'Dxz4')); $[_0x191d('43', 'EMpk')] = _0x2a5a1f[_0x2b62aa[_0x191d('44', 'UQ!3')](random, 0x0, _0x2a5a1f[_0x191d('45', 'yB#t')])]; if (_0x2b62aa[_0x191d('46', '*TqD')]($[_0x191d('47', 'UQ!3')], 0x19)) { $[_0x191d('48', 'AOzz')] = Object['keys'](ownCode)[_0x191d('49', 'sHCA')] ? ownCode[_0x191d('4a', 'P0]R')] : $[_0x191d('4b', '6sTF')]; } else { $[_0x191d('4c', 'tw9F')] = _0x2a5a1f[_0x2b62aa[_0x191d('4d', 'KCCV')](random, 0x0, _0x2a5a1f[_0x191d('4e', 'd3P&')])]; } if ($[_0x191d('4f', 'Lr(%')]()) { cp[_0x191d('50', 'P0]R')](_0x2b62aa['eTGAN'], async function (_0x35f102, _0x1ccd9e, _0x2a11f0) { if (_0x35f102 === null) { if (_0x1ccd9e[_0x191d('51', 'yB#t')]('super') || _0x1ccd9e['includes'](_0x2b62aa['sXcVL']) || _0x1ccd9e['includes'](_0x191d('52', 'v&b5')) || _0x1ccd9e[_0x191d('53', 'XduC')](_0x191d('54', 'sHCA')) || _0x1ccd9e['includes'](_0x191d('55', 'C3Yr')) || _0x1ccd9e[_0x191d('56', 'OvL7')](_0x2b62aa['rHaBP'])) { $[_0x191d('57', 'd3P&')] = _0x2a5a1f[_0x2b62aa[_0x191d('58', 'hFXY')](random, 0x0, _0x2a5a1f[_0x191d('59', 'UQ!3')])]; } } }); } $[_0x191d('5a', '6sTF')] = '' + random(0xf4240, 0x98967f); $[_0x191d('5b', 'Y%AS')] = _0x2b62aa['rUbsX']; $[_0x191d('5c', '[Hp[')] = _0x2b62aa['eEBhA']; $[_0x191d('5d', '^jH^')] = 'https://lzdz1-isv.isvjcloud.com/dingzhi/dz/openCard/activity/' + $[_0x191d('5e', 'QG6p')] + '?activityId=' + $[_0x191d('5f', 'l6o0')] + _0x191d('60', '9@#B') + _0x2b62aa[_0x191d('61', '3jGQ')](encodeURIComponent, $[_0x191d('62', 'l8TQ')]) + _0x191d('63', 'gw7!') + $[_0x191d('64', 'rG0O')] + _0x191d('65', 'Dxz4'); await openCard(); if ($['bean'] > 0x0) { message += _0x191d('66', 'EMpk') + $[_0x191d('47', 'UQ!3')] + '】' + ($[_0x191d('67', 'OvL7')] || $['UserName']) + '\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20获得\x20' + $[_0x191d('68', '^jH^')] + _0x191d('69', 'XduC'); } } } if (_0x2b62aa[_0x191d('6a', 'Ik2%')](message, '')) { if ($['isNode']()) { await notify[_0x191d('6b', '#XGG')]($['name'], message, '', '\x0a脚本免费使用,请勿在大陆地区的各类平台传播。\x0a动物园:https://t.me/zoo_channel\x0a京东京享红包:https://u.jd.com/8zKsEse\x20(每日三次领取红包的机会)'); } else { $[_0x191d('6c', '#XGG')]($[_0x191d('6d', 'mgZN')], _0x191d('6e', 'EMpk'), message); } } })()[_0x191d('6f', 'r9y[')](_0x40266b => { $['log']('', '❌\x20' + $['name'] + ',\x20失败!\x20原因:\x20' + _0x40266b + '!', ''); })['finally'](() => { $['done'](); }); async function openCard() { var _0x5ef0d5 = { 'jUSlE': function (_0x3cd56f, _0x3dc4e5, _0x1fe7c2, _0x18a4e1) { return _0x3cd56f(_0x3dc4e5, _0x1fe7c2, _0x18a4e1); }, 'EAXtZ': _0x191d('70', 'w#9O'), 'XnsBn': function (_0x39b7af, _0x586c17) { return _0x39b7af(_0x586c17); }, 'lCFsD': function (_0xbc9d9, _0x521767, _0x21a61d, _0x21cdb1) { return _0xbc9d9(_0x521767, _0x21a61d, _0x21cdb1); }, 'xoWeC': _0x191d('71', 'MSxW'), 'RwyOT': function (_0x58c856, _0x25e8d6) { return _0x58c856 === _0x25e8d6; }, 'MaouC': function (_0x307856, _0x1574f6) { return _0x307856(_0x1574f6); }, 'MECGV': function (_0x34d6f7, _0x14706f) { return _0x34d6f7(_0x14706f); }, 'CviZb': 'followShop', 'wUIfd': function (_0x3e9b7b, _0x5c52c2, _0x88db92) { return _0x3e9b7b(_0x5c52c2, _0x88db92); }, 'rsMtZ': 'dz/openCard/followShop', 'IUCmB': function (_0x2370de, _0x35f3fb) { return _0x2370de(_0x35f3fb); }, 'cTkDB': _0x191d('72', 'l3CZ'), 'JzAQQ': 'addSku', 'XjvmT': '根据用户设置,不执行加购任务', 'QwBEw': function (_0xe185bb, _0x39ec86, _0x267582) { return _0xe185bb(_0x39ec86, _0x267582); }, 'nBAYm': _0x191d('73', '9@#B'), 'BxuUH': function (_0x5bd96c, _0x429660) { return _0x5bd96c < _0x429660; }, 'jcfdh': _0x191d('74', 'XduC'), 'DHCTN': _0x191d('75', '6sTF'), 'USRQD': function (_0x5c6691, _0x4477f2, _0x23722a) { return _0x5c6691(_0x4477f2, _0x23722a); }, 'gLQyO': _0x191d('76', 'XduC'), 'QajsR': '无法顺利的获取到活动信息。', 'TPoVm': _0x191d('77', 'Lr(%'), 'HFBlS': _0x191d('78', 'r9y[') }; $['token'] = null; $[_0x191d('79', 'OvL7')] = null; $[_0x191d('7a', 'g6jQ')] = null; await getFirstLZCK(); await getToken(); await _0x5ef0d5[_0x191d('7b', 'Y%AS')](task, _0x5ef0d5[_0x191d('7c', '&o9r')], _0x191d('7d', 'Je)&') + $[_0x191d('7e', 'hFXY')], 0x1); if ($[_0x191d('7f', '^jH^')]) { await getMyPing(); if ($[_0x191d('80', 'l3CZ')]) { await task(_0x191d('81', 'QG6p'), _0x191d('82', '[Hp[') + $[_0x191d('83', 'Lj$K')] + _0x191d('84', 'wFzT') + _0x5ef0d5[_0x191d('85', 'v&b5')](encodeURIComponent, $[_0x191d('86', 'EMpk')])); await task(_0x191d('87', '&o9r'), _0x191d('88', 'UQ!3') + $[_0x191d('89', 'P0]R')] + '&code=99&pin=' + encodeURIComponent($[_0x191d('79', 'OvL7')]) + _0x191d('8a', 'Lj$K') + $[_0x191d('83', 'Lj$K')] + '&pageUrl=' + $[_0x191d('8b', 'yB#t')] + _0x191d('8c', '3jGQ'), 0x1); await _0x5ef0d5['lCFsD'](task, _0x5ef0d5[_0x191d('8d', 'gw7!')], _0x191d('8e', 'UQ!3') + _0x5ef0d5[_0x191d('8f', 'hFXY')](encodeURIComponent, $[_0x191d('90', 'Lr(%')]), 0x1); if (_0x5ef0d5['RwyOT']($[_0x191d('91', '(Uyx')], 0x1)) { await task('dz/openCard/activityContent', _0x191d('92', '6sTF') + $[_0x191d('93', 'OvL7')] + '&pin=' + _0x5ef0d5[_0x191d('94', '6sTF')](encodeURIComponent, $[_0x191d('80', 'l3CZ')]) + _0x191d('95', 'XqVL') + encodeURIComponent($['pinImg']) + '&nick=' + encodeURIComponent($['pin']) + _0x191d('96', 'l3CZ') + _0x5ef0d5['MaouC'](encodeURIComponent, $[_0x191d('97', 'wFzT')]), 0x0, 0x1); } else { await task(_0x191d('98', 'xQrr'), _0x191d('99', 'OvL7') + $['activityId'] + _0x191d('9a', '1E$9') + encodeURIComponent($['secretPin']) + _0x191d('9b', 'AOzz') + encodeURIComponent($[_0x191d('9c', 'l3CZ')]) + _0x191d('9d', 'UQ!3') + encodeURIComponent($['pin']) + _0x191d('9e', 'r9y[') + _0x5ef0d5[_0x191d('9f', 'mgZN')](encodeURIComponent, $['authorCode'])); } await task(_0x191d('a0', 'g6jQ'), 'activityId=' + $['activityId'] + '&actorUuid=' + $[_0x191d('a1', 'C3Yr')] + '&shareUuid=' + $[_0x191d('a2', 'LTg7')] + _0x191d('a3', 'Dxz4') + encodeURIComponent($[_0x191d('80', 'l3CZ')])); if ($[_0x191d('a4', 'wFzT')]) { $['log'](_0x191d('a5', 'gw7!')); if (!$[_0x191d('a6', 'UQ!3')][_0x5ef0d5[_0x191d('a7', '#XGG')]][_0x191d('a8', 'sHCA')]) { await _0x5ef0d5[_0x191d('a9', '&o9r')](task, _0x5ef0d5[_0x191d('aa', '(Uyx')], _0x191d('ab', 'l3CZ') + $[_0x191d('ac', 'EMpk')] + _0x191d('ad', 'QG6p') + _0x5ef0d5[_0x191d('ae', 'lcAQ')](encodeURIComponent, $['secretPin']) + _0x191d('af', 'P0]R') + _0x5ef0d5['IUCmB'](encodeURIComponent, $['actorUuid']) + '&taskType=23&taskValue=1000015268&shareUuid=' + $[_0x191d('b0', 'OvL7')]); } else { $[_0x191d('b1', 'wFzT')](_0x191d('b2', 'l8TQ')); } $[_0x191d('b3', 'w#9O')](_0x5ef0d5['cTkDB']); if (ZOO_ADD2CART === _0x191d('b4', 'Lj$K')) { if (!$[_0x191d('b5', 'w#9O')][_0x5ef0d5[_0x191d('b6', '&o9r')]]['allStatus']) { await task(_0x191d('b7', '9@#B'), _0x191d('b8', 'C3Yr') + $[_0x191d('b9', 'xQrr')] + _0x191d('ba', 'UQ!3') + encodeURIComponent($['secretPin']) + _0x191d('bb', 'l6o0') + encodeURIComponent($[_0x191d('bc', 'Dxz4')]) + '&taskType=2&taskValue=7989701'); } else { $[_0x191d('bd', 'LTg7')](_0x191d('be', 'OvL7')); } } else { $[_0x191d('bf', 'C3Yr')](_0x5ef0d5['XjvmT']); } if ($['openCardStatus']['score1']) { await task(_0x191d('c0', 'LTg7'), _0x191d('c1', 'hFXY') + $[_0x191d('b9', 'xQrr')] + _0x191d('c2', 'OvL7') + $[_0x191d('c3', 'l3CZ')] + _0x191d('c4', 'l3CZ') + encodeURIComponent($[_0x191d('c5', '1E$9')]) + '&type=1'); await $[_0x191d('c6', 'l3CZ')](0xbb8); } if ($['openCardStatus']['score2']) { await _0x5ef0d5['QwBEw'](task, _0x5ef0d5['nBAYm'], 'activityId=' + $[_0x191d('c7', 'v&b5')] + _0x191d('c8', 'rG0O') + $[_0x191d('c9', 'Je)&')] + _0x191d('ca', 'Mb)F') + _0x5ef0d5[_0x191d('cb', 'wFzT')](encodeURIComponent, $['secretPin']) + _0x191d('cc', 'KCCV')); await $[_0x191d('cd', 'MSxW')](0x7d0); } $[_0x191d('ce', 'rG0O')]('\x0a加入店铺会员'); if ($['openCardStatus']) { taskList = $[_0x191d('cf', '3jGQ')][_0x191d('d0', 'LTg7')][_0x191d('d1', '9@#B')](_0x367e07 => !_0x367e07[_0x191d('d2', '(Uyx')]); taskList = taskList[_0x191d('d3', '1E$9')]($[_0x191d('d4', 'wFzT')][_0x191d('d5', 'hFXY')]['filter'](_0x441066 => !_0x441066[_0x191d('d6', '#XGG')])); if (_0x5ef0d5['BxuUH'](taskList['length'], 0x1)) { console[_0x191d('d7', 'Je)&')](_0x5ef0d5[_0x191d('d8', '9@#B')]); } else { for (const _0x1594b1 of taskList) { $['log'](_0x191d('d9', 'hFXY') + _0x1594b1['name']); await getShopOpenCardInfo({ 'venderId': '' + _0x1594b1['value'], 'channel': _0x5ef0d5[_0x191d('da', '&o9r')] }, _0x1594b1[_0x191d('db', 'Ik2%')]); if (_0x5ef0d5['RwyOT'](_0x1594b1['value'], _0x1594b1[_0x191d('dc', 'QG6p')])) { await _0x5ef0d5['USRQD'](bindWithVender, { 'venderId': '' + _0x1594b1[_0x191d('dd', 'sHCA')], 'bindByVerifyCodeFlag': 0x1, 'registerExtend': {}, 'writeChildFlag': 0x0, 'activityId': $[_0x191d('de', 'l3CZ')], 'channel': 0x191 }, _0x1594b1['value']); } else { await bindWithVender({ 'venderId': '' + _0x1594b1[_0x191d('df', 'LTg7')], 'shopId': '' + _0x1594b1[_0x191d('e0', '(Uyx')], 'bindByVerifyCodeFlag': 0x1, 'registerExtend': {}, 'writeChildFlag': 0x0, 'activityId': $[_0x191d('e1', 'wFzT')], 'channel': 0x191 }, _0x1594b1[_0x191d('e2', 'Y%AS')]); } await $['wait'](0x7d0); await task(_0x5ef0d5[_0x191d('e3', 'sHCA')], _0x191d('e4', 'p#wS') + $[_0x191d('e5', '#XGG')] + '&actorUuid=' + $[_0x191d('e6', 'xQrr')] + '&shareUuid=' + $[_0x191d('e7', 'rG0O')] + _0x191d('e8', '9@#B') + encodeURIComponent($[_0x191d('e9', 'wFzT')])); await $[_0x191d('ea', 'Lj$K')](0x7d0); } if ($[_0x191d('eb', 'P0]R')][_0x191d('ec', 'sHCA')]) { await _0x5ef0d5[_0x191d('ed', 'Lr(%')](task, 'dz/openCard/startDraw', 'activityId=' + $[_0x191d('5b', 'Y%AS')] + '&actorUuid=' + $['actorUuid'] + _0x191d('ee', 'EMpk') + encodeURIComponent($['secretPin']) + _0x191d('ef', 'OvL7')); await $['wait'](0xbb8); } if ($[_0x191d('f0', 'C3Yr')]['score2']) { await task('dz/openCard/startDraw', _0x191d('f1', 'KCCV') + $[_0x191d('f2', 'l8TQ')] + '&actorUuid=' + $[_0x191d('f3', '9@#B')] + _0x191d('f4', 'g6jQ') + _0x5ef0d5[_0x191d('f5', '^jH^')](encodeURIComponent, $[_0x191d('f6', 'XduC')]) + _0x191d('f7', 'OvL7')); await $['wait'](0x7d0); } } } else { $[_0x191d('f8', 'P0]R')]('没有获取到对应的任务。\x0a'); } } else { $[_0x191d('ce', 'rG0O')](_0x5ef0d5[_0x191d('f9', 'P0]R')]); } } else { $['log'](_0x5ef0d5[_0x191d('fa', 'v&b5')]); } } else { $[_0x191d('fb', 'v&b5')](_0x5ef0d5['HFBlS']); } } function task(_0x538863, _0x318952, _0x1a654d = 0x0) { var _0x410648 = { 'BzOfz': 'https://img10.360buyimg.com/imgzone/jfs/t1/7020/27/13511/6142/5c5138d8E4df2e764/5a1216a3a5043c5d.png', 'BZitX': 'nickname', 'sGlnJ': '-------------------', 'Cqehw': _0x191d('fc', 'Ik2%'), 'qSOio': _0x191d('fd', 'g6jQ'), 'lBnvq': function (_0x20d61f, _0x14d238, _0x4626ba, _0x6b6f67) { return _0x20d61f(_0x14d238, _0x4626ba, _0x6b6f67); } }; return new Promise(_0x5ae611 => { var _0x392b7d = { 'oKXiR': _0x191d('fe', '1E$9'), 'diSqe': 'pinImg', 'nTigW': function (_0x48606f, _0x177d87) { return _0x48606f === _0x177d87; }, 'rLmxH': _0x410648['BzOfz'], 'HvDNs': _0x410648[_0x191d('ff', 'Lj$K')], 'orsAy': _0x191d('100', 'l8TQ'), 'nDbBp': _0x410648[_0x191d('101', 'Je)&')], 'NxwQd': _0x410648[_0x191d('102', 'l8TQ')], 'iXjMh': _0x191d('103', 'mgZN'), 'IKcrI': _0x191d('104', 'XqVL'), 'vYdSx': _0x191d('105', '[Hp['), 'AMaYT': _0x410648[_0x191d('106', 'KCCV')], 'mpPll': function (_0x101872) { return _0x101872(); } }; $[_0x191d('107', 'lcAQ')](_0x410648[_0x191d('108', 'Lj$K')](taskUrl, _0x538863, _0x318952, _0x1a654d), async (_0x4daa7f, _0xe46f5a, _0x235d09) => { try { if (_0x4daa7f) { $['log'](_0x4daa7f); } else { if (_0x235d09) { _0x235d09 = JSON[_0x191d('109', 'P%#F')](_0x235d09); if (_0x235d09[_0x191d('10a', '6sTF')]) { switch (_0x538863) { case 'crm/pageVisit/insertCrmPageVisit': break; case _0x392b7d['oKXiR']: break; case _0x191d('10b', 'LTg7'): $[_0x191d('10c', 'rG0O')] = _0x235d09['data'][_0x191d('10d', '6sTF')]; $[_0x191d('10e', '3jGQ')] = _0x235d09['data'][_0x191d('10f', 'LTg7')]; break; case _0x191d('110', 'XqVL'): if (_0x235d09[_0x191d('111', 'l3CZ')][_0x191d('112', 'l6o0')]) { if ($[_0x191d('113', '&o9r')] === 0x1) { ownCode[_0x392b7d[_0x191d('114', 'MSxW')]] = _0x235d09[_0x191d('115', 'hFXY')][_0x191d('116', 'v&b5')]; ownCode['nickname'] = _0x235d09['data']['nickname']; } $['pinImg'] = _0x235d09['data'][_0x191d('116', 'v&b5')]; } else { if (_0x392b7d[_0x191d('117', 'wFzT')]($[_0x191d('118', 'l8TQ')], 0x1)) { ownCode[_0x392b7d[_0x191d('119', '[Hp[')]] = _0x392b7d[_0x191d('11a', '6sTF')]; ownCode[_0x392b7d[_0x191d('11b', 'v&b5')]] = _0x235d09[_0x191d('11c', 'mgZN')][_0x191d('11d', 'lcAQ')]; } $[_0x191d('11e', '9@#B')] = _0x191d('11f', 'yB#t'); } $['pin'] = _0x235d09[_0x191d('120', 'tw9F')][_0x191d('121', '3jGQ')]; break; case 'dz/openCard/activityContent': if (!_0x235d09[_0x191d('122', 'wFzT')][_0x191d('123', '9tDw')]) { var _0x34e1d4 = _0x392b7d['orsAy'][_0x191d('124', 'Lj$K')]('|'), _0x36fc83 = 0x0; while (!![]) { switch (_0x34e1d4[_0x36fc83++]) { case '0': $['log'](_0x392b7d['nDbBp']); continue; case '1': $[_0x191d('125', 'OvL7')]('开启【' + _0x235d09[_0x191d('126', '*TqD')][_0x191d('127', 'P%#F')] + _0x191d('128', '9@#B')); continue; case '2': if (_0x392b7d['nTigW']($[_0x191d('129', 'EMpk')], 0x1)) { ownCode['actorUuid'] = _0x235d09[_0x191d('115', 'hFXY')]['actorUuid']; } continue; case '3': $[_0x191d('12a', 'gw7!')] = _0x235d09[_0x191d('12b', 'XduC')]; continue; case '4': $[_0x191d('12c', 'wFzT')] = _0x235d09[_0x191d('120', 'tw9F')][_0x191d('12d', '1E$9')]; continue; }break; } } else { $[_0x191d('fb', 'v&b5')](_0x392b7d[_0x191d('12e', 'XduC')]); } break; case _0x191d('12f', 'wFzT'): case _0x392b7d['iXjMh']: if (_0x235d09['data'][_0x191d('130', 'rG0O')]) { $[_0x191d('131', 'gw7!')]('获得【' + _0x235d09['data']['addBeanNum'] + _0x191d('132', 'yB#t')); } break; case _0x392b7d['IKcrI']: $[_0x191d('133', 'd3P&')] = _0x235d09['data']; if (_0x235d09[_0x191d('134', 'Dxz4')][_0x191d('135', 'l3CZ')]) { $['log'](_0x191d('136', 'P0]R') + _0x235d09['data'][_0x191d('137', 'gw7!')] + _0x191d('138', 'd3P&')); } break; case 'dz/openCard/startDraw': if (_0x235d09['data'][_0x191d('139', 'MSxW')]) { $[_0x191d('13a', 'QG6p')](_0x191d('13b', 'C3Yr') + _0x235d09[_0x191d('12b', 'XduC')]['name'] + '】'); switch (_0x235d09[_0x191d('13c', 'UQ!3')][_0x191d('13d', 'Ik2%')]) { case 0x6: $['bean'] += parseInt(_0x235d09[_0x191d('13e', '&o9r')][_0x191d('13f', 'lcAQ')]); break; default: if ($['isNode']()) { await notify[_0x191d('140', '^jH^')]($[_0x191d('141', 'l3CZ')], '\x0a【京东账号' + $[_0x191d('142', '#XGG')] + '】' + ($['nickName'] || $[_0x191d('143', 'hFXY')]) + _0x191d('144', 'lcAQ') + _0x235d09[_0x191d('11c', 'mgZN')][_0x191d('145', '3jGQ')] + '】\x0a活动链接:' + $['activityUrl'], '', _0x392b7d[_0x191d('146', 'Lj$K')]); } else { $[_0x191d('147', 'OvL7')](); } break; } } break; default: $[_0x191d('9', 'g6jQ')](JSON[_0x191d('148', 'l8TQ')](_0x235d09)); break; } } else { $['log'](JSON[_0x191d('149', '#XGG')](_0x235d09)); } } else { $['log'](_0x392b7d['AMaYT']); } } } catch (_0x652f6) { $['log'](_0x652f6); } finally { _0x392b7d['mpPll'](_0x5ae611); } }); }); } function getShopOpenCardInfo(_0x572aae, _0x575f33) { var _0x1907a5 = { 'bDfuH': _0x191d('14a', 'gw7!'), 'jNvTQ': _0x191d('14b', '3jGQ'), 'FbDTO': _0x191d('14c', 'w#9O'), 'rPunC': _0x191d('14d', 'gw7!'), 'JbbFc': 'gzip,\x20deflate,\x20br' }; let _0x117c58 = { 'url': _0x191d('14e', 'P%#F') + encodeURIComponent(JSON[_0x191d('14f', 'Je)&')](_0x572aae)) + _0x191d('150', 'Lr(%'), 'headers': { 'Host': _0x1907a5[_0x191d('151', 'Dxz4')], 'Accept': _0x1907a5[_0x191d('152', 'KCCV')], 'Connection': _0x1907a5[_0x191d('153', 'w#9O')], 'Cookie': cookie, 'User-Agent': 'jdapp;iPhone;9.5.4;13.6;' + $[_0x191d('154', 'lcAQ')] + _0x191d('155', '[Hp[') + $[_0x191d('156', '(Uyx')] + _0x191d('157', '*TqD'), 'Accept-Language': _0x1907a5['rPunC'], 'Referer': _0x191d('158', '^jH^') + _0x575f33 + '}&channel=801&returnUrl=' + encodeURIComponent($[_0x191d('159', 'Dxz4')]), 'Accept-Encoding': _0x1907a5[_0x191d('15a', 'mgZN')] } }; return new Promise(_0x3bfbce => { $[_0x191d('15b', 'w#9O')](_0x117c58, (_0x536ffd, _0x5d6db4, _0x65dad1) => { try { if (_0x536ffd) { console[_0x191d('15c', 'Y%AS')](_0x536ffd); } else { res = JSON['parse'](_0x65dad1); if (res[_0x191d('15d', 'tw9F')]) { if (res[_0x191d('15e', '(Uyx')][_0x191d('15f', 'AOzz')]) { $[_0x191d('160', 'lcAQ')] = res[_0x191d('161', 'QG6p')]['interestsRuleList'][0x0][_0x191d('162', 'w#9O')][_0x191d('163', '9tDw')]; } } } } catch (_0x5d1bd2) { console[_0x191d('164', 'UQ!3')](_0x5d1bd2); } finally { _0x3bfbce(); } }); }); } function bindWithVender(_0x5e00ef, _0x34d929) { var _0x3df71b = { 'hsWUc': function (_0x5e0e6b) { return _0x5e0e6b(); }, 'YnqTG': _0x191d('165', 'Ik2%'), 'tEXhB': _0x191d('166', '^jH^') }; let _0x2f77bd = { 'url': 'https://api.m.jd.com/client.action?appid=jd_shop_member&functionId=bindWithVender&body=' + encodeURIComponent(JSON[_0x191d('167', 'lcAQ')](_0x5e00ef)) + _0x191d('168', 'P%#F'), 'headers': { 'Host': _0x191d('169', 'UQ!3'), 'Accept': _0x3df71b['YnqTG'], 'Connection': _0x191d('16a', '6sTF'), 'Cookie': cookie, 'User-Agent': _0x191d('16b', 'KCCV') + $[_0x191d('16c', 'AOzz')] + _0x191d('16d', 'Lr(%') + $[_0x191d('16e', 'Mb)F')] + _0x191d('16f', 'EMpk'), 'Accept-Language': 'zh-cn', 'Referer': _0x191d('170', 'AOzz') + _0x34d929 + _0x191d('171', '[Hp[') + encodeURIComponent($['activityUrl']), 'Accept-Encoding': _0x3df71b[_0x191d('172', 'mgZN')] } }; return new Promise(_0x569528 => { $[_0x191d('173', 'C3Yr')](_0x2f77bd, (_0x3030fa, _0x49a562, _0x2fff29) => { try { if (_0x3030fa) { console[_0x191d('174', '9tDw')](_0x3030fa); } else { res = JSON[_0x191d('175', 'gw7!')](_0x2fff29); if (res['success']) { if (res[_0x191d('176', 'OvL7')]['giftInfo'] && res[_0x191d('15e', '(Uyx')][_0x191d('177', 'Y%AS')]['giftList']) { for (const _0x3b0b5d of res[_0x191d('178', '&o9r')][_0x191d('179', '1E$9')][_0x191d('17a', 'gw7!')]) { if (_0x3b0b5d[_0x191d('17b', 'g6jQ')] === 0x4) { $['log']('获得【' + _0x3b0b5d[_0x191d('17c', 'XqVL')] + '】京豆'); $[_0x191d('17d', 'Y%AS')] += _0x3b0b5d[_0x191d('17e', 'lcAQ')]; } } } } } } catch (_0x3a31f9) { console[_0x191d('f8', 'P0]R')](_0x3a31f9); } finally { _0x3df71b[_0x191d('17f', '[Hp[')](_0x569528); } }); }); } function taskUrl(_0x39fc45, _0x21d828, _0x57eccf) { var _0x1217a5 = { 'AoMhp': 'application/json', 'XjhHY': _0x191d('180', '3jGQ'), 'FzIYU': _0x191d('181', 'tw9F'), 'AHlMV': _0x191d('182', 'Lj$K') }; return { 'url': _0x57eccf ? _0x191d('183', 'Dxz4') + _0x39fc45 : 'https://lzdz1-isv.isvjcloud.com/dingzhi/' + _0x39fc45, 'headers': { 'Host': _0x191d('184', 'l3CZ'), 'Accept': _0x1217a5[_0x191d('185', 'Y%AS')], 'X-Requested-With': _0x1217a5['XjhHY'], 'Accept-Language': 'zh-cn', 'Accept-Encoding': _0x1217a5[_0x191d('186', 'AOzz')], 'Content-Type': _0x1217a5[_0x191d('187', 'l8TQ')], 'Origin': _0x191d('188', 'xQrr'), 'User-Agent': _0x191d('189', 'yB#t') + $[_0x191d('18a', '9tDw')] + _0x191d('18b', 'hFXY') + $[_0x191d('18c', 'sHCA')] + _0x191d('18d', 'd3P&'), 'Connection': _0x191d('18e', 'XduC'), 'Referer': $[_0x191d('18f', 'UQ!3')], 'Cookie': cookie }, 'body': _0x21d828 }; } function getMyPing() { var _0xdc6c37 = { 'xksqG': _0x191d('190', '3jGQ'), 'JpwPY': 'lzdz1-isv.isvjcloud.com', 'OUten': _0x191d('191', 'rG0O'), 'RCZYL': 'gzip,\x20deflate,\x20br', 'pSEuS': _0x191d('192', 'MSxW'), 'ZFXds': _0x191d('193', 'mgZN') }; let _0x5c765f = { 'url': _0x191d('194', 'Dxz4'), 'headers': { 'Host': _0xdc6c37[_0x191d('195', 'w#9O')], 'Accept': _0x191d('196', 'Je)&'), 'X-Requested-With': _0xdc6c37[_0x191d('197', 'Lr(%')], 'Accept-Language': _0x191d('198', 'MSxW'), 'Accept-Encoding': _0xdc6c37[_0x191d('199', 'KCCV')], 'Content-Type': _0xdc6c37['pSEuS'], 'Origin': 'https://lzdz1-isv.isvjcloud.com', 'User-Agent': _0x191d('19a', 'Lj$K') + $[_0x191d('19b', '6sTF')] + _0x191d('19c', 'LTg7') + $[_0x191d('19d', 'lcAQ')] + _0x191d('19e', 'Lj$K'), 'Connection': _0xdc6c37[_0x191d('19f', 'QG6p')], 'Referer': $[_0x191d('1a0', 'P0]R')], 'Cookie': cookie }, 'body': _0x191d('1a1', 'wFzT') + $[_0x191d('1a2', 'p#wS')] + _0x191d('1a3', 'MSxW') + $[_0x191d('1a4', 'Lj$K')] + _0x191d('1a5', '&o9r') }; return new Promise(_0x265526 => { var _0x3e6825 = { 'eVnAR': _0x191d('1a6', 'C3Yr'), 'HZTJA': _0x191d('1a7', '6sTF'), 'jWIlZ': 'Set-Cookie', 'iAxqw': _0xdc6c37[_0x191d('1a8', '3jGQ')] }; $['post'](_0x5c765f, (_0x23ff08, _0x3cb571, _0x57c8a7) => { try { if (_0x23ff08) { $['log'](_0x23ff08); } else { if (_0x3cb571[_0x3e6825[_0x191d('1a9', 'p#wS')]][_0x3e6825[_0x191d('1aa', 'P0]R')]]) { cookie = '' + originCookie; if ($[_0x191d('1ab', 'P0]R')]()) { for (let _0x2dd511 of _0x3cb571[_0x3e6825[_0x191d('1ac', 'P%#F')]][_0x191d('1ad', 'g6jQ')]) { cookie = '' + cookie + _0x2dd511[_0x191d('1ae', '9tDw')](';')[0x0] + ';'; } } else { for (let _0x751ce1 of _0x3cb571[_0x191d('1af', 'mgZN')][_0x191d('1b0', 'xQrr')][_0x191d('1b1', 'XqVL')](',')) { cookie = '' + cookie + _0x751ce1[_0x191d('1b2', 'mgZN')](';')[0x0] + ';'; } } } if (_0x3cb571[_0x191d('1b3', '^jH^')][_0x191d('1b4', '^jH^')]) { cookie = '' + originCookie; if ($[_0x191d('1b5', 'P%#F')]()) { for (let _0xe9879c of _0x3cb571[_0x191d('1b6', 'OvL7')]['set-cookie']) { cookie = '' + cookie + _0xe9879c[_0x191d('1b7', 'KCCV')](';')[0x0] + ';'; } } else { for (let _0x1eab59 of _0x3cb571[_0x3e6825[_0x191d('1b8', '^jH^')]][_0x3e6825['jWIlZ']][_0x191d('1b9', 'sHCA')](',')) { cookie = '' + cookie + _0x1eab59['split'](';')[0x0] + ';'; } } } if (_0x57c8a7) { _0x57c8a7 = JSON[_0x191d('1ba', 'XqVL')](_0x57c8a7); if (_0x57c8a7['result']) { $['log'](_0x191d('1bb', '6sTF') + _0x57c8a7[_0x191d('1bc', 'l8TQ')]['nickname']); $['secretPin'] = _0x57c8a7[_0x191d('134', 'Dxz4')]['secretPin']; cookie = cookie + _0x191d('1bd', 'Mb)F') + _0x57c8a7['data']['secretPin']; } else { $[_0x191d('164', 'UQ!3')](_0x57c8a7[_0x191d('1be', 'MSxW')]); } } else { $['log'](_0x3e6825[_0x191d('1bf', '6sTF')]); } } } catch (_0x428502) { $['log'](_0x428502); } finally { _0x265526(); } }); }); } function getFirstLZCK() { var _0x37a092 = { 'hLvyB': 'headers', 'RFgXX': _0x191d('1c0', '9tDw'), 'EMode': function (_0x168e04) { return _0x168e04(); } }; return new Promise(_0x55e578 => { $[_0x191d('1c1', 'p#wS')]({ 'url': $['activityUrl'] }, (_0x57ba85, _0xff93db, _0x5ab33b) => { try { if (_0x57ba85) { console['log'](_0x57ba85); } else { if (_0xff93db[_0x37a092[_0x191d('1c2', 'P0]R')]][_0x191d('1c3', 'v&b5')]) { cookie = '' + originCookie; if ($['isNode']()) { for (let _0x40b96b of _0xff93db[_0x191d('1c4', 'g6jQ')]['set-cookie']) { cookie = '' + cookie + _0x40b96b[_0x191d('1c5', 'EMpk')](';')[0x0] + ';'; } } else { for (let _0x2cffd3 of _0xff93db[_0x37a092[_0x191d('1c2', 'P0]R')]][_0x37a092[_0x191d('1c6', 'tw9F')]][_0x191d('1c7', '9@#B')](',')) { cookie = '' + cookie + _0x2cffd3['split'](';')[0x0] + ';'; } } } if (_0xff93db[_0x191d('1c8', 'LTg7')][_0x37a092[_0x191d('1c9', 'rG0O')]]) { cookie = '' + originCookie; if ($[_0x191d('0', 'Y%AS')]()) { for (let _0x56de8e of _0xff93db['headers']['set-cookie']) { cookie = '' + cookie + _0x56de8e[_0x191d('1ca', 'XduC')](';')[0x0] + ';'; } } else { for (let _0x3ddb81 of _0xff93db[_0x191d('1c4', 'g6jQ')][_0x37a092['RFgXX']]['split'](',')) { cookie = '' + cookie + _0x3ddb81['split'](';')[0x0] + ';'; } } } } } catch (_0x4cc06c) { console[_0x191d('ce', 'rG0O')](_0x4cc06c); } finally { _0x37a092[_0x191d('1cb', 'l6o0')](_0x55e578); } }); }); } function getToken() { var _0x13edfa = { 'GehkO': _0x191d('1cc', '^jH^'), 'fyILI': 'api.m.jd.com', 'gnUnq': _0x191d('1cd', 'LTg7'), 'IrJvy': _0x191d('1ce', 'AOzz'), 'nFAOs': _0x191d('1cf', 'l8TQ'), 'iqRno': _0x191d('1d0', 'xQrr'), 'NxtsF': _0x191d('1d1', 'l3CZ') }; let _0x584e1b = { 'url': 'https://api.m.jd.com/client.action?functionId=isvObfuscator', 'headers': { 'Host': _0x13edfa[_0x191d('1d2', 'lcAQ')], 'Content-Type': _0x13edfa[_0x191d('1d3', 'XduC')], 'Accept': _0x13edfa['IrJvy'], 'Connection': _0x13edfa['nFAOs'], 'Cookie': cookie, 'User-Agent': _0x191d('1d4', 'XduC'), 'Accept-Language': _0x13edfa[_0x191d('1d5', 'Je)&')], 'Accept-Encoding': _0x13edfa['NxtsF'] }, 'body': _0x191d('1d6', 'QG6p') }; return new Promise(_0x3a8341 => { var _0x24346e = { 'lHKZl': function (_0x32907f, _0x11947e) { return _0x32907f === _0x11947e; }, 'FOrwI': _0x13edfa['GehkO'], 'TdIVS': function (_0x3de2a0) { return _0x3de2a0(); } }; $[_0x191d('1d7', 'gw7!')](_0x584e1b, (_0x3291de, _0x487937, _0x4748b0) => { try { if (_0x3291de) { $['log'](_0x3291de); } else { if (_0x4748b0) { _0x4748b0 = JSON[_0x191d('1d8', 'lcAQ')](_0x4748b0); if (_0x24346e[_0x191d('1d9', 'KCCV')](_0x4748b0[_0x191d('1da', 'r9y[')], '0')) { $[_0x191d('1db', 'r9y[')] = _0x4748b0[_0x191d('1dc', 'yB#t')]; } } else { $['log'](_0x24346e[_0x191d('1dd', 'mgZN')]); } } } catch (_0x5d5e00) { $[_0x191d('1de', 'r9y[')](_0x5d5e00); } finally { _0x24346e[_0x191d('1df', 'Y%AS')](_0x3a8341); } }); }); } function random(_0x3230b6, _0x242ac9) { var _0x464541 = { 'sFjxW': function (_0xb2bb9d, _0x59f9d1) { return _0xb2bb9d + _0x59f9d1; } }; return _0x464541[_0x191d('1e0', '#XGG')](Math[_0x191d('1e1', 'OvL7')](Math[_0x191d('1e2', '#XGG')]() * (_0x242ac9 - _0x3230b6)), _0x3230b6); } function getUUID(_0x3498a0 = _0x191d('1e3', 'XqVL'), _0x47c310 = 0x0) { var _0x1be68d = { 'GckgG': function (_0x2332ef, _0x3a9bc1) { return _0x2332ef == _0x3a9bc1; } }; return _0x3498a0[_0x191d('1e4', 'w#9O')](/[xy]/g, function (_0x4a5c79) { var _0x1538e3 = Math[_0x191d('1e5', 'w#9O')]() * 0x10 | 0x0, _0x3346a0 = _0x1be68d[_0x191d('1e6', 'r9y[')](_0x4a5c79, 'x') ? _0x1538e3 : _0x1538e3 & 0x3 | 0x8; if (_0x47c310) { uuid = _0x3346a0[_0x191d('1e7', 'd3P&')](0x24)[_0x191d('1e8', 'P0]R')](); } else { uuid = _0x3346a0[_0x191d('1e9', 'Mb)F')](0x24); } return uuid; }); } function checkCookie() { var _0x593e25 = { 'vkYAP': _0x191d('1ea', 'mgZN'), 'MuCbQ': _0x191d('1eb', 'p#wS'), 'IJPsU': _0x191d('1ec', 'v&b5'), 'MwqHB': _0x191d('1ed', 'Mb)F') }; const _0xf11c81 = { 'url': _0x593e25[_0x191d('1ee', 'Ik2%')], 'headers': { 'Host': _0x191d('1ef', 'AOzz'), 'Accept': '*/*', 'Connection': _0x593e25['MuCbQ'], 'Cookie': cookie, 'User-Agent': _0x593e25['IJPsU'], 'Accept-Language': _0x191d('1f0', 'g6jQ'), 'Referer': _0x593e25[_0x191d('1f1', 'Dxz4')], 'Accept-Encoding': _0x191d('1f2', '1E$9') } }; return new Promise(_0x283c5e => { var _0x44b679 = { 'rmbDq': function (_0x20f036) { return _0x20f036(); } }; $[_0x191d('1f3', 'r9y[')](_0xf11c81, (_0x4dbb4e, _0x14e1a0, _0x593931) => { try { if (_0x4dbb4e) { $['logErr'](_0x4dbb4e); } else { if (_0x593931) { _0x593931 = JSON[_0x191d('1f4', 'C3Yr')](_0x593931); if (_0x593931[_0x191d('1f5', '#XGG')] === _0x191d('1f6', 'yB#t')) { $['isLogin'] = ![]; return; } if (_0x593931[_0x191d('1f7', 'wFzT')] === '0' && _0x593931[_0x191d('1f8', 'Mb)F')][_0x191d('1f9', 'P0]R')](_0x191d('1fa', '*TqD'))) { $[_0x191d('1fb', 'w#9O')] = _0x593931[_0x191d('1fc', 'C3Yr')]['userInfo']['baseInfo'][_0x191d('1fd', 'xQrr')]; } } else { $[_0x191d('1fe', 'hFXY')](_0x191d('1ff', 'l8TQ')); } } } catch (_0x53769e) { $[_0x191d('200', 'v&b5')](_0x53769e); } finally { _0x44b679[_0x191d('201', 'xQrr')](_0x283c5e); } }); }); }
// prettier-ignore
!function (n) { "use strict"; function t(n, t) { var r = (65535 & n) + (65535 & t); return (n >> 16) + (t >> 16) + (r >> 16) << 16 | 65535 & r } function r(n, t) { return n << t | n >>> 32 - t } function e(n, e, o, u, c, f) { return t(r(t(t(e, n), t(u, f)), c), o) } function o(n, t, r, o, u, c, f) { return e(t & r | ~t & o, n, t, u, c, f) } function u(n, t, r, o, u, c, f) { return e(t & o | r & ~o, n, t, u, c, f) } function c(n, t, r, o, u, c, f) { return e(t ^ r ^ o, n, t, u, c, f) } function f(n, t, r, o, u, c, f) { return e(r ^ (t | ~o), n, t, u, c, f) } function i(n, r) { n[r >> 5] |= 128 << r % 32, n[14 + (r + 64 >>> 9 << 4)] = r; var e, i, a, d, h, l = 1732584193, g = -271733879, v = -1732584194, m = 271733878; for (e = 0; e < n.length; e += 16)i = l, a = g, d = v, h = m, g = f(g = f(g = f(g = f(g = c(g = c(g = c(g = c(g = u(g = u(g = u(g = u(g = o(g = o(g = o(g = o(g, v = o(v, m = o(m, l = o(l, g, v, m, n[e], 7, -680876936), g, v, n[e + 1], 12, -389564586), l, g, n[e + 2], 17, 606105819), m, l, n[e + 3], 22, -1044525330), v = o(v, m = o(m, l = o(l, g, v, m, n[e + 4], 7, -176418897), g, v, n[e + 5], 12, 1200080426), l, g, n[e + 6], 17, -1473231341), m, l, n[e + 7], 22, -45705983), v = o(v, m = o(m, l = o(l, g, v, m, n[e + 8], 7, 1770035416), g, v, n[e + 9], 12, -1958414417), l, g, n[e + 10], 17, -42063), m, l, n[e + 11], 22, -1990404162), v = o(v, m = o(m, l = o(l, g, v, m, n[e + 12], 7, 1804603682), g, v, n[e + 13], 12, -40341101), l, g, n[e + 14], 17, -1502002290), m, l, n[e + 15], 22, 1236535329), v = u(v, m = u(m, l = u(l, g, v, m, n[e + 1], 5, -165796510), g, v, n[e + 6], 9, -1069501632), l, g, n[e + 11], 14, 643717713), m, l, n[e], 20, -373897302), v = u(v, m = u(m, l = u(l, g, v, m, n[e + 5], 5, -701558691), g, v, n[e + 10], 9, 38016083), l, g, n[e + 15], 14, -660478335), m, l, n[e + 4], 20, -405537848), v = u(v, m = u(m, l = u(l, g, v, m, n[e + 9], 5, 568446438), g, v, n[e + 14], 9, -1019803690), l, g, n[e + 3], 14, -187363961), m, l, n[e + 8], 20, 1163531501), v = u(v, m = u(m, l = u(l, g, v, m, n[e + 13], 5, -1444681467), g, v, n[e + 2], 9, -51403784), l, g, n[e + 7], 14, 1735328473), m, l, n[e + 12], 20, -1926607734), v = c(v, m = c(m, l = c(l, g, v, m, n[e + 5], 4, -378558), g, v, n[e + 8], 11, -2022574463), l, g, n[e + 11], 16, 1839030562), m, l, n[e + 14], 23, -35309556), v = c(v, m = c(m, l = c(l, g, v, m, n[e + 1], 4, -1530992060), g, v, n[e + 4], 11, 1272893353), l, g, n[e + 7], 16, -155497632), m, l, n[e + 10], 23, -1094730640), v = c(v, m = c(m, l = c(l, g, v, m, n[e + 13], 4, 681279174), g, v, n[e], 11, -358537222), l, g, n[e + 3], 16, -722521979), m, l, n[e + 6], 23, 76029189), v = c(v, m = c(m, l = c(l, g, v, m, n[e + 9], 4, -640364487), g, v, n[e + 12], 11, -421815835), l, g, n[e + 15], 16, 530742520), m, l, n[e + 2], 23, -995338651), v = f(v, m = f(m, l = f(l, g, v, m, n[e], 6, -198630844), g, v, n[e + 7], 10, 1126891415), l, g, n[e + 14], 15, -1416354905), m, l, n[e + 5], 21, -57434055), v = f(v, m = f(m, l = f(l, g, v, m, n[e + 12], 6, 1700485571), g, v, n[e + 3], 10, -1894986606), l, g, n[e + 10], 15, -1051523), m, l, n[e + 1], 21, -2054922799), v = f(v, m = f(m, l = f(l, g, v, m, n[e + 8], 6, 1873313359), g, v, n[e + 15], 10, -30611744), l, g, n[e + 6], 15, -1560198380), m, l, n[e + 13], 21, 1309151649), v = f(v, m = f(m, l = f(l, g, v, m, n[e + 4], 6, -145523070), g, v, n[e + 11], 10, -1120210379), l, g, n[e + 2], 15, 718787259), m, l, n[e + 9], 21, -343485551), l = t(l, i), g = t(g, a), v = t(v, d), m = t(m, h); return [l, g, v, m] } function a(n) { var t, r = "", e = 32 * n.length; for (t = 0; t < e; t += 8)r += String.fromCharCode(n[t >> 5] >>> t % 32 & 255); return r } function d(n) { var t, r = []; for (r[(n.length >> 2) - 1] = void 0, t = 0; t < r.length; t += 1)r[t] = 0; var e = 8 * n.length; for (t = 0; t < e; t += 8)r[t >> 5] |= (255 & n.charCodeAt(t / 8)) << t % 32; return r } function h(n) { return a(i(d(n), 8 * n.length)) } function l(n, t) { var r, e, o = d(n), u = [], c = []; for (u[15] = c[15] = void 0, o.length > 16 && (o = i(o, 8 * n.length)), r = 0; r < 16; r += 1)u[r] = 909522486 ^ o[r], c[r] = 1549556828 ^ o[r]; return e = i(u.concat(d(t)), 512 + 8 * t.length), a(i(c.concat(e), 640)) } function g(n) { var t, r, e = ""; for (r = 0; r < n.length; r += 1)t = n.charCodeAt(r), e += "0123456789abcdef".charAt(t >>> 4 & 15) + "0123456789abcdef".charAt(15 & t); return e } function v(n) { return unescape(encodeURIComponent(n)) } function m(n) { return h(v(n)) } function p(n) { return g(m(n)) } function s(n, t) { return l(v(n), v(t)) } function C(n, t) { return g(s(n, t)) } function A(n, t, r) { return t ? r ? s(t, n) : C(t, n) : r ? m(n) : p(n) } $.md5 = A }(this);
function Env(t, e) { "undefined" != typeof process && JSON.stringify(process.env).indexOf("GITHUB") > -1 && process.exit(0); class s { constructor(t) { this.env = t } send(t, e = "GET") { t = "string" == typeof t ? { url: t } : t; let s = this.get; return "POST" === e && (s = this.post), new Promise((e, i) => { s.call(this, t, (t, s, r) => { t ? i(t) : e(s) }) }) } get(t) { return this.send.call(this.env, t) } post(t) { return this.send.call(this.env, t, "POST") } } return new class { constructor(t, e) { this.name = t, this.http = new s(this), this.data = null, this.dataFile = "box.dat", this.logs = [], this.isMute = !1, this.isNeedRewrite = !1, this.logSeparator = "\n", this.startTime = (new Date).getTime(), Object.assign(this, e), this.log("", `🔔${this.name}, 开始!`) } isNode() { return "undefined" != typeof module && !!module.exports } isQuanX() { return "undefined" != typeof $task } isSurge() { return "undefined" != typeof $httpClient && "undefined" == typeof $loon } isLoon() { return "undefined" != typeof $loon } toObj(t, e = null) { try { return JSON.parse(t) } catch { return e } } toStr(t, e = null) { try { return JSON.stringify(t) } catch { return e } } getjson(t, e) { let s = e; const i = this.getdata(t); if (i) try { s = JSON.parse(this.getdata(t)) } catch { } return s } setjson(t, e) { try { return this.setdata(JSON.stringify(t), e) } catch { return !1 } } getScript(t) { return new Promise(e => { this.get({ url: t }, (t, s, i) => e(i)) }) } runScript(t, e) { return new Promise(s => { let i = this.getdata("@chavy_boxjs_userCfgs.httpapi"); i = i ? i.replace(/\n/g, "").trim() : i; let r = this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout"); r = r ? 1 * r : 20, r = e && e.timeout ? e.timeout : r; const [o, h] = i.split("@"), n = { url: `http://${h}/v1/scripting/evaluate`, body: { script_text: t, mock_type: "cron", timeout: r }, headers: { "X-Key": o, Accept: "*/*" } }; this.post(n, (t, e, i) => s(i)) }).catch(t => this.logErr(t)) } loaddata() { if (!this.isNode()) return {}; { this.fs = this.fs ? this.fs : require("fs"), this.path = this.path ? this.path : require("path"); const t = this.path.resolve(this.dataFile), e = this.path.resolve(process.cwd(), this.dataFile), s = this.fs.existsSync(t), i = !s && this.fs.existsSync(e); if (!s && !i) return {}; { const i = s ? t : e; try { return JSON.parse(this.fs.readFileSync(i)) } catch (t) { return {} } } } } writedata() { if (this.isNode()) { this.fs = this.fs ? this.fs : require("fs"), this.path = this.path ? this.path : require("path"); const t = this.path.resolve(this.dataFile), e = this.path.resolve(process.cwd(), this.dataFile), s = this.fs.existsSync(t), i = !s && this.fs.existsSync(e), r = JSON.stringify(this.data); s ? this.fs.writeFileSync(t, r) : i ? this.fs.writeFileSync(e, r) : this.fs.writeFileSync(t, r) } } lodash_get(t, e, s) { const i = e.replace(/\[(\d+)\]/g, ".$1").split("."); let r = t; for (const t of i) if (r = Object(r)[t], void 0 === r) return s; return r } lodash_set(t, e, s) { return Object(t) !== t ? t : (Array.isArray(e) || (e = e.toString().match(/[^.[\]]+/g) || []), e.slice(0, -1).reduce((t, s, i) => Object(t[s]) === t[s] ? t[s] : t[s] = Math.abs(e[i + 1]) >> 0 == +e[i + 1] ? [] : {}, t)[e[e.length - 1]] = s, t) } getdata(t) { let e = this.getval(t); if (/^@/.test(t)) { const [, s, i] = /^@(.*?)\.(.*?)$/.exec(t), r = s ? this.getval(s) : ""; if (r) try { const t = JSON.parse(r); e = t ? this.lodash_get(t, i, "") : e } catch (t) { e = "" } } return e } setdata(t, e) { let s = !1; if (/^@/.test(e)) { const [, i, r] = /^@(.*?)\.(.*?)$/.exec(e), o = this.getval(i), h = i ? "null" === o ? null : o || "{}" : "{}"; try { const e = JSON.parse(h); this.lodash_set(e, r, t), s = this.setval(JSON.stringify(e), i) } catch (e) { const o = {}; this.lodash_set(o, r, t), s = this.setval(JSON.stringify(o), i) } } else s = this.setval(t, e); return s } getval(t) { return this.isSurge() || this.isLoon() ? $persistentStore.read(t) : this.isQuanX() ? $prefs.valueForKey(t) : this.isNode() ? (this.data = this.loaddata(), this.data[t]) : this.data && this.data[t] || null } setval(t, e) { return this.isSurge() || this.isLoon() ? $persistentStore.write(t, e) : this.isQuanX() ? $prefs.setValueForKey(t, e) : this.isNode() ? (this.data = this.loaddata(), this.data[e] = t, this.writedata(), !0) : this.data && this.data[e] || null } initGotEnv(t) { this.got = this.got ? this.got : require("got"), this.cktough = this.cktough ? this.cktough : require("tough-cookie"), this.ckjar = this.ckjar ? this.ckjar : new this.cktough.CookieJar, t && (t.headers = t.headers ? t.headers : {}, void 0 === t.headers.Cookie && void 0 === t.cookieJar && (t.cookieJar = this.ckjar)) } get(t, e = (() => { })) { t.headers && (delete t.headers["Content-Type"], delete t.headers["Content-Length"]), this.isSurge() || this.isLoon() ? (this.isSurge() && this.isNeedRewrite && (t.headers = t.headers || {}, Object.assign(t.headers, { "X-Surge-Skip-Scripting": !1 })), $httpClient.get(t, (t, s, i) => { !t && s && (s.body = i, s.statusCode = s.status), e(t, s, i) })) : this.isQuanX() ? (this.isNeedRewrite && (t.opts = t.opts || {}, Object.assign(t.opts, { hints: !1 })), $task.fetch(t).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => e(t))) : this.isNode() && (this.initGotEnv(t), this.got(t).on("redirect", (t, e) => { try { if (t.headers["set-cookie"]) { const s = t.headers["set-cookie"].map(this.cktough.Cookie.parse).toString(); s && this.ckjar.setCookieSync(s, null), e.cookieJar = this.ckjar } } catch (t) { this.logErr(t) } }).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => { const { message: s, response: i } = t; e(s, i, i && i.body) })) } post(t, e = (() => { })) { if (t.body && t.headers && !t.headers["Content-Type"] && (t.headers["Content-Type"] = "application/x-www-form-urlencoded"), t.headers && delete t.headers["Content-Length"], this.isSurge() || this.isLoon()) this.isSurge() && this.isNeedRewrite && (t.headers = t.headers || {}, Object.assign(t.headers, { "X-Surge-Skip-Scripting": !1 })), $httpClient.post(t, (t, s, i) => { !t && s && (s.body = i, s.statusCode = s.status), e(t, s, i) }); else if (this.isQuanX()) t.method = "POST", this.isNeedRewrite && (t.opts = t.opts || {}, Object.assign(t.opts, { hints: !1 })), $task.fetch(t).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => e(t)); else if (this.isNode()) { this.initGotEnv(t); const { url: s, ...i } = t; this.got.post(s, i).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => { const { message: s, response: i } = t; e(s, i, i && i.body) }) } } time(t, e = null) { const s = e ? new Date(e) : new Date; let i = { "M+": s.getMonth() + 1, "d+": s.getDate(), "H+": s.getHours(), "m+": s.getMinutes(), "s+": s.getSeconds(), "q+": Math.floor((s.getMonth() + 3) / 3), S: s.getMilliseconds() }; /(y+)/.test(t) && (t = t.replace(RegExp.$1, (s.getFullYear() + "").substr(4 - RegExp.$1.length))); for (let e in i) new RegExp("(" + e + ")").test(t) && (t = t.replace(RegExp.$1, 1 == RegExp.$1.length ? i[e] : ("00" + i[e]).substr(("" + i[e]).length))); return t } msg(e = t, s = "", i = "", r) { const o = t => { if (!t) return t; if ("string" == typeof t) return this.isLoon() ? t : this.isQuanX() ? { "open-url": t } : this.isSurge() ? { url: t } : void 0; if ("object" == typeof t) { if (this.isLoon()) { let e = t.openUrl || t.url || t["open-url"], s = t.mediaUrl || t["media-url"]; return { openUrl: e, mediaUrl: s } } if (this.isQuanX()) { let e = t["open-url"] || t.url || t.openUrl, s = t["media-url"] || t.mediaUrl; return { "open-url": e, "media-url": s } } if (this.isSurge()) { let e = t.url || t.openUrl || t["open-url"]; return { url: e } } } }; if (this.isMute || (this.isSurge() || this.isLoon() ? $notification.post(e, s, i, o(r)) : this.isQuanX() && $notify(e, s, i, o(r))), !this.isMuteLog) { let t = ["", "==============📣系统通知📣=============="]; t.push(e), s && t.push(s), i && t.push(i), console.log(t.join("\n")), this.logs = this.logs.concat(t) } } log(...t) { t.length > 0 && (this.logs = [...this.logs, ...t]), console.log(t.join(this.logSeparator)) } logErr(t, e) { const s = !this.isSurge() && !this.isQuanX() && !this.isLoon(); s ? this.log("", `❗️${this.name}, 错误!`, t.stack) : this.log("", `❗️${this.name}, 错误!`, t) } wait(t) { return new Promise(e => setTimeout(e, t)) } done(t = {}) { const e = (new Date).getTime(), s = (e - this.startTime) / 1e3; this.log("", `🔔${this.name}, 结束! 🕛 ${s} 秒`), this.log(), (this.isSurge() || this.isQuanX() || this.isLoon()) && $done(t) } }(t, e) }