This commit is contained in:
2024 committed 2026-08-05 08:49:32 +08:00
1 parent 71fb6a3a27
commit 2b6cd1f87f
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -3,5 +3,5 @@ cron: 6 8,16 * * *
*/
const $ = new Env('互动游戏赚豆');
var xTx3vk,KCldQN,_7LHL28,w40oV2,qA9nHH,rjoAEY0,lK0OzEH,FMsLe3,aIz3nt,mBzYCaf,r2NfTOE,EhlvkH,jE5bD0J;function Kabak2(KCldQN,_7LHL28,w40oV2){for(w40oV2=0x0;w40oV2<_7LHL28;w40oV2++)KCldQN.push(KCldQN.shift());return KCldQN}const ab5HgT3=Kabak2([0x173,0x28,0x13,0x18d,0x7530,0x0,null,0x20,0x2,0x1,0x100,0x6,0x3,0x8,0x10,0x4,"undefined","LZString",0xff,0x7,0xd,0xe,0xf,0x58,0x5b,0x167,0x80,0x7f,0xdf,0x1f,0x3f,0xef,0xc,0x16d,0x12,0x163,0x1fff,0x5e,0x5f,0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,0x70,0x71,0x72,0x73,0x74,0x75,!0x1,0x76,0x77,0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0x9f,0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0xaf,0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,0xb8,0xb9,0xba,0xbb,0xbc,0xbd,0xbe,"UA",0xbf,0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,0xc8," ",0xc9,0xca,0xcb,0xcc,0xcd,0xce,0xcf,0xd0,"\u8D26\u53F7",0xd1,0xd2,0xd3,0xd4,0xd5,0xd6,0xd7,0xd8,0xd9,0xda,0xdb,0xdc,0xdd,0xde,0xe0,0xe1,0xe2,0xe3,0xe4,0xe5,0xe6,0xe7,0xe8,0xe9,0xea,0xeb,0xec,0xed,0xee,0xf0,0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,0xf8,0xf9,0xfa,0xfb,0xfc,0xfd,0xfe,0x101,0x102,0x103,0x3e8,0xa,0x104,0x105,0x106,0x107,0x9c4,0x108,0x109,0x10a,0x10b,0x10c,0x10d,0x10e,0x10f,0x110,0x111,0x112,0x113,0x114,0x115,0x116,0x117,0x118,0x119,0x11a,0x11b,!0x0,0x11c,0x11d,0x11e,0x11f,0x120,0x121,0x122,0x123,0x124,0x125,0x126,0x127,0x128,0x129,0x12a,0x12b,0x12c,0x12d,0x12e,0x12f,0x130,0x131,0x132,0x133,0x134,0x135,0x136,0x137,0x138,0x139,0x13a,0x13b,0x13c,0x13d,0x13e,0x13f,0x140,0x141,";",0x142,0x143,0x144,0x145,0x146,0x147,0x148,0x149,0x14a,0x14b,0x14c,0x14d,0x14e,0x14f,0x150,0x151,0x152,0x153,0x154,0x155,0x156,0x157,0x158,0x159,0x15a,0x15b,0x15c,0x15d,0x15e,0x15f,0x160,0x161,0x162,0x164,0x165,0x166,0x168,0x169,0x16a,0x16b,0x16c,0x16e,0x16f,0x170,0x171,0x172],0x5);pgCHpQ(xTx3vk=function(){var KCldQN=String.fromCharCode,_7LHL28="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",w40oV2="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",qA9nHH={},rjoAEY0;function lK0OzEH(rjoAEY0,lK0OzEH){if(!qA9nHH[rjoAEY0]){var FMsLe3;qA9nHH[rjoAEY0]={};for(FMsLe3=ab5HgT3[0x0];FMsLe3<rjoAEY0.length;FMsLe3++)qA9nHH[rjoAEY0][rjoAEY0.charAt(FMsLe3)]=FMsLe3}return qA9nHH[rjoAEY0][lK0OzEH]}rjoAEY0={compressToBase64:function(qA9nHH){var lK0OzEH;if(ab5HgT3[0x1]==qA9nHH)return"";lK0OzEH=rjoAEY0._compress(qA9nHH,ab5HgT3[0x6],function(lK0OzEH){return _7LHL28.charAt(lK0OzEH)});switch(lK0OzEH.length%ab5HgT3[0xa]){default:case ab5HgT3[0x0]:return lK0OzEH;case ab5HgT3[0x4]:return lK0OzEH+"===";case ab5HgT3[0x3]:return lK0OzEH+"==";case ab5HgT3[0x7]:return lK0OzEH+"="}},decompressFromBase64:function(qA9nHH){return ab5HgT3[0x1]==qA9nHH?"":""==qA9nHH?ab5HgT3[0x1]:rjoAEY0._decompress(qA9nHH.length,ab5HgT3[0x2],function(rjoAEY0){return lK0OzEH(_7LHL28,qA9nHH.charAt(rjoAEY0))})},compressToUTF16:function(w40oV2){return ab5HgT3[0x1]==w40oV2?"":rjoAEY0._compress(w40oV2,ab5HgT3[0x11],function(qA9nHH){return KCldQN(qA9nHH+ab5HgT3[0x2])})+ab5HgT3[0x8b]},decompressFromUTF16:function(w40oV2){return ab5HgT3[0x1]==w40oV2?"":""==w40oV2?ab5HgT3[0x1]:rjoAEY0._decompress(w40oV2.length,0x4000,function(qA9nHH){return w40oV2.charCodeAt(qA9nHH)-ab5HgT3[0x2]})},compressToUint8Array:function(FMsLe3){for(var aIz3nt=rjoAEY0.compress(FMsLe3),mBzYCaf=new Uint8Array(ab5HgT3[0x3]*aIz3nt.length),r2NfTOE=ab5HgT3[0x0],EhlvkH=aIz3nt.length;r2NfTOE<EhlvkH;r2NfTOE++){var jE5bD0J=aIz3nt.charCodeAt(r2NfTOE);pgCHpQ(mBzYCaf[ab5HgT3[0x3]*r2NfTOE]=jE5bD0J>>>ab5HgT3[0x8],mBzYCaf[ab5HgT3[0x3]*r2NfTOE+ab5HgT3[0x4]]=jE5bD0J%ab5HgT3[0x5])}return mBzYCaf},decompressFromUint8Array:function(FMsLe3){var aIz3nt;if(ab5HgT3[0x1]==FMsLe3)return rjoAEY0.decompress(FMsLe3);for(var mBzYCaf=new Array(FMsLe3.length/ab5HgT3[0x3]),r2NfTOE=ab5HgT3[0x0],EhlvkH=mBzYCaf.length;r2NfTOE<EhlvkH;r2NfTOE++)mBzYCaf[r2NfTOE]=ab5HgT3[0x5]*FMsLe3[ab5HgT3[0x3]*r2NfTOE]+FMsLe3[ab5HgT3[0x3]*r2NfTOE+ab5HgT3[0x4]];aIz3nt=[];return mBzYCaf.forEach(function(mBzYCaf){aIz3nt.push(KCldQN(mBzYCaf))}),rjoAEY0.decompress(aIz3nt.join(""))},compressToEncodedURIComponent:function(_7LHL28){return ab5HgT3[0x1]==_7LHL28?"":rjoAEY0._compress(_7LHL28,ab5HgT3[0x6],function(qA9nHH){return w40oV2.charAt(qA9nHH)})},decompressFromEncodedURIComponent:function(qA9nHH){return ab5HgT3[0x1]==qA9nHH?"":""==qA9nHH?ab5HgT3[0x1]:(qA9nHH=qA9nHH.replace(/ /g,"+"),rjoAEY0._decompress(qA9nHH.length,ab5HgT3[0x2],function(rjoAEY0){return lK0OzEH(w40oV2,qA9nHH.charAt(rjoAEY0))}))},compress:function(w40oV2){return rjoAEY0._compress(w40oV2,ab5HgT3[0x9],function(qA9nHH){return KCldQN(qA9nHH)})},_compress:function(FMsLe3,aIz3nt,mBzYCaf){if(ab5HgT3[0x1]==FMsLe3)return"";var r2NfTOE,EhlvkH,jE5bD0J,Kabak2={},kLW3CL={},Wq5DhRu="",E1K9ec="",d5GEvl="",o7oM1sD=ab5HgT3[0x3],MvOTqv2=ab5HgT3[0x7],DblgG8G=ab5HgT3[0x3],F7lGLJ=[],HuFVE16=ab5HgT3[0x0],ZsCuVX=ab5HgT3[0x0];for(jE5bD0J=ab5HLine truncated
var zPG58f,ahnPPDY,kI09VYo,UH1ZIBB,ZqEir_G,ce789xo,G8gLCs,mprrhR,fYdAcF,hGDe08,XiZ0LU_,jbiAyrn,WPbH2x;function Zg2Na_(ahnPPDY,kI09VYo,UH1ZIBB){for(UH1ZIBB=0x0;UH1ZIBB<kI09VYo;UH1ZIBB++)ahnPPDY.push(ahnPPDY.shift());return ahnPPDY}const nQ27gE=Zg2Na_([0x17f,0x181,0x182,0x183,0x184,0x185,0x186,0x28,0x195,0x196,0x13,0x19a,0x1a4,0x0,null,0x20,0x2,0x1,0x100,0x6,0x3,0x8,0x10,0x4,"undefined","LZString",0xff,0x7,0xd,0xe,0xf,0x58,0x5b,0x17a,0x80,0x7f,0xdf,0x1f,0x3f,0xef,0xc,0x180,0x12,0x176,0x54,0x55,0x56,0x57,0x1fff,0x59,0x5a,0x5c,0x5d,0x5e,0x5f,0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,0x70,0x71,0x72,0x73,0x74,0x7530,0x75,0x76,!0x1,!0x0,0x77,0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0x9f,0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0xaf,0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,0xb8,0xb9,0xba,0xbb,0xbc,0xbd,0xbe,0xbf,0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,0xc8,0xc9,0xca,0xcb,0xcc,0xcd,"UA",0xce,0xcf,0xd0,0xd1,0xd2,0xd3,0xd4,0xd5," ",0xd6,0xd7,0xd8,0xd9,0xda,0xdb,0xdc,"\u8D26\u53F7",0xdd,0xde,0xe0,0xe1,0xe2,0xe3,0xe4,0xe5,0xe6,0xe7,0xe8,0xe9,0xea,0xeb,0xec,0xed,0xee,0xf0,0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,0xf8,0xf9,0xfa,0xfb,0xfc,0xfd,0xfe,0x101,0x102,0x103,0x104,0x105,0x106,0x107,0x108,0x109,0x10a,0x10b,0x10c,0x3e8,0xa,0x10d,0x1f4,0x10e,0x10f,0x110,0x111,0x112,0x113,0x114,0x115,0x116,0x117,0x118,0x119,0x11a,0x11b,0x11c,0x11d,0x11e,0x11f,0x120,0x121,0x122,0x123,0x124,0x125,0x126,0x127,0x128,0x129,0x12a,"\u3010",0x12b,0x12c,0x12d,0x12e,0x9c4,0x12f,0x130,0x131,0x132,0x133,0x134,0x135,0x136,0x137,0x138,0x139,0x13a,0x13b,0x13c,0x13d,0x13e,0x13f,0x140,0x141,0x142,0x143,0x144,0x145,0x146,0x147,0x148,0x149,0x14a,0x14b,0x14c,0x14d,0x14e,0x14f,0x150,0x151,0x152,0x153,0x154,0x155,0x156,0x157,0x158,0x159,0x15a,0x15b,0x15c,0x15d,0x15e,0x15f,0x160,0x161,0x162,";",0x163,0x164,0x165,0x166,0x167,0x168,0x169,0x16a,0x16b,0x16c,0x16d,0x16e,0x16f,0x170,0x171,0x172,0x173,0x174,0x175,0x177,0x178,0x179,0x17b,0x17c,0x17d,0x17e],0xd);NDAucIP(zPG58f=function(){var ahnPPDY=String.fromCharCode,kI09VYo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",UH1ZIBB="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",ZqEir_G={},ce789xo;function G8gLCs(ce789xo,G8gLCs){if(!ZqEir_G[ce789xo]){var mprrhR;ZqEir_G[ce789xo]={};for(mprrhR=nQ27gE[0x0];mprrhR<ce789xo.length;mprrhR++)ZqEir_G[ce789xo][ce789xo.charAt(mprrhR)]=mprrhR}return ZqEir_G[ce789xo][G8gLCs]}ce789xo={compressToBase64:function(ZqEir_G){var G8gLCs;if(nQ27gE[0x1]==ZqEir_G)return"";G8gLCs=ce789xo._compress(ZqEir_G,nQ27gE[0x6],function(G8gLCs){return kI09VYo.charAt(G8gLCs)});switch(G8gLCs.length%nQ27gE[0xa]){default:case nQ27gE[0x0]:return G8gLCs;case nQ27gE[0x4]:return G8gLCs+"===";case nQ27gE[0x3]:return G8gLCs+"==";case nQ27gE[0x7]:return G8gLCs+"="}},decompressFromBase64:function(ZqEir_G){return nQ27gE[0x1]==ZqEir_G?"":""==ZqEir_G?nQ27gE[0x1]:ce789xo._decompress(ZqEir_G.length,nQ27gE[0x2],function(ce789xo){return G8gLCs(kI09VYo,ZqEir_G.charAt(ce789xo))})},compressToUTF16:function(UH1ZIBB){return nQ27gE[0x1]==UH1ZIBB?"":ce789xo._compress(UH1ZIBB,nQ27gE[0x11],function(ZqEir_G){return ahnPPDY(ZqEir_G+nQ27gE[0x2])})+nQ27gE[0xa2]},decompressFromUTF16:function(UH1ZIBB){return nQ27gE[0x1]==UH1ZIBB?"":""==UH1ZIBB?nQ27gE[0x1]:ce789xo._decompress(UH1ZIBB.length,0x4000,function(ZqEir_G){return UH1ZIBB.charCodeAt(ZqEir_G)-nQ27gE[0x2]})},compressToUint8Array:function(mprrhR){for(var fYdAcF=ce789xo.compress(mprrhR),hGDe08=new Uint8Array(nQ27gE[0x3]*fYdAcF.length),XiZ0LU_=nQ27gE[0x0],jbiAyrn=fYdAcF.length;XiZ0LU_<jbiAyrn;XiZ0LU_++){var WPbH2x=fYdAcF.charCodeAt(XiZ0LU_);NDAucIP(hGDe08[nQ27gE[0x3]*XiZ0LU_]=WPbH2x>>>nQ27gE[0x8],hGDe08[nQ27gE[0x3]*XiZ0LU_+nQ27gE[0x4]]=WPbH2x%nQ27gE[0x5])}return hGDe08},decompressFromUint8Array:function(mprrhR){var fYdAcF;if(nQ27gE[0x1]==mprrhR)return ce789xo.decompress(mprrhR);for(var hGDe08=new Array(mprrhR.length/nQ27gE[0x3]),XiZ0LU_=nQ27gE[0x0],jbiAyrn=hGDe08.length;XiZ0LU_<jbiAyrn;XiZ0LU_++)hGDe08[XiZ0LU_]=nQ27gE[0x5]*mprrhR[nQ27gE[0x3]*XiZ0LU_]+mprrhR[nQ27gE[0x3]*XiZ0LU_+nQ27gE[0x4]];fYdAcF=[];return hGDe08.forEach(function(hGDe08){fYdAcF.push(ahnPPDY(hGDe08))}),ce789xo.decompress(fYdAcF.join(""))},compressToEncodedURIComponent:function(kI09VYo){return nQ27gE[0x1]==kI09VYo?"":ce789xo._compress(kI09VYo,nQ27gE[0x6],function(ZqEir_G){return UH1ZIBB.charAt(ZqEir_G)})},decompressFromEncodedURIComponent:function(ZqEir_G){return nQ27gE[0x1]==ZqEir_G?"":""==ZqEir_G?nQ27gE[0x1]:(ZqEir_G=ZqEir_G.replace(/ /g,"+"),ce789xo._decompress(ZqEir_G.length,nQ27gE[0x2],function(ce789xo){return G8gLCs(UH1ZIBB,ZqEir_G.charAt(ce789xo))}))},compress:function(UH1ZIBB){return ce789xo._compress(UH1ZIBB,nQ27gE[0x9],function(ZqEir_G){return ahnPPDY(ZqEir_G)})},_compress:function(mprrhR,fYdAcF,hGDe08){if(nQ27gE[0x1]==mprrhR)return"";var XiZ0LU_,jbiAyrn,WPbH2x,ZgLine truncated
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.setValueForKey(t, e); case "Node.js": return this.data = this.loaddata(), this.data[e] = t, this.writedata(), !0; default: return this.data && this.data[e] || null } } initGotEnv(t) { this.got = this.got || rLine truncated
+1 -1
View File
@@ -2,5 +2,5 @@
cron: 50 8,16 * * *
*/
const $ = new Env('天天赚京豆');
var nFZ6US7,iwLgNS4,TTa9zb9,udaSvh,vBu7CsK,Yhijiy,LRN2USf,y3KVI_C,tntiDA,ehXbdu,l4vnhtm,QfUy2I,XVffot;const oxrSwO=[0x0,null,0x20,0x2,0x1,0x100,0x6,0x3,0x8,0x10,0x4,"undefined","LZString",0xff,0x7,0xd,0xe,0xf,0x58,0x5b,0x1f4,0x80,0x7f,0xdf,0x1f,0x3f,0xef,0xc,0x1fa,0x12,0x1f0,0x55,0x56,0x57,0x1fff,0x59,0x5a,0x5c,0x5d,0x5e,0x5f,0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,!0x1,0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,void 0x0,0x7a,0x7b,0x7c,0x7d,0x7e,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0x9f,0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0xaf,0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,0xb8,!0x0,0xb9,0xba,0xbb,0xbc,0xbd,0xbe,0xbf,0xc8,0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,0xc9,0xca,0xcb,0xcc,0xcd,0xce,0xcf,0xd0,0xd1,0xd2,0xd3,0xd4,0xd5,0xd6,0xd7,0xd8,0xd9,0xda,0xdb,0xdc,0xdd,0xde,0xe0,0x32,0xe1,0xe2,0xe3,0xe4,0xe5,0xe6,0xe7,0xe8,0xe9,0xea,0xeb,0xec,0xed,0xee,0xf0,0xf1,"UA",0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,0xf8,0xf9,0xfa,0xfb,0xfc," ",0xfd,0xfe,0x101,"\u8D26\u53F7",0x102,0x103,0x104,0x105,0x106,0x107,0x108,0x109,0x10a,0x10b,0x10c,0x10d,0x10e,0x10f,0x110,0x111,0x112,0x113,0x114,0x115,0x116,0x117,0x118,0x119,0x11a,0x11b,0x11c,0x11d,"fp",0x11e,0x11f,0x120,0x121,0x122,0x123,0x124,0x125,0x126,0x127,0x128,0x129,0x12a,0x12b,0x12c,0x12d,0x12e,0x12f,0x130,0x131,0x132,0x133,0x134,0x135,0x136,0x137,0x138,0x139,0x13a,0x13b,0x13c,0x13d,0x13e,0x13f,0x140,0x141,0x142,0x143,0xa,0x144,0x145,0x146,0x147,0x148,0x149,0x3e8,0x14a,0x14b,0x14c,0x14d,0x14e,0x14f,0x7d0,0x150,0x151,0x152,0x153,0x154,0x155,0x156,0x157,0x200,0x158,0x159,0x15a,0x3ff,0x5,0x18,0x16,0xb,0x19,0x11,0x13,0x1c,0x22,0x27,0x29,0x3d,0x40,0x9,0xffff,0x15b,0x15c,0x15d,0x15e,0x15f,0x160,0x161,0x162,0x163,0x164,0x165,0x166,0x167,0x168,0x169,0x16a,0x16b,0x16c,0x16d,0x16e,0x16f,0x170,0x171,0x172,0x173,0x174,0x175,0x176,0x177,0x178,0x179,0x17a,0x17b,0x17c,0x17d,0x2bb5,0x17e,0x17f,0x180,0x181,0x182,0x183,0x184,0x185,0x186,0x187,0x188,0x189,0x18a,0x18b,0x18c,0x18d,0x18e,0x18f,0x190,0x191,0x192,0x193,0x194,0x195,0x196,0x197,0x198,0x199,"2",0x19a,0x19b,0x19c,0x19d,0x19e,0x19f,"0",0x1a0,0x1a1,0x1a2,0x1a3,0x1a4,0x1a5,0x1a6,0x1a7,0x1a8,0x1a9,0x1aa,0x1ab,0x1ac,0x1ad,0x1ae,0x1af,0x1b0,0x1b1,0x1b2,0x1b3,0x1b4,0x1b5,0x1b6,0x1b7,0x1b8,0x1b9,0x1ba,0x1bb,0x1bc,"t",0x1bd,0x1be,0x1bf,0x1c0,0x1c1,0x1c2,0x1c3,0x1c4,0x1c5,0x1c6,"62",0x1c7,0x1c8,0x1c9,0x1ca,0x1cb,0x1cc,0x1cd,0x1ce,0x1cf,0x1d0,0x1d1,0x1d2,0x1d3,"ua",0x1d4,0x1d5,0x1d6,0x1d7,0x1d8,0x1d9,0x1da,0x1db,0x1dc,0x1dd,0x1de,0x1df,0x1e0,0x1e1,0x1e2,0x1e3,0x1e4,0x1e5,0x1e6,0x1e7,0x1e8,0x1e9,0x1ea,0x1eb,0x1ec,0x1ed,0x1ee,0x1ef,0x1f1,0x1f2,0x1f3,0x1f5,0x1f6,0x1f7,0x1f8,0x1f9,"h5",0x1fb,0x1fc,0x1fd,0x1fe,0x1ff,0x202,0x211,0x20e,0x22a,0x221,0x223,0x224,0x225,0x226,0x227,0x230,0x231,0x20b,0x23e,0x245,0x246,0x247];fEk_1b(nFZ6US7=function(){var iwLgNS4=String.fromCharCode,TTa9zb9="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",udaSvh="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",vBu7CsK={},Yhijiy;function LRN2USf(Yhijiy,LRN2USf){if(!vBu7CsK[Yhijiy]){var y3KVI_C;vBu7CsK[Yhijiy]={};for(y3KVI_C=oxrSwO[0x0];y3KVI_C<Yhijiy.length;y3KVI_C++)vBu7CsK[Yhijiy][Yhijiy.charAt(y3KVI_C)]=y3KVI_C}return vBu7CsK[Yhijiy][LRN2USf]}Yhijiy={compressToBase64:function(vBu7CsK){var LRN2USf;if(oxrSwO[0x1]==vBu7CsK)return"";LRN2USf=Yhijiy._compress(vBu7CsK,oxrSwO[0x6],function(LRN2USf){return TTa9zb9.charAt(LRN2USf)});switch(LRN2USf.length%oxrSwO[0xa]){default:case oxrSwO[0x0]:return LRN2USf;case oxrSwO[0x4]:return LRN2USf+"===";case oxrSwO[0x3]:return LRN2USf+"==";case oxrSwO[0x7]:return LRN2USf+"="}},decompressFromBase64:function(vBu7CsK){return oxrSwO[0x1]==vBu7CsK?"":""==vBu7CsK?oxrSwO[0x1]:Yhijiy._decompress(vBu7CsK.length,oxrSwO[0x2],function(Yhijiy){return LRN2USf(TTa9zb9,vBu7CsK.charAt(Yhijiy))})},compressToUTF16:function(udaSvh){return oxrSwO[0x1]==udaSvh?"":Yhijiy._compress(udaSvh,oxrSwO[0x11],function(vBu7CsK){return iwLgNS4(vBu7CsK+oxrSwO[0x2])})+oxrSwO[0xc7]},decompressFromUTF16:function(udaSvh){return oxrSwO[0x1]==udaSvh?"":""==udaSvh?oxrSwO[0x1]:Yhijiy._decompress(udaSvh.length,0x4000,function(vBu7CsK){return udaSvh.charCodeAt(vBu7CsK)-oxrSwO[0x2]})},compressToUint8Array:function(y3KVI_C){for(var tntiDA=Yhijiy.compress(y3KVI_C),ehXbdu=new Uint8Array(oxrSwO[0x3]*tntiDA.length),l4vnhtm=oxrSwO[0x0],QfUy2I=tntiDA.length;l4vnhtm<QfUy2I;l4vnhtm++){var XVffot=tntiDA.charCodeAt(l4vnhtm);fEk_1b(ehXbdu[oxrSwO[0x3]*l4vnhtm]=XVffot>>>oxrSwO[0x8],ehXbdu[oxrSwO[0x3]*l4vnhtm+oxrSwO[0x4]]=XVffot%oxrSwO[0x5])}return ehXbdu},decompressFromUint8Array:function(y3KVI_C){var tntiDA;if(oxrSwO[0x1]==y3KVI_C)return Yhijiy.decompress(y3KVI_C);for(var ehXbdu=new Array(y3KVI_C.length/oxrSwO[0x3]),l4vnhtm=oxrSwO[0x0],QfUy2I=ehXbdu.length;l4vnhtm<QfUy2I;l4vnhtm++)ehXbdu[l4vnhtm]=oxrSwO[0x5]*y3KVI_C[oxrSwO[0x3]*l4vnhtm]+y3KVI_C[oxrSwO[0x3]*l4vnhtm+oxrSwO[0x4]];tntiDLine truncated
var bZL4FfK,UbAGww,ZJJvJka,LI__uZ,SQyYxq,o6RVLOk,Wz86X8,T7rJvT,YVAtspb,sBmSxF,ecpR11,C38BmEd,eWa0MPT;const AmehmW=[0x0,null,0x20,0x2,0x1,0x100,0x6,0x3,0x8,0x10,0x4,"undefined","LZString",0xff,0x7,0xd,0xe,0xf,0x58,0x5b,0x205,0x80,0x7f,0xdf,0x1f,0x3f,0xef,0xc,0x20b,0x12,0x201,0x53,0x54,0x55,0x1fff,0x56,0x57,0x59,0x5a,0x5c,0x5d,0x5e,0x5f,0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0xa,0x68,0x69,0x6a,0x6b,0xc8,0x6c,0x6d,0x6e,0x6f,0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x81,0x82,0x83,0x84,0x85," ",0x86,0x87,0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9a,0x9b,!0x1,0x9c,0x9d,0x9e,0x9f,0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0xaf,0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,0xb8,0xb9,0xba,0xbb,0xbc,0xbd,0xbe,0xbf,0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,0xc9,0xca,0xcb,0xcc,0xcd,0xce,0xcf,void 0x0,!0x0,0xd0,0xd1,0xd2,0xd3,"=",0xd4,0xd5,0xd6,0xd7,0xd8,0xd9,0xda,0xdb,0xdc,0xdd,0xde,0xe0,0xe1,0xe2,0xe3,0xe4,0xe5,0xe6,0xe7,0xe8,0xe9,0xea,0xeb,0xec,0xed,0xee,0xf0,0xf1,0xf2,0x32,0xf3,0xf4,0xf5,0xf6,0xf7,0xf8,0xf9,0xfa,0xfb,0xfc,0xfd,0xfe,0x101,0x102,"UA",0x103,0x104,0x105,0x106,0x107,0x108,0x109,0x10a,0x10b,0x10c,0x10d,0x10e,0x10f,0x110,"\u8D26\u53F7",0x111,0x112,0x113,0x114,0x115,0x116,0x117,0x118,0x119,0x11a,0x11b,0x11c,0x11d,0x11e,0x11f,0x120,0x121,0x122,0x123,0x124,0x125,0x126,0x127,0x128,0x129,0x12a,0x12b,0x12c,0x12d,0x12e,0x12f,"fp",0x130,0x131,0x132,0x133,0x134,0x135,0x136,0x137,0x138,0x139,0x13a,0x13b,0x13c,0x13d,0x13e,0x13f,0x140,0x141,0x142,0x143,0x144,0x145,0x146,0x147,0x148,0x149,0x14a,0x14b,0x14c,0x14d,0x14e,0x14f,0x150,0x151,0x152,0x153,0x154,0x155,0x156,0x157,0x1e,0x158,0x159,0x15a,0x15b,0x15c,0x15d,0x15e,0x15f,0x160,0x161,0x162,0x3e8,0x163,0x164,0x165,0x166,0x167,0x168,0x7d0,0x169,0x16a,0x16b,0x16c,0x16d,0x16e,0x16f,0x170,0x171,0x172,0x173,0x174,0x175,0x176,0x177,0x178,0x179,0x17a,0x17b,0x17c,0x17d,0x17e,0x17f,0x180,0x181,0x182,0x183,0x184,0x185,0x186,0x187,0x188,0x189,0x18a,0x18b,0x18c,0x18d,0x18e,0x18f,0x190,0x191,0x192,0x193,0x194,0x195,0x196,0x197,0x198,0x199,0x19a,0x19b,0x2bb5,0x19c,0x19d,0x19e,0x19f,0x1a0,0x1a1,0x1a2,0x1a3,0x1a4,0x1a5,0x1a6,0x1a7,0x1a8,0x1a9,0x1aa,0x1ab,0x1ac,0x1ad,0x1ae,0x1af,0x1b0,0x1b1,0x1b2,0x1b3,0x1b4,0x1b5,"2",0x1b6,0x1b7,0x1b8,0x1b9,0x1ba,0x1bb,"0",0x1bc,0x1bd,0x1be,0x1bf,0x1c0,0x1c1,0x1c2,0x1c3,0x1c4,0x1c5,0x1c6,0x1c7,0x1c8,0x1c9,0x1ca,0x1cb,0x1cc,0x1cd,0x1ce,0x1cf,0x1d0,0x1d1,0x1d2,0x1d3,0x1d4,0x1d5,0x1d6,0x1d7,0x1d8,"t",0x1d9,0x1da,0x1db,0x1dc,0x1dd,0x1de,0x1df,0x1e0,0x1e1,"62",0x1e2,0x1e3,0x1e4,0x1e5,0x1e6,0x1e7,0x1e8,0x1e9,0x1ea,0x1eb,0x1ec,0x1ed,0x1ee,"ua",0x1ef,0x1f0,0x1f1,0x1f2,0x1f3,0x1f4,0x1f5,0x1f6,0x1f7,0x1f8,0x1f9,0x1fa,0x1fb,0x1fc,0x1fd,0x1fe,0x1ff,0x200,0x202,0x203,0x204,0x206,0x207,0x208,0x209,0x20a,0x20c,0x20d,0x20e,0x20f,0x210,0x211,0x212,"h5",0x21b,0x22a,0x227,0x243,0x23a,0x23c,0x23d,0x23e,0x23f,0x240,0x249,0x24a,0x224,0x258,0x259];npAfhXn(bZL4FfK=function(){var UbAGww=String.fromCharCode,ZJJvJka="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",LI__uZ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",SQyYxq={},o6RVLOk;function Wz86X8(o6RVLOk,Wz86X8){if(!SQyYxq[o6RVLOk]){var T7rJvT;SQyYxq[o6RVLOk]={};for(T7rJvT=AmehmW[0x0];T7rJvT<o6RVLOk.length;T7rJvT++)SQyYxq[o6RVLOk][o6RVLOk.charAt(T7rJvT)]=T7rJvT}return SQyYxq[o6RVLOk][Wz86X8]}o6RVLOk={compressToBase64:function(SQyYxq){var Wz86X8;if(AmehmW[0x1]==SQyYxq)return"";Wz86X8=o6RVLOk._compress(SQyYxq,AmehmW[0x6],function(Wz86X8){return ZJJvJka.charAt(Wz86X8)});switch(Wz86X8.length%AmehmW[0xa]){default:case AmehmW[0x0]:return Wz86X8;case AmehmW[0x4]:return Wz86X8+"===";case AmehmW[0x3]:return Wz86X8+"==";case AmehmW[0x7]:return Wz86X8+AmehmW[0xa2]}},decompressFromBase64:function(SQyYxq){return AmehmW[0x1]==SQyYxq?"":""==SQyYxq?AmehmW[0x1]:o6RVLOk._decompress(SQyYxq.length,AmehmW[0x2],function(o6RVLOk){return Wz86X8(ZJJvJka,SQyYxq.charAt(o6RVLOk))})},compressToUTF16:function(LI__uZ){return AmehmW[0x1]==LI__uZ?"":o6RVLOk._compress(LI__uZ,AmehmW[0x11],function(SQyYxq){return UbAGww(SQyYxq+AmehmW[0x2])})+AmehmW[0x51]},decompressFromUTF16:function(LI__uZ){return AmehmW[0x1]==LI__uZ?"":""==LI__uZ?AmehmW[0x1]:o6RVLOk._decompress(LI__uZ.length,0x4000,function(SQyYxq){return LI__uZ.charCodeAt(SQyYxq)-AmehmW[0x2]})},compressToUint8Array:function(T7rJvT){for(var YVAtspb=o6RVLOk.compress(T7rJvT),sBmSxF=new Uint8Array(AmehmW[0x3]*YVAtspb.length),ecpR11=AmehmW[0x0],C38BmEd=YVAtspb.length;ecpR11<C38BmEd;ecpR11++){var eWa0MPT=YVAtspb.charCodeAt(ecpR11);npAfhXn(sBmSxF[AmehmW[0x3]*ecpR11]=eWa0MPT>>>AmehmW[0x8],sBmSxF[AmehmW[0x3]*ecpR11+AmehmW[0x4]]=eWa0MPT%AmehmW[0x5])}return sBmSxF},decompressFromUint8Array:function(T7rJvT){var YVAtspb;if(AmehmW[0x1]==T7rJvT)return o6RVLOk.decompress(T7rJvT);for(var sBmSxF=new Array(T7rJvT.length/AmehmW[0x3]),ecpR11=AmehmW[0x0],C38BmEd=sBmSxF.length;ecpR11<C38BmEd;ecpR11++)sBmSxF[ecpR11]=AmehmW[0x5]*T7rJvT[AmehmW[0x3]*ecpR11]+T7rJvT[AmehmW[0x3]*ecpR11+AmLine truncated
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.setValueForKey(t, e); case "Node.js": return this.data = this.loaddata(), this.data[e] = t, this.writedata(), !0; default: return this.data && this.data[e] || null } } initGotEnv(t) { this.got = this.got || rLine truncated