Files
zjk2017-ArcadiaScriptPublic/品赞代理.js
2024-09-24 00:30:42 +08:00

26 lines
26 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* 品赞HTTP代理签到v1.2
* 20240923修复版 ArcadiaScriptPublic 频道https://t.me/ArcadiaScript 群组https://t.me/ArcadiaScriptPublic
* const $ = new Env("品赞HTTP代理签到");
* cron 0 0 * * 0 品赞HTTP代理签到.js
* 注册地址https://www.ipzan.com?pid=aguohteqg
*
* ========= 青龙--配置文件 ===========
* # 项目名称(两种配置二选一)
* 推荐token容易过期
* export pzhttp='账号#密码'
* 不推荐
* export pzhttp='你抓包的token'
* 自己抓包协议头上的Authorization
* 多账号换行或&隔开
* 奖励每周签到得3金币大概500个IP可在免费使用代理IP用于其他项目
*
* ====================================
*
*/
const _0xf1ea8=new _0x299988("\u54c1\u8d5e\u0048\u0054\u0054\u0050\u7b7e\u5230");let _0x34f238="ptthzp".split("").reverse().join(""),_0x44155b=['\x0a',"\u0026"],_0xa2efe3=(_0xf1ea8["\u0069\u0073\u004e\u006f\u0064\u0065"]()?process["\u0065\u006e\u0076"][_0x34f238]:_0xf1ea8["\u0067\u0065\u0074\u0064\u0061\u0074\u0061"](_0x34f238))||"".split("").reverse().join(""),_0xd941b5=[],_0x8a72a2=0xa862c^0xa862c;class _0x138232{constructor(_0x47b6dc){this["\u0069\u006e\u0064\u0065\u0078"]=++_0x8a72a2;this["\u0070\u006f\u0069\u006e\u0074\u0073"]=0x480c6^0x480c6;this["\u0076\u0061\u006c\u0069\u0064"]=![];_0x47b6dc?.["sedulcni".split("").reverse().join("")]('#')?[this["\u0061\u0063\u0063\u006f\u0075\u006e\u0074"],this['password']]=_0x47b6dc?.["tilps".split("").reverse().join("")]("\u0023"):this['activedAuthToken']=_0x47b6dc;}async["ipAksat".split("").reverse().join("")](_0x453da5,_0x37d6bc,_0x417c3c,_0x5ccb37){let _0x201de3=null;try{let _0x563d61=_0x417c3c["\u0072\u0065\u0070\u006c\u0061\u0063\u0065"]("//".split("").reverse().join(""),"\u002f")["\u0073\u0070\u006c\u0069\u0074"]('/')[0xe2b10^0xe2b11],_0x3e8db7={"\u0075\u0072\u006c":_0x417c3c,'headers':{'Accept':'application/json,\x20text/plain,\x20*/*','Accept-Language':"\u007a\u0068\u002d\u0043\u004e\u002c\u007a\u0068\u003b\u0071\u003d\u0030\u002e\u0039","\u0055\u0073\u0065\u0072\u002d\u0041\u0067\u0065\u006e\u0074":'Mozilla/5.0\x20(Windows\x20NT\x2010.0;\x20Win64;\x20x64)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20Chrome/95.0.4638.69\x20Safari/537.36','Host':_0x563d61,"\u0043\u006f\u006e\u006e\u0065\u0063\u0074\u0069\u006f\u006e":"\u004b\u0065\u0065\u0070\u002d\u0041\u006c\u0069\u0076\u0065",'Origin':'https://kip.ipzan.com','Authorization':" reraeB".split("").reverse().join("")+this["\u0061\u0063\u0074\u0069\u0076\u0065\u0064\u0041\u0075\u0074\u0068\u0054\u006f\u006b\u0065\u006e"],'Referer':"\u0068\u0074\u0074\u0070\u0073\u003a\u002f\u002f\u006b\u0069\u0070\u002e\u0069\u0070\u007a\u0061\u006e\u002e\u0063\u006f\u006d\u002f","\u0041\u0063\u0063\u0065\u0070\u0074\u002d\u004c\u0061\u006e\u0067\u0075\u0061\u0067\u0065":"\u007a\u0068\u002d\u0043\u004e\u002c\u007a\u0068\u003b\u0071\u003d\u0030\u002e\u0039\u002c\u0065\u006e\u002d\u0055\u0053\u003b\u0071\u003d\u0030\u002e\u0038\u002c\u0065\u006e\u003b\u0071\u003d\u0030\u002e\u0037",'Content-Type':'application/json'},"\u0074\u0069\u006d\u0065\u006f\u0075\u0074":0xea60};_0x5ccb37&&(_0x3e8db7['body']=_0x5ccb37,_0x3e8db7['headers']['Content-Length']=_0x5ccb37?.["htgnel".split("").reverse().join("")]);await _0x58c2e5(_0x37d6bc,_0x3e8db7)['then'](async _0x50d9f2=>{if(_0x50d9f2['resp']?.["\u0073\u0074\u0061\u0074\u0075\u0073\u0043\u006f\u0064\u0065"]==(0x77a65^0x77aad))_0x50d9f2["\u0072\u0065\u0073\u0070"]?.["ydob".split("").reverse().join("")]?_0x201de3=JSON['parse'](_0x50d9f2['resp']['body']):console["\u006c\u006f\u0067"]("[\u53F7\u8D26".split("").reverse().join("")+this['index']+']调用'+_0x37d6bc+'['+_0x453da5+"\u7A7A\u4E3A\u56DE\u8FD4\uFF0C\u9519\u51FA]".split("").reverse().join(""));else{console["\u006c\u006f\u0067"]('账号['+this["\u0069\u006e\u0064\u0065\u0078"]+"\u005d\u8c03\u7528"+_0x37d6bc+"\u005b"+_0x453da5+"\u005d\u51fa\u9519\uff0c\u8fd4\u56de\u72b6\u6001\u7801\u005b"+(_0x50d9f2["\u0072\u0065\u0073\u0070"]?.["edoCsutats".split("").reverse().join("")]||"")+"\u005d");}});}catch(_0x1c250e){console["\u006c\u006f\u0067"](_0x1c250e);}finally{return Promise['resolve'](_0x201de3);}}async["ecnalaBresUteG".split("").reverse().join("")](){try{let _0x4e581b='GetUserBalance',_0x2ae1cd="\u0067\u0065\u0074",_0xbc0087="dnif-tellaWresu/emoh/moc.nazpi.ecivres//:sptth".split("").reverse().join(""),_0x3a6f9f="";await this["\u0074\u0061\u0073\u006b\u0041\u0070\u0069"](_0x4e581b,_0x2ae1cd,_0xbc0087,_0x3a6f9f)['then'](async _0x374645=>{if(_0x374645['code']===(0x3a640^0x3a640)){this['valid']=!![],this["\u0070\u006f\u0069\u006e\u0074\u0073"]=_0x374645['data']["\u0062\u0061\u006c\u0061\u006e\u0063\u0065"],console["\u006c\u006f\u0067"]("[\u53F7\u8D26".split("").reverse().join("")+this['index']+" :\u5E01\u91D1\u524D\u5F53 ]".split("").reverse().join("")+this["\u0070\u006f\u0069\u006e\u0074\u0073"]);}else{_0xf1ea8['logAndNotify']("[\u53F7\u8D26".split("").reverse().join("")+this["\u0069\u006e\u0064\u0065\u0078"]+"\u005d\u67e5\u8be2\u91d1\u5e01\u5931\u8d25\uff0c\u53ef\u80fd\u0054\u006f\u006b\u0065\u006e\u65e0\u6548");}});}catch(_0x5fcfb3){console['log'](_0x5fcfb3);}finally{return Promise['resolve'](0xdd7ba^0xdd7bb);}}async['Login'](){try{let _0x2a65ec="\u004c\u006f\u0067\u0069\u006e",_0x415c80='post',_0x4fe5cd="nigol-sresu/moc.nazpi.ecivres//:sptth".split("").reverse().join(""),_0x4247a3=JSON['stringify'](_0x3771fa(this["\u0061\u0063\u0063\u006f\u0075\u006e\u0074"],this["\u0070\u0061\u0073\u0073\u0077\u006f\u0072\u0064"]));await this["\u0074\u0061\u0073\u006b\u0041\u0070\u0069"](_0x2a65ec,_0x415c80,_0x4fe5cd,_0x4247a3)['then'](async _0x590950=>{if(_0x590950["\u0063\u006f\u0064\u0065"]===(0xacc54^0xacc54)){console["\u006c\u006f\u0067"]('账号['+this["\u0069\u006e\u0064\u0065\u0078"]+']\x20登录成功'),this['activedAuthToken']=_0x590950?.["\u0064\u0061\u0074\u0061"]['token'];}else{console["\u006c\u006f\u0067"]('账号['+this['index']+"\uFF1A\u8D25\u5931\u5F55\u767B ]".split("").reverse().join("")+_0x590950?.['message']);}});}catch(_0x15b88b){console['log'](_0x15b88b);}finally{return Promise['resolve'](0x1a7aa^0x1a7ab);}}async["yliaDnIngiS".split("").reverse().join("")](){try{let _0x392c94='SignInDaily',_0x129be6='get',_0x286397='https://service.ipzan.com/home/userWallet-receive',_0x157252="".split("").reverse().join("");await this["\u0074\u0061\u0073\u006b\u0041\u0070\u0069"](_0x392c94,_0x129be6,_0x286397,_0x157252)['then'](async _0x49c74f=>{if(_0x49c74f["\u0063\u006f\u0064\u0065"]===(0x39b27^0x39b27)){console['log']('账号['+this["\u0069\u006e\u0064\u0065\u0078"]+']\x20签到成功',_0x49c74f?.["atad".split("").reverse().join("")]);}else console['log']('账号['+this['index']+"\uFF1A\u8D25\u5931\u5230\u7B7E ]".split("").reverse().join("")+_0x49c74f?.['message']);});}catch(_0x5b1269){console['log'](_0x5b1269);}finally{return Promise['resolve'](0xa684b^0xa684a);}}async["ksaTod".split("").reverse().join("")](){try{await _0x241982(0x3e8);console['log']('\x0a=============\x20账号['+this['index']+']\x20开始签到=============');await this["\u0053\u0069\u0067\u006e\u0049\u006e\u0044\u0061\u0069\u006c\u0079"]();}catch(_0x18555c){console['log'](_0x18555c);}}}!(async()=>{if(typeof $request!=="denifednu".split("").reverse().join("")){await _0x5e22b6();}else{if(!(await _0x76f888()))return;console['log']('\x0a================\x20开始执行\x20================');for(let _0x18b00e of _0xd941b5){console['log']('-----------\x20执行\x20第\x20['+_0x18b00e['index']+"----------- \u53F7\u8D26\u4E2A ]".split("").reverse().join(""));!_0x18b00e?.['activedAuthToken']&&(await _0x18b00e?.["nigoL".split("").reverse().join("")]());await _0x18b00e['GetUserBalance']();}let _0x34b1de=_0xd941b5['filter'](_0x1056dd=>_0x1056dd['valid']);if(_0x34b1de['length']>0x0){console['log']('\x0a================\x20任务队列构建完毕\x20================');for(let _0x4d8f52 of _0x34b1de){console["\u006c\u006f\u0067"]('-----------\x20账号['+_0x4d8f52['index']+']\x20-----------');await _0x4d8f52['doTask']();}}else console['log']('\x0a================\x20未检测到帐号请先注册https://www.ipzan.com?pid=aguohteqg\x2020240923\x20修复版\x20ArcadiaScriptPublic\x20\x20频道https://t.me/ArcadiaScript\x20群组https://t.me/ArcadiaScriptPublic================');await _0xf1ea8['showmsg']();}})()["\u0063\u0061\u0074\u0063\u0068"](_0x22cd28=>console['log'](_0x22cd28))['finally'](()=>_0xf1ea8['done']());function _0x416dc5(_0x24feca){const _0x3d2294=/^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/;return _0x3d2294['test'](_0x24feca);}function _0xb417d8(_0x519d63=!![]){const _0x281eb2=_0x519d63?"1.1.1.1".split("").reverse().join(""):'0.0.0.0',_0x4dde34=_0x519d63?'223.255.255.255':'255.255.255.255',_0x561886=_0x281eb2['split']('.')['map'](Number),_0x5cc3cd=_0x4dde34['split']('.')['map'](Number),_0x272770=_0x561886['map']((_0x38fbc5,_0x4d7b85)=>{const _0x4cb228=_0x5cc3cd[_0x4d7b85];return Math['floor'](Math['random']()*(_0x4cb228-_0x38fbc5+0x1))+_0x38fbc5;});return _0x272770['join']('.');}function _0x157dd3(_0x45939e,_0xdf3fca,_0x1df466){const _0x1eac3b={};_0x1eac3b[_0xdf3fca]=_0x1df466;const _0x568cd1=JSON['stringify'](_0x1eac3b);try{fs['writeFileSync'](_0x45939e+'.json',_0x568cd1);}catch(_0x3f407f){_0x3f407f['code']==="TNEONE".split("").reverse().join("")?fs['writeFileSync'](_0x45939e+"nosj.".split("").reverse().join(""),_0x568cd1):console['error']('保存文件时发生错误:',_0x3f407f);}}function _0x35c695(_0x5e1184,_0x5b978){try{const _0x2e83e6=fs['readFileSync'](_0x5e1184+"\u002e\u006a\u0073\u006f\u006e",'utf8'),_0x2d4f3a=JSON['parse'](_0x2e83e6);return _0x2d4f3a[_0x5b978];}catch(_0x5aa917){if(_0x5aa917['code']==='ENOENT')return undefined;else{console["\u0065\u0072\u0072\u006f\u0072"]('读取文件时发生错误:',_0x5aa917);}}}function _0x3771fa(_0x287c82,_0x52b8c2){var _0x3f7edf={'table':['A','B','C',"\u0044",'E','F','G','H',"\u0049",'J','K',"\u004c",'M','N',"\u004f",'P','Q','R','S','T','U','V','W','X',"\u0059","\u005a",'a','b','c','d','e',"\u0066",'g','h','i','j','k','l','m','n',"\u006f",'p','q','r','s','t','u','v',"\u0077",'x','y','z','0','1','2','3','4','5','6','7',"\u0038",'9','+','/'],'UTF16ToUTF8':function(_0x422438){for(var _0x4d8ea5=[],_0x63b243=_0x422438['length'],_0xcaf628=0x0;_0xcaf628<_0x63b243;_0xcaf628++){var _0x1bfdf5,_0x387f8b,_0x41cff4=_0x422438['charCodeAt'](_0xcaf628);(0x52134^0x52134)<_0x41cff4&&_0x41cff4<=(0xaab05^0xaab7a)?_0x4d8ea5['push'](_0x422438['charAt'](_0xcaf628)):0x80<=_0x41cff4&&_0x41cff4<=0x7ff?(_0x1bfdf5=0xc0|_0x41cff4>>0x6&0x1f,_0x387f8b=0x80|(0xc412e^0xc4111)&_0x41cff4,_0x4d8ea5['push'](String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](_0x1bfdf5),String['fromCharCode'](_0x387f8b))):0x800<=_0x41cff4&&_0x41cff4<=0xffff&&(_0x1bfdf5=0xea670^0xea690|_0x41cff4>>0xc&(0x69d26^0x69d29),_0x387f8b=0x80|_0x41cff4>>0x6&0x3f,_0x41cff4=0x80|(0x7b208^0x7b237)&_0x41cff4,_0x4d8ea5['push'](String['fromCharCode'](_0x1bfdf5),String['fromCharCode'](_0x387f8b),String['fromCharCode'](_0x41cff4)));}return _0x4d8ea5['join']('');},'UTF8ToUTF16':function(_0x20af00){for(var _0x58da14=[],_0x2030c7=_0x20af00['length'],_0x2a3a19=0x0,_0x2a3a19=0x0;_0x2a3a19<_0x2030c7;_0x2a3a19++){var _0x21f8a6,_0x336025,_0x4ad7ac=_0x20af00['charCodeAt'](_0x2a3a19);(0x66719^0x66719)==(_0x4ad7ac>>0x7&0xff)?_0x58da14['push'](_0x20af00['charAt'](_0x2a3a19)):(0xe97d3^0xe97d5)==(_0x4ad7ac>>(0x9ffe9^0x9ffec)&(0x507af^0x50750))?(_0x336025=(0x1f&_0x4ad7ac)<<0x6|0x3f&(_0x21f8a6=_0x20af00['charCodeAt'](++_0x2a3a19)),_0x58da14['push'](Sting['fromCharCode'](_0x336025))):(0x47a82^0x47a8c)==(_0x4ad7ac>>0x4&(0x59b7f^0x59b80))&&(_0x336025=(0xff&(_0x4ad7ac<<0x4|(_0x21f8a6=_0x20af00['charCodeAt'](++_0x2a3a19))>>0x2&(0xf4216^0xf4219)))<<(0x4490c^0x44904)|((0x3&_0x21f8a6)<<(0xe1069^0xe106f)|0x3f&_0x20af00['charCodeAt'](++_0x2a3a19)),_0x58da14["\u0070\u0075\u0073\u0068"](String['fromCharCode'](_0x336025)));}return _0x58da14['join']('');},'encode':function(_0xfaca45){if(!_0xfaca45)return"".split("").reverse().join("");for(var _0x2c45db=this['UTF16ToUTF8'](_0xfaca45),_0x3672be=0xa43cd^0xa43cd,_0x4be34f=_0x2c45db['length'],_0x68124c=[];_0x3672be<_0x4be34f;){var _0x33bedd=0xff&_0x2c45db['charCodeAt'](_0x3672be++);if(_0x68124c['push'](this["\u0074\u0061\u0062\u006c\u0065"][_0x33bedd>>0x2]),_0x3672be==_0x4be34f){_0x68124c['push'](this['table'][((0x92e5a^0x92e59)&_0x33bedd)<<(0x2b8cd^0x2b8c9)]);_0x68124c['push']("==".split("").reverse().join(""));break;}var _0x3ee960=_0x2c45db['charCodeAt'](_0x3672be++);if(_0x3672be==_0x4be34f){_0x68124c['push'](this['table'][(0x3&_0x33bedd)<<(0x53961^0x53965)|_0x3ee960>>(0xb5a8c^0xb5a88)&0xf]);_0x68124c["\u0070\u0075\u0073\u0068"](this['table'][(0xf&_0x3ee960)<<(0xb27ae^0xb27ac)]);_0x68124c['push']('=');break;}var _0x139d15=_0x2c45db['charCodeAt'](_0x3672be++);_0x68124c["\u0070\u0075\u0073\u0068"](this['table'][(0x3&_0x33bedd)<<0x4|_0x3ee960>>(0x2ddda^0x2ddde)&0xf]);_0x68124c['push'](this['table'][(0xf&_0x3ee960)<<0x2|(0xc0&_0x139d15)>>0x6]);_0x68124c['push'](this['table'][(0x1e938^0x1e907)&_0x139d15]);}return _0x68124c["\u006a\u006f\u0069\u006e"]('');},'decode':function(_0x34913f){if(!_0x34913f)return'';for(var _0x58a61c=_0x34913f['length'],_0x4a0858=0x0,_0x4e498e=[];_0x4a0858<_0x58a61c;)code1=this["\u0074\u0061\u0062\u006c\u0065"]['indexOf'](_0x34913f['charAt'](_0x4a0858++)),code2=this['table']['indexOf'](_0x34913f['charAt'](_0x4a0858++)),code3=this['table']['indexOf'](_0x34913f['charAt'](_0x4a0858++)),code4=this['table']['indexOf'](_0x34913f['charAt'](_0x4a0858++)),c1=code1<<(0x2f830^0x2f832)|code2>>(0xf0fa9^0xf0fad),_0x4e498e["\u0070\u0075\u0073\u0068"](String['fromCharCode'](c1)),-(0xbb250^0xbb251)!=code3&&(c2=(0xf&code2)<<(0x9fe76^0x9fe72)|code3>>(0x3f4fb^0x3f4f9),_0x4e498e["\u0070\u0075\u0073\u0068"](String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](c2))),-0x1!=code4&&(c3=((0xa035d^0xa035e)&code3)<<(0xad006^0xad000)|code4,_0x4e498e['push'](String['fromCharCode'](c3)));return this['UTF8ToUTF16'](_0x4e498e['join']("".split("").reverse().join("")));}};function _0xd162ff(_0x212742,_0x5472ca){for(var _0x32176b=_0x3f7edf['encode'](""['concat'](_0x212742,"REWQ0921NAZPIREWQ".split("").reverse().join(""))['concat'](_0x5472ca)),_0x30789f="".split("").reverse().join(""),_0x515503=0x0;_0x515503<0x50;_0x515503++)_0x30789f+=Math['random']()['toString'](0x5e260^0x5e270)['slice'](0x2);return _0x32176b=''['concat'](_0x30789f['slice'](0xe7cdd^0xe7cdd,0x44ed4^0x44eb0))['concat'](_0x32176b['slice'](0x289be^0x289be,0x8))['concat'](_0x30789f['slice'](0x46307^0x46363,0xc8))['concat'](_0x32176b['slice'](0x8,0xdcf8d^0xdcf99))['concat'](_0x30789f["\u0073\u006c\u0069\u0063\u0065"](0xc8,0xb6297^0xb63bb))['concat'](_0x32176b['slice'](0x14))['concat'](_0x30789f['slice'](0xed7f8^0xed6d4,0x4d382^0x4d212)),_0x32176b;}return{'account':_0xd162ff(_0x287c82,_0x52b8c2),"\u0073\u006f\u0075\u0072\u0063\u0065":'ipzan-home-one'};}async function _0x241982(_0xd840dc=0x71cd9^0x71761){return console['log']('-----------\x20延迟\x20'+_0xd840dc/(0x69cb1^0x69f59)+'\x20s请稍等\x20-----------'),await new Promise(_0x36ca3b=>setTimeout(_0x36ca3b,_0xd840dc));}async function _0x5e22b6(){}async function _0x76f888(){if(_0xa2efe3){let _0x88d22d=_0x44155b[0x0];for(let _0x533ed5 of _0x44155b){if(_0xa2efe3['indexOf'](_0x533ed5)>-0x1){_0x88d22d=_0x533ed5;break;}}for(let _0x6ab3d9 of _0xa2efe3['split'](_0x88d22d)){if(_0x6ab3d9)_0xd941b5['push'](new _0x138232(_0x6ab3d9));}userCount=_0xd941b5['length'];}else{console['log']('请先注册https://www.ipzan.com?pid=aguohteqg\x2020240923\x20修复版\x20ArcadiaScriptPublic\x20\x20频道https://t.me/ArcadiaScript\x20群组https://t.me/ArcadiaScriptPublic================未找到\x20配置信息请检查是否配置\x20变量',_0x34f238);return;}return console['log']('共找到'+userCount+"\u4e2a\u8d26\u53f7"),!![];}async function _0x58c2e5(_0x1096c4,_0x23b909){return httpErr=null,httpReq=null,httpResp=null,new Promise(_0x5b67d7=>{_0xf1ea8['send'](_0x1096c4,_0x23b909,async(_0x42da53,_0x1cb6c2,_0x35862c)=>{httpErr=_0x42da53;httpReq=_0x1cb6c2;httpResp=_0x35862c;_0x5b67d7({'err':_0x42da53,'req':_0x1cb6c2,'resp':_0x35862c});});});}function _0x299988(_0x5e68ae,_0x1b899c){return'undefined'!=typeof process&&JSON['stringify'](process['env'])['indexOf']('GITHUB')>-0x1&&process['exit'](0x4e017^0x4e017),new class{constructor(_0x5ef0ed,_0x5af996){this['name']=_0x5ef0ed;this['notifyStr']="".split("").reverse().join("");this["\u0073\u0074\u0061\u0072\u0074\u0054\u0069\u006d\u0065"]=new Date()['getTime']();Object["\u0061\u0073\u0073\u0069\u0067\u006e"](this,_0x5af996);console['log'](this['name']+'\x20开始运行\x0a');}['isNode'](){return"denifednu".split("").reverse().join("")!=typeof module&&!!module['exports'];}['isQuanX'](){return'undefined'!=typeof $task;}["egruSsi".split("").reverse().join("")](){return'undefined'!=typeof $httpClient&&'undefined'==typeof $loon;}['isLoon'](){return"denifednu".split("").reverse().join("")!=typeof $loon;}["\u0067\u0065\u0074\u0064\u0061\u0074\u0061"](_0x45d84e){let _0x827e54=this['getval'](_0x45d84e);if(/^@/['test'](_0x45d84e)){const[,_0x21131d,_0xfeb65a]=/^@(.*?)\.(.*?)$/['exec'](_0x45d84e),_0x313afd=_0x21131d?this["\u0067\u0065\u0074\u0076\u0061\u006c"](_0x21131d):'';if(_0x313afd)try{const _0x4d0c4e=JSON['parse'](_0x313afd);_0x827e54=_0x4d0c4e?this['lodash_get'](_0x4d0c4e,_0xfeb65a,"".split("").reverse().join("")):_0x827e54;}catch(_0x18de0e){_0x827e54="";}}return _0x827e54;}["atadtes".split("").reverse().join("")](_0x40d9c1,_0x436d71){let _0x2fabb5=![];if(/^@/['test'](_0x436d71)){const[,_0x3dcea9,_0x31540b]=/^@(.*?)\.(.*?)$/['exec'](_0x436d71),_0x2d5572=this['getval'](_0x3dcea9),_0x3f5245=_0x3dcea9?"llun".split("").reverse().join("")===_0x2d5572?null:_0x2d5572||"\u007b\u007d":'{}';try{const _0x1f46c1=JSON['parse'](_0x3f5245);this['lodash_set'](_0x1f46c1,_0x31540b,_0x40d9c1);_0x2fabb5=this["\u0073\u0065\u0074\u0076\u0061\u006c"](JSON['stringify'](_0x1f46c1),_0x3dcea9);}catch(_0x34519b){const _0x160106={};this["\u006c\u006f\u0064\u0061\u0073\u0068\u005f\u0073\u0065\u0074"](_0x160106,_0x31540b,_0x40d9c1);_0x2fabb5=this['setval'](JSON['stringify'](_0x160106),_0x3dcea9);}}else _0x2fabb5=this['setval'](_0x40d9c1,_0x436d71);return _0x2fabb5;}['getval'](_0x52870e){return this['isSurge']()||this['isLoon']()?$persistentStore['read'](_0x52870e):this['isQuanX']()?$prefs['valueForKey'](_0x52870e):this['isNode']()?(this['data']=this['loaddata'](),this['data'][_0x52870e]):this['data']&&this['data'][_0x52870e]||null;}["lavtes".split("").reverse().join("")](_0x27c185,_0x5b7f41){return this["\u0069\u0073\u0053\u0075\u0072\u0067\u0065"]()||this['isLoon']()?$persistentStore["\u0077\u0072\u0069\u0074\u0065"](_0x27c185,_0x5b7f41):this['isQuanX']()?$prefs["\u0073\u0065\u0074\u0056\u0061\u006c\u0075\u0065\u0046\u006f\u0072\u004b\u0065\u0079"](_0x27c185,_0x5b7f41):this['isNode']()?(this['data']=this['loaddata'](),this['data'][_0x5b7f41]=_0x27c185,this['writedata'](),!0x0):this['data']&&this["\u0064\u0061\u0074\u0061"][_0x5b7f41]||null;}['send'](_0x6ab96,_0x518dfd,_0x5db0b6=()=>{}){if(_0x6ab96!='get'&&_0x6ab96!="tsop".split("").reverse().join("")&&_0x6ab96!="tup".split("").reverse().join("")&&_0x6ab96!='delete'){console['log']('无效的http方法'+_0x6ab96);return;}if(_0x6ab96=='get'&&_0x518dfd['headers'])delete _0x518dfd["\u0068\u0065\u0061\u0064\u0065\u0072\u0073"]['Content-Type'],delete _0x518dfd['headers']['Content-Length'];else{if(_0x518dfd['body']&&_0x518dfd["\u0068\u0065\u0061\u0064\u0065\u0072\u0073"]){if(!_0x518dfd['headers']['Content-Type'])_0x518dfd['headers']['Content-Type']="dedocnelru-mrof-www-x/noitacilppa".split("").reverse().join("");}}if(this['isSurge']()||this['isLoon']()){this['isSurge']()&&this['isNeedRewrite']&&(_0x518dfd['headers']=_0x518dfd['headers']||{},Object['assign'](_0x518dfd['headers'],{'X-Surge-Skip-Scripting':!0x1}));let _0x4ac95c={'method':_0x6ab96,'url':_0x518dfd["\u0075\u0072\u006c"],'headers':_0x518dfd['headers'],'timeout':_0x518dfd['timeout'],'data':_0x518dfd['body']};if(_0x6ab96=='get')delete _0x4ac95c['data'];$axios(_0x4ac95c)['then'](_0xb09200=>{const{status:_0x38f4e5,request:_0x4e7008,headers:_0xbe0d20,data:_0x6e766b}=_0xb09200;_0x5db0b6(null,_0x4e7008,{'statusCode':_0x38f4e5,'headers':_0xbe0d20,"\u0062\u006f\u0064\u0079":_0x6e766b});})['catch'](_0x3a0690=>console['log'](_0x3a0690));}else{if(this['isQuanX']()){_0x518dfd['method']=_0x6ab96["\u0074\u006f\u0055\u0070\u0070\u0065\u0072\u0043\u0061\u0073\u0065"]();this['isNeedRewrite']&&(_0x518dfd['opts']=_0x518dfd['opts']||{},Object['assign'](_0x518dfd["\u006f\u0070\u0074\u0073"],{'hints':!(0x9dd40^0x9dd41)}));$task['fetch'](_0x518dfd)['then'](_0x358dc0=>{const{statusCode:_0x6a27b4,request:_0x433010,headers:_0x475448,body:_0x87c91a}=_0x358dc0;_0x5db0b6(null,_0x433010,{'statusCode':_0x6a27b4,'headers':_0x475448,'body':_0x87c91a});},_0x3686ff=>_0x5db0b6(_0x3686ff));}else{if(this['isNode']()){this['got']=this['got']?this['got']:require('got');const{url:_0x6b10a8,..._0x5cc785}=_0x518dfd;this["\u0069\u006e\u0073\u0074\u0061\u006e\u0063\u0065"]=this["\u0067\u006f\u0074"]["\u0065\u0078\u0074\u0065\u006e\u0064"]({"\u0066\u006f\u006c\u006c\u006f\u0077\u0052\u0065\u0064\u0069\u0072\u0065\u0063\u0074":![]});this['instance'][_0x6ab96](_0x6b10a8,_0x5cc785)['then'](_0x35f375=>{const{statusCode:_0xe561eb,request:_0x260333,headers:_0xe5a253,body:_0x314143}=_0x35f375;_0x5db0b6(null,_0x260333,{'statusCode':_0xe561eb,'headers':_0xe5a253,'body':_0x314143});},_0xaa60c3=>{const{message:_0x595a08,request:_0x43f693,response:_0xdc86bb}=_0xaa60c3;_0x5db0b6(_0x595a08,_0x43f693,_0xdc86bb);});}}}}['time'](_0x1b0eea,_0x411068=null){let _0x5df1d2=_0x411068?new Date(_0x411068):new Date(),_0x5ddfa6={'M+':_0x5df1d2['getMonth']()+0x1,'d+':_0x5df1d2['getDate'](),'h+':_0x5df1d2['getHours'](),'m+':_0x5df1d2['getMinutes'](),'s+':_0x5df1d2['getSeconds'](),'q+':Math['floor']((_0x5df1d2['getMonth']()+(0xa3a76^0xa3a75))/(0x4819c^0x4819f)),'S':_0x5df1d2['getMilliseconds']()};/(y+)/['test'](_0x1b0eea)&&(_0x1b0eea=_0x1b0eea['replace'](RegExp['$1'],(_0x5df1d2['getFullYear']()+'')['substr']((0xd9aa9^0xd9aad)-RegExp['$1']['length'])));for(let _0x2ac3f0 in _0x5ddfa6)new RegExp('('+_0x2ac3f0+')')['test'](_0x1b0eea)&&(_0x1b0eea=_0x1b0eea['replace'](RegExp['$1'],(0x428a4^0x428a5)==RegExp['$1']['length']?_0x5ddfa6[_0x2ac3f0]:('00'+_0x5ddfa6[_0x2ac3f0])['substr']((''+_0x5ddfa6[_0x2ac3f0])['length'])));return _0x1b0eea;}async["gsmwohs".split("").reverse().join("")](){if(!this['notifyStr'])return;let _0x188c37=this['name']+'\x20运行通知\x0a\x0a'+this['notifyStr'];if(_0xf1ea8['isNode']()){var _0xbee8c=require('./sendNotify');console['log']('\x0a==============\x20推送\x20==============');await _0xbee8c['sendNotify'](this['name'],_0x188c37);}else this['msg'](_0x188c37);}['logAndNotify'](_0x34c28d){console['log'](_0x34c28d);this['notifyStr']+=_0x34c28d;this['notifyStr']+='\x0a';}['logAndNotifyWithTime'](_0x5e241e){let _0x264477='['+this['time']('hh:mm:ss.S')+']'+_0x5e241e;console['log'](_0x264477);this['notifyStr']+=_0x264477;this['notifyStr']+='\x0a';}['logWithTime'](_0x254c42){console['log']('['+this['time']("S.ss:mm:hh".split("").reverse().join(""))+']'+_0x254c42);}['msg'](_0x12675d=t,_0x5ba37a='',_0x36e668='',_0x216bfd){const _0x5ec5d7=_0xbdbc36=>{if(!_0xbdbc36)return _0xbdbc36;if('string'==typeof _0xbdbc36)return this['isLoon']()?_0xbdbc36:this['isQuanX']()?{'open-url':_0xbdbc36}:this['isSurge']()?{'url':_0xbdbc36}:void(0xc2ad2^0xc2ad2);if("\u006f\u0062\u006a\u0065\u0063\u0074"==typeof _0xbdbc36){if(this['isLoon']()){let _0x1a96a6=_0xbdbc36['openUrl']||_0xbdbc36['url']||_0xbdbc36['open-url'],_0x40a058=_0xbdbc36['mediaUrl']||_0xbdbc36['media-url'];return{'openUrl':_0x1a96a6,'mediaUrl':_0x40a058};}if(this['isQuanX']()){let _0x2a7331=_0xbdbc36['open-url']||_0xbdbc36['url']||_0xbdbc36['openUrl'],_0x3c4994=_0xbdbc36['media-url']||_0xbdbc36["\u006d\u0065\u0064\u0069\u0061\u0055\u0072\u006c"];return{'open-url':_0x2a7331,'media-url':_0x3c4994};}if(this['isSurge']()){let _0x3377ed=_0xbdbc36['url']||_0xbdbc36['openUrl']||_0xbdbc36['open-url'];return{'url':_0x3377ed};}}};this['isMute']||(this['isSurge']()||this['isLoon']()?$notification['post'](_0x12675d,_0x5ba37a,_0x36e668,_0x5ec5d7(_0x216bfd)):this['isQuanX']()&&$notify(_0x12675d,_0x5ba37a,_0x36e668,_0x5ec5d7(_0x216bfd)));let _0x26331e=["".split("").reverse().join(""),"============== \u77E5\u901A\u7EDF\u7CFB ==============".split("").reverse().join("")];_0x26331e['push'](_0x12675d);_0x5ba37a&&_0x26331e['push'](_0x5ba37a);_0x36e668&&_0x26331e['push'](_0x36e668);console['log'](_0x26331e['join']('\x0a'));}["niMteg".split("").reverse().join("")](_0x262f3d,_0x395a2a){return _0x262f3d<_0x395a2a?_0x262f3d:_0x395a2a;}['getMax'](_0xdcbf8b,_0x164d4a){return _0xdcbf8b<_0x164d4a?_0x164d4a:_0xdcbf8b;}["rtSdap".split("").reverse().join("")](_0x4eff9f,_0x2414b3,_0x4dea6b='0'){let _0x36df73=String(_0x4eff9f),_0x21dd99=_0x2414b3>_0x36df73['length']?_0x2414b3-_0x36df73['length']:0x0,_0xb18f2c='';for(let _0x3eb8e7=0x0;_0x3eb8e7<_0x21dd99;_0x3eb8e7++){_0xb18f2c+=_0x4dea6b;}return _0xb18f2c+=_0x36df73,_0xb18f2c;}['json2str'](_0xe5632d,_0x3c2d8c,_0x56076b=![]){let _0x4dbbc3=[];for(let _0x18a786 of Object['keys'](_0xe5632d)['sort']()){let _0x6905f9=_0xe5632d[_0x18a786];if(_0x6905f9&&_0x56076b)_0x6905f9=encodeURIComponent(_0x6905f9);_0x4dbbc3['push'](_0x18a786+'='+_0x6905f9);}return _0x4dbbc3['join'](_0x3c2d8c);}['str2json'](_0x27e2e8,_0x5f22d9=![]){let _0x1c7c1e={};for(let _0x58aad9 of _0x27e2e8['split']('&')){if(!_0x58aad9)continue;let _0x4b0ec0=_0x58aad9['indexOf']('=');if(_0x4b0ec0==-(0xe42f1^0xe42f0))continue;let _0x2a8313=_0x58aad9['substr'](0x0,_0x4b0ec0),_0x2f5548=_0x58aad9['substr'](_0x4b0ec0+0x1);if(_0x5f22d9)_0x2f5548=decodeURIComponent(_0x2f5548);_0x1c7c1e[_0x2a8313]=_0x2f5548;}return _0x1c7c1e;}['randomString'](_0x2240a9,_0x490a68="9876543210fedcba".split("").reverse().join("")){let _0x1efc0f='';for(let _0x5296c0=0xc1811^0xc1811;_0x5296c0<_0x2240a9;_0x5296c0++){_0x1efc0f+=_0x490a68['charAt'](Math['floor'](Math['random']()*_0x490a68['length']));}return _0x1efc0f;}["tsiLmodnar".split("").reverse().join("")](_0x33e515){let _0x487377=Math['floor'](Math['random']()*_0x33e515['length']);return _0x33e515[_0x487377];}["tiaw".split("").reverse().join("")](_0x929715){return new Promise(_0x3c0f7f=>setTimeout(_0x3c0f7f,_0x929715));}['done'](_0x44fded={}){const _0x5ad9c5=new Date()['getTime'](),_0xe663a=(_0x5ad9c5-this['startTime'])/0x3e8;console['log']('\x0a'+this['name']+" \u4E86\u884C\u8FD0\u5171\uFF0C\u675F\u7ED3\u884C\u8FD0 ".split("").reverse().join("")+_0xe663a+'\x20秒');if(this['isSurge']()||this['isQuanX']()||this['isLoon']())$done(_0x44fded);}}(_0x5e68ae,_0x1b899c);}