// # Source: https://github.com/xfmeng970526/ql/blob/main/mb.js
// # Raw: https://raw.githubusercontent.com/xfmeng970526/ql/main/mb.js
// # Repo: xfmeng970526/ql
// # Path: mb.js
// # UploadedAt: 2023-09-20T12:13:28+08:00
// # SHA256: fa0d1257b530812da4543f19afa65564c3e302fae34d8c649a45d064739fa7bc
// # Category: 微信小程序/抓包版
// # Evidence: appid/openid/session_key/encryptedData等小程序字段
// 

/*
目标:  美步App 需配合小程序  #小程序://美步运动/Fvzc2ZkYBgsbWzj
抓包headers里的token多账号换行隔开

格式：export meibu="token=eyJ0eXAixxxxxx"
提现：export funwalkpay="0.5"      //默认提现额度

频道: https://t.me/+O6-uZI3t6uhhMmU1
投稿群: https://t.me/+aR-68_3PHE1lYzU9
cron: 20 5,19 * * *
new Env('81-美步App');
项目名称：美步App
*/

const $ = new Env("美步");
let envSplitor = ['\n']  //多账号隔开方式，默认换行可自定义
///////////////////////////////维护参数//////////////////////////////////
let defaultUA = 'okhttp/4.9.0'             //默认UA
let funwalkpay = ($.isNode() ? process.env.funwalkpay : $.getdata('funwalkpay')) || '';              //提现
///////////////////////////////////////////////////////////////////

