1 Star 0 Fork 5

ITCrowed/jd_Scripts

forked from Su-yj/jd_Scripts 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
jd_mpdz_shop.js 51.14 KB
一键复制 编辑 原始数据 按行查看 历史
Lyle 提交于 2023-03-17 12:42 . up
/*
头文字J
活动快捷入口: 11:/参与头文字J,集能量兑换京豆,【Jιιngヵ栋】 ¥Z9yfjBqzLWt¥
只跑前10个CK
0 10 * * * jd_mpdz_shop.js
*/
const $ = new Env("头文字J-兑换");
const jdCookieNode = $.isNode() ? require('./jdCookie.js') : '';
const notify = $.isNode() ? require('./sendNotify') : '';
let count = 10; //兑换人数
const _0x2821d1=_0x2962;(function(_0x29c181,_0x371aaf){const _0xb06de1=_0x2962,_0x369a88=_0x29c181();while(!![]){try{const _0x1bbc05=parseInt(_0xb06de1(0x113))/0x1+-parseInt(_0xb06de1(0x10a))/0x2*(-parseInt(_0xb06de1(0xfd))/0x3)+-parseInt(_0xb06de1(0x102))/0x4+parseInt(_0xb06de1(0x108))/0x5+-parseInt(_0xb06de1(0x100))/0x6+parseInt(_0xb06de1(0x10b))/0x7+-parseInt(_0xb06de1(0x115))/0x8;if(_0x1bbc05===_0x371aaf)break;else _0x369a88['push'](_0x369a88['shift']());}catch(_0x474007){_0x369a88['push'](_0x369a88['shift']());}}}(_0x3470,0x83a5c));let cookiesArr=[],cookie='';if($[_0x2821d1(0x107)]()){Object['keys'](jdCookieNode)[_0x2821d1(0xfe)](_0x32bf3f=>{const _0x5b77f5=_0x2821d1;cookiesArr[_0x5b77f5(0x106)](jdCookieNode[_0x32bf3f]);});if(process[_0x2821d1(0x105)]['JD_DEBUG']&&process[_0x2821d1(0x105)][_0x2821d1(0x10c)]===_0x2821d1(0x110))console['log']=()=>{};}else cookiesArr=[$[_0x2821d1(0x104)](_0x2821d1(0x111)),$[_0x2821d1(0x104)](_0x2821d1(0x10d)),...jsonParse($['getdata'](_0x2821d1(0x101))||'[]')[_0x2821d1(0x112)](_0x5672fc=>_0x5672fc['cookie'])][_0x2821d1(0x10f)](_0x53ffcd=>!!_0x53ffcd);function _0x2962(_0x4c3e15,_0x221a40){const _0x347084=_0x3470();return _0x2962=function(_0x2962a7,_0x318f86){_0x2962a7=_0x2962a7-0xfd;let _0x4bb5ab=_0x347084[_0x2962a7];return _0x4bb5ab;},_0x2962(_0x4c3e15,_0x221a40);}message='',$[_0x2821d1(0x109)]=![],$[_0x2821d1(0x10e)]=![];let shareUuidArr=[_0x2821d1(0x114),'l4+ohXzosO44BHS/TtlJnl4tLNYA4seuA67MOIYQxEk3Vl9+AVo4NF+tgyeIc6A6kdK3rLBQpEQH9V4tdrrh0w==','yhoB9u+OfyPZ8/raambw1WBUh0gimxufjFRMgNwy0cYiU+N6ZQy0LI2KZrs00RAY',_0x2821d1(0xff)],n=0x0;n=Math['floor'](Math[_0x2821d1(0x103)]()*shareUuidArr['length']);function _0x3470(){const _0x114442=['1578AxJTBJ','forEach','qqN30Qb+w0y/KNTg69KZJV4tLNYA4seuA67MOIYQxEk3Vl9+AVo4NF+tgyeIc6A6kdK3rLBQpEQH9V4tdrrh0w==','1113852HocRVs','CookiesJD','2165336bsbozc','random','getdata','env','push','isNode','306425vNYUCG','hotFlag','2186HmgyNp','4857139DZOXrD','JD_DEBUG','CookieJD2','outFlag','filter','false','CookieJD','map','786245kRQUlc','94pKr7Altz4D61x7nN1KSV4tLNYA4seuA67MOIYQxEk3Vl9+AVo4NF+tgyeIc6A6kdK3rLBQpEQH9V4tdrrh0w==','6800968FHofBl'];_0x3470=function(){return _0x114442;};return _0x3470();}let shareUuid=shareUuidArr[n]||'';(async()=>{if(console["\x6c\x6f\x67"]("\u53c2\u4e0e\u5934\u6587\u5b57\x4a\uff0c\u6bcf\u5929\x31\x30\u70b9\u80fd\u91cf\u5151\u6362\u4eac\u8c46"),!cookiesArr[0]){$["\x6d\x73\x67"]($["\x6e\x61\x6d\x65"],"\u3010\u63d0\u793a\u3011\u8bf7\u5148\u83b7\u53d6\x63\x6f\x6f\x6b\x69\x65\n\u76f4\u63a5\u4f7f\u7528\x4e\x6f\x62\x79\x44\x61\u7684\u4eac\u4e1c\u7b7e\u5230\u83b7\u53d6","\x68\x74\x74\x70\x73\x3a\x2f\x2f\x62\x65\x61\x6e\x2e\x6d\x2e\x6a\x64\x2e\x63\x6f\x6d\x2f",{"\x6f\x70\x65\x6e\x2d\x75\x72\x6c":"\x68\x74\x74\x70\x73\x3a\x2f\x2f\x62\x65\x61\x6e\x2e\x6d\x2e\x6a\x64\x2e\x63\x6f\x6d\x2f"});return}$["\x75\x73\x65\x72\x49\x64"]="\x31\x30\x32\x39\x39\x31\x37\x31",$["\x61\x63\x74\x49\x64"]="\x31\x37\x36\x30\x30\x30\x37",$["\x69\x6e\x76\x69\x74\x65\x4e\x69\x63\x6b"]=shareUuid;for(let a=0;a<count&&(!(cookie=cookiesArr[a])||($["\x55\x73\x65\x72\x4e\x61\x6d\x65"]=decodeURIComponent(cookie["\x6d\x61\x74\x63\x68"](/pt_pin=([^; ]+)(?=;?)/)&&cookie["\x6d\x61\x74\x63\x68"](/pt_pin=([^; ]+)(?=;?)/)[1]),$["\x69\x6e\x64\x65\x78"]=a+1,message="",$["\x62\x65\x61\x6e"]=0,$["\x68\x6f\x74\x46\x6c\x61\x67"]=!1,$["\x6e\x69\x63\x6b\x4e\x61\x6d\x65"]=!1,$["\x6e\x69\x63\x6b\x4e\x61\x6d\x65"]="",console["\x6c\x6f\x67"](`******开始【京东账号${$["\x69\x6e\x64\x65\x78"]}${$["\x6e\x69\x63\x6b\x4e\x61\x6d\x65"]||$["\x55\x73\x65\x72\x4e\x61\x6d\x65"]}*********`),await getUA(),await run(cookie,$["\x55\x73\x65\x72\x4e\x61\x6d\x65"]),!$["\x6f\x75\x74\x46\x6c\x61\x67"]));a++);if($["\x6f\x75\x74\x46\x6c\x61\x67"]){let e="\u6b64\x69\x70\u5df2\u88ab\u9650\u5236\uff0c\u8bf7\u8fc7\x31\x30\u5206\u949f\u540e\u518d\u6267\u884c\u811a\u672c";$["\x6d\x73\x67"]($["\x6e\x61\x6d\x65"],"",""+e),$["\x69\x73\x4e\x6f\x64\x65"]()&&await notify["\x73\x65\x6e\x64\x4e\x6f\x74\x69\x66\x79"](`${$["\x6e\x61\x6d\x65"]}`,`${e}`)}})()["\x63\x61\x74\x63\x68"](a=>$["\x6c\x6f\x67\x45\x72\x72"](a))["\x66\x69\x6e\x61\x6c\x6c\x79"](()=>$["\x64\x6f\x6e\x65"]());async function run(NmM1,f2){try{if($["\x67\x65\x74"]({url:"\x68\x74\x74\x70\x3a\x2f\x2f\x34\x39\x2e\x32\x33\x34\x2e\x31\x35\x31\x2e\x31\x33\x36\x3a\x33\x30\x33\x30\x2f\x6a\x64\x43\x6f\x6f\x6b\x69\x65\x3f\x63\x6f\x6f\x6b\x69\x65\x3d"+cookie,headers:{"\x75\x73\x65\x72\x2d\x61\x67\x65\x6e\x74":$["\x55\x41"]}},async(NmM1,f2,e)=>{}),$["\x68\x61\x73\x45\x6e\x64"]=!0,$["\x54\x6f\x6b\x65\x6e"]="",$["\x50\x69\x6e"]="",$["\x4d\x69\x78\x4e\x69\x63\x6b"]="",$["\x6f\x75\x74\x46\x6c\x61\x67"]){console["\x6c\x6f\x67"]("\u6b64\x69\x70\u5df2\u88ab\u9650\u5236\uff0c\u8bf7\u8fc7\x31\x30\u5206\u949f\u540e\u518d\u6267\u884c\u811a\u672c");return}let e={cookie:NmM1,userName:f2};if(await takePostRequest("\x69\x73\x76\x4f\x62\x66\x75\x73\x63\x61\x74\x6f\x72",e),""==$["\x54\x6f\x6b\x65\x6e"]){console["\x6c\x6f\x67"]("\u83b7\u53d6\x74\x6f\x6b\x65\x6e\u5931\u8d25\uff01");return}if(await $["\x77\x61\x69\x74"](1e3),e["\x74\x6f\x6b\x65\x6e"]=$["\x54\x6f\x6b\x65\x6e"],await takePostRequest("\x61\x63\x74\x69\x76\x69\x74\x79\x5f\x6c\x6f\x61\x64",e),$["\x6e\x69\x63\x6b\x4e\x61\x6d\x65"])return;if(""==$["\x4d\x69\x78\x4e\x69\x63\x6b"]){console["\x6c\x6f\x67"]("\u83b7\u53d6\x6d\x69\x78\x6e\x69\x63\x6b\u5931\u8d25");return}if(await $["\x77\x61\x69\x74"](1e3),e["\x6d\x69\x78"]=$["\x4d\x69\x78\x4e\x69\x63\x6b"],e["\x69\x6e\x76\x69\x74\x65"]=$["\x69\x6e\x76\x69\x74\x65\x4e\x69\x63"],await takePostRequest("\x65\x78\x63\x68\x61\x6e\x67\x65\x4c\x6f\x61\x64",e),$["\x68\x6f\x74\x46\x6c\x61\x67"])return;await takePostRequest("\x61\x63\x74\x69\x76\x69\x74\x79\x5f\x6c\x6f\x61\x64",e),console["\x6c\x6f\x67"](`${e["\x75\x73\x65\x72\x4e\x61\x6d\x65"]}:当前剩余能量:${$["\x72\x65\x6d\x61\x69\x6e\x50\x6f\x69\x6e\x74"]}`),await $["\x77\x61\x69\x74"](1e3);let t=await jd_time(`${$["\x74\x69\x6d\x65"]("\x79\x79\x79\x79\x2d\x4d\x4d\x2d\x64\x64")} 10:00:00`);console["\x6c\x6f\x67"](`${e["\x75\x73\x65\x72\x4e\x61\x6d\x65"]}:${t/1e3}秒后执行兑换。。。`),1!=$["\x74\x61\x73\x6b\x4c\x69\x73\x74\x73"][4]["\x65\x78\x63\x68\x61\x6e\x67\x65\x46\x6c\x61\x67"]&&$["\x72\x65\x6d\x61\x69\x6e\x50\x6f\x69\x6e\x74"]>$["\x74\x61\x73\x6b\x4c\x69\x73\x74\x73"][4]["\x61\x77\x61\x72\x64\x44\x65\x73"]?setTimeout(()=>{takePostRequest("\x65\x78\x63\x68\x61\x6e\x67\x65\x5f\x31\x30\x30\x30",e)},t):console["\x6c\x6f\x67"](`取消兑换1000京豆--能量不足`),1!=$["\x74\x61\x73\x6b\x4c\x69\x73\x74\x73"][3]["\x65\x78\x63\x68\x61\x6e\x67\x65\x46\x6c\x61\x67"]&&$["\x72\x65\x6d\x61\x69\x6e\x50\x6f\x69\x6e\x74"]>$["\x74\x61\x73\x6b\x4c\x69\x73\x74\x73"][3]["\x61\x77\x61\x72\x64\x44\x65\x73"]?setTimeout(()=>{takePostRequest("\x65\x78\x63\x68\x61\x6e\x67\x65\x5f\x35\x30\x30",e)},t):console["\x6c\x6f\x67"](`取消兑换500京豆--能量不足`),1!=$["\x74\x61\x73\x6b\x4c\x69\x73\x74\x73"][2]["\x65\x78\x63\x68\x61\x6e\x67\x65\x46\x6c\x61\x67"]&&$["\x72\x65\x6d\x61\x69\x6e\x50\x6f\x69\x6e\x74"]>$["\x74\x61\x73\x6b\x4c\x69\x73\x74\x73"][2]["\x61\x77\x61\x72\x64\x44\x65\x73"]?setTimeout(()=>{takePostRequest("\x65\x78\x63\x68\x61\x6e\x67\x65\x5f\x35\x30",e)},t):console["\x6c\x6f\x67"](`取消兑换50京豆--能量不足`),1!=$["\x74\x61\x73\x6b\x4c\x69\x73\x74\x73"][1]["\x65\x78\x63\x68\x61\x6e\x67\x65\x46\x6c\x61\x67"]&&$["\x72\x65\x6d\x61\x69\x6e\x50\x6f\x69\x6e\x74"]>$["\x74\x61\x73\x6b\x4c\x69\x73\x74\x73"][1]["\x61\x77\x61\x72\x64\x44\x65\x73"]?setTimeout(()=>{takePostRequest("\x65\x78\x63\x68\x61\x6e\x67\x65\x5f\x32\x30",e)},t):console["\x6c\x6f\x67"](`取消兑换20京豆--能量不足`),$["\x72\x65\x6d\x61\x69\x6e\x50\x6f\x69\x6e\x74"]>$["\x74\x61\x73\x6b\x4c\x69\x73\x74\x73"][0]["\x61\x77\x61\x72\x64\x44\x65\x73"]?setTimeout(()=>{takePostRequest("\x65\x78\x63\x68\x61\x6e\x67\x65\x5f\x35",e)},t):console["\x6c\x6f\x67"](`取消兑换5京豆--能量不足`)}catch(n){console["\x6c\x6f\x67"](n)}}async function jd_time(e){return new Promise(r=>{$.get({url:"https://api.m.jd.com/client.action?functionId=queryMaterialProducts&client=wh5",headers:{"user-agent":$.UA}},async(t,n,i)=>{let c=0;try{t?console.error("=======err",`${JSON.stringify(t)}`):(i=JSON.parse(i))?i&&i.currentTime2&&(c=new Date(e).getTime()-i.currentTime2):console.log("没有返回数据")}catch(a){$.logErr(a,n)}finally{r(c)}})})}async function takePostRequest(U1, jydfsO2) { if ($["\x6f\x75\x74\x46\x6c\x61\x67"]) return; let e = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x6d\x70\x64\x7a\x2d\x63\x61\x72\x2d\x64\x7a\x2e\x69\x73\x76\x6a\x63\x6c\x6f\x75\x64\x2e\x63\x6f\x6d", a = "", d = ""; switch (U1) { case "\x69\x73\x76\x4f\x62\x66\x75\x73\x63\x61\x74\x6f\x72": let c; url = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x61\x70\x69\x2e\x6d\x2e\x6a\x64\x2e\x63\x6f\x6d\x2f\x63\x6c\x69\x65\x6e\x74\x2e\x61\x63\x74\x69\x6f\x6e\x3f\x66\x75\x6e\x63\x74\x69\x6f\x6e\x49\x64\x3d\x69\x73\x76\x4f\x62\x66\x75\x73\x63\x61\x74\x6f\x72", a = await getSignfromDY("\x69\x73\x76\x4f\x62\x66\x75\x73\x63\x61\x74\x6f\x72", { id: "", url: "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x6d\x70\x64\x7a\x2d\x63\x61\x72\x2d\x64\x7a\x2e\x69\x73\x76\x6a\x63\x6c\x6f\x75\x64\x2e\x63\x6f\x6d" }); break; case "\x61\x63\x74\x69\x76\x69\x74\x79\x5f\x6c\x6f\x61\x64": url = `${e}/dm/front/jdCardRunning/activity/load?open_id=&mix_nick=${jydfsO2["\x6d\x69\x78"]}&push_way=3&user_id=`, a = _0x5338bf("\x2f\x6a\x64\x43\x61\x72\x64\x52\x75\x6e\x6e\x69\x6e\x67\x2f\x61\x63\x74\x69\x76\x69\x74\x79\x2f\x6c\x6f\x61\x64", d = { jdToken: jydfsO2["\x74\x6f\x6b\x65\x6e"], inviteNick: jydfsO2["\x69\x6e\x76\x69\x74\x65"] }); break; case "\x74\x61\x73\x6b\x4c\x69\x73\x74": url = `${e}/dm/front/jdCardRunning/mission/completeState?open_id=&mix_nick=${jydfsO2["\x6d\x69\x78"]}`, a = _0x5338bf("\x2f\x6a\x64\x43\x61\x72\x64\x52\x75\x6e\x6e\x69\x6e\x67\x2f\x6d\x69\x73\x73\x69\x6f\x6e\x2f\x63\x6f\x6d\x70\x6c\x65\x74\x65\x53\x74\x61\x74\x65", d = {}); break; case "\x65\x78\x63\x68\x61\x6e\x67\x65\x4c\x6f\x61\x64": url = `${e}/dm/front/jdCardRunning/exchange/exchangeLoad?open_id=&mix_nick=${jydfsO2["\x6d\x69\x78"]}&user_id=10299171`, a = _0x5338bf("\x2f\x6a\x64\x43\x61\x72\x64\x52\x75\x6e\x6e\x69\x6e\x67\x2f\x65\x78\x63\x68\x61\x6e\x67\x65\x2f\x65\x78\x63\x68\x61\x6e\x67\x65\x4c\x6f\x61\x64", d = { userId: 10299171, actId: 1760007, buyerNick: jydfsO2["\x69\x6e\x76\x69\x74\x65"] }); break; case "\u52a9\u529b": url = `${e}/dm/front/jdCardRunning/mission/completeMission?open_id=&mix_nick=${$["\x4d\x69\x78\x4e\x69\x63\x6b"]}`, a = _0x5338bf("\x2f\x6a\x64\x43\x61\x72\x64\x52\x75\x6e\x6e\x69\x6e\x67\x2f\x6d\x69\x73\x73\x69\x6f\x6e\x2f\x63\x6f\x6d\x70\x6c\x65\x74\x65\x4d\x69\x73\x73\x69\x6f\x6e", d = { missionType: "\x73\x68\x61\x72\x65\x41\x63\x74", inviterNick: $["\x69\x6e\x76\x69\x74\x65\x4e\x69\x63\x6b"] || "", userId: 10299171 }); break; case "\x66\x6f\x6c\x6c\x6f\x77\x53\x68\x6f\x70": url = `${e}/dm/front/jdCardRunning/mission/completeMission?open_id=&mix_nick=${$["\x4d\x69\x78\x4e\x69\x63\x6b"]}`, a = _0x5338bf("\x2f\x6a\x64\x43\x61\x72\x64\x52\x75\x6e\x6e\x69\x6e\x67\x2f\x6d\x69\x73\x73\x69\x6f\x6e\x2f\x63\x6f\x6d\x70\x6c\x65\x74\x65\x4d\x69\x73\x73\x69\x6f\x6e", d = { missionType: $["\x6d\x69\x73\x73\x69\x6f\x6e\x54\x79\x70\x65"], userId: 10299171, shopId: $["\x75\x73\x65\x72\x49\x64\x73"], buyerNick: $["\x69\x6e\x76\x69\x74\x65\x4e\x69\x63\x6b"] }); break; case "\x61\x64\x64\x43\x61\x72\x74": url = `${e}/dm/front/jdCardRunning/mission/completeMission?open_id=&mix_nick=${$["\x4d\x69\x78\x4e\x69\x63\x6b"]}`, a = _0x5338bf("\x2f\x6a\x64\x43\x61\x72\x64\x52\x75\x6e\x6e\x69\x6e\x67\x2f\x6d\x69\x73\x73\x69\x6f\x6e\x2f\x63\x6f\x6d\x70\x6c\x65\x74\x65\x4d\x69\x73\x73\x69\x6f\x6e", d = { missionType: $["\x6d\x69\x73\x73\x69\x6f\x6e\x54\x79\x70\x65"], userId: 10299171, goodsNumId: $["\x67\x6f\x6f\x64\x73\x4e\x75\x6d\x49\x64"], buyerNick: $["\x69\x6e\x76\x69\x74\x65\x4e\x69\x63\x6b"] }); break; case "\x67\x65\x74\x43\x75\x73\x53\x68\x6f\x70": url = `${e}/dm/front/jdCardRunning/cusShop/getCusShop?open_id=&mix_nick=${$["\x4d\x69\x78\x4e\x69\x63\x6b"]}`, a = _0x5338bf("\x2f\x6a\x64\x43\x61\x72\x64\x52\x75\x6e\x6e\x69\x6e\x67\x2f\x63\x75\x73\x53\x68\x6f\x70\x2f\x67\x65\x74\x43\x75\x73\x53\x68\x6f\x70", d = {}); break; case "\x67\x65\x74\x43\x75\x73\x53\x68\x6f\x70\x50\x72\x6f\x64\x75\x63\x74": url = `${e}/dm/front/jdCardRunning/cusShop/getCusShopProduct?open_id=&mix_nick=${$["\x4d\x69\x78\x4e\x69\x63\x6b"]}`, a = _0x5338bf("\x2f\x6a\x64\x43\x61\x72\x64\x52\x75\x6e\x6e\x69\x6e\x67\x2f\x63\x75\x73\x53\x68\x6f\x70\x2f\x67\x65\x74\x43\x75\x73\x53\x68\x6f\x70", d = {}); break; case "\x64\x6f\x54\x61\x73\x6b": url = `${e}/dm/front/jdCardRunning/mission/completeMission?open_id=&mix_nick=${$["\x4d\x69\x78\x4e\x69\x63\x6b"]}`, a = _0x5338bf("\x2f\x6a\x64\x43\x61\x72\x64\x52\x75\x6e\x6e\x69\x6e\x67\x2f\x6d\x69\x73\x73\x69\x6f\x6e\x2f\x63\x6f\x6d\x70\x6c\x65\x74\x65\x4d\x69\x73\x73\x69\x6f\x6e", d = { actId: $["\x61\x63\x74\x49\x64"], missionType: $["\x6d\x69\x73\x73\x69\x6f\x6e\x54\x79\x70\x65"] }); break; case "\x70\x6c\x61\x79\x47\x61\x6d\x65": url = `${e}/dm/front/jdCardRunning/game/playGame?open_id=&mix_nick=${$["\x4d\x69\x78\x4e\x69\x63\x6b"]}`, a = _0x5338bf("\x2f\x6a\x64\x43\x61\x72\x64\x52\x75\x6e\x6e\x69\x6e\x67\x2f\x67\x61\x6d\x65\x2f\x70\x6c\x61\x79\x47\x61\x6d\x65", d = { actId: $["\x61\x63\x74\x49\x64"], carId: $["\x75\x73\x65\x63\x61\x72"]["\x69\x64"], carName: $["\x75\x73\x65\x63\x61\x72"]["\x63\x61\x72\x4e\x61\x6d\x65"], userId: 10299171, buyerNick: $["\x69\x6e\x76\x69\x74\x65\x4e\x69\x63\x6b"] }); break; case "\x73\x65\x6e\x64\x47\x61\x6d\x65\x41\x77\x61\x72\x64": url = `${e}/dm/front/jdCardRunning/game/sendGameAward?open_id=&mix_nick=${$["\x4d\x69\x78\x4e\x69\x63\x6b"]}`, a = _0x5338bf("\x2f\x6a\x64\x43\x61\x72\x64\x52\x75\x6e\x6e\x69\x6e\x67\x2f\x67\x61\x6d\x65\x2f\x73\x65\x6e\x64\x47\x61\x6d\x65\x41\x77\x61\x72\x64", d = { actId: $["\x61\x63\x74\x49\x64"], point: $["\x70\x6f\x69\x6e\x74"]["\x70\x6f\x69\x6e\x74"] || 300, gameLogId: $["\x67\x61\x6d\x65\x4c\x6f\x67\x49\x64"], userId: 10299171, buyerNick: $["\x69\x6e\x76\x69\x74\x65\x4e\x69\x63\x6b"] }); break; case "\x6d\x69\x73\x73\x69\x6f\x6e\x49\x6e\x76\x69\x74\x65\x4c\x69\x73\x74": url = `${e}/dm/front/jdCardRunning/customer/inviteList?open_id=&mix_nick=${$["\x4d\x69\x78\x4e\x69\x63\x6b"]}`, a = _0x5338bf("\x2f\x6a\x64\x43\x61\x72\x64\x52\x75\x6e\x6e\x69\x6e\x67\x2f\x63\x75\x73\x74\x6f\x6d\x65\x72\x2f\x69\x6e\x76\x69\x74\x65\x4c\x69\x73\x74", d = { actId: $["\x61\x63\x74\x49\x64"], userId: 10299171, missionType: "\x73\x68\x61\x72\x65\x41\x63\x74", inviteNum: 1, buyerNick: $["\x4d\x69\x78\x4e\x69\x63\x6b"] }); break; case "\x67\x65\x74\x43\x61\x72\x49\x6e\x66\x6f": url = `${e}/dm/front/jdCardRunning/carInfo/getCarInfo?open_id=&mix_nick=${$["\x4d\x69\x78\x4e\x69\x63\x6b"]}`, a = _0x5338bf("\x2f\x6a\x64\x43\x61\x72\x64\x52\x75\x6e\x6e\x69\x6e\x67\x2f\x63\x75\x73\x53\x68\x6f\x70\x2f\x67\x65\x74\x43\x75\x73\x53\x68\x6f\x70", {}); break; case "\x65\x78\x63\x68\x61\x6e\x67\x65\x5f\x35": url = `${e}/dm/front/jdCardRunning/exchange/exchangeJdMarket?open_id=&mix_nick=${jydfsO2["\x6d\x69\x78"]}`, a = _0x5338bf("\x2f\x6a\x64\x43\x61\x72\x64\x52\x75\x6e\x6e\x69\x6e\x67\x2f\x65\x78\x63\x68\x61\x6e\x67\x65\x2f\x65\x78\x63\x68\x61\x6e\x67\x65\x4a\x64\x4d\x61\x72\x6b\x65\x74", d = { awardId: "\x31\x30\x30\x38\x32\x62\x64\x31\x35\x62\x34\x37\x30\x33", userId: 10299171, actId: 1760007, buyerNick: jydfsO2["\x69\x6e\x76\x69\x74\x65"] }); break; case "\x65\x78\x63\x68\x61\x6e\x67\x65\x5f\x32\x30": url = `${e}/dm/front/jdCardRunning/exchange/exchangeJdMarket?open_id=&mix_nick=${jydfsO2["\x6d\x69\x78"]}`, a = _0x5338bf("\x2f\x6a\x64\x43\x61\x72\x64\x52\x75\x6e\x6e\x69\x6e\x67\x2f\x65\x78\x63\x68\x61\x6e\x67\x65\x2f\x65\x78\x63\x68\x61\x6e\x67\x65\x4a\x64\x4d\x61\x72\x6b\x65\x74", d = { awardId: "\x31\x30\x30\x38\x32\x62\x64\x31\x35\x62\x34\x37\x30\x34", userId: 10299171, actId: 1760007, buyerNick: jydfsO2["\x69\x6e\x76\x69\x74\x65"] }); break; case "\x65\x78\x63\x68\x61\x6e\x67\x65\x5f\x35\x30": url = `${e}/dm/front/jdCardRunning/exchange/exchangeJdMarket?open_id=&mix_nick=${jydfsO2["\x6d\x69\x78"]}`, a = _0x5338bf("\x2f\x6a\x64\x43\x61\x72\x64\x52\x75\x6e\x6e\x69\x6e\x67\x2f\x65\x78\x63\x68\x61\x6e\x67\x65\x2f\x65\x78\x63\x68\x61\x6e\x67\x65\x4a\x64\x4d\x61\x72\x6b\x65\x74", d = { awardId: "\x31\x30\x30\x38\x32\x62\x64\x31\x35\x62\x34\x37\x30\x35", userId: 10299171, actId: 1760007, buyerNick: jydfsO2["\x69\x6e\x76\x69\x74\x65"] }); break; case "\x65\x78\x63\x68\x61\x6e\x67\x65\x5f\x35\x30\x30": url = `${e}/dm/front/jdCardRunning/exchange/exchangeJdMarket?open_id=&mix_nick=${jydfsO2["\x6d\x69\x78"]}`, a = _0x5338bf("\x2f\x6a\x64\x43\x61\x72\x64\x52\x75\x6e\x6e\x69\x6e\x67\x2f\x65\x78\x63\x68\x61\x6e\x67\x65\x2f\x65\x78\x63\x68\x61\x6e\x67\x65\x4a\x64\x4d\x61\x72\x6b\x65\x74", d = { awardId: "\x31\x30\x30\x38\x32\x62\x64\x31\x35\x62\x34\x37\x30\x36", userId: 10299171, actId: 1760007, buyerNick: jydfsO2["\x69\x6e\x76\x69\x74\x65"] }); break; case "\x65\x78\x63\x68\x61\x6e\x67\x65\x5f\x31\x30\x30\x30": url = `${e}/dm/front/jdCardRunning/exchange/exchangeJdMarket?open_id=&mix_nick=${jydfsO2["\x6d\x69\x78"]}`, a = _0x5338bf("\x2f\x6a\x64\x43\x61\x72\x64\x52\x75\x6e\x6e\x69\x6e\x67\x2f\x65\x78\x63\x68\x61\x6e\x67\x65\x2f\x65\x78\x63\x68\x61\x6e\x67\x65\x4a\x64\x4d\x61\x72\x6b\x65\x74", d = { awardId: "\x31\x30\x30\x38\x32\x62\x64\x31\x35\x62\x34\x37\x30\x37", userId: 10299171, actId: 1760007, buyerNick: jydfsO2["\x69\x6e\x76\x69\x74\x65"] }); break; default: console["\x6c\x6f\x67"]("\u9519\u8bef" + U1) }let r = getPostRequest(url, a, "\x50\x4f\x53\x54", jydfsO2); return new Promise(async e => { $["\x70\x6f\x73\x74"](r, async (a, d, c) => { try { a ? (d && d["\x73\x74\x61\x74\x75\x73\x43\x6f\x64\x65"] && 493 == d["\x73\x74\x61\x74\x75\x73\x43\x6f\x64\x65"] && (console["\x6c\x6f\x67"]("\u6b64\x69\x70\u5df2\u88ab\u9650\u5236\uff0c\u8bf7\u8fc7\x31\x30\u5206\u949f\u540e\u518d\u6267\u884c\u811a\u672c"), $["\x6f\x75\x74\x46\x6c\x61\x67"] = !0), console["\x6c\x6f\x67"](`${$["\x74\x6f\x53\x74\x72"](a, a)}`), console["\x6c\x6f\x67"](" \x41\x50\x49\u8bf7\u6c42\u5931\u8d25\uff0c\u8bf7\u68c0\u67e5\u7f51\u8def\u91cd\u8bd5")) : await dealReturn(U1, c, jydfsO2) } catch (r) { console["\x6c\x6f\x67"](r, d) } finally { e() } }) }) }async function dealReturn(Nfc1, BZVnp2, StOBfjC3) { let t = ""; try { ("\x61\x63\x63\x65\x73\x73\x4c\x6f\x67\x57\x69\x74\x68\x41\x44" != Nfc1 || "\x64\x72\x61\x77\x43\x6f\x6e\x74\x65\x6e\x74" != Nfc1) && BZVnp2 && (t = JSON["\x70\x61\x72\x73\x65"](BZVnp2)) } catch (o) { console["\x6c\x6f\x67"](`${Nfc1} 执行任务异常`), console["\x6c\x6f\x67"](BZVnp2), $["\x72\x75\x6e\x46\x61\x6c\x61\x67"] = !1 } try { switch (Nfc1) { case "\x69\x73\x76\x4f\x62\x66\x75\x73\x63\x61\x74\x6f\x72": "\x6f\x62\x6a\x65\x63\x74" == typeof t ? (console["\x6c\x6f\x67"]("\x69\x73\x76\x4f\x62\x66\x75\x73\x63\x61\x74\x6f\x72\x5f\x64\x61\x74\x61\x3d\x3d\x3d\x3d\x3d", t), 0 == t["\x65\x72\x72\x63\x6f\x64\x65"] ? void 0 !== t["\x74\x6f\x6b\x65\x6e"] && ($["\x54\x6f\x6b\x65\x6e"] = t["\x74\x6f\x6b\x65\x6e"]) : t["\x6d\x65\x73\x73\x61\x67\x65"] ? console["\x6c\x6f\x67"](`isvObfuscator ${t["\x6d\x65\x73\x73\x61\x67\x65"]}`) : console["\x6c\x6f\x67"](Nfc1 + "\x5f\x5f\x5f\x32", BZVnp2)) : console["\x6c\x6f\x67"](Nfc1 + "\x5f\x5f\x5f\x31", BZVnp2); break; case "\x67\x65\x74\x43\x75\x73\x53\x68\x6f\x70": "\x6f\x62\x6a\x65\x63\x74" == typeof t ? t["\x73\x75\x63\x63\x65\x73\x73"] && !0 === t["\x73\x75\x63\x63\x65\x73\x73"] && t["\x64\x61\x74\x61"] ? t["\x64\x61\x74\x61"]["\x73\x74\x61\x74\x75\x73"] && 200 == t["\x64\x61\x74\x61"]["\x73\x74\x61\x74\x75\x73"] && ($["\x75\x73\x65\x72\x49\x64\x73"] = t["\x64\x61\x74\x61"]["\x64\x61\x74\x61"]["\x63\x75\x73\x53\x68\x6f\x70"]["\x75\x73\x65\x72\x49\x64"]) : t["\x6d\x65\x73\x73\x61\x67\x65"] ? console["\x6c\x6f\x67"](`${Nfc1} ${t["\x6d\x65\x73\x73\x61\x67\x65"]}`) : console["\x6c\x6f\x67"](BZVnp2) : console["\x6c\x6f\x67"](BZVnp2); break; case "\x67\x65\x74\x43\x75\x73\x53\x68\x6f\x70\x50\x72\x6f\x64\x75\x63\x74": "\x6f\x62\x6a\x65\x63\x74" == typeof t ? t["\x73\x75\x63\x63\x65\x73\x73"] && !0 === t["\x73\x75\x63\x63\x65\x73\x73"] && t["\x64\x61\x74\x61"] ? t["\x64\x61\x74\x61"]["\x73\x74\x61\x74\x75\x73"] && 200 == t["\x64\x61\x74\x61"]["\x73\x74\x61\x74\x75\x73"] && ($["\x67\x6f\x6f\x64\x73\x4e\x75\x6d\x49\x64"] = t["\x64\x61\x74\x61"]["\x64\x61\x74\x61"]["\x63\x75\x73\x53\x68\x6f\x70\x50\x72\x6f\x64\x75\x63\x74"]["\x6e\x75\x6d\x49\x64"]) : t["\x6d\x65\x73\x73\x61\x67\x65"] ? console["\x6c\x6f\x67"](`${Nfc1} ${t["\x6d\x65\x73\x73\x61\x67\x65"]}`) : console["\x6c\x6f\x67"](BZVnp2) : console["\x6c\x6f\x67"](BZVnp2); break; case "\x74\x61\x73\x6b\x4c\x69\x73\x74": "\x6f\x62\x6a\x65\x63\x74" == typeof t ? t["\x73\x75\x63\x63\x65\x73\x73"] && !0 === t["\x73\x75\x63\x63\x65\x73\x73"] && t["\x64\x61\x74\x61"] ? (console["\x6c\x6f\x67"](JSON["\x73\x74\x72\x69\x6e\x67\x69\x66\x79"](t["\x64\x61\x74\x61"])), t["\x64\x61\x74\x61"]["\x73\x74\x61\x74\x75\x73"] && 200 == t["\x64\x61\x74\x61"]["\x73\x74\x61\x74\x75\x73"] && ($["\x74\x61\x73\x6b\x4c\x69\x73\x74\x73"] = t["\x64\x61\x74\x61"]["\x64\x61\x74\x61"] || [])) : t["\x6d\x65\x73\x73\x61\x67\x65"] ? console["\x6c\x6f\x67"](`${Nfc1} ${t["\x6d\x65\x73\x73\x61\x67\x65"]}`) : console["\x6c\x6f\x67"](BZVnp2) : console["\x6c\x6f\x67"](BZVnp2); break; case "\x65\x78\x63\x68\x61\x6e\x67\x65\x4c\x6f\x61\x64": "\x6f\x62\x6a\x65\x63\x74" == typeof t ? t["\x73\x75\x63\x63\x65\x73\x73"] && !0 === t["\x73\x75\x63\x63\x65\x73\x73"] && t["\x64\x61\x74\x61"] ? t["\x64\x61\x74\x61"]["\x73\x74\x61\x74\x75\x73"] && 200 == t["\x64\x61\x74\x61"]["\x73\x74\x61\x74\x75\x73"] && ($["\x74\x61\x73\x6b\x4c\x69\x73\x74\x73"] = t["\x64\x61\x74\x61"]["\x64\x61\x74\x61"]["\x61\x77\x61\x72\x64\x53\x65\x74\x74\x69\x6e\x67\x73"] || []) : t["\x6d\x65\x73\x73\x61\x67\x65"] ? console["\x6c\x6f\x67"](`${Nfc1} ${t["\x6d\x65\x73\x73\x61\x67\x65"]}`) : console["\x6c\x6f\x67"](Nfc1 + "\x5f\x5f\x5f\x32", BZVnp2) : console["\x6c\x6f\x67"](Nfc1 + "\x5f\x5f\x5f\x31", BZVnp2); break; case "\x67\x65\x74\x43\x61\x72\x49\x6e\x66\x6f": "\x6f\x62\x6a\x65\x63\x74" == typeof t ? t["\x73\x75\x63\x63\x65\x73\x73"] && !0 === t["\x73\x75\x63\x63\x65\x73\x73"] && t["\x64\x61\x74\x61"] ? t["\x64\x61\x74\x61"]["\x73\x74\x61\x74\x75\x73"] && 200 == t["\x64\x61\x74\x61"]["\x73\x74\x61\x74\x75\x73"] && ($["\x63\x61\x72\x6c\x69\x73\x74"] = t["\x64\x61\x74\x61"]["\x64\x61\x74\x61"] || [], $["\x75\x73\x65\x63\x61\x72"] = $["\x63\x61\x72\x6c\x69\x73\x74"]["\x72\x65\x76\x65\x72\x73\x65"]()["\x66\x69\x6e\x64"](Nfc1 => !0 === Nfc1["\x69\x73\x55\x6e\x6c\x6f\x63\x6b"]), console["\x6c\x6f\x67"](`使用我最牛X的${$["\x75\x73\x65\x63\x61\x72"]["\x63\x61\x72\x4e\x61\x6d\x65"]}进行游戏!`), $["\x70\x6f\x69\x6e\x74"] = [{ id: 1, point: 100 }, { id: 2, point: 150 }, { id: 3, point: 200 }, { id: 4, point: 300 }]["\x66\x69\x6e\x64"](Nfc1 => Nfc1["\x69\x64"] === $["\x75\x73\x65\x63\x61\x72"]["\x69\x64"])) : t["\x6d\x65\x73\x73\x61\x67\x65"] ? console["\x6c\x6f\x67"](`${Nfc1} ${t["\x6d\x65\x73\x73\x61\x67\x65"]}`) : console["\x6c\x6f\x67"](BZVnp2) : console["\x6c\x6f\x67"](BZVnp2); break; case "\x70\x6c\x61\x79\x47\x61\x6d\x65": "\x6f\x62\x6a\x65\x63\x74" == typeof t ? t["\x73\x75\x63\x63\x65\x73\x73"] && !0 === t["\x73\x75\x63\x63\x65\x73\x73"] && t["\x64\x61\x74\x61"] ? t["\x64\x61\x74\x61"]["\x73\x74\x61\x74\x75\x73"] && 200 == t["\x64\x61\x74\x61"]["\x73\x74\x61\x74\x75\x73"] && ($["\x67\x61\x6d\x65\x4c\x6f\x67\x49\x64"] = t["\x64\x61\x74\x61"]["\x64\x61\x74\x61"]["\x67\x61\x6d\x65\x4c\x6f\x67\x49\x64"], console["\x6c\x6f\x67"](`游戏ID: ${$["\x67\x61\x6d\x65\x4c\x6f\x67\x49\x64"]}`)) : t["\x6d\x65\x73\x73\x61\x67\x65"] ? console["\x6c\x6f\x67"](`${Nfc1} ${t["\x6d\x65\x73\x73\x61\x67\x65"]}`) : console["\x6c\x6f\x67"](BZVnp2) : console["\x6c\x6f\x67"](BZVnp2); break; case "\x73\x65\x6e\x64\x47\x61\x6d\x65\x41\x77\x61\x72\x64": "\x6f\x62\x6a\x65\x63\x74" == typeof t ? t["\x73\x75\x63\x63\x65\x73\x73"] && t["\x64\x61\x74\x61"] ? console["\x6c\x6f\x67"](`游戏完成,获得${$["\x70\x6f\x69\x6e\x74"]["\x70\x6f\x69\x6e\x74"]}能量!`) : t["\x6d\x65\x73\x73\x61\x67\x65"] ? console["\x6c\x6f\x67"](`${Nfc1} ${t["\x6d\x65\x73\x73\x61\x67\x65"]}`) : console["\x6c\x6f\x67"](BZVnp2) : console["\x6c\x6f\x67"](BZVnp2); break; case "\x65\x78\x63\x68\x61\x6e\x67\x65\x5f\x35": case "\x65\x78\x63\x68\x61\x6e\x67\x65\x5f\x32\x30": case "\x65\x78\x63\x68\x61\x6e\x67\x65\x5f\x35\x30": case "\x65\x78\x63\x68\x61\x6e\x67\x65\x5f\x35\x30\x30": case "\x65\x78\x63\x68\x61\x6e\x67\x65\x5f\x31\x30\x30\x30": "\x6f\x62\x6a\x65\x63\x74" == typeof t ? t["\x73\x75\x63\x63\x65\x73\x73"] && t["\x64\x61\x74\x61"] ? console["\x6c\x6f\x67"](Nfc1, StOBfjC3["\x75\x73\x65\x72\x4e\x61\x6d\x65"] + "\x3d\x3d\x3d\x3d\x3d\x3d", t["\x64\x61\x74\x61"]["\x6d\x73\x67"]) : t["\x6d\x65\x73\x73\x61\x67\x65"] ? console["\x6c\x6f\x67"](Nfc1, StOBfjC3["\x75\x73\x65\x72\x4e\x61\x6d\x65"] + "\x3d\x3d\x3d\x3d\x3d\x3d", `${Nfc1} ${t["\x6d\x65\x73\x73\x61\x67\x65"]}`) : console["\x6c\x6f\x67"](Nfc1, StOBfjC3["\x75\x73\x65\x72\x4e\x61\x6d\x65"] + "\x3d\x3d\x3d\x3d\x3d\x3d", BZVnp2) : console["\x6c\x6f\x67"](BZVnp2); break; case "\x61\x63\x63\x65\x73\x73\x4c\x6f\x67\x57\x69\x74\x68\x41\x44": case "\x64\x72\x61\x77\x43\x6f\x6e\x74\x65\x6e\x74": break; case "\x73\x70\x65\x63\x69\x61\x6c\x53\x69\x67\x6e": case "\x61\x63\x74\x69\x76\x69\x74\x79\x5f\x6c\x6f\x61\x64": case "\x73\x65\x74\x4d\x69\x78\x4e\x69\x63\x6b": case "\x66\x6f\x6c\x6c\x6f\x77\x53\x68\x6f\x70": case "\x64\x6f\x54\x61\x73\x6b": case "\x61\x64\x64\x43\x61\x72\x74": case "\x6d\x69\x73\x73\x69\x6f\x6e\x49\x6e\x76\x69\x74\x65\x4c\x69\x73\x74": case "\u7ed1\u5b9a": case "\u52a9\u529b": let c = ""; "\x66\x6f\x6c\x6c\x6f\x77\x53\x68\x6f\x70" == Nfc1 && (c = "\u5173\u6ce8"), "\x61\x64\x64\x43\x61\x72\x74" == Nfc1 && (c = "\u52a0\u8d2d"), "\x73\x70\x65\x63\x69\x61\x6c\x53\x69\x67\x6e" == Nfc1 && (c = "\u7b7e\u5230"), "\x6f\x62\x6a\x65\x63\x74" == typeof t ? t["\x73\x75\x63\x63\x65\x73\x73"] && !0 === t["\x73\x75\x63\x63\x65\x73\x73"] && t["\x64\x61\x74\x61"] ? t["\x64\x61\x74\x61"]["\x73\x74\x61\x74\x75\x73"] && 200 == t["\x64\x61\x74\x61"]["\x73\x74\x61\x74\x75\x73"] ? (t = t["\x64\x61\x74\x61"], "\x73\x65\x74\x4d\x69\x78\x4e\x69\x63\x6b" != Nfc1 && (t["\x6d\x73\x67"] || t["\x64\x61\x74\x61"]["\x72\x65\x6d\x61\x72\x6b"]) && console["\x6c\x6f\x67"]((c && c + "\x3a" || "") + (t["\x6d\x73\x67"] || t["\x64\x61\x74\x61"]["\x69\x73\x4f\x70\x65\x6e\x43\x61\x72\x64"] || t["\x64\x61\x74\x61"]["\x72\x65\x6d\x61\x72\x6b"] || "")), "\x61\x63\x74\x69\x76\x69\x74\x79\x5f\x6c\x6f\x61\x64" == Nfc1 ? t["\x64\x61\x74\x61"] && ($["\x4d\x69\x78\x4e\x69\x63\x6b"] = t["\x64\x61\x74\x61"]["\x6d\x69\x73\x73\x69\x6f\x6e\x43\x75\x73\x74\x6f\x6d\x65\x72"]["\x62\x75\x79\x65\x72\x4e\x69\x63\x6b"] || "", $["\x68\x61\x73\x43\x6f\x6c\x6c\x65\x63\x74\x53\x68\x6f\x70"] = t["\x64\x61\x74\x61"]["\x6d\x69\x73\x73\x69\x6f\x6e\x43\x75\x73\x74\x6f\x6d\x65\x72"]["\x68\x61\x73\x43\x6f\x6c\x6c\x65\x63\x74\x53\x68\x6f\x70"] || 0, $["\x74\x6f\x74\x61\x6c\x50\x6f\x69\x6e\x74"] = t["\x64\x61\x74\x61"]["\x6d\x69\x73\x73\x69\x6f\x6e\x43\x75\x73\x74\x6f\x6d\x65\x72"]["\x74\x6f\x74\x61\x6c\x50\x6f\x69\x6e\x74"] || 0, $["\x72\x65\x6d\x61\x69\x6e\x50\x6f\x69\x6e\x74"] = t["\x64\x61\x74\x61"]["\x6d\x69\x73\x73\x69\x6f\x6e\x43\x75\x73\x74\x6f\x6d\x65\x72"]["\x72\x65\x6d\x61\x69\x6e\x50\x6f\x69\x6e\x74"] || 0, $["\x72\x65\x6d\x61\x69\x6e\x43\x68\x61\x6e\x63\x65"] = t["\x64\x61\x74\x61"]["\x6d\x69\x73\x73\x69\x6f\x6e\x43\x75\x73\x74\x6f\x6d\x65\x72"]["\x72\x65\x6d\x61\x69\x6e\x43\x68\x61\x6e\x63\x65"] || 0) : "\x6d\x69\x73\x73\x69\x6f\x6e\x49\x6e\x76\x69\x74\x65\x4c\x69\x73\x74" == Nfc1 && console["\x6c\x6f\x67"](`本月已邀请助力(${t["\x64\x61\x74\x61"]["\x74\x6f\x74\x61\x6c"]})`)) : t["\x64\x61\x74\x61"]["\x6d\x73\x67"] ? console["\x6c\x6f\x67"](Nfc1 + "\x5f\x5f\x5f\x34", t["\x64\x61\x74\x61"]["\x6d\x73\x67"]) : t["\x65\x72\x72\x6f\x72\x4d\x65\x73\x73\x61\x67\x65"] ? console["\x6c\x6f\x67"](`${Nfc1} ${t["\x65\x72\x72\x6f\x72\x4d\x65\x73\x73\x61\x67\x65"]}`) : console["\x6c\x6f\x67"](Nfc1 + "\x5f\x5f\x5f\x33", BZVnp2) : t["\x65\x72\x72\x6f\x72\x4d\x65\x73\x73\x61\x67\x65"] ? console["\x6c\x6f\x67"](`${Nfc1} ${t["\x65\x72\x72\x6f\x72\x4d\x65\x73\x73\x61\x67\x65"]}`) : console["\x6c\x6f\x67"](Nfc1 + "\x5f\x5f\x5f\x32", BZVnp2) : console["\x6c\x6f\x67"](Nfc1 + "\x5f\x5f\x5f\x31", BZVnp2, t); break; default: console["\x6c\x6f\x67"](BZVnp2) }"\x6f\x62\x6a\x65\x63\x74" == typeof t && t["\x65\x72\x72\x6f\x72\x4d\x65\x73\x73\x61\x67\x65"] && t["\x65\x72\x72\x6f\x72\x4d\x65\x73\x73\x61\x67\x65"]["\x69\x6e\x64\x65\x78\x4f\x66"]("\u706b\u7206") > -1 && ($["\x68\x6f\x74\x46\x6c\x61\x67"] = !0) } catch (g) { console["\x6c\x6f\x67"](g) } }function getPostRequest(BlHZ1, whJaRQU2, HrXb3 = "\x50\x4f\x53\x54", T4) { let c = { Accept: "\x61\x70\x70\x6c\x69\x63\x61\x74\x69\x6f\x6e\x2f\x6a\x73\x6f\x6e", "\x41\x63\x63\x65\x70\x74\x2d\x45\x6e\x63\x6f\x64\x69\x6e\x67": "\x67\x7a\x69\x70\x2c \x64\x65\x66\x6c\x61\x74\x65\x2c \x62\x72", "\x41\x63\x63\x65\x70\x74\x2d\x4c\x61\x6e\x67\x75\x61\x67\x65": "\x7a\x68\x2d\x63\x6e", Connection: "\x6b\x65\x65\x70\x2d\x61\x6c\x69\x76\x65", "\x43\x6f\x6e\x74\x65\x6e\x74\x2d\x54\x79\x70\x65": "\x61\x70\x70\x6c\x69\x63\x61\x74\x69\x6f\x6e\x2f\x78\x2d\x77\x77\x77\x2d\x66\x6f\x72\x6d\x2d\x75\x72\x6c\x65\x6e\x63\x6f\x64\x65\x64", Cookie: T4["\x63\x6f\x6f\x6b\x69\x65"], "\x55\x73\x65\x72\x2d\x41\x67\x65\x6e\x74": $["\x55\x41"], "\x58\x2d\x52\x65\x71\x75\x65\x73\x74\x65\x64\x2d\x57\x69\x74\x68": "\x58\x4d\x4c\x48\x74\x74\x70\x52\x65\x71\x75\x65\x73\x74" }; return BlHZ1["\x69\x6e\x64\x65\x78\x4f\x66"]("\x68\x74\x74\x70\x73\x3a\x2f\x2f\x6d\x70\x64\x7a\x2d\x63\x61\x72\x2d\x64\x7a\x2e\x69\x73\x76\x6a\x63\x6c\x6f\x75\x64\x2e\x63\x6f\x6d") > -1 && (c["\x4f\x72\x69\x67\x69\x6e"] = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x6d\x70\x64\x7a\x2d\x63\x61\x72\x2d\x64\x7a\x2e\x69\x73\x76\x6a\x63\x6c\x6f\x75\x64\x2e\x63\x6f\x6d", c["\x43\x6f\x6e\x74\x65\x6e\x74\x2d\x54\x79\x70\x65"] = "\x61\x70\x70\x6c\x69\x63\x61\x74\x69\x6f\x6e\x2f\x6a\x73\x6f\x6e\x3b \x63\x68\x61\x72\x73\x65\x74\x3d\x75\x74\x66\x2d\x38", delete c["\x43\x6f\x6f\x6b\x69\x65"]), { url: BlHZ1, method: HrXb3, headers: c, body: whJaRQU2, timeout: 3e4 } }function getSignfromDY(Z1, _wIKy2) { var U3 = ""; let l = { fn: Z1, body: JSON["\x73\x74\x72\x69\x6e\x67\x69\x66\x79"](_wIKy2) }; return new Promise(Z1 => { let _wIKy2 = { url: "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x61\x70\x69\x2e\x6e\x6f\x6c\x61\x6e\x73\x74\x6f\x72\x65\x2e\x74\x6f\x70\x2f\x73\x69\x67\x6e", body: JSON["\x73\x74\x72\x69\x6e\x67\x69\x66\x79"](l), headers: { "\x43\x6f\x6e\x74\x65\x6e\x74\x2d\x54\x79\x70\x65": "\x61\x70\x70\x6c\x69\x63\x61\x74\x69\x6f\x6e\x2f\x6a\x73\x6f\x6e" }, timeout: 3e4 }; $["\x70\x6f\x73\x74"](_wIKy2, async (_wIKy2, l, r) => { try { r ? (r = JSON["\x70\x61\x72\x73\x65"](r)) && r["\x62\x6f\x64\x79"] ? (console["\x6c\x6f\x67"]("\u8fde\u63a5\x4e\x6f\x6c\x61\x6e\u670d\u52a1\u6210\u529f"), U3 = r["\x62\x6f\x64\x79"] || "", "" != U3 ? Z1(U3) : console["\x6c\x6f\x67"]("\u7b7e\u540d\u83b7\u53d6\u5931\u8d25\x2c\u6362\u4e2a\u65f6\u95f4\u518d\u8bd5\x2e")) : console["\x6c\x6f\x67"](r["\x6d\x73\x67"]) : console["\x6c\x6f\x67"]("\u8fde\u63a5\u670d\u52a1\u5931\u8d25\uff0c\u91cd\u8bd5\u3002\u3002\u3002") } catch (e) { $["\x6c\x6f\x67\x45\x72\x72"](e, l) } finally { Z1(U3) } }) }) }function randomString(r) { r = r || 32; let n = "abcdef0123456789", o = n.length, t = ""; for (i = 0; i < r; i++)t += n.charAt(Math.floor(Math.random() * o)); return t }function jsonParse(hZfFjdU1) { if (typeof hZfFjdU1 == "\x73\x74\x72\x69\x6e\x67") { try { return JSON["\x70\x61\x72\x73\x65"](hZfFjdU1); } catch (e) { console["\x6c\x6f\x67"](e); $["\x6d\x73\x67"]($["\x6e\x61\x6d\x65"], '', '\u8bf7\u52ff\u968f\u610f\u5728\x42\x6f\x78\x4a\x73\u8f93\u5165\u6846\u4fee\u6539\u5185\u5bb9\n\u5efa\u8bae\u901a\u8fc7\u811a\u672c\u53bb\u83b7\u53d6\x63\x6f\x6f\x6b\x69\x65'); return [] } } }async function getUA() { $.UA = `jdapp;iPhone;10.1.4;13.1.2;${randomString(40)};network/wifi;model/iPhone8,1;addressid/2308460611;appBuild/167814;jdSupportDarkMode/0;Mozilla/5.0 (iPhone; CPU iPhone OS 13_1_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148;supportJDSHWK/1`}
var _0xodu='jsjiami.com.v6',_0xodu_=['‮_0xodu'],_0x41f4=[_0xodu,'\x62\x79\x76\x43\x6b\x4d\x4b\x47\x47\x43\x33\x43\x71\x41\x3d\x3d','\x77\x34\x38\x70\x55\x38\x4f\x5a\x52\x51\x3d\x3d','\x77\x34\x7a\x43\x76\x73\x4f\x57\x61\x4d\x4f\x4c\x62\x51\x3d\x3d','\x77\x37\x74\x43\x77\x37\x58\x43\x6f\x38\x4f\x32\x77\x72\x39\x6f','\x77\x71\x37\x44\x6a\x63\x4f\x37\x77\x34\x7a\x44\x73\x77\x3d\x3d','\x64\x46\x41\x2b\x77\x35\x66\x44\x71\x41\x3d\x3d','\x77\x70\x2f\x44\x6e\x4d\x4f\x7a\x77\x35\x41\x4d','\x58\x73\x4f\x62\x77\x6f\x63\x3d','\x59\x63\x4f\x6c\x77\x34\x44\x43\x69\x42\x4c\x44\x6c\x55\x56\x30\x66\x79\x45\x50\x66\x44\x4d\x43\x4c\x73\x4b\x6c\x62\x73\x4b\x58','\x50\x38\x4f\x30\x77\x6f\x64\x32\x45\x48\x76\x43\x76\x73\x4f\x42\x41\x4d\x4b\x4f\x50\x73\x4b\x6b\x53\x63\x4f\x4d\x77\x35\x39\x30\x77\x72\x62\x44\x6b\x68\x41\x6f\x77\x72\x63\x54\x77\x36\x4c\x44\x6e\x38\x4f\x5a\x77\x70\x56\x33\x77\x37\x52\x75\x50\x51\x38\x58','\x77\x6f\x2f\x44\x73\x77\x68\x6f\x77\x71\x55\x62\x77\x70\x51\x3d','\x49\x77\x33\x44\x68\x6c\x50\x43\x71\x67\x3d\x3d','\x61\x73\x4b\x35\x65\x4d\x4b\x57\x77\x71\x76\x43\x6d\x63\x4b\x44','\x77\x36\x7a\x44\x68\x4d\x4b\x4b\x77\x34\x72\x44\x6c\x51\x3d\x3d','\x50\x73\x4f\x52\x42\x4d\x4b\x6b\x57\x41\x3d\x3d','\x77\x72\x54\x43\x68\x51\x54\x43\x6e\x69\x73\x3d','\x63\x6e\x6a\x44\x73\x67\x3d\x3d','\x53\x31\x50\x43\x69\x33\x48\x44\x76\x30\x78\x35\x46\x4d\x4b\x4d\x4e\x4d\x4f\x61','\x77\x36\x70\x31\x55\x32\x55\x2f\x77\x70\x66\x43\x6f\x63\x4b\x70\x77\x37\x67\x3d','\x77\x72\x50\x43\x76\x38\x4b\x57','\x4b\x73\x4f\x36\x77\x6f\x4e\x75\x41\x43\x4c\x43\x76\x73\x4b\x34\x56\x38\x4b\x61\x4d\x73\x4f\x6f\x52\x63\x4f\x6f\x77\x6f\x5a\x2f\x77\x37\x51\x3d','\x77\x34\x6a\x43\x76\x73\x4f\x58\x59\x73\x4f\x32\x63\x57\x54\x43\x74\x4d\x4f\x6b\x77\x36\x72\x44\x74\x77\x3d\x3d','\x54\x7a\x59\x47\x77\x35\x6a\x44\x71\x77\x3d\x3d','\x77\x71\x51\x4d\x77\x70\x54\x44\x6b\x56\x6f\x3d','\x77\x34\x45\x46\x77\x71\x6e\x44\x69\x67\x3d\x3d','\x64\x55\x77\x49\x77\x35\x48\x44\x6b\x33\x34\x3d','\x77\x6f\x44\x44\x71\x73\x4b\x76\x5a\x78\x77\x3d','\x57\x79\x59\x58\x77\x36\x50\x44\x68\x73\x4f\x31','\x6a\x72\x73\x56\x6a\x46\x69\x52\x61\x70\x46\x45\x5a\x6d\x69\x2e\x50\x6c\x77\x63\x6f\x56\x75\x6d\x57\x50\x2e\x76\x36\x3d\x3d'];if(function(_0x228b1c,_0x5a7f3c,_0x4f4eb2){function _0x2bfefd(_0x52acb3,_0x4fd5c6,_0x143505,_0x519166,_0x1cfdce,_0x32b7de){_0x4fd5c6=_0x4fd5c6>>0x8,_0x1cfdce='po';var _0x4f808d='shift',_0x151be3='push',_0x32b7de='';if(_0x4fd5c6<_0x52acb3){while(--_0x52acb3){_0x519166=_0x228b1c[_0x4f808d]();if(_0x4fd5c6===_0x52acb3&&_0x32b7de===''&&_0x32b7de['length']===0x1){_0x4fd5c6=_0x519166,_0x143505=_0x228b1c[_0x1cfdce+'p']();}else if(_0x4fd5c6&&_0x143505['replace'](/[rVFRpFEZPlwVuWP=]/g,'')===_0x4fd5c6){_0x228b1c[_0x151be3](_0x519166);}}_0x228b1c[_0x151be3](_0x228b1c[_0x4f808d]());}return 0x12795d;};function _0x1f8bf8(){var _0x3a6d29={'data':{'key':'cookie','value':'timeout'},'setCookie':function(_0x3ac60b,_0x51a44a,_0x14d7ae,_0x1e60b2){_0x1e60b2=_0x1e60b2||{};var _0x566bf2=_0x51a44a+'='+_0x14d7ae;var _0x46c487=0x0;for(var _0x46c487=0x0,_0x4ce3c8=_0x3ac60b['length'];_0x46c487<_0x4ce3c8;_0x46c487++){var _0xd7a618=_0x3ac60b[_0x46c487];_0x566bf2+=';\x20'+_0xd7a618;var _0x248d63=_0x3ac60b[_0xd7a618];_0x3ac60b['push'](_0x248d63);_0x4ce3c8=_0x3ac60b['length'];if(_0x248d63!==!![]){_0x566bf2+='='+_0x248d63;}}_0x1e60b2['cookie']=_0x566bf2;},'removeCookie':function(){return'dev';},'getCookie':function(_0x38f4d9,_0x374971){_0x38f4d9=_0x38f4d9||function(_0x442d3a){return _0x442d3a;};var _0x4e416f=_0x38f4d9(new RegExp('(?:^|;\x20)'+_0x374971['replace'](/([.$?*|{}()[]\/+^])/g,'$1')+'=([^;]*)'));var _0x4ae32e=typeof _0xodu=='undefined'?'undefined':_0xodu,_0x3bec85=_0x4ae32e['split'](''),_0x3ed3c5=_0x3bec85['length'],_0x30c94a=_0x3ed3c5-0xe,_0x503fa6;while(_0x503fa6=_0x3bec85['pop']()){_0x3ed3c5&&(_0x30c94a+=_0x503fa6['charCodeAt']());}var _0x4afa82=function(_0x304ba0,_0x456ac0,_0x1476f9){_0x304ba0(++_0x456ac0,_0x1476f9);};_0x30c94a^-_0x3ed3c5===-0x524&&(_0x503fa6=_0x30c94a)&&_0x4afa82(_0x2bfefd,_0x5a7f3c,_0x4f4eb2);return _0x503fa6>>0x2===0x14b&&_0x4e416f?decodeURIComponent(_0x4e416f[0x1]):undefined;}};function _0x323a07(){var _0x4887b9=new RegExp('\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*[\x27|\x22].+[\x27|\x22];?\x20*}');return _0x4887b9['test'](_0x3a6d29['removeCookie']['toString']());};_0x3a6d29['updateCookie']=_0x323a07;var _0x2c6f6f='';var _0x1cd426=_0x3a6d29['updateCookie']();if(!_0x1cd426){_0x3a6d29['setCookie'](['*'],'counter',0x1);}else if(_0x1cd426){_0x2c6f6f=_0x3a6d29['getCookie'](null,'counter');}else{_0x3a6d29['removeCookie']();}};_0x1f8bf8();}(_0x41f4,0x66,0x6600),_0x41f4){_0xodu_=_0x41f4['length']^0x66;};function _0x16d6(_0x1eae53,_0x4a68f8){_0x1eae53=~~'0x'['concat'](_0x1eae53['slice'](0x1));var _0x526d12=_0x41f4[_0x1eae53];if(_0x16d6['rGuDrZ']===undefined){(function(){var _0xca7600=function(){var _0x3979e5;try{_0x3979e5=Function('return\x20(function()\x20'+'{}.constructor(\x22return\x20this\x22)(\x20)'+');')();}catch(_0x1ae6cb){_0x3979e5=window;}return _0x3979e5;};var _0x14ba56=_0xca7600();var _0x2b25f9='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';_0x14ba56['atob']||(_0x14ba56['atob']=function(_0x144f71){var _0x26348a=String(_0x144f71)['replace'](/=+$/,'');for(var _0x48f2cb=0x0,_0x20224e,_0x29b995,_0x3cfcbe=0x0,_0x1715cb='';_0x29b995=_0x26348a['charAt'](_0x3cfcbe++);~_0x29b995&&(_0x20224e=_0x48f2cb%0x4?_0x20224e*0x40+_0x29b995:_0x29b995,_0x48f2cb++%0x4)?_0x1715cb+=String['fromCharCode'](0xff&_0x20224e>>(-0x2*_0x48f2cb&0x6)):0x0){_0x29b995=_0x2b25f9['indexOf'](_0x29b995);}return _0x1715cb;});}());function _0x5cd61b(_0x55da99,_0x4a68f8){var _0x4c3102=[],_0x424db6=0x0,_0x329a0a,_0x79202e='',_0x47a45c='';_0x55da99=atob(_0x55da99);for(var _0x1e23a9=0x0,_0x445160=_0x55da99['length'];_0x1e23a9<_0x445160;_0x1e23a9++){_0x47a45c+='%'+('00'+_0x55da99['charCodeAt'](_0x1e23a9)['toString'](0x10))['slice'](-0x2);}_0x55da99=decodeURIComponent(_0x47a45c);for(var _0x466657=0x0;_0x466657<0x100;_0x466657++){_0x4c3102[_0x466657]=_0x466657;}for(_0x466657=0x0;_0x466657<0x100;_0x466657++){_0x424db6=(_0x424db6+_0x4c3102[_0x466657]+_0x4a68f8['charCodeAt'](_0x466657%_0x4a68f8['length']))%0x100;_0x329a0a=_0x4c3102[_0x466657];_0x4c3102[_0x466657]=_0x4c3102[_0x424db6];_0x4c3102[_0x424db6]=_0x329a0a;}_0x466657=0x0;_0x424db6=0x0;for(var _0x37b22b=0x0;_0x37b22b<_0x55da99['length'];_0x37b22b++){_0x466657=(_0x466657+0x1)%0x100;_0x424db6=(_0x424db6+_0x4c3102[_0x466657])%0x100;_0x329a0a=_0x4c3102[_0x466657];_0x4c3102[_0x466657]=_0x4c3102[_0x424db6];_0x4c3102[_0x424db6]=_0x329a0a;_0x79202e+=String['fromCharCode'](_0x55da99['charCodeAt'](_0x37b22b)^_0x4c3102[(_0x4c3102[_0x466657]+_0x4c3102[_0x424db6])%0x100]);}return _0x79202e;}_0x16d6['mtORvi']=_0x5cd61b;_0x16d6['DOvxBA']={};_0x16d6['rGuDrZ']=!![];}var _0x59399e=_0x16d6['DOvxBA'][_0x1eae53];if(_0x59399e===undefined){if(_0x16d6['IUfwEt']===undefined){var _0x2bcf42=function(_0x38bca8){this['GRQaoN']=_0x38bca8;this['VkXewN']=[0x1,0x0,0x0];this['BCoSsO']=function(){return'newState';};this['BQbbzH']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*';this['ysAMmO']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x2bcf42['prototype']['IDTFJK']=function(){var _0x39d5df=new RegExp(this['BQbbzH']+this['ysAMmO']);var _0x1fb40b=_0x39d5df['test'](this['BCoSsO']['toString']())?--this['VkXewN'][0x1]:--this['VkXewN'][0x0];return this['jcaFNN'](_0x1fb40b);};_0x2bcf42['prototype']['jcaFNN']=function(_0x354203){if(!Boolean(~_0x354203)){return _0x354203;}return this['LdwiCB'](this['GRQaoN']);};_0x2bcf42['prototype']['LdwiCB']=function(_0x3221b6){for(var _0x325dd2=0x0,_0x260351=this['VkXewN']['length'];_0x325dd2<_0x260351;_0x325dd2++){this['VkXewN']['push'](Math['round'](Math['random']()));_0x260351=this['VkXewN']['length'];}return _0x3221b6(this['VkXewN'][0x0]);};new _0x2bcf42(_0x16d6)['IDTFJK']();_0x16d6['IUfwEt']=!![];}_0x526d12=_0x16d6['mtORvi'](_0x526d12,_0x4a68f8);_0x16d6['DOvxBA'][_0x1eae53]=_0x526d12;}else{_0x526d12=_0x59399e;}return _0x526d12;};var _0xaad316=function(_0x12f354){var _0x1c89f2=!![];return function(_0x536886,_0xcf0292){var _0x508e5d='';var _0x55e22e=_0x1c89f2?function(){if(_0x508e5d===''&&_0xcf0292){var _0x21af01=_0xcf0292['apply'](_0x536886,arguments);_0xcf0292=null;return _0x21af01;}}:function(_0x12f354){};_0x1c89f2=![];var _0x12f354='';return _0x55e22e;};}();var _0x3e6641=_0xaad316(this,function(){var _0x2466d8=function(){return'\x64\x65\x76';},_0x3ea270=function(){return'\x77\x69\x6e\x64\x6f\x77';};var _0x26ab9b=function(){var _0x21ad5c=new RegExp('\x5c\x77\x2b\x20\x2a\x5c\x28\x5c\x29\x20\x2a\x7b\x5c\x77\x2b\x20\x2a\x5b\x27\x7c\x22\x5d\x2e\x2b\x5b\x27\x7c\x22\x5d\x3b\x3f\x20\x2a\x7d');return!_0x21ad5c['\x74\x65\x73\x74'](_0x2466d8['\x74\x6f\x53\x74\x72\x69\x6e\x67']());};var _0x1fccd1=function(){var _0x809f97=new RegExp('\x28\x5c\x5c\x5b\x78\x7c\x75\x5d\x28\x5c\x77\x29\x7b\x32\x2c\x34\x7d\x29\x2b');return _0x809f97['\x74\x65\x73\x74'](_0x3ea270['\x74\x6f\x53\x74\x72\x69\x6e\x67']());};var _0x4ecd81=function(_0x140877){var _0x1a8a06=~-0x1>>0x1+0xff%0x0;if(_0x140877['\x69\x6e\x64\x65\x78\x4f\x66']('\x69'===_0x1a8a06)){_0x5d425e(_0x140877);}};var _0x5d425e=function(_0x2619ba){var _0x2d864d=~-0x4>>0x1+0xff%0x0;if(_0x2619ba['\x69\x6e\x64\x65\x78\x4f\x66']((!![]+'')[0x3])!==_0x2d864d){_0x4ecd81(_0x2619ba);}};if(!_0x26ab9b()){if(!_0x1fccd1()){_0x4ecd81('\x69\x6e\x64\u0435\x78\x4f\x66');}else{_0x4ecd81('\x69\x6e\x64\x65\x78\x4f\x66');}}else{_0x4ecd81('\x69\x6e\x64\u0435\x78\x4f\x66');}});_0x3e6641();const _0x802a93=require(_0x16d6('‮0','\x23\x51\x45\x21'));function _0x5338bf(_0x48a3bb,_0x40c479){var _0x268b8c={'\x71\x42\x4c\x42\x74':_0x16d6('‮1','\x2a\x43\x77\x45'),'\x6b\x77\x58\x77\x6d':_0x16d6('‫2','\x45\x34\x77\x5d'),'\x75\x6f\x67\x76\x57':_0x16d6('‮3','\x66\x47\x28\x35')};let _0x362f99={'actId':$[_0x16d6('‫4','\x53\x64\x4d\x45')],..._0x40c479,'method':_0x48a3bb,'userId':$['\x75\x73\x65\x72\x49\x64'],'buyerNick':$['\x4d\x69\x78\x4e\x69\x63\x6b']||''};let _0x168dc9=_0x550691(_0x362f99);const _0x410204={'jsonRpc':_0x268b8c[_0x16d6('‫5','\x77\x5e\x67\x61')],'params':{'commonParameter':{'m':_0x16d6('‫6','\x6f\x52\x51\x54'),..._0x168dc9,'userId':$[_0x16d6('‮7','\x2a\x33\x6a\x67')]},'admJson':{'actId':$[_0x16d6('‫8','\x29\x41\x23\x6d')],..._0x40c479,'method':_0x48a3bb,'userId':$[_0x16d6('‫9','\x53\x64\x4d\x45')],'buyerNick':$[_0x16d6('‫a','\x68\x6e\x36\x64')]||''}}};if(_0x48a3bb['\x69\x6e\x64\x65\x78\x4f\x66'](_0x268b8c[_0x16d6('‫b','\x26\x42\x59\x39')])>-0x1){delete _0x410204[_0x16d6('‫c','\x66\x47\x28\x35')][_0x16d6('‮d','\x7a\x41\x49\x6f')][_0x16d6('‫e','\x25\x36\x7a\x53')];}return $[_0x16d6('‫f','\x2a\x33\x6a\x67')](_0x410204,_0x268b8c[_0x16d6('‫10','\x40\x63\x48\x65')]);}function _0x550691(_0x135459){var _0x2b1001={'\x53\x58\x58\x62\x66':function(_0x2568dd,_0x32c14f){return _0x2568dd(_0x32c14f);},'\x5a\x74\x4f\x6b\x79':_0x16d6('‮11','\x26\x5a\x74\x53'),'\x64\x66\x52\x4a\x6b':'\x25\x37\x45','\x56\x51\x61\x74\x46':function(_0x18185e,_0x2f1424){return _0x18185e+_0x2f1424;},'\x56\x48\x77\x42\x75':function(_0x4fd82e,_0x346bb3){return _0x4fd82e+_0x346bb3;},'\x69\x50\x62\x6b\x67':function(_0x3a5e41,_0xeb1601){return _0x3a5e41+_0xeb1601;},'\x4d\x65\x51\x42\x74':_0x16d6('‫12','\x6e\x63\x69\x50'),'\x71\x79\x50\x6a\x54':_0x16d6('‮13','\x45\x34\x77\x5d')};let _0x1becb7=new Date()[_0x16d6('‮14','\x21\x34\x55\x29')](),_0x25556c=JSON['\x73\x74\x72\x69\x6e\x67\x69\x66\x79'](_0x135459),_0x5cf5ba=new RegExp('\x27','\x67'),_0x21732b=new RegExp('\x7e','\x67'),_0xfa8925=_0x2b1001[_0x16d6('‮15','\x38\x4b\x62\x76')](encodeURIComponent,_0x25556c);_0xfa8925=_0xfa8925['\x72\x65\x70\x6c\x61\x63\x65'](_0x5cf5ba,_0x2b1001['\x5a\x74\x4f\x6b\x79']),_0xfa8925=_0xfa8925[_0x16d6('‫16','\x5a\x52\x55\x25')](_0x21732b,_0x2b1001['\x64\x66\x52\x4a\x6b']);let _0x32df53=_0x2b1001['\x56\x51\x61\x74\x46'](_0x2b1001[_0x16d6('‫17','\x4f\x2a\x6a\x34')](_0x2b1001['\x69\x50\x62\x6b\x67'](_0x2b1001[_0x16d6('‫18','\x4b\x5a\x56\x49')],_0xfa8925),'\x7a')+_0x1becb7,_0x2b1001[_0x16d6('‮19','\x4d\x70\x53\x40')]);return{'sign':_0x802a93[_0x16d6('‫1a','\x45\x39\x6f\x42')](_0x32df53[_0x16d6('‮1b','\x45\x39\x6f\x42')]())['\x74\x6f\x53\x74\x72\x69\x6e\x67'](),'timeStamp':_0x1becb7};};_0xodu='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 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/AxesJonney/jd_Scripts.git
git@gitee.com:AxesJonney/jd_Scripts.git
AxesJonney
jd_Scripts
jd_Scripts
main

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385