加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
jd_z_super5g.js 51.63 KB
一键复制 编辑 原始数据 按行查看 历史
zero205 提交于 2021-04-06 20:19 . update
/*
5G超级盲盒
活动入口:https://isp5g.m.jd.com
活动入口:京东app-手机馆-底部导航栏【手机网厅】-右侧浮标
活动时间:2021-03-18 - 2021-04-30
脚本增加环境变量通知开关,默认开启状态,如需关闭请自行设置。
Z_SUPER5G_NOTIFY //通知变量
后续发布脚本均有加密
因为我介意别人把我脚本里的助力改了。
如果不愿意助力,可以直接下载脚本到本地,通过修改helpAhtor这个参数来关闭助力请求。
请不要修改我的助力。
脚本内置了一个给作者任务助力的网络请求,默认开启,如介意请自行关闭。
助力活动链接: https://h5.m.jd.com/babelDiy/Zeus/4ZK4ZpvoSreRB92RRo8bpJAQNoTq/index.html
参数 helpAuthor = false
更新地址:https://raw.githubusercontent.com/monk-coder/dust/dust/i-chenzhe/z_super5g.js
已支持IOS双京东账号, Node.js支持N个京东账号
脚本兼容: QuantumultX, Surge, Loon, 小火箭,JSBox, Node.js
============Quantumultx===============
[task_local]
#5G超级盲盒
5 1,6,11,16,21 * 3-4 * https://raw.githubusercontent.com/monk-coder/dust/dust/i-chenzhe/z_super5g.js, tag=5G超级盲盒, enabled=true
================Loon==============
[Script]
cron "5 1,6,11,16,21 * 3-4 * " script-path=https://raw.githubusercontent.com/monk-coder/dust/dust/i-chenzhe/z_super5g.js, tag=5G超级盲盒
===============Surge=================
5G超级盲盒 = type=cron,cronexp="5 1,6,11,16,21 * 3-4 * ",wake-system=1,timeout=3600,script-path=https://raw.githubusercontent.com/monk-coder/dust/dust/i-chenzhe/z_super5g.js
============小火箭=========
5G超级盲盒 = type=cron,script-path=https://raw.githubusercontent.com/monk-coder/dust/dust/i-chenzhe/z_super5g.js, cronexpr="5 1,6,11,16,21 * 3-4 * ", timeout=3600, enable=true
*/
const $ = new Env('5G超级盲盒');
const jdCookieNode = $.isNode() ? require('./jdCookie.js') : '';
const notify = $.isNode() ? require('./sendNotify') : '';
let cookiesArr = [], cookie = '', message = '';
let needNotify = $.isNode() ? process.env.Z_SUPER5G_NOTIFY || true : true; //是否需要通知
let helpAuthor = true;//助力作者开关
if ($.isNode()) {
Object.keys(jdCookieNode).forEach((item) => {
cookiesArr.push(jdCookieNode[item])
})
if (process.env.JD_DEBUG && process.env.JD_DEBUG === 'false') console.log = () => { };
} else {
let cookiesData = $.getdata('CookiesJD') || "[]";
cookiesData = JSON.parse(cookiesData);
cookiesArr = cookiesData.map(item => item.cookie);
cookiesArr.reverse();
cookiesArr.push(...[$.getdata('CookieJD2'), $.getdata('CookieJD')]);
cookiesArr.reverse();
cookiesArr = cookiesArr.filter(item => !!item);
}
$.log('脚本版本 v0.2\n更新时间:2021-04-06 18:40\n藏经阁:https://t.me/monk_dust');
var _0xoda='jsjiami.com.v6',_0x3d3b=[_0xoda,'wqgcwrM=','wqrCunXCtsOg','wpV7wr7Cs8KH','HlR8w6rDrA==','Q8KBXsOp','5b6A5bqA772H','w6doNTrDvmVhEhU=','w6JdRHg3','wobDpMO6w68m','W8K+C31i','w74Cw4vCo8OCfwbDu8OGMW4Qfw==','Fy3Dm8KL','w7NKbwzDtA==','cnDDmsKBQw==','B8OqwpTCk08=','aEtVwofDqQ==','b8OoQsK1w7fDtyAHw7E=','wog0wqfCuQsL','QsKffQzDnA==','wq7Dq0fDgT0=','K3PDq10=','w7N5fWM=','RkZbwrzDqg==','eMORasKlw4o=','WsK0VCjDkWzDmsOOOl3Dkns=','wp8zwo7CrgIyHF1O','P3PDqwN4w4vCqcO7','w7HDviPCmMKR','W8OTfcK9w5U=','5Lq65Lmt6L615ZmU5LqM5LmQ5q+e56uw5pSi5o6v','acOvwozCrMKQ','IMKkw5dbMA==','w4LDnDfCvGc=','b2NT','5b635bqq772L','wrwNwrXDg8KhJh3Dr8KR','wqQMwrfDqcK8','PGXDrj50w6bCssOtYw==','wrHDiWXDmH5twr8=','ZRoUw4ZjIx8=','dQtaw63DhA==','eB4Vw5hjIwA=','wrdZMFk=','eMO9RMK9','wp7DiH7DmmM=','w4HDsyJyfw==','SsK0UyI=','woxiw6nDn3M=','S8OtwpPCjg==','w47DjQTCl8OP','Q8OuwqzCjMKm','w69CWAo=','wqjDi8O0w6INw5PDn8KC','WXEobsKKAsKjw7E=','44CB5LqE5Lme6LCSwpI=','GXvCn2TCusK7dQ==','5L+i5Y2y5YC2','wqbDg2TDtQ==','GS7DisKLwq10OGY=','fgbDpQ==','J8KHb27ilJnCk+Wuk+aIm+S6iOWItDfojKHlvYs=','FmBaWA==','WjVkw63DiHLDtw==','fMKiaWQ=','eAvDp8OJaRMgwr4=','QsKAwqY=','DsO1B2Pilo0j5ay75oq75LqC5YqTwpfojqLlvajjg58=','WcKWSMOgw7zCllJw','44OT5LqI5Lq86LOSOw==','V8KVWcOg','5L6e5Yyu5YGZ','DMOrw5jCiQ==','G8K4EcOQ','wrlaIVnChgxowpw=','exV/w5XDsg==','w7dkREcM','DsO1B2Pilo0j5ay75oq75LqC5YqTwpfojqLlvag=','wp/DhGrDgSg=','HnXCgms=','ZgbDtsOJaw==','VsOaL8Oc','UcOUMsOT','QsK6QA==','5b2Q5YuI5L+r5Yyp5YK/w4k=','w5nDgx7Ckg==','VsKWwowYwpc=','I8Kdw5g=','woR2wqzCmQ==','w6N1b2YLwopc','44Ge5LuY5LiT6LGI','f8OeAgJu','AhrCgMO14pSZwoXlpKnmnYTnq5nms6jkuqLmmp/lp43liI/vvILpg4vkuYzmgqzllbTkvqDvvKM=','wq7DjXc=','wrDjgrzku5vku6Dot53lj5Y=','w5PDghPCmcKD','w5gZw4/Co8OpXQTDug==','wps9d2N9w5bCm8OfdeKUosKr5oOf5Ze35Lue5ae7UOiOuOW8tw==','dMOzXcK5w57DvwsTw6fCjcKewoI=','UBvDj8ORfQ==','wqbDiMOlw6I=','w493RQbDqg==','aQzDm33CpQ==','wq1KworDscKHHOKVvcK/6aCl5Y6r5L+m5Y6U5YC35ouk5Ymu','NlFBwqrilJ5w5a+n5oqa5Lqp5YmgAOiNmOW9l+OBhg==','woDDi2jDkDzCmcOow54=','TcKAwqg6wrordg==','5L6P5Y255YKF','wq0cwqbDhA==','5oi/5YiT6aGh5Yy5','IhVCbw==','5L+S5Y+k5YGx','dVAHYsKc','chAVw6s=','F8K4FsO5WsKaEA==','w7BzDzbDvHI=','acOGwqIDw7k=','wr9XIw==','aDzCpRvilqfCoee7mueXm+aIjzQ=','LH3DsVo=','I+WKpeWKr+aKsOWIlw==','w6bDmSlA','SUpew6nDog==','X8O1woPClcKr','wqEwLijilZnDn+ivhuayiuaIsuWLkw==','wpRsw70=','T0nDhw==','Ph3DiMKawog=','w7dzIzY=','VMKwayHDrA==','WsOFwrPClsKZ','BgXDu8KTwrI=','RsKwSzPDnWzDmcOO','LnbDvSN1','K3PDoV4=','PMKGw41nFC7DhlvCvw==','woA0wog=','cHlnwqnDqw==','f8OzVMK5','dMO5XMKsw53DvycE','QGc/ZsKKK8K/w7rChw==','F8KtEcOBTMOMT8OsIcOAK8O/w7fDgHldEg8gwrd+TSnDsMKOwqbChkgafg==','UwfDoxnCgz5Cw6/Djkgxw4tGw7A=','fcOsQMKww7DDsygVw6HClcKDw4hhwpw6ZDAbw4zCh8KEw5EKw5Ylw4fCu8OXCHZjMMOn','JcKWw55+CnLDhm3CrsKFwoLDgcOUWMOpJ8KkwoVgw7rCi8OiDcObwoB9wpPDj1XCq2rCp8KZZ33DhcOrVMKmwpQpWTMBw4LDg0zDqMOQw547wr/CkwphwobDsCA+wq7Cn1VKFMKZTjjCt3jCkMO7P2Ftw7RuEFLDmngWfBJ+W8KRw7zDtwo8L8Kow5puJsO2DArCoMKHHQfDlmI3OMK+wrzCtsKQX8KKQsKzwowUwqBAwq89OMOdwo5FUjIGJsOsbsOYw4EuwodIHR9hw4hQwrAWLsKuFyE2w5JzCAjCtMOZKic+HVwtIzZuw6ofSwEOS3PCtHfDusOiMQ3Cuhhpwr3Cj1xCwofCoXY2bGFBw4DDvnRQw4QRw7TDjsKvQcKnwqjCqkXCtgBKw5bCnnzCkX3CsxHDpznDlMOfcEFqHcKZw4XCtAR9XMKXw5TCmsOOEsK6YGg2DsK1LcOvw4zDlmXDmcKOwpvDrV3CtMKIE8O5AMOhGlPCrEfCucOpw5zDjFTCslrDvDnDnsOXY8Kww6vDqcKUwqlNa8KZFxvCqcOHOTcEwrzDvsKsw7rCgFbDihnCh8O6AFY=','w7cCwofCssOJ','wo3Dk2TDgX7Dt8O5w5bDgW3DuMK0ejoRBi8=','w43DnxHCkMKI','wpp+wpbCucKZ','XRHDp3jCjX1K','wrBrJ3XCiw==','RcOtWsKtw6M=','wqbCskPCscOi','YcKwQ8Oww5A=','HiVQXMO6','QHjDssKfaQ==','RMOnwo7ChMKS','CGo9wrI=','W8KcwqQmwr0wfcKQ','DU7DmDxn','fgUVw7p5akTCpT/CpAHCjsKwP8O6esKEw4USw4VPwo8zw6IXckRLw6XDjcKSw7nCskfDrTHCpXPDksKNw5zCgsKLDcOXEnTCuwUIN8OSw5N6','PsOnG8KYw7caw7FCwpLCsBrDicOQ','Iw8H','wqE0wpXCtQsXExQUwqtHwprDrMKYF8OeWcO1w4hIwrwlBQbDvBoTL2DDnDJYwoDDo1RvPsOSHMO1KMOkwqvCqmLDjsOkwqLDhVLCucOraBXDgcK3UVk1wqwRwrHDo8KnQMK+w4hwwozDvgfCjsKRISQywrscwqoMw7XCmcK9wrjDhsKHHCl+OzYPw7tCPMK8w5rDt8OcD38bdMKswr9HwoJHwooLCMOUT8ONwpDCjMOoOMO1w70YBlTDi8KNPcOzw5fCgzLCj8KGwpwzaxEP','wrRCLUjDhGJ5wpQKw5rCv8O6P8KiSAfCuw==','wqDCvUrCpMOA','wqpWCFTCqQ==','eWtuw6vDhA==','HElIdMOQ','a3o7YcK9','TGzDuMKtSQ==','wqXDh2Q=','dEjDosKyXA==','UG1KwpDDrw==','w5N0TW0L','WuOCseS5tuS7u+i0iOWNhg==','dcOyVMK5w6E=','KB1VZcO8w51sw5Y=','w55QSRnDogcPwq0=','aBbCpRvCk8KhI8OTGOKUgMKY6I6T5b+tAQ==','QF/DgcK7','H8O5wrjCk0A=','wqwqwoDDucKp','w7N1emsqwptU','aWc1RsKV','ccKwUWpiBxg=','asKmaWZqChM=','T8K+DW8=','IH3DtnTDhMOvU8KBV2TDnVYOWA==','CFPCp3/Clg==','HGhNUsO7w6EROA==','wpVkwr3CisK7ZS9e','w6NxfW0MwpFXwqc=','PsOIwrnCjEDDkFok','wp4awqLDvsK7','SsKjScOHw6I=','wpUMwovCmhc=','PMOOwr0=','5b2w5bi577y0','wrHDlmLDvXl5wqLCvkA=','NMOOwrTCgg==','R8KwHkt1DA==','RsO/wqnCgMKMMQ==','w5vDoyzCqw==','NcOtRMK8w6YQwrc=','wpBiwqvCkA==','woV5wq4=','wrZWMg==','wojDrcOOw4cmw5/Dv8Ko','FGBCSsOQ','w6dMSw==','aMKwFmVuG8O4wrJM','bMO9QsKvw7w=','woTCuGs=','w7dzKDjDuWc=','YsOLwoQxw4x9DA==','c3lHw4g=','FCnDm8KOwqJOLA==','BRtZZcObw5lLw7dx','QcKRW8Okw6DCq0I=','w69Zw6fCiuKXm2HltobnuYblraTmiKvmi77mnLnmtLjopL/kuojll5nlkZLkuq7li64=','US55w7PDtT3CtcKPw7rCsMKBDMOhVDAbwqVjKk4TbcKEQCAKbnLDgsKxw7pRSsOdUMOeeEpFwrNVw5vDrQ==','NwjDncKNwrc=','wpdrFGzCvQ==','wq0VwqXDr8Ka','wrxpMXTCiQ==','KwdR','dsKicGA=','44Cq5o6k56ap44C96KyT5YWY6I6Y5YyX5LiI5Liw6LS55Y2f5Lipw74mwosvw4bDjHbnmZ7mjqLkvornl55LFMKKwqrDnVnnmKrkupTku5DnrKfli4nojb/lj5w=','OMOVwq7Cl13Cixhuw7NXB8KEK8Kyw54XwprCp3V/SsOqwpLDjsKyYGnCt0XDicORPlXDplh3wqHCmBcww6UOw4Y=','QsKKwq8zwoA2','RcOrwrYkw7E=','R0hGw4fDvA==','FCvDosKywqQ=','wrHDgXPDvHk=','w65EMjETwpfDlsKa','KxVCbcOa','E3rCkm/CjA==','Y1hDwrfDrA==','wqYKwovDhcKoKBo=','cTtrw6fDsw==','wrEdfWl3w5zCkeW/v+WmnuOApuS4p+S6rui1jeWMhA==','QMK8RCjDl2LDmsOO','CBDCisO/J8KPwoHDssKJw7Y=','bsOUAyFqw5px','bsO2bQ==','fAjDr8ON','44Oo5o+T56ag44KlIsO+c8KiOXbltYjlp4rml7o=','5LqW5Lmo6La15Y+b','Wn0pasKc','w57DrzbCs3rCo0Zc','IeisqOmGtOaWvueZvOW8q+iMvOWMrgIfb8O+wrLCssKhwq5IUTJwO8Oew5I3TVbCkAjCnQ3CviTDlhXDr0XChE4fw4pSwrHCncO0wrMUw4bDu3tCH8OF','R8Kcwo87wpA7','CXHCmG7CusKhbHXDoFg=','wqzDiMO8w6Y=','w5bDvT5yJDDltrHlp6TmlaUSwq7DjA==','5LmF5LuF6LS95Yyq','YE5JwqPDuQ==','wpfDmsO0w7Etw7zDh8KK','RQgTw6xd','bCBEw6fDhw==','w5gsw7vCmsO1','w5DDlyVZw6g=','HOOBoeS7jeS6lui0rOWOpw==','QsKxHWt/','eBgCw6FEMQbDrw==','U0bCj8OKw6MabSvCoeKXuMKG6I205byCw5s=','woXCtnw=','w4tWJTA4','wpJMw4zDvQs=','eh4G','F2fCkQ==','JMO8w40=','5Lyv55m25raE5Yqm5YuT5YuS56Ku5LiH44OW','w45EMjEUwpjDncKQ','w5fDsyJ8BDslwro=','wpZqw7nDny/DsHHCrA==','IMKjw4pCGw==','w6dVQ0oj','J0/Dl3zDqQ==','w6xLSTPDvQ==','ccKwU2phCw==','wrwcwqnDjsKBLgDDoMKOQg==','w6MLw4fCtA==','wr5LIw==','eBAMw68=','wolMw6DDmAM=','woN2wqzCm8Ka','QR7lpIbotrzCr3bljKLlmZjCkhQ=','N8OtWMKc','cMKBw7rDh+KUusKR5beF57qO5ayd5oii5oim5p+j5rWK6KSX5LuL5buq6ZCE5Lmy5Yq3','6YC96KeV5L6W5pil5Lu056SD56aX5rCI','wpg6wpzCty8UH15iw6oew5Q=','w6YQw6nCmMOg','wojDknzDokE=','wohvw7DDkRc=','RMKGQRDDlQ==','CeaLouihhua2keili+S/qeWekOS7nOWLjQ==','NQBEYcOew5BAw5A3M8KsJQ==','GV9Ew7LDjTnDlMOW','5bex57uD5a645oqw5ouI5p645rS06Kal5L+85Zyi5Lq15YuT','w7JzKz/Dv3VbHAN/','w6Yew6PCgcOz','enlCw4TDgw==','GuaLieiivua0m+iltuWViOWSqOS5suWIlQ==','wovCq3TCqsOWTMKXK8KcK8OPDsKy','5bWH57md5a+d5oiJ5oiN5p2c5rSM6KSd5ZWr5ZOz5Lm45YmN','wqwWwq7DhA==','Q8OoIsOWw5w=','5b2G5aa/5oqL5aWY','w58bw63CnMO3','ewTDokTCsQ==','ZRkAw7hvGQXDrD0=','WxDDt3/CjHFdwqQ=','XMOkwobCncKNAcO9dg==','LMK9w5l+Iw==','BQ3DvMKawq4=','WcKiSjTDig==','5LmP5Lqe6K+b5b6s776d5aWp5Lqv5oml6ICL5aaE5pWP55ms77+j','w5LDiRvCjMK/TsKbRQ==','AMOhw43CtcKnwozCiQ==','eTvDjMOCbQ==','cWVHw4s=','csOzRMKOw7DDoyI=','VcOeL8O+w53CucKw','XsKFRjPDnA==','w7xCRR8=','w5lFNi05wrrDksKMIQ==','w6k6w7zCu8Oe','wq4Uwr3CjSA=','TMKnRi3DvU/DnsOYDQ==','VT9jw6TDsm8=','dMKseg==','w7MY5Y+/5rW36KSgYjDDkQ==','woQ0woLCuSAUMElOw7IEw58=','w4xWPjc=','CcO4wp7Cn8KNacK+PDLDrCU=','XQpbw6nDvw==','dsO+wqMsw5s=','w7BbAyAu','AsOhw54=','wqnDtX3DolQ=','MnjDqA==','5b6D5bio77yU','dMOTPSdjw5R2bQo=','TsOjLh19','w5PDqTHCvQ==','XcK9RjHDvEDDmMOPHH7DkmbCiw==','w67Dlzo=','XsKHSg==','ZU9K','NVh1w6HDow==','esOCTMKww5Q=','FnvCkQ==','ZcOnwrXCg8KF','b0lBwrLDpBs=','XMO4wobCm8KN','TsOKesKfw64=','w611YG8xwpc=','woF/ElzCrw==','wpDDrsOHw6ck','R8KwHg==','EzPlj7bmtYDopKxsw7vCvA==','KBVbaw==','wqcMwoTDmMK/','w7VMPUjCjX8tw5cFw5LDow==','w6TDncOow7MGwqDCmsOJw6jCqCE=','b8O0UcKuw7zDkyYFw63CtsKEwpR/','fMOBwpU=','P2Rtw5jDoQ==','w4TDpybCs3jCq1hN','X8K+CmU2','VsOrDcOXw4s=','fcKNwrQHwpA=','Hm5J','wqdZN1PDmQ==','wqTDi37DvWR2woXCrVQ=','fUFewq3CsA==','JMOOwq7ChkLDv0Is','cMOzVw==','wrp1EV/Cuw==','w61+Hwcn','wpXDncOlw5oh','WsKOwrI/w4U=','fU9ZwqfDrSdoPQ==','O8KTw4xlSw==','FGhAUMOGw6gyKFM=','f8OFOT9v','wr8owr/DmsK6','CMOlGg==','aENZwq/DtwxUNA==','cMOGJjo=','BkDDnxNJ','UBrDmVvCjg==','S0pOw6nDq2s=','BzXDn8KP','WcKOwqgg','w7vDlCpMw6o=','w5nDvTY=','dcOvfMKzw77DuSc=','wqdZN1PDmg==','w4TDpybCswY=','w6TDkTNIw4rCiMObw7fDhA==','R3I+ZMOW','w7hzIA==','Z+aJmeihu+WHquaxpuW7gemRh+S5g+WIiQ==','eW1/w4HDvg==','O8Kdw4tvFgfDmlA=','w5bDrzvCsUfCqmVMw4U=','wrPDoWLDszA=','GsOJwrI8wpsuUsKbw70=','R8KVXsOqwqA=','ekhCwrbDiA0=','OMKTw5Z6','wqpHwrzCr8Kh','KXfDoHrDlA==','K8OCw6PCqMKh','a8OIKA==','5Liv5Luo6K+A5b+U776I5aeC5LmX5omQ6IK+5aeS5pSr55q9772r','Q8OjwoA=','wrZow4PDsQs=','wrbDiMOiw6hX','Y8OhBCZk','J8OjRcKSwrM=','w4HDsyJyeQ==','wqMWwqA=','w5PDgA9Rw5E=','QBXDmE3Ckg==','wrsYwrTDgcO7','Yh4Vw6tmHh7Dpw==','KnbDvDsk','XB3DvUXCl3hhwrTDiQ==','TTt+w6jCsg==','W8OSWsKdw5o=','CMOfw7w=','wp3CuGjCtsKR','I8OKwq/Crko=','WcK0Tjc=','PMOyw5nCsjLDmsOvdw==','PMOqw5rCvA==','ZcKsF0xQ','XsKtAH9L','MVLCmUjCnA==','w5vDszx8','XiHlpJ/otJzClMKg5Y+j5Zq9BMOH','wr4BwrXCnQg=','fMOmwoAew7A=','LMKdw5Zg','XcKRSMOl','KsOAwpHChlg=','GsOxwr7CsH0=','aGpvwpbDuQ==','AVFQ','LSNbeMOx','ccKkQcOmw6Q=','NRxXfMOXw79uw5cmFsKzM8OA','FlBMbcO6','VFpFw4zDrQ==','w5TDjRrCmQ==','TMOSXMKGw6A=','Z8OhScKOw7Y=','cmM8Z8Kx','VhvDtA==','TR4Xwrnilpp25ayx5oqo5LmT5YqVwprojrLlvZs=','w5TDpyHCuQ==','UHwkYcKqOcK7','5L+o5Y+X5YCR','CMO2worCpHc=','CsOiw7TCrcKP','dcOxXsKYw7UWwpZMw4s=','wpnDgWzDgzfClMOyw5fDgk3DsMKzaw==','wprCsXrCr8OAasKoPcKW','eMOzeMK5w7XDoA==','JHPDog==','wpzDnx/CncKJRMK8RDI=','I8OJwrvClUvDslglw7R+D8KZcQ==','w4PDrjTCqlHCgURdw40=','VVvDicKh','HcOmw5jClcKrwrzCjcKQw7w=','JcKzw5NFCw==','wqbDm8OBw64C','HlZWw6vDqxXDksOcw40=','5b2s5bq2776j','eUFfwrXDpA==','w5HDpjPCqcKS','wptsw77DkQ==','asOUKA==','5L2y55ut5ra55YiA5Yqu5YuG56GU5Lup44KX','w7o+w7/Co8Oi','wq/Dk3vDnSM=','wr3DkFfDpDs=','f8OhDMOUw6g=','CV9Dw7g=','OcOgU8KYw6k9wqpF','44CN5Lq25Lqc6LKawrU=','Z8OkfsK/','HMK2DMOfccKDDQ==','5LyB5Y+g5YOk','XhXDp00=','UBbDtk3Cil5awqw=','NsOzdMKUw6w=','dcOowqMTw5Q=','W1ZYwpLDpA==','aFBdwqrDqAp8JHTDojPDmsOvKsKjfg==','XcKhVSrDt2TDnsONAA==','w7l9MzDDuA==','wofDiHnDkjo=','UlXDk8Kh','SFROw7HDiw==','NgnDpsKHwpI=','eMO7WcKRw7I=','5b+A5bqR776L','QcOPKcOUw5zCt8K3w7bCoA==','NlFtScOx','wobDhmo=','w5zDqTI=','wqMWwqDDr8K9Mw==','TlXDhw==','UU7DksK8Y8OCw4LCvsOa','w6zDviV+Jg==','Z8KRa8Oow6M=','BMOEwpzCjl8=','wp8xwqTCrwU=','wrLDs0zDiDA=','woDCqlXCssOBTA==','CklYw57Dlg==','jrsjCniYlazURmi.cbomB.rv6hqIR=='];(function(_0x470611,_0x5490f6,_0x26b5b9){var _0x5b9166=function(_0x3a24b4,_0x162f1b,_0x6c6b19,_0x2c0273,_0x20b95a){_0x162f1b=_0x162f1b>>0x8,_0x20b95a='po';var _0x4bea55='shift',_0x4f3b0c='push';if(_0x162f1b<_0x3a24b4){while(--_0x3a24b4){_0x2c0273=_0x470611[_0x4bea55]();if(_0x162f1b===_0x3a24b4){_0x162f1b=_0x2c0273;_0x6c6b19=_0x470611[_0x20b95a+'p']();}else if(_0x162f1b&&_0x6c6b19['replace'](/[rCnYlzURbBrhqIR=]/g,'')===_0x162f1b){_0x470611[_0x4f3b0c](_0x2c0273);}}_0x470611[_0x4f3b0c](_0x470611[_0x4bea55]());}return 0x7e913;};return _0x5b9166(++_0x5490f6,_0x26b5b9)>>_0x5490f6^_0x26b5b9;}(_0x3d3b,0xc9,0xc900));var _0x3cb1=function(_0x9bbe01,_0x2f026a){_0x9bbe01=~~'0x'['concat'](_0x9bbe01);var _0x21a68d=_0x3d3b[_0x9bbe01];if(_0x3cb1['UrspPX']===undefined){(function(){var _0x89ec49=typeof window!=='undefined'?window:typeof process==='object'&&typeof require==='function'&&typeof global==='object'?global:this;var _0x246432='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';_0x89ec49['atob']||(_0x89ec49['atob']=function(_0x5cd53a){var _0x4b710a=String(_0x5cd53a)['replace'](/=+$/,'');for(var _0x2375a7=0x0,_0x4ec2e5,_0x56426f,_0x838966=0x0,_0x5631ce='';_0x56426f=_0x4b710a['charAt'](_0x838966++);~_0x56426f&&(_0x4ec2e5=_0x2375a7%0x4?_0x4ec2e5*0x40+_0x56426f:_0x56426f,_0x2375a7++%0x4)?_0x5631ce+=String['fromCharCode'](0xff&_0x4ec2e5>>(-0x2*_0x2375a7&0x6)):0x0){_0x56426f=_0x246432['indexOf'](_0x56426f);}return _0x5631ce;});}());var _0x25c0d4=function(_0x194270,_0x2f026a){var _0x2024a6=[],_0x14e05d=0x0,_0x4648c2,_0x1936bf='',_0x31bf7a='';_0x194270=atob(_0x194270);for(var _0x2beb36=0x0,_0x43e140=_0x194270['length'];_0x2beb36<_0x43e140;_0x2beb36++){_0x31bf7a+='%'+('00'+_0x194270['charCodeAt'](_0x2beb36)['toString'](0x10))['slice'](-0x2);}_0x194270=decodeURIComponent(_0x31bf7a);for(var _0x161a3c=0x0;_0x161a3c<0x100;_0x161a3c++){_0x2024a6[_0x161a3c]=_0x161a3c;}for(_0x161a3c=0x0;_0x161a3c<0x100;_0x161a3c++){_0x14e05d=(_0x14e05d+_0x2024a6[_0x161a3c]+_0x2f026a['charCodeAt'](_0x161a3c%_0x2f026a['length']))%0x100;_0x4648c2=_0x2024a6[_0x161a3c];_0x2024a6[_0x161a3c]=_0x2024a6[_0x14e05d];_0x2024a6[_0x14e05d]=_0x4648c2;}_0x161a3c=0x0;_0x14e05d=0x0;for(var _0x1a9b6c=0x0;_0x1a9b6c<_0x194270['length'];_0x1a9b6c++){_0x161a3c=(_0x161a3c+0x1)%0x100;_0x14e05d=(_0x14e05d+_0x2024a6[_0x161a3c])%0x100;_0x4648c2=_0x2024a6[_0x161a3c];_0x2024a6[_0x161a3c]=_0x2024a6[_0x14e05d];_0x2024a6[_0x14e05d]=_0x4648c2;_0x1936bf+=String['fromCharCode'](_0x194270['charCodeAt'](_0x1a9b6c)^_0x2024a6[(_0x2024a6[_0x161a3c]+_0x2024a6[_0x14e05d])%0x100]);}return _0x1936bf;};_0x3cb1['EXwZXJ']=_0x25c0d4;_0x3cb1['Nzwmst']={};_0x3cb1['UrspPX']=!![];}var _0x4b9c2f=_0x3cb1['Nzwmst'][_0x9bbe01];if(_0x4b9c2f===undefined){if(_0x3cb1['UhlNvd']===undefined){_0x3cb1['UhlNvd']=!![];}_0x21a68d=_0x3cb1['EXwZXJ'](_0x21a68d,_0x2f026a);_0x3cb1['Nzwmst'][_0x9bbe01]=_0x21a68d;}else{_0x21a68d=_0x4b9c2f;}return _0x21a68d;};if($[_0x3cb1('0','3ltc')]()){Object[_0x3cb1('1','sGVJ')](jdCookieNode)[_0x3cb1('2',')71s')](_0x19da2e=>{cookiesArr[_0x3cb1('3','O4@G')](jdCookieNode[_0x19da2e]);});if(process[_0x3cb1('4','O4@G')]['JD_DEBUG']&&process[_0x3cb1('5','uQd#')][_0x3cb1('6','e7I]')]===_0x3cb1('7','7nKo'))console[_0x3cb1('8','9lSk')]=()=>{};}else{let cookiesData=$['getdata'](_0x3cb1('9','biff'))||'[]';cookiesData=JSON[_0x3cb1('a','^SmS')](cookiesData);cookiesArr=cookiesData[_0x3cb1('b','[TYY')](_0x2c8b4a=>_0x2c8b4a[_0x3cb1('c','Mrkf')]);cookiesArr[_0x3cb1('d','0XUs')]();cookiesArr[_0x3cb1('e','7fs7')](...[$[_0x3cb1('f','cTim')](_0x3cb1('10','tOSh')),$['getdata']('CookieJD')]);cookiesArr[_0x3cb1('11','r[**')]();cookiesArr=cookiesArr['filter'](_0x1ef744=>!!_0x1ef744);}$['log']('脚本版本\x20v0.1\x0a更新时间:2021-03-19\x2004:40\x0a仓库:https://www.github.com/i-chenzhe/qx');!(async()=>{var _0xd7fdf2={'KpYzM':_0x3cb1('12','PTXG'),'jOVIJ':function(_0x482b17,_0x57825f){return _0x482b17===_0x57825f;},'TSkNQ':'京东返回了空数据','pIlZM':_0x3cb1('13','^lzu'),'UEDpO':_0x3cb1('14','cTim'),'scchn':_0x3cb1('15','uQd#'),'quatQ':function(_0x6b7a51,_0x2f9c58){return _0x6b7a51(_0x2f9c58);},'jxnqm':function(_0x4562a9,_0x50643c){return _0x4562a9+_0x50643c;},'Hafdu':function(_0x47feb8){return _0x47feb8();},'SyrfW':function(_0x4254c6){return _0x4254c6();},'UzIdA':function(_0x4c92f5,_0x4adf1b){return _0x4c92f5!==_0x4adf1b;},'UFQKR':'eFAPY','RoxxQ':_0x3cb1('16','PTXG'),'OwBKt':function(_0x489019,_0x27fc5e){return _0x489019!==_0x27fc5e;},'jcVGN':_0x3cb1('17','uQd#'),'fEMBf':function(_0x9dd64f,_0xb9a0d4){return _0x9dd64f!==_0xb9a0d4;},'ZSuKQ':function(_0x2114a7,_0x5a46e6){return _0x2114a7===_0x5a46e6;},'gheXQ':'VvBtX','qOzlB':'遇见你是一种福气'};if(!cookiesArr[0x0]){$[_0x3cb1('18','tOSh')]($[_0x3cb1('19','Djl$')],_0x3cb1('1a','6ETc'),_0x3cb1('1b','rAVr'),{'open-url':_0xd7fdf2['pIlZM']});return;}await getShareCodeList();for(let _0x7b3925=0x0;_0x7b3925<cookiesArr[_0x3cb1('1c',')tcf')];_0x7b3925++){if(_0xd7fdf2[_0x3cb1('1d','0XUs')]===_0x3cb1('1e','7fs7')){if(cookiesArr[_0x7b3925]){if(_0x3cb1('1f','cTim')!==_0xd7fdf2[_0x3cb1('20','LPBe')]){cookie=cookiesArr[_0x7b3925];$[_0x3cb1('21','ne$U')]=_0xd7fdf2['quatQ'](decodeURIComponent,cookie[_0x3cb1('22','tOSh')](/pt_pin=(.+?);/)&&cookie['match'](/pt_pin=(.+?);/)[0x1]);$[_0x3cb1('23','@fFo')]=_0xd7fdf2[_0x3cb1('24','qcjt')](_0x7b3925,0x1);$[_0x3cb1('25','PTXG')]=!![];$['nickName']='';await _0xd7fdf2[_0x3cb1('26','^lzu')](checkCookie);console['log'](_0x3cb1('27','ne$U')+$['index']+''+($[_0x3cb1('28','k$X&')]||$['UserName'])+_0x3cb1('29','hQgi'));if(!$[_0x3cb1('2a','^SR#')]){$[_0x3cb1('2b','lKKC')]($[_0x3cb1('2c','@TZL')],_0x3cb1('2d','VMsy'),_0x3cb1('2e','6ETc')+$[_0x3cb1('2f','vO43')]+'\x20'+($[_0x3cb1('30','sGVJ')]||$['UserName'])+_0x3cb1('31','biff'),{'open-url':_0xd7fdf2['pIlZM']});if($[_0x3cb1('32',')tcf')]()){await notify[_0x3cb1('33','@fFo')]($[_0x3cb1('34','e7I]')]+_0x3cb1('35','Yvb3')+$['UserName'],_0x3cb1('36','[TYY')+$[_0x3cb1('37','qcjt')]+'\x20'+$[_0x3cb1('38','e7I]')]+'\x0a请重新登录获取cookie');}continue;}await _0xd7fdf2[_0x3cb1('39','01pY')](super5G);if($['bean']>0x0){if(_0xd7fdf2[_0x3cb1('3a','^lzu')](_0xd7fdf2[_0x3cb1('3b','ri]v')],_0xd7fdf2[_0x3cb1('3c','iZ4J')])){message+=_0x3cb1('3d','01pY')+$[_0x3cb1('3e','biff')]+''+($[_0x3cb1('3f','01pY')]||$['UserName'])+_0x3cb1('40','cTim')+$['bean']+'\x20京豆。';}else{$[_0x3cb1('41','[TYY')](_0xd7fdf2['KpYzM']);}}}else{data=JSON[_0x3cb1('42','ne$U')](data);if(_0xd7fdf2[_0x3cb1('43','VMsy')](data['code'],0xc8)){$[_0x3cb1('44','01pY')]('\x0a'+data[_0x3cb1('45','@fFo')]);$[_0x3cb1('46','23nz')](_0x3cb1('47','NO5r')+shareCode+'');}}}}else{$['nickName']=data['data'][_0x3cb1('48','ne$U')][_0x3cb1('49','Yvb3')][_0x3cb1('4a','VMsy')];}}if(needNotify){if(_0xd7fdf2['OwBKt'](_0x3cb1('4b','NO5r'),_0xd7fdf2['jcVGN'])){$['log'](_0xd7fdf2['TSkNQ']);}else{if(_0xd7fdf2[_0x3cb1('4c','YXTc')](message,'')){if(_0xd7fdf2['ZSuKQ'](_0x3cb1('4d','s[]@'),_0xd7fdf2[_0x3cb1('4e','9lSk')])){$['helpDone']=!![];}else{if($[_0x3cb1('4f','Djl$')]()){await notify[_0x3cb1('50','PTXG')]($[_0x3cb1('51','ri]v')],message);}else{$[_0x3cb1('52','uQd#')]($[_0x3cb1('53','01pY')],_0xd7fdf2[_0x3cb1('54','VMsy')],message);}}}}}})()[_0x3cb1('55','O4@G')](_0x1b0604=>{$['log']('','\x20'+$['name']+_0x3cb1('56','Pp3b')+_0x1b0604+'!','');})['finally'](()=>{$[_0x3cb1('57',')71s')]();});async function super5G(){var _0xa750c8={'IDaSp':function(_0x59b066,_0x31b898){return _0x59b066===_0x31b898;},'kWmvC':_0x3cb1('58','rAVr'),'Extsz':_0x3cb1('59','@fFo'),'kJDUi':function(_0x45855c,_0x5c7d87){return _0x45855c===_0x5c7d87;},'kRNjj':function(_0x341d3d,_0x49c41c){return _0x341d3d(_0x49c41c);},'pPapE':function(_0x57dadf,_0x2f162f){return _0x57dadf(_0x2f162f);},'dPVjy':function(_0x1bc58f,_0x4560b1){return _0x1bc58f!==_0x4560b1;},'JkRlm':'\x0a获取任务列表成功','BgVSj':function(_0x416ee5,_0x2477e3){return _0x416ee5>_0x2477e3;},'lCpfT':function(_0x4972ce,_0x45f7d8,_0x3d5255){return _0x4972ce(_0x45f7d8,_0x3d5255);},'vnXqI':_0x3cb1('5a','dgs6'),'fPQxe':_0x3cb1('5b','ri]v'),'KlTcs':'XTqTs','XfBxm':_0x3cb1('5c','LPBe'),'MOpAm':function(_0x275f15,_0x304469){return _0x275f15>_0x304469;},'dTdZe':function(_0x37ec7a,_0x582b91){return _0x37ec7a===_0x582b91;},'RGVdG':_0x3cb1('5d','VMsy'),'huCrp':'homeGoBrowse','RZZAo':function(_0x5f0768,_0x2b5ac0){return _0x5f0768(_0x2b5ac0);},'SbuSd':_0x3cb1('5e','k$X&'),'zjIsV':function(_0x56ad90,_0xea3ea0){return _0x56ad90!==_0xea3ea0;},'iMUgS':_0x3cb1('5f','lKKC'),'VIHDz':function(_0x2b191d,_0x3746b6){return _0x2b191d<_0x3746b6;},'WttYB':function(_0x1c0b2f,_0x47c382){return _0x1c0b2f-_0x47c382;},'pQxpu':_0x3cb1('60','tOSh'),'XWPCY':function(_0x12da36,_0x22a313,_0x3560d5){return _0x12da36(_0x22a313,_0x3560d5);},'jnJwj':_0x3cb1('61','Pp3b'),'ylwmS':'uSsET','ZXKoA':_0x3cb1('62','7fs7'),'zaKav':function(_0x22d448,_0x40fb47){return _0x22d448<_0x40fb47;},'YHoBb':_0x3cb1('63','Mrkf'),'JPdWS':function(_0x4c4b7b,_0x1764a2){return _0x4c4b7b===_0x1764a2;},'akeAg':_0x3cb1('64','ri]v'),'ELZOo':_0x3cb1('65','7fs7'),'NkYEJ':'已经完成所有关注店铺任务','dFKhi':function(_0x435b67,_0x2a5d02){return _0x435b67!==_0x2a5d02;},'QxRph':_0x3cb1('66','0XUs'),'FmjTj':_0x3cb1('67','[TYY'),'NsnBW':_0x3cb1('68','Yvb3'),'uryqL':_0x3cb1('69','PTXG'),'KFoBh':function(_0x366c84,_0x2f5cd8){return _0x366c84>_0x2f5cd8;},'nEAfF':function(_0x48620d,_0x25ddf6){return _0x48620d!==_0x25ddf6;},'cjwZb':_0x3cb1('6a','$sIZ'),'lHrJN':function(_0x77aaa0,_0x226b6b){return _0x77aaa0/_0x226b6b;},'aJBPx':'JIaqN','BPlgv':_0x3cb1('6b','tOSh'),'dQbTO':function(_0x4b349c,_0x33e287){return _0x4b349c!==_0x33e287;},'WVqle':_0x3cb1('6c','ri]v'),'OWVXc':function(_0x432c37,_0x4d16d3){return _0x432c37===_0x4d16d3;},'ddCPu':_0x3cb1('6d','6ETc'),'dlMJA':_0x3cb1('6e','01pY'),'xJsEx':function(_0x1924a5,_0x291b96,_0xf05526){return _0x1924a5(_0x291b96,_0xf05526);},'Ektht':_0x3cb1('6f','6ETc'),'kAfxj':_0x3cb1('70','3ltc'),'drPma':_0x3cb1('71','NO5r'),'wTUrE':function(_0x4e8feb,_0x249b38){return _0x4e8feb!==_0x249b38;},'Ezvlq':_0x3cb1('72','cTim'),'WyZUi':_0x3cb1('73','k$X&'),'MZWiZ':_0x3cb1('74',')71s')};$['bean']=0x0;$[_0x3cb1('75','%Cb]')]=![];$[_0x3cb1('76','Os8i')]=0x0;await _0xa750c8[_0x3cb1('77','@TZL')](doTask,_0x3cb1('78','7fs7'));if($[_0x3cb1('79','^SmS')]){await doTask(_0x3cb1('7a','$sIZ'));await _0xa750c8[_0x3cb1('7b','k$X&')](doTask,'conf');await $[_0x3cb1('7c','9lSk')](0x3e8);if($[_0x3cb1('7d','ne$U')]){if(_0xa750c8[_0x3cb1('7e','ri]v')](_0x3cb1('7f','dgs6'),'aceFO')){$['log'](_0xa750c8['JkRlm']);taskList=$[_0x3cb1('80','k$X&')]['filter'](_0x297006=>_0x297006['state']===0x0);if(_0xa750c8['BgVSj'](taskList[_0x3cb1('81','^lzu')],0x0)){for(const _0xae9ee6 of taskList){$[_0x3cb1('82','Djl$')](_0x3cb1('83','uQd#')+_0xae9ee6[_0x3cb1('2c','@TZL')]);await _0xa750c8['lCpfT'](doTask,_0x3cb1('84','dgs6'),'&type=1&id='+_0xae9ee6['id']);await $[_0x3cb1('85','ne$U')](0x1f4);await _0xa750c8['lCpfT'](doTask,_0xa750c8['vnXqI'],_0x3cb1('86','3ltc')+_0xae9ee6['id']);}}else{if(_0xa750c8[_0x3cb1('87','^lzu')](_0xa750c8[_0x3cb1('88','0XUs')],_0xa750c8[_0x3cb1('89','ne$U')])){$[_0x3cb1('8a','Os8i')](_0xa750c8[_0x3cb1('8b','LPBe')]);}else{if(err){$[_0x3cb1('8c','jjuL')](_0x3cb1('8d','YXTc')+JSON[_0x3cb1('8e','^SR#')](err));}else{data=JSON['parse'](data);if(_0xa750c8[_0x3cb1('8f','^SR#')](data[_0x3cb1('90','sGVJ')],0xc8)){$[_0x3cb1('91','k$X&')]=data['data'];}}}}}else{$[_0x3cb1('92','iZ4J')]('\x0a'+data[_0x3cb1('93','r[**')]);$[_0x3cb1('94','qcjt')](_0x3cb1('47','NO5r')+shareCode+'');}}if($['skuList']){if(_0xa750c8['kJDUi'](_0xa750c8[_0x3cb1('95','Pp3b')],_0x3cb1('96','lKKC'))){$['logErr'](e);}else{$[_0x3cb1('97','@fFo')](_0xa750c8[_0x3cb1('98','3ltc')]);taskList=$['skuList'][_0x3cb1('99','qcjt')](_0xda1d81=>_0xda1d81[_0x3cb1('9a','3ltc')]===0x0);if(_0xa750c8[_0x3cb1('9b','lKKC')](taskList[_0x3cb1('9c','YXTc')],0x0)){for(const _0x180648 of taskList){if(_0xa750c8['dTdZe'](_0xa750c8[_0x3cb1('9d','uQd#')],_0xa750c8[_0x3cb1('9e','e7I]')])){$[_0x3cb1('9f','biff')](_0x3cb1('a0','vO43')+_0x180648[_0x3cb1('a1','tOSh')]);await doTask(_0xa750c8[_0x3cb1('a2','PTXG')],_0x3cb1('a3','uQd#')+_0x180648['id']);await $['wait'](0x1f4);await _0xa750c8['lCpfT'](doTask,'taskHomeCoin',_0x3cb1('a4','e7I]')+_0x180648['id']);}else{$[_0x3cb1('a5','^SmS')]=data['data'];}}}else{$[_0x3cb1('a6','0XUs')]('\x20\x20\x20\x20└\x20已经完成所有浏览主商品任务');}}}await _0xa750c8[_0x3cb1('a7','Pp3b')](doTask,_0x3cb1('a8','sGVJ'));if($[_0x3cb1('a9','biff')]){if(_0xa750c8[_0x3cb1('aa','$sIZ')](_0xa750c8[_0x3cb1('ab',')tcf')],_0xa750c8['SbuSd'])){$[_0x3cb1('ac','7nKo')](data['msg']);}else{if(_0xa750c8['zjIsV']($[_0x3cb1('ad','uQd#')][_0x3cb1('ae','LPBe')],$[_0x3cb1('af','qcjt')][_0x3cb1('b0','rAVr')])){$[_0x3cb1('b1','^SmS')](_0xa750c8[_0x3cb1('b2','uQd#')]);for(let _0x409618=0x0;_0xa750c8[_0x3cb1('b3','ne$U')](_0x409618,_0xa750c8[_0x3cb1('b4','e7I]')]($[_0x3cb1('b5',')tcf')][_0x3cb1('b6','qcjt')],$[_0x3cb1('b7','NO5r')][_0x3cb1('b8','7nKo')]));_0x409618++){if('nzqbq'===_0x3cb1('b9','^SR#')){resolve();}else{await _0xa750c8['lCpfT'](doTask,_0xa750c8[_0x3cb1('ba','PTXG')],_0x3cb1('bb','k$X&')+$['task1'][_0x3cb1('bc','qcjt')]);await $[_0x3cb1('bd','^SR#')](0x2710);await _0xa750c8[_0x3cb1('be','jjuL')](doTask,_0xa750c8[_0x3cb1('bf','6ETc')],_0x3cb1('c0','Pp3b')+$['task1'][_0x3cb1('c1','cTim')]);await $[_0x3cb1('c2',')tcf')](0x3e8);}}}else{if(_0xa750c8['dTdZe'](_0xa750c8['ylwmS'],_0xa750c8[_0x3cb1('c3','iZ4J')])){$[_0x3cb1('c4','Yvb3')](_0xa750c8['ZXKoA']);}else{$[_0x3cb1('c5','^SmS')]=![];return;}}}}if($[_0x3cb1('c6','uQd#')]){if(_0xa750c8['zjIsV']($[_0x3cb1('c7','sGVJ')][_0x3cb1('c8','iZ4J')],$[_0x3cb1('c9','vO43')]['totalNum'])){$[_0x3cb1('ca','Mrkf')](_0x3cb1('cb','Pp3b'));for(let _0x277d43=0x0;_0xa750c8[_0x3cb1('cc','7fs7')](_0x277d43,$['task2'][_0x3cb1('cd','NO5r')]-$['task2'][_0x3cb1('ce','sGVJ')]);_0x277d43++){await doTask(_0xa750c8[_0x3cb1('cf','wP0B')],_0x3cb1('d0',')tcf')+$[_0x3cb1('d1','r[**')][_0x3cb1('d2','qcjt')]);await $[_0x3cb1('d3','NO5r')](0x3e8);}}else{if(_0xa750c8[_0x3cb1('d4','O4@G')](_0xa750c8[_0x3cb1('d5','s[]@')],_0xa750c8[_0x3cb1('d6','Os8i')])){$[_0x3cb1('d7','^SR#')](_0x3cb1('d8','r[**'));}else{$[_0x3cb1('d9','3ltc')](_0xa750c8[_0x3cb1('da','VMsy')]);}}}if($[_0x3cb1('db','e7I]')]){if(_0xa750c8[_0x3cb1('dc','^SR#')]($[_0x3cb1('dd',')71s')]['finishNum'],$[_0x3cb1('de','Yvb3')]['totalNum'])){$[_0x3cb1('df','PTXG')](_0xa750c8[_0x3cb1('e0','iZ4J')]);for(let _0x1b0e2c=0x0;_0xa750c8[_0x3cb1('e1','6ETc')](_0x1b0e2c,$[_0x3cb1('e2','PTXG')][_0x3cb1('e3','01pY')]-$[_0x3cb1('e4','jjuL')][_0x3cb1('e5','6ETc')]);_0x1b0e2c++){if($[_0x3cb1('e6','^lzu')]['state']!==0x2){await _0xa750c8[_0x3cb1('e7','lKKC')](doTask,_0xa750c8['FmjTj'],_0x3cb1('e8',')tcf')+$[_0x3cb1('e9','[TYY')][_0x3cb1('ea','rAVr')]);await $[_0x3cb1('eb','k$X&')](0x1f40);await doTask(_0x3cb1('ec','23nz'),'&type='+$[_0x3cb1('db','e7I]')][_0x3cb1('ed','23nz')]);}}}else{$['log'](_0xa750c8[_0x3cb1('ee','biff')]);}}await _0xa750c8['RZZAo'](doTask,_0xa750c8[_0x3cb1('ef','biff')]);await $['wait'](0x7d0);if(_0xa750c8[_0x3cb1('f0','@fFo')]($['coin'],$['need'])){if(_0xa750c8['nEAfF']('qSykn',_0xa750c8['cjwZb'])){$[_0x3cb1('41','[TYY')]('','\x20'+$[_0x3cb1('f1','Yvb3')]+_0x3cb1('f2','7nKo')+e+'!','');}else{times=_0xa750c8[_0x3cb1('f3','dgs6')](parseInt,_0xa750c8[_0x3cb1('f4','0XUs')]($[_0x3cb1('f5','NO5r')],$[_0x3cb1('f6','r[**')]));for(let _0x51c6c1=0x0;_0xa750c8[_0x3cb1('f7','rAVr')](_0x51c6c1,times);_0x51c6c1++){if(_0xa750c8[_0x3cb1('f8','rAVr')](_0xa750c8[_0x3cb1('f9','qcjt')],'xUJsV')){$[_0x3cb1('fa','Pp3b')](_0xa750c8[_0x3cb1('fb','tOSh')]);}else{$[_0x3cb1('41','[TYY')](_0xa750c8[_0x3cb1('fc','r[**')]);await doTask('','',0x1);await $['wait'](0x7d0);}}}}if($['shareCodeList']){for(let _0x47d8ad=0x0;_0x47d8ad<$[_0x3cb1('fd','tOSh')]['length'];_0x47d8ad++){if(_0xa750c8[_0x3cb1('fe','7nKo')](_0xa750c8[_0x3cb1('ff','7fs7')],_0xa750c8['WVqle'])){$['msg']($[_0x3cb1('100','%Cb]')],_0xa750c8['Extsz'],message);}else{if($['helpDone']){if(_0xa750c8[_0x3cb1('101','lKKC')](_0xa750c8[_0x3cb1('102','lKKC')],_0x3cb1('103','vO43'))){break;}else{$[_0x3cb1('104','6ETc')](_0x3cb1('105','Pp3b')+data[_0x3cb1('106','sGVJ')][_0x3cb1('107','vO43')]+_0x3cb1('108','qcjt'));}}$['doHelp']=![];await _0xa750c8[_0x3cb1('109','rAVr')](doTask,_0xa750c8[_0x3cb1('10a','Os8i')],_0x3cb1('10b',')71s')+$[_0x3cb1('10c','wP0B')][_0x47d8ad][_0x3cb1('10d','[TYY')]);if($[_0x3cb1('10e','^SmS')]){$[_0x3cb1('10f','s[]@')]('\x0a开始助力');await _0xa750c8['xJsEx'](doTask,_0xa750c8['Ektht'],_0x3cb1('110','%Cb]')+$[_0x3cb1('111','rAVr')][_0x47d8ad][_0x3cb1('112','sGVJ')]);}}}}await doTask(_0xa750c8['kAfxj']);$[_0x3cb1('113','hQgi')](0x3e8);if($[_0x3cb1('114','Os8i')]){if(_0x3cb1('115','NO5r')!==_0xa750c8[_0x3cb1('116','e7I]')]){await _0xa750c8['RZZAo'](submitShareCode,$[_0x3cb1('117','Pp3b')]);}else{if(err){$['log'](_0x3cb1('118','Os8i')+JSON['stringify'](err));}else{data=JSON[_0x3cb1('119','qcjt')](data);if(_0xa750c8[_0x3cb1('11a','%Cb]')](data[_0x3cb1('11b','VMsy')],0xc8)){$[_0x3cb1('8a','Os8i')]('\x0a'+data[_0x3cb1('11c','^SR#')]);$[_0x3cb1('46','23nz')](_0x3cb1('11d','@TZL')+shareCode+'');}}}}}else{if(_0xa750c8[_0x3cb1('11e','ri]v')](_0xa750c8[_0x3cb1('11f','wP0B')],_0xa750c8[_0x3cb1('120','wP0B')])){$['log'](_0xa750c8[_0x3cb1('121','$sIZ')]);}else{$['log']('\x20\x20\x20\x20└\x20完成任务,获得【'+data[_0x3cb1('122','Pp3b')][_0x3cb1('123',')71s')]+_0x3cb1('124','^SmS')+data[_0x3cb1('125','lKKC')][_0x3cb1('126','79Nf')]+_0x3cb1('127','O4@G'));$['bean']+=data[_0x3cb1('128','6ETc')][_0x3cb1('129','6ETc')];}}}function submitShareCode(_0x94eef4){var _0x16df8d={'KXzQC':function(_0x272502,_0x206eb8){return _0x272502!==_0x206eb8;},'EEImQ':_0x3cb1('12a',')71s'),'dgiMk':_0x3cb1('12b','0XUs'),'DPCpD':function(_0x2d0b54,_0x32e740){return _0x2d0b54===_0x32e740;},'Yltgk':function(_0x2dd46a,_0x1dab07){return _0x2dd46a!==_0x1dab07;},'TeFiq':_0x3cb1('12c','qcjt'),'aanBL':function(_0x175527){return _0x175527();},'SsZqL':'https://api.r2ray.com/jd.super5g/update'};let _0x29fe8a={'url':_0x16df8d['SsZqL'],'headers':{'Content-Type':_0x3cb1('12d','qcjt')},'body':JSON[_0x3cb1('12e','k$X&')]({'shareCode':_0x94eef4,'ptPin':cookie[_0x3cb1('12f','Mrkf')](/pt_pin=(.+?);/)&&cookie[_0x3cb1('130','wP0B')](/pt_pin=(.+?);/)[0x1]})};return new Promise(_0x44a9bb=>{$[_0x3cb1('131','hQgi')](_0x29fe8a,(_0x41f5e8,_0x2d9228,_0x2b91c0)=>{try{if(_0x16df8d[_0x3cb1('132','7fs7')](_0x16df8d[_0x3cb1('133','cTim')],_0x16df8d[_0x3cb1('134','^SmS')])){if(_0x41f5e8){$[_0x3cb1('82','Djl$')](_0x3cb1('135','e7I]')+JSON[_0x3cb1('136','$sIZ')](_0x41f5e8));}else{_0x2b91c0=JSON['parse'](_0x2b91c0);if(_0x16df8d[_0x3cb1('137','7nKo')](_0x2b91c0[_0x3cb1('90','sGVJ')],0xc8)){$[_0x3cb1('138','wP0B')]('\x0a'+_0x2b91c0[_0x3cb1('11c','^SR#')]);$[_0x3cb1('139','sGVJ')]('你的活动助力码为【'+_0x94eef4+'');}}}else{$[_0x3cb1('13a','PTXG')](_0x41f5e8);}}catch(_0x2e8751){$[_0x3cb1('13b','hQgi')]('异常:'+JSON[_0x3cb1('13c','hQgi')](_0x2e8751));}finally{if(_0x16df8d[_0x3cb1('13d','Yvb3')](_0x16df8d[_0x3cb1('13e','r[**')],_0x16df8d[_0x3cb1('13f','rAVr')])){$['log']('\x20\x20\x20\x20\x20\x20└\x20领取信号值成功');}else{_0x16df8d['aanBL'](_0x44a9bb);}}});});}function getShareCodeList(){var _0x3918ce={'CcnkE':function(_0x9cbc43,_0x2a3629){return _0x9cbc43!==_0x2a3629;},'ulfKu':_0x3cb1('140','dgs6'),'cMJpr':function(_0xd16fb7,_0xcb544){return _0xd16fb7===_0xcb544;},'DMklE':'gVcsH','PJzTN':function(_0x549471,_0x315844){return _0x549471!==_0x315844;},'akxAh':_0x3cb1('141','wP0B'),'lJZOE':function(_0x21941f){return _0x21941f();},'gwoGX':function(_0x7e6d73){return _0x7e6d73();}};num=$[_0x3cb1('142','[TYY')]()?0x14:0x5;return new Promise(_0x5c86ab=>{var _0x268821={'xiCgX':function(_0x3deb46){return _0x3918ce[_0x3cb1('143','Pp3b')](_0x3deb46);}};$[_0x3cb1('144','PTXG')]({'url':'https://api.r2ray.com/jd.super5g/index?num='+num},(_0x49d6a7,_0x5267ec,_0x2ea730)=>{try{if(_0x3918ce[_0x3cb1('145','[TYY')](_0x3918ce[_0x3cb1('146','O4@G')],_0x3cb1('147','Pp3b'))){cookiesArr[_0x3cb1('148','r[**')](jdCookieNode[item]);}else{if(_0x49d6a7){$['log'](_0x3cb1('149','iZ4J')+JSON[_0x3cb1('14a','Mrkf')](_0x49d6a7));}else{if(_0x3918ce[_0x3cb1('14b','YXTc')](_0x3918ce['DMklE'],_0x3918ce[_0x3cb1('14c','e7I]')])){_0x2ea730=JSON[_0x3cb1('14d','biff')](_0x2ea730);if(_0x3918ce['cMJpr'](_0x2ea730['code'],0xc8)){$[_0x3cb1('14e','ri]v')]=_0x2ea730[_0x3cb1('14f','cTim')];}}else{_0x268821[_0x3cb1('150','9lSk')](_0x5c86ab);}}}}catch(_0x8827b2){if(_0x3918ce[_0x3cb1('151','hQgi')](_0x3cb1('152','rAVr'),_0x3918ce[_0x3cb1('153','qcjt')])){$['log']('异常:'+JSON[_0x3cb1('154','^SmS')](_0x8827b2));}else{$[_0x3cb1('155','dgs6')]=!![];}}finally{_0x3918ce[_0x3cb1('156','k$X&')](_0x5c86ab);}});});}function doTask(_0x277e2c,_0x4b50e3,_0x110724){var _0x377a2a={'CaEwC':function(_0x569c44,_0x4e98de){return _0x569c44!==_0x4e98de;},'SsrHS':_0x3cb1('157','wP0B'),'kupCs':_0x3cb1('158','s[]@'),'LQWnB':_0x3cb1('159','YXTc'),'lbKcN':'taskCoin','jOxZY':'followShop','BOrVt':function(_0x142c04,_0x2c031c){return _0x142c04===_0x2c031c;},'jtXyK':_0x3cb1('15a','qcjt'),'vtJOI':_0x3cb1('15b','^SmS'),'umgpz':'coin','xyMLc':function(_0x129f5b,_0x2917ba){return _0x129f5b(_0x2917ba);},'BrMyz':_0x3cb1('15c','k$X&'),'DTimF':'NqSMa','FCJmx':_0x3cb1('15d','dgs6'),'yhPWG':_0x3cb1('15e','jjuL'),'JFjIj':_0x3cb1('15f','%Cb]'),'pydzC':_0x3cb1('160','lKKC'),'MQgpK':function(_0x4bda2d,_0x7bae95){return _0x4bda2d===_0x7bae95;},'zeLbu':function(_0x351ae2,_0xca0385){return _0x351ae2===_0xca0385;},'yYJoj':_0x3cb1('161','01pY'),'wHnzu':'已经完成所有浏览会场任务','oVhUJ':function(_0x1b9bc4,_0x21d88e){return _0x1b9bc4===_0x21d88e;},'rZbdS':function(_0x4c071c,_0x8f629){return _0x4c071c!==_0x8f629;},'cwRKU':_0x3cb1('162','3ltc'),'zKkYP':function(_0x59ee00,_0x171593,_0x33c279,_0xeebd4a){return _0x59ee00(_0x171593,_0x33c279,_0xeebd4a);}};return new Promise(_0xc900a7=>{var _0x4af703={'LvIFa':'已经完成所有浏览商品任务','HaMwj':_0x377a2a['wHnzu'],'wknBK':function(_0x5b9a4a,_0x4d6a5f){return _0x377a2a[_0x3cb1('163','NO5r')](_0x5b9a4a,_0x4d6a5f);}};if(_0x377a2a[_0x3cb1('164','sGVJ')]('yrIex',_0x377a2a['cwRKU'])){$[_0x3cb1('144','PTXG')](_0x377a2a['zKkYP'](taskGetUrl,_0x277e2c,_0x4b50e3,_0x110724),async(_0x106ba5,_0x152a8a,_0x22138a)=>{try{if(_0x106ba5){if(_0x377a2a['CaEwC'](_0x377a2a['SsrHS'],_0x377a2a['SsrHS'])){$[_0x3cb1('82','Djl$')]('异常:'+JSON['stringify'](_0x106ba5));}else{$[_0x3cb1('165','7fs7')](_0x3cb1('166','Yvb3')+JSON[_0x3cb1('167','PTXG')](_0x106ba5));}}else{if(_0x22138a){_0x22138a=JSON['parse'](_0x22138a);if(_0x22138a['code']===0xc8){switch(_0x277e2c){case _0x377a2a[_0x3cb1('168','PTXG')]:$['brandList']=_0x22138a['data'][_0x3cb1('169','jjuL')];$[_0x3cb1('16a','LPBe')]=_0x22138a['data'][_0x3cb1('16b','01pY')];break;case _0x377a2a[_0x3cb1('16c','^lzu')]:$[_0x3cb1('16d','01pY')]=_0x22138a[_0x3cb1('16e','uQd#')];break;case'taskList':$['task1']=_0x22138a[_0x3cb1('16f','^SmS')][_0x3cb1('170','wP0B')];$[_0x3cb1('171','Yvb3')]=_0x22138a[_0x3cb1('172','k$X&')][_0x3cb1('173','VMsy')];$[_0x3cb1('dd',')71s')]=_0x22138a[_0x3cb1('174','3ltc')][_0x3cb1('175','%Cb]')];break;case _0x377a2a[_0x3cb1('176','3ltc')]:if(_0x22138a[_0x3cb1('177','9lSk')][_0x3cb1('178','e7I]')]){$[_0x3cb1('8a','Os8i')]('\x20\x20\x20\x20└\x20完成任务,获得【'+_0x22138a['data'][_0x3cb1('179','vO43')]+_0x3cb1('17a','0XUs')+_0x22138a['data'][_0x3cb1('17b','@fFo')]+_0x3cb1('17c','lKKC'));$['bean']+=_0x22138a[_0x3cb1('17d','LPBe')][_0x3cb1('17e','cTim')];}else{$[_0x3cb1('17f','@TZL')](_0x3cb1('180','^SR#')+_0x22138a[_0x3cb1('181','7nKo')][_0x3cb1('182','^lzu')]+'信号值');}break;case _0x377a2a['jOxZY']:if(_0x22138a[_0x3cb1('183','Djl$')][_0x3cb1('184','@TZL')]){$[_0x3cb1('185',')tcf')](_0x3cb1('186','k$X&')+_0x22138a['data'][_0x3cb1('187','r[**')]+_0x3cb1('188','LPBe')+_0x22138a[_0x3cb1('189','r[**')]['coinNum']+_0x3cb1('18a','79Nf'));$[_0x3cb1('18b','Os8i')]+=_0x22138a[_0x3cb1('18c','79Nf')][_0x3cb1('18d','uQd#')];}else{if(_0x377a2a[_0x3cb1('18e','^lzu')](_0x377a2a['jtXyK'],_0x377a2a[_0x3cb1('18f','YXTc')])){$['log'](_0x4af703['LvIFa']);}else{$[_0x3cb1('fa','Pp3b')](_0x3cb1('190','k$X&')+_0x22138a[_0x3cb1('17d','LPBe')]['coinNum']+_0x3cb1('18a','79Nf'));}}break;case _0x377a2a[_0x3cb1('191','wP0B')]:$['coin']=_0x22138a[_0x3cb1('192','@fFo')][_0x3cb1('193','@TZL')];$['need']=_0x22138a[_0x3cb1('194','$sIZ')]['need'];if($[_0x3cb1('195','$sIZ')]){$[_0x3cb1('196','k$X&')](_0x3cb1('197','lKKC')+$[_0x3cb1('198','%Cb]')]);}break;case'':switch(_0x377a2a[_0x3cb1('199',')tcf')](parseInt,_0x22138a['data']['type'])){case 0x2:$[_0x3cb1('19a','NO5r')]('\x20\x20\x20\x20└\x20恭喜中奖,获得【'+_0x22138a[_0x3cb1('19b','O4@G')][_0x3cb1('19c','YXTc')]+_0x3cb1('19d','NO5r'));$['bean']+=_0x377a2a[_0x3cb1('19e','^SR#')](parseInt,_0x22138a[_0x3cb1('194','$sIZ')]['beanNum']);break;case 0x63:$['log'](_0x3cb1('19f','hQgi'));break;case 0x0:break;default:$[_0x3cb1('1a0','LPBe')]('\x20\x20\x20\x20└\x20恭喜中奖,获得'+_0x22138a['data']['name']);message+=_0x3cb1('1a1','%Cb]')+$[_0x3cb1('1a2','%Cb]')]+''+($['nickName']||$[_0x3cb1('1a3','ri]v')])+_0x3cb1('1a4','ne$U')+_0x22138a[_0x3cb1('181','7nKo')]['name'];break;}break;case _0x3cb1('1a5','^SmS'):if(_0x22138a[_0x3cb1('172','k$X&')]){$[_0x3cb1('17f','@TZL')]('\x20\x20\x20\x20\x20\x20└\x20完成任务');}break;case _0x377a2a[_0x3cb1('1a6','@TZL')]:if(_0x22138a[_0x3cb1('1a7','e7I]')]){if(_0x377a2a[_0x3cb1('1a8','9lSk')]!==_0x3cb1('1a9','6ETc')){$[_0x3cb1('d9','3ltc')](_0x3cb1('1aa','ri]v'));}else{$['log'](_0x3cb1('1ab','01pY')+_0x22138a['data'][_0x3cb1('1ac','wP0B')]+'】个京豆,'+_0x22138a['data'][_0x3cb1('1ad',')tcf')]+_0x3cb1('1ae','Os8i'));$[_0x3cb1('1af','PTXG')]+=_0x22138a[_0x3cb1('192','@fFo')]['jbeanNum'];}}break;case'getCoin':$[_0x3cb1('d9','3ltc')](_0x3cb1('1b0','3ltc')+_0x22138a[_0x3cb1('1b1','tOSh')]+_0x3cb1('1b2','vO43'));break;case'shareUrl':$['shareCode']=_0x22138a[_0x3cb1('128','6ETc')];break;case _0x377a2a[_0x3cb1('1b3','vO43')]:if(!_0x22138a['data']['self']&&!_0x22138a[_0x3cb1('1b4','01pY')][_0x3cb1('1b5','79Nf')]){$[_0x3cb1('1b6','Mrkf')]=!![];}break;case _0x377a2a[_0x3cb1('1b7','0XUs')]:$[_0x3cb1('1b8','uQd#')](_0x3cb1('1b9','s[]@')+_0x22138a[_0x3cb1('1ba','s[]@')]+_0x3cb1('1bb','7fs7'));break;default:if(_0x377a2a['BOrVt'](_0x22138a[_0x3cb1('1bc','iZ4J')],0x1)){if(_0x377a2a[_0x3cb1('1bd','7fs7')]!==_0x377a2a[_0x3cb1('1be','3ltc')]){$['log'](_0x3cb1('1bf','YXTc'));}else{$[_0x3cb1('fa','Pp3b')](_0x4af703['HaMwj']);}}else{$[_0x3cb1('1c0','VMsy')](_0x22138a[_0x3cb1('1c1','hQgi')]);}break;}}else{if(_0x377a2a[_0x3cb1('1c2','cTim')](_0x22138a[_0x3cb1('1c3','Mrkf')],0x7d5)){if(_0x377a2a[_0x3cb1('1c4','k$X&')](_0x3cb1('1c5','3ltc'),_0x3cb1('1c6','cTim'))){$[_0x3cb1('1c7','k$X&')]=!![];}else{_0x22138a=JSON[_0x3cb1('1c8','jjuL')](_0x22138a);if(_0x4af703['wknBK'](_0x22138a[_0x3cb1('1c9','s[]@')],0xc8)){$[_0x3cb1('a5','^SmS')]=_0x22138a[_0x3cb1('1b1','tOSh')];}}}$[_0x3cb1('104','6ETc')](JSON[_0x3cb1('1ca','NO5r')](_0x22138a));}}else{$[_0x3cb1('1cb','dgs6')](_0x377a2a[_0x3cb1('1cc','qcjt')]);}}}catch(_0x3b3e8c){}finally{_0xc900a7();}});}else{if(data[_0x3cb1('1cd','^SmS')]===0x7d5){$[_0x3cb1('1ce','^SmS')]=!![];}$[_0x3cb1('1b8','uQd#')](JSON[_0x3cb1('1cf','vO43')](data));}});}function taskGetUrl(_0x1166af,_0x1d9897='',_0x196c2f=0x0){var _0x19d161={'wsfls':'https://isp5g.m.jd.com/prize/lottery','ziNAk':_0x3cb1('1d0','79Nf'),'cScMc':_0x3cb1('1d1','6ETc'),'Yqjqz':_0x3cb1('1d2','^SmS'),'OkXlG':'keep-alive','RDnqB':_0x3cb1('1d3','NO5r'),'kPOer':_0x3cb1('1d4','ri]v'),'ylHoy':'https://isp5g.m.jd.com/?lng=&lat=&sid=&un_area=','XQfRH':_0x3cb1('1d5','wP0B')};ACT_API=_0x196c2f?_0x19d161[_0x3cb1('1d6','%Cb]')]:_0x19d161[_0x3cb1('1d7','O4@G')];return{'url':''+ACT_API+_0x1166af+'?t='+new Date()[_0x3cb1('1d8','6ETc')]()+_0x1d9897,'headers':{'Host':_0x19d161[_0x3cb1('1d9','uQd#')],'Accept':_0x19d161[_0x3cb1('1da','^SmS')],'Connection':_0x19d161[_0x3cb1('1db','[TYY')],'Cookie':cookie,'User-Agent':_0x19d161[_0x3cb1('1dc','r[**')],'Accept-Language':_0x19d161['kPOer'],'Referer':_0x19d161['ylHoy'],'Accept-Encoding':_0x19d161[_0x3cb1('1dd','tOSh')]}};}function checkCookie(){var _0x160bd0={'VrBgQ':function(_0x1d362a,_0x4b3909){return _0x1d362a!==_0x4b3909;},'RdCeN':'YMgVn','xgHFi':function(_0x296057,_0x4ce80d){return _0x296057===_0x4ce80d;},'LhKER':_0x3cb1('1de','hQgi'),'OXbtn':_0x3cb1('1df','3ltc'),'cSGSf':'NsYdW','ZtxIq':_0x3cb1('1e0','^lzu'),'rGQub':_0x3cb1('1e1',')tcf'),'QceTt':function(_0x2e4f39,_0x1f2f67){return _0x2e4f39!==_0x1f2f67;},'yWdFp':_0x3cb1('1e2','jjuL'),'pAQye':'京东返回了空数据','IdQye':_0x3cb1('1e3','01pY'),'bgvls':_0x3cb1('1e4',')71s'),'ynLlA':_0x3cb1('1e5','qcjt'),'zgZKL':'keep-alive','nHfMe':_0x3cb1('1e6','dgs6'),'XivnY':'zh-cn','nVXxD':'https://home.m.jd.com/myJd/newhome.action?sceneval=2&ufc=&','gesSO':_0x3cb1('1e7','uQd#')};const _0x184755={'url':_0x160bd0[_0x3cb1('1e8','[TYY')],'headers':{'Host':_0x160bd0['bgvls'],'Accept':_0x160bd0[_0x3cb1('1e9','uQd#')],'Connection':_0x160bd0[_0x3cb1('1ea','7fs7')],'Cookie':cookie,'User-Agent':_0x160bd0[_0x3cb1('1eb','7nKo')],'Accept-Language':_0x160bd0[_0x3cb1('1ec','vO43')],'Referer':_0x160bd0[_0x3cb1('1ed','hQgi')],'Accept-Encoding':_0x160bd0['gesSO']}};return new Promise(_0x3c20b9=>{$[_0x3cb1('1ee','LPBe')](_0x184755,(_0x32f5b0,_0x53c96a,_0x50e409)=>{try{if(_0x160bd0[_0x3cb1('1ef','hQgi')](_0x3cb1('1f0','qcjt'),_0x160bd0[_0x3cb1('1f1','YXTc')])){_0x3c20b9();}else{if(_0x32f5b0){if(_0x160bd0['xgHFi'](_0x160bd0['LhKER'],_0x160bd0['LhKER'])){$['logErr'](_0x32f5b0);}else{message+=_0x3cb1('1f2','rAVr')+$[_0x3cb1('1f3','^SmS')]+''+($[_0x3cb1('1f4','tOSh')]||$[_0x3cb1('1f5','9lSk')])+_0x3cb1('1f6','s[]@')+$[_0x3cb1('1f7','hQgi')]+'\x20京豆。';}}else{if(_0x160bd0[_0x3cb1('1f8','rAVr')]!==_0x160bd0[_0x3cb1('1f9','PTXG')]){if(_0x50e409){_0x50e409=JSON['parse'](_0x50e409);if(_0x50e409[_0x3cb1('1fa','YXTc')]===_0x160bd0[_0x3cb1('1fb','vO43')]){$[_0x3cb1('1fc','Djl$')]=![];return;}if(_0x160bd0['xgHFi'](_0x50e409[_0x3cb1('1fd','Djl$')],'0')&&_0x50e409[_0x3cb1('1fe','biff')][_0x3cb1('1ff','s[]@')](_0x160bd0[_0x3cb1('200','@fFo')])){$[_0x3cb1('201','7nKo')]=_0x50e409['data'][_0x3cb1('202','O4@G')][_0x3cb1('203','YXTc')][_0x3cb1('204','rAVr')];}}else{if(_0x160bd0[_0x3cb1('205','PTXG')](_0x160bd0[_0x3cb1('206','r[**')],_0x160bd0[_0x3cb1('207','dgs6')])){$[_0x3cb1('208','rAVr')](_0x3cb1('209','7nKo')+JSON[_0x3cb1('20a','LPBe')](_0x32f5b0));}else{$[_0x3cb1('19a','NO5r')](_0x160bd0['pAQye']);}}}else{$[_0x3cb1('20b','rAVr')]();}}}}catch(_0x2e3e82){$[_0x3cb1('20c','biff')](_0x2e3e82);}finally{_0x3c20b9();}});});};_0xoda='jsjiami.com.v6';
// prettier-ignore
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) }
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化