var version_='jsjiami.com.v7',_0x1782=(function(){return[...[version_,'VHjQsjVinaxhmJAiEt.wlcFoYmJ.kuvWxy7EIWUO==','W4hcICk8W6pdLq','W43dNw4','W4u1WQmBWQy','W4PUWOf+y8ocuW','W5POWOHK','W6pdI8kgkt4','cbz3uW8','W7xcISk7W4y','WOCqFLXs','W4vdW4ZdIqVdGSkqowtdN8kYAKVdTCkJka','WQZcGmkMW4/dKCk3zCojW5byWO7cM8oH','WRn3W5D0W6K','xSosEW','5ysQW6pcGCk3ErpLJydMJAVNJj4','WQfXWRpdIGRcRCok','fdi2t8odWO5D','qvGz4OcI4OgJ4OoN4Ogd44os','EqiSWRPjfa','W63dKv3cVSkC','6lAt5y6JWOO','n8ovC3HVzCo/CGaV','WQLSW4hdPGS','WRu+W6ddO2CzgCo2W6SatCk7a8o9kblcQqSBhb80WRNcTZjaqCkomg1eWPNdHfr9WQ8cWReIW5dcTq5rWPqSf8oSgSkndWepweRcKK8/W5atqmo5W4C','WR8Bw2LVqXC','W6LHW5Tf','q2TnnW','m8oMCxr6','qhbbkwmpemkBWOy','WOD2l8kwWPP8amoQW5SQzSk7','WOWlWRSeWRldLCkmWR9PW4NdIYlcRa','W7vrW7xdR8k6','y3lcS2i9','WRKEWQPBqq','b8kIW4hdVW','W6NdJCoSWP8','WQC3WOBdUri','f11fWQNdKW','W5vwW6XBW7FcHq','l1f6WP3dJW','W7FcIt3cP8oTCCkxW4y','W7ddMCorWPVcQW','CqBcOZfSWPSsFmoNW7y','Be3cVdfSWPK','hWCGsSoZ','W7tKUiVMIyRMRA/MLBBcLG','vCosC3vzWPJcG8kglq','DZ7cTcCu','dgpcPfa','jqldIbHHCCo+sXn0W48PW7y','m1f/WP/dG0yLW4xdSmo2hG','WQORW73dPW','oe1RWO3dJW','W43cGeVdRCofnq','W7brW7xdRCkHFComuNBdI8kP','cSk6emowz1XL','xmkwW7VdK8k7W4SHW5JdImoBW6VcVSk8yG','W6VcHCk2W5FdTq','uHGmW6dcOW','WRLZWQVdR8k6','i8ojEW','EWiYWRri','eGX2rG','W5KoW4VdGHBdOSkhmw8','d8kWf8otCa','d8kMgq','W7hcKhRdM8ob','W7b9W4qbia','gSkZW4ddSZm','W5lcK1ddQ8ob','W750W6z9ya','WPnAWR3dU8k1EX/cUCotW5iwWQXoW5FdUmk6W6JcJZLXq8kduXa9W4P0sG/cVCkM','WPrdWQpdTSkWDaC','WRbOW7DPW6S','uCovW6FdLCk2','BxbcdCoyvu4','tmkQW7n4WO80oW','W4z8W5mt','Bs5jxs55WO7dU3HlWOBcKSoH','W4/dK2tcIG','W7qmWOi+WOS','WQukxhzWd10JCtpcM33dHG9ZWONdNmkhW4FcGb91wtbVW43dOeJcLmogW4qqamo+WRBcTfvNWRNcUg1pW45FySoeWPnLWRtcP3iqW4ypf8oNmgZcKJK','W4PhW7aoW6NcNSotWQK','W77cRN/dP8k6kM9Ima','qL/cQxKd','W73dISo+WOdcQCoHmCouW7K','W44oW43dIbhdQCkBk38','uoASHUAuRUwMI+wkNvO','WPH7WRxdJGq','kJzdxty','WQf7WOVdUqpcPCok','y17cI0C/pSkR','W5PCW6XiW6BcG8oiW6PmW5JdTqK','nhOCaxm9W4G','ke59WPhdLq','W7RdL8o7WPi','WR9UW7blW4u','WO8MWOvxrW','tmkybCk8dG','aXD3tW','smkGW7vDWOqIbJVcPhOJWO4','WPH9W592nCoqfwex','h8kIW4ddSYm','W6JcMchdSSoZAG','W4hcK1BdQCoe','W500W4pdIc8','6lsR5y6ubq','xCovW57dHmkt','eq1GxG','WPbOcbpcHYVdSCktu2ddQq','cmkClCoWsq','W7G4WOeUWOy','W6X1W4pdHCks','6lEH5y+VW6C','WR0lw24','W7FdMCoYWPi','WQNcP0vpva','W6ddP8k3faC0WR3dMxzfvvxdJHuNWR3dLCkMmSk+W67dH8kEW5PLWPJcTSo5WPawx17dGCoTs8o0CdVcGvdcVKlcNcxdGanEkghcIqKlov7cKq','icGIWOdcNW','obCbWRBcUG','W6fCrwLTuaTyAtpcL3hcMLJNUR/LJ7VcN8kw','WRq5WPRdRbRdGCouWQRcT8kYlSoA','CLtcLLW2jSk6aaTBW5a/','W4ldG8k7cd8','WPfTW4RdNd8pcW','dM3cRG','W5VcO8ofpW'],...(function(){return[...['WQD8W7pdLre','WOz/j8krWPH0xSo+W64vwSkoWOC','yh7cKxWA','v3bhi2qpemkBWOy','WOKzWQ1ABW','yg/cVZzr','W5C7WRur','W5WKWRySWOi','ECk0nCkd','6lwW5y6Yoa','W5r8W4qE','jIqrWO/cMG','jcaqWOhcM8oWkG','eSk6dCof','WQZcRvHKC8kjhW','FrLKW6NdGW','W6RdQ2/cL8ki','yu7cI0a','ySk6o8k2cuhcI3O+W7jeWOC','WPCSWObvxq4','hYuvECoG','lf94WOW','hqa5WPVcUq','5lIn6lAs5y28','W6hcN1ddO8k1','bCk6eCovDNP/W5BcLG','emk6W5/dRq4','WR4RW7RdGxfcuG','i8olC2T0ACoi','oK5HWPtdIeqRW7BdRmoWfaaVw8o0uCorzmo+W6yTW6bLW4mXWPq7WOddSSkuBa','WQarrMn6','W6DRW5fBuSk1','WObRWP1gtbyAlML6','WObpWR7dUmkWBHS','W6VdVmkTebfGW6BdM2nmtb4','W47cNuxdI8ocp8kja8oGW6LnbG','EGOsW6lcTa','cMFcQfeeDfe','WRm3WOddUq','WPKCW7RdLgi','W4TsW4nEW4K','W7zFW7BdRW','CCkgjmoepq','WOKSWP5EsavD','WOTZaWq','W7RdTSkWcXH4W7C','W6PBW6JdPCkVASog','z8kGW7XOWO8OphNcNhyRWPb3W6K','etGMuG','W5LfWPLfya','WR85WPRdVX3dJSop','aCk3W5JdQJqjW5tcLmopW54fqw1xWQ9hWPOlWOpcKSoODbS4pthcQ0tdLSoGhqNdGmo/WRFdRY/dKsldUCkIW7pcVML4WPWkWOBdNSoLWPKBCSoLhCk1W5Dr','WR8Bs2nQqXDCFYRcNcC','6lEP5yYNeW','umoeAhrMWRhcHmkslCk7','gSkEfSo2CW','uIlcGsaA','W6BcHmk8W5C','EshcRHGZ','6lwe5y+1WPi','AmoNwv5H','qSosB2u','W4a6WRunWQudx8kChG','xSkvW759WOq','CSkdo8of','vmosW4xdSSk6','WQVcMc3cUCoV','W4ddPCksiYi','WRfTW5PYW7q','pxmr','W6tdVmkK','CLpcMuq/lCkGsHPXW4K9W6a','WPpdG2RcV8kQm8kP','ASk0kmkw','WOXeW4ddOZ8','W58pW4ddLaRdJmkw','W5/MOkVMTPNLIOlORlpNV7/MJy3NJyC','W5dcL1hdPCoalCkI','6lED5y6+WRu','F1RcLu0','FSk0lSkwcG','W59lW6mpaW','W5ioW4pdPWVdGCk8n3/dSCkHEG','W5VcTSohmSkq','a0ObW7lcLhb5WO0','xmk2b8ou','erDGqG','W50KFCoeW4K5','FqW3WRny','jmkeW4ldNYm','dc0KWRJcMW','za06WRHu','W6blW7n9ua','W6pNU4pLJQhKV7/PO7JcNW','W40rW4JdJXe','aCkMW43dVIjbWOG','WPPBW7FMOk3LVOJPLRRORPq','eCo4WQCUW5nWFblcTeeuWP1z','W7LsW7C','W77cQN7dPa','W4TUWOTZ','oIOeWQ/cMCoIasyjfmoSwq','W6dcHmk2W4S','W6j+W5Hvxa','WQZcUX7cLSokWOJdOW','WQpcVY8','sc14W4q','W4PQWRLRASofqW','5Q6E5O2y5OU2ca','W6qSCSodW6a','W6/cQ8ogcSk3','z3zvW5RdH8k+DZG2k8oHC8ok','W6tdVmkKjrPQW5ZcMwnCwGi','FvtcNW','pNazha','WP8OWPPt','W6hcQMddPmkFmM4','WRb/WPBdHaRcSSol','WQuZWOFdTXpdMCof','5Q2j6l+Y5Qcl5AEZ5yIaW6C','WRrXW5T/','FsOtW4pcOG','W6tcRNRdVW','rCkspCkfkq','W7FcVxldVmkYnhTRiCk7FIv/uSoZ','WOPIbrhcJdZdU8keswddO8oi','qXWmW5dcTq','W7j4W5mYfG'],...(function(){return['mwWA','W4ZcRIVdS8oO','WRb5W5vL','W4tMR53OVkhMO7dLPRBLIl5V5lM75AAO5BEc6Agg5yYd','W5maW4JdIIZdI8kwpxm','wXdcUXC','WQb9WPldHce','W43cTCoLgSkC','W41CW6LzW60','W4xdGgJcMmkNd8kcW7f0','xWCtW4xcQb8DW6OVWQ0hnwpdSSklW64Fde8qWP/cICoBWPRdS8o7sCkRW7jMCSkOWPNcVunNhGBdJSoBWQfiE8kEWPbwpmkCqW7cMmk0imkGW75u','p3CCcxOQW5xdQ19UWO7cPSoJ','uxfmnxGHaq','FSk6nCkze2lcShWU','jSoey3G','A+ADKUAjREwiHJtcUhFORk/PMOVORA/OH7BMNQlORBFMMkq','WQb9WQNdGCkM','asWECYDWxCkdWQNcPmokWQu5','yvRcIKK+','W6BdSSkUaq','qmoTW5pdQCkK','wcnNW4ddNW','WRhcPSo2u0i9W5JcPw1qAJy','WQhcRfTxCSkenxXGWRhcKsq','edGSx8ohWPri','uLhcMHbI','vbWjW4hcVKTgW6G6WQqEFG','W6pdUSoZWPJcKq','xwXp','hZGLASomWP5YvuRcSCkRqq','W7rBW7xdRCk3Da','WOJdHSo/WP/cOmk8WRddMSoFWRJdSLPiW7rloEATUoAwNEAjU+AVOwBcQmofWR7cN8onW77dHx3cMSoMWPjHW4ddKa','ftrfDZm','xhPgigmG','WR8qWQ92sa','aZyWsSop','zwpcLu8u','W58VW57dOte','WPpMNPlMI6hLI4FcO8oeDEITHUMAHoIVI+IhMUAFUEITN+AzUa','zSoYW5hdJ8ku','WOfAWQhdVSkO','EvdcONDJWPHFka','wrikW5a','WPVdSmofhSk0uSkOAW','WQL5W5f0','W4ZcKZVdJ8or','W7VdQSokWO7cTW','lHqj5Qcx5B6T6zEJ6k+t','AeVcTdW','EehcOYPLWP1v','CSkxoSomja','6lAu5y6Xta','fSkXpmohsG','bqieW6xcN3D9','6lwe5yYIjq','W4mGtSomW4C','aehdRKvMqhTrW5XxW73cRq','uCoxsL1M','EhfChue','W7LjW7NdVSkZ','EsxcOZKq','WRD3W49L','ECkGlmk1ka','WQ5/WOVdJblcRa','W5hdK3VcNmkl','i8ovz3vYy8onCGWWBmkaW5mFWOKVW6ddHCkTW690lmoDWR0BW7dcJMKDm28','walcSq','WOK/W5VdNMu','WQL5WQJdPZ8','vahcPH4/eNrxW6XrW4ddHmk9BdhdU8ovWRDZlfnKW4ZcLJmvbSoaW4BdLmkU','WPi6WQbDtqm','t8k7e8oMW58','W6hdJSotWQ3cOG','v8ovW7NdNCk/','WQXaW715W7a','WPO5WP5EqavzydbOW5SoWPqMWPrqkWjvW6ddTSoAWOtcLLxcHhpdLGX0qq','W6b9W7mebq','WPPOaG0','WP9OcrdcLGBdT8kNuG','W6aiFCosW70','xq5NW5pdIq','xSosE1beWRdcPmkAlCk6WRZcHW','W6JMJOtNJAfs','iCk6emofyfn+WPlcVSkuc8oLW6Oj','WQurrMfHvb0','rrdcPbm7','rCoBW6/dHq','y17cIeqYk8kR','CLdcRKK/iCkQ','eSkMfCoutG','W6VcVSoepCkS','EfxcNe0Rb8kO','sLHDeeC','W5vCW6v9W63cICoYWQHmW4JdOXu','uXitW5q','v8kTf8obW7TdWQhcM8kcDHpcGXpdT0iEvW/dUxJcUSk+BJqfd8oKwCombWxdJConWPmtW6KprqBcQbhcQ8kDg8kyWQFdP2fjWRHcpYf2WPb7','mhaAjhGRW7xdO05uWOhcUa','aHnfvXVcMJm','WRW+WO1kyCkHW5VcK8kIWPFdLSkQW7NdHs8u6lAn5yY75QkX5RE1WPbFzbVcOCoFWOiXy8kIrCkjfWpcSG','bSk0cSoq','W70JWOKgWPq','mSoezxH2','W4tdU8ou5Qol5B+V6zAw6k66','y3zahSoFrG','W6XjW7vDyW','W5ldGeVcUCk8','W6pcNSkMW5RdOSoJ','6lER5y6jCW','6lwv5y6Ggq','d8oCyK50','W6ZcItVdPCo0omoxWOFdU8kycI/dNKfaW6VcVbiZWOj6W4ddJmkcFcGbvmkQe2ddQCoUg2nPE0iJu8kxW7hdIZZdLK7dMKm6W6JdPSoWvNGDeG','hurRWO/dJa','WR4KW6tdHwq','WQ8rth8','rryuW5RcT1nx','W5JcQCocnCkqra','W6xcPKpdVCon','cwhcHhK4','hSkbWR7cI8oKWPyFW4ZdH8oxW5NdKq','ASkzjSokkYCqjN3cHJC','ECo6FwnK','z8oUD3He','x8ooEW','W7HMW5bls8kUAW','WPXlWQddSG','6lwK5y2sta'];}())];}())];}());const _0xd0a39d=_0x3e5d;(function(_0x3c546c,_0x479b40,_0xc42094,_0x2ad5ee,_0x438621,_0x4f4a3b,_0x19b6ff){return _0x3c546c=_0x3c546c>>0x3,_0x4f4a3b='hs',_0x19b6ff='hs',function(_0x490cd4,_0x146042,_0x4fd53a,_0x4476e5,_0x327d33){const _0x1afcd4=_0x3e5d;_0x4476e5='tfi',_0x4f4a3b=_0x4476e5+_0x4f4a3b,_0x327d33='up',_0x19b6ff+=_0x327d33,_0x4f4a3b=_0x4fd53a(_0x4f4a3b),_0x19b6ff=_0x4fd53a(_0x19b6ff),_0x4fd53a=0x0;const _0x5ee35b=_0x490cd4;while(!![]&&--_0x2ad5ee+_0x146042){try{_0x4476e5=parseInt(_0x1afcd4(0x16e,'x$]&'))/0x1+-parseInt(_0x1afcd4(0x120,'iA53'))/0x2*(parseInt(_0x1afcd4(0x190,'lYZq'))/0x3)+-parseInt(_0x1afcd4(0x139,'Igi@'))/0x4+-parseInt(_0x1afcd4(0x223,'#w)v'))/0x5+parseInt(_0x1afcd4(0x1e0,'&3bZ'))/0x6+-parseInt(_0x1afcd4(0x12c,'wile'))/0x7*(parseInt(_0x1afcd4(0x147,'OjPA'))/0x8)+-parseInt(_0x1afcd4(0x183,'XKLo'))/0x9*(-parseInt(_0x1afcd4(0x206,'*Fb6'))/0xa);}catch(_0x12eafd){_0x4476e5=_0x4fd53a;}finally{_0x327d33=_0x5ee35b[_0x4f4a3b]();if(_0x3c546c<=_0x2ad5ee)_0x4fd53a?_0x438621?_0x4476e5=_0x327d33:_0x438621=_0x327d33:_0x4fd53a=_0x327d33;else{if(_0x4fd53a==_0x438621['replace'](/[kyuAVYEltxJhHFQOwnWUI=]/g,'')){if(_0x4476e5===_0x146042){_0x5ee35b['un'+_0x4f4a3b](_0x327d33);break;}_0x5ee35b[_0x19b6ff](_0x327d33);}}}}}(_0xc42094,_0x479b40,function(_0x54acc7,_0x179dab,_0x3fa4d6,_0x1d2454,_0x4e1901,_0xf328b4,_0x16fddb){return _0x179dab='\x73\x70\x6c\x69\x74',_0x54acc7=arguments[0x0],_0x54acc7=_0x54acc7[_0x179dab](''),_0x3fa4d6=`\x72\x65\x76\x65\x72\x73\x65`,_0x54acc7=_0x54acc7[_0x3fa4d6]('\x76'),_0x1d2454=`\x6a\x6f\x69\x6e`,(0x11ff9a,_0x54acc7[_0x1d2454](''));});}(0x600,0xd3da7,_0x1782,0xc2),_0x1782)&&(version_=_0x1782);let httpResult,httpReq,httpResp,userCookie=($[_0xd0a39d(0x19e,'Uy*%')]()?process['env']['meibu']:$[_0xd0a39d(0x1e5,'#1Ac')](_0xd0a39d(0x215,'MXMa')))||'',userList=[],userIdx=0x0,userCount=0x0,num=[0x3e8,0x7d0,0x1388];class UserInfo{constructor(_0x431e35){const _0x20cc0d=_0xd0a39d;this[_0x20cc0d(0x133,'2L#X')]=++userIdx,this[_0x20cc0d(0x16b,'x$]&')]=this['index'],this[_0x20cc0d(0x212,'2L#X')]=![],this[_0x20cc0d(0x22f,'Z3XE')]=![];try{this[_0x20cc0d(0x16a,'*Fb6')]=$[_0x20cc0d(0x227,'PWLz')](_0x431e35),this['ckValid']=!![];}catch(_0x5904a6){this[_0x20cc0d(0x1b9,'Sl5p')]=![],$['logAndNotify'](_0x20cc0d(0x1c3,')lVe')+this['index']+_0x20cc0d(0x187,'#1Ac'));}}async['my'](){const _0x4ae915=_0xd0a39d,_0x42edb5={'HSdfo':function(_0x3915ce,_0x5a1121){return _0x3915ce!==_0x5a1121;},'cUgnJ':'lxPsA','uzYAF':function(_0xb94460,_0x3c3be8,_0x48c6cc){return _0xb94460(_0x3c3be8,_0x48c6cc);},'FTYsf':function(_0x46fd1e,_0x204a25){return _0x46fd1e==_0x204a25;},'ipgDA':_0x4ae915(0x1fe,'&3bZ')};try{if(_0x42edb5[_0x4ae915(0x159,'e#^z')](_0x4ae915(0x1a7,'PDjx'),_0x42edb5[_0x4ae915(0x23e,'XpnL')])){let _0x2749c9=_0x4ae915(0x1c6,'e#^z'),_0x1055d4=_0x4ae915(0x274,'Uy*%'),_0x1025c1=''+this[_0x4ae915(0x17b,'#1Ac')][_0x4ae915(0x1fc,'wxE2')],_0x546f68=populateUrlObject(_0x2749c9,_0x1025c1,_0x1055d4);await _0x42edb5[_0x4ae915(0x21b,'6c5#')](httpRequest,_0x4ae915(0x261,'MXMa'),_0x546f68);let _0xa4e4e1=httpResult;if(!_0xa4e4e1)return;_0x42edb5['FTYsf'](_0xa4e4e1[_0x4ae915(0x234,'&3bZ')],0xc8)?await this['up']():_0x4ae915(0x17f,'W(MV')!==_0x42edb5[_0x4ae915(0x25b,'sN3&')]?$[_0x4ae915(0x277,'uAdb')](_0x4ae915(0x18b,'PDjx')+this[_0x4ae915(0x27d,'3xw7')]+']'+_0xa4e4e1[_0x4ae915(0x1d2,'A!#Z')]):_0x10b200[_0x4ae915(0x252,'42Wk')](_0x348d78);}else return _0x1da2a3['resolve'](0x1);}catch(_0x1f6536){}finally{return Promise[_0x4ae915(0x260,'OjPA')](0x1);}}async['up'](){const _0x496cd6=_0xd0a39d,_0x502304={'ZhGVl':function(_0x4a3e06,_0x402f76,_0x1877c6,_0x23f598){return _0x4a3e06(_0x402f76,_0x1877c6,_0x23f598);},'JPxlK':function(_0x4db168,_0x23e3ec,_0x352b16){return _0x4db168(_0x23e3ec,_0x352b16);}};try{let _0x139a1d=_0x496cd6(0x24a,'x$]&'),_0x2ba227='{\x22encryptedData\x22:\x22aiWHleXemeH1LQDOqhiUmLsRNkaZu+yXfqsB0wgvQrqAM12HVcJTsb8cjp0QvfbyWtmEiZVyvV1gbwx0noN5V9o5jpJguns9cObYo/6j0DPSQHNdHJsDTUrD22O4lzLUt9ib35P0N1w7IH7vwCWjShZgpDWlNdfs/kbR4Uaju+ftz8NuRUJmXpUEkWR+S2qXh66XDjWSOoq9wB9Myj0AKDSRHDC4G/dTDW9wqmk7CfwQDBKqqBqn+c5MoOoThsvsK7ujJ/XTuUdF7oojEZ7NHluAxy+8D0QtkDlw5MG3xYynK845gNYvqjYyU1rXu3ATu1ocQgYS+lONj2eVZNVeASfEsdEe2KVMi4EAq0xHeIFM42mtrkKX+b4+S09aXbgSLQfnC+CSdPRYN5JZspc3zWQetZoxM5NQb527AnEjb44cdtBWQGCx4CVfEme1pBkNv1JLO8LpYnRhiuNkstJzJK9LntKdkmwj6oRY+PROrm5Ew96jwFfialXXIyCtOa5yKXOp8ObS/ysfZERHI90j9nJ/DW75SudtvYITnw3pp06R+e+FEQNPYyfzW8bPw6Nc4ZhU4zqotYj46YGLWY1kSjA5sxNrktCB0QR10HYB+977f36PYG0kUc1PL4FJiTidTfkw2K5Xyi49G7erlvEN0iNGAC7eDX3R8rPNBRuwR7+rGDsZtsgRKNIFLFIKL2jPmo+8o6MHc4XN/hm4JUz3muDdTGqFmeQ8G1CDTYBTE9C6+CL5e3kSboleErcRaCcDiEL6T1NIKLgff9T/zpjqcTFSPbh1Az1P4F/Y0tAh+VDoHrQggPLqPwBnkTI9HY/z7sLVpsgixoczs2w+3lbdlZbovUsbP0iXgO/U96I4ltu4bN3+yHN9Zs1/q+Q1LVTFLAgCU2QNpNx7LALrn9QEvUGs7QTzDjQ3gFeNlGM8N15mlmKKNMiV5lnO8wVb0n6ftUmd3zPMWelfzLk0DwwUghsjRxfw0fqjURRsdUhzIa0R1X7j8bC9gIpSXvFP/jMVkHEQxhVZIAnjtki8fehxGSgI5bIcewjP/8GxmizUvGPs39mk3RsqGalXt3FtkCS0CjCRTggk7NL7fDL9Et8gDnv+b9h01VjgdXYMiUFOaiDlOvE4jDXr79ZNL5b1ddUoALRARqhehNVvE3Xvb/tRTxMJ5aCLvi20iWP7TDHyIulawQjF8vYSJqCbGaOppr4dev2L0nUm6pS0Dvt2+fOs307NVHRnoLEIfOKFMc2c2gawiuSBTcbyqhVRw8bOI3c4qj0UXSz8wWZD8B1CS6WvtuR9brJJGakfbOKKDPBaSCUBLOjBiraSNJD9K8UTej01owhyft5dm8HZv79TvX9DIaM2TWWcvslgnmoNXXUBEI2IKymrN3S9g2z/dQd7pbElcTnD6/ln67HW1rnsHrv6a9kqnPyxzp2A687yKEXCQZlpz9BCSavoRsU44+0Dayx+N5153mLZpb1Rq/1KogUmKVR5dHlNlkemsrP3GE2w0NKB73+tMHmsey+p0y7JHowSwxkfxYNycl3RdXV6UrqbJTr/6rHZAKeW7gZapGmZcbo=\x22,\x22iv\x22:\x222cUUwj+qMlZT6u9mgL4a5Q==\x22,\x22sessionKey\x22:\x22VO78SwOWycisb0uMPC1z0g==\x22}',_0x3a0d22=''+this[_0x496cd6(0x128,'VM&s')][_0x496cd6(0x156,'wile')],_0xa0bc2a=_0x502304[_0x496cd6(0x132,'OjPA')](populateUrlObject,_0x139a1d,_0x3a0d22,_0x2ba227);await _0x502304[_0x496cd6(0x250,'x$]&')](httpRequest,_0x496cd6(0x222,'YxrJ'),_0xa0bc2a);let _0x4b36e7=httpResult;if(!_0x4b36e7)return;_0x4b36e7[_0x496cd6(0x12d,'uHbH')]==0xc8?($['logAndNotify'](_0x496cd6(0x1e9,'sN3&')+this['name']+_0x496cd6(0x202,'%K**')+_0x4b36e7[_0x496cd6(0x121,'VM&s')][_0x496cd6(0x280,'Ubex')]),this['valid']=!![],this[_0x496cd6(0x26f,'bi)u')]=!![]):$[_0x496cd6(0x12a,'XpnL')](_0x496cd6(0x1e9,'sN3&')+this[_0x496cd6(0x127,'*Fb6')]+']'+_0x4b36e7[_0x496cd6(0x19a,'lYZq')]);}catch(_0x8db465){}finally{return Promise['resolve'](0x1);}}async[_0xd0a39d(0x1ea,'Duf*')](){const _0x2c927d=_0xd0a39d,_0x257fa1={'wpKxl':_0x2c927d(0x24f,'*Fb6'),'xKhGv':_0x2c927d(0x21c,'n(S1'),'kwQDd':_0x2c927d(0x123,'XpnL'),'tXmgG':_0x2c927d(0x283,'Igi@'),'qfYmm':function(_0x286e8f,_0xa8770f,_0x1179ba,_0x43be9e){return _0x286e8f(_0xa8770f,_0x1179ba,_0x43be9e);},'VnScI':function(_0x587945,_0x294116,_0x508050){return _0x587945(_0x294116,_0x508050);},'dHeNI':_0x2c927d(0x291,'A!#Z'),'ZkfRw':function(_0x2bf488,_0x3eea45){return _0x2bf488===_0x3eea45;},'ZZEOK':_0x2c927d(0x1a8,'RRl9'),'MGnEd':function(_0x423ca4,_0x60ecee){return _0x423ca4>_0x60ecee;},'tKXOQ':function(_0xc43507,_0x21abcc){return _0xc43507!==_0x21abcc;},'aNzGT':'PODkT','aRxRb':function(_0x2f492a,_0x234eb2){return _0x2f492a===_0x234eb2;},'TuOMq':_0x2c927d(0x1b2,'XKLo'),'HvQGV':'tdBvO','ipgiz':function(_0x384cf3,_0x3939e2){return _0x384cf3===_0x3939e2;},'xsHWV':_0x2c927d(0x19f,'uHbH'),'ZaPeb':_0x2c927d(0x11c,'KJKQ'),'KYfxf':'QWggQ','esNAx':function(_0x1b05fb,_0x5f54c7){return _0x1b05fb===_0x5f54c7;}};try{let _0x298554=_0x2c927d(0x162,'wile'),_0x1a184d=_0x2c927d(0x1ff,'iWik'),_0x492262=''+this[_0x2c927d(0x1ad,'lYZq')][_0x2c927d(0x156,'wile')],_0x38ce7f=_0x257fa1[_0x2c927d(0x18f,'PDjx')](populateUrlObject,_0x298554,_0x492262,_0x1a184d);await _0x257fa1[_0x2c927d(0x1a4,'YxrJ')](httpRequest,_0x257fa1[_0x2c927d(0x11a,'X1Q(')],_0x38ce7f);let _0x9f5d44=httpResult;if(!_0x9f5d44)return;if(_0x9f5d44['data'][_0x2c927d(0x213,'Sl5p')]>0x7d0){if(_0x257fa1['ZkfRw'](_0x257fa1[_0x2c927d(0x290,'A!#Z')],_0x257fa1['ZZEOK'])){if(_0x257fa1[_0x2c927d(0x131,'UJ0u')](_0x9f5d44[_0x2c927d(0x166,'Duf*')][_0x2c927d(0x22b,'XpnL')]['length'],0x0)){if(_0x257fa1[_0x2c927d(0x245,'3xw7')](_0x257fa1[_0x2c927d(0x17d,'XpnL')],'PODkT'))try{_0x272d5a=_0x12f3b8[_0x2c927d(0x198,'iA53')](_0x11c460[_0x2c927d(0x1a5,'Ubex')]);}catch(_0x1e5064){_0x3e0165=_0x44c39c['body'];}else{let _0x3da99f=_0x9f5d44?.[_0x2c927d(0x142,'RRl9')]['pointList']||[];for(let _0x2043a3 of _0x3da99f){_0x257fa1['aRxRb']('CxofH',_0x257fa1[_0x2c927d(0x19b,'bi)u')])?(this['pointGuid']=_0x2043a3[_0x2c927d(0x165,'VM&s')],this['step']=_0x2043a3['step'],await $[_0x2c927d(0x25c,'VM&s')](0xbb8),await this[_0x2c927d(0x155,'Ubex')]()):(_0x9f0a3d['body']=_0x23952c,_0x2e24f0['headers'][_0x257fa1[_0x2c927d(0x21e,'KJKQ')]]=_0x257fa1[_0x2c927d(0x28b,'MXMa')]);}}}else _0x2c927d(0x18c,'MXMa')===_0x257fa1[_0x2c927d(0x11b,'x$]&')]?$['logAndNotify'](_0x2c927d(0x126,'Uy*%')+this[_0x2c927d(0x224,'iA53')]+']步达标奖励:今天已领取'):_0x150123[_0x2c927d(0x149,'*Fb6')](_0x43955d);let _0x46eda5=_0x9f5d44?.[_0x2c927d(0x1b6,'wile')][_0x2c927d(0x20b,'3xw7')]||[];for(let _0x501a3b of _0x46eda5){if(_0x257fa1[_0x2c927d(0x13f,'6c5#')](_0x257fa1['xsHWV'],_0x257fa1[_0x2c927d(0x22d,'Z3XE')])){let _0x2a4310=_0xbd6400['replace']('//','/')[_0x2c927d(0x219,'UJ0u')]('/')[0x1],_0x9b9bdb={'url':_0x242162,'headers':{'Host':_0x2a4310,'token':_0x5a7928,'platform':_0x257fa1['kwQDd'],'User-Agent':_0x20a43c},'timeout':0x1388};return _0x1fd635&&(_0x9b9bdb[_0x2c927d(0x238,'Sl5p')]=_0x55136b,_0x9b9bdb['headers'][_0x257fa1['wpKxl']]=_0x2c927d(0x1a3,'Uy*%'),_0x9b9bdb[_0x2c927d(0x279,'42Wk')][_0x257fa1[_0x2c927d(0x17c,'*Fb6')]]=_0x9b9bdb['body']?_0x9b9bdb[_0x2c927d(0x13e,'aXwk')][_0x2c927d(0x1fb,'PWLz')]:0x0),_0x9b9bdb;}else this[_0x2c927d(0x242,'Ubex')]=_0x501a3b[_0x2c927d(0x1cf,'yUg%')],await $[_0x2c927d(0x269,'wxE2')](0xbb8),await this['receiveHongbao']();}}else this['goodsGuid']=_0x803061['data'][_0x2c927d(0x203,'A!#Z')][0x0][_0x2c927d(0x26d,'MXMa')];}}catch(_0xa5caff){if(_0x257fa1[_0x2c927d(0x264,'iA53')]===_0x257fa1[_0x2c927d(0x210,'n(S1')])console[_0x2c927d(0x11e,'x$]&')](_0xa5caff);else return _0x2456b5[_0x2c927d(0x282,'3xw7')](0x1);}finally{if(_0x257fa1[_0x2c927d(0x15f,'XKLo')]('BMYKi',_0x2c927d(0x237,'VM&s')))return Promise[_0x2c927d(0x14c,'(pAk')](0x1);else this['param']=_0x4ebe07[_0x2c927d(0x181,'iWik')](_0x5e2fad),this[_0x2c927d(0x1e4,'Z3XE')]=!![];}}async[_0xd0a39d(0x288,')lVe')](){const _0x368eb0=_0xd0a39d,_0x5be43b={'JuWqE':function(_0x1d2db4,_0x10dfad,_0x1bfc65,_0x367497){return _0x1d2db4(_0x10dfad,_0x1bfc65,_0x367497);},'eFfXD':function(_0x34f7ae,_0x476d36,_0x43d0dd){return _0x34f7ae(_0x476d36,_0x43d0dd);},'GpVQO':'post'};try{let _0x49f37e=_0x368eb0(0x287,'UJ0u'),_0x4e7c9a=_0x368eb0(0x20d,'W(MV')+this[_0x368eb0(0x1f1,'Qwi$')]+'\x22}',_0x3240d9=''+this[_0x368eb0(0x1a1,'W(MV')][_0x368eb0(0x16d,'RRl9')],_0x1abb0a=_0x5be43b['JuWqE'](populateUrlObject,_0x49f37e,_0x3240d9,_0x4e7c9a);await _0x5be43b['eFfXD'](httpRequest,_0x5be43b['GpVQO'],_0x1abb0a);let _0x52f3e7=httpResult;if(!_0x52f3e7)return;$[_0x368eb0(0x266,'VM&s')]('账号['+this[_0x368eb0(0x1d4,'n(S1')]+']'+this[_0x368eb0(0x1ef,'Qwi$')]+_0x368eb0(0x14f,'RRl9')+_0x52f3e7['data']['title']);}catch(_0xc7a318){}finally{return Promise[_0x368eb0(0x14d,'Z3XE')](0x1);}}async['receiveHongbao'](){const _0x40487f=_0xd0a39d,_0xe831a7={'ujtfB':function(_0x78961,_0x47049b){return _0x78961===_0x47049b;},'DtJfB':'bbOTZ','JXebo':function(_0x5b1c47,_0x3648aa,_0x229563,_0x2a8ce7){return _0x5b1c47(_0x3648aa,_0x229563,_0x2a8ce7);},'Fndfl':function(_0xc8bdd6,_0x5e32ad,_0x3960a0){return _0xc8bdd6(_0x5e32ad,_0x3960a0);},'qEiTI':_0x40487f(0x195,'KJKQ')};try{if(_0xe831a7['ujtfB'](_0xe831a7[_0x40487f(0x254,'wij4')],_0xe831a7['DtJfB'])){let _0x10e5ff=_0x40487f(0x226,')lVe'),_0x2c4b42=_0x40487f(0x1df,'XpnL')+this[_0x40487f(0x207,'wxE2')]+'\x22}',_0x358498=''+this[_0x40487f(0x1bd,'Duf*')]['token'],_0x200188=_0xe831a7['JXebo'](populateUrlObject,_0x10e5ff,_0x358498,_0x2c4b42);await _0xe831a7[_0x40487f(0x218,'YxrJ')](httpRequest,_0xe831a7[_0x40487f(0x256,'*Fb6')],_0x200188);let _0x208b8a=httpResult;if(!_0x208b8a)return;$[_0x40487f(0x1a9,'A!#Z')](_0x40487f(0x25d,'OjPA')+this['name']+_0x40487f(0x22c,'2L#X')+_0x208b8a[_0x40487f(0x174,'Qwi$')]);}else return _0x3108f6[_0x40487f(0x14d,'Z3XE')](0x1);}catch(_0x32f237){}finally{return Promise['resolve'](0x1);}}async[_0xd0a39d(0x228,'(pAk')](){const _0x30af2d=_0xd0a39d,_0x104b5a={'oLyPl':function(_0x40730a,_0x1771a2,_0x4263c6,_0x292ae7){return _0x40730a(_0x1771a2,_0x4263c6,_0x292ae7);},'rIKJn':function(_0x1b6294,_0x1ea90f,_0x45f343){return _0x1b6294(_0x1ea90f,_0x45f343);},'USkin':function(_0xda7280,_0x134fef){return _0xda7280>_0x134fef;},'KGarN':_0x30af2d(0x20f,'wile')};try{let _0x2caf2c=_0x30af2d(0x1b7,'uHbH'),_0x375a78='',_0x6a5b34=''+this[_0x30af2d(0x21a,'uAdb')][_0x30af2d(0x160,'PWLz')],_0x5281ba=_0x104b5a[_0x30af2d(0x122,'wij4')](populateUrlObject,_0x2caf2c,_0x6a5b34,_0x375a78);await _0x104b5a[_0x30af2d(0x1f5,'*Fb6')](httpRequest,_0x30af2d(0x12e,'Sl5p'),_0x5281ba);let _0x28b60e=httpResult;if(!_0x28b60e)return;$['logAndNotify']('账号['+this['name']+']当前有积分:'+_0x28b60e[_0x30af2d(0x14b,'Uy*%')][_0x30af2d(0x130,'2L#X')]);if(_0x104b5a[_0x30af2d(0x1d1,'A!#Z')](task[_0x30af2d(0x1cb,'XKLo')],0xbb8)){if(_0x104b5a[_0x30af2d(0x1d0,'A!#Z')]===_0x104b5a[_0x30af2d(0x153,'VM&s')])this[_0x30af2d(0x214,'XpnL')]=_0x28b60e[_0x30af2d(0x27a,'!ir3')][_0x30af2d(0x1a6,'Ubex')][0x0][_0x30af2d(0x257,'Qwi$')];else{if(_0x3dda47)_0x26964f['push'](new _0x581fde(_0xd63a68));}}else $[_0x30af2d(0x13d,'OjPA')](_0x30af2d(0x18e,'MXMa')+this[_0x30af2d(0x205,'42Wk')]+']积分不足，放弃兑换');}catch(_0x47a9ce){}finally{return Promise[_0x30af2d(0x189,'iWik')](0x1);}}async[_0xd0a39d(0x161,'iA53')](){const _0x1c2578=_0xd0a39d,_0x4e4422={'zGuWP':'BCmuv','GmmQS':_0x1c2578(0x201,'#1Ac'),'jKosX':function(_0x4e24d4,_0x58cd54,_0x102bb4,_0x1ec7bd){return _0x4e24d4(_0x58cd54,_0x102bb4,_0x1ec7bd);},'awbtp':function(_0x4c7a9d,_0x3346a6,_0x1319f9){return _0x4c7a9d(_0x3346a6,_0x1319f9);},'bgwoG':'post','gGJaE':function(_0x3e1942,_0x3562de){return _0x3e1942>_0x3562de;},'jYTXd':function(_0x8cd5e7,_0x9d37f0){return _0x8cd5e7==_0x9d37f0;},'cjVLL':function(_0x7482a6,_0x2a6c6a){return _0x7482a6===_0x2a6c6a;},'Fzzwm':function(_0x551b9f,_0xf46e01){return _0x551b9f!==_0xf46e01;},'BwtCu':_0x1c2578(0x293,'Igi@')};try{if(_0x4e4422[_0x1c2578(0x1b4,'Qwi$')]===_0x4e4422[_0x1c2578(0x146,'XKLo')])this[_0x1c2578(0x1b9,'Sl5p')]=![],_0x593b53[_0x1c2578(0x13d,'OjPA')](_0x1c2578(0x1c3,')lVe')+this[_0x1c2578(0x20e,'aXwk')]+_0x1c2578(0x138,'KJKQ'));else{let _0x3f5609='https://api.funwalk.com.cn/step-api/api/wallet/drawIndex',_0x110297='',_0x55be6c=''+this[_0x1c2578(0x25f,'OjPA')]['token'],_0x15736c=_0x4e4422[_0x1c2578(0x259,'iWik')](populateUrlObject,_0x3f5609,_0x55be6c,_0x110297);await _0x4e4422[_0x1c2578(0x193,'3xw7')](httpRequest,_0x4e4422[_0x1c2578(0x15e,'Z3XE')],_0x15736c);let _0x500d2c=httpResult;if(!_0x500d2c)return;$[_0x1c2578(0x16f,'B%sw')](_0x1c2578(0x1d5,'Duf*')+this[_0x1c2578(0x184,'KJKQ')]+_0x1c2578(0x135,'XpnL')+_0x500d2c[_0x1c2578(0x1bb,'MXMa')][_0x1c2578(0x1ac,')lVe')]);let _0x3ad941=_0x500d2c?.['data']['hongbaoDrawItemList']||[];for(let _0x302b45 of _0x3ad941){$[_0x1c2578(0x266,'VM&s')](_0x1c2578(0x289,'X1Q(')+this[_0x1c2578(0x15d,'lYZq')]+']'+_0x302b45[_0x1c2578(0x220,'DZ7s')]+'--'+_0x302b45[_0x1c2578(0x13b,'(pAk')]),_0x4e4422[_0x1c2578(0x1c0,'6c5#')](_0x500d2c[_0x1c2578(0x166,'Duf*')]['hongbao'],''+funwalkpay)&&(_0x4e4422['jYTXd'](''+funwalkpay,_0x302b45[_0x1c2578(0x20c,'MXMa')])&&(_0x4e4422[_0x1c2578(0x191,'A!#Z')](_0x1c2578(0x1bc,'sN3&'),'TzqIR')?_0x254bd5['logAndNotify'](_0x1c2578(0x289,'X1Q(')+this[_0x1c2578(0x182,'wile')]+']'+_0x3afa20[_0x1c2578(0x158,'#w)v')]):($[_0x1c2578(0x1b8,'#w)v')](_0x1c2578(0x23f,'2L#X')+this[_0x1c2578(0x248,'&3bZ')]+_0x1c2578(0x124,'aXwk')+funwalkpay+_0x1c2578(0x1e3,'UJ0u')),this[_0x1c2578(0x1f4,'3xw7')]=_0x302b45[_0x1c2578(0x286,'!ir3')],await $[_0x1c2578(0x15a,'KJKQ')](0xbb8),await this[_0x1c2578(0x154,'(pAk')]())));}}}catch(_0x1128be){}finally{return _0x4e4422[_0x1c2578(0x1c7,'wxE2')](_0x1c2578(0x1d6,'aXwk'),_0x4e4422['BwtCu'])?Promise[_0x1c2578(0x125,'uAdb')](0x1):_0x549813[_0x1c2578(0x281,'x$]&')](0x1);}}async['drawApplication'](){const _0x45817d=_0xd0a39d,_0x15340e={'eSkSr':function(_0x1056a9,_0x2a301c,_0x1e445d,_0x13f195,_0x241b24){return _0x1056a9(_0x2a301c,_0x1e445d,_0x13f195,_0x241b24);}};try{let _0x1bdbce=_0x45817d(0x1ec,'bi)u'),_0xb89e17='{\x22accountType\x22:\x22微信\x22,\x22money\x22:'+this[_0x45817d(0x272,')lVe')]+_0x45817d(0x24d,')lVe'),_0x322d4f=''+this[_0x45817d(0x1f9,'!ir3')][_0x45817d(0x1e1,'KJKQ')],_0x3b228c=Buffer[_0x45817d(0x28a,'A!#Z')](''+_0xb89e17,'utf8'),_0x1898dd=_0x15340e['eSkSr'](populateUrlObject1,_0x1bdbce,_0x322d4f,_0x3b228c,_0xb89e17);await httpRequest('post',_0x1898dd);let _0x32ae83=httpResult;if(!_0x32ae83)return;$[_0x45817d(0x148,'x$]&')]('账号['+this['name']+_0x45817d(0x1aa,'sN3&')+_0x32ae83[_0x45817d(0x216,'MXMa')]);}catch(_0x1791cd){}finally{return Promise['resolve'](0x1);}}async[_0xd0a39d(0x150,'KJKQ')](){const _0x40b855=_0xd0a39d;for(let _0x4d952e of num){this['target']=_0x4d952e,await this[_0x40b855(0x11f,'*Fb6')](),await $['wait'](0x1388);}}async[_0xd0a39d(0x163,'#w)v')](){const _0x29c729=_0xd0a39d,_0xb05a6f={'MlPFE':_0x29c729(0x278,'wile'),'JnVZQ':function(_0x464f5a,_0x461103,_0x18bc66,_0x41c858){return _0x464f5a(_0x461103,_0x18bc66,_0x41c858);},'JvyJb':function(_0x171794,_0x1fae72,_0x1b12eb){return _0x171794(_0x1fae72,_0x1b12eb);},'NxrDA':'post'};try{if(_0x29c729(0x1c5,'Duf*')===_0xb05a6f[_0x29c729(0x244,'sN3&')]){let _0xfba2a8='https://api.funwalk.com.cn/step-api/api/xcx/challengeSign',_0x36d8db='{\x22target\x22:\x22'+this[_0x29c729(0x1e7,'2L#X')]+'\x22}',_0x169c82=''+this[_0x29c729(0x18a,'yUg%')][_0x29c729(0x236,'Uy*%')],_0x3ee4a3=_0xb05a6f[_0x29c729(0x1de,')lVe')](populateUrlObject,_0xfba2a8,_0x169c82,_0x36d8db);await _0xb05a6f['JvyJb'](httpRequest,_0xb05a6f['NxrDA'],_0x3ee4a3);let _0x1fe613=httpResult;if(!_0x1fe613)return;$[_0x29c729(0x148,'x$]&')](_0x29c729(0x28f,'42Wk')+this[_0x29c729(0x1f7,'UJ0u')]+']'+this['target']+_0x29c729(0x144,'Uy*%')+_0x1fe613[_0x29c729(0x1b6,'wile')]);}else _0x8dc687=_0x182b7e['parse'](_0x5807ab[_0x29c729(0x25a,'sN3&')]);}catch(_0x493652){}finally{return Promise[_0x29c729(0x1ca,'wile')](0x1);}}}!(async()=>{const _0x2a049e=_0xd0a39d,_0x2e7773={'VjebJ':_0x2a049e(0x270,'Duf*'),'IQrtM':_0x2a049e(0x19d,'lYZq'),'lrWRB':_0x2a049e(0x1ab,'MXMa'),'LcTQr':function(_0xd8310a,_0xc8920){return _0xd8310a!==_0xc8920;},'KNPkA':_0x2a049e(0x292,'sN3&'),'bCApx':'GguuI','raAbJ':function(_0x278b0e){return _0x278b0e();},'wupBO':function(_0x42d734,_0x41d571){return _0x42d734<_0x41d571;},'jPpTg':_0x2a049e(0x1ba,'YxrJ'),'fVoGH':function(_0x8f8d8a,_0x39ae0f){return _0x8f8d8a!==_0x39ae0f;},'BObUB':_0x2a049e(0x217,'uAdb'),'RWdVz':function(_0x427444,_0xdeca7c){return _0x427444>_0xdeca7c;},'QUhLr':'\x0a--------------\x20每日任务\x20--------------','pskeK':function(_0x5ecc6c,_0x302436){return _0x5ecc6c<_0x302436;},'HntZV':'RYwUI','kELAv':_0x2a049e(0x177,'aXwk'),'qCfma':_0x2a049e(0x26c,'(pAk')};if(_0x2e7773[_0x2a049e(0x1e8,'iA53')](typeof $request,_0x2e7773[_0x2a049e(0x22e,'Sl5p')])){}else{if(_0x2e7773[_0x2a049e(0x1fa,'wxE2')](_0x2e7773['bCApx'],_0x2a049e(0x194,'lYZq'))){if(!await _0x2e7773['raAbJ'](checkEnv))return;await _0x2e7773[_0x2a049e(0x27c,'PWLz')](sc);let _0x232a6e=[],_0x31fe02=userList['filter'](_0x3f819b=>_0x3f819b[_0x2a049e(0x143,'%K**')]);if(_0x31fe02[_0x2a049e(0x179,'Qwi$')]>0x0&&_0x2e7773[_0x2a049e(0x196,'VM&s')](_0x31fe02[_0x2a049e(0x273,'6c5#')],0x3)){$[_0x2a049e(0x175,'#1Ac')](_0x2e7773['jPpTg']),_0x232a6e=[];for(let _0x8982b2 of _0x31fe02){if(_0x2e7773['fVoGH'](_0x2a049e(0x27b,'bi)u'),_0x2e7773[_0x2a049e(0x204,'lYZq')]))_0x232a6e[_0x2a049e(0x265,'*Fb6')](_0x8982b2['my']()),await $['wait'](0xbb8);else return _0x21fa4d[_0x2a049e(0x275,'n(S1')](0x1);}await Promise[_0x2a049e(0x11d,'#w)v')](_0x232a6e),_0x31fe02=_0x31fe02[_0x2a049e(0x1bf,'DZ7s')](_0x4a0520=>_0x4a0520[_0x2a049e(0x23b,'UJ0u')]);if(_0x2e7773[_0x2a049e(0x168,'n(S1')](_0x31fe02[_0x2a049e(0x267,'Uy*%')],0x0)&&_0x2e7773['wupBO'](_0x31fe02[_0x2a049e(0x273,'6c5#')],0x3)){$[_0x2a049e(0x1b5,'PWLz')](_0x2e7773[_0x2a049e(0x263,'RRl9')]),_0x232a6e=[];for(let _0x566ce9 of _0x31fe02['filter'](_0xc99801=>_0xc99801['canRead'])){_0x232a6e[_0x2a049e(0x1f8,'&3bZ')](_0x566ce9[_0x2a049e(0x1da,'%K**')]()),await $[_0x2a049e(0x208,'bi)u')](0x1f40),_0x232a6e['push'](_0x566ce9['updateStep']()),await $[_0x2a049e(0x152,'(pAk')](0x1f40);}await Promise[_0x2a049e(0x211,'Duf*')](_0x232a6e);}if(_0x2e7773['RWdVz'](_0x31fe02[_0x2a049e(0x176,'3xw7')],0x0)&&_0x2e7773[_0x2a049e(0x1b1,'MXMa')](_0x31fe02['length'],0x3)){if(_0x2e7773['fVoGH'](_0x2e7773[_0x2a049e(0x192,'Qwi$')],_0x2e7773[_0x2a049e(0x185,'e#^z')])){let _0x47131a=_0x162bea[_0x2a049e(0x1af,'*Fb6')]('//','/')[_0x2a049e(0x233,'wxE2')]('/')[0x1],_0x12a186={'url':_0x5ab22f,'headers':{'Host':_0x47131a,'token':_0x1ad21d,'Content-Length':_0x1f910e,'platform':_0x2e7773[_0x2a049e(0x145,'PDjx')],'User-Agent':_0x310912},'timeout':0x1388};return _0x5b6d2e&&(_0x12a186[_0x2a049e(0x1ae,'W(MV')]=_0x2c6869,_0x12a186['headers'][_0x2a049e(0x24e,'!ir3')]='application/json;\x20charset=utf-8'),_0x12a186;}else{$[_0x2a049e(0x148,'x$]&')](_0x2e7773[_0x2a049e(0x134,'6c5#')]),_0x232a6e=[];for(let _0x145cdf of _0x31fe02[_0x2a049e(0x200,'iWik')](_0xe81c88=>_0xe81c88['canRead'])){_0x2a049e(0x258,'Uy*%')===_0x2e7773[_0x2a049e(0x1f0,'Duf*')]?(_0x232a6e[_0x2a049e(0x247,')lVe')](_0x145cdf[_0x2a049e(0x15c,'XpnL')]()),await $[_0x2a049e(0x1dd,'aXwk')](0x1f40),_0x232a6e[_0x2a049e(0x241,'Sl5p')](_0x145cdf[_0x2a049e(0x22a,'&3bZ')]())):(_0x4817ca[_0x2a049e(0x13c,'%K**')]=_0x214f67,_0x1d8d25[_0x2a049e(0x221,'Igi@')][_0x2a049e(0x276,'x$]&')]=_0x2e7773['IQrtM'],_0x4e7654['headers'][_0x2e7773[_0x2a049e(0x268,'#1Ac')]]=_0x2882a4['body']?_0x39bbe9['body'][_0x2a049e(0x197,'Z3XE')]:0x0);}await Promise[_0x2a049e(0x13a,'3xw7')](_0x232a6e);}}}await $[_0x2a049e(0x1d3,'6c5#')]();}else return _0x5dddaf[_0x2a049e(0x230,'*Fb6')](0x1);}})()[_0xd0a39d(0x23d,'uAdb')](_0x5ecb85=>console[_0xd0a39d(0x141,'X1Q(')](_0x5ecb85))[_0xd0a39d(0x21d,'n(S1')](()=>$[_0xd0a39d(0x28d,'aXwk')]());async function sc(){const _0x536b10=_0xd0a39d,_0xe2b2f9={'cnpVp':function(_0x459a86,_0x4c280b,_0x5b1e88){return _0x459a86(_0x4c280b,_0x5b1e88);},'KaGgp':function(_0x1054f7,_0x2480fc,_0x4a20ea){return _0x1054f7(_0x2480fc,_0x4a20ea);}};try{let _0x19189c='https://v1.jinrishici.com/all.json',_0x18eb3f='',_0x5098fc=_0xe2b2f9[_0x536b10(0x1c8,'bi)u')](populateUrlObject,_0x19189c,_0x18eb3f);await _0xe2b2f9['KaGgp'](httpRequest,'get',_0x5098fc);let _0x3add85=httpResult;if(!_0x3add85)return;$['logAndNotify']('\x0a'+_0x3add85[_0x536b10(0x170,'#1Ac')]+_0x536b10(0x1e6,'Sl5p')+_0x3add85[_0x536b10(0x20a,'uAdb')]+'》'+_0x3add85[_0x536b10(0x1c2,'aXwk')]);var _0x4a73d8=_0x3add85[_0x536b10(0x1d9,'%K**')];}catch(_0x436a02){}finally{return Promise[_0x536b10(0x1ed,')lVe')](0x1);}}async function checkEnv(){const _0x3b863e=_0xd0a39d,_0x2c512b={'DksUZ':_0x3b863e(0x23a,'%K**'),'Zothw':_0x3b863e(0x209,'wxE2'),'XuJUk':'BtVgj','nRbXM':function(_0x229942,_0x529865){return _0x229942>_0x529865;},'EvwnL':function(_0x20271c,_0x365f7b){return _0x20271c!==_0x365f7b;},'JYtvy':_0x3b863e(0x229,'*Fb6'),'BWDih':'XHOvq','LPxje':_0x3b863e(0x167,'Sl5p')};if(userCookie){let _0xd975d3=envSplitor[0x0];for(let _0x14455f of envSplitor){if(_0x2c512b['Zothw']!==_0x2c512b[_0x3b863e(0x171,'iWik')]){if(_0x2c512b[_0x3b863e(0x24c,'OjPA')](userCookie[_0x3b863e(0x1b3,'*Fb6')](_0x14455f),-0x1)){_0xd975d3=_0x14455f;break;}}else{const _0x33728e=_0x2c512b[_0x3b863e(0x157,'YxrJ')][_0x3b863e(0x136,'XpnL')]('|');let _0x384a91=0x0;while(!![]){switch(_0x33728e[_0x384a91++]){case'0':this['name']=this['index'];continue;case'1':this[_0x3b863e(0x1dc,'Sl5p')]=++_0x37f3e6;continue;case'2':this['canRead']=![];continue;case'3':this[_0x3b863e(0x21f,'W(MV')]=![];continue;case'4':try{this['param']=_0x56f4ce[_0x3b863e(0x1fd,'e#^z')](_0x73e843),this[_0x3b863e(0x140,'X1Q(')]=!![];}catch(_0x47b2fa){this[_0x3b863e(0x1b0,'*Fb6')]=![],_0x3207b2[_0x3b863e(0x1a9,'A!#Z')](_0x3b863e(0x1c4,'#1Ac')+this['index']+_0x3b863e(0x1be,'&3bZ'));}continue;}break;}}}for(let _0x1f6f5b of userCookie[_0x3b863e(0x12b,'XKLo')](_0xd975d3)){if(_0x1f6f5b)userList[_0x3b863e(0x118,'yUg%')](new UserInfo(_0x1f6f5b));}userCount=userList[_0x3b863e(0x23c,'e#^z')];}else{if(_0x2c512b['EvwnL'](_0x2c512b[_0x3b863e(0x151,'wile')],_0x2c512b[_0x3b863e(0x1f6,'Uy*%')])){console[_0x3b863e(0x1e2,'A!#Z')](_0x2c512b[_0x3b863e(0x28e,'lYZq')]);return;}else return _0x38d050['resolve'](0x1);}return console[_0x3b863e(0x1d7,'iA53')]('共找到'+userCount+_0x3b863e(0x26b,'W(MV')),!![];}function populateUrlObject1(_0x2c938f,_0xd8a6ef,_0x26b14c,_0x268669=''){const _0x40b539=_0xd0a39d,_0x68b59b={'DYADa':_0x40b539(0x164,'Qwi$'),'yyswI':_0x40b539(0x231,'PWLz'),'zcHtJ':_0x40b539(0x271,'wxE2')};let _0x542fae=_0x2c938f[_0x40b539(0x27f,'Uy*%')]('//','/')[_0x40b539(0x180,'n(S1')]('/')[0x1],_0x370bb0={'url':_0x2c938f,'headers':{'Host':_0x542fae,'token':_0xd8a6ef,'Content-Length':_0x26b14c,'platform':_0x68b59b[_0x40b539(0x17a,'Uy*%')],'User-Agent':defaultUA},'timeout':0x1388};return _0x268669&&(_0x370bb0['body']=_0x268669,_0x370bb0['headers'][_0x68b59b[_0x40b539(0x26e,'UJ0u')]]=_0x68b59b['zcHtJ']),_0x370bb0;}function _0x3e5d(_0x5971db,_0x2eb632){const _0x17827b=_0x1782;return _0x3e5d=function(_0x3e5df6,_0x569028){_0x3e5df6=_0x3e5df6-0x118;let _0x18d8d2=_0x17827b[_0x3e5df6];if(_0x3e5d['BiPQTs']===undefined){var _0x3846b0=function(_0x5a9de4){const _0x4cc0a0='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1ee04='',_0x37f3e6='';for(let _0x178259=0x0,_0x2dfe7f,_0x5d6240,_0x56f4ce=0x0;_0x5d6240=_0x5a9de4['charAt'](_0x56f4ce++);~_0x5d6240&&(_0x2dfe7f=_0x178259%0x4?_0x2dfe7f*0x40+_0x5d6240:_0x5d6240,_0x178259++%0x4)?_0x1ee04+=String['fromCharCode'](0xff&_0x2dfe7f>>(-0x2*_0x178259&0x6)):0x0){_0x5d6240=_0x4cc0a0['indexOf'](_0x5d6240);}for(let _0x73e843=0x0,_0x22ad70=_0x1ee04['length'];_0x73e843<_0x22ad70;_0x73e843++){_0x37f3e6+='%'+('00'+_0x1ee04['charCodeAt'](_0x73e843)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x37f3e6);};const _0x496645=function(_0x3207b2,_0x920e41){let _0x102039=[],_0x594d4b=0x0,_0x4ebe07,_0x5e2fad='';_0x3207b2=_0x3846b0(_0x3207b2);let _0x55d501;for(_0x55d501=0x0;_0x55d501<0x100;_0x55d501++){_0x102039[_0x55d501]=_0x55d501;}for(_0x55d501=0x0;_0x55d501<0x100;_0x55d501++){_0x594d4b=(_0x594d4b+_0x102039[_0x55d501]+_0x920e41['charCodeAt'](_0x55d501%_0x920e41['length']))%0x100,_0x4ebe07=_0x102039[_0x55d501],_0x102039[_0x55d501]=_0x102039[_0x594d4b],_0x102039[_0x594d4b]=_0x4ebe07;}_0x55d501=0x0,_0x594d4b=0x0;for(let _0x593b53=0x0;_0x593b53<_0x3207b2['length'];_0x593b53++){_0x55d501=(_0x55d501+0x1)%0x100,_0x594d4b=(_0x594d4b+_0x102039[_0x55d501])%0x100,_0x4ebe07=_0x102039[_0x55d501],_0x102039[_0x55d501]=_0x102039[_0x594d4b],_0x102039[_0x594d4b]=_0x4ebe07,_0x5e2fad+=String['fromCharCode'](_0x3207b2['charCodeAt'](_0x593b53)^_0x102039[(_0x102039[_0x55d501]+_0x102039[_0x594d4b])%0x100]);}return _0x5e2fad;};_0x3e5d['xWdKcI']=_0x496645,_0x5971db=arguments,_0x3e5d['BiPQTs']=!![];}const _0x4f6509=_0x17827b[0x0],_0xdfcd04=_0x3e5df6+_0x4f6509,_0x4eb0fb=_0x5971db[_0xdfcd04];return!_0x4eb0fb?(_0x3e5d['shBcsb']===undefined&&(_0x3e5d['shBcsb']=!![]),_0x18d8d2=_0x3e5d['xWdKcI'](_0x18d8d2,_0x569028),_0x5971db[_0xdfcd04]=_0x18d8d2):_0x18d8d2=_0x4eb0fb,_0x18d8d2;},_0x3e5d(_0x5971db,_0x2eb632);}function populateUrlObject(_0x43fa3e,_0x4a4012,_0x1457b7=''){const _0x508cc5=_0xd0a39d,_0x5bce9d={'zBloq':_0x508cc5(0x17e,'&3bZ'),'jISAL':_0x508cc5(0x262,'B%sw'),'tLVAD':_0x508cc5(0x24b,'OjPA'),'bRUyW':_0x508cc5(0x172,'wile'),'sfNNh':'Content-Length'};let _0x1bb571=_0x43fa3e['replace']('//','/')[_0x508cc5(0x27e,'yUg%')]('/')[0x1],_0x2e731f={'url':_0x43fa3e,'headers':{'Host':_0x1bb571,'token':_0x4a4012,'platform':_0x5bce9d[_0x508cc5(0x243,'MXMa')],'User-Agent':defaultUA},'timeout':0x1388};if(_0x1457b7){if(_0x5bce9d[_0x508cc5(0x178,'Sl5p')]!==_0x508cc5(0x26a,'OjPA'))_0x2e731f[_0x508cc5(0x284,'#1Ac')]=_0x1457b7,_0x2e731f[_0x508cc5(0x137,'UJ0u')][_0x5bce9d[_0x508cc5(0x186,'&3bZ')]]=_0x508cc5(0x199,'Duf*'),_0x2e731f[_0x508cc5(0x232,'#w)v')][_0x5bce9d[_0x508cc5(0x119,'W(MV')]]=_0x2e731f[_0x508cc5(0x13c,'%K**')]?_0x2e731f[_0x508cc5(0x1c9,')lVe')]['length']:0x0;else{_0x248f36['log'](_0x5bce9d[_0x508cc5(0x173,'&3bZ')]);return;}}return _0x2e731f;}async function httpRequest(_0x4f6a18,_0x1d23cd){const _0x3e0d54=_0xd0a39d,_0x297629={'kcMLY':function(_0x614256,_0x44b553){return _0x614256===_0x44b553;},'zaUxA':_0x3e0d54(0x1db,'x$]&'),'AXSVH':_0x3e0d54(0x1eb,'wij4'),'ddyYH':_0x3e0d54(0x1c1,'iA53'),'gYXUv':_0x3e0d54(0x12f,'PDjx'),'uiDkC':function(_0x5d01b3,_0x4d30dc){return _0x5d01b3!==_0x4d30dc;},'kHpLn':'YnlJB','yvUvM':'sOGtc','pDvOf':function(_0x59b625){return _0x59b625();},'wbxmv':function(_0x40ded5,_0x152073){return _0x40ded5!==_0x152073;},'kXAhw':_0x3e0d54(0x28c,'lYZq'),'iXChO':_0x3e0d54(0x1cc,'uAdb')};return httpResult=null,httpReq=null,httpResp=null,new Promise(_0x21c5ba=>{const _0x233067=_0x3e0d54;_0x297629['wbxmv'](_0x297629[_0x233067(0x1a2,'KJKQ')],_0x297629[_0x233067(0x129,'YxrJ')])?$[_0x233067(0x253,'XKLo')](_0x4f6a18,_0x1d23cd,async(_0x2e2ac7,_0x3a7515,_0x237acb)=>{const _0x2eb51a=_0x233067;try{httpReq=_0x3a7515,httpResp=_0x237acb;if(_0x2e2ac7)httpResult=JSON[_0x2eb51a(0x1d8,'sN3&')](_0x3a7515['body']);else{if(_0x297629[_0x2eb51a(0x1cd,'42Wk')]('LJHxG',_0x297629[_0x2eb51a(0x240,'W(MV')]))_0x5b1a3c[_0x2eb51a(0x239,'Igi@')](_0x2eb51a(0x246,'KJKQ')+this['name']+_0x2eb51a(0x15b,'&3bZ'));else{if(_0x237acb['body']){if(_0x297629[_0x2eb51a(0x225,'sN3&')]===_0x297629[_0x2eb51a(0x249,'B%sw')])_0x191cd5=_0x4ddac1['body'];else{if(typeof _0x237acb[_0x2eb51a(0x1ee,'6c5#')]==_0x297629[_0x2eb51a(0x16c,'W(MV')]){if(_0x297629['uiDkC'](_0x297629['kHpLn'],_0x297629['yvUvM']))httpResult=_0x237acb['body'];else return _0x74520a[_0x2eb51a(0x14e,'!ir3')](0x1);}else{if(_0x297629[_0x2eb51a(0x19c,'Z3XE')](_0x2eb51a(0x235,'KJKQ'),_0x2eb51a(0x1a0,'&3bZ')))try{httpResult=JSON['parse'](_0x237acb[_0x2eb51a(0x188,'iWik')]);}catch(_0x505b0d){httpResult=_0x237acb[_0x2eb51a(0x14a,'#w)v')];}else return _0xcb5993[_0x2eb51a(0x251,'wij4')](0x1);}}}}}}catch(_0x14d6e6){console['log'](_0x14d6e6);}finally{_0x297629[_0x2eb51a(0x285,'%K**')](_0x21c5ba);}}):_0x3ba09d=_0x493fb2[_0x233067(0x25e,'YxrJ')];});}var version_ = 'jsjiami.com.v7';

////////////////////////////////////////////////////////////////////
function Env(name,env) {
    "undefined" != typeof process && JSON.stringify(process.env).indexOf("GITHUB") > -1 && process.exit(0);
    return new class {
        constructor(name,env) {
            this.name = name
            this.notifyStr = ''
            this.startTime = (new Date).getTime()
            Object.assign(this,env)
            console.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
        }
        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
        }
        send(m, t, e = (() => {})) {
            if(m != 'get' && m != 'post' && m != 'put' && m != 'delete') {
                console.log(`无效的http方法：${m}`);
                return;
            }
            if(m == 'get' && t.headers) {
                delete t.headers["content-type"];
                delete t.headers["Content-Length"];
            } else if(t.body && t.headers) {
                if(!t.headers["content-type"]) t.headers["content-type"] = "application/json";
            }
            if(this.isSurge() || this.isLoon()) {
                if(this.isSurge() && this.isNeedRewrite) {
                    t.headers = t.headers || {};
                    Object.assign(t.headers, {"X-Surge-Skip-Scripting": !1});
                }
                let conf = {
                    method: m,
                    url: t.url,
                    headers: t.headers,
                    timeout: t.timeout,
                    data: t.body
                };
                if(m == 'get') delete conf.data
                $axios(conf).then(t => {
                    const {
                        status: i,
                        request: q,
                        headers: r,
                        data: o
                    } = t;
                    e(null, q, {
                        statusCode: i,
                        headers: r,
                        body: o
                    });
                }).catch(err => console.log(err))
            } else if (this.isQuanX()) {
                t.method = m.toUpperCase(), this.isNeedRewrite && (t.opts = t.opts || {}, Object.assign(t.opts, {
                        hints: !1
                    })),
                $task.fetch(t).then(t => {
                    const {
                        statusCode: i,
                        request: q,
                        headers: r,
                        body: o
                    } = t;
                    e(null, q, {
                        statusCode: i,
                        headers: r,
                        body: o
                    })
                }, t => e(t))
            } else if (this.isNode()) {
                this.got = this.got ? this.got : require("got");
                const {
                    url: s,
                    ...i
                } = t;
                this.instance = this.got.extend({
                    followRedirect: false
                });
                this.instance[m](s, i).then(t => {
                    const {
                        statusCode: i,
                        request: q,
                        headers: r,
                        body: o
                    } = t;
                    e(null, q, {
                        statusCode: i,
                        headers: r,
                        body: o
                    })
                }, t => {
                    const {
                        message: s,
                        response: i
                    } = t;
                    e(s, i, i && i.body)
                })
            }
        }
        time(t) {
            let e = {
                "M+": (new Date).getMonth() + 1,
                "d+": (new Date).getDate(),
                "h+": (new Date).getHours(),
                "m+": (new Date).getMinutes(),
                "s+": (new Date).getSeconds(),
                "q+": Math.floor(((new Date).getMonth() + 3) / 3),
                S: (new Date).getMilliseconds()
            };
            /(y+)/.test(t) && (t = t.replace(RegExp.$1, ((new Date).getFullYear() + "").substr(4 - RegExp.$1.length)));
            for (let s in e)
                new RegExp("(" + s + ")").test(t) && (t = t.replace(RegExp.$1, 1 == RegExp.$1.length ? e[s] : ("00" + e[s]).substr(("" + e[s]).length)));
            return t
        }
        async showmsg() {
            if(!this.notifyStr) return;
            let notifyBody = this.name + " 运行通知\n\n" + this.notifyStr
            if($.isNode()){
                var notify = require('./sendNotify');
                console.log('\n============== 推送 ==============')
                await notify.sendNotify(this.name, notifyBody);
            } else {
                this.msg(notifyBody);
            }
        }
        logAndNotify(str) {
            console.log(str)
            this.notifyStr += str
            this.notifyStr += '\n'
        }
        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
                        }
                    }
                }
            };
            this.isMute || (this.isSurge() || this.isLoon() ? $notification.post(e, s, i, o(r)) : this.isQuanX() && $notify(e, s, i, o(r)));
            let h = ["", "============== 系统通知 =============="];
            h.push(e),
            s && h.push(s),
            i && h.push(i),
            console.log(h.join("\n"))
        }
        getMin(a,b){
            return ((a<b) ? a : b)
        }
        getMax(a,b){
            return ((a<b) ? b : a)
        }
        padStr(num,length,padding='0') {
            let numStr = String(num)
            let numPad = (length>numStr.length) ? (length-numStr.length) : 0
            let retStr = ''
            for(let i=0; i<numPad; i++) {
                retStr += padding
            }
            retStr += numStr
            return retStr;
        }
        json2str(obj,c,encodeUrl=false) {
            let ret = []
            for(let keys of Object.keys(obj).sort()) {
                let v = obj[keys]
                if(v && encodeUrl) v = encodeURIComponent(v)
                ret.push(keys+'='+v)
            }
            return ret.join(c);
        }
        str2json(str,decodeUrl=false) {
            let ret = {}
            for(let item of str.split('&')) {
                if(!item) continue;
                let idx = item.indexOf('=')
                if(idx == -1) continue;
                let k = item.substr(0,idx)
                let v = item.substr(idx+1)
                if(decodeUrl) v = decodeURIComponent(v)
                ret[k] = v
            }
            return ret;
        }
        randomString(len,charset='abcdef0123456789') {
            let str = '';
            for (let i = 0; i < len; i++) {
                str += charset.charAt(Math.floor(Math.random()*charset.length));
            }
            return str;
        }
        randomList(a) {
            let idx = Math.floor(Math.random()*a.length)
            return a[idx]
        }
        wait(t) {
            return new Promise(e => setTimeout(e, t))
        }
        done(t = {}) {
            const e = (new Date).getTime(),
            s = (e - this.startTime) / 1e3;
            console.log(`\n${this.name} 运行结束，共运行了 ${s} 秒！`)
            if(this.isSurge() || this.isQuanX() || this.isLoon()) $done(t)
        }
    }(name,env)
}
