2 Star 5 Fork 3

进击的阿晨/left1

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
jd_lucky_egg.js 51.96 KB
一键复制 编辑 原始数据 按行查看 历史
yuannian1112 提交于 2021-10-12 17:05 . 新增
/*
* 活动:
* https://lzkj-isv.isvjcloud.com/lzclient/80012b3b7b14453ea87b491b3c1dfe3a/cjwx/wxEggTwister/0020.html?activityId=80012b3b7b14453ea87b491b3c1dfe3a
* 活动时间:2021-10-11 12:44 至 2021-11-10 12:44;
* 说明:
* 1、脚本没有助力,关注店铺后抽奖3次。概率豆子
cron 24 9 * 10-11 *
* * */
const $ = new Env('幸运扭蛋');
const jdCookieNode = $.isNode() ? require('./jdCookie.js') : '';
let cookiesArr = [];
if ($.isNode()) {
Object.keys(jdCookieNode).forEach((item) => {
cookiesArr.push(jdCookieNode[item])
})
if (process.env.JD_DEBUG && process.env.JD_DEBUG === 'false') console.log = () => {};
} else {
cookiesArr = [$.getdata('CookieJD'), $.getdata('CookieJD2'), ...jsonParse($.getdata('CookiesJD') || "[]").map(item => item.cookie)].filter(item => !!item);
}
var _0xod0='jsjiami.com.v6',_0x1e3f=[_0xod0,'w6ReSjTChA==','H2RAwpQdNg==','wqoIZMOBI2Q6w7/DrsKoH3s=','YcO1wpQ=','EsO4wrA=','GxMbwoTDjGbDgRLDp1gkYV3Cug==','GRjCviE6','woRPY8Kcw7E=','w5REYgnClw==','wpfCjsO4dMKW','YzxwasOI','VsKQZR/DlA==','6I+85Y2iQmPDqMOxJ+Wmn+i2mg==','w7YJEwIQ','5omj6KG+5LiK5YmM5byz5biP','cMKYw60=','wq98w7AdRcOx','wpTCvcOfJA==','HAgewqhoawN0dcKXwp3CuMKST8KT','wpHCuMOOQg==','f8O/woDCt8KlUg==','wrTCksOtw5LDkw==','XMKnwpwFEWbCvX02aMKzEg==','wrheAMOKAEMiWcKH','w7sHw4pZfMO4','wqDCl8KRGig=','ZG/DhcOAw40=','MmMbwqY=','w6JNwrwGehRBdkfCnGrCvUfCqw==','wqMVcQ==','5omb6KKd5oiR5Yuk','wp7Co8OuTcKU','wrlPAcOWAlA=','wqNIZMKFw48=','5oim5aWu6I2l5b+c77yJ','wqovw48=','wrwOZMOHP042w6rDpA==','JXYdwq7Do8O9EMOZRg==','IMOqwoMbGg==','wo1TWcKFw5Q=','w6UFJ8OwK3YUfsK5I0EDcw==','wrdZUQ4=','wqddeMKbwpfCuV4Ywp0NwpoNw77CrV/Dh8KO','V8K0ZAvCrsKTWsKdwpAi','PF/DrRRJw4zCtFltwoQEw6/Chk3CpsKMwpPCmcKPE8KNw5VJYMKtLcKpPwLCmsOjVwzDiMOXwp7CgUlQw71XPQJ0Z8Kvw7txw4HChydUUcKwwqbDmxzDmWU2w4vCs8KD','w58jVsOqRsKDwrxAEA==','w7nCqsKRNBvDnBrCnHPDgTXDmABq','cwDDhA==','wopjTsK+w6jDnGgiwromwr43w48=','wphzcg==','wqElw5zChMOrMDo=','Bl4Qw5do','Lkh0wrDCqg==','cTxLb8O8eDosBcOkwpDCjsOuAsODRhlmw7R0w4HDhmgeHXPDkjlQwr0cdcKiUnLDji0nQD87wq4/dsKmJMORIxXDksOrOsKWwqYja8ObZcKLwqclwoPDvggCw7jCv8OtAWjCisO6wrcywocew7XDuj99wptTUGxZX2RFDsO+wpVBw6BKw5DChcKTw7YPBMKLwrvCrcKEOGLDnR8zw53Dnz3Cn8K1LBDDj8OPw6PCq8OyPsK/AcK4DFQWYlpKTFhZV8OzwqNubk1vwqLCjWRgSR/CgFnDqQJiw5scw5nCs8O4YglA','RsK5LBjDrQ==','w6TDvcOIJ3k=','w4DCvRA9NA==','SEnDng==','VcKjwoUGIA==','MR0LwpbDjg==','w6x8wpwlSw==','HmdHwpQ=','XsOWwofCquist+ayouWkpei2j++9juitk+air+afuOe/oei3humFr+itvA==','wrXDhMKl','GHJewoENeHNOGUjDvFBAKn9ZwqXCrMKwT2LCvsOJw7DCvcK7w6clL8K6wpfDq8K7dhzDucOHw65cJAjCv8KD','w6UNw55pYsO+','OmBswqY/','w7wnIhAz','OFtGMcKt','w6U4QcOMTMK9wqxHSQ==','wrLCnMOMw5gD','w7AIdcO5YQ==','Ll3DoRQg','ODfCmxIT','wocLw4vCtsOg','wrREA3oo','DQIEw7w=','w7NUwoQ6cQ==','w6NswosPdw==','wrYIw5/CkcOv','wp8vRMODKw==','w4EhMxo3','woMRw57ClMOj','dl0y','XFjDmMOvw6FpFzou','w4LCiiE=','ZVTCvD4JU8KlIRI=','w5jDtcOpwq1j','wqt3w4QnWA==','JAzCizAZ','AmNZwoQSNg==','Z8O/Py0=','B8OiwrnCrsKpwoRdw4cjw4MKSMOCRQ==','b0DCjcKxJg==','ZUzCpzQC','UAXDncO+w4g=','W8KowocDFQ==','XDnDoMOow6w=','ZcKCw6QxORsBJ8OrSwEpwpdO','wrXCicKsLj3DoQ==','NHxgwpkK','UMKww5k5MQ==','w4fDucOCFVE=','EBkI','dFPCg8KeVA==','wpJJYMKlw78=','wpREBFUP','UcKdQA7Djg==','eFvDnMOyw7w=','GMOKwqQHBg==','MMOcVsO1E8OrfQ==','B8OuaVjDjMOfDMOgw6DCtMOlwqLDt8KnHw==','w6x1UhTCtQ==','wot4aivDh8KQwpM4w7A=','G8KnwocIAjLDuDVUecKuHR0=','bsONJQDCgg==','wrAxQ8OKQMKewrBaVEvDhMKa','wqdOw5MRZw==','WMOkwqLCgcKUwplkw49/w4UfbcKWSMOGw7rCqCRTQsK2w7AEw5bCqMOu','w7DCnsOWwrIn','DcOywqPDjsKjwo97w4Erw4E=','w645WcO7Zg==','w7vDscOWIEI=','w65peQ/CrQ==','KMOKwps5AQ==','wrBIYsKf','OUZZNcKJ','w53CssOEwqUs','VsK/bTHDrw==','w6fDkcO2','5oul5aev6I6A5byG772s','fzlefg==','A8Oaw5U=','CWhAwp3CrwTCuMOZGQ==','w4tfZA==','w7LDnsOjwoY=','w687RsOn6K6m5rGr5aWu6Lap776R6Ky+5qK45p+7572a6Len6YeR6K6n','w7RDbx/CpQ==','DnTDhDQV','wpZqAmIoZA==','Y2XCkcKyM2JS','wohYw7sfTQ==','w7UYDRgB','wrzCksOgw6QOD8KdAi/CpEkew7g=','w7nDiMKRb8OTUVnCl8OEb8Ogw5Z6wok=','w4DCicOnwpQwABM=','w5snw4FgfQ==','HsOvwqUEAw==','CWxewp3CtQ==','wqvCg8K7By7DsDQ=','QEnDjsOJw4E=','w5wUdcO/','wpvCrcOaw4BsJcK0JQbCig==','Y0jCmMKdHRfCusOOOcOWYMO8w68ywr1/UA==','NR3CiS8VI8KSw6PCoBBew7wSAsOmwrfDnMO+wqPCqQgxwovDgBtSw5zCi0HDncKvK8OS','w7JiwpMjRy8IWg==','IUnDmw8Cw4E=','w5DDvMK4','TnbCrsK4YnLCjMO0HsO9RMOGw54=','wo94dQvDrQ==','wrUXwocYViJXWmHCvkHCvGY=','DcOqcsODKcOYSVoyBQ==','XCrDp8OH','WsKhwpwIBnvCqA==','VGHCh8KqfQ==','SyZmwqshFhMqPmPDgmgvCwR2w7w=','MSvCtMKCH2VrDkrCt8OdX0tT','w7pIwqInehNpb0/ClGHDh1/CtA9X','Rm/CnQM=','w5fDiMOlwqdC','w5rCgsO3w5wrIBrCosO4wps=','w6LCvxkqDsKRw6fDncK3w4Vww5HCj2ts','w4zCqR4mJw==','wrrDi8Ohwohhw53CiA==','wr1ewqAkfiRxa0PDhk7CuGU=','wqrCrMKZDQU=','w6tXwqE/','AMOZW1zDoQ==','L27Dvion','QFvCssKZLQ==','wrDDksKjw6ciwoht','LgLCigYJ','w6bDt8K6FsOfdXPCssOyXA==','w6AMw51JaMODw6k=','wrPCiMKkPQs=','wpnCpsObw5U5C8K+','OBfCpikYMMKaw7nClgtfwrgPQcKs','wrwKesOHJQ==','Gh8DwrfDgGI=','FRgLwqbDnV/Dgg==','YGXCmsKBDw==','wox9TsK/w7TDkn8zwqQ3wro1w47DhEI=','TsK0woQFEw==','w5zCgDYSIMK5w4c=','eWscw60p','wr8bZMOdNA==','VsKhcQvDtQ==','WEgWw7E2','wpbDksKbw5EO','EQQN','w6liwpU6WnJOE8O6','wpxsCQ==','L8OVQm0=','FGdewpA=','wrwfdcOcNF0Pw6XDsw==','w5REcRLCjcOdFsKKw7E=','G0nDkyED','ZcOLOwDCgw==','GMOxwq0IEcOlw4Qjag==','AMOqwoEGDg==','wofDiMOWwqINHSrCiMOWwrsJFnA=','wpddw5Yp','XcOVwqDClg==','wpvCucOONXooEcK8GwM=','cVrCpydLFMKoIg0WLGlOwozDqAnCgg==','w4ZAcxfCisOZHsKYw6FpScOBQUHDsMOiwodbwojDncOqw4ggSsKaw6vDoMKYYiNsR3s=','ZWjDtcOTw5xLLAMWwoDClcO+HQ==','wr3DmcK0','Qz3Dt8OUw6bDqw51aXo=','wr4vw5nCjsOY','w7tmwpc/XXZGAcOqC8Knw4zClMO5fsK8','HxEKwqnDhA==','fnbCqMKudg==','ZMOqLR/CmA==','GMOHwognAg==','PWLDlCoT','JnnDmQMA','w5HDs8K6Wg==','wrnCg8Old8K8w5ZEwpDCnMOuwp/Dtg==','wrVJdcKOw53DsFQYwp8=','YFPChcKM','Y3bDtcOSw4BFOxIIwozClcOp','asOMwrXCk8KM','wqbCtsONw6nDkA==','w4NRdxo=','wox9TsK/w7TDkn8zwqQ3wro1w47DhA==','w5/DpMKIUMOP','wrNXfcKCw48=','w53CiMOowpQmbw==','w7nDjcO8wox2w77DkG97wqrCkWs=','wqR2DXcH','CiUYwoTDhA==','TgzDqsOiw64=','b8OxLAnCpXE=','PcODwpvCm8KG','wrDDg8K2w7M0w4AxwrbCjxRew5gLwqjDuMK3SkDDsQ1/aXZTZzHCoWIpC8OLBxEAMMK4SMKyb8OQw7fDj8KqYsOowpXDkQHDmB7DoRZ2woTDrcOLJHrDow==','EXRPwpBDcANTQxnCrGFYdmADw7XDncOjBm3DvsOPw6zDocOww78UY8Ovw4vDl8KnflzCs8ObwqoMEUTDosOfw6LCnsO9w64Uw7PDp8Knw6JXwqbDuXLCvMKNO8KDI8OjwojChUTCnCzClsOTCAh6IF5AJsKmIcOpAmxeY8KYw6XDt0HDpMOhZEnCi8K2wpvDigzDpcKWwqjDicKrKcKPRHYywpfCusKhwrg7w4zDlsOEw70Tw7fDlcOaw7LCkVbDlsO4YTItwpETUsKMwoRlwoLCtcKUI8OuwpvDmMOqwq4VBsOqw5rDqMOSfcKHw7nDq8OKNcOawqdxZcO0w4EeBcOdwpfCr8OgZFBlw5kLXyxHwqI/w5PDkcOgYsORw5dBw6oULVXCnMK2HMO/wqBmw7PCgsKrw6/CssKJb8KvRR14wrESLAAhw550w6HCjMKQwrTCn8KFY8Oww4tTSQ1VwqMgcmg5wqNDwp4WdF5EwqUlwpJgBWDCjhBQBMKyE8Kow7hRwrwpw5RxccK+w47DiyHDosKpwodQSCfCusOYAMOIwrfCksOxwqPCgcKPwpDDi8KkwowSC1M0w5LCp8KTFmABC1LCoGDCq33CvjI5wrwMGMKlBCpoXMOZw4YDOsOwwpQ3w67DrMK5wpbDlx84dw8yHsKxOEQFAQDCncOzw4jDvHAmB8Ohc3HCkcOuw7jDvsORwpDCicOCJHksw74tw5fDvcKgD8KFw4glacOSwoTDmsOvbQ9lw6XCvVFgPcOQwr/ClSrDpsOSOcKKVHssay1EwrUUMMOCFcKqLA1JwpskwopkEhrDgsOrd8OewoUewqnClTcyw4gowqUOS0R9VsOGdMKADsOAYDPCi8KUw5kqw7nCsMKzw7zDmERNKsONDsOsw4Itw7IBw6lAPcKTw5TCqhnClGjCpGHDosK1w41tfMKjwpfDuUvDvcKkwrfCncKWwrfDncKUworCicKWwobCtcOWYsOhwrtGQsKbw5PCmi1oKcKDdcO9XjHDhcKsTsKOFsO4wq1MTXIDK8OsTcK0woHCmRFpWyw9wq3CpDLDhEfCp8KKw74cw6PDsih6w6fCm8K1wq96wqQ5wqPDlDHCrmPDpWnCkATDv8KSwqHDj8KKblo+w5xxwphFwqhwacKtbcKRw7ERE33DusKiHBFTw5LCi1TCtcO8w4YZw58Hw59+w6VLZWDCuHwOZVpYZcKsaWrDgg/DisKXWTcHw6MLw4k9wpwafw==','wqI4WsOWEA==','wpUCw6bCp8OY','KUrDvE4LworCqlAvw4sKw7I=','w7PDicOh','KMObwpvChcKu','w5bCkwAfAw==','w4QfKxcC','woDCp8OMw4Q=','eH3DvcOHw5k=','wo/CpMOSw4jDkA==','wrTDmMKl','Y8O7wp7Cpw==','HMOBw4DCgSVCwqlsOQ==','alPCnMKI','I8OfGwXorKDmsYHlppvotoLvv7vor6vmoJzmnLTnvZrot5jphb3oroE=','AGdYwoIb','w6JOwoMZUA==','wrXCicKs','bzdBesOiYw==','LUjDpw8Uw6nCpUdyw4kCw7o=','wpFyYwrDkMKQ','cF3CmsKIXw==','JwHCkCAZ','wqMfeMOJJUE=','R0/DrcO2w60=','44K55oy356a544Og6K6/5YSH6I+C5Yyf5Li95Lui6LWh5Y615Lijw6cfbcKWw5ZKw4/nmZ/mj6Lkv47nlqfDnMK2dsKCPcKn55ih5Lue5LqZ56+Z5Ymx6I6/5Y+i','esK3wqA0MQ==','RMKSw5gtBQ==','w4gRw5NgVA==','w6EJETU9','LmZrKMKX','wp1wCQ==','wp7CvcOGIA==','MMOSwp7CocKO','ScK5eyHDuw==','IQXCgxkE','IWI3w6FmYMKaeMOf','w6nDnMOPwrJ8','wosJRsONKQ==','w7DDmsOgwoRww5s=','w63DhcK0X8OE','X8KIZCnDhg==','worCkcOMKDY=','wpzCp8OY','wrbDlsKvw6Y=','wrYRcMO36K+e5rKq5aeo6LSL77yh6K+15qGg5p2C576K6Lek6YSX6K+S','w547U8OQYQ==','wqZLBsOABg==','wrrCnMOsw5/Djw==','woHClMK7ehrDpuW8jOWlieOCgeS6meS7lOi1sOWPtA==','PETCmMKswpPCoA==','EsOywrnChMK0wog=','w7DDg8KNbcO6','w6JhQC3ChQ==','JlXDog==','Px8iwqts','MQPCnRcVLcKW','Q0PDjQ==','w7rDlcOyImY=','OmcBwqDDucOy','w5LDtMObP3Q=','w44AYsOtTg==','w5PDp8ODClk=','ZmTCkg==','PmUxw5ZxRw==','QmQPw5A+','eR3DmsOKw6o=','w6oHBg==','wqTpm5fmrKTpuq8Iworvvq7nr5rlva3CpwHnpY8=','B2dDwoU=','w7/Cg8OrwqIC','QVHChMK5BA==','ES7CjSIY','wpzCs8OM','VuW3rui/teafqw==','JFXDsg==','w7UcExgbw6F4w5Yu','NsOYWsO0','wonCpsOTwrjorr/msI3lpYTot6zvvp3orInmoofmnqfnvbLotavphr3or5c=','wqfCnMOqw4/Dgg==','wqRIf8KO','wqEbe8OL','w5PDu8KgWsOwdmU=','eMKYw6QZ','PMOGwrHChMKK','ZcOuwofCssK6HMK5w6PCmXk1RMKuw6IYwp/Dr8OMSFTCkGM6LAHCg2vCn210w6YIw4TDohFpb8O2wocpw4YwTxLCi8OTwoJTw5c=','wqAvw4TCjMOlMwjDhkTCjQ==','CWhTwobCtQ==','wpjCqMOfNSRzUsO6ARwewohvasOpMMOjV8OrDcO1HzxURcOQwqnDvAo8wp8rw6fClMKswr0swp7CssOlesKDw4vDssOtwpMCwrTDkcORw5IuwrPCkcKWw7/DlsOJw4HDncKSw7bCp8OmQcO4VinDk27CsMKzJ8KETMOkEcOSfHnDksOxRh3DuMO5WXrCtRsrwrzDo8OnWmzCkFQwwozCk8O3PsOoJ8KfIMKmWcKTw7Yken9ZwoDDgmRjesK7w61zwrguw78BwrQuYUMPJMO0BMKfwrU8w59xw69dTRU=','5res5YmV5Z6o5Z+87769','UmDCn8Kpdg==','6I2H5YyKw58qPCwT5aek6LWI','dngGw7MR','w4TCqsO6wrkw','DFnDpg8h','G8Okw6jCjQk=','Hm50wpvChw==','wrlHTzzDlg==','5Yig5aSP5Y++5aWd6LWC','wrR3w6cNUcOKw5M=','wrTDjcKdw6kjwop3w7fCsRBYwp0Dw6g=','fMKtwqILLQ==','E3JWwpHCuSzCtw==','wqvDh8Kuw6oz','JsOiQ0bDhA==','YlvCncKZVEU=','w68GBRQNw4l3','wrxZMUICXcK0wpltwrzDlzkseA==','wpxww4kPYw==','O2Qyw7Z7esKJ','IcOFwpY5OMOHw68IUX0SwqPCryzCrw==','d0LCncKERQ==','HMOFw57CgT8=','ZAvDgsOqw5jDiSw=','PkAFw6ZL','WsKhwpw/DmLCuWgXSMKkB2lywqXCkEPDqQ==','KsOMw5fCpDw=','aF3Clg==','SsK0bx/DpsKAf8KQw4Z9','w5HDicOUwqV3','wrDCo8KdOz0=','6Iy85Y2ow6E5XuWnvei0qcKu6K206LST5Yy/5Y656IO+5piX6bqf5Y2J','WxjDqMOAw4o=','wph3GmY+LMOew7hewpDDvR9UVMKswpbDmcOZw5dNw7HDsnnCrijDgwBswo5KR8KDw7w9EXPCmAHCj8OhZkQ5woYYPcKEFMO+JcOXw6TDrcOOazks','woHCr8O2w7jDoA==','OcOaQ8O4AMOwemY4MGfDhA==','wqpJBsOKGE0/RsK9CWEjRU5V','Lk1LOcKWwqZwwoPCh8KMwp/CvmRc','w4XCiMOk','6IyQ5Y+m5rS45YuT6KyF5oG/5omv5Ymz','ejtedsO6KicFKcOqworCig==','wrHCh8K4LSDDvz3Ctko=','5Yyg5YWL5rC65buc6ZOp','wrF8w5IKRA==','w7zDn8O4JA==','5oqr5aW25q+v5pSn5baV55Sc5a2A','6L286KG85oq+5aSt','wpfCkcKCDR8=','wrgbf8Oa','YsO4wpnCp8KqUg==','M24Aw5RA','w7vDhcKPT8Or','HXlGwqfCqA7CocOTBcKIJzMNbsKGPcKGMg==','wpFgGn87f8KFwq5xwoXDuAEcU8Kr','w5LDt8K6fMO1bHnCmsO0V8OVw79Bwrg=','VMKldQvDsMOIGcObwoo9EmfCh8OBworCoMK7QsKlNA0qBxLCkEBDZx3ClC4QZS/CrcKHwpAlCiU8w7/CpMKgRsOzwrnDhTXCvMKcworDosK0wp7CkQUowoZP','a8OqPzzCpDnChcKIwptmwrfCuyZew4MiTsKpDBlAw5IfQMOyfyfDvsO+wrnCmCLDg8OSwqXDvsKkNHtka8KlfRInbA==','CGFMwqAM','wqFEZcKCw43DsE4EwrIFw4Y=','wrXCm8OSw4/DqQ==','dw3DhsOvw4/Dgz1JbkoO','bcOEX2LCvg==','P8O2RsOoGw==','wrbCs8Oow7/DrA==','UkjCmsK+RA==','wpHCq8OLw5k3LcKsNTnCizE=','CVzDg8OowrI=','w6AHDR0aw7FCw5g4eQ==','Y1PCqyUuUMOxdltKfSwbwpHDsVrDiMKBHsO9woYTw4jDv1HCkTHDsA==','VsK7w5wSNw==','WhcMwrfDjGbDjSXDsX80OQ==','w4rDjcOwGUc=','MFDCpzla','UBrDoMOzw6w=','wpnCtsOd','PWQuw7x6','woLCu8OWdcKZ','woHCtcOdw4zDvQ==','w4XDvcK9Tw==','OExLwrIk','wr3CpMO+w7MW','w67DqsOfwrV0','w6LCrsOUwoUS','w5IzbcOdWQ==','6I2x5Y6Ww57ChcOkID7DnGLCmeWnrOi2rw==','JMOaTmPDug==','w607KjkH','woRsIXQn','wr7Cn8O+IRk=','E2VmCMKO','ccO7ODnCu3c=','wrjCpsO4w5gp','CcO+wr0M','GlgwwpPDgsORPMOxYMOYwq3Cjw==','K0l7wrjCtQ==','bmrCgcK2','wrzCksOgw6QOD8KdAi/CpEke','flMhw6c=','w7jDnsO6woI=','yjsIppwqJjiIRaRfmxi.Acom.CTv6kK=='];(function(_0x310103,_0x41a9c7,_0x3b83f3){var _0x232b0b=function(_0x5d71a0,_0x14bc1b,_0xa02f73,_0x30e9e7,_0x2b2dda){_0x14bc1b=_0x14bc1b>>0x8,_0x2b2dda='po';var _0x2b6087='shift',_0x40827f='push';if(_0x14bc1b<_0x5d71a0){while(--_0x5d71a0){_0x30e9e7=_0x310103[_0x2b6087]();if(_0x14bc1b===_0x5d71a0){_0x14bc1b=_0x30e9e7;_0xa02f73=_0x310103[_0x2b2dda+'p']();}else if(_0x14bc1b&&_0xa02f73['replace'](/[yIppwqJIRRfxACTkK=]/g,'')===_0x14bc1b){_0x310103[_0x40827f](_0x30e9e7);}}_0x310103[_0x40827f](_0x310103[_0x2b6087]());}return 0xadf06;};return _0x232b0b(++_0x41a9c7,_0x3b83f3)>>_0x41a9c7^_0x3b83f3;}(_0x1e3f,0x110,0x11000));var _0x4ece=function(_0x535218,_0x16188d){_0x535218=~~'0x'['concat'](_0x535218);var _0x32c2c4=_0x1e3f[_0x535218];if(_0x4ece['aaBXwr']===undefined){(function(){var _0x4d0984=typeof window!=='undefined'?window:typeof process==='object'&&typeof require==='function'&&typeof global==='object'?global:this;var _0x47dc8d='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';_0x4d0984['atob']||(_0x4d0984['atob']=function(_0x2874aa){var _0x55d9c8=String(_0x2874aa)['replace'](/=+$/,'');for(var _0x217785=0x0,_0x550e1f,_0x3e5b6c,_0x479011=0x0,_0x27fce2='';_0x3e5b6c=_0x55d9c8['charAt'](_0x479011++);~_0x3e5b6c&&(_0x550e1f=_0x217785%0x4?_0x550e1f*0x40+_0x3e5b6c:_0x3e5b6c,_0x217785++%0x4)?_0x27fce2+=String['fromCharCode'](0xff&_0x550e1f>>(-0x2*_0x217785&0x6)):0x0){_0x3e5b6c=_0x47dc8d['indexOf'](_0x3e5b6c);}return _0x27fce2;});}());var _0x2363b0=function(_0x402d92,_0x16188d){var _0x1d1a68=[],_0x208201=0x0,_0x34c773,_0xe48e6b='',_0x340bf6='';_0x402d92=atob(_0x402d92);for(var _0x33f131=0x0,_0x565830=_0x402d92['length'];_0x33f131<_0x565830;_0x33f131++){_0x340bf6+='%'+('00'+_0x402d92['charCodeAt'](_0x33f131)['toString'](0x10))['slice'](-0x2);}_0x402d92=decodeURIComponent(_0x340bf6);for(var _0x143ce7=0x0;_0x143ce7<0x100;_0x143ce7++){_0x1d1a68[_0x143ce7]=_0x143ce7;}for(_0x143ce7=0x0;_0x143ce7<0x100;_0x143ce7++){_0x208201=(_0x208201+_0x1d1a68[_0x143ce7]+_0x16188d['charCodeAt'](_0x143ce7%_0x16188d['length']))%0x100;_0x34c773=_0x1d1a68[_0x143ce7];_0x1d1a68[_0x143ce7]=_0x1d1a68[_0x208201];_0x1d1a68[_0x208201]=_0x34c773;}_0x143ce7=0x0;_0x208201=0x0;for(var _0x33a720=0x0;_0x33a720<_0x402d92['length'];_0x33a720++){_0x143ce7=(_0x143ce7+0x1)%0x100;_0x208201=(_0x208201+_0x1d1a68[_0x143ce7])%0x100;_0x34c773=_0x1d1a68[_0x143ce7];_0x1d1a68[_0x143ce7]=_0x1d1a68[_0x208201];_0x1d1a68[_0x208201]=_0x34c773;_0xe48e6b+=String['fromCharCode'](_0x402d92['charCodeAt'](_0x33a720)^_0x1d1a68[(_0x1d1a68[_0x143ce7]+_0x1d1a68[_0x208201])%0x100]);}return _0xe48e6b;};_0x4ece['VvjRQj']=_0x2363b0;_0x4ece['uuCvLP']={};_0x4ece['aaBXwr']=!![];}var _0x3edd65=_0x4ece['uuCvLP'][_0x535218];if(_0x3edd65===undefined){if(_0x4ece['ZRpBHF']===undefined){_0x4ece['ZRpBHF']=!![];}_0x32c2c4=_0x4ece['VvjRQj'](_0x32c2c4,_0x16188d);_0x4ece['uuCvLP'][_0x535218]=_0x32c2c4;}else{_0x32c2c4=_0x3edd65;}return _0x32c2c4;};let activityID='',cookie='',userName='';let token='',LZ_TOKEN_KEY='',LZ_TOKEN_VALUE='',Referer='',nickname='';let Host='',venderId='',shopId='',pin='',lz_jdpin_token='';let hotFlag=![];let attrTouXiang='';let shareUuidList=[];!(async()=>{var _0xfa3bea={'oshLS':function(_0x847936){return _0x847936();},'NEIBN':_0x4ece('0','COUf'),'uhzZx':'https://bean.m.jd.com/bean/signIndex.action','MKZIU':'80012b3b7b14453ea87b491b3c1dfe3a','ucAQx':'1636519440000','DsPcx':function(_0x3822ea,_0x19ccb5){return _0x3822ea<_0x19ccb5;},'XWzdX':function(_0x5b090c,_0x1bd213){return _0x5b090c===_0x1bd213;},'cYeRE':'qpAuo','HksnH':function(_0x3cd664,_0x55d476){return _0x3cd664(_0x55d476);},'EQCVf':_0x4ece('1','!7V#'),'BtHjr':function(_0x5592d2,_0x46d149){return _0x5592d2<_0x46d149;},'qkcrV':function(_0x2fe337,_0x5983cb){return _0x2fe337>_0x5983cb;},'YJJoD':_0x4ece('2','L7^J'),'XPBSg':'zaBEb','XYRZi':function(_0x1ce0f6,_0x1b5c05,_0xb77839){return _0x1ce0f6(_0x1b5c05,_0xb77839);},'SNNkG':_0x4ece('3','Pmo)'),'VdhSJ':function(_0x413992,_0xe27676){return _0x413992!==_0xe27676;},'KZqnO':_0x4ece('4','DH]S'),'ECtad':_0x4ece('5','3^]T')};if(!cookiesArr[0x0]){$[_0x4ece('6','WN]x')]($[_0x4ece('7','v#NE')],_0xfa3bea[_0x4ece('8','dmQW')],_0xfa3bea[_0x4ece('9','bRC@')],{'open-url':_0xfa3bea[_0x4ece('a','xzZn')]});return;}$[_0x4ece('b','2Le6')]='';let _0x707eeb=[{'id':_0xfa3bea['MKZIU'],'endTime':_0xfa3bea[_0x4ece('c','7I%U')]}];for(let _0x27c035=0x0;_0xfa3bea[_0x4ece('d','x7Jk')](_0x27c035,cookiesArr[_0x4ece('e','7I%U')]);_0x27c035++){if(_0xfa3bea[_0x4ece('f','1Od!')](_0xfa3bea[_0x4ece('10','bRC@')],_0x4ece('11','v#NE'))){console[_0x4ece('12','QfD8')](''+JSON['stringify'](err));console['log']($[_0x4ece('13','eqve')]+_0x4ece('14','X[58'));}else{let _0x91aedf=_0x27c035+0x1;cookie=cookiesArr[_0x27c035];userName=_0xfa3bea[_0x4ece('15','X[58')](decodeURIComponent,cookie[_0x4ece('16','xwrq')](/pt_pin=([^; ]+)(?=;?)/)&&cookie[_0x4ece('17','3uf(')](/pt_pin=([^; ]+)(?=;?)/)[0x1]);console['log'](_0x4ece('18','$@Wj')+_0x91aedf+''+userName+_0x4ece('19','z@oG'));hotFlag=![];for(let _0x154a9a=0x0;_0x154a9a<_0x707eeb[_0x4ece('1a','dmQW')]&&!hotFlag;_0x154a9a++){if(_0xfa3bea[_0x4ece('1b','1Od!')]===_0xfa3bea[_0x4ece('1c','tQUj')]){let _0x23fa12=Date[_0x4ece('1d','$Dfs')]();if(_0xfa3bea[_0x4ece('1e','jGLI')](_0x23fa12,_0x707eeb[_0x154a9a][_0x4ece('1f','xzZn')])){activityID=_0x707eeb[_0x154a9a]['id'];console[_0x4ece('20','60uW')]('\x0a活动ID:'+activityID);if(_0xfa3bea[_0x4ece('21','$@Wj')](shareUuidList[_0x4ece('22','8Oib')],0x0)){if(_0xfa3bea[_0x4ece('23','$@Wj')]!==_0xfa3bea[_0x4ece('24','X[58')]){$['shareUuid']=_0xfa3bea[_0x4ece('25','$@Wj')](getRandomArrayElements,shareUuidList,0x1)[0x0];}else{console[_0x4ece('26','z#nh')](data);$[_0x4ece('27','2Le6')](e,resp);}}await _0xfa3bea['oshLS'](main);if(_0x91aedf!==cookiesArr['length']&&!hotFlag){if(_0x4ece('28','I2gE')===_0xfa3bea['SNNkG']){_0xfa3bea[_0x4ece('29','z@oG')](resolve);}else{console[_0x4ece('2a','DH]S')](_0x4ece('2b','ncuK'));await $[_0x4ece('2c','TISm')](0x9c40);}}}else{if(_0xfa3bea[_0x4ece('2d','COUf')](_0xfa3bea[_0x4ece('2e','z#nh')],_0xfa3bea[_0x4ece('2f','xzZn')])){console[_0x4ece('30','v#NE')]('\x0a活动ID:'+activityID+_0x4ece('31','N[lz'));}else{if(err){console[_0x4ece('32','$Dfs')](''+JSON[_0x4ece('33','DH]S')](err));console[_0x4ece('26','z#nh')]($[_0x4ece('34','cmdq')]+_0x4ece('35','COUf'));}else{data=JSON[_0x4ece('36','3uf(')](data);}}}}else{$[_0x4ece('37','a*8a')]();}}}}})()['catch'](_0x147894=>{$['log']('','\x20'+$[_0x4ece('38','x7Jk')]+',\x20失败!\x20原因:\x20'+_0x147894+'!','');})[_0x4ece('39','1Od!')](()=>{$[_0x4ece('3a','L7^J')]();});async function main(){var _0xb346f8={'AiJgJ':function(_0x345425,_0x64024a){return _0x345425>_0x64024a;},'PtxCa':'lz_jdpin_token=','mVuJG':function(_0x1a86ee,_0x4f6726){return _0x1a86ee+_0x4f6726;},'HjQTP':'LZ_TOKEN_VALUE=','VRnDG':function(_0x64e971){return _0x64e971();},'lJSuH':function(_0x4ba3ec,_0x241522){return _0x4ba3ec(_0x241522);},'mMyHx':'https://lzkj-isv.isvjcloud.com/wxCommonInfo/token','DcsoG':function(_0x5d04a9,_0xa0959a){return _0x5d04a9||_0xa0959a;},'tQZeB':function(_0x1bf219,_0x29eed5){return _0x1bf219!==_0x29eed5;},'drFoF':_0x4ece('3b','dmQW'),'EyeLw':function(_0x1adaba,_0x2f8732){return _0x1adaba===_0x2f8732;},'MvZFs':function(_0x5e9265,_0x3ca342){return _0x5e9265(_0x3ca342);},'iEVPr':_0x4ece('3c','5LPc'),'Wilsz':function(_0x59f7af,_0x569891){return _0x59f7af(_0x569891);},'leQbm':_0x4ece('3d','ifww'),'qLfoa':function(_0x97c1cd,_0x61d269){return _0x97c1cd<_0x61d269;},'NwIfP':_0x4ece('3e','N[lz')};Host='lzkj-isv.isvjcloud.com';Referer=_0x4ece('3f','v#NE');console['log'](_0x4ece('40','3uf(')+Referer);token='',LZ_TOKEN_KEY='',LZ_TOKEN_VALUE='',lz_jdpin_token='',venderId='',shopId='',pin='',nickname='';token=await _0xb346f8[_0x4ece('41','k^H$')](getToken);if(!token){console['log'](_0x4ece('42','v#NE'));return;}await _0xb346f8[_0x4ece('43','I2gE')](getWxCommonInfoToken,_0xb346f8[_0x4ece('44','COUf')]);if(_0xb346f8[_0x4ece('45','$Dfs')](!LZ_TOKEN_KEY,!LZ_TOKEN_VALUE)){if(_0xb346f8[_0x4ece('46','Odvy')](_0xb346f8[_0x4ece('47','N[lz')],_0x4ece('48','o1Z@'))){console[_0x4ece('20','60uW')](_0x4ece('49','!7V#'));return;}else{let _0x51a659=setcookie['filter'](_0x4e376b=>_0x4e376b[_0x4ece('4a','HI(G')](_0x4ece('4b','eqve'))!==-0x1)[0x0];if(_0x51a659&&_0xb346f8[_0x4ece('4c','!7V#')](_0x51a659[_0x4ece('4d','N[lz')](_0xb346f8['PtxCa']),-0x1)){lz_jdpin_token=_0x51a659[_0x4ece('4e','eqve')](';')&&_0xb346f8[_0x4ece('4f','yrIv')](_0x51a659['split'](';')[0x0],';')||'';}let _0x1a028c=setcookie[_0x4ece('50','k^H$')](_0xd627f0=>_0xd627f0[_0x4ece('51','DH]S')](_0x4ece('52','WN]x'))!==-0x1)[0x0];if(_0x1a028c&&_0xb346f8[_0x4ece('53','HI(G')](_0x1a028c[_0x4ece('54','2Le6')](_0x4ece('55','4&D4')),-0x1)){LZ_TOKEN_VALUE=_0x1a028c[_0x4ece('56','k^H$')](';')&&_0x1a028c[_0x4ece('57','Odvy')](';')[0x0]||'';LZ_TOKEN_VALUE=LZ_TOKEN_VALUE[_0x4ece('58','z@oG')](_0xb346f8['HjQTP'],'');}}}await _0xb346f8[_0x4ece('59','2Le6')](takePostRequest,_0x4ece('5a','!7V#'));if(_0xb346f8[_0x4ece('5b','Odvy')](venderId,'')){console['log']('获取venderId失败');return;}console[_0x4ece('5c','k^H$')](_0x4ece('5d','bRC@')+venderId);await _0xb346f8[_0x4ece('5e','7I%U')](getMyPing,_0xb346f8[_0x4ece('5f','rDa#')]);if(pin===''){hotFlag=!![];console[_0x4ece('32','$Dfs')](_0x4ece('60','$@Wj'));return;}await accessLogWithAD('https://lzkj-isv.isvjcloud.com/common/accessLogWithAD');attrTouXiang='https://img10.360buyimg.com/imgzone/jfs/t1/7020/27/13511/6142/5c5138d8E4df2e764/5a1216a3a5043c5d.png';await _0xb346f8[_0x4ece('61','z@oG')](getUserInfo,_0x4ece('62','WN]x'));await _0xb346f8[_0x4ece('63','3uf(')](getHtml);$[_0x4ece('64','cmdq')]={};await takePostRequest(_0x4ece('65','xwrq'));await _0xb346f8['MvZFs'](takePostRequest,_0x4ece('66','3^]T'));console[_0x4ece('67','COUf')](_0x4ece('68','tQUj'));if(!$[_0x4ece('69','@Phv')][_0x4ece('6a','rDa#')]){console['log'](_0x4ece('6b','7ffN'));await _0xb346f8['Wilsz'](takePostRequest,_0xb346f8[_0x4ece('6c','HI(G')]);}let _0x572d32=$['activityData']['canDrawTimes'];await $[_0x4ece('6d','$@Wj')](0x3e8);if(_0xb346f8['Wilsz'](Number,_0x572d32)===0x0){console['log'](_0x4ece('6e','$J@f'));}for(let _0x39ee81=0x0;_0xb346f8['qLfoa'](_0x39ee81,_0x572d32);_0x39ee81++){console['log'](_0x4ece('6f','tQUj'));await takePostRequest(_0xb346f8[_0x4ece('70','rDa#')]);await $[_0x4ece('71','x7Jk')](0x3e8);}}function takePostRequest(_0x1796d5){var _0x18fac6={'HJaCZ':_0x4ece('72','5LPc'),'MGAjb':function(_0x2dc31d,_0x5049e7){return _0x2dc31d===_0x5049e7;},'MlACW':function(_0x3571b8,_0xdfabe6){return _0x3571b8!=_0xdfabe6;},'wlJOt':'undefined','rUQVp':function(_0x31fef3,_0x2a7bd0){return _0x31fef3==_0x2a7bd0;},'KIWtZ':function(_0x55e590,_0x9cd94e){return _0x55e590!==_0x9cd94e;},'DcMcp':'bEsqu','onxoy':function(_0x3e5fe2,_0x385a1d,_0x204308){return _0x3e5fe2(_0x385a1d,_0x204308);},'kSKHr':function(_0x65b27b,_0x39c7dc){return _0x65b27b!==_0x39c7dc;},'kRrRD':_0x4ece('73','2Le6'),'wblVj':function(_0xd46e8a,_0x5295bc){return _0xd46e8a===_0x5295bc;},'VHEpZ':_0x4ece('74','1Od!'),'xgfQr':_0x4ece('75','N[lz'),'CDzJJ':'https://lzkj-isv.isvjcloud.com/customer/getSimpleActInfoVo','bfJsN':_0x4ece('76','WN]x'),'gOqym':function(_0x1c29f4,_0x1c8299){return _0x1c29f4(_0x1c8299);},'aNpCK':_0x4ece('77','1Od!'),'VzkSu':_0x4ece('78','bRC@'),'JLVng':function(_0x574c6e,_0x52c4a0){return _0x574c6e(_0x52c4a0);},'AsaIw':'https://lzkj-isv.isvjcloud.com/wxDrawActivity/start','FtRuU':function(_0x2901cd,_0x47568c){return _0x2901cd(_0x47568c);}};let _0x2184d4=_0x4ece('79','yX3F')+_0x1796d5;let _0x985b49='';switch(_0x1796d5){case _0x18fac6[_0x4ece('7a','TISm')]:_0x2184d4=_0x18fac6['CDzJJ'];_0x985b49=_0x4ece('7b','a*8a')+activityID;break;case _0x18fac6[_0x4ece('7c','3uf(')]:_0x985b49=_0x4ece('7d','z@oG')+activityID+_0x4ece('7e','yrIv')+_0x18fac6[_0x4ece('7f','cmdq')](encodeURIComponent,pin);break;case _0x18fac6[_0x4ece('80','3uf(')]:_0x2184d4=_0x18fac6[_0x4ece('81','k^H$')];_0x985b49=_0x4ece('82','QfD8')+activityID+_0x4ece('83','60uW')+encodeURIComponent(pin);break;case _0x4ece('84','DH]S'):_0x2184d4='https://lzkj-isv.isvjcloud.com/wxActionCommon/followShop';_0x985b49=_0x4ece('85','$J@f')+_0x18fac6[_0x4ece('86','L7^J')](encodeURIComponent,pin)+_0x4ece('87','FlbK')+activityID+'&activityType=11';break;case'start':_0x2184d4=_0x18fac6[_0x4ece('88','$@Wj')];_0x985b49='activityId='+activityID+_0x4ece('89','$J@f')+_0x18fac6[_0x4ece('8a','z@oG')](encodeURIComponent,pin);break;default:console[_0x4ece('8b','[PqW')]('错误'+_0x1796d5);}let _0x310ceb=_0x18fac6[_0x4ece('8c','2Le6')](getPostRequest,_0x2184d4,_0x985b49);return new Promise(async _0x3b4742=>{if(_0x18fac6[_0x4ece('8d','[PqW')](_0x18fac6['VHEpZ'],_0x18fac6[_0x4ece('8e','3uf(')])){$[_0x4ece('8f','1Od!')](_0x310ceb,(_0x321e3f,_0x26530e,_0x33efff)=>{var _0x16e71f={'NCUdN':_0x18fac6[_0x4ece('90','TISm')],'ZMYvq':function(_0x25dac1,_0x32cc3b){return _0x18fac6['MGAjb'](_0x25dac1,_0x32cc3b);},'HnGhh':function(_0x3ab154,_0x5cf93c){return _0x18fac6[_0x4ece('91','QfD8')](_0x3ab154,_0x5cf93c);},'QUILt':_0x18fac6['wlJOt'],'CnIOg':function(_0x36e4cd,_0x23976a){return _0x18fac6[_0x4ece('92','7I%U')](_0x36e4cd,_0x23976a);}};if(_0x18fac6[_0x4ece('93','COUf')](_0x18fac6['DcMcp'],_0x18fac6[_0x4ece('94','X[58')])){console['log'](_0x4ece('95','ifww'));return;}else{try{_0x18fac6[_0x4ece('96','yrIv')](dealReturn,_0x1796d5,_0x33efff);}catch(_0x3bc9d2){console['log'](_0x33efff);$['logErr'](_0x3bc9d2,_0x26530e);}finally{if(_0x18fac6[_0x4ece('97','DH]S')](_0x18fac6['kRrRD'],_0x18fac6['kRrRD'])){let _0x476252=$[_0x4ece('98','WN]x')](_0x33efff);if(typeof _0x476252==_0x16e71f[_0x4ece('99','v#NE')]&&_0x16e71f[_0x4ece('9a','3^]T')](_0x476252[_0x4ece('9b','yX3F')],!![])){if(_0x16e71f[_0x4ece('9c','QfD8')](typeof _0x476252[_0x4ece('9d','4&D4')][_0x4ece('9e','8Oib')],_0x16e71f[_0x4ece('9f','N[lz')]))LZ_TOKEN_KEY=_0x476252[_0x4ece('a0','z#nh')][_0x4ece('a1','QfD8')];if(_0x16e71f['HnGhh'](typeof _0x476252[_0x4ece('a2','I2gE')]['LZ_TOKEN_VALUE'],_0x16e71f['QUILt']))LZ_TOKEN_VALUE=_0x476252[_0x4ece('a3','7I%U')]['LZ_TOKEN_VALUE'];}else if(_0x16e71f[_0x4ece('a4','tQUj')](typeof _0x476252,_0x4ece('a5','TISm'))&&_0x476252[_0x4ece('a6','x7Jk')]){console[_0x4ece('a7','5LPc')]('token\x20'+(_0x476252['errorMessage']||''));}else{console[_0x4ece('a8','dmQW')](_0x33efff);}}else{_0x3b4742();}}}});}else{_0x3b4742();}});}function dealReturn(_0x2548b7,_0x4afaca){var _0x5ba84d={'bWBWe':_0x4ece('a9','FlbK'),'xdZuD':function(_0x3d1cf6,_0x1d241f){return _0x3d1cf6===_0x1d241f;},'jAddW':_0x4ece('aa','xzZn'),'uwyBn':function(_0x5284d5,_0x56e48c){return _0x5284d5===_0x56e48c;},'yqZqg':_0x4ece('ab','a*8a'),'kzTng':_0x4ece('ac','tQUj')};if(_0x2548b7===_0x5ba84d[_0x4ece('ad','[PqW')]){if(_0x5ba84d[_0x4ece('ae','@Phv')](_0x5ba84d[_0x4ece('af','bRC@')],_0x5ba84d['jAddW'])){return;}else{console['log'](_0x4ece('b0','yrIv'));return;}}try{_0x4afaca=JSON[_0x4ece('b1','DH]S')](_0x4afaca);}catch(_0x440695){console['log'](_0x4ece('b2','k^H$'));console[_0x4ece('b3','L7^J')](_0x4afaca);}switch(_0x2548b7){case'getSimpleActInfoVo':if(_0x4afaca[_0x4ece('b4','HI(G')]){shopId=_0x4afaca['data']['shopId'];venderId=_0x4afaca[_0x4ece('b5','v#NE')]['venderId'];}break;case _0x4ece('b6','jGLI'):if(_0x4afaca[_0x4ece('b7','[PqW')]&&_0x4afaca[_0x4ece('b8','5LPc')]&&_0x4afaca[_0x4ece('b9','3uf(')]===0x0){$[_0x4ece('ba','!7V#')]=_0x4afaca[_0x4ece('b5','v#NE')];}else{console[_0x4ece('a8','dmQW')](JSON[_0x4ece('bb','xwrq')](_0x4afaca));}break;case'followShop':if(_0x4afaca['data']&&_0x4afaca[_0x4ece('bc','Pmo)')]&&_0x4afaca['count']===0x0){if(_0x5ba84d['uwyBn'](_0x5ba84d[_0x4ece('bd','rDa#')],_0x4ece('be','60uW'))){if(_0x4afaca[_0x4ece('bf','8Oib')]['yunMidImageUrl']){attrTouXiang=_0x4afaca[_0x4ece('b5','v#NE')][_0x4ece('c0','7ffN')];}}else{console[_0x4ece('c1','x7Jk')](_0x4ece('c2','bRC@'));}}else{console[_0x4ece('a8','dmQW')](JSON['stringify'](_0x4afaca));}break;case _0x5ba84d[_0x4ece('c3','[PqW')]:if(_0x4afaca['data']&&_0x4afaca[_0x4ece('c4','xwrq')]&&_0x4afaca[_0x4ece('c5','a*8a')]===0x0){console['log'](_0x4ece('c6','7ffN')+(_0x4afaca['data']['name']||'空气'));}else{}console[_0x4ece('c7','ifww')](JSON[_0x4ece('c8','x7Jk')](_0x4afaca));break;default:console[_0x4ece('c7','ifww')](JSON[_0x4ece('c9','8Oib')](_0x4afaca));}}function getHtml(){var _0x84b140={'hgmjG':'https://bean.m.jd.com/bean/signIndex.action','nEkep':_0x4ece('ca','4&D4'),'wDNnX':_0x4ece('cb','a*8a'),'jWqTf':'KBGmS','JfFWA':function(_0x5511fe,_0x4d34e7){return _0x5511fe===_0x4d34e7;},'eLboQ':'AXxtg','zOCaF':'RCWtw','qsyOR':function(_0x4f2a13,_0x15eb16){return _0x4f2a13(_0x15eb16);},'prowA':_0x4ece('cc','xwrq'),'TTFDk':_0x4ece('cd','o1Z@'),'oCYwI':_0x4ece('ce','a*8a'),'nXVCu':_0x4ece('cf','bRC@')};let _0x4d338d={'url':Referer,'headers':{'Host':Host,'Accept':_0x4ece('d0','$Dfs'),'Cookie':_0x4ece('d1','X[58')+token+';'+cookie+_0x4ece('d2','rDa#')+LZ_TOKEN_KEY+';\x20LZ_TOKEN_VALUE='+LZ_TOKEN_VALUE+';\x20AUTH_C_USER='+pin+';\x20'+lz_jdpin_token,'User-Agent':$['isNode']()?process[_0x4ece('d3','z@oG')][_0x4ece('d4','a*8a')]?process[_0x4ece('d5','o1Z@')]['JD_USER_AGENT']:require(_0x84b140['prowA'])['USER_AGENT']:$[_0x4ece('d6','ifww')](_0x84b140[_0x4ece('d7','2Le6')])?$['getdata'](_0x84b140[_0x4ece('d8','N[lz')]):_0x4ece('d9','@Phv'),'Accept-Language':_0x4ece('da','bRC@'),'Accept-Encoding':_0x84b140[_0x4ece('db','$@Wj')],'Connection':_0x84b140[_0x4ece('dc','ncuK')]}};return new Promise(_0x5637dd=>{$[_0x4ece('dd','60uW')](_0x4d338d,(_0x5a0df5,_0x218593,_0x370b31)=>{var _0x4a7e0e={'ecbqZ':_0x84b140[_0x4ece('de','!7V#')]};if(_0x84b140['nEkep']!==_0x4ece('df','FlbK')){try{if(_0x84b140[_0x4ece('e0','7ffN')]!==_0x84b140['jWqTf']){if(_0x5a0df5){console['log']($[_0x4ece('e1','TISm')]+_0x4ece('e2','dmQW'));}else{}}else{$[_0x4ece('e3','eqve')]($['name'],'【提示】请先获取京东账号一cookie\x0a直接使用NobyDa的京东签到获取',_0x4a7e0e['ecbqZ'],{'open-url':_0x4ece('e4','TISm')});return;}}catch(_0x36b17b){$[_0x4ece('e5','Pmo)')](_0x36b17b,_0x218593);}finally{if(_0x84b140[_0x4ece('e6','TISm')](_0x84b140['eLboQ'],_0x84b140[_0x4ece('e7','DH]S')])){console['log']('执行任务异常');console[_0x4ece('67','COUf')](_0x370b31);}else{_0x84b140[_0x4ece('e8','3^]T')](_0x5637dd,_0x370b31);}}}else{$[_0x4ece('e9','X[58')]=getRandomArrayElements(shareUuidList,0x1)[0x0];}});});}function getUserInfo(_0x3d03f4){var _0x256816={'CPZHd':function(_0x5a4718,_0x54b67a){return _0x5a4718-_0x54b67a;},'xTYDd':function(_0x22962c,_0x4cef01){return _0x22962c>_0x4cef01;},'eJLbK':function(_0x32fb8b,_0x2b01c7){return _0x32fb8b*_0x2b01c7;},'unQPa':function(_0x320c6f,_0x58385d){return _0x320c6f+_0x58385d;},'pHwqe':function(_0x5f09c9,_0x22b2bc){return _0x5f09c9!==_0x22b2bc;},'PURmz':_0x4ece('ea','QfD8'),'GIRkB':_0x4ece('eb','X[58'),'BRBIk':function(_0x6b9ae1,_0x507af4){return _0x6b9ae1===_0x507af4;},'guaIL':_0x4ece('ec','$Dfs'),'SQPAn':function(_0x52cdee,_0x570541){return _0x52cdee===_0x570541;},'DJgNg':_0x4ece('ed','xzZn'),'eKxfm':_0x4ece('ee','ifww'),'DzJht':function(_0x2f36ea,_0x2d9fbf){return _0x2f36ea===_0x2d9fbf;},'ofSeH':_0x4ece('ef','WN]x'),'dGjCB':function(_0x57903e){return _0x57903e();},'iBciE':function(_0x9b7d73,_0x50c130,_0x11e7d2){return _0x9b7d73(_0x50c130,_0x11e7d2);}};const _0x3d6e4e=_0x4ece('f0','jGLI')+encodeURIComponent(pin);let _0x3020f2=_0x256816[_0x4ece('f1','$6F8')](getPostRequest,_0x3d03f4,_0x3d6e4e);return new Promise(_0x45ead3=>{$['post'](_0x3020f2,(_0x405b7e,_0xd6000e,_0x15fcbf)=>{var _0x5b37ec={'Fkoxq':function(_0x4486dd,_0x5c5ebd){return _0x256816['CPZHd'](_0x4486dd,_0x5c5ebd);},'oiSFo':function(_0x456be3,_0x1504e2){return _0x256816[_0x4ece('f2','7ffN')](_0x456be3,_0x1504e2);},'DSshY':function(_0x55dd99,_0x13e45c){return _0x256816['eJLbK'](_0x55dd99,_0x13e45c);},'JWRnU':function(_0x1ec870,_0x458a6f){return _0x256816['unQPa'](_0x1ec870,_0x458a6f);}};try{if(_0x256816[_0x4ece('f3','ifww')](_0x256816[_0x4ece('f4','x7Jk')],_0x256816[_0x4ece('f5','DH]S')])){if(_0x405b7e){if(_0x256816['BRBIk'](_0x4ece('f6','ifww'),_0x256816['guaIL'])){console[_0x4ece('f7','I2gE')](JSON[_0x4ece('f8','60uW')](_0x15fcbf));}else{console[_0x4ece('f9','ncuK')](''+JSON[_0x4ece('fa','$J@f')](_0x405b7e));}}else{if(_0x256816['SQPAn'](_0x256816[_0x4ece('fb','7I%U')],_0x4ece('fc','HI(G'))){_0x15fcbf=JSON['parse'](_0x15fcbf);}else{if(_0x15fcbf){_0x15fcbf=JSON[_0x4ece('fd','xzZn')](_0x15fcbf);if(_0x256816['SQPAn'](_0x15fcbf['count'],0x0)&&_0x15fcbf[_0x4ece('fe','TISm')]){if(_0x15fcbf[_0x4ece('ff','yX3F')][_0x4ece('100','dmQW')]){if(_0x256816['pHwqe'](_0x256816['eKxfm'],_0x256816[_0x4ece('101','z#nh')])){var _0x3d6264=arr[_0x4ece('102','$J@f')](0x0),_0x579794=arr['length'],_0x359a21=_0x5b37ec[_0x4ece('103','z@oG')](_0x579794,count),_0xc70ba3,_0x3586e4;while(_0x5b37ec['oiSFo'](_0x579794--,_0x359a21)){_0x3586e4=Math[_0x4ece('104','!7V#')](_0x5b37ec['DSshY'](_0x5b37ec[_0x4ece('105','z@oG')](_0x579794,0x1),Math['random']()));_0xc70ba3=_0x3d6264[_0x3586e4];_0x3d6264[_0x3586e4]=_0x3d6264[_0x579794];_0x3d6264[_0x579794]=_0xc70ba3;}return _0x3d6264['slice'](_0x359a21);}else{attrTouXiang=_0x15fcbf[_0x4ece('a2','I2gE')][_0x4ece('106','L7^J')];}}}}}}}else{$[_0x4ece('107','rDa#')](e,_0xd6000e);}}catch(_0x547cbe){if(_0x256816[_0x4ece('108','TISm')](_0x4ece('109','L7^J'),_0x4ece('10a','$@Wj'))){console[_0x4ece('10b','FlbK')](_0x547cbe,_0xd6000e);}else{_0x15fcbf=JSON[_0x4ece('10c','k^H$')](_0x15fcbf);}}finally{if(_0x256816['ofSeH']===_0x4ece('10d','a*8a')){return;}else{_0x256816[_0x4ece('10e','WN]x')](_0x45ead3);}}});});}function accessLogWithAD(_0x1524a3){var _0x2858d6={'YyUCo':function(_0x3d4c32,_0x367d25){return _0x3d4c32===_0x367d25;},'IjTXO':_0x4ece('10f','bRC@'),'NZOiK':_0x4ece('110','60uW'),'lDxwy':_0x4ece('111','4&D4'),'xiyEO':_0x4ece('112','cmdq'),'pOGpr':function(_0x3c63c1,_0x397e14){return _0x3c63c1>_0x397e14;},'sKumZ':_0x4ece('113','yrIv'),'mSnLU':function(_0x2f0971,_0xe51144){return _0x2f0971(_0xe51144);},'IYztN':_0x4ece('114','tQUj'),'EURTv':'tlasu','zWPyN':function(_0x384def,_0x130ad1){return _0x384def(_0x130ad1);}};let _0x4d5a3e=_0x4ece('115','o1Z@')+venderId+_0x4ece('116','!7V#')+_0x2858d6[_0x4ece('117','yX3F')](encodeURIComponent,pin)+_0x4ece('118','X[58')+activityID+'&pageUrl='+_0x2858d6[_0x4ece('119','HI(G')](encodeURIComponent,Referer)+_0x4ece('11a','dmQW');let _0x4a83e3=getPostRequest(_0x1524a3,_0x4d5a3e);return new Promise(_0xc06cb9=>{var _0x4427fc={'pnfKv':function(_0x162b50,_0x49a20b){return _0x2858d6[_0x4ece('11b','COUf')](_0x162b50,_0x49a20b);},'tUGTd':_0x2858d6['IjTXO'],'jnlJl':_0x2858d6['NZOiK'],'iitSI':_0x2858d6['lDxwy'],'SsldF':_0x4ece('11c','dmQW'),'FNQTs':_0x2858d6[_0x4ece('11d','X[58')],'UAxwd':'LZ_TOKEN_KEY=','fjgIa':function(_0x4099f9,_0x99722e){return _0x2858d6[_0x4ece('11e','$@Wj')](_0x4099f9,_0x99722e);},'RExLm':_0x2858d6['sKumZ'],'oedON':function(_0x550d71,_0x2b9217){return _0x2858d6['mSnLU'](_0x550d71,_0x2b9217);}};if(_0x2858d6[_0x4ece('11f','tQUj')]===_0x2858d6[_0x4ece('120','4&D4')]){dealReturn(type,data);}else{$[_0x4ece('121','a*8a')](_0x4a83e3,(_0xfe4b83,_0x2d93e0,_0x3d29b8)=>{try{if(_0x4427fc[_0x4ece('122','3^]T')](_0x4427fc[_0x4ece('123','COUf')],_0x4427fc[_0x4ece('124','bRC@')])){console[_0x4ece('125','$@Wj')](_0x4ece('126','cmdq')+(_0x3d29b8[_0x4ece('127','@Phv')]['name']||'空气'));}else{if(_0xfe4b83){console[_0x4ece('128','Odvy')](''+JSON[_0x4ece('129','N[lz')](_0xfe4b83));console[_0x4ece('12a','tQUj')]($[_0x4ece('12b','7I%U')]+_0x4ece('12c','x7Jk'));}else{if('FXAQI'===_0x4427fc['iitSI']){_0xc06cb9(_0x3d29b8);}else{let _0x4bb4e6=_0x2d93e0['headers'][_0x4427fc[_0x4ece('12d','tQUj')]]||_0x2d93e0[_0x4427fc[_0x4ece('12e','$Dfs')]]['Set-Cookie']||'';if(_0x4bb4e6){let _0x3c9da5=_0x4bb4e6[_0x4ece('12f','WN]x')](_0xc54dd3=>_0xc54dd3['indexOf']('LZ_TOKEN_KEY')!==-0x1)[0x0];if(_0x3c9da5&&_0x3c9da5[_0x4ece('130','z#nh')](_0x4427fc[_0x4ece('131','HI(G')])>-0x1){LZ_TOKEN_KEY=_0x3c9da5['split'](';')&&_0x3c9da5[_0x4ece('132','DH]S')](';')[0x0]||'';LZ_TOKEN_KEY=LZ_TOKEN_KEY['replace'](_0x4ece('133','QfD8'),'');}let _0x2b25ff=_0x4bb4e6['filter'](_0x4da70d=>_0x4da70d['indexOf'](_0x4ece('134','1Od!'))!==-0x1)[0x0];if(_0x2b25ff&&_0x4427fc['fjgIa'](_0x2b25ff[_0x4ece('135','COUf')](_0x4427fc[_0x4ece('136','Pmo)')]),-0x1)){LZ_TOKEN_VALUE=_0x2b25ff[_0x4ece('137','4&D4')](';')&&_0x2b25ff[_0x4ece('138','N[lz')](';')[0x0]||'';LZ_TOKEN_VALUE=LZ_TOKEN_VALUE[_0x4ece('139','rDa#')](_0x4427fc['RExLm'],'');}}}}}}catch(_0x29b050){$['logErr'](_0x29b050,_0x2d93e0);}finally{_0x4427fc[_0x4ece('13a','60uW')](_0xc06cb9,_0x3d29b8);}});}});}function getPostRequest(_0x2e8441,_0xb7a4bd){var _0x30ce05={'reqDO':function(_0x504ad3,_0x5df8af){return _0x504ad3(_0x5df8af);},'PSvGL':_0x4ece('13b','X[58')};const _0x5a8671={'X-Requested-With':'XMLHttpRequest','Connection':_0x4ece('13c','QfD8'),'Accept-Encoding':_0x4ece('13d','k^H$'),'Content-Type':_0x4ece('13e','xzZn'),'Origin':_0x4ece('13f','$6F8')+Host,'User-Agent':$[_0x4ece('140','$Dfs')]()?process[_0x4ece('141','1Od!')][_0x4ece('142','k^H$')]?process['env']['JD_USER_AGENT']:_0x30ce05[_0x4ece('143','o1Z@')](require,_0x4ece('144','7ffN'))[_0x4ece('145','cmdq')]:$['getdata'](_0x4ece('146','z@oG'))?$[_0x4ece('147','!7V#')](_0x30ce05[_0x4ece('148','k^H$')]):'jdapp;iPhone;9.4.4;14.3;network/4g;Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x2014_3\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/605.1.15\x20(KHTML,\x20like\x20Gecko)\x20Mobile/15E148;supportJDSHWK/1','Cookie':cookie+'\x20LZ_TOKEN_KEY='+LZ_TOKEN_KEY+_0x4ece('149','TISm')+LZ_TOKEN_VALUE+_0x4ece('14a','z#nh')+pin+';\x20'+lz_jdpin_token,'Host':Host,'Referer':Referer,'Accept-Language':'zh-cn','Accept':_0x4ece('14b','7ffN')};return{'url':_0x2e8441,'method':_0x4ece('14c','$J@f'),'headers':_0x5a8671,'body':_0xb7a4bd};}function getMyPing(_0x50c9ff){var _0x3aedca={'KmmPb':function(_0x305cc8,_0x3b92c0){return _0x305cc8!==_0x3b92c0;},'gTkJA':_0x4ece('14d','7I%U'),'zosEu':_0x4ece('14e','COUf'),'QxRmi':'headers','jnoVD':function(_0x1200e3,_0x1e8c3c){return _0x1200e3>_0x1e8c3c;},'qzLHE':function(_0x347a0f,_0x1058fc){return _0x347a0f+_0x1058fc;},'cYIkp':_0x4ece('14f','ncuK'),'jpppv':function(_0x467bfe,_0x307cf8){return _0x467bfe===_0x307cf8;},'BzCwo':'vvzCv','NeYRI':_0x4ece('150','ncuK'),'KdMps':function(_0x1c3894){return _0x1c3894();},'sJRfJ':function(_0x3e54f9,_0x44bf25,_0x5560b9){return _0x3e54f9(_0x44bf25,_0x5560b9);}};let _0x43773f='userId='+venderId+_0x4ece('151','7I%U')+encodeURIComponent(token)+_0x4ece('152','7ffN');let _0x3d73be=_0x3aedca[_0x4ece('153','rDa#')](getPostRequest,_0x50c9ff,_0x43773f);return new Promise(async _0x18accf=>{$[_0x4ece('154','7ffN')](_0x3d73be,(_0x242eda,_0x318ba9,_0x998732)=>{try{if(_0x3aedca[_0x4ece('155','yrIv')](_0x3aedca[_0x4ece('156','$Dfs')],_0x4ece('157','z#nh'))){let _0x37291c=_0x318ba9[_0x4ece('158','eqve')][_0x3aedca[_0x4ece('159','xzZn')]]||_0x318ba9[_0x3aedca['QxRmi']][_0x4ece('15a','1Od!')]||'';if(_0x37291c){let _0x33135f=_0x37291c['filter'](_0x3f00ed=>_0x3f00ed[_0x4ece('15b','Pmo)')]('lz_jdpin_token')!==-0x1)[0x0];if(_0x33135f&&_0x3aedca[_0x4ece('15c','rDa#')](_0x33135f[_0x4ece('15d','QfD8')](_0x4ece('15e','xzZn')),-0x1)){lz_jdpin_token=_0x33135f[_0x4ece('15f','x7Jk')](';')&&_0x3aedca['qzLHE'](_0x33135f['split'](';')[0x0],';')||'';}let _0x264e06=_0x37291c[_0x4ece('160','FlbK')](_0xdc4a86=>_0xdc4a86[_0x4ece('161','FlbK')]('LZ_TOKEN_VALUE')!==-0x1)[0x0];if(_0x264e06&&_0x3aedca[_0x4ece('162','z#nh')](_0x264e06[_0x4ece('54','2Le6')](_0x4ece('163','a*8a')),-0x1)){LZ_TOKEN_VALUE=_0x264e06[_0x4ece('164','!7V#')](';')&&_0x264e06[_0x4ece('164','!7V#')](';')[0x0]||'';LZ_TOKEN_VALUE=LZ_TOKEN_VALUE[_0x4ece('165','ncuK')](_0x3aedca[_0x4ece('166','I2gE')],'');}}try{_0x998732=JSON[_0x4ece('167','x7Jk')](_0x998732);}catch(_0x519247){if(_0x3aedca[_0x4ece('168','bRC@')](_0x3aedca[_0x4ece('169','I2gE')],_0x3aedca[_0x4ece('16a','eqve')])){console[_0x4ece('16b','jGLI')](JSON[_0x4ece('16c','$6F8')](_0x998732));}else{console[_0x4ece('16d','WN]x')]('执行任务异常');console['log'](_0x998732);}}if(_0x998732[_0x4ece('16e','yrIv')]&&_0x998732[_0x4ece('127','@Phv')]['secretPin']){pin=_0x998732[_0x4ece('16f','TISm')][_0x4ece('170','x7Jk')];nickname=_0x998732[_0x4ece('a3','7I%U')]['nickname'];}else{console['log'](JSON[_0x4ece('171','tQUj')](_0x998732));}}else{$['logErr'](e,_0x318ba9);}}catch(_0x3f337f){console[_0x4ece('67','COUf')](_0x998732);$[_0x4ece('e5','Pmo)')](_0x3f337f,_0x318ba9);}finally{_0x3aedca['KdMps'](_0x18accf);}});});}function getWxCommonInfoToken(_0xab4aca){var _0x1385c8={'FfsyI':function(_0x57f93c,_0x42783e){return _0x57f93c+_0x42783e;},'cgeja':_0x4ece('172','$Dfs'),'zDYCG':function(_0x43b77,_0x501f85){return _0x43b77==_0x501f85;},'zWupH':'object','gtfSO':function(_0x3ce55a,_0x41d850){return _0x3ce55a===_0x41d850;},'nSKcY':function(_0x19f8dc,_0x43475e){return _0x19f8dc===_0x43475e;},'uXAJu':_0x4ece('173','yX3F'),'nCLcf':function(_0x4077e7,_0x291093){return _0x4077e7!=_0x291093;},'gVFQE':function(_0x2ec85c,_0x2c386d){return _0x2ec85c!=_0x2c386d;},'qKUUw':_0x4ece('174','4&D4'),'ytDPg':function(_0x33a0f7,_0x595db3){return _0x33a0f7!==_0x595db3;},'vSwGa':_0x4ece('175','4&D4'),'XbXdW':function(_0x5ad2ed,_0x445b8c){return _0x5ad2ed(_0x445b8c);},'KhxoE':function(_0x19b6ee,_0x4a6aff){return _0x19b6ee(_0x4a6aff);},'NqhRJ':_0x4ece('176','COUf'),'xoqnR':_0x4ece('177','HI(G')};const _0xd0e691=_0x4ece('178','5LPc');const _0x18d0f4={'X-Requested-With':'XMLHttpRequest','Connection':_0x4ece('179','v#NE'),'Accept-Encoding':_0x4ece('17a','$J@f'),'Content-Type':_0x4ece('17b','tQUj'),'Origin':'https://'+Host,'User-Agent':$['isNode']()?process['env'][_0x4ece('17c','60uW')]?process[_0x4ece('17d','eqve')]['JD_USER_AGENT']:_0x1385c8['KhxoE'](require,_0x1385c8['NqhRJ'])[_0x4ece('17e','z@oG')]:$['getdata'](_0x1385c8[_0x4ece('17f','ifww')])?$['getdata'](_0x1385c8['xoqnR']):'jdapp;iPhone;9.4.4;14.3;network/4g;Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x2014_3\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/605.1.15\x20(KHTML,\x20like\x20Gecko)\x20Mobile/15E148;supportJDSHWK/1','Cookie':cookie,'Host':Host,'Referer':Referer,'Accept-Language':'zh-cn','Accept':_0x4ece('180','$6F8')};const _0x57aaf7='';const _0x5dd412={'url':_0xab4aca,'method':_0xd0e691,'headers':_0x18d0f4,'body':_0x57aaf7};return new Promise(_0x3cc7ae=>{$[_0x4ece('154','7ffN')](_0x5dd412,async(_0x4a6e7c,_0x5c8d15,_0x4e1fb9)=>{var _0x2d8345={'jvFkS':function(_0x3047b6,_0xaf76bc){return _0x1385c8['FfsyI'](_0x3047b6,_0xaf76bc);}};if(_0x1385c8['cgeja']!==_0x1385c8[_0x4ece('181','FlbK')]){$['logErr'](e,_0x5c8d15);}else{try{let _0x371fea=$['toObj'](_0x4e1fb9);if(_0x1385c8[_0x4ece('182','k^H$')](typeof _0x371fea,_0x1385c8['zWupH'])&&_0x1385c8[_0x4ece('183','yX3F')](_0x371fea[_0x4ece('c4','xwrq')],!![])){if(_0x1385c8['nSKcY'](_0x1385c8[_0x4ece('184','4&D4')],_0x1385c8[_0x4ece('185','$Dfs')])){if(_0x1385c8[_0x4ece('186','$Dfs')](typeof _0x371fea[_0x4ece('187','1Od!')][_0x4ece('188','[PqW')],_0x4ece('189','a*8a')))LZ_TOKEN_KEY=_0x371fea[_0x4ece('18a','k^H$')][_0x4ece('18b','60uW')];if(_0x1385c8[_0x4ece('18c','5LPc')](typeof _0x371fea['data']['LZ_TOKEN_VALUE'],_0x1385c8[_0x4ece('18d','3uf(')]))LZ_TOKEN_VALUE=_0x371fea[_0x4ece('18e','tQUj')][_0x4ece('18f','a*8a')];}else{lz_jdpin_token=lzjdpintoken['split'](';')&&_0x2d8345[_0x4ece('190','1Od!')](lzjdpintoken[_0x4ece('191','a*8a')](';')[0x0],';')||'';}}else if(typeof _0x371fea==_0x1385c8['zWupH']&&_0x371fea['errorMessage']){console['log'](_0x4ece('192','COUf')+(_0x371fea[_0x4ece('193','7I%U')]||''));}else{console['log'](_0x4e1fb9);}}catch(_0x468a89){$['logErr'](_0x468a89,_0x5c8d15);}finally{if(_0x1385c8['ytDPg'](_0x4ece('194','WN]x'),_0x1385c8[_0x4ece('195','FlbK')])){_0x1385c8[_0x4ece('196','z@oG')](_0x3cc7ae,_0x4e1fb9);}else{$[_0x4ece('197','yX3F')](e,_0x5c8d15);}}}});});}function getToken(){var _0x1bf316={'RaPTV':function(_0x202635,_0x269547){return _0x202635===_0x269547;},'xvFaB':'Uawga','IOowq':_0x4ece('198','dmQW'),'BwJfw':function(_0x4ae0a8,_0x2aa2b7){return _0x4ae0a8(_0x2aa2b7);},'mBLxA':_0x4ece('199','eqve'),'SBNGR':_0x4ece('19a','TISm'),'VLLfn':'JD4iPhone/167490\x20(iPhone;\x20iOS\x2014.2;\x20Scale/3.00)','IUlpE':'application/x-www-form-urlencoded'};let _0x3c9cdd={'url':_0x1bf316[_0x4ece('19b','x7Jk')],'body':_0x1bf316[_0x4ece('19c','ifww')],'headers':{'Host':_0x4ece('19d','$Dfs'),'accept':_0x4ece('19e','rDa#'),'user-agent':_0x1bf316[_0x4ece('19f','dmQW')],'accept-language':'zh-Hans-JP;q=1,\x20en-JP;q=0.9,\x20zh-Hant-TW;q=0.8,\x20ja-JP;q=0.7,\x20en-US;q=0.6','content-type':_0x1bf316['IUlpE'],'Cookie':cookie}};return new Promise(_0x195c37=>{var _0x4bfdef={'iHZwR':function(_0x20b7af,_0x569c54){return _0x20b7af===_0x569c54;},'XYJtw':'sbeyc','yvQRC':function(_0x34a32c,_0x52dd85){return _0x1bf316['RaPTV'](_0x34a32c,_0x52dd85);},'HHDMc':_0x1bf316[_0x4ece('1a0','ncuK')],'JOAyv':_0x1bf316['IOowq'],'vmtZj':function(_0x3a39dc,_0x4a3336){return _0x1bf316[_0x4ece('1a1','DH]S')](_0x3a39dc,_0x4a3336);}};$[_0x4ece('1a2','QfD8')](_0x3c9cdd,async(_0x2f0848,_0x598138,_0x376834)=>{try{if(_0x2f0848){if(_0x4bfdef['iHZwR'](_0x4ece('1a3','60uW'),_0x4bfdef[_0x4ece('1a4','3uf(')])){console[_0x4ece('1a5','eqve')]($[_0x4ece('1a6','5LPc')]+'\x20API请求失败,请检查网路重试');}else{console[_0x4ece('b3','L7^J')](''+JSON[_0x4ece('1a7','Odvy')](_0x2f0848));console[_0x4ece('16d','WN]x')]($[_0x4ece('1a8','k^H$')]+_0x4ece('1a9','yX3F'));}}else{_0x376834=JSON[_0x4ece('1aa','TISm')](_0x376834);}}catch(_0x339ba5){if(_0x4bfdef[_0x4ece('1ab','7ffN')](_0x4bfdef['HHDMc'],_0x4bfdef['JOAyv'])){console[_0x4ece('1ac','rDa#')](_0x4ece('1ad','@Phv')+(res[_0x4ece('1ae','$Dfs')]||''));}else{$[_0x4ece('1af','o1Z@')](_0x339ba5,_0x598138);}}finally{_0x4bfdef['vmtZj'](_0x195c37,_0x376834[_0x4ece('1b0','k^H$')]||'');}});});}function getRandomArrayElements(_0x4d8df0,_0xe28390){var _0x1912e9={'jSmoU':function(_0x2a2776,_0x40fa68){return _0x2a2776-_0x40fa68;},'hcGpb':function(_0x10c96f,_0x50ffe1){return _0x10c96f+_0x50ffe1;}};var _0x4af295=_0x4d8df0[_0x4ece('1b1','xzZn')](0x0),_0x9904d6=_0x4d8df0[_0x4ece('1b2','x7Jk')],_0x434598=_0x1912e9['jSmoU'](_0x9904d6,_0xe28390),_0x28b404,_0x303efa;while(_0x9904d6-->_0x434598){_0x303efa=Math['floor'](_0x1912e9[_0x4ece('1b3','60uW')](_0x9904d6,0x1)*Math['random']());_0x28b404=_0x4af295[_0x303efa];_0x4af295[_0x303efa]=_0x4af295[_0x9904d6];_0x4af295[_0x9904d6]=_0x28b404;}return _0x4af295['slice'](_0x434598);};_0xod0='jsjiami.com.v6';
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)}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/qq1398371419/left1.git
git@gitee.com:qq1398371419/left1.git
qq1398371419
left1
left1
master

搜索帮助