mirror of
https://github.com/shufflewzc/faker3.git
synced 2024-11-15 00:09:20 +08:00
17 lines
53 KiB
JavaScript
17 lines
53 KiB
JavaScript
/*
|
||
活动名称:东东农场指定助力
|
||
活动入口:APP-我的-东东农场-旧版
|
||
执行功能:指定助力,随机助力
|
||
环境变量:jd_fruit_code // 指定助力码(多个助力码用英文逗号,@,换行分割)
|
||
jd_fruit_mode // 是否随机打乱助力码,true 表示需要随机打乱,false 表示顺序助力(不填默认为false),指定助力码优先级高于助力模式
|
||
jd_fruit_notify // 是否推送通知(true/false),默认不推送
|
||
|
||
cron:1 1 1 1 *
|
||
|
||
*/
|
||
|
||
const $ = new Env('东东农场指定助力')
|
||
const _0x1ca87d=_0x36d7;(function(_0x1dbc5b,_0x719d89){const _0x5464fc=_0x36d7,_0x404b8c=_0x1dbc5b();while(!![]){try{const _0x50482d=-parseInt(_0x5464fc(0x2ad,'jS*O'))/0x1+parseInt(_0x5464fc(0x1cd,'A)Tz'))/0x2+parseInt(_0x5464fc(0x221,'hF3F'))/0x3*(parseInt(_0x5464fc(0xcc,'6tYb'))/0x4)+parseInt(_0x5464fc(0x128,'f3Zz'))/0x5*(parseInt(_0x5464fc(0x1c6,'hF3F'))/0x6)+-parseInt(_0x5464fc(0x27a,'LMT['))/0x7*(-parseInt(_0x5464fc(0xea,'X&C]'))/0x8)+parseInt(_0x5464fc(0xcf,'XGdt'))/0x9*(-parseInt(_0x5464fc(0x24e,'WQfb'))/0xa)+parseInt(_0x5464fc(0x194,'8xNG'))/0xb*(-parseInt(_0x5464fc(0x288,'dj[6'))/0xc);if(_0x50482d===_0x719d89)break;else _0x404b8c['push'](_0x404b8c['shift']());}catch(_0x283e1d){_0x404b8c['push'](_0x404b8c['shift']());}}}(_0x5d46,0x955db));const jdCookie=require('./jdCookie'),notify=require('./utils/Rebels_sendJDNotify'),common=require(_0x1ca87d(0xbb,'o0@I')),{H5st}=require(_0x1ca87d(0x181,'dj[6')),fs=require('fs'),CryptoJS=require(_0x1ca87d(0x105,'fi5S')),querystring=require(_0x1ca87d(0x23a,'i9bY')),shuffleShareCodes=process[_0x1ca87d(0x144,'dj[6')][_0x1ca87d(0x1ba,'$RNs')]===_0x1ca87d(0x1e4,'*1PY'),isNotify=(process[_0x1ca87d(0x1ee,'8xNG')][_0x1ca87d(0x135,'Yzl)')]||process[_0x1ca87d(0x281,'oGdI')]['jd_fruit_Notify'])==='true',helparr=(process['env'][_0x1ca87d(0x28c,'LMT[')]||'')[_0x1ca87d(0x180,'haI#')](/[,@\n]+/g)[_0x1ca87d(0x1bc,'$RNs')](_0x142fd7=>_0x142fd7[_0x1ca87d(0x13a,'$RNs')]())[_0x1ca87d(0x20c,'Nc$H')](Boolean),ShareCodesCacheFile=_0x1ca87d(0x134,'U]W&');function _0x5d46(){const _0x3ac986=['W75PEmkQW7y','WRNcRSkHECo+DSkie8kFW7hdTxO5sepcRCowW4iCW5eLWR3dRwBdHdXYWOJcNmoPzvDaWP05hrJcPhhdKCodW4ZdL2nNWRBdVCoFjuDuW5dcN8oPimoVzcbMWRxcOSkBpwKTWO7cH8ocWO4KqrddSmo9qJ3dG8oWW4ZdPaPMW4fhW6xdI3ZcI8k7D8o8WO3cOWFcItOofmouW44ZW4pcUmoJnZNdLxJdLrukmYxdGrPhW7fGWRtcGCkDWQHdWRuoW408k8kABHxcVmofAH4pW7i8w8oLW4pcJ0ZcH8klW603h8kaymodWQddTSouW7y2WPD+gHyXCSo/','6Ag85BQV5OId6kcN','i8onfW','WR8gW541W6NdRmk5rSk3kSk/ASotW7NcLgzlW7HNteNdLJBdS8oKW5GwWR7cPCkr','CmkVk8kJW7xdLa','fSkqW7ldT0VcPW','fSkZoWrtW7hcISo+','tCoLaZzTW7xcGCo6dKBcJmk2W6G+eriYpG','a8o9mCkpw8kZ','C8k4mmknW6RdJ8oCkNq','WR5pFmoKWOZcNa','fwhdMq','W4NdR8khlSkcjCkneG','mdbDzqJcSq','WR4TWQpcNNVcRKaJcSoqW592','W4VdRxhcSIhcU1JdO8kGW5fbWOe','WPhdISo0WOe','WQZdJID3','cSkmWOi','isDlCrdcOa','p8oInCkfsSkflNRdTG','8yQOMSkFW4OZW7dcQIi4sa7dMHf2BaFcKSkaW6qtrmogW61W6k+A5RgZ5AEE6lEIWOlINArI5PsJ5zgr5BM85Pss5O+v','tbHUrCkwW7ZcQW','WRSoW5CTWOn1W5zxpa','W5JcMZ8','WP/cUdldJNhdUwRdQSkYW6H0WOSlvuz5tHzT','WPOhW6RcI8oOWOjAWRy','W6X8FmkGW73dGmkJW4Xy','cmkgWOdcJLJdTHjPW5ddLdzoWOPkASkYW5HkAmogvW','WPenW7K','W4XwWQZdVSkYW5SxWRvwW5vOlSoA','W5xcMfRcS8ovfCob','WPZdQmkywWe','W5tJGABMNyVORRVJGPhMNQpMR7NLJ53LIBFLI57OT7FLJRlLH4JMNOpcOa','WPPPdCkDwZ4','WQKVW7WaW7RcI8oogMhcV0m','Afuj','D8oLW6W','W7lJG43MOOBMT4NJGihLIQ3PMAVNG7lNI4dMIR/OGihMLjVMLjxOTjBLJ4pLUOxLJ5bdi3K','WOldHmoIWPDx','ncDmsb3cOafvqtXHWQKXnhWtx8ocWOurWPVdTSkPuW','oIXBAaNcSafv','WR0eW5CPW7tdOmo1wmkT','W6zkWPvzWODIW4i','W7lcIrGbqmkH','cfNdKW','W7H8FmkUW7VdG8kKW4XoySkEWQeUWRbt','WOCZWQNcGhW','WPhKUitLIRVLIjVNO6ldUW','W79MW7hcPr8','AeejdG','hmkrW7NdUvO','W7BcTIW','vmkGWQRcKG','W4JdSHPl','idzkBrlcSW1ata','wNRcNJxdVmox','WQRdOSkjrwmctv7dGs9x','zrP5wmkQW5i','WR9oDwegBHW','W7/cNayVua','WRqpW4O2WONdKq','W6PkWOHFWQHOW4pdMvepWOW','W4BcKt7dJZyHWRy','tgdcHq','txpcHmofW7K','a8kAW6/dR0VcRCoI','hmklW4JcQuq','5yM25yQHgW','WRzkWRPOWRNcHW','4P6cWOhOHzNMNklOV4dOORRPGBlLI77KU4RPLOJORjLb','6kw95P28572L5AY+5PAZ5lI/5PEt5ywy6zssma','nw/dKZK9W7lcHxNdKHFcLSo1W7xdPrWstmoUWOlcQmk5BuzkW40FW5BdM8kJW7vmfCoxWQjc','4P+CWOFdSqFcNwBcQq84F8kBW4VcJH7cUSk6phDSW7qggZNLNjBLPyFNK7/MJ5pLJzNLK6ZLU7NMLyxPGi7LI7/KU5RPLjVORQ5U4P+ioW','W7b7ySkgW7hdMW','5yUU5yQ65QIy5BYoW7uLWQC','W5hdQqfmWQBdN8kGomkr','twtdIYuxW4VcSa','WPtcSIe','WQmrWR7cLIfFWP1CtmkJbSkXW4iW','WQNdU8ksxa','q8kfDWL+s8k4WOK','j23dIdS0W43cJthcIq','W6pcPtOyW7/dHW','W5FcMZZdJW','WQusW501WPnxW5Pi','WQnsE0i','W7T4W6i','WPD8e8kZsW','W5ZcISowWPzhW7XAW64bgCk7W60zW5ZdISkjW5WdfJv/W6rO','WQzktCoMWPhcHmkUW7VdNNrFW6iaW63cKa','ESkcf3lcK8o5','8ygzTMy','WOxdHMK','WPBdHmoKWOu','umo5aY8','nvrxrmkHyq','aCkgWPhcUw/dSbbOW4ldGG','WRvjC0Gy','W47cQCooeYdcGePcyxFdGCoeWOtdJG','WRXuzG','E8oNcZzoW6NcH8o9h0tcT8kmW7S+cXqVdSk7tmkr','WQtdMmofW4G','CVcFKyPW6l6b6kos57I35P+kW60','r/cCOyxdLa','WPnIfq','W4hVVPdLTjdMJzVLRzyF','5y2g6ysJ54Ua5OgN57UN5P6wgmkFnJD0WORcTCozW5FcLG','WRzdWRHUWO3cGb3cMSoLW4vOW61j','efi2','d8knWPBcJ3JdPW','WPxJGiNNU5FORylJGOpLV7ZLIOxOVB3LIzrC','dCkgWPW','W65/W68','D8klg3pcR8oOW67dSmkSt8okamo5E8oOW5ddNt3cL8oDqW','WQ3dS8klyvi','W7VcNGqlr8kU','vmkHzG','WPnVv8otWQBcN8kKW73dUgPe','W7n2BW','WPahW63cTCoMWOTl','au/dKNnEwrq','ew7dGcqxW7hcLHdcHKVdI8kkWRZdVZ8tumo0','W5NdT+w+Low5MUAlV+AARoAvQUEaL+EjIU+9K+ISNUEQO+wtSEwhPUISIG','WR3dLtfNFSkrxmkOnq','6ygI55+L5OYb6ygrA8k+WR8','imkmW7JdRMZcO8oHoa','n1vMCCkMAW','aCkwW6NdSeC','W5lcLezhWOL2','WRXEB0aEzW','WQ/dJsrH','WRTpE8o0','WPu2WRlcG2S','W5BcKL4','WOxdJXS','W4dcNsZdHIe','WQtdJIPG','W77dQCklmmkO','W4dcOSotkWNcIffQu3hdJCoVWPddJKxdSSkdwa','WRCbWQNcTITdWOu','W5JcKK0','WQ3dHmo8WOnDW5HpW4eH','WRJdQSkprfm','hmkEW41yWQpcJe3dHM3dL8k5WRdcLq','q2dcHSky','57+W5A+d5PwH5lMW5lU856UO776w5yQO5Aw35y+45lUA56IP5PEP57QQ','W5JcMeruWPHS','eSkxW5DoWQZcN34','WRldG8onW4iK','W6NcJr8s','BWL6dG','W7xdJmkkm8kIiq','WRVdLmorW4OIW6W','8yUAKce','r3FcNSoZW5a','aCkgWPhcOJ/dOaS','WRVdNSoy','6lsl5yYB5PE05PsQ','WRnuzui','WQ3dS8kltvGvA0pdVYLDW51i','hSkcW5roWQxcMwNdHG','eupdGh5o','WOVdRCoKW7TRlG','WQjpF8oL','dmkcW4HuWRK','W5GJfSkorJRdGcTfWPxcVZNcQ8ocW7ez','CSk4iSkRW7FdHCof','WRZdGc1QF8kB','ddbDDqNcSrDsDbf2WRy','W6NdRSko','uEwkQEwiSUw2OUA6Sa','DxZcH8kpWPxdOXTf','fgxdHZCLW7y','WPeaWQZdRq','q37cMCodW7/dVG','W4tcIxvdWOvQ','r3FcHmoGW6tdPSoEW4Ork8kT','l1vnCCk8p8otASoBW5hdV8ogBSkjW7nxW7pcVSkBghJcUHpdN8kGW6WIlSouWQlcSColW6KAW7rZWOv4dqZcImope8kB','WPehW7dcOCoZWOq','WPSoW7hcQCo1','WR7KURhLIy/LIj3NO4FcMa','WOBdISodWPbaW7XaW5y','e8o6nq','WO55W6xcHfNdUCkuWQqIDbZcKc3cOcDqW6GCW7y','W4vDW54EW6BcJSoCjq','c8kBW5brWQG','cSkgWOVcJx7dUW','jKxdMMzowXtdV8kUa2ql','W6VcNHO','WRLvzuis','tMRcH8kzWONdPXTpWPj1WPJdMgtcSSoNk141W7j/kq','ACkZlCk6W4pdJ8ofbxddVK4','uhRcKCkv','W4BcLtBdJISP','ju5wBCkQzmks','yuuqjSkKWPddSCo4nCkm','WOddHgS','W7XnWO5RW5yaWO8pAv3dJCk3tYBdLmo3','rCkGWQ3dGXlcNCk8','b8oQimkTqmk5lhtdVCk7y8oZW7Tj','WQ7dTmkCW6/cQSo+W7VcMSkjW4ddKhpcSqClkgzqdSovWOmxW6OaWOnyW6dcLmkoW6pdK8k0hmoUFf/cMZbEWPJdRvZdKdhcHve5W5isq8kWDKBcNheJW5JcMxfqW5hcSshdSXxdIWFcI8kCEgldNYZcPxqzmIpcPebNWOjwpSouW6ibmqVdTHxcRSk0W6bcW4ZcPWPsW6RdNSkFwIdcTCkDDSkYDgnpW4tcJmo+W7RcSSoeW4y0kSkMWQNdGmk0WOxdH8oHsmohWRpcQ8oVWPZdPSkrWQNdMCo9u8kGWPOtC8oJuZVdGmkddq','B04nh8khWOZdSmoFm8kBWQq','W7P3W7xcJq','WQbbDq','vgBcLSkrWR4','W7lcUb0fW7ZdHCk1ertdG3y','dmkBW4ntWQJcNetdLhFcKq','W5NcJvNcICoq','iZzNDbxcUG','W4f6W6dcMb7cUGSyW75kwmojWRKOW5FcMe/dP8o+WRTw','WR8jW58','pdbryXxcUG','tHj3u8kr','WQSzW4OrW5naW4S','44oM6lsQ5y6u','zLdcOWy','WO/dVSkiW6hcSSo6','dK0O','WOhdKCoIWO1CW7jhW5CR','WPhdISo+WODtW6e','gCkqW7O','WOOdW7FcSG','tSoVnsrzW6/cMSoimfNcJSknW6W','WPddSmkpW7BcLmoNW7q','sCoQgG','WR/dT8kjqvGwquRdQa','5P6s55Yy6zsW6kYV776Ukq','WQPcFCoVWPe','fmkmW67dTuxcRa','pIni','W7BMIkRLI5/dLEkFMKq','WO/dRCoMW6Xni3z+W7BdJq','5Bs25AcF5ywt','4P66tUAEK+EETUITIoAYP8kn','gSoFlfqgA8kFWRyduZG','6AgJ5BMH5OIz6kgB','4P6aWQpcNe1cor1FW6v9sSowtCkEoL7dVcGCnqRcMSkO5z+05AAA55kdW4ldVmkY6k245Rce5PE56yko5yQa5lMs6zAZ6k+iW6m','W6zwWPngWP1G','iZDlBa','WP8HW6O','hSkAW6tdRW','W7zeW7JdRx4bW4rKwSkScmk+W5W','WQ8oW5S4WPjw','WRtdNSorW443W7a','Cmk8nSk9W6a','kCoFtctdICk4WRxcQmoIe8oOdCo1DmoKW5m','WRCyW4O8W7G','WQxdNCo2WPzBW7baW5uH','W41pWQZdQ8k+W5ux','WPBcUcpdPKldQgldTSkWW4XhWPqYw11VBHDNr2m','WPGeWRhdTW','W6tcUcCzW6NdGCkP','WPPJba','zSk0pa','WRXmWR9/WOa','uSkQWQ3cM2JcTq','gCkBW4HjWQJcIG','WP7cVdtdR0xdVMRdQ8kwW5TR','WPNcRtBdQ3q','y8kYimkR','5RAd5yMv54gc54Ug77646k6f56QP5zk05ysQ6k26','WQ7cTmotWQJdTG','WQXpmmkfWRaExe7dTWNdPqNdUSoGdG','WP9IcSkoAtNdGuj2WOlcSa','W6tdLCoJbW','WQhdPSkiw1Cwtq','WOrPbCkFxtpdGq','gCkAW7pdU1BcQG','smoUbcvFW7i','5yUU5yQ65Asi6lsKW6FKUiJOGihLI6ZLIkpOHzRLTA3cMW','W53ORPxMS5ZLP7FOTQldJokESSo+','WQ8HWRNdNuRdSeK9W6b9ESoPWPi','W4C8b8kYrYpdIwO','W4pdVCkoo8kJcCkbb8kf','WPmaW48','WRDEDw9FFa8','WQGrWQtcSJPy','WRznWRv5WPNcHW','WOGqW7i','W7ZcV8oFlqhcHK5j','WPtdRCo+','WONdV8khW7BcTG','WO7dUSksW6xcRG','WP/dGmoJWPDtW7jl','WPr1Ag8doeVcHCkTkSkjW7zSWRXjWPG','wmoQW7ldOYpcLmk/','W4RdQqDvWRVcGSoMCCklzurVoMCVW6HQWOq5awXU','vmkRWPdcIwZcRCkGCsf6WQKDWQpdRmkqfmktWR0S','W715W6/cJXRcVq','5yMi5yUe56ohWRq','WRaDWR7cUsS','WPVdKIz8xSkxwmkR','W5NcLsZdIsW','vXHVrCkEW7tcOa','4P+LW6ZdNtO7WQ8wx0yJ5l6a5yEv5yYZ5PEn5PY/6k20','Bmk4kSkPW7hdIa','W5xcJumDWOeQWQa8WOPkWPXQ','WQpdNSoSW5KKW63cJha','WRqRWQddLW','u1mbgCkpWOldR8o8','A8kYmCkIW6ZdJSoq','W73dUWnOWQNdImk6','dc5zCbNcPXbNrq1hWRWbmNWqvCoqWOexWOK','cgNdHW','rMBcJSkjWR7dSa','WQHYWRhcHHpcUaHQW75B','WQatW5K','WRatW4S9W5ldQSk1xCkOimkskSowW6hcKM05W7vRsem','a8krWPFcH3NdTa','44cU5B+p5Asi44oT5PsQ6zIBWPq','WRnuB0qlEW','uxRcHb7dQColv0BcJmoRW7RdGCocDe1PBmk8WRy','WO7dVSkvW7xcP8o1W78','W4bFWQpdU8k6W5etW6mIWOy','wuKsimkKWPO','bCklWOtcMeVdPW','De5l','WPmqW58TWOnaW4TYfJVcQ8oKdwlcJCkGW6C','W4pdRqnSWQW','W6hcJK9bWQjLWQC9','WRyrWRRcUs9tWPm','xCknCdfes8kNWPG','WPFdSSksW6RcOW','W7jZW6/cIW/cOq','WObtlSkCWQS8sxBdKJFdNG','h8oCjvSeeSkYWOKkuYFdJq','5O2Y5A2L5yI05yIhgmoIW5C','5yI15yIhW4O','W61JW6a','WQ9BjmkMWQSnwNa','vmk/zW','W7D4W6JcMd3cPG0FW69iyW','WQFdMmor','WOhdKCoXWPzgW6z5W5GMgq','C8k0i8kGW6ddHmoOnhNcUq','WRRKUQlOTQZLJAVNMPVLI6/LIP7NOiRVVOdcSW','W67dUCktkCkPn8ku','WPhdUSkiW6lcQCo/','qhRcGIhdOCoqxa','WPpdRSkAq1mJsuldTtjvW6biWPK','edxdMIq','WOtdP8oKW79+mG','WQddPSkvt0iz','W6VdSCosFCkmm8onbmovW7NcVhLTar/dHa','4P2vW44zCSkjW4xcTSoSWQ4k5l6P5ysk5y2u5PwG5P6i6k2A776y572P5BoI5B296kA65y6S5PAJ772F','W43cPdDuaCo/','WO3cMuVcTCoYj8oW','WPe+WRtcNgS','W6VdVCklka','WQS3oG','WPHPW7tcUKhdVSkfWQu/uZq','x8knEGzFrW','5yM35yUTW7u','W6VcTJWwW6q','W7D8zmktW4ddISk7W5brCW','W7/dVCkwp8kK','WOPpWRPXWP3cTum','5Rsb5yUv5yw55y+vW4xcS8kEWOu6W67cUoAiOUEALmoX5lMt5lUP5ysh5z2vxEAvQoEiUbS','4P2YW6/cPmkzAmkvW7PWir7NL5FMIB/NRRBLKQZMLiNPGlFLI4BKUjtPLixOR5q5','dSowWPBcNG','WQNdHdDdECkyqmk6kCoI','uxRcHaldUSoqsKZcQ8oEW6VdHCoHyG','W5ddUbjbWO7dKCkLo8k7FvH+','WRtdMCoEW58xW7a','eSoQjmkctSk1iG','xCkJWQRcMxlcQCkzzIDnWQeaWQy','hCklW6NdRfhdUmkJCSkcjSoyDGNcLwVcOqtdRSkuWQ9uDmkhWOxcImkubetdRuT4WRizwG','qCkdCW','WRGoW5C0','W7BcMaiwr8oZcSknAgSQW4pdVCkxW4tdGqnwWPjaEa','d8o/WQFcThtcQmk1Bq','WOLQWPNcGx7cPMWHF8ksWOO3ya','ncDwut0','WQ9tlG','4P6tgUADQUIaIoAUVoEGGUwKRoEqGSkt','lM5Q','vmo/ntjcW7q','W6tIN6JdQG','t3dLVABLUzpMI5FMMAhMLBtNG7lNIztVV6xORl7NQOZLKj3LHQ7ORRy','W5RcLeLyWQjLWQC9','cSoGpCka','xSoJrWfLWRBcICouqNZcGmkhW7P2e0zXzmoJ','x3hcLdFdSa','dUs5QowkKEwkN+EHVCoE','WPvJb8kF','WPVdI8o0WOfkW5Pi','fSkCW41jWOVcL2NdPx7dLSk9','W4dcO8ojpJ/cLW','WOqXWQu','WOBdPmoTW7m','sGHVxG','sdhcM2nLWQVdKMhdNWddH8k3WR7dQcKCrmoOWO7dUCoYqNTXWOigW7FdGCk/W69Cq8oVWOKBzmkhWPLNWPuUWRFdOdJcImk8nmkuW6NdSh/dR8kxrxZdN0/cK8k/WRbwtwGV','6zQp5P+N5OIx5lQ/','W5xcJLLAWOTQ','WOexW4i+W6/dHmk9sW','W7zQsCkrW6ddJSkX','WO19W6xcQq','e8kDW4m','efJdMa','WORdTCkcW6pcVG','W69lWOy','WO/dTmkb','WQFdJYDRAa','wCkQWRFcSh3cQCkQCcf3WOC8WP7dHmkna8kFW71Y','W7FdNCowW4yZWQtcR3yOhghdU1rFmelcOmkeW4SEtCo2W6CYzLJcM8oOWPtdIhFdRCkTW4ztWO51CxPiy3VdLCo9W7z/bfPfxCoNeMLQf8ovjsXpWQJdQcy5bSkiWOlcTCkjlgi','W5xcJvP6WOG','WQKcW5GNW5RcLSozivFcNge6z8kordCK','uSonW5C','WRNcMbu','5lI855c85B2a5yAgW6vmCW','vSoUgI5kW7NcLG','W4VcLKdcSmoMb8ok','W7b3W6ZcIq','5P6P5Agp5yw45OYS5A205yQU5yIQ5y2h6yE/','WPVdTmoRgtFcJfPU','WQGBWQ0','BmkYiW','AK8d','WR5jm8kCWRGc','WQ3cRIpdSf7dRgldVa','BN8fouhdQvKBcea','WRvvDW','eSkkWPhcHM8','lxtdJ2G','W5vXW7q','d2hdGcq','W6H8AG','WQ7cRmotzCo4FmkheSkDW4lcHGm','W4C7w8olhM/cHwb5WRFcQrNcNG','r3FcHmoIW7ddVSox','z8k4kSkBW4q','6zIm5PYE5OQY5lMA','W4pcQmoLot3cKKPyBwddJ8ouWPq','WR9AymoPWO3cLSkUW6NdUa','vbjR','DCkbgq','WR7dIc0','WO0WWQe','W7BcTIWMW7JdGCk1jG','DmkpdG','WQCBWQtcTI9e','W6FcPZG3W7NdICkRnLO','W67cJqqvuq','WPiQWQC','W6xLPRlOT54a5lU85PAu5yQb5yQ35Q6W5PsT5BEk6ikK5BcbW4i','5yMu5yU5W4u','WO9PW7/cQ0ZdPmkEWRKFwq','W6WmW6i0W4e','WPddVSks','nsTwzrdcUb0','8jsjHZqfvv7cNCozeNbrW7tcJIFcGSoIyCoznSkEpr/cRSok6k2J5Roe5BYF5BUYDEkFR8ol','W5hcK03cPCom','idjuBr/cSq','WPhcSY/dTLBdON3dN8kNW5TPWQq8q0DJva0','dmoGmW','tCocWPyfW73dIsNdSMZdVCk/WRZcKa','W61ZW7xcRXtcPHqWW6S','W6JcTIuq','44kw5QU25B2h44gKW5C','W4FcNZhdMHyXWQO','ACoLW6hdHqZcHCkHW5y','bmoUimkp','WQFdJYDRAmk5uW','ew7dJtuP','W7rzWOq','c0WSdSomWQxdSCkrhCooW6zPxW','W6xVV7hLHzJORAhdRW','mJjitrG','detdNwzTwHlcLmkBchKXW59YEmokW5hcOG','eetdH3DFDG/cVCkre3e','W5dcMZBdJW','W6tcGCkiWP1NWRlcTw0TrgVdKG','smobWPWlW7VcUvhdUx3dS8kz','BSoIW6VdMGtcI8k+W7xcVZGxlmoVW48fWReHW5e','bJfDDJlcTqLd','W4pdQmknn8kPkSkTfSkgW6y','W4fXW6tcGI7cIa','WQDhWQ9VWORcNrm','W6/dSmklp8kP','W7JdVCkwpq','WQyBWQ7cRa','W7xdICo1','W6ZdQCkrna','twRcKCkoWRRdPrm','cmo9mCki','x8kzEIDEtG','nCo8mCkCyCk3kNG','chxdMJG','W5hdVb9tWQ3dSmkSmSkyrvj5fcG2WQnY','W6FcNexcP8oBoCobW4m','tSkGiCkArSk6ndldISkiymo6W6jFWOuEo8oNWPniWQaZyG','W5JdGSoU','WRRdPSkjw18ErG','5y6+6ysS5B+L5zof54Q85OksqJVcM8kmsbZdMbW+W6O','WQ/dR8kstvGf','W5zxWOrzWQbMW5ZdUG','WOj5W6G','iYTw','Deekd8kUWO4','oYDzybNcPHC','6lEQ5y205PsB5PwG','WPn+eCkxxde','oCkfWPxcP2VdOWW','E8oSdZzUW6lcG8oDavdcSCkiW7SSdWGfk8kUwq','W7ZcGXKkuCkOsW','WRZdHdb7Fmkc','tCkGWRhcIa','WQGUW4RcNcZcOY4y','WQhdLmonW54/W6VcJa','WPeWWRy','WRiqW5mtW5SWWOJdThKtWQ3cVCoz','W5VcKK3cPq','umoKotzzW7pcNCoB','iK9A','WRmtW50QW6hdQmk9','WPFdL8oIWOLbW7i','iYnCvWJcTrzs','5Qcm5Rs35yQo5P215z+w57YG5A+N5PA85lQVsmk7W7mkEmkqWPddMJLoWQzuW4mcEmkFjCkuv8o0qfVVV6NLIjFOVQFMIO/LIQ8','W4/dGmoZfSkSvSoShsi7WRNdJ8kncSkYWROmsxNdUq','WQVdPSkpzfKwquldGILzW4DjWPG','WRnvjW'];_0x5d46=function(){return _0x3ac986;};return _0x5d46();}let ShareCodesCacheData=[],needUpdateShareCodesCache=![];if(fs['existsSync'](ShareCodesCacheFile))try{const fileContent=fs[_0x1ca87d(0x246,'o%*q')](ShareCodesCacheFile,'utf-8');fileContent[_0x1ca87d(0x24c,'Lv*%')]()===''?console[_0x1ca87d(0x27d,'6E$b')](_0x1ca87d(0x16d,'XAur')):(ShareCodesCacheData=JSON['parse'](fileContent),!Array[_0x1ca87d(0x267,'BIw[')](ShareCodesCacheData)&&(ShareCodesCacheData=[]),console[_0x1ca87d(0x2a2,'o0@I')](_0x1ca87d(0xd6,'Lv*%')));}catch(_0x123481){console[_0x1ca87d(0x170,'L8jg')](_0x1ca87d(0x122,'Q@))'),_0x123481),ShareCodesCacheData=[];}let ShareCodes=[],ShareCodesMap=new Map(),cookie='',cookiesArr=Object[_0x1ca87d(0x1cc,'M2!q')](jdCookie)['map'](_0x57b71c=>jdCookie[_0x57b71c])['filter'](_0x5ae6f0=>_0x5ae6f0);!cookiesArr[0x0]&&($[_0x1ca87d(0x108,'^ePn')]($[_0x1ca87d(0x278,'6tYb')],'【提示】请先获取Cookie'),process[_0x1ca87d(0x12b,'Vivx')](0x1));function _0x36d7(_0x18a563,_0x44bedd){const _0x5d466b=_0x5d46();return _0x36d7=function(_0x36d7c7,_0x2014dc){_0x36d7c7=_0x36d7c7-0xb2;let _0x5641a6=_0x5d466b[_0x36d7c7];if(_0x36d7['fWLSfg']===undefined){var _0x330491=function(_0x123481){const _0x57b71c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5ae6f0='',_0x497cb6='';for(let _0x30fb26=0x0,_0x1826bc,_0x1207c3,_0x49509a=0x0;_0x1207c3=_0x123481['charAt'](_0x49509a++);~_0x1207c3&&(_0x1826bc=_0x30fb26%0x4?_0x1826bc*0x40+_0x1207c3:_0x1207c3,_0x30fb26++%0x4)?_0x5ae6f0+=String['fromCharCode'](0xff&_0x1826bc>>(-0x2*_0x30fb26&0x6)):0x0){_0x1207c3=_0x57b71c['indexOf'](_0x1207c3);}for(let _0x31785c=0x0,_0x507429=_0x5ae6f0['length'];_0x31785c<_0x507429;_0x31785c++){_0x497cb6+='%'+('00'+_0x5ae6f0['charCodeAt'](_0x31785c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x497cb6);};const _0x142fd7=function(_0xb0f85d,_0x4b4c2f){let _0x25082e=[],_0x4f30eb=0x0,_0x44e912,_0x4ce168='';_0xb0f85d=_0x330491(_0xb0f85d);let _0x4eabba;for(_0x4eabba=0x0;_0x4eabba<0x100;_0x4eabba++){_0x25082e[_0x4eabba]=_0x4eabba;}for(_0x4eabba=0x0;_0x4eabba<0x100;_0x4eabba++){_0x4f30eb=(_0x4f30eb+_0x25082e[_0x4eabba]+_0x4b4c2f['charCodeAt'](_0x4eabba%_0x4b4c2f['length']))%0x100,_0x44e912=_0x25082e[_0x4eabba],_0x25082e[_0x4eabba]=_0x25082e[_0x4f30eb],_0x25082e[_0x4f30eb]=_0x44e912;}_0x4eabba=0x0,_0x4f30eb=0x0;for(let _0x18d3ed=0x0;_0x18d3ed<_0xb0f85d['length'];_0x18d3ed++){_0x4eabba=(_0x4eabba+0x1)%0x100,_0x4f30eb=(_0x4f30eb+_0x25082e[_0x4eabba])%0x100,_0x44e912=_0x25082e[_0x4eabba],_0x25082e[_0x4eabba]=_0x25082e[_0x4f30eb],_0x25082e[_0x4f30eb]=_0x44e912,_0x4ce168+=String['fromCharCode'](_0xb0f85d['charCodeAt'](_0x18d3ed)^_0x25082e[(_0x25082e[_0x4eabba]+_0x25082e[_0x4f30eb])%0x100]);}return _0x4ce168;};_0x36d7['KhABMW']=_0x142fd7,_0x18a563=arguments,_0x36d7['fWLSfg']=!![];}const _0x28fbec=_0x5d466b[0x0],_0x10abd2=_0x36d7c7+_0x28fbec,_0x557160=_0x18a563[_0x10abd2];return!_0x557160?(_0x36d7['spwqtW']===undefined&&(_0x36d7['spwqtW']=!![]),_0x5641a6=_0x36d7['KhABMW'](_0x5641a6,_0x2014dc),_0x18a563[_0x10abd2]=_0x5641a6):_0x5641a6=_0x557160,_0x5641a6;},_0x36d7(_0x18a563,_0x44bedd);}!(async()=>{const _0xe5115c=_0x1ca87d;console[_0xe5115c(0x26c,'XGdt')](_0xe5115c(0x215,'Sd#m')+$[_0xe5115c(0x17f,'Yzl)')]+_0xe5115c(0xbe,')$Wn')),console[_0xe5115c(0xf8,'Sd#m')](_0xe5115c(0x241,'jS*O')),console[_0xe5115c(0x26c,'XGdt')](_0xe5115c(0x222,'M2!q')+(helparr[_0xe5115c(0x15d,'oGdI')]>0x0?_0xe5115c(0x1c4,'A)Tz')+helparr[_0xe5115c(0x113,'VM62')]+'个指定助力码':_0xe5115c(0x279,'XGdt'))+']'),console['log'](_0xe5115c(0x126,'HThR')+(shuffleShareCodes?'随机打乱':'顺序执行')+']'),console[_0xe5115c(0x178,'L8jg')](_0xe5115c(0x275,'pAhU')+common[_0xe5115c(0x245,'VM62')]()+']'),console[_0xe5115c(0x27b,'A)Tz')](_0xe5115c(0x158,'f3Zz')+(isNotify?'开启':'关闭')+']'),console[_0xe5115c(0xd9,'pAhU')](_0xe5115c(0x280,'@L!O')+$[_0xe5115c(0x10d,'6E$b')]+_0xe5115c(0x146,'Q@))')),console[_0xe5115c(0xf3,'$iA&')](''),notify['config']({'title':$[_0xe5115c(0x2a5,')C#4')]}),console[_0xe5115c(0x24b,'hF3F')](_0xe5115c(0x211,'WQfb')+cookiesArr[_0xe5115c(0x113,'VM62')]+_0xe5115c(0x22b,'9Ia*')),$[_0xe5115c(0x20f,'fi5S')]=[];for(let _0x30fb26=0x0;_0x30fb26<cookiesArr[_0xe5115c(0x18e,'Sd#m')];_0x30fb26++){$[_0xe5115c(0x1d2,'fi5S')]=_0x30fb26+0x1,cookie=cookiesArr[_0x30fb26],common[_0xe5115c(0xe4,'%gaY')](cookie),$['UserName']=decodeURIComponent(common['getCookieValue'](cookie,_0xe5115c(0x18b,'9oSp'))),$['UA']=common[_0xe5115c(0x250,'@L!O')]($[_0xe5115c(0xe7,'kF$F')]),$['message']=notify[_0xe5115c(0x1ce,'Lv*%')]($[_0xe5115c(0x1da,'Zqok')],$[_0xe5115c(0x27f,'X&C]')]),$[_0xe5115c(0x12c,'hF3F')]='',$['retryTimes']=0x0,$[_0xe5115c(0x15b,'M2!q')]='【账号'+$['index']+'】'+$[_0xe5115c(0x21b,'9oSp')]+':',await getShareCodes(),common[_0xe5115c(0x2b1,'^ePn')]();if($[_0xe5115c(0xb6,'hF3F')])break;}if(needUpdateShareCodesCache){let _0x1826bc=JSON[_0xe5115c(0x157,'2rNj')](ShareCodesCacheData,null,0x2);fs[_0xe5115c(0xf2,'Lv*%')](ShareCodesCacheFile,_0x1826bc,function(_0x1207c3){const _0x432b1b=_0xe5115c;_0x1207c3?(console[_0x432b1b(0xed,')$Wn')](_0x1207c3),console[_0x432b1b(0x1a7,'Yzl)')]('\x0a【缓存文件\x20Fruit_ShareCache.json\x20更新失败!】\x0a')):console[_0x432b1b(0xd9,'pAhU')]('\x0a【缓存文件\x20Fruit_ShareCache.json\x20更新成功!】\x0a');});}$['needRemoveCookieIndex'][_0xe5115c(0x1f0,'A)Tz')]>0x0&&(console['log'](_0xe5115c(0x101,'X&C]')+$[_0xe5115c(0x14d,'d)&l')][_0xe5115c(0x111,'o%*q')](',\x20')+']'),cookiesArr=cookiesArr[_0xe5115c(0x1dc,'haI#')]((_0x49509a,_0x31785c)=>!$['needRemoveCookieIndex'][_0xe5115c(0x130,'Lv*%')](_0x31785c+0x1)),$[_0xe5115c(0x19a,'Nc$H')]=[]);console[_0xe5115c(0x1d8,'dj[6')](_0xe5115c(0xfc,'fi5S')+cookiesArr[_0xe5115c(0x232,'Vivx')]+']个');if(helparr&&helparr['length']>0x0){let _0x507429;if(shuffleShareCodes){const _0x4b4c2f=ShareCodes[_0xe5115c(0xcb,'WQfb')](()=>0.5-Math[_0xe5115c(0xc3,'6E$b')]());_0x507429=[...helparr,..._0x4b4c2f];}else _0x507429=[...helparr,...ShareCodes];const _0xb0f85d=[...new Set(_0x507429)];ShareCodes=_0xb0f85d,console[_0xe5115c(0x129,'X&C]')]('【模式】['+(shuffleShareCodes?_0xe5115c(0x28b,'XGdt'):_0xe5115c(0xdc,'6E$b'))+_0xe5115c(0x145,'kF$F')+helparr[_0xe5115c(0xfd,'dj[6')]+']个助力码,共计['+ShareCodes['length']+_0xe5115c(0x25b,'@L!O'));for(let _0x25082e=0x0;_0x25082e<cookiesArr[_0xe5115c(0x107,'Q@))')];_0x25082e++){$[_0xe5115c(0x2ab,'f3Zz')]=_0x25082e+0x1,cookie=cookiesArr[_0x25082e],common[_0xe5115c(0xf6,'BIw[')](cookie),$[_0xe5115c(0x1ff,'2rNj')]=decodeURIComponent(common[_0xe5115c(0x12a,'A)Tz')](cookie,_0xe5115c(0x15a,'HThR'))),$['UA']=common[_0xe5115c(0x176,'gVX3')]($[_0xe5115c(0xb7,'o0@I')]),$[_0xe5115c(0xfa,'ddB4')]=notify[_0xe5115c(0xe3,'o0@I')]($[_0xe5115c(0x26e,'2rNj')],$[_0xe5115c(0x1f3,'LMT[')]),$[_0xe5115c(0x2a8,'2m!X')]='',$[_0xe5115c(0x1fe,'A)Tz')]='【账号'+$[_0xe5115c(0x10e,'M2!q')]+'】'+$[_0xe5115c(0x207,'6E$b')]+':',await Main(),common['unsetCookie']();if($[_0xe5115c(0x13b,'HThR')])break;await $[_0xe5115c(0x1b9,'Sd#m')](0xbb8);}}else{let _0x4f30eb;if(shuffleShareCodes){const _0x4ce168=ShareCodes['sort'](()=>0.5-Math[_0xe5115c(0x23b,'hF3F')]());_0x4f30eb=_0x4ce168;}else _0x4f30eb=ShareCodes;const _0x44e912=[...new Set(_0x4f30eb)];ShareCodes=_0x44e912,console[_0xe5115c(0x291,'T[y%')](_0xe5115c(0x2a6,')C#4')+(shuffleShareCodes?_0xe5115c(0x264,'%gaY'):_0xe5115c(0x1c7,'d)&l'))+_0xe5115c(0x2ae,'ddB4')+ShareCodes[_0xe5115c(0x107,'Q@))')]+_0xe5115c(0x10b,'Yzl)'));for(let _0x4eabba=0x0;_0x4eabba<cookiesArr[_0xe5115c(0x196,')$Wn')];_0x4eabba++){$[_0xe5115c(0x199,'oGdI')]=_0x4eabba+0x1,cookie=cookiesArr[_0x4eabba],common[_0xe5115c(0x2a4,'6tYb')](cookie),$[_0xe5115c(0x187,'Nc$H')]=decodeURIComponent(common[_0xe5115c(0x1a3,'o0@I')](cookie,_0xe5115c(0x1ac,'@L!O'))),$['UA']=common[_0xe5115c(0x28a,'%gaY')]($[_0xe5115c(0x187,'Nc$H')]),$['message']=notify[_0xe5115c(0xe8,'@L!O')]($[_0xe5115c(0x29f,'ddB4')],$[_0xe5115c(0xc0,'XGdt')]),$[_0xe5115c(0x257,'9oSp')]='',$['title']=_0xe5115c(0x1b2,'dj[6')+$[_0xe5115c(0x25a,'VM62')]+'】'+$[_0xe5115c(0x207,'6E$b')]+':',await Main(),common['unsetCookie']();if($['runEnd'])break;await $[_0xe5115c(0x15f,'Yzl)')](0xbb8);}}const _0x497cb6=notify[_0xe5115c(0x19f,'6E$b')]();_0x497cb6&&(console['log'](_0xe5115c(0x142,'f3Zz')+_0x497cb6[_0xe5115c(0x248,'o0@I')](/:/g,_0xe5115c(0x255,'A)Tz'))),isNotify&&(notify[_0xe5115c(0x17b,'Vivx')]('\x0a'),await notify[_0xe5115c(0xb3,'kF$F')]()));})()[_0x1ca87d(0x23f,'kF$F')](_0x18d3ed=>$['logErr'](_0x18d3ed))[_0x1ca87d(0x29d,'@L!O')](()=>$[_0x1ca87d(0x2b2,'$iA&')]());async function getShareCodes(){const _0x4dcf2d=_0x1ca87d;try{const _0x5ce9a9=await common[_0x4dcf2d(0xd8,'Vivx')](cookie);if(!_0x5ce9a9&&typeof _0x5ce9a9===_0x4dcf2d(0x19e,'HThR')){console['log']($['title']+_0x4dcf2d(0xc5,'Vivx')),$[_0x4dcf2d(0xf7,')$Wn')][_0x4dcf2d(0xb8,'f3Zz')]($[_0x4dcf2d(0x26b,'XAur')]);return;}let _0x10cbcd=![],_0x540b26='';if(ShareCodesCacheData)for(let _0x13af2e=0x0;_0x13af2e<ShareCodesCacheData['length'];_0x13af2e++){ShareCodesCacheData[_0x13af2e][_0x4dcf2d(0x254,'$RNs')]==$[_0x4dcf2d(0x2b6,'@L!O')]&&(_0x10cbcd=!![],_0x540b26=ShareCodesCacheData[_0x13af2e]['ShareCode']);}!_0x10cbcd&&($[_0x4dcf2d(0x119,'XGdt')]='',await sendRequest(_0x4dcf2d(0x227,'6tYb')),$['initForFarm']&&(_0x540b26=$['initForFarm']['shareCode'],ShareCodesCacheData['push']({'pt_pin':$['UserName'],'ShareCode':_0x540b26}),needUpdateShareCodesCache=!![]),await $[_0x4dcf2d(0x238,'kF$F')](0xbb8)),_0x540b26?(console[_0x4dcf2d(0x152,'BIw[')]($[_0x4dcf2d(0x21e,'XAur')]+_0x4dcf2d(0x1fd,'T[y%')+_0x540b26+']'),ShareCodesMap[_0x4dcf2d(0x1f4,'9Ia*')]($[_0x4dcf2d(0x159,'M2!q')],_0x540b26),ShareCodes['push'](_0x540b26)):(console['log']($[_0x4dcf2d(0x195,'haI#')]+'❌\x20获取助力码失败('+($[_0x4dcf2d(0xd4,'U]W&')]||'未知原因')+')'),$[_0x4dcf2d(0x1d5,'X&C]')]['push']($['index']));}catch(_0x5594fb){console[_0x4dcf2d(0x269,'haI#')]('❌\x20脚本运行遇到了错误\x0a'+_0x5594fb);}}async function Main(){const _0x1fce38=_0x1ca87d;try{const _0x22e73b=await common[_0x1fce38(0x13e,'LMT[')](cookie);if(!_0x22e73b&&typeof _0x22e73b===_0x1fce38(0x1d7,')C#4')){console['log']($[_0x1fce38(0x1a8,'Nc$H')]+_0x1fce38(0x179,'hF3F'));return;}$[_0x1fce38(0x277,'ddB4')]=![];const _0x2c7938=[];_0x2f7597:for(let _0x1ead6d of ShareCodes){$[_0x1fce38(0x12f,'$iA&')]=_0x1ead6d,await sendRequest(_0x1fce38(0x2b0,'^ePn'));const _0x479484=$[_0x1fce38(0x155,'f3Zz')]?.['masterUserInfo']?.['nickName']||'未知';switch($[_0x1fce38(0x166,'LMT[')]?.[_0x1fce38(0x17a,'oGdI')]){case'0':console['log']($[_0x1fce38(0x160,'T[y%')]+_0x1fce38(0x299,'Sd#m')+_0x479484+']('+_0x1ead6d+_0x1fce38(0x1c2,'pAhU')+$[_0x1fce38(0x2b5,'2m!X')]?.[_0x1fce38(0xb9,'o%*q')]+_0x1fce38(0x143,'Nc$H'));break;case'7':console[_0x1fce38(0x168,'9oSp')]($[_0x1fce38(0x17d,'^ePn')]+_0x1fce38(0x1e9,'HThR'));break;case'9':console[_0x1fce38(0x27b,'A)Tz')]($[_0x1fce38(0x16a,'Vivx')]+'助力['+_0x479484+']('+_0x1ead6d+')失败(今日已给该好友助力过了)');break;case'8':console[_0x1fce38(0x13f,'oGdI')]($[_0x1fce38(0x282,')$Wn')]+_0x1fce38(0x23c,'fi5S')+_0x479484+']('+_0x1ead6d+_0x1fce38(0x298,'Vivx'));break _0x2f7597;case'10':console[_0x1fce38(0x1d8,'dj[6')]($[_0x1fce38(0x163,'$iA&')]+_0x1fce38(0x11f,'pAhU')+_0x479484+']('+_0x1ead6d+')失败(好友助力已满)'),$[_0x1fce38(0x1f7,'U]W&')][_0x1fce38(0x149,')$Wn')]('('+_0x1ead6d+_0x1fce38(0x186,'f3Zz')),_0x2c7938[_0x1fce38(0x19c,'Nc$H')](_0x1ead6d);break;default:{console[_0x1fce38(0x269,'haI#')]($['title']+_0x1fce38(0x223,'kF$F')+_0x1ead6d+')失败(未知助力结果:'+(JSON[_0x1fce38(0x127,'o%*q')]($[_0x1fce38(0x2a1,'X&C]')])||$[_0x1fce38(0x12e,')C#4')]));break;}}if($[_0x1fce38(0x1bb,'XAur')])break;await $[_0x1fce38(0x171,'Q@))')](0x7d0);}if(_0x2c7938['length']>0x0){for(let _0x3a3573 of _0x2c7938){ShareCodes[_0x1fce38(0x104,'@L!O')](_0x3a3573)&&ShareCodes[_0x1fce38(0x2a0,'@L!O')](ShareCodes[_0x1fce38(0x25d,'U]W&')](_0x3a3573),0x1);}console['log'](_0x1fce38(0x14a,'BIw[')+ShareCodes['length']+_0x1fce38(0x190,'XAur'));}}catch(_0x1bfe44){console[_0x1fce38(0x20e,'Lv*%')](_0x1fce38(0x121,'2rNj')+_0x1bfe44);}}async function handleResponse(_0x5a7d75,_0xc68fd9){const _0x4dfc2c=_0x1ca87d;try{switch(_0x5a7d75){case _0x4dfc2c(0x1e3,'dj[6'):if(_0xc68fd9[_0x4dfc2c(0xd0,'ddB4')]==='0')_0xc68fd9&&_0xc68fd9[_0x4dfc2c(0x1dd,'X&C]')]&&($[_0x4dfc2c(0x25e,'haI#')]=_0xc68fd9[_0x4dfc2c(0x114,'Vivx')]);else switch(_0xc68fd9[_0x4dfc2c(0xeb,'U]W&')]){case'3':$['errmsg']='未登录';break;case'2':case'6':$['errmsg']=_0x4dfc2c(0x1e0,'ddB4');break;case _0x4dfc2c(0x1a0,'$iA&'):case _0x4dfc2c(0x1b5,'jS*O'):$[_0x4dfc2c(0x1c9,'XGdt')]=_0x4dfc2c(0x156,'*1PY');break;default:{$['errmsg']=_0x4dfc2c(0x1be,'ddB4')+_0xc68fd9['code']+']';break;}}break;case _0x4dfc2c(0xe2,'$RNs'):if(_0xc68fd9[_0x4dfc2c(0x16c,'Nc$H')]==='0')_0xc68fd9&&_0xc68fd9[_0x4dfc2c(0x23e,'BIw[')]&&($[_0x4dfc2c(0x155,'f3Zz')]=_0xc68fd9[_0x4dfc2c(0x1c3,'9Ia*')]);else{$[_0x4dfc2c(0x2a7,'$iA&')]=!![];switch(_0xc68fd9['code']){case'3':$[_0x4dfc2c(0x12e,')C#4')]='未登录';break;case'2':case'6':$[_0x4dfc2c(0x210,')$Wn')]='活动火爆,请稍后再试';break;case _0x4dfc2c(0x226,'o0@I'):case'404':$[_0x4dfc2c(0xc6,'dj[6')]=_0x4dfc2c(0x256,'6E$b');break;default:{$[_0x4dfc2c(0x14f,'Q@))')]='未知错误:['+_0xc68fd9[_0x4dfc2c(0x1df,'%gaY')]+']';break;}}}break;}}catch(_0x271e0e){console['log'](_0x4dfc2c(0x252,'pAhU')+_0x5a7d75+'\x20请求响应\x20'+(_0x271e0e[_0x4dfc2c(0xb4,'Nc$H')]||_0x271e0e));}}async function sendRequest(_0x4fde08){const _0x3ed75b=_0x1ca87d;if($['runEnd'])return;let _0x851fb1='',_0x5df3ad=null,_0x6d19ff=null,_0x10d487=_0x3ed75b(0x1b3,'VM62'),_0x16048b={},_0x2ab2ea={};switch(_0x4fde08){case _0x3ed75b(0x1a5,'6E$b'):_0x2ab2ea={'appId':'8a2af','functionId':'initForFarm','appid':_0x3ed75b(0x22a,'%gaY'),'clientVersion':common[_0x3ed75b(0xf4,'X&C]')](),'client':_0x3ed75b(0x1cb,'8xNG'),'body':{'mpin':'','utm_campaign':'t_335139774','utm_medium':_0x3ed75b(0x17c,'haI#'),'shareCode':'','utm_term':_0x3ed75b(0x1d3,'U]W&'),'utm_source':_0x3ed75b(0x25f,'LMT['),'imageUrl':'','nickName':'','babelChannel':_0x3ed75b(0x162,'9oSp'),'sid':'','un_area':'0_0_0_0','version':0x19,'channel':0x1},'version':_0x3ed75b(0x150,'o0@I'),'ua':$['UA'],'t':!![]},_0x16048b=await H5st2[_0x3ed75b(0x177,')$Wn')](_0x2ab2ea),_0x851fb1='https://api.m.jd.com/client.action',_0x5df3ad=_0x16048b['paramsData'];break;case'initForFarm_assist':_0x2ab2ea={'appId':'8a2af','functionId':_0x3ed75b(0x19b,'%gaY'),'appid':_0x3ed75b(0x1aa,'haI#'),'clientVersion':common[_0x3ed75b(0x213,'VM62')](),'client':_0x3ed75b(0x253,'HThR'),'body':{'babelChannel':_0x3ed75b(0x138,'$iA&'),'shareCode':$[_0x3ed75b(0x25c,'dj[6')],'mpin':'','from':_0x3ed75b(0x208,'%gaY'),'sid':'','un_area':_0x3ed75b(0x1a2,'M2!q'),'version':0x19,'channel':0x1,'lat':'0','lng':'0'},'version':_0x3ed75b(0x239,'BIw['),'ua':$['UA'],'t':!![]},_0x16048b=await H5st2[_0x3ed75b(0x1b1,'Lv*%')](_0x2ab2ea),_0x851fb1=_0x3ed75b(0x24a,'M2!q'),_0x5df3ad=_0x16048b['paramsData'];break;default:console[_0x3ed75b(0x26d,'XAur')](_0x3ed75b(0x1c5,'8xNG')+_0x4fde08);return;}const _0x5107db={'osVersion':common[_0x3ed75b(0x193,'i9bY')](),'uemps':_0x3ed75b(0x1d4,'Sd#m'),'screen':'430*0','wqDefault':'false'};_0x5df3ad&&Object[_0x3ed75b(0x27e,'pAhU')](_0x5df3ad,_0x5107db);_0x6d19ff&&Object[_0x3ed75b(0x265,'9oSp')](_0x6d19ff,_0x5107db);const _0x28c467={'url':_0x851fb1,'method':_0x10d487,'headers':{'Host':_0x3ed75b(0x204,'9oSp'),'Accept':_0x3ed75b(0x148,'jS*O'),'Origin':_0x3ed75b(0x1fa,'o%*q'),'Accept-Encoding':'gzip,deflate,br','User-Agent':$['UA'],'Accept-Language':_0x3ed75b(0x259,'$RNs'),'Referer':'https://carry.m.jd.com/','x-requested-with':'com.jingdong.app.mall','Cookie':cookie},'params':_0x6d19ff,'data':_0x5df3ad,'timeout':0x7530};_0x10d487==='GET'&&(delete _0x28c467['data'],delete _0x28c467[_0x3ed75b(0xc4,'@L!O')][_0x3ed75b(0x197,'^ePn')]);const _0x2aaf30=0x1;let _0x3bf94e=0x0,_0x220dce=null,_0x4faece=![];while(_0x3bf94e<_0x2aaf30){_0x3bf94e>0x0&&await $[_0x3ed75b(0x285,'f3Zz')](0x3e8);const _0x23efcb=await common[_0x3ed75b(0x22c,'kF$F')](_0x28c467);if(!_0x23efcb['success']){_0x220dce=_0x3ed75b(0x175,'oGdI')+_0x4fde08+_0x3ed75b(0x1ea,'Sd#m')+_0x23efcb['error'],_0x3bf94e++;continue;}if(!_0x23efcb[_0x3ed75b(0x1a6,'6tYb')]){_0x220dce=_0x3ed75b(0x137,'X&C]')+_0x4fde08+'\x20请求失败\x20➜\x20无响应数据',_0x3bf94e++;continue;}await handleResponse(_0x4fde08,_0x23efcb[_0x3ed75b(0x139,'U]W&')]),_0x4faece=![];break;}_0x3bf94e>=_0x2aaf30&&(console[_0x3ed75b(0x28f,'d)&l')](_0x220dce),_0x4faece&&($[_0x3ed75b(0x116,'oGdI')]=!![],$[_0x3ed75b(0xd3,'fi5S')]&&$[_0x3ed75b(0x214,'XAur')][_0x3ed75b(0x1d9,'%gaY')](_0x220dce)));}class H5st42{constructor(){const _0x597366=_0x1ca87d;this[_0x597366(0xba,'ddB4')]=CryptoJS[_0x597366(0x132,'6tYb')][_0x597366(0x206,'T[y%')][_0x597366(0x102,'U]W&')](_0x597366(0x233,'kF$F')),this['_ivKey']=CryptoJS[_0x597366(0x260,'T[y%')][_0x597366(0x172,'jS*O')]['parse'](_0x597366(0x1a1,'Lv*%')),this['_tokenMaps']={4.2:{}},this[_0x597366(0x169,'U]W&')]={4.2:{}},this[_0x597366(0x209,'o%*q')]=new Map(),this[_0x597366(0x140,'$RNs')]={'build':common[_0x597366(0x103,'@L!O')](),'version':common['getLatestAppVersion']()},this[_0x597366(0x272,'8xNG')]=common[_0x597366(0x26f,'WQfb')]();}async[_0x1ca87d(0x1ef,'oGdI')](_0x1f8fdd){const _0x18ab9b=_0x1ca87d;let _0x44a269=Object[_0x18ab9b(0x1c0,'M2!q')]({},_0x1f8fdd,{'h5st':'','params':'','paramsData':{}});try{if(!(typeof _0x1f8fdd===_0x18ab9b(0x125,'BIw[')&&_0x1f8fdd!==null))return console['log'](_0x18ab9b(0x202,'LMT[')),_0x44a269;else{const _0x484ec8=[_0x18ab9b(0x271,'9oSp'),_0x18ab9b(0x1de,'X&C]'),_0x18ab9b(0xec,'2rNj'),_0x18ab9b(0x29a,'i9bY')],_0x50e776=_0x484ec8[_0x18ab9b(0x15c,'9oSp')](_0x577b84=>!_0x1f8fdd[_0x577b84]);if(_0x50e776[_0x18ab9b(0x17e,'9Ia*')]>0x0)return console[_0x18ab9b(0x1b8,'M2!q')](_0x18ab9b(0x234,'d)&l')+_0x50e776['join'](',\x20')),_0x44a269;}_0x1f8fdd['version']=_0x18ab9b(0x273,')$Wn');const _0x298c15=this[_0x18ab9b(0x220,'pAhU')](_0x1f8fdd),{appid:_0x4808c4,body:_0x2ff7be,client:_0x10a2d3,clientVersion:_0x46c33c,functionId:_0x8428e7}=_0x1f8fdd;let _0xe54550=this[_0x18ab9b(0x2b7,'kF$F')][_0x298c15[_0x18ab9b(0xcd,'L8jg')]][_0x298c15[_0x18ab9b(0x1ab,'ddB4')]],_0x1fe6d6=this['_algoMaps'][_0x298c15[_0x18ab9b(0x11d,'M2!q')]][_0x298c15[_0x18ab9b(0x10c,'6tYb')]];if(!_0xe54550||!_0x1fe6d6){const _0x451912=await this[_0x18ab9b(0x184,'@L!O')](_0x298c15);_0xe54550=_0x451912[_0x18ab9b(0x1b0,'jS*O')],_0x1fe6d6=_0x451912[_0x18ab9b(0x15e,'2rNj')],this['_tokenMaps'][_0x298c15[_0x18ab9b(0x22e,'VM62')]][_0x298c15[_0x18ab9b(0xda,'BIw[')]]=_0xe54550,this[_0x18ab9b(0x1ed,'kF$F')][_0x298c15[_0x18ab9b(0xbd,'Vivx')]][_0x298c15[_0x18ab9b(0x133,'dj[6')]]=_0x1fe6d6;}if(!_0xe54550&&!_0x1fe6d6)return _0x44a269;const _0x575674={'appid':_0x4808c4,'body':_0x2ff7be,'client':_0x10a2d3,'clientVersion':_0x46c33c,'functionId':_0x8428e7};_0x1f8fdd?.['t']&&typeof _0x1f8fdd['t']===_0x18ab9b(0xc9,'Q@))')?(_0x1f8fdd['t']=Date['now'](),_0x575674['t']=_0x1f8fdd['t']):_0x1f8fdd['t']='';if(!_0x575674[_0x18ab9b(0xbf,'Vivx')])delete _0x575674[_0x18ab9b(0x136,'d)&l')];if(!_0x575674['clientVersion'])delete _0x575674[_0x18ab9b(0x249,'WQfb')];const _0xf0af8e=this[_0x18ab9b(0xef,'o0@I')](_0x575674,_0xe54550,_0x1fe6d6,_0x298c15),_0x89f964={'functionId':_0x8428e7,'body':JSON[_0x18ab9b(0x28d,'Yzl)')](_0x2ff7be),'t':'','appid':_0x4808c4,'client':'','clientVersion':'','h5st':_0xf0af8e?.[_0x18ab9b(0x243,')$Wn')]||''};for(const _0x3c5407 of['t',_0x18ab9b(0x18a,'gVX3'),_0x18ab9b(0x16b,'haI#')]){_0x1f8fdd[_0x3c5407]?_0x89f964[_0x3c5407]=_0x1f8fdd[_0x3c5407]:delete _0x89f964[_0x3c5407];}Object['assign'](_0x44a269,{'h5st':_0xf0af8e?.[_0x18ab9b(0x230,'f3Zz')]||'','params':querystring[_0x18ab9b(0x1bd,'Vivx')](_0x89f964),'paramsData':_0x89f964});}catch(_0x223228){console['log']('❌\x20getH5st\x20遇到了错误\x20'+(_0x223228[_0x18ab9b(0x1e5,'Vivx')]||_0x223228));}return _0x44a269;}['_initParams'](_0x3e0dea){const _0x1c9132=_0x1ca87d,_0x37b0a2={'version':'','appId':_0x3e0dea?.[_0x1c9132(0x117,'Q@))')]||'','fv':'','fp':'','ua':'','sua':'','av':'','url':'','og':'','referer':_0x3e0dea?.[_0x1c9132(0x182,'%gaY')]||'','pin':_0x3e0dea?.[_0x1c9132(0x290,'2rNj')]||'','cookie':_0x3e0dea?.[_0x1c9132(0xe0,'M2!q')]||''};if(_0x3e0dea?.['ua']){let _0x48f2b9=_0x3e0dea['ua'],_0x5b183e=_0x48f2b9[_0x1c9132(0x200,'$iA&')](/^[\s\S]*?\(([\s\S]*?)\)/),_0x530a45=_0x48f2b9[_0x1c9132(0x23d,')C#4')](/(?<=\/)[0-9]\.0[^'"\n]+/g);_0x5b183e?.[_0x1c9132(0x188,'f3Zz')]>0x0&&_0x530a45?.[_0x1c9132(0x15d,'oGdI')]>0x0&&(_0x37b0a2['ua']=_0x48f2b9,_0x37b0a2[_0x1c9132(0x192,'o0@I')]=_0x5b183e[0x1],_0x37b0a2['av']=_0x530a45[0x0]);}if(!_0x37b0a2['ua']){let _0x2ac195=this[_0x1c9132(0x115,'jS*O')](),_0x5616dd=_0x2ac195[_0x1c9132(0x1f6,'XAur')](/^[\s\S]*?\(([\s\S]*?)\)/),_0x25b91a=_0x2ac195[_0x1c9132(0x11c,'gVX3')](/(?<=\/)[0-9]\.0[^'"\n]+/g);_0x5616dd?.[_0x1c9132(0x203,'%gaY')]>0x0&&_0x25b91a?.[_0x1c9132(0x15d,'oGdI')]>0x0&&(_0x37b0a2['ua']=_0x2ac195,_0x37b0a2[_0x1c9132(0x224,'6tYb')]=_0x5616dd[0x1],_0x37b0a2['av']=_0x25b91a[0x0]);}_0x37b0a2[_0x1c9132(0x22e,'VM62')]=_0x1c9132(0x284,'T[y%'),_0x37b0a2['fv']=_0x1c9132(0x24f,'T[y%'),_0x37b0a2['fp']=this[_0x1c9132(0xc7,')$Wn')]['get'](_0x37b0a2['ua'])||'';!_0x37b0a2['fp']&&(_0x37b0a2['fp']=this[_0x1c9132(0x240,'Zqok')](),_0x37b0a2['ua'][_0x1c9132(0x229,'U]W&')]('jd')&&this[_0x1c9132(0x1f9,'2m!X')][_0x1c9132(0x29c,'XAur')](_0x37b0a2['ua'],_0x37b0a2['fp']));if(_0x3e0dea?.[_0x1c9132(0x185,'kF$F')])try{const _0x4d95f6=new URL(_0x3e0dea[_0x1c9132(0x1f2,'Sd#m')]);_0x37b0a2[_0x1c9132(0x198,'Q@))')]=_0x4d95f6[_0x1c9132(0xb5,'o0@I')],_0x37b0a2['og']=_0x4d95f6[_0x1c9132(0x1af,'@L!O')];}catch{}return _0x37b0a2;}async[_0x1ca87d(0xe9,'T[y%')](_0x17c36f){const _0x36bec3=_0x1ca87d;try{const _0x511109=this[_0x36bec3(0xc8,'$RNs')](_0x17c36f);let _0xe7913b=this[_0x36bec3(0xfe,'8xNG')](JSON['stringify'](_0x511109,null,0x2),this[_0x36bec3(0x266,'fi5S')]);const _0x5b0165={'version':_0x17c36f[_0x36bec3(0xf1,'jS*O')],'fp':_0x17c36f['fp'],'appId':_0x17c36f[_0x36bec3(0x133,'dj[6')],'timestamp':Date[_0x36bec3(0x28e,'jS*O')](),'platform':_0x36bec3(0x286,'BIw['),'expandParams':_0xe7913b,'fv':_0x17c36f['fv']},_0x27d63f={'url':_0x36bec3(0x18d,'HThR'),'method':'POST','headers':{'Content-Type':_0x36bec3(0xde,'fi5S'),'Origin':_0x36bec3(0x24d,'Q@))'),'Host':_0x36bec3(0x147,'Zqok'),'Accept':_0x36bec3(0x2ac,'fi5S'),'User-Agent':_0x17c36f?.['ua']||_0x36bec3(0x1a4,'XAur')},'data':_0x5b0165,'proxy':null,'timeout':0xea60,'debug':![]};let _0x398fa2=0x0,_0x1309d9=null;const _0x5a26ae=0x1;while(_0x398fa2<_0x5a26ae){const _0x38c67d=await common['request'](_0x27d63f);if(!_0x38c67d[_0x36bec3(0x167,'A)Tz')]){_0x1309d9='❌\x20getH5st\x20request_algo\x20请求失败\x20➜\x20'+_0x38c67d[_0x36bec3(0x13d,'oGdI')],_0x398fa2++;continue;}if(!_0x38c67d['data']){_0x1309d9=_0x36bec3(0xf0,'L8jg'),_0x398fa2++;continue;}try{const _0x456eb5=_0x38c67d[_0x36bec3(0x2a9,'o0@I')];if(_0x456eb5?.[_0x36bec3(0x1a6,'6tYb')]&&_0x456eb5?.['data']?.['result']){const _0x306471=_0x456eb5[_0x36bec3(0x268,'i9bY')][_0x36bec3(0xee,'@L!O')]?.[_0x36bec3(0x261,'9Ia*')],_0x46e2ea=_0x456eb5[_0x36bec3(0x2bb,'kF$F')][_0x36bec3(0xca,'2rNj')]?.['tk'];if(_0x306471&&_0x46e2ea)return{'token':_0x46e2ea,'algo':_0x306471};}_0x1309d9=_0x36bec3(0x29e,'hF3F')+JSON['stringify'](_0x456eb5);}catch(_0x4afa35){_0x1309d9=_0x36bec3(0x124,'*1PY')+(_0x4afa35[_0x36bec3(0x16f,'haI#')]||_0x4afa35);}_0x398fa2++;}_0x398fa2>=_0x5a26ae&&console[_0x36bec3(0x11b,'Nc$H')](_0x1309d9);}catch(_0x47f956){console[_0x36bec3(0x27c,'%gaY')](_0x36bec3(0x1c8,'Vivx')+(_0x47f956[_0x36bec3(0x153,'Sd#m')]||_0x47f956));}return{'token':'','algo':''};}[_0x1ca87d(0xd7,'*1PY')](_0x3f59a9){const _0x553dc=_0x1ca87d;return{'wc':0x0,'wd':0x0,'l':_0x553dc(0x11e,')$Wn'),'ls':'zh-CN,zh','ml':0x0,'pl':0x0,'av':_0x3f59a9['av'],'ua':_0x3f59a9['ua'],'sua':_0x3f59a9[_0x553dc(0x1ae,'Lv*%')],'pp':_0x3f59a9[_0x553dc(0x251,'pAhU')]?{'p1':_0x3f59a9['pin'],'p2':_0x3f59a9[_0x553dc(0x100,'2m!X')]}:{},'extend':{'pm':0x0,'wd':0x0,'l':0x0,'ls':0x2,'wk':0x0,'bu1':'9.9.9'},'pp1':_0x3f59a9[_0x553dc(0xc2,'@L!O')]?'':_0x3f59a9['cookie'],'pm':{'ps':_0x553dc(0xdf,'%gaY'),'np':_0x553dc(0x154,'^ePn')},'w':0x190,'h':0x2bc,'ow':0x190,'oh':0x2bc,'url':_0x3f59a9[_0x553dc(0x26a,'^ePn')],'og':_0x3f59a9['og'],'pr':1.25,'re':_0x3f59a9[_0x553dc(0x182,'%gaY')],'random':this['_makeRandomStr'](0xa),'referer':_0x3f59a9[_0x553dc(0x1e6,'dj[6')],'v':_0x3f59a9['fv'],'ai':_0x3f59a9[_0x553dc(0x21a,'o%*q')],'fp':_0x3f59a9['fp']};}[_0x1ca87d(0x12d,'f3Zz')](_0x31bedb,_0x324f65,_0x427630,_0x580d6c){const _0x1adb43=_0x1ca87d;try{const _0x370772=_0x580d6c['version'],_0x4d1948=Date['now'](),_0xada12f=new Date(_0x4d1948),_0x3444db=''+_0xada12f[_0x1adb43(0x18c,'gVX3')]()+String(_0xada12f[_0x1adb43(0xf5,'Sd#m')]()+0x1)[_0x1adb43(0x225,'pAhU')](0x2,'0')+String(_0xada12f[_0x1adb43(0x289,'gVX3')]())['padStart'](0x2,'0')+String(_0xada12f['getHours']())[_0x1adb43(0x21d,'hF3F')](0x2,'0')+String(_0xada12f[_0x1adb43(0x244,'2rNj')]())[_0x1adb43(0xd5,'@L!O')](0x2,'0')+String(_0xada12f[_0x1adb43(0x13c,')$Wn')]())['padStart'](0x2,'0')+String(_0xada12f[_0x1adb43(0x109,'BIw[')]())[_0x1adb43(0x292,')C#4')](0x3,'0');let _0x5a7ac1=Object[_0x1adb43(0x106,'XGdt')](_0x31bedb)[_0x1adb43(0x293,'d)&l')](([_0xad45df,_0x5e08ba])=>{const _0x230668=_0x1adb43;return _0xad45df===_0x230668(0x2bc,'A)Tz')&&(_0x5e08ba=CryptoJS['SHA256'](JSON['stringify'](_0x5e08ba))[_0x230668(0x205,'L8jg')]()),{'key':_0xad45df,'value':_0x5e08ba};}),_0x4b65ca='',_0x2b2805='';const _0x346765=_0x5a7ac1[_0x1adb43(0x1c1,'@L!O')](_0x2253bc=>_0x2253bc[_0x1adb43(0xc1,'i9bY')]+':'+_0x2253bc['value'])[_0x1adb43(0x111,'o%*q')]('&'),_0x24aade=new Function(_0x1adb43(0x2b9,'Zqok')[_0x1adb43(0x231,'9Ia*')](_0x427630))();let _0x5325dc=_0x3444db;_0x5325dc+='74';let _0x36d19a;_0x36d19a=_0x24aade(_0x324f65,_0x580d6c['fp'],_0x5325dc,_0x580d6c[_0x1adb43(0x14e,'Vivx')],CryptoJS)[_0x1adb43(0xd1,'$RNs')]()||'',_0x4b65ca=CryptoJS[_0x1adb43(0x235,'Q@))')](''[_0x1adb43(0x1f1,'Zqok')](_0x36d19a)['concat'](_0x346765)[_0x1adb43(0x212,'oGdI')](_0x36d19a))['toString']();let _0x42c463={};_0x42c463={'sua':_0x580d6c[_0x1adb43(0x297,'T[y%')],'pp':_0x580d6c[_0x1adb43(0x228,'L8jg')]?{'p1':_0x580d6c[_0x1adb43(0x20b,'f3Zz')],'p2':_0x580d6c[_0x1adb43(0x14c,'6tYb')]}:{},'extend':{'pm':0x0,'wd':0x0,'l':0x0,'ls':0x2,'wk':0x0,'bu1':_0x1adb43(0x29b,'Zqok')},'random':this[_0x1adb43(0x22f,'Vivx')](0xa),'referer':_0x580d6c[_0x1adb43(0x11a,'$iA&')],'v':_0x580d6c['fv'],'fp':_0x580d6c['fp']},_0x2b2805=this[_0x1adb43(0x151,'Yzl)')](JSON[_0x1adb43(0x1b6,'U]W&')](_0x42c463,null,0x2),CryptoJS[_0x1adb43(0x260,'T[y%')][_0x1adb43(0x283,'f3Zz')][_0x1adb43(0x237,'T[y%')](_0x1adb43(0x1f8,'oGdI')));const _0x1a8f01=[''[_0x1adb43(0x1fc,'6tYb')](_0x3444db),''[_0x1adb43(0x231,'9Ia*')](_0x580d6c['fp']),''['concat'](_0x580d6c[_0x1adb43(0x2af,'@L!O')]),''['concat'](_0x324f65),''['concat'](_0x4b65ca),''[_0x1adb43(0x1b7,'U]W&')](_0x370772),''[_0x1adb43(0x1cf,'L8jg')](_0x4d1948),''[_0x1adb43(0x294,'A)Tz')](_0x2b2805)][_0x1adb43(0x258,'o0@I')](';');return{'_stk':_0x5a7ac1[_0x1adb43(0xe6,'f3Zz')](_0x3a491b=>_0x3a491b[_0x1adb43(0x14b,')$Wn')])[_0x1adb43(0x164,'2rNj')](','),'_ste':0x1,'h5st':_0x1a8f01};}catch(_0x1553b8){console['log'](_0x1adb43(0x242,'WQfb')+(_0x1553b8[_0x1adb43(0x201,'jS*O')]||_0x1553b8));}return{'_stk':'','_ste':0x0,'h5st':''};}['_AESEncrypt'](_0x2eb50f,_0x35fdfe){const _0x4b1fc7=_0x1ca87d,_0x30e359=CryptoJS['enc'][_0x4b1fc7(0x189,'A)Tz')][_0x4b1fc7(0x296,'Q@))')](_0x2eb50f),_0x19a06b=CryptoJS[_0x4b1fc7(0x274,'X&C]')]['encrypt'](_0x30e359,_0x35fdfe,{'iv':this[_0x4b1fc7(0x216,'6E$b')],'mode':CryptoJS['mode'][_0x4b1fc7(0xdd,'o0@I')],'padding':CryptoJS[_0x4b1fc7(0x10f,')C#4')][_0x4b1fc7(0xfb,'Vivx')]});return CryptoJS[_0x4b1fc7(0xd2,'HThR')][_0x4b1fc7(0xbc,'*1PY')][_0x4b1fc7(0x112,'@L!O')](CryptoJS[_0x4b1fc7(0xb2,'*1PY')][_0x4b1fc7(0x118,'8xNG')][_0x4b1fc7(0x1d0,'%gaY')](_0x19a06b[_0x4b1fc7(0x191,'U]W&')]()));}['_makeRandomStr'](_0x320cac=0x20,_0x2a63c7=_0x1ca87d(0x263,'f3Zz')){const _0x42cb7b=_0x1ca87d,_0x5565d5=_0x2a63c7[_0x42cb7b(0x16e,'9oSp')];let _0x45c83a='';for(let _0x45c127=0x0;_0x45c127<_0x320cac;_0x45c127++){_0x45c83a+=_0x2a63c7[_0x42cb7b(0x247,'L8jg')](Math['floor'](Math[_0x42cb7b(0x183,'2rNj')]()*_0x5565d5));}return _0x45c83a;}[_0x1ca87d(0x2b8,'6tYb')](){const _0x33ead0=_0x1ca87d;function _0x24d8b2(_0x5da365='xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',_0x5bb2f0=_0x33ead0(0x1d1,'d)&l')){const _0x3ffb0d=_0x33ead0;let _0x55db91='';for(let _0x5a34c6 of _0x5da365){if(_0x5a34c6=='x')_0x55db91+=_0x5bb2f0[_0x3ffb0d(0x217,')$Wn')](Math['floor'](Math['random']()*_0x5bb2f0[_0x3ffb0d(0x1e8,'$RNs')]));else _0x5a34c6=='X'?_0x55db91+=_0x5bb2f0[_0x3ffb0d(0x120,'Zqok')](Math[_0x3ffb0d(0x18f,'Sd#m')](Math[_0x3ffb0d(0xe5,'Yzl)')]()*_0x5bb2f0[_0x3ffb0d(0xfd,'dj[6')]))[_0x3ffb0d(0x1a9,')C#4')]():_0x55db91+=_0x5a34c6;}return _0x55db91;}const _0x252676=_0x24d8b2(),_0x4dabc6=[_0x33ead0(0x1f5,'XAur'),_0x33ead0(0x173,'kF$F'),this[_0x33ead0(0x1ad,'6tYb')][_0x33ead0(0xf1,'jS*O')],'',_0x33ead0(0x218,'6E$b')+_0x252676,_0x33ead0(0x1e1,'XAur'),_0x33ead0(0x295,')C#4')+this[_0x33ead0(0x20a,'@L!O')][_0x33ead0(0x165,'kF$F')],_0x33ead0(0x1fb,'WQfb'),_0x33ead0(0x1d6,'Sd#m'),'ep/%7B%22ciphertype%22%3A5%2C%22cipher%22%3A%7B%22ud%22%3A%22DG%3D%3D%22%2C%22sv%22%3A%22CG%3D%3D%22%2C%22iad%22%3A%22%22%7D%2C%22ts%22%3A'+Math[_0x33ead0(0x1bf,'Yzl)')](Date[_0x33ead0(0x161,'ddB4')]()/0x3e8)+_0x33ead0(0xdb,'kF$F'),_0x33ead0(0x123,'f3Zz')+this[_0x33ead0(0x219,'Lv*%')][_0x33ead0(0x21c,'A)Tz')]('.','_')+_0x33ead0(0x270,'L8jg'),_0x33ead0(0x1e2,'pAhU'),''],_0x5daaf1=_0x4dabc6[_0x33ead0(0x110,'WQfb')](';');return _0x5daaf1;}['_makeFp'](){const _0x1cc588=_0x1ca87d;function _0x588ff3(_0x44eb84,_0x17844b){const _0x19367f=_0x36d7;return _0x44eb84+Math[_0x19367f(0x10a,'T[y%')](Math[_0x19367f(0x22d,'XAur')]()*(_0x17844b+0x1-_0x44eb84));}function _0x2186ac(_0x6016ec,_0x4dcb4f){const _0x4f2a7e=_0x36d7;for(var _0x572ddb=[],_0x1c21c9=0x0;_0x1c21c9<_0x6016ec[_0x4f2a7e(0x1e8,'$RNs')];_0x1c21c9++){var _0x1b5b23=_0x6016ec[_0x1c21c9];if(_0x588ff3(0x0,_0x6016ec[_0x4f2a7e(0x1db,'WQfb')]-_0x1c21c9-0x1)<_0x4dcb4f-_0x572ddb[_0x4f2a7e(0x1e8,'$RNs')]&&(_0x572ddb[_0x4f2a7e(0x262,'jS*O')](_0x1b5b23),_0x572ddb[_0x4f2a7e(0x21f,'6tYb')]==_0x4dcb4f))break;}for(var _0x4f2abc='',_0x8fa9f=0x0;_0x8fa9f<_0x572ddb[_0x4f2a7e(0x203,'%gaY')];_0x8fa9f+=0x1){var _0x3aea1d=Math[_0x4f2a7e(0x19d,'$iA&')]()*(_0x572ddb[_0x4f2a7e(0x1e7,'M2!q')]-_0x8fa9f)|0x0;_0x4f2abc+=_0x572ddb[_0x3aea1d],_0x572ddb[_0x3aea1d]=_0x572ddb[_0x572ddb['length']-_0x8fa9f-0x1];}return _0x4f2abc;}function _0x3b96a1(_0x49cd3a,_0xefc87e){const _0x4e618d=_0x36d7;for(var _0x33d3bd=0x0;_0x33d3bd<_0xefc87e[_0x4e618d(0x1b4,'XAur')];_0x33d3bd+=0x1){var _0x5031ee=_0x49cd3a[_0x4e618d(0x2aa,'2rNj')](_0xefc87e[_0x33d3bd]);-0x1!==_0x5031ee&&(_0x49cd3a=_0x49cd3a[_0x4e618d(0x276,'$RNs')](_0xefc87e[_0x33d3bd],''));}return _0x49cd3a;}var _0x184964=_0x1cc588(0x20d,'6tYb'),_0x3968a8=_0x2186ac(_0x184964,0x4),_0x47c193=_0x588ff3(0x0,0x9),_0x3263eb=_0x3b96a1(_0x184964,_0x3968a8),_0x1ee4d3={};_0x1ee4d3[_0x1cc588(0x141,'L8jg')]=_0x47c193,_0x1ee4d3[_0x1cc588(0xff,'6E$b')]=_0x3263eb;var _0x588ff3=this['_makeRandomStr'](_0x1ee4d3[_0x1cc588(0x131,'oGdI')],_0x1ee4d3[_0x1cc588(0xff,'6E$b')])+_0x3968a8+this['_makeRandomStr'](0xc-_0x47c193-0x1,_0x3263eb)+_0x47c193,_0x42a91c=_0x588ff3['split'](''),_0x269629=_0x42a91c[_0x1cc588(0x2ba,'kF$F')](0x0,0xe),_0x3f9721=_0x42a91c['slice'](0xe),_0x5a1b92=[];while(_0x269629[_0x1cc588(0x174,'L8jg')]>0x0){_0x5a1b92[_0x1cc588(0x1ca,'@L!O')]((0x23-parseInt(_0x269629[_0x1cc588(0xce,'T[y%')](),0x24))['toString'](0x24));}return _0x5a1b92=_0x5a1b92[_0x1cc588(0x1fc,'6tYb')](_0x3f9721),_0x5a1b92['join']('');}}const H5st2=new H5st42();
|
||
// 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) }
|