forked from yuanteng1234566/Auto-jd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jd_adolf_newInteraction.js
23 lines (22 loc) · 51 KB
/
jd_adolf_newInteraction.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
618大势新品赏
更新地址:https://raw.githubusercontent.com/monk-coder/dust/dust/normal/adolf_newInteraction.js
============Quantumultx===============
[task_local]
#618大势新品赏
15 9,20 * 5,6 * https://raw.githubusercontent.com/monk-coder/dust/dust/normal/adolf_newInteraction.js, tag=618大势新品赏, enabled=true
================Loon==============
[Script]
cron "15 9,20 * 5,6 *" script-path=https://raw.githubusercontent.com/monk-coder/dust/dust/normal/adolf_newInteraction.js,tag=618大势新品赏
===============Surge=================
618大势新品赏 = type=cron,cronexp="15 9,20 * 5,6 *",wake-system=1,timeout=3600,script-path=https://raw.githubusercontent.com/monk-coder/dust/dust/normal/adolf_newInteraction.js
============小火箭=========
618大势新品赏 = type=cron,script-path=https://raw.githubusercontent.com/monk-coder/dust/dust/normal/adolf_newInteraction.js, cronexpr="15 9,20 * 5,6 *", timeout=3600, enable=true
*/
const $ = new Env("618大势新品赏");
const jdCookieNode = $.isNode() ? require('./jdCookie.js') : '';
const notify = $.isNode() ? require('./sendNotify') : '';
var _0xodP='jsjiami.com.v6',_0x300f=[_0xodP,'VDVawqMWXBLDscKcwr8=','wobCnF0HLW0=','Uz9cwoQvQAk=','G8KMeMOuw71W','wr/ChsOUMA==','KMKpw6XDiV4=','wr/CuMOMwpodTw==','MTrCjMOow74=','wqDDnsOtwo1f','wr0cwqDCogQ=','w5HDqMO2w7/CsnoXwoAz','wrrCnsOPw57ClQ==','ZcOCZsKjw78=','w5XDkMKCwpFzwrBG','w7DCi3ZEw74=','wp/CuMOMwppn','FH3Cix11','wrDChMOaw5YXw60yw5XDqQ==','w57ChmF1w6Y=','w67DpMOMw5QM','w79tNHDDmFBBw7zDksK2UEnCrQ==','woTCisOCw4YE','w5DCpcOmDUDDlUPCtsO1','MwjCgyDDgCs=','SsOfAU3Cvw==','wpPChMOHw4kKw6Y=','w5I2w4xHwpE=','woHCqTDDpcOg','wpDCmcO1w6PCvsK6IA==','wrjDqnMWZ8K9wpImwrTDtw==','wqLCngbDiMOew5o=','KwzCnizDvSc=','VzVAwrw=','LHnCpA==','woXCm8Oyw4HCmcK4','GzPCr8OWw6c=','w4cpw4BHwoYUwprCscOFWMKxYsOULULCtA==','aUvCvcKaw5zCoBY=','EgLCnyLDsywdH0TCpcObHQ5Q','DsOaw5bDsC4=','wrhFVXpD','wrDCvsOGw4PCpw==','LsONwrIxwpIFwpDCsxw=','w5o4w4INw51B','T2LDuCrDhQ==','wqbCjChfwqg=','ccOZCA==','YsKNwqFC','IMOM5ae96LSCwrbCouWNhOWatVIh','wqVpcmJwEcKswp0=','w5c/w5F8wpEiwpQ=','wqVpcmJkEcKtwpTDosOI','OQHCgijDhg8bCEM=','GMKMYsOx','LW/CuwHCgA==','F8Kzw7jDjQ==','wqdRcTo=','cSxFwpIU','wqrDncOYwptg','w5AVw65lwog=','w4gDBW/Crg==','wrcUwo/CgS4=','w5HCrMO9K1zDrU/Ct8OgVMKaWzXCuF3CvX3Dgg==','w7XDuDXDm8OSFMKUw4FjLsO3JTzDrsKDT8O9w7gBwqTDmErCkxQj','woPCtMOIw6nCgQ==','woLChcO6CVw=','w5XDoMO+w7LCiw==','bl7DohrDtg==','AybDiMOmwrg=','wpvDjcKmKwU=','w5hfJ33Dmw==','e3zCj8Kl','wp/DlcKYHTY=','wpHCtMOQwqIw','Gk3CqU9l','ccOFNlPCmA==','w6pvw402Mg==','w4IFw4Aew4Y=','KzXCgTPDmw==','wo/Ck8OpM2k=','w6Ryw7APPA==','S8OWO2Ey','L8KVw4Q=','W8KHwrYcwoM=','MMOqw4zDtxM=','FcKXw4XDqmo=','M8Kbw5HDqQY=','TBDDgsKhNSM=','KA7DqcOQwqM=','I3jCrhLCjg==','JcKWw4zDtRHDmEU0Wg==','w5I8w5gL','wpRHcQ==','PAzDpMOcwpzDm0Q=','w4lSH0/DvQ==','w5c+w5gjw4dPw4M=','MnPCsB7Cu8Ol','JMKdJCvDhcOHeEAmwoXClMKH','wqXCtcOVw7cE','eXbCj8KkT2o=','ZcKfwoBIw6PDtsK+JxE=','w63DhsO4','5oiB5Ymp5LuG5LqO5bKG6a655pW9','woxCwrfCl8OT','w6wUw5wTw5M=','M8OOw6PDlgDDh8Ohw5s=','PGfCq2s=','bcOwIXg=','w5c4w5M=','L8KTw5DDrg==','w4BZw7EYA8KfNy0L','wqbCigbDiw==','JmfCtWV7dQzDlA==','bcKXwqoTwrE=','wpo9wrPCqg4=','wqLCqsOzwp4zQg0=','wqDDpGc=','a8OzDVIo','McOPw7DDkRrDicO8w4TCiw==','B8KhSMOtw5w=','JMKLZcO0w7I=','wp7Ckkk=','PgzDucOGwp7Dn0XDtwAgESA=','wqYTwpHCkw==','w5jCoMOqCXzDuEfCoA==','w5PDpcOtw7E=','EsK1w67Dl0Qbw74V','QjVawq0PXRvDsg==','wqPDs8KIIhtPw6nDlQ==','A8Kpw6XDgA==','wrR9aURb','w4ckw6IMw5A=','EMKgCw==','JmnCk35PfxDDsm8Owq4=','LsOUw6U=','csKvwpcywrIIw7Ffw4jDvcOPVQ==','w7weH08=','wrRwZhMl','wpbDhMONwpxswq3DoB9J','Z8OGPVoJ','w4J5w6wWKA==','QsOKRMKIw5c=','TmfDlxzDusOTwrzDjQ8gBsOkw5jDnMO0','wpdYZWNX','YcOlIWkMwp7DoMKeU8Kxwo3CkAPCmXBOGG0v','w5fCucO5DlvDukvCscOoWMKAHTDCpXvCvTfCjcKEwo7Cs1gdAH3Cp3TCqMO5w7rDkxhV','w6ZtMm/CmFxIw7vDgMKV','w6bDk8O2w7xRX8OXw6zDs8Kiw5PDsVrDmw5jw6w=','SCBdwrg1CVLCssK0wqs2w5/CjsOnEAFbwqbCvwHCtx53KD7Dk07CgMKsO14/wr99dAcRRCZewrnCq8KbwqUGBsK0w5gdwpI8w5Z3bWzCp3FTOsOkS1hMe3ViwqnCoH9fw7DCmz/CtsODIxHCqcKPw5VrQRfChQLCqcKOwofDuA==','fRzDpMONwpXCrw==','BkPCgw1Q','TGbDgAfDrcOkwrTDhRc=','Ul3CpcKkYQ==','w53Cq29Ww6/DtFU+fMOow7bCrRkSDCzCmCE4wpjDnSlpwr4=','JsOYCn3CuCXDr8OAw40fJU/CmVgfwpDCpsKnTw==','w7hZbT0ow5DDqSzCrhXClcKlwqV/dgnDm2hEfsOzwrsuwr9OwoEFL3dCw6DDtC08w5PCkcKyDAXDrT7CsFvDq8KoDBRYK1JaSjjCp1DCicOpw4LDqsKmGMK+HVlmwqvDk8KncsO+asKGI8O4w4nDj8OKVQd0woFYRMOJPcOZcMOhw4rCghPDl2XCqMKuVsKlwqLChVbCvsOHc8OdwpvCr8O/w63DrMKWwrzCn8K7bMK4w6DDhsKdB8KoU0vCvsKCBMObPsOAw4nDoQ0pVjrCtHjCiVvDkMO3wp9pw43CnFfDi2smLQ7DulVnDMKVSMOVwq4xfzxTb8OdQcKywoPDrFRxK39fZiPCo8KpwpLCssKjwp/Cvk0dcS3Ch8KKwrTCqGc=','fMK0wpwuwrY=','FMK7GHzDt8OxJMKWCBrDvcOKwr/DrxEPw4PCp8OXVgfCs8KKw4BBEcK5ZsOyIcKvwq5BwqI/XDpCwrrDn8OyfcO3TcKzwrxnw47CnMKew58dw4VVwpvClhrClcOgw5LChXwCwqNiLlgYwo9NcMOJwrnChTQGw4oLw7YhEm7DsTrChcKEwqXCgsO9wpTDnw==','RhLDoMKXAw==','UcOHInDCqQ==','VRnDlsKGIQ==','woLDvmQzfA==','McKPw53DhEI=','JcKZHzrDmg==','djdnwrA/','w77Cr8OxEmg=','wr0rwrDClhI=','w4DDrcOIw70Y','cMK4wpE=','wpLDjcKtw4dK','ZMKIwpQIwqQ=','wrbCskklBw==','wrHDm8OMwpZc','wrzDg8Kqw4Rt','wpB2UAA0','NCrDmMO6wps=','wqDDjMOJwpV0','woLDosK7w6dY','w6MECw==','wqPDu8KGLA==','w6V8I2/DhgcLwr3DlMKVXlXDll/CiSbDucO1N8OVC3sJPcOjw77Cn0nCriMkwq7DmGfDoiQkXjPCpUpgNg==','Fy3CssOUw7rDl8OrEcOnw7rCo8KdAX8CNWsGwpNTLMO8wqNDWl01w4jCpcKlZMOuY8KHwpd/PRpww53CocKIw7M=','w5ozw4I=','Al/CtyJG','wrN9QFl8','w71pJWzDkA==','L0LCkDjCoA==','wpHCkkoJ','w5Aww4pawo0IwpLCrMOQ','JMOfXm8H','E8K/IRrDog==','wrXDiGkKfQ==','dFzDpwXDmQ==','Gw/ChcOhw68=','e13DlSfDoA==','wqPDn1MuQA==','wpDDhsOpwpl7','w5ZAw60f','DsKuAmjDq8Km','woXCocOQw60N','XcOWacK1','MwTCnjM=','wpfClcOzw6/CscK/Jw==','esO6IFUWw5fCuw==','wrLDnsOOwpY=','w4XCosO8K1Y=','LMKuw7DDiRQ=','w5HCo2FJw63Cg1UdYA==','CcKBZMOqw4Z+WEHCtw==','wqQPwpHCkA==','w5DDtsO2w6XCsH8a','WhTDhcK1','w7saw60uw7E=','w5sNOW7Chg==','NGrCqWFNVgvDgno=','MGPCsAM=','wofCh1kmPQ==','wprCkgdLwog=','wo7DhcOYwq5r','FxfDn8Otwr8=','amPCjMK9Sn0kw5rCoMKNw6zDh8KQb0fCiDEPwqlbw6PCimxtNHQaw6FVw5xvw6Rr','wqrDn8OJwo5+w7nCoVVTbcOrw4VAwpDCjkPDhHN0','w5Emw4xFw5Nkwp/CusOCWcKxUMOdbg3CpE4=','IMOVwqkuwpNzw5bDrwAiworCpsKXGMOWw6vDkwUjw7zCssKEwqvClwDDhsOuERzDu8OjEcOsOl3DusO+VEJ5UcK9X8OMJmwxEsKKIVRCw7fCpXhcChVEdTbDimtiwooWE8K3wr3CvUszw4jCnXXClmMPwotlTMO8w4wmw7TCnMObN3bDkVI=','wqrDn8OJwo5+w7nCoVVaKMKswoYDw5TCgAnCiX92w53Cgk7CsMKuw6oBFGPCocOmNMKoJMKk','wq3Du2lTWsO8wpcuw5PDsCks','wrbDoWUqeA==','PcKlOFXDoQ==','wrfDo8Ouwo5j','O8KZMjDCuMOJe0UZwo4=','w6dsNm/DhQZNw4LDnsKfUV7DgwvCiXnCs8Ovb8KLVXpdYw==','w6LDkcOQw5Q=','RB3CnMK3Nw==','woBXw7ETCMOu','w5VBw6weH8K0NzgG','wpHDp8O1w7nCpVgKw44wwqNUWcOPwr5qM8OAW2ETwocYwqB9w4pBNxfCv8Kbw6nCosKfwp3DsEleZAXDnMOKwpJqwqJawrhZw7wIwrsuw6glwqcNF8O4B8KxZWfCuQnClMKEw6laQMO/w54y','akfDuyo=','O8OCUg==','WRDDhcKAMDrCgA==','w6R0KURd','fcOpScKmw48=','IsKdOSTDusOF','BMOIw7PDtiU=','wrl8wqzCpsOE','woDCnEAIC2Q=','wrl/YnNX','VDt6wrw0WhPDug==','McOwwo47wqs=','w7DDksO/w5LClA==','w505w4BFw5IlwpfCtsOSUA==','K8KOw5fDqhDCrgNoRn0HfMO1woNdwpl4GSVfH8Oaw4I+b8KJw6JCThHCl0NvOMK+EF3CkMK5wrfCtsKHwpNLwoTDtcK6PMKFw6d6CkprwoXCl8OFwrw=','UcOYbMKcw7M=','Z0DCrcKWdQ==','wqrCisOOw4svw64Rwo/CpVpEwpXCkcOSw6MQC8Ozw6nDqzoRwqfCnMOAQ1fDi8KKLzwoegLCrEPDr3/DmXzCs8OfwpzDucOtwoF7w7vDuEzDu8KzwrbDnVDDslFdw7fDslDDqsOYwq0RF8KhdMOyb21Nw4csLhvDq1jCsybDsTvDusObPBBdw7U+w4rDrcK3fCrDiHrClMKpw6JSwrLDvMKASsKCD8O1w5fDv0E3FHQ0T1MRVsKzXSTDrz0qwo5iwql5MVzCoXHDnDI3WAo=','wrHCscKSwpI6','RMOWL1gN','P8O6TU8k','w43DksOYw4rCig==','OAjCmQ==','N1nClTJf','wpIdwofCjBg=','wqvChEMNLg==','ecKPwo5Dw5g=','wr9pbGw=','6YKF6KWq5L+d5puR5LiN56SO56SB5rGu','w4Y8w54Zw4w=','IGPCsm1Qfgc=','YMOiGXYYw43CoQ==','IsKZIyPDusOMcg==','c8K8wpE8','CirCo8OWw4DCg8KiUQ==','wq/Du8KYLDxAw6LDnw==','w77DqTPDk8OJAcKcw6o=','U33DlQ==','Z1bCr8K3UA==','wqTCiMOaAVTDnw==','wqxmSAAq','ZcO+Mg==','wpbDpOiMvuW/tQ==','wrJBYzc5w5XCsjw=','Mg3DhcOGwojDtw==','w53CrMOwEQ==','JMOUw7DDvRXDjcO9','w74CH0w=','woLCi8OC','JcKpVMOBw7FwZHU=','WBTDncKnPA==','wqHDtcKM','JMKpw6TDjmQQw6swwqM=','wrNVcCoo','wqHDhMOSwpVkwqY=','woLCiF0E','wrLClcOuw4HCucK5BcKpNg==','L8OEwqk6woE9wpg=','JcKTw4/DrgbDpg==','44OT5o+k56S444GI6K665Ye06I2x5Y6T5LmS5Lmh6Lec5Yy85LuALSlKwoM6QBDnmaPmjazkvLTnl6RzwocDeQMY55iF5Lio5LmB56yA5YqW6I2P5YyI','wpUqwrLCpzYJw7Rkw7xswrNEwr8i','w6pAJHbDng==','wo/CkcOAw5Iwwrhfwo/DshEVw5vCl8OWwp0SAMKzw6/Cv3d9wpXCrMKBRCjDkMKMJjdBWzXDqQrDtUHCiSjCtsOZwpk=','AMOgbGQ5','LUnCrw0=','cxl/wr0p','VgHDhcKkKm3DisKfU0jDp8OcworDmcKpw7zDgw1MJcKcwrFQw4c5AyTDr21OwqbDpD3DncODwrgBw57Ch8KLwrIeGw==','OnLCsn5MIE3CnmwYwqo+w4AGMcKRwqRdIDPChMOaB8K7R1tow7jDil0jVMK4wrbCvsKdwq7DhUjCuz7DjcKP','wpxKY2B9','PMKZOSfDocOA','AsKPIg7DmQ==','wq3ClMO2wocD','NcK2w6LDsRc=','wqNtcWVVHcKn','wpjDoW0TVA==','wonDusKtw7VnCw==','ZMK6wpwVwpg=','wrPCtE8qKw==','wqLCkCbDl8Olw5fDt8Oj','wrzCiMOuMFTDhB7Dtw==','CcO7dHos','JULCkR3Cpg==','YQR5wpcHcT/Dj8OowpgVwrnCusOy','w5h7Mm3Du1xJw7c=','LsKbw5fDuQs=','MhDDr8OMwpQ=','YmDCsMK+RHcr','wrfCmno/Kw==','JMOOwro=','P8KZIsO7wpcuwq3lv5TlpYfjgoDkuovkuJfot5/lj4c=','NgPCiSLDjA==','wp/Ck8Oiw4HCnsK9IsKI','WcKfwqlVw5nDo8K2MA==','VsOlRibCrsOhIcKTSiU=','wr0Jwq7ClxAiw5g=','dmTDsRzDsQ==','G8KuEBPDvw==','wqHDuGc=','wq1Vbzw=','5Liu5LiE6LWg5Y+c','EsKmD2fDisKqZsOc','w5zorIvphq/mlqvnmpXlvIHojpDlj5DCiMOlwpN6wp9ywpVcwqs/Thk/wrzCr8O6wps+HUXDmSzCqMOuwo9/wpMNFRjDusOwMsKoPmlAC0rCpBrDhcOZw64=','OsKBFkvDjA==','wr/Cjyx0woox','wq7DtcKEIhxL5bW25aaB5pWsa8KXw6Y=','w5vor7/ph4zmlrnnmY/lvKvojbXljK7DiMODFDzCg2I=','wq9bZRw/w44=','w7fCjcOAJg==','w4DDlcO+w5zCsQ==','LcKfw6/DiSA=','EsKrw4DDpnc=','WCxRwrA+SwXDpcKtwqMnwonCm8KxAh0Nwr3CqBTDoAVjOSPDhULDlsK1IFIuwqhrMxwFVTtI','wofDjMOpwq1C','w5nDhgfDi8Oi','QjFIwqY=','w7jjg63kuoLkubDotYLlj74=','KXjCpw7Crw==','wrjClQFwwqA1SmM=','aMKrw71+w4Bpw5nDoEjilIPChOiNvOW8rlI=','woXCgMOVw4w=','f+S7geiyq+OBhQ==','woPCvRrDqMOO','VwbDv8K7PTI=','w4XDgj/Ds8O+','wp3Chh7DmcOY','wrvCgsOTIGjDggTDuUwo','ZXLCkcK0','wp3ClcOm','5om15Yij5Lu85Lu75bCs6a2K5pe8','LQjCnjLDmDc=','wrgVwoU=','w4cpw4Rbwostwo/Cpg==','w4AxJEzCpg==','wozDrcO1wpZA','w6B7MA==','wqXClADDr8O+w43DrQ==','fMKZwr9P','wqvChsOJJ04=','WcOcbw==','PsKdOiU=','JzPlp43ot7QCPuWPmuWZjsOzw4I=','wrITwozCmRsnw48=','w5PDq8O3w7U=','w4bDqsObw7XCsA==','wpVjwqpFNsOhDWYNa1fCjMOpKRLCusOEWVbCiGg6QAvDlHvCsA==','wojDn1EpTQ==','YVvClcKcTA==','wpbCkMORw5A6w5IRw47DsRkVw7PDlcOUw5wK','wqXCiMOgw4nCuw==','wr/Cn8O2w6jCosK9IcKJ','ScOEFk/CoyXDssOZ','w4MYHkHCrH7CnMONe8OGw54QXcK+','wo/DhMOPwptKwqzDoR5IGMKxw4kMw44=','w7szw5dQwrgrwpTCu8OXdcKkRcOadw==','Q8O/e8Kgw6U=','5bWw57uX5oi45Yib5Lqp5LiZ5Lqe6a615pWW','wqzDucKfABtIw6s=','KwzCnizDsCwcHg==','dQLDvsKdFw==','DsKOf8OMw5pUXg==','wrnCl8Ogw57Cow==','en3CvsK0Uw==','AsOhfmYa','Y8K8wpY2wowsw6dY','w5JUw60cIsKnPyoKaQ==','wrzChsOOL2/DiQ==','w70cGWjCgmLChw==','wo7CtiDDqsO2','PMKZBDnDvw==','w48+D0PCsw==','I8KXIgzDvMObYw==','w7Z5NUBmfQ==','wp9rS0VD','wpTDusOTwo5F','acOfJWjCvQ==','esOTG23Crj7DvA==','w5PDrz/Dk8OOBcKCw4VC','UDVbwrsj','PcKdJw==','M8KTOCvDvMON','w5RQw6gSA8KgOw==','w4Ypw5Zd','w7jDoMOMw4fChQ==','wqvDrnQZVsKmwpw=','w7TCoGFNw7bCqnYq','MU3CtA1DaTQ=','b8O4OW0aw5Y=','wp1vwonCmsOs','FH7Chy5G','VMOQfMKYw5Niw6g=','kjIshhwjzLJipJBamiG.xcom.v6=='];(function(_0x46d544,_0x3c5085,_0x4d5059){var _0x3df297=function(_0x97681b,_0x1e338e,_0x58d11a,_0x1cd6d5,_0x35a82a){_0x1e338e=_0x1e338e>>0x8,_0x35a82a='po';var _0x53e57c='shift',_0x3fd3d9='push';if(_0x1e338e<_0x97681b){while(--_0x97681b){_0x1cd6d5=_0x46d544[_0x53e57c]();if(_0x1e338e===_0x97681b){_0x1e338e=_0x1cd6d5;_0x58d11a=_0x46d544[_0x35a82a+'p']();}else if(_0x1e338e&&_0x58d11a['replace'](/[kIhhwzLJpJBGx=]/g,'')===_0x1e338e){_0x46d544[_0x3fd3d9](_0x1cd6d5);}}_0x46d544[_0x3fd3d9](_0x46d544[_0x53e57c]());}return 0x8ac04;};return _0x3df297(++_0x3c5085,_0x4d5059)>>_0x3c5085^_0x4d5059;}(_0x300f,0x118,0x11800));var _0xf3d6=function(_0x2f3e31,_0x3a89c9){_0x2f3e31=~~'0x'['concat'](_0x2f3e31);var _0x291ebd=_0x300f[_0x2f3e31];if(_0xf3d6['cWqcUL']===undefined){(function(){var _0x2d0e6a=typeof window!=='undefined'?window:typeof process==='object'&&typeof require==='function'&&typeof global==='object'?global:this;var _0x6e77c2='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';_0x2d0e6a['atob']||(_0x2d0e6a['atob']=function(_0x230109){var _0x4c9db8=String(_0x230109)['replace'](/=+$/,'');for(var _0x439300=0x0,_0x1a9870,_0x16d43f,_0x3e08c5=0x0,_0x296519='';_0x16d43f=_0x4c9db8['charAt'](_0x3e08c5++);~_0x16d43f&&(_0x1a9870=_0x439300%0x4?_0x1a9870*0x40+_0x16d43f:_0x16d43f,_0x439300++%0x4)?_0x296519+=String['fromCharCode'](0xff&_0x1a9870>>(-0x2*_0x439300&0x6)):0x0){_0x16d43f=_0x6e77c2['indexOf'](_0x16d43f);}return _0x296519;});}());var _0x3db635=function(_0x306cc8,_0x3a89c9){var _0x390ae2=[],_0x35bc5f=0x0,_0x1dcb08,_0x4d688c='',_0x4541ae='';_0x306cc8=atob(_0x306cc8);for(var _0x9bbed=0x0,_0x460981=_0x306cc8['length'];_0x9bbed<_0x460981;_0x9bbed++){_0x4541ae+='%'+('00'+_0x306cc8['charCodeAt'](_0x9bbed)['toString'](0x10))['slice'](-0x2);}_0x306cc8=decodeURIComponent(_0x4541ae);for(var _0x22320e=0x0;_0x22320e<0x100;_0x22320e++){_0x390ae2[_0x22320e]=_0x22320e;}for(_0x22320e=0x0;_0x22320e<0x100;_0x22320e++){_0x35bc5f=(_0x35bc5f+_0x390ae2[_0x22320e]+_0x3a89c9['charCodeAt'](_0x22320e%_0x3a89c9['length']))%0x100;_0x1dcb08=_0x390ae2[_0x22320e];_0x390ae2[_0x22320e]=_0x390ae2[_0x35bc5f];_0x390ae2[_0x35bc5f]=_0x1dcb08;}_0x22320e=0x0;_0x35bc5f=0x0;for(var _0x49baf4=0x0;_0x49baf4<_0x306cc8['length'];_0x49baf4++){_0x22320e=(_0x22320e+0x1)%0x100;_0x35bc5f=(_0x35bc5f+_0x390ae2[_0x22320e])%0x100;_0x1dcb08=_0x390ae2[_0x22320e];_0x390ae2[_0x22320e]=_0x390ae2[_0x35bc5f];_0x390ae2[_0x35bc5f]=_0x1dcb08;_0x4d688c+=String['fromCharCode'](_0x306cc8['charCodeAt'](_0x49baf4)^_0x390ae2[(_0x390ae2[_0x22320e]+_0x390ae2[_0x35bc5f])%0x100]);}return _0x4d688c;};_0xf3d6['MhNWkd']=_0x3db635;_0xf3d6['EiEXSC']={};_0xf3d6['cWqcUL']=!![];}var _0x312b72=_0xf3d6['EiEXSC'][_0x2f3e31];if(_0x312b72===undefined){if(_0xf3d6['brOCUz']===undefined){_0xf3d6['brOCUz']=!![];}_0x291ebd=_0xf3d6['MhNWkd'](_0x291ebd,_0x3a89c9);_0xf3d6['EiEXSC'][_0x2f3e31]=_0x291ebd;}else{_0x291ebd=_0x312b72;}return _0x291ebd;};let cookiesArr=[],cookie='',message='';if($[_0xf3d6('0','SvBB')]()){Object[_0xf3d6('1','H1PS')](jdCookieNode)[_0xf3d6('2','Tf)#')](_0x15b063=>{cookiesArr[_0xf3d6('3','!fLc')](jdCookieNode[_0x15b063]);});if(process['env']['JD_DEBUG']&&process[_0xf3d6('4','1Frd')][_0xf3d6('5','J[ys')]===_0xf3d6('6','zQOs'))console[_0xf3d6('7','cw4M')]=()=>{};}else{let cookiesData=$['getdata'](_0xf3d6('8','P*PH'))||'[]';cookiesData=JSON[_0xf3d6('9','@lFG')](cookiesData);cookiesArr=cookiesData['map'](_0x432f85=>_0x432f85[_0xf3d6('a','vX3C')]);cookiesArr['reverse']();cookiesArr[_0xf3d6('b','5qQv')](...[$['getdata'](_0xf3d6('c','MqA(')),$[_0xf3d6('d','!5@w')]('CookieJD')]);cookiesArr['reverse']();cookiesArr=cookiesArr[_0xf3d6('e','(I11')](_0x45dcd1=>!!_0x45dcd1);}!(async()=>{var _0x4a222e={'vLAkt':function(_0x3c2a51,_0x124b3b){return _0x3c2a51*_0x124b3b;},'oKJCx':function(_0x5c7c00,_0x468b50){return _0x5c7c00|_0x468b50;},'SMVuo':_0xf3d6('f','@lFG'),'MBbiI':function(_0x217335,_0x4f38db){return _0x217335<_0x4f38db;},'RsuNL':function(_0x118e68,_0x3c464b){return _0x118e68!==_0x3c464b;},'GqmFb':function(_0x4b24d3,_0x3b1402){return _0x4b24d3+_0x3b1402;},'eTRvq':_0xf3d6('10','WZCJ'),'YVDUU':function(_0x19cb7f,_0x5cbb47){return _0x19cb7f+_0x5cbb47;},'EgTSO':function(_0x24f8f4){return _0x24f8f4();},'IvCrr':function(_0x10dc4c,_0x125d7c){return _0x10dc4c===_0x125d7c;},'KRGSj':_0xf3d6('11','hu&9'),'FNzGH':_0xf3d6('12','1Frd'),'wQgLq':function(_0x4f16f4,_0x56786a,_0x29a97c){return _0x4f16f4(_0x56786a,_0x29a97c);},'neLSC':'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx','umKCz':function(_0x17d47a,_0x4f51e9){return _0x17d47a(_0x4f51e9);},'IFWsE':function(_0x3f44a3,_0x5f4cc5){return _0x3f44a3>_0x5f4cc5;},'UBoKY':function(_0x3e5e3f,_0x181442){return _0x3e5e3f!==_0x181442;},'maNQG':'CwemU','KykzO':'gwzSI','vqwzW':function(_0x3c0e92,_0x1938de){return _0x3c0e92===_0x1938de;},'NFHhM':_0xf3d6('13','@Mf%')};if(!cookiesArr[0x0]){$['msg']($[_0xf3d6('14','nNcR')],_0x4a222e[_0xf3d6('15','BVnG')],_0xf3d6('16','zQOs'),{'open-url':_0xf3d6('17','z#wg')});return;}for(let _0x162783=0x0;_0x4a222e[_0xf3d6('18','lgl*')](_0x162783,cookiesArr[_0xf3d6('19','[hh6')]);_0x162783++){if(_0x4a222e[_0xf3d6('1a','[hh6')]('fMIvW',_0xf3d6('1b','b[qv'))){var _0x325838={'Tjmnc':function(_0x3c26a1,_0x1277c0){return _0x4a222e[_0xf3d6('1c','(I11')](_0x3c26a1,_0x1277c0);},'sgyHX':function(_0x4e3064,_0x17667f){return _0x4a222e['oKJCx'](_0x4e3064,_0x17667f);},'AIaFO':function(_0x34f607,_0x4316a5){return _0x34f607&_0x4316a5;}};return format[_0xf3d6('1d','lgl*')](/[xy]/g,function(_0x50dd37){var _0x427d4f=_0x325838[_0xf3d6('1e','R3jS')](Math[_0xf3d6('1f','DQZg')](),0x10)|0x0,_0x12d804=_0x50dd37=='x'?_0x427d4f:_0x325838[_0xf3d6('20','L%D(')](_0x325838[_0xf3d6('21','5qQv')](_0x427d4f,0x3),0x8);if(UpperCase){uuid=_0x12d804[_0xf3d6('22','wNQn')](0x24)['toUpperCase']();}else{uuid=_0x12d804[_0xf3d6('23','P(qy')](0x24);}return uuid;});}else{if(cookiesArr[_0x162783]){cookie=_0x4a222e[_0xf3d6('24','@Mf%')](cookiesArr[_0x162783],_0x4a222e[_0xf3d6('25','fvY9')]);originCookie=_0x4a222e['GqmFb'](cookiesArr[_0x162783],_0xf3d6('26','BVnG'));newCookie='';$[_0xf3d6('27','hu&9')]=decodeURIComponent(cookie[_0xf3d6('28','(I11')](/pt_pin=(.+?);/)&&cookie['match'](/pt_pin=(.+?);/)[0x1]);$[_0xf3d6('29','SvBB')]=_0x4a222e['YVDUU'](_0x162783,0x1);$[_0xf3d6('2a','Zhv^')]=!![];$['nickName']='';await _0x4a222e[_0xf3d6('2b','5qQv')](checkCookie);console[_0xf3d6('2c','!5@w')](_0xf3d6('2d','O3CN')+$[_0xf3d6('2e','NJQc')]+'】'+($[_0xf3d6('2f','MqA(')]||$[_0xf3d6('30','8b17')])+_0xf3d6('31','&zOE'));if(!$[_0xf3d6('32','WZCJ')]){if(_0x4a222e[_0xf3d6('33','9#cr')](_0x4a222e['KRGSj'],_0x4a222e[_0xf3d6('34','[hh6')])){$[_0xf3d6('35','R3jS')]($[_0xf3d6('36','@lFG')],'【提示】cookie已失效',_0xf3d6('37','%XI1')+$['index']+'\x20'+($[_0xf3d6('38','&zOE')]||$['UserName'])+_0xf3d6('39','P#Iq'),{'open-url':_0x4a222e[_0xf3d6('3a','&zOE')]});if($[_0xf3d6('3b','P#Iq')]()){await notify['sendNotify']($['name']+_0xf3d6('3c','cw4M')+$['UserName'],'京东账号'+$['index']+'\x20'+$['UserName']+_0xf3d6('3d','lgl*'));}continue;}else{$[_0xf3d6('3e','@lFG')](err);}}$['bean']=0x0;$[_0xf3d6('3f','H1PS')]=_0x4a222e[_0xf3d6('40','7UwZ')](getUUID,_0x4a222e[_0xf3d6('41','(I11')],0x1);$['UUID']=_0x4a222e[_0xf3d6('42','P*PH')](getUUID,_0xf3d6('43','BVnG'));await _0x4a222e[_0xf3d6('44','vX3C')](newInteraction);if(_0x4a222e[_0xf3d6('45','Mv9f')]($[_0xf3d6('46','BVnG')],0x0)){message+=_0xf3d6('47','5qQv')+$[_0xf3d6('48','fvY9')]+'】'+($[_0xf3d6('49','P#Iq')]||$['UserName'])+_0xf3d6('4a','!5@w')+$[_0xf3d6('4b','1Frd')]+_0xf3d6('4c','NJQc');}}}}if(_0x4a222e[_0xf3d6('4d','wNQn')](message,'')){if($[_0xf3d6('4e','zQOs')]()){if(_0x4a222e[_0xf3d6('4f','Mv9f')](_0x4a222e['maNQG'],_0x4a222e[_0xf3d6('50','wNQn')])){await notify[_0xf3d6('51','P(qy')]($[_0xf3d6('52','Zhv^')],message,'','');}else{$[_0xf3d6('53','MqA(')](_0xf3d6('54','Zhv^'));for(const _0x4c35f3 of data[_0xf3d6('55','NJQc')]['lotteryInfoList']){$[_0xf3d6('56','WZCJ')]('\x20-获得'+_0x4c35f3[_0xf3d6('57','@vHR')]+_0x4c35f3['name']);}$['taskDone'][taskId]=0x1;}}else{if(_0x4a222e['vqwzW'](_0x4a222e[_0xf3d6('58','!fLc')],_0x4a222e[_0xf3d6('59','vX3C')])){$[_0xf3d6('5a','hu&9')]($['name'],'遇见你是一种福气',message);}else{$[_0xf3d6('5b','wNQn')][_0xf3d6('5c','8b17')](item['skuId']);}}}})()[_0xf3d6('5d','P(qy')](_0x28c892=>{$[_0xf3d6('5e','O3CN')]('','❌\x20'+$[_0xf3d6('5f','[hh6')]+_0xf3d6('60','Zhv^')+_0x28c892+'!','');})[_0xf3d6('61','WZCJ')](()=>{$[_0xf3d6('62','7UwZ')]();});async function newInteraction(){var _0x4635b0={'OdUWE':'CookieJD2','KwOIN':function(_0x24582c,_0x5cad6d,_0x117d91){return _0x24582c(_0x5cad6d,_0x117d91);},'Hmats':function(_0x2b31a2,_0x3ea7de){return _0x2b31a2===_0x3ea7de;},'LkgZT':_0xf3d6('63','7UwZ'),'XIUIa':function(_0x15303d,_0x1a2499,_0x6f7c8b){return _0x15303d(_0x1a2499,_0x6f7c8b);},'leSyj':'queryPanamaPage','AIcgX':_0xf3d6('64','iuv('),'NcJLw':function(_0x347c42,_0x28e4a3){return _0x347c42!==_0x28e4a3;},'VQnpH':_0xf3d6('65','R3jS'),'KdNtE':function(_0x3e3b97,_0x5d496f,_0x3dfbd3,_0x15b4ef){return _0x3e3b97(_0x5d496f,_0x3dfbd3,_0x15b4ef);},'WVEFw':'executeNewInteractionTask','OonlS':function(_0x2da71e,_0x209902){return _0x2da71e===_0x209902;},'buPsR':'UViaT','ifBZs':_0xf3d6('66','Zhv^'),'PqnrB':_0xf3d6('67','1Frd'),'GDxba':'TrendCategory','WUIuD':_0xf3d6('68','MqA('),'fknxO':_0xf3d6('69','MqA('),'iIoSy':_0xf3d6('6a','bEo2'),'oMSXq':'NewGoods','covdG':function(_0x462f32,_0x5da5ab){return _0x462f32<_0x5da5ab;},'djirn':function(_0x418e37,_0x13b7f9,_0x5aabca,_0x38a402){return _0x418e37(_0x13b7f9,_0x5aabca,_0x38a402);},'LaTHZ':_0xf3d6('6b','!fLc'),'iMTsw':_0xf3d6('6c','vX3C'),'ADGiw':_0xf3d6('6d','@vHR'),'AsQHS':function(_0x428640,_0x3523cb){return _0x428640<_0x3523cb;},'HPkFU':function(_0x13256b,_0x5848d5){return _0x13256b!==_0x5848d5;},'ppJDF':_0xf3d6('6e','O3CN'),'myxjW':_0xf3d6('6f','%XI1')};$[_0xf3d6('70','cw4M')]=null;$[_0xf3d6('71','NJQc')]={};await _0x4635b0[_0xf3d6('72','zQOs')](task,'getInteractionInfo',{'sign':0x3});if($[_0xf3d6('73','J[ys')]){if(_0x4635b0[_0xf3d6('74','MqA(')](_0xf3d6('75','Zhv^'),_0x4635b0[_0xf3d6('76','@Mf%')])){for(const _0x4a6501 of $['actInfo'][_0xf3d6('77','L%D(')]){if(!_0x4a6501[_0xf3d6('78','iuv(')]){if(_0x4a6501[_0xf3d6('79','P(qy')]===0x7d2){$[_0xf3d6('7a','!fLc')]=[];await _0x4635b0[_0xf3d6('7b','wNQn')](getTopic,_0x4635b0[_0xf3d6('7c','[hh6')],{'activityId':_0x4635b0[_0xf3d6('7d','!fLc')]});for(let _0x320da0=0x0;_0x320da0<$[_0xf3d6('7e','[hh6')]['length'];_0x320da0++){if($['taskDone'][_0x4a6501[_0xf3d6('7f','%XI1')]]){if(_0x4635b0[_0xf3d6('80','lgl*')](_0x4635b0[_0xf3d6('81','vX3C')],_0xf3d6('82','bEo2'))){continue;}else{let _0x271be6=$[_0xf3d6('83','bEo2')](_0xf3d6('84','Mv9f'))||'[]';_0x271be6=JSON[_0xf3d6('85','BVnG')](_0x271be6);cookiesArr=_0x271be6[_0xf3d6('86','[hh6')](_0x2b93d0=>_0x2b93d0[_0xf3d6('87','[hh6')]);cookiesArr[_0xf3d6('88','iuv(')]();cookiesArr[_0xf3d6('89','@vHR')](...[$['getdata'](_0x4635b0[_0xf3d6('8a','7UwZ')]),$[_0xf3d6('8b','R3jS')](_0xf3d6('8c','k8Hp'))]);cookiesArr[_0xf3d6('8d','nNcR')]();cookiesArr=cookiesArr[_0xf3d6('8e','PC2&')](_0x296835=>!!_0x296835);}}await _0x4635b0[_0xf3d6('8f','XAWD')](task,_0x4635b0[_0xf3d6('90','nNcR')],{'sign':0x3,'interactionId':0xf3,'taskPoolId':$[_0xf3d6('91','O3CN')][_0xf3d6('92','BVnG')],'taskType':_0x4a6501[_0xf3d6('93','5qQv')],'sku':$[_0xf3d6('94','BVnG')][_0x320da0],'advertId':_0x4a6501['groupId']},_0x4a6501[_0xf3d6('95','J[ys')]);await $[_0xf3d6('96','P(qy')](0xbb8);}}if(_0x4635b0[_0xf3d6('97','P*PH')](_0x4a6501[_0xf3d6('98','b[qv')],0x7d4)){if(_0x4635b0[_0xf3d6('99','prvW')](_0x4635b0[_0xf3d6('9a','vX3C')],_0x4635b0[_0xf3d6('9b','WZCJ')])){$[_0xf3d6('9c','7UwZ')]=[];await _0x4635b0[_0xf3d6('9d','MqA(')](getTopic,_0x4635b0[_0xf3d6('9e','O3CN')],{'activityId':_0x4635b0['AIcgX'],'pageId':_0xf3d6('9f','1Frd'),'floorList':[{'alias':_0x4635b0[_0xf3d6('a0','k8Hp')]},{'alias':_0xf3d6('a1','b[qv')},{'alias':_0x4635b0[_0xf3d6('a2','nNcR')]},{'alias':_0x4635b0['fknxO']},{'alias':_0xf3d6('a3','1Frd')},{'alias':_0x4635b0[_0xf3d6('a4','k8Hp')]},{'alias':_0x4635b0[_0xf3d6('a5','e#[z')]},{'alias':_0xf3d6('a6','hu&9')}]},0x2);for(let _0x1a62a3=0x0;_0x4635b0[_0xf3d6('a7','1Frd')](_0x1a62a3,$[_0xf3d6('a8','H1PS')][_0xf3d6('a9','NJQc')]);_0x1a62a3++){if(_0x4635b0[_0xf3d6('99','prvW')]('aykdt',_0xf3d6('aa','bEo2'))){if($['taskDone'][_0x4a6501[_0xf3d6('ab','1Frd')]]){continue;}await _0x4635b0[_0xf3d6('ac','@vHR')](task,_0x4635b0[_0xf3d6('ad','wNQn')],{'sign':0x3,'interactionId':0xf3,'taskPoolId':$[_0xf3d6('ae','MqA(')][_0xf3d6('af','R3jS')],'taskType':_0x4a6501[_0xf3d6('b0','wNQn')],'advertId':$['floorList'][_0x1a62a3]},_0x4a6501[_0xf3d6('b1','NJQc')]);await $[_0xf3d6('b2','BVnG')](0xbb8);}else{$[_0xf3d6('b3','fvY9')](err);}}}else{cookiesArr[_0xf3d6('89','@vHR')](jdCookieNode[item]);}}if(_0x4635b0['OonlS'](_0x4a6501[_0xf3d6('b4','MqA(')],0x7d6)){$['floorList']=[];await _0x4635b0[_0xf3d6('b5','prvW')](getTopic,_0xf3d6('b6','@vHR'),{'activityId':_0x4635b0['AIcgX'],'pageId':_0xf3d6('b7','SvBB'),'floorList':[{'alias':_0xf3d6('b8','NJQc')},{'alias':_0x4635b0[_0xf3d6('b9','Tf)#')]},{'alias':_0x4635b0[_0xf3d6('ba','lgl*')]},{'alias':_0x4635b0[_0xf3d6('bb','MqA(')]},{'alias':'MoreGoods@tab6'}]},0x3);for(let _0x5e4a0e=0x0;_0x4635b0['AsQHS'](_0x5e4a0e,$[_0xf3d6('bc','!5@w')][_0xf3d6('bd','5V2Y')]);_0x5e4a0e++){if(_0x4635b0['HPkFU'](_0x4635b0[_0xf3d6('be','9#cr')],_0x4635b0[_0xf3d6('bf','P#Iq')])){$[_0xf3d6('c0','bEo2')]('','❌\x20'+$[_0xf3d6('c1','8b17')]+_0xf3d6('c2','8b17')+e+'!','');}else{if($[_0xf3d6('c3','lgl*')][_0x4a6501['taskId']]){continue;}await task('executeNewInteractionTask',{'sign':0x3,'interactionId':0xf3,'taskPoolId':$[_0xf3d6('c4','@vHR')][_0xf3d6('c5','lgl*')],'taskType':_0x4a6501[_0xf3d6('7f','%XI1')],'advertId':$[_0xf3d6('c6','NJQc')][_0x5e4a0e]},_0x4a6501['taskId']);await $[_0xf3d6('c7','J[ys')](0xbb8);}}}}else{$['log'](_0x4635b0[_0xf3d6('c8','fvY9')]);}}}else{$['floorList'][_0xf3d6('c9','P*PH')](vo[_0xf3d6('ca','@lFG')]);}}}function task(_0x458e10,_0xf1d059,_0x40b344){var _0x519908={'ZmoSd':function(_0x5256c1,_0x20edae){return _0x5256c1===_0x20edae;},'imYCd':_0xf3d6('cb','BVnG'),'LZSAC':function(_0x5f1f24,_0x5b4d7f){return _0x5f1f24===_0x5b4d7f;},'tXlto':_0xf3d6('cc','vX3C'),'GtTwO':function(_0x40991c,_0x59d7bb){return _0x40991c!==_0x59d7bb;},'BGnxM':_0xf3d6('cd','@vHR'),'rQNOg':_0xf3d6('ce','!fLc'),'spbyO':_0xf3d6('cf','WZCJ'),'DZHPH':_0xf3d6('d0','H1PS'),'BPaUG':_0xf3d6('d1','Mv9f'),'ZIpyz':_0xf3d6('d2','MqA('),'zJONq':_0xf3d6('d3','P(qy'),'NGQRy':_0xf3d6('d4','7UwZ'),'bbXKW':'没有找到小魔方,继续努力💪','hLChh':function(_0x35fb12,_0xe2d724){return _0x35fb12===_0xe2d724;},'AfzVf':_0xf3d6('d5','9#cr'),'euhMo':function(_0x1907cc,_0x459a07){return _0x1907cc===_0x459a07;},'lqEUD':'qyNfy','WZwUT':function(_0x30752f,_0x584a8e){return _0x30752f===_0x584a8e;},'bHZZx':_0xf3d6('d6','SvBB'),'egNdC':_0xf3d6('d7','cw4M'),'UWpbn':function(_0x5cea6f){return _0x5cea6f();},'ROsTC':function(_0x40d80d,_0x4f9c22,_0x53ae3e){return _0x40d80d(_0x4f9c22,_0x53ae3e);}};return new Promise(_0x33d005=>{var _0xecbc96={'lsYZW':function(_0x3b65ac){return _0x519908[_0xf3d6('d8','hu&9')](_0x3b65ac);}};$[_0xf3d6('d9','Zhv^')](_0x519908[_0xf3d6('da','cw4M')](taskUrl,_0x458e10,_0xf1d059),async(_0x19e546,_0x33af34,_0x33a206)=>{if(_0x519908[_0xf3d6('db','b[qv')](_0xf3d6('dc','z#wg'),_0x519908['imYCd'])){_0xecbc96[_0xf3d6('dd','bEo2')](_0x33d005);}else{try{if(_0x519908[_0xf3d6('de','iuv(')](_0x519908[_0xf3d6('df','5V2Y')],_0x519908[_0xf3d6('e0','NJQc')])){if(_0x19e546){if(_0x519908[_0xf3d6('e1','P(qy')](_0x519908[_0xf3d6('e2','iuv(')],_0x519908[_0xf3d6('e3','PC2&')])){res['push'](x);}else{$[_0xf3d6('e4','(I11')](_0x19e546);}}else{if(_0x519908[_0xf3d6('e5','L%D(')](_0x519908[_0xf3d6('e6','Tf)#')],_0x519908[_0xf3d6('e7','P*PH')])){_0x33a206=JSON[_0xf3d6('e8','(I11')](_0x33a206);if(_0x33a206[_0xf3d6('e9','zQOs')]){if(_0x519908['GtTwO'](_0x519908[_0xf3d6('ea','SvBB')],_0xf3d6('eb','fvY9'))){for(const _0x249fce of _0x33a206[_0xf3d6('ec','(I11')]){$['floorList']['push'](_0x249fce[_0xf3d6('ed','5V2Y')][_0xf3d6('ee','7gnK')][_0xf3d6('ef','SvBB')]);}}else{switch(_0x458e10){case _0x519908[_0xf3d6('f0','hu&9')]:$['log']('获取活动信息成功');$[_0xf3d6('f1','5V2Y')]=_0x33a206[_0xf3d6('f2','fvY9')][_0xf3d6('f3','[hh6')];break;case _0x519908[_0xf3d6('f4','1Frd')]:if(_0x33a206[_0xf3d6('f5','Zhv^')][_0xf3d6('f6','8b17')]){$[_0xf3d6('f7','e#[z')](_0xf3d6('f8','prvW'));for(const _0xf9bf38 of _0x33a206['result']['lotteryInfoList']){if(_0x519908['LZSAC'](_0x519908[_0xf3d6('f9','XAWD')],_0x519908[_0xf3d6('fa','5V2Y')])){$['log']('\x20-获得'+_0xf9bf38[_0xf3d6('fb','Tf)#')]+_0xf9bf38[_0xf3d6('fc','z#wg')]);}else{for(const _0x25790f of _0x33a206['floorList'][0x0][_0xf3d6('fd','PC2&')][_0xf3d6('fe','@vHR')][_0xf3d6('ff','(I11')]){$[_0xf3d6('100','iuv(')][_0xf3d6('101','wNQn')](_0x25790f['desc']);}}}$[_0xf3d6('102','z#wg')][_0x40b344]=0x1;}else{if(_0x519908[_0xf3d6('103','L%D(')]===_0x519908[_0xf3d6('104','WZCJ')]){$[_0xf3d6('105','b[qv')]=![];return;}else{$[_0xf3d6('106','R3jS')](_0x519908[_0xf3d6('107','PC2&')]);}}break;default:$['log'](JSON[_0xf3d6('108','Tf)#')](_0x33a206));break;}}}else{if(_0x519908[_0xf3d6('109','J[ys')](_0xf3d6('10a','J[ys'),_0x519908['AfzVf'])){_0xecbc96['lsYZW'](_0x33d005);}else{$[_0xf3d6('10b','5qQv')](_0x33a206[_0xf3d6('10c','SvBB')]);$[_0xf3d6('10d','WZCJ')]=!![];}}}else{$[_0xf3d6('10e','H1PS')]=_0x33a206[_0xf3d6('10f','7UwZ')][_0xf3d6('110','P*PH')][_0xf3d6('111','BVnG')][_0xf3d6('112','cw4M')];}}}else{$[_0xf3d6('113','P*PH')]();}}catch(_0x124483){if(_0x519908[_0xf3d6('114','lgl*')](_0x519908['lqEUD'],_0xf3d6('115','5V2Y'))){$[_0xf3d6('116','&zOE')](_0x124483);}else{uuid=v['toString'](0x24)[_0xf3d6('117','z#wg')]();}}finally{if(_0x519908['WZwUT'](_0x519908['bHZZx'],_0x519908['egNdC'])){$[_0xf3d6('118','Tf)#')](_0x33a206[_0xf3d6('119','L%D(')]);$[_0xf3d6('11a','!fLc')]=!![];}else{_0x33d005();}}}});});}function getTopic(_0x2edd6d,_0x3c6a66={},_0xa50ee3){var _0x2bc296={'LqMyf':_0xf3d6('11b','@lFG'),'klgRx':function(_0x45e106,_0x348092){return _0x45e106===_0x348092;},'ABoHu':_0xf3d6('11c','vX3C'),'fMVYN':function(_0x4754fc,_0x8ccaae){return _0x4754fc===_0x8ccaae;},'NudNK':_0xf3d6('11d','PC2&'),'ADWqe':function(_0x41fb7b,_0x5d6d88){return _0x41fb7b!==_0x5d6d88;},'xzpjb':'SBRYy','ueHzO':_0xf3d6('11e','iuv('),'VcNxy':_0xf3d6('11f','O3CN'),'HfxpZ':_0xf3d6('120','9#cr'),'iQRne':_0xf3d6('121','lgl*'),'EkAea':function(_0x47f681,_0xc1ddbc){return _0x47f681(_0xc1ddbc);},'YNYuB':'api.m.jd.com','Cloic':_0xf3d6('122','PC2&'),'OfLVm':_0xf3d6('123','H1PS'),'Xxrhq':_0xf3d6('124','hu&9'),'kiysv':'zh-cn','xgQCZ':_0xf3d6('125','e#[z')};let _0x258b60={'url':_0xf3d6('126','BVnG')+_0x2edd6d+_0xf3d6('127','SvBB')+_0x2bc296[_0xf3d6('128','nNcR')](encodeURIComponent,JSON[_0xf3d6('129','9#cr')](_0x3c6a66)),'headers':{'Host':_0x2bc296[_0xf3d6('12a','Zhv^')],'Origin':_0x2bc296['Cloic'],'Accept':_0x2bc296['OfLVm'],'Connection':_0x2bc296['Xxrhq'],'Cookie':cookie,'User-Agent':_0xf3d6('12b','k8Hp')+$['UUID']+_0xf3d6('12c','bEo2')+$['ADID']+_0xf3d6('12d','@lFG'),'Accept-Language':_0x2bc296[_0xf3d6('12e','L%D(')],'Referer':_0xf3d6('12f','&zOE'),'Accept-Encoding':_0x2bc296[_0xf3d6('130','zQOs')]}};return new Promise(_0x5f390f=>{var _0x1e701c={'JoYrt':'【提示】请先获取京东账号一cookie\x0a直接使用NobyDa的京东签到获取','jUGSI':function(_0x154818){return _0x154818();},'CCvZw':function(_0x2fd976,_0x527ec3){return _0x2fd976===_0x527ec3;},'yCiwJ':_0x2bc296[_0xf3d6('131','bEo2')],'dVCEf':function(_0x4b1398,_0x4e983d){return _0x2bc296[_0xf3d6('132','zQOs')](_0x4b1398,_0x4e983d);},'DOgIc':_0x2bc296['ABoHu'],'oTSSw':function(_0x273fef,_0x4a81bd){return _0x2bc296['fMVYN'](_0x273fef,_0x4a81bd);},'RmTgv':_0x2bc296[_0xf3d6('133','R3jS')],'iVnVB':function(_0x4e45ac,_0x40deb6){return _0x4e45ac|_0x40deb6;},'sUqUd':function(_0x20a9fc,_0x57981e){return _0x20a9fc*_0x57981e;},'mQEmz':function(_0x3f0cc5,_0x192693){return _0x3f0cc5&_0x192693;},'spqhQ':function(_0x3018a6,_0x526050){return _0x2bc296['ADWqe'](_0x3018a6,_0x526050);},'GXiUe':_0x2bc296['xzpjb'],'bgtky':_0xf3d6('134','P*PH'),'MGADX':function(_0x4b6c38,_0xbc5f93){return _0x4b6c38!==_0xbc5f93;},'AwuJw':_0x2bc296[_0xf3d6('135','[hh6')],'buAPH':_0x2bc296[_0xf3d6('136','BVnG')],'UACvX':_0x2bc296[_0xf3d6('137','H1PS')],'RMtLg':_0x2bc296[_0xf3d6('138','WZCJ')],'uzwJY':function(_0x1d3383,_0x3b1c3b){return _0x2bc296[_0xf3d6('139','e#[z')](_0x1d3383,_0x3b1c3b);},'LiTDS':function(_0x49b76e){return _0x49b76e();}};$[_0xf3d6('13a','L%D(')](_0x258b60,(_0x15f246,_0x158c94,_0x3d7c85)=>{var _0x121e1b={'spITW':function(_0x11f067,_0x1e9fa6){return _0x1e701c[_0xf3d6('13b','DQZg')](_0x11f067,_0x1e9fa6);},'NMjXi':function(_0x5d1545,_0x54871a){return _0x1e701c[_0xf3d6('13c','L%D(')](_0x5d1545,_0x54871a);},'bDdON':function(_0x49bdb7,_0xa45e8c){return _0x1e701c['mQEmz'](_0x49bdb7,_0xa45e8c);},'ENUaf':_0x1e701c[_0xf3d6('13d','5qQv')]};if(_0x1e701c[_0xf3d6('13e','vX3C')](_0x1e701c[_0xf3d6('13f','DQZg')],_0xf3d6('140','@lFG'))){console['log'](error);}else{try{if(_0x15f246){if(_0x1e701c[_0xf3d6('141','SvBB')](_0x1e701c[_0xf3d6('142','vX3C')],_0xf3d6('143','DQZg'))){$[_0xf3d6('144','!fLc')]($[_0xf3d6('145','cw4M')],_0x1e701c['JoYrt'],_0xf3d6('146','hu&9'),{'open-url':_0xf3d6('147','prvW')});return;}else{console[_0xf3d6('148','@vHR')](_0x15f246);}}else{if(_0x1e701c['MGADX'](_0x1e701c[_0xf3d6('149','nNcR')],_0x1e701c[_0xf3d6('14a','lgl*')])){_0x3d7c85=JSON[_0xf3d6('14b','hu&9')](_0x3d7c85);if(_0x1e701c[_0xf3d6('14c','fvY9')](_0x3d7c85[_0xf3d6('14d','5qQv')],'0')){switch(_0x2edd6d){case _0x1e701c['UACvX']:res=[];_0x3d7c85[_0xf3d6('14e','@vHR')]['filter'](_0x322193=>{var _0x2aacc9={'KNUkZ':function(_0x3920c6){return _0x1e701c[_0xf3d6('14f','@Mf%')](_0x3920c6);}};if(_0x1e701c[_0xf3d6('150','[hh6')]('oakbM',_0x1e701c[_0xf3d6('151','R3jS')])){_0x2aacc9[_0xf3d6('152','9#cr')](_0x5f390f);}else{if(_0x1e701c[_0xf3d6('153','prvW')](_0x322193['alias'],_0x1e701c[_0xf3d6('154','9#cr')])){if(_0x1e701c[_0xf3d6('155','R3jS')](_0x1e701c[_0xf3d6('156','vX3C')],_0x1e701c[_0xf3d6('156','vX3C')])){res[_0xf3d6('157','iuv(')](_0x322193);}else{var _0x122cd8=_0x121e1b['spITW'](_0x121e1b['NMjXi'](Math[_0xf3d6('158','&zOE')](),0x10),0x0),_0x51921a=c=='x'?_0x122cd8:_0x121e1b['spITW'](_0x121e1b[_0xf3d6('159','1Frd')](_0x122cd8,0x3),0x8);if(UpperCase){uuid=_0x51921a['toString'](0x24)['toUpperCase']();}else{uuid=_0x51921a['toString'](0x24);}return uuid;}}}});res[0x0]['data'][_0xf3d6('15a','O3CN')][_0xf3d6('15b','NJQc')][_0xf3d6('15c','MqA(')](_0x3e44f9=>{$[_0xf3d6('15d','PC2&')][_0xf3d6('15e','vX3C')](_0x3e44f9[_0xf3d6('15f','H1PS')]);});break;case'queryPanamaFloor':if(_0x1e701c[_0xf3d6('160','(I11')](_0xa50ee3,0x3)){for(const _0x127af3 of _0x3d7c85[_0xf3d6('161','k8Hp')]){$[_0xf3d6('162','J[ys')][_0xf3d6('163','WZCJ')](_0x127af3[_0xf3d6('10f','7UwZ')]['sku'][_0xf3d6('164','7UwZ')]);}}else{for(const _0x2362bc of _0x3d7c85['floorList'][0x0][_0xf3d6('165','zQOs')]['adv']['list']){if(_0x1e701c[_0xf3d6('166','5V2Y')](_0xf3d6('167','!fLc'),_0x1e701c['RMtLg'])){$[_0xf3d6('168','z#wg')][_0xf3d6('169','fvY9')](_0x2362bc['desc']);}else{if(x['alias']===_0x121e1b['ENUaf']){res[_0xf3d6('15e','vX3C')](x);}}}}break;default:break;}}}else{$['logErr'](e);}}}catch(_0x4e6f0a){console[_0xf3d6('c0','bEo2')](_0x4e6f0a);}finally{if(_0x1e701c[_0xf3d6('16a','5qQv')](_0xf3d6('16b','P#Iq'),_0xf3d6('16c','vX3C'))){$[_0xf3d6('116','&zOE')](error);}else{_0x1e701c[_0xf3d6('16d','SvBB')](_0x5f390f);}}}});});}function taskUrl(_0x298a79,_0x1b2849){var _0x50e555={'zjeWO':_0xf3d6('16e','Zhv^'),'AjTYe':_0xf3d6('16f','vX3C'),'uHSpn':_0xf3d6('170','@vHR'),'JldCx':_0xf3d6('171','!5@w')};return{'url':_0xf3d6('172','vX3C'),'headers':{'Host':_0xf3d6('173','R3jS'),'Content-Type':_0x50e555[_0xf3d6('174','R3jS')],'Origin':_0x50e555[_0xf3d6('175','&zOE')],'Accept-Encoding':_0x50e555[_0xf3d6('176','vX3C')],'Cookie':cookie,'Connection':_0xf3d6('177','[hh6'),'Accept':'application/json,\x20text/plain,\x20*/*','User-Agent':_0xf3d6('178','hu&9')+$[_0xf3d6('179','7UwZ')]+';network/wifi;ADID/'+$['ADID']+';model/iPhone10,3;addressid/0;appBuild/167668;jdSupportDarkMode/0;Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x2013_6\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/605.1.15\x20(KHTML,\x20like\x20Gecko)\x20Mobile/15E148;supportJDSHWK/1','Referer':_0x50e555['JldCx'],'Accept-Language':_0xf3d6('17a','zQOs')},'body':'functionId='+_0x298a79+_0xf3d6('17b','iuv(')+JSON[_0xf3d6('17c','iuv(')](_0x1b2849)+_0xf3d6('17d','7UwZ')+$[_0xf3d6('17e','9#cr')]+_0xf3d6('17f','bEo2')+new Date()[_0xf3d6('180','zQOs')]()};}function random(_0x1435c5,_0x5f54aa){var _0x3aab02={'HZAwr':function(_0x1becc1,_0x516cba){return _0x1becc1*_0x516cba;},'FsqNQ':function(_0xb55cec,_0xb4ed2b){return _0xb55cec-_0xb4ed2b;}};return Math[_0xf3d6('181','%XI1')](_0x3aab02[_0xf3d6('182','O3CN')](Math[_0xf3d6('183','[hh6')](),_0x3aab02[_0xf3d6('184','Tf)#')](_0x5f54aa,_0x1435c5)))+_0x1435c5;}function getUUID(_0x12a13a='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',_0x264638=0x0){var _0x2ec145={'owkHm':function(_0x14ef1e,_0x344864){return _0x14ef1e*_0x344864;},'WnrWu':function(_0x12f20c,_0x5a8149){return _0x12f20c==_0x5a8149;},'hwczc':function(_0x2205f3,_0x5672bc){return _0x2205f3|_0x5672bc;}};return _0x12a13a['replace'](/[xy]/g,function(_0x1e5998){var _0x2fb2d4=_0x2ec145[_0xf3d6('185','XAWD')](Math[_0xf3d6('186','5qQv')](),0x10)|0x0,_0x34ac3e=_0x2ec145['WnrWu'](_0x1e5998,'x')?_0x2fb2d4:_0x2ec145[_0xf3d6('187','lgl*')](_0x2fb2d4&0x3,0x8);if(_0x264638){uuid=_0x34ac3e['toString'](0x24)['toUpperCase']();}else{uuid=_0x34ac3e[_0xf3d6('188','BVnG')](0x24);}return uuid;});}function checkCookie(){var _0xcca37f={'qpTsj':function(_0x109410,_0x492a60){return _0x109410!==_0x492a60;},'JtIZR':_0xf3d6('189','!5@w'),'TukTM':_0xf3d6('18a','7UwZ'),'zVAZJ':function(_0x2faff4,_0x2ed09f){return _0x2faff4===_0x2ed09f;},'cSPbp':'京东返回了空数据','dezLP':'https://me-api.jd.com/user_new/info/GetJDUserInfoUnion','SpSRX':'me-api.jd.com','dkdMN':'*/*','lSQGV':_0xf3d6('18b','@vHR'),'MGzAr':_0xf3d6('18c','(I11'),'QEcdb':_0xf3d6('170','@vHR')};const _0xba3e3={'url':_0xcca37f['dezLP'],'headers':{'Host':_0xcca37f['SpSRX'],'Accept':_0xcca37f[_0xf3d6('18d','O3CN')],'Connection':_0xcca37f[_0xf3d6('18e','Zhv^')],'Cookie':cookie,'User-Agent':_0xf3d6('18f','1Frd'),'Accept-Language':_0xf3d6('190','b[qv'),'Referer':_0xcca37f[_0xf3d6('191','PC2&')],'Accept-Encoding':_0xcca37f['QEcdb']}};return new Promise(_0x20775e=>{var _0x4306e1={'tqWZn':function(_0x47314e,_0x1acb82){return _0xcca37f[_0xf3d6('192','@Mf%')](_0x47314e,_0x1acb82);},'Fgeto':_0xcca37f['JtIZR'],'ucBdO':_0xcca37f['TukTM'],'ahNIh':function(_0x148587,_0x2b309f){return _0xcca37f[_0xf3d6('193','7UwZ')](_0x148587,_0x2b309f);},'lESfs':_0xcca37f['cSPbp'],'oRJYg':function(_0x280170){return _0x280170();}};$[_0xf3d6('194','NJQc')](_0xba3e3,(_0x435dcc,_0x538a8f,_0x45e18f)=>{if(_0x4306e1[_0xf3d6('195','nNcR')](_0x4306e1[_0xf3d6('196','WZCJ')],_0xf3d6('197','5qQv'))){try{if(_0x435dcc){$['logErr'](_0x435dcc);}else{if(_0x4306e1['ucBdO']!==_0x4306e1[_0xf3d6('198','8b17')]){$['msg']($[_0xf3d6('199','lgl*')],_0xf3d6('19a','vX3C'),message);}else{if(_0x45e18f){_0x45e18f=JSON[_0xf3d6('19b','5V2Y')](_0x45e18f);if(_0x4306e1['ahNIh'](_0x45e18f[_0xf3d6('19c','z#wg')],'1001')){$[_0xf3d6('19d','PC2&')]=![];return;}if(_0x4306e1['ahNIh'](_0x45e18f[_0xf3d6('19e','[hh6')],'0')&&_0x45e18f[_0xf3d6('19f','L%D(')]['hasOwnProperty']('userInfo')){$['nickName']=_0x45e18f['data'][_0xf3d6('1a0','prvW')][_0xf3d6('1a1','cw4M')][_0xf3d6('1a2','Mv9f')];}}else{$[_0xf3d6('1a3','9#cr')](_0x4306e1[_0xf3d6('1a4','Zhv^')]);}}}}catch(_0x2a01fb){$[_0xf3d6('1a5','P(qy')](_0x2a01fb);}finally{_0x4306e1[_0xf3d6('1a6','@lFG')](_0x20775e);}}else{$[_0xf3d6('1a7','PC2&')](_0xf3d6('1a8','H1PS')+vo[_0xf3d6('1a9','@lFG')]+vo['name']);}});});};_0xodP='jsjiami.com.v6';
// prettier-ignore
!function (n) { "use strict"; function t(n, t) { var r = (65535 & n) + (65535 & t); return (n >> 16) + (t >> 16) + (r >> 16) << 16 | 65535 & r } function r(n, t) { return n << t | n >>> 32 - t } function e(n, e, o, u, c, f) { return t(r(t(t(e, n), t(u, f)), c), o) } function o(n, t, r, o, u, c, f) { return e(t & r | ~t & o, n, t, u, c, f) } function u(n, t, r, o, u, c, f) { return e(t & o | r & ~o, n, t, u, c, f) } function c(n, t, r, o, u, c, f) { return e(t ^ r ^ o, n, t, u, c, f) } function f(n, t, r, o, u, c, f) { return e(r ^ (t | ~o), n, t, u, c, f) } function i(n, r) { n[r >> 5] |= 128 << r % 32, n[14 + (r + 64 >>> 9 << 4)] = r; var e, i, a, d, h, l = 1732584193, g = -271733879, v = -1732584194, m = 271733878; for (e = 0; e < n.length; e += 16)i = l, a = g, d = v, h = m, g = f(g = f(g = f(g = f(g = c(g = c(g = c(g = c(g = u(g = u(g = u(g = u(g = o(g = o(g = o(g = o(g, v = o(v, m = o(m, l = o(l, g, v, m, n[e], 7, -680876936), g, v, n[e + 1], 12, -389564586), l, g, n[e + 2], 17, 606105819), m, l, n[e + 3], 22, -1044525330), v = o(v, m = o(m, l = o(l, g, v, m, n[e + 4], 7, -176418897), g, v, n[e + 5], 12, 1200080426), l, g, n[e + 6], 17, -1473231341), m, l, n[e + 7], 22, -45705983), v = o(v, m = o(m, l = o(l, g, v, m, n[e + 8], 7, 1770035416), g, v, n[e + 9], 12, -1958414417), l, g, n[e + 10], 17, -42063), m, l, n[e + 11], 22, -1990404162), v = o(v, m = o(m, l = o(l, g, v, m, n[e + 12], 7, 1804603682), g, v, n[e + 13], 12, -40341101), l, g, n[e + 14], 17, -1502002290), m, l, n[e + 15], 22, 1236535329), v = u(v, m = u(m, l = u(l, g, v, m, n[e + 1], 5, -165796510), g, v, n[e + 6], 9, -1069501632), l, g, n[e + 11], 14, 643717713), m, l, n[e], 20, -373897302), v = u(v, m = u(m, l = u(l, g, v, m, n[e + 5], 5, -701558691), g, v, n[e + 10], 9, 38016083), l, g, n[e + 15], 14, -660478335), m, l, n[e + 4], 20, -405537848), v = u(v, m = u(m, l = u(l, g, v, m, n[e + 9], 5, 568446438), g, v, n[e + 14], 9, -1019803690), l, g, n[e + 3], 14, -187363961), m, l, n[e + 8], 20, 1163531501), v = u(v, m = u(m, l = u(l, g, v, m, n[e + 13], 5, -1444681467), g, v, n[e + 2], 9, -51403784), l, g, n[e + 7], 14, 1735328473), m, l, n[e + 12], 20, -1926607734), v = c(v, m = c(m, l = c(l, g, v, m, n[e + 5], 4, -378558), g, v, n[e + 8], 11, -2022574463), l, g, n[e + 11], 16, 1839030562), m, l, n[e + 14], 23, -35309556), v = c(v, m = c(m, l = c(l, g, v, m, n[e + 1], 4, -1530992060), g, v, n[e + 4], 11, 1272893353), l, g, n[e + 7], 16, -155497632), m, l, n[e + 10], 23, -1094730640), v = c(v, m = c(m, l = c(l, g, v, m, n[e + 13], 4, 681279174), g, v, n[e], 11, -358537222), l, g, n[e + 3], 16, -722521979), m, l, n[e + 6], 23, 76029189), v = c(v, m = c(m, l = c(l, g, v, m, n[e + 9], 4, -640364487), g, v, n[e + 12], 11, -421815835), l, g, n[e + 15], 16, 530742520), m, l, n[e + 2], 23, -995338651), v = f(v, m = f(m, l = f(l, g, v, m, n[e], 6, -198630844), g, v, n[e + 7], 10, 1126891415), l, g, n[e + 14], 15, -1416354905), m, l, n[e + 5], 21, -57434055), v = f(v, m = f(m, l = f(l, g, v, m, n[e + 12], 6, 1700485571), g, v, n[e + 3], 10, -1894986606), l, g, n[e + 10], 15, -1051523), m, l, n[e + 1], 21, -2054922799), v = f(v, m = f(m, l = f(l, g, v, m, n[e + 8], 6, 1873313359), g, v, n[e + 15], 10, -30611744), l, g, n[e + 6], 15, -1560198380), m, l, n[e + 13], 21, 1309151649), v = f(v, m = f(m, l = f(l, g, v, m, n[e + 4], 6, -145523070), g, v, n[e + 11], 10, -1120210379), l, g, n[e + 2], 15, 718787259), m, l, n[e + 9], 21, -343485551), l = t(l, i), g = t(g, a), v = t(v, d), m = t(m, h); return [l, g, v, m] } function a(n) { var t, r = "", e = 32 * n.length; for (t = 0; t < e; t += 8)r += String.fromCharCode(n[t >> 5] >>> t % 32 & 255); return r } function d(n) { var t, r = []; for (r[(n.length >> 2) - 1] = void 0, t = 0; t < r.length; t += 1)r[t] = 0; var e = 8 * n.length; for (t = 0; t < e; t += 8)r[t >> 5] |= (255 & n.charCodeAt(t / 8)) << t % 32; return r } function h(n) { return a(i(d(n), 8 * n.length)) } function l(n, t) { var r, e, o = d(n), u = [], c = []; for (u[15] = c[15] = void 0, o.length > 16 && (o = i(o, 8 * n.length)), r = 0; r < 16; r += 1)u[r] = 909522486 ^ o[r], c[r] = 1549556828 ^ o[r]; return e = i(u.concat(d(t)), 512 + 8 * t.length), a(i(c.concat(e), 640)) } function g(n) { var t, r, e = ""; for (r = 0; r < n.length; r += 1)t = n.charCodeAt(r), e += "0123456789abcdef".charAt(t >>> 4 & 15) + "0123456789abcdef".charAt(15 & t); return e } function v(n) { return unescape(encodeURIComponent(n)) } function m(n) { return h(v(n)) } function p(n) { return g(m(n)) } function s(n, t) { return l(v(n), v(t)) } function C(n, t) { return g(s(n, t)) } function A(n, t, r) { return t ? r ? s(t, n) : C(t, n) : r ? m(n) : p(n) } $.md5 = A }(this);
function Env(t, e) { "undefined" != typeof process && JSON.stringify(process.env).indexOf("GITHUB") > -1 && process.exit(0); class s { constructor(t) { this.env = t } send(t, e = "GET") { t = "string" == typeof t ? { url: t } : t; let s = this.get; return "POST" === e && (s = this.post), new Promise((e, i) => { s.call(this, t, (t, s, r) => { t ? i(t) : e(s) }) }) } get(t) { return this.send.call(this.env, t) } post(t) { return this.send.call(this.env, t, "POST") } } return new class { constructor(t, e) { this.name = t, this.http = new s(this), this.data = null, this.dataFile = "box.dat", this.logs = [], this.isMute = !1, this.isNeedRewrite = !1, this.logSeparator = "\n", this.startTime = (new Date).getTime(), Object.assign(this, e), this.log("", `🔔${this.name}, 开始!`) } isNode() { return "undefined" != typeof module && !!module.exports } isQuanX() { return "undefined" != typeof $task } isSurge() { return "undefined" != typeof $httpClient && "undefined" == typeof $loon } isLoon() { return "undefined" != typeof $loon } toObj(t, e = null) { try { return JSON.parse(t) } catch { return e } } toStr(t, e = null) { try { return JSON.stringify(t) } catch { return e } } getjson(t, e) { let s = e; const i = this.getdata(t); if (i) try { s = JSON.parse(this.getdata(t)) } catch { } return s } setjson(t, e) { try { return this.setdata(JSON.stringify(t), e) } catch { return !1 } } getScript(t) { return new Promise(e => { this.get({ url: t }, (t, s, i) => e(i)) }) } runScript(t, e) { return new Promise(s => { let i = this.getdata("@chavy_boxjs_userCfgs.httpapi"); i = i ? i.replace(/\n/g, "").trim() : i; let r = this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout"); r = r ? 1 * r : 20, r = e && e.timeout ? e.timeout : r; const [o, h] = i.split("@"), n = { url: `http://${h}/v1/scripting/evaluate`, body: { script_text: t, mock_type: "cron", timeout: r }, headers: { "X-Key": o, Accept: "*/*" } }; this.post(n, (t, e, i) => s(i)) }).catch(t => this.logErr(t)) } loaddata() { if (!this.isNode()) return {}; { this.fs = this.fs ? this.fs : require("fs"), this.path = this.path ? this.path : require("path"); const t = this.path.resolve(this.dataFile), e = this.path.resolve(process.cwd(), this.dataFile), s = this.fs.existsSync(t), i = !s && this.fs.existsSync(e); if (!s && !i) return {}; { const i = s ? t : e; try { return JSON.parse(this.fs.readFileSync(i)) } catch (t) { return {} } } } } writedata() { if (this.isNode()) { this.fs = this.fs ? this.fs : require("fs"), this.path = this.path ? this.path : require("path"); const t = this.path.resolve(this.dataFile), e = this.path.resolve(process.cwd(), this.dataFile), s = this.fs.existsSync(t), i = !s && this.fs.existsSync(e), r = JSON.stringify(this.data); s ? this.fs.writeFileSync(t, r) : i ? this.fs.writeFileSync(e, r) : this.fs.writeFileSync(t, r) } } lodash_get(t, e, s) { const i = e.replace(/\[(\d+)\]/g, ".$1").split("."); let r = t; for (const t of i) if (r = Object(r)[t], void 0 === r) return s; return r } lodash_set(t, e, s) { return Object(t) !== t ? t : (Array.isArray(e) || (e = e.toString().match(/[^.[\]]+/g) || []), e.slice(0, -1).reduce((t, s, i) => Object(t[s]) === t[s] ? t[s] : t[s] = Math.abs(e[i + 1]) >> 0 == +e[i + 1] ? [] : {}, t)[e[e.length - 1]] = s, t) } getdata(t) { let e = this.getval(t); if (/^@/.test(t)) { const [, s, i] = /^@(.*?)\.(.*?)$/.exec(t), r = s ? this.getval(s) : ""; if (r) try { const t = JSON.parse(r); e = t ? this.lodash_get(t, i, "") : e } catch (t) { e = "" } } return e } setdata(t, e) { let s = !1; if (/^@/.test(e)) { const [, i, r] = /^@(.*?)\.(.*?)$/.exec(e), o = this.getval(i), h = i ? "null" === o ? null : o || "{}" : "{}"; try { const e = JSON.parse(h); this.lodash_set(e, r, t), s = this.setval(JSON.stringify(e), i) } catch (e) { const o = {}; this.lodash_set(o, r, t), s = this.setval(JSON.stringify(o), i) } } else s = this.setval(t, e); return s } getval(t) { return this.isSurge() || this.isLoon() ? $persistentStore.read(t) : this.isQuanX() ? $prefs.valueForKey(t) : this.isNode() ? (this.data = this.loaddata(), this.data[t]) : this.data && this.data[t] || null } setval(t, e) { return this.isSurge() || this.isLoon() ? $persistentStore.write(t, e) : this.isQuanX() ? $prefs.setValueForKey(t, e) : this.isNode() ? (this.data = this.loaddata(), this.data[e] = t, this.writedata(), !0) : this.data && this.data[e] || null } initGotEnv(t) { this.got = this.got ? this.got : require("got"), this.cktough = this.cktough ? this.cktough : require("tough-cookie"), this.ckjar = this.ckjar ? this.ckjar : new this.cktough.CookieJar, t && (t.headers = t.headers ? t.headers : {}, void 0 === t.headers.Cookie && void 0 === t.cookieJar && (t.cookieJar = this.ckjar)) } get(t, e = (() => { })) { t.headers && (delete t.headers["Content-Type"], delete t.headers["Content-Length"]), this.isSurge() || this.isLoon() ? (this.isSurge() && this.isNeedRewrite && (t.headers = t.headers || {}, Object.assign(t.headers, { "X-Surge-Skip-Scripting": !1 })), $httpClient.get(t, (t, s, i) => { !t && s && (s.body = i, s.statusCode = s.status), e(t, s, i) })) : this.isQuanX() ? (this.isNeedRewrite && (t.opts = t.opts || {}, Object.assign(t.opts, { hints: !1 })), $task.fetch(t).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => e(t))) : this.isNode() && (this.initGotEnv(t), this.got(t).on("redirect", (t, e) => { try { if (t.headers["set-cookie"]) { const s = t.headers["set-cookie"].map(this.cktough.Cookie.parse).toString(); s && this.ckjar.setCookieSync(s, null), e.cookieJar = this.ckjar } } catch (t) { this.logErr(t) } }).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => { const { message: s, response: i } = t; e(s, i, i && i.body) })) } post(t, e = (() => { })) { if (t.body && t.headers && !t.headers["Content-Type"] && (t.headers["Content-Type"] = "application/x-www-form-urlencoded"), t.headers && delete t.headers["Content-Length"], this.isSurge() || this.isLoon()) this.isSurge() && this.isNeedRewrite && (t.headers = t.headers || {}, Object.assign(t.headers, { "X-Surge-Skip-Scripting": !1 })), $httpClient.post(t, (t, s, i) => { !t && s && (s.body = i, s.statusCode = s.status), e(t, s, i) }); else if (this.isQuanX()) t.method = "POST", this.isNeedRewrite && (t.opts = t.opts || {}, Object.assign(t.opts, { hints: !1 })), $task.fetch(t).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => e(t)); else if (this.isNode()) { this.initGotEnv(t); const { url: s, ...i } = t; this.got.post(s, i).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => { const { message: s, response: i } = t; e(s, i, i && i.body) }) } } time(t, e = null) { const s = e ? new Date(e) : new Date; let i = { "M+": s.getMonth() + 1, "d+": s.getDate(), "H+": s.getHours(), "m+": s.getMinutes(), "s+": s.getSeconds(), "q+": Math.floor((s.getMonth() + 3) / 3), S: s.getMilliseconds() }; /(y+)/.test(t) && (t = t.replace(RegExp.$1, (s.getFullYear() + "").substr(4 - RegExp.$1.length))); for (let e in i) new RegExp("(" + e + ")").test(t) && (t = t.replace(RegExp.$1, 1 == RegExp.$1.length ? i[e] : ("00" + i[e]).substr(("" + i[e]).length))); return t } msg(e = t, s = "", i = "", r) { const o = t => { if (!t) return t; if ("string" == typeof t) return this.isLoon() ? t : this.isQuanX() ? { "open-url": t } : this.isSurge() ? { url: t } : void 0; if ("object" == typeof t) { if (this.isLoon()) { let e = t.openUrl || t.url || t["open-url"], s = t.mediaUrl || t["media-url"]; return { openUrl: e, mediaUrl: s } } if (this.isQuanX()) { let e = t["open-url"] || t.url || t.openUrl, s = t["media-url"] || t.mediaUrl; return { "open-url": e, "media-url": s } } if (this.isSurge()) { let e = t.url || t.openUrl || t["open-url"]; return { url: e } } } }; if (this.isMute || (this.isSurge() || this.isLoon() ? $notification.post(e, s, i, o(r)) : this.isQuanX() && $notify(e, s, i, o(r))), !this.isMuteLog) { let t = ["", "==============📣系统通知📣=============="]; t.push(e), s && t.push(s), i && t.push(i), console.log(t.join("\n")), this.logs = this.logs.concat(t) } } log(...t) { t.length > 0 && (this.logs = [...this.logs, ...t]), console.log(t.join(this.logSeparator)) } logErr(t, e) { const s = !this.isSurge() && !this.isQuanX() && !this.isLoon(); s ? this.log("", `❗️${this.name}, 错误!`, t.stack) : this.log("", `❗️${this.name}, 错误!`, t) } wait(t) { return new Promise(e => setTimeout(e, t)) } done(t = {}) { const e = (new Date).getTime(), s = (e - this.startTime) / 1e3; this.log("", `🔔${this.name}, 结束! 🕛 ${s} 秒`), this.log(), (this.isSurge() || this.isQuanX() || this.isLoon()) && $done(t) } }(t, e) }