mirror of https://github.com/KingRan/KR.git
15 lines
48 KiB
JavaScript
15 lines
48 KiB
JavaScript
/*
|
||
#抽现金抽奖提现
|
||
|
||
轮询提现变量:jd_cxjhelp_num //轮询提现页数
|
||
|
||
注意:轮询页数也大,越容易403,请谨慎填写
|
||
|
||
[task_local]
|
||
#抽现金抽奖提现
|
||
11 11 11 11 * jd_cxjhelp_draw.js, tag=抽现金抽奖提现, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/jd.png, enabled=true*/
|
||
|
||
const $ = new Env("抽现金抽奖提现");
|
||
var version_='jsjiami.com.v7';const IliIlI=iii1II;(function(ll1lil,IIlil1,I1Illl,ll1lii,li11,ilIlI1,I1Illi){return ll1lil=ll1lil>>0x6,ilIlI1='hs',I1Illi='hs',function(IIlilI,Illlll,Illlli,llli1l,lI1ii1){const iiI1lI=iii1II;llli1l='tfi',ilIlI1=llli1l+ilIlI1,lI1ii1='up',I1Illi+=lI1ii1,ilIlI1=Illlli(ilIlI1),I1Illi=Illlli(I1Illi),Illlli=0x0;const llli1i=IIlilI();while(!![]&&--ll1lii+Illlll){try{llli1l=parseInt(iiI1lI(0x331,'^Y*$'))/0x1*(parseInt(iiI1lI(0x32e,'3zDw'))/0x2)+-parseInt(iiI1lI(0x2d7,'dGtK'))/0x3*(-parseInt(iiI1lI(0x2cd,'n8nd'))/0x4)+parseInt(iiI1lI(0x2f5,'fuDR'))/0x5*(parseInt(iiI1lI(0x2d6,'8ZHE'))/0x6)+parseInt(iiI1lI(0x2d5,'8ua#'))/0x7+-parseInt(iiI1lI(0x21e,'9CVG'))/0x8+parseInt(iiI1lI(0x2aa,'q1)R'))/0x9+parseInt(iiI1lI(0x332,'nRK%'))/0xa*(-parseInt(iiI1lI(0x285,'Ufi2'))/0xb);}catch(iiI1l1){llli1l=Illlli;}finally{lI1ii1=llli1i[ilIlI1]();if(ll1lil<=ll1lii)Illlli?li11?llli1l=lI1ii1:li11=lI1ii1:Illlli=lI1ii1;else{if(Illlli==li11['replace'](/[YdWTOHQUBCVqNpelKxP=]/g,'')){if(llli1l===Illlll){llli1i['un'+ilIlI1](lI1ii1);break;}llli1i[I1Illi](lI1ii1);}}}}}(I1Illl,IIlil1,function(i11lI1,liliiI,ilIIiI,lIl1ii,lIl1il,Ii1l11,IIlii1){return liliiI='\x73\x70\x6c\x69\x74',i11lI1=arguments[0x0],i11lI1=i11lI1[liliiI](''),ilIIiI='\x72\x65\x76\x65\x72\x73\x65',i11lI1=i11lI1[ilIIiI]('\x76'),lIl1ii='\x6a\x6f\x69\x6e',(0x1381a2,i11lI1[lIl1ii](''));});}(0x3300,0x68cb4,Iii11l,0xce),Iii11l)&&(version_=Iii11l);const lliiIi=$['isNode']()?require('./sendNotify'):'',iiIi1I=$[IliIlI(0x1e0,'3R5@')]()?require(IliIlI(0x213,'(6c0')):'',IllIl1=require('./function/h5st41.js'),ll1Ii=require(IliIlI(0x1e9,'4j5x'));let ll1Il=[],iiIi11='',ill1II,i1llil=![],i1llii=[],l1i1I1=[],llIIil,llIIii={};function Iii11l(){const Il1I1=(function(){return[version_,'UdYTjUspNjxQBiOaNWpmVqiKxP.leWcoCWTmH.v7==','aSoFWRnpvW','W6BdTmk+W6zBB8oIWRtcRG','smoNi8kP','b8kMW5dcSmkTEau2WPVdS8kVWRi','W7tcKIW','u0/dUXC','WPhcMIVdOvW','E3pdLa','umo0WPtdSmoo','F8kKW6NdGWi','s8oaaMa6WQC','W5FdQSokoLq','nJyDpWa','W6NcNZBcUNa','w0ddMwpdSW','r8oCW7FdJCkeWQlcN1So','xJBdM8kMWOW','W7RcNrZcGwu','wLxdP33dQG','xCoKW4FdKSk5','E8obfv8hWQhdMCk8','d8kAhK/cQ8kbyhGjWRJcTCk1acbuWR/cRNWmfmovW4tcPH4/W4PapaS8W5VdOCkdWP7dRCkMEmooWQFcSSkZECo1jCoob1HNkCoRWRniWRZcTviHCmojCSkAW442W7hcTCoct8kEWPZdRuLAWPddJHC','xCoWaf4h','W6VdPYbZ','WPRcRCoS','ltuW','W5WEamkJma','xexdTsBcUq','kCo7WPrjCq','5ywP5O2s57IC5y6l5AEB6lwrtW','WP7cHmolWPrrgmowWPVdLW','xMBdOXVcSq','W6JdPczCWRy','jSoFemkPWQa','wJ/cUJW','v0KBWPK','W75Mq04pWQBcSq','sqpdQMxcHbhdLCo7lCo2W5NcT8ksWOLmnHxcPCoQjJ0LyKysW54rW5G8WQ9RWP3dN0rnh8oZWPyzsCo/W71EW78KW6ddJ0NdRmkkW6TTWOnemwNcKg0Oq1PxmCktWRzLtZNcK8oHWOr5W4DuW67dQ8k6WPNdTmk0oSo8FflcI8oMbSosWQVcR8ktBCkQfSoXWQNcI8o6qXpdLYVdJCkQmg9aWRBcJmogW6yDWQ5UjmogWRddJmk8gCklytPAW53cU8k8wfNcP8kuhNGKW5RcVSktW6SuWRnyBmoJWQlcVwxcN2lcHSoBWP/dMCkaW6FcImkm','W6NcIMZcOa','W6/cTCkeFJO','eSojkmk6WObpWPRcOmoKFCkKva','omo1dCkCWRS','W4pcO23cOSks','yr7dOKhcMXO','eSkgh1hcVa','W4SlfCkYn8oGg8kHWO8/W6xcQ8kSumkEimoabmkvpa','W5bIWQG','gYZcPCo2WQuI','irpcG2pdLa','kGpcMK3cSq','WRKXeHKXWQFcLCoWW4ZdQq','WP/dNaD5WPW','faBcT1FcJq','WO3cLd4','WQ4EymkvWRW','WPuDl8oPhq','W6RdUmo1hKZcILpcMY/dRJVcHxdcI8kIWRFcQSoWdaK+W7RcQSkdAmoFWRlcP1HcEbuRcSkVWQ3cSSoppSklWQfcCW','ktWUlbK','x1xdKmopWOytgG','W4pdNSolc3C','W6HaswKZ','ySoNW4VdOSkn','W5a0w8o1WPRcRSoAza','WOWWd8oCoYK','W6Dfr3Pc','uhBdIwddTZFdMmofW6z2WQ7dGa','W77dSSk4W7zDz8o/','CJldV8knWPC','WPRcRCoSWPraWRK','xZJdIa','F2JdH8kGW5hcT8kSd8kfqSoQd8k4WPNcLCkYz8owW6Cm','CCotF8kCWOi','5lIo5Rsv5yI67725','DcddP8kTWPe','WPddR8owsmon','FSofW7tdUmks','EKddHxtdIW','5yEC5O6j57Q65y+e5OU05yU6','5OU85lI7546c6yEX77+/','mJ4NhIu','Bd3cPG','D8oWWRZdTSoQ','pNNdMW','WRhcHmod','DSkNW6/dSau','W7fasMLbcK5IWOK','W7xdRCoOgG','WR5TW70','WQylemoamq','oc/cLM3dGmk/FtXhkSkzCSkoewu','W7NdT8kMW7XS','W77cN2RcQmkkaSkhW5RdQa','mCo5WQrjEW','rfldUG','tmkfW4RdOIm','W6yZWQRcImkcaZjEiYKDjW','W69ttNy','seldL8o0WO86afm','xCodh8kjhW','5OIZ54636yE15OQw5Asx5OYd542S5P206k2E5AEj5zk/772R5B+s5BU2aW','xSoNoCkSeCkH','WOpdQ2/cUCoU','x3BdOCkrW4u','W67dLWb0WOu','wdldLSk2','W59MWO7cSSkb','lSkVl8obW7eSk8o5WPJcQSkEx8ovDG','weWjWPDu','BhFdLmoSWPK','CYBcS8kKkZC','W6xdQCo1cL7dHb0','WQhdGmoFq8oE','jmkbbvtcSCoEbrnl','CmodemkoW6y','W6hdTcXHWP7dQCoAE0pcNCk/W5W','BshcPG','W5VcUSkSjqK','EmkYW4aZj1G','6kYX5yMA6zIu5OsH5z6dEmoeW4hcQmk86l6b5yA35Qom5lYh5Psm5ysr5A+4W5FLU6/OR77PGkNOVBhOHyRMNzxLJRNOJ5VLJiL4WOJcGmkcrYC','n1FdPr94','tYSwc8k8','smkrW7VdPZe','pZxcQwRdMa','BGFdMgJcQW','W5pcQqRcUhW','bMveD8o6WRS4W4ZdQmosWPexWPlcPa','sstdT33cVa','WO7cGb9uW4/dM1za','iIxcGSoLWPRcV8k1rmkNDmomBCk6','zrxcTCkOhq','5OYW54+V54+y6ywi772t5AwQ6lAUW5K','W6ldOZLxWRVdR8oBBLtcKmkLW5v3AXmcWPS0W7ue','CCkjW7ddGG0','W6ZLIANKVAFMIjNLPQpMR5FML4JVVji','W7pcN8kCjcu','WR7cHmolWPrrga','WQjTW6NdJa','zCoVECkzWRe','r8oCfeGX','W4FdOConbKK','uCkCW7ZcHSkf','x0CiWR1VW5e','5OQt54Yc6yAH5OQq5AsF5OYq54Ye5PY86k+h5AwI5zoq776O5BYq5BMOsG','W6JdKSkvW4Oat8ktWRxdGubUcmoB','rfKbWR5i','BSoBv8k8WOe','44kf5O2q56E244kE6k+c5ywa6iY85yYe5lM75lMP6lA85yYO5lQcWRJcSHnqlcqG55UB5O+i5l2D55EJemo7WR9XW7NcLUEzMEs4KEs4J+EVLEwlSEImVownHq','aSk5iw/cRq','jUwlR+s8JUAjTEwKQoAVREAwU+++LG','ASksW5ddObi','WQW3ACkIWP4','aCkpbKZcVq','z8oUemkJW4y','W5fVrSkOz2S','vKhdMwtdIq','WQtdL3lcLSon','DSo3Aa','W5NdTmkvW4fY','zYxdVSkWWQS','Eu3dVmk6W68','fmkAgfBcTSoCjJea','lCodWQnQCriQk2Wun0GlW5erWPpcK8kqWO/dSCk4W5JdJSoYdSksAMFcVSk9a8ocWRWAFWGUW7lcPKPmhd4','fJ7cN8o4','W5PlWO3cLmka','sSoZoCkRcSkLWQtdOI3cQa','W43cUSkccsK','lxLvzCkxWO0','r8oCbKq9WQxdSSkWvKD4W518faiKWRhdIaRdJI8F','h8kcxHXNW7a','FmkAW5hdOb7cUCo5','W5lcKZxcPfyuWPzx','5yEt5O+U57IJ5y2R5OIV5yIV','etdcJ8o8','WOyQbSo6ptldPmknv8k0W5vRo8oOdCoSWR8fW47dJfBdICopCCo0WPHspSkcrmoi','WQhdGmoVsSoktSok','jYZcJSoRWO8MENa','EeFdSqVcMG','xrRdRSkwWQe','W5tdIMVdQf4uEa7dGq','oYJcJ3ldL8kJBtu','vsNdIKtcNW','w8k6W4hdTbW','5OU8546M6yEJ5OQD5AAZ5OYV546t5AEH6lE5772t5BYp5PYu6AoD5BUQ5BsA5RM1','jJpcSCk9ldrCWQxdU8otA8oymqPlWO1Ph8oBWRqhWPBcQ8kzoZG','ymoujKm5','5yEC5O6j57Q65y+e5AEv6lwaW5q','qg3dN8kOW7H1iLH2WOddImkvWPG','DwTNsMxcTmkUWOhcUmoXkmoQ','bSkEWQNcHSosWO/cKeC4vSos','jM7dLbTv','cchcIuBcPG','aW7cIwldHq','w8oxm8k5W4e','w8oAbumT','WR5JFCoEWQi','W6/cKmk4aXi','bSkTiKBcUG','wMxdHxi','nCofWR5Gz2zWAq','pCopWQjOBG','WQBdJNpcSa','W5CWDSooWO/cMCoQqq','WOSyctKoDb3LVjlLPkFJGkFKUzhKU4ROTzZLJ7y','zmoLoSksW6dcU8kG','gqjfW5i3WOKF','WPOfgSomlG','ftBdN8k1WO0fA0lcGeWeW6RdO1xcU0lcMujcW5WthCkmW7RcR8kQ','W5ZcTs3cQwy','W4abbG','WR7cH8onWPPwcCoZWRtdOxDok8oA','jINcGq','C8kUW5uXfrBdGfhdHCkodCkLW5ihaCk6B8kyWOtcJq','WOTZwq','stpcUCkIlG','W6ddUCoYb1hdLq/dHW','F3ddKqFcUq','vHldHCkOWP4','w0NdRYdcOYJdGmo4W5i','n1ZdQM3cOI3dSCkN','hJdcJa','wmoksCk4WP0','5RsG5yMY54ok54Mh','W7btCubJ','W4/cUeZcJSku','bmkpbgRcQ8oEddGqWQtcM8o2aNTqWQ8','zmo2nmknW4VcGmk4W4W','zW3dPg/cGa','W77dNWPEW6ZdRMb5W50','ltpcINZdL8kF','EmkaW4FdIWi','DhRdMCk7W5a','W7ftrhzQk1O'].concat((function(){return['q0CCWOW','W7xdQsj6WOZdUSoazg/cTW','lxLv','AcBcTCk9nMPoW6VdQmovBCkanvbiWOW0i8oeWRvjWOJcQCkAichdI3TxnGyQW6/cNmosW4ZcQSkco2xdO1DFW5b5ler8W6/cJ8oYWPFdRCkSeMWcvmolW7bopX5zWOVdQSkRWOGDW4hdSCoAWO9x','W67dLCo4jwW','WOtLT7xMIPNLPB3MRAdMLQpVV4y','WPaYa3Pn','jIVcTg7dTW','WR7cG8ofWO15cq','W7RcULdcK8kq','W6jOqW','W6DFqhXW','5lI95lUG5P2x5yMU5zMx6k+o6zsY5PwJ5O+n5lUN56Iu77+X6k2l5Qck5P6P6iw06lIu6k2U5AEG57YK57Iy5OcS5ys3','vwNdH2ldIte','WRDLW4RdOCoK','sCkjW4RdMGa','W5lcItZcV14','mmobdmkcWR0','vYVdVM/cRq','q3RdTSk8W4u','bpcuRjm','uuClWOe','W67dO8oM','xYyemCk9WRaHW5ldGmodWRTtWQNdPmkprZjTWROj','eNjvySkY','WOzVW53dTmoe','W6xdOCk+W7Xq','E8ouaSkWfW','W4PLWOpcK8k/','phNdIW','W7lcS8kLfq','rcyckmkGW61NWPVdMa','WQNcK8omWPbm','WPaTaCoJla/dSSktEW','w1hdISoTWOi','vLldR1hdQW','CgP5s37cTG','W7BcSmo+W6Wd','ESoLmmks','sSotbeW','6l+P6kos56+i','kdqZhYG','z8oWl8kEW4dcQCkKW4FdHq','icRcHCoIW5ldUCokqCkfrG','AHNcLSkxfW','WOWVmCk66k615Row5Awc6lER77+X6k6l5Qgk5PYQ576y6lEZ6ys66k6g','WOVcHabKW6RdK3fF','gq3dLspcTYddU8ox','W43dTmoYbf0','FfNdTmohWRa','tfJdM8oG','ACkgW4hdSblcPCoK','W5qndCkgdq','WOmioCo+bG','W7/cVCkSfq','DH3dLSkmWRu','W7VcKCkahtK','kCoyWRa','WQNcR8oQWO9q','vGSYfSkK','WQddKmo1tCoFu8oeW5FcQ8kRl8kZW7RcU1ddTY7cSgu1xCofnt1WdCkOs8kvWOBcK0TKW7JdLIBdGmoe','qmopW7FdGW','W6PDquqY','CCkkW7aokG','AapdTW','rZ/cLmkdlW','6k625yQL6zUy5Ow15z24W4tcQ8k/WRxdRUI/LEwhNUAGK+s/VUAvLEwfN+wUHSoj5BIy6k+v6yox6l+J6is95P2e5y6C6i2m5y2qWPFdO8kXW5/cL8kM','W4fpFMq0','W73dTmk4W79gmSkKW73cPWFdTCoXW6/dTCk3gbuMlKC','EfNdHc3cVq','qfWDWPfZW4r8zSoS','W7S8nmklkW','uZGLcmkR','WPu2Fq','AmkUW5mOceVcHHJdJa','v2VdJhi','xYyemCk9WRaHW5ldG8owWRmtW6RcP8olsxGGWRylm8ocFmkMWQKxWPtcIcPQorhdNaWGFw5DxKKmgMO','5Q2t5OUI5AA9','w8oJmmkPe8kP','smoPoCkT','s1hdTcZcOZS','o3NdJW','euBdIHTS','WQpdI8oT','5OYW54+V54+y6ywi772t5B2z5BQZW5K','W6tdOmoUau0','q0VdPIlcLgDUWPBdUIdcJW4fvKldMW/dQCoCiW','dcZcJxdcPq','uCkEW74fi27cUJK','jdJcJg3dKCkz','shZdVCo/WOS','W48bbCkw','c0pdVZPI','W7lcKZ7cQG','W7NdR8kRW4PhEG','uSkQW5FdIX8','W79cBgOG','gSoulG','fbtcUNhcT3VdS3BcPtVdM8oyfLBcQ8kqW6j0WPCs','wCkMW4NdVHe','a8kphL4','fmoWpmkmWQG','fmoBWPXwua','rZmcmSkR','WQFcSSo4WR4moSk+WP/cOcldL8kiW6a','oxHwwmkx','W6/dQCoYhv7dLXK','W4hcUGNdM+IVJUAWJowKNUI1P+++UoITVoAGJEACOUE+M+I0UoMhIoIUKW','W5T/CNeO','WPdcQ8o4WQjBWQru','FLpdG8kQW4W','W61+yebx','WPldRCocrCo8','ymoyW6tdLmk+WQdcLMu/wmoXW4eIqLxcRJiWWQiwW7KR','W41JWQBcU8kTvw/cTx3cULm9','WQf3W7NdM8osqIS','w8obW7K','ad7cHCo9WQ4Q','W6NdJWP6WOC','yq7cPJVcIG','W7L3C00X','h8ovp8kKWQryWOe','WPuRawLQ','W75Yv0m','W6BdTCkVW6XqE8o4','5OQo5lIf57Un5y+977Yh','mI4LeZ7dOCkTWQhcHG','fHCBncq','FCkwW5BdTXBcOSo2','mCkAaf3cGG','W6lcIcJcPLewWRv1W5O','WRFcLmoDWPLB','bmodWQ5irG','EmoRoSkYW5ZcVa','W7tcQXhcN0O','wYpdM8k1WPDBEqZcK0OcWRldPW/cUepdHh5DW51Da8koW7NcTmkZvSk2WRr3xGqxkvviwfrnW592W4G2WP9hf8orW71/WPmhWP7dVmoBvSkBWOJcMmo5jJBdLetcK8oCBMvFW4uHW7JdJ8oAW7u','W53dRmkDW6P7','xSoXWOm','W5KysSkY6kYe5RcZ5AEr6lEx77Y56kYc5Qko5PYc572g6lA76ywV6k6m','oMldIarsnvxcRdJdHaFdGCoReSkTqeFcTmk2WQFcUMNcQHBcR27cTZBdPmoNC3NcHZxcICosWO4onSkkc0TBW7pdMvVdShNdK3xdOZDwuXZcKwu9ASo2FmkbW63dICo2wSoPaf5qWQhcOSoksG','WQnUzSoqWOi','W49WWQhcPCkNFW','W71ZvKiVWRtcTCo3W4u','wrddO8keWRq','eYZcVKddHW','gGZcOw7cTG','W5HJWR3cJmk7Dq','wuSTWPb3','W6jGyhew','WQ7dKCoVxSoyamkeWPBcKSk9FCo8W6FdH1/dSg/cVNO9hmoCnbvRgmk6nmkgWOZcNuC0W7/cLNdcISk6WRysA8oFWPu+i0BcNMdcIaWPWQbGW4tdSGBdIslcVCkstXldRmovW5eWzIfBbJfAE8k1','W6ZcNCkztq','r8o5W7pdMmkX','fq/cVq','W6RcJMW','eSoDWPvSEa','W7JcHuVcTCkf','W7BcPtxcVM4','W4JcUSk4bdu','WRtcICoKWOnQ','W61Dra','u8oCW7/dGmkXWOtcJ1eoESoxW4C','WQRdGSoFDmo8','tH3cJ8ki','W6FcNSkhsriR','W41HWQ7cKCk6','pNpdKHnvzW','D8oRoCks','qeJdI8o8WOy','WRVdJCoD','W5ZdKXfCW7pdOMDAW7WtW5n3oSkJg8kOWOW4EW','BqpdOxxcQG','C8o3Fa','WPqQFq','WP/cSCofWR5wWQ4','WPlcO8o/WRa','i8oEWQrPA0DR','yty9k8k0','Deu6WRz3','5lQ35lUg5P6S5yUG5zIo6k6t6zsb5Pso5O+B5lUg56Iy776h6k2i5QoP5P6o6is06lUQ6k2f5AES576X57Md5OcC5ysJ','BMRdJsFcPfftWR4','WPmgmfXT','WPNcTJZdUuO','WQZcO8oNg1hdKWJdNsldPxxcGcZcGCoPWQNcU8k/','EmoHm8kqW5RcPG','bGJcJ8otWRS','W5BcLc/cHLe','iwldNqbuFa','gJtcHfhcIW','Emo9BW','5ysq5O2057Qq5yYL5OU15yMG','w2JdQSkEW6u','WQRdISo8','emoeWRjOteLOyq','whKIWPPw','r8klFSo8W6neWOxcTSosuCkH','W4OPdmkXma','bvhdHHPU','gWxcOftcTI3cJdJcPYJdMCkf','WRaIbxW','k8ofWOnWCq','WQezkxjW','sehdTq','rCoIhSkXbW','WRWnfe1R','jtSJgW','WRhcSSoDWRrR','Dr3dP8kYWOC','WO/LVOBLPOBNRlO','W4H3kSovW4m','B0BdHmoTWRuIbxdcK8o/W5npzCoOCNJdT8o9iCkrj8oJ','nSkhjNZcSq','wgVdJW','WPuZg3bc','WReXa1b7WQa','fCoFeCkzWPW','WQjJW6JdI8os','Db7dUxBcJsVdLCk4BCk9','WOe7j3jk','WQaSpN9I','BmojDSkfWOe','xuemWPntW4j4zq','WQjWW7pdGSosFY11','5yMq5yUc56cB77+H','x0Ci','wmkui8kPWPnsWPZcSCoOvG','ruSlWO9L','W6brv3Psn0n7WOLeWQlcPHzGWRlcJsJdRCoI','W7ldVSoOffRdPaxdHcG','wZ0x','WPWRAmk2WOaw','WRNcVmonWOTt','WRJcMCowWRjlgG'];}()));}());Iii11l=function(){return Il1I1;};return Iii11l();};$[IliIlI(0x25d,'4StR')]=![];let Ii1I1i=['3orGfh1YkwNLksxOcN8zWQ',IliIlI(0x374,'dGtK')],llIIlI=['京东转赚红包','特价抽现金'],Ii1I1l='',IIlIl=process[IliIlI(0x21f,'v(L&')]['jd_cxjhelp_num']?process['env']['jd_cxjhelp_num']:'1';if($[IliIlI(0x24a,'8ua#')]()){Object[IliIlI(0x283,'S1BV')](iiIi1I)['forEach'](IllIil=>{const IIliiI=IliIlI;ll1Il[IIliiI(0x37e,'QmK]')](iiIi1I[IllIil]);});if(process['env'][IliIlI(0x35b,'WaaY')]&&process[IliIlI(0x356,'g9uC')][IliIlI(0x1e6,'@QZS')]===IliIlI(0x2b2,'$a2q'))console[IliIlI(0x364,'(6c0')]=()=>{};}else ll1Il=[$[IliIlI(0x2c9,'g9uC')](IliIlI(0x2c5,'v(L&')),$[IliIlI(0x289,'4j5x')]('CookieJD2'),...liI1ll($['getdata'](IliIlI(0x2fe,'^Y*$'))||'[]')['map'](ill1Ii=>ill1Ii['cookie'])]['filter'](llIIl1=>!!llIIl1);!(async()=>{const i1111l=IliIlI,ill1Il={'HjQII':'【提示】请先获取京东账号一cookie\x0a直接使用NobyDa的京东签到获取','AePHs':i1111l(0x253,'4j5x'),'wQHRt':function(i1lll1,Ii1I1I){return i1lll1<Ii1I1I;},'NfVnp':function(l1i1Ii,l1iI1){return l1i1Ii(l1iI1);},'WRUxi':function(lliiI1,IiiI1){return lliiI1+IiiI1;},'nQOjM':function(lilII,IIIiI){return lilII+IIIiI;},'dwhjP':i1111l(0x2e7,'@[rl'),'sjMTh':function(iii1i1,IllIll){return iii1i1(IllIll);},'bseXu':function(i1lllI,llIIi1){return i1lllI+llIIi1;},'nrTjs':function(iI1IlI){return iI1IlI();}};if(!ll1Il[0x0]){$[i1111l(0x249,'Row&')]($['name'],ill1Il['HjQII'],i1111l(0x2bc,'Xz4v'),{'open-url':ill1Il[i1111l(0x25e,'S1BV')]});return;}for(let l1i1Il=0x0;ill1Il[i1111l(0x30c,'U5Sp')](l1i1Il,ll1Il['length']);l1i1Il++){if(ll1Il[l1i1Il]){iiIi11=ll1Il[l1i1Il],$[i1111l(0x2ca,'8ua#')]=ill1Il[i1111l(0x2d3,'nq2)')](decodeURIComponent,iiIi11['match'](/pt_pin=([^; ]+)(?=;?)/)&&iiIi11[i1111l(0x22b,'S1BV')](/pt_pin=([^; ]+)(?=;?)/)[0x1]),$[i1111l(0x32c,'8ZHE')]=ill1Il[i1111l(0x34a,'eNlB')](l1i1Il,0x1),$[i1111l(0x2fb,'$a2q')]=0x0,console[i1111l(0x260,'S1BV')](''),console[i1111l(0x377,'dGtK')](ill1Il[i1111l(0x22d,'t4Qc')](ill1Il[i1111l(0x2ba,'3zDw')](ill1Il[i1111l(0x31e,')u8$')](i1111l(0x2e5,'Rmqr'),$[i1111l(0x2a5,'nq2)')])+'】',$[i1111l(0x20f,'@[rl')]||$[i1111l(0x1f3,'Xz4v')]),ill1Il['dwhjP'])),$['UA']=await ill1Il[i1111l(0x2b3,'7lk%')](ll1Ii,$['UserName']);for(let ill1I1=0x0;ill1I1<Ii1I1i['length'];ill1I1++){Ii1I1l=Ii1I1i[ill1I1],appName=llIIlI[ill1I1],console[i1111l(0x38c,'9CVG')](i1111l(0x202,'@Twn')+ill1Il[i1111l(0x300,'zg3a')](ill1I1,0x1)+i1111l(0x263,'@QZS')+appName+'\x0a'),await ill1Il[i1111l(0x1fa,'Xz4v')](ili11l),await $[i1111l(0x340,'dGtK')](0x7d0);}}}})()[IliIlI(0x325,'E72!')](l1i1II=>{const i1111i=IliIlI;$[i1111i(0x1d2,'Rmqr')]('','❌\x20'+$[i1111i(0x329,'7lk%')]+',\x20失败!\x20原因:\x20'+l1i1II+'!','');})['finally'](()=>{const iliiI1=IliIlI;$[iliiI1(0x352,')u8$')]();});async function ili11l(){const Illli1=IliIlI,ili111={'OoKag':function(Ii1I11){return Ii1I11();},'jDPGD':function(IllIli,ii1Ii){return IllIli>ii1Ii;},'fWYzj':function(ii1Il,l1iII){return ii1Il!==l1iII;},'VcTLu':Illli1(0x39a,'dGtK'),'LtYNG':function(iI1Ill,lilI1,IIIi1){return iI1Ill(lilI1,IIIi1);},'tDNph':function(i1llli,i1llll){return i1llli+i1llll;},'VvhqT':function(iI1Ili,llIIiI){return iI1Ili*llIIiI;},'ppaPr':function(iI1111,IIIl1){return iI1111+IIIl1;},'kaFNZ':'\x0a当前设置轮询提现页数:','BSTOp':function(ii1ii,Iii1){return ii1ii<Iii1;},'UIUUl':'\x0a开始轮询提现','ZmKet':function(I1I1lI,ii1il){return I1I1lI(ii1il);},'nMASE':function(l1iIlI,iI111I){return l1iIlI*iI111I;}};$[Illli1(0x323,'q1)R')]=![],await ili111['OoKag'](Iiilli);if(ili111['jDPGD']($[Illli1(0x27c,'E72!')],0x0)){if(ili111['fWYzj'](ili111[Illli1(0x24c,'ihNS')],'uerlC'))for(m=0x1;$[Illli1(0x210,'i2*(')]--;m++){console[Illli1(0x2eb,'eNlB')](Illli1(0x32b,'9CVG')+m+Illli1(0x350,'8ua#')),await Iiilll(),await $[Illli1(0x220,'@QZS')](ili111[Illli1(0x2b8,'4StR')](parseInt,ili111[Illli1(0x33d,'q1)R')](ili111[Illli1(0x279,'zg3a')](Math['random'](),0x7d0),0xbb8),0xa));}else lI11II[Illli1(0x25f,'3R5@')](l1llI1,llIIll);}console[Illli1(0x222,'3zDw')](ili111[Illli1(0x1d7,'Row&')](ili111[Illli1(0x22c,'v(L&')],IIlIl));for(let i1lIiI=0x0;ili111[Illli1(0x2fa,'U5Sp')](i1lIiI,IIlIl);i1lIiI++){$[Illli1(0x2e6,'7lk%')]=ili111[Illli1(0x235,'eNlB')](i1lIiI,0x1),console[Illli1(0x1fc,'@QZS')](ili111['ppaPr'](ili111[Illli1(0x258,'dGtK')],$[Illli1(0x302,'Rmqr')])+'页'),await ili111['ZmKet'](IIlIi,$[Illli1(0x23f,'QmK]')]),await $[Illli1(0x271,'4j5x')](ili111[Illli1(0x1f1,'3zDw')](parseInt,ili111[Illli1(0x2cc,'S1BV')](Math[Illli1(0x378,'8ua#')](),0x7d0)+0xbb8,0xa));if($['txhot'])break;}}function iii1II(_0xfebd92,_0x15b3e2){const _0x5d8ec1=Iii11l();return iii1II=function(_0x547c0c,_0x43e90e){_0x547c0c=_0x547c0c-0x1d2;let _0x17e6d3=_0x5d8ec1[_0x547c0c];if(iii1II['CBOFWE']===undefined){var _0x28ffbc=function(_0x404fa5){const _0x3888ae='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x25c09c='',_0x4390a7='';for(let _0x1e4cd7=0x0,_0x51af9b,_0x20dd9f,_0x193af7=0x0;_0x20dd9f=_0x404fa5['charAt'](_0x193af7++);~_0x20dd9f&&(_0x51af9b=_0x1e4cd7%0x4?_0x51af9b*0x40+_0x20dd9f:_0x20dd9f,_0x1e4cd7++%0x4)?_0x25c09c+=String['fromCharCode'](0xff&_0x51af9b>>(-0x2*_0x1e4cd7&0x6)):0x0){_0x20dd9f=_0x3888ae['indexOf'](_0x20dd9f);}for(let _0x453ef8=0x0,_0x2bb9a4=_0x25c09c['length'];_0x453ef8<_0x2bb9a4;_0x453ef8++){_0x4390a7+='%'+('00'+_0x25c09c['charCodeAt'](_0x453ef8)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4390a7);};const _0x101e93=function(_0x443933,_0x46cc26){let _0x1b31fd=[],_0x16dbee=0x0,_0x48ea2a,_0x3e9f27='';_0x443933=_0x28ffbc(_0x443933);let _0x409b21;for(_0x409b21=0x0;_0x409b21<0x100;_0x409b21++){_0x1b31fd[_0x409b21]=_0x409b21;}for(_0x409b21=0x0;_0x409b21<0x100;_0x409b21++){_0x16dbee=(_0x16dbee+_0x1b31fd[_0x409b21]+_0x46cc26['charCodeAt'](_0x409b21%_0x46cc26['length']))%0x100,_0x48ea2a=_0x1b31fd[_0x409b21],_0x1b31fd[_0x409b21]=_0x1b31fd[_0x16dbee],_0x1b31fd[_0x16dbee]=_0x48ea2a;}_0x409b21=0x0,_0x16dbee=0x0;for(let _0x433a2d=0x0;_0x433a2d<_0x443933['length'];_0x433a2d++){_0x409b21=(_0x409b21+0x1)%0x100,_0x16dbee=(_0x16dbee+_0x1b31fd[_0x409b21])%0x100,_0x48ea2a=_0x1b31fd[_0x409b21],_0x1b31fd[_0x409b21]=_0x1b31fd[_0x16dbee],_0x1b31fd[_0x16dbee]=_0x48ea2a,_0x3e9f27+=String['fromCharCode'](_0x443933['charCodeAt'](_0x433a2d)^_0x1b31fd[(_0x1b31fd[_0x409b21]+_0x1b31fd[_0x16dbee])%0x100]);}return _0x3e9f27;};iii1II['uAHLhB']=_0x101e93,_0xfebd92=arguments,iii1II['CBOFWE']=!![];}const _0x328f44=_0x5d8ec1[0x0],_0x56ffd0=_0x547c0c+_0x328f44,_0x304916=_0xfebd92[_0x56ffd0];return!_0x304916?(iii1II['NfkLIf']===undefined&&(iii1II['NfkLIf']=!![]),_0x17e6d3=iii1II['uAHLhB'](_0x17e6d3,_0x43e90e),_0xfebd92[_0x56ffd0]=_0x17e6d3):_0x17e6d3=_0x304916,_0x17e6d3;},iii1II(_0xfebd92,_0x15b3e2);}async function Iiilll(){const ilIIii=IliIlI,IiiIl={'HMYiX':function(ii1l1l,l1lli1){return ii1l1l+l1lli1;},'VJMff':function(IiiIi,ii1l1i){return IiiIi!==ii1l1i;},'WMLNt':ilIIii(0x256,'4j5x'),'UxVZi':function(l1iIl1,ii1iI){return l1iIl1!==ii1iI;},'AiECe':ilIIii(0x35d,'E72!'),'iOpzn':function(IIIil,IIIii){return IIIil+IIIii;},'PdYdp':function(iI111i,I1I1l1){return iI111i==I1I1l1;},'HTojw':function(iI111l,i1lIii){return iI111l+i1lIii;},'wpWfp':'抽中现金:','GYyFo':'\x20🎁','lLCSs':function(III11i,i1lIil){return III11i+i1lIil;},'wqnFU':function(III11l,llIl1i){return III11l===llIl1i;},'qEHAa':ilIIii(0x214,'@[rl'),'gAcHI':'活动火爆','sdpdu':ilIIii(0x29c,'ekQV'),'bYKFi':function(llIl1l,IiiII){return llIl1l(IiiII);},'QiLCi':ilIIii(0x351,')u8$'),'OzoLe':ilIIii(0x203,'S5qq'),'pwmIg':'activities_platform','HoHgt':ilIIii(0x2b4,'()ZG'),'ZNSju':ilIIii(0x39b,'ihNS'),'BUPwC':ilIIii(0x38a,'S1BV'),'ahOMF':ilIIii(0x347,'4StR')};return new Promise(async Iiil=>{const l1111=ilIIii;if('eGteX'===IiiIl[l1111(0x26a,'8ZHE')]){let IIIli={'ts':Date[l1111(0x320,'W4bg')](),'ridx':-0x1,'hdid':IiiIl[l1111(0x237,'Xz4v')](IiiIl['bYKFi'](iiIi1i,0x2b),'='),'cipher':{},'appname':IiiIl[l1111(0x205,'$a2q')],'version':IiiIl['OzoLe'],'ciphertype':0x5};const ii1i1={'functionId':l1111(0x2c2,'nq2)'),'appid':IiiIl['pwmIg'],'clientVersion':IiiIl['HoHgt'],'client':IiiIl['ZNSju'],'body':{'linkId':Ii1I1l,'lbs':JSON[l1111(0x391,'QmK]')](IIIli)}},Iiii=await lliiII(l1111(0x328,'4StR'),ii1i1);let llIl11={'url':'https://api.m.jd.com/api?functionId=inviteFissionDrawPrize&'+Iiii,'headers':{'Referer':IiiIl[l1111(0x297,'v(L&')],'origin':IiiIl['ahOMF'],'User-Agent':$['UA'],'Cookie':iiIi11},'timeout':0x1e*0x3e8};$[l1111(0x1ef,'Ufi2')](llIl11,async(IIIll,I1I1il,l1llii)=>{const lIl1l1=l1111,liII1={'PGThF':function(I1I1ii,l1llil){return IiiIl['HMYiX'](I1I1ii,l1llil);}};try{if(IiiIl[lIl1l1(0x265,'g9uC')](IiiIl[lIl1l1(0x382,'8ZHE')],IiiIl[lIl1l1(0x2f2,'nRK%')]))li1Il[lIl1l1(0x260,'S1BV')](li1Ii['errMsg']);else{if(IIIll)IiiIl[lIl1l1(0x36f,'QmK]')](lIl1l1(0x35a,'ihNS'),IiiIl['AiECe'])?l11i1l[lIl1l1(0x2eb,'eNlB')](lIl1l1(0x238,'E72!')+lIII11[lIl1l1(0x208,'lswa')]):console['log'](IiiIl[lIl1l1(0x371,'3zDw')]('',JSON[lIl1l1(0x32d,'7lk%')](IIIll)));else{l1llii=JSON[lIl1l1(0x2b0,'zg3a')](l1llii);if(l1llii){if(l1llii['code']==0x0&&IiiIl[lIl1l1(0x348,'nRK%')](l1llii[lIl1l1(0x37f,'4StR')],!![])){if(l1llii[lIl1l1(0x399,'73do')]){if(IiiIl[lIl1l1(0x23c,'(6c0')](l1llii['data'][lIl1l1(0x22a,'dGtK')],0x4))console['log'](IiiIl[lIl1l1(0x2da,'zquq')](IiiIl[lIl1l1(0x37b,'QmK]')]+l1llii[lIl1l1(0x241,'U5Sp')]['prizeValue'],IiiIl['GYyFo']));else{if(l1llii[lIl1l1(0x1ff,'8ZHE')][lIl1l1(0x270,'Rmqr')]==0x2)console[lIl1l1(0x278,'nRK%')](IiiIl[lIl1l1(0x372,'Rmqr')]('抽中红包:',l1llii[lIl1l1(0x1f9,'lswa')]['prizeValue'])+'\x20🧧');else l1llii[lIl1l1(0x32a,'nq2)')][lIl1l1(0x324,'()ZG')]==0x1?IiiIl[lIl1l1(0x2ab,'@[rl')](IiiIl[lIl1l1(0x363,'QmK]')],IiiIl[lIl1l1(0x27d,')u8$')])?console['log']('抽中垃圾卷\x20\x20🗑️'):II11II[lIl1l1(0x33c,'Xz4v')](liII1['PGThF']('',Ii1iI1[lIl1l1(0x385,'v(L&')](lilIli))):console[lIl1l1(0x305,'CxgA')](JSON['stringify'](l1llii['data']));}}}else l1llii[lIl1l1(0x34e,'t4Qc')]==0x7d0&&l1llii[lIl1l1(0x28e,'ekQV')]==IiiIl['gAcHI']?console[lIl1l1(0x222,'3zDw')]('不多说了,乌漆嘛黑'):console['log'](l1llii[lIl1l1(0x225,'nq2)')]);}}}}catch(liIli1){$['logErr'](liIli1,I1I1il);}finally{Iiil();}});}else return!![];});}async function Iiilli(){const li1i=IliIlI,IIIlI={'izIIV':function(IiiI,iIi1i){return IiiI<iIi1i;},'Cufpa':'不多说了,乌漆嘛黑','cWQgO':function(l1iIll,l1iIli){return l1iIll!==l1iIli;},'jkHdC':li1i(0x2f9,'Rmqr'),'xcluO':function(iIi1l,i1lIlI){return iIi1l+i1lIlI;},'Aqvjo':function(l1lliI,I1I1iI){return l1lliI===I1I1iI;},'bEqsn':li1i(0x2a4,'Ufi2'),'Raqbx':function(IIIlII,iiIiI1){return IIIlII==iiIiI1;},'uhund':function(ili1Il,ili1Ii){return ili1Il==ili1Ii;},'dGMyH':function(Iilll1,ll11I){return Iilll1==ll11I;},'EJyIQ':'活动火爆','NNDQk':li1i(0x1e4,'@[rl'),'sWKvW':'CKBQO','egPYS':function(iIi1I){return iIi1I();},'geDmu':'inviteFissionHome','YkOlR':li1i(0x354,'W4bg'),'VdMjz':li1i(0x306,'ekQV'),'prwiE':li1i(0x261,'3zDw')};return new Promise(async liIIl=>{const lIili1=li1i,IlI1lI={'lwjsY':function(l1lllI,llliIi){const ilIIil=iii1II;return IIIlI[ilIIil(0x228,'v(L&')](l1lllI,llliIi);},'IGrrG':function(i1lIli,i1lIll){return i1lIli+i1lIll;},'djUIe':lIili1(0x269,'CxgA')},liIIi={'functionId':IIIlI[lIili1(0x28a,'g9uC')],'appid':lIili1(0x1dc,'^Y*$'),'clientVersion':lIili1(0x327,'8ZHE'),'client':IIIlI['YkOlR'],'body':{'linkId':Ii1I1l,'inviter':''}},IilllI=await lliiII(lIili1(0x37a,'fuDR'),liIIi);let iI1lIi={'url':'https://api.m.jd.com/?functionId=inviteFissionHome&'+IilllI,'headers':{'Referer':IIIlI[lIili1(0x1e3,')c8F')],'origin':IIIlI['prwiE'],'User-Agent':$['UA'],'Cookie':iiIi11},'timeout':0x1e*0x3e8};$[lIili1(0x303,'@[rl')](iI1lIi,async(ll11ii,liIlii,llii1l)=>{const li1l=lIili1,liIlil={'FTxYx':function(llii1i,ll11il){return IIIlI['izIIV'](llii1i,ll11il);},'mzRVT':IIIlI['Cufpa']};try{if(IIIlI[li1l(0x338,'()ZG')](li1l(0x229,'t4Qc'),IIIlI[li1l(0x296,'fuDR')])){if(ll11ii)console[li1l(0x1de,'Ufi2')](IIIlI[li1l(0x337,'eNlB')]('',JSON[li1l(0x349,'@[rl')](ll11ii)));else{llii1l=JSON[li1l(0x31d,'4StR')](llii1l);if(llii1l){if(IIIlI['Aqvjo']('emMZj',IIIlI[li1l(0x2b5,'t4Qc')]))li1I1['log'](IlI1lI[li1l(0x275,'4StR')](IlI1lI['IGrrG'](IlI1lI[li1l(0x34b,')c8F')],i1ilil['data'][li1l(0x20b,'fuDR')]),li1l(0x317,'@QZS')));else{if(IIIlI['Raqbx'](llii1l[li1l(0x339,'e@9z')],0x0)&&IIIlI[li1l(0x2dc,'nq2)')](llii1l['success'],!![])){$[li1l(0x25c,'t4Qc')]=llii1l['data'][li1l(0x243,'(6c0')]||0x0,$['prizeNum']=llii1l['data']['prizeNum']||0x0;let iiIiII=llii1l['data'][li1l(0x37c,'(6c0')]||'';console[li1l(0x234,'8ZHE')](li1l(0x211,'S5qq')+iiIiII+'\x0a已抽奖次数:'+$['drawPrizeNum']+li1l(0x2a0,'v19r')+$['prizeNum']);}else{if(IIIlI[li1l(0x28c,'7lk%')](llii1l[li1l(0x35e,'eNlB')],0x7d0)&&IIIlI[li1l(0x247,'$a2q')](llii1l[li1l(0x246,'fuDR')],IIIlI[li1l(0x33a,'S1BV')])){if(IIIlI[li1l(0x244,'(6c0')]!==li1l(0x344,'ekQV')){iI1ll1=IlI1Il||0x20;let iIi11='0123456789abcdef',Iil1=iIi11[li1l(0x1ea,'7lk%')],ll11lI='';for(let llliI1=0x0;liIlil[li1l(0x273,'()ZG')](llliI1,liIii);llliI1++)ll11lI+=iIi11[li1l(0x290,'WaaY')](II1ll1[li1l(0x394,'ihNS')](IlI1Ii['random']()*Iil1));return ll11lI;}else console[li1l(0x1f2,'g9uC')](IIIlI[li1l(0x313,'v(L&')]);}else console['log'](llii1l[li1l(0x218,'S5qq')]);}}}}}else IliI1i[li1l(0x343,'fuDR')](''+ll1ii['stringify'](IIli11)),IllIII[li1l(0x272,'i2*(')](ii1li[li1l(0x27b,'Rmqr')]+li1l(0x38d,'S5qq'));}catch(llii11){IIIlI['sWKvW']===IIIlI['sWKvW']?$[li1l(0x388,'7lk%')](llii11,liIlii):iliIIi[li1l(0x250,'n8nd')](liIlil['mzRVT']);}finally{IIIlI[li1l(0x311,'i2*(')](liIIl);}});});}async function IIlIi(ll11l1){const iliiII=IliIlI,ll111={'BKoRX':function(llliII,iiIiIl){return llliII!==iiIiIl;},'WGznO':'QcRtH','idIyy':function(IlI1l1,liIliI){return IlI1l1==liIliI;},'fmcoT':function(llii1I,iiIiIi){return llii1I===iiIiIi;},'kQMbK':iliiII(0x26f,'zg3a'),'TfElg':iliiII(0x310,'t4Qc'),'xndxr':function(l1lll1,IilI,liIlli,lil11,Iillll){return l1lll1(IilI,liIlli,lil11,Iillll);},'XcCzW':function(lllI1,III11I,Ilii1){return lllI1(III11I,Ilii1);},'uMIcJ':function(ll11i1,ili1I1){return ll11i1+ili1I1;},'UxVoB':function(Iill,ili1II){return Iill===ili1II;},'HjRAg':iliiII(0x397,'QmK]'),'kdfoI':iliiII(0x307,'4j5x'),'eEjmz':iliiII(0x312,'zg3a'),'eAYkY':iliiII(0x274,'zquq'),'FzEOm':iliiII(0x2b7,'Ufi2'),'VtjbZ':iliiII(0x2c4,'zg3a'),'wuLgB':function(liIllI,ll11i,iI1lI1){return liIllI(ll11i,iI1lI1);},'NDmcl':iliiII(0x2a7,'dGtK'),'uZXox':iliiII(0x230,'$a2q')};return new Promise(async I1I1li=>{const iiI1li=iliiII,l1i11={'functionId':ll111[iiI1li(0x292,'W4bg')],'appid':iiI1li(0x215,'Rmqr'),'clientVersion':iiI1li(0x2c3,'nq2)'),'client':ll111[iiI1li(0x314,'(6c0')],'body':{'linkId':Ii1I1l,'pageNum':ll11l1,'pageSize':0x64,'business':ll111[iiI1li(0x384,'$a2q')]}},IlI1li=await ll111['wuLgB'](lliiII,ll111[iiI1li(0x267,'t4Qc')],l1i11);let IlI1ll={'url':'https://api.m.jd.com/?'+IlI1li,'headers':{'Referer':ll111[iiI1li(0x1fb,'lswa')],'origin':iiI1li(0x365,'ihNS'),'User-Agent':$['UA'],'Cookie':iiIi11},'timeout':0x1e*0x3e8};$['get'](IlI1ll,async(ll11l,III111,liIll1)=>{const IIliii=iiI1li;try{if(ll11l)console['log'](''+JSON[IIliii(0x2bb,'$a2q')](ll11l));else{liIll1=JSON['parse'](liIll1);if(liIll1){if(ll111[IIliii(0x3a1,'3R5@')](ll111[IIliii(0x1f7,'W4bg')],ll111[IIliii(0x251,'S5qq')]))iil1l1[IIliii(0x248,'eNlB')]=![];else{if(liIll1[IIliii(0x35e,'eNlB')]==0x0&&ll111[IIliii(0x1fd,')u8$')](liIll1[IIliii(0x376,'i2*(')],!![])){if(ll111[IIliii(0x30e,'Rmqr')](ll111[IIliii(0x282,'@Twn')],ll111[IIliii(0x1f4,'@[rl')])){const iI1lII=(liIll1[IIliii(0x2bd,'8ua#')]['items']||[])['filter'](ll11iI=>ll11iI[IIliii(0x216,'4j5x')]===0x4&&ll11iI['state']===0x0);for(let l1i1I of iI1lII){console['log']('抽现金抽奖提现,去提现'+l1i1I[ll111[IIliii(0x316,'3zDw')]]+'现金'),await ll111[IIliii(0x36c,'CxgA')](ili11i,l1i1I['id'],l1i1I[IIliii(0x304,'@Twn')],l1i1I[IIliii(0x375,'Row&')],l1i1I['prizeBaseId']),await $['wait'](ll111[IIliii(0x2dd,'v19r')](parseInt,ll111['uMIcJ'](Math[IIliii(0x27f,')u8$')]()*0x7d0,0xfa0),0xa));if($['txhot']){if(ll111[IIliii(0x20c,'lswa')](IIliii(0x1d4,'g9uC'),ll111[IIliii(0x281,'3zDw')])){console[IIliii(0x260,'S1BV')](IIliii(0x2d1,'CxgA'));break;}else I1lll1[IIliii(0x361,'4StR')](i1IIi,IIII1I);}}}else lilii[IIliii(0x2d8,'W4bg')]=!![];}else{if(ll111['UxVoB'](ll111[IIliii(0x286,'@[rl')],IIliii(0x200,'q1)R')))console[IIliii(0x319,'4j5x')](IIliii(0x27e,'QmK]')+JSON[IIliii(0x2f4,'nRK%')](liIll1));else return llI1Ii['log'](lllI1i),li1i1l[IIliii(0x212,'@[rl')](IIliii(0x1e5,'WaaY')),![];}}}}}catch(liiiil){'SzhIw'===ll111[IIliii(0x2f3,'S1BV')]?$['logErr'](liiiil,III111):I1l1I1[IIliii(0x2a8,'@[rl')](I1i111,ilI1li);}finally{I1I1li();}});});}async function ili11i(lllIi,lil1l,lllIl,Iliii){const i1111I=IliIlI,illlii={'jfFrM':i1111I(0x34f,')c8F'),'keUPm':function(I1lIIi,l1i1i){return I1lIIi==l1i1i;},'FWAeb':function(I1iI1i,l1i1l){return I1iI1i==l1i1l;},'dWitk':i1111I(0x2f8,'WaaY'),'Iaxok':'不多说了,乌漆嘛黑','gCHme':'CookieJD','sQmrD':i1111I(0x28b,'$a2q'),'eWKPu':function(I1iI1l,illlil){return I1iI1l(illlil);},'idLJn':i1111I(0x239,'q1)R'),'uBGpT':i1111I(0x2df,'$a2q'),'PzlBW':i1111I(0x1dd,'fuDR'),'LATjR':function(Iliil,I1lIIl){return Iliil!==I1lIIl;},'AaMyX':i1111I(0x1e7,'lswa'),'ApjmJ':i1111I(0x333,'4j5x'),'EmLhv':function(l1ilI1,l1l1Il){return l1ilI1==l1l1Il;},'hxbpw':i1111I(0x204,'E72!'),'fWVFP':function(lil1I,l1l1Ii){return lil1I===l1l1Ii;},'TGjbs':i1111I(0x342,'WaaY'),'ISgYR':i1111I(0x2d0,'zg3a'),'NHucv':'IrJQz','yUKvQ':i1111I(0x25b,'Rmqr'),'HgjbX':function(IIIIlI,l1i11l){return IIIIlI!==l1i11l;},'GhdUU':'krfmm','zHqxP':i1111I(0x398,'g9uC')};return new Promise(async liiil1=>{const IliIl1=i1111I,lllII={'WSmqR':function(l11iII,l1i11i){return illlii['keUPm'](l11iII,l1i11i);},'kanNG':function(l11iI1,IliiI){return illlii['FWAeb'](l11iI1,IliiI);},'aYBWj':illlii[IliIl1(0x219,'q1)R')],'QlKLR':illlii[IliIl1(0x2f0,'ekQV')],'UnsYm':function(lI111i,I1lIII){return lI111i(I1lIII);},'DiJIZ':illlii[IliIl1(0x33b,'e@9z')],'GRROX':illlii[IliIl1(0x20e,'Ufi2')],'jGLAP':function(liIlll,I1iI1I){const lIl1lI=IliIl1;return illlii[lIl1lI(0x389,'v(L&')](liIlll,I1iI1I);},'dZeos':illlii['idLJn'],'nKdkG':illlii[IliIl1(0x252,'()ZG')],'iqMxm':function(illll1,IIIIl1){return illll1===IIIIl1;},'AVVHi':IliIl1(0x2b9,'S1BV'),'bjprS':illlii[IliIl1(0x2cb,'nRK%')],'jKWZR':function(liiilI,lI111l){const iiI1ll=IliIl1;return illlii[iiI1ll(0x2ae,'$a2q')](liiilI,lI111l);},'EnXtw':function(liiii1,IIiiIl){return illlii['LATjR'](liiii1,IIiiIl);},'wtLRw':illlii['AaMyX'],'FJHwc':illlii[IliIl1(0x207,'lswa')],'zZrUg':'KMkMC','sBpsN':'HCEPg','SGncE':function(l1ilIl,IIiiIi){const lIiliI=IliIl1;return illlii[lIiliI(0x2a6,'4j5x')](l1ilIl,IIiiIi);},'etywv':illlii['hxbpw'],'xxurl':function(l1ilIi,l11iIi){return illlii['fWVFP'](l1ilIi,l11iIi);},'oMTTy':illlii[IliIl1(0x287,'E72!')],'unSta':illlii['ISgYR'],'OSnNo':illlii[IliIl1(0x245,'U5Sp')],'UfKTk':illlii['yUKvQ']};if(illlii['HgjbX'](illlii[IliIl1(0x28f,'e@9z')],illlii[IliIl1(0x21b,'Xz4v')])){I1iIil[IliIl1(0x2ef,'v19r')](lI1Iil[IliIl1(0x321,'e@9z')],IliIl1(0x2ad,'4StR'),illlii['jfFrM'],{'open-url':illlii['jfFrM']});return;}else{const iliIlI={'linkId':Ii1I1l,'businessSource':IliIl1(0x1d5,'ekQV'),'base':{'prizeType':0x4,'business':IliIl1(0x370,'3R5@'),'id':lllIi,'poolBaseId':lil1l,'prizeGroupId':lllIl,'prizeBaseId':Iliii}},lI111I={'url':'https://api.m.jd.com','body':IliIl1(0x2c8,'()ZG')+illlii[IliIl1(0x224,'zg3a')](escape,JSON[IliIl1(0x21c,'4StR')](iliIlI))+IliIl1(0x23d,'ihNS')+ +new Date()+IliIl1(0x2e9,'S1BV'),'headers':{'Referer':illlii[IliIl1(0x23a,'@QZS')],'origin':'https://pro.m.jd.com','User-Agent':$['UA'],'Cookie':iiIi11},'timeout':0x1e*0x3e8};$[IliIl1(0x2a3,'i2*(')](lI111I,async(IlilI,llIi1,IliIII)=>{const iIiill=IliIl1,II1l={'RwZWg':function(liiiiI,II1i){return liiiiI==II1i;},'fTJPO':iIiill(0x1d6,'73do'),'Ahptb':lllII['QlKLR'],'xyfJr':lllII[iIiill(0x334,'E72!')],'CPvoM':lllII[iIiill(0x2f7,'Ufi2')],'jJYeX':function(illli1,I1lII1){const Ii1IIi=iIiill;return lllII[Ii1IIi(0x392,'S1BV')](illli1,I1lII1);},'YUCNC':lllII[iIiill(0x341,'QmK]')]};if(iIiill(0x29f,'zg3a')!==lllII[iIiill(0x262,'Ufi2')])try{if(IlilI)console[iIiill(0x26b,'ekQV')](''+JSON['stringify'](IlilI)),console['log']($['name']+iIiill(0x330,'eNlB'));else{if(lllII['iqMxm'](lllII[iIiill(0x386,'3R5@')],lllII[iIiill(0x223,'9CVG')])){if(lllII['WSmqR'](lI1Ill[iIiill(0x2c7,'8ua#')],0x0)&&lI1Ili[iIiill(0x336,'zg3a')]==!![]){lIIil1[iIiill(0x28d,'@Twn')]=IIli1['data']['drawPrizeNum']||0x0,II1liI[iIiill(0x2e1,'Xz4v')]=IlI1i1['data'][iIiill(0x2fc,'7lk%')]||0x0;let I1iI11=l1lIl1[iIiill(0x23e,'@[rl')]['inviter']||'';IiiIlI[iIiill(0x26d,'W4bg')]('助力码:'+I1iI11+iIiill(0x308,'QmK]')+Iilli1[iIiill(0x1d3,'dGtK')]+iIiill(0x2af,')u8$')+I1l1Il[iIiill(0x2ce,'zquq')]);}else iillll['code']==0x7d0&&lllII['kanNG'](lIIilI[iIiill(0x395,'Row&')],lllII[iIiill(0x33e,')c8F')])?llIll1[iIiill(0x233,'3R5@')](lllII[iIiill(0x369,'Xz4v')]):Illl1l['log'](Illl1i[iIiill(0x21a,'q1)R')]);}else{if(lllII[iIiill(0x32f,'ekQV')](liI1li,IliIII)){if(lllII[iIiill(0x38f,'v19r')](lllII[iIiill(0x31f,'Row&')],lllII[iIiill(0x201,'S1BV')])){IliIII=$['toObj'](IliIII);if(IliIII[iIiill(0x1d9,'7lk%')]===0x0){if(lllII['iqMxm'](lllII['zZrUg'],lllII[iIiill(0x2e8,'()ZG')])){if(lllII['iqMxm'](IliIII[iIiill(0x21d,')u8$')][iIiill(0x1ed,'W4bg')],iIiill(0x1db,'73do')))lllII[iIiill(0x26c,'9CVG')](lllII[iIiill(0x231,'nq2)')],lllII[iIiill(0x2de,'e@9z')])?i1III[iIiill(0x2f6,'8ua#')](Ii1iIi[iIiill(0x276,'U5Sp')](iliIIl[iIiill(0x367,'$a2q')])):console[iIiill(0x250,'n8nd')]('提现现金成功!');else{console['log'](iIiill(0x29d,'()ZG')+IliIII[iIiill(0x1f9,'lswa')]['message']);if(IliIII['data'][iIiill(0x36d,'4j5x')]['includes']('上限')){if(lllII[iIiill(0x315,'fuDR')](Ii1I1l,lllII['etywv']))lllII[iIiill(0x1da,'E72!')](lllII['oMTTy'],lllII[iIiill(0x2a1,'e@9z')])?await iiIi1l(lllIi,lil1l,lllIl,Iliii):ll1i1[iIiill(0x217,')c8F')](iIiill(0x2a9,'nq2)')+IIli1i[iIiill(0x34d,'WaaY')](I1iIi1));else{if(lllII['iqMxm'](lllII[iIiill(0x39e,'U5Sp')],lllII[iIiill(0x2db,'7lk%')])){if(II1l['RwZWg'](typeof i11iil['parse'](Ill1i),II1l[iIiill(0x1ee,'ihNS')]))return!![];}else $[iIiill(0x236,'nRK%')]=!![];}}}}else iI1lli[iIiill(0x1f2,'g9uC')](II1l[iIiill(0x37d,'lswa')]);}else console['log'](iIiill(0x357,'()ZG')+JSON[iIiill(0x381,'8ZHE')](IliIII));}else lI1Iii=[i1li['getdata'](II1l[iIiill(0x293,')c8F')]),li1II['getdata'](II1l[iIiill(0x355,'W4bg')]),...II1l[iIiill(0x22e,'dGtK')](IliI11,i1ll[iIiill(0x383,'zg3a')](II1l[iIiill(0x35f,'W4bg')])||'[]')['map'](iliIli=>iliIli[iIiill(0x2a2,'q1)R')])][iIiill(0x2ff,'zquq')](illliI=>!!illliI);}}}}catch(ii1III){lllII[iIiill(0x2e2,'Xz4v')](lllII[iIiill(0x226,'4j5x')],lllII['UfKTk'])?$['logErr'](ii1III,llIi1):lllII['UnsYm'](lliii1,Iiii1);}finally{lllII[iIiill(0x2b1,'S5qq')](liiil1,IliIII);}else lili1[iIiill(0x2c1,'CxgA')](ll1l1,IllIIi);});}});}function iiIi1l(l11iIl,i11iIi,IIIIll,liiiii){const Ii1IIl=IliIlI,II1I={'tAGGb':function(lI1111,Ilil1){return lI1111(Ilil1);},'GwHhu':function(IliII1,l1iIi1){return IliII1==l1iIi1;},'hNePc':function(i1I1I,llIil){return i1I1I===llIil;},'Thpti':'NwnIi','MHgqT':function(llIii,IIiiI1){return llIii(IIiiI1);},'hfyVI':function(IIIIi1,ii1IIl){return IIIIi1+ii1IIl;},'gZBUH':'\x20🧧','SdgBW':Ii1IIl(0x1e2,'Xz4v'),'gIiRK':function(ii1IIi,I1ll1l){return ii1IIi(I1ll1l);},'MIwfY':Ii1IIl(0x38e,'W4bg'),'CUkmf':Ii1IIl(0x2ee,'WaaY'),'tWdJz':function(I1ll1i,i11iII){return I1ll1i*i11iII;}};return new Promise(lI1Ii1=>{const ll1lll=Ii1IIl,i1I11={'DqrgE':function(i1I1i,IIiiII){const l111I=iii1II;return II1I[l111I(0x254,'8ZHE')](i1I1i,IIiiII);},'WjBvz':function(llIiI,Ilill){const ll1lli=iii1II;return II1I[ll1lli(0x24f,'ihNS')](llIiI,Ilill);},'TmGLs':II1I[ll1lll(0x2be,'Row&')]},I1I1i1={'linkId':Ii1I1l,'businessSource':II1I[ll1lll(0x31b,'CxgA')],'business':ll1lll(0x2f1,'4j5x'),'drawRecordId':l11iIl,'poolId':i11iIi,'prizeGroupId':IIIIll,'prizeId':liiiii},i1I1l={'url':ll1lll(0x31a,')c8F'),'body':ll1lll(0x33f,'g9uC')+II1I[ll1lll(0x242,'73do')](escape,JSON['stringify'](I1I1i1))+'&_t='+ +new Date()+ll1lll(0x2d2,'ekQV'),'headers':{'Referer':II1I[ll1lll(0x2ea,'v(L&')],'origin':II1I[ll1lll(0x366,'zg3a')],'User-Agent':$['UA'],'Cookie':iiIi11},'timeout':II1I[ll1lll(0x1eb,'8ua#')](0x1e,0x3e8)};$['post'](i1I1l,async(Ilili,I1ll1I,Iii1I1)=>{const Illlil=ll1lll;try{Ilili?(console[Illlil(0x278,'nRK%')](''+JSON[Illlil(0x322,')c8F')](Ilili)),console[Illlil(0x272,'i2*(')]($[Illlil(0x2e0,'t4Qc')]+Illlil(0x36e,'n8nd'))):II1I[Illlil(0x2d9,'ihNS')](liI1li,Iii1I1)&&(Iii1I1=$[Illlil(0x295,'zquq')](Iii1I1),II1I[Illlil(0x264,'S1BV')](Iii1I1['code'],0x0)?console[Illlil(0x217,')c8F')](Illlil(0x268,'U5Sp')):console['log']('兑换红包失败:'+Iii1I1[Illlil(0x21a,'q1)R')]));}catch(i11iI1){II1I[Illlil(0x1fe,'lswa')](II1I[Illlil(0x3a0,'e@9z')],II1I['Thpti'])?$[Illlil(0x25a,'()ZG')](i11iI1,I1ll1I):iIIl1l[Illlil(0x206,'t4Qc')](i1I11[Illlil(0x309,'lswa')](i1I11[Illlil(0x39d,'Xz4v')](Illlil(0x380,'@[rl'),llIli1[Illlil(0x1e1,'3R5@')]['prizeValue']),i1I11[Illlil(0x31c,'i2*(')]));}finally{II1I[Illlil(0x299,'fuDR')](lI1Ii1,Iii1I1);}});});}function li11I(llIlI){const I1iili=IliIlI,l1iIil={'lxCNW':function(l1iIii,illllI){return l1iIii!==illllI;},'fGmBr':'hkbFk'};return llIlI[I1iili(0x335,'E72!')](II1II=>{const lililI=I1iili,ii1l11={'THYkW':function(IIIIii,liiill){return IIIIii+liiill;}};if(l1iIil['lxCNW'](l1iIil[lililI(0x1f6,'eNlB')],l1iIil[lililI(0x257,'QmK]')]))i1l1li[lililI(0x26e,'q1)R')](ii1l11[lililI(0x373,'g9uC')]('',i1ilii['stringify'](iIIII1)));else return[null,II1II];})[I1iili(0x2fd,'fuDR')](lI1lIl=>[lI1lIl]);}async function lliiII(liiili,I1ll11){const lI1ill=IliIlI,lI1lIi={'RbYtF':function(Iii1Ii,Iii1Il){return Iii1Ii!==Iii1Il;},'JqtVX':lI1ill(0x24e,'%NEo'),'QEZHw':lI1ill(0x209,'(6c0'),'gihVV':'activities_platform','DgWAG':'4.1'};try{if(lI1lIi[lI1ill(0x294,'zg3a')](lI1lIi['JqtVX'],lI1lIi[lI1ill(0x2cf,'fuDR')])){let i1l1I1=new IllIl1({'appId':liiili,'appid':lI1lIi['gihVV'],'clientVersion':I1ll11?.[lI1ill(0x2ec,'q1)R')],'client':I1ll11?.[lI1ill(0x353,'nRK%')],'pin':$[lI1ill(0x22f,'nq2)')],'ua':$['UA'],'version':lI1lIi['DgWAG']});return await i1l1I1[lI1ill(0x255,'E72!')](),body=await i1l1I1[lI1ill(0x1f8,'ihNS')](I1ll11[lI1ill(0x2bf,')u8$')],I1ll11[lI1ill(0x318,'@[rl')]),body;}else IiI1[lI1ill(0x34c,'S5qq')](lI1ill(0x2c6,'4j5x'));}catch(llIl1){}}function iiIi1i(l1iIiI){const Illlii=IliIlI,illlli={'meDkd':'0123456789abcdef','tNsSy':function(i1i111,ii1l1I){return i1i111<ii1l1I;},'ZKMfo':function(lI1lII,lIill1){return lI1lII*lIill1;}};l1iIiI=l1iIiI||0x20;let illlll=illlli['meDkd'],IIIIiI=illlll[Illlii(0x1d8,'W4bg')],II1I1='';for(let iiI1i1=0x0;illlli[Illlii(0x277,'Xz4v')](iiI1i1,l1iIiI);iiI1i1++)II1I1+=illlll[Illlii(0x30b,'q1)R')](Math[Illlii(0x358,'4j5x')](illlli['ZKMfo'](Math[Illlii(0x390,'Row&')](),IIIIiI)));return II1I1;}function liI1ll(ilIlII){const lI1ili=IliIlI,iIiil1={'fwIpn':function(l1lI1i,l1lI1l){return l1lI1i==l1lI1l;},'bVGFL':lI1ili(0x288,'ekQV'),'bKuAx':function(l1I1Il,l1I1Ii){return l1I1Il!==l1I1Ii;},'qCLKD':lI1ili(0x387,'Xz4v'),'lxlCJ':lI1ili(0x345,'8ZHE')};if(iIiil1['fwIpn'](typeof ilIlII,iIiil1[lI1ili(0x326,'t4Qc')]))try{if(iIiil1[lI1ili(0x368,'(6c0')](lI1ili(0x396,'@[rl'),iIiil1[lI1ili(0x2ac,'Ufi2')]))return JSON['parse'](ilIlII);else{if(I1lIiI)lllili=IliiiI[lI1ili(0x36a,')c8F')](Ill11);liiIII[lI1ili(0x29e,'@Twn')]=!![];}}catch(IIlill){return console[lI1ili(0x30d,'QmK]')](IIlill),$[lI1ili(0x1df,'S5qq')]($[lI1ili(0x2e3,'PVHd')],'',iIiil1[lI1ili(0x2b6,'PVHd')]),[];}}function ll1II(IllllI){const Il1II=IliIlI,liliil={'KDqli':function(I1iil1,lIillI){return I1iil1==lIillI;},'HYuXh':Il1II(0x291,'g9uC'),'GdtLr':Il1II(0x30a,'zquq'),'bwAsI':function(lI1il1,liliii){return lI1il1!==liliii;},'xMeks':Il1II(0x266,'dGtK'),'gYoqQ':Il1II(0x240,'fuDR')};return new Promise(iIiilI=>{const Ii11I=Il1II,iIiiil={'jIekf':function(ilIlIi,ilIlIl){const i1lll=iii1II;return liliil[i1lll(0x280,'PVHd')](ilIlIi,ilIlIl);},'OHZOu':liliil[Ii11I(0x362,'zg3a')],'zytQi':Ii11I(0x379,'@Twn'),'HmPew':liliil['GdtLr'],'wlJEP':function(l1lI1I,ll1llI){const I1iill=Ii11I;return liliil[I1iill(0x284,'Row&')](l1lI1I,ll1llI);},'mbkJx':liliil[Ii11I(0x1e8,'n8nd')]},iIiiii={'url':IllllI+'?'+new Date(),'timeout':0x2710,'headers':{'User-Agent':liliil[Ii11I(0x39f,'v(L&')]}};$[Ii11I(0x39c,'U5Sp')](iIiiii,async(i11lIl,l1lI11,lI1iii)=>{const i1lli=Ii11I;try{if(iIiiil['zytQi']===iIiiil['HmPew'])Iiili=IilIli[i1lli(0x20d,'lswa')](li1),iIiiil[i1lli(0x24b,'zquq')](illIl1[i1lli(0x360,'v(L&')],0x0)?Iiill['log'](i1lli(0x1f0,'CxgA')):l11i1i[i1lli(0x217,')c8F')](i1lli(0x2d4,'U5Sp')+lI11I1['errMsg']);else{if(i11lIl)$['getAuthorCodeListerr']=![];else{if(lI1iii)lI1iii=JSON[i1lli(0x221,'n8nd')](lI1iii);$[i1lli(0x359,'@QZS')]=!![];}}}catch(ll1ll1){if(iIiiil[i1lli(0x227,'8ZHE')](iIiiil[i1lli(0x23b,'@Twn')],'IkjOs'))return i1i1Ii[i1lli(0x38c,'9CVG')](lllii),iI11Ii[i1lli(0x2ed,'zquq')](iIII1l[i1lli(0x232,'@Twn')],'',iIiiil[i1lli(0x346,'QmK]')]),[];else $['logErr'](ll1ll1,l1lI11),lI1iii=null;}finally{iIiilI(lI1iii);}});});}function IllIii(lIilli,I1iiii){const i11111=IliIlI,iiI1iI={'QhJyu':function(I1iiil,Illll1){return I1iiil*Illll1;},'cfjkr':function(lI1iil,lIilll){return lI1iil-lIilll;}};return Math['floor'](iiI1iI[i11111(0x2c0,'e@9z')](Math['random'](),iiI1iI[i11111(0x301,'3zDw')](I1iiii,lIilli)))+lIilli;}function liI1li(iIiiiI){const lIl1li=IliIlI,ilI11i={'XvXHu':function(ilI11l,li1I){return ilI11l==li1I;},'zDFIk':lIl1li(0x35c,'zquq'),'GhuIn':lIl1li(0x38b,'4StR'),'TLhHC':'iqqgE'};try{if(ilI11i[lIl1li(0x393,'zquq')](typeof JSON[lIl1li(0x20a,'i2*(')](iIiiiI),ilI11i['zDFIk']))return ilI11i[lIl1li(0x1ec,'v(L&')]===ilI11i['TLhHC']?[null,liIl1]:!![];}catch(ll1liI){return console['log'](ll1liI),console['log'](lIl1li(0x30f,'v(L&')),![];}}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)} |