faker3/jd_wxSign.js
2024-07-08 11:15:08 +08:00

32 lines
59 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
活动名称:批量店铺签到 · 超级无线/超级会员
活动链接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('批量店铺签到(超级无线/超级会员)')
function _0x48a8(){const _0x4132e9=['WPyocmoZW7i','cWqVgCkQhSkSW57dRWRdRmkiWO8RWPXgW4BdUY3dJSkSECoK','W5dcLguXtmosW6xdK3fQESk3jG','ggdcVNDKWOJcOgFcN8kX','FZieWQ7cPmo1W6CjDa','W59EdCo1nchdIeaQWQRcOCoR','WPqEW78zWQxcKfPciq','8kcnRcFLRl7NI6tcIa','WQSmWPVdQCooAKybW6i','WOJdIJ9OdSkpWRBdMq','BvddLSkSWR1cW6XDWOhdRSkRW6FcQmkwWPPKmtxdKSkXibKSyW','fSkmWR/dUq','tSowp8kuW6hdRmoerSoWWOO','keFdOmk8WQS+W7zFWPNdLmk2W4BcV8kkW5TxkgpdVSk7lr8atmklWRddTq','W4Lfgmo0aX7dN1WRWOBcTCoP','f8kIW4fm','WQyhWPG','W4CjWP8','WOKxWRO','W4SzWOZdNWfJWRddHSokW7O','hSkMW5HQW47dQSkHbmowWPeOF8kKWR4','h0tcQh8RWPbCWOG0WQvEFedcNbnMWQNcVCkgjMG8vSoZWOC2B8oi','W4RdJCoQWP1OzCoMtKJcIG','W70PD8kHFNtdISoocLvS','bGuepmk3pSk1W5BdRYBdUSkIWOCQWQHmW4K','uutcQwuPWPzfWPqpW64','WPhcNCkbWRjnWRSW','WQ/cNSkNnbeIaWVcOmok','kEw6JUIUVoEMHEMAKoEyVUA1PUwiPo++Ra','WQRMIkdKUQqt','CCoNEW','BItcGvSsW4zmwW','u8kjWQih','W5FcVCkeW6OWB8kvWOS','rGzGeCkg','W5CLW7uAWRhcGmkO','WRFcJYxcLXG6tCoh','W5BdKLC','WOFcO8k3q8oyrSogxmk2','W78GA8kXr2JdISoXm0zN','W4RcUWBdMf3cJbWrx8kbW4NdJYz0Aq','ltO7joEURowjVEMuSEMyRCk7DCoe','WQ8gWPZdQCosAue','gCkDWQldSaL5dSoGW4dcR8ohAwxdOtWn','DSoOFSoZWPFdVv4','lsdcQ8ohWRm8','lLNdLmkHW74eW6XoW5NdOSk2W5xcO8klWPTWjNC','dHuekmk+lmkI','DCo5hSk3s8oEWQHSW5jkW4/dOg4','fmkcWRu','W5pcI8kBWQzcW7mMubjEFIrXaCoLW4WoWPBdOSo0WRRcNSoEW6RdJSoGWRe','fwZcRq','nmkGtSoHimkBW7rW','5Bsg56645RI1bUwMLa','EdKiWR7cS8oIW7GjCbddJmokuNpcQCkPoCk0W5rHbq','W58as8krv07dT8oWeq','W6BdTNhdQG','W5qYW6uqWRZcGmkOqSoeW4xdLSkc','WPH+vmoxAbO','W5JdH8o5WPPxySoMuNpcMmoQsmkjWPPAWRlcOa','W5GVW5C','zIlcKf09W5nXv28','W44UW4Wq','W5bevSk+WQ9WnCoaW6RcRmkEW6y','WP3cM8kgWQHAWRuHtdbcyau','v0RdSGSyW6a','cSkQW4ThW7ldSmkPdSowWRq6','WO8EW7KaWRJdJrWlna3dL8oWAudcLCkfWPxcSmkEzsTfEmo/WO8Z','amktWOfuW49AW6OZBq','mIRcQmof','nmkSsSo9fSkBW4TPW7K','mKRdKCkFWRWgW7Pw','g8kmyCouW4pdICo6Aa','W4RcSr3dMa','ys7cLLKQW45vr0Hc','WOadW6SeWOxcLL5b','tW55fmk7W48PW4RdMSk9WPe','W57cUWtdVLZcPXybzCkKW4hdHd1e','W4muWPhdGIDJWQRdQ8oSW7vpW54','W5nFmmoX','k00w','6i+15y+1WP/cH8kjmSoEFCkKW5tcLCoQWOFdJ+wMHoI0TU+9Ia','c8keWRxdSJrZaSoX','gmkeC8ob','ub11emkMW58SW7NdK8kVWOldJCkwW7z0W4qQW4ldQ0y','WRjwA8oQCbRcNmoaWOtdOYBdQgeu','44k05lM45lU/6lAI5y6u','wexdTbu','WOqBWQKTWOhcT1VdQdVdI2Kd','DZ8zWRpcL8oUW6eFuWFdOq','WOpdL8kPWRKfyNxcNW','omkDiCoyWQRcJCkvWR8VkW','W43dQ8kserCEmZdcGmoH','qFcNPPC','h0tcSMeYWPbFW4iNW6LAFeFcVdzKWR7cHSkke2mjwW','hSkeDmofW5JdMSo7','z8o8BSo1WQFdVee','5lMV5Aw16ykL55YU','xpggNPJVUQ8','gCklCq','77YO5yYQ6ioi5lQe5yob','WRqPrmkmWPZcJCoQfGJdHL/dOa','uSo0fCkzFCoCyCklvW','W5/cTXZdIvBcUG','pvWptW','yuFcUSkxWQVcSfiW','W7xdRSoSqxZdNt40','WOVcMCkBWRu','WPxcPCkGwmolw8oItmkrWOy','ACoMxmo7gSkdW6GVW4vDW7/dOgbZlhfFgg7cQW','prlcOSkVWR3cVvi','fCkEWRu','zSoeCW','z8oGASo4WOVdOuyBW5XdpSodWO0UmrvT','u8oWgmkpD8of','kCkmW799','WRClgSoV','BSokymki','W7P9mavcxa','WOddL8kGWOmVE2lcNSoJW4ZcTqG','44gP5lQV5lUw6ls45y+L','W5ZcPHNdIq','WOWpbG','WOFcR8kZx8oOqG','WQmgWPZdT8oEFva7','W5FdJLC','W7pIN7zo','4P6fsUESKowkVUEZH+wEOE+9Lf1Ay3fCWQFdOCk3W7mOvCkxvmkoW5ldNfNVV64U','rmosW5WoWP5BW7yyCSksqW','z8oSE8oZWQZdI1mhW7fgnSoiWRCsla','WPLVvColAGNcHCo0WPG','mYdcTSovWQSG','WPqdW6OEWPNcKKjrpqtdImoCk1VcHmkrW5lcVCkiFq','W7JdVg/dVmk1WPWB','8lM2Qo+7GCoS5lUv5lIo5lQg','W4/dGCoWWPe','vK7cSxG6WO0','W5TFzmk3W6uAeW','D3xdGY0PW5VdVCkvWOFdPG','eGKxamkBi8kXW5ZdSYpdVSknWRWSWQ5aW58','WPFcQCkMqG','vbv7cG','WQtcHd0','WQ/cJY7cLY8TySoriruEW5iwhSo2W74bW7/cTG','W4FdI8oWWPnQza','xeRdQc8dW6FdICkSWQVdVMKnW5zD','WOdORARMS4VLPilOTjFcNokFJ3e','WOJdRHVdTKtcOHGE','W7NdVhldQmkGWPm','W4/dGCo9WOfZACo8qW','sf/dSauy','fCklBSouW4JdMSoLySoZ','WOL3WPGHWRpcTSkNySoM','6i+o5y+vWPfssmk+WPvBWOxcIIyoW5SO5AAs6lwq','c8keWRxdSIvOhCo7W5VcJCoAiq','6iYI5y2ppmo/WR3cLsRcJmoXtdddQUwLVUI2So+8Tq','W6SRASk8','W4hdGCo3WPO','e8kNW7nEW5NdLSkJcSoDWPG6ESk2WRvNrhbEeZ3dRuiq','W7T8lW','W719oXiBvtZcIJTf','thDl','W4ldGmo9WPHRAmo3ra','m8kRWQbU6lAm5y+K6l2d5RQXomoExG','zYJcLNmZW4Hkv2rWW4NcMSommW','v0ddUW','W5Tpc8oZmaxdMuOnWRlcTSoR','WQ0MpSogW5iAjSoKW4dcTq','u2Xnd8kuW6m','eSkaWPTsW79HW6G','l0ldJW','WQtcMdNcNa8fyCoqnWCrW6C','W6KqWQNcOSkuW4aaWQDuFIykW4ddVCoCqSokWRRcKra','W4LhfSoQfbNdGW','WO0tbG','W5ddICoMwfFdKG','DSkYW7HPACoTWO0','W47dUmoSv2ddMt4+W41AW4pcNmksa0NdOmkXWPrSWPTg','aameb8kKjmkXW4ddJdRdU8ke','eGSzhSkaomkR','nbmvhmkClmkOW5W','z8k6W6XIDCoXWPxcKuGsW6iBzXr5W4ur','BejZoSkKW4mPWQy+ya','eSoaW4ZcRMWmW4NdKCkXqmkNdq','WQadcCoGW69Em04','xokDUsC','dSkIW4vD','rbfMlCkDW5CTW6ddK8kDWPxdV8k+W7f+W78vW4a','5lQ65Pse5BsA562j','W6zTlqO','5lMs5lUU5lIY8lEuLU+5MW','W4FdUmo9Cf3dKZG4W55PW6pcK8ktdW','W7mxWQ3cOmkZW4euWQe','W5WIW5uCWQZcJmkYsmoOW6a','W5ncfSoUfGxdG2C2WQdcO8oG','W7e5za','W4fABSkRW4ilgce','mIZcOSooWO46n8oqE8oCfCk1tG1WCtm','W5pdRCoLwKy','6zYH6ksq5yst5l+X','WPevd8otW7GIhmoA','z8oGASo4WPhdULeDW4Tgla','WOadW6SeWP/cJKnb','jstcSCob','W7f9kJfFwsdcJYHHWPCEs2tcQ8opW67dLG','W5FcUXxdMwhcRrahDSkxW6hdIZXiB8o1WOZdVCoIgwu','bSkeWOztW49HW40X','EmoMAG','W7SAWQ3cQCk1W5y9WR1wwJS4W4NdLCo0','bmoAW5hcTLCSW43dHCkN','W4ZdI8oQWRL7F8oHvMBcIW','BColkCk/v8oJDmkSzIbSWQtcPmo4','WPRcL8kSW4uSo8kNw0xcV8oDzSkL','W4RcTXFdK2BcUa','WRKomCo5W4r5nvLEveytWQddOCk2W6q','WRqpbmo1W5KOfmor','W4TxWQGWWP7cSLZcVJ3dL3Sdq1KPWQX9WOVdMmkPbfX+nhqUWRi','kSoNtSk2WRlcHmkNWOCYcstcOq','W7ldVhldMSkv','lKZdMmkoWQeF','4P2Mb+EUO+wiVoEWPowDTo+8UCkbpmoHuZLhWQyDzCkyWRlcLW59iwVdPmot772qmW','W4CFWOVdHrzTWQe','fCkiWQhdRWf9cG','5lI95A2/5z+1','A8oiD8kmWOdcSSk4WRCffWpdQblcHdS','xeJcUG','FZioWRBcLmoJW7av','q8knWR8WWPjMW5yuWOK9W6NdKCkCW5y','WPFcRmk8smoYr8oIC8k0WOpcOW','8ykuL++7MXhKVQxMG5lLIQ4','DCoQECo/WRtdPKyhW7ThmW','W6BdI8kKih5TcaxcR8odW6L9smo/WRVdNCkK','WP7cOSkaxSowv8o4','WQBcJZ/cOW8NFmoAfXixW7ykaW','uN1FdSknW6q','hSoCW43cPgW1','jLib','W5iZW4GsWRpcIW','bMCTCEI3M+wnOoI8KoA6MSk1ggW','WRiqWOFdO8otyu0WW74xWPxcNSkOWPpdVLfAWOKMWRRcPmknW5JdJuqik8oUW6ldRgVdHSkIAcKvwNZdSCky','WQToC8oQwY3cS8ohWRldLWe','WPldNCkZWOqCygtcImoyW6u','WQRLUAFORkFNP4JPMzBNMlJMTAJLI7NVVQe','uKhdUaKu','ECooySkmWP3cHCkvWQe9mWpdUXtcKa8','WOmrWQu','WOKdW64BWOxcLL5b','5P+7556+54Qa5OoI','vCoJh8kg','msZcQW','6iYk5y6xWOe5WOdcUSkhDmoYW5VdTSkIlIFLPOFOTPFVVzu','tXT1','CY4FWRxcK8okW7avDrtdQSom','AmoeE8kfWPBcOmkA','WPCzd8oJW7i7mmoq','bmoBW5NcR001W4pdKG','qxTyeSkxW7KcWO8Jv8k+Ca','WORcNCkCWQvjWQ4Cuq','eSoCW4G','W4LjhmoOiXJdVvO3','WPijaSoKW7i6cG','W7SAWRRcPCkWW4WfWQT4Aq','5lUh5Awn6yc9552h','iXlcP8k5WRlcNLy/W5ThWPa0WPb+WQG','EduoWRhcR8oMW7Gd','WOz0qa','DcJdNW','WOameq','vSknWROgWPH6W4K','s1RdRWq','W7umWRRcISkQW4qw','WPqpW6muWOxcMeDnpG4','z8o9BmoIWRFdVa','WRiGySk+Atm','5PYl6igS6i+b5yY955sW5OQF6yMf5P6H5l+y5Ocz77YS','WPlcQSk7xSop','W7tdUN/dQSkNWOGYWOZdVq','W4TLwSol','v8knWQGbWPH9W60uWOi','WQf3pSo1nsdcG8kkyHO','W5pcTCkkW7a','uSo4eCkfuCogrCkhsWbmWOtcPCouW7e3dG','rmo/aa','r31y','WPBdKmkKWP8tEwq','mIZcOSooWPuXmSoaBmozamkFEW1XqcNcP8k6WOi','WPxcLSkbWQrEWQG','5PYj6ikj6i6L5y6O55EC5OQn6yIP5P+p5l2x5OkZ','5P+w55YD54Me5Ooa','xelcS2SRWPC','tXf8gCkaW5i','W4JdQCo9q0hcHNX+W5HvW6RcHSola0ZdV8oRWOrwWOLFW5NcOCoesvtdGZZdHsS','W5rIqmoek8kn','mvpdK8kIWQC','tmo0bCkyECopva','mIZcOSooWPqHimowBmozbW','sNXZdmkzW4mFWPezCCkIB8ocW6tcM3RdRmoyW5JcVG','W4lcVCkB','BsJcKum9W4be','W5vXrmog','W5zjeCo9mGq','WQJcHdJcLG88','W6KqWQNcOSkpW4SfWRDdEZmGW7xdVCoDC8oq','WOvUu8oKAa/cIW','BZJcLNyWW4zg','WOJdII9HcCkF','j2rAW6pdMCk+W5KszsldPCo/','6i2M5y6nBCkVWRtcN8ooicJdUgJdJmk1W4ZLP4ROTQW','W5i0W5uZWRBcHmkH','nokDJ8kR','W5eUW4y','WPhcI8kV','A8oiymkaWOxcQmkaWQeRja','zdKCWQ/cHmo0W6e','lKZdMa','WR8YvCkiWOdcOCoIaa','WOtdNCo3WPnWi8oHxMBcGmokr8kPWPPbWR7cPWuV','nbBcPCk9','W518rSomma','W4JdIfFcTSkWpGrWlg4eW7xdLHmPWO7dQqKGpW','WPRINRbF','WRG1uSkgWPy','ztKz','W4JcSCknW6mxCW','WPVcS8kGD8oru8oX','CtulWQ7cR8oMW7Gd','DIJcJfq5W5vOwG','W4rBAG','W7aLza','W6JdN8kUpcCPcrm','WRtLHiKQ','W5JdH8o5WPPnECoXvgtcNCo4','W4T5rW','77+z5y606iol5P+j5yUE6lEM776g','drRdOdfIW4imW5b7WRC','WRlcNJNcMHmVBCofpq','W7tdQwZdO8k9WPGFWPFdS0yWW6uLW6zBnq','wmotuSoxWOFdNg0UW6D7','WPxcLSkBWRv8WRu7yqTqDq4','W4upWOZdSbTRWQm','fNBcVLH+WOdcSW','hSkQW4PDW6/dPmkNca','tuRdSGGjW7RdQ8kH','mrtcPCk1WQRcS0m/W41q','zdfg','WPymWRKRWOlcQG','WO16vCoazqNcICotWOldPG','CYtcHv4vW4Lvw3nqW4NcMSoTpWldGZS','emkaACohW7NdGa','WQadcCoGW65pluTvEhW6WRxdOCk8W4Kaw8kgtG','WQ/cJY7cLY8TACommGm3W6elgCouW7GEW6pcKwPC','z8kJW6DLsa','W5RdGKtcSCkumGf8ahK','WQWbWOC','WOT4u8olCGFcMmoRWQJdTG','g8oxW5dcPMOP','W4JdKvZcSCkw','W5qVW4izWQ/cGCkJqG','u3nfc8kZW6uy','xuBdPa','6iYk5y6xW7OHWRxcJSkJx8o85AA16lAd','WPtdL8kHWPKKAh3cLa','smotW53cTxC3W4xdLSk7AmkKvq','W4jqwCkOW5WkeW','uutcVMKSWOX9WOiH','WPyDWR42WPlcQN/dUae','WQqlb8o6','W5zdga','WQ56nmoWmcZcJCoBgLvsqCoj','W68Vymk6BwNdRSoEmq','WRijgSoNW4PdkeDKCNGz','wKpcIwm0WPPF','y8kYW6j4','ca4taSkNkCkGW4O','nItcRmou','W7OMBmkNEG','fCkSW4S','WO/dRSoGvfZcKYa0W41AW6ZcU8kheXddUSkSWOPlWR5wW47cPmoDvutcLa','WOedW7u','W5jCimkeW7LdbZRcJSo4WR4klCo4','WPNORkNMSllLPOZOTjBdQokFOuJML6dLKl/LUltML5JMJky','WRlcIYBcLLaNDSokiW8y','W5mKW4qrWOJcGmkRxSoxW6hdP8kifg7dGmoBimkaWQBcImo3','W4ZdH8o4WObqBCo/uG','ECoSFSoLWQpdQfC','pmk7WRD2W69aW5Sfs8kW','6i+o5yYvW7D9W47dRSkVa8oU5AE26lwS77Ys','cGujhq','W7WwWRZcOCkNW5eHWRTF','8kUpQo+7NG','ub11emkXW4GVW6pdHmkrWOxdRa','zJudWO7cJSoSW7ai','WQ0nWOVdLSossvWMW6e','C8oGA8oIWOZdRL8B','562O5yMS5AwC6lE/6ysS6k2s5Q605PswpfxdLG','WOqBWQKTWOhcT1VdQdRdGhu','CYJcGui5W5nXv28','WOWzeSo0W7yUha','WQL6mW','W6RORP/MSR3LKzBLUl85','y8ofCmkmWOS','ESoSAmoYWPddQL8rW5HqhSomWQ0UkHLQWPFcHmodea','seRdQGKcW4ZdG8k8WPhdM2egW41Tcq','W4H5tSonc8knW5tdL8kXWRXYcmo0FwFcMmoU','rSo4emkFvSojxmkh','W4Lfgmo0eGxdGfy','W51/w8ooi8kxW7ddM8kT','jYRcT8onWQyGe8oCzW','W6KsWQFcVmkuW5aF','sCo+bCkFDSojxmkh','s+w6V+ITQ+ELM+MAO+EBKoA1UowiNE+8KW','v8kbWQWDWQ9SW44iWOaF','cMRcRxbhWPe','W4VdTv/cS8khnuG','WPJcVmk/w8oYr8oIC8k0WOpcOW','ztmaWR8','WPFdSqxdIvRcPa5huSkxW4ldJsrsrSo2WPZdH8oeehVdL8oy','cmk5WR3dTWv0uG','W5Tpc8oZmaxdMuOqWQ8','mHBcOSk5WONcQfS','uutcVMKSWOX9WOiHW51qBvZcJJ4','WOWwWR4OWOlcUKRdOG','WQ4HBvv5FrBcIq9P','W4ZdUmoNveBdLa','emkkya','WRWnWPhdV8ooA3WS','wFcFOAi+56MO5Ro1','W4LjcCo/kcJdJeOgWRJcR8oPWRntW5i','WPlcNCkxWQv+WRKZrWfiEdb5fSkEW5amWPtdOG','W5hdHwtcT8kjpHS','WPxcPCkGwmolw8oItmkmWPVcTmo/','W70PD8kHFNtdISoofKm','WR4UqSkLWOlcOCoO','W4zrAmkJW6uked3dG8oSW4jzD8kOWPyOqSkRimkLW6m','WPhdJtjqfmkaWRBdHa','WONdKcH0cmorW7ZcHxzaxCkNrSoCWPLkW5dcMevVzmkwq8kxrSo9','WQCHBfmea2xcJWLXWQiOEG','zCoEymkVWP/cOmkt','W4SKW48rWR/cL8kpvq','W4JcU8ke','WPRcL8kaWQXnWQGfxaO','W5j+qmoxb8krW5ldNCkX','W6RdJSomyghdTrWFW7j7','W7tdUMJdPSkIWPikWPRdJLaUWQ8','W7NdTNS','j04b','c8kMW59CW43dSq','dmkrwmoqW6tdHG','WQiWx8ktWRZcTCoH','56+f5yIG5lIP5Q6c','DCo/hmk+kSkJW7PNW5Pt','iX7cTSkYWONcQG','W5pdUmoQqvFdIam4W5u','W5TDASkPW74bctFdH8o/W6jwv8kOWO0Krq','5Bsv6k+u57+J6lAd6lYm6lYN6kg/5B235yIv6lwr5y2lWRPPcEI1O+E5Los+OEwsGq','W7b3lcDxvZG','W5TDASkPW6iF','WPpcO8kGFmoeySo/w8k/','W4GBWOVdKYj4WQG','c8kiWQy','W4BcG8knsCo1ymo8','W7nQla1eEtxcKd5bWPmp','amkiWOzJW4v4W6e7','WPqbW6qaWPNcGL0','W7j5kGm','WRiAhSoIW5vjpuPzzgztWQZcPCkNW6OEg8kfuSkkW5BcHvxcLuHPW4i7WQvaWQK0','W4BdSSo7xLpdIam4W5u','u8kwW58','WR4phCo9W51noq','c8keWRxdSIL0g8oXW5VcTSoikLVdUZ4gWR0','omkwW7HHW77dHSkvomoGWOiBlG','WOn1tSowvaFcGSogWO7dUtBdOW','WOddL8kGWOmJz2tcLmoJW7FcPWpdRNupW49S','tCo+eq','dq8x','W5TDASkPW6ukdcFdKmo6W7D8ySkOWOWvx8k/dmkY','5yYR6ywX5B+h5zoc54UC5OcilComWQZcVmo7uSkhiv/cLW','hmkoWO8','hCkIW5Hi','WOddJSkRWOqE','W6KqWQNcOSkuW4aaWQDuFIykW47dPSosDmokWRpcKq0','bmozW5FcSuW0W4i','W4qtWPVdNrLRWQNdMG','W4lcJSo+W5HDmcBcImo6W5hcIHxdTW','BIBcQSonWQO7lCkAAmojf8k8ArDrEYC','WP3cM8kgWQHAWRuHtc1F','bMC5ESk4W4tcIc7dHNy','leBdMSkVWOeiW7LkWPldUmkTW7pcOmkbW6f8iN/dJW','fCkwsmol','W5pdTmoUxwBdLt40','W67dKLxcQSkSoHHG','W6VdLCkzpZKOaG','bWKCgSk3pW','WQiVv8kxWPVcSW','WQ4pwSkWqe/dLa','eCoBW5dcOhiTW5u','WQpcIZJcLIG6Aa','rxvCd8ky','WR0+wmkeWPRcQa','lvGsEmksW7JcVbFdQM5wW5u7WQq','ESk2W65OBSo6WOZcM0WbW4iurXrIW4KwdcpcOCkK','W43dGCoSWRf/B8o6','W4H5tSonb8krW5ldNCkXWODGaW','cvFcPxv3WO8','q1pcVhGQWOW','W5ZcRaldKKe','W48iWORdMqvhWQhdJmoWW79nW5u','xeRdQcOfW7RdKCkXWOldSKSQWOpOR4/MSlVLPiBOTjJdPUkDVmoP5Ps15zkN5BU+5PEj5O2E','u3flfCkYW6qzWOy','W7SAWRRcPCkWW4WfWQTKFZ4','gSkmA8ouW6JdMG','WOFcR8kZx8oUr8o1vSk9WPhcTW','W5pdTmoUxwFdJa','gFcwVzW','sHPXeSkbW544W78','W4H7qmotemkwW44','W5D1r8oenSkl','WQ0WW6CPWPRdPfZdOKhdOq','oHpcJSkRWQtcIv4HW6PRWPO5WPzsWPhcS8olzKGuWRBdNq','WOKhWPhdR8ooD0fLW5iwWP3cGW','W6ddKSk5osqKgbNcGmol','WQynWPhdVmoFCq','BCocCSkD','W4tdVmo9uG','WRKhWPldVG','W4H5tSoneCkwW4pdKCkMWRLG','vLZdUW','mX3cUCkLW7hcS0qWWQPDWOOLWPriWRtcSSokzXqbWRJdNa','tSoKaSkTDmojvG','W5vzc8oCkG3dIG','W5j+qmoxeSkkW47dPSkSWQf2cG','l0BdJmk4WRikW7O','W4TEzCk+W7GAcrtdMCoOW6q','smo/bCkoASoC','WOldIZjIeSkm','D3xdGZGJW4pdP8klWPhdO004','WRqpgSoiW5vyl0P8uuS3W7tORB/MSPlLPQZOTyWw4P2/hq','W6xdQ3xdRmkXWRiqWOxdTq','WP3cQmk3xCoivSoZrG','r3fkd8kVW7eBWPm','W7tdUMJdPSkIWPikWPRdL0y6WQ8','u8oPWOydWOVcR8oa','WOxcGCoRWOb3ymoHgfpcI8oPqCkXWObOWP8','WPNdMSkyWPOswNNcLSo/W57cQaddJNueW5m','WQmgWOZdRSonF1WRW68kWOpcKG','W5dcSbNdIxBcUG8hCG','leBdMSkVWOeiW7jxWOhdRSkeW4dcVCkgW4n6pwpdQmk8na','WOFdM8o6','muBdNmk5WRyzW49rWPK','W6vWmrv/wthcHcG','WPtdM8kZWQ4fzNVcMmo0W5FcPWpdJ3K','B8ofyG','WROedCoIW4Loou0','W45vyCk0W5i','W7vQmrffgspcIJLf','W4tdM8oQWRjYBCo1','WOVdGanZa8k4WRRdJxrLwSk3amoFWQnsWORcLerVB8kE','WPxcLSkrWQ1zWRGWrG','rhLygG','4PYHWPlNR4dLI7hNSAxLN4RVVQtdGCkOsCk5smoWWRldSJbFW5lcMHJVVzNcVa','W6v9maz4wYtcIITz','BIZcLfK7W4zvwW','W7ydWQxcPSkjW5afWPrDBdu','A8oiymkaWOxcQmkaWQe2orRdUq','lsRcOG','W45EcSo/','D8oJzCoVWO3dUKy4W4juoa','A+w6MUIVNUEMLEMATUEBIEA3VUwiKE++MW','dSkiWRZdUavOjSoW','rCklWR8AWOTGW4KeWRKzW6q','W4RdJCoQWP1OzCoMtLtcNmoN','Ea5Ed8krW5pcHdxdVLK','57UB5y+g8lsNJG','lUAjLEs7PUwVREEkLcK','j1hdJCkKWQeGW7PlWOtdQSkIW4y','WRG1vCkpWPVcPmoQfG','W5PZxCoknmkkW5tdI8kkWQ4','WPLYqmomur4','W4VdIf7cJmknmbbR','W44KW5CqWRtcOCkNsmo+W7FdJ8kmdLldHG','W48wamoXW7zN','u3flfCkZW7uhWOmsxCk6u8ogW7ZcV3hdQCoiW5JcOG','W6yGWQFdTZjzWPVdR8okW5a','W4nRoXb4vt3cHG','g8oDW5K','ECocC8khWRBcS8kgWRCqdrNdUW','WOWDeq','W44OW4yBWP/cL8k0xSotW4NdLCkm','4P+YW7tNRP3LIRtNSjJLNPdVV7lcL8oNca7dJWiXkgFcGCokfCo777+hxG','W7JdQNS','Emk2W6vRsmo3','WOyjW7KzWR3cNKDDerm','8jQmGc0','W4NcSCkqW7CcFmkF','s8kDWR81WPfOW5O','5PY86ikH6i+A5yYm55Ej5OQW6yUH5PYL5l+N5OcA776m','qHDXg8khW4KrW6pdKq','BColkCkQxCo7BSkYCdG','ymops8kEWOVcKSkDWR8mhXNdUqZcObeEbSkzW6iDgCohW7JcJe3dMe0','WRlcGYZcNtG6DSomnISfW6u','W53dIfZcRmkhkq','W6vXoqXJra','gCkOrCoCv8oHD8kiEZ8','AspcGvWPW4netq','WRhcHtS','W4yvWP8','ggdcVNDKWOJcOgFcGSkSbIi','5P2t6io+6i295y+i55s65OUw6yQG5P2D5lY35Ok67723','WPJcMCkgWQa','WPRdKmkUWPK6yh7cPCo+W6RcOWe','ztukWRtcTmo3','BCooymkKWORcKCkDWRyf','zmocD8kcWP3cOmkzWR0','eCkcWOTsW5LGW4G6zq','W5JcVqtdLexcOqKrvCkaW4W','77Yy6Agx6kwd5zUY54M7WR8','DmoIe8kzvSojxmkh','iWFcVCk1WQG','y8oOzmoI','bmoxW53cS3S1W7ZdI8kS','WORIN6BdMoITGEAWTEwKU+I3OE++T+AvO+wrK+w6VUAxGoAmPE+9HG','bGKwgSkClmkOW5W','sNDffq','WP3cM8kgWQHAWRuHtdfjFa','WRlcJYJcGrG8vmokkG','CmoOECo3','uKhdRWKEW7W','nmkGtSoHiCkkW6P1W7jlW6NdG21Ph3fzhM7cTG','W44KW5u','pbJcTG','WQiYuCknWQFcRSo7aaNdKvNdQCkVW7JcLSoSWQa','pHJcPG','jSkQxCoMbCkgW695W55C','nmkGtSoHiCkkW6P1W7jlW6NdG2nYeuDzf27cQW','W7ldMmkQpHSJgaxcU8ozW6LLECk6W7BdMSkL','WPivbSoPW4uScmobW6ZcImkcW7BdSvNcUmoFaCkTW57cVW','wuNcUwKN','lfiuFSkCW7tcVW','WOmxWQ8PWPBcQN/dUae','WR0pc8oQW65pmvfgBKKFWQddOCkMW7qDt8kQwCkl','FCoNFSoZWRddUW','u8kgCSotW7NdH8o6AmoZW4qTC1rmWOVdOvjWuW','sxzpf8kuW7qtWOu','hCksWRu'];_0x48a8=function(){return _0x4132e9;};return _0x48a8();}const _0x1873f9=_0x2ae1;(function(_0x53f58c,_0x3caedc){const _0x3bd01b=_0x2ae1,_0x41a2bc=_0x53f58c();while(!![]){try{const _0xac19f=parseInt(_0x3bd01b(0x1b6,'$8Rv'))/0x1*(-parseInt(_0x3bd01b(0xa3,'bqQ!'))/0x2)+-parseInt(_0x3bd01b(0x19a,'z2Xq'))/0x3+-parseInt(_0x3bd01b(0x15d,'U32['))/0x4+-parseInt(_0x3bd01b(0x8b,'cpPV'))/0x5+parseInt(_0x3bd01b(0x1db,'P$lW'))/0x6*(parseInt(_0x3bd01b(0x1f3,'tOO['))/0x7)+parseInt(_0x3bd01b(0x112,'jC1m'))/0x8*(parseInt(_0x3bd01b(0x131,'44YO'))/0x9)+-parseInt(_0x3bd01b(0x1c4,'KJb9'))/0xa*(-parseInt(_0x3bd01b(0x18b,'V4yI'))/0xb);if(_0xac19f===_0x3caedc)break;else _0x41a2bc['push'](_0x41a2bc['shift']());}catch(_0x5a34c6){_0x41a2bc['push'](_0x41a2bc['shift']());}}}(_0x48a8,0x3c516));const jdCookie=require(_0x1873f9(0x176,'Qt0!')),common=require(_0x1873f9(0x77,'PWW1')),notify=require(_0x1873f9(0x233,'eM9x')),getToken=require(_0x1873f9(0x1c8,'V4yI')),{wuxianDefense}=require(_0x1873f9(0xf5,']]LH')),{wuxian_savePrize}=require('./utils/Rebels_savePrize'),lzkj_signInterval=process[_0x1873f9(0x275,'44YO')][_0x1873f9(0x103,'U32[')]||_0x1873f9(0x2e9,'%HkB'),cjhy_signInterval=process[_0x1873f9(0x1be,'gI4$')][_0x1873f9(0xdd,'KJb9')]||'1000',isNotify=(process['env'][_0x1873f9(0xf6,'Q5N7')]||process[_0x1873f9(0x179,'$svG')][_0x1873f9(0x231,'JQeQ')])===_0x1873f9(0x10c,'h%tS');let activityIdList1=(process['env'][_0x1873f9(0x12d,'$8Rv')]||process['env']['LZKJ_SEVENDAY']||'')[_0x1873f9(0x140,'KJb9')](','),activityIdList2=(process['env'][_0x1873f9(0x1f9,'z)f*')]||process['env']['LZKJ_SIGN']||'')[_0x1873f9(0xb6,'Q5N7')](','),activityIdList3=(process['env'][_0x1873f9(0x168,'aa&z')]||process[_0x1873f9(0x197,'tOO[')]['CJHY_SEVENDAY']||'')[_0x1873f9(0x2ba,'tYj0')](','),activityIdList4=(process['env'][_0x1873f9(0x15c,'ZpX3')]||process[_0x1873f9(0x25d,'Gkbr')][_0x1873f9(0x192,'%HkB')]||'')['split'](','),lzkjFilter=(process[_0x1873f9(0xfe,'$8Rv')][_0x1873f9(0x283,'58sc')]||'')[_0x1873f9(0x2bf,'5Ahv')]('@'),cjhyFilter=(process[_0x1873f9(0x1e9,'b*eE')]['jd_wxSign_cjhyFilter']||'')[_0x1873f9(0x1f1,'K6yO')]('@');const forbiddenQuit=!(process['env']['jd_wxSign_forbiddenQuit']===_0x1873f9(0x100,'UT12'));let signFailMaxRetryTimes=process[_0x1873f9(0x1be,'gI4$')]['jd_wxSign_maxRetry']||'0';const maxForbiddenRetryTimes=0x5;let ActInfoMap=new Map(),cookie='',originCookie='',activityCookie='';const cookiesArr=Object[_0x1873f9(0x2de,'ZpX3')](jdCookie)[_0x1873f9(0x205,'aa&z')](_0x38090b=>jdCookie[_0x38090b])['filter'](_0x3d17d9=>_0x3d17d9);!cookiesArr[0x0]&&($[_0x1873f9(0x124,'klo9')]($['name'],'【提示】请先获取Cookie'),process[_0x1873f9(0x1d4,'PWW1')](0x1));!(async()=>{const _0x231953=_0x1873f9;console[_0x231953(0x7f,'gI4$')](_0x231953(0x272,'%HkB')+$['name']+_0x231953(0xb3,'Q5N7')),console[_0x231953(0x2a3,'%HkB')]('代理开关:\x20['+common[_0x231953(0x244,'b*eE')]()+']'),console[_0x231953(0x93,'klo9')](_0x231953(0x184,'ZpX3')+lzkj_signInterval+_0x231953(0x15a,'P$lW')),console[_0x231953(0x200,'K6yO')]('CJHY签到间隔:\x20['+cjhy_signInterval+_0x231953(0x292,'SK@!')),console[_0x231953(0x14c,'KJb9')](_0x231953(0x249,'jC1m')+lzkjFilter[_0x231953(0x1f8,']]LH')](',\x20')+']'),console[_0x231953(0x295,'aa&z')](_0x231953(0x1fe,'P$lW')+cjhyFilter[_0x231953(0x145,'58sc')](',\x20')+']'),console[_0x231953(0x1cb,'$8Rv')]('推送通知:\x20['+(isNotify?'开启':'关闭')+']'),console[_0x231953(0x2ca,'h%tS')](_0x231953(0x2e5,'7TT8')+signFailMaxRetryTimes+']'),console[_0x231953(0x22a,'$svG')](_0x231953(0x2a9,'UHXf')+$[_0x231953(0x16a,'z)f*')]+'变量状态结束==========');function _0x38eece(_0x480ffb){return[...new Set(_0x480ffb)];}function _0x41d6a2(_0x1bc62d,_0x5ed4b7){const _0x2f59af=_0x231953;return _0x1bc62d[_0x2f59af(0x121,'z2Xq')](_0x332fb=>{const _0xf75569=_0x2f59af;if(_0x332fb[_0xf75569(0xd9,'0grS')](':')){const [_0x1aa834,_0x178736]=_0x332fb[_0xf75569(0x280,'aa&z')](':');return ActInfoMap[_0xf75569(0xa2,'mKyn')](_0x1aa834,{'venderId':_0x178736,'activityType':_0x5ed4b7}),_0x1aa834;}return _0x332fb;});}activityIdList1=_0x38eece(_0x41d6a2(activityIdList1[_0x231953(0x1e3,'UHXf')](_0x2ba001=>_0x2ba001!==''),0x12)),activityIdList2=_0x38eece(_0x41d6a2(activityIdList2[_0x231953(0xc3,'ZpX3')](_0x315f4c=>_0x315f4c!==''),0xf)),activityIdList3=_0x38eece(_0x41d6a2(activityIdList3[_0x231953(0x1c2,'PWW1')](_0x5183aa=>_0x5183aa!==''),0x12)),activityIdList4=_0x38eece(_0x41d6a2(activityIdList4[_0x231953(0xd5,'gI4$')](_0x11aeb3=>_0x11aeb3!==''),0xf));try{const _0x4dfefe=parseInt(signFailMaxRetryTimes);signFailMaxRetryTimes=_0x4dfefe>0x0?_0x4dfefe:0x0;}catch{signFailMaxRetryTimes=0x0;}if(activityIdList1[_0x231953(0x2be,'Gkbr')]<=0x0&&activityIdList2[_0x231953(0xe0,'D9Ks')]<=0x0&&activityIdList3['length']<=0x0&&activityIdList4[_0x231953(0x2b7,'gI4$')]<=0x0){console[_0x231953(0x10b,'GaT]')]('⚠\x20请先定义必要的环境变量后再运行脚本');return;}notify[_0x231953(0xed,'U32[')]({'title':$['name']});for(let _0x552581=0x0;_0x552581<cookiesArr['length'];_0x552581++){$[_0x231953(0x153,'UHXf')]=_0x552581+0x1,cookie=cookiesArr[_0x552581],originCookie=cookiesArr[_0x552581],$[_0x231953(0x1c5,'FhyL')]=decodeURIComponent(common['getCookieValue'](cookie,_0x231953(0x96,'gI4$'))),$['UA']=common[_0x231953(0x235,'klo9')]($[_0x231953(0x232,'z2Xq')]),$['UUID']=common['genUuid'](_0x231953(0x24a,'D9Ks')),$['te']=Math[_0x231953(0x2d2,'%HkB')](Math[_0x231953(0x1cd,'44YO')]()*0x2328)+0x3e8,$['message']=notify['create']($[_0x231953(0x2eb,'$8Rv')],$[_0x231953(0x11e,'cpPV')]),$[_0x231953(0x17a,'5sVZ')]='',console[_0x231953(0x11f,'Gkbr')]('\x0a******开始【京东账号'+$[_0x231953(0x29c,'8tO8')]+'】'+($[_0x231953(0x251,'aMkB')]||$[_0x231953(0xc1,'5Ahv')])+_0x231953(0xf4,'z)f*')),await Main();if($[_0x231953(0x109,'Oj]E')]&&$[_0x231953(0x182,'%HkB')])break;}isNotify&&notify[_0x231953(0x22d,']]LH')]()&&await notify[_0x231953(0x218,'cpPV')]();})()['catch'](_0x4aad2d=>$[_0x1873f9(0x236,'aa&z')](_0x4aad2d))[_0x1873f9(0xc6,'Gkbr')](()=>$[_0x1873f9(0x1e2,']]LH')]());function _0x2ae1(_0x439433,_0x43a8aa){const _0x48a835=_0x48a8();return _0x2ae1=function(_0x2ae1e2,_0x4e00ec){_0x2ae1e2=_0x2ae1e2-0x6d;let _0xb72a2=_0x48a835[_0x2ae1e2];if(_0x2ae1['lHvdFF']===undefined){var _0xc94710=function(_0x3d17d9){const _0x38eece='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x41d6a2='',_0x480ffb='';for(let _0x1bc62d=0x0,_0x5ed4b7,_0x332fb,_0x1aa834=0x0;_0x332fb=_0x3d17d9['charAt'](_0x1aa834++);~_0x332fb&&(_0x5ed4b7=_0x1bc62d%0x4?_0x5ed4b7*0x40+_0x332fb:_0x332fb,_0x1bc62d++%0x4)?_0x41d6a2+=String['fromCharCode'](0xff&_0x5ed4b7>>(-0x2*_0x1bc62d&0x6)):0x0){_0x332fb=_0x38eece['indexOf'](_0x332fb);}for(let _0x178736=0x0,_0x2ba001=_0x41d6a2['length'];_0x178736<_0x2ba001;_0x178736++){_0x480ffb+='%'+('00'+_0x41d6a2['charCodeAt'](_0x178736)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x480ffb);};const _0x38090b=function(_0x315f4c,_0x5183aa){let _0x11aeb3=[],_0x4dfefe=0x0,_0x552581,_0x4aad2d='';_0x315f4c=_0xc94710(_0x315f4c);let _0x2e0c85;for(_0x2e0c85=0x0;_0x2e0c85<0x100;_0x2e0c85++){_0x11aeb3[_0x2e0c85]=_0x2e0c85;}for(_0x2e0c85=0x0;_0x2e0c85<0x100;_0x2e0c85++){_0x4dfefe=(_0x4dfefe+_0x11aeb3[_0x2e0c85]+_0x5183aa['charCodeAt'](_0x2e0c85%_0x5183aa['length']))%0x100,_0x552581=_0x11aeb3[_0x2e0c85],_0x11aeb3[_0x2e0c85]=_0x11aeb3[_0x4dfefe],_0x11aeb3[_0x4dfefe]=_0x552581;}_0x2e0c85=0x0,_0x4dfefe=0x0;for(let _0x3a4dca=0x0;_0x3a4dca<_0x315f4c['length'];_0x3a4dca++){_0x2e0c85=(_0x2e0c85+0x1)%0x100,_0x4dfefe=(_0x4dfefe+_0x11aeb3[_0x2e0c85])%0x100,_0x552581=_0x11aeb3[_0x2e0c85],_0x11aeb3[_0x2e0c85]=_0x11aeb3[_0x4dfefe],_0x11aeb3[_0x4dfefe]=_0x552581,_0x4aad2d+=String['fromCharCode'](_0x315f4c['charCodeAt'](_0x3a4dca)^_0x11aeb3[(_0x11aeb3[_0x2e0c85]+_0x11aeb3[_0x4dfefe])%0x100]);}return _0x4aad2d;};_0x2ae1['blUiIF']=_0x38090b,_0x439433=arguments,_0x2ae1['lHvdFF']=!![];}const _0x3ffe60=_0x48a835[0x0],_0x51babb=_0x2ae1e2+_0x3ffe60,_0x1e4e8a=_0x439433[_0x51babb];return!_0x1e4e8a?(_0x2ae1['RdPTBS']===undefined&&(_0x2ae1['RdPTBS']=!![]),_0xb72a2=_0x2ae1['blUiIF'](_0xb72a2,_0x4e00ec),_0x439433[_0x51babb]=_0xb72a2):_0xb72a2=_0x1e4e8a,_0xb72a2;},_0x2ae1(_0x439433,_0x43a8aa);}async function Main(){const _0x1cf7ea=_0x1873f9;try{$[_0x1cf7ea(0x243,'bqQ!')]=null,$[_0x1cf7ea(0x2c6,'UT12')]=await getToken(originCookie,_0x1cf7ea(0x19e,'aMkB'));if(!$[_0x1cf7ea(0x84,'5Ahv')]){console[_0x1cf7ea(0x2a3,'%HkB')]('获取[Token]失败!'),$[_0x1cf7ea(0x238,'1z6L')][_0x1cf7ea(0x284,'hWS4')]('获取[Token]失败');return;}if(activityIdList1[_0x1cf7ea(0x1ef,'klo9')]>=0x1||activityIdList2[_0x1cf7ea(0x188,'GaT]')]>=0x1){if(lzkjFilter[_0x1cf7ea(0xc9,'8tO8')]>0x0&&(lzkjFilter[_0x1cf7ea(0xff,'JQeQ')]($['UserName'])||lzkjFilter[_0x1cf7ea(0x2c0,'tOO[')](encodeURIComponent($[_0x1cf7ea(0x20f,'ZpX3')]))))console[_0x1cf7ea(0x1d8,'5Ahv')]('已设置跳过运行当前账号\x20-\x20超级无线');else{$[_0x1cf7ea(0x1a1,'V4yI')]=null,$[_0x1cf7ea(0xa9,'FhyL')]=null,$['baseUrl']=_0x1cf7ea(0x8a,'U32['),$[_0x1cf7ea(0x70,'44YO')]=_0x1cf7ea(0x189,'aa&z'),$['activityMode']='lzkj',$[_0x1cf7ea(0x27f,'#w0T')]=$[_0x1cf7ea(0x20b,'tYj0')];try{const _0x2e0c85=parseInt(lzkj_signInterval),_0x3a4dca=_0x2e0c85<0xa&&_0x2e0c85>0x0?_0x2e0c85*0x3e8:_0x2e0c85;$[_0x1cf7ea(0xaf,'Q5N7')]=_0x3a4dca;}catch{$[_0x1cf7ea(0x274,'44YO')]=parseInt(lzkj_signInterval);}activityIdList2[_0x1cf7ea(0x27c,'UHXf')]>=0x1&&!$['lzkjOutFlag']&&($[_0x1cf7ea(0x20c,'FhyL')]=[],console[_0x1cf7ea(0x16d,'eM9x')](_0x1cf7ea(0x237,'UHXf')),await lzkjSign(activityIdList2,_0x1cf7ea(0x297,']]LH'),_0x1cf7ea(0x9a,'KJb9')),$[_0x1cf7ea(0x2b9,'b*eE')][_0x1cf7ea(0x7e,'FhyL')]>0x0&&(console[_0x1cf7ea(0x93,'klo9')](_0x1cf7ea(0x10e,'ZpX3')),$[_0x1cf7ea(0x2d9,'tOO[')][_0x1cf7ea(0x9e,'cpPV')](_0x1c175d=>{console['log'](_0x1c175d);}),activityIdList2=activityIdList2['filter'](_0x9ba3ca=>!$['needRemoveActivityIds']['includes'](_0x9ba3ca))),console['log']('')),$[_0x1cf7ea(0x269,'Oj]E')]&&($[_0x1cf7ea(0x28f,'tOO[')]=![],$[_0x1cf7ea(0x75,'bqQ!')]=!![]),activityIdList1[_0x1cf7ea(0x287,'h%tS')]>=0x1&&!$[_0x1cf7ea(0x1a7,'0grS')]&&($['needRemoveActivityIds']=[],console[_0x1cf7ea(0x18e,'bcSb')](_0x1cf7ea(0x123,'hWS4')),await lzkjSign(activityIdList1,_0x1cf7ea(0x18d,'SK@!'),_0x1cf7ea(0x24f,'$8Rv')),$[_0x1cf7ea(0x156,'JQeQ')]['length']>0x0&&(console['log'](_0x1cf7ea(0x24d,'FhyL')),$[_0x1cf7ea(0xcb,'tYj0')][_0x1cf7ea(0x154,'jC1m')](_0x265518=>{const _0xcacb01=_0x1cf7ea;console[_0xcacb01(0x247,'jC1m')](_0x265518);}),activityIdList1=activityIdList1['filter'](_0x103c71=>!$[_0x1cf7ea(0x191,'7TT8')][_0x1cf7ea(0x21f,'UT12')](_0x103c71))),console[_0x1cf7ea(0x1cb,'$8Rv')]('')),$[_0x1cf7ea(0xe7,'44YO')]&&($[_0x1cf7ea(0x18a,'ZpX3')]=![],$['lzkjOutFlag']=!![]);}}if(activityIdList3[_0x1cf7ea(0xc9,'8tO8')]>=0x1||activityIdList4[_0x1cf7ea(0xc9,'8tO8')]>=0x1){if(cjhyFilter[_0x1cf7ea(0x27d,'0grS')]>0x0&&(cjhyFilter[_0x1cf7ea(0x104,'SK@!')]($['UserName'])||cjhyFilter[_0x1cf7ea(0x132,'5sVZ')](encodeURIComponent($[_0x1cf7ea(0x13f,'44YO')]))))console[_0x1cf7ea(0x209,'z2Xq')](_0x1cf7ea(0x9d,'aMkB'));else{$[_0x1cf7ea(0x181,'bqQ!')]=null,$[_0x1cf7ea(0x198,'5sVZ')]=null,$[_0x1cf7ea(0x1ba,'gI4$')]=_0x1cf7ea(0x27e,'FhyL'),$['hostname']=_0x1cf7ea(0xe6,'KJb9'),$[_0x1cf7ea(0x20d,'ZpX3')]='cjhy',$[_0x1cf7ea(0x248,'tOO[')]=$[_0x1cf7ea(0xc7,'b*eE')];try{const _0x8e84e5=parseInt(cjhy_signInterval),_0x3af0a5=_0x8e84e5<0xa&&_0x8e84e5>0x0?_0x8e84e5*0x3e8:_0x8e84e5;$[_0x1cf7ea(0x220,'GaT]')]=_0x3af0a5;}catch{$[_0x1cf7ea(0x1cc,'$svG')]=parseInt(cjhy_signInterval);}activityIdList4[_0x1cf7ea(0x19c,'K6yO')]>=0x1&&!$[_0x1cf7ea(0x23f,'bqQ!')]&&($['needRemoveActivityIds']=[],console[_0x1cf7ea(0x256,'0grS')](_0x1cf7ea(0x1da,'JQeQ')),await cjhySign(activityIdList4,'/sign/signActivity',_0x1cf7ea(0x230,'PWW1')),$[_0x1cf7ea(0x2ec,'$svG')][_0x1cf7ea(0x1d1,'cpPV')]>0x0&&(console[_0x1cf7ea(0x23c,'UHXf')](_0x1cf7ea(0x71,'GaT]')),$[_0x1cf7ea(0x228,'PWW1')][_0x1cf7ea(0xcc,']]LH')](_0x50b420=>{const _0x5ca68c=_0x1cf7ea;console[_0x5ca68c(0x200,'K6yO')](_0x50b420);}),activityIdList4=activityIdList4['filter'](_0x2708e5=>!$[_0x1cf7ea(0xf9,'aa&z')]['includes'](_0x2708e5))),console[_0x1cf7ea(0x1fc,'58sc')]('')),$['outFlag']&&($[_0x1cf7ea(0x29f,'bqQ!')]=![],$['cjhyOutFlag']=!![]),activityIdList3[_0x1cf7ea(0x125,'tYj0')]>=0x1&&!$[_0x1cf7ea(0x10d,'$svG')]&&($[_0x1cf7ea(0xcb,'tYj0')]=[],console['log'](_0x1cf7ea(0x106,'Gkbr')),await cjhySign(activityIdList3,_0x1cf7ea(0x2d4,'FhyL'),_0x1cf7ea(0x183,'PWW1')),$[_0x1cf7ea(0x156,'JQeQ')][_0x1cf7ea(0x1eb,']]LH')]>0x0&&(console['log'](_0x1cf7ea(0x177,'0grS')),$[_0x1cf7ea(0x88,'UT12')]['forEach'](_0xe221a7=>{const _0x578402=_0x1cf7ea;console[_0x578402(0x11f,'Gkbr')](_0xe221a7);}),activityIdList3=activityIdList3[_0x1cf7ea(0x12f,'5Ahv')](_0xd9d2c=>!$['needRemoveActivityIds'][_0x1cf7ea(0x2a4,'Qt0!')](_0xd9d2c)))),$['outFlag']&&($[_0x1cf7ea(0x2af,'bcSb')]=![],$[_0x1cf7ea(0xeb,'UT12')]=!![]);}}}catch(_0x18dbe0){console[_0x1cf7ea(0x8e,'hWS4')]('❌\x20脚本运行遇到了错误\x0a'+_0x18dbe0);}}async function lzkjSign(_0x1e8f65,_0x3f1207,_0x13d114){const _0x2a06b0=_0x1873f9;activityCookie='',$[_0x2a06b0(0x202,'z2Xq')]='';let _0x3279c2=0x0;_0x115622:for(let _0x340b89=0x0;_0x340b89<_0x1e8f65[_0x2a06b0(0x29e,'hWS4')];_0x340b89++){$[_0x2a06b0(0x15e,'bcSb')]=_0x1e8f65[_0x340b89],$[_0x2a06b0(0x146,'SK@!')]=''+$[_0x2a06b0(0x187,'$svG')]+_0x3f1207+_0x2a06b0(0x2c5,'Gkbr')+$[_0x2a06b0(0x16e,'1z6L')];if(_0x340b89===0x0){await getFirstLZCK($[_0x2a06b0(0x111,']]LH')]);if($[_0x2a06b0(0x6f,'Oj]E')]){$['skipRun']=![];return;}await $[_0x2a06b0(0x1f7,'%HkB')]($[_0x2a06b0(0x2b6,'5sVZ')]);if(!$[_0x2a06b0(0x2c8,'eM9x')]){const _0x43b9ae=ActInfoMap[_0x2a06b0(0x276,'58sc')]($[_0x2a06b0(0x1a5,'5sVZ')]);if(!_0x43b9ae){$[_0x2a06b0(0x259,'z2Xq')]=null,await sendRequest('getSimpleActInfoVo'),await $['wait']($[_0x2a06b0(0x2ee,'#w0T')]);if($[_0x2a06b0(0x28a,'wA&9')])break _0x115622;}else $[_0x2a06b0(0x229,'P$lW')]=_0x43b9ae[_0x2a06b0(0x17f,'b*eE')],$[_0x2a06b0(0x19b,'SK@!')]=_0x43b9ae[_0x2a06b0(0x92,'klo9')];await sendRequest(_0x2a06b0(0x2e3,'D9Ks'));if(!$[_0x2a06b0(0x2e7,'5sVZ')]){console[_0x2a06b0(0xb1,'ZpX3')](_0x2a06b0(0x136,'bcSb')),$[_0x2a06b0(0xea,'aa&z')][_0x2a06b0(0x246,'Gkbr')](_0x2a06b0(0x27a,'0grS'));break;}await $[_0x2a06b0(0x1c6,'SK@!')]($[_0x2a06b0(0x220,'GaT]')]);}}_0x3279c2+=0x1;if(_0x3279c2>=0x3){_0x3279c2=0x0,await getFirstLZCK($[_0x2a06b0(0xd4,'Oj]E')]);if($[_0x2a06b0(0x1e4,'UT12')]){$[_0x2a06b0(0x2c1,'58sc')]=![];return;}await $[_0x2a06b0(0x273,'hWS4')]($['signIntervalTimes']);}$[_0x2a06b0(0x29a,'5Ahv')]=0x0,$[_0x2a06b0(0x152,'z2Xq')]=![],$[_0x2a06b0(0xd3,'58sc')]=![],$['signSuccess']=![];for(let _0x19f8fb=0x1;_0x19f8fb<=signFailMaxRetryTimes+0x1;_0x19f8fb++){$[_0x2a06b0(0x122,'tOO[')]='',await sendRequest(_0x13d114);_0x340b89!==_0x1e8f65[_0x2a06b0(0xdb,'#w0T')]-0x1&&$[_0x2a06b0(0x224,'$svG')]&&await $['wait']($[_0x2a06b0(0x196,']]LH')]);if($[_0x2a06b0(0x2a6,']]LH')])break;if($[_0x2a06b0(0x207,'Oj]E')]>0x0&&$[_0x2a06b0(0x2b8,'JQeQ')]<maxForbiddenRetryTimes){_0x19f8fb-=0x1;continue;}if($[_0x2a06b0(0x18f,'V4yI')]||_0x19f8fb>=signFailMaxRetryTimes+0x1){console['log']($[_0x2a06b0(0xdf,'Qt0!')]+_0x2a06b0(0x29b,'h%tS')+($['signErrorMsg']||_0x2a06b0(0x27b,'SK@!')));$[_0x2a06b0(0xd3,'58sc')]&&!$[_0x2a06b0(0x120,'$8Rv')]&&$['needRemoveActivityIds'][_0x2a06b0(0x270,'#w0T')]($['activityId']);break;}if($[_0x2a06b0(0x11c,'58sc')]){if(forbiddenQuit){$[_0x2a06b0(0x28b,'5sVZ')]=!![];break _0x115622;}}}}}async function cjhySign(_0xf96149,_0x23aead,_0x357132){const _0x44628f=_0x1873f9;activityCookie='',$['LZ_AES_PIN']='',$['pinToken']='',$['te']=Math[_0x44628f(0x26e,'bqQ!')](Math['random']()*0x2328)+0x3e8;let _0x2324d=0x0;_0x30798e:for(let _0x5b0c5a=0x0;_0x5b0c5a<_0xf96149['length'];_0x5b0c5a++){$[_0x44628f(0x171,']]LH')]=_0xf96149[_0x5b0c5a],$['activityUrl']=''+$[_0x44628f(0x204,'P$lW')]+_0x23aead+'?activityId='+$[_0x44628f(0x16e,'1z6L')];if(_0x5b0c5a===0x0){await getFirstLZCK($[_0x44628f(0x241,'$svG')]);if($['skipRun']){$[_0x44628f(0x97,'8tO8')]=![];return;}await $[_0x44628f(0x1c3,'jC1m')]($[_0x44628f(0x1e6,'ZpX3')]);}const _0x4608f4=ActInfoMap['get']($['activityId']);if(!_0x4608f4){$[_0x44628f(0x2a1,'5sVZ')]=null,await sendRequest(_0x44628f(0x216,'0grS')),await $[_0x44628f(0x2cf,'tYj0')]($[_0x44628f(0x289,'Oj]E')]);if($['outFlag'])break _0x30798e;}else $['venderId']=_0x4608f4[_0x44628f(0x80,'D9Ks')],$[_0x44628f(0x10a,'$8Rv')]=_0x4608f4[_0x44628f(0x2cd,'JQeQ')];_0x2324d+=0x1;if(_0x2324d>=0x3){_0x2324d=0x0,await getFirstLZCK($[_0x44628f(0x2e6,'eM9x')]);if($[_0x44628f(0xb8,'Gkbr')]){$[_0x44628f(0x20e,'ZpX3')]=![];return;}await $[_0x44628f(0x141,'$svG')]($[_0x44628f(0x151,'Qt0!')]);}$['initError']=![],$[_0x44628f(0x17e,'tOO[')]=await getToken(originCookie,$[_0x44628f(0x7a,'KJb9')]);if(!$['jdToken']){console[_0x44628f(0x295,'aa&z')](_0x44628f(0x2dd,'z)f*')),$['message']['insert'](_0x44628f(0x2c3,'tOO['));break;}$[_0x44628f(0x89,'U32[')]='',$[_0x44628f(0x12c,'44YO')]='',$['te']=Math[_0x44628f(0x299,'#w0T')](Math['random']()*0x2328)+0x3e8,activityCookie=common['filterCookieByFields'](activityCookie,[_0x44628f(0x91,'FhyL'),_0x44628f(0xee,'K6yO'),_0x44628f(0x22e,'44YO')])+';',await sendRequest(_0x44628f(0x138,'Q5N7'));if($[_0x44628f(0x87,'8tO8')])break _0x30798e;if($[_0x44628f(0xf8,'PWW1')]&&$[_0x44628f(0xc2,'Qt0!')]){$[_0x44628f(0x90,'#w0T')]=![],await $[_0x44628f(0x1e8,'0grS')]($[_0x44628f(0x210,'tYj0')]),await sendRequest(_0x44628f(0xae,'wA&9'));if($[_0x44628f(0x15f,'7TT8')]){if($['garbageAct']){$[_0x44628f(0x2b5,'wA&9')]=![],$[_0x44628f(0x191,'7TT8')]['push']($[_0x44628f(0x293,'$8Rv')]);continue;}console['log'](_0x44628f(0x12a,'7TT8')),$[_0x44628f(0x1e0,'klo9')]['insert'](_0x44628f(0x27a,'0grS'));break;}}if(!$[_0x44628f(0xfb,'aa&z')]){console[_0x44628f(0x2a2,'UT12')](_0x44628f(0x26d,'44YO')),$[_0x44628f(0x238,'1z6L')][_0x44628f(0x279,'SK@!')]('未能获取用户鉴权信息');break;}await $[_0x44628f(0x2c9,'JQeQ')]($[_0x44628f(0x9c,'UT12')]),await sendRequest(_0x44628f(0x13c,'P$lW')),await $['wait']($[_0x44628f(0x274,'44YO')]);if($[_0x44628f(0x102,']]LH')])break _0x30798e;$[_0x44628f(0xb2,'UT12')]=0x0,$[_0x44628f(0xb7,'Oj]E')]=![],$[_0x44628f(0x17c,'hWS4')]=![],$[_0x44628f(0x282,'GaT]')]=![],$[_0x44628f(0xc0,'FhyL')]=null;for(let _0x5a32da=0x1;_0x5a32da<=signFailMaxRetryTimes+0x1;_0x5a32da++){$[_0x44628f(0x169,'h%tS')]='',await sendRequest(_0x357132);_0x5b0c5a!==_0xf96149['length']-0x1&&$[_0x44628f(0xe4,'#w0T')]&&await $[_0x44628f(0x2d1,'GaT]')]($[_0x44628f(0xac,'mKyn')]);if($[_0x44628f(0x83,'SK@!')]){$[_0x44628f(0xbe,'aa&z')]=![],await getFirstLZCK($['activityUrl']);if($['skipRun']){$['skipRun']=![];return;}await $[_0x44628f(0x215,'z)f*')]($['signIntervalTimes']),await sendRequest(_0x44628f(0x21d,'h%tS')),await $[_0x44628f(0x17b,'z4yS')]($[_0x44628f(0x14d,'8tO8')]);}if($[_0x44628f(0x1af,'0grS')]>0x0&&$[_0x44628f(0x207,'Oj]E')]<maxForbiddenRetryTimes){_0x5a32da-=0x1;continue;}if($[_0x44628f(0x19d,'z)f*')])break;if($[_0x44628f(0x213,'JQeQ')]||_0x5a32da>=signFailMaxRetryTimes+0x1){console[_0x44628f(0xb0,'44YO')]($[_0x44628f(0x117,'#w0T')]+_0x44628f(0x214,'gI4$')+$[_0x44628f(0x2f0,'h%tS')]+'\x20'+($[_0x44628f(0xcd,'#w0T')]||_0x44628f(0x252,'8tO8')));$['signStop']&&!$[_0x44628f(0x1d2,'Q5N7')]&&$['needRemoveActivityIds']['push']($[_0x44628f(0x174,'UHXf')]);break;}if($[_0x44628f(0x150,'V4yI')]){if(forbiddenQuit){$[_0x44628f(0x129,'z4yS')]=!![];break _0x30798e;}}}}}async function handleResponse(_0x5b5c1d,_0x4d2eb3){const _0xf497b7=_0x1873f9;try{switch(_0x5b5c1d){case'getSimpleActInfoVo':if(_0x4d2eb3[_0xf497b7(0x95,'z)f*')]===!![]&&_0x4d2eb3[_0xf497b7(0x226,'GaT]')])$[_0xf497b7(0x2a1,'5sVZ')]=_0x4d2eb3[_0xf497b7(0x298,'KJb9')]?.[_0xf497b7(0x10f,'mKyn')],$[_0xf497b7(0x1b3,'eM9x')]=_0x4d2eb3['data']?.[_0xf497b7(0x1b3,'eM9x')],ActInfoMap[_0xf497b7(0x14b,'tOO[')]($[_0xf497b7(0x2bb,'5Ahv')],{'venderId':$[_0xf497b7(0x2b1,'K6yO')],'activityType':$[_0xf497b7(0x25b,'58sc')]});else _0x4d2eb3[_0xf497b7(0x257,'7TT8')]?console[_0xf497b7(0x247,'jC1m')](_0x5b5c1d+'\x20'+_0x4d2eb3[_0xf497b7(0x206,'b*eE')]):console['log']('❓'+_0x5b5c1d+'\x20'+JSON['stringify'](_0x4d2eb3));break;case'getMyPing':if(_0x4d2eb3[_0xf497b7(0x195,'wA&9')]===!![]&&_0x4d2eb3[_0xf497b7(0x137,'SK@!')])$[_0xf497b7(0x25e,'h%tS')]=_0x4d2eb3['data']?.['secretPin'],$[_0xf497b7(0x6d,'#w0T')]=$[_0xf497b7(0x25e,'h%tS')],$[_0xf497b7(0x296,'8tO8')]=_0x4d2eb3[_0xf497b7(0xb5,'z)f*')]?.[_0xf497b7(0x13b,'$8Rv')];else _0x4d2eb3[_0xf497b7(0x160,'h%tS')]?(console[_0xf497b7(0x10b,'GaT]')](_0x5b5c1d+'\x20'+_0x4d2eb3[_0xf497b7(0xd1,'1z6L')]),$[_0xf497b7(0x285,'5sVZ')][_0xf497b7(0x2d5,'aMkB')](_0x4d2eb3[_0xf497b7(0x115,'aa&z')])):console[_0xf497b7(0x2d3,'z)f*')]('❓'+_0x5b5c1d+'\x20'+JSON[_0xf497b7(0x1dd,'wA&9')](_0x4d2eb3));break;case _0xf497b7(0x1a9,'1z6L'):if(_0x4d2eb3[_0xf497b7(0x1de,'GaT]')]===!![]&&_0x4d2eb3['data'])$[_0xf497b7(0x271,'z4yS')]=_0x4d2eb3[_0xf497b7(0x298,'KJb9')]?.[_0xf497b7(0x1c1,'44YO')],$[_0xf497b7(0x2df,'Oj]E')]=encodeURIComponent($['secretPin']),$[_0xf497b7(0xb9,'1z6L')]=_0x4d2eb3[_0xf497b7(0x1d0,'$8Rv')]?.['nickname'];else _0x4d2eb3[_0xf497b7(0xa4,'cpPV')]?($[_0xf497b7(0x1f2,'gI4$')]=!![],[_0xf497b7(0x11b,'z2Xq')][_0xf497b7(0x199,'tOO[')](_0x1eb702=>_0x4d2eb3[_0xf497b7(0x1c0,'8tO8')][_0xf497b7(0x23d,'7TT8')](_0x1eb702))&&($['garbageAct']=!![]),console[_0xf497b7(0x18c,'mKyn')](_0x5b5c1d+'\x20'+_0x4d2eb3[_0xf497b7(0xa4,'cpPV')]),$[_0xf497b7(0x1c9,'KJb9')][_0xf497b7(0x250,'eM9x')](_0x4d2eb3['errorMessage'])):console[_0xf497b7(0x134,'1z6L')]('❓'+_0x5b5c1d+'\x20'+JSON[_0xf497b7(0x161,'aMkB')](_0x4d2eb3));break;case'getSimpleActInfoVo':if(_0x4d2eb3[_0xf497b7(0x245,'58sc')]===!![]&&_0x4d2eb3[_0xf497b7(0x1d0,'$8Rv')])$['venderId']=_0x4d2eb3[_0xf497b7(0x105,'58sc')]?.['venderId'],$['activityType']=_0x4d2eb3[_0xf497b7(0xe2,'FhyL')]?.[_0xf497b7(0x10a,'$8Rv')],ActInfoMap[_0xf497b7(0x29d,'7TT8')]($[_0xf497b7(0x21c,'tOO[')],{'venderId':$[_0xf497b7(0x25c,'SK@!')],'activityType':$['activityType']});else _0x4d2eb3['errorMessage']?console[_0xf497b7(0x11f,'Gkbr')](_0x5b5c1d+'\x20'+_0x4d2eb3[_0xf497b7(0x212,'Gkbr')]):console['log']('❓'+_0x5b5c1d+'\x20'+JSON[_0xf497b7(0x2aa,'b*eE')](_0x4d2eb3));break;case _0xf497b7(0x139,'7TT8'):case _0xf497b7(0x1dc,'$svG'):$[_0xf497b7(0x207,'Oj]E')]=0x0;if(!_0x4d2eb3[_0xf497b7(0xbf,'gI4$')]&&typeof _0x4d2eb3[_0xf497b7(0x1aa,'h%tS')]===_0xf497b7(0x258,'$8Rv')){$[_0xf497b7(0x2e1,'0grS')]=_0x4d2eb3[_0xf497b7(0xe5,'K6yO')];_0x4d2eb3[_0xf497b7(0x94,'jC1m')]?(!['火爆','擦肩','缓存','数据忙',_0xf497b7(0x26c,'%HkB')][_0xf497b7(0xe3,'D9Ks')](_0x540ced=>_0x4d2eb3[_0xf497b7(0x21e,'%HkB')][_0xf497b7(0x21b,'Oj]E')](_0x540ced))&&($['signStop']=!![]),['结束',_0xf497b7(0x23a,'UHXf'),'不在'][_0xf497b7(0x1a0,'GaT]')](_0x56f487=>_0x4d2eb3[_0xf497b7(0x16c,'1z6L')]['includes'](_0x56f487))&&$[_0xf497b7(0x2d9,'tOO[')][_0xf497b7(0x268,'K6yO')]($[_0xf497b7(0x260,'Oj]E')]),['会员'][_0xf497b7(0x76,'7TT8')](_0x4e1573=>_0x4d2eb3[_0xf497b7(0x180,'5Ahv')][_0xf497b7(0xd9,'0grS')](_0x4e1573))&&($[_0xf497b7(0x12e,'b*eE')]=_0xf497b7(0x222,'44YO')),[_0xf497b7(0x98,'#w0T')][_0xf497b7(0x1a4,'PWW1')](_0x3603a6=>_0x4d2eb3[_0xf497b7(0x1ca,'mKyn')][_0xf497b7(0xff,'JQeQ')](_0x3603a6))&&($['signErrorMsg']=_0xf497b7(0x217,'P$lW')),['7天'][_0xf497b7(0x193,'klo9')](_0x5f5a68=>_0x4d2eb3[_0xf497b7(0x1d5,'z2Xq')][_0xf497b7(0x1d7,'D9Ks')](_0x5f5a68))&&($[_0xf497b7(0x1f5,'mKyn')]=_0xf497b7(0x190,'bqQ!'))):$[_0xf497b7(0x25a,'Gkbr')]=!![];return;}$[_0xf497b7(0xd6,'bqQ!')]=!![];const _0x158011=_0x5b5c1d==='sevenDay_signUp'?_0x4d2eb3?.[_0xf497b7(0x72,'z4yS')]?.[_0xf497b7(0xe1,'$8Rv')]:_0x4d2eb3?.['gift'];if(_0x158011){const _0x204ba6=_0x158011[_0xf497b7(0xf7,'D9Ks')];let _0x4849bf='';process[_0xf497b7(0x2b4,'eM9x')][_0xf497b7(0x15b,'z2Xq')]($[_0xf497b7(0x86,'%HkB')]+_0xf497b7(0x290,'tYj0')+$['signTime']+'\x20');switch(parseInt(_0x158011[_0xf497b7(0x225,'aMkB')])){case 0x6:_0x4849bf='🎉\x20'+_0x158011[_0xf497b7(0x2e4,'$svG')]+'\x20🐶',$['message'][_0xf497b7(0x157,'$svG')](_0x158011[_0xf497b7(0x1a3,'gI4$')]+'🐶');break;case 0x7:const _0x3f1272=_0x4d2eb3[_0xf497b7(0x163,'D9Ks')];let _0x19ce90=_0x158011[_0xf497b7(0xf2,'58sc')];_0x4849bf=_0xf497b7(0x162,'gI4$')+_0x19ce90+_0xf497b7(0x1bf,'z4yS')+_0x158011[_0xf497b7(0x19f,'P$lW')]+_0xf497b7(0x2a5,'%HkB')+(_0x158011[_0xf497b7(0x22c,'Gkbr')]?_0xf497b7(0x13e,'tYj0')+_0x158011[_0xf497b7(0xfc,'cpPV')]:'');if(!_0x3f1272)break;const _0x215527={'baseUrl':$[_0xf497b7(0xc7,'b*eE')],'cookie':activityCookie,'ua':$['UA'],'activityId':$[_0xf497b7(0xdf,'Qt0!')],'activityType':$[_0xf497b7(0x135,'bcSb')],'venderId':$[_0xf497b7(0x8d,'tOO[')],'secretPin':$[_0xf497b7(0x9b,'FhyL')],'prizeName':_0x19ce90,'generateId':_0x3f1272,'activityUrl':$[_0xf497b7(0x13d,'PWW1')]},_0x41ec5d=wuxian_savePrize(_0x215527)||![];!isNotify&&_0x41ec5d&&await notify[_0xf497b7(0x26a,'aMkB')]($[_0xf497b7(0x166,'mKyn')]+_0xf497b7(0x1bc,'aa&z'),_0xf497b7(0x1d3,'bcSb')+$[_0xf497b7(0x24e,'K6yO')]+'】'+$[_0xf497b7(0x263,'7TT8')]+_0xf497b7(0x114,'z4yS')+_0x19ce90+',已成功自动登记收货地址\x0a\x0a'+$[_0xf497b7(0x110,'z4yS')]);$['message'][_0xf497b7(0x149,'K6yO')](_0x19ce90+'('+(_0x41ec5d?'已填地址':'未填地址')+_0xf497b7(0xd8,'UHXf'));break;case 0x8:_0x4849bf=_0xf497b7(0x1e1,'Oj]E'),$['message']['insert'](_0xf497b7(0x219,'GaT]'));break;case 0x9:_0x4849bf='🗑️\x20'+_0x158011[_0xf497b7(0x2a0,'7TT8')]+_0xf497b7(0x1bd,'gI4$'),$[_0xf497b7(0x2e8,'z2Xq')][_0xf497b7(0x288,'b*eE')](_0x158011[_0xf497b7(0x1a6,'aMkB')]+_0xf497b7(0x2e0,'KJb9'));break;case 0xd:case 0xe:case 0xf:_0x4849bf='🎉\x20恭喜获得'+_0x158011[_0xf497b7(0x2ef,'44YO')]+'\x20🎁',$[_0xf497b7(0x175,'SK@!')][_0xf497b7(0x157,'$svG')](_0x158011['giftName']+'🎁');!isNotify&&await notify[_0xf497b7(0x107,'cpPV')]($[_0xf497b7(0x286,'#w0T')]+_0xf497b7(0x261,'wA&9'),_0xf497b7(0x1b1,'hWS4')+$['index']+'】'+$['nickName']+_0xf497b7(0x178,'FhyL')+_0x158011[_0xf497b7(0x144,'ZpX3')]+'\x0a\x0a'+$['activityUrl']);break;case 0x10:_0x4849bf=_0xf497b7(0x127,'$svG')+_0x158011[_0xf497b7(0xf0,'klo9')]+_0xf497b7(0x1b8,'ZpX3'),$[_0xf497b7(0x128,'hWS4')][_0xf497b7(0xec,'44YO')](_0x158011['priceInfo']+_0xf497b7(0x113,'z)f*'));break;default:_0x158011[_0xf497b7(0x2c4,'Q5N7')][_0xf497b7(0x7c,'eM9x')]('券')?(_0x4849bf=_0xf497b7(0x240,'bqQ!'),$[_0xf497b7(0x239,'mKyn')][_0xf497b7(0x28c,'U32[')]('优惠券🗑️')):(console[_0xf497b7(0x93,'klo9')](_0x158011[_0xf497b7(0x2da,']]LH')]),$[_0xf497b7(0xea,'aa&z')]['insert'](_0x158011[_0xf497b7(0x2b0,'z)f*')]));break;}_0x204ba6&&(_0x4849bf+=_0xf497b7(0x2a8,'8tO8'),$[_0xf497b7(0xab,'JQeQ')]['messages'][_0xf497b7(0x133,'b*eE')]()),console[_0xf497b7(0x291,'tOO[')](_0x4849bf);}else console[_0xf497b7(0x256,'0grS')]($[_0xf497b7(0x2b2,'KJb9')]+'\x20➜\x20'+$[_0xf497b7(0x1ad,'mKyn')]+_0xf497b7(0x81,'bcSb'));}}catch(_0x33127e){console['log']('❌\x20未能正确处理\x20'+_0x5b5c1d+_0xf497b7(0x2ea,'D9Ks')+(_0x33127e[_0xf497b7(0x281,'44YO')]||_0x33127e));}}async function sendRequest(_0x54c75d){const _0x317410=_0x1873f9;if($[_0x317410(0x2ae,'1z6L')])return;let _0x43499e=$[_0x317410(0x20b,'tYj0')],_0x1a728d=null,_0x4307bc=null,_0x27d554=null,_0x532704=_0x317410(0x1ce,'z)f*');switch(_0x54c75d){case _0x317410(0x227,'cpPV'):_0x43499e+=_0x317410(0x170,'UHXf'),_0x1a728d={'activityId':$[_0x317410(0x14f,'V4yI')]};break;case _0x317410(0x13a,'$8Rv'):_0x43499e+=_0x317410(0x158,'gI4$'),_0x1a728d={'token':$[_0x317410(0x2ce,'UHXf')],'fromType':_0x317410(0x1fa,'h%tS'),'userId':$['venderId']};break;case _0x317410(0xe9,'#w0T'):_0x532704=_0x317410(0x2b3,'0grS'),_0x43499e+='/customer/initPinToken',_0x27d554={'status':'1','activityId':$[_0x317410(0x1c7,'bqQ!')],'jdToken':$['jdToken'],'source':'01','venderId':$['venderId'],'uuid':$['UUID'],'clientTime':Date[_0x317410(0x14e,'KJb9')]()};break;case _0x317410(0x2c7,'UHXf'):_0x43499e+=_0x317410(0xbb,'GaT]'),_0x1a728d={'venderId':$['venderId'],'code':$[_0x317410(0x85,'bqQ!')],'pin':$['formatPin'],'activityId':$[_0x317410(0x79,'h%tS')],'pageUrl':$[_0x317410(0x1b4,'7TT8')],'subType':_0x317410(0x266,'z2Xq'),'adSource':''};break;case _0x317410(0x22b,'Oj]E'):_0x43499e+=_0x317410(0x1b9,'UHXf'),_0x1a728d={'venderId':$[_0x317410(0x80,'D9Ks')],'code':$[_0x317410(0x201,'h%tS')],'pin':$[_0x317410(0x155,'eM9x')],'activityId':$[_0x317410(0x79,'h%tS')],'pageUrl':$[_0x317410(0x172,'%HkB')],'subType':_0x317410(0x1ab,'jC1m')};break;case _0x317410(0xd7,'FhyL'):_0x43499e+='/sign/wx/signUp',_0x1a728d={'actId':$['activityId'],'pin':$[_0x317410(0x6e,'GaT]')]};break;case _0x317410(0x82,'h%tS'):_0x43499e+=_0x317410(0x165,'aa&z'),_0x1a728d={'actId':$[_0x317410(0x126,'aMkB')],'pin':$[_0x317410(0x8f,'SK@!')]};break;default:console['log']('❌\x20未知请求\x20'+_0x54c75d);return;}const _0x4f21b0=$[_0x317410(0xf3,'klo9')]===_0x317410(0x1b2,'K6yO')&&wuxianDefense[_0x317410(0x194,'tOO[')](_0x43499e['replace']($[_0x317410(0xa1,'1z6L')],'')[_0x317410(0x221,'FhyL')]('?')[0x0]);_0x4f21b0&&(_0x1a728d?.[_0x317410(0x2a7,'#w0T')]&&(_0x1a728d[_0x317410(0x254,'GaT]')]=encodeURIComponent($['secretPin'])),_0x4307bc={'ecyText':wuxianDefense[_0x317410(0x277,'Q5N7')]({'actId':$[_0x317410(0x1a5,'5sVZ')],..._0x1a728d},$[_0x317410(0x223,'z2Xq')],$['te'])});const _0x4ce8f4={'url':_0x43499e,'method':_0x532704,'headers':{'Accept':_0x317410(0x2ab,'klo9'),'Accept-Encoding':_0x317410(0x242,'Qt0!'),'Accept-Language':_0x317410(0x2d6,'UT12'),'Connection':_0x317410(0x1fb,'cpPV'),'Content-Type':_0x4f21b0?_0x317410(0x186,'mKyn'):_0x317410(0xa8,'JQeQ'),'Cookie':activityCookie[_0x317410(0x253,'44YO')](),'Origin':$['origin'],'Referer':$[_0x317410(0xd4,'Oj]E')],'Sec-Fetch-Dest':_0x317410(0xc8,'58sc'),'Sec-Fetch-Mode':_0x317410(0x1e7,'bqQ!'),'Sec-Fetch-Site':_0x317410(0x2d8,'b*eE'),'User-Agent':$['UA'],'X-Requested-With':_0x317410(0x1b0,'wA&9')},'params':_0x27d554,'data':_0x4f21b0?_0x4307bc:_0x1a728d,'timeout':0x7530};_0x532704==='GET'&&(delete _0x4ce8f4[_0x317410(0xa7,'cpPV')],delete _0x4ce8f4['headers'][_0x317410(0xde,'D9Ks')]);const _0x4de19e=[_0x317410(0x1d6,'bqQ!'),_0x317410(0x11a,'tOO[')][_0x317410(0x1fd,']]LH')](_0x54c75d)?0x1:0x3;let _0x5e6912=0x0,_0x137c80=null,_0x46b644=![];while(_0x5e6912<_0x4de19e){[_0x317410(0x139,'7TT8'),_0x317410(0x2ed,'K6yO')][_0x317410(0x104,'SK@!')](_0x54c75d)&&($['signTime']=common['formatTime'](_0x317410(0xdc,'eM9x')));_0x5e6912>0x0&&await $[_0x317410(0x2cf,'tYj0')](0x3e8);const _0x273b37=await common[_0x317410(0x294,'7TT8')](_0x4ce8f4);if(!_0x273b37[_0x317410(0x25f,'z2Xq')]){![_0x317410(0x73,'bcSb'),'sevenDay_signUp'][_0x317410(0xf1,'bqQ!')](_0x54c75d)?_0x137c80=_0x54c75d+_0x317410(0x1ed,'FhyL')+_0x273b37[_0x317410(0x17d,'0grS')]:_0x137c80=$['activityId']+_0x317410(0x1d9,'JQeQ')+_0x273b37[_0x317410(0xd0,'PWW1')];_0x5e6912++;if(_0x273b37['status']){if(_0x273b37[_0x317410(0x203,'58sc')]===0x1f4&&_0x4f21b0)_0x4ce8f4[_0x317410(0xa7,'cpPV')]={'ecyText':wuxianDefense['encrypt']({'actId':$[_0x317410(0x2bd,'wA&9')],..._0x1a728d},$[_0x317410(0x1a2,'aa&z')],$['te'])};else[0x193,0x1ed][_0x317410(0x164,'U32[')](_0x273b37[_0x317410(0xcf,'UHXf')])&&([_0x317410(0x118,'wA&9'),_0x317410(0x1dc,'$svG')][_0x317410(0xd9,'0grS')](_0x54c75d)?$[_0x317410(0x1df,'aMkB')]=!![]:_0x46b644=!![]);}$[_0x317410(0x278,'GaT]')]&&($[_0x317410(0x14a,'V4yI')]+=0x1);continue;}if([_0x317410(0x26f,'klo9'),_0x317410(0x23b,'$8Rv')][_0x317410(0x2d0,'ZpX3')](_0x54c75d))break;if(!_0x273b37[_0x317410(0x1cf,'JQeQ')]){![_0x317410(0x9f,'UT12'),_0x317410(0x262,'KJb9')][_0x317410(0x159,'58sc')](_0x54c75d)?(_0x137c80=_0x54c75d+_0x317410(0x2d7,'PWW1'),$[_0x317410(0x1ea,'b*eE')]=!![]):_0x137c80=$[_0x317410(0x24c,'Q5N7')]+_0x317410(0x143,'1z6L');_0x5e6912++;_0x4f21b0&&_0x5e6912<_0x4de19e-0x1&&(_0x4ce8f4[_0x317410(0x1ae,'gI4$')]={'ecyText':wuxianDefense[_0x317410(0x185,'D9Ks')]({'actId':$[_0x317410(0xbc,'SK@!')],..._0x1a728d},$[_0x317410(0x1a2,'aa&z')],$['te'])});continue;}const _0x1ad778=common['getResponseCookie'](_0x273b37,activityCookie);let _0x753294='';switch(_0x54c75d){case _0x317410(0xa0,'bqQ!'):_0x753294=common['getCookieValue'](_0x1ad778,_0x317410(0x12c,'44YO'));_0x753294?$[_0x317410(0xbd,'jC1m')]=_0x753294:(console[_0x317410(0x1d8,'5Ahv')](_0x317410(0x255,'tOO[')),$[_0x317410(0x2db,'$svG')]['fix'](_0x317410(0x28e,'8tO8')),$[_0x317410(0xda,'#w0T')]=!![]);break;case _0x317410(0x2ad,'SK@!'):const _0x3259c8=common[_0x317410(0x16f,'z)f*')](_0x1ad778,_0x317410(0xce,'bcSb'));if(_0x3259c8)$[_0x317410(0x2e2,'7TT8')]=_0x3259c8;else{console[_0x317410(0x295,'aa&z')](_0x317410(0x1f6,'klo9')),$['message'][_0x317410(0x2c2,'K6yO')]('获取[pinToken]失败'),$['skipRun']=!![];break;}_0x753294=common[_0x317410(0xca,'jC1m')](_0x1ad778,_0x317410(0x211,'58sc'));if(_0x753294)$[_0x317410(0x2dc,'P$lW')]=_0x753294;else{console[_0x317410(0x16b,'D9Ks')](_0x317410(0x1ac,'aa&z')),$[_0x317410(0x239,'mKyn')][_0x317410(0x2bc,'D9Ks')](_0x317410(0x1f4,'bcSb')),$[_0x317410(0xa6,'aMkB')]=!![];break;}const _0x2806ad=common[_0x317410(0x1ec,'K6yO')](_0x1ad778,'te');_0x2806ad&&($['te']=_0x2806ad);break;}['getMyPing',_0x317410(0x130,'cpPV'),'sevenDay_signUp']['includes'](_0x54c75d)&&(activityCookie=_0x1ad778);await handleResponse(_0x54c75d,_0x273b37[_0x317410(0x148,'$svG')]),_0x753294=common[_0x317410(0x23e,'z4yS')](activityCookie,'LZ_AES_PIN');!_0x753294&&$[_0x317410(0x1b7,'Qt0!')]&&(activityCookie+=_0x317410(0x234,'$8Rv')+$[_0x317410(0x1e5,'K6yO')]+';\x20');const _0x54dc06=common['getCookieValue'](activityCookie,'AUTH_C_USER');!_0x54dc06&&$[_0x317410(0x142,'Gkbr')]&&(activityCookie+=_0x317410(0xad,'z)f*')+$[_0x317410(0x147,'b*eE')]+';\x20');const _0x352e6e=common[_0x317410(0x1a8,'PWW1')](activityCookie,'pToken');!_0x352e6e&&$[_0x317410(0x119,'5Ahv')]&&(activityCookie+=_0x317410(0x78,'mKyn')+$[_0x317410(0xa5,'P$lW')]+';\x20');const _0x3fb309=common[_0x317410(0x21a,'FhyL')](activityCookie,'te');!_0x3fb309&&$['te']&&(activityCookie+=_0x317410(0x265,'5sVZ')+$['te']);_0x46b644=![];break;}_0x5e6912>=_0x4de19e&&(console[_0x317410(0xb4,'P$lW')](_0x137c80),![_0x317410(0x7b,'UHXf'),_0x317410(0x12b,'0grS')][_0x317410(0x116,'8tO8')](_0x54c75d)&&_0x46b644&&forbiddenQuit&&(!['signUp','sevenDay_signUp'][_0x317410(0x23d,'7TT8')](_0x54c75d)&&($[_0x317410(0x8c,'$8Rv')]=!![])));}async function getFirstLZCK(_0x45e354){const _0x4ff80f=_0x1873f9;$['skipRun']=!![];const _0x96d48b={'url':_0x45e354,'method':_0x4ff80f(0xaa,'tYj0'),'headers':{'Accept':'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7','Accept-Encoding':'gzip,\x20deflate,\x20br','Accept-Language':'zh-CN,zh;q=0.9','Connection':'keep-alive','Sec-Fetch-Dest':_0x4ff80f(0x1f0,']]LH'),'Sec-Fetch-Mode':_0x4ff80f(0x108,'5sVZ'),'Sec-Fetch-Site':_0x4ff80f(0x101,'cpPV'),'Referer':_0x45e354,'User-Agent':$['UA']},'timeout':0x7530},_0x15699a=0x3;let _0x44d92f=0x0,_0x2217e8=null,_0xbd1f2e=![];while(_0x44d92f<_0x15699a){const _0x338d11=await common[_0x4ff80f(0x267,'z4yS')](_0x96d48b);if(!_0x338d11[_0x4ff80f(0x1bb,'$svG')]){_0x2217e8=_0x4ff80f(0xef,'JQeQ')+_0x338d11['error'],_0x44d92f++;_0x338d11[_0x4ff80f(0xc4,'8tO8')]&&([0x193,0x1ed][_0x4ff80f(0x159,'58sc')](_0x338d11[_0x4ff80f(0x26b,'$svG')])&&(_0xbd1f2e=!![]));continue;}if(!_0x338d11[_0x4ff80f(0xe2,'FhyL')]){_0x2217e8=_0x4ff80f(0xd2,'K6yO'),_0x44d92f++;continue;}activityCookie=common[_0x4ff80f(0x173,'ZpX3')](_0x338d11),LZ_AES_PIN=common[_0x4ff80f(0x1ff,'5sVZ')](activityCookie,'LZ_AES_PIN');!LZ_AES_PIN&&$[_0x4ff80f(0x11d,'1z6L')]&&(activityCookie+=_0x4ff80f(0x234,'$8Rv')+$[_0x4ff80f(0x2ac,'$svG')]+';\x20');const _0xc030d2=common['getCookieValue'](activityCookie,_0x4ff80f(0x24b,'wA&9'));!_0xc030d2&&$[_0x4ff80f(0xfb,'aa&z')]&&(activityCookie+=_0x4ff80f(0xad,'z)f*')+$[_0x4ff80f(0x2cc,'%HkB')]+';\x20');const _0x173aa4=common[_0x4ff80f(0xfd,'Q5N7')](activityCookie,_0x4ff80f(0x20a,'FhyL'));!_0x173aa4&&$[_0x4ff80f(0x1b5,'Q5N7')]&&(activityCookie+=_0x4ff80f(0x74,'5Ahv')+$[_0x4ff80f(0x119,'5Ahv')]+';\x20');const _0x12f142=common['getCookieValue'](activityCookie,'te');!_0x12f142&&$['te']&&(activityCookie+=_0x4ff80f(0xfa,'Q5N7')+$['te']);$[_0x4ff80f(0x208,'h%tS')]=![];break;}_0x44d92f>=_0x15699a&&(console[_0x4ff80f(0x264,'wA&9')](_0x2217e8),_0xbd1f2e&&forbiddenQuit&&($[_0x4ff80f(0xe8,'h%tS')]=!![]));}
// 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)}