mirror of
https://github.com/shufflewzc/faker3.git
synced 2024-11-10 09:39:18 +08:00
19 lines
38 KiB
JavaScript
19 lines
38 KiB
JavaScript
/*
|
||
活动名称:玩一玩欧洲杯抽奖
|
||
环境变量:jd_wyw_lottery_threads // 控制并发线程数(正整数),默认1,最大3,尽量使用默认值,否则请开启代理运行
|
||
jd_wyw_lottery_interval // 自定义运行间隔时长(整数,单位毫秒),默认1000
|
||
jd_wyw_lottery_notify // 是否推送通知(true/false),默认不推送
|
||
jd_wyw_lottery_pinFilter // 账号pin过滤,多个用@进行分割
|
||
|
||
高并发脚本,谨慎使用并发
|
||
活动限制IP严重,建议使用代理
|
||
|
||
cron:1 1 1 1 *
|
||
|
||
*/
|
||
|
||
const $ = new Env('玩一玩欧洲杯抽奖')
|
||
const _0x114055=_0x4d34;(function(_0x3dc3bd,_0x100f09){const _0x3649e2=_0x4d34,_0x5a09af=_0x3dc3bd();while(!![]){try{const _0x22f9c7=-parseInt(_0x3649e2(0x1d9,'SrqN'))/0x1*(parseInt(_0x3649e2(0x196,'R3y9'))/0x2)+parseInt(_0x3649e2(0x1b0,'skc1'))/0x3+-parseInt(_0x3649e2(0x1f0,'@^&2'))/0x4+parseInt(_0x3649e2(0x1f4,')#ib'))/0x5+parseInt(_0x3649e2(0x17c,'6y)$'))/0x6*(parseInt(_0x3649e2(0x1fc,'^OQ4'))/0x7)+-parseInt(_0x3649e2(0x1cf,'R3y9'))/0x8+-parseInt(_0x3649e2(0x29f,'R3y9'))/0x9*(-parseInt(_0x3649e2(0x2a0,'ST%j'))/0xa);if(_0x22f9c7===_0x100f09)break;else _0x5a09af['push'](_0x5a09af['shift']());}catch(_0x29b6d6){_0x5a09af['push'](_0x5a09af['shift']());}}}(_0x118e,0xdce8e));const jdCookie=require(_0x114055(0x26f,'!Yp2')),notify=require(_0x114055(0x1f1,')#ib')),common=require(_0x114055(0x168,'zf@$')),{H5st}=require(_0x114055(0x1cd,'ST%j'));let linkId,taskThreads=process[_0x114055(0x244,'QxVf')][_0x114055(0x20c,'7apz')]||'1';const runInterval=process[_0x114055(0x276,'4[vG')][_0x114055(0x23c,'4[vG')]||_0x114055(0x1e3,'^OQ4'),isNotify=(process[_0x114055(0x1ff,'nQWY')][_0x114055(0x284,'#D@K')]||process['env'][_0x114055(0x26c,'7apz')])===_0x114055(0x226,'zf@$'),pinFilter=(process[_0x114055(0x296,'M7%1')][_0x114055(0x221,'w7P#')]||'')[_0x114055(0x20e,'[[84')]('@');function _0x118e(){const _0x16a0f8=['W44xfe1maCkEW5C','m3FcOCkjWRJcHG','W7y3jSoG','WOHgf1q','iSonpW','W5dcPColW4q','uhqgvsD0mq','W4BcOCopW4NdP8kuWRy','W7ZdGfxdMYpdOq','W6JdNfxdTZ7dRtWM','xSkEpCol','ESk3a0lcKxhdTXj0WRJcJ8ozh8o3W4hdISowFmolwCkFWRC3W5O','6lEz5y+q5PAE5PwO','W7i9nSojDCk7pexdJGnxWRtcOCom','vHDtgW3cR8ogsa','hmkRWQpcQ8kmW43cRYZcJSkYamkwb8k2ntddPCoYv8k5Cmkpia','6AA/6Akk5AwL6lAA77Yj','W4NdUL3dMaTprhRdPJPQW5ZcNSkVWPq/pb13','WO7dIHe','gCkDW4GGDYbOFa','W4CGaSkz','zSkIbfNcPItcJfr4WQ3cLq','W6vxBCkTWObZfCor','WQTGW6zDi8ofeqKCir/cLr3cPtTu','WOr7WOOwwSkbW7NcV8osvwuKASopuvKNWPFdRIvFumovW7NcLCkNr8oUgCorW63dNNBcHG','W5JdVCkIESk2umkBDK4hamkzzmoteSoenNldRM1qmSkUWPC','ySoAx8kf','ebbwW4HZWPrR','WOjiWQFdUwnJpKhdOfimlKHli8opp8olWQa','WQ49W4m','AmkiW4/dVHrxW54w','jCkXW6ayd2RcMhCRd8kOtmkMWRmppwFdKSoWyYa','4PIUWPxOH5hLRitKUitOVzxOOjxPLRBPMkVMLzdPLBdOR53NV4ZPLjBORAy','W7xdPSoUdSkXW6iBW79tW5z8W7uOC8oIWO7dNSkxxahcNYJcTa','DKiPW7/dOCoIWOS','W7vHWOjQW7DexL8bW70','WQHKW6z1','4PY2tUADUEEDQ+IVQ+AXIrO','fbPq','5P6R6k2a5lQJ5yQ05AwG6lE677+U','rHDueq','W7W2iCoPB8k4mfG','imo7rGBcRI3cIgrGWRW','gmokeW','W6zxD8kYWODYf8odWOVcMJhdISkm','fhBdJG','WPvmWQhdLg9Kh1pdOhi','jEwLHoI0KU++TG','smkCimowzCknsLqwdtewemoPW7ORzr/dOG','WRldNt44hGjFxW','sx0HiMWwcvRdQG1D','WRmZW4m5W69SAvecW5hcLsGRWQ4','44k+5O2p56st44kf6k6D5ywZ6i6w5y+FW5euDCohWQhcRW','WOZdSvK','W7xcLmkLEsy','W6/dHuJdMIldKtGXW5q','WRJdMZC','WPddKbH+WRqp','DSkhW4xdPG','W4ddU8k/CmkGpSonkuO','nmosW4NdTLy','WRtcUqZcL03dKqBcLxJcMrNcPa','W6xdTgBdGCoXehZdTL85W64','4P6Zb+IfPoACJoI/T+IGOEMcI+wkSos7MoMwM+IUIxy','5y2w6yw65BY75zkX54U75Okezh/cGSkBmL7cNZlcTmkn','W5lcSCorW4BdSSkEWRXZ','w8kkoSo6FCka','b0bHW48','WRCGW5KOW4zgA1Wt','WOvHWP0kxmoFWRpdOW','bmoqb8kn','W4FcOeCrWObGW7PLW5dcLa','hCokbW','fbbzW4TIWO4','gu9RW5FdICoaeCkN','cWbhW4LKWQP9EutcILhdQNxcJLy','kFcFGOyw6l6s6kgl57Qr5PYzpq','5lQ/5yQY5AEs6lAT772X5RgX5P+v6i+O5yYt5yQr5lU65yUtWQGC','dq86W7PiyLFcMq','W5xLRjhMIAVVVRpLJO/MIAdLPkG','WRRcI8oXqSk2Ca','5l+65Ogf5yMo','W4ldSe4','tJ3cNmoyW6ZdU8oCWQpcPCkGWQ9shq3cRI/dMaFdVCkdxa','W5JcQ8oy','FuG6','44cc6lEL5y6a','WP3cQHJcPvinew3dOdH9W6BcJq','WQq9W5q3','tHLh','W4FcS1WkWOHAW4PHW4NcHG','W4JdTKxdOa9j','W4NdUL3dMq9iuMJdTr4','evfmW5tdSmongCk9y8k5W6pcN3xdUsVdPSkC','yHfQASkQWOL7pZeKWRyjW6/dLJ8KCSkmW6dcObldTbpdRCojW5pcH0/cSsVdJa','aGHW','W6/dUhW','FSkMgvxcLIm','pmodnNe+WRi','FSkSea','5lMa5yIM5Awp6lwt77+U5RcA5PY16iYj5y+45yIo5lU15yIlW6P5','ECkIWOZcRa','jSodk0uJWRBcMJTcwtT2nCotpW','WOjQWPScE8oEWRVdV8ofqe9LAmkkuLHaWPRdPs0i','omkGW6qikhW','W5RcPCosW4a','eWaWW6jPB1/cJW','gW0NW6DQyK7cLvXIzmo9WPHte8khW6uKWQa','W7hcHSkuEZzqbrlcISoevSo0','DsFcS8ozkCkeWReu','W5tdPSkW','W7ZdOSoEeCkoWRfzWRLxW7b6W7WOuCkTWPdcMW','nhlcKCoPemkJWPG+WRhdGa','evj7W5ldM8ok','A8owW4mT','5l6V5OcY5yIwqG','W5eic1roaCk/WQ8mW6CegCobB1G+','ySk2bfO','WRtcVqpcLK3dLfxcHvJcJXNcT8o8','W4uOgmkzWPNdIbu','WQmjk8oCw8kTlwtdIrXyW7lcMCozW5bPW4tcGmoEW5OAWOC','ucRcKmogW5VdMSouWR/cSa','sfDRWRCVoW7cPhT4B8oNWR4','eSkrW5emCqfZFdblsa','e05SW54','qCklimopymoEerisdGDieCkMW6qPja7dOmkTpIDKW4u','hXbdW6qJWPvS','zGP5','s1OdW59ix1FcTW','qMirxZrUnSoSuG4tsNKMWOlcPqxcGte','WPTUWPCsFCosWRVdTq','W6lcL8kUFIPw','hqSNW4j9F1/cJ01qs8o9WQjxfCksW6m5WQm','rwGD','dXDeamopoSo/E8oLWQOsW6RdUt7dPa','WO/dUbddO0ddNhq','WOpdLsjAWQKaWOWjo8kfWQlcUq','W5BdPG4','rCkvrmov','W5BcOMOeWQLaW6nPW4NcS8oyW6xdM8kwW552W64','WO3dQL7dNmk4W7hcNmk2W7NdTXBdJaTvsmouCCo6gsJcHCoFWQhcH3/dRxekW43dM8oCBmo3W77dJSkJuCocWOpdNCoNWRKVC8kQcua','WQyXW4q7W5vSCfetW7BcOZuIWRZcNG8SWPNdUG','W6/dVL7dJZhcGW','W5/dRmkJW5ZcQSorW5fdddvC','5AAH6lEt77+A','W7jMW5u2WPq','sheT','WPldHarAWRCyWOWno8kf','W4RdVL3dTq','5OIE5Asx5Awh6lED77+V','omkHW7uzl0pcKhK6h8koA8kMWRudb0/dJ8oNBYVdOq','imo6tWVdKxVdRgvxWQhcSSkDoa','WRT3n8oXC8kWjGtdJXjuWQxcUmomWQjtWPNcG8otW59RWOHVfG8vW6y','W5CDW6hcHtqGAaxdVxOefLfI','W7xcJSkPBG','WQfTDmkYk8oSjxZdLb9GWQe','s2ONcgW','bSkXW6ddQmouWPhcRftcLCk/nmks','5Rwb5yUg5BAH57Mb57Up5P2u5lQ8WOi','s8oVW6GkWPxdKG','WQmZW4qZ','W6lcK8kXBYbinq','wmoRWR/cSq','rSkDrCorW6rYj8kCh8oI','pConnxa','qtVcJCovW4JdT8ofWQxcTSk2WRnnhGFcSYZdVHVdTa','n3tcUa','W67dVK/dKGVdNuZdIg/cSWBdICoeW4RcGri3jmoztmogzmklW5i','BCkjW4S','qCoWWQtcTSklW4BcTwxcPq','WPzcWR7dKa','WRldQIvV','WOZdIGe','W48Ueq','BmkhW5q','W4tcPConW4tdQ8keWPD8kNm','WQDRCmk9tSkDd0ZdQG8','WONdSu0','phVcO8kz','WQzHW41JnmoEjWSwfGtcNHVcUqPus8oTWO/dNNSj','5y2n6yAx54U05Oke57Uj5P6dAbBcOeOlW73dQCkcW4aD','yLCXW57cOa','W7Tyz8k1WQf+hCoh','gKjtWP0H','5yUI5yMpW54','W5CGbCktWQhdNrZdSq','WPpdVa/dNG','W4ldRmkNF8kGgCoa','dWP4aCoapa','W6ldQ0/dGW','qrfIW5BdL8oijSkd','W5ZdQmkJW7G','W7vtCmkrW6fPda','zCout8kb','W6fABCk6WRe','W4OUbq','tUIUKoAXLEwsUEw4UMG','iEISKEAZRUwMO+I1HbpINkDf5PsD5zon5BMH5PwC5O6N','5Awf6lAa772U','W6RMI4lLIRfl4P+Gcq','tmo+WOvZaZhdMSkmWPRdJ1vqpuRdVLNcJSkLWPhdUSoRWQJcT8oq','khBcJCoVcCk4','BqbQuSoSW4aG','W6JdQ1BdHW','W5dcT1ONWOrDW6TZW4NcPSobW7JdQmkNW412W6XHW6K','rSo2WQpcUG','W63dP8oPfG','W4NcHSkUWPNcP3nxDSkx','wCo8W7akWOddNSoeCWhcNHlcU8kRWQ/cRmo6W7ZdNCkp','WOtdQbJdNaxcRG0','FCoKW6eFAq','WOHUWOOh','fGe0','zKy0W4pcGmo4WPldNG','yKGWW5i','f0r8W7pcICoxaa','WOZdSeNdGmo3WRRdLSkM','WQ/cM8oXuSkz','5P2R6k2x5lUa5yI/5Aw86lAG772d','WQtcM8oXymkSFa','W5NdVKddOd5stgW','WPhdV1NdH8owWQFdG8kW','WPnceeDtbq','xSoHWRJcUmkrW4K','W4qKaSk0WPtdKaNdP3VcTZHJsmkgW6ddJmkMlCol','WOBdHajA','pCoxkhaJWPpcKs5KtYPZnmobjmo6W7nY','W7Hsw8kUWQ1Tj8oyWRdcHZhdG8kBsCkWANddSG7cTCoZCtG','DCkMa2lcKctcOergWRZcH8kdb8kQ','q8kqpCor','W7e5nSoK','i3BcL8ofgmkJWQ8+WQldHa','5l2G5Okv5yIpWOu','uI3cL8o5W5ddUG','wokFQrC','W5xdP8kG','eCkvW5eO','iw/cRCkFWRpcGsm','W5/dRmkJW5RcT8omW5vyjbbAW7K7bG','WQe7W547W5bTyvW','W4eUgCkuWPddHqi','WPVdSHW','vEISG+AZP+wLUoI0PLpINOaU','E8kQWPBcPbq6W6ZdO8oKyq','CCohuSkAAuNcRaDe','uqnqfsVcMSottatdUaVcUmosW4WAeWSetmkRW63dRW','fmkeW5uLAHb9EHrxqCo9WQ53W7KTW5VdL8kYWQBcJCk3FSkxccFdSxlcRgfRW7u2','W5JcOXFcKCk/W6pcJSoOWQVcRG','W5xdGNRdSd3cUa','5lUP55gJ5BYE5ywPW6pcKW8','hs1KvIzsvKZdLt1DvmoG','vHDtgWRcUCodxWddQdVcGSor','x8o6W7aRW4pdHmoe','W6/dPuG','s8oRW6uxWOpdHa','5A2w54Qx776f','WQtcKCo4','W4pdRe4','she5e3Sw','yviUW58','he5V','CCkSWP8','jSoTqa','s3OWbh0','jwpcKmomeSkeWR0SWQ4','6lEY5y2d6l6x5RQ1v0PH','5BE46k+B572W6lEP6lYE6l2J6kcy5B2d5yID6lwY5yYO','W5BcI0e','hSobwCkwW51KeSk3r8o7gSk5WRlcPSkg','5yQB5yIFWO0','6zEs6zIo5PsS6zw7qgBdNG','W6xcHCkLAazujri','6AwP6Ags5Awp6lsf77Y9','W6jeBCkJWRfzf8oAWRNcMIldQmkixCkk','eHONW75VmrxdK0LJvmkJWPKCdCkfWQq1WQjxW68hWQX0W7feWRxdKSkPfv3dPSonWQqeW4OoC8k0WQ3cRmkGb8oSWPddKL/dHSkpkXDrWRhcT8kIcmoEWOGNWPxcOCkRcwxcSvXce8o7WPOcWOK','WQzHW41JnmoEjWSwfGtcNHVcUqPUtmoRWOpdMwy','WPzyWRhdHNzLmLZdSW','WRJcN8oTzSk1z8kjxZGy','WQdcMLhdUG7dQJyPW5BdGW','6yky55205O666ykfWRLcsa','5Awj6lwq77YT','W67dVNu','rZ3cJCo0WOVdRCof','sZ3cGmop','W6jeBCkJWRftdmorWRlcGa','W7DyCG','WRq9W503','EGrSE8k0W4aqCsq1','WQddLsm6jb5FvSkKWP3dIWe','b0bHW4/dQmongCkX','qCoWWRFcQ8kqW5i','W7JdQbacWOFdLuJcK3PhFSop','W4qKaSk9WOFdLGpdPKlcHs8','W4f2eSojW4i','W5RdVLRdVYnvuMZdOa8','W4xdLey','BGrQEW','W5ldQr0AWPFdN1NdJq','E8kTff7cLY/cVu4','sJZcPSolW4FdQCoUWQdcVmkXWPHyab/cMctdVH3dSmkaxq','pSkNW6aog2BcM3eUaSkor8kDWRelpv0','W7GRWQu','W7BcN8kUCZztdXlcM8ob','W7qRmCoSFCkY','W4VcHmk4WRZcVei','W4OVfCkuWOddGaNdPW','W5xcTmo7W4RdISkEWR50kKyAA8oHDmobE8k2','ig/cOmk5WRJcLG','W5/dRmkJW5xcUCoxW5TcnqDlW6uybSomW6VdG8kMzW','W5pdPSkYBW','W4ZdPHCcWRBdKLhdM10','W7q7nSoSBmk1iuldUarPWRdcUmoEWOLgWPpcN8oA','W7NdLfldQHNdRdqN','a8oehCkr','W57cVeOoWP1MW6G','WPVdQbtdJGFdO2usiuBcTSoFbwBdLXO0WRZdMZSqW4m','5OM65Ase5AAb6lw37765','W57dQqG','nCkBda','stBcJ8ovW4RdU8oJWQNcOmkWWObj','cCoNda','W5ZdPSkX','W5NcOComW5BdP8kqWRy','vWvfaH/cUCoAqqZdUG','WPX9WPCCtmo/WRpdO8oq','WOZdVbddIG','WRtcUGNcKK7dKfddKgFcQHFcR8oMWQG'];_0x118e=function(){return _0x16a0f8;};return _0x118e();}function _0x4d34(_0x141fed,_0x1d1a11){const _0x118ef6=_0x118e();return _0x4d34=function(_0x4d34bf,_0x12a3cc){_0x4d34bf=_0x4d34bf-0x15f;let _0xfe2f43=_0x118ef6[_0x4d34bf];if(_0x4d34['MhZtpb']===undefined){var _0x34a645=function(_0x203bd5){const _0x1d9872='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2f4469='',_0x27a576='';for(let _0x325a30=0x0,_0x223091,_0x1fb70c,_0x365476=0x0;_0x1fb70c=_0x203bd5['charAt'](_0x365476++);~_0x1fb70c&&(_0x223091=_0x325a30%0x4?_0x223091*0x40+_0x1fb70c:_0x1fb70c,_0x325a30++%0x4)?_0x2f4469+=String['fromCharCode'](0xff&_0x223091>>(-0x2*_0x325a30&0x6)):0x0){_0x1fb70c=_0x1d9872['indexOf'](_0x1fb70c);}for(let _0x1c0ae1=0x0,_0xaa9076=_0x2f4469['length'];_0x1c0ae1<_0xaa9076;_0x1c0ae1++){_0x27a576+='%'+('00'+_0x2f4469['charCodeAt'](_0x1c0ae1)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x27a576);};const _0x7f4c4=function(_0x4a7946,_0x502f3a){let _0x495237=[],_0xaea665=0x0,_0x1779f5,_0x593012='';_0x4a7946=_0x34a645(_0x4a7946);let _0x15d8be;for(_0x15d8be=0x0;_0x15d8be<0x100;_0x15d8be++){_0x495237[_0x15d8be]=_0x15d8be;}for(_0x15d8be=0x0;_0x15d8be<0x100;_0x15d8be++){_0xaea665=(_0xaea665+_0x495237[_0x15d8be]+_0x502f3a['charCodeAt'](_0x15d8be%_0x502f3a['length']))%0x100,_0x1779f5=_0x495237[_0x15d8be],_0x495237[_0x15d8be]=_0x495237[_0xaea665],_0x495237[_0xaea665]=_0x1779f5;}_0x15d8be=0x0,_0xaea665=0x0;for(let _0x21b654=0x0;_0x21b654<_0x4a7946['length'];_0x21b654++){_0x15d8be=(_0x15d8be+0x1)%0x100,_0xaea665=(_0xaea665+_0x495237[_0x15d8be])%0x100,_0x1779f5=_0x495237[_0x15d8be],_0x495237[_0x15d8be]=_0x495237[_0xaea665],_0x495237[_0xaea665]=_0x1779f5,_0x593012+=String['fromCharCode'](_0x4a7946['charCodeAt'](_0x21b654)^_0x495237[(_0x495237[_0x15d8be]+_0x495237[_0xaea665])%0x100]);}return _0x593012;};_0x4d34['IVdAgj']=_0x7f4c4,_0x141fed=arguments,_0x4d34['MhZtpb']=!![];}const _0x49fe29=_0x118ef6[0x0],_0x2fb129=_0x4d34bf+_0x49fe29,_0x28ab48=_0x141fed[_0x2fb129];return!_0x28ab48?(_0x4d34['acPZzP']===undefined&&(_0x4d34['acPZzP']=!![]),_0xfe2f43=_0x4d34['IVdAgj'](_0xfe2f43,_0x12a3cc),_0x141fed[_0x2fb129]=_0xfe2f43):_0xfe2f43=_0x28ab48,_0xfe2f43;},_0x4d34(_0x141fed,_0x1d1a11);}let shareCodes=[],needRemoveCodes=[],hasGetBasicInfo=![],cookiesArr=Object[_0x114055(0x274,'#D@K')](jdCookie)[_0x114055(0x1e2,'M7%1')](_0x7f4c4=>jdCookie[_0x7f4c4])[_0x114055(0x25b,'n(4K')](_0x203bd5=>_0x203bd5);!cookiesArr[0x0]&&($[_0x114055(0x25a,'skc1')]($[_0x114055(0x224,'R3y9')],_0x114055(0x18d,'skc1')),process[_0x114055(0x1f3,'g#2O')](0x1));!(async()=>{const _0x92b69b=_0x114055;notify['config']({'title':$[_0x92b69b(0x20b,'nQWY')]}),await Main(),isNotify&¬ify[_0x92b69b(0x1b5,'skc1')]()&&await notify[_0x92b69b(0x25c,'[[84')]();})()['catch'](_0x1d9872=>$['logErr'](_0x1d9872))[_0x114055(0x1d0,'vzWN')](()=>$['done']());async function Main(){const _0x3b8bc9=_0x114055;try{authorCodeList=await jsonurl(_0x3b8bc9(0x1e5,'@6XU'));if(authorCodeList&&authorCodeList['length']>0x0)for(let _0x27a576=0x0;_0x27a576<authorCodeList[_0x3b8bc9(0x234,'LJ)E')];_0x27a576++){linkId=authorCodeList[_0x27a576];}else linkId=_0x3b8bc9(0x1d1,')#ib');try{const _0x325a30=parseInt(taskThreads);_0x325a30>0x0&&_0x325a30!==0x1&&(taskThreads=_0x325a30);}catch{taskThreads=0x1;}taskThreads=Math[_0x3b8bc9(0x1b9,'pa1X')](taskThreads,0x3),$['waitTime']=null;if(runInterval)try{const _0x223091=parseInt(runInterval);_0x223091>=0x0&&($[_0x3b8bc9(0x1db,'EjOb')]=_0x223091);}catch{console[_0x3b8bc9(0x1bc,'@^&2')](_0x3b8bc9(0x179,'!Yp2'));}$['needRemoveCookieIndex']=[],console[_0x3b8bc9(0x191,'P%m@')](_0x3b8bc9(0x250,'@6XU')+$['name']+_0x3b8bc9(0x199,'!Yp2')),console[_0x3b8bc9(0x184,'^OQ4')](_0x3b8bc9(0x267,'w7P#')+$['waitTime']/0x3e8+'秒]运行间隔时长'),console[_0x3b8bc9(0x2a4,'BKdH')](_0x3b8bc9(0x252,'e7Mk')+common[_0x3b8bc9(0x23d,'@^&2')]()+']'),console[_0x3b8bc9(0x259,'LJ)E')](_0x3b8bc9(0x270,'pa1X')+(isNotify?'开启':'关闭')+']'),console['log'](_0x3b8bc9(0x262,'P%m@')+pinFilter[_0x3b8bc9(0x1fb,'zf@$')](',\x20')+']'),console[_0x3b8bc9(0x16b,'6Nmq')]('=========='+$[_0x3b8bc9(0x1c2,'i0@f')]+_0x3b8bc9(0x20d,')#ib')),console[_0x3b8bc9(0x1b8,'JNt9')](''),await common['concTask'](taskThreads,cookiesArr,taskFnc),$[_0x3b8bc9(0x1bf,'BKdH')]=![],$[_0x3b8bc9(0x19b,'JoUJ')]=![];$[_0x3b8bc9(0x1c0,'EjOb')][_0x3b8bc9(0x222,']LQT')]>0x0&&(cookiesArr=cookiesArr[_0x3b8bc9(0x1b4,'skc1')]((_0x1fb70c,_0x365476)=>!$['needRemoveCookieIndex'][_0x3b8bc9(0x19e,'EjOb')](_0x365476+0x1)),$['needRemoveCookieIndex']=[]);const _0x2f4469=notify[_0x3b8bc9(0x240,']LQT')]();_0x2f4469&&console[_0x3b8bc9(0x1ad,'i0@f')](_0x3b8bc9(0x1a5,'c3T)')+_0x2f4469[_0x3b8bc9(0x160,'i0@f')](/:/g,_0x3b8bc9(0x243,'WR!6')));}catch(_0x1c0ae1){console[_0x3b8bc9(0x1c7,'aL&*')](_0x3b8bc9(0x198,'ST%j')+_0x1c0ae1);}}async function taskFnc(_0xaa9076,_0x4a7946){const _0xc57937=_0x114055;if($[_0xc57937(0x192,'6Nmq')])return{'runEnd':!![]};const _0x502f3a=decodeURIComponent(common[_0xc57937(0x247,'aL&*')](_0xaa9076,'pt_pin'));function _0x495237(_0x2c66e5,_0x1f93a8){const _0x275e0a=_0xc57937;if(_0x2c66e5['length']<=0x4)return _0x2c66e5;else{const _0x40a355=_0x2c66e5[_0x275e0a(0x21b,'4[vG')](0x0,0x2),_0x493b4c=_0x2c66e5['slice'](-0x2),_0x29ec82=Math[_0x275e0a(0x207,'0uk^')](_0x1f93a8-_0x40a355[_0x275e0a(0x1ba,'@^&2')]-_0x493b4c[_0x275e0a(0x1a2,'WR!6')],0x0),_0x5f5008='*'['repeat'](_0x29ec82);return _0x40a355+_0x5f5008+_0x493b4c;}}const _0xaea665=decodeURIComponent(_0x502f3a),_0x1779f5=_0x495237(_0xaea665,0x6),_0x593012=_0xc57937(0x1af,'@^&2')+_0x4a7946+'】'+_0x1779f5+':',_0x15d8be=notify[_0xc57937(0x289,'lNYX')](_0x4a7946,_0x502f3a);if(pinFilter[_0xc57937(0x238,'zf@$')]>0x0&&(pinFilter[_0xc57937(0x20f,'4[vG')](_0x502f3a)||pinFilter[_0xc57937(0x28a,'vzWN')](encodeURIComponent(_0x502f3a)))){_0x15d8be[_0xc57937(0x1eb,'n(4K')](_0xc57937(0x263,'e7Mk')),console['log'](_0x15d8be[_0xc57937(0x170,'7apz')]()),$[_0xc57937(0x1ac,'#D@K')][_0xc57937(0x25c,'[[84')](_0x4a7946);return;}const _0x21b654=await common[_0xc57937(0x166,')#ib')](_0xaa9076);if(!_0x21b654&&typeof _0x21b654===_0xc57937(0x249,'vzWN')){console[_0xc57937(0x17f,'WR!6')](_0x593012+_0xc57937(0x165,'ST%j')),_0x15d8be[_0xc57937(0x1de,'c3T)')]('账号无效'),$[_0xc57937(0x178,'Aw#&')][_0xc57937(0x19f,'^OQ4')](_0x4a7946);return;}const _0x3495d0=common[_0xc57937(0x232,'LJ)E')](_0x502f3a);let _0x58ae9d=![],_0x30b152=![],_0x12eb11=![],_0x37a1a5=![],_0x5c428b=0x0,_0x2bd93b,_0x139f7c,_0x5b829c,_0x7c3b7c,_0x10289d,_0x5854e3;await _0x3f652c('superLeagueHome'),await $[_0xc57937(0x163,'JoUJ')](parseInt($[_0xc57937(0x27a,'I%)g')]*0x1+0x1f4,0xa));if($[_0xc57937(0x28c,'nQWY')]||_0x58ae9d)return;if(_0x2bd93b){_0x5c428b=_0x2bd93b['remainTimes'];if(!hasGetBasicInfo&&_0x2bd93b[_0xc57937(0x1a0,'4]Jc')]){hasGetBasicInfo=!![];const _0xa63d47=_0x2bd93b[_0xc57937(0x275,'4[vG')]['map'](_0x4fa2b8=>_0x4fa2b8[_0xc57937(0x19d,'6y)$')]),_0x4237bb=_0xa63d47[_0xc57937(0x23e,'JoUJ')](',');console[_0xc57937(0x20a,'@6XU')]('活动奖品:'+_0x4237bb+'\x0a');}await _0x3f652c('apTaskList');let _0x2f657f=![];if(_0x10289d&&Array['isArray'](_0x10289d))for(let _0x54d428=0x0;_0x54d428<_0x10289d[_0xc57937(0x237,'ST%j')];_0x54d428++){_0x139f7c=_0x10289d[_0x54d428],_0x5b829c=_0x139f7c[_0xc57937(0x254,'xWOd')];const _0x80ab13=_0x139f7c['taskFinished'],_0xcfb75=_0x139f7c['taskShowTitle'],_0x3b4ca3=_0x139f7c[_0xc57937(0x18c,'6y)$')],_0x519b4f=_0x139f7c[_0xc57937(0x16e,'@^&2')],_0x55e45a=_0x139f7c[_0xc57937(0x236,'@6XU')];if(!_0x80ab13&&_0x55e45a[_0xc57937(0x177,'0uk^')]('BROWSE_')){if(_0x5b829c)for(let _0x26966e=_0x519b4f;_0x26966e<_0x3b4ca3;_0x26966e++){_0x2f657f=!![],await _0x3f652c(_0xc57937(0x1b6,'I%)g')),await $[_0xc57937(0x292,'^OQ4')](parseInt($[_0xc57937(0x16f,'4[vG')]*0x1+0x5dc,0xa));}else{_0x37a1a5=![];while(!_0x37a1a5&&!_0x58ae9d){_0x2f657f=!![],await _0x3f652c(_0xc57937(0x1c5,'g#2O')),_0x37a1a5=_0x5854e3?.['status']?.[_0xc57937(0x18a,'P%m@')]||![];const _0xcb1f4f=_0x5854e3?.[_0xc57937(0x279,'P%m@')]||[],_0x4558e8=_0x5854e3?.[_0xc57937(0x257,'!!aH')]?.[_0xc57937(0x287,'g#2O')];for(let _0x3cbfac=0x0;_0x3cbfac<_0x4558e8;_0x3cbfac++){const _0x5ae34a=_0xcb1f4f[_0x3cbfac];_0x5ae34a?(_0x5b829c=_0x5ae34a[_0xc57937(0x1e7,'R3y9')],_0x7c3b7c=_0x5ae34a['taskInsert'],await _0x3f652c('apStartTaskTime'),await $[_0xc57937(0x2a3,'ST%j')](parseInt(Math[_0xc57937(0x1bb,'BKdH')]()*0x1f4+0x1770,0xa)),await _0x3f652c(_0xc57937(0x1c8,'TOI^')),await $['wait'](parseInt($[_0xc57937(0x291,'!Yp2')]*0x1+0x5dc,0xa))):console['log'](_0x593012+_0xc57937(0x1a6,']LQT'));}}}}else{if(!_0x80ab13&&_0x55e45a[_0xc57937(0x231,'@6XU')]('FOLLOW_')){if(_0x5b829c)for(let _0x4d1ed7=_0x519b4f;_0x4d1ed7<_0x3b4ca3;_0x4d1ed7++){_0x2f657f=!![],await _0x3f652c(_0xc57937(0x228,'lNYX')),await $['wait'](parseInt($[_0xc57937(0x1a7,'SrqN')]*0x1+0x5dc,0xa));}else{_0x37a1a5=![];while(!_0x37a1a5&&!_0x58ae9d){_0x2f657f=!![],await _0x3f652c('apTaskDetail'),_0x37a1a5=_0x5854e3?.[_0xc57937(0x27b,'zf@$')]?.[_0xc57937(0x248,'6y)$')]||![],await $[_0xc57937(0x19c,'I%)g')](parseInt($['waitTime']*0x1+0x1f4,0xa));const _0x21bbad=_0x5854e3?.['taskItemList']||[],_0x20b5f8=_0x5854e3?.[_0xc57937(0x1c1,'Aw#&')]?.[_0xc57937(0x24c,'ra7@')],_0x25c7f9=_0x21bbad[0x0];_0x25c7f9?(_0x5b829c=_0x25c7f9['itemId'],_0x7c3b7c=_0x25c7f9[_0xc57937(0x27f,'skc1')],await _0x3f652c(_0xc57937(0x190,'!Yp2')),await $[_0xc57937(0x193,'0uk^')](parseInt($['waitTime']*0x1+0x5dc,0xa))):console[_0xc57937(0x25e,'ra7@')](_0x593012+_0xc57937(0x1bd,'M7%1'));}}}else{if(!_0x80ab13&&_0x55e45a['includes'](_0xc57937(0x1cb,'!!aH')))for(let _0x582bc6=_0x519b4f;_0x582bc6<_0x3b4ca3;_0x582bc6++){_0x2f657f=!![],await _0x3f652c(_0xc57937(0x261,']LQT')),await $['wait'](parseInt(Math[_0xc57937(0x1dc,'g#2O')]()*0x5dc+0x5dc,0xa));}else{if(!_0x80ab13&&_0x55e45a[_0xc57937(0x1a3,'I%)g')](_0xc57937(0x251,'R3y9')))for(let _0x29693f=_0x519b4f;_0x29693f<_0x3b4ca3;_0x29693f++){_0x2f657f=!![];let _0x3d13bd=_0x2bd93b[_0xc57937(0x268,'g#2O')];if(!shareCodes['includes'](_0x3d13bd)){shareCodes[_0xc57937(0x1ce,'@^&2')](_0x3d13bd);if(shareCodes['length']>=0x3)for(let _0x1ba5bd of shareCodes){inviteCode=_0x1ba5bd,await _0x3f652c(_0xc57937(0x1ef,'Aw#&'));if(_0x12eb11||_0x58ae9d)break;await $['wait'](parseInt($[_0xc57937(0x28f,'M7%1')]*0x1+0x9c4,0xa));}}}}}}if(_0x58ae9d)break;}if(needRemoveCodes['length']>0x0)for(let _0x1b81d4 of needRemoveCodes){shareCodes[_0xc57937(0x282,'M7%1')](_0x1b81d4)&&shareCodes[_0xc57937(0x1f8,'!!aH')](shareCodes[_0xc57937(0x293,'4]Jc')](_0x1b81d4),0x1);}if($[_0xc57937(0x1a9,'LJ)E')]||_0x58ae9d)return;if(_0x5c428b>0x0)while(_0x5c428b--&&!_0x58ae9d&&!_0x30b152){await _0x3f652c(_0xc57937(0x23b,'BKdH')),await $['wait'](parseInt($[_0xc57937(0x235,'skc1')]*0x1+0x5dc,0xa));}}if($[_0xc57937(0x161,'!Yp2')])return{'runEnd':!![]};await $['wait'](parseInt($[_0xc57937(0x22e,'[[84')]*0x1+0x1f4,0xa));async function _0x321785(_0x4db6ad,_0x3cc1da){const _0x62ea76=_0xc57937;try{let _0x1b7832='';switch(_0x4db6ad){case _0x62ea76(0x1a4,'WR!6'):_0x3cc1da[_0x62ea76(0x173,'nS#9')]==0x0?_0x3cc1da[_0x62ea76(0x22a,'XZ4y')]?_0x2bd93b=_0x3cc1da[_0x62ea76(0x218,'aL&*')]:(_0x1b7832=common['getErrorMsg'](_0x3cc1da[_0x62ea76(0x281,'e7Mk')]),console[_0x62ea76(0x206,'vzWN')](_0x593012+_0x62ea76(0x169,'JoUJ')+_0x1b7832)):(_0x1b7832=common[_0x62ea76(0x1d4,'v8fj')](_0x3cc1da),['结束','data\x20does'][_0x62ea76(0x203,'Bne(')](_0x26d226=>_0x1b7832['includes'](_0x26d226))?(console[_0x62ea76(0x17f,'WR!6')](_0x593012+_0x62ea76(0x1f7,'SrqN')),$['runEnd']=!![]):console[_0x62ea76(0x201,'0uk^')](_0x593012+_0x62ea76(0x269,'ST%j')+_0x1b7832));break;case _0x62ea76(0x24e,'xWOd'):if(_0x3cc1da[_0x62ea76(0x28e,'QxVf')]==0x0&&_0x3cc1da['success']){const _0x1439a1=_0x3cc1da[_0x62ea76(0x1f9,'6y)$')][_0x62ea76(0x298,'#D@K')];if(_0x1439a1===0x0)console[_0x62ea76(0x1ae,'[[84')](_0x593012+_0x62ea76(0x266,'zf@$')+inviteCode[_0x62ea76(0x26d,'Bne(')](0x0,0xa)+_0x62ea76(0x220,'4]Jc'));else{if(_0x1439a1===0x18a8a){}else{if(_0x1439a1===0x18a89)_0x12eb11=!![];else{if(_0x1439a1===null)needRemoveCodes[_0x62ea76(0x227,'TOI^')](inviteCode);else{}}}}}else _0x1b7832=common[_0x62ea76(0x27d,'vzWN')](_0x3cc1da),console['log'](_0x593012+_0x62ea76(0x211,'Aw#&')+inviteCode['substring'](0x0,0xa)+_0x62ea76(0x188,'WR!6')+_0x1b7832),_0x12eb11=!![];break;case'superLeagueLottery':if(_0x3cc1da['code']==0x0){if(_0x3cc1da[_0x62ea76(0x15f,'c3T)')]){const _0xea3ef6={0x0:'空气',0x1:_0x2625f8=>_0x2625f8?.[_0x62ea76(0x23f,')#ib')]?.['limitStr']+'('+_0x2625f8?.[_0x62ea76(0x29e,'lexU')]?.[_0x62ea76(0x29d,'EjOb')]+_0x62ea76(0x241,'WR!6'),0x2:_0x487111=>(_0x487111?.[_0x62ea76(0x22c,'EjOb')]?.[_0x62ea76(0x215,'JNt9')]||'0')+'红包',0x3:_0x152855=>_0x152855?.[_0x62ea76(0x216,'R3y9')]?.['prizeConfigName']||'京豆',0x5:_0x499483=>_0x62ea76(0x258,'LJ)E')+_0x499483?.[_0x62ea76(0x245,'v8fj')]?.[_0x62ea76(0x26a,'4[vG')],0x16:_0x9a9d16=>_0x9a9d16?.[_0x62ea76(0x1be,'ra7@')]?.[_0x62ea76(0x2a1,'nQWY')]+'元超市卡',0x18:_0x3e0719=>_0x3e0719?.[_0x62ea76(0x1ed,'skc1')]?.['amount']+'奖票'},_0x3b61aa=_0xea3ef6[_0x3cc1da?.[_0x62ea76(0x16d,'vzWN')]?.[_0x62ea76(0x24d,'nS#9')]]||_0x3cc1da?.[_0x62ea76(0x21a,'nS#9')]?.[_0x62ea76(0x194,'QxVf')]+'-'+_0x3cc1da?.['data']?.['prizeConfigName'];if(typeof _0x3b61aa===_0x62ea76(0x19a,'i0@f'))console['log'](''+_0x593012+_0x3b61aa(_0x3cc1da)),_0x3b61aa(_0x3cc1da)!=='空气'&&!_0x3b61aa(_0x3cc1da)[_0x62ea76(0x28a,'vzWN')](_0x62ea76(0x1aa,'6Nmq'))&&_0x15d8be['insert'](_0x3b61aa(_0x3cc1da));else _0x3cc1da?.['data']?.['prizeType']===0x1?console['log'](''+_0x593012+_0x3cc1da?.[_0x62ea76(0x2a5,'i0@f')]?.[_0x62ea76(0x16c,'v8fj')]+'('+_0x3cc1da?.[_0x62ea76(0x23a,'6Nmq')]?.[_0x62ea76(0x1d2,'#D@K')]+_0x62ea76(0x1cc,'4]Jc')):console[_0x62ea76(0x20a,'@6XU')](''+_0x593012+_0x3b61aa);}else _0x1b7832=common[_0x62ea76(0x197,'pa1X')](_0x3cc1da['data']),console[_0x62ea76(0x1b2,'xWOd')](_0x593012+'抽奖失败:'+_0x1b7832);}else _0x1b7832=common[_0x62ea76(0x27d,'vzWN')](_0x3cc1da),['登陆','登录']['some'](_0x1ce767=>_0x1b7832[_0x62ea76(0x182,')#ib')](_0x1ce767))?(console['log'](_0x593012+_0x62ea76(0x1ee,'vzWN')+_0x1b7832),_0x58ae9d=!![]):console[_0x62ea76(0x272,'pa1X')](_0x593012+_0x62ea76(0x295,'6y)$')+_0x1b7832);break;case'apTaskList':_0x3cc1da[_0x62ea76(0x1b1,'6y)$')]==0x0?_0x10289d=_0x3cc1da?.[_0x62ea76(0x23a,'6Nmq')]:(_0x1b7832=common[_0x62ea76(0x18b,'n(4K')](_0x3cc1da),console[_0x62ea76(0x24a,'XZ4y')](_0x593012+'查询任务失败:'+_0x1b7832));break;case'apTaskDetail':_0x3cc1da[_0x62ea76(0x1d5,'I%)g')]==0x0?_0x5854e3=_0x3cc1da?.['data']:(_0x1b7832=common['getErrorMsg'](_0x3cc1da),['登陆','登录'][_0x62ea76(0x277,'6y)$')](_0x3559b5=>_0x1b7832[_0x62ea76(0x1c3,'SrqN')](_0x3559b5))?(console[_0x62ea76(0x25d,'I%)g')](_0x593012+_0x62ea76(0x180,'BKdH')+_0x1b7832),_0x58ae9d=!![]):console[_0x62ea76(0x22d,'SrqN')](_0x593012+_0x62ea76(0x233,'!Yp2')+_0x1b7832));case'apsDoTask':case _0x62ea76(0x28b,'i0@f'):_0x3cc1da[_0x62ea76(0x2a2,')#ib')]==0x0?(_0x37a1a5=_0x3cc1da[_0x62ea76(0x213,'XZ4y')][_0x62ea76(0x162,'!Yp2')]||![],_0x3cc1da['data']&&_0x3cc1da[_0x62ea76(0x22c,'EjOb')][_0x62ea76(0x285,'Aw#&')]&&_0x5c428b++,console[_0x62ea76(0x1ae,'[[84')](_0x593012+'\x22'+_0x139f7c[_0x62ea76(0x185,'4[vG')]+_0x62ea76(0x1a8,'XZ4y')+_0x5c428b+'次')):(_0x1b7832=common['getErrorMsg'](_0x3cc1da),['登陆','登录'][_0x62ea76(0x1fd,'BKdH')](_0x2e89c4=>_0x1b7832[_0x62ea76(0x283,'@^&2')](_0x2e89c4))?(console['log'](''+_0x593012+_0x139f7c['taskShowTitle']+_0x62ea76(0x1e9,'g#2O')+_0x1b7832),_0x58ae9d=!![]):console[_0x62ea76(0x29a,'QxVf')](''+_0x593012+_0x139f7c['taskShowTitle']+_0x62ea76(0x271,'WR!6')+_0x1b7832));break;case'apStartTaskTime':if(_0x3cc1da['code']==0x0){}else _0x1b7832=common[_0x62ea76(0x1e8,'aL&*')](_0x3cc1da),['登陆','登录'][_0x62ea76(0x22f,'[[84')](_0x2c0b76=>_0x1b7832['includes'](_0x2c0b76))?(console[_0x62ea76(0x24a,'XZ4y')](_0x593012+_0x62ea76(0x1e9,'g#2O')+_0x1b7832),_0x58ae9d=!![]):(console[_0x62ea76(0x1d8,'e7Mk')](_0x593012+_0x62ea76(0x21f,'^OQ4')+_0x1b7832),_0x30b152=!![]);break;}}catch(_0x48ad81){console['log']('❌\x20未能正确处理\x20'+_0x4db6ad+_0x62ea76(0x21d,'JNt9')+(_0x48ad81[_0x62ea76(0x29b,'i0@f')]||_0x48ad81));}}async function _0x3f652c(_0x1335f3){const _0x2140ac=_0xc57937;if($[_0x2140ac(0x242,'#D@K')])return;let _0x4ca5d6='',_0x593925=null,_0x20d91a=null,_0x5d3a24=_0x2140ac(0x204,'6Nmq'),_0xd0439e={},_0x1f2d3a={};switch(_0x1335f3){case'superLeagueHome':_0x1f2d3a={'appId':_0x2140ac(0x27e,'vzWN'),'functionId':_0x1335f3,'appid':'activities_platform','clientVersion':common[_0x2140ac(0x28d,'aL&*')](),'client':_0x2140ac(0x256,'R3y9'),'body':{'linkId':linkId,'taskId':'','inviter':'','inJdApp':!![]},'version':'4.7','ua':_0x3495d0,'t':!![]},_0xd0439e=await H5st[_0x2140ac(0x223,'e7Mk')](_0x1f2d3a),_0x4ca5d6=_0x2140ac(0x200,'R3y9'),_0x593925=_0xd0439e[_0x2140ac(0x26e,'LJ)E')];break;case _0x2140ac(0x294,'lexU'):_0x1f2d3a={'appId':_0x2140ac(0x210,'WR!6'),'functionId':'superLeagueHome','appid':_0x2140ac(0x1fe,'#D@K'),'clientVersion':common[_0x2140ac(0x175,'Bne(')](),'client':_0x2140ac(0x21c,'vzWN'),'body':{'linkId':linkId,'taskId':_0x139f7c['id'],'inviter':inviteCode,'inJdApp':!![]},'version':_0x2140ac(0x186,'#D@K'),'ua':_0x3495d0,'t':!![]},_0xd0439e=await H5st[_0x2140ac(0x230,'I%)g')](_0x1f2d3a),_0x4ca5d6='https://api.m.jd.com/api',_0x593925=_0xd0439e[_0x2140ac(0x278,'e7Mk')];break;case'superLeagueLottery':_0x1f2d3a={'appId':_0x2140ac(0x22b,'Aw#&'),'functionId':_0x1335f3,'appid':_0x2140ac(0x290,')#ib'),'clientVersion':common[_0x2140ac(0x239,'vzWN')](),'client':'ios','body':{'linkId':linkId},'version':'4.7','ua':_0x3495d0,'t':!![]},_0xd0439e=await H5st[_0x2140ac(0x219,'4[vG')](_0x1f2d3a),_0x4ca5d6=_0x2140ac(0x200,'R3y9'),_0x593925=_0xd0439e[_0x2140ac(0x1b3,'4]Jc')];break;case'apTaskList':_0x1f2d3a={'appId':'c06b7','functionId':_0x1335f3,'appid':_0x2140ac(0x1da,'c3T)'),'clientVersion':common['getLatestAppVersion'](),'client':_0x2140ac(0x18e,'@6XU'),'body':{'linkId':linkId},'version':_0x2140ac(0x286,'7apz'),'ua':_0x3495d0,'t':!![]},_0xd0439e=await H5st[_0x2140ac(0x1d7,'WR!6')](_0x1f2d3a),_0x4ca5d6=_0x2140ac(0x164,'@^&2'),_0x593925=_0xd0439e[_0x2140ac(0x1ec,'6Nmq')];break;case _0x2140ac(0x1e1,'6Nmq'):_0x1f2d3a={'appId':_0x2140ac(0x260,'n(4K'),'functionId':_0x1335f3,'appid':_0x2140ac(0x189,'JoUJ'),'clientVersion':common['getLatestAppVersion'](),'client':'ios','body':{'taskType':_0x139f7c['taskType'],'taskId':_0x139f7c['id'],'channel':0x4,'checkVersion':!![],'linkId':linkId},'version':_0x2140ac(0x297,'nS#9'),'ua':_0x3495d0,'t':!![]},_0xd0439e=await H5st[_0x2140ac(0x1e0,'lexU')](_0x1f2d3a),_0x4ca5d6=_0x2140ac(0x172,'QxVf'),_0x593925=_0xd0439e[_0x2140ac(0x208,'i0@f')];break;case'apsDoTask':_0x1f2d3a={'appId':_0x2140ac(0x1ea,'6y)$'),'functionId':_0x1335f3,'appid':_0x2140ac(0x229,'!!aH'),'clientVersion':common[_0x2140ac(0x225,'4]Jc')](),'client':_0x2140ac(0x176,'6y)$'),'body':{'taskType':_0x139f7c[_0x2140ac(0x212,'vzWN')],'taskId':_0x139f7c['id'],'channel':0x4,'checkVersion':!![],'linkId':linkId,'itemId':_0x5b829c,'taskInsert':_0x7c3b7c},'version':'4.7','ua':_0x3495d0,'t':!![]},_0xd0439e=await H5st[_0x2140ac(0x273,'#D@K')](_0x1f2d3a),_0x4ca5d6=_0x2140ac(0x1d6,'JoUJ'),_0x593925=_0xd0439e[_0x2140ac(0x1c9,']LQT')];break;case _0x2140ac(0x1df,'JNt9'):_0x1f2d3a={'appId':_0x2140ac(0x195,'0uk^'),'functionId':_0x1335f3,'appid':_0x2140ac(0x1e6,'6y)$'),'clientVersion':common[_0x2140ac(0x1dd,'SrqN')](),'client':_0x2140ac(0x1a1,'^OQ4'),'body':{'taskType':_0x139f7c[_0x2140ac(0x167,'xWOd')],'taskId':_0x139f7c['id'],'channel':0x4,'linkId':linkId,'itemId':_0x5b829c,'taskInsert':_0x7c3b7c},'version':_0x2140ac(0x264,'6Nmq'),'ua':_0x3495d0,'t':!![]},_0xd0439e=await H5st[_0x2140ac(0x255,'!!aH')](_0x1f2d3a),_0x4ca5d6='https://api.m.jd.com/api',_0x593925=_0xd0439e[_0x2140ac(0x187,'Bne(')];break;case'apDoLimitTimeTask':_0x1f2d3a={'appId':_0x2140ac(0x18f,'g#2O'),'functionId':_0x2140ac(0x1e4,'4]Jc'),'appid':_0x2140ac(0x1c4,'SrqN'),'clientVersion':common[_0x2140ac(0x16a,'skc1')](),'client':_0x2140ac(0x176,'6y)$'),'body':{'linkId':linkId},'version':_0x2140ac(0x25f,'@^&2'),'ua':$['UA'],'t':!![]},_0xd0439e=await H5st[_0x2140ac(0x17b,'[[84')](_0x1f2d3a),_0x4ca5d6=_0x2140ac(0x171,'EjOb'),_0x593925=_0xd0439e['paramsData'];break;case _0x2140ac(0x29c,'xWOd'):_0x4ca5d6=_0x2140ac(0x1b7,'e7Mk'),_0x593925={'functionId':_0x1335f3,'body':JSON[_0x2140ac(0x202,'zf@$')]({'pin':encodeURIComponent(_0x502f3a),'type':'0','businessId':0x1,'themeId':0x70,'babelChannel':'ttt9','isJdApp':'1','isWx':'0'}),'rfs':0x0,'appid':_0x2140ac(0x265,'^OQ4'),'client':'m','t':Date[_0x2140ac(0x205,'6Nmq')]()};break;default:console['log'](_0x2140ac(0x17e,'SrqN')+_0x1335f3);return;}const _0x48eeda={};_0x593925&&Object[_0x2140ac(0x288,')#ib')](_0x593925,_0x48eeda);_0x20d91a&&Object[_0x2140ac(0x1ca,'I%)g')](_0x20d91a,_0x48eeda);const _0x27f5a2={'url':_0x4ca5d6,'method':_0x5d3a24,'headers':{'origin':_0x2140ac(0x17a,'TOI^'),'Referer':_0x2140ac(0x26b,'SrqN'),'User-Agent':_0x3495d0,'Cookie':_0xaa9076,'content-type':'application/x-www-form-urlencoded','accept':_0x2140ac(0x24f,'v8fj')},'params':_0x20d91a,'data':_0x593925,'timeout':0x7530};_0x5d3a24===_0x2140ac(0x280,'pa1X')&&(delete _0x27f5a2[_0x2140ac(0x213,'XZ4y')],delete _0x27f5a2[_0x2140ac(0x174,'WR!6')][_0x2140ac(0x27c,'M7%1')]);const _0x953116=0x1;let _0x3d8f13=0x0,_0xb69265=null;while(_0x3d8f13<_0x953116){_0x3d8f13>0x0&&await $['wait'](0x3e8);const _0x1a36bf=await common[_0x2140ac(0x1fa,'g#2O')](_0x27f5a2);if(!_0x1a36bf[_0x2140ac(0x246,'nQWY')]){_0xb69265='🚫\x20'+_0x1335f3+_0x2140ac(0x24b,'v8fj')+_0x1a36bf[_0x2140ac(0x1f5,'n(4K')],_0x3d8f13++;continue;}if(!_0x1a36bf[_0x2140ac(0x17d,'7apz')]){_0xb69265='🚫\x20'+_0x1335f3+_0x2140ac(0x21e,'0uk^'),_0x3d8f13++;continue;}await _0x321785(_0x1335f3,_0x1a36bf['data']);break;}_0x3d8f13>=_0x953116&&console[_0x2140ac(0x1ab,'skc1')](_0xb69265);}}async function jsonurl(_0x51005b){const _0x1bc67f=_0x114055,_0x65c103=await common[_0x1bc67f(0x214,'QxVf')]({'url':_0x51005b,'method':_0x1bc67f(0x299,'BKdH'),'headers':{'User-Agent':'Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x2013_2_3\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/605.1.15\x20(KHTML,\x20like\x20Gecko)\x20Version/13.0.3\x20Mobile/15E148\x20Safari/604.1\x20Edg/87.0.4280.88'},'proxy':null,'debug':![],'timeout':0x7530}),_0x382ad2=_0x65c103[_0x1bc67f(0x181,'xWOd')];return _0x382ad2;}
|
||
// 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)}
|