mirror of https://github.com/6dylan6/jdpro.git
20 lines
51 KiB
JavaScript
20 lines
51 KiB
JavaScript
/*
|
||
活动名称:京豆红包雨
|
||
环境变量: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('京豆红包雨')
|
||
var iil='jsjiami.com.v7';const III111=iii1II;function iii1II(_0x24d717,_0x225569){const _0x3027e1=Iii11l();return iii1II=function(_0xaea8e8,_0x87dbf){_0xaea8e8=_0xaea8e8-0xee;let _0x396cce=_0x3027e1[_0xaea8e8];if(iii1II['wzFuGs']===undefined){var _0x28cfb6=function(_0x2a60f8){const _0x574d55='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x23b6e8='',_0x3780f7='';for(let _0x4075f2=0x0,_0x19e78d,_0x912af2,_0x372d6f=0x0;_0x912af2=_0x2a60f8['charAt'](_0x372d6f++);~_0x912af2&&(_0x19e78d=_0x4075f2%0x4?_0x19e78d*0x40+_0x912af2:_0x912af2,_0x4075f2++%0x4)?_0x23b6e8+=String['fromCharCode'](0xff&_0x19e78d>>(-0x2*_0x4075f2&0x6)):0x0){_0x912af2=_0x574d55['indexOf'](_0x912af2);}for(let _0x1ec19b=0x0,_0x26991e=_0x23b6e8['length'];_0x1ec19b<_0x26991e;_0x1ec19b++){_0x3780f7+='%'+('00'+_0x23b6e8['charCodeAt'](_0x1ec19b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3780f7);};const _0x43c888=function(_0x4f533c,_0x1c534d){let _0x17311f=[],_0x457cf1=0x0,_0x5980d8,_0x402660='';_0x4f533c=_0x28cfb6(_0x4f533c);let _0x225fd5;for(_0x225fd5=0x0;_0x225fd5<0x100;_0x225fd5++){_0x17311f[_0x225fd5]=_0x225fd5;}for(_0x225fd5=0x0;_0x225fd5<0x100;_0x225fd5++){_0x457cf1=(_0x457cf1+_0x17311f[_0x225fd5]+_0x1c534d['charCodeAt'](_0x225fd5%_0x1c534d['length']))%0x100,_0x5980d8=_0x17311f[_0x225fd5],_0x17311f[_0x225fd5]=_0x17311f[_0x457cf1],_0x17311f[_0x457cf1]=_0x5980d8;}_0x225fd5=0x0,_0x457cf1=0x0;for(let _0x1e1f8f=0x0;_0x1e1f8f<_0x4f533c['length'];_0x1e1f8f++){_0x225fd5=(_0x225fd5+0x1)%0x100,_0x457cf1=(_0x457cf1+_0x17311f[_0x225fd5])%0x100,_0x5980d8=_0x17311f[_0x225fd5],_0x17311f[_0x225fd5]=_0x17311f[_0x457cf1],_0x17311f[_0x457cf1]=_0x5980d8,_0x402660+=String['fromCharCode'](_0x4f533c['charCodeAt'](_0x1e1f8f)^_0x17311f[(_0x17311f[_0x225fd5]+_0x17311f[_0x457cf1])%0x100]);}return _0x402660;};iii1II['oKoPrE']=_0x43c888,_0x24d717=arguments,iii1II['wzFuGs']=!![];}const _0x56fd3a=_0x3027e1[0x0],_0x257967=_0xaea8e8+_0x56fd3a,_0x27fe04=_0x24d717[_0x257967];return!_0x27fe04?(iii1II['tUHrRN']===undefined&&(iii1II['tUHrRN']=!![]),_0x396cce=iii1II['oKoPrE'](_0x396cce,_0x87dbf),_0x24d717[_0x257967]=_0x396cce):_0x396cce=_0x27fe04,_0x396cce;},iii1II(_0x24d717,_0x225569);}(function(llii1I,iiIiIi,l1lll1,IilI,liIlli,lil11,Iillll){return llii1I=llii1I>>0x7,lil11='hs',Iillll='hs',function(lllI1,III11I,Ilii1,ll11i1,ili1I1){const ll11l=iii1II;ll11i1='tfi',lil11=ll11i1+lil11,ili1I1='up',Iillll+=ili1I1,lil11=Ilii1(lil11),Iillll=Ilii1(Iillll),Ilii1=0x0;const Iill=lllI1();while(!![]&&--IilI+III11I){try{ll11i1=-parseInt(ll11l(0x13b,'T!bK'))/0x1+parseInt(ll11l(0x1f0,'7cZs'))/0x2*(parseInt(ll11l(0x210,'M!tc'))/0x3)+-parseInt(ll11l(0x29f,'rTKy'))/0x4*(parseInt(ll11l(0x151,'M!tc'))/0x5)+-parseInt(ll11l(0x1b9,'C5U#'))/0x6+parseInt(ll11l(0x27b,'C5U#'))/0x7*(parseInt(ll11l(0x1db,'wb!W'))/0x8)+-parseInt(ll11l(0x2ca,'I&2x'))/0x9+parseInt(ll11l(0x150,'1Df^'))/0xa;}catch(ili1II){ll11i1=Ilii1;}finally{ili1I1=Iill[lil11]();if(llii1I<=IilI)Ilii1?liIlli?ll11i1=ili1I1:liIlli=ili1I1:Ilii1=ili1I1;else{if(Ilii1==liIlli['replace'](/[RKyMTxQePnbrGYSONgEL=]/g,'')){if(ll11i1===III11I){Iill['un'+lil11](ili1I1);break;}Iill[Iillll](ili1I1);}}}}}(l1lll1,iiIiIi,function(liIllI,ll11i,iI1lI1,I1I1li,l1i11,IlI1li,IlI1ll){return ll11i='\x73\x70\x6c\x69\x74',liIllI=arguments[0x0],liIllI=liIllI[ll11i](''),iI1lI1=`\x72\x65\x76\x65\x72\x73\x65`,liIllI=liIllI[iI1lI1]('\x76'),I1I1li=`\x6a\x6f\x69\x6e`,(0x172afb,liIllI[I1I1li](''));});}(0x6500,0xa488c,Iii11l,0xcc),Iii11l)&&(iil=Iii11l);const jdCookie=require('./jdCookie'),common=require(III111(0x159,'8n9b')),notify=require(III111(0x27e,'A**0'));console[III111(0x254,'MOk@')](''),console[III111(0x27a,'snc4')]('=========='+$[III111(0x2ab,'kJa[')]+III111(0x18c,'snc4')),console['log'](III111(0x11a,'aZ3d')),console[III111(0x267,'23Dj')](III111(0x16f,'ii^I')),console['log'](III111(0x1f7,'7cZs')),console[III111(0x2f2,'*r!g')]('jd_redRain2021_pinFilter\x20//\x20账号pin过滤,多个用@进行分割'),console[III111(0x171,'bz!N')](III111(0x15a,'n41B')+$[III111(0x2e5,'8n9b')]+III111(0x145,'7cZs')),console['log']('');let taskThreads=process[III111(0x212,'hbXY')][III111(0x295,'M!tc')]||'1';const runInterval=process[III111(0x248,'TvO4')][III111(0x1e6,'u%zj')]||III111(0x25c,'wkBC'),isNotify=(process[III111(0x1ee,'MOk@')][III111(0x18f,'LA9K')]||process[III111(0x248,'TvO4')][III111(0x247,'LA9K')])==='true',pinFilter=(process['env'][III111(0x128,'@uJ6')]||'')[III111(0x1da,'I&2x')]('@');interaction=[];let hasGetBasicInfo=![],cookiesArr=Object['keys'](jdCookie)[III111(0x235,'yGGi')](Il1i11=>jdCookie[Il1i11])[III111(0x20e,'8n9b')](iii1li=>iii1li);!cookiesArr[0x0]&&($['msg']($['name'],'【提示】请先获取Cookie'),process[III111(0x193,'ii^I')](0x1));const prize_map={0x1:III111(0x25f,'wb!W'),0x3:III111(0x2af,'TvO4'),0x5:III111(0x122,'n41B'),0x7:III111(0x17b,'aZ3d'),0x8:'[优惠券]'};function Iii11l(){const Iliii=(function(){return[...[iil,'LgjRsLjinbTaymiQ.GcxKSorEmNY.OOMveP7PYGY==','W4tcO8kIW7/dV1JdT8o+nCoWWQSwFc/dJCkRqrZcHCoMBG','cUwlS+s9KW','WONdS8kEpanSyW','cMddOCop','eSkXn8oGpa','5y2v6ysA6k205PIYW5GIWRtcJYFdGmkNzbCZ','5RAI5yUE5BkF5z6ooa','W5JcMCkCW7JdOSkvymkEwuZdJCkOwSkOWRedDY8Qga','W7PYW7JdK8krh8kDWPOgomk6W4ZcVCk4W5TFW7ddV8koWRiy','kowMQ+I0R++9NEwnUUwBPE++TG','vCooASo1rw9xW45dnefL','eSkyzG','W4ysWOHs','d3pdPmoGvG','W5X9W6/dRCkh','BSo3tJf/fSoLW6K','6lwc5yYb5PA45PAf','c3tdJSoDWPi','W7pdPmkYWOKI','aCkekSkIbW','WPZdPmoFga','EmkLWRJcMW','rmocnrhdOgG','lWS+WR9R','d8k8xwhcHW','W7ZdImkRWO4Fv8k6fG','44or6lEC5y6F','WOLmgYZdS8kUW4LVW7dcRMy','F8oSBsf+','fftcK8oZqq','wCkUFmkjWRpdImobWPNdL2u','W6T4WRZcIfFcMmoLiby1W40','W7/cQabul8o0','W7JcJCoUrCkP','g8keAHxcJCkRWOu','jmkTeCo0mLpdIWZcKgi','mSk3CMFcPW','W753W4RdHa','amk8W4hcPSoxjZOfD0KnW40','W40lWOXd','WRnWWR0AW5SU','q8oQEJ3cJgBdJtS9WP57W5/dJmk6WQqulxzQWP/dKSk6yKNdPSokiSkjW6fZW4amAq','W7ZcJfDFWQWiWRxdVSooWRu+g192','W4dcGSkAW6BdRSk4A8kz','mJWgWRD8','WOpdVmkLoG8','qM/dJCkk','k+A3HEwkK+MBNowlPuFcREAEOowLJ+AiPowKS39k','EtdcLCkuW6SMW5r/DLbD','W5eOWPjdAW','W6/cVGfoWRKiWOLNW7fFyvup','kSkMbSoviKtdNr4','W6/cPsDfdW','bmknmq','W6FcPSkTW5VdUa','hgVcJ8oYW6m','dSkRhmoXdq','o8k+dmoCibldUWlcMwf1W5C','qcVcJCkwW6Pl','b2S8W5aE','W4JcJ8knW6pdRCk5','6lA/5y6b5Pw55PEU','W6hcNffyWPSEWQVdG8oDWQCCbLrUqSk2W6/dK1FdVCkT','ACkZW4RcGCoSgmk3WQVcRmo8WQBcKSkTWOtdSXjTp8oYWRZdVa','5RAy5yUc5BoN5zYooq','DCosirxdOq','WOtNUANMNylVVBpKUQZMRylML7hNGzdMNA3LKO1N','WOpdPmov','u07dKCodW6VdISkf','m8k8E1JcPW','wCkMyI5H','WRlcQSkZkwy','Cmo4rcLEg8oTW78','r8kKBa','yCkDW5ZcGSoA','F8oJWRe','WQ7dRf4yW4jFW5PFW5fnzK4B','cmk2W5ddR8oj','DCkZW5JcHmomgCkPWO3cTmo/WOO','W5eFWO9JD8k6','W5FdN3mBW6inFmk9yCohFa','WPFdS8kjptvREg5V','WOpcMSkZj1T4WP4nyCkwWQG','W6OgW7xdJ2W','W7NcQIXgW5xcJSkc','WPnhfItdG8kKW4Hi','cwdcICkhW5O','W7RdK8k8WQqguSk4','hvFcPG','WP3dQmk4DCk1W4JdMSoI','cSkAaSo1nG','W6NcVbPW','W6D4WQVcN1ZcICoYfqWPW4RcOtO5tCkHzKeu','C8k5WRJdQWW','sHxcPSkZW4a','dSksb8k/ed5vW5HDld0GWR7cL8kgaN0BW4VdUhpdR8k/','q8khBZ17WQe','W6nZW4NdHCkXfCkRWQ8go8oT','W6P+WORdQCkvfCk8W5ySgmkZWO3cSSk4WQGrW7RdPCokWPCVWQlcVW/dVCkWWQbSumkUWQhdSGLzwCkHtJWfWP8kW5e/WQrE','ymo+WRqF','l3dcGSkUW4ys','kCo0W6dcOSoRW6VcQ8kXWRZdTK3cQazaW6BcUsmAWRaP','DCkQWQ/cLK7cJSksW5C','eSk4yq','uSkBvCoOWPytW6NdTdZdTaa','WP7dSSo1WQRcLw/dNSo3jCoZWP4','oLCXW6SSWR/dGCoq','WRn6WRq4W500','W53cNmoyvSkg','WO58bJZdLa','W5NcO8kPW7/dQfpdVSofkSo4WO0','d8kJcCoFja','W4dcOSkyW6NdIfNdImoWkSo7W5PjixxdU8kGzWBcImoLB08ffmoe5PQZ5zo/6ycj55+GW6K1tMNcQwldH8oliIH6WQlVVzhPU4FOR77KU7/MJ73PG7i','WOFcL8kKpfrHWP4KrSklWQ7cL8ogyhdcRW','nvlcRCoDAW','W7X/k8o+','W4JcKbTWnW','W48fWOy','t8oaldZdUa','W7BdGK87W6O','cCoUtCowdmoE','vhVdL8kUW45g','f8kdo8kUecL0','p8kwWQBdNWitb8otWO7dJXC','umowmJJdNgNcUSo4W63dNdu','W4iFWPvoDSkSW6FcGSkFWO4','W79JW5pdP8kygSkO','eSo1qmo/f8oEWQFdQa','W5epWPzhA8k6W7dcLmklWO4','ySo0WRWvzSoZlG','fSoOra','W4tcICkkW7NdUSk7AW','WO7cQWrgW5q','FEIVSUAYRUwNMUI2JvBINz7dLEAvVowtKEw4G+AxIoAmUW','WPBcICkTk2m','o2ZcGmkFW40e','W6bsd8oHW6m','l8kMWRBcS2lcJ8kH','W5hdKCkz','W4KukG','5AAZ6lsZ77+s','5l2J5Og75yIB','57Io5y2/6zQ0WRXC','W47cQwfwWRG','A8k5W4G','vgVdJSkkW5jgW4DPlxK','amk/W5VdOCoDzZ0en142W5NcNmks','W4NcRefMWQy','tKRdKmodW68','wmkUzCkmWOpdICoYWONdIvrvWQDk','E8oaWO8sBa','4PUOWQFOHBNLRzhKU4xOVzxOOORPLkdPMyBMLBtPLABORB/NVixPLlZORBO','wKRdLSor','WQxdImk5xmkX','r37dICkhW4LbW7jKnhpcN0xcVmoNWO90gmo7jmklsbVdPCoUvSoRlCkdWQ8RWQOMxW','DCkQWRJcN0NcI8kuW5ddLGVcGq','W78FW6e','dYO3','W5VcMCkxW4/dTCk4','BCo3vsjoc8o7','W4j5msNdSCkYW6K','sSoUFIhcLJ/cG2a1WOf8W57dMCk5WRKhDdHJWP3cJ8k0i1xdSCoim8ojW6n/W5aayGi','WRlcTSkugG','eZepWQbTfW','WQpdVmkbmXe','pMBdTCoVAG','uSowlZxdNM3cUCoX','es4AWPju','duRcV8k/','6AkW5y2H5AwQ6lwXWRqS','5RAm5yIq5Bst5lIIWPO','p8oMW7RcVW','r8kUzCkpWRxdHa','W5KsomoXlG'],...(function(){return[...['WRj0WQm','bCkeFZ3cLCkJWPBdOa','odePWQbHra','WOVdO8kCiq','WOhdPmof','v8kuyYG','WQFcKWrtW7FcJG','W58BmCoJuvfstSkWWRez','WPTbWOu1W7O','eta+WPvQhq','omkcrvtcMG','j8kPeCoy','feRcS8o4ua','WOdcVX5PW58','5B6P5AsN5Psp6zw+WQhdVa','8kQtKCoz','lSkPfq','oSoIW6lcVSoPW7BcSG','W7PYW7JdK8krh8kDWPOgomk6W4ZcVCk4W5T/W7ddV8koWRiy','u8ozlq','d8kJW58','W6FcSCoF','gY8AWQnT','x8ozodJdU2JcQmoQ','W6SbW7ldNL0','ymkZW5VcRmoqeCkZWQRcV8oAWORcK8k2WORdTam','W6hcHHqh','v8kxW6ZcKmoM','W4FdLmk1W5tdLG','W7zeW53dR8kx','jCk7aSkpfG','g8k5Ca','W6PIWRZcNvBdG8kPEX4QW4RdQdL6qSkRpgSFmmkgW4/cISk5W4pdM0OeW5TKkumplcFcKeKiW5tdNdjczSk7WQSGlmoDWQddLc9epJ/cTxHZW4ddRcHfW6bZbJ9mW4VcLvRdQw3cHdKWyftcOmknWQ1+WQdcMmklWPZcMhn0WRBcGgy4mtKFathcH1aVhZddQZejtLZdMqpdRXqxm39PWQJdKWxcPCkqW6LVcCohFmkLy8kIWOb6W7BcJNVdNSoHWRFdNSoAzxBdHGzioSodCwFcNetdGCoiW4vBWORdUrldKmk+lCo1zdvGdbVdQvVdT3CeW5WeySkTW51KWR3dKSkkW7uCW7FdRsdcSSknW453rJpcTHWnjdmPW5CKuSoIiSoRf8oYWRPMWRNcPSojpKj+mmkYumogfConBJPTC8oxWOtcMJpcQ8oXAeNcHCo0g392wmonjCoCWQLgW7ynW6xdHmoaW4egtmoDW6v2uIvgWR1WtCoRW7jvb15Df0afWQnUD2xdMmkUrG/dUmogW5mfD8o2tZNdNmkXW4xcVX9mW7dcVwtdTfBdMblcVCofBmkrACkeWPHxWOxdGeNdLvNdQSoSg33cGCoWmZK1D8oSWQNdUSkIW4rDW47dUaVdN8krWO/dGCoJhmkJW4HXtd0NW4LsW7pcGYFdPuHTmCo4W6i1WO7cRSoEC8kCC0y7FSk6W6dcNmorW5FdKSkcz03cTqddGqy9W414vYlcOSo4WPtdRCkLW6WDo0tdJwPTdCoJmSoAWOddRmkUqdW6BfCLps3dVeyfW6/cHhdcOY1zFSkpWPddRsT7W5FcJJRdLSoJfmoUW6FdVuRdO23cQ2tcIg3dTwLjWPxcGL4NWOldPSkqdmkUvfD6tSoKyvvsW7aWWRyniYORWQpdUqCuWRqKW67dKg47fSkMzt7dISokWRK9WQDJgX/dHt7dJr5AwmkcW5hdPSoRoNFcU8kyvSo+W5/dK8kIdSoiWRxdPdVcNSoefIH7WPaqW5/dICoQWReIWRCNW7ZcR8kAfmk6W5aXF8oEFCo4WQ8sfNebz3BcH8kKwmkcEXrFv8oeAmoZb8kHW5dcV8oeAComW7ddVCkoWP9opSoyW6GVq8oCWPLmACo8BfqGWOHgW6/cMSkEWPWrWO3cTCk5WOFdNcahlCkDW5VcNmkuW6aCWPH2xLnkw1VdH8o0zNinq1BcRsVdVHpdGmoFW6BdPmkKdw7dVCkbl8okCSkHrWr7WRnev8o0WPJdPCoXWRmQW4ZcPmkAbSoCmmkLW4xcJSkzh8kIW47dMSk9AGBcU8kkWPJdT8k+lWtcSaZcNCkKW5BdKSkTWOmUWRWEcZ7dHWGFWRFdRmoCsMRdMsTLpqxcIq/dO8ojWQDeCCocu8kfW77cKmo1o8oMW7nOv2tdNNRdSmo0W53cP8o4W4BdMCohWPRdVCoiW5BdLq/dRsqpWOJcQbVcIfTLW6n/nwaPW7i/fSkYoSk0WQ8PASkbWOe+wSk+lSovW48nAYPOjvVcOSklWORcQKlcLMVcR8oMlCk6WQpdPHWqW6zVWR04W4rnW45gjSkyW4JdIxvzyaFdRsepWOFdQCoIySoCf8kK','cCo6tCo3dCox','W59WW5hdOSk5','W6lcRCoVFCkX','5B+b5AsX5PAE6zEtWQJdNa','nmkPdmona0NdLqG','W7pdRLG4W5y','CCo4vCkj','WRhdK8kS','zmoIEclcNa','WPRNPjxLIA56','WPZdRSoCgCkhWOjBoLVcQdJcUmka','fCo+rSo3mmoFWQ/dThJcNCoJlmk9vxFdLXz9kwSb','vmkoW4pcO8oP','WO7cLSkG','WOldR8kwmeTswIbGosVcSf3dSYCG','aCoZdSoqlmkwWRJdSZxcICkDC8o8bZldLZeOpdnjiSk2W7BdKmohW4/cJhv7W5hdSCoHzCkNW68gWOZdNmo6WPpcSYqDWQjlkG','s1NdJG','W6DXjq','f8kckSkKgZ1UW59n','WPXfgIFdHmkmW4riW60','ACoiWOSPAW','W5FdJM8wW4KeCCkpCq','WOldRSobdSkKWObz','vgVdJSkkW5jgW51XmhK','dYa+WRDWeq','tSkLAmkAWRJdNmoHWRddLw9wWQ9maZ/dHq','zmo0WRGvuCoKmdJdRv1uWReLbSohtv3dLXhcSGG','WO9IWRyEW5O','AmkKzCkCWQtdGSoHW43dS3LmWQ8','nHuMWPHo','5B2p5AEg5Pwz6zwOW4z5','pSkEeCkonG','W4afWO9fEmkQ','W7mzW7ddIa','WPFORy/MSQpLPP3OTP/dTUkFTmkk','W7TRmCoI','W6hcUSoN','W6ZcSqjeWRapW61bW4HVqvy','CYVcGmkwWRvzWPPUEfLlWRxcThpdK8kZWR/cLtdcRY3cVg7cJSk4W6fvd8oyoXntaYamDSkfyNVcPhBdVq','mmkTc8oDfuxdNWtcMvn1W53cNW','WORcLwGlW44pA8ogwSopE8o2h8oQedv7WRKNWRfXfx9FFSkGyG','lMdcGSkpW60yWQBcOCo1CCoY','D8kfWQhdI0TltCoEWPZdJHRdMSkNftDfWOm','gmo0tCo1c8oD','W7JcMYn1lG','W6lcNeDpWQGCWQm','ymoFoctdGa','8jA0Lmkz5lMh6loM57Qa5y6w6zU45BAV57Ut57II5PY1','xSoNWQulqG','dCkyo8kHad5IW4O','W4JcMCknW6ldTmkUtCkfwfS','u8o7WPNcUSkdo2qWf2WmW5BcNq','WQRcMtBdTaBdOhS','WRhcKIldUqhdOg3cJq','WRyIW7RdNb3cQ8ocmHK8W5u','W77cQrX4l8o3WOBdI8oE','CmkRWQS','xetdLSoeW6xdGmk0WOBdG8oT','WPtcOmkQiuC','W6JcG8kZW5ZdIW','n8kHcmoC','k8kjW6a','W6FdPmk7WOCy','DSkGWPpcIf7cJSkLW4xdLGRdNsmHW67dRCkgWRLZt2jCBa','W6pcQ8kZW5ldRG','cCo+uSoMb8ojWRy','W7itW7ZdLJxdR1XRWPVdVq','W4ShrwBcHG','lexcKmoqW4ugsSkAiSkQv08','poISS+AYJUwNI+I0NSok4P2RWOq','W4DFWRVcPKS','WQ1GWR04W4eI','W7VdG8kTWOy4vSkYcSk1nr4pWRBcVCkoiCoIW5zgW5tcOG','lCoFyGnzlCoz','gSo4rSo7amodW7dcQZZdICkqESoGcG','u8oVBYpcNeZdGJSXWOn0WPpdGmo+WQugeZvQWP8','DcRcGmkGW6mxW5i','bUw8JUwLSU+/P+ABUUEcM+weNUADTEwrUMi','W6ZcGmkpW6hdTW','6lwC5y+I5PwY5PEV','W7uzW74','F8kLWRJcMvm','W6GGW7JdV0O','tCkrxa','W7itW6ddLq','FSkEWQxdNG','sw/dLmoiW64','8jEjLrS','tCkCza','BEs4M+IWNqK','hmkhimkgfG','dCkIemkImW','v3VdNmkzW5LRW71Kog7cKaNcOSo9WPz/FCk1nSkb','wCkMWOFdMGO','W7/cOmoUECklEW','W4/cP8kkW63dVW','ESkOWQpcLuK','zCocnc3dMG','b8kznSkUitT0W5i','t8kKzCkn','WPRcJSkdW4pdGSk5wa','bcaKWPPboG','FmkqWQ8','tmkABq','b8keFtdcHmk5WPe','oK/cV8kmW4i','B8kHWQlcNNNcJ8kqW43dKtdcHN52','WOtORy3MSz/LKRlLUlnd','W74tW63dRf3dJq','WQddSmkJy8kb','8k+GQKxLJAJNJ6FKUOZOS77NU4/LJ7lPM6/VVjdLJ4pLS7ZLVBFLPjhOVBJOOOHy','ESojuYFcPa','eMBcJmoVW50','W6CzWOzUFq','W4BcSSoSiCoYWPRcISkHW6u1WOddNmomWQS','o33cIq','WQHhWQRcLcZcVGuWWRtdOSoNWPtcTSkA','t8kaFHPJWQuM','CCk0WO7cJgi','eCkDW47dVmot','W4RcG8kDW68','WPzdWRKiW70','bSkJCMdcLZ9MW7hcUGRcQIq4WRfrWQbBzCokW58','W44vm8oQgv9o','DCo5qa','lMRcM8oMW4G','4P6nW5RMNylOG5RMR7hNOPlLP4lNKBVdPG','WR3LI4/KVPe','oCkGpCoGaG','W4tdJmktW4xdLmkXaComWP8','bvVdOSoXWQW','qSoEnJe','rCkBAs52WRq1lgSpWQRdGmoNdCkQEa','W6VcV8klW73dJq','EmoLvcXmeCoLW6KDcCk+W54Vca','W5rxW5pdT8k7','WPFdS8kblHj3','fNRdTq','F8ouxs5J','CM7dTmoYW5i','WOVdT8kDoGm','W7RcTmoPsmkXDSoKW5C','W6lcMebFWQe'],...(function(){return['m2tcGCko','bmkIDMBcMWu','WPzgeG','ewFcImkEW5O','tCkzCCkMWQi','5lMX6lop6zUy','CMxdJmoFW6u','WONdJeCTW4S','WRNNUQxMN4BVVQRKUjpMRQ/ML5NNGRVMNOJLKR/dGq','W5OEWQXYAW','w8kjWRZdGWe','tSkuzZK','W4SfWPjuBq','W7NdICkV','te7dLCorW7JdICktWQRdLCo/W5y','W4BdGCkfW4ldRW','amk/nmkoaG','zSkcW47cP8og','mCkTeSoyjutdIW','W5RdMCkr','WPRdJgq','F8kGW4BcGmojt8kzWQVcTmo/WOZcMG','uSkazbLHWQa','W6jJW4NdPmkAhW','W7/cVab1lSo9','pmkNnmkgeG','W6xcI2jvWP4','W6FcJ1vQWPK','WQVcMs/dStBdOw/cL8kzWO7dKwL2','lSk7aG','WPtdPmkSpbi','gSkLCa','e+A2REwkJ+MyLEwiNuxcQoAEJowLQEAlGowMPmknFa','tmo1Fq','WQZcJc0','dCkJW48','WQJcLaTlW6FcMmkJdG','asOKWQrRfmoKCmkQWPy','W4efWPvsDSkZW7dcImkdWP8','vCo7yYxcSwZdGsO','W6X7nSoEW45OW5u','v+AvTEAoGUAFGEImN+woOoAlKUwjQU++KoIVQ+AHL+ADNEE8HoE5HEAAP+wsRUATR+w6LE+9VbeCW5OOEKJMMlFLKztMNipMLAW','i3NcGCodW5a','WQRcIs/dKbRdOa','WPpcGmkJihG','DmoZvdzkgmoT','D8o5ua','57Mw5y6d6zIZ','WPddQCksD8k0W4NdJCoWW7igWPNdImodWPVdNCo4edLWWRv5Fmo8','WO3cJmkZcefWWO0','uN7dQSk6W4C','44gK5OYH56sK44gc6kYw5yAc6i2v5y2pW7dcR8kXWRWCW4O','WQPeisFdPG','u8kaAb9GWQaK','W7bZWRZcMfFcL8oljXG','WQrFW6ldP8kgkCkE','W7/cIsvbba','W68vmSoYgvbucSkdWQehW5e','WR/cMtxdNZhdJa','4P+hpUADQoEDR+ITKoAXH8kq','uCo/zdxcOgVdIbS9WPXW','57Q35P6P5PAU6zs5t3O','5REz5yMr5Bs15lUadq','rCosntddJgNcQSoWW7hdRc/cR8or','ve/dVCocW6/dICkYWOldKSo3WOVcQd/dILxdI8kOuSoKgLqNWQxcGCoVoUApUEwkTow4HowpJoE4OUEPQEAuNU+9IoM6PoIUL2VVViVMNQJLP6tcSCkB','W7NdH8kXWOCyqa','W5PzWQhcPge','W5JdGSkNW7xdJW','emkqAJi','hhBcGCo7W6S','WPpdOSkBoruLocj0l2tdLNJdPYaPi8o5WP7dQhZdV8oJW6xdGdBdOmoPWQJdTmoAW4mT','W6VdV08OW64','l+wTR+EjTW4','W73LVONLP7VVVBdMM5RNGOpLHldMNzpLKPHN','WPJdO8k1FSk0W4q','ngVcJ8khW50sWQFcHG','u8klv8oP','ncyYWQrX','W53dNmk+W57dN8kYoSolWO/dI8omW6WnASkQWPBcRCkBWP9Dy8oSa8oj','eJaXWR5WemoeBa','WOpdP8kxaGu','cmkzpW','ECkQWQ/cIelcMSkdW6xdJbFcHNr9WRldL8kCWQvitG','W5fXmCoHW7C','5Bw56k6G57YS6lw56l2G6l+v6ko85B215yUV6lsO5yY4','lMRcGCko','WO3dPmotd8kHWRDDivtcKsi','W4JdG2SCW7y','jCkvvb7cQq','ofZcNG','efVcTCo+vmkJ','tSo1Bq','xCospItcO23cOCoWW6NdNq','nCkQWPZcMCkkaCoRWRJdQSoLW5dcGCo0','bxtcJ8oCW5q','a03cR8ostmkI','W6xcQrPHmSkQW4dcGSogaYNdK8kCbCk/WQmdbCkGW7m/WQjybCkxrSkWagtcILKVs8k2','W43cRSoBE1j0r0Dfn0u','W4dcH8k3W6JdQG','ogZdHSoOWQGWWOHX','5B245yQg5AwD5zcP5BsZ6lYs5yQL5yYX5PAz5lIk6zMS','bsWO','8k2yRmkZ','W73cJSkZW7NdOG','eSk8W4tdOCoo','4PYFgEIfIoAEQ+I+IEIIL+MdO+wkK+s5T+MxOEIVQXu','5PsH5zc35BU85Pwx5O+8','5O2656E857Iu5P+eWPaaWQFcRh7cQmovrc55','F8ogWRCjwG','W5hdGSkRW4JdRW','5RwM5yQT5BoQ5z+dWOG','WOxcNmkPg2W','6AcQ55Ux5P245lQn57UM','W44zWOy','W6hcSGK','v+wKToI3IE+/P+wmT+wALU+/Ma','W4xcG8kE','WQxcMXXg','W6RdIhBcRuBcSJ3dJSkdWP3dIgz5W5u','l8oYW7tdJq7dN8kFW63dVaNcMhG','W5RdRmk+WRuN','jCoIW6dcUmoTW6lcOW','W6BdG8kMWOyVxCk7mCkQptG','fwNdQ8o2WPi','B+IVUUAZREwMREI3MxNINBK05Pwe5zgN5BQ05PAe5OYn','WRhdPLC','gCk6W4hdRConoXmon0WlW4C','CYRcMCkFW4eAWRhdMSooECo1W505W6RdL8oIAmoUhZ8EW5OT','sComi27dNmo3W5/cPmkoW70','5P2A5lQv6lcu57IL5y2C6zIZ','qCkVxCk4WRS','kgJdGCooWP03WOf7W4NdUvtcHGPpWRu','W41AWQ3cJeS','6lws5yYg5PE+5PsB','tmkqBcHCWRaUh3i','tmk/W7xcOSou','WP7dUmkmoX9Vy112mMhcNxBcVqmP','vCkiWPZcKgO','eHejWQDG','WOFdRSkYFmkSW4JdRCo0W6ihWPZdIG','cwldS8oksa','p1y1','gmk4W6xdNmoi','W4BcMCknW4ZdT8k9Aq','WOZcGcfqW5O','tCkqEs9UWQmK','5RsX5yI55BoB5z2ziW','ymkEWRRdIai','o8oZW7lcV8o5W7y','W4KoWR5uFmk6W7BcJmksWOuEWQxdMX3cUH7cJ0igl8klnwNdOSkBW6dcS+IhU+wUSEs5SoI/QUIJS+MwP+MzLUAwPoMvM++9JUM6VUISJmk+EbXB','smk1WRBcQ2O','sMhdNG','WRLxWQKwW6C','WQtdS8kJFCkA','WQVKUltKU67OS4ZNUixLJidPMzJMTj3LIiOe','uConmItcOIZcQCo8W7NdLcFcTSoruxD9W5q','oLCMW6iRWRRdH8oxWPJcL2O','xSk5zW','kSoIW7tcOSoIW5hcR8k5WRC','WOJdKCoKnCkm','WPJdKmkFgq0','zEs8S+AbGUwkImox','WPJdQCk8','gCkuBsdcGmkTWOC','emkZEuFcRW','WQpcSareW70','W6D3W47dLCkGeSkIWP4','W7TUmSooW78','ASoZssfPgSoVW6uDkCkBW5O5','6AoY55UW5P2O5lQa57Iy','iuW+W6i','W4eBla','WOFcICotWP/cJSoJxSkDW57cNmkFWR5Cp8kqWOdcO8kDWRbEzmo0c8ovxCodlWtdI8oBW6lcTcWxWQVdTG'];}())];}())];}());Iii11l=function(){return Iliii;};return Iii11l();};!(async()=>{const liIll1=III111,Iil1i1={'iNiGN':function(IIii11){return IIii11();}};notify[liIll1(0x281,'oCSn')]({'title':$[liIll1(0x1ae,'ii^I')]}),await Iil1i1['iNiGN'](Main),isNotify&¬ify[liIll1(0x1aa,'wkBC')]()&&await notify[liIll1(0x18a,'!JGP')]();})()[III111(0x2a7,'M!tc')](iliIl1=>$[III111(0x1f2,'yGGi')](iliIl1))['finally'](()=>$[III111(0x2b9,'Tb%d')]());async function Main(){const l1llli=III111,Ii1il1={'QGvif':function(iii1ll,IIliI1){return iii1ll!==IIliI1;},'xjJsi':function(il1lI,IliIIl){return il1lI(IliIIl);},'LNnoo':function(I1il1l,lI1l1l){return I1il1l>lI1l1l;},'XQlKg':function(IIliII,iiliI){return IIliII!==iiliI;},'rwkxE':function(Ill11I,I1il1i){return Ill11I!==I1il1i;},'IRgLa':function(IliIIi,lI1l1i){return IliIIi>=lI1l1i;},'urRAG':function(i1iil,llI11l){return i1iil!==llI11l;},'eyXJh':'⚠\x20自定义运行间隔时长设置错误','QyVgx':l1llli(0x186,'@uJ6'),'zYbSz':l1llli(0xef,'u#4*'),'lIsHP':l1llli(0x109,'dBnz'),'EaeuI':function(I1llIl,i1iii){return I1llIl!==i1iii;},'ufvGX':l1llli(0x1e4,'kJa['),'WrxxU':function(I1llIi,IIii1I){return I1llIi!==IIii1I;},'oxoAT':l1llli(0x1c3,'[i6n'),'cYVXh':l1llli(0x294,'*r!g'),'jrViW':l1llli(0x264,'T!bK'),'pppDX':function(llI11i,i1iIi1){return llI11i===i1iIi1;},'XAhBV':l1llli(0x22b,'T!bK'),'AoJVP':function(l1l1il,I11i1I){return l1l1il(I11i1I);},'ytMTr':function(iliIi1,l1l1ii){return iliIi1<l1l1ii;},'GWcXd':function(Il1i1I,Ii1iii){return Il1i1I>Ii1iii;},'DAtVO':l1llli(0x2e9,'Tb%d')};try{try{if(l1llli(0x11c,'Cddh')===l1llli(0x2b7,'TvO4'))i11ilI=ii1ii1['title']||'',llllI=lllil1[l1llli(0x28f,'aZ3d')]||'';else{const Ilil1i=Ii1il1[l1llli(0x1b4,'T!bK')](parseInt,taskThreads);Ii1il1[l1llli(0x19e,'i25^')](Ilil1i,0x0)&&Ii1il1[l1llli(0xf3,'u%zj')](Ilil1i,0x1)&&(taskThreads=Ilil1i);}}catch{Ii1il1[l1llli(0x24d,'I&2x')](l1llli(0xf5,'*O9T'),l1llli(0x163,'M!tc'))?taskThreads=0x1:[0x193,0x1ed][l1llli(0x1f1,'akUH')](lllili['status'])&&(Ill11=!![]);}taskThreads=Math[l1llli(0x2ae,'O@lf')](taskThreads,0x3),$[l1llli(0x13d,'bSh$')]=null;if(runInterval)try{const II11ii=parseInt(runInterval);Ii1il1[l1llli(0x1e1,'wkBC')](II11ii,0x0)&&($[l1llli(0x101,'3YML')]=II11ii);}catch{Ii1il1['urRAG'](l1llli(0x132,'n41B'),'QdJMH')?(lilIl1[l1llli(0xf7,'wkBC')](i1l1ii[l1llli(0x2f0,'O@lf')],l1llli(0x10d,'n41B')),i1l1['exit'](0x1)):console[l1llli(0x2f2,'*r!g')](Ii1il1['eyXJh']);}const iIIilI=l1llli(0x24a,'snc4')+common[l1llli(0x15d,'bSh$')](0xd,Ii1il1[l1llli(0x1b3,'i25^')]);$['UA']=common[l1llli(0x149,'RJNB')](iIIilI),$[l1llli(0x25d,'T!bK')]=common[l1llli(0x2c2,'I&2x')](iIIilI),$[l1llli(0x2c9,'7Sc4')]=common['getJEH'](),$['xview2Config']='';let il1l1=![];await Ii1il1[l1llli(0x19f,'MOk@')](sendRequest,Ii1il1[l1llli(0x2d3,'wKTj')]);if($[l1llli(0x158,'#3EU')])for(let II11il of $[l1llli(0x1c0,'wkBC')][l1llli(0x226,'rTKy')]||[]){for(let iIIil1 of II11il[l1llli(0x11b,'*r!g')]||[]){if([Ii1il1['lIsHP'],l1llli(0x2ea,'C5U#')][l1llli(0x12f,'8n9b')](IlllII=>iIIil1[l1llli(0x1ac,'LA9K')][l1llli(0x206,'oCSn')](IlllII))){let I1il1I=iIIil1['renderData'][l1llli(0x1d2,'mwW]')],II111=iIIil1['preDownLoadList'][0x0]['url'],lI1l1I;for(let lill11 of[I1il1I,II111]){if(lill11['includes'](l1llli(0x134,'7Sc4'))){lI1l1I=lill11;break;}}if(!lI1l1I&&I1il1I[l1llli(0x1dc,'TGm@')]('json')){if(Ii1il1[l1llli(0x1ab,'MOk@')](Ii1il1[l1llli(0x194,'!JGP')],l1llli(0x17a,'T!bK')))iIIl1i[l1llli(0x2f2,'*r!g')]('');else try{ss=await jsonurl(I1il1I);for(let I11i11 of ss[l1llli(0xfc,'1Df^')]['elementList']){if(Ii1il1['WrxxU'](l1llli(0x1c2,'akUH'),l1llli(0x11f,'wKTj'))){if(I11i11[l1llli(0x22d,'TvO4')][l1llli(0x177,'Tb%d')][l1llli(0x1e0,'dBnz')](Ii1il1[l1llli(0x258,'snc4')])){if(l1llli(0x1b8,'ii^I')!==Ii1il1[l1llli(0x26a,'mwW]')]){let Iil1il=lI1Ili[IliilI[l1llli(0x218,'bz!N')]]||l1llli(0x1c1,'&WP!')+i1II1['rewardType']+']',I11i1i=Ii1il1[l1llli(0x138,'wKTj')](iIIl11[l1llli(0x1d8,'T!bK')],l1l1I1)?l1llli(0x2d5,'*r!g')+I1iIll['leftStock']+'份)':'';return''+I1lliI['rewardName']+Iil1il+'\x20'+I11i1i;}else{lI1l1I=I11i11['dataPath'][l1llli(0x266,'aZ3d')];break;}}}else lil11I['outFlag']=!![];}}catch(I1llI1){}}if(lI1l1I){if(iIIil1[l1llli(0x126,'#GH5')][l1llli(0x178,'vq8L')]){il1l1=!![];let I11i1l=iIIil1['rule']['beginTime'],il1il=iIIil1[l1llli(0x184,'akUH')]['endTime'];const Il1i1i=$[l1llli(0x2d9,'TvO4')](Ii1il1[l1llli(0xf4,'*O9T')],I11i1l),iIIili=$[l1llli(0x292,'wkBC')]('yyyy-MM-dd\x20HH:mm',il1il);let Ii1iiI=new Date()[l1llli(0x102,'23Dj')]();if(Ii1iiI>il1il)l1llli(0x2f6,'u#4*')===l1llli(0x166,'!JGP')?iii1I1=0x1:console[l1llli(0x2df,'!JGP')](l1llli(0x285,'bz!N'));else Ii1il1[l1llli(0x2eb,'aZ3d')](Ii1iiI,I11i1l)?Ii1il1[l1llli(0x181,'23Dj')](l1llli(0x15e,'Cddh'),Ii1il1['XAhBV'])?II1li1+=l1llli(0x1b6,'#GH5')+l1lIlI['assignmentTimesLimit']+'次':(console['log'](l1llli(0x2c4,'wkBC')),await Ii1il1[l1llli(0x24b,'i25^')](redRainurl,lI1l1I)):console[l1llli(0x1fc,'ii^I')]('📢\x20'+Il1i1i+'至'+iIIili+l1llli(0x15b,'akUH'));}}}}}if(!il1l1){authorCodeList=await Ii1il1[l1llli(0x291,'[i6n')](jsonurl,l1llli(0x27c,'&WP!'));if(authorCodeList&&authorCodeList[l1llli(0x1af,'yGGi')]>0x0)for(let II11iI=0x0;Ii1il1[l1llli(0x168,'#3EU')](II11iI,authorCodeList[l1llli(0x233,'Tb%d')]);II11iI++){$[l1llli(0x204,'ii^I')]=authorCodeList[II11iI],$['activityUrl']=l1llli(0x120,'T!bK')+$[l1llli(0x288,'[i6n')]+l1llli(0x202,'kJa['),await redRainurl($[l1llli(0x1d9,'RJNB')]);}}if(interaction['length']>0x0)console[l1llli(0x2a6,'I&2x')]('🏬\x20共计\x20'+interaction[l1llli(0x2de,'T!bK')]+l1llli(0x174,'23Dj'));else return;for(let Il1i1l=0x0;Ii1il1[l1llli(0x2ee,'ii^I')](Il1i1l,interaction['length']);Il1i1l++){const Iil1ii=l1llli(0x137,'u#4*')[l1llli(0x142,'#3EU')]('|');let lill1I=0x0;while(!![]){switch(Iil1ii[lill1I++]){case'0':$[l1llli(0x1a7,'901m')]=![];continue;case'1':await common[l1llli(0x2b8,'u%zj')](taskThreads,cookiesArr,taskFnc);continue;case'2':$['needRemoveCookieIndex']=[];continue;case'3':$[l1llli(0x1f8,'RJNB')]=interaction[Il1i1l][l1llli(0x2da,'O@lf')];continue;case'4':$['encryptAssignmentId']=interaction[Il1i1l][l1llli(0x1e3,'Cddh')];continue;case'5':Il1i1l!==interaction[l1llli(0x124,'dBnz')]-0x1&&console[l1llli(0x217,'u#4*')]('');continue;case'6':Ii1il1['GWcXd']($[l1llli(0x1c6,'u#4*')]['length'],0x0)&&(cookiesArr=cookiesArr['filter']((Ii1ii1,Ilil11)=>!$['needRemoveCookieIndex'][l1llli(0x1a0,'*r!g')](Ilil11+0x1)),$[l1llli(0x261,'oCSn')]=[]);continue;}break;}}}catch(i1ii1){l1llli(0x252,'LA9K')===Ii1il1[l1llli(0x2dd,'LA9K')]?console[l1llli(0x135,'3YML')](l1llli(0x143,'akUH')+i1ii1):liIli[l1llli(0x2cb,'O@lf')]=!![];}}async function taskFnc(llI111,i1iIiI){const iI1lII=III111,IlllI1={'uWjxY':function(i1iIil,liI1il){return i1iIil>liI1il;},'qydnU':function(llIlIi,llIlIl){return llIlIi!==llIlIl;},'Pwecu':iI1lII(0x197,'u%zj'),'QNbEq':function(II11I,il1i1){return II11I(il1i1);},'NJTQc':function(lIIiIi,liI1iI){return lIIiIi>liI1iI;},'omOGd':iI1lII(0x1f9,'7Sc4'),'TqzQQ':iI1lII(0x12a,'T!bK'),'tpSQg':function(iI1Il1,i1iIl1){return iI1Il1==i1iIl1;},'xxYYo':iI1lII(0x21a,'*O9T'),'mpBvY':function(i1lli1,llIlII){return i1lli1>llIlII;},'WzBZe':'当前奖品已达到发放上限','XSYvA':'项目未开始','fzJdU':function(IIlII,lIIiII){return IIlII===lIIiII;},'TsWlm':'vLCcB','ywwhv':iI1lII(0x2bf,'8n9b'),'APUjq':iI1lII(0x29c,'Cddh'),'vYmoj':'GET','unUCf':iI1lII(0x18e,'[i6n'),'SXlFW':iI1lII(0x22f,'8n9b'),'PACuX':iI1lII(0x13a,'901m'),'WHtbO':'babelh5','TvxzA':'doInteractiveAssignment','Wcbtu':iI1lII(0x299,'TGm@'),'ImtIC':iI1lII(0x221,'bz!N'),'tUstb':iI1lII(0x265,'oCSn'),'rkJBP':iI1lII(0x298,'I&2x'),'bJlco':'application/x-www-form-urlencoded','ArysK':'https://pro.m.jd.com','ZoskP':'qAbFK','ZxnrI':function(i1iIlI,li111){return i1iIlI<li111;},'AMZBc':function(liI1lI,lIIiI1,ll1I1){return liI1lI(lIIiI1,ll1I1);},'dIlCw':function(Ii1ili,iI1Ii1){return Ii1ili>=iI1Ii1;},'PStgK':function(Ii1ill,llIlI1){return Ii1ill>llIlI1;},'IVjuR':function(iI1IiI,IIlI1){return iI1IiI(IIlI1);},'SMJEa':iI1lII(0x2b1,'u%zj'),'bxITN':'已设置跳过运行当前账号','VhcpN':function(i1iIli,i1iIll){return i1iIli!==i1iIll;},'aZSsT':iI1lII(0x1d4,'#3EU'),'DTVHU':function(i1lliI,liI1l1){return i1lliI===liI1l1;},'plTxl':iI1lII(0x1a8,'snc4'),'jApsG':function(IllIlI,IiillI){return IllIlI===IiillI;},'TEwQK':iI1lII(0x273,'i25^'),'wDvxd':function(ili11I,li11l){return ili11I>li11l;}};if($[iI1lII(0x200,'bz!N')])return{'runEnd':!![]};const I1il11=decodeURIComponent(common['getCookieValue'](llI111,iI1lII(0x22a,'i25^'))),lI1l11=iI1lII(0x1a1,'wb!W')+i1iIiI+'】'+I1il11+':',II11l=notify[iI1lII(0x1e7,'O@lf')](i1iIiI,I1il11);if(IlllI1[iI1lII(0x1ce,'RJNB')](pinFilter['length'],0x0)&&(pinFilter[iI1lII(0x1b2,'[i6n')](I1il11)||pinFilter[iI1lII(0x28b,'1Df^')](IlllI1[iI1lII(0x2cf,'yGGi')](encodeURIComponent,I1il11)))){if(IlllI1['SMJEa']!==iI1lII(0x234,'hbXY')){II11l[iI1lII(0x192,'n41B')](IlllI1[iI1lII(0x1bb,'901m')]),console[iI1lII(0x17c,'dBnz')](II11l[iI1lII(0x24e,'u#4*')]()),$['needRemoveCookieIndex'][iI1lII(0x279,'23Dj')](i1iIiI);return;}else IIIIIl['message']['fix'](I1lIil);}const II11i=await common['getLoginStatus'](llI111);if(!II11i&&typeof II11i===iI1lII(0x2d1,'hbXY')){console[iI1lII(0xfd,'#3EU')](lI1l11+iI1lII(0x1c4,'I&2x')),II11l[iI1lII(0x211,'@uJ6')](iI1lII(0x15f,'n41B')),$[iI1lII(0x270,'mwW]')][iI1lII(0x238,'T!bK')](i1iIiI);return;}let iI1Iii;const liI1ii=common[iI1lII(0x17e,'MOk@')](I1il11),lIIiIl=common[iI1lII(0x2bb,'i25^')](I1il11),iI1Iil=common[iI1lII(0x114,'1Df^')]();if($['runEnd'])return{'runEnd':!![]};if(!hasGetBasicInfo){if(IlllI1[iI1lII(0x284,'TvO4')](IlllI1['aZSsT'],iI1lII(0x198,'bSh$'))){hasGetBasicInfo=!![],await i1iIii(iI1lII(0x2a1,'3YML')),await $[iI1lII(0x23a,'O@lf')](parseInt($[iI1lII(0x180,'LA9K')]*0x1+0x1f4,0xa));if(iI1Iii){let li11i=iI1Iii?.[iI1lII(0x2dc,'rTKy')]?.['filter'](lliiIi=>lliiIi[iI1lII(0x219,'#3EU')]==0x0);prizeInfo=li11i[0x0];if(prizeInfo){let iiIi1I=prizeInfo[iI1lII(0x28a,'1Df^')][iI1lII(0x245,'wkBC')](ll1Ii=>{const l1i1I=iI1lII,ll1Il={'tWltR':function(iiIi11,ill1II){return iiIi11<ill1II;},'qQRco':function(i1llil,i1llii){const ll11iI=iii1II;return IlllI1[ll11iI(0x146,'mwW]')](i1llil,i1llii);}};if(l1i1I(0x164,'i25^')!==l1i1I(0x23f,'MOk@')){let l1i1I1=prize_map[ll1Ii[l1i1I(0x207,'ii^I')]]||l1i1I(0x237,'i25^')+ll1Ii[l1i1I(0x1a5,'Tb%d')]+']',llIIil=IlllI1[l1i1I(0x106,'RJNB')](ll1Ii['leftStock'],undefined)?l1i1I(0x188,'3YML')+ll1Ii[l1i1I(0x160,'O@lf')]+'份)':'';return''+ll1Ii[l1i1I(0x26d,'bz!N')]+l1i1I1+'\x20'+llIIil;}else{if(iillli['sendBeginTime']&&I1l1Ii[l1i1I(0x154,'*r!g')]){l1lIll[l1i1I(0x224,'i25^')](l1i1I(0x274,'bSh$')+I1l1II[l1i1I(0x260,'j2Zc')]),IIli1I[l1i1I(0x14c,'901m')]('结束时间:\x20'+I1i11I['sendEndTime']);const Ii1I1i=llIliI[l1i1I(0xfb,'3YML')](),llIIlI=new I1l1I1(I1i111[l1i1I(0x27d,'wkBC')]),Ii1I1l=new ilI1li(IIliI[l1i1I(0x1a2,'TGm@')]);if(llIIlI&&ll1Il['tWltR'](Ii1I1i,llIIlI)){II1lil[l1i1I(0x2e7,'TGm@')](l1i1I(0x1c7,'ii^I')+IIli1l[l1i1I(0x2c0,'M!tc')]+'\x20开始,晚点再来吧~'),II1lii[l1i1I(0x200,'bz!N')]=!![];return;}if(Ii1I1l&&ll1Il[l1i1I(0x21d,'mwW]')](Ii1I1i,Ii1I1l)){lIIii1['log']('活动已于\x20'+ll1i1[l1i1I(0x1f5,'7cZs')]+l1i1I(0x1c9,'A**0')),IIli1i['runEnd']=!![];return;}}}}),IllIl1=iiIi1I[iI1lII(0x1ea,'mwW]')](',');prizeInfo[iI1lII(0x1ec,'vq8L')]>0x0&&(IllIl1+=iI1lII(0xfa,'rTKy')+prizeInfo['assignmentTimesLimit']+'次');for(let IIlIl of prizeInfo[iI1lII(0x2f7,'wkBC')]){if(IIlIl['sendBeginTime']&&IIlIl['sendEndTime']){if(IlllI1[iI1lII(0x23d,'yGGi')](IlllI1[iI1lII(0x251,'@uJ6')],iI1lII(0x1f6,'wkBC')))return iil1l1['floor'](lllli[iI1lII(0x256,'oCSn')]()*(iiili1-ill11i))+lllill;else{console[iI1lII(0x1df,'7Sc4')](iI1lII(0x243,'[i6n')+IIlIl[iI1lII(0x182,'rTKy')]),console['log'](iI1lII(0x117,'u%zj')+IIlIl[iI1lII(0x1ef,'#GH5')]);const Iiilll=Date[iI1lII(0x249,'#3EU')](),Iiilli=new Date(IIlIl[iI1lII(0x21c,'Tb%d')]),IIlIi=new Date(IIlIl[iI1lII(0x27f,'8n9b')]);if(Iiilli&&Iiilll<Iiilli){if(IlllI1[iI1lII(0x13c,'7cZs')](IlllI1[iI1lII(0x2ec,'C5U#')],iI1lII(0x257,'LA9K'))){i1illl[iI1lII(0x2e7,'TGm@')](I1llil+iI1lII(0x2a5,'!JGP')),I1llii[iI1lII(0x223,'I&2x')](IlllI1[iI1lII(0x271,'yGGi')]),lilIll['needRemoveCookieIndex']['push'](l1i111);return;}else{console[iI1lII(0x157,'C5U#')](iI1lII(0x18d,'I&2x')+IIlIl[iI1lII(0x27d,'wkBC')]+iI1lII(0x123,'C5U#')),$[iI1lII(0x19d,'TvO4')]=!![];return;}}if(IIlIi&&IlllI1[iI1lII(0x2ac,'aZ3d')](Iiilll,IIlIi)){if('LkHLs'===iI1lII(0x195,'LA9K')){console[iI1lII(0x263,'RJNB')](iI1lII(0x231,'@uJ6')+IIlIl[iI1lII(0x154,'*r!g')]+iI1lII(0x2ed,'I&2x')),$[iI1lII(0x225,'[i6n')]=!![];return;}else return;}}}}console[iI1lII(0x254,'MOk@')]('活动奖品:'+IllIl1+'\x0a');}}}else II1Il=lilIlI;}await IlllI1[iI1lII(0x220,'dBnz')](i1iIii,IlllI1[iI1lII(0x2c3,'dBnz')]);if($[iI1lII(0x2b4,'snc4')])return{'runEnd':!![]};if($[iI1lII(0x2e3,'snc4')])await $[iI1lII(0x1fa,'23Dj')]($[iI1lII(0x196,'rTKy')]);function il1iI(lliiII,iiIi1i){const I1I1ll=iI1lII,liI1ll={'JclSH':function(ll1II,IllIii){const l1llll=iii1II;return IlllI1[l1llll(0x1bd,'[i6n')](ll1II,IllIii);}};try{if(IlllI1[I1I1ll(0x2f4,'@uJ6')](I1I1ll(0x1cc,'MOk@'),IlllI1['omOGd'])){ii1li[I1I1ll(0x28e,'M!tc')](I1I1ll(0x259,'wb!W')+IIll1[I1I1ll(0x119,'TvO4')]),ll1il[I1I1ll(0x2a9,'#GH5')]('结束时间:\x20'+IiiIiI[I1I1ll(0x1d7,'A**0')]);const IllIil=lilii[I1I1ll(0x108,'rTKy')](),ill1Ii=new l1iiI(ll1li[I1I1ll(0x1d3,'C5U#')]),llIIl1=new Illl1I(lliiiI[I1I1ll(0x1e8,'LA9K')]);if(ill1Ii&&IllIil<ill1Ii){I1ilIi[I1I1ll(0x267,'23Dj')](I1I1ll(0x16c,'mwW]')+IiiiI[I1I1ll(0xf6,'1Df^')]+I1I1ll(0x2a3,'bz!N')),llIlli[I1I1ll(0x1ff,'oCSn')]=!![];return;}if(llIIl1&&liI1ll['JclSH'](IllIil,llIIl1)){llIlll[I1I1ll(0x133,'wKTj')](I1I1ll(0x118,'RJNB')+lliii1[I1I1ll(0x116,'3YML')]+'\x20结束,下次早点来吧~'),Iiii1[I1I1ll(0x23e,'i25^')]=!![];return;}}else switch(lliiII){case I1I1ll(0x2b2,'bz!N'):if(iiIi1i['code']==0x0&&iiIi1i['subCode']==0x0){if(I1I1ll(0x1cd,'O@lf')!==I1I1ll(0x2e8,'8n9b'))iI1Iii=iiIi1i;else{const i1lll1=i1ili1(i1l1l1);i1lll1>0x0&&i1lll1!==0x1&&(II11Ii=i1lll1);}}else{if(I1I1ll(0x2b0,'u%zj')!==IlllI1[I1I1ll(0x170,'M!tc')])lIII11[I1I1ll(0xf0,'O@lf')]=!![];else{let l1i1Ii=iiIi1i?.['msg']||'';console[I1I1ll(0x1df,'7Sc4')](''+lI1l11+l1i1Ii);if(['项目'][I1I1ll(0x19b,'j2Zc')](l1iI1=>l1i1Ii[I1I1ll(0x1ba,'wkBC')](l1iI1))){if('jXDqx'!=='jXDqx'){const IiiI1=lI1Iil(lilIiI);IiiI1>=0x0&&(IiilIi[I1I1ll(0x25a,'wkBC')]=IiiI1);}else $[I1I1ll(0x139,'7Sc4')]=!![];}}}break;case'doInteractiveAssignment':if(iiIi1i&&IlllI1[I1I1ll(0x10c,'bz!N')](iiIi1i[I1I1ll(0x10f,'O@lf')],0x0)){let lilII=[],IIIiI=Object[I1I1ll(0x2aa,'I&2x')](iiIi1i?.['rewardsInfo']?.['successRewards']||{});for(let iii1i1 of IIIiI){let IllIll=iiIi1i['rewardsInfo'][I1I1ll(0x1b1,'*O9T')][iii1i1];lilII=lilII[I1I1ll(0x276,'ii^I')](IllIll[I1I1ll(0x185,'hbXY')](i1lllI=>i1lllI?.[I1I1ll(0x129,'i25^')]?i1lllI[I1I1ll(0x236,'n41B')]+'京豆':I1I1ll(0x214,'oCSn')));}if(lilII[I1I1ll(0x26e,'i25^')]>0x0){if(I1I1ll(0x2c6,'wKTj')!==IlllI1['xxYYo'])try{const iI1IlI=IlllI1['QNbEq'](lI1Iii,i1li);iI1IlI>=0x0&&(IliI11['waitTime']=iI1IlI);}catch{i1l1lI['log'](I1I1ll(0x21e,'vq8L'));}else console[I1I1ll(0x2d2,'rTKy')](lI1l11+I1I1ll(0x215,'hbXY')+lilII[I1I1ll(0x277,'I&2x')]('+'));}else{if(IlllI1[I1I1ll(0x2cc,'M!tc')](iiIi1i?.['rewardsInfo']?.['failRewards']?.[I1I1ll(0x1af,'yGGi')],0x0)){let l1i1Il=iiIi1i?.[I1I1ll(0x1d5,'u#4*')]?.['failRewards']?.['map'](ill1I1=>ill1I1['msg'])?.['join'](',')||'';console['log'](lI1l11+I1I1ll(0x230,'TvO4')+l1i1Il),l1i1Il?.[I1I1ll(0xfe,'wb!W')](IlllI1['WzBZe'])&&($[I1I1ll(0x1d6,'ii^I')]=!![]);}}}else iiIi1i[I1I1ll(0xf9,'MOk@')]?(console[I1I1ll(0x14e,'[i6n')](lI1l11+I1I1ll(0x213,'Cddh')+iiIi1i[I1I1ll(0xf9,'MOk@')]),(iiIi1i[I1I1ll(0x209,'oCSn')]?.[I1I1ll(0x1cf,'rTKy')](I1I1ll(0x14a,'akUH'))||iiIi1i[I1I1ll(0x14b,'ii^I')]?.[I1I1ll(0x24c,'TvO4')](IlllI1[I1I1ll(0x2c5,'3YML')]))&&(IlllI1[I1I1ll(0x1a3,'rTKy')]('vLCcB',IlllI1['TsWlm'])?$[I1I1ll(0xf1,'LA9K')]=!![]:(Ii1iIi=iliIIl[I1I1ll(0x23b,'wb!W')]((ili111,Ii1I11)=>!ill11I[I1I1ll(0x1c5,'*O9T')]['includes'](Ii1I11+0x1)),iliIIi[I1I1ll(0x29e,'*r!g')]=[]))):IlllI1[I1I1ll(0x1fd,'TvO4')]!==I1I1ll(0x121,'A**0')?console['log']('❓'+lliiII+'\x20'+JSON[I1I1ll(0x28d,'901m')](iiIi1i)):(IlIII[I1I1ll(0x2a2,'&WP!')]=!![],ilil1l[I1I1ll(0x17d,'n41B')]&&IiI1I[I1I1ll(0x1cb,'aZ3d')][I1I1ll(0x13f,'i25^')](illlIl));break;}}catch(ii1Ii){console[I1I1ll(0x1d0,'Tb%d')]('❌\x20未能正确处理\x20'+lliiII+'\x20请求响应\x20'+(ii1Ii[I1I1ll(0x283,'*O9T')]||ii1Ii));}}async function i1iIii(ii1Il){const lil1i=iI1lII;if(IlllI1[lil1i(0x147,'@uJ6')](lil1i(0x173,'dBnz'),IlllI1[lil1i(0x216,'*O9T')]))I1iIiI[lil1i(0x263,'RJNB')](lil1i(0x244,'wKTj')+li1I1+'至'+i1ilil+'有京豆红包雨');else{if($[lil1i(0x200,'bz!N')])return;let iI1Ill='',lilI1=null,IIIi1=null,i1llli=IlllI1[lil1i(0x290,'RJNB')];switch(ii1Il){case IlllI1['unUCf']:i1llli=IlllI1[lil1i(0x262,'u#4*')],iI1Ill=IlllI1[lil1i(0x250,'u#4*')],IIIi1={'functionId':lil1i(0x2d0,'MOk@')},lilI1={'sign':'11','appid':IlllI1[lil1i(0x141,'7cZs')],'t':Date[lil1i(0x239,'j2Zc')](),'body':JSON[lil1i(0x268,'u%zj')]({'projectId':0x233e7d,'encryptProjectId':$[lil1i(0x26f,'Tb%d')],'assignmentId':0x23f044,'encryptAssignmentId':$['encryptAssignmentId']})};break;case lil1i(0x10a,'dBnz'):iI1Ill=lil1i(0x228,'3YML'),IIIi1={'functionId':IlllI1[lil1i(0x286,'mwW]')],'appid':'redrain-2021','client':'wh5','clientVersion':IlllI1[lil1i(0x127,'i25^')],'body':JSON['stringify']({'completionFlag':!![],'sourceCode':lil1i(0x2a0,'oCSn'),'encryptProjectId':$[lil1i(0x162,'T!bK')],'encryptAssignmentId':$['encryptAssignmentId']})};break;default:console['log'](lil1i(0x115,'23Dj')+ii1Il);return;}const i1llll={'url':iI1Ill,'method':i1llli,'headers':{'Accept':IlllI1[lil1i(0x296,'7cZs')],'Accept-Encoding':lil1i(0x175,'TvO4'),'Accept-Language':IlllI1[lil1i(0x1f4,'TGm@')],'Connection':IlllI1[lil1i(0x22e,'i25^')],'Content-Type':IlllI1[lil1i(0x17f,'wb!W')],'Cookie':llI111,'J-E-H':iI1Iil,'J-E-C':lIIiIl,'Origin':'https://pro.m.jd.com','Referer':IlllI1['ArysK'],'User-Agent':liI1ii},'params':IIIi1,'data':lilI1,'timeout':0x7530};i1llli==='GET'&&(lil1i(0x1fe,'A**0')!==IlllI1[lil1i(0x12d,'23Dj')]?(delete i1llll[lil1i(0x240,'wkBC')],delete i1llll['headers'][lil1i(0x272,'Tb%d')]):(lllilI['log'](ilil11),illlI1&&(I1lIi1[lil1i(0x205,'LA9K')]=!![])));const iI1Ili=0x1;let llIIiI=0x0,iI1111=null,IIIl1=![];while(IlllI1['ZxnrI'](llIIiI,iI1Ili)){const Iii1=await common[lil1i(0x189,'T!bK')](i1llll);if(!Iii1['success']){iI1111='🚫\x20'+ii1Il+lil1i(0x278,'@uJ6')+Iii1['error'],llIIiI++;continue;}if(!Iii1[lil1i(0x19c,'M!tc')]){iI1111=lil1i(0x2ad,'#GH5')+ii1Il+lil1i(0x156,'bSh$'),llIIiI++;continue;}IlllI1[lil1i(0x253,'u%zj')](il1iI,ii1Il,Iii1[lil1i(0x1b5,'bz!N')]),IIIl1=![];break;}IlllI1[lil1i(0x2f5,'u%zj')](llIIiI,iI1Ili)&&(console[lil1i(0x167,'akUH')](iI1111),IIIl1&&($['outFlag']=!![]));}}}async function handleResponse(I1I1lI,ii1il){const liiiil=III111,l1iIlI={'KiZGj':'xview2Config','LEVBX':function(iI111I,IIIlI1){return iI111I===IIIlI1;},'ozFYu':function(i1lIiI,IiiIl){return i1lIiI!==IiiIl;},'rRFHN':liiiil(0x155,'bSh$'),'zHxGp':liiiil(0x152,'*r!g'),'DsgHd':liiiil(0x2db,'[i6n')};try{switch(I1I1lI){case l1iIlI[liiiil(0x161,'u#4*')]:if(l1iIlI['LEVBX'](ii1il[liiiil(0x2ce,'[i6n')],0x0)&&ii1il[liiiil(0x21f,'aZ3d')]){if(l1iIlI[liiiil(0x11d,'@uJ6')](l1iIlI['rRFHN'],l1iIlI['zHxGp']))$[liiiil(0x29a,'wKTj')]=ii1il[liiiil(0x11e,'n41B')];else{let l1lli1=Iiill?.[liiiil(0x2f3,'aZ3d')]?.[liiiil(0x203,'TvO4')]?.[liiiil(0x2f8,'@uJ6')](IiiIi=>IiiIi['msg'])?.['join'](',')||'';l11i1i[liiiil(0x1df,'7Sc4')](lI11I1+'领取失败:\x20'+l1lli1),l1lli1?.[liiiil(0x125,'8n9b')](liiiil(0x13e,'Tb%d'))&&(IiI1['runEnd']=!![]);}}else{if(ii1il['message']){if(l1iIlI[liiiil(0x2e1,'aZ3d')](l1iIlI[liiiil(0x22c,'!JGP')],l1iIlI[liiiil(0x2c7,'ii^I')]))console['log'](ii1il['message']);else{l1iii[liiiil(0x12b,'u%zj')](liiiil(0x148,'8n9b')+IIlli['sendBeginTime']+'\x20开始,晚点再来吧~'),l1iil[liiiil(0x105,'1Df^')]=!![];return;}}else console[liiiil(0x1ca,'j2Zc')](JSON[liiiil(0x26b,'A**0')](ii1il));}break;}}catch(l1iIl1){console['log'](liiiil(0x2d4,'wb!W')+I1I1lI+liiiil(0x2c1,'A**0')+(l1iIl1[liiiil(0x26c,'j2Zc')]||l1iIl1));}}async function sendRequest(ii1iI){const IIIIli=III111,IIIil={'MzIwH':IIIIli(0x12e,'23Dj'),'wJxvb':'1.1.0','zIfri':'xview2Config','JVMmP':IIIIli(0x280,'kJa['),'upIto':IIIIli(0x1e9,'LA9K'),'IYOam':'https://api.m.jd.com','pQfti':'empty','RreFx':'cors','fKsgd':function(IiiII,Iiil){return IiiII===Iiil;},'QyRYk':IIIIli(0x113,'hbXY'),'CezAo':function(IIIli,ii1i1){return IIIli<ii1i1;},'fBzkH':function(Iiii,llIl11){return Iiii!==llIl11;},'sOoUA':IIIIli(0x282,'901m'),'BnyLG':function(IIIll,I1I1il){return IIIll>I1I1il;},'zhXYU':IIIIli(0x242,'wb!W'),'jdVPz':'hosrt','kLMkD':'tpjeN'};if($['runEnd']||$[IIIIli(0x1de,'*r!g')])return;let IIIii='',iI111i=null,I1I1l1=null,iI111l=IIIIli(0x229,'RJNB'),i1lIii={};switch(ii1iI){case'xview2Config':IIIii=IIIIli(0x255,'Cddh'),i1lIii={'body':{'api-version':IIIil[IIIIli(0x104,'wKTj')]}},I1I1l1={'functionId':IIIil['zIfri']},iI111i='lmt=0&body={\x22api-version\x22:\x221.1.0\x22}';break;default:console['log']('❌\x20未知请求\x20'+ii1iI);return;}const III11i={'url':IIIii,'method':iI111l,'headers':{'Accept':'*/*','Accept-Encoding':IIIil[IIIIli(0x2d8,'bSh$')],'Accept-Language':IIIil['upIto'],'Connection':IIIIli(0x136,'TvO4'),'Content-Type':IIIIli(0x1b0,'3YML'),'J-E-H':$[IIIIli(0x293,'#3EU')],'J-E-C':$['JEC'],'Host':IIIIli(0x1ad,'#3EU'),'Origin':IIIil[IIIIli(0x2b3,'kJa[')],'Sec-Fetch-Dest':IIIil[IIIIli(0x2cd,'#3EU')],'Sec-Fetch-Mode':IIIil['RreFx'],'Sec-Fetch-Site':IIIIli(0x23c,'hbXY'),'User-Agent':$['UA']},'params':I1I1l1,'data':iI111i,'timeout':0x7530};IIIil[IIIIli(0x2b5,'[i6n')](iI111l,'GET')&&(delete III11i[IIIIli(0x14f,'wb!W')],delete III11i[IIIIli(0x208,'mwW]')][IIIil[IIIIli(0x18b,'wkBC')]]);const i1lIil=0x1;let III11l=0x0,llIl1i=null,llIl1l=![];while(IIIil[IIIIli(0x1c8,'TvO4')](III11l,i1lIil)){if(IIIil[IIIIli(0x199,'*r!g')](IIIil['sOoUA'],'uFMdo'))IiIl[IIIIli(0x2f2,'*r!g')]('❓'+IiIi+'\x20'+iI1ll1[IIIIli(0x2d7,'@uJ6')](IlI1Il));else{IIIil['BnyLG'](III11l,0x0)&&await $[IIIIli(0x232,'vq8L')](0x3e8);const liII1=await common['request'](III11i);if(!liII1[IIIIli(0x201,'u%zj')]){llIl1i='🚫\x20'+ii1iI+IIIIli(0x29b,'M!tc')+liII1[IIIIli(0x19a,'u%zj')],III11l++;continue;}if(!liII1[IIIIli(0x1b5,'bz!N')]){if(IIIil[IIIIli(0x172,'yGGi')](IIIil[IIIIli(0x2d6,'wkBC')],IIIil['zhXYU']))llll1['log'](lil11l),i1i1Il&&(i1i1Ii[IIIIli(0x169,'[i6n')]=!![],lllii[IIIIli(0x16b,'O@lf')]&&lllil[IIIIli(0x107,'rTKy')]['fix'](iI11Il));else{llIl1i=IIIIli(0x140,'vq8L')+ii1iI+IIIIli(0x20c,'8n9b'),III11l++;continue;}}await handleResponse(ii1iI,liII1['data']),llIl1l=![];break;}}if(III11l>=i1lIil){if(IIIil[IIIIli(0x2e0,'rTKy')](IIIil[IIIIli(0x15c,'Tb%d')],IIIIli(0x2f1,'ii^I')))i1i1I1[IIIIli(0x167,'akUH')](IlII1['message']);else{console['log'](llIl1i);if(llIl1l){if(IIIil[IIIIli(0x1d1,'u#4*')](IIIIli(0x20d,'RJNB'),IIIil[IIIIli(0x20f,'23Dj')]))$[IIIIli(0x1a9,'n41B')]=!![],$[IIIIli(0x153,'vq8L')]&&$[IIIIli(0x20a,'[i6n')]['fix'](llIl1i);else{Iil1I1['fix'](IIIil[IIIIli(0x16a,'wb!W')]),Ii1iII[IIIIli(0x2bd,'O@lf')](l1i11I['getInlineContent']()),II11II[IIIIli(0x187,'7cZs')]['push'](Ii1iI1);return;}}}}}async function jsonurl(llIl1I){const lllIi=III111,i1lIl1={'WTEGq':lllIi(0xee,'C5U#')},liIli1=await common[lllIi(0x246,'vq8L')]({'url':llIl1I,'method':i1lIl1[lllIi(0x25b,'A**0')],'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}),IIIlIl=liIli1['data'];return IIIlIl;}function random(IIIlI,IiiI){const lil1l=III111,iIi1i={'EMuav':function(l1iIll,l1iIli){return l1iIll+l1iIli;},'gZVHI':function(iIi1l,i1lIlI){return iIi1l*i1lIlI;}};return iIi1i[lil1l(0x1fb,'901m')](Math[lil1l(0x2b6,'M!tc')](iIi1i[lil1l(0x179,'j2Zc')](Math[lil1l(0xf2,'901m')](),IiiI-IIIlI)),IIIlI);}async function redRainurl(l1lliI){const lllIl=III111,I1I1iI={'Teelr':'项目未开始','rTKPE':lllIl(0x1bc,'wkBC'),'HXvGQ':function(iIi1I,liIIl){return iIi1I<liIIl;},'fIxre':function(IlI1lI,liIIi){return IlI1lI>liIIi;},'orCut':lllIl(0x2a4,'7cZs'),'McyHZ':'失败,活动已结束或不存在','qVaYR':function(IilllI,iI1lIi){return IilllI||iI1lIi;},'Fxrsy':function(l1lllI,llliIi){return l1lllI!==llliIi;},'PmToP':function(i1lIli,i1lIll){return i1lIli===i1lIll;},'OQlaF':'DuiHJ'},IIIlII={'url':l1lliI,'method':I1I1iI[lllIl(0x112,'901m')],'headers':{'Cookie':cookiesArr[0x1],'User-Agent':$['UA']},'timeout':0x7530},iiIiI1=0x5;let ili1Il=0x0,ili1Ii=null,Iilll1=![];while(I1I1iI[lllIl(0x1be,'wKTj')](ili1Il,iiIiI1)){I1I1iI['fIxre'](ili1Il,0x0)&&await $[lllIl(0x23a,'O@lf')](0x3e8);const ll11ii=await common[lllIl(0x297,'oCSn')](IIIlII);if(!ll11ii[lllIl(0x2be,'n41B')]){ili1Ii=''+ll11ii[lllIl(0x241,'7Sc4')],ili1Il++;ll11ii[lllIl(0x16e,'vq8L')]&&([0x193,0x1ed]['includes'](ll11ii[lllIl(0x2e6,'MOk@')])&&(I1I1iI[lllIl(0xf8,'T!bK')]===lllIl(0x1a4,'7Sc4')?l1l11i=l1iIl:Iilll1=!![]));continue;}if(!ll11ii['data']){ili1Ii=lllIl(0x144,'wb!W'),ili1Il++;continue;}if(ll11ii['data']['match'](/(活动已经结束)/)&&ll11ii['data']['match'](/(活动已经结束)/)[0x1]){$['runEnd']=!![],console[lllIl(0xfd,'#3EU')](I1I1iI[lllIl(0x1bf,'wkBC')]);return;}let liIlii=ll11ii[lllIl(0x1e2,'901m')]?.[lllIl(0x2e4,'*O9T')](/__api_data__ *= *(\{.*?\});/);if(!liIlii){ili1Ii=lllIl(0x103,'8n9b'),ili1Il++;continue;}if(liIlii){if(lllIl(0x275,'u%zj')===lllIl(0x1e5,'&WP!'))ii1I1l['log'](ii1I1i),llI&&(iI1li1[lllIl(0x10b,'RJNB')]=!![]);else{let llii1i=JSON[lllIl(0x2e2,'T!bK')](liIlii[0x1]);for(let ll11il of llii1i?.[lllIl(0x269,'TGm@')]||[]){if(ll11il?.[lllIl(0x130,'j2Zc')]?.[lllIl(0x222,'M!tc')]){let iI1lIl=JSON[lllIl(0x16d,'kJa[')](ll11il[lllIl(0x1b7,'&WP!')][lllIl(0x176,'akUH')]);if(iI1lIl?.['encryptProjectId']&&iI1lIl?.[lllIl(0x12c,'M!tc')]){$['interaction']=iI1lIl,interaction['push']($['interaction']);break;}}}if(!$[lllIl(0x1a6,'Cddh')]){let iiIiII=llii1i[lllIl(0x165,'dBnz')]?.['evContent']||'{}';var ll11I=JSON[lllIl(0x21b,'aZ3d')](iiIiII);let Iili='',iIi11='';ll11I&&ll11I[lllIl(0xff,'i25^')]&&(Iili=ll11I['title']||'',iIi11=ll11I[lllIl(0x100,'ii^I')]||'');if(I1I1iI[lllIl(0x2a8,'I&2x')](!Iili,!iIi11)){if(I1I1iI[lllIl(0x25e,'3YML')](lllIl(0x2ef,'kJa['),lllIl(0x131,'A**0'))){console[lllIl(0x2bc,'kJa[')](lllIl(0x190,'3YML')+llii1i[lllIl(0x110,'Cddh')]+'\x0a');break;}else lilIi[lllIl(0x1eb,'8n9b')]=!![];}else{ili1Ii=lllIl(0x14d,'8n9b')+Iili+lllIl(0x24f,'wb!W')+iIi11+'\x0a',ili1Il++;continue;}}}}break;}ili1Il>=iiIiI1&&(console[lllIl(0xfd,'#3EU')](ili1Ii),Iilll1&&(I1I1iI[lllIl(0x10e,'TGm@')](I1I1iI[lllIl(0x20b,'wb!W')],lllIl(0x1f3,'snc4'))?(IillIi['log'](lii+'失败:'+IllI1i['msg']),(i11I1l[lllIl(0x14b,'ii^I')]?.[lllIl(0x1ed,'M!tc')](lllIl(0x183,'23Dj'))||lil['msg']?.[lllIl(0x287,'u%zj')](I1I1iI[lllIl(0x1dd,'8n9b')]))&&(i11I1i[lllIl(0x29d,'yGGi')]=!![])):$['outFlag']=!![]));}var version_ = 'jsjiami.com.v7';
|
||
// 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)}
|