-
Notifications
You must be signed in to change notification settings - Fork 11
/
jd_opencard2.js
142 lines (128 loc) · 46.5 KB
/
jd_opencard2.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
/*
10.8~10.18 金秋好物盛典 福利来袭 [gua_opencard42.js]
新增开卡脚本 (脚本已加密
一次性脚本
1.邀请一人20豆
2.开2组(共8张) 成功开1组 获得1次抽奖
抽奖可能获得30京豆
3.关注10豆
4.加购5京豆
(默认不加购 如需加购请设置环境变量[guaopencard_addSku42]为"true"
5.浏览商品1豆/个
第一个账号助力作者 其他依次助力CK1
第一个CK失效会退出脚本
默认脚本不执行
如需执行脚本请设置环境变量
guaopencard42="true"
每个账号之间延迟 100=延迟100秒 0=延迟0秒会使用每3个账号延迟60秒
guaopenwait_All 所有
guaopenwait42="0"
All变量适用
————————————————
入口:[ 10.8~10.18 金秋好物盛典 福利来袭 (https://lzdz1-isv.isvjcloud.com/dingzhi/dz/openCard/activity?activityId=dz20210929skcnurdk34jkkl3dsf4awqw&shareUuid=77df2cb5cc0941219b1d4f0429345957)]
请求太频繁会被黑ip
过10分钟再执行
============Quantumultx===============
[task_local]
#10.8~10.18 金秋好物盛典 福利来袭
47 3 8-18 10 * https://raw.githubusercontent.com/smiek2221/scripts/master/gua_opencard42.js, tag=10.8~10.18 金秋好物盛典 福利来袭, enabled=true
*/
let guaopencard_addSku = "false"
let guaopencard = "true"
let guaopenwait = "30"
const $ = new Env('10.8~10.18 金秋好物盛典 福利来袭');
const jdCookieNode = $.isNode() ? require('./jdCookie.js') : '';
const notify = $.isNode() ? require('./sendNotify') : '';
//IOS等用户直接用NobyDa的jd cookie
var _0xodU='jsjiami.com.v6',_0x5431=[_0xodU,'\x69\x73\x4e\x6f\x64\x65','\x6b\x65\x79\x73','\x66\x6f\x72\x45\x61\x63\x68','\x70\x75\x73\x68','\x65\x6e\x76','\x4a\x44\x5f\x44\x45\x42\x55\x47','\x66\x61\x6c\x73\x65','\x6c\x6f\x67','\x67\x65\x74\x64\x61\x74\x61','\x43\x6f\x6f\x6b\x69\x65\x4a\x44','\x43\x6f\x6f\x6b\x69\x65\x4a\x44\x32','\x43\x6f\x6f\x6b\x69\x65\x73\x4a\x44','\x6d\x61\x70','\x63\x6f\x6f\x6b\x69\x65','\x66\x69\x6c\x74\x65\x72','\x67\x75\x61\x6f\x70\x65\x6e\x63\x61\x72\x64\x5f\x61\x64\x64\x53\x6b\x75\x34\x32','\x67\x75\x61\x6f\x70\x65\x6e\x63\x61\x72\x64\x5f\x61\x64\x64\x53\x6b\x75\x5f\x41\x6c\x6c','\x67\x75\x61\x6f\x70\x65\x6e\x63\x61\x72\x64\x34\x32','\x67\x75\x61\x6f\x70\x65\x6e\x63\x61\x72\x64\x5f\x41\x6c\x6c','\x67\x75\x61\x6f\x70\x65\x6e\x77\x61\x69\x74\x34\x32','\x67\x75\x61\x6f\x70\x65\x6e\x77\x61\x69\x74\x5f\x41\x6c\x6c','\x68\x6f\x74\x46\x6c\x61\x67','\x6f\x75\x74\x46\x6c\x61\x67','\x61\x63\x74\x69\x76\x69\x74\x79\x45\x6e\x64','\x74\x72\x75\x65','\u5982\u9700\u6267\u884c\u811a\u672c\u8bf7\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf\x5b\x67\x75\x61\x6f\x70\x65\x6e\x63\x61\x72\x64\x34\x32\x5d\u4e3a\x22\x74\x72\x75\x65\x22','\x6d\x73\x67','\x6e\x61\x6d\x65','\u3010\u63d0\u793a\u3011\u8bf7\u5148\u83b7\u53d6\x63\x6f\x6f\x6b\x69\x65\x0a\u76f4\u63a5\u4f7f\u7528\x4e\x6f\x62\x79\x44\x61\u7684\u4eac\u4e1c\u7b7e\u5230\u83b7\u53d6','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x62\x65\x61\x6e\x2e\x6d\x2e\x6a\x64\x2e\x63\x6f\x6d\x2f','\x61\x63\x74\x69\x76\x69\x74\x79\x49\x64','\x64\x7a\x32\x30\x32\x31\x30\x39\x32\x39\x73\x6b\x63\x6e\x75\x72\x64\x6b\x33\x34\x6a\x6b\x6b\x6c\x33\x64\x73\x66\x34\x61\x77\x71\x77','\x73\x68\x61\x72\x65\x55\x75\x69\x64','\x37\x37\x64\x66\x32\x63\x62\x35\x63\x63\x30\x39\x34\x31\x32\x31\x39\x62\x31\x64\x34\x66\x30\x34\x32\x39\x33\x34\x35\x39\x35\x37','\u5165\u53e3\x3a\x0a\x68\x74\x74\x70\x73\x3a\x2f\x2f\x6c\x7a\x64\x7a\x31\x2d\x69\x73\x76\x2e\x69\x73\x76\x6a\x63\x6c\x6f\x75\x64\x2e\x63\x6f\x6d\x2f\x64\x69\x6e\x67\x7a\x68\x69\x2f\x64\x7a\x2f\x6f\x70\x65\x6e\x43\x61\x72\x64\x2f\x61\x63\x74\x69\x76\x69\x74\x79\x3f\x61\x63\x74\x69\x76\x69\x74\x79\x49\x64\x3d','\x26\x73\x68\x61\x72\x65\x55\x75\x69\x64\x3d','\x6c\x65\x6e\x67\x74\x68','\x55\x73\x65\x72\x4e\x61\x6d\x65','\x6d\x61\x74\x63\x68','\x69\x6e\x64\x65\x78','\x62\x65\x61\x6e','\x6e\x69\x63\x6b\x4e\x61\x6d\x65','\x0a\x0a\x2a\x2a\x2a\x2a\x2a\x2a\u5f00\u59cb\u3010\u4eac\u4e1c\u8d26\u53f7','\x2a\x2a\x2a\x2a\x2a\x2a\x2a\x2a\x2a\x0a','\x61\x63\x74\x6f\x72\x55\x75\x69\x64','\u6b64\x69\x70\u5df2\u88ab\u9650\u5236\uff0c\u8bf7\u8fc7\x31\x30\u5206\u949f\u540e\u518d\u6267\u884c\u811a\u672c','\x73\x65\x6e\x64\x4e\x6f\x74\x69\x66\x79','\x63\x61\x74\x63\x68','\x6c\x6f\x67\x45\x72\x72','\x66\x69\x6e\x61\x6c\x6c\x79','\x64\x6f\x6e\x65','\x68\x61\x73\x45\x6e\x64','\x65\x6e\x64\x54\x69\x6d\x65','\x54\x6f\x6b\x65\x6e','\x50\x69\x6e','\x69\x73\x76\x4f\x62\x66\x75\x73\x63\x61\x74\x6f\x72','\u83b7\u53d6\x5b\x74\x6f\x6b\x65\x6e\x5d\u5931\u8d25\uff01','\u83b7\u53d6\x63\x6f\x6f\x6b\x69\x65\u5931\u8d25','\u6b64\x69\x70\u5df2\u88ab\u9650\u5236\uff0c\u8bf7\u8fc7\x31\x30\u5206\u949f\u540e\u518d\u6267\u884c\u811a\u672c\x0a','\x67\x65\x74\x53\x69\x6d\x70\x6c\x65\x41\x63\x74\x49\x6e\x66\x6f\x56\x6f','\x67\x65\x74\x4d\x79\x50\x69\x6e\x67','\u83b7\u53d6\x5b\x50\x69\x6e\x5d\u5931\u8d25\uff01','\x61\x63\x63\x65\x73\x73\x4c\x6f\x67\x57\x69\x74\x68\x41\x44','\x67\x65\x74\x55\x73\x65\x72\x49\x6e\x66\x6f','\x61\x63\x74\x69\x76\x69\x74\x79\x43\x6f\x6e\x74\x65\x6e\x74','\u83b7\u53d6\u4e0d\u5230\x5b\x61\x63\x74\x6f\x72\x55\x75\x69\x64\x5d\u9000\u51fa\u6267\u884c\uff0c\u8bf7\u91cd\u65b0\u6267\u884c','\x6e\x6f\x77','\u6d3b\u52a8\u7ed3\u675f','\x64\x72\x61\x77\x43\x6f\x6e\x74\x65\x6e\x74','\x77\x61\x69\x74','\x6f\x70\x65\x6e\x4c\x69\x73\x74','\x61\x6c\x6c\x4f\x70\x65\x6e\x43\x61\x72\x64','\x63\x68\x65\x63\x6b\x4f\x70\x65\x6e\x43\x61\x72\x64','\u5f00\u5361\u4efb\u52a1','\x6f\x70\x65\x6e\x43\x61\x72\x64','\x73\x74\x61\x74\x75\x73','\x6a\x6f\x69\x6e\x56\x65\x6e\x64\x65\x72\x49\x64','\x76\x61\x6c\x75\x65','\x72\x61\x6e\x64\x6f\x6d','\u5df2\u5168\u90e8\u5f00\u5361','\x6f\x70\x65\x6e\x43\x61\x72\x64\x53\x63\x6f\x72\x65\x31','\x73\x74\x61\x72\x74\x44\x72\x61\x77','\x6f\x70\x65\x6e\x43\x61\x72\x64\x53\x63\x6f\x72\x65\x32','\u5173\u6ce8\x3a\x20','\x66\x6f\x6c\x6c\x6f\x77\x53\x68\x6f\x70','\u52a0\u8d2d\x3a\x20','\x61\x64\x64\x53\x6b\x75','\u5982\u9700\u52a0\u8d2d\u8bf7\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf\x5b\x67\x75\x61\x6f\x70\x65\x6e\x63\x61\x72\x64\x5f\x61\x64\x64\x53\x6b\x75\x34\x32\x5d\u4e3a\x22\x74\x72\x75\x65\x22','\x72\x75\x6e\x46\x61\x6c\x61\x67','\u6d4f\u89c8\u5546\u54c1\x3a\x20','\x76\x69\x73\x69\x74\x53\x6b\x75','\x76\x69\x73\x69\x74\x53\x6b\x75\x4c\x69\x73\x74','\x76\x69\x73\x69\x74\x53\x6b\x75\x56\x61\x6c\x75\x65','\x67\x65\x74\x44\x72\x61\x77\x52\x65\x63\x6f\x72\x64\x48\x61\x73\x43\x6f\x75\x70\x6f\x6e','\x67\x65\x74\x53\x68\x61\x72\x65\x52\x65\x63\x6f\x72\x64','\u5f53\u524d\u52a9\u529b\x3a','\u540e\u9762\u7684\u53f7\u90fd\u4f1a\u52a9\u529b\x3a','\u4f11\u606f\x31\u5206\u949f\uff0c\u522b\u88ab\u9ed1\x69\x70\u4e86\x0a\u53ef\u6301\u7eed\u53d1\u5c55','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x6c\x7a\x64\x7a\x31\x2d\x69\x73\x76\x2e\x69\x73\x76\x6a\x63\x6c\x6f\x75\x64\x2e\x63\x6f\x6d','\x50\x4f\x53\x54','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x61\x70\x69\x2e\x6d\x2e\x6a\x64\x2e\x63\x6f\x6d\x2f\x63\x6c\x69\x65\x6e\x74\x2e\x61\x63\x74\x69\x6f\x6e\x3f\x66\x75\x6e\x63\x74\x69\x6f\x6e\x49\x64\x3d\x69\x73\x76\x4f\x62\x66\x75\x73\x63\x61\x74\x6f\x72','\x62\x6f\x64\x79\x3d\x25\x37\x42\x25\x32\x32\x75\x72\x6c\x25\x32\x32\x25\x33\x41\x25\x32\x32\x68\x74\x74\x70\x73\x25\x33\x41\x2f\x2f\x6c\x7a\x64\x7a\x31\x2d\x69\x73\x76\x2e\x69\x73\x76\x6a\x63\x6c\x6f\x75\x64\x2e\x63\x6f\x6d\x25\x32\x32\x25\x32\x43\x25\x32\x32\x69\x64\x25\x32\x32\x25\x33\x41\x25\x32\x32\x25\x32\x32\x25\x37\x44\x26\x75\x75\x69\x64\x3d\x39\x30\x34\x63\x65\x38\x63\x35\x62\x34\x31\x35\x34\x35\x64\x33\x35\x65\x30\x61\x64\x36\x35\x30\x37\x37\x30\x37\x66\x62\x61\x63\x39\x34\x65\x63\x39\x30\x61\x64\x26\x63\x6c\x69\x65\x6e\x74\x3d\x61\x70\x70\x6c\x65\x26\x63\x6c\x69\x65\x6e\x74\x56\x65\x72\x73\x69\x6f\x6e\x3d\x31\x30\x2e\x31\x2e\x34\x26\x73\x74\x3d\x31\x36\x33\x33\x36\x37\x32\x31\x37\x38\x36\x33\x34\x26\x73\x76\x3d\x31\x31\x31\x26\x73\x69\x67\x6e\x3d\x63\x39\x64\x31\x37\x64\x39\x33\x36\x34\x34\x33\x32\x30\x36\x39\x35\x34\x31\x61\x61\x33\x64\x38\x32\x34\x36\x35\x63\x30\x30\x37','\x2f\x64\x7a\x2f\x63\x6f\x6d\x6d\x6f\x6e\x2f\x67\x65\x74\x53\x69\x6d\x70\x6c\x65\x41\x63\x74\x49\x6e\x66\x6f\x56\x6f','\x61\x63\x74\x69\x76\x69\x74\x79\x49\x64\x3d','\x2f\x63\x75\x73\x74\x6f\x6d\x65\x72\x2f\x67\x65\x74\x4d\x79\x50\x69\x6e\x67','\x75\x73\x65\x72\x49\x64\x3d','\x73\x68\x6f\x70\x49\x64','\x76\x65\x6e\x64\x65\x72\x49\x64','\x26\x74\x6f\x6b\x65\x6e\x3d','\x26\x66\x72\x6f\x6d\x54\x79\x70\x65\x3d\x41\x50\x50','\x2f\x63\x6f\x6d\x6d\x6f\x6e\x2f\x61\x63\x63\x65\x73\x73\x4c\x6f\x67\x57\x69\x74\x68\x41\x44','\x2f\x64\x72\x61\x77\x43\x65\x6e\x74\x65\x72\x2f\x61\x63\x74\x69\x76\x69\x74\x79\x3f\x61\x63\x74\x69\x76\x69\x74\x79\x49\x64\x3d','\x76\x65\x6e\x64\x65\x72\x49\x64\x3d','\x26\x63\x6f\x64\x65\x3d\x39\x39\x26\x70\x69\x6e\x3d','\x26\x61\x63\x74\x69\x76\x69\x74\x79\x49\x64\x3d','\x26\x70\x61\x67\x65\x55\x72\x6c\x3d','\x26\x73\x75\x62\x54\x79\x70\x65\x3d\x61\x70\x70\x26\x61\x64\x53\x6f\x75\x72\x63\x65\x3d','\x2f\x77\x78\x41\x63\x74\x69\x6f\x6e\x43\x6f\x6d\x6d\x6f\x6e\x2f\x67\x65\x74\x55\x73\x65\x72\x49\x6e\x66\x6f','\x70\x69\x6e\x3d','\x2f\x64\x69\x6e\x67\x7a\x68\x69\x2f\x64\x7a\x2f\x6f\x70\x65\x6e\x43\x61\x72\x64\x2f\x61\x63\x74\x69\x76\x69\x74\x79\x43\x6f\x6e\x74\x65\x6e\x74','\x26\x70\x69\x6e\x3d','\x26\x70\x69\x6e\x49\x6d\x67\x3d','\x61\x74\x74\x72\x54\x6f\x75\x58\x69\x61\x6e\x67','\x26\x6e\x69\x63\x6b\x3d','\x6e\x69\x63\x6b\x6e\x61\x6d\x65','\x26\x63\x6a\x79\x78\x50\x69\x6e\x3d\x26\x63\x6a\x68\x79\x50\x69\x6e\x3d\x26\x73\x68\x61\x72\x65\x55\x75\x69\x64\x3d','\x2f\x64\x69\x6e\x67\x7a\x68\x69\x2f\x74\x61\x73\x6b\x61\x63\x74\x2f\x6f\x70\x65\x6e\x43\x61\x72\x64\x63\x6f\x6d\x6d\x6f\x6e\x2f\x64\x72\x61\x77\x43\x6f\x6e\x74\x65\x6e\x74','\x2f\x64\x69\x6e\x67\x7a\x68\x69\x2f\x64\x7a\x2f\x6f\x70\x65\x6e\x43\x61\x72\x64\x2f\x63\x68\x65\x63\x6b\x4f\x70\x65\x6e\x43\x61\x72\x64','\x26\x61\x63\x74\x6f\x72\x55\x75\x69\x64\x3d','\x2f\x64\x69\x6e\x67\x7a\x68\x69\x2f\x64\x7a\x2f\x6f\x70\x65\x6e\x43\x61\x72\x64\x2f\x73\x74\x61\x72\x74\x44\x72\x61\x77','\x26\x74\x79\x70\x65\x3d','\x2f\x64\x69\x6e\x67\x7a\x68\x69\x2f\x64\x7a\x2f\x6f\x70\x65\x6e\x43\x61\x72\x64\x2f\x66\x6f\x6c\x6c\x6f\x77\x53\x68\x6f\x70','\x26\x74\x61\x73\x6b\x54\x79\x70\x65\x3d\x32\x33\x26\x74\x61\x73\x6b\x56\x61\x6c\x75\x65\x3d','\x66\x6f\x6c\x6c\x6f\x77\x53\x68\x6f\x70\x56\x61\x6c\x75\x65','\x76\x69\x65\x77\x56\x69\x64\x65\x6f','\x74\x6f\x53\x68\x6f\x70','\x2f\x64\x69\x6e\x67\x7a\x68\x69\x2f\x64\x7a\x2f\x6f\x70\x65\x6e\x43\x61\x72\x64\x2f\x73\x61\x76\x65\x54\x61\x73\x6b','\x74\x6f\x53\x68\x6f\x70\x56\x61\x6c\x75\x65','\x61\x64\x64\x53\x6b\x75\x56\x61\x6c\x75\x65','\x26\x74\x61\x73\x6b\x54\x79\x70\x65\x3d','\x26\x74\x61\x73\x6b\x56\x61\x6c\x75\x65\x3d','\x2f\x64\x69\x6e\x67\x7a\x68\x69\x2f\x74\x61\x73\x6b\x61\x63\x74\x2f\x6f\x70\x65\x6e\x43\x61\x72\x64\x63\x6f\x6d\x6d\x6f\x6e\x2f\x67\x65\x74\x44\x72\x61\x77\x52\x65\x63\x6f\x72\x64\x48\x61\x73\x43\x6f\x75\x70\x6f\x6e','\x2f\x64\x69\x6e\x67\x7a\x68\x69\x2f\x74\x61\x73\x6b\x61\x63\x74\x2f\x6f\x70\x65\x6e\x43\x61\x72\x64\x63\x6f\x6d\x6d\x6f\x6e\x2f\x67\x65\x74\x53\x68\x61\x72\x65\x52\x65\x63\x6f\x72\x64','\x70\x6f\x73\x74','\x73\x74\x61\x74\x75\x73\x43\x6f\x64\x65','\x75\x6e\x64\x65\x66\x69\x6e\x65\x64','\x74\x6f\x53\x74\x72','\x20\x41\x50\x49\u8bf7\u6c42\u5931\u8d25\uff0c\u8bf7\u68c0\u67e5\u7f51\u8def\u91cd\u8bd5','\x70\x61\x72\x73\x65','\x20\u6267\u884c\u4efb\u52a1\u5f02\u5e38','\x6f\x62\x6a\x65\x63\x74','\x65\x72\x72\x63\x6f\x64\x65','\x74\x6f\x6b\x65\x6e','\x6d\x65\x73\x73\x61\x67\x65','\x69\x73\x76\x4f\x62\x66\x75\x73\x63\x61\x74\x6f\x72\x20','\x72\x65\x73\x75\x6c\x74','\x64\x61\x74\x61','\x65\x72\x72\x6f\x72\x4d\x65\x73\x73\x61\x67\x65','\x73\x65\x63\x72\x65\x74\x50\x69\x6e','\x79\x75\x6e\x4d\x69\x64\x49\x6d\x61\x67\x65\x55\x72\x6c','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x69\x6d\x67\x31\x30\x2e\x33\x36\x30\x62\x75\x79\x69\x6d\x67\x2e\x63\x6f\x6d\x2f\x69\x6d\x67\x7a\x6f\x6e\x65\x2f\x6a\x66\x73\x2f\x74\x31\x2f\x37\x30\x32\x30\x2f\x32\x37\x2f\x31\x33\x35\x31\x31\x2f\x36\x31\x34\x32\x2f\x35\x63\x35\x31\x33\x38\x64\x38\x45\x34\x64\x66\x32\x65\x37\x36\x34\x2f\x35\x61\x31\x32\x31\x36\x61\x33\x61\x35\x30\x34\x33\x63\x35\x64\x2e\x70\x6e\x67','\x61\x6c\x6c\x53\x74\x61\x74\x75\x73','\x73\x65\x74\x74\x69\x6e\x67\x73','\x63\x61\x72\x64\x4c\x69\x73\x74\x31','\x63\x61\x72\x64\x4c\x69\x73\x74\x32','\x63\x61\x72\x64\x4c\x69\x73\x74','\x73\x63\x6f\x72\x65\x31','\x73\x63\x6f\x72\x65\x32','\x64\x72\x61\x77\x53\x63\x6f\x72\x65','\x61\x64\x64\x42\x65\x61\x6e\x4e\x75\x6d','\x73\x65\x6e\x64\x53\x74\x61\x74\x75\x73','\x62\x65\x61\x6e\x4e\x75\x6d\x4d\x65\x6d\x62\x65\x72','\x61\x73\x73\x69\x73\x74\x53\x65\x6e\x64\x53\x74\x61\x74\x75\x73','\x20\u989d\u5916\u83b7\u5f97\x3a','\u70ed\u95e8\u6587\u7ae0','\u6d4f\u89c8\u5e97\u94fa','\u6d4f\u89c8\u5546\u54c1','\x64\x72\x61\x77\x4f\x6b','\x64\x72\x61\x77\x49\x6e\x66\x6f\x54\x79\x70\x65','\u7a7a\u6c14\ud83d\udca8','\u83b7\u5f97\x3a','\u6211\u7684\u5956\u54c1\uff1a','\u9080\u8bf7\u597d\u53cb','\x69\x6e\x66\x6f\x4e\x61\x6d\x65','\x72\x65\x70\x6c\x61\x63\x65','\x69\x6e\x66\x6f\x54\x79\x70\x65','\u9080\u8bf7\u597d\u53cb\x28','\x53\x68\x61\x72\x65\x43\x6f\x75\x6e\x74','\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x20\u4f60\u9080\u8bf7\u4e86\x3a','\x2d\x3e\x20','\x69\x6e\x64\x65\x78\x4f\x66','\x61\x70\x70\x6c\x69\x63\x61\x74\x69\x6f\x6e\x2f\x6a\x73\x6f\x6e','\x67\x7a\x69\x70\x2c\x20\x64\x65\x66\x6c\x61\x74\x65\x2c\x20\x62\x72','\x7a\x68\x2d\x63\x6e','\x6b\x65\x65\x70\x2d\x61\x6c\x69\x76\x65','\x61\x70\x70\x6c\x69\x63\x61\x74\x69\x6f\x6e\x2f\x78\x2d\x77\x77\x77\x2d\x66\x6f\x72\x6d\x2d\x75\x72\x6c\x65\x6e\x63\x6f\x64\x65\x64','\x58\x4d\x4c\x48\x74\x74\x70\x52\x65\x71\x75\x65\x73\x74','\x52\x65\x66\x65\x72\x65\x72','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x6c\x7a\x64\x7a\x31\x2d\x69\x73\x76\x2e\x69\x73\x76\x6a\x63\x6c\x6f\x75\x64\x2e\x63\x6f\x6d\x2f\x64\x69\x6e\x67\x7a\x68\x69\x2f\x64\x7a\x2f\x6f\x70\x65\x6e\x43\x61\x72\x64\x2f\x61\x63\x74\x69\x76\x69\x74\x79\x3f\x61\x63\x74\x69\x76\x69\x74\x79\x49\x64\x3d','\x43\x6f\x6f\x6b\x69\x65','\x41\x55\x54\x48\x5f\x43\x5f\x55\x53\x45\x52\x3d','\x67\x65\x74','\x20\x63\x6f\x6f\x6b\x69\x65\x20\x41\x50\x49\u8bf7\u6c42\u5931\u8d25\uff0c\u8bf7\u68c0\u67e5\u7f51\u8def\u91cd\u8bd5','\x68\x65\x61\x64\x65\x72\x73','\x73\x65\x74\x2d\x63\x6f\x6f\x6b\x69\x65','\x53\x65\x74\x2d\x43\x6f\x6f\x6b\x69\x65','\x73\x70\x6c\x69\x74','\x74\x72\x69\x6d','\x4c\x5a\x5f\x54\x4f\x4b\x45\x4e\x5f\x4b\x45\x59\x3d','\x4c\x5a\x5f\x54\x4f\x4b\x45\x4e\x5f\x56\x41\x4c\x55\x45\x3d','\x6c\x7a\x5f\x6a\x64\x70\x69\x6e\x5f\x74\x6f\x6b\x65\x6e\x3d','\x6a\x64\x61\x70\x70\x3b\x69\x50\x68\x6f\x6e\x65\x3b\x31\x30\x2e\x31\x2e\x34\x3b\x31\x33\x2e\x31\x2e\x32\x3b','\x3b\x6e\x65\x74\x77\x6f\x72\x6b\x2f\x77\x69\x66\x69\x3b\x6d\x6f\x64\x65\x6c\x2f\x69\x50\x68\x6f\x6e\x65\x38\x2c\x31\x3b\x61\x64\x64\x72\x65\x73\x73\x69\x64\x2f\x32\x33\x30\x38\x34\x36\x30\x36\x31\x31\x3b\x61\x70\x70\x42\x75\x69\x6c\x64\x2f\x31\x36\x37\x38\x31\x34\x3b\x6a\x64\x53\x75\x70\x70\x6f\x72\x74\x44\x61\x72\x6b\x4d\x6f\x64\x65\x2f\x30\x3b\x4d\x6f\x7a\x69\x6c\x6c\x61\x2f\x35\x2e\x30\x20\x28\x69\x50\x68\x6f\x6e\x65\x3b\x20\x43\x50\x55\x20\x69\x50\x68\x6f\x6e\x65\x20\x4f\x53\x20\x31\x33\x5f\x31\x5f\x32\x20\x6c\x69\x6b\x65\x20\x4d\x61\x63\x20\x4f\x53\x20\x58\x29\x20\x41\x70\x70\x6c\x65\x57\x65\x62\x4b\x69\x74\x2f\x36\x30\x35\x2e\x31\x2e\x31\x35\x20\x28\x4b\x48\x54\x4d\x4c\x2c\x20\x6c\x69\x6b\x65\x20\x47\x65\x63\x6b\x6f\x29\x20\x4d\x6f\x62\x69\x6c\x65\x2f\x31\x35\x45\x31\x34\x38\x3b\x73\x75\x70\x70\x6f\x72\x74\x4a\x44\x53\x48\x57\x4b\x2f\x31','\x61\x62\x63\x64\x65\x66\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39','\x63\x68\x61\x72\x41\x74','\x66\x6c\x6f\x6f\x72','\x58\x46\x6a\x73\x48\x54\x4d\x6a\x69\x61\x6d\x69\x4c\x66\x2e\x4f\x63\x6f\x6d\x7a\x48\x51\x2e\x6e\x76\x43\x43\x36\x57\x58\x3d\x3d'];var _0x4caf=function(_0x18db21,_0x59e7d8){_0x18db21=~~'0x'['concat'](_0x18db21);var _0x2fae69=_0x5431[_0x18db21];return _0x2fae69};(function(_0x3cb81d,_0x1d5fcf){var _0x1a8dd2=0x0;for(_0x1d5fcf=_0x3cb81d['shift'](_0x1a8dd2>>0x2);_0x1d5fcf&&_0x1d5fcf!==(_0x3cb81d['pop'](_0x1a8dd2>>0x3)+'')['replace'](/[XFHTMLfOzHQnCCWX=]/g,'');_0x1a8dd2++){_0x1a8dd2=_0x1a8dd2^0xad378}}(_0x5431,_0x4caf));let cookiesArr=[],cookie='';if($[_0x4caf('0')]()){Object[_0x4caf('1')](jdCookieNode)[_0x4caf('2')](_0x5733c7=>{cookiesArr[_0x4caf('3')](jdCookieNode[_0x5733c7])});if(process[_0x4caf('4')][_0x4caf('5')]&&process[_0x4caf('4')][_0x4caf('5')]===_0x4caf('6'))console[_0x4caf('7')]=()=>{}}else{cookiesArr=[$[_0x4caf('8')](_0x4caf('9')),$[_0x4caf('8')](_0x4caf('a')),...jsonParse($[_0x4caf('8')](_0x4caf('b'))||'\x5b\x5d')[_0x4caf('c')](_0x10d510=>_0x10d510[_0x4caf('d')])][_0x4caf('e')](_0x544c53=>!!_0x544c53)}guaopencard_addSku=$[_0x4caf('0')]()?process[_0x4caf('4')][_0x4caf('f')]?process[_0x4caf('4')][_0x4caf('f')]:''+guaopencard_addSku:$[_0x4caf('8')](_0x4caf('f'))?$[_0x4caf('8')](_0x4caf('f')):''+guaopencard_addSku;guaopencard_addSku=$[_0x4caf('0')]()?process[_0x4caf('4')][_0x4caf('10')]?process[_0x4caf('4')][_0x4caf('10')]:''+guaopencard_addSku:$[_0x4caf('8')](_0x4caf('10'))?$[_0x4caf('8')](_0x4caf('10')):''+guaopencard_addSku;guaopencard=$[_0x4caf('0')]()?process[_0x4caf('4')][_0x4caf('11')]?process[_0x4caf('4')][_0x4caf('11')]:''+guaopencard:$[_0x4caf('8')](_0x4caf('11'))?$[_0x4caf('8')](_0x4caf('11')):''+guaopencard;guaopencard=$[_0x4caf('0')]()?process[_0x4caf('4')][_0x4caf('12')]?process[_0x4caf('4')][_0x4caf('12')]:''+guaopencard:$[_0x4caf('8')](_0x4caf('12'))?$[_0x4caf('8')](_0x4caf('12')):''+guaopencard;guaopenwait=$[_0x4caf('0')]()?process[_0x4caf('4')][_0x4caf('13')]?process[_0x4caf('4')][_0x4caf('13')]:''+guaopenwait:$[_0x4caf('8')](_0x4caf('13'))?$[_0x4caf('8')](_0x4caf('13')):''+guaopenwait;guaopenwait=$[_0x4caf('0')]()?process[_0x4caf('4')][_0x4caf('14')]?process[_0x4caf('4')][_0x4caf('14')]:''+guaopenwait:$[_0x4caf('8')](_0x4caf('14'))?$[_0x4caf('8')](_0x4caf('14')):''+guaopenwait;guaopenwait=parseInt(guaopenwait,0xa)||0x0;allMessage='';message='';$[_0x4caf('15')]=![];$[_0x4caf('16')]=![];$[_0x4caf('17')]=![];let lz_jdpin_token_cookie='';let activityCookie='';!(async()=>{if(!cookiesArr[0x0]){$[_0x4caf('1a')]($[_0x4caf('1b')],_0x4caf('1c'),_0x4caf('1d'),{'open-url':_0x4caf('1d')});return}$[_0x4caf('1e')]=_0x4caf('1f');$[_0x4caf('20')]=['864a5e15efaf48f8b7112e5fd5dfacb3','d7adb82e857c463ba7e1e527e23764df','8eee1358fcf841e39c7020aa22a5d429'][Math.floor(Math.random()*3)];console[_0x4caf('7')](_0x4caf('22')+$[_0x4caf('1e')]+_0x4caf('23')+$[_0x4caf('20')]);for(let _0x24140f=0x0;_0x24140f<cookiesArr[_0x4caf('24')];_0x24140f++){cookie=cookiesArr[_0x24140f];if(cookie){$[_0x4caf('25')]=decodeURIComponent(cookie[_0x4caf('26')](/pt_pin=([^; ]+)(?=;?)/)&&cookie[_0x4caf('26')](/pt_pin=([^; ]+)(?=;?)/)[0x1]);$[_0x4caf('27')]=_0x24140f+0x1;message='';$[_0x4caf('28')]=0x0;$[_0x4caf('15')]=![];$[_0x4caf('29')]='';console[_0x4caf('7')](_0x4caf('2a')+$[_0x4caf('27')]+'\u3011'+($[_0x4caf('29')]||$[_0x4caf('25')])+_0x4caf('2b'));await getUA();await run()}}})()[_0x4caf('2f')](_0x3c8e00=>$[_0x4caf('30')](_0x3c8e00))[_0x4caf('31')](()=>$[_0x4caf('32')]());async function run(){try{$[_0x4caf('33')]=!![];$[_0x4caf('34')]=0x0;lz_jdpin_token_cookie='';$[_0x4caf('35')]='';$[_0x4caf('36')]='';let _0xf659a=![];await takePostRequest(_0x4caf('37'));if($[_0x4caf('35')]==''){console[_0x4caf('7')](_0x4caf('38'));return}await getCk();if(activityCookie==''){console[_0x4caf('7')](_0x4caf('39'));return}if($[_0x4caf('16')]){console[_0x4caf('7')](_0x4caf('3a'));return}await takePostRequest(_0x4caf('3b'));await takePostRequest(_0x4caf('3c'));if(!$[_0x4caf('36')]){console[_0x4caf('7')](_0x4caf('3d'));return}await takePostRequest(_0x4caf('3e'));await takePostRequest(_0x4caf('3f'));await takePostRequest(_0x4caf('40'));if(!$[_0x4caf('2c')]){console[_0x4caf('7')](_0x4caf('41'));return}if($[_0x4caf('33')]===!![]||Date[_0x4caf('42')]()>$[_0x4caf('34')]){$[_0x4caf('17')]=!![];console[_0x4caf('7')](_0x4caf('43'));return}await takePostRequest(_0x4caf('44'));await $[_0x4caf('45')](0x3e8);$[_0x4caf('46')]=[];$[_0x4caf('47')]=![];await takePostRequest(_0x4caf('48'));if($[_0x4caf('47')]==![]){console[_0x4caf('7')](_0x4caf('49'));for(o of $[_0x4caf('46')]){$[_0x4caf('4a')]=![];if(o[_0x4caf('4b')]==0x0){_0xf659a=!![];$[_0x4caf('4c')]=o[_0x4caf('4d')];await $[_0x4caf('45')](parseInt(Math[_0x4caf('4e')]()*0xbb8+0xbb8,0xa));await joinShop();await $[_0x4caf('45')](parseInt(Math[_0x4caf('4e')]()*0x3e8+0x3e8,0xa));await takePostRequest(_0x4caf('44'));await takePostRequest(_0x4caf('48'));await $[_0x4caf('45')](parseInt(Math[_0x4caf('4e')]()*0xbb8+0x7d0,0xa))}}await getCk();await takePostRequest(_0x4caf('40'))}else{console[_0x4caf('7')](_0x4caf('4f'))}if($[_0x4caf('50')]==0x1&&!$[_0x4caf('16')]){$[_0x4caf('51')]=0x1;_0xf659a=!![];await takePostRequest(_0x4caf('51'));await $[_0x4caf('45')](parseInt(Math[_0x4caf('4e')]()*0x3e8+0xbb8,0xa))}if($[_0x4caf('52')]==0x1&&!$[_0x4caf('16')]){$[_0x4caf('51')]=0x2;_0xf659a=!![];await takePostRequest(_0x4caf('51'));await $[_0x4caf('45')](parseInt(Math[_0x4caf('4e')]()*0x3e8+0xbb8,0xa))}$[_0x4caf('7')](_0x4caf('53')+$[_0x4caf('54')]);if(!$[_0x4caf('54')]&&!$[_0x4caf('16')]){_0xf659a=!![];await takePostRequest(_0x4caf('54'));await $[_0x4caf('45')](parseInt(Math[_0x4caf('4e')]()*0x3e8+0x1388,0xa))}$[_0x4caf('7')](_0x4caf('55')+$[_0x4caf('56')]);if(!$[_0x4caf('56')]&&!$[_0x4caf('16')]){if(guaopencard_addSku+''==_0x4caf('18')){_0xf659a=!![];await takePostRequest(_0x4caf('56'));await $[_0x4caf('45')](parseInt(Math[_0x4caf('4e')]()*0x3e8+0x1388,0xa))}else{console[_0x4caf('7')](_0x4caf('57'))}}$[_0x4caf('58')]=!![];$[_0x4caf('7')](_0x4caf('59')+$[_0x4caf('5a')]);if(!$[_0x4caf('5a')]&&!$[_0x4caf('16')]){_0xf659a=!![];for(let _0x5eeb77 of $[_0x4caf('5b')]||[]){if($[_0x4caf('58')]==![])break;if(_0x5eeb77[_0x4caf('4d')]&&_0x5eeb77[_0x4caf('4b')]===0x0){$[_0x4caf('5c')]=_0x5eeb77[_0x4caf('4d')];await takePostRequest(_0x4caf('5a'));await $[_0x4caf('45')](parseInt(Math[_0x4caf('4e')]()*0xbb8+0xbb8,0xa))}}}if(_0xf659a){await takePostRequest(_0x4caf('40'))}await $[_0x4caf('45')](parseInt(Math[_0x4caf('4e')]()*0x3e8+0x7d0,0xa));await takePostRequest(_0x4caf('5d'));await takePostRequest(_0x4caf('5e'));if($[_0x4caf('16')]){console[_0x4caf('7')](_0x4caf('3a'));return}await $[_0x4caf('45')](parseInt(Math[_0x4caf('4e')]()*0x3e8+0x1388,0xa));if(_0xf659a)await $[_0x4caf('45')](parseInt(Math[_0x4caf('4e')]()*0x3e8+0x2710,0xa));if(guaopenwait){if($[_0x4caf('27')]!=cookiesArr[_0x4caf('24')]){console[_0x4caf('7')]('\u7b49\u5f85'+guaopenwait+'\u79d2');await $[_0x4caf('45')](parseInt(guaopenwait,0xa)*0x3e8)}}else{if($[_0x4caf('27')]%0x3==0x0)console[_0x4caf('7')](_0x4caf('61'));if($[_0x4caf('27')]%0x3==0x0)await $[_0x4caf('45')](parseInt(Math[_0x4caf('4e')]()*0x1388+0xea60,0xa))}}catch(_0x1f2639){console[_0x4caf('7')](_0x1f2639)}}async function takePostRequest(_0x27843c){if($[_0x4caf('16')])return;let _0x394b7c=_0x4caf('62');let _0x55818a='';let _0x201309=_0x4caf('63');let _0x39faed='';switch(_0x27843c){case _0x4caf('37'):_0x394b7c=_0x4caf('64');_0x55818a=_0x4caf('65');break;case _0x4caf('3b'):_0x394b7c=_0x394b7c+_0x4caf('66');_0x55818a=_0x4caf('67')+$[_0x4caf('1e')];break;case _0x4caf('3c'):_0x394b7c=_0x394b7c+_0x4caf('68');_0x55818a=_0x4caf('69')+($[_0x4caf('6a')]||$[_0x4caf('6b')]||'')+_0x4caf('6c')+$[_0x4caf('35')]+_0x4caf('6d');break;case _0x4caf('3e'):_0x394b7c=_0x394b7c+_0x4caf('6e');let _0x5c435c=_0x394b7c+_0x4caf('6f')+$[_0x4caf('1e')]+_0x4caf('23')+$[_0x4caf('20')];_0x55818a=_0x4caf('70')+($[_0x4caf('6a')]||$[_0x4caf('6b')]||'')+_0x4caf('71')+encodeURIComponent($[_0x4caf('36')])+_0x4caf('72')+$[_0x4caf('1e')]+_0x4caf('73')+encodeURIComponent(_0x5c435c)+_0x4caf('74');break;case _0x4caf('3f'):_0x394b7c=_0x394b7c+_0x4caf('75');_0x55818a=_0x4caf('76')+encodeURIComponent($[_0x4caf('36')]);break;case _0x4caf('40'):_0x394b7c=_0x394b7c+_0x4caf('77');_0x55818a=_0x4caf('67')+$[_0x4caf('1e')]+_0x4caf('78')+encodeURIComponent($[_0x4caf('36')])+_0x4caf('79')+encodeURIComponent($[_0x4caf('7a')])+_0x4caf('7b')+encodeURIComponent($[_0x4caf('7c')])+_0x4caf('7d')+$[_0x4caf('20')];break;case _0x4caf('44'):_0x394b7c=_0x394b7c+_0x4caf('7e');_0x55818a=_0x4caf('67')+$[_0x4caf('1e')]+_0x4caf('78')+encodeURIComponent($[_0x4caf('36')]);break;case _0x4caf('48'):_0x394b7c=_0x394b7c+_0x4caf('7f');_0x55818a=_0x4caf('67')+$[_0x4caf('1e')]+_0x4caf('78')+encodeURIComponent($[_0x4caf('36')])+_0x4caf('80')+$[_0x4caf('2c')]+_0x4caf('23')+$[_0x4caf('20')];break;case _0x4caf('51'):_0x394b7c=_0x394b7c+_0x4caf('81');_0x55818a=_0x4caf('67')+$[_0x4caf('1e')]+_0x4caf('80')+$[_0x4caf('2c')]+_0x4caf('78')+encodeURIComponent($[_0x4caf('36')])+($[_0x4caf('51')]&&_0x4caf('82')+$[_0x4caf('51')]||'');break;case _0x4caf('54'):_0x394b7c=_0x394b7c+_0x4caf('83');_0x55818a=_0x4caf('67')+$[_0x4caf('1e')]+_0x4caf('78')+encodeURIComponent($[_0x4caf('36')])+_0x4caf('80')+$[_0x4caf('2c')]+_0x4caf('23')+$[_0x4caf('20')]+_0x4caf('84')+$[_0x4caf('85')];break;case _0x4caf('86'):case _0x4caf('5a'):case _0x4caf('87'):case _0x4caf('56'):_0x394b7c=_0x394b7c+_0x4caf('88');let _0x221a94='';let _0x374dcf='';if(_0x27843c==_0x4caf('86')){_0x221a94=0x1f;_0x374dcf=0x1f}else if(_0x27843c==_0x4caf('5a')){_0x221a94=0x5;_0x374dcf=$[_0x4caf('5c')]||0x5}else if(_0x27843c==_0x4caf('87')){_0x221a94=0xe;_0x374dcf=$[_0x4caf('89')]||0xe}else if(_0x27843c==_0x4caf('56')){_0x221a94=0x2;_0x374dcf=$[_0x4caf('8a')]||0x2}_0x55818a=_0x4caf('67')+$[_0x4caf('1e')]+_0x4caf('78')+encodeURIComponent($[_0x4caf('36')])+_0x4caf('80')+$[_0x4caf('2c')]+_0x4caf('8b')+_0x221a94+_0x4caf('8c')+_0x374dcf;break;case _0x4caf('5d'):_0x394b7c=_0x394b7c+_0x4caf('8d');_0x55818a=_0x4caf('67')+$[_0x4caf('1e')]+_0x4caf('78')+encodeURIComponent($[_0x4caf('36')])+_0x4caf('80')+$[_0x4caf('2c')];break;case _0x4caf('5e'):_0x394b7c=_0x394b7c+_0x4caf('8e');_0x55818a=_0x4caf('67')+$[_0x4caf('1e')]+_0x4caf('78')+encodeURIComponent($[_0x4caf('36')])+_0x4caf('80')+$[_0x4caf('2c')];break;default:console[_0x4caf('7')]('\u9519\u8bef'+_0x27843c)}let _0x1d8a9c=getPostRequest(_0x394b7c,_0x55818a,_0x201309);return new Promise(async _0x336fdb=>{$[_0x4caf('8f')](_0x1d8a9c,(_0x66c056,_0x4023ea,_0xa2809)=>{try{setActivityCookie(_0x4023ea);if(_0x66c056){if(_0x4023ea&&typeof _0x4023ea[_0x4caf('90')]!=_0x4caf('91')){if(_0x4023ea[_0x4caf('90')]==0x1ed){console[_0x4caf('7')](_0x4caf('3a'));$[_0x4caf('16')]=!![]}}console[_0x4caf('7')](''+$[_0x4caf('92')](_0x66c056,_0x66c056));console[_0x4caf('7')](_0x27843c+_0x4caf('93'))}else{dealReturn(_0x27843c,_0xa2809)}}catch(_0x19543d){console[_0x4caf('7')](_0x19543d,_0x4023ea)}finally{_0x336fdb()}})})}async function dealReturn(_0x1a4cf0,_0x24f0e5){let _0x45f605='';try{if(_0x1a4cf0!=_0x4caf('3e')||_0x1a4cf0!=_0x4caf('44')){if(_0x24f0e5){_0x45f605=JSON[_0x4caf('94')](_0x24f0e5)}}}catch(_0x322622){console[_0x4caf('7')](_0x1a4cf0+_0x4caf('95'));console[_0x4caf('7')](_0x24f0e5);$[_0x4caf('58')]=![]}try{switch(_0x1a4cf0){case _0x4caf('37'):if(typeof _0x45f605==_0x4caf('96')){if(_0x45f605[_0x4caf('97')]==0x0){if(typeof _0x45f605[_0x4caf('98')]!=_0x4caf('91'))$[_0x4caf('35')]=_0x45f605[_0x4caf('98')]}else if(_0x45f605[_0x4caf('99')]){console[_0x4caf('7')](_0x4caf('9a')+(_0x45f605[_0x4caf('99')]||''))}else{console[_0x4caf('7')](_0x24f0e5)}}else{console[_0x4caf('7')](_0x24f0e5)}break;case _0x4caf('3b'):if(typeof _0x45f605==_0x4caf('96')){if(_0x45f605[_0x4caf('9b')]&&_0x45f605[_0x4caf('9b')]===!![]){if(typeof _0x45f605[_0x4caf('9c')][_0x4caf('6a')]!=_0x4caf('91'))$[_0x4caf('6a')]=_0x45f605[_0x4caf('9c')][_0x4caf('6a')];if(typeof _0x45f605[_0x4caf('9c')][_0x4caf('6b')]!=_0x4caf('91'))$[_0x4caf('6b')]=_0x45f605[_0x4caf('9c')][_0x4caf('6b')]}else if(_0x45f605[_0x4caf('9d')]){console[_0x4caf('7')](_0x1a4cf0+'\x20'+(_0x45f605[_0x4caf('9d')]||''))}else{console[_0x4caf('7')](_0x1a4cf0+'\x20'+_0x24f0e5)}}else{console[_0x4caf('7')](_0x1a4cf0+'\x20'+_0x24f0e5)}break;case _0x4caf('3c'):if(typeof _0x45f605==_0x4caf('96')){if(_0x45f605[_0x4caf('9b')]&&_0x45f605[_0x4caf('9b')]===!![]){if(_0x45f605[_0x4caf('9c')]&&typeof _0x45f605[_0x4caf('9c')][_0x4caf('9e')]!=_0x4caf('91'))$[_0x4caf('36')]=_0x45f605[_0x4caf('9c')][_0x4caf('9e')];if(_0x45f605[_0x4caf('9c')]&&typeof _0x45f605[_0x4caf('9c')][_0x4caf('7c')]!=_0x4caf('91'))$[_0x4caf('7c')]=_0x45f605[_0x4caf('9c')][_0x4caf('7c')]}else if(_0x45f605[_0x4caf('9d')]){console[_0x4caf('7')](_0x1a4cf0+'\x20'+(_0x45f605[_0x4caf('9d')]||''))}else{console[_0x4caf('7')](_0x1a4cf0+'\x20'+_0x24f0e5)}}else{console[_0x4caf('7')](_0x1a4cf0+'\x20'+_0x24f0e5)}break;case _0x4caf('3f'):if(typeof _0x45f605==_0x4caf('96')){if(_0x45f605[_0x4caf('9b')]&&_0x45f605[_0x4caf('9b')]===!![]){if(_0x45f605[_0x4caf('9c')]&&typeof _0x45f605[_0x4caf('9c')][_0x4caf('9f')]!=_0x4caf('91'))$[_0x4caf('7a')]=_0x45f605[_0x4caf('9c')][_0x4caf('9f')]||_0x4caf('a0')}else if(_0x45f605[_0x4caf('9d')]){console[_0x4caf('7')](_0x1a4cf0+'\x20'+(_0x45f605[_0x4caf('9d')]||''))}else{console[_0x4caf('7')](_0x1a4cf0+'\x20'+_0x24f0e5)}}else{console[_0x4caf('7')](_0x1a4cf0+'\x20'+_0x24f0e5)}break;case _0x4caf('40'):if(typeof _0x45f605==_0x4caf('96')){if(_0x45f605[_0x4caf('9b')]&&_0x45f605[_0x4caf('9b')]===!![]){$[_0x4caf('34')]=_0x45f605[_0x4caf('9c')][_0x4caf('34')]||0x0;$[_0x4caf('33')]=_0x45f605[_0x4caf('9c')][_0x4caf('33')]||![];$[_0x4caf('2c')]=_0x45f605[_0x4caf('9c')][_0x4caf('2c')]||'';$[_0x4caf('54')]=_0x45f605[_0x4caf('9c')][_0x4caf('54')][_0x4caf('a1')]||![];$[_0x4caf('56')]=_0x45f605[_0x4caf('9c')][_0x4caf('56')][_0x4caf('a1')]||![];if(_0x45f605[_0x4caf('9c')][_0x4caf('54')]&&_0x45f605[_0x4caf('9c')][_0x4caf('54')][_0x4caf('a2')]&&_0x45f605[_0x4caf('9c')][_0x4caf('54')][_0x4caf('a2')][0x0]){$[_0x4caf('85')]=_0x45f605[_0x4caf('9c')][_0x4caf('54')][_0x4caf('a2')][0x0][_0x4caf('4d')]||0x1}if(_0x45f605[_0x4caf('9c')][_0x4caf('56')]&&_0x45f605[_0x4caf('9c')][_0x4caf('56')][_0x4caf('a2')]&&_0x45f605[_0x4caf('9c')][_0x4caf('56')][_0x4caf('a2')][0x0]){$[_0x4caf('8a')]=_0x45f605[_0x4caf('9c')][_0x4caf('56')][_0x4caf('a2')][0x0][_0x4caf('4d')]||0x2}$[_0x4caf('5a')]=_0x45f605[_0x4caf('9c')][_0x4caf('5a')][_0x4caf('a1')]||![];$[_0x4caf('5b')]=_0x45f605[_0x4caf('9c')][_0x4caf('5a')][_0x4caf('a2')]||[]}else if(_0x45f605[_0x4caf('9d')]){console[_0x4caf('7')](_0x1a4cf0+'\x20'+(_0x45f605[_0x4caf('9d')]||''))}else{console[_0x4caf('7')](_0x1a4cf0+'\x20'+_0x24f0e5)}}else{console[_0x4caf('7')](_0x1a4cf0+'\x20'+_0x24f0e5)}break;case _0x4caf('48'):if(typeof _0x45f605==_0x4caf('96')){if(_0x45f605[_0x4caf('9b')]&&_0x45f605[_0x4caf('9b')]===!![]){let _0x25ffc4=_0x45f605[_0x4caf('9c')][_0x4caf('a3')]||[];let _0xb88c0f=_0x45f605[_0x4caf('9c')][_0x4caf('a4')]||[];let _0x5e0f53=_0x45f605[_0x4caf('9c')][_0x4caf('a5')]||[];$[_0x4caf('46')]=[..._0x5e0f53,..._0x25ffc4,..._0xb88c0f];$[_0x4caf('47')]=_0x45f605[_0x4caf('9c')][_0x4caf('47')]||![];$[_0x4caf('50')]=_0x45f605[_0x4caf('9c')][_0x4caf('a6')]||0x0;$[_0x4caf('52')]=_0x45f605[_0x4caf('9c')][_0x4caf('a7')]||0x0;$[_0x4caf('a8')]=_0x45f605[_0x4caf('9c')][_0x4caf('a8')]||0x0}else if(_0x45f605[_0x4caf('9d')]){console[_0x4caf('7')](_0x1a4cf0+'\x20'+(_0x45f605[_0x4caf('9d')]||''))}else{console[_0x4caf('7')](_0x1a4cf0+'\x20'+_0x24f0e5)}}else{console[_0x4caf('7')](_0x1a4cf0+'\x20'+_0x24f0e5)}break;case _0x4caf('51'):case _0x4caf('54'):case _0x4caf('86'):case _0x4caf('5a'):case _0x4caf('87'):case _0x4caf('56'):if(typeof _0x45f605==_0x4caf('96')){if(_0x45f605[_0x4caf('9b')]&&_0x45f605[_0x4caf('9b')]===!![]){if(typeof _0x45f605[_0x4caf('9c')]==_0x4caf('96')){let _0x5785be='';let _0x402d0c='\u62bd\u5956';if(_0x45f605[_0x4caf('9c')][_0x4caf('a9')]&&_0x45f605[_0x4caf('9c')][_0x4caf('aa')]){_0x5785be=_0x45f605[_0x4caf('9c')][_0x4caf('a9')]+'\u4eac\u8c46'}if(_0x1a4cf0==_0x4caf('54')){_0x402d0c='\u5173\u6ce8';if(_0x45f605[_0x4caf('9c')][_0x4caf('ab')]&&_0x45f605[_0x4caf('9c')][_0x4caf('ac')]){_0x5785be+=_0x4caf('ad')+_0x45f605[_0x4caf('9c')][_0x4caf('ab')]+'\u4eac\u8c46'}}else if(_0x1a4cf0==_0x4caf('56')){_0x402d0c='\u52a0\u8d2d'}else if(_0x1a4cf0==_0x4caf('86')){_0x402d0c=_0x4caf('ae')}else if(_0x1a4cf0==_0x4caf('87')){_0x402d0c=_0x4caf('af')}else if(_0x1a4cf0==_0x4caf('5a')){_0x402d0c=_0x4caf('b0')}else{_0x5785be=_0x45f605[_0x4caf('9c')][_0x4caf('b1')]==!![]&&(_0x45f605[_0x4caf('9c')][_0x4caf('b2')]==0x6&&_0x45f605[_0x4caf('9c')][_0x4caf('1b')]||'')||_0x4caf('b3')}if(!_0x5785be){_0x5785be=_0x4caf('b3')}console[_0x4caf('7')](_0x402d0c+_0x4caf('b4')+(_0x5785be||_0x24f0e5))}else{console[_0x4caf('7')](_0x1a4cf0+'\x20'+_0x24f0e5)}}else if(_0x45f605[_0x4caf('9d')]){$[_0x4caf('58')]=![];console[_0x4caf('7')](_0x1a4cf0+'\x20'+(_0x45f605[_0x4caf('9d')]||''))}else{console[_0x4caf('7')](_0x1a4cf0+'\x20'+_0x24f0e5)}}else{console[_0x4caf('7')](_0x1a4cf0+'\x20'+_0x24f0e5)}break;case _0x4caf('5d'):if(typeof _0x45f605==_0x4caf('96')){if(_0x45f605[_0x4caf('9b')]&&_0x45f605[_0x4caf('9b')]===!![]){console[_0x4caf('7')](_0x4caf('b5'));let _0x426489=0x0;let _0x3eaa52=0x0;for(let _0xc96337 in _0x45f605[_0x4caf('9c')]){let _0x4c5054=_0x45f605[_0x4caf('9c')][_0xc96337];if(_0x4c5054[_0x4caf('4d')]==_0x4caf('b6'))_0x426489++;if(_0x4c5054[_0x4caf('4d')]==_0x4caf('b6'))_0x3eaa52=_0x4c5054[_0x4caf('b7')][_0x4caf('b8')]('\u4eac\u8c46','');if(_0x4c5054[_0x4caf('4d')]!=_0x4caf('b6'))console[_0x4caf('7')](''+(_0x4c5054[_0x4caf('b9')]!=0xa&&_0x4c5054[_0x4caf('4d')]+'\x3a'||'')+_0x4c5054[_0x4caf('b7')])}if(_0x426489>0x0)console[_0x4caf('7')](_0x4caf('ba')+_0x426489+'\x29\x3a'+(_0x426489*parseInt(_0x3eaa52,0xa)||0x1e)+'\u4eac\u8c46')}else if(_0x45f605[_0x4caf('9d')]){console[_0x4caf('7')](_0x1a4cf0+'\x20'+(_0x45f605[_0x4caf('9d')]||''))}else{console[_0x4caf('7')](_0x1a4cf0+'\x20'+_0x24f0e5)}}else{console[_0x4caf('7')](_0x1a4cf0+'\x20'+_0x24f0e5)}break;case _0x4caf('5e'):if(typeof _0x45f605==_0x4caf('96')){if(_0x45f605[_0x4caf('9b')]&&_0x45f605[_0x4caf('9b')]===!![]&&_0x45f605[_0x4caf('9c')]){$[_0x4caf('bb')]=_0x45f605[_0x4caf('9c')][_0x4caf('24')];$[_0x4caf('7')](_0x4caf('bc')+_0x45f605[_0x4caf('9c')][_0x4caf('24')]+'\u4e2a')}else if(_0x45f605[_0x4caf('9d')]){console[_0x4caf('7')](_0x1a4cf0+'\x20'+(_0x45f605[_0x4caf('9d')]||''))}else{console[_0x4caf('7')](_0x1a4cf0+'\x20'+_0x24f0e5)}}else{console[_0x4caf('7')](_0x1a4cf0+'\x20'+_0x24f0e5)}break;case _0x4caf('3e'):case _0x4caf('44'):break;default:console[_0x4caf('7')](_0x1a4cf0+_0x4caf('bd')+_0x24f0e5)}if(typeof _0x45f605==_0x4caf('96')){if(_0x45f605[_0x4caf('9d')]){if(_0x45f605[_0x4caf('9d')][_0x4caf('be')]('\u706b\u7206')>-0x1){$[_0x4caf('15')]=!![]}}}}catch(_0xa27fa0){console[_0x4caf('7')](_0xa27fa0)}}function getPostRequest(_0x5d9243,_0x922c17,_0x30a78c=_0x4caf('63')){let _0xc5d19b={'Accept':_0x4caf('bf'),'Accept-Encoding':_0x4caf('c0'),'Accept-Language':_0x4caf('c1'),'Connection':_0x4caf('c2'),'Content-Type':_0x4caf('c3'),'Cookie':cookie,'User-Agent':$['\x55\x41'],'X-Requested-With':_0x4caf('c4')};if(_0x5d9243[_0x4caf('be')](_0x4caf('62'))>-0x1){_0xc5d19b[_0x4caf('c5')]=_0x4caf('c6')+$[_0x4caf('1e')]+_0x4caf('23')+$[_0x4caf('20')];_0xc5d19b[_0x4caf('c7')]=''+(lz_jdpin_token_cookie&&lz_jdpin_token_cookie||'')+($[_0x4caf('36')]&&_0x4caf('c8')+$[_0x4caf('36')]+'\x3b'||'')+activityCookie}return{'\x75\x72\x6c':_0x5d9243,'\x6d\x65\x74\x68\x6f\x64':_0x30a78c,'\x68\x65\x61\x64\x65\x72\x73':_0xc5d19b,'\x62\x6f\x64\x79':_0x922c17,'\x74\x69\x6d\x65\x6f\x75\x74':0x7530}}function getCk(){return new Promise(_0x30e9e6=>{let _0x60e006={'\x75\x72\x6c':_0x4caf('c6')+$[_0x4caf('1e')]+_0x4caf('23')+$[_0x4caf('20')],'\x66\x6f\x6c\x6c\x6f\x77\x52\x65\x64\x69\x72\x65\x63\x74':![],'\x68\x65\x61\x64\x65\x72\x73':{'User-Agent':$['\x55\x41']},'\x74\x69\x6d\x65\x6f\x75\x74':0x7530};$[_0x4caf('c9')](_0x60e006,async(_0x5b94ac,_0x580156,_0x2085d6)=>{try{if(_0x5b94ac){if(_0x580156&&typeof _0x580156[_0x4caf('90')]!=_0x4caf('91')){if(_0x580156[_0x4caf('90')]==0x1ed){console[_0x4caf('7')](_0x4caf('3a'));$[_0x4caf('16')]=!![]}}console[_0x4caf('7')](''+$[_0x4caf('92')](_0x5b94ac));console[_0x4caf('7')]($[_0x4caf('1b')]+_0x4caf('ca'))}else{setActivityCookie(_0x580156)}}catch(_0x38a029){$[_0x4caf('30')](_0x38a029,_0x580156)}finally{_0x30e9e6()}})})}function setActivityCookie(_0x5e70b7){let _0x34774b='';let _0x389827='';let _0x5de139='';let _0x55bc58=_0x5e70b7&&_0x5e70b7[_0x4caf('cb')]&&(_0x5e70b7[_0x4caf('cb')][_0x4caf('cc')]||_0x5e70b7[_0x4caf('cb')][_0x4caf('cd')]||'')||'';let _0xfd6c1b='';if(_0x55bc58){if(typeof _0x55bc58!=_0x4caf('96')){_0xfd6c1b=_0x55bc58[_0x4caf('ce')]('\x2c')}else _0xfd6c1b=_0x55bc58;for(let _0x12704e of _0xfd6c1b){let _0x21eb15=_0x12704e[_0x4caf('ce')]('\x3b')[0x0][_0x4caf('cf')]();if(_0x21eb15[_0x4caf('ce')]('\x3d')[0x1]){if(_0x21eb15[_0x4caf('be')](_0x4caf('d0'))>-0x1)_0x34774b=_0x21eb15[_0x4caf('b8')](/ /g,'')+'\x3b';if(_0x21eb15[_0x4caf('be')](_0x4caf('d1'))>-0x1)_0x389827=_0x21eb15[_0x4caf('b8')](/ /g,'')+'\x3b';if(_0x21eb15[_0x4caf('be')](_0x4caf('d2'))>-0x1)_0x5de139=''+_0x21eb15[_0x4caf('b8')](/ /g,'')+'\x3b'}}}if(_0x34774b&&_0x389827)activityCookie=_0x34774b+'\x20'+_0x389827;if(_0x5de139)lz_jdpin_token_cookie=_0x5de139}async function getUA(){$['\x55\x41']=_0x4caf('d3')+randomString(0x28)+_0x4caf('d4')}function randomString(_0x166376){_0x166376=_0x166376||0x20;let _0x15437b=_0x4caf('d5'),_0x44feaa=_0x15437b[_0x4caf('24')],_0x547a82='';for(i=0x0;i<_0x166376;i++)_0x547a82+=_0x15437b[_0x4caf('d6')](Math[_0x4caf('d7')](Math[_0x4caf('4e')]()*_0x44feaa));return _0x547a82};_0xodU='jsjiami.com.v6';
function joinShop() {
if(!$.joinVenderId) return
return new Promise(async resolve => {
$.shopactivityId = ''
await $.wait(1000)
await getshopactivityId()
let activityId = ``
if($.shopactivityId) activityId = `,"activityId":${$.shopactivityId}`
const options = {
url: `https://api.m.jd.com/client.action?appid=jd_shop_member&functionId=bindWithVender&body={"venderId":"${$.joinVenderId}","shopId":"${$.joinVenderId}","bindByVerifyCodeFlag":1,"registerExtend":{},"writeChildFlag":0${activityId},"channel":401}&client=H5&clientVersion=9.2.0&uuid=88888`,
headers: {
'Content-Type': 'text/plain; Charset=UTF-8',
'Origin': 'https://api.m.jd.com',
'Host': 'api.m.jd.com',
'accept': '*/*',
'User-Agent': $.UA,
'content-type': 'application/x-www-form-urlencoded',
'Cookie': cookie
}
}
$.get(options, async (err, resp, data) => {
try {
// console.log(data)
let res = $.toObj(data);
if(typeof res == 'object'){
if(res.success === true){
console.log(res.message)
if(res.result && res.result.giftInfo){
for(let i of res.result.giftInfo.giftList){
console.log(`入会获得:${i.discountString}${i.prizeName}${i.secondLineDesc}`)
}
}
}else if(typeof res == 'object' && res.message){
console.log(`${res.message || ''}`)
}else{
console.log(data)
}
}else{
console.log(data)
}
} catch (e) {
$.logErr(e, resp)
} finally {
resolve();
}
})
})
}
function getshopactivityId() {
return new Promise(resolve => {
const options = {
url: `https://api.m.jd.com/client.action?appid=jd_shop_member&functionId=getShopOpenCardInfo&body=%7B%22venderId%22%3A%22${$.joinVenderId}%22%2C%22channel%22%3A401%7D&client=H5&clientVersion=9.2.0&uuid=88888`,
headers: {
'Content-Type': 'text/plain; Charset=UTF-8',
'Origin': 'https://api.m.jd.com',
'Host': 'api.m.jd.com',
'accept': '*/*',
'User-Agent': $.UA,
'content-type': 'application/x-www-form-urlencoded',
'Cookie': cookie
}
}
$.get(options, async (err, resp, data) => {
try {
let res = $.toObj(data);
if(res.success == true){
// console.log($.toStr(res.result))
console.log(`入会:${res.result.shopMemberCardInfo.venderCardName || ''}`)
$.shopactivityId = res.result.interestsRuleList && res.result.interestsRuleList[0] && res.result.interestsRuleList[0].interestsInfo && res.result.interestsRuleList[0].interestsInfo.activityId || ''
}
} catch (e) {
$.logErr(e, resp)
} finally {
resolve();
}
})
})
}
function jsonParse(str) {
if (typeof str == "string") {
try {
return JSON.parse(str);
} catch (e) {
console.log(e);
$.msg($.name, '', '请勿随意在BoxJs输入框修改内容\n建议通过脚本去获取cookie')
return [];
}
}
}
// prettier-ignore
function Env(t,e){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)}