KR/jd_superLeague.js

11 lines
41 KiB
JavaScript

/*
京东11.11魔法开启
cron "55 18 * * *" script-path=jd_superLeague.js, tag=京东11.11魔法开启
*/
const $ = new Env('京东11.11魔法开启')
var version_='jsjiami.com.v7';const llIIiI=iii1II;(function(lilII,IIIiI,iii1i1,IllIll,i1lllI,llIIi1,iI1IlI){return lilII=lilII>>0x2,llIIi1='hs',iI1IlI='hs',function(l1i1Il,ill1I1,l1i1II,ili111,Ii1I11){const iI1Ili=iii1II;ili111='tfi',llIIi1=ili111+llIIi1,Ii1I11='up',iI1IlI+=Ii1I11,llIIi1=l1i1II(llIIi1),iI1IlI=l1i1II(iI1IlI),l1i1II=0x0;const IllIli=l1i1Il();while(!![]&&--IllIll+ill1I1){try{ili111=-parseInt(iI1Ili(0x22b,'YN!]'))/0x1*(-parseInt(iI1Ili(0x157,'0K5g'))/0x2)+-parseInt(iI1Ili(0xff,'9dfZ'))/0x3+parseInt(iI1Ili(0x1db,'e40n'))/0x4+parseInt(iI1Ili(0xcc,'BnMj'))/0x5*(parseInt(iI1Ili(0xe7,'4TWa'))/0x6)+-parseInt(iI1Ili(0x1b2,'h43K'))/0x7+-parseInt(iI1Ili(0x158,'SnU!'))/0x8*(parseInt(iI1Ili(0xf6,'BnMj'))/0x9)+parseInt(iI1Ili(0x188,'e40n'))/0xa;}catch(ii1Ii){ili111=l1i1II;}finally{Ii1I11=IllIli[llIIi1]();if(lilII<=IllIll)l1i1II?i1lllI?ili111=Ii1I11:i1lllI=Ii1I11:l1i1II=Ii1I11;else{if(l1i1II==i1lllI['replace'](/[RVYrOwbDyPgGIXEAUQW=]/g,'')){if(ili111===ill1I1){IllIli['un'+llIIi1](Ii1I11);break;}IllIli[iI1IlI](Ii1I11);}}}}}(iii1i1,IIIiI,function(ii1Il,l1iII,iI1Ill,lilI1,IIIi1,i1llli,i1llll){return l1iII='\x73\x70\x6c\x69\x74',ii1Il=arguments[0x0],ii1Il=ii1Il[l1iII](''),iI1Ill=`\x72\x65\x76\x65\x72\x73\x65`,ii1Il=ii1Il[iI1Ill]('\x76'),lilI1=`\x6a\x6f\x69\x6e`,(0x145ad6,ii1Il[lilI1](''));});}(0x2f0,0x86e98,Iii11l,0xbe),Iii11l)&&(version_=llIIiI(0xe2,'@3NB'));const iIIiiI=$[llIIiI(0x175,'Gt3x')]()?require(llIIiI(0x130,'MT[M')):'',liiI1i=$['isNode']()?require('./jdCookie'):'',ililIi=require('./function/krgetH5st'),lilIIl=require('./function/jdCommon');function Iii11l(){const Iiil=(function(){return[...[version_,'EbjWswYjIAiyXVaERmgiDOQ.cYoQPmry.GvUrU7Q==','iSoJW6C','EmozW4zXrmkduSkuW6S','h8k3Fc3cK8kWDSosW6tcG8oQbJ8b','WRymWPq','W7lcQ3S7WOu','smoNjuldMG','v8k8rmo0fa','WRK0W43cN3pdMq4','CCkuWQVcKCotW500WRdcUCk4W4ldIMOQ','wEIVS+MgKEAwIEEBQ+w/UoInOowpVSkMW5JdPhakFCowndaRW6WyW6PaW7RdPrRcL8kdmCkpeSoVWRBdNCknWR9wDmk4y8kHy8oTW5nLWR4lg03cOGrzWRm','wmoMWRZdJuC6','vmosWPVcKSkMWO3dSKufW7yEFa/dTG','WRSaWOFcHrv7FSknB8kTW7vKW74acW7dTCooWRG','sSo9imoRfW','5lQn5lUK6lEP5y+/','W40ChW','juXQxNS','WQZdJ1CbyW','s0Xc','6lY85ywG6AA86AcX5AEQ6lwafa','tSo6n0hcMmk4pW','fGlcTSkwWPBcICoyyvtdNG','ySkDCSoacq','mGddSwpdQW','iGhcH8kfWQVcG8o5Bq','tCkxWQHnWQqT','W5RdQmoPW6CQWQO','kWrQ','w8o+lw3dGSkM','bSk0WOTdFW','aeRdNCoOuG','B1ZcICkj','nKi5tmov','W4eQwKDw','cgxdLmoSAq','hSoagX8Fk8kwW4hcJSo8CCoOla','5A+a5OM15lIh5yMJW47MIPFLP4tMRRVMLzBVVRa','gSkTW7NdLmogkthcSgbdW4qdECo4h0C8W6K','BCooWORcLmknWP7dPMm','q0XlWPu','C8oramoNcq','sh8PWRyXACodW57cTCkEBa','iaRcImk2WODyW6VdMu7dI8o1ySodW7a','aclcUYhcHG3dGIuYWO1HW6FdTxNdG8oGmSkGtmoA','W4CkfMbc','fWpdR8oqnSoU','WRZdKSo4','nMJdOSo6F8kMWQ4yoCk6ESoyB8k5B8kyW7ZdVmouqG','5lM25lM/5P++5yMn5zIl6k6T6zEK5PAu5O2K5lUK56Uq77Yy6k2L5QkH5P6A6iAc6lIX6kYc5AEs576s57QF5OcP5ywS','WQOrWPRcLGzrzCkkBmk3W41AW7mmgG','hHdcVbtcOq','attdNmoLcq','W7zyFSkwkmke','WOfisaVcTq','pcVdVmo0eW','t8oyWO3dIIWV','hX7dO0tdUW','c1LwE1i8','zYtcSGaM','nKldGI4Eg0GIiq','csHyc0S','x8kyw0r/CmotW6BcGq','cCk2WR7cVJZdGMy','pmkN5AEw6lAlBdlLJlVLMlZcLZu','C2pcT8k7WOS','lmk4WQ9pza','W5RdTmoT','CCkuWRG','w07dIMfZ','gCkRyJdcL8kVzSk/W6/cJCoPsYXf','W6DjFmkBlmkuWRFcISkht8oFA8kvWReYW7tcICo5nmonW6iulSkSWOdcTMxdUcCXzrTF','s0VdNN5jWRmbWO8','vmoCWRJdONa','q0jrWPe','AbS5','hXddQCo+lq','fYLVW6nTnSkfW4lcISkjFmo3jq','s8k7zW','wh3cS8kGWPq','W4bBvSkGiW','wSkGqNTp','k8oKW5ezW6W','cCknW5/dNSo7W4VdRMuQW601Ba','CCkuWRJcOmoeW50','WRKmWPZcHWP3','patcJSkJWO9z','5OQK5AAc5AEm6lA2vG','WQnkBH3cJG','BG/cUZWd','fHhcLSkEWPpcI8oGyuldMCo6aSoaW5/dRmo3CsVdNW','rSkKvmoIfSoSW4hcU2VdS8oHW7O','y8oYWPFdIZ9EW4hcVCokymo+jIuUWQm','W4GBdevWhHpcV14MWQRdIMvfgSoFWOG5eJlcGCoXFW','D1FdIa','W6SEnubo','b8k+fW','44cN5O6B56sr44oK6kYf5ysL6i+/5yYf5lU85lU36lsL5yYg5lMWWRFcUmo3WQFdRmo2W7BNMktMJl/KVj3NLACiW5xcNLJcOdNNM4tKUiBKU4xNRjdLIPFOJiFLJzi','W67dPMbn','zSo2WQhdQcu','nmoKWQj6W7fGW7rKgMRcUmo9','iGv7','W6JdGh/dQmk2','5P+H6k6v5lIm5yUT5Aw66lw2iG','zCowW5f/Aa','W60fW5/cTwC','i8obWOvFW5y','5lQ85lQB5P+Q5yIp5zIL6k6T6zwk5PAS5O+d5lIV56UH772I6k695Qkd5PYJ6isM6lUG6k635AAa57Yl57QT5Ooh5yE1','tCo1WRZdS1e','a8kWWRC','W4WadefMvKxdK0y1WQVdJwva','hePkuK42','Amo/z8osWPTwW67cM8olWPyuW7BdP23dTfhcOthcQw7dVSoEka','6l275ysk6AEU6Aga5AsY6lsbea','ACk7WO7dPW','DCk7WPO','qmkiWR9KWR88aufxWPVdQNldNCkFcSoUWQJdJCkzW7iUW5CKWPyKWRFcG8kZdd12W4zr','pMtdLSoZuW','5A+P5OUU5lIt5yQ35Asa6lEGsa','pLfOruy'],...(function(){return[...['vJTBWPNcMW4PWQC5WOrTW54AWQFcUmo2W6dcPCoNWPNcQmoUtt8QW5VcLu/dIhHQWOxdSW','C8k1W6KPWOu4WQHRhKxcN8obxW','b8kmFZZcTW','aWZcIJBcMa','E8kDWPLAWQa','W6RcNKermG','DGxcLGqL','h8k+i8ouW6lcLSkrra','sN85','CLFdNa','oatcJ8kPWQzfW4BdS0VdJ8oO','DmkNWPO','wYrm','x13cMsdcOmouW5FdGb3dQHdcJmot','WPjvAYJcTq','jarPjW','vSoCWOlcGW','lmkAW73dT8oZ','lthcVr/cKG','dmktW54','y8oZWPxdHYn1W43cUSou','hmkRWQlcTJ7dIxyKfa','6l2K5yE/6Asn6AoF5AwO6lEOW7e','kSkDWQtcMrC','W70NAw1lc8orW6GDyHC','WQOcWOhcNWy','smoalSoDdG','WR0gWOFcPfzHFG','sSo7W5n1za','iJldJSomaW','x3L1WRC3','DaxcNJyUb3CKeG','F8ogWOhdL2Cyqa','W40odfzR','q8oKFmojWOejWRldVSo/','dYFcGsVcPq','cmkEoCoiW7i','yZBcISozWRLHtCkkeCoIDqm','lSkvWQhcIWu','W6mNBxO','WRhdJCoBW65mW77cNCkw','vCooWOG','5A6L5OQp5lQ45yQO5AAC6lEUzW','DthcTGy5','hSocW7mFW7W','nHTenwO','d8kHW7VdOMevwCoRWRu','AbJcKaK5iq','uSoQlW','BCk+Cmo2iq','hSk5W6ddHq','cSobWO5vW7jlW49k','WPe6WPNcIGe','fGlcKSkBWOZcGCo1Fe7dHColxCogW43dT8o/mNNdHNhcN8olWQpdI8o8W4NdPCodWO7dKIPuW6e','CSkqW7nDjG','cmkOW7NdNCoDbJxcPw5zW49GFmo/beXIWRdcHCkGCdxcKIdcHCkQWR/cS8ofy8k0xmkB','ah5Pv0O','W5y3bhBdTvu','bCk3W73dHCorfY3cKM9xW48SC8o/','qCkUW4rveW','Bmk6W4LylW','W44ofva','wYrmWRdcGb8','oNhdQCoPqCk3WRGjmSkQz8oe','W7ddLCo4W5ax','kmknWRtcLJW','iqtdJSoAeW','g8k+WQpcTatdL28N','W6JdVv3dGSkUWP/dJCkXW5WIo1hcOw0','aCkFWPX3','BuZcISknWOnBna','W5/cVMGOWRG','vSoXpmo0ehKYytCiW4W1W6JdKCo3u8oAFSknoCoCWP3cVXuFW40ceCkxW4alz2uOWRpcQmoxcCoZWOb9zCoY','wmoOWRNcICkmuthcSKbmW6q8','iezEF3e','umozWPBdUhK','EN01W6BcKgfhFZFdJmoQbqfZoJ/cQtn6Ev3dKJtcNcGYjfmYWQfseCksWR0saLviWOhdN8kWW5BdOfuRCIhcMI10vCoaW6m1W7n7xYhdHt4fmCk+WP7dKq/cVSofWOyaWRhcKCoZWOO','W5mBcLXTq1xdTLC','6l6Y5yA96AsF6Aoe5AAf6lwaEa','5OQI5lIe77+G','WR3dNmoV','q0FdMCoTkCo/cSkK','5A+N5OUb5lQl5yIb5AAH6lEAW5m','WRNdNfC/DCkj','W4y7E3XQbmoiW6q','zrCQWQJcUxTpgmkaW4JdPJVdHCo3W5ZcT8oJnCoC','gx3dO8oNFG','5lIm5lMZ5P215yQu5zMR6k6B6zEs5PEG5O2a5lMU56Q/776I6k+35QoZ5P+r6iwy6lIn6k+T5AwX572n57I+5OgB5yAN','bmoNWQJdMfOuva','5A6t5OI55lIb5yMaW47MIOxLPiFMR6tMLk/VVQC','WOWtjSoDB8oDW7ZLV77LPkxJGldKUj3KUzJOT5NLJlu','aXpcKCkCWRhcI8oGzei','ecxcJSk+WOy','cSkHamomW7NcNmkEv156WPu/WOJcUSkUvSoAW6mCW5FcL8oTxsPErmk7W7/cJ8kpW6hdS3K','fCk+WPBcSZ4','W7ddR1NdJ8kGWP8','dSogWOryW5m','WRtdQdLrW6tdMq8RpIJdHSoRva','W4JdJK5RWQO','pmk3W7hdOmoz','DSkvWRNcGSoo','bCk2FZ7cL8kjzSkmW6i','F8o0W7GIW7lcR8okgZb8WPGvW7XjW6aXWOddHXFdKwTPW59tWRimW5CRkxpdNCk4W6jDWO89vmoCkCo+WRKXjmo4W53cNqZdQ8kYWRldP8o7tmodiaNdMZjgW6TVWOjtqCk2WPKt','W4/dU8oPW5K8','W7zlzCknimk0WRNcKmkisCowcSkEWQ84','ybuQWQa','WRtdNmoRW6a','WRldJ0Gx','WPD3qZ7cVIzxWRNcKgtcVxBdObRcKW','rCocyCoHWOq','WPDxtGC0eWZdIx8IWPxdIu8','5AYg5OQx5lUV5yQnW4ZMI5BLPlhMRPtMLA7VVBm','sheZWRa','n8k3WOJcRIm','wJHm','rCoWja','W6mrW4ZcG3m','z3dcJCkpWOu','CdKoWOxcNW','wmkjWRNcGmoo','rmosemoWfq'],...(function(){return['uxewW5/cLG','aCkSW73dGCohx3VdVNDeW44RC8o6ru9GW7RcLCoRAY7dKa','FgGSW7m','j2uVuSowW4tcUuhdN8oyW7vG','A0VLPlZOTACoW43LJQFLMQ8gvq','W5hdS8o4W4exWQZcSfu','W6tcT2um','l2ddQSoUBSk9WRCukmkTBmkpB8oSymkxW7pcQCokvCoyW7GVnK80r8o7WQ/dP8o9FsG','fhu3DSoh','cCkrWPXIvmk3hvXhaCkMhCkbWOS','omk3BWRcIa','ebFcLSktWOtcLSo1','ybBcGY0','v8oQoW','kmopWRRcGCkb','W4uDcNHWqW','bHddRSo2aCoMlCkcW4iVjW','o3xdISkfW5y','WRJdK8oBW4nU','DbBcHs0Mia','W4dcNNiVWR8','WQJdO3u2vG','hv9wx088WQGcW7G','s8kCWQ4','AqtcKa','kLJcHcKLn0a7aZaQdW','r8k1WQ1hWRG','ymoMWPxdJYbH','m2FdISkcW7G8B8kPo8owEIxdP8kou8kUW77dNxO','aCkaFXhcPa','hCk5W7RdMSoNcIhcO2rtW7q9EG','W67cQ08gWRlcJq','grBcMCkWWQXlW7/dVW','44om5O2+56sF44gJzCkbW4ddL3tcQ+w3UUwLNEAxTa','AbS5WOtcVwa','eJ5V','ENSxW7dcSG','sdtcPdOc','bCkEeCoZW6K','pGdcKCkJWOTeW4BdS0VdJ8oO','r8kwtW','W6K0W6xcQhNdTq','Amo/z8osWPTwW67cM8olWPyuW7BdP23dTfhcOthcQw7dVSoEkbOJyCoaDMhcReSzueOUqdNdG8kzmvhcRmkqqdFdN8k1wSoaymkltCotCSk6W5lcKmklWOzIW5VcUhvQfJBdSSovELiYWPyLsW','W6WOW4W','ah4jymok','nmkZEqVcKq','W7KSqxPqcConW6mSEqC0','dGLPc2m','WO1JxZdcTq','W6qPD3O','daFdM1FdUCkeWO0','WR1GFbBcRq','i2SVtq','bCohWQvxW7a','wCo+mxRdIa','WPNdLgaysa','WOj3waNcQai','pSkVzbhcOW','wCoWmh0','EeFcMmkvWQ8','E2CLW7pcMW','s8oGv8oXWRa','hH7dQCoPimo7amkOW4CRoSobWR4o','cYlcNtpcSW','lW7dV3XRWQqFWQu','wX4ubbLOW7mJW4D0WQiHW5y','W67cShSqWOa','gd/cLCkWWOq','bfZdLCkcW7K','r8kzWQn7WRm','W6VdVxVdHmkOWPVdIG','rUIUKUMeSEAvSUEAMEw9V+ImPEwnJexdHCo0ASopW6y','W6FdOee','cr3cPYpcRa','W7BcHa9ylmoeWOxcLJFdHa','iaRcMW','DmoQymojWRSeWQ7dG8oVWO0pW77dPW','quuZWPOS','lWRcLt4PW6i','gf7dMCoABW','eW0u','W78NANPbf8oCW4iBDHW6j8k/','W4RdJ8orW40m','W5/dGfb7WO0','rmk4tvXn','BSk1WPtdPW','DqqxWRBcIG','WRRdLNiuvG','q0JcRmkRDSk4s8kEW74OiCooWRe','ACo9sCoWWQ8','mgS4xa','rsPfWPhcNqa','cSkHjmobW6pcLmkZsKrHWPj0','xCo+mgldUCkYo8kh','ECo0WQNdGsL3','qSkmWP1QWPa','ymoDW5T9zmkc','gJpcVZ3cLftcIa','t3eUWPay','uSk1WRJdTtK','44co5O+O56Ab44cD6k+W5yAA6i+B5yY85lQY5lQf6lAH5y+r5lI+WPZdGNxcNeX0gEEyRUAmTEs8PEEuQmoXjCkvWPGAWQBNMOhKU6RKUi7NRA3LI7xOJzlLJz0','W7aMW5NcThG','AbJcKa','W4FdJepdRCki','5lQO5lMO6lw45yY2','vNWlWR4s','FbNcTcKn','p2eYxSoKW4u','imknW7RdQmof','krFcJSkpWPfn','a8kLbmoqW6pdHCoqdeDNWPr0WPxdOCo3tmkdWQqEWPBcHSoVhxbbsCkYW73dG8kbW6BdONr2W7tcMCooW7ZcS8ocWQtcO2JcKxddHwK6hSkgoCo/WPFcVtpdQZRdQ38hl8k8mgtdV8kMWOv4W4ZcRSktpNVcTa','gX3cHq','lsdcRmoGma','esHOW6DPmmkhW67cISkDwCo8aa','5OU95lQO77+l56MR5RkJ','E8oIWP7dNq','h8kWa8olW4tcHSkprG','5P6P6k6h5lIh5yMJ5AEt6lspWR4','lZBcUCkoWO8','6kYq5yU66zQL5Owl5z+Zj1FcR8k8FUI9IEwfNEAJH+s+MEAxJ+wgS+wTOSk65BQN6kYI6ygi6l+q6iwY5P2+5yYD6i2C5y2ofaSsW602ya'];}())];}())];}());Iii11l=function(){return Iiil;};return Iii11l();};let ililIl=!![],liiI1l='toZwuImFnkGzWBE82w3RLA',i1l1II=process[llIIiI(0x15f,'@3NB')]['jd_ttlhb_num']?process[llIIiI(0x1f3,'fUQl')][llIIiI(0x145,')xWM')]:'1',i1ill=[],I1l11l='',lilIIi;if($[llIIiI(0x140,'wPjS')]()){Object[llIIiI(0x18a,'Gt3x')](liiI1i)[llIIiI(0x149,'deqT')](llIll=>{i1ill['push'](liiI1i[llIll]);});if(process[llIIiI(0x1d1,'4Q6e')][llIIiI(0xd1,'l[AT')]&&process['env']['JD_DEBUG']===llIIiI(0x15c,'5!p('))console['log']=()=>{};}else i1ill=[$['getdata']('CookieJD'),$['getdata']('CookieJD2'),...i1i11l($[llIIiI(0x122,'Tro%')](llIIiI(0x228,'ux]r'))||'[]')[llIIiI(0xee,'fJrq')](il1iII=>il1iII[llIIiI(0x1e3,'hc]9')])]['filter'](iilli=>!!iilli);!(async()=>{const iI1111=llIIiI,IlllIl={'EBtFG':iI1111(0xe6,'I!k9'),'sEAxL':iI1111(0x1ef,'Qhve'),'cDTNa':function(II11lI,lI1IIi){return II11lI(lI1IIi);},'JJxUa':function(I1l11I,Ilil1l){return I1l11I+Ilil1l;},'eFeuE':'AHOQT','kZEgm':iI1111(0x1c6,'Gt3x'),'rsuTF':iI1111(0x104,'yI5J'),'uszRS':function(iIIiii){return iIIiii();},'MTHcj':function(iilll,il1iI1,IlllIi){return iilll(il1iI1,IlllIi);},'CxQSX':function(iIIiil,i1l1Ii){return iIIiil+i1l1Ii;}};if(!i1ill[0x0]){$[iI1111(0x19e,'20)j')]($[iI1111(0xdb,'20)j')],IlllIl[iI1111(0x1c2,'v0Y9')],'https://bean.m.jd.com/bean/signIndex.action',{'open-url':IlllIl[iI1111(0x217,'4TWa')]});return;}for(let I1iIIi=0x0;I1iIIi<i1ill[iI1111(0x177,'9a3w')];I1iIIi++){if(i1ill[I1iIIi]){I1l11l=i1ill[I1iIIi],$['UserName']=IlllIl['cDTNa'](decodeURIComponent,I1l11l[iI1111(0x227,'20)j')](/pt_pin=([^; ]+)(?=;?)/)&&I1l11l[iI1111(0x1da,'v0Y9')](/pt_pin=([^; ]+)(?=;?)/)[0x1]),$[iI1111(0x1f6,'9a3w')]=IlllIl['JJxUa'](I1iIIi,0x1),$['isLogin']=!![],$['nickName']='',lilIIi='',console[iI1111(0x13f,'h43K')](iI1111(0xf8,'rk#N')+$[iI1111(0x153,'P@ZT')]+'】'+($['nickName']||$[iI1111(0xf2,')xWM')])+iI1111(0x161,'6i6b'));if(!$[iI1111(0x15d,'@3NB')]){$[iI1111(0x110,'Qhve')]($['name'],iI1111(0x138,'6i6b'),iI1111(0x17f,'WD#l')+$['index']+'\x20'+($[iI1111(0x11c,'4Q6e')]||$[iI1111(0x137,'p5Ns')])+iI1111(0x198,'IT6Y'),{'open-url':IlllIl[iI1111(0x21d,'2K80')]});if($[iI1111(0x136,'9dfZ')]()){if(IlllIl[iI1111(0x1af,'IT6Y')]!==iI1111(0xdf,'2K80'))await iIIiiI['sendNotify']($['name']+'cookie已失效\x20-\x20'+$[iI1111(0x1b5,'7@qP')],iI1111(0x19d,'5!p(')+$['index']+'\x20'+$[iI1111(0x1d6,'0K5g')]+iI1111(0x15e,'p5Ns'));else{I1iIil[iI1111(0x22f,'7@qP')](lI1Iil[iI1111(0x10e,'e40n')],iI1111(0x17b,'0K5g'),IlllIl[iI1111(0x14c,'l[AT')],{'open-url':IlllIl[iI1111(0x17e,'@3NB')]});return;}}continue;}$[iI1111(0x12e,'5!p(')]=IlllIl[iI1111(0x209,'0hOm')]+IlllIl[iI1111(0x1f8,'l[AT')](iii1iI,IlllIl['rsuTF']),$['UA']=lilIIl[iI1111(0x1bb,'20)j')]($[iI1111(0x1a7,'Tro%')]),await IlllIl[iI1111(0x193,'9dfZ')](i1l1Il),await $[iI1111(0x148,')xWM')](IlllIl[iI1111(0x1b7,'I!k9')](parseInt,IlllIl['CxQSX'](Math['random']()*0x3e8,0x7d0),0xa));}}})()['catch'](lI1IIl=>{const IIIl1=llIIiI;$['log']('','❌\x20'+$[IIIl1(0x216,'7@qP')]+IIIl1(0x1ce,'Gt3x')+lI1IIl+'!','');})[llIIiI(0x1cd,'2K80')](()=>{const ii1ii=llIIiI;$[ii1ii(0x1b6,'Z3xV')]();});async function i1l1Il(){const Iii1=llIIiI,i1ilI={'gUmOr':'请勿随意在BoxJs输入框修改内容\x0a建议通过脚本去获取cookie','rraHn':function(iii1lI){return iii1lI();},'EIrCl':function(i1ilI1,Iiilii){return i1ilI1+Iiilii;},'KgNhZ':function(Iil1li,Iiilil){return Iil1li*Iiilil;},'cSELm':'fItVe','VXkiw':function(Iil1ll,iillI,lI1III){return Iil1ll(iillI,lI1III);},'mBtrz':function(IIliIi,IllIiI){return IIliIi!==IllIiI;},'GTIAv':'JjpuD'};$[Iii1(0x19c,'I!k9')]=![],$[Iii1(0x21e,')xWM')]=![],await i1ilI[Iii1(0x20c,'MT[M')](i1i11i),await $['wait'](parseInt(i1ilI[Iii1(0x1a5,'DWuf')](i1ilI[Iii1(0x19f,'SnU!')](Math[Iii1(0xfd,'@3NB')](),0x3e8),0x3e8),0xa));if($['nowcontinue']){if(i1ilI[Iii1(0x1c9,'MT[M')]===i1ilI[Iii1(0x18d,'p5Ns')]){await Iil1lI(),await $[Iii1(0xd0,'4TWa')](i1ilI['VXkiw'](parseInt,i1ilI['EIrCl'](i1ilI['KgNhZ'](Math['random'](),0x3e8),0x3e8),0xa));for(let i1il1=0x0;i1il1<$[Iii1(0x168,')xWM')];i1il1++){i1ilI[Iii1(0x1f7,'wPjS')](Iii1(0xcf,'DWuf'),i1ilI[Iii1(0x1dd,'2NBo')])?iiilli[Iii1(0x192,'hc]9')](l1iIIl):(await II11l1(),await $[Iii1(0x16c,'!pnu')](i1ilI[Iii1(0x15b,'YN!]')](parseInt,i1ilI[Iii1(0x10b,'ux]r')](Math[Iii1(0x1ab,')lAT')]()*0x3e8,0x3e8),0xa)));}}else try{return iIIl11[Iii1(0x1fa,'BnMj')](l1l1I1);}catch(liiI11){return I1ilI1['log'](liiI11),iillll['msg'](lIIilI[Iii1(0x109,'6i6b')],'',i1ilI[Iii1(0x164,'e40n')]),[];}}}function llIli(ililI1){const I1I1lI=llIIiI,IIii1i={'Ralnz':I1I1lI(0x10f,'2K80'),'OLozQ':function(i1ili,Iiill1){return i1ili==Iiill1;},'rHixE':'object'};try{if(I1I1lI(0x1a6,'deqT')===IIii1i['Ralnz']){if(IIii1i['OLozQ'](typeof JSON['parse'](ililI1),IIii1i[I1I1lI(0x208,'6tyE')]))return!![];}else l1il1l();}catch(lilII1){return console[I1I1lI(0x20f,'0K5g')](lilII1),console[I1I1lI(0x212,'Qhve')](I1I1lI(0x1bf,'hc]9')),![];}}function i1i11l(iill1){const ii1il=llIIiI,iii1l1={'KYjfb':function(IIliIl,II11ll){return IIliIl==II11ll;},'jNHCy':'string','hrVfQ':function(liiI1I,ililII){return liiI1I!==ililII;},'gnbtM':ii1il(0x176,'5!p('),'CVUol':function(lI1II1,i1ilII){return lI1II1!==i1ilII;},'NCUId':'TCFcE','NZGjU':ii1il(0x18e,'1Wl^')};if(iii1l1[ii1il(0xd2,'hc]9')](typeof iill1,iii1l1[ii1il(0x1f4,'@3NB')])){if(iii1l1[ii1il(0x13b,'P@ZT')](ii1il(0x156,'0hOm'),iii1l1[ii1il(0x152,'2NBo')]))ll1ii[ii1il(0x1dc,'DWuf')](ii1il(0xec,'4TWa')+(IIli11?.['errMsg']||''));else try{return JSON[ii1il(0x105,'4Q6e')](iill1);}catch(IllIi1){if(iii1l1['CVUol'](iii1l1[ii1il(0x1cb,'fUQl')],iii1l1[ii1il(0xfe,'l[AT')]))IiIl[ii1il(0x1e2,'dfO@')](IiIi,iI1ll1);else return console[ii1il(0xce,'I!k9')](IllIi1),$[ii1il(0x12f,'MT[M')]($[ii1il(0x119,'P@ZT')],'',iii1l1[ii1il(0x1ad,'Yr6H')]),[];}}}function iii1II(_0x2a567b,_0x280fd1){const _0x16b7cb=Iii11l();return iii1II=function(_0x4f8c2c,_0x12ee72){_0x4f8c2c=_0x4f8c2c-0xca;let _0x5b5e93=_0x16b7cb[_0x4f8c2c];if(iii1II['DnEAJw']===undefined){var _0x2a361f=function(_0x1d197e){const _0x3636af='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x190fcf='',_0xba7ef0='';for(let _0x36d8a1=0x0,_0x5b209d,_0xee5fe4,_0x3b4566=0x0;_0xee5fe4=_0x1d197e['charAt'](_0x3b4566++);~_0xee5fe4&&(_0x5b209d=_0x36d8a1%0x4?_0x5b209d*0x40+_0xee5fe4:_0xee5fe4,_0x36d8a1++%0x4)?_0x190fcf+=String['fromCharCode'](0xff&_0x5b209d>>(-0x2*_0x36d8a1&0x6)):0x0){_0xee5fe4=_0x3636af['indexOf'](_0xee5fe4);}for(let _0x1a0344=0x0,_0x276413=_0x190fcf['length'];_0x1a0344<_0x276413;_0x1a0344++){_0xba7ef0+='%'+('00'+_0x190fcf['charCodeAt'](_0x1a0344)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xba7ef0);};const _0xb84782=function(_0x1cc75b,_0x4c5e78){let _0x20978d=[],_0x39ad7b=0x0,_0x517bfd,_0x50251a='';_0x1cc75b=_0x2a361f(_0x1cc75b);let _0x278d31;for(_0x278d31=0x0;_0x278d31<0x100;_0x278d31++){_0x20978d[_0x278d31]=_0x278d31;}for(_0x278d31=0x0;_0x278d31<0x100;_0x278d31++){_0x39ad7b=(_0x39ad7b+_0x20978d[_0x278d31]+_0x4c5e78['charCodeAt'](_0x278d31%_0x4c5e78['length']))%0x100,_0x517bfd=_0x20978d[_0x278d31],_0x20978d[_0x278d31]=_0x20978d[_0x39ad7b],_0x20978d[_0x39ad7b]=_0x517bfd;}_0x278d31=0x0,_0x39ad7b=0x0;for(let _0x43ca8a=0x0;_0x43ca8a<_0x1cc75b['length'];_0x43ca8a++){_0x278d31=(_0x278d31+0x1)%0x100,_0x39ad7b=(_0x39ad7b+_0x20978d[_0x278d31])%0x100,_0x517bfd=_0x20978d[_0x278d31],_0x20978d[_0x278d31]=_0x20978d[_0x39ad7b],_0x20978d[_0x39ad7b]=_0x517bfd,_0x50251a+=String['fromCharCode'](_0x1cc75b['charCodeAt'](_0x43ca8a)^_0x20978d[(_0x20978d[_0x278d31]+_0x20978d[_0x39ad7b])%0x100]);}return _0x50251a;};iii1II['jMzSJm']=_0xb84782,_0x2a567b=arguments,iii1II['DnEAJw']=!![];}const _0x1f209a=_0x16b7cb[0x0],_0x230a74=_0x4f8c2c+_0x1f209a,_0x5bef4c=_0x2a567b[_0x230a74];return!_0x5bef4c?(iii1II['wPCaDh']===undefined&&(iii1II['wPCaDh']=!![]),_0x5b5e93=iii1II['jMzSJm'](_0x5b5e93,_0x12ee72),_0x2a567b[_0x230a74]=_0x5b5e93):_0x5b5e93=_0x5bef4c,_0x5b5e93;},iii1II(_0x2a567b,_0x280fd1);}async function i1i11i(){const l1iIlI=llIIiI,Ii1ilI={'ivZRG':function(II11i1,iliIil){return II11i1+iliIil;},'JeRIy':function(iliIii,lill1i){return iliIii==lill1i;},'sqrsA':function(il1li,iIIill){return il1li|iIIill;},'CxWIu':function(iilii,Ill11i){return iilii!==Ill11i;},'FbZWf':l1iIlI(0x12c,'6i6b'),'oAHAb':function(iilil,Ill11l){return iilil===Ill11l;},'LcPEN':l1iIlI(0x19b,'hc]9'),'BIZGJ':'12.2.0','FuNnn':l1iIlI(0x13a,'e40n'),'tDiUV':'https://api.m.jd.com','xfydW':'https://prodev.m.jd.com','uUJgU':'https://prodev.m.jd.com/mall/active/8x5pxEuycgqqztQHHdnH6WULxBZ/index.html','JpXrc':l1iIlI(0x206,'Qhve'),'Gmsdp':function(il1ll,i1ilIi){return il1ll*i1ilIi;}};return new Promise(async lill1l=>{const IIIlI1=l1iIlI,l1l1i1={'UyJrx':function(Il1i11,iii1li){const iI111I=iii1II;return Ii1ilI[iI111I(0x170,'ux]r')](Il1i11,iii1li);},'iqtnX':function(Iil1i1,IIii11){return Ii1ilI['JeRIy'](Iil1i1,IIii11);},'KqMuM':function(iliIl1,Ii1il1){return Ii1ilI['sqrsA'](iliIl1,Ii1il1);},'gWlIc':function(iii1ll,IIliI1){return iii1ll===IIliI1;},'ZGCjN':IIIlI1(0x22c,'2K80'),'jxLpH':function(il1lI,IliIIl){const i1lIiI=IIIlI1;return Ii1ilI[i1lIiI(0x117,'P@ZT')](il1lI,IliIIl);},'plUkL':Ii1ilI[IIIlI1(0x1de,'rk#N')],'KaEfC':function(I1il1l,lI1l1l){return Ii1ilI['oAHAb'](I1il1l,lI1l1l);},'qGFer':'phDwq','IFGYU':function(IIliII){return IIliII();}},i1iiI={'appId':'b7d17','functionId':IIIlI1(0x1ea,'Gt3x'),'appid':Ii1ilI['LcPEN'],'clientVersion':Ii1ilI[IIIlI1(0x100,'nNYz')],'client':IIIlI1(0x1ec,'0K5g'),'body':{'linkId':liiI1l,'taskId':'','inviter':'','inJdApp':!![]},'version':Ii1ilI[IIIlI1(0x1b1,'Yr6H')],'ua':$['UA'],'t':!![]},i1ilIl=await ililIi['getH5st'](i1iiI);let llI11I={'url':Ii1ilI[IIIlI1(0x134,'6tyE')],'body':i1ilIl[IIIlI1(0x1e4,'p5Ns')],'headers':{'origin':Ii1ilI['xfydW'],'Referer':Ii1ilI[IIIlI1(0x169,'4Q6e')],'User-Agent':$['UA'],'Cookie':I1l11l,'content-type':IIIlI1(0x202,'5!p('),'accept':Ii1ilI['JpXrc']},'timeout':Ii1ilI['Gmsdp'](0x14,0x3e8)};$[IIIlI1(0x200,'!pnu')](llI11I,async(iiliI,Ill11I,I1il1i)=>{const ii1l1l=IIIlI1,IliIIi={'lJMZi':function(lI1l1i,i1iil){return l1l1i1['iqtnX'](lI1l1i,i1iil);},'PzLsg':function(llI11l,I1llIl){const IiiIl=iii1II;return l1l1i1[IiiIl(0x1ed,'20)j')](llI11l,I1llIl);}};if(l1l1i1[ii1l1l(0xfa,'Tro%')]('OamGL',l1l1i1['ZGCjN']))return IlI1Ii[ii1l1l(0xe4,'2NBo')](/[xy]/g,function(I1llIi){const l1lli1=ii1l1l;var IIii1I=iI1llI[l1lli1(0x1fd,'SnU!')]()*0xa|0x0,llI11i=IliIIi[l1lli1(0x1cf,'2NBo')](I1llIi,'x')?IIii1I:IliIIi[l1lli1(0x205,'SnU!')](IIii1I&0x3,0x8);return llliii=llI11i['toString'](),IllI11;});else try{if(iiliI){if(l1l1i1[ii1l1l(0x1e7,'MT[M')](ii1l1l(0x114,'WD#l'),l1l1i1[ii1l1l(0x180,'e40n')]))return!![];else console['log'](''+JSON[ii1l1l(0x21b,'2K80')](iiliI));}else{I1il1i=JSON[ii1l1l(0x17c,'wPjS')](I1il1i);if(l1l1i1[ii1l1l(0x128,'YN!]')](I1il1i['code'],0x0))$['nowcontinue']=!![],$[ii1l1l(0xd8,'4TWa')]=I1il1i?.['data']?.[ii1l1l(0x13e,'p5Ns')],console[ii1l1l(0x1d2,'dfO@')]('当前抽奖次数:'+$[ii1l1l(0x1fc,'20)j')]);else I1il1i[ii1l1l(0x171,'IT6Y')]==0x192?console[ii1l1l(0x20e,'e40n')](ii1l1l(0x1ff,'20)j')+(I1il1i?.[ii1l1l(0x199,'BnMj')]||'')):console[ii1l1l(0x20e,'e40n')]('进入首页失败,'+(I1il1i?.[ii1l1l(0x14f,'1Wl^')]||''));}}catch(l1l1il){$[ii1l1l(0x139,'WD#l')](l1l1il,Ill11I);}finally{l1l1i1[ii1l1l(0x17a,'!pnu')](l1l1i1['qGFer'],ii1l1l(0x195,'DWuf'))?l1l1i1[ii1l1l(0x1d0,'bh4Q')](lill1l):lIII1l['log'](l1l1i1['UyJrx']('',l1iIIi[ii1l1l(0x12d,'SnU!')](lilIi)));}});});}async function II11l1(){const IiiIi=llIIiI,iliIi1={'GqkOW':function(l1l1ii,Il1i1I){return l1l1ii==Il1i1I;},'UoxQm':function(Ii1iii,iIIilI){return Ii1iii===iIIilI;},'NmzIP':function(il1l1,Ii1iil){return il1l1!==Ii1iil;},'mTgRo':IiiIi(0x14a,'1Wl^'),'TzDDP':function(Ilil1i,iili1){return Ilil1i===iili1;},'nOaSy':function(II11ii,Iil1iI){return II11ii!==Iil1iI;},'HeKJB':'pYMJc','nUMak':IiiIi(0x20b,'6i6b'),'KdGPe':IiiIi(0x1b4,'4TWa'),'RbDIr':IiiIi(0x133,'YN!]'),'uPAln':IiiIi(0xd7,'1Wl^'),'xeBCs':IiiIi(0x124,'I!k9'),'lFbNb':IiiIi(0x219,'7@qP'),'ihzyV':IiiIi(0x1ba,'0hOm'),'KkDSX':IiiIi(0x1fe,'ux]r'),'eZdQt':IiiIi(0x141,'ux]r'),'DODYU':IiiIi(0x11e,'Yr6H'),'JtbbC':IiiIi(0xd3,'Tro%')};return new Promise(async II11il=>{const IIIil=IiiIi,iIIil1={'qpIwE':function(IlllII,I1il1I){const ii1l1i=iii1II;return iliIi1[ii1l1i(0x11f,'IT6Y')](IlllII,I1il1I);},'PNsEv':function(II111,lI1l1I){const l1iIl1=iii1II;return iliIi1[l1iIl1(0x101,'4TWa')](II111,lI1l1I);},'jnXcO':'KNHav','KkrUQ':function(lill11,liI1i1){const ii1iI=iii1II;return iliIi1[ii1iI(0xe8,'SnU!')](lill11,liI1i1);},'moGtf':iliIi1['mTgRo'],'iHvbD':function(I11i11,I1llII){return iliIi1['TzDDP'](I11i11,I1llII);},'FCfot':'AwoOc','LCSvI':function(Iil1il){return Iil1il();}};if(iliIi1[IIIil(0x13d,'Hf7G')](IIIil(0x181,'MT[M'),iliIi1['HeKJB'])){const I11i1i={'appId':iliIi1[IIIil(0xd6,'SnU!')],'functionId':iliIi1['KdGPe'],'appid':iliIi1[IIIil(0x1b0,')xWM')],'clientVersion':iliIi1[IIIil(0x214,'1Wl^')],'client':iliIi1['xeBCs'],'body':{'linkId':liiI1l},'version':iliIi1['lFbNb'],'ua':$['UA'],'t':!![]},l1l1iI=await ililIi[IIIil(0x1a3,')lAT')](I11i1i);let I1llI1={'url':iliIi1[IIIil(0x159,'9dfZ')],'body':l1l1iI[IIIil(0x1c3,'rk#N')],'headers':{'origin':iliIi1[IIIil(0x154,'ux]r')],'Referer':iliIi1['eZdQt'],'User-Agent':$['UA'],'Cookie':I1l11l,'content-type':iliIi1[IIIil(0x1e6,'1Wl^')],'accept':iliIi1['JtbbC']},'timeout':0x14*0x3e8};$[IIIil(0x14b,'IT6Y')](I1llI1,async(I11i1l,il1il,Il1i1i)=>{const IIIii=IIIil;if(iIIil1[IIIii(0xca,'yI5J')](iIIil1[IIIii(0xd4,'TpvV')],IIIii(0x112,'wPjS')))lili1['nowcontinue']=!![],ll1l1[IIIii(0x155,'v0Y9')]=IllIIi?.[IIIii(0x107,'WD#l')]?.['remainTimes'],IllIIl[IIIii(0x201,'!pnu')]('当前抽奖次数:'+IiiIi1[IIIii(0x1b9,'p5Ns')]);else try{if(iIIil1[IIIii(0x150,'6tyE')](IIIii(0x20a,'5!p('),iIIil1['moGtf']))return Ii1iIl[IIIii(0x212,'Qhve')](iliIIi),ill11I['log'](IIIii(0xf5,'20)j')),![];else{if(I11i1l)console[IIIii(0x1ee,'Hf7G')](''+JSON[IIIii(0xeb,'20)j')](I11i1l));else{Il1i1i=JSON['parse'](Il1i1i);if(iIIil1[IIIii(0xcb,'fUQl')](Il1i1i['code'],0x0))switch(Il1i1i?.['data']?.[IIIii(0x225,'MT[M')]){case 0x0:console[IIIii(0x186,'Tro%')](IIIii(0x189,'l[AT'));break;case 0x1:console[IIIii(0x111,')lAT')]('抽中优惠券:'+Il1i1i?.[IIIii(0x1d8,'Z3xV')]?.[IIIii(0x1c0,'hc]9')]);break;case 0x2:console[IIIii(0x17d,'MT[M')](IIIii(0xed,'2NBo')+Il1i1i?.[IIIii(0x108,'fJrq')]?.[IIIii(0x10a,'1Wl^')]);break;case null:console[IIIii(0x1fb,'2K80')]('运气不太好,什么都没有抽到...');break;default:console['log'](Il1i1i?.[IIIii(0x123,'MT[M')]?.[IIIii(0x103,'6tyE')]+'-'+Il1i1i?.['data']?.[IIIii(0x106,'rk#N')]);return;}else{if(Il1i1i['code']==0x192){if(iIIil1[IIIii(0x1d7,'BnMj')](IIIii(0x144,'6tyE'),iIIil1[IIIii(0x222,'9a3w')]))console['log']('抽奖失败,'+(Il1i1i?.['errMsg']||''));else{iI1lli=ll1iI['parse'](iI1lll);if(iIIil1[IIIii(0x16d,'WD#l')](l1lIll['code'],0x0))IlI1iI[IIIii(0x1b8,'e40n')]=!![],Iillil['lotteryChances']=l1lIli?.[IIIii(0x1f0,'nNYz')]?.['remainTimes'],lIIiiI[IIIii(0x13f,'h43K')]('当前抽奖次数:'+II1lil[IIIii(0x1d4,'6tyE')]);else I1i111['code']==0x192?IIli1l['log'](IIIii(0x21c,'4Q6e')+(II1lii?.['errMsg']||'')):lIIii1['log'](IIIii(0x1a2,'1Wl^')+(ll1i1?.[IIIii(0x1c8,'SnU!')]||''));}}else console[IIIii(0x18f,'yI5J')](IIIii(0x1e5,'!pnu')+(Il1i1i?.[IIIii(0xf1,'6i6b')]||'')),$['lhb4b_open']=![];}}}}catch(iliIiI){IIIii(0xe5,'9dfZ')==='QQSyQ'?ll1il[IIIii(0xcd,'MT[M')](IiiIiI,lilii):$[IIIii(0xdc,'Qhve')](iliIiI,il1il);}finally{iIIil1[IIIii(0x13c,'MT[M')](II11il);}});}else lI11Il();});}async function Iil1lI(){const iI111i=llIIiI,Iil1ii={'YVoYZ':iI111i(0x1c7,'deqT'),'xYwng':iI111i(0x174,')lAT'),'cOIhb':iI111i(0x11a,'IT6Y'),'zaFln':iI111i(0x163,'ux]r'),'hnDBv':iI111i(0x226,'BnMj'),'MCVCh':function(i1ii1,il1ii){return i1ii1<il1ii;},'iapEF':function(llI111,i1iIiI){return llI111===i1iIiI;},'gnEuq':iI111i(0x121,'6tyE'),'vEfYm':iI111i(0x231,'MT[M'),'xZPGm':function(IlllI1,I1il11,lI1l11,II11l){return IlllI1(I1il11,lI1l11,II11l);},'knfgx':function(II11i,iI1Iii,liI1ii){return II11i(iI1Iii,liI1ii);},'aKhrY':function(lIIiIl,iI1Iil){return lIIiIl+iI1Iil;},'GFsFi':function(il1iI,i1iIii){return il1iI!==i1iIii;},'YkwJF':'wUnDC','cJcUN':iI111i(0x187,'Yr6H'),'vFsET':'https://api.m.jd.com','nqMzB':iI111i(0x118,'4TWa'),'jfutn':iI111i(0xea,'P@ZT'),'NZaiV':iI111i(0xfb,'Hf7G'),'ptLqT':iI111i(0xd5,'4TWa')},lill1I={'appId':Iil1ii[iI111i(0x1ac,'bh4Q')],'functionId':iI111i(0x1a4,'Tro%'),'appid':iI111i(0xf3,'WD#l'),'clientVersion':iI111i(0x165,'0K5g'),'client':iI111i(0x124,'I!k9'),'body':{'linkId':liiI1l},'version':'4.1','ua':$['UA'],'t':!![]},Ii1ii1=await ililIi[iI111i(0x221,'hc]9')](lill1I);let Ilil11={'url':Iil1ii[iI111i(0x1c1,'0hOm')],'body':Ii1ii1[iI111i(0x12a,'MT[M')],'headers':{'origin':Iil1ii['nqMzB'],'Referer':Iil1ii[iI111i(0x147,'1Wl^')],'User-Agent':$['UA'],'Cookie':I1l11l,'content-type':Iil1ii[iI111i(0x1c5,'v0Y9')],'accept':Iil1ii[iI111i(0x203,'Yr6H')]},'timeout':0x14*0x3e8};return new Promise(i1iIil=>{const I1I1l1=iI111i;$[I1I1l1(0x22d,')xWM')](Ilil11,async(liI1il,llIlIi,llIlIl)=>{const iI111l=I1I1l1;try{if(liI1il)Iil1ii['YVoYZ']==='kiexL'?II1Ii[iI111l(0x1ae,'2NBo')](i1ii[I1iIl1]):$[iI111l(0x1fb,'2K80')](liI1il);else{llIlIl=JSON[iI111l(0x21f,'hc]9')](llIlIl);if(llIlIl?.['code']==0x0){let il1i1=llIlIl?.[iI111l(0xe3,'bh4Q')]||[];for(let lIIiIi=0x0;lIIiIi<il1i1[iI111l(0x182,'IT6Y')];lIIiIi++){$[iI111l(0x190,'9a3w')]=il1i1[lIIiIi][iI111l(0x1cc,'h43K')],$[iI111l(0x1e9,'DWuf')]=il1i1[lIIiIi]['id'],$['taskType']=il1i1[lIIiIi][Iil1ii[iI111l(0x113,'2NBo')]],$['taskSourceUrl']=il1i1[lIIiIi]['taskSourceUrl'],$[iI111l(0x127,'v0Y9')]=il1i1[lIIiIi][iI111l(0x210,'p5Ns')],$[iI111l(0xdd,'Yr6H')]=il1i1[lIIiIi][Iil1ii[iI111l(0x22a,'Hf7G')]],$['taskShowTitle']=il1i1[lIIiIi][Iil1ii[iI111l(0xfc,'2K80')]];if(!$[iI111l(0x1f2,'l[AT')]&&$[iI111l(0x18b,'Hf7G')]['includes'](Iil1ii[iI111l(0x129,'fJrq')]))for(let liI1iI=0x0;Iil1ii['MCVCh'](liI1iI,0x1);liI1iI++){if(Iil1ii[iI111l(0x179,'e40n')](Iil1ii['gnEuq'],Iil1ii[iI111l(0x220,'I!k9')]))return lIIil1['parse'](IIli1);else console['log']('去做\x20'+$[iI111l(0xf9,'Tro%')]),await Iil1ii[iI111l(0x224,'Z3xV')](IiiliI,$[iI111l(0xe1,'2K80')],$[iI111l(0x173,'Hf7G')],$[iI111l(0x135,'4TWa')]),await $['wait'](Iil1ii[iI111l(0x102,'dfO@')](parseInt,Iil1ii[iI111l(0x160,'0hOm')](Math['random']()*0x5dc,0x5dc),0xa));}}}else console[iI111l(0x201,'!pnu')](iI111l(0x18c,'p5Ns')+(llIlIl?.[iI111l(0x1bc,'v0Y9')]||llIlIl?.['msg']||''));}}catch(i1iIl1){$[iI111l(0x1d9,'WD#l')](i1iIl1);}finally{Iil1ii[iI111l(0x12b,'9dfZ')](iI111l(0xe9,'BnMj'),Iil1ii['YkwJF'])?i1iIil():l1l11i['log'](iI111l(0x1f5,'MT[M')+(l1iIl?.[iI111l(0x1a9,'4Q6e')]||illIll?.[iI111l(0x211,'!pnu')]||''));}});});}async function IiiliI(llIlII,IIlII,lIIiII){const i1lIii=llIIiI,i1iIlI={'qYjTd':function(li111,liI1lI){return li111==liI1lI;},'oAesf':i1lIii(0x1c4,'1Wl^'),'Evqmt':function(lIIiI1,ll1I1){return lIIiI1!==ll1I1;},'tOXGl':function(Ii1ili,iI1Ii1){return Ii1ili+iI1Ii1;},'SzUYZ':function(Ii1ill,llIlI1){return Ii1ill==llIlI1;},'OOczN':i1lIii(0x116,'I!k9'),'EgrNg':i1lIii(0x16e,'6i6b'),'AkjLM':i1lIii(0x1e0,'yI5J'),'tDbfF':'12.2.0','IUsYq':'ios','IbdIL':'https://api.m.jd.com','Oayao':i1lIii(0x1eb,'20)j'),'YPokz':i1lIii(0x185,'Hf7G'),'UGDWm':'application/x-www-form-urlencoded','cYXMI':i1lIii(0x1d5,'rk#N')};return new Promise(async iI1IiI=>{const III11i=i1lIii,IIlI1={'VNCXh':function(i1iIli,i1iIll){return i1iIli===i1iIll;},'DVFAk':i1iIlI[III11i(0x16b,'h43K')],'cqcTv':function(i1lliI,liI1l1){const i1lIil=III11i;return i1iIlI[i1lIil(0x1d3,'0K5g')](i1lliI,liI1l1);},'Erfex':'PZElD','lFgbT':function(IllIlI,IiillI){return i1iIlI['tOXGl'](IllIlI,IiillI);},'EzEjN':function(ili11I,li11l){const III11l=III11i;return i1iIlI[III11l(0x143,'IT6Y')](ili11I,li11l);},'axfKw':function(lliiIl,li11i){return i1iIlI['SzUYZ'](lliiIl,li11i);},'SRLrH':function(lliiIi,iiIi1I){return lliiIi===iiIi1I;},'PVYVH':i1iIlI[III11i(0xde,'4Q6e')],'vqFFh':i1iIlI[III11i(0x218,'0hOm')]};if('woASJ'!==i1iIlI['AkjLM']){const IllIl1={'appId':III11i(0x125,'dfO@'),'functionId':III11i(0x22e,'fJrq'),'appid':III11i(0x1e8,'Tro%'),'clientVersion':i1iIlI[III11i(0xda,'TpvV')],'client':i1iIlI[III11i(0x183,'4TWa')],'body':{'taskType':llIlII,'taskId':IIlII,'channel':0x4,'checkVersion':!![],'linkId':liiI1l,'itemId':lIIiII},'version':III11i(0x167,'Z3xV'),'ua':$['UA'],'t':!![]},ll1Ii=await ililIi['getH5st'](IllIl1);let ll1Il={'url':i1iIlI[III11i(0x146,'fUQl')],'body':ll1Ii[III11i(0x132,'Gt3x')],'headers':{'origin':i1iIlI['Oayao'],'Referer':i1iIlI[III11i(0xd9,'TpvV')],'User-Agent':$['UA'],'Cookie':I1l11l,'content-type':i1iIlI[III11i(0x16a,'nNYz')],'accept':i1iIlI['cYXMI']},'timeout':0x14*0x3e8};$[III11i(0x151,')lAT')](ll1Il,async(iiIi11,ill1II,i1llil)=>{const llIl1i=III11i;if(IIlI1[llIl1i(0x166,'Yr6H')](IIlI1['DVFAk'],llIl1i(0x131,'5!p(')))try{if(IIlI1['cqcTv'](IIlI1['Erfex'],IIlI1[llIl1i(0x115,'dfO@')]))try{if(typeof li1I1['parse'](i1ilil)=='object')return!![];}catch(l1i1I1){return iIIl1l['log'](l1i1I1),llIli1[llIl1i(0x212,'Qhve')](llIl1i(0x1f9,'Gt3x')),![];}else{if(iiIi11)console[llIl1i(0x186,'Tro%')](IIlI1['lFgbT']('',JSON[llIl1i(0x21a,'Gt3x')](iiIi11)));else{i1llil=JSON[llIl1i(0x1a0,'6i6b')](i1llil);if(IIlI1[llIl1i(0x14e,'6i6b')](i1llil[llIl1i(0x215,'fUQl')],0x0))$['lotteryChances']++,console[llIl1i(0x1a1,'Z3xV')](llIl1i(0x10d,'nNYz')+$['lotteryChances']);else IIlI1[llIl1i(0x194,')lAT')](i1llil[llIl1i(0x11d,'9dfZ')],0x192)?IIlI1['SRLrH']('zWXtv',IIlI1['PVYVH'])?console[llIl1i(0x1aa,'fUQl')](llIl1i(0xf0,'Hf7G')+(i1llil?.['errMsg']||'')):i1lI['done']():console[llIl1i(0x142,'wPjS')]('完成任务失败,'+(i1llil?.[llIl1i(0x1c8,'SnU!')]||''));}}}catch(llIIii){$[llIl1i(0x1e2,'dfO@')](llIIii,ill1II);}finally{IIlI1[llIl1i(0x1f1,'Gt3x')]!==llIl1i(0x223,'v0Y9')?iI1IiI():ll1lI[llIl1i(0x1a8,'5!p(')](l1iii,IIlli);}else IiilIl['log']('','❌\x20'+iii1Ii['name']+llIl1i(0x11b,'fUQl')+iii1Il+'!','');});}else{l1il1I=Iiili[III11i(0x14d,')lAT')](IilIli);if(i1iIlI[III11i(0x1df,'h43K')](li1['code'],0x0))IiI1[III11i(0x120,'bh4Q')]++,liI['log'](III11i(0x1b3,'p5Ns')+illIli['lotteryChances']);else lI11Ii['code']==0x192?l11i1l['log'](III11i(0x204,'bh4Q')+(lIII11?.[III11i(0x126,'20)j')]||'')):IiilI[III11i(0x162,'p5Ns')](III11i(0x230,')lAT')+(ii1I11?.[III11i(0x184,'p5Ns')]||''));}});}function iii1iI(IIlIl=llIIiI(0x1be,'Yr6H')){const llIl1l=llIIiI,ili11l={'TZirf':function(Iiilll,Iiilli){return Iiilll!==Iiilli;},'gaJKF':llIl1l(0xe0,'v0Y9'),'Wiscf':function(IIlIi,ili11i){return IIlIi*ili11i;},'gqNzP':function(iiIi1l,li11I){return iiIi1l==li11I;},'czwMO':function(lliiII,iiIi1i){return lliiII|iiIi1i;}};return IIlIl[llIl1l(0x178,'0hOm')](/[xy]/g,function(liI1ll){const IiiII=llIl1l;if(ili11l[IiiII(0x15a,'p5Ns')](ili11l['gaJKF'],IiiII(0xf4,'Yr6H'))){var ll1II=ili11l['Wiscf'](Math[IiiII(0x172,'Qhve')](),0xa)|0x0,IllIii=ili11l[IiiII(0x229,'0hOm')](liI1ll,'x')?ll1II:ili11l['czwMO'](ll1II&0x3,0x8);return jdaid=IllIii[IiiII(0x20d,'Hf7G')](),jdaid;}else llIIll[IiiII(0x19a,'7@qP')]++,IillIi[IiiII(0x1bd,'fJrq')](IiiII(0xf7,'2NBo')+lii[IiiII(0x197,'dfO@')]);});}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) }