/**
收藏大师-关注商品

必须条件：配置文件或者环境变量中添加变量：
//export jd_collect_shop_activityUrl="活动链接"


cron:1 1 1 1 *
============Quantumultx===============
[task_local]
#收藏大师-关注商品
1 1 1 1 * jd_collect_shop.js, tag=收藏大师-关注商品, enabled=true
*/

const $ = new Env("收藏大师-关注商品");
var OＯ0$='jsjiami.com.v6',OＯ0$_=['‮OＯ0$'],O00O=[OＯ0$,'D8K6HsK1wrY=','wrRFRQ==','woFYUyo=','b8KlAmMl','wo8CYk/Dkw==','YBBnwqha','wrDDiDZZEA==','BcOuwpfDtEHCvA==','woLDqsO+w6TDjsONDmY=','LsOywqrCkQw=','wpVCLMKiEw==','WRcgwqHCoA==','w5DDm2/CgVg7wqgm','GToTWMK7','HyVmUsO9','woIjwofDrsOK','wo8CYjDCsg==','wqxZw4nDosOSTMK/RQ==','wpdDw4/Du8OSTMK/RQ==','w7cVYMOfCsO7IA==','w5jDqnc=','B0VyJ8OE','w7lELit8w6rDkcOl','woNUCMOvbQ==','woIjwpnDsMK1','NcOnLm1NJg==','U2Z3R8KH','w7NreERB','PyvDhERrw6rDi8KO','E8OFL014','wqnDtxjDgsO8','SA41YMKR','csOpwoXCkAHDo8OoYA==','w7bDiE3Cgi8=','HsOqwpDDpw==','w4RWOBxcw68=','wrIRwqLDiMKMw5tgBh9owoE=','YSFHwowh','wpRMPw==','WMKewq0e','wojDp+Wkv+i3pUNJ5Y+i5ZuFw53DjQ==','w6RvFyDCqnrCqA==','wqbDusOoWw==','SQ3CmkAOJA==','wpPDmsOJbw==','EcK6AMOU','44OdO+ads+iBg+iOi+WPgea2neWJs+S/veaDuA==','wrxEUMOy','di9Ywoon','H1p4LcO9','wqXDp8OnXBxgU8Ka','wobDog1GLX4YKQ==','cTh8TzI=','TAZK','6I+u5Y6lcD/DhkwawqPDvuWkt+i1oe+8jA==','cx3Cg8OXIQ==','w53DuGPClBvDhA==','ayjCp2Y=','cwPDvMOJQA==','EMOddsOgNxU=','w5NJNhDClw==','V8KcwrQSGsKzJMOcLC9m','woA4GcOawqo=','E8ObMVMZ','JRfCkXl0','wqlsF8KQ','U3hpOMOm','wq14LcOXSn7DksKiWcO5Aw==','w4xaw5llw5ZiClI=','XS5Pw515w64=','wqXCjDvCkMOX','W8KWOMKc','Tj3Cqw==','E8OFUDJ4','wqnDtxjDgsKD','w7p5w6lIw5Q=','TsKVP0EP','wqFoPg==','wqDDnljCicKCTCs=','wrMtwrzDlw==','eMOLaCHDmS9DMSHDnQsmwrvDmsKDwoLDqDnorZvmsqHlpovot6/vv7vor43moqfmnrrnvLDotaTph73orrE=','Ugx1fCE=','w5M2Ng4=','woxMM8KkFQ==','QS5bw6w=','wqB0Pg==','wpEIwp/Cjh9dCMOeDg==','w5nDtnc=','w5hJPMKeCMKDw45YJ8KBIsOMw7NwwpnDpcKJb8OUYTk1wrvorLfms4/lpbfotazvvZborIbmo4bmn5rnvKTotYrph6forLU=','OGtRZMOu','c2LCncK2Pw==','w6QYw7c3wrU=','wo3DqB5TLWU=','UxxPcwnCjg==','wo/DiDPDqMOLD8Oa','wqTDqcO3w7/DtA==','dDQGI8KqwqI=','KcOzSsO0Fg==','wqvDu8OiWzdbWg==','w5M2KHHClw==','w5FWY8O/PA==','ccOEAn07','BMOqwo3DsF0=','w4ZJw4xkw60=','wr4TwqLDgsKS','W8KewrQYBA==','w51HXXx4w4HDsw59wqIF','BjfDhg==','wpxNTCZ5LMOwecKr','w4vClxo=','DcOFUE14','w4JWJjw=','RcKWWcKCPQ==','w7huVALCiDrCqxTDhMKjX8OZwolSwqLDt8KTw7It','w53DnXnCmnk0','w6BjGC8=','wrcjWWXDpSoqw5o=','XRbCh00T','6YGE5Yix5L2R5ZCB','5beQ6aOU5Yya','5pyQ5b255aSj','w5DDjMKjX8Ou','wo0AwprDmMKs','w60UZkQ+','wpN/wprDhsOT','wo8CfFHCsg==','N8KMVMOq','w61reCU+','Z8Kuw7BLPQ==','ayjDmHgx','aMOVwq/Dkh4=','w6TDliDCniQ=','5beQ5Y6Q5Yms','E8OFMU1m','TBJrHV4=','ecKuw7A0XA==','F8O2QhPDrQ==','wo3DmsOJbwA=','XTvDg0I=','w47Dm2jDlw==','w7MUZlpB','w6QZw70I','ecOPw7BLIw==','wpEcHTA=','aMOLw5DDkg==','w7PCk8KV','S8O1woc=','wr3DilbCjw==','w74/SGPDpzE9w5PDkMKvw6bCo8OcwpnDv8OdB1TorKPmsa/lpaLot6nvvZforafmo7LmnJjnv4jotojphJ7orb0=','czxWXnQ=','wrDDhF/Cjw==','MMOmwr3CkQHCjMOy','ZSVHwr87w4vCjAk=','wqlES8O7EcONw7PDtcOwwqTCpw==','UhIUYiE=','w7IJSw==','wo5aSiZhIsOtZsKXI8K8','TWZpWcKH','w41XKBDClw==','w7vCncKGDg==','QTNBw6Juw4PCosKvwpTCtXE=','wovwlZKO','woIjwofCkcK1','GcO5wpDDqVDCi8OYwpwPSnQ=','wqfDq8Oyw6zDpcOzF2oOwrYq','w64URcOKCMONOsODHcK3SQ==','w5HDnG/Cj0k0wrAu','8Ja8k8OA5a2854im','w4XDq3nCqxDDvzjDvsOXwrU=','wq9Dw40=','PcO3FGtfKsO/w6nCtGHCpw==','TXhpR8Om','6aCz5Y2P5aSh6Le0772v','FcOPYg==','w61reFpf','wqnDt2fDgsO8','SBA1YMOu','JsOawqjDggU=','w611eERB','wqXCklrCjsOJ','X8KRwqMXGcK+NcOW','YHEYw4k=','wrDDo8Oyw6bCrMKMB2YcwrYuw7Umw4pAw7fDvg==','w5DCrcKjX8Ow','woMMwp3CixhZAMOMHjgKbsKgWnjDncOES1sSUcKAw5kfwp3DtcO8I8KNwrDDqSc9ZcOOwq/Cpz/Cmj/CvMKhS8KTJMKqNlQ=','wo7CsmbCoMOvwoY=','JMOhwr/CkDfCi8OuFQ==','w4JCJgZXw6XDmA==','wr7Dt8O4w7rDtcOIBnA=','w7bDiDLCgjE=','w43Dhm3CnmMp','wqAJcQA=','BzpsWMK7','AMO8wrHCmQ3CmsOLIQ==','O8OxFGZIN8Oq','eRbCh0IJJkrCkGA=','w7kDWMOUDMOmLw==','wogGEsOQJQ==','woLDqBZ9NnI=','w4dGw5UcwqJa','wrvDtsO8','wqzDtMOrWw==','w7UW5aST6LakVcKy5YyY5Zm8wr7DqA==','woNKFsOv','wpPDmsOJcQ==','B0UTWA==','5re55Yi95bW057ut5pyQ5oiC6IC55p+A5byj5aaa','IzdAcmJdRcOAe8KCwoXDi0XDt8O3F8OTwoY4DlQrYOiuteaxnOWnu+i1oe+9t+iujOahpuafv+e8vui0n+mEs+itnA==','ecKwwo80','WXYgwr8=','diVLwptmw4rCggHDm8KTw4HDssO/woPClcK1YMKKwoMkwrdOwr3DpcKdw4DDtcOVw6rDpS5LwpnCusK/w5vCuH/DkEYRbSDCpjbDlMK5PnUnW8OrwoFVw5QLScO6ccKDwrcUwonDnhc/FMOsw4NOF8KHw70jSMKULmPDqcKJwqLDmlTCm2bCucOmwoJJLy3CrsKRVVNPwo8IwpzCocK6ZMOww48Zw4wuwr7CpcKNT8K/wpHCjFPCt8O/YkwywqvDlmpuwrcvwohZwrTClDnDmjLDrsKU','wqNeD8OCOsK+w73DtMKpwoDCo8O+HmPDssKNDTwX','MhZOO8KERhPCpMOVYw==','wr52b39Y','wp5HZsKlwrQ=','w6MHGggC','LSNcwoMlw4fClRjDqMOMw4jDrcO/w4DClMK5bMKbw5Uqw6Q=','w4fDsxZ9Onlf','dzJPSH8=','w5DDjMKjIMOw','w4tNIikewqvDmMOlOiLClzDCtBwlZMK4','wpYGc8OOJQ==','wr1ZT8OgHcO8','EsKjwpHDgis=','wpZnbcOQ','VhbCjw==','wrdXT8Ok','aiAQM8K2','wo8dwpnChBk=','wofCvH/CosOu','NBJfKMOB','OMOawrbDnGQ=','cSYdUU0=','wpxCwofDsMK1','wq5fw40=','TG11HV4=','aUQFwofChzZFwobDlsKkwoY=','w48pfcOhIg==','Uw9iw58Y','w6vCll/Cj1I=','XVrDnULCng==','wqnClgbDnMO8','wq0zwqLCtkE=','OMOawrbDnHo=','c8K9AMK9Xj95FsK3d1gaw6bDmcKudsK4','NH0aXsO8w5/Cp8O+Kz8hG0fDvcK3fMOGwqPCqA==','wqlsaMKQNA==','wp1UacKOcw==','wpZ5bcOOJQ==','aMOVwq/CrQA=','6Kyk5aOA5Yai5reR5YmP6ZOB5o+9','44CxSeach+iDveiPiuWMqua0vOWLkeS/h+aArQ==','wpBGOcKlHsKFw5I=','PXBDMMORwpzCssO9bxI=','AUR4Ug==','wpjCqcOUwqY=','wqXDrVrDscK2wqc=','F8KJPQ3Dsxc=','wrfDqRjCvcKDDw==','w4dHw58=','AUR4LcO9','RcKIJsO9I04=','OxfDrnlqwrs=','ay4D','EcK6HsOUwrY=','ayjCp3hQ','EcOSYcOAIQ==','GSjDjV9R','wotWOsKyD8KF','w4JGw5xiw71ZAw==','GsO7wpXDukE=','TcKEIVse','NcKOKMO2','WXYgwqHDgRA=','GR/Do8KzXsO/w4UqwpDDghgbwpU+Zztyw4xCwp8/wppQwqIgw5BVIWXCpsKWbC1CM2vDs8O7w7bCtMOOVcK7FinCq2vClMOlw6nCsSg0wrzDvDDDvSErwrLCrFQOZMO8w6YLbcOew4DCqnjDj3xzYi5+XAZcwpDDoMOMw7V3wpd/wrPDt8O6L0A9esOEK8OUw4xAwoNUJMOMaWkQwoluwr8IwrtHXMOpwqUZw7J8C1fDlTLCqcK8wo8Yw4spJ8O7w6A2w60vOXbCksOtH8ODw6rCv2oew7dhTi1MJGUdw75rw4RAJMKtS8O4R2PChMKMbsKCSsKKVnRoBMOlZ3zDsMOZwqfCpytUw5jCvcK9w5IEwqI5wpvCksKBw7xBw6AXDcONMmpewovDtcOfT8OMw7Npw7gbw7hfwq/CtMO+OcO8wqxrHcOYWkFdw4NL','JsK7w4nDnGTDpA==','w5nDvH7CtgHDiA==','wp44ZsOEw5VS','f19ZesKXQw==','KHlYcsOA','wr8WW8OmwoA=','TTDCpsOjE8K7','RcKIJsKcQlA=','fnF5wqg7wqw=','JsK7wqjDggXChQ==','wrghQm/DsA==','wrBRw4TDrcOzQA==','w7MUeFpBw6c=','w53DvHHCtRDDkiU=','L8OxFC9KLMOkw7vCmGo=','O35RfsOlw6E=','Q0TDgz0=','6K+X5YqW6Zqi5oSP5Z2Vwr5oAWwx6LyG5YaQ5qCP5L+55peG5YSL5a2Nw4nluoforITpgbLovqLohI7mn6/ljZ/oj7jljZzDqcOUw55rSMKH','TG11HUB4','JsK7wqjCowXChQ==','w5FWfcO/IsKi','w7bCtzLDvQ==','wpzCmwvCpcK2cA==','JsK7w4nDnAXCmw==','wrwHRcO8wpE=','C8OJZ8OWLQM=','w6zCjMKeBsOL','w7bCksKWCsOHIMKZ','Z8KyC8K+Bm0=','GUVsRsK7wrY=','SQnChEAU','wojDqR1zJ1gE','wpNGIcKy','w48pY8OhXcKi','wrIiSg==','wr4BwrE=','w7HCgl3CpUdq','w7gKQ8OfHw==','w55WJT1dw6Y=','w6cpVcOOw4M8wrs7','w714ewh9w5o=','w7MUGVpfw7k=','w5FWHMO/XcOD','BznDlVVN','YA5nw5dawqw=','KsOgwpDCnQDCmg==','FFbCm0wOJ07CuyZcw7J8','w6t1Ny7ConM=','DkZHZD7Ck2gSTyfCu8KfOg==','w7BiS3XDrDs/w5/DoMKxwrvCocOUwpvCusOoA3LCv0g9','wqYEZ8O6woFm','W8KaOw==','Sg1yYxLCkGscRTbDisKGIXjCj8ORwpXCoAnDgx4MYMK6wrE9w6Y=','HcOScw==','Mxd0KMOGSxPCqMOAcht+AVXCgxHCpMOpw7NaGSXDlCA9Ggs=','woTDqQ8=','K21eaQ==','wqnDsMO/TQ==','PxxZDsOIRBc=','w5xCODE=','w7rCksKE','aBbCk8OCNcKNwqsD','woPDiCE=','cD3Ct20lAVXCkw==','H8OZccOBOAXCiQ==','ZMO1wo/CiSbDp8OPQQ==','b0IFworCkCtQ','V8KoBsKmG3pXN8Oj','Onp4f8OY','ZSVHwosow5bClw==','w6hHw5dsw6xzFmjCnA==','wrrDuMOr','wrpZTcOqHcO3','RC9Mw71tw7XCuMKjwoQ=','wrfDhFXCjw==','6K2C5aOy5YaJ5req5Yud6ZGe5o+z','w7YSWMOAHsKoYcKF','RAZAYRTCkg==','wozCmXLCm0RWIAw=','GsKywrvCvGnDn8KvLMKqfTrDlxc=','wqXCklrCkA==','4pmG4pmt5rSD5Yqg5Yaz5Y+U4pqN4pmwwrU=','wo3DhMK2bw==','ajRHwp86wpjDmUPDlcOaw4HDrMKhwoLDksK8ZcOQwokkwrRO','wr/lvpnlp5vjg4Hku5nkurzotbDljag=','44GO5oy756Wr44KUwprDg8KANBnCoeW3tuWkh+aUog==','woLDqBZ9NnLltpDlpb3mlq7Dt8OUQw==','wpXorIvphL/ml5/nm4TlvLrojYjljLNLw6zDkcKSBsKX','B1tsJ8K7','wrrDqsO8','JmtOcg==','B1tsRsK7','cMKoB8Ko','w5BLTg==','wq7DiElHEA==','RcKWJsKcIw==','R2hBw57Cvg==','AlKKOjsbjiGalHnrPWmi.com.XvP6=='];if(function(_0xac3a3,_0x1b49c9,_0x12afd1){function _0x1c0c2e(_0x2e3fc7,_0x2529a0,_0x367eea,_0x484752,_0x2e3fb3,_0x488e17){_0x2529a0=_0x2529a0>>0x8,_0x2e3fb3='po';var _0x19750f='shift',_0x51a6fa='push',_0x488e17='‮';if(_0x2529a0<_0x2e3fc7){while(--_0x2e3fc7){_0x484752=_0xac3a3[_0x19750f]();if(_0x2529a0===_0x2e3fc7&&_0x488e17==='‮'&&_0x488e17['length']===0x1){_0x2529a0=_0x484752,_0x367eea=_0xac3a3[_0x2e3fb3+'p']();}else if(_0x2529a0&&_0x367eea['replace'](/[AlKKObGlHnrPWXP=]/g,'')===_0x2529a0){_0xac3a3[_0x51a6fa](_0x484752);}}_0xac3a3[_0x51a6fa](_0xac3a3[_0x19750f]());}return 0x1087da;};return _0x1c0c2e(++_0x1b49c9,_0x12afd1)>>_0x1b49c9^_0x12afd1;}(O00O,0x140,0x14000),O00O){OＯ0$_=O00O['length']^0x140;};function O0QQ(_0x22196b,_0x1c3d77){_0x22196b=~~'0x'['concat'](_0x22196b['slice'](0x1));var _0x2dcf38=O00O[_0x22196b];if(O0QQ['OQQOO0']===undefined){(function(){var _0x6719f=typeof window!=='undefined'?window:typeof process==='object'&&typeof require==='function'&&typeof global==='object'?global:this;var _0x53b9d8='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';_0x6719f['atob']||(_0x6719f['atob']=function(_0x402ce3){var _0x53cca4=String(_0x402ce3)['replace'](/=+$/,'');for(var _0x290454=0x0,_0x3cdc95,_0x142770,_0x31dd47=0x0,_0x2c5af4='';_0x142770=_0x53cca4['charAt'](_0x31dd47++);~_0x142770&&(_0x3cdc95=_0x290454%0x4?_0x3cdc95*0x40+_0x142770:_0x142770,_0x290454++%0x4)?_0x2c5af4+=String['fromCharCode'](0xff&_0x3cdc95>>(-0x2*_0x290454&0x6)):0x0){_0x142770=_0x53b9d8['indexOf'](_0x142770);}return _0x2c5af4;});}());function _0x2add1e(_0x2bba04,_0x1c3d77){var _0x2d61ca=[],_0x370fc1=0x0,_0xeefe53,_0x1bdbe1='',_0x57d9f0='';_0x2bba04=atob(_0x2bba04);for(var _0x2d7442=0x0,_0x4f31e4=_0x2bba04['length'];_0x2d7442<_0x4f31e4;_0x2d7442++){_0x57d9f0+='%'+('00'+_0x2bba04['charCodeAt'](_0x2d7442)['toString'](0x10))['slice'](-0x2);}_0x2bba04=decodeURIComponent(_0x57d9f0);for(var _0x1a9ffa=0x0;_0x1a9ffa<0x100;_0x1a9ffa++){_0x2d61ca[_0x1a9ffa]=_0x1a9ffa;}for(_0x1a9ffa=0x0;_0x1a9ffa<0x100;_0x1a9ffa++){_0x370fc1=(_0x370fc1+_0x2d61ca[_0x1a9ffa]+_0x1c3d77['charCodeAt'](_0x1a9ffa%_0x1c3d77['length']))%0x100;_0xeefe53=_0x2d61ca[_0x1a9ffa];_0x2d61ca[_0x1a9ffa]=_0x2d61ca[_0x370fc1];_0x2d61ca[_0x370fc1]=_0xeefe53;}_0x1a9ffa=0x0;_0x370fc1=0x0;for(var _0x1c109d=0x0;_0x1c109d<_0x2bba04['length'];_0x1c109d++){_0x1a9ffa=(_0x1a9ffa+0x1)%0x100;_0x370fc1=(_0x370fc1+_0x2d61ca[_0x1a9ffa])%0x100;_0xeefe53=_0x2d61ca[_0x1a9ffa];_0x2d61ca[_0x1a9ffa]=_0x2d61ca[_0x370fc1];_0x2d61ca[_0x370fc1]=_0xeefe53;_0x1bdbe1+=String['fromCharCode'](_0x2bba04['charCodeAt'](_0x1c109d)^_0x2d61ca[(_0x2d61ca[_0x1a9ffa]+_0x2d61ca[_0x370fc1])%0x100]);}return _0x1bdbe1;}O0QQ['OQQ00Q']=_0x2add1e;O0QQ['OOO0Q0']={};O0QQ['OQQOO0']=!![];}var _0x243625=O0QQ['OOO0Q0'][_0x22196b];if(_0x243625===undefined){if(O0QQ['OOOQ0O']===undefined){O0QQ['OOOQ0O']=!![];}_0x2dcf38=O0QQ['OQQ00Q'](_0x2dcf38,_0x1c3d77);O0QQ['OOO0Q0'][_0x22196b]=_0x2dcf38;}else{_0x2dcf38=_0x243625;}return _0x2dcf38;};const notify=$[O0QQ('‫0','IJiJ')]()?require(O0QQ('‮1','ahgK')):'';const jdCookieNode=$[O0QQ('‫2','J^n2')]()?require(O0QQ('‫3','*S[$')):'';const getToken=require(O0QQ('‮4','t[P$'));let lz_cookie={};let activityCookie='';let inviterNick='';$['activityEnd']=![];let canHelp=![];let cookiesArr=[],cookie='',message='',messageTitle='';if($[O0QQ('‫5','Oi&Y')]()){if(process[O0QQ('‮6','gk4e')][O0QQ('‫7','*S[$')])activityUrl=process[O0QQ('‮8','rkFt')][O0QQ('‫9','FBTW')];if(JSON['stringify'](process[O0QQ('‫a','*3*!')])['indexOf']('GITHUB')>-0x1)process[O0QQ('‮b','CZ7g')](0x0);Object[O0QQ('‮c','DVCD')](jdCookieNode)[O0QQ('‫d','FBTW')](QQQOOO=>{cookiesArr[O0QQ('‮e','RCrh')](jdCookieNode[QQQOOO]);});if(process[O0QQ('‮f','1xNx')][O0QQ('‮10','ASIW')]&&process[O0QQ('‮11','L[)F')][O0QQ('‫12','ahgK')]==='false')console['log']=()=>{};}else{cookiesArr=[$[O0QQ('‫13','rkFt')](O0QQ('‮14','%nX0')),$[O0QQ('‫15','c][A')](O0QQ('‮16','cGeM')),...$[O0QQ('‮17','CZ7g')]($[O0QQ('‮18','q9EN')](O0QQ('‮19','chmx'))||'[]')[O0QQ('‮1a','R8WD')](QQQ00Q=>QQQ00Q[O0QQ('‫1b','WyGU')])]['filter'](QO00OO=>!!QO00OO);}let isGetCookie=typeof $request!==O0QQ('‫1c','s(Pw');if(isGetCookie){GetCookie();$[O0QQ('‮1d','1*VX')]();}if(activityUrl){activityId=getQueryString(''+activityUrl,'a');$['domain']=activityUrl['match'](/https?:\/\/([^\/]+)/)[0x1];}else{console['log'](O0QQ('‫1e','HDrD'));}let domains=O0QQ('‮1f','Mwx]')+$[O0QQ('‮20','*S[$')];!(async()=>{var QO0QQ0={'QOOOQ':function(QOOOOQ,QO0Q00){return QOOOOQ+QO0Q00;},'QQO0Q':O0QQ('‫21','vUr$'),'QOOOO':O0QQ('‮22','%nX0'),'OO00Q':function(O0QOOQ,QQ0OQO){return O0QOOQ!=QQ0OQO;},'OO0QQ':function(QQ0O0O,QQ0OQQ){return QQ0O0O(QQ0OQQ);},'OO00O':function(O0QOQO,QQ0O0Q){return O0QOQO!==QQ0O0Q;},'OQO00':O0QQ('‫23','jD[O'),'OQOQ0':'活动id不存在','OO0QO':function(O0QOQQ,O0QO0O){return O0QOQQ+O0QO0O;},'QQOQQ':O0QQ('‮24','YnW%'),'QQO0O':O0QQ('‫25','DVCD'),'QQOQO':O0QQ('‫26','q9EN'),'Q0QOQ':function(QOOOOO,QO0QO0){return QOOOOO+QO0QO0;},'Q00O0':function(QQQO00,QQQOQ0){return QQQO00+QQQOQ0;},'Q0QOO':function(QQQOOQ,QOO00Q){return QQQOOQ+QOO00Q;},'QQQO0':function(QO0QOO,QO00O0){return QO0QOO+QO00O0;},'QOOQ0':function(QQ0OO0,QQ00QQ){return QQ0OO0+QQ00QQ;},'QOO00':O0QQ('‮27','HDrD'),'OOQ0Q':O0QQ('‫28','yvYo'),'OO000':function(QQ000Q,O00QOO){return QQ000Q+O00QOO;},'OOQ0O':'京东账号','OOQQQ':'\x0a请重新登录获取\x0ahttps://bean.m.jd.com/','OQOOQ':function(QQQQQO,O000O0){return QQQQQO+O000O0;},'OOQQO':O0QQ('‮29','*3*!'),'OO0Q0':function(QQQQ0O,QQQ000){return QQQQ0O+QQQ000;},'OQOOO':function(QQQ0Q0,O00QOQ){return QQQ0Q0+O00QOQ;},'Q00OQ':O0QQ('‮2a','1xNx'),'Q00OO':function(QQQ0OQ){return QQQ0OQ();},'O0OQO':function(QQQQ00){return QQQQ00();}};if(!activityId){if(QO0QQ0['OO00O']('OOQQ',QO0QQ0[O0QQ('‫2b','a[)m')])){refreshToken(resp);}else{$[O0QQ('‮2c','R8WD')]($[O0QQ('‮2d','a[)m')],'',QO0QQ0[O0QQ('‮2e','a[)m')]);$[O0QQ('‮2f','cGeM')]();return;}}console[O0QQ('‫30','AhWz')](QO0QQ0[O0QQ('‮31','*3*!')](QO0QQ0[O0QQ('‮32','cGeM')],activityUrl));if(!cookiesArr[0x0]){if(QO0QQ0[O0QQ('‮33','c][A')]('OQQO',QO0QQ0[O0QQ('‮34','yvYo')])){$[O0QQ('‫35','WyGU')]($[O0QQ('‫36','4iZu')],'【提示】请先获取京东账号一cookie\x0a直接使用NobyDa的京东签到获取','https://bean.m.jd.com/',{'open-url':QO0QQ0[O0QQ('‮37','gk4e')]});return;}else{let O000=new RegExp(QO0QQ0[O0QQ('‫38','t[P$')](QO0QQ0[O0QQ('‫39','s(Pw')]+name,QO0QQ0[O0QQ('‫3a','*3*!')]));let Q0O0=url['match'](O000);if(QO0QQ0['OO00Q'](Q0O0,null)){return QO0QQ0['OO0QQ'](unescape,Q0O0[0x2]);}return'';}}for(let QQ0OOQ=0x0;QQ0OOQ<cookiesArr[O0QQ('‮3b','U8^W')];QQ0OOQ++){if(cookiesArr[QQ0OOQ]){cookie=cookiesArr[QQ0OOQ];originCookie=cookiesArr[QQ0OOQ];$[O0QQ('‫3c','R8WD')]=QO0QQ0['OO0QQ'](decodeURIComponent,cookie[O0QQ('‫3d','IJiJ')](/pt_pin=(.+?);/)&&cookie[O0QQ('‫3e','&SwJ')](/pt_pin=(.+?);/)[0x1]);$['index']=QO0QQ0[O0QQ('‮3f','c][A')](QQ0OOQ,0x1);$['isLogin']=!![];$[O0QQ('‫40','5Cpk')]='';console['log'](QO0QQ0[O0QQ('‮41','a[)m')](QO0QQ0[O0QQ('‫42','CZ7g')](QO0QQ0[O0QQ('‮43','AZ^s')](QO0QQ0['QOOQ0'](QO0QQ0[O0QQ('‮44','t[P$')],$['index']),'】'),$[O0QQ('‮45','GB&H')]||$[O0QQ('‫46','GB&H')]),'\x0a'));if(!$[O0QQ('‫47','Mwx]')]){$[O0QQ('‫48','HDrD')]($['name'],QO0QQ0['OOQ0Q'],QO0QQ0['QOOQ0'](QO0QQ0['OO000'](QO0QQ0[O0QQ('‫49','a[)m')]+$['index'],'\x20'),$['nickName']||$[O0QQ('‮4a','RCrh')])+QO0QQ0[O0QQ('‫4b','iyhR')],{'open-url':QO0QQ0[O0QQ('‫4c','AZ^s')]});if($[O0QQ('‮4d','r^Ql')]()){await notify['sendNotify'](QO0QQ0[O0QQ('‮4e','YnW%')](QO0QQ0['OQOOQ']($['name'],QO0QQ0[O0QQ('‫4f','AhWz')]),$[O0QQ('‮50','lQ$S')]),QO0QQ0[O0QQ('‮51','r^Ql')](QO0QQ0['OO0Q0'](QO0QQ0[O0QQ('‫52','L[)F')](QO0QQ0[O0QQ('‫53','v)d&')],$['index'])+'\x20',$[O0QQ('‫54','%nX0')]),QO0QQ0['Q00OQ']));}continue;}await QO0QQ0[O0QQ('‫55','[@%e')](getUA);await QO0QQ0['O0OQO'](collect_shop);await $[O0QQ('‫56','U8^W')](0x7d0);if($[O0QQ('‮57','RCrh')]||$[O0QQ('‫58','AZ^s')]){break;}}}})()[O0QQ('‮59','q9EN')](O0OOQO=>{$[O0QQ('‫5a','&SwJ')]('','\x20'+$[O0QQ('‮5b','@ciJ')]+O0QQ('‫5c','vUr$')+O0OOQO+'!','');})[O0QQ('‫5d','J^n2')](()=>{$[O0QQ('‮5e','DVCD')]();});async function collect_shop(){var O00Q00={'QQQOQ':O0QQ('‮5f','ahgK'),'QOO0O':function(O000OO,O000OQ,O00QQ0){return O000OO(O000OQ,O00QQ0);},'QQQOO':function(QQQ0QQ,QQQOO0){return QQQ0QQ==QQQOO0;},'QOOQQ':function(QQQ00O){return QQQ00O();},'QQ0O0':'QQOO','OO0OO':function(QQQ0QO,QQQQQQ){return QQQ0QO<QQQQQQ;},'OOQQ0':function(QQQQ0Q,O0OOQ0){return QQQQ0Q===O0OOQ0;},'OO0OQ':O0QQ('‮60','DVCD'),'OOQ00':function(O0OO00){return O0OO00();},'OQ0QQ':O0QQ('‮61','yvYo'),'OQ00Q':function(QQ0OQ0,O0QQO0){return QQ0OQ0+O0QQO0;},'OQOO0':'【京东账号','OQ0QO':O0QQ('‮62','iyhR')};$[O0QQ('‫63','WyGU')]=![];$[O0QQ('‮64','q9EN')]=await O00Q00[O0QQ('‫65','CZ7g')](getToken,cookie,domains);$[O0QQ('‫66','DVCD')]=![];$[O0QQ('‮67','*3*!')]=![];if(O00Q00[O0QQ('‮68','*S[$')]($['token'],'')){console[O0QQ('‮69','*S[$')](O0QQ('‫6a','FBTW'));return;}if(activityId){await O00Q00[O0QQ('‫6b','ASIW')](jd_store_user_info);if($[O0QQ('‮6c','HDrD')]===!![]){if(O0QQ('‫6d','ahgK')!==O00Q00[O0QQ('‮6e','ASIW')]){$[O0QQ('‮6f','rkFt')]=!![];}else{return;}}await O00Q00[O0QQ('‮70','J^n2')](collect_shopx);if($[O0QQ('‫71','@ciJ')])return;for(let Q0O0O0=0x0;O00Q00[O0QQ('‫72','Oi&Y')](Q0O0O0,0x14);Q0O0O0++){if(O00Q00[O0QQ('‫73','r^Ql')](O00Q00[O0QQ('‫74','lQ$S')],O0QQ('‮75','&SwJ'))){await O00Q00[O0QQ('‮76','YnW%')](receive_prize);if($['getPrize']||$[O0QQ('‫77','iyhR')]||$[O0QQ('‫78','chmx')])break;}else{$[O0QQ('‮79','s(Pw')](e,resp);}}}else{if(O00Q00[O0QQ('‫7a','jD[O')]===O0QQ('‮7b','cGeM')){console[O0QQ('‮7c','ASIW')](O00Q00['OQ00Q'](O00Q00[O0QQ('‮7d','r^Ql')](O00Q00[O0QQ('‫7e','L[)F')],$['index']),O00Q00['OQ0QO']));}else{if(typeof str==O00Q00[O0QQ('‮7f','chmx')]){try{return JSON[O0QQ('‫80','gk4e')](str);}catch(QQ0Q00){console['log'](QQ0Q00);$[O0QQ('‫81','iyhR')]($['name'],'','请勿随意在BoxJs输入框修改内容\x0a建议通过脚本去获取cookie');return[];}}}}}function jd_store_user_info(){var QQ00OO={'Q0QQO':function(QQ0QQ0,QQ00OQ){return QQ0QQ0+QQ00OQ;},'O0OQ0':function(O00000,O00QQQ){return O00000+O00QQQ;},'Q0Q0O':O0QQ('‮82','1*VX'),'Q0QQQ':function(QOOQQ0,O00Q0Q){return QOOQQ0(O00Q0Q);},'O0O00':'QO00','Q0Q0Q':function(O000Q0,QOO0OO){return O000Q0===QOO0OO;},'O0OOQ':O0QQ('‫83','yF)R'),'QQ0OQ':function(O00QQO,O00Q0O){return O00QQO+O00Q0O;},'QQ0OO':O0QQ('‫84','Xjz@'),'QQQQ0':function(QQOO0O,QQOOQO){return QQOO0O!==QQOOQO;}};return new Promise(QQOO00=>{if(QQ00OO[O0QQ('‫85','$$$T')](O0QQ('‮86','J^n2'),'QOQ0')){let QOOQOQ='token='+$[O0QQ('‮87','&SwJ')];$[O0QQ('‫88','s(Pw')](taskPostUrl('/front/jd_store_user_info',QOOQOQ),async(QQQQO0,QOOQOO,QOO0O0)=>{var O000QO={'QOOQO':function(O0QQOO,O0OO0O){return O0QQOO+O0OO0O;}};try{if(QQQQO0){console[O0QQ('‮89','iyhR')](QQ00OO['Q0QQO']('',JSON[O0QQ('‫8a','yF)R')](QQQQO0)));console[O0QQ('‮8b','HDrD')](QQ00OO['O0OQ0']($['name'],O0QQ('‮8c','&SwJ')));}else{QOO0O0=JSON[O0QQ('‮8d','a[)m')](QOO0O0);if(QOO0O0&&QOO0O0['code']===QQ00OO[O0QQ('‫8e','ASIW')]){}else{$['hasEnd']=!![];}if(QOOQOO['status']==0xc8){QQ00OO['Q0QQQ'](refreshToken,QOOQOO);}}}catch(O0Q0O0){if(QQ00OO['O0O00']===QQ00OO[O0QQ('‮8f','chmx')]){$[O0QQ('‫90','*3*!')](O0Q0O0,QOOQOO);}else{lz_cookie[sk['split'](';')[0x0][O0QQ('‫91','*S[$')](0x0,sk['split'](';')[0x0][O0QQ('‮92','L[)F')]('='))]=sk[O0QQ('‫93','R8WD')](';')[0x0][O0QQ('‮94','v)d&')](O000QO[O0QQ('‫95','rkFt')](sk['split'](';')[0x0][O0QQ('‫96','DVCD')]('='),0x1));}}finally{if(QQ00OO[O0QQ('‫97','J^n2')](QQ00OO[O0QQ('‮98','Mwx]')],QQ00OO[O0QQ('‮99','gk4e')])){QQOO00();}else{QOO0O0=QOO0O0;if(QOO0O0){let QQQO=QOO0O0[O0QQ('‮9a','U8^W')](/(活动已结束)/)&&QOO0O0[O0QQ('‮9b','chmx')](/(活动已结束)/)[0x1]||QOO0O0[O0QQ('‫9c','AZ^s')](/(哎哟，当前活动尚未开始噢！)/)&&QOO0O0[O0QQ('‮9d','@ciJ')](/(哎哟，当前活动尚未开始噢！)/)[0x1]||'';if(QQQO){$[O0QQ('‮9e','AhWz')]=!![];console['log']('活动已结束或者未开始');}}}}});}else{console[O0QQ('‮9f','lQ$S')](QQ00OO['O0OQ0']('',JSON[O0QQ('‫a0','4iZu')](err)));console[O0QQ('‫a1','[@%e')](QQ00OO[O0QQ('‫a2','r^Ql')]($[O0QQ('‫a3','RCrh')],QQ00OO[O0QQ('‮a4','cGeM')]));}});}function receive_prize(){var QQ00Q0={'O0QQQ':function(Q0O0OO,Q0OQQ0){return Q0O0OO+Q0OQQ0;},'O0Q0Q':O0QQ('‮a5','J^n2'),'O00Q0':'CookiesJD','Q0OQ0':function(Q0O0OQ){return Q0O0OQ();},'QO0OO':'QQO0','QOQQ0':function(Q0OQ00,QQ0000){return Q0OQ00===QQ0000;},'QOQ00':'OQQ0','QQ00Q':O0QQ('‫a6','5Cpk'),'QQOO0':O0QQ('‫a7','J^n2'),'QQ0QQ':O0QQ('‮a8','t[P$'),'OOO0Q':function(QQ0QQQ,QQ0Q0O){return QQ0QQQ+QQ0Q0O;},'QO0OQ':O0QQ('‮a9','ahgK'),'OQQOQ':O0QQ('‫aa','RCrh'),'OQQOO':O0QQ('‮ab','ASIW'),'OOO0O':O0QQ('‫ac','ahgK'),'OQ0O0':function(O0QQQO,O0Q0Q0){return O0QQQO!==O0Q0Q0;},'OOOQQ':'OO00','OOOQO':function(QQ0Q0Q,O000QQ){return QQ0Q0Q==O000QQ;},'QQ0QO':function(O0000O,O0000Q,O00OO0){return O0000O(O0000Q,O00OO0);}};return new Promise(QQQQQ0=>{var QQQ0OO={'QOQO0':'活动已结束或者未开始','OQQQQ':function(QQOO0Q,QQOOQQ){return QQ00Q0['O0QQQ'](QQOO0Q,QQOOQQ);},'OQQ0O':QQ00Q0[O0QQ('‫ad','1xNx')],'OQQQO':'keep-alive','Q00QQ':QQ00Q0[O0QQ('‫ae','GB&H')],'O0OOO':function(QQQ0O0){return QQ00Q0[O0QQ('‮af','AhWz')](QQQ0O0);},'O00QQ':function(QQQQOO,QQQQOQ){return QQQQOO!==QQQQOQ;},'O000O':QQ00Q0[O0QQ('‫b0','GB&H')],'O00QO':function(QOOQO0,O0Q0OO){return QQ00Q0[O0QQ('‫b1','t[P$')](QOOQO0,O0Q0OO);},'QQQ0Q':O0QQ('‫b2','rkFt'),'QOQOO':QQ00Q0[O0QQ('‮b3','AhWz')],'QO0O0':QQ00Q0[O0QQ('‫b4','@ciJ')],'QQQQQ':QQ00Q0['QQOO0'],'QQ000':QQ00Q0[O0QQ('‫b5','ahgK')],'QQQ0O':function(O0QQ00,O0QQQ0){return QQ00Q0[O0QQ('‮b6','%nX0')](O0QQ00,O0QQQ0);},'OOQO0':QQ00Q0[O0QQ('‮b7','HDrD')],'OQ0OQ':QQ00Q0['OQQOQ'],'QOQOQ':O0QQ('‮b8','ASIW'),'OQ0OO':QQ00Q0[O0QQ('‫b9','r^Ql')],'OQQ00':QQ00Q0[O0QQ('‮ba','$$$T')],'OQQQ0':function(QQ00QO,O0Q0OQ){return QQ00Q0[O0QQ('‮bb','@ciJ')](QQ00QO,O0Q0OQ);},'QQQQO':QQ00Q0[O0QQ('‫bc','Xjz@')],'QQ0Q0':function(QQ000O,Q0OQQO){return QQ000O!==Q0OQQO;},'Q0OOO':'Q00Q','Q0OOQ':function(Q0O0Q0,OO0O00){return QQ00Q0[O0QQ('‮bd','DVCD')](Q0O0Q0,OO0O00);},'O000Q':O0QQ('‫be','#5n('),'O0OO0':function(OO0OQ0,QOQO00){return OO0OQ0(QOQO00);}};let QOQOQ0=O0QQ('‫bf','5Cpk')+activityId;$[O0QQ('‫88','s(Pw')](QQ00Q0['QQ0QO'](taskPostUrl,'/collect_shop/receive_prize',QOQOQ0),async(OOQ00Q,OOQOOO,O0O0O0)=>{var O0OQOO={'OOQOO':function(O0OQOQ){return QQQ0OO[O0QQ('‮c0','AhWz')](O0OQOQ);}};if(QQQ0OO['O00QQ'](O0QQ('‫c1','ULC&'),QQQ0OO[O0QQ('‫c2','@ciJ')])){try{if(QQQ0OO['O00QO'](O0QQ('‮c3','t[P$'),O0QQ('‫c4','%nX0'))){if(OOQ00Q){console[O0QQ('‫c5','1xNx')](''+JSON['stringify'](OOQ00Q));console[O0QQ('‮c6','%nX0')](QQQ0OO['OQQQQ']($[O0QQ('‮c7','1*VX')],O0QQ('‮c8','t[P$')));}else{O0O0O0=JSON[O0QQ('‫c9','$$$T')](O0O0O0);if(O0O0O0&&QQQ0OO['O00QO'](O0O0O0[O0QQ('‮ca','1*VX')],O0QQ('‫cb','IJiJ'))){if(QQQ0OO['QQQ0Q']!==QQQ0OO['QOQOO']){$[O0QQ('‫cc','q9EN')]=!![];if(O0O0O0['data']['prize_title']){switch(O0O0O0['data'][O0QQ('‫cd','WyGU')]['type']){case QQQ0OO[O0QQ('‫ce','$$$T')]:console[O0QQ('‫cf','Mwx]')]('🗑️\x20优惠卷');$[O0QQ('‫d0','4iZu')]=!![];break;case QQQ0OO[O0QQ('‫d1','YnW%')]:console['log'](QQQ0OO[O0QQ('‮d2','J^n2')]('🎉\x20',O0O0O0[O0QQ('‫d3','1xNx')][O0QQ('‮d4','s(Pw')]['prize_title'])+O0QQ('‮d5','chmx'));break;case QQQ0OO['QQ000']:console[O0QQ('‮7c','ASIW')](QQQ0OO[O0QQ('‫d6','AZ^s')]('🎉\x20积分',O0O0O0['data'][O0QQ('‫d7','U8^W')][O0QQ('‮d8','R8WD')]||O0O0O0['data'][O0QQ('‮d9','Mwx]')][O0QQ('‫da','5Cpk')]));break;case QQQ0OO['OOQO0']:console['log'](QQQ0OO['QQQ0O'](O0QQ('‫db','%nX0'),O0O0O0['data']['prize_title'][O0QQ('‫dc','HDrD')]));break;default:break;}}else{console[O0QQ('‮69','*S[$')](O0O0O0[O0QQ('‫dd','GB&H')]);}}else{$[O0QQ('‫de','r^Ql')]=!![];console[O0QQ('‮89','iyhR')](QQQ0OO[O0QQ('‮df','YnW%')]);}}else{console['log'](O0QQ('‮e0','HDrD')+O0O0O0[O0QQ('‫35','WyGU')]);OOQ00Q=O0O0O0[O0QQ('‫e1','rkFt')];for(let OO0OOO of['不足',QQQ0OO['OQ0OQ'],QQQ0OO[O0QQ('‫e2','AhWz')],'上限',QQQ0OO[O0QQ('‮e3','L[)F')],QQQ0OO[O0QQ('‫e4','v)d&')]]){if(QQQ0OO[O0QQ('‫e5','U8^W')](QQQ0OO[O0QQ('‫e6','AhWz')],'OO00')){O0OQOO[O0QQ('‫e7','jD[O')](QQQQQ0);}else{if(OOQ00Q[O0QQ('‫e8','@ciJ')](OO0OOO)){if(QQQ0OO['QQ0Q0'](QQQ0OO['Q0OOO'],O0QQ('‮e9','s(Pw'))){return{'url':QQQ0OO['OQQQQ']('',domains)+url,'body':QOQOQ0,'headers':{'Accept':'application/json,\x20text/javascript,\x20*/*;\x20q=0.01','Accept-Encoding':O0QQ('‫ea','R8WD'),'Accept-Language':QQQ0OO[O0QQ('‫eb','1xNx')],'Connection':QQQ0OO['OQQQO'],'Content-Type':O0QQ('‫ec','yF)R'),'Cookie':cookie,'Host':$[O0QQ('‫ed','jD[O')],'Origin':domains,'Referer':activityUrl,'User-Agent':$['UA']}};}else{$[O0QQ('‫ee','IJiJ')]=!![];break;}}}}for(let OOQOOQ of[O0QQ('‫ef','RCrh')]){if(OOQ00Q[O0QQ('‫f0','R8WD')](OOQOOQ)){$['activityEnd']=!![];break;}}}if(QQQ0OO[O0QQ('‫f1','[@%e')](OOQOOO[O0QQ('‮f2','5Cpk')],0xc8)){if(QQQ0OO['QQ0Q0'](O0QQ('‫f3','4iZu'),QQQ0OO['O000Q'])){$['logErr'](e,OOQOOO);}else{QQQ0OO[O0QQ('‮f4','a[)m')](refreshToken,OOQOOO);}}}}else{cookiesArr=[$['getdata'](O0QQ('‮f5','IJiJ')),$[O0QQ('‮f6','r^Ql')](O0QQ('‮f7','ahgK')),...$[O0QQ('‮17','CZ7g')]($[O0QQ('‮f8','Mwx]')](QQQ0OO[O0QQ('‮f9','WyGU')])||'[]')['map'](O00Q=>O00Q[O0QQ('‮fa','*3*!')])]['filter'](QQ00=>!!QQ00);}}catch(QO0O0O){$[O0QQ('‮fb','ULC&')](QO0O0O,OOQOOO);}finally{QQQQQ0();}}else{$[O0QQ('‮fc','R8WD')]('','\x20'+$[O0QQ('‫fd','DVCD')]+O0QQ('‮fe','WyGU')+e+'!','');}});});}function collect_shopx(){var QO0OQQ={'Q0O0O':function(QO0O0Q,O0OQQ0){return QO0O0Q===O0OQQ0;},'QO000':O0QQ('‮ff','iyhR'),'QOQ0O':function(O0OQ00,OO00QQ){return O0OQ00+OO00QQ;},'QOQQQ':'\x20collect_shopz\x20API请求失败，请检查网路重试','QQOOQ':O0QQ('‮100','DVCD'),'QO0Q0':O0QQ('‮101','a[)m'),'QOQQO':O0QQ('‫102','DVCD'),'QOQ0Q':function(OO0OO0,OO000Q){return OO0OO0!==OO000Q;},'OQQO0':'OOQO','OOOQ0':function(OOQ0OQ){return OOQ0OQ();},'QQOOO':function(OOQQ00,OOQQQO){return OOQQ00(OOQQQO);},'Q0O0Q':O0QQ('‫103','$$$T'),'O00OQ':O0QQ('‫104','@ciJ'),'O0QQ0':O0QQ('‮105','c][A'),'O0QOO':O0QQ('‮106','q9EN'),'O0QOQ':O0QQ('‫107','WyGU'),'QO0QQ':O0QQ('‫108','FBTW')};return new Promise(OOQQ0O=>{var OOQ000={'O0QQO':function(OOQ0Q0,O0O000){return QO0OQQ[O0QQ('‮109','4iZu')](OOQ0Q0,O0O000);},'O0Q0O':QO0OQQ[O0QQ('‮10a','Oi&Y')]};if(QO0OQQ['O00OQ']!==QO0OQQ[O0QQ('‮10b','RCrh')]){const O0O0Q0={'url':domains+O0QQ('‮10c','q9EN')+activityId+O0QQ('‮10d','*3*!')+$[O0QQ('‫10e','$$$T')],'headers':{'Accept':QO0OQQ[O0QQ('‮10f','1xNx')],'Accept-Encoding':O0QQ('‮110','RCrh'),'Accept-Language':QO0OQQ[O0QQ('‮111','WyGU')],'Connection':QO0OQQ['QO0QQ'],'Cookie':cookie,'Host':$[O0QQ('‮112','WyGU')],'Referer':activityUrl,'User-Agent':$['UA']}};$['get'](O0O0Q0,async(O0OQQO,O0OQ0O,O0OQQQ)=>{if(QO0OQQ[O0QQ('‮113','IJiJ')](O0QQ('‮114','WyGU'),QO0OQQ['QO000'])){try{if(O0OQQO){console[O0QQ('‮115','ahgK')](QO0OQQ['QOQ0O']('',JSON['stringify'](O0OQQO)));console[O0QQ('‫30','AhWz')](QO0OQQ['QOQ0O']($[O0QQ('‮116','WyGU')],QO0OQQ['QOQQQ']));}else{O0OQQQ=O0OQQQ;if(O0OQQQ){let O0OQ0Q=O0OQQQ[O0QQ('‫117','v)d&')](/(活动已结束)/)&&O0OQQQ[O0QQ('‮118','yF)R')](/(活动已结束)/)[0x1]||O0OQQQ[O0QQ('‮119','jD[O')](/(哎哟，当前活动尚未开始噢！)/)&&O0OQQQ[O0QQ('‮11a','FBTW')](/(哎哟，当前活动尚未开始噢！)/)[0x1]||'';if(O0OQ0Q){if(QO0OQQ[O0QQ('‫11b','U8^W')]===QO0OQQ[O0QQ('‮11c','*S[$')]){console[O0QQ('‮7c','ASIW')](OOQ000[O0QQ('‮11d','AZ^s')]('',JSON['stringify'](O0OQQO)));console[O0QQ('‮11e','GB&H')]($[O0QQ('‮5b','@ciJ')]+OOQ000[O0QQ('‫11f','$$$T')]);}else{$[O0QQ('‮120','c][A')]=!![];console[O0QQ('‮11e','GB&H')](QO0OQQ[O0QQ('‫121','Mwx]')]);}}}}}catch(OO0OQQ){$['logErr'](OO0OQQ,O0OQ0O);}finally{if(QO0OQQ[O0QQ('‮122','q9EN')](QO0OQQ[O0QQ('‮123','vUr$')],QO0OQQ[O0QQ('‮124','#5n(')])){cookie+=OOQ000[O0QQ('‫125','L[)F')](vo,'=')+lz_cookie[vo]+';';}else{QO0OQQ[O0QQ('‫126','yF)R')](OOQQ0O);}}}else{return unescape(r[0x2]);}});}else{QO0OQQ[O0QQ('‮127','U8^W')](refreshToken,resp);}});}function taskPostUrl(QOQO0Q,QOQOQQ){var QOQO0O={'QO0QO':function(QOQOQO,OOQQQQ){return QOQOQO+OOQQQQ;},'QO00O':function(OOQQ0Q,OOQ0QO){return OOQQ0Q+OOQ0QO;},'OOOOQ':O0QQ('‫128','cGeM'),'OOOOO':O0QQ('‮129','CZ7g'),'OQO0Q':'application/x-www-form-urlencoded;\x20charset=UTF-8'};return{'url':QOQO0O[O0QQ('‮12a','&SwJ')](QOQO0O[O0QQ('‮12b','iyhR')]('',domains),QOQO0Q),'body':QOQOQQ,'headers':{'Accept':'application/json,\x20text/javascript,\x20*/*;\x20q=0.01','Accept-Encoding':QOQO0O[O0QQ('‮12c','WyGU')],'Accept-Language':QOQO0O[O0QQ('‫12d','%nX0')],'Connection':'keep-alive','Content-Type':QOQO0O['OQO0Q'],'Cookie':cookie,'Host':$[O0QQ('‮20','*S[$')],'Origin':domains,'Referer':activityUrl,'User-Agent':$['UA']}};}function refreshToken(OOQOO0){var OOQ0QQ={'OQO0O':O0QQ('‮12e','1*VX'),'OQOQO':function(OOQ00O,O0O00Q){return OOQ00O+O0O00Q;},'QQOQ0':function(O0O0QQ,O0O00O){return O0O0QQ+O0O00O;},'Q0QO0':O0QQ('‫12f','*S[$'),'O0Q0QO':O0QQ('‮130','&SwJ'),'O0Q00O':O0QQ('‮131','CZ7g'),'O00OOQ':function(O0O0QO,O0OOO0){return O0O0QO===O0OOO0;},'QOO00O':O0QQ('‮132','CZ7g'),'QOO0QQ':function(QOQ0OQ,QO0Q0Q){return QOQ0OQ!==QO0Q0Q;},'QOOOO0':O0QQ('‫133','R8WD'),'O00OOO':function(QOQQ00,QOQ0OO){return QOQQ00+QOQ0OO;},'QOO0QO':function(QOQQQ0,QO00QO){return QOQQQ0+QO00QO;},'QQQO0Q':function(QO000O,QO0OO0){return QO000O+QO0OO0;}};if(OOQOO0){if(OOQOO0[OOQ0QQ['O0Q0QO']][OOQ0QQ[O0QQ('‮134','jD[O')]]){if(OOQ0QQ[O0QQ('‫135','Xjz@')]('QQ0Q',OOQ0QQ[O0QQ('‮136','L[)F')])){console[O0QQ('‮137','chmx')](OOQ0QQ[O0QQ('‮138','CZ7g')]);}else{cookie=originCookie+';';for(let QOQQOQ of OOQOO0[OOQ0QQ['O0Q0QO']][OOQ0QQ['O0Q00O']]){if(OOQ0QQ[O0QQ('‫139','cGeM')](OOQ0QQ[O0QQ('‮13a','lQ$S')],'O0O0')){console[O0QQ('‫13b','v)d&')](OOQ0QQ[O0QQ('‫13c','yvYo')](OOQ0QQ[O0QQ('‫13d','ahgK')]('【京东账号',$[O0QQ('‮13e','rkFt')]),OOQ0QQ['Q0QO0']));}else{lz_cookie[QOQQOQ[O0QQ('‮13f','lQ$S')](';')[0x0][O0QQ('‮140','&SwJ')](0x0,QOQQOQ['split'](';')[0x0][O0QQ('‮141','chmx')]('='))]=QOQQOQ[O0QQ('‫142','U8^W')](';')[0x0]['substr'](OOQ0QQ['O00OOO'](QOQQOQ[O0QQ('‮143','gk4e')](';')[0x0]['indexOf']('='),0x1));}}for(const QOOOQQ of Object[O0QQ('‮144','yvYo')](lz_cookie)){cookie+=OOQ0QQ['QOO0QO'](OOQ0QQ['QQQO0Q'](QOOOQQ+'=',lz_cookie[QOOOQQ]),';');}activityCookie=cookie;}}}}function getUA(){var QO00OQ={'QQQO0O':function(QOQ0O0,QOOO0Q){return QOQ0O0(QOOO0Q);}};$['UA']='jdapp;iPhone;10.2.2;14.3;'+QO00OQ[O0QQ('‮145','c][A')](randomString,0x28)+O0QQ('‫146','ASIW');}function randomString(QOQQOO){var QOOOQO={'O00OQ0':function(QOOO0O,QO0QQO){return QOOO0O||QO0QQO;},'QOOQQQ':'abcdef0123456789','QOOQ0Q':function(QO00Q0,QO0Q0O){return QO00Q0<QO0Q0O;}};QOQQOO=QOOOQO[O0QQ('‮147','U8^W')](QOQQOO,0x20);let QO0000=QOOOQO['QOOQQQ'],QO0QQQ=QO0000[O0QQ('‫148','HDrD')],QOQ00Q='';for(i=0x0;QOOOQO[O0QQ('‮149','Oi&Y')](i,QOQQOO);i++)QOQ00Q+=QO0000[O0QQ('‫14a','YnW%')](Math[O0QQ('‮14b','CZ7g')](Math['random']()*QO0QQQ));return QOQ00Q;}function safeGet(QOQOO0){var QOQ0QQ={'O0Q000':function(QOQ00O){return QOQ00O();},'O0QQ0Q':function(QOQ0QO,OOQOQQ){return QOQ0QO+OOQOQQ;},'O0QOOO':function(OOQO0Q,OOQOQO){return OOQO0Q-OOQOQO;},'QOOQQO':function(OOQO0O,QO0OQ0){return OOQO0O==QO0OQ0;},'QOOQ0O':function(QO0O00,QOQQ0Q){return QO0O00===QOQQ0Q;},'QOO000':'OOOQ'};try{if(QOQ0QQ['QOOQQO'](typeof JSON[O0QQ('‮14c','Oi&Y')](QOQOO0),O0QQ('‫14d','ASIW'))){if(QOQ0QQ[O0QQ('‫14e','cGeM')]('OOOQ',QOQ0QQ['QOO000'])){return!![];}else{QOQ0QQ[O0QQ('‮14f','s(Pw')](GetCookie);$['done']();}}}catch(QOQQ0O){if('Q0QO'==='Q0QO'){console['log'](QOQQ0O);console['log']('京东服务器访问数据为空，请检查自身设备网络情况');return![];}else{return QOQ0QQ[O0QQ('‮150','U8^W')](Math[O0QQ('‫151','t[P$')](Math[O0QQ('‮152','GB&H')]()*QOQ0QQ[O0QQ('‮153','AhWz')](max,min)),min);}}}function jsonParse(QOQQQO){var QOQ0Q0={'O00OQO':O0QQ('‫154','HDrD'),'O00O0O':O0QQ('‫155','r^Ql'),'QOOQ00':function(QO0OOO,QO0OOQ){return QO0OOO+QO0OOQ;},'O0Q0QQ':function(O0OQO0,OQ0OQO){return O0OQO0==OQ0OQO;},'O0Q00Q':O0QQ('‫156','a[)m'),'O0QOO0':function(OQQOOQ,OQQOOO){return OQQOOQ!==OQQOOO;},'O0QO00':O0QQ('‫157','#5n('),'O0QOQ0':O0QQ('‮158','*S[$')};if(QOQ0Q0[O0QQ('‫159','$$$T')](typeof QOQQQO,QOQ0Q0[O0QQ('‫15a','U8^W')])){if(QOQ0Q0[O0QQ('‮15b','Mwx]')](QOQ0Q0['O0QO00'],O0QQ('‮15c','[@%e'))){if(resp[QOQ0Q0[O0QQ('‫15d','1*VX')]][QOQ0Q0['O00O0O']]){cookie=originCookie+';';for(let QO0Q of resp[QOQ0Q0['O00OQO']][QOQ0Q0[O0QQ('‮15e','U8^W')]]){lz_cookie[QO0Q[O0QQ('‮15f','Oi&Y')](';')[0x0][O0QQ('‮160','rkFt')](0x0,QO0Q[O0QQ('‮161','1xNx')](';')[0x0][O0QQ('‫162','1xNx')]('='))]=QO0Q['split'](';')[0x0][O0QQ('‮163','cGeM')](QOQ0Q0[O0QQ('‫164','a[)m')](QO0Q[O0QQ('‫165','ahgK')](';')[0x0][O0QQ('‮166','*3*!')]('='),0x1));}for(const QQ0O of Object[O0QQ('‮167','&SwJ')](lz_cookie)){cookie+=QOQ0Q0['QOOQ00'](QOQ0Q0[O0QQ('‫168','Mwx]')](QQ0O,'='),lz_cookie[QQ0O])+';';}activityCookie=cookie;}}else{try{return JSON['parse'](QOQQQO);}catch(Q00OQQ){console[O0QQ('‮169','t[P$')](Q00OQQ);$[O0QQ('‮16a','AZ^s')]($['name'],'',QOQ0Q0[O0QQ('‫16b','5Cpk')]);return[];}}}}function random(Q00O0O,OOOQ00){return Math[O0QQ('‮16c','Mwx]')](Math[O0QQ('‫16d','RCrh')]()*(OOOQ00-Q00O0O))+Q00O0O;}function getQueryString(OOO0OQ,Q00OQO){var OQQOQ0={'QO0QOQ':function(OQ0O00,OQ0OQ0){return OQ0O00+OQ0OQ0;},'O00OQQ':O0QQ('‫16e','Oi&Y'),'O00O0Q':'=([^&]*)(&|$)','QOOOQ0':function(Q0QOQ0,Q0QO00){return Q0QOQ0(Q0QO00);}};let OQQ0QQ=new RegExp(OQQOQ0[O0QQ('‮16f','RCrh')](OQQOQ0[O0QQ('‫170','AhWz')]+Q00OQO,OQQOQ0[O0QQ('‫171','Mwx]')]));let OQQ00O=OOO0OQ[O0QQ('‫172','lQ$S')](OQQ0QQ);if(OQQ00O!=null){return OQQOQ0[O0QQ('‫173','s(Pw')](unescape,OQQ00O[0x2]);}return'';};OＯ0$='jsjiami.com.v6';

// prettier-ignore
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)}