mirror of
https://github.com/shufflewzc/faker3.git
synced 2024-11-14 07:29:18 +08:00
20 lines
52 KiB
JavaScript
20 lines
52 KiB
JavaScript
/*
|
||
活动名称:新版玩一玩翻翻乐 5.17-8.31结束
|
||
活动入口:APP-我的-更多工具-玩一玩
|
||
活动建议:定时自行修改,奖票有效期2个月
|
||
活动变量:jd_wyw_turnnum //默认翻倍投入50奖票,可自行修改,最低1最高100
|
||
jd_wyw_turnmax //默认翻倍2次,可自行修改
|
||
jd_wyw_notify // 是否推送通知(true/false),默认不推送
|
||
jd_wyw_pinFilter // 账号pin过滤,多个用@进行分割
|
||
|
||
翻倍,请自行修改定时,建议运行10次,每次间隔30分钟以上。
|
||
|
||
cron:1 1 1 1 *
|
||
|
||
*/
|
||
|
||
const $ = new Env('新版玩一玩翻翻乐')
|
||
const _0x569a07=_0x4432;(function(_0x19f9bf,_0x2abf77){const _0x365e76=_0x4432,_0xe4e410=_0x19f9bf();while(!![]){try{const _0x30c9e5=parseInt(_0x365e76(0x1dd,'fu%6'))/0x1+parseInt(_0x365e76(0x2ea,'IZTE'))/0x2+parseInt(_0x365e76(0x284,'ao2$'))/0x3*(parseInt(_0x365e76(0x23c,'^Q8A'))/0x4)+-parseInt(_0x365e76(0x1e5,'nm4r'))/0x5*(-parseInt(_0x365e76(0x27b,'o*u1'))/0x6)+parseInt(_0x365e76(0x10b,'^2YS'))/0x7*(parseInt(_0x365e76(0x22f,'ao2$'))/0x8)+parseInt(_0x365e76(0x24b,'NNp4'))/0x9+-parseInt(_0x365e76(0x2f0,'R5Go'))/0xa;if(_0x30c9e5===_0x2abf77)break;else _0xe4e410['push'](_0xe4e410['shift']());}catch(_0xe09add){_0xe4e410['push'](_0xe4e410['shift']());}}}(_0x2c3f,0xd0b11));function _0x4432(_0x58120c,_0x31d201){const _0x2c3fff=_0x2c3f();return _0x4432=function(_0x44328b,_0x626a90){_0x44328b=_0x44328b-0xf8;let _0x4e3c3f=_0x2c3fff[_0x44328b];if(_0x4432['BgtZrB']===undefined){var _0x3ad104=function(_0x137a0f){const _0x1cd30b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x28b3d8='',_0x53fe9e='';for(let _0x2a3fc6=0x0,_0x517a6e,_0x4a9b90,_0x58b163=0x0;_0x4a9b90=_0x137a0f['charAt'](_0x58b163++);~_0x4a9b90&&(_0x517a6e=_0x2a3fc6%0x4?_0x517a6e*0x40+_0x4a9b90:_0x4a9b90,_0x2a3fc6++%0x4)?_0x28b3d8+=String['fromCharCode'](0xff&_0x517a6e>>(-0x2*_0x2a3fc6&0x6)):0x0){_0x4a9b90=_0x1cd30b['indexOf'](_0x4a9b90);}for(let _0x51a073=0x0,_0x2a355e=_0x28b3d8['length'];_0x51a073<_0x2a355e;_0x51a073++){_0x53fe9e+='%'+('00'+_0x28b3d8['charCodeAt'](_0x51a073)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x53fe9e);};const _0x1e9638=function(_0x8618f1,_0x1f8c91){let _0x38239e=[],_0x475e92=0x0,_0x56a9f3,_0x351125='';_0x8618f1=_0x3ad104(_0x8618f1);let _0x24d8c6;for(_0x24d8c6=0x0;_0x24d8c6<0x100;_0x24d8c6++){_0x38239e[_0x24d8c6]=_0x24d8c6;}for(_0x24d8c6=0x0;_0x24d8c6<0x100;_0x24d8c6++){_0x475e92=(_0x475e92+_0x38239e[_0x24d8c6]+_0x1f8c91['charCodeAt'](_0x24d8c6%_0x1f8c91['length']))%0x100,_0x56a9f3=_0x38239e[_0x24d8c6],_0x38239e[_0x24d8c6]=_0x38239e[_0x475e92],_0x38239e[_0x475e92]=_0x56a9f3;}_0x24d8c6=0x0,_0x475e92=0x0;for(let _0x613d49=0x0;_0x613d49<_0x8618f1['length'];_0x613d49++){_0x24d8c6=(_0x24d8c6+0x1)%0x100,_0x475e92=(_0x475e92+_0x38239e[_0x24d8c6])%0x100,_0x56a9f3=_0x38239e[_0x24d8c6],_0x38239e[_0x24d8c6]=_0x38239e[_0x475e92],_0x38239e[_0x475e92]=_0x56a9f3,_0x351125+=String['fromCharCode'](_0x8618f1['charCodeAt'](_0x613d49)^_0x38239e[(_0x38239e[_0x24d8c6]+_0x38239e[_0x475e92])%0x100]);}return _0x351125;};_0x4432['czufPj']=_0x1e9638,_0x58120c=arguments,_0x4432['BgtZrB']=!![];}const _0x404a35=_0x2c3fff[0x0],_0x1d65e9=_0x44328b+_0x404a35,_0x42d2e1=_0x58120c[_0x1d65e9];return!_0x42d2e1?(_0x4432['CYkADT']===undefined&&(_0x4432['CYkADT']=!![]),_0x4e3c3f=_0x4432['czufPj'](_0x4e3c3f,_0x626a90),_0x58120c[_0x1d65e9]=_0x4e3c3f):_0x4e3c3f=_0x42d2e1,_0x4e3c3f;},_0x4432(_0x58120c,_0x31d201);}const jdCookie=require('./jdCookie'),notify=require('./utils/Rebels_sendJDNotify'),common=require(_0x569a07(0x2c4,'NNp4')),{H5st}=require(_0x569a07(0x2c8,'o*u1'));let turnlinkId=_0x569a07(0x233,'fu%6'),superlinkId=_0x569a07(0x2e5,'fu%6'),taskThreads=process[_0x569a07(0x1de,'XSDb')][_0x569a07(0x12b,'2CPl')]||'1';const runInterval=process['env']['jd_wyw__interval']||_0x569a07(0x2e9,'nm4r'),isNotify=(process[_0x569a07(0x22d,'xF[Q')][_0x569a07(0x1c5,'E)JY')]||process[_0x569a07(0x115,'MY&*')][_0x569a07(0x218,']Sd%')])===_0x569a07(0x2b4,'NNp4'),pinFilter=(process['env'][_0x569a07(0x112,'3er%')]||'')[_0x569a07(0x132,'kd6U')]('@');let turnNum=process[_0x569a07(0x237,'o*u1')][_0x569a07(0x11f,'NNp4')]||'50',turnmaxTime=process[_0x569a07(0x2cb,'2nj2')][_0x569a07(0x26f,'X%MM')]||'2',shareCodes=[],needRemoveCodes=[],cookiesArr=Object['keys'](jdCookie)[_0x569a07(0x118,'(FrS')](_0x1e9638=>jdCookie[_0x1e9638])[_0x569a07(0x181,'^@vl')](_0x137a0f=>_0x137a0f);!cookiesArr[0x0]&&($[_0x569a07(0x1d2,'oRN4')]($[_0x569a07(0x2b9,'o@Q5')],'【提示】请先获取Cookie'),process[_0x569a07(0x29c,'xwM^')](0x1));!(async()=>{const _0x524199=_0x569a07;notify['config']({'title':$[_0x524199(0x2bb,'*s&B')]}),await Main(),isNotify&¬ify[_0x524199(0x1fa,'Lh*@')]()&&await notify['push']();})()[_0x569a07(0x14c,'R5Go')](_0x1cd30b=>$[_0x569a07(0x254,'Lh*@')](_0x1cd30b))[_0x569a07(0x13d,'oRN4')](()=>$[_0x569a07(0x2ec,'GYPL')]());async function Main(){const _0x54ab34=_0x569a07;try{try{const _0x53fe9e=parseInt(taskThreads);_0x53fe9e>0x0&&_0x53fe9e!==0x1&&(taskThreads=_0x53fe9e);}catch{taskThreads=0x1;}taskThreads=Math['min'](taskThreads,0x1),$[_0x54ab34(0x2df,'xwM^')]=null;if(runInterval)try{const _0x2a3fc6=parseInt(runInterval);_0x2a3fc6>=0x0&&($[_0x54ab34(0x25b,'IZTE')]=_0x2a3fc6);}catch{console[_0x54ab34(0x202,'GYPL')](_0x54ab34(0x2a4,'iAYM'));}console['log'](_0x54ab34(0x269,'X%MM')+$[_0x54ab34(0x2b9,'o@Q5')]+_0x54ab34(0x145,'nm4r')),console[_0x54ab34(0x29e,'OWo6')]('活动入口:\x20APP-我的-更多工具-玩一玩-翻翻乐'),console[_0x54ab34(0x28e,'^Q8A')](_0x54ab34(0x193,'8YQw')+turnNum+_0x54ab34(0x243,'ua8D')+turnmaxTime+']'),console['log']('代理开关:\x20['+common[_0x54ab34(0x113,'ua8D')]()+']'),console[_0x54ab34(0x134,'sQ%V')](_0x54ab34(0x2bd,'DUPO')+(isNotify?'开启':'关闭')+']'),console[_0x54ab34(0x12e,'o@Q5')](_0x54ab34(0x110,'32LE')+pinFilter[_0x54ab34(0x1b1,'XSDb')](',\x20')+']'),console['log']('=========='+$[_0x54ab34(0x272,'OWo6')]+_0x54ab34(0x287,'sQ%V')),console[_0x54ab34(0x219,'2CPl')](''),$[_0x54ab34(0x28d,'NNp4')]=[],await common['concTask'](taskThreads,cookiesArr,taskFnc),$[_0x54ab34(0x276,'o@Q5')]=![],$[_0x54ab34(0x1ce,'^@vl')]=![];$[_0x54ab34(0x270,'o@Q5')][_0x54ab34(0x222,'pHvy')]>0x0&&(cookiesArr=cookiesArr[_0x54ab34(0x136,'xwM^')]((_0x517a6e,_0x4a9b90)=>!$[_0x54ab34(0x2d8,'VsF&')][_0x54ab34(0x17a,'IQ3&')](_0x4a9b90+0x1)),$['needRemoveCookieIndex']=[]);const _0x28b3d8=notify[_0x54ab34(0x216,'(FrS')]();_0x28b3d8&&console[_0x54ab34(0x134,'sQ%V')](_0x54ab34(0x2ef,'R$[8')+_0x28b3d8[_0x54ab34(0x246,'7nPh')](/:/g,_0x54ab34(0x168,'pHvy')));}catch(_0x58b163){console[_0x54ab34(0x130,'R5Go')](_0x54ab34(0x1f8,'*SX)')+_0x58b163);}}async function taskFnc(_0x51a073,_0x2a355e){const _0x367ebc=_0x569a07;if($[_0x367ebc(0x1ec,'8YQw')])return{'runEnd':!![]};const _0x8618f1=decodeURIComponent(common[_0x367ebc(0x13b,'fizr')](_0x51a073,_0x367ebc(0x102,'fizr')));function _0x1f8c91(_0x21822a,_0x1fd21d){const _0x144092=_0x367ebc;if(_0x21822a[_0x144092(0x2da,'xF[Q')]<=0x4)return _0x21822a;else{const _0xcbbe8a=_0x21822a['slice'](0x0,0x2),_0xc74e92=_0x21822a[_0x144092(0xfc,'2nj2')](-0x2),_0x5c62a2=Math[_0x144092(0x223,']Sd%')](_0x1fd21d-_0xcbbe8a[_0x144092(0x1bd,'nm4r')]-_0xc74e92[_0x144092(0x1a7,'iAYM')],0x0),_0x4affcb='*'[_0x144092(0x2a2,'ua8D')](_0x5c62a2);return _0xcbbe8a+_0x4affcb+_0xc74e92;}}const _0x38239e=decodeURIComponent(_0x8618f1),_0x475e92=_0x1f8c91(_0x38239e,0x6),_0x56a9f3='【账号'+_0x2a355e+'】'+_0x475e92+':',_0x351125=notify['create'](_0x2a355e,_0x8618f1);if(pinFilter['length']>0x0&&(pinFilter['includes'](_0x8618f1)||pinFilter[_0x367ebc(0x17a,'IQ3&')](encodeURIComponent(_0x8618f1)))){_0x351125[_0x367ebc(0x25e,'(FrS')](_0x367ebc(0x273,'esad')),console[_0x367ebc(0x1b2,'8YQw')](_0x351125[_0x367ebc(0x20f,'oRN4')]()),$[_0x367ebc(0x1fd,'xF[Q')][_0x367ebc(0x1e4,'R$[8')](_0x2a355e);return;}const _0x24d8c6=await common[_0x367ebc(0x1b6,'^@vl')](_0x51a073);if(!_0x24d8c6&&typeof _0x24d8c6===_0x367ebc(0x299,'2nj2')){console[_0x367ebc(0x188,'oRN4')](_0x56a9f3+_0x367ebc(0x23e,'pHvy')),_0x351125[_0x367ebc(0x231,'txJA')](_0x367ebc(0x174,'ge]!')),$[_0x367ebc(0x1b5,'WRL0')][_0x367ebc(0x133,'8YQw')](_0x2a355e);return;}const _0x613d49=common[_0x367ebc(0x220,'WRL0')](_0x8618f1),_0x2e6c65=common[_0x367ebc(0x19a,'iAYM')](_0x367ebc(0x2d2,'txJA'));let _0x29bda5=![],_0x5059f2=![],_0xc0cee3=![],_0x14daef=![],_0x18a40b,_0x5304ac,_0x37ff4a,_0x5d1a02,_0x1655e9,_0x324982,_0x4cffae,_0x4aa56e,_0x42e22a,_0x51d542,_0x4798f8,_0x38dfb3;_0x324982='',await _0x192b16('turnHappyHome');if(_0x324982&&_0x324982[_0x367ebc(0x17f,']Sd%')]===0x1){const _0x1e7fca=_0x324982['usable']||0x0,_0x11bb81=_0x324982[_0x367ebc(0x1d5,'R5Go')]||0x1,_0x2c8422=_0x324982[_0x367ebc(0x1e3,'o@Q5')]||0x64,_0x4f57af=_0x324982[_0x367ebc(0x117,'xwM^')],_0x5a8d81=_0x324982[_0x367ebc(0x100,'IQ3&')],_0x4b9969=_0x324982[_0x367ebc(0x23b,'DUPO')],_0x38a027=Math[_0x367ebc(0x2ca,'fu%6')](_0x4b9969/0x3e8),_0x19f391=_0x324982[_0x367ebc(0x27a,'ao2$')],_0x739420=_0x324982[_0x367ebc(0x293,'WRL0')],_0x930064=_0x324982['rewardValue'],_0x6a6f0e=Math[_0x367ebc(0x2a7,'8YQw')](_0x38a027/0xe10),_0x1586cb=Math[_0x367ebc(0x1bf,'VsF&')](_0x38a027%0xe10/0x3c),_0x3f8cdf=_0x38a027%0x3c,_0x54341f=_0x6a6f0e[_0x367ebc(0x292,'ao2$')]()['padStart'](0x2,'0')+':'+_0x1586cb[_0x367ebc(0x156,'sQ%V')]()[_0x367ebc(0x261,'sQ%V')](0x2,'0')+':'+_0x3f8cdf['toString']()['padStart'](0x2,'0');if(_0x4f57af)console[_0x367ebc(0x12e,'o@Q5')](_0x56a9f3+_0x367ebc(0x10f,'MY&*')+_0x5a8d81+'次,已达每日翻倍上限');else switch(_0x19f391){case 0x0:if(_0x1e7fca<_0x11bb81)console[_0x367ebc(0x21a,'*s&B')](_0x56a9f3+_0x367ebc(0x17d,'^@vl')+_0x1e7fca+_0x367ebc(0x16e,'OWo6')+_0x11bb81);else{if(_0x1e7fca<turnNum)console[_0x367ebc(0x21a,'*s&B')](_0x56a9f3+_0x367ebc(0x281,'R$[8')+_0x1e7fca+_0x367ebc(0x2c7,'^@vl')+turnNum);else{if(turnNum>_0x2c8422)console[_0x367ebc(0x20d,'esad')](_0x56a9f3+_0x367ebc(0x1c1,'7nPh')+turnNum+_0x367ebc(0x275,'nm4r')+_0x2c8422);else{console['log'](_0x56a9f3+_0x367ebc(0x23f,'R$[8')+turnNum+'奖券翻倍');for(let _0x646a15=0x0;_0x646a15<turnmaxTime;_0x646a15++){await _0x192b16('turnHappyDouble');if(_0x5059f2)break;await $[_0x367ebc(0x171,'Lh*@')](parseInt($[_0x367ebc(0x25a,'VsF&')]*0x1+0x9c4,0xa));}!_0x5059f2&&(await _0x192b16(_0x367ebc(0x183,'3er%')),await $[_0x367ebc(0x166,'XSDb')](parseInt($[_0x367ebc(0x236,'R5Go')]*0x1+0x5dc,0xa)));}}}break;case 0x1:console[_0x367ebc(0x17c,'X%MM')](_0x56a9f3+_0x367ebc(0x2d6,'*SX)')+_0x739420+_0x367ebc(0x161,'esad')+_0x930064+'奖票,'+_0x54341f+_0x367ebc(0x279,'7nPh')),await _0x192b16(_0x367ebc(0x12c,']Sd%')),await $[_0x367ebc(0x11a,'ua8D')](parseInt($['waitTime']*0x1+0x5dc,0xa));break;case 0x2:console[_0x367ebc(0x1e0,'ua8D')](_0x56a9f3+_0x367ebc(0x20c,'IZTE')+_0x930064+_0x367ebc(0x205,'H*x[')+_0x54341f+_0x367ebc(0x28b,'3er%'));break;case 0x3:console[_0x367ebc(0x1d0,'^@vl')](_0x56a9f3+'翻倍第'+_0x739420+'次失败,损失'+turnNum+_0x367ebc(0x1c3,'WRL0')+_0x54341f+_0x367ebc(0x11d,'OWo6'));break;default:console['log'](_0x56a9f3+'状态未知:'+_0x19f391);break;}_0x4aa56e='',await _0x192b16(_0x367ebc(0x13f,'pHvy'));if(_0x4aa56e){_0x42e22a=_0x4aa56e[_0x367ebc(0x16d,'NNp4')]||[];if(_0x42e22a&&_0x42e22a[_0x367ebc(0x267,'R$[8')]>0x0){const _0x5e66bf=new Date()['getDate'](),_0xe7fc89=new Date(new Date()[_0x367ebc(0x2c9,'MY&*')](new Date()[_0x367ebc(0x18e,'^Q8A')]()-0x1))[_0x367ebc(0x184,'ua8D')](),_0x3d27ba=_0x161051=>{const _0xbe8714=_0x367ebc,_0x53ebdf=_0x42e22a[_0xbe8714(0x1a9,'Lh*@')](_0x110a61=>new Date(_0x110a61['time'])[_0xbe8714(0x1aa,'xwM^')]()===_0x161051&&_0x110a61[_0xbe8714(0x2d1,'ua8D')]===0x1),_0xc178c9=_0x42e22a[_0xbe8714(0x217,'o@Q5')](_0x2ccddb=>new Date(_0x2ccddb[_0xbe8714(0x286,'8YQw')])[_0xbe8714(0x26b,'nm4r')]()===_0x161051&&_0x2ccddb[_0xbe8714(0x2ce,'txJA')]===0x3),_0x3e7b7d=_0x53ebdf[_0xbe8714(0x1c2,'fizr')]((_0x44acb9,_0x36ba4b)=>_0x44acb9+_0x36ba4b[_0xbe8714(0x1a5,'NNp4')],0x0),_0xc94a5e=_0xc178c9['reduce']((_0x5bce48,_0x4a4537)=>_0x5bce48+_0x4a4537[_0xbe8714(0x225,'xwM^')],0x0),_0x196a8f=_0xc178c9[_0xbe8714(0x29f,'E)JY')]>0x0?(_0x53ebdf[_0xbe8714(0x267,'R$[8')]/_0xc178c9[_0xbe8714(0x244,'WRL0')]*0x64)[_0xbe8714(0x208,'H*x[')](0x2):0x0,_0x3529f=_0x3e7b7d-_0xc94a5e;return{'type1Count':_0x53ebdf[_0xbe8714(0x2ac,'o*u1')],'type3Count':_0xc178c9['length'],'type1Num':_0x3e7b7d,'type3Num':_0xc94a5e,'successPercentage':_0x196a8f,'netIncome':_0x3529f};},_0x3c5670=_0x3d27ba(_0x5e66bf),_0xef5f55=_0x3d27ba(_0xe7fc89),_0x1d21e1=_0x50f2a9=>{const _0x284fe2=_0x367ebc;if(_0x50f2a9>0x0)return'[小赚'+_0x50f2a9+']';else return _0x50f2a9<0x0?_0x284fe2(0x2bf,'IQ3&')+Math[_0x284fe2(0x2d4,'E)JY')](_0x50f2a9)+']':_0x284fe2(0x1f2,'8YQw');};console[_0x367ebc(0x20b,'NNp4')](_0x56a9f3+_0x367ebc(0x234,'R5Go')+_0x3c5670[_0x367ebc(0x27f,'H*x[')]+'/'+_0x3c5670[_0x367ebc(0x213,'XSDb')]+_0x367ebc(0x1ea,'nm4r')+_0x3c5670[_0x367ebc(0xff,'WRL0')]+_0x367ebc(0x141,'fu%6')+_0x3c5670[_0x367ebc(0x238,'txJA')]+'/'+_0x3c5670[_0x367ebc(0x1fc,'NNp4')]+')'+_0x1d21e1(_0x3c5670[_0x367ebc(0x251,'WRL0')])),_0x351125[_0x367ebc(0x187,'Lh*@')](_0x367ebc(0x23d,'oRN4')+_0x3c5670[_0x367ebc(0x2d0,'R5Go')]+'/'+_0x3c5670['type3Count']+_0x367ebc(0x1c8,'7nPh')+_0x3c5670['successPercentage']+'%])'+_0x1d21e1(_0x3c5670[_0x367ebc(0x2ae,'iAYM')])),console[_0x367ebc(0x271,'3er%')](_0x56a9f3+'昨日翻倍战绩('+_0xef5f55[_0x367ebc(0x1d4,'wm&$')]+'/'+_0xef5f55[_0x367ebc(0x290,'txJA')]+_0x367ebc(0xf8,'pHvy')+_0xef5f55[_0x367ebc(0x1a1,'VsF&')]+_0x367ebc(0xf9,'XSDb')+_0xef5f55[_0x367ebc(0x1a8,'H*x[')]+'/'+_0xef5f55[_0x367ebc(0x2af,'(FrS')]+')'+_0x1d21e1(_0xef5f55[_0x367ebc(0x2e1,'32LE')])),_0x3c5670[_0x367ebc(0x14b,'*s&B')]<0x0&&_0xef5f55[_0x367ebc(0x180,'xwM^')]<0x0&&console[_0x367ebc(0x124,'txJA')](_0x56a9f3+_0x367ebc(0x164,'*s&B'));}}}if($[_0x367ebc(0x2e0,'b#$h')])return{'runEnd':!![]};await $['wait'](parseInt($[_0x367ebc(0x189,'wm&$')]*0x1+0x1f4,0xa));async function _0x51b661(_0x24d28b,_0x17725d){const _0x50ba12=_0x367ebc;try{let _0x3831a8='';switch(_0x24d28b){case _0x50ba12(0x119,'mNcv'):_0x17725d[_0x50ba12(0x175,'ao2$')]==0x0&&_0x17725d[_0x50ba12(0x167,'H*x[')]?_0x17725d['data']['bizCode']===0x0?_0x18a40b=_0x17725d[_0x50ba12(0x249,'xwM^')][_0x50ba12(0x1f1,'o*u1')]:(_0x3831a8=common[_0x50ba12(0x12f,'Lh*@')](_0x17725d[_0x50ba12(0x14d,'WRL0')]),console[_0x50ba12(0x1f0,'iAYM')](_0x56a9f3+_0x50ba12(0x1c0,'xwM^')+_0x3831a8)):(_0x3831a8=common[_0x50ba12(0x109,'H*x[')](_0x17725d),console[_0x50ba12(0x271,'3er%')](_0x56a9f3+_0x50ba12(0x1d7,'fu%6')+_0x3831a8));break;case _0x50ba12(0x1a4,'esad'):_0x17725d['code']==0x0&&_0x17725d['data']?_0x17725d[_0x50ba12(0x11e,'ua8D')][_0x50ba12(0x298,'^2YS')]===0x0?console[_0x50ba12(0x226,'E)JY')](_0x56a9f3+'打卡成功,已打卡'+_0x17725d['data'][_0x50ba12(0x127,'fizr')][_0x50ba12(0x18f,'OWo6')]+_0x50ba12(0x28a,'*SX)')+_0x17725d[_0x50ba12(0x250,'(FrS')]['result'][_0x50ba12(0x1cc,'o@Q5')]+'奖票'):(_0x3831a8=common[_0x50ba12(0x159,'ao2$')](_0x17725d[_0x50ba12(0x249,'xwM^')]),console['log'](_0x56a9f3+_0x50ba12(0x2e7,'nm4r')+_0x3831a8)):(_0x3831a8=common[_0x50ba12(0x1f9,'3er%')](_0x17725d),console['log'](_0x56a9f3+'打卡失败:'+_0x3831a8));break;case _0x50ba12(0x106,'xwM^'):_0x17725d[_0x50ba12(0x1d6,'E)JY')]==0x0&&_0x17725d[_0x50ba12(0x249,'xwM^')]?_0x17725d['data'][_0x50ba12(0x265,'pHvy')]===0x0?_0x5d1a02=_0x17725d['data'][_0x50ba12(0x295,'R$[8')]:(_0x3831a8=common[_0x50ba12(0x1f5,'oRN4')](_0x17725d[_0x50ba12(0x16f,'IZTE')]),console[_0x50ba12(0x204,'32LE')](_0x56a9f3+_0x50ba12(0x14e,'xF[Q')+_0x3831a8)):(_0x3831a8=common[_0x50ba12(0x15d,'WRL0')](_0x17725d),console[_0x50ba12(0x130,'R5Go')](_0x56a9f3+_0x50ba12(0x196,'u#&x')+_0x3831a8));break;case _0x50ba12(0x2a6,'2CPl'):case'wanyiwan_point_record':if(_0x17725d[_0x50ba12(0x175,'ao2$')]==0x0&&_0x17725d[_0x50ba12(0x240,'fu%6')]){if(_0x17725d[_0x50ba12(0x16f,'IZTE')]['bizCode']===0x0){}else _0x3831a8=common[_0x50ba12(0x191,'IQ3&')](_0x17725d[_0x50ba12(0x215,'txJA')]),console[_0x50ba12(0x204,'32LE')](_0x56a9f3+_0x50ba12(0x2cd,'mNcv')+_0x3831a8);}else _0x3831a8=common[_0x50ba12(0x159,'ao2$')](_0x17725d),console['log'](_0x56a9f3+_0x50ba12(0x1ef,'2CPl')+_0x3831a8);break;case'wanyiwan_exchange_page':_0x17725d[_0x50ba12(0x10e,'X%MM')]==0x0&&_0x17725d[_0x50ba12(0x1bc,'wm&$')]?_0x17725d[_0x50ba12(0x227,'R5Go')][_0x50ba12(0x2a0,'E)JY')]===0x0?_0x1655e9=_0x17725d[_0x50ba12(0x17e,'VsF&')]['result']:(_0x3831a8=common[_0x50ba12(0x109,'H*x[')](_0x17725d['data']),console[_0x50ba12(0x188,'oRN4')](_0x56a9f3+_0x50ba12(0x2b2,'xF[Q')+_0x3831a8)):(_0x3831a8=common[_0x50ba12(0x19e,'u#&x')](_0x17725d),console[_0x50ba12(0x1e0,'ua8D')](_0x56a9f3+_0x50ba12(0x1c6,'VsF&')+_0x3831a8));break;case _0x50ba12(0x20e,'2nj2'):_0x4798f8=_0x51d542===0x0?'完成':'开始';if(_0x17725d[_0x50ba12(0x146,'sQ%V')]==0x0&&_0x17725d[_0x50ba12(0x185,'mNcv')]){if(_0x17725d['data'][_0x50ba12(0x242,'XSDb')]===0x0){}else _0x3831a8=common[_0x50ba12(0x1a2,'2nj2')](_0x17725d[_0x50ba12(0x1b4,']Sd%')]),console['log'](_0x56a9f3+'任务'+_0x4798f8+_0x50ba12(0x22a,'R5Go')+_0x3831a8);}else _0x3831a8=common[_0x50ba12(0x1f5,'oRN4')](_0x17725d),console['log'](_0x56a9f3+'任务'+_0x4798f8+_0x50ba12(0x266,'kd6U')+_0x3831a8),['用户较多','火爆'][_0x50ba12(0x228,'b#$h')](_0x3c2ad9=>_0x3831a8[_0x50ba12(0x197,'^@vl')](_0x3c2ad9))&&(_0xc0cee3=!![]);break;case _0x50ba12(0x262,'txJA'):_0x17725d[_0x50ba12(0x190,'*SX)')]==0x0&&_0x17725d['data']?_0x17725d['data'][_0x50ba12(0x2ba,'MY&*')]===0x0?console[_0x50ba12(0x2be,'nm4r')](_0x56a9f3+'领取['+_0x5304ac[_0x50ba12(0x294,'o*u1')]+_0x50ba12(0x2f3,'mNcv')+(_0x17725d['data'][_0x50ba12(0x2b7,'IQ3&')][_0x50ba12(0x207,'nm4r')]||0x0)+'奖票'):(_0x3831a8=common[_0x50ba12(0x109,'H*x[')](_0x17725d[_0x50ba12(0x1f4,'sQ%V')]),console['log'](_0x56a9f3+_0x50ba12(0xfb,'GYPL')+_0x3831a8)):(_0x3831a8=common['getErrorMsg'](_0x17725d),console[_0x50ba12(0x297,'xwM^')](_0x56a9f3+_0x50ba12(0x2a5,'esad')+_0x3831a8));break;case _0x50ba12(0x19d,'IQ3&'):if(_0x17725d[_0x50ba12(0x175,'ao2$')]==0x0){const _0x3c56e1=_0x17725d[_0x50ba12(0x21c,'^Q8A')][_0x50ba12(0x2a0,'E)JY')];switch(_0x3c56e1){case 0x0:console[_0x50ba12(0x297,'xwM^')](_0x56a9f3+_0x50ba12(0x2e3,'GYPL')+_0x38dfb3[_0x50ba12(0x1ae,'fu%6')](0x0,0xa)+_0x50ba12(0x1e7,'R5Go')),_0x29bda5=!![];break;case-0x66:_0x29bda5=!![];break;case-0x6b:_0x29bda5=!![];break;case-0x1f42:break;case-0x1f43:_0x29bda5=!![];break;case-0x1f45:console[_0x50ba12(0x111,'IZTE')](_0x56a9f3+_0x50ba12(0x16b,'DUPO')+_0x38dfb3[_0x50ba12(0x24a,'7nPh')](0x0,0xa)+_0x50ba12(0x2c6,'xF[Q')),needRemoveCodes[_0x50ba12(0x1b3,'xwM^')](_0x38dfb3);break;case-0x1f46:_0x29bda5=!![];break;case-0x1f48:_0x29bda5=!![];break;default:console[_0x50ba12(0x202,'GYPL')](_0x56a9f3+_0x50ba12(0x1d9,']Sd%')+_0x38dfb3[_0x50ba12(0x10a,']Sd%')](0x0,0xa)+_0x50ba12(0x1ad,'7nPh')+_0x17725d[_0x50ba12(0x21c,'^Q8A')][_0x50ba12(0x150,'DUPO')]+'['+_0x3c56e1+']');break;}}else _0x3831a8=common[_0x50ba12(0x194,'o*u1')](_0x17725d),console[_0x50ba12(0x204,'32LE')](_0x56a9f3+_0x50ba12(0x2e6,'XSDb')+_0x3831a8),_0x29bda5=!![];break;case _0x50ba12(0x1bb,'8YQw'):_0x17725d['code']==0x0?_0x17725d['success']?_0x324982=_0x17725d[_0x50ba12(0x27e,'8YQw')]:(_0x3831a8=common[_0x50ba12(0x232,'8YQw')](_0x17725d[_0x50ba12(0x11b,'o*u1')]),console['log'](_0x56a9f3+'翻翻乐首页失败:'+_0x3831a8)):(_0x3831a8=common[_0x50ba12(0x245,'VsF&')](_0x17725d),console[_0x50ba12(0x202,'GYPL')](_0x56a9f3+_0x50ba12(0x158,'txJA')+_0x3831a8));break;case _0x50ba12(0x274,'^@vl'):if(_0x17725d['code']==0x0){if(_0x17725d[_0x50ba12(0x1be,'8YQw')]){const _0x57a305=_0x17725d[_0x50ba12(0x227,'R5Go')][_0x50ba12(0x1d8,'NNp4')],_0xb6fec=Math[_0x50ba12(0x2d9,'*SX)')](_0x57a305/0x3e8),_0x588957=_0x17725d['data']['rewardState'],_0x43d7e1=_0x17725d[_0x50ba12(0x11b,'o*u1')][_0x50ba12(0x18d,'GYPL')],_0x689a76=_0x17725d[_0x50ba12(0x1ab,'DUPO')][_0x50ba12(0x155,'nm4r')],_0x2235d1=Math[_0x50ba12(0x2d9,'*SX)')](_0xb6fec/0xe10),_0x4759b7=Math[_0x50ba12(0x27d,'u#&x')](_0xb6fec%0xe10/0x3c),_0x155c55=_0xb6fec%0x3c,_0x4d5cb6=_0x2235d1['toString']()[_0x50ba12(0x1fe,'fizr')](0x2,'0')+':'+_0x4759b7[_0x50ba12(0x26c,'Lh*@')]()[_0x50ba12(0x27c,'b#$h')](0x2,'0')+':'+_0x155c55[_0x50ba12(0x264,'E)JY')]()[_0x50ba12(0x29d,'(FrS')](0x2,'0');switch(_0x588957){case 0x0:console[_0x50ba12(0x24e,'7nPh')](_0x56a9f3+_0x50ba12(0x2cf,'*SX)'));break;case 0x1:console[_0x50ba12(0x12e,'o@Q5')](_0x56a9f3+_0x50ba12(0x1cf,'^Q8A')+_0x43d7e1+_0x50ba12(0x1e9,'X%MM')+_0x689a76+'奖票');break;case 0x2:console[_0x50ba12(0x24e,'7nPh')](_0x56a9f3+_0x50ba12(0x1dc,'2CPl')+_0x689a76+_0x50ba12(0x1c3,'WRL0')+_0x4d5cb6+_0x50ba12(0x160,'GYPL'));break;case 0x3:console[_0x50ba12(0x1b2,'8YQw')](_0x56a9f3+_0x50ba12(0x1ff,'2CPl')+_0x43d7e1+_0x50ba12(0x235,'7nPh')+turnNum+_0x50ba12(0x268,'7nPh')+_0x4d5cb6+_0x50ba12(0xfd,'2nj2')),_0x351125['insert'](_0x50ba12(0x149,'nm4r')+turnNum+'奖票'),_0x5059f2=!![];break;default:console[_0x50ba12(0x221,'(FrS')](_0x56a9f3+_0x50ba12(0x289,'IQ3&')+_0x588957);break;}}else _0x3831a8=common[_0x50ba12(0x154,'pHvy')](_0x17725d[_0x50ba12(0x1e6,'ge]!')]),console['log'](_0x56a9f3+_0x50ba12(0x278,'b#$h')+_0x3831a8);}else _0x3831a8=common[_0x50ba12(0x2c0,'^@vl')](_0x17725d),console[_0x50ba12(0x179,'^2YS')](_0x56a9f3+'翻翻乐首页失败:'+_0x3831a8);break;case _0x50ba12(0x203,'txJA'):_0x17725d[_0x50ba12(0x224,'xwM^')]==0x0?_0x17725d[_0x50ba12(0x2f4,'ua8D')]?(console['log'](_0x56a9f3+_0x50ba12(0x128,'R$[8')+_0x17725d[_0x50ba12(0x1ed,'E)JY')][_0x50ba12(0x247,'Lh*@')]+'奖票'),_0x351125[_0x50ba12(0x1c7,'o@Q5')](_0x50ba12(0x12a,'VsF&')+_0x17725d[_0x50ba12(0x2a8,'b#$h')][_0x50ba12(0x2ed,'2nj2')]+'奖票')):(_0x3831a8=common[_0x50ba12(0x173,'32LE')](_0x17725d[_0x50ba12(0x14d,'WRL0')]),console[_0x50ba12(0x28e,'^Q8A')](_0x56a9f3+_0x50ba12(0x13c,']Sd%')+_0x3831a8)):(_0x3831a8=common[_0x50ba12(0x24f,'xF[Q')](_0x17725d),console['log'](_0x56a9f3+'翻倍领取失败:'+_0x3831a8));break;case'turnHappyDetailList':_0x17725d[_0x50ba12(0x177,'iAYM')]==0x0?_0x17725d[_0x50ba12(0x18b,'kd6U')]&&_0x17725d[_0x50ba12(0x135,'kd6U')]?_0x4aa56e=_0x17725d['data'][_0x50ba12(0x288,'OWo6')]:(_0x3831a8=common[_0x50ba12(0x1a6,'sQ%V')](_0x17725d[_0x50ba12(0x250,'(FrS')]),console[_0x50ba12(0x248,'XSDb')](_0x56a9f3+'翻倍领取失败:'+_0x3831a8)):(_0x3831a8=common[_0x50ba12(0x198,'NNp4')](_0x17725d),console['log'](_0x56a9f3+_0x50ba12(0x2b3,'VsF&')+_0x3831a8));break;case _0x50ba12(0x170,'Lh*@'):_0x17725d['code']==0x0?_0x17725d['success']?_0x4cffae=_0x17725d[_0x50ba12(0x167,'H*x[')]:(_0x3831a8=common[_0x50ba12(0x24f,'xF[Q')](_0x17725d[_0x50ba12(0x11e,'ua8D')]),console[_0x50ba12(0x2be,'nm4r')](_0x56a9f3+_0x50ba12(0x285,'^2YS')+_0x3831a8)):(_0x3831a8=common[_0x50ba12(0x109,'H*x[')](_0x17725d),console[_0x50ba12(0x152,'H*x[')](_0x56a9f3+_0x50ba12(0x1f3,'MY&*')+_0x3831a8));break;case _0x50ba12(0x2ad,'b#$h'):if(_0x17725d['code']==0x0){if(_0x17725d[_0x50ba12(0x144,'txJA')]){if(_0x17725d['data']&&_0x17725d[_0x50ba12(0x135,'kd6U')]['shakeLeftTime']>0x0){if(_0x17725d[_0x50ba12(0x1db,'R$[8')]&&_0x17725d[_0x50ba12(0x17e,'VsF&')][_0x50ba12(0x16a,'2CPl')]){const _0x2b01df=_0x17725d['data'][_0x50ba12(0x1c9,'2nj2')][_0x50ba12(0x2b0,'iAYM')];switch(_0x2b01df){case 0x0:console[_0x50ba12(0x1d0,'^@vl')](_0x56a9f3+'空气');break;case 0x1:console[_0x50ba12(0x15b,'*SX)')](_0x56a9f3+'获得'+_0x17725d[_0x50ba12(0x14f,'pHvy')][_0x50ba12(0x255,'8YQw')][_0x50ba12(0x192,'fizr')]+'(满'+_0x17725d['data'][_0x50ba12(0x2c5,'iAYM')]['useLimit']+'减'+_0x17725d[_0x50ba12(0x1ab,'DUPO')]['prizeDrawVo']['amount']+')');break;case 0x2:console[_0x50ba12(0x1a3,']Sd%')](_0x56a9f3+'收入'+_0x17725d[_0x50ba12(0x21f,'7nPh')][_0x50ba12(0x1ee,'pHvy')]['amount']+'红包');break;case 0x4:console[_0x50ba12(0x2c1,'Lh*@')](_0x56a9f3+'收入'+_0x17725d[_0x50ba12(0x21f,'7nPh')]['prizeDrawVo'][_0x50ba12(0x1b8,'txJA')]+'现金');break;case 0x18:console[_0x50ba12(0x219,'2CPl')](_0x56a9f3+'收入'+_0x17725d[_0x50ba12(0x14f,'pHvy')][_0x50ba12(0x25c,'b#$h')][_0x50ba12(0x201,'8YQw')]+_0x17725d[_0x50ba12(0x104,'*s&B')][_0x50ba12(0x186,'WRL0')][_0x50ba12(0x1f6,'GYPL')]);break;default:console['log'](_0x56a9f3+_0x50ba12(0x15c,'(FrS')+_0x17725d[_0x50ba12(0x21f,'7nPh')][_0x50ba12(0x163,'esad')][_0x50ba12(0x169,'^@vl')]+'('+_0x2b01df+')');break;}}else console[_0x50ba12(0x12e,'o@Q5')](_0x56a9f3+'空气');}else _0x14daef=!![];}else _0x3831a8=common['getErrorMsg'](_0x17725d[_0x50ba12(0x2d7,'OWo6')]),console['log'](_0x50ba12(0x10d,']Sd%')+_0x3831a8);}else _0x3831a8=common[_0x50ba12(0x24d,'*s&B')](_0x17725d),console[_0x50ba12(0x152,'H*x[')](_0x50ba12(0x2dc,'NNp4')+_0x3831a8);break;case'worldCupGuessHome':_0x17725d[_0x50ba12(0x1d1,'R$[8')]==0x0?_0x17725d[_0x50ba12(0x182,'H*x[')]?_0x17725d[_0x50ba12(0x263,'2nj2')][_0x50ba12(0x2ee,'^Q8A')]&&_0x17725d['data']['resultPopInfo'][_0x50ba12(0x151,'xwM^')]&&console[_0x50ba12(0x204,'32LE')](_0x56a9f3+_0x50ba12(0x143,'nm4r')+_0x17725d[_0x50ba12(0x103,'32LE')][_0x50ba12(0x1cb,'IZTE')][_0x50ba12(0x10c,'E)JY')]+'奖票'):(_0x3831a8=common[_0x50ba12(0x2b8,'kd6U')](_0x17725d[_0x50ba12(0x21f,'7nPh')]),console[_0x50ba12(0x22b,'u#&x')](_0x56a9f3+_0x50ba12(0x2e4,'o*u1')+_0x3831a8)):(_0x3831a8=common['getErrorMsg'](_0x17725d),console[_0x50ba12(0x137,'MY&*')](_0x56a9f3+_0x50ba12(0x25f,'txJA')+_0x3831a8));break;}}catch(_0x5b21a6){console['log'](_0x50ba12(0x2cc,'ua8D')+_0x24d28b+_0x50ba12(0x259,'o@Q5')+(_0x5b21a6[_0x50ba12(0x121,'NNp4')]||_0x5b21a6));}}async function _0x192b16(_0x471882){const _0x4a83cd=_0x367ebc;if($[_0x4a83cd(0x2f1,'OWo6')])return;let _0x54d08f='',_0x411a72=null,_0x439852=null,_0x46f9b1=_0x4a83cd(0x241,'VsF&'),_0x2e2bd1={},_0x47adf4={};switch(_0x471882){case _0x4a83cd(0x253,'u#&x'):_0x47adf4={'appId':_0x4a83cd(0x15a,'kd6U'),'functionId':_0x471882,'appid':_0x4a83cd(0x2f2,'XSDb'),'clientVersion':common['getLatestAppVersion'](),'client':_0x4a83cd(0x165,'kd6U'),'body':{'outsite':0x0,'firstCall':0x1,'version':0x1,'lbsSwitch':!![]},'version':_0x4a83cd(0x1ca,'sQ%V'),'ua':_0x613d49,'t':!![],'bu1':_0x4a83cd(0x172,'IQ3&'),'tokenCache':![]},_0x2e2bd1=await H5st['getH5st'](_0x47adf4),_0x54d08f='https://api.m.jd.com/client.action',_0x411a72=_0x2e2bd1[_0x4a83cd(0xfe,'sQ%V')];break;case'wanyiwan_sign':_0x47adf4={'appId':'d12dd','functionId':_0x471882,'appid':_0x4a83cd(0x256,'u#&x'),'clientVersion':common[_0x4a83cd(0x22e,'kd6U')](),'client':_0x4a83cd(0x107,'ua8D'),'body':{'version':0x1},'version':_0x4a83cd(0x2b6,'kd6U'),'ua':_0x613d49,'t':!![],'bu1':_0x4a83cd(0x122,'fizr'),'tokenCache':![]},_0x2e2bd1=await H5st[_0x4a83cd(0x18a,'E)JY')](_0x47adf4),_0x54d08f=_0x4a83cd(0x2db,'ao2$'),_0x411a72=_0x2e2bd1[_0x4a83cd(0x195,'WRL0')];break;case _0x4a83cd(0x19f,'^@vl'):_0x54d08f=_0x4a83cd(0x14a,'fu%6'),_0x411a72={'functionId':_0x471882,'body':JSON['stringify']({'version':0x1,'lbsSwitch':![]}),'appid':_0x4a83cd(0x13e,'fu%6')};break;case'wanyiwan_point_record':case'wanyiwan_award_record':_0x54d08f=_0x4a83cd(0x2a3,'wm&$'),_0x411a72={'functionId':_0x471882,'body':JSON['stringify']({'pageNum':0x1,'version':0x1}),'appid':_0x4a83cd(0x200,'GYPL')};break;case'wanyiwan_exchange_page':_0x54d08f=_0x4a83cd(0x108,'WRL0'),_0x411a72={'functionId':_0x471882,'body':JSON['stringify']({'version':0x1}),'appid':_0x4a83cd(0x2a1,'*s&B'),'t':Date[_0x4a83cd(0x26d,'kd6U')](),'clientVersion':common[_0x4a83cd(0x209,'R$[8')](),'client':_0x4a83cd(0x1cd,'mNcv')};break;case'wanyiwan_do_task':_0x47adf4={'appId':_0x4a83cd(0x17b,'mNcv'),'functionId':_0x471882,'appid':'signed_wh5','clientVersion':common[_0x4a83cd(0x1ac,'*s&B')](),'client':_0x4a83cd(0x107,'ua8D'),'body':{'taskType':_0x5304ac[_0x4a83cd(0xfa,'oRN4')],'assignmentId':_0x5304ac[_0x4a83cd(0x139,'GYPL')],'version':0x1},'version':_0x4a83cd(0x283,'*s&B'),'ua':_0x613d49,'t':!![],'bu1':_0x4a83cd(0x2d5,'R5Go'),'tokenCache':![]};_0x5304ac[_0x4a83cd(0x2b5,'H*x[')]===0x1&&(_0x47adf4[_0x4a83cd(0x12d,'E)JY')]['itemId']=_0x37ff4a[_0x4a83cd(0x105,'pHvy')],_0x47adf4[_0x4a83cd(0x116,'*SX)')][_0x4a83cd(0x2d3,'u#&x')]=_0x51d542);_0x2e2bd1=await H5st['getH5st'](_0x47adf4),_0x54d08f=_0x4a83cd(0x23a,'oRN4'),_0x411a72=_0x2e2bd1['paramsData'];break;case _0x4a83cd(0x2ab,'fu%6'):_0x54d08f=_0x4a83cd(0x25d,'2nj2'),_0x411a72={'functionId':_0x471882,'appid':'signed_wh5','body':JSON[_0x4a83cd(0x282,'ge]!')]({'taskType':0x1,'assignmentId':_0x5304ac[_0x4a83cd(0x178,'3er%')],'version':0x1}),'client':'apple','clientVersion':common[_0x4a83cd(0x1da,'MY&*')](),'t':Date[_0x4a83cd(0x1e8,'R$[8')](),'h5st':null};break;case _0x4a83cd(0x260,'*s&B'):_0x47adf4={'appId':_0x4a83cd(0x19b,'2nj2'),'functionId':_0x471882,'appid':_0x4a83cd(0x256,'u#&x'),'clientVersion':common[_0x4a83cd(0x1ba,'OWo6')](),'client':_0x4a83cd(0x229,'*s&B'),'body':{'inviteCode':_0x38dfb3,'version':0x1},'version':_0x4a83cd(0x157,'b#$h'),'ua':_0x613d49,'t':!![],'bu1':'lite_0.1.5','tokenCache':![]},_0x2e2bd1=await H5st[_0x4a83cd(0x15e,'H*x[')](_0x47adf4),_0x54d08f=_0x4a83cd(0x1b7,'X%MM'),_0x411a72=_0x2e2bd1[_0x4a83cd(0x26a,'2CPl')];break;case _0x4a83cd(0x142,'b#$h'):_0x47adf4={'appId':_0x4a83cd(0x24c,'iAYM'),'functionId':_0x471882,'appid':_0x4a83cd(0x252,'xwM^'),'clientVersion':common[_0x4a83cd(0x15f,'^@vl')](),'client':_0x4a83cd(0x199,'(FrS'),'body':{'linkId':turnlinkId},'version':'4.7','ua':_0x613d49,'t':!![],'bu1':_0x4a83cd(0x1a0,'MY&*'),'tokenCache':![]},_0x2e2bd1=await H5st[_0x4a83cd(0x18c,'oRN4')](_0x47adf4),_0x54d08f=_0x4a83cd(0x120,'MY&*'),_0x411a72=_0x2e2bd1[_0x4a83cd(0x2aa,'VsF&')];break;case _0x4a83cd(0x1e2,'3er%'):_0x47adf4={'appId':'614f1','functionId':_0x471882,'appid':_0x4a83cd(0x20a,'WRL0'),'clientVersion':common[_0x4a83cd(0x16c,'WRL0')](),'client':_0x4a83cd(0x1cd,'mNcv'),'body':{'linkId':turnlinkId,'turnNum':turnNum},'version':_0x4a83cd(0x157,'b#$h'),'ua':_0x613d49,'t':!![],'bu1':_0x4a83cd(0x11c,']Sd%'),'tokenCache':![]},_0x2e2bd1=await H5st[_0x4a83cd(0x131,'xwM^')](_0x47adf4),_0x54d08f=_0x4a83cd(0x2c3,'u#&x'),_0x411a72=_0x2e2bd1[_0x4a83cd(0x1eb,'OWo6')];break;case _0x4a83cd(0x148,'XSDb'):_0x47adf4={'appId':'25fac','functionId':_0x471882,'appid':'activities_platform','clientVersion':common[_0x4a83cd(0x2f5,'X%MM')](),'client':_0x4a83cd(0x257,'NNp4'),'body':{'linkId':turnlinkId},'version':_0x4a83cd(0x147,'ge]!'),'ua':_0x613d49,'t':!![],'bu1':_0x4a83cd(0x22c,'*s&B'),'tokenCache':![]},_0x2e2bd1=await H5st[_0x4a83cd(0x2bc,'sQ%V')](_0x47adf4),_0x54d08f='https://api.m.jd.com/api',_0x411a72=_0x2e2bd1['paramsData'];break;case'turnHappyDetailList':_0x54d08f=_0x4a83cd(0x28c,'iAYM'),_0x411a72={'functionId':_0x471882,'body':JSON[_0x4a83cd(0x210,'txJA')]({'linkId':turnlinkId,'pageNum':0x1,'pageSize':0x1e}),'appid':_0x4a83cd(0x114,'xF[Q'),'t':Date[_0x4a83cd(0x138,'o@Q5')](),'clientVersion':common[_0x4a83cd(0x211,'^Q8A')](),'client':_0x4a83cd(0x29b,'7nPh'),'h5st':null};break;case'superRedBagHome':_0x47adf4={'appId':'5be1b','functionId':_0x471882,'appid':'activity_platform_se','clientVersion':common[_0x4a83cd(0x2a9,'32LE')](),'client':'apple','body':{'linkId':superlinkId},'version':_0x4a83cd(0x2b1,'wm&$'),'ua':_0x613d49,'t':!![]},_0x2e2bd1=await H5st[_0x4a83cd(0x176,'pHvy')](_0x47adf4),_0x54d08f='https://api.m.jd.com/api',_0x411a72=_0x2e2bd1[_0x4a83cd(0x2c2,'^2YS')];break;case _0x4a83cd(0x1e1,'esad'):_0x47adf4={'appId':_0x4a83cd(0x2dd,'xwM^'),'functionId':_0x471882,'appid':_0x4a83cd(0x206,'xwM^'),'clientVersion':common[_0x4a83cd(0x13a,']Sd%')](),'client':'apple','body':{'linkId':superlinkId},'version':_0x4a83cd(0x258,'iAYM'),'ua':_0x613d49,'t':!![]},_0x2e2bd1=await H5st[_0x4a83cd(0x2e2,'ao2$')](_0x47adf4),_0x54d08f=_0x4a83cd(0x140,'^Q8A'),_0x411a72=_0x2e2bd1[_0x4a83cd(0x153,'IQ3&')];break;case _0x4a83cd(0x2eb,']Sd%'):_0x47adf4={'appId':_0x4a83cd(0x214,'mNcv'),'functionId':_0x471882,'appid':_0x4a83cd(0x125,'2nj2'),'clientVersion':common[_0x4a83cd(0x211,'^Q8A')](),'client':_0x4a83cd(0x21e,'IQ3&'),'body':{'linkId':'Y-rvrlRieX6qg8YqJLwPKg','balance':0x0},'version':_0x4a83cd(0x129,'WRL0'),'ua':_0x613d49,'t':!![]},_0x2e2bd1=await H5st['getH5st'](_0x47adf4),_0x54d08f=_0x4a83cd(0x162,'o@Q5'),_0x411a72=_0x2e2bd1[_0x4a83cd(0x1c4,'DUPO')];break;default:console[_0x4a83cd(0x12e,'o@Q5')](_0x4a83cd(0x280,'XSDb')+_0x471882);return;}const _0x23587a={'rfs':'0000','openudid':_0x2e6c65,'screen':_0x4a83cd(0x123,'o@Q5'),'osVersion':common[_0x4a83cd(0x19c,'^2YS')](),'build':common[_0x4a83cd(0x29a,'^@vl')](),'networktype':'wifi','d_brand':_0x4a83cd(0x2e8,'ua8D'),'d_model':_0x4a83cd(0x277,'wm&$'),'partner':'','x-api-eid-token':''};_0x411a72&&Object['assign'](_0x411a72,_0x23587a);_0x439852&&Object[_0x4a83cd(0x1df,'X%MM')](_0x439852,_0x23587a);const _0x30071b={'url':_0x54d08f,'method':_0x46f9b1,'headers':{'origin':_0x4a83cd(0x1b9,']Sd%'),'Referer':'https://pro.m.jd.com/mall/active/3fcyrvLZALNPWCEDRvaZJVrzek8v/index.html','User-Agent':_0x613d49,'Cookie':_0x51a073,'content-type':'application/x-www-form-urlencoded','accept':_0x4a83cd(0x21d,'b#$h'),'x-rp-client':_0x4a83cd(0x126,'IQ3&')},'params':_0x439852,'data':_0x411a72,'timeout':0x7530};_0x46f9b1==='GET'&&(delete _0x30071b[_0x4a83cd(0x104,'*s&B')],delete _0x30071b['headers'][_0x4a83cd(0x21b,'fu%6')]);const _0x4100ff=0x1;let _0x3b3d32=0x0,_0x5422f5=null;while(_0x3b3d32<_0x4100ff){_0x3b3d32>0x0&&await $[_0x4a83cd(0x230,'3er%')](0x3e8);const _0x1589f1=await common[_0x4a83cd(0x1fb,'o*u1')](_0x30071b);if(!_0x1589f1[_0x4a83cd(0x212,'pHvy')]){_0x5422f5=_0x4a83cd(0x1b0,'xF[Q')+_0x471882+_0x4a83cd(0x239,'NNp4')+_0x1589f1[_0x4a83cd(0x296,'kd6U')],_0x3b3d32++;continue;}if(!_0x1589f1[_0x4a83cd(0x1bc,'wm&$')]){_0x5422f5='🚫\x20'+_0x471882+_0x4a83cd(0x1af,'Lh*@'),_0x3b3d32++;continue;}await _0x51b661(_0x471882,_0x1589f1[_0x4a83cd(0x1b4,']Sd%')]);break;}_0x3b3d32>=_0x4100ff&&console[_0x4a83cd(0x124,'txJA')](_0x5422f5);}}function _0x2c3f(){const _0x3d8555=['W5qI6icw546cWQ0','f8kQqmogsSk3W6xdKSoiWQhcKW','CCoXWOC','u8k8WPqfpbaCWOtcL2tdMZlcKW','vxtcVSkBn8oJW6eM','WRHDbSkzca','ivhdQ8ofgu0','57635ykC562A','p0VdOG','lI1BWRu','WOuCW6O','vCoFjLe1amoGiNhdJc4','C8kUfvxdIhJcKLDbW6q','iZtdPbldTqWvWPPw','xSkxiCoX','6lYe5yEI6AsK6AoP5AEZ6lsv772l','FWNcG8odkCoGB8ol','5yUh5yQxWRi','db7dHmkUWRddUGDax8oYW7NcI8oOWQ3dNmoUwmk2WOK','ksnlWRe','57Y55ykX5Aw85yQW5BAk6Ac55y29776K6lAF5B6C','W67cSSkcWQRdSWnIxhJcUfldRCoy','W7ZcSKS','W5a4p8kVW6RcRa','WRP4W74','xa/dLWZdLHNdVmoxzuxdOSk0WQFdTwi','thxdSqOndsNdJSkKWR3dTwVdPmo2da','w3/cO8k8eCoIW7C','ptDmWRG','W71CWPf8rsvBW57cMbbYW5e','bSkoAWK','f+AjIUwiKKBINQny','iY1i','5Q6q5OMB5yUt77+k57AI6k2J','W6vg6ig654+ijW','WP/cMLVdQmklW6D1y3RcSG','gHmmW7FcNmoO','wCkzmCo1','W4VcKIRdT8oxfsX3wmo2W4u','5lI55yID5yI96kgP5Awj6lAA776X','CSoFW4O','WP/dVWuTW5VdGa','m+s5Q+I0Uos6V+s5VCor','5PcS5lM75Po36Aw06AkK5AA/6lwh77YP','iCk+W4qF','WO8kW7NdMG3dQCovW4zuA8k3','gMxdQmkDCmoGsbddMSkUfmoRW6Dfba','q8k3ASk/bSk5zMdcNfxdQq','4P6jaoIePUAEREI9OoIJLUMbM+wiIos5JoMxJ+ITTXW','x2xdTYe3hJBdJmkqWORdVq','WOjiqmonWQZcHfJdPSkJW5G','WP/dVWCTW5ldH1G','zXxcLCostmohD8od','WOWYm3vZvmoWjt3dVSkvW6ZcPCkzr8o3W4tcL0CEuq','WOCxW6CWWP3dGWan','57Y55ykX56Yg','gx7dPSkjCmohEaNdLmoY','cqSnW4FcNmo4','bNJdPG','ESkEWQxcNmkUw8ocW68Be8kPWRxdO0SadG','g8oRpq','5Aso56E+7722','WQRcMGaZW7RcUM3cImk/WQtcJGWOW7mzfSkQW6W/WRS','WR4lW5eUdNr8W7RcPI5t','lmo5pgDYlZW','kIDlWPZdKSoDnmkoW67dIcVcVCk0jGDZWPNdHSkG','qmkDxSoOB8ofhXtdKmoMWOddTmkDWPOEq3VdRCoD','FWpcGG','57+A5you5AAX5yUb5BAI6AoI5y6A77+N6lAf5B66','qXxdGa','emk5r8ofrSkeW7BdNCoGWPpcK8kDeSkVoCk6','WO8kW7NdLHhdT8otW5P8w8k/WQa1guddQW','FCkFWQxcM8kixCoBW7KB','k8o0aKepWR5ZW6ddQ23cQ2FcVdtdK8owDuJcPW','W4JcLsddRSoxiI0','W63cPu3cUaNdIrb4rK0','W60ufmkxdG','ASkkWQpcKW','WODIWOhdMcrChCkUiJq','vhJcPSk8mCo+','bgJcTKyWWQOrpmkMW4lcJCoOrq','WQ7dK00','BJBcUW','WPZdQmoCW6JcP14LeeBcQ3hdPa','kmoWaMW','Bmk5cSo4rIxcICk6hatdMWCoxSoCbCoRW4zTa8ooW6xdNLOHWQC3WOTkD8oTfNW','W4OxqSo2W4W','WPLRWR5K','rSkBrmouwa','WOXOWPi','W5FcHs3dQSogoq','a23cKq','WQJcLHa/','WQxcJbK','uCkxiG','lJVdUqC','FSkMf8oX','yYNcRcVdUa','5Aw76lw/776x','sgddRW','BJdcQcldGKlcPmkPg24','WOC5ia','eCkVyWrUrmogWOrUdwHuW7LfW4uFpCkxaG','W5mAumk3wbddJ8kzjqO','t2hdQHa','AmkcWQ8','dWmwW7FcGmo+W6eWW4xcKKy','WPZdG8oeWRhcLLesuetcSuxcSCo4lg3cRWhcK3FdGmoasa','5lQa5PA/57225ygR5OQ+57Qrxa','5Q+C5As76lEV77Yj5O6P5AA+','ptVdPbldSHezWO0','WOJdTaa','ESksWQFcL8ovDmohW7i','m+IUM+AYP+wMHUI1MmkP4P6EWO4','WOaBW7NdRWZcOCkvWPT4Amk5W6aSuKtdUZhcJCoOW4ddULhdHKzkWRGppX4bWQq+W4FcGa','WRGqi3xdPJtdMmkX','E8kHtZrCWOv4W6hdIvZcVW','5lII5PAk57225yks5OMN57MYWPi','6lAD5yYx5PAJ5PEf','5y6I5lQN5y+95yMW572i5ykK54+45RcO776w5l+255wZ','WRVdPSogW70','W68IW6tdQa','W7VcTuFcNLxdRHO','WOVLPyhNP7hdTrFNVRpLGQ3MRytMLROExa','tCkBrmoMBCoe','W5GiW4pdUCkKpSk1f3hcUSku','WO9VWRPPWPFdRmkW','WPDiq8oHWRVcK33dPSkOW4GG','W7xcS1O','WQ/cMaa7','WO5/WQH2WOldVCk8WQxcMG','iLVdLSkhs8k6nCokW75ZW78EWQy','FmorWPJdMbS','ztZcQaldRWddPCoQEcJdMa','WPfLWQ0','WOuYiLrtq8oYoaBdQmkX','WOrMWOhdTa','t8kBxSoiD8opbbddKa','WQRcMGaZW7RcUM3cMmkfWQFcVr0WW7qcaSkOW4eH','u27dPGSZkCoDWQRdN8kTdmo5kG','WOLcu8ofWRVcHq','gbqlW4JcL8oiW7WJW7/cT04','v2BdRXW/oSoJWRpdQmoW','CHZcLCoBga','kSkEWPO','eUIVPUAYIowqHEw7GmkS','W4GmW57dImkcjCk3aa','vSk4WO4eba0HWO4','FCk7e8oUsGlcMSkVaJ3dMG','d8kSxComxmojWRJcNmoEWOFcLCoSc8oGimk1W5hdMSo1W53dUmoiW6FcHmkAW5hdJmkUmJ/cPdmhDW','WOzUWO0','56Uq54+35AEM6lEx77+8','DtJcSJ7dTaxdQ8o2AJRdJb7dONFdSq','nCk+W5qTr8oZW7ZcGa','ECkkWRNcI8kptCotW7e9nCkTWQxdRx0edSkVwCo+WPxcQfBcUdj4DCkl','a8k5xCoD','sCkxfSoGcvddSSkp','W5NcItNdJSoDntS','5Awh6lEV77Yn','isDrWRFdH8ob','5AAR56wI77+g','WOX2CCo7WRddV8obWOfgWR4','WRldNvHGfComW6/dICkjAG','WQSlW5ilhwrA','WPfcz8o0WRVcNKxdOa','gmkLya','WPLsbmkPWPPMWO/cJSoyW6DzWPn4','W5SVe8kXW7tcTCkJW4GoW7hcRdFcKmkI','xhtcR8kSbSoPW74SEmkDW4b9WQvilmk0WQ9Aoda3','vg/dPa','WOhcMKtdRa','5BED6k+e57+j6lAA6l2J6l6B6kov5B+G5yMQ6lsc5y2Y','j1hdT8oUp0JdOsNdM3yKW4LKWP8q','5AER5lUG5P6M5AwO576h5ycD5Pwp5ykP','wNdcUCkyjSoLW703t8kBW7DBWQrfkG','BSkhdv/cL17dJbqdWQi','57+257YY5lIQ6Asc6AgA5Aw36lEn77+u','5zoZ57+X5yoh57Uw5P6P','WPbpemoKyIldSCkckJlcJG','W5ZcO04rW7ddVL7cUWO','FCkOhSohwYFcMSk6','qMpdPX0O','daCwW5m','lmoVcMS7ctCuW5Cb','4P+vW7ZMNjFNNlJOR43MS4HF','5BYE5yIp5AwP56A45PEd6ywM','eCkBBqfPkmoNnL4','nNFdQW','W5aDxSouyZFdP8kYcq','5Pg45lUl5PkH6Ast6Aku5AwE6lAM77Ys','ha8pW5C','5y6D6ysq54Ig5Og/57UG5P+nWRpdIsBcLmoDW4qKe1OY','WP3cNLRdVmkkW6a','54ID5OgM5PYy552/776Z','5AES77YS6i6l5BYw','5zc25y+V5yso5Q2f5y6h5lMI','DSoeW5NcMf01oYP9vX8YB3FdHhOBeSozFL7cQrm6','FqNcGmotl8oSB8obW4DHW5iaWR0GiSkNW7qAA0hcTq','imo+eq','wYdcSSoxi8kqebRdS8kWhCouW7i','ESksWQFcL8ovECoDW6Omnq','W6fbDJJcIMJcH8oKWQDPW4BdHSo2rW','WPzfnmoXyI/dJmkr','qSkws8oVFSojpXtdMmoWWQW','WPNdSWi0W5i','pYDmWQxdN8oD','e8k4zsD9','WQFcLHm','xCkIWPZdHSkoc8oM','bCk3rSoqsSksW7K','nehdSComfL3dTcRdLNm7W4XeWOyCWRpdOmoNqmkfamkIgGa','WPX6WRPPWPm','WQ7cGr0U','WPbMWPhdHJvohmk7','WOpcLe4','uCkDk8oZd1e','x8krp8oxff3dUq','CtdcUYNdUbBdLCoVxw4','WQrYW6NcVfy8','B8kJeudcIGhdKG1oW6ddOSkfbCkyWQDsWPdcV2Kpq8kFu8kYp8o1mvtcRmolce7dGCo+','4PQ+WPdOHyFLRBlKUAFOV5/OOzJPL7hPMOJML5hPLiNORQlNVAZPLydORye','6AkP5y6S5AEX5yUy5AAv6lwU776d','WRxdNur4eCoiW4RdHSkIE8keWOBdR1DwtK5TWPOLkW','dGOnW53cGa','ACkOdSo1','emoHlSodvSkJwNFcKhddLN7dKYtcRefyESkq','W48mW4xdNCk7p8kEbeJcQa','WQJdPSoCW6xcQ0CWu03cPMddSSoGc17cGZ3cVLVcHmo3rGDHWOu+W4O','WOhdVXG/W4pdNa','FSk8cSoXxrtcJCkQnWRdKMWwtmoe','CmovW5NcOubSE2H5','WPr+WOxdShbHg8kI','BSocW4tcKKTBBxv5','m8o5uG','5yAZ5OY15yMb6kg55Asq6lsu776h','572e5ygG6AcX5y2Q5AEN6lwP77+a','zX7cKmos','lmo3cwvEmYGe','qSoKia','W5KcqCoVW4uQ','eCkVyW19qSomWOvxp38','xhdcP8kT','crldISkHWR7dQGC','BdJcSsi','iSk6W4q2bSoHW7O','6yoo556q5O+T6ycaWOH9W64','WQabW4e','W7dKU6JKURq','nehdSCofbvVdVIVdR0eS','WOLcuW','t8kQWPtdPmkmhmohAx58','thVdVaiPzmktW6VdOCk1cSk6iSklW5JdLWD2WQamvmk3hSkx','pupcKmodfmoLCCkbW6nHW7mkWR44fmkOW5K3yeNcOmk6W78','BSocW4tcKKTlzMrRCrK','WR/LPABOTBpVViVLIOJLIQRLTA/MUQS','5Bgc5lQQ6kY75AYA576m5ycK5PEH5ygL','W4pcTqmSW57dMf/dGXtcIfxdMCkYpmoABG','gb7dHmkMWRddUGC','WRNdQ8oDW7pcSa','aSk2xW','4P6An+AES+IaPoATLoEGPUwMPoErO8oQ','5lII5yQm5yMH6kkD5AwC6lES77+8','yCkBWRlcGmkhtSoxW4SBmCkP','54215zYi5y+t5lMK5y2Y5yI657+N5yc1542J5Rcd5zE+Aa','pIpdVqpcLZSBWP1mWPm','WRLNW7ZcQ1y8W4uXWRnuyG','DSktWQ/cISkEqSokW6CAoCk0WQ7dVLOoe8k0rmoVWPVcTxhcOt1HF8kxwCk4ArTynmkhWQOWiSk9WObH','rwZdVbS1mmoOWR3dSmkG','xmkAnG','jJpdUqpdUuHAW5KmW5i','57Y+5ycT56Yq','WOVcML3dQa','W5eiW5ldMmkekCk3cKRcRmkWW7ZcI8kRWR4cC8kXWRtcMCop','WQnmu8oUW4i','WO4Yohzvwq','WOPEe8o1y3ZcJCozkJBcGSoHa1jCc1nzW7WyWRyoW5zwW5RcHCkKWQOmWP7cIJddRCk9','5Pgu5lMS5PkI5AAg6lwy776t','W7pdGbC8W6K','DmoQWObiaSkHWR3cLxhdG8kZWPvk','WRZcMb0UW5JcUNtcLa','F8k8fmorqsi','gCoHlSogwCk0ugNcGq','WOvpe8onjtxdLG','5yUd5yQmW5O','56IZ546g5Awh6lw9776T','WR7dGSkFWQ3cTfDNyNZcVtpdOSo4leVcVHJcRKtdGCozFG','5yIW5yMh5Asm6lE477YG','5OQF5yYp5AAx6lwQ772M','WR9hW7hcTLKT','W75EWPz/','e8oSW5fdy1X0WOlcVvVdUXlcNq','gwpcM10TWP47aSkoW4pcGCo9t3tdRg5C','dNJdR8kc','fCk9xSoDxCkxW4hdKSotWOlcMq','pSo0bxGcWR5gW7ZdR2xcTxhcHq','r/cVS5ZdSoI9O+IJPEE6GUADOCkq','F27cVL/cNK1gW5HLWO/dGSotWPbQ','WP3cJKFdJmkiW7a','W6RcTvRcS1/dRIb6qaW','WOtKU5BLI5FLPQpLI5W','WQvIW7RcULi7W5m','W5yUomkkW6ZcTSkzW48pW4lcSIRcP8k/smkCj8kCW60','WPldIoIcN+EmISoP','WRZcGrtcOEAjMEwfHvdMLlVLHy0r','WPWoW77dTcVdOSokW5e','6AoS5y+b5AEx5yMw5AsK6lAg77Y9','fmk0qmoFsG','5zgP5yY35yAK5Q6D5y+T5lU9','nCk+W4iFxSoHW4RcLw/dIa','uSklsCoIFmoFgc3dKmoNWRZdOCkFWO8lqNe','W4eiw8o0W703W5RcGSoX','xdVdKga6WQWlnSkl','WOCcW5WtWOddJa','e8oLlSoU','zJJcQcy','W5lcLcBdOmo7nq','WRZcMbOJW6xcPhJcN8k/WQdcGX43W4OAdCk0W4C','WRDNW6NcTvi','sCkkxSoXASkwrfldLmoLWRBcQSkCW5uaqtRdVmoFtqXgW71ZWONdMdijB8olzmkCWRjD','p8oZdKT4odCtW7qgEq','hxNcI0i9WQ8NhmkU','c8o4W5BcTCoqaCoABhj5W5u','sSkrk8oafe3dVCke','5PcP5lIm5PkU5Asa6lwS77+h','W5iKkmkJ','5lQH5PAE5Bwc57Yz5yoC','6lwr5y2Z6l6D5RMRdCo3za','tCk2WOa','uMtdNbm8gWBdJSk0WPFdNhFdQSoUdmoW','WRfYW63cIuuNW5GCWPLqzSkFW4/dRG','WOm0iNHxwmoPiY7dQmkjW7pcPSktwSo0W6lcI04','dHxdHG','WQDpwmo4','WRNcNbu5W6tcL3JcImkSWR3cJWqO','WO1MWOu','WQ5mgmkmbmk+WOFdNSk1WP/dISkIFa','WQf2W7dcRq','WONdUWi5','aMxcNvqwW61Gq8oNWOm','5zoH5yYu5yAK5Q6O5yYK5lQA','WRj2W63cUa','EqJcUSoabmo+xCoAW4r2W78bWQCM','aW/dHmksWQlcTe0CsSodW6ddLCotW6BdHmo5h8k6WOGIsXddKSoY','FGNcLSoehmoUzW','WPSFW7CgWRBcKLXiWO4W','bIldUSoIBCk/WQe','ySkeWRa','bSk7xCovwCkAW6pdMSoAWOtcO8kYcSkVpSk3WPddI8o3','W4nsBCkRWODUWPNdLW','WOutW7awWOxdLG','6kAm5As/5Bco5PEM776/57M65PYo57Yg5ykx776f6ls55B2A','fCoqhq','572e5ygG6lEv5BYR','WQJdMhv2aCoiW7tdT8kjy8kzWORdOeD6','gNNcM18bWRW+aSkWW6tcGCoTwvxdTwy','x8kxiCoT','xN7cRq','WOjiqmofWRVcHutdTCkjW44I','jJxdQG','WQZcNaasWRNcOg0','bCk6EYf7','gbmrW5O','kCkWW5C','eSkRyYK','WQ3cKbGUW6NcOq','bXtdLW','xh7cVq','d3NdOSkvBmotuZ/dJ8k0gSocW6HfbmobumoYWO8','cwNcNx0OWQKRaCk9W7FcLmo+ALNdSxbqW7RdPW','WPatW7CGWOBdJrKqW4vttCkeWOOM','576v5ycb6AgV5y+N5Aw46lE4772u','WO4gW6pdVHpdT8od','WQZdRSovW7lcP1qosNRdPW','W4/cLthdO8o6mc5MvSoKW4/dLmkVWR/dKvC8WPRdPG','jmoLaN0DW7a5WRZdVLZcSJNcH3/dI8obmKtcPJT4uSk3WO4','W7RdMSkBW6dMIQhLH79+5Psl5yw3W7O','ECk8cmo6zYFcMmk+dcpdMKub','56Is542Y5OQ25yUq772W5OYZ5lQ5','FCkEWRtcKCkdsCob','5yYu6yAH5B6M5zgG54Uk5OcraSkOW659gSkyW6r3WOjK','jSkWW5qB','vSobka','W63cQu/cS3ldQW99uwSRdJn6WPXm','57Y35ygJ5O+55Aw+','WRFdS8ogW6ZcSqP+eNpcOMJcR8oMEKBcGNdcUf3cN8k9EGP/WOeIW5RdH8kgxmk0WQ0PDG','BdZcQa7dSXhdPCo1ua','ktVdUqxdJG','rCkFxSoG','5lIz5yU25yMb6kg55Asq6lsu776h','W5/cGtFdRa','WRyCp0ZdGtO','WQFcKbOXW5ZcOxdcI8kfWPRcLWa','nmo5hq','W5Sgqmo7W4qTW7pcHSo2W7a','W5ZcHtFdImoaiZfKySotW40','WR4lW5eUdNrPW7tcVZvc','mCkWW6mkqCo7W6dcKW','oCoNtq','57+157Yq5lQh6AwK6Akt5Asl6lAx776f','WOvpe8oayJtdJCkebJxcJa','fCoYjILR','WQLpwW','5P+k55+I5AAJ5zgu772B','rSkBxSoeA8oEba/dUmoMWRG','p8oZdKy/osW','nehdSComfL3dTcRdLNm7W4XqWPyhWQZdRCoEsW','5zgK5y+45ysm5Q+g5y+x5lQT','5QYo5OMQ5yI4772L57Al6k+Q','wMxcVSk4j8k2WRXSB8kiW6O8WQCnl8k1W4HxmZHGrtRdGq','xWJdJHpdGq/dQ8osuhldQG','5lUi5PA85zgq5PMV5Pw46ykp5PQL5lIx77Y55BQH6kYr6lgU5PE/57+/5yki5Q2x5PA35zgk572k5yoK5PA+5ygn','f8k6zYrQ','W67cVvtcQq','pmo3dM8','WPVINBXJ','i1BdRmo6eMRdVJFdHfSSW7jNWP4q','WRldJKn7hCo7W5NdICkkxCke','5yM95yUUhG','rSkBxSonEmoydG7dGCouWQ/dTmkNWP4yvN3dSmoE','DWNcKCowfmoLtSohW4jW','5Bo+5lM157+s5yke6zso5Qwp','rCk4WPmr','WPzyrmoLWRVcPu7dO8kgW5WIBfVcIJy','WPjmxCo0','W4CorSo/W7zUWPNdLSkSWQq','emoHlSokrCkLuhBcQuldGq','6lwe5yYy5PE/5PsG','WOffa8oG','W5ZcHtFdHCkhiIO','FCoFW4NcJq','xw7dOby8hc3dV8kUWORdS3NdQmo3dmoSydBcMa','u8kKWOe','W4ijuCo2W5W6W5lcLa','W6eueSkxxW','W50KkW','5BYa5yMP5AEt56EO5Psh6yEM','W5SmW4pdNq','aMpcJNGN','WQxcNaatW6lcShBcNmkf','nu3dQCo0eLS','k8oJgw1VosS','thxdSqOndsNdJSkKWQVdV33dO8oZh8oN','WRfYW63cNvy8W4u','WR1maSku','uCkmq8o7FmoOgrZdGSodWRa','WOXdr8oLWRVcGW','WOqaW6O','Cmk2detcRvlcKeC','wSkDmCoCtKRdQa','bCk/DcTQq8oq','WO8kW7NdL0RdQmoo','cx/dOmkjCSogCXFdKCkIaa','k8o0aKKpWR5Z','WPZcKK7dP8kdW7b1y3FcOa','WQzpwmoK','W4WcrSoFW5SSW5JcLCopW6jW','WOCeW6OzWOZdOr0xW4zSs8kMWP4UW7q','5As+56so5OU35yExW4JcRmov','WORdVWiDW4xdHKpcNGVcNLa','uCkFwmoGDmoFlXZdGCo0','5lUF5yQU5yQF6kcA5AwR6lw7776M','oKRdPSoSaK3dTcO','DaNcKCoYd8o7BCoCW7X3W7y','WOf3WOxdUsq','ECovW4pcVvTMCa','bCk5hmkmgG','wmkUWPldICkag8oME35uW5uFWRNcRGaCWOlcOmku','W5WgxmoJW4aPW5BcICoDW7bKWQzWWOXa','q2RdVdCOlmotWRBdJCk2ba','jexdQ8o5hL7dSdFdVuyQW49TWQWzWRBdT8of','bXldHmkhWO7cVKWcbCkg','W4WyW5tdN8kZp8kPnvNcU8kqW7BcISk0WRyaxW','amk9xCo5xCkbW7JdGCoYWOtcMW','aMpcJG','wbVdIrddJtZdUmoDEfFdRmkxWRS','FrNcIa','iSk6W4q7qCoGW6hcHLBdMSkh','CSovW4pcJ1PN','lmoVcMS5bc0m','WOnewmo0WQZcHq','WQZcNaaEW63cP3W','WRaumwa','ztZcQaVdVaBdR8oRqrRdJX3dNwhdTWxcRSkPW58','WQdNIRZMG4VMNk/NNjpVVPu','WQZdSSoqW6/cTKi4u3u','W4xOR5RMSBBLPRhOT6ZdL+kET8kN5PsK5zgW5BUr5Pwu5O2A','8yE7Vhy','W7pcS1tcSW','baKf','WRVcJaCY','cM3cNva','t8kBt8oLs8ojbHldG8oWWPZdQ8kEWPadqf3dSCourvS','nehdSComge7dUdFdSuyQW4HZWOa','W5K/omk2W77dUmotWPmAW7pcQ3tcNmo0umklymkqW6X+f8kMWODNWRdcMM80DCk0t8oUh8k+','B8kgWRJcH8kitG','bNJcNue6W6DHxCk5W4tcI8oQwuRcRw4xW7/dRCkgpIjC','WOJcNL3dHCkhW6buCxRcKHTvWQT6WQBcP8ovtHO','hbmqW5ZcUSoTW74YW7hcQu45WRa','y8k2eve','WQalW4GOchG','gXmbW5hcL8o/W70','W5KbW5JdK8kK','6lYq5yAC6AEI6AcV5AA96lE277Yd','5B6U5yMh6k205A6F57Yn5ykc5PAL5yo3','WOutW6CwWORdHW','5Aw356Aw77YM','WQqun2ddNY7dSCk1WPrG','v8kCgSoJaK7dG8kgW5JdGSooy1S','5yEU5OYp5yQG6kou5AEN6lwP77+a','w3/cUCkTjSo4'];_0x2c3f=function(){return _0x3d8555;};return _0x2c3f();}
|
||
// 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)}
|