mirror of
https://github.com/shufflewzc/faker3.git
synced 2024-11-15 00:09:20 +08:00
15 lines
38 KiB
JavaScript
15 lines
38 KiB
JavaScript
/*
|
||
活动名称:新版玩一玩之摇一摇抽奖 5.17-8.31结束
|
||
活动入口:APP-我的-更多工具-玩一玩
|
||
活动建议:定时自行修改,奖票有效期2个月
|
||
提现变量:jd_wyw_autotx //是否自动提现
|
||
|
||
cron:1 1 1 1 *
|
||
|
||
*/
|
||
|
||
const $ = new Env('新版玩一玩之摇一摇抽奖')
|
||
const _0xac210f=_0x200c;(function(_0x378b72,_0x50c738){const _0x3d4f3d=_0x200c,_0x2ffc77=_0x378b72();while(!![]){try{const _0x13f451=parseInt(_0x3d4f3d(0x229,'@R$r'))/0x1*(-parseInt(_0x3d4f3d(0x174,'eXIV'))/0x2)+-parseInt(_0x3d4f3d(0x2a0,'y)IS'))/0x3+-parseInt(_0x3d4f3d(0x1fa,'ssdq'))/0x4+-parseInt(_0x3d4f3d(0x1a0,'AYlz'))/0x5*(-parseInt(_0x3d4f3d(0x1c2,'QHhl'))/0x6)+-parseInt(_0x3d4f3d(0x290,'VkOH'))/0x7*(parseInt(_0x3d4f3d(0x1fb,'GEyh'))/0x8)+-parseInt(_0x3d4f3d(0x1dd,'uWc#'))/0x9+-parseInt(_0x3d4f3d(0x255,'Kr^%'))/0xa*(-parseInt(_0x3d4f3d(0x1f1,'[mry'))/0xb);if(_0x13f451===_0x50c738)break;else _0x2ffc77['push'](_0x2ffc77['shift']());}catch(_0x4c756d){_0x2ffc77['push'](_0x2ffc77['shift']());}}}(_0x5ccd,0xa0287));const jdCookie=require(_0xac210f(0x184,'[v63')),notify=require(_0xac210f(0x1b4,'GEyh')),common=require('./utils/Rebels_jdCommon'),{H5st}=require(_0xac210f(0x1ae,'W@pX')),isNotify=![];let superlinkId='aE-1vg6_no2csxgXFuv3Kg';const autotx=process['env'][_0xac210f(0x18a,'eXIV')]==='true',exchange=process[_0xac210f(0x1cf,'uWc#')][_0xac210f(0x22a,'80Y2')]===_0xac210f(0x28c,'uk(n'),Swish=_0xac210f(0x167,'mwe8');function _0x5ccd(){const _0x5d561d=['WQ/dJmoCW7lcOCk2WPi4WRXJWPBdHKy','W5zXwbpcUs/dH8oUtKNdHmorW63dVNO','BItdOc3dJmkD','t8kwW6jnmxNcQW','W6mDoSoPWPOKl3O','Agq1rCkHWOa3mc4','W5rXW7TtkfmMW7dcRtqfz8kJe8kdWOTMjKC','nmohtd/dRHq','W7RcN8kzWQe','cSoUaCkXWQW','8jIWSCo0WQK','v8kbW6Ptmu/cQSkgFCoxWOK','rYZdRq','W68CWPpcO8kGwNtcNJhdTmoJ','vmkgW7nmjLNcVCkdsmoGWOeLm31I','WO/cGcJcGWNdLCofumk/WQf2WPbAWRhcQCkyW6tdMINdRSoCbhlcVCkiW53dUIxcVKyu','WQ3dRJBcNq','W7Whlq','rmkCW6Dm','W6VcS27cK8oUWORdRCk5W4/cNCkUjCkKrSoohxCzW7JdJW','nuSaBmkMuNRcLW','wshcIq','57MI5A6o5OUe5PYL5y6+','wSk5W7lcTtRcNG','WOFdLxyGW6bXWRxLV4NLP6BJGO7KUy/KU7BOTQZLJBu','W6hdSYK','8lUOPCoH','t8kKW6/cLaVcMmkpa8k7qa','4P6hW4hMJytNJ6FLP7FOT63VVkBLV5RMNipMJz3NJ6ZPO6/LUjlLTQNMUyq','W6pcVNNcLSoTWOFdVmkZ','jfBcNq','qHtdIczccaFcUG','dSoSb1PsWOPW','n3bufx3cTSkF','emo8beXbWR9WWRKuz8o8l8k0WOL+','WOpcLCoCxCo2e8k7WPLrW6iebCo1WRtcKCkwkWFcLG','8kYcPJNcVa','egZcM8oLlHWWW5jHevddMq3cUq','nLee','WPpcKmoT','WQ/dOdW','W5jKW79ZieqIW7FcSbOBomknw8kgWO94ze9kWO/dPH5dumoVWPazWP4uoSozWR0','xt7dQsVdP8koCvS','lCklW7P+yCkWphDTWPXOWPhdImku','mYWwW4y0iCoPvG','BmkIW4VdTSkxWQJcRSkFWPdcVmoY','F8oSWRVcH2iU','W67cJmkeWRRdVCodW4agWRjVWOy','A2m/xmkHWRCH','WRhdH3nRmmog','cY3cNSogWQrwFW','W5ZdHCkCkCkMvSoUWOHVW6SriSo5','WRVcGmoZmSkiWR1r','bZJcRSouWRzztvPWbYNcSCobyG','jx5jghxcPmk1gqRcHq','jMPlhgRcHCkuhdZcHCo5W4mnWQvn','W68pWP7cISkXF3tcIW','WQOPE8kMWR5Sj8kAW7ZcRCk9W6hcISkG','W5FdLX8lWPrMW78','yM4zW5iAdq','b8oHeCk1','WOqHdc5mWOJcKq8','5zcs5yY/5y2G5lQc5Pk15lUS5PkB542x5RcY','F8oagCoZ','nSovlmkq','vd7cRvnuW6ldTWTtW6FcUSkgtCoF','6lwx5y+R5Ps45PEm','WO1ZW4GBxSkdW77dPSoRkKFcKfRdHti','mCk6WQ3dUWxdM8orW4aM','DN0vW4C','WOddOxf7W7CI','W7ldKrTiWPxcSw5Mr8kzWRS','C2KsW7yada','5OIW5lQX772u56Ul5Ro4','wmo8W5NcV8oXdSo7srzQEM3cICkgW4rYi8o2W5f4W5WbySk0','as3cMCo9W7bcBG','ExSZsSkQWRa','WRtdSoA7I+wEREMOLoISOSk16kY35Bkn6kY45OQj5yUS6AMC6k+H5lQH5Q2o5OIm6igd5PM/5O+iWRmc','W77dQs3dKSkjkmkJ','W50Uuq','W6WBWORcVmk3tgpcMWtdG8oRW7VcMSkKWQ8','W4RdJCk9','56EN5zga57I95P2T77YR5AEC5zgH5yIl5l2+','sSo4W7VcQSo3fq','WQqHdbbRWOtcLr4','sCo+W7pcPmoNiCoEtXDYD3S','W7pcM8kEWRpdUCoMW4q','cIFcIG','W6ZcKJn/WQqV','c27LP5/OTjFVVl0','sKFPO5G','WPRcQIRdOG','4P2awEApHUEoREwNPUI3TU+9UEAETEE7IUwVKUw9Ros8Q+AiPEAjV+ADNowmNG','44cP5O2C56AG44op6k215ysU6iYB5y+2iw1rDmkbWPq','WRhcG8ony8ozbSkZWO8','FGNdJJH5dq/cRa','n00e','WPzOWO/dUCoFW4SGW7O+jGq','WPBdQxPQW5WLiW','f8o7auW','e8oObKHEWP5rWRWIzW','WOJcUthdM8oGzq','jSkVWQVdSW','lCk3W6pdIJLTWRhdLCoGoKNdVW','5OUm5lIX77+c','W77dQc/dHCkzka','5yE75A28lgpcPoEBN+ISVEwoNa','WP3cLq7cPqxdLCodsCk/','W5pdQNG+W7a','WOVcGGJcQXNdNq','WRddK21QlCo5WPSCW73cQSoAWOu4WPVcKG','5yAi5A6fW4GxqUEzLEISUEwpLW','5P+P57ME5A+b5B2w5l+4','WOhcPcq','Bbebzmkj','CZBLPkJOT4lVVzu','lIzP','W53dHK3dNL/cJCo4Bmk8WOr8WQa','F8ksaCoZFqbMACk8shK8hNO','W5q5W5RcR8kdWQ1SW4Slms/dRmo8','W6pdKZftWOpcNuTUrmkNWPbQWOOo','WPHQW5CrxG','Cmk/W4u','pxD9WRq7jKK2','kxDTWOy','W5KHqSoEb8o8W4C/','4P+bW5/MNBBNN6/ORl3MSjNcVW','W68CWPpcO8kGxgFcJcpdQ8oO','WOzKWO7dSG','EmoocCo3','WQeGaczNWR3cHrRcQa','WOJcN8op','W6tdSI3dNCkzp8k1WPu','4P6iWRZMJP7NJihMI7ZLI4q','nCohqrNdPqpcKa','WRJcLmo3nmkJWRTp','W77cIIXVWRGjW7RcRw/dV8keWQldPCoVCG','AEw+GowMRUAmHoEnPos4VUAwPEEnH+MgSKlLHOq','Cw4vW4KllmosxSktzJ8','WQFdRI/cMq','ixn3WOa7lW','aSoWn8kXWRDBCCkhbGtcHSohiCoJighdNZ3cLCkIW44','cCoxzmkO','4P6YjUAnQoEpJUwKNEI3To++Gq','WQXzW7O','W5PGW6PYoG','WQrxW6Kc','WP92W6OBt8k+W7BdSSomjvpcUxFdHcDyWPJcRmkubSkbWPtdRN4ccHSpiSooW4y','uNtdMJq','BYJdOGZdQa','WRFdIu57lCocWPaF','q3tdNrZdUmo9','W5hdKr8QW5D8W7/dU8ojhGRcRGFcSSkFkSkah8kx','WQZcHmoGg8kPWQ9vW6DyW7K9bSobka','5yYK5O6+542k','aCozDW','imkuW54','F8oXWPFcK38YWRBdSmoYgxtdMaPZ','WPtcGSobA8oYjCk/WPLaW6Oq','WOLKWO0','xCoTW67cVW','fCkCW4v7hK3cVG','W6qqiSoJWPW','WPD+WOtdKSouW7W','W450AqdcRZu','W7RcONpcGmo9WQtdQ8kVW6xcNCklia','EmopWO0SiSkSjhrjWOzQ','WQTaW40','BSoZWR3cIgKEWPpdUmoXj18','WR03bZT2WOe','fJRcHmopWQbZE0bHjGK','tmk+W7dcNtVcQ8kzaSkWrCktW6tdSZC5','zWJdGJHocbNcUJSo','5P2/57Uo5A6H5B+x5l+5','W7NcPgJcK8o2WOtdSmkMW6K','ihnQWPqUif4','W5fMya','W4JcP3DRW5e/it1oWOq','W60lWP7cM8kKEuRcMIddLG','A2mSwSk2WPy3jW99W7/dRSk1F1y','5Pkm5lMz5Pg/6zQx5Ps75PEY6zAe5Bsb5yQ45OUt5AAV5zgs5Bsz6Agr5A6Z','W4ZcOJCLWRH6ra','nSoasWddPttcKCooWOVcHSk5','tCkxW5XElxZcH8kgF8o1WOKDiG','W73dVtZdKmkbkmkuWODXdW','iCoxvJNdRX/cImogWPNcHSk3WQj2xW','W5mGrCox','d8oVaG','WPz+WPRdSSoiW4OXW78imHddHCoAbmkp','pmkpW6zVE8k2','W7RcONpcGmo9WQFdQ8kHW6FcU8kT','rtZcH0HcW4NdJWXbW6BcMCk6tCofAW','sSo5W7NcVCoNfCoF','WR/cRctdHmk2eSkzWO8','W6CwWOlcOCk9zN7cHZ7dMSo0W4/cI8kVWQmgWPLSrCoCsCkOWPRcTZVcISo/fCkFWOpcOCoGa3KNcuddHmkRaW','W5ZdNqW','F8ksemo3BqDCCmkTtK4Ro3/cH8kyWRBcP8khWQnN','oLiGzSkBw0dcM8koW6DHWQNdKmkm','W5FdLX8pW4bHW67dOCoylcxcRJ3cTSkzp8kgaSku','CHxdNXL/dG','W4bHW796o3uMW6FcNbSdCSkzgCkbWP0','WPjQWOpdOW','CCkJW4u','mKWaA8kDv3lcGq','DSoscG','EsePWPCKdNe1W4a','nCohuH/dSIlcHSolWR7cSCkXWOzSv8kv','WRddJdrGWRRcS3O','5BAW5A6w5z+354IK5OgQ','4P2Br+MfOoIUGEApNoEpMEwLM+I3UU+9Qos5Oos4RUETQUAnToEmTUI+QUAETowVVEAjVW','W5H0CWu','W73cKCkjWQu','W4m6uCoxamokW4COdSkfWOZdSsiMyG','W7BdVmkZWPdcPI0','EmkXW5BdRq','fJRcHmopWQb2AfXXhYtcPW','5PcC5lII5PcK5BYh5zoh77Y/','WQ1fW7O','5OMt5lUD772G','WP07W7PRieSWWQZcIXaxCSkzbCkUWRa','W7/dOCkM','W6pcVN7cN8oG','4P+bW5/MJOZNJRRLP7VOTB7VVOxKU4pKUk3NRORMJlpNJzROVzlMNQJLRPVMIRC','W7VdUSk1WQ3cPNb/W4rlxu3cOCooa8kZWQBdI0pdVmkRWPW8jd0','WQ3cImo6nSkQWQrf','tCkVemkGWR1yB8oymq/cL8ohcCoIhMxdQIhcMmksW698lgVdLdxdOq','W6dOR4hMS5/LPzlOTkL24PYidEAuJEwtM+w4KUAvLEApUW','W5D7W6f6','B8kLW5ldQCkaWR7cUCkAWQxcI8o6WP8KzSk7','b8kS5RMl5z6j6AIo6k6NWOdOR5FLSB/OR5FMIBxLIRFPQAtORldKUOBMRllMIyBOGPBMMBxMJBVdPZa','WQeGaczNWQ3cJGVcUSkdnW','W5qUvCot','5Bs55AYb5zYq54MX5Oom','W7BdMXPDWOq','WOtcPsddUSoMzSkCW6y','WQpcLCoGj8k1W7itWQzQW701xmozDCopaKxcV0NdJmoFW7JcSCkZ','uSk4W6C','WOZcHmoCyCoKxCoXW4vvW5eBw8ooW7/cICkbBaVcL8o4hrzKW6hdPmkPWPrFlsmeoSk2WP95W69KW7b1W5WakL3dN8oRW7qOAtb3FI1xW6zSjMC6W7dcL3ywi08AustcTJBdVSoqW7y','F8oXWOBcL281WOZdQCoJh0pdJY92WQL3W7bqWRVdQmo9','W5NdV3FcPCkJDSk2W7/dSCoLW7i','pmkoW4P3','5OM25lUm776o56IT5Ros','W514AbhcRIW','oNDWWPm','rJVcNLDvW5JdHqzLW67cMCk8q8ofAW','W5ZdLWuKW5v9','WQRcGSoGpSkWWQfiW7buW70We8oapCokfaBcG1xdHa','W6ZdRa3dKmkFm8khWO9XbLL5W57cQq','A8otbmoOW6hcMmogiCoyW4Td','mCk7WQ/dTXNdRSoDW4iDe8kuW6pcU8oIiq','s8kCW6q','WQLyW74pEtldSv4','fhlcRG','W6tdJX1DWOi','W5tdKX8I','4P6IW5dMJQRNJzBLPzVOTP/VVRlKUkRKU5RNR5VMJ5xNJyxOV4BMN6NLRytMI78','WOHUWPNdPmoBW78X','imoBwG','WOfQWP7dTG','rwNdIZq','W7/cK8kcWRxdTSo1','WOpcLCoCwCkIfmkQ','4P2ZW6VPHy3ORk3MJPNNJyNLP43OTypVV6JKUk7KU7tNRRJMJyZNJ6ROVOtMNlFLRiNMIyy','WQyZacG','p3D3WOmGkG','4P2npoIfPUAEN+I+VUIGPoMdP+wiJ+s5OUMuQEIUV8kr','ssNdRmk8BevxW5LFmxhdVdy','WQBdVsNcTwOC','WR09dG','b8oOaeG','e8oYdmkUWRfWBSkwfdZcMG','ohPicNNcSmku','WQzKWOtdO8oFW7yGWRyEkGFdQa','4PYWBUAmVUEoGUAiT+wiLq','vCoPW7tcUCo2dG','Ahmp','WQC8vSkGWRLS','WOpcLqNcLqVdNCon','6lsQ5y6o5PE25Pwv','jMTAdw3cPa','54Qd5Ogp5P+e55+x77Y9','WPv5WOpdRCoFW5O1W6GVgHm','Abnt','W67dJbu','lSkHWRG','emo8beXbWR9GWRm','l8oBC8kIpvOjmSkFswGEpNW','W6BcV30','W4m6uCoxamokW5CI','W6NdVtRdKa','i8k+WPZdSXJdLmoVW48RgSk3W53cS8oMf0FdUSoQgYD1rmkvWP8','DCkdeG','jwjTWPC8FrrTW5ldM8kMF8oDW43cICkYmSklW6FcTKBdKmoTba','pwrWWP0Qa0KJW4tdVCkG','ydNdUcNdMSovmXhcNatcHa9ecmozbq9vuxX1W5xdVa','v37dLCknW7aakgLVprxcRCoO','w8kWiCkJWPHTBSkz','WRVcK8o9lCkJWO9oW6z+W70vfG','WQ5CW4RdOCo8kZ7cRWFdGmouW5BcUG','mcPeWOTBwCkszCkpyIJdTuK','WRddJNXKoSoNWPSEW4VcN8ouWQq0','jCkvW516AG','W5NdNrG','W7SpWO7cUa','4P2unUAoJoEoJ+wNTEI3OE+9IoADQEE6NowUHUw8TUs9G+AlIUAjH+ACMownUa','WQxdJ2u','W6mComoLWOyrm3ldIG','W597W6G','W7RcLZLVWQyOW5pcPLNdQSkgWPJdS8okEmot','5QYu5O6E542EgW','WO3dRwr8','ldHR','W6pdVmkOWQFcSb4PWPTp','WPDOW5SswCk1W77dSq','W7ldVSktWRJcTIu9WPTpq1FdQSoNx8k4WRxcTvldUSk8W5y','CmkhoSoMqG1xDmkCsvaR','W7TquW','zrD1CCkIWRCgW6W','4P20powgIEApPUE7V+wnSEAjT+wiPa','fIFcGSozWODqAvzncW','ng94ggVcV8kMeqRcJmoAW70fWQe','kSoDrq','WP7cVYldOSoMCq','WPNcSYVdUCoN','sMpdGtBdV8oY','W4X0DqxcRsVdNmoQqKS','W63dLGz0WPZcLhS','BCo0WQtcL34iWOtdVCoeefFdRHLLWR8','Bmkhm8oNAXTf','W7CAWO7cQCk2jcNdKcFdKSoLWPNcNSo5WReAW493uSojhSkXWPlcPG','W6vJxwq0','CSknjq','rSkdW4bij2pcJ8koFSoPWQiBo3K','WOP+W5arwa','5Rso5yUM5BsC57UH5P24W7q','WPFcHmoAEmo5amk3WOXC','fEIUUEAYRowKG+I0GSkQ4PY8qG','W67dHHXvWOtcNq','A8otbmoOW6hcN8oBlSojW7rlq0PWWOC','WRpdRINcMxqiuZxdUuy','WOrOWP7dVSomW7eGW7iVicJdVCozcmkEW7vfWOJcSq','WRG9gG'];_0x5ccd=function(){return _0x5d561d;};return _0x5ccd();}let waitTimes=0x3e8,apCashWithDrawList=[],business=_0xac210f(0x19b,'W@pX'),cookie='';function _0x200c(_0x5a527b,_0xd8d0c4){const _0x5ccd13=_0x5ccd();return _0x200c=function(_0x200c26,_0xdcc688){_0x200c26=_0x200c26-0x164;let _0x48b2cf=_0x5ccd13[_0x200c26];if(_0x200c['yvwKOJ']===undefined){var _0xc2ce00=function(_0x455be0){const _0x3f9f5d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x37936c='',_0x4ea25d='';for(let _0x94a7dc=0x0,_0x5ec6b0,_0x933f20,_0x1f839b=0x0;_0x933f20=_0x455be0['charAt'](_0x1f839b++);~_0x933f20&&(_0x5ec6b0=_0x94a7dc%0x4?_0x5ec6b0*0x40+_0x933f20:_0x933f20,_0x94a7dc++%0x4)?_0x37936c+=String['fromCharCode'](0xff&_0x5ec6b0>>(-0x2*_0x94a7dc&0x6)):0x0){_0x933f20=_0x3f9f5d['indexOf'](_0x933f20);}for(let _0x37b456=0x0,_0x3d7bbc=_0x37936c['length'];_0x37b456<_0x3d7bbc;_0x37b456++){_0x4ea25d+='%'+('00'+_0x37936c['charCodeAt'](_0x37b456)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4ea25d);};const _0x2eecf2=function(_0x15c684,_0x4c83fa){let _0x1562eb=[],_0x58b221=0x0,_0x4be363,_0x16980b='';_0x15c684=_0xc2ce00(_0x15c684);let _0x3184db;for(_0x3184db=0x0;_0x3184db<0x100;_0x3184db++){_0x1562eb[_0x3184db]=_0x3184db;}for(_0x3184db=0x0;_0x3184db<0x100;_0x3184db++){_0x58b221=(_0x58b221+_0x1562eb[_0x3184db]+_0x4c83fa['charCodeAt'](_0x3184db%_0x4c83fa['length']))%0x100,_0x4be363=_0x1562eb[_0x3184db],_0x1562eb[_0x3184db]=_0x1562eb[_0x58b221],_0x1562eb[_0x58b221]=_0x4be363;}_0x3184db=0x0,_0x58b221=0x0;for(let _0x387345=0x0;_0x387345<_0x15c684['length'];_0x387345++){_0x3184db=(_0x3184db+0x1)%0x100,_0x58b221=(_0x58b221+_0x1562eb[_0x3184db])%0x100,_0x4be363=_0x1562eb[_0x3184db],_0x1562eb[_0x3184db]=_0x1562eb[_0x58b221],_0x1562eb[_0x58b221]=_0x4be363,_0x16980b+=String['fromCharCode'](_0x15c684['charCodeAt'](_0x387345)^_0x1562eb[(_0x1562eb[_0x3184db]+_0x1562eb[_0x58b221])%0x100]);}return _0x16980b;};_0x200c['vPzdUr']=_0x2eecf2,_0x5a527b=arguments,_0x200c['yvwKOJ']=!![];}const _0x1ad264=_0x5ccd13[0x0],_0x14fc3c=_0x200c26+_0x1ad264,_0x480a2e=_0x5a527b[_0x14fc3c];return!_0x480a2e?(_0x200c['MiyXan']===undefined&&(_0x200c['MiyXan']=!![]),_0x48b2cf=_0x200c['vPzdUr'](_0x48b2cf,_0xdcc688),_0x5a527b[_0x14fc3c]=_0x48b2cf):_0x48b2cf=_0x480a2e,_0x48b2cf;},_0x200c(_0x5a527b,_0xd8d0c4);}const cookiesArr=Object[_0xac210f(0x209,'[v63')](jdCookie)[_0xac210f(0x278,'u7nr')](_0x2eecf2=>jdCookie[_0x2eecf2])[_0xac210f(0x22b,'ST]B')](_0x455be0=>_0x455be0);!cookiesArr[0x0]&&($[_0xac210f(0x19f,'eY^5')]($['name'],_0xac210f(0x286,'8LTe')),process['exit'](0x1));!(async()=>{const _0x25f8a1=_0xac210f;notify['config']({'title':$[_0x25f8a1(0x239,'u&aW')]});for(let _0x3f9f5d=0x0;_0x3f9f5d<cookiesArr[_0x25f8a1(0x17c,'B1UP')];_0x3f9f5d++){$[_0x25f8a1(0x1b0,'Tz$i')]=_0x3f9f5d+0x1,cookie=cookiesArr[_0x3f9f5d],common[_0x25f8a1(0x294,'fY*5')](cookie),$[_0x25f8a1(0x248,'zte6')]=decodeURIComponent(common[_0x25f8a1(0x18c,'*fAn')](cookie,_0x25f8a1(0x190,'YcfL'))),$['UA']=common[_0x25f8a1(0x168,'ST]B')]($[_0x25f8a1(0x266,'B1UP')]),$[_0x25f8a1(0x269,'GEyh')]=common['genUuid'](_0x25f8a1(0x195,'flzF')),$[_0x25f8a1(0x182,'AYlz')]=notify[_0x25f8a1(0x264,'Kr^%')]($[_0x25f8a1(0x200,'YcfL')],$[_0x25f8a1(0x287,'NkjS')]),$['nickName']='',console[_0x25f8a1(0x251,'u&aW')](_0x25f8a1(0x241,'f$ay')+$[_0x25f8a1(0x232,'GEyh')]+'】'+($[_0x25f8a1(0x23d,'s85E')]||$[_0x25f8a1(0x253,'ST]B')])+_0x25f8a1(0x188,'[v63')),await Main(),common['unsetCookie']();if($[_0x25f8a1(0x271,'Kr^%')])break;await $['wait'](parseInt(Math[_0x25f8a1(0x177,'80Y2')]()*0x3e8+0x3e8,0xa));}})()['catch'](_0x37936c=>$['logErr'](_0x37936c))[_0xac210f(0x1b3,'M6Q!')](()=>$[_0xac210f(0x1b6,'W@pX')]());async function Main(){const _0x1488ff=_0xac210f;try{const _0x4ea25d=await common[_0x1488ff(0x16c,'M6Q!')](cookie);if(!_0x4ea25d&&typeof _0x4ea25d===_0x1488ff(0x24a,'8f7u')){console['log'](_0x1488ff(0x1e9,'87^J')),$[_0x1488ff(0x1e2,'8f7u')][_0x1488ff(0x1d4,'*fAn')](_0x1488ff(0x26b,'uWc#'));return;}apCashWithDrawList=[],$[_0x1488ff(0x1f3,'u7nr')]=![],$['txhot']=![],$['superRedBagHome']='',await sendRequest('superRedBagHome');if($[_0x1488ff(0x2b1,'f$ay')]){const _0x94a7dc=$[_0x1488ff(0x17e,'Fxbr')][_0x1488ff(0x20e,'[mry')],_0x5ec6b0=$[_0x1488ff(0x1a1,'*fAn')]['shakeLeftTime'],_0x933f20=$[_0x1488ff(0x1c7,'yl60')][_0x1488ff(0x28a,'y)IS')],_0x1f839b=$['superRedBagHome'][_0x1488ff(0x185,'flzF')],_0x37b456=Math[_0x1488ff(0x2a2,'7iu2')](_0x94a7dc/0xe10),_0x3d7bbc=Math[_0x1488ff(0x1d0,'Jb$I')](_0x94a7dc%0xe10/0x3c),_0x15c684=_0x94a7dc%0x3c,_0x4c83fa=_0x37b456[_0x1488ff(0x169,'#8or')]()[_0x1488ff(0x2a4,'AYlz')](0x2,'0')+':'+_0x3d7bbc['toString']()[_0x1488ff(0x261,'flzF')](0x2,'0')+':'+_0x15c684['toString']()['padStart'](0x2,'0');switch(_0x933f20){case 0x0:console[_0x1488ff(0x23a,'SuQT')](_0x1488ff(0x221,'yl60')),$[_0x1488ff(0x176,'y)IS')]=!![];break;case 0x1:console[_0x1488ff(0x196,'2gLc')](_0x4c83fa+_0x1488ff(0x267,'oFqm'));break;case 0x2:console[_0x1488ff(0x214,'*fAn')](_0x1488ff(0x1ab,'s85E')+_0x5ec6b0+_0x1488ff(0x27b,'yl60')+_0x1f839b+'个');if(_0x5ec6b0>0x0&&_0x1f839b>0x0)for(let _0x1562eb=0x0;_0x1562eb<0xa;_0x1562eb++){await sendRequest(_0x1488ff(0x1b7,'oFqm')),await $['wait'](parseInt(waitTimes*0x1+0x4b0,0xa));if($[_0x1488ff(0x22d,'SuQT')])break;}else console[_0x1488ff(0x206,'W@pX')](_0x1488ff(0x187,'3vcf'));break;default:console['log'](_0x1488ff(0x1eb,'yl60')+_0x933f20);break;}if(autotx)for(let _0x58b221=0x0;_0x58b221<0x1;_0x58b221++){$[_0x1488ff(0x28b,'[v63')]=_0x58b221+0x1,console[_0x1488ff(0x289,'s85E')]('\x0a开始提现\x20['+$['pageNum']+_0x1488ff(0x283,'zte6')),await goWithdrawal();if($[_0x1488ff(0x220,'7iu2')])break;await $[_0x1488ff(0x1c6,'AYlz')](parseInt(waitTimes*0x1+0x1388,0xa));}}}catch(_0x4be363){console[_0x1488ff(0x1ef,'QhpZ')](_0x1488ff(0x1dc,'Kr^%')+_0x4be363);}}async function goWithdrawals(){const _0x177ccf=_0xac210f;if(apCashWithDrawList['length']>0x0)console[_0x177ccf(0x214,'*fAn')](_0x177ccf(0x2b2,'GEyh')+apCashWithDrawList[_0x177ccf(0x1e7,'3vcf')]+_0x177ccf(0x208,'yl60'));for(i=0x0;i<apCashWithDrawList[_0x177ccf(0x224,'Jb$I')];i++){const _0x16980b=apCashWithDrawList[i];console[_0x177ccf(0x242,'1k8Y')]('去提现'+_0x16980b?.[_0x177ccf(0x1d7,'@R$r')]+_0x177ccf(0x24d,'AYlz')+_0x16980b['id']+']'),$[_0x177ccf(0x1f5,'QhpZ')]={'prizeType':0x4,'business':business,'id':_0x16980b['id'],'poolBaseId':_0x177ccf(0x21d,'B1UP'),'prizeGroupId':_0x16980b[_0x177ccf(0x1fc,'M6Q!')],'prizeBaseId':_0x16980b[_0x177ccf(0x171,'NkjS')]},$[_0x177ccf(0x198,'s85E')]='',await sendRequest(_0x177ccf(0x213,'8f7u'));if($[_0x177ccf(0x1ca,'1k8Y')]){const _0x3184db=$[_0x177ccf(0x2a1,'Jb$I')][_0x177ccf(0x1ea,'8f7u')],_0x387345=$[_0x177ccf(0x21f,'eXIV')][_0x177ccf(0x249,'uk(n')];if(_0x3184db===_0x177ccf(0x1f6,'*fAn'))console[_0x177ccf(0x1cd,'eXIV')](_0x177ccf(0x2ae,'1k8Y'));else{let _0x5b3e88=![],_0x32fa40=0x0,_0x479ab9=0x3;if(_0x387345[_0x177ccf(0x2ad,'1k8Y')]('上限'))console[_0x177ccf(0x251,'u&aW')]('❌\x20提现失败:当月提现额度已满'),exchange?($[_0x177ccf(0x238,'fY*5')]={'linkId':linkId,'business':business,'drawRecordId':_0x16980b['id'],'poolId':_0x16980b['poolBaseId'],'prizeGroupId':_0x16980b[_0x177ccf(0x178,'Tz$i')],'prizeId':_0x16980b[_0x177ccf(0x2a8,'flzF')]},await sendRequest(_0x177ccf(0x20d,'WNBs'))):!Swish&&($[_0x177ccf(0x175,'SuQT')]=!![]);else{if(_0x387345[_0x177ccf(0x19e,'s85E')]('已存在状态'))console[_0x177ccf(0x206,'W@pX')](_0x177ccf(0x1d2,'fY*5')),_0x5b3e88=!![];else{if(_0x387345[_0x177ccf(0x2ad,'1k8Y')](_0x177ccf(0x293,'f$ay'))){console[_0x177ccf(0x289,'s85E')]('❌\x20提现失败:其它pin的订单');if(!Swish)break;}else{if(_0x387345[_0x177ccf(0x246,'Tz$i')](_0x177ccf(0x299,'u&aW'))||_0x387345['includes'](_0x177ccf(0x23f,'W@pX'))){console['log'](_0x177ccf(0x203,'55gu'));if(!Swish)break;}else console['log']('❌\x20提现失败:'+_0x387345),_0x5b3e88=!![];}}}while(_0x5b3e88&&_0x32fa40<_0x479ab9){await $[_0x177ccf(0x1c6,'AYlz')](0xea60),await sendRequest(_0x177ccf(0x213,'8f7u'));const _0x862c15=$['apCashWithDraw'][_0x177ccf(0x27c,'8LTe')],_0x5425df=$['apCashWithDraw']['message'];if(_0x862c15==='310')console['log']('✅\x20提现成功'),_0x5b3e88=![];else _0x5425df[_0x177ccf(0x1bd,'QHhl')]('已存在状态')?_0x32fa40++:(console[_0x177ccf(0x1ee,'Jb$I')](_0x177ccf(0x1a4,'zte6')),_0x5b3e88=![]);}}i!==apCashWithDrawList[_0x177ccf(0x1c8,'2gLc')]-0x1&&await $[_0x177ccf(0x284,'QHhl')](parseInt(Math[_0x177ccf(0x25a,'#8or')]()*0x7d0+0x1388,0xa));}}}async function goWithdrawal(){const _0x49716c=_0xac210f;$[_0x49716c(0x297,'#8or')]='',await sendRequest(_0x49716c(0x237,'eXIV'));if($[_0x49716c(0x186,'55gu')]){const _0x3dc361=($[_0x49716c(0x260,'8f7u')][_0x49716c(0x164,'W@pX')]||[])[_0x49716c(0x26f,'[v63')](_0x297d3d=>_0x297d3d[_0x49716c(0x20b,'WNBs')]===0x4&&_0x297d3d['state']===0x0||_0x297d3d['state']===0x2);if(_0x3dc361[_0x49716c(0x1e5,'8LTe')]>0x0)console[_0x49716c(0x16f,'YcfL')]('');for(i=0x0;i<_0x3dc361[_0x49716c(0x217,'mwe8')];i++){const _0x433d2a=_0x3dc361[i];console[_0x49716c(0x1ee,'Jb$I')](_0x49716c(0x16d,'flzF')+_0x433d2a?.['amount']+_0x49716c(0x233,'VkOH')+_0x433d2a['id']+']'),$[_0x49716c(0x273,'8LTe')]={'prizeType':0x4,'business':business,'id':_0x433d2a['id'],'poolBaseId':_0x433d2a[_0x49716c(0x17f,'zte6')],'prizeGroupId':_0x433d2a[_0x49716c(0x27e,'8LTe')],'prizeBaseId':_0x433d2a[_0x49716c(0x1ec,'y)IS')]},$[_0x49716c(0x21f,'eXIV')]='',await sendRequest(_0x49716c(0x24e,'uWc#'));if($[_0x49716c(0x26a,'yl60')]){const _0x13d825=$[_0x49716c(0x254,'YcfL')]['status'],_0x4c0d1a=$[_0x49716c(0x262,'3vcf')][_0x49716c(0x1d3,'y)IS')];if(_0x13d825===_0x49716c(0x1ed,'s85E'))console['log']('✅\x20提现成功');else{let _0x51b1b8=![],_0x184468=0x0;const _0x2298b5=0x3;if(_0x4c0d1a[_0x49716c(0x210,'87^J')]('上限'))console[_0x49716c(0x18e,'GEyh')](_0x49716c(0x245,'M6Q!')),exchange?($['apRecompenseDrawPrizeBaseParams']={'linkId':linkId,'business':business,'drawRecordId':_0x433d2a['id'],'poolId':_0x433d2a[_0x49716c(0x244,'Fxbr')],'prizeGroupId':_0x433d2a['prizeGroupId'],'prizeId':_0x433d2a[_0x49716c(0x17d,'ssdq')]},await sendRequest(_0x49716c(0x197,'[mry'))):!Swish&&($['txhot']=!![]);else{if(_0x4c0d1a['includes'](_0x49716c(0x1a3,'QhpZ')))console['log'](_0x49716c(0x1b1,'f$ay')),_0x51b1b8=!![];else{if(_0x4c0d1a['includes'](_0x49716c(0x298,'7iu2'))){console[_0x49716c(0x2b9,'fGU8')]('❌\x20提现失败:其它pin的订单');if(!Swish)break;}else{if(_0x4c0d1a[_0x49716c(0x20c,'7iu2')](_0x49716c(0x180,'8f7u'))||_0x4c0d1a[_0x49716c(0x288,'zte6')]('绑定手机号')){console[_0x49716c(0x16f,'YcfL')](_0x49716c(0x285,'87^J'));if(!Swish)break;}else{console[_0x49716c(0x16e,'x4]^')](_0x49716c(0x2b8,'7iu2')+_0x4c0d1a);if(!Swish)break;}}}}while(_0x51b1b8&&_0x184468<_0x2298b5){await $[_0x49716c(0x1da,'B1UP')](0xc350),await sendRequest(_0x49716c(0x29f,'[mry'));const _0x244238=$[_0x49716c(0x198,'s85E')]['status'],_0x5244d2=$[_0x49716c(0x25e,'ssdq')]['message'];if(_0x244238===_0x49716c(0x247,'zte6'))console['log'](_0x49716c(0x1e4,'yl60')),_0x51b1b8=![];else _0x5244d2[_0x49716c(0x1ce,'fGU8')](_0x49716c(0x1bb,'3vcf'))?_0x184468++:(console[_0x49716c(0x23e,'yl60')](_0x49716c(0x1d9,'Fxbr')),_0x51b1b8=![]);}}i!==_0x3dc361[_0x49716c(0x2b5,'AYlz')]-0x1&&await $[_0x49716c(0x19c,'y)IS')](parseInt(Math[_0x49716c(0x1db,'AYlz')]()*0x7d0+0x1388,0xa));}}}}async function handleResponse(_0x2ff3fb,_0x1dcb13){const _0x39a3d2=_0xac210f;try{switch(_0x2ff3fb){case _0x39a3d2(0x18f,'y)IS'):if(_0x1dcb13[_0x39a3d2(0x2a9,'y)IS')]==0x0&&_0x1dcb13[_0x39a3d2(0x259,'55gu')])$[_0x39a3d2(0x1a7,'u7nr')]=_0x1dcb13[_0x39a3d2(0x1f4,'1k8Y')];else{if(_0x1dcb13['errMsg']||_0x1dcb13[_0x39a3d2(0x1ac,'fGU8')])console[_0x39a3d2(0x1df,'B1UP')](''+(_0x1dcb13[_0x39a3d2(0x296,'fY*5')]||_0x1dcb13[_0x39a3d2(0x24f,'s85E')]));else _0x1dcb13[_0x39a3d2(0x27f,'@R$r')]?console[_0x39a3d2(0x1ee,'Jb$I')](''+_0x1dcb13['message']):console['log']('❓'+_0x2ff3fb+'\x20'+JSON[_0x39a3d2(0x26d,'QhpZ')](_0x1dcb13));}break;case _0x39a3d2(0x24b,'uk(n'):if(_0x1dcb13[_0x39a3d2(0x23b,'eXIV')]==0x0&&_0x1dcb13[_0x39a3d2(0x2af,'*fAn')]){if(_0x1dcb13[_0x39a3d2(0x268,'eY^5')]&&_0x1dcb13[_0x39a3d2(0x202,'flzF')][_0x39a3d2(0x1ff,'#8or')]>0x0){if(_0x1dcb13['data']&&_0x1dcb13['data'][_0x39a3d2(0x189,'*fAn')]){const _0x320c1e=_0x1dcb13[_0x39a3d2(0x231,'@R$r')][_0x39a3d2(0x236,'flzF')]['prizeType'];switch(_0x320c1e){case 0x0:console[_0x39a3d2(0x2ac,'NkjS')](_0x39a3d2(0x272,'1k8Y'));break;case 0x1:console[_0x39a3d2(0x29a,'QHhl')]('获得'+_0x1dcb13['data']['prizeDrawVo']['prizeConfigName']+'(满'+_0x1dcb13[_0x39a3d2(0x2b4,'u&aW')][_0x39a3d2(0x1f8,'AYlz')][_0x39a3d2(0x27d,'B1UP')]+'减'+_0x1dcb13[_0x39a3d2(0x165,'fGU8')][_0x39a3d2(0x191,'Tz$i')][_0x39a3d2(0x257,'VkOH')]+')');break;case 0x2:console[_0x39a3d2(0x1af,'WNBs')](_0x39a3d2(0x291,'uWc#')+_0x1dcb13[_0x39a3d2(0x265,'GEyh')]['prizeDrawVo'][_0x39a3d2(0x1c5,'80Y2')]+'红包');break;case 0x3:console['log']('抽中:'+_0x1dcb13[_0x39a3d2(0x173,'8LTe')]['prizeDrawVo']['amount']+'京豆');break;case 0x4:console[_0x39a3d2(0x1af,'WNBs')](_0x39a3d2(0x1ad,'fY*5')+_0x1dcb13[_0x39a3d2(0x1a9,'oFqm')]['prizeDrawVo']['amount']+'现金'),apCashWithDrawList[_0x39a3d2(0x1c3,'YcfL')]({'id':_0x1dcb13[_0x39a3d2(0x1d5,'y)IS')][_0x39a3d2(0x234,'eXIV')]['id'],'prizeDesc':_0x1dcb13[_0x39a3d2(0x1ba,'u7nr')]['prizeDrawVo'][_0x39a3d2(0x22e,'55gu')],'amount':_0x1dcb13[_0x39a3d2(0x2a5,'AYlz')][_0x39a3d2(0x256,'oFqm')][_0x39a3d2(0x275,'55gu')],'prizeBaseId':_0x1dcb13['data'][_0x39a3d2(0x270,'Jb$I')][_0x39a3d2(0x258,'@R$r')],'poolBaseId':_0x1dcb13['data'][_0x39a3d2(0x1e1,'GEyh')][_0x39a3d2(0x212,'ssdq')],'prizeGroupId':_0x1dcb13['data'][_0x39a3d2(0x2b3,'Kr^%')][_0x39a3d2(0x1aa,'ssdq')],'prizeType':_0x1dcb13[_0x39a3d2(0x1d1,'2gLc')][_0x39a3d2(0x17b,'VkOH')][_0x39a3d2(0x2ab,'B1UP')]});break;case 0x18:console['log'](_0x39a3d2(0x291,'uWc#')+_0x1dcb13[_0x39a3d2(0x2b7,'x4]^')][_0x39a3d2(0x1b9,'B1UP')][_0x39a3d2(0x281,'f$ay')]+_0x1dcb13[_0x39a3d2(0x1a9,'oFqm')][_0x39a3d2(0x1cb,'eY^5')][_0x39a3d2(0x225,'eY^5')]);break;default:console['log']('未知奖品:'+_0x1dcb13['data']['prizeDrawVo'][_0x39a3d2(0x192,'yl60')]+'('+_0x320c1e+')');break;}}else console['log'](_0x39a3d2(0x1c4,'M6Q!'));}else $[_0x39a3d2(0x1f0,'uk(n')]=!![];}else{if(_0x1dcb13[_0x39a3d2(0x16a,'mwe8')]||_0x1dcb13[_0x39a3d2(0x183,'80Y2')])console[_0x39a3d2(0x21e,'[mry')](''+(_0x1dcb13['errMsg']||_0x1dcb13['msg']));else _0x1dcb13[_0x39a3d2(0x25b,'ssdq')]?console[_0x39a3d2(0x172,'y)IS')](''+_0x1dcb13[_0x39a3d2(0x1e8,'fY*5')]):console[_0x39a3d2(0x2a3,'oFqm')]('❓'+_0x2ff3fb+'\x20'+JSON[_0x39a3d2(0x205,'SuQT')](_0x1dcb13));}break;case _0x39a3d2(0x1cc,'QhpZ'):if(_0x1dcb13?.[_0x39a3d2(0x2aa,'eY^5')]===0x0&&_0x1dcb13?.['success']===!![])$[_0x39a3d2(0x279,'flzF')]=_0x1dcb13['data'];else{if(_0x1dcb13?.[_0x39a3d2(0x1a6,'@R$r')]===_0x39a3d2(0x235,'uWc#'))console[_0x39a3d2(0x1af,'WNBs')](_0x39a3d2(0x1b8,'8LTe')),$[_0x39a3d2(0x1bc,'Jb$I')]=!![];else{if(_0x1dcb13[_0x39a3d2(0x28e,'QHhl')])console[_0x39a3d2(0x172,'y)IS')](_0x39a3d2(0x282,'yl60')+_0x1dcb13[_0x39a3d2(0x240,'Fxbr')]);else _0x1dcb13[_0x39a3d2(0x19d,'oFqm')]?console['log']('>\x20'+_0x1dcb13[_0x39a3d2(0x19d,'oFqm')]):console['log']('❓'+_0x2ff3fb+'\x20'+JSON['stringify'](_0x1dcb13));}}break;case _0x39a3d2(0x170,'VkOH'):if(_0x1dcb13?.[_0x39a3d2(0x1d6,'mwe8')]===0x0&&_0x1dcb13?.[_0x39a3d2(0x2b0,'M6Q!')]===!![])$[_0x39a3d2(0x26a,'yl60')]=_0x1dcb13[_0x39a3d2(0x2a5,'AYlz')];else{if(_0x1dcb13?.['code']==='605')console[_0x39a3d2(0x280,'ssdq')]('>\x20滑块验证,请尝试手动验证一次或者更换IP'),$['txhot']=!![];else{if(_0x1dcb13[_0x39a3d2(0x19a,'zte6')])console['log']('>\x20失败:'+_0x1dcb13[_0x39a3d2(0x1a8,'WNBs')]);else _0x1dcb13['msg']?console[_0x39a3d2(0x214,'*fAn')]('>\x20'+_0x1dcb13[_0x39a3d2(0x1bf,'Fxbr')]):console[_0x39a3d2(0x1cd,'eXIV')]('❓'+_0x2ff3fb+'\x20'+JSON[_0x39a3d2(0x222,'NkjS')](_0x1dcb13));}}break;case _0x39a3d2(0x20d,'WNBs'):if(_0x1dcb13?.[_0x39a3d2(0x18d,'u7nr')]===0x0&&_0x1dcb13?.[_0x39a3d2(0x277,'1k8Y')]===!![])console['log'](_0x39a3d2(0x211,'uWc#'));else{if(_0x1dcb13?.['code']===_0x39a3d2(0x29d,'55gu'))console['log'](_0x39a3d2(0x276,'Tz$i')),$[_0x39a3d2(0x216,'QHhl')]=!![];else{if(_0x1dcb13[_0x39a3d2(0x16a,'mwe8')])console['log'](_0x39a3d2(0x29c,'AYlz')+_0x1dcb13[_0x39a3d2(0x1de,'u&aW')]);else _0x1dcb13[_0x39a3d2(0x27a,'FoZ1')]?console['log']('>\x20'+_0x1dcb13['msg']):console['log']('❓'+_0x2ff3fb+'\x20'+JSON[_0x39a3d2(0x181,'Tz$i')](_0x1dcb13));}}break;}}catch(_0x19226e){console['log']('❌\x20未能正确处理\x20'+_0x2ff3fb+'\x20请求响应\x20'+(_0x19226e['message']||_0x19226e));}}async function sendRequest(_0x14ab98){const _0x51d2fa=_0xac210f;if($[_0x51d2fa(0x230,'*fAn')])return;let _0x325631='',_0x6604d3=null,_0x501194=null,_0x21060e='POST',_0x23896a={},_0x2e4915={};switch(_0x14ab98){case'superRedBagHome':_0x2e4915={'appId':_0x51d2fa(0x295,'[v63'),'functionId':_0x14ab98,'appid':_0x51d2fa(0x1c9,'M6Q!'),'clientVersion':common[_0x51d2fa(0x199,'2gLc')](),'client':_0x51d2fa(0x1e6,'Kr^%'),'body':{'linkId':superlinkId},'version':_0x51d2fa(0x20a,'55gu'),'ua':$['UA'],'t':!![]},_0x23896a=await H5st[_0x51d2fa(0x1d8,'NkjS')](_0x2e4915),_0x325631=_0x51d2fa(0x1be,'M6Q!'),_0x6604d3=_0x23896a[_0x51d2fa(0x226,'u&aW')];break;case _0x51d2fa(0x21a,'VkOH'):_0x2e4915={'appId':'89cfe','functionId':_0x14ab98,'appid':_0x51d2fa(0x23c,'Tz$i'),'clientVersion':common[_0x51d2fa(0x24c,'NkjS')](),'client':_0x51d2fa(0x201,'2gLc'),'body':{'linkId':superlinkId},'version':_0x51d2fa(0x250,'FoZ1'),'ua':$['UA'],'t':!![]},_0x23896a=await H5st[_0x51d2fa(0x263,'2gLc')](_0x2e4915),_0x325631=_0x51d2fa(0x21c,'flzF'),_0x6604d3=_0x23896a[_0x51d2fa(0x218,'80Y2')];break;case _0x51d2fa(0x279,'flzF'):_0x2e4915={'appId':'f2b1d','functionId':_0x51d2fa(0x26c,'7iu2'),'appid':_0x51d2fa(0x227,'y)IS'),'clientVersion':common['getLatestAppVersion'](),'client':'ios','body':{'pageNum':$[_0x51d2fa(0x25d,'M6Q!')],'pageSize':0x190,'linkId':superlinkId,'business':business},'version':'4.7','ua':$['UA'],'t':!![]},_0x23896a=await H5st[_0x51d2fa(0x263,'2gLc')](_0x2e4915),_0x325631='https://api.m.jd.com/api',_0x6604d3=_0x23896a[_0x51d2fa(0x25f,'8f7u')];break;case'apCashWithDraw':_0x2e4915={'appId':_0x51d2fa(0x29b,'s85E'),'functionId':_0x51d2fa(0x29f,'[mry'),'appid':_0x51d2fa(0x16b,'2gLc'),'clientVersion':common[_0x51d2fa(0x22f,'W@pX')](),'client':_0x51d2fa(0x228,'B1UP'),'body':{'linkId':superlinkId,'businessSource':'NONE','base':$['apCashWithDrawBaseParams']},'version':_0x51d2fa(0x17a,'flzF'),'ua':$['UA'],'t':!![]},_0x23896a=await H5st[_0x51d2fa(0x274,'ssdq')](_0x2e4915),_0x325631=_0x51d2fa(0x1f7,'AYlz'),_0x6604d3=_0x23896a[_0x51d2fa(0x28d,'uk(n')];break;case _0x51d2fa(0x2b6,'GEyh'):_0x2e4915={'appId':'8c6ae','functionId':_0x51d2fa(0x1c1,'VkOH'),'appid':'activities_platform','clientVersion':common['getLatestAppVersion'](),'client':'ios','body':$[_0x51d2fa(0x166,'7iu2')],'version':'4.7','ua':$['UA'],'t':!![]},_0x23896a=await H5st[_0x51d2fa(0x274,'ssdq')](_0x2e4915),_0x325631=_0x51d2fa(0x1b2,'WNBs'),_0x6604d3=_0x23896a[_0x51d2fa(0x18b,'1k8Y')];break;default:console[_0x51d2fa(0x1f2,'Tz$i')](_0x51d2fa(0x2a7,'f$ay')+_0x14ab98);return;}const _0x1bf893={};_0x6604d3&&Object['assign'](_0x6604d3,_0x1bf893);_0x501194&&Object['assign'](_0x501194,_0x1bf893);const _0x51c294={'url':_0x325631,'method':_0x21060e,'headers':{'origin':_0x51d2fa(0x1f9,'ST]B'),'Referer':_0x51d2fa(0x1c0,'NkjS'),'User-Agent':$['UA'],'Cookie':cookie,'content-type':_0x51d2fa(0x252,'W@pX'),'accept':'application/json,\x20text/plain,\x20*/*','x-rp-client':'h5_1.0.0'},'params':_0x501194,'data':_0x6604d3,'timeout':0x7530};_0x21060e===_0x51d2fa(0x20f,'80Y2')&&(delete _0x51c294[_0x51d2fa(0x1a5,'80Y2')],delete _0x51c294[_0x51d2fa(0x22c,'eXIV')][_0x51d2fa(0x1e3,'y)IS')]);const _0x3b4e27=0x1;let _0x2d3420=0x0,_0x57354c=null,_0x2b0ccc=![];while(_0x2d3420<_0x3b4e27){_0x2d3420>0x0&&await $[_0x51d2fa(0x26e,'Kr^%')](0x3e8);const _0x2d0b1a=await common[_0x51d2fa(0x21b,'[mry')](_0x51c294);if(!_0x2d0b1a[_0x51d2fa(0x193,'8LTe')]){_0x57354c=_0x51d2fa(0x243,'WNBs')+_0x14ab98+_0x51d2fa(0x223,'yl60')+_0x2d0b1a['error'],_0x2d3420++;_0x2d0b1a[_0x51d2fa(0x292,'1k8Y')]&&_0x2d0b1a[_0x51d2fa(0x215,'QHhl')]===0x193&&['wheelsLottery'][_0x51d2fa(0x2a6,'u7nr')](_0x14ab98)&&($[_0x51d2fa(0x207,'f$ay')]=!![]);continue;}if(!_0x2d0b1a[_0x51d2fa(0x1e0,'uk(n')]){_0x57354c='🚫\x20'+_0x14ab98+_0x51d2fa(0x1b5,'fGU8'),_0x2d3420++;continue;}await handleResponse(_0x14ab98,_0x2d0b1a[_0x51d2fa(0x28f,'QhpZ')]),_0x2b0ccc=![];break;}_0x2d3420>=_0x3b4e27&&(console[_0x51d2fa(0x1af,'WNBs')](_0x57354c),_0x2b0ccc&&($[_0x51d2fa(0x219,'Jb$I')]=!![],$[_0x51d2fa(0x182,'AYlz')]&&$['message'][_0x51d2fa(0x204,'#8or')](_0x57354c)));}
|
||
// 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) }
|