2024-10-04 04:05:29 +00:00
|
|
|
|
function Uc1TYR(){}var SbPek8=Object['defineProperty'],dSl__Db,Q6Vdsx,r2mlMqo,Cwftmy,Yzd7sf,ftlyFtM,JPryIz3,wE2woeT,rY2mXFh,gXKpAq,nEDF3k5,pXaa2mM,bdF7BU,iB0nLp,CDBUiLR,ij4QA78,AxXWs4L,tYr8gcR,bnmwN8,g94YNZq,A7GyAF;function pK_0U5Y(Uc1TYR){return dSl__Db[Uc1TYR>-0x3e?Uc1TYR>0x154?Uc1TYR-0x25:Uc1TYR<0x154?Uc1TYR<0x154?Uc1TYR+0x3d:Uc1TYR-0xb:Uc1TYR-0x30:Uc1TYR+0x13]}dSl__Db=XhIF7f();function gN6Kzh(Uc1TYR,SbPek8){var r2mlMqo=vAkydu(Uc1TYR=>{return dSl__Db[Uc1TYR<0x18c?Uc1TYR<-0x6?Uc1TYR+0x5:Uc1TYR>0x18c?Uc1TYR-0x5f:Uc1TYR+0x5:Uc1TYR-0x36]},0x1);return Q6Vdsx(Uc1TYR,r2mlMqo(0x3a),{value:SbPek8,configurable:r2mlMqo(0x52)})}Uc1TYR(Q6Vdsx=Object.defineProperty,r2mlMqo=gN6Kzh(vAkydu((...SbPek8)=>{var Q6Vdsx=vAkydu(SbPek8=>{return dSl__Db[SbPek8<0x4f?SbPek8+0x27:SbPek8-0x50]},0x1);Uc1TYR(SbPek8.length=pK_0U5Y(0x6),SbPek8.jFTReBs=SbPek8[pK_0U5Y(-0x3d)]);return SbPek8.jFTReBs(SbPek8[Q6Vdsx(0x85)]())}),0x2)(z8hdBR,E4r8oZj));var _u2QBq=[],pOXu93r=[i9LLV2(0x0),i9LLV2(pK_0U5Y(-0x3d)),i9LLV2(0x2),i9LLV2(pK_0U5Y(0x3)),i9LLV2(0x4),i9LLV2(0x5),i9LLV2(pK_0U5Y(-0x9)),i9LLV2(pK_0U5Y(-0x3)),i9LLV2(0x8),i9LLV2(pK_0U5Y(-0x4)),i9LLV2(0xa),i9LLV2(pK_0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x75),i9LLV2(pK_0U5Y(0x38)),i9LLV2(0x77),i9LLV2(pK_0U5Y(-0x3b)),i9LLV2(pK_0U5Y(-0x35)),i9LLV2(0x79),i9LLV2(0x7a),'oiA9|*e',i9LLV2(0x7b),i9LLV2(pK_0U5Y(0x31)),i9LLV2(pK_0U5Y(0x61)),i9LLV2(0x7e),i9LLV2(0x7f),i9LLV2(0x7e),i9LLV2(pK_0U5Y(-0x28)),i9LLV2(0x81),i9LLV2(pK_0U5Y(-0x3a)),i9LLV2(pK_0U5Y(-0x39)),i9LLV2(0x53),i9LLV2(0x84),i9LLV2(pK_0U5Y(0x62)),i9LLV2(0x86),i9LLV2(0x87),i9LLV2(0x88),i9LLV2(pK_0U5Y(0x64)),i9LLV2(0x8a),i9LLV2(0x8b),i9LLV2(0x8c),i9LLV2(pK_0U5Y(0x65)),i9LLV2(pK_0U5Y(0x29)),'wkgFdu:I</6Y|G`kdBN{8Pc',i9LLV2(pK_0U5Y(0x43)),i9LLV2(0x90),i9LLV2(pK_0U5Y(0x67)),i9LLV2(pK_0U5Y(0xf0)),i9LLV2(pK_0U5Y(-0x3a)),i9LLV2(0x93),i9LLV2(0x94),i9LLV2(pK_0U5Y(0x39)),i9LLV2(0x88),i9LLV2(0x96),i9LLV2(pK_0U5Y(0x6a)),i9LLV2(0x98),i9LLV2(0x99),'%40Y|1`d1?v',
|
2024-10-04 04:05:29 +00:00
|
|
|
|
关闭提现:NOTX='true'\n`),await x1akZY());if(wvhX34S&&bnmwN8.tL0zvS()){let ij4QA78=MTyBet(console[Cwftmy(0x44)](xGuaVQ(Cwftmy(wE2woeT(0xbf)),wvhX34S,g94YNZq=wE2woeT(0xa2))),vAYvoaP[Cwftmy(0x4b)](SbPek8=>SbPek8[Cwftmy(pK_0U5Y(0x10f))](wvhX34S)));if(ij4QA78==xGuaVQ(0x1,g94YNZq=pK_0U5Y(-0x1c))&&bnmwN8.Fw8BxWw()){var AxXWs4L={[i9LLV2(0x24d)]:Cwftmy(0x44)};return MTyBet(console[AxXWs4L[i9LLV2(0x24d)]](Cwftmy[i9LLV2(pK_0U5Y(0x0))](void 0x0,pK_0U5Y(0xe7))),void 0x0)};dRwUhmx=vAYvoaP[ij4QA78]}else{Uc1TYR(console[Cwftmy(wE2woeT(0x3d))](Cwftmy(pK_0U5Y(0x47))),dRwUhmx=vAYvoaP[wE2woeT(0x5e)])}if(MTyBet(pie5CSJ=dRwUhmx,$[Yzd7sf]=decodeURIComponent(pie5CSJ[Cwftmy(0x50)](/pt_pin=([^; ]+)(?=;?)/)&&pie5CSJ[Cwftmy(0x50)](/pt_pin=([^; ]+)(?=;?)/)[pK_0U5Y(-0x3d)]),$[Cwftmy(wE2woeT(0xb0))]=!0x0,$[Cwftmy(wE2woeT(0xae))]='',$[wE2woeT(0xb2)]=tYnygC_[Cwftmy[i9LLV2(0x23d)](wE2woeT(0x67),[wE2woeT(0xbb)])]?tYnygC_[Cwftmy(0x53)]():tYnygC_[r2mlMqo[i9LLV2(wE2woeT(0xaf))]],console[Cwftmy(0x44)](`\n————————————————————车头开团——————————————————————————`),console[Cwftmy(pK_0U5Y(-0x29))](`账号:${$[Cwftmy(0x52)]||$[Cwftmy[i9LLV2(0x23d)](void 0x0,[wE2woeT(0xa1)])]}`),await nfqMBw(),xGuaVQ($[Cwftmy(pK_0U5Y(0x4a))],J5bgleV(-pK_0U5Y(0x30))))){var tYr8gcR,A7GyAF;function nHywf9(SbPek8){return dSl__Db[SbPek8<0x19d?SbPek8<0xb?SbPek8+0x6:SbPek8-0xc:SbPek8-0x17]}Uc1TYR(tYr8gcR=(SbPek8,Q6Vdsx,r2mlMqo,Yzd7sf,ftlyFtM)=>{if(typeof Yzd7sf===i9LLV2(0x22a)){Yzd7sf=YLEqCnm}if(typeof ftlyFtM===i9LLV2(0x22a)){ftlyFtM=_u2QBq}if(r2mlMqo==SbPek8){return Q6Vdsx[_u2QBq[r2mlMqo]]=tYr8gcR(SbPek8,Q6Vdsx)}if(Q6Vdsx){[ftlyFtM,Q6Vdsx]=[Yzd7sf(ftlyFtM),SbPek8||r2mlMqo];return tYr8gcR(SbPek8,ftlyFtM,r2mlMqo)}if(r2mlMqo&&Yzd7sf!==YLEqCnm){tYr8gcR=YLEqCnm;return tYr8gcR(SbPek8,-pK_0U5Y(-0x3d),r2mlMqo,Yzd7sf,ftlyFtM)}if(SbPek8!==Q6Vdsx){return ftlyFtM[SbPek8]||(ftlyFtM[SbPek8]=Yzd7sf(pOXu93r[SbPek8]))}if(Yzd7sf===tYr8gcR){YLEqCnm=Q6Vdsx;return YLEqCnm(r2mlMqo)}if(Yzd7sf===wE2woeT(0x67)){tYr8gcR=ftlyFtM}},A7GyAF=SbPek8(0x55));if(MTyBet($[A7GyAF]($[tYr8gcR(pK_0U5Y(-0x3b))],`【提示】cookie已失效`,`账号${$[Cwftmy(pK_0U5Y(0x48))]||$[Cwftmy(pK_0U5Y(0x3b))]}\n请重新登录获取\nhttps://bean.m.jd.com/bean/signIndex.action`,{[tYr8gcR(0x57)]:SbPek8(pK_0U5Y(0x15))}),$[Cwftmy(nHywf9(0x4e))]())&&bnmwN8.u_QvFO>-0x25){var AFDLER=vAkydu(SbPek8=>{return dSl__Db[SbPek8>0x17a?SbPek8-0x44:SbPek8>-0x18?SbPek8<0x17a?SbPek8+0x17:SbPek8+0x62:SbPek8-0x9]},0x1);await U4M9dsl[tYr8gcR[i9LLV2(0x23d)](void 0x0,[0x59])+SbPek8[i9LLV2(0x242)](AFDLER(0x27),0x5a)](`${$[tYr8gcR(0x56)]}cookie已失效 - ${$[Cwftmy[i9LLV2(nHywf9(0x48))](AFDLER(0x27),[wE2woeT(0xa1)])]}`,`账号 ${$[Cwftmy(pK_0U5Y(0x3b))]}\n请重新登录获取cookie`)}return;function YLEqCnm(SbPek8,Q6Vdsx='AEUY+t4j]M>p9<I*3$58ygm^K{hR&(,!nDxkodirTG0#%wF?W2e":bvHBS@.O|/JVl;6=1`)sQqaPXCf}[uz7_~ZNLc',r2mlMqo,Yzd7sf,ftlyFtM=[],JPryIz3,rY2mXFh=0x0,gXKpAq,nEDF3k5,pXaa2mM){Uc1TYR(r2mlMqo=''+(SbPek8||''),Yzd7sf=r2mlMqo.length,JPryIz3=pK_0U5Y(-0x8),gXKpAq=-0x1);for(nEDF3k5=nHywf9(0x41);nEDF3k5<Yzd7sf;nEDF3k5++){pXaa2mM=Q6Vdsx.indexOf(r2mlMqo[nEDF3k5]);if(pXaa2mM===-wE2woeT(0x29)){continue}if(gXKpAq<0x0){gXKpAq=pXaa2mM}else{Uc1TYR(gXKpAq+=pXaa2mM*0x5b,JPryIz3|=gXKpAq<<rY2mXFh,rY2mXFh+=(gXKpAq&pK_0U5Y(0x4b))>0x58?0xd:pK_0U5Y(0xd));do{Uc1TYR(ftlyFtM.push(JPryIz3&0xff),JPryIz3>>=0x8,rY2mXFh-=nHywf9(0x6f))}while(rY2mXFh>0x7);gXKpAq=-nHywf9(0xc)}}if(gXKpAq>-wE2woeT(0x29)){ftlyFtM.push((JPryIz3|gXKpAq<<rY2mXFh)&pK_0U5Y(0x27))}return hQ9GAvb(ftlyFtM)}}if(MTyBet(await lRFG4zO(0x1),await $[SbPek8(pK_0U5Y(0x12))](0x3e8),CDBUiLR[Cwftmy(pK_0U5Y(0x3a))])!=pK_0U5Y(-0x8)&&bnmwN8.u_QvFO>-wE2woeT(0xa2)){var iScFuIH={[i9LLV2(0x24e)]:Cwftmy[i9LLV2(wE2woeT(0x65))](void 0x0,[0x53])},wXx22TJ;wXx22TJ=[Cwftmy[i9LLV2(pK_0U5Y(0x0))](pK_0U5Y(0x1),0x5e)];let l6zyTUQ=CDBUiLR[Math[Cwftmy(0x5d)](xGuaVQ(Math[wXx22TJ[pK_0U5Y(-0x8)]](),CDBUiLR[Cwftmy[i9LLV2(0x242)](wE2woeT(0x67),pK_0U5Y(0x3a))],J5bgleV(-pK_0U5Y(0x1c))))],F8yqgCw=MTyBet(console[Cwftmy(0x44)](Cwftmy(0x5f)),$[Cwftmy(0x4f)
|
2024-09-15 02:05:09 +00:00
|
|
|
|
function Env(o,t){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((r,i)=>{s.call(this,t,(t,e,s)=>{t?i(t):r(e)})})}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.logLevels={debug:0,info:1,warn:2,error:3},this.logLevelPrefixs={debug:"[DEBUG] ",info:"[INFO] ",warn:"[WARN] ",error:"[ERROR] "},this.logLevel="info",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.encoding="utf-8",this.startTime=(new Date).getTime(),Object.assign(this,e),this.log("",`🔔${this.name}, 开始!`)}getEnv(){return"undefined"!=typeof $environment&&$environment["surge-version"]?"Surge":"undefined"!=typeof $environment&&$environment["stash-version"]?"Stash":"undefined"!=typeof module&&module.exports?"Node.js":"undefined"!=typeof $task?"Quantumult X":"undefined"!=typeof $loon?"Loon":"undefined"!=typeof $rocket?"Shadowrocket":void 0}isNode(){return"Node.js"===this.getEnv()}isQuanX(){return"Quantumult X"===this.getEnv()}isSurge(){return"Surge"===this.getEnv()}isLoon(){return"Loon"===this.getEnv()}isShadowrocket(){return"Shadowrocket"===this.getEnv()}isStash(){return"Stash"===this.getEnv()}toObj(t,e=null){try{return JSON.parse(t)}catch{return e}}toStr(t,e=null,...s){try{return JSON.stringify(t,...s)}catch{return e}}getjson(t,e){let s=e;if(this.getdata(t))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(r=>{this.get({url:t},(t,e,s)=>r(s))})}runScript(a,o){return new Promise(r=>{let t=this.getdata("@chavy_boxjs_userCfgs.httpapi");t=t&&t.replace(/\n/g,"").trim();var e=(e=this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout"))?+e:20,[s,i]=(e=o&&o.timeout?o.timeout:e,t.split("@"));this.post({url:`http://${i}/v1/scripting/evaluate`,body:{script_text:a,mock_type:"cron",timeout:e},headers:{"X-Key":s,Accept:"*/*"},timeout:e},(t,e,s)=>r(s))}).catch(t=>this.logErr(t))}loaddata(){if(!this.isNode())return{};this.fs=this.fs||require("fs"),this.path=this.path||require("path");var t=this.path.resolve(this.dataFile),e=this.path.resolve(process.cwd(),this.dataFile),s=this.fs.existsSync(t),r=!s&&this.fs.existsSync(e);if(!s&&!r)return{};r=s?t:e;try{return JSON.parse(this.fs.readFileSync(r))}catch(t){return{}}}writedata(){var t,e,s,r,i;this.isNode()&&(this.fs=this.fs||require("fs"),this.path=this.path||require("path"),t=this.path.resolve(this.dataFile),e=this.path.resolve(process.cwd(),this.dataFile),r=!(s=this.fs.existsSync(t))&&this.fs.existsSync(e),i=JSON.stringify(this.data),!s&&r?this.fs.writeFileSync(e,i):this.fs.writeFileSync(t,i))}lodash_get(t,e,s){let r=t;for(const t of e.replace(/\[(\d+)\]/g,".$1").split("."))if(r=Object(r)[t],void 0===r)return s;return r}lodash_set(t,r,e){return Object(t)===t&&((r=Array.isArray(r)?r:r.toString().match(/[^.[\]]+/g)||[]).slice(0,-1).reduce((t,e,s)=>Object(t[e])===t[e]?t[e]:t[e]=Math.abs(r[s+1])>>0==+r[s+1]?[]:{},t)[r[r.length-1]]=e),t}getdata(t){let e=this.getval(t);if(/^@/.test(t)){var[,s,r]=/^@(.*?)\.(.*?)$/.exec(t);if(s=s?this.getval(s):"")try{const t=JSON.parse(s);e=t?this.lodash_get(t,r,""):e}catch(t){e=""}}return e}setdata(t,e){let s=!1;if(/^@/.test(e)){var[,r,i]=/^@(.*?)\.(.*?)$/.exec(e),a=this.getval(r),a=r?"null"===a?null:a||"{}":"{}";try{const e=JSON.parse(a);this.lodash_set(e,i,t),s=this.setval(JSON.stringify(e),r)}catch(e){this.lodash_set(a={},i,t),s=this.setval(JSON.stringify(a),r)}}else s=this.setval(t,e);return s}getval(t){switch(this.getEnv()){case"Surge":case"Loon":case"Stash":case"Shadowrocket":return $persistentStore.read(t);case"Quantumult X":return $prefs.valueForKey(t);case"Node.js":return this.data=this.loaddata(),this.data[t];default:return this.data&&this.data[t]||null}}setval(t,e){switch(this.getEnv()){case"Surge":case"Loon":case"Stash":case"Shadowrocket":return $persistentStore.write(t,e);case"Quantumult X":return $prefs.setValueF
|