faker3/jd_redRain2021.js
2024-07-08 23:09:38 +08:00

20 lines
37 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
活动名称:京豆红包雨
环境变量jd_redRain2021_threads // 控制并发线程数正整数默认1最大3尽量使用默认值否则请开启代理运行
jd_redRain2021_interval // 自定义运行间隔时长整数单位毫秒默认2000
jd_redRain2021_notify // 是否推送通知true/false默认不推送
jd_redRain2021_pinFilter // 账号pin过滤多个用@进行分割
高并发脚本,谨慎使用并发
活动限制IP严重建议使用代理
定时请自行修改
cron:1 1 1 1 *
*/
const $ = new Env('京豆红包雨')
const _0x423c19=_0x4c7b;(function(_0x2d0411,_0x5730d7){const _0x186b75=_0x4c7b,_0x43e1c7=_0x2d0411();while(!![]){try{const _0xd60ba9=parseInt(_0x186b75(0xd7,'6wlE'))/0x1+parseInt(_0x186b75(0x18c,'oBr2'))/0x2*(-parseInt(_0x186b75(0x136,'oBr2'))/0x3)+-parseInt(_0x186b75(0x92,'E%xk'))/0x4*(parseInt(_0x186b75(0xae,'BegT'))/0x5)+parseInt(_0x186b75(0xdb,'6wlE'))/0x6+parseInt(_0x186b75(0xaa,'^EQ9'))/0x7+-parseInt(_0x186b75(0x68,'OQAm'))/0x8*(parseInt(_0x186b75(0x11e,'Y4i4'))/0x9)+parseInt(_0x186b75(0xb6,'t![P'))/0xa*(parseInt(_0x186b75(0x15e,'L2nr'))/0xb);if(_0xd60ba9===_0x5730d7)break;else _0x43e1c7['push'](_0x43e1c7['shift']());}catch(_0x6a0183){_0x43e1c7['push'](_0x43e1c7['shift']());}}}(_0x29f8,0x94ce3));const jdCookie=require(_0x423c19(0x128,'FnK&')),common=require(_0x423c19(0x8b,'lG]n')),notify=require(_0x423c19(0xf8,'6wlE'));let taskThreads=process[_0x423c19(0xf7,'#E%f')]['jd_redRain2021_threads']||'1';const runInterval=process[_0x423c19(0xf6,'O$J#')][_0x423c19(0xe7,'OUln')]||_0x423c19(0x91,'NofG'),isNotify=(process[_0x423c19(0x116,'t![P')]['jd_redRain2021_notify']||process['env'][_0x423c19(0xe8,'upGb')])===_0x423c19(0xcd,'@kp!'),pinFilter=(process['env']['jd_redRain2021_pinFilter']||'')[_0x423c19(0x113,'^#su')]('@');function _0x4c7b(_0x5aff3,_0x159112){const _0x29f81e=_0x29f8();return _0x4c7b=function(_0x4c7b22,_0x307887){_0x4c7b22=_0x4c7b22-0x66;let _0x2bce2a=_0x29f81e[_0x4c7b22];if(_0x4c7b['sgLyUr']===undefined){var _0x4e320e=function(_0x5dab0f){const _0x3eccbd='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2a0e2a='',_0x554ee9='';for(let _0x5d076d=0x0,_0x4459ac,_0x4057f5,_0x356eb9=0x0;_0x4057f5=_0x5dab0f['charAt'](_0x356eb9++);~_0x4057f5&&(_0x4459ac=_0x5d076d%0x4?_0x4459ac*0x40+_0x4057f5:_0x4057f5,_0x5d076d++%0x4)?_0x2a0e2a+=String['fromCharCode'](0xff&_0x4459ac>>(-0x2*_0x5d076d&0x6)):0x0){_0x4057f5=_0x3eccbd['indexOf'](_0x4057f5);}for(let _0xdff26c=0x0,_0x3cbca4=_0x2a0e2a['length'];_0xdff26c<_0x3cbca4;_0xdff26c++){_0x554ee9+='%'+('00'+_0x2a0e2a['charCodeAt'](_0xdff26c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x554ee9);};const _0x5962fe=function(_0x13e9de,_0xf4d31f){let _0x300b29=[],_0x9843f6=0x0,_0x146967,_0x50198d='';_0x13e9de=_0x4e320e(_0x13e9de);let _0xc2bd78;for(_0xc2bd78=0x0;_0xc2bd78<0x100;_0xc2bd78++){_0x300b29[_0xc2bd78]=_0xc2bd78;}for(_0xc2bd78=0x0;_0xc2bd78<0x100;_0xc2bd78++){_0x9843f6=(_0x9843f6+_0x300b29[_0xc2bd78]+_0xf4d31f['charCodeAt'](_0xc2bd78%_0xf4d31f['length']))%0x100,_0x146967=_0x300b29[_0xc2bd78],_0x300b29[_0xc2bd78]=_0x300b29[_0x9843f6],_0x300b29[_0x9843f6]=_0x146967;}_0xc2bd78=0x0,_0x9843f6=0x0;for(let _0xf8d711=0x0;_0xf8d711<_0x13e9de['length'];_0xf8d711++){_0xc2bd78=(_0xc2bd78+0x1)%0x100,_0x9843f6=(_0x9843f6+_0x300b29[_0xc2bd78])%0x100,_0x146967=_0x300b29[_0xc2bd78],_0x300b29[_0xc2bd78]=_0x300b29[_0x9843f6],_0x300b29[_0x9843f6]=_0x146967,_0x50198d+=String['fromCharCode'](_0x13e9de['charCodeAt'](_0xf8d711)^_0x300b29[(_0x300b29[_0xc2bd78]+_0x300b29[_0x9843f6])%0x100]);}return _0x50198d;};_0x4c7b['VWdKBm']=_0x5962fe,_0x5aff3=arguments,_0x4c7b['sgLyUr']=!![];}const _0x37830c=_0x29f81e[0x0],_0xe101d7=_0x4c7b22+_0x37830c,_0x5961f9=_0x5aff3[_0xe101d7];return!_0x5961f9?(_0x4c7b['zeFqTR']===undefined&&(_0x4c7b['zeFqTR']=!![]),_0x2bce2a=_0x4c7b['VWdKBm'](_0x2bce2a,_0x307887),_0x5aff3[_0xe101d7]=_0x2bce2a):_0x2bce2a=_0x5961f9,_0x2bce2a;},_0x4c7b(_0x5aff3,_0x159112);}interaction=[];let hasGetBasicInfo=![],cookiesArr=Object['keys'](jdCookie)[_0x423c19(0x90,'WfMl')](_0x5962fe=>jdCookie[_0x5962fe])[_0x423c19(0x18b,'owVS')](_0x5dab0f=>_0x5dab0f);!cookiesArr[0x0]&&($[_0x423c19(0x134,'^EQ9')]($[_0x423c19(0x184,'qliU')],_0x423c19(0x7a,'hZqS')),process[_0x423c19(0x120,'MZOv')](0x1));const prize_map={0x1:_0x423c19(0x16d,'6KMj'),0x3:'[京豆]',0x5:_0x423c19(0x10e,'^EQ9'),0x7:_0x423c19(0x172,'dqG)'),0x8:_0x423c19(0xa7,'t![P')};!(async()=>{const _0x4c9644=_0x423c19;notify[_0x4c9644(0xdd,'l$uS')]({'title':$[_0x4c9644(0xd1,'hZqS')]}),await Main(),isNotify&&notify[_0x4c9644(0x111,'(s%@')]()&&await notify['push']();})()[_0x423c19(0x16c,'YCHH')](_0x3eccbd=>$[_0x423c19(0xc4,'O$J#')](_0x3eccbd))['finally'](()=>$[_0x423c19(0x179,'lrn!')]());async function Main(){const _0x54f93d=_0x423c19;try{try{const _0x5d076d=parseInt(taskThreads);_0x5d076d>0x0&&_0x5d076d!==0x1&&(taskThreads=_0x5d076d);}catch{taskThreads=0x1;}taskThreads=Math[_0x54f93d(0x176,'DkRF')](taskThreads,0x3),$[_0x54f93d(0x188,'OQAm')]=null;if(runInterval)try{const _0x4459ac=parseInt(runInterval);_0x4459ac>=0x0&&($['waitTime']=_0x4459ac);}catch{console['log'](_0x54f93d(0xa9,'lrn!'));}console['log'](_0x54f93d(0x103,'t![P')+$[_0x54f93d(0x138,'zWQM')]+_0x54f93d(0x6b,'WfMl')),console[_0x54f93d(0xad,'lG]n')](_0x54f93d(0x6a,'^EQ9')+$[_0x54f93d(0x9c,'l$uS')]/0x3e8+_0x54f93d(0x97,'@kp!')),console[_0x54f93d(0x164,'@kp!')](_0x54f93d(0x127,'KFbq')+(isNotify?'开启':'关闭')+']'),console[_0x54f93d(0x115,'t![P')](_0x54f93d(0x16a,'zFsS')+pinFilter['join'](',\x20')+']'),console['log'](_0x54f93d(0xec,'&a7@')+$[_0x54f93d(0x147,'WfMl')]+'变量状态结束=========='),console['log']('');const _0x2a0e2a=_0x54f93d(0x124,'zej(')+common['genRandomString'](0xd,_0x54f93d(0x167,'E%xk'));$['UA']=common[_0x54f93d(0x175,'(s%@')](_0x2a0e2a),$['JEC']=common['getJEC'](_0x2a0e2a),$['JEH']=common[_0x54f93d(0x19b,'@l!h')](),$[_0x54f93d(0x118,'oBr2')]='';let _0x554ee9=![];await sendRequest('xview2Config');if($[_0x54f93d(0x189,'6KMj')])for(let _0x4057f5 of $['xview2Config'][_0x54f93d(0xef,'l$uS')]||[]){for(let _0x356eb9 of _0x4057f5['layers']||[]){if([_0x54f93d(0x11f,'o63V'),'京豆雨'][_0x54f93d(0xd9,'%8ei')](_0xdff26c=>_0x356eb9[_0x54f93d(0x107,'DkRF')]['includes'](_0xdff26c))){let _0x3cbca4=_0x356eb9[_0x54f93d(0x14b,'@l!h')][_0x54f93d(0x15b,'zWQM')],_0x13e9de=_0x356eb9[_0x54f93d(0x12c,'BegT')][0x0][_0x54f93d(0xf9,'^#su')],_0xf4d31f;for(let _0x300b29 of[_0x3cbca4,_0x13e9de]){if(_0x300b29['includes'](_0x54f93d(0x11d,'oirK'))){_0xf4d31f=_0x300b29;break;}}if(!_0xf4d31f&&_0x3cbca4[_0x54f93d(0x18f,'%8ei')](_0x54f93d(0xa2,'#E%f')))try{ss=await jsonurl(_0x3cbca4);for(let _0x9843f6 of ss[_0x54f93d(0x102,'upGb')][_0x54f93d(0x145,'owVS')]){if(_0x9843f6[_0x54f93d(0x101,'CQDA')][_0x54f93d(0x161,'MZOv')]['includes'](_0x54f93d(0x7b,'qliU'))){_0xf4d31f=_0x9843f6[_0x54f93d(0xf4,'#E%f')]['url'];break;}}}catch(_0x146967){}if(_0xf4d31f){if(_0x356eb9['rule'][_0x54f93d(0x121,'BegT')]){_0x554ee9=!![];let _0x50198d=_0x356eb9[_0x54f93d(0xde,'J0*q')][_0x54f93d(0x129,'9isf')],_0xc2bd78=_0x356eb9[_0x54f93d(0x162,'^#su')][_0x54f93d(0x19a,'DkRF')];const _0xf8d711=$[_0x54f93d(0x12f,'BegT')](_0x54f93d(0x192,'%8ei'),_0x50198d),_0x97bfe5=$[_0x54f93d(0x19c,'@kp!')]('yyyy-MM-dd\x20HH:mm',_0xc2bd78);let _0x1d2d00=new Date()[_0x54f93d(0x17b,'CQDA')]();if(_0x1d2d00>_0xc2bd78)console[_0x54f93d(0x164,'@kp!')](_0x54f93d(0x15f,'U7tW'));else _0x1d2d00>_0x50198d?(console['log'](_0x54f93d(0x8e,'oirK')),await redRainurl(_0xf4d31f)):console[_0x54f93d(0x16b,'owVS')](_0x54f93d(0x8d,'owVS')+_0xf8d711+'至'+_0x97bfe5+'有京豆红包雨');}}}}}!_0x554ee9&&(interaction=await jsonurl(_0x54f93d(0x74,'^#su')));if(interaction['length']>0x0)console[_0x54f93d(0x117,'lrn!')]('🏬\x20共计\x20'+interaction[_0x54f93d(0xd2,'6KMj')]+'\x20个京豆红包雨活动\x0a');else return;for(let _0x5e0129=0x0;_0x5e0129<interaction[_0x54f93d(0xb2,'zFsS')];_0x5e0129++){$[_0x54f93d(0xd8,'&a7@')]=[],$['encryptProjectId']=interaction[_0x5e0129][_0x54f93d(0x141,'oBr2')],$[_0x54f93d(0xbb,'L2nr')]=interaction[_0x5e0129]['encryptAssignmentId'],await common['concTask'](taskThreads,cookiesArr,taskFnc),$['runEnd']=![];_0x5e0129!==interaction[_0x54f93d(0x14c,'9isf')]-0x1&&console[_0x54f93d(0x115,'t![P')]('');$[_0x54f93d(0xea,'^Dww')]['length']>0x0&&(cookiesArr=cookiesArr['filter']((_0x3c11fd,_0x36bf3f)=>!$[_0x54f93d(0xc7,'J0*q')]['includes'](_0x36bf3f+0x1)),$[_0x54f93d(0x76,'KFbq')]=[]);const _0x4c86a4=notify['getMessage']();_0x4c86a4&&console[_0x54f93d(0x115,'t![P')](_0x54f93d(0xdc,'WfMl')+_0x4c86a4['replace'](//g,_0x54f93d(0x14d,'CQDA')));}}catch(_0x39ddbd){console['log'](_0x54f93d(0x18d,'6wlE')+_0x39ddbd);}}function _0x29f8(){const _0x30ecfc=['8yAtGgq','8lcrVmkP5y2D542l5lIX6lgK57IX5y6s6zIc77Yd5y6E5BoL5B2t5AA/6l+I6kc6zq','FcJcSCofWQKBmq','WRNdMYS','F23dJSo6','wfFdHSomW5FdIgy','6Ak555Iz5PYB5lQZ57IZ','ydVcVSkAW7/dJG','W7i8iCoDe8ohWQNcQSkYymoz','WQJcG0xdICo/DKpcOGHzWRFdJSkVzhBdRCoAW53cN8kxdmkzW6WyC8kptmktySo9A3bsW4u','56EyW5ROV7tOOQtPLjVPMOFML4NPLjO','5AsQ6lwS77Ym','W5BdPmkKpxRcKH8wWRxdG8klW5NcLmkDd0xcKh5Gsv3dPay','4P2gtoACHoIbV+ASLoEGKowMU+EsL0e','BcH/wa','WQFdGSoEWOPPtSoBW7q','W5VcQ8kKhJSyCvhdQXXlx0WOW4JcS8ooWOezW6i','WOXwjG','WR/dLSodWRHrrSor','gmkIma','urrHua','yb9bW6W','vqbRr8oHlaS','uWTWW79nWRBdNSk6wZBcJ0y','W5ffwmoUW50B','W4dMLQlMJ5hMNjlOJOJLJBZMIOhLIQRVV7RORypMO57MNjpNV7NNUzhMMBFLKRBMR7BLUitVVzRcIdSVWPhcL3tMMPVLK6pMN6/MLka','W63KVlJMG4ZLIPZdHq','gEISHUAWRowrU+w5O3C','4PMwg+IfQUwVOos4GoI+JUIIT+MwKEMBG+AwUEMuLUIUUoE8VUMuM+IUVW','guWRWQWjWRdcPCknuJtcJ1FcOG','W7GVp8ozfSkrWPNcJmkYymoFpa','EYNcSCoZWRzaEwddO8otzmkBWO3cGSkVsmkdW6hcKCkIbmoEWOqnkNW1B8oIW6qSimkJWPlcNeqYWOe9W6auW6uXASkZzN5xfwdcVaxdOHpcSclcNYlcQwRcKCo7DmkqWR7dJ3SZBbeayCoNoLjvWPtdTSoqW4SqW7zDW6i2ptFdOSkBuSodWQz2W5hcVSoBW4CcnmoSbSkOdCoQgSkxW7nqWRFcUGxcKWddM1HmWOLVhYJdP0fhv8krWRnXWP/cIeaKoMhcTSoNg2O3jmkoimk/tSoed8kdWR0VpehcTmoeqSkiDZJdPSk/aCowWQhdVhOWW4fhWPu0W6HGftrAsehcPWGeymo8xeSVW6elBWdcRSoWrmkiW5hdVfZdSgOHW5xdQ8kxmmoTrSkLWQ4CabvlWRqVWRNcKJ7dLNivxCo3WPlcRd/cNmoba8oqWOxcSCounmkaDwdcOmoky03dSmoDmNBcVWzvW7pcGhfEW5uuWOLMWPG0W7ZdU3u5yKNcUmkkxWvFW6i6qmkKmCo5r1H+WQNdG8klAqFcS8k/W7pcRmkKyv86WPrGuxNcKCkBCCkNgmoxW64PW73dHSo+WP9wiahcNvxcVe7dL8kGWPBdTCkVWOxdQaDJiqlcS8koWRBdP8kvygJdISoIj8oDdCkvywWmWRJdLCokWPOGlLlcKfJdUJfjWPTMWRhcU8obc280e8k7W5CtlrzgFrvXn8ohsc7cR8ozWRZdIGOLWO9OWR3dNI4ajsG9bbBdVGfBkmoKW5tdMINdL0BdQXtcVSo0D3CKvapdMmk5htzimcJdTmo+zrrBtSknC34WW6HxWPRcSmkcW5n+AqhcLxldSmovgCkeW6NdN8obcgXJwmkKW5HjWQlcS03cLCksW5ZdHJBcK3O5lLZdOwlcU8o3DthdPdZdNfq7WOOIy8omWO8iW73cQ8olW5NdLbpcSxvYk3awB8o7FhJdTmkoWR3cUbpdLSoWWQ7dKJ3dNMLRWQ1RtCk+WOhcU8oiWP0KBMRcV8oYWR0fEcGyyCkuW687WObKuNTEWQL+ndWSdmkyWPdcImkxmK4wjxu7jxait05KW5dcH2pcKmk4WPHPWP/dQt3dOKldLWC+WPRdS1ulDmk+WR3cGSoIW4DXWPTDbSkwWQNcP8kEW7TfWOBcULZdMSkEWOrZkqtcJSkIfgFcOmomvmoQo35FbWhdIZGDuSk7ChxdG8oXm3fWW6ldUhOTvx7cPN9sw8oEW6VcSdyFcCk+WRJdVgZcUt7dOLvrDtK4W4xdNSk7bmkxa2ZcTKK5WPtcKCk/WOj+qHZcHSk4zxBdVwapW4hcKmorW7KngvhdPxfFvCkbqmkRW7fEW60xdYf8WRNcR8oGW6aeufKMCHnbq0lcNSkaeMOUWPPLdmkMo0r0W7ldHSoxW7THbSk8tWOtW5tcUfr6W5pdPSkEW65xWRldTmo8vLPSW7S/WQ/cP2VdG3z2W50mWRTEBCoYFCo4cdlcImkGWQy0WOSZcSkzcSocCwqqW641W6ivlNZdGxHnhfZdQCotW7b5o8oQywNdTGSLW7BcTW','FZlcOG','W5CVrmkvl8ovW6NcKbfiW5bJqG','W5pcOSofaSojWRr4W6tdP0JdSmk3','WO1ymq','FI7cOG','W4m6ysP+aG','WPndlComWR0wDmkV','WOjlpa','W4/dGSocW6irb8kNuSoaWPhcJCoXW5zDCuzBW4ddHCkdWOHUEmoslZrivxmuW4pcQCo7','WOqrg8kqWQ9RW5bXWPxdOr/cIrC','gmkMmZP/qaW','W4ZdNCogW7OxcCksq8orWOO','Fsv5q2zQWOVcRLS','W5ldU8oSW6JcQCo4t8o8W6hcJ0ZcGSkmob1xpWhdQKSf','WRbhW7PtW77dQmkEWPTuywe2WReNkfldGZ9/','dCkvWRddNW','8ywBTI0','WRNcP8oCw1RdMCoI','ktZcISkR','EmoIumkDWP19CHBdUW','WOfmimoSWOasFa','h8o0WQreCCo9W6FcTmkVWOmAW5ZcPwXCW6LLW4bH','jZlcL8kK','WPJcQ0VdGJ7cIW','qXTRvSo9lWZcVmooW4VdId5TW5RdSmk9','WOiYzmoG','WONdSmkyu8kRW6LaW4pdGx3dNCk0jr7dP1ddIGLcWPBcSG','W4FcV8kbW6VdGhS','qHr8rq','W4NcT8k6eG','s8keamoZWPKZ','sYNdOmkfFq','FSo1uCkn','W4JdM8oEW7ODfG','W6W2mq','eCkIncG','Bmk7v8ks','W5BcVCk5ecGE','ASo/WPb6W7OEWR3dRmkExmoCcW','vYFdTq','WOTZfmoaFmkEWQ8','AsXHtwzcWRBcPf8O','qfxcLdddT8kBWRX/WRCvn2O','FcVcTCk7W4pdJYZcSCklW57cGIWBW5dcTq/dUa3dVx8/','WP0xWP/dGq','bmo3ba','rLtcMJ3dVSkBW5LsWRqOoMH1','W57WSBk4bUI8U+IIIUE5LUAEOmkt','WRpdJmozWPHuqa','WPxdOmkruG','W5FdVCkUpgdcGWGzWQi','WPP7nmkiWPtdGSoGW4iHjtSwEGBdUmosWRRcQmk0WOPZWR3dRSoHW73cN0BdQSoLemkUASo1dG','WQtcMhJdL8o4kr7dRaPDWRFcLSkNc2/dUSkDW5NcNSkxrSkuW7q','ECoIsSkmWQ12waZdSSovB37dTW','WOpdTmodqSogjILqW7FdTKCPgsVcLmk2WQ8','WR3dLdHkWP7cOSoGtW','WPtdUSo1qSkdAa','WPFdOmkoxW','cmo6i8kzsSk0fYdcLGldPSoMx8otruRdHmkBu8kDW6mfgW','WOPDhSkGa8ooWR/cSavCWPGmpNiOWOzbW6WioG8','W6tcPH7cI3pdHW','WORdQ8opvSk4yYbAW6FdV2uYe2ZdNCkXWPqrW4xcK2O','W53cTmkCW6RdT2hcP8kgW7hdSCkt','l3pdRCoIWQZcL3ZdO8oaWOy','jt/cPW','lc7cJCkJW7NdUJJcUvStWPxcQmonvK3dPrzrWOxcGW','WQtdGSofWPLyu8of','WPFdLtvsWO7cQmoXeConf8o3W4e','WOf3f8obDCkeW6K','yYJcTSoR','rCoerSkk','BG1AW6mNh8olW7K','WR7cGw8','WPhcQLO','BWjy','wK3dMxhcRSopWPOyWRuGo2n7W7tdOZ7cRCkrqYdcQmkPWOCYW6uOsa','d8oOWQS','jdhcSa','W6q4iSoD','lfGAhZZcLLS','W7tdQSkbcL8TWOBcRSoXimkuB8k6F8k0pbJdRCoXWO4ipJjVk8o4W4pcHvq2W5fKWRdcJa','nCoTy8k7c8kkkf8','WOXhjCoCWOWnAG','8yIRVmo0','W5ZdIw/cIdm/W5jh','WPrjlq','WOSDeCkzWQvLW50gW5ZcSq','y8kQu8ozfCowc1L0kxGq','5AwW6lsy772L5Rwx5yU15Bsd57UT5PYC5OIs5lM/5AY85zYx','4P64W6tMNiBNNAlORRVMSRTS','WRe2WRLD','W4ddVSkdfMdcKW','cmkFWRVcUCkaW4u','FZ3cTW','vsFdPq','tCocCa','6AgI55QN5PY85BYS5AEF','CowVO+EjSmoh','WP5GjW','W5u3iG5erSkzyHKvW5zwW68rWRvyeL3dNJtdRYTMWRFdNCoXWOGNWOtcQaHLzehcRbndomkTymktWQ7dRmkokMfJ','tSo1WOPdW7OdWRRcOmkTqa','jdpcNCkMW6VdSddcRW','cCoQWQTFFa','WQJcG0xdICo/DKpcOGHzWRFdJSkVzhBdRCoAW53cN8kx','W5PpsW','W5nowG','WPPuW6C','dCk1ksXPfsRcUCobwCkMW64','WOuDWPFdLb1UWPm+W4RcGa','WPSPF8oNpMqjW4Hv','WO48zmoIaMyxW49EheS','WRJdLtW','W53dVCo9W6xcJCo4','W7hdHWdcImk/F1tcVdPNWQRcMCktiq','57Mk5y2y6zUL','W4pdLCoiDq','WOfZeSonD8k4WRxcRZK','cmkpWQtcICklW5jA','WQFcT8oms17dJCo0','W7ldO8kQ','WQZcMfy','WPhcQK/dTtxcItJdLCoBWRtcPmk3kMrRW55xASkR','6ycH556T5OY66yo3iSozzq','zNhcVCk7CCkyW6SbkmkK','c8krWQpdL8kmyfbKWRi','WO5ZbSoxEmklWRK','qUA1PEwjV+MAJ+wiHmonWQtMNARLPzVMIBZLPz7dKCoe','WPnKemoGDSkBWRlcJJnCW6fiu0BcRG','gmkfWQhcImkbW4X6oCoUW6e','WQ0YWQvnm0nW','WPD/gmob','FIhcTW','pIFdPa','AsXHtwzcWQZcVeiO','W43cVSkCW63dK3S','rG5+','W7xdJSk5','rmo7daX7vbpcKq','amkcW7JcTmkpW49DCCovW5TyW6ZdH3Lyo8kQwmoNW5VcGwrvWO0jWOBdVhtcICk7dmoffmkvEftdJ0aGqHrOE8oMWO8','v8kqa8ot','mYFdUa','aowMTUI0GE+/PownSowBS++8Pq','sJ3dT8keyCkWumoVwYuaWQdcLu1rmu8jWP1W','WPD9mSkxWPu','W58QFcu','e8o0WRntESoSW7dcGCk1WP8D','CSkVsCkF','rCo1WPbPW6Sy','emkTiZTNvX3cHSoDumkLW6ZdSCocfSkr','WP8nWPFdLKLgWPeJW5NcLYiTaWDAusdcRrBdOG','WQVcSCoAuf3dK8kJbCoeWOuUW4/cMSk5','W7RdQmkurqTBWOxcS8o0nmoA','WOfoiCovWOWrBCkgkZyy','BSoOBCkgWPT2tqtdV8o1B2xdT8oJW53cT8kzW5/dS8oQnmoSwq','WRRdMZzd','W6VdSSkxDabVWOe','WRlcQmoF','4P23AoAEUoIaI+ATU+EIL+wKUUEsNr4','m1GhcdJcG3OICbm','bCkrWQRdMCkwxa','WPJINlq7','vCkEcq','m0GhktpcLq','m1GnhJZcMfbUnKjwdG','WOldU8kErCkaW7XzW63dHgVdT8k8jbJdQ1VdTY5c','WQNcQCofgv8','5l+45Ooz5yM5','ahFdUCoxW5pdSMtdGr0','cEITP+AYVowKV+I2ULdINzxdOq','yZ9/swmuWQhcSKeRl8o8','vY3dTmkcs8knuCo4vq','cmo/WRzdBCo+W6C','W6y4p8oqm8ogWQ3cGSkUySof','BCoIumkKWOb0vGVdJ8o1z2FdP8or','tmkdaG','oUwiP+s+Iq','W4OYFZLZ','W6iEW4bTW7tdQSkJWRG','8jsMSq/KUyJOSQ/NUl7LJOtPM5FLTzFNUkhNUzFMNRG','WO7cR8k+WRJdJmkUeSozW6pcH0dcVSkw','W5pdN8on','cmoVWQTt','WOtcPv7dTcK','zSoOqW','qCkhb8otWObLD2X8W7BcHSkY','WP3dJmonWPDrs8oxWR7cGfJdH0FdUSk2WO3dKSokhIZdLmkyFLRcNHZdPgenW4TIfhvglmoEWRXGWOtcVIhdPCosCmoSW6unW4pdICkQuCkaW7ZcOh7cR8k/mXpcP39KWOHEWRFdHGK0mmoEvrZdHGqnW5LMWPBcOviuWRxdU8kBW7dcJSkKqJlcJ8ohmr3dKCkgCfVcHHT/WRpcTGJdJs0GzIpcUSkOcwnTW6JdN2LOnZr6WPnFDSk6zSoMW6WSg8k+aqJdSSktWQ3dKGlcUWOxW43dRMhcUgBdG8kbW6JdImoZW5/dQSoSWONcLu3cHa','xcpcRCkqWRtcSZ3cLu7dPHRcUdWXfSosW6vlmCk5W44JnxVcVCoCWPNcONZcILjoWOCYW4Ti','hqZdMgdcTCocWOPdWO4QnW','m+IUQUAYH+wMSUI3OfRIN4PV5PwI5zgU5BQz5PEf5O6o','6lAj5y6O6l+i5RQPmeRcUa','WOHniW','WQNcS8olw1C','W6hNPlFLI5eQ','WOFcSf7dRIlcNIxdSSor','WO84ECohpM8jW4bjo1DKfCk7WRZdQa','sHPV','CID1qgfcWOFcRG','W7xKVQRMGzlLIRyL','W5xdSmo9W6NcICo8qCoNW77cHwe','WOXCl8k1eSoc','tSo1WPbBW54','WRi+WRO','W5BcT8kW','W5jbwmof','WPjuW64F','kZhcS8k6','W5/dJw/cVqOZW4m','lYtcVSkVhSoxW6apj8kTACkFWOhcGwvfWPu','4P21W5hMNytNNzpORidMSjuu','WO7ORyxMS7dLPR/OTz1e4P2AbUAvIEwqS+w5T+AwRUApKG','WOZdUSoEqSkzpgiAW6hdQeLZesNdNSkWW7mCW47cMW','W6qzWQGqWRtcQ8osW6T0xhWOWO4H','57IH5P2q5PA26zsmW53dMa','WOLdmmoBWOe','W43dQ8oSW77cGSoutmoNW7lcMg7cJSkxoGjxpWhdQee','fmklWRJcMq','W4OXBd9ZgSkxwLalWOedWQjCW5bz','57IA5y6T6zUZW5nd','W4dcGxxdQbVcTYe','W6hcSHNcUKNdIGhdGG','W4lcRSk+eITex1VdQW52uq','WQFdJILpWOxcOCoSwSoG','WOjlkmomWOWn','rmoYCNeOsqVcS8ooxSk+','4PY4qUIgTUACQEI8L+IJR+McRUwiH+s5OEMvNoIUTGW','W50QyqHKdG','WOCwWPhdIevRWPOK','W5xdMCotAmodW77cPgO5','WRVdHSosWO4qrSoAW7JdGXm','WPCbWOVdNr1cWRj6W5JcGwmgp1rbwq','cmkpWQlcNCkCW4vDfCo4W7mm','chpdQ8oc','WPbsW7G','q8ooqCkdWP3dTa','W5XoW4tcNaK3W48YW6/cIcaGfq','f01eyCoHlalcQW','WRm4WRm','WRO5WRbSp11H','jLGDjHJcUq','FSoUsCkn','pcJcN8kKW6RdVshcPq','WQtLP6dOT5FVVOlLJk3LM6/VV5K','W4NcRCk0fdKfB2BdOb9+reu+','W54QAJ9Zi8knFKCwWOOfWRvbW69ynqJdIwy','WQ7cUIJcLMRdSaS','8ksAUCk/','6ycX55wv5y+B5PEQamkK5OY16i6f5BY15zg/5lIf55cNW7yZWPq','5yYm6yw15B2B5zcj54MD5OohWRGbWQrtWRRcMCk6Er3cSa','W5NdMgVcHqO9W4DBrmoCq8o5vvWQhNrOpHpdMCkZW6ZdImoUBSk7W6S6bLuFW7C','f8oPWQa','W57dHhtcHHe','oCoQbCkBsSoT','WPTEW7mjkdNcNG','ytJcSSoIWRCEaJBdSSog','W5ZcTmkfW6/dGgVcSa','qSooxmkxWOJdU8oK','eSoUWRngmSkIWRZcLSkZWPqwWPxdUtqoWR4OWRaRC2VcSKLdmZOoz25iW6JcNtz/tCkAW7hdTSksW7ldMNq','WRJcP8orFvhdJG','vs3dT8kssSkCu8o0sdiIWQZcJK9omu8jWP96zW','sd3dSCkvFCkktCojwYaaWRhcHvC','8jwRLJK','zX9j','44cs5OYk56sa44oM6k6p5yAW6i+w5y+Rgsv4fSkCuq','g8kjWQhcLCkyW4q','DZZcSCoI','W7/dOSkbFsPd','W6VdOSkBuY1UWOpcQmo7dCoaECo9','WRjOzmkkuSkxW6lcU8k7ySoFlwW','CCkUw8kddCkl','c8kBWQxdJmkgzfH7WRBcQe8','6AcP5y6j5As+6lwOmeO','grhdIW','WQpdHSozWPP4sCosW4xdNbVcKG','BshcGSoQ','W7VcSGtcRxu','fSkfWRi','DCk7u8kd','WP5XpMm6','taVdTf3cSmoWWO4','pxlcSmo3WQWwjwddKmogB8oqWOZdN8kArSojW4hcKCkIrSosWOy','vWbPsSoWnGZcLq'];_0x29f8=function(){return _0x30ecfc;};return _0x29f8();}async function taskFnc(_0x45bb03,_0x28d4a0){const _0x5962f2=_0x423c19;if($['runEnd'])return{'runEnd':!![]};const _0x29698d=decodeURIComponent(common['getCookieValue'](_0x45bb03,_0x5962f2(0xe5,'^Dww'))),_0x3c15eb='【账号'+_0x28d4a0+'】'+_0x29698d+'',_0x503693=notify['create'](_0x28d4a0,_0x29698d);if(pinFilter[_0x5962f2(0x140,'(s%@')]>0x0&&(pinFilter[_0x5962f2(0xe4,'WfMl')](_0x29698d)||pinFilter['includes'](encodeURIComponent(_0x29698d)))){_0x503693[_0x5962f2(0xb4,'owVS')]('已设置跳过运行当前账号'),console[_0x5962f2(0x11c,'WfMl')](_0x503693[_0x5962f2(0x16f,'o63V')]()),$['needRemoveCookieIndex'][_0x5962f2(0xe6,'J0*q')](_0x28d4a0);return;}const _0x4dba24=await common[_0x5962f2(0x15a,'@kp!')](_0x45bb03);if(!_0x4dba24&&typeof _0x4dba24==='boolean'){console[_0x5962f2(0x199,'DkRF')](_0x3c15eb+'账号无效'),_0x503693[_0x5962f2(0xda,'OUln')]('账号无效'),$[_0x5962f2(0xba,'oirK')][_0x5962f2(0x13d,'zFsS')](_0x28d4a0);return;}let _0x5388ae;const _0x51f735=common['genUA'](_0x29698d),_0x53f86f=common[_0x5962f2(0xa5,'t![P')](_0x29698d),_0x4c1ae6=common[_0x5962f2(0x7d,'zej(')]();if($[_0x5962f2(0xcb,'zWQM')])return{'runEnd':!![]};if(!hasGetBasicInfo){hasGetBasicInfo=!![],await _0x435631(_0x5962f2(0x142,'%8ei')),await $[_0x5962f2(0xa1,'8hfw')](parseInt($['waitTime']*0x1+0x1f4,0xa));if(_0x5388ae){let _0x3f79ea=_0x5388ae?.['assignmentList']?.[_0x5962f2(0xce,'dqG)')](_0x2a7a67=>_0x2a7a67['assignmentType']==0x0);prizeInfo=_0x3f79ea[0x0];if(prizeInfo){let _0x2341c3=[],_0x2f778e=null;for(let _0x2539f2 of prizeInfo[_0x5962f2(0x72,'7^[z')]){if(_0x2539f2[_0x5962f2(0x7e,'zej(')]&&_0x2539f2[_0x5962f2(0xeb,'7^[z')]){const _0x16a0f0=Date['now'](),_0x1f3e55=new Date(_0x2539f2[_0x5962f2(0xe2,'@kp!')]),_0x49cddc=new Date(_0x2539f2['sendEndTime']);_0x1f3e55<=_0x16a0f0&&_0x16a0f0<=_0x49cddc&&(_0x2341c3[_0x5962f2(0xf2,'lG]n')](_0x2539f2),!_0x2f778e&&(_0x2f778e={'beginTime':_0x2539f2[_0x5962f2(0x7e,'zej(')],'endTime':_0x2539f2[_0x5962f2(0x84,'l$uS')]}));}}if(_0x2f778e){console['log']('开始时间:\x20'+_0x2f778e[_0x5962f2(0x121,'BegT')]),console[_0x5962f2(0xcf,'A*hQ')](_0x5962f2(0x181,'X%$0')+_0x2f778e[_0x5962f2(0xc1,'owVS')]);let _0x28a39c=_0x2341c3[_0x5962f2(0xb0,'upGb')](_0x53bed9=>{const _0x17c808=_0x5962f2;let _0x43834d=prize_map[_0x53bed9[_0x17c808(0xd6,'NYzO')]]||_0x17c808(0x6f,'OUln')+_0x53bed9[_0x17c808(0x71,'lG]n')]+']',_0x163b74=_0x53bed9[_0x17c808(0x157,'KFbq')]!==undefined?_0x17c808(0x15c,'&a7@')+_0x53bed9[_0x17c808(0x154,'E%xk')]+'份)':'';return''+_0x53bed9[_0x17c808(0x132,'NYzO')]+_0x43834d+'\x20'+_0x163b74;}),_0x15ee27=_0x28a39c[_0x5962f2(0xf3,'U7tW')]('');prizeInfo[_0x5962f2(0x9d,'6KMj')]>0x0&&(_0x15ee27+=_0x5962f2(0x12b,'FnK&')+prizeInfo[_0x5962f2(0xee,'NofG')]+'次'),console[_0x5962f2(0x170,'8hfw')]('活动奖品:'+_0x15ee27+'\x0a');}else console['log']('当前没有正在进行的活动,下次早点来吧~'),$[_0x5962f2(0x75,'YCHH')]=!![];}}}await _0x435631(_0x5962f2(0x146,'@kp!'));if($[_0x5962f2(0x108,'Ik!i')])return{'runEnd':!![]};if($['waitTime'])await $[_0x5962f2(0x88,'hZqS')]($[_0x5962f2(0xb3,'owVS')]);function _0x593753(_0x5ea2e3,_0x28ae4f){const _0x39353e=_0x5962f2;try{switch(_0x5ea2e3){case _0x39353e(0x13b,'KFbq'):if(_0x28ae4f[_0x39353e(0x17a,'FnK&')]==0x0&&_0x28ae4f['subCode']==0x0)_0x5388ae=_0x28ae4f;else{let _0x55c9b2=_0x28ae4f?.[_0x39353e(0x10a,'&a7@')]||'';console[_0x39353e(0xd4,'KFbq')](''+_0x3c15eb+_0x55c9b2),['项目'][_0x39353e(0xca,'6KMj')](_0x5baae5=>_0x55c9b2[_0x39353e(0x112,'NofG')](_0x5baae5))&&($[_0x39353e(0x109,'qliU')]=!![]);}break;case'doInteractiveAssignment':if(_0x28ae4f&&_0x28ae4f[_0x39353e(0x148,'zej(')]==0x0){let _0x95f511=[],_0x50dd82=Object['keys'](_0x28ae4f?.[_0x39353e(0x95,'A*hQ')]?.[_0x39353e(0x77,'KFbq')]||{});for(let _0x48004c of _0x50dd82){let _0x276574=_0x28ae4f['rewardsInfo'][_0x39353e(0x66,'6KMj')][_0x48004c];_0x95f511=_0x95f511[_0x39353e(0x133,'7^[z')](_0x276574[_0x39353e(0xed,'FnK&')](_0x409c1a=>_0x409c1a?.[_0x39353e(0x8c,'8hfw')]?_0x409c1a[_0x39353e(0x19d,'NofG')]+'京豆':_0x39353e(0x153,'upGb')));}if(_0x95f511[_0x39353e(0x174,'upGb')]>0x0)console['log'](_0x3c15eb+_0x39353e(0x186,'CQDA')+_0x95f511[_0x39353e(0xc3,'NofG')]('+')),_0x503693[_0x39353e(0xc8,'7^[z')](''+_0x95f511['join']('+'));else{if(_0x28ae4f?.[_0x39353e(0x193,'qliU')]?.[_0x39353e(0x11b,'o63V')]?.[_0x39353e(0x196,'U7tW')]>0x0){let _0x1760b1=_0x28ae4f?.['rewardsInfo']?.[_0x39353e(0x159,'A*hQ')]?.[_0x39353e(0xa0,'oBr2')](_0xcba94b=>_0xcba94b['msg'])?.[_0x39353e(0xc6,'o63V')](',')||'';console['log'](_0x3c15eb+_0x39353e(0x82,'zFsS')+_0x1760b1),_0x1760b1?.['includes']('当前奖品已达到发放上限')&&($['runEnd']=!![]);}}}else _0x28ae4f[_0x39353e(0xb1,'lG]n')]?(console[_0x39353e(0x16b,'owVS')](_0x3c15eb+_0x39353e(0x98,'NYzO')+_0x28ae4f[_0x39353e(0x6d,'^#su')]),(_0x28ae4f[_0x39353e(0x83,'6wlE')]?.[_0x39353e(0x171,'NYzO')](_0x39353e(0x93,'Y4i4'))||_0x28ae4f[_0x39353e(0x79,'#E%f')]?.['includes'](_0x39353e(0x10d,'NYzO')))&&($[_0x39353e(0x18e,'zFsS')]=!![])):console[_0x39353e(0x10f,'X%$0')]('❓'+_0x5ea2e3+'\x20'+JSON[_0x39353e(0x16e,'O$J#')](_0x28ae4f));break;}}catch(_0x51e4ab){console[_0x39353e(0xfa,'FnK&')](_0x39353e(0x14a,'KFbq')+_0x5ea2e3+'\x20请求响应\x20'+(_0x51e4ab[_0x39353e(0x70,'lrn!')]||_0x51e4ab));}}async function _0x435631(_0x129f33){const _0x543af9=_0x5962f2;if($[_0x543af9(0xe9,'OQAm')])return;let _0x3d55b7='',_0x143606=null,_0x58dbb9=null,_0x1f374d='GET';switch(_0x129f33){case _0x543af9(0x183,'oirK'):_0x1f374d='POST',_0x3d55b7=_0x543af9(0xe0,'X%$0'),_0x58dbb9={'functionId':_0x543af9(0x67,'zFsS')},_0x143606={'sign':'11','appid':_0x543af9(0xf1,'BegT'),'t':Date[_0x543af9(0x10b,'KFbq')](),'body':JSON[_0x543af9(0x190,'MZOv')]({'projectId':0x233e7d,'encryptProjectId':$[_0x543af9(0xc5,'8hfw')],'assignmentId':0x23f044,'encryptAssignmentId':$[_0x543af9(0xc2,'^#su')]})};break;case _0x543af9(0xe1,'Y4i4'):_0x3d55b7=_0x543af9(0x96,'Y4i4'),_0x58dbb9={'functionId':_0x543af9(0x99,'Ik!i'),'appid':_0x543af9(0x150,'@l!h'),'client':'wh5','clientVersion':_0x543af9(0x152,'zej('),'body':JSON[_0x543af9(0x18a,'WfMl')]({'completionFlag':!![],'sourceCode':_0x543af9(0x143,'YCHH'),'encryptProjectId':$[_0x543af9(0x185,'zFsS')],'encryptAssignmentId':$[_0x543af9(0x126,'O$J#')]})};break;default:console['log'](_0x543af9(0x106,'O$J#')+_0x129f33);return;}const _0x4aef7c={'url':_0x3d55b7,'method':_0x1f374d,'headers':{'Accept':_0x543af9(0xb5,'dqG)'),'Accept-Encoding':_0x543af9(0x17c,'FnK&'),'Accept-Language':_0x543af9(0x110,'zFsS'),'Connection':_0x543af9(0x119,'%8ei'),'Content-Type':_0x543af9(0x6c,'CQDA'),'Cookie':_0x45bb03,'J-E-H':_0x4c1ae6,'J-E-C':_0x53f86f,'Origin':_0x543af9(0x17f,'^Dww'),'Referer':'https://pro.m.jd.com','User-Agent':_0x51f735},'params':_0x58dbb9,'data':_0x143606,'timeout':0x7530};_0x1f374d===_0x543af9(0x10c,'@kp!')&&(delete _0x4aef7c['data'],delete _0x4aef7c[_0x543af9(0xd5,'BegT')][_0x543af9(0xf0,'WfMl')]);const _0x32793d=0x1;let _0x5cde99=0x0,_0x2d6733=null,_0x449c4f=![];while(_0x5cde99<_0x32793d){const _0x5ec8a8=await common[_0x543af9(0x12e,'DkRF')](_0x4aef7c);if(!_0x5ec8a8[_0x543af9(0xbe,'YCHH')]){_0x2d6733=_0x543af9(0x100,'DkRF')+_0x129f33+_0x543af9(0x155,'(s%@')+_0x5ec8a8['error'],_0x5cde99++;continue;}if(!_0x5ec8a8[_0x543af9(0xbf,'NofG')]){_0x2d6733=_0x543af9(0x69,'E%xk')+_0x129f33+_0x543af9(0x169,'lG]n'),_0x5cde99++;continue;}_0x593753(_0x129f33,_0x5ec8a8[_0x543af9(0x7c,'lG]n')]),_0x449c4f=![];break;}_0x5cde99>=_0x32793d&&(console[_0x543af9(0x14e,'zWQM')](_0x2d6733),_0x449c4f&&($[_0x543af9(0x8f,'lG]n')]=!![]));}}async function handleResponse(_0x4f0400,_0x43afa5){const _0x54fdfa=_0x423c19;try{switch(_0x4f0400){case _0x54fdfa(0x165,'zWQM'):if(_0x43afa5['code']===0x0&&_0x43afa5[_0x54fdfa(0xbc,'9isf')])$[_0x54fdfa(0x156,'NYzO')]=_0x43afa5['data'];else _0x43afa5[_0x54fdfa(0xfc,'@l!h')]?console[_0x54fdfa(0x177,'6KMj')](_0x43afa5[_0x54fdfa(0x123,'YCHH')]):console[_0x54fdfa(0x9e,'upGb')](JSON[_0x54fdfa(0x11a,'o63V')](_0x43afa5));break;}}catch(_0x1a7849){console[_0x54fdfa(0x130,'&a7@')](_0x54fdfa(0x9a,'#E%f')+_0x4f0400+_0x54fdfa(0xa8,'zWQM')+(_0x1a7849[_0x54fdfa(0xb7,'oBr2')]||_0x1a7849));}}async function sendRequest(_0x388769){const _0x30c2b4=_0x423c19;if($[_0x30c2b4(0x94,'&a7@')]||$['outFlag'])return;let _0x33a3ed='',_0x1db119=null,_0x3a343c=null,_0x4696f9='POST',_0x5187ce={};switch(_0x388769){case _0x30c2b4(0xa4,'^EQ9'):_0x33a3ed=_0x30c2b4(0xac,'lG]n'),_0x5187ce={'body':{'api-version':_0x30c2b4(0x89,'zFsS')}},_0x3a343c={'functionId':_0x30c2b4(0xab,'A*hQ')},_0x1db119=_0x30c2b4(0xfd,'zej(');break;default:console[_0x30c2b4(0x170,'8hfw')](_0x30c2b4(0x17d,'zWQM')+_0x388769);return;}const _0x20107e={'url':_0x33a3ed,'method':_0x4696f9,'headers':{'Accept':_0x30c2b4(0x149,'zej('),'Accept-Encoding':_0x30c2b4(0xe3,'^Dww'),'Accept-Language':_0x30c2b4(0x137,'qliU'),'Connection':_0x30c2b4(0x191,'l$uS'),'Content-Type':'application/x-www-form-urlencoded','J-E-H':$[_0x30c2b4(0x131,'6wlE')],'J-E-C':$[_0x30c2b4(0xf5,'O$J#')],'Host':_0x30c2b4(0x104,'hZqS'),'Origin':_0x30c2b4(0x114,'Y4i4'),'Sec-Fetch-Dest':_0x30c2b4(0x15d,'zFsS'),'Sec-Fetch-Mode':'cors','Sec-Fetch-Site':'same-origin','User-Agent':$['UA']},'params':_0x3a343c,'data':_0x1db119,'timeout':0x7530};_0x4696f9===_0x30c2b4(0x139,'6wlE')&&(delete _0x20107e[_0x30c2b4(0x194,'E%xk')],delete _0x20107e[_0x30c2b4(0xff,'owVS')][_0x30c2b4(0xd3,'(s%@')]);const _0x5c91b1=0x1;let _0x2fb42b=0x0,_0x53a50b=null,_0x42c2a7=![];while(_0x2fb42b<_0x5c91b1){_0x2fb42b>0x0&&await $[_0x30c2b4(0x9b,'NYzO')](0x3e8);const _0x2c1f84=await common['request'](_0x20107e);if(!_0x2c1f84[_0x30c2b4(0xa3,'8hfw')]){_0x53a50b=_0x30c2b4(0x78,'^EQ9')+_0x388769+'\x20请求失败\x20➜\x20'+_0x2c1f84['error'],_0x2fb42b++;continue;}if(!_0x2c1f84[_0x30c2b4(0xc9,'8hfw')]){_0x53a50b=_0x30c2b4(0xbd,'o63V')+_0x388769+_0x30c2b4(0x17e,'dqG)'),_0x2fb42b++;continue;}await handleResponse(_0x388769,_0x2c1f84['data']),_0x42c2a7=![];break;}_0x2fb42b>=_0x5c91b1&&(console[_0x30c2b4(0x87,'qliU')](_0x53a50b),_0x42c2a7&&($[_0x30c2b4(0x9f,'l$uS')]=!![],$[_0x30c2b4(0x12a,'BegT')]&&$[_0x30c2b4(0x73,'U7tW')][_0x30c2b4(0x195,'lrn!')](_0x53a50b)));}async function jsonurl(_0x2698bc){const _0x56e4ae=_0x423c19,_0xf206a1=await common[_0x56e4ae(0x122,'qliU')]({'url':_0x2698bc,'method':'GET','headers':{'User-Agent':_0x56e4ae(0x166,'l$uS')},'proxy':null,'debug':![],'timeout':0x7530}),_0x35d698=_0xf206a1[_0x56e4ae(0xfb,'A*hQ')];return _0x35d698;}function random(_0x43ce34,_0x450cfd){const _0x122f75=_0x423c19;return Math[_0x122f75(0x6e,'CQDA')](Math['random']()*(_0x450cfd-_0x43ce34))+_0x43ce34;}async function redRainurl(_0x176cdf){const _0x57cdc7=_0x423c19,_0xc4aaed={'url':_0x176cdf,'method':_0x57cdc7(0x135,'Ik!i'),'headers':{'Cookie':cookiesArr[0x0],'User-Agent':$['UA']},'timeout':0x7530},_0x6eac38=0x5;let _0x2d73b5=0x0,_0x5f3576=null,_0x2c4ae2=![];while(_0x2d73b5<_0x6eac38){_0x2d73b5>0x0&&await $['wait'](0x3e8);const _0x409c11=await common[_0x57cdc7(0x158,'^#su')](_0xc4aaed);if(!_0x409c11['success']){_0x5f3576=''+_0x409c11[_0x57cdc7(0x13c,'X%$0')],_0x2d73b5++;_0x409c11[_0x57cdc7(0x80,'hZqS')]&&([0x193,0x1ed]['includes'](_0x409c11['status'])&&(_0x2c4ae2=!![]));continue;}if(!_0x409c11[_0x57cdc7(0x178,'t![P')]){_0x5f3576='无响应数据',_0x2d73b5++;continue;}if(_0x409c11['data'][_0x57cdc7(0x182,'owVS')](/(活动已经结束)/)&&_0x409c11['data']['match'](/(活动已经结束)/)[0x1]){$[_0x57cdc7(0x14f,'@l!h')]=!![],console[_0x57cdc7(0x125,'Y4i4')](_0x57cdc7(0x105,'@l!h'));return;}let _0x34789d=_0x409c11[_0x57cdc7(0xd0,'oBr2')]?.[_0x57cdc7(0x86,'OQAm')](/__api_data__ *= *(\{.*?\});/);if(!_0x34789d){_0x5f3576=_0x57cdc7(0xa6,'YCHH'),_0x2d73b5++;continue;}if(_0x34789d){let _0x34edd6=JSON['parse'](_0x34789d[0x1]);for(let _0x596f79 of _0x34edd6?.[_0x57cdc7(0xb9,'NYzO')]||[]){if(_0x596f79?.[_0x57cdc7(0x144,'zej(')]?.['interaction']){let _0x5f527b=JSON[_0x57cdc7(0x163,'O$J#')](_0x596f79[_0x57cdc7(0x81,'9isf')][_0x57cdc7(0x168,'6wlE')]);if(_0x5f527b?.['encryptProjectId']&&_0x5f527b?.[_0x57cdc7(0x151,'J0*q')]){$['interaction']=_0x5f527b,interaction[_0x57cdc7(0x13f,'hZqS')]($[_0x57cdc7(0x173,'oirK')]);break;}}}if(!$[_0x57cdc7(0x13e,'^#su')]){let _0x1bc1ba=_0x34edd6['shieldResult']?.[_0x57cdc7(0xdf,'Ik!i')]||'{}';var _0x27fb5e=JSON[_0x57cdc7(0xcc,'KFbq')](_0x1bc1ba);let _0x259706='',_0x469118='';_0x27fb5e&&_0x27fb5e[_0x57cdc7(0xb8,'dqG)')]&&(_0x259706=_0x27fb5e['title']||'',_0x469118=_0x27fb5e[_0x57cdc7(0x12d,'qliU')]||'');if(!_0x259706||!_0x469118){console['log'](_0x57cdc7(0x13a,'@kp!')+_0x34edd6[_0x57cdc7(0xc0,'@kp!')]+'\x0a');break;}else{_0x5f3576=_0x57cdc7(0x19e,'7^[z')+_0x259706+_0x57cdc7(0x85,'NofG')+_0x469118+'\x0a',_0x2d73b5++;continue;}}}break;}_0x2d73b5>=_0x6eac38&&(console['log'](_0x5f3576),_0x2c4ae2&&($['outFlag']=!![]));}
// prettier-ignore
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)}