-
Notifications
You must be signed in to change notification settings - Fork 0
/
jd_jxlhb.js
85 lines (78 loc) · 42.5 KB
/
jd_jxlhb.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
/*
京喜领88元红包
活动入口:京喜app-》我的-》京喜领88元红包
助力逻辑:先自己京东账号相互助力,如有剩余助力机会,则助力作者
温馨提示:如提示助力火爆,可尝试寻找京东客服
脚本兼容: Quantumult X, Surge, Loon, JSBox, Node.js
==============Quantumult X==============
[task_local]
#京喜领88元红包
4 10 * * * https://gitee.com/lxk0301/jd_scripts/raw/master/jd_jxlhb.js, tag=京喜领88元红包, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/jd.png, enabled=true
==============Loon==============
[Script]
cron "4 10 * * *" script-path=https://gitee.com/lxk0301/jd_scripts/raw/master/jd_jxlhb.js,tag=京喜领88元红包
================Surge===============
京喜领88元红包 = type=cron,cronexp="4 10 * * *",wake-system=1,timeout=3600,script-path=https://gitee.com/lxk0301/jd_scripts/raw/master/jd_jxlhb.js
===============小火箭==========
京喜领88元红包 = type=cron,script-path=https://gitee.com/lxk0301/jd_scripts/raw/master/jd_jxlhb.js, cronexpr="4 10 * * *", timeout=3600, enable=true
*/
const $ = new Env('京喜领88元红包');
const notify = $.isNode() ? require('./sendNotify') : {};
const jdCookieNode = $.isNode() ? require('./jdCookie.js') : {};
let cookiesArr = [], cookie = '';
if ($.isNode()) {
Object.keys(jdCookieNode).forEach((item) => {
cookiesArr.push(jdCookieNode[item])
});
if (process.env.JD_DEBUG && process.env.JD_DEBUG === 'false') console.log = () => {};
} else {
cookiesArr = [
$.getdata("CookieJD"),
$.getdata("CookieJD2"),
...$.toObj($.getdata("CookiesJD") || "[]").map((item) => item.cookie)].filter((item) => !!item);
}
$.packetIdArr = [];
const BASE_URL = 'https://wq.jd.com/cubeactive/steprewardv3'
var _0xodC='jsjiami.com.v6',_0x167a=[_0xodC,'w6vCs8Or','44KJ5Y2H5Ym35Yq044CK','w4xmWhMZ','w6vCiMKsemltwr/DhBnDnA==','wrRBbW1z','aEXDtHbClQ==','eRpcDQ==','K0IQLwLChmw=','44OZ5p6V5YiI5L2R5Yqm5Yud5p6c5L+277+35b+s5aev5Yij5YuZ5L+96ICywrg=','wpXDssOzw4dowr1Pw6zCujxaw5slCMOSwro=','w7TCi8OYUARpw7M=','LMOXVQ==','44Cf5Y+A5Yqc5Yui5Lyh6IKL55i36YCT6Ky/56Gl77++','w49MdSs=','QiDCiA==','44CY5byL5aWo5oue57mn5Y2Bwq8=','T3LCpMOVwoA=','wpjDosOpw4hzwqc=','woDDuzbDqn4=','DsKUEMKFwrU=','wqRiw5h2VA==','E8O7woTDpj/CqQ==','wojDtFXDv8OGQmoww4UMN8OD','w61eeS0Nw5c/Gw==','woRLc8Ohwpo=','w5ojw6PCuiE=','wo1wRcO9wrB9SFjCihEFwoM=','DcOgwpw=','XcK6w6PCjcK0w6hXw54=','5Lib57uZ5YyT','LcOJwoEUw7w=','w5Yrw6Nxb8Kqw77CqMOlIyY=','w5ljSzET','LcOAUcKu','wojDtE/Dk8Oe','fyDCnw==','wp7DlSHDpHbCm0Q=','K8KKw6HCpQ==','w5PCpsOCw7Ro','N8K8wrx3Tw==','wogmEcKpw5U=','w5bCsMKuWlQ=','wp42GjHCpA==','eThYNBE=','w5xjMcOUwot6wod8HSg=','w5kvXcOTLQ==','wrpsWg==','wokNPw0=','GsOJGyMxbQ==','BShdw5hJ','w43Cv8K5TV8=','I8KKw6g=','6I+B5Y6+5YiC5YiN56CO5om25Yqo77+h','wrN2w7t7','ShpBGA==','w7oJw74vW3JjKMKRwqQ=','w6fCn8OFcA==','EXnDo8K5','w4N/PcOIwoR4wp5w','Gid7w5l6','w77CuMOTbA==','wrlbw79vXg==','woRjw71PYw3CsmjDocO9','woXDlMOFwp8=','w5wk5aSl6LSZKsOn5Y2G5ZiuU8Kc','w6Eld8OqHQ==','QzXCuHN5','woTDpsO1w5xi','5rSK5YuT5byW5ZKI5aSj6LWP776T','w6zChyUZcsOEEA==','w74Rw67CiwM=','FsOrwpU6w7I=','dR7CmSYe','wphww4p/ZA==','w5ESeMOPJA==','OcOBS1zDvi/Do2o=','wr/DmTvDkGnCkk9/wpNAIg==','MsKOw5zCoMOWwrdXMiBtw5IZw7EYS8KEMG/DjD4hw4XCqcK2w6hxS8Oba39fwrM7w4pLwpN0wpbDvT7CuRHCkRMbZcOjw51/wr/Doh1kw73Cog==','d8Onw7TCuAtxZ8OTwrk=','wprDrytFRw==','wrjDj8OSwqDCgg==','wrAqOsK7w60=','wp7DmVLDlsO1','GcKNBsKzwr0=','wpHDkMONVMOA','FcOVLj8U','w5Mkw4bCgCI=','E2bDokPDvw==','CMOdwp4J','w48beQ==','TMKow7LCng==','M8KywodUXcO9ScO2w7fDuw==','wqp3wprCqQ==','wpjDgcOawq/Cpm1JTMOvaw==','w5JtLMOb','YhRS','fT5HCzDDvcOU','woJ5wok=','woINPB4Tw7/mnrforpzorq7msbnlp6notL3DoOKBlO+6vuKBo++6gg==','wpTDkyjDgGjChQ==','woDDrcOsbA==','ZWTDhA==','6I6t5Y+K5Ymq5YiW56O75omq5YuE776d','MsOHCAc=','wok9f2rDusO9w7wZKmY=','LcKAJMKCwpRbwo/Cg8OqCMKe','w5MBbTg=','DEIKBg==','wpUfLMKfw5RZwr3DnMKiNg==','wrrDvcO/wr7Cjw==','6I6G5Y6t5Yq/5Yi856CT5aWb6Las77+y','IMKow5rCu8OtwqF5','6IyA5Y6U5Yi+5YmC56GI5aSg6LWc77+M','wpxrc3l5wrU=','e8OnwrXDvyI=','w5RCew==','YBpYHA==','w6Y/UMOzFg==','wpDDrippYg==','woBaw5xAWw==','CyV9w4Npe8KTwp7CncKcwrQ7w7wYNCoxcW4zwo/DjsOXWMK/CcOFKnfCmBfDiMKnw7J7OG4+WyB6w5pCSSHCvngMOhMvw43Cl3rCpXTDhsOUYw8kw7s=','WcO+w5DCnAI=','VyfCgjUM','wr7ClsKxRnRMwqzDoBXCjw==','wrzDtQxt','ARZ6w5tS','TwhSGys=','w7jCpyM=','wqhewp7CpGc=','f8O+w4TCpyw=','wp4lFsKTw5U=','w44XScOaIw==','PcKMw4XCrA==','acONwojCiMOwwpvmn7vorrTor7vmsYzlpovotZ3Cv+KBiu+4oeKDlO+4kw==','w7PCrTAuTcOF','wpYKPcKhw4JIwobDqMKKKi8=','YDvCigccCsOsNMK2Rw==','woh6S8KtTVrCkcOI','KsOASsKpwoY=','5YmO5Yu35omC5Yu38YWMscOX','wonDg8OxwovCtg==','wpQfAADCjg==','wqZywrvCvVU=','MsOQMSwO','wpfDpsOpw6diwqNy','wpvDnSHDjX/Cm00=','wrFmSQ==','NMKzIsKd','LcOZSg==','5YmC5YiO5aSK6LaVwow=','wp5wWcOBwqU=','w7Eaw6UdeA==','5rSo5Yun5b+45ZG95om/5YuwwrLli43liYTpgqnorbnnoYXku45s','wozDvRVp','S8Otw40=','5rSy5Yqj5b6j5ZC35ae06LWh776/','VMOHw5jCsV0uYw==','XsOIwpHDnh4=','DMOBDRMr','w4Updg==','w5PCn8KpWcO4C+acqOisv+ishOazkeWkmOi0tsO24oK+77uV4oK377u0','w4xew5cnScOQ','w4UpdsOsHcO/','wqDDrcObwonClw==','cBNdw7F7','ZDfCmx4N','GsKHw5XCgcOH','44Gf5oy156a144OR6K2J5YWr6I2p5Yyj5LqL5Lm+6LSY5Y2a5Lu9bl03KSnCtcO455ix5o2V5L6m55eNw6nDmUPCkmlu55qf5Lmh5Lia56605Yqi6I+65Y2a','J2jDl0LDuw7DhlZew7wU','GcKYDMKjwpo=','HF7DkcKbwo0=','w4BEKcOrwoI=','woNwZmxiwqnDpA==','LsKuw7TCnsKew6wH','woNDQ1hC','w4FSw4QLTcOHw5HDrcO0wp3CrgHDhMOQwr4iwqIdw4rCnRnDgxwjRsOJw4w3P8OwV3YZw4XDkcOwfsK5dUDCo8KAPmcewpIMw4LCvB1pwrjDiktBOMOkaEzDicOHwqjDtGTCvcO8JMKewrcTHUbDlQ/DsXHDqsOR','wo7DmsO9','wonCksKCw43Cow==','w4nCjMOjw7du','w5vCrTobaw==','wp/Dp8OrwpbCgA==','XRRx','wprDpsOqw4o=','wrQNCyvCpQ==','w6Qjw47CmgQ=','w5BQw4IRXg==','wo4+Nxw=','WsK4w4fCm8Kd','Iwl6w4Rr','YwhS','wq/CtsKZw5TCow3DiMK1wqLCqcOSOk/DmnRoYsOHOcO5w657IB/CuA92T8KeADjCmcOCD0BQw4fDkgkiTsO4OQ==','ZMKmw6E=','5oqn57it5Y++5omt5YiVwrg=','wojCocKow5LCoA==','LsOswr4Lw7o=','wojDlMOGwrXCpW1VW8O0ZAnCsQ==','5oml57uW5Yyb5aWh6La9w4o=','w5oDY8ObIsO+w68=','w63Ci8K7bV8=','5YmC5YiO5oir5Yiv8LKurj4=','NsOOX8KfwpFb','wpYLWnvDoA==','wqrCuMKDw7XChQ==','wqMzCMKOw5M=','w4M3w7nCtyx9','wqFjfk9s','UcO/w5/CgwI=','w6fCjzYOZg==','w7R2w68yacOtw4DDkMKHwrbCiTPDvg==','bcKnw7A=','wolOccKPUXTCpMO0X3h/w4nClw==','woQNHQPCqw==','TsOQw4/Ctw==','5Yum5Ym+5oqf5Ymf8LCuqsOk','w7TCmcO+w6xQw6rCvA==','wqHDjgR8','w63CvcOjw49O','w4onf8OhCsOhw7g=','5rmh6aaL5o6u56Wd77295aWo5o+M56a65Yq85Yiy54CD54uX772W5Y685bCh6Ky45ay65oqU5LuX5Li+5ays5pyu','YxpN','5Yqh5YmS5aa36Leaw4A=','w7o4w74IZWR2','w6EJw60YbA==','wo4fKsK6w5RzwrnDqcK5ECnDnMOc','w7LChMOA','wpPChcKyw7TCgnjCv8ODwp/ChMO8BzU=','wo7Du00=','esOtw6k=','woRMwq/CrXc=','YsKTw4fCmsKf','w4UERsOtBg==','DAzDqMOnYg==','V8Ojw5jCsHU=','PFYQCQLChg==','KMOMRlXDgC3DsWvDmsKYw47DvmU=','XUzDvEjClwvDvcO9MghVw4RQ','w71/McO5wqk=','wrpRwrHCmEDCojrChsOwwo4yw4Mi','aHjDkHHCoio=','woRLasOXwqU=','wqRoV8K1Tg==','Dn3DvmHDjw==','dcOOw5fCgic=','HzrDjsOi','wol3bcOewqM=','w6Avw6kO','w7vCncKwZ39kwr0=','5ruZ6aas5o+E56SG77yR5aWF5oyJ56e05YuA5Yin54Ca54iP776w5Y+75bC/6K6W5a2r5oui5Lqk5Lqq5ayW5p+S','KcOqV1E=','5Yq05YiT5aas6LezdQ==','RsOhwoXDoBnDp8O1','w7hjLw==','w4hOFg==','wpDDtMOkaMOG','R8OQwogJw6/Cv8Oe','wqRGcsOCwoo=','w6pmw6kScQ==','w7scw6IeR3o=','w70Sw58OWn5/Hw==','BcOKFQUm','w4pMcjssw5s=','NMOXYVHDgQvDqWk=','BQTDgsO1ag==','wp3DkMOabMOaK8Kjwro=','XSPChmd4','O08XBAI=','MsKnwptlQcO1','w7PCs8Ofw6pvw7DCtRg=','w7t5RsKwbV7ClcOJPQ==','w4cwa8OuBA==','wqRQQHp9','R8OFwpnDtjvDuQ==','RsOIwp7DsTE=','VcOjw4TCp38w','wpjDuVLDk8OT','wp16wofCq3c=','w6rCncKwS3Vl','FyRlw5N5Vw==','Bh/Dg8O0dw==','YsKtw7bClsKUw65Vw47CqwoQw6gnwoHCncOiw4wYw5Iaw78NcsODw69CW8OCBg==','cmjCt8O9wolAdMKoAcOaw6XDq3B7DhBvd3ACCzXCjMKIPcKIQlLDvlzCpsOMwrDCmXbCgMKdC8KNT2LDnhg=','5Lq/5ZeT6aG+alflhKznuLzljaHDlQ==','5reB5Yuh5YWo5Y+c776T5Li05ZSSKDN4BeOBk+aLveeZl1zjgLPkuKTllZPpo47DhsO45YWU57q55Y2Jw5A=','5ruC6aSd5o2456eA77+P5aaK5o+r56Sm5Yiv5Yqe54CG54uS77yo5Y+i5bCs6KyO5aya5omT5Lut5LuB5a+e5p+x','WQ9iw5dhUMKmw4cjSsOBO8OeYijDqcKeFQnCuEByYsKrw6IuCHPDgsK3wpYHKMKCw74ZYsO6wpzDinZJZcOdGHcaEcKMw79hwq7CksKwworCp8OMwrnDmCFkKsOEwqfCkV5iw6fCkMO0wp3DnsK/fhIo','WQ9iw5coRcKmwoskQMKBdMOafyLDpcKQHlHCpwszZMK5w7pwATnCk8K/woYWOsKHwqldZsKxw5nCiyobJcKPfydCHsKowqM0w6nCgsOnw5bDosOMwr7Dlw==','GTJ7w79se8KowqrDmMKR','wqE5GSPCqg==','woRJUcO3wqk=','W8KDw4LCscK5','CMKnFMKEwpM=','dnPCpA==','5rWm5YmJ5b2H5ZOG5ouh5Yqww6rliY7liLDpg7rorJvnoZrku7zDow==','HsOATMK7','wqrCscKK','GMOHEQM=','44Ko5o+956Sm44GO6K605Ye+6I+l5Y6o5Lu15Lin6Le+5Y+v5LuAC8OeMMOmFMKowoPnmbLmjL/kvY7nlr1icxzCjCHDvOebteS7ouS4hOevg+WLqeiPt+WMkA==','w7fCtiMbTMKNWH11wo3CgQk0w4YmM8Ouwp5QwofCkCbCln5dUsKrQijChBpew5/DpVovwqXClEPClTrCo8OE','YCFwGws=','bz5EHjM=','b3LCocOBwps=','CsKZH8KvwqM=','w7gyw4/Cmhs=','w5nCsMO7fCw=','wotIW8KQTQ==','BMKDwoxQVg==','w7Arw4DCgy4=','Mi3DksOHdw==','F8OTCA4sbcK5w5w9RsO3esOtw5TDq8OI','wrQeHCzCrQ==','I8OVGRQNfsKZw4A=','TU7DmknCvQ==','LcKnwoFiRg==','woTDnsO9e8OA','WcOcw6nCsSs=','w4lfw5QHQw==','w6A6w4/Cnxs=','wpjDqMOg','AyHCiTLDr27lvqXlpa/jgb3ku6zkuIbotrHlj7M=','wod4worCrWo=','IcKMw6zCq8OwQsKzwpA=','w7w1dMObIcOsw6UH','wqNXwqZQAh0=','w7rCi8OG','wrfCt8Kew4w=','VMO2w5jClmM4dsOxK8Ki','w7pjPw==','EHPDolnDtA3DinRV','Bilu','QuW8o+WmteWLjuWLvO+/sOWKteWIm+mArui8uEjlhpnohrDltqLkupDku7HnmLnkubjli5LlirnvvoLlpqHmnIDlioHkv53liJ7liaPmnIrkvKXvvqTliK/li4vli4PkvIfog5TDlg==','B8OcwqMuw48=','McKEKcKOwoVH','woQNPCDCjcOUwp0=','w4srw7g=','wqV3cU5FwqbCtMKr','cMOpw6nCtSc=','DMOuwo8ew6I=','w6fCi8OVcwRxw4rCiMKIwrFj','AGvDssKqwoQtw6RQ','O8Kuw4nCjMOk','cMOpw6U=','EkjKqsjiamiw.GkcokqVOtm.Zv6ILDW=='];(function(_0x13c9ef,_0x204d95,_0x234ccf){var _0x153055=function(_0x3df2fb,_0x5a9af4,_0x562416,_0x303268,_0x5cec62){_0x5a9af4=_0x5a9af4>>0x8,_0x5cec62='po';var _0x37590a='shift',_0x2a05ba='push';if(_0x5a9af4<_0x3df2fb){while(--_0x3df2fb){_0x303268=_0x13c9ef[_0x37590a]();if(_0x5a9af4===_0x3df2fb){_0x5a9af4=_0x303268;_0x562416=_0x13c9ef[_0x5cec62+'p']();}else if(_0x5a9af4&&_0x562416['replace'](/[EkKqwGkkqVOtZILDW=]/g,'')===_0x5a9af4){_0x13c9ef[_0x2a05ba](_0x303268);}}_0x13c9ef[_0x2a05ba](_0x13c9ef[_0x37590a]());}return 0x8d632;};return _0x153055(++_0x204d95,_0x234ccf)>>_0x204d95^_0x234ccf;}(_0x167a,0x118,0x11800));var _0x4f7c=function(_0x2d5477,_0x2d47d1){_0x2d5477=~~'0x'['concat'](_0x2d5477);var _0x47a881=_0x167a[_0x2d5477];if(_0x4f7c['CBMWUo']===undefined){(function(){var _0x4d249a=typeof window!=='undefined'?window:typeof process==='object'&&typeof require==='function'&&typeof global==='object'?global:this;var _0x268640='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';_0x4d249a['atob']||(_0x4d249a['atob']=function(_0x1ce56d){var _0x4368fe=String(_0x1ce56d)['replace'](/=+$/,'');for(var _0x393338=0x0,_0xb35e12,_0x1cccde,_0x5b1396=0x0,_0x44a9fa='';_0x1cccde=_0x4368fe['charAt'](_0x5b1396++);~_0x1cccde&&(_0xb35e12=_0x393338%0x4?_0xb35e12*0x40+_0x1cccde:_0x1cccde,_0x393338++%0x4)?_0x44a9fa+=String['fromCharCode'](0xff&_0xb35e12>>(-0x2*_0x393338&0x6)):0x0){_0x1cccde=_0x268640['indexOf'](_0x1cccde);}return _0x44a9fa;});}());var _0x46964f=function(_0xfdadb7,_0x2d47d1){var _0x415715=[],_0x5dc54b=0x0,_0x5aa21b,_0x21cb13='',_0x3b62f8='';_0xfdadb7=atob(_0xfdadb7);for(var _0x1debcf=0x0,_0x400ba7=_0xfdadb7['length'];_0x1debcf<_0x400ba7;_0x1debcf++){_0x3b62f8+='%'+('00'+_0xfdadb7['charCodeAt'](_0x1debcf)['toString'](0x10))['slice'](-0x2);}_0xfdadb7=decodeURIComponent(_0x3b62f8);for(var _0x26fa0e=0x0;_0x26fa0e<0x100;_0x26fa0e++){_0x415715[_0x26fa0e]=_0x26fa0e;}for(_0x26fa0e=0x0;_0x26fa0e<0x100;_0x26fa0e++){_0x5dc54b=(_0x5dc54b+_0x415715[_0x26fa0e]+_0x2d47d1['charCodeAt'](_0x26fa0e%_0x2d47d1['length']))%0x100;_0x5aa21b=_0x415715[_0x26fa0e];_0x415715[_0x26fa0e]=_0x415715[_0x5dc54b];_0x415715[_0x5dc54b]=_0x5aa21b;}_0x26fa0e=0x0;_0x5dc54b=0x0;for(var _0xa80112=0x0;_0xa80112<_0xfdadb7['length'];_0xa80112++){_0x26fa0e=(_0x26fa0e+0x1)%0x100;_0x5dc54b=(_0x5dc54b+_0x415715[_0x26fa0e])%0x100;_0x5aa21b=_0x415715[_0x26fa0e];_0x415715[_0x26fa0e]=_0x415715[_0x5dc54b];_0x415715[_0x5dc54b]=_0x5aa21b;_0x21cb13+=String['fromCharCode'](_0xfdadb7['charCodeAt'](_0xa80112)^_0x415715[(_0x415715[_0x26fa0e]+_0x415715[_0x5dc54b])%0x100]);}return _0x21cb13;};_0x4f7c['umZSXc']=_0x46964f;_0x4f7c['vSzHhr']={};_0x4f7c['CBMWUo']=!![];}var _0x2b3c79=_0x4f7c['vSzHhr'][_0x2d5477];if(_0x2b3c79===undefined){if(_0x4f7c['DSOLeo']===undefined){_0x4f7c['DSOLeo']=!![];}_0x47a881=_0x4f7c['umZSXc'](_0x47a881,_0x2d47d1);_0x4f7c['vSzHhr'][_0x2d5477]=_0x47a881;}else{_0x47a881=_0x2b3c79;}return _0x47a881;};!(async()=>{var _0xb477a4={'SRWao':function(_0x88ea4f,_0x88dbbf){return _0x88ea4f(_0x88dbbf);},'jXzEi':function(_0x6b8e4c,_0x4de107){return _0x6b8e4c===_0x4de107;},'nZEbv':_0x4f7c('0','2aPg'),'aEqgN':function(_0x262171,_0x28c473){return _0x262171+_0x28c473;},'unbLa':function(_0x3f941e,_0x5e02fe){return _0x3f941e+_0x5e02fe;},'WxXFR':function(_0xb2aba1,_0x4408ea){return _0xb2aba1+_0x4408ea;},'URclt':_0x4f7c('1','Qb5v'),'OpXCR':_0x4f7c('2','j(*d'),'NZMdM':'助力逻辑:先自己京东账号相互助力,如有剩余助力机会,则助力作者\x0a','VAuON':_0x4f7c('3','bbBF'),'DEyQx':function(_0x5b42c9,_0x1be7c1){return _0x5b42c9(_0x1be7c1);},'GiWZg':_0x4f7c('4','I62L'),'CJOxf':_0x4f7c('5','I62L'),'SrNDE':'2|5|0|3|4|1','DTtgd':function(_0x180741){return _0x180741();},'fSXSE':function(_0x3906e0,_0x5eda0c){return _0x3906e0<_0x5eda0c;},'tKFLZ':'userName','aNWnP':_0x4f7c('6','uEKz'),'jZXSZ':function(_0x2e4d51,_0x5c8343){return _0x2e4d51(_0x5c8343);},'UngXz':function(_0x3ebcff,_0x5d0cc4){return _0x3ebcff<_0x5d0cc4;},'xGyod':function(_0x25fb08,_0x46938c){return _0x25fb08!==_0x46938c;},'SuWlD':_0x4f7c('7','U55Q'),'LFziv':function(_0xf5aaf3,_0x42d106,_0x21e5c4){return _0xf5aaf3(_0x42d106,_0x21e5c4);}};if(!cookiesArr[0x0]){if(_0xb477a4[_0x4f7c('8',']uX5')](_0x4f7c('9','2IGG'),_0x4f7c('a','*iJx'))){console[_0x4f7c('b','2aPg')](_0x4f7c('c','*iJx')+data[_0x4f7c('d','@D%(')]['strUserPin']+'\x0a');}else{$[_0x4f7c('e','hIl5')]($[_0x4f7c('f','YTjR')],_0x4f7c('10','8j*i'),_0x4f7c('11','z&X]'),{'open-url':_0xb477a4[_0x4f7c('12','3T[D')]});return;}}console['log'](_0xb477a4[_0x4f7c('13','3T[D')](_0xb477a4[_0x4f7c('14','2aPg')](_0xb477a4[_0x4f7c('15','*iJx')](_0xb477a4['URclt'],_0xb477a4[_0x4f7c('16','gh2!')]),_0xb477a4[_0x4f7c('17','IDa2')]),_0xb477a4[_0x4f7c('18','%]Iy')]));let _0x2132c2=(await _0xb477a4[_0x4f7c('19','c[*@')](getAuthorShareCode,_0xb477a4[_0x4f7c('1a','gh2!')]))||[];let _0x35efe4=(await _0xb477a4[_0x4f7c('1b','K9y6')](getAuthorShareCode,_0xb477a4['CJOxf']))||[];$[_0x4f7c('1c','YTjR')]=[..._0x2132c2,..._0x35efe4];for(let _0x27e0ca=0x0;_0x27e0ca<cookiesArr['length'];_0x27e0ca++){var _0x4c5602=_0xb477a4[_0x4f7c('1d','U55Q')]['split']('|'),_0x3ea339=0x0;while(!![]){switch(_0x4c5602[_0x3ea339++]){case'0':$[_0x4f7c('1e','YTjR')]=_0xb477a4[_0x4f7c('1f','WFr]')](decodeURIComponent,cookie[_0x4f7c('20','c[*@')](/pt_pin=([^; ]+)(?=;?)/)&&cookie[_0x4f7c('21','h2xW')](/pt_pin=([^; ]+)(?=;?)/)[0x1]);continue;case'1':await _0xb477a4[_0x4f7c('22','NIZr')](main);continue;case'2':$[_0x4f7c('23','C@Gl')]=_0xb477a4[_0x4f7c('24','gh2!')](_0x27e0ca,0x1);continue;case'3':await TotalBean();continue;case'4':console[_0x4f7c('25','Mdyp')](_0x4f7c('26','WFr]')+$[_0x4f7c('27','I8sG')]+'】'+($[_0x4f7c('28','3ns)')]||$[_0x4f7c('29','agGG')])+_0x4f7c('2a','tQ]6'));continue;case'5':cookie=cookiesArr[_0x27e0ca];continue;}break;}}let _0x427674=[];$['packetIdArr'][_0x4f7c('2b','IDa2')](_0xa280ff=>_0x427674[_0x4f7c('2c','hIl5')](_0xa280ff[_0x4f7c('2d','oIXC')]));console[_0x4f7c('2e','TvWb')]('\x0a\x0a自己京东账号助力码:\x0a'+JSON[_0x4f7c('2f','cOT&')](_0x427674)+'\x0a\x0a');console[_0x4f7c('30','uEKz')](_0x4f7c('31','s*Z!'));for(let _0x334391=0x0;_0xb477a4[_0x4f7c('32','h%O@')](_0x334391,cookiesArr[_0x4f7c('33','*iJx')]);_0x334391++){cookie=cookiesArr[_0x334391];$[_0x4f7c('34','U55Q')]=!![];$[_0x4f7c('35','S#HZ')]=![];$[_0x4f7c('36','BZ^b')]=decodeURIComponent(cookie[_0x4f7c('37','NIZr')](/pt_pin=([^; ]+)(?=;?)/)&&cookie[_0x4f7c('38','h%O@')](/pt_pin=([^; ]+)(?=;?)/)[0x1]);for(let _0x312506 of $[_0x4f7c('39','IDa2')]){if(!_0x312506)continue;if(_0xb477a4['jXzEi']($[_0x4f7c('3a','&vQ0')],_0x312506[_0xb477a4[_0x4f7c('3b','3ns)')]]))continue;if(!$['canHelp'])break;if($[_0x4f7c('3c','NIZr')])break;console[_0x4f7c('3d','4y6m')]('【'+$['UserName']+_0x4f7c('3e','I!RK')+_0x312506[_0xb477a4[_0x4f7c('3f','8j*i')]]+'】邀请码:'+_0x312506[_0x4f7c('40','I!RK')]);await _0xb477a4[_0x4f7c('41','BZ^b')](enrollFriend,_0x312506[_0xb477a4[_0x4f7c('42','WFr]')]]);await $[_0x4f7c('43','3T[D')](0x9c4);}if($[_0x4f7c('44','s*Z!')]){console[_0x4f7c('2e','TvWb')]('\x0a【'+$[_0x4f7c('3a','&vQ0')]+_0x4f7c('45','r&uo'));for(let _0x2d0792 of $[_0x4f7c('46','Mdyp')]){if(!_0x2d0792)continue;if(!$[_0x4f7c('47','IDa2')])break;console[_0x4f7c('48','dcbG')]('【'+$['UserName']+_0x4f7c('49','3T[D')+_0x2d0792);await _0xb477a4['jZXSZ'](enrollFriend,_0x2d0792);await $[_0x4f7c('4a','8j*i')](0x9c4);}}}console[_0x4f7c('4b','avGR')]('\x0a【'+$['UserName']+_0x4f7c('4c','WFr]'));for(let _0x673681=0x0;_0xb477a4[_0x4f7c('4d','2aPg')](_0x673681,cookiesArr[_0x4f7c('4e','Mdyp')]);_0x673681++){if(_0xb477a4[_0x4f7c('4f','8qxg')](_0xb477a4[_0x4f7c('50','*iJx')],_0xb477a4[_0x4f7c('51','V@wm')])){url+=_0x4f7c('52','7gQv')+_0xb477a4['SRWao'](encodeURIComponent,stk);}else{cookie=cookiesArr[_0x673681];$[_0x4f7c('53','xnwx')]=!![];$[_0x4f7c('54','8j*i')]=_0xb477a4[_0x4f7c('55',']uX5')](decodeURIComponent,cookie[_0x4f7c('56','gh2!')](/pt_pin=([^; ]+)(?=;?)/)&&cookie['match'](/pt_pin=([^; ]+)(?=;?)/)[0x1]);const _0xbc3135=[0x1,0x2,0x3,0x4,0x5,0x6];for(let _0x28390c of _0xbc3135){if(!$[_0x4f7c('57',']uX5')])break;console[_0x4f7c('58','h%O@')]('\x0a【'+$[_0x4f7c('59','2IGG')]+'】去拆第'+_0x28390c+_0x4f7c('5a','I62L'));await _0xb477a4[_0x4f7c('5b','h%O@')](openRedPack,$[_0x4f7c('5c','S#HZ')][_0x673681][_0xb477a4[_0x4f7c('5d','8j*i')]],_0x28390c);await $[_0x4f7c('5e','@D%(')](0x3e8);}}}})()[_0x4f7c('5f','xnwx')](_0x45d2eb=>{$[_0x4f7c('60','Qb5v')]('','❌\x20'+$['name']+',\x20失败!\x20原因:\x20'+_0x45d2eb+'!','');})[_0x4f7c('61','8qxg')](()=>{$[_0x4f7c('62','3ns)')]();});async function main(){var _0x4483bb={'TzNju':function(_0x36031f){return _0x36031f();},'wzIva':function(_0x173d77){return _0x173d77();}};await _0x4483bb[_0x4f7c('63','4y6m')](joinActive);await _0x4483bb[_0x4f7c('64','c[*@')](getUserInfo);}function joinActive(){var _0x3c7416={'onTrV':function(_0x3ea109,_0x29a6d9){return _0x3ea109===_0x29a6d9;},'UCgbE':'MBhff','RhtyJ':_0x4f7c('65','M#tb'),'FblLE':_0x4f7c('66','I!RK'),'HcfCr':_0x4f7c('67','U55Q'),'mzWwd':_0x4f7c('68','3T[D'),'ISyRJ':function(_0x5c8207){return _0x5c8207();},'JGVYU':function(_0x105bdf,_0x71c8c0,_0x67e2c9,_0x301b23){return _0x105bdf(_0x71c8c0,_0x67e2c9,_0x301b23);},'piLzB':_0x4f7c('69','TvWb')};return new Promise(_0x2f85b1=>{const _0x1c1d5f='';const _0x24a643=_0x3c7416['JGVYU'](taskurl,_0x3c7416[_0x4f7c('6a','agGG')],_0x1c1d5f,'activeId,channel,phoneid,publishFlag,stepreward_jstoken,timestamp');$[_0x4f7c('6b','%]Iy')](_0x24a643,(_0x417606,_0x5b7e8f,_0x5a3783)=>{try{if(_0x417606){console['log']('\x0a'+$[_0x4f7c('6c','U55Q')]+':\x20\x20API查询请求失败\x20‼️‼️');$[_0x4f7c('6d','YTjR')](_0x417606);}else{if(_0x3c7416[_0x4f7c('6e','uEKz')](_0x3c7416[_0x4f7c('6f','I!RK')],_0x3c7416['RhtyJ'])){console[_0x4f7c('70','3ns)')](_0x4f7c('71','K9y6')+_0x5a3783[_0x4f7c('72','V@wm')]['strUserPin']+'\x0a');if(_0x5a3783[_0x4f7c('73','3T[D')][_0x4f7c('74','tQ]6')]){$['packetIdArr'][_0x4f7c('75','IDa2')]({'strUserPin':_0x5a3783[_0x4f7c('76','&vQ0')]['strUserPin'],'userName':$[_0x4f7c('77','TvWb')]});}}else{_0x5a3783=JSON[_0x4f7c('78','uEKz')](_0x5a3783);if(_0x5a3783[_0x4f7c('79','IDa2')]===0x0){if(_0x3c7416['onTrV'](_0x4f7c('7a','V@wm'),_0x3c7416['FblLE'])){console[_0x4f7c('30','uEKz')]('活动开启成功,助力邀请码为:'+_0x5a3783['Data'][_0x4f7c('7b','V@wm')]+'\x0a');}else{$['log']('','❌\x20'+$[_0x4f7c('7c','bbBF')]+_0x4f7c('7d','BZ^b')+e+'!','');}}else{if(_0x3c7416['onTrV'](_0x3c7416[_0x4f7c('7e','agGG')],_0x3c7416[_0x4f7c('7f','avGR')])){if(_0x5a3783)_0x5a3783=JSON[_0x4f7c('80','Mdyp')](_0x5a3783);}else{console[_0x4f7c('48','dcbG')](_0x4f7c('81','I62L')+_0x5a3783[_0x4f7c('82','z&X]')]+'\x0a');}}}}}catch(_0x1a9ca3){$['logErr'](_0x1a9ca3,_0x5b7e8f);}finally{_0x3c7416[_0x4f7c('83','gh2!')](_0x2f85b1);}});});}function getUserInfo(){var _0x25357a={'SzzZW':function(_0x5b5547,_0x3c3500){return _0x5b5547!==_0x3c3500;},'VAdqJ':_0x4f7c('84','h%O@'),'uLifC':'ibgdT','DlAZL':function(_0x5a17ed,_0x46c11f){return _0x5a17ed!==_0x46c11f;},'xoDLh':'csRYW','YggkR':function(_0x3693af,_0x7bd60f){return _0x3693af===_0x7bd60f;},'dfQYk':_0x4f7c('85','Qb5v'),'SasdX':'nraTT','QHWDZ':_0x4f7c('86','V@wm'),'lCFnZ':_0x4f7c('87','agGG'),'NCBmv':function(_0x77e2e2,_0x471b5e){return _0x77e2e2(_0x471b5e);},'DOMXr':_0x4f7c('88','dcbG'),'RsJMH':function(_0xebc4d3,_0x4a0175,_0x9ed1e8,_0x11cd99){return _0xebc4d3(_0x4a0175,_0x9ed1e8,_0x11cd99);},'DGoRp':_0x4f7c('89','8qxg'),'YTxwe':_0x4f7c('8a','!K]j')};return new Promise(_0x55e401=>{const _0x61cd6a=_0x4f7c('8b','NIZr')+$['time'](_0x25357a['DOMXr']);const _0x5e80d5=_0x25357a[_0x4f7c('8c','r&uo')](taskurl,_0x25357a['DGoRp'],_0x61cd6a,_0x25357a['YTxwe']);$['get'](_0x5e80d5,(_0x1727f3,_0x4acdda,_0x23035f)=>{if(_0x25357a[_0x4f7c('8d','bbBF')](_0x25357a[_0x4f7c('8e','M#tb')],_0x25357a[_0x4f7c('8f','xnwx')])){try{if(_0x25357a[_0x4f7c('90','*iJx')](_0x25357a[_0x4f7c('91','h2xW')],_0x4f7c('92','YTjR'))){_0x55e401(_0x23035f);}else{if(_0x1727f3){if(_0x25357a['YggkR'](_0x25357a[_0x4f7c('93','gh2!')],_0x25357a['SasdX'])){_0x23035f=JSON[_0x4f7c('94','cOT&')](_0x23035f);if(_0x23035f[_0x4f7c('95','h%O@')]===0x0){console[_0x4f7c('96','&%be')]('获取助力码成功:'+_0x23035f[_0x4f7c('97','2IGG')][_0x4f7c('98','c[*@')]+'\x0a');if(_0x23035f[_0x4f7c('99','I8sG')][_0x4f7c('9a','bbBF')]){$['packetIdArr']['push']({'strUserPin':_0x23035f[_0x4f7c('9b','TvWb')]['strUserPin'],'userName':$['UserName']});}}else{console[_0x4f7c('9c','3T[D')]('获取助力码失败:'+_0x23035f[_0x4f7c('9d','3T[D')]+'\x0a');}}else{console[_0x4f7c('9e','I8sG')]('\x0a'+$['name']+_0x4f7c('9f','8j*i'));$[_0x4f7c('a0','8qxg')](_0x1727f3);}}else{_0x23035f=JSON['parse'](_0x23035f);if(_0x25357a['YggkR'](_0x23035f[_0x4f7c('a1','h2xW')],0x0)){console[_0x4f7c('a2','WFr]')](_0x4f7c('a3','2aPg')+_0x23035f[_0x4f7c('a4','YTjR')][_0x4f7c('a5','j(*d')]+'\x0a');if(_0x23035f[_0x4f7c('99','I8sG')]['strUserPin']){$[_0x4f7c('a6','*iJx')][_0x4f7c('a7','&%be')]({'strUserPin':_0x23035f[_0x4f7c('a8','s*Z!')][_0x4f7c('a9','M#tb')],'userName':$[_0x4f7c('77','TvWb')]});}}else{if(_0x25357a[_0x4f7c('aa','bbBF')]!==_0x25357a['lCFnZ']){console['log'](_0x4f7c('ab','I62L')+_0x23035f[_0x4f7c('ac','!K]j')]+'\x0a');}else{console['log'](_0x4f7c('ad','gh2!')+_0x23035f['sErrMsg']+'\x0a');}}}}}catch(_0x316aa3){$[_0x4f7c('ae','BZ^b')](_0x316aa3,_0x4acdda);}finally{_0x25357a[_0x4f7c('af','7gQv')](_0x55e401,_0x23035f);}}else{console[_0x4f7c('b0','8j*i')]('\x0a'+$[_0x4f7c('b1','3T[D')]+':\x20\x20API查询请求失败\x20‼️‼️');$['logErr'](_0x1727f3);}});});}function enrollFriend(_0x41f0cf){var _0x5e531a={'FHplu':function(_0x239712,_0x53c327){return _0x239712===_0x53c327;},'DbHMl':_0x4f7c('b2','agGG'),'bvYqc':function(_0x735f27,_0x1bc409){return _0x735f27!==_0x1bc409;},'xNHYr':_0x4f7c('b3','r&uo'),'gQXsL':'ybUxC','DvMJM':function(_0x686221,_0x358bb5){return _0x686221===_0x358bb5;},'klfLJ':'zgquh','bMHtd':function(_0xb83b6f){return _0xb83b6f();},'Dhzgc':_0x4f7c('b4','V@wm'),'YGYCQ':'yyyyMMdd','kPsqM':function(_0x4966ae,_0x593177,_0x293c8f,_0x4183de){return _0x4966ae(_0x593177,_0x293c8f,_0x4183de);},'AsgbV':_0x4f7c('b5','uEKz')};return new Promise(_0x3de866=>{var _0x53bca9={'xgigP':function(_0x1b849e,_0x49d553){return _0x1b849e===_0x49d553;}};if(_0x5e531a[_0x4f7c('b6','NIZr')](_0x5e531a['Dhzgc'],_0x5e531a[_0x4f7c('b7','Qb5v')])){const _0x30dd1e='strPin='+_0x41f0cf+_0x4f7c('b8','I!RK')+$[_0x4f7c('b9','r&uo')](_0x5e531a['YGYCQ']);const _0x5258fc=_0x5e531a[_0x4f7c('ba','uEKz')](taskurl,'EnrollFriend',_0x30dd1e,_0x5e531a[_0x4f7c('bb','3T[D')]);$[_0x4f7c('bc','z&X]')](_0x5258fc,(_0x4e4f02,_0x233771,_0x1195ee)=>{try{if(_0x5e531a[_0x4f7c('bd','I8sG')]('ndxom',_0x5e531a['DbHMl'])){$['logErr'](e,_0x233771);}else{if(_0x4e4f02){if(_0x5e531a[_0x4f7c('be','NIZr')](_0x5e531a[_0x4f7c('bf','M#tb')],_0x5e531a[_0x4f7c('c0','agGG')])){console['log']('\x0a'+$[_0x4f7c('c1','!K]j')]+_0x4f7c('c2','!K]j'));$[_0x4f7c('c3','z&X]')](_0x4e4f02);}else{$[_0x4f7c('c4','M#tb')]['push']({'strUserPin':_0x1195ee[_0x4f7c('9b','TvWb')][_0x4f7c('c5','Qb5v')],'userName':$[_0x4f7c('c6','%]Iy')]});}}else{_0x1195ee=JSON[_0x4f7c('c7','@D%(')](_0x1195ee);if(_0x1195ee['iRet']===0x0){console[_0x4f7c('3d','4y6m')](_0x4f7c('c8','U55Q')+_0x1195ee['sErrMsg']+'\x0a');}else{if(_0x5e531a[_0x4f7c('c9','bbBF')](_0x4f7c('ca','U55Q'),_0x4f7c('cb','I8sG'))){if(_0x5e531a[_0x4f7c('cc','YTjR')](_0x1195ee['iRet'],0x7df))$[_0x4f7c('cd','Mdyp')]=![];if(_0x5e531a['DvMJM'](_0x1195ee['iRet'],0x7e0)){$[_0x4f7c('ce','8qxg')]=![];console[_0x4f7c('cf','%]Iy')]('温馨提示:如提示助力火爆,可尝试寻找京东客服');}if(_0x1195ee[_0x4f7c('d0','*iJx')]===0x7dd)$[_0x4f7c('d1','dcbG')]=!![];console['log'](_0x4f7c('d2','xnwx')+_0x1195ee['sErrMsg']+'\x0a');}else{_0x1195ee=JSON[_0x4f7c('d3',']uX5')](_0x1195ee);if(_0x53bca9[_0x4f7c('d4','tQ]6')](_0x1195ee[_0x4f7c('79','IDa2')],0x0)){console[_0x4f7c('70','3ns)')](_0x4f7c('d5','Qb5v')+_0x1195ee[_0x4f7c('d6','r&uo')][_0x4f7c('c5','Qb5v')]+'\x0a');}else{console[_0x4f7c('d7','oIXC')](_0x4f7c('d8','WFr]')+_0x1195ee[_0x4f7c('d9','oIXC')]+'\x0a');}}}}}}catch(_0x3d85e8){$['logErr'](_0x3d85e8,_0x233771);}finally{if(_0x5e531a[_0x4f7c('da','7gQv')]!==_0x4f7c('db','YTjR')){console[_0x4f7c('dc','agGG')]('\x0a'+$[_0x4f7c('b1','3T[D')]+_0x4f7c('dd','h2xW'));$[_0x4f7c('de','C@Gl')](_0x4e4f02);}else{_0x5e531a['bMHtd'](_0x3de866);}}});}else{console['log']('\x0a'+$['name']+':\x20\x20API查询请求失败\x20‼️‼️');$[_0x4f7c('df','agGG')](err);}});}function openRedPack(_0x41dfd2,_0x4c5783){var _0x4eac23={'kiSIS':function(_0x2c0e73){return _0x2c0e73();},'NREfZ':function(_0x451a60,_0x2a7205){return _0x451a60(_0x2a7205);},'NPois':_0x4f7c('e0','bbBF'),'ASIvU':function(_0xb968b6,_0x25f78b){return _0xb968b6!==_0x25f78b;},'DompT':_0x4f7c('e1','I62L'),'tRClU':_0x4f7c('e2','Qb5v'),'nZSVD':function(_0x2c9e20,_0x17a48c){return _0x2c9e20===_0x17a48c;},'SaYCM':_0x4f7c('e3','3ns)'),'IOsnt':'sNLCr','OcEvp':'ewZQh','DyKJk':_0x4f7c('e4','3ns)'),'iyvmL':function(_0x3d7b12,_0x2dccb5){return _0x3d7b12!==_0x2dccb5;},'IFFCG':'PFbNL','VHqQH':'pUMRP','sGWdI':_0x4f7c('e5','cOT&')};return new Promise(_0x3e8407=>{var _0x38522e={'SpLRX':_0x4eac23[_0x4f7c('e6','*iJx')],'QCnfx':_0x4f7c('11','z&X]')};if(_0x4eac23['iyvmL'](_0x4eac23[_0x4f7c('e7','&vQ0')],_0x4eac23[_0x4f7c('e8','TvWb')])){const _0x6cb973=_0x4f7c('e9','BZ^b')+_0x41dfd2+_0x4f7c('ea','2IGG')+_0x4c5783;const _0x41a4e0=taskurl(_0x4eac23[_0x4f7c('eb','BZ^b')],_0x6cb973,_0x4f7c('ec','C@Gl'));$[_0x4f7c('ed','h2xW')](_0x41a4e0,(_0xd0c3eb,_0x10d94c,_0xeb01ef)=>{var _0x14c09f={'BVXgm':function(_0x3ced57){return _0x4eac23['kiSIS'](_0x3ced57);},'uweBE':function(_0x369740,_0x543d58){return _0x4eac23['NREfZ'](_0x369740,_0x543d58);}};if(_0x4eac23[_0x4f7c('ee','hIl5')]!==_0x4eac23[_0x4f7c('ef','4y6m')]){$[_0x4f7c('a0','8qxg')](e,_0x10d94c);}else{try{if(_0xd0c3eb){if(_0x4eac23['ASIvU'](_0x4eac23[_0x4f7c('f0','z&X]')],_0x4eac23[_0x4f7c('f1','bbBF')])){console[_0x4f7c('f2','I62L')]('\x0a'+$[_0x4f7c('f3','Mdyp')]+':\x20\x20API查询请求失败\x20‼️‼️');$[_0x4f7c('a0','8qxg')](_0xd0c3eb);}else{_0x14c09f['BVXgm'](_0x3e8407);}}else{if(_0x4eac23['nZSVD'](_0x4eac23[_0x4f7c('f4','U55Q')],_0x4eac23[_0x4f7c('f5','gh2!')])){_0xeb01ef=JSON[_0x4f7c('f6','C@Gl')](_0xeb01ef);if(_0x4eac23['nZSVD'](_0xeb01ef[_0x4f7c('f7','U55Q')],0x0)){if(_0x4f7c('f8','2IGG')===_0x4eac23[_0x4f7c('f9','uEKz')]){$[_0x4f7c('fa','3T[D')]($[_0x4f7c('f3','Mdyp')],_0x38522e['SpLRX'],_0x4f7c('fb','hIl5'),{'open-url':_0x38522e['QCnfx']});return;}else{console[_0x4f7c('fc','2IGG')](_0x4f7c('fd','h%O@')+_0xeb01ef['sErrMsg']+'\x0a');}}else{if(_0x4eac23['nZSVD'](_0x4eac23[_0x4f7c('fe','hIl5')],_0x4eac23[_0x4f7c('ff','h%O@')])){if(_0xeb01ef['iRet']===0x7e1)$[_0x4f7c('100','bbBF')]=![];console[_0x4f7c('a2','WFr]')](_0x4f7c('101','&%be')+_0xeb01ef[_0x4f7c('102','agGG')]+'\x0a');}else{_0x14c09f[_0x4f7c('103','I!RK')](_0x3e8407,_0xeb01ef);}}}else{console[_0x4f7c('9e','I8sG')](_0x4f7c('104','xnwx')+_0xeb01ef['sErrMsg']+'\x0a');}}}catch(_0x367477){$[_0x4f7c('105','@D%(')](_0x367477,_0x10d94c);}finally{_0x4eac23['kiSIS'](_0x3e8407);}}});}else{$['done']();}});}function getAuthorShareCode(_0x233ee7='https://cdn.jsdelivr.net/gh/gitupdate/updateTeam@master/shareCodes/jxhb.json'){var _0x31492b={'UdoHl':function(_0x597560){return _0x597560();},'caOkC':function(_0x3dcb28,_0x1dbc5c){return _0x3dcb28===_0x1dbc5c;},'jaoQS':function(_0x25888b,_0x50eae3){return _0x25888b===_0x50eae3;},'mFhfy':function(_0x835b0f,_0x2c7982){return _0x835b0f===_0x2c7982;},'jZAee':function(_0x3bc2d4,_0x1c3dd2){return _0x3bc2d4===_0x1c3dd2;},'zdCqm':_0x4f7c('106','j(*d'),'yayjM':_0x4f7c('107','hIl5'),'hFJTh':function(_0x188daf,_0x457b2c){return _0x188daf(_0x457b2c);},'Qgjsg':function(_0x2f476c,_0x36f4ab){return _0x2f476c!==_0x36f4ab;},'LwBUM':'xMaeY','kBMCK':'Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x2013_2_3\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/605.1.15\x20(KHTML,\x20like\x20Gecko)\x20Version/13.0.3\x20Mobile/15E148\x20Safari/604.1\x20Edg/87.0.4280.88','uHwjp':function(_0x5c7063,_0x1e3153){return _0x5c7063===_0x1e3153;},'WoFkz':_0x4f7c('108','M#tb'),'XImvH':'HCYdc','htabD':_0x4f7c('109','gh2!')};return new Promise(_0x370578=>{if(_0x31492b[_0x4f7c('10a','BZ^b')](_0x31492b[_0x4f7c('10b','NIZr')],_0x4f7c('10c','z&X]'))){_0x31492b['UdoHl'](_0x370578);}else{const _0x4ef9a9={'url':_0x233ee7+'?'+new Date(),'timeout':0x2710,'headers':{'User-Agent':_0x31492b['kBMCK']}};if($['isNode']()&&process['env'][_0x4f7c('10d','C@Gl')]&&process[_0x4f7c('10e','2IGG')][_0x4f7c('10f','%]Iy')]){if(_0x31492b['uHwjp'](_0x31492b['WoFkz'],_0x31492b['XImvH'])){data=JSON[_0x4f7c('94','cOT&')](data);if(_0x31492b[_0x4f7c('110','U55Q')](data[_0x4f7c('111','oIXC')],0x0)){console[_0x4f7c('70','3ns)')](_0x4f7c('112','3ns)')+data[_0x4f7c('113','4y6m')]+'\x0a');}else{if(data[_0x4f7c('114','r&uo')]===0x7df)$['canHelp']=![];if(_0x31492b[_0x4f7c('115','4y6m')](data['iRet'],0x7e0)){$[_0x4f7c('116','agGG')]=![];console[_0x4f7c('b0','8j*i')](_0x4f7c('117','s*Z!'));}if(_0x31492b['mFhfy'](data['iRet'],0x7dd))$[_0x4f7c('118','3T[D')]=!![];console['log'](_0x4f7c('119','2IGG')+data[_0x4f7c('11a','tQ]6')]+'\x0a');}}else{const _0x2457e7=_0x31492b['hFJTh'](require,_0x31492b[_0x4f7c('11b','tQ]6')]);const _0x4184ee={'https':_0x2457e7[_0x4f7c('11c','M#tb')]({'proxy':{'host':process[_0x4f7c('11d','IDa2')][_0x4f7c('11e','hIl5')],'port':process[_0x4f7c('11f','xnwx')]['TG_PROXY_PORT']*0x1}})};Object['assign'](_0x4ef9a9,{'agent':_0x4184ee});}}$[_0x4f7c('120','NIZr')](_0x4ef9a9,async(_0x304108,_0x36aee8,_0x44dadb)=>{var _0x11dd84={'ksiCc':function(_0x5ce92c,_0x3c0fdd){return _0x5ce92c*_0x3c0fdd;},'icOiZ':function(_0x5e37ca,_0x5b7870){return _0x5e37ca===_0x5b7870;},'gfFlc':function(_0x1402e7,_0x1c7d37){return _0x31492b[_0x4f7c('121','I8sG')](_0x1402e7,_0x1c7d37);}};try{if(_0x304108){}else{if(_0x31492b[_0x4f7c('122','2IGG')](_0x4f7c('123','agGG'),_0x31492b[_0x4f7c('124','K9y6')])){if(_0x44dadb)_0x44dadb=JSON[_0x4f7c('125','oIXC')](_0x44dadb);}else{const _0x4d3aef=require(_0x4f7c('126','s*Z!'));const _0x4c0f1c={'https':_0x4d3aef[_0x4f7c('127','dcbG')]({'proxy':{'host':process['env'][_0x4f7c('128','WFr]')],'port':_0x11dd84[_0x4f7c('129','TvWb')](process['env'][_0x4f7c('12a','I8sG')],0x1)}})};Object[_0x4f7c('12b','WFr]')](_0x4ef9a9,{'agent':_0x4c0f1c});}}}catch(_0x210ca1){}finally{if(_0x31492b[_0x4f7c('12c',']uX5')](_0x31492b[_0x4f7c('12d','%]Iy')],_0x4f7c('12e','cOT&'))){_0x31492b[_0x4f7c('12f','NIZr')](_0x370578,_0x44dadb);}else{if(_0x11dd84['icOiZ'](_0x44dadb[_0x4f7c('130','K9y6')],0x7df))$['canHelp']=![];if(_0x11dd84[_0x4f7c('131',']uX5')](_0x44dadb[_0x4f7c('132','tQ]6')],0x7e0)){$[_0x4f7c('133','I!RK')]=![];console['log'](_0x4f7c('134','BZ^b'));}if(_0x44dadb[_0x4f7c('135','dcbG')]===0x7dd)$['max']=!![];console['log'](_0x4f7c('136','NIZr')+_0x44dadb[_0x4f7c('137','7gQv')]+'\x0a');}}});}});}function taskurl(_0x5c376d,_0x5cfc5a='',_0xd225c6){var _0x4804a7={'yKmpn':function(_0x21a66c,_0x3c6e54){return _0x21a66c+_0x3c6e54;},'JWYpJ':function(_0x580a53,_0x281d50){return _0x580a53+_0x281d50;},'nvzGk':function(_0x405c1c,_0xaaf48){return _0x405c1c+_0xaaf48;},'TTTFv':function(_0x5bf78a,_0x1ed703){return _0x5bf78a+_0x1ed703;},'blTeB':function(_0x442956,_0x59bc18){return _0x442956(_0x59bc18);},'pwhbx':'wq.jd.com','hgtgE':'zh-cn','zEIYu':'https://wqactive.jd.com/cube/front/activePublish/step_reward/489177.html?aid=489177'};let _0x3ff6db=BASE_URL+'/'+_0x5c376d+'?activeId=489177&publishFlag=1&channel=7&'+_0x5cfc5a+'&sceneval=2&g_login_type=1×tamp='+Date[_0x4f7c('138','TvWb')]()+_0x4f7c('139',']uX5')+_0x4804a7[_0x4f7c('13a','h2xW')](Date['now'](),0x2)+_0x4f7c('13b','h%O@');const _0x152394=_0x4804a7[_0x4f7c('13c',']uX5')](_0x4804a7[_0x4f7c('13d','C@Gl')](_0x4804a7['nvzGk'](Math[_0x4f7c('13e','tQ]6')]()[_0x4f7c('13f','tQ]6')](0x24)[_0x4f7c('140','YTjR')](0x2,0xa)+Math[_0x4f7c('141','8j*i')]()[_0x4f7c('142','dcbG')](0x24)[_0x4f7c('143','K9y6')](0x2,0xa),Math['random']()[_0x4f7c('144','h2xW')](0x24)[_0x4f7c('145','avGR')](0x2,0xa)),Math[_0x4f7c('141','8j*i')]()['toString'](0x24)[_0x4f7c('146','s*Z!')](0x2,0xa)),Math[_0x4f7c('147','c[*@')]()[_0x4f7c('148','4y6m')](0x24)['slice'](0x2,0xa));_0x3ff6db+=_0x4f7c('149','%]Iy')+_0x152394;_0x3ff6db+='&stepreward_jstoken='+(_0x4804a7[_0x4f7c('14a','agGG')](_0x4804a7[_0x4f7c('14b','BZ^b')](Math[_0x4f7c('14c','7gQv')]()['toString'](0x24)[_0x4f7c('14d','7gQv')](0x2,0xa),Math[_0x4f7c('14e','oIXC')]()['toString'](0x24)[_0x4f7c('14f','xnwx')](0x2,0xa)),Math[_0x4f7c('141','8j*i')]()['toString'](0x24)[_0x4f7c('150','I8sG')](0x2,0xa))+Math[_0x4f7c('151','I!RK')]()['toString'](0x24)['slice'](0x2,0xa));if(_0xd225c6){_0x3ff6db+=_0x4f7c('152','I62L')+_0x4804a7['blTeB'](encodeURIComponent,_0xd225c6);}return{'url':_0x3ff6db,'headers':{'Host':_0x4804a7[_0x4f7c('153','K9y6')],'Cookie':cookie,'accept':'*/*','user-agent':_0x4f7c('154','2IGG')+_0x152394+';network/wifi;model/iPhone13,4;appBuild/100546;ADID/00000000-0000-0000-0000-000000000000;supportApplePay/1;hasUPPay/0;pushNoticeIsOpen/0;hasOCPay/0;supportBestPay/0;session/318;pap/JA2019_3111789;brand/apple;supportJDSHWK/1;Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x2014_5_1\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/605.1.15\x20(KHTML,\x20like\x20Gecko)\x20Mobile/15E148','accept-language':_0x4804a7['hgtgE'],'referer':_0x4804a7['zEIYu']}};};_0xodC='jsjiami.com.v6';
function TotalBean() {
return new Promise(async resolve => {
const options = {
url: "https://me-api.jd.com/user_new/info/GetJDUserInfoUnion",
headers: {
Host: "me-api.jd.com",
Accept: "*/*",
Connection: "keep-alive",
Cookie: cookie,
"User-Agent": $.isNode() ? (process.env.JD_USER_AGENT ? process.env.JD_USER_AGENT : (require('./USER_AGENTS').USER_AGENT)) : ($.getdata('JDUA') ? $.getdata('JDUA') : "jdapp;iPhone;9.4.4;14.3;network/4g;Mozilla/5.0 (iPhone; CPU iPhone OS 14_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148;supportJDSHWK/1"),
"Accept-Language": "zh-cn",
"Referer": "https://home.m.jd.com/myJd/newhome.action?sceneval=2&ufc=&",
"Accept-Encoding": "gzip, deflate, br"
}
}
$.get(options, (err, resp, data) => {
try {
if (err) {
$.logErr(err)
} else {
if (data) {
data = JSON.parse(data);
if (data['retcode'] === "1001") {
$.isLogin = false; //cookie过期
return;
}
if (data['retcode'] === "0" && data.data && data.data.hasOwnProperty("userInfo")) {
$.nickName = data.data.userInfo.baseInfo.nickname;
}
} else {
$.log('京东服务器返回空数据');
}
}
} catch (e) {
$.logErr(e)
} finally {
resolve();
}
})
})
}
function Env(t,e){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)}