-
Notifications
You must be signed in to change notification settings - Fork 0
/
jd_jxlhb.js
27 lines (20 loc) · 46.7 KB
/
jd_jxlhb.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
京喜领88元红包
活动入口:京喜app-》我的-》京喜领88元红包
助力逻辑:先自己京东账号相互助力,如有剩余助力机会,则助力作者
温馨提示:如提示助力火爆,可尝试寻找京东客服
脚本兼容: Quantumult X, Surge, Loon, JSBox, Node.js
==============Quantumult X==============
[task_local]
#京喜领88元红包
4 10 * * * https://jdsharedresourcescdn.azureedge.net/jdresource/jd_jxlhb.js, tag=京喜领88元红包, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/jd.png, enabled=true
==============Loon==============
[Script]
cron "4 10 * * *" script-path=https://jdsharedresourcescdn.azureedge.net/jdresource/jd_jxlhb.js,tag=京喜领88元红包
================Surge===============
京喜领88元红包 = type=cron,cronexp="4 10 * * *",wake-system=1,timeout=3600,script-path=https://jdsharedresourcescdn.azureedge.net/jdresource/jd_jxlhb.js
===============小火箭==========
京喜领88元红包 = type=cron,script-path=https://jdsharedresourcescdn.azureedge.net/jdresource/jd_jxlhb.js, cronexpr="4 10 * * *", timeout=3600, enable=true
*/
var _0xodD='jsjiami.com.v6',_0x41f8=[_0xodD,'fQcEb8KM','fzMCUMKN','cyDDr8ORAQ==','wojCrcO5wqbDhg==','w7FWMcK/RA==','wp3CssOzwq5Fw6N5fBV5SMO1wqvCusO/w4DCr3rCsn9wwp7DjxHDhikMwpHDq1bCtFcEwpXCgkXDlcOBfMO+acOSLwnDqMOUCnBqw7XDvcOEw7JQQMKVw4jDqSvDtCzDulzDlMO1w5wgwoNoKQQYw6BdRsKdwprDjns6W8KIXw==','VMKTKQzDiw==','NTxTMwM5','wqvDlyZrw4AzwpoCVxlnOsKRw6vCnlYhHT9cV3EfTMO8KivCg1prw6LDqn0jTcKMBiTCrMKoZcOtw45vw53Ck8KbwpnDosOeB0xHwos1J0F2J13Dsk4yw70nw7TCuMKuwqnCtsKvLgzDqlQsS8Od','WVPDhcOHw4g=','wrUNwrDDqTI=','Q8OZwq/CmcOo','AMKKZBtT','wpRMw7ZNwqE=','wrnDgCBSw584w64=','RxHCqiLCgMOTWQ==','Vl8WBnQ=','cMK+w5IQwqw=','MwcY','SMO0w6tEBQ==','Az5DLcOy','MzTCqijCjA==','woXCp8O1wq1T','wrEePMKdeg7mnZborqHorK/msI7lpLfotajDgeKDie+7tuKDoe+7qw==','w43Cp8OhNsKW','wpd1w6ZNwpU=','w6zCj8ONwpDDm8K8QcKDFcKxwp/DmcKDw58Ow7wXZH56wqt8w4DDlsOCTMKHUsOqckkJw4fDhjfChx4=','ZF7DvA==','w59Fcg==','wq16w4tfwqs=','ZsKOwpE=','w7c0wqnDrDIAfQ==','wp/CihXDt8OO','UHEsw7xj','Y8KSwpTDhUk=','aUIPJWU=','EhrCsSDCgQ==','RGcOw5B8wo0=','wo11HCASZC5K','FsKnTcOFw6Q=','w6AEwoJawpwM','IQZ/N8OH','N3rDrcO+TjA8wqs=','wo3CkgrDi8OMM8ORRQ==','wqIHwrPDuzI=','wr7DgXsWIcKRw6zDoMKs','VAZzHiYJwrFQw7wYwqHCpcK1w5R3a8O/w645w7Q=','csKcw4gcwr8=','ailHVkfDvDTCnQ==','MHnDl8OpWQ==','w6rDkH0dIMKZ','w5/DlBIdSD7CmgY=','w6vDnXoaKg==','w6bCrMOEIMKgIQ==','woAWPcOgw6DDlMKpDQ==','w7zDomfDuCE=','w4Jlw4gxw5EP','wq1hb8KoQXo=','woNhw5djwrk=','RcKDaxXDisOhwpDCsXc=','wqtJw41Xwrs=','BzU8w5/DjsKqw4Ijw7XCsQxYw6oQO8KEw5PCscKRPBMyaycfw7XDrcK6w5k=','MgcNw41t','R0vDhsOww60=','w49jOFfDlQ==','wpBIKiA=','5ouW57uw5Y2o5oiQ5Ymnwp0=','w7h7bsKuZzTDlA==','LMOgbzjDug==','LVPDr8OsTw==','BcO4AhLDrA==','w6jCsEjDrQ==','w7gNfWYYw7HDvMKDZMOvR8K/','asKqw4gPwpQ/Nw==','w5Zrw5QQw58BwpU=','ekTDuMOL','Q8OYwqg=','w7pAw7kRw7sgwqjDtw==','CD86','U8Krw6U5wpwOBSM=','Oz8kw4XDtw==','w7LCll/DsMO5OcO7O8KE','wq/CksOY','wpvDj8KRS2NSwqU=','BA7CsTc=','NMOHdMO/w4Y=','w7EoWkAd','HsOHTRXDiA==','wpDClsO7wpfDvg==','ABMBw7sTw4I=','f8Oww4ZoDg==','SsKwwrHDt1w=','w5jCiXXDksOU','eMKAwpTDl0o=','w40Qw7DDnTU=','woc8HMOmw5/DjsKg','KkfDm8O+','cQkSN8K0w7HCrVQ/PE7DiQ==','dcKAw50=','5ome57iT5YyW5aWI6LWqw44=','worCuCvDjcOzKcOY','w71VTMKdZw==','KcKlW8OUwppfbAfCh8OuEHTCicO7eQvCgMOvwrjCtcK4KzMnX1VHC8KHw5ZVHSwkw5B2w7VHR1nDrMOrwpZzw7dOwrPCq8KBwp5PZHPCvjEtN8KiKWfCsE0BQsKRKcO0cHwiLmg+CMOADQ==','RwDDrMOwFQ==','wovDmgBgw5A=','w4DDimzDiDI=','OA1XMMOn','MmLDjcO9VA==','BcOYPCjDrg==','dwYK','EcKJIE/CmlPDvcKswq7DjjbDicKK','NwRg','Ri8jKMKWw5vCm0oSDWXDvk8=','wp/CvBPDjcOn','Y8OZw4JAIA==','w5d2PlTDgxHDoMO4akfDosKRcA==','w5XCpXLDicOFEcOKBMKiD8K5S8Ka','w7kTw4U=','w6TCrMOYN8Kq','BcOIT8Ogw7A=','wpDCrzzDiw==','5YuT5Yun5oqr5YmNWw==','U3QoN3Q=','HcORYQg=','ERRpMzMXwqQ=','SMKqw68Owq4=','J8OcAQ==','w7jmuojppZ3mj77npKHvvIflpYHmj4XnpJrlib3liKTngLPnibTvv6Hljrjls63orrnlrobmio7kuYjkub7lrqbmn7TCvg==','wpvDs8KQWg==','CMKqXA==','5Yq55YuJ5aWc6LSlw4I=','w6vDtGELAsKHw6I=','YkXDv8OTw7DDnksGw4kaw75QwrEIwqnDjcKCwq3DkXV1ZsOfwo8qQ09VwrDCtjvDpcO/DxzDgB/Dn8Okw5XDjREA','TwNBUUI=','EMK5bsO9wrw=','wqnDpCZXw7w=','SFUnOgYy5pyx6K+F6K2q5rCo5ae06Lefw7/igpvvuIzigLjvups=','XgTDvMObKcKx','YcK9w74Zwos=','wpfDpsKFXFk=','fMOJw44=','WGcNw5E=','UVwCw4FJ','JE/DnMO/Zg==','GSTCnCfCtg==','PDTDrsKKNA==','GRxUKQ8=','OA0Lw6lVwrU=','IB7CoQ==','w4rCp8Okwqpfwq8zGgY1HcKuw6bDosK+wpLCp2DCozN/wpjDkVbDozAPwpPDuQHDoFsCwoDDg0rDk8OZKMK/Kg==','w5/CjjrDmsOQP8OJQ8OUZzXDmMOfw77DlMOGbB3ClsKzfWZ9M1BMdGLCiMKHTANMJSlyKA==','wqnDkTM=','w7UDZA==','VHo8PVE=','HzAiw5LDj8Kg','HsOlX8Oxw4I=','Y8Obw4dNCzU=','AMOsVwjDj8Kcwo3DsA==','wop2JjcF','LEHDo8OMw63CgQ1NwpY=','wrQWwphbwoMTeMKRw5fDl8Kgc8OnwqrCvTx0c8KYwrk=','OxoNw4/Dsg==','wqMKwrTDvDhQ','IA0/w5hVwq4nw7w=','w6EJwoVdwpY=','FRnCizfClsOfCsOS','wobCqsOuwr1T','QArDtcO6NMKu','GcOmZcOmw5XDqcO2Hg==','w4d1wog/w5pMwp7DnzY=','IcOXFivDtB/DscKec2VRwo3Di8OeH8Khw6IAVcOMV8OXJ8OJX8O5wr3DiS0=','w47CqMOiwqpBwrYkOE1/QMOwwrbDqMOkw4rDpXXCun56wqHDilHDizlfw4fDqATDvVkawpHDr1HDn8OZccKnPcKyal7CsMKLQlkBw4/DjcKOwrI/AsOAwo/CuGnCoC7DvlTDncO0w4Ynwp0wbUREw68MH8OUwpfDinMzWsKPWD4WeMOiJ1rDnWDCksKtw5bDjW4kw4/Cn2J1wozDoMO5PWXDk8KXw6jDhUPCrMKIbsOGSQnDu8O9wobCh8OFbBt6aQLDg1wJw4QHw4vDui9jw6pJLAVkwp0SQ34dw7d+MsOQD8OFwr7CosOfwp/CkGfDlcOQO8OVwqTDv8OsNgQUwrsTLMKjdnkWw4DDicKmV8Olw7zDpVU2E8K/YFDDpTTCh8KsM8Kvw5PCs8Oyw7jCtsKvwqRQwpbCrMOUw4RNw5fCqcKIIA06w5nDhALDt8O7aMOgwr4xWAAvDg4MfgXCmAxtQyvCmMOBwrjDvMKOI1EWwrFQw4ZqwqIxwqUSM35VWy1owqdNw5kjTyELw7zDlMOeH8KvL8OUwq11ZRjDnW7DuXd2wo4QdzJvN8KzMR4Vw7NRbHNlw6U/wrrDtxvDikFhwqHCm8K0R8OSw6HCnHlEw5jChcOLwpptbm4iw6EVV1XDnFFsQ8KgUwfCmMOmdwY=','wpYbA8OQw5Q=','5Li35Zew6aKVEVDlh5fnuLDlj4E=','w4Blw4U+w5sWwrTDlBrCmQk=','MGlnR1vDsRTClW3CvnvCjQ==','Y2VYw7p5w4VOGjkpGMOvTA==','w77DnmE8LsKXw60=','dwUK','wpEXGA==','w6fCg0HDqsOy','ISVV','e8KVwpTDjUHCkUNKZg==','eyhi','YcKPwoLDgVfCuUw=','Jm3Dl8O+','w5vDnnwSJsKRw4/DgA==','LMOWEibDuwzDvw==','EQV5P8OLwojCrcKvw5E=','fl7DhMOBw6k=','w5dhw5Ixw58Wwpw=','CMOcCSnDsx3DrcKhDA==','DxMJw5UIw5U=','bsKIworDkErChA==','wrkfwq7DqCQHYxh5BGIcwqQ9wp7Cqlo5wpLDgsK0w5hawpFeZ33DuB55S8KywojDgAjDgMKEwqUqw6nChMKLwpQ=','5Lun5ZSv6aOgesKi5YS757i85Y+uQg==','5rWX5YuU5YSD5Y2d77275Lic5ZW3w6xEwq3DhuOBm+aIu+ebshrjgKHkup/ll63poZ7CnsKf5YS457ux5Y+pBA==','w4PDjzUZSW3Dm07CgMOjGcKLwrJOw6DDrsOswpLCoMKCJsOzw7vCgl5+woDDoMOiw43Ch8Okw5/CksOsw7R0CCjCkEPClTdNw78QwrZCVkkswrjCgcKjw4BEI8Odw4QuHifDpcKxP8Ohwp8cXcOZTXY9WsKqwq0=','wqAcwrLDsBI=','NcONZw/Dqg==','NMKiSsOWwqcELk0=','wqIfwqjDjSRYPmdyDw==','wrc9wpTDnzM=','w4TCtMOCPsKD','w4HDqXo2FQ==','czVz','w6HDr2PDvg==','ecOOw51ZF2IYw6PCn1AAwqTDl0YmPcOeXMOAMHxzQsOzwo7CjmpZAcKVw5F4w41Hw4ZKVcK9WcKLOgvDnw==','w5XCgcOHL8KZ','wpgWCQ==','BMOfFQPDtA==','woXCkMOdwrTDmw==','wod7fAvDrw==','wp/DhCpww5E=','5YmQ5YqB6YG06L+F77265YWF6Iaq5bec5LqT5Liu6LWx5YyA55uZ5LuN5Ymq5Yi377yR5aW+5p+N5YiT5L2H5Yu65YqX5p+25L6y772g5YqE5Yu45YmX5L+26ICLw68=','5rmd6aSr5o+U56WG776n5aW35oyz56at5YqK5YiP54KP54ur776a5Yyj5bG66K645a2F5oqt5LuM5Lu05a2d5p6U','w7XCuMOeLMKgPsKHw7FrB8OMwrhWbC3DgA==','AcOsWMO1w5PDqA==','w6Rgw6MDw4Q=','wpo9wrnDjjM=','AQVrEiI=','LhrCqwLCig==','wp7DjsKS','w5FrKU/Dvj/Du8O4','NGw+CB/Cnw==','XcKSwoPDlmHCl0dJ','HxRzGD4=','6I6l5Y6+5YuV5Yuj56OF5aal6Lem77yJ','RUMSw4ZewpN3','OsKncho=','JxYew7lUwqI7w4vCh8KY','QcKGNxbDgMKowprCuGM=','w74Kwos=','wr0OwrTDvyNV','NwMCw6RCwqs5','fMObw5E=','ZxjDvsOsFcKiPMO/','wo9uw5NFwro=','wqfDlSZhw54=','w6TCrMOJL8KqOMKDw6x5HcOf','wrp2NxoJ','fTsBaMKL','OQ8Dw4wvw5HChsOo','w7EEwoJ2wpYNbQ==','w6LDr3Y=','NAXCvTHCqsOXCcOQ','44Ke5Yy15Yqn5YiA44GU','woDCtcOiwqx4wrg7Ng==','44Gc6YOK6K+F56Kf77yg','Oy8Jw4Fm','w6/DkHoN','MQt4HMOHwoHClw==','XsKdIg==','wqEKC8Omw5zDnMKqDw==','44Ob5p695Yi75L2b5Yif5YuN5p+p5L2877235b265aeE5Yuy5Ymk5L+Z6IO+MA==','wpTDlMK4Wl0=','DMOqEDLDnA==','QWcJw4A=','Hhpg','w5nDpuWmtui3uxfDueWPieWas1go','b+W/i+Wnr+aJoOe4o+WOmMON','CgZDw5tA','wqbCmcOAwpLDgcKx','wpFZSxzDhg==','WCdQa3o=','PB3Dv8KbLg==','JMKoV8OTwr4=','ZAJOQHg=','b1/DvQ==','wqA+McOEw4DDssKfM8Oxw5TDlcKJdw==','ABEOw41A','w73Dn2U=','wp7Cu8OxwqXDp8KWb8K7JsOcw6LCrcKw','NREfw4VAwqk=','woFuw4lpwqINLMOhAcOLf8K2','c8OFwrvChsO/Z3JU','wpR7OzcI','LnTDisOpVA==','KcKzbz1bEMKuw5koUBnDmA==','SzVxUHvDtDfCnw==','44Cn5Y695oqm566Y','5Li057uk5YyR','YDMOa8Kdw5PChcOeVcK5UQ==','wrLCvBTDuMOy','woLCp8Ouwqo=','w7gNZ0oA','w6PDoWk=','f8Obw4RM','Vlzlporot7dAwo7ljbDlmK0FLQ==','wqzClcOAwpTDmcK1Tg==','wp7DrCN2w7c=','w5HDmCcufQ==','XRFVVlQ=','TsKjwqfDjmw=','w6gvQF4g','w6DCgVnDsMOhO8ObOcORPMKeeMKgwr05EWxpwrtKw4gywq0vUcOZO8OIw73DhsO7RiTCkj1xbcO1Xh0YNMKAwqbCtsOMb8Kib3R0MsKewrwOw6vDlmFRXMOGw75Jw7DCgA==','wotvbDjDtA==','wqt7IiMs','WzzDkcOvMw==','JRxTKCY=','OxUyw60R','PgVx','wqR4aA/Ds2A=','OzoFw5TDlw==','w5EDekcpw7fDpsKtYMOr','w4lyEkrDtQ==','bVTDvw==','wr3CkBXDkcOJ','T8KnwrbDslg=','ccKiw7Mowro=','w7TDnnQ=','cCd5Rw==','HMKWw77CtcOhT+afuuivk+ispOaxmeWmjui0qMKR4oO+77mN4oO177qQ','wqEKwqjDqzI=','wqZiw6tIwqU=','w6/Dlg0HTQ==','dsOewq3CgMOC','V8O6worCvsOW','HAkVw5Y=','5rSi5YmH5b665ZGS5ouJ5YuTfOWLjeWKnemDtuiuueehgOS5tAg=','wrAYGsO1','5reO5Ymu5b6H5ZOx5aSH6Le8772M','wq3Dvh9Ww6U=','GMOsYw==','6I2O5Y+M5Yum5YuP56Gh5oid5Yuf77y3','wr3CnC3Dng==','B8O3dinDjsKQwpHDh0rDug==','IcKqUMOH','wrnCiMOcwqDDhsK8RcKyEMOi','NcKvHHTCrWjDrMKRwrDDtAs=','M2DDjcOi','w5YEwphf','w7LCll/DjMOkO8OgDcKUMQ==','GDlXw6x0w4tMFA==','wqbCk8OJ','OSzDmMKhFg==','w6fCjsO5M8KH','SsOZwrk=','wpgWCcORw6DDjw==','CD/DiMK4Dw==','a8O0wonCu8OE','CyIZw7vDuA==','Uh88TsKf','w5/DriYhSA==','NDNLw6d3w6dFFQ==','BHDDisOfTzwgwoXChsOIcg==','KsOQEivDrB3Dl8KPZG9pwoTDisOeH8O2w7pEAsKLC8Kod8KJFMOgw6PCkHnCssKsUMOMw4DCs8OPwpZtw74UNMOCUsKza8KOwpLDsMKhBltrw47DoMOj','BhMPw5Alw5HCn8OoCQ==','UsOfwrPCkQ==','CxJcMMON','LjnDmMKTCw==','UBFwclc=','B8KZaMO1wrs=','wqbDmzU=','w6VfccK5','e8OxD8Olwrks5p6m6K+K6KyT5rOI5aWP6LW/w4PigrTvuJLigZLvu6M=','wpV1KBESfw==','FcKqR8ONw6TDqcKOGMKLwrPDvQ==','e8KVwpTDsVzCk1h8dsKw','wqfDksKQXFV8wq5w','wqfDpBNuw5I=','wqbDmzVHw4Qk','HB0Uw40E','CCTCvTc=','fgQb','6Iyc5Y2t5Yuo5Yuy56C75omH5Ymr7727','w5Edw5bDjA==','w75Bw6Mlw5I=','DsKzdRM=','wpF7w5VzwqENMMO2GsOE','w6pxL1bDvj/Du8O4','w63CjUrDnMOlLA==','wpPCrMO/wpTDkw==','wrDDoR1Gw44=','wojDtMK6amM=','fgcb','6I+95YyE5Yqo5Yup56Cq5aWE6Lel776E','MsKUXcOWwqQWJA==','wqM6KsORw6Q=','clAPN2Y=','wpnCqcOg','NhRzGg==','w4fDlCY=','HsOMRMOgw6rDs8O/','fcOVw45sFio=','U2HDmsOCw6U=','PcOkbsOLw78=','PcOlWcOBw6I=','acKOw4gOwrw=','aQAYccKb','CMOaZsOZw74=','aXkQHUE=','5YiW5YqZ57qZ5p64','S8KgMA7DjQ==','w4omWHwO','w6YIw5DDvS7CoMOU','wrMWw43DhCnCisKIwr96wo8=','w4trJ0E=','c0jDssOaw47CqQBN','GzDCkCLCiw==','wqvDlyZrw4AzwpoCVxlnOsKRw6vCnlYhECJUXVBSSMOxaTXCjlxhwqvDs2xtUcKQFyDCg8K3bMOMwo59w47DmsKYwp/DtcO5D1APwqA2OVBqOFnDsRI=','w47DjRcxfA==','w5PDo2EDOg==','w4DDsywweA==','w7I3LwvDkVvmnZHorr/orKLmsbHlpIjotLd94oGU77uO4oCs77mW','wpnCv8OQwrFj','PTAJw5g=','wr0Ewr0=','wpjmuYzppYTmj67np4nvvbvlpp/mjLbnpozliIzliZ/ngYfniovvv5XljKblsY7or4rlr63miojkuKjkua7lrKLmnpds','CcKyc8OJw5Q=','X1QFw4A=','LnTDhg==','FhPDnA==','5Yuj5YmJ5aSw6LWXEQ==','w4xHOFbDvS3DsQ==','PStAw61f','wrg5wr/DrA==','UsKHwrzDl2E=','w6VkEFfDvg==','w5xrw4E=','N8Olw5pdD2U=','BcOEDSbDsg==','Ey7DnsKm','V8KYw5EZwrE=','w7fCrMOEDMKqIMK6','fD0K','woXmuqfppqbmjYvnpb7vv7XlpKPmjLHnpq7li4jliJXng7jni4jvvbrlj4nlspvorZ/lrL7mi6rkuY7kuYzlrJ3mnbMV','w5NtLQ==','5Ymc5Ymd5aa26Le7DA==','w6Egwp5Mwr4Seg==','PgVxEcOQwp8=','wopuPQETaDJ9Vlw=','JRfCrCI=','FsK/VsOzw7LDuMK1LMKjwq8=','YgofR8OoZmNIBhkj','w7tLb8K0','IR5kAcORwojClcK7wooL','w5TCkUjDq8OZP8O/OA==','N8KJVsONw6k=','jsjTiamip.cPom.vdRxlqlC6CFAAkdN=='];(function(_0x83958c,_0xc60544,_0x45802b){var _0x510b72=function(_0x4c2121,_0x38d83b,_0xdf6ff5,_0x23ec80,_0x16aacf){_0x38d83b=_0x38d83b>>0x8,_0x16aacf='po';var _0x4e19b6='shift',_0x44ba62='push';if(_0x38d83b<_0x4c2121){while(--_0x4c2121){_0x23ec80=_0x83958c[_0x4e19b6]();if(_0x38d83b===_0x4c2121){_0x38d83b=_0x23ec80;_0xdf6ff5=_0x83958c[_0x16aacf+'p']();}else if(_0x38d83b&&_0xdf6ff5['replace'](/[TpPdRxlqlCCFAAkdN=]/g,'')===_0x38d83b){_0x83958c[_0x44ba62](_0x23ec80);}}_0x83958c[_0x44ba62](_0x83958c[_0x4e19b6]());}return 0x8ce9b;};return _0x510b72(++_0xc60544,_0x45802b)>>_0xc60544^_0x45802b;}(_0x41f8,0xad,0xad00));var _0x3574=function(_0x31ee1d,_0x407258){_0x31ee1d=~~'0x'['concat'](_0x31ee1d);var _0x5cd789=_0x41f8[_0x31ee1d];if(_0x3574['lkRCwu']===undefined){(function(){var _0x551dab=typeof window!=='undefined'?window:typeof process==='object'&&typeof require==='function'&&typeof global==='object'?global:this;var _0x216a73='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';_0x551dab['atob']||(_0x551dab['atob']=function(_0x530cbd){var _0x49d4db=String(_0x530cbd)['replace'](/=+$/,'');for(var _0x23a702=0x0,_0x25c66d,_0x2a1627,_0x54d1de=0x0,_0x3bad57='';_0x2a1627=_0x49d4db['charAt'](_0x54d1de++);~_0x2a1627&&(_0x25c66d=_0x23a702%0x4?_0x25c66d*0x40+_0x2a1627:_0x2a1627,_0x23a702++%0x4)?_0x3bad57+=String['fromCharCode'](0xff&_0x25c66d>>(-0x2*_0x23a702&0x6)):0x0){_0x2a1627=_0x216a73['indexOf'](_0x2a1627);}return _0x3bad57;});}());var _0x5d248d=function(_0x3ea84d,_0x407258){var _0x29ed3e=[],_0x3b5696=0x0,_0x2b8636,_0x2de43a='',_0x50962f='';_0x3ea84d=atob(_0x3ea84d);for(var _0x2727ac=0x0,_0x1d0e88=_0x3ea84d['length'];_0x2727ac<_0x1d0e88;_0x2727ac++){_0x50962f+='%'+('00'+_0x3ea84d['charCodeAt'](_0x2727ac)['toString'](0x10))['slice'](-0x2);}_0x3ea84d=decodeURIComponent(_0x50962f);for(var _0xf5d3=0x0;_0xf5d3<0x100;_0xf5d3++){_0x29ed3e[_0xf5d3]=_0xf5d3;}for(_0xf5d3=0x0;_0xf5d3<0x100;_0xf5d3++){_0x3b5696=(_0x3b5696+_0x29ed3e[_0xf5d3]+_0x407258['charCodeAt'](_0xf5d3%_0x407258['length']))%0x100;_0x2b8636=_0x29ed3e[_0xf5d3];_0x29ed3e[_0xf5d3]=_0x29ed3e[_0x3b5696];_0x29ed3e[_0x3b5696]=_0x2b8636;}_0xf5d3=0x0;_0x3b5696=0x0;for(var _0xaba02e=0x0;_0xaba02e<_0x3ea84d['length'];_0xaba02e++){_0xf5d3=(_0xf5d3+0x1)%0x100;_0x3b5696=(_0x3b5696+_0x29ed3e[_0xf5d3])%0x100;_0x2b8636=_0x29ed3e[_0xf5d3];_0x29ed3e[_0xf5d3]=_0x29ed3e[_0x3b5696];_0x29ed3e[_0x3b5696]=_0x2b8636;_0x2de43a+=String['fromCharCode'](_0x3ea84d['charCodeAt'](_0xaba02e)^_0x29ed3e[(_0x29ed3e[_0xf5d3]+_0x29ed3e[_0x3b5696])%0x100]);}return _0x2de43a;};_0x3574['HKVgVB']=_0x5d248d;_0x3574['FCedXM']={};_0x3574['lkRCwu']=!![];}var _0x272ed1=_0x3574['FCedXM'][_0x31ee1d];if(_0x272ed1===undefined){if(_0x3574['DQSLGj']===undefined){_0x3574['DQSLGj']=!![];}_0x5cd789=_0x3574['HKVgVB'](_0x5cd789,_0x407258);_0x3574['FCedXM'][_0x31ee1d]=_0x5cd789;}else{_0x5cd789=_0x272ed1;}return _0x5cd789;};const $=new Env(_0x3574('0','%AVw'));$[_0x3574('1','dm0F')]=[];const notify=$['isNode']()?require(_0x3574('2','swWQ')):{};const jdCookieNode=$['isNode']()?require(_0x3574('3','gTss')):{};let cookiesArr=[],cookie='';if($['isNode']()){Object['keys'](jdCookieNode)[_0x3574('4','sa8S')](_0x4551c2=>{cookiesArr['push'](jdCookieNode[_0x4551c2]);});if(process[_0x3574('5','JXto')]['JD_DEBUG']&&process[_0x3574('6','wS$S')]['JD_DEBUG']===_0x3574('7','S^f4'))console[_0x3574('8','gTss')]=()=>{};if(JSON[_0x3574('9','BsfC')](process[_0x3574('a','swWQ')])[_0x3574('b','BsfC')]('GITEE')>-0x1)process[_0x3574('c','%Nph')](0x0);}else{cookiesArr=[$['getdata'](_0x3574('d','sa8S')),$[_0x3574('e','y^Qx')](_0x3574('f','DnBP')),...$[_0x3574('10','FJXT')]($[_0x3574('11','dm0F')](_0x3574('12','y^Qx'))||'[]')['map'](_0x24190b=>_0x24190b[_0x3574('13','UjjU')])][_0x3574('14','BsfC')](_0x5f3a8e=>!!_0x5f3a8e);}const BASE_URL='https://wq.jd.com/cubeactive/steprewardv3';!(async()=>{var _0x2d5026={'eyxwW':function(_0x4d423f,_0x46519d){return _0x4d423f(_0x46519d);},'zDZbM':'tunnel','Tsbag':function(_0x2992cd,_0x4ec440){return _0x2992cd*_0x4ec440;},'ALmkV':_0x3574('15','PRKL'),'OlsAn':function(_0x32a0fc,_0x528499){return _0x32a0fc+_0x528499;},'aWOmB':_0x3574('16','y^Qx'),'Upxrg':_0x3574('17','UjjU'),'ejWku':function(_0x557b93,_0x2ed8aa){return _0x557b93(_0x2ed8aa);},'sPkRb':_0x3574('18','zlLw'),'kiVAP':function(_0x4186ca,_0x500f27){return _0x4186ca<_0x500f27;},'xbxBc':_0x3574('19','PRKL'),'KVcVd':'2|1|4|3|0','SQhcH':function(_0x195832){return _0x195832();},'fHCXr':function(_0x3600a7,_0x3b78f7){return _0x3600a7(_0x3b78f7);},'KmRLX':'GbRAM','ClxNi':_0x3574('1a','JYAu'),'milhs':function(_0x12abc2,_0x2e694e){return _0x12abc2===_0x2e694e;},'Itzar':_0x3574('1b','aT7k'),'KAMGL':_0x3574('1c','PRKL'),'oMemA':function(_0x57a5ee,_0x2b51bd){return _0x57a5ee(_0x2b51bd);},'YNDVG':function(_0x4bb3ab,_0x3eb953){return _0x4bb3ab!==_0x3eb953;},'xAQVr':_0x3574('1d','PRKL'),'fuMtF':_0x3574('1e','8fV!'),'GYvpF':function(_0x4cda75,_0x7fc6b4){return _0x4cda75(_0x7fc6b4);},'GLqEz':function(_0x234d73,_0x34c08e){return _0x234d73<_0x34c08e;},'FaDIO':_0x3574('1f','sa8S'),'tzgwX':function(_0x1b3a77,_0x54f1d5,_0x2a293d){return _0x1b3a77(_0x54f1d5,_0x2a293d);}};if(!cookiesArr[0x0]){$[_0x3574('20','swWQ')]($[_0x3574('21','4uM4')],'【提示】请先获取京东账号一cookie\x0a直接使用NobyDa的京东签到获取',_0x3574('22','UCw2'),{'open-url':_0x2d5026[_0x3574('23','8fV!')]});return;}console[_0x3574('24','wS$S')](_0x2d5026[_0x3574('25','y^Qx')](_0x2d5026[_0x3574('26','fWj]')](_0x2d5026[_0x3574('27','@s%*')](_0x2d5026['aWOmB'],_0x2d5026[_0x3574('28','72Ro')]),_0x3574('29','8sW]')),_0x3574('2a','JYAu')));let _0x25bc98=(await _0x2d5026['ejWku'](getAuthorShareCode,_0x2d5026['sPkRb']))||[];$[_0x3574('2b','8fV!')]=_0x25bc98||[];for(let _0x147f27=0x0;_0x2d5026['kiVAP'](_0x147f27,cookiesArr[_0x3574('2c','PW(#')]);_0x147f27++){if(_0x3574('2d','dm0F')!==_0x2d5026['xbxBc']){var _0x3a4533=_0x2d5026[_0x3574('2e','PRKL')][_0x3574('2f','9j4U')]('|'),_0x715eb9=0x0;while(!![]){switch(_0x3a4533[_0x715eb9++]){case'0':await _0x2d5026['SQhcH'](main);continue;case'1':cookie=cookiesArr[_0x147f27];continue;case'2':$['index']=_0x2d5026[_0x3574('30','Y!GK')](_0x147f27,0x1);continue;case'3':console[_0x3574('31','PKm$')]('\x0a*****开始【京东账号'+$['index']+'】'+($[_0x3574('32','NW]k')]||$['UserName'])+_0x3574('33','swWQ'));continue;case'4':$[_0x3574('34','BsfC')]=_0x2d5026['ejWku'](decodeURIComponent,cookie[_0x3574('35','9j4U')](/pt_pin=([^; ]+)(?=;?)/)&&cookie['match'](/pt_pin=([^; ]+)(?=;?)/)[0x1]);continue;}break;}}else{console['log'](_0x3574('36','e%0e')+data[_0x3574('37','5]Wm')]+'\x0a');}}let _0x3cc5a5=[];$['packetIdArr']['map'](_0x4fea77=>_0x3cc5a5[_0x3574('38','cnjI')](_0x4fea77[_0x3574('39','Ypt3')]));console['log']('\x0a\x0a自己京东账号助力码:\x0a'+JSON[_0x3574('3a','nWHB')](_0x3cc5a5)+'\x0a\x0a');console[_0x3574('3b','f4cE')]('\x0a开始助力:助力逻辑\x20先自己京东相互助力,如有剩余助力机会,则助力作者\x0a');for(let _0x290aa5=0x0;_0x290aa5<cookiesArr[_0x3574('3c','PRKL')];_0x290aa5++){cookie=cookiesArr[_0x290aa5];$[_0x3574('3d','Ypt3')]=!![];$[_0x3574('3e','UCw2')]=![];$[_0x3574('3f','XFAk')]=_0x2d5026['fHCXr'](decodeURIComponent,cookie[_0x3574('40','xuiG')](/pt_pin=([^; ]+)(?=;?)/)&&cookie[_0x3574('41','72Ro')](/pt_pin=([^; ]+)(?=;?)/)[0x1]);for(let _0x2d52bd of $[_0x3574('42','8fV!')]){if(_0x2d5026['KmRLX']!==_0x2d5026[_0x3574('43','8sW]')]){if(!_0x2d52bd)continue;if(_0x2d5026[_0x3574('44','wBm(')]($[_0x3574('45','UjjU')],_0x2d52bd[_0x2d5026['Itzar']]))continue;if(!$[_0x3574('46','f4cE')])break;if($[_0x3574('47','4uM4')])break;console['log']('【'+$[_0x3574('48','Y!GK')]+_0x3574('49','4uM4')+_0x2d52bd[_0x3574('4a','iQTQ')]+_0x3574('4b','gTss')+_0x2d52bd[_0x2d5026['KAMGL']]);await _0x2d5026[_0x3574('4c','Ypt3')](enrollFriend,_0x2d52bd['strUserPin']);await $[_0x3574('4d','sa8S')](0x3e8);}else{resolve(data);}}if($[_0x3574('4e','DnBP')]){console[_0x3574('4f','nWHB')]('\x0a【'+$[_0x3574('50','wS$S')]+_0x3574('51','72Ro'));for(let _0x4c4334 of $['authorMyShareIds']){if(_0x2d5026['YNDVG'](_0x2d5026['xAQVr'],_0x2d5026[_0x3574('52','PKm$')])){if(!_0x4c4334)continue;if(!$['canHelp'])break;await _0x2d5026[_0x3574('53','y^Qx')](enrollFriend,_0x4c4334);await $[_0x3574('54','5]Wm')](0x3e8);}else{$[_0x3574('55','9j4U')]('','❌\x20'+$['name']+_0x3574('56','iQTQ')+e+'!','');}}}}console[_0x3574('24','wS$S')](_0x3574('57','GM#p'));for(let _0x3de622=0x0;_0x2d5026[_0x3574('58','gTss')](_0x3de622,cookiesArr[_0x3574('59','fWj]')]);_0x3de622++){if(_0x2d5026[_0x3574('5a','@s%*')](_0x2d5026[_0x3574('5b','swWQ')],_0x2d5026[_0x3574('5c','(yGx')])){const _0x48aeb9=_0x2d5026[_0x3574('5d','aT7k')](require,_0x2d5026[_0x3574('5e','swWQ')]);const _0x108fba={'https':_0x48aeb9['httpsOverHttp']({'proxy':{'host':process[_0x3574('5f','FJXT')][_0x3574('60','wS$S')],'port':_0x2d5026[_0x3574('61','Ypt3')](process[_0x3574('62','sa8S')][_0x3574('63','fWj]')],0x1)}})};Object[_0x3574('64','Ypt3')](options,{'agent':_0x108fba});}else{cookie=cookiesArr[_0x3de622];$[_0x3574('65','xuiG')]=!![];$[_0x3574('66','(76U')]=decodeURIComponent(cookie[_0x3574('67','8sW]')](/pt_pin=([^; ]+)(?=;?)/)&&cookie[_0x3574('68','%Nph')](/pt_pin=([^; ]+)(?=;?)/)[0x1]);const _0x375bcc=[0x1,0x2,0x3,0x4,0x5,0x6];for(let _0x40a18b of _0x375bcc){if(!$[_0x3574('69','cnjI')])break;console['log']('\x0a【'+$[_0x3574('6a','swWQ')]+_0x3574('6b','5]Wm')+_0x40a18b+_0x3574('6c','swWQ'));await _0x2d5026['tzgwX'](openRedPack,$[_0x3574('6d','wBm(')][_0x3de622][_0x2d5026[_0x3574('6e','FxWz')]],_0x40a18b);await $[_0x3574('6f','iQTQ')](0x3e8);}}}})()[_0x3574('70','%AVw')](_0x5dc411=>{$[_0x3574('71','4uM4')]('','❌\x20'+$[_0x3574('72','UCw2')]+_0x3574('73','(yGx')+_0x5dc411+'!','');})[_0x3574('74','fWj]')](()=>{$['done']();});async function main(){var _0x1ee6f4={'TXqtA':function(_0x27b403){return _0x27b403();},'zcfGG':function(_0x3524b3){return _0x3524b3();}};await _0x1ee6f4[_0x3574('75','72Ro')](joinActive);await _0x1ee6f4[_0x3574('76','zlLw')](getUserInfo);}function joinActive(){var _0x291af2={'hYJGx':function(_0x524450,_0x4f1770){return _0x524450===_0x4f1770;},'TlGXb':_0x3574('77','swWQ'),'RamwL':_0x3574('78','BsfC'),'iWJqh':_0x3574('79','%AVw'),'JGmOc':function(_0x7dd724,_0x389289){return _0x7dd724!==_0x389289;},'WiTSp':'KiEhE','VkIbw':function(_0x4402a4,_0xf37975,_0x4b73e3,_0x1da4a4){return _0x4402a4(_0xf37975,_0x4b73e3,_0x1da4a4);},'vpXnE':_0x3574('7a','S^f4')};return new Promise(_0x3c54b6=>{var _0x3fe02b={'DmLnw':function(_0x841434,_0x2b4a96){return _0x291af2['hYJGx'](_0x841434,_0x2b4a96);},'GFPVw':_0x3574('7b','@s%*'),'hMIUc':_0x291af2['TlGXb'],'Phsts':'JcxGx','qLTJg':_0x291af2[_0x3574('7c','8sW]')],'CPcsw':function(_0x3febed,_0x5b5b22){return _0x3febed!==_0x5b5b22;},'uiKRm':_0x291af2[_0x3574('7d','XFAk')]};if(_0x291af2['JGmOc'](_0x291af2[_0x3574('7e','9j4U')],_0x291af2[_0x3574('7f','UjjU')])){console[_0x3574('80','DnBP')]('\x0a'+$['name']+':\x20\x20API查询请求失败\x20‼️‼️');$[_0x3574('81','@s%*')](err);}else{const _0x2602ee='';const _0x202c1f=_0x291af2[_0x3574('82','XbnK')](taskurl,_0x3574('83','%AVw'),_0x2602ee,_0x291af2[_0x3574('84','NW]k')]);$[_0x3574('85','FJXT')](_0x202c1f,(_0x16efd6,_0x1c66c6,_0x5c3768)=>{var _0x268bb4={'gJMTS':function(_0x34d4b8,_0x30459f){return _0x3fe02b[_0x3574('86','FxWz')](_0x34d4b8,_0x30459f);}};try{if(_0x3fe02b[_0x3574('87','BsfC')]!==_0x3fe02b[_0x3574('88','U!LP')]){if(_0x16efd6){console[_0x3574('89','sa8S')]('\x0a'+$[_0x3574('8a','swWQ')]+_0x3574('8b','(76U'));$['logErr'](_0x16efd6);}else{_0x5c3768=JSON[_0x3574('8c','PRKL')](_0x5c3768);if(_0x3fe02b[_0x3574('8d','xuiG')](_0x5c3768['iRet'],0x0)){if(_0x3fe02b[_0x3574('8e','zlLw')](_0x3fe02b[_0x3574('8f','(76U')],_0x3fe02b[_0x3574('90','(76U')])){cookiesArr[_0x3574('91','UjjU')](jdCookieNode[item]);}else{console['log'](_0x3574('92','U!LP')+_0x5c3768[_0x3574('93','wS$S')]['strUserPin']+'\x0a');}}else{console['log'](_0x3574('94','iQTQ')+_0x5c3768['sErrMsg']+'\x0a');}}}else{_0x5c3768=JSON['parse'](_0x5c3768);if(_0x268bb4[_0x3574('95','72Ro')](_0x5c3768['iRet'],0x0)){console[_0x3574('96','JYAu')](_0x3574('97','8sW]')+_0x5c3768[_0x3574('98','FxWz')][_0x3574('99','JYAu')]+'\x0a');if(_0x5c3768[_0x3574('9a','GM#p')][_0x3574('9b','fWj]')]){$[_0x3574('9c','9gmI')][_0x3574('9d','%Nph')]({'strUserPin':_0x5c3768[_0x3574('9e','f4cE')][_0x3574('9f','S^f4')],'userName':$[_0x3574('a0','gTss')]});}}else{console[_0x3574('a1','fWj]')]('获取助力码失败:'+_0x5c3768['sErrMsg']+'\x0a');}}}catch(_0x4feac1){if(_0x3fe02b[_0x3574('a2','(yGx')](_0x3574('a3','8fV!'),_0x3fe02b['uiKRm'])){console[_0x3574('a4','(76U')]('\x0a'+$['name']+':\x20\x20API查询请求失败\x20‼️‼️');$[_0x3574('a5','wS$S')](_0x16efd6);}else{$['logErr'](_0x4feac1,_0x1c66c6);}}finally{_0x3c54b6();}});}});}function getUserInfo(){var _0x18093b={'FHGQR':function(_0x41d4d6,_0x90c62b){return _0x41d4d6===_0x90c62b;},'mPAld':_0x3574('a6','(yGx'),'CYuwn':function(_0x4b1de1,_0xd0c28b){return _0x4b1de1===_0xd0c28b;},'NEEpl':_0x3574('a7','(76U'),'YPQaf':function(_0x418e2c,_0x5b6572){return _0x418e2c!==_0x5b6572;},'zUODx':'vUAJY','WCDEv':_0x3574('a8','XbnK'),'PmXYX':_0x3574('a9','wBm('),'PloSE':_0x3574('aa','zlLw'),'YxJdo':_0x3574('ab','gTss'),'EuxuM':function(_0x2c9ed8,_0x3a7353,_0x38f496,_0x45003f){return _0x2c9ed8(_0x3a7353,_0x38f496,_0x45003f);},'TEcAj':_0x3574('ac','%Nph'),'NWdPb':_0x3574('ad','y^Qx')};return new Promise(_0x326fd4=>{const _0x53afe1=_0x3574('ae','UjjU')+$[_0x3574('af','(76U')](_0x18093b[_0x3574('b0','DnBP')]);const _0x1c09bb=_0x18093b['EuxuM'](taskurl,_0x18093b[_0x3574('b1','(yGx')],_0x53afe1,_0x18093b[_0x3574('b2','swWQ')]);$['get'](_0x1c09bb,(_0x5a79cd,_0x15366a,_0x59e5c5)=>{try{if(_0x5a79cd){if(_0x18093b[_0x3574('b3','aT7k')]('rbLuL','rbLuL')){console[_0x3574('b4','72Ro')]('\x0a'+$[_0x3574('b5','NIca')]+_0x3574('b6','aT7k'));$[_0x3574('b7','8sW]')](_0x5a79cd);}else{$[_0x3574('b8','GM#p')]['push']({'strUserPin':_0x59e5c5['Data'][_0x3574('b9','BsfC')],'userName':$[_0x3574('ba','PKm$')]});}}else{if(_0x18093b[_0x3574('bb','72Ro')]!==_0x18093b['mPAld']){$[_0x3574('bc','72Ro')](e,_0x15366a);}else{_0x59e5c5=JSON[_0x3574('bd','UjjU')](_0x59e5c5);if(_0x59e5c5[_0x3574('be','Y!GK')]===0x0){console[_0x3574('bf','JXto')](_0x3574('c0','zlLw')+_0x59e5c5['Data']['strUserPin']+'\x0a');if(_0x59e5c5[_0x3574('c1','VA#w')][_0x3574('9b','fWj]')]){if(_0x18093b['CYuwn'](_0x18093b[_0x3574('c2','dm0F')],'MBWOu')){$['packetIdArr']['push']({'strUserPin':_0x59e5c5[_0x3574('c3','cnjI')][_0x3574('c4','xuiG')],'userName':$[_0x3574('c5','NW]k')]});}else{$[_0x3574('c6','S^f4')](e,_0x15366a);}}}else{if(_0x18093b[_0x3574('c7','fWj]')](_0x18093b[_0x3574('c8','72Ro')],_0x18093b[_0x3574('c9','PKm$')])){console['log']('活动开启成功,助力邀请码为:'+_0x59e5c5[_0x3574('9e','f4cE')]['strUserPin']+'\x0a');}else{console[_0x3574('ca','e%0e')](_0x3574('cb','cnjI')+_0x59e5c5[_0x3574('cc','aT7k')]+'\x0a');}}}}}catch(_0x45d61b){if(_0x18093b['WCDEv']!==_0x18093b[_0x3574('cd','wS$S')]){_0x59e5c5=JSON[_0x3574('ce','LRjK')](_0x59e5c5);if(_0x59e5c5['iRet']===0x0){console[_0x3574('cf','iQTQ')]('活动开启成功,助力邀请码为:'+_0x59e5c5[_0x3574('d0','9j4U')]['strUserPin']+'\x0a');}else{console[_0x3574('d1','zlLw')]('活动开启失败:'+_0x59e5c5[_0x3574('d2','PW(#')]+'\x0a');}}else{$[_0x3574('d3','UCw2')](_0x45d61b,_0x15366a);}}finally{if(_0x18093b[_0x3574('d4','FJXT')](_0x18093b[_0x3574('d5','PW(#')],_0x18093b[_0x3574('d6','PW(#')])){_0x326fd4(_0x59e5c5);}else{if(_0x59e5c5)_0x59e5c5=JSON[_0x3574('d7','U!LP')](_0x59e5c5);}}});});}function enrollFriend(_0x6a2b53){var _0x572d28={'yRuqc':function(_0x11732b,_0x2bba89){return _0x11732b===_0x2bba89;},'eSPKY':'CchPv','QJKUf':'JxCQW','LdXaE':function(_0x28d34a){return _0x28d34a();},'zFHao':'EnrollFriend'};return new Promise(_0x697ecf=>{var _0x42cead={'lyWoU':function(_0x423755,_0x587f72){return _0x572d28[_0x3574('d8','wBm(')](_0x423755,_0x587f72);},'evVXF':function(_0x4a0f24,_0x57ad18){return _0x4a0f24===_0x57ad18;},'OHaAC':_0x572d28[_0x3574('d9','PW(#')],'KRrzu':_0x3574('da','LRjK'),'UUDvK':_0x3574('db','NW]k'),'yLSLM':function(_0x460da3,_0x1a278d){return _0x572d28[_0x3574('dc','nWHB')](_0x460da3,_0x1a278d);},'ZfZsN':_0x572d28[_0x3574('dd','%AVw')],'Nwkdh':function(_0x6720f2,_0x1a6c24){return _0x6720f2===_0x1a6c24;},'rUsvX':function(_0x3b3f72){return _0x572d28['LdXaE'](_0x3b3f72);}};const _0xd1bb34=_0x3574('de','VA#w')+_0x6a2b53+_0x3574('df','VA#w')+$[_0x3574('e0','NW]k')](_0x3574('e1','FJXT'));const _0x3e25e7=taskurl(_0x572d28[_0x3574('e2','Y!GK')],_0xd1bb34,_0x3574('e3','72Ro'));$['get'](_0x3e25e7,(_0x4a7e59,_0x3c8c7c,_0x51b342)=>{if(_0x42cead[_0x3574('e4','zlLw')](_0x42cead['OHaAC'],_0x42cead['OHaAC'])){try{if(_0x4a7e59){if(_0x42cead[_0x3574('e5','sa8S')]===_0x3574('e6','zlLw')){console['log']('\x0a'+$['name']+_0x3574('e7','@s%*'));$['logErr'](_0x4a7e59);}else{if(_0x51b342['iRet']===0x7df)$['canHelp']=![];if(_0x42cead[_0x3574('e8','iQTQ')](_0x51b342[_0x3574('e9','Ypt3')],0x7e0)){$['canHelp']=![];console[_0x3574('ea','PRKL')](_0x3574('eb','f4cE'));}if(_0x42cead[_0x3574('ec','GM#p')](_0x51b342[_0x3574('ed','5]Wm')],0x7dd))$[_0x3574('ee','%Nph')]=!![];console[_0x3574('ef','(yGx')](_0x3574('f0','cnjI')+_0x51b342[_0x3574('f1','NW]k')]+'\x0a');}}else{console[_0x3574('bf','JXto')](_0x42cead['UUDvK'],_0x51b342);_0x51b342=JSON[_0x3574('f2','gTss')](_0x51b342);if(_0x51b342[_0x3574('f3','PRKL')]===0x0){if(_0x42cead['yLSLM'](_0x42cead[_0x3574('f4','BsfC')],_0x42cead[_0x3574('f5','NW]k')])){console[_0x3574('f6','dm0F')]('助力成功:'+_0x51b342['sErrMsg']+'\x0a');}else{url+=_0x3574('f7','UCw2')+encodeURIComponent(stk);}}else{if(_0x42cead[_0x3574('f8','y^Qx')](_0x51b342[_0x3574('f9','(yGx')],0x7df))$['canHelp']=![];if(_0x42cead[_0x3574('fa','U!LP')](_0x51b342['iRet'],0x7e0)){$[_0x3574('fb','8fV!')]=![];console[_0x3574('fc','wBm(')](_0x3574('fd','4uM4'));}if(_0x51b342['iRet']===0x7dd)$['max']=!![];console[_0x3574('fe','NW]k')](_0x3574('ff','iQTQ')+_0x51b342[_0x3574('100','f4cE')]+'\x0a');}}}catch(_0xb3da1c){$[_0x3574('101','DnBP')](_0xb3da1c,_0x3c8c7c);}finally{_0x42cead['rUsvX'](_0x697ecf);}}else{console['log']('获取助力码成功:'+_0x51b342['Data'][_0x3574('102','8sW]')]+'\x0a');if(_0x51b342[_0x3574('103','Y!GK')][_0x3574('104','GM#p')]){$[_0x3574('105','JXto')][_0x3574('106','NIca')]({'strUserPin':_0x51b342['Data'][_0x3574('107','DnBP')],'userName':$[_0x3574('108','S^f4')]});}}});});}function openRedPack(_0x159e8e,_0x47cac2){var _0x5c93af={'YNBma':function(_0x1f17a8,_0x1fd16a){return _0x1f17a8!==_0x1fd16a;},'QTUyP':_0x3574('109','GM#p'),'NKdPv':function(_0x4606a4,_0x36bdcc){return _0x4606a4===_0x36bdcc;},'YjKrY':_0x3574('10a','wBm('),'uzAkG':_0x3574('10b','wBm('),'XckDG':'CjCeC','nFQfs':_0x3574('10c','XFAk'),'jDIiu':'lMRAF','nJoAj':function(_0xf767d3,_0x2931a3){return _0xf767d3!==_0x2931a3;},'YkXKC':_0x3574('10d','fWj]'),'vkPAM':function(_0x5a3833){return _0x5a3833();},'CuPbm':function(_0x4ba8ed,_0x2637d1){return _0x4ba8ed+_0x2637d1;},'SbNdK':function(_0x5a4e45,_0x34bf51){return _0x5a4e45(_0x34bf51);},'uJdLg':'*/*','XbgsL':_0x3574('10e','NIca'),'dfjqe':_0x3574('10f','iQTQ'),'eoqmY':_0x3574('110','nWHB'),'JXeix':function(_0x1da634,_0x4ce482){return _0x1da634>_0x4ce482;},'bvpcZ':_0x3574('111','9j4U'),'vCQks':function(_0x3fcd7f){return _0x3fcd7f();},'TnkBw':'DoGradeDraw','iQhmu':_0x3574('112','72Ro')};return new Promise(_0x4b714d=>{var _0x3c03a3={'Oulyy':function(_0x5c816c,_0xa4f83f){return _0x5c816c+_0xa4f83f;},'fwLHp':function(_0x5078e7,_0x345ccf){return _0x5078e7+_0x345ccf;},'ksraf':function(_0x33a120,_0x524a00){return _0x5c93af['CuPbm'](_0x33a120,_0x524a00);},'anpEk':function(_0x223a4c,_0x24438e){return _0x5c93af[_0x3574('113','FJXT')](_0x223a4c,_0x24438e);},'IFjqi':_0x5c93af['uJdLg'],'feaaJ':_0x5c93af['XbgsL'],'MzMSn':_0x5c93af[_0x3574('114','PRKL')],'VnhsW':_0x5c93af[_0x3574('115','(76U')],'LKvhA':function(_0x25748a,_0x16f141){return _0x5c93af[_0x3574('116','cnjI')](_0x25748a,_0x16f141);},'qfWrH':_0x5c93af['bvpcZ'],'ZjUbK':function(_0x10400a){return _0x5c93af[_0x3574('117','xuiG')](_0x10400a);},'XlRpr':function(_0x5b02d8,_0x30e447){return _0x5c93af['NKdPv'](_0x5b02d8,_0x30e447);}};const _0x1fa838=_0x3574('118','72Ro')+_0x159e8e+_0x3574('119','Y!GK')+_0x47cac2;const _0x5c3b84=taskurl(_0x5c93af[_0x3574('11a','LRjK')],_0x1fa838,_0x5c93af[_0x3574('11b','U!LP')]);$[_0x3574('11c','Ypt3')](_0x5c3b84,(_0x5b0b55,_0x3e9c42,_0x37fd23)=>{try{if(_0x5b0b55){if(_0x5c93af[_0x3574('11d','UCw2')](_0x5c93af[_0x3574('11e','DnBP')],_0x3574('11f','Y!GK'))){if(_0x5b0b55){}else{if(_0x37fd23)_0x37fd23=JSON[_0x3574('120','iQTQ')](_0x37fd23);}}else{console[_0x3574('31','PKm$')]('\x0a'+$['name']+_0x3574('121','NIca'));$['logErr'](_0x5b0b55);}}else{if(_0x5c93af['NKdPv'](_0x5c93af[_0x3574('122','8fV!')],_0x5c93af[_0x3574('123','xuiG')])){let _0x355ea0=BASE_URL+'/'+functionId+'?activeId=489177&publishFlag=1&channel=7&'+_0x1fa838+_0x3574('124','fWj]')+Date[_0x3574('125','FJXT')]()+_0x3574('126','8sW]')+_0x3c03a3[_0x3574('127','xuiG')](Date[_0x3574('128','BsfC')](),0x2)+_0x3574('129','PRKL');const _0x35b584=_0x3c03a3[_0x3574('12a','FxWz')](_0x3c03a3[_0x3574('12b','5]Wm')](_0x3c03a3[_0x3574('12c','BsfC')](_0x3c03a3[_0x3574('12d','LRjK')](Math['random']()['toString'](0x24)[_0x3574('12e','Y!GK')](0x2,0xa),Math[_0x3574('12f','5]Wm')]()[_0x3574('130','8sW]')](0x24)[_0x3574('131','GM#p')](0x2,0xa)),Math[_0x3574('132','f4cE')]()['toString'](0x24)[_0x3574('133','DnBP')](0x2,0xa)),Math[_0x3574('132','f4cE')]()[_0x3574('134','%Nph')](0x24)['slice'](0x2,0xa)),Math[_0x3574('132','f4cE')]()[_0x3574('135','FxWz')](0x24)[_0x3574('136','PRKL')](0x2,0xa));_0x355ea0+=_0x3574('137','sa8S')+_0x35b584;_0x355ea0+=_0x3574('138','9j4U')+(_0x3c03a3['ksraf'](_0x3c03a3[_0x3574('139','U!LP')](Math['random']()[_0x3574('13a','swWQ')](0x24)[_0x3574('13b','%Nph')](0x2,0xa),Math[_0x3574('13c','sa8S')]()[_0x3574('13d','zlLw')](0x24)[_0x3574('13e','sa8S')](0x2,0xa)),Math[_0x3574('13f','8fV!')]()[_0x3574('140','wS$S')](0x24)[_0x3574('141','4uM4')](0x2,0xa))+Math[_0x3574('142','dm0F')]()['toString'](0x24)['slice'](0x2,0xa));if(stk){_0x355ea0+=_0x3574('143','NIca')+_0x3c03a3[_0x3574('144','xuiG')](encodeURIComponent,stk);}return{'url':_0x355ea0,'headers':{'Host':_0x3574('145','nWHB'),'Cookie':cookie,'accept':_0x3c03a3[_0x3574('146','xuiG')],'user-agent':_0x3574('147','XbnK')+_0x35b584+';network/wifi;model/iPhone13,4;appBuild/100546;ADID/00000000-0000-0000-0000-000000000000;supportApplePay/1;hasUPPay/0;pushNoticeIsOpen/0;hasOCPay/0;supportBestPay/0;session/318;pap/JA2019_3111789;brand/apple;supportJDSHWK/1;Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x2014_5_1\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/605.1.15\x20(KHTML,\x20like\x20Gecko)\x20Mobile/15E148','accept-language':_0x3c03a3[_0x3574('148','Ypt3')],'referer':_0x3c03a3[_0x3574('149','FJXT')]}};}else{_0x37fd23=JSON[_0x3574('14a','NW]k')](_0x37fd23);if(_0x37fd23[_0x3574('14b','8sW]')]===0x0){console[_0x3574('24','wS$S')](_0x3574('14c','wBm(')+_0x37fd23[_0x3574('14d','NIca')]+'\x0a');}else{if(_0x5c93af['YNBma'](_0x5c93af[_0x3574('14e','JYAu')],_0x5c93af[_0x3574('14f','%Nph')])){if(_0x5c93af[_0x3574('150','y^Qx')](_0x37fd23[_0x3574('151','S^f4')],0x7e1))$[_0x3574('152','%AVw')]=![];console[_0x3574('3b','f4cE')]('拆红包失败:'+_0x37fd23[_0x3574('153','U!LP')]+'\x0a');}else{Object['keys'](jdCookieNode)[_0x3574('154','dm0F')](_0x45905d=>{cookiesArr[_0x3574('155','FJXT')](jdCookieNode[_0x45905d]);});if(process[_0x3574('156','(76U')][_0x3574('157','dm0F')]&&process[_0x3574('158','XbnK')][_0x3574('159','U!LP')]===_0x3c03a3[_0x3574('15a','XbnK')])console['log']=()=>{};if(_0x3c03a3['LKvhA'](JSON[_0x3574('15b','S^f4')](process[_0x3574('15c','fWj]')])[_0x3574('15d','PKm$')](_0x3c03a3['qfWrH']),-0x1))process[_0x3574('15e','Y!GK')](0x0);}}}}}catch(_0x3c1c07){if(_0x5c93af[_0x3574('15f','PW(#')](_0x5c93af[_0x3574('160','%AVw')],_0x5c93af[_0x3574('161','JYAu')])){_0x3c03a3[_0x3574('162','fWj]')](_0x4b714d);}else{$[_0x3574('163','UjjU')](_0x3c1c07,_0x3e9c42);}}finally{if(_0x5c93af[_0x3574('164','UCw2')](_0x3574('165','BsfC'),_0x5c93af[_0x3574('166','S^f4')])){_0x37fd23=JSON[_0x3574('167','BsfC')](_0x37fd23);if(_0x3c03a3[_0x3574('168','VA#w')](_0x37fd23['iRet'],0x0)){console['log']('拆红包成功:'+_0x37fd23[_0x3574('169','wS$S')]+'\x0a');}else{if(_0x3c03a3['XlRpr'](_0x37fd23[_0x3574('16a','%Nph')],0x7e1))$[_0x3574('16b','e%0e')]=![];console[_0x3574('16c','U!LP')](_0x3574('16d','sa8S')+_0x37fd23[_0x3574('16e','FxWz')]+'\x0a');}}else{_0x5c93af[_0x3574('16f','NIca')](_0x4b714d);}}});});}function getAuthorShareCode(_0x597a72=_0x3574('170','aT7k')){var _0x43d5e2={'hAyrW':function(_0x3a9084,_0x3d3e89){return _0x3a9084===_0x3d3e89;},'QEUsw':function(_0xf509b3,_0x5e69b1){return _0xf509b3===_0x5e69b1;},'QhAYU':'UqzRB','xRDdR':function(_0x18e43e,_0x539e53){return _0x18e43e!==_0x539e53;},'eGprB':_0x3574('171','XFAk'),'vvTVf':_0x3574('172','72Ro'),'YEEwF':_0x3574('173','4uM4'),'FHUXU':_0x3574('174','DnBP'),'kiSRY':function(_0x28c305,_0xffc799){return _0x28c305(_0xffc799);},'NkZjt':'Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x2013_2_3\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/605.1.15\x20(KHTML,\x20like\x20Gecko)\x20Version/13.0.3\x20Mobile/15E148\x20Safari/604.1\x20Edg/87.0.4280.88','fAJrY':function(_0x14deb6,_0x2caef8){return _0x14deb6!==_0x2caef8;},'IBDlZ':_0x3574('175','%Nph'),'rckiD':'tunnel'};return new Promise(_0x3f40ce=>{const _0x561d47={'url':_0x597a72+'?'+new Date(),'timeout':0x2710,'headers':{'User-Agent':_0x43d5e2[_0x3574('176','y^Qx')]}};if($['isNode']()&&process[_0x3574('177','e%0e')][_0x3574('178','9gmI')]&&process[_0x3574('179','DnBP')][_0x3574('17a','e%0e')]){if(_0x43d5e2[_0x3574('17b','FxWz')]('dPOvl',_0x43d5e2['IBDlZ'])){const _0x297a73=require(_0x43d5e2[_0x3574('17c','UCw2')]);const _0x118799={'https':_0x297a73[_0x3574('17d','NW]k')]({'proxy':{'host':process['env']['TG_PROXY_HOST'],'port':process['env'][_0x3574('17e','S^f4')]*0x1}})};Object['assign'](_0x561d47,{'agent':_0x118799});}else{console[_0x3574('17f','VA#w')]('助力结果',data);data=JSON[_0x3574('180','8fV!')](data);if(_0x43d5e2[_0x3574('181','PW(#')](data[_0x3574('182','FxWz')],0x0)){console['log'](_0x3574('183','(yGx')+data[_0x3574('f1','NW]k')]+'\x0a');}else{if(_0x43d5e2[_0x3574('184','LRjK')](data[_0x3574('185','JYAu')],0x7df))$[_0x3574('186','9j4U')]=![];if(_0x43d5e2[_0x3574('187','U!LP')](data['iRet'],0x7e0)){$['canHelp']=![];console[_0x3574('188','y^Qx')](_0x3574('189','PKm$'));}if(data[_0x3574('18a','PKm$')]===0x7dd)$[_0x3574('18b','GM#p')]=!![];console[_0x3574('a1','fWj]')](_0x3574('18c','wBm(')+data[_0x3574('18d','sa8S')]+'\x0a');}}}$['get'](_0x561d47,async(_0x380fb9,_0x38eb34,_0x127c24)=>{var _0x1a924b={'gZbuZ':_0x3574('18e','FJXT')};if(_0x43d5e2[_0x3574('18f','swWQ')](_0x43d5e2[_0x3574('190','aT7k')],_0x3574('191','72Ro'))){console[_0x3574('89','sa8S')]('\x0a'+$[_0x3574('21','4uM4')]+_0x3574('192','9j4U'));$[_0x3574('193','XFAk')](_0x380fb9);}else{try{if(_0x43d5e2[_0x3574('194','U!LP')](_0x43d5e2[_0x3574('195','PKm$')],_0x43d5e2['vvTVf'])){if(_0x380fb9){}else{if(_0x127c24)_0x127c24=JSON[_0x3574('14a','NW]k')](_0x127c24);}}else{$[_0x3574('196','UCw2')]($[_0x3574('197','5]Wm')],'【提示】请先获取京东账号一cookie\x0a直接使用NobyDa的京东签到获取',_0x1a924b[_0x3574('198','5]Wm')],{'open-url':_0x1a924b[_0x3574('199','%Nph')]});return;}}catch(_0x437c5f){}finally{if(_0x43d5e2[_0x3574('19a','Y!GK')](_0x43d5e2['YEEwF'],_0x43d5e2[_0x3574('19b','(yGx')])){_0x43d5e2[_0x3574('19c','9j4U')](_0x3f40ce,_0x127c24);}else{$[_0x3574('19d','Ypt3')](e,_0x38eb34);}}}});});}function taskurl(_0x3cc5c2,_0xbcacf2='',_0x5470c2){var _0x4be353={'VKAyR':function(_0x364534,_0x43ade2){return _0x364534+_0x43ade2;},'pwVBW':_0x3574('19e','FJXT'),'bbmDF':'zh-cn','ZzTOz':'https://wqactive.jd.com/cube/front/activePublish/step_reward/489177.html?aid=489177'};let _0x19ec2c=BASE_URL+'/'+_0x3cc5c2+_0x3574('19f','iQTQ')+_0xbcacf2+_0x3574('1a0','FxWz')+Date['now']()+_0x3574('1a1','4uM4')+(Date[_0x3574('1a2','%AVw')]()+0x2)+'&_ste=1';const _0x52892f=_0x4be353[_0x3574('1a3','LRjK')](Math['random']()['toString'](0x24)['slice'](0x2,0xa)+Math[_0x3574('142','dm0F')]()[_0x3574('13d','zlLw')](0x24)['slice'](0x2,0xa)+Math[_0x3574('1a4','XbnK')]()[_0x3574('134','%Nph')](0x24)[_0x3574('1a5','PW(#')](0x2,0xa)+Math[_0x3574('1a6','UCw2')]()[_0x3574('1a7','JYAu')](0x24)['slice'](0x2,0xa),Math['random']()[_0x3574('140','wS$S')](0x24)[_0x3574('1a8','8sW]')](0x2,0xa));_0x19ec2c+=_0x3574('1a9','FJXT')+_0x52892f;_0x19ec2c+=_0x3574('1aa','f4cE')+(_0x4be353[_0x3574('1ab','XbnK')](Math[_0x3574('1ac','PRKL')]()[_0x3574('1ad','Ypt3')](0x24)[_0x3574('1ae','f4cE')](0x2,0xa),Math['random']()[_0x3574('1af','Y!GK')](0x24)[_0x3574('1b0','iQTQ')](0x2,0xa))+Math['random']()['toString'](0x24)[_0x3574('1a5','PW(#')](0x2,0xa)+Math[_0x3574('1b1','XFAk')]()[_0x3574('1b2','PW(#')](0x24)[_0x3574('1b0','iQTQ')](0x2,0xa));if(_0x5470c2){_0x19ec2c+='&_stk='+encodeURIComponent(_0x5470c2);}return{'url':_0x19ec2c,'headers':{'Host':_0x3574('1b3','dm0F'),'Cookie':cookie,'accept':_0x4be353['pwVBW'],'user-agent':_0x3574('1b4','y^Qx')+_0x52892f+_0x3574('1b5','iQTQ'),'accept-language':_0x4be353[_0x3574('1b6','wS$S')],'referer':_0x4be353['ZzTOz']}};};_0xodD='jsjiami.com.v6';
function Env(t,e){class s{constructor(t){this.env=t}send(t,e="GET"){t="string"==typeof t?{url:t}:t;let s=this.get;return"POST"===e&&(s=this.post),new Promise((e,i)=>{s.call(this,t,(t,s,r)=>{t?i(t):e(s)})})}get(t){return this.send.call(this.env,t)}post(t){return this.send.call(this.env,t,"POST")}}return new class{constructor(t,e){this.name=t,this.http=new s(this),this.data=null,this.dataFile="box.dat",this.logs=[],this.isMute=!1,this.isNeedRewrite=!1,this.logSeparator="\n",this.startTime=(new Date).getTime(),Object.assign(this,e),this.log("",`🔔${this.name}, 开始!`)}isNode(){return"undefined"!=typeof module&&!!module.exports}isQuanX(){return"undefined"!=typeof $task}isSurge(){return"undefined"!=typeof $httpClient&&"undefined"==typeof $loon}isLoon(){return"undefined"!=typeof $loon}toObj(t,e=null){try{return JSON.parse(t)}catch{return e}}toStr(t,e=null){try{return JSON.stringify(t)}catch{return e}}getjson(t,e){let s=e;const i=this.getdata(t);if(i)try{s=JSON.parse(this.getdata(t))}catch{}return s}setjson(t,e){try{return this.setdata(JSON.stringify(t),e)}catch{return!1}}getScript(t){return new Promise(e=>{this.get({url:t},(t,s,i)=>e(i))})}runScript(t,e){return new Promise(s=>{let i=this.getdata("@chavy_boxjs_userCfgs.httpapi");i=i?i.replace(/\n/g,"").trim():i;let r=this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout");r=r?1*r:20,r=e&&e.timeout?e.timeout:r;const[o,h]=i.split("@"),n={url:`http://${h}/v1/scripting/evaluate`,body:{script_text:t,mock_type:"cron",timeout:r},headers:{"X-Key":o,Accept:"*/*"}};this.post(n,(t,e,i)=>s(i))}).catch(t=>this.logErr(t))}loaddata(){if(!this.isNode())return{};{this.fs=this.fs?this.fs:require("fs"),this.path=this.path?this.path:require("path");const t=this.path.resolve(this.dataFile),e=this.path.resolve(process.cwd(),this.dataFile),s=this.fs.existsSync(t),i=!s&&this.fs.existsSync(e);if(!s&&!i)return{};{const i=s?t:e;try{return JSON.parse(this.fs.readFileSync(i))}catch(t){return{}}}}}writedata(){if(this.isNode()){this.fs=this.fs?this.fs:require("fs"),this.path=this.path?this.path:require("path");const t=this.path.resolve(this.dataFile),e=this.path.resolve(process.cwd(),this.dataFile),s=this.fs.existsSync(t),i=!s&&this.fs.existsSync(e),r=JSON.stringify(this.data);s?this.fs.writeFileSync(t,r):i?this.fs.writeFileSync(e,r):this.fs.writeFileSync(t,r)}}lodash_get(t,e,s){const i=e.replace(/\[(\d+)\]/g,".$1").split(".");let r=t;for(const t of i)if(r=Object(r)[t],void 0===r)return s;return r}lodash_set(t,e,s){return Object(t)!==t?t:(Array.isArray(e)||(e=e.toString().match(/[^.[\]]+/g)||[]),e.slice(0,-1).reduce((t,s,i)=>Object(t[s])===t[s]?t[s]:t[s]=Math.abs(e[i+1])>>0==+e[i+1]?[]:{},t)[e[e.length-1]]=s,t)}getdata(t){let e=this.getval(t);if(/^@/.test(t)){const[,s,i]=/^@(.*?)\.(.*?)$/.exec(t),r=s?this.getval(s):"";if(r)try{const t=JSON.parse(r);e=t?this.lodash_get(t,i,""):e}catch(t){e=""}}return e}setdata(t,e){let s=!1;if(/^@/.test(e)){const[,i,r]=/^@(.*?)\.(.*?)$/.exec(e),o=this.getval(i),h=i?"null"===o?null:o||"{}":"{}";try{const e=JSON.parse(h);this.lodash_set(e,r,t),s=this.setval(JSON.stringify(e),i)}catch(e){const o={};this.lodash_set(o,r,t),s=this.setval(JSON.stringify(o),i)}}else s=this.setval(t,e);return s}getval(t){return this.isSurge()||this.isLoon()?$persistentStore.read(t):this.isQuanX()?$prefs.valueForKey(t):this.isNode()?(this.data=this.loaddata(),this.data[t]):this.data&&this.data[t]||null}setval(t,e){return this.isSurge()||this.isLoon()?$persistentStore.write(t,e):this.isQuanX()?$prefs.setValueForKey(t,e):this.isNode()?(this.data=this.loaddata(),this.data[e]=t,this.writedata(),!0):this.data&&this.data[e]||null}initGotEnv(t){this.got=this.got?this.got:require("got"),this.cktough=this.cktough?this.cktough:require("tough-cookie"),this.ckjar=this.ckjar?this.ckjar:new this.cktough.CookieJar,t&&(t.headers=t.headers?t.headers:{},void 0===t.headers.Cookie&&void 0===t.cookieJar&&(t.cookieJar=this.ckjar))}get(t,e=(()=>{})){t.headers&&(delete t.headers["Content-Type"],delete t.headers["Content-Length"]),this.isSurge()||this.isLoon()?(this.isSurge()&&this.isNeedRewrite&&(t.headers=t.headers||{},Object.assign(t.headers,{"X-Surge-Skip-Scripting":!1})),$httpClient.get(t,(t,s,i)=>{!t&&s&&(s.body=i,s.statusCode=s.status),e(t,s,i)})):this.isQuanX()?(this.isNeedRewrite&&(t.opts=t.opts||{},Object.assign(t.opts,{hints:!1})),$task.fetch(t).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>e(t))):this.isNode()&&(this.initGotEnv(t),this.got(t).on("redirect",(t,e)=>{try{if(t.headers["set-cookie"]){const s=t.headers["set-cookie"].map(this.cktough.Cookie.parse).toString();s&&this.ckjar.setCookieSync(s,null),e.cookieJar=this.ckjar}}catch(t){this.logErr(t)}}).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>{const{message:s,response:i}=t;e(s,i,i&&i.body)}))}post(t,e=(()=>{})){if(t.body&&t.headers&&!t.headers["Content-Type"]&&(t.headers["Content-Type"]="application/x-www-form-urlencoded"),t.headers&&delete t.headers["Content-Length"],this.isSurge()||this.isLoon())this.isSurge()&&this.isNeedRewrite&&(t.headers=t.headers||{},Object.assign(t.headers,{"X-Surge-Skip-Scripting":!1})),$httpClient.post(t,(t,s,i)=>{!t&&s&&(s.body=i,s.statusCode=s.status),e(t,s,i)});else if(this.isQuanX())t.method="POST",this.isNeedRewrite&&(t.opts=t.opts||{},Object.assign(t.opts,{hints:!1})),$task.fetch(t).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>e(t));else if(this.isNode()){this.initGotEnv(t);const{url:s,...i}=t;this.got.post(s,i).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>{const{message:s,response:i}=t;e(s,i,i&&i.body)})}}time(t,e=null){const s=e?new Date(e):new Date;let i={"M+":s.getMonth()+1,"d+":s.getDate(),"H+":s.getHours(),"m+":s.getMinutes(),"s+":s.getSeconds(),"q+":Math.floor((s.getMonth()+3)/3),S:s.getMilliseconds()};/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(s.getFullYear()+"").substr(4-RegExp.$1.length)));for(let e in i)new RegExp("("+e+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?i[e]:("00"+i[e]).substr((""+i[e]).length)));return t}msg(e=t,s="",i="",r){const o=t=>{if(!t)return t;if("string"==typeof t)return this.isLoon()?t:this.isQuanX()?{"open-url":t}:this.isSurge()?{url:t}:void 0;if("object"==typeof t){if(this.isLoon()){let e=t.openUrl||t.url||t["open-url"],s=t.mediaUrl||t["media-url"];return{openUrl:e,mediaUrl:s}}if(this.isQuanX()){let e=t["open-url"]||t.url||t.openUrl,s=t["media-url"]||t.mediaUrl;return{"open-url":e,"media-url":s}}if(this.isSurge()){let e=t.url||t.openUrl||t["open-url"];return{url:e}}}};if(this.isMute||(this.isSurge()||this.isLoon()?$notification.post(e,s,i,o(r)):this.isQuanX()&&$notify(e,s,i,o(r))),!this.isMuteLog){let t=["","==============📣系统通知📣=============="];t.push(e),s&&t.push(s),i&&t.push(i),console.log(t.join("\n")),this.logs=this.logs.concat(t)}}log(...t){t.length>0&&(this.logs=[...this.logs,...t]),console.log(t.join(this.logSeparator))}logErr(t,e){const s=!this.isSurge()&&!this.isQuanX()&&!this.isLoon();s?this.log("",`❗️${this.name}, 错误!`,t.stack):this.log("",`❗️${this.name}, 错误!`,t)}wait(t){return new Promise(e=>setTimeout(e,t))}done(t={}){const e=(new Date).getTime(),s=(e-this.startTime)/1e3;this.log("",`🔔${this.name}, 结束! 🕛 ${s} 秒`),this.log(),(this.isSurge()||this.isQuanX()||this.isLoon())&&$done(t)}}(t,e)}