mirror of
https://github.com/6dylan6/jdpro.git
synced 2026-11-06 04:26:44 +08:00
1
This commit is contained in:
1 parent
f2285065c0
commit
b852ab7489
1 file changed
+1
-1
@@ -2,5 +2,5 @@
|
||||
22 5,15 * * * jd_plantBean_help.js
|
||||
*/
|
||||
const $ = new Env('种豆得豆互助');
|
||||
var bc0J5II,hqpByrt,xE_cU6C,kbKeUY,TorD1dz,OUKVRKE,m40Sdyn,v4IA1qO,lbSwd6,gNQHTl,AJhUji,bZAGgQ9,rbOoDx;const QWKJbA=[0x0,null,0x20,0x2,0x1,0x100,0x6,0x3,0x8,0x10,0x4,"undefined","LZString",0xff,0x7,0xd,0xe,0xf,0x58,0x5b,0x18a,0x80,0x7f,0xdf,0x1f,0x3f,0xef,0xc,0x190,0x12,0x186,0x1fff,0x6d,0x6e,0x6f,0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x7b,!0x1,0x7c,0x7d,0x7e,0x81,!0x0,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,"\u8D26\u53F7",0xb9,0xba,0xbb,0xbc,0xbd,0xbe,0xbf,0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,0xc8,0xc9,0xca,0xcb,0xcc,0xcd,0xce,0xcf,0xd0,0xd1,0xd2,0xd3,0xd4,0xd5,0xd6,0xd7,0xd8,0xd9,0xda,0xdb,0xdc,0x63,0xdd,0xde,0xe0,0xe1,0xe2,0xe3,0xe4,0xe5,0xe6,0xe7,0xe8,0xe9,0xea,0xeb,0xec,0xed,0xee,0xf0,0xf1,0xf2,0xf3,0xf4,0x200,0xf5,0xf6,0xf7,0xa,0x3ff,0x5,0x18,0x16,0xb,0x19,0x11,0x13,0x1c,0x22,0x27,0x29,0x3d,0x40,0x9,0xffff,0xf8,0xf9,0xfa,0x7d0,"\n",0xfb,0xfc,0xfd,0xfe,0x101,0x102,0x103,0x104,0x105,0x106,0x107,0x108,0x5265c00,0x1b77400,0x109,0x3c,0x3e8,0x10a,0x10b,0x10c,0x10d,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,0x12b,0x12c,0x12d,0x12e,0x12f,"@",0x130,0x131,0x132,0x133,0x134,0x135,0x136,0x137,0x138,void 0x0,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,0x176,0x177,0x178,0x179,0x17a,0x17b,0x17c,0x17d,0x17e,0x17f,0x180,0x181,0x182,0x183,0x184,0x185,0x187,"UA",0x188,0x189,0x18b,0x18c,0x18d,0x18e,0x18f,0x191,0x192,0x193,0x194,0x195,0x196,0x1a3,"0",0x1bb,0x1b8,0x199,0x30,0x36363636,0x5c5c5c5c,0xd800,0xdbff,0xdc00,0xdfff,0x10000,0x7ff,0x1fffff,0x428a2f98,0x71374491,0x4a3f0431,0x164a245b,0x3956c25b,0x59f111f1,0x6dc07d5c,0x54e3a12b,0x27f85568,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x7f214e02,0x6423f959,0x3e640e8c,0x1b64963f,0x1041b87a,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x67c1aeae,0x57ce3993,0x4ffcd838,0x40a68039,0x391ff40d,0x2a586eb9,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x7e3d36d2,0x6d8dd37b,0x5d40175f,0x57e599b5,0x3db47490,0x3893ae5d,0x2e6d17e7,0x2966f9dc,0xbf1ca7b,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x7b3787ec,0x7338fdf8,0x6f410006,0x5baf9315,0x41065c09,0x398e870e,0x6a09e667,0x4498517b,0x3c6ef372,0x5ab00ac6,0x510e527f,0x64fa9774,0x1f83d9ab,0x5be0cd19];AclGQr2(bc0J5II=function(){var hqpByrt=String.fromCharCode,xE_cU6C="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",kbKeUY="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",TorD1dz={},OUKVRKE;function m40Sdyn(OUKVRKE,m40Sdyn){if(!TorD1dz[OUKVRKE]){var v4IA1qO;TorD1dz[OUKVRKE]={};for(v4IA1qO=QWKJbA[0x0];v4IA1qO<OUKVRKE.length;v4IA1qO++)TorD1dz[OUKVRKE][OUKVRKE.charAt(v4IA1qO)]=v4IA1qO}return TorD1dz[OUKVRKE][m40Sdyn]}OUKVRKE={compressToBase64:function(kbKeUY){var TorD1dz,m40Sdyn;function*v4IA1qO(m40Sdyn,v4IA1qO,lbSwd6,gNQHTl,AJhUji={t1jytRE:{}}){while(m40Sdyn+v4IA1qO+lbSwd6+gNQHTl!==-0xc6)with(AJhUji.C2WAtG||AJhUji)switch(m40Sdyn+v4IA1qO+lbSwd6+gNQHTl){case AJhUji.t1jytRE.dRj4_u+-0x90:AclGQr2(AJhUji.C2WAtG=AJhUji.t1jytRE,m40Sdyn+=0x152,v4IA1qO+=-0x13c,lbSwd6+=0x2,gNQHTl+=0xf8);break;case 0x5e:case-0x8f:case-0xb2:AclGQr2([AJhUji.t1jytRE.dRj4_u,AJhUji.t1jytRE.J0zy1b,AJhUji.t1jytRE.vOR5uU]=[-0x3c,0x12,-0x8],AJhUji.C2WAtG=AJhUji.HP7H3A,m40Sdyn+=-0x46,v4IA1qO+=-0xce,lbSwd6+=0x11,gNQHTl+=-0x21);break;case 0xc9:case 0xee:AclGQr2(AJhUji.C2WAtG=AJhUji.OfsBh36,m40Sdyn+=-0x7f,v4IA1qO+=0x7b,lbSwd6+=-0x208,gNQHTl+=0x5b);break;case 0x57:switch(HmTyF3h.length%QWKJbA[0xa]){default:case QWKJbA[v4IA1qO+-0x2]:return TorD1dz=!0x0,HmTyF3h;case QWKJbA[0x4]:return TorD1dz=!0x0,HmTyF3h+"===";case QWKJbA[0x3]:return TorD1dz=!0x0,HmTyF3h+"==";case QWKJbA[lbSwd6+0xbd]:return TorD1dz=!0x0,HmTyF3h+"="}AclGQr2(AJhUji.C2WAtG=AJhUji.x_uuKnI,lbSwd6+=-0x25,gNQHTl+=-0xf8);break;default:[AJhUji.t1jytRE.dRj4_u,AJhUji.t1jytRE.J0zy1b,AJhUji.t1jytRE.vOR5uU]=[-0x29,0x56,-0xa9];if(QWKJbA[0x1]==kbKeUY)return TorD1dz=!0x0,"";AclGQr2(t1jytRE.HmTyF3h=OUKVRKE._compress(kbKeUY,QWKJbA[m40Sdyn+-0x36],function(m40Sdyn){return xE_cU6C.charAt(m40Sdyn)}),AJhUji.C2WAtG=AJhUji.t1jytRE,m40Sdyn+=0x7f,v4IA1qO+=-0x7b,lbSwd6+=0x79,gNQHTl+=0x9d);break;case-0xd5:case-0x6d:AclGQr2(AJhUji.C2WAtG=AJhUji.dioAsj,m40Sdyn+=0xd6,v4IA1qO+=-0x13c,lbSwd6+=-0x18f,gNQHTl+=0x19c);break}}AclGQr2(TorD1dz=void 0x0,m40Sdyn=v4IA1qO(0x3c,0x7d,-0x12f,Line truncated
|
||||
var d0L6qX,UgYNl1,ubYffs,sLUMDqm,UTk6a5,mYypZ5,bkrVaWy,iRV0dL,dkhG1Pm,cZeBkI,LX2APPg,EDbC0xZ,nzR8kd;function J6msVnh(UgYNl1,ubYffs,sLUMDqm){for(sLUMDqm=0x0;sLUMDqm<ubYffs;sLUMDqm++)UgYNl1.push(UgYNl1.shift());return UgYNl1}const HE_34F=J6msVnh([0x1ae,0x1af,0x1b1,0x1b2,0x1b3,"0",0x1b4,0x1b5,0x1b6,0x2710,0x1cc,0x1ca,0x1b7,0x1e6,0x0,null,0x20,0x2,0x1,0x100,0x6,0x3,0x8,0x10,0x4,"undefined","LZString",0xff,0x7,0xd,0xe,0xf,0x58,0x5b,0x1aa,0x80,0x7f,0xdf,0x1f,0x3f,0xef,0xc,0x1b0,0x12,0x1a6,0x1fff,0x66,0x67,0x68,0x69,0x6a,"\n",0x6b,0x6c,0x6d,0x6e,0x6f,0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,"@",0x7b,0x7c,0x7d,0x7e,0x81,0x82,0x83,0x84,0xa,0x3ff,0x10000,0xd800,0xdc00,0x85,0x86,0xc0,0xe0,0xf0,0x87,0x88,0x89,0x8a,0x8b,0xf8,0x8c,!0x1,0x8d,0x8e,0x8f,0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x30,0x98,0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0x9f,0xa0,0x5,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,!0x0,0xbd,0xbe,0xbf,0xc1,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,0xc8,0xc9,0xca,0xcb,0xcc,0xcd,0xce,0xcf,0xd0,0xd1,0xd2,0xd3,0xd4,0xd5,0xd6,0xd7,0xd8,0xd9,0xda,0xdb,0xdc,0xdd,0xde,0xe1,0xe2,0xe3,0xe4," ",0xe5,0xe6,0xe7,0xe8,0xe9,0xea,0xeb,0xec,"\u8D26\u53F7",0xed,0xee,0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,0xf9,0xfa,0xfb,0xfc,0xfd,0xfe,0x101,0x102,0x103,0x104,0x105,0x106,0x107,0x108,0x109,0x10a,0x10b,0x10c,0x10d,0x10e,0x10f,0x110,0x111,0x112,0x113,0x114,0x115,0x63,0x116,0x117,0x118,0x119,0x11a,0x11b,0x11c,0x11d,0x11e,0x11f,0x120,0x121,0x122,0x123,0x7d0,0x124,0x125,0x126,0x127,0x128,0x129,0x12a,0x5265c00,0x1b77400,0x12b,0x18,0x3c,0x3e8,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,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,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,"UA",0x19b,0x19c,0x19d,0x19e,0x19f,0x1a0,0x1a1,0x1a2,0x1a3,0x2000000,0x4000000,0x1a4,0x1a5,0x1a7,0x1a8,0x1a9,0x1ab,0x1ac,0x1ad],0xe);edbMEN8(d0L6qX=function(){var UgYNl1=String.fromCharCode,ubYffs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",sLUMDqm="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",UTk6a5={},mYypZ5;function bkrVaWy(mYypZ5,bkrVaWy){if(!UTk6a5[mYypZ5]){var iRV0dL;UTk6a5[mYypZ5]={};for(iRV0dL=HE_34F[0x0];iRV0dL<mYypZ5.length;iRV0dL++)UTk6a5[mYypZ5][mYypZ5.charAt(iRV0dL)]=iRV0dL}return UTk6a5[mYypZ5][bkrVaWy]}mYypZ5={compressToBase64:function(sLUMDqm){var UTk6a5,bkrVaWy;function*iRV0dL(bkrVaWy,iRV0dL,dkhG1Pm,cZeBkI,LX2APPg={GoQGKpx:{}}){while(bkrVaWy+iRV0dL+dkhG1Pm+cZeBkI!==-0x8f)with(LX2APPg.ag37Naf||LX2APPg)switch(bkrVaWy+iRV0dL+dkhG1Pm+cZeBkI){case bkrVaWy- -0x46:edbMEN8(LX2APPg.ag37Naf=LX2APPg.GoQGKpx,bkrVaWy+=0x13e,iRV0dL+=-0xe3,dkhG1Pm+=-0x82);break;case 0x29:edbMEN8([LX2APPg.GoQGKpx.BpPRCfN,LX2APPg.GoQGKpx.QA0fMT,LX2APPg.GoQGKpx.aPMdurF]=[-0xa4,0x62,0x94],LX2APPg.ag37Naf=LX2APPg.GoQGKpx,bkrVaWy+=-0x57,iRV0dL+=0x49,dkhG1Pm+=-0x82);break;default:[LX2APPg.GoQGKpx.BpPRCfN,LX2APPg.GoQGKpx.QA0fMT,LX2APPg.GoQGKpx.aPMdurF]=[0x10,-0xaf,-0x23];if(HE_34F[iRV0dL+-0x41]==sLUMDqm)return UTk6a5=!0x0,"";GoQGKpx.W6FP8o=mYypZ5._compress(sLUMDqm,HE_34F[dkhG1Pm+0xe],function(bkrVaWy){return ubYffs.charAt(bkrVaWy)});switch(GoQGKpx.W6FP8o.length%HE_34F[0xa]){default:case HE_34F[bkrVaWy+0x8e]:return UTk6a5=!0x0,GoQGKpx.W6FP8o;case HE_34F[0x4]:return UTk6a5=!0x0,GoQGKpx.W6FP8o+"===";case HE_34F[0x3]:return UTk6a5=!0x0,GoQGKpx.W6FP8o+"==";case HE_34F[bkrVaWy+0x95]:return UTk6a5=!0x0,GoQGKpx.W6FP8o+"="}edbMEN8(bkrVaWy+=0x142,iRV0dL+=-0x87,dkhG1Pm+=-0xef,cZeBkI+=-0x4e);break;case dkhG1Pm- -0x167:edbMEN8(LX2APPg.ag37Naf=LX2APPg.GoQGKpx,bkrVaWy+=-0x57);break;case cZeBkI-0x60:edbMEN8(LX2APPg.ag37Naf=LX2APPg.xiMp9n,bkrVaWy+=-0x4,iRV0dL+=-0xa4,dkhG1Pm+=0x80);break}}edbMEN8(UTk6a5=void 0x0,bkrVaWy=iRV0dL(-0x8e,0x42,-0x8,0x47).next().value);if(UTk6a5){return bkrVaWy}},decompressFromBase64:function(UTk6a5){return HE_34F[0x1]==UTk6a5?"":""==UTk6a5?HE_34F[0x1]:mYypZ5._decompress(UTk6a5.length,HE_34F[0x2],function(mYypZ5){return bkrVaWy(ubYffs,UTk6a5.charAt(mYypZ5))})},compressToUTF16:function(sLUMDqm){return HE_34F[0x1]==sLUMDqm?"":mYypZ5._compress(sLUMDqm,HE_34F[0x11],function(UTk6a5){return UgYNl1(UTk6a5+HE_34F[0x2])})+HE_34F[0xa9]},decompressFromUTF16:function(sLUMDqm){return HE_34F[0x1]==sLUMDqm?"":""==sLUMDqm?HE_34F[0x1]:mYypZ5._decompress(sLUMDqm.length,0x4000,function(UTk6a5){return sLUMDqm.charCodeAt(UTk6a5)-HE_34F[0x2]})},compressToUint8Array:function(iRV0dL){for(var dkhG1Pm=mYypZ5.compress(iRV0dL),cZeBkI=new Uint8Array(HE_3Line truncated
|
||||
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(tLine truncated
|
||||
Reference in new issue
Block a user