/*
小程序天天领红包

入口：小程序

定时随机

*/

const $ = new Env('天天领红包小程序版')
var iｉl='jsjiami.com.v7';const ililIi=iii1II;(function(II1iI,llI1II,lIli1l,lillIi,illIi1,ii1ili,liil1i){return II1iI=II1iI>>0x9,ii1ili='hs',liil1i='hs',function(lI1lil,i1l1iI,liil1l,lI1lii,Iiili1){const liiI1i=iii1II;lI1lii='tfi',ii1ili=lI1lii+ii1ili,Iiili1='up',liil1i+=Iiili1,ii1ili=liil1l(ii1ili),liil1i=liil1l(liil1i),liil1l=0x0;const Iil1l1=lI1lil();while(!![]&&--lillIi+i1l1iI){try{lI1lii=parseInt(liiI1i(0xe0,'hxqu'))/0x1*(-parseInt(liiI1i(0x92,'fzWQ'))/0x2)+parseInt(liiI1i(0x175,'T5HZ'))/0x3*(parseInt(liiI1i(0x1b1,'cBW&'))/0x4)+parseInt(liiI1i(0xe1,'fzWQ'))/0x5*(parseInt(liiI1i(0xfb,'T5HZ'))/0x6)+-parseInt(liiI1i(0x1c3,'857y'))/0x7*(parseInt(liiI1i(0xd2,'!&Pf'))/0x8)+parseInt(liiI1i(0xa1,'JoZw'))/0x9+-parseInt(liiI1i(0x9e,'12n1'))/0xa*(parseInt(liiI1i(0x1f4,'ff5V'))/0xb)+-parseInt(liiI1i(0x12a,'12n1'))/0xc*(-parseInt(liiI1i(0x10f,'X[y!'))/0xd);}catch(i1i11I){lI1lii=liil1l;}finally{Iiili1=Iil1l1[ii1ili]();if(II1iI<=lillIi)liil1l?illIi1?lI1lii=Iiili1:illIi1=Iiili1:liil1l=Iiili1;else{if(liil1l==illIi1['replace'](/[dheUPGxKkuISJCgfbt=]/g,'')){if(lI1lii===i1l1iI){Iil1l1['un'+ii1ili](Iiili1);break;}Iil1l1[liil1i](Iiili1);}}}}}(lIli1l,llI1II,function(il1iIl,iii1ii,il1iIi,iii1il,II11li,I1l11i,iIIiiI){return iii1ii='\x73\x70\x6c\x69\x74',il1iIl=arguments[0x0],il1iIl=il1iIl[iii1ii](''),il1iIi=`\x72\x65\x76\x65\x72\x73\x65`,il1iIl=il1iIl[il1iIi]('\x76'),iii1il=`\x6a\x6f\x69\x6e`,(0x159fc6,il1iIl[iii1il](''));});}(0x19200,0xa858d,Iii11l,0xcb),Iii11l)&&(iｉl=ililIi(0x113,'WR(X'));const notify=require('./utils/Rebels_sendJDNotify'),jdCookie=require(ililIi(0xc5,'[2ba')),common=require(ililIi(0x132,'8lN7')),{H5st}=require(ililIi(0x169,'hxqu')),isNotify=![],appId='60d61',appid='hot_channel',client='apple',clientVersion=ililIi(0xf8,'9rQV'),Referer='https://servicewechat.com/wx91d27dbf599dff74/683/page-frame.html',TASK_GET=0x1,TASK_COMP=0x0;let waitTimes=0x7d0,cookie='';const cookiesArr=Object[ililIi(0x108,'u%Cj')](jdCookie)[ililIi(0x1a6,'UJ#B')](liIil=>jdCookie[liIil])['filter'](IllI1I=>IllI1I);!cookiesArr[0x0]&&($['msg']($[ililIi(0xc8,'LW[%')],'【提示】请先获取Cookie'),process[ililIi(0xe7,'ff5V')](0x1));function Iii11l(){const i1ill=(function(){return[...[iｉl,'IxgCjkdshjiauPmeJieJ.UIcUoKm.uGv7ftKxbtS==','bxtcKGjf','nhjXvJ8','W7pdHWast8kBWPNdKSohquVdK8oas3NcRdldQg3dUq','W4ezdLGq','5lMf5yIpnq','kYWUWRtdKG','l1BdP8kPwMpcNMWaC8oziKJcVmoJW4a5p8kmCmo4pgxdM8ouWPvODCkce8opW6a','o8o5FCkdws0','vmoFhG','wCoBpIVdKG','zmouWOhdNa','W5pLPPNLI43LPA/OTiddH1VcMW','DYL0WO/cRMaIWRG','W4RdLX4E','WOhcLmkxW4JcIq','W7LZptWtWOuhA1m','WQu0hqJdLwmlWRldT1L4nXXzW6mnbCktWOG7xYFdJdePoetcSmoyECotrmk1','WRG+zG8+WO0','WQCQCbuNWOG+Dq','W7FdJ3f5WQNdL3m','WQCRcqe','kSoArmkesG','W5ldRhHxW6JdHq','W4jWDfJdL8kMhG','DmkRpM1c','WRqXhGW','kW85WR/dUgZcKq','hgVdH8kf','gmoksCkcra','W6KFy8oJzwLcWOyHFCkmWQhcLKeWgW','kgrxmcNcScC','kH48WPldO3VcPaxcIwhcRCkj','WPiTWPinW7W','6AcC5y6Q5lU55yISFW','W45gW5qnha','WOtcQmkSW57cIW','W6XoWOzRjG','W5FdMGSwuSkE','W5ZcMCoLW4xdNa','W5jPWRjqqXSbWRyqW6viW5W/WQ8KD1hdOCkeWPi','AfyGW5FdLG','jmoIEW','WOtcRCk1WQvNW5LKW6mIxmoYCcatW4nqW50CWOq','dYmLWONdSW','5lQt5yIvuq','W71/WRhdKNm2','ASoJWOVdJKq','wCkcC8odWOxdVSoUjq','WQ3cPCkVWQ0','WRBOR5JMSQ3LK47LU5zA','C8ocWPxdNa','WQO/WQFcOmku','a1FcLG9YWQRdNXldJwpdUG','p8oKcNldQCoqqK9oW5NdKJqRgSkXiW','W73dS8oIW7OdWOfMW4u+E8oLwa','W73cRb0WCCkCcmoqsSkbW6FcJG','W53ORyJMSz7LP7dOTBVcPEkCPWS','6Ac35y+s5lU95yQ1W6u','ocr6oSkuWPq','xaZdGfeAW77dTaxdJMZdNSot','W6NdNNbJWQBdL3/dPwm','WQ4QFcS','jGvIWPpcRmo2sGxdSXnKW6jb','W7JdTmoQW7OaWO5eW5S6BmotFq','W5FdGaOEyW','zmkomuvw','uc9PWPJcPhS4W6fmf8otiW','W7ytzq','Emkfg8kPlSocn8ortXtdLNyTW64+WOtdRSkGWO/dNa','DrdcH3ldOCks','f33dSmkiuW','uGxcJmkidW','dH4bWQFdHa','mvRdO8k0y1G','WQdLP6NLIQ3dU34','6Ac15y2x5lUS5yQdW50','W60Azmomrq','WP7dKhJcPa','WRrlWPufoSkBhmkSW4RdVu5VW4JcRCotBMpcGdpdSq','nwbwiIxcPaySomkL','c8ocpW','tbdcK8kT','WO8hWOlcTmkTcCoM','W5TLr2FdNa','kGecWPddLq','W59DW5iocW','FCoeWP/dKf9FW4JcJCojWQxdHG','bhFdMCkhzSoR','W7fAW73cVd45F8oA','EmoXWQ7cSq','WOrUBtfsamkq','WPRdS8kKWQZdQG','WR4IFcy1','BCkdaZFcR8oPwa','WQuTpCoUW7G','WOnLWOOTga','W4NcNbCjsa','aHaTWQNdLq','W6FdQ8kXWQHWW5D4W6muAG','4P6IF+ADTUIbM+AVRUEGRowKHUErISoy','WO3cMmkeWOJcLmoKW5z4wG8','k2bjjG','WRiGWPBcSmkt','W5xcRmoRW6hdRq','EgqkW6hdOW','j0hdGCkXAW','W7q6pG','W7HKWRm','EaxcLN4','W4LAW4iIfSoYoG','W5zaW4C','WOiEWPfqsSkKB2NdVSo0BsNdRq','pCkpvg/dHq','WQSMzZ8+WP0','mbSG','nNvwkIBcScSRnq','562U5yQD5zkz5P6M56YS','pe/dSSk4','mwnZAq','WO8gWOhcG8k3hG','WOGpzJm2','WOhcHmkkW4G','56Yw5yII5AAg6lEfkmkJCG','WR3cRCkVWQbw','tCknW7G','WPtdJ8k+WPZcKComW59gW7VdNCko','wCkeoSoMWORdOSopmmk5','WPRcJ8knW6ZcSW'],...(function(){return[...['W4zLB2a','WOxdPMRcIYO','jUISQoAWNEwtIUw6Pvy','W6nQWR3dIW','WQ8Zyt4','WRC5WOmaW4O','k1VdPmkArvJcIa','lLBdMIJcN8ogg8kTW6VdUSoaWOa','dhZdPmkfra','zmkCbCkTaa','W7DLWR1DCGGb','5lIr5yILWO8','WO3cHCkrWQRcRSoJW4m','W6OFW5y1WOOfWPvmWP0','z8oRWQFdOe0','av3cGGTx','BCkhca','i3jrbG0','W4hcK8o/W5JdICogW68','W4qVhW','WR00WRCFW7q','W4ZdK8olWP7dLmkKFq','W5HQyNhdHG','jLTSAam','c8kbsNdcRCkYn8o5EaW4WRK','FdCuCh3dO3S3i8k2mJZcHW','W51Ryq','tJ3cQ1NdVa','WOiwWPjwqmo7cLpdNSoDFa','pColBSk8za','WPRdOSksWPJdRa','W5DRWPvAwW','W5NdSN1lW6FdNmoouHnjW7ZcHvdcNq','DKC3W43dKmkM','WROwWPa7W58xW5n0W41b','WRlcHCkHWPBcOa','kWWMW59FW4G7W4L8aCo0ba','DWhcM2W','jSogaKxdVa','dSohF8oiWRG','W5ZdGqexFSkBWOq','WRhcQmkxW67cSW','FSkFi8kvoW','W7SxpwO5','nmorsxldVSk3taxdUCkxbmon','556z6zoK5BMy','ACksfsNcH8oQ','WPFcHCkgWOVcJSo0','mL3dRmkWs1hcHcegCSormq/cUW','WRPlwbPc','awBdKSknw8oN','W4biW6ZcRW','W4LmW6VcVre/DW','jCoDzmoKWQNdTmo/aCkTW75tlJ4FpGfsW7fvWR0','WOPwWOKfamkDbSkHW6W','W4NdJWCp','dv/cLJfmWRRdLtpdJwRdSW','W73dKgT6W6tcKhldPNZdPaWCWOHdpmkVDW','W6SGo0eyW5VcJa','nr44WOddShJcGa','4P+cW6/MNzBOGQpMRyBNOPpLPB/NKR0M','W4/cIq0CqW','ssTHWRBcHq','gLFcJaPi','4P+/WQhOHi3MNi7OVzBOO73PG6dLIyZKU7BPLl/ORB7cOq','ASkWoa','WRRcSCk5WO9CW5XY','wYRcGSkwuCoVaSo4ua','W7XpWRTtFa','c8koB23dHXZcQgBcKSki','W6lcObS','xaVdIGrGWQ3dMIldKq','WRa5WPhcNmkV','W4nmW6ZcGXuRyCoEfvO','m8oxq3ZdUCk2wXldOSkeo8oW','W6nUWQBdIhu','WO8gWRxcV8k3','dh9UAbfQWRxcHG3dQ30NkSk3W7SWW6yRja','5ywQ5y2Z77+D5B2R5l2D5Bo256Mm5BIUc+s6T+s4RoI3HUEiKwhPOkJNU77LJR4','BZL1DsXNWRxdGGddNxWJkmkwW4eTW6mAl8khEZpcSa','BG7cO8kXlq','W7hLPQdLIl3LPPROTO3cM8kQeq','ySk+k2y','W7q6pKCfW40','WRGoWO08W5qn','aLhcNW','WPddLNlcQaRdPmoiqcldVdOXrSkTgatcVSoZWPLyW4tcRw4Cbmk7muBcG8oj','55Ys6zoX5BIg','562+5yUw5Awb6lwHW7tcRH0','W6bYWQtdMG','W6/cG8oTW7pdMW','WOCIzImeWOGKAN7dKrn7xmkxoSkdWP98W5ZdJa','FSkgku1f','W5hdJWunDa','A1OMW4ZdVa','qmoIWQldRq','WO3cKSkcWOJcHSoJW4rLsbjHW57cMCkkW6/dMq','W5zHAehdVW','c3NdO8kTEq','WPpcLSkUW4BcIq','WQibW5S','W5e9zmohBq','WQ/cRCkJ','W6XJWR1xvGKbWRqOW4HnW5G/WRuiFW','zCoEWOpdL1K','5A+u5OMR5lQW5yMsW4RMTzdOPk3MJA/LRBZLHBhLJkdcOowNMoI2TuRdJSoJ','566h5yIs5OUR5yUZvmoA56Iv5Rot','W6tdHNvZW6K','DCozfYhdJSoRiSoiFYGBWQW7bNybdqObAq','nJWJW5Dg','WO3cTmkwW6ZcKa','W4tdJCokW4BcJCoNdGrd','BeCGW4NdT8kLgHNdPq','5BYi5yIB5PYw','p8oZgvddGCoqrq','55+/6zga5BUI','W4dcMCoR','W4zUWOHt','W4FdRh9sW4G','W6W1BSo8yW','W4bgWPFdRgS','W5XQWPjuFCoooG','h3pdNSku','FmocWPy','BCkdo8kkaW','xSk0a8ksgq','m3nXDcb4WRi','sXBcLmkQdCkqD8oCWOK4cdjBzqNdOIyXeZyvW6iNW6BdJmoPFIZdPmoK','ySkEimkNW5FcV8kM5B2Q5As544kT5lQx5lMt6lw25y6g','W70zDSofewLf'],...(function(){return['BsVcQxZdMG','WRddLNlcQaRdPmoiqcldMdCKBmkXhahcGmoZWPLy','W4nCWOPXdbVcLmok','WPqkWOWGW64yW5rBW7n7lwhdM8k+BYGmWP4xlq','WOldMCo5W5/dGConW7KEW4ZdGSkUeJuVgCkF','W6WSkwC','nZL4','uCkyamk0lW','WODGqIW','sHdcNq','W4lcL8oHW44','WRJcLmkuW4tcRSoXpJvxqY4KW4GVWQW3WROlomoa','WP4JWO7cTCkL','WOxcJIOuDSkBWOpdL8kLAeFcNmonsNhdUW','4P+YWO7OHBtMNzFOV4VOORBPGQ3LIONKUj7PLjVOR4ZcUa','n2BdJmk6Ba','c8kjkdJdJ8oZmmoN','WRVcOCkSWQ1bW5XwW6usESo/zq','W5LRu2pdMq','bxFdHmktC8oKnW','k0neyd0','WQqrAqmG','6AgZ5yYR5lIb5yImWQe','xmkyemkTm8oh','W7addviF','pSo/tCoNWRK','ySo1WRtcTSoDWP4I','WPJdP03cPZW','WReHWPlcGmkG','WPVcVSoGW6ZdJSo3W7G','tmozdstdVW','W73dJ3zcW73dG2i','WPxdI2JcSs3cV8kubbZdQZzRB8oXeWNdVSoXWPfqWR/cR3eEm8kWmGNcKmooW7WcW4hdNG','iSkzDKFdMW','W5ldGqK','AGZcQCkLca','WP7dQ0ZcGa4','m3n3ydDVWOFcGd3dJxaY','W4FdQgnoW6m','jSojg0NdJG','DmkpbcJcQW','W68pz8o/D3nwWOevCmkeWQRcNq','yhzBnmknWPaHW7hdMhPOW6NdS8k1W6Ct','W5vAW5qNfCo3oa','4P25W4ZMNz/NNkxORO3MS6fK','WP8DWOtcKG','WQdcSmk+WQf6W5W','aSo6ESoyWPS','WQHjmmoVAxLBWOWZ','WO8xWPtcTmkTaSoOWQZdUa','W51GWOy','WPCXkcpdIa','bxpdJ8k/zCoIo8oM','kw5d','v8kkeCk6pG','obuZW44','WOpcQSkUWRHe','W6fxWO5ZmIxcISomW6Chy2O','cvVcJcvcWQhdMYJdGvldTCohWQOi','m3rLtG0','WQVdMLBcLqS','v8k7lCkZha','wmknW6FcR0eymmoE','W7HLWQHXiGKg','mMDcaIK','W4LiW6G','WO3cKSkgWOJcOG','vmkCbCkSe8oajCooEtJdKdGPW7m0WOBcKSoHWPZdNmo7WRLkamk5W6XkFSowA8kfdMO','CIxcOh3dRG','tmkbW7tcJwCrp8oFp8oOWQZdQxldMa','vYxcHfxdOq','kbO5WPldVgZcOqNcKNu','jmk/BupdUq','W43dJq8vwSkjWPNdKmo/Be7dL8oauvxcPa','E+wLJUI3N8o5ECor','W40mW48','W59VBCkqWR50ur/cV8o0W7ZdMW','av/cKXbc','ogVcVcXh','emoIuSk9vq','WOFdPCkSWQBdS2pcQmkt','kW85WPRdV3JcJa7cNW','iCkBWOJdT3HqW4xcKq','W7jLWQ9kDH0x','wmkjbSkZg8oeiq','r8klW6C','WOOkWQK7W6G','56605yM75OIy5yUvAG','vHdcI07dSG','sXRcICkWomkwyq','C8o+cqZdNa','8lQ6Hmop','WRK/EIm+WO4+z1G','CqhcKwZdICkroG','W4RdT3dcHJJdK8oj','igFdQSkyqa','DsL/','WPJcLmkuW4tcPCo0iG1HzYG','WO3dIM/cQq','W5vRAhe','W5LQWObdECoBla','W4BcMCoLW4u','eEwMTUI1JIBcImkd','W41hWOpdPv0','WPddMM/cSJ/dOSoE','W5HaWOLfDW','WOO+kmoh','WR/cTCkWWQRcRG','WRtcU8klW6/cNa','umkHjthcPG','nbqS','nMjflqNcPdeKk8kQcZlcNSkZo8k/','WQ4IEYK/WPW5Dq','W63dQwrzWRa','WR4ycCotW6u','WR1Ortf+bmkhW6dcHurwtSket8oHWPuE','WQKbWOxcHCkmdmoUWQa','W4RdM3bOW4m','WPCXWPqoW6S','WROmWOyS','ka03W4O','zJbJWO3cTxapWQn2gSogkc4','WQxcQ8k8','u8ktnqpcUG','WQNdSCkeWRBdQq','imoOda','vrZcM8kTgmkcD8oEWReXacnXyYhdRW','W6RdI3bRWQxdG1ldOM7dQq'];}())];}())];}());Iii11l=function(){return i1ill;};return Iii11l();};function iii1II(_0x3c1944,_0x5584df){const _0x9c1c30=Iii11l();return iii1II=function(_0xb6e5b3,_0x448413){_0xb6e5b3=_0xb6e5b3-0x80;let _0x267964=_0x9c1c30[_0xb6e5b3];if(iii1II['nirIQj']===undefined){var _0x16b8e5=function(_0x3ecf2e){const _0x92a12f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x68f45c='',_0x1b3d93='';for(let _0x25e582=0x0,_0x4733da,_0x4034fc,_0x393342=0x0;_0x4034fc=_0x3ecf2e['charAt'](_0x393342++);~_0x4034fc&&(_0x4733da=_0x25e582%0x4?_0x4733da*0x40+_0x4034fc:_0x4034fc,_0x25e582++%0x4)?_0x68f45c+=String['fromCharCode'](0xff&_0x4733da>>(-0x2*_0x25e582&0x6)):0x0){_0x4034fc=_0x92a12f['indexOf'](_0x4034fc);}for(let _0x11273a=0x0,_0x43ef2e=_0x68f45c['length'];_0x11273a<_0x43ef2e;_0x11273a++){_0x1b3d93+='%'+('00'+_0x68f45c['charCodeAt'](_0x11273a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1b3d93);};const _0x660632=function(_0x525f3b,_0x141ce7){let _0x123aeb=[],_0x1a0ec5=0x0,_0x2be194,_0x1ebadc='';_0x525f3b=_0x16b8e5(_0x525f3b);let _0x395452;for(_0x395452=0x0;_0x395452<0x100;_0x395452++){_0x123aeb[_0x395452]=_0x395452;}for(_0x395452=0x0;_0x395452<0x100;_0x395452++){_0x1a0ec5=(_0x1a0ec5+_0x123aeb[_0x395452]+_0x141ce7['charCodeAt'](_0x395452%_0x141ce7['length']))%0x100,_0x2be194=_0x123aeb[_0x395452],_0x123aeb[_0x395452]=_0x123aeb[_0x1a0ec5],_0x123aeb[_0x1a0ec5]=_0x2be194;}_0x395452=0x0,_0x1a0ec5=0x0;for(let _0x134d8e=0x0;_0x134d8e<_0x525f3b['length'];_0x134d8e++){_0x395452=(_0x395452+0x1)%0x100,_0x1a0ec5=(_0x1a0ec5+_0x123aeb[_0x395452])%0x100,_0x2be194=_0x123aeb[_0x395452],_0x123aeb[_0x395452]=_0x123aeb[_0x1a0ec5],_0x123aeb[_0x1a0ec5]=_0x2be194,_0x1ebadc+=String['fromCharCode'](_0x525f3b['charCodeAt'](_0x134d8e)^_0x123aeb[(_0x123aeb[_0x395452]+_0x123aeb[_0x1a0ec5])%0x100]);}return _0x1ebadc;};iii1II['cDEzUd']=_0x660632,_0x3c1944=arguments,iii1II['nirIQj']=!![];}const _0x8c16ff=_0x9c1c30[0x0],_0x1fd090=_0xb6e5b3+_0x8c16ff,_0x1a9f30=_0x3c1944[_0x1fd090];return!_0x1a9f30?(iii1II['PeoNya']===undefined&&(iii1II['PeoNya']=!![]),_0x267964=iii1II['cDEzUd'](_0x267964,_0x448413),_0x3c1944[_0x1fd090]=_0x267964):_0x267964=_0x1a9f30,_0x267964;},iii1II(_0x3c1944,_0x5584df);}!(async()=>{const lilIIl=ililIi,liIii={'lZBTa':function(II1ll1,IlI1Ii){return II1ll1==IlI1Ii;},'hoVNQ':lilIIl(0x13a,'iQmP'),'akGcH':function(i11I1I,l1il1i){return i11I1I<l1il1i;},'hVTPh':'SyTkR','oHJcF':lilIIl(0x1ea,'qqC*'),'oakvo':function(ll1,iI1llI){return ll1+iI1llI;},'BKSRl':function(llliii){return llliii();},'nqYaj':function(IllI11,l1llIi){return IllI11*l1llIi;}};console[lilIIl(0xd5,'g1HN')](lilIIl(0x131,'dj^@')),console[lilIIl(0x15e,'fcS1')]('兑换红包请自行前往兑换页面'),notify['config']({'title':$[lilIIl(0x16f,'hxqu')]});for(let II1llI=0x0;liIii[lilIIl(0x1ee,'T5HZ')](II1llI,cookiesArr['length']);II1llI++){if(liIii[lilIIl(0x17d,'a!yX')]!==liIii[lilIIl(0x174,'WR(X')]){$[lilIIl(0xf9,'EE)]')]=liIii['oakvo'](II1llI,0x1),cookie=cookiesArr[II1llI],common[lilIIl(0x196,'MKIw')](cookie),$[lilIIl(0x167,'IWJh')]=decodeURIComponent(common[lilIIl(0x19f,'12n1')](cookie,'pt_pin')),$['UA']=common[lilIIl(0x144,'EE)]')]($['UserName']),$[lilIIl(0x11e,'qqC*')]=notify[lilIIl(0x9d,'0U7o')]($['index'],$[lilIIl(0xbb,'UJ#B')]),$['nickName']='',console[lilIIl(0x8c,'uyD0')](lilIIl(0x163,'fzWQ')+$[lilIIl(0xa3,'q62N')]+'】'+($['nickName']||$[lilIIl(0x1d9,'MKIw')])+'******\x0a'),await liIii['BKSRl'](Main),common['unsetCookie']();if($[lilIIl(0x1f6,'ff5V')])break;await $[lilIIl(0x16d,'&f7E')](parseInt(liIii[lilIIl(0x1b2,'12n1')](liIii['nqYaj'](waitTimes,0x1),0x64),0xa));}else{let l1llIl=[];for(let ii1I1l of i1illi[lilIIl(0xa0,'ff5V')]){let ii1I1i=liIii['lZBTa'](ii1I1l[lilIIl(0x1ef,'fcS1')],0x0)?liIii['hoVNQ']:'红包';l1llIl['push'](''+ii1I1l['discount']+ii1I1i);}Iliill[lilIIl(0xcd,'a!yX')](lilIIl(0x84,'i]Tx')+IIII11['title']+lilIIl(0xad,'857y')+l1llIl[lilIIl(0x1ca,'hxqu')](','));}}isNotify&&notify[lilIIl(0x12c,'UJ#B')]()&&(notify[lilIIl(0x1de,'iQmP')](liIii[lilIIl(0x140,'q62N')](notify['content'],'\x0a')),await notify[lilIIl(0xd9,'8lN7')]());})()['catch'](llI=>$[ililIi(0x136,'a!yX')](llI))['finally'](()=>$[ililIi(0x1c8,'EE)]')]());async function Main(){const ililIl=ililIi,llliI={'MSrwb':function(iI1li1,lllii1){return iI1li1==lllii1;},'pjauJ':'省钱币','oajJh':ililIl(0x1e5,'12n1'),'HqYrt':'UblXx','AFqBf':function(liIli,liIll){return liIli===liIll;},'pyPpg':ililIl(0x10b,'q62N'),'JeWGS':function(IilIi1,iI1liI){return IilIi1(iI1liI);},'ckTMk':ililIl(0x8a,'y7z*'),'pfFah':function(l1lIiI,llliiI){return l1lIiI/llliiI;},'cOgjk':function(IilIiI,i1i1I1){return IilIiI!==i1i1I1;},'HwiVp':ililIl(0xc1,'cBW&'),'iOhbk':ililIl(0xb7,'qqC*'),'zNzwD':ililIl(0x160,'s*bg'),'fsuEE':function(IlII1,IiI11,lli){return IlII1(IiI11,lli);},'VeJTU':function(liIlI,lll){return liIlI+lll;},'VUDJj':function(llli1,iIli1i){return llli1*iIli1i;},'oczmz':ililIl(0x1c6,'9rQV'),'rtajs':function(iI1lii,IilIii){return iI1lii==IilIii;},'RYIFT':ililIl(0x162,'itoI'),'BDTRb':function(iI1lil,l1lIi1,iIli1l){return iI1lil(l1lIi1,iIli1l);},'xYvJt':function(i1i1II,liiIIl){return i1i1II*liiIIl;},'VMGWV':function(iil1iI,IlIllI){return iil1iI(IlIllI);},'OSvQy':function(il1i1I,lI1li1,iI11II){return il1i1I(lI1li1,iI11II);},'wCfSx':function(iIII1I,ilil1i){return iIII1I+ilil1i;},'dnSeV':function(IlIIi,IiI1l){return IlIIi===IiI1l;},'LsSfQ':function(illlII,iIII11){return illlII!==iIII11;},'tmhpN':'gWXAz','bfdzD':function(IiI1i,llll1){return IiI1i==llll1;},'aXdkR':function(lil11l,i1i1Il){return lil11l(i1i1Il);},'zGqAv':function(I1lIl1,lil11i){return I1lIl1(lil11i);},'dtutU':'MiniTask_ScanTask','Jnutw':function(IlIIl,lI1liI,i1i1Ii){return IlIIl(lI1liI,i1i1Ii);},'LKqkm':function(lllii,iI11Ii){return lllii+iI11Ii;},'wffAa':function(iIII1l,lllil){return iIII1l*lllil;},'pwpUn':ililIl(0x1e6,'8lN7'),'LtBpg':function(iI11Il,iIII1i){return iI11Il(iIII1i);},'qUVsq':function(iil1i1,il1i11,IlIll1){return iil1i1(il1i11,IlIll1);},'TMCSQ':function(IlIII,ilil1l){return IlIII+ilil1l;},'zaihd':'HkIcL'};$[ililIl(0x11b,'12n1')]=!![];try{if(llliI['oajJh']!==llliI[ililIl(0x133,'itoI')]){const illlIi=await common[ililIl(0x1aa,'jjqF')](cookie);if(!illlIi&&llliI[ililIl(0x120,'qoME')](typeof illlIi,llliI['pyPpg'])){console[ililIl(0x1df,'[2ba')]('账号无效');return;}$[ililIl(0x1fc,'EE)]')]=ililIl(0x1eb,'WR(X'),$[ililIl(0x1e7,'q62N')]='',await llliI['JeWGS'](sendRequest,llliI[ililIl(0x145,'ycve')]);if($['MiniTask_ChannelPage']){const I1lIii=$[ililIl(0x13e,'ff5V')]?.['point'],IiI1I=I1lIii?llliI[ililIl(0x101,'demq')](I1lIii,0x3e8):0x0;console[ililIl(0x129,'qoME')](ililIl(0x154,'0U7o')+($[ililIl(0xb1,'s6zz')]?.[ililIl(0x89,'hxqu')]||0x0)+'省钱币，约等于'+IiI1I[ililIl(0xbd,'&f7E')](0x2)+'元');let illlIl=$['MiniTask_ChannelPage']?.[ililIl(0x1a3,'jjqF')];$[ililIl(0x155,'kh0l')]='wxapp_scene='+($[ililIl(0x166,'857y')]?.[ililIl(0x18e,'i]Tx')]||0x458)+ililIl(0x18f,'0U7o');for(let IIIIIl of illlIl?.['signTaskList']||[]){if(llliI[ililIl(0x127,'y7z*')](llliI['HwiVp'],llliI[ililIl(0x1ce,'!^5J')])){if(IIIIIl[ililIl(0x105,'wFUn')]){if(llliI[ililIl(0x1d1,'9rQV')](llliI['zNzwD'],llliI[ililIl(0x91,'fcS1')])){console[ililIl(0x187,'q62N')](ililIl(0xd7,'fcS1')+illlIl['signDays']+'天，'+(IIIIIl['signStatus']?'已':'未')+'签到');if(!IIIIIl[ililIl(0xc7,'qQ0u')]){const I1lIil=ililIl(0xf0,'wFUn')['split']('|');let IIIl1i=0x0;while(!![]){switch(I1lIil[IIIl1i++]){case'0':$[ililIl(0x82,'qqC*')]=IIIIIl[ililIl(0x18a,'8lN7')]||0x0;continue;case'1':await $[ililIl(0xe6,'HQ54')](llliI[ililIl(0x10a,'fzWQ')](parseInt,llliI[ililIl(0xab,'qqC*')](llliI[ililIl(0x1b3,'12n1')](waitTimes,0x1),0x1f4),0xa));continue;case'2':await sendRequest(llliI[ililIl(0xf2,'12n1')]);continue;case'3':$[ililIl(0x104,'JoZw')]=IIIIIl[ililIl(0x115,'ycve')];continue;case'4':$['amount']=IIIIIl[ililIl(0xd4,'ff5V')]||0x0;continue;}break;}}break;}else i1l1l1[ililIl(0x1d3,'qqC*')](ililIl(0x123,'C&3E')+IlI1I);}}else l1l1II['log']('❓'+Iil1I1+'\x20'+Ii1iII[ililIl(0x1b6,'qqC*')](l1i11I));}let i11ill=0x0,IIIIIi=[];for(let lllll of $[ililIl(0x118,'fzWQ')]?.[ililIl(0x9a,'qoME')]||[]){if(lllll?.[ililIl(0xda,'MKIw')]===0x0){if(llliI[ililIl(0x1fd,'[CVk')](lllll[ililIl(0x200,'ycve')],'6')){$[ililIl(0x1ff,'qqC*')]=ililIl(0x19e,'IWJh')+(lllll?.[ililIl(0x1a7,'qQ0u')]||0x3fb)+ililIl(0x172,'q62N'),await sendRequest(ililIl(0x168,'wFUn')),await $[ililIl(0x15d,'ycve')](llliI[ililIl(0xf4,'LW[%')](parseInt,llliI['VUDJj'](waitTimes,0x1)+0x1f4,0xa)),$[ililIl(0x1ae,'q62N')]=lllll[ililIl(0x1e3,'itoI')],await sendRequest(llliI['RYIFT']),await $[ililIl(0xbc,'dj^@')](llliI['BDTRb'](parseInt,llliI[ililIl(0xe4,'857y')](waitTimes,0x1)+0x3e8,0xa));continue;}IIIIIi['push'](lllll),$[ililIl(0x1b5,'demq')]=Math[ililIl(0xf3,'X[y!')](i11ill,lllll[ililIl(0x1f3,'9rQV')]||0x0),$['actionType']=TASK_GET,$[ililIl(0x1e3,'itoI')]=lllll['scanAssignmentId'],$[ililIl(0xa8,'u%Cj')]=lllll[ililIl(0x111,'X[y!')],$['type']=lllll[ililIl(0x200,'ycve')],$[ililIl(0xbf,'ff5V')]=lllll['title'],await llliI[ililIl(0x96,'MKIw')](sendRequest,'MiniTask_ScanTask'),await $[ililIl(0x16d,'&f7E')](llliI[ililIl(0xcc,'ycve')](parseInt,llliI[ililIl(0x1d6,'m93w')](llliI[ililIl(0x13f,'[CVk')](waitTimes,0x1),0x3e8),0xa));}else{if(llliI[ililIl(0xeb,'ycve')](lllll?.[ililIl(0x1ec,'uyD0')],0x1)){if(llliI[ililIl(0x188,'itoI')](llliI[ililIl(0x159,'C&3E')],ililIl(0xcb,'JoZw')))i1III[ililIl(0xcd,'a!yX')]('❓'+Ii1iIi+'\x20'+iliIIl['stringify'](Ii1iIl));else{if(llliI[ililIl(0x19b,'s*bg')](lllll['type'],'6')){$[ililIl(0xef,'qQ0u')]='wxapp_scene='+(lllll?.['scene']||0x3fb)+';\x20Domain=jd.com;',$[ililIl(0x1d4,'LW[%')]=lllll['scanAssignmentId'],await llliI['aXdkR'](sendRequest,llliI[ililIl(0xfe,'u%Cj')]);continue;}$['actionType']=TASK_COMP,$[ililIl(0x143,'qQ0u')]=lllll['scanAssignmentId'],$[ililIl(0x193,'[2ba')]=lllll[ililIl(0x112,'qQ0u')],$[ililIl(0x1f2,'q62N')]=lllll[ililIl(0xdc,'9rQV')],$[ililIl(0xde,'[2ba')]=lllll[ililIl(0x18d,'X[y!')],await llliI[ililIl(0xc2,'s6zz')](sendRequest,llliI[ililIl(0x16c,'s*bg')]),await $['wait'](llliI[ililIl(0x19d,'[2ba')](parseInt,llliI[ililIl(0x12b,'MKIw')](llliI[ililIl(0x1a5,'LW[%')](waitTimes,0x1),0x3e8),0xa));}}}}if($[ililIl(0x1f7,'ff5V')]>0x0)await $[ililIl(0x158,'!^5J')](llliI[ililIl(0xaf,'i]Tx')]($[ililIl(0x199,'ycve')],0x3e8));await $['wait'](llliI[ililIl(0xa9,'WR(X')](parseInt,llliI[ililIl(0x1a1,'857y')](waitTimes*0x1,0x3e8),0xa));for(let iil1l1 of IIIIIi){llliI[ililIl(0xbe,'demq')]===ililIl(0x1e6,'8lN7')?($['actionType']=TASK_COMP,$[ililIl(0x98,'kh0l')]=iil1l1[ililIl(0x14a,'y7z*')],$[ililIl(0x17c,'s*bg')]=iil1l1[ililIl(0x90,'HQ54')],$['type']=iil1l1[ililIl(0x16a,'a!yX')],$[ililIl(0x18b,'C&3E')]=iil1l1[ililIl(0x183,'T5HZ')],await llliI[ililIl(0x106,'qQ0u')](sendRequest,'MiniTask_ScanTask'),await $[ililIl(0x11a,'q62N')](llliI[ililIl(0x86,'9rQV')](parseInt,llliI[ililIl(0x15b,'HQ54')](waitTimes*0x1,0x3e8),0xa))):i1l1li[ililIl(0x157,'hxqu')]('❓'+i1ilii+'\x20'+iIIII1[ililIl(0x153,'JoZw')](i1l1ll));}}}else delete llIll1[ililIl(0xcf,'u%Cj')],delete Illl1l[ililIl(0x1c9,'!^5J')][ililIl(0xa5,'iQmP')];}catch(ill11i){if(llliI[ililIl(0x87,'IWJh')]!==ililIl(0x102,'y7z*')){let ill11l=llliI[ililIl(0x181,'MKIw')](II11I1[ililIl(0x16a,'a!yX')],0x0)?llliI['pjauJ']:'红包';Iii11I['push'](''+Iil1II[ililIl(0x1d5,'ff5V')]+ill11l);}else console[ililIl(0xce,'HQ54')](ililIl(0x173,'q62N')+ill11i);}}async function handleResponse(I1lIiI,lllili){const liiI1l=ililIi,IliiiI={'XoNJy':liiI1l(0x15a,'i]Tx'),'werwO':function(Ill11,liiIII){return Ill11===liiIII;},'bWXsf':function(li1i11,iI11I1){return li1i11===iI11I1;},'bQnBg':function(il1i1l,IlIlll){return il1i1l!==IlIlll;},'UysYm':'bSMDw','BDnyf':liiI1l(0x97,'12n1'),'Qppmz':function(IIIl1I,iil1ii){return IIIl1I===iil1ii;},'cTPAP':function(IlIlli,il1i1i){return IlIlli>il1i1i;},'nZaIp':liiI1l(0xfa,'8lN7'),'refOS':'kVDrj','jHdxi':function(lil111,i11ilI){return lil111===i11ilI;},'yZgJE':liiI1l(0x1d0,'qQ0u'),'qOKcr':function(ii1ii1,llllI){return ii1ii1!==llllI;},'jAiYT':liiI1l(0x10d,'s*bg'),'PeLPM':'nloUX','nABbF':'miniTask_getDrainageTaskReward','ZkfZD':function(lllil1,iil1il){return lllil1===iil1il;},'slcon':function(ilil1I,i11il1){return ilil1I!==i11il1;},'hoUwg':liiI1l(0x186,'#)Hh'),'jNpUf':function(ii1iiI,lllilI){return ii1iiI==lllilI;},'jaAsb':function(ilil11,illlI1){return ilil11===illlI1;},'CuaXs':'sOMMR','fwvlN':function(IIIl11,I1lIi1){return IIIl11(I1lIi1);},'xIlAj':'MiniTask_ScanReward','usrnY':function(liiIIi,lil11I,Iliii1){return liiIIi(lil11I,Iliii1);},'uFrKH':function(iIiIi,iil1ll){return iIiIi+iil1ll;},'WXnzb':function(iiilil,iil1li){return iiilil*iil1li;},'dWUVN':liiI1l(0x1cc,'HQ54'),'cBdhN':'省钱币'};try{if(IliiiI[liiI1l(0x15f,'s*bg')]===IliiiI[liiI1l(0x1b4,'uyD0')])switch(I1lIiI){case liiI1l(0xa7,'s*bg'):if(IliiiI[liiI1l(0x12e,'HQ54')](lllili?.[liiI1l(0x1dc,'wFUn')],0x0)&&IliiiI['bWXsf'](lllili?.[liiI1l(0x11d,'a!yX')],0x0))$[liiI1l(0x170,'9rQV')]=lllili[liiI1l(0x1cf,'cBW&')];else lllili['message']?IliiiI[liiI1l(0x171,'MKIw')]('bSMDw',IliiiI['UysYm'])?(I1l1Ii['log'](I1i11i),I1i11l&&(IiiIll['outFlag']=!![],IIlii[liiI1l(0x1be,'itoI')]&&IlI1ii['message']['fix'](lIIiii))):console[liiI1l(0x19a,'LW[%')](''+lllili[liiI1l(0x17f,'dj^@')]):console[liiI1l(0xa6,'i]Tx')]('❓'+I1lIiI+'\x20'+JSON[liiI1l(0xd6,'LW[%')](lllili));break;case IliiiI[liiI1l(0xdb,'ff5V')]:if(IliiiI['bWXsf'](lllili?.[liiI1l(0xb0,'857y')],0x0)&&IliiiI['Qppmz'](lllili?.[liiI1l(0x125,'[2ba')],0x0)){let iiilii=[];IliiiI['cTPAP']($[liiI1l(0x1fb,'C&3E')],0x0)&&(IliiiI[liiI1l(0x1fa,'uyD0')](IliiiI[liiI1l(0x17a,'ff5V')],IliiiI[liiI1l(0xe8,'wFUn')])?iiilii[liiI1l(0x1fe,'@BkI')]($[liiI1l(0x137,'wFUn')]+'红包'):i1iliI[liiI1l(0xd9,'8lN7')](I1iIii['rewardAmount']+liiI1l(0x156,'qQ0u')));IliiiI[liiI1l(0x189,'857y')]($['rewardAmount'],0x0)&&(IliiiI[liiI1l(0xa4,'[CVk')]('AqUgf',IliiiI['refOS'])?iiilii[liiI1l(0xd9,'8lN7')]($[liiI1l(0x176,'[2ba')]+liiI1l(0x110,'a!yX')):(I1l1II[liiI1l(0x190,'!&Pf')]=!![],IIli1I[liiI1l(0xf5,'hxqu')]&&I1l1I1[liiI1l(0x15c,'!^5J')][liiI1l(0xdf,'jjqF')](I1i111)));if(iiilii[liiI1l(0xba,'ycve')])IliiiI[liiI1l(0x150,'g1HN')](IliiiI[liiI1l(0x1da,'C&3E')],IliiiI[liiI1l(0xca,'hxqu')])?console[liiI1l(0x15e,'fcS1')](liiI1l(0x1bc,'ff5V')+iiilii[liiI1l(0xb4,'itoI')]('+\x20')):lI1Iil[liiI1l(0x1ba,'jjqF')]('签到成功:'+lilIiI['join']('+\x20'));else{if(IliiiI[liiI1l(0x165,'u%Cj')](IliiiI[liiI1l(0x109,'kh0l')],'Tmkxr'))console[liiI1l(0xfd,'EE)]')]('签到成功:\x20空气');else{IiilI1[liiI1l(0xd1,'!&Pf')]('账号无效');return;}}}else lllili[liiI1l(0x178,'ycve')]?console[liiI1l(0x1df,'[2ba')](liiI1l(0x13b,'X[y!')+lllili[liiI1l(0x1cd,'857y')]):IliiiI[liiI1l(0x8b,'JoZw')](liiI1l(0xe2,'9rQV'),IliiiI['PeLPM'])?iii1Il[liiI1l(0x16b,'0U7o')](liiI1l(0xdd,'ycve')+lI1IiI[liiI1l(0x1b8,'y7z*')]):console[liiI1l(0xd5,'g1HN')]('❓'+I1lIiI+'\x20'+JSON[liiI1l(0x9f,'m93w')](lllili));break;case IliiiI[liiI1l(0x1a9,'u%Cj')]:if(IliiiI[liiI1l(0x1a2,'s*bg')](lllili?.[liiI1l(0x95,'fcS1')],0x0)&&IliiiI[liiI1l(0xc4,'qqC*')](lllili?.[liiI1l(0xe9,'WR(X')],0x0))console[liiI1l(0x1ba,'jjqF')]('完成任务[浏览指定入口]成功，获得:\x20'+lllili[liiI1l(0x135,'[CVk')]?.['rewardAmount']+'省钱币');else lllili['message']?IliiiI['slcon'](IliiiI[liiI1l(0x177,'EE)]')],IliiiI['hoUwg'])?II1liI[liiI1l(0x1ed,'T5HZ')](liiI1l(0x11f,'qoME')+IlI1i1+liiI1l(0x94,'IWJh')+(l1lIl1[liiI1l(0x81,'LW[%')]||IiiIlI)):console['log']('完成任务[浏览指定入口]失败:\x20\x20'+lllili[liiI1l(0x1c2,'u%Cj')]):console[liiI1l(0x124,'[CVk')]('❓'+I1lIiI+'\x20'+JSON[liiI1l(0x1c1,'ff5V')](lllili));break;case liiI1l(0x1d8,'&f7E'):let lillIl=IliiiI[liiI1l(0x194,'fzWQ')]($['actionType'],0x1)?'领取':'完成';if(lllili?.[liiI1l(0x1f9,'@BkI')]===0x0&&IliiiI[liiI1l(0xb6,'EE)]')](lllili?.[liiI1l(0xd0,'!&Pf')],0x0))console['log'](lillIl+liiI1l(0x1e9,'q62N')+$['title']+']成功'),$[liiI1l(0x128,'#)Hh')]==TASK_COMP&&(IliiiI['jaAsb'](IliiiI[liiI1l(0x13d,'hxqu')],liiI1l(0x14e,'C&3E'))?IlI11[liiI1l(0x14f,'T5HZ')]=iIIIIl['data']:(await IliiiI['fwvlN'](sendRequest,IliiiI[liiI1l(0x1c4,'WR(X')]),await $['wait'](IliiiI[liiI1l(0x14b,'fcS1')](parseInt,IliiiI[liiI1l(0x100,'uyD0')](IliiiI[liiI1l(0x8e,'qqC*')](waitTimes,0x1),0x3e8),0xa))));else lllili[liiI1l(0x1b9,'s*bg')]?console[liiI1l(0xce,'HQ54')](lillIl+liiI1l(0x8f,'fzWQ')+$[liiI1l(0x141,'JoZw')]+liiI1l(0x1af,'itoI')+lllili['message']):IliiiI[liiI1l(0xf7,'wFUn')]!==liiI1l(0x1e8,'a!yX')?IliilI[liiI1l(0x16e,'itoI')](liiI1l(0x17b,'9rQV')+i1II1['title']+liiI1l(0x134,'hxqu')+iIIl11['message']):console[liiI1l(0x138,'12n1')]('❓'+I1lIiI+'\x20'+JSON[liiI1l(0x1c1,'ff5V')](lllili));break;case IliiiI[liiI1l(0x151,'9rQV')]:if(IliiiI[liiI1l(0x121,'iQmP')](lllili?.[liiI1l(0x192,'MKIw')],0x0)&&IliiiI[liiI1l(0xec,'s*bg')](lllili?.[liiI1l(0xb5,'MKIw')],0x0)){let Ill1i=[];for(let ii1iil of lllili[liiI1l(0x93,'[2ba')]){let lllI1l=IliiiI[liiI1l(0x18c,'kh0l')](ii1iil[liiI1l(0x1dd,'g1HN')],0x0)?IliiiI[liiI1l(0x10e,'a!yX')]:'红包';Ill1i[liiI1l(0x1c7,'857y')](''+ii1iil[liiI1l(0x1f1,'iQmP')]+lllI1l);}console[liiI1l(0x1d3,'qqC*')](liiI1l(0x9c,'EE)]')+$[liiI1l(0x122,'12n1')]+']奖励:\x20'+Ill1i['join'](','));}else lllili[liiI1l(0x117,'UJ#B')]?console[liiI1l(0x138,'12n1')](liiI1l(0xae,'C&3E')+$[liiI1l(0x85,'!&Pf')]+liiI1l(0x1f0,'qoME')+lllili[liiI1l(0x1f8,'m93w')]):console['log']('❓'+I1lIiI+'\x20'+JSON[liiI1l(0x119,'s6zz')](lllili));break;}else llIli1[liiI1l(0x1e2,'kh0l')](liiI1l(0x14c,'qqC*')+iliIII['message']);}catch(llI1Ii){console[liiI1l(0x197,'!^5J')](liiI1l(0xc6,'cBW&')+I1lIiI+liiI1l(0xe5,'[CVk')+(llI1Ii['message']||llI1Ii));}}async function sendRequest(lllI1i){const i1l1II=ililIi,li1i1l={'PGUuh':i1l1II(0x8a,'y7z*'),'NRvGQ':i1l1II(0xf6,'&f7E'),'KNpDF':i1l1II(0x185,'857y'),'DUmCI':i1l1II(0xb9,'fcS1'),'eXQfb':'miniTask_getDrainageTaskReward','KAfJI':'MiniTask_ScanTask','SiKrR':i1l1II(0x1a8,'s*bg'),'stUHu':i1l1II(0x11c,'m93w'),'tzwgt':'api.m.jd.com','tzvKV':'keep-alive','dFbzV':i1l1II(0x1f5,'@BkI'),'fkTks':function(i11iiI,lIli11){return i11iiI+lIli11;},'JtiQZ':function(lllI1I,lillI1){return lllI1I===lillI1;},'AXnyp':i1l1II(0xb3,'kh0l'),'VKGjD':'Content-Type','Rtvmh':function(IlIlii,i1l1i1){return IlIlii<i1l1i1;},'wFVYM':function(liil11,iiillI){return liil11!==iiillI;},'SuEGt':i1l1II(0x1e1,'demq'),'GSkWm':function(l1l111,l1iIII){return l1l111===l1iIII;},'rbeOH':'KgZEv','aHoPQ':function(llI1I1,IlIlil,lIli1I){return llI1I1(IlIlil,lIli1I);},'WbOkm':'EAYRr','JJsBh':i1l1II(0x179,'8lN7')};if($['runEnd'])return;let II1i1='',lI1lll=null,iIiII=null,iil1lI=i1l1II(0x142,'fcS1'),iiiliI={},li1i1I={};switch(lllI1i){case li1i1l[i1l1II(0x201,'uyD0')]:li1i1I={'appId':appId,'functionId':li1i1l[i1l1II(0x1d7,'cBW&')],'appid':appid,'clientVersion':clientVersion,'client':client,'body':{},'version':li1i1l[i1l1II(0x1db,'wFUn')],'ua':$['UA'],'t':!![]},iiiliI=await H5st[i1l1II(0x164,'i]Tx')](li1i1I),II1i1=li1i1l[i1l1II(0x1bf,'T5HZ')],lI1lll=iiiliI['paramsData'];break;case li1i1l[i1l1II(0x10c,'9rQV')]:let II1il=$[i1l1II(0x88,'q62N')]||'1';li1i1I={'appId':appId,'functionId':li1i1l[i1l1II(0x1d2,'X[y!')],'appid':appid,'clientVersion':clientVersion,'client':client,'body':{'itemId':II1il},'version':li1i1l[i1l1II(0xc9,'MKIw')],'ua':$['UA'],'t':!![]},iiiliI=await H5st[i1l1II(0x1a4,'y7z*')](li1i1I),II1i1='https://api.m.jd.com/client.action',lI1lll=iiiliI[i1l1II(0xb2,'LW[%')];break;case li1i1l[i1l1II(0x180,'857y')]:let lllI11=$[i1l1II(0x14a,'y7z*')]||'79dRvBQWmT2Dwyu4vvyZUt1Pa6W';li1i1I={'appId':appId,'functionId':i1l1II(0x139,'857y'),'appid':appid,'clientVersion':clientVersion,'client':client,'body':{'rewardAssignmentId':lllI11},'version':li1i1l[i1l1II(0x1ad,'#)Hh')],'ua':$['UA'],'t':!![]},iiiliI=await H5st[i1l1II(0x184,'m93w')](li1i1I),II1i1=li1i1l[i1l1II(0x83,'wFUn')],lI1lll=iiiliI[i1l1II(0xb2,'LW[%')];break;case li1i1l[i1l1II(0x148,'i]Tx')]:li1i1I={'appId':appId,'functionId':li1i1l[i1l1II(0x1ab,'u%Cj')],'appid':appid,'clientVersion':clientVersion,'client':client,'body':{'actionType':$['actionType'],'scanAssignmentId':$[i1l1II(0x80,'i]Tx')],'itemId':$[i1l1II(0xac,'WR(X')],'type':$[i1l1II(0x13c,'HQ54')]},'version':i1l1II(0x147,'IWJh'),'ua':$['UA'],'t':!![]},iiiliI=await H5st[i1l1II(0x1a4,'y7z*')](li1i1I),II1i1=li1i1l['KNpDF'],lI1lll=iiiliI[i1l1II(0x1ac,'qqC*')];break;case i1l1II(0x130,'8lN7'):li1i1I={'appId':appId,'functionId':i1l1II(0x8d,'[2ba'),'appid':appid,'clientVersion':clientVersion,'client':client,'body':{'scanAssignmentId':$['scanAssignmentId'],'type':$[i1l1II(0x1f2,'q62N')]},'version':i1l1II(0x1b0,'s6zz'),'ua':$['UA'],'t':!![]},iiiliI=await H5st[i1l1II(0x1a4,'y7z*')](li1i1I),II1i1='https://api.m.jd.com/client.action',lI1lll=iiiliI[i1l1II(0x1e4,'m93w')];break;default:console['log'](i1l1II(0x191,'s*bg')+lllI1i);return;}const illIii={'url':II1i1,'method':iil1lI,'headers':{'Accept':li1i1l[i1l1II(0x1bb,'wFUn')],'Accept-Encoding':li1i1l[i1l1II(0x12f,'MKIw')],'Accept-Language':'zh-cn','Host':li1i1l['tzwgt'],'Connection':li1i1l[i1l1II(0xaa,'itoI')],'Content-Type':li1i1l['dFbzV'],'Cookie':li1i1l[i1l1II(0x146,'9rQV')](cookie,i1l1II(0x107,'g1HN')+0x3fb+';\x20Domain=jd.com;'),'Referer':Referer,'User-Agent':$['UA']},'params':iIiII,'data':lI1lll,'timeout':0x4e20};li1i1l[i1l1II(0x1bd,'u%Cj')](iil1lI,li1i1l['AXnyp'])&&(delete illIii[i1l1II(0xd8,'WR(X')],delete illIii[i1l1II(0xed,'y7z*')][li1i1l[i1l1II(0x17e,'fzWQ')]]);const ii1il1=0x1;let lI1llI=0x0,illIil=null,Ill1I=![];while(li1i1l['Rtvmh'](lI1llI,ii1il1)){lI1llI>0x0&&await $[i1l1II(0xe3,'EE)]')](0x3e8);const I1lIll=await common[i1l1II(0x161,'8lN7')](illIii);if(!I1lIll['success']){if(li1i1l[i1l1II(0xf1,'fcS1')](li1i1l[i1l1II(0x1e0,'X[y!')],li1i1l[i1l1II(0x198,'@BkI')]))li1Ii['log'](Iliiii+i1l1II(0xee,'demq')+i1illI['title']+i1l1II(0x1cb,'kh0l')+i1IIl[i1l1II(0xc0,'X[y!')]);else{illIil='🚫\x20'+lllI1i+i1l1II(0x9b,'857y')+I1lIll[i1l1II(0xb8,'!&Pf')],lI1llI++;continue;}}if(!I1lIll?.[i1l1II(0x19c,'g1HN')]){if(li1i1l['GSkWm'](li1i1l[i1l1II(0x1a0,'8lN7')],'xpIUd'))IiilIi['log'](i1l1II(0x14d,'s6zz'));else{illIil=i1l1II(0x1c0,'IWJh')+lllI1i+'\x20请求失败\x20➜\x20无响应数据',lI1llI++;continue;}}li1i1l['aHoPQ'](handleResponse,lllI1i,I1lIll[i1l1II(0x116,'UJ#B')]),Ill1I=![];break;}lI1llI>=ii1il1&&(console['log'](illIil),Ill1I&&($[i1l1II(0x190,'!&Pf')]=!![],$[i1l1II(0x1b8,'y7z*')]&&(li1i1l[i1l1II(0xc3,'qoME')](li1i1l[i1l1II(0xd3,'#)Hh')],li1i1l[i1l1II(0x114,'&f7E')])?ilI1ll['message'][i1l1II(0x1c5,'iQmP')](Iillii):$['message'][i1l1II(0x149,'[2ba')](illIil))));}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) }
