mirror of https://github.com/6dylan6/jdpro.git
10 lines
45 KiB
JavaScript
10 lines
45 KiB
JavaScript
/*
|
||
互动消息检测
|
||
仅检测,有豆到APP-我的-消息-互动消息去完成任务
|
||
https://raw.githubusercontent.com/6dylan6/jdpro/main/jd_hdcheck.js
|
||
updatetime:22023/08/24 屏蔽无用消息
|
||
*/
|
||
|
||
const $ = new Env('互动消息检查');
|
||
const _0xf90bae=_0x4bac;(function(_0x13fba5,_0x348e04){const _0x5dfe7a=_0xf90bae,_0x4ca6b7=_0x3817();while(!![]){try{const _0x529705=-parseInt(_0x5dfe7a('0x251','Z$6B'))/(-0x5fb+-0x1498+-0x36*-0x7e)+parseInt(_0x5dfe7a('0x203','Oc[5'))/(0x396+-0x493+0x11*0xf)*(-parseInt(_0x5dfe7a('0x1d6','UO&c'))/(-0x1*0x13b1+-0x4ff+0x18b3*0x1))+-parseInt(_0x5dfe7a('0x12a','I)eq'))/(-0x1de5+0x1148+-0x35*-0x3d)+-parseInt(_0x5dfe7a('0x24c','XWUN'))/(0x4*0x805+-0x2ab*-0x6+0x6b*-0x73)+parseInt(_0x5dfe7a('0x1a7','MUZo'))/(-0xb06*-0x3+0x257c+-0x4688)*(-parseInt(_0x5dfe7a('0x14e','n8s9'))/(0x20ff*-0x1+-0x38f*-0x3+0x1659))+-parseInt(_0x5dfe7a('0x1cd','#(3G'))/(0xd87+-0x671+-0x6*0x12d)*(-parseInt(_0x5dfe7a('0xf7','bxO&'))/(-0x180e+0x9d*-0x2f+-0x1*-0x34ea))+parseInt(_0x5dfe7a('0x12d','MUZo'))/(0x83*0x33+0x1aed+-0x34fc*0x1);if(_0x529705===_0x348e04)break;else _0x4ca6b7['push'](_0x4ca6b7['shift']());}catch(_0xb016a8){_0x4ca6b7['push'](_0x4ca6b7['shift']());}}}(_0x3817,-0x2*0x2b169+0x2b43b*-0x4+0x1949b3));const _0x5f23a2=$[_0xf90bae('0x1ce','msAr')]()?require(_0xf90bae('0x1b7','x7z$')):'',_0xbf28e6=$[_0xf90bae('0x243','K&Kl')]()?require(_0xf90bae('0x184','Oc[5')):'',_0x1ec1de=require(_0xf90bae('0x182','npE)')),_0x8fbcc4=require(_0xf90bae('0x1e8','N8DT')),_0x3680a2=require(_0xf90bae('0x11d','I0M6'));let _0x48cde8=!![],_0x315a64=[],_0x5c6a48='',_0x1b20b7='';if($[_0xf90bae('0x14a','vwZS')]()){Object[_0xf90bae('0x134','p)$l')](_0xbf28e6)[_0xf90bae('0xc8','gQT0')](_0x11fa1e=>{const _0x42ab9d=_0xf90bae;_0x315a64[_0x42ab9d('0x13e','bxO&')](_0xbf28e6[_0x11fa1e]);});if(process[_0xf90bae('0x12f','mfPS')][_0xf90bae('0x1a2','5Q^V')]&&process[_0xf90bae('0x244','bxO&')][_0xf90bae('0xb1','mq(8')]===_0xf90bae('0x1d7','Jz@x'))console[_0xf90bae('0x1fc','mq(8')]=()=>{};}else _0x315a64=[$[_0xf90bae('0xf5','h%cX')](_0xf90bae('0x201','[C$k')),$[_0xf90bae('0xc6','XWUN')](_0xf90bae('0x1c9','Z$6B')),..._0x38734c($[_0xf90bae('0x171','npE)')](_0xf90bae('0x240','Ykm@'))||'[]')[_0xf90bae('0x1f8','Ykm@')](_0x5708c2=>_0x5708c2[_0xf90bae('0xe1','U&8s')])][_0xf90bae('0x196','^P)N')](_0x49bdc2=>!!_0x49bdc2);!(async()=>{const _0x3e5558=_0xf90bae,_0x6a3510={'BuuRl':_0x3e5558('0x162','x7z$'),'UzqWF':_0x3e5558('0x1ff','p)$l'),'SMhwS':function(_0x3226a4,_0x23ccbd){return _0x3226a4<_0x23ccbd;},'SSWuS':function(_0x235923){return _0x235923();},'lBqay':_0x3e5558('0x1d4','B#NQ'),'maAoV':function(_0x4db27f,_0xcdc8c){return _0x4db27f===_0xcdc8c;},'AYUFo':function(_0x1756af,_0x159450){return _0x1756af!==_0x159450;},'FTZak':_0x3e5558('0xc1','I0M6')};if(!_0x315a64[0x11ad+-0x1c0*-0x7+0x2f*-0xa3]){$[_0x3e5558('0x125','I)eq')]($[_0x3e5558('0xd2','[Hl%')],_0x6a3510[_0x3e5558('0xb9','X6ox')],_0x6a3510[_0x3e5558('0x104','gQT0')],{'open-url':_0x6a3510[_0x3e5558('0x20a','%8P*')]});return;}$[_0x3e5558('0x1ad','[C$k')](_0x3e5558('0x19e','OxL*'));for(let _0x3f252d=-0x29*-0xda+0x8*0x48e+-0x475a;_0x6a3510[_0x3e5558('0x10b','N8DT')](_0x3f252d,_0x315a64[_0x3e5558('0xc4','XM!Z')]);_0x3f252d++){if(_0x315a64[_0x3f252d]){_0x5c6a48=_0x315a64[_0x3f252d],$[_0x3e5558('0xba','MUZo')]=decodeURIComponent(_0x5c6a48[_0x3e5558('0x113','XWUN')](/pt_pin=([^; ]+)(?=;?)/)&&_0x5c6a48[_0x3e5558('0x1b5','X%Xo')](/pt_pin=([^; ]+)(?=;?)/)[-0x1f36+-0x36*-0x78+0x5e7]),$[_0x3e5558('0x21e','Jz@x')]=_0x3f252d+(-0x70*0x44+0x5e*-0x19+-0x1*-0x26ef),$[_0x3e5558('0xf3','I)eq')]=!![],$[_0x3e5558('0x1e2','y4Fw')]='',$[_0x3e5558('0x16e',']2GJ')]=[],$[_0x3e5558('0x20e','I)eq')]=[],$['UA']=_0x1ec1de[_0x3e5558('0x22d','h%cX')]?_0x1ec1de[_0x3e5558('0xf4','rXYR')]():_0x1ec1de[_0x3e5558('0x1e7','B#NQ')],await _0x6a3510[_0x3e5558('0x143','B#NQ')](_0x350d07),console[_0x3e5558('0x224',']2GJ')](_0x3e5558('0x140','XM!Z')+$[_0x3e5558('0x1f9','2T%B')]+'】'+($[_0x3e5558('0x19b','#(3G')]||$[_0x3e5558('0x212','2T%B')])+_0x3e5558('0x1d5','2T%B'));if(!$[_0x3e5558('0x1a0','Oc[5')]){const _0x39a02d={};_0x39a02d[_0x3e5558('0x18b',')%%]')]=_0x3e5558('0x17c','UO&c'),$[_0x3e5558('0xb6','[C$k')]($[_0x3e5558('0x164','^P)N')],_0x3e5558('0x17b','[Hl%'),_0x3e5558('0x105','vwZS')+$[_0x3e5558('0x1f9','2T%B')]+'\x20'+($[_0x3e5558('0x1eb','B*GZ')]||$[_0x3e5558('0x122','ewVz')])+_0x3e5558('0x1df','U&8s'),_0x39a02d);$[_0x3e5558('0x132','329d')]()&&await _0x5f23a2[_0x3e5558('0xcb','mq(8')]($[_0x3e5558('0x17e','B*GZ')]+_0x3e5558('0x1f0','mq(8')+$[_0x3e5558('0x207','msAr')],_0x3e5558('0x1db','x3eI')+$[_0x3e5558('0x21e','Jz@x')]+'\x20'+$[_0x3e5558('0x16c','rXYR')]+_0x3e5558('0x225','gQT0'));continue;}await _0x4bec21();for(let _0x1424b8 of $[_0x3e5558('0x1ef','2T%B')]){if(_0x1424b8[_0x3e5558('0x103','rXYR')]||_0x1424b8[_0x3e5558('0xe6','X6ox')])continue;_0x1424b8[_0x3e5558('0x1ca','Oc[5')][_0x3e5558('0x1cf','x7z$')]('京豆')&&!_0x1424b8[_0x3e5558('0x18a','2T%B')][_0x3e5558('0x1fa','XM!Z')]('种豆')&&!_0x1424b8[_0x3e5558('0x1c1','5Q^V')][_0x3e5558('0x1cb','yn[*')]('农场')&&!_0x1424b8[_0x3e5558('0x186','X%Xo')][_0x3e5558('0x228','vwZS')]('签到')&&!_0x1424b8[_0x3e5558('0x178','#(3G')][_0x3e5558('0x21b','gQT0')]('昨日')&&$[_0x3e5558('0x230','U&8s')][_0x3e5558('0x11a','N8DT')](_0x1424b8[_0x3e5558('0x1e4','Jc7Z')]);}if($[_0x3e5558('0xd0','N8DT')][_0x3e5558('0xf8','[Hl%')]!==-0x46+0x89b*0x1+-0x855*0x1){_0x1b20b7==''&&(_0x1b20b7+=_0x3e5558('0x199','Jz@x')),console[_0x3e5558('0x109','gQT0')](_0x6a3510[_0x3e5558('0xc7','x3eI')]),_0x1b20b7+=_0x3e5558('0x1f6','X6ox')+$[_0x3e5558('0x1ba','X%Xo')]+':'+($[_0x3e5558('0x24e','n8s9')]||$[_0x3e5558('0xcc','^P)N')])+_0x3e5558('0xb7','Jz@x');for(let _0x28e20e of $[_0x3e5558('0x1a6','2T%B')]){_0x6a3510[_0x3e5558('0x22e','I)eq')](_0x3e5558('0x141','yn[*'),_0x3e5558('0xce','U&8s'))?(console[_0x3e5558('0x127','mfPS')](_0x28e20e+'\x0a'),_0x1b20b7+=_0x28e20e+'\x0a\x0a'):_0xb1bc77[_0x3e5558('0xdc','x7z$')](_0x3e5558('0x1ee','h%cX'));}}else{if(_0x6a3510[_0x3e5558('0x112','Oc[5')](_0x6a3510[_0x3e5558('0xd4','p)$l')],_0x3e5558('0x1d8',')%%]')))return![];else $[_0x3e5558('0x1af','B*GZ')](_0x3e5558('0x119','msAr'));}await $[_0x3e5558('0xf9','5Q^V')](-0x250f+0x1b07+-0x1d90*-0x1);}}if(_0x1b20b7)await _0x5f23a2[_0x3e5558('0x158','x7z$')](''+$[_0x3e5558('0x1d2','ewVz')],''+_0x1b20b7);})()[_0xf90bae('0x111','Uo*G')](_0x51b1eb=>{const _0x291321=_0xf90bae;$[_0x291321('0x1b0','Jz@x')]('','❌\x20'+$[_0x291321('0x234',')%%]')]+_0x291321('0x246','g^ri')+_0x51b1eb+'!','');})[_0xf90bae('0x154','XM!Z')](()=>{const _0x5ee0d6=_0xf90bae;$[_0x5ee0d6('0x138','Jc7Z')]();});async function _0x4bec21(){const _0x480a10=_0xf90bae,_0x3d89be={'Yatho':function(_0x237cf0,_0x47d011){return _0x237cf0==_0x47d011;},'wRgkf':_0x480a10('0x24d','B*GZ'),'xxEfa':_0x480a10('0x1e6','K&Kl'),'nJBCs':_0x480a10('0x20f','g^ri'),'HAXet':_0x480a10('0x151','#(3G'),'mvdqF':function(_0x10fec9,_0x2c73d9){return _0x10fec9(_0x2c73d9);},'imcam':_0x480a10('0x150','I0M6'),'geBDv':_0x480a10('0xe4','Ykm@')};let _0x4e4d6d=Date[_0x480a10('0x16d','MUZo')](),_0x408fc3=_0xdc855e(),_0x2a9481=_0xdc855e();const _0x2b6576={};_0x2b6576[_0x480a10('0xbd','%8P*')]='12',_0x2b6576[_0x480a10('0x121','gQT0')]='0',_0x2b6576[_0x480a10('0x21c','XWUN')]=null,_0x2b6576[_0x480a10('0x22c','MUZo')]=0x1;let _0x4c6366=_0x2b6576,_0x2d2ba9=_0x408fc3+_0x480a10('0x10f','g^ri')+_0x2a9481+'&'+_0x408fc3+_0x480a10('0xee','Uo*G')+_0x4e4d6d+'&'+_0x408fc3,_0x5be63=_0x3d89be[_0x480a10('0xf0','X6ox')],_0x23b63a=_0x3680a2[_0x480a10('0x202','ewVz')](_0x2d2ba9,_0x5be63);_0x23b63a=_0x3680a2[_0x480a10('0x12c','[C$k')][_0x480a10('0x1da','mfPS')][_0x480a10('0x159','N8DT')](_0x23b63a);let _0x7df707={'url':_0x480a10('0xf6','I)eq'),'body':_0x480a10('0x101','vwZS')+_0x4e4d6d+_0x480a10('0x106','[Hl%')+_0x2a9481+_0x480a10('0x110','X6ox')+_0x408fc3+_0x480a10('0x238','329d')+_0x408fc3+_0x480a10('0x1a3','p)$l')+_0x408fc3+_0x480a10('0x1aa','2T%B')+_0x3d89be[_0x480a10('0x139','p)$l')](encodeURIComponent,JSON[_0x480a10('0xb4','x3eI')](_0x4c6366))+_0x480a10('0x189','B#NQ')+_0x23b63a,'headers':{'Host':_0x3d89be[_0x480a10('0x213','mq(8')],'Content-Type':_0x3d89be[_0x480a10('0x1e5','y4Fw')],'User-Agent':$['UA'],'Cookie':_0x5c6a48}};return new Promise(async _0x2d1b45=>{const _0x1d8584=_0x480a10,_0xb08015={'IrpMH':_0x1d8584('0xc2','x7z$'),'sbiKm':function(_0x9b186,_0x31bbc5){return _0x9b186!==_0x31bbc5;},'hOHhL':function(_0xe79f2d,_0x122f0c){const _0x5adf43=_0x1d8584;return _0x3d89be[_0x5adf43('0x1a4','Jc7Z')](_0xe79f2d,_0x122f0c);},'SZvah':function(_0x10237b,_0x411699){return _0x10237b===_0x411699;},'gAROT':_0x3d89be[_0x1d8584('0x11e','XWUN')],'PkhTN':function(_0x56f9f4,_0x3a4774){return _0x56f9f4(_0x3a4774);}};if(_0x3d89be[_0x1d8584('0x17a','I0M6')]===_0x3d89be[_0x1d8584('0xd3','w%TU')])return _0x4e7712;else $[_0x1d8584('0x235','iJmH')](_0x7df707,async(_0x1c00ff,_0x3698b2,_0x44557e)=>{const _0x1682b0=_0x1d8584;try{if(_0xb08015[_0x1682b0('0x16a','B*GZ')](_0x1682b0('0xe5','K&Kl'),_0x1682b0('0x124','B*GZ'))){if(_0x1c00ff)console[_0x1682b0('0xdc','x7z$')](''+JSON[_0x1682b0('0x15c','%8P*')](_0x1c00ff)),console[_0x1682b0('0x14f','h%cX')](_0x1682b0('0x177','[Hl%'));else{_0x44557e=JSON[_0x1682b0('0x252','msAr')](_0x44557e);if(_0xb08015[_0x1682b0('0x221','w%TU')](_0x44557e[_0x1682b0('0x1b3','h%cX')],-0x194c+0xc6*-0x25+0x2*0x1af5))$[_0x1682b0('0x1c5','[Hl%')]=_0x44557e[_0x1682b0('0x1f5','npE)')];else{if(_0xb08015[_0x1682b0('0x1ed','bxO&')](_0x1682b0('0xbf','MUZo'),_0x1682b0('0x1e1','%8P*')))console[_0x1682b0('0x1be','B#NQ')](JSON[_0x1682b0('0x211','2T%B')](_0x44557e));else{if(typeof _0x3384a9[_0x1682b0('0x181','UO&c')](_0x590d3e)==_0xb08015[_0x1682b0('0x1fb','y4Fw')])return!![];}}}}else return _0x40a204[_0x1682b0('0x1a5','Uo*G')](_0x4c21df);}catch(_0x445ef8){if(_0xb08015[_0x1682b0('0x19a','Jz@x')]===_0x1682b0('0x1d1','mfPS'))return function(_0x266765){}[_0x1682b0('0xdb','Uo*G')](_0x1682b0('0x245','5Q^V'))[_0x1682b0('0x1c4','npE)')](_0x1682b0('0x23f','y4Fw'));else $[_0x1682b0('0xca','N8DT')](_0x445ef8,_0x3698b2);}finally{_0xb08015[_0x1682b0('0x174','p)$l')](_0x2d1b45,_0x44557e);}});});}if(_0xf90bae('0x188','B*GZ')==_0xf90bae('0x15e','Uo*G'))return;function _0xdc855e(){const _0xe2c4a2=_0xf90bae,_0x4755f1={};_0x4755f1[_0xe2c4a2('0xb8','[Hl%')]=function(_0x291662,_0x8bb94b){return _0x291662*_0x8bb94b;},_0x4755f1[_0xe2c4a2('0x126','2T%B')]=function(_0x450cac,_0x226b40){return _0x450cac/_0x226b40;},_0x4755f1[_0xe2c4a2('0xf2','p)$l')]=function(_0x59ec54,_0x5ba4c7){return _0x59ec54|_0x5ba4c7;},_0x4755f1[_0xe2c4a2('0x100','mq(8')]=function(_0x485a5c,_0x1d44aa){return _0x485a5c&_0x1d44aa;};const _0x294d2f=_0x4755f1;var _0xc906de,_0x440540=new Date()[_0xe2c4a2('0xd6','B*GZ')](),_0x49003d=_0xe2c4a2('0x155','rXYR')[_0xe2c4a2('0x18e','x3eI')](/[xy]/g,function(_0x5699bb){const _0x567b43=_0xe2c4a2;var _0xa0879f=(_0x440540+_0x294d2f[_0x567b43('0x128','iJmH')](0x317*0x1+0x1e77+-0x217e,Math[_0x567b43('0x12e','5c42')]()))%(0xf03+0x214f*0x1+0x80b*-0x6)|0x80c+-0x216b+0x195f;return _0x440540=Math[_0x567b43('0x1bf',']2GJ')](_0x294d2f[_0x567b43('0x116','x3eI')](_0x440540,0x19fc*-0x1+0x9*0x3f5+-0x1f*0x4f)),('x'==_0x5699bb?_0xa0879f:_0x294d2f[_0x567b43('0x149','329d')](_0x294d2f[_0x567b43('0xeb','X%Xo')](-0x1fec+-0x270f*0x1+0x46fe,_0xa0879f),0x398*-0x2+-0x4ae+-0x1*-0xbe6))[_0x567b43('0x157','U&8s')](-0x14+-0x8df+-0x1*-0x903);});return _0x49003d;}function _0xb845f3(){return;}function _0x350d07(){const _0x2198ac=_0xf90bae,_0x3ea7d9={};_0x3ea7d9[_0x2198ac('0x1f2','Ykm@')]=function(_0x4301b1,_0x13f02c){return _0x4301b1===_0x13f02c;},_0x3ea7d9[_0x2198ac('0x22f','%8P*')]=_0x2198ac('0x23e','#(3G'),_0x3ea7d9[_0x2198ac('0x23c','Uo*G')]=_0x2198ac('0x14b','Oc[5');const _0x3c376b=_0x3ea7d9;return new Promise(_0x14f34a=>{const _0x5a1ee1=_0x2198ac,_0xd73ff5={'nhoAJ':function(_0x69f915,_0x1a0104){const _0x5cc98c=_0x4bac;return _0x3c376b[_0x5cc98c('0x24f','XM!Z')](_0x69f915,_0x1a0104);},'QvbHu':function(_0x59ff36){return _0x59ff36();}},_0x158f63={};_0x158f63[_0x5a1ee1('0x231','XM!Z')]=_0x3c376b[_0x5a1ee1('0x129','[C$k')],_0x158f63[_0x5a1ee1('0x11c','MUZo')]={},_0x158f63[_0x5a1ee1('0xe7','I0M6')]=0x2710,_0x158f63[_0x5a1ee1('0x11c','MUZo')][_0x5a1ee1('0x21a','Ykm@')]=_0x5c6a48,_0x158f63[_0x5a1ee1('0x11c','MUZo')][_0x5a1ee1('0x136',']2GJ')]=_0x3c376b[_0x5a1ee1('0x11f','p)$l')],_0x158f63[_0x5a1ee1('0x11c','MUZo')][_0x5a1ee1('0x156','Z$6B')]=$['UA'];const _0x4f4fd3=_0x158f63;$[_0x5a1ee1('0x15f','B*GZ')](_0x4f4fd3,(_0x10ed78,_0xdadd9b,_0x24432c)=>{const _0x5bce7a=_0x5a1ee1;try{if(_0x24432c){if(_0x5bce7a('0xdd','Oc[5')!==_0x5bce7a('0x20d','ewVz'))return;else{_0x24432c=JSON[_0x5bce7a('0x214','%8P*')](_0x24432c);if(_0x24432c[_0x5bce7a('0xd7','y4Fw')]==='1'){}else _0xd73ff5[_0x5bce7a('0x18d','x3eI')](_0x24432c[_0x5bce7a('0xc0','w%TU')],'0')&&($[_0x5bce7a('0x1a0','Oc[5')]=![]);}}}catch(_0x4fc564){console[_0x5bce7a('0xf1','p)$l')](_0x4fc564);}finally{_0xd73ff5[_0x5bce7a('0x13c','2T%B')](_0x14f34a);}});});}function _0x4bac(_0x31975a,_0x39229e){const _0x66e788=_0x3817();return _0x4bac=function(_0x16d534,_0x1cff4c){_0x16d534=_0x16d534-(-0xf4c+0x3*0xbe7+0x8*-0x277);let _0x103c13=_0x66e788[_0x16d534];if(_0x4bac['ExtheM']===undefined){var _0x41f5cb=function(_0x4469d9){const _0x1b226b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x276ee7='',_0x166e44='',_0x50d518=_0x276ee7+_0x41f5cb;for(let _0x23b998=0x264e+0x6e3+-0x2d31,_0x3c1828,_0x203583,_0x4a0bd5=-0x9d0*0x2+-0x5*-0x1b4+0xb1c;_0x203583=_0x4469d9['charAt'](_0x4a0bd5++);~_0x203583&&(_0x3c1828=_0x23b998%(-0x894+0x86*0x4a+-0x1e24)?_0x3c1828*(0x4e4+0x1*-0x1ea1+0x19fd)+_0x203583:_0x203583,_0x23b998++%(-0x2139+0x1*0xba5+0x1598*0x1))?_0x276ee7+=_0x50d518['charCodeAt'](_0x4a0bd5+(0xd38+0x6e8+-0x1*0x1416))-(0x2*0x11b6+-0x95*0x1c+0x15d*-0xe)!==-0x15dd+-0xb75*0x1+0x2152?String['fromCharCode'](0x144b*-0x1+0x187*-0x5+-0x5c9*-0x5&_0x3c1828>>(-(-0x20b4+-0x259f+-0x569*-0xd)*_0x23b998&-0x5d5*0x1+-0x44d+0x1a*0x64)):_0x23b998:-0x6*0x60b+-0x1da3+0x41e5){_0x203583=_0x1b226b['indexOf'](_0x203583);}for(let _0x15815d=0x17c3+-0x13*0x30+-0x1433,_0x1d7ac2=_0x276ee7['length'];_0x15815d<_0x1d7ac2;_0x15815d++){_0x166e44+='%'+('00'+_0x276ee7['charCodeAt'](_0x15815d)['toString'](-0x1c4b+-0x18e1+0x353c))['slice'](-(0x1*0x19b7+-0xd*0x21b+0x1*0x1aa));}return decodeURIComponent(_0x166e44);};const _0x23d713=function(_0x10219b,_0x4c0ca8){let _0x7c4a2a=[],_0x412bbf=0x4b5*-0x2+0x10d*0x22+-0x1a50,_0x562781,_0x42d149='';_0x10219b=_0x41f5cb(_0x10219b);let _0x2ab1fe;for(_0x2ab1fe=-0x1710+0x1*0x466+0x12aa;_0x2ab1fe<0x1e9d+0x623*0x6+-0x426f;_0x2ab1fe++){_0x7c4a2a[_0x2ab1fe]=_0x2ab1fe;}for(_0x2ab1fe=-0x179*0x11+0xb52+0xdb7;_0x2ab1fe<-0x1811+-0x495+0xed3*0x2;_0x2ab1fe++){_0x412bbf=(_0x412bbf+_0x7c4a2a[_0x2ab1fe]+_0x4c0ca8['charCodeAt'](_0x2ab1fe%_0x4c0ca8['length']))%(-0x3b*-0x3a+0x16de+-0x334*0xb),_0x562781=_0x7c4a2a[_0x2ab1fe],_0x7c4a2a[_0x2ab1fe]=_0x7c4a2a[_0x412bbf],_0x7c4a2a[_0x412bbf]=_0x562781;}_0x2ab1fe=0x4*-0x9be+0x2023+0x6d5,_0x412bbf=-0x26d0+0xd0*0x2c+0x310;for(let _0xe8def5=-0x1062*-0x1+-0x128*-0x17+0x2afa*-0x1;_0xe8def5<_0x10219b['length'];_0xe8def5++){_0x2ab1fe=(_0x2ab1fe+(-0x1636+0x23ab+-0xd74))%(0x1*0xce3+-0x1396+0x3*0x291),_0x412bbf=(_0x412bbf+_0x7c4a2a[_0x2ab1fe])%(-0xb*0x1d2+-0x936+-0x3*-0xa14),_0x562781=_0x7c4a2a[_0x2ab1fe],_0x7c4a2a[_0x2ab1fe]=_0x7c4a2a[_0x412bbf],_0x7c4a2a[_0x412bbf]=_0x562781,_0x42d149+=String['fromCharCode'](_0x10219b['charCodeAt'](_0xe8def5)^_0x7c4a2a[(_0x7c4a2a[_0x2ab1fe]+_0x7c4a2a[_0x412bbf])%(-0xa*-0x26b+0xd*-0x83+-0x1087*0x1)]);}return _0x42d149;};_0x4bac['BSAHuJ']=_0x23d713,_0x31975a=arguments,_0x4bac['ExtheM']=!![];}const _0x31ea25=_0x66e788[-0x1caf+0x1b+0x7c*0x3b],_0x40bda3=_0x16d534+_0x31ea25,_0x2a6f6e=_0x31975a[_0x40bda3];if(!_0x2a6f6e){if(_0x4bac['IObbkR']===undefined){const _0x4d72b3=function(_0x365115){this['DvylWp']=_0x365115,this['nSFLaM']=[0x1d*-0xc1+0x2a*0x4f+0x3*0x2f8,-0x2f*0x71+-0xb3d*0x1+0x1ffc,-0x12aa+0x2*0x7b3+0xb*0x4c],this['FZWjxP']=function(){return'newState';},this['HnBAAE']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['CKPvCE']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x4d72b3['prototype']['ZvjVcB']=function(){const _0x1e2184=new RegExp(this['HnBAAE']+this['CKPvCE']),_0x630de2=_0x1e2184['test'](this['FZWjxP']['toString']())?--this['nSFLaM'][0x423+-0x1*0x10e1+0xcbf]:--this['nSFLaM'][0x1ff3+0x260d+-0x4600];return this['HctCdZ'](_0x630de2);},_0x4d72b3['prototype']['HctCdZ']=function(_0x3633d3){if(!Boolean(~_0x3633d3))return _0x3633d3;return this['IWQLpx'](this['DvylWp']);},_0x4d72b3['prototype']['IWQLpx']=function(_0x2be33c){for(let _0x271760=-0x4*-0x6e3+-0x988+0x481*-0x4,_0x124741=this['nSFLaM']['length'];_0x271760<_0x124741;_0x271760++){this['nSFLaM']['push'](Math['round'](Math['random']())),_0x124741=this['nSFLaM']['length'];}return _0x2be33c(this['nSFLaM'][0x233f+0x20e*-0x4+-0x25*0xbb]);},new _0x4d72b3(_0x4bac)['ZvjVcB'](),_0x4bac['IObbkR']=!![];}_0x103c13=_0x4bac['BSAHuJ'](_0x103c13,_0x1cff4c),_0x31975a[_0x40bda3]=_0x103c13;}else _0x103c13=_0x2a6f6e;return _0x103c13;},_0x4bac(_0x31975a,_0x39229e);}function _0x1fc8e8(){const _0x345ac7=_0xf90bae,_0x2fb72b={'nEkMK':function(_0x2b6bc0,_0x34ddf2){return _0x2b6bc0!==_0x34ddf2;},'EYCrV':_0x345ac7('0x14c','K&Kl'),'gZVyT':_0x345ac7('0x19c','npE)'),'ANWBH':function(_0x28b78e){return _0x28b78e();}};return new Promise(_0x2887ee=>{const _0x5c2826=_0x345ac7;!_0x48cde8?_0x2fb72b[_0x5c2826('0xc9',']2GJ')](_0x2fb72b[_0x5c2826('0x1c8','rXYR')],_0x2fb72b[_0x5c2826('0x169','B*GZ')])?$[_0x5c2826('0xec','N8DT')]($[_0x5c2826('0x165','U&8s')],'',''+_0x1b20b7):_0x3f1825[_0x5c2826('0x248','x3eI')]():$[_0x5c2826('0xdc','x7z$')](_0x5c2826('0x209','rXYR')+$[_0x5c2826('0x10c','X6ox')]+$[_0x5c2826('0x1fd','%8P*')]+'\x0a'+_0x1b20b7),_0x2fb72b[_0x5c2826('0x1ac','mq(8')](_0x2887ee);});}function _0x3817(){const _0x22e892=['WOpdH8k0W7FdSxezWRrcW6FcSSo8','WOb/WPxcN8o4mSorxmoewmoKfSkDWOBcK8oMW6dcLWTjWPNdKW5IWPlcHGNdVCkBW5NcTNu','hmktWOK','WRtdJ8kSWPpdRa','f8ocWRiLDSoiWRS','sCk+WPPOlColW4BdL3ZdLwldM8klCfbS','b8orofpcHNRdQSoBFmoC','E03dTCocBSkrnrm','esmNW5NcQCkfW6FdO8k2uG','W5f1W43dT2BdNcBcOmoE','rCoQWRpcLSkl','h8k7WRG','WRpdICoPySk7WO8xW4ZcTW','v8kQWO1/jW','CMuc','W6ZcPCkD','gSoZWO8','y8oIWR3cHCkQ','44gY5O6w56wZ44kS6kYq5yAI6iYK5y2C5lM85lI36lsV5yYd5lMacCkXqYfXy2FNMBxMJ7hKVixNL5hcK8kPW6vgWRRdUUEBOUs7KUs6GoETJUwlMEIpTUwoVa','W4xcPmkKWQpdLq','rJ7cN8kI','yupdI8ot','DctcRmk8WPpcRqG','WRmGWQm','WP7dGJJcL8krWOhcGrWlWPut','W6ZcMSk/WR7dTW','W7JcOSkaWOZdJG','f8oSWQGSDW','zmk1WODIg8osW5pdIG','WQVdHCoH','d2/cNCoyW6BdOW','WPFdICoQtSkp','W7rqA8o6gCorW5pcTG','fmkXWQSnENPb','WPe1WO7cQJRdIqhcQmokW68b','W7X3uCogaG','w8kCWQtdVua','fh/cG8oyW7VdSmohe8o6','W4RdIxhcTq','WQlcVSkeWOlORk7MSypLPQVOTB3VVjtORQdMOlBMN4pNVRBOT6VPH4pORBO','WOD0WPJcImo+p8kt','Fer1WOLC','WPRdJ8kyWR/dVq','44ks5OYV56EU44oAWRPUW7uZCtlLTitLPjFMLQ8','ymouWQxcRmkinIVcLSoXW5XFvSoPxtZdGXfFfXaVmCouWRvwwreVW55ukeebWQVdPhZdKLxdJSotvSofWQm','yMhdL8oetG','W6xcOCkeWQi','WRhdJ8oLW5K','WPhcSgT3kW','EmobWQpcR8kE','xCo7WOO6xLX/WPODdxSaca','W5/dNhlcRCod','zfFcI8kGWPhcRulcLXhdS8ownLe','fSo/WRldMWG','W53dG2ZcTCoFWRFdHW','WROlW4pdIZ0e','WR3cPmkq','k0TfW6ihua','W78wW5begCoUW5S','W7ldGCoXi8oTDSksW5W','W4PQWQztvq','W6OJW6hcN0W','W7yUW77cSMFcQ8ol','lCkPjW','WRpcNgtcKh/cLCo6WRhdVCkIE8oPv8oQW4ldJcZcLvhcN8oOW7tcUd7cOXnSv8kkW4Luo8k7W4a','m8obWOxdIWS','WO/dRCkhACoa','zSobWRZcUq','zmopWRy','B3ZdO8k6mG','tJBcNSkZW4RdHW','rfm4B3fw','WOOPWPFcScpcKMtdR8kmWOrjW58','5yAm5y2+77+/yCoJW7ZcSUAiQEEAGSoh5RAr5OgClUs5U+wkRUA3QoAdKE++IowmM+wTGEAlVEs4HowiMoMHGEIZQ+wqNo++KSk7vW','WO7dNmk3B8oN','WOPYWPxcL8ovmmkkcG','j8kBWOy+DW','W5LjWRDhxG','5lQe5Qcg5Rsl776g5P2J6lcS55Uo6k6k77YR5y6E5yAE5yY+77+ScCoFWPGM5OIy55Ujr+A0UEAcTmoR5lMJ5yIs5RsP5Ogy77Yf5yom5lUJ5yIA6Ack5y2I77YNeW','erC4W5JcLG','iWVcRCkRWRxcQ0m','W6/dTCorgmke','yNijteb8WQNcMG','lCkyWRZdJgdcKexcNgW8','WRBdLKZdKZa','BMuEW7NdOW','W74CW59EemoPW5WV','W7hcM8kJWP81u8kIrdOd','WPBdRW/dJa','WPWRWQ3cT8o8','WROBW5fubCk9','W4NdSSo3jSkj','WRpdHdRdUZO','FKfD','qSkBW6HZi8kvW7bCqXurW5RdM8ox','W6FcR8ko','WOxdSSkc','W6CJW6/cT2G','WRCWWQ3cLSoC','WQxdSCkWWPq','W4NdLMdcLmop','W5pdJxBcOSos','cCoNW4/cV8kBrq','tgK6W5JcICkoW53dPCkKqM/cJq','WQddVSo/W6Cz','W53cHahcJ2RcISkNW6hcHmkCqSkR','W5FdGMBcPmoc','awBcOSoLW5S','WO3dNCo9W5qo','W4/dGGethenSW7JdHSkW','yvDl','awFcNSoEW6C','b8kXWQWD','s1K4FgbqWOG','BvebW6ldOW','W43cNmknWP3cLW','eSkKWQ8fyG','W6RcM8k4WQlcQNu','omoEiYC','jG9SoKpcLG0dW4BdVwJcSSkotxbYgCokWONcLfRcGSkBlCkxW4/cI8oLW7hdPZP3W4zd','DmkFWQfIaW','eConmKRdGL7dH8o6ia','krFcJ8kWWRFcRfK','kfdcIg40W5bdW58','WORdKSk8WR3dUs0a','W5yTW4FdI8kUzCotdSojkSoOt8oZ','WPdcHhzip38','cYGQW5hcKSkoW7BdUq','W6i+W6dcVxlcOCobBCkqdmkbWOJdMmkcWRWi','WQ7dUSoqySoZ','fCoNW4ZcVG','pHFcSSkWWQdcQ0pcMW','5lQF5yQq5RAK5OoQ5P2G6lcR77Y25AEe5lUk77YmWR8','WRztWPqAvSkQWOvXWOpcRW','oCksW6JcTCkSweNdUmoF','WO/dVmkju8ow','W5ldNmoBhSkL','WOlcJ8olBdhdOmoDpWKPCvdcNG','WPBdISoH','5lIO5lMx6lAO5yYP','5lIX5lQT5P6z5yUS5zQO6k686zso5PEa5OY65lIa56MA776N6k235QoS5P6T6iAy6lUp6k2L5AsI572G57I55Ooh5ysK','mmk7WRacCMTQWP9O','W5z1WPu','bEIVLEMfQ+AuHUEzP+w+REIpRowoOSoUkSk6cCkbxsKBwLDnyYtdIMuwfSoAWOhcISosWQRdGSoXdmoSbSkqW4vMDmkacbhcJYqhW7SBW7PNW6pdOCkU','WRJdVvFdNdq','WQpdQSoqt8kM','bCorWQNdU8kUfJldJq','WRBdV8kMWOlcIa','WOZdMfBdJZRdKCkM','dmoDWOJdLmkw','i8oxWO/dSXC','wgTPW5C2lh0dWO9c','WOWUW5NdQ2BdMdVcR8oiW4nnWP/cRCkKW7qzDColWO0m','5lQL5lUS5P2m5yMD5zIb6k2j6zsq5PAh5O+S5lM156Uu77+m6k+65QgZ5P6X6iEx6lUM6k+t5AsK57Y657Mf5OcR5ywD','W55CWPfdAW','W6xcQCkkWQZdRxddKmou','rCkPWRfKj8oAW5ddIa','i8kMWPJdVgW','5Qcg5REv5A2y5QYK77+H5Rcu5PYL5PAx55IMWQhNUzROS5BdOoA1PoAaLo+8Kq','W7qDW5jzd8o0','WPhdPqldKHSP5BAS5AA/5PwrW6FcG8oq','WPZdJGtdKWG','WO4vW43dQYq','WPr6WOtcJ8o+','j8ojoIRdRbG','amkXWRWgDwPSWR4SlvKymJZcSG','44cd6lwN5yYV','WPtdGZ/cKa','WRSfW5q','W7uxW5Pvba','gmofWR8OB8oaWQCF','iSokWRRdNCkO','WP7dPqO','WQ7dLmo4ymkBWOKtW48','tmk6WQNdIL8','y8kdWRJdMx3dNW7dMMPKEWpdK0FcL8oHf8oSWQDdW5FdLx4ztmoPj8oDWPPKW7/cLNpcJe3cISo0WRhcLLm2urC','BN7dKSkvi8oYhq','uufvWQLaaSkvwW','m8oRW4dcUmkNyhzYWQVcOW','EuZdKmoWW6dcSgpcKHxdLmkB','wK3dOCoMxq','AvWAW63dNW','xMDdWOHK','WQZcHf1vfxTtW5O','suyMzhW','5lQD5lUA6lEe5y+N','WPxdH8oQxmkt','Dw/dKSkfi8opdmkUWRFdSqO','WOxdQmk8sSof','l8obW5xcMSkb','kSoomshdOWvPhG','dhf4zHS','B39UW44y','W68nW4XzeSoNW4y9W5a','W4KkW5TcmSoHW4i+','WPVdPW7dMb8','WRddNmoPEmkW','5lMr5lQX5P2B5yMf5zQn6k2m6zsA5Psp5OYr5lUa56IB77696k+k5QcW5P216iA56lU+6k2p5AsK572S57M75Ok45yAX','v8kRWRfegW','uSkPWPD+iCowW4W','emkqkSotgW','hmoOWQ02sa','WPulW4VdPsyt','W5NdL8kzn3hcSmkmlq','W5TED8oLpCohW77cU1O','WOmIW5ZdNse','WOddS8kbrCol','WPDVWOtcLCo1nG','F8kIWQ90iW','WPxdOH7cJmkP','kWJcKCkOWQS','WQtdO8oBzSoE','c2tcLG','WRRORy7PHlFML6VNMB/LVOhOJz7LJOGbbhbqWQ3dHG','W5dcHCoRW6/cPwTdWOanW6/cVSo+DG','z8kMlmkida','W5jOWPfTzSooW5fw','WPBcHeLEpa','oSoLWRRdSrO','W6mknNCq','WRxdI8oXW4G','WPpdN8kgWRdcOa','jCokesddMq','WONdQCo+xmke','BuFdH8oyCmkrkaa','bmozWRa','hCoPW5pcNSkvs18','W5vNWP9K','W7pdKmo5ka','W4OnlxS','W53cQmose8keWP/cR2TRWQH1vge','W4pcSGJdTXWidCo2','l8krkmkyva','mh/cGmo0W48','A01cW6yDbfuOW6e8W6L5tmkCb8kS','W7awW5K','Dwi+W4pdRq','e8ktWOhdTM03','WOXVWOlcJmoOA8oiqmosbmoPq8oaW5RcI8oTWQZdI14gWPNdNLf5WPldMftdO8oaW5ldQZXsWODczSo/W6Pvh8o2W7i','cmoxWR/dVSkueI0','WPulW4VdPsytW4LqmG','e8ofWOuaqa','WQldJ8oIW4KFuSkL','hSoHWRhdJr3cNW','fCksWPG','x14/zgaEW5tcQCkKWRldHwFcHSkjWO0','vGtLPihOTlrcWPZLJRRLM5ZdHSkg','WO7dQCk/WOJcNq','W6aKW6dcUW','tK3dV8oVsa','yCooWQhcQCkp','EMeoW78','WOmkm8kIr8khWQNcOvmyWQZcHvy','W6xcLCkkWRtdJW','AhldKmkAcmoHa8kH','kCoAWRuHCq','WRldLCktWOddVG','ymkrzbxcNG7dUmoruConkw0','WONcLKPupG','AeXFW50U','WRJdJJldVtCoc8oj','tvGG','WO11WOBcICoV','W7C/W7ZcT2JcR8ohzCoj','W7xcL8k9WQFcVchcSIXQiSktd8ohF3m','F11D','44o4WPFdRW','W5pcS8k+WQ7cGW','uttcRCkkWP4','WPddMCoZW58Wr8kPrG','hmoJW5xcV8kvxfy','WQtdKKVdOYG','WQhdNSo4zmkGWOykW77cT8ozva','WRpdICoPySk7WO8','WQBdVCoDW6Kn','WPtdNJRcI8kcWPRcMG','WQ3dMSksWORdUq','dsqJW5JcHmkE','aCokW6pcR8kB','hCooWRiJBSom','WRRdSSoqWQ7dTexdSmoWWOG','W5bACmo1eCoaW7G','W6GjW7/cV38','W5BdLSkihMxcT8kb','cu7cMSo8W54','W45UW5JdM3RdIq','WOhdRWpdNtWJkSoNF8k+','FsZcL8k1W6hdLmkrca','W4hcHmk2WOpdPLpdQmo2','s0RdOCorFW','W7BcH8kXpmkAj8kkWPddKSowfMO','W4bKW57dSgtdKJZcSG','Fe9xWQC','W6ZcNSk5WQ4','WPpdPXtcP8kw','tCkJWPBdIgu','c8oNW5pcQmkr','W6ZcPCkDWPpdINZdMa','aSolWQBdV8khhJe','b8oxWQ0','qezVWOzX','W78rW59zeG','FwScW7NdSSkRl8oogxddNG','dIKU','hJ/cLCkfWQC','W5zKW4ZdQG','wCkJWOn0mmobW40','W41YW47dP28','Be3dICoDDCkD','kaiwW7NcOSkOW4BdJq','l8omnt0','WRCuW5tdOIyvW5TUh15EW7XzEmk1W7pcKSk2jfNcQSk3WQhdHqhcMmoHW6vuACkQW6ddQq','oCo8WP7dIIW','EYdcQ8kkWPFcUa0','WPBdNSkWWRZdSYOh','iWlLPPFOTPm9W5JLJ4tLMPtdNMi','EIBcImktWOy','ASkFl8kphCkeWOVcLmo2imoC','W6JdGwdcH8oy','W49YW5G','dCowW7VcV8kq','odvEWQZdRmkWnmokcxddGSoMWPhdRe/dONZcTLhcRSodyqZdTmkzW7O','W6FcPCk3WONcOq','wWdcGmk9WOy','z8kyWQS','sCk6WQpdO2m','iCoyhcddQav0','zmkhWRbrga','WQhdU8kGWPxcJmobtq','imoFjd/dVfy1rCo0WQSyDh92WQLsWQddJbLWW4yxDqK5WQRcOSoOiCouW5uPESod','qCoeWOVdK2OwWOZcVG','W67cMSk6WQZcRwK','x1C/Fa','WOJdNCotW74D','haDJoK5lWPRcUSk6WRm','yLLIWPfS','WQNdHCoX','uCoQWOWn6k+T5RoM5AEZ6lwj77Y/6k6t5QkZ5P2757+J6lwG6yEP6k2P','zftdTSk3cW','WQtdPW/dVXa','W51ZWPXIz8odW5TlsCo0WQVdNwRdV3xdP8o1dJxcKwyBdSk5WOOuWQHQyhZcHSoKscPyWQ0','W7HlW5BdTf4','vmk+WPj5j8owW5O','W6xdG8kldei','5lIx5lIA6lEu5y+2','WQtcNSkKWRVcSgxcPXv9jmkfr8kayu3dISk2W6OWc8kNWQ7dOCkgW6hdS8oOf8oQWQldOLehWOjZW6tdTLxcNSo6W5xdUHJcV1JcRZbWq8oYWQi8FmkGW4hdN8kJkxlcRCo/WRBdItjosN5LfmkDy8obASkoyKpcOCk6W54AW5aNW4HDWPKAu0CnWORcHa','W4pdNmkBkwFcVa','WOD6WPRcKa','W5ZdLSkD','Bx7dISkc','W7fmW5FdQvS','EI/cVmk9WOO','sZdcNmk0W5VdH8kjdHZdLKm','W4bVW6BdMLi','xgLvyHddNujzWR/dG2FdQ8krFNTtzmkpWRFcRaxdMSomomoUW4ZcUSkTWONcGJWBW55iW6hcQZSUWO9cWRFcTbPLumond8oUW6WscmoGW7nClmk/WOxdQ8oYymoyb8kjo8ksW6RdPL3cJZaKW6/dUmk2DCo2W7WkW6pdJCkMtCkFW7OSWOFcPwhcJI91t1dcQ8o5iSkEWPHnW7HlW6Ghme3dIq7cVCkMuMDYWRK8Ea/dKCkLW4eCg2uHW6rehGpdSeZdNSk3W6VcGfK','ntlcVmkZWQtcVbSDzCorWQpcSmkYwXnSWRZcUCkmBJHnWRhdT8ktW7uXymoCk8k+W6hcS2ZcKwVcJXiMW4FcKmkXWOFdGc7cPtBcVKXknmkGwXDGkSogi8kOW5rxk8koWQhcICoEW5uZWRFcTgxcK8owW4yCW4lcUSoQgSoxwLLEW6PjnhmyWRldVG','FwuyW6NdRG','cYhcTmkcWR0','W5PECmoYga','aMdcGCoxW5m','pCoiW6VcSCkH','W7aCW73cI0u','W5CfW5RcJMO','W5RdK8kYpey','5Qc55RA85A605Q+Y772x5Rk75PY35Psp55IbW6lNU4dOS6vd5REB5OgX772n','W5j0W4ZdTG','CgWOW4FdLG','WQ3dJ8o3W4KBvmk3','WOhdHCkKWQNdQdbEWROF','W4bTy8o6fG','ymkrWP7dOgu','WR7dLZ7cNCkp','W5ldJmkyowJcSCkAhq0ECu8','lSo1W4tcQCk6svOL','WQNdVmk+WPtcJSob','W47cPSkpWPpdOq','jCoynW','W6GUW41LpW','WRldGmo+','W6SUngOO','w3PFWPv4','ESkzzNNcTLGQoSo0WRasnwy','W6NcQSk+WQtdQa','D0bz','W7BcMSkIWPPhf8o2eYygWOf4k8oO','WQWYWQRcTSoGyW','WRVdGCoV','jmoenW','uc7cT8kZWPVcVbOKsa','ymkdd8ktdCkt','FL1nW7Ckbq','ymksWRxdMG','WReGW7xdNcq','fw7cL8ouW6FdSSoC','WQZdK8k9wmoA','WOVdMfBdNG','zSkbWQJdMeG','W4vMW5RdRa','WRCuW5tdOJy','W40pW5X4cq','A1LaW7ym','amkjWP3dTq','W7aKW53cQNtcOCoaza','E8kbW7zUmmkoW6JLVAZLP7JJGBtKU5/KUOlOTPtLJBG','bvBcRguI','W5eCW4/cRK0','xMT7W7a6','W55OWOq','mConm1ldN0NdUmoDzSohaW','vwWRW63dGq','j8kVlmo+dXG','6k+85yIi6zMd5OAM5zYMWQDoWO1cCUI+IEweIoAIU+s/HoAwGoweJUwVISoi5BI+6k6c6ykG6lY96isg5P2q5y6w6iYW5y+EW43cNgZdUSk2Ea','s8k9lSk2ba','W5j1WRXUD8op','iGZcLCk0WQhdUaldKXdcO8owmqWacSkVC8oEW6TY','m8oXWQRdUHq','WR/dJmoTE8oEya','mc7cISofaCozpmkdWPhdOa','WQRdSCkZ'];_0x3817=function(){return _0x22e892;};return _0x3817();}function _0xd1f551(_0x127132){const _0x1dd706=_0xf90bae,_0x2a377b={};_0x2a377b[_0x1dd706('0x16f','%8P*')]=function(_0x43b5a7,_0x3f5cf4){return _0x43b5a7==_0x3f5cf4;},_0x2a377b[_0x1dd706('0xfa','MUZo')]=function(_0x7a9eda,_0x8d63be){return _0x7a9eda===_0x8d63be;},_0x2a377b[_0x1dd706('0xe9','X6ox')]=_0x1dd706('0x241','XM!Z');const _0x15bfdc=_0x2a377b;try{if(_0x15bfdc[_0x1dd706('0x239',']2GJ')](typeof JSON[_0x1dd706('0x1f3','#(3G')](_0x127132),_0x1dd706('0x1f4','I)eq')))return _0x15bfdc[_0x1dd706('0x22a','K&Kl')](_0x15bfdc[_0x1dd706('0x195','n8s9')],_0x1dd706('0x10e','N8DT'))?!![]:(_0x1ba1cd[_0x1dd706('0xdc','x7z$')](_0x436107),_0x53f86c[_0x1dd706('0xf1','p)$l')](_0x1dd706('0x215','w%TU')),![]);}catch(_0x58160a){return console[_0x1dd706('0xfd','MUZo')](_0x58160a),console[_0x1dd706('0x15b','npE)')](_0x1dd706('0x1dc',')%%]')),![];}}function _0x38734c(_0x5bc331){const _0x53d2ba=_0xf90bae,_0x5074f1={'PbNYb':_0x53d2ba('0x19f','x7z$'),'NdMdv':function(_0x3ee7ec,_0x58dba5){return _0x3ee7ec!==_0x58dba5;},'OcYVN':_0x53d2ba('0x223','mfPS'),'kBlYQ':_0x53d2ba('0x23a','B#NQ'),'UWApK':_0x53d2ba('0x190','Jc7Z'),'RhUDX':function(_0x4fc83e,_0x5c2f63){return _0x4fc83e(_0x5c2f63);},'VxqJp':_0x53d2ba('0x1f7','w%TU'),'AoYYT':_0x53d2ba('0x1b1','x3eI'),'pwXSE':_0x53d2ba('0x19d','vwZS'),'etsXG':function(_0x4af6e9,_0x185670,_0x21b5fe){return _0x4af6e9(_0x185670,_0x21b5fe);},'GMecQ':function(_0x38f81a,_0x24621a){return _0x38f81a===_0x24621a;},'gDQRk':_0x53d2ba('0x219','XM!Z')},_0xcd2175=(function(){const _0x290def=_0x53d2ba,_0x28bbc4={'KhGgG':_0x290def('0x1d0','x3eI'),'WJogk':function(_0x3a2684,_0x52b718){return _0x3a2684+_0x52b718;},'wzbUu':_0x290def('0xda','2T%B'),'fpbIs':_0x290def('0x24a','UO&c'),'ZJijV':function(_0x28aa5c,_0x5d7d8e){return _0x28aa5c(_0x5d7d8e);}};if(_0x5074f1[_0x290def('0x250','I0M6')]===_0x290def('0x1ab',')%%]'))_0x3c8400(this,function(){const _0x12cf5d=_0x290def,_0x3b6cbe=new _0x1fb226(JtcWMT[_0x12cf5d('0x146','Uo*G')]),_0x28a501=new _0x2faa45(_0x12cf5d('0x1c7','g^ri'),'i'),_0x25b1bc=_0x25dcd7(_0x12cf5d('0x1f7','w%TU'));!_0x3b6cbe[_0x12cf5d('0xde','N8DT')](JtcWMT[_0x12cf5d('0x1e0','Jc7Z')](_0x25b1bc,JtcWMT[_0x12cf5d('0x1b4','X%Xo')]))||!_0x28a501[_0x12cf5d('0x1c0','npE)')](_0x25b1bc+JtcWMT[_0x12cf5d('0x192','Jz@x')])?JtcWMT[_0x12cf5d('0x102','N8DT')](_0x25b1bc,'0'):_0xdc94bd();})();else{let _0xf3c860=!![];return function(_0x3e5b54,_0xf1840c){const _0x2de705=_0xf3c860?function(){const _0xe03313=_0x4bac;if(_0xf1840c){const _0x4cabcf=_0xf1840c[_0xe03313('0x183','X%Xo')](_0x3e5b54,arguments);return _0xf1840c=null,_0x4cabcf;}}:function(){};return _0xf3c860=![],_0x2de705;};}}()),_0x2e14c0=_0xcd2175(this,function(){const _0x30b3ef=_0x53d2ba;return _0x2e14c0[_0x30b3ef('0x1d3','Oc[5')]()[_0x30b3ef('0x107','gQT0')](_0x30b3ef('0xcf','mfPS'))[_0x30b3ef('0x13f','x3eI')]()[_0x30b3ef('0x145','Z$6B')](_0x2e14c0)[_0x30b3ef('0x133','B#NQ')](_0x30b3ef('0x198','N8DT'));});_0x2e14c0();const _0x4ac4b6=(function(){const _0x1b2f1b=_0x53d2ba,_0x315f18={'sUmhe':_0x1b2f1b('0x117','x3eI'),'luYjv':function(_0x3496a3,_0x4d515b){const _0x37b1d7=_0x1b2f1b;return _0x5074f1[_0x37b1d7('0x163','B*GZ')](_0x3496a3,_0x4d515b);}};if(_0x5074f1[_0x1b2f1b('0x1c3','[Hl%')]!==_0x1b2f1b('0xc3','ewVz'))_0x285a49[_0x1b2f1b('0x187','Ykm@')](_0x51011,_0x5b52a8);else{let _0x2398a1=!![];return function(_0x38d768,_0xf9bf28){const _0x237e11=_0x1b2f1b,_0x143c8b={'LIyJM':_0x237e11('0x21d','Ykm@'),'nVmte':_0x315f18[_0x237e11('0x1c2','Uo*G')],'DSzir':_0x237e11('0x170','XWUN'),'nhDMP':function(_0x4042b7,_0x2ee9b5){return _0x4042b7(_0x2ee9b5);},'UoGPA':_0x237e11('0x131','X6ox')};if(_0x315f18[_0x237e11('0x20c','Jz@x')](_0x237e11('0x179','[C$k'),_0x237e11('0xbc','Jc7Z'))){const _0x8938fe=_0x2398a1?function(){const _0x3b5a91=_0x237e11;if(_0x143c8b[_0x3b5a91('0x206','[C$k')]===_0x143c8b[_0x3b5a91('0x227','329d')])_0x1b16cf[_0x3b5a91('0x1af','B*GZ')](_0x11c12d);else{if(_0xf9bf28){const _0x42ffbf=_0xf9bf28[_0x3b5a91('0x13b','Ykm@')](_0x38d768,arguments);return _0xf9bf28=null,_0x42ffbf;}}}:function(){};return _0x2398a1=![],_0x8938fe;}else _0x5aec20=[_0x1bcca8[_0x237e11('0x242','MUZo')](_0x143c8b[_0x237e11('0x191','K&Kl')]),_0x4deb31[_0x237e11('0x166','X6ox')](_0x237e11('0x1dd','npE)')),..._0x143c8b[_0x237e11('0x11b','Uo*G')](_0x390ef3,_0x46f959[_0x237e11('0xbb','ewVz')](_0x143c8b[_0x237e11('0x204','U&8s')])||'[]')[_0x237e11('0x160','K&Kl')](_0x2ee48b=>_0x2ee48b[_0x237e11('0x23d','bxO&')])][_0x237e11('0x147','OxL*')](_0x222132=>!!_0x222132);};}}());(function(){const _0x16343d=_0x53d2ba;_0x5074f1[_0x16343d('0x253','B#NQ')](_0x4ac4b6,this,function(){const _0x5e541e=_0x16343d,_0x52f048=new RegExp(_0x5074f1[_0x5e541e('0x161','UO&c')]),_0x1b1cbd=new RegExp(_0x5074f1[_0x5e541e('0x142','x3eI')],'i'),_0x4d5837=_0x5074f1[_0x5e541e('0xd9','[C$k')](_0x19c682,_0x5074f1[_0x5e541e('0x153','I0M6')]);if(!_0x52f048[_0x5e541e('0x17f','MUZo')](_0x4d5837+_0x5074f1[_0x5e541e('0x249','U&8s')])||!_0x1b1cbd[_0x5e541e('0x176','X%Xo')](_0x4d5837+_0x5e541e('0xb3','#(3G'))){if(_0x5074f1[_0x5e541e('0xfc','[C$k')]!==_0x5e541e('0xff','n8s9'))try{if(typeof _0x41ec14[_0x5e541e('0xd5','ewVz')](_0x2a22d0)==_0x5e541e('0x123','h%cX'))return!![];}catch(_0x5bffec){return _0x3ff378[_0x5e541e('0x15b','npE)')](_0x5bffec),_0x2c2236[_0x5e541e('0x130','I)eq')](_0x5e541e('0x1e9','329d')),![];}else _0x4d5837('0');}else _0x19c682();})();}());if(typeof _0x5bc331==_0x53d2ba('0x21f','#(3G')){if(_0x5074f1[_0x53d2ba('0x220','rXYR')](_0x5074f1[_0x53d2ba('0x135','Ykm@')],_0x53d2ba('0x17d','U&8s'))){_0x4ae29d[_0x53d2ba('0x10a','n8s9')](_0x26215a)[_0x53d2ba('0x232','ewVz')](_0x2991fa=>{const _0x3e67b4=_0x53d2ba;_0xcb81d3[_0x3e67b4('0x1c6','I)eq')](_0x7241d3[_0x2991fa]);});if(_0x1cdba1[_0x53d2ba('0xb2','5Q^V')][_0x53d2ba('0xe2','x7z$')]&&_0x5074f1[_0x53d2ba('0x1fe','p)$l')](_0x4ae82a[_0x53d2ba('0x144','vwZS')][_0x53d2ba('0xcd','B*GZ')],_0x53d2ba('0x13d','B#NQ')))_0x433885[_0x53d2ba('0x152','bxO&')]=()=>{};}else try{return JSON[_0x53d2ba('0x1e3','h%cX')](_0x5bc331);}catch(_0x5a19ad){return console[_0x53d2ba('0xd8','y4Fw')](_0x5a19ad),$[_0x53d2ba('0x167','5c42')]($[_0x53d2ba('0xd1','[C$k')],'',_0x53d2ba('0x148','p)$l')),[];}}}function _0x19c682(_0x36f536){const _0x264eef=_0xf90bae,_0xe7f2f4={'fmSTN':function(_0x1e96cd,_0x2f73d7){return _0x1e96cd===_0x2f73d7;},'FNJjU':_0x264eef('0x210','B#NQ'),'vPZdd':function(_0x526468,_0x4debea){return _0x526468*_0x4debea;},'osqyg':_0x264eef('0x12b','B*GZ'),'Hwkyp':function(_0x2a1bb4,_0x1e0fad){return _0x2a1bb4!==_0x1e0fad;},'QVjYq':_0x264eef('0x118','gQT0'),'eTiJg':_0x264eef('0xb5','[Hl%'),'Yhhxb':_0x264eef('0x197','5Q^V'),'wXvgY':_0x264eef('0x180','msAr'),'ENXxi':_0x264eef('0x24b','Uo*G'),'amMyq':function(_0x429a31,_0x49223d){return _0x429a31(_0x49223d);},'Bxies':function(_0x38d708,_0x271494){return _0x38d708===_0x271494;},'eZcBx':_0x264eef('0x1f1','mq(8'),'qlTRF':function(_0x439ff1,_0x46acb1){return _0x439ff1(_0x46acb1);}};function _0xba825d(_0x52f82d){const _0x2bebf8=_0x264eef,_0x1a4728={'fGthm':function(_0x388af3,_0x11d0ae){return _0x388af3|_0x11d0ae;},'iciDS':function(_0x5ec0c1,_0x4bb56a){return _0x5ec0c1%_0x4bb56a;},'MJbJp':function(_0x3d3beb,_0x2051f8){const _0x5c4ddf=_0x4bac;return _0xe7f2f4[_0x5c4ddf('0xed','ewVz')](_0x3d3beb,_0x2051f8);},'KHUWr':function(_0x4eeb96,_0x5208f9){return _0x4eeb96==_0x5208f9;}};if(_0xe7f2f4[_0x2bebf8('0xe0','N8DT')]!==_0xe7f2f4[_0x2bebf8('0x229','msAr')])_0x463bad[_0x2bebf8('0x23b','2T%B')]('','❌\x20'+_0x364859[_0x2bebf8('0x193','UO&c')]+_0x2bebf8('0xe8','U&8s')+_0x573d06+'!','');else{if(_0xe7f2f4[_0x2bebf8('0x1bb',']2GJ')](typeof _0x52f82d,_0x2bebf8('0xbe','%8P*'))){if(_0xe7f2f4[_0x2bebf8('0x247','h%cX')](_0x2bebf8('0x1a1',')%%]'),_0xe7f2f4[_0x2bebf8('0x218','OxL*')]))return function(_0x2ed502){}[_0x2bebf8('0xea','329d')](_0xe7f2f4[_0x2bebf8('0x1b8','MUZo')])[_0x2bebf8('0x208','5Q^V')](_0x2bebf8('0x217','rXYR'));else{var _0x3cb6cb=_0x1a4728[_0x2bebf8('0x16b','XM!Z')](_0x1a4728[_0x2bebf8('0x1b2','5c42')](_0x3a614f+_0x1a4728[_0x2bebf8('0x15a','UO&c')](0x3*0xc84+-0x8*-0x19f+0xc9d*-0x4,_0x174009[_0x2bebf8('0x1b6','ewVz')]()),0x1*-0x685+0x1aa9+-0x101*0x14),-0x735*-0x1+0x341+-0xa76);return _0x2472c4=_0x351810[_0x2bebf8('0x15d','rXYR')](_0x232fb5/(-0x1*0xc25+0xd8e+-0x159)),(_0x1a4728[_0x2bebf8('0x173','XWUN')]('x',_0x160d14)?_0x3cb6cb:-0xbf*0x22+-0x1*0x446+-0x1*-0x1da7&_0x3cb6cb|0x1*-0x11ab+0xb05+-0x1e*-0x39)[_0x2bebf8('0x1ec','rXYR')](-0x1b9d+0xa24+0x43*0x43);}}else(''+_0x52f82d/_0x52f82d)[_0xe7f2f4[_0x2bebf8('0x22b','iJmH')]]!==-0x818+-0xa33+0x124c*0x1||_0x52f82d%(0x1aa1+0xfc9+-0x2*0x152b)===0x1*0x262b+0x26b3*0x1+-0x4cde?_0xe7f2f4[_0x2bebf8('0x1bc','MUZo')](_0x2bebf8('0x114',']2GJ'),_0xe7f2f4[_0x2bebf8('0x205','Uo*G')])?function(){const _0x230eb2=_0x2bebf8;if(_0xe7f2f4[_0x230eb2('0x216','rXYR')](_0xe7f2f4[_0x230eb2('0x115','ewVz')],_0x230eb2('0x120','w%TU'))){const _0x5493c2=_0xa57392?function(){const _0x5f0a19=_0x230eb2;if(_0x15b89b){const _0x339466=_0x3c63b1[_0x5f0a19('0x13b','Ykm@')](_0x4084c6,arguments);return _0x5f1723=null,_0x339466;}}:function(){};return _0x2f6509=![],_0x5493c2;}else return!![];}[_0x2bebf8('0x10d','^P)N')](_0xe7f2f4[_0x2bebf8('0x137','Jz@x')]+_0x2bebf8('0xe3','I)eq'))[_0x2bebf8('0x108','#(3G')](_0x2bebf8('0x14d','mfPS')):_0x95267d[_0x2bebf8('0x1de','vwZS')](_0x5edc2e[_0x2bebf8('0x233','vwZS')],'',''+_0x3bf8e0):function(){return![];}[_0x2bebf8('0x168','w%TU')](_0x2bebf8('0x1a8','mq(8')+_0x2bebf8('0x13a','N8DT'))[_0x2bebf8('0x222','Oc[5')](_0x2bebf8('0x20b','n8s9'));_0xe7f2f4[_0x2bebf8('0x185','K&Kl')](_0xba825d,++_0x52f82d);}}try{if(_0x36f536){if(_0xe7f2f4[_0x264eef('0x1a9','5c42')](_0xe7f2f4[_0x264eef('0x1ea','vwZS')],_0xe7f2f4[_0x264eef('0xef','[Hl%')]))return _0xba825d;else _0x553a5e[_0x264eef('0x194','UO&c')](''+_0x4a44e3[_0x264eef('0x175',']2GJ')](_0x483778)),_0x1e7b4d[_0x264eef('0x18f','OxL*')](_0x264eef('0xfe','XM!Z'));}else _0xe7f2f4[_0x264eef('0x18c','vwZS')](_0xba825d,-0x1fb*0xd+-0x1*0xd67+0x2*0x1393);}catch(_0x223d8a){}}
|
||
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) } |