mirror of
https://github.com/shufflewzc/faker3.git
synced 2024-11-10 09:39:18 +08:00
32 lines
58 KiB
JavaScript
32 lines
58 KiB
JavaScript
/*
|
||
活动名称:批量店铺签到 · 超级无线/超级会员
|
||
活动链接:https://lzkj-isv.isvjd.com/sign/signActivity2?activityId=<活动id>
|
||
https://lzkj-isv.isvjd.com/sign/sevenDay/signActivity?activityId=<活动id>
|
||
https://cjhy-isv.isvjcloud.com/sign/signActivity?activityId=<活动id>
|
||
https://cjhy-isv.isvjcloud.com/sign/sevenDay/signActivity?activityId=<活动id>
|
||
环境变量:jd_wxSign_sign_lzkj_Ids // 超级无线签到有礼活动id,多个用英文逗号分割
|
||
jd_wxSign_sevenDay_lzkj_Ids // 超级无线7日签到活动id,多个用英文逗号分割
|
||
jd_wxSign_sign_cjhy_Ids // 超级会员签到有礼活动id,多个用英文逗号分割
|
||
jd_wxSign_sevenDay_cjhy_Ids // 超级会员7日签到活动id,多个用英文逗号分割
|
||
jd_wxSign_lzkjInterval // 自定义超级无线活动签到间隔时长(整数,单位毫秒),默认500ms
|
||
jd_wxSign_cjhyInterval // 自定义超级会员活动签到间隔时长(整数,单位毫秒),默认1000ms
|
||
jd_wxSign_lzkjFilter // 账号pin过滤(跳过不跑),多个用户名用@分割
|
||
jd_wxSign_cjhyFilter // 账号pin过滤(跳过不跑),多个用户名用@分割
|
||
jd_wxSign_notify // 是否推送通知(true/false),默认不推送
|
||
jd_wxSign_maxRetry // 签到失败时的最大重试次数(整数),默认0
|
||
jd_wxSign_forbiddenQuit // 当连续请求IP被限制时是否跳出即停止运行脚本(true/false),默认停止运行
|
||
|
||
不同环境变量对应不同链接类型注意区分,官方接口垃圾,中奖一切随缘,打印仅供参考
|
||
脚本无法跳过黑号(响应擦肩),请主动设置过滤账号以免造成堵塞
|
||
|
||
此脚本为批量签到工具本,如果你只参与一个活动并想看到更详细的活动信息那么请使用另一个脚本 jd_shopSign.js
|
||
|
||
cron:1 1 1 1 * jd_wxSign.js
|
||
|
||
*/
|
||
|
||
const $ = new Env('批量店铺签到(超级无线/超级会员)')
|
||
const _0x177e7e=_0x133b;(function(_0x11b855,_0x5e56f6){const _0x161ed9=_0x133b,_0x588601=_0x11b855();while(!![]){try{const _0x426c13=parseInt(_0x161ed9(0x2c1,'Wh(M'))/0x1+parseInt(_0x161ed9(0x31f,'*YVN'))/0x2*(parseInt(_0x161ed9(0x285,'c6W4'))/0x3)+parseInt(_0x161ed9(0x3d9,'4wEx'))/0x4+parseInt(_0x161ed9(0x42c,'8@Gy'))/0x5*(parseInt(_0x161ed9(0x3e1,'q0^r'))/0x6)+parseInt(_0x161ed9(0x2d7,'wgb('))/0x7*(-parseInt(_0x161ed9(0x2f5,'oehf'))/0x8)+-parseInt(_0x161ed9(0x403,'pSXy'))/0x9*(parseInt(_0x161ed9(0x3f6,'sRFW'))/0xa)+-parseInt(_0x161ed9(0x407,'ne2J'))/0xb*(parseInt(_0x161ed9(0x362,'$qS)'))/0xc);if(_0x426c13===_0x5e56f6)break;else _0x588601['push'](_0x588601['shift']());}catch(_0x4c6a5c){_0x588601['push'](_0x588601['shift']());}}}(_0x19db,0xa88eb));const jdCookie=require(_0x177e7e(0x224,'^XQ3')),common=require('./utils/Rebels_jdCommon'),notify=require(_0x177e7e(0x372,'sRFW')),getToken=require(_0x177e7e(0x318,'SBTV')),{wuxianDefense}=require(_0x177e7e(0x240,'c6W4')),{wuxian_savePrize}=require(_0x177e7e(0x41a,'oE9L')),lzkj_signInterval=process[_0x177e7e(0x1dd,'dwpb')][_0x177e7e(0x1e8,'dwpb')]||_0x177e7e(0x204,'c6W4'),cjhy_signInterval=process[_0x177e7e(0x344,'pSXy')][_0x177e7e(0x2f2,'S7Ji')]||_0x177e7e(0x1e2,'SBTV'),isNotify=(process[_0x177e7e(0x2b2,'sRFW')][_0x177e7e(0x2ec,'Zq#S')]||process[_0x177e7e(0x268,'^L5p')][_0x177e7e(0x23b,'MRy!')])===_0x177e7e(0x265,'@kh@');let activityIdList1=(process['env'][_0x177e7e(0x3be,'SBTV')]||process['env'][_0x177e7e(0x39c,'kGlf')]||'')[_0x177e7e(0x421,'kGlf')](','),activityIdList2=(process[_0x177e7e(0x358,'GviP')][_0x177e7e(0x1d9,'FtO[')]||process[_0x177e7e(0x222,'wOJ6')]['LZKJ_SIGN']||'')[_0x177e7e(0x235,'^L5p')](','),activityIdList3=(process['env']['jd_wxSign_sevenDay_cjhy_Ids']||process[_0x177e7e(0x2ad,'vg13')][_0x177e7e(0x3d3,'dwpb')]||'')[_0x177e7e(0x286,'@kh@')](','),activityIdList4=(process['env'][_0x177e7e(0x1ce,'oE9L')]||process['env'][_0x177e7e(0x305,'^L5p')]||'')[_0x177e7e(0x36a,'c6W4')](','),lzkjFilter=(process[_0x177e7e(0x1fe,'JPQH')]['jd_wxSign_lzkjFilter']||'')[_0x177e7e(0x20a,'l$kH')]('@'),cjhyFilter=(process[_0x177e7e(0x1dd,'dwpb')][_0x177e7e(0x425,'7NhJ')]||'')['split']('@');const forbiddenQuit=!(process['env']['jd_wxSign_forbiddenQuit']===_0x177e7e(0x295,'TOor'));let signFailMaxRetryTimes=process[_0x177e7e(0x2c5,'$qS)')][_0x177e7e(0x266,'FtO[')]||'0';const maxForbiddenRetryTimes=0x5;function _0x19db(){const _0x36d9ef=['e8o/WOH3W6Gh','W5xcU3moWPNcUCoaWR3dVSkkWRdcMLBcOgi','gSkMAX8zgqWOl8kHWRjJpCoarXJcLW','s13cPGZdPmkgp1XDW7VcNdhcTW','W79jW4DRt8kulSoeiSkSWP7dSY4vBq','rYutW4VdP8kfhfr5obnffXfiWR1NWQ3cPrC','FxjUW7/cGSoQuSkdeW','WR3MIQFKU4fq','z2ryW6VcN8oWvCkceML2udLoWRFcPW','W7jVW4i','W6HttrddUGW','W51+WRGFWQVdVra','fpc6TiO','5P6055+p54Is5Ocp','b8kDvSk6tCoAWRxdVuvYiXOxWPVcJCoKxCkUBmoUW4ZdLG','cWZdTvlcJ8owE2DRW4lcIHhcS2DIW7FcNmkJCKW','B8obpq','tSkUW5aGWQTDWRtcJN3cMSoHFq','W7PlW5bV','W7fitr0','WRlWQQc+yUEOVEAWPW','tCoWeHvDmmkYW4C','rmoIkwG','l8oAnguRtqzaWPfqW5OaWOVdMCoJpCkaW5WkEGei','W5tdIsS','tcrPbCokma','cCo/WOH0W7KDWRJcJW','W5bZWOOeWO7dUrmX','AMvZW5RcJSort8krmgXBDg3OR5dMSPpLP6/OTyz64P21WRy','xWhdLSkjW5HnoZHtf2ddLfnbCCoIna','WPVcLwdcMSkHWOGjW7ZdKW','kSoTzbDxWQJcIcFcMSkHW63cGwFcPfZdKqXGpG','rb7cGWSZarGncCo7W55r','kSkfrcGpjdekeW','W651W5y0','mxJdIv8+CSoy','W7e2W6iHlW','qCoUm3ddLCknxmoO','W6DuuGhdRqO','WQpcMe9EECkHWQzP','WQiyW6hdMM3cGNavW4LFWQ7cIW','sCoOiL7dUSkpwq','s8o5W73dGa','WRVcSCotzNHwWPVdMuneW4S','W5L/WOKuWPldVrm7hd3cHw1gW5NcISoXWO/dQxldGMu','tmoVW5FdJ1TjDmkiyCknW6JcPmodECkjW7KAWOZdJSonwa','dc3cIq','WQtcGG0','W7bHW5m1rZDBrq','WRFcMe5ezCkLWRP5nCkzWRzvWQKzcCowySkoW5hdUW','dthcIq','qaeIWRq','W78QvfjoAZBdNqJcH3tcVCk7iCkCAmocW7jErW','bmoXW6HUxCkhFq','kSoCm3n0','oSovmNHJvJXs','WQfvi1/dOCoLWO9pWQO6wSkmkCoHWPO','zmollG','mx7dLvmZASoXW6VcQW','WOiQW5PiW7tdLrWfpYRcKa','lxNdSd/cUSktW5BcRhK','WRuEW7VdL37cMu0i','uSo4W5VdIgXLD8kbEa','kmoNzG','W610W5C1tJfgrSol','WORcQsRcMxpdKa','5y+q6ywR54U/5Ocq57M+5P2pW4ZdRSoLmCoLj8oNlui+','z8opANBdTSowqSo+hJe','8kwDHIZMGjZLL4ZOJ4dLV68','FH8XW7BdPSkPiM9vdW','WOlcJNRcHG','W7ldPezgW4NdOcW','WOCJW7pcQCkbzrFcIfSaW40qh1r3n31thCk+W4K','WPWiWOSrWOBdU8oiW7D5W5/dOSkxkXRdOSktdrK5WO/dO8opyW','W4FdTCkQWOlcKSo/W4FdNCoJlCoEWPb6W58','c8o1W6H4ACksDa','mIvrmUESQ+wiP+MxJ+MyMHBcLCkO','4PMsW5VOR77LHQBLRB7KURpLVR7OPjlNMkxNJR3LOjZLJQpPH6lLKzVLHzROVPJOO6ZOH73MNy7VVBq','BSosbfpdHmkVBSoyyYDS','WQVcVSoyBvjxWR/dTKe','W6T5WQ7cHW','WQqEW6hdShtcHg8fW6fMWQVcGSowW6i','smoIjfBdOSk8wmoJvW','ad3cMH3cLComWQuYW5mmWO4','W4ZdV8k5','qCo4W53dMhObASkoy8kn','tSoLW5u','W7j6W442BYnBzSoEWQNdKq','WP7cNMFcICkqWPi','ddVcNqFcGSocWRq','AwfZW70','rCoSacDLkmkL','WQGtW4lcHCkmqYxcSN4GW55o','WRnFj1tdM8o4WRDfWR8BuSkufCojWRpcGea','uCoHW5VdM1TzDW','W5T1WOS','W7C5W6a','WRbIl1hdT8o4','WQVcSmosB2vwWOe','uGu4WRhcTmkVWO0L','FHZdS3/dKq','kSoTzbDxWQJcGZRcICk3W4tcSNRcO37dLXn8gCoIeq','4P6PWRlNRPdLIjJNSO/LNR3VVyRcHsW7WP7dVuRcSrCmu8olFSo4772Mta','WPLJW4ihx8kZ','zmkGwHxcHCkdW7FdGaG','WOBcVZdcIa','WO/cOJFcM3xdJa','W7e4W7GKlLq','bCoQhqzNzSkXW4D/zaClk2xdQbaiyrDuWPFdMSkPW7FcJCogeW','W6i+W7GwkfJcP10','WQSuW6BdH3xcIMKj','g8o1WOH1','5P2A6ikF6iYo5yYY55AD5OIv6yIH5P2u5l+t5OcB77Yc','y8oblghcGhhcNCk6WQ5P','A8kHsXtcKCktW4ldMG','hSo5WPj5W6OgWOxcKKlcUq','sSoPjG','WPxcKM/cMSkQWPSwW7y','WPDOW4uVvmkxWQ8/WQG','WPJdT8kAA8kBwsNcJYmfWOBcSuZcSq','566D5yU35AwO6lEz6yEm6k2X5Q2k5PEahmoxWQS','W61dW4nGDCkjfSoon8knWPBdQXi9rmkVAa','W58+mSoYvXddHG','eSo/WPvJW70iWPq','WOnKW5ymzmkPWRi0WR05W5xdMSkbegjpeq','tSo4aaa','q10VxwWLtmoOAmosWQbn','iUkDKWJORO/MSQBLP4BOTOlVVQhMLOBLKiNLUyhMLBNMJAdVVPW','WQVcSSoCCx5nWPVdUL1tW43dTmkDCNzspa','ufCi','5BAn6kYK576i6lEJ6l2B6l6/6kk95B645yMg6lE75y2po8kOW7tOTkNNU4RKV47LKO4','WRJdL8k6','W4FcVxecWOhcLmovWR3dTmklWRu','cmosxJjaWP7cSqxcTSkC','ttvRcmor','WQjSrKHYDW','W5W8nCo+DaVdNSoNxtlcIa','sa7cKa','qIKAW4hdKmksjeu','W4RdGZ3cHCk9uwq','WRxWMy2g','WP1OW4irtmkGWQm','r8k7W65PvCkmA8k1lGSPWQvbWQntWOPIWQ3dTcxdP3CGWRhcGCoyCW','hEIVK+AWL+wLQ+I0JrFINQyG','WO8VW55bW7xcRGqSebpcJv4','tsbXbmolgCoZmN4zg8kBW5DHEa','WQpcLeD/qSkPWQ8','WPVcQCknWRq','WOmIW4lcOSk4zrq','vWuGWRdcV8kzWQu4DSopWO8TBmomDW','W43dO8k5','W6tcVxn1DSkfWPHtamkJWOWU','fKZdGI8niI0efW','cSkqB8k5E8oOWRhdVW','8lI3U++6QY7KVktMGiFLIzO','W6VdQxvhW7BdRc/dIa','b8kQAruceHuIk8kYWPjShCoaxbtcKedcHSk7eG','W78KW7e','amo6W794ra','WRtcTmoC','ptvgkHbezmoEzCo7','W6u2W782','W4S6l8oZzXddO8o6','rmoKWQSXWRKzbYmHCKZcRmo7W7jK','hCkTzSkMumoN','W5O2j8oJtapdH8o7','W6VdPxfBW4FdSrldHfq','5lUv5A6d5z6t','44kJ5lUh5lU46lwA5yYC','p8ovkNLOybrpW6bkW4arWO/dR8o/','erBdNvC','aGD2hbX6wSoPsq','iUkDKWG','WO4JW6i','5BEp6k6A57Y76lAP6l+V6l+N6kg25B2t5yIo6lw55y+ApunW6lwY57QS5PwT57Mb','W7jLW4S7vd4','W7hdRNTDW7ldRcZdUvxdSmk6W48','W47cUNddJSoajcjgWQ0','gSoXW68','8lgvT++5G8oq','r8oOWRm','gSoXW7HVwCkusmoZeG','W442jSo5sWZdNSo7EJBcHCoBW6pcVmkuW5dcPq','rb7cGWSZarGnfmoM','lqtcPt7cVmo2WPqDW4mWWQBdSCkw','cmo3W7H4t8ktvmo1gZKIWRrfWPfi','WR/cVSopxfHmWOtdTKPZW43dTmk8FG','E8oBWOivWPiooqO3tW','xGJdMmksW5qm','W550WP8vWRldRa','77+V5yYf6igA5lIl5yc9','WOhcPIRcMvtdLGC','qGKU','hWP8dWDYvSoHwSoqWRjVW5OoW417xrZcPmkTgG','W4RcOSoyemoaEYdcTXmHWRm','WQDtngRdOmo5WRTzWP4zuSkmnmot','WOZdU8kjrSkHrG','tIXP','u0u4pW','rSoPm3FdRSkivmo+','jxpdPZBcICkcW6VcQMhcSuVdSrSeW7TlWQCWWRfLWPK','CcJcVIy','W4hcT2mF','WRmVW7RdMh7cHtK','W5OfWPCzWPNdOa','W7VdRatcQEI3VUwpLEI/L+A4LLbyW4i','E8obkMpdIgtcOCk6WRy','wCoOWR4/WPK8cZ8','W7b3WQdcTSodwa','W6VdThzgW5FdSq','W7DyubhdRqRdIx8','y8k/wbtcJCkuW4BdNq/cQ8k7jNBcUmoIWRBcG8o8WRXtW7fCrG5UW4GQW7CTW7xcPSoFWPG','WPtcKMxcMSkbWOG','WOJcQ3zRCSktWPrCgCkK','fWFdJCk3W5XpjxTxnwddHwLCw8oIbCou','WPNdVCkCBCkvvsO','uIbPbSornq','W550WOGvWRG','WRTHFLfFvcZcLttcVwxcVCkHn8kTEmomW6bKrCk6WOhdRLuiBmk9','gqBdPLxcQ8oAFMThW5u','rmoOWRO6WOiT','WP5KW5ijy8kMWQS0','WOPLWPWHy8oRWRW5W7q+WONcHSo7qa','Ewu6','xspdJei','gmo/WPjdW7ucWOhcH27cNmoBB8omWRRdIGlcGSk5','amkHBX0LeX0+','dmoZWOf+W4KF','yCoMWOJdK8kfWOhdRSox','6iY25y+RhGxdOrBdLhtcJqbQcEwNJEI1Mo+9LW','E8obp3tdG1tcKmkQWOD/WRf9WRrfdW','tSkvDZNcOCkKW7JdUs/cIG','5P2H6ioR6iY15y6e55EZ5OUq6yUY5P6g5l+25Ok7','W7/dPwzQW43dQINdHf/dJCk+W41mvq','tSoKjhldRCkfrCo0Eqy','WQvemLxdOmoBWQztWR4mvmkD','W7/dOXG','W4RcS3BdJq','W5RcT2VdQ8oSoJnoWQBdVMmvWOvYjs/cPW','zJFcVZSAoYKIgmomW6P1eW','WOnKW5ymF8kIWRCKWQO8W4ddSmk6c21icWfmpG','WP5OW5qgF8kIWQS+WRKQW7xdLCkHehLdfHXGnaO','W7v2WQ7cH8oHq1qMmcuDW58','W61RW4WSCInb','WRNcUmopDKfkWPVdPNTCW5ZdVq','pmkqEIlcLcxdG8k6WQboWQ1mWPm','zSodpYVNRBFLIBNPLlBPMlyZiti','W5v7WP8vWPxdQHi','W5OfWOCqWP7dSmodWQS','ug7dNJlcTmoWWOiJW7i','WQHcneRdOCkSW6WpWQ4hw8kbBmojWQ3cKX0TkCk+W79wqstcKJH8WPSrW5i','fq5TcG','oxFdRdBcTmkk','CSostbrDWPVcOG','k8orlN5NqXb3W5Xn','r8o8WORdJ8kyWPtdRmoc','wIrZaa','tJb0cq','q8oOnW','tmoJW5hdGgDnDmkc','W61dW4nGACkx','lMtdSd3cQCkQW6pcTMtcTw3dTW','uIPG','khZdQIVcLmksW7lcG3VcTw0','W7NdO2zaW5tdRdBdLg/dQCkZ','zmobj3BdMxG','zSkUxbK','r8o+WOtdKCkzWPxdRq','pxxdS1e5E8op','W7OJW6iYnaNdRrWiaMBdPSowjmo/W67cMmkIWRxdIrOufSourwi','tsXGd8oGl8oGjfmNaCkB','W5ZcSwVdKmo/idDyWOhdQq','aCkwBG','qSoWWOpdHCkUWPldISow','wmkKWQTBA8k1s8oYca','WPJdS8kCsSkvusFcPYuN','dmoXWO9GW44AWP8','hWddPN/cSSoCyxTRW6FcNZVcP2S','amo6W6H4tSku','W7juwrVdNbhdRx4','WPdcR8km','5BsY562i5RQHdEwMUW','WQqsW7pdH1xcIMKj','qWuIWOBcUmkWWRqTtmo9WOu+s8o3yCkKc0e','5P+A6ioW6iYg5y6055sf5OUW6yQY5PYs5lYU5OcG7761','W5jAW7OiBX1QBSoTWP7dT8kFWOKs','W4rZWOSEWPldVq8HdYVcSeHDW4lcNSo6WPldTf7dIa','WQPIWQrZCGxcUeSEm0tdNa','nhVdJ0C','tdZdJW','WRaEW7VdL1xcHhafW6jj','W4K0W5WvxSkPWQ8y','ksjviYfJs8oCsCoeWOzPW50t','WRnciu7dP8oL','WQjSrKHIDtFcNsJcR2xcVW','gSo9W7XZB8kvE8o5gr04','WQ0AW7JdLG','wKeHguDyuwKMcuXXgZu','WQiyW6hdMM3cGNavW41u','s0e7pK1fC2q','WPZcNMZcISk2WP8wW7ZdL3FdNHHzpmkHiCouWP4RewG','56+G5yIA5lQK5QYV','W5hdUmkpxSkvga','W5ZdHZJcKq','jCoRDrPZWQtcMIZcTSk2','WRztlL7dT8oKWOPe','cWddSu7cUmohwNTG','W7hdRNTDW6FdTZddGKG','cmkSEbGMhGW0cCkUWQnQ','xYzKbmowlSoEjey','dmkLW4FdN2baASoirCknW4VcOSoBy8kGW6mpWOpdOSo5wCosswi','lCotkhvWtqfpW6PlW4u','WOlcKMFcUSklWPeEW70','k8ovkf9PsX5FW5PVW4GAWPtdNW','WO/cQd4','W5ZcSwVdKmo/idDyWPZdThyZ','WRWaa0JcTuxcVsBdM1G','eI7cGH3cLW','W7v2WQtcN8oetL8b','W61dW4nGB8ktdCoB','W699WQNcL8o/ru4BotC','W5ldGHpcH8kGCxNcLqqNW7RdV8k4qaahW77dRLXk','c8kqCq','W442jSo5uaFdM8oRBtpcKmoXW5BcVmkvW6hcV8kZWPNcSG','W6XXWQNcP8oEqv8C','W7u2W6qGjLtcP3ihda','W7hINPKb','W7juwrVdMW3dO3JcGXz3','f1HIW6xdQmoOW7epESo2WOqSzW','w8oUWRO','jhtdKvS8wSoaW7VcMN0zEXZcU8kI','uWe/WQe','W5tdGYlcL8kSsG','imkZxKSJy8oO5B6I5AEc44cr5lUf5lMt6lwS5y+R','ANPUW6ZdI8kdwmkagLP5sYGlW7hcVbe','fsZcHXK','xsixW4NdGmkecfi','W7TXWQhcH8o/s1Cx','fpcSJ6VVUQO','ha3dNG','8lUVNSk2','smoUW63dNhf/CmkaECk3W5RcRSoqFSkGW7meWP3dVSo2ySoFqa','W4RcPg4b','eCoZWOv7W7ioWPZcJG','W5m6jmoZuaFdH8oXFIxcPCouW4pcVmkpW5ZcOSkNWRxcPCoT','W6ZLHRia','nNldK1CKD8ovW7VcJgO','sa8X','bCoXW7v6smki','44g95lMv5lIv6lER5y+c','W6dOR4hMSilLPiVOTRFcTUkDNWdMLk3LKQdLUQFMLOJMJk8','dmo1WOT1','WRlcV8oKAe9WWOBdUef6W5/dSCkUDurBnCoIAXTUhce','W50oWOeyWRNdSColWRDUW5NdGmkrladdMmkvhJCzWP/dUa','kCoclNn0ArbfW4XyW44t','WPRcLhRcMSkkWPSwW7y','qbpcGq','srJcMquXaa','sG8H','faaUW7RdTmkLpN5maIK+','dmo/WPi','W6a1ery','eW3dI8kx','WRz/sfyljYhcLZZcJNFcRmkYFSoJxSoF','mMpdLveG','WPOVW7hcO8kABG7cGL8tW60Fp1rSo3O','WPpcRJFcQg7dJW7dNG','tXNcQbu9oWutm8oDW4joiCkdt8kxkCoqW4RdOwO/','W58eWOm','amkHzquahHyzmSk8WRzH','W47dTCk7WQxcR8o1W4hdM8oWhSo+WP97W5pcNCkLW6PmW5RcIx0','tK0YnhXEv2u','W6P9WQNcL8ouwhmw','W4acWOmsWQldUSosWR1QW4RdOmkEdaddG8kzgq','W61LW5m5tHjowCoTWRVdN8k0WRicW6q','5P2h6ice6i6+5yYB55sD5OQ+6yQO5P+z5l+k5Ogc','WQXzjW','ptvsiEI1S+wpOoI/VoA5QHBcLCkO','uCoLW5/dJG','qEw7RoISRoEMQEMAV+EzO+A2VEwjRE+8Jq','d8o7W6LWxCkusmoZeG','veO2nL1tx3m','dXzJBbeftwyhoh5C','W5FdSCk3WRu','W79jW5bNsSkofSosdmkF','eJFcIrRcTSov','p8oBnwXuurS','W4JcV2Go','W5BcT3RdICkKkc9iWR7dQa','W5GXnW','srlcKa','r8oNW4ldN3a','W5lcP2VdV8oLkcq','wCo8fXnSpCksW4TN','rmo0WR43WRiUfq','c3u3','WQDtnhNdVCo5WQHjWQG7uSkunmof','WPFcIxVcGCkwWRCEW6ddKNpdUb4','W7nLW5yVqtfkuW','W7nzW4m','q8o9o3hdLmkzrColxanz','rmoXWRe9WQm','WRFcLePyuSk0WPTLpG','WRFcLf0','amkCESk+vmoUWRK','WOq1W4S','W5xcT2ifWQtcICooWRq','sSo1iNtdQCkHvmo+qWnzCW','WPpcMh3cH8ksWPmpW6RdRh3dUX4','xmoHWPNdKCk4W5RcRmkDW6VcK8kEW5rCWOiLW7tdLwBcNrRcUv/dOhpdVmkr','WQpcLf1NtSkqWQjInW','W7FcQmosEfKmWPZdTKHlW63dU8k9CM1Eo8oW','W61yubldVba','WQ0EW7ddL0NcJMKdW7jvWOVcJCoxW64PzqyUWPnuga','ohNdRZC','WRHRuKnvCW','fCo4fXvGp8kRW5zWsa1Y','WONcRwWmWPNdKSowWRZcJSkkWRdcMLBcOgi','WPDKW5Cwy8kMWQS0','WQRcLeXozCkLWQzJjSkpWOnWWRWze8oRF8kAW73dRg8','W7vyrGhcPXddThBcIKLLwCkmet/dR0q1W6zIlsOOl8oRW5G9W7BcHMRdGSoyEtPgWO5kyN5pW6pdQmkxWR5IWQeEFxHXvuW4W4/cJmkHW6K1bqLYnSkOW6/cUMBcM8ohWQmrWPxcMmogh2ZdNSkXvCoXgWtcVmotDehdSqFcOwRdGWRdRru3vLNcPv46AvuKCmojuCoHWRWfWRxdNJjNBmozmsGHfNPMqCk3WOrNWR7cR8oNs1m2ECo8W4VdNu0','WQxcKL1dqCkPWR91bmktWRj2','W61hvr/cPrhdS23dIaX3x8kwgxJdR0OS','vHtcKaWraqer','BSolo1tdJhpcMq','lNJdTa','WO3cQmoEBxLcWOldUG','WOJdSw8pWRtcKSooWQ/dImkC','hSksymk9z8o8WRi','lCoMCHz3WRK','WOjOW4ixqCkZ','i3tcMG','W5BdTCkWWQxcMmoIW6xdKa','n8oTyGfGWRNcVJZcKq','WQJcNK4','6iYV5y2wsx3dJCoUj8odz+wMQUI3UU++Oa','yw9G','W5JcOg3dLSo7bczsWRVdRgeZ','W4rZWOSEWONdTGOXgc7cPwjMW5NcKCo9WOG','W6bEsHZdVHhdTglcRWe','W7juwrVdJqRdSNtcLcH3tG','W4hcU3eTWP7cJ8osWRddRCkJWPRcTHJORilMSzdLP4lOTzTu4P+soEAxQowsTEw7UEAuH+AnMa','W611W4y/rsvC','W4tdSCkQWQa','gSk/ybGK','lCkSxqVcKmkyW4RdJbtdQ8kYBhRdHSo8WQZcHmk9WR99W6bfiHv6W4SzW7y','WQJcLeDnq8kO','vYTKdCoqoCo3oa','WPL+W7uhs8kIWQGIWQOoW4tdNW','WPjSW4ihEmk1WQO','WONcOWBcI3NdTWldL0JcQmk+W6dcMNCqva','8lI3KE+6QNZKUlpKU73KU5G','aWNdKmkuW6DxoW','5lUP5AAN6ycZ55+p','amkHFXqIaW','egPYfCommCoHzhmpemkzW5vhv8o+','WOaOW7/cUCkwCGJcIf8','fJ/cHWa','hqb+','FMLGW7lcOSortSkkdNTRwa','W7mNW6y','W7HfW5zJxCktmSockW','W54yWOm','WRbMqKnuDaNcNt0','FMLGW7lcTCogtCkqguvSEsjvWRpcVaO+WOZdUa','Ca7cKHalcqer','xCoLWOK7WRW4ca','W4hdS8kQWQJcI8o5W5JdJCophW','wCoWeW9DimkVW4C','WQlcMevEuSkY','4P20WQRNR4ZLIPVNSBlLNQFVVjhcHh3cGmoqW6FdHhNcMmo+l8kwW7pdGf3dKKD+77+Vea','nSoTCazGWR7cMG','xmoSowVdICkzxW','eCo/WOn0W44kWPZcHh3cUmo5EmoXWR3dMGtcOmkVkSkBWOm','W6vCsHq','WQLyi1BdP8oYWQzt','hXFdJCkIW5LdmG','WO/dU8kaFmkBxsFcIa','kpc2J4G','WOZcQCkfWPtdJwnaia','tK0YngfztMuXkuXXoJNcMM7dVG','W7pcRwazWRNcNmomWQe','W4VcT3hdNCoSoWPf','pN/dHfiNESoeW7e','WOZdU8kjrSkXrddcItqEWPtcUG','vXJcHW4KcWK','W5zQWPW','WQdcKf1l','W5dcU2SpWPlcJ8oOWQa','x8o5BH0IoZiG','WQfrtK1cAq','F2v0W6NcI8ox','W5tdOSkRWQq','WRlcV8oKAe9WWOBdUef6W4hdUCkXsx5dpCoW','tCo/W4BdRwvnFG','dmkHEG','W4VcU3yyWPBcMSoe','W5pdUCk5WQ/cQmoG','WQBcKfPpySkYWQC','WPlcOxBdNSoNzJbeWR7dQgGsWOTKytxcQ8kEWQhcHCkGuf9Ftb7cIG','WPOJW7xcV8k2DcRcJKm','W6zysJJdSsJdQxxcGq','fGddT1JcJ8owBgbRW4lcLGFcU2bAW4ZcNSkREq','dSkQEci5gGGHomkwWRb7imohtblcSLy','rqmIWRZcP8k0WRa4ymoy','vSo0WP7dHmkEWPldRW','W5O6nCouBq3dGCo3BrBcHCoBW4lcSa','gSo9W7XZBSkfACoVgr0/WOzmWRLGWQ1UWQ7dTrW','uLeHherwxq','A8ooiwG','qmoGWRqG','oNtdLe0ZECoe','WRasW7ldNuJcNMCpW6fdWRK','5BEg5AcN5z2e5z+L','5PYO6icY6i6F5y6U55Em5OUa6yUt5P+Q5l6h5OkR77+u','W5qoWPa/WOtdU8onWRf9W6RdOmkElqW','xYzZcmotnmoMmMGo','4P2BtoEVOEwiPUEZNUwEGU+/TmkzWRVdOmoffSoJW5BcOc45teT6W6T2W7ldVe7VVR4S','kmoTBXrXWQu','fWn2bcC','4P27WQhMN7FOGQNMRRtNOlpLPAlNKzXE','W717WRpcMSohq04leIeCW5q','W47cU3JdL8oBldjuWQ3dVNiqWOT0iHlcQ8kuWQRcTW','W7FdTwzVW47dPcu','chnLdCoxeCoyjG','W5pdOmkYWQJcIq','wCoMWOO','wmo0WQKsWRS8aq','qCoUm3ddTCknxmoO','6iYL5y6bWRyohwZcG3y3j13dHCk1BEwMVEI2VE++TW','Cmk8mKa8W7JdNdZcH8kqW7dcH0C','W7uHW5JdLepcVuG','AGNdQ1VdGhRcJ8kuWQBdRG','ttfMfCoqlG','W550WO8CWRxdVbSN','WPzKW4K','W4r/WPOvWQ7dNb8TnsVcRwLCW6xcJa','W7nLW5yVqtfk','rSoPi37dQCky','W7CLW6qTnq','mxddI003','WPJINlPS','bCo7W7W','W6LlW416','eaXTaIn+t8o3EmomWOnP','WQjxm1/dH8oKWQ8','5PEh5O205BY1','8y+/SSk15AYT54MYW4S','nCkzDcZcKc3dJmoUW6uX','WRasW7ldNuJcN2SC','bCkGAW','WQRLUARORBdNPlRPMPNNMjtMTPFLIjZVVPW','qmo9ia5IlmkS','WRDxku4','qCoGW5RdKKzzBCkHE8kjW44','WPJLUQ3ORlJNPRNPMkpNMRFMT7NLIPVVVB4','5O6Q6yoo6ycY556DW57dL8o8','WR1QrG','WOzOW58gsmk1WO81','W5L7WOev','4PYaWPdOHyBMNldOV5BOOAJPGllLIiBKUlNPLkdORyz8','WPdcPCkfWQFdLMa','hSkqBSkJzSo8WR/dUu5EmW','W7S5W7uUmLFcP0a','W7TUW5m','6iYV5y2wswxdUmoAa8oOACoeWO/dQhDT5AsQ6lwz','WO0NW6lcRa','WR3cTCoyBu5tWPS','xeCHm15EtNKwlue','dmo6W60','aSkmFCklwCoOWRS','aW3dLmkb','FM9QW7K','5lUm55kb5B2q5ywOWQhdJgO','6i6s5y6RWQW2kGmjgGdLPRpOTOVVVlu','W5pdUCk5WQ/cR8o1W53dGCoJcmolWRPUW5pcH8kyW7DyW7BcNG','W5a6mSoKyWxdJW','WQJcJ8ouDfjnW5i','W5qXiSo7DWBdJ8oT','W53dLd7cN8kQ','BSoqW63dQKX/rSk3xSkM','W53dIc/cGSkHuMq','kCoPCq','W4v/WP8fWQZdRa','svZcPGVdR8kbtf9lW6FcQs4','fWFdJCk2W5brjxHCb2BdSK9DvSoKnG','W5pdUCk5WQ/cTmo+W5JdKCo0dCoEWPbBW5pcHSkPW60','WOCJW7pcQCkbzrZcLuGwW6qJaLnvmwjpoG','fafV','W5NcS2VdMa','t8oVW4hdMgHlFa','vGNcLHyWgW','WRdcMSk0WOhdP1T6hSkSaW','jCoEnwHwtrTIW5bsW4Wy','tsXGd8oWlq','EMfUW6G','wdNdLLi','W7efhSowrZhdTCooqq4','hGRdOfhcVmohwNTG','W6JcOxRdI8ohkc5e','W5tdNcFcMSkxv2tcTayzW74','WRZdVCkaxmkrwdBdIXiQWPFcUa','W7hdRMfmW5ddSq','W5KpWRatWOddSCoi','cXhdOfxcS8ouy3r3','W7xdO8k7WRpcS8oXW4hdKq','WObAW5eXWQpdNSoNWQHs','WQ9dnhZdVSo3WQq','sbJcHbeKdWK','WPXOW58fwCkV','jgpdTHtcT8kgW6e','6i2l5yYwWRdcLmony0aGWRJLPBZOTyG','W4xcTg0sWRJcImovWOldJCkyWR4','WReEW6BdHNFcNW','W7hdRNffW5FdOsFdNG','vSoIWQK9WQe0eImRC0K','WQfQuq','hSk/W4FcI8oHW4RcIq','kNxdTJVcRCkoW7lcVf7cSa'];_0x19db=function(){return _0x36d9ef;};return _0x19db();}let ActInfoMap=new Map(),cookie='',originCookie='',activityCookie='';function _0x133b(_0x14eae4,_0x1561a4){const _0x19dbf8=_0x19db();return _0x133b=function(_0x133b0a,_0x474a4b){_0x133b0a=_0x133b0a-0x1c6;let _0x22ff5e=_0x19dbf8[_0x133b0a];if(_0x133b['XJVLTk']===undefined){var _0x3bb28e=function(_0x259ac4){const _0x25930d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3b64fe='',_0x42299e='';for(let _0x38eecf=0x0,_0x8ad697,_0x3425a4,_0xf35b0e=0x0;_0x3425a4=_0x259ac4['charAt'](_0xf35b0e++);~_0x3425a4&&(_0x8ad697=_0x38eecf%0x4?_0x8ad697*0x40+_0x3425a4:_0x3425a4,_0x38eecf++%0x4)?_0x3b64fe+=String['fromCharCode'](0xff&_0x8ad697>>(-0x2*_0x38eecf&0x6)):0x0){_0x3425a4=_0x25930d['indexOf'](_0x3425a4);}for(let _0x4c7cc3=0x0,_0x2be6dc=_0x3b64fe['length'];_0x4c7cc3<_0x2be6dc;_0x4c7cc3++){_0x42299e+='%'+('00'+_0x3b64fe['charCodeAt'](_0x4c7cc3)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x42299e);};const _0x22b707=function(_0x5f4b5a,_0x2b5a46){let _0x3f00ca=[],_0x20d94d=0x0,_0x300dc9,_0x5d6d44='';_0x5f4b5a=_0x3bb28e(_0x5f4b5a);let _0xc8876f;for(_0xc8876f=0x0;_0xc8876f<0x100;_0xc8876f++){_0x3f00ca[_0xc8876f]=_0xc8876f;}for(_0xc8876f=0x0;_0xc8876f<0x100;_0xc8876f++){_0x20d94d=(_0x20d94d+_0x3f00ca[_0xc8876f]+_0x2b5a46['charCodeAt'](_0xc8876f%_0x2b5a46['length']))%0x100,_0x300dc9=_0x3f00ca[_0xc8876f],_0x3f00ca[_0xc8876f]=_0x3f00ca[_0x20d94d],_0x3f00ca[_0x20d94d]=_0x300dc9;}_0xc8876f=0x0,_0x20d94d=0x0;for(let _0x456621=0x0;_0x456621<_0x5f4b5a['length'];_0x456621++){_0xc8876f=(_0xc8876f+0x1)%0x100,_0x20d94d=(_0x20d94d+_0x3f00ca[_0xc8876f])%0x100,_0x300dc9=_0x3f00ca[_0xc8876f],_0x3f00ca[_0xc8876f]=_0x3f00ca[_0x20d94d],_0x3f00ca[_0x20d94d]=_0x300dc9,_0x5d6d44+=String['fromCharCode'](_0x5f4b5a['charCodeAt'](_0x456621)^_0x3f00ca[(_0x3f00ca[_0xc8876f]+_0x3f00ca[_0x20d94d])%0x100]);}return _0x5d6d44;};_0x133b['dZRuhw']=_0x22b707,_0x14eae4=arguments,_0x133b['XJVLTk']=!![];}const _0x4bccb2=_0x19dbf8[0x0],_0x17abe6=_0x133b0a+_0x4bccb2,_0x1d8794=_0x14eae4[_0x17abe6];return!_0x1d8794?(_0x133b['VTEDAg']===undefined&&(_0x133b['VTEDAg']=!![]),_0x22ff5e=_0x133b['dZRuhw'](_0x22ff5e,_0x474a4b),_0x14eae4[_0x17abe6]=_0x22ff5e):_0x22ff5e=_0x1d8794,_0x22ff5e;},_0x133b(_0x14eae4,_0x1561a4);}const cookiesArr=Object[_0x177e7e(0x2fa,'GviP')](jdCookie)['map'](_0x22b707=>jdCookie[_0x22b707])[_0x177e7e(0x30a,'rfAA')](_0x259ac4=>_0x259ac4);!cookiesArr[0x0]&&($[_0x177e7e(0x312,'kGlf')]($[_0x177e7e(0x2a8,'*YVN')],'【提示】请先获取Cookie'),process[_0x177e7e(0x34d,'MRy!')](0x1));!(async()=>{const _0x4ddc4c=_0x177e7e;console[_0x4ddc4c(0x3fc,'3335')](_0x4ddc4c(0x29d,'4wEx')+$['name']+'变量开启状态=========='),console[_0x4ddc4c(0x3f4,'S7Ji')](_0x4ddc4c(0x2b6,'GviP')+common[_0x4ddc4c(0x3a7,'HKfz')]()+']'),console[_0x4ddc4c(0x3f4,'S7Ji')](_0x4ddc4c(0x3da,'Yhbw')+lzkj_signInterval+_0x4ddc4c(0x365,'NB(e')),console['log'](_0x4ddc4c(0x330,'$qS)')+cjhy_signInterval+_0x4ddc4c(0x20e,'1yZd')),console['log'](_0x4ddc4c(0x1f2,'$qS)')+lzkjFilter['join'](',\x20')+']'),console[_0x4ddc4c(0x1cc,'kKSB')](_0x4ddc4c(0x3b1,'7NhJ')+cjhyFilter['join'](',\x20')+']'),console[_0x4ddc4c(0x3e6,'GviP')](_0x4ddc4c(0x2a5,'T4(v')+(isNotify?'开启':'关闭')+']'),console[_0x4ddc4c(0x2fc,'7NhJ')](_0x4ddc4c(0x35c,'MRy!')+signFailMaxRetryTimes+']'),console[_0x4ddc4c(0x33a,'oE9L')](_0x4ddc4c(0x420,'rfAA')+$['name']+_0x4ddc4c(0x326,'4wEx'));function _0x25930d(_0x42299e){return[...new Set(_0x42299e['filter'](_0x38eecf=>_0x38eecf!==''))];}function _0x3b64fe(_0x8ad697,_0x3425a4){const _0x2c0995=_0x4ddc4c;return _0x8ad697[_0x2c0995(0x2bf,'q0^r')](_0xf35b0e=>{const _0x5e7ece=_0x2c0995;if(_0xf35b0e[_0x5e7ece(0x254,'HKfz')](':')){const [_0x4c7cc3,_0x2be6dc]=_0xf35b0e[_0x5e7ece(0x348,'Bj9E')](':');return ActInfoMap[_0x5e7ece(0x1e1,'oehf')](_0x4c7cc3,{'venderId':_0x2be6dc,'activityType':_0x3425a4}),_0x4c7cc3;}return _0xf35b0e;});}activityIdList1=_0x3b64fe(_0x25930d(activityIdList1),0x12),activityIdList2=_0x3b64fe(_0x25930d(activityIdList2),0xf),activityIdList3=_0x3b64fe(_0x25930d(activityIdList3),0x12),activityIdList4=_0x3b64fe(_0x25930d(activityIdList4),0xf);try{const _0x5f4b5a=parseInt(signFailMaxRetryTimes);signFailMaxRetryTimes=_0x5f4b5a>0x0?_0x5f4b5a:0x0;}catch{signFailMaxRetryTimes=0x0;}if(activityIdList1['length']<=0x0&&activityIdList2[_0x4ddc4c(0x1de,'dwpb')]<=0x0&&activityIdList3[_0x4ddc4c(0x237,'cGhR')]<=0x0&&activityIdList4[_0x4ddc4c(0x33c,'g[qo')]<=0x0){console['log'](_0x4ddc4c(0x331,'g[qo'));return;}notify[_0x4ddc4c(0x34f,'pSXy')]({'title':$[_0x4ddc4c(0x3aa,'NB(e')]});for(let _0x2b5a46=0x0;_0x2b5a46<cookiesArr['length'];_0x2b5a46++){$[_0x4ddc4c(0x382,'sRFW')]=_0x2b5a46+0x1,cookie=cookiesArr[_0x2b5a46],originCookie=cookiesArr[_0x2b5a46],$[_0x4ddc4c(0x24a,'dwpb')]=decodeURIComponent(common[_0x4ddc4c(0x3f9,'Wh(M')](cookie,'pt_pin')),$['UA']=common['genUA']($[_0x4ddc4c(0x223,'FtO[')]),$[_0x4ddc4c(0x2cd,'Bj9E')]=common[_0x4ddc4c(0x376,'cGhR')]('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'),$['te']=Math['floor'](Math[_0x4ddc4c(0x2fd,'c6W4')]()*0x2328)+0x3e8,$[_0x4ddc4c(0x2b9,'JPQH')]=notify['create']($['index'],$[_0x4ddc4c(0x2d0,'wa#r')]),$[_0x4ddc4c(0x309,'GviP')]='',console[_0x4ddc4c(0x2fc,'7NhJ')](_0x4ddc4c(0x1c6,'Yhbw')+$['index']+'】'+($['nickName']||$['UserName'])+_0x4ddc4c(0x2e2,'kR#8')),await Main();if($['lzkjOutFlag']&&$[_0x4ddc4c(0x2a3,'oE9L')])break;}isNotify&¬ify[_0x4ddc4c(0x28d,'Bj9E')]()&&await notify[_0x4ddc4c(0x2f7,'rfAA')]();})()[_0x177e7e(0x308,'pSXy')](_0x3f00ca=>$[_0x177e7e(0x3b4,'8@y5')](_0x3f00ca))[_0x177e7e(0x307,'TOor')](()=>$[_0x177e7e(0x353,'oehf')]());async function Main(){const _0x2394cf=_0x177e7e;try{$[_0x2394cf(0x24b,'l$kH')]=null,$[_0x2394cf(0x378,'1yZd')]=await getToken(originCookie,_0x2394cf(0x3f1,'pSXy'));if(!$[_0x2394cf(0x32b,'%uxe')]){console[_0x2394cf(0x323,'q0^r')](_0x2394cf(0x22c,'%uxe')),$[_0x2394cf(0x2d9,'dwpb')][_0x2394cf(0x290,'ne2J')](_0x2394cf(0x2dc,'3335'));return;}if(activityIdList1[_0x2394cf(0x237,'cGhR')]>=0x1||activityIdList2['length']>=0x1){if(lzkjFilter['length']>0x0&&(lzkjFilter[_0x2394cf(0x1c9,'2NU)')]($['UserName'])||lzkjFilter[_0x2394cf(0x422,'8@y5')](encodeURIComponent($[_0x2394cf(0x25a,'^XQ3')]))))console[_0x2394cf(0x243,'$qS)')](_0x2394cf(0x392,'NB(e'));else{$['secretPin']=null,$[_0x2394cf(0x246,'$Kf7')]=null,$[_0x2394cf(0x3db,'*YVN')]=_0x2394cf(0x212,'kR#8'),$[_0x2394cf(0x1dc,'g[qo')]=_0x2394cf(0x21f,'rfAA'),$[_0x2394cf(0x211,'g[qo')]=_0x2394cf(0x1cf,'^XQ3'),$['origin']=$[_0x2394cf(0x35e,'JPQH')];try{const _0x20d94d=parseInt(lzkj_signInterval),_0x300dc9=_0x20d94d<0xa&&_0x20d94d>0x0?_0x20d94d*0x3e8:_0x20d94d;$['signIntervalTimes']=_0x300dc9;}catch{$['signIntervalTimes']=parseInt(lzkj_signInterval);}activityIdList2['length']>=0x1&&!$[_0x2394cf(0x209,'GviP')]&&($[_0x2394cf(0x310,'*YVN')]=[],console['log'](_0x2394cf(0x27e,'Bj9E')),await lzkjSign(activityIdList2,'/sign/signActivity2',_0x2394cf(0x3c7,'oehf')),$[_0x2394cf(0x1da,'wgb(')][_0x2394cf(0x215,'rfAA')]>0x0&&(console['log'](_0x2394cf(0x2a4,'pSXy')),$[_0x2394cf(0x3d5,'ne2J')][_0x2394cf(0x30d,'GviP')](_0x5d6d44=>{const _0x403991=_0x2394cf;console[_0x403991(0x343,'*YVN')](_0x5d6d44);}),activityIdList2=activityIdList2[_0x2394cf(0x24e,'cGhR')](_0xc8876f=>!$[_0x2394cf(0x21c,'cGhR')][_0x2394cf(0x3ab,'GviP')](_0xc8876f))),console[_0x2394cf(0x22d,'Zq#S')]('')),$[_0x2394cf(0x288,'l$kH')]&&($[_0x2394cf(0x267,'oE9L')]=![],$[_0x2394cf(0x33b,'vg13')]=!![]),activityIdList1[_0x2394cf(0x3ed,'4wEx')]>=0x1&&!$['lzkjOutFlag']&&($[_0x2394cf(0x32c,'1yZd')]=[],console['log']('❖\x20签到类型(lzkj\x20sevenDay)\x0a'),await lzkjSign(activityIdList1,_0x2394cf(0x350,'Yhbw'),_0x2394cf(0x2e5,'^XQ3')),$[_0x2394cf(0x3a5,'$qS)')][_0x2394cf(0x2da,'ne2J')]>0x0&&(console['log']('\x0a建议移除的活动:'),$['needRemoveActivityIds'][_0x2394cf(0x3bb,'y[2n')](_0x456621=>{const _0x3e1506=_0x2394cf;console[_0x3e1506(0x316,'kGlf')](_0x456621);}),activityIdList1=activityIdList1['filter'](_0x252be2=>!$[_0x2394cf(0x252,'oehf')]['includes'](_0x252be2))),console['log']('')),$['outFlag']&&($[_0x2394cf(0x2d8,'HKfz')]=![],$[_0x2394cf(0x2d1,'7NhJ')]=!![]);}}if(activityIdList3[_0x2394cf(0x1d5,'sRFW')]>=0x1||activityIdList4[_0x2394cf(0x430,'7NhJ')]>=0x1){if(cjhyFilter[_0x2394cf(0x2aa,'3335')]>0x0&&(cjhyFilter[_0x2394cf(0x25c,'TOor')]($[_0x2394cf(0x3c8,'kR#8')])||cjhyFilter['includes'](encodeURIComponent($[_0x2394cf(0x2d6,'@kh@')]))))console[_0x2394cf(0x29f,'^L5p')](_0x2394cf(0x366,'oehf'));else{$[_0x2394cf(0x399,'sRFW')]=null,$[_0x2394cf(0x34c,'T4(v')]=null,$['baseUrl']=_0x2394cf(0x3de,'HKfz'),$[_0x2394cf(0x352,'o&I3')]=_0x2394cf(0x2fb,'u$j@'),$[_0x2394cf(0x30c,'o&I3')]=_0x2394cf(0x404,'TOor'),$['origin']=$[_0x2394cf(0x3a3,'MRy!')];try{const _0xb53514=parseInt(cjhy_signInterval),_0xd3344b=_0xb53514<0xa&&_0xb53514>0x0?_0xb53514*0x3e8:_0xb53514;$[_0x2394cf(0x360,'ne2J')]=_0xd3344b;}catch{$['signIntervalTimes']=parseInt(cjhy_signInterval);}activityIdList4[_0x2394cf(0x215,'rfAA')]>=0x1&&!$[_0x2394cf(0x2dd,'^XQ3')]&&($[_0x2394cf(0x3d5,'ne2J')]=[],console[_0x2394cf(0x1ff,'dwpb')](_0x2394cf(0x24f,'oE9L')),await cjhySign(activityIdList4,_0x2394cf(0x214,'FtO['),_0x2394cf(0x2cb,'c6W4')),$['needRemoveActivityIds']['length']>0x0&&(console[_0x2394cf(0x41e,'MRy!')](_0x2394cf(0x1f4,'wOJ6')),$[_0x2394cf(0x311,'oE9L')][_0x2394cf(0x221,'4wEx')](_0x3e69f6=>{const _0x1de808=_0x2394cf;console[_0x1de808(0x2a6,'SBTV')](_0x3e69f6);}),activityIdList4=activityIdList4['filter'](_0x37dc0f=>!$['needRemoveActivityIds'][_0x2394cf(0x2df,'%uxe')](_0x37dc0f))),console[_0x2394cf(0x22d,'Zq#S')]('')),$[_0x2394cf(0x33f,'Yhbw')]&&($[_0x2394cf(0x2db,'wOJ6')]=![],$[_0x2394cf(0x30f,'FtO[')]=!![]),activityIdList3[_0x2394cf(0x27f,'q0^r')]>=0x1&&!$[_0x2394cf(0x3eb,'wOJ6')]&&($[_0x2394cf(0x349,'q0^r')]=[],console[_0x2394cf(0x33a,'oE9L')](_0x2394cf(0x34a,'y[2n')),await cjhySign(activityIdList3,_0x2394cf(0x26c,'wa#r'),_0x2394cf(0x375,'c6W4')),$[_0x2394cf(0x216,'o&I3')][_0x2394cf(0x393,'vg13')]>0x0&&(console[_0x2394cf(0x343,'*YVN')](_0x2394cf(0x2a0,'@kh@')),$[_0x2394cf(0x410,'g[qo')]['forEach'](_0xfb9b7d=>{const _0x35c0d4=_0x2394cf;console[_0x35c0d4(0x1d4,'8@Gy')](_0xfb9b7d);}),activityIdList3=activityIdList3[_0x2394cf(0x3b8,'g[qo')](_0x2fa704=>!$[_0x2394cf(0x1d1,'JPQH')]['includes'](_0x2fa704)))),$['outFlag']&&($[_0x2394cf(0x2db,'wOJ6')]=![],$['cjhyOutFlag']=!![]);}}}catch(_0x218099){console[_0x2394cf(0x3e6,'GviP')](_0x2394cf(0x2a9,'u$j@')+_0x218099);}}async function lzkjSign(_0x518c98,_0x42415e,_0x49346a){const _0x4e291a=_0x177e7e;activityCookie='',$['LZ_AES_PIN']='';let _0x4991fd=0x0;_0x592b9f:for(let _0x5c41d5=0x0;_0x5c41d5<_0x518c98['length'];_0x5c41d5++){$['activityId']=_0x518c98[_0x5c41d5],$[_0x4e291a(0x337,'kGlf')]=''+$[_0x4e291a(0x32f,'sRFW')]+_0x42415e+'?activityId='+$['activityId'];if(_0x5c41d5===0x0){await getFirstLZCK($['activityUrl']);if($['skipRun']){$[_0x4e291a(0x342,'oE9L')]=![];return;}await $[_0x4e291a(0x242,'kGlf')]($['signIntervalTimes']);if(!$['secretPin']){const _0x49fcd7=ActInfoMap[_0x4e291a(0x391,'1yZd')]($[_0x4e291a(0x230,'rfAA')]);if(!_0x49fcd7){$[_0x4e291a(0x2fe,'oehf')]=null,await sendRequest('getSimpleActInfoVo'),await $['wait']($[_0x4e291a(0x2e6,'^L5p')]);if($[_0x4e291a(0x255,'kKSB')])break _0x592b9f;}else $[_0x4e291a(0x31b,'u$j@')]=_0x49fcd7[_0x4e291a(0x2a7,'ne2J')],$[_0x4e291a(0x41f,'wa#r')]=_0x49fcd7[_0x4e291a(0x418,'^L5p')];await sendRequest('getMyPing');if(!$[_0x4e291a(0x416,'Wh(M')]){console[_0x4e291a(0x297,'sRFW')](_0x4e291a(0x27b,'T4(v')),$[_0x4e291a(0x2b9,'JPQH')][_0x4e291a(0x293,'GviP')](_0x4e291a(0x3cc,'wOJ6'));break;}await $[_0x4e291a(0x2a2,'HKfz')]($[_0x4e291a(0x1e6,'1yZd')]);}}_0x4991fd+=0x1;if(_0x4991fd>=0x3){_0x4991fd=0x0,await getFirstLZCK($[_0x4e291a(0x2b1,'NB(e')]);if($[_0x4e291a(0x23d,'kKSB')]){$['skipRun']=![];return;}await $[_0x4e291a(0x385,'pSXy')]($[_0x4e291a(0x364,'FtO[')]);}$[_0x4e291a(0x2f3,'Wh(M')]=0x0,$['signRequestForbbiden']=![],$['signStop']=![],$['signSuccess']=![];for(let _0x3c77ee=0x1;_0x3c77ee<=signFailMaxRetryTimes+0x1;_0x3c77ee++){$['signErrorMsg']='',await sendRequest(_0x49346a);_0x5c41d5!==_0x518c98[_0x4e291a(0x34e,'MRy!')]-0x1&&$[_0x4e291a(0x40b,'sRFW')]&&await $['wait']($[_0x4e291a(0x39a,'JPQH')]);if($[_0x4e291a(0x279,'o&I3')])break;if($[_0x4e291a(0x2b8,'@kh@')]>0x0&&$['signRequestFailTimes']<maxForbiddenRetryTimes){_0x3c77ee-=0x1;continue;}if($[_0x4e291a(0x20f,'^XQ3')]||_0x3c77ee>=signFailMaxRetryTimes+0x1){console[_0x4e291a(0x383,'FtO[')]($[_0x4e291a(0x27d,'c6W4')]+_0x4e291a(0x296,'7NhJ')+($['signErrorMsg']||_0x4e291a(0x2f1,'$Kf7')));$[_0x4e291a(0x29e,'o&I3')]&&!$['signErrorMsg']&&$[_0x4e291a(0x3ac,'wOJ6')]['push']($['activityId']);break;}if($[_0x4e291a(0x249,'Zq#S')]){if(forbiddenQuit){$[_0x4e291a(0x288,'l$kH')]=!![];break _0x592b9f;}}}}}async function cjhySign(_0x379c67,_0x51bf99,_0x26675d){const _0x1a9305=_0x177e7e;activityCookie='',$[_0x1a9305(0x2bd,'oE9L')]='',$[_0x1a9305(0x41c,'g[qo')]='',$['te']=Math[_0x1a9305(0x31a,'u$j@')](Math['random']()*0x2328)+0x3e8;let _0x5ac2e5=0x0;_0x33443e:for(let _0x1bb5dd=0x0;_0x1bb5dd<_0x379c67[_0x1a9305(0x3bc,'c6W4')];_0x1bb5dd++){$[_0x1a9305(0x414,'q0^r')]=_0x379c67[_0x1bb5dd],$[_0x1a9305(0x368,'^XQ3')]=''+$[_0x1a9305(0x272,'kR#8')]+_0x51bf99+_0x1a9305(0x219,'Yhbw')+$['activityId'];if(_0x1bb5dd===0x0){await getFirstLZCK($['activityUrl']);if($[_0x1a9305(0x3ef,'kR#8')]){$['skipRun']=![];return;}await $[_0x1a9305(0x298,'$Kf7')]($[_0x1a9305(0x1ee,'wgb(')]);}const _0xe9df8c=ActInfoMap[_0x1a9305(0x2f4,'4wEx')]($[_0x1a9305(0x40e,'o&I3')]);if(!_0xe9df8c){$[_0x1a9305(0x36e,'2NU)')]=null,await sendRequest(_0x1a9305(0x3ba,'kKSB')),await $[_0x1a9305(0x1f8,'@kh@')]($[_0x1a9305(0x259,'NB(e')]);if($['outFlag'])break _0x33443e;}else $[_0x1a9305(0x229,'@kh@')]=_0xe9df8c[_0x1a9305(0x321,'o&I3')],$['activityType']=_0xe9df8c['activityType'];_0x5ac2e5+=0x1;if(_0x5ac2e5>=0x3){_0x5ac2e5=0x0,await getFirstLZCK($['activityUrl']);if($[_0x1a9305(0x3d7,'vg13')]){$[_0x1a9305(0x346,'FtO[')]=![];return;}await $['wait']($['signIntervalTimes']);}$['initError']=![],$[_0x1a9305(0x2d4,'wgb(')]=await getToken(originCookie,$[_0x1a9305(0x26b,'cGhR')]);if(!$[_0x1a9305(0x32b,'%uxe')]){console[_0x1a9305(0x29f,'^L5p')](_0x1a9305(0x2b7,'dwpb')),$[_0x1a9305(0x371,'ne2J')][_0x1a9305(0x218,'SBTV')]('获取[Token]失败');break;}$['pinToken']='',$[_0x1a9305(0x384,'$qS)')]='',$['te']=Math[_0x1a9305(0x280,'$qS)')](Math[_0x1a9305(0x3e0,'wOJ6')]()*0x2328)+0x3e8,activityCookie=common['filterCookieByFields'](activityCookie,[_0x1a9305(0x329,'2NU)'),'LZ_TOKEN_KEY',_0x1a9305(0x401,'vg13')])+';',await sendRequest('initPinToken');if($[_0x1a9305(0x2b3,'S7Ji')])break _0x33443e;if($[_0x1a9305(0x417,'%uxe')]&&$[_0x1a9305(0x2a1,'Yhbw')]){$['initError']=![],await $[_0x1a9305(0x277,'l$kH')]($[_0x1a9305(0x341,'HKfz')]),await sendRequest(_0x1a9305(0x1ea,'^L5p'));if($[_0x1a9305(0x302,'g[qo')]){if($[_0x1a9305(0x3e2,'u$j@')]){$[_0x1a9305(0x429,'pSXy')]=![],$['needRemoveActivityIds'][_0x1a9305(0x306,'vg13')]($['activityId']);continue;}console[_0x1a9305(0x22b,'cGhR')](_0x1a9305(0x400,'ne2J')),$['message'][_0x1a9305(0x2d3,'%uxe')]('未能获取用户鉴权信息');break;}}if(!$[_0x1a9305(0x22a,'q0^r')]){console[_0x1a9305(0x1e9,'wgb(')](_0x1a9305(0x354,'kKSB')),$[_0x1a9305(0x33d,'kGlf')][_0x1a9305(0x2ee,'rfAA')](_0x1a9305(0x1f0,'S7Ji'));break;}await $[_0x1a9305(0x1f8,'@kh@')]($['signIntervalTimes']),await sendRequest(_0x1a9305(0x419,'c6W4')),await $[_0x1a9305(0x334,'8@y5')]($['signIntervalTimes']);if($['outFlag'])break _0x33443e;$[_0x1a9305(0x283,'wa#r')]=0x0,$[_0x1a9305(0x402,'*YVN')]=![],$[_0x1a9305(0x423,'$Kf7')]=![],$['signSuccess']=![],$[_0x1a9305(0x1ec,'NB(e')]=null;for(let _0x4345da=0x1;_0x4345da<=signFailMaxRetryTimes+0x1;_0x4345da++){$['signErrorMsg']='',await sendRequest(_0x26675d);_0x1bb5dd!==_0x379c67[_0x1a9305(0x2e4,'oehf')]-0x1&&$[_0x1a9305(0x2ab,'S7Ji')]&&await $[_0x1a9305(0x3d1,'wa#r')]($[_0x1a9305(0x2c3,'@kh@')]);if($[_0x1a9305(0x303,'q0^r')]){$[_0x1a9305(0x26f,'Wh(M')]=![],await getFirstLZCK($[_0x1a9305(0x3ec,'%uxe')]);if($[_0x1a9305(0x1fb,'u$j@')]){$[_0x1a9305(0x3f8,'oehf')]=![];return;}await $['wait']($[_0x1a9305(0x22f,'*YVN')]),await sendRequest(_0x1a9305(0x3d6,'8@y5')),await $[_0x1a9305(0x2cc,'Zq#S')]($[_0x1a9305(0x35d,'$Kf7')]);}if($[_0x1a9305(0x2e9,'2NU)')]>0x0&&$['signRequestFailTimes']<maxForbiddenRetryTimes){_0x4345da-=0x1;continue;}if($[_0x1a9305(0x42b,'rfAA')])break;if($['signStop']||_0x4345da>=signFailMaxRetryTimes+0x1){console[_0x1a9305(0x3fc,'3335')]($[_0x1a9305(0x271,'8@Gy')]+_0x1a9305(0x390,'T4(v')+$[_0x1a9305(0x24d,'Yhbw')]+'\x20'+($[_0x1a9305(0x40a,'SBTV')]||'未知状态'));$[_0x1a9305(0x3e3,'kR#8')]&&!$[_0x1a9305(0x3f2,'c6W4')]&&$[_0x1a9305(0x380,'^L5p')][_0x1a9305(0x3e5,'c6W4')]($[_0x1a9305(0x230,'rfAA')]);break;}if($[_0x1a9305(0x3d4,'ne2J')]){if(forbiddenQuit){$['outFlag']=!![];break _0x33443e;}}}}}async function handleResponse(_0x4c06d0,_0x31a995){const _0x56b9ad=_0x177e7e;try{switch(_0x4c06d0){case _0x56b9ad(0x270,'^L5p'):if(_0x31a995[_0x56b9ad(0x264,'Zq#S')]===!![]&&_0x31a995[_0x56b9ad(0x33e,'Zq#S')])$[_0x56b9ad(0x347,'8@Gy')]=_0x31a995[_0x56b9ad(0x317,'8@Gy')]?.[_0x56b9ad(0x1ed,'8@y5')],$['activityType']=_0x31a995['data']?.[_0x56b9ad(0x3d8,'FtO[')],ActInfoMap[_0x56b9ad(0x20c,'cGhR')]($[_0x56b9ad(0x3bf,'Wh(M')],{'venderId':$[_0x56b9ad(0x261,'^XQ3')],'activityType':$['activityType']});else _0x31a995[_0x56b9ad(0x22e,'wa#r')]?console['log'](_0x4c06d0+'\x20'+_0x31a995[_0x56b9ad(0x1db,'u$j@')]):console[_0x56b9ad(0x29f,'^L5p')]('❓'+_0x4c06d0+'\x20'+JSON['stringify'](_0x31a995));break;case _0x56b9ad(0x35a,'ne2J'):if(_0x31a995[_0x56b9ad(0x2c0,'*YVN')]===!![]&&_0x31a995[_0x56b9ad(0x253,'rfAA')])$['secretPin']=_0x31a995[_0x56b9ad(0x413,'7NhJ')]?.[_0x56b9ad(0x3b2,'4wEx')],$[_0x56b9ad(0x1f5,'sRFW')]=$['secretPin'],$[_0x56b9ad(0x1d0,'oehf')]=_0x31a995[_0x56b9ad(0x3ee,'T4(v')]?.[_0x56b9ad(0x289,'GviP')];else _0x31a995[_0x56b9ad(0x3cf,'HKfz')]?(console[_0x56b9ad(0x1d4,'8@Gy')](_0x4c06d0+'\x20'+_0x31a995['errorMessage']),$[_0x56b9ad(0x319,'sRFW')][_0x56b9ad(0x3a4,'8@Gy')](_0x31a995[_0x56b9ad(0x210,'GviP')])):console[_0x56b9ad(0x29f,'^L5p')]('❓'+_0x4c06d0+'\x20'+JSON[_0x56b9ad(0x2d5,'Wh(M')](_0x31a995));break;case _0x56b9ad(0x394,'%uxe'):if(_0x31a995[_0x56b9ad(0x227,'ne2J')]===!![]&&_0x31a995[_0x56b9ad(0x2c6,'wa#r')])$['secretPin']=_0x31a995[_0x56b9ad(0x33e,'Zq#S')]?.[_0x56b9ad(0x20b,'cGhR')],$[_0x56b9ad(0x31e,'TOor')]=encodeURIComponent($[_0x56b9ad(0x399,'sRFW')]),$['nickname']=_0x31a995[_0x56b9ad(0x361,'Yhbw')]?.[_0x56b9ad(0x3e7,'oE9L')];else _0x31a995['errorMessage']?($[_0x56b9ad(0x241,'1yZd')]=!![],[_0x56b9ad(0x3a0,'kKSB')][_0x56b9ad(0x1d8,'oehf')](_0xce0616=>_0x31a995[_0x56b9ad(0x3cf,'HKfz')]['includes'](_0xce0616))&&($[_0x56b9ad(0x3f7,'y[2n')]=!![]),console[_0x56b9ad(0x383,'FtO[')](_0x4c06d0+'\x20'+_0x31a995[_0x56b9ad(0x1db,'u$j@')]),$['message'][_0x56b9ad(0x426,'S7Ji')](_0x31a995[_0x56b9ad(0x210,'GviP')])):console[_0x56b9ad(0x243,'$qS)')]('❓'+_0x4c06d0+'\x20'+JSON['stringify'](_0x31a995));break;case _0x56b9ad(0x3ff,'8@Gy'):if(_0x31a995[_0x56b9ad(0x2de,'o&I3')]===!![]&&_0x31a995[_0x56b9ad(0x3df,'$qS)')])$[_0x56b9ad(0x415,'HKfz')]=_0x31a995[_0x56b9ad(0x2c6,'wa#r')]?.['venderId'],$['activityType']=_0x31a995[_0x56b9ad(0x33e,'Zq#S')]?.['activityType'],ActInfoMap[_0x56b9ad(0x396,'sRFW')]($['activityId'],{'venderId':$[_0x56b9ad(0x386,'JPQH')],'activityType':$[_0x56b9ad(0x304,'dwpb')]});else _0x31a995[_0x56b9ad(0x3e9,'wOJ6')]?console[_0x56b9ad(0x3ea,'c6W4')](_0x4c06d0+'\x20'+_0x31a995[_0x56b9ad(0x206,'g[qo')]):console[_0x56b9ad(0x42d,'l$kH')]('❓'+_0x4c06d0+'\x20'+JSON[_0x56b9ad(0x324,'vg13')](_0x31a995));break;case'signUp':case _0x56b9ad(0x42e,'TOor'):$[_0x56b9ad(0x427,'JPQH')]=0x0;if(!_0x31a995[_0x56b9ad(0x30e,'oE9L')]&&typeof _0x31a995[_0x56b9ad(0x38e,'Wh(M')]==='boolean'){$['signErrorMsg']=_0x31a995[_0x56b9ad(0x36d,'dwpb')];_0x31a995['msg']?(!['火爆','擦肩','缓存',_0x56b9ad(0x29b,'*YVN'),_0x56b9ad(0x412,'y[2n')][_0x56b9ad(0x217,'wOJ6')](_0x512a9e=>_0x31a995[_0x56b9ad(0x287,'kR#8')][_0x56b9ad(0x1f6,'NB(e')](_0x512a9e))&&($['signStop']=!![]),['结束',_0x56b9ad(0x38b,'FtO['),'不在']['some'](_0x293ecd=>_0x31a995[_0x56b9ad(0x37a,'@kh@')][_0x56b9ad(0x254,'HKfz')](_0x293ecd))&&$[_0x56b9ad(0x1eb,'@kh@')][_0x56b9ad(0x32a,'g[qo')]($[_0x56b9ad(0x40e,'o&I3')]),['会员'][_0x56b9ad(0x2b4,'kKSB')](_0x50d17c=>_0x31a995[_0x56b9ad(0x381,'pSXy')][_0x56b9ad(0x3c6,'^L5p')](_0x50d17c))&&($[_0x56b9ad(0x231,'rfAA')]='需要入会'),[_0x56b9ad(0x411,'$Kf7')][_0x56b9ad(0x2b5,'Zq#S')](_0xa727ca=>_0x31a995[_0x56b9ad(0x247,'wgb(')]['includes'](_0xa727ca))&&($[_0x56b9ad(0x25d,'y[2n')]='今日已签'),['7天'][_0x56b9ad(0x1f3,'oE9L')](_0x163b76=>_0x31a995[_0x56b9ad(0x208,'$Kf7')]['includes'](_0x163b76))&&($[_0x56b9ad(0x244,'Zq#S')]=_0x56b9ad(0x3fd,'HKfz'))):$['signStop']=!![];return;}$['signSuccess']=!![];const _0x434f6c=_0x4c06d0==='sevenDay_signUp'?_0x31a995?.['signResult']?.[_0x56b9ad(0x3ae,'^XQ3')]:_0x31a995?.[_0x56b9ad(0x377,'3335')];if(_0x434f6c){const _0xfd11d6=_0x434f6c['insufficient'];let _0x576519='';process[_0x56b9ad(0x3b5,'%uxe')]['write']($['activityId']+_0x56b9ad(0x390,'T4(v')+$[_0x56b9ad(0x3fb,'rfAA')]+'\x20');switch(parseInt(_0x434f6c[_0x56b9ad(0x2f9,'Yhbw')])){case 0x6:_0x576519=_0x56b9ad(0x1cd,'pSXy')+_0x434f6c['giftName']+'\x20🐶',$['message'][_0x56b9ad(0x325,'MRy!')](_0x434f6c[_0x56b9ad(0x37d,'S7Ji')]+'🐶');break;case 0x7:const _0x2ced91=_0x31a995['addressId'];let _0x3ef627=_0x434f6c[_0x56b9ad(0x389,'JPQH')];_0x576519=_0x56b9ad(0x29c,'o&I3')+_0x3ef627+_0x56b9ad(0x3a2,'MRy!')+_0x434f6c[_0x56b9ad(0x2ea,'Zq#S')]+_0x56b9ad(0x1d2,'cGhR')+(_0x434f6c[_0x56b9ad(0x38f,'$qS)')]?',预览图片\x20'+_0x434f6c[_0x56b9ad(0x395,'wa#r')]:'');if(!_0x2ced91)break;const _0x38b03e={'baseUrl':$[_0x56b9ad(0x23a,'ne2J')],'cookie':activityCookie,'ua':$['UA'],'activityId':$['activityId'],'activityType':$[_0x56b9ad(0x21e,'cGhR')],'venderId':$[_0x56b9ad(0x3b6,'rfAA')],'secretPin':$[_0x56b9ad(0x26d,'1yZd')],'prizeName':_0x3ef627,'generateId':_0x2ced91,'activityUrl':$[_0x56b9ad(0x36c,'JPQH')]},_0x27bfe5=wuxian_savePrize(_0x38b03e)||![];!isNotify&&_0x27bfe5&&await notify[_0x56b9ad(0x406,'o&I3')]($[_0x56b9ad(0x1fc,'^XQ3')]+'中奖通知',_0x56b9ad(0x1d6,'S7Ji')+$['index']+'】'+$[_0x56b9ad(0x3c1,'ne2J')]+'\x0a抽中实物\x20'+_0x3ef627+',已成功自动登记收货地址\x0a\x0a'+$[_0x56b9ad(0x2e0,'l$kH')]);$[_0x56b9ad(0x20d,'S7Ji')][_0x56b9ad(0x3fa,'sRFW')](_0x3ef627+'('+(_0x27bfe5?_0x56b9ad(0x27a,'2NU)'):'未填地址')+_0x56b9ad(0x370,'8@y5'));break;case 0x8:_0x576519=_0x56b9ad(0x23c,'vg13'),$['message'][_0x56b9ad(0x23f,'^L5p')]('专享价🗑️');break;case 0x9:_0x576519=_0x56b9ad(0x397,'7NhJ')+_0x434f6c[_0x56b9ad(0x3fe,'o&I3')]+_0x56b9ad(0x1cb,'2NU)'),$[_0x56b9ad(0x2c7,'oE9L')][_0x56b9ad(0x34b,'ne2J')](_0x434f6c[_0x56b9ad(0x359,'g[qo')]+'🎟️');break;case 0xd:case 0xe:case 0xf:_0x576519=_0x56b9ad(0x328,'^L5p')+_0x434f6c[_0x56b9ad(0x21b,'ne2J')]+_0x56b9ad(0x257,'4wEx'),$['message']['insert'](_0x434f6c[_0x56b9ad(0x1ca,'8@y5')]+'🎁');!isNotify&&await notify[_0x56b9ad(0x424,'8@y5')]($[_0x56b9ad(0x40c,'o&I3')]+_0x56b9ad(0x23e,'cGhR'),_0x56b9ad(0x38c,'wgb(')+$[_0x56b9ad(0x3bd,'*YVN')]+'】'+$[_0x56b9ad(0x3b3,'l$kH')]+_0x56b9ad(0x2eb,'*YVN')+_0x434f6c['giftName']+'\x0a\x0a'+$['activityUrl']);break;case 0x10:_0x576519='🎉\x20'+_0x434f6c[_0x56b9ad(0x2ea,'Zq#S')]+_0x56b9ad(0x2f0,'kR#8'),$[_0x56b9ad(0x292,'vg13')][_0x56b9ad(0x3a1,'*YVN')](_0x434f6c[_0x56b9ad(0x322,'oE9L')]+'红包🧧');break;default:_0x434f6c[_0x56b9ad(0x2ff,'*YVN')][_0x56b9ad(0x2bb,'JPQH')]('券')?(_0x576519=_0x56b9ad(0x37e,'$Kf7'),$[_0x56b9ad(0x35f,'oehf')][_0x56b9ad(0x226,'q0^r')]('优惠券🗑️')):(console[_0x56b9ad(0x3fc,'3335')](_0x434f6c['giftName']),$[_0x56b9ad(0x269,'^XQ3')][_0x56b9ad(0x3b0,'wgb(')](_0x434f6c[_0x56b9ad(0x30b,'cGhR')]));break;}_0xfd11d6&&(_0x576519+='(可能未到账)',$[_0x56b9ad(0x278,'TOor')][_0x56b9ad(0x207,'vg13')][_0x56b9ad(0x2e1,'SBTV')]()),console['log'](_0x576519);}else console[_0x56b9ad(0x338,'@kh@')]($[_0x56b9ad(0x357,'oehf')]+_0x56b9ad(0x42a,'SBTV')+$[_0x56b9ad(0x37f,'%uxe')]+_0x56b9ad(0x2f8,'pSXy'));}}catch(_0xef93a0){console[_0x56b9ad(0x316,'kGlf')](_0x56b9ad(0x281,'l$kH')+_0x4c06d0+'\x20请求响应\x20'+(_0xef93a0['message']||_0xef93a0));}}async function sendRequest(_0x14ff81){const _0x5c5290=_0x177e7e;if($[_0x5c5290(0x201,'wa#r')])return;let _0xb4009e=$[_0x5c5290(0x29a,'HKfz')],_0x49f1ac=null,_0x54a5db=null,_0x134c61=null,_0x35334c=_0x5c5290(0x3c4,'Bj9E');switch(_0x14ff81){case _0x5c5290(0x3c5,'oehf'):_0xb4009e+=_0x5c5290(0x236,'T4(v'),_0x49f1ac={'activityId':$[_0x5c5290(0x3f3,'wa#r')]};break;case _0x5c5290(0x336,'GviP'):_0xb4009e+='/customer/getMyPing',_0x49f1ac={'token':$[_0x5c5290(0x2ef,'*YVN')],'fromType':_0x5c5290(0x405,'Bj9E'),'userId':$[_0x5c5290(0x25b,'wa#r')]};break;case _0x5c5290(0x2ca,'u$j@'):_0x35334c=_0x5c5290(0x3d0,'7NhJ'),_0xb4009e+='/customer/initPinToken',_0x134c61={'status':'1','activityId':$[_0x5c5290(0x24c,'@kh@')],'jdToken':$[_0x5c5290(0x3f0,'TOor')],'source':'01','venderId':$[_0x5c5290(0x3f5,'kR#8')],'uuid':$[_0x5c5290(0x3ad,'dwpb')],'clientTime':Date[_0x5c5290(0x1df,'8@Gy')]()};break;case'accessLog':_0xb4009e+=_0x5c5290(0x301,'kKSB'),_0x49f1ac={'venderId':$[_0x5c5290(0x40f,'NB(e')],'code':$[_0x5c5290(0x299,'$qS)')],'pin':$[_0x5c5290(0x320,'wOJ6')],'activityId':$[_0x5c5290(0x39b,'dwpb')],'pageUrl':$[_0x5c5290(0x36c,'JPQH')],'subType':_0x5c5290(0x25f,'*YVN'),'adSource':''};break;case _0x5c5290(0x39d,'sRFW'):_0xb4009e+=_0x5c5290(0x32d,'wgb('),_0x49f1ac={'venderId':$['venderId'],'code':$['activityType'],'pin':$[_0x5c5290(0x320,'wOJ6')],'activityId':$[_0x5c5290(0x1f9,'$Kf7')],'pageUrl':$[_0x5c5290(0x41b,'u$j@')],'subType':_0x5c5290(0x245,'pSXy')};break;case _0x5c5290(0x26a,'@kh@'):_0xb4009e+=_0x5c5290(0x21a,'^XQ3'),_0x49f1ac={'actId':$['activityId'],'pin':$['formatPin']};break;case _0x5c5290(0x387,'l$kH'):_0xb4009e+='/sign/sevenDay/wx/signUp',_0x49f1ac={'actId':$[_0x5c5290(0x2e3,'wOJ6')],'pin':$[_0x5c5290(0x2cf,'Wh(M')]};break;default:console['log']('❌\x20未知请求\x20'+_0x14ff81);return;}const _0x3bf2b9=$[_0x5c5290(0x282,'8@y5')]===_0x5c5290(0x276,'4wEx')&&wuxianDefense[_0x5c5290(0x239,'ne2J')](_0xb4009e[_0x5c5290(0x25e,'dwpb')]($['baseUrl'],'')['split']('?')[0x0]);_0x3bf2b9&&(_0x49f1ac?.[_0x5c5290(0x398,'l$kH')]&&(_0x49f1ac[_0x5c5290(0x3a9,'c6W4')]=encodeURIComponent($[_0x5c5290(0x202,'Yhbw')])),_0x54a5db={'ecyText':wuxianDefense[_0x5c5290(0x2be,'7NhJ')]({'actId':$['activityId'],..._0x49f1ac},$['pinToken'],$['te'])});const _0x4edc3e={'url':_0xb4009e,'method':_0x35334c,'headers':{'Accept':'application/json','Accept-Encoding':_0x5c5290(0x1c7,'Zq#S'),'Accept-Language':_0x5c5290(0x3c2,'ne2J'),'Connection':_0x5c5290(0x1fd,'wa#r'),'Content-Type':_0x3bf2b9?'application/json':_0x5c5290(0x3b7,'T4(v'),'Cookie':activityCookie[_0x5c5290(0x1c8,'kGlf')](),'Origin':$['origin'],'Referer':$['activityUrl'],'Sec-Fetch-Dest':_0x5c5290(0x200,'oE9L'),'Sec-Fetch-Mode':_0x5c5290(0x1e3,'kKSB'),'Sec-Fetch-Site':'same-origin','User-Agent':$['UA'],'X-Requested-With':_0x5c5290(0x408,'$qS)')},'params':_0x134c61,'data':_0x3bf2b9?_0x54a5db:_0x49f1ac,'timeout':0x7530};_0x35334c===_0x5c5290(0x313,'MRy!')&&(delete _0x4edc3e[_0x5c5290(0x234,'@kh@')],delete _0x4edc3e['headers'][_0x5c5290(0x2d2,'y[2n')]);const _0x412086=[_0x5c5290(0x36b,'SBTV'),_0x5c5290(0x379,'8@Gy')][_0x5c5290(0x2ac,'pSXy')](_0x14ff81)?0x1:0x3;let _0x5eb0e2=0x0,_0x3f19a9=null,_0x3bc902=![];while(_0x5eb0e2<_0x412086){[_0x5c5290(0x3c0,'l$kH'),_0x5c5290(0x3ca,'4wEx')][_0x5c5290(0x1f6,'NB(e')](_0x14ff81)&&($[_0x5c5290(0x220,'dwpb')]=common['formatTime'](_0x5c5290(0x327,'GviP')));_0x5eb0e2>0x0&&await $[_0x5c5290(0x42f,'8@Gy')](0x3e8);const _0xc01c6f=await common[_0x5c5290(0x36f,'7NhJ')](_0x4edc3e);if(!_0xc01c6f[_0x5c5290(0x203,'l$kH')]){![_0x5c5290(0x3a8,'y[2n'),_0x5c5290(0x38d,'u$j@')]['includes'](_0x14ff81)?_0x3f19a9=_0x14ff81+_0x5c5290(0x373,'NB(e')+_0xc01c6f[_0x5c5290(0x1e5,'TOor')]:_0x3f19a9=$[_0x5c5290(0x3ce,'GviP')]+'\x20➜\x20'+_0xc01c6f[_0x5c5290(0x2bc,'7NhJ')];_0x5eb0e2++;if(_0xc01c6f['status']){if(_0xc01c6f['status']===0x1f4&&_0x3bf2b9)_0x4edc3e[_0x5c5290(0x2f6,'$Kf7')]={'ecyText':wuxianDefense[_0x5c5290(0x2b0,'FtO[')]({'actId':$[_0x5c5290(0x3ce,'GviP')],..._0x49f1ac},$[_0x5c5290(0x351,'pSXy')],$['te'])};else[0x193,0x1ed]['includes'](_0xc01c6f[_0x5c5290(0x28e,'c6W4')])&&([_0x5c5290(0x3e8,'$Kf7'),'sevenDay_signUp'][_0x5c5290(0x28f,'*YVN')](_0x14ff81)?$['signRequestForbbiden']=!![]:_0x3bc902=!![]);}$[_0x5c5290(0x274,'sRFW')]&&($[_0x5c5290(0x315,'cGhR')]+=0x1);continue;}if(['accessLog',_0x5c5290(0x31c,'HKfz')][_0x5c5290(0x356,'T4(v')](_0x14ff81))break;if(!_0xc01c6f[_0x5c5290(0x2af,'1yZd')]){!['signUp',_0x5c5290(0x1ef,'vg13')]['includes'](_0x14ff81)?(_0x3f19a9=_0x14ff81+_0x5c5290(0x1d7,'HKfz'),$[_0x5c5290(0x2c4,'1yZd')]=!![]):_0x3f19a9=$[_0x5c5290(0x271,'8@Gy')]+_0x5c5290(0x363,'T4(v');_0x5eb0e2++;_0x3bf2b9&&_0x5eb0e2<_0x412086-0x1&&(_0x4edc3e[_0x5c5290(0x260,'cGhR')]={'ecyText':wuxianDefense['encrypt']({'actId':$[_0x5c5290(0x1d3,'TOor')],..._0x49f1ac},$['pinToken'],$['te'])});continue;}const _0x41b632=common[_0x5c5290(0x3d2,'wa#r')](_0xc01c6f,activityCookie);let _0x139c23='';switch(_0x14ff81){case _0x5c5290(0x213,'cGhR'):_0x139c23=common[_0x5c5290(0x3cd,'%uxe')](_0x41b632,_0x5c5290(0x3cb,'T4(v'));_0x139c23?$[_0x5c5290(0x369,'q0^r')]=_0x139c23:(console[_0x5c5290(0x31d,'4wEx')]('获取\x20LZ_AES_PIN\x20失败!'),$[_0x5c5290(0x20d,'S7Ji')]['fix'](_0x5c5290(0x2ae,'%uxe')),$[_0x5c5290(0x251,'GviP')]=!![]);break;case'initPinToken':const _0x11a8eb=common[_0x5c5290(0x273,'JPQH')](_0x41b632,_0x5c5290(0x345,'HKfz'));if(_0x11a8eb)$[_0x5c5290(0x256,'y[2n')]=_0x11a8eb;else{console[_0x5c5290(0x1f1,'HKfz')](_0x5c5290(0x3c9,'rfAA')),$['message']['fix']('获取[pinToken]失败'),$[_0x5c5290(0x225,'S7Ji')]=!![];break;}_0x139c23=common[_0x5c5290(0x335,'o&I3')](_0x41b632,_0x5c5290(0x2ce,'JPQH'));if(_0x139c23)$[_0x5c5290(0x39f,'l$kH')]=_0x139c23;else{console['log'](_0x5c5290(0x28a,'pSXy')),$['message']['fix']('获取[LZ_AES_PIN]失败'),$['skipRun']=!![];break;}const _0x50e2a1=common[_0x5c5290(0x35b,'y[2n')](_0x41b632,'te');_0x50e2a1&&($['te']=_0x50e2a1);break;}[_0x5c5290(0x26e,'rfAA'),_0x5c5290(0x1fa,'kGlf'),'sevenDay_signUp']['includes'](_0x14ff81)&&(activityCookie=_0x41b632);await handleResponse(_0x14ff81,_0xc01c6f[_0x5c5290(0x3df,'$qS)')]),_0x139c23=common[_0x5c5290(0x39e,'FtO[')](activityCookie,'LZ_AES_PIN');!_0x139c23&&$['LZ_AES_PIN']&&(activityCookie+=_0x5c5290(0x1e0,'2NU)')+$[_0x5c5290(0x3b9,'cGhR')]+';\x20');const _0x4de3d5=common[_0x5c5290(0x40d,'NB(e')](activityCookie,'AUTH_C_USER');!_0x4de3d5&&$[_0x5c5290(0x333,'FtO[')]&&(activityCookie+='AUTH_C_USER='+$[_0x5c5290(0x22a,'q0^r')]+';\x20');const _0xda4105=common[_0x5c5290(0x205,'HKfz')](activityCookie,_0x5c5290(0x263,'SBTV'));!_0xda4105&&$[_0x5c5290(0x428,'8@y5')]&&(activityCookie+=_0x5c5290(0x2ba,'FtO[')+$[_0x5c5290(0x351,'pSXy')]+';\x20');const _0x429769=common['getCookieValue'](activityCookie,'te');!_0x429769&&$['te']&&(activityCookie+=_0x5c5290(0x3c3,'Zq#S')+$['te']);_0x3bc902=![];break;}_0x5eb0e2>=_0x412086&&(console[_0x5c5290(0x2a6,'SBTV')](_0x3f19a9),![_0x5c5290(0x2e8,'$Kf7'),_0x5c5290(0x248,'SBTV')]['includes'](_0x14ff81)&&_0x3bc902&&forbiddenQuit&&(![_0x5c5290(0x3c0,'l$kH'),_0x5c5290(0x291,'*YVN')][_0x5c5290(0x238,'c6W4')](_0x14ff81)&&($[_0x5c5290(0x284,'%uxe')]=!![])));}async function getFirstLZCK(_0x50fb7b){const _0x431c86=_0x177e7e;$['skipRun']=!![];const _0x3a27d1={'url':_0x50fb7b,'method':_0x431c86(0x367,'y[2n'),'headers':{'Accept':_0x431c86(0x21d,'rfAA'),'Accept-Encoding':_0x431c86(0x1e4,'SBTV'),'Accept-Language':'zh-CN,zh;q=0.9','Connection':_0x431c86(0x355,'4wEx'),'Sec-Fetch-Dest':'document','Sec-Fetch-Mode':_0x431c86(0x314,'vg13'),'Sec-Fetch-Site':_0x431c86(0x339,'oE9L'),'Referer':_0x50fb7b,'User-Agent':$['UA']},'timeout':0x7530},_0xc5e5d2=0x3;let _0x540535=0x0,_0x241d9c=null,_0x334b9c=![];while(_0x540535<_0xc5e5d2){const _0x4424c1=await common[_0x431c86(0x250,'q0^r')](_0x3a27d1);if(!_0x4424c1[_0x431c86(0x233,'vg13')]){_0x241d9c=_0x431c86(0x300,'Zq#S')+_0x4424c1[_0x431c86(0x294,'pSXy')],_0x540535++;_0x4424c1[_0x431c86(0x2c8,'dwpb')]&&([0x193,0x1ed][_0x431c86(0x3dc,'wgb(')](_0x4424c1[_0x431c86(0x409,'HKfz')])&&(_0x334b9c=!![]));continue;}if(!_0x4424c1[_0x431c86(0x3e4,'c6W4')]){_0x241d9c=_0x431c86(0x232,'^XQ3'),_0x540535++;continue;}activityCookie=common[_0x431c86(0x2c2,'kKSB')](_0x4424c1),LZ_AES_PIN=common[_0x431c86(0x35b,'y[2n')](activityCookie,_0x431c86(0x2c9,'3335'));!LZ_AES_PIN&&$[_0x431c86(0x3cb,'T4(v')]&&(activityCookie+=_0x431c86(0x37b,'cGhR')+$[_0x431c86(0x2ce,'JPQH')]+';\x20');const _0x385a5e=common[_0x431c86(0x27c,'wgb(')](activityCookie,_0x431c86(0x332,'GviP'));!_0x385a5e&&$[_0x431c86(0x38a,'%uxe')]&&(activityCookie+=_0x431c86(0x340,'1yZd')+$['secretPin']+';\x20');const _0x2b9cb3=common[_0x431c86(0x32e,'@kh@')](activityCookie,_0x431c86(0x388,'S7Ji'));!_0x2b9cb3&&$[_0x431c86(0x1e7,'MRy!')]&&(activityCookie+=_0x431c86(0x3af,'o&I3')+$[_0x431c86(0x258,'3335')]+';\x20');const _0x460503=common[_0x431c86(0x41d,'u$j@')](activityCookie,'te');!_0x460503&&$['te']&&(activityCookie+=_0x431c86(0x228,'TOor')+$['te']);$['skipRun']=![];break;}_0x540535>=_0xc5e5d2&&(console[_0x431c86(0x2ed,'vg13')](_0x241d9c),_0x334b9c&&forbiddenQuit&&($[_0x431c86(0x275,'NB(e')]=!![]));}
|
||
// 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)}
|