faker3/jd_video_task.js
2024-07-12 16:13:49 +08:00

16 lines
39 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_video_interval // 自定义运行间隔时长整数单位毫秒默认1000
jd_video_notify // 是否推送通知true/false默认不推送
jd_video_pinFilter // 账号pin过滤多个用@进行分割
jd_video_signapi // 自定义SIGN的API
定时随机,一天一次
*/
const $ = new Env('逛视频任务')
const _0x9fae6e=_0x3bc7;(function(_0x58d7c1,_0x29eb34){const _0x58be35=_0x3bc7,_0x4d036d=_0x58d7c1();while(!![]){try{const _0x3d42e0=parseInt(_0x58be35(0x30d,'Jr5U'))/0x1*(-parseInt(_0x58be35(0x26a,'MzPW'))/0x2)+-parseInt(_0x58be35(0x316,'BNV%'))/0x3+parseInt(_0x58be35(0x27a,'[FEf'))/0x4+parseInt(_0x58be35(0x2eb,'pm1M'))/0x5+parseInt(_0x58be35(0x234,'MzPW'))/0x6*(parseInt(_0x58be35(0x2da,'PPU%'))/0x7)+-parseInt(_0x58be35(0x2a4,'hPdS'))/0x8+-parseInt(_0x58be35(0x275,'qI9K'))/0x9*(parseInt(_0x58be35(0x231,'EpYv'))/0xa);if(_0x3d42e0===_0x29eb34)break;else _0x4d036d['push'](_0x4d036d['shift']());}catch(_0x502790){_0x4d036d['push'](_0x4d036d['shift']());}}}(_0x5db6,0x6088f));const jdCookie=require(_0x9fae6e(0x243,'[FEf')),notify=require(_0x9fae6e(0x254,'GUgw')),common=require(_0x9fae6e(0x2c6,'HHBj')),{H5st}=require('./utils/Rebels_H');let taskThreads=process['env'][_0x9fae6e(0x212,'6lMg')]||'1';const runInterval=process[_0x9fae6e(0x2a3,'0hJ$')][_0x9fae6e(0x2aa,'HMSm')]||_0x9fae6e(0x224,'Efqk'),isNotify=(process[_0x9fae6e(0x261,'Jr5U')][_0x9fae6e(0x262,'Jr5U')]||process[_0x9fae6e(0x317,'RbA[')]['jd_video_Notify'])==='true',pinFilter=(process[_0x9fae6e(0x2b4,'rsFp')][_0x9fae6e(0x2df,'gKs!')]||'')['split']('@'),randomApi=process['env'][_0x9fae6e(0x216,'[FEf')]||_0x9fae6e(0x213,'$qaa'),maxThreads=0x1,videotaskbodyvar=[{'type':'20','assignmentId':'27kYktGUgPEPba9Wz82CamK1uG2','scanTaskCodeIndex':'2','activitySource':'1','realClient':_0x9fae6e(0x1fd,'BNV%')},{'type':'20','assignmentId':_0x9fae6e(0x329,'Q@7f'),'scanTaskCodeIndex':'3','activitySource':'1','realClient':'ios'},{'type':'20','assignmentId':'44N6QuyCHyb9n6VVr2EHyHKEkEwm','scanTaskCodeIndex':'0','activitySource':'1','realClient':_0x9fae6e(0x2a5,'qI9K')},{'type':'21','assignmentId':_0x9fae6e(0x21f,'WnPw'),'activitySource':'1','realClient':_0x9fae6e(0x293,'BVCp')}];let cookiesArr=Object[_0x9fae6e(0x2ce,'WnPw')](jdCookie)[_0x9fae6e(0x33d,'RbA[')](_0x2cae25=>jdCookie[_0x2cae25])['filter'](_0x2615c3=>_0x2615c3);!cookiesArr[0x0]&&($[_0x9fae6e(0x20f,'bMne')]($['name'],_0x9fae6e(0x2cc,']dX4')),process[_0x9fae6e(0x343,'FmU8')](0x1));function _0x3bc7(_0x4887fd,_0xbf79fc){const _0x5db613=_0x5db6();return _0x3bc7=function(_0x3bc740,_0x3cdbde){_0x3bc740=_0x3bc740-0x1eb;let _0x3af02a=_0x5db613[_0x3bc740];if(_0x3bc7['zLhhme']===undefined){var _0x19ba48=function(_0x2615c3){const _0x15af3d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x41ea95='',_0x38eaf7='';for(let _0x578fed=0x0,_0xd147c3,_0x5f2bb7,_0x5c2dbc=0x0;_0x5f2bb7=_0x2615c3['charAt'](_0x5c2dbc++);~_0x5f2bb7&&(_0xd147c3=_0x578fed%0x4?_0xd147c3*0x40+_0x5f2bb7:_0x5f2bb7,_0x578fed++%0x4)?_0x41ea95+=String['fromCharCode'](0xff&_0xd147c3>>(-0x2*_0x578fed&0x6)):0x0){_0x5f2bb7=_0x15af3d['indexOf'](_0x5f2bb7);}for(let _0x23b5d4=0x0,_0x2a961d=_0x41ea95['length'];_0x23b5d4<_0x2a961d;_0x23b5d4++){_0x38eaf7+='%'+('00'+_0x41ea95['charCodeAt'](_0x23b5d4)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x38eaf7);};const _0x2cae25=function(_0x2bd4c1,_0x122bcd){let _0x33e20c=[],_0x2ae6ef=0x0,_0x124b68,_0x58657e='';_0x2bd4c1=_0x19ba48(_0x2bd4c1);let _0x4f4028;for(_0x4f4028=0x0;_0x4f4028<0x100;_0x4f4028++){_0x33e20c[_0x4f4028]=_0x4f4028;}for(_0x4f4028=0x0;_0x4f4028<0x100;_0x4f4028++){_0x2ae6ef=(_0x2ae6ef+_0x33e20c[_0x4f4028]+_0x122bcd['charCodeAt'](_0x4f4028%_0x122bcd['length']))%0x100,_0x124b68=_0x33e20c[_0x4f4028],_0x33e20c[_0x4f4028]=_0x33e20c[_0x2ae6ef],_0x33e20c[_0x2ae6ef]=_0x124b68;}_0x4f4028=0x0,_0x2ae6ef=0x0;for(let _0x4c822a=0x0;_0x4c822a<_0x2bd4c1['length'];_0x4c822a++){_0x4f4028=(_0x4f4028+0x1)%0x100,_0x2ae6ef=(_0x2ae6ef+_0x33e20c[_0x4f4028])%0x100,_0x124b68=_0x33e20c[_0x4f4028],_0x33e20c[_0x4f4028]=_0x33e20c[_0x2ae6ef],_0x33e20c[_0x2ae6ef]=_0x124b68,_0x58657e+=String['fromCharCode'](_0x2bd4c1['charCodeAt'](_0x4c822a)^_0x33e20c[(_0x33e20c[_0x4f4028]+_0x33e20c[_0x2ae6ef])%0x100]);}return _0x58657e;};_0x3bc7['lSYoMw']=_0x2cae25,_0x4887fd=arguments,_0x3bc7['zLhhme']=!![];}const _0x458675=_0x5db613[0x0],_0x5755c0=_0x3bc740+_0x458675,_0x51c173=_0x4887fd[_0x5755c0];return!_0x51c173?(_0x3bc7['AZTdfz']===undefined&&(_0x3bc7['AZTdfz']=!![]),_0x3af02a=_0x3bc7['lSYoMw'](_0x3af02a,_0x3cdbde),_0x4887fd[_0x5755c0]=_0x3af02a):_0x3af02a=_0x51c173,_0x3af02a;},_0x3bc7(_0x4887fd,_0xbf79fc);}!(async()=>{const _0x58a36e=_0x9fae6e;notify['config']({'title':$[_0x58a36e(0x2f6,'nS5@')]}),await Main(),isNotify&&notify['getMessage']()&&await notify[_0x58a36e(0x2c2,'nS5@')]();})()[_0x9fae6e(0x20b,'rsFp')](_0x15af3d=>$[_0x9fae6e(0x1f8,'REHm')](_0x15af3d))[_0x9fae6e(0x309,'MzPW')](()=>$[_0x9fae6e(0x332,'RbA[')]());function _0x5db6(){const _0x331f69=['W4qlDmokzmk0','CCkIfSkjWRxdUYe','W7j1W4OTC0Crtt3cPvTEfW','W5/cGhPkWO0','xcBcT8k2WOWqW4dcSmoExCk5zq','gmoMl1z2CbhdJCojWP3dRSkfrSklESk8pMZcUJKlosdcMSowFdrwoW','W4OAzCoIx8kIWPRcIKRcUfS','WOLMkCoQvCkSWQhcMXqAWQ8','W4NdNdRdJq','vKxdOSojWPJdNmkOWQPCW5NdJv8','WPK4WP7dQWBdJXldQelcK8kohH/cTXS','hMtcS03dLg/cVKG','WRNdTsucyCodW7bcWPpcR8oTEmoVW4/dNCoXhqq3WRlcIG','tG57Bq','WRXPxKjTzCoDa8oElq','zsLRgW','eSkZW5DPESkPWRadataB','CgVdPmoo','WPOesa','WOlcGHXFW5bxlwnNW6/dH8o2DvBcUeC','WOaCuq','gY7dNmkfsuJcJae5W5jK','W7KNW6hcGa','WOrSnmob','W4eqDG','sGrRtCo+WQuOhSoYW4vG','5y+E6yw/5BYs5zo554Iy5OgLW5iPemkXtKJcUu7dKmoT','5P2i6k6D5l2i6Ac65AsC6lE1WQ4','zmkIeSkGWQBdQIVcLf8EW4K','4PYqWOxOHjlMN77OVPlOOkxPGQ/LI63KURJPLOlORQCL','udtcVa','AmkaW7e','pSoBWRvza1enW6y','bSkOWPVdNa','W6FdIa4','xJ3dRa7cSdlcNf7cR8o9WPZcNa','nCobWRu','WOZcJwhcIGa','WOjSoG','W7RcQf0','kSohWQjvl3ylW4dcSvFdTNKuWPGWDGiG','WOlcGHXFW5bxlwnNW7xdGmoLFKxcVK/dJq','eSkZW5DVz8k0WRqykruDyruh','kXS+W7VcJa','mmkQW6hcOJNcTCoFCu3cV1dcPwPAfG','WQ/dKehdIeC0WQr3','WOldMY8','W4hcLhfpu8olW4NcSG','W7tcJefo','dSkvW5RdKtRcQ8ok','yxhdUSociConW6ldLq','b8kNWPK','W5ldKJq','W6S9pmkgi8omWOq','n2WP','WQ96suj0CW','WPHQoCoksmkmWQVcJqKiWQVcR2aIWQddLmkrW5FcLIxcKX7cPCocbvxdOG','vCkZW7ddMq','igGGkCkPDMy7','W5lcQNz/WQKWoCooWRigyZFcQ0RdHtvlWPTYWP7dI8kfWOhdHmkBxmoTbs/dJdBcRIWJfG','CmozDSkZW4eSWO1lq8oPbdBdSqdcMCk/kSkkWPNdGCk+u8oWEmkLW4S','CCouWQ7dU8oPWR8Tyq','fCkOWOBdIq','44gk6lsR5y6M','Dw3dRCoodCoQW6tdS17dL8k/bSoVWOy','WP8KWONdPG','W4SwFCotsmkI','acSvWQpcJSk8','DSorymk3W4mxWQT1wCoT','WOnqzmotrmk8WOBdL1xcRL7cQSkWrcGNpmobWObkW6eVgW','W45wbHSKmmo6qvBdKG','xqbTACoHWQqddColW5C','htJdM8kPxftcJHyAW5vndmkcWQ4','W6/cS8oAWQdcTSoC','5BwO6k+257+R6lsw6l206l2a6koy5B++5yIZ6lAU5y+T','44gs5O+n56wP44gr6kYD5ywr6i615y6iW6/cISkkWRnhba','ASoFDq','rGrMEW','WOtcIsq','i3a8nCkeBveQW54','bCkJW5be','WQ17x0PNEa','A+wKVUI2R8oT','WRRORQ7MS5dLPz/OTildPokFLCoU','qf7cPa','5Rwo5yM+5yEg5y+pmSo7WP4Hhg7MNBZKUiBPNilPGAVPOQddOEMaSG','W6a3lW','pwi9WQzib3hdMq','wWH7BCoJWOuIcmoVW5DKWRtcS8kIW6FcISoFW6BdTSorWO52FmkBxxFcQq/cMCkLW70lDq','W70+gHmZjCokmSohfmkKW5K','WPXtx2JdJWb2BG','bSkCW59tW7W6rG','5B+n5AwU5lUj5yIaxW','EokFQ3C','bmoRfevWrHhdHSogWOZdPmkazCkwxSkNnNS','WPrSt8oa','W5FcMhDoACowW7FcOX4','5Q+H5z6o5ycI5lMv5yU177YS','qeXGxZe0nq','WRTPrvC','6lAK5y2r6l6/5RMkBHzu','W7v6W4eMCs9oFGVcS1u','gcCpWQJcNW','yMNdPSoEdmow','WRPHsezVxSo7iCoDe8kQW4vHka','gCk5W4q','AZPOW7e9wc3dOGVcTuFcQXG','ymkWnCkrWRxdRdhcLq','WOuCrq','W5OEEmotECk5WPJcNq','WPXikmkug8oGW4dcRv/cVhNcM8k7','B8oECCk6W5SaWOPN','WR5SECo2iCkkW4BcOdtcPCk0D8oK','W7tcVSkb','6ykT6ksZ6Akj6AAT6AgY5AAt6lAbWOW','qfz8wHC6p8o6','qmk9W73dLa','WOeWWPFdQW','ASkPbCkjWQhdVchcLq','WPHQoCoksmkwWQZcTJCmWR/cH3aLWPZdLmkrW5FcTaZcLJFcM8osdKe','WQqPWO1tiGnhzYVcNefOkxddNZBdKSoOW6q','WQbNsW','W77cPKNdRKXYbqqRWRSXW5FcNKJdSW','DCoeC8kIW5Sx','W53dKJ3dMJlcPmknsa','WQr8wfnZlmk2tColpmkNWOrpCsFcQCorWPrFfqq','aCkMWOVdMa','6zAd6zUu5PEE6zwsESo1W5e','W7OXlmkRECo3WPlcKXhcJ8kJAG','fCkOWOBdIw3dUZRdHfnoqda','W5RcKhzCC8ok','DgxdOmoFnSolW6VdLq','WPX2m8oQsCk6','6lEX5y2N5PAG5PsU','W53dKJFdNa','oJxcUW','W6OXjSkVESotWOK','w27dVSoveq','WPOAuSoyhu7dRKNdTuf7d8kmW7lcOmkzW5PBr8oyB1RdTfibWPJcKa','WP0KWPtdIWFcHG','WQKyW6tcS8oLW5pdNa','WO1SoCok','5lMf5yIC5yMe6kor5Awx6lEGWQu','WQ3cSvNcUmkPW4JcICoChH81zHadtCkNuuNdG3JcHSkLoIjHW4qbW4iF','fs9mva','l8ocWQ9tjq','lNi0','bSoQWQlcKfhdVSoXW6y/zSkKgW','wSkHFa','BCkCo8oGCLNdM8kexmoJiMLS','WPvJtq','5ysn77YC6yEw5BI65l6x6Ao4bZi','B8kOaq','lwW4WRy','W6dcRL7dM1e2gruoWROKW7NdNuBcQq','5OIM55My54YK6ywX5lY76AgqWPJcLG','zdPTfCoX','aceC','WOHpsgtdOZ13B27dVLNcMmoEWPNcKCkaW7eGW7HQiNlcJ8k7W7JdVmod','W5BdIsFdIrxdV8orderVFHioW6mbgxhdH8k5F8oVWPRcM2ldLuFdH8kRcSoKe8kjpSop','WP7cJYDmW5zHlwHOW73dJCo6FKpcGehdJaZdKSk/WOSyWOKQA8onxfrHx8oNW5ZcNW','kxvPBSkp','WPPhwga','WRBdOZmpvmoiW7biWOVcVSoGDSoTW4e','h2ZcVLZdR1tcTKNcR8ogWRFcLG1xW6qAW4VcSmohhrRcR1bwaCoIW6e2WQBdVbxcOwBcISoB','qNDjfcm','W5/dKdZdJaJcSCkTv1C','vePRvJShpSo7bmoMl8oiWRhcGmkFmCkPBmkRWPymW6ZdHXzyWQRdLmowqeCRW6FcMaO1','BdhcT00tWODin0mQcCkQW44myZxcKhzGdSoUrJv2b8kLjKm','kSohWQjvl3ylW4dcSvFdUNK6WOO','nNqNlmkp','ygVdRCoo','nColA8k+nW3cJCkU','o8oaFmkxmbVcH8kVC8oOlW','WPBORilMSzRLPiROTklcGUkCUmo35PAm5zkQ5BMg5Psl5O+7','CCkIf8kqWRhdQZa','dEIULUAXNEwtHEw4Mmo3','WPrIvCoe','tezQvWyWnSoWiSoId8omWRVcN8k+o8knz8kFWPit','4PMpCEIeKowSLos4OoI8SUIGRoMvUEMASUAuH+MwKoIVH+E9NoMxHUIVGq','ruz7E2eMlW','W708W6yRvCk2jSk8vgFcIq','bsvzwcxcPSo+','W6dcRL7dM1fjdHq6WRKMW7xcLvRdLmkHWRfkWQBcMq0BW69moSoVBSkiAq','yCkYfCkmWPFdTYdcGW','WP8exa','4PYkW6pMNQ/OGlRMRlxNO7BLPQNNKjij','lMWIWQLyhhNdGYBcSq','WP1SsW','bEAjP+wlIa','mamJW6JcMHquW6jYBCkVWO0rWOjwW4/dHdhdT8oCCq','5ysFW7pdQUIVH+wDQh85W5pdQ+AiMEEyMJVPK4JLJ7JKUy3MN7lNNA4','fsLsEtlcTmoPW5RdNmoI','W7q4W78l','WRldQcKs','utRcOW','WO8CuSoy','56Yc5yM75AAz6lELya','5OMZ55Mn542F6ywS5l2W6ActCSkf','lgq1WQDKoN3dKWpcO2hcLbRdLCkoW4qOW7GCW5tcH3dcQ8oboWLt','WQ3cSvNcUmkPW4JcICoChH81zHadtCkNuuNdG3JcHSkLoJj3W4iwW4SMs8kihmk5','WPaex0m','sZZcOmk6WOq2W4/cLSohDSkuBSoNtq','vKBdOComWPBdKCkKWRTBW4ldQHqwWRhdSXG','owWIWQO','iCkMW7hcIZFdRmoiz13cNehcSHfxuCo6pZH5','WPDOt8oKnh7cLCo3W446WRu','x8k/ExDXvXhdKmol','kSomBmk3ltVcJCk5BSo6k0rHD8kNWRdcRCoPd8kgBMy/Bmo6tCke','wMddRCoZc8ot','6yoL6kEG6Ak96AAx6Ao55AwE6ls3ua','W4JcRhu','x8kOW6ddKbhdT8knWPKZtSkNrGPlkIhcLSkRsCokW5u','bmoRfevWrHhdHSogWO/dPmkjtCkEqSk6','nCokEW','kMRcTe3dPwJcPWdcQ8oEWQtcMa','WOm+WP0','fSkyW4jVWP0Gx8ki','W6/cUCot','WQZdIf3dLgOVWPnMzW','WQHPwei','WOSwqSo4ag7dPf/dQfn/','eCkyW5L6WQq6DSkmW5lcMa','WPXIxa','WOSWWO7dRW','W53dNcddKstcPmksqKT8CNOpWQiedW','5O6+54Y/5Aw66lswqG','5lMT5yMM5yIT6kow5Asp6ls+ma','aCkOWPVdNKe','5yED5OY654+46ysF5AsN6lAAWQS','6yot6kES6Aow6Asz6Ao95AET6lwGWRK','DCkUaSkaWRVdIIhcGKimW43cTaFdLeWBtSo5W6xdLCkhWPFdGCkAW7lcKmkTW6NcJW','t1bO','W6BcPmogWQJcSa','WRe5WPDAlrm','ACkJoCktWR3dVchcIu0YW5RcTXddHwuqua','AtXRcSk5fmogWPaseKG0fSo2gSkFlSkQoCoLWPRcNmkwWRKSW4GLW7yM','WRxdPtmpCmojW7Li','WRtcSmknWQtdTG','WQKOWQzPkHnhEWdcRLH/extdNsW','fc9msa','W7hcOK7dTGTOhW','5PYR6i+/5y+j5yMk5PEZ5O2v77+L5QcI5RsQ57YQ57UZ5PM15zcE5Q6N5BIx','WRHlnCoUW6xcRWhcGYqs','dSkMWOG','W5lcLgXA','W60PW6ZcKCoNW7NdUCoi','zCoiWRNdT8ofWPGRw2CNWRCJ','hGHAz8k/WRmLp8oLW7fIWRxcJSkDW5JcJ8oJW6tdQSokWPXwqmoEw0VcUH0','stZcSmkZWO4','xgBcPSoMW5m','WQrfia','WOGsqSoC','W48whde','54+O6yAM5P6Y6k265AEy6lslya','aSoGla','vePRvJShpSo7bmoMl8oiWRhcGmkFmCkPBmkRWPymW6ZdHXPoWQ/dKW','zghdVCoUemoqW6NdGMtdU8k8','4PIIWOBORO/LH6BLR47KUB9CWQvMW4pNJBxLOzVLJk3PHARLKONLHRtOVi7OOkROHBdMNQFVVQO','8y+RP8oz','W604W7SA','hmkIW4zbqCk/','5ysZ5O6R542F6ywS5OI55yIr772e5RMe6lAu5O+3546F5Bgy5l2r5y6E5O+v54+G','ymouWR7dSCopWQm6','fSkrWP4','c8kNWOZdKvZdQI3dLG','n8kckSoJWPPDW59Zx8ocoIBdJW','5y2U6ys654QU5Oc657Uu5P+9WPNdQLfAW69gWQHLumkS','bcSAWQdcN8kMEa','WR1OESkkFSokWPxcTta','W6dcRL7dM1ftcs8eWR0YW53cHv3dQmkHWRfkWOtcSaGYW5fupmo+','WQRdGeBdRwS8WQL8rJ9lWPmuWRu','5yAg576PnCkSWPpdLUADIEwjHW','WRJcT1NcUa','WQTfi8oQ','DIL2dSoxuSkeWOC','wJdcSmktWOOkW4JcPSoeAmkaCCoYx8omWQLaWRe6','dCkwW4W','WRuLWP16lcvhCa/cVfjZgMhdPsRdLSoIW5PUf33dQSk6W6HVW4W','WPeEse9AySkJgq','k8opWQ9effCeW6y','W6WWW7ylsmkmk8knBKVcHMjZWOxdMSk+W59P','vSkVW6FdIqxcO8opW5m8sSkacqOa','bwtcO1ZdSKhcVehcM8oKWRVcLazGW40fW5xcOmo7gttcPgLC','W61JWPn7abHnFZBcUa','WP8hrmouhhVdOKVdNa','W5SwDCocqSo9WOFcNwpcQv3cQmoXx0i','WQTTwgzYzmo2emoNp8kP','wg7dP8ot','WQhdUsqdxmklW69iWOhcQmopCmkTW4ZcGq','gmk/W40','wWH7BCoJWP8Ll8oiW6LVWRdcU8kZW7/cHmovW6y','W43cRxf2WRmgoCoz','WOX2lSogzmkXWQRcJa','nhq3jCkfuwabW5/cJmkcWRy','cSk9WPVdJvRcTgFcIKzxrNaMc280uwrMimkV','546h6ysn5P2X6k2c5Awt6lEOW7K','mCkRWRa','kMWJWQnMg1ZdLIFcOW','5yEl5OY754YI6yA/5Asw6lEH5Aw46lERqG','dsmuWRhcLmkG','uMtdNCk0uLBcKfWMW4rHcmkdWRJdPSkbxSkLW4JcLSkLqCoZW5FdM8kkAa','WOLMkCoJrSkQWQVcMI0OWRJcTfmZWPRdImkvW53cQa','W4BcGgTt','lgq1WQDKoN3dKWpcO2hcLbRdLCkoW4qOW7GCW5tcH3dcQ8omoGfz','BsD4','iSkIW7hcPG','56+i5yUf5BEQ5A635OIx77645Ocm5lID5Awf5BAv5A2E5OMR56+R5yMO772H6k2M5PMb5PAq5ywx5P6Y','ySorzSk3','WR5di8oQW6FcLcFcVt4wDcPyoHOuW6tcOqJcRqz/gmkUWRpdSq','W7hcQfBdMN10aH4','cYpcNq','B09HWQ/dMrP0WR5dr8koW4i','m2mIWQD5ha','W78MW7m','W7aSW5RcK8oAW7tdSCociCoMDwqqnc8','w8kZW7m','WOjOs8oej3G','kpcxO6Wt6l6e6kcz57Qi5PYdxG','W4ZcT2zQWRvyC8kfWOmxAxlcOXddPZ4iWP1nWPlcGW','WQhdILu','W4ZcT2zQWRvyC8kfWPivB3lcOXddPZ4iWP1nWPlcG8knWR/dJCkpemoKbZxdGIxcIgjOkxldHCkLaLZcIdWaWQGYWRxdH8kiiSojW4/dOq4pWOTKamoycv3cMeBcSSowfMZdQmkTzSk6W68','5PYM6k6U5l6G6Akc5AwY6lwsEq','WRPUCmo3jmoNWPZcPJBcImkG','oxfUtW','sJtcRCkR','yMBdScr3W7WMxdH2','WRddTtqQuSosW7HEWPhcI8oEz8owW4hdHSoNpqu9','sJ3dSq','dI7dN8kHsv7cRGat','5A+q5OQ+5lI95yQrgW','WOVcHZbb','5P2l55YC5lMq5yQ6WPi','5lMG55oq5B605yA0W7JcLmon','zCoNWOHbgfGb','WPbdswxdNGP/zeJdUNNcNmouWOBcSmkkW5uRW4XUpq','dt0iWQ3cNCk6zSo6fqtdPSkZkIm','WObMomolDCk7WQpcHI8mWOVcQ2O9WOhdNSk1W5ZcOIhcJa','WRpcLbRdIgy','W7f4W4GNDeiuEaNcNKfRna','WRVdVYC','hCkIW5DCE8oHW7bEpdetAquuW7FcOqC6WOyaCcTY','56EuW63OV4lOOPRPLzRPM7dMLjNPLAS','dmo6ofPAtrddJa','WPddRsu','WRhdTHNdUaj1rW'];_0x5db6=function(){return _0x331f69;};return _0x5db6();}async function Main(){const _0x352d5b=_0x9fae6e;try{try{const _0x38eaf7=parseInt(taskThreads);_0x38eaf7>0x0&&_0x38eaf7!==0x1&&(taskThreads=_0x38eaf7);}catch{taskThreads=0x1;}taskThreads=Math[_0x352d5b(0x249,'p(]Y')](taskThreads,maxThreads),$[_0x352d5b(0x28c,'hPdS')]=null;if(runInterval)try{const _0x578fed=parseInt(runInterval);_0x578fed>=0x0&&($[_0x352d5b(0x21d,'Jr5U')]=_0x578fed);}catch{console[_0x352d5b(0x21b,'rsFp')](_0x352d5b(0x334,'nS5@'));}console[_0x352d5b(0x1ff,'nS5@')](_0x352d5b(0x2c7,'BVCp')+$[_0x352d5b(0x247,'REHm')]+_0x352d5b(0x29b,'EpYv')),console[_0x352d5b(0x2d7,'MzPW')](_0x352d5b(0x2d6,'p(]Y')),console[_0x352d5b(0x226,'gKs!')]('SIGN服务:\x20['+(process[_0x352d5b(0x308,'Q@7f')][_0x352d5b(0x1fc,'gKs!')]?''+process[_0x352d5b(0x261,'Jr5U')][_0x352d5b(0x294,'HMSm')]:_0x352d5b(0x237,'6lMg'))+']'),console[_0x352d5b(0x1fa,'6(*Q')](_0x352d5b(0x300,'XRs3')+$['waitTime']/0x3e8+_0x352d5b(0x27d,'EpYv')),console[_0x352d5b(0x27b,'FmU8')](_0x352d5b(0x274,'gF@P')+common['getProxyStatus']()+']'),console[_0x352d5b(0x201,'gF@P')]('通知推送:\x20['+(isNotify?'开启':'关闭')+']'),console[_0x352d5b(0x319,'6lMg')](_0x352d5b(0x2e5,'0hJ$')+pinFilter[_0x352d5b(0x298,'$&JM')](',\x20')+']'),console[_0x352d5b(0x2a7,'$&JM')](_0x352d5b(0x26d,'Q@7f')+$[_0x352d5b(0x342,'LcoZ')]+_0x352d5b(0x232,'xCuW')),console['log']('');if(!randomApi){console[_0x352d5b(0x33a,'BVCp')](_0x352d5b(0x229,'0hJ$'));return;}$['needRemoveCookieIndex']=[],await common[_0x352d5b(0x2fd,'#q#k')](taskThreads,cookiesArr,taskFnc),$[_0x352d5b(0x2fb,'Ts*R')]=![],$[_0x352d5b(0x305,'$&JM')]=![];$[_0x352d5b(0x278,'$&JM')]['length']>0x0&&(cookiesArr=cookiesArr[_0x352d5b(0x2c3,'HHBj')]((_0xd147c3,_0x5f2bb7)=>!$[_0x352d5b(0x28d,'FmU8')][_0x352d5b(0x2f7,'6lMg')](_0x5f2bb7+0x1)),$[_0x352d5b(0x276,'Efqk')]=[]);const _0x41ea95=notify['getMessage']();_0x41ea95&&console[_0x352d5b(0x2ea,'p(]Y')](_0x352d5b(0x265,'bMne')+_0x41ea95[_0x352d5b(0x282,'6lMg')](//g,_0x352d5b(0x2de,'DHl[')));}catch(_0x5c2dbc){console['log'](_0x352d5b(0x29e,'BNV%')+_0x5c2dbc);}}async function taskFnc(_0x23b5d4,_0x2a961d){const _0xbc9ca7=_0x9fae6e;if($[_0xbc9ca7(0x211,'[FEf')])return{'runEnd':!![]};const _0x2bd4c1=decodeURIComponent(common[_0xbc9ca7(0x2ab,'p(]Y')](_0x23b5d4,'pt_pin'));function _0x122bcd(_0x33868c,_0x441499){const _0x3b7933=_0xbc9ca7;if(_0x33868c['length']<=0x4)return _0x33868c;else{const _0x26cc76=_0x33868c[_0x3b7933(0x312,'qI9K')](0x0,0x2),_0x1e2466=_0x33868c[_0x3b7933(0x2ac,'DHl[')](-0x2),_0x371813=Math[_0x3b7933(0x29f,'u9wh')](_0x441499-_0x26cc76[_0x3b7933(0x303,'xCuW')]-_0x1e2466[_0x3b7933(0x2ca,'gF@P')],0x0),_0x14c233='*'[_0x3b7933(0x264,'RbA[')](_0x371813);return _0x26cc76+_0x14c233+_0x1e2466;}}const _0x33e20c=decodeURIComponent(_0x2bd4c1),_0x2ae6ef=_0x122bcd(_0x33e20c,0x6),_0x124b68=_0xbc9ca7(0x2c0,'pm1M')+_0x2a961d+'】'+_0x2ae6ef+'',_0x58657e=notify[_0xbc9ca7(0x2b8,'PPU%')](_0x2a961d,_0x2bd4c1);if(pinFilter[_0xbc9ca7(0x2c4,'^sx8')]>0x0&&(pinFilter[_0xbc9ca7(0x230,'rsFp')](_0x2bd4c1)||pinFilter[_0xbc9ca7(0x24b,'6(*Q')](encodeURIComponent(_0x2bd4c1)))){_0x58657e['fix'](_0xbc9ca7(0x2cb,'Jr5U')),console[_0xbc9ca7(0x2cf,'HMSm')](_0x58657e['getInlineContent']()),$[_0xbc9ca7(0x333,'bMne')][_0xbc9ca7(0x2d1,'p(]Y')](_0x2a961d);return;}const _0x4f4028=await common[_0xbc9ca7(0x236,'e&]u')](_0x23b5d4);if(!_0x4f4028&&typeof _0x4f4028===_0xbc9ca7(0x2e3,'bMne')){console[_0xbc9ca7(0x226,'gKs!')](_0x124b68+_0xbc9ca7(0x306,'FmU8')),_0x58657e['fix']('账号无效'),$[_0xbc9ca7(0x333,'bMne')][_0xbc9ca7(0x256,'xCuW')](_0x2a961d);return;}const _0x4c822a=common[_0xbc9ca7(0x322,'uamV')](_0x2bd4c1);let _0x396d17=![],_0xf095d2=![],_0x564319=![],_0x3f60fd=0x0,_0x54d291,_0x406278,_0x201b17,_0x25f8e8,_0x48b563,_0x2192b3,_0x7da8ba,_0x538577;_0x54d291='',await _0x805ac(_0xbc9ca7(0x25c,'A1N0')),await $['wait'](parseInt($['waitTime']*0x1+0x1f4,0xa));if($[_0xbc9ca7(0x30c,'nS5@')]||_0x396d17)return;if(_0x54d291){let {popAlertInfo:_0x3be9c2,flipDownInfo:_0x33d095}=_0x54d291;if(_0x3be9c2){let {hbAmount:_0x5b1483,defaultPopAlertToast:_0x37bdf3}=_0x3be9c2;console['log'](''+_0x124b68+_0x37bdf3+':\x20'+_0x5b1483+'元');}_0x54d291?.[_0xbc9ca7(0x242,'hPdS')]?.[_0xbc9ca7(0x33c,'pm1M')]&&(_0xf095d2=!![],console['log'](_0x124b68+'今天已刷完视频'));_0x406278='',await _0x805ac(_0xbc9ca7(0x2b9,'$&JM')),await $['wait'](parseInt($[_0xbc9ca7(0x200,'oxSn')]*0x1+0x1f4,0xa));if(_0x406278)for(let _0x5bb6da of _0x406278||[]){_0x25f8e8=_0x5bb6da;if(_0x25f8e8[_0xbc9ca7(0x220,'u9wh')]&&_0x25f8e8[_0xbc9ca7(0x2e7,'^sx8')][_0xbc9ca7(0x2f0,'EpYv')]('签到'))console[_0xbc9ca7(0x258,'$qaa')](_0x124b68+_0xbc9ca7(0x2e2,'0hJ$')+_0x25f8e8[_0xbc9ca7(0x32b,']dX4')]),_0x25f8e8[_0xbc9ca7(0x2fc,'EpYv')]==='0'?(await _0x805ac('videoHb_sign'),await $[_0xbc9ca7(0x26b,'uamV')](parseInt($[_0xbc9ca7(0x28c,'hPdS')]*0x1+0x1f4,0xa))):console[_0xbc9ca7(0x2fa,'PPU%')](_0x124b68+_0xbc9ca7(0x25a,'xCuW'));else switch(_0x25f8e8['status']){case'0':{_0x3f60fd=Math[_0xbc9ca7(0x2b7,'pm1M')](_0x3f60fd,parseInt(_0x25f8e8[_0xbc9ca7(0x302,'rsFp')])),await _0x805ac(_0xbc9ca7(0x286,'gKs!'));_0x3f60fd>0x0&&(console[_0xbc9ca7(0x222,'A1N0')](_0x124b68+'执行等待时间来完成任务'),await $[_0xbc9ca7(0x31a,'pm1M')](parseInt(_0x3f60fd*0x3e8+0x1f4,0xa)),await _0x805ac(_0xbc9ca7(0x31f,'Efqk')),await $['wait'](parseInt($[_0xbc9ca7(0x23f,'qI9K')]*0x1+0x1f4,0xa)));break;}case'1':{await _0x805ac('videoRedPacketHomePage_done'),await $[_0xbc9ca7(0x2f5,'V[cb')](parseInt($[_0xbc9ca7(0x23a,'$qaa')]*0x1+0x1f4,0xa));break;}case'2':{break;}default:{console[_0xbc9ca7(0x263,'V[cb')](_0x124b68+_0xbc9ca7(0x273,'oxSn')+_0x25f8e8['assignmentName']+']状态['+_0x25f8e8['status']+']');break;}}}await _0x805ac(_0xbc9ca7(0x2d9,'WnPw')),await $[_0xbc9ca7(0x2bf,'rsFp')](parseInt($[_0xbc9ca7(0x2ee,'HHBj')]*0x1+0x1f4,0xa));_0x538577>0x3e8?(await _0x805ac(_0xbc9ca7(0x325,'hPdS')),await $[_0xbc9ca7(0x26c,'u9wh')](parseInt($[_0xbc9ca7(0x2b0,'xCuW')]*0x1+0x1f4,0xa))):console[_0xbc9ca7(0x23c,'oxSn')](_0x124b68+'还需'+(0x3e8-_0x538577)+'个金币可以兑换现金');_0x201b17='',await _0x805ac('videoHbCw_homePage'),await $[_0xbc9ca7(0x289,'#q#k')](parseInt($['waitTime']*0x1+0x1f4,0xa));if(_0x201b17){_0x2192b3=parseFloat(_0x201b17?.[_0xbc9ca7(0x208,'#q#k')]?.['amount']||0x0);let _0x408fbb=_0x201b17?.['cwCardFloor']?.['cards']||[];_0x408fbb=_0x408fbb['filter'](_0x484688=>_0x484688[_0xbc9ca7(0x2ec,'6lMg')]===0x0&&parseFloat(_0x484688[_0xbc9ca7(0x2d0,']dX4')])<=_0x2192b3)['sort'](function(_0x2867e1,_0x15392d){const _0x36a599=_0xbc9ca7;return parseFloat(_0x15392d[_0x36a599(0x202,'e&]u')])-parseFloat(_0x2867e1[_0x36a599(0x2e1,'xCuW')]);});for(let _0x9e3992 of _0x408fbb){if(_0x564319)break;_0x48b563=_0x9e3992,await _0x805ac(_0xbc9ca7(0x2e9,'PPU%')),await $['wait'](parseInt($['waitTime']*0x1+0xdac,0xa));}}}if($['runEnd'])return{'runEnd':!![]};await $[_0xbc9ca7(0x2e4,'PPU%')](parseInt($[_0xbc9ca7(0x304,'!S4b')]*0x1+0x1f4,0xa));async function _0x282c49(_0x229048,_0x18b345){const _0x2a29e4=_0xbc9ca7;try{let _0x39642c;switch(_0x229048){case'videoHb_newCustomerHbLayer':_0x18b345['code']==='0'?_0x18b345[_0x2a29e4(0x23e,'BVCp')]==='0'?_0x54d291=_0x18b345['data']:(_0x39642c=common['getErrorMsg'](_0x18b345),['降级'][_0x2a29e4(0x292,'!S4b')](_0x3b165b=>_0x39642c[_0x2a29e4(0x32d,'BNV%')](_0x3b165b))?console['log'](_0x124b68+_0x2a29e4(0x20d,'A1N0')+_0x18b345[_0x2a29e4(0x2bb,']dX4')]+']需更换SIGN服务或使用内置SIGN服务'):console[_0x2a29e4(0x2b5,'#q#k')](_0x124b68+_0x2a29e4(0x2f3,'xCuW')+_0x18b345[_0x2a29e4(0x2ae,'e&]u')]+']'+_0x39642c),_0x396d17=!![]):(_0x39642c=common[_0x2a29e4(0x204,'UGkx')](_0x18b345),console[_0x2a29e4(0x295,'UGkx')](_0x124b68+_0x2a29e4(0x1f9,'Efqk')+_0x18b345[_0x2a29e4(0x217,'XRs3')]+']'+_0x39642c),_0x396d17=!![]);break;case _0x2a29e4(0x24d,']dX4'):_0x18b345[_0x2a29e4(0x307,'#q#k')]==='0'?_0x18b345[_0x2a29e4(0x2f4,'bMne')]==='0'?(_0x39642c=_0x18b345?.['data']?.[_0x2a29e4(0x270,'GUgw')]?.['msg']?.[_0x2a29e4(0x30a,'REHm')](/(余额到账[\d\.]+[元]*)/)?.[0x1]||'',console[_0x2a29e4(0x2a8,'Ts*R')](_0x124b68+'签到成功:\x20'+_0x39642c)):(_0x39642c=common['getErrorMsg'](_0x18b345),console['log'](_0x124b68+_0x2a29e4(0x1ec,'GUgw')+_0x18b345[_0x2a29e4(0x2bb,']dX4')]+']'+_0x39642c)):(_0x39642c=common[_0x2a29e4(0x29d,'6lMg')](_0x18b345),console[_0x2a29e4(0x226,'gKs!')](_0x124b68+'签到失败['+_0x18b345['code']+']'+_0x39642c));break;case _0x2a29e4(0x1f7,'BNV%'):_0x18b345[_0x2a29e4(0x297,'Jr5U')]==='0'?_0x18b345[_0x2a29e4(0x2bb,']dX4')]==='0'?_0x406278=_0x18b345[_0x2a29e4(0x207,'nS5@')]:(_0x39642c=common[_0x2a29e4(0x228,'!S4b')](_0x18b345),console[_0x2a29e4(0x2a7,'$&JM')](_0x124b68+_0x2a29e4(0x20a,'Ts*R')+_0x18b345[_0x2a29e4(0x2db,'Efqk')]+']'+_0x39642c)):(_0x39642c=common[_0x2a29e4(0x336,'LcoZ')](_0x18b345),console[_0x2a29e4(0x206,'RbA[')](_0x124b68+_0x2a29e4(0x30f,'#q#k')+_0x18b345[_0x2a29e4(0x32c,'!S4b')]+']'+_0x39642c));break;case _0x2a29e4(0x20e,'6lMg'):_0x18b345[_0x2a29e4(0x32c,'!S4b')]==='0'?_0x18b345[_0x2a29e4(0x2b3,'!S4b')]==='0'?console[_0x2a29e4(0x2a8,'Ts*R')](_0x124b68+_0x2a29e4(0x2dd,'e&]u')+_0x25f8e8['assignmentName']+_0x2a29e4(0x33e,'DHl[')):(_0x39642c=common['getErrorMsg'](_0x18b345),console['log'](_0x124b68+'开始任务['+_0x25f8e8[_0x2a29e4(0x277,'^sx8')]+']失败['+_0x18b345[_0x2a29e4(0x24c,'$&JM')]+']'+_0x39642c)):(_0x39642c=common[_0x2a29e4(0x291,'p(]Y')](_0x18b345),console[_0x2a29e4(0x201,'gF@P')](_0x124b68+'开始任务['+_0x25f8e8[_0x2a29e4(0x241,'V[cb')]+']失败['+_0x18b345[_0x2a29e4(0x2ff,'rsFp')]+']'+_0x39642c));break;case _0x2a29e4(0x23d,'[FEf'):if(_0x18b345[_0x2a29e4(0x238,'9Ed)')]==='0'){if(_0x18b345['busiCode']==='0'){let {rewardMsg:_0x49ce21}=_0x18b345?.[_0x2a29e4(0x21c,'xCuW')];console[_0x2a29e4(0x313,']dX4')](_0x124b68+'完成任务['+_0x25f8e8['assignmentName']+']成功:\x20'+_0x49ce21);}else _0x39642c=common['getErrorMsg'](_0x18b345),console[_0x2a29e4(0x2ea,'p(]Y')](_0x124b68+_0x2a29e4(0x271,'qI9K')+_0x25f8e8[_0x2a29e4(0x324,'FmU8')]+_0x2a29e4(0x2d3,'REHm')+_0x18b345[_0x2a29e4(0x2a1,'qI9K')]+']'+_0x39642c);}else _0x39642c=common[_0x2a29e4(0x29d,'6lMg')](_0x18b345),console[_0x2a29e4(0x226,'gKs!')](_0x124b68+'完成任务['+_0x25f8e8[_0x2a29e4(0x2c9,'GUgw')]+']失败['+_0x18b345[_0x2a29e4(0x1f0,'BVCp')]+']'+_0x39642c);break;case _0x2a29e4(0x328,'bMne'):_0x18b345[_0x2a29e4(0x28e,'WnPw')]==='0'?_0x18b345['busiCode']==='0'?console['log'](_0x124b68+_0x2a29e4(0x22d,'rsFp')):(_0x39642c=common[_0x2a29e4(0x246,'PPU%')](_0x18b345),console['log'](_0x124b68+_0x2a29e4(0x20c,'MzPW')+_0x18b345[_0x2a29e4(0x2f4,'bMne')]+']'+_0x39642c)):(_0x39642c=common[_0x2a29e4(0x288,'$&JM')](_0x18b345),console[_0x2a29e4(0x2d7,'MzPW')](_0x124b68+_0x2a29e4(0x252,'LcoZ')+_0x18b345['code']+']'+_0x39642c));break;case _0x2a29e4(0x24a,'WnPw'):_0x18b345[_0x2a29e4(0x28e,'WnPw')]==='0'?_0x18b345[_0x2a29e4(0x2be,'k[1M')]==='0'?_0x201b17=_0x18b345[_0x2a29e4(0x25b,'EpYv')]:(_0x39642c=common[_0x2a29e4(0x296,'GUgw')](_0x18b345),console[_0x2a29e4(0x201,'gF@P')](_0x124b68+_0x2a29e4(0x24f,'V[cb')+_0x18b345[_0x2a29e4(0x214,'FmU8')]+']'+_0x39642c)):(_0x39642c=common[_0x2a29e4(0x29a,'WnPw')](_0x18b345),console[_0x2a29e4(0x299,'HHBj')](_0x124b68+_0x2a29e4(0x225,'DHl[')+_0x18b345[_0x2a29e4(0x30e,'$&JM')]+']'+_0x39642c));break;case _0x2a29e4(0x2c1,'!S4b'):_0x18b345[_0x2a29e4(0x1eb,'UGkx')]==='0'?_0x18b345[_0x2a29e4(0x339,'6lMg')]==='0'?(_0x2192b3-=parseFloat(_0x18b345?.['data']?.[_0x2a29e4(0x253,'^sx8')]),console[_0x2a29e4(0x299,'HHBj')](_0x124b68+'成功提现['+_0x18b345?.[_0x2a29e4(0x290,'$qaa')]?.[_0x2a29e4(0x2e8,'!S4b')]+_0x2a29e4(0x340,'qI9K'))):(_0x39642c=common[_0x2a29e4(0x287,'HHBj')](_0x18b345),console[_0x2a29e4(0x344,'u9wh')](_0x124b68+_0x2a29e4(0x209,'gKs!')+_0x18b345[_0x2a29e4(0x339,'6lMg')]+']'+_0x39642c),_0x39642c?.['includes']('此次提现失败')&&(_0x564319=!![])):(_0x39642c=common['getErrorMsg'](_0x18b345),console[_0x2a29e4(0x263,'V[cb')](_0x124b68+_0x2a29e4(0x209,'gKs!')+_0x18b345[_0x2a29e4(0x239,'A1N0')]+']'+_0x39642c));break;case _0x2a29e4(0x321,'HMSm'):_0x18b345[_0x2a29e4(0x238,'9Ed)')]==='0'?_0x18b345['busiCode']==='0'?(_0x7da8ba=_0x18b345?.[_0x2a29e4(0x223,'UGkx')]?.[_0x2a29e4(0x272,'HMSm')]||0x0,_0x538577=_0x18b345?.['data']?.[_0x2a29e4(0x25d,'Ts*R')]||0x0,console[_0x2a29e4(0x201,'gF@P')](_0x124b68+_0x2a29e4(0x31c,'V[cb')+_0x7da8ba+_0x2a29e4(0x318,'uamV')+_0x538577+'金币'),_0x58657e[_0x2a29e4(0x260,'pm1M')](_0x2a29e4(0x1ed,'rsFp')+_0x18b345?.[_0x2a29e4(0x203,'PPU%')]?.[_0x2a29e4(0x1f3,'pm1M')]+'元,金币余额:\x20'+_0x18b345?.['data']?.[_0x2a29e4(0x2d8,'pm1M')]+'金币')):(_0x39642c=common[_0x2a29e4(0x1f5,'RbA[')](_0x18b345),console[_0x2a29e4(0x31e,'^sx8')](_0x124b68+_0x2a29e4(0x29c,'HHBj')+_0x18b345[_0x2a29e4(0x27e,'gKs!')]+']'+_0x39642c)):(_0x39642c=common[_0x2a29e4(0x32e,'BNV%')](_0x18b345),console[_0x2a29e4(0x267,'e&]u')](_0x124b68+_0x2a29e4(0x269,'[FEf')+_0x18b345[_0x2a29e4(0x307,'#q#k')]+']'+_0x39642c));break;}}catch(_0x1f726a){console[_0x2a29e4(0x33a,'BVCp')](_0x2a29e4(0x33b,'r#FB')+_0x229048+_0x2a29e4(0x331,'WnPw')+(_0x1f726a['message']||_0x1f726a));}}async function _0x805ac(_0x3b193d){const _0xd96885=_0xbc9ca7;if($['runEnd'])return;let _0x4f1d3b='',_0x4b91c8=null,_0x1bed01=null,_0x5f347b=_0xd96885(0x2b1,'6(*Q'),_0x5a4be6={},_0x164988={},_0x4abd95={};switch(_0x3b193d){case _0xd96885(0x2bd,'EpYv'):_0x4f1d3b=_0xd96885(0x320,'#q#k'),_0x5a4be6={},_0x1bed01={'functionId':_0xd96885(0x2f8,'$&JM')},_0x4b91c8=common['queryStringToObject'](await getSign(_0xd96885(0x235,'Ts*R'),_0x5a4be6));break;case _0xd96885(0x21e,'k[1M'):_0x4abd95={'appId':_0xd96885(0x2a6,'#q#k'),'functionId':_0xd96885(0x301,'MzPW'),'appid':'video-redbag-h5','clientVersion':common['getLatestAppVersion'](),'client':'wh5','body':{},'version':'4.7','ua':_0x4c822a,'t':!![]},_0x164988=await H5st[_0xd96885(0x2b6,'MzPW')](_0x4abd95),_0x4f1d3b=_0xd96885(0x33f,'DHl['),_0x4b91c8=_0x164988['paramsData'];break;case _0xd96885(0x227,'bMne'):_0x4abd95={'appId':'d51cc','functionId':_0xd96885(0x257,'pm1M'),'appid':_0xd96885(0x245,'HHBj'),'clientVersion':common['getLatestAppVersion'](),'client':_0xd96885(0x250,'r#FB'),'body':videotaskbodyvar,'version':'4.7','ua':_0x4c822a,'t':!![]},_0x164988=await H5st['getH5st'](_0x4abd95),_0x4f1d3b=_0xd96885(0x266,'6(*Q'),_0x4b91c8=_0x164988[_0xd96885(0x205,'oxSn')];break;case _0xd96885(0x338,'Ts*R'):_0x4abd95={'appId':_0xd96885(0x326,'XRs3'),'functionId':_0xd96885(0x310,'9Ed)'),'appid':'video-redbag-h5','clientVersion':common['getLatestAppVersion'](),'client':_0xd96885(0x2f2,'gF@P'),'body':{'type':'20','assignmentId':_0x25f8e8[_0xd96885(0x285,'u9wh')],'itemId':_0x25f8e8[_0xd96885(0x281,'HHBj')]},'version':_0xd96885(0x27f,'6(*Q'),'ua':_0x4c822a,'t':!![]},_0x164988=await H5st['getH5st'](_0x4abd95),_0x4f1d3b=_0xd96885(0x1fb,'V[cb'),_0x4b91c8=_0x164988[_0xd96885(0x2c8,'WnPw')];break;case _0xd96885(0x1ee,'pm1M'):_0x4abd95={'appId':_0xd96885(0x279,'0hJ$'),'functionId':_0xd96885(0x30b,'UGkx'),'appid':_0xd96885(0x2ad,'r#FB'),'clientVersion':common[_0xd96885(0x255,'$&JM')](),'client':'wh5','body':{'type':'20','assignmentId':_0x25f8e8[_0xd96885(0x28a,'DUkU')],'itemId':_0x25f8e8[_0xd96885(0x22c,'p(]Y')]},'version':'4.7','ua':_0x4c822a,'t':!![]},_0x164988=await H5st[_0xd96885(0x335,'bMne')](_0x4abd95),_0x4f1d3b='https://api.m.jd.com/',_0x4b91c8=_0x164988[_0xd96885(0x28f,'PPU%')];break;case'videoRedPacketHomePage_exchangeCash':_0x4abd95={'appId':'8c80c','functionId':_0xd96885(0x2bc,'6(*Q'),'appid':_0xd96885(0x31b,'Ts*R'),'clientVersion':common[_0xd96885(0x1f4,'r#FB')](),'client':_0xd96885(0x22f,'oxSn'),'body':{},'version':'4.7','ua':_0x4c822a,'t':!![]},_0x164988=await H5st[_0xd96885(0x218,'Ts*R')](_0x4abd95),_0x4f1d3b=_0xd96885(0x24e,'rsFp'),_0x4b91c8=_0x164988[_0xd96885(0x2c5,'EpYv')];break;case _0xd96885(0x2a9,'qI9K'):_0x4abd95={'appId':_0xd96885(0x284,'HMSm'),'functionId':_0xd96885(0x240,'LcoZ'),'appid':_0xd96885(0x31b,'Ts*R'),'clientVersion':common[_0xd96885(0x23b,'u9wh')](),'client':_0xd96885(0x26f,'u9wh'),'body':{},'version':_0xd96885(0x315,'gKs!'),'ua':_0x4c822a,'t':!![]},_0x164988=await H5st['getH5st'](_0x4abd95),_0x4f1d3b='https://api.m.jd.com/',_0x4b91c8=_0x164988['paramsData'];break;case _0xd96885(0x1f1,'u9wh'):_0x4abd95={'appId':_0xd96885(0x215,'gF@P'),'functionId':_0xd96885(0x32a,'qI9K'),'appid':_0xd96885(0x28b,'nS5@'),'clientVersion':common[_0xd96885(0x2f9,'[FEf')](),'client':_0xd96885(0x25e,'GUgw'),'body':{'bizTraceId':_0x48b563[_0xd96885(0x341,'XRs3')],'amount':_0x48b563[_0xd96885(0x327,'#q#k')]},'version':_0xd96885(0x2a0,'qI9K'),'ua':_0x4c822a,'t':!![]},_0x164988=await H5st[_0xd96885(0x2dc,'oxSn')](_0x4abd95),_0x4f1d3b=_0xd96885(0x24e,'rsFp'),_0x4b91c8=_0x164988[_0xd96885(0x21a,'A1N0')];break;case _0xd96885(0x1ef,'9Ed)'):_0x4abd95={'appId':_0xd96885(0x221,'u9wh'),'functionId':'videoRedPacketHomePage_queryMoney','appid':_0xd96885(0x248,'FmU8'),'clientVersion':common[_0xd96885(0x26e,'FmU8')](),'client':_0xd96885(0x2d5,'DUkU'),'body':{'activitySource':'1','realClient':_0xd96885(0x2ed,'UGkx')},'version':_0xd96885(0x2af,'xCuW'),'ua':_0x4c822a,'t':!![]},_0x164988=await H5st['getH5st'](_0x4abd95),_0x4f1d3b=_0xd96885(0x2fe,'PPU%'),_0x4b91c8=_0x164988[_0xd96885(0x251,'pm1M')];break;default:console[_0xd96885(0x2cd,'EpYv')]('❌\x20未知请求\x20'+_0x3b193d);return;}const _0x2596ac={};_0x4b91c8&&Object['assign'](_0x4b91c8,_0x2596ac);_0x1bed01&&Object[_0xd96885(0x2d2,'PPU%')](_0x1bed01,_0x2596ac);const _0x8cbc0c={'url':_0x4f1d3b,'method':_0x5f347b,'headers':{'origin':_0xd96885(0x27c,'p(]Y'),'Referer':_0xd96885(0x268,'6(*Q'),'User-Agent':_0x4c822a,'Cookie':_0x23b5d4,'content-type':'application/x-www-form-urlencoded','accept':'application/json,\x20text/plain,\x20*/*'},'params':_0x1bed01,'data':_0x4b91c8,'timeout':0x7530};_0x5f347b==='GET'&&(delete _0x8cbc0c[_0xd96885(0x259,'r#FB')],delete _0x8cbc0c[_0xd96885(0x233,'^sx8')][_0xd96885(0x1fe,'hPdS')]);const _0x1469f1=0x1;let _0x4d5487=0x0,_0x237318=null;while(_0x4d5487<_0x1469f1){_0x4d5487>0x0&&await $[_0xd96885(0x22b,'LcoZ')](0x3e8);const _0x4049bb=await common[_0xd96885(0x330,'6lMg')](_0x8cbc0c);if(!_0x4049bb[_0xd96885(0x22e,'k[1M')]){_0x237318='🚫\x20'+_0x3b193d+_0xd96885(0x2d4,'LcoZ')+_0x4049bb[_0xd96885(0x31d,'$qaa')],_0x4d5487++;continue;}if(!_0x4049bb[_0xd96885(0x2a2,'rsFp')]){_0x237318=_0xd96885(0x22a,'[FEf')+_0x3b193d+_0xd96885(0x32f,'xCuW'),_0x4d5487++;continue;}await _0x282c49(_0x3b193d,_0x4049bb[_0xd96885(0x323,'Efqk')]);break;}_0x4d5487>=_0x1469f1&&console[_0xd96885(0x2d7,'MzPW')](_0x237318);}}async function getSign(_0x33bf57,_0x890277){const _0x163858=_0x9fae6e,_0x2f8356=await common[_0x163858(0x337,'XRs3')]({'url':randomApi,'method':'POST','headers':{'Content-Type':_0x163858(0x1f2,'DUkU')},'body':JSON[_0x163858(0x244,'UGkx')]({'fn':_0x33bf57,'body':_0x890277}),'proxy':null,'debug':![],'timeout':0x7530}),_0x1c6048=_0x2f8356[_0x163858(0x2e0,'RbA[')];if(_0x1c6048&&_0x1c6048[_0x163858(0x2ba,'V[cb')])return _0x1c6048[_0x163858(0x311,'XRs3')];else console[_0x163858(0x210,'gF@P')](_0x163858(0x219,'$qaa'));}
// 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)}