/*
发财挖宝助力
更新时间：2023-8-28
活动入口：京东APP-发财挖宝

变量：
//export krWait="秒" //自行填写变量，延时多长时间。(不填写默认延时1秒)

//export fcwbhelpnum="人数" //自行填写变量，需要邀请多少人停止。(不填写默认邀请60停止)

//export jd_fcwb_id="活动ID" // 不填默认跑地址2邀请

挖宝目前有2个地址
地址1：https://bnzf.jd.com/?activityId=xpEf-M3RyE8Cd8nP8Zd0eA
地址2：https://bnzf.jd.com/?activityId=cNAsHasSnzWTAtWhIQR4dA

cron:7 7 7 7 *
============Quantumultx===============
[task_local]
#发财挖宝助力
cron:7 7 7 7 * jd_fcwb_mfhelp.js, tag=KR发财挖宝助力-加密, enabled=true

*/
const $ = new Env('发财挖宝助力');
var version_='jsjiami.com.v7';const llliill1=ilIll1Ii;(function(illIIii,illl1li,I1111lIl,l1iiI11i,l1Il1lII,l1I1liiI,IIi111il){return illIIii=illIIii>>0x6,l1I1liiI='hs',IIi111il='hs',function(iliI111I,I1l1IIii,llII11l1,Ii1IlI1i,iiiliIil){const ii1lIIl=ilIll1Ii;Ii1IlI1i='tfi',l1I1liiI=Ii1IlI1i+l1I1liiI,iiiliIil='up',IIi111il+=iiiliIil,l1I1liiI=llII11l1(l1I1liiI),IIi111il=llII11l1(IIi111il),llII11l1=0x0;const iIii1I=iliI111I();while(!![]&&--l1iiI11i+I1l1IIii){try{Ii1IlI1i=parseInt(ii1lIIl(0x160,'ahiI'))/0x1+-parseInt(ii1lIIl(0x11a,'6v*!'))/0x2*(parseInt(ii1lIIl(0x1f3,'dQ#b'))/0x3)+-parseInt(ii1lIIl(0x151,'o7aQ'))/0x4+parseInt(ii1lIIl(0x1bc,'WUs$'))/0x5*(parseInt(ii1lIIl(0x173,'H^jS'))/0x6)+parseInt(ii1lIIl(0xcb,'aG$)'))/0x7+-parseInt(ii1lIIl(0x12b,'o7aQ'))/0x8*(parseInt(ii1lIIl(0x14f,'DoUQ'))/0x9)+-parseInt(ii1lIIl(0x15d,'QOOB'))/0xa*(-parseInt(ii1lIIl(0x12d,'3YSa'))/0xb);}catch(iiIlII1){Ii1IlI1i=llII11l1;}finally{iiiliIil=iIii1I[l1I1liiI]();if(illIIii<=l1iiI11i)llII11l1?l1Il1lII?Ii1IlI1i=iiiliIil:l1Il1lII=iiiliIil:llII11l1=iiiliIil;else{if(llII11l1==l1Il1lII['replace'](/[IDVlLdYgUrkwFqMxSJW=]/g,'')){if(Ii1IlI1i===I1l1IIii){iIii1I['un'+l1I1liiI](iiiliIil);break;}iIii1I[IIi111il](iiiliIil);}}}}}(I1111lIl,illl1li,function(lIlIiIll,l1I1I1I1,II1lI11,iiI1I111,i1II1,IIiiIIi1,Ii1liI){return l1I1I1I1='\x73\x70\x6c\x69\x74',lIlIiIll=arguments[0x0],lIlIiIll=lIlIiIll[l1I1I1I1](''),II1lI11=`\x72\x65\x76\x65\x72\x73\x65`,lIlIiIll=lIlIiIll[II1lI11]('\x76'),iiI1I111=`\x6a\x6f\x69\x6e`,(0x13b7d8,lIlIiIll[iiI1I111](''));});}(0x2fc0,0xc5b28,I1IlIIiI,0xc1),I1IlIIiI)&&(version_=I1IlIIiI);const I1l1lI1I=$[llliill1(0x148,'aG$)')]()?require('./sendNotify'):'',I1Il1II1=require('./function/jdCommon'),lI1lliIl=require('./function/h5st41.js'),IIiIliiI=$['isNode']()?require(llliill1(0x206,'F#TR')):'',i11I11Ii=llliill1(0x182,'9aF8');let ll1i1Il1=[],liiIiIi='',Il1iIiil,i1IlIi1=[];$['hasEnd']=![];let iIllIII1=llliill1(0x243,')n9s');process[llliill1(0xc3,'jT&j')][llliill1(0xec,'TauR')]&&process[llliill1(0x119,'WUs$')][llliill1(0x10e,'DoUQ')]!=llliill1(0x154,'#!YA')&&(iIllIII1=process[llliill1(0x180,'9aF8')]['jd_fcwb_id']);var i1ilIii=new Date()['getTime']();let llI1li1l='1',iiliIiiI='';llI1li1l=$['isNode']()?process['env'][llliill1(0xa9,'DcMp')]?process[llliill1(0xd6,'8*v(')][llliill1(0x125,'xhWG')]:''+llI1li1l:$['getdata'](llliill1(0x1e2,'mvw3'))?$[llliill1(0x13c,'@Z^k')](llliill1(0xb2,'2@Zw')):''+llI1li1l,CryptoJS=$[llliill1(0x1cd,'PYLu')]()?require(llliill1(0x1a5,'qAKj')):CryptoJS;if($['isNode']()){Object[llliill1(0xed,'F#TR')](IIiIliiI)['forEach'](lIii1lil=>{ll1i1Il1['push'](IIiIliiI[lIii1lil]);});if(process['env'][llliill1(0x1a3,'65aa')]&&process['env'][llliill1(0xcc,'xhWG')]==='false')console[llliill1(0xaf,'65aa')]=()=>{};}else ll1i1Il1=[$[llliill1(0x145,'9aF8')](llliill1(0x16f,'Ahpe')),$[llliill1(0x19f,'KpRZ')]('CookieJD2'),...Il111ilI($[llliill1(0x1f2,'ahiI')](llliill1(0x129,'@Y)o'))||'[]')[llliill1(0x10a,'TauR')](lll1I1ii=>lll1I1ii[llliill1(0x177,'H^jS')])][llliill1(0x1be,'@Y)o')](l1il1IiI=>!!l1il1IiI);let ll11iII='60',Iil11Ili='';ll11iII=$[llliill1(0x187,'$IvA')]()?process['env'][llliill1(0x22d,'2@Zw')]?process[llliill1(0x17f,'TauR')][llliill1(0x1a2,'65aa')]:''+ll11iII:$[llliill1(0x22e,'1KVT')](llliill1(0xdd,'aG$)'))?$[llliill1(0x1da,'aG$)')]('fcwbhelpnum'):''+ll11iII,Iil11Ili=$[llliill1(0xb5,'F#TR')]()?process[llliill1(0xf0,'Ryze')][llliill1(0x224,'KlKo')]?process[llliill1(0x209,'QlO2')][llliill1(0x183,'G%)R')]:''+Iil11Ili:$[llliill1(0x19a,'TauR')](llliill1(0x20e,'kSjX'))?$[llliill1(0x21b,'wXbp')]('nolanh5st_token'):''+Iil11Ili,!(async()=>{const lIlIIill=llliill1,liIi1Iii={'BmUUJ':lIlIIill(0x142,'!a10'),'HyIfk':lIlIIill(0x14a,'qAKj'),'HlUVR':'https://bean.m.jd.com/bean/signIndex.action','XjSzP':function(ilillIii,I1illl1I){return ilillIii+I1illl1I;},'djejg':lIlIIill(0xb9,'3YSa'),'ZdEEg':function(IlII1III,I1i1lIli){return IlII1III+I1i1lIli;},'TsErH':lIlIIill(0x1e4,'6v*!'),'yeoYu':function(lIiililI,lIlll11I){return lIiililI(lIlll11I);},'ZosHk':function(ll1IIl11,IliIllIi){return ll1IIl11===IliIllIi;},'LehgQ':lIlIIill(0x1dd,'1KVT'),'zzJkH':function(IIilII1l,l1iili1I){return IIilII1l!=l1iili1I;},'RBWsr':'【请求限制，暂时休整等待','AKPcE':function(II1111il,ii111li1){return II1111il*ii111li1;}};if(!ll1i1Il1[0x0]){$[lIlIIill(0x223,'65aa')]($[lIlIIill(0x176,'G%)R')],liIi1Iii[lIlIIill(0x218,'KpRZ')],liIi1Iii[lIlIIill(0xe7,'@Y)o')],{'open-url':'https://bean.m.jd.com/bean/signIndex.action'});return;}console[lIlIIill(0xc7,'cmE1')](lIlIIill(0x208,')n9s')+ll11iII+'自动停止'),console[lIlIIill(0xe2,'!pR7')](liIi1Iii['XjSzP'](liIi1Iii[lIlIIill(0x19b,'lWjr')],iIllIII1));for(let iIIiI1i1=0x0;iIIiI1i1<ll1i1Il1[lIlIIill(0x132,'kSjX')];iIIiI1i1++){if(ll1i1Il1[iIIiI1i1]){liiIiIi=ll1i1Il1[iIIiI1i1],$['UserName']=decodeURIComponent(liiIiIi['match'](/pt_pin=([^; ]+)(?=;?)/)&&liiIiIi[lIlIIill(0x211,'o7aQ')](/pt_pin=([^; ]+)(?=;?)/)[0x1]),$[lIlIIill(0xeb,'qAKj')]=liIi1Iii[lIlIIill(0xc2,'O(dm')](iIIiI1i1,0x1),$[lIlIIill(0xdf,'aG$)')]=!![],$[lIlIIill(0x108,'!pR7')]='',Il1iIiil='',console['log'](lIlIIill(0x149,'6v*!')+$[lIlIIill(0xeb,'qAKj')]+'】'+($[lIlIIill(0x1a4,'T3Mc')]||$[lIlIIill(0xb7,'G8qD')])+lIlIIill(0x238,'lWjr'));if(!$[lIlIIill(0xd3,'wXbp')]){if(lIlIIill(0x16a,'TauR')!==lIlIIill(0x121,'@Y)o')){$['msg']($[lIlIIill(0x216,'DcMp')],'【提示】cookie已失效','京东账号'+$[lIlIIill(0x1d4,'3NPk')]+'\x20'+($[lIlIIill(0x1de,'QlO2')]||$['UserName'])+lIlIIill(0x153,'aG$)'),{'open-url':liIi1Iii[lIlIIill(0x166,'dQ#b')]});$[lIlIIill(0x139,'DoUQ')]()&&await I1l1lI1I[lIlIIill(0xe0,'wXOc')]($[lIlIIill(0x213,'2@Zw')]+lIlIIill(0xca,'2@Zw')+$['UserName'],'京东账号'+$['index']+'\x20'+$[lIlIIill(0xd8,'65aa')]+lIlIIill(0xbb,'qAKj'));continue;}else IiiiiIi[lIlIIill(0x130,'DcMp')](il1lii11,Illlilll);}$['UA']=I1Il1II1['genUA']($['UserName']),$['jda']=liIi1Iii[lIlIIill(0x1b5,'@Z^k')](liIi1Iii[lIlIIill(0x13b,'dQ#b')],liIi1Iii[lIlIIill(0x101,'DoUQ')](lIlllI1I,'1xxxxxxxx.164xxxxxxxxxxxxxxxxxxx.164xxxxxxx.165xxxxxx.165xxxxxx.1xx')),await IiiI1l();llI1li1l&&(liIi1Iii[lIlIIill(0xb4,'0GZa')](lIlIIill(0x196,'G8qD'),liIi1Iii[lIlIIill(0x155,'jT&j')])?liIi1Iii['zzJkH']($[lIlIIill(0xe1,'wXbp')],ll1i1Il1[lIlIIill(0x1f8,'8*v(')])&&(console['log'](liIi1Iii[lIlIIill(0x22f,'wXbp')](liIi1Iii['RBWsr'],llI1li1l)+lIlIIill(0x1d9,'$IvA')),await $['wait'](liIi1Iii[lIlIIill(0x203,'wXOc')](parseInt(llI1li1l,0xa),0x3e8))):lIIiiIl[lIlIIill(0x117,'8*v(')](liIi1Iii[lIlIIill(0x195,'WUs$')]));if($['hasEnd'])break;}}})()[llliill1(0x201,'$IvA')](ll1I1Ill=>{const IilI1lli=llliill1;$[IilI1lli(0x231,'@Z^k')]('','❌\x20'+$[IilI1lli(0xab,'wXbp')]+',\x20失败!\x20原因:\x20'+ll1I1Ill+'!','');})[llliill1(0xef,'#!YA')](()=>{const Iili111l=llliill1;$[Iili111l(0xde,'mvw3')]();});async function IiiI1l(){const l11i1IIl=llliill1,l1ilII11={'VCEHg':function(I11iiii1,iIllllll){return I11iiii1==iIllllll;},'kBsbf':'抱歉，貌似账号已黑，跳过！','XFXgm':function(lliilli1,iii111l){return lliilli1===iii111l;},'frCjW':l11i1IIl(0xbc,'!pR7'),'ifhLH':function(il1llll){return il1llll();},'fggFk':function(iI1lI1i,I1IIIlIl){return iI1lI1i!=I1IIIlIl;},'SBftg':function(iiii1lll){return iiii1lll();},'VjRoa':function(iIIi1Iil,llIiilI1){return iIIi1Iil==llIiilI1;},'pBwIs':function(ll1IiI,l11II1l){return ll1IiI!=l11II1l;},'vZAUm':l11i1IIl(0x1a9,'rE^z'),'UpEnR':function(iIi111il,iIil1II){return iIi111il>=iIil1II;},'TjwLO':function(Illii1,il111l1I){return Illii1===il111l1I;},'bZZAu':l11i1IIl(0x136,'wXOc')};$[l11i1IIl(0x1d1,'f2I%')]=0x0;try{if(l1ilII11['XFXgm'](l1ilII11[l11i1IIl(0xea,'H^jS')],l1ilII11['frCjW'])){await l1ilII11['ifhLH'](IIillll);if(l1ilII11[l11i1IIl(0x105,'Ryze')]($[l11i1IIl(0x12f,'aG$)')],0x1)){let ll1lIiIi=await l1ilII11['ifhLH'](I11IlllI);}await l1ilII11[l11i1IIl(0x16c,'8*v(')](ilI1lil1);if(l1ilII11['VjRoa']($['index'],0x1))$[l11i1IIl(0xaa,'KpRZ')]=$[l11i1IIl(0x102,'qAKj')];else l1ilII11[l11i1IIl(0xdb,'o7aQ')]($[l11i1IIl(0x192,'rE^z')],!![])&&$['helpCount']++;console[l11i1IIl(0x233,'!a10')](l11i1IIl(0xac,'!a10')+$[l11i1IIl(0x1c7,'9aF8')]+l11i1IIl(0x174,'qAKj')+$['personNum']+(l1ilII11['pBwIs']($[l11i1IIl(0x23e,'rE^z')],0x1)&&l1ilII11['vZAUm']+$[l11i1IIl(0x11e,'kSjX')]||''));if(l1ilII11[l11i1IIl(0x23b,'DcMp')]($[l11i1IIl(0x11b,'F#TR')],ll11iII))$[l11i1IIl(0xad,'0GZa')]=!![];}else{if(Iilil11l(I1IIiIi)){ii11IiI1=lll1lili[l11i1IIl(0x235,'#!YA')](lllI1l1l);if(iIlII1i['success']==!![])i1iI1l1i['personNum']=iII1Ill[l11i1IIl(0xe3,'kSjX')][l11i1IIl(0xdc,'QOOB')];else l1ilII11[l11i1IIl(0x1e5,'F#TR')](liIiII1l['success'],![])&&ii1Iiill[l11i1IIl(0x1d7,'KpRZ')](l1ilII11[l11i1IIl(0xc4,'!a10')]);}}}catch(Iliiii){if(l1ilII11['TjwLO'](l1ilII11[l11i1IIl(0x1e9,'qAKj')],'hoeQa'))return il1lll11[l11i1IIl(0x230,'65aa')](llliII1I);else console[l11i1IIl(0x1a1,'o7aQ')](Iliiii);}}function I1IlIIiI(){const ii1Ill1I=(function(){return[...[version_,'FrjIlksVjxkiMamVi.JdcwWoLmYD.gvSq7IUFIII==','x8o8lmoDWQi','FJxdNG','emodW7HHW6HdD8o9zcxdNdjUWPtdL3L2WPyL','v8omCu3cJmktycjJWOvAfa','iHKsWPVdTa','tmkhz8oKWQC','W60Cvdnxwb/dPmoI','BCk3ma','ouu2fSo4','W5tdGSooW5m3','gSojW4TvWPO+','WO1MWPddJ8oZ','sX3cMCkeW5Oodba','nSkHW7VcMSkT','FZVdIq','sxZdObZdMHHaex0','WPmbjCoLWPLtWRddNsK','W6CooIxdT34','x8kgv8oBWRe1lW5Gjq','W7xdTmo9W6eg','hmo3W5n3WPq','W6jvoKf4aCk4W4VdTCkhaCkUW7Gfs0u','WRZdGmoiWRpdRq','W6xcQmkiqmoY','W7f9W5FdJMy','eIxdGZ/cJCoIlfNdUmoLrdjSWRP4aG','WQtdVwS','imoowW','WQOMW60','WQNdJ8om','m8kDg3TZW65T','WPqyW7RdT8oQhmkSecC','W67cGCkUFmoSsLNcJ2zTbtzEWONcOSoi','AZ/dKmkEta','i8o/uJuNmMHMWO0','W4Oswq','ybVdQSkeW74','WPuCcH5O','W7f6eKjR','hCkqW4lcV8k0','FdVdLmk2','o3OdaSohaG','W7KQeqpdUq','W4ddO8kTWPJcPdK','W5NcUSoyWOtdMW','WQqqjd1nsCoBW4yi','a8k1WRb3W54','aK7dSdFdVtX8','wmkot8oaW5S','nmoTFtBcOH7cM8kk','ae1nWOGFWPKXW6NcPZPfWPCJWRnGu8oPlCktWPVcINpcGmkxW5nWW4K3W7lcVGiOdaldM8ohcqKXW43dPmkfW7ZdGSk5jqChW5VcVfXgWOlcKLy','bCkNW4ZcLCkN','WPipmmolWO5f','WROsW73cRmk2','j8o/uciqnq','dmoyW59LW6KqnSk1','imo3jXZcJJdcPSknpKdcT3fchtuG','p8kjWPy','dCkNWPuAEW','cgurjmoe','F8obl8ouWRW','xmkrrSosWRyN','W4Oyumo9WOOP','WPKWW5WHEa','W4ldKCoaj8k9oMy','WQJdJCo/WOJdUq','W4FcJCoVWRddKa','WPKKW5DiDSk9vCkWW4RdMq','WRFcH8kaW7To','AmoDemoFWPBcKW','WONLJ5JOGQtOV7VMJRJKUARKUOlMJz/LJktVVRJOR4lMOzVMNkVNVApNUQ8','W7nRdq','W45up3vs','W7HHhSoLiCooFq','WRyHzfOsWPa','W69LgmoYjq','bCk6W6BcN8k7iW','c8oYFqi8WRyw5B2r5AA+44oq5lU85lUW6lwj5y6C','44kn5O6P56sC44gr6k+p5yw+6i+M5y2h5lIJ5lUA6lEU5yYg5lUVW73cPNVdShRdLSo855QI5O6v5l2H55wrW798WRaAW64w55Ur5lQR5lMY56YL5yMP6i6r5yYy','DHhdTmkkW5K','W74wqIu','tmkbzSo/WQq','WQecWQ7cTJJdSW','bmoqpCkpW6n6EMb4m0SQWPBdKq','duTlWRuFW4q','ct3cPehcH0OFgMHsW61+yW','WQ/dJSoEWQu','zUISVUMfPEAvGoEAPow8K+InK+wpR8o7WRSXW6OvW49cW7ldJ8o1hSofW7bZgaCbisyAW53dSSoNW57cNSk0vNSZoSkQm8o0sSkAeSkaWPOOWOxcHmk6W4FcTa','W7BcSmoiWRxdQW5QbK/cO8omyb9pkCkHWQrMWQBdMhZdQq','FgZcIthcSG','qbBdSmkPza','sxJdVHZdGa','WPnzW43cJwy','WOSqla','w3NcV25O','WOBcLCky','WP57W7BcHG','W4CRWRBdGZ3dT8oWiZKFD2ZcQq','zvCir8ka','WQ4teSowWQ0','wW4jW41BWPDMWOFcKqX4W7y','i8ozW4rdWRO','fmoyW6S','vXVdQNJdIa','W6bhW7pdRW','bXCnWRS','WOuVW4WfyG','44oL5yQ35yIu54Md5Ocn44oE77+A','W7ZcHCkSECoRtLhcNxy','rSkwESouWRWLjdDW','EtNdO8klzW','W7eLvCoxWPS','h8oJwSopfq','WOvgW6JcG3S','k8owzColpW','ESkzu8ogW7RcM0TY','WO7cKSkgW5v9uW','D8knv8ofdq','W70bW6FcKSkdW7i8WR/dHsfUWPXO','oa5YzmkwuwlcNty','44km5BAl6ykM6k635lQc5Pwg772l','zftcUubp','WO/cKCkbW5u','ALqTwmkLqa','W7nEW6NdONJcTW','6kY/5yMT6zQd5Os35z2/W5vaxfCQ6l2Y5yEy5Qo15l+45PAC5yA15A+4row5JoISTEMcRoI/SoIeVUACHowpUoImO+wmRbRdKKlcRtbo','vqVdRCkNra','tXdcMW','WO0vnmoTWPLeWPm','qmoiBwVcMW','q3ZcGJxcHSoNnG','DZtdJW','W7PQha','W4WLg8oDWPLfWRe','W7DWhSoXm8kamX3cP2FdTuZdLmkGzqlcISozyt4','WO/cN8kaW5fWt8kuWPnzsmo8CJ9CW60','W54frSoIWOy5rK5aW7GYW5u1W6lcKCobpw7cRmkj'],...(function(){return[...['hL1vWPyo','fCkJwmo06kYL5Rca5Aw86lw077Yf6k625QoX5P6e576+6lwz6yst6k23','W48oCmo1WPOK','WR84W6NcNa','oCkoW4BcOSkx','W6byn0T4bmo8WPxcTq','WPGCW6ldPG','xhGurCk1','FCoAeCo6','WQdcV8kvW5TA','W4pdRSkG','p8kLmafT','W4q7W7tdHCoGmmkm','hu9otSoKW5i','WR/dJSoiWRq','xCkuzSo5lq','WO7dJmoVWPxdGG','tcFdR8kUW78','WP0PW5auuW','44gB5B+j5yMZ5yUS5yU/44gmjW','44k/5yIO5yMC54Ml5Oog44gC772M','Dt/dJCk3FYDg','FJJdHMldUW','WQVdVwjwmSo0w0TV','BvO2uG','W7yUF8o2WP0','hSoeW55dWRO+W7i','W4dcJCoSWRtdRq50ma','vMFdTq','bruoWRJdQCkdWQpdKSoYnCkW','ktiMWP7dHmkKWPRdPq','W74QAfuLW4XbdW','W74lxZbmwxZdU8o8','s8kDCSoSirT4dmom','d8oCW6zvW6e','W6rsn2rXamoN','vEoaUUI0HowpICk644kO5BsT6yoF6k6Q5lMz5PET776/','DfRcJXlcIq','jCopAtCs','uCkdFmoC','j8o1wq','xCk/qSoNja','W49xk8oTiW','W4hdM8oAjG','W5NdGmoqW6y','pSoetmoxe3Dd','FCo9D0JcQq','Fmo7uLBcTG','W7/dKmoXbSk7','WPldPmo5W5ZORQVMSA7LP6dOTytVVPBORkRMOQJMNjFNV7xOTjlPHlhORiC','5lUG5lQ95PYX5yIA5zIA6k6R6zEi5Psk5O2I5lQI56Qj77656k2M5Qom5P2R6iwc6lUK6k6P5As2572P57MQ5Oci5ys+','WPb6W7ZcJ3K','WPOYg8oFWOy','jSo8rY8i','W4dcUCk5q8oQ','W77cLSkkW7BcUCoIu8kKW7dcMmkVDa','WRm2W6dcGa','WOewjYjbxG','W7qmicJdRNRdICoEhCozqrJdMCoFvmkSaa9d','x2BdSrRdKbO','muCndCo2','rCkdESooWRC','xmogEf3cJmkn','WQqfW6dcKSkA','W4uWBKWLW4XbdW','gowoTEIbHoI8JEAoU+s5NUs4REApVEwmSE+/TEIUToAHSoAFSoE+TEE7QW','W7zQdSoKoa','W4WbWQtdU8kDd8oQaMldJIy','W4ldSSkG','sCktdw19','WPLXW6G','WR4SW6SN','eCoeW4j+W78C','5OU65Q+t77YY6loj5l2y6lw75y+Q5BE66BIO77YD6lwf6l6C77YL','s8kzCSoSkW','W7nwk1z4','W6ukjJldT33dS8ocfq','WOmEpZC','cmonnSkRFuaafmonkvDUW7W','WRq5W6NcGmkg','kwS6iCoy','wwtdUXddMGT/eNz7W4bEra','fCooW40','W5ZdTCk1WPtcQsOvmmoA','56w0a0ddPmkap0bi44cP','c8kSW5ZcLmk+mSkf','sCoiu0RcKq','qhZcKJ4','WRDHWQZdPCoA','W75BW6pdRfJcON3cQq','W6Dwluq','vK7cOY7cIq','h8oWsZyk','WPS4W7zaA8kS','CSk0DGe','xSkhpuX3WQe','WQO+W5pdJ8oo','WPmyW41OBa','wCknBW','WQ1BWRRdNq','W78JFafn','zXhdKCk/W70','gSknfbfE','WRLkW6RcTfK','WQ8kW54AFW','xCkhzmonWR0P','q8o2W47cHCkXjCkqumkEWR0mW7Py','DJ3dHa','srVcNCkQW6yD','d1XnWPWnW5D/','W7PYWQ1QbcBdV8oZoSkqW6dcOW','WPiOcdfu','CSkrtdpcPa','i8oOsI0u','uCkcsmoDW6ddHc4zWO3cLmo2WOzvWO3dShldJHldTNdcSwO','imoeuSoCbNW','adKOWPFdIa','heruv8o/W5ZcNda5WOy','wqhdUG','mLzWWO4L','WRzHW7u6xNxdSCo5x8ocWPO','W7KamWtdQMe','W7nckK0','W7NcKCoU','W4uCsSo5WPy','uSogE2e','kmkFWOC6BG','WO4AW4lcJCkn','fSk/W4tcO8kO','W5jsW7ZdO8oQhmk2ftRdLZ0spa','W6v5dM15','6BQl6k2c5yAz6yoZ5yIu5yIn6lwO5y+f5lI477+T6yo26kYl5RIM','W7vCW7y','qmk3pgLJ','EK4HumkPvKe','W4hdKmokW7y5x8kI','Bmk5junZW7HSobS','jCo1uIqknsH7WO1oW4i0t8kgWOy','W6ddICkGWQ7cQa'],...(function(){return['ixZcOxhOR5pMSOxLPz/OTidVVzxOR7BMOjpMN7RNV7/OTP7PH6pOR5O','v2NdPHBdNa','WRJdS35lmG','W4hdOmkQWPG','ruSfv8kU','WRGbW7TKAq','WPaboSoR','W5XHe8o7oa','mCoyW6nbWRa','wb3dUG','sSkXtcdcMG','W6JcLmkQDmoKxvK','FCooemoHWOa','ugFdUXS','W6VdKSkPWRNcRq','wmkvsSokW7e','tJ7dQvldQq','WP8VW7RdJSoh','nc7cHa','dGuE','y8oadSoZWOVcNmkXWR9pW4GZWQddO11+','W73cISo9WRBdKfu2EKdcQCoYgJmvfmkTW4nuWPVcGq','WPpcKCkcW5rXsG','W5hdM8oNn8kUj2NdQW','WRuhW78WzG','m8oPmeFdKx7dUmoikNhcOL5Ewa','aSkElY7dJ8okzdrIWO5vca','WQJdGmooWQe','DKVdKYtdJG','W4NdOSkWWP/cRYGqjSonWR4t','WQHrWQRdGmotWR5T','W5xcLCkBvCoI','eXClWQNdPa','W4NdM8ot','W6WVDbb3','W69ypG','WRuimtxdKcBdJSodwmoRtIhORylMS7ZLPjhOT6/VVApORORMO67MNBZNVRdOTl3PHlhORjO','W6xcN8o7WRxdHG','eMOcfCoe','yLhcSWxcJq','mhJcIslcTLm/W4xcS8kl','A8kuCYlcKq','y8o/jCoGWOi','WQSqeSoGWQ4','W5xdLCogmmk5','WPNdKSoFWRldHSk2ASk2','hergw8oZ','W6TwkvvKi8oHWP3cJ8orwCoR','WQfYW4xcR3K','sLpcQX7cLa','yLhcMf1kWRm','mmkOWRbOW7xdTZ1HvSkBiCkOWOzqWQCwDmoqFCktmSk5','W5Tfb8ogaW','WPXzW6tcKwC','WPusamoVWPvd','eCoeW4zxWPGLW6BdGwW','W6hcKmkZDq','44kt6lsr5y6U','WQddS399oCoZ','W6ehs8oTWPW','dXKE','qWdcLSknW6C','brOwWRxdSW','W4tdS8kqWPZcRJK','jCo7uYa','WPldVx9Wpa','WPuoW5JdQmonfG','ASkVCqxcK3ZdOmowow3cONmjvwSSWOyxWQW','yqhdUmkDW5NdUcRcIq','WQeBE0XZeCoHWO7cOSogf8kHW6W','5B2r5yQw6k6757YB5REB5yUUWOBcVEs5OE+8Mq','CWpcLSkKW4q','WPFORO7PH6VML7dNMypLVApOJ6BLJyFdRmkPWQFcMSkgW7S','uYxcRSk8W7K','WOvuW4BcS0G','wtpdP07dKq','xrZdQ8kgW6pdVatcG8kSWOO','W6BcKSo5WRhdJW','k8kxWQLSW6S','y8ksu8oLhG','vwFcLW','W6H1kKD7','WRuYW49Tqa','aXxcISkFW70lxbr6WOryuSk+yCo8WQNcIehdIsxcNmo6sSohW4NcVSkxWQ7dOeLLWQhdPMtdMCkoufupcCodWPHDuaPmjmoMW7hdRqVdICoxWPqQFq','BvlcLG','WPjtdW','b29wWQO1','W4ZdRSkOWPBcRIJLTO7LPAFML6VdQ1pdPW','x8o9WPVdICoRC8kqqCkKWPWbW7y','gKWlj8oRnbdcMW','dCk1WQm4','gSoxW6H/WPy','AuFcM01Q','W64nvcLwutJdT8o2','kCkEWQvzW5y','W74IzLS','W6BcGSksF8oIqfy','WOqZW53cQ8kT','W7VcN8oKWQm','kCopsG','r8khEmorWRmHka','nGuCWQJdJ8khWQldHW','cSouW4LeWR45W6a','WPOeW6dcO8k2','BgldGbRdLq','WOv7W73cHMpcOCkoia4','cSkQW5/cKSk3i8kisCkFWQyO','WPqLW49e','bCk6W6tcN8k4l8kk','gSkXWRK9zCocCSosWR/dRW','W6BcN8k6DCo9','srVcNq','l8o7sIq','WRddNvTBpG','jNjdWPWA','u8kVASo9W6q','WQ8thGb2','WQtdLCooWRdcSSo4kmk7WRBcGCk5nxRdOCoirt/cVY/dGCkom2VcII3dMKDqddGN','DvpcI0Tv','B0KbwCkB','W7qxqIva','Ed7dPSk1Fsrfb8k7WP0','WPCyW6/dTa','iCoAW4zBW5K','W7pcL8oNWQFdJWnG','W5FdI8oF','mquFWQZdSG','ymkrBCopWPWJidq','kmouW55JWOe','cCkNW4VcN8k7iW','WR0MW6SGx3ddTSoOea','kwxcKZ3cQ01TWQ7dJSohWOfZ','WRKwg8ojWPe','ctZcOuZcGePDd1fhW61z','emo+W51yW7G','ubpcLCkKW5O','WPmDW7/cNCkT'];}())];}())];}());I1IlIIiI=function(){return ii1Ill1I;};return I1IlIIiI();};function ilIll1Ii(_0x178251,_0x28ec92){const _0x53e768=I1IlIIiI();return ilIll1Ii=function(_0x2b5d4d,_0x63850d){_0x2b5d4d=_0x2b5d4d-0xa9;let _0x377882=_0x53e768[_0x2b5d4d];if(ilIll1Ii['ImoBMN']===undefined){var _0x1ef0d9=function(_0x181e51){const _0x50de7a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x34436b='',_0x242239='';for(let _0x2c1b4d=0x0,_0x593a8d,_0x41ab63,_0x7eaa0c=0x0;_0x41ab63=_0x181e51['charAt'](_0x7eaa0c++);~_0x41ab63&&(_0x593a8d=_0x2c1b4d%0x4?_0x593a8d*0x40+_0x41ab63:_0x41ab63,_0x2c1b4d++%0x4)?_0x34436b+=String['fromCharCode'](0xff&_0x593a8d>>(-0x2*_0x2c1b4d&0x6)):0x0){_0x41ab63=_0x50de7a['indexOf'](_0x41ab63);}for(let _0x2e8abc=0x0,_0x3f3d38=_0x34436b['length'];_0x2e8abc<_0x3f3d38;_0x2e8abc++){_0x242239+='%'+('00'+_0x34436b['charCodeAt'](_0x2e8abc)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x242239);};const _0xf3bf6d=function(_0x2d5d52,_0x5505bd){let _0x13c1c6=[],_0x2da6f1=0x0,_0x292319,_0x19631a='';_0x2d5d52=_0x1ef0d9(_0x2d5d52);let _0x2481f3;for(_0x2481f3=0x0;_0x2481f3<0x100;_0x2481f3++){_0x13c1c6[_0x2481f3]=_0x2481f3;}for(_0x2481f3=0x0;_0x2481f3<0x100;_0x2481f3++){_0x2da6f1=(_0x2da6f1+_0x13c1c6[_0x2481f3]+_0x5505bd['charCodeAt'](_0x2481f3%_0x5505bd['length']))%0x100,_0x292319=_0x13c1c6[_0x2481f3],_0x13c1c6[_0x2481f3]=_0x13c1c6[_0x2da6f1],_0x13c1c6[_0x2da6f1]=_0x292319;}_0x2481f3=0x0,_0x2da6f1=0x0;for(let _0x47a0f9=0x0;_0x47a0f9<_0x2d5d52['length'];_0x47a0f9++){_0x2481f3=(_0x2481f3+0x1)%0x100,_0x2da6f1=(_0x2da6f1+_0x13c1c6[_0x2481f3])%0x100,_0x292319=_0x13c1c6[_0x2481f3],_0x13c1c6[_0x2481f3]=_0x13c1c6[_0x2da6f1],_0x13c1c6[_0x2da6f1]=_0x292319,_0x19631a+=String['fromCharCode'](_0x2d5d52['charCodeAt'](_0x47a0f9)^_0x13c1c6[(_0x13c1c6[_0x2481f3]+_0x13c1c6[_0x2da6f1])%0x100]);}return _0x19631a;};ilIll1Ii['RqdxUw']=_0xf3bf6d,_0x178251=arguments,ilIll1Ii['ImoBMN']=!![];}const _0x2cc5f3=_0x53e768[0x0],_0x1d93b8=_0x2b5d4d+_0x2cc5f3,_0x142339=_0x178251[_0x1d93b8];return!_0x142339?(ilIll1Ii['hztpaV']===undefined&&(ilIll1Ii['hztpaV']=!![]),_0x377882=ilIll1Ii['RqdxUw'](_0x377882,_0x63850d),_0x178251[_0x1d93b8]=_0x377882):_0x377882=_0x142339,_0x377882;},ilIll1Ii(_0x178251,_0x28ec92);}function IIillll(){const iIl11iiI=llliill1,I1IIlIli={'iGkdk':function(IlIi1ill,lIiIIIiI){return IlIi1ill|lIiIIIiI;},'lpdcB':function(iilI1i1i,I1I1lll1){return iilI1i1i&I1I1lll1;},'xDfcV':function(liliI1I,iiiiIII1){return liliI1I===iiiiIII1;},'mICsF':iIl11iiI(0x13e,'#!YA'),'FTCwb':function(iII11ii,I1l1II1l){return iII11ii===I1l1II1l;},'yaLRo':function(lillilII,iIIlIIIi){return lillilII==iIIlIIIi;},'RXRSn':iIl11iiI(0x1c8,'F#TR'),'NKzdv':iIl11iiI(0xcf,'cmE1')};return new Promise(Il11i1Il=>{const l11lIIi=iIl11iiI,l1Iii1lI={'LuWZC':function(iIl1l1Il,i1l1i1i1){const IlIlIIll=ilIll1Ii;return I1IIlIli[IlIlIIll(0x245,'QOOB')](iIl1l1Il,i1l1i1i1);},'LDQBx':function(iillilII,lIillI){return iillilII|lIillI;},'CaDFM':function(Iii1ili1,I1Illlll){return I1IIlIli['lpdcB'](Iii1ili1,I1Illlll);},'cRlIn':function(I1Ill1i1,l1I1Iili){const i1iilIli=ilIll1Ii;return I1IIlIli[i1iilIli(0x228,'dQ#b')](I1Ill1i1,l1I1Iili);},'qYjOk':I1IIlIli['mICsF'],'LCAQz':l11lIIi(0x1ed,'dQ#b'),'VwlKP':function(iil1iIll,I1IIIlI){return iil1iIll(I1IIIlI);},'qVRPO':function(I1iliii1,iIIiIiI1){return I1IIlIli['FTCwb'](I1iliii1,iIIiIiI1);},'HPFOT':function(lllillll,lIl1I1i1){const lIiil1II=l11lIIi;return I1IIlIli[lIiil1II(0x1db,'rxX0')](lllillll,lIl1I1i1);},'axsmH':I1IIlIli[l11lIIi(0x237,'jT&j')],'BbVvj':function(liIIll1i,I1ill1i){return liIIll1i==I1ill1i;},'jYVPw':I1IIlIli[l11lIIi(0xe5,'ahiI')]};let ii1Iil11={'linkId':iIllIII1};$[l11lIIi(0x118,'dQ#b')](II1liiI1('happyDigHome',ii1Iil11),async(lI1lIilI,l1iI1lli,iliIIiiI)=>{const IlIi11ii=l11lIIi,I1llI11I={'ftlbs':function(Ililii1l,ii1ll111){const ii1IIil=ilIll1Ii;return l1Iii1lI[ii1IIil(0x171,'O(dm')](Ililii1l,ii1ll111);},'aOYnX':function(III1I11,Il11iIll){const lili1lIl=ilIll1Ii;return l1Iii1lI[lili1lIl(0x128,'#!YA')](III1I11,Il11iIll);},'SMOhs':function(llllili1,lIIIIIIl){const IiIiIIi=ilIll1Ii;return l1Iii1lI[IiIiIIi(0xbe,'lWjr')](llllili1,lIIIIIIl);},'BcieN':function(I1l1l1I,liiIi1i1){return I1l1l1I+liiIi1i1;},'GnXoW':IlIi11ii(0x199,'2@Zw')};if(l1Iii1lI[IlIi11ii(0x221,'F#TR')](IlIi11ii(0xf1,'65aa'),l1Iii1lI[IlIi11ii(0x123,'aG$)')]))try{if(l1Iii1lI['LCAQz']!==l1Iii1lI[IlIi11ii(0x22c,'o7aQ')])iIlllii[IlIi11ii(0x143,'9aF8')]('\x0a'+Iil11i[IlIi11ii(0x1c9,'2@Zw')]);else{if(lI1lIilI)console['log'](''+JSON['stringify'](lI1lIilI)),console['log']($[IlIi11ii(0xb3,'kSjX')]+IlIi11ii(0x210,'cmE1'));else{if(l1Iii1lI[IlIi11ii(0x140,'G%)R')](l1lIi1Ii,iliIIiiI)){iliIIiiI=JSON[IlIi11ii(0x17d,'rxX0')](iliIIiiI);if(l1Iii1lI[IlIi11ii(0x232,'qAKj')]($[IlIi11ii(0x23e,'rE^z')],0x1)){if(l1Iii1lI['HPFOT'](iliIIiiI[IlIi11ii(0x20b,'H^jS')],!![])){const lIlI1lII=l1Iii1lI[IlIi11ii(0x12c,'Ahpe')][IlIi11ii(0x157,'o7aQ')]('|');let iiIi1Ill=0x0;while(!![]){switch(lIlI1lII[iiIi1Ill++]){case'0':curRound=iliIIiiI['data']['curRound'];continue;case'1':console[IlIi11ii(0x219,'G8qD')](IlIi11ii(0x198,'kSjX')+iliIIiiI[IlIi11ii(0x19d,'H^jS')]['inviteCode']);continue;case'2':inviteCode=iliIIiiI[IlIi11ii(0x18b,'F#TR')][IlIi11ii(0x1fa,'rE^z')];continue;case'3':blood=iliIIiiI[IlIi11ii(0x165,'65aa')]['blood'];continue;case'4':inviter=iliIIiiI[IlIi11ii(0xcd,'wXOc')][IlIi11ii(0x20d,'6v*!')];continue;case'5':iliIIiiI['data']&&iliIIiiI[IlIi11ii(0x1df,'!a10')]['inviteCode']&&i1IlIi1[IlIi11ii(0x13a,'$IvA')]===0x0&&i1IlIi1[IlIi11ii(0x164,'QlO2')]({'user':$[IlIi11ii(0x23d,'WUs$')],'fcwbinviteCode':iliIIiiI[IlIi11ii(0x1ac,'DoUQ')][IlIi11ii(0x13f,'mvw3')],'fcwbinviter':iliIIiiI['data'][IlIi11ii(0x10c,'DcMp')]});continue;}break;}}}else l1Iii1lI[IlIi11ii(0x236,'xhWG')](iliIIiiI[IlIi11ii(0xd9,'KpRZ')],![])&&console[IlIi11ii(0x1ad,'kSjX')](IlIi11ii(0x1ce,'kSjX'));}}}}catch(lil1lIil){$[IlIi11ii(0x1fe,'f2I%')](lil1lIil,l1iI1lli);}finally{if(l1Iii1lI[IlIi11ii(0x1e6,'mvw3')](l1Iii1lI[IlIi11ii(0xe6,'Ahpe')],l1Iii1lI[IlIi11ii(0x113,'wXbp')]))l1Iii1lI[IlIi11ii(0xba,'!pR7')](Il11i1Il,iliIIiiI);else return iII1IilI[IlIi11ii(0xd7,'DoUQ')](/[xy]/g,function(i111iill){const IIII1l1=IlIi11ii;var Iiiiliii=I1llI11I[IIII1l1(0xb0,'!pR7')](iiIIIi1l[IIII1l1(0x10d,'f2I%')]()*0xa,0x0),illll1I=i111iill=='x'?Iiiiliii:I1llI11I[IIII1l1(0x1c1,'xhWG')](I1llI11I[IIII1l1(0x204,'3NPk')](Iiiiliii,0x3),0x8);return lii1Ilii=illll1I[IIII1l1(0x227,'@Z^k')](),il1lliII;});}else l1l11Il[IlIi11ii(0x162,'PYLu')](I1llI11I[IlIi11ii(0x14b,'G8qD')](I1llI11I['GnXoW'],lliii1iI['errMsg']));});});}function ilI1lil1(){const ii11Il=llliill1,illl1iil={'fGBxj':function(i11IIi1l,IiiliiiI){return i11IIi1l==IiiliiiI;},'AokAu':'抱歉，貌似账号已黑，跳过！','kHWLB':ii11Il(0x1d5,'xhWG'),'XmEGj':function(I1IIIlII,lIi1iIi){return I1IIIlII(lIi1iIi);},'MIIpT':function(ii1Ill1l,iiIIl11i){return ii1Ill1l!==iiIIl11i;},'cYKsL':'nPGrg','ZDNVL':ii11Il(0x1b8,'QOOB'),'ygpDY':function(l1lllii,l1111lII){return l1lllii(l1111lII);},'rMKgv':'happyDigHelpList'};return new Promise(iI11i1ll=>{const IilIlIIi=ii11Il;let liii11i1={'pageNum':0x1,'pageSize':0x32,'linkId':iIllIII1};$['get'](II1liiI1(illl1iil[IilIlIIi(0x122,'!a10')],liii11i1),async(lIilIIll,liliII,I111I11)=>{const IllIl1ll=IilIlIIi,l1IlII1i={'Nifiw':function(l1Iil,lI11il){const lIi1llil=ilIll1Ii;return illl1iil[lIi1llil(0x1e0,'jT&j')](l1Iil,lI11il);},'zxTBk':function(IIl1lII,i11iIl1I){const IIili1=ilIll1Ii;return illl1iil[IIili1(0x158,'QOOB')](IIl1lII,i11iIl1I);},'GvLGm':illl1iil[IllIl1ll(0x20a,'6v*!')]};if(IllIl1ll(0x14d,'DoUQ')!==illl1iil['kHWLB'])illi111l['log'](''+lI1il1Ii['stringify'](ii11I11)),liiII1l[IllIl1ll(0x1e7,'DoUQ')](iIlIiiii['name']+IllIl1ll(0x1b6,'Ryze'));else try{if(lIilIIll)console[IllIl1ll(0x1cb,'QOOB')](''+JSON[IllIl1ll(0x10b,'o7aQ')](lIilIIll)),console[IllIl1ll(0x135,')n9s')]($['name']+'\x20API请求失败，请检查网路重试');else{if(illl1iil[IllIl1ll(0x137,'xhWG')](l1lIi1Ii,I111I11)){if(IllIl1ll(0x1e1,'kSjX')==='ZCDtx')l11iiI1i[IllIl1ll(0x1dc,'jT&j')](liiIIlI1[iiI1il]);else{I111I11=JSON[IllIl1ll(0x1c2,'DoUQ')](I111I11);if(illl1iil['fGBxj'](I111I11['success'],!![]))illl1iil['MIIpT'](IllIl1ll(0x23a,'KlKo'),illl1iil['cYKsL'])?(Il1iilii=liIiiliI[IllIl1ll(0x147,'9aF8')](IilIlii),ii1ill['log'](I11i1iIi)):$[IllIl1ll(0x1a6,'O(dm')]=I111I11['data']['personNum'];else illl1iil[IllIl1ll(0x1ae,'O(dm')](I111I11[IllIl1ll(0x20b,'H^jS')],![])&&console['log'](illl1iil[IllIl1ll(0x100,'65aa')]);}}}}catch(IIII1i1I){if(illl1iil[IllIl1ll(0x163,'lWjr')](illl1iil[IllIl1ll(0x15a,'cmE1')],IllIl1ll(0x156,'TauR')))$[IllIl1ll(0x1f1,'!pR7')](IIII1i1I,liliII);else{lIi1Illi=IlI1IlIl['parse'](il1li1I1);if(l1IlII1i['Nifiw'](iIli1Iil[IllIl1ll(0x17c,'DcMp')],!![]))Ii1iIIII[IllIl1ll(0xf5,'dQ#b')]=i1I1llli[IllIl1ll(0xcd,'wXOc')]['personNum'];else l1IlII1i[IllIl1ll(0xd1,')n9s')](iIili1Il[IllIl1ll(0x17e,'jT&j')],![])&&iIlIi1I1['log'](l1IlII1i[IllIl1ll(0xf7,'DcMp')]);}}finally{illl1iil['ygpDY'](iI11i1ll,I111I11);}});});}function iIiiIiii(){const lIIIi1Ii=llliill1,liIIliii={'slpwl':function(lllIiili,l1Ill11){return lllIiili!==l1Ill11;},'FySZK':lIIIi1Ii(0x120,'G8qD')};return new Promise(llIiIll=>{const i11Ill1I=lIIIi1Ii,lII1llll={'rLASq':function(ilII1Iil,IIIIi){const l1IIliIl=ilIll1Ii;return liIIliii[l1IIliIl(0xc0,'#!YA')](ilII1Iil,IIIIi);},'fZBak':liIIliii['FySZK']};let IliiI11I=inviteCode,IilllI1i=inviter,i1I11i1='{\x22linkId\x22:\x22'+iIllIII1+i11Ill1I(0xb8,'!a10')+inviter+i11Ill1I(0x115,'jT&j')+inviteCode+'\x22}',iilIli=Date['now'](),iiII1lI={'url':i11Ill1I(0x12e,'ahiI')+i1I11i1+i11Ill1I(0x222,'TauR')+iilIli+i11Ill1I(0xc6,'!pR7'),'headers':{'Cookie':liiIiIi,'Origin':i11Ill1I(0x225,'#!YA'),'User-Agent':$['UA']}};$['get'](iiII1lI,async(lill1ill,illllllI,llI)=>{const i1iIiilI=i11Ill1I;if(lII1llll['rLASq'](lII1llll['fZBak'],i1iIiilI(0x126,'f2I%')))try{lill1ill?(console[i1iIiilI(0x1d7,'KpRZ')](''+JSON[i1iIiilI(0x169,'DoUQ')](lill1ill)),console['log']($[i1iIiilI(0x124,'TauR')]+'\x20API请求失败，请检查网路重试')):l1lIi1Ii(llI)&&(llI=JSON[i1iIiilI(0x147,'9aF8')](llI),console['log'](llI));}catch(iIIlI1i1){$[i1iIiilI(0x1c3,'rxX0')](iIIlI1i1,illllllI);}finally{llIiIll(llI);}else iIi1l1II['logErr'](iIilIiIi,lilil1l);});});}function I11IlllI(){const I1llI1lI=llliill1,i1lI1Il1={'PSAlc':function(IIilill,IllI1lll){return IIilill+IllI1lll;},'UJlly':I1llI1lI(0x234,'f2I%'),'DSnDj':I1llI1lI(0x138,'KlKo'),'kdggC':I1llI1lI(0x240,'QOOB'),'LRMNH':function(liIlIllI,iliillii){return liIlIllI(iliillii);},'rZhwu':function(iIII11il,i11i1){return iIII11il===i11i1;},'llJtL':function(IlI1ll,iiiIiill){return IlI1ll==iiiIiill;},'LTeAU':function(iIlllIi1,liIiIll){return iIlllIi1==liIiIll;},'VtHxK':function(l1l1l1I1,llI1Illi){return l1l1l1I1+llI1Illi;},'ixXQA':function(iIiiIIi1,li1ii11){return iIiiIIi1===li1ii11;},'Ceyzx':'DcjgB','uWCgp':I1llI1lI(0xf3,'KpRZ'),'cNqHj':function(Il1li1i,i1liliiI){return Il1li1i(i1liliiI);},'hIQIc':function(IiilllIi,i1l1ll1l){return IiilllIi(i1l1ll1l);},'zZJHw':function(l1iIliiI,i1i1lliI){return l1iIliiI===i1i1lliI;},'acvgb':'qNroK','kdCNw':I1llI1lI(0x23f,'!a10'),'nUWrv':I1llI1lI(0x14e,'QlO2'),'MThPW':'android','yeiMR':'8dd95','pXgvw':'https://bnzf.jd.com/?activityId=cNAsHasSnzWTAtWhIQR4dA&inviterId=&inviterCode=&utm_user=plusmember&ad_od=share&utm_source=androidapp&utm_medium=appshare&utm_campaign=t_335139774&utm_term=Wxfriends&lng=106.477132&lat=29.502772&sid=84c83c76030880654e4e98b6bcda688w&un_area=4_50952_106_0'};return new Promise(async iill1Ili=>{const IIiIiIiI=I1llI1lI,I111i1I1={'dRLQz':function(IilIIl1i,ll1l1l1I){const iI11IIil=ilIll1Ii;return i1lI1Il1[iI11IIil(0xf9,'PYLu')](IilIIl1i,ll1l1l1I);}};if(i1lI1Il1[IIiIiIiI(0x241,'jT&j')](IIiIiIiI(0xe4,'0GZa'),i1lI1Il1[IIiIiIiI(0x21f,'Ahpe')])){if(typeof liIIil1I[IIiIiIiI(0x112,'WUs$')](i11iIIiI)=='object')return!![];}else{let iII1iil=inviteCode,liIliIl=inviter,li1Il=IIiIiIiI(0x1fd,'dQ#b')+iIllIII1+'\x22,\x22inviter\x22:\x22'+inviter+IIiIiIiI(0x134,'3YSa')+inviteCode+'\x22}',i1li1lli=Date['now']();const liIllI1l={'functionId':i1lI1Il1['kdCNw'],'appid':'activities_platform','clientVersion':i1lI1Il1[IIiIiIiI(0x1ab,'kSjX')],'client':i1lI1Il1[IIiIiIiI(0x1b3,'rxX0')],'t':i1li1lli,'body':{'linkId':iIllIII1,'inviter':inviter,'inviteCode':inviteCode}},iII111i=await lI1iiIli(i1lI1Il1[IIiIiIiI(0x11d,'TauR')],liIllI1l);let Ii1Il1lI={'url':IIiIiIiI(0x1f7,'Ahpe')+iII111i,'headers':{'Cookie':i1lI1Il1[IIiIiIiI(0x12a,')n9s')](liiIiIi,$[IIiIiIiI(0x17b,'!pR7')]),'Origin':IIiIiIiI(0xfe,'PYLu'),'User-Agent':$['UA'],'referer':i1lI1Il1[IIiIiIiI(0x16d,'QOOB')]}};$[IIiIiIiI(0x15b,'G%)R')](Ii1Il1lI,async(IiiliIli,llI1IiII,IllllilI)=>{const lIi1iIl=IIiIiIiI,iII1IlII={'cvBXM':function(III1ii1i,i1IiIi11){const IilIlli=ilIll1Ii;return i1lI1Il1[IilIlli(0x1af,'9aF8')](III1ii1i,i1IiIi11);},'oVoRY':i1lI1Il1['UJlly']};if(i1lI1Il1[lIi1iIl(0x1aa,'jT&j')]===i1lI1Il1[lIi1iIl(0x21e,'2@Zw')])try{if(i1lI1Il1['kdggC']!==lIi1iIl(0x220,'lWjr'))I11l11iI[lIi1iIl(0x1ff,'!a10')]({'user':IiiiIIlI[lIi1iIl(0xf2,'DoUQ')],'fcwbinviteCode':lil1llIi[lIi1iIl(0x22b,'WUs$')][lIi1iIl(0xbf,'G8qD')],'fcwbinviter':l1i1IIiI[lIi1iIl(0x1d2,'@Y)o')]['markedPin']});else{if(IiiliIli)console['log'](''+JSON[lIi1iIl(0xd0,'qAKj')](IiiliIli)),console['log']($[lIi1iIl(0xd2,'T3Mc')]+'\x20API请求失败，请检查网路重试');else{if(i1lI1Il1[lIi1iIl(0x1b4,'rxX0')](l1lIi1Ii,IllllilI)){if(i1lI1Il1['rZhwu'](lIi1iIl(0x16e,'8*v('),lIi1iIl(0x239,'3YSa')))lIiIIll(illiIl1i);else{IllllilI=JSON[lIi1iIl(0x1cf,'O(dm')](IllllilI),$[lIi1iIl(0x1ee,'DoUQ')]=IllllilI['success'];if(i1lI1Il1[lIi1iIl(0x15e,'H^jS')](IllllilI[lIi1iIl(0x20c,'Ryze')],!![]))console[lIi1iIl(0x1f0,'lWjr')](i1lI1Il1[lIi1iIl(0x19e,'$IvA')](lIi1iIl(0x167,'QOOB'),IllllilI[lIi1iIl(0x141,'KlKo')]));else i1lI1Il1[lIi1iIl(0x1ec,'QOOB')](IllllilI['success'],![])&&console[lIi1iIl(0x18f,'2@Zw')](i1lI1Il1['VtHxK']('【助力状态】：',IllllilI[lIi1iIl(0x150,'ahiI')]));}}}}}catch(l1i1I1ii){i1lI1Il1['ixXQA'](i1lI1Il1[lIi1iIl(0x217,'9aF8')],i1lI1Il1[lIi1iIl(0x1f4,'@Y)o')])?IlIillII?(IlIi11l['log'](''+IiIiil['stringify'](lllli1II)),l1i1lill[lIi1iIl(0x159,'@Y)o')](iiIl1Iil[lIi1iIl(0x1bd,'3NPk')]+lIi1iIl(0x186,'DoUQ'))):I111i1I1[lIi1iIl(0x1b9,'DcMp')](l11i11li,ii11iI)&&(iI11lIil=il1l1111[lIi1iIl(0x1d0,'!a10')](li1ll1ll),l11llII[lIi1iIl(0x116,'0GZa')](I1ili1I)):$['logErr'](l1i1I1ii,llI1IiII);}finally{i1lI1Il1['cNqHj'](iill1Ili,IllllilI);}else llIi1iIi[lIi1iIl(0x143,'9aF8')](iII1IlII[lIi1iIl(0xce,'KpRZ')](IIiiIll['name'],iII1IlII[lIi1iIl(0xc9,'ahiI')]));});}});}async function lI1iiIli(il11liIi,i1I11lI1){const il1iIill=llliill1,i11ilIiI={'zvlSw':il1iIill(0x1bf,'f2I%')};try{let Il1ili11=new lI1lliIl({'appId':il11liIi,'appid':i11ilIiI[il1iIill(0x205,'aG$)')],'clientVersion':i1I11lI1?.['clientVersion'],'client':i1I11lI1?.[il1iIill(0x178,'QlO2')],'pin':$[il1iIill(0x1a0,'#!YA')],'ua':$['UA'],'version':il1iIill(0xc8,'$IvA')});return await Il1ili11[il1iIill(0x1a8,'!a10')](),body=await Il1ili11[il1iIill(0xff,'rxX0')](i1I11lI1['functionId'],i1I11lI1[il1iIill(0x202,'rxX0')]),body;}catch(i1l1ill1){}}async function I1iill1(i11i11I,lii1l1Il){const lIi1lIli=llliill1,l1liI1ll={'BRNkA':function(I1ili1il,iIIlIIII){return I1ili1il(iIIlIIII);},'cCuSK':function(lI1i1li,Iillll1l){return lI1i1li===Iillll1l;},'UCVvy':function(li1iiiI1,IlIiIIIi){return li1iiiI1||IlIiIIIi;},'ExnLB':function(I111l1l1,I1i1lI1){return I111l1l1+I1i1lI1;},'AOykD':lIi1lIli(0x1c6,'TauR'),'McfPO':'\x20getH5st\x20API请求失败，请检查网路重试','ugoKN':function(lil11Il,l11ll1ll){return lil11Il===l11ll1ll;},'NRchL':'ImjTV','WXkMe':lIi1lIli(0x1c4,'3NPk'),'GSmFH':function(Iil1l1ii,Il1liiI1){return Iil1l1ii===Il1liiI1;},'mSJZV':lIi1lIli(0x185,'ahiI'),'wkjDz':function(il1I1i,I1lilill){return il1I1i(I1lilill);}};let IIlilIlI={'searchParams':{...lii1l1Il,'appId':i11i11I},'pt_pin':$[lIi1lIli(0x1c5,'T3Mc')],'client':lii1l1Il?.[lIi1lIli(0x242,'cmE1')],'clientVersion':lii1l1Il?.[lIi1lIli(0x1d6,'o7aQ')]},iliiII11={'url':lIi1lIli(0xe8,'WUs$'),'body':JSON[lIi1lIli(0x168,'wXbp')](IIlilIlI),'headers':{'Content-Type':lIi1lIli(0x11c,'wXbp'),'User-Agent':$['UA']},'timeout':0x7530};return new Promise(async IIIill1I=>{const ii11iIil=lIi1lIli,I1llliIi={'UGnRH':function(iIIi1Il,iI1lIlIi){const liIilIil=ilIll1Ii;return l1liI1ll[liIilIil(0x107,'1KVT')](iIIi1Il,iI1lIlIi);},'dlEHq':function(I1iI1ll,iliIIiIl){return l1liI1ll['cCuSK'](I1iI1ll,iliIIiIl);},'tnzsq':'object','xqXwV':function(il1IIi,iliI1II1){const iIi1li1i=ilIll1Ii;return l1liI1ll[iIi1li1i(0x18c,'H^jS')](il1IIi,iliI1II1);},'GQTtZ':function(illIiIll,Il1lIi1){const lii11Ii=ilIll1Ii;return l1liI1ll[lii11Ii(0xc5,'mvw3')](illIiIll,Il1lIi1);},'yNFFH':l1liI1ll[ii11iIil(0x18e,'G%)R')],'Gzuwb':l1liI1ll[ii11iIil(0x144,'!a10')],'eiHxk':function(llI1l1Ii,i1iI1Iii){const IiIlliI=ii11iIil;return l1liI1ll[IiIlliI(0xfa,'!pR7')](llI1l1Ii,i1iI1Iii);},'ZoIvI':l1liI1ll['NRchL'],'YbSbK':l1liI1ll[ii11iIil(0x16b,'$IvA')],'mfyjl':function(Iilli1l1,illlllI){return Iilli1l1==illlllI;},'oZCMb':function(l1lil1il,ilIlliII){return l1liI1ll['ExnLB'](l1lil1il,ilIlliII);},'PTLsD':function(iili1III,I1IlIii1){const l1ili1l=ii11iIil;return l1liI1ll[l1ili1l(0xda,'3NPk')](iili1III,I1IlIii1);},'PsEXQ':ii11iIil(0x214,'H^jS'),'aOWIp':l1liI1ll['mSJZV'],'YmJJB':function(IlIIiiIi,li1lill1){const lII1ii11=ii11iIil;return l1liI1ll[lII1ii11(0x1a7,'PYLu')](IlIIiiIi,li1lill1);}};$[ii11iIil(0x1e3,'3YSa')](iliiII11,(I1i1l1li,II11il,i1IiiI1)=>{const l1Il1II=ii11iIil;if('nlRwS'!=='AFIke'){let il1I11ii='';try{if(I1i1l1li)console[l1Il1II(0xc7,'cmE1')](I1llliIi[l1Il1II(0x10f,'Ryze')]($[l1Il1II(0xd5,'#!YA')],I1llliIi[l1Il1II(0xae,'$IvA')]));else{if(I1llliIi[l1Il1II(0x175,'cmE1')](I1llliIi[l1Il1II(0x1fc,'ahiI')],I1llliIi['YbSbK']))I1llliIi[l1Il1II(0x189,'aG$)')](ii11l11i,IIlilll);else{i1IiiI1=JSON[l1Il1II(0x23c,'@Z^k')](i1IiiI1);if(I1llliIi[l1Il1II(0x13d,'WUs$')](typeof i1IiiI1,'object')&&i1IiiI1&&i1IiiI1[l1Il1II(0x188,'3NPk')]){if(i1IiiI1['body'])il1I11ii=i1IiiI1||'';}else I1llliIi[l1Il1II(0x1ba,'kSjX')](i1IiiI1[l1Il1II(0x152,'WUs$')],0x190)?console[l1Il1II(0xfd,'TauR')](I1llliIi['oZCMb']('\x0a',i1IiiI1['msg'])):console[l1Il1II(0x1a1,'o7aQ')](I1llliIi['yNFFH']);}}}catch(i1IilliI){$['logErr'](i1IilliI,II11il);}finally{I1llliIi['PTLsD'](I1llliIi[l1Il1II(0x15f,'DcMp')],I1llliIi[l1Il1II(0x114,'QlO2')])?liiill1i(li1):IIIill1I(I1llliIi[l1Il1II(0xee,'PYLu')](IIllll11,il1I11ii));}}else{Ill11l1i=I1Ii11il[l1Il1II(0x212,'0GZa')](IilllI1I);if(I1llliIi[l1Il1II(0x1eb,'DaI]')](typeof lI1I1I1,I1llliIi[l1Il1II(0xe9,'cmE1')])&&llill11&&i1i1IIil['body']){if(I1iIIll1[l1Il1II(0x1e8,'1KVT')])lilIIIli=I1llliIi[l1Il1II(0xc1,')n9s')](l1lli1li,'');}else IiiIIill[l1Il1II(0x14c,'qAKj')]==0x190?IiIilIi1[l1Il1II(0x200,'#!YA')](I1llliIi[l1Il1II(0x17a,'TauR')]('\x0a',IlIl1IiI['msg'])):IlI1ll1[l1Il1II(0x1ad,'kSjX')](I1llliIi['yNFFH']);}});});}function IIllll11(il11ili1,l1Il1l1={}){const iillIl1i=llliill1,IIl1li1I={'yVpUn':function(llliIllI,iIlli1Il){return llliIllI===iIlli1Il;},'aJaiK':iillIl1i(0x170,'G%)R'),'fNWHd':function(iiiIIlII,lIiI11i1){return iiiIIlII(lIiI11i1);},'ADaXB':function(ll1Il11l,illI1l1I){return ll1Il11l+illI1l1I;},'ZhSjr':iillIl1i(0x1ea,'G8qD'),'HjIUz':function(IIl1IIl1,liiIli1i){return IIl1IIl1(liiIli1i);},'gEpIH':function(l1Ili1lI,llIll1i){return l1Ili1lI+llIll1i;},'iMbuV':function(Ill1llii,iIilI11I){return Ill1llii+iIilI11I;}};let Il1li1=[],lIiiIIIl=l1Il1l1[iillIl1i(0x18a,'!a10')]||'&',i11llI1l=Object[iillIl1i(0x15c,'QOOB')](il11ili1);if(l1Il1l1[iillIl1i(0x193,'WUs$')])i11llI1l=i11llI1l['sort']();for(let liiii1Ii of i11llI1l){if(IIl1li1I[iillIl1i(0x109,'aG$)')]!==iillIl1i(0x197,'dQ#b')){let il1i1iI=il11ili1[liiii1Ii];if(il1i1iI&&typeof il1i1iI===iillIl1i(0x127,'2@Zw'))il1i1iI=JSON['stringify'](il1i1iI);if(il1i1iI&&l1Il1l1[iillIl1i(0xf4,'aG$)')])il1i1iI=IIl1li1I[iillIl1i(0x21a,'3YSa')](encodeURIComponent,il1i1iI);Il1li1['push'](IIl1li1I[iillIl1i(0x131,'3NPk')](IIl1li1I[iillIl1i(0x104,'xhWG')](liiii1Ii,'='),il1i1iI));}else{let IIi1IiIl=[],IliIi11l=llIIIlii[iillIl1i(0x19c,'0GZa')]||'&',iIIilIlI=I1lliIil[iillIl1i(0x1b1,'Ryze')](iii1lIl1);if(i11IlIlI['sort'])iIIilIlI=iIIilIlI[iillIl1i(0x1cc,'dQ#b')]();for(let IilIllII of iIIilIlI){let liii1IlI=lilillil[IilIllII];if(liii1IlI&&IIl1li1I['yVpUn'](typeof liii1IlI,IIl1li1I['aJaiK']))liii1IlI=iil1ilil[iillIl1i(0x1d8,'2@Zw')](liii1IlI);if(liii1IlI&&lII11lIi[iillIl1i(0x1c0,'o7aQ')])liii1IlI=IIl1li1I[iillIl1i(0x207,'!a10')](I1Ii1ili,liii1IlI);IIi1IiIl[iillIl1i(0x18d,'KlKo')](IIl1li1I[iillIl1i(0x190,'DaI]')](IilIllII+'=',liii1IlI));}return IIi1IiIl[iillIl1i(0x21d,'o7aQ')](IliIi11l);}}return Il1li1['join'](lIiiIIIl);}function lIlllI1I(Ii1i11I1=llliill1(0x184,'$IvA')){const ii1IIIIi=llliill1,ill1lIi={'pJIFD':function(IIIl1li,iIIlIIii){return IIIl1li|iIIlIIii;},'DAmGC':function(l1illIi1,i1iII111){return l1illIi1==i1iII111;},'YdPNS':function(li1IIi1,lI11li1I){return li1IIi1&lI11li1I;}};return Ii1i11I1[ii1IIIIi(0x1b2,'8*v(')](/[xy]/g,function(iiIii1){const iIl1l1lI=ii1IIIIi;var lIIli1II=ill1lIi[iIl1l1lI(0xbd,'QOOB')](Math[iIl1l1lI(0x226,'G%)R')]()*0xa,0x0),lII1lIll=ill1lIi[iIl1l1lI(0x244,'9aF8')](iiIii1,'x')?lIIli1II:ill1lIi[iIl1l1lI(0x1f5,'3YSa')](ill1lIi[iIl1l1lI(0xd4,'3NPk')](lIIli1II,0x3),0x8);return jdaid=lII1lIll[iIl1l1lI(0x133,'PYLu')](),jdaid;});}function i1ilI1l1(l1Ii1IlI){const I111IIl1=llliill1,I1Iili11={'GLtfh':function(li11liIl,iIliI1l1){return li11liIl||iIliI1l1;},'eVyPO':function(I1liIli1,i1iI11ll){return I1liIli1<i1iI11ll;},'WWJYt':function(l11i111,iI1l1liI){return l11i111*iI1l1liI;}};l1Ii1IlI=I1Iili11['GLtfh'](l1Ii1IlI,0x20);let iIlI1i1I=I111IIl1(0x111,'!a10'),iiliIlII=iIlI1i1I['length'],i1iliI1i='';for(i=0x0;I1Iili11[I111IIl1(0x110,'KpRZ')](i,l1Ii1IlI);i++)i1iliI1i+=iIlI1i1I[I111IIl1(0x106,'KpRZ')](Math[I111IIl1(0xb1,'65aa')](I1Iili11['WWJYt'](Math['random'](),iiliIlII)));return i1iliI1i;}function l1lIi1Ii(i1iII1iI){const lII1l111=llliill1,Ii1i1lIl={'RSNOG':function(lllII1il,ii1liil1){return lllII1il==ii1liil1;},'cOQMI':'object','MjWat':function(l11l11i,iiIllIll){return l11l11i!==iiIllIll;},'HKZEk':'glDuA'};try{if(Ii1i1lIl[lII1l111(0xfc,'KlKo')](typeof JSON[lII1l111(0x21c,'KlKo')](i1iII1iI),Ii1i1lIl[lII1l111(0x1f9,'65aa')]))return!![];}catch(l1lii1l){if(Ii1i1lIl['MjWat'](Ii1i1lIl[lII1l111(0x215,'mvw3')],Ii1i1lIl[lII1l111(0x1ca,'6v*!')]))iII1Il1I['helpCount']++;else return console[lII1l111(0x11f,'$IvA')](l1lii1l),console[lII1l111(0x103,'6v*!')](lII1l111(0x1b7,'8*v(')),![];}}function Il111ilI(IllI1ilI){const lIl11I=llliill1,III1ili={'hrthp':function(iiI1I1i1,iIlI1Ili){return iiI1I1i1==iIlI1Ili;},'flffc':function(illli1li,I1lI1ii){return illli1li===I1lI1ii;},'OHgSo':lIl11I(0xfb,'3NPk')};if(III1ili[lIl11I(0x1f6,'kSjX')](typeof IllI1ilI,'string'))try{return JSON['parse'](IllI1ilI);}catch(l1l1i1ll){if(III1ili[lIl11I(0x194,'O(dm')](III1ili[lIl11I(0x20f,'2@Zw')],III1ili[lIl11I(0x1bb,'wXbp')]))return console[lIl11I(0x116,'0GZa')](l1l1i1ll),$[lIl11I(0x1fb,'G8qD')]($[lIl11I(0xb3,'kSjX')],'',lIl11I(0x179,'0GZa')),[];else il1IIiI1[lIl11I(0x1b0,'@Z^k')]();}}function II1liiI1(I11iiIIi,I1Ii1III){const IIiIllII=llliill1,lIIiiIlI={'Zxnda':IIiIllII(0xb6,'3YSa')};return{'url':i11I11Ii+IIiIllII(0x1ef,'aG$)')+I11iiIIi+IIiIllII(0x146,'T3Mc')+escape(JSON['stringify'](I1Ii1III))+'&t=1635561607124&appid=activities_platform&client=H5&clientVersion=1.2.0','headers':{'Cookie':liiIiIi,'Origin':lIIiiIlI[IIiIllII(0x161,'KpRZ')],'User-Agent':$['UA']}};}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) }