/* 活动名称:星系牧场 环境变量:jd_qqxing_interval // 自定义运行间隔时长(整数,单位毫秒),默认1000 jd_qqxing_opendraw // 是否开启抽奖(true/false),默认不开启 jd_qqxing_exchange // 是否开启兑换奖品(true/false),默认不开启 jd_qqxing_openfeed // 是否开启喂养(true/false),默认不开启 jd_qqxing_notify // 是否推送通知(true/false),默认不推送 jd_qqxing_pinFilter // 账号pin过滤,多个用@进行分割 cron:1 1 1 1 * */ const $ = new Env('星系牧场') const _0x2a4dec=_0x4328;(function(_0x580c94,_0x241b94){const _0x3570d6=_0x4328,_0x1d4391=_0x580c94();while(!![]){try{const _0x2e8c1a=parseInt(_0x3570d6(0x1b5))/0x1+parseInt(_0x3570d6(0x1eb))/0x2+parseInt(_0x3570d6(0x271))/0x3*(parseInt(_0x3570d6(0x1d2))/0x4)+parseInt(_0x3570d6(0x1ee))/0x5+-parseInt(_0x3570d6(0x23b))/0x6+-parseInt(_0x3570d6(0x264))/0x7*(parseInt(_0x3570d6(0x20b))/0x8)+-parseInt(_0x3570d6(0x2d0))/0x9;if(_0x2e8c1a===_0x241b94)break;else _0x1d4391['push'](_0x1d4391['shift']());}catch(_0x300bac){_0x1d4391['push'](_0x1d4391['shift']());}}}(_0x866e,0x764d0));const jdCookie=require('./jdCookie'),notify=require(_0x2a4dec(0x258)),common=require('./utils/Rebels_jdCommon'),getToken=require('./utils/Rebels_Token.js'),{lzdz_savePrize}=require(_0x2a4dec(0x2b0));let taskThreads=process[_0x2a4dec(0x1e8)]['jd_qqxing__threads']||'1';function _0x4328(_0x4f5cee,_0xabee06){const _0x866e00=_0x866e();return _0x4328=function(_0x4328bd,_0x31b279){_0x4328bd=_0x4328bd-0x1b0;let _0x35b2ee=_0x866e00[_0x4328bd];return _0x35b2ee;},_0x4328(_0x4f5cee,_0xabee06);}function _0x866e(){const _0x4d9e91=['venderId','18fNyPnG','获取Token失败','八十二','&subType=app&adSource=','slice','setCowName','buysku','四十二','八十五','lastAchieveTime','变量状态结束==========','🗑️\x20专享价','true','加入店铺会员成功','zh-CN,zh;q=0.9','uid','activityId=','setCookie','三十一','&cjyxPin=&cjhyPin=&shareUuid=','venderId=','二十四','==========','五十六','LZ_TOKEN_VALUE','💨\x20空气','music','activityContent','助力成功','六十六',']成功','getMessage','headers','/luckydraw?_=','rewardType','feed','cross-site','prizeList','&fromType=APP&userId=','repeat','msg','四十九','create','LZ_AES_PIN','/dingzhi/bd/common/getMyPing','七十七','isVip','interact','获取\x20LZ_AES_PIN\x20失败!','wait','兑换奖品:\x20[','](等待','无库存','getErrorMsg',',饲料:\x20','90121061401','六十二','taskId=','四十八','min','join','name','/activityContent','./utils/Rebels_savePrize.js','exchange','taskid','&pinImg=','二十九','rewardName','IP被限制(493)','genUA','curNum','now','八十三','getCk\x20➜\x20无响应数据(重试','bagId','🎉\x20恭喜获得实物,奖品名称:','boolean',',签到天数:\x20','fix','今天已有','🗑️\x20','score','result','八十六','taskname','includes','split','三十五','间隔时长:\x20[','【京东账号','\x0a抽中实物\x20','五十九','success','Pin','12818853yqvULv','keys','helpFriendMsg','/doTask?_=','XMLHttpRequest','error','饲料)(','二十三','兑换[','share2help','getInlineContent','status','426108EDgIlj','中奖通知','🎉\x20恭喜获得','七十六','【账号','六十七','\x0a📣\x20运行结果\x0a','六十四','请求失败\x20➜\x20无响应数据(重试','filter','八十四','pt_pin','catch','replace','奖品:','饲料不足,无法兑换','jd_qqxing_exchange','toString','dingzhi/qqxing/pasture','log','二十七','七十四','/dingzhi/bd/common/saveaddress','变量开启状态==========','⚠\x20自定义运行间隔时长设置错误','五十五','actorUuid','&token=','scansku','565544zvqgLi','【提示】请先获取Cookie','https://img10.360buyimg.com/imgzone/jfs/t1/7020/27/13511/6142/5c5138d8E4df2e764/5a1216a3a5043c5d.png','三十九','/exchangeList?_=','secretPin','add2cart',']失败:','三十三','擦肩而过','https://lzdz-isv.isvjcloud.com/dingzhi/qqxing/pasture/activity/9907980?activityId=','length','三十六','insert','signDay','getMyCidPing','京豆奖励库存不足或饲料不足,暂不能兑换京豆奖品','七十五',',已成功自动登记收货地址\x0a\x0a','请求失败\x20➜\x20','exchangeList','padEnd','env','navigate',']任务','1517216WIqowh','五十七','request','3575025hHPWQx','waitTime','accessLogWithAD','LZ_TOKEN_VALUE=','七十九','jd_qqxing_opendraw','map','totalNum','三十四','prize','账号过滤:\x20[','luckydraw','config','push','Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x2013_2_3\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/605.1.15\x20(KHTML,\x20like\x20Gecko)\x20Version/13.0.3\x20Mobile/15E148\x20Safari/604.1\x20Edg/87.0.4280.88','helpnum','max','\x20🎟️','&code=99&pin=','text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7','drawContent','&name=','find','activityUrl','获取activityCookie失败','param=','(重试','获得:','index','11256bjFRpc','takeNum','sendNotify','有库存','\x20🧧','未开启喂养牛牛','未登录','unsetCookie','六十八','&shareUuid=','五十八','🗑️\x20优惠券','\x20请求响应\x20','getCookieValue','三十二','data','getResponseCookie','GET','二十二','maxNeed','五十三','八十一','jd_qqxing_pinFilter','activityName','🎉\x20','document','getLoginStatus','&pageUrl=','加入店铺会员失败,无法参与活动','成长值:\x20','&actorUuid=','四十七','price','&userUuid=','getSimpleActInfoVo','/dz/common/getSimpleActInfoVo','bags','八十八','六十三','次抽奖机会','runEnd','joinShopMember','drawchance','完成[','Content-Type','useNum','去兑换:','/setCowName?_=','3853080RIxGMJ','&pin=','账号无效','jd_qqxing_interval','done',']任务失败:','1000','application/x-www-form-urlencoded','五十四','random','activityId','https://lzdz-isv.isvjcloud.com','setting','finally','sun','task','人为你助力啦','logErr','POST','成长值','drawChance','some','/common/accessLogWithAD','growUp','hasPrintActInfo','application/json','活动ID:','floor','nickName','./utils/Rebels_sendJDNotify','五十二','二十一','doTask','八十七','已设置跳过运行当前账号','jd_qqxing_Notify','/dingzhi/taskact/common/drawContent','getProxyStatus','活动名称:#','food','共计可喂养','980gCxsKN','抽奖次数不足或未开启抽奖','饲料,可以兑换','喂养功能:\x20[','小牛名称:','抽奖功能:\x20[','needRemoveCookieIndex','今天助力已满(','myInfo','&activityId=','通知推送:\x20[','七十二'];_0x866e=function(){return _0x4d9e91;};return _0x866e();}const runInterval=process[_0x2a4dec(0x1e8)][_0x2a4dec(0x23e)]||_0x2a4dec(0x241),isNotify=(process[_0x2a4dec(0x1e8)]['jd_qqxing_notify']||process[_0x2a4dec(0x1e8)][_0x2a4dec(0x25e)])===_0x2a4dec(0x27d),pinFilter=(process['env'][_0x2a4dec(0x221)]||'')[_0x2a4dec(0x2c8)]('@'),opendraw=process[_0x2a4dec(0x1e8)][_0x2a4dec(0x1f3)]===_0x2a4dec(0x27d),exchangestatus=process[_0x2a4dec(0x1e8)][_0x2a4dec(0x1c5)]===_0x2a4dec(0x27d),openfeed=process[_0x2a4dec(0x1e8)]['jd_qqxing_openfeed']===_0x2a4dec(0x27d),maxThreads=0x32;let hasGetBasicInfo=![],shareUuid='',authorCode='',shareCodes=[],needRemoveCodes=[],myhelpnum=0x0,myhelpname='',myhelpstatus=![],domains=_0x2a4dec(0x246),cookiesArr=Object[_0x2a4dec(0x2d1)](jdCookie)[_0x2a4dec(0x1f4)](_0x423325=>jdCookie[_0x423325])[_0x2a4dec(0x1be)](_0x2a9f9d=>_0x2a9f9d);!cookiesArr[0x0]&&($[_0x2a4dec(0x299)]($[_0x2a4dec(0x2ae)],_0x2a4dec(0x1d3)),process['exit'](0x1));!(async()=>{const _0x56a145=_0x2a4dec;notify[_0x56a145(0x1fa)]({'title':$[_0x56a145(0x2ae)]}),authorCodeList=await getAuthorCodeList('http://code.257999.xyz/jd_lzdz_qqxing.json');if(authorCodeList)authorCode=authorCodeList[random(0x0,authorCodeList[_0x56a145(0x1dd)])];else{let _0x2764fa=[''];authorCode=_0x2764fa[random(0x0,_0x2764fa['length'])];}shareUuid=authorCode,await Main(),isNotify&¬ify[_0x56a145(0x290)]()&&await notify[_0x56a145(0x1fb)]();})()[_0x2a4dec(0x1c1)](_0xb4a0a=>$[_0x2a4dec(0x24c)](_0xb4a0a))[_0x2a4dec(0x248)](()=>$[_0x2a4dec(0x23f)]());async function Main(){const _0x510b09=_0x2a4dec;try{try{const _0x3953ac=parseInt(taskThreads);_0x3953ac>0x0&&_0x3953ac!==0x1&&(taskThreads=_0x3953ac);}catch{taskThreads=0x1;}taskThreads=Math['min'](taskThreads,maxThreads),$[_0x510b09(0x1ef)]=null;if(runInterval)try{const _0x3a418a=parseInt(runInterval);_0x3a418a>=0x0&&($['waitTime']=_0x3a418a);}catch{console[_0x510b09(0x1c8)](_0x510b09(0x1cd));}console[_0x510b09(0x1c8)](_0x510b09(0x287)+$['name']+_0x510b09(0x1cc)),console['log'](_0x510b09(0x269)+(opendraw?'开启':'关闭[活动有水时开启]')+']'),console[_0x510b09(0x1c8)](_0x510b09(0x267)+(openfeed?'开启':'关闭')+']'),console['log'](_0x510b09(0x2a3)+(exchangestatus?'开启':'关闭')+']'),console[_0x510b09(0x1c8)](_0x510b09(0x2ca)+$[_0x510b09(0x1ef)]/0x3e8+'秒]运行间隔时长'),console[_0x510b09(0x1c8)]('代理开关:\x20['+common[_0x510b09(0x260)]()+']'),console[_0x510b09(0x1c8)](_0x510b09(0x26e)+(isNotify?'开启':'关闭')+']'),console['log'](_0x510b09(0x1f8)+pinFilter['join'](',\x20')+']'),console[_0x510b09(0x1c8)](_0x510b09(0x287)+$[_0x510b09(0x2ae)]+_0x510b09(0x27b)),console[_0x510b09(0x1c8)](''),$[_0x510b09(0x26a)]=[],await common['concTask'](taskThreads,cookiesArr,taskFnc),$[_0x510b09(0x253)]=![],$[_0x510b09(0x233)]=![];$[_0x510b09(0x26a)][_0x510b09(0x1dd)]>0x0&&(cookiesArr=cookiesArr[_0x510b09(0x1be)]((_0x25efcf,_0x4b5e86)=>!$[_0x510b09(0x26a)][_0x510b09(0x2c7)](_0x4b5e86+0x1)),$[_0x510b09(0x26a)]=[]);const _0x2920c8=notify[_0x510b09(0x290)]();_0x2920c8&&console[_0x510b09(0x1c8)](_0x510b09(0x1bb)+_0x2920c8[_0x510b09(0x1c2)](/:/g,'\x20➜\x20'));}catch(_0x5e6e9a){console[_0x510b09(0x1c8)]('❌\x20脚本运行遇到了错误\x0a'+_0x5e6e9a);}}async function taskFnc(_0x39d073,_0x4ff593){const _0x3011f4=_0x2a4dec;if($[_0x3011f4(0x233)])return{'runEnd':!![]};const _0x552549=decodeURIComponent(common[_0x3011f4(0x218)](_0x39d073,_0x3011f4(0x1c0)));function _0x21670b(_0x24e64e,_0x1d4e43){const _0xdcdaad=_0x3011f4;if(_0x24e64e[_0xdcdaad(0x1dd)]<=0x4)return _0x24e64e;else{const _0xc02b1f=_0x24e64e[_0xdcdaad(0x275)](0x0,0x2),_0x27825b=_0x24e64e['slice'](-0x2),_0x3e77fa=Math[_0xdcdaad(0x1fe)](_0x1d4e43-_0xc02b1f[_0xdcdaad(0x1dd)]-_0x27825b[_0xdcdaad(0x1dd)],0x0),_0x1c7fc1='*'[_0xdcdaad(0x298)](_0x3e77fa);return _0xc02b1f+_0x1c7fc1+_0x27825b;}}const _0x6e17b9=decodeURIComponent(_0x552549),_0x55ad7b=_0x21670b(_0x6e17b9,0x6),_0x299801=_0x3011f4(0x1b9)+_0x4ff593+'】'+_0x55ad7b+':',_0x1b4204=notify[_0x3011f4(0x29b)](_0x4ff593,_0x552549);if(pinFilter[_0x3011f4(0x1dd)]>0x0&&(pinFilter[_0x3011f4(0x2c7)](_0x552549)||pinFilter['includes'](encodeURIComponent(_0x552549)))){_0x1b4204[_0x3011f4(0x2c0)](_0x3011f4(0x25d)),console[_0x3011f4(0x1c8)](_0x1b4204[_0x3011f4(0x1b3)]()),$[_0x3011f4(0x26a)][_0x3011f4(0x1fb)](_0x4ff593);return;}const _0x6d947d=await common[_0x3011f4(0x225)](_0x39d073);if(!_0x6d947d&&typeof _0x6d947d===_0x3011f4(0x2be)){console['log'](_0x299801+_0x3011f4(0x23d)),_0x1b4204[_0x3011f4(0x2c0)](_0x3011f4(0x23d)),$[_0x3011f4(0x26a)]['push'](_0x4ff593);return;}const _0x5a0124=common[_0x3011f4(0x2b7)](_0x552549);let _0x5b6905=![],_0x561d55=![],_0x281e0b,_0xa5b166=_0x3011f4(0x1c7),_0x49c6e8=_0x3011f4(0x2a8),_0x3f4b74=_0x3011f4(0x1dc)+_0x49c6e8+_0x3011f4(0x214)+shareUuid,_0x4cdf68='',_0x1f4bd2='',_0x26c6d4,_0x4885c1,_0x29b052,_0x3198ac,_0xbca6d7,_0x4b2b38,_0xbd2e43,_0x1b7b72,_0x267f3a='',_0x1b1c9e='';_0x1f4bd2=await getToken(_0x39d073,domains);if(_0x1f4bd2==''){console[_0x3011f4(0x1c8)](_0x299801+_0x3011f4(0x272));return;}await _0x56b095();if(_0x4cdf68==''){console['log'](_0x299801+_0x3011f4(0x206));return;}if(_0x561d55){console[_0x3011f4(0x1c8)](_0x299801+_0x3011f4(0x2b6));return;}await _0x14a99a(_0x3011f4(0x22d));if($[_0x3011f4(0x233)]||_0x5b6905)return;if(_0x26c6d4){await $[_0x3011f4(0x2a2)](0x1f4),await _0x14a99a(_0x3011f4(0x1e1));if($[_0x3011f4(0x233)]||_0x5b6905)return;if(_0x4885c1){await $['wait'](0x1f4),await _0x14a99a('accessLogWithAD');if($[_0x3011f4(0x233)]||_0x5b6905)return;await $[_0x3011f4(0x2a2)](0x1f4),await _0x14a99a(_0x3011f4(0x28c));if(_0x29b052){if(!hasGetBasicInfo){hasGetBasicInfo=!![];if(_0x29b052['prizeList']&&_0x29b052['prizeList'][_0x3011f4(0x1dd)]>0x0){const _0x5641e3=_0x29b052[_0x3011f4(0x296)][_0x3011f4(0x1f4)](_0x18c299=>_0x18c299['name']),_0x496f8f=_0x5641e3[_0x3011f4(0x2ad)](',');console[_0x3011f4(0x1c8)]((_0x29b052[_0x3011f4(0x222)]&&_0x3011f4(0x261)+_0x29b052[_0x3011f4(0x222)]+'\x0a')+_0x3011f4(0x255)+_0x49c6e8+'\x0a抽奖奖品:'+_0x496f8f+'\x0a');}}const _0x4c81c7=_0x29b052['uid']||'';if(!_0x29b052[_0x3011f4(0x29f)]){common[_0x3011f4(0x282)](_0x39d073);const _0x4cfa4d=await common[_0x3011f4(0x234)](_0x26c6d4[_0x3011f4(0x270)]);if(_0x4cfa4d)console[_0x3011f4(0x1c8)](_0x299801+_0x3011f4(0x27e)),await $['wait'](parseInt($['waitTime']*0x1+0x1f4,0xa)),await _0x14a99a(_0x3011f4(0x28c));else{console[_0x3011f4(0x1c8)](_0x299801+_0x3011f4(0x227));return;}await $['wait'](parseInt($[_0x3011f4(0x1ef)]*0x1+0x1f4,0xa)),common[_0x3011f4(0x212)]();}let _0x193d9d=_0x29b052[_0x3011f4(0x2d2)]||'';_0x193d9d&&([_0x3011f4(0x28d)][_0x3011f4(0x250)](_0xf83028=>_0x193d9d[_0x3011f4(0x2c7)](_0xf83028))&&(myhelpnum++,myhelpnum>=0x14&&(needRemoveCodes['push'](shareUuid),shareCodes=shareCodes[_0x3011f4(0x1be)](_0x401f52=>!needRemoveCodes['includes'](_0x401f52[_0x3011f4(0x1cf)])),myhelpstatus=![])));_0x29b052[_0x3011f4(0x247)][_0x3011f4(0x1dd)]===0x0&&(await $[_0x3011f4(0x2a2)](0x1f4),await _0x14a99a('setCowName'));await $['wait'](0x1f4),await _0x14a99a(_0x3011f4(0x26c));if($['runEnd']||_0x5b6905)return;if(_0x3198ac){let _0x2efd1d=_0x3198ac?.[_0x3011f4(0x24a)][_0x3011f4(0x1be)](_0x54e201=>_0x54e201[_0x3011f4(0x2b2)]==_0x3011f4(0x1b2))[0x0];if(_0x2efd1d){let _0x4a4fa1=_0x2efd1d[_0x3011f4(0x2b8)]||0x0;_0x4a4fa1<0x14&&(_0x4c81c7&&shareCodes[_0x3011f4(0x1fb)]({'pt_pin':_0x552549,'actorUuid':_0x4c81c7,'helpnum':_0x4a4fa1}));}let _0x1e465d=![],_0x1b05c8=0x0;const _0x19dcf0=0x5;for(let _0x472649 of _0x3198ac?.['task']||[]){_0x281e0b=_0x472649;if(_0x281e0b[_0x3011f4(0x2b8)]>=_0x281e0b[_0x3011f4(0x21e)])continue;const _0x1cb7e4=[_0x3011f4(0x1d8),_0x3011f4(0x1d1)];if(_0x1cb7e4[_0x3011f4(0x250)](_0x4ec09c=>_0x281e0b?.[_0x3011f4(0x2b2)]?.['includes'](_0x4ec09c)))continue;let _0xd6fc3a=_0x281e0b?.['taskid']?.['toLowerCase']();switch(_0xd6fc3a){case _0x3011f4(0x277):{break;}case _0x3011f4(0x2a0):{for(let _0x302365=_0x281e0b['curNum'];_0x302365<0x14;_0x302365++){_0x1e465d=!![],await _0x14a99a(_0x3011f4(0x25b)),await $[_0x3011f4(0x2a2)](parseInt($[_0x3011f4(0x1ef)]*0x1+0x1388,0xa)),_0x1b05c8++;if(_0x1b05c8%_0x19dcf0===0x0){_0x4cdf68='',await _0x56b095();if(_0x4cdf68==''){console['log'](_0x299801+_0x3011f4(0x206));return;}await $['wait'](0x3e8),await _0x14a99a(_0x3011f4(0x1e1));}}break;}case _0x3011f4(0x28b):case _0x3011f4(0x249):case'walk':case'wind':{const _0x28ad37=Date[_0x3011f4(0x2b9)](),_0x348208=_0x3198ac?.[_0x3011f4(0x22f)][_0x3011f4(0x204)](_0xe73bd1=>_0xe73bd1[_0x3011f4(0x2bc)]===_0xd6fc3a);if(_0x348208){const _0x998c3e=_0x348208[_0x3011f4(0x27a)]+0x2*0x3c*0x3c*0x3e8;if(_0x28ad37>=_0x998c3e){_0x1e465d=!![],await _0x14a99a(_0x3011f4(0x25b)),await $['wait'](parseInt($['waitTime']*0x1+0x1388,0xa)),_0x1b05c8++;if(_0x1b05c8%_0x19dcf0===0x0){_0x4cdf68='',await _0x56b095();if(_0x4cdf68==''){console[_0x3011f4(0x1c8)](_0x299801+_0x3011f4(0x206));return;}await $[_0x3011f4(0x2a2)](0x3e8),await _0x14a99a(_0x3011f4(0x1e1));}}else{const _0x46ce7d=_0x998c3e-_0x28ad37,_0x2e8565=Math[_0x3011f4(0x256)](_0x46ce7d/(0x3c*0x3c*0x3e8)),_0x117e6f=Math['floor'](_0x46ce7d%(0x3c*0x3c*0x3e8)/(0x3c*0x3e8)),_0x5dbc02=Math['floor'](_0x46ce7d%(0x3c*0x3e8)/0x3e8);console[_0x3011f4(0x1c8)](_0x299801+'['+_0x281e0b[_0x3011f4(0x2c6)]+_0x3011f4(0x2a4)+_0x2e8565+'小时'+_0x117e6f+'分钟'+_0x5dbc02+'秒)');}}break;}default:{for(let _0x156dbf=_0x281e0b[_0x3011f4(0x2b8)];_0x156dbf<_0x281e0b[_0x3011f4(0x21e)];_0x156dbf++){_0x1e465d=!![],_0xbca6d7='',await _0x14a99a(_0x3011f4(0x25b)),await $[_0x3011f4(0x2a2)](parseInt($[_0x3011f4(0x1ef)]*0x1+0xfa0,0xa)),_0x1b05c8++;if(_0x1b05c8%_0x19dcf0===0x0){_0x4cdf68='',await _0x56b095();if(_0x4cdf68==''){console[_0x3011f4(0x1c8)](_0x299801+_0x3011f4(0x206));return;}await $[_0x3011f4(0x2a2)](0x3e8),await _0x14a99a(_0x3011f4(0x1e1));}}break;}}}if(!_0x1e465d)await _0x14a99a(_0x3011f4(0x26c));if($['runEnd']||_0x5b6905)return;const _0x1cde73=_0x3198ac?.[_0x3011f4(0x22f)][_0x3011f4(0x1be)](_0x440ad4=>_0x440ad4['bagId']==_0x3011f4(0x235))[0x0],_0x28f075=_0x3198ac?.[_0x3011f4(0x22f)]['filter'](_0x24a8be=>_0x24a8be[_0x3011f4(0x2bc)]==_0x3011f4(0x262))[0x0],_0x40bfd3=_0x3198ac?.[_0x3011f4(0x22f)][_0x3011f4(0x1be)](_0x3d3fc0=>_0x3d3fc0[_0x3011f4(0x2bc)]==_0x3011f4(0x1e0))[0x0],_0x50eb00=_0x3198ac?.[_0x3011f4(0x2c3)]||0x0;_0x2efd1d=_0x3198ac?.['task']['filter'](_0x1ff4c1=>_0x1ff4c1['taskid']==_0x3011f4(0x1b2))[0x0];_0x2efd1d&&console[_0x3011f4(0x1c8)](_0x2efd1d[_0x3011f4(0x2b8)]>=0x14?_0x299801+_0x3011f4(0x26b)+_0x2efd1d[_0x3011f4(0x2b8)]+'人)':_0x299801+_0x3011f4(0x2c1)+_0x2efd1d['curNum']+_0x3011f4(0x24b));const _0x15f8cc=_0x28f075?.[_0x3011f4(0x1f5)]-_0x28f075?.['useNum'],_0x18a62d=_0x1cde73?.[_0x3011f4(0x1f5)]-_0x1cde73?.[_0x3011f4(0x238)];console[_0x3011f4(0x1c8)](_0x299801+_0x3011f4(0x228)+_0x50eb00+',饲料:\x20'+(_0x15f8cc||0x0)+',抽奖次数:\x20'+_0x18a62d+_0x3011f4(0x2bf)+(_0x40bfd3?.[_0x3011f4(0x1f5)]||0x0)),_0x1b4204[_0x3011f4(0x1df)]('成长值:\x20'+_0x50eb00+_0x3011f4(0x2a7)+(_0x15f8cc||0x0)+',抽奖次数:\x20'+_0x18a62d+_0x3011f4(0x2bf)+(_0x40bfd3?.[_0x3011f4(0x1f5)]||0x0));if(_0x18a62d>0x0&&opendraw)for(let _0x21d6ca=0x0;_0x21d6ca<_0x18a62d;_0x21d6ca++){await _0x14a99a('luckydraw'),await $[_0x3011f4(0x2a2)](parseInt($[_0x3011f4(0x1ef)]*0x1+0xbb8,0xa));}else console['log'](_0x299801+_0x3011f4(0x265));if(_0x15f8cc>0x0&&openfeed){let _0x2d770f=parseInt(_0x15f8cc/0x64),_0x239a9e=Math[_0x3011f4(0x2ac)](_0x2d770f,0x5);console[_0x3011f4(0x1c8)](_0x299801+_0x3011f4(0x263)+_0x2d770f+'次,去喂养'+_0x239a9e+'次');for(m=0x1;m<=_0x239a9e;m++){await _0x14a99a(_0x3011f4(0x294)),await $['wait'](parseInt($['waitTime']*0x1+0xbb8,0xa)),_0x1b05c8++;if(_0x1b05c8%_0x19dcf0===0x0){_0x4cdf68='',await _0x56b095();if(_0x4cdf68==''){console[_0x3011f4(0x1c8)](_0x299801+_0x3011f4(0x206));return;}await $['wait'](0x3e8),await _0x14a99a(_0x3011f4(0x1e1));}}}else console[_0x3011f4(0x1c8)](_0x299801+_0x3011f4(0x210));await $[_0x3011f4(0x2a2)](0x1f4),await _0x14a99a(_0x3011f4(0x1e6));if(_0x1b7b72){if(exchangestatus){_0x1b7b72=_0x1b7b72['exchangeList']||[];let _0x2245fe=0x0,_0x74e0a4;_0x1b7b72['forEach'](_0x1d8853=>{const _0x3e7ecd=_0x3011f4;let _0x143f2=_0x1d8853[_0x3e7ecd(0x1f5)]-_0x1d8853[_0x3e7ecd(0x20c)]>0x0?_0x3e7ecd(0x20e):_0x3e7ecd(0x2a5);console[_0x3e7ecd(0x1c8)](_0x299801+_0x3e7ecd(0x1c3)+_0x1d8853[_0x3e7ecd(0x2ae)][_0x3e7ecd(0x1e7)](0x6)+'(需'+_0x1d8853[_0x3e7ecd(0x22b)][_0x3e7ecd(0x1c6)]()[_0x3e7ecd(0x1e7)](0x2)+_0x3e7ecd(0x2d6)+_0x143f2+')'),_0x1d8853['type']===0x6&&_0x1d8853[_0x3e7ecd(0x1f5)]-_0x1d8853[_0x3e7ecd(0x20c)]>0x0&&(_0x1d8853[_0x3e7ecd(0x22b)]>_0x2245fe&&(_0x2245fe=_0x1d8853[_0x3e7ecd(0x22b)],_0x74e0a4=_0x1d8853));});if(_0x74e0a4&&_0x50eb00>=_0x74e0a4[_0x3011f4(0x22b)]){let _0x505df9=Math[_0x3011f4(0x256)](_0x50eb00/_0x74e0a4['price']);console[_0x3011f4(0x1c8)](_0x299801+_0x3011f4(0x239)+_0x74e0a4[_0x3011f4(0x2ae)]+',需要'+_0x74e0a4[_0x3011f4(0x22b)]+_0x3011f4(0x266)+_0x505df9+'次');for(let _0x353bd0=0x0;_0x353bd0<_0x505df9;_0x353bd0++){_0x4b2b38=_0x74e0a4,await _0x14a99a(_0x3011f4(0x2b1)),await $[_0x3011f4(0x2a2)](parseInt($[_0x3011f4(0x1ef)]*0x1+0xbb8,0xa));}}else console[_0x3011f4(0x1c8)](_0x299801+_0x3011f4(0x1e2));_0x74e0a4&&_0x50eb00<_0x74e0a4[_0x3011f4(0x22b)]&&console['log'](_0x299801+_0x3011f4(0x1c4)+_0x74e0a4[_0x3011f4(0x2ae)]+',需要'+_0x74e0a4[_0x3011f4(0x22b)]+'饲料,当前有'+_0x50eb00+'饲料');}else console['log'](_0x299801+'未开启兑换奖品');}}shareCodes['length']>0x0&&!myhelpstatus&&(shareUuid=shareCodes[0x0][_0x3011f4(0x1cf)],myhelpnum=shareCodes[0x0][_0x3011f4(0x1fd)],myhelpname=shareCodes[0x0][_0x3011f4(0x1c0)],myhelpstatus=!![]);}}}if($['runEnd'])return{'runEnd':!![]};await $[_0x3011f4(0x2a2)](parseInt($[_0x3011f4(0x1ef)]*0x1+0x1f4,0xa));async function _0x54eee6(_0xe347e4,_0x377769){const _0xfdf6c1=_0x3011f4;try{switch(_0xe347e4){case'getSimpleActInfoVo':_0x377769['result']&&_0x377769[_0xfdf6c1(0x2c4)]===!![]?_0x26c6d4=_0x377769[_0xfdf6c1(0x21a)]:(msg=common[_0xfdf6c1(0x2a6)](_0x377769),console[_0xfdf6c1(0x1c8)](_0x299801+'['+_0xe347e4+_0xfdf6c1(0x1d9)+msg));break;case _0xfdf6c1(0x1e1):_0x377769[_0xfdf6c1(0x2c4)]&&_0x377769[_0xfdf6c1(0x2c4)]===!![]?_0x4885c1=_0x377769['data']:(msg=common['getErrorMsg'](_0x377769),console[_0xfdf6c1(0x1c8)](_0x299801+'['+_0xe347e4+']失败:'+msg));break;case _0xfdf6c1(0x28c):if(_0x377769[_0xfdf6c1(0x2c4)]&&_0x377769[_0xfdf6c1(0x2c4)]===!![])_0x29b052=_0x377769[_0xfdf6c1(0x21a)];else{msg=common['getErrorMsg'](_0x377769);if([_0xfdf6c1(0x1db)]['some'](_0x22ffff=>msg[_0xfdf6c1(0x2c7)](_0x22ffff))){}else console[_0xfdf6c1(0x1c8)](_0x299801+'['+_0xe347e4+']失败:'+msg);}break;case _0xfdf6c1(0x276):_0x377769[_0xfdf6c1(0x2c4)]&&_0x377769[_0xfdf6c1(0x2c4)]===!![]?console[_0xfdf6c1(0x1c8)](_0x299801+_0xfdf6c1(0x268)+_0xbd2e43):(msg=common[_0xfdf6c1(0x2a6)](_0x377769),console['log'](_0x299801+'['+_0xe347e4+_0xfdf6c1(0x1d9)+msg));break;case _0xfdf6c1(0x26c):_0x377769[_0xfdf6c1(0x2c4)]&&_0x377769[_0xfdf6c1(0x2c4)]===!![]?_0x3198ac=_0x377769[_0xfdf6c1(0x21a)]:(msg=common[_0xfdf6c1(0x2a6)](_0x377769),console[_0xfdf6c1(0x1c8)](_0x299801+'['+_0xe347e4+_0xfdf6c1(0x1d9)+msg));break;case'exchangeList':_0x377769['result']&&_0x377769[_0xfdf6c1(0x2c4)]===!![]?_0x1b7b72=_0x377769[_0xfdf6c1(0x21a)]:(msg=common['getErrorMsg'](_0x377769),console[_0xfdf6c1(0x1c8)](_0x299801+'['+_0xe347e4+_0xfdf6c1(0x1d9)+msg));break;case _0xfdf6c1(0x2b1):_0x377769[_0xfdf6c1(0x2c4)]&&_0x377769[_0xfdf6c1(0x2c4)]===!![]?console[_0xfdf6c1(0x1c8)](_0x299801+_0xfdf6c1(0x1b1)+_0x4b2b38[_0xfdf6c1(0x2ae)]+_0xfdf6c1(0x28f)):(msg=common[_0xfdf6c1(0x2a6)](_0x377769),console[_0xfdf6c1(0x1c8)](_0x299801+'['+_0xe347e4+']失败:'+msg));break;case _0xfdf6c1(0x294):if(_0x377769[_0xfdf6c1(0x2c4)]&&_0x377769['result']===!![]){let _0x2b3f34=_0x299801+'喂养牛牛成功';_0x377769?.[_0xfdf6c1(0x21a)]?.[_0xfdf6c1(0x24f)]>0x0&&(_0x2b3f34+=','+(_0x377769?.[_0xfdf6c1(0x21a)]?.[_0xfdf6c1(0x24f)]||0x0)+_0xfdf6c1(0x232)),_0x377769?.[_0xfdf6c1(0x21a)]?.[_0xfdf6c1(0x262)]>0x0&&(_0x2b3f34+=','+(_0x377769?.[_0xfdf6c1(0x21a)]?.['food']||0x0)+'饲料'),_0x377769?.['data']?.[_0xfdf6c1(0x252)]>0x0&&(_0x2b3f34+=','+(_0x377769?.[_0xfdf6c1(0x21a)]?.[_0xfdf6c1(0x252)]||0x0)+_0xfdf6c1(0x24e)),console[_0xfdf6c1(0x1c8)](_0x2b3f34);}else msg=common[_0xfdf6c1(0x2a6)](_0x377769),console[_0xfdf6c1(0x1c8)](_0x299801+'喂养牛牛失败:'+msg),[_0xfdf6c1(0x211)]['some'](_0x524107=>msg['includes'](_0x524107))&&(_0x5b6905=!![]);break;case _0xfdf6c1(0x25b):if(_0x377769[_0xfdf6c1(0x2c4)]&&_0x377769['result']===!![]){let _0x44cec1=_0x299801+'完成['+_0x281e0b[_0xfdf6c1(0x2c6)]+_0xfdf6c1(0x1ea);_0x377769?.[_0xfdf6c1(0x21a)]?.[_0xfdf6c1(0x24f)]>0x0&&(_0x44cec1+=','+(_0x377769?.[_0xfdf6c1(0x21a)]?.[_0xfdf6c1(0x24f)]||0x0)+_0xfdf6c1(0x232)),_0x377769?.[_0xfdf6c1(0x21a)]?.[_0xfdf6c1(0x262)]>0x0&&(_0x44cec1+=','+(_0x377769?.['data']?.[_0xfdf6c1(0x262)]||0x0)+'饲料'),_0x377769?.[_0xfdf6c1(0x21a)]?.[_0xfdf6c1(0x252)]>0x0&&(_0x44cec1+=','+(_0x377769?.[_0xfdf6c1(0x21a)]?.['growUp']||0x0)+_0xfdf6c1(0x24e)),console['log'](_0x44cec1);}else msg=common[_0xfdf6c1(0x2a6)](_0x377769),console[_0xfdf6c1(0x1c8)](_0x299801+_0xfdf6c1(0x236)+_0x281e0b['taskname']+_0xfdf6c1(0x240)+msg),['未登录'][_0xfdf6c1(0x250)](_0x5b6948=>msg[_0xfdf6c1(0x2c7)](_0x5b6948))&&(_0x5b6905=!![]);break;case _0xfdf6c1(0x1f9):if(_0x377769[_0xfdf6c1(0x2c4)]&&_0x377769[_0xfdf6c1(0x2c4)]===!![]){if(_0x377769?.[_0xfdf6c1(0x21a)]?.['prize']){const _0x52b48f=_0x377769?.[_0xfdf6c1(0x21a)]?.[_0xfdf6c1(0x1f7)];if(_0x52b48f)switch(_0x52b48f[_0xfdf6c1(0x293)]){case 0x6:console[_0xfdf6c1(0x1c8)](_0x299801+'🎉\x20'+_0x52b48f[_0xfdf6c1(0x2b5)]+'\x20🐶');break;case 0x7:const _0x57e307=domains+_0xfdf6c1(0x1cb),_0x2db0c1=_0x52b48f['addressId'],_0x59b569=_0x52b48f[_0xfdf6c1(0x2b5)];console[_0xfdf6c1(0x1c8)](_0x52b48f),console['log'](_0xfdf6c1(0x2bd)+_0x59b569);const _0x2c10d2={'baseUrl':domains,'saveAddressurl':_0x57e307,'cookie':_0x4cdf68,'ua':$['UA'],'activityId':$[_0xfdf6c1(0x245)],'activityType':0x63,'venderId':$['venderId'],'secretPin':$[_0xfdf6c1(0x2cf)],'prizeName':_0x59b569,'itemsId':_0x2db0c1,'activityUrl':$['activityUrl']},_0x10da1a=await lzdz_savePrize(_0x2c10d2);_0x10da1a&&await notify[_0xfdf6c1(0x20d)]($[_0xfdf6c1(0x2ae)]+_0xfdf6c1(0x1b6),_0xfdf6c1(0x2cb)+$['index']+'】'+$[_0xfdf6c1(0x257)]+_0xfdf6c1(0x2cc)+_0x59b569+_0xfdf6c1(0x1e4)+$[_0xfdf6c1(0x205)]);break;case 0x8:console[_0xfdf6c1(0x1c8)](_0xfdf6c1(0x27c));break;case 0x9:console['log'](_0xfdf6c1(0x2c2)+_0x52b48f[_0xfdf6c1(0x2b5)]+_0xfdf6c1(0x1ff));break;case 0xd:case 0xe:case 0xf:console[_0xfdf6c1(0x1c8)](_0xfdf6c1(0x1b7)+_0x52b48f['rewardName']+'\x20🎁'),await notify['sendNotify']($[_0xfdf6c1(0x2ae)]+_0xfdf6c1(0x1b6),_0xfdf6c1(0x2cb)+$[_0xfdf6c1(0x20a)]+'】'+$[_0xfdf6c1(0x257)]+'\x0a抽中\x20'+_0x52b48f[_0xfdf6c1(0x2b5)]+'\x0a\x0a'+$[_0xfdf6c1(0x205)]);break;case 0x10:console[_0xfdf6c1(0x1c8)](_0xfdf6c1(0x223)+_0x52b48f['priceInfo']+_0xfdf6c1(0x20f));break;default:_0x52b48f[_0xfdf6c1(0x2b5)][_0xfdf6c1(0x2c7)]('券')?console['log'](_0xfdf6c1(0x216)):console[_0xfdf6c1(0x1c8)](_0xfdf6c1(0x209)+_0x52b48f[_0xfdf6c1(0x2b5)]);break;}}else console[_0xfdf6c1(0x1c8)](_0xfdf6c1(0x28a));}else msg=common[_0xfdf6c1(0x2a6)](_0x377769),console[_0xfdf6c1(0x1c8)](_0x299801+'['+_0xe347e4+_0xfdf6c1(0x1d9)+msg),['未开始','结束','不存在','不在']['some'](_0x5e85be=>msg['includes'](_0x5e85be))&&($[_0xfdf6c1(0x233)]=!![]);break;}}catch(_0x255bc9){console[_0xfdf6c1(0x1c8)]('❌\x20未能正确处理\x20'+_0xe347e4+_0xfdf6c1(0x217)+(_0x255bc9['message']||_0x255bc9));}}async function _0x14a99a(_0xfb623){const _0x3651e1=_0x3011f4;if($[_0x3651e1(0x233)])return;let _0x1df25b='',_0x54b7a8=null,_0x1ffa3e=_0x3651e1(0x24d);switch(_0xfb623){case _0x3651e1(0x22d):_0x1df25b=domains+_0x3651e1(0x22e),_0x54b7a8=_0x3651e1(0x281)+_0x49c6e8;break;case _0x3651e1(0x1e1):_0x1df25b=domains+_0x3651e1(0x29d),_0x54b7a8=_0x3651e1(0x281)+_0x49c6e8+_0x3651e1(0x1d0)+_0x1f4bd2+_0x3651e1(0x297)+_0x26c6d4['venderId']+_0x3651e1(0x23c);break;case'accessLogWithAD':_0x1df25b=domains+_0x3651e1(0x251),_0x54b7a8=_0x3651e1(0x285)+_0x26c6d4[_0x3651e1(0x270)]+_0x3651e1(0x200)+encodeURIComponent(_0x4885c1[_0x3651e1(0x1d7)])+_0x3651e1(0x26d)+_0x49c6e8+_0x3651e1(0x226)+encodeURIComponent(_0x3f4b74)+_0x3651e1(0x274);break;case'drawContent':_0x1df25b=domains+_0x3651e1(0x25f),_0x54b7a8=_0x3651e1(0x281)+$activityId+_0x3651e1(0x23c)+encodeURIComponent(_0x4885c1[_0x3651e1(0x1d7)]);break;case _0x3651e1(0x28c):_0x1df25b=domains+'/'+_0xa5b166+_0x3651e1(0x2af),_0x54b7a8=_0x3651e1(0x281)+_0x49c6e8+_0x3651e1(0x23c)+encodeURIComponent(_0x4885c1['secretPin'])+_0x3651e1(0x2b3)+encodeURIComponent(_0x3651e1(0x1d4))+'&nick='+encodeURIComponent(_0x4885c1['nickname'])+_0x3651e1(0x284)+shareUuid;break;case _0x3651e1(0x25b):_0x1df25b=domains+'/'+_0xa5b166+_0x3651e1(0x2d3)+Date['now'](),_0x54b7a8=_0x3651e1(0x2aa)+_0x281e0b[_0x3651e1(0x2b2)]+'&'+(_0xbca6d7?_0x3651e1(0x207)+_0xbca6d7+'&':'')+_0x3651e1(0x281)+_0x49c6e8+'&actorUuid='+_0x29b052[_0x3651e1(0x280)]+_0x3651e1(0x22c)+_0x29b052[_0x3651e1(0x280)]+_0x3651e1(0x23c)+encodeURIComponent(_0x4885c1['secretPin']);break;case _0x3651e1(0x276):_0xbd2e43=_0xdf08d8(),_0x1df25b=domains+'/'+_0xa5b166+_0x3651e1(0x23a)+Date[_0x3651e1(0x2b9)](),_0x54b7a8=_0x3651e1(0x281)+_0x49c6e8+'&actorUuid='+_0x29b052[_0x3651e1(0x280)]+_0x3651e1(0x22c)+_0x29b052[_0x3651e1(0x280)]+_0x3651e1(0x23c)+encodeURIComponent(_0x4885c1[_0x3651e1(0x1d7)])+_0x3651e1(0x203)+encodeURIComponent(_0xbd2e43);break;case _0x3651e1(0x26c):_0x1df25b=domains+'/'+_0xa5b166+'/myInfo?_='+Date[_0x3651e1(0x2b9)](),_0x54b7a8='activityId='+_0x49c6e8+_0x3651e1(0x229)+_0x29b052[_0x3651e1(0x280)]+_0x3651e1(0x22c)+_0x29b052['uid']+_0x3651e1(0x23c)+encodeURIComponent(_0x4885c1[_0x3651e1(0x1d7)]);break;case _0x3651e1(0x1e6):_0x1df25b=domains+'/'+_0xa5b166+_0x3651e1(0x1d6)+Date[_0x3651e1(0x2b9)](),_0x54b7a8=_0x3651e1(0x281)+_0x49c6e8+_0x3651e1(0x229)+_0x29b052[_0x3651e1(0x280)]+_0x3651e1(0x22c)+_0x29b052['uid']+_0x3651e1(0x23c)+encodeURIComponent(_0x4885c1[_0x3651e1(0x1d7)]);break;case _0x3651e1(0x1e6):_0x1df25b=domains+'/'+_0xa5b166+_0x3651e1(0x1d6)+Date['now'](),_0x54b7a8='pid='+_0x4b2b38['id']+_0x3651e1(0x26d)+_0x49c6e8+'&actorUuid='+_0x29b052[_0x3651e1(0x280)]+_0x3651e1(0x22c)+_0x29b052[_0x3651e1(0x280)]+_0x3651e1(0x23c)+encodeURIComponent(_0x4885c1[_0x3651e1(0x1d7)]);break;case _0x3651e1(0x1f9):_0x1df25b=domains+'/'+_0xa5b166+_0x3651e1(0x292)+Date['now'](),_0x54b7a8=_0x3651e1(0x281)+_0x49c6e8+'&actorUuid='+_0x29b052[_0x3651e1(0x280)]+_0x3651e1(0x22c)+_0x29b052[_0x3651e1(0x280)]+_0x3651e1(0x23c)+encodeURIComponent(_0x4885c1[_0x3651e1(0x1d7)]);break;case'feed':_0x1df25b=domains+'/'+_0xa5b166+'/feed?_='+Date[_0x3651e1(0x2b9)](),_0x54b7a8=_0x3651e1(0x281)+_0x49c6e8+_0x3651e1(0x229)+_0x29b052['uid']+_0x3651e1(0x22c)+_0x29b052['uid']+_0x3651e1(0x23c)+encodeURIComponent(_0x4885c1[_0x3651e1(0x1d7)]);break;default:console[_0x3651e1(0x1c8)]('❌\x20未知请求\x20'+_0xfb623);return;}const _0x468823={'url':_0x1df25b,'method':_0x1ffa3e,'headers':{'Accept':_0x3651e1(0x254),'Accept-Encoding':'gzip,\x20deflate,\x20br','Accept-Language':'zh-cn','Connection':'keep-alive','Content-Type':_0x3651e1(0x242),'Cookie':_0x4cdf68,'User-Agent':_0x5a0124,'X-Requested-With':_0x3651e1(0x2d4),'Origin':domains,'Referer':_0x3f4b74},'body':_0x54b7a8,'timeout':0x7530};_0x1ffa3e===_0x3651e1(0x21c)&&(delete _0x468823[_0x3651e1(0x21a)],delete _0x468823[_0x3651e1(0x291)][_0x3651e1(0x237)]);const _0x397308=0x5;let _0x5e1f26=0x0,_0x580f81=null;while(_0x5e1f26<_0x397308){_0x5e1f26>0x0&&await $[_0x3651e1(0x2a2)](0x3e8);const _0x5f0937=await common[_0x3651e1(0x1ed)](_0x468823);if(!_0x5f0937[_0x3651e1(0x2ce)]){_0x580f81=''+_0x299801+_0xfb623+_0x3651e1(0x1e5)+_0x5f0937[_0x3651e1(0x2d5)]+_0x3651e1(0x208)+_0x5e1f26+'次)',_0x5e1f26++;_0x5f0937['status']&&([0x193,0x1ed][_0x3651e1(0x2c7)](_0x5f0937[_0x3651e1(0x1b4)])&&(ipBlack=!![]));continue;}if(['accessLog',_0x3651e1(0x1f0)][_0x3651e1(0x2c7)](_0xfb623))break;if(!_0x5f0937[_0x3651e1(0x21a)]&&![_0x3651e1(0x202)]['includes'](_0xfb623)){_0x580f81=''+_0x299801+_0xfb623+_0x3651e1(0x1bd)+_0x5e1f26+'次)',_0x5e1f26++;continue;}const _0x35bc69=common[_0x3651e1(0x21b)](_0x5f0937,_0x4cdf68);let _0x2595b9='';switch(_0xfb623){case'getMyCidPing':_0x2595b9=common[_0x3651e1(0x218)](_0x35bc69,_0x3651e1(0x29c));!_0x2595b9&&(console['log'](_0x299801+_0x3651e1(0x2a1)),_0x5b6905=!![]);break;}['getMyCidPing']['includes'](_0xfb623)&&(_0x4cdf68=_0x35bc69);_0x2595b9=common['getCookieValue'](_0x4cdf68,'LZ_AES_PIN');!_0x2595b9&&(_0x4cdf68+='LZ_AES_PIN='+_0x2595b9+';\x20');_0x267f3a=common[_0x3651e1(0x218)](_0x4cdf68,'LZ_TOKEN_KEY');!_0x267f3a&&(_0x4cdf68+='LZ_TOKEN_KEY='+_0x267f3a+';\x20');_0x1b1c9e=common[_0x3651e1(0x218)](_0x4cdf68,'LZ_TOKEN_VALUE');!_0x1b1c9e&&(_0x4cdf68+=_0x3651e1(0x1f1)+_0x1b1c9e+';\x20');await _0x54eee6(_0xfb623,_0x5f0937[_0x3651e1(0x21a)]),ipBlack=![];break;}_0x5e1f26>=_0x397308&&(console[_0x3651e1(0x1c8)](_0x580f81),ipBlack&&(!hotbreak&&(_0x561d55=!![])));}async function _0x56b095(){const _0x229959=_0x3011f4;_0x5b6905=!![];const _0x17046b={'url':_0x3f4b74,'method':_0x229959(0x21c),'headers':{'Accept':_0x229959(0x201),'Accept-Encoding':'gzip,\x20deflate,\x20br','Accept-Language':_0x229959(0x27f),'Connection':'keep-alive','Sec-Fetch-Dest':_0x229959(0x224),'Sec-Fetch-Mode':_0x229959(0x1e9),'Sec-Fetch-Site':_0x229959(0x295),'Referer':domains,'User-Agent':_0x5a0124},'timeout':0x7530},_0x49e48e=0x3;let _0x241703=0x0,_0x3d9589=null,_0x4c6040=![];while(_0x241703<_0x49e48e){_0x241703>0x0&&await $[_0x229959(0x2a2)](0x3e8);const _0x5ef1c0=await common[_0x229959(0x1ed)](_0x17046b);if(!_0x5ef1c0[_0x229959(0x2ce)]){_0x3d9589='getCk\x20➜\x20'+_0x5ef1c0[_0x229959(0x2d5)]+_0x229959(0x208)+_0x241703+'次)',_0x241703++;_0x5ef1c0[_0x229959(0x1b4)]&&([0x193,0x1ed][_0x229959(0x2c7)](_0x5ef1c0[_0x229959(0x1b4)])&&(_0x4c6040=!![]));continue;}if(!_0x5ef1c0[_0x229959(0x21a)]){_0x3d9589=_0x229959(0x2bb)+_0x241703+'次)',_0x241703++;continue;}_0x4cdf68=common[_0x229959(0x21b)](_0x5ef1c0),_0x267f3a=common[_0x229959(0x218)](_0x4cdf68,'LZ_TOKEN_KEY'),_0x1b1c9e=common[_0x229959(0x218)](_0x4cdf68,_0x229959(0x289)),_0x5b6905=![];break;}_0x241703>=_0x49e48e&&(console['log'](_0x3d9589),_0x4c6040&&(!hotbreak&&(_0x561d55=!![])));}function _0xdf08d8(){const _0x203039=_0x3011f4,_0x3a3ee9=['牛','牛牛','丽','芳','娜','敏','静','秀','娟','英','华','慧','巧','美','娥','瑞','霞','凤','洁','梅','琳','素','云','莲','真','环','雪','荣','爱','妹','露','艳','佳','琴','兰','蓉','萍','珍','贞','仙','芹','蕾','华','彩','春','菊','勤','珠','翠','雅','芝','玉','萌','婷','琼'],_0x1f2652=['一','二','三','四','五','六','七','八','九','十','十一','十二','十三','十四','十五','十六','十七','十八','十九','二十',_0x203039(0x25a),_0x203039(0x21d),_0x203039(0x1b0),_0x203039(0x286),'二十五','二十六',_0x203039(0x1c9),'二十八',_0x203039(0x2b4),'三十',_0x203039(0x283),_0x203039(0x219),_0x203039(0x1da),_0x203039(0x1f6),_0x203039(0x2c9),_0x203039(0x1de),'三十七','三十八',_0x203039(0x1d5),'四十','四十一',_0x203039(0x278),'四十三','四十四','四十五','四十六',_0x203039(0x22a),_0x203039(0x2ab),_0x203039(0x29a),'五十','五十一',_0x203039(0x259),_0x203039(0x21f),_0x203039(0x243),_0x203039(0x1ce),_0x203039(0x288),_0x203039(0x1ec),_0x203039(0x215),_0x203039(0x2cd),'六十','六十一',_0x203039(0x2a9),_0x203039(0x231),_0x203039(0x1bc),'六十五',_0x203039(0x28e),_0x203039(0x1ba),_0x203039(0x213),'六十九','七十','七十一',_0x203039(0x26f),'七十三',_0x203039(0x1ca),_0x203039(0x1e3),_0x203039(0x1b8),_0x203039(0x29e),'七十八',_0x203039(0x1f2),'八十',_0x203039(0x220),_0x203039(0x273),_0x203039(0x2ba),_0x203039(0x1bf),_0x203039(0x279),_0x203039(0x2c5),_0x203039(0x25c),_0x203039(0x230),'八十九','九十'],_0x41a18d=_0x3a3ee9[Math[_0x203039(0x256)](Math[_0x203039(0x244)]()*_0x3a3ee9['length'])],_0x43a5fa=_0x1f2652[Math['floor'](Math[_0x203039(0x244)]()*_0x1f2652[_0x203039(0x1dd)])];return _0x41a18d+_0x43a5fa;}function _0x4b4bd2(_0x413a16){const _0x2814d6=_0x3011f4;if(!_0x413a16?.['length'])return'';return _0x413a16[Math[_0x2814d6(0x256)](Math[_0x2814d6(0x244)]()*_0x413a16[_0x2814d6(0x1dd)])];}}async function getAuthorCodeList(_0x4a5f0c){const _0x1fee9a=_0x2a4dec,_0x237916=await common['request']({'url':_0x4a5f0c,'method':_0x1fee9a(0x21c),'headers':{'User-Agent':_0x1fee9a(0x1fc)},'proxy':null,'debug':![],'timeout':0x7530}),_0x5a6d5d=_0x237916[_0x1fee9a(0x21a)];return _0x5a6d5d;}function random(_0x576216,_0x508881){const _0x30460e=_0x2a4dec;return Math[_0x30460e(0x256)](Math[_0x30460e(0x244)]()*(_0x508881-_0x576216))+_0x576216;} // 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}getSimpleActInfoVoGotEnv(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.getSimpleActInfoVoGotEnv(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.getSimpleActInfoVoGotEnv(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)}