mirror of
https://github.com/shufflewzc/faker3.git
synced 2024-11-14 07:29:18 +08:00
20 lines
57 KiB
JavaScript
20 lines
57 KiB
JavaScript
/*
|
||
活动名称:超店会员福利社 通用开卡
|
||
活动链接:https://lzdz1-isv.isvjcloud.com/dingzhi/shop/league/activity?activityId=<活动id>
|
||
环境变量:jd_opencard_shopleague_id // 活动ID
|
||
jd_opencard_wait // 延时参数,默认1秒
|
||
jd_opencard_viewShop // 是否(true/false)做浏览任务,默认不做
|
||
jd_opencard_draw // 最大抽奖次数,默认3次
|
||
jd_opencard_break // IP被限制后继续执行,默认退出运行(true/false)
|
||
|
||
不会自动运行,请在有水的时候运行
|
||
|
||
cron "1 1 1 1 *" script-path=jd_opencard_shopleague.js
|
||
|
||
*/
|
||
|
||
const $ = new Env('超店会员福利社通用开卡');
|
||
var iil='jsjiami.com.v7';const I1lIl1=iii1II;(function(iI1lii,IilIii,iI1lil,l1lIi1,iIli1l,i1i1II,liiIIl){return iI1lii=iI1lii>>0x5,i1i1II='hs',liiIIl='hs',function(iil1iI,IlIllI,il1i1I,lI1li1,iI11II){const i1i1Il=iii1II;lI1li1='tfi',i1i1II=lI1li1+i1i1II,iI11II='up',liiIIl+=iI11II,i1i1II=il1i1I(i1i1II),liiIIl=il1i1I(liiIIl),il1i1I=0x0;const iIII1I=iil1iI();while(!![]&&--l1lIi1+IlIllI){try{lI1li1=-parseInt(i1i1Il(0x27e,'4[OZ'))/0x1+parseInt(i1i1Il(0x281,'qQGn'))/0x2+parseInt(i1i1Il(0x28d,'r^Rp'))/0x3+-parseInt(i1i1Il(0x29a,'h[ln'))/0x4+parseInt(i1i1Il(0xfc,'(TkA'))/0x5*(-parseInt(i1i1Il(0x11f,'WlXa'))/0x6)+parseInt(i1i1Il(0x33c,'HwhU'))/0x7*(-parseInt(i1i1Il(0x31d,'WlXa'))/0x8)+parseInt(i1i1Il(0x2f2,'R9Fn'))/0x9;}catch(ilil1i){lI1li1=il1i1I;}finally{iI11II=iIII1I[i1i1II]();if(iI1lii<=l1lIi1)il1i1I?iIli1l?lI1li1=iI11II:iIli1l=iI11II:il1i1I=iI11II;else{if(il1i1I==iIli1l['replace'](/[dROrnMVILFNDuECHphwJxT=]/g,'')){if(lI1li1===IlIllI){iIII1I['un'+i1i1II](iI11II);break;}iIII1I[liiIIl](iI11II);}}}}}(iI1lil,IilIii,function(IlIIi,IiI1l,illlII,iIII11,IiI1i,llll1,lil11l){return IiI1l='\x73\x70\x6c\x69\x74',IlIIi=arguments[0x0],IlIIi=IlIIi[IiI1l](''),illlII=`\x72\x65\x76\x65\x72\x73\x65`,IlIIi=IlIIi[illlII]('\x76'),iIII11=`\x6a\x6f\x69\x6e`,(0x16a57c,IlIIi[iIII11](''));});}(0x17e0,0x7cf07,Iii11l,0xc1),Iii11l)&&(iil=Iii11l);const jdCookie=require('./jdCookie'),notify=require(I1lIl1(0x318,'z7z#')),opencard_draw=process['env'][I1lIl1(0x302,'25y(')]||0x3,hotbreak=process[I1lIl1(0x21e,'qQGn')][I1lIl1(0xf5,'ySC2')]==='true',isNotify=process[I1lIl1(0x2ab,'O8]x')][I1lIl1(0x20c,'^%rX')]===I1lIl1(0x107,'QAIl');function Iii11l(){const lllil=(function(){return[...[iil,'LCjwsRjiINuaHhmLxinF.DcFMomxE.dvFJ7rOVpT==','8lY3RU+6NSk35l+E5Ocf5yMQ','W53dGf4AWOZcLmoheq','bw7dNCkUvSofWPmAW5xcL8oyW4e','8yovV++5OCoP5lQo5lIN5lUE','tZ91W6HTW5ZcTmoqdqaV','zr9oW65x','8ysGIK/NQ4pMSPm','W4HwqKbt','WRpNUQpMNiJML5JPLP/VVR0','WO8iWPOXWP9qA8kalvtdUCk2','F8kTW7FdKq9MWOZdICkxqW','W7/dKtuqiW','WOhcIXSruahcUmkwamohs8kaW4rWW6L6u8obmJZdL8onpKHcW7RcOmkVzmoFWOXHuCkBWRxcHCoMeCo4eaH/d0ZcKSoai8ksnCo/W5VdRxNcOSkoWPyxWPWjW6FcTCociCkMW796W40BW6bpWRWCW7yvE0/cNYDlnW','W4KcpLqo','W60QuMrc','W6GLl2mG','BCk9fCoqiq','cmoPWOrre8oxWPdcS8oaimkfAa','uwRdQCkOtmkO','avhdM8ozWOjBBW','W6Kzoq','5P+d5yA06yog5B+w5y655zkE5yA25Rk+','W4BcMWyprehdV8oqq8oxqmktWPSEW69KsmkanwddGmoulK1EW7S','qcRdOb4g','DbxcGhdcISkCWOJdTSoX','sZm2','WPayW5pcP3a','W4HLWOGr','W50MphnN','WO7dLCoUWPy','WRqZbN/dUmkFgSoo','pmoNWOnr','lrLd','m8oWWQm','xhZdTmkMs8k0','lHFdJt58E8otW7BcRGyxW7hcIJNcVa','tW7cJ2pcSG','WPeuzqlcLr0UFrNdP8oL','WRmVWRG+WR4','yJpdOImnDCo4jW','W6tcQ8oFWPWj','jYj4W5FdKxhdPCoaW5ZdVW8QWOG','WR3cSSo+WQRcUsFcG8oYW4mmAXC','W494WOalWOW','CZuSxHCjuq','BSkTmSogkw4f','WOxdJqBdLW','W7unt3LD','DrVcRSke','WOBdJaZdLCoYWQ01aa','WOBdIWdcRCo4W75GWO0','WPRcKaie','W50cnLKLW4BcKbu','xhBdVq','WORcOSofzq','WONcOSoFESoYW5ddOCkn','WQSWW5/cUwRcU27cTu5SCW','WOddKGRdL8oeWQGIfXpdKCkbW50','W53cObZcQSoRBSo0kSoQ','hCkaWROUrSkqnmoi','Dmkkltr4WOW','hv9wWOhdGgi','WRpdTCknra','W7iKDuK','5RAB5yQh5BAu57ML5P+t5OQK5lUp5A2S5z20','ntfNW4ddMG','l8oaW4vBW4/dMgeoWQNcKq','W43cHmotWR8oW7zOW73dLmkGWOJcGG','W4fmeSoFW7RdM8k2tru4','6zYq5Rg25Pg85l2U','kdnLW5C','f8kBWRGYFmkikCoi','WPRcT0FcPSkkz8kR','W7ZcQmo0WOi','WQaEFW','W6qMF1H8ymkDjWKwoSolW7ZcPSoB','W41gswn3kSo0W4xcUdq','oCkNW4ivFKG','W6GFmq','W4Wtj2ysE8kPW4RcKhWYW6P/W7tcTmkPW5VcUSoFCvNdLJFcV8kpWRPiy8o4hmktW5nvW4P/BSkOWRVcTCk1WO7cLWNdGmkaWRLHW5agWQ8uvmkfkrr8WPhcOCkEWPXvj8kPB8o5xdldQSklxmoRumowWRldIImrd8kREgZdRCoXuK8IWOxcG1FdSmodW6ZdQmo+hmkIvCo9vmosACoJxJNdOmoOpJZdOhHTbmoExmoAmZ3dOSo1W5eBiCkYcdLiWP9SvwFdNf52W74X','8l6FJdZMGzdLLPpOJQtLVyBLR5BNIiDT5Asf5zg+5zkz56sx776f','W7pdKCkClSkZ','5OI95AEK6i2e5B+lW6WZ','W5VcSmoeCmojW5VdKSkxWQ5LBW','mmkLW4u5zKvGWPpcOJa','5zgM6z2D55I75y2l6ych5lYo5yQG5yQuzmoDWONdVq','AXtcPmkCdSo8ESkh','hhxdLCkYDmo0WPqtW5u','EHfqW41n','r3JdS8k1','iGrli3/cJsWIdSoM','ibvqoxRdIsSYm8oNW50','vCkukCoVpq','bvPNWORdN2RdTvZdNZpcQCkTzcyibSkdW5q','WOpdJqG','zCkzjJfJWOq','5lId5Ask6ycB552K','yXNcS8kzdCoXA8knWR4s','gwddMmk1zq','imoLBmkyCsblgCk0fa','4PYdFowiQowlJEAjSowkJW','ycjHW5ZcGG','CZJcKeBcIW','q+w5MEMrUEs+OUwqOEAiN+wjPW','W7tdSmkhg8kH','iSoOWO5adG','WOxcKaG','WPhdJrRcOmoRW6vDWPbvWPVcTq','W5/dUmoCW4BcMG','kbHanxq','W6LAW6xdHCkJWPyIWPhcGJG/WP/dNePCW5LN','W6TrW6C','sJ11W6a','8lYLJo+5Uhy','W4/dNCoQW7hcPWeyW77dJhjrW6i','g3ddNCoVWRK','WRKNW4RcOMJcLMJcRxa','tIdcMmkXpSolqmkKWR44tG','W7RdSWqZpL5wa8kdW57cIW','WOxdHmo/WPNdKuddNq','WQFdO8o3hGCArmo8W7a','vSk9WQhdJq4EpLr9WPzRWOS','BmkVW63dNbzI','WRpcGmo/rCoQ','WOxdGCoUWRhdVe3dLG','57YK5BoF5B2g6ks55y675Pw/77+06k2h6yst5PAx6l+u6kkn','W4ZdLZadaG','WOtMIOlKURZcTW','uwZdRSkPumkUW5mRWPNcVq','WOJcIHSjteNdLmowcmoy','gLRdJmojWPzG','mmoSyJiqW5TDW6i','W4NcV8kFBCklW4lcTSkEW7u','W5hdNe8zWOVcVCoheCo1ASo8hq','fCkDWRW','g2ddH8kRsCooWPSr','W43cLmouWR8lW6TFW6VdR8kVWPe','W6eKAfW','F8kTW7FdLWTAWO3dMCk6','WR4YW5JcU17cT3VcONq','W69CW6xdVSkWWOWMWOFcQsu+','WOZdMSoTW7FcSxe','WPZdGqK','W5LyW6hcVtH4W5pcNmoer2xcRG','kSoLWP5mamoqWPddP8obk8kz','tfLeW7NdUmoq','6i2y5y20t8o1W53cLHe2cCoGWRFdU3Kj5AEV6lA777+I','WPlcOCogDmoyW4O','CCk+W6BdLHPUWORdLmkbs23cSMu','5P+f5yIc5ysk5l6J5zoF','o27dN8kLBG','lHFdJt58E8otW7BcPa0','BCk+W6/dKq0','DGJcRSkD','dvTzWOVdNa','FCkIW4hdTWa','sL1eW6FdHSobtmomEZy','WRhdNaFcRSo7','ACkXpmoa','ld1HW5ZdRh3dICoFW7/dRGCMWPNdKG','dL1BWOddNhZdL1ddMrBcPmkgyGG4','F8k9W7ddKqP7','l8o0WOTsomoyWONdUW','iSkUW5aIDxLHWOpcJW','W4HoW6BcVa','lmoJWOrWnW','WRddTmo1gZeADCoHW7S','imoSztG','WOldLCoPWRNdTvVdVSkHW4CA','E8k7W6JdTaG','WP/cRmoiAa','W5NcH8kSWO/dUu7dGmkHW7e','WPNcJqyBrG','8j6TOMm','vmk1WRRdKLbZp0jOWPTTWPRcV0nxWQpdPa','W4BcUeFcUmk/AmkTp8o1m8oKWPpcQmkQbKf+FvJdTmoBFg7dTmkPDfVcTG','WPZdLWZdMSoIWROJ','FJvV','W6iUxNfG','bvBdKq','WPZcS8oCFCosW53dPSkwWQ5UpdVdHdWVW4u','W5P+W4hcNtq','WOmpwdJcMq','W67dVGm/phrnfCk9W4xcGG','W5hdP8kleCkD','W6xdGmkbm8kKxSkummkEf2ZcHG','FqNdJghcKa','qNZdQCk0u8kO','W7ddP8ovW7lcPW','AmonW5HrW5lcJa','vSkHWRFdTHu+pG','vrmF','W4BdISo2W7NcOsq','WQSWW5/cUwRcU27cTvj6iG','5Rwc5yMA5zow56AP77YiW4O','AGOukWzIWPNcJrldOmoggtO','l8ohW5vaW5ZdGMy+WOq','6i6Q5yYo5lMC5yQvf3WvumoMw8o1W4XEmmoI6yom5yAD5OI/6kot77Ys6k6J6ywE5PEg5OIV6koO','CWdcKMNcT8k2WPZdUa','zCkhWPJdGWS','j/cNNB7VUi0','WO4ae8ocW6xdNSkXgW45DgJdHJRdR1u3dLbsWOr2WR8QfLef','v8kE6kcO6zUO5yMp77YhW4ZcICoT77YUdG','ASkYnSowkq','hCktWQ84','kt/dRJSnF8o4Fmo2g8kmlCo0WOH5W4VdKSkYWPfQW48Dvq','tCkXpW','WP7dN8kuW6voWQ5SW7ldMCkmWO/cSG','AMNdVmkdzG'],...(function(){return[...['yFcISji','WR8oWQxcPCoWW5jIWRlcTbe9WPddTa','57Yj5BoE5BYw6ksJ5y6+5PsJ772x6k+q6yEd5Pwh6l+C6kkI','WO4cWPyVW6ruACknpKm','W7fIW5dcGJW','dSktWRiT','W5ruW7i','BHxdPG4c','WPKzCGFcLHa/DW','m8oSEc0','WPRcGuGcWPdcNmortCouBSo5htVcMmoFCrNdRh7cI8k2WPNdVa','CmkDWOBdStu','WRhcHmokBCoNiCk6m8kLa1hcMq','u8ouuCogvbOZW5auW4RdH8o2','WQ07dga','WO7cPSoyuSouW5hdRmklWQi','W71AW7/dS8kiWOOMWPFcIJi','W6VdVam3','W6tdGmksk8ktyCkdlmkF','WQldO8kkrCoEACoIWQpcVxPg','uxRdRSkOsCk1W6q9WRtcVa','WRa1dhRdOmkBgCopns7cQmoj','W7XxW63cNZy','yXpcGhxcU8kQWOJdUmo0','FJq8tbifuW','WQBdSSkmq8oAtCoZWQNcI3vfeW','W7xcUCoig8kBnSobWRFcNNnnbW','b8kda8kvfLGTW4WdW5/dQ8ovW6hcTG4','CrlcQmkamSo8','h8o2W4L/W7i','W4dcImoa','5lIt5PUH5PsZ5l6I5zcH','BZunAHC','i2rNWRhdOetdNNhdOrFcJmk+xWW','W5NdJmo3W6ZcSa','c19mWOq','cZNdGrze','W4NdKqFdMmo1WQWfbJpdM8oA','WPVcJCofsCoF','W6DQmG','nmo/Ecm8','WRddQ8kxxmo6DCo4','tK5EW7BdSq','WOZcSLG','W6bEW7ZdSG','WQNcRmohDmov','c27dOmkHC8ol','yXNcS8kzdCoXA8knWR4stG','W4JcHSotWRC','iCotW5rCW7xdMgyd','WQ47fN/dPmkBfmoeiJG','WPhcRmol','BHxcOa','W7eSCvG','WPeczqpcJayzAYJdSa','emkbdmkfaa','ecnChuC','W4f/s15x','ybqveqXUWO4','vWahtdqJC8osW6Pcrmk+ta','jCoUztaVW5XpW7tdTmouW4bv','nc5Im3O','W6xdUsG5oNHxd8kjW4xcISoAW6vLW4WUFLeVW4OVWPxcSoMAJUwiKUwrV+E6QoE5NUAlKoIHSE+9GqZcPMKdCXDIgh3dS+++Ga','WOOoWOaTWOO','W7BdSmkJpSkE','x8kGWRq','WPhdJrRcPSoVW5LCWOb4','fCkDWRWCymkB','WPNcSConzSo+W4ZdTCknWRu','emkoW5usva','a8kseSkFf2yeW5axW6NdPCoe','e8k3jmkOkG','576d5BgH5B6s6kAV5y6P5PEx77+X6k6h6yAy5PE/6l6C6kcy','x8kvWP/dSH4','AHGBiaz3','qsVcPSkJka','W7uWB1u','W7ZdSHOZ','F8kvWOZdOZKabhDhWRK','d8kobmkvhq','eSkIgSkjbG','WOzFd8oyWRe','W5FdOSkykSk0','hePkWOZdGwJdSLNdHW','t8olW61UiCoFe8oaz1L6W5S','k8oVEZW6W4e','5B2p5y2GWPJOVjJPNidLVQa','AmkojJrDWO7cPLhcK8omCxtcOSkT','W4rZWOuaWOC','lGFdIJ55zG','WPNdNmo1WOFdMuG','vaWRqtG','yJpdLtCtEW','WPGwyI7cJra','x1JdO8kuFq','W67dQCk5W7ddUx/cH8o9W4uVzq','W5uFma','WRS5ex3dGmkxa8osbJm','W51vw39GpCoLW4xcUa','dVcOJOa','WP48W4dcTxi','DG4qnXfxWOlcHcG','duRdLmoWWOS','W41gEu58','h3pdNCkJzCoPWPmyW58','lZXRW57dINhdG8oC','W5fiW5dcUIO','qCkkdZjT','W6fhWR4XWRddVb7dIcqFW5yIudu','WOhcIXSruahcUmkwamohs8kaW4rWW6L6u8obmJZdL8onpKHcW7RcOmkVzmoFWOW','W47dJSoSW78','FmkRiSomp2K','CX8FiqbXWQlcJq','i2rNWQtdQLZdHg/dTW8','W57cLvVcJ8k2W7bKrZBdQmkPW5fstq','WOSRWRyVWRa','W6jqW7y','W4VcGSotWPuxW7b3W63dV8kxWOtcIZe5','F8kTW7FdKq9MWOZdICkDsgRcTxrWW4m','ndD7W4FdK2e','a27dKW','WRhdPCkpwConC8oI','xNddUCkQuCk9W70H','W5jcx3GilSo7W4pcVdu','WQpdUdddRCoiWOivpqxdTmkIW6S','WR4ObgpdPCkkgmoB','WPZcR8oaxSolW5VdQCkHWQzZnG','WOxdGaRcRmo7W6vhWOX4','5P+W5ysP5Rkn','5OIx5AE55AAY5AAe5Q+0772a5AwN5l+u55I75QYY5Pwg6k2W5yAQ5OQY6kg/6iAG5PYf','W6xdUsG5oNHxd8kjW4xcISoAW6nLW4G4','WQFdQt/cUSoB','W5XvsgDxaSoYW5NcUtexbq','BG/cGM7cI8k8WP/dPa','v8kUWQFdGW','fJTM','5B+k5yYY57oq5RER5yQ05lUF5lYa6isM5yQV6l+y6kcc77YG6k2o6iAp6kgy5REq6k6/5PIH5zkS5P645RkH','W6hdVbOZ','hvTlWPddG3S','yXNcS8kFcCorCCksWPG','ASkeja','hmkRWRRdJbSPm04HWP1JWOFcTcWyWQZdUYiCjmkaWOndu8oSWRpdT8kqWPi','W5Cdk1rrCSk6','uSkAW6VdSq0','WR3cJ8ooyCoRlSomFSoqsW','mXnxjwddLa','Amkena','b3pdP8kqqq','W7ZdVSkSW63dUMu','WOxcS0K','kCkpkJ5WWPVcP1BdSCodC3/cQCkCW6ipnCoIbmkBos18WQ7cOsz8lmkvW5aQgXihCW','EXBcItm+iCodW6RdMWSyW6BdM2ldU8opyaDagfuwfmkpfhtcV8oyWQFcQqv8','WOmYWPqrWPBdMYJcQsKSW7ulAqpcNGFdTmo9W5vHmepcTLbGW6JcHa','eSkbe8kBmvirW4y','cSkrWRqRDW','D1ZdJG','WPycWPaTWQXbvCknjG','W4hcMfFdUmkSWR5IWPLuWORdKLG','WOFcMGOfAvtdVSoxiCoyqSkyWPaV','WO7cMHSItftdVmoqcCoRtSkwWOa4','dmobAxO9W4VdPEw8V+wKLEocUEs6Sos4IUI3OEwmQa','W4msWOy2WQ0i','ocfOmL8','WOxdHmo/WPNdK03dG8k1W6SAW5tdVG','WPxcT8oyyCoiWOtcQmonWQT7nM7cN2iPW5HpisBdJCkvCSk0h8kGW45gdLRcN8o1W6y','iCkZW4i4','WPWyDG','W5qzoa','bLbBWONdMMVdVKW','WOVdL8oUWPJdOMxdN8k3W40','WOVdGXVdMa','WPNWO6AW','puddL8keuq','W6nmW7y','C8k5pmoa','dK1lWOZdNhS','pSoxW65cW5ddNW','WO8xxffog8oXW6y','W4WxlhLPASkTW4i','emkCWRG1z8kniCoE','W5vixq','WQRdRSkAsCoq','WQWFW6hcK0O','WO3cRK/cOCkwC8kOmW','CmkgcWHf','iatdNdLeC8okW6O','dCktWQGYw8khiSoc','5yQh5yUh56ca776B','WOFcNqSoWPdcKSoteSov','cSobW6TaW54','smkngH5B','WRxcJ8ouw8ok','WOZcRLZcUCkQ','W6a3BLj9xSk0oX0GnmoA','W60foMbZCSkWW4i','E8kdWQVdQa0','yqGqmITIWOBcJa','uwNdQSkTvSk/W7eWWPtcTZpcMspcNIjXvxVdQGZdPwmFnmkZW6OkChtdRCoFW7xcUG','cfTmWQBdHc/INiCF','W5bju3W','dCktWPGFsW','nCkNW4uX','WQy8W4W','W7/dRX4SlW','ECkRW7FdRqTJWQJdKCkSrMNcPgv7W4u','W6fpW7tdUCkiWOq/WPS','BCkQomoFkq','W63dK8kd','CCk3nG','B8k5p8obi3a','WQJcUqeRBq'],...(function(){return['AqddMcrHrmogW6pcMaXe','WOtMNllLIldNIkhMG4FLV6FLUARVV7lORjVMOOVMNR/NVO3NUA/MMiRLKjhMR5pLUlO5','g2ddH8kRuSofWP4rW4lcGq','W7iHB095Fa','5lMS5AsG6yc+5561','BYPTW4Dl','WPtdGtRcQmoUW6C','j8oPWO0','WQueDbNcRru3yq','Bq7cIgZcQmk9WPtdS8oJWPOyFa','DHVcTmkBmSo2ECkB','W4fmeSoFW7RdM8k2tri9E2G','DLnzW63dMa','rCkEWRtdKZi','W71AW6xdO8kVWOS1WRFcGI01','WQ8eW6xcUfq','hgNdLCkYzCo1WOGxW5q','BSk7W7ddKa','WRddP8oGdq','Dq8clq','CJ3dSJ0PFSoWpa','kmoIDG','qJnM','wCkRWOZdJqW2nurVWOvOWRhcUb0sWQddVq','imkBkJ4Q','W5WepMv4yCkVW4JcJG','W7/dUmkKW6pdQG','W5XAW6hcTq','Ar8FiHfR','W6BdUMqMWOa','lCo7WRFcIe8/WRpdTSk2Ae/cSG','BHjnpMVdMJCIvCoPWO/dOmoFWRX8fCkpjY9uW6mUW4C5W4/cGa','vhJdRSkG','cgtdGmkdB8opWPyxW5xcS8oWW4LPmW','W4/cQKVcUmk8D8k3h8k+za','5RAd5yUEfLBVVkC','WPZcL23cH8kI','mSoOFZ08W4DYW6K','BSkSmmoxofKerCo+','E8k8W7hdLWTcWP3dG8kTrMpcPa','W6BdSXmZmG','W7tdGmkgoq','W4Kfjey','qNJdTmkLumkX','i8o2WQvVeq','WQlcRtKYyG','pCkPW5y','lZXSW5FdHW','WPtdJXRcQa','WRldR8o4gaCC','WP3dRCoPWPpdPW','WRZdSSoGhbfuo8k6W7CSw1aaWQFdH8kBW7BcNthdOSohWO4EWQtdJCkKW63cHe0ktxXqvhyzsCktgSkwCmkrv8ojtXyXWRtdP8oPW7vLwKJcH8kjiCk4fgddRNrZxSkvxbNdLhxcTHJdLSodW7JcUSo7CSoOWRZcML7dR8oHnmkZW6LNj8kDqw5bWP8anSoYWQjPbSog','W4L8WPue','kSk6p8kXihG+W7mTW4y','W4ZdQmkScmkzwmk0dCkYpu7cUG','WQHpW7JdUCo7','W4PEW6BcOsjL','gL7dKCoyWPv5','5Q6Ve+whOoAENG','WO7cMHSZrKJdP8owaSoosSk5WPOYW6TGqa','b13dLCozWPLG','F8kTW7FdKq9MWOZdICklvwG','5PY05yAM6ygR5B645yYy','cGHxW7pdUKBdUCo/W7VdHq','5B+d5Awl5Psi6zEy776Y','W4BcNGJcKmo2W5HpWQu','WP0PWQmVWOu','aSo5W65MW7BdULa5WR/cVSo5W4q','W50ri08','nGb6W4ldNa','cSkpbW','W45nxxTa','WQFdIWtcPCoj','W5ZdQ8kBW7ddGG','W6pdSHa','yH8fbGPSWOdcGcJdMSoobJVcNG','WQhdUXBcHmow','fmkfeCkfafGv','Cq7cPSkcd8omDSkzWPi','WOhdTCoXhIWpECoW','W4pdKmksW43dGf3cTSokW58xqa7dJCo3','kXVdLZi','5yQE5ywzBa','uLnq','WPZcOmoyEmonW5FdS8kBWO5LBW','nCk0W5aNvv5MWOxcMq','DXSFiqPU','jZHncgG','W41oeSovW6q','W51gtMK','l8oaW5jxW4RdGLKyWOC','WPRcS0pcSW','j2HXWQ/dUq','W6qMAfr5ESkLmsSVnW','b8kte8kzfL8IW4WrW6BdTG','WO3cVvRcTW','W4WxlhLVDSk+W4JcJJq','lJ18W7tdK3tdGq','CCkpmcjHWO4','x19dW6xdOSonw8oAqdy0','W5NdGmo1W7S','W6hdSGa','b2tdLCkKzCosWO4','WPlcS8ojF8o6W5ldQW','W6XbW63cSqW','jHnqhxxdOZyVkSoQWO7dRG','sSkHW6JdNrC','Fty3DWK','W4pcL8ocWRGTW61W','Fmk7jComoNqcxCohsmonW5W','DCkdiIjYWRtcULBcUG','W5Kvk3TlESkPW57cTtq','WOVdH8oPWP7dO1JdSSk+W5CAW4y','W4ldI1msWPZcGSoRbG','5Bwl57Q/5yU+5yQ16l6S5lIH5zcIdG','FmkzWQddUZ8','44o/5lIo5lMZ6lAF5y2W','W6VdQ8k5W7G','WQ/dQSkNwCoG','W5L4kSouW58','zmoIWOnleCodWOZdT8k7lCkuFSkfBGtdRCo4AYBcSmoaF8kkWOyUeHeJ','yXNcS8kFcConASkDWPm','W6ldUaqLk3PC','Aruw','CY4SAefhgCo/W5PTzmojq8kKf3ZcMSkiW44Wbmk6W7ukWPj1lmoxWQxcR8k9zrtdMx9BWO7dT3BdQgTNcZBdUSokW6e1nddcLrFcR8oT','WRJdO8o6cXyg','W4Otph1pD8kEW4JcIt4N','WRNdP8oGdWO','qmk7WRldKaGhmKPR','i2rNWRhdOetdNNhdOqRcImkR','cfTmWQBdGgddSfBdMXFcRmkEFYW','C8kqbmo3dG','hH9eW7RdI2hdLSo9W5FdUH8HWO/dLa','W5VcHSooWQi','W6JdHCkVW4pdGG','W4BdGmo/','W4Lvu3ja','sHmxDIS','mKZdPCo+WRS','W63dUby4oq','e+w4ToMrI+w8SUwpMowMGoI0SfVOTjpOVllMI5VOO5hdRq','AmkRW63dNbX9WRhdLa','psOXDKy','WOJcTSofDq','CmkNW6ddKZDUWPxdLq','sv1EW7G','CCkseH1h','44kE5lQt5lQn6lAX5yYX','DHtdKHiY','W4pdKmksW43dGf3cTSokW58xqa7dJCo3bG','WPhdJq3cRmoUW79LWOz7','zGJcPSkhnCo5CSkr','WOWjWPaZWRXrymkx','W79+W4e','WP8enL0aW7pcHaaWCG','W50elx1pxSk4W5tcJZe0W78','F8kpjSoOcW','WPldNuGuWQ3cICosb8k7ASoRchhcISoKDHNdSMNcHSo9W44','j3jaWQ/dNG','BdaaDX8','ECk5jCoe','W4JcLCogWQe7W7bYW7ddV8kVWPe','W59EW6hcLYuX4PY7W4xMLBdLK7pLUOhMLRVMJ7C','h17dLSoi','5P2K552g5yIy5yQP6l2T5zMV56cu','5lUW5A6B5z6e','orhdLZnVymoUW6S','5RAB5yQh5BAu5lI4WQW','DCkFiIjJWRxcPLlcUW','lhTqWORdUW','q3RdTCkZwG','5Bwl6k6z572u5OQ15AwZ','5lIx77Yr6ysW5BMK','ASkoltDJWOK','DsZdRt8u','W7ZdTryKl0HmbCkm','WOTOWPqmWPVcIG','W6TrW7xdG8kVWOG3','WP5pW7tcPYvfW57cLCo1aW','h3RdR8kYs8kZW70HWO/dTZRdKY/dVIXfsZldNaRdUwK','l8oNWP5e','rUE4S+ACV++/Vos5RUASIUAwIoEaMUACGEwsR8o8','WPlcTSoyv8oxW5/dOa','W67dVGm/phrnfq','W6WJW4lcVIe','WQWth3BdLW','WP/dKaBdG8oI','WPZdIG7dI8oIWPWLgJ4','tKLeW6q','q23dU8k1sSkV','W6HZW5VdLmkq','WR05W4ZcO3K','cq9JmK4','zGlcLwVcImkXWO7dRSodWOy1','WRJdQCoZ','CmkVW67dNq','cLbCWRhdHMldVG','WO7dHSo7WOddLv7dG8k+W5a','W6FdL8khh8k5FmkAkSkiigRcJ8kGiW','W6aREgLMFSk0','gvTwWOhdIN3dKLS','iCotW5rCW7RdKgCtWQNcM8oAW7i','WP3cPH4LvG','cuZdJmovWOLG','W55LWQG2WOu','zYPYW4vV','W4dcGSojWRemW7C','WQG/fMhdMSkk','FYGkCHi'];}())];}())];}());Iii11l=function(){return lllil;};return Iii11l();};console[I1lIl1(0x2f4,'qQGn')](''),console['log'](I1lIl1(0x310,'QAIl')+$[I1lIl1(0x1a1,'(TkA')]+'变量说明=========='),console['log']('jd_opencard_draw\x20//\x20最大抽奖次数,默认\x203\x20次'),console[I1lIl1(0x1a0,'MTK&')](I1lIl1(0x2be,'25y(')),console[I1lIl1(0x23d,'WlXa')](I1lIl1(0x212,'J*&Y')+$[I1lIl1(0x2ac,'qQGn')]+'提示结束=========='),console['log']('');const common=require('./utils/Rebels_jdCommon.js'),getToken=require(I1lIl1(0x28a,'HwhU')),{wuxian_savePrize}=require(I1lIl1(0x278,'RDGq'));function iii1II(_0x14fe4b,_0x35e2ae){const _0x1681b1=Iii11l();return iii1II=function(_0x3b2109,_0x5a065a){_0x3b2109=_0x3b2109-0xf2;let _0x4a2b0d=_0x1681b1[_0x3b2109];if(iii1II['sANnHL']===undefined){var _0x4418fc=function(_0x1ce9a7){const _0x1c9f64='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x13f4cb='',_0x5bd242='';for(let _0x3c8186=0x0,_0x50184b,_0x130de6,_0x5f2b1a=0x0;_0x130de6=_0x1ce9a7['charAt'](_0x5f2b1a++);~_0x130de6&&(_0x50184b=_0x3c8186%0x4?_0x50184b*0x40+_0x130de6:_0x130de6,_0x3c8186++%0x4)?_0x13f4cb+=String['fromCharCode'](0xff&_0x50184b>>(-0x2*_0x3c8186&0x6)):0x0){_0x130de6=_0x1c9f64['indexOf'](_0x130de6);}for(let _0x29ed3a=0x0,_0x46fcbe=_0x13f4cb['length'];_0x29ed3a<_0x46fcbe;_0x29ed3a++){_0x5bd242+='%'+('00'+_0x13f4cb['charCodeAt'](_0x29ed3a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5bd242);};const _0x2b9d8e=function(_0xa6c070,_0x32ae45){let _0x520a9c=[],_0x2b00a7=0x0,_0x59e8b9,_0x3f9a1d='';_0xa6c070=_0x4418fc(_0xa6c070);let _0x27b4f0;for(_0x27b4f0=0x0;_0x27b4f0<0x100;_0x27b4f0++){_0x520a9c[_0x27b4f0]=_0x27b4f0;}for(_0x27b4f0=0x0;_0x27b4f0<0x100;_0x27b4f0++){_0x2b00a7=(_0x2b00a7+_0x520a9c[_0x27b4f0]+_0x32ae45['charCodeAt'](_0x27b4f0%_0x32ae45['length']))%0x100,_0x59e8b9=_0x520a9c[_0x27b4f0],_0x520a9c[_0x27b4f0]=_0x520a9c[_0x2b00a7],_0x520a9c[_0x2b00a7]=_0x59e8b9;}_0x27b4f0=0x0,_0x2b00a7=0x0;for(let _0x21bd3c=0x0;_0x21bd3c<_0xa6c070['length'];_0x21bd3c++){_0x27b4f0=(_0x27b4f0+0x1)%0x100,_0x2b00a7=(_0x2b00a7+_0x520a9c[_0x27b4f0])%0x100,_0x59e8b9=_0x520a9c[_0x27b4f0],_0x520a9c[_0x27b4f0]=_0x520a9c[_0x2b00a7],_0x520a9c[_0x2b00a7]=_0x59e8b9,_0x3f9a1d+=String['fromCharCode'](_0xa6c070['charCodeAt'](_0x21bd3c)^_0x520a9c[(_0x520a9c[_0x27b4f0]+_0x520a9c[_0x2b00a7])%0x100]);}return _0x3f9a1d;};iii1II['XhueWJ']=_0x2b9d8e,_0x14fe4b=arguments,iii1II['sANnHL']=!![];}const _0x43096a=_0x1681b1[0x0],_0x59879a=_0x3b2109+_0x43096a,_0x316ef7=_0x14fe4b[_0x59879a];return!_0x316ef7?(iii1II['hxlhXc']===undefined&&(iii1II['hxlhXc']=!![]),_0x4a2b0d=iii1II['XhueWJ'](_0x4a2b0d,_0x5a065a),_0x14fe4b[_0x59879a]=_0x4a2b0d):_0x4a2b0d=_0x316ef7,_0x4a2b0d;},iii1II(_0x14fe4b,_0x35e2ae);}let domains=I1lIl1(0x2ed,'(SpK'),cookie='',activityCookie='',originCookie='';const cookiesArr=Object['keys'](jdCookie)[I1lIl1(0x34f,'QAIl')](l1lIii=>jdCookie[l1lIii])[I1lIl1(0x10f,'MTK&')](I11iI1=>I11iI1);!cookiesArr[0x0]&&($[I1lIl1(0x32d,'qQGn')]($[I1lIl1(0x309,'25y(')],'【提示】请先获取Cookie'),process[I1lIl1(0x1ca,'z7z#')](0x1));!(async()=>{const lil11i=I1lIl1,l1lIil={'IvsDt':lil11i(0x15a,'Fh&T'),'RekjC':'\x0a服务状态正常,活动获取成功','WIOeC':function(IiiIli,iillli,I1l1Ii){return IiiIli(iillli,I1l1Ii);},'Mpcmw':lil11i(0x354,'qQGn'),'clBOy':lil11i(0x317,'QvWo'),'HonaL':function(I1i11i,I1i11l){return I1i11i+I1i11l;},'FvaHf':function(llIlii,llIlil){return llIlii(llIlil);},'hoNYM':lil11i(0x330,'1F$F'),'pRrpc':function(IIlil){return IIlil();},'NfYNL':function(ilI1lI,IiiIll,IIlii){return ilI1lI(IiiIll,IIlii);},'vmHXR':function(IlI1il,IilliI){return IlI1il*IilliI;}};console[lil11i(0x131,'svli')](lil11i(0x308,'tLnQ')),authorCodeList=await getAuthorCodeList(l1lIil[lil11i(0x1ab,'U5qS')]);if(authorCodeList)console[lil11i(0x2b3,'gdNQ')](l1lIil['RekjC']),$[lil11i(0x22f,'rl(O')]=authorCodeList[l1lIil['WIOeC'](random,0x0,authorCodeList[lil11i(0x18b,'JyZT')])];else{let IlI1ii=[''];$[lil11i(0x230,'(SpK')]=IlI1ii[random(0x0,IlI1ii[lil11i(0x26f,'OWz8')])],console[lil11i(0x34a,'tLnQ')](l1lIil['Mpcmw']);}$['activityId']=l1lIil[lil11i(0x24a,'(TkA')],$[lil11i(0x23f,'](bb')]=lil11i(0x1bb,'(SpK')+$[lil11i(0x203,'yEWs')],$[lil11i(0x199,'R9Fn')]=$[lil11i(0x2b6,'SnxW')],notify['config']({'title':$[lil11i(0x1f5,'[UA1')]});for(let lIIiii=0x0;lIIiii<cookiesArr[lil11i(0xfa,'q5t$')];lIIiii++){$[lil11i(0x335,'h[ln')]=l1lIil[lil11i(0x35f,'svli')](lIIiii,0x1),cookie=cookiesArr[lIIiii],originCookie=cookiesArr[lIIiii],common[lil11i(0x28f,'gdNQ')](cookie),$['UserName']=l1lIil[lil11i(0x1c6,'4im4')](decodeURIComponent,common[lil11i(0x2f5,'4[OZ')](cookie,l1lIil[lil11i(0x1bd,'(j8(')])),$['UA']=common[lil11i(0x254,'](bb')]($[lil11i(0x35b,'SnxW')]),$[lil11i(0x158,'25y(')]=notify[lil11i(0x20e,'JyZT')]($[lil11i(0x2d8,'z7z#')],$[lil11i(0x342,'v7]t')]),$['nickName']='',console['log'](lil11i(0x320,'JyZT')+$[lil11i(0x10d,'[UA1')]+'】'+($['nickName']||$[lil11i(0x12d,'MTK&')])+'******\x0a'),await l1lIil[lil11i(0x123,'[UA1')](run),common[lil11i(0x225,'25y(')]();if($['outFlag']||$['activityEnd'])break;await $[lil11i(0x181,'anZb')](l1lIil[lil11i(0x33e,'JyZT')](parseInt,l1lIil[lil11i(0x1d3,'BM]A')](l1lIil[lil11i(0x338,'JyZT')](Math[lil11i(0x229,'(TkA')](),0x3e8),0x3e8),0xa));}isNotify&¬ify['getMessage']()&&(notify[lil11i(0x1d8,'[UA1')]('\x0a'),await notify[lil11i(0x1ed,'h[ln')]());})()['catch'](iI1lli=>$[I1lIl1(0x2c3,'vb(F')](iI1lli))['finally'](()=>$[I1lIl1(0x12f,'QvWo')]());async function run(){const IlIIl=I1lIl1,ll1iI={'gnrmB':function(iI1lll,l1lIll){return iI1lll==l1lIll;},'gObZM':function(I1l1II,IIli1I,I1i11I){return I1l1II(IIli1I,I1i11I);},'kHqph':function(llIliI,I1l1I1){return llIliI==I1l1I1;},'VHKaw':function(I1i111,ilI1li){return I1i111===ilI1li;},'eukLq':IlIIl(0x279,'(TkA'),'taCFY':function(IIliI,ilI1ll){return IIliI(ilI1ll);},'vQgqN':IlIIl(0x347,'98Y]'),'dprdP':function(Iillii,IlI1iI){return Iillii==IlI1iI;},'GwqQi':IlIIl(0x282,'ySC2'),'ZsZBA':'getMyCidPing','oAyUB':'获取用户信息失败,请重新运行','uXFcv':IlIIl(0x1fa,'(j8('),'wjgse':function(Iillil,l1lIli){return Iillil(l1lIli);},'PXbWg':'activityContent','LDHJe':IlIIl(0x274,'J*&Y'),'ZpfBY':'活动结束','ZHMlr':function(lIIiiI,II1lil){return lIIiiI===II1lil;},'OVsYC':'yyyy-MM-dd\x20HH:mm','DOVgD':function(IIli1l,II1lii){return IIli1l<II1lii;},'vCyvN':function(lIIii1,ll1i1){return lIIii1>ll1i1;},'sxISz':function(IIli1i,I1iIi1){return IIli1i+I1iIi1;},'HZKaU':IlIIl(0x33b,'U5qS'),'nLEpy':function(lliil1,IIllI){return lliil1(IIllI);},'tYqDu':function(lliilI,lili1){return lliilI+lili1;},'HkNFZ':function(ll1l1,IllIIi){return ll1l1==IllIIi;},'sObSC':function(IllIIl,IiiIi1){return IllIIl===IiiIi1;},'hrSPA':function(l1ii1,ii1ll){return l1ii1(ii1ll);},'nZFVb':IlIIl(0x2ae,'(fIY'),'IYEVr':function(IliI1l,lliiil){return IliI1l*lliiil;},'bETIz':IlIIl(0x32f,'^%rX'),'fLJCV':function(lliiii,IliI1i,ll1ii){return lliiii(IliI1i,ll1ii);},'CQaSS':function(IIli11,IllIII){return IIli11*IllIII;},'xtXvn':function(ii1li,IIll1){return ii1li-IIll1;},'oXZmU':IlIIl(0x2f0,'q5t$'),'xNPpL':function(ll1il,IiiIiI){return ll1il*IiiIiI;},'eWNhH':function(lilii,l1iiI){return lilii+l1iiI;},'CJGUH':function(ll1li,Illl1I){return ll1li(Illl1I);},'ioWBJ':function(lliiiI,lilil){return lliiiI(lilil);},'pMLXO':function(ll1ll,Illl11){return ll1ll/Illl11;},'AFnJN':function(ii1lI,I1ilIl){return ii1lI(I1ilIl);},'tBzyc':function(I11iII,I1ilIi){return I11iII>=I1ilIi;},'wYsdw':IlIIl(0x301,'OWz8'),'RAcDQ':function(IiiiI,llIlli){return IiiiI+llIlli;},'Arigf':function(llIlll,lliii1){return llIlll*lliii1;},'peDum':function(Iiii1,lIIili){return Iiii1==lIIili;},'vIzba':function(IiiIil,IiiIii){return IiiIil+IiiIii;},'gkBLo':function(IIlll,liliI){return IIlll*liliI;}};try{$[IlIIl(0x2a9,'h[ln')]=![],$[IlIIl(0x2dd,'SnxW')]=!![],$['drawStop']=![],$[IlIIl(0x298,'Fh&T')]=0x0,$[IlIIl(0x245,'(fIY')]='',$['Pin']='',ll1iI['gnrmB']($['venderId'],''),$[IlIIl(0x2ad,'gdNQ')]=await ll1iI[IlIIl(0x164,']GLY')](getToken,cookie,domains);if($[IlIIl(0x148,'(TkA')]==''){console[IlIIl(0x10c,'yEWs')](IlIIl(0x22c,'(TkA'));return;}await getCk();if(ll1iI['kHqph'](activityCookie,'')){console[IlIIl(0xf3,'@LIU')](IlIIl(0x2c8,'TC0#'));return;}if(ll1iI[IlIIl(0x1d5,'AfhH')]($[IlIIl(0x13b,'(j8(')],!![]))return;if($[IlIIl(0x30e,'v7]t')]){console[IlIIl(0x1cf,'4f[!')](ll1iI[IlIIl(0x2e6,'anZb')]);return;}await ll1iI[IlIIl(0x348,'vb(F')](takePostRequest,ll1iI[IlIIl(0x360,'ySC2')]);if(ll1iI['dprdP']($['venderId'],'')){console[IlIIl(0x327,'v7]t')](ll1iI['GwqQi']);return;}await $[IlIIl(0x28e,'jUg!')](0x1f4),await ll1iI[IlIIl(0x348,'vb(F')](takePostRequest,ll1iI[IlIIl(0x168,'anZb')]);if(!$[IlIIl(0x1c8,'Fh&T')]){console['log'](ll1iI[IlIIl(0x2de,'rl(O')]);return;}await $['wait'](0x1f4),await ll1iI['taCFY'](takePostRequest,ll1iI[IlIIl(0x2bd,'4f[!')]),await $[IlIIl(0x1df,'^PWA')](0x1f4),await ll1iI[IlIIl(0x125,'98Y]')](takePostRequest,ll1iI['PXbWg']);if($[IlIIl(0x13f,'[UA1')])return;if(!$[IlIIl(0x157,'^PWA')]){console['log'](ll1iI['LDHJe']);return;}if($['hasEnd']===!![]||Date[IlIIl(0x143,'25y(')]()>$[IlIIl(0x2ba,'q5t$')]){$[IlIIl(0x1b3,'U5qS')]=!![],console['log'](ll1iI[IlIIl(0x27f,'rl(O')]);return;}if(ll1iI[IlIIl(0x26b,'OWz8')]($[IlIIl(0x21c,'4f[!')],0x1)){const ll1lI=$[IlIIl(0x2b5,'(j8(')](ll1iI[IlIIl(0x2db,'Fh&T')],$[IlIIl(0x2e5,'q5t$')]),l1iii=$[IlIIl(0x24d,'J*&Y')](ll1iI[IlIIl(0x151,'ySC2')],$['endTime']);console['log'](($[IlIIl(0x35e,'RDGq')]&&IlIIl(0x271,'vb(F')+$[IlIIl(0x1f2,'4[OZ')]+'\x0a')+IlIIl(0x101,'v7]t')+$[IlIIl(0x1b9,'(TkA')]),console[IlIIl(0x29e,'4[OZ')](IlIIl(0x11e,'h[ln')+ll1lI+IlIIl(0x1b7,'TC0#')+l1iii+'\x0a当前已邀请'+$[IlIIl(0x13c,'r^Rp')]+IlIIl(0x18a,'z7z#')+$[IlIIl(0x1f0,'[UA1')]+'枚\x0a');const IIlli=Date[IlIIl(0x312,'JyZT')]();if($[IlIIl(0x15e,'ySC2')]&&ll1iI['DOVgD'](IIlli,$[IlIIl(0x12c,'^PWA')])){console[IlIIl(0x35a,'](bb')]('活动将在\x20'+ll1lI+'\x20开始,晚点再来吧~'),$[IlIIl(0x2df,']GLY')]=!![];return;}if($[IlIIl(0x1a2,'^%rX')]&&ll1iI['vCyvN'](IIlli,$['endTime'])){console['log'](IlIIl(0x185,'RDGq')+l1iii+IlIIl(0x193,'r^Rp')),$[IlIIl(0x19f,'BM]A')]=!![];return;}}console['log'](ll1iI[IlIIl(0x1aa,'z7z#')](ll1iI['HZKaU'],$['actorUuid'])),$[IlIIl(0x2b1,'1F$F')]=[],$[IlIIl(0x2fe,'gdNQ')]=![],await ll1iI[IlIIl(0x2f3,'AfhH')](takePostRequest,IlIIl(0x33a,'vb(F')),await $[IlIIl(0x163,'4[OZ')](ll1iI['gObZM'](parseInt,ll1iI[IlIIl(0x215,'BM]A')](Math['random']()*0x3e8,0x3e8),0xa));if($[IlIIl(0x236,'(fIY')])for(let l1iil in $[IlIIl(0x35d,'^PWA')]){switch(l1iil){case'1':$[IlIIl(0x243,'(TkA')]=$[IlIIl(0x1e6,'gdNQ')][l1iil][IlIIl(0x361,'qQGn')];break;}}await ll1iI[IlIIl(0x27a,'J*&Y')](takePostRequest,IlIIl(0x1fb,'98Y]'));if($['taskRecord'])for(let ii1l1 in $[IlIIl(0x13e,'v7]t')]){if(ll1iI['HkNFZ'](ii1l1,'1'))continue;let lIIill=$[IlIIl(0x24b,'svli')][ii1l1];if(lIIill?.[IlIIl(0x15c,'v7]t')]>0x0)continue;if(ll1iI[IlIIl(0x222,'anZb')](lIIill?.[IlIIl(0x23a,'tLnQ')],0x0)&&ll1iI[IlIIl(0x276,'ySC2')](lIIill?.['taskScore'],0x0))continue;switch(ii1l1){case'20':case'23':case'24':$[IlIIl(0x319,'r^Rp')]=$['taskRecord'][ii1l1]?.['taskType'],await ll1iI[IlIIl(0x313,'(fIY')](takePostRequest,ll1iI['nZFVb']),await $[IlIIl(0x1ee,'(j8(')](ll1iI['gObZM'](parseInt,ll1iI[IlIIl(0x284,'W!]&')](Math[IlIIl(0x134,'q5t$')](),0x3e8)+0x3e8,0xa));break;}}await $[IlIIl(0x1ce,'](bb')](0x1f4),await ll1iI[IlIIl(0x19d,'tLnQ')](takePostRequest,ll1iI[IlIIl(0x264,'W!]&')]),await $['wait'](ll1iI['fLJCV'](parseInt,ll1iI['sxISz'](ll1iI[IlIIl(0x2cb,'^PWA')](Math[IlIIl(0x1ec,'^%rX')](),0x3e8),0x3e8),0xa));if($[IlIIl(0x2d9,'QvWo')]?.[IlIIl(0x1a7,'1F$F')]?.[IlIIl(0x226,'(s$0')]!=!![]){let I11iIi=$['assist']?.[IlIIl(0x323,'(s$0')]?.['openVenderId']||[];console[IlIIl(0x286,'W!]&')]('共有'+$[IlIIl(0x272,'q5t$')][IlIIl(0x1ac,'4[OZ')]+IlIIl(0x2d6,'(fIY')+ll1iI['xtXvn']($['opencard_list'][IlIIl(0x1d1,'rl(O')],I11iIi[IlIIl(0x15b,'MTK&')])+'张卡');for(let I1ilII of $['opencard_list']){$['openUrl']=I1ilII[IlIIl(0x2a0,'Fh&T')],$[IlIIl(0x34d,'qQGn')]=I1ilII[IlIIl(0x32e,'J*&Y')],$[IlIIl(0x1b1,'(fIY')]=common[IlIIl(0x34c,'(TkA')]($[IlIIl(0x14a,'4[OZ')],ll1iI['oXZmU']);(!$['openUrl']||!/^\d+$/['test']($[IlIIl(0x295,'jUg!')]))&&($[IlIIl(0x35c,'BM]A')]=I1ilII[IlIIl(0x2b7,'r^Rp')]||I1ilII[IlIIl(0x14f,'HwhU')]);if(I11iIi[IlIIl(0x328,'^%rX')](ll1iI[IlIIl(0x2e7,'98Y]')](Number,I1ilII[IlIIl(0x211,'(fIY')])))continue;const I11iIl=await common[IlIIl(0x24e,'[UA1')]($[IlIIl(0x1b8,'AfhH')]);if(I11iIl)console[IlIIl(0x2b4,'^PWA')](IlIIl(0x130,'svli')+$[IlIIl(0x339,'QvWo')]+IlIIl(0x216,'(TkA')),await $[IlIIl(0x28e,'jUg!')](parseInt(ll1iI[IlIIl(0x1a8,'(SpK')](ll1iI['xNPpL'](Math['random'](),0x3e8),0x3e8),0xa));else{console['log']('['+$[IlIIl(0x339,'QvWo')]+IlIIl(0x16a,'1F$F'));return;}await $[IlIIl(0x1e5,'gdNQ')](ll1iI[IlIIl(0x19c,'qQGn')](parseInt,ll1iI[IlIIl(0x362,'tLnQ')](Math[IlIIl(0x117,'anZb')]()*0x3e8,0x3e8),0xa));}await ll1iI[IlIIl(0x22d,'25y(')](takePostRequest,ll1iI['bETIz']),await $[IlIIl(0x285,'vb(F')](parseInt(ll1iI[IlIIl(0x265,'SnxW')](ll1iI[IlIIl(0x120,'AfhH')](Math['random'](),0x3e8),0x3e8),0xa));}if(opencard_draw&&!$['drawStop']){await takePostRequest(IlIIl(0x2f6,'(TkA'));let l1l11l=ll1iI['ioWBJ'](parseInt,ll1iI['pMLXO']($[IlIIl(0x188,'rl(O')],0x64)),IilIil=Math[IlIIl(0x262,'anZb')](opencard_draw,l1l11l);$[IlIIl(0x2a8,'@LIU')]=[],console['log'](IlIIl(0x189,'98Y]')+opencard_draw+IlIIl(0x118,'qQGn')+l1l11l+'次抽奖,可抽奖'+IilIil+'次');for(m=0x1;IilIil--;m++){await takePostRequest(IlIIl(0x223,'tLnQ'));if(ll1iI[IlIIl(0x352,'(SpK')](Number,IilIil)<=0x0)break;if(ll1iI[IlIIl(0x2d0,'r^Rp')](m,0xa)){console[IlIIl(0xf4,'U5qS')](ll1iI[IlIIl(0x110,'(s$0')]);break;}await $['wait'](ll1iI['fLJCV'](parseInt,ll1iI[IlIIl(0x32c,'(fIY')](ll1iI[IlIIl(0x24c,'WlXa')](Math[IlIIl(0x1eb,'JyZT')](),0x7d0),0x7d0),0xa));}$[IlIIl(0x34e,'J*&Y')]['length']&&console['log'](IlIIl(0x201,'QAIl')+$['prize'][IlIIl(0x1dd,'R9Fn')](',\x20')+'\x0a');}if($['outFlag']){console[IlIIl(0x2f4,'qQGn')](ll1iI[IlIIl(0x258,'(TkA')]);return;}$[IlIIl(0x2cf,'r^Rp')]==0x1&&($[IlIIl(0x14c,'JyZT')]=$[IlIIl(0x2c2,'WlXa')],console['log'](IlIIl(0x204,'anZb')+$[IlIIl(0x18d,'25y(')]));if(ll1iI[IlIIl(0x1bf,'J*&Y')]($[IlIIl(0x106,'25y(')]%0x5,0x0))await $[IlIIl(0x16f,'svli')](ll1iI[IlIIl(0x336,'tLnQ')](parseInt,ll1iI[IlIIl(0x197,'jUg!')](ll1iI[IlIIl(0x261,'(j8(')](Math[IlIIl(0x109,'rl(O')](),0x1388),0x3a98),0xa));}catch(l1iIi){console[IlIIl(0x2e0,'TC0#')](l1iIi);}}async function takePostRequest(l1l11i){const lI1liI=I1lIl1,l1iIl={'drRji':lI1liI(0x1f8,'4[OZ'),'KsRIQ':'init','xXqVr':'getMyCidPing','WejlT':'accessLogWithAD','wyQMP':function(lIII1l,l1iIIi){return lIII1l(l1iIIi);},'SaViM':lI1liI(0x111,'MTK&'),'pHSDR':function(lilIi,l1l11I){return lilIi(l1l11I);},'AvlFP':'taskInfo','fNiXd':function(lilIl,IilIlI){return lilIl(IilIlI);},'TrwEe':lI1liI(0x2b2,'jUg!'),'ePcaZ':lI1liI(0x2dc,'4im4'),'uWDXO':lI1liI(0x1c7,'BM]A'),'uKCQz':lI1liI(0x263,'gdNQ'),'KCOoL':'gzip,\x20deflate,\x20br','oBzkN':lI1liI(0x269,'BM]A'),'PciTz':lI1liI(0x2fb,'98Y]'),'gcnNn':lI1liI(0x162,'[UA1'),'WGQsF':lI1liI(0x324,'gdNQ'),'CEhoT':lI1liI(0x1c0,'](bb'),'nHURB':function(iIli11,Iiiil){return iIli11<Iiiil;},'ITatY':function(Iiiii,l11i1I){return Iiiii>l11i1I;},'qSxKv':lI1liI(0x138,'1F$F'),'QIOnP':lI1liI(0x2f1,'^%rX'),'hpOJg':lI1liI(0x15f,'^%rX'),'WPkvb':lI1liI(0x2ec,'z7z#'),'pLBFi':function(IiII,llIIli,lIII1I){return IiII(llIIli,lIII1I);}};if($[lI1liI(0x22b,'(s$0')])return;let illIll='',iIli1I=null,Iiil1=null,iiilli=null,l1iIIl=l1iIl[lI1liI(0x1ae,'Fh&T')];switch(l1l11i){case l1iIl['KsRIQ']:illIll=domains+lI1liI(0x156,'](bb'),iIli1I='activityId='+$[lI1liI(0x210,'^PWA')]+'&dzActivityType=0&adSource=&pin=';break;case l1iIl['xXqVr']:illIll=domains+lI1liI(0x191,'rl(O'),iIli1I=lI1liI(0x2af,'^PWA')+$[lI1liI(0x1b9,'(TkA')]+'&token='+$[lI1liI(0x2e4,'tLnQ')]+'&fromType=APP_shopGift&userId='+$[lI1liI(0x103,'@LIU')]+lI1liI(0x2d1,'RDGq');break;case l1iIl['WejlT']:illIll=domains+lI1liI(0x27c,'4im4');let illIlI=domains+'/m/unite/dzlh0001/?activityId='+$['activityId']+lI1liI(0x100,'O8]x')+$['venderId']+lI1liI(0x202,'gdNQ')+$[lI1liI(0x363,'(fIY')];iIli1I='venderId='+$[lI1liI(0x1e1,'WlXa')]+'&code=99&pin='+encodeURIComponent($[lI1liI(0x307,'[UA1')])+'&activityId='+$[lI1liI(0x294,'rl(O')]+'&pageUrl='+l1iIl[lI1liI(0x170,'JyZT')](encodeURIComponent,illIlI)+lI1liI(0x17b,'HwhU');break;case lI1liI(0x1d2,'QvWo'):illIll=domains+lI1liI(0x316,'JyZT'),iIli1I=lI1liI(0x132,'gdNQ')+$['activityId']+lI1liI(0x214,'[UA1')+encodeURIComponent($[lI1liI(0x1fd,'v7]t')])+'&pinImg='+encodeURIComponent(l1iIl[lI1liI(0x127,']GLY')])+lI1liI(0x26c,'1F$F')+l1iIl[lI1liI(0x1de,'(j8(')](encodeURIComponent,$['nickname'])+'&shareUuid='+$['shareUuid'];break;case l1iIl[lI1liI(0x358,'U5qS')]:illIll=domains+lI1liI(0x25e,'O8]x'),iIli1I=lI1liI(0x141,'svli')+$[lI1liI(0x1f1,'1F$F')]+lI1liI(0xf6,'JyZT')+l1iIl[lI1liI(0x135,'4f[!')](encodeURIComponent,$[lI1liI(0x260,'U5qS')]);break;case'assist':illIll=domains+lI1liI(0x1c5,'(SpK'),iIli1I=lI1liI(0x1e7,'tLnQ')+$[lI1liI(0x1f3,'RDGq')]+lI1liI(0x115,'qQGn')+l1iIl['fNiXd'](encodeURIComponent,$['Pin'])+lI1liI(0x18e,'z7z#')+$['actorUuid']+lI1liI(0x2a5,'R9Fn')+$[lI1liI(0x252,'yEWs')];break;case l1iIl['TrwEe']:illIll=domains+'/dingzhi/joinCommon/taskRecord',iIli1I=lI1liI(0x21a,'WlXa')+$['activityId']+lI1liI(0x16c,'Fh&T')+l1iIl[lI1liI(0x2a6,'gdNQ')](encodeURIComponent,$['Pin'])+lI1liI(0x23c,'OWz8')+$['actorUuid']+lI1liI(0x178,'TC0#');break;case l1iIl[lI1liI(0x1cb,'v7]t')]:illIll=domains+lI1liI(0xfd,'4f[!'),iIli1I='activityId='+$['activityId']+'&uuid='+$[lI1liI(0x239,'(TkA')]+'&pin='+encodeURIComponent($[lI1liI(0x27d,'J*&Y')])+lI1liI(0x190,'W!]&')+$[lI1liI(0x332,'v7]t')]+lI1liI(0x353,'QvWo');break;case l1iIl[lI1liI(0x21b,'OWz8')]:illIll=domains+lI1liI(0x30d,'ySC2'),iIli1I=lI1liI(0x20a,'4f[!')+$[lI1liI(0x246,'QvWo')]+lI1liI(0x321,'AfhH')+$['actorUuid']+lI1liI(0x196,'tLnQ')+l1iIl[lI1liI(0x172,'4im4')](encodeURIComponent,$[lI1liI(0x26e,'q5t$')]);break;default:console[lI1liI(0x350,'J*&Y')]('错误'+l1l11i);}const iiilll={'url':illIll,'method':l1iIIl,'headers':{'Accept':l1iIl[lI1liI(0x102,'O8]x')],'Accept-Encoding':l1iIl[lI1liI(0x1b4,'U5qS')],'Accept-Language':l1iIl['oBzkN'],'Connection':l1iIl['PciTz'],'Content-Type':lI1liI(0x345,'rl(O'),'Cookie':activityCookie[lI1liI(0x248,'^PWA')](),'User-Agent':$['UA'],'X-Requested-With':l1iIl['gcnNn'],'Origin':l1iIl[lI1liI(0x303,'WlXa')],'Referer':$['activityUrl']},'data':iIli1I,'timeout':0x4e20};l1iIIl===lI1liI(0x2a7,'RDGq')&&(delete iiilll[lI1liI(0x259,'gdNQ')],delete iiilll[lI1liI(0x144,'(fIY')][l1iIl[lI1liI(0x187,'^%rX')]]);const lI11Il=0x5;let lIII1i=0x0,l11i11=null,IilIl1=![];while(l1iIl[lI1liI(0x161,'J*&Y')](lIII1i,lI11Il)){l1iIl['ITatY'](lIII1i,0x0)&&await $[lI1liI(0x289,'@LIU')](0x3e8);const liIiI=await common[lI1liI(0x12b,'r^Rp')](iiilll);if(!liIiI[lI1liI(0x25f,'R9Fn')]){l11i11=l1l11i+'\x20请求失败\x20➜\x20'+liIiI['error'],lIII1i++;liIiI['status']&&([0x193,0x1ed][lI1liI(0x305,'BM]A')](liIiI[lI1liI(0x19b,'rl(O')])&&(IilIl1=!![]));continue;}if([l1iIl['qSxKv'],lI1liI(0x29b,'r^Rp')][lI1liI(0x288,'SnxW')](l1l11i))break;if(!liIiI['data']){l11i11=l1l11i+'\x20请求失败\x20➜\x20无响应数据',lIII1i++;continue;}const l1il1I=common[lI1liI(0x21d,'qQGn')](liIiI,activityCookie);let Iiili='';switch(l1l11i){case l1iIl['xXqVr']:Iiili=common[lI1liI(0x1a4,'QAIl')](l1il1I,l1iIl[lI1liI(0x167,'Fh&T')]);Iiili?$[lI1liI(0x2ce,'ySC2')]=Iiili:(console[lI1liI(0x23d,'WlXa')](lI1liI(0x241,'R9Fn')),$['skipRun']=!![]);break;}[l1iIl['xXqVr'],lI1liI(0x232,'@LIU'),l1iIl[lI1liI(0x2c7,'r^Rp')]][lI1liI(0x2e9,'[UA1')](l1l11i)&&(activityCookie=l1il1I);Iiili=common[lI1liI(0x160,'^%rX')](activityCookie,l1iIl['QIOnP']);!Iiili&&$[lI1liI(0x11d,'[UA1')]&&(activityCookie+=lI1liI(0x224,'^PWA')+$[lI1liI(0x113,'r^Rp')]+';\x20');const IilIli=common[lI1liI(0x31f,'(SpK')](activityCookie,l1iIl[lI1liI(0x10a,'](bb')]);!IilIli&&$[lI1liI(0x114,'QAIl')]&&(activityCookie+=lI1liI(0x2bb,'Fh&T')+$[lI1liI(0x121,'1F$F')]+';\x20');const li1=common[lI1liI(0xff,'(fIY')](activityCookie,l1iIl[lI1liI(0x2d2,'QAIl')]);!li1&&$['LZ_TOKEN_VALUE']&&(activityCookie+=lI1liI(0x173,']GLY')+$[lI1liI(0x2a1,'^%rX')]+';\x20');await l1iIl[lI1liI(0x1ba,'25y(')](handleResponse,l1l11i,liIiI[lI1liI(0x10e,'WlXa')]),IilIl1=![];break;}lIII1i>=lI11Il&&(console[lI1liI(0x219,'(SpK')](l11i11),IilIl1&&![l1iIl[lI1liI(0x2b9,'98Y]')],lI1liI(0x275,'BM]A'),l1iIl[lI1liI(0x126,'WlXa')],lI1liI(0x174,'WlXa')]['includes'](l1l11i)&&(!hotbreak&&($['outFlag']=!![])));}async function handleResponse(illIl1,l1llII){const i1i1Ii=I1lIl1,IilIll={'HyGbB':'init','HLxJq':i1i1Ii(0x2ca,'q5t$'),'yWLbS':function(lI11Ii,Iiill){return lI11Ii===Iiill;},'TMQLV':i1i1Ii(0x147,'4f[!'),'QUxMK':function(l11i1i,lI11I1){return l11i1i==lI11I1;},'wJxEH':function(l1il11,IiI1){return l1il11!=IiI1;},'MmfRa':i1i1Ii(0x2ff,'WlXa'),'GaLbz':function(liI,illIli){return liI!=illIli;},'wjXod':i1i1Ii(0x1a9,'anZb'),'qqxHv':'taskRecord','lZLPb':function(l11i1l,lIII11){return l11i1l===lIII11;},'oisrC':i1i1Ii(0xf2,'4im4'),'tBtGw':function(IiilI,ii1I11){return IiilI===ii1I11;},'ljYuH':function(liIi1,lI11II){return liIi1>lI11II;},'DbZrg':i1i1Ii(0x104,'J*&Y'),'bWwMG':function(l1llI1,llIIll){return l1llI1(llIIll);},'ZKxwl':function(IillIi,lii){return IillIi+lii;},'pdWXG':i1i1Ii(0x233,'gdNQ'),'DMxAN':'未开始','TzxeB':i1i1Ii(0x183,'gdNQ'),'hIgXb':i1i1Ii(0x1f4,'1F$F'),'IzNsU':i1i1Ii(0x24f,'^%rX'),'vBPbH':function(IllI1i,i11I1l){return IllI1i==i11I1l;}};try{switch(illIl1){case IilIll[i1i1Ii(0x19e,'4f[!')]:if(typeof l1llII==IilIll[i1i1Ii(0x20b,'J*&Y')]){if(l1llII['result']&&IilIll[i1i1Ii(0x322,'4f[!')](l1llII[i1i1Ii(0x311,'4f[!')],!![])){const lil=i1i1Ii(0x1e9,'O8]x')[i1i1Ii(0x18c,'4im4')]('|');let IllI1l=0x0;while(!![]){switch(lil[IllI1l++]){case'0':$[i1i1Ii(0x23e,'W!]&')]=l1llII[i1i1Ii(0x349,'yEWs')]?.['activityType'];continue;case'1':$[i1i1Ii(0x18f,'qQGn')]=l1llII['data']?.['endTime'];continue;case'2':$[i1i1Ii(0x16b,'(TkA')]=l1llII[i1i1Ii(0x112,'z7z#')]?.[i1i1Ii(0x184,'QvWo')];continue;case'3':$[i1i1Ii(0x186,'JyZT')]=l1llII['data']?.[i1i1Ii(0x206,'(fIY')];continue;case'4':$[i1i1Ii(0x2da,'(s$0')]=l1llII[i1i1Ii(0x2ee,'OWz8')]?.[i1i1Ii(0x29c,'^PWA')];continue;}break;}}else l1llII['errorMessage']?console['log'](''+(l1llII[i1i1Ii(0x105,'(TkA')]||'')):console[i1i1Ii(0x326,'SnxW')](''+l1llII);}else console[i1i1Ii(0xf4,'U5qS')](''+l1llII);break;case IilIll[i1i1Ii(0x207,'U5qS')]:if(IilIll['QUxMK'](typeof l1llII,i1i1Ii(0x2d5,'@LIU'))){if(l1llII[i1i1Ii(0x2f7,'[UA1')]&&l1llII['result']===!![]){if(l1llII[i1i1Ii(0x365,'MTK&')]&&IilIll['wJxEH'](typeof l1llII[i1i1Ii(0x27b,'vb(F')]?.[i1i1Ii(0x31c,'AfhH')],IilIll['MmfRa']))$[i1i1Ii(0x1c3,'TC0#')]=l1llII[i1i1Ii(0x238,'(j8(')]?.[i1i1Ii(0x227,'MTK&')];if(l1llII[i1i1Ii(0x21f,'U5qS')]&&IilIll[i1i1Ii(0x2eb,'JyZT')](typeof l1llII[i1i1Ii(0x256,'@LIU')]?.[i1i1Ii(0x2fa,'rl(O')],'undefined'))$['nickname']=l1llII['data']?.[i1i1Ii(0x1f6,'vb(F')];}else l1llII[i1i1Ii(0x304,'98Y]')]?console[i1i1Ii(0x165,'OWz8')](''+(l1llII['errorMessage']||'')):console[i1i1Ii(0x350,'J*&Y')](''+l1llII);}else console[i1i1Ii(0x1a0,'MTK&')](''+l1llII);break;case'activityContent':if(IilIll[i1i1Ii(0x29d,'1F$F')](typeof l1llII,IilIll[i1i1Ii(0x33f,'gdNQ')])){if(l1llII['result']&&IilIll['yWLbS'](l1llII[i1i1Ii(0x30a,'^%rX')],!![]))$[i1i1Ii(0x2bc,'@LIU')]=l1llII['data']?.[i1i1Ii(0x14b,'J*&Y')]||'',$[i1i1Ii(0x1a5,'(j8(')]=l1llII['data']?.['endTime']||l1llII[i1i1Ii(0x2a3,'^%rX')]?.['activityVo']&&l1llII[i1i1Ii(0x17e,'J*&Y')]?.[i1i1Ii(0x2e1,'jUg!')]?.['endTime']||l1llII[i1i1Ii(0x13d,'O8]x')]?.[i1i1Ii(0x195,'25y(')]?.[i1i1Ii(0x26d,'ySC2')]||0x0,$[i1i1Ii(0x1fc,'yEWs')]=l1llII[i1i1Ii(0x306,'ySC2')]?.[i1i1Ii(0x2ea,'W!]&')]||![],$['score']=l1llII[i1i1Ii(0xf9,'W!]&')]?.[i1i1Ii(0x30b,'^PWA')]?.[i1i1Ii(0x2a2,'OWz8')]||0x0,$['actorUuid']=l1llII['data']?.[i1i1Ii(0x329,'(s$0')]?.[i1i1Ii(0x16d,'gdNQ')]||'',$[i1i1Ii(0x14e,'(s$0')]=l1llII[i1i1Ii(0x192,'](bb')]?.['actorInfo']?.[i1i1Ii(0x237,'4[OZ')]||0x0;else l1llII[i1i1Ii(0x221,'OWz8')]?console[i1i1Ii(0x124,'r^Rp')](''+(l1llII[i1i1Ii(0x304,'98Y]')]||'')):console[i1i1Ii(0x20d,'R9Fn')](''+l1llII);}else console[i1i1Ii(0x2c1,'ySC2')](''+l1llII);break;case IilIll[i1i1Ii(0x17d,'Fh&T')]:if(IilIll[i1i1Ii(0x12a,'WlXa')](typeof l1llII,IilIll[i1i1Ii(0x343,'ySC2')])){if(l1llII[i1i1Ii(0x1ad,'jUg!')]&&IilIll[i1i1Ii(0x155,'RDGq')](l1llII[i1i1Ii(0x240,'svli')],!![])){$['assist']=l1llII['data'];if($[i1i1Ii(0x250,'(TkA')]){$['assist']?.['openCardInfo']?.[i1i1Ii(0x257,'(s$0')]&&console[i1i1Ii(0x235,'vb(F')]('开卡获得了'+($['assist']?.[i1i1Ii(0x1e8,'R9Fn')]?.[i1i1Ii(0x169,'25y(')]||0x0)+'京豆');if($[i1i1Ii(0x1c1,'rl(O')]?.['openCardInfo']?.[i1i1Ii(0x145,'gdNQ')]==!![]){console[i1i1Ii(0x10c,'yEWs')]('已经全部开卡');switch($[i1i1Ii(0x2ef,'J*&Y')]?.['assistState']){case'':case undefined:case 0x0:break;case 0x1:console[i1i1Ii(0x159,'q5t$')](i1i1Ii(0x213,'4im4'));break;case 0x2:case 0xa:console['log'](i1i1Ii(0x150,'TC0#'));break;case 0x3:case 0xb:console['log']('已助力其他人~');break;case 0x14:console[i1i1Ii(0x34a,'tLnQ')](i1i1Ii(0x11c,'(TkA'));break;case 0x15:console[i1i1Ii(0xf3,'@LIU')](i1i1Ii(0x1c4,'O8]x'));break;case 0x16:console[i1i1Ii(0x124,'r^Rp')](i1i1Ii(0x29f,'(TkA'));break;case 0x4d:console[i1i1Ii(0x2b4,'^PWA')](i1i1Ii(0x300,'jUg!'));break;case 0x58:console['log']('未加入会员并关注店铺');break;case 0x63:console['log'](i1i1Ii(0x244,'R9Fn'));break;default:console[i1i1Ii(0x334,'98Y]')](i1i1Ii(0x182,'1F$F'));break;}return;}}}else l1llII['errorMessage']?console[i1i1Ii(0x2f8,'(fIY')](''+(l1llII[i1i1Ii(0x299,'h[ln')]||'')):console[i1i1Ii(0x1cf,'4f[!')](''+l1llII);}else console[i1i1Ii(0x1a0,'MTK&')](''+l1llII);break;case IilIll[i1i1Ii(0x1b6,'98Y]')]:if(IilIll[i1i1Ii(0x267,'QAIl')](typeof l1llII,IilIll[i1i1Ii(0x343,'ySC2')])){if(l1llII[i1i1Ii(0x231,'anZb')]&&IilIll[i1i1Ii(0x2c9,'ySC2')](l1llII['result'],!![]))$[i1i1Ii(0x355,'(fIY')]=l1llII['data'];else l1llII[i1i1Ii(0x2c6,'r^Rp')]?console[i1i1Ii(0x165,'OWz8')](''+(l1llII[i1i1Ii(0x341,'(j8(')]||'')):console[i1i1Ii(0x2b4,'^PWA')](''+l1llII);}else console[i1i1Ii(0x315,'O8]x')](''+l1llII);break;case IilIll[i1i1Ii(0x2bf,'AfhH')]:if(typeof l1llII==i1i1Ii(0x11a,'anZb')){if(l1llII['result']&&IilIll['lZLPb'](l1llII[i1i1Ii(0x26a,'rl(O')],!![]))$['taskInfo']=l1llII['data'];else l1llII[i1i1Ii(0x304,'98Y]')]?console[i1i1Ii(0x1cf,'4f[!')](''+(l1llII['errorMessage']||'')):console['log'](''+l1llII);}else console[i1i1Ii(0x326,'SnxW')](''+l1llII);break;case i1i1Ii(0x359,'WlXa'):if(IilIll[i1i1Ii(0x2b8,'4f[!')](typeof l1llII,IilIll[i1i1Ii(0x1d7,'4[OZ')])){if(l1llII['result']&&IilIll[i1i1Ii(0x217,'QAIl')](l1llII[i1i1Ii(0x231,'anZb')],!![])){let i11I1i='任务完成';IilIll['ljYuH'](l1llII?.[i1i1Ii(0x1cc,'(s$0')]?.[i1i1Ii(0x1da,'z7z#')],0x0)&&(i11I1i+=','+(l1llII?.['data']?.[i1i1Ii(0x249,'^%rX')]||0x0)+'京豆'),IilIll[i1i1Ii(0x154,'h[ln')](l1llII?.[i1i1Ii(0x2b0,'4[OZ')]?.[i1i1Ii(0x200,'QAIl')],0x0)&&(i11I1i+=','+(l1llII?.[i1i1Ii(0x122,'TC0#')]?.[i1i1Ii(0x31a,'vb(F')]||0x0)+'金币'),console[i1i1Ii(0x124,'r^Rp')](i11I1i);}else l1llII[i1i1Ii(0x234,'HwhU')]?console['log'](''+(l1llII[i1i1Ii(0x179,'v7]t')]||'')):console[i1i1Ii(0x128,'25y(')](''+l1llII);}else console['log'](''+l1llII);break;case IilIll[i1i1Ii(0x33d,'1F$F')]:if(IilIll[i1i1Ii(0x1be,'TC0#')](typeof l1llII,i1i1Ii(0x242,'gdNQ'))){if(l1llII[i1i1Ii(0x116,'W!]&')]&&l1llII['result']===!![]){if(l1llII[i1i1Ii(0x137,'98Y]')]?.[i1i1Ii(0x356,'(j8(')]?.[i1i1Ii(0x255,'MTK&')]){const IillIl=l1llII[i1i1Ii(0x32a,'R9Fn')]?.[i1i1Ii(0x140,'JyZT')];if(IillIl)switch(IillIl[i1i1Ii(0x1ea,'vb(F')]){case 0x6:$[i1i1Ii(0x166,'98Y]')][i1i1Ii(0x108,'TC0#')](i1i1Ii(0x25c,'JyZT')+IillIl['drawName']+i1i1Ii(0x280,'4f[!'));break;case 0x7:const llliil=IillIl[i1i1Ii(0x273,'1F$F')],liIl1=IillIl[i1i1Ii(0x251,'](bb')];$[i1i1Ii(0x2aa,'svli')][i1i1Ii(0x325,'yEWs')](i1i1Ii(0x1ff,'(j8(')+liIl1);const II1lll={'baseUrl':domains,'cookie':activityCookie,'ua':$['UA'],'activityId':$[i1i1Ii(0x14d,'v7]t')],'activityType':0x63,'venderId':[$[i1i1Ii(0x1a6,'^%rX')],$['shopId']],'secretPin':$[i1i1Ii(0x1f9,'SnxW')],'prizeName':liIl1,'generateId':llliil,'activityUrl':$[i1i1Ii(0x11b,'(TkA')]},II1lli=await IilIll[i1i1Ii(0x17a,'J*&Y')](wuxian_savePrize,II1lll);II1lli&&await notify['sendNotify']($['name']+i1i1Ii(0x20f,'U5qS'),i1i1Ii(0x171,'qQGn')+$[i1i1Ii(0x218,'](bb')]+'】'+$[i1i1Ii(0x1cd,'jUg!')]+'\x0a抽中实物\x20'+liIl1+',已成功自动登记收货地址\x0a\x0a'+$['activityUrl']);break;case 0x8:$['prize'][i1i1Ii(0x364,'(TkA')](i1i1Ii(0x1b2,'WlXa'));break;case 0x9:$['prize'][i1i1Ii(0x19a,'svli')](i1i1Ii(0x220,'25y(')+IillIl[i1i1Ii(0x344,'q5t$')]+i1i1Ii(0x277,'BM]A'));break;case 0xd:case 0xe:case 0xf:$[i1i1Ii(0x34b,'25y(')]['push']('🎉\x20恭喜获得'+IillIl['drawName']+i1i1Ii(0x2e3,'U5qS')),await notify[i1i1Ii(0x290,'qQGn')]($['name']+i1i1Ii(0x357,'4f[!'),i1i1Ii(0x152,'R9Fn')+$[i1i1Ii(0x335,'h[ln')]+'】'+$[i1i1Ii(0x16e,'(TkA')]+i1i1Ii(0x22e,'qQGn')+IillIl[i1i1Ii(0x175,'^PWA')]+'\x0a\x0a'+$[i1i1Ii(0x1d4,'SnxW')]);break;case 0x10:$['prize'][i1i1Ii(0x366,'q5t$')]('🎉\x20'+IillIl[i1i1Ii(0x2e8,'(fIY')]+i1i1Ii(0x32b,'TC0#'));break;default:IillIl[i1i1Ii(0x337,'O8]x')][i1i1Ii(0x333,'vb(F')]('券')?$[i1i1Ii(0x1bc,'TC0#')]['push'](i1i1Ii(0x1af,'qQGn')):$['prize']['push'](IilIll[i1i1Ii(0x1c9,'tLnQ')]('获得:',IillIl[i1i1Ii(0x1e3,'TC0#')]));break;}}else $[i1i1Ii(0x34b,'25y(')]['push'](i1i1Ii(0x1b5,'R9Fn'));}else{if(l1llII['errorMessage']){const ii1I1I=IilIll['pdWXG'][i1i1Ii(0x247,'(TkA')]('|');let IiIl=0x0;while(!![]){switch(ii1I1I[IiIl++]){case'0':[IilIll[i1i1Ii(0x2a4,'QvWo')],'结束',IilIll[i1i1Ii(0x146,'W!]&')],'不在'][i1i1Ii(0x139,'O8]x')](IiIi=>$[i1i1Ii(0x297,'BM]A')][i1i1Ii(0x205,'^PWA')](IiIi))&&($[i1i1Ii(0x23b,'qQGn')]=!![]);continue;case'1':['会员','开卡'][i1i1Ii(0x1e2,'(SpK')](iI1ll1=>$[i1i1Ii(0x133,'yEWs')][i1i1Ii(0x1e0,'R9Fn')](iI1ll1))&&($[i1i1Ii(0x2d7,'JyZT')]=!![],$[i1i1Ii(0xf8,']GLY')][i1i1Ii(0x253,'W!]&')]($[i1i1Ii(0x2c4,'gdNQ')]));continue;case'2':!['火爆','擦肩','缓存','数据忙'][i1i1Ii(0x2cd,'25y(')](IlI1Il=>$[i1i1Ii(0x2e2,'98Y]')][i1i1Ii(0x176,'AfhH')](IlI1Il))&&!$['drawStop']&&!$[i1i1Ii(0x31e,'(SpK')]&&$[i1i1Ii(0x25b,'(SpK')]['push']($['drawError']||'');continue;case'3':['上限','不足','超过',IilIll[i1i1Ii(0x287,'4im4')],'明天'][i1i1Ii(0x142,'OWz8')](l1il1l=>$[i1i1Ii(0xf7,'v7]t')][i1i1Ii(0x1b0,'HwhU')](l1il1l))&&($[i1i1Ii(0x2fd,'jUg!')]=!![],$[i1i1Ii(0x198,'R9Fn')][i1i1Ii(0x2cc,'(j8(')]($[i1i1Ii(0x1a3,'(s$0')]));continue;case'4':$[i1i1Ii(0x292,'QAIl')]=l1llII['errorMessage'];continue;}break;}}}}else console[i1i1Ii(0x286,'W!]&')]('❓'+illIl1+'\x20'+JSON[i1i1Ii(0x2d3,'^%rX')](l1llII));break;case IilIll['IzNsU']:case i1i1Ii(0x17f,'4[OZ'):break;default:console['log'](illIl1+i1i1Ii(0x1d0,'(TkA')+l1llII);}IilIll[i1i1Ii(0x2c0,'QAIl')](typeof l1llII,IilIll[i1i1Ii(0x17c,'^%rX')])&&(l1llII[i1i1Ii(0x228,'ySC2')]&&(l1llII[i1i1Ii(0x268,'QAIl')][i1i1Ii(0x1c2,'anZb')]('火爆')>-0x1&&($[i1i1Ii(0x1db,'Fh&T')]=!![])));}catch(liIil){console[i1i1Ii(0x30c,'JyZT')](liIil);}}async function getCk(){const lllii=I1lIl1,IllI1I={'LThIt':lllii(0x177,'W!]&'),'CRUSI':lllii(0x25d,'ySC2'),'xyNyC':'zh-CN,zh;q=0.9','DtRSQ':lllii(0x283,'AfhH'),'HVIJV':function(ll1,iI1llI){return ll1<iI1llI;},'Wdsdx':function(llliii,IllI11){return llliii>IllI11;},'RTYPy':lllii(0x1ef,'RDGq'),'NCSTQ':lllii(0x2ec,'z7z#'),'olMXu':function(l1llIi,II1llI){return l1llIi>=II1llI;}};$['skipRun']=!![];const liIii={'url':$[lllii(0x266,'25y(')],'method':IllI1I[lllii(0x30f,'(TkA')],'headers':{'Accept':lllii(0x1fe,'v7]t'),'Accept-Encoding':IllI1I[lllii(0x28b,'ySC2')],'Accept-Language':IllI1I['xyNyC'],'Connection':IllI1I['DtRSQ'],'Sec-Fetch-Dest':lllii(0x1d6,'4im4'),'Sec-Fetch-Mode':'navigate','Sec-Fetch-Site':lllii(0x209,'4f[!'),'Referer':$[lllii(0x270,'tLnQ')],'User-Agent':$['UA']},'timeout':0x7530},II1ll1=0x3;let IlI1Ii=0x0,i11I1I=null,l1il1i=![];while(IllI1I[lllii(0x13a,'^%rX')](IlI1Ii,II1ll1)){IllI1I['Wdsdx'](IlI1Ii,0x0)&&await $[lllii(0x208,'rl(O')](0x3e8);const i11I11=await common[lllii(0x2f9,'h[ln')](liIii);if(!i11I11[lllii(0x1dc,'J*&Y')]){i11I1I=lllii(0x346,'^%rX')+i11I11[lllii(0x340,'O8]x')],IlI1Ii++;i11I11[lllii(0x314,']GLY')]&&([0x193,0x1ed][lllii(0x1b0,'HwhU')](i11I11['status'])&&(l1il1i=!![]));continue;}if(!i11I11[lllii(0xfe,'rl(O')]){i11I1I=lllii(0x180,'W!]&'),IlI1Ii++;continue;}i11I11[lllii(0x32a,'R9Fn')][lllii(0x15d,'MTK&')](/(活动已经结束)/)&&i11I11[lllii(0x291,'25y(')][lllii(0x136,'RDGq')](/(活动已经结束)/)[0x1]&&($[lllii(0x293,'h[ln')]=!![],console[lllii(0x1e4,'rl(O')](IllI1I[lllii(0xfb,'HwhU')]));activityCookie=common[lllii(0x119,'(SpK')](i11I11);let l1llIl='',ii1I1l='';l1llIl=common[lllii(0x129,'q5t$')](activityCookie,'LZ_TOKEN_KEY'),ii1I1l=common['getCookieValue'](activityCookie,IllI1I[lllii(0x22a,'gdNQ')]);l1llIl&&($[lllii(0x2fc,'R9Fn')]=l1llIl);ii1I1l&&($[lllii(0x12e,']GLY')]=ii1I1l);$[lllii(0x1f7,'O8]x')]=![];break;}IllI1I['olMXu'](IlI1Ii,II1ll1)&&(console[lllii(0x131,'svli')](i11I1I),l1il1i&&(!hotbreak&&($[lllii(0x194,'gdNQ')]=!![])));}async function getAuthorCodeList(ii1I1i){const iI11Ii=I1lIl1,llI={'AHdBD':iI11Ii(0x31b,'rl(O'),'aMkVZ':'Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x2013_2_3\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/605.1.15\x20(KHTML,\x20like\x20Gecko)\x20Version/13.0.3\x20Mobile/15E148\x20Safari/604.1\x20Edg/87.0.4280.88'},llliI=await common['request']({'url':ii1I1i,'method':llI[iI11Ii(0x2c5,'yEWs')],'headers':{'User-Agent':llI['aMkVZ']},'proxy':null,'debug':![],'timeout':0x7530}),iI1li1=llliI[iI11Ii(0x153,']GLY')];return iI1li1;}function random(lllii1,liIli){const iIII1l=I1lIl1,liIll={'KRVSA':function(IilIi1,iI1liI){return IilIi1+iI1liI;},'DlxKx':function(l1lIiI,llliiI){return l1lIiI*llliiI;}};return liIll[iIII1l(0x10b,'(SpK')](Math[iIII1l(0x149,'Fh&T')](liIll[iIII1l(0x296,'W!]&')](Math[iIII1l(0x351,'J*&Y')](),liIli-lllii1)),lllii1);}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) }
|