/* 欢乐淘金(发财挖宝)助力 入口:京东APP——玩一玩——欢乐淘金 地址: https://bnzf.jd.com/?activityId=cNAsHasSnzWTAtWhIQR4dA //需链接进入查看 https://bnzf.jd.com/?activityId=Bn1VWXtvgTv5ewPoMR-X8A //app默认入口 环境变量: JD_FCWB_ID // 指定活动ID 不指定默认 APP入口 格式:Bn1VWXtvgTv5ewPoMR-X8A JD_FCWB_InviterId // 指定助力码 非必须,不填默认助力账号一 格式:inviterId&inviterCode 助力码每天变动,需要重新获取 JD_FCWB_NUM // 指定人数 非必须,不填默认跑全部账号 代理变量: 本地IP理论正常助力,也无需开启代理 JD_FCWB_PROXY_OPEN // 代理启用变量,默认不开启(true/false) JD_FCWB_PROXY_TUNNRL // 代理池代理地址变量,默认不开启,仅支持代理池模式(auto-proxy-pool),格式为:http://ip:port JD_FCWB_PROXY_URL // API代理地址变量,默认不开启,仅支持 数据格式:txt;提取数量:每次一个,格式为:http://api.xxx.xxx JD_FCWB_NO_PROXY // 禁止走代理,默认 127.0.0.1,*.baidu.com 需要自行修改 cron:1 1 1 1 * ============Quantumultx=============== [task_local] #欢乐淘金(发财挖宝)助力 1 1 1 1 * jd_fcwb_help.js, tag=欢乐淘金(发财挖宝)助力, enabled=true */ const $ = new Env('欢乐淘金(发财挖宝)助力') var iil='jsjiami.com.v7';const ilIIil=iii1II;(function(llli1l,lI1ii1,llli1i,iiI1l1,i11lI1,liliiI,ilIIiI){return llli1l=llli1l>>0x3,liliiI='hs',ilIIiI='hs',function(lIl1ii,lIl1il,Ii1l11,IIlii1,iiI1lI){const li1i=iii1II;IIlii1='tfi',liliiI=IIlii1+liliiI,iiI1lI='up',ilIIiI+=iiI1lI,liliiI=Ii1l11(liliiI),ilIIiI=Ii1l11(ilIIiI),Ii1l11=0x0;const IliIlI=lIl1ii();while(!![]&&--iiI1l1+lIl1il){try{IIlii1=-parseInt(li1i(0x21c,'qk&['))/0x1*(parseInt(li1i(0x94,'%p#G'))/0x2)+parseInt(li1i(0x210,'HOLy'))/0x3+parseInt(li1i(0x158,'du[G'))/0x4*(parseInt(li1i(0x8d,'5si*'))/0x5)+-parseInt(li1i(0xcc,'BuGA'))/0x6+-parseInt(li1i(0x113,'f)H*'))/0x7*(-parseInt(li1i(0x8b,'du[G'))/0x8)+-parseInt(li1i(0x155,'aG9V'))/0x9+parseInt(li1i(0x161,'V2qc'))/0xa*(parseInt(li1i(0x68,'HOLy'))/0xb);}catch(IIliiI){IIlii1=Ii1l11;}finally{iiI1lI=IliIlI[liliiI]();if(llli1l<=iiI1l1)Ii1l11?i11lI1?IIlii1=iiI1lI:i11lI1=iiI1lI:Ii1l11=iiI1lI;else{if(Ii1l11==i11lI1['replace'](/[VhSGIJRKYkLeNMxfUdn=]/g,'')){if(IIlii1===lIl1il){IliIlI['un'+liliiI](iiI1lI);break;}IliIlI[ilIIiI](iiI1lI);}}}}}(llli1i,lI1ii1,function(i1111l,i1111i,iliiI1,Illli1,ilIIii,l1111,lIl1l1){return i1111i='\x73\x70\x6c\x69\x74',i1111l=arguments[0x0],i1111l=i1111l[i1111i](''),iliiI1=`\x72\x65\x76\x65\x72\x73\x65`,i1111l=i1111l[iliiI1]('\x76'),Illli1=`\x6a\x6f\x69\x6e`,(0x14d503,i1111l[Illli1](''));});}(0x5f8,0x3ff92,Iii11l,0xc1),Iii11l)&&(iil=Iii11l);const liIli1=require(ilIIil(0x110,'dtHQ')),IIIlIl=require('./function/sendJDNotify'),IIIlI=require(ilIIil(0x20b,'t@WX')),IiiI=require(ilIIil(0x15b,'mv(n')),iIi1i=process['env']['JD_FCWB_Notify']===ilIIil(0x88,')u99'),l1iIll=process['env'][ilIIil(0x13a,'!hxf')]||'',l1iIli=process[ilIIil(0x66,'NG)8')][ilIIil(0x17b,'qk&[')];let iIi1l=process[ilIIil(0x75,'TNE4')]['JD_FCWB_ID']||ilIIil(0x133,'zXK!');const i1lIlI=process['env'][ilIIil(0x90,'cO$N')]==='true',l1lliI=process['env'][ilIIil(0x150,'kEu9')],I1I1iI=process[ilIIil(0xb6,'1RUf')][ilIIil(0x166,'ep8G')],IIIlII=process[ilIIil(0x239,'BuGA')]['JD_FCWB_NO_PROXY']||'*.kingran.cf,127.0.0.1,*.baidu.com';let iiIiI1='',ili1Il=0x0;function Iii11l(){const lililI=(function(){return[...[iil,'RjSsVdjJLihxaSmNMiGxe.VKcLIoknRmUYN.fYv7==','W7GdWQpdRmkaWP7cGeGcW4FcQSo2','WPRcMxVcS8kG','W6ZORzBMSRVLKyVLU6fQ','WQRdImkxW6CzjI0','W5efW6CxW70','f8kwmhhdIJi2','W73dKSkTgCkp','8y6WVYu','W6OLnCkMW6VcSGTEsmoICY3dRqTOca','qwtcJmouqa','W5JcM8oB','WR5An8o5W5e','W4uicSkuW5pcUJ14r8ocuqK','WPz9WRHZWRhcLhxdTCkfW6dcKmoGg8kGFI7cTr55W6JcVHL0dhGMgNxcLCkWW5K3ErPSW5S5WRhdRSovW5lcG8oVpbGMWRjMW6KoW43cHCkU','f8kypCoEW7FcLCk9xvC','uUkpPo+5J8kF5yQ/5yIS56cZ7765','zGRdVSoC','WQ7cG0pcMmkfW71kemkEnIVdUq','yNJcGmo1uq','efTvW4tcICoxW4FdRW','WRzQDG','WQz5W6DIWP/dQLdcL3FdJG','jHBcHq','p8oPWODzW4G','qEITIUAYNUI2N+AuMU+9VEISUUAGHEAFG+E+HEE6UUMgLEITSq','W7WNWQNdLSku','lmkuW7u','CSo/W7eoW4m','4O6B77QYW7ZOTlZLJjSQW7ZcMoIoKEwmGUwlJ+wlG+s9HEAcRq','WRlcU3bK','zudcTmo0Fq4','sSoZW4eOW4X+W7FcGe4','W68mlsNdIYrzca','WPLhCx3cTCoAWRZcSWlcRq','WPPlkM3dKqldJbS','WPtcN1hcGKq','nw0N','k8o5WOnCWQ8MWO/cMNBcHIKaW73cNCkEaN3dIa','fmoDWRPqW4i','WQr9WRpdQXm','WQnaW4jhWRG','jmkXu8ozrSo3WR5oW4CaWPSj','4PUQwCkJWPnq5z6W5z235y+D6yAk77+gW5ZdJCkVWOXHW4jknKH2WQZdJCo8wZyOnCojgIz7zCk6oSkNCCkOWQJdUSkiW6OpA8kAtuvsWOpcKSoLW4dcMrb2jYy','cCkOoSkRWOdcVxxdPa','WOxcMslcTmo5W5hcR8ovoYi','W69SWRtcSupdJ8os','zcqZ','amoEWQjKWQq','auSlW51Z','cCkIiSkRWPZcP2a','weul','pSk8g2NcRq4AW6y','WRFdMmkaW48jb8krcSojzmkoACkxeSoAWOLZWPWCebVcPCouWQ5CW6HTB8kxvXa4ySotBr3cI8ksWOFcGCoHE8kvnCo3zSkrWPDJW4VdLCkQW54','xCo8cmk/ka','WQxcPMfK','iCo5FG','W6X8WQxcOuNdKSoVW74k','ECoDe8kTkG','Bmkina','WRXNW71IWP8','WQlcQhfG','WP/dGSk6W4Kw','WRlcMw/cMexdU3pdPXHeWRldVq','W4NORlJMSy7LP6VOT6hVVRLhnmkQaWRdG8kVt2dcT8kdW7BdPZ4','xWFdU2hdRq','WOjKcCoa','WPrTlI4E','Dca1','y2uwkh0','utFdTvBdQq','W4ZIJlpVUiOH5BEd5PYH5yUo5yUA5lUP5PAd77YW','WPPlWPXouW','WQNcNWdcT8ov','BIiS','W6OHkCkMW7ZcGW8','uuqA','brZcMfldGW','W6r1WOdcN0e','CGOGWOWb','yLzA','oZtcK8kAxW','WQldGSohWPpcVq','WP5Khq','vYJdGmoQDf1p','W6C8lmkI','WR1IFujF','n8kKvJlcTa','W6ORmCkMW6dcMrPa','WQnMs2JcHmoU','ddRcTCkbxmoUuW','lshcIGBdPwy','4P+zW43LVB3LI4/LIOZLIB/LTk/OVl/LIBZMJiJLRBJLI5/LIOdKUAVMLltVVlFPGzVLHR7VViq','4PYwW5VLTAdLOztLH5pMJQtLRy7LIldLI6dLJBVPHO/VV5/LVQhLPBNLI5JLIlNcQde','F8kIlmoQqrhcGCoZWRDxvmo4','WQldJmoxWPu','ff1cW7JcLq','WRrHv2dcMCoT','W4a+t8kdWQ/dRmk7tCotW7ZcK8k5WR0','qwGnluS','ESoQdq','W5etWPRdMCkv','WOtdKmoGWPRcSq','uGiMumkZ','WQxcRaBcLmoFW4xcLmo9kXtcSCko','WO/cH0D3zq','utRdK3/dHG','WQX5W4ntWOO','WOFcRMhcVW','WQPLW6ngWPJdQa','WPXWlthdPa','kCkYemo9W4RcTmkRCq','WOjWiGVdPG','W5GbnfhdJa','cCoCWQXQWPu1WQtcOM7cUWS9','WRfagaO3','W7uAWRBdVW','lJRcGa','gSoOWOi','p8kXyqFcJG','W6u+lw3dHa','ifOgW7bq','AtVdQhxdHW','W5BLRAtOO6VLK7/KU4hVV77cS8oXis/cIXHOWQuLvZDKyM7dJfrIWQ53WPpcGSoxed/dRW','WPNcOh/cRG','EvVcJa','jdZcNW','FSoGc8kpfCkZWPu','dtxcRCkbwmomAeqcWPNdT8oH','kSonECkKCCkAdq','W4xcUSo9WOfh','W6qwWPFdSCkO','WOhcIGlcRmof','WPTIc8ofW6y','WOhcU3JcQSk3WOS6FSk7hr/dI8oYqctdUSkpW73dRZhcG8oqW47cTmoXAuJdKH3cQSkzW5FcJCoFpG4F','uCojjCkPmCknWRLHW4CFWPiR','4PM6W5JLVj/LK4FKU5/NKRNLJ4lPHy/VVyPoWQFdQmkKW4FdUuyEeSk+zbhdV8kXW4ycWQKaW58Oy8o9qWK8WQ7cQSoeWObEW6zHbYy','d8oQWPP+W7u','W4CphXmRBSoyWR8YWPmzzW','qJ88WOqF','WPFcHxD1xG','WPDTbbK6','iHJcKSkZymoexMinWRpdLmoq','WORcOgJcVW','WOdcM0zOyW','vmopE8kBWQ/dI8ogtvJdOcH2Dq','4P6zoEw+HowkN+wkJ+wiP+w1K+I8TEwjL+ApU+wVSEwlOowjN+s7GoAxK+++G+MaIoweRo+8Ja','aSkOkSk+','8ywuP8oR','pxTUW7e','FYOM','kmoKA8kvb0q','zmoohmknnq','WRhcIf3dSutcG8k4','eCoYWOXBW4G','DLVcJ8oH','zIiLFG','iSktwYtcJa','zmoKbmkph8kS','xeSCoSkFkCkjW6S5CSkSW41NomoacW','WRLNuv3cMCkWW4hdKZVcHmoDcSo2WRW1CqlcN3RcMCkGo3pdMI8','WQf/amoBW7K','W4mumhBdUtJdMG4','oSksW4D4dW'],...(function(){return[...['W6CdWRRdQa','W4mAnhBdSHpdIXaEWRBcRw4','W6e4W7TVWQJdOhZcK3RdJG','FbldVSogr1PFW7FcP8kYWRPT','Emk9W6rfxG','W6JdJcRdMGNcJwpdIqjzWRJdKa','WRdcGKK','WRXGqG','AIi/A8kpfCodFG','4P+ozoADR+ECS+ITPEAYTei','W5CYW7qUW5i','qGGdWQS5','euOTW5zy','pmknaSkAsG','WRNcLuVdOq','idZcJdVdPg7cKd8','eCktDGpcGCkiwSkDWQ4BiKFcJ8kbFr4v','EmoScCkapSkGWOTf','pSoeWOT9W7O','WO3dPmohWRJcTG','4P6bhoADJowGT+weS+AnQowUP+wlPUwjRowoMEMfJE+/N+w/Q+wLV+wlN+wjIoI3T+wmVwldJx0','F8k8W593FG','b8oIDSk0dq','wEwSH+IJPUwsO+s4S++9TSoDEbxdICk6WObUW6pdMdLmWQJcPq5Jg8oXWRrgW5dcRSkStCoLW6m','AIGNA8ktd8ow','c8kska','WOjQcmovW7VcQq','iGBcLdhdPq','WOrVWQW','WOpdOSkZW6eK','qfK6cZNcGui','W50FnNddIq','yKrn','gEwrIUw4PWpdJx3dP8ogcSoluG','pY7cGK7dOMyBtcPtWOxcP8oyW4BcRSke','bSoIWPDEWPpcTw9WmW','WRPlF3/cRW','W6RdSmoygmkuWRlcVCkvW64Qwmk4mCoiW6VcRK07W6RcQmobWQ4','WOhcOhJcQSk2W55Tka','EcKIDCkle8opyJ8','emkzp8kGtq','W7/dUu/dLSkqWRFcPCo0jchcM8kD','hmkCiW','mSoszSk5ySkgp1tdOxVcQt/dQq','uGSnWOuQv8ktWQJcI8ooAmkPW6tdOJKFWP0','dmoSFSk8oG','W77cMSodWPzbrmoicSkWmmotiq','WRj8quG','WQddLCkWW5eV','EW/dJMldQa','m+IUOUAZGEwKToI2HaZdQSkPWOe','dHdcRWNdK2/cJa','WPpcQ2xcTmkYW5HHnmkAhahdIa','WPPHWQvZDSkK','jCoZDCkOgLBcLq','WRBcVhFdO3q','4PMz77MCW5JKUQJNKPdLNlhLNQJKUBZVVPi','i8k/k8k3xG','WRZdHmklW7uAjbOYW54','WRTtarNdMb0','wSoOW5CK','4P6BhoADJoIcOEAVIEEGGEwKUEErICox','hSooxmkQea','A8oIW747W7G','yx8zauNcNfi','iSk8k8khuCkKWPGS','hqVcRxJdMhuWDdjKWQBcJ8onW7dcICkLWPHtWP9Y','5lMf5Pw85O+555Up6k2H5Rgd5Pwr5Rkt','W53dOt8','AIW7A8kepSosyaxcNCkhdW','jCkWdxFcLG','W5SYW78HlSo5WRFdLIldM2TTkq','WP1Fvg5RpW','W7P1WRJcVvq','W68fv2ZcMvL0omkCmSoyWOu','m8kzjmkIzG','WRxdL8o7WPFcOq','W6pdOHdcKCoiW6lcICoZdbxdS8kaW5uyr8kyE8kGW5LG','n3P8W73cR8o9W5ZdMCkTWRO','WQhdKSkE','vmoMW4eQW4D9W47cJ1K','g8kGkq','WRL1EwfDnSo1','W63dNwVdHg3cGCk2W4S','lEkyRE+5GwnnWQj/5zYH5z295lU/55o35BE45B+l5zoZ77Y8','WQ9mWOrvwmkfW53dSGFdRK9P','WP5Ar0bO','mCoWWR9kW6zVW7e','WOVdP8oSWRBcLSowW6naiILuW5tdK8oWamkAWRG','tmkdW7rbFq','fmkjpCoeW7BcNmkAtKm','p2yeW6XD','WObTkdW','EaxdOCobrvzz','W7eAW50pW5u','W4tdSCko','W5/cLmoOWQLQ','q8kRW5nXwa','pCkpf8oHW4K','WQhIMARVUySM5lMO55gr5Roc5lQu55gq5BsH5B+b5zcX77+F','a8osWRHJ','W7a/W7i','WPXjsKlcOG','WQ3dJmou','WPJcThBdQvq','s1mP','WPHHWRL2Dmk6','h+kyPE+7PmkK5lU355gM5Rc55lQz55cp5BE35BY85zk877+b','ifNcUCkAhWm','wrhdNepdONVcLCoiW69rfq','ablcL8kOBa','W4/dMmkkhmk3','W7/dQ8kGW5u2aGu','FgVdJ37dH03cUqNdJCoE','W6OWmCkMW6hdJe0wyCo3DNpdJeXXghzbE8kJWPH4W5mOlW','xeSCoSkFkCkjW6S5EmkTW5G','WO1YWRLAASkU','W6ddISk9hSkCWRRcM8kSW5eN','y1Hn','WQ/cPspcVCoH','qSoOdCkyfW','gSk+W4jvlW','msRcGtlcU0ZcPwVdRmowW5nLw3JdTMRcT2xdRW','WPlcReVcUgpdR0JdJWHY','WQj2W6nGWO7dQ0pcKx0','W6OPhu3dMG','fSkYigRcLa','W6mwWQhdTCkxWR3cGeKZ','WPVcQhO','W7hOR6tMSAFLPjZOT4/cQSotW4j6','Cvuig3G','r+ITOEwUKoIGNrnpWPFdMmkesr7dKv0hn8kR5l6t6lAO776u5OU+6icS5zkP55sf5lQf55ou776y','W7r2WQpcOLtdK8ozW7i','i8kuW7Xzi8oe','xuyllf8','E8o2dq','WQfNcH46','sHJdKLBdTG','4O+V77I7W4VLTBBLVjtLKy/MTAlLI5lVVixNU5BMNApMLAxPLk/VVia','FEkyK8oi5Qoi5REO5B2s5yUy5QUc5B6x5P+T5B+V5zoq5lUW55kU77Yy','W6iwi1tdOq','Amktj8o+yCkFka','bCkunCoGW6VcNa','y1xcRSouEa','WRZOR67MSPxLP6pOTipVVRtdS8oUfmkmbcFcTX/cG8oSz8kYAhC','q2v+gmk/','WO7cKxlcJvpdIM7cOdfCWR7dSCk/W5ZdOWf0CCktrYpdNCkwW6OMW5W','utGHDmkw','WOnbWQn4sG','WOvLWRHKEmkUW6C','WQbUebhdRW','WOHJoW','W5RdQ8khc8kTWO4','qqKkESkS','FLeFbee','xCoVW6StW5u','emowWPW','pCoVtSk7','W5xcMSozWPjwrCoexG','uCofD8kDWQ3dImoax0ddOZHjFq','C8o9a8kF','omo3WPfBWQq','FujemSkGeq','W64RiG','8yYKSmkX'],...(function(){return['WRBcL3G','WQzFsutcMG','WQzdnZel','FX0zWPqO','WRJdI8o4WOhcRW','WQdcQaxcL8ohW6BcMa','h8kyyt3cKCkFt8kb','W4KspKVdUda','eWpcImkSEa9wW693mIhcHmo6v8onW7pdLW','W4uUWPFdI8k1','dmoyWQ9PWO0wWQG','WOfyW45BWRNdGeVcOq','xSoIW50uW6m','WO9txfb3nSoFWR00','v+wrVUw5VeVdJg7dVSkkW73dP8osW4eZ','4P6zCow/HUwiK+wiTEwiOUw2QUI9PUwkMoApIUwSP+wjPowkREs4T+AuO++8J+McMowhIE+9Lq','hgzKW4dcLq','4PUhW50oW73dKEwFI+wES+wpSoMhTE++IIDExmoOW7/cMmkSde3dVvFcKrZcR3VcKNiRW7RcMdJdRhddLMRcPCkfbSkzWOZcNmooWQjCWOCdW4zOA8knghztfCowW5K','f8o3WOWdWPhdTuTHCmkSW6n2','8ycQNq4','Bv5qoSk9eG','4P2sB+wjM+wkPEAkI+wkVvjW','WPtcRv1OCa','4P6xWOpLTyhLOPVLHyZMJOBLRlVKUQxMLilLJQpPH5tVVOdMJO3LRlxKU6/MLRJdLfm','iSosWOXzW4i','gSkzzq','gbBcHG','WQVdPSobWR/cVq','WQTEmCowW7m','eSkZl8kVWOFcOu7dSSkfWQi','WPJcQI7cRSoK','W7WnWRq','amkDomk4wG','dSoiWQHCWOaqWQO','WQNdGSodWOdcRmofW4H4oH53W7W','p8oHra','emkQoSk4ESk2WOyOfL0','cCkiWOmRW4jbW6pdTq','nmooWRLOWQiqWQdcOa','z8k/W7jhFG','FudcN8o0z1P2vwTRrSo1W7vWWP3cO2ldJSoT','WPVcOwhdGgtcQmkcW4alsSkSiG','W7b2WRa','W75kWQ7cT14','4P+KWR7MN4pOGRpMRQdNOOtLP43NK6xcQq','jtBcIZJdT2BcJq','xuqpjSktcCkfW78','WQ5dWPXvxmkNW6y','CmoPbCkeaG','v+AmLUwmI+wtHEw4T+AvSEApU+IKGoACIowNTUI3ISofmW','WOJcVXpcH8od','W7r4WQFcOL/dUmoiW6WVWPKhoq','W68HnSkLW7pcKqC','4PQn77MFWRxKUR3NKPRLNONLNjJKU6lVVRi','oJRcGx3dVW','W7SClCkAW74','i8kJlCk/WRq','rfmQjG','fGWGkfBcP1H9','D+IUUoAYSoMfS+E/TEwpOoAuGUMuSUIUJE+8UUISNUIcG+EXR+w+R+wmJoIdTEI8JEIHKEwmGoMMTU+9GJBcLSklW6BdHCkFhrxdItL1CCkfgG','vmo0W5q','4PMiios4QoEqKEAXUEwmKEMfJE++QsxdK3fsaSomWO0LWOxcGIpcHmkWgmoTjCoaWPBcKG7dLmoppqDsrSkEWPxdUftdUvZcKJWjlSk2WOqJjSkwmG54','W5tcM8ojWODC','bSkrp8koWQa','D1VcJ8o9','bmkunmkYWQq','sW/dKepdHW','dmkyAshcGG','lWVcKmkoASoN','vUITSoAYP+wtOow5Qmo7','WPZcUwTgrW','mCk1rtxcOq','bmopWQ5xWP8w','WQbqWRxcPmkD','zvmEowS','iHJcKSkZymoexMinWRNdLCof','nIZcHLFdRuSgqGDfWRBcP8o4W47cQCkwWRLVWQa','WQn4W7y','WP9yW4jF','A8kcnSo+DSorA23dHLa','WR18qG','WQxcOGlcLmouW67cHCoJ','jbNcHvFdVW','WRLYvv3cK8ooWOFcMXlcKCoyvmoxW7SSyq','m8ofWPfgWPu','8koxLgq','t1KIm2lcH1S','dHFcISkSmG','W788q1JcHmoPWPRcLtxcMSkBtSo/W5eWEehcK3S','zCoSeSkHhq','eSoVWR1/WOS','4P2IW53LVjZLI6dLIlhLIAdLTihOVPBLIiRMJPFLR5JLIO/LIRFKUl3ML73VV6dPGOZLHRZVViG','WOTVWQ9Y','q8klW589W7jnW4tcRmoDWQS','W4q7W54yW5G','zaxdPmonrxbeW73cJ8k0WRS','W73cK8oxWRrBEG','b8oHtmk7WQ0','FEkAOU+7PYJdOLhdNowFK+wFMos4PoEtQEw0JEw8K+wsH++8Ma','W7e8fw7dMW','WP3cJf3dKhq','l0DnW6dcVG','4PMM77UaBUs4LUEqMEwFTEwETEs5S++9QW','WQRcNw3cM1pdKvtdTt0','WObHWRTNymknW6VdLaJdHgXy','ib/dMLBdOMtcHG','W7iHn8kLW73cMcXmBq','eSoMWPfm','gWhcVbRdOq','W6hORztMS7hLP4hOT7dVVO3dQe/OO5NPMkVLIk3VVOtdMmokjSk4WPTMyJddPCo4qG3dJ08','WOfUWR1+BCkSW4hdNctdJG','4PYbB+AFMowHLEweGUAmPEwVQowkGUwlUEwpRUMePU+/M+w+LowLPowjTowjQ+I3SowpQSkwdXC','yH7dTmolveby','lrzKAsBdMbZLVjhLP7BJGiZKUz3KUjBOT63LJkS','fmksmfG','F8oRcCkhbCkLWOnt','WQRcPMi','AfTffCkVgtFcPrFdKSolzvdcQMVcJGiyfhiGDW','voIUJUAYO+I1MEAwOU+8O+IVHEAHIUAFToE8J+E6NoMeVEITIG','CGtdS8on','AZ8+WQOD','oYdcLq','AWpcUSolxW','vSotW5inW6y','AW/dVSogr1PFW7FcLG','zvXKhSk4','FqtdSa','bmksk8oi','g8oCWO8','4PYMW5pMNA7LOzlLHABMJyBLR5JKUixMLl3LJR3PH4RVVjpPUO3ORAhLH77OVBFLIkdLIBS','vCoOW5q','dSoGWRXpW5O','WRXIW7jOWO7dVga','fSkqW5fxoW','WPDLda','W4FcUmoOWOHu','W7esmSk/W7y','cmotWRH/WPq','dw0LW41yW5zFW4y','lCkEW6fmk8oeWRe','DZldMCosqW','mZxcRSkEfwnTW4TwgW7cPa','WOrrlSoXW4e','dCkPWOa','W4GECMxcUq','W4FMNBRNNBdLI7FLIiFNIi/MGzNcHCksWPy','lgfKW5hcTCo8','WQdcTb/cISoqW6JcICo/ibtcUmko','WRnxBL3cGG','WP94hq','WQpdJmoxWOK','CSoKhSkk','4P+jWOhLIzdLIj3MIAxLI5v0ha','Dd4rECk6','fmoCWOXT','q8oJW5OVW5rWW6RcG3tcMHBcLW','WRTtaq','WPPywa','4PUg77IZrUs6V+EsRowDN+wDVEs5TE+/Rq','qCklW5a4WPyYWQBcLmoIWRtcLCkqqG','WQnzWQX4FW','W7qKW6eUWQBcLNC'];}())];}())];}());Iii11l=function(){return lililI;};return Iii11l();};const ili1Ii='2';let Iilll1=parseInt(ili1Ii)*0x3e8;i1lIlI&&(l1lliI||I1I1iI)&&(Iilll1=0x64);$[ilIIil(0x9c,'RoQe')]=0x0,$[ilIIil(0x14e,'C&eV')]=![];let ll11I=![];if(i1lIlI){ll11I=!![];try{require('global-agent/bootstrap');if(I1I1iI){console[ilIIil(0x203,'t@WX')](ilIIil(0x215,'HOLy')),console[ilIIil(0x12a,'aG9V')](ilIIil(0x67,'du[G')+I1I1iI+'\x0a');let ll11ii=/[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+\.?/g;global['GLOBAL_AGENT'][ilIIil(0xd9,'6OKv')]=ll11ii['exec'](I1I1iI)[0x0]+','+IIIlII;}else l1lliI?(global[ilIIil(0x163,'aG9V')]['HTTP_PROXY']=l1lliI,global['GLOBAL_AGENT'][ilIIil(0x9e,'q]bw')]=''+IIIlII,console[ilIIil(0x1cd,'0D]T')](ilIIil(0x171,'5si*')),console['log'](ilIIil(0x146,'Z(r%')+global['GLOBAL_AGENT'][ilIIil(0x97,'mv(n')]+'\x0a')):(console[ilIIil(0x233,'HOLy')]('\x0a⚠️\x20当前检测到已开启代理,但未填写代理地址变量'),console[ilIIil(0x9d,'1RUf')](ilIIil(0x1f0,'aG9V')),console[ilIIil(0x177,'C&eV')](ilIIil(0x1c4,'6OKv')));}catch(liIlii){console['log']('\x0a请安装global-agent依赖,才能启用代理!'),console[ilIIil(0x85,'I7Nh')](ilIIil(0x125,'yRMA')),ll11I=![];}}else console[ilIIil(0x15f,')C6n')]('\x0a⚠\x20检测当前模式未开启代理:'),console['log']('⚠\x20开启代理变量:export\x20JD_FCWB_PROXY_OPEN=\x27true\x27\x20\x0a');let iIi1I='';function iii1II(_0x5ecc80,_0x1e2da8){const _0xdd3c3e=Iii11l();return iii1II=function(_0x440e68,_0x3c8187){_0x440e68=_0x440e68-0x66;let _0x543119=_0xdd3c3e[_0x440e68];if(iii1II['NvSPfO']===undefined){var _0x269e73=function(_0x5b4e28){const _0x1e0277='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xe78bd8='',_0x499782='';for(let _0x5a1529=0x0,_0x473a38,_0xac0f50,_0x418fd8=0x0;_0xac0f50=_0x5b4e28['charAt'](_0x418fd8++);~_0xac0f50&&(_0x473a38=_0x5a1529%0x4?_0x473a38*0x40+_0xac0f50:_0xac0f50,_0x5a1529++%0x4)?_0xe78bd8+=String['fromCharCode'](0xff&_0x473a38>>(-0x2*_0x5a1529&0x6)):0x0){_0xac0f50=_0x1e0277['indexOf'](_0xac0f50);}for(let _0x22eb03=0x0,_0x4e11c1=_0xe78bd8['length'];_0x22eb03<_0x4e11c1;_0x22eb03++){_0x499782+='%'+('00'+_0xe78bd8['charCodeAt'](_0x22eb03)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x499782);};const _0x428b1d=function(_0x24e00c,_0x3be4f8){let _0x568cce=[],_0x3564ae=0x0,_0x49a2ec,_0x5031f5='';_0x24e00c=_0x269e73(_0x24e00c);let _0x43b215;for(_0x43b215=0x0;_0x43b215<0x100;_0x43b215++){_0x568cce[_0x43b215]=_0x43b215;}for(_0x43b215=0x0;_0x43b215<0x100;_0x43b215++){_0x3564ae=(_0x3564ae+_0x568cce[_0x43b215]+_0x3be4f8['charCodeAt'](_0x43b215%_0x3be4f8['length']))%0x100,_0x49a2ec=_0x568cce[_0x43b215],_0x568cce[_0x43b215]=_0x568cce[_0x3564ae],_0x568cce[_0x3564ae]=_0x49a2ec;}_0x43b215=0x0,_0x3564ae=0x0;for(let _0x46fe09=0x0;_0x46fe09<_0x24e00c['length'];_0x46fe09++){_0x43b215=(_0x43b215+0x1)%0x100,_0x3564ae=(_0x3564ae+_0x568cce[_0x43b215])%0x100,_0x49a2ec=_0x568cce[_0x43b215],_0x568cce[_0x43b215]=_0x568cce[_0x3564ae],_0x568cce[_0x3564ae]=_0x49a2ec,_0x5031f5+=String['fromCharCode'](_0x24e00c['charCodeAt'](_0x46fe09)^_0x568cce[(_0x568cce[_0x43b215]+_0x568cce[_0x3564ae])%0x100]);}return _0x5031f5;};iii1II['NtQauC']=_0x428b1d,_0x5ecc80=arguments,iii1II['NvSPfO']=!![];}const _0x3d484f=_0xdd3c3e[0x0],_0x3ad496=_0x440e68+_0x3d484f,_0x187cf4=_0x5ecc80[_0x3ad496];return!_0x187cf4?(iii1II['znGtAv']===undefined&&(iii1II['znGtAv']=!![]),_0x543119=iii1II['NtQauC'](_0x543119,_0x3c8187),_0x5ecc80[_0x3ad496]=_0x543119):_0x543119=_0x187cf4,_0x543119;},iii1II(_0x5ecc80,_0x1e2da8);}const liIIl=Object['keys'](liIli1)[ilIIil(0xba,'[]KV')](llii1l=>liIli1[llii1l])['filter'](liIlil=>liIlil);!liIIl[0x0]&&($[ilIIil(0x8f,'S4bj')]($[ilIIil(0xd6,'7)px')],'【提示】请先获取Cookie'),process[ilIIil(0xbf,'GM#N')](0x1));!(async()=>{const lIili1=ilIIil,llii1i={'vdrvB':'❖\x20当前设置活动ID为:','qMqYF':function(ll11il,iI1lIl){return ll11il!==iI1lIl;},'liMoa':lIili1(0xa8,'n%nn'),'NEikO':lIili1(0x14d,'^5Qf'),'vmnTr':function(iiIiII,Iili){return iiIiII!==Iili;},'AqIEl':lIili1(0x1f4,'RoQe'),'BxytS':'qeiJY','TeYuh':function(iIi11,Iil1){return iIi11$[ilIIil(0x149,'du[G')](ili1II))[ilIIil(0x6e,'n%nn')](()=>$[ilIIil(0x106,'D4%3')]());async function IlI1lI(){const li1l=ilIIil,liIllI={'XkKFD':function(ll11i,iI1lI1){return ll11i<=iI1lI1;},'TpeBA':function(I1I1li,l1i11){return I1I1li===l1i11;},'kKjNd':'BqMtv','ltIWZ':function(IlI1li,IlI1ll){return IlI1li!==IlI1ll;},'fAdSk':li1l(0x1e5,'mv(n'),'Stzoo':function(ll11l,III111,liIll1){return ll11l(III111,liIll1);},'LGtHc':li1l(0xd8,'du[G'),'INBvT':function(l1llli,iI1lII){return l1llli==iI1lII;},'wRvME':li1l(0x18b,'5si*'),'gRKWA':li1l(0x87,'cO$N'),'ZpnGv':li1l(0xb2,'aG9V'),'RSjlX':function(ll11iI,l1i1I){return ll11iI===l1i1I;},'xDFOF':li1l(0x1da,'4u2C')};$['canWatering']=!![],$['hotproxy']=![];try{if(liIllI[li1l(0x147,')C6n')](liIllI['kKjNd'],liIllI['kKjNd'])){if(l1iIll)liIllI[li1l(0x13e,'n%nn')](liIllI[li1l(0x18c,'q]bw')],liIllI[li1l(0x104,'HOLy')])?il1i1I=lI1li1+li1l(0x83,'cO$N'):await liIllI[li1l(0x10b,'BuGA')](IilllI,$[li1l(0x142,'7)px')],$[li1l(0x22f,'RyPT')]);else{if(liIllI['TpeBA'](liIllI[li1l(0x121,'ep8G')],liIllI[li1l(0xee,'mv(n')])){if(liIllI[li1l(0xd3,')u99')]($[li1l(0x1f1,'TNE4')],0x1)){if(liIllI[li1l(0x1a4,'du[G')]!==liIllI[li1l(0x1d3,')C6n')]){l1iiI['log'](li1l(0x20e,'6OKv')),ll1li[li1l(0xbe,'RyPT')]=!![];return;}else{console[li1l(0xb4,'D4%3')](liIllI[li1l(0x1b6,'!hxf')]),await liIIi();if($[li1l(0xc3,'t@WX')])return;}}else liIllI['ltIWZ'](liIllI[li1l(0xf5,'!hxf')],liIllI[li1l(0x1f9,')u99')])?ililIi[li1l(0x1b8,'mv(n')][li1l(0x99,'D4%3')](lilIIl):await IilllI($['myinviteCode'],$['markedPin']);}else IilIiI[li1l(0x1dd,'DHxb')]('❓'+i1i1I1+'\x20'+IlII1['stringify'](IiI11));}}else{lIIii1[li1l(0x126,'D4%3')]++,ll1i1[li1l(0x9d,'1RUf')]('✅\x20助力成功\x20['+IIli1i[li1l(0x144,'8oV!')]+']');if(I1iIi1){if(ll1l1<=IllIIi['helpnum']){l1ii1[li1l(0xbd,'BuGA')](li1l(0xc6,'V2qc')),ii1ll[li1l(0x165,'HOLy')]=!![];return;}}}}catch(lllIi){if(liIllI[li1l(0xb7,'kEu9')]('LzeTw',liIllI[li1l(0xe3,'S4bj')]))console[li1l(0xb4,'D4%3')](lllIi[li1l(0x1b8,'mv(n')]);else{if(liIllI[li1l(0x211,'gzxb')](I1ilII,I11iIl[li1l(0x131,']w(S')])){l1iIi[li1l(0x184,'[]KV')]('✅\x20当前助力已达到指定助力人数,退出!'),l1l11i[li1l(0x160,'NG)8')]=!![];return;}}}}async function liIIi(){const iliiII=ilIIil,lllIl={'QthMW':function(Iliii,illlii){return Iliii(illlii);},'wwqUs':'happyDigHome','LQMMG':function(I1lIIi,l1i1i,I1iI1i){return I1lIIi(l1i1i,I1iI1i);},'YmQGM':function(l1i1l,I1iI1l){return l1i1l+I1iI1l;},'Jkuku':'happyDigHelpList','bDKph':function(illlil,Iliil){return illlil+Iliil;},'szpWG':function(I1lIIl,l1ilI1){return I1lIIl*l1ilI1;},'fYNzr':iliiII(0x197,'qk&['),'NgNjx':iliiII(0x188,'Z(r%')};$['happyDigHome']='',$[iliiII(0x206,'t@WX')]='',await l1lllI(lllIl['wwqUs']);if($[iliiII(0x1a6,'zXK!')])return;await $['wait'](lllIl[iliiII(0x76,'BuGA')](parseInt,lllIl[iliiII(0x1a8,'C&eV')](Iilll1*0x1,0x64),0xa)),await l1lllI(lllIl[iliiII(0x17c,'S$Ps')]),await $[iliiII(0x7b,'RyPT')](parseInt(lllIl[iliiII(0x247,'t@WX')](lllIl[iliiII(0xdb,'5si*')](Iilll1,0x1),0x64),0xa));if($[iliiII(0x21b,'aG9V')]?.['markedPin']){if(lllIl[iliiII(0x23f,'RyPT')]!==iliiII(0xd0,'ep8G')){$[iliiII(0x111,'RyPT')]=$[iliiII(0xdc,'cO$N')]?.[iliiII(0x80,'dtHQ')],$[iliiII(0x15e,'^5Qf')]=$[iliiII(0xf8,'S$Ps')]?.[iliiII(0x18a,'dtHQ')],$[iliiII(0xa3,'DHxb')]=$[iliiII(0x109,'1RUf')]?.[iliiII(0x21d,'GM#N')]||0x0;const l1l1Il=new Date()['valueOf'](),lil1I=$['happyDigHome']?.['leftTime']+l1l1Il,l1l1Ii=$['time'](lllIl[iliiII(0x8e,'f)H*')],lil1I);console['log'](iliiII(0x198,'s$cu')+l1l1Ii+iliiII(0xb1,')u99')+$[iliiII(0x21a,'f)H*')]+iliiII(0x7a,'S4bj')+$['markedPin']+'&'+$[iliiII(0x246,'mv(n')]);}else lllIl['QthMW'](iIIiil,{'err':i1l1Ii,'res':I1iIIi,'data':I1iIIl});}else console[iliiII(0xae,'!hxf')]('⏺️\x20未能正确获取到助力码,退出执行!'),$[iliiII(0x1b0,'[]KV')]=!![];}async function IilllI(l1i11l,liiil1){const iiI1li=ilIIil,lllII={'gUoCY':function(l11iII,l1i11i){return l11iII(l1i11i);},'BbvSH':iiI1li(0x10f,'5si*')};$[iiI1li(0x221,'aG9V')]=l1i11l,$[iiI1li(0x16b,'RyPT')]=liiil1,await lllII['gUoCY'](l1lllI,lllII[iiI1li(0xb0,'qk&[')]);}async function iI1lIi(l11iI1,IliiI){const IIliii=ilIIil,lI111i={'lEzJm':IIliii(0xf2,'f)H*'),'dFtbC':IIliii(0x228,'[]KV'),'oXyFZ':function(I1lIII,liIlll){return I1lIII+liIlll;},'rWLFS':IIliii(0x179,'s$cu'),'SBPjG':IIliii(0x219,')C6n'),'cEYXp':'\x0a⚠️\x20当前检测到已开启代理,但未填写代理地址变量','VOwsn':'3|4|0|2|5|1','baEKN':function(I1iI1I,illll1){return I1iI1I||illll1;},'UUHxC':IIliii(0x9f,'TNE4'),'dVmLE':function(IIIIl1,liiilI){return IIIIl1||liiilI;},'sVwid':function(lI111l,liiii1){return lI111l===liiii1;},'ULDWL':function(IIiiIl,l1ilIl){return IIiiIl!==l1ilIl;},'UnCUc':'LRxdL','SXErd':'yNDdw','yXhLl':IIliii(0x1f5,'qk&['),'jQYaQ':IIliii(0xb8,'DHxb'),'rDcUx':IIliii(0x11b,')C6n'),'QXymO':IIliii(0x124,'8oV!'),'jUlzs':IIliii(0xd2,'mv(n'),'ARTcP':function(IIiiIi,l1ilIi){return IIiiIi===l1ilIi;},'Tooez':function(l11iIi,ll11li){return l11iIi===ll11li;},'BoPzg':IIliii(0x170,'6OKv'),'TyHdw':IIliii(0x73,'GM#N'),'lWSLS':'IsCza','DVjWy':IIliii(0x216,'5si*'),'MZooH':function(iliIlI,lI111I){return iliIlI===lI111I;},'jErOh':IIliii(0x16c,'gzxb'),'dRvSs':function(IlilI,llIi1){return IlilI===llIi1;},'vaEPl':'wOxda'};try{switch(l11iI1){case IIliii(0x153,'D4%3'):if(lI111i[IIliii(0x205,'kEu9')](IliiI?.[IIliii(0x20f,'aG9V')],0x0)&&lI111i[IIliii(0x23b,'GM#N')](IliiI?.[IIliii(0x223,'RyPT')],!![])){if(lI111i[IIliii(0x1bc,'LK0N')](IIliii(0xab,'qk&['),lI111i['UnCUc']))ilil1I[IIliii(0x204,'mv(n')]=!![],i11il1=ii1iiI+IIliii(0x19e,'DHxb')+lllilI+')';else{$[IIliii(0x116,'D4%3')]=![],$[IIliii(0x1e6,'DHxb')]=IliiI;switch($[IIliii(0x1fe,'S$Ps')]?.[IIliii(0x237,'dtHQ')]){case![]:console['log']('❎\x20'+IliiI[IIliii(0x13d,'t@WX')]+'-'+IliiI[IIliii(0x1f7,'S$Ps')]);break;case!![]:if(l1iIll){$[IIliii(0xb5,'GM#N')]++,console[IIliii(0xa5,']3VR')](IIliii(0x24b,'n%nn')+$['helpnum']+']');if(l1iIli){if(l1iIli<=$[IIliii(0x209,'C&eV')]){console[IIliii(0x16d,'zXK!')](IIliii(0xfc,'DHxb')),$[IIliii(0x141,'Z(r%')]=!![];return;}}}else{$[IIliii(0x148,'n%nn')]++,console['log'](IIliii(0x1c8,'kEu9')+$[IIliii(0x1c0,'NG)8')]+']');if(l1iIli){if(l1iIli<=$[IIliii(0x79,'6OKv')]){console[IIliii(0xa2,'8oV!')]('✅\x20当前助力已达到指定助力人数,退出!'),$[IIliii(0x160,'NG)8')]=!![];return;}}}break;default:{if(lI111i[IIliii(0xdd,'gWf@')](lI111i[IIliii(0x14c,'8oV!')],'yNDdw'))lI11Il[IIliii(0x138,'q]bw')]('>\x20'+lIII1i[IIliii(0x105,'s$cu')]+'-'+l11i11[IIliii(0xc5,'Z(r%')]);else{console[IIliii(0x81,'S$Ps')](IIliii(0x244,'gzxb')+$['happyDigHelp']+']'),$['hotproxy']=!![];break;}}}}}else{if(IliiI[IIliii(0x16a,'gWf@')]?.[IIliii(0x1ba,'5si*')])console[IIliii(0x127,'6OKv')]('>\x20'+IliiI[IIliii(0x14a,'^5Qf')]+'-'+IliiI['errMsg']);else{if(IliiI['errMsg'])console[IIliii(0x1a5,'gWf@')]('>\x20'+IliiI[IIliii(0x24d,'HOLy')]+'-'+IliiI['errMsg']);else{if(IliiI['msg']){if(lI111i[IIliii(0x1ea,'GM#N')]===lI111i[IIliii(0x145,'V2qc')])return iliIil[IIliii(0x157,'DHxb')](iliIii[IIliii(0x108,'%p#G')]()*(lill1i-il1li))+iIIill;else console[IIliii(0xe0,']w(S')]('>\x20'+IliiI[IIliii(0x1ec,'C&eV')]+'-'+IliiI['msg']);}else lI111i[IIliii(0x6c,'7)px')](lI111i['rDcUx'],lI111i['QXymO'])?(iliII1[IIliii(0x200,'dtHQ')](IIliii(0x199,'HOLy')),II11I1[IIliii(0x1cd,'0D]T')](lI111i[IIliii(0x84,'LK0N')])):console[IIliii(0x1a5,'gWf@')]('❓'+l11iI1+'\x20'+JSON[IIliii(0x18d,'LK0N')](IliiI));}}}break;case lI111i[IIliii(0x129,'Z(r%')]:if(lI111i['ARTcP'](IliiI?.['code'],0x0)&&lI111i['ARTcP'](IliiI?.[IIliii(0x98,'DHxb')],!![]))$[IIliii(0x96,'RoQe')]=![],$[IIliii(0x181,'1RUf')]=IliiI['data'];else{if(IliiI[IIliii(0x21e,']w(S')]?.[IIliii(0x156,'NG)8')])console['log']('>\x20'+IliiI['code']+'-'+IliiI[IIliii(0x21e,']w(S')]?.[IIliii(0x1c7,'[]KV')]+'}');else{if(IliiI[IIliii(0x101,'8oV!')])$['runEnd']=!![],console[IIliii(0x200,'dtHQ')]('>\x20'+IliiI[IIliii(0xf9,'7)px')]+'-'+IliiI[IIliii(0x182,'aG9V')]);else{if(IliiI[IIliii(0x248,'BuGA')])lI111i['ARTcP'](IIliii(0x1cb,'HOLy'),'UadQa')?console[IIliii(0xe7,'s$cu')]('>\x20'+IliiI[IIliii(0x232,'6OKv')]+'-'+IliiI[IIliii(0x195,'%p#G')]):(lil11I['hotproxy']=!![],Iliii1=iIiIi+IIliii(0x140,'qk&[')+(iil1ll[IIliii(0x1a3,'aG9V')]||iiilil));else{if(lI111i[IIliii(0x214,'yRMA')](lI111i[IIliii(0xd4,'qk&[')],lI111i[IIliii(0x1fd,'C&eV')]))console[IIliii(0x12a,'aG9V')]('❓'+l11iI1+'\x20'+JSON[IIliii(0x168,'6OKv')](IliiI));else{i1ii(lI111i['dFtbC']);if(I1iIl1){i1l1I[IIliii(0xa5,']3VR')](IIliii(0x162,'C&eV')),IiilIi[IIliii(0x233,'HOLy')](lI111i[IIliii(0xa4,'%p#G')](lI111i['oXyFZ']('☑️\x20代理地址为:',IiilIl),'\x0a'));let Ill111=/[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+\.?/g;iii1Ii[IIliii(0xf1,'%p#G')][IIliii(0x1be,'dtHQ')]=Ill111[IIliii(0x11c,'V2qc')](iii1Il)[0x0]+','+lI1IiI;}else i1li?(i1lI['GLOBAL_AGENT'][IIliii(0x8c,'t@WX')]=IlI1l,lilIil[IIliii(0x7c,'7)px')][IIliii(0x7e,'OiMA')]=''+i1l11,i1l1li['log'](lI111i['rWLFS']),i1ilii['log'](lI111i['SBPjG']+iIIII1[IIliii(0x77,'GM#N')]['HTTP_PROXY']+'\x0a')):(i1l1ll[IIliii(0xbd,'BuGA')](lI111i['cEYXp']),I1iIiI['log']('⚠\x20代理池变量:export\x20JD_FCWB_PROXY_TUNNRL=\x27http://ip:port\x27'),li1I1[IIliii(0xb4,'D4%3')](IIliii(0x95,'S$Ps')));}}}}}break;case lI111i[IIliii(0x123,'4u2C')]:if(lI111i[IIliii(0xc1,'F&vk')](IliiI?.['code'],0x0)&&IliiI?.['success']===!![])$[IIliii(0x10c,'5si*')]=![],$[IIliii(0x130,'kEu9')]=IliiI[IIliii(0xa7,')u99')];else{if(IliiI[IIliii(0x24a,'%p#G')]?.['bizMsg'])lI111i[IIliii(0x71,'zXK!')]('IsCza',lI111i[IIliii(0x93,'dtHQ')])?lllii1[IIliii(0x177,'C&eV')]('>\x20'+liIli[IIliii(0xff,'OiMA')]+'-'+liIll[IIliii(0x15d,'n%nn')]):console[IIliii(0xb4,'D4%3')]('>\x20'+IliiI[IIliii(0xa1,')u99')]+'-'+IliiI[IIliii(0x225,'q]bw')]?.['bizMsg']);else{if(IliiI[IIliii(0xcb,'t@WX')])$['runEnd']=!![],console[IIliii(0x1cd,'0D]T')]('>\x20'+IliiI[IIliii(0xfd,'RoQe')]+'-'+IliiI[IIliii(0xd7,'dtHQ')]);else{if(IliiI[IIliii(0x115,'t@WX')]){if(lI111i[IIliii(0xda,'du[G')](IIliii(0x119,'!hxf'),lI111i[IIliii(0x159,')C6n')])){const l1ilII=lI111i['VOwsn']['split']('|');let ii1II1=0x0;while(!![]){switch(l1ilII[ii1II1++]){case'0':llI1Ii[IIliii(0x235,'^5Qf')]('🔧\x20'+lllI1i+'\x20响应Cookie\x20=>\x20'+lI111i[IIliii(0x16e,'TNE4')](li1i1l,'无')+'\x0a');continue;case'1':iiiliI[IIliii(0x177,'C&eV')](lI111i['UUHxC']);continue;case'2':II1i1[IIliii(0xce,'%p#G')](IIliii(0xfe,'aG9V')+lI1lll+'\x20请求参数');continue;case'3':Ill1i[IIliii(0x114,'V2qc')]('\x0a---------------------------------------------------\x0a');continue;case'4':ii1iil['log']('🔧\x20'+lllI1l+IIliii(0x12f,'^5Qf')+lI111i['dVmLE'](i11iii,'无')+'\x0a');continue;case'5':iIiII[IIliii(0x1b1,'GM#N')](iil1lI);continue;}break;}}else console[IIliii(0x85,'I7Nh')]('>\x20'+IliiI['code']+'-'+IliiI['msg']);}else lI111i[IIliii(0x174,'t@WX')](lI111i[IIliii(0x1ce,'ep8G')],lI111i[IIliii(0xb9,'!hxf')])?console[IIliii(0xae,'!hxf')]('❓'+l11iI1+'\x20'+JSON[IIliii(0x8a,'^5Qf')](IliiI)):iIIl11[IIliii(0x177,'C&eV')]('❖\x20已填写指定人数变量,指定人数\x20['+l1l1I1+']');}}}break;}}catch(llliIl){if(lI111i[IIliii(0xb3,'mv(n')](IIliii(0x194,'C&eV'),lI111i[IIliii(0x19d,'s$cu')]))return new i1ill(async illliI=>{const i1111I=IIliii,ii1III={'BrnTN':function(i11iIl,ll11ll){return i11iIl(ll11ll);}};i1l1Il[i1111I(0xe6,'7)px')](llIli,(l11iIl,i11iIi,IIIIll)=>{const IliIl1=i1111I;ii1III[IliIl1(0x1c3,'OiMA')](illliI,{'err':l11iIl,'res':i11iIi,'data':IIIIll});});});else console['log'](IIliii(0x1df,'zXK!')+l11iI1+IIliii(0x1f8,']w(S')+(llliIl['message']||llliIl));}}async function l1lllI(liiiii){const lIl1lI=ilIIil,II1I={'hnDbQ':'\x0a---------------------------------------------------\x0a','alicp':function(ii1IIi,I1ll1l){return ii1IIi(I1ll1l);},'wLkqE':function(I1ll1i,i11iII){return I1ll1i(i11iII);},'cnRXa':function(lI1Ii1,i1I11){return lI1Ii1+i1I11;},'IwcuY':lIl1lI(0x6a,'gzxb'),'YUKbe':function(I1I1i1){return I1I1i1();},'JIHlN':lIl1lI(0x18e,'V2qc'),'FRCiR':lIl1lI(0x243,'5si*'),'QLrto':lIl1lI(0xa9,'f)H*'),'dhXRw':lIl1lI(0x1ff,'kEu9'),'zMEjp':lIl1lI(0x213,'n%nn'),'vsZbG':'ios','WPuvu':lIl1lI(0x152,'7)px'),'KYgof':lIl1lI(0x1fc,'LK0N'),'DYXkq':lIl1lI(0x1d5,'ep8G'),'LRToq':lIl1lI(0x92,'DHxb'),'OCJgQ':'application/json,\x20text/plain,\x20*/*','EZCoU':lIl1lI(0x202,']3VR'),'NptvX':'application/x-www-form-urlencoded','OkBVp':lIl1lI(0x1c5,']w(S'),'WWHuZ':lIl1lI(0x1db,'s$cu'),'KxBOa':lIl1lI(0x1d8,'cO$N'),'HiPta':function(i1I1l,i1I1i){return i1I1l===i1I1i;},'ImgRj':lIl1lI(0x13c,'TNE4'),'EBtki':function(IIiiII,llIiI,Ilill){return IIiiII(llIiI,Ilill);},'EkVCA':function(Ilili,I1ll1I){return Ilili===I1ll1I;},'SRDQw':'string','tXMxk':lIl1lI(0x1a0,'f)H*'),'yZYzH':function(Iii1I1,i11iI1){return Iii1I1!==i11iI1;},'ITmiN':lIl1lI(0x1f2,'RoQe'),'xOPcc':lIl1lI(0x1d1,'mv(n'),'HDhGQ':lIl1lI(0x169,'S4bj'),'HZoQk':'5|0|4|1|3|2','znkpf':function(Iii1II,llIlI){return Iii1II||llIlI;},'MUrIa':'无响应数据','wLlip':lIl1lI(0xed,'LK0N'),'IGcVj':lIl1lI(0x241,'BuGA'),'ttHgt':'JYllk','JBzDG':lIl1lI(0x1b7,'ep8G'),'GSgkV':lIl1lI(0x1fa,'F&vk'),'xYrvV':lIl1lI(0x236,'HOLy')};if($[lIl1lI(0x245,'OiMA')])return;let lI1111='',Ilil1='',IliII1=II1I['JIHlN'],l1iIi1='',i1I1I={};switch(liiiii){case lIl1lI(0x6b,'LK0N'):i1I1I={'appId':II1I[lIl1lI(0xfa,')u99')],'functionId':II1I[lIl1lI(0xf6,')u99')],'appid':II1I['dhXRw'],'clientVersion':II1I[lIl1lI(0x23a,'TNE4')],'client':II1I['vsZbG'],'body':{'linkId':iIi1l},'version':II1I['WPuvu'],'ua':$['UA'],'t':!![]},l1iIi1=await IiiI['getH5st'](i1I1I),lI1111=lIl1lI(0x10a,'t@WX')+l1iIi1[lIl1lI(0x128,'BuGA')];break;case'happyDigHelpList':i1I1I={'appId':II1I[lIl1lI(0x69,'aG9V')],'functionId':'happyDigHelpList','appid':II1I[lIl1lI(0x1a9,'^5Qf')],'clientVersion':II1I['zMEjp'],'client':II1I[lIl1lI(0x24c,'D4%3')],'body':{'pageNum':0x1,'pageSize':0x32,'linkId':iIi1l},'version':lIl1lI(0x7f,'GM#N'),'ua':$['UA'],'t':!![]},l1iIi1=await IiiI[lIl1lI(0x12c,'C&eV')](i1I1I),lI1111=lIl1lI(0x180,'GM#N')+l1iIi1[lIl1lI(0x178,'aG9V')];break;case II1I[lIl1lI(0x176,'V2qc')]:i1I1I={'appId':II1I[lIl1lI(0x19f,'[]KV')],'functionId':II1I[lIl1lI(0xaf,'C&eV')],'appid':II1I[lIl1lI(0x20d,']w(S')],'clientVersion':lIl1lI(0x17a,'RyPT'),'client':II1I['vsZbG'],'body':{'linkId':iIi1l,'inviter':$['inviter'],'inviteCode':$[lIl1lI(0x15c,'OiMA')]},'version':lIl1lI(0x242,'^5Qf'),'ua':$['UA'],'t':!![]},l1iIi1=await IiiI[lIl1lI(0x70,'q]bw')](i1I1I),lI1111='https://api.m.jd.com/api?'+l1iIi1['params'];break;default:console['log'](lIl1lI(0x117,'GM#N')+liiiii);return;}const llIil={'url':lI1111,'headers':{'Accept':II1I[lIl1lI(0x12b,'n%nn')],'Accept-Encoding':lIl1lI(0x1bb,'0D]T'),'Accept-Language':lIl1lI(0x22d,'RyPT'),'Connection':II1I['EZCoU'],'Content-Type':II1I[lIl1lI(0x1af,']w(S')],'Cookie':iIi1I,'Host':II1I['OkBVp'],'Referer':lIl1lI(0xf0,'7)px')+iIi1l+'&channel=wyw&utm_campaign=&utm_source=&utm_term=&utm_medium=&sid=&un_area=4_133_58530_0','Origin':II1I['WWHuZ'],'x-rp-client':II1I[lIl1lI(0x86,'^5Qf')],'User-Agent':$['UA']},'body':Ilil1,'timeout':0x4e20};II1I['HiPta'](IliII1,II1I[lIl1lI(0xca,'OiMA')])&&(delete llIil[lIl1lI(0x1f3,'s$cu')],delete llIil[lIl1lI(0xe9,'%p#G')][II1I[lIl1lI(0x19a,'5si*')]]);const llIii=0x1;let IIiiI1=0x0,IIIIi1=null,ii1IIl=![];while(IIiiI10x0&&await $['wait'](0x3e8);const {err:l1iIil,res:l1iIii,data:illllI}=await II1I[lIl1lI(0x207,']w(S')](llliIi,llIil,IliII1);if(l1iIil){if(II1I['EkVCA'](typeof l1iIil,II1I[lIl1lI(0x21f,'Z(r%')])&&l1iIil[lIl1lI(0x1b9,'F&vk')](II1I['tXMxk']))IIIIi1=liiiii+lIl1lI(0x229,'0D]T');else{if(II1I['yZYzH'](lIl1lI(0x136,')C6n'),II1I[lIl1lI(0x11a,'S4bj')]))ii1ilI[lIl1lI(0xce,'%p#G')](II1I['hnDbQ']),lI1ll1[lIl1lI(0x22c,'kEu9')](lIl1lI(0x78,'gzxb'));else{const ii1l11=l1iIii?.[lIl1lI(0x1d0,'RoQe')];if(ii1l11){if(II1I[lIl1lI(0x196,'gWf@')]('kAhoS',lIl1lI(0x1a2,'aG9V'))){if([0x193,0x1ed][lIl1lI(0x1e1,'1RUf')](ii1l11))IIIIi1=liiiii+lIl1lI(0x220,'ep8G')+ii1l11+')',$[lIl1lI(0x1ac,'TNE4')]=!![],ii1IIl=!![];else[0x190,0x194][lIl1lI(0x226,'%p#G')](ii1l11)?'NpjWH'!==lIl1lI(0x74,'s$cu')?($[lIl1lI(0xc2,'GM#N')]=!![],IIIIi1=liiiii+lIl1lI(0x1ee,'kEu9')+ii1l11+')'):(I1iIli[lIl1lI(0x12e,'[]KV')](lI1Ill[lIl1lI(0x1ab,'yRMA')],'【提示】请先获取Cookie'),lI1Ili[lIl1lI(0x1ae,'%p#G')](0x1)):II1I[lIl1lI(0xec,'TNE4')]===II1I['HDhGQ']?II1I['alicp'](II11ll,{'err':liiI1I,'res':ililII,'data':lI1II1}):($[lIl1lI(0x134,'7)px')]=!![],IIIIi1=liiiii+lIl1lI(0xaa,'7)px')+ii1l11+')');}else Iiiii['log']('>\x20'+l11i1I[lIl1lI(0x1ec,'C&eV')]+'-'+IiII['msg']);}else $[lIl1lI(0x192,'DHxb')]=!![],IIIIi1=liiiii+lIl1lI(0x18f,'t@WX')+(l1iIil[lIl1lI(0x1e0,'Z(r%')]||l1iIil);}}IIiiI1++;}else{const lI1lIl=IIIlI[lIl1lI(0x11e,'F&vk')](l1iIii),liiili=![];if(liiili){const I1ll11=II1I[lIl1lI(0x82,'HOLy')][lIl1lI(0xa6,'dtHQ')]('|');let lI1lIi=0x0;while(!![]){switch(I1ll11[lI1lIi++]){case'0':console['log'](lIl1lI(0x1b2,'dtHQ')+liiiii+'\x20响应Body\x20=>\x20'+II1I[lIl1lI(0xe4,'qk&[')](illllI,'无')+'\x0a');continue;case'1':console[lIl1lI(0x175,'ep8G')]('🔧\x20'+liiiii+'\x20请求参数');continue;case'2':console[lIl1lI(0xe8,'Z(r%')](II1I[lIl1lI(0x16f,'4u2C')]);continue;case'3':console[lIl1lI(0x12a,'aG9V')](llIil);continue;case'4':console[lIl1lI(0x1a5,'gWf@')](lIl1lI(0x208,'q]bw')+liiiii+lIl1lI(0x1c1,'HOLy')+II1I[lIl1lI(0x1f6,'F&vk')](lI1lIl,'无')+'\x0a');continue;case'5':console[lIl1lI(0x1d2,'LK0N')](II1I['hnDbQ']);continue;}break;}}try{const Iii1Ii=JSON[lIl1lI(0xad,'gWf@')](illllI);iI1lIi(liiiii,Iii1Ii);break;}catch(Iii1Il){lIl1lI(0xa0,'%p#G')!=='KybTX'?(lI11II['runEnd']=!![],l1llI1[lIl1lI(0x173,'gzxb')]('>\x20'+llIIll[lIl1lI(0xff,'OiMA')]+'-'+IillIi[lIl1lI(0x1fb,'cO$N')])):(IIIIi1='❌\x20'+liiiii+lIl1lI(0x1e4,'HOLy')+Iii1Il['message'],console[lIl1lI(0xe7,'s$cu')](lIl1lI(0x1c6,'NG)8')+liiiii+'\x20=>\x20'+II1I[lIl1lI(0x164,'NG)8')](String,II1I[lIl1lI(0x20a,'0D]T')](illllI,II1I[lIl1lI(0x6f,'gzxb')]))),liiili&&(console[lIl1lI(0x1cc,'F&vk')]('\x0a---------------------------------------------------\x0a'),console[lIl1lI(0x1b3,'f)H*')](II1I['hnDbQ'])),IIiiI1++);}ii1IIl=![];}i1lIlI&&ll11I&&(I1I1iI&&(II1I[lIl1lI(0x1b4,'t@WX')]!=='DXNPR'?($['hotproxy']&&(await II1I[lIl1lI(0x1cf,'BuGA')](i1lIll),global[lIl1lI(0xea,'S$Ps')]['HTTP_PROXY']=II1I['cnRXa'](II1I[lIl1lI(0x120,'HOLy')],iiIiI1),ili1Il=0x0,$[lIl1lI(0x11d,'Z(r%')]=![],console[lIl1lI(0x227,')u99')](II1I[lIl1lI(0xd5,'dtHQ')]('📶\x20',iiIiI1))),ili1Il++):I1iIII[lIl1lI(0x1aa,'HOLy')](liiI11,(llIl1,l1iIiI,illlli)=>{const iiI1ll=lIl1lI;II1I[iiI1ll(0x7d,'s$cu')](IIii1i,{'err':llIl1,'res':l1iIiI,'data':illlli});})));}if(IIiiI1>=llIii){if(II1I[lIl1lI(0xe1,'F&vk')]!==II1I[lIl1lI(0x15a,'ep8G')]){console[lIl1lI(0xb4,'D4%3')](IIIIi1);if(ii1IIl){if(II1I['EkVCA'](II1I['JBzDG'],II1I['GSgkV']))lil[lIl1lI(0xe7,'s$cu')]('>\x20'+IllI1l['code']+'-'+i11I1i[lIl1lI(0x1ef,'^5Qf')]);else{$[lIl1lI(0x1d4,'cO$N')]=!![];if($[lIl1lI(0x103,'V2qc')]){if(II1I[lIl1lI(0xf3,'HOLy')]===II1I['xYrvV'])$[lIl1lI(0x1bd,'cO$N')][lIl1lI(0xdf,'Z(r%')](IIIIi1);else try{let II1I1=/((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})(\.((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})){3}:[1-9]\d*/g,i1i111=II1I1['exec'](llI11I[lIl1lI(0x172,'cO$N')]);Il1i11=i1i111[0x0],iii1li[lIl1lI(0x240,'0D]T')][lIl1lI(0x189,'f)H*')]=II1I[lIl1lI(0x91,'HOLy')](II1I['IwcuY'],Iil1i1);}catch(ii1l1I){}finally{II1I[lIl1lI(0x9b,'S4bj')](IIii11);}}}}}else liI[lIl1lI(0x231,'RyPT')]('>\x20'+illIli[lIl1lI(0x22a,'RyPT')]+'-'+l11i1l[lIl1lI(0x16a,'gWf@')]?.[lIl1lI(0x19c,'6OKv')]+'}');}}async function llliIi(lIill1,iiI1i1=ilIIil(0x201,'dtHQ')){const lIiliI=ilIIil,ilIlII={'bhUYG':function(iIiil1,l1lI1i){return iIiil1!==l1lI1i;},'tvUHY':function(l1lI1l,l1I1Il){return l1lI1l+l1I1Il;},'YOYmY':lIiliI(0x1e8,'gzxb'),'SxsVW':function(l1I1Ii,IIlili){return l1I1Ii(IIlili);},'kAFlh':function(IIlill,IllllI){return IIlill<=IllllI;},'iiqqp':function(liliil,I1iil1){return liliil!==I1iil1;},'hZMgI':lIiliI(0x1e9,'kEu9'),'oTaLD':function(lIillI,lI1il1){return lIillI===lI1il1;},'acUsk':'POST','gFcRt':function(liliii,iIiilI){return liliii===iIiilI;},'AzgdN':lIiliI(0xc0,'NG)8'),'sixJm':'GET'};if(ilIlII[lIiliI(0x22e,'^5Qf')](iiI1i1,ilIlII['acUsk'])){if(ilIlII[lIiliI(0x17d,'zXK!')]('BTSaG',ilIlII[lIiliI(0x13b,'8oV!')]))return new Promise(async iIiiil=>{const iIiill=lIiliI,iIiiii={'KbapN':function(ilIlIi,ilIlIl){return ilIlIi(ilIlIl);}};ilIlII[iIiill(0x185,'mv(n')]('ZvFGl',iIiill(0x132,'t@WX'))?$[iIiill(0xac,'BuGA')](lIill1,(l1lI1I,ll1llI,i11lIl)=>{const Ii1IIi=iIiill;iIiiii[Ii1IIi(0x118,'gzxb')](iIiiil,{'err':l1lI1I,'res':ll1llI,'data':i11lIl});}):iIli1i[iIiill(0x16d,'zXK!')](iIiill(0x14b,'du[G')+iI1lii+iIiill(0x6d,'n%nn')+(IilIii[iIiill(0x23e,'I7Nh')]||iI1lil));});else i1IIl['GLOBAL_AGENT'][lIiliI(0x183,'zXK!')]=I1lll1,i1IIi[lIiliI(0x163,'aG9V')]['NO_PROXY']=''+IIII1I,Iii111[lIiliI(0x81,'S$Ps')](lIiliI(0x179,'s$cu')),l1l1II['log'](ilIlII['tvUHY'](ilIlII['YOYmY']+Iil1I1['GLOBAL_AGENT']['HTTP_PROXY'],'\x0a'));}else{if(ilIlII[lIiliI(0x167,'4u2C')](iiI1i1,ilIlII[lIiliI(0x20c,'%p#G')]))return new Promise(async i11lIi=>{const Ii1IIl=lIiliI,ll1ll1={'UCINi':function(lilil1,lIilli){return ilIlII['kAFlh'](lilil1,lIilli);}};if(ilIlII[Ii1IIl(0xef,'BuGA')]('LYhIP',ilIlII[Ii1IIl(0x13f,'qk&[')]))$[Ii1IIl(0x100,'!hxf')](lIill1,(I1iiii,iiI1iI,I1iiil)=>{const l111I=Ii1IIl;ilIlII[l111I(0x112,'4u2C')](i11lIi,{'err':I1iiii,'res':iiI1iI,'data':I1iiil});});else{if(ll1ll1[Ii1IIl(0x154,'q]bw')](ll1ii,IIli11['helpnum'])){IIll1[Ii1IIl(0x138,'q]bw')](Ii1IIl(0x1c2,'gzxb')),ll1il[Ii1IIl(0x1e2,'aG9V')]=!![];return;}}});else{const lI1iil=lIiliI(0x151,'Z(r%');return{'err':lI1iil,'res':null,'data':null};}}}function i1lIli(lIilll,iIiiiI){const ll1lli=ilIIil,ilI11i={'qSGte':function(ilI11l,li1I){return ilI11l+li1I;},'BdcdF':function(IIliil,ll1liI){return IIliil*ll1liI;}};return ilI11i[ll1lli(0x218,'OiMA')](Math[ll1lli(0x1e3,'%p#G')](ilI11i[ll1lli(0x1eb,'RoQe')](Math[ll1lli(0x143,'aG9V')](),iIiiiI-lIilll)),lIilll);}function i1lIll(){const ll1lll=ilIIil,lI1iiI={'GIouu':ll1lll(0x10d,'I7Nh'),'RdXiA':ll1lll(0x1de,'DHxb'),'CDAaQ':ll1lll(0x190,'C&eV'),'BOklp':ll1lll(0x187,'I7Nh'),'VkChq':function(i11lII){return i11lII();}};return new Promise(async iIIlli=>{const Illlil=ll1lll;$[Illlil(0x100,'!hxf')]({'url':I1I1iI,'timeout':{'request':0x1388}},(ll1li1,iIIlll)=>{const I1iili=Illlil;if(iIIlll){if(lI1iiI['GIouu']===lI1iiI[I1iili(0x1c9,')u99')])i1illl[I1iili(0x1cd,'0D]T')](I1iili(0x191,'8oV!')),I1llil['log'](I1iili(0xe5,'V2qc')),I1llii=![];else try{if(lI1iiI[I1iili(0x1a7,'D4%3')]!==lI1iiI[I1iili(0x1b5,'gWf@')]){let iiI1il=/((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})(\.((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})){3}:[1-9]\d*/g,iiI1ii=iiI1il[I1iili(0xde,'LK0N')](iIIlll[I1iili(0x249,'ep8G')]);iiIiI1=iiI1ii[0x0],global[I1iili(0x1dc,'V2qc')]['HTTP_PROXY']='http://'+iiIiI1;}else lilIi[I1iili(0xbd,'BuGA')]('>\x20'+l1l11I[I1iili(0xc9,'ep8G')]+'-'+lilIl[I1iili(0xd7,'dtHQ')]);}catch(lilii1){}finally{lI1iiI[I1iili(0x238,'I7Nh')](iIIlli);}}});});}var version_ = 'jsjiami.com.v7'; // prettier-ignore function Env(t, e) { "undefined" != typeof process && JSON.stringify(process.env).indexOf("GITHUB") > -1 && process.exit(0); class s { constructor(t) { this.env = t } send(t, e = "GET") { t = "string" == typeof t ? { url: t } : t; let s = this.get; return "POST" === e && (s = this.post), new Promise((e, i) => { s.call(this, t, (t, s, r) => { t ? i(t) : e(s) }) }) } get(t) { return this.send.call(this.env, t) } post(t) { return this.send.call(this.env, t, "POST") } } return new class { constructor(t, e) { this.name = t, this.http = new s(this), this.data = null, this.dataFile = "box.dat", this.logs = [], this.isMute = !1, this.isNeedRewrite = !1, this.logSeparator = "\n", this.startTime = (new Date).getTime(), Object.assign(this, e), this.log("", `🔔${this.name}, 开始!`) } isNode() { return "undefined" != typeof module && !!module.exports } isQuanX() { return "undefined" != typeof $task } isSurge() { return "undefined" != typeof $httpClient && "undefined" == typeof $loon } isLoon() { return "undefined" != typeof $loon } toObj(t, e = null) { try { return JSON.parse(t) } catch { return e } } toStr(t, e = null) { try { return JSON.stringify(t) } catch { return e } } getjson(t, e) { let s = e; const i = this.getdata(t); if (i) try { s = JSON.parse(this.getdata(t)) } catch { } return s } setjson(t, e) { try { return this.setdata(JSON.stringify(t), e) } catch { return !1 } } getScript(t) { return new Promise(e => { this.get({ url: t }, (t, s, i) => e(i)) }) } runScript(t, e) { return new Promise(s => { let i = this.getdata("@chavy_boxjs_userCfgs.httpapi"); i = i ? i.replace(/\n/g, "").trim() : i; let r = this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout"); r = r ? 1 * r : 20, r = e && e.timeout ? e.timeout : r; const [o, h] = i.split("@"), n = { url: `http://${h}/v1/scripting/evaluate`, body: { script_text: t, mock_type: "cron", timeout: r }, headers: { "X-Key": o, Accept: "*/*" } }; this.post(n, (t, e, i) => s(i)) }).catch(t => this.logErr(t)) } loaddata() { if (!this.isNode()) return {}; { this.fs = this.fs ? this.fs : require("fs"), this.path = this.path ? this.path : require("path"); const t = this.path.resolve(this.dataFile), e = this.path.resolve(process.cwd(), this.dataFile), s = this.fs.existsSync(t), i = !s && this.fs.existsSync(e); if (!s && !i) return {}; { const i = s ? t : e; try { return JSON.parse(this.fs.readFileSync(i)) } catch (t) { return {} } } } } writedata() { if (this.isNode()) { this.fs = this.fs ? this.fs : require("fs"), this.path = this.path ? this.path : require("path"); const t = this.path.resolve(this.dataFile), e = this.path.resolve(process.cwd(), this.dataFile), s = this.fs.existsSync(t), i = !s && this.fs.existsSync(e), r = JSON.stringify(this.data); s ? this.fs.writeFileSync(t, r) : i ? this.fs.writeFileSync(e, r) : this.fs.writeFileSync(t, r) } } lodash_get(t, e, s) { const i = e.replace(/\[(\d+)\]/g, ".$1").split("."); let r = t; for (const t of i) if (r = Object(r)[t], void 0 === r) return s; return r } lodash_set(t, e, s) { return Object(t) !== t ? t : (Array.isArray(e) || (e = e.toString().match(/[^.[\]]+/g) || []), e.slice(0, -1).reduce((t, s, i) => Object(t[s]) === t[s] ? t[s] : t[s] = Math.abs(e[i + 1]) >> 0 == +e[i + 1] ? [] : {}, t)[e[e.length - 1]] = s, t) } getdata(t) { let e = this.getval(t); if (/^@/.test(t)) { const [, s, i] = /^@(.*?)\.(.*?)$/.exec(t), r = s ? this.getval(s) : ""; if (r) try { const t = JSON.parse(r); e = t ? this.lodash_get(t, i, "") : e } catch (t) { e = "" } } return e } setdata(t, e) { let s = !1; if (/^@/.test(e)) { const [, i, r] = /^@(.*?)\.(.*?)$/.exec(e), o = this.getval(i), h = i ? "null" === o ? null : o || "{}" : "{}"; try { const e = JSON.parse(h); this.lodash_set(e, r, t), s = this.setval(JSON.stringify(e), i) } catch (e) { const o = {}; this.lodash_set(o, r, t), s = this.setval(JSON.stringify(o), i) } } else s = this.setval(t, e); return s } getval(t) { return this.isSurge() || this.isLoon() ? $persistentStore.read(t) : this.isQuanX() ? $prefs.valueForKey(t) : this.isNode() ? (this.data = this.loaddata(), this.data[t]) : this.data && this.data[t] || null } setval(t, e) { return this.isSurge() || this.isLoon() ? $persistentStore.write(t, e) : this.isQuanX() ? $prefs.setValueForKey(t, e) : this.isNode() ? (this.data = this.loaddata(), this.data[e] = t, this.writedata(), !0) : this.data && this.data[e] || null } initGotEnv(t) { this.got = this.got ? this.got : require("got"), this.cktough = this.cktough ? this.cktough : require("tough-cookie"), this.ckjar = this.ckjar ? this.ckjar : new this.cktough.CookieJar, t && (t.headers = t.headers ? t.headers : {}, void 0 === t.headers.Cookie && void 0 === t.cookieJar && (t.cookieJar = this.ckjar)) } get(t, e = (() => { })) { t.headers && (delete t.headers["Content-Type"], delete t.headers["Content-Length"]), this.isSurge() || this.isLoon() ? (this.isSurge() && this.isNeedRewrite && (t.headers = t.headers || {}, Object.assign(t.headers, { "X-Surge-Skip-Scripting": !1 })), $httpClient.get(t, (t, s, i) => { !t && s && (s.body = i, s.statusCode = s.status), e(t, s, i) })) : this.isQuanX() ? (this.isNeedRewrite && (t.opts = t.opts || {}, Object.assign(t.opts, { hints: !1 })), $task.fetch(t).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => e(t))) : this.isNode() && (this.initGotEnv(t), this.got(t).on("redirect", (t, e) => { try { if (t.headers["set-cookie"]) { const s = t.headers["set-cookie"].map(this.cktough.Cookie.parse).toString(); s && this.ckjar.setCookieSync(s, null), e.cookieJar = this.ckjar } } catch (t) { this.logErr(t) } }).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => { const { message: s, response: i } = t; e(s, i, i && i.body) })) } post(t, e = (() => { })) { if (t.body && t.headers && !t.headers["Content-Type"] && (t.headers["Content-Type"] = "application/x-www-form-urlencoded"), t.headers && delete t.headers["Content-Length"], this.isSurge() || this.isLoon()) this.isSurge() && this.isNeedRewrite && (t.headers = t.headers || {}, Object.assign(t.headers, { "X-Surge-Skip-Scripting": !1 })), $httpClient.post(t, (t, s, i) => { !t && s && (s.body = i, s.statusCode = s.status), e(t, s, i) }); else if (this.isQuanX()) t.method = "POST", this.isNeedRewrite && (t.opts = t.opts || {}, Object.assign(t.opts, { hints: !1 })), $task.fetch(t).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => e(t)); else if (this.isNode()) { this.initGotEnv(t); const { url: s, ...i } = t; this.got.post(s, i).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => { const { message: s, response: i } = t; e(s, i, i && i.body) }) } } time(t, e = null) { const s = e ? new Date(e) : new Date; let i = { "M+": s.getMonth() + 1, "d+": s.getDate(), "H+": s.getHours(), "m+": s.getMinutes(), "s+": s.getSeconds(), "q+": Math.floor((s.getMonth() + 3) / 3), S: s.getMilliseconds() }; /(y+)/.test(t) && (t = t.replace(RegExp.$1, (s.getFullYear() + "").substr(4 - RegExp.$1.length))); for (let e in i) new RegExp("(" + e + ")").test(t) && (t = t.replace(RegExp.$1, 1 == RegExp.$1.length ? i[e] : ("00" + i[e]).substr(("" + i[e]).length))); return t } msg(e = t, s = "", i = "", r) { const o = t => { if (!t) return t; if ("string" == typeof t) return this.isLoon() ? t : this.isQuanX() ? { "open-url": t } : this.isSurge() ? { url: t } : void 0; if ("object" == typeof t) { if (this.isLoon()) { let e = t.openUrl || t.url || t["open-url"], s = t.mediaUrl || t["media-url"]; return { openUrl: e, mediaUrl: s } } if (this.isQuanX()) { let e = t["open-url"] || t.url || t.openUrl, s = t["media-url"] || t.mediaUrl; return { "open-url": e, "media-url": s } } if (this.isSurge()) { let e = t.url || t.openUrl || t["open-url"]; return { url: e } } } }; if (this.isMute || (this.isSurge() || this.isLoon() ? $notification.post(e, s, i, o(r)) : this.isQuanX() && $notify(e, s, i, o(r))), !this.isMuteLog) { let t = ["", "==============📣系统通知📣=============="]; t.push(e), s && t.push(s), i && t.push(i), console.log(t.join("\n")), this.logs = this.logs.concat(t) } } log(...t) { t.length > 0 && (this.logs = [...this.logs, ...t]), console.log(t.join(this.logSeparator)) } logErr(t, e) { const s = !this.isSurge() && !this.isQuanX() && !this.isLoon(); s ? this.log("", `❗️${this.name}, 错误!`, t.stack) : this.log("", `❗️${this.name}, 错误!`, t) } wait(t) { return new Promise(e => setTimeout(e, t)) } done(t = {}) { const e = (new Date).getTime(), s = (e - this.startTime) / 1e3; this.log("", `🔔${this.name}, 结束! 🕛 ${s} 秒`), this.log(), (this.isSurge() || this.isQuanX() || this.isLoon()) && $done(t) } }(t, e) }