2 Star 5 Fork 7

LMY / Scripts

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
lx.js 31.35 KB
一键复制 编辑 原始数据 按行查看 历史
LMY 提交于 2022-05-02 06:27 . master
/*
cron 10 12 * * * lx.js
*/
const $ = new Env('联想');
function _0x147796(_0x21311f,_0x4961be){return _0x5ebc(_0x21311f-0x2ea,_0x4961be);}(function(_0x182677,_0x5942d8){function _0xb2b82f(_0x174e1d,_0x767f68){return _0x56af(_0x174e1d- -0x37a,_0x767f68);}function _0x3f65b8(_0x234341,_0x35d32a){return _0x5ebc(_0x35d32a- -0x35e,_0x234341);}const _0x1cacc9=_0x182677();function _0x2ae122(_0x58e6eb,_0x16110e){return _0x5ebc(_0x16110e- -0x1c3,_0x58e6eb);}function _0x38dd4c(_0x242d15,_0x4aaaa1){return _0x5ebc(_0x242d15-0x3c,_0x4aaaa1);}function _0x2b14ec(_0x3f2d65,_0x138f88){return _0x5ebc(_0x3f2d65- -0x21d,_0x138f88);}function _0x34f9c5(_0x3cd4de,_0x13cc92){return _0x5ebc(_0x13cc92-0xd7,_0x3cd4de);}function _0x5f1551(_0x51896a,_0x5a3ffc){return _0x56af(_0x5a3ffc- -0x1ba,_0x51896a);}function _0x2382b2(_0x2af61e,_0x9c3653){return _0x56af(_0x9c3653-0x358,_0x2af61e);}function _0x3621ae(_0x654d43,_0x3a4774){return _0x5ebc(_0x654d43-0x2f0,_0x3a4774);}function _0x4571bf(_0x9557e2,_0x3e9b2b){return _0x5ebc(_0x3e9b2b-0x341,_0x9557e2);}while(!![]){try{const _0x34726a=parseInt(_0x3f65b8('cc[Y',-0x215))/0x1*(parseInt(_0x3f65b8('7NPD',-0x1e6))/0x2)+-parseInt(_0x2382b2(0x4f6,0x4c4))/0x3+parseInt(_0xb2b82f(-0x247,-0x257))/0x4+-parseInt(_0x5f1551(-0x59,-0x4a))/0x5*(-parseInt(_0x3621ae(0x450,')&lt'))/0x6)+-parseInt(_0x3621ae(0x431,'MeQZ'))/0x7+-parseInt(_0x3f65b8('7fiE',-0x209))/0x8+parseInt(_0x38dd4c(0x158,'V4#a'))/0x9*(parseInt(_0x3f65b8('lDAK',-0x21f))/0xa);if(_0x34726a===_0x5942d8)break;else _0x1cacc9['push'](_0x1cacc9['shift']());}catch(_0x318d6e){_0x1cacc9['push'](_0x1cacc9['shift']());}}}(_0x3663,0xa386f));let status;function _0x49ed2e(_0x107863,_0x259e6a){return _0x56af(_0x259e6a- -0x23f,_0x107863);}function _0x4d696f(_0x4c08eb,_0x10c7f8){return _0x56af(_0x10c7f8- -0x389,_0x4c08eb);}function _0x56af(_0x5d24c2,_0x439833){const _0x366304=_0x3663();return _0x56af=function(_0x56af26,_0x3e9079){_0x56af26=_0x56af26-0x11c;let _0x229060=_0x366304[_0x56af26];if(_0x56af['RwDgsk']===undefined){var _0xa9aab9=function(_0x5ebc34){const _0x10035c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x53932b='',_0x3a31a1='';for(let _0x418933=0x0,_0x29a804,_0x2811f2,_0x5ed8aa=0x0;_0x2811f2=_0x5ebc34['charAt'](_0x5ed8aa++);~_0x2811f2&&(_0x29a804=_0x418933%0x4?_0x29a804*0x40+_0x2811f2:_0x2811f2,_0x418933++%0x4)?_0x53932b+=String['fromCharCode'](0xff&_0x29a804>>(-0x2*_0x418933&0x6)):0x0){_0x2811f2=_0x10035c['indexOf'](_0x2811f2);}for(let _0x21011d=0x0,_0x505507=_0x53932b['length'];_0x21011d<_0x505507;_0x21011d++){_0x3a31a1+='%'+('00'+_0x53932b['charCodeAt'](_0x21011d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3a31a1);};_0x56af['BhaskC']=_0xa9aab9,_0x5d24c2=arguments,_0x56af['RwDgsk']=!![];}const _0x227528=_0x366304[0x0],_0x489ea7=_0x56af26+_0x227528,_0x55d3fa=_0x5d24c2[_0x489ea7];return!_0x55d3fa?(_0x229060=_0x56af['BhaskC'](_0x229060),_0x5d24c2[_0x489ea7]=_0x229060):_0x229060=_0x55d3fa,_0x229060;},_0x56af(_0x5d24c2,_0x439833);}function _0x1d5968(_0x3ce8b5,_0x39fad8){return _0x5ebc(_0x39fad8-0x34d,_0x3ce8b5);}function _0x2b19e3(_0x28bbd5,_0xda50bd){return _0x56af(_0xda50bd- -0x2f5,_0x28bbd5);}status=(status=$[_0x4d696f(-0x28c,-0x265)](_0x139976('V4#a',0x117))||'1')>0x1?''+status:'';let lxsjhArr=[],lxzh=($[_0x139976('IHC@',0x12e)]()?process[_0x573e0c(0xe5,0xd3)][_0x139976('NEmO',0x13f)]:$[_0x139976('i3zy',0xf2)](_0x573e0c(0xf9,0x108)))||'';function _0x2b5447(_0x1ab884,_0x38f6cb){return _0x5ebc(_0x1ab884- -0x158,_0x38f6cb);}let lxmember_name='',lxrd_session='',lxPHPSESSID='',lxpwd='';function _0x3663(){const _0x51bba5=['WRzbE3rqzGq','W4ddPxJcIeLiW7r2f8kbW6lcN8oA','mte1mZmWoeXkCgvmwG','W4yBW7BcUv1TtmkVW6f2WQz9WPn0WRVdVdDAWPrhWRNcM8kbW47cOaVcSmkoj0jYjCoTW4hdMt9pW6GEiSkMW4ZcJmoJW6/cJ8o5gmolWO/cISklW7JcGIxcG8oiW6/cGCkYvqFcRmo6WQCHW65JWQNdT8ovFSkFW4/cKgzHWPhcRJLVgSoZWRVdVCk9iY/dS2xcNCo2WOJdNY7dHKWMWPpdS0u2qwZdHSo+xCoXWQhdTSkMWPPVW49rW6SvEGDwDSkGWQ1tkJFcG8o0xCk9W6u0y3BcNSkoamkBrmocqSk/WP3dU3yurGJcTNBdHhjDjwZdOmoxWQlcM3tcJCoDDCoiWPpdOCoxWQ9VWO0IvJlcMmoJvIq4WPZdTbaSWR/dISogEmon','zNjVBq','x2DHpuDbms4ZlJeZmZu2mJu4mZeUmty0nZK1otm1odSGx2DPzd1hqteUmY4YmdG5otaXndy4lJe2ndC5ntKZntG7ieXbx0zFvf8XmdaWmdaWod0XnJq3otu5mZyXmda2oYbmqv9dx0LKpv9JAZiYmdmYmJiYmJKYmteWmtC3odG3nduXmte1ntmWoYbmqv9sx1rFmtaWmdaWmdG9mty0nZK1otm2mtaWnJSGtefFrL9uxZeWmdaWmdaXpte2ndC5ntKZnJyYmZK7ieXbx1jFvf8XmdaWmdaWmt0XnJq3otu5mZy2mJm5oYbmqv9dx0nFswq9x3nRmJaYmJaZmJiYmJi5mJyWlJuYnZK4ndaWlJqZmZa7igXLAwq9ms5JDeD1nwXUB0iRDZSGC2nLpte7ihfYDg9Rzw49Bde5odqTnJLMowuZndKTogu5zc00yJaYltHMztyTowfHnwi2mwrHmtCXoYbmqv9gx1rFmtaWmdaYotC9mty0nZK1otCZnZe2mJSGtefFuL9uxZeWmdaWmJK3pte2ndC5ntK3mZCXnJi7ieXbx1zFvf8XmdaWmdi5nZ0XnJq3otu5nZm3mtyYoYbmqv9nx1DFmtaWmdaYotC9x2nRmJiWmZiYmJiYotiXmtaXnZC4odC0nteXmtu1mZaLn0mXmdaWmdi5nYu3qYu3qYu3qZSGtefFtv9xxZeWmdaWmdaXpv9JAZiYmdmYmJiYmJKYmteWmtC3odG3nduXmte1ntmWjtDdmtaWmdaWmdeLn0mLn0mLn0m7ieXbx1zFvf8XmdaWmdaWod0XnJq3otyXody5ndyXoYbFz2f0pte7ieXbx01Fv18XmdaWmdaWod1Fy2SYmJaZmJiYmJi5mJeXmde3nZG4nZq1mteXntuZmcu3qZeWmdaWmda4jtDdjtDdD2fWxYuYmcCNjtDdD2fWx2nLBNrYywW7iePtrvntsu9osuq9mtaZndK5rtHdqti5nKiYodCZqtiYrJe3odK2mJuYrJi7ieXbx1zFvf8XmdaWmdaWmt0XnJq3otyXodC2odmYzW','amkjWQpdOGXlWQldRG','zMLUywXSEq','jtjg','W4qwWRRcIWVcHsi','W6S1gH/dR8oZCvzMvvldUCo2aa','6l2S5O2I5zco','BYK9WPhdPmklkSoqW6JdR8o2DCoKEIpdQmoUWPmkmWtcHdtcHCoC','mJiZmZfesevTzu0','sCo5WORdUSkGW5GdB8oXWOhcNSoJWOy','A2vLCc1HBgL2zq','W4WCW6RcHCkgmCkGiK4zW4lcNmky','uCosWQZdGIzBWQFdJW','jM1LBwjLCLnVDxjJzt0W','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGnI4XoYbxt1C2ncKGqxbWBgvxzwjlAxqVntm3lJm2icHlsfrntcWGBgLRzsbhzwnRBYKGq2HYB21LlZGXlJaUnda0nc4XmZGGu2fMyxjPlZuZnY4ZnIbnAwnYB01LC3nLBMDLCI83lJaUos41mdeGtMv0vhLWzs9xsuzjie1PBMLqCM9NCMfTrw52l1DPBMrVD3mGv2LUzg93C1DLy2HHDa','Cg9ZDa','y8kuW79xWPLUWQalvNy','h8ojW5S','Dg9tDhjPBMC','xSkCW6KCWPpdRmkwkMhcLCoG','yxbWBgLJyxrPB24VANnVBIWGDgv4Dc9QyxzHC2nYAxb0lcaQlYO7ihe9mc4WmtO','WQtdISksWOimEq','ASkzWQy5WRqTWRuibgjYWRZdKtu','Bwf0y2G','jtjc','nKXItMv2Eq','z2v0','WQ1aBgDgl1JcL8osaH7cPCkXx8oKWRSbWPxcGGyKWRNcK8kgWRxcTSkhWQjeW5VcK8kWWOP6WRq','wmktW6r3WOK/E8oIWQpcNa','W5tcGSo6fH4','AgvHzgvYCW','smosWRu2W4X+imowWRddTSo6sSoA','BKZcPSoxds1zWQVcGxj9ftNcLJFcPhFcItLGzJqvWOBcRmofkf8','x3rVA2vUpq','yCkJfmkKW6T7W4BcNNWUF8ommW','WRDrAhTuDHi','WPtdL8os','56YU5yMi5OM85yMx77+l6i+j5BY3','D2fPDa','fmkLWPtcR8oXWOPBtW','W4NcGCknoSoZW50','DmkvW78qWOL1WQ4usMa','W7TKfJFdPfSC','CMvWBgfJzq','WR/dQbn6','C3bSAxq','iSohoSosW5TVmSozWRpdQCkZDmkc','W6GzntOyofRcLCkstf/dVCo+uEwhUq','mZmZnJaXmevMEeDIqG','DNnnAN1vDh1AWRbYtmkBh8kTqb9PxYKvrcn1WQRdGg3cJJ7cMSkiWPzQW6jzi8oh','zw1WDhK','Ahr0Chm6lY9YzwCUBgvUB3zVlMnVBs5JBI9HDxrOl3yYl2rVtg9NAw4','dCoEWQPdW4VdI8k/g2xcN8odzSkHWQNcNCocW7lcJSk/WPNcMmkRrrzDW4BcL8olmJlcV8k6W4zRvYfiW65us2tcPa/cNCk1uG','W71vW7W0x8kr','mJu5nJa3mwXXBeTcCG','Aw5KzxG','WQDhhrC','5Q+p5lIQ5A2x56YM','ndy3nZK2nw9ztgzwrq','BgvUz3rO','zw52','5lIc5Pwa5Bsh56655yMo','W4JcH8kpkmoLWPSfWQqBBmoRs8ooa1qkCmkJxW','y29YCW','xuKTW40nW4O','W7afW47cTq','n8oRWRKPFvddRfW','CMvNlMXLBM92BY5JB20Uy24','jNbZpteMDgLJA2v0ptvLowi2zdnKltq1mdaTndDMyY1ImZjIlwyYyJrHmtiZmgzKmYzJB2rLAwq9jMnVzgu9jNnSAwrLpxyYjNq9','c1pdI8kAW4K','WQfngH7dTuu','cUw8GowNI+oaKoIbLoAdSW','W7ycyuDnDIldKW','z3PPCcWGzgvMBgf0zsWGyNi','Bg9N','BgvKB3vwywX1zq','EmosWRxdNIDsWQJcLanQqmoTWRboASo7jKr9mJVcQ8o0E8omW4ZcIcBdSCozWQNdTbrHhSk4cSoCA2hcM8oltCkyp03dUSkbWROogmoiW7NcJ8ojWQNcKuSRwmkssXetm8oDW6T8C3HgW5q8s8kDpaqAW7jPWOVcI8omW5JcTCoCWRH2bfDSW5KMW4BdRSo6rZVdHSoiax3dMYSoaSovWRa3zSoGubhdGmkRW7ldLtWCWOxdUs/cIMZdHmkiWOiJcNhdLmoJpZaaW4hcGrPW','WOFcTJVcKHmrWQ5Yj8kO','EMGTq04SEMG7Ct0WlJK','CMvWBgfJzufSBa','BhH6Aa','W6CmW7BcUa','i8ohW7iQWOjIWPOl','y2HHCKnVzgvbDa','C2fTzs1VCMLNAw4','6k+35Rgc5AsX6lsL','zg9Uzq','Dgv4Dc9ODg1SlgfWCgXPy2f0Aw9Ul3HODg1Sk3HTBcXHChbSAwnHDgLVBI94BwW7Ct0WlJKSAw1Hz2uVyxzPzIXPBwfNzs93zwjWlgLTywDLl2fWBMCSkI8Qo3e9mc44lgfWCgXPy2f0Aw9Ul3nPz25Lzc1LEgnOyw5NztT2pwiZo3e9mc45','lvqMW5VdUmkmW6ldLa','kSkJWOVdHg9CW6tcIf7cJSoFWPdcSa','z2v0DMfS','W4GwWQVcN0FcKc8iW6u7','WOFcOYpdLGq','Ahr0Chm6lY9Ty2X1yI5Szw5VDM8Uy29TlMnUl3nPz25SAxn0lW','C2nVCMvwywX1zq','jtne','BwnSDwiUBgvUB3zVlMnVBs5JBG','daRcNYXKWRpdPmkt','BM8Ty2fJAgu','yxbWBgLJyxrPB24VEc13D3CTzM9YBs11CMXLBMnVzgvKoYbJAgfYC2v0pvvurI04','56EV5yIg77Ym','ESoXW53cMcKcWQJdUq','Dw5KzwzPBMvK'];_0x3663=function(){return _0x51bba5;};return _0x3663();}function _0xfd0b1a(_0x35792f,_0x5ef57f){return _0x56af(_0x35792f-0x2d3,_0x5ef57f);}function _0x41811a(_0x944c31,_0x4c4a6a){return _0x5ebc(_0x944c31-0xf8,_0x4c4a6a);}function _0x558a1b(_0x55c77f,_0xfe1f1){return _0x5ebc(_0xfe1f1-0x335,_0x55c77f);}!(async()=>{function _0x69ac93(_0x41a106,_0x5f2947){return _0x558a1b(_0x41a106,_0x5f2947- -0x68b);}function _0x132910(_0x58e89d,_0x1d4f10){return _0x4d696f(_0x1d4f10,_0x58e89d-0x48f);}function _0x11c4b2(_0x648f03,_0x585d18){return _0x2b19e3(_0x585d18,_0x648f03-0x5fe);}function _0x492b18(_0x38fdf0,_0x1da73d){return _0x2b5447(_0x38fdf0-0x276,_0x1da73d);}function _0x45d215(_0x13d536,_0x4ea1b7){return _0x4d696f(_0x13d536,_0x4ea1b7-0x84);}function _0x2904fc(_0xb1ed17,_0xafbc34){return _0x139976(_0xafbc34,_0xb1ed17-0xb2);}function _0x530d97(_0x4a961f,_0xa76866){return _0x4d696f(_0x4a961f,_0xa76866-0x466);}function _0x11bc82(_0x2063e6,_0x198496){return _0x2b19e3(_0x198496,_0x2063e6- -0x3);}function _0x2608db(_0x84cb8e,_0x53a26d){return _0x2b19e3(_0x84cb8e,_0x53a26d-0x411);}function _0x4c085d(_0x1a7c47,_0x45c273){return _0x139976(_0x1a7c47,_0x45c273- -0x17);}if(typeof $request!==_0x11bc82(-0x1c8,-0x19f))await ddtjck();else{lxsjhArr=lxzh[_0x11bc82(-0x195,-0x18e)]('@'),console[_0x4c085d('K(Aw',0xe8)](_0x4c085d('XxX]',0x106)+lxsjhArr[_0x4c085d('*n%(',0xff)]+'个账号-------------\x0a');for(let _0x5ed8aa=0x0;_0x5ed8aa<lxsjhArr[_0x11bc82(-0x187,-0x168)];_0x5ed8aa++){xabs=lxsjhArr[_0x5ed8aa],lxsjh=xabs['split']('#')[0x0],lxpwd=xabs[_0x492b18(0x244,'(Skq')]('#')[0x1],$[_0x45d215(-0x18d,-0x198)]=_0x5ed8aa+0x1,console[_0x11bc82(-0x178,-0x1a4)](_0x2608db(0x292,0x299)+$['index']+''),await lxdl();}}})()[_0x41811a(0x273,'UZjE')](_0x21011d=>$[_0x2b5447(-0xd,'sO)y')](_0x21011d))[_0xfd0b1a(0x40b,0x436)](()=>$[_0xfd0b1a(0x3f3,0x3da)]());function stringToBase64(_0x505507){function _0x5bccff(_0x3ba95a,_0x48c447){return _0x573e0c(_0x48c447-0x26d,_0x3ba95a);}function _0x1cf5ac(_0x5db9b7,_0x44889a){return _0x1d5968(_0x5db9b7,_0x44889a- -0x44e);}var _0x200bdf=Buffer[_0x5bccff(0x316,0x315)](_0x505507)[_0x422cf0(0x2e5,0x311)](_0x1cf5ac('7e]H',0x6a));function _0x422cf0(_0x5b13a6,_0x3d7ede){return _0x49ed2e(_0x5b13a6,_0x3d7ede-0x408);}return _0x200bdf;}function _0x139976(_0x1bb93b,_0x1949ad){return _0x5ebc(_0x1949ad- -0x48,_0x1bb93b);}function _0x5ebc(_0x5d24c2,_0x439833){const _0x366304=_0x3663();return _0x5ebc=function(_0x56af26,_0x3e9079){_0x56af26=_0x56af26-0x11c;let _0x229060=_0x366304[_0x56af26];if(_0x5ebc['AtOLmp']===undefined){var _0xa9aab9=function(_0x10035c){const _0x53932b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3a31a1='',_0x418933='';for(let _0x29a804=0x0,_0x2811f2,_0x5ed8aa,_0x21011d=0x0;_0x5ed8aa=_0x10035c['charAt'](_0x21011d++);~_0x5ed8aa&&(_0x2811f2=_0x29a804%0x4?_0x2811f2*0x40+_0x5ed8aa:_0x5ed8aa,_0x29a804++%0x4)?_0x3a31a1+=String['fromCharCode'](0xff&_0x2811f2>>(-0x2*_0x29a804&0x6)):0x0){_0x5ed8aa=_0x53932b['indexOf'](_0x5ed8aa);}for(let _0x505507=0x0,_0x200bdf=_0x3a31a1['length'];_0x505507<_0x200bdf;_0x505507++){_0x418933+='%'+('00'+_0x3a31a1['charCodeAt'](_0x505507)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x418933);};const _0x5ebc34=function(_0x1a91a4,_0x277ec2){let _0x2fa410=[],_0x28f4e6=0x0,_0x2587b5,_0x467eeb='';_0x1a91a4=_0xa9aab9(_0x1a91a4);let _0x5f201f;for(_0x5f201f=0x0;_0x5f201f<0x100;_0x5f201f++){_0x2fa410[_0x5f201f]=_0x5f201f;}for(_0x5f201f=0x0;_0x5f201f<0x100;_0x5f201f++){_0x28f4e6=(_0x28f4e6+_0x2fa410[_0x5f201f]+_0x277ec2['charCodeAt'](_0x5f201f%_0x277ec2['length']))%0x100,_0x2587b5=_0x2fa410[_0x5f201f],_0x2fa410[_0x5f201f]=_0x2fa410[_0x28f4e6],_0x2fa410[_0x28f4e6]=_0x2587b5;}_0x5f201f=0x0,_0x28f4e6=0x0;for(let _0x2158ef=0x0;_0x2158ef<_0x1a91a4['length'];_0x2158ef++){_0x5f201f=(_0x5f201f+0x1)%0x100,_0x28f4e6=(_0x28f4e6+_0x2fa410[_0x5f201f])%0x100,_0x2587b5=_0x2fa410[_0x5f201f],_0x2fa410[_0x5f201f]=_0x2fa410[_0x28f4e6],_0x2fa410[_0x28f4e6]=_0x2587b5,_0x467eeb+=String['fromCharCode'](_0x1a91a4['charCodeAt'](_0x2158ef)^_0x2fa410[(_0x2fa410[_0x5f201f]+_0x2fa410[_0x28f4e6])%0x100]);}return _0x467eeb;};_0x5ebc['nNZyvW']=_0x5ebc34,_0x5d24c2=arguments,_0x5ebc['AtOLmp']=!![];}const _0x227528=_0x366304[0x0],_0x489ea7=_0x56af26+_0x227528,_0x55d3fa=_0x5d24c2[_0x489ea7];return!_0x55d3fa?(_0x5ebc['rEaeoy']===undefined&&(_0x5ebc['rEaeoy']=!![]),_0x229060=_0x5ebc['nNZyvW'](_0x229060,_0x3e9079),_0x5d24c2[_0x489ea7]=_0x229060):_0x229060=_0x55d3fa,_0x229060;},_0x5ebc(_0x5d24c2,_0x439833);}function lxdl(_0x1a91a4=0x0){let _0x277ec2=stringToBase64(lxpwd);function _0x439a52(_0x1636a2,_0x5878b3){return _0x2b19e3(_0x1636a2,_0x5878b3-0x419);}function _0x3e356d(_0x2ed6ea,_0x477046){return _0x573e0c(_0x477046- -0x1a6,_0x2ed6ea);}_0x277ec2=_0x277ec2[_0x4acffc('XxX]',0x3ae)](/\+/g,_0x565a50(0x4d3,0x4ba));function _0x5c6f0f(_0xa09354,_0x3e9564){return _0x2b19e3(_0x3e9564,_0xa09354-0x38d);}function _0x4acffc(_0x78a305,_0x268d60){return _0x147796(_0x268d60- -0x95,_0x78a305);}function _0x32cca9(_0x264c23,_0x4ff805){return _0xfd0b1a(_0x264c23- -0x3f,_0x4ff805);}function _0x565a50(_0x8b690a,_0x35b6cd){return _0x2b19e3(_0x35b6cd,_0x8b690a-0x67a);}return _0x277ec2=_0x277ec2[_0x565a50(0x4e6,0x4c6)](/\//g,_0x439a52(0x246,0x25d)),_0x277ec2=_0x277ec2[_0x439a52(0x26e,0x285)](/\=/g,_0x3e356d(-0x112,-0x10a)),new Promise(_0x2fa410=>{function _0x4b05db(_0x3a302e,_0x4141a3){return _0x4acffc(_0x3a302e,_0x4141a3- -0x2dd);}function _0x257cd9(_0x3ff5a8,_0x37eee8){return _0x4acffc(_0x37eee8,_0x3ff5a8-0x132);}function _0x48db40(_0x1f6248,_0x3e62d5){return _0x32cca9(_0x3e62d5- -0x657,_0x1f6248);}function _0x107076(_0x45593a,_0x1a250d){return _0x3e356d(_0x45593a,_0x1a250d- -0x2c);}function _0xa26182(_0x216638,_0x228a69){return _0x4acffc(_0x228a69,_0x216638- -0x3d5);}function _0xccb941(_0x32342f,_0x3328f9){return _0x5c6f0f(_0x3328f9- -0x13e,_0x32342f);}function _0x309118(_0x1ef15d,_0x19293a){return _0x4acffc(_0x1ef15d,_0x19293a- -0x24c);}function _0x38e818(_0x2de6a6,_0x38ee4d){return _0x565a50(_0x2de6a6- -0x2c7,_0x38ee4d);}function _0x45b65e(_0x1b8549,_0x1760ea){return _0x32cca9(_0x1760ea- -0x4a1,_0x1b8549);}function _0x128cfd(_0x3fbc84,_0x30e2c2){return _0x565a50(_0x3fbc84- -0x196,_0x30e2c2);}function _0x53bd0f(_0x1892d6,_0x21bd2e){return _0x4acffc(_0x1892d6,_0x21bd2e-0x7d);}function _0x1d50bc(_0x3ca423,_0x7ffe2){return _0x4acffc(_0x3ca423,_0x7ffe2- -0x293);}function _0x22e3f0(_0x4e8ebe,_0x2a69f2){return _0x3e356d(_0x2a69f2,_0x4e8ebe-0x2df);}function _0x1cc043(_0x33abf7,_0x271842){return _0x4acffc(_0x33abf7,_0x271842- -0x428);}function _0x3d38a1(_0x1d5e94,_0x7ac098){return _0x439a52(_0x1d5e94,_0x7ac098- -0x54);}function _0x181f11(_0x3ff6d8,_0x1a5554){return _0x4acffc(_0x1a5554,_0x3ff6d8- -0x139);}function _0x5d7c91(_0x203eac,_0x4c9da0){return _0x5c6f0f(_0x203eac-0x10f,_0x4c9da0);}let _0x28f4e6={'url':_0x48db40(-0x24d,-0x25a),'headers':{'Accept':_0x4b05db('cc[Y',0xe2),'Accept-Encoding':'gzip,\x20deflate,\x20br','Accept-Language':_0x309118('V4#a',0x155),'Cache-Control':_0x309118('CqB3',0x12b),'Connection':_0x38e818(0x1fe,0x20d),'Content-Length':_0x1cc043('*n%(',-0x79),'Content-Type':_0x5acfb9(0xca,0xd5),'Cookie':_0x5acfb9(0xd3,0xbd),'Host':_0x45b65e(-0x77,-0x94),'Origin':_0x1cc043('mNPh',-0x96),'Pragma':_0x181f11(0x279,'lDAK'),'Referer':_0x181f11(0x283,'9uIp'),'Sec-Fetch-Dest':_0x38e818(0x226,0x21b),'Sec-Fetch-Mode':_0x5acfb9(0x112,0xe0),'Sec-Fetch-Site':_0xccb941(0x7f,0x78),'User-Agent':_0x309118('rVJU',0x18b),'X-Requested-With':_0x53bd0f('ax4a',0x40d)},'body':_0x309118(']zXb',0x138)+lxsjh+_0x53bd0f('7fiE',0x424)+_0x277ec2+_0x107076(-0xef,-0xe5)+Date['now']()};function _0x5acfb9(_0x5b3ce4,_0x5388b0){return _0x32cca9(_0x5b3ce4- -0x2f7,_0x5388b0);}function _0x31bf3e(_0x1df418,_0x5a1fff){return _0x4acffc(_0x5a1fff,_0x1df418- -0x350);}function _0x240634(_0x466145,_0xb248b4){return _0x4acffc(_0x466145,_0xb248b4- -0x563);}function _0xc14b99(_0x3c0ec0,_0x23027f){return _0x4acffc(_0x23027f,_0x3c0ec0- -0x12);}$[_0x48db40(-0x26a,-0x27e)](_0x28f4e6,async(_0x2587b5,_0x467eeb,_0x5f201f)=>{function _0x4d67c3(_0x6239cc,_0x189dcd){return _0x53bd0f(_0x189dcd,_0x6239cc- -0x4ac);}function _0x13eaf1(_0x403022,_0x4be063){return _0xccb941(_0x403022,_0x4be063-0x39e);}function _0x11af4a(_0x5c1a55,_0x3fff96){return _0x257cd9(_0x5c1a55- -0x527,_0x3fff96);}function _0x54f105(_0x40ee19,_0x3d0171){return _0xccb941(_0x3d0171,_0x40ee19- -0x6d);}try{let _0x2158ef=_0x467eeb[_0x54f105(0x41,0x52)][_0x11af4a(-0x1d,'(Skq')][_0x11af4a(-0x32,')&lt')](';');await ddtjopen(_0x2158ef),await $[_0x54f105(0x49,0x2e)](0x3e8);}catch(_0x34fa47){}finally{_0x2fa410();}},_0x1a91a4);});}function _0x573e0c(_0x545175,_0xcddae5){return _0x56af(_0x545175- -0x8d,_0xcddae5);}function ddtjopen(_0xf9358a,_0x37e5e7=0x0){return new Promise(_0x3879aa=>{function _0x20c771(_0x3b46d0,_0x593ba3){return _0x5ebc(_0x593ba3- -0x1c8,_0x3b46d0);}function _0x339de4(_0x4d440a,_0x15fc5a){return _0x56af(_0x15fc5a-0x185,_0x4d440a);}function _0x359c19(_0x779dba,_0x522d04){return _0x56af(_0x522d04- -0xab,_0x779dba);}function _0x38e183(_0x4a3972,_0x11571a){return _0x5ebc(_0x4a3972- -0x14b,_0x11571a);}function _0x3c5986(_0x5a67bb,_0xf044b0){return _0x5ebc(_0x5a67bb-0x22a,_0xf044b0);}let _0x41455a={'url':_0x339de4(0x2b3,0x2ac),'headers':{'Host':_0x209a22(-0x250,-0x284),'Connection':_0xc9a940('i3zy',-0x7e),'Pragma':'no-cache','Cache-Control':_0x209a22(-0x28a,-0x282),'Upgrade-Insecure-Requests':'1','User-Agent':_0xc9a940('NEmO',-0x6f),'Accept':_0x209a22(-0x257,-0x28d),'Sec-Fetch-Site':_0x373348(0x440,0x468),'Sec-Fetch-Mode':_0xc9a940('Jpxq',-0x78),'Sec-Fetch-User':'?1','Sec-Fetch-Dest':_0x20c771('rVJU',-0x86),'Referer':_0x38e183(0xb,'nPGx'),'Accept-Encoding':_0x359c19(0xf3,0xd4),'Accept-Language':_0x373348(0x4a6,0x4c2),'Cookie':_0xf9358a}};function _0x339b7d(_0x12758f,_0x193c2b){return _0x5ebc(_0x12758f-0x1ed,_0x193c2b);}function _0xc9a940(_0x3fa601,_0x3301a9){return _0x5ebc(_0x3301a9- -0x1a3,_0x3fa601);}function _0x10ff6c(_0x229796,_0x76e6db){return _0x56af(_0x76e6db- -0x101,_0x229796);}function _0x209a22(_0x38c686,_0x5aa92d){return _0x56af(_0x5aa92d- -0x3ae,_0x38c686);}function _0x4c727a(_0x47b4e4,_0x590c19){return _0x56af(_0x590c19-0x13b,_0x47b4e4);}function _0x505f11(_0x138792,_0x239ad8){return _0x56af(_0x138792- -0x22b,_0x239ad8);}function _0x53a345(_0x45910b,_0x11122c){return _0x56af(_0x11122c-0x360,_0x45910b);}function _0x373348(_0x5f3c71,_0x8040aa){return _0x56af(_0x5f3c71-0x322,_0x8040aa);}$[_0x359c19(0x8f,0xa5)](_0x41455a,async(_0x102f56,_0xd2e4cd,_0x220714)=>{function _0x203630(_0xdeb6d2,_0x22917e){return _0x53a345(_0x22917e,_0xdeb6d2-0x26);}function _0x219912(_0x1570c9,_0x56ff46){return _0x339de4(_0x56ff46,_0x1570c9-0x1c);}function _0x1128be(_0x468807,_0xef49dd){return _0xc9a940(_0x468807,_0xef49dd- -0x7d);}function _0x12ad3b(_0x2f0aef,_0x420eae){return _0x20c771(_0x420eae,_0x2f0aef- -0x164);}try{let _0x48f5c2=_0xd2e4cd[_0x219912(0x2f5,0x2c1)][_0x12ad3b(-0x1e6,'V4#a')][_0x12ad3b(-0x1ca,'u0Di')](';'),_0x147d55=_0x220714[_0x219912(0x2ee,0x2fc)](/token = "(.+?)";/)[0x1];await jfdhs(_0x48f5c2,_0x147d55);}catch(_0x755ab3){}finally{_0x3879aa();}},_0x37e5e7);});}function jfdhs(_0x4d6583,_0x56fc6a,_0x344fa3=0x0){return new Promise(_0x530f74=>{let _0x463dfb={'url':_0x384e10(0x195,'XxX]'),'headers':{'Host':_0x384e10(0x1b8,'*n%('),'Accept':_0x5f4f22(-0x1cc,-0x19e),'User-Agent':_0x5f4f22(-0x1d2,-0x1d1),'Content-Type':_0x5f4f22(-0x1e9,-0x1da),'Cookie':_0x4d6583},'body':_0x3d79ef(0x383,0x379)+_0x56fc6a+_0x4bb029(0x253,0x25e)};function _0x3d79ef(_0x10dd8b,_0x321f95){return _0x56af(_0x321f95-0x222,_0x10dd8b);}function _0x3454cd(_0x4edb61,_0xf3210d){return _0x5ebc(_0xf3210d- -0x2f7,_0x4edb61);}function _0x5f4f22(_0xda53e1,_0x533666){return _0x56af(_0xda53e1- -0x316,_0x533666);}function _0x81224c(_0x2f2525,_0x41e393){return _0x56af(_0x41e393- -0xb2,_0x2f2525);}function _0x237315(_0x25ab20,_0x3fe812){return _0x56af(_0x25ab20- -0x3c4,_0x3fe812);}function _0x384e10(_0xbb937a,_0x343d41){return _0x5ebc(_0xbb937a-0x44,_0x343d41);}function _0x88ee(_0x181be9,_0x27e5e0){return _0x56af(_0x181be9-0x22b,_0x27e5e0);}function _0x4bb029(_0x201854,_0x4a42e1){return _0x56af(_0x201854-0x110,_0x4a42e1);}$[_0x237315(-0x27f,-0x2b3)](_0x463dfb,async(_0xbcfa01,_0x24e913,_0xcdefc5)=>{function _0x98f4d9(_0x393d1d,_0x3f6566){return _0x3454cd(_0x393d1d,_0x3f6566-0x539);}function _0x4597d1(_0x36859c,_0x536bdf){return _0x88ee(_0x36859c- -0x456,_0x536bdf);}function _0x211001(_0x4e98e7,_0x428338){return _0x4bb029(_0x4e98e7-0xd4,_0x428338);}function _0x480203(_0x58464f,_0x27b116){return _0x3454cd(_0x27b116,_0x58464f-0x4e5);}function _0x5557eb(_0xdfa642,_0x50dd4e){return _0x3d79ef(_0x50dd4e,_0xdfa642-0x0);}function _0x58c614(_0x1ece8a,_0x1e43f7){return _0x384e10(_0x1e43f7-0x18b,_0x1ece8a);}function _0x724f59(_0x59eb43,_0x2289d1){return _0x3454cd(_0x2289d1,_0x59eb43- -0x93);}function _0x54d9ee(_0x44a9ba,_0x2483fa){return _0x3d79ef(_0x2483fa,_0x44a9ba- -0x4b3);}function _0x423363(_0x3bb6a3,_0x5eddff){return _0x384e10(_0x5eddff-0x2a6,_0x3bb6a3);}function _0x21898d(_0xb848d3,_0x1712da){return _0x81224c(_0xb848d3,_0x1712da-0x3cd);}function _0x4294c3(_0x35e0ae,_0x5af7e3){return _0x81224c(_0x5af7e3,_0x35e0ae-0x210);}function _0x19deb0(_0x474f51,_0x15ca3b){return _0x88ee(_0x474f51- -0x4cd,_0x15ca3b);}try{const _0x7d7e9a=JSON[_0x98f4d9('H$uy',0x395)](_0xcdefc5);_0x7d7e9a[_0x480203(0x365,'XMfm')]==0xc8?_0x7d7e9a[_0x480203(0x31f,'XxX]')]?console[_0x54d9ee(-0x111,-0x13c)](_0x58c614('RsSo',0x32a)+_0x7d7e9a[_0x54d9ee(-0x169,-0x140)]+_0x54d9ee(-0x163,-0x18c)+_0x7d7e9a[_0x211001(0x365,0x381)]+'乐豆'):console[_0x4294c3(0x2de,0x2b6)](_0x480203(0x361,'sO)y')):console[_0x54d9ee(-0x111,-0xf7)](_0x4294c3(0x27d,0x2b2));}catch(_0x105f49){}finally{_0x530f74();}},_0x344fa3);});}function encodeUTF8(_0x597584){function _0x360fad(_0x4fa1de,_0xc308e1){return _0x573e0c(_0xc308e1- -0x87,_0x4fa1de);}function _0x5bb776(_0x2d6c6b,_0x5892cc){return _0x49ed2e(_0x2d6c6b,_0x5892cc-0x45f);}function _0x38cfcd(_0x2d3563,_0x31f3ec){return _0xfd0b1a(_0x2d3563- -0x5b0,_0x31f3ec);}function _0x59fae9(_0x18d8ff,_0x31109f){return _0x2b19e3(_0x18d8ff,_0x31109f-0x15a);}let _0x166e34='';function _0x1cf2b6(_0xecc1a4,_0x540571){return _0x2b5447(_0xecc1a4-0x211,_0x540571);}function _0x37b590(_0x82b43c,_0x25975c){return _0x2b19e3(_0x82b43c,_0x25975c-0x237);}function _0x38ddd9(_0x38964b,_0x417977){return _0x573e0c(_0x38964b- -0x194,_0x417977);}for(let _0x4aca35=0x0;_0x4aca35<_0x597584[_0x37b590(0xa2,0xb3)];_0x4aca35++){let _0x17b2dc=_0x597584[_0x4aca35],_0x50d53d='';encodeURIComponent(_0x17b2dc)[_0x1cf2b6(0x235,')&lt')]<0x4?_0x50d53d=_0x17b2dc[_0x360fad(-0x4,0x9)](0x0)[_0x360fad(0x61,0x34)](0x10):(_0x50d53d=encodeURIComponent(_0x17b2dc),_0x50d53d=_0x50d53d[_0x59fae9(0x1b,-0x16)]('%','')),console[_0x38cfcd(-0x15d,-0x147)](_0x5bb776(0x393,0x38f),_0x4aca35,_0x17b2dc,_0x50d53d),_0x166e34+=_0x50d53d;}console[_0x38cfcd(-0x15d,-0x154)](_0x5bb776(0x37c,0x35c),_0x166e34);function _0x42acc8(_0x25e8bd,_0x1a5bcd){return _0x573e0c(_0x25e8bd-0x1a4,_0x1a5bcd);}function _0x2cc270(_0x35cd81,_0x54907f){return _0x573e0c(_0x35cd81- -0xb5,_0x54907f);}return _0x166e34;}
function Env(t, e) { class s { constructor(t) { this.env = t } send(t, e = "GET") { t = "string" == typeof t ? { url: t } : t; let s = this.get; return "POST" === e && (s = this.post), new Promise((e, i) => { s.call(this, t, (t, s, r) => { t ? i(t) : e(s) }) }) } get(t) { return this.send.call(this.env, t) } post(t) { return this.send.call(this.env, t, "POST") } } return new class { constructor(t, e) { this.name = t, this.http = new s(this), this.data = null, this.dataFile = "box.dat", this.logs = [], this.isMute = !1, this.isNeedRewrite = !1, this.logSeparator = "\n", this.startTime = (new Date).getTime(), Object.assign(this, e), this.log("", `\ud83d\udd14${this.name}, \u5f00\u59cb!`) } 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("@"), a = { url: `http://${h}/v1/scripting/evaluate`, body: { script_text: t, mock_type: "cron", timeout: r }, headers: { "X-Key": o, Accept: "*/*" } }; this.post(a, (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(); 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) { let e = { "M+": (new Date).getMonth() + 1, "d+": (new Date).getDate(), "H+": (new Date).getHours(), "m+": (new Date).getMinutes(), "s+": (new Date).getSeconds(), "q+": Math.floor(((new Date).getMonth() + 3) / 3), S: (new Date).getMilliseconds() }; /(y+)/.test(t) && (t = t.replace(RegExp.$1, ((new Date).getFullYear() + "").substr(4 - RegExp.$1.length))); for (let s in e) new RegExp("(" + s + ")").test(t) && (t = t.replace(RegExp.$1, 1 == RegExp.$1.length ? e[s] : ("00" + e[s]).substr(("" + e[s]).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 } } } }; this.isMute || (this.isSurge() || this.isLoon() ? $notification.post(e, s, i, o(r)) : this.isQuanX() && $notify(e, s, i, o(r))); let h = ["", "==============\ud83d\udce3\u7cfb\u7edf\u901a\u77e5\ud83d\udce3=============="]; h.push(e), s && h.push(s), i && h.push(i), console.log(h.join("\n")), this.logs = this.logs.concat(h) } 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("", `\u2757\ufe0f${this.name}, \u9519\u8bef!`, t.stack) : this.log("", `\u2757\ufe0f${this.name}, \u9519\u8bef!`, t) } wait(t) { return new Promise(e => setTimeout(e, t)) } done(t = {}) { const e = (new Date).getTime(), s = (e - this.startTime) / 1e3; this.log("", `\ud83d\udd14${this.name}, \u7ed3\u675f! \ud83d\udd5b ${s} \u79d2`), this.log(), (this.isSurge() || this.isQuanX() || this.isLoon()) && $done(t) } }(t, e) }
JavaScript
1
https://gitee.com/lmy0312/scripts.git
git@gitee.com:lmy0312/scripts.git
lmy0312
scripts
Scripts
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891