faker3/jd_seckillViewTask.js
2024-06-28 15:38:28 +08:00

6 lines
45 KiB
JavaScript

/*
39 5 * * * jd_seckillViewTask.js
*/
const $ = new Env('秒杀浏览商品领豆');
var _0xodz='jsjiami.com.v7';const _0x52fa86=_0x343b;(function(_0x2a2225,_0x13dca0,_0x4d0fc7,_0x2eef02,_0x17c2d8,_0x444840,_0x1e10a6){return _0x2a2225=_0x2a2225>>0x8,_0x444840='hs',_0x1e10a6='hs',function(_0x51619b,_0x5b80b5,_0x386e68,_0x124ae1,_0xd87b8b){const _0x4920aa=_0x343b;_0x124ae1='tfi',_0x444840=_0x124ae1+_0x444840,_0xd87b8b='up',_0x1e10a6+=_0xd87b8b,_0x444840=_0x386e68(_0x444840),_0x1e10a6=_0x386e68(_0x1e10a6),_0x386e68=0x0;const _0x582d8d=_0x51619b();while(!![]&&--_0x2eef02+_0x5b80b5){try{_0x124ae1=-parseInt(_0x4920aa(0x306,'T^*i'))/0x1*(-parseInt(_0x4920aa(0x2d8,'X]ob'))/0x2)+-parseInt(_0x4920aa(0x321,'OwMG'))/0x3*(-parseInt(_0x4920aa(0x357,'Cmx)'))/0x4)+parseInt(_0x4920aa(0x2c5,'G!9Z'))/0x5*(parseInt(_0x4920aa(0x209,'w8]#'))/0x6)+parseInt(_0x4920aa(0x2a0,'G!9Z'))/0x7*(parseInt(_0x4920aa(0x2d7,'F29h'))/0x8)+-parseInt(_0x4920aa(0x30d,'(b$j'))/0x9+parseInt(_0x4920aa(0x271,'LEu$'))/0xa*(parseInt(_0x4920aa(0x33d,'&&2L'))/0xb)+parseInt(_0x4920aa(0x20f,'pL$W'))/0xc*(-parseInt(_0x4920aa(0x2fa,'9U%8'))/0xd);}catch(_0x1cf513){_0x124ae1=_0x386e68;}finally{_0xd87b8b=_0x582d8d[_0x444840]();if(_0x2a2225<=_0x2eef02)_0x386e68?_0x17c2d8?_0x124ae1=_0xd87b8b:_0x17c2d8=_0xd87b8b:_0x386e68=_0xd87b8b;else{if(_0x386e68==_0x17c2d8['replace'](/[LFxNJRgHdWXpbtnuU=]/g,'')){if(_0x124ae1===_0x5b80b5){_0x582d8d['un'+_0x444840](_0xd87b8b);break;}_0x582d8d[_0x1e10a6](_0xd87b8b);}}}}}(_0x4d0fc7,_0x13dca0,function(_0x27aaab,_0x5d78c0,_0x1bbdd8,_0x1c49db,_0x438d22,_0x48bb92,_0x56b5d6){return _0x5d78c0='\x73\x70\x6c\x69\x74',_0x27aaab=arguments[0x0],_0x27aaab=_0x27aaab[_0x5d78c0](''),_0x1bbdd8=`\x72\x65\x76\x65\x72\x73\x65`,_0x27aaab=_0x27aaab[_0x1bbdd8]('\x76'),_0x1c49db=`\x6a\x6f\x69\x6e`,(0x155846,_0x27aaab[_0x1c49db](''));});}(0xcc00,0x36493,_0x5ba9,0xce),_0x5ba9)&&(_0xodz=0xce);function _0x343b(_0x26bc9a,_0x183789){const _0x2d08a7=_0x5ba9();return _0x343b=function(_0x862932,_0x134cf3){_0x862932=_0x862932-0x1a4;let _0x5ba9c4=_0x2d08a7[_0x862932];if(_0x343b['vWJQUX']===undefined){var _0x343b53=function(_0x4855fd){const _0x3a7728='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x57e199='',_0x321fd0='',_0x21a749=_0x57e199+_0x343b53;for(let _0x2478d2=0x0,_0x4cc4d6,_0x4c604f,_0x21afc6=0x0;_0x4c604f=_0x4855fd['charAt'](_0x21afc6++);~_0x4c604f&&(_0x4cc4d6=_0x2478d2%0x4?_0x4cc4d6*0x40+_0x4c604f:_0x4c604f,_0x2478d2++%0x4)?_0x57e199+=_0x21a749['charCodeAt'](_0x21afc6+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x4cc4d6>>(-0x2*_0x2478d2&0x6)):_0x2478d2:0x0){_0x4c604f=_0x3a7728['indexOf'](_0x4c604f);}for(let _0x13e42b=0x0,_0xbc3a4c=_0x57e199['length'];_0x13e42b<_0xbc3a4c;_0x13e42b++){_0x321fd0+='%'+('00'+_0x57e199['charCodeAt'](_0x13e42b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x321fd0);};const _0x33a361=function(_0x36870f,_0x3e1899){let _0x1f6d09=[],_0x3633a8=0x0,_0x3c631a,_0x58cec9='';_0x36870f=_0x343b53(_0x36870f);let _0x427efb;for(_0x427efb=0x0;_0x427efb<0x100;_0x427efb++){_0x1f6d09[_0x427efb]=_0x427efb;}for(_0x427efb=0x0;_0x427efb<0x100;_0x427efb++){_0x3633a8=(_0x3633a8+_0x1f6d09[_0x427efb]+_0x3e1899['charCodeAt'](_0x427efb%_0x3e1899['length']))%0x100,_0x3c631a=_0x1f6d09[_0x427efb],_0x1f6d09[_0x427efb]=_0x1f6d09[_0x3633a8],_0x1f6d09[_0x3633a8]=_0x3c631a;}_0x427efb=0x0,_0x3633a8=0x0;for(let _0x4a161b=0x0;_0x4a161b<_0x36870f['length'];_0x4a161b++){_0x427efb=(_0x427efb+0x1)%0x100,_0x3633a8=(_0x3633a8+_0x1f6d09[_0x427efb])%0x100,_0x3c631a=_0x1f6d09[_0x427efb],_0x1f6d09[_0x427efb]=_0x1f6d09[_0x3633a8],_0x1f6d09[_0x3633a8]=_0x3c631a,_0x58cec9+=String['fromCharCode'](_0x36870f['charCodeAt'](_0x4a161b)^_0x1f6d09[(_0x1f6d09[_0x427efb]+_0x1f6d09[_0x3633a8])%0x100]);}return _0x58cec9;};_0x343b['HCBdxy']=_0x33a361,_0x26bc9a=arguments,_0x343b['vWJQUX']=!![];}const _0x4b7fec=_0x2d08a7[0x0],_0x4479a6=_0x862932+_0x4b7fec,_0x53096a=_0x26bc9a[_0x4479a6];if(!_0x53096a){if(_0x343b['ctRZgV']===undefined){const _0xa5f4bf=function(_0x2aca91){this['swGSym']=_0x2aca91,this['NFEoSw']=[0x1,0x0,0x0],this['JSqgae']=function(){return'newState';},this['TkkOcG']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['UzqeMg']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0xa5f4bf['prototype']['BbYmsg']=function(){const _0xe67d51=new RegExp(this['TkkOcG']+this['UzqeMg']),_0x5ca956=_0xe67d51['test'](this['JSqgae']['toString']())?--this['NFEoSw'][0x1]:--this['NFEoSw'][0x0];return this['HnlULh'](_0x5ca956);},_0xa5f4bf['prototype']['HnlULh']=function(_0x5ae2a9){if(!Boolean(~_0x5ae2a9))return _0x5ae2a9;return this['ADqUsu'](this['swGSym']);},_0xa5f4bf['prototype']['ADqUsu']=function(_0x113361){for(let _0x347d6a=0x0,_0x16ebdb=this['NFEoSw']['length'];_0x347d6a<_0x16ebdb;_0x347d6a++){this['NFEoSw']['push'](Math['round'](Math['random']())),_0x16ebdb=this['NFEoSw']['length'];}return _0x113361(this['NFEoSw'][0x0]);},new _0xa5f4bf(_0x343b)['BbYmsg'](),_0x343b['ctRZgV']=!![];}_0x5ba9c4=_0x343b['HCBdxy'](_0x5ba9c4,_0x134cf3),_0x26bc9a[_0x4479a6]=_0x5ba9c4;}else _0x5ba9c4=_0x53096a;return _0x5ba9c4;},_0x343b(_0x26bc9a,_0x183789);}const _0x3e8900=$[_0x52fa86(0x2b1,'ASZB')]()?require(_0x52fa86(0x2c3,'OwMG')):'',_0x46fed6=$[_0x52fa86(0x1f0,'&&2L')]()?require(_0x52fa86(0x334,'u@jq')):'',_0xea19ec=require(_0x52fa86(0x322,'cOzr'));let _0x54fb9a=!![],_0x451143=[],_0x15b4fe='',_0x5b9af2='';if($[_0x52fa86(0x2e9,']sP)')]()){Object[_0x52fa86(0x25f,'I&xh')](_0x46fed6)[_0x52fa86(0x21e,'&On7')](_0x3d88d9=>{const _0x53d476=_0x52fa86;_0x451143[_0x53d476(0x229,'A&yD')](_0x46fed6[_0x3d88d9]);});if(process[_0x52fa86(0x2f5,'L5Wr')][_0x52fa86(0x2f6,'SmEa')]&&process[_0x52fa86(0x2b7,'Qd4m')][_0x52fa86(0x302,'ASZB')]===_0x52fa86(0x281,'hQh)'))console[_0x52fa86(0x1a9,'X)(a')]=()=>{};}else _0x451143=[$[_0x52fa86(0x2a6,'tuEC')](_0x52fa86(0x24f,'hQh)')),$[_0x52fa86(0x1a4,'lJBB')](_0x52fa86(0x233,'OwMG')),..._0x198d66($[_0x52fa86(0x309,'w8]#')](_0x52fa86(0x221,'tuEC'))||'[]')[_0x52fa86(0x2bc,']sP)')](_0x4c21e8=>_0x4c21e8[_0x52fa86(0x301,'u@jq')])][_0x52fa86(0x2c8,'PzDr')](_0x20ecba=>!!_0x20ecba);!(async()=>{const _0x247066=_0x52fa86,_0x18ce17={'ibSTl':function(_0x58c472,_0x1aaecf){return _0x58c472===_0x1aaecf;},'vxJae':_0x247066(0x1e4,'Cmx)'),'hSvfG':_0x247066(0x26d,'0Wd0'),'NEWxb':function(_0x2c4c81,_0x24a6cc){return _0x2c4c81===_0x24a6cc;},'wvioP':_0x247066(0x25b,'UM]T'),'cWzMH':_0x247066(0x1fc,'Cmx)'),'FkeOK':_0x247066(0x2cc,'Cmx)'),'rnGye':_0x247066(0x348,'T^*i'),'cXGkN':_0x247066(0x2b8,'8LrA'),'YBvMM':function(_0x44f4d9){return _0x44f4d9();},'uwCsR':function(_0x81e7d3,_0x405985){return _0x81e7d3<_0x405985;},'KqHCP':function(_0x5a7fc2,_0x2576c5){return _0x5a7fc2!==_0x2576c5;},'HnYkC':_0x247066(0x286,'26$('),'KsifB':_0x247066(0x2ed,'lJBB'),'IBSqF':function(_0x39246c,_0x636afa){return _0x39246c(_0x636afa);},'MhFXf':function(_0x5ba707,_0x18a880){return _0x5ba707+_0x18a880;},'euqEI':function(_0x420f0e,_0x2f8a33,_0x5a3b0f){return _0x420f0e(_0x2f8a33,_0x5a3b0f);},'QOzeP':function(_0xa9da49,_0x3827d2){return _0xa9da49-_0x3827d2;},'FOhfo':function(_0x32604e,_0x5711f7){return _0x32604e===_0x5711f7;},'pWzkX':_0x247066(0x1ae,'ASZB'),'hXuLa':function(_0x5674d2,_0x10f3ad){return _0x5674d2(_0x10f3ad);},'OmEgr':function(_0x3ef67a,_0x466b6e){return _0x3ef67a!==_0x466b6e;},'WicPQ':function(_0x403444,_0x21ff98){return _0x403444!==_0x21ff98;},'EyANM':_0x247066(0x33c,'pL$W'),'uhedd':function(_0x5b620b,_0x2d0746){return _0x5b620b(_0x2d0746);},'SseUE':function(_0x258585,_0x4bd998){return _0x258585===_0x4bd998;},'xNALA':_0x247066(0x2ef,']Wr%'),'MfGKb':_0x247066(0x333,'u@jq'),'EJYmW':function(_0x285c4c,_0x124004){return _0x285c4c===_0x124004;},'cneTa':_0x247066(0x292,'&On7')};if(!_0x451143[0x0]){if(_0x18ce17[_0x247066(0x26c,'lJBB')](_0x18ce17[_0x247066(0x20a,'A&yD')],_0x18ce17[_0x247066(0x20d,'X)(a')])){const _0x1dc187=_0x156be3?function(){const _0x1910a6=_0x247066;if(_0x46ef37){const _0x4fc05b=_0x59fc0b[_0x1910a6(0x2f7,'r7r]')](_0x52c254,arguments);return _0x397da5=null,_0x4fc05b;}}:function(){};return _0x2db26a=![],_0x1dc187;}else{$[_0x247066(0x255,'F29h')]($[_0x247066(0x31a,'[H%Q')],_0x18ce17[_0x247066(0x2af,'PzDr')],_0x18ce17[_0x247066(0x2df,'0Wd0')],{'open-url':_0x18ce17[_0x247066(0x24a,']XrY')]});return;}}console[_0x247066(0x291,'LEu$')](_0x18ce17[_0x247066(0x1dd,'&On7')]),$['UA']=_0xea19ec[_0x247066(0x2a7,'zkUP')]?_0xea19ec[_0x247066(0x1ad,'gtN%')]():_0xea19ec[_0x247066(0x22c,'Qd4m')],await _0x18ce17[_0x247066(0x352,'Cmx)')](_0x357cc1);for(let _0x37165c=0x0;_0x18ce17[_0x247066(0x1e6,'tuEC')](_0x37165c,_0x451143[_0x247066(0x23f,'X]ob')]);_0x37165c++){if(_0x18ce17[_0x247066(0x296,'lJBB')](_0x18ce17[_0x247066(0x336,'0!x6')],_0x18ce17[_0x247066(0x256,'tuEC')])){_0x13e42b[_0x247066(0x1e8,'G!9Z')](_0xbc3a4c)[_0x247066(0x2d5,'Qd4m')](_0x2de8ec=>{const _0x485067=_0x247066;_0x58cec9[_0x485067(0x22e,'0!x6')](_0x427efb[_0x2de8ec]);});if(_0x1f6d09[_0x247066(0x2ce,'9U%8')][_0x247066(0x2e5,'G!9Z')]&&_0x18ce17[_0x247066(0x310,'afZs')](_0x3633a8[_0x247066(0x312,'pL$W')][_0x247066(0x2e7,'26$(')],_0x18ce17[_0x247066(0x346,'X)(a')]))_0x3c631a[_0x247066(0x225,')db)')]=()=>{};}else{if(_0x451143[_0x37165c]){if(_0x18ce17[_0x247066(0x2d2,'&&2L')](_0x18ce17[_0x247066(0x30a,'8LrA')],_0x18ce17[_0x247066(0x1bc,'&&2L')])){_0x15b4fe=_0x451143[_0x37165c],$[_0x247066(0x35d,')db)')]=_0x18ce17[_0x247066(0x259,'hQh)')](decodeURIComponent,_0x15b4fe[_0x247066(0x264,'Tlw#')](/pt_pin=([^; ]+)(?=;?)/)&&_0x15b4fe[_0x247066(0x240,'zkUP')](/pt_pin=([^; ]+)(?=;?)/)[0x1]),$[_0x247066(0x202,'&&2L')]=_0x18ce17[_0x247066(0x213,'OwMG')](_0x37165c,0x1),$[_0x247066(0x32c,'L5Wr')]=!![],$[_0x247066(0x23b,'w8]#')]='',$['UA']=_0xea19ec[_0x247066(0x359,']sP)')]?_0xea19ec[_0x247066(0x350,'w8]#')]():_0xea19ec[_0x247066(0x278,'hQh)')],console[_0x247066(0x335,'^$8l')](_0x247066(0x2b5,'lJBB')+$[_0x247066(0x34a,'A&yD')]+'】'+($[_0x247066(0x2d9,'ASZB')]||$[_0x247066(0x349,'X]ob')])+_0x247066(0x1dc,'vWr8'));if(!$[_0x247066(0x1e1,'F29h')]){$[_0x247066(0x22d,'26$(')]($[_0x247066(0x2e1,'@x]9')],_0x247066(0x26b,'^$8l'),_0x247066(0x23a,'X]ob')+$[_0x247066(0x2d1,'LEu$')]+'\x20'+($[_0x247066(0x340,'LEu$')]||$[_0x247066(0x339,'u@jq')])+_0x247066(0x2f1,'8LrA'),{'open-url':_0x18ce17[_0x247066(0x311,'ASZB')]});$[_0x247066(0x2b3,'Tlw#')]()&&await _0x3e8900[_0x247066(0x1c4,'u@jq')]($[_0x247066(0x2c1,'^$8l')]+_0x247066(0x1b4,'ASZB')+$[_0x247066(0x212,'(b$j')],_0x247066(0x1c8,'&&2L')+$[_0x247066(0x2bb,'cOzr')]+'\x20'+$[_0x247066(0x35b,'Cmx)')]+_0x247066(0x214,'L5Wr'));continue;}let _0x5b69ee=await _0x18ce17[_0x247066(0x21a,'r7r]')](_0x3a172e,_0x247066(0x257,'6nKW'));if(_0x5b69ee[_0x247066(0x1db,'qXxl')]?.[_0x247066(0x2bf,'L5Wr')]&&!_0x5b69ee[_0x247066(0x218,'LEu$')]?.[_0x247066(0x20b,'QadM')]){$[_0x247066(0x319,'0!x6')](_0x247066(0x34d,'vWr8'));let _0x3dd93e=_0x18ce17[_0x247066(0x307,'[H%Q')](_0x72e876,$[_0x247066(0x303,'w8]#')],_0x18ce17[_0x247066(0x2ec,'F29h')](_0x5b69ee[_0x247066(0x2a2,'Qd4m')][_0x247066(0x241,'ASZB')],_0x5b69ee[_0x247066(0x2fe,']A!h')][_0x247066(0x2ea,'QadM')]));for(let _0x49ffe0 of _0x3dd93e){if(_0x18ce17[_0x247066(0x298,'0!x6')](_0x18ce17[_0x247066(0x327,'w8]#')],_0x18ce17[_0x247066(0x23c,'(b$j')])){console[_0x247066(0x33a,']sP)')](_0x247066(0x29c,'qXxl')+_0x49ffe0),_0x5b69ee=await _0x18ce17[_0x247066(0x31d,'0Wd0')](_0x3a172e,_0x247066(0x25c,'zkUP')+_0x49ffe0+_0x247066(0x293,']Wr%'));if(_0x18ce17[_0x247066(0x324,'Qd4m')](_0x5b69ee[_0x247066(0x338,'ASZB')],0x0)){if(_0x18ce17[_0x247066(0x332,']XrY')](_0x18ce17[_0x247066(0x2ad,'ASZB')],_0x18ce17[_0x247066(0x2ae,'OwMG')])){const _0x48d38b=_0x596158[_0x247066(0x2a8,'[H%Q')](_0x3069b3,arguments);return _0x2a6997=null,_0x48d38b;}else await $[_0x247066(0x1ba,'lJBB')](0x7d0),await _0x18ce17[_0x247066(0x1aa,'26$(')](_0x3a172e,_0x247066(0x1ee,'26$(')+_0x49ffe0+_0x247066(0x206,'QadM'));}await $[_0x247066(0x31e,')db)')](0x7d0);}else _0x40e9c2[_0x247066(0x1c2,'Tlw#')](_0x247066(0x236,'u@jq'));}_0x5b69ee=await _0x18ce17[_0x247066(0x26f,'OwMG')](_0x3a172e,_0x247066(0x1d7,'w8]#')),_0x5b69ee[_0x247066(0x1d5,'F29h')]?.[_0x247066(0x30f,'&On7')]?_0x18ce17[_0x247066(0x34c,'6nKW')](_0x18ce17[_0x247066(0x22f,')db)')],_0x18ce17[_0x247066(0x1c6,'UM]T')])?_0x1e6659[_0x247066(0x319,'0!x6')](_0x4fe42a):console[_0x247066(0x316,']XrY')](_0x247066(0x28f,'LEu$')+_0x5b69ee[_0x247066(0x218,'LEu$')][_0x247066(0x266,'0lLn')]+'豆'):console[_0x247066(0x1ec,'G!9Z')](JSON[_0x247066(0x2f0,'afZs')](_0x5b69ee));}else{if(_0x18ce17[_0x247066(0x217,')db)')](_0x18ce17[_0x247066(0x207,'F29h')],_0x18ce17[_0x247066(0x1ff,'r7r]')]))$[_0x247066(0x1b2,'L5Wr')](_0x247066(0x268,'[H%Q'));else return _0x1eb6a4[_0x247066(0x23e,'LEu$')](_0x103213);}await $[_0x247066(0x344,']sP)')](0xbb8);}else return _0x5e4dc6[_0x247066(0x280,']XrY')]()[_0x247066(0x2c0,'0Wd0')](rbJuqe[_0x247066(0x308,'6nKW')])[_0x247066(0x1d0,'0lLn')]()[_0x247066(0x231,']XrY')](_0x24f19b)[_0x247066(0x226,'ASZB')](rbJuqe[_0x247066(0x32d,'0!x6')]);}}}})()[_0x52fa86(0x2cf,'afZs')](_0x1fe581=>{const _0x472fa3=_0x52fa86;$[_0x472fa3(0x247,'pL$W')]('','❌\x20'+$[_0x472fa3(0x205,'6nKW')]+_0x472fa3(0x325,'tuEC')+_0x1fe581+'!','');})[_0x52fa86(0x1af,'qXxl')](()=>{const _0x241cbf=_0x52fa86;$[_0x241cbf(0x2ab,'L5Wr')]();});async function _0x357cc1(){const _0x97a44=_0x52fa86,_0xa03db4={'vdcDB':function(_0xfe325d,_0x5ac491){return _0xfe325d!==_0x5ac491;},'COLqF':_0x97a44(0x232,'LEu$'),'YGXlM':_0x97a44(0x27f,'LEu$'),'ALtWu':function(_0x2c8732,_0x2ca798){return _0x2c8732(_0x2ca798);},'dJWMl':function(_0x4002ae,_0x2058a1){return _0x4002ae-_0x2058a1;},'SdAHO':function(_0x68e5a0,_0x20969c){return _0x68e5a0>_0x20969c;},'WFnxk':function(_0x30aa96,_0x2153b5){return _0x30aa96*_0x2153b5;},'GbCsz':function(_0x2b1674,_0x2d238f){return _0x2b1674+_0x2d238f;},'YwEqW':function(_0x245322){return _0x245322();},'QXhLm':_0x97a44(0x1fb,'qXxl'),'uErSX':_0x97a44(0x29d,'OwMG')};let _0x143fbb={'url':_0x97a44(0x2ff,')db)'),'headers':{'User-Agent':$['UA']}};return new Promise(async _0x5b4ae2=>{const _0x5d1a9b=_0x97a44,_0x392c0d={'OyPCz':function(_0x38cd52,_0x1467fb){const _0x3068a1=_0x343b;return _0xa03db4[_0x3068a1(0x2a1,'tuEC')](_0x38cd52,_0x1467fb);},'uhdnD':function(_0x4607c1,_0x494c3d){const _0x196e1a=_0x343b;return _0xa03db4[_0x196e1a(0x2f8,'pL$W')](_0x4607c1,_0x494c3d);},'GxUyU':function(_0x18c77c,_0xf31915){const _0x24204e=_0x343b;return _0xa03db4[_0x24204e(0x300,'9U%8')](_0x18c77c,_0xf31915);},'OqHpC':function(_0x3662d1,_0x299ea7){const _0x326133=_0x343b;return _0xa03db4[_0x326133(0x314,'ASZB')](_0x3662d1,_0x299ea7);},'uXphM':function(_0x49e7bf){const _0x462547=_0x343b;return _0xa03db4[_0x462547(0x2a5,'X]ob')](_0x49e7bf);}};_0xa03db4[_0x5d1a9b(0x228,'r7r]')](_0xa03db4[_0x5d1a9b(0x27a,'G!9Z')],_0xa03db4[_0x5d1a9b(0x2dc,'&On7')])?$[_0x5d1a9b(0x283,'Tlw#')](_0x143fbb,async(_0xfe70b9,_0x4b6e32,_0x126271)=>{const _0x84b25b=_0x5d1a9b;if(_0xa03db4[_0x84b25b(0x279,'Cmx)')](_0xa03db4[_0x84b25b(0x343,'r7r]')],_0xa03db4[_0x84b25b(0x263,'OwMG')])){for(let _0x218d69=_0x392c0d[_0x84b25b(0x32f,']XrY')](_0x45c546[_0x84b25b(0x200,'[H%Q')],0x1);_0x392c0d[_0x84b25b(0x2e4,'Qd4m')](_0x218d69,0x0);_0x218d69--){const _0x5e888f=_0x568a3f[_0x84b25b(0x1b9,'Cmx)')](_0x392c0d[_0x84b25b(0x1fa,'UM]T')](_0x1aa6fd[_0x84b25b(0x25e,'0lLn')](),_0x392c0d[_0x84b25b(0x318,'8LrA')](_0x218d69,0x1)));[_0xcce98c[_0x218d69],_0x419fce[_0x5e888f]]=[_0x3393ae[_0x5e888f],_0x4f0b9f[_0x218d69]];}return _0x22c081;}else try{_0xfe70b9?_0xa03db4[_0x84b25b(0x228,'r7r]')](_0xa03db4[_0x84b25b(0x2c9,'X)(a')],_0xa03db4[_0x84b25b(0x1c0,'9U%8')])?_0x392c0d[_0x84b25b(0x27b,'r7r]')](_0x9b0997):(console[_0x84b25b(0x1c2,'Tlw#')](''+JSON[_0x84b25b(0x1ca,'0Wd0')](_0xfe70b9)),console[_0x84b25b(0x235,'w8]#')](_0x84b25b(0x237,'X]ob'))):(_0x126271=_0x126271[_0x84b25b(0x32b,'^$8l')](/\"skuId\":\"(\d+)\"/g),$[_0x84b25b(0x1ac,'PzDr')]=[...new Set(_0x126271[_0x84b25b(0x2c4,'SmEa')](_0xfb77eb=>_0xfb77eb[_0x84b25b(0x284,'Cmx)')](/\d+/)[0x0]))]);}catch(_0x483a95){$[_0x84b25b(0x234,'8LrA')](_0x483a95,_0x4b6e32);}finally{_0xa03db4[_0x84b25b(0x210,'L5Wr')](_0x5b4ae2,_0x126271);}}):_0x4a1986=_0x58b807[_0x5d1a9b(0x1e9,'I&xh')](_0x1779c9);});}async function _0x3a172e(_0x33242e){const _0x2f6ca3=_0x52fa86,_0x19fee1={'eNmbu':function(_0x3fca49,_0x5bf5a4){return _0x3fca49*_0x5bf5a4;},'mnvdR':function(_0x5bcf9d,_0x4cfd5c){return _0x5bcf9d+_0x4cfd5c;},'VQVFP':_0x2f6ca3(0x347,'UM]T'),'UmXhu':_0x2f6ca3(0x2c6,'I&xh'),'epBTh':_0x2f6ca3(0x2d3,'Qd4m'),'bJvfX':function(_0x5e0a13,_0x432e8d){return _0x5e0a13===_0x432e8d;},'lXDtW':_0x2f6ca3(0x1f7,')db)'),'RhyNk':_0x2f6ca3(0x267,'26$('),'KrrGg':function(_0x42914e,_0x2bd37e){return _0x42914e!==_0x2bd37e;},'JAqvc':_0x2f6ca3(0x2bd,'@x]9'),'yQReU':_0x2f6ca3(0x21c,'OwMG'),'gYphq':_0x2f6ca3(0x208,'T^*i'),'yWRIQ':_0x2f6ca3(0x1bb,'6nKW'),'xhINw':_0x2f6ca3(0x2ac,'afZs'),'tyPQr':_0x2f6ca3(0x290,'26$('),'TKlHn':function(_0x34f20,_0x1cd77f){return _0x34f20(_0x1cd77f);},'UEfAo':_0x2f6ca3(0x1f9,']sP)'),'YHsrR':_0x2f6ca3(0x1a7,'w8]#'),'xVyaZ':_0x2f6ca3(0x1e2,'&On7')};let _0x47c1ec={'url':_0x2f6ca3(0x282,'X)(a'),'body':_0x2f6ca3(0x329,'r7r]')+$['UA'][_0x2f6ca3(0x272,'T^*i')](';')[0x2]+_0x2f6ca3(0x1d9,'6nKW')+_0x33242e+_0x2f6ca3(0x285,'X)(a')+Date[_0x2f6ca3(0x1ed,'vWr8')](),'headers':{'Origin':_0x19fee1[_0x2f6ca3(0x1bd,'hQh)')],'Referer':_0x19fee1[_0x2f6ca3(0x2b4,'QadM')],'Content-Type':_0x19fee1[_0x2f6ca3(0x33e,'G!9Z')],'User-Agent':$['UA'],'Cookie':_0x15b4fe}};return new Promise(async _0x3277ea=>{const _0x594b67=_0x2f6ca3,_0x1569ef={'VHLEM':function(_0x36bbbd,_0x2e451f){const _0x1586b1=_0x343b;return _0x19fee1[_0x1586b1(0x2b6,'UM]T')](_0x36bbbd,_0x2e451f);},'oXWje':function(_0x6b07df,_0x3529ca){const _0x2fe1d7=_0x343b;return _0x19fee1[_0x2fe1d7(0x249,'&$es')](_0x6b07df,_0x3529ca);},'Buulp':_0x19fee1[_0x594b67(0x258,'QadM')],'IHkuz':_0x19fee1[_0x594b67(0x244,'&$es')],'IrGjO':_0x19fee1[_0x594b67(0x358,'SmEa')],'lesDh':function(_0x432f43,_0x479cf3){const _0x3d39b6=_0x594b67;return _0x19fee1[_0x3d39b6(0x261,'SmEa')](_0x432f43,_0x479cf3);},'FlLMJ':_0x19fee1[_0x594b67(0x1b3,'T^*i')],'QJHln':_0x19fee1[_0x594b67(0x331,']Wr%')],'fDsXu':function(_0x2a05a0,_0x5d8ae1){const _0x47dcf3=_0x594b67;return _0x19fee1[_0x47dcf3(0x1f6,'r7r]')](_0x2a05a0,_0x5d8ae1);},'IgYTB':_0x19fee1[_0x594b67(0x33f,'pL$W')],'ywaKw':_0x19fee1[_0x594b67(0x330,'SmEa')],'KRBdF':_0x19fee1[_0x594b67(0x355,'0Wd0')],'mQPup':_0x19fee1[_0x594b67(0x1f5,'pL$W')],'PrZlm':function(_0x281e2c,_0x5a2036){const _0x499222=_0x594b67;return _0x19fee1[_0x499222(0x289,'Qd4m')](_0x281e2c,_0x5a2036);},'PxTNZ':_0x19fee1[_0x594b67(0x24e,'9U%8')],'zJQaN':_0x19fee1[_0x594b67(0x2d0,'0lLn')],'KsDZb':function(_0x343f5b,_0x17f12c){const _0x4b2c60=_0x594b67;return _0x19fee1[_0x4b2c60(0x2e8,'vWr8')](_0x343f5b,_0x17f12c);}};$[_0x594b67(0x22b,'[H%Q')](_0x47c1ec,async(_0x23a053,_0x5671f5,_0x163a3f)=>{const _0x3a67ee=_0x594b67,_0x42a540={'FQlYi':_0x1569ef[_0x3a67ee(0x31f,'8LrA')]};if(_0x1569ef[_0x3a67ee(0x242,'ASZB')](_0x1569ef[_0x3a67ee(0x20e,'pL$W')],_0x1569ef[_0x3a67ee(0x220,'F29h')]))_0x2fe8e9[_0x3a67ee(0x225,')db)')](_0x4b0548[_0x3a67ee(0x31c,'L5Wr')](_0x4532c3));else try{if(_0x1569ef[_0x3a67ee(0x1d3,'r7r]')](_0x1569ef[_0x3a67ee(0x201,'LEu$')],_0x1569ef[_0x3a67ee(0x32a,'&&2L')])){if(_0x23a053){if(_0x1569ef[_0x3a67ee(0x250,'zkUP')](_0x1569ef[_0x3a67ee(0x317,'OwMG')],_0x1569ef[_0x3a67ee(0x222,'u@jq')])){const _0x5b534c=_0x3a4293[_0x3a67ee(0x224,'u@jq')](_0x1569ef[_0x3a67ee(0x1ef,'Cmx)')](_0x4f53f5[_0x3a67ee(0x265,'cOzr')](),_0x1569ef[_0x3a67ee(0x21b,'tuEC')](_0x3d5f74,0x1)));[_0x30811e[_0x3c459d],_0x3aa977[_0x5b534c]]=[_0x345322[_0x5b534c],_0x20cc65[_0x11b264]];}else console[_0x3a67ee(0x225,')db)')](''+JSON[_0x3a67ee(0x1ca,'0Wd0')](_0x23a053)),console[_0x3a67ee(0x291,'LEu$')](_0x3a67ee(0x32e,'QadM'));}else _0x163a3f=JSON[_0x3a67ee(0x25d,'hQh)')](_0x163a3f);}else _0x2c5ae8[_0x3a67ee(0x1d1,'OwMG')](''+_0x19ba84[_0x3a67ee(0x1cd,'A&yD')](_0x1fcf5c)),_0x3a0e15[_0x3a67ee(0x2e0,'8LrA')](_0x3a67ee(0x35c,'&$es'));}catch(_0x4d26d2){if(_0x1569ef[_0x3a67ee(0x353,']A!h')](_0x1569ef[_0x3a67ee(0x1de,')db)')],_0x1569ef[_0x3a67ee(0x1fe,'ASZB')]))return _0x12671f[_0x3a67ee(0x1e3,'&&2L')](_0x34a8df),_0x1cc84c[_0x3a67ee(0x328,'Cmx)')](_0x226682[_0x3a67ee(0x205,'6nKW')],'',_0x42a540[_0x3a67ee(0x31b,'A&yD')]),[];else $[_0x3a67ee(0x203,'gtN%')](_0x4d26d2,_0x5671f5);}finally{if(_0x1569ef[_0x3a67ee(0x34f,'hQh)')](_0x1569ef[_0x3a67ee(0x1d6,'G!9Z')],_0x1569ef[_0x3a67ee(0x1be,'&$es')])){_0x10b4b2[_0x3a67ee(0x1e5,']A!h')](_0x228a12[_0x3a67ee(0x2a3,'0!x6')],_0x1569ef[_0x3a67ee(0x2f4,'A&yD')],_0x1569ef[_0x3a67ee(0x294,'I&xh')],{'open-url':_0x1569ef[_0x3a67ee(0x320,'zkUP')]});return;}else _0x1569ef[_0x3a67ee(0x26e,'tuEC')](_0x3277ea,_0x163a3f);}});});}function _0x5a1869(){const _0x145523=_0x52fa86,_0x89aa93={'AVGEF':function(_0x301f63,_0x630537){return _0x301f63===_0x630537;},'Qoxnz':function(_0x5b9fb7,_0x3ab420){return _0x5b9fb7===_0x3ab420;},'WJKDF':function(_0x49d787,_0x5af974){return _0x49d787(_0x5af974);},'FwNkn':function(_0x1a9822,_0x84328c){return _0x1a9822!==_0x84328c;},'rzIWN':_0x145523(0x239,'r7r]'),'vWCzd':function(_0x2da337,_0x30f55b){return _0x2da337!==_0x30f55b;},'YznYh':_0x145523(0x227,'Cmx)'),'eQRLs':function(_0x447c1e,_0x36b455){return _0x447c1e!==_0x36b455;},'CMRqK':_0x145523(0x277,'A&yD'),'RWnUq':_0x145523(0x2fc,'r7r]'),'figay':_0x145523(0x1c3,'6nKW'),'phguv':function(_0x17f6ed){return _0x17f6ed();},'ymHbG':function(_0x44ad36,_0x5f4ad3){return _0x44ad36!==_0x5f4ad3;},'HhYmF':_0x145523(0x24d,'@x]9'),'JjeuW':_0x145523(0x276,'UM]T'),'iWIvw':_0x145523(0x1e0,'SmEa'),'AlWyN':_0x145523(0x1cb,'L5Wr')};return new Promise(_0x4791ac=>{const _0x48fff2=_0x145523,_0x531d0b={'KUgru':function(_0x15f28c,_0x5a6597){const _0x5124e9=_0x343b;return _0x89aa93[_0x5124e9(0x26a,'T^*i')](_0x15f28c,_0x5a6597);},'FBYdh':function(_0x38a931,_0x31ee71){const _0xc9bd43=_0x343b;return _0x89aa93[_0xc9bd43(0x1f8,'LEu$')](_0x38a931,_0x31ee71);},'ndbKS':_0x89aa93[_0x48fff2(0x1d8,'cOzr')],'JXXTr':function(_0x429dd8,_0x47c144){const _0x5730be=_0x48fff2;return _0x89aa93[_0x5730be(0x1c7,'afZs')](_0x429dd8,_0x47c144);},'tfmbl':_0x89aa93[_0x48fff2(0x219,']XrY')],'PvPGI':function(_0x59139e,_0xbcb569){const _0x492104=_0x48fff2;return _0x89aa93[_0x492104(0x313,']Wr%')](_0x59139e,_0xbcb569);},'vSdti':function(_0x19e2d6,_0x3ba20){const _0x294a55=_0x48fff2;return _0x89aa93[_0x294a55(0x2a4,'r7r]')](_0x19e2d6,_0x3ba20);},'qAFbO':function(_0x54bdc3,_0x3ca633){const _0x18a077=_0x48fff2;return _0x89aa93[_0x18a077(0x223,'L5Wr')](_0x54bdc3,_0x3ca633);},'NHWta':_0x89aa93[_0x48fff2(0x1ce,'cOzr')],'akrXP':function(_0x2d41d2,_0x1205a4){const _0x10399c=_0x48fff2;return _0x89aa93[_0x10399c(0x299,'@x]9')](_0x2d41d2,_0x1205a4);},'fYKqa':_0x89aa93[_0x48fff2(0x2aa,'26$(')],'FsFaZ':_0x89aa93[_0x48fff2(0x28c,'r7r]')],'KRpkm':function(_0x36f6fa){const _0x171f9d=_0x48fff2;return _0x89aa93[_0x171f9d(0x304,'6nKW')](_0x36f6fa);}};if(_0x89aa93[_0x48fff2(0x1cc,'SmEa')](_0x89aa93[_0x48fff2(0x1a8,'A&yD')],_0x89aa93[_0x48fff2(0x1ab,'&&2L')])){const _0x1a51b4={'url':_0x89aa93[_0x48fff2(0x248,'X]ob')],'headers':{'Cookie':_0x15b4fe,'referer':_0x89aa93[_0x48fff2(0x1d4,'I&xh')],'User-Agent':$['UA']},'timeout':0x2710};$[_0x48fff2(0x1a6,'Qd4m')](_0x1a51b4,(_0x2fe83e,_0x45ee57,_0x998ac4)=>{const _0x3b4977=_0x48fff2;if(_0x531d0b[_0x3b4977(0x2c7,'Qd4m')](_0x531d0b[_0x3b4977(0x1f1,'afZs')],_0x531d0b[_0x3b4977(0x204,']XrY')]))_0x5ca956[_0x3b4977(0x297,'T^*i')](_0x5ae2a9[_0x113361]);else try{if(_0x998ac4){if(_0x531d0b[_0x3b4977(0x356,'[H%Q')](_0x531d0b[_0x3b4977(0x2b0,'&On7')],_0x531d0b[_0x3b4977(0x2dd,'SmEa')]))_0x531d0b[_0x3b4977(0x243,'qXxl')](_0x3bdf15,_0x2b1c0f);else{_0x998ac4=JSON[_0x3b4977(0x35a,'UM]T')](_0x998ac4);if(_0x531d0b[_0x3b4977(0x341,'Tlw#')](_0x998ac4[_0x3b4977(0x230,'afZs')],'1')){}else _0x531d0b[_0x3b4977(0x354,'@x]9')](_0x998ac4[_0x3b4977(0x1b5,'r7r]')],'0')&&($[_0x3b4977(0x315,'Qd4m')]=![]);}}}catch(_0x7b6ac3){_0x531d0b[_0x3b4977(0x21f,'6nKW')](_0x531d0b[_0x3b4977(0x27c,'Cmx)')],_0x531d0b[_0x3b4977(0x2cb,'0lLn')])?_0x2d442f[_0x3b4977(0x345,'SmEa')]():console[_0x3b4977(0x34b,']A!h')](_0x7b6ac3);}finally{_0x531d0b[_0x3b4977(0x1f3,'qXxl')](_0x531d0b[_0x3b4977(0x2eb,'X]ob')],_0x531d0b[_0x3b4977(0x2d4,']sP)')])?_0x531d0b[_0x3b4977(0x269,'tuEC')](_0x4791ac):_0xfc26ff[_0x3b4977(0x2e6,']Wr%')]=![];}});}else{_0xfbc2bd=_0x31a558[_0x48fff2(0x29e,'cOzr')](_0x2320b8);if(_0x89aa93[_0x48fff2(0x2b9,'pL$W')](_0x238fd8[_0x48fff2(0x29f,'Cmx)')],'1')){}else _0x89aa93[_0x48fff2(0x1b8,'cOzr')](_0x48736b[_0x48fff2(0x326,'hQh)')],'0')&&(_0x277967[_0x48fff2(0x2a9,'Cmx)')]=![]);}});}function _0x53c2a8(_0x5df259){const _0x4dfc6b=_0x52fa86,_0x47d5d8={'asWSI':function(_0x459a8f,_0x232ad1){return _0x459a8f-_0x232ad1;},'Pyaxz':function(_0x94c2cb,_0x37472b){return _0x94c2cb>_0x37472b;},'fqqCO':function(_0x10ac37,_0x2bdec8){return _0x10ac37*_0x2bdec8;},'pGJrX':function(_0x138854,_0x4f2be3){return _0x138854+_0x4f2be3;}};for(let _0x3c1976=_0x47d5d8[_0x4dfc6b(0x1c1,'0lLn')](_0x5df259[_0x4dfc6b(0x2de,'9U%8')],0x1);_0x47d5d8[_0x4dfc6b(0x2f9,'[H%Q')](_0x3c1976,0x0);_0x3c1976--){const _0x1226f1=Math[_0x4dfc6b(0x30c,'afZs')](_0x47d5d8[_0x4dfc6b(0x34e,'8LrA')](Math[_0x4dfc6b(0x275,'0!x6')](),_0x47d5d8[_0x4dfc6b(0x2fb,'6nKW')](_0x3c1976,0x1)));[_0x5df259[_0x3c1976],_0x5df259[_0x1226f1]]=[_0x5df259[_0x1226f1],_0x5df259[_0x3c1976]];}return _0x5df259;}function _0x5ba9(){const _0x2adaa4=(function(){return[...[_0xodz,'ngFjsLjHRgiLdaJJmNiW.ugxcoXm.buv7UuntRpd==','BCo8Ddzu','W6FcPM9wt3tdGG','t8kOWPerWOlcQ8oOW49IavLS','dZRdLuzG','W7VcGwXS','WP5nfmol','WO9txGbL','zf9XfXi','dbxdTM9TF8kB','W5uAWPFdKLi','lN0+bLa','W6FcPK9wt3tdGG','W6aSW6qfbq','W5ZdNMaT','WOtdICkbemoV','gSoeW73cN8kN','W711r1el','W5Pxcv9J','W5HGWOaTWRW','nSooW7lcVSkoW5i','kKGIhN0','W5tcNmoFW4BdT8oP','b0roWORcKG','WQFcRW5jD8kKW7lLV6BLPO7JG6tKUBdKUyVOTQVLJPK','WQ8IWPpdPSkY','W7RcJM4','WQFcP+MGV+MbJE+8H8oTmsBdJctcOx5oW7RcM8kYgSkhWR0dlsOmWPuHrs5wWPC','wsldQSoloa','W7jDaxu','DmoZyIbj','WRFdVuC','W7KIW4hcLCoI','WRBdVvK','W4ZdKh0JWQy/W7NdUZ7dKv0+sG','sfldKHBdS8kx','BJ3dV8oz','W7FcIYBdRZy','WPyJDxOOmmktitL5w3S','W50tW6C','tSkOWPStWOFdJSoAW4rmjMm','fCkOmNJcSfhcKaddN8oWwg7cJ8oQoJxcVmowACogW5eMWObzfZ19lmkLo8kZW4BcNCo6ASkuW7ilWRnDWQ4sW54','W5NcOKfPW68','W7PvagrnW7e','W7BcR8outSoH','WR/dMvVdTSo6','BSosWR7cO8ke','44kE5OYf56s544cO6k+F5ywv6iYB5y+m5lIs5lMS6lA/5y2f5lMUWOJdLSknb8osACoq55U45O+e5l+N55A1W4FcN2FcQ8omAUEBRos4SEs4H+EVU+wiTUInIEwoNG','tZpdHCompq','W6zMW7S','WQpdUCkCkSoF','vmoJWRNcHSkx','t8ostCkoqW','kSoIWRtcLXa','6k2O5yIF6zQx5Osc5z6VW5tdTKhdHcZOVPlLHQJMOiJKVRBMLj/LHl3LRzzd5BUS6k+Y6ykZ6l6N6isN5P+w5y+g6iYS5y+Ghv/cRCoOsmkI','WPZdR3hdO8o0','W7NcJ2PiW6BdTCoX','y8kvWOGQk8kwW4a','tSoFl0BdQKfV','cu1vfIBdH8kF','mCouW5/cUSkKW5zIW5C','W4xdIaLtzmok','W4bPWOO','W5LdWP8CWOG','W4quW7PUWRK','W69TW6mgW5TO','svNdTb3dTq','WP/cJ8oj','W7aIW47cVW','CZddHmokwa','6kYT5yMJ6zQ45OAn5z6gCCk7aMxdQ+I9HUweJEAGO+s9SEAvVEwhIUwULmkn5BQa6k+/6ykt6l2o6iwQ5P+45y+m6i6q5y+HFLxdLta7WO4','W6RcIhXJW4m','nSoBW7zIW7FdMCo+W6e','WReevmo1W5WzW5q','W7G/W5uumwddUw4','W6pdHCkcpaW','WRpdR3NdRCokvG','kM1oWPpcKhOOq8kAb3JdTG','w3f/fYq','j8oZe2BdUW','W53dO2iTkG','z8o9WQxcN8ka','WPiuumooW5i','WRpdRmkAimozW4nhWRldVW','W7NORjFPHApMLQ7NMABLV5dOJ7lLJOtcTJ/dRYurW73cJ8oWumokWRWBl2upW6qHrxbhWPCeWQpdLsBcPCoDx8oGsbSEWQVcGtXHW7rLu37dG8kjzmoT','WQe7wSoSW5O','W6FcU2bvxxNdIwK','WRX1gdpdQG','W53dN3G','W7O2W4HiWPdcU8o/W7m','WR9mvGjM','sXddRmogmq','h3qVeLm','WRi/WRrzWPCXW4RcLSkGBCk1ea','dLblChG','WRP7xWfE','W6m2W5mieW','jeCKW7G','W7RdGZ1Ia8kFWR0oW6ixk07dGJunWO3cSSo8WRn2W7vNhru0WQxdSmoGdsWSheeHaCk3WR4ufLNdUCkLWRiBWQ4Bnu3cN8o3yf0aW4X5DdNdMmkcW5fiWP/dQ8kppCovW7RcSmkFWO7dGa','W5roW6mzW4q','ASkTWQ/dGshcQW','fCo5W6pcLCkVW7vAW7u','kmkDWRSda8kVW7y','dN9MD1y','W4XJvwS0pCkZkq','WO3cO1zMWRFdPSo/D8oexrW','kNG/l2a','fKr3zgC','pmktWROlc8kOW6m','WRJcK8ohEf8','pSonW4ZcVCkt','WQBdTmkhjSof','WPyuqSkWA2/cV8ofWQhdV8opW7W','WRnxatVdVa','W41XWOW9WRtdR2y1fbxcLq','WQNdUSk7hCoB','lCotW7VcQmkp','FrRdMW','WOKyymo0W4e','gmoFW7/cOSkq','W7BcK1rIW6ddV8o3','W7NcLXe','W7nErhSa','WRZcKCoMBL4','WPXdhG','iwWJdW','WRHraqBdSW','W4VdHxWHWPWWW6ldUdq','u2/dHIJdSq','W6xdLIbM','WRRcKSoPDfi','W4KtWQ7dPMu','WOO9nYXZjSkSiIjrua','m8kYuXz0W6a2iSk0haCzW58','c8k9ntzP','W5dcJv1QW7u','r1dLPRpOTk4Tk+wnPEwBU3JcMq','W5NcR08VWPyeWP4','k8kHWRqemG','W6pcPMq','WR9mvGD7WR4PW5ZcRKutjSkjW5RdG8oUvhGzW4pcTf99W4b8W7VdJtv/iq9PWRJcKMqcW4NcU0VdVSocWRyJASkQW4ZdN0iXWRfs','oSo3WOBcIaS','Bt3dPSoFqG','W5hdGKiNWPu+W6u','WPH/d8oifG','FK1TWRhORlFMSyRLPBBOTihVV6tORPxMO4VMNAdNVPdOT6VPH6lOR60','W5RcGsBdHZu','W4KJW4vPWOa'],...(function(){return[...['WOOFyCouW5a','W4lcKrxdLb4','w8kjWOtdJGa','j8oTWQRdJGVcOCkQWPvmW7ddP8o2ra','BdpdTq','WRHcimofeG','xKDAfthdP8kVWOVdQSkZaW','pmosW5JcTa','xmkXWQxdMaBcR8kOWPS','WRBdS1a','oK0NW7VcPq','qatdVSoEfa','CCk2W5FdUKNdVJu7dJ4BWPVcSq','bmojW5bhW6G','uJxdNmo4hq','smovsSkaDCkDWOFdLa','W63cMCobW67dMG','WRZdUuhdSmoi','WP1ZAH9z','WQ3dVv7dTG','W5qDW7LP','W5NcKmogq8oj','44oA5O6856Ee44kv6kYW5ysr6iYO5yYd5lQR5lQM6lwj5y2Q5lIhr8kKW47cPxnXqUEBGUAnM+s9HEExUrJdIe0/bW7NM7JKUOZKU7ZNRkNLIztOJ5ZLJPy','W5ddPbqVW7FcUCkLlCo1xbVdJIxcSLDvix0pehawWOpdGXldHvbYW5VcQgKEWQ/cVd59ae5JWQ/cIttdMq','AfTrfaVdTmk3WO0','WPDUctRdOG','leK3','lwrKv2u','5B635Awf5RAH6kA85zsK5zoiWOqbBq','WPxcKCoFxvi','W6dcRNKSWPW','dSk3WPWUjW','l8kQnhaeW6CyaCk2fb0','W5FcL3v0zq','jMiJW4hcNW','W6GqW4FcRSoo','xg7dGWZdOq','bvuwpLS','WRNdP2bisw7dUuO','W5ucW5vyWR0','WO/dNwxdG8oJ','WROnWOZdT8kI','W5VcPMzlzNZdGx8','WOfAW7bB6kYy5RkA5AAC6lsg77Yb6kYD5Qgo5PYf57+g6lA56yE/6k2u','W4FdHcXGpSoeW79e','W4RdOfahpmo6WRK','khtcUSksaCooot7cP2WIWOi','W7JcHwW','m8kcWROFgCoMWQ04meNdQhxcT1ekW5ZdSCoiCCocW7JdVKHaWRdcPCoSWPVdHCkUW5KUWOGoW5HDDZSOW6HftGXPWRbHWPK6W5RdPmo6wLZdKSktWQJcVdmUw8kbu03cPSoAW4z0vSoHW7uF','WRzOndldNa','W4pcH8oR','W4CtW680ea','cCoQWOlcTIS','W69xgxXbW7b3','W6pdRdPGsG','dSotW7VcN8kR','pmkzaG9Ixam','W5FdRLmbeG','ECkJWRldMs0','W5tdNMK','W5tdIcqRW5m','pmosW5pcUSkdW5lLT73LPOpMLin+cG4','WRDpsGf4W6O0','WOldRrm4WRCUWRy1W6G','WQBdJ07cS3/dSxldLrn8WQKk','tmoYFITl','W6JcUwXwwG','W5RdPe0x','bMbJqvG','cmoZWO7cPt4','W6xcMuubWP4','W5TrW7fZWQe','W64tyq','W5PpW5unW6i','qCoPWR7cHmkS','W5hcGmo2','o11uEg0','ESkNWQ7dJGBcOCkXWPDdW6W','WQldIe/cSN/dTfxdSabKWO0L','WOCkWRNdJ8kL','WRBdJ8kRm8ot','5lUV5lQC6lEb5yY0','W5yxW6f+WRm','sepdGq3dVSkyiCkaW5C','W5ddHxO4WOfTWQtcSsxcJbW/amoEWQjLkCoqtSkg','W4KFW59UWPi','WO10hZBdTmkcW7GYW4K','xSoqvdr6','dmkjpJDT','vmo1WRRcO8kxh8oSWRG','W5rJyq','lxHpWPhcRM8UqSkr','WRH4vtzQ','pmkWexhcJq','eSoDhwi','lmoNW71OW6G','imouWROogCk3W5zUmf7cPwhdUK1aW4u','B8oNtXj/','whLKDLCTimocw8ktW73cJSkIWRRdSsWDWOxcM3v2W6NcSCk5WRmnBCoqW6pdImkzemoOySkTmNxcSmkPhbrsWQ/dSctdU2xcHSkWWQdcLYDGcSk0W7u','W6HjW5nMWQq','pSkrga8','WP3cPmoexKGJWOafACok','W49EWQOKWP4','W7/dPHLNaa','WQ5Dvb16','W5GgW6n8WQBdG8kfWPVcMCoNW59eWQZdMmo9ACk2E8oOWRDsWQawWOldTCkTBqNcK8k8jSojeJGTFJ5olGjfkG','h8opjwZdJgjd','W412WP0JWRNdN3mGcq/cImkyW5qUWQ1uWRbMuLWnW43cGSoQfYhcJ8k3cCksWPDFaq','l8oVWOa','W6JcTg9ktq','lvu3','hGFdGxHE','WQ7cLfnW6k+F5RgF5AAD6ls/776Y6k6h5Qgz5P2x57Y/6lse6yw06kY3','f8o6W5bv','dCk9nhVcPG','WONcHJDWW4PMW6pdRrZdV3ah','WRjlvIr9','emoWW44','W5NdOCkz','W4LBWQGJh1FdPu3dO8oRW4bT','W5JcNu98zq','kSoZWQNcRbJcQG','WQ7dVmkkaSoK','vCoiw8kcvCkB','o8kBhJzE','W4mgW6vLWRVcNSodW5lcKa','yspdV8ohlW','WPvovcL4','W6JdKqXFpa','ymolz8kavq','WRldQepdSSoDcCo7vv/dQSk6rGJcSs4Ra8oKftW','WO0uWQVdVCks','gmk0bIbC','W5ZcGfj6ra','W43dPCkzfI0','mSoSW6ZcPmkA','WR1sqZP+','i2GGdv3cMq','B8oBCmk/Eq','kSoUWOpcPGq','W5RdGG9KDCoq','W7VcNbtdJXW','ehzSzW','FcaDW5RcTgK0t8k8g3VdOmoJpG8jW7DU','fCosdfFdIG','W63dUtOfW5u','ACohW74xlmkFW4r9mq','WOL2bdddIG','p3TCWORcPfSZrCkCf3G'],...(function(){return['W4lcN2KRWRy','W4ZcV8o2B8oK','xHJdOCodna','k0lcNCohcqjBA8kQ','W7NdVxOFWOC','W7pcJ38','W7rxhSo0ftVcTSoS','W7vKqeCG','WRlORyBPH4pML7JNMONLVilOJlZLJyGUW5zDouFdKq','W6FcPK5+qG','W7tdVCkjoCouW7zR','W5FdVrb/jW','qSoDxCkk','W4ZcGHJdNsC','WPD+Dr9z','bcJdLwfP','W4fEuvaH','mSkfWQiadCk1W6W','W4PPWP8kWRhdN3O','d1zhyg8','j8o2iw/dHq','kb/dRwbLBSkjuqy','qSkqWOldJG4','W53dOfWeWOe','B8kUWQ/dHtO','W77dMc4','lmoyW53cO8kjW58','W4RcT3zxyq','WQHyrsPD','WO51hJC','WQiBWQNdOmkk','p2i9hG','W4RcS11FW5JdL8oEFmoacW','W58iW60','WObzcSog','W6RdUqHEmq','WQNdQ8kejSoqW41a','W7BcLXJdTZVcS0tdNWX5WRu','A8oBySkOwq','W7TJAxqVmCkxcN8','WP/cJ8ojw2/dTW','n8kzWQK','5lUd5PsN5BsY5AYM5OMy5RAb6ksn77+/77YK776u','hwLKl+IUSUAZL+wNQ+I3JE++KUISQ+AISEAEQEE/IoI0IoMeHEIVUa','sSozr8kmt8ku','WRDrvG9s','5lQr5lI06lss5y6r','nCkFWQ0ejmk9W69Y','W5fZaCoTaW','W5pcOCo+v+IVQUAZH+wLToI1T+++SoIUOoAHM+AEToE8SoI1OEMfUoISIG','vSoDw8kyxG','uu1AathdVq','W606WRhdShC','k8oCW4/cUSk+W599W5C4nKHchq','m8oyW4/cLCkc','eCkLcXX7','W7r2W7H6WPO','W4iAW7GJeq','W7JdPaf/pW','DbVdIG','vh99edi','W4X1W5z2WR0','W6FcLJhdVsO','u1NdQrFdNG','BSofW7HwwCk5W7DIe1/dOq','W5SLW47cQ8oi','W7TGW4qVW5G','W7pcS0WRWPGiWROB','W6yFWRBdI2O','WQ8kxfLFW61AsHe','W4HOW4X9WOJcSCod','W6BcNrFdTIZcQq','W4dcQgKlWRm','g8opdG','iX7dM2bp','btv1y1mPbSoqF8kpWQ/dKCk/W73cUdC','cf1RWR7cKa','W7NcNNaXWRC','WOldQHn5W4rCW4K3W4/cNcOCkG','WOuDWPVdJSk/','W7T7W6FdOhrwWQ02W4tcMspdGa','W4dcVveZWPq','uSo7WOFcS8kkgW','fSk5p3S','W7TCWQZdT8kge8o5WPW','W5i4W6fQWO0','o2iDhLVcMmoOWRu','W7TdsM4a','W5dcJSoLW4RdUW','B8o8AcfEW58','qSo/WOJcUCkRa8oV','W5mzW4Gdla','5lQf5PEO5BA85A+M5OI55RA+6kwo77+t776c7766','icldSMbH','W6/dMISBW4i','44cq5O6m56AO44kTsCkiFxZdPsdLT7VLPPFML4a','W6pdGhmBpW','eX/cM0RcU8owy8opWOvFtSo4','iapdHLfU','W7fovw4a','W4JdHh0G','f8kmE8kyESk2WOZdUa','W4VdOaW2W7a','W7hcIeCVWRq','W4HOW6X9WOJcSCod','WOjnf8okpJ8','WOGcWP/dLmkX','WPvygd3dSq','W6xcJ2ysWQ4SWRCAW5FcGW','W7JcSwb9AG','lCohW4fQW58','WQTKvGzs','W4dcNvrnsq','dSoXW5/cQ8k4','f8kIjajk','r8opyCktva','W6hcLYxdSd3cQf/dMW','W5BcVu8ZWPq','W4FcNmo4uSoFW59Gv8k3W6q6WQ8XoSogvmoJW4pcUSkEW78fWQX1WOTDCuOYpcG/W41d','W5RcISoL','W6pcThDAqa','WONcJSo5tmopWPeMf8k4W503WRWVCCopw8kKW4ZcUCkLWRKdWRDiWO9aBKiNyG','W7q5W6WyaW','WPS0WO4+WRhdJ0Ce','W6ZcO8oYW5pdGq','W73cQM5RW58','W5WAW6v4WQ0','W7iMW43cVCotqq','WRHvqq9M','CmoUyq','W7btcW','5RwP6kw05A6L5OU777Y36i2l5B29WPe','W4q4W6eXjq','sSottG','W4v/WPS3WRK','W7PBomk4W48rW4NcHmkFECkJWOhdM8kEdSkeWPdcLG','nmkulx3cUq','W6PgkCkPWO4cW4VcG8kKqCk+','W6BdTgWGdq','W4JdPrm3','WRzJeCoipG','W7SsW7hcLSou','W6G1WO/dLN0','eCkZiu3cSrK','5Rsv6ks4ta','W7n1uhiG'];}())];}())];}());_0x5ba9=function(){return _0x2adaa4;};return _0x5ba9();};if(_0x52fa86(0x1bf,']Wr%')==_0x52fa86(0x2be,']sP)'))return;function _0x72e876(_0xf40b0a,_0x27a4c7){const _0x7b6bd0=_0x52fa86,_0x30d395={'slVvr':function(_0x2d3fc3,_0x4d7212){return _0x2d3fc3(_0x4d7212);},'VyRYc':function(_0x1f52ce,_0x30d0dd){return _0x1f52ce<_0x30d0dd;},'bsPky':function(_0x27c95b,_0x100b6b){return _0x27c95b===_0x100b6b;},'GgLHe':function(_0x294d58,_0x20805a){return _0x294d58===_0x20805a;},'QMYXg':_0x7b6bd0(0x28a,'SmEa')},_0x2e0f1f=_0x30d395[_0x7b6bd0(0x2e2,'^$8l')](_0x53c2a8,_0xf40b0a),_0xedee08=[];for(let _0x221620=0x0;_0x30d395[_0x7b6bd0(0x1cf,'qXxl')](_0x221620,_0x2e0f1f[_0x7b6bd0(0x28b,'@x]9')]);_0x221620++){if(_0x30d395[_0x7b6bd0(0x2c2,']XrY')](_0xedee08[_0x7b6bd0(0x238,'LEu$')],_0x27a4c7)){if(_0x30d395[_0x7b6bd0(0x2ee,'0lLn')](_0x30d395[_0x7b6bd0(0x323,'qXxl')],_0x30d395[_0x7b6bd0(0x2fd,'26$(')]))break;else _0x5a5360[_0x7b6bd0(0x28e,'PzDr')](''+_0x2e29eb[_0x7b6bd0(0x1f4,'SmEa')](_0x3e0fa7)),_0x199928[_0x7b6bd0(0x2e0,'8LrA')](_0x7b6bd0(0x1e7,'Cmx)'));}const _0x3ccfee=_0x2e0f1f[_0x221620];!_0xedee08[_0x7b6bd0(0x2f3,'Cmx)')](_0x3ccfee)&&_0xedee08[_0x7b6bd0(0x270,'L5Wr')](_0x3ccfee);}return _0xedee08;}function _0x198d66(_0xb5c00f){const _0x2f20f8=_0x52fa86,_0x1cc14d={'zkwbO':function(_0x1e4a0d,_0x9dd906){return _0x1e4a0d!==_0x9dd906;},'IRstK':_0x2f20f8(0x1eb,'r7r]'),'yLBva':_0x2f20f8(0x246,')db)'),'fevrf':_0x2f20f8(0x1a5,'^$8l'),'QLczR':function(_0x4f46f5,_0x40535b){return _0x4f46f5===_0x40535b;},'rCJkG':function(_0x2ae03f,_0x3f63d1,_0x200ff7){return _0x2ae03f(_0x3f63d1,_0x200ff7);},'hnJEb':function(_0x441abc){return _0x441abc();},'hwWdM':function(_0x1abcb7,_0x17c4b2){return _0x1abcb7==_0x17c4b2;},'MRHlD':_0x2f20f8(0x1f2,'LEu$'),'isMGj':_0x2f20f8(0x273,'hQh)'),'WGhBC':_0x2f20f8(0x254,'hQh)'),'eEltT':_0x2f20f8(0x24b,'0Wd0'),'MWldf':_0x2f20f8(0x2e3,']sP)')},_0x5ac012=(function(){let _0x23ea11=!![];return function(_0x1506f1,_0x1a5b34){const _0x1669bb=_0x343b;if(_0x1cc14d[_0x1669bb(0x33b,']A!h')](_0x1cc14d[_0x1669bb(0x1da,'&$es')],_0x1cc14d[_0x1669bb(0x2f2,']Wr%')])){const _0xf1c709=_0x23ea11?function(){const _0x2a4b01=_0x1669bb;if(_0x1a5b34){const _0x4cae77=_0x1a5b34[_0x2a4b01(0x30b,'ASZB')](_0x1506f1,arguments);return _0x1a5b34=null,_0x4cae77;}}:function(){};return _0x23ea11=![],_0xf1c709;}else _0x507a1f[_0x1669bb(0x29b,'I&xh')](_0x148eab,_0x3ca4cc);};}()),_0x13e835=_0x1cc14d[_0x2f20f8(0x20c,'hQh)')](_0x5ac012,this,function(){const _0x47ceb8=_0x2f20f8;return _0x13e835[_0x47ceb8(0x262,'[H%Q')]()[_0x47ceb8(0x2da,'gtN%')](_0x1cc14d[_0x47ceb8(0x342,']sP)')])[_0x47ceb8(0x305,'OwMG')]()[_0x47ceb8(0x337,'X]ob')](_0x13e835)[_0x47ceb8(0x253,']XrY')](_0x1cc14d[_0x47ceb8(0x1c9,'SmEa')]);});_0x1cc14d[_0x2f20f8(0x29a,'zkUP')](_0x13e835);if(_0x1cc14d[_0x2f20f8(0x22a,'UM]T')](typeof _0xb5c00f,_0x1cc14d[_0x2f20f8(0x27e,'qXxl')])){if(_0x1cc14d[_0x2f20f8(0x1b0,'lJBB')](_0x1cc14d[_0x2f20f8(0x215,'Cmx)')],_0x1cc14d[_0x2f20f8(0x2cd,'pL$W')]))try{if(_0x1cc14d[_0x2f20f8(0x1fd,'vWr8')](_0x1cc14d[_0x2f20f8(0x2ca,']sP)')],_0x1cc14d[_0x2f20f8(0x2b2,'[H%Q')]))_0x8d9e14?(_0x4a50b9[_0x2f20f8(0x2db,'&On7')](''+_0x38c38c[_0x2f20f8(0x1d2,'QadM')](_0x45b9a5)),_0x3e785f[_0x2f20f8(0x1ec,'G!9Z')](_0x2f20f8(0x23d,'8LrA'))):_0x3dd6d9=_0x18c543[_0x2f20f8(0x245,'26$(')](_0x5dbe13);else return JSON[_0x2f20f8(0x1df,'r7r]')](_0xb5c00f);}catch(_0x271563){return console[_0x2f20f8(0x211,'Qd4m')](_0x271563),$[_0x2f20f8(0x28d,'cOzr')]($[_0x2f20f8(0x2ba,'PzDr')],'',_0x1cc14d[_0x2f20f8(0x30e,'A&yD')]),[];}else{if(_0x56558c){_0x59489d=_0x45cdfc[_0x2f20f8(0x1b1,'u@jq')](_0x3575e1);if(_0x1cc14d[_0x2f20f8(0x27d,'ASZB')](_0x5f4346[_0x2f20f8(0x252,'&$es')],'1')){}else _0x1cc14d[_0x2f20f8(0x288,'Tlw#')](_0x4693a1[_0x2f20f8(0x21d,'w8]#')],'0')&&(_0x5c5394[_0x2f20f8(0x274,'&$es')]=![]);}}}}var version_ = 'jsjiami.com.v7';
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) }