加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
jd_mpdz_car_help.js 46.33 KB
一键复制 编辑 原始数据 按行查看 历史
gys619 提交于 2022-10-28 05:10 . up
/*
头文字j纯助力 环境变量 mpdzHelp 多助力码 & 分开
每月跑一次就行了
16 10,14,18 * * * jd_mpdz_help.js
*/
const $ = new Env("头文字j助力");
const jdCookieNode = $.isNode() ? require('./jdCookie.js') : '';
const notify = $.isNode() ? require('./sendNotify') : '';
let cookiesArr = [], cookie = '', message = '';
const CryptoJS = require("crypto-js")
let ownCode = null;
let mpdzHelp = process.env.mpdzHelpCode ?? '';
if ($.isNode()) {
Object.keys(jdCookieNode).forEach((item) => {
cookiesArr.push(jdCookieNode[item])
})
if (process.env.JD_DEBUG && process.env.JD_DEBUG === 'false') console.log = () => { };
} else {
let cookiesData = $.getdata('CookiesJD') || "[]";
cookiesData = JSON.parse(cookiesData);
cookiesArr = cookiesData.map(item => item.cookie);
cookiesArr.reverse();
cookiesArr.push(...[$.getdata('CookieJD2'), $.getdata('CookieJD')]);
cookiesArr.reverse();
cookiesArr = cookiesArr.filter(item => !!item);
}
if (process.env.mpdzHelpCode) {
if (process.env.mpdzHelpCode.indexOf('&') > -1) {
mpdzHelp = process.env.mpdzHelpCode.split('&');
} else if (process.env.mpdzHelpCode.indexOf('\n') > -1) {
mpdzHelp = process.env.mpdzHelpCode.split('\n');
} else {
mpdzHelp = [process.env.mpdzHelpCode];
}
}
var _0xodF='jsjiami.com.v6',_0xodF_=['‮_0xodF'],_0x1415=[_0xodF,'ZFpmV2M=','SG1UUlI=','ZldkdEE=','Ym9keT0lN0IlMjJ1cmwlMjIlM0ElMjAlMjJodHRwcyUzQS8vbHprai1pc3YuaXN2amNsb3VkLmNvbSUyMiUyQyUyMCUyMmlkJTIyJTNBJTIwJTIyJTIyJTdEJnV1aWQ9aGp1ZHdnb2h4elZ1OTZrcnYmY2xpZW50PWFwcGxlJmNsaWVudFZlcnNpb249OS40LjAmc3Q9MTYyMDQ3NjE2MjAwMCZzdj0xMTEmc2lnbj1mOWQxYjdlM2I5NDNiNmExMzZkNTRmZTRmODkyYWYwNQ==','eURvWnk=','eUtxQ3o=','UWVwR2M=','WUtsY1c=','aGhsTmw=','cXJQcFc=','U2hBUkc=','U0lNelU=','enBjckw=','cVpIbXE=','R1p1am4=','bVd5b0Y=','S2xFaXk=','dUhoeFI=','Y29kZQ==','UVp0UUQ=','UXRCT2w=','bldNZWI=','clZYeW8=','RURsRGg=','a1RWdEU=','dEN0UXk=','aGZvcmg=','enZYTEU=','TG14WVU=','TEhNSEk=','Rk11cnI=','cmVwbGFjZQ==','QmZpaW4=','bGdRQU0=','ZWJMTEo=','RXBUeEg=','SEdmZ2s=','SUhyRVA=','ZVFFd24=','V3ZPdGQ=','aHR0cHM6Ly9tZS1hcGkuamQuY29tL3VzZXJfbmV3L2luZm8vR2V0SkRVc2VySW5mb1VuaW9u','TW96aWxsYS81LjAgKGlQaG9uZTsgQ1BVIGlQaG9uZSBPUyAxNF8zIGxpa2UgTWFjIE9TIFgpIEFwcGxlV2ViS2l0LzYwNS4xLjE1IChLSFRNTCwgbGlrZSBHZWNrbykgVmVyc2lvbi8xNC4wLjIgTW9iaWxlLzE1RTE0OCBTYWZhcmkvNjA0LjE=','aHR0cHM6Ly9ob21lLm0uamQuY29tL215SmQvbmV3aG9tZS5hY3Rpb24/c2NlbmV2YWw9MiZ1ZmM9Jg==','cm1vU1Q=','bWUtYXBpLmpkLmNvbQ==','ZHd2Q2s=','VUl6YXI=','emgtY24=','WlprZmc=','cml5RmY=','dkVCSmQ=','V3hza1k=','aUlKWlo=','c1ZLQ1Y=','ZmJuRHk=','ZkxXQlA=','SXdqa3Q=','U1N4T2M=','bWtOWVk=','R3JOWGU=','V2JhZFc=','dENhTnQ=','YXZOUXI=','Q015Rmk=','R2x5Zkg=','Z1hpamM=','Z2V0','eU9YUlk=','RUpGck4=','WGt1bmc=','cm5UbEE=','bG9nRXJy','dWFERVg=','dmN5dG4=','dXNlckluZm8=','YmFzZUluZm8=','bmlja25hbWU=','cmV0Y29kZQ==','MTAwMQ==','UFJ1VnI=','QlhDYm0=','WXRkZlo=','WFdWREo=','TG9MbWo=','SWtLbXo=','RkZUUXc=','SHVwS1Q=','ZlJOQnM=','UkJHbEM=','RnZSckg=','WFNNd1c=','cFRZVkM=','aGFzT3duUHJvcGVydHk=','S3hHSmM=','RlRZTEI=','V3VLbWU=','ODU2MjMzMTIwNDQyNTg0NjQzMjUyMjc2NjY4ODM1NDY=','MjU3NDc3MTc=','JTI3','JTdF','dmFsdWVPZg==','bnRSR1M=','TGF2VlE=','bkpkWVY=','WXRnZEg=','dHFyR1o=','YWRtanNvbg==','TUQ1','dG9Mb3dlckNhc2U=','44CQ5o+Q56S644CR6K+35YWI6I635Y+W5Lqs5Lic6LSm5Y+35LiAY29va2llCuebtOaOpeS9v+eUqE5vYnlEYeeahOS6rOS4nOetvuWIsOiOt+WPlg==','aHR0cHM6Ly9iZWFuLm0uamQuY29tL2JlYW4vc2lnbkluZGV4LmFjdGlvbg==','eHBQdUg=','eVpJQko=','emdBakE=','ald0T0M=','YXJVU1Y=','5aS05paH5a2Xaue6r+WKqeWKmyDnjq/looPlj5jph48gbXBkekhlbHAg5aSa5Yqp5Yqb56CBICYg5YiG5byA','eHh4eHh4eHgteHh4eC14eHh4LXh4eHgteHh4eHh4eHh4eHh4','eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eA==','MjE2OTkwNDU=','MTAyOTkxNzE=','bXNn','bmFtZQ==','dUFDVlA=','Vk1mUlc=','YWN0Q29kZQ==','Wm5vYWo=','bGVuZ3Ro','cHVzaA==','c2xpY2U=','Z2twQXM=','a29EVlY=','Rm5Ycko=','bWFw','YWxs','YUxHWFU=','cmFuZG9t','VUhybHM=','UUNBYVA=','dG9TdHJpbmc=','dG9VcHBlckNhc2U=','bG9n','5rKh5pyJ5oiQ5Yqf6I635Y+W5Yiw55So5oi36Ym05p2D5L+h5oGv','T3FSUXQ=','UEt2VUo=','U0hxSUc=','TGlEVGg=','Y2FTZVo=','Zmxvb3I=','V1psSlA=','VEhOdHo=','TUxJSEc=','VXNlck5hbWU=','dFBsZGo=','bWF0Y2g=','aW5kZXg=','V2JFamc=','aXNMb2dpbg==','bmlja05hbWU=','aG5OS1U=','CioqKioqKuW8gOWni+OAkOS6rOS4nOi0puWPtw==','KioqKioqKioqCg==','44CQ5o+Q56S644CRY29va2ll5bey5aSx5pWI','5Lqs5Lic6LSm5Y+3','Cuivt+mHjeaWsOeZu+W9leiOt+WPlgpodHRwczovL2JlYW4ubS5qZC5jb20vYmVhbi9zaWduSW5kZXguYWN0aW9u','aXNOb2Rl','YmVhbg==','QURJRA==','Sk9GdXY=','eGVhdkw=','VVVJRA==','UWl0Vks=','VHFveFg=','YXBwa2V5','aGhFdmo=','dXNlcklk','QlRtV1k=','YWN0SWQ=','MTc2MDAwNw==','YXV0aG9yQ29kZQ==','dHV3TEk=','d2FpdA==','b016WkI=','CuOAkOS6rOS4nOi0puWPtw==','IAogICAgICAg4pSUIOiOt+W+lyA=','IOS6rOixhuOAgg==','5Lqs5Lic6L+U5Zue5LqG56m65pWw5o2u','Y2F0Y2g=','LCDlpLHotKUhIOWOn+WboDog','ZmluYWxseQ==','ZG9uZQ==','YnJST0E=','YWN0aXZpdHkvbG9hZA==','MS7liqnlipvnoIEgLT4g','Mi7ljrvliqnlipsgLT4=','bWlzc2lvbi9jb21wbGV0ZU1pc3Npb24=','c2hhcmVBY3Q=','SXZDWlk=','bFhGdWk=','dG9rZW4=','YnV5ZXJOaWNr','YWN0aXZpdHlJbmZv','dGFza0xpc3Q=','YW5Sb2E=','Z2V0Q3VzU2hvcHNob3BJZA==','ZGF0YQ==','Y3VzU2hvcA==','c2hvcElk','bUxNb2w=','Q3psVGQ=','eGZzckU=','SHlNWkY=','RGRPQVk=','Uk5TU3A=','bXVUS1k=','5rKh5pyJ5oiQ5Yqf6I635Y+W5Yiw55So5oi35L+h5oGv','emlNYWg=','aVpKWVQ=','RWVPaGI=','SktKaEY=','eVdmbVY=','aldpZFE=','eGNyRWg=','bWlzc2lvbi9jb21wbGV0ZVN0YXRl','Y3VzU2hvcC9nZXRDdXNTaG9w','Y3VzU2hvcC9nZXRDdXNTaG9wUHJvZHVjdA==','cmVwb3J0L3RlbXBvcmFyeQ==','cmNpekc=','Qlp1Z2U=','Z2FtZS9zZW5kR2FtZUF3YXJk','5Lqs5Lic5rKh5pyJ6L+U5Zue5pWw5o2u','Mi4w','TGFFUEQ=','UE9TVA==','L2pkQ2FyZFJ1bm5pbmcv','YXNzaWdu','cGFyYW1z','YWRtSnNvbg==','Y29tbW9uUGFyYW1ldGVy','c2lnbg==','dGltZXN0YW1w','dGltZVN0YW1w','cG9zdA==','T2xydGw=','SGxXUnk=','UUhZU3k=','TE9PTkc=','dGJER1Q=','eGNzWFQ=','QnZIb1A=','Ym1MTGs=','WFB2V1k=','TEN6Z1M=','cGFyc2U=','c3VjY2Vzcw==','ak91THQ=','YUdodUo=','c3RhdHVz','bWlzc2lvbkN1c3RvbWVy','dXNlcl9pZA==','Y3VzQWN0aXZpdHk=','YWN0VXBMb2FkSWQ=','cmVtYWluQ2hhbmNl','QVRReG0=','Wm1USlo=','RGN5aVQ=','cmVtYXJr','cm9MZVc=','bnNVVWI=','d1lhT0o=','Z2V0Q3VzU2hvcFByb2R1Y3RudW1JZA==','Y3VzU2hvcFByb2R1Y3Q=','bnVtSWQ=','Z2FtZS9wbGF5R2FtZQ==','Z2FtZUxvZ0lk','Y2RGdkw=','cXhDanE=','ekdtanQ=','eWhQT00=','SWN1Rmw=','R1BLYXA=','bXBkei1jYXItZHouaXN2amNsb3VkLmNvbQ==','YXBwbGljYXRpb24vanNvbg==','WE1MSHR0cFJlcXVlc3Q=','Z3ppcCwgZGVmbGF0ZSwgYnI=','aHR0cHM6Ly9tcGR6LWNhci1kei5pc3ZqY2xvdWQuY29t','a2VlcC1hbGl2ZQ==','aHR0cHM6Ly9tcGR6LWNhci1kei5pc3ZqY2xvdWQuY29tL2RtL2Zyb250L2pkQ2FyZFJ1bm5pbmcv','P29wZW5faWQ9Jm1peF9uaWNrPQ==','JnVzZXJfaWQ9','JnB1c2hfd2F5PTEmdXNlcl9pZD0=','TW5mQUM=','V2FuU1c=','WUpDdU0=','emgtQ04semgtSGFucztxPTAuOQ==','bFVjeHg=','YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==','aVBYaGg=','amRhcHA7aVBob25lOzkuNS40OzEzLjY7','O25ldHdvcmsvd2lmaTtBRElELw==','O21vZGVsL2lQaG9uZTEwLDM7YWRkcmVzc2lkLzA7YXBwQnVpbGQvMTY3NjY4O2pkU3VwcG9ydERhcmtNb2RlLzA7TW96aWxsYS81LjAgKGlQaG9uZTsgQ1BVIGlQaG9uZSBPUyAxM182IGxpa2UgTWFjIE9TIFgpIEFwcGxlV2ViS2l0LzYwNS4xLjE1IChLSFRNTCwgbGlrZSBHZWNrbykgTW9iaWxlLzE1RTE0ODtzdXBwb3J0SkRTSFdLLzE=','Z2FnRkg=','aHR0cHM6Ly9tcGR6LWNhci1kei5pc3ZqY2xvdWQuY29tL2pkYmV2ZXJhZ2UvcGFnZXMvcGFva3UvcGFva3U/Yml6RXh0U3RyaW5nPSZmcm9tPWtvdWxpbmcmc2lkPSZ1bl9hcmVhPQ==','c3RyaW5naWZ5','YWN0aXZpdGllc19wbGF0Zm9ybQ==','NEFWUWFvK2VIOFE4a3ZtWG5XbWtHOGVmL2ZOcjVmZGVqbkQ5KzlVZ2JlYz0=','cGFydGljaXBhdGVJbnZpdGVUYXNr','YXBpLm0uamQuY29t','YXBwbGljYXRpb24vanNvbiwgdGV4dC9wbGFpbiwgKi8q','YXBwbGljYXRpb24veC13d3ctZm9ybS11cmxlbmNvZGVk','aHR0cHM6Ly9hc3NpZ25tZW50LmpkLmNvbQ==','Li9KU19VU0VSX0FHRU5UUw==','SlNVQQ==','YXBwaWRTaWdu','U1RtV1E=','dU1abFg=','Q0tMUmU=','aHR0cHM6Ly9hcGkubS5qZC5jb20v','ZnVuY3Rpb25JZD1UYXNrSW52aXRlU2VydmljZSZib2R5PQ==','RmJOU0I=','a29QYUs=','JmFwcGlkPW1hcmtldC10YXNrLWg1JnV1aWQ9Jl90PQ==','bm93','Y0RYaHg=','YmJNamE=','Y1RtRUY=','R1ZJekI=','Wll3Y08=','ZW52','SlNfVVNFUl9BR0VOVA==','dmdnVlY=','b2NRcHU=','VVNFUl9BR0VOVA==','Z2V0ZGF0YQ==','c3BZb3o=','J2pkbHRhcHA7aVBhZDszLjEuMDsxNC40O25ldHdvcmsvd2lmaTtNb3ppbGxhLzUuMCAoaVBhZDsgQ1BVIE9TIDE0XzQgbGlrZSBNYWMgT1MgWCkgQXBwbGVXZWJLaXQvNjA1LjEuMTUgKEtIVE1MLCBsaWtlIEdlY2tvKSBNb2JpbGUvMTVFMTQ4O3N1cHBvcnRKRFNIV0svMQ==','aHR0cHM6Ly9hc3NpZ25tZW50LmpkLmNvbS8=','YlhPbGE=','bGplZWw=','dHVGQVI=','Rm9WTVQ=','Ki8q','SkQ0aVBob25lLzE2NzY1MCAoaVBob25lOyBpT1MgMTMuNzsgU2NhbGUvMy4wMCk=','emgtSGFucy1DTjtxPTE=','aHR0cHM6Ly9hcGkubS5qZC5jb20vY2xpZW50LmFjdGlvbj9mdW5jdGlvbklkPWlzdk9iZnVzY2F0b3I=','QXlReUc=','Z1pzc0Q=','NxjsjiQIaTIIEwmiJ.comA.v6JT=='];if(function(_0xc96cdd,_0xe96a7b,_0xd5bbad){function _0x343e8c(_0x3b9bf2,_0x205151,_0x34be02,_0x2acaad,_0x9d760b,_0x4d8cdd){_0x205151=_0x205151>>0x8,_0x9d760b='po';var _0x5f6fcc='shift',_0x46d1a9='push',_0x4d8cdd='';if(_0x205151<_0x3b9bf2){while(--_0x3b9bf2){_0x2acaad=_0xc96cdd[_0x5f6fcc]();if(_0x205151===_0x3b9bf2&&_0x4d8cdd===''&&_0x4d8cdd['length']===0x1){_0x205151=_0x2acaad,_0x34be02=_0xc96cdd[_0x9d760b+'p']();}else if(_0x205151&&_0x34be02['replace'](/[NxQITIIEwJAJT=]/g,'')===_0x205151){_0xc96cdd[_0x46d1a9](_0x2acaad);}}_0xc96cdd[_0x46d1a9](_0xc96cdd[_0x5f6fcc]());}return 0x10dfda;};return _0x343e8c(++_0xe96a7b,_0xd5bbad)>>_0xe96a7b^_0xd5bbad;}(_0x1415,0x1c8,0x1c800),_0x1415){_0xodF_=_0x1415['length']^0x1c8;};function _0x1f71(_0xf9fbd7,_0x1a522e){_0xf9fbd7=~~'0x'['concat'](_0xf9fbd7['slice'](0x1));var _0xcf07ff=_0x1415[_0xf9fbd7];if(_0x1f71['iPoWXI']===undefined&&''['length']===0x1){(function(){var _0x3d1216;try{var _0x19c2ac=Function('return\x20(function()\x20'+'{}.constructor(\x22return\x20this\x22)(\x20)'+');');_0x3d1216=_0x19c2ac();}catch(_0x245266){_0x3d1216=window;}var _0x36d839='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';_0x3d1216['atob']||(_0x3d1216['atob']=function(_0x4881da){var _0x3a3c22=String(_0x4881da)['replace'](/=+$/,'');for(var _0x2c487e=0x0,_0x403fa9,_0x49e5e8,_0x58158b=0x0,_0x124e43='';_0x49e5e8=_0x3a3c22['charAt'](_0x58158b++);~_0x49e5e8&&(_0x403fa9=_0x2c487e%0x4?_0x403fa9*0x40+_0x49e5e8:_0x49e5e8,_0x2c487e++%0x4)?_0x124e43+=String['fromCharCode'](0xff&_0x403fa9>>(-0x2*_0x2c487e&0x6)):0x0){_0x49e5e8=_0x36d839['indexOf'](_0x49e5e8);}return _0x124e43;});}());_0x1f71['eAjAWL']=function(_0x5c7016){var _0x90b9ba=atob(_0x5c7016);var _0x174267=[];for(var _0x4ab54b=0x0,_0x3712fe=_0x90b9ba['length'];_0x4ab54b<_0x3712fe;_0x4ab54b++){_0x174267+='%'+('00'+_0x90b9ba['charCodeAt'](_0x4ab54b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x174267);};_0x1f71['IoKGLF']={};_0x1f71['iPoWXI']=!![];}var _0x32b541=_0x1f71['IoKGLF'][_0xf9fbd7];if(_0x32b541===undefined){_0xcf07ff=_0x1f71['eAjAWL'](_0xcf07ff);_0x1f71['IoKGLF'][_0xf9fbd7]=_0xcf07ff;}else{_0xcf07ff=_0x32b541;}return _0xcf07ff;};!(async()=>{var _0x407fbb={'aLGXU':function(_0x1dd228,_0x513c4d){return _0x1dd228|_0x513c4d;},'UHrls':function(_0x58ff26,_0x248e72){return _0x58ff26|_0x248e72;},'QCAaP':function(_0x3a8fa0,_0x5b71e4){return _0x3a8fa0&_0x5b71e4;},'caSeZ':function(_0x6c3c59,_0x438dfa){return _0x6c3c59+_0x438dfa;},'WZlJP':function(_0x46b756,_0x1f2a04){return _0x46b756*_0x1f2a04;},'THNtz':function(_0x34b608,_0xb019a2){return _0x34b608-_0xb019a2;},'uACVP':_0x1f71('‫0'),'VMfRW':_0x1f71('‮1'),'Znoaj':function(_0x4e5406,_0x2b24f3){return _0x4e5406<_0x2b24f3;},'gkpAs':function(_0x179017,_0x27907c){return _0x179017+_0x27907c;},'koDVV':_0x1f71('‮2'),'FnXrJ':_0x1f71('‫3'),'OqRQt':function(_0x3c88ca,_0x370dd6){return _0x3c88ca!==_0x370dd6;},'PKvUJ':_0x1f71('‮4'),'SHqIG':_0x1f71('‫5'),'LiDTh':_0x1f71('‫6'),'MLIHG':_0x1f71('‫7'),'tPldj':function(_0x3fd940,_0x22bb17){return _0x3fd940(_0x22bb17);},'WbEjg':function(_0xf4777d,_0x5ddd7e){return _0xf4777d+_0x5ddd7e;},'hnNKU':function(_0x3036c6){return _0x3036c6();},'JOFuv':function(_0x19bd6b,_0x33510d,_0x4c9719){return _0x19bd6b(_0x33510d,_0x4c9719);},'xeavL':_0x1f71('‮8'),'QitVK':function(_0xa15334,_0x6a7f94){return _0xa15334(_0x6a7f94);},'TqoxX':_0x1f71('‫9'),'hhEvj':_0x1f71('‮a'),'BTmWY':_0x1f71('‮b'),'tuwLI':function(_0x491f1c,_0x276cc5,_0x3e5811){return _0x491f1c(_0x276cc5,_0x3e5811);},'oMzZB':function(_0x515ac8,_0x1b370c){return _0x515ac8>_0x1b370c;}};if(!cookiesArr[0x0]){$[_0x1f71('‫c')]($[_0x1f71('‫d')],_0x407fbb[_0x1f71('‮e')],_0x1f71('‮1'),{'open-url':_0x407fbb[_0x1f71('‮f')]});return;}$[_0x1f71('‫10')]=0x0;let _0x598ba7=[];for(let _0x66721=0x0;_0x407fbb[_0x1f71('‮11')](_0x66721,cookiesArr[_0x1f71('‮12')]);_0x66721+=0x32){_0x598ba7[_0x1f71('‮13')](cookiesArr[_0x1f71('‫14')](_0x66721,_0x407fbb[_0x1f71('‮15')](_0x66721,0x32)));}for(let _0x4f95db=0x0;_0x4f95db<_0x598ba7[_0x1f71('‮12')];_0x4f95db++){if(_0x407fbb[_0x1f71('‮16')]===_0x407fbb[_0x1f71('‮16')]){try{if(_0x407fbb[_0x1f71('‫17')]===_0x407fbb[_0x1f71('‫17')]){let _0x30d584=_0x598ba7[_0x4f95db];const _0x4012e2=_0x30d584[_0x1f71('‫18')]((_0x544bca,_0x3f0c12)=>main(_0x544bca));await Promise[_0x1f71('‮19')](_0x4012e2);}else{var _0x36425b=_0x407fbb[_0x1f71('‮1a')](Math[_0x1f71('‮1b')]()*0x10,0x0),_0x3813c1=c=='x'?_0x36425b:_0x407fbb[_0x1f71('‫1c')](_0x407fbb[_0x1f71('‫1d')](_0x36425b,0x3),0x8);if(UpperCase){uuid=_0x3813c1[_0x1f71('‮1e')](0x24)[_0x1f71('‮1f')]();}else{uuid=_0x3813c1[_0x1f71('‮1e')](0x24);}return uuid;}}catch(_0x5753c9){}}else{$[_0x1f71('‮20')](_0x1f71('‮21'));}}if($[_0x1f71('‫10')]===0x1){if(_0x407fbb[_0x1f71('‫22')](_0x407fbb[_0x1f71('‮23')],_0x407fbb[_0x1f71('‮24')])){for(let _0x32077c=0x0;_0x407fbb[_0x1f71('‮11')](_0x32077c,cookiesArr[_0x1f71('‮12')]);_0x32077c++){if(_0x1f71('‫6')!==_0x407fbb[_0x1f71('‮25')]){return _0x407fbb[_0x1f71('‫26')](Math[_0x1f71('‫27')](_0x407fbb[_0x1f71('‫28')](Math[_0x1f71('‮1b')](),_0x407fbb[_0x1f71('‫29')](max,min))),min);}else{if(mpdzHelp[_0x1f71('‮12')]===0x0){console[_0x1f71('‮20')](_0x407fbb[_0x1f71('‫2a')]);break;}if(cookiesArr[_0x32077c]){cookie=cookiesArr[_0x32077c];originCookie=cookiesArr[_0x32077c];newCookie='';$[_0x1f71('‮2b')]=_0x407fbb[_0x1f71('‫2c')](decodeURIComponent,cookie[_0x1f71('‫2d')](/pt_pin=(.+?);/)&&cookie[_0x1f71('‫2d')](/pt_pin=(.+?);/)[0x1]);$[_0x1f71('‫2e')]=_0x407fbb[_0x1f71('‮2f')](_0x32077c,0x1);$[_0x1f71('‮30')]=!![];$[_0x1f71('‮31')]='';await _0x407fbb[_0x1f71('‫32')](checkCookie);console[_0x1f71('‮20')](_0x1f71('‫33')+$[_0x1f71('‫2e')]+''+($[_0x1f71('‮31')]||$[_0x1f71('‮2b')])+_0x1f71('‫34'));if(!$[_0x1f71('‮30')]){$[_0x1f71('‫c')]($[_0x1f71('‫d')],_0x1f71('‮35'),_0x1f71('‫36')+$[_0x1f71('‫2e')]+'\x20'+($[_0x1f71('‮31')]||$[_0x1f71('‮2b')])+_0x1f71('‮37'),{'open-url':_0x1f71('‮1')});if($[_0x1f71('‫38')]()){}continue;}$[_0x1f71('‮39')]=0x0;$[_0x1f71('‮3a')]=_0x407fbb[_0x1f71('‫3b')](getUUID,_0x407fbb[_0x1f71('‫3c')],0x1);$[_0x1f71('‮3d')]=_0x407fbb[_0x1f71('‮3e')](getUUID,_0x407fbb[_0x1f71('‮3f')]);authorCodeList=mpdzHelp;$[_0x1f71('‮40')]=_0x407fbb[_0x1f71('‫41')];$[_0x1f71('‮42')]=_0x407fbb[_0x1f71('‫43')];$[_0x1f71('‫44')]=_0x1f71('‫45');$[_0x1f71('‮46')]=authorCodeList[_0x407fbb[_0x1f71('‫47')](random,0x0,authorCodeList[_0x1f71('‮12')])];await mpdz();await $[_0x1f71('‫48')](0x7d0);if(_0x407fbb[_0x1f71('‮49')]($[_0x1f71('‮39')],0x0)){message+=_0x1f71('‫4a')+$[_0x1f71('‫2e')]+''+($[_0x1f71('‮31')]||$[_0x1f71('‮2b')])+_0x1f71('‮4b')+$[_0x1f71('‮39')]+_0x1f71('‮4c');}}}}}else{$[_0x1f71('‮20')](_0x1f71('‫4d'));}}})()[_0x1f71('‫4e')](_0x28caaa=>{$[_0x1f71('‮20')]('','\x20'+$[_0x1f71('‫d')]+_0x1f71('‫4f')+_0x28caaa+'!','');})[_0x1f71('‫50')](()=>{$[_0x1f71('‮51')]();});async function mpdz(){var _0x259b1b={'anRoa':_0x1f71('‮52'),'mLMol':function(_0x1b5107,_0x11eb9b,_0x6b80c4,_0x4b39f8){return _0x1b5107(_0x11eb9b,_0x6b80c4,_0x4b39f8);},'CzlTd':_0x1f71('‮53'),'xfsrE':function(_0x32c31e,_0x10f906){return _0x32c31e+_0x10f906;},'HyMZF':_0x1f71('‮54'),'DdOAY':_0x1f71('‮55'),'RNSSp':_0x1f71('‮56'),'muTKY':_0x1f71('‮57'),'ziMah':function(_0x4d830d,_0x26e7de){return _0x4d830d===_0x26e7de;},'iZJYT':_0x1f71('‫58'),'EeOhb':_0x1f71('‮59')};$[_0x1f71('‮5a')]=null;$[_0x1f71('‮5b')]=null;$[_0x1f71('‮5c')]=null;$[_0x1f71('‮5d')]=null;await getToken();console[_0x1f71('‮20')]($[_0x1f71('‮5a')]);if($[_0x1f71('‮5a')]){if(_0x1f71('‮52')!==_0x259b1b[_0x1f71('‮5e')]){$[_0x1f71('‫5f')]=data[_0x1f71('‫60')][_0x1f71('‫60')][_0x1f71('‫61')][_0x1f71('‫62')];}else{await $[_0x1f71('‫48')](0xbb8);await _0x259b1b[_0x1f71('‮63')](task,_0x259b1b[_0x1f71('‮64')],{'inviteNick':$[_0x1f71('‮46')],'jdToken':$[_0x1f71('‮5a')],'shopId':null},0x0);await $[_0x1f71('‫48')](0xbb8);if($[_0x1f71('‮5b')]){console[_0x1f71('‮20')](_0x259b1b[_0x1f71('‮65')](_0x259b1b[_0x1f71('‮66')],$[_0x1f71('‮5b')]));await $[_0x1f71('‫48')](0xbb8);console[_0x1f71('‮20')](_0x259b1b[_0x1f71('‮67')]);await task(_0x259b1b[_0x1f71('‫68')],{'missionType':_0x259b1b[_0x1f71('‫69')],'inviterNick':$[_0x1f71('‮46')]});await $[_0x1f71('‫48')](0xbb8);}else{$[_0x1f71('‮20')](_0x1f71('‫6a'));}}}else{if(_0x259b1b[_0x1f71('‮6b')](_0x259b1b[_0x1f71('‮6c')],_0x259b1b[_0x1f71('‮6d')])){$[_0x1f71('‮51')]();}else{$[_0x1f71('‮20')](_0x1f71('‮21'));}}}function task(_0x27a804,_0xe212c4,_0x4691e9=0x1){var _0x2fbf42={'HlWRy':_0x1f71('‮1'),'QHYSy':function(_0xad734d,_0x5e0937){return _0xad734d!==_0x5e0937;},'LOONG':_0x1f71('‮6e'),'xcsXT':function(_0x36754f,_0x3ebfd9){return _0x36754f===_0x3ebfd9;},'LCzgS':_0x1f71('‮6f'),'jOuLt':_0x1f71('‫70'),'ATQxm':_0x1f71('‮56'),'DcyiT':_0x1f71('‫71'),'roLeW':_0x1f71('‮72'),'nsUUb':_0x1f71('‫73'),'wYaOJ':_0x1f71('‫74'),'cdFvL':_0x1f71('‮75'),'qxCjq':_0x1f71('‫76'),'zGmjt':_0x1f71('‫77'),'yhPOM':_0x1f71('‫78'),'IcuFl':_0x1f71('‮79'),'GPKap':function(_0x28fb5c){return _0x28fb5c();},'Olrtl':function(_0x33170a,_0x59f0d3,_0x8328dc,_0x4a1d27){return _0x33170a(_0x59f0d3,_0x8328dc,_0x4a1d27);},'LaEPD':_0x1f71('‮7a')};body={'jsonRpc':_0x2fbf42[_0x1f71('‫7b')],'params':{'commonParameter':{'appkey':$[_0x1f71('‮40')],'m':_0x1f71('‮7c'),'userId':$[_0x1f71('‮42')]},'admJson':{'actId':$[_0x1f71('‫44')],'method':_0x1f71('‫7d')+_0x27a804,'userId':$[_0x1f71('‮42')],'buyerNick':$[_0x1f71('‮5b')]?$[_0x1f71('‮5b')]:''}}};Object[_0x1f71('‮7e')](body[_0x1f71('‮7f')][_0x1f71('‫80')],_0xe212c4);let _0x92560=getSign(body[_0x1f71('‮7f')][_0x1f71('‫80')]);body[_0x1f71('‮7f')][_0x1f71('‫81')][_0x1f71('‫82')]=_0x92560[_0x1f71('‫82')];body[_0x1f71('‮7f')][_0x1f71('‫81')][_0x1f71('‮83')]=_0x92560[_0x1f71('‮84')];return new Promise(_0x1e38a9=>{$[_0x1f71('‮85')](_0x2fbf42[_0x1f71('‮86')](taskUrl,_0x27a804,body,_0x4691e9),async(_0x440dd4,_0x4e59d8,_0x479088)=>{var _0x50aab9={'XPvWY':_0x2fbf42[_0x1f71('‫87')]};try{if(_0x2fbf42[_0x1f71('‮88')](_0x2fbf42[_0x1f71('‫89')],_0x1f71('‫8a'))){if(_0x440dd4){$[_0x1f71('‮20')](_0x440dd4);}else{if(_0x2fbf42[_0x1f71('‫8b')](_0x1f71('‫8c'),_0x1f71('‮8d'))){$[_0x1f71('‫c')]($[_0x1f71('‫d')],_0x1f71('‫0'),_0x50aab9[_0x1f71('‮8e')],{'open-url':_0x50aab9[_0x1f71('‮8e')]});return;}else{if(_0x479088){if(_0x2fbf42[_0x1f71('‫8f')]!==_0x2fbf42[_0x1f71('‫8f')]){$[_0x1f71('‮30')]=![];return;}else{_0x479088=JSON[_0x1f71('‮90')](_0x479088);if(_0x479088[_0x1f71('‮91')]){if(_0x2fbf42[_0x1f71('‮92')]===_0x1f71('‮93')){$[_0x1f71('‮20')](_0x440dd4);}else{if(_0x479088[_0x1f71('‫60')][_0x1f71('‮94')]){switch(_0x27a804){case _0x1f71('‮53'):$[_0x1f71('‮5b')]=_0x479088[_0x1f71('‫60')][_0x1f71('‫60')][_0x1f71('‫95')][_0x1f71('‮5b')];$[_0x1f71('‫96')]=_0x479088[_0x1f71('‫60')][_0x1f71('‫60')][_0x1f71('‮97')][_0x1f71('‫98')];$[_0x1f71('‫95')]=_0x479088[_0x1f71('‫60')][_0x1f71('‫60')][_0x1f71('‫95')];$[_0x1f71('‮99')]=_0x479088[_0x1f71('‫60')][_0x1f71('‫60')][_0x1f71('‫95')][_0x1f71('‮99')];break;case _0x2fbf42[_0x1f71('‮9a')]:if(_0x479088[_0x1f71('‫60')][_0x1f71('‮94')]===0x1f4){if(_0x2fbf42[_0x1f71('‮88')](_0x1f71('‫9b'),_0x2fbf42[_0x1f71('‮9c')])){console[_0x1f71('‮20')](_0x479088[_0x1f71('‫60')][_0x1f71('‫c')]);}else{console[_0x1f71('‮20')](_0x479088[_0x1f71('‫60')][_0x1f71('‫c')]);}}else if(_0x2fbf42[_0x1f71('‫8b')](_0x479088[_0x1f71('‫60')][_0x1f71('‮94')],0xc8)){console[_0x1f71('‮20')](_0x479088[_0x1f71('‫60')][_0x1f71('‫60')][_0x1f71('‮9d')]);}break;case _0x2fbf42[_0x1f71('‫9e')]:if(_0x479088[_0x1f71('‫60')][_0x1f71('‮94')]){$[_0x1f71('‮5d')]=_0x479088[_0x1f71('‫60')][_0x1f71('‫60')];}break;case _0x2fbf42[_0x1f71('‮9f')]:if(_0x479088[_0x1f71('‫60')][_0x1f71('‮94')]){$[_0x1f71('‫5f')]=_0x479088[_0x1f71('‫60')][_0x1f71('‫60')][_0x1f71('‫61')][_0x1f71('‫62')];}break;case _0x2fbf42[_0x1f71('‫a0')]:if(_0x479088[_0x1f71('‫60')][_0x1f71('‮94')]){$[_0x1f71('‫a1')]=_0x479088[_0x1f71('‫60')][_0x1f71('‫60')][_0x1f71('‫a2')][_0x1f71('‮a3')];}break;case _0x1f71('‫a4'):if(_0x479088[_0x1f71('‫60')][_0x1f71('‮94')]){$[_0x1f71('‮a5')]=_0x479088[_0x1f71('‫60')][_0x1f71('‫60')][_0x1f71('‮a5')];}break;case _0x2fbf42[_0x1f71('‮a6')]:if(_0x479088[_0x1f71('‫60')][_0x1f71('‮94')]){if(_0x2fbf42[_0x1f71('‫8b')](_0x2fbf42[_0x1f71('‮a7')],_0x2fbf42[_0x1f71('‫a8')])){$[_0x1f71('‮20')](_0x1f71('‫6a'));}else{console[_0x1f71('‮20')](_0x479088[_0x1f71('‫60')]);}}break;case _0x2fbf42[_0x1f71('‫a9')]:if(_0x479088[_0x1f71('‫60')][_0x1f71('‮94')]){console[_0x1f71('‮20')](_0x479088[_0x1f71('‫60')]);}break;default:break;}}}}}}else{$[_0x1f71('‮20')](_0x2fbf42[_0x1f71('‫aa')]);}}}}else{uuid=v[_0x1f71('‮1e')](0x24);}}catch(_0x432827){$[_0x1f71('‮20')](_0x432827);}finally{_0x2fbf42[_0x1f71('‮ab')](_0x1e38a9);}});});}function taskUrl(_0x4ac675,_0x550fce,_0x1703db=0x1){var _0x3f77fb={'MnfAC':_0x1f71('‫ac'),'WanSW':_0x1f71('‮ad'),'YJCuM':_0x1f71('‮ae'),'lUcxx':_0x1f71('‮af'),'iPXhh':_0x1f71('‫b0'),'gagFH':_0x1f71('‮b1')};return{'url':_0x1703db?_0x1f71('‮b2')+_0x4ac675+_0x1f71('‫b3')+($[_0x1f71('‮5b')]?$[_0x1f71('‮5b')]:'')+_0x1f71('‮b4')+($[_0x1f71('‫96')]?$[_0x1f71('‫96')]:''):_0x1f71('‮b2')+_0x4ac675+_0x1f71('‫b3')+($[_0x1f71('‮5b')]?$[_0x1f71('‮5b')]:'')+_0x1f71('‫b5')+($[_0x1f71('‫96')]?$[_0x1f71('‫96')]:''),'headers':{'Host':_0x3f77fb[_0x1f71('‮b6')],'Accept':_0x3f77fb[_0x1f71('‫b7')],'X-Requested-With':_0x3f77fb[_0x1f71('‮b8')],'Accept-Language':_0x1f71('‫b9'),'Accept-Encoding':_0x3f77fb[_0x1f71('‫ba')],'Content-Type':_0x1f71('‫bb'),'Origin':_0x3f77fb[_0x1f71('‮bc')],'User-Agent':_0x1f71('‫bd')+$[_0x1f71('‮3d')]+_0x1f71('‮be')+$[_0x1f71('‮3a')]+_0x1f71('‮bf'),'Connection':_0x3f77fb[_0x1f71('‫c0')],'Referer':_0x1f71('‫c1'),'Cookie':cookie},'body':JSON[_0x1f71('‫c2')](_0x550fce)};}async function main(_0x2b650a){var _0x3c2df0={'STmWQ':_0x1f71('‮c3'),'uMZlX':_0x1f71('‮c4'),'CKLRe':function(_0x395b51,_0x269ada){return _0x395b51*_0x269ada;},'FbNSB':_0x1f71('‫c5'),'koPaK':function(_0xc5a4aa,_0x432cbd){return _0xc5a4aa(_0x432cbd);},'cDXhx':_0x1f71('‫c6'),'bbMja':_0x1f71('‮c7'),'cTmEF':_0x1f71('‫c8'),'GVIzB':_0x1f71('‫c9'),'ZYwcO':_0x1f71('‫b9'),'vggVV':function(_0x536818,_0x4945f3){return _0x536818(_0x4945f3);},'ocQpu':_0x1f71('‮ca'),'spYoz':_0x1f71('‫cb'),'bXOla':_0x1f71('‮af')};$[_0x1f71('‫10')]=0x1;$[_0x1f71('‮cc')]=_0x3c2df0[_0x1f71('‮cd')];const _0x2902e3=[_0x3c2df0[_0x1f71('‫ce')]];let _0x4333c8=_0x2902e3[Math[_0x1f71('‫27')](_0x3c2df0[_0x1f71('‫cf')](Math[_0x1f71('‮1b')](),_0x2902e3[_0x1f71('‮12')]))];let _0x15825a={'url':_0x1f71('‫d0'),'body':_0x1f71('‫d1')+JSON[_0x1f71('‫c2')]({'method':_0x3c2df0[_0x1f71('‮d2')],'data':{'channel':'1','encryptionInviterPin':_0x3c2df0[_0x1f71('‫d3')](encodeURIComponent,_0x4333c8),'type':0x1}})+_0x1f71('‫d4')+Date[_0x1f71('‮d5')](),'headers':{'Host':_0x3c2df0[_0x1f71('‫d6')],'Accept':_0x3c2df0[_0x1f71('‫d7')],'Content-Type':_0x3c2df0[_0x1f71('‫d8')],'Origin':_0x3c2df0[_0x1f71('‮d9')],'Accept-Language':_0x3c2df0[_0x1f71('‮da')],'User-Agent':$[_0x1f71('‫38')]()?process[_0x1f71('‮db')][_0x1f71('‮dc')]?process[_0x1f71('‮db')][_0x1f71('‮dc')]:_0x3c2df0[_0x1f71('‮dd')](require,_0x3c2df0[_0x1f71('‫de')])[_0x1f71('‮df')]:$[_0x1f71('‫e0')](_0x3c2df0[_0x1f71('‮e1')])?$[_0x1f71('‫e0')](_0x1f71('‫cb')):_0x1f71('‮e2'),'Referer':_0x1f71('‫e3'),'Accept-Encoding':_0x3c2df0[_0x1f71('‮e4')],'Cookie':_0x2b650a}};$[_0x1f71('‮85')](_0x15825a,(_0x598e38,_0x1c95c2,_0x33c547)=>{});}function getToken(){var _0xb4bc74={'yDoZy':function(_0x456990){return _0x456990();},'yKqCz':_0x1f71('‮79'),'QepGc':function(_0x29f575,_0x325c45){return _0x29f575===_0x325c45;},'YKlcW':_0x1f71('‮e5'),'qrPpW':_0x1f71('‫e6'),'ShARG':_0x1f71('‫4d'),'SIMzU':_0x1f71('‫e7'),'AyQyG':_0x1f71('‫c8'),'gZssD':_0x1f71('‫e8'),'dZfWc':_0x1f71('‮b1'),'HmTRR':_0x1f71('‫e9'),'fWdtA':_0x1f71('‮ea')};let _0x48b771={'url':_0x1f71('‫eb'),'headers':{'Host':_0x1f71('‫c6'),'Content-Type':_0xb4bc74[_0x1f71('‮ec')],'Accept':_0xb4bc74[_0x1f71('‫ed')],'Connection':_0xb4bc74[_0x1f71('‫ee')],'Cookie':cookie,'User-Agent':_0xb4bc74[_0x1f71('‮ef')],'Accept-Language':_0xb4bc74[_0x1f71('‫f0')],'Accept-Encoding':_0x1f71('‮af')},'body':_0x1f71('‫f1')};return new Promise(_0x9597ef=>{var _0x20aa55={'kTVtE':function(_0x1d1e81){return _0xb4bc74[_0x1f71('‮f2')](_0x1d1e81);},'zvXLE':_0xb4bc74[_0x1f71('‮f3')],'zpcrL':function(_0x598071){return _0x598071();},'qZHmq':function(_0x166d9d,_0x242fee){return _0xb4bc74[_0x1f71('‫f4')](_0x166d9d,_0x242fee);},'GZujn':_0xb4bc74[_0x1f71('‫f5')],'mWyoF':_0x1f71('‫f6'),'uHhxR':_0xb4bc74[_0x1f71('‮f7')],'QZtQD':function(_0x8d6fee,_0x2a58ac){return _0xb4bc74[_0x1f71('‫f4')](_0x8d6fee,_0x2a58ac);},'EDlDh':_0xb4bc74[_0x1f71('‮f8')],'tCtQy':_0xb4bc74[_0x1f71('‮f9')],'hforh':function(_0x5064a5){return _0x5064a5();}};$[_0x1f71('‮85')](_0x48b771,(_0x7e5105,_0x5b5211,_0x43f9da)=>{var _0x316e46={'rVXyo':function(_0x22ef05){return _0x20aa55[_0x1f71('‮fa')](_0x22ef05);}};if(_0x20aa55[_0x1f71('‫fb')](_0x20aa55[_0x1f71('‫fc')],_0x1f71('‮e5'))){try{if(_0x7e5105){$[_0x1f71('‮20')](_0x7e5105);}else{if(_0x20aa55[_0x1f71('‫fb')](_0x1f71('‫f6'),_0x20aa55[_0x1f71('‮fd')])){if(_0x43f9da){if(_0x20aa55[_0x1f71('‫fb')](_0x1f71('‫fe'),_0x20aa55[_0x1f71('‫ff')])){$[_0x1f71('‮20')](error);}else{_0x43f9da=JSON[_0x1f71('‮90')](_0x43f9da);if(_0x20aa55[_0x1f71('‫fb')](_0x43f9da[_0x1f71('‮100')],'0')){if(_0x20aa55[_0x1f71('‫101')](_0x1f71('‮102'),_0x1f71('‮103'))){_0x316e46[_0x1f71('‫104')](_0x9597ef);}else{$[_0x1f71('‮5a')]=_0x43f9da[_0x1f71('‮5a')];}}}}else{$[_0x1f71('‮20')](_0x20aa55[_0x1f71('‫105')]);}}else{_0x20aa55[_0x1f71('‮106')](_0x9597ef);}}}catch(_0x55e9e3){if(_0x20aa55[_0x1f71('‫107')]!==_0x1f71('‫e7')){console[_0x1f71('‮20')](_0x43f9da[_0x1f71('‫60')]);}else{$[_0x1f71('‮20')](_0x55e9e3);}}finally{_0x20aa55[_0x1f71('‫108')](_0x9597ef);}}else{$[_0x1f71('‮20')](_0x20aa55[_0x1f71('‫109')]);}});});}function random(_0x252437,_0x5e882b){var _0x44c759={'LmxYU':function(_0x4738cc,_0x506189){return _0x4738cc+_0x506189;},'LHMHI':function(_0x992f5f,_0x39213a){return _0x992f5f-_0x39213a;}};return _0x44c759[_0x1f71('‫10a')](Math[_0x1f71('‫27')](Math[_0x1f71('‮1b')]()*_0x44c759[_0x1f71('‮10b')](_0x5e882b,_0x252437)),_0x252437);}function getUUID(_0x1b8759=_0x1f71('‫9'),_0x3e1966=0x0){var _0x54ec70={'Bfiin':function(_0x24a54f,_0x5b57af){return _0x24a54f|_0x5b57af;},'lgQAM':function(_0x3f4032,_0x1817f5){return _0x3f4032*_0x1817f5;},'ebLLJ':function(_0x2b0527,_0x340700){return _0x2b0527==_0x340700;},'EpTxH':function(_0x19bdae,_0x218f35){return _0x19bdae&_0x218f35;},'HGfgk':_0x1f71('‮10c')};return _0x1b8759[_0x1f71('‮10d')](/[xy]/g,function(_0x54bdcd){var _0xaa13c1=_0x54ec70[_0x1f71('‮10e')](_0x54ec70[_0x1f71('‮10f')](Math[_0x1f71('‮1b')](),0x10),0x0),_0x564f19=_0x54ec70[_0x1f71('‮110')](_0x54bdcd,'x')?_0xaa13c1:_0x54ec70[_0x1f71('‮10e')](_0x54ec70[_0x1f71('‫111')](_0xaa13c1,0x3),0x8);if(_0x3e1966){uuid=_0x564f19[_0x1f71('‮1e')](0x24)[_0x1f71('‮1f')]();}else{if(_0x54ec70[_0x1f71('‮112')]!==_0x54ec70[_0x1f71('‮112')]){$[_0x1f71('‮5a')]=data[_0x1f71('‮5a')];}else{uuid=_0x564f19[_0x1f71('‮1e')](0x24);}}return uuid;});}function checkCookie(){var _0x5ae77c={'vEBJd':_0x1f71('‮c4'),'WxskY':function(_0x5e38dc,_0x2e0bf){return _0x5e38dc*_0x2e0bf;},'iIJZZ':_0x1f71('‮c7'),'sVKCV':_0x1f71('‫c8'),'fbnDy':_0x1f71('‫b9'),'fLWBP':_0x1f71('‮ca'),'Iwjkt':_0x1f71('‮e2'),'riyFf':_0x1f71('‮af'),'SSxOc':function(_0x1d126e,_0x5e0063){return _0x1d126e===_0x5e0063;},'mkNYY':_0x1f71('‮113'),'GrNXe':_0x1f71('‫114'),'tCaNt':_0x1f71('‮115'),'rmoST':_0x1f71('‮116'),'dwvCk':_0x1f71('‮b1'),'UIzar':_0x1f71('‫117'),'ZZkfg':_0x1f71('‮118')};const _0x4c81ec={'url':_0x5ae77c[_0x1f71('‮119')],'headers':{'Host':_0x1f71('‮11a'),'Accept':_0x1f71('‫e8'),'Connection':_0x5ae77c[_0x1f71('‮11b')],'Cookie':cookie,'User-Agent':_0x5ae77c[_0x1f71('‮11c')],'Accept-Language':_0x1f71('‮11d'),'Referer':_0x5ae77c[_0x1f71('‫11e')],'Accept-Encoding':_0x5ae77c[_0x1f71('‮11f')]}};return new Promise(_0x36dd45=>{var _0x579c73={'XWVDJ':_0x5ae77c[_0x1f71('‫120')],'LoLmj':function(_0x2459b0,_0x5c3f83){return _0x5ae77c[_0x1f71('‮121')](_0x2459b0,_0x5c3f83);},'IkKmz':_0x1f71('‫c6'),'FFTQw':_0x5ae77c[_0x1f71('‫122')],'HupKT':_0x5ae77c[_0x1f71('‮123')],'fRNBs':_0x5ae77c[_0x1f71('‮124')],'RBGlC':function(_0x98abc2,_0x5e0553){return _0x98abc2(_0x5e0553);},'FvRrH':_0x5ae77c[_0x1f71('‮125')],'XSMwW':_0x5ae77c[_0x1f71('‮126')],'pTYVC':_0x5ae77c[_0x1f71('‮11f')],'FTYLB':_0x1f71('‫4d'),'yOXRY':function(_0x47caab,_0xa6f8c){return _0x5ae77c[_0x1f71('‫127')](_0x47caab,_0xa6f8c);},'EJFrN':_0x5ae77c[_0x1f71('‫128')],'Xkung':_0x5ae77c[_0x1f71('‫129')],'rnTlA':_0x1f71('‫12a'),'uaDEX':function(_0x3b521d,_0x3fc685){return _0x3b521d!==_0x3fc685;},'vcytn':_0x5ae77c[_0x1f71('‫12b')],'PRuVr':function(_0x9655dd,_0x43f59b){return _0x5ae77c[_0x1f71('‫127')](_0x9655dd,_0x43f59b);},'BXCbm':_0x1f71('‫12c'),'YtdfZ':_0x1f71('‫12d'),'KxGJc':_0x1f71('‫12e'),'WuKme':_0x1f71('‫12f')};$[_0x1f71('‫130')](_0x4c81ec,(_0x47af0f,_0x2b8f1c,_0x22394f)=>{if(_0x579c73[_0x1f71('‮131')](_0x579c73[_0x1f71('‫132')],_0x579c73[_0x1f71('‮133')])){_0x22394f=JSON[_0x1f71('‮90')](_0x22394f);if(_0x22394f[_0x1f71('‮100')]==='0'){$[_0x1f71('‮5a')]=_0x22394f[_0x1f71('‮5a')];}}else{try{if(_0x47af0f){if(_0x579c73[_0x1f71('‮131')](_0x579c73[_0x1f71('‫134')],_0x1f71('‫12a'))){$[_0x1f71('‫135')](_0x47af0f);}else{uuid=v[_0x1f71('‮1e')](0x24)[_0x1f71('‮1f')]();}}else{if(_0x22394f){if(_0x579c73[_0x1f71('‫136')](_0x579c73[_0x1f71('‮137')],_0x1f71('‮115'))){$[_0x1f71('‮31')]=_0x22394f[_0x1f71('‫60')][_0x1f71('‫138')][_0x1f71('‮139')][_0x1f71('‮13a')];}else{_0x22394f=JSON[_0x1f71('‮90')](_0x22394f);if(_0x22394f[_0x1f71('‮13b')]===_0x1f71('‫13c')){if(_0x579c73[_0x1f71('‮13d')](_0x579c73[_0x1f71('‫13e')],_0x579c73[_0x1f71('‫13f')])){$[_0x1f71('‫10')]=0x1;$[_0x1f71('‮cc')]=_0x1f71('‮c3');const _0x540e60=[_0x579c73[_0x1f71('‮140')]];let _0x42ebee=_0x540e60[Math[_0x1f71('‫27')](_0x579c73[_0x1f71('‮141')](Math[_0x1f71('‮1b')](),_0x540e60[_0x1f71('‮12')]))];let _0x135dbe={'url':_0x1f71('‫d0'),'body':_0x1f71('‫d1')+JSON[_0x1f71('‫c2')]({'method':_0x1f71('‫c5'),'data':{'channel':'1','encryptionInviterPin':encodeURIComponent(_0x42ebee),'type':0x1}})+_0x1f71('‫d4')+Date[_0x1f71('‮d5')](),'headers':{'Host':_0x579c73[_0x1f71('‮142')],'Accept':_0x579c73[_0x1f71('‫143')],'Content-Type':_0x579c73[_0x1f71('‫144')],'Origin':_0x1f71('‫c9'),'Accept-Language':_0x579c73[_0x1f71('‫145')],'User-Agent':$[_0x1f71('‫38')]()?process[_0x1f71('‮db')][_0x1f71('‮dc')]?process[_0x1f71('‮db')][_0x1f71('‮dc')]:_0x579c73[_0x1f71('‮146')](require,_0x579c73[_0x1f71('‮147')])[_0x1f71('‮df')]:$[_0x1f71('‫e0')](_0x1f71('‫cb'))?$[_0x1f71('‫e0')](_0x1f71('‫cb')):_0x579c73[_0x1f71('‮148')],'Referer':_0x1f71('‫e3'),'Accept-Encoding':_0x579c73[_0x1f71('‫149')],'Cookie':maincookie}};$[_0x1f71('‮85')](_0x135dbe,(_0xa4c731,_0x31fcee,_0x26bc61)=>{});}else{$[_0x1f71('‮30')]=![];return;}}if(_0x22394f[_0x1f71('‮13b')]==='0'&&_0x22394f[_0x1f71('‫60')][_0x1f71('‮14a')](_0x1f71('‫138'))){$[_0x1f71('‮31')]=_0x22394f[_0x1f71('‫60')][_0x1f71('‫138')][_0x1f71('‮139')][_0x1f71('‮13a')];}}}else{$[_0x1f71('‮20')](_0x1f71('‫4d'));}}}catch(_0x3ca3ce){if(_0x579c73[_0x1f71('‮14b')]===_0x579c73[_0x1f71('‮14b')]){$[_0x1f71('‫135')](_0x3ca3ce);}else{if(_0x22394f){_0x22394f=JSON[_0x1f71('‮90')](_0x22394f);if(_0x22394f[_0x1f71('‮100')]==='0'){$[_0x1f71('‮5a')]=_0x22394f[_0x1f71('‮5a')];}}else{$[_0x1f71('‮20')](_0x579c73[_0x1f71('‮14c')]);}}}finally{if(_0x579c73[_0x1f71('‮13d')](_0x579c73[_0x1f71('‫14d')],_0x579c73[_0x1f71('‫14d')])){_0x36dd45();}else{$[_0x1f71('‮20')](error);}}}});});}function getSign(_0x5c9f05){var _0x15b27a={'ntRGS':_0x1f71('‫14e'),'LavVQ':_0x1f71('‮14f'),'nJdYV':_0x1f71('‫150'),'YtgdH':_0x1f71('‫151'),'tqrGZ':function(_0x5cfbe1,_0x16e255){return _0x5cfbe1+_0x16e255;}};var _0x48fb22=new Date()[_0x1f71('‮152')](),_0x3ecdf9=_0x15b27a[_0x1f71('‮153')],_0x4acead=_0x15b27a[_0x1f71('‮154')],_0x1e24ba=JSON[_0x1f71('‫c2')](_0x5c9f05),_0x2f9c4e=encodeURIComponent(_0x1e24ba),_0x32d8e2=new RegExp('\x27','g'),_0xec4c41=new RegExp('~','g'),_0x2f9c4e=_0x2f9c4e[_0x1f71('‮10d')](_0x32d8e2,_0x15b27a[_0x1f71('‮155')]),_0x2f9c4e=_0x2f9c4e[_0x1f71('‮10d')](_0xec4c41,_0x15b27a[_0x1f71('‫156')]),_0x417824=_0x15b27a[_0x1f71('‫157')](_0x15b27a[_0x1f71('‫157')](_0x15b27a[_0x1f71('‫157')](_0x4acead+_0x1f71('‫158'),_0x2f9c4e),_0x1f71('‮40'))+_0x4acead+_0x1f71('‮83'),_0x48fb22)+_0x3ecdf9;return{'sign':CryptoJS[_0x1f71('‮159')](_0x417824[_0x1f71('‫15a')]())[_0x1f71('‮1e')](),'timeStamp':_0x48fb22};};_0xodF='jsjiami.com.v6';
// prettier-ignore
!function (n) { "use strict"; function t(n, t) { var r = (65535 & n) + (65535 & t); return (n >> 16) + (t >> 16) + (r >> 16) << 16 | 65535 & r } function r(n, t) { return n << t | n >>> 32 - t } function e(n, e, o, u, c, f) { return t(r(t(t(e, n), t(u, f)), c), o) } function o(n, t, r, o, u, c, f) { return e(t & r | ~t & o, n, t, u, c, f) } function u(n, t, r, o, u, c, f) { return e(t & o | r & ~o, n, t, u, c, f) } function c(n, t, r, o, u, c, f) { return e(t ^ r ^ o, n, t, u, c, f) } function f(n, t, r, o, u, c, f) { return e(r ^ (t | ~o), n, t, u, c, f) } function i(n, r) { n[r >> 5] |= 128 << r % 32, n[14 + (r + 64 >>> 9 << 4)] = r; var e, i, a, d, h, l = 1732584193, g = -271733879, v = -1732584194, m = 271733878; for (e = 0; e < n.length; e += 16)i = l, a = g, d = v, h = m, g = f(g = f(g = f(g = f(g = c(g = c(g = c(g = c(g = u(g = u(g = u(g = u(g = o(g = o(g = o(g = o(g, v = o(v, m = o(m, l = o(l, g, v, m, n[e], 7, -680876936), g, v, n[e + 1], 12, -389564586), l, g, n[e + 2], 17, 606105819), m, l, n[e + 3], 22, -1044525330), v = o(v, m = o(m, l = o(l, g, v, m, n[e + 4], 7, -176418897), g, v, n[e + 5], 12, 1200080426), l, g, n[e + 6], 17, -1473231341), m, l, n[e + 7], 22, -45705983), v = o(v, m = o(m, l = o(l, g, v, m, n[e + 8], 7, 1770035416), g, v, n[e + 9], 12, -1958414417), l, g, n[e + 10], 17, -42063), m, l, n[e + 11], 22, -1990404162), v = o(v, m = o(m, l = o(l, g, v, m, n[e + 12], 7, 1804603682), g, v, n[e + 13], 12, -40341101), l, g, n[e + 14], 17, -1502002290), m, l, n[e + 15], 22, 1236535329), v = u(v, m = u(m, l = u(l, g, v, m, n[e + 1], 5, -165796510), g, v, n[e + 6], 9, -1069501632), l, g, n[e + 11], 14, 643717713), m, l, n[e], 20, -373897302), v = u(v, m = u(m, l = u(l, g, v, m, n[e + 5], 5, -701558691), g, v, n[e + 10], 9, 38016083), l, g, n[e + 15], 14, -660478335), m, l, n[e + 4], 20, -405537848), v = u(v, m = u(m, l = u(l, g, v, m, n[e + 9], 5, 568446438), g, v, n[e + 14], 9, -1019803690), l, g, n[e + 3], 14, -187363961), m, l, n[e + 8], 20, 1163531501), v = u(v, m = u(m, l = u(l, g, v, m, n[e + 13], 5, -1444681467), g, v, n[e + 2], 9, -51403784), l, g, n[e + 7], 14, 1735328473), m, l, n[e + 12], 20, -1926607734), v = c(v, m = c(m, l = c(l, g, v, m, n[e + 5], 4, -378558), g, v, n[e + 8], 11, -2022574463), l, g, n[e + 11], 16, 1839030562), m, l, n[e + 14], 23, -35309556), v = c(v, m = c(m, l = c(l, g, v, m, n[e + 1], 4, -1530992060), g, v, n[e + 4], 11, 1272893353), l, g, n[e + 7], 16, -155497632), m, l, n[e + 10], 23, -1094730640), v = c(v, m = c(m, l = c(l, g, v, m, n[e + 13], 4, 681279174), g, v, n[e], 11, -358537222), l, g, n[e + 3], 16, -722521979), m, l, n[e + 6], 23, 76029189), v = c(v, m = c(m, l = c(l, g, v, m, n[e + 9], 4, -640364487), g, v, n[e + 12], 11, -421815835), l, g, n[e + 15], 16, 530742520), m, l, n[e + 2], 23, -995338651), v = f(v, m = f(m, l = f(l, g, v, m, n[e], 6, -198630844), g, v, n[e + 7], 10, 1126891415), l, g, n[e + 14], 15, -1416354905), m, l, n[e + 5], 21, -57434055), v = f(v, m = f(m, l = f(l, g, v, m, n[e + 12], 6, 1700485571), g, v, n[e + 3], 10, -1894986606), l, g, n[e + 10], 15, -1051523), m, l, n[e + 1], 21, -2054922799), v = f(v, m = f(m, l = f(l, g, v, m, n[e + 8], 6, 1873313359), g, v, n[e + 15], 10, -30611744), l, g, n[e + 6], 15, -1560198380), m, l, n[e + 13], 21, 1309151649), v = f(v, m = f(m, l = f(l, g, v, m, n[e + 4], 6, -145523070), g, v, n[e + 11], 10, -1120210379), l, g, n[e + 2], 15, 718787259), m, l, n[e + 9], 21, -343485551), l = t(l, i), g = t(g, a), v = t(v, d), m = t(m, h); return [l, g, v, m] } function a(n) { var t, r = "", e = 32 * n.length; for (t = 0; t < e; t += 8)r += String.fromCharCode(n[t >> 5] >>> t % 32 & 255); return r } function d(n) { var t, r = []; for (r[(n.length >> 2) - 1] = void 0, t = 0; t < r.length; t += 1)r[t] = 0; var e = 8 * n.length; for (t = 0; t < e; t += 8)r[t >> 5] |= (255 & n.charCodeAt(t / 8)) << t % 32; return r } function h(n) { return a(i(d(n), 8 * n.length)) } function l(n, t) { var r, e, o = d(n), u = [], c = []; for (u[15] = c[15] = void 0, o.length > 16 && (o = i(o, 8 * n.length)), r = 0; r < 16; r += 1)u[r] = 909522486 ^ o[r], c[r] = 1549556828 ^ o[r]; return e = i(u.concat(d(t)), 512 + 8 * t.length), a(i(c.concat(e), 640)) } function g(n) { var t, r, e = ""; for (r = 0; r < n.length; r += 1)t = n.charCodeAt(r), e += "0123456789abcdef".charAt(t >>> 4 & 15) + "0123456789abcdef".charAt(15 & t); return e } function v(n) { return unescape(encodeURIComponent(n)) } function m(n) { return h(v(n)) } function p(n) { return g(m(n)) } function s(n, t) { return l(v(n), v(t)) } function C(n, t) { return g(s(n, t)) } function A(n, t, r) { return t ? r ? s(t, n) : C(t, n) : r ? m(n) : p(n) } $.md5 = A }(this);
function Env(t, e) { "undefined" != typeof process && JSON.stringify(process.env).indexOf("GITHUB") > -1 && process.exit(0); class s { constructor(t) { this.env = t } send(t, e = "GET") { t = "string" == typeof t ? { url: t } : t; let s = this.get; return "POST" === e && (s = this.post), new Promise((e, i) => { s.call(this, t, (t, s, r) => { t ? i(t) : e(s) }) }) } get(t) { return this.send.call(this.env, t) } post(t) { return this.send.call(this.env, t, "POST") } } return new class { constructor(t, e) { this.name = t, this.http = new s(this), this.data = null, this.dataFile = "box.dat", this.logs = [], this.isMute = !1, this.isNeedRewrite = !1, this.logSeparator = "\n", this.startTime = (new Date).getTime(), Object.assign(this, e), this.log("", `🔔${this.name}, 开始!`) } isNode() { return "undefined" != typeof module && !!module.exports } isQuanX() { return "undefined" != typeof $task } isSurge() { return "undefined" != typeof $httpClient && "undefined" == typeof $loon } isLoon() { return "undefined" != typeof $loon } toObj(t, e = null) { try { return JSON.parse(t) } catch { return e } } toStr(t, e = null) { try { return JSON.stringify(t) } catch { return e } } getjson(t, e) { let s = e; const i = this.getdata(t); if (i) try { s = JSON.parse(this.getdata(t)) } catch { } return s } setjson(t, e) { try { return this.setdata(JSON.stringify(t), e) } catch { return !1 } } getScript(t) { return new Promise(e => { this.get({ url: t }, (t, s, i) => e(i)) }) } runScript(t, e) { return new Promise(s => { let i = this.getdata("@chavy_boxjs_userCfgs.httpapi"); i = i ? i.replace(/\n/g, "").trim() : i; let r = this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout"); r = r ? 1 * r : 20, r = e && e.timeout ? e.timeout : r; const [o, h] = i.split("@"), n = { url: `http://${h}/v1/scripting/evaluate`, body: { script_text: t, mock_type: "cron", timeout: r }, headers: { "X-Key": o, Accept: "*/*" } }; this.post(n, (t, e, i) => s(i)) }).catch(t => this.logErr(t)) } loaddata() { if (!this.isNode()) return {}; { this.fs = this.fs ? this.fs : require("fs"), this.path = this.path ? this.path : require("path"); const t = this.path.resolve(this.dataFile), e = this.path.resolve(process.cwd(), this.dataFile), s = this.fs.existsSync(t), i = !s && this.fs.existsSync(e); if (!s && !i) return {}; { const i = s ? t : e; try { return JSON.parse(this.fs.readFileSync(i)) } catch (t) { return {} } } } } writedata() { if (this.isNode()) { this.fs = this.fs ? this.fs : require("fs"), this.path = this.path ? this.path : require("path"); const t = this.path.resolve(this.dataFile), e = this.path.resolve(process.cwd(), this.dataFile), s = this.fs.existsSync(t), i = !s && this.fs.existsSync(e), r = JSON.stringify(this.data); s ? this.fs.writeFileSync(t, r) : i ? this.fs.writeFileSync(e, r) : this.fs.writeFileSync(t, r) } } lodash_get(t, e, s) { const i = e.replace(/\[(\d+)\]/g, ".$1").split("."); let r = t; for (const t of i) if (r = Object(r)[t], void 0 === r) return s; return r } lodash_set(t, e, s) { return Object(t) !== t ? t : (Array.isArray(e) || (e = e.toString().match(/[^.[\]]+/g) || []), e.slice(0, -1).reduce((t, s, i) => Object(t[s]) === t[s] ? t[s] : t[s] = Math.abs(e[i + 1]) >> 0 == +e[i + 1] ? [] : {}, t)[e[e.length - 1]] = s, t) } getdata(t) { let e = this.getval(t); if (/^@/.test(t)) { const [, s, i] = /^@(.*?)\.(.*?)$/.exec(t), r = s ? this.getval(s) : ""; if (r) try { const t = JSON.parse(r); e = t ? this.lodash_get(t, i, "") : e } catch (t) { e = "" } } return e } setdata(t, e) { let s = !1; if (/^@/.test(e)) { const [, i, r] = /^@(.*?)\.(.*?)$/.exec(e), o = this.getval(i), h = i ? "null" === o ? null : o || "{}" : "{}"; try { const e = JSON.parse(h); this.lodash_set(e, r, t), s = this.setval(JSON.stringify(e), i) } catch (e) { const o = {}; this.lodash_set(o, r, t), s = this.setval(JSON.stringify(o), i) } } else s = this.setval(t, e); return s } getval(t) { return this.isSurge() || this.isLoon() ? $persistentStore.read(t) : this.isQuanX() ? $prefs.valueForKey(t) : this.isNode() ? (this.data = this.loaddata(), this.data[t]) : this.data && this.data[t] || null } setval(t, e) { return this.isSurge() || this.isLoon() ? $persistentStore.write(t, e) : this.isQuanX() ? $prefs.setValueForKey(t, e) : this.isNode() ? (this.data = this.loaddata(), this.data[e] = t, this.writedata(), !0) : this.data && this.data[e] || null } initGotEnv(t) { this.got = this.got ? this.got : require("got"), this.cktough = this.cktough ? this.cktough : require("tough-cookie"), this.ckjar = this.ckjar ? this.ckjar : new this.cktough.CookieJar, t && (t.headers = t.headers ? t.headers : {}, void 0 === t.headers.Cookie && void 0 === t.cookieJar && (t.cookieJar = this.ckjar)) } get(t, e = (() => { })) { t.headers && (delete t.headers["Content-Type"], delete t.headers["Content-Length"]), this.isSurge() || this.isLoon() ? (this.isSurge() && this.isNeedRewrite && (t.headers = t.headers || {}, Object.assign(t.headers, { "X-Surge-Skip-Scripting": !1 })), $httpClient.get(t, (t, s, i) => { !t && s && (s.body = i, s.statusCode = s.status), e(t, s, i) })) : this.isQuanX() ? (this.isNeedRewrite && (t.opts = t.opts || {}, Object.assign(t.opts, { hints: !1 })), $task.fetch(t).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => e(t))) : this.isNode() && (this.initGotEnv(t), this.got(t).on("redirect", (t, e) => { try { if (t.headers["set-cookie"]) { const s = t.headers["set-cookie"].map(this.cktough.Cookie.parse).toString(); s && this.ckjar.setCookieSync(s, null), e.cookieJar = this.ckjar } } catch (t) { this.logErr(t) } }).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => { const { message: s, response: i } = t; e(s, i, i && i.body) })) } post(t, e = (() => { })) { if (t.body && t.headers && !t.headers["Content-Type"] && (t.headers["Content-Type"] = "application/x-www-form-urlencoded"), t.headers && delete t.headers["Content-Length"], this.isSurge() || this.isLoon()) this.isSurge() && this.isNeedRewrite && (t.headers = t.headers || {}, Object.assign(t.headers, { "X-Surge-Skip-Scripting": !1 })), $httpClient.post(t, (t, s, i) => { !t && s && (s.body = i, s.statusCode = s.status), e(t, s, i) }); else if (this.isQuanX()) t.method = "POST", this.isNeedRewrite && (t.opts = t.opts || {}, Object.assign(t.opts, { hints: !1 })), $task.fetch(t).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => e(t)); else if (this.isNode()) { this.initGotEnv(t); const { url: s, ...i } = t; this.got.post(s, i).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => { const { message: s, response: i } = t; e(s, i, i && i.body) }) } } time(t, e = null) { const s = e ? new Date(e) : new Date; let i = { "M+": s.getMonth() + 1, "d+": s.getDate(), "H+": s.getHours(), "m+": s.getMinutes(), "s+": s.getSeconds(), "q+": Math.floor((s.getMonth() + 3) / 3), S: s.getMilliseconds() }; /(y+)/.test(t) && (t = t.replace(RegExp.$1, (s.getFullYear() + "").substr(4 - RegExp.$1.length))); for (let e in i) new RegExp("(" + e + ")").test(t) && (t = t.replace(RegExp.$1, 1 == RegExp.$1.length ? i[e] : ("00" + i[e]).substr(("" + i[e]).length))); return t } msg(e = t, s = "", i = "", r) { const o = t => { if (!t) return t; if ("string" == typeof t) return this.isLoon() ? t : this.isQuanX() ? { "open-url": t } : this.isSurge() ? { url: t } : void 0; if ("object" == typeof t) { if (this.isLoon()) { let e = t.openUrl || t.url || t["open-url"], s = t.mediaUrl || t["media-url"]; return { openUrl: e, mediaUrl: s } } if (this.isQuanX()) { let e = t["open-url"] || t.url || t.openUrl, s = t["media-url"] || t.mediaUrl; return { "open-url": e, "media-url": s } } if (this.isSurge()) { let e = t.url || t.openUrl || t["open-url"]; return { url: e } } } }; if (this.isMute || (this.isSurge() || this.isLoon() ? $notification.post(e, s, i, o(r)) : this.isQuanX() && $notify(e, s, i, o(r))), !this.isMuteLog) { let t = ["", "==============📣系统通知📣=============="]; t.push(e), s && t.push(s), i && t.push(i), console.log(t.join("\n")), this.logs = this.logs.concat(t) } } log(...t) { t.length > 0 && (this.logs = [...this.logs, ...t]), console.log(t.join(this.logSeparator)) } logErr(t, e) { const s = !this.isSurge() && !this.isQuanX() && !this.isLoon(); s ? this.log("", `❗️${this.name}, 错误!`, t.stack) : this.log("", `❗️${this.name}, 错误!`, t) } wait(t) { return new Promise(e => setTimeout(e, t)) } done(t = {}) { const e = (new Date).getTime(), s = (e - this.startTime) / 1e3; this.log("", `🔔${this.name}, 结束! 🕛 ${s} 秒`), this.log(), (this.isSurge() || this.isQuanX() || this.isLoon()) && $done(t) } }(t, e) }
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化