forked from jipinwz/wishing-jd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjd_xmf.js
45 lines (42 loc) · 40 KB
/
jd_xmf.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
/*
京东小魔方
活动入口:京东app-新品首发-京东小魔方-百万京豆
活动时间:2021-03-25 至 2021-03-27
不定时京豆活动
新手写脚本,难免有bug,能用且用。
更新地址:https://raw.githubusercontent.com/i-chenzhe/qx/main/z_xmf.js
============Quantumultx===============
[task_local]
#京东小魔方
10 10 25-27 3 * https://raw.githubusercontent.com/i-chenzhe/qx/main/z_xmf.js, tag=京东小魔方, enabled=true
================Loon==============
[Script]
cron "10 10 25-27 3 *" script-path=https://raw.githubusercontent.com/i-chenzhe/qx/main/z_xmf.js,tag=京东小魔方
===============Surge=================
京东小魔方 = type=cron,cronexp="10 10 25-27 3 *",wake-system=1,timeout=3600,script-path=https://raw.githubusercontent.com/i-chenzhe/qx/main/z_xmf.js
============小火箭=========
京东小魔方 = type=cron,script-path=https://raw.githubusercontent.com/i-chenzhe/qx/main/z_xmf.js, cronexpr="10 10 25-27 3 *", timeout=3600, enable=true
*/
const $ = new Env('京东小魔方');
const notify = $.isNode() ? require('./sendNotify') : '';
//Node.js用户请在jdCookie.js处填写京东ck;
const jdCookieNode = $.isNode() ? require('./jdCookie.js') : '';
//IOS等用户直接用NobyDa的jd cookie
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 {
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);
}
var _0xodK='jsjiami.com.v6',_0x2bf3=[_0xodK,'QsKDwrhSwqw=','w7DDo8O3wqbDsQ==','MxgV','DQbClMKVw59WUW3CpBY=','wo3DgngOwoU=','UMOaw4XDscOvY8K4wq9vGjrDnWPDscKbOcOYw4/DocK1wp3CoVXDmCLDpEIBesOFRTMUwpvCp20XBcKIHsKgJlnDu8K5WMOlOnAnwqd6wrvCjg==','w7vCvHMSAw==','w4vDr3FEw70=','w5HCom3Cr8OB','wrRcw79Fw6s=','w67Dmk5zw6o1Y8OAeMOnwq4nw6ptCEMJJsOTC8KZwrjDgMKDwpnDkwcew5VJwpDDm3rCqlwFShvDr8OZdAPCosKxDMO5wqfDh8OVwrLCgMKKehM0wonDj8KH','OMKPeQ==','wo98w4hVw4o=','FTnDrsOmw4s=','wrd4w6xaw7Mn','wrFWw6UJwro=','w7XCuh7Cog==','wr4FwrQ5J8Knwq8=','w5LDocKbKMOUJUA=','wp1kwq7Cpw==','DgLCgsKqwoVZbXbCvQNeUcO7Ug==','LAZww6fDkw==','wqvDkcK9TCZ6IsO0','wrUXwoszCcKgwqfCpw==','w7PDtGVuw5jDrhtT','ccK7w4w=','Q8OgNcOwLQ==','wol9w5U6wo0f','w6jDv8O/wqHDj8Kv','w6bCq03CisOa','w5XDt8KKOcOyL0PCog==','w4jDpHtTw5I=','w53Cll43MQ==','wpg4woN8w4Q=','w7nCgEPCnMOn','woUmw6B9w4B/w6t4L8Kkc8OqIcOfw6HDgHU=','wo0wwqI/S8OLLAxKw4M=','eEdPUsK2GR/DqgvCgMKdw7fCu2vDjVzCp8OZEGkkKmsfRMOMfyk/e8OHwrvChg==','Jgssw4nDiw==','w5TDnMOtwp7DvA==','A8K/wpdnVcOwwrYTw5lKScOFwqbCnMOuw5/Cq8O8w6zDqMKkPjTDh8OYw67Cv0orwqzDssKBRDTCmBfCucK/','w7nDqELDjUw=','wrANw5Bewok=','YcOQMcOHMg==','w6sHw7RZag==','QsKKMMOR','5byS6YOC5oWW','YsKCPsOR','44OL5o+H56ax44CO6K225YSd6I2a5Yyp5Lme5Lm+6LeY5Y2b5LqSU0VXw47CusK6wr/nmrPmjaLkvoLnlbUdMV7DvXRQ55qc5Lih5Lmi56+95Yqm6I+H5Y+h','w67Dmk5zw6o1Y8OAcsOtwqIsw6ptCEMJJsOTC8KZwrjDj8KfwrLDmQcDw5lZwpbDvXnCqxccBw7DpcOCc1PCvw==','w4TCrWnCvMO2w4E=','w53CisKDT0zDr8OJwog=','wp5Sw4xbw4Q=','Dw3ClcKAwoo=','w5XDgsOzRsKAWsOBw40=','w5kxw78=','wosyw61owpQ=','ZMKsGMKidsOww6HCpA==','wpHDuUvDocKxQxjDlw==','w7M7wojCgMK4','T8K3wrNmwqY=','w7jChFs=','44KY5oyp56ec44CsYcOhw4vChgDCleW1vuWkhuaWvA==','5LiQ5LqU6LWy5Y2H','D8KMUiE7','w5LDoTfDm0B4wq7Ctw==','w77CjUw9Jw==','bcOjf8Kcw54=','WFAiEsKaFMO6KcK7w5s=','woU6wqgkD8OP5bay5aWU5pW0woZlWw==','5LmF5Lms6LSB5Y2N','w7PDu8KMY8KN','SMKnw45uwrUUw6AP','wrXDmcKsVA0=','d8O2w7XCkQM=','wpsVU8OZw6wWw6A=','w4XDiz/DhkA=','w57DkcKac8KTw7rCkg==','w6bDkMKBIMOj','WVA4FcK7H8Or','woo9w7pCwpsxw59vJsK4d8OsMMKK','OMK+wrtxRQ==','ZizClj8vaVvCtg==','W8KjwpFOwpzDjmN9','W3LClcO4woBGEXY=','V3rChcO2wqdJGnw=','QcKUC8KEaQ==','wrkXwpUz','w4jDh1lm','5p6x5q685YW36I6y5byh','5Lqf5Luy6LOe','wpMFwpMAMg==','wqhOwq3CvMOl','w44lwo/CkcK9','woXDoS0nwqI=','wpJxwpLCv8Oh','wrQuwpBsw7o=','QsOTe8Kw','KRBkw5jDrMObwojDuw==','w5nDisOjSMKHVcOKw4c=','T8Oyw5jCkhfDn8O8wq0=','wpAXwrdGw5s=','wqc0wpAcFw==','woY9w71swqs6w7s=','w7nDvHJk','CsKHWCM3Kg==','w7/Do8KmasKD','VsOCQsKrw7g=','w4gjw7UBdmjCmsOZw4fCpXTCkQ==','EsKNScOwJA==','c8OQw4nCizw=','fsK0VGJ+','ScOvw4/CiQrChMK+w6fClcKYIlE1wrwiw4EQwr/CjMKywofDo8OGPXtLwqHCvMOFY8Kaw7sLO8OJwq/DjCzCjGXCilEPAMKqMsKTZGg+woxOwq3CtD/CgQZ6w7vDq8OQwqXCplxWI8Okw5LDhQLDkGQdw7nDtAnCtcOKwrDCsMOEwoIGH8O+LE1Vw63DrBUnY8Onw59JEMKEM0ByLcK5woHCo1LDog==','wo0RU8Obw4QXw7E=','w6DDscOswoU=','wogTU8Ozw4c=','wpMFwpcbHw==','X2bCiMO+wr1BGHcjZR3Cq8Obw5/DsMOaTQQ8R1lpw47Dh8OGEzg/w5vDoQtOw5DCrcKbwpZBw79TXlTCvcKEacOFw40=','w6zCmMKSXEXDq8OQ','RcO6w4/CmA==','w4Jaw6dAw43Dk8KPw7jCo8OPw5vCnMOsw4PDjmfCpBTCvTwOU8ORw7rCvVnCiRvCn8KkwoPDvgQ4TGPDsQMBw4o=','AgLChcKE','BwDChcKWwrtz','w4kww4cMwpofYHshwoTCmcKVwobCsSDCnG/DqB1JDsOjRsK4T8KNw50CUsK9wqzCoMOqwrXDqMKjRcOhwrY4woDDgcObw53DsQ==','eCrChiA=','w7bDj0hww7w=','b8Kxw5hpwpcB','w6XDgV5m','w7nCmFs=','wrVVcgFhTMK7BsO9fQzCsA==','wo1kwqnCrcObCDcAw4MQwpkn','w7LDj0low4pkOcKmfsOuwqw=','FMKHRTEvNg==','wrHDmcKtTDtwOsOYe2/DuA==','w77DrV/Dpk7Dkxxhw7rDlsKOw7F7','w7TDs3Jgw4TDrhVCw5fDncKlbcKo','wpITwrZAw5LDgg==','w4Eyw69gbCjCoMOPwobCtn7CjsK9Yg==','wpE0w6Z9wqUxw6lyBcKhYcOq','w6bCn1MuH8OcfMOcwowwJic=','wpd3w4EKwpMZ','w7vCkcKJTUvDoMOCwoIlwpnDv0M=','w4U1wrDDii8=','wpvDhTI=','LV/ChcK8','w60Aw414bg==','w7HDsmE=','w5vCvHXCssOsw451w5J5','w5DDpcKdOMOe','SsOde8Klw6pTw78oPhZhw6s=','J1TDtEs5woI=','fsKGIMOBw5fDqA==','YMOJA8O6FA==','IVvCicK3w59XMC7DtXk=','TsKWKsKeTQ==','w6rDncKjT8K4','wpvDhSEZwo7ConnCnHtvwrx1','w4vDqT3DhA==','KsK7woJ6Xw==','5pyg5q+C5YSi6IyD5bys','BAbCkMKLwrNaUnHCvAc=','5Lq95Liv6LGt','ZiTCmDE=','w5/DqSDDk2Y=','w7bDusKP','wo4XwqhQ','OMKG5aWT6LasQTHlj6Dlm4YQJg==','bizCmzUNZE8=','woQZwqtQ','DcKHUzRuIxLDsC7Ctw==','VsKQw5Jkwo4=','6I2e5Y6m5Luc5Yib5YqU6KCa5oqV5Yu7','wqg8X8Opw64=','wp5gwq4=','c8ODFsOADmUaVEtlwoIANsK3wo7CvGvDkw==','wqsZw5N7wq8=','QsOcw4TDjsO0','w5TCtXcGPg==','fsOCA8O5ECoWdkJpwpgMYsOgw6nDpiPCjDlGwo4Ww6V9asKjwqhPwqgmPcOFwp5AwrLDpgTDhR5MdBLDsMO0w4rChjTCpMOpw6/Dl8KHwr3DtsOPGcKEwrVnHhfDg8Kvw4APwq7CncO+esKKdFIxfHnDlcO8XMO9wr9ow5wSPDPCtsOSw6PCl8Ogw7rCvcKPw6djw7wwwrvDusOUA8ORDSvDmkDCgmHChjXDisK1w4wow7UjBFpPwqwHXMKVwpnCix58C8KPb8KSw6rDvlN3wpnDgSnDqMKvWhPDhMOXdwPCm3tYwrdqJDlDwp3CiDnCtXYrwrHCmDnDpcKwwoDDtMOAwot8JsOrGcONw6UPJgNjXcOsPMOTG8K6wpVDCcKeKxvCrQfDssOQw5smBDrCqArCm8OtWAPDtU7CtCTDmGYjdHQMw5ACE8K5AsOcfydlwrXCuDNswppfVcO4w7gjwr9KCSLDn8ONbgARwr3DoMKXwotsBMKfw7/CpSc0XB1QwodAwovDsks+NGHCg1rDh8OawpVIw5E0wp/CiSXCgjwDVnzDvmLCl1HCkcKkJEHDpw==','VH52ScKo','W2whI8KM','w7s4w6zDryg=','QsOTe8Kww4hEw7I=','w7TDscOqwpfDmA==','wpYhwosVPg==','bsKkD8Kof8O0w7g=','woQXwrFU','w5fDjsO+SsK6Uw==','w5/DlsKibMKHwqnDk8O9DUvCknzCrcOrwpVWU8O9fEwSSF7CgsOPw4jCoH7DnVI2w5fCjm0=','wrpBw4hPw4k=','w4gjw6xDciXCkcOJwoDCqXXDk8KxNkHDjSMOw6bDrcOALcOiw6LCplhUworCiwDCmXA6','ScOvw4/CiQrChMK+w6fClcKYIlE1wrwiw4EQwr/CjA==','w7vCq0zCucOP','EgHCpMK3wos=','A8K/wpdnVcOwwrYTw5APDsKGw7rDhMO4wpDCscK9w6LCqMKrcDzDhsKaw4jCt0FjwpfDvsKaGHLDginCl8OzayfCi8K5fwUdC8O7YyDDj8OzVBciw5zDnDgzwr9lwo3Dszc/wpPDq8OfwqQ8UQbDtRdrFxxDwr8BGsK5wq9qIVPCusOGFw7DgMODLMKvw5crwqrCs8OAwpMSw6wCwpbCnS54Og==','fMK3w59Vwr8=','w59ywrvCv8K2V34Aw6QZw4Juw7woXcOKWMKlT8K8CGhOw6vCvmdxwqXClMOe','w5rDvTrDk3pwwqzCvMK8e2rDkElHAlQfw63CqXJZTsKvOsOwwrs0J8K/EsOzSVUiwrhKwpMEVxbCp8KLeMKvw7Jc','T1Q4F8KTHsO6','w6nCmsKSdEY=','wqbCvMK6wpHDjsK4w41Iw65mc30rw4zCp3V4w6ViwoQgH3vDqyfDnsOrEsOwwqMzWcOrw6Vswq09C2HCiQ==','wogTU8OJw4o2','w63DsnVx','cVHCrsOzwoc=','w47DrSfDhWJt','eMOJBQ==','w6TCiMK8UkM=','YMOHEcOiMH4QSmNowpAG','wrfDncKtUgRv','wqzDlsKqQhp6LMOlfGbDucK0XQ==','IC/DvsOqw7TCvw==','w7rCnMKVSG7Dug==','w7LDtMKbScKCBcK6wqZyw7AEwqdGTA==','VcOaYMKhw4ZPw6ATGxJ3w6w=','w7LDmVtKw7U=','w7XDhlVzw5BhKsKAXMOhwrA2','QMK2V1Z8YA==','wowZwqJww4zDhA==','K0rCnMKpw60AcHTDuWgsw7nCmznDuj3Di8OAwoYcw7rCjAs6wqh6BC9rw7PCqMKkEcOIwpzCncONK8KBaFcBwr4=','acK1w5h3wqsaw6IGwpbDszsf','w4PDg8Kld8K9w7c=','Q8K9KMKQVA==','w6bDosO3wpPDjsK4w6xyw65/Yyw=','NsKKQMOgDmUaVEtlwoIANsK3wo7Cti/Chg==','wosyw71owp4+w6xpIMKnfMOXIA==','w4VSU8Obw7AZw5ULw5jCsSDChMOew5c=','TXLClcO2wplHGHUjb0bCpw==','TXLClcO2wplHGHUjZQ==','wpl8w6zDtzFYwqQIw5B9TcKEw6zDqA==','QsO1ecK2w4U=','w6TDq0TDs3XDnBl6w5/DkMKTw4w=','w5V+wrjDgShse8OZwpTDl8OmwqjClzDDox7CoQ==','wo87wrMqFMOLIxFVw4kmMsOP','w7c1w7h3w64lwqTCm8OQWA==','w4jDqSfDm152wqzCvsK8ew==','wp4RTsOO','w4stwpfCs8KiMFsIw5kR','ezLCljgW','w6rDvG9x','wrUEwpchM8KrwpXCoRsf','wpNRw55Zw7I=','w5LDk8K9QMKG','w4Qgw7s=','wpdkwrfCow==','44K55o6D56am44C+6K+s5YSO6I2H5Y2r5LmF5Lua6LS95YyL5LuJeFnDlT9Kw6XCiOeZhuaPpeS+sOeWv8KaW1PCncKsDueZueS6ueS5gueus+WIi+iMjeWNtg==','wrEiwoAIJw==','w7krwpbDqB0=','UcOTZsKl','wq3DpFrDtsKNQxbDhmnDvk5tXQ==','wqTDm8KSXHHDpcO0woIGwpzDhVPDlsK/','JivDvsO0w4jCpFPDq8OYw5gYw54=','TMOPw4LDqsOMNsO4w6xLGw==','w7c1w79+w7I+wrnChsKCB8OcwpY=','R8Ouw5XCjxQ=','DQDCgMKzwqA=','w4XDvMKKKMOONUDCg8KNTU7Duz7DvcOtMysvwopAw5zCikrCv8O7','wqoVwoZ4w6s=','eDXCujIX','OnjDqXYe','H1LDhHMA','wqYlZUA1','aMKVOcOkw5U=','dXzCtsOcwqM=','V8Obe8KEw44=','w5jCj8KkfFc=','w7jCvkXCmsOX','w67DqXRsw5jDqB9Qw4c=','w4zDq8KI','wrVbYBlF','VsOTfcKiw6o=','woUfU8OOw6YAw7www57CsAzCkw==','w5LDocKcPsOXNQ==','ccK7w59owp4Hw7QkwqrDsA==','wrd4w6w=','fCrClCcV','PiXDqg==','w6nDocKab8KbDMKDwrJk','w7HDsmFAw4TDvQ==','wpUcwoEaIw==','aMKawoxQwo8=','wo4zw65Iwp4t','5b6x6YGE5oWY','5aaw5aeV5Lir6ZWp6ICw6L21772z5ZWw5LuM5rCY5o6+55+444Cd','w6/DtcO9wpTCkMK8w5Nvw7lu','wq7Drk/Do8KPGRzDomjDvk5BAsKuw7bCicO7PBo3wqPCth3CqcOcwpPDn8K7w7nCiVh2w4fCucOUwrJYSHjCoMK0E8O/fMOZwqHCgT/DjkNLP3A2w6x0D8KEI8K5woRdf3YHwrPCh0PDiMOCw6rDlsKLHMK5w4/DusKfw5bDv3BbYcOOJC4+w4t7wpnDpsOIwqAaw43CrsKxahDCm8O1LEnDoi/DmsOdw4IuVghZJ3fDm1cewo0ww69gRMKLPzs/wrvCjQPDtXVCTTPCi8OjIcKZYWDCusOkwrRkwph5RzFFw4vCtMOKLcK5w4DCvcKLcsKFwrBzwoHCiMOtWMOzCcOiw63DvsKJw5Q/wr/Cs8OxA8KNd31SasKvQBbCkg7CvmEdw7vDk8ObwpzCsh3DpmjDu37DrMOew4jCvhsIMsKNw4HDhyYpwoHDnsKWwosWcyQvw55YGsKjwpLCl8K5w51Pw6QXLMOjw5PDjHJ4w4bCqx4/bXXCq8OQwp06wqMvw6LClMKUw7jCqcODw5UKwr3Dn8K7HlJ9B8OTw6fDpDk1wqfDmcK7TcKkwrnCoX3DiRtCw6zDk8O/w4Elw7PDlcOAw5HCsw==','w4IzwqXDmzl7cMOxwpnDhcOg','d8K4RkpJ','wrAVwps+DA==','UsOEw7TDq8Ol','J0Fow4TDkcOQwpzDtcOPw7zDuR9bw7/CmznCjw==','AsKlwpdyVMKrw7pIw5FVTsKiwrA=','w7LCkkg=','wo19wrbCrMOx','w5vDrSDDvmtuwo/CvcKBazLDgUV6PEAZ','wrQswp4YKA==','dcKFdUt5','e8Oaw7DCtRo=','cMOfOMOiJw==','aTXChTgIa1fCp8KfS8OAwqrCqcOWLjvCnDElw6bDgStSCDUaIMKtwo3CoXEywqo=','UXFTd8KJ','woNtw7fCpcOl','w4XDtsKdcQ==','a1JMS8KzDg==','PVDDtHEiwpjCjsKBDBjDosOce0Q=','wrAoZUI3','w4rDkiLDpUY=','wqDDoMKWVyU=','wowxwo87AQ==','aMKhQVpo','w7/DuiDDtF4=','wqUTwosjLMK6','ZCrCgSAEek/CmsKYQsOB','w6bCmMKLWA==','SsOdaA==','PiXDucOrw73CuUXDjsO/w5AR','w6zDqGdrw4LDpgJP','5Lu95Lua6LK+','WVA/A8K4Dw==','w5MjwpDCrMKUNkM1w4IEOw==','LcKPfsOdJzU=','MAx1w57DgMOHwpfDncOCw67Dvw==','VcO0w5rCig0=','emHCksOZwpk=','MAHDoMOZw4A=','cMKnw4w=','w5XDisO9SA==','wpt4RgJz','Sn1vT8Ks','w4U8w7tqaTQ=','w5bDgFRSw4A=','wpUGwqk5MA==','wqdiw6MQwo8=','WcOew5jCr8Oxd8O9w6QsHHjDkQ==','PRNxw4bDjMOWwo/DoMOFw6fDvl9NwpvCiGzDgsODPUVhdcOBYMKkKcKbPiLCj8Ojw5PDrA==','fkRdbMKV','YsKgU1tE','w5TDj3xsw7U=','fMOSFsO5EytQCUIzw5gEd8KzwqPDvG7Dk29Yw5hZwrQjPcKJwqRCw7ATKsObw4IYw6/DmibDigV4SznCjMK9w5zCoQbDrcK0w4/DscKpw7XDpMOTNsKVwoVQXnPCicOow4gSwp/CqMOWNcKbLw9mK2vDg8OBacOIwpd1w45VfzvDqsKGwr/DjMO8w7XCiMKEw6k0wqsywrnDpMOeHsORCjvDoUHDjA==','woFzw4YewrgIRA==','w5stwpDCuQ==','w48/wqXDphg=','P0BeR8OiSljDsgzCiMOOw77CvXnDlg/CrcKKDWhheDEBd8OMZCJyZg==','DsKQbsOvOA==','OhZvw4nDkcOcwoHDusOlw6zCrRNAw4LCr2nDnMKNPmhqTcKfcMKkY8KcPyXCmcK6w43CqsOkfTtSPsOYwqUaVsK2YHXDlQ==','w4o9wqXDjhtsfQ==','wqDDq1rDsg==','CsKowpdeYg==','w5spw7jCs8O4Aioiw6sTwppqwqprC8ObXMKwScK0WSFMw5bCiWlzw6LDj8OSwodvw7HDlsKoEG7Dqz1C','w5rDiMOkXsKHfw==','cEF0w5nDgMOHwr7DvcOPwqrCqlIXw4vDmXjDmcKHPkRnJcKbfcOjY8KdPCjChcOpw4LDnsOgbDxSJ8Ofw6xSMcOibH8=','G8KkwpBj','bgbCpAMv','DhfChcKVwoENEivCukYVTsKhQcKmworDnsK9wrk=','YcKgHsK5FcOww6DCqFbCuA==','w5bDksKmcMKdw7DCncKmBVTClX3CqsK2wpBc','QsOGwpzDosOy','w7DDuULDsxDCkhtww7XDlcKBw4x6DcKyI8OZ','b0DCqsOXwrw=','wpbDt8KqVQs=','PcKCRsOpOQ==','UsOKw5DDscOsYsO+w5BqEHnDmSjCocKbZ8KSw5HCucOrw4TCoBPCkCnDs2kYcMOAAXUNwpTCritrIcK4HcKgXBHDrcK+YcO7M20GwohjwqTCjMOHwonDmcObw4gpPw1jesKeKTfDmRBMEi7CmwTCsCjDrhnDmsOxBE1kQsK8PiBFw4rCkcKowrwrJADDtQwuwpxNUsOmw57CgywKMMOYwpQ8MjrCtX/DlCvCrGQ8w60cbcKWcSnDhSTDh8KVw4jCjRh3w7zCkStSwpgvCsKMHcOuwro0NUJPw4FjPMOFWcKcwqfCqT7CgDnCvF5kw43Dk8OjC0XDuMKywrvCqUhHRz9LDcOywo7CosKlwpfCkMOVwoXCrsK3w67ChcKVw50cw7vDvA3CrX/DhE5KwqNRwq/CgMKoKxzCiWTDvCQmHVcrw4/CkwrDksK1w6fCm0LDhA4aw4bDgQJCwoDCu8OUwqN6wpfCicOyRsOlHcK5w7fCgsKgW8K6dGzDnHt0PsK1RyfDrRcFw6cNw5IXYnsgwoPDnMOFI8KDCiZkw6heURvCuldYw61UwrnDsnnCp8K8dmFKwpLDi8KvW0fDrk/DnxUaNVXCncOsDSXCrMORcsO+w5x9wr8sBFIkEjPDtj9/w7gvw4DDk2/CqsK8wqUOwot3w4vCqknDhmQJwoLCtcK0wq9DwopZw7HDk3FKw4RxHsOQw5Nqw4vCgcKUW8KRI8KZw5Anw69Yw7rCi8KBwpnDm0HDpcOYDBHDq0DDpcKcwqMgw7vCnQjCiMO6KD7CqxUSwo7CqlZLw7kmKcKbwpLDnWgYwp/CqsK3w43DsMKyR8OjEsKoTGPDhB0Zw69QTMKKwr1SOCjDsxd6wpY/w5NTKcOhQljCt0bDp8KSQnXCvXzDpzjDtxc+OwUmwqc=','w5LCqMKwV1Y=','GLBNjsdpMXQjwigkaOdwrmiE.com.v6=='];(function(_0x59481f,_0x5a6109,_0x529118){var _0x2d520b=function(_0x585a18,_0x105492,_0x3dc5c2,_0x25fbe2,_0x9b29f1){_0x105492=_0x105492>>0x8,_0x9b29f1='po';var _0x4bf953='shift',_0x10f499='push';if(_0x105492<_0x585a18){while(--_0x585a18){_0x25fbe2=_0x59481f[_0x4bf953]();if(_0x105492===_0x585a18){_0x105492=_0x25fbe2;_0x3dc5c2=_0x59481f[_0x9b29f1+'p']()}else if(_0x105492&&_0x3dc5c2['replace'](/[GLBNdpMXQwgkOdwrE=]/g,'')===_0x105492){_0x59481f[_0x10f499](_0x25fbe2)}}_0x59481f[_0x10f499](_0x59481f[_0x4bf953]())}return 0x7b76b};return _0x2d520b(++_0x5a6109,_0x529118)>>_0x5a6109^_0x529118}(_0x2bf3,0x188,0x18800));var _0x3cf4=function(_0xc65703,_0x53d1b6){_0xc65703=~~'0x'['concat'](_0xc65703);var _0x7ef5e3=_0x2bf3[_0xc65703];if(_0x3cf4['hWvxkx']===undefined){(function(){var _0x94847=typeof window!=='undefined'?window:typeof process==='object'&&typeof require==='function'&&typeof global==='object'?global:this;var _0x8cc239='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';_0x94847['atob']||(_0x94847['atob']=function(_0x47037d){var _0x21f5d1=String(_0x47037d)['replace'](/=+$/,'');for(var _0x5981bf=0x0,_0x3d4930,_0x20d90a,_0x30979c=0x0,_0x2d97ae='';_0x20d90a=_0x21f5d1['charAt'](_0x30979c++);~_0x20d90a&&(_0x3d4930=_0x5981bf%0x4?_0x3d4930*0x40+_0x20d90a:_0x20d90a,_0x5981bf++%0x4)?_0x2d97ae+=String['fromCharCode'](0xff&_0x3d4930>>(-0x2*_0x5981bf&0x6)):0x0){_0x20d90a=_0x8cc239['indexOf'](_0x20d90a)}return _0x2d97ae})}());var _0x2d853e=function(_0x2db941,_0x53d1b6){var _0x5bd69f=[],_0x4685eb=0x0,_0x4d38e2,_0x44af75='',_0x11c131='';_0x2db941=atob(_0x2db941);for(var _0x39e235=0x0,_0x55e86c=_0x2db941['length'];_0x39e235<_0x55e86c;_0x39e235++){_0x11c131+='%'+('00'+_0x2db941['charCodeAt'](_0x39e235)['toString'](0x10))['slice'](-0x2)}_0x2db941=decodeURIComponent(_0x11c131);for(var _0x182a8c=0x0;_0x182a8c<0x100;_0x182a8c++){_0x5bd69f[_0x182a8c]=_0x182a8c}for(_0x182a8c=0x0;_0x182a8c<0x100;_0x182a8c++){_0x4685eb=(_0x4685eb+_0x5bd69f[_0x182a8c]+_0x53d1b6['charCodeAt'](_0x182a8c%_0x53d1b6['length']))%0x100;_0x4d38e2=_0x5bd69f[_0x182a8c];_0x5bd69f[_0x182a8c]=_0x5bd69f[_0x4685eb];_0x5bd69f[_0x4685eb]=_0x4d38e2}_0x182a8c=0x0;_0x4685eb=0x0;for(var _0x161f0c=0x0;_0x161f0c<_0x2db941['length'];_0x161f0c++){_0x182a8c=(_0x182a8c+0x1)%0x100;_0x4685eb=(_0x4685eb+_0x5bd69f[_0x182a8c])%0x100;_0x4d38e2=_0x5bd69f[_0x182a8c];_0x5bd69f[_0x182a8c]=_0x5bd69f[_0x4685eb];_0x5bd69f[_0x4685eb]=_0x4d38e2;_0x44af75+=String['fromCharCode'](_0x2db941['charCodeAt'](_0x161f0c)^_0x5bd69f[(_0x5bd69f[_0x182a8c]+_0x5bd69f[_0x4685eb])%0x100])}return _0x44af75};_0x3cf4['XphArS']=_0x2d853e;_0x3cf4['lLcHzy']={};_0x3cf4['hWvxkx']=!![]}var _0x49b8bb=_0x3cf4['lLcHzy'][_0xc65703];if(_0x49b8bb===undefined){if(_0x3cf4['VTLFHp']===undefined){_0x3cf4['VTLFHp']=!![]}_0x7ef5e3=_0x3cf4['XphArS'](_0x7ef5e3,_0x53d1b6);_0x3cf4['lLcHzy'][_0xc65703]=_0x7ef5e3}else{_0x7ef5e3=_0x49b8bb}return _0x7ef5e3};!(async()=>{var _0x102604={'VmNhz':function(_0x353d4c,_0x3bdf18){return _0x353d4c===_0x3bdf18},'yCkvN':'1001','FTnkX':function(_0x4c9a3d,_0x27abc2){return _0x4c9a3d===_0x27abc2},'SuXfc':_0x3cf4('0','Rx)['),'QKwzn':'获取任务列表成功','qikIL':function(_0x552d63,_0xc2515c){return _0x552d63!==_0xc2515c},'CiMTR':_0x3cf4('1','DNbt'),'rKxJI':_0x3cf4('2','*kFb'),'TXUYD':_0x3cf4('3','4rG7'),'pBhJW':function(_0x11918d,_0x2dbf0c){return _0x11918d!==_0x2dbf0c},'evNlv':'BjEbK','ppMzw':_0x3cf4('4','N]9Y'),'MgDXo':'https://h5.m.jd.com','guwJJ':_0x3cf4('5','O4A6'),'RKrrE':_0x3cf4('6','#v(A'),'QMEya':_0x3cf4('7','G6sq'),'LgpAn':'jdapp;iPhone;9.4.0;14.3;;network/wifi;ADID/;supportApplePay/0;hasUPPay/0;hasOCPay/0;model/iPhone10,3;addressid/;supportBestPay/0;appBuild/167541;jdSupportDarkMode/0;Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x2014_3\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/605.1.15\x20(KHTML,\x20like\x20Gecko)\x20Mobile/15E148;supportJDSHWK/1','uPPTy':_0x3cf4('8','W6Ht'),'kiaes':_0x3cf4('9','F6A!'),'DSQWu':function(_0x570bde){return _0x570bde()},'fMOWg':function(_0x36496d,_0x3e299e){return _0x36496d===_0x3e299e},'cVeMP':'UDtSF','uPTOT':_0x3cf4('a','B)Ah'),'kzpcq':'https://bean.m.jd.com/bean/signIndex.action','pyujH':function(_0x4387c0,_0x1303c0){return _0x4387c0<_0x1303c0},'EEGDE':function(_0x5dbd01,_0x195d07){return _0x5dbd01(_0x195d07)},'LwlXI':_0x3cf4('b','Aw5M'),'agGZs':_0x3cf4('c','O4A6'),'KQpMQ':function(_0x704b42,_0x5669d4){return _0x704b42===_0x5669d4},'NxSPW':_0x3cf4('d',')AMV'),'Cvzyt':_0x3cf4('e','Hrei'),'pHKIM':function(_0x13a627){return _0x13a627()},'JLfdj':function(_0x1b1ee6,_0x2c2b04){return _0x1b1ee6<_0x2c2b04},'Apamy':_0x3cf4('f','YEm)'),'NFyCz':_0x3cf4('10','KZ6d')};if(!cookiesArr[0x0]){$['msg']($[_0x3cf4('11','YEm)')],_0x3cf4('12','QcVs'),_0x3cf4('13','DNbt'),{'open-url':_0x102604['kzpcq']});return}for(let _0x4d8d07=0x0;_0x102604['pyujH'](_0x4d8d07,cookiesArr[_0x3cf4('14','N]9Y')]);_0x4d8d07++){if(cookiesArr[_0x4d8d07]){cookie=cookiesArr[_0x4d8d07];$[_0x3cf4('15','CojZ')]=_0x102604[_0x3cf4('16','QcVs')](decodeURIComponent,cookie['match'](/pt_pin=(.+?);/)&&cookie['match'](/pt_pin=(.+?);/)[0x1]);$[_0x3cf4('17','#u7l')]=_0x4d8d07+0x1;$['isLogin']=!![];$[_0x3cf4('18','i]Ei')]='';await checkCookie();console[_0x3cf4('19','qRB0')]('\x0a开始【京东账号'+$[_0x3cf4('1a','O4A6')]+'】'+($[_0x3cf4('1b','$tJB')]||$[_0x3cf4('1c','jTEl')])+'\x0a');if(!$['isLogin']){if(_0x102604[_0x3cf4('1d','Euzh')]===_0x102604[_0x3cf4('1e','^NJe')]){$['isLogin']=![];return}else{$[_0x3cf4('1f','*kFb')]($['name'],_0x3cf4('20','CojZ'),_0x3cf4('21','[OGp')+$[_0x3cf4('22','(Gn$')]+'\x20'+($[_0x3cf4('23','[OGp')]||$['UserName'])+'\x0a请重新登录获取\x0ahttps://bean.m.jd.com/bean/signIndex.action',{'open-url':_0x102604[_0x3cf4('24','*kFb')]});if($['isNode']()){if(_0x102604[_0x3cf4('25','xfBE')](_0x102604['NxSPW'],'uvSNR')){await notify[_0x3cf4('26','$t2X')]($['name']+_0x3cf4('27','#v(A')+$['UserName'],_0x3cf4('28','V2fv')+$[_0x3cf4('29','KZ6d')]+'\x20'+$[_0x3cf4('2a','s]Or')]+'\x0a请重新登录获取cookie')}else{data=JSON[_0x3cf4('2b','Rslv')](data);if(_0x102604[_0x3cf4('2c','ba#n')](data[_0x3cf4('2d','V2fv')],_0x102604[_0x3cf4('2e','[OGp')])){$[_0x3cf4('2f','b(hu')]=![];return}if(_0x102604[_0x3cf4('30','Rx)[')](data[_0x3cf4('31','$t2X')],'0')&&data['data'][_0x3cf4('32','O4A6')](_0x102604[_0x3cf4('33','B)Ah')])){$[_0x3cf4('34','L@bv')]=data['data'][_0x3cf4('35','^NJe')][_0x3cf4('36','06e5')][_0x3cf4('37','06e5')]}}}continue}}$[_0x3cf4('7b','!fh!')]=0x0;await _0x102604[_0x3cf4('7c','$tJB')](getTask);await _0x102604[_0x3cf4('7d','KZ6d')](task);for(let _0x4d8d07=0x0;_0x102604['JLfdj'](_0x4d8d07,$[_0x3cf4('7e','S)uu')]);_0x4d8d07++){await lottery();await $[_0x3cf4('7f','[OGp')](0x3e8)}if($['beanAmount']!==0x0){$['msg']($['name'],_0x102604[_0x3cf4('80','B)Ah')],_0x3cf4('81','YEm)')+$[_0x3cf4('82','#u7l')]+_0x3cf4('83','Aw5M'))}else{$['msg']($[_0x3cf4('84','L@bv')],_0x102604['NFyCz'],'大奖一闪而过,啥也没捞着。')}}}})()[_0x3cf4('85','[OGp')](_0x6eafe5=>{$[_0x3cf4('86','KZ6d')]('','❌\x20'+$[_0x3cf4('87','4rG7')]+_0x3cf4('88',')AMV')+_0x6eafe5+'!','')})[_0x3cf4('89','L@bv')](()=>{$[_0x3cf4('8a','4rG7')]()});function getTask(){var _0x450cf9={'IEZvC':function(_0x3bf952,_0x1a847e){return _0x3bf952!==_0x1a847e},'zruOh':'api.m.jd.com','RYtCF':'gzip,\x20deflate,\x20br','ABKXh':_0x3cf4('8b','(Gn$'),'MIIww':'zh-cn','pYmUX':function(_0x1609a5,_0x285a92){return _0x1609a5!==_0x285a92},'Nftyj':_0x3cf4('8c','s]Or'),'HBHnN':function(_0x3414f4,_0x1cf816){return _0x3414f4===_0x1cf816},'lqZoA':_0x3cf4('8d','V2fv'),'twaIl':_0x3cf4('8e','V2fv'),'orPXb':function(_0x527c86){return _0x527c86()}};let _0x1b23c7='{}';return new Promise(_0x41e076=>{$[_0x3cf4('8f','K!fY')](taskUrl(_0x3cf4('90',')AMV'),_0x1b23c7),(_0x1ada9a,_0x3d8210,_0x51b4bc)=>{var _0x88a7ec={'ptLZX':function(_0x4679e4,_0x4bd37b){return _0x450cf9[_0x3cf4('91','O4A6')](_0x4679e4,_0x4bd37b)},'aVCPH':_0x450cf9[_0x3cf4('92','Tt*L')],'ScKbM':_0x450cf9['RYtCF'],'GSYWW':_0x450cf9[_0x3cf4('93','*kFb')],'tbURy':_0x3cf4('94',')AMV'),'vVULN':_0x450cf9[_0x3cf4('95','G6sq')]};try{if(_0x1ada9a){if(_0x450cf9[_0x3cf4('96','$t2X')](_0x450cf9[_0x3cf4('97','qRB0')],'KDyxu')){$[_0x3cf4('98','xfBE')]=JSON[_0x3cf4('99','F6A!')](_0x51b4bc);if(_0x88a7ec[_0x3cf4('9a','#v(A')]($[_0x3cf4('9b','$tJB')][_0x3cf4('9c','4rG7')][_0x3cf4('9d','i]Ei')],0x0)){let _0x26a695={'url':_0x3cf4('9e','b(hu'),'headers':{'Host':_0x88a7ec[_0x3cf4('9f','QcVs')],'Content-Type':_0x3cf4('a0','Hrei'),'Origin':_0x3cf4('a1','ba#n'),'Accept-Encoding':_0x88a7ec[_0x3cf4('a2','N]9Y')],'Cookie':cookie,'Connection':_0x88a7ec['GSYWW'],'Accept':'application/json,\x20text/plain,\x20*/*','User-Agent':_0x88a7ec[_0x3cf4('a3','#u7l')],'Referer':_0x3cf4('a4','B)Ah')+$['dataGet']['data'][0x0][_0x3cf4('a5','s]Or')]+_0x3cf4('a6','K!fY'),'Accept-Language':_0x88a7ec['vVULN']},'body':_0x3cf4('a7','[OGp')+$[_0x3cf4('a8','$t2X')]['data'][0x0][_0x3cf4('a9','CojZ')]+_0x3cf4('aa','F6A!')+$['dataGet'][_0x3cf4('9c','4rG7')][0x0][_0x3cf4('ab','V2fv')]+',\x22userPic\x22:\x22\x22}&client=wh5&clientVersion=1.0.0'};return new Promise(_0x29ef4d=>{$[_0x3cf4('ac','3@Iu')](_0x26a695,(_0x1b92f0,_0x1b2490,_0x1cf292)=>{})})}}else{console['log']('err:'+JSON['stringify'](_0x1ada9a))}}else{_0x51b4bc=JSON['parse'](_0x51b4bc);if(_0x450cf9[_0x3cf4('ad','06e5')](_0x51b4bc[_0x3cf4('ae','[OGp')][_0x3cf4('61','DNbt')],0x0)){console[_0x3cf4('af',')AMV')](_0x450cf9[_0x3cf4('b0','CojZ')]);$[_0x3cf4('b1',')AMV')]=_0x51b4bc[_0x3cf4('b2','Rslv')]['taskPoolInfo'];$['taskSkuInfo']=_0x51b4bc['result'][_0x3cf4('67','Rslv')];$[_0x3cf4('b3','Rslv')]=_0x51b4bc[_0x3cf4('b4','MYvW')]['interactionId']}if(_0x51b4bc[_0x3cf4('b5','CojZ')][_0x3cf4('b6','KZ6d')](_0x3cf4('b7','xfBE'))){$['shopInfoList']=_0x51b4bc['result']['shopInfoList']}}}catch(_0x4ecf69){if(_0x450cf9['twaIl']!==_0x450cf9[_0x3cf4('b8','DNbt')]){$[_0x3cf4('b9','DNbt')]=_0x51b4bc[_0x3cf4('ba','Ft5F')]['shopInfoList']}else{$[_0x3cf4('bb','4rG7')](_0x4ecf69)}}finally{_0x450cf9['orPXb'](_0x41e076)}})})}async function task(){var _0x14227c={'WwGGA':_0x3cf4('bc','!fh!'),'IxSYl':function(_0x2f97ec,_0x48b2d2){return _0x2f97ec===_0x48b2d2},'dGvgJ':function(_0x2e5fc3,_0x2f3a56){return _0x2e5fc3(_0x2f3a56)},'swclw':'browseTime','HFUFs':'FTKWS','funvm':function(_0x28b055,_0x59bc63){return _0x28b055(_0x59bc63)}};for(let _0x40ed34 of $[_0x3cf4('bd','s]Or')]['taskList']){switch(_0x40ed34[_0x3cf4('be','b(hu')]){case 0x4:for(let _0x1b9ff4 of $['taskSkuInfo']){if(_0x14227c[_0x3cf4('bf','$tJB')](_0x1b9ff4[_0x3cf4('c0','F6A!')],0x0)){let _0x253777='{\x22sku\x22:\x22'+_0x1b9ff4['skuId']+_0x3cf4('c1',')AMV')+$[_0x3cf4('c2','O4A6')]+_0x3cf4('c3','V2fv')+$[_0x3cf4('c4','06e5')][_0x3cf4('c5','06e5')]+_0x3cf4('c6','qRB0');await _0x14227c[_0x3cf4('c7','xfBE')](doTask,_0x253777);await $[_0x3cf4('7f','[OGp')](0xbb8)}}break;case 0x7:for(let _0x1944ff of $[_0x3cf4('c8','Aw5M')]){let _0x253777=_0x3cf4('c9','dWU$')+$[_0x3cf4('ca','#v(A')]+_0x3cf4('cb','QcVs')+_0x1944ff['shopId']+',\x22taskPoolId\x22:'+$['taskPoolInfo'][_0x3cf4('cc','[OGp')]+',\x22taskType\x22:'+_0x40ed34['taskId']+'}';await doTask(_0x253777);await $[_0x3cf4('cd','V2fv')](0xbb8)}break;default:if(_0x40ed34[_0x3cf4('ce','Euzh')]===0x0){if(_0x40ed34['hasOwnProperty'](_0x14227c[_0x3cf4('cf','L@bv')])){await $[_0x3cf4('d0','3@Iu')](_0x40ed34[_0x3cf4('d1','2x^q')]*0x3e8)}else{if(_0x14227c[_0x3cf4('d2','QcVs')]!==_0x14227c[_0x3cf4('d3','KZ6d')]){$[_0x3cf4('d4','Hrei')]($[_0x3cf4('d5','K!fY')],_0x3cf4('d6','Hrei'),_0x14227c[_0x3cf4('d7','#v(A')],{'open-url':_0x14227c[_0x3cf4('d8','dWU$')]});return}else{await $[_0x3cf4('d9','xfBE')](0xbb8)}}let _0x33cb1a='{\x22interactionId\x22:'+$[_0x3cf4('da','jTEl')]+_0x3cf4('db','CojZ')+$[_0x3cf4('dc','MYvW')][_0x3cf4('dd','Tt*L')]+_0x3cf4('de','QcVs')+_0x40ed34['taskId']+'}';await _0x14227c[_0x3cf4('df','ba#n')](doTask,_0x33cb1a)}break}}}function doTask(_0x17780f){var _0x3aad1c={'JcCMU':function(_0x115b8b,_0xb35248){return _0x115b8b===_0xb35248},'ppOfv':function(_0x3bc41c,_0x31b8a0){return _0x3bc41c!==_0x31b8a0},'oInHK':'ACDRU','lzYGx':_0x3cf4('e0','#u7l'),'cwBvD':function(_0x2e1be5){return _0x2e1be5()},'LoPAj':_0x3cf4('e1','Rx)[')};return new Promise(_0x1aafc0=>{var _0x4a0403={'qitUA':function(_0x20bb7a,_0x1fd0a0){return _0x3aad1c[_0x3cf4('e2','4rG7')](_0x20bb7a,_0x1fd0a0)},'PvBAU':'uXTef','wvTOS':function(_0x2ad493,_0x3ae7a7){return _0x3aad1c[_0x3cf4('e3','L@bv')](_0x2ad493,_0x3ae7a7)},'EMjXA':_0x3aad1c[_0x3cf4('e4','d7bo')],'SyOtJ':function(_0x46b78e,_0x50f902){return _0x3aad1c[_0x3cf4('e5','d7bo')](_0x46b78e,_0x50f902)},'BjyLc':_0x3aad1c[_0x3cf4('e6','9bsA')],'FJxlZ':function(_0x44d6b2){return _0x3aad1c['cwBvD'](_0x44d6b2)}};if(_0x3aad1c['ppOfv']('riIGM',_0x3cf4('e7','YEm)'))){$['get'](taskUrl(_0x3aad1c[_0x3cf4('e8','06e5')],_0x17780f),(_0x152c35,_0x2c1860,_0x45b107)=>{try{if(_0x152c35){if(_0x4a0403[_0x3cf4('e9','xfBE')](_0x4a0403[_0x3cf4('ea','CojZ')],_0x4a0403[_0x3cf4('eb','N]9Y')])){console[_0x3cf4('af',')AMV')](''+JSON[_0x3cf4('ec','3@Iu')](_0x152c35))}else{console[_0x3cf4('ed','Rx)[')](_0x45b107['result'][_0x3cf4('ee','(^oZ')])}}else{if(_0x4a0403['wvTOS']('Mrezu',_0x4a0403['EMjXA'])){_0x45b107=JSON[_0x3cf4('ef','xfBE')](_0x45b107);$[_0x3cf4('f0','V2fv')]=_0x45b107[_0x3cf4('f1','Rx)[')][_0x3cf4('f2','s]Or')];console[_0x3cf4('f3','QcVs')](_0x45b107[_0x3cf4('b4','MYvW')][_0x3cf4('f4','L@bv')])}else{console[_0x3cf4('f5','MYvW')](''+JSON[_0x3cf4('f6','KZ6d')](_0x152c35))}}}catch(_0x1cd5a2){$[_0x3cf4('f7','3@Iu')](_0x1cd5a2)}finally{if(_0x4a0403['SyOtJ'](_0x4a0403['BjyLc'],_0x4a0403[_0x3cf4('f8','2x^q')])){_0x4a0403[_0x3cf4('f9','^NJe')](_0x1aafc0)}else{$[_0x3cf4('fa','O4A6')](e)}}})}else{$['logErr'](e)}})}function lottery(){var _0xf938a4={'cZfNh':_0x3cf4('fb','06e5'),'GVQhi':_0x3cf4('fc','Aw5M'),'ZAKLc':'gzip,\x20deflate,\x20br','dyZkG':_0x3cf4('fd','F6A!'),'HFlIV':_0x3cf4('fe','jTEl'),'zwYEz':_0x3cf4('ff','dWU$'),'vZvUH':function(_0x524a69,_0x145ea9){return _0x524a69===_0x145ea9},'eXHpM':'zFOZO','jdHtg':_0x3cf4('100','Ft5F'),'CrtDP':function(_0x4c85ec,_0x4b69db){return _0x4c85ec===_0x4b69db},'uANbE':function(_0x43d557,_0x512e61){return _0x43d557(_0x512e61)},'vOkvK':_0x3cf4('101','2x^q'),'PnnQY':function(_0x1cb3f0,_0x12221b){return _0x1cb3f0!==_0x12221b},'BpQop':_0x3cf4('102','Tt*L'),'fCQWN':function(_0xe34360){return _0xe34360()},'txljz':function(_0xc26028,_0x36fdff,_0x34ebf7){return _0xc26028(_0x36fdff,_0x34ebf7)}};let _0x42aef8=_0x3cf4('103','W6Ht')+$[_0x3cf4('104','B)Ah')]+'}';return new Promise(_0x42c810=>{var _0x3a8919={'Zreyx':function(_0x1a5067){return _0x1a5067()}};$[_0x3cf4('105','*kFb')](_0xf938a4[_0x3cf4('106','K!fY')](taskUrl,_0x3cf4('107','[OGp'),_0x42aef8),(_0x290b5c,_0x53ad43,_0x48ac0c)=>{var _0x120ed2={'ZLGhB':_0xf938a4[_0x3cf4('108','2x^q')],'SJPqs':_0xf938a4[_0x3cf4('109','Ft5F')],'gsbRJ':_0xf938a4[_0x3cf4('10a','ba#n')],'VlMzH':_0xf938a4[_0x3cf4('10b',')AMV')],'PswxT':_0x3cf4('10c','L@bv'),'IRziC':_0xf938a4[_0x3cf4('10d','G6sq')],'QzcGs':_0x3cf4('10e','K!fY')};try{if(_0x290b5c){console['log'](_0x3cf4('10f','Rx)[')+JSON['stringify'](_0x290b5c))}else{_0x48ac0c=JSON['parse'](_0x48ac0c);if(_0x48ac0c[_0x3cf4('110','G6sq')][_0x3cf4('111','d7bo')](_0xf938a4[_0x3cf4('112','9bsA')])){if(_0xf938a4[_0x3cf4('113','[OGp')](_0xf938a4[_0x3cf4('114','Rslv')],_0xf938a4[_0x3cf4('115','#v(A')])){_0x3a8919[_0x3cf4('116','Ft5F')](_0x42c810)}else{if(_0xf938a4[_0x3cf4('117','[OGp')](_0x48ac0c[_0x3cf4('118','2x^q')][_0x3cf4('119','L@bv')][_0x3cf4('11a','CojZ')],'京豆')){console[_0x3cf4('11b','xfBE')]('获得'+_0x48ac0c['result'][_0x3cf4('11c','MYvW')][_0x3cf4('11d','3@Iu')]+_0x3cf4('11e','2x^q'));$['beanAmount']+=_0xf938a4['uANbE'](parseInt,_0x48ac0c[_0x3cf4('11f','$t2X')][_0x3cf4('120','Euzh')]['quantity'])}else{console['log'](_0x48ac0c[_0x3cf4('121','gdre')][_0x3cf4('122','W6Ht')])}}}else{console['log'](_0x48ac0c['result'][_0x3cf4('123','ba#n')])}}}catch(_0x5536a0){if(_0xf938a4[_0x3cf4('124','06e5')](_0x3cf4('125','MYvW'),_0xf938a4['vOkvK'])){$[_0x3cf4('126','s]Or')]($[_0x3cf4('127','i]Ei')],_0x120ed2[_0x3cf4('128','(^oZ')],_0x120ed2[_0x3cf4('129','G6sq')])}else{$[_0x3cf4('12a','Hrei')](_0x5536a0)}}finally{if(_0xf938a4[_0x3cf4('12b','DNbt')](_0xf938a4[_0x3cf4('12c','2x^q')],_0xf938a4[_0x3cf4('12d','9MbR')])){let _0x4a8144={'url':'https://api.m.jd.com/client.action','headers':{'Host':_0x3cf4('12e','Tt*L'),'Content-Type':_0x3cf4('12f','W6Ht'),'Origin':'https://h5.m.jd.com','Accept-Encoding':_0x120ed2[_0x3cf4('130','G6sq')],'Cookie':cookie,'Connection':_0x120ed2['VlMzH'],'Accept':_0x120ed2[_0x3cf4('131','Ft5F')],'User-Agent':_0x120ed2[_0x3cf4('132','3@Iu')],'Referer':_0x3cf4('133',')AMV')+$[_0x3cf4('134','9MbR')][_0x3cf4('135','Euzh')][0x0][_0x3cf4('136','dWU$')]+_0x3cf4('137','G6sq'),'Accept-Language':_0x120ed2[_0x3cf4('138','gdre')]},'body':_0x3cf4('139','W6Ht')+$[_0x3cf4('13a','dWU$')][_0x3cf4('13b','jTEl')][0x0][_0x3cf4('13c','B)Ah')]+_0x3cf4('13d','K!fY')+$['dataGet']['data'][0x0][_0x3cf4('13e','i]Ei')]+_0x3cf4('13f','W6Ht')};return new Promise(_0xe5b5b8=>{$[_0x3cf4('140','B)Ah')](_0x4a8144,(_0x2256ef,_0x331d12,_0x48eb15)=>{})})}else{_0xf938a4[_0x3cf4('141','L@bv')](_0x42c810)}}})})}function taskUrl(_0x4e30f9,_0x1b0926){var _0x3d9a17={'VSLJu':function(_0x32ae59,_0x8dd44d){return _0x32ae59(_0x8dd44d)},'SOtrc':_0x3cf4('142','#u7l'),'VMoNY':_0x3cf4('143','$tJB'),'bhKAr':_0x3cf4('144','b(hu'),'ZQVjT':_0x3cf4('145','Tt*L'),'lSLny':_0x3cf4('146','Aw5M')};return{'url':'https://api.m.jd.com/client.action?functionId='+_0x4e30f9+'&appid=content_ecology&client=wh5&clientVersion=9.4.0&body='+_0x3d9a17[_0x3cf4('147','06e5')](encodeURIComponent,_0x1b0926),'headers':{'Host':'api.m.jd.com','Origin':_0x3d9a17[_0x3cf4('148','Rslv')],'Cookie':cookie,'Connection':_0x3d9a17['VMoNY'],'Accept':_0x3d9a17[_0x3cf4('149','gdre')],'User-Agent':_0x3cf4('14a','Tt*L'),'Accept-Language':_0x3d9a17[_0x3cf4('14b','CojZ')],'Accept-Encoding':_0x3d9a17[_0x3cf4('14c','^NJe')],'Referer':'https://h5.m.jd.com/babelDiy/Zeus/3ir78c82wkBTA4kwtuAUb3F1T5ej/index.html'}}}function checkCookie(){var _0x254ab0={'GscyS':_0x3cf4('14d','F6A!'),'TDWvE':function(_0x1cf393,_0x44806a){return _0x1cf393===_0x44806a},'peqMv':'userInfo','TZrrH':'ESvVJ','WFWyM':'京东返回了空数据','NcJQX':function(_0x462c70){return _0x462c70()},'nKOLU':'me-api.jd.com','MAKGd':_0x3cf4('14e','G6sq'),'yjjtC':_0x3cf4('14f','#u7l'),'oKtZj':_0x3cf4('150','S)uu'),'OrykA':'gzip,\x20deflate,\x20br'};const _0x3de911={'url':_0x3cf4('151','Tt*L'),'headers':{'Host':_0x254ab0[_0x3cf4('152','*kFb')],'Accept':_0x254ab0[_0x3cf4('153','DNbt')],'Connection':_0x254ab0[_0x3cf4('154','N]9Y')],'Cookie':cookie,'User-Agent':'Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x2014_3\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/605.1.15\x20(KHTML,\x20like\x20Gecko)\x20Version/14.0.2\x20Mobile/15E148\x20Safari/604.1','Accept-Language':_0x254ab0[_0x3cf4('155','QcVs')],'Referer':_0x3cf4('156','DNbt'),'Accept-Encoding':_0x254ab0['OrykA']}};return new Promise(_0x5a91de=>{$[_0x3cf4('157','gdre')](_0x3de911,(_0x34e80d,_0x3519fd,_0x79a513)=>{var _0x1e06ed={'EIswf':function(_0xc99453){return _0xc99453()}};if(_0x3cf4('158','QcVs')!==_0x254ab0[_0x3cf4('159','MYvW')]){try{if(_0x34e80d){$[_0x3cf4('15a','QcVs')](_0x34e80d)}else{if(_0x79a513){_0x79a513=JSON[_0x3cf4('99','F6A!')](_0x79a513);if(_0x254ab0[_0x3cf4('15b','9MbR')](_0x79a513['retcode'],_0x3cf4('15c','jTEl'))){$[_0x3cf4('15d','2x^q')]=![];return}if(_0x79a513[_0x3cf4('15e','Rx)[')]==='0'&&_0x79a513[_0x3cf4('15f','K!fY')][_0x3cf4('160','#u7l')](_0x254ab0[_0x3cf4('161','W6Ht')])){$[_0x3cf4('162','Rslv')]=_0x79a513[_0x3cf4('5b','#u7l')]['userInfo'][_0x3cf4('163','2x^q')][_0x3cf4('164','3@Iu')]}}else{if(_0x254ab0['TZrrH']==='ESvVJ'){$[_0x3cf4('165','s]Or')](_0x254ab0[_0x3cf4('166',')AMV')])}else{$[_0x3cf4('167','9MbR')](e)}}}}catch(_0x2017fa){$[_0x3cf4('168','F6A!')](_0x2017fa)}finally{_0x254ab0[_0x3cf4('169','N]9Y')](_0x5a91de)}}else{_0x1e06ed['EIswf'](_0x5a91de)}})})};_0xodK='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, o) => { 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.logSeparator = "\n", this.startTime = (new Date).getTime(), Object.assign(this, e), this.log("", `\ud83d\udd14${this.name}, \u5f00\u59cb!`) } 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 o = this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout"); o = o ? 1 * o : 20, o = e && e.timeout ? e.timeout : o; const [r, h] = i.split("@"), a = { url: `http://${h}/v1/scripting/evaluate`, body: { script_text: t, mock_type: "cron", timeout: o }, headers: { "X-Key": r, Accept: "*/*" } }; this.post(a, (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), o = JSON.stringify(this.data); s ? this.fs.writeFileSync(t, o) : i ? this.fs.writeFileSync(e, o) : this.fs.writeFileSync(t, o) } } lodash_get(t, e, s) { const i = e.replace(/\[(\d+)\]/g, ".$1").split("."); let o = t; for (const t of i) if (o = Object(o)[t], void 0 === o) return s; return o } 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), o = s ? this.getval(s) : ""; if (o) try { const t = JSON.parse(o); e = t ? this.lodash_get(t, i, "") : e } catch (t) { e = "" } } return e } setdata(t, e) { let s = !1; if (/^@/.test(e)) { const [, i, o] = /^@(.*?)\.(.*?)$/.exec(e), r = this.getval(i), h = i ? "null" === r ? null : r || "{}" : "{}"; try { const e = JSON.parse(h); this.lodash_set(e, o, t), s = this.setval(JSON.stringify(e), i) } catch (e) { const r = {}; this.lodash_set(r, o, t), s = this.setval(JSON.stringify(r), 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() ? $httpClient.get(t, (t, s, i) => { !t && s && (s.body = i, s.statusCode = s.status), e(t, s, i) }) : this.isQuanX() ? $task.fetch(t).then(t => { const { statusCode: s, statusCode: i, headers: o, body: r } = t; e(null, { status: s, statusCode: i, headers: o, body: r }, r) }, t => e(t)) : this.isNode() && (this.initGotEnv(t), this.got(t).on("redirect", (t, e) => { try { const s = t.headers["set-cookie"].map(this.cktough.Cookie.parse).toString(); this.ckjar.setCookieSync(s, null), e.cookieJar = this.ckjar } catch (t) { this.logErr(t) } }).then(t => { const { statusCode: s, statusCode: i, headers: o, body: r } = t; e(null, { status: s, statusCode: i, headers: o, body: r }, r) }, t => e(t))) } 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()) $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", $task.fetch(t).then(t => { const { statusCode: s, statusCode: i, headers: o, body: r } = t; e(null, { status: s, statusCode: i, headers: o, body: r }, r) }, 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: o, body: r } = t; e(null, { status: s, statusCode: i, headers: o, body: r }, r) }, t => e(t)) } } time(t) { let e = { "M+": (new Date).getMonth() + 1, "d+": (new Date).getDate(), "H+": (new Date).getHours(), "m+": (new Date).getMinutes(), "s+": (new Date).getSeconds(), "q+": Math.floor(((new Date).getMonth() + 3) / 3), S: (new Date).getMilliseconds() }; /(y+)/.test(t) && (t = t.replace(RegExp.$1, ((new Date).getFullYear() + "").substr(4 - RegExp.$1.length))); for (let s in e) new RegExp("(" + s + ")").test(t) && (t = t.replace(RegExp.$1, 1 == RegExp.$1.length ? e[s] : ("00" + e[s]).substr(("" + e[s]).length))); return t } msg(e = t, s = "", i = "", o) { const r = t => { if (!t || !this.isLoon() && this.isSurge()) return t; if ("string" == typeof t) return this.isLoon() ? t : this.isQuanX() ? { "open-url": t } : void 0; if ("object" == typeof t) { if (this.isLoon()) { let e = t.openUrl || t["open-url"], s = t.mediaUrl || t["media-url"]; return { openUrl: e, mediaUrl: s } } if (this.isQuanX()) { let e = t["open-url"] || t.openUrl, s = t["media-url"] || t.mediaUrl; return { "open-url": e, "media-url": s } } } }; this.isMute || (this.isSurge() || this.isLoon() ? $notification.post(e, s, i, r(o)) : this.isQuanX() && $notify(e, s, i, r(o))); let h = ["", "==============\ud83d\udce3\u7cfb\u7edf\u901a\u77e5\ud83d\udce3=============="]; h.push(e), s && h.push(s), i && h.push(i), console.log(h.join("\n")), this.logs = this.logs.concat(h) } 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("", `\u2757\ufe0f${this.name}, \u9519\u8bef!`, t.stack) : this.log("", `\u2757\ufe0f${this.name}, \u9519\u8bef!`, t) } wait(t) { return new Promise(e => setTimeout(e, t)) } done(t = {}) { const e = (new Date).getTime(), s = (e - this.startTime) / 1e3; this.log("", `\ud83d\udd14${this.name}, \u7ed3\u675f! \ud83d\udd5b ${s} \u79d2`), this.log(), (this.isSurge() || this.isQuanX() || this.isLoon()) && $done(t) } }(t, e) }