/* PDD转赚红包抽奖提现 入口:京东APP——玩一玩——转赚红包 链接:https://pro.m.jd.com/mall/active/3BwUqhLsJYrHP4qgAgDDJGrSVngK/index.html 轮询提现变量:JD_PDD1_TXNUM //轮询提现页数 提现间隔时间:JD_PDD1_TXWAIT //提现兑换间隔,默认 3 秒 抽奖间隔时间:JD_PDD1_DRAWWAIT //提现兑换间隔,默认 3 秒 提现变量:JD_PDD1_TXCASH //是否提现,默认不提现(true/false) 提现上限刷新时长变量:JD_PDD1_Swish //是否延长提现时间,默认不延长(true/false) 配合提现页码,上限后延长,可以延迟到期时间,最终效果可以推迟到下个月直接提现。 重试变量: JD_PDD1_TXMAX_RETRY // 已存在状态/待发放,提现中,等最大重试次数 默认 3 次 JD_PDD1_DRAW_RETRY // 抽奖 提示未中奖等最大重试次数 默认 20 次 兑换红包变量: export JD_PDD1_Exchange="true" // 上限后兑换红包,默认关闭 注意:轮询页数也大,越容易403,请谨慎填写 代理变量: JD_PDD_PROXY_OPEN // 代理启用变量,默认不开启(true/false) JD_PDD_PROXY_TUNNRL // 代理池代理地址变量,默认不开启,仅支持代理池模式(auto-proxy-pool),格式为:http://ip:port JD_PDD_PROXY_URL // API代理地址变量,默认不开启,仅支持 数据格式:txt;提取数量:每次一个,格式为:http://api.xxx.xxx JD_PDD_NO_PROXY // 禁止走代理,默认 127.0.0.1,*.baidu.com 需要自行修改 cron:1 1 1 1 * ============Quantumultx=============== [task_local] #PDD转赚红包抽奖提现 1 1 1 1 * jd_pdd1_draw.js, tag=PDD转赚红包抽奖提现, enabled=true */ const $ = new Env('PDD转赚红包抽奖提现'); var iil='jsjiami.com.v7';const i1lII=iii1II;(function(lIlllI,III1lI,I11i,ll1IlI,I11l,Ili1l1,iilIil){return lIlllI=lIlllI>>0x2,Ili1l1='hs',iilIil='hs',function(illI1i,i1IiII,illI1l,l1ll1I,i1lI1){const Ili1il=iii1II;l1ll1I='tfi',Ili1l1=l1ll1I+Ili1l1,i1lI1='up',iilIil+=i1lI1,Ili1l1=illI1l(Ili1l1),iilIil=illI1l(iilIil),illI1l=0x0;const l1ll11=illI1i();while(!![]&&--ll1IlI+i1IiII){try{l1ll1I=-parseInt(Ili1il(0x22f,'^o&i'))/0x1+parseInt(Ili1il(0x123,'VN$V'))/0x2*(-parseInt(Ili1il(0x398,'#flU'))/0x3)+-parseInt(Ili1il(0x33f,'&uHj'))/0x4+parseInt(Ili1il(0x185,'xEIs'))/0x5*(-parseInt(Ili1il(0x20e,'mDhq'))/0x6)+-parseInt(Ili1il(0x367,'[8bq'))/0x7*(parseInt(Ili1il(0x235,'zW#t'))/0x8)+-parseInt(Ili1il(0x16f,'@G2C'))/0x9*(-parseInt(Ili1il(0x175,'wk*Y'))/0xa)+-parseInt(Ili1il(0x316,'O[Op'))/0xb*(-parseInt(Ili1il(0x18e,'w#)B'))/0xc);}catch(I1I111){l1ll1I=illI1l;}finally{i1lI1=l1ll11[Ili1l1]();if(lIlllI<=ll1IlI)illI1l?I11l?l1ll1I=i1lI1:I11l=i1lI1:illI1l=i1lI1;else{if(illI1l==I11l['replace'](/[bkFERMnPYuALOIGpl=]/g,'')){if(l1ll1I===i1IiII){l1ll11['un'+Ili1l1](i1lI1);break;}l1ll11[iilIil](i1lI1);}}}}}(I11i,III1lI,function(lIllli,lIllll,I11I,ll1Ili,i1IiIl,i1IiIi,ll1Ill){return lIllll='\x73\x70\x6c\x69\x74',lIllli=arguments[0x0],lIllli=lIllli[lIllll](''),I11I=`\x72\x65\x76\x65\x72\x73\x65`,lIllli=lIllli[I11I]('\x76'),ll1Ili=`\x6a\x6f\x69\x6e`,(0x14d565,lIllli[ll1Ili](''));});}(0x2f4,0xc4f7c,Iii11l,0xbf),Iii11l)&&(iil=0x31ac);const i1liI=require(i1lII(0x32f,'M)%z')),iilIIi=require(i1lII(0x305,'&uHj')),I1iII=require(i1lII(0x2fd,'tdSP')),IIlI1i=require(i1lII(0x1ac,'Etkh')),iiiI1i=process[i1lII(0x3fa,'FQ3K')][i1lII(0x19a,'mDhq')]===i1lII(0x29b,'#flU'),iiiI1l=process[i1lII(0xf5,'cTPY')][i1lII(0x3ec,'&uHj')]===i1lII(0x19f,'Gtin'),Ili1Ii=process['env']['JD_PDD1_Swish']==='true',Ii1l1I=process[i1lII(0x341,'w*aP')][i1lII(0x387,'yHAa')]||'1',iilII1=process[i1lII(0x1cf,'zW#t')][i1lII(0x1d2,'[8bq')]==='true',iiiI11=process[i1lII(0x38d,'*sZf')][i1lII(0x422,'yF0#')]||'3',l1lilI=process['env'][i1lII(0x1a9,'H8B5')]||'3',i1Iil1=process[i1lII(0x394,'eaEv')][i1lII(0x315,'s@&D')]||'3',liI1Ii=process[i1lII(0x166,'@^Ra')]['JD_PDD1_DRAW_RETRY']||'20',l1lil1=i1lII(0x272,'yHAa'),i1lil=process[i1lII(0xf5,'cTPY')][i1lII(0x3d9,'kwy5')]===i1lII(0xb9,'NHp%'),I1iIl=process[i1lII(0x2b3,'w6AG')]['JD_PDD_PROXY_TUNNRL'],IilII=process[i1lII(0x204,'tcXu')]['JD_PDD_PROXY_URL'],ili1l=process[i1lII(0x26c,'wRC5')][i1lII(0xd5,'@G2C')]||'*.kingran.cf,127.0.0.1,*.baidu.com';let i1lii='',iilIII=0x0,liI1Il=parseInt(iiiI11)*0x3e8,I1iIi=parseInt(l1lilI)*0x3e8;$[i1lII(0x285,'Gtin')]=![];let iiiI1I=![];if(i1lil){iiiI1I=!![];try{require('global-agent/bootstrap');if(IilII){console[i1lII(0x163,'wk*Y')]('\x0a☑️\x20API地址代理已开启:'),console[i1lII(0x23e,'^o&i')]('☑️\x20代理地址为:'+IilII+'\x0a');let ilI11I=/[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+\.?/g;global['GLOBAL_AGENT'][i1lII(0xaf,'3d!N')]=ilI11I['exec'](IilII)[0x0]+','+ili1l;}else I1iIl?(global[i1lII(0x14a,'FQ3K')][i1lII(0x16d,'O[Op')]=I1iIl,global['GLOBAL_AGENT'][i1lII(0x1f7,'oc0H')]=''+ili1l,console['log'](i1lII(0x3cf,'NyHV')),console['log']('☑️\x20代理地址为:'+global[i1lII(0x397,'#flU')]['HTTP_PROXY']+'\x0a')):(console[i1lII(0x108,'NyHV')]('\x0a⚠️\x20当前检测到已开启代理,但未填写代理地址变量'),console[i1lII(0x295,'yHAa')](i1lII(0xa7,'@^Ra')),console[i1lII(0x39b,'zW#t')](i1lII(0x101,'xEIs')));}catch(ili1I){console[i1lII(0x171,'mDhq')](i1lII(0x279,'*sZf')),console[i1lII(0x172,'tdSP')](i1lII(0x18f,'qrW9')),iiiI1I=![];}}else console[i1lII(0x2e7,'N[aO')](i1lII(0x346,'Gtin')),console[i1lII(0x28c,'kwy5')](i1lII(0x432,'^o&i'));let lilI11='';const Ili1II=Object['keys'](i1liI)['map'](iilIIl=>i1liI[iilIIl])[i1lII(0x320,'XR$6')](i1Iili=>i1Iili);!Ili1II[0x0]&&($[i1lII(0xdf,'UOB]')]($[i1lII(0x2be,'M)%z')],i1lII(0x146,'UOB]')),process['exit'](0x1));!(async()=>{const iilIii=i1lII,i1Iill={'VTpkR':iilIii(0x168,'eaEv'),'pxAFJ':iilIii(0x2a8,'eW9V'),'SDgOc':function(l1IiI,l1lill){return l1IiI$['logErr'](IiIil))[i1lII(0x3e0,'HyIu')](()=>$[i1lII(0x3c8,'wk*Y')]());async function ili1i(){const iII111=i1lII,IiIii={'dfqQi':function(iill1l,IiIiII){return iill1l(IiIiII);},'RmOYT':iII111(0x2bb,'eW9V'),'LrXkr':function(iill1i,l1Il1){return iill1i+l1Il1;},'iBboa':iII111(0x19c,'XR$6'),'CZqVa':'\x0a☑️\x20代理池代理已开启:','lUeQq':'\x0a⚠️\x20当前检测到已开启代理,但未填写代理地址变量','znCdQ':'⚠\x20代理池变量:export\x20JD_JF_PROXY_TUNNRL=\x27http://ip:port\x27','SrxGJ':function(iill11,I1IliI,III1II){return iill11(I1IliI,III1II);},'vJrko':function(l1I1II,iIIlil){return l1I1II(iIIlil);},'kAaMa':iII111(0x274,'^o&i'),'lYVOK':function(IiIiI1,iIIlii,llIII1){return IiIiI1(iIIlii,llIII1);},'OrNSl':function(IiIiI,iill1I){return IiIiI+iill1I;},'bAXEM':iII111(0x27e,'&uHj'),'oZlIv':function(Illi1,l1iiIl){return Illi1===l1iiIl;},'OTlOS':iII111(0x3c9,'FQ3K'),'egmWG':function(lIIi1i,liI11I,III1){return lIIi1i(liI11I,III1);},'nmVks':function(l1IIl1,l1iiIi){return l1IIl1*l1iiIi;},'xoRFi':function(lIIi1l,I1lI1i){return lIIi1l==I1lI1i;},'dXYhb':iII111(0x2c0,'&uHj'),'iQxla':iII111(0xe3,'N[aO'),'dpECt':function(illili,iiiII1){return illili(iiiII1);},'zOQDk':iII111(0x223,'xEIs'),'hjzlT':function(liI111,IiIlI){return liI111+IiIlI;},'vQVPB':function(iIlI1i,iII1Il){return iIlI1i!==iII1Il;},'UIVTi':iII111(0x3b6,'VN$V'),'nwomt':iII111(0x21a,'#kv0'),'VDFVW':function(IIIliI,iII1Ii){return IIIliI0x0)for(m=0x1;$[iII111(0x20f,'G[f9')]--;m++){if(IiIii[iII111(0x35b,'mDhq')](IiIii[iII111(0x2ed,'tdSP')],iII111(0x191,'urp)'))){IiIii[iII111(0x3b2,'w#)B')](iii1I1,IiIii['RmOYT']);if(II1Ii){lI1Iil[iII111(0x264,'qrW9')](iII111(0x2e5,'M)%z')),lilIiI[iII111(0x2a7,'!3m$')](IiIii[iII111(0x263,'[8bq')](IiIii[iII111(0x1cb,'yHAa')](IiIii[iII111(0x3b7,'qrW9')],i1l1I),'\x0a'));let llIill=/[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+\.?/g;IiilIi['GLOBAL_AGENT'][iII111(0xd1,'@^Ra')]=llIill[iII111(0x395,'[8bq')](IiilIl)[0x0]+','+iii1Ii;}else IliI1I?(iii1Il['GLOBAL_AGENT']['HTTP_PROXY']=lI1IiI,i1lI[iII111(0x3c5,'@G2C')][iII111(0x3e4,'urp)')]=''+IlI1l,lilIil['log'](IiIii['CZqVa']),i1l11['log'](IiIii['iBboa']+i1l1li['GLOBAL_AGENT'][iII111(0x3d3,'M)%z')]+'\x0a')):(i1ilii[iII111(0x366,'ggCl')](IiIii['lUeQq']),iIIII1['log'](IiIii[iII111(0x428,'Gtin')]),i1l1ll['log'](iII111(0x2c6,'tdSP')));}else{console['log'](iII111(0x1b9,'mDhq')+m+'次抽奖'),await l1Ii1(iII111(0x121,'eW9V')),await $[iII111(0x287,'NyHV')](IiIii[iII111(0x111,'#kv0')](parseInt,IiIii[iII111(0x2ae,'xEIs')](I1iIi,0x1)+0x7d0,0xa));if($[iII111(0x42d,'mDhq')]&&!$[iII111(0xea,'#flU')]&&!$[iII111(0x117,'UOB]')]&&IiIii['xoRFi'](l1lil1,'EcuVpjGGfccY3Ic_1ni83w')){if(IiIii[iII111(0x3da,'O[Op')](IiIii[iII111(0xbc,'^o&i')],IiIii['iQxla'])){const lIIi1I={'LEMaY':function(l1IIil,l1iiII){return IiIii['dfqQi'](l1IIil,l1iiII);}};i1ill[iII111(0x1c5,'s@&D')](I1l11l,(I1lI1I,lIi1i1,l1l11)=>{const Ili1ii=iII111;lIIi1I[Ili1ii(0x15f,'w#)B')](i1l1Il,{'err':I1lI1I,'res':lIi1i1,'data':l1l11});});}else await IiIii['dpECt'](l1Ii1,IiIii['zOQDk']),await $['wait'](IiIii[iII111(0x14f,'G[f9')](parseInt,IiIii[iII111(0x3c1,'o$d[')](IiIii[iII111(0xa9,'A4Aq')](I1iIi,0x1),0x7d0),0xa));}if($[iII111(0x299,'!3m$')])break;}}if(iiiI1l){if(IiIii['vQVPB'](IiIii['UIVTi'],IiIii[iII111(0x3e2,')PK7')])){console['log']('\x0a当前设置轮询提现页数:['+Ii1l1I+']');for(let illill=0x0;IiIii[iII111(0x1fd,'NHp%')](illill,Ii1l1I);illill++){if(IiIii[iII111(0x10f,'xEIs')]===IiIii[iII111(0x164,'*sZf')]){$['pageNum']=illill+0x1,console[iII111(0x25d,'#flU')](iII111(0xfb,'Etkh')+$['pageNum']+']\x20页'),await III1I1($[iII111(0xae,'oc0H')]),await $['wait'](IiIii[iII111(0x12a,'cTPY')](parseInt,liI1Il*0x1+0x1388,0xa));if($[iII111(0xb7,'#kv0')])break;}else ilI1ll[iII111(0x41c,'Etkh')]('⏺️\x20'+Iillii['code']+'-'+IlI1iI[iII111(0xdd,'wk*Y')]);}}else{const I1I1Il={'tvuXF':function(l1l1I,iIlI1I){const lIiIil=iII111;return IiIii[lIiIil(0x3c0,'&uHj')](l1l1I,iIlI1I);}};return new iIIiii(async I1I1Ii=>{IiIii['SrxGJ'](iIIiil,()=>{const IiIl1={'OMggc':function(IIIl,IIIi){const llIiii=iii1II;return I1I1Il[llIiii(0x21c,'^o&i')](IIIl,IIIi);}};I1iIIl['get'](lI1IIl,(l1IIli,iII1I1,iiiIIi)=>{const IlII=iii1II;IiIl1[IlII(0x335,'!3m$')](I1I1Ii,{'err':l1IIli,'res':iII1I1,'data':iiiIIi});});},0x0);});}}else console[iII111(0x41c,'Etkh')]('\x0a⏺️\x20当前设置不进行提现!');}}catch(lIi1iI){console[iII111(0x171,'mDhq')](lIi1iI[iII111(0xc0,'rK6*')]);}}async function IiIi1(l1IIll,iiiIIl){const IiIili=i1lII,lIIi11={'zOnmm':function(illiii,IIIll1){return illiii+IIIll1;},'HWUWl':IiIili(0x12e,'@G2C'),'tFnlb':function(illiil){return illiil();},'VoMBr':function(liI11l,l1l1i){return liI11l(l1l1i);},'GvorX':IiIili(0x137,'mDhq'),'gHmHp':IiIili(0x2aa,'kwy5'),'SXJmD':function(I1I1II,i11ll){return I1I1II===i11ll;},'kjVht':function(Ili11I,i11li){return Ili11I===i11li;},'aSGEp':function(Illil,iil11i){return Illil==iil11i;},'aObbO':function(Ill1II,llIili){return Ill1II==llIili;},'vmaxi':IiIili(0x1ff,'UOB]'),'PDJcn':function(Illii,iIlI11){return Illii===iIlI11;},'rfmgK':function(IIII,l1IIlI){return IIII!==l1IIlI;},'GYkOd':'ZmpVQ','qPYyY':IiIili(0xd9,'M)%z'),'KJxaa':'inviteFissionHome','UyUox':function(iil111,llIil1){return iil111===llIil1;},'HZsFV':function(iiiIII,Ill1I1){return iiiIII===Ill1I1;},'CBMYp':function(lIi1ii,lIi1il){return lIi1ii===lIi1il;},'yTWgB':IiIili(0x19d,'o$d['),'sejKO':IiIili(0x1df,'XR$6'),'Tnmop':IiIili(0x391,')PK7'),'vPbVg':IiIili(0x1bd,'oc0H'),'IIuin':function(liI11i,l1l1l){return liI11i===l1l1l;},'ycIzE':'未获得提现金','cyfDv':function(illilI,IiIli){return illilI==IiIli;},'nuBFd':'vpiou','IgVGg':function(illil1,IIIlii){return illil1==IIIlii;},'SGyTc':function(iil11I,iII1II){return iil11I==iII1II;},'JFRZV':'活动太火爆,请稍候重试','zZkEq':IiIili(0x20c,'3d!N'),'SKWTO':function(IiIll,llIilI){return IiIll==llIilI;},'PudlN':IiIili(0x246,'@G2C'),'aTblB':'inviteFissionDrawPrize','kiaab':IiIili(0x210,'wRC5'),'kEkph':function(IlliI,I1I1I1){return IlliI/I1I1I1;},'SIwsH':function(IIIlil,Ili111){return IIIlil*Ili111;},'tbVCg':function(Il11,iiil11){return Il11+iiil11;},'WwdGP':function(llII1I,ilI1II){return llII1I+ilI1II;},'dIDbC':IiIili(0x1d8,'zW#t'),'dHxHR':IiIili(0x307,'!3m$'),'BWmwG':function(iillI1,i11l1){return iillI1/ i11l1;},'lEStF':function(IlllI,iliIl){return IlllI*iliIl;},'YBAqE':function(ii1i11,ll11II){return ii1i11+ll11II;},'Hinja':function(liIlII,Il1I){return liIlII+Il1I;},'GAhHs':function(iii1i,iii1l){return iii1i+iii1l;},'wAens':'抽中现金:','RiOtS':IiIili(0x273,'kwy5'),'pPrLh':function(iliIi,iiil1I){return iliIi==iiil1I;},'vUerO':function(llII11,lIiI1){return llII11==lIiI1;},'rBssY':function(IiIi1i,llII1l){return IiIi1i0x0&&(iillIl[llIiil(0x232,'&uHj')](llIiil(0x40f,'G[f9'),iillIl['MZenx'])?await $['wait'](0x3e8):II1ll1['log'](llIiil(0x317,'M)%z')+IlI1Ii+llIiil(0x170,'Gtin')+(i11I1I[llIiil(0x217,'w6AG')]||l1il1i)));const {err:Iii1lI,res:I1liii,data:liiiIi}=await iillIl[llIiil(0x159,'!3m$')](i1IilI,lIiII,iii11);if(Iii1lI){if(iillIl[llIiil(0x174,'yF0#')](iillIl[llIiil(0x416,'YVu8')],iillIl[llIiil(0x2d7,'rK6*')]))ll1Il(iiIi11);else{if(iillIl[llIiil(0x29e,'mDhq')](typeof Iii1lI,iillIl[llIiil(0xee,'tcXu')])&&Iii1lI[llIiil(0x3b4,'eaEv')](iillIl['Dfcpo']))'rVkMk'===iillIl[llIiil(0x242,'tcXu')]?IiIi11=liIlI1+llIiil(0x27f,'G[f9'):(IIli1I[llIiil(0x401,'&uHj')]=!![],I1i11I[llIiil(0x163,'wk*Y')]('⏺️\x20'+llIliI[llIiil(0x17a,'mDhq')]+'-'+I1l1I1['errMsg']));else{const Iii1ll=I1liii?.[llIiil(0x208,'3d!N')];if(Iii1ll){if(iillIl['VOham'](llIiil(0x140,'rK6*'),iillIl['bvKGd']))IlIII[llIiil(0x245,'UOB]')]=!![],ilil1l=illlIi+llIiil(0x403,'Etkh')+I1lIii+')';else{if([0x193,0x1ed][llIiil(0x1ee,'G[f9')](Iii1ll))IiIi11=liIlI1+llIiil(0x29f,'cTPY')+Iii1ll+')',$['hotproxy']=!![],ii1i1l=!![];else[0x190,0x194][llIiil(0x37e,'UOB]')](Iii1ll)?($['hotproxy']=!![],IiIi11=liIlI1+llIiil(0x2ee,'A4Aq')+Iii1ll+')'):($[llIiil(0x31a,'A4Aq')]=!![],IiIi11=liIlI1+llIiil(0x231,'A4Aq')+Iii1ll+')');}}else $[llIiil(0x37c,'N[aO')]=!![],IiIi11=liIlI1+llIiil(0x1da,'eW9V')+(Iii1lI[llIiil(0x41a,'UOB]')]||Iii1lI);}ii1i1i++;}}else{if(iillIl['VOham'](iillIl[llIiil(0x13c,'M)%z')],iillIl['imBPX']))iIIili[llIiil(0x264,'qrW9')](''+Ii1iiI[llIiil(0x36a,'FQ3K')](Ilil1I)),iliIiI[llIiil(0x2c8,'@^Ra')](II11iI[llIiil(0x30c,'[8bq')]+llIiil(0x244,'#flU'));else{const Iii1li=I1iII[llIiil(0x107,'ggCl')](I1liii),iIl1l=![];iIl1l&&(iillIl[llIiil(0x3d5,'zW#t')]===llIiil(0x412,'[8bq')?!Il1i1I&&(iIIilI[llIiil(0x354,'XR$6')]=!![]):(console[llIiil(0x154,'#kv0')](llIiil(0x3cb,'qrW9')),console[llIiil(0x264,'qrW9')]('🔧\x20'+liIlI1+llIiil(0x218,'[8bq')+(liiiIi||'无')+'\x0a'),console[llIiil(0x2a7,'!3m$')](llIiil(0x11c,'@^Ra')+liIlI1+'\x20响应Cookie\x20=>\x20'+(Iii1li||'无')+'\x0a'),console[llIiil(0xeb,'w6AG')](llIiil(0x1eb,'Gtin')+liIlI1+llIiil(0x124,'[8bq')),console['log'](lIiII),console['log'](llIiil(0x2e0,'rK6*'))));try{if(iillIl[llIiil(0x130,'Etkh')](llIiil(0x1ab,'[8bq'),iillIl[llIiil(0x200,'VN$V')]))!IIii1I&&(i1iIi1[llIiil(0x354,'XR$6')]=!![]);else{const liIIi1=JSON[llIiil(0x3a5,'zW#t')](liiiIi);IiIi1(liIlI1,liIIi1);break;}}catch(I1liiI){iillIl['VOham'](iillIl['PdwoT'],'lRPaf')?(IiIi11='❌\x20'+liIlI1+llIiil(0xbf,'mDhq')+I1liiI[llIiil(0x41a,'UOB]')],console[llIiil(0x2b1,'eW9V')](llIiil(0x162,'mDhq')+liIlI1+'\x20=>\x20'+iillIl[llIiil(0x31f,'o$d[')](String,iillIl[llIiil(0x161,'kwy5')](liiiIi,iillIl['TlGyP']))),iIl1l&&(iillIl[llIiil(0x1e9,'mDhq')](iillIl['gKyXp'],iillIl['bftlz'])?(console['log'](iillIl[llIiil(0x3d1,'qrW9')]),console[llIiil(0x326,'G[f9')](iillIl[llIiil(0x41e,'w*aP')])):IiIl[llIiil(0x2a0,'rK6*')]('❓'+IiIi+'\x20'+iI1ll1[llIiil(0x1d1,'qrW9')](IlI1Il))),ii1i1i++):l1lIil['log'](llIiil(0x3d8,'w*aP')+IiiIli[llIiil(0x201,'VN$V')]+'-'+iillli[llIiil(0x414,'Gtin')]);}ii1i1l=![];}}if(iillIl[llIiil(0x14d,'&uHj')](i1lil,iiiI1I)){if(IilII){if($[llIiil(0x365,'HyIu')]){const l1I11i=iillIl[llIiil(0x188,'o$d[')][llIiil(0x20a,'!3m$')]('|');let iIlii1=0x0;while(!![]){switch(l1I11i[iIlii1++]){case'0':console[llIiil(0x2a7,'!3m$')](llIiil(0x1db,'urp)')+i1lii);continue;case'1':global[llIiil(0xb3,'*sZf')][llIiil(0x402,'s@&D')]=iillIl[llIiil(0x13a,'cTPY')]('http://',i1lii);continue;case'2':$[llIiil(0x36b,'cTPY')]=![];continue;case'3':iilIII=0x0;continue;case'4':await iillIl[llIiil(0x2c1,'HyIu')](llIIII);continue;}break;}}iilIII++;}}}else IllIlI[llIiil(0x2a0,'rK6*')](llIiil(0x435,'w#)B')+IiillI[llIiil(0x251,'yHAa')]);}if(ii1i1i>=l1lii1){if(iillIl['VOham'](iillIl[llIiil(0x143,'wk*Y')],iillIl[llIiil(0x3cd,'mDhq')]))lllii=iI11Ii+llIiil(0x1e7,'UOB]')+iIII1l+')',lllil[llIiil(0x3a1,'wRC5')]=!![],iI11Il=!![];else{console[llIiil(0x2b5,'NHp%')](IiIi11);if(ii1i1l){if(iillIl[llIiil(0x29e,'mDhq')](iillIl[llIiil(0x374,'#flU')],iillIl[llIiil(0x374,'#flU')]))$['outFlag']=!![],$[llIiil(0x2db,'XR$6')]&&$[llIiil(0x427,'eW9V')][llIiil(0xab,'eaEv')](IiIi11);else return iii1i1['log'](IllIll),i1lllI[llIiil(0x1a0,'HyIu')](llIiil(0x186,'3d!N')),![];}}}}async function i1IilI(ilIIl1,ii1l='POST'){const IlIi11=i1lII,iIl1I={'JpQMj':function(liIi,liIIlI){return liIi!==liIIlI;},'eXKeb':IlIi11(0x1fb,'zW#t'),'GtIJv':function(IliIil,iliiIi){return IliIil(iliiIi);},'lhiZB':function(i11Ill,iliiIl){return i11Ill!==iliiIl;},'gMwsZ':'nGwZV','yFJaE':function(IliIii,liIIl1,iIliiI){return IliIii(liIIl1,iIliiI);},'ZndUj':IlIi11(0x3df,'kwy5'),'oMHsG':'0|5|4|3|1|2','YUrZo':IlIi11(0x1ca,'XR$6'),'adyNQ':function(IIiilI,I1lii1){return IIiilI||I1lii1;},'sLwqa':function(ilIIlI,liiiI1){return ilIIlI===liiiI1;},'EsiXp':IlIi11(0x220,'VN$V'),'KgHbS':function(iIl11,ii1I){return iIl11===ii1I;},'VQGVA':IlIi11(0x27c,'w6AG')};if(iIl1I[IlIi11(0x15d,'UOB]')](ii1l,iIl1I['EsiXp']))return new Promise(async i11Ili=>{const III1iI=IlIi11,liII={'QnuWM':function(l1IlI1,ii11){const l1ll1l=iii1II;return iIl1I[l1ll1l(0x3ea,'^o&i')](l1IlI1,ii11);}};iIl1I[III1iI(0x2af,'mDhq')](iIl1I[III1iI(0xd3,'w#)B')],III1iI(0x41f,'zW#t'))?iIl1I[III1iI(0x392,'YVu8')](setTimeout,()=>{const iIIlIl=III1iI;if(iIl1I[iIIlIl(0x199,'urp)')](iIl1I['eXKeb'],iIl1I[iIIlIl(0x1dc,'yHAa')]))return!![];else $['post'](ilIIl1,(liI1,IliIiI,liiiII)=>{liII['QnuWM'](i11Ili,{'err':liI1,'res':IliIiI,'data':liiiII});});},0x0):Iiilll=Iiilli['toFixed'](0x2);});else{if(iIl1I['KgHbS'](ii1l,'GET'))return new Promise(async IIiiiI=>{const iIIlIi=IlIi11;iIl1I[iIIlIi(0x3b5,'xEIs')](setTimeout,()=>{const iilIll=iIIlIi;iIl1I['JpQMj'](iIl1I['ZndUj'],iIl1I[iilIll(0x35f,'eW9V')])?Ii1ilI({'err':II11i1,'res':iliIil,'data':iliIii}):$[iilIll(0x1a7,'NHp%')](ilIIl1,(i11IlI,Ii1I1,i11Il1)=>{IIiiiI({'err':i11IlI,'res':Ii1I1,'data':i11Il1});});},0x0);});else{if(iIl1I[IlIi11(0x3c4,'!3m$')](iIl1I[IlIi11(0x411,'zW#t')],iIl1I[IlIi11(0x16e,'@G2C')])){const IIIlli=IlIi11(0x103,'kwy5');return{'err':IIIlli,'res':null,'data':null};}else{const Iii1i1=iIl1I[IlIi11(0x26d,'UOB]')]['split']('|');let IIIlll=0x0;while(!![]){switch(Iii1i1[IIIlll++]){case'0':lil111['log'](IlIi11(0x206,'3d!N'));continue;case'1':lllilI[IlIi11(0x366,'ggCl')](ilil11);continue;case'2':illlI1['log'](iIl1I[IlIi11(0x34f,'UOB]')]);continue;case'3':i11il1[IlIi11(0x163,'wk*Y')]('🔧\x20'+ii1iiI+IlIi11(0xd8,'M)%z'));continue;case'4':lllil1[IlIi11(0xeb,'w6AG')](IlIi11(0x38a,'G[f9')+iil1il+IlIi11(0x2dc,'tdSP')+iIl1I[IlIi11(0x383,'HyIu')](ilil1I,'无')+'\x0a');continue;case'5':i11ilI['log'](IlIi11(0xe6,'xEIs')+ii1ii1+IlIi11(0x27b,'3d!N')+iIl1I[IlIi11(0x364,'M)%z')](llllI,'无')+'\x0a');continue;}break;}}}}}async function III1I1(llli1I){const iilIli=i1lII,IlilI1={'LSVEa':function(iIIIi,Il1iII){return iIIIi(Il1iII);},'ZsmZA':function(Iii1iI,lIi1lI){return Iii1iI===lIi1lI;},'RDKBm':function(IIiiil,iIIIl){return IIiiil+iIIIl;},'mPYwQ':function(IIiiii,liIIll){return IIiiii!==liIIll;},'ftril':'LaUtu','Cqtfw':iilIli(0x1a3,')PK7'),'jZUjR':iilIli(0x2bd,'N[aO'),'ihIil':function(l1IlIi,l1IlIl,liIIli,illiiI,liIl,llli11){return l1IlIi(l1IlIl,liIIli,illiiI,liIl,llli11);},'jPyWA':iilIli(0x3b0,'3d!N'),'qaQJV':iilIli(0x297,'wk*Y'),'LDLaz':iilIli(0x216,'Gtin'),'tDNDv':function(Ili11l,I1lill,I1lili){return Ili11l(I1lill,I1lili);},'hbFWr':iilIli(0x26f,'tdSP'),'tUXQL':iilIli(0x28e,'XR$6'),'dACUF':iilIli(0xfc,'3d!N'),'aEBjI':'wGFHY','dtWhM':'☑️\x20代理地址为:','HfxSe':iilIli(0x26e,'G[f9'),'XIOBv':iilIli(0x362,')PK7'),'qMueZ':iilIli(0x3bd,'qrW9'),'FtVCN':iilIli(0xce,'kwy5'),'GbZMj':iilIli(0x265,'#flU'),'TISLv':'ios','Ytznf':iilIli(0xc7,'kwy5'),'qdhwn':iilIli(0xcf,'w6AG'),'GENSM':iilIli(0x1c0,'*sZf'),'VkeAe':'gzip,\x20deflate,\x20br','jqQRv':iilIli(0x1ef,'Etkh'),'RsaHf':iilIli(0x16b,'#kv0'),'lmrWS':iilIli(0x282,'wRC5'),'mfwaK':iilIli(0x205,'w*aP'),'FJVhr':iilIli(0x1c6,'NyHV'),'IjlRT':function(i11Iil,i11Iii){return i11Iil*i11Iii;}};return new Promise(async Ili11i=>{const i111I=iilIli,Il1iI1={'uHuKh':function(IIIllI,Ill1Ii){const IlIi1I=iii1II;return IlilI1[IlIi1I(0x2c4,'N[aO')](IIIllI,Ill1Ii);},'ZEgpq':IlilI1[i111I(0x345,'*sZf')],'IqSiJ':IlilI1[i111I(0x3fb,'Etkh')]};if(IlilI1[i111I(0x373,'3d!N')]===IlilI1[i111I(0x198,'XR$6')]){const Ill1Il={'appId':IlilI1[i111I(0xf2,'M)%z')],'functionId':IlilI1[i111I(0x195,'M)%z')],'appid':'activities_platform','clientVersion':IlilI1[i111I(0x1b2,'HyIu')],'client':IlilI1[i111I(0x37a,'N[aO')],'body':{'pageNum':$[i111I(0x32d,'w#)B')],'pageSize':0x64,'linkId':l1lil1,'business':IlilI1[i111I(0x3c2,'@G2C')]},'version':IlilI1[i111I(0x158,'N[aO')],'ua':$['UA'],'t':!![]},iIIII=await IIlI1i['getH5st'](Ill1Il);let Il1iIi={'url':'https://api.m.jd.com/api','body':''+iIIII[i111I(0x426,'UOB]')],'headers':{'Accept':IlilI1[i111I(0x12c,'tcXu')],'Accept-Encoding':IlilI1[i111I(0x333,'UOB]')],'Accept-Language':IlilI1['jqQRv'],'Connection':IlilI1[i111I(0x2f1,'yHAa')],'Content-Type':i111I(0x10b,'VN$V'),'Cookie':lilI11,'Referer':IlilI1['lmrWS'],'X-Referer-Page':IlilI1[i111I(0x350,'o$d[')],'Origin':IlilI1[i111I(0xc9,'M)%z')],'x-rp-client':IlilI1[i111I(0x215,'xEIs')],'User-Agent':$['UA']},'timeout':IlilI1[i111I(0x424,'rK6*')](0x1e,0x3e8)};$['post'](Il1iIi,async(Ii1Il,Iii1ii,l1iiI1)=>{const IiIilI=i111I,Iii1il={'HHpBn':function(lIi1li,Ii1Ii){const llIiiI=iii1II;return IlilI1[llIiiI(0x32b,'@G2C')](lIi1li,Ii1Ii);},'bVutc':function(Il1iIl,lIi1ll,l1IIiI){return Il1iIl(lIi1ll,l1IIiI);}};try{if(IlilI1[IiIilI(0x136,'kwy5')](IiIilI(0x12d,'#kv0'),IiIilI(0x294,'^o&i')))lI1Ili[IiIilI(0x1d3,'urp)')](IiIilI(0x3eb,'ggCl'));else{if(Ii1Il){if(IlilI1[IiIilI(0x27a,'A4Aq')]('kXpKn',IiIilI(0x3b9,'XR$6')))console['log'](IlilI1['RDKBm']('',JSON[IiIilI(0x2da,'[8bq')](Ii1Il)));else{var i11IiI=llIIil(llIIii);return!Iii1il[IiIilI(0xb4,'eW9V')](Ii1I1i,llIIlI(i11IiI))&&(i11IiI=i11IiI[IiIilI(0x183,'tdSP')](0x2)),i11IiI;}}else{l1iiI1=JSON['parse'](l1iiI1);if(l1iiI1){if(IlilI1[IiIilI(0x3ef,'Gtin')](IlilI1[IiIilI(0x363,'XR$6')],IlilI1['ftril'])){const IlilIl={'ShMgy':function(iIlili,Ii1II){const lIiIl1=IiIilI;return Iii1il[lIiIl1(0x39d,'tcXu')](iIlili,Ii1II);}};Iii1il['bVutc'](lI1III,()=>{const l1II1=IiIilI,Iii1l1={'dykcc':function(iIlil1,l1IIi1){const iilIl1=iii1II;return IlilIl[iilIl1(0x3d4,'yHAa')](iIlil1,l1IIi1);}};I1l111[l1II1(0x3ff,'tdSP')](IIii1l,(IIiii1,IlilII,iIII1)=>{Iii1l1['dykcc'](liiI11,{'err':IIiii1,'res':IlilII,'data':iIII1});});},0x0);}else{if(l1iiI1['code']==0x0&&l1iiI1['success']==!![]){const I1lil1=(l1iiI1[IiIilI(0x15b,'wk*Y')][IiIilI(0x23c,'H8B5')]||[])['filter'](iIlilI=>iIlilI[IiIilI(0x36d,'G[f9')]===0x4&&iIlilI[IiIilI(0x400,'[8bq')]===0x0||iIlilI[IiIilI(0x2b9,'eW9V')]===0x2);for(let i11Ii1 of I1lil1){if(IlilI1[IiIilI(0x136,'kwy5')](IlilI1[IiIilI(0x23f,'UOB]')],IlilI1['jZUjR'])){iliIII[IiIilI(0x25d,'#flU')]('\x0a☑️\x20API地址代理已开启:'),iIIl1i[IiIilI(0x326,'G[f9')](Il1iI1[IiIilI(0x10a,'wRC5')](Il1iI1['uHuKh'](Il1iI1[IiIilI(0x1a6,'XR$6')],I1lllI),'\x0a'));let iIiiIl=/[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+\.?/g;ill111[IiIilI(0x3c5,'@G2C')]['NO_PROXY']=iIiiIl[IiIilI(0x2f2,'NyHV')](Iliil1)[0x0]+','+i1III;}else{console[IiIilI(0x1a0,'HyIu')](IiIilI(0xac,'YVu8')+i11Ii1['amount']+IiIilI(0x153,'M)%z')),await IlilI1[IiIilI(0x15a,'yF0#')](ilI111,i11Ii1['id'],i11Ii1[IlilI1[IiIilI(0x28f,'H8B5')]],i11Ii1[IlilI1[IiIilI(0xd0,'UOB]')]],i11Ii1[IlilI1[IiIilI(0x2d2,'G[f9')]],0x0),await $['wait'](IlilI1['tDNDv'](parseInt,IlilI1['RDKBm'](liI1Il*0x1,0xbb8),0xa));if($[IiIilI(0xe8,'kwy5')]){if(IlilI1[IiIilI(0x34b,'Etkh')](IlilI1['hbFWr'],IlilI1[IiIilI(0x352,'NyHV')])){console[IiIilI(0x172,'tdSP')](IiIilI(0x248,'o$d[')+$['apCashWithDrawmessage']);break;}else delete llliii[IiIilI(0x1c4,'N[aO')],delete IllI11[IiIilI(0x1f6,'qrW9')][Il1iI1['IqSiJ']];}}}}else IlilI1[IiIilI(0x28a,'mDhq')](IlilI1[IiIilI(0x262,'M)%z')],IlilI1[IiIilI(0x100,'@^Ra')])?console[IiIilI(0x295,'yHAa')](IiIilI(0x2a5,'cTPY')+JSON[IiIilI(0x269,'@G2C')](l1iiI1)):Iiii1[IiIilI(0x2f5,'UOB]')](IiIilI(0x42f,'G[f9')+lIIili[IiIilI(0x2ad,'@G2C')]+'-'+IiiIil[IiIilI(0x355,'@^Ra')]?.[IiIilI(0x261,'NyHV')]+'}');}}}}}catch(ilIlii){$['logErr'](ilIlii,Iii1ii);}finally{Ili11i();}});}else{if([0x193,0x1ed][i111I(0x2ec,'#flU')](IiI11))il1i1I=lI1li1+'\x20请求失败,IP被限制(Response\x20code\x20'+iI11II+')',iIII1I[i111I(0x3ab,'*sZf')]=!![],ilil1i=!![];else[0x190,0x194][i111I(0x1e4,'tcXu')](iI1lii)?(IlIIi['hotproxy']=!![],IiI1l=illlII+i111I(0xf4,'^o&i')+iIII11+')'):(IiI1i['hotproxy']=!![],llll1=lil11l+i111I(0x42a,'3d!N')+i1i1Il+')');}});}async function ilI111(II1lI,ilIlil,Ii1IiI,IIll11,ll1lIl){const III1i1=i1lII,I1IIl1={'zTMLQ':III1i1(0x26a,'o$d['),'eLDJD':'☑️\x20代理地址为:','pklYH':function(l1I1l1,ll1lIi){return l1I1l1==ll1lIi;},'PrwOp':III1i1(0x228,'XR$6'),'SNefs':function(lIi1i,iIIIil){return lIi1i===iIIIil;},'iTMCL':'tInBf','rQPhX':function(Ii1Ii1,IIll1I){return Ii1Ii1!==IIll1I;},'JdSRZ':'LzEYA','kBzrC':III1i1(0x1d7,'H8B5'),'IyCUL':III1i1(0x34d,'zW#t'),'IDHfs':function(liii1I,lI1iIi){return liii1I!==lI1iIi;},'vconp':III1i1(0x260,'o$d['),'JYwhC':III1i1(0x419,'kwy5'),'JATHW':function(lIi1l,iIIIii){return lIi1l{const IlI1=III1i1,iIIIlI={'YTjfb':I1IIl1['zTMLQ'],'WumsF':'\x0a☑️\x20代理池代理已开启:','TYVuh':I1IIl1[IlI1(0x2e1,'zW#t')],'CNGoH':function(IIll1i,lI1iII){return I1IIl1['pklYH'](IIll1i,lI1iII);},'HubkQ':I1IIl1[IlI1(0x3ed,'3d!N')],'LeOVV':IlI1(0x255,')PK7'),'zjesO':IlI1(0x14e,'zW#t'),'gqfKq':function(IIll1l,l1I1lI){const I1IlIl=IlI1;return I1IIl1[I1IlIl(0x33a,'XR$6')](IIll1l,l1I1lI);},'RfYBX':I1IIl1[IlI1(0x2f3,'xEIs')],'KExau':function(iIIIl1,li11iI){const l1I1i1=IlI1;return I1IIl1[l1I1i1(0x1f1,'N[aO')](iIIIl1,li11iI);},'cqFhs':I1IIl1[IlI1(0x23b,'[8bq')],'LwrLB':I1IIl1[IlI1(0x3d2,'kwy5')],'YyZoS':function(liliIl,liii1l){const I1IlIi=IlI1;return I1IIl1[I1IlIi(0x221,'VN$V')](liliIl,liii1l);},'QEMmU':I1IIl1['IyCUL'],'GOhDJ':function(I1iiII,liliIi){const l1ll1i=IlI1;return I1IIl1[l1ll1i(0x319,'M)%z')](I1iiII,liliIi);},'GvQRh':I1IIl1['vconp'],'iEPDa':function(i1Ili,I1iiI1){return i1Ili!==I1iiI1;},'fBjSb':I1IIl1[IlI1(0x42e,'^o&i')],'onZLQ':IlI1(0x110,'Gtin'),'ZXaVH':function(lIiIi1,li11l1){const IiIil1=IlI1;return I1IIl1[IiIil1(0x361,'!3m$')](lIiIi1,li11l1);},'DghGP':function(IIlIIl,iIiiI1,I1IIiI){const i111l=IlI1;return I1IIl1[i111l(0x31b,'3d!N')](IIlIIl,iIiiI1,I1IIiI);},'Kmmgk':function(ilIli1,li11lI){return I1IIl1['qwhIH'](ilIli1,li11lI);},'GTUjz':function(l1I1ll,li1il){const lIiIlI=IlI1;return I1IIl1[lIiIlI(0x114,'kwy5')](l1I1ll,li1il);},'ZSZnP':function(l1I1li,li1ii,lI1iI1,iIIIi1,lIiIiI,ilIliI){return l1I1li(li1ii,lI1iI1,iIIIi1,lIiIiI,ilIliI);},'VPASx':I1IIl1[IlI1(0x2f4,'qrW9')],'iXRzn':function(II1li,Ii1lIi){return II1li===Ii1lIi;},'kiSdu':'yETXq','DWDlc':function(li11il,ll1lII){return li11il===ll1lII;},'bKmUR':I1IIl1['YJbAE'],'jZhfr':function(Ii1lIl,iIIIiI){const iilIlI=IlI1;return I1IIl1[iilIlI(0x3db,'w#)B')](Ii1lIl,iIIIiI);}},li11i1={'appId':I1IIl1[IlI1(0x169,'!3m$')],'functionId':'apCashWithDraw','appid':I1IIl1['qwWjb'],'clientVersion':I1IIl1['iwEXm'],'client':I1IIl1[IlI1(0x2cd,'w*aP')],'body':{'linkId':l1lil1,'businessSource':IlI1(0x3e5,'HyIu'),'base':{'prizeType':0x4,'business':I1IIl1[IlI1(0x3ca,'eW9V')],'id':II1lI,'poolBaseId':ilIlil,'prizeGroupId':Ii1IiI,'prizeBaseId':IIll11}},'version':I1IIl1[IlI1(0x131,'kwy5')],'ua':$['UA'],'t':!![]},II1l1=await IIlI1i[IlI1(0xc3,'N[aO')](li11i1);let liii1i={'url':IlI1(0x404,'M)%z'),'body':''+II1l1[IlI1(0x2cf,'N[aO')],'headers':{'Accept':I1IIl1[IlI1(0x184,'A4Aq')],'Accept-Encoding':I1IIl1[IlI1(0x33b,'oc0H')],'Accept-Language':IlI1(0x268,'eaEv'),'Connection':I1IIl1[IlI1(0x32c,'eaEv')],'Content-Type':IlI1(0x10b,'VN$V'),'Cookie':lilI11,'Referer':I1IIl1['PfHZi'],'X-Referer-Page':I1IIl1[IlI1(0x2a2,'tdSP')],'Origin':'https://pro.m.jd.com','x-rp-client':I1IIl1[IlI1(0xba,'rK6*')],'User-Agent':$['UA']},'timeout':0x1e*0x3e8};$['post'](liii1i,async(li1iI,I1IIi1,ll1lI1)=>{const i111i=IlI1,II1ll={'YyREs':iIIIlI[i111i(0x38f,'w*aP')],'JMIMK':iIIIlI[i111i(0xfa,'NHp%')]};if(iIIIlI[i111i(0x18d,'*sZf')](iIIIlI[i111i(0x377,'NyHV')],iIIIlI[i111i(0xe1,'kwy5')]))try{if(iIIIlI[i111i(0x20d,'w*aP')](iIIIlI[i111i(0x399,'&uHj')],iIIIlI[i111i(0x324,'NyHV')])){if(li1iI)console[i111i(0x2e8,'FQ3K')](''+JSON[i111i(0x26b,'eW9V')](li1iI)),console['log']($[i111i(0xc1,'yHAa')]+'\x20API请求失败,请检查网路重试');else{if(iIIll1(ll1lI1)){ll1lI1=$[i111i(0x144,'G[f9')](ll1lI1);if(iIIIlI[i111i(0x2ff,'o$d[')](ll1lI1?.[i111i(0x3f5,'&uHj')],0x0)){if(iIIIlI[i111i(0x3f3,'w6AG')]('eOWSa',i111i(0x1b8,'UOB]'))){if(iIIIlI['YyZoS'](ll1lI1?.['data']?.['status'],iIIIlI[i111i(0x2ca,'YVu8')]))console[i111i(0x171,'mDhq')](i111i(0x27d,'eaEv')+ll1lI1?.[i111i(0x3d7,'N[aO')]?.[i111i(0x22c,'NHp%')]?.[i111i(0xe9,'yHAa')]+i111i(0x1b3,'kwy5'));else{$[i111i(0x22d,'wk*Y')]=ll1lI1?.[i111i(0x385,'UOB]')]?.['message'],console[i111i(0x2e7,'N[aO')](i111i(0x14c,'kwy5')+$[i111i(0xaa,'Gtin')]);if($[i111i(0x22a,'^o&i')][i111i(0x2fc,'mDhq')]('上限')||$[i111i(0x222,'eW9V')][i111i(0x3a9,'NHp%')]('其它pin的订单'))iilII1?await I1IllI(II1lI,ilIlil,Ii1IiI,IIll11):iIIIlI[i111i(0x2d3,'NHp%')](iIIIlI[i111i(0x1ba,'Gtin')],iIIIlI[i111i(0x135,'wk*Y')])?(IiiIi1[i111i(0x2c3,'[8bq')]=l1ii1?.[i111i(0x1ae,'ggCl')]||[],ii1ll[i111i(0x1a0,'HyIu')](i111i(0x380,'xEIs')+(IliI1l[i111i(0x187,'HyIu')]?.['receiveList'][0x0]?.['amount']||iIIIlI['YTjfb'])+i111i(0x306,'eaEv')+lliiil['inviteFissionReceive']?.[i111i(0x3ba,'yF0#')]+i111i(0x237,'#flU')+lliiii[i111i(0x20b,'qrW9')]?.['rate']+'\x20%'),IliI1i[i111i(0x24d,'ggCl')]?.['state']==0x3&&IllIII[i111i(0x1d5,'o$d[')](i111i(0x241,'tcXu')+ii1li[i111i(0x2d5,'#kv0')]?.['amount']+i111i(0x17e,'VN$V'))):!Ili1Ii&&(iIIIlI['iEPDa'](iIIIlI[i111i(0x149,'N[aO')],i111i(0x3c6,'UOB]'))?$[i111i(0x360,'&uHj')]=!![]:(Iliiii[i111i(0x286,'yHAa')][i111i(0x1e0,'XR$6')]=i1illI,i1IIl[i111i(0x410,'o$d[')][i111i(0x379,'Gtin')]=''+I1lll1,i1IIi[i111i(0x3af,'3d!N')](iIIIlI['WumsF']),IIII1I[i111i(0x2e7,'N[aO')](iIIIlI[i111i(0xc5,'eaEv')]+Iii111['GLOBAL_AGENT']['HTTP_PROXY']+'\x0a')));else{if($[i111i(0x39c,'YVu8')][i111i(0x2f9,'NyHV')](iIIIlI['onZLQ']))iIIIlI['ZXaVH'](ll1lIl,i1Iil1)&&(await $[i111i(0x132,'XR$6')](iIIIlI[i111i(0xde,'wk*Y')](parseInt,iIIIlI['Kmmgk'](iIIIlI[i111i(0x11f,'M)%z')](liI1Il,0x1),0x7d0),0xa)),ll1lIl++,await iIIIlI[i111i(0xcd,'w6AG')](ilI111,II1lI,ilIlil,Ii1IiI,IIll11,ll1lIl));else($[i111i(0x1b7,'yF0#')][i111i(0x332,'^o&i')](iIIIlI['VPASx'])||$['apCashWithDrawmessage'][i111i(0xa8,'VN$V')](i111i(0x372,'@G2C')))&&(!Ili1Ii&&($[i111i(0xb7,'#kv0')]=!![]));}}}else lilIll[i111i(0x108,'NyHV')](II1ll[i111i(0x2d4,'[8bq')]),l1i111[i111i(0x28c,'kwy5')](II1ll[i111i(0x3ce,'YVu8')]);}else console[i111i(0x3fe,'XR$6')](i111i(0xd7,'s@&D')+JSON[i111i(0x29d,'yF0#')](ll1lI1));}}}else{let lIl1II=/((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})(\.((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})){3}:[1-9]\d*/g,Ii1Ili=lIl1II[i111i(0x353,'A4Aq')](I1I1lI[i111i(0x113,'!3m$')]);ii1il=Ii1Ili[0x0],l1iIlI['GLOBAL_AGENT'][i111i(0x322,'VN$V')]=i111i(0x1a8,'FQ3K')+iI111I;}}catch(IIiI11){if(iIIIlI['iXRzn'](iIIIlI[i111i(0x2dd,'A4Aq')],i111i(0x375,'VN$V')))$[i111i(0x293,'w*aP')](IIiI11,I1IIi1);else{if(iIIIlI[i111i(0x337,'@^Ra')](typeof l1iI1[i111i(0x3fd,'o$d[')](lliiI1),iIIIlI[i111i(0x2a9,'N[aO')]))return!![];}}finally{iIIIlI[i111i(0x3b3,'NyHV')](i111i(0x415,'yF0#'),iIIIlI[i111i(0x196,'UOB]')])?iIIl11[i111i(0x2a0,'rK6*')](l1l1I1['message']):iIIIlI[i111i(0x292,'ggCl')](I1IIii,ll1lI1);}else i1i11I(()=>{iii1il['post'](II11li,(ll1Iil,li1lI,iliiiI)=>{iIIiiI({'err':ll1Iil,'res':li1lI,'data':iliiiI});});},0x0);});});}async function I1IllI(IIlIII,i1Iil,lIi11i,i1Iii){const lIlli1=i1lII,IIiI1I={'suIKI':function(lIi11l,i1IlI){return lIi11l!==i1IlI;},'PDhgW':lIlli1(0x340,'oc0H'),'NZGvh':function(lIl1Ii,lIl1Il){return lIl1Ii===lIl1Il;},'QsDgj':lIlli1(0x3f2,'N[aO'),'rIlpd':lIlli1(0x28b,'yF0#'),'BJfja':function(Ii1IlI,Il1I1I){return Ii1IlI(Il1I1I);},'KWXrG':function(ll1Il1){return ll1Il1();},'xiBJl':function(li11li,iliiii){return li11li==iliiii;},'JpAZZ':function(IIlIIi,iliiil){return IIlIIi!==iliiil;},'HIVKe':lIlli1(0xb0,'eW9V'),'FWoxw':'8c6ae','NpNlk':lIlli1(0x421,'M)%z'),'EHwtM':lIlli1(0x32a,'VN$V'),'ubcTt':lIlli1(0x280,'o$d['),'mCFXo':'business','uXhgO':lIlli1(0x253,'wk*Y'),'pjBuj':lIlli1(0x3dc,'yF0#'),'Dbdka':'gzip,\x20deflate,\x20br','CEDwl':'zh-cn','cOqpS':lIlli1(0x165,'oc0H'),'nQwwh':lIlli1(0xe2,'tdSP'),'MDNVh':lIlli1(0x10d,'#kv0'),'pOwbJ':'https://pro.m.jd.com','wVlQQ':'h5_1.0.0','MfFFs':function(li11ll,i1Il1){return li11ll*i1Il1;}};return new Promise(async li1l1=>{const I1IlII=lIlli1,IIiI1l={'FipkL':function(IIiI1i,ilIllI){const llIii1=iii1II;return IIiI1I[llIii1(0x2de,'Gtin')](IIiI1i,ilIllI);}};if(IIiI1I['JpAZZ']('WuQYy',IIiI1I[I1IlII(0x420,'qrW9')])){const I1IIli={'appId':IIiI1I['FWoxw'],'functionId':I1IlII(0xda,'qrW9'),'appid':IIiI1I[I1IlII(0x275,'UOB]')],'clientVersion':IIiI1I[I1IlII(0x40b,'UOB]')],'client':IIiI1I[I1IlII(0x3a2,'Etkh')],'body':{'linkId':l1lil1,'businessSource':I1IlII(0x1d4,'Gtin'),'business':IIiI1I['mCFXo'],'drawRecordId':IIlIII,'poolId':i1Iil,'prizeGroupId':lIi11i,'prizeId':i1Iii},'version':IIiI1I[I1IlII(0x2c5,'FQ3K')],'ua':$['UA'],'t':!![]},Il1I1i=await IIlI1i[I1IlII(0x1fe,'&uHj')](I1IIli);let lIilI1={'url':I1IlII(0x2a1,'Gtin'),'body':''+Il1I1i[I1IlII(0x116,'oc0H')],'headers':{'Accept':IIiI1I['pjBuj'],'Accept-Encoding':IIiI1I['Dbdka'],'Accept-Language':IIiI1I[I1IlII(0x226,'tdSP')],'Connection':IIiI1I[I1IlII(0x312,'@^Ra')],'Content-Type':IIiI1I[I1IlII(0x1bb,'Etkh')],'Cookie':lilI11,'Referer':IIiI1I[I1IlII(0x358,'eaEv')],'X-Referer-Page':IIiI1I[I1IlII(0x2c7,'H8B5')],'Origin':IIiI1I[I1IlII(0xf0,'xEIs')],'x-rp-client':IIiI1I['wVlQQ'],'User-Agent':$['UA']},'timeout':IIiI1I[I1IlII(0x3f8,'@G2C')](0x1e,0x3e8)};$[I1IlII(0x418,'NyHV')](lIilI1,async(Il1I1l,Ii1Il1,iIIIli)=>{const l1III=I1IlII;try{IIiI1I['suIKI'](IIiI1I['PDhgW'],IIiI1I[l1III(0x1c2,'rK6*')])?(iiili1[l1III(0x24b,'eW9V')]=!![],ill11i=lllill+l1III(0xf8,'s@&D')+(ill11l['message']||I1lIiI)):Il1I1l?IIiI1I[l1III(0x104,'tdSP')](IIiI1I[l1III(0x212,'XR$6')],IIiI1I[l1III(0x155,'NyHV')])?(console[l1III(0x142,'oc0H')](''+JSON[l1III(0x2da,'[8bq')](Il1I1l)),console[l1III(0x142,'oc0H')]($[l1III(0x106,'o$d[')]+'\x20API请求失败,请检查网路重试')):IlllI1(I1il11)&&(il1iI=i1iIii[l1III(0x1f5,'qrW9')](i1iIil),IIiI1l[l1III(0x347,'^o&i')](liI1il['code'],0x0)?il1i1[l1III(0x2c8,'@^Ra')](l1III(0x1fc,'H8B5')):lIIiIi[l1III(0x430,'YVu8')]('兑换红包失败:'+liI1iI['errMsg'])):iIIll1(iIIIli)&&(IIiI1I[l1III(0x203,'!3m$')]!==l1III(0x19b,'w6AG')?llI11l[l1III(0x25d,'#flU')](l1III(0x3e3,'HyIu')+I1llIl?.[l1III(0xdb,'cTPY')]?.[l1III(0x3bf,'w6AG')]?.[l1III(0x126,'VN$V')]+l1III(0x1e3,'N[aO')):(iIIIli=$[l1III(0x2e4,'urp)')](iIIIli),iIIIli[l1III(0x17d,'s@&D')]==0x0?console['log'](l1III(0x28d,'3d!N')):console[l1III(0x252,'M)%z')](l1III(0x409,'urp)')+iIIIli['errMsg'])));}catch(ilIlli){$[l1III(0xf6,'xEIs')](ilIlli,Ii1Il1);}finally{IIiI1I[l1III(0x311,'Etkh')](li1l1,iIIIli);}});}else IIiI1I[I1IlII(0x2ef,'@G2C')](iii1ll);});}function IIlI11(ilIlll){const l1I1iI=i1lII,Ii1Iii={'vBAur':function(ll1IiI,li1li){return ll1IiI(li1li);}};var Ii1Iil=Number(ilIlll);return!Ii1Iii[l1I1iI(0x22b,'NHp%')](isNaN,parseFloat(Ii1Iil))&&(Ii1Iil=Ii1Iil[l1I1iI(0x211,'#flU')](0x2)),Ii1Iil;}function iii1II(_0x4469cd,_0x46145a){const _0x3147fb=Iii11l();return iii1II=function(_0x4f6c27,_0x12297d){_0x4f6c27=_0x4f6c27-0xa7;let _0x1fd072=_0x3147fb[_0x4f6c27];if(iii1II['RuJVXU']===undefined){var _0x108f57=function(_0x5165c8){const _0x3e31bb='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x297dc2='',_0x203bad='';for(let _0x4cae6e=0x0,_0x5b857d,_0x3cc64d,_0x5cf083=0x0;_0x3cc64d=_0x5165c8['charAt'](_0x5cf083++);~_0x3cc64d&&(_0x5b857d=_0x4cae6e%0x4?_0x5b857d*0x40+_0x3cc64d:_0x3cc64d,_0x4cae6e++%0x4)?_0x297dc2+=String['fromCharCode'](0xff&_0x5b857d>>(-0x2*_0x4cae6e&0x6)):0x0){_0x3cc64d=_0x3e31bb['indexOf'](_0x3cc64d);}for(let _0x5608c2=0x0,_0x10d1de=_0x297dc2['length'];_0x5608c2<_0x10d1de;_0x5608c2++){_0x203bad+='%'+('00'+_0x297dc2['charCodeAt'](_0x5608c2)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x203bad);};const _0x2e28df=function(_0x6cb43,_0x149abb){let _0x1ac493=[],_0x5e85c2=0x0,_0xa8d709,_0x4be8de='';_0x6cb43=_0x108f57(_0x6cb43);let _0x231a87;for(_0x231a87=0x0;_0x231a87<0x100;_0x231a87++){_0x1ac493[_0x231a87]=_0x231a87;}for(_0x231a87=0x0;_0x231a87<0x100;_0x231a87++){_0x5e85c2=(_0x5e85c2+_0x1ac493[_0x231a87]+_0x149abb['charCodeAt'](_0x231a87%_0x149abb['length']))%0x100,_0xa8d709=_0x1ac493[_0x231a87],_0x1ac493[_0x231a87]=_0x1ac493[_0x5e85c2],_0x1ac493[_0x5e85c2]=_0xa8d709;}_0x231a87=0x0,_0x5e85c2=0x0;for(let _0x259324=0x0;_0x259324<_0x6cb43['length'];_0x259324++){_0x231a87=(_0x231a87+0x1)%0x100,_0x5e85c2=(_0x5e85c2+_0x1ac493[_0x231a87])%0x100,_0xa8d709=_0x1ac493[_0x231a87],_0x1ac493[_0x231a87]=_0x1ac493[_0x5e85c2],_0x1ac493[_0x5e85c2]=_0xa8d709,_0x4be8de+=String['fromCharCode'](_0x6cb43['charCodeAt'](_0x259324)^_0x1ac493[(_0x1ac493[_0x231a87]+_0x1ac493[_0x5e85c2])%0x100]);}return _0x4be8de;};iii1II['LHIjlf']=_0x2e28df,_0x4469cd=arguments,iii1II['RuJVXU']=!![];}const _0x446be9=_0x3147fb[0x0],_0x4b4612=_0x4f6c27+_0x446be9,_0x3ed55a=_0x4469cd[_0x4b4612];return!_0x3ed55a?(iii1II['YXynPb']===undefined&&(iii1II['YXynPb']=!![]),_0x1fd072=iii1II['LHIjlf'](_0x1fd072,_0x12297d),_0x4469cd[_0x4b4612]=_0x1fd072):_0x1fd072=_0x3ed55a,_0x1fd072;},iii1II(_0x4469cd,_0x46145a);}function iIIll1(iIIIll){const III1l1=i1lII,ll1Ii1={'yOBDt':III1l1(0x2c9,'Gtin'),'AREiq':function(li1ll,iliii1){return li1ll==iliii1;},'GsHSe':'object','Krsgc':III1l1(0x35c,'G[f9')};try{if(ll1Ii1[III1l1(0x434,'YVu8')]===ll1Ii1['yOBDt']){if(ll1Ii1[III1l1(0x122,'zW#t')](typeof JSON['parse'](iIIIll),ll1Ii1[III1l1(0x1bc,'FQ3K')])){if(III1l1(0x190,'N[aO')!==ll1Ii1[III1l1(0x3a0,'&uHj')])return!![];else illIll[III1l1(0x2d0,'YVu8')]['includes']('火爆')&&(IilIl1[III1l1(0x270,'O[Op')]{const lIiIli=Il111;$[lIiIli(0x301,'&uHj')]({'url':IilII,'timeout':{'request':0x1388}},(l1lIIi,iII11I)=>{const IiIII=lIiIli;if(iII11I)try{let IiIii1=/((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})(\.((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})){3}:[1-9]\d*/g,l1lIIl=IiIii1[IiIII(0x42c,'cTPY')](iII11I['body']);i1lii=l1lIIl[0x0],global[IiIII(0x413,'w*aP')][IiIII(0x18c,'H8B5')]=I111['snwwR'](I111[IiIII(0x2cc,'[8bq')],i1lii);}catch(i1lIl){}finally{I111[IiIII(0x30a,'eW9V')](III1ll);}});});}var version_ = 'jsjiami.com.v7'; // prettier-ignore function Env(t, e) { "undefined" != typeof process && JSON.stringify(process.env).indexOf("GITHUB") > -1 && process.exit(0); class s { constructor(t) { this.env = t } send(t, e = "GET") { t = "string" == typeof t ? { url: t } : t; let s = this.get; return "POST" === e && (s = this.post), new Promise((e, i) => { s.call(this, t, (t, s, r) => { t ? i(t) : e(s) }) }) } get(t) { return this.send.call(this.env, t) } post(t) { return this.send.call(this.env, t, "POST") } } return new class { constructor(t, e) { this.name = t, this.http = new s(this), this.data = null, this.dataFile = "box.dat", this.logs = [], this.isMute = !1, this.isNeedRewrite = !1, this.logSeparator = "\n", this.startTime = (new Date).getTime(), Object.assign(this, e), this.log("", `🔔${this.name}, 开始!`) } isNode() { return "undefined" != typeof module && !!module.exports } isQuanX() { return "undefined" != typeof $task } isSurge() { return "undefined" != typeof $httpClient && "undefined" == typeof $loon } isLoon() { return "undefined" != typeof $loon } toObj(t, e = null) { try { return JSON.parse(t) } catch { return e } } toStr(t, e = null) { try { return JSON.stringify(t) } catch { return e } } getjson(t, e) { let s = e; const i = this.getdata(t); if (i) try { s = JSON.parse(this.getdata(t)) } catch { } return s } setjson(t, e) { try { return this.setdata(JSON.stringify(t), e) } catch { return !1 } } getScript(t) { return new Promise(e => { this.get({ url: t }, (t, s, i) => e(i)) }) } runScript(t, e) { return new Promise(s => { let i = this.getdata("@chavy_boxjs_userCfgs.httpapi"); i = i ? i.replace(/\n/g, "").trim() : i; let r = this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout"); r = r ? 1 * r : 20, r = e && e.timeout ? e.timeout : r; const [o, h] = i.split("@"), n = { url: `http://${h}/v1/scripting/evaluate`, body: { script_text: t, mock_type: "cron", timeout: r }, headers: { "X-Key": o, Accept: "*/*" } }; this.post(n, (t, e, i) => s(i)) }).catch(t => this.logErr(t)) } loaddata() { if (!this.isNode()) return {}; { this.fs = this.fs ? this.fs : require("fs"), this.path = this.path ? this.path : require("path"); const t = this.path.resolve(this.dataFile), e = this.path.resolve(process.cwd(), this.dataFile), s = this.fs.existsSync(t), i = !s && this.fs.existsSync(e); if (!s && !i) return {}; { const i = s ? t : e; try { return JSON.parse(this.fs.readFileSync(i)) } catch (t) { return {} } } } } writedata() { if (this.isNode()) { this.fs = this.fs ? this.fs : require("fs"), this.path = this.path ? this.path : require("path"); const t = this.path.resolve(this.dataFile), e = this.path.resolve(process.cwd(), this.dataFile), s = this.fs.existsSync(t), i = !s && this.fs.existsSync(e), r = JSON.stringify(this.data); s ? this.fs.writeFileSync(t, r) : i ? this.fs.writeFileSync(e, r) : this.fs.writeFileSync(t, r) } } lodash_get(t, e, s) { const i = e.replace(/\[(\d+)\]/g, ".$1").split("."); let r = t; for (const t of i) if (r = Object(r)[t], void 0 === r) return s; return r } lodash_set(t, e, s) { return Object(t) !== t ? t : (Array.isArray(e) || (e = e.toString().match(/[^.[\]]+/g) || []), e.slice(0, -1).reduce((t, s, i) => Object(t[s]) === t[s] ? t[s] : t[s] = Math.abs(e[i + 1]) >> 0 == +e[i + 1] ? [] : {}, t)[e[e.length - 1]] = s, t) } getdata(t) { let e = this.getval(t); if (/^@/.test(t)) { const [, s, i] = /^@(.*?)\.(.*?)$/.exec(t), r = s ? this.getval(s) : ""; if (r) try { const t = JSON.parse(r); e = t ? this.lodash_get(t, i, "") : e } catch (t) { e = "" } } return e } setdata(t, e) { let s = !1; if (/^@/.test(e)) { const [, i, r] = /^@(.*?)\.(.*?)$/.exec(e), o = this.getval(i), h = i ? "null" === o ? null : o || "{}" : "{}"; try { const e = JSON.parse(h); this.lodash_set(e, r, t), s = this.setval(JSON.stringify(e), i) } catch (e) { const o = {}; this.lodash_set(o, r, t), s = this.setval(JSON.stringify(o), i) } } else s = this.setval(t, e); return s } getval(t) { return this.isSurge() || this.isLoon() ? $persistentStore.read(t) : this.isQuanX() ? $prefs.valueForKey(t) : this.isNode() ? (this.data = this.loaddata(), this.data[t]) : this.data && this.data[t] || null } setval(t, e) { return this.isSurge() || this.isLoon() ? $persistentStore.write(t, e) : this.isQuanX() ? $prefs.setValueForKey(t, e) : this.isNode() ? (this.data = this.loaddata(), this.data[e] = t, this.writedata(), !0) : this.data && this.data[e] || null } initGotEnv(t) { this.got = this.got ? this.got : require("got"), this.cktough = this.cktough ? this.cktough : require("tough-cookie"), this.ckjar = this.ckjar ? this.ckjar : new this.cktough.CookieJar, t && (t.headers = t.headers ? t.headers : {}, void 0 === t.headers.Cookie && void 0 === t.cookieJar && (t.cookieJar = this.ckjar)) } get(t, e = (() => { })) { t.headers && (delete t.headers["Content-Type"], delete t.headers["Content-Length"]), this.isSurge() || this.isLoon() ? (this.isSurge() && this.isNeedRewrite && (t.headers = t.headers || {}, Object.assign(t.headers, { "X-Surge-Skip-Scripting": !1 })), $httpClient.get(t, (t, s, i) => { !t && s && (s.body = i, s.statusCode = s.status), e(t, s, i) })) : this.isQuanX() ? (this.isNeedRewrite && (t.opts = t.opts || {}, Object.assign(t.opts, { hints: !1 })), $task.fetch(t).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => e(t))) : this.isNode() && (this.initGotEnv(t), this.got(t).on("redirect", (t, e) => { try { if (t.headers["set-cookie"]) { const s = t.headers["set-cookie"].map(this.cktough.Cookie.parse).toString(); s && this.ckjar.setCookieSync(s, null), e.cookieJar = this.ckjar } } catch (t) { this.logErr(t) } }).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => { const { message: s, response: i } = t; e(s, i, i && i.body) })) } post(t, e = (() => { })) { if (t.body && t.headers && !t.headers["Content-Type"] && (t.headers["Content-Type"] = "application/x-www-form-urlencoded"), t.headers && delete t.headers["Content-Length"], this.isSurge() || this.isLoon()) this.isSurge() && this.isNeedRewrite && (t.headers = t.headers || {}, Object.assign(t.headers, { "X-Surge-Skip-Scripting": !1 })), $httpClient.post(t, (t, s, i) => { !t && s && (s.body = i, s.statusCode = s.status), e(t, s, i) }); else if (this.isQuanX()) t.method = "POST", this.isNeedRewrite && (t.opts = t.opts || {}, Object.assign(t.opts, { hints: !1 })), $task.fetch(t).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => e(t)); else if (this.isNode()) { this.initGotEnv(t); const { url: s, ...i } = t; this.got.post(s, i).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => { const { message: s, response: i } = t; e(s, i, i && i.body) }) } } time(t, e = null) { const s = e ? new Date(e) : new Date; let i = { "M+": s.getMonth() + 1, "d+": s.getDate(), "H+": s.getHours(), "m+": s.getMinutes(), "s+": s.getSeconds(), "q+": Math.floor((s.getMonth() + 3) / 3), S: s.getMilliseconds() }; /(y+)/.test(t) && (t = t.replace(RegExp.$1, (s.getFullYear() + "").substr(4 - RegExp.$1.length))); for (let e in i) new RegExp("(" + e + ")").test(t) && (t = t.replace(RegExp.$1, 1 == RegExp.$1.length ? i[e] : ("00" + i[e]).substr(("" + i[e]).length))); return t } msg(e = t, s = "", i = "", r) { const o = t => { if (!t) return t; if ("string" == typeof t) return this.isLoon() ? t : this.isQuanX() ? { "open-url": t } : this.isSurge() ? { url: t } : void 0; if ("object" == typeof t) { if (this.isLoon()) { let e = t.openUrl || t.url || t["open-url"], s = t.mediaUrl || t["media-url"]; return { openUrl: e, mediaUrl: s } } if (this.isQuanX()) { let e = t["open-url"] || t.url || t.openUrl, s = t["media-url"] || t.mediaUrl; return { "open-url": e, "media-url": s } } if (this.isSurge()) { let e = t.url || t.openUrl || t["open-url"]; return { url: e } } } }; if (this.isMute || (this.isSurge() || this.isLoon() ? $notification.post(e, s, i, o(r)) : this.isQuanX() && $notify(e, s, i, o(r))), !this.isMuteLog) { let t = ["", "==============📣系统通知📣=============="]; t.push(e), s && t.push(s), i && t.push(i), console.log(t.join("\n")), this.logs = this.logs.concat(t) } } log(...t) { t.length > 0 && (this.logs = [...this.logs, ...t]), console.log(t.join(this.logSeparator)) } logErr(t, e) { const s = !this.isSurge() && !this.isQuanX() && !this.isLoon(); s ? this.log("", `❗️${this.name}, 错误!`, t.stack) : this.log("", `❗️${this.name}, 错误!`, t) } wait(t) { return new Promise(e => setTimeout(e, t)) } done(t = {}) { const e = (new Date).getTime(), s = (e - this.startTime) / 1e3; this.log("", `🔔${this.name}, 结束! 🕛 ${s} 秒`), this.log(), (this.isSurge() || this.isQuanX() || this.isLoon()) && $done(t) } }(t, e) }