@dscord/daemon 0.1.37 → 0.1.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chat-bridge.js +1949 -1950
- package/dist/index.js +8421 -8438
- package/package.json +1 -1
package/dist/chat-bridge.js
CHANGED
|
@@ -1,517 +1,498 @@
|
|
|
1
|
-
const
|
|
2
|
-
(function (
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
const _0x42cca9 = _0x4b08;
|
|
2
|
+
(function (_0x2cd469, _0x260076) {
|
|
3
|
+
const _0x2c09c3 = {
|
|
4
|
+
_0x338195: 0x1bb,
|
|
5
|
+
_0xff2017: 0x15c,
|
|
6
|
+
_0x39971b: 0xf7,
|
|
7
|
+
_0xa4bab1: 0x233,
|
|
8
|
+
_0x3c0fda: 0x250,
|
|
9
|
+
_0x34291e: 0x26d,
|
|
10
|
+
_0x5d3dd4: 0x1a3
|
|
11
|
+
}, _0x439ea4 = _0x4b08, _0x27db22 = _0x2cd469();
|
|
8
12
|
while (!![]) {
|
|
9
13
|
try {
|
|
10
|
-
const
|
|
11
|
-
if (
|
|
14
|
+
const _0x4e155d = -parseInt(_0x439ea4(0x124)) / 0x1 * (-parseInt(_0x439ea4(_0x2c09c3._0x338195)) / 0x2) + -parseInt(_0x439ea4(_0x2c09c3._0xff2017)) / 0x3 * (parseInt(_0x439ea4(_0x2c09c3._0x39971b)) / 0x4) + -parseInt(_0x439ea4(_0x2c09c3._0xa4bab1)) / 0x5 + parseInt(_0x439ea4(0x11a)) / 0x6 * (-parseInt(_0x439ea4(0x19c)) / 0x7) + parseInt(_0x439ea4(_0x2c09c3._0x3c0fda)) / 0x8 + -parseInt(_0x439ea4(_0x2c09c3._0x34291e)) / 0x9 * (-parseInt(_0x439ea4(0x25c)) / 0xa) + -parseInt(_0x439ea4(_0x2c09c3._0x5d3dd4)) / 0xb;
|
|
15
|
+
if (_0x4e155d === _0x260076)
|
|
12
16
|
break;
|
|
13
17
|
else
|
|
14
|
-
|
|
15
|
-
} catch (
|
|
16
|
-
|
|
18
|
+
_0x27db22['push'](_0x27db22['shift']());
|
|
19
|
+
} catch (_0x1e253e) {
|
|
20
|
+
_0x27db22['push'](_0x27db22['shift']());
|
|
17
21
|
}
|
|
18
22
|
}
|
|
19
|
-
}(
|
|
23
|
+
}(_0x4d0c, 0xd786e));
|
|
20
24
|
import { pathToFileURL } from 'node:url';
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
'
|
|
32
|
-
'
|
|
33
|
-
'
|
|
34
|
-
'
|
|
35
|
-
'
|
|
36
|
-
'
|
|
37
|
-
'
|
|
38
|
-
'C3rVCe1HAw4',
|
|
39
|
-
'z2v0x3DVCMTLCL9Yzxn1BhqGzMfPBgvK',
|
|
40
|
-
'y2HHDa',
|
|
25
|
+
import {
|
|
26
|
+
mkdir,
|
|
27
|
+
readFile,
|
|
28
|
+
readdir,
|
|
29
|
+
stat,
|
|
30
|
+
writeFile
|
|
31
|
+
} from 'node:fs/promises';
|
|
32
|
+
import { homedir } from 'node:os';
|
|
33
|
+
function _0x4d0c() {
|
|
34
|
+
const _0x2aeaeb = [
|
|
35
|
+
'zMLSzw5HBwu',
|
|
36
|
+
'uefuq0G',
|
|
37
|
+
'Bwv0yq',
|
|
38
|
+
'C3bSAxq',
|
|
39
|
+
'z2v0',
|
|
40
|
+
'sw52ywXPzcaTlwLUAxrPywWTBgfZDc1ZzwvUlxnLCq',
|
|
41
|
+
'Dw5JBgfPBvrHC2S',
|
|
41
42
|
'twLZC2LUzYaTlwfNzw50lwLK',
|
|
42
|
-
'
|
|
43
|
-
'
|
|
44
|
-
'
|
|
45
|
-
'
|
|
46
|
-
'
|
|
47
|
-
'
|
|
48
|
-
'
|
|
49
|
-
'
|
|
50
|
-
'
|
|
51
|
-
'AxnbyNnVBhv0zq',
|
|
52
|
-
'C2vUzf9TzxnZywDLigzHAwXLza',
|
|
53
|
-
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
54
|
-
'iYmJieH1BwfUCW',
|
|
55
|
-
'Bg93',
|
|
56
|
-
'rMLSzsbUB3qGzM91BMq6ia',
|
|
57
|
-
'l3jLy2vPDMu',
|
|
58
|
-
'DMfSDwvZ',
|
|
59
|
-
'BwvTyMvYCW',
|
|
43
|
+
'l2LUDgvYBMfSl2fNzw50lW',
|
|
44
|
+
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
45
|
+
'l3nLCNzLCG',
|
|
46
|
+
'iIbUB3qGzM91BMq',
|
|
47
|
+
'CMvZB2X2zvrHCMDLDa',
|
|
48
|
+
'CMvHC29U',
|
|
49
|
+
'CMvZDwX0',
|
|
50
|
+
'l3DVCMTLCNmVzMLUAxnO',
|
|
51
|
+
'DxbSB2fKx2zPBguGzMfPBgvK',
|
|
60
52
|
'Ahr0CdOVl2XVy2fSAg9ZDdO4mtiX',
|
|
61
|
-
'
|
|
62
|
-
'
|
|
63
|
-
'
|
|
64
|
-
'
|
|
65
|
-
'
|
|
66
|
-
'
|
|
67
|
-
'
|
|
68
|
-
'
|
|
69
|
-
'
|
|
70
|
-
'
|
|
71
|
-
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
72
|
-
'yxjYyxLcDwzMzxi',
|
|
73
|
-
'C3rHCNrLza',
|
|
74
|
-
'DgHYzwfKtNvTyMvY',
|
|
53
|
+
'y2HHBM5LBa',
|
|
54
|
+
'z2v0tw9UDgG',
|
|
55
|
+
'CMvXDwvZDfvYBa',
|
|
56
|
+
'sgfUzg9MzIb0BYb3B3jRzxiGzM9YihrHC2SG',
|
|
57
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
58
|
+
'C29Tzq',
|
|
59
|
+
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
60
|
+
'zgvZy3jPyMu',
|
|
61
|
+
'C2vYDMvYvxjS',
|
|
62
|
+
'zxjYB3i',
|
|
75
63
|
'DgHYzwfKu2HVCNrjza',
|
|
76
|
-
'
|
|
77
|
-
'
|
|
78
|
-
'
|
|
79
|
-
'
|
|
80
|
-
'
|
|
81
|
-
'
|
|
82
|
-
'
|
|
83
|
-
'
|
|
84
|
-
'
|
|
85
|
-
'Dg9mB3DLCKnHC2u',
|
|
86
|
-
'zMLSzxnFy2HHBMDLza',
|
|
87
|
-
'ywrK',
|
|
88
|
-
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
|
|
89
|
-
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
90
|
-
'z2v0sg91CNm',
|
|
91
|
-
'CMvZDwX0sNnVBG',
|
|
92
|
-
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
93
|
-
'C3bSAxq',
|
|
94
|
-
'C2vZC2LVBKLK',
|
|
95
|
-
'lsba',
|
|
96
|
-
'zMfPBgvK',
|
|
97
|
-
'zxnJywXHDgvFDg9FBwfPBG',
|
|
98
|
-
'tM8GDgfZA3mGy2XHAw1Lzc4',
|
|
99
|
-
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
100
|
-
'CNvUswq',
|
|
101
|
-
'BgLZDfrHC2TZ',
|
|
102
|
-
'mLnSCLjesG',
|
|
103
|
-
'Dg9gAxHLza',
|
|
104
|
-
'v29YA2vYici',
|
|
105
|
-
'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlG',
|
|
106
|
-
'C2nOzwr1BgvKrM9Y',
|
|
107
|
-
'yxbWBgLJyxrPB24VANnVBG',
|
|
108
|
-
'D29YA2vYsgfUzg9MzKvYCM9Y',
|
|
109
|
-
'BgLZDf9Zzxj2zxi',
|
|
110
|
-
'C3rHCNrZv2L0Aa',
|
|
111
|
-
'twvZC2fNzsbZzw50ihrVia',
|
|
112
|
-
'y2XHAw1FDgfZA3mGzMfPBgvK',
|
|
113
|
-
'ig1LC3nHz2u9',
|
|
114
|
-
'Dg9ju09tDhjPBMC',
|
|
115
|
-
'lNnSB2nR',
|
|
116
|
-
'l3DVCMTLCNmVzMLUAxnO',
|
|
117
|
-
'z2v0x3DVCMTLCL9Yzxn1Bhq',
|
|
118
|
-
'tM8GDgfZA3mGzM91BMqU',
|
|
119
|
-
'zgfLBw9UqxbPs2v5',
|
|
120
|
-
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
121
|
-
'D29YA2vYtw9Kzq',
|
|
122
|
-
'zMLUAxnOx3DVCMTLCG',
|
|
123
|
-
'D29YA2vYx3nLC3nPB25FAwq',
|
|
124
|
-
'zgvJAxnPB25Z',
|
|
125
|
-
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
126
|
-
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
127
|
-
'zw50CMLLCW',
|
|
64
|
+
'twfYAYb0AguGy3vYCMvUDcb3B3jRzxiGyxmGD2fPDgLUzYbMB3iGAhvTyw4GAw5WDxqUifbHDxnLCYb0AguGAwrSzsbuveWGDgLTzxiGDw50AwWGysbUzxCGBwvZC2fNzsbHCNjPDMvZlG',
|
|
65
|
+
'DgfYz2v0',
|
|
66
|
+
'C2LNBMfS',
|
|
67
|
+
'DgfZAW',
|
|
68
|
+
'CgfYC2vjBNq',
|
|
69
|
+
'y3jLyxrLx3rHC2TZ',
|
|
70
|
+
'y29UDgvUDc10ExbL',
|
|
71
|
+
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
72
|
+
'DgfZA3m',
|
|
128
73
|
'DgHYzwfK',
|
|
129
|
-
'
|
|
130
|
-
'
|
|
131
|
-
'
|
|
132
|
-
'
|
|
133
|
-
'
|
|
74
|
+
'yxjYyxK',
|
|
75
|
+
'BM93',
|
|
76
|
+
'D29YA2vYtw9KzuvUywjSzwq',
|
|
77
|
+
'DgHYzwfKvgfYz2v0',
|
|
78
|
+
'BwvZC2fNzuLK',
|
|
79
|
+
'B3b0Aw9UywW',
|
|
80
|
+
'zxzLBNrtzxe',
|
|
81
|
+
'iIbMAw5PC2HLzcb3AxrOihjLC3vSDdOG',
|
|
134
82
|
'BgLTAxq',
|
|
135
|
-
'
|
|
136
|
-
'
|
|
137
|
-
'
|
|
138
|
-
'C2L6zq',
|
|
139
|
-
'Bg9JywXLq29TCgfYzq',
|
|
140
|
-
'DgHYzwfKswq',
|
|
141
|
-
'vgHYzwfKihrHCMDLDdOG',
|
|
142
|
-
'ls13B3jRzxiTDgHYzwfKlxrHCMDLDa',
|
|
143
|
-
'yxr0ywnOBwvUDhm',
|
|
144
|
-
'igzHAwXLzdOG',
|
|
145
|
-
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
146
|
-
'D3m6',
|
|
147
|
-
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
83
|
+
'ihn0yxr1CZ0',
|
|
84
|
+
'BgLZDfrHC2TZ',
|
|
85
|
+
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
148
86
|
'D29YA19RzxK',
|
|
149
|
-
'
|
|
150
|
-
'
|
|
151
|
-
'
|
|
152
|
-
'
|
|
153
|
-
'
|
|
154
|
-
'
|
|
155
|
-
'
|
|
156
|
-
'
|
|
157
|
-
'
|
|
158
|
-
'
|
|
159
|
-
'
|
|
160
|
-
'
|
|
87
|
+
'nZvwC1HUywC',
|
|
88
|
+
'C3rHCNrLza',
|
|
89
|
+
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
90
|
+
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
91
|
+
'DgfYz2v0zwruyxnR',
|
|
92
|
+
'ANnVBG',
|
|
93
|
+
'z2v0x3DVCMTLCL9Yzxn1BhqGzMfPBgvK',
|
|
94
|
+
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
95
|
+
'kg5VBMuP',
|
|
96
|
+
'ue9tva',
|
|
97
|
+
'AgfZtw9Yzq',
|
|
98
|
+
'y2HHBM5LBhm',
|
|
99
|
+
'yxr0ywnOBwvUDf9Pza',
|
|
100
|
+
't3jPz2LUywWGBwvZC2fNztOG',
|
|
101
|
+
'r0vu',
|
|
102
|
+
'CgfYDgLJAxbHBNq',
|
|
103
|
+
'Bwf0y2Hoyw1L',
|
|
104
|
+
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
105
|
+
'Dg9gAxHLza',
|
|
106
|
+
'lcbJB250zw50lxr5Cgu9',
|
|
107
|
+
'l3nLBMq',
|
|
108
|
+
'iokaLcb1C2uGDMLLD19MAwXLihrVihnLzv0',
|
|
161
109
|
'lcbWCMv2Awv3pq',
|
|
110
|
+
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4',
|
|
111
|
+
'DxnLCG',
|
|
112
|
+
'Aw1Hz2uVCg5N',
|
|
113
|
+
'l2nVBNrLBNq',
|
|
114
|
+
'CNvUBMLUzW',
|
|
115
|
+
'ig1ZzZ0',
|
|
116
|
+
'yMfZzty0',
|
|
117
|
+
'v29YA2vYia',
|
|
118
|
+
'z2v0rgf0zq',
|
|
162
119
|
'zMLUAxnOx3DVCMTLCIbMywLSzwq',
|
|
163
|
-
'
|
|
164
|
-
'
|
|
120
|
+
'zgf0yq',
|
|
121
|
+
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
122
|
+
'Aw1Hz2uVD2vICa',
|
|
123
|
+
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
|
|
124
|
+
'zgvJAxnPB25Z',
|
|
125
|
+
'yxbWBgLJyxrPB24VANnVBG',
|
|
126
|
+
'w3nLCt0',
|
|
127
|
+
'C2L6zq',
|
|
128
|
+
'uM9VDcb0yxnRig1LC3nHz2u6cG',
|
|
129
|
+
'z2v0twLUDxrLCW',
|
|
130
|
+
'igLUia',
|
|
131
|
+
'zMLUAxnOx3DVCMTLCG',
|
|
132
|
+
'zgfLBw9Utg9JywXvCMW',
|
|
133
|
+
'Dw5JBgfPBv90yxnR',
|
|
134
|
+
'C3rVCe1HAw49Dhj1zq',
|
|
135
|
+
'CgfYDgLJAxbHBNrjza',
|
|
165
136
|
'y2HHBM5LBfrHCMDLDa',
|
|
166
|
-
'
|
|
167
|
-
'
|
|
168
|
-
'
|
|
169
|
-
'
|
|
137
|
+
'rg93BMXVywrLzcb0BZOG',
|
|
138
|
+
'tM8GDgfZA3mGzM91BMqU',
|
|
139
|
+
'ChvZAa',
|
|
140
|
+
'zxH0BMfTzq',
|
|
141
|
+
'Bwf4',
|
|
142
|
+
'DxjNzw50',
|
|
143
|
+
'iJOGC3rHDhvZpq',
|
|
144
|
+
'iokaLca',
|
|
145
|
+
'zw51Bq',
|
|
170
146
|
'C2HHmJu2',
|
|
171
|
-
'l2zPBMLZAa',
|
|
172
|
-
'AhvTyw4',
|
|
173
|
-
'BwvTyMvY',
|
|
174
147
|
'C2vUze1LC3nHz2u',
|
|
175
|
-
'
|
|
176
|
-
'
|
|
177
|
-
'
|
|
178
|
-
'
|
|
179
|
-
'
|
|
180
|
-
'
|
|
181
|
-
'
|
|
182
|
-
'
|
|
183
|
-
'
|
|
184
|
-
'
|
|
148
|
+
'vxbKyxrLihrHC2SGC3rHDhvZigj5ignOyw5UzwWGyw5KihrHC2SGBNvTyMvYlG',
|
|
149
|
+
'D29YA2vYrgLZCg9ZAxrPB249',
|
|
150
|
+
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
151
|
+
'n01nt0HVBW',
|
|
152
|
+
'Dg9ju09tDhjPBMC',
|
|
153
|
+
'AgvHzgvYCW',
|
|
154
|
+
'y2f0y2G',
|
|
155
|
+
'CMvZDw1Lx3bHy2TLDa',
|
|
156
|
+
'AxnjBNrLz2vY',
|
|
157
|
+
'zw50zxiTAgfUzg9MzIbMywLSzwq',
|
|
158
|
+
'mtq3mZC0mZDmy3PHEMO',
|
|
159
|
+
'AgfZ',
|
|
185
160
|
'CgfKu3rHCNq',
|
|
186
|
-
'
|
|
187
|
-
'
|
|
188
|
-
'
|
|
189
|
-
'
|
|
190
|
-
'
|
|
191
|
-
'
|
|
192
|
-
'
|
|
193
|
-
'
|
|
194
|
-
'
|
|
195
|
-
'
|
|
161
|
+
'D29YA2vYsgfUzg9MzKvYCM9Y',
|
|
162
|
+
'Cgf5Bg9HzePZB24',
|
|
163
|
+
'C2f2zq',
|
|
164
|
+
'ywDLBNrjza',
|
|
165
|
+
'AgLNAa',
|
|
166
|
+
'CxvLDwvK',
|
|
167
|
+
'C3rYAw5NAwz5',
|
|
168
|
+
'zMv0y2HjBxbS',
|
|
169
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
170
|
+
'D29YA2vYsgfUzg9MzJ10CNvL',
|
|
171
|
+
'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
|
|
196
172
|
'yMXVy2TLza',
|
|
197
|
-
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
198
|
-
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4',
|
|
199
|
-
'Aw5JBhvKzxm',
|
|
200
|
-
'D2fPDgLUz19PBNb1Da',
|
|
201
|
-
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
202
|
-
'DxrMoa',
|
|
203
|
-
'Bwf4',
|
|
204
|
-
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
205
|
-
'Dgv4Dc9JC3y',
|
|
206
|
-
'zMLSDgvY',
|
|
207
|
-
'mta1nZDur1DkAfG',
|
|
208
|
-
'iJOGC3rHDhvZpq',
|
|
209
|
-
'zMLUza',
|
|
210
|
-
'igLUia',
|
|
211
|
-
'ywjVCNrLza',
|
|
212
|
-
'Axnoyu4',
|
|
213
|
-
'ywDNCMvNyxrLswq',
|
|
214
|
-
'AwrLBxbVDgvUy3LFA2v5',
|
|
215
|
-
'Dg9VBa',
|
|
216
|
-
'yxbWBgLJyxrPB24VEMLW',
|
|
217
|
-
'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
|
|
218
|
-
'C2XPy2u',
|
|
219
|
-
'y2XHAw1uyxnRCW',
|
|
220
|
-
'AwrSzq',
|
|
221
|
-
'zMLSzw5HBwu',
|
|
222
173
|
'l3rHC2TZ',
|
|
223
|
-
'
|
|
224
|
-
'
|
|
225
|
-
'
|
|
226
|
-
'
|
|
227
|
-
'
|
|
228
|
-
'
|
|
229
|
-
'
|
|
230
|
-
'
|
|
231
|
-
'
|
|
232
|
-
'
|
|
233
|
-
'
|
|
234
|
-
'
|
|
235
|
-
'
|
|
236
|
-
'Dw5JBgfPBvrHC2S',
|
|
237
|
-
'xsba',
|
|
238
|
-
'zgf0yq',
|
|
239
|
-
'DxbSB2fKx2zPBguGzMfPBgvK',
|
|
240
|
-
'mc4WlJa',
|
|
241
|
-
'y29UDgvUDfr5Cgu',
|
|
242
|
-
'DgfZA051BwjLCG',
|
|
243
|
-
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4',
|
|
244
|
-
'AhjLzG',
|
|
174
|
+
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
175
|
+
'u2vUzcbHig1LC3nHz2uUieLMihzPC2LIAwXPDhKGAxmGB21PDhrLzcWGDgHLig1LC3nHz2uGAxmGChvIBgLJlIbjBIb0yxnRihrOCMvHzhmSihnLDcb2AxnPyMLSAxr5oIbHC2LKzsbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Gt3v0C2LKzsb0AhjLywrZlcbKBYbUB3qGC2v0ihzPC2LIAwXPDhKUifjLDxnLihrOzsbLEgfJDcb0yxjNzxqGC3rYAw5NigzYB20GAw5JB21PBMCGBwvZC2fNzxmU',
|
|
176
|
+
'lsba',
|
|
177
|
+
'DgfYz2v0zwq',
|
|
178
|
+
'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
|
|
179
|
+
'D29YA2vYsgfUzg9MzG',
|
|
180
|
+
'yxr0ywnOBwvUDf9Pzhm',
|
|
181
|
+
'yxbWBgLJyxrPB24VCgrM',
|
|
182
|
+
'mJuXmZuYnfLmqxrIzq',
|
|
183
|
+
'yxr0ywnOBwvUDenHy2HL',
|
|
184
|
+
'ywDLBNq',
|
|
185
|
+
'CMvHzf9OAxn0B3j5',
|
|
186
|
+
'ig1LC3nHz2u9',
|
|
245
187
|
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
246
|
-
'
|
|
247
|
-
'
|
|
248
|
-
'
|
|
249
|
-
'
|
|
250
|
-
'
|
|
251
|
-
'
|
|
252
|
-
'
|
|
253
|
-
'
|
|
254
|
-
'
|
|
255
|
-
'
|
|
256
|
-
'
|
|
188
|
+
'C3rHDhvZ',
|
|
189
|
+
'BwfW',
|
|
190
|
+
'B3bLBL9PC3n1zxm',
|
|
191
|
+
'ls13B3jRzxiTDgHYzwfKlxrHCMDLDa',
|
|
192
|
+
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
193
|
+
'rMLSzsbUB3qGzM91BMq6ia',
|
|
194
|
+
'yxr0ywnOBwvUDeLK',
|
|
195
|
+
'C3rVCe1HAw4',
|
|
196
|
+
'AxngAw5PDgu',
|
|
197
|
+
'Bwf0y2Hoyw1Ltg93zxi',
|
|
198
|
+
'l3rHC2TZl3vUy2XHAw0',
|
|
199
|
+
'yxnPzgu',
|
|
200
|
+
'tM8GCMvZDwX0ihLLDcbMB3iGD29YA2vYici',
|
|
201
|
+
'ywrKrxzLBNrmAxn0zw5LCG',
|
|
202
|
+
'vgfZAYa',
|
|
203
|
+
'BwvTyMvYCW',
|
|
204
|
+
'uMv0CMLLDMuGDgHLihjLC3vSDcaOCMvZDw1LihbHy2TLDcKGB2yGysbJB21WBgv0zwqGD29YA2vYlG',
|
|
205
|
+
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
206
|
+
'ls1PBML0AwfSlwXHC3qTC2vLBI1Zzxe',
|
|
257
207
|
'DxbSB2fKuhjLCgfYzxi',
|
|
258
|
-
'
|
|
259
|
-
'
|
|
260
|
-
'
|
|
261
|
-
'
|
|
262
|
-
'
|
|
263
|
-
'
|
|
264
|
-
'
|
|
208
|
+
'C2vZC2LVBKLK',
|
|
209
|
+
'sfruuca',
|
|
210
|
+
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4',
|
|
211
|
+
'AxngAwXL',
|
|
212
|
+
'DgfZA0LK',
|
|
213
|
+
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
214
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
215
|
+
'C2v0',
|
|
216
|
+
'ywz0zxjtzxe',
|
|
265
217
|
'y2XHAw1FDgfZA3m',
|
|
266
|
-
'
|
|
267
|
-
'
|
|
268
|
-
'
|
|
269
|
-
'
|
|
270
|
-
'
|
|
271
|
-
'
|
|
272
|
-
'
|
|
273
|
-
'
|
|
274
|
-
'
|
|
275
|
-
'
|
|
276
|
-
'
|
|
277
|
-
'
|
|
278
|
-
'
|
|
279
|
-
'
|
|
280
|
-
'
|
|
281
|
-
'
|
|
218
|
+
'AxnbCNjHEq',
|
|
219
|
+
'ywXS',
|
|
220
|
+
'ywjVCNq',
|
|
221
|
+
'ywDNCMvNyxrLvhLWzq',
|
|
222
|
+
'Dg9KBW',
|
|
223
|
+
'B2jQzwn0',
|
|
224
|
+
'DhjPBq',
|
|
225
|
+
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
226
|
+
'l2fWAs9Hz2vUDc1ZzxnZAw9UCY8',
|
|
227
|
+
'C2vUzgvYtMfTzq',
|
|
228
|
+
'CNvUswq',
|
|
229
|
+
'iYmGu2vYDMvYoIa',
|
|
230
|
+
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
231
|
+
'z2v0sg91CNm',
|
|
232
|
+
'zw50CMLLCW',
|
|
233
|
+
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
234
|
+
'B3jPz2LUywXgAwXLBMfTzq',
|
|
235
|
+
'y2HLy2TnzxnZywDLCW',
|
|
282
236
|
'yxjNDG',
|
|
283
|
-
'
|
|
284
|
-
'
|
|
285
|
-
'
|
|
286
|
-
'
|
|
287
|
-
'
|
|
288
|
-
'
|
|
289
|
-
'
|
|
290
|
-
'
|
|
291
|
-
'
|
|
292
|
-
'
|
|
237
|
+
'DMLZAwjPBgL0Eq',
|
|
238
|
+
'CMvWBgfJzq',
|
|
239
|
+
'z2v0x3DVCMTLCL9Yzxn1Bhq',
|
|
240
|
+
'BgLZDf9Zzxj2zxi',
|
|
241
|
+
'ywjVCNrLza',
|
|
242
|
+
'C3vTBwfYEq',
|
|
243
|
+
'DgHYzwfKvgfYz2v0pq',
|
|
244
|
+
'C3rYAw5N',
|
|
245
|
+
'zgvZy3jPChrPB24',
|
|
246
|
+
'xsba',
|
|
293
247
|
'ig1LC3nHz2vZkqOk',
|
|
294
|
-
'
|
|
295
|
-
'
|
|
296
|
-
'
|
|
248
|
+
'Aw5FChjVz3jLC3m',
|
|
249
|
+
'ChjVDg9JB2W',
|
|
250
|
+
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
251
|
+
'rMLSzsbZAxPLigv4y2vLzhmGBgLTAxq6ia',
|
|
252
|
+
'AM9PBG',
|
|
253
|
+
'BMfTzq',
|
|
254
|
+
'y2HLy2TFBwvZC2fNzxm',
|
|
297
255
|
'zxHLy3v0Aw9Utw9Kzq',
|
|
256
|
+
'DxbKyxrLvgfZA1n0yxr1CW',
|
|
257
|
+
'zgvZDhjVEwvK',
|
|
258
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxm',
|
|
259
|
+
'y2HHBM5LBeLK',
|
|
260
|
+
'A2LUza',
|
|
261
|
+
'y2HLy2TFBwvZC2fNzxmGzMfPBgvK',
|
|
262
|
+
'zg93BMXVywrbDhrHy2HTzw50',
|
|
263
|
+
'icHPzdO',
|
|
264
|
+
'l2zPBMLZAa',
|
|
265
|
+
'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
|
|
298
266
|
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
299
|
-
'
|
|
300
|
-
'
|
|
301
|
-
'
|
|
302
|
-
'C2vYDMvY',
|
|
303
|
-
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
304
|
-
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
305
|
-
'iokaLca',
|
|
306
|
-
'yM9KEvrLEhq',
|
|
307
|
-
'ChjVDg9JB2W',
|
|
308
|
-
'y3jLyxrLvgfZA3m',
|
|
309
|
-
'mtbsA1jAuvu',
|
|
267
|
+
'AwrSzq',
|
|
268
|
+
'zg06',
|
|
269
|
+
'C2vYDMvYtMfTzq',
|
|
310
270
|
'lIbZDg9WtwfPBJ10CNvLigv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
311
|
-
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
312
|
-
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
313
|
-
'l2fWAs9Hz2vUDc1ZzxnZAw9UCY8',
|
|
314
|
-
'Bwf0y2Hoyw1L',
|
|
315
|
-
'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
|
|
316
|
-
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
317
|
-
'iYmJiefNzw50CW',
|
|
318
|
-
'CgfYC2u',
|
|
319
|
-
'C29YDa',
|
|
320
|
-
'zg9Uzq',
|
|
321
|
-
'mtC1mdq1rNntsw1S',
|
|
322
|
-
'ANnVBG',
|
|
323
271
|
'ignSywLTzwq',
|
|
324
|
-
'
|
|
325
|
-
'
|
|
326
|
-
'iIbMAw5PC2HLzcb3AxrOihjLC3vSDdOG',
|
|
327
|
-
'D3nZoG',
|
|
328
|
-
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
329
|
-
'y3jLyxrLzef0',
|
|
330
|
-
'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
|
|
331
|
-
'l3n0yxj0',
|
|
332
|
-
'ywXS',
|
|
333
|
-
'uefuq0G',
|
|
334
|
-
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
335
|
-
'y2HHBM5LBeLK',
|
|
336
|
-
'DgfZA0LK',
|
|
337
|
-
'rg93BMXVywrLzcb0BZOG',
|
|
338
|
-
'w3nLCt0',
|
|
339
|
-
'icHPzdO',
|
|
340
|
-
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
341
|
-
'y2HLy2TFBwvZC2fNzxm',
|
|
342
|
-
'BNvTyMvY',
|
|
343
|
-
'BgLZDf90yxnRCW',
|
|
344
|
-
'ihr5Cgu9ywDLBNq',
|
|
345
|
-
'ihn0yxr1CZ0',
|
|
346
|
-
'y29UDgvUDc10ExbL',
|
|
272
|
+
'y3jLyxrLvgfZA3m',
|
|
273
|
+
'y3vYC29Y',
|
|
347
274
|
'Aw5FCMv2Awv3',
|
|
348
|
-
'
|
|
349
|
-
'
|
|
350
|
-
'
|
|
351
|
-
'
|
|
275
|
+
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWU',
|
|
276
|
+
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
277
|
+
'zMLUzenHy2HLzfbHDgG',
|
|
278
|
+
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
279
|
+
'C3vJy2vZCW',
|
|
280
|
+
'pgvTChr5pG',
|
|
281
|
+
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
282
|
+
'l3DVCMTLCNmVCMvZDwX0p3DVCMTFA2v5pq',
|
|
283
|
+
'AhvTyw5Z',
|
|
284
|
+
'C2vX',
|
|
285
|
+
'DgfZA051BwjLCG',
|
|
286
|
+
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
287
|
+
'igf0DgfJAg1LBNq',
|
|
288
|
+
'v29YA2vYici',
|
|
289
|
+
'Agv4',
|
|
352
290
|
'DgvZDa',
|
|
353
|
-
'
|
|
354
|
-
'
|
|
355
|
-
'
|
|
356
|
-
'
|
|
357
|
-
'
|
|
358
|
-
'
|
|
359
|
-
'
|
|
360
|
-
'
|
|
361
|
-
'
|
|
362
|
-
'
|
|
363
|
-
'
|
|
364
|
-
'
|
|
365
|
-
'
|
|
366
|
-
'
|
|
367
|
-
'
|
|
368
|
-
'
|
|
369
|
-
'CMvZB2X2zvrHCMDLDa',
|
|
370
|
-
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
371
|
-
'CMvWBgfJzq',
|
|
372
|
-
'C2vUzgvYtMfTzq',
|
|
373
|
-
'zg06',
|
|
291
|
+
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
292
|
+
'BwvZC2fNzxm',
|
|
293
|
+
'lIbnzxnZywDLieLeoIa',
|
|
294
|
+
'Dgv4Da',
|
|
295
|
+
'Dgv4Dc9TyxjRzg93BG',
|
|
296
|
+
'ywrK',
|
|
297
|
+
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
298
|
+
'xsbaC3LZDgvToIbBy2XHAw0TAgfUzg9MzL0G',
|
|
299
|
+
'zMLUza',
|
|
300
|
+
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
301
|
+
'ywDNCMvNyxrLswrZ',
|
|
302
|
+
'mtKYodm3mg5TtwDMrq',
|
|
303
|
+
'Bg93',
|
|
304
|
+
'ls13B3jRzxiTBw9Kzq',
|
|
305
|
+
'ihr5Cgu9ywDLBNq',
|
|
306
|
+
'ywDNCMvNyxrLswq',
|
|
374
307
|
'DgfZAY0',
|
|
375
|
-
'
|
|
376
|
-
'
|
|
377
|
-
'
|
|
378
|
-
'v29YA2vYia',
|
|
379
|
-
'AhvTyw5Z',
|
|
308
|
+
'BMv4Den1CNnVCG',
|
|
309
|
+
'iYmJiefNzw50CW',
|
|
310
|
+
'y2XHAw1FDgfZA3mGzMfPBgvK',
|
|
380
311
|
'yxv0BZO',
|
|
381
|
-
'
|
|
382
|
-
'
|
|
383
|
-
'
|
|
384
|
-
'
|
|
385
|
-
'
|
|
386
|
-
'
|
|
387
|
-
'
|
|
388
|
-
'
|
|
389
|
-
'
|
|
390
|
-
'
|
|
391
|
-
'
|
|
392
|
-
'
|
|
393
|
-
'
|
|
394
|
-
'
|
|
395
|
-
'
|
|
396
|
-
'
|
|
397
|
-
'
|
|
398
|
-
'
|
|
399
|
-
'
|
|
400
|
-
'
|
|
401
|
-
'AxnbCNjHEq',
|
|
402
|
-
'BwvZC2fNzuLK',
|
|
403
|
-
'r0vu',
|
|
404
|
-
'C2vUzf9TzxnZywDL',
|
|
405
|
-
'D29YA2vY',
|
|
406
|
-
'DxnLCG',
|
|
407
|
-
'z2v0rgf0zq',
|
|
408
|
-
'mJbszu91t0u',
|
|
409
|
-
'DgfZA19Pza',
|
|
410
|
-
'BM93',
|
|
411
|
-
'6k+35Rgcia',
|
|
412
|
-
'D29YA2vYrgLZCg9ZAxrPB249',
|
|
413
|
-
'DhLWzq',
|
|
414
|
-
'BgLZDfnLCNzLCG',
|
|
415
|
-
'DhjPBq',
|
|
416
|
-
'CgfYDgLJAxbHBNq',
|
|
417
|
-
'ote0odbpB0vszgK',
|
|
312
|
+
'y29UDgvUDa',
|
|
313
|
+
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
314
|
+
'y29UBMvJDa',
|
|
315
|
+
'l3vWBg9Hza',
|
|
316
|
+
'ywDLBNrZ',
|
|
317
|
+
'C2XPy2u',
|
|
318
|
+
'ChvIBgLJ',
|
|
319
|
+
't3b0Aw9UywWUieLMig9TAxr0zwqSihrOzsbTzxnZywDLigLZihb1yMXPyY4Gsw4GDgfZAYb0AhjLywrZlcbZzxqGiMfZAwrLiIbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Grg8GBM90ihnLDcbVDxrZAwrLihrOCMvHzhmU',
|
|
320
|
+
'l3jLy2vPDMu',
|
|
321
|
+
'lNnSB2nR',
|
|
322
|
+
'iYmJienOyw5UzwXZ',
|
|
323
|
+
'tM8GDgfZA3mGy2XHAw1Lzc4',
|
|
324
|
+
'y2HHBM5LBe5HBwu',
|
|
325
|
+
'Aw5JBhvKzxm',
|
|
326
|
+
'D29YA2vYCW',
|
|
327
|
+
'D29YA2vYtw9Kzq',
|
|
328
|
+
'zxHLy3v0Aw9Utw9Kzt0',
|
|
329
|
+
'C2vYDMvY',
|
|
330
|
+
'DgL0Bgu',
|
|
331
|
+
'mte4mdKXnJHhvuDUtgC',
|
|
418
332
|
'y2XPzw50',
|
|
333
|
+
'vgHYzwfKihrHCMDLDdOG',
|
|
334
|
+
'DgfZA19Pza',
|
|
335
|
+
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
336
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
419
337
|
'l3rHC2TZl2nSywLT',
|
|
338
|
+
'BwvTyMvY',
|
|
339
|
+
'zMLSDgvY',
|
|
340
|
+
'zgLZCg9ZAxrPB24',
|
|
341
|
+
'C2vUzf9TzxnZywDL',
|
|
342
|
+
'w3rHCMDLDd0',
|
|
343
|
+
'mtbjD2jPyu8',
|
|
344
|
+
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
345
|
+
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
346
|
+
'ywz0zxi',
|
|
347
|
+
'DgHYzwfKtNvTyMvY',
|
|
348
|
+
'zMv0y2HuAw1LB3v0txm',
|
|
349
|
+
'C2L6zuj5DgvZ',
|
|
420
350
|
'l3DVCMTLCNmVD2fPDgLUz19PBNb1Da',
|
|
421
|
-
'
|
|
422
|
-
'
|
|
351
|
+
'AhjLzG',
|
|
352
|
+
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
353
|
+
'ls1Hz2vUDc1Pza',
|
|
354
|
+
'DxbSB2fKx2zPBgu',
|
|
355
|
+
'Dg9VBa',
|
|
356
|
+
'BgvUz3rO',
|
|
357
|
+
'vgfZAZOG',
|
|
358
|
+
'yxr0ywnOBwvUDeLKCW',
|
|
359
|
+
'zxnJywXHDgvFDg9FBwfPBG',
|
|
360
|
+
'mtaXmZq5mtHIAgzpveG',
|
|
361
|
+
'4PQG77IpifDpuKTfuIbbq1rjvKfuruqG4Ocuifn0B3aGquXmihDVCMSGB24GDgHPCYb0yxnRigLTBwvKAwf0zwX5lIbeBYbUB3qGC2vUzcbMDxj0AgvYig1LC3nHz2vZihrVihrOAxmGDgHYzwfKlG',
|
|
362
|
+
'DhLWzq',
|
|
363
|
+
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
364
|
+
'l2HPC3rVCNK/',
|
|
365
|
+
'D2fPDgLUz19PBNb1Da',
|
|
366
|
+
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
367
|
+
'ihrPBwu9',
|
|
368
|
+
'yxbWBgLJyxrPB24VEMLW',
|
|
369
|
+
'kgXLz2fJEsK',
|
|
370
|
+
'yxjYyxLcDwzMzxi',
|
|
371
|
+
'DMLLD19MAwXLigzHAwXLza',
|
|
372
|
+
'mJG5ndHlBKr3C1O',
|
|
373
|
+
'y29UDgvUDfr5Cgu',
|
|
374
|
+
'l3n0yxj0',
|
|
375
|
+
'uMvHzcb0AhjLywqGAgLZDg9YEsbIzwzVCMuGDgfRAw5NigfJDgLVBI4Grg8GBM90igvJAg8GDgHPCYbTzxnZywDLihrVihrOzsb0AhjLywqU',
|
|
376
|
+
'yMfZzw5HBwu',
|
|
377
|
+
'BwLU',
|
|
378
|
+
'y29TCgXLDgvK',
|
|
379
|
+
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
380
|
+
'BgLZDf90yxnRCW',
|
|
381
|
+
'yM9KEu1HCMTKB3DU',
|
|
382
|
+
'yxr0ywnOBwvUDhm',
|
|
383
|
+
'Dw5RBM93BG',
|
|
384
|
+
'z2v0u2vJB25KCW',
|
|
385
|
+
'C2vUzf9TzxnZywDLigzHAwXLza',
|
|
386
|
+
'igzHAwXLzdOG',
|
|
387
|
+
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
388
|
+
'AxnbyNnVBhv0zq',
|
|
389
|
+
'D3m6',
|
|
390
|
+
'DgHYzwfKswq',
|
|
391
|
+
'DgHYzwfKx3rHCMDLDa',
|
|
392
|
+
'rg8GBM90ihnLBMqGzNvYDgHLCIbTzxnZywDLCYb0BYb0AgLZihrOCMvHzcdIGjqGDgHLihDVCMTLCIbPCYbOyw5KBgLUzYbPDc4',
|
|
393
|
+
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
394
|
+
'Aw1Hz2uVANbLzW',
|
|
395
|
+
'y3jLyxrLzef0',
|
|
396
|
+
'BwvZC2fNzq',
|
|
397
|
+
'CM9VDe1LC3nHz2vjza',
|
|
398
|
+
's0iPcKf0DgfJAg1LBNqGsuq6ia',
|
|
399
|
+
'khvUA25VD24P',
|
|
400
|
+
'yMvMB3jL',
|
|
401
|
+
'lsaJ',
|
|
402
|
+
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
403
|
+
'zNjVBq',
|
|
404
|
+
'C3rHCNrZv2L0Aa',
|
|
405
|
+
'C2vUzgvYvhLWzq',
|
|
406
|
+
'BNvTyMvY',
|
|
407
|
+
'nJqXota3nLHttMrusq',
|
|
408
|
+
'Dg9tDhjPBMC',
|
|
409
|
+
'D29YA2vYu2vZC2LVBKLK',
|
|
410
|
+
'CgfYC2u',
|
|
423
411
|
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVC3rKAw8UANm',
|
|
424
|
-
'
|
|
425
|
-
'
|
|
426
|
-
'
|
|
412
|
+
'ls1ZzxnZAw9UlwLK',
|
|
413
|
+
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
414
|
+
'ls1Zzxj2zxiTDxjS',
|
|
415
|
+
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
416
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmVy2XHAw0',
|
|
417
|
+
'muzZEe1dCG',
|
|
418
|
+
'z2v0x3DVCMTLCL9ZDgf0DxmGzMfPBgvK',
|
|
419
|
+
'DMLLD19MAwXL',
|
|
420
|
+
'C29YDa'
|
|
427
421
|
];
|
|
428
|
-
|
|
429
|
-
return
|
|
422
|
+
_0x4d0c = function () {
|
|
423
|
+
return _0x2aeaeb;
|
|
430
424
|
};
|
|
431
|
-
return
|
|
425
|
+
return _0x4d0c();
|
|
432
426
|
}
|
|
433
|
-
import
|
|
434
|
-
mkdir,
|
|
435
|
-
readFile,
|
|
436
|
-
readdir,
|
|
437
|
-
stat,
|
|
438
|
-
writeFile
|
|
439
|
-
} from 'node:fs/promises';
|
|
440
|
-
import { homedir } from 'node:os';
|
|
441
|
-
import _0x6a8220 from 'node:path';
|
|
427
|
+
import _0x3ec660 from 'node:path';
|
|
442
428
|
var DEFAULT_MAX_FILE_SIZE = 0x64 * 0x400 * 0x400, MIME_BY_EXTENSION = {
|
|
443
|
-
'.csv':
|
|
444
|
-
'.gif':
|
|
445
|
-
'.jpeg':
|
|
446
|
-
'.jpg':
|
|
447
|
-
'.json':
|
|
448
|
-
'.md':
|
|
449
|
-
'.pdf':
|
|
450
|
-
'.png':
|
|
451
|
-
'.svg':
|
|
452
|
-
'.txt':
|
|
453
|
-
'.webp':
|
|
429
|
+
'.csv': 'text/csv',
|
|
430
|
+
'.gif': 'image/gif',
|
|
431
|
+
'.jpeg': _0x42cca9(0x10d),
|
|
432
|
+
'.jpg': _0x42cca9(0x10d),
|
|
433
|
+
'.json': _0x42cca9(0x182),
|
|
434
|
+
'.md': _0x42cca9(0x22c),
|
|
435
|
+
'.pdf': _0x42cca9(0x1ba),
|
|
436
|
+
'.png': _0x42cca9(0x175),
|
|
437
|
+
'.svg': 'image/svg+xml',
|
|
438
|
+
'.txt': 'text/plain',
|
|
439
|
+
'.webp': _0x42cca9(0x17f),
|
|
454
440
|
'.xml': 'application/xml',
|
|
455
|
-
'.zip':
|
|
441
|
+
'.zip': _0x42cca9(0xf3)
|
|
456
442
|
};
|
|
457
|
-
function guessContentType(
|
|
458
|
-
const
|
|
459
|
-
|
|
460
|
-
_0x24c8a4: 0x127
|
|
461
|
-
}, _0x527b6e = _0x404ee2;
|
|
462
|
-
return MIME_BY_EXTENSION[_0x6a8220[_0x527b6e(_0x301ff6._0x10942d)](_0x50e420)[_0x527b6e(0x15e)]()] ?? _0x527b6e(_0x301ff6._0x24c8a4);
|
|
443
|
+
function guessContentType(_0x122329) {
|
|
444
|
+
const _0x10ca19 = { _0x52fdbf: 0x191 }, _0x25492d = _0x42cca9;
|
|
445
|
+
return MIME_BY_EXTENSION[_0x3ec660[_0x25492d(_0x10ca19._0x52fdbf)](_0x122329)['toLowerCase']()] ?? _0x25492d(0x231);
|
|
463
446
|
}
|
|
464
|
-
function safeFilename(
|
|
465
|
-
return
|
|
447
|
+
function safeFilename(_0x490595) {
|
|
448
|
+
return _0x490595['replace'](/[\\/]/g, '-');
|
|
466
449
|
}
|
|
467
|
-
function extensionFor(
|
|
468
|
-
const
|
|
469
|
-
return
|
|
450
|
+
function extensionFor(_0x2ee2a5) {
|
|
451
|
+
const _0x2befbb = { _0x38670d: 0x1ed }, _0x26f75f = _0x42cca9, _0x1cf2d8 = Object[_0x26f75f(_0x2befbb._0x38670d)](MIME_BY_EXTENSION)['find'](([, _0x4aed3a]) => _0x4aed3a === _0x2ee2a5);
|
|
452
|
+
return _0x1cf2d8?.[0x0] ?? '.bin';
|
|
470
453
|
}
|
|
471
|
-
async function prepareUploadFile(
|
|
472
|
-
const
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
},
|
|
477
|
-
if (!
|
|
478
|
-
throw new Error(
|
|
479
|
-
const
|
|
480
|
-
if (!
|
|
481
|
-
throw new Error(
|
|
482
|
-
const
|
|
483
|
-
if (
|
|
484
|
-
throw new Error(
|
|
485
|
-
const
|
|
454
|
+
async function prepareUploadFile(_0x469d99, _0x29ff7a = {}) {
|
|
455
|
+
const _0x3284b9 = {
|
|
456
|
+
_0x57b4e1: 0x107,
|
|
457
|
+
_0x2811b2: 0x184,
|
|
458
|
+
_0x12e706: 0xfb
|
|
459
|
+
}, _0x213bc2 = _0x42cca9;
|
|
460
|
+
if (!_0x3ec660[_0x213bc2(_0x3284b9._0x57b4e1)](_0x469d99))
|
|
461
|
+
throw new Error(_0x213bc2(0x163));
|
|
462
|
+
const _0x3ee5da = await stat(_0x469d99)[_0x213bc2(0x19f)](() => null);
|
|
463
|
+
if (!_0x3ee5da || !_0x3ee5da[_0x213bc2(0x1d8)]())
|
|
464
|
+
throw new Error(_0x213bc2(0x1c6) + _0x469d99);
|
|
465
|
+
const _0x45bfc4 = _0x29ff7a[_0x213bc2(0x19b)] ?? DEFAULT_MAX_FILE_SIZE;
|
|
466
|
+
if (_0x3ee5da[_0x213bc2(_0x3284b9._0x2811b2)] > _0x45bfc4)
|
|
467
|
+
throw new Error(_0x213bc2(0x200) + _0x3ee5da[_0x213bc2(0x184)]);
|
|
468
|
+
const _0x513303 = await readFile(_0x469d99), _0x18b9ea = _0x3ec660[_0x213bc2(_0x3284b9._0x12e706)](_0x469d99);
|
|
486
469
|
return {
|
|
487
|
-
'contentBase64':
|
|
488
|
-
'contentType': guessContentType(
|
|
489
|
-
'filename':
|
|
490
|
-
'sizeBytes':
|
|
470
|
+
'contentBase64': _0x513303[_0x213bc2(0x11b)](_0x213bc2(0x179)),
|
|
471
|
+
'contentType': guessContentType(_0x18b9ea),
|
|
472
|
+
'filename': _0x18b9ea,
|
|
473
|
+
'sizeBytes': _0x3ee5da['size']
|
|
491
474
|
};
|
|
492
475
|
}
|
|
493
|
-
function createAttachmentCache(
|
|
494
|
-
const
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
_0x12bb61: 0x1f7
|
|
501
|
-
}, _0xcfe665 = { _0xaff5f: 0x1da }, _0x56ea5f = _0x404ee2, _0xa418b = _0xaaf292[_0x56ea5f(_0x259387._0x2fa5be)] ?? _0x6a8220[_0x56ea5f(_0x259387._0x2ffe56)](homedir(), _0x56ea5f(0x17c), _0x56ea5f(0x198));
|
|
476
|
+
function createAttachmentCache(_0x2598c7 = {}) {
|
|
477
|
+
const _0x17cdaf = {
|
|
478
|
+
_0x5140c9: 0x1ef,
|
|
479
|
+
_0x53c4e3: 0x1e5,
|
|
480
|
+
_0x45fa1c: 0x1ef,
|
|
481
|
+
_0xb0449c: 0x1c7
|
|
482
|
+
}, _0x3879a1 = _0x42cca9, _0x2105b6 = _0x2598c7['cacheDir'] ?? _0x3ec660[_0x3879a1(0x201)](homedir(), _0x3879a1(0x246), 'attachments');
|
|
502
483
|
return {
|
|
503
|
-
'cacheDir':
|
|
504
|
-
async 'findCachedPath'(
|
|
505
|
-
const
|
|
506
|
-
await mkdir(
|
|
507
|
-
const
|
|
508
|
-
return
|
|
484
|
+
'cacheDir': _0x2105b6,
|
|
485
|
+
async 'findCachedPath'(_0x20647e) {
|
|
486
|
+
const _0x55379e = _0x3879a1;
|
|
487
|
+
await mkdir(_0x2105b6, { 'recursive': !![] });
|
|
488
|
+
const _0x36452c = await readdir(_0x2105b6), _0x5900ed = _0x36452c[_0x55379e(0x230)](_0x1bb5f7 => _0x1bb5f7[_0x55379e(0x117)](_0x20647e + '-') || _0x1bb5f7[_0x55379e(0x117)](_0x20647e));
|
|
489
|
+
return _0x5900ed ? _0x3ec660[_0x55379e(0x201)](_0x2105b6, _0x5900ed) : null;
|
|
509
490
|
},
|
|
510
|
-
async 'save'(
|
|
511
|
-
const
|
|
512
|
-
await mkdir(
|
|
513
|
-
const
|
|
514
|
-
return await writeFile(
|
|
491
|
+
async 'save'(_0x370b63) {
|
|
492
|
+
const _0x410f56 = _0x3879a1;
|
|
493
|
+
await mkdir(_0x2105b6, { 'recursive': !![] });
|
|
494
|
+
const _0x2353f4 = _0x370b63[_0x410f56(_0x17cdaf._0x5140c9)]?.[_0x410f56(_0x17cdaf._0x53c4e3)]() ? safeFilename(_0x370b63[_0x410f56(_0x17cdaf._0x45fa1c)]) : '' + _0x370b63[_0x410f56(0x1c7)] + extensionFor(_0x370b63[_0x410f56(0xf8)]), _0x349b47 = _0x3ec660[_0x410f56(0x201)](_0x2105b6, _0x370b63[_0x410f56(_0x17cdaf._0xb0449c)] + '-' + _0x2353f4);
|
|
495
|
+
return await writeFile(_0x349b47, _0x370b63[_0x410f56(0x17d)]), _0x349b47;
|
|
515
496
|
}
|
|
516
497
|
};
|
|
517
498
|
}
|
|
@@ -519,1842 +500,1860 @@ import {
|
|
|
519
500
|
createHash,
|
|
520
501
|
randomUUID
|
|
521
502
|
} from 'node:crypto';
|
|
522
|
-
var UNSUPPORTED_TARGET_MESSAGE =
|
|
523
|
-
function ensureSegment(
|
|
524
|
-
const
|
|
525
|
-
if (!
|
|
503
|
+
var UNSUPPORTED_TARGET_MESSAGE = _0x42cca9(0x1eb);
|
|
504
|
+
function ensureSegment(_0x553087) {
|
|
505
|
+
const _0x364c22 = { _0x3b9500: 0x24a }, _0x41f81d = _0x42cca9, _0x48fe6a = _0x553087[_0x41f81d(0x1e5)]();
|
|
506
|
+
if (!_0x48fe6a || _0x48fe6a[_0x41f81d(_0x364c22._0x3b9500)](':'))
|
|
526
507
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
527
|
-
return
|
|
508
|
+
return _0x48fe6a;
|
|
528
509
|
}
|
|
529
|
-
function parseThreadParts(
|
|
530
|
-
const
|
|
531
|
-
if (
|
|
510
|
+
function parseThreadParts(_0x2e965f) {
|
|
511
|
+
const _0x477d6b = _0x42cca9, _0x5c07c7 = _0x2e965f[_0x477d6b(0x12b)](':');
|
|
512
|
+
if (_0x5c07c7['length'] < 0x1 || _0x5c07c7['length'] > 0x2)
|
|
532
513
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
533
514
|
return {
|
|
534
|
-
'channelName': ensureSegment(
|
|
535
|
-
'threadShortId':
|
|
515
|
+
'channelName': ensureSegment(_0x5c07c7[0x0] ?? ''),
|
|
516
|
+
'threadShortId': _0x5c07c7[0x1] ? ensureSegment(_0x5c07c7[0x1]) : null
|
|
536
517
|
};
|
|
537
518
|
}
|
|
538
|
-
function parseTarget(
|
|
539
|
-
const
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
519
|
+
function parseTarget(_0x10ca27) {
|
|
520
|
+
const _0x2f7904 = {
|
|
521
|
+
_0x53cb55: 0x117,
|
|
522
|
+
_0xf40ee9: 0x242,
|
|
523
|
+
_0x3b5b45: 0x144,
|
|
524
|
+
_0x575df1: 0x13a,
|
|
525
|
+
_0x524ab7: 0x144,
|
|
526
|
+
_0x2ed592: 0x211,
|
|
527
|
+
_0x2cbc8e: 0x14e,
|
|
528
|
+
_0x449953: 0x144
|
|
529
|
+
}, _0x5dce52 = _0x42cca9, _0x50cc1a = _0x10ca27[_0x5dce52(0x1e5)]();
|
|
530
|
+
if (!_0x50cc1a)
|
|
549
531
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
550
|
-
if (
|
|
551
|
-
const
|
|
552
|
-
if (!
|
|
532
|
+
if (_0x50cc1a[_0x5dce52(_0x2f7904._0x53cb55)]('#')) {
|
|
533
|
+
const _0x152946 = parseThreadParts(_0x50cc1a[_0x5dce52(_0x2f7904._0xf40ee9)](0x1)), _0x21b2a8 = '#' + _0x152946[_0x5dce52(0x249)];
|
|
534
|
+
if (!_0x152946[_0x5dce52(_0x2f7904._0x3b5b45)])
|
|
553
535
|
return {
|
|
554
|
-
'channelName':
|
|
555
|
-
'channelTarget':
|
|
556
|
-
'kind':
|
|
557
|
-
'target':
|
|
536
|
+
'channelName': _0x152946['channelName'],
|
|
537
|
+
'channelTarget': _0x21b2a8,
|
|
538
|
+
'kind': _0x5dce52(_0x2f7904._0x575df1),
|
|
539
|
+
'target': _0x21b2a8
|
|
558
540
|
};
|
|
559
541
|
return {
|
|
560
|
-
'channelName':
|
|
561
|
-
'channelTarget':
|
|
562
|
-
'kind':
|
|
563
|
-
'target':
|
|
564
|
-
'threadShortId':
|
|
542
|
+
'channelName': _0x152946['channelName'],
|
|
543
|
+
'channelTarget': _0x21b2a8,
|
|
544
|
+
'kind': 'thread',
|
|
545
|
+
'target': _0x21b2a8 + ':' + _0x152946[_0x5dce52(0x144)],
|
|
546
|
+
'threadShortId': _0x152946[_0x5dce52(_0x2f7904._0x524ab7)]
|
|
565
547
|
};
|
|
566
548
|
}
|
|
567
|
-
if (
|
|
568
|
-
const
|
|
569
|
-
if (!
|
|
549
|
+
if (_0x50cc1a[_0x5dce52(0x117)]('dm:')) {
|
|
550
|
+
const _0x1af84c = parseThreadParts(_0x50cc1a[_0x5dce52(_0x2f7904._0xf40ee9)](0x3));
|
|
551
|
+
if (!_0x1af84c[_0x5dce52(0x249)][_0x5dce52(_0x2f7904._0x53cb55)]('dm-'))
|
|
570
552
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
571
|
-
const
|
|
572
|
-
if (!
|
|
553
|
+
const _0x3e4e69 = _0x5dce52(_0x2f7904._0x2ed592) + _0x1af84c['channelName'];
|
|
554
|
+
if (!_0x1af84c[_0x5dce52(0x144)])
|
|
573
555
|
return {
|
|
574
|
-
'channelName':
|
|
575
|
-
'channelTarget':
|
|
576
|
-
'kind':
|
|
577
|
-
'target':
|
|
556
|
+
'channelName': _0x1af84c[_0x5dce52(0x249)],
|
|
557
|
+
'channelTarget': _0x3e4e69,
|
|
558
|
+
'kind': 'channel',
|
|
559
|
+
'target': _0x3e4e69
|
|
578
560
|
};
|
|
579
561
|
return {
|
|
580
|
-
'channelName':
|
|
581
|
-
'channelTarget':
|
|
582
|
-
'kind':
|
|
583
|
-
'target':
|
|
584
|
-
'threadShortId':
|
|
562
|
+
'channelName': _0x1af84c['channelName'],
|
|
563
|
+
'channelTarget': _0x3e4e69,
|
|
564
|
+
'kind': _0x5dce52(_0x2f7904._0x2cbc8e),
|
|
565
|
+
'target': _0x3e4e69 + ':' + _0x1af84c[_0x5dce52(_0x2f7904._0x449953)],
|
|
566
|
+
'threadShortId': _0x1af84c['threadShortId']
|
|
585
567
|
};
|
|
586
568
|
}
|
|
587
569
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
588
570
|
}
|
|
589
|
-
function asErrorMessage(
|
|
590
|
-
const
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
if (typeof _0xba5ad5 === _0x4e4e31(_0x4bb557._0x4ae4b1) && _0xba5ad5[_0x4e4e31(_0x4bb557._0x27fb9b)]())
|
|
595
|
-
return _0xba5ad5;
|
|
596
|
-
return _0x592d14;
|
|
571
|
+
function asErrorMessage(_0xe0cb47, _0x4874d9) {
|
|
572
|
+
const _0x12f013 = { _0x4571fe: 0x1f9 }, _0x3c1c3e = _0x42cca9;
|
|
573
|
+
if (typeof _0xe0cb47 === _0x3c1c3e(_0x12f013._0x4571fe) && _0xe0cb47[_0x3c1c3e(0x1e5)]())
|
|
574
|
+
return _0xe0cb47;
|
|
575
|
+
return _0x4874d9;
|
|
597
576
|
}
|
|
598
|
-
function asRecord(
|
|
599
|
-
|
|
577
|
+
function asRecord(_0x708e5b) {
|
|
578
|
+
const _0x26c107 = { _0x485874: 0x1e4 }, _0x5a33d0 = _0x42cca9;
|
|
579
|
+
return typeof _0x708e5b === _0x5a33d0(_0x26c107._0x485874) && _0x708e5b !== null ? _0x708e5b : {};
|
|
600
580
|
}
|
|
601
|
-
function stableStringify(
|
|
602
|
-
const
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
581
|
+
function stableStringify(_0x56043f) {
|
|
582
|
+
const _0x5844ed = {
|
|
583
|
+
_0x1512af: 0x1e4,
|
|
584
|
+
_0x1bcfe3: 0x1ac,
|
|
585
|
+
_0x5208f4: 0x1df,
|
|
586
|
+
_0x366c5e: 0x1ed,
|
|
587
|
+
_0x2084a6: 0x258,
|
|
588
|
+
_0x42c0fb: 0x1c2,
|
|
589
|
+
_0x38321e: 0x201
|
|
590
|
+
}, _0x31efef = _0x42cca9;
|
|
591
|
+
if (_0x56043f === null || typeof _0x56043f !== _0x31efef(_0x5844ed._0x1512af))
|
|
592
|
+
return JSON[_0x31efef(_0x5844ed._0x1bcfe3)](_0x56043f);
|
|
593
|
+
if (Array[_0x31efef(_0x5844ed._0x5208f4)](_0x56043f))
|
|
594
|
+
return '[' + _0x56043f['map'](_0x54b08a => stableStringify(_0x54b08a))[_0x31efef(0x201)](',') + ']';
|
|
595
|
+
const _0x7b529 = Object[_0x31efef(_0x5844ed._0x366c5e)](_0x56043f)[_0x31efef(_0x5844ed._0x2084a6)](([, _0x177a6f]) => _0x177a6f !== void 0x0)['sort'](([_0x58eba0], [_0x20d57a]) => _0x58eba0['localeCompare'](_0x20d57a))[_0x31efef(_0x5844ed._0x42c0fb)](([_0x4dbba3, _0x1d6f4a]) => JSON[_0x31efef(0x1ac)](_0x4dbba3) + ':' + stableStringify(_0x1d6f4a));
|
|
596
|
+
return '{' + _0x7b529[_0x31efef(_0x5844ed._0x38321e)](',') + '}';
|
|
616
597
|
}
|
|
617
|
-
function createHeaders(
|
|
618
|
-
const _0x3c38ae = _0x404ee2;
|
|
598
|
+
function createHeaders(_0x344eda) {
|
|
619
599
|
return {
|
|
620
|
-
'Content-Type':
|
|
621
|
-
'x-daemon-api-key':
|
|
600
|
+
'Content-Type': 'application/json',
|
|
601
|
+
'x-daemon-api-key': _0x344eda
|
|
622
602
|
};
|
|
623
603
|
}
|
|
624
|
-
function toHttpBaseUrl(
|
|
625
|
-
const
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
},
|
|
631
|
-
if (
|
|
632
|
-
|
|
604
|
+
function toHttpBaseUrl(_0x21ea57) {
|
|
605
|
+
const _0x5baa80 = {
|
|
606
|
+
_0x14a934: 0x1fe,
|
|
607
|
+
_0x1e9add: 0x108,
|
|
608
|
+
_0x29fca5: 0x1fe,
|
|
609
|
+
_0x3e83a3: 0x1fe
|
|
610
|
+
}, _0x1c53c9 = _0x42cca9, _0x4c9259 = new URL(_0x21ea57);
|
|
611
|
+
if (_0x4c9259[_0x1c53c9(_0x5baa80._0x14a934)] === _0x1c53c9(_0x5baa80._0x1e9add))
|
|
612
|
+
_0x4c9259[_0x1c53c9(_0x5baa80._0x29fca5)] = 'http:';
|
|
633
613
|
else
|
|
634
|
-
|
|
635
|
-
return
|
|
614
|
+
_0x4c9259[_0x1c53c9(_0x5baa80._0x3e83a3)] === 'wss:' && (_0x4c9259[_0x1c53c9(_0x5baa80._0x29fca5)] = 'https:');
|
|
615
|
+
return _0x4c9259[_0x1c53c9(0x11b)]()[_0x1c53c9(0x1f3)](/\/$/, '');
|
|
636
616
|
}
|
|
637
|
-
function isMentionBoundary(
|
|
638
|
-
const
|
|
639
|
-
return !
|
|
617
|
+
function isMentionBoundary(_0x2844e1) {
|
|
618
|
+
const _0x1a5282 = { _0x3ebe7c: 0x227 }, _0xb2decf = _0x42cca9;
|
|
619
|
+
return !_0x2844e1 || /\s|[([{'",。!?、:;]/[_0xb2decf(_0x1a5282._0x3ebe7c)](_0x2844e1);
|
|
640
620
|
}
|
|
641
|
-
function isMentionTerminal(
|
|
642
|
-
|
|
621
|
+
function isMentionTerminal(_0xa91344) {
|
|
622
|
+
const _0x2068e6 = _0x42cca9;
|
|
623
|
+
return !_0xa91344 || /\s|[)\]}'",。!?、:;,.!?]/[_0x2068e6(0x227)](_0xa91344);
|
|
643
624
|
}
|
|
644
|
-
function buildMatchableEntries(
|
|
645
|
-
const
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
}, _0x524be6 = _0x404ee2, _0x4a607f = [];
|
|
653
|
-
for (const _0x46e522 of [
|
|
654
|
-
..._0x2678bc[_0x524be6(_0x37c710._0x3a5dba)],
|
|
655
|
-
..._0x2678bc[_0x524be6(_0x37c710._0x63a9ce)]
|
|
625
|
+
function buildMatchableEntries(_0x3a093c) {
|
|
626
|
+
const _0x500989 = {
|
|
627
|
+
_0x5be687: 0x190,
|
|
628
|
+
_0x11d93c: 0x202
|
|
629
|
+
}, _0x42bf02 = _0x42cca9, _0x2bafca = [];
|
|
630
|
+
for (const _0x118f98 of [
|
|
631
|
+
..._0x3a093c['agents'],
|
|
632
|
+
..._0x3a093c[_0x42bf02(0x220)]
|
|
656
633
|
]) {
|
|
657
|
-
|
|
658
|
-
'matchName':
|
|
659
|
-
'matchNameLower':
|
|
660
|
-
'participantId':
|
|
661
|
-
}),
|
|
662
|
-
'matchName':
|
|
663
|
-
'matchNameLower':
|
|
664
|
-
'participantId':
|
|
634
|
+
_0x2bafca[_0x42bf02(_0x500989._0x5be687)]({
|
|
635
|
+
'matchName': _0x118f98[_0x42bf02(0x202)],
|
|
636
|
+
'matchNameLower': _0x118f98[_0x42bf02(0x202)][_0x42bf02(0x23e)](),
|
|
637
|
+
'participantId': _0x118f98['id']
|
|
638
|
+
}), _0x118f98['id'] !== _0x118f98[_0x42bf02(_0x500989._0x11d93c)] && _0x2bafca[_0x42bf02(_0x500989._0x5be687)]({
|
|
639
|
+
'matchName': _0x118f98['id'],
|
|
640
|
+
'matchNameLower': _0x118f98['id'][_0x42bf02(0x23e)](),
|
|
641
|
+
'participantId': _0x118f98['id']
|
|
665
642
|
});
|
|
666
643
|
}
|
|
667
|
-
return
|
|
644
|
+
return _0x2bafca;
|
|
668
645
|
}
|
|
669
|
-
function extractMentionedParticipantIds(
|
|
670
|
-
const
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
if (_0x287760[_0x4035bf] !== '@' || !isMentionBoundary(_0x287760[_0x4035bf - 0x1]))
|
|
646
|
+
function extractMentionedParticipantIds(_0x43267d, _0x358382) {
|
|
647
|
+
const _0x26207e = {
|
|
648
|
+
_0x20b662: 0x127,
|
|
649
|
+
_0x4719ee: 0x269,
|
|
650
|
+
_0x59c6e5: 0x22d,
|
|
651
|
+
_0x145c94: 0x18c,
|
|
652
|
+
_0x4b93e4: 0x18c,
|
|
653
|
+
_0x19da3c: 0x16c
|
|
654
|
+
}, _0x3280f9 = {
|
|
655
|
+
_0x64830a: 0x1ca,
|
|
656
|
+
_0x2f2788: 0x16c,
|
|
657
|
+
_0x129094: 0x269
|
|
658
|
+
}, _0x58ea88 = _0x42cca9, _0x116f02 = buildMatchableEntries(_0x358382)[_0x58ea88(_0x26207e._0x20b662)]((_0x3284f2, _0x139841) => _0x139841[_0x58ea88(0x16c)][_0x58ea88(0x269)] - _0x3284f2['matchName'][_0x58ea88(0x269)]), _0x439b26 = [], _0x103089 = new Set();
|
|
659
|
+
for (let _0x5c5488 = 0x0; _0x5c5488 < _0x43267d[_0x58ea88(_0x26207e._0x4719ee)]; _0x5c5488 += 0x1) {
|
|
660
|
+
if (_0x43267d[_0x5c5488] !== '@' || !isMentionBoundary(_0x43267d[_0x5c5488 - 0x1]))
|
|
685
661
|
continue;
|
|
686
|
-
const
|
|
687
|
-
const
|
|
688
|
-
if (!
|
|
662
|
+
const _0x476a8d = _0x43267d[_0x58ea88(0x242)](_0x5c5488 + 0x1), _0x9509e7 = _0x476a8d[_0x58ea88(0x23e)](), _0x56c5e9 = _0x116f02['find'](_0x5127b9 => {
|
|
663
|
+
const _0xe0d722 = _0x58ea88;
|
|
664
|
+
if (!_0x9509e7[_0xe0d722(0x117)](_0x5127b9[_0xe0d722(_0x3280f9._0x64830a)]))
|
|
689
665
|
return ![];
|
|
690
|
-
return isMentionTerminal(
|
|
666
|
+
return isMentionTerminal(_0x476a8d[_0x5127b9[_0xe0d722(_0x3280f9._0x2f2788)][_0xe0d722(_0x3280f9._0x129094)]]);
|
|
691
667
|
});
|
|
692
|
-
if (!
|
|
668
|
+
if (!_0x56c5e9 || _0x103089['has'](_0x56c5e9['participantId']))
|
|
693
669
|
continue;
|
|
694
|
-
|
|
670
|
+
_0x103089[_0x58ea88(_0x26207e._0x59c6e5)](_0x56c5e9[_0x58ea88(_0x26207e._0x145c94)]), _0x439b26['push'](_0x56c5e9[_0x58ea88(_0x26207e._0x4b93e4)]), _0x5c5488 += _0x56c5e9[_0x58ea88(_0x26207e._0x19da3c)][_0x58ea88(0x269)];
|
|
695
671
|
}
|
|
696
|
-
return
|
|
672
|
+
return _0x439b26;
|
|
697
673
|
}
|
|
698
674
|
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
699
|
-
function anySignal(...
|
|
700
|
-
const
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
_0x43d95d[_0x4fdf38(0x218)](_0x4fdf38(_0x565a54._0x3a077a), () => _0x1d9b9a[_0x4fdf38(0x208)](_0x43d95d[_0x4fdf38(0x224)]), {
|
|
675
|
+
function anySignal(..._0x4c61bc) {
|
|
676
|
+
const _0x4e009b = {
|
|
677
|
+
_0x4420c7: 0x135,
|
|
678
|
+
_0x5dce8c: 0x1ce,
|
|
679
|
+
_0x1f0b3d: 0x1e1
|
|
680
|
+
}, _0x7507f2 = _0x42cca9, _0x3274ec = new AbortController();
|
|
681
|
+
for (const _0x84d3fc of _0x4c61bc) {
|
|
682
|
+
if (_0x84d3fc[_0x7507f2(0x1f6)])
|
|
683
|
+
return _0x3274ec['abort'](_0x84d3fc[_0x7507f2(_0x4e009b._0x4420c7)]), _0x3274ec['signal'];
|
|
684
|
+
_0x84d3fc[_0x7507f2(_0x4e009b._0x5dce8c)](_0x7507f2(_0x4e009b._0x1f0b3d), () => _0x3274ec[_0x7507f2(0x1e1)](_0x84d3fc[_0x7507f2(0x135)]), {
|
|
710
685
|
'once': !![],
|
|
711
|
-
'signal':
|
|
686
|
+
'signal': _0x3274ec[_0x7507f2(0x147)]
|
|
712
687
|
});
|
|
713
688
|
}
|
|
714
|
-
return
|
|
689
|
+
return _0x3274ec[_0x7507f2(0x147)];
|
|
715
690
|
}
|
|
716
|
-
function createInternalAgentClient(
|
|
717
|
-
const
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
},
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
},
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
},
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
},
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
},
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
},
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
},
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
691
|
+
function createInternalAgentClient(_0x31806f) {
|
|
692
|
+
const _0x9c271f = {
|
|
693
|
+
_0x5012b4: 0x261,
|
|
694
|
+
_0x448a33: 0x20f,
|
|
695
|
+
_0x57e244: 0x20f,
|
|
696
|
+
_0x589e32: 0x189,
|
|
697
|
+
_0x34d6f8: 0x1e5,
|
|
698
|
+
_0x2a08af: 0x151,
|
|
699
|
+
_0x2bd2e0: 0x1b3,
|
|
700
|
+
_0x13d86b: 0x142
|
|
701
|
+
}, _0x5522b0 = {
|
|
702
|
+
_0x2eca02: 0x1dc,
|
|
703
|
+
_0x3a7878: 0x1dd,
|
|
704
|
+
_0xf6d12f: 0x130,
|
|
705
|
+
_0x33c947: 0x16a,
|
|
706
|
+
_0x221363: 0x269,
|
|
707
|
+
_0x42de9d: 0x269,
|
|
708
|
+
_0x42207c: 0x221,
|
|
709
|
+
_0x1f03f5: 0x258,
|
|
710
|
+
_0x2cd811: 0x167,
|
|
711
|
+
_0x219ff9: 0x13f,
|
|
712
|
+
_0x37a3db: 0x1a7,
|
|
713
|
+
_0x47eda9: 0x1f9,
|
|
714
|
+
_0x1eb5e1: 0x110,
|
|
715
|
+
_0x1e03dc: 0x260,
|
|
716
|
+
_0x2899e6: 0x260,
|
|
717
|
+
_0xa4baed: 0x237,
|
|
718
|
+
_0x42e30c: 0x12c,
|
|
719
|
+
_0x1fe829: 0x110,
|
|
720
|
+
_0x58474b: 0x190,
|
|
721
|
+
_0x554bcf: 0x1ed,
|
|
722
|
+
_0x4caca6: 0x1a7,
|
|
723
|
+
_0x334e98: 0x1dc,
|
|
724
|
+
_0xf5790f: 0x12c,
|
|
725
|
+
_0x1f5a07: 0x209,
|
|
726
|
+
_0x21b1e4: 0x1a7,
|
|
727
|
+
_0x3364d8: 0x1c5,
|
|
728
|
+
_0x293785: 0x1b6,
|
|
729
|
+
_0xb068e0: 0x12c,
|
|
730
|
+
_0x5c718c: 0x101,
|
|
731
|
+
_0x2c8b2a: 0x118,
|
|
732
|
+
_0x4cc3a1: 0x120,
|
|
733
|
+
_0x21af7c: 0x100
|
|
734
|
+
}, _0xeca43f = {
|
|
735
|
+
_0x459a39: 0x1a7,
|
|
736
|
+
_0xced9ff: 0x208
|
|
737
|
+
}, _0x5b94e7 = {
|
|
738
|
+
_0x2d93cb: 0x208,
|
|
739
|
+
_0x56272f: 0x146,
|
|
740
|
+
_0xdf47e3: 0x109
|
|
741
|
+
}, _0x122bad = {
|
|
742
|
+
_0xe78404: 0x16a,
|
|
743
|
+
_0x2398b4: 0x176,
|
|
744
|
+
_0x417d26: 0x1d6,
|
|
745
|
+
_0x4f3413: 0xf8,
|
|
746
|
+
_0x1ad091: 0x12c,
|
|
747
|
+
_0x1c9586: 0x231,
|
|
748
|
+
_0x243322: 0xf5,
|
|
749
|
+
_0x229a20: 0x17d,
|
|
750
|
+
_0x3104d2: 0x1ef
|
|
751
|
+
}, _0xbcd288 = {
|
|
752
|
+
_0x1ddf29: 0x15e,
|
|
753
|
+
_0x2ed0b1: 0x240,
|
|
754
|
+
_0x4aa808: 0x165,
|
|
755
|
+
_0x12ca98: 0x17d,
|
|
756
|
+
_0x87968e: 0x128,
|
|
757
|
+
_0xa6ee1: 0x262
|
|
758
|
+
}, _0x2d3947 = {
|
|
759
|
+
_0x513f02: 0x130,
|
|
760
|
+
_0x21654a: 0x1ff,
|
|
761
|
+
_0x457ba9: 0x1ac,
|
|
762
|
+
_0x295a65: 0x165
|
|
763
|
+
}, _0x512fe3 = {
|
|
764
|
+
_0x944bbd: 0x1ac,
|
|
765
|
+
_0x3de8be: 0x165
|
|
766
|
+
}, _0x76962e = {
|
|
767
|
+
_0x35fe78: 0x256,
|
|
768
|
+
_0x1a0c1c: 0x1ac,
|
|
769
|
+
_0x296047: 0x1de
|
|
770
|
+
}, _0x5d710f = { _0x49e217: 0x1ac }, _0x10771a = {
|
|
771
|
+
_0x292e6b: 0x1dc,
|
|
772
|
+
_0x86563e: 0x13a,
|
|
773
|
+
_0x4d4a4f: 0x13a,
|
|
774
|
+
_0x5461e7: 0x1c1,
|
|
775
|
+
_0x43c011: 0x130,
|
|
776
|
+
_0xd3d573: 0x1a9,
|
|
777
|
+
_0x41f87f: 0x16a
|
|
778
|
+
}, _0x4553bb = {
|
|
779
|
+
_0x3a4e47: 0x1e9,
|
|
780
|
+
_0x4e2c46: 0x1ac,
|
|
781
|
+
_0x330120: 0x1c1,
|
|
782
|
+
_0x8fd9f4: 0x17d
|
|
783
|
+
}, _0x23f2e5 = {
|
|
784
|
+
_0x2e3594: 0x1e9,
|
|
785
|
+
_0x1f826f: 0x1ac
|
|
786
|
+
}, _0x325636 = { _0x241aa2: 0x123 }, _0x59c851 = { _0x1ac6a9: 0x207 }, _0x5560fa = {
|
|
787
|
+
_0x4994cc: 0x23d,
|
|
788
|
+
_0x1fa6eb: 0x130,
|
|
789
|
+
_0x49f0b3: 0x1a9,
|
|
790
|
+
_0x305337: 0x170,
|
|
791
|
+
_0x47bd76: 0x26b,
|
|
792
|
+
_0x3bf43f: 0x269,
|
|
793
|
+
_0x57f41a: 0x1f2,
|
|
794
|
+
_0x3af19f: 0x1f2,
|
|
795
|
+
_0x685b57: 0x165
|
|
796
|
+
}, _0x4f4306 = {
|
|
797
|
+
_0x51e5ca: 0x157,
|
|
798
|
+
_0x48c831: 0x109,
|
|
799
|
+
_0x890685: 0x208,
|
|
800
|
+
_0x4eb9bd: 0x208,
|
|
801
|
+
_0xa25509: 0x208,
|
|
802
|
+
_0x414d87: 0x113,
|
|
803
|
+
_0x1ae6be: 0x216,
|
|
804
|
+
_0x423003: 0x130,
|
|
805
|
+
_0x474ed7: 0x11b,
|
|
806
|
+
_0x236613: 0x16a,
|
|
807
|
+
_0x4c87b4: 0x18d,
|
|
808
|
+
_0x4b13ea: 0x166
|
|
809
|
+
}, _0x4310d9 = { _0x5ddf99: 0x16b }, _0x37d0d0 = { _0x25896c: 0x18c }, _0x400fc0 = {
|
|
810
|
+
_0x2b0e4a: 0x14e,
|
|
811
|
+
_0x4c3015: 0x260,
|
|
812
|
+
_0x53b476: 0x144,
|
|
813
|
+
_0x2f5428: 0x260,
|
|
814
|
+
_0x90f87c: 0x117
|
|
815
|
+
}, _0x3c2b0d = {
|
|
816
|
+
_0x5e913c: 0x18d,
|
|
817
|
+
_0x47b1fe: 0x110,
|
|
818
|
+
_0x10bd53: 0x109
|
|
819
|
+
}, _0x3ccd7e = {
|
|
820
|
+
_0x3d144c: 0x241,
|
|
821
|
+
_0x38e502: 0x13f,
|
|
822
|
+
_0x2f1ce8: 0x1bd
|
|
823
|
+
}, _0x4a6528 = { _0x151fab: 0x19f }, _0x1e7703 = {
|
|
824
|
+
_0x319b0a: 0x1a9,
|
|
825
|
+
_0x147f37: 0x16a,
|
|
826
|
+
_0x2d269f: 0x1d0,
|
|
827
|
+
_0x449400: 0x258,
|
|
828
|
+
_0x241ab4: 0x1c2,
|
|
829
|
+
_0x287423: 0x17d,
|
|
830
|
+
_0x531aa8: 0x17d,
|
|
831
|
+
_0x37c0aa: 0x24e,
|
|
832
|
+
_0x7c116f: 0x202
|
|
833
|
+
}, _0x481dc5 = {
|
|
834
|
+
_0x15bba4: 0x130,
|
|
835
|
+
_0x523e94: 0x1a9,
|
|
836
|
+
_0x194bc3: 0x1ac,
|
|
837
|
+
_0x1474b9: 0x146,
|
|
838
|
+
_0x1820fa: 0x148,
|
|
839
|
+
_0x148043: 0x109,
|
|
840
|
+
_0x17bedc: 0x17d
|
|
841
|
+
}, _0x31eedb = {
|
|
842
|
+
_0x32677d: 0x1ac,
|
|
843
|
+
_0x4e71c1: 0x182,
|
|
844
|
+
_0x37bc7a: 0x1c1
|
|
845
|
+
}, _0x4dff7f = {
|
|
846
|
+
_0x2f69aa: 0x1e7,
|
|
847
|
+
_0x5c8c84: 0x129
|
|
848
|
+
}, _0x1fef12 = { _0x61394f: 0x147 }, _0x244267 = {
|
|
849
|
+
_0x44a272: 0x147,
|
|
850
|
+
_0x5e8b02: 0x143,
|
|
851
|
+
_0xf91597: 0x1d6
|
|
852
|
+
}, _0x541aa5 = {
|
|
853
|
+
_0x7d508a: 0x1e5,
|
|
854
|
+
_0x25c176: 0x150,
|
|
855
|
+
_0x687b2b: 0x197,
|
|
856
|
+
_0x1a6663: 0x226
|
|
857
|
+
}, _0x573f49 = { _0x129fc5: 0x11b }, _0x136958 = {
|
|
858
|
+
_0x4c90ad: 0x19e,
|
|
859
|
+
_0x136b66: 0x12c,
|
|
860
|
+
_0xd2a836: 0x102,
|
|
861
|
+
_0x5c6c79: 0x21d,
|
|
862
|
+
_0x49ccc8: 0x13c,
|
|
863
|
+
_0x4d17c2: 0x265,
|
|
864
|
+
_0x37cc6f: 0x16f,
|
|
865
|
+
_0x178179: 0x172
|
|
866
|
+
}, _0x6faa56 = _0x42cca9, _0x4d0c5c = _0x31806f[_0x6faa56(0x1ad)] ?? fetch, _0xcabae5 = _0x31806f[_0x6faa56(_0x9c271f._0x5012b4)] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x322f9f = typeof _0x31806f[_0x6faa56(0x20f)] === 'number' && _0x31806f[_0x6faa56(_0x9c271f._0x448a33)] > 0x0 ? _0x31806f[_0x6faa56(_0x9c271f._0x57e244)] : 0x0, _0x350dbd = _0x31806f[_0x6faa56(_0x9c271f._0x589e32)]?.['trim']() || void 0x0, _0x464874 = _0x31806f[_0x6faa56(0x1d5)]?.[_0x6faa56(_0x9c271f._0x34d6f8)]() || void 0x0, _0x4cd8bb = _0x31806f[_0x6faa56(_0x9c271f._0x2a08af)] === !![], _0x4e61a9 = _0x31806f[_0x6faa56(0x11c)]?.[_0x6faa56(_0x9c271f._0x34d6f8)]() || void 0x0, _0xa6d88a = _0x31806f[_0x6faa56(_0x9c271f._0x2bd2e0)]?.['trim']() || void 0x0, _0x530bff = createHeaders(_0x31806f['daemonApiKey']), _0x152c84 = toHttpBaseUrl(_0x31806f[_0x6faa56(_0x9c271f._0x13d86b)]);
|
|
867
|
+
let _0x3abd69 = null;
|
|
868
|
+
const _0x4ec81a = new Map();
|
|
869
|
+
let _0xc2a303 = _0x322f9f, _0x566d45 = _0x322f9f;
|
|
870
|
+
function _0x273ee3(_0x596284) {
|
|
871
|
+
const _0x523e63 = _0x6faa56, _0x31b442 = _0x596284['response'][_0x523e63(_0x136958._0x4c90ad)][_0x523e63(_0x136958._0x136b66)]('content-type') ?? _0x523e63(_0x136958._0xd2a836), _0x1f6eda = _0x596284['bodyText']['trim']()[_0x523e63(0x1f3)](/\s+/g, '\x20')['slice'](0x0, 0x78) || _0x523e63(_0x136958._0x5c6c79);
|
|
872
|
+
return '请求\x20' + _0x596284[_0x523e63(_0x136958._0x49ccc8)] + _0x523e63(_0x136958._0x4d17c2) + _0x596284['response']['status'] + _0x523e63(_0x136958._0x37cc6f) + _0x31b442 + _0x523e63(_0x136958._0x178179) + _0x1f6eda + _0x523e63(0x1c0);
|
|
893
873
|
}
|
|
894
|
-
async function
|
|
895
|
-
const
|
|
896
|
-
if (!
|
|
874
|
+
async function _0x170194(_0x118909, _0x2b1224) {
|
|
875
|
+
const _0x5a27c1 = _0x6faa56, _0x29686a = Buffer[_0x5a27c1(0x116)](await _0x2b1224['arrayBuffer']())[_0x5a27c1(_0x573f49._0x129fc5)]('utf8');
|
|
876
|
+
if (!_0x29686a[_0x5a27c1(0x1e5)]())
|
|
897
877
|
return {};
|
|
898
878
|
try {
|
|
899
|
-
return JSON[
|
|
879
|
+
return JSON[_0x5a27c1(0x11d)](_0x29686a);
|
|
900
880
|
} catch {
|
|
901
|
-
throw new Error(
|
|
902
|
-
'bodyText':
|
|
903
|
-
'requestUrl':
|
|
904
|
-
'response':
|
|
881
|
+
throw new Error(_0x273ee3({
|
|
882
|
+
'bodyText': _0x29686a,
|
|
883
|
+
'requestUrl': _0x118909,
|
|
884
|
+
'response': _0x2b1224
|
|
905
885
|
}));
|
|
906
886
|
}
|
|
907
887
|
}
|
|
908
|
-
function
|
|
909
|
-
const
|
|
910
|
-
if (
|
|
911
|
-
return
|
|
912
|
-
const
|
|
913
|
-
for (const [
|
|
914
|
-
|
|
888
|
+
function _0x1dedfb(_0x58b71f, _0x47ddae) {
|
|
889
|
+
const _0x2a0dc5 = _0x6faa56, _0xaca02f = typeof _0x47ddae['idempotency_key'] === 'string' ? _0x47ddae['idempotency_key'][_0x2a0dc5(_0x541aa5._0x7d508a)]() : '';
|
|
890
|
+
if (_0xaca02f)
|
|
891
|
+
return _0xaca02f;
|
|
892
|
+
const _0x439eb1 = Date[_0x2a0dc5(_0x541aa5._0x25c176)]();
|
|
893
|
+
for (const [_0x5d378e, _0x11edc3] of _0x4ec81a) {
|
|
894
|
+
_0x11edc3['expiresAt'] <= _0x439eb1 && _0x4ec81a['delete'](_0x5d378e);
|
|
915
895
|
}
|
|
916
|
-
const
|
|
917
|
-
...
|
|
896
|
+
const _0x1f21ac = {
|
|
897
|
+
..._0x47ddae,
|
|
918
898
|
'idempotency_key': void 0x0
|
|
919
|
-
},
|
|
920
|
-
if (
|
|
921
|
-
return
|
|
922
|
-
const
|
|
923
|
-
return
|
|
924
|
-
'expiresAt':
|
|
925
|
-
'value':
|
|
926
|
-
}),
|
|
899
|
+
}, _0x2ad73c = createHash(_0x2a0dc5(_0x541aa5._0x687b2b))['update'](_0x58b71f + ':' + stableStringify(_0x1f21ac))['digest'](_0x2a0dc5(_0x541aa5._0x1a6663)), _0x28eb2b = _0x58b71f + ':' + _0x2ad73c, _0x24e742 = _0x4ec81a['get'](_0x28eb2b);
|
|
900
|
+
if (_0x24e742)
|
|
901
|
+
return _0x24e742['value'];
|
|
902
|
+
const _0x23466e = _0x2a0dc5(0x23c) + _0x58b71f + ':' + randomUUID();
|
|
903
|
+
return _0x4ec81a[_0x2a0dc5(0x1dc)](_0x28eb2b, {
|
|
904
|
+
'expiresAt': _0x439eb1 + 0x5 * 0x3c * 0x3e8,
|
|
905
|
+
'value': _0x23466e
|
|
906
|
+
}), _0x23466e;
|
|
927
907
|
}
|
|
928
|
-
async function
|
|
929
|
-
const
|
|
908
|
+
async function _0x26f398(_0x1af50b, _0x98fbbd) {
|
|
909
|
+
const _0x981e6c = _0x6faa56, _0x503a12 = new AbortController(), _0x3f47f0 = setTimeout(() => _0x503a12[_0x981e6c(0x1e1)](), _0xcabae5), _0x28e488 = _0x98fbbd?.[_0x981e6c(_0x244267._0x44a272)] ? anySignal(_0x98fbbd[_0x981e6c(0x147)], _0x503a12['signal']) : _0x503a12['signal'], _0x3836b1 = '' + _0x152c84 + _0x1af50b;
|
|
930
910
|
try {
|
|
931
|
-
const
|
|
932
|
-
...
|
|
933
|
-
'signal':
|
|
934
|
-
}),
|
|
935
|
-
if (!
|
|
936
|
-
throw new Error(asErrorMessage(
|
|
937
|
-
return
|
|
911
|
+
const _0x4fa587 = await _0x4d0c5c(_0x3836b1, {
|
|
912
|
+
..._0x98fbbd,
|
|
913
|
+
'signal': _0x28e488
|
|
914
|
+
}), _0x529b65 = await _0x170194(_0x3836b1, _0x4fa587);
|
|
915
|
+
if (!_0x4fa587['ok'] || _0x529b65['success'] === ![])
|
|
916
|
+
throw new Error(asErrorMessage(_0x529b65[_0x981e6c(_0x244267._0x5e8b02)], _0x981e6c(_0x244267._0xf91597) + _0x4fa587[_0x981e6c(0x1c1)]));
|
|
917
|
+
return _0x529b65;
|
|
938
918
|
} finally {
|
|
939
|
-
clearTimeout(
|
|
919
|
+
clearTimeout(_0x3f47f0);
|
|
940
920
|
}
|
|
941
921
|
}
|
|
942
|
-
async function
|
|
943
|
-
const
|
|
922
|
+
async function _0x3e8f67(_0x49645b, _0x5548c5) {
|
|
923
|
+
const _0xc3f19f = _0x6faa56, _0x18cabd = new AbortController(), _0x2b6fc1 = setTimeout(() => _0x18cabd['abort'](), _0xcabae5), _0x5dd188 = _0x5548c5?.['signal'] ? anySignal(_0x5548c5[_0xc3f19f(_0x1fef12._0x61394f)], _0x18cabd[_0xc3f19f(0x147)]) : _0x18cabd['signal'], _0x1ec0a6 = '' + _0x152c84 + _0x49645b;
|
|
944
924
|
try {
|
|
945
|
-
const
|
|
946
|
-
...
|
|
947
|
-
'signal':
|
|
948
|
-
}),
|
|
949
|
-
if (!
|
|
950
|
-
throw new Error(asErrorMessage(
|
|
951
|
-
return
|
|
925
|
+
const _0x266555 = await _0x4d0c5c(_0x1ec0a6, {
|
|
926
|
+
..._0x5548c5,
|
|
927
|
+
'signal': _0x5dd188
|
|
928
|
+
}), _0x3301db = await _0x170194(_0x1ec0a6, _0x266555);
|
|
929
|
+
if (!_0x266555['ok'])
|
|
930
|
+
throw new Error(asErrorMessage(_0x3301db[_0xc3f19f(0x143)], _0xc3f19f(0x1d6) + _0x266555['status']));
|
|
931
|
+
return _0x3301db;
|
|
952
932
|
} finally {
|
|
953
|
-
clearTimeout(
|
|
933
|
+
clearTimeout(_0x2b6fc1);
|
|
954
934
|
}
|
|
955
935
|
}
|
|
956
|
-
async function
|
|
957
|
-
const
|
|
958
|
-
if (!
|
|
936
|
+
async function _0x18d6c1(_0x1f670d) {
|
|
937
|
+
const _0x3f6843 = _0x6faa56;
|
|
938
|
+
if (!_0x464874 || _0x1f670d <= _0x566d45)
|
|
959
939
|
return;
|
|
960
|
-
await
|
|
961
|
-
'body': JSON[
|
|
962
|
-
'headers':
|
|
963
|
-
'method':
|
|
964
|
-
}),
|
|
940
|
+
await _0x26f398(_0x3f6843(_0x4dff7f._0x2f69aa) + encodeURIComponent(_0x464874) + _0x3f6843(0x16d), {
|
|
941
|
+
'body': JSON[_0x3f6843(0x1ac)]({ 'lastSeenSeq': _0x1f670d }),
|
|
942
|
+
'headers': _0x530bff,
|
|
943
|
+
'method': _0x3f6843(_0x4dff7f._0x5c8c84)
|
|
944
|
+
}), _0x566d45 = _0x1f670d;
|
|
965
945
|
}
|
|
966
|
-
async function
|
|
967
|
-
const
|
|
968
|
-
if (!
|
|
946
|
+
async function _0x26fbc6(_0x32eeb0) {
|
|
947
|
+
const _0x5526c5 = _0x6faa56;
|
|
948
|
+
if (!_0x350dbd || !_0x4e61a9 || _0x32eeb0 <= _0x566d45)
|
|
969
949
|
return;
|
|
970
|
-
const
|
|
971
|
-
'body': JSON[
|
|
972
|
-
'last_seen_seq':
|
|
973
|
-
'worker_session_id':
|
|
950
|
+
const _0x5633fd = await _0x4d0c5c(_0x350dbd + _0x5526c5(0x1b0), {
|
|
951
|
+
'body': JSON[_0x5526c5(_0x31eedb._0x32677d)]({
|
|
952
|
+
'last_seen_seq': _0x32eeb0,
|
|
953
|
+
'worker_session_id': _0x4e61a9
|
|
974
954
|
}),
|
|
975
|
-
'headers': { 'Content-Type':
|
|
976
|
-
'method':
|
|
955
|
+
'headers': { 'Content-Type': _0x5526c5(_0x31eedb._0x4e71c1) },
|
|
956
|
+
'method': _0x5526c5(0x165)
|
|
977
957
|
});
|
|
978
|
-
if (!
|
|
979
|
-
throw new Error('HTTP\x20' +
|
|
980
|
-
|
|
958
|
+
if (!_0x5633fd['ok'])
|
|
959
|
+
throw new Error('HTTP\x20' + _0x5633fd[_0x5526c5(_0x31eedb._0x37bc7a)]);
|
|
960
|
+
_0x566d45 = _0x32eeb0;
|
|
981
961
|
}
|
|
982
|
-
async function
|
|
983
|
-
const
|
|
984
|
-
'body': JSON[
|
|
985
|
-
'headers':
|
|
986
|
-
'method':
|
|
962
|
+
async function _0x324cab(_0x1368fe) {
|
|
963
|
+
const _0x5edc02 = _0x6faa56, _0x3f8c9f = parseTarget(_0x1368fe), _0x5753f5 = await _0x26f398(_0x5edc02(_0x481dc5._0x15bba4) + _0x31806f[_0x5edc02(_0x481dc5._0x523e94)] + '/resolve-channel', {
|
|
964
|
+
'body': JSON[_0x5edc02(_0x481dc5._0x194bc3)]({ 'target': _0x3f8c9f[_0x5edc02(_0x481dc5._0x1474b9)] }),
|
|
965
|
+
'headers': _0x530bff,
|
|
966
|
+
'method': 'POST'
|
|
987
967
|
});
|
|
988
968
|
return {
|
|
989
|
-
'channelId':
|
|
990
|
-
'target':
|
|
991
|
-
'task':
|
|
992
|
-
'threadId':
|
|
993
|
-
'threadNumber':
|
|
969
|
+
'channelId': _0x5753f5[_0x5edc02(0x17d)]?.[_0x5edc02(0x208)] ?? '',
|
|
970
|
+
'target': _0x3f8c9f[_0x5edc02(0x18d)],
|
|
971
|
+
'task': _0x5753f5[_0x5edc02(0x17d)]?.[_0x5edc02(_0x481dc5._0x1820fa)],
|
|
972
|
+
'threadId': _0x5753f5[_0x5edc02(0x17d)]?.[_0x5edc02(_0x481dc5._0x148043)],
|
|
973
|
+
'threadNumber': _0x5753f5[_0x5edc02(_0x481dc5._0x17bedc)]?.[_0x5edc02(0x260)]
|
|
994
974
|
};
|
|
995
975
|
}
|
|
996
|
-
async function
|
|
997
|
-
const
|
|
998
|
-
if (!
|
|
999
|
-
return
|
|
1000
|
-
return
|
|
1001
|
-
const
|
|
1002
|
-
'headers':
|
|
1003
|
-
'method':
|
|
1004
|
-
}),
|
|
1005
|
-
'id':
|
|
1006
|
-
'name':
|
|
1007
|
-
}))[
|
|
1008
|
-
'id':
|
|
1009
|
-
'name':
|
|
1010
|
-
}))[
|
|
976
|
+
async function _0x5a77d7(_0x5d1e50 = {}) {
|
|
977
|
+
const _0x270218 = _0x6faa56;
|
|
978
|
+
if (!_0x5d1e50['forceRefresh'] && _0x3abd69)
|
|
979
|
+
return _0x3abd69;
|
|
980
|
+
return _0x3abd69 = (async () => {
|
|
981
|
+
const _0x580538 = _0x4b08, _0x14f42c = await _0x26f398('/internal/agent/' + _0x31806f[_0x580538(_0x1e7703._0x319b0a)] + _0x580538(0x132), {
|
|
982
|
+
'headers': _0x530bff,
|
|
983
|
+
'method': _0x580538(_0x1e7703._0x147f37)
|
|
984
|
+
}), _0x425185 = _0x14f42c[_0x580538(0x17d)]?.[_0x580538(_0x1e7703._0x2d269f)] ?? [], _0x1df08f = _0x425185['filter'](_0x4c68cf => _0x4c68cf[_0x580538(0x16b)]?.[_0x580538(0x26f)] === _0x580538(0x1bd))[_0x580538(0x1c2)](_0x3b0eb2 => ({
|
|
985
|
+
'id': _0x42a7ac(_0x3b0eb2),
|
|
986
|
+
'name': _0x2d866e(_0x3b0eb2)
|
|
987
|
+
}))[_0x580538(0x258)](_0x35a67c => _0x35a67c['id']), _0x44ccc3 = _0x425185[_0x580538(_0x1e7703._0x449400)](_0x16d4b9 => _0x16d4b9[_0x580538(0x16b)]?.[_0x580538(0x26f)] !== _0x580538(0x1bd))[_0x580538(_0x1e7703._0x241ab4)](_0xcdfa0d => ({
|
|
988
|
+
'id': _0x42a7ac(_0xcdfa0d),
|
|
989
|
+
'name': _0x2d866e(_0xcdfa0d)
|
|
990
|
+
}))[_0x580538(_0x1e7703._0x449400)](_0x2fbf3f => _0x2fbf3f['id']), _0x4d73f1 = _0x14f42c[_0x580538(_0x1e7703._0x287423)]?.[_0x580538(0x24e)]['id'] ?? '';
|
|
1011
991
|
return {
|
|
1012
|
-
'agents':
|
|
1013
|
-
'channels':
|
|
1014
|
-
'humans':
|
|
1015
|
-
'serverId':
|
|
1016
|
-
'serverName':
|
|
992
|
+
'agents': _0x1df08f,
|
|
993
|
+
'channels': _0x14f42c[_0x580538(_0x1e7703._0x531aa8)]?.[_0x580538(0x167)] ?? [],
|
|
994
|
+
'humans': _0x44ccc3,
|
|
995
|
+
'serverId': _0x4d73f1,
|
|
996
|
+
'serverName': _0x14f42c[_0x580538(0x17d)]?.[_0x580538(_0x1e7703._0x37c0aa)][_0x580538(_0x1e7703._0x7c116f)] ?? _0x4d73f1
|
|
1017
997
|
};
|
|
1018
|
-
})()[
|
|
1019
|
-
|
|
1020
|
-
throw
|
|
1021
|
-
}),
|
|
998
|
+
})()[_0x270218(_0x4a6528._0x151fab)](_0x4c1e1b => {
|
|
999
|
+
_0x3abd69 = null;
|
|
1000
|
+
throw _0x4c1e1b;
|
|
1001
|
+
}), _0x3abd69;
|
|
1022
1002
|
}
|
|
1023
|
-
function
|
|
1024
|
-
const
|
|
1025
|
-
return
|
|
1003
|
+
function _0x6baad(_0x5844d1, _0x173d95) {
|
|
1004
|
+
const _0x26bea1 = _0x6faa56;
|
|
1005
|
+
return _0x173d95[_0x26bea1(_0x3ccd7e._0x3d144c)][_0x26bea1(_0x3ccd7e._0x38e502)](_0x576af3 => _0x576af3['id'] === _0x5844d1 || _0x576af3[_0x26bea1(0x202)] === _0x5844d1) ? _0x26bea1(_0x3ccd7e._0x2f1ce8) : 'human';
|
|
1026
1006
|
}
|
|
1027
|
-
function
|
|
1028
|
-
const
|
|
1029
|
-
if (
|
|
1030
|
-
return
|
|
1031
|
-
if (
|
|
1032
|
-
return
|
|
1033
|
-
if (
|
|
1034
|
-
return
|
|
1035
|
-
return
|
|
1007
|
+
function _0x4a1836(_0x4d084b) {
|
|
1008
|
+
const _0x40ea16 = _0x6faa56;
|
|
1009
|
+
if (_0x4d084b[_0x40ea16(0x260)] != null)
|
|
1010
|
+
return _0x4d084b[_0x40ea16(_0x3c2b0d._0x5e913c)] + ':t' + _0x4d084b['threadNumber'];
|
|
1011
|
+
if (_0x4d084b[_0x40ea16(_0x3c2b0d._0x47b1fe)])
|
|
1012
|
+
return _0x4d084b['channelTarget'] + ':' + _0x4d084b[_0x40ea16(0x110)];
|
|
1013
|
+
if (_0x4d084b[_0x40ea16(_0x3c2b0d._0x10bd53)])
|
|
1014
|
+
return _0x4d084b[_0x40ea16(0x18d)] + ':' + _0x4d084b[_0x40ea16(_0x3c2b0d._0x10bd53)][_0x40ea16(0x242)](0x0, 0x8);
|
|
1015
|
+
return _0x4d084b['channelTarget'];
|
|
1036
1016
|
}
|
|
1037
|
-
function
|
|
1038
|
-
const
|
|
1017
|
+
function _0x5083ee(_0x26b7c1, _0x29c96c) {
|
|
1018
|
+
const _0x4e7f00 = _0x6faa56;
|
|
1039
1019
|
try {
|
|
1040
|
-
const
|
|
1041
|
-
if (
|
|
1020
|
+
const _0x30307f = parseTarget(_0x26b7c1);
|
|
1021
|
+
if (_0x30307f['kind'] !== _0x4e7f00(_0x400fc0._0x2b0e4a) || _0x30307f['channelTarget'] !== _0x29c96c[_0x4e7f00(0x18d)])
|
|
1042
1022
|
return ![];
|
|
1043
|
-
if (
|
|
1023
|
+
if (_0x29c96c[_0x4e7f00(_0x400fc0._0x4c3015)] != null && _0x30307f[_0x4e7f00(_0x400fc0._0x53b476)] === 't' + _0x29c96c[_0x4e7f00(_0x400fc0._0x2f5428)])
|
|
1044
1024
|
return !![];
|
|
1045
|
-
if (
|
|
1046
|
-
return
|
|
1047
|
-
if (
|
|
1048
|
-
return
|
|
1025
|
+
if (_0x29c96c[_0x4e7f00(0x110)])
|
|
1026
|
+
return _0x30307f['threadShortId'] === _0x29c96c[_0x4e7f00(0x110)] || _0x29c96c[_0x4e7f00(0x110)][_0x4e7f00(0x117)](_0x30307f['threadShortId']);
|
|
1027
|
+
if (_0x29c96c['threadId'])
|
|
1028
|
+
return _0x30307f[_0x4e7f00(0x144)] === _0x29c96c['threadId'] || _0x29c96c['threadId'][_0x4e7f00(_0x400fc0._0x90f87c)](_0x30307f[_0x4e7f00(0x144)]);
|
|
1049
1029
|
return ![];
|
|
1050
1030
|
} catch {
|
|
1051
1031
|
return ![];
|
|
1052
1032
|
}
|
|
1053
1033
|
}
|
|
1054
|
-
function
|
|
1055
|
-
const
|
|
1056
|
-
return
|
|
1034
|
+
function _0x42a7ac(_0x593d5b) {
|
|
1035
|
+
const _0x43a7b9 = _0x6faa56;
|
|
1036
|
+
return _0x593d5b[_0x43a7b9(0x257)]?.[_0x43a7b9(_0x37d0d0._0x25896c)] ?? _0x593d5b[_0x43a7b9(0x16b)]?.['id'] ?? _0x593d5b[_0x43a7b9(0x18c)] ?? '';
|
|
1057
1037
|
}
|
|
1058
|
-
function
|
|
1059
|
-
const
|
|
1060
|
-
return
|
|
1038
|
+
function _0x2d866e(_0x38b4fb) {
|
|
1039
|
+
const _0xf3e980 = _0x6faa56;
|
|
1040
|
+
return _0x38b4fb[_0xf3e980(_0x4310d9._0x5ddf99)]?.[_0xf3e980(0x202)] ?? _0x42a7ac(_0x38b4fb);
|
|
1061
1041
|
}
|
|
1062
|
-
async function
|
|
1063
|
-
const
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
const
|
|
1069
|
-
'headers':
|
|
1070
|
-
'method':
|
|
1071
|
-
}),
|
|
1072
|
-
'attachments': (
|
|
1073
|
-
'filename':
|
|
1074
|
-
'id':
|
|
1042
|
+
async function _0x4256a0(_0x2c6d34) {
|
|
1043
|
+
const _0x2df7fa = _0x6faa56, _0x598a1f = Math[_0x2df7fa(0xfc)](_0x2c6d34['limit'] ?? 0x32, 0x64), _0x8ce7c8 = await _0x5a77d7(), _0x5a3bf2 = new URLSearchParams();
|
|
1044
|
+
_0x5a3bf2[_0x2df7fa(0x1dc)](_0x2df7fa(_0x4f4306._0x51e5ca), String(_0x598a1f));
|
|
1045
|
+
_0x2c6d34[_0x2df7fa(_0x4f4306._0x48c831)] ? (_0x5a3bf2[_0x2df7fa(0x1dc)](_0x2df7fa(0x109), _0x2c6d34[_0x2df7fa(0x109)]), _0x5a3bf2[_0x2df7fa(0x1dc)](_0x2df7fa(_0x4f4306._0x890685), _0x2c6d34[_0x2df7fa(_0x4f4306._0x4eb9bd)])) : _0x5a3bf2[_0x2df7fa(0x1dc)](_0x2df7fa(_0x4f4306._0xa25509), _0x2c6d34[_0x2df7fa(0x208)]);
|
|
1046
|
+
_0x2c6d34[_0x2df7fa(_0x4f4306._0x414d87)] && _0x5a3bf2['set'](_0x2df7fa(_0x4f4306._0x1ae6be), String(_0x2c6d34['before']));
|
|
1047
|
+
_0x2c6d34[_0x2df7fa(0x25f)] !== void 0x0 && _0x5a3bf2[_0x2df7fa(0x1dc)]('after', String(_0x2c6d34[_0x2df7fa(0x25f)]));
|
|
1048
|
+
const _0x27de22 = await _0x26f398(_0x2df7fa(_0x4f4306._0x423003) + _0x31806f['agentId'] + _0x2df7fa(0x271) + _0x5a3bf2[_0x2df7fa(_0x4f4306._0x474ed7)](), {
|
|
1049
|
+
'headers': _0x530bff,
|
|
1050
|
+
'method': _0x2df7fa(_0x4f4306._0x236613)
|
|
1051
|
+
}), _0x2aa601 = (_0x27de22[_0x2df7fa(0x17d)] ?? [])[_0x2df7fa(0x1c2)](_0x522748 => ({
|
|
1052
|
+
'attachments': (_0x522748[_0x2df7fa(0x101)] ?? [])['map'](_0x564979 => ({
|
|
1053
|
+
'filename': _0x564979[_0x2df7fa(0x128)] ?? _0x564979['id'],
|
|
1054
|
+
'id': _0x564979['id']
|
|
1075
1055
|
})),
|
|
1076
|
-
'content':
|
|
1077
|
-
'createdAt':
|
|
1078
|
-
'messageId':
|
|
1079
|
-
'senderName':
|
|
1080
|
-
'senderType':
|
|
1081
|
-
'seq':
|
|
1056
|
+
'content': _0x522748[_0x2df7fa(0x100)] ?? '',
|
|
1057
|
+
'createdAt': _0x522748['createdAt'],
|
|
1058
|
+
'messageId': _0x522748['id'],
|
|
1059
|
+
'senderName': _0x522748[_0x2df7fa(0x120)],
|
|
1060
|
+
'senderType': _0x6baad(_0x522748[_0x2df7fa(0x120)], _0x8ce7c8),
|
|
1061
|
+
'seq': _0x522748[_0x2df7fa(0x155)] ?? 0x0
|
|
1082
1062
|
}));
|
|
1083
1063
|
return {
|
|
1084
|
-
'channel':
|
|
1085
|
-
'hasMore':
|
|
1086
|
-
'messages':
|
|
1087
|
-
'nextCursor':
|
|
1064
|
+
'channel': _0x2c6d34[_0x2df7fa(_0x4f4306._0x4c87b4)],
|
|
1065
|
+
'hasMore': _0x27de22[_0x2df7fa(0x12a)]?.[_0x2df7fa(_0x4f4306._0x4b13ea)] ?? ![],
|
|
1066
|
+
'messages': _0x2aa601,
|
|
1067
|
+
'nextCursor': _0x27de22['meta']?.['cursor']
|
|
1088
1068
|
};
|
|
1089
1069
|
}
|
|
1090
1070
|
return {
|
|
1091
|
-
async 'sendMessage'(
|
|
1092
|
-
const
|
|
1093
|
-
'body': JSON[
|
|
1094
|
-
'attachment_ids':
|
|
1095
|
-
'bodyMarkdown':
|
|
1096
|
-
'channelId':
|
|
1097
|
-
...
|
|
1098
|
-
'threadId':
|
|
1099
|
-
...
|
|
1071
|
+
async 'sendMessage'(_0x427e04) {
|
|
1072
|
+
const _0x3517bc = _0x6faa56, _0x4011d2 = await _0x324cab(_0x427e04[_0x3517bc(0x146)]), _0x449548 = _0x427e04['content']['includes']('@') ? extractMentionedParticipantIds(_0x427e04[_0x3517bc(_0x5560fa._0x4994cc)], await _0x5a77d7()) : [], _0x1aa22e = await _0x26f398(_0x3517bc(_0x5560fa._0x1fa6eb) + _0x31806f[_0x3517bc(_0x5560fa._0x49f0b3)] + _0x3517bc(_0x5560fa._0x305337), {
|
|
1073
|
+
'body': JSON['stringify']({
|
|
1074
|
+
'attachment_ids': _0x427e04[_0x3517bc(_0x5560fa._0x47bd76)],
|
|
1075
|
+
'bodyMarkdown': _0x427e04['content'],
|
|
1076
|
+
'channelId': _0x4011d2[_0x3517bc(0x208)],
|
|
1077
|
+
..._0x449548[_0x3517bc(_0x5560fa._0x3bf43f)] > 0x0 ? { 'mentionedParticipantIds': _0x449548 } : {},
|
|
1078
|
+
'threadId': _0x4011d2[_0x3517bc(0x109)],
|
|
1079
|
+
..._0x427e04[_0x3517bc(_0x5560fa._0x57f41a)] ? { 'visibility': _0x427e04[_0x3517bc(_0x5560fa._0x3af19f)] } : {}
|
|
1100
1080
|
}),
|
|
1101
|
-
'headers':
|
|
1102
|
-
'method':
|
|
1081
|
+
'headers': _0x530bff,
|
|
1082
|
+
'method': _0x3517bc(_0x5560fa._0x685b57)
|
|
1103
1083
|
});
|
|
1104
|
-
return { 'messageId':
|
|
1084
|
+
return { 'messageId': _0x1aa22e['data']?.['id'] ?? '' };
|
|
1105
1085
|
},
|
|
1106
1086
|
async 'listSchedules'() {
|
|
1107
|
-
const
|
|
1108
|
-
'headers':
|
|
1109
|
-
'method':
|
|
1087
|
+
const _0x543601 = _0x6faa56, _0x59a807 = await _0x26f398(_0x543601(_0x59c851._0x1ac6a9), {
|
|
1088
|
+
'headers': _0x530bff,
|
|
1089
|
+
'method': _0x543601(0x16a)
|
|
1110
1090
|
});
|
|
1111
|
-
return
|
|
1091
|
+
return _0x59a807['data'] ?? [];
|
|
1112
1092
|
},
|
|
1113
|
-
async 'claimScheduleRun'(
|
|
1114
|
-
const
|
|
1115
|
-
'body': JSON[
|
|
1116
|
-
'headers':
|
|
1117
|
-
'method':
|
|
1093
|
+
async 'claimScheduleRun'(_0x2924b0) {
|
|
1094
|
+
const _0x426850 = _0x6faa56, _0x21feb2 = await _0x26f398(_0x426850(_0x325636._0x241aa2), {
|
|
1095
|
+
'body': JSON[_0x426850(0x1ac)](_0x2924b0),
|
|
1096
|
+
'headers': _0x530bff,
|
|
1097
|
+
'method': _0x426850(0x165)
|
|
1118
1098
|
});
|
|
1119
|
-
return
|
|
1099
|
+
return _0x21feb2[_0x426850(0x17d)] ?? {
|
|
1120
1100
|
'granted': ![],
|
|
1121
1101
|
'runId': null,
|
|
1122
1102
|
'schedule': null,
|
|
1123
|
-
'scheduledFor':
|
|
1103
|
+
'scheduledFor': _0x2924b0['scheduledFor']
|
|
1124
1104
|
};
|
|
1125
1105
|
},
|
|
1126
|
-
async 'startScheduleRun'(
|
|
1127
|
-
const
|
|
1128
|
-
'body': JSON[
|
|
1129
|
-
'headers':
|
|
1130
|
-
'method':
|
|
1106
|
+
async 'startScheduleRun'(_0x1c2f74) {
|
|
1107
|
+
const _0x3ec183 = _0x6faa56, _0x421437 = await _0x26f398('/api/internal/schedules/' + encodeURIComponent(_0x1c2f74[_0x3ec183(_0x23f2e5._0x2e3594)]) + _0x3ec183(0xf9), {
|
|
1108
|
+
'body': JSON[_0x3ec183(_0x23f2e5._0x1f826f)]({}),
|
|
1109
|
+
'headers': _0x530bff,
|
|
1110
|
+
'method': _0x3ec183(0x165)
|
|
1131
1111
|
});
|
|
1132
|
-
return
|
|
1112
|
+
return _0x421437[_0x3ec183(0x17d)] ?? {
|
|
1133
1113
|
'claimedByDaemonId': '',
|
|
1134
|
-
'id':
|
|
1114
|
+
'id': _0x1c2f74[_0x3ec183(0x1e9)],
|
|
1135
1115
|
'scheduleId': '',
|
|
1136
|
-
'status':
|
|
1116
|
+
'status': _0x3ec183(0x177)
|
|
1137
1117
|
};
|
|
1138
1118
|
},
|
|
1139
|
-
async 'finishScheduleRun'(
|
|
1140
|
-
const
|
|
1141
|
-
'body': JSON[
|
|
1142
|
-
'error':
|
|
1143
|
-
'resultJson':
|
|
1144
|
-
'status':
|
|
1119
|
+
async 'finishScheduleRun'(_0x51826e) {
|
|
1120
|
+
const _0x3970fb = _0x6faa56, _0x159290 = await _0x26f398(_0x3970fb(0x13e) + encodeURIComponent(_0x51826e[_0x3970fb(_0x4553bb._0x3a4e47)]) + _0x3970fb(0x20d), {
|
|
1121
|
+
'body': JSON[_0x3970fb(_0x4553bb._0x4e2c46)]({
|
|
1122
|
+
'error': _0x51826e['error'],
|
|
1123
|
+
'resultJson': _0x51826e['resultJson'],
|
|
1124
|
+
'status': _0x51826e[_0x3970fb(_0x4553bb._0x330120)]
|
|
1145
1125
|
}),
|
|
1146
|
-
'headers':
|
|
1147
|
-
'method':
|
|
1126
|
+
'headers': _0x530bff,
|
|
1127
|
+
'method': _0x3970fb(0x165)
|
|
1148
1128
|
});
|
|
1149
|
-
return
|
|
1129
|
+
return _0x159290[_0x3970fb(_0x4553bb._0x8fd9f4)] ?? {
|
|
1150
1130
|
'nextRunAt': null,
|
|
1151
1131
|
'run': {
|
|
1152
1132
|
'claimedByDaemonId': '',
|
|
1153
|
-
'id':
|
|
1133
|
+
'id': _0x51826e[_0x3970fb(0x1e9)],
|
|
1154
1134
|
'scheduleId': '',
|
|
1155
|
-
'status':
|
|
1135
|
+
'status': _0x51826e[_0x3970fb(_0x4553bb._0x330120)]
|
|
1156
1136
|
}
|
|
1157
1137
|
};
|
|
1158
1138
|
},
|
|
1159
|
-
async 'listTasks'(
|
|
1160
|
-
const
|
|
1161
|
-
return
|
|
1162
|
-
'headers':
|
|
1163
|
-
'method':
|
|
1139
|
+
async 'listTasks'(_0x2dede6) {
|
|
1140
|
+
const _0x105fef = _0x6faa56, _0xd2a724 = new URLSearchParams();
|
|
1141
|
+
return _0xd2a724[_0x105fef(_0x10771a._0x292e6b)](_0x105fef(_0x10771a._0x86563e), _0x2dede6[_0x105fef(_0x10771a._0x4d4a4f)]), _0x2dede6[_0x105fef(_0x10771a._0x5461e7)] && _0xd2a724[_0x105fef(0x1dc)]('status', _0x2dede6[_0x105fef(0x1c1)]), _0x3e8f67(_0x105fef(_0x10771a._0x43c011) + _0x31806f[_0x105fef(_0x10771a._0xd3d573)] + '/tasks?' + _0xd2a724[_0x105fef(0x11b)](), {
|
|
1142
|
+
'headers': _0x530bff,
|
|
1143
|
+
'method': _0x105fef(_0x10771a._0x41f87f)
|
|
1164
1144
|
});
|
|
1165
1145
|
},
|
|
1166
|
-
async 'createTasks'(
|
|
1167
|
-
const
|
|
1168
|
-
return
|
|
1169
|
-
'body': JSON[
|
|
1170
|
-
...
|
|
1171
|
-
'idempotency_key':
|
|
1146
|
+
async 'createTasks'(_0x3f6834) {
|
|
1147
|
+
const _0x53b81f = _0x6faa56;
|
|
1148
|
+
return _0x3e8f67('/internal/agent/' + _0x31806f[_0x53b81f(0x1a9)] + _0x53b81f(0x1b2), {
|
|
1149
|
+
'body': JSON[_0x53b81f(_0x5d710f._0x49e217)]({
|
|
1150
|
+
..._0x3f6834,
|
|
1151
|
+
'idempotency_key': _0x1dedfb(_0x53b81f(0x14a), _0x3f6834)
|
|
1172
1152
|
}),
|
|
1173
|
-
'headers':
|
|
1174
|
-
'method':
|
|
1153
|
+
'headers': _0x530bff,
|
|
1154
|
+
'method': _0x53b81f(0x165)
|
|
1175
1155
|
});
|
|
1176
1156
|
},
|
|
1177
|
-
async 'claimTasks'(
|
|
1178
|
-
const
|
|
1179
|
-
return
|
|
1180
|
-
'body': JSON[
|
|
1181
|
-
...
|
|
1182
|
-
'idempotency_key':
|
|
1157
|
+
async 'claimTasks'(_0x3e459a) {
|
|
1158
|
+
const _0x556ef5 = _0x6faa56;
|
|
1159
|
+
return _0x3e8f67(_0x556ef5(0x130) + _0x31806f[_0x556ef5(0x1a9)] + _0x556ef5(_0x76962e._0x35fe78), {
|
|
1160
|
+
'body': JSON[_0x556ef5(_0x76962e._0x1a0c1c)]({
|
|
1161
|
+
..._0x3e459a,
|
|
1162
|
+
'idempotency_key': _0x1dedfb(_0x556ef5(_0x76962e._0x296047), _0x3e459a)
|
|
1183
1163
|
}),
|
|
1184
|
-
'headers':
|
|
1185
|
-
'method':
|
|
1164
|
+
'headers': _0x530bff,
|
|
1165
|
+
'method': _0x556ef5(0x165)
|
|
1186
1166
|
});
|
|
1187
1167
|
},
|
|
1188
|
-
async 'unclaimTask'(
|
|
1189
|
-
const
|
|
1190
|
-
return
|
|
1191
|
-
'body': JSON[
|
|
1192
|
-
...
|
|
1193
|
-
'idempotency_key':
|
|
1168
|
+
async 'unclaimTask'(_0x1adb6f) {
|
|
1169
|
+
const _0x4ae2ad = _0x6faa56;
|
|
1170
|
+
return _0x3e8f67(_0x4ae2ad(0x130) + _0x31806f[_0x4ae2ad(0x1a9)] + _0x4ae2ad(0x1cb), {
|
|
1171
|
+
'body': JSON[_0x4ae2ad(_0x512fe3._0x944bbd)]({
|
|
1172
|
+
..._0x1adb6f,
|
|
1173
|
+
'idempotency_key': _0x1dedfb('unclaim_task', _0x1adb6f)
|
|
1194
1174
|
}),
|
|
1195
|
-
'headers':
|
|
1196
|
-
'method':
|
|
1175
|
+
'headers': _0x530bff,
|
|
1176
|
+
'method': _0x4ae2ad(_0x512fe3._0x3de8be)
|
|
1197
1177
|
});
|
|
1198
1178
|
},
|
|
1199
|
-
async 'updateTaskStatus'(
|
|
1200
|
-
const
|
|
1201
|
-
return
|
|
1202
|
-
'body': JSON[
|
|
1203
|
-
...
|
|
1204
|
-
'idempotency_key':
|
|
1179
|
+
async 'updateTaskStatus'(_0x6b9f2) {
|
|
1180
|
+
const _0x1cf2a7 = _0x6faa56;
|
|
1181
|
+
return _0x3e8f67(_0x1cf2a7(_0x2d3947._0x513f02) + _0x31806f[_0x1cf2a7(0x1a9)] + _0x1cf2a7(_0x2d3947._0x21654a), {
|
|
1182
|
+
'body': JSON[_0x1cf2a7(_0x2d3947._0x457ba9)]({
|
|
1183
|
+
..._0x6b9f2,
|
|
1184
|
+
'idempotency_key': _0x1dedfb(_0x1cf2a7(0x1db), _0x6b9f2)
|
|
1205
1185
|
}),
|
|
1206
|
-
'headers':
|
|
1207
|
-
'method':
|
|
1186
|
+
'headers': _0x530bff,
|
|
1187
|
+
'method': _0x1cf2a7(_0x2d3947._0x295a65)
|
|
1208
1188
|
});
|
|
1209
1189
|
},
|
|
1210
|
-
async 'uploadFile'(
|
|
1211
|
-
const
|
|
1212
|
-
if (
|
|
1213
|
-
throw new Error(
|
|
1214
|
-
const
|
|
1215
|
-
'body': JSON[
|
|
1216
|
-
'channel':
|
|
1217
|
-
'contentBase64':
|
|
1218
|
-
'contentType':
|
|
1219
|
-
'originalFilename':
|
|
1190
|
+
async 'uploadFile'(_0x5c21ef) {
|
|
1191
|
+
const _0x2e57af = _0x6faa56, _0x54b481 = await _0x324cab(_0x5c21ef['channel']);
|
|
1192
|
+
if (_0x54b481[_0x2e57af(0x109)])
|
|
1193
|
+
throw new Error(_0x2e57af(_0xbcd288._0x1ddf29));
|
|
1194
|
+
const _0x1ac495 = await _0x26f398(_0x2e57af(0x130) + _0x31806f[_0x2e57af(0x1a9)] + _0x2e57af(_0xbcd288._0x2ed0b1), {
|
|
1195
|
+
'body': JSON[_0x2e57af(0x1ac)]({
|
|
1196
|
+
'channel': _0x54b481[_0x2e57af(0x146)],
|
|
1197
|
+
'contentBase64': _0x5c21ef['contentBase64'],
|
|
1198
|
+
'contentType': _0x5c21ef[_0x2e57af(0xf8)],
|
|
1199
|
+
'originalFilename': _0x5c21ef[_0x2e57af(0x128)]
|
|
1220
1200
|
}),
|
|
1221
|
-
'headers':
|
|
1222
|
-
'method':
|
|
1201
|
+
'headers': _0x530bff,
|
|
1202
|
+
'method': _0x2e57af(_0xbcd288._0x4aa808)
|
|
1223
1203
|
});
|
|
1224
1204
|
return {
|
|
1225
|
-
'attachmentId':
|
|
1226
|
-
'filename':
|
|
1227
|
-
'sizeBytes':
|
|
1205
|
+
'attachmentId': _0x1ac495['data']?.['id'] ?? '',
|
|
1206
|
+
'filename': _0x1ac495[_0x2e57af(_0xbcd288._0x12ca98)]?.[_0x2e57af(0x1ef)] ?? _0x5c21ef[_0x2e57af(_0xbcd288._0x87968e)],
|
|
1207
|
+
'sizeBytes': _0x1ac495[_0x2e57af(_0xbcd288._0x12ca98)]?.[_0x2e57af(_0xbcd288._0xa6ee1)] ?? 0x0
|
|
1228
1208
|
};
|
|
1229
1209
|
},
|
|
1230
|
-
async 'downloadAttachment'(
|
|
1231
|
-
const
|
|
1232
|
-
'headers':
|
|
1233
|
-
'method':
|
|
1234
|
-
}),
|
|
1210
|
+
async 'downloadAttachment'(_0x48070) {
|
|
1211
|
+
const _0x15220d = _0x6faa56, _0x218eab = await _0x26f398(_0x15220d(0x22e) + _0x48070, {
|
|
1212
|
+
'headers': _0x530bff,
|
|
1213
|
+
'method': _0x15220d(_0x122bad._0xe78404)
|
|
1214
|
+
}), _0x30c5bb = new AbortController(), _0x6532c9 = setTimeout(() => _0x30c5bb[_0x15220d(0x1e1)](), _0xcabae5);
|
|
1235
1215
|
try {
|
|
1236
|
-
const
|
|
1237
|
-
'headers':
|
|
1238
|
-
'method':
|
|
1239
|
-
'signal':
|
|
1216
|
+
const _0x2df6d4 = await _0x4d0c5c(_0x152c84 + _0x15220d(0x22e) + _0x48070 + _0x15220d(_0x122bad._0x2398b4), {
|
|
1217
|
+
'headers': _0x530bff,
|
|
1218
|
+
'method': 'GET',
|
|
1219
|
+
'signal': _0x30c5bb[_0x15220d(0x147)]
|
|
1240
1220
|
});
|
|
1241
|
-
if (!
|
|
1242
|
-
throw new Error(
|
|
1221
|
+
if (!_0x2df6d4['ok'])
|
|
1222
|
+
throw new Error(_0x15220d(_0x122bad._0x417d26) + _0x2df6d4[_0x15220d(0x1c1)]);
|
|
1243
1223
|
return {
|
|
1244
|
-
'contentType':
|
|
1245
|
-
'data': Buffer[
|
|
1246
|
-
'originalFilename':
|
|
1224
|
+
'contentType': _0x218eab[_0x15220d(0x17d)]?.[_0x15220d(_0x122bad._0x4f3413)] ?? _0x2df6d4[_0x15220d(0x19e)][_0x15220d(_0x122bad._0x1ad091)](_0x15220d(0x14b)) ?? _0x15220d(_0x122bad._0x1c9586),
|
|
1225
|
+
'data': Buffer[_0x15220d(0x116)](await _0x2df6d4[_0x15220d(_0x122bad._0x243322)]()),
|
|
1226
|
+
'originalFilename': _0x218eab[_0x15220d(_0x122bad._0x229a20)]?.[_0x15220d(_0x122bad._0x3104d2)]
|
|
1247
1227
|
};
|
|
1248
1228
|
} finally {
|
|
1249
|
-
clearTimeout(
|
|
1229
|
+
clearTimeout(_0x6532c9);
|
|
1250
1230
|
}
|
|
1251
1231
|
},
|
|
1252
1232
|
async 'listServer'() {
|
|
1253
|
-
return
|
|
1233
|
+
return _0x5a77d7({ 'forceRefresh': !![] });
|
|
1254
1234
|
},
|
|
1255
|
-
async 'readHistory'(
|
|
1256
|
-
const
|
|
1257
|
-
return
|
|
1258
|
-
'after':
|
|
1259
|
-
'before':
|
|
1260
|
-
'channelId':
|
|
1261
|
-
'channelTarget':
|
|
1262
|
-
'limit':
|
|
1263
|
-
'threadId':
|
|
1235
|
+
async 'readHistory'(_0x2aa046) {
|
|
1236
|
+
const _0x488f4b = _0x6faa56, _0x41d272 = await _0x324cab(_0x2aa046[_0x488f4b(0x13a)]);
|
|
1237
|
+
return _0x4256a0({
|
|
1238
|
+
'after': _0x2aa046['after'],
|
|
1239
|
+
'before': _0x2aa046['before'],
|
|
1240
|
+
'channelId': _0x41d272[_0x488f4b(_0x5b94e7._0x2d93cb)],
|
|
1241
|
+
'channelTarget': _0x41d272[_0x488f4b(_0x5b94e7._0x56272f)],
|
|
1242
|
+
'limit': _0x2aa046[_0x488f4b(0x157)],
|
|
1243
|
+
'threadId': _0x41d272[_0x488f4b(_0x5b94e7._0xdf47e3)]
|
|
1264
1244
|
});
|
|
1265
1245
|
},
|
|
1266
|
-
'resolveTarget':
|
|
1246
|
+
'resolveTarget': _0x324cab,
|
|
1267
1247
|
async 'checkMessages'() {
|
|
1268
|
-
const
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
'
|
|
1276
|
-
|
|
1277
|
-
let _0x4458a9 = await _0x5702ac(), _0x346e34 = new Map(_0x4458a9[_0x4984e4(0x294)]['map'](_0x590868 => [
|
|
1278
|
-
_0x590868['id'],
|
|
1279
|
-
_0x590868
|
|
1248
|
+
const _0x10617b = _0x6faa56, _0x4c180f = new URLSearchParams();
|
|
1249
|
+
_0x4c180f[_0x10617b(_0x5522b0._0x2eca02)](_0x10617b(_0x5522b0._0x3a7878), String(_0xc2a303));
|
|
1250
|
+
const _0x38156d = _0x4c180f['toString'](), _0x1554fb = await _0x26f398(_0x10617b(_0x5522b0._0xf6d12f) + _0x31806f['agentId'] + _0x10617b(0x245) + (_0x38156d ? '?' + _0x38156d : ''), {
|
|
1251
|
+
'headers': _0x530bff,
|
|
1252
|
+
'method': _0x10617b(_0x5522b0._0x33c947)
|
|
1253
|
+
}), _0x5f192c = _0x1554fb['data'] ?? [], _0x42120b = _0x1554fb['meta']?.[_0x10617b(0x216)], _0x1ddb84 = _0x42120b !== void 0x0 ? Math[_0x10617b(0x192)](_0xc2a303, _0x42120b) : _0x5f192c[_0x10617b(_0x5522b0._0x221363)] > 0x0 ? Math[_0x10617b(0x192)](_0xc2a303, _0x5f192c[_0x5f192c[_0x10617b(_0x5522b0._0x42de9d)] - 0x1][_0x10617b(_0x5522b0._0x42207c)]) : _0xc2a303, _0x4cafd1 = _0x5f192c[_0x10617b(_0x5522b0._0x1f03f5)](_0x49211e => _0x49211e[_0x10617b(0x1e2)] === _0x10617b(0x10f)), _0x5b9cd9 = _0xa6d88a === void 0x0 && _0x4cd8bb;
|
|
1254
|
+
let _0x34b803 = await _0x5a77d7(), _0x213f17 = new Map(_0x34b803[_0x10617b(_0x5522b0._0x2cd811)][_0x10617b(0x1c2)](_0xc21265 => [
|
|
1255
|
+
_0xc21265['id'],
|
|
1256
|
+
_0xc21265
|
|
1280
1257
|
]));
|
|
1281
|
-
const
|
|
1282
|
-
const
|
|
1283
|
-
return Boolean(
|
|
1258
|
+
const _0xbd7a04 = _0x4cafd1[_0x10617b(_0x5522b0._0x219ff9)](_0x351160 => {
|
|
1259
|
+
const _0x5c29bf = _0x10617b, _0x14b3c5 = asRecord(_0x351160[_0x5c29bf(_0xeca43f._0x459a39)]), _0x12db9b = typeof _0x14b3c5?.[_0x5c29bf(_0xeca43f._0xced9ff)] === 'string' ? _0x14b3c5[_0x5c29bf(0x208)] : '';
|
|
1260
|
+
return Boolean(_0x12db9b) && !_0x213f17[_0x5c29bf(0x1a4)](_0x12db9b);
|
|
1284
1261
|
});
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1262
|
+
_0xbd7a04 && (_0x34b803 = await _0x5a77d7({ 'forceRefresh': !![] }), _0x213f17 = new Map(_0x34b803[_0x10617b(0x167)][_0x10617b(0x1c2)](_0x36a72b => [
|
|
1263
|
+
_0x36a72b['id'],
|
|
1264
|
+
_0x36a72b
|
|
1288
1265
|
])));
|
|
1289
|
-
const
|
|
1290
|
-
for (const
|
|
1291
|
-
const
|
|
1292
|
-
if (!
|
|
1266
|
+
const _0x411d93 = new Map();
|
|
1267
|
+
for (const _0x2979d0 of _0x4cafd1) {
|
|
1268
|
+
const _0x37674d = asRecord(_0x2979d0[_0x10617b(_0x5522b0._0x37a3db)]), _0x2e7667 = typeof _0x37674d[_0x10617b(0x208)] === 'string' ? _0x37674d[_0x10617b(0x208)] : '';
|
|
1269
|
+
if (!_0x2e7667)
|
|
1293
1270
|
continue;
|
|
1294
|
-
const
|
|
1271
|
+
const _0x48822c = typeof _0x37674d['threadId'] === _0x10617b(_0x5522b0._0x47eda9) ? _0x37674d[_0x10617b(0x109)] : void 0x0, _0x4d1aa6 = typeof _0x37674d[_0x10617b(_0x5522b0._0x1eb5e1)] === _0x10617b(0x1f9) ? _0x37674d[_0x10617b(0x110)] : void 0x0, _0x4b16c9 = typeof _0x37674d[_0x10617b(_0x5522b0._0x1e03dc)] === _0x10617b(0x119) && Number[_0x10617b(0x1a1)](_0x37674d[_0x10617b(_0x5522b0._0x1e03dc)]) ? _0x37674d[_0x10617b(_0x5522b0._0x2899e6)] : void 0x0, _0x24ccc9 = Boolean(_0x48822c && (!_0x4d1aa6 || _0x2979d0[_0x10617b(_0x5522b0._0xa4baed)] !== _0x4d1aa6)), _0x207432 = _0x24ccc9 ? _0x2e7667 + ':' + _0x48822c : _0x2e7667, _0x4145c6 = _0x411d93[_0x10617b(_0x5522b0._0x42e30c)](_0x207432) ?? {
|
|
1295
1272
|
'aggregateIds': [],
|
|
1296
|
-
'channelId':
|
|
1273
|
+
'channelId': _0x2e7667,
|
|
1297
1274
|
'entries': new Map(),
|
|
1298
|
-
'isThreadReply':
|
|
1299
|
-
'rootMessageId':
|
|
1300
|
-
'threadNumber':
|
|
1301
|
-
'threadId':
|
|
1275
|
+
'isThreadReply': _0x24ccc9,
|
|
1276
|
+
'rootMessageId': _0x4d1aa6,
|
|
1277
|
+
'threadNumber': _0x4b16c9,
|
|
1278
|
+
'threadId': _0x24ccc9 ? _0x48822c : void 0x0
|
|
1302
1279
|
};
|
|
1303
|
-
|
|
1304
|
-
'payloadJson':
|
|
1305
|
-
'seq':
|
|
1306
|
-
}),
|
|
1280
|
+
_0x4145c6[_0x10617b(0x260)] == null && _0x4b16c9 != null && (_0x4145c6[_0x10617b(0x260)] = _0x4b16c9), !_0x4145c6[_0x10617b(_0x5522b0._0x1fe829)] && _0x4d1aa6 && (_0x4145c6[_0x10617b(0x110)] = _0x4d1aa6), _0x4145c6[_0x10617b(0x232)][_0x10617b(_0x5522b0._0x58474b)](_0x2979d0[_0x10617b(0x237)]), _0x4145c6[_0x10617b(_0x5522b0._0x554bcf)][_0x10617b(0x1dc)](_0x2979d0[_0x10617b(0x237)], {
|
|
1281
|
+
'payloadJson': _0x2979d0[_0x10617b(_0x5522b0._0x4caca6)],
|
|
1282
|
+
'seq': _0x2979d0[_0x10617b(0x221)]
|
|
1283
|
+
}), _0x411d93[_0x10617b(_0x5522b0._0x334e98)](_0x207432, _0x4145c6);
|
|
1307
1284
|
}
|
|
1308
|
-
const
|
|
1309
|
-
for (const
|
|
1285
|
+
const _0x50394a = [];
|
|
1286
|
+
for (const _0x87a91a of _0x411d93['values']()) {
|
|
1310
1287
|
const {
|
|
1311
|
-
channelId:
|
|
1312
|
-
threadId:
|
|
1313
|
-
rootMessageId:
|
|
1314
|
-
threadNumber:
|
|
1315
|
-
aggregateIds:
|
|
1316
|
-
isThreadReply:
|
|
1317
|
-
entries:
|
|
1318
|
-
} =
|
|
1319
|
-
'channelTarget':
|
|
1320
|
-
'rootMessageId':
|
|
1321
|
-
'threadId':
|
|
1322
|
-
'threadNumber':
|
|
1323
|
-
},
|
|
1324
|
-
'channelId':
|
|
1325
|
-
'channelTarget':
|
|
1326
|
-
'limit': Math['max'](
|
|
1327
|
-
'threadId':
|
|
1328
|
-
}),
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
])),
|
|
1332
|
-
for (const
|
|
1333
|
-
if (!
|
|
1288
|
+
channelId: _0x4b9bab,
|
|
1289
|
+
threadId: _0x18b710,
|
|
1290
|
+
rootMessageId: _0x5c4101,
|
|
1291
|
+
threadNumber: _0x30766c,
|
|
1292
|
+
aggregateIds: _0x485d37,
|
|
1293
|
+
isThreadReply: _0x27d804,
|
|
1294
|
+
entries: _0x3d16cc
|
|
1295
|
+
} = _0x87a91a, _0x4668b2 = _0x213f17[_0x10617b(_0x5522b0._0xf5790f)](_0x4b9bab), _0x4325bd = _0x4668b2?.[_0x10617b(0x202)] ?? _0x4b9bab, _0x5ac6b2 = _0x4668b2?.[_0x10617b(_0x5522b0._0x1f5a07)] === 'dm' ? _0x10617b(0x211) + _0x4325bd : '#' + _0x4325bd, _0x467b1d = {
|
|
1296
|
+
'channelTarget': _0x5ac6b2,
|
|
1297
|
+
'rootMessageId': _0x5c4101,
|
|
1298
|
+
'threadId': _0x18b710,
|
|
1299
|
+
'threadNumber': _0x30766c
|
|
1300
|
+
}, _0x11e6e9 = await _0x4256a0({
|
|
1301
|
+
'channelId': _0x4b9bab,
|
|
1302
|
+
'channelTarget': _0x5ac6b2,
|
|
1303
|
+
'limit': Math['max'](_0x485d37[_0x10617b(_0x5522b0._0x221363)], 0x32),
|
|
1304
|
+
'threadId': _0x18b710
|
|
1305
|
+
}), _0x5e0711 = new Map(_0x11e6e9[_0x10617b(0x229)]['map'](_0x2eee6e => [
|
|
1306
|
+
_0x2eee6e['messageId'],
|
|
1307
|
+
_0x2eee6e
|
|
1308
|
+
])), _0x227eeb = _0x18b710 ? _0x4a1836(_0x467b1d) : _0x5ac6b2, _0x7e3868 = _0xa6d88a ? _0x27d804 && _0x5083ee(_0xa6d88a, _0x467b1d) : !![], _0x3e0c1d = _0x27d804 ? _0x7e3868 && _0xa6d88a ? _0xa6d88a : _0x227eeb : _0x5ac6b2;
|
|
1309
|
+
for (const _0x1958af of _0x485d37) {
|
|
1310
|
+
if (!_0x7e3868)
|
|
1334
1311
|
continue;
|
|
1335
|
-
const
|
|
1336
|
-
if (
|
|
1312
|
+
const _0x32878d = _0x3d16cc[_0x10617b(0x12c)](_0x1958af), _0x3f4045 = _0x32878d ? asRecord(_0x32878d[_0x10617b(_0x5522b0._0x21b1e4)]) : void 0x0, _0x48a3b6 = _0x3f4045?.[_0x10617b(_0x5522b0._0x3364d8)] === _0x10617b(_0x5522b0._0x293785);
|
|
1313
|
+
if (_0x5b9cd9 && _0x48a3b6)
|
|
1337
1314
|
continue;
|
|
1338
|
-
const
|
|
1339
|
-
if (
|
|
1340
|
-
|
|
1341
|
-
'attachments':
|
|
1342
|
-
'content':
|
|
1343
|
-
'createdAt':
|
|
1344
|
-
'messageId':
|
|
1345
|
-
'senderName':
|
|
1346
|
-
'senderType':
|
|
1347
|
-
'target':
|
|
1348
|
-
...
|
|
1315
|
+
const _0x340064 = _0x5e0711[_0x10617b(_0x5522b0._0xb068e0)](_0x1958af);
|
|
1316
|
+
if (_0x340064) {
|
|
1317
|
+
_0x50394a[_0x10617b(0x190)]({
|
|
1318
|
+
'attachments': _0x340064[_0x10617b(_0x5522b0._0x5c718c)],
|
|
1319
|
+
'content': _0x340064[_0x10617b(0x23d)],
|
|
1320
|
+
'createdAt': _0x340064[_0x10617b(0x10e)],
|
|
1321
|
+
'messageId': _0x340064[_0x10617b(0x153)],
|
|
1322
|
+
'senderName': _0x340064['senderName'],
|
|
1323
|
+
'senderType': _0x340064[_0x10617b(_0x5522b0._0x2c8b2a)],
|
|
1324
|
+
'target': _0x3e0c1d,
|
|
1325
|
+
..._0x48a3b6 ? { 'targetedTask': !![] } : {}
|
|
1349
1326
|
});
|
|
1350
1327
|
continue;
|
|
1351
1328
|
}
|
|
1352
|
-
if (
|
|
1353
|
-
const
|
|
1354
|
-
|
|
1329
|
+
if (_0x32878d) {
|
|
1330
|
+
const _0x1bab74 = typeof _0x3f4045?.[_0x10617b(_0x5522b0._0x4cc3a1)] === 'string' ? _0x3f4045[_0x10617b(0x120)] : '', _0x180d07 = typeof _0x3f4045?.[_0x10617b(_0x5522b0._0x21af7c)] === 'string' ? _0x3f4045['bodyMarkdown'] : '';
|
|
1331
|
+
_0x1bab74 && _0x180d07 && _0x50394a[_0x10617b(0x190)]({
|
|
1355
1332
|
'attachments': [],
|
|
1356
|
-
'content':
|
|
1357
|
-
'createdAt': new Date()[
|
|
1358
|
-
'messageId':
|
|
1359
|
-
'senderName':
|
|
1360
|
-
'senderType':
|
|
1361
|
-
'target':
|
|
1362
|
-
...
|
|
1333
|
+
'content': _0x180d07,
|
|
1334
|
+
'createdAt': new Date()[_0x10617b(0x19d)](),
|
|
1335
|
+
'messageId': _0x1958af,
|
|
1336
|
+
'senderName': _0x1bab74,
|
|
1337
|
+
'senderType': _0x6baad(_0x1bab74, _0x34b803),
|
|
1338
|
+
'target': _0x3e0c1d,
|
|
1339
|
+
..._0x48a3b6 ? { 'targetedTask': !![] } : {}
|
|
1363
1340
|
});
|
|
1364
1341
|
}
|
|
1365
1342
|
}
|
|
1366
1343
|
}
|
|
1367
|
-
if (
|
|
1368
|
-
if (
|
|
1369
|
-
await
|
|
1344
|
+
if (_0x1ddb84 > 0x0) {
|
|
1345
|
+
if (_0x464874)
|
|
1346
|
+
await _0x18d6c1(_0x1ddb84);
|
|
1370
1347
|
else
|
|
1371
|
-
|
|
1348
|
+
_0x4e61a9 && await _0x26fbc6(_0x1ddb84);
|
|
1372
1349
|
}
|
|
1373
|
-
return
|
|
1350
|
+
return _0x1ddb84 > _0xc2a303 && (_0xc2a303 = _0x1ddb84), { 'messages': _0xa6d88a ? _0x50394a : _0x5b9cd9 ? _0x50394a['filter'](_0x1d1647 => _0x1d1647[_0x10617b(0x160)] !== !![]) : _0x50394a };
|
|
1374
1351
|
}
|
|
1375
1352
|
};
|
|
1376
1353
|
}
|
|
1377
|
-
function
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1354
|
+
function _0x4b08(_0x33b726, _0x401384) {
|
|
1355
|
+
_0x33b726 = _0x33b726 - 0xf1;
|
|
1356
|
+
const _0x4d0c94 = _0x4d0c();
|
|
1357
|
+
let _0x4b0847 = _0x4d0c94[_0x33b726];
|
|
1358
|
+
if (_0x4b08['sMthJs'] === undefined) {
|
|
1359
|
+
var _0x2f7ca9 = function (_0x234232) {
|
|
1360
|
+
const _0x13022f = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
1361
|
+
let _0x3ec660 = '', _0x122329 = '';
|
|
1362
|
+
for (let _0x490595 = 0x0, _0x2ee2a5, _0x1cf2d8, _0x4aed3a = 0x0; _0x1cf2d8 = _0x234232['charAt'](_0x4aed3a++); ~_0x1cf2d8 && (_0x2ee2a5 = _0x490595 % 0x4 ? _0x2ee2a5 * 0x40 + _0x1cf2d8 : _0x1cf2d8, _0x490595++ % 0x4) ? _0x3ec660 += String['fromCharCode'](0xff & _0x2ee2a5 >> (-0x2 * _0x490595 & 0x6)) : 0x0) {
|
|
1363
|
+
_0x1cf2d8 = _0x13022f['indexOf'](_0x1cf2d8);
|
|
1364
|
+
}
|
|
1365
|
+
for (let _0x469d99 = 0x0, _0x29ff7a = _0x3ec660['length']; _0x469d99 < _0x29ff7a; _0x469d99++) {
|
|
1366
|
+
_0x122329 += '%' + ('00' + _0x3ec660['charCodeAt'](_0x469d99)['toString'](0x10))['slice'](-0x2);
|
|
1367
|
+
}
|
|
1368
|
+
return decodeURIComponent(_0x122329);
|
|
1369
|
+
};
|
|
1370
|
+
_0x4b08['iqEhYS'] = _0x2f7ca9, _0x4b08['DHIjiy'] = {}, _0x4b08['sMthJs'] = !![];
|
|
1371
|
+
}
|
|
1372
|
+
const _0x5aa2eb = _0x4d0c94[0x0], _0x35b899 = _0x33b726 + _0x5aa2eb, _0x1399c3 = _0x4b08['DHIjiy'][_0x35b899];
|
|
1373
|
+
return !_0x1399c3 ? (_0x4b0847 = _0x4b08['iqEhYS'](_0x4b0847), _0x4b08['DHIjiy'][_0x35b899] = _0x4b0847) : _0x4b0847 = _0x1399c3, _0x4b0847;
|
|
1388
1374
|
}
|
|
1389
|
-
function
|
|
1390
|
-
const
|
|
1391
|
-
|
|
1375
|
+
function toLocalTime(_0x38b8a4) {
|
|
1376
|
+
const _0x3e7266 = {
|
|
1377
|
+
_0x5a5862: 0x17b,
|
|
1378
|
+
_0x5bf7fc: 0x1ec,
|
|
1379
|
+
_0x7f32b: 0x186
|
|
1380
|
+
}, _0x56e538 = _0x42cca9, _0x574ad7 = new Date(_0x38b8a4);
|
|
1381
|
+
if (Number['isNaN'](_0x574ad7['getTime']()))
|
|
1382
|
+
return _0x38b8a4;
|
|
1383
|
+
const _0x5353c0 = _0x2f8f4f => String(_0x2f8f4f)[_0x56e538(0x1a5)](0x2, '0');
|
|
1384
|
+
return _0x574ad7['getFullYear']() + '-' + _0x5353c0(_0x574ad7[_0x56e538(0x13b)]() + 0x1) + '-' + _0x5353c0(_0x574ad7[_0x56e538(_0x3e7266._0x5a5862)]()) + '\x20' + _0x5353c0(_0x574ad7[_0x56e538(_0x3e7266._0x5bf7fc)]()) + ':' + _0x5353c0(_0x574ad7[_0x56e538(_0x3e7266._0x7f32b)]()) + ':' + _0x5353c0(_0x574ad7[_0x56e538(0x103)]());
|
|
1385
|
+
}
|
|
1386
|
+
function formatAttachmentSuffix(_0x1c306f) {
|
|
1387
|
+
const _0x4e89d0 = {
|
|
1388
|
+
_0x35fe25: 0x269,
|
|
1389
|
+
_0x100c9a: 0x269,
|
|
1390
|
+
_0x290fc5: 0x201
|
|
1391
|
+
}, _0x4c43c1 = _0x42cca9;
|
|
1392
|
+
if (!_0x1c306f || _0x1c306f[_0x4c43c1(_0x4e89d0._0x35fe25)] === 0x0)
|
|
1392
1393
|
return '';
|
|
1393
|
-
return '\x20[' +
|
|
1394
|
+
return '\x20[' + _0x1c306f[_0x4c43c1(_0x4e89d0._0x100c9a)] + _0x4c43c1(0x224) + (_0x1c306f[_0x4c43c1(_0x4e89d0._0x35fe25)] > 0x1 ? 's' : '') + ':\x20' + _0x1c306f[_0x4c43c1(0x1c2)](_0x28a220 => _0x28a220[_0x4c43c1(0x128)] + _0x4c43c1(0x20c) + _0x28a220['id'] + ')')[_0x4c43c1(_0x4e89d0._0x290fc5)](',\x20') + _0x4c43c1(0x171);
|
|
1394
1395
|
}
|
|
1395
|
-
function formatCheckMessages(
|
|
1396
|
-
const
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1396
|
+
function formatCheckMessages(_0x269c2c) {
|
|
1397
|
+
const _0x56dd5f = {
|
|
1398
|
+
_0x3b0b31: 0x223,
|
|
1399
|
+
_0x1bd140: 0x201
|
|
1400
|
+
}, _0x4c7cce = {
|
|
1401
|
+
_0x2d2711: 0x118,
|
|
1402
|
+
_0x10fe6d: 0x1bd,
|
|
1403
|
+
_0x26e455: 0x236,
|
|
1404
|
+
_0x21f476: 0x178,
|
|
1405
|
+
_0x310e4a: 0x153,
|
|
1406
|
+
_0x4cfc12: 0x242,
|
|
1407
|
+
_0x314131: 0xf2,
|
|
1408
|
+
_0x1c5b48: 0x10e,
|
|
1409
|
+
_0x13e2c4: 0x1fb,
|
|
1410
|
+
_0x475f5b: 0x1e8
|
|
1411
|
+
}, _0x3fa6bb = _0x42cca9;
|
|
1412
|
+
if (_0x269c2c[_0x3fa6bb(0x269)] === 0x0)
|
|
1413
|
+
return _0x3fa6bb(_0x56dd5f._0x3b0b31);
|
|
1414
|
+
return _0x269c2c[_0x3fa6bb(0x1c2)](_0x3593f2 => {
|
|
1415
|
+
const _0x44a9f2 = _0x3fa6bb, _0x5278f7 = _0x3593f2[_0x44a9f2(_0x4c7cce._0x2d2711)] === _0x44a9f2(_0x4c7cce._0x10fe6d) ? _0x44a9f2(_0x4c7cce._0x26e455) : '';
|
|
1416
|
+
return _0x44a9f2(0x25b) + _0x3593f2[_0x44a9f2(0x146)] + _0x44a9f2(_0x4c7cce._0x21f476) + _0x3593f2[_0x44a9f2(_0x4c7cce._0x310e4a)][_0x44a9f2(_0x4c7cce._0x4cfc12)](0x0, 0x8) + _0x44a9f2(_0x4c7cce._0x314131) + toLocalTime(_0x3593f2[_0x44a9f2(_0x4c7cce._0x1c5b48)]) + _0x5278f7 + _0x44a9f2(_0x4c7cce._0x13e2c4) + _0x3593f2[_0x44a9f2(_0x4c7cce._0x475f5b)] + ':\x20' + _0x3593f2[_0x44a9f2(0x23d)] + formatAttachmentSuffix(_0x3593f2[_0x44a9f2(0x101)]);
|
|
1417
|
+
})[_0x3fa6bb(_0x56dd5f._0x1bd140)]('\x0a');
|
|
1413
1418
|
}
|
|
1414
|
-
function formatHistory(
|
|
1415
|
-
const
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1419
|
+
function formatHistory(_0x39df84) {
|
|
1420
|
+
const _0x5178ca = {
|
|
1421
|
+
_0x2de4a3: 0x269,
|
|
1422
|
+
_0x3e55c8: 0x201,
|
|
1423
|
+
_0x212d47: 0x166,
|
|
1424
|
+
_0x34b669: 0x239,
|
|
1425
|
+
_0xb4b72: 0x219,
|
|
1426
|
+
_0x392c6a: 0x1fc
|
|
1427
|
+
}, _0x1e7f7a = {
|
|
1428
|
+
_0x665dbf: 0x1bd,
|
|
1429
|
+
_0x3bf995: 0x236,
|
|
1430
|
+
_0x3a5215: 0x221,
|
|
1431
|
+
_0x1d293c: 0x153,
|
|
1432
|
+
_0x1b46cf: 0x10e,
|
|
1433
|
+
_0x28a136: 0x1fb
|
|
1434
|
+
}, _0x289d5b = _0x42cca9;
|
|
1435
|
+
if (_0x39df84['messages'][_0x289d5b(_0x5178ca._0x2de4a3)] === 0x0)
|
|
1436
|
+
return '##\x20Message\x20History\x20for\x20' + _0x39df84[_0x289d5b(0x13a)] + '\x20(0\x20messages)\x0a\x0aNo\x20messages\x20in\x20this\x20channel.';
|
|
1437
|
+
const _0x3aab35 = _0x39df84[_0x289d5b(0x229)][_0x289d5b(0x1c2)](_0x46c707 => {
|
|
1438
|
+
const _0x5e7d98 = _0x289d5b, _0x1fd62b = _0x46c707[_0x5e7d98(0x118)] === _0x5e7d98(_0x1e7f7a._0x665dbf) ? _0x5e7d98(_0x1e7f7a._0x3bf995) : '';
|
|
1439
|
+
return _0x5e7d98(0x183) + _0x46c707[_0x5e7d98(_0x1e7f7a._0x3a5215)] + '\x20msg=' + _0x46c707[_0x5e7d98(_0x1e7f7a._0x1d293c)] + '\x20time=' + toLocalTime(_0x46c707[_0x5e7d98(_0x1e7f7a._0x1b46cf)]) + _0x1fd62b + _0x5e7d98(_0x1e7f7a._0x28a136) + _0x46c707['senderName'] + ':\x20' + _0x46c707['content'] + formatAttachmentSuffix(_0x46c707[_0x5e7d98(0x101)]);
|
|
1440
|
+
})[_0x289d5b(_0x5178ca._0x3e55c8)]('\x0a'), _0x59f89b = _0x39df84[_0x289d5b(_0x5178ca._0x212d47)] && _0x39df84[_0x289d5b(_0x5178ca._0x34b669)] ? '\x0a\x0a---\x20' + _0x39df84['messages'][_0x289d5b(_0x5178ca._0x2de4a3)] + '\x20messages\x20shown.\x20Use\x20before=' + _0x39df84['nextCursor'] + '\x20to\x20load\x20older\x20messages.\x20---' : '';
|
|
1441
|
+
return _0x289d5b(_0x5178ca._0xb4b72) + _0x39df84[_0x289d5b(0x13a)] + '\x20(' + _0x39df84['messages']['length'] + _0x289d5b(_0x5178ca._0x392c6a) + _0x3aab35 + _0x59f89b;
|
|
1433
1442
|
}
|
|
1434
|
-
function formatServerDirectory(
|
|
1435
|
-
const
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1443
|
+
function formatServerDirectory(_0x5f2d5f) {
|
|
1444
|
+
const _0x38ae63 = {
|
|
1445
|
+
_0x40263c: 0x167,
|
|
1446
|
+
_0x4a8b89: 0x1c2,
|
|
1447
|
+
_0x2c1730: 0x164,
|
|
1448
|
+
_0x37d9f8: 0x241,
|
|
1449
|
+
_0x5b4fbb: 0x201,
|
|
1450
|
+
_0x25f95e: 0x164,
|
|
1451
|
+
_0x41c43c: 0x220,
|
|
1452
|
+
_0x27bc0f: 0x269,
|
|
1453
|
+
_0x4c1a35: 0x247,
|
|
1454
|
+
_0x54d1b5: 0x23a
|
|
1455
|
+
}, _0x150ec7 = _0x42cca9, _0x39b4ce = _0x5f2d5f[_0x150ec7(_0x38ae63._0x40263c)]['length'] > 0x0 ? _0x5f2d5f[_0x150ec7(0x167)][_0x150ec7(_0x38ae63._0x4a8b89)](_0x31cbe1 => _0x31cbe1[_0x150ec7(0x1fa)] ? '-\x20#' + _0x31cbe1[_0x150ec7(0x202)] + _0x150ec7(0x195) + _0x31cbe1[_0x150ec7(0x1fa)] : _0x150ec7(0x114) + _0x31cbe1[_0x150ec7(0x202)])['join']('\x0a') : _0x150ec7(_0x38ae63._0x2c1730), _0x207e06 = _0x5f2d5f[_0x150ec7(0x241)][_0x150ec7(0x269)] > 0x0 ? _0x5f2d5f[_0x150ec7(_0x38ae63._0x37d9f8)][_0x150ec7(0x1c2)](_0x19ef0a => '-\x20@' + _0x19ef0a['name'])[_0x150ec7(_0x38ae63._0x5b4fbb)]('\x0a') : _0x150ec7(_0x38ae63._0x25f95e), _0x6602db = _0x5f2d5f[_0x150ec7(_0x38ae63._0x41c43c)][_0x150ec7(_0x38ae63._0x27bc0f)] > 0x0 ? _0x5f2d5f[_0x150ec7(0x220)]['map'](_0x45e425 => _0x150ec7(0x1b5) + _0x45e425[_0x150ec7(0x202)])[_0x150ec7(0x201)]('\x0a') : _0x150ec7(0x164);
|
|
1445
1456
|
return [
|
|
1446
|
-
|
|
1457
|
+
_0x150ec7(0x1ea) + _0x5f2d5f[_0x150ec7(0x212)],
|
|
1447
1458
|
'',
|
|
1448
|
-
|
|
1449
|
-
|
|
1459
|
+
_0x150ec7(_0x38ae63._0x4c1a35),
|
|
1460
|
+
_0x39b4ce,
|
|
1450
1461
|
'',
|
|
1451
|
-
|
|
1452
|
-
|
|
1462
|
+
_0x150ec7(_0x38ae63._0x54d1b5),
|
|
1463
|
+
_0x207e06,
|
|
1453
1464
|
'',
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
][
|
|
1457
|
-
}
|
|
1458
|
-
function _0x5d14(_0x506560, _0x41a0cd) {
|
|
1459
|
-
_0x506560 = _0x506560 - 0x125;
|
|
1460
|
-
const _0x2d0dd6 = _0x2d0d();
|
|
1461
|
-
let _0x5d146c = _0x2d0dd6[_0x506560];
|
|
1462
|
-
if (_0x5d14['XTzmBH'] === undefined) {
|
|
1463
|
-
var _0x45cedb = function (_0x2a72e9) {
|
|
1464
|
-
const _0x5bb643 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
1465
|
-
let _0x6a8220 = '', _0x50e420 = '';
|
|
1466
|
-
for (let _0x11696b = 0x0, _0x44864d, _0x335a7b, _0x14b0e1 = 0x0; _0x335a7b = _0x2a72e9['charAt'](_0x14b0e1++); ~_0x335a7b && (_0x44864d = _0x11696b % 0x4 ? _0x44864d * 0x40 + _0x335a7b : _0x335a7b, _0x11696b++ % 0x4) ? _0x6a8220 += String['fromCharCode'](0xff & _0x44864d >> (-0x2 * _0x11696b & 0x6)) : 0x0) {
|
|
1467
|
-
_0x335a7b = _0x5bb643['indexOf'](_0x335a7b);
|
|
1468
|
-
}
|
|
1469
|
-
for (let _0x25d18a = 0x0, _0x3b2bff = _0x6a8220['length']; _0x25d18a < _0x3b2bff; _0x25d18a++) {
|
|
1470
|
-
_0x50e420 += '%' + ('00' + _0x6a8220['charCodeAt'](_0x25d18a)['toString'](0x10))['slice'](-0x2);
|
|
1471
|
-
}
|
|
1472
|
-
return decodeURIComponent(_0x50e420);
|
|
1473
|
-
};
|
|
1474
|
-
_0x5d14['fudoLc'] = _0x45cedb, _0x5d14['FieVcr'] = {}, _0x5d14['XTzmBH'] = !![];
|
|
1475
|
-
}
|
|
1476
|
-
const _0x3428a6 = _0x2d0dd6[0x0], _0x2bf538 = _0x506560 + _0x3428a6, _0x24d716 = _0x5d14['FieVcr'][_0x2bf538];
|
|
1477
|
-
return !_0x24d716 ? (_0x5d146c = _0x5d14['fudoLc'](_0x5d146c), _0x5d14['FieVcr'][_0x2bf538] = _0x5d146c) : _0x5d146c = _0x24d716, _0x5d146c;
|
|
1465
|
+
'###\x20Humans',
|
|
1466
|
+
_0x6602db
|
|
1467
|
+
][_0x150ec7(_0x38ae63._0x5b4fbb)]('\x0a');
|
|
1478
1468
|
}
|
|
1479
|
-
function formatUploadResult(
|
|
1480
|
-
const
|
|
1481
|
-
|
|
1482
|
-
_0x1f519f: 0x187
|
|
1483
|
-
}, _0x3fb8ee = _0x404ee2;
|
|
1484
|
-
return _0x3fb8ee(0x18c) + _0x1e4334[_0x3fb8ee(0x1e6)] + '\x20(' + (_0x1e4334[_0x3fb8ee(_0x135812._0x2b8ab4)] / 0x400)[_0x3fb8ee(0x170)](0x1) + _0x3fb8ee(0x216) + _0x1e4334[_0x3fb8ee(0x2b6)] + _0x3fb8ee(_0x135812._0x1f519f);
|
|
1469
|
+
function formatUploadResult(_0x5ec74f) {
|
|
1470
|
+
const _0x462db1 = { _0x577fa1: 0x128 }, _0x2ff26b = _0x42cca9;
|
|
1471
|
+
return 'File\x20uploaded:\x20' + _0x5ec74f[_0x2ff26b(_0x462db1._0x577fa1)] + '\x20(' + (_0x5ec74f[_0x2ff26b(0x262)] / 0x400)[_0x2ff26b(0x16e)](0x1) + _0x2ff26b(0x111) + _0x5ec74f[_0x2ff26b(0x1c7)] + '\x0a\x0aUse\x20this\x20ID\x20in\x20send_message\x27s\x20attachment_ids\x20parameter\x20to\x20include\x20it\x20in\x20a\x20message.';
|
|
1485
1472
|
}
|
|
1486
|
-
function formatViewFileResult(
|
|
1487
|
-
const
|
|
1488
|
-
return
|
|
1473
|
+
function formatViewFileResult(_0x12f1fa, _0x4fefdd) {
|
|
1474
|
+
const _0x2d6980 = { _0x37335a: 0x18e }, _0x5875b5 = _0x42cca9;
|
|
1475
|
+
return _0x4fefdd ? _0x5875b5(0x228) + _0x12f1fa : _0x5875b5(_0x2d6980._0x37335a) + _0x12f1fa;
|
|
1489
1476
|
}
|
|
1490
|
-
function formatTaskList(
|
|
1491
|
-
const
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1477
|
+
function formatTaskList(_0x3201c2, _0x481827) {
|
|
1478
|
+
const _0x43922e = {
|
|
1479
|
+
_0x428e0c: 0x18f,
|
|
1480
|
+
_0x2ce945: 0x201
|
|
1481
|
+
}, _0x304da3 = {
|
|
1482
|
+
_0x48f2da: 0x222,
|
|
1483
|
+
_0x464403: 0x153,
|
|
1484
|
+
_0x358455: 0x222,
|
|
1485
|
+
_0x50be87: 0x254,
|
|
1486
|
+
_0x4b63e8: 0x1c1
|
|
1487
|
+
}, _0x975fee = _0x42cca9;
|
|
1488
|
+
if (_0x3201c2['length'] === 0x0)
|
|
1489
|
+
return _0x975fee(_0x43922e._0x428e0c);
|
|
1490
|
+
return _0x3201c2[_0x975fee(0x1c2)](_0x4d0d86 => {
|
|
1491
|
+
const _0x56a360 = _0x975fee, _0x13cefa = _0x4d0d86[_0x56a360(_0x304da3._0x48f2da)] == null ? _0x56a360(0xf4) : '#' + _0x4d0d86[_0x56a360(_0x304da3._0x48f2da)], _0x35f8ec = _0x4d0d86[_0x56a360(0x153)] ? _0x56a360(0x1bf) + _0x4d0d86[_0x56a360(_0x304da3._0x464403)] : '', _0x28039d = _0x481827 && _0x4d0d86[_0x56a360(_0x304da3._0x48f2da)] != null && _0x481827['has'](_0x4d0d86[_0x56a360(_0x304da3._0x358455)]) ? _0x56a360(_0x304da3._0x50be87) : '';
|
|
1492
|
+
return _0x13cefa + '\x20[' + _0x4d0d86[_0x56a360(_0x304da3._0x4b63e8)] + ']\x20' + _0x4d0d86[_0x56a360(0x24f)] + _0x35f8ec + _0x28039d;
|
|
1493
|
+
})[_0x975fee(_0x43922e._0x2ce945)]('\x0a');
|
|
1505
1494
|
}
|
|
1506
|
-
function formatCreatedTasks(
|
|
1507
|
-
const
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
},
|
|
1511
|
-
|
|
1495
|
+
function formatCreatedTasks(_0x1b8195) {
|
|
1496
|
+
const _0x5e6a5d = {
|
|
1497
|
+
_0x4493e3: 0x269,
|
|
1498
|
+
_0x1f5112: 0x201
|
|
1499
|
+
}, _0x5cb067 = {
|
|
1500
|
+
_0x165027: 0x24f,
|
|
1501
|
+
_0x24c980: 0x1bf,
|
|
1502
|
+
_0x1e871c: 0x153
|
|
1503
|
+
}, _0x4fed98 = _0x42cca9;
|
|
1504
|
+
if (_0x1b8195[_0x4fed98(_0x5e6a5d._0x4493e3)] === 0x0)
|
|
1512
1505
|
return 'No\x20tasks\x20created.';
|
|
1513
|
-
return
|
|
1514
|
-
const
|
|
1515
|
-
return
|
|
1516
|
-
})[
|
|
1506
|
+
return _0x1b8195['map'](_0x1f718a => {
|
|
1507
|
+
const _0x63d820 = _0x4fed98, _0x555dd3 = _0x1f718a[_0x63d820(0x222)] == null ? '(legacy)' : '#' + _0x1f718a['taskNumber'];
|
|
1508
|
+
return _0x555dd3 + '\x20' + _0x1f718a[_0x63d820(_0x5cb067._0x165027)] + _0x63d820(_0x5cb067._0x24c980) + _0x1f718a[_0x63d820(_0x5cb067._0x1e871c)];
|
|
1509
|
+
})[_0x4fed98(_0x5e6a5d._0x1f5112)]('\x0a');
|
|
1517
1510
|
}
|
|
1518
|
-
function formatClaimTaskResults(
|
|
1519
|
-
const
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1511
|
+
function formatClaimTaskResults(_0x33d434) {
|
|
1512
|
+
const _0x1efa16 = {
|
|
1513
|
+
_0x390902: 0x269,
|
|
1514
|
+
_0x5b6722: 0x1c2
|
|
1515
|
+
}, _0x1cbd8f = {
|
|
1516
|
+
_0x507441: 0x222,
|
|
1517
|
+
_0x15a4d9: 0x153,
|
|
1518
|
+
_0x2d3f3b: 0x153,
|
|
1519
|
+
_0x214a67: 0x1af,
|
|
1520
|
+
_0x1e2f74: 0x18b,
|
|
1521
|
+
_0x32376d: 0x24d,
|
|
1522
|
+
_0x2c802e: 0x1f8,
|
|
1523
|
+
_0x548e68: 0x152,
|
|
1524
|
+
_0x5a4fd0: 0xfe,
|
|
1525
|
+
_0x232972: 0x19a,
|
|
1526
|
+
_0x2bfbe6: 0x201,
|
|
1527
|
+
_0x588d65: 0x1a6,
|
|
1528
|
+
_0xcb7f3e: 0x112,
|
|
1529
|
+
_0x32f5c6: 0x135
|
|
1530
|
+
}, _0x1800df = _0x42cca9;
|
|
1531
|
+
if (_0x33d434[_0x1800df(_0x1efa16._0x390902)] === 0x0)
|
|
1532
|
+
return _0x1800df(0x248);
|
|
1533
|
+
return _0x33d434[_0x1800df(_0x1efa16._0x5b6722)](_0xc210d5 => {
|
|
1534
|
+
const _0x3b29a8 = _0x1800df;
|
|
1535
|
+
if (_0xc210d5[_0x3b29a8(0x21c)]) {
|
|
1536
|
+
const _0x15936e = _0xc210d5[_0x3b29a8(0x222)] == null ? _0x3b29a8(0xf4) : '#' + _0xc210d5[_0x3b29a8(_0x1cbd8f._0x507441)], _0x55c385 = _0xc210d5[_0x3b29a8(_0x1cbd8f._0x15a4d9)] ? '\x20message=' + _0xc210d5[_0x3b29a8(_0x1cbd8f._0x2d3f3b)] : '';
|
|
1537
|
+
if (_0xc210d5[_0x3b29a8(0x1b8)]) {
|
|
1538
|
+
const _0x50300d = [
|
|
1539
|
+
_0x3b29a8(_0x1cbd8f._0x214a67),
|
|
1540
|
+
_0xc210d5[_0x3b29a8(0x1c8)] ? _0x3b29a8(_0x1cbd8f._0x1e2f74) : null,
|
|
1541
|
+
_0xc210d5[_0x3b29a8(0x204)] ? _0x3b29a8(_0x1cbd8f._0x32376d) + _0xc210d5[_0x3b29a8(0x204)] : null,
|
|
1542
|
+
_0xc210d5[_0x3b29a8(0x152)] ? _0x3b29a8(_0x1cbd8f._0x2c802e) + _0xc210d5[_0x3b29a8(_0x1cbd8f._0x548e68)] : null,
|
|
1543
|
+
_0xc210d5[_0x3b29a8(_0x1cbd8f._0x5a4fd0)] ? _0x3b29a8(_0x1cbd8f._0x232972) + _0xc210d5[_0x3b29a8(0xfe)] : null
|
|
1544
|
+
][_0x3b29a8(0x258)](Boolean)[_0x3b29a8(_0x1cbd8f._0x2bfbe6)]('\x20');
|
|
1545
|
+
return _0x15936e + _0x3b29a8(0x214) + _0x55c385 + '\x20' + _0x50300d + '\x0a⚠️\x20WORKER\x20ACTIVATED\x20—\x20Stop\x20ALL\x20work\x20on\x20this\x20task\x20immediately.\x20Worker\x20handles\x20execution\x20end-to-end.';
|
|
1543
1546
|
}
|
|
1544
|
-
const
|
|
1545
|
-
return
|
|
1547
|
+
const _0x21e384 = _0xc210d5[_0x3b29a8(_0x1cbd8f._0x588d65)] ? '\x20workerHandoff=false\x20error=' + _0xc210d5[_0x3b29a8(0x1a6)] : '';
|
|
1548
|
+
return _0x15936e + _0x3b29a8(0x214) + _0x55c385 + _0x21e384;
|
|
1546
1549
|
}
|
|
1547
|
-
const
|
|
1548
|
-
return
|
|
1549
|
-
})[
|
|
1550
|
+
const _0x5425bd = _0xc210d5[_0x3b29a8(_0x1cbd8f._0x507441)] == null ? _0xc210d5['messageId'] ?? _0x3b29a8(_0x1cbd8f._0xcb7f3e) : '#' + _0xc210d5['taskNumber'];
|
|
1551
|
+
return _0x5425bd + _0x3b29a8(0x105) + (_0xc210d5[_0x3b29a8(_0x1cbd8f._0x32f5c6)] ?? 'claim\x20failed');
|
|
1552
|
+
})[_0x1800df(0x201)]('\x0a');
|
|
1550
1553
|
}
|
|
1551
|
-
function formatUnclaimTaskResult(
|
|
1552
|
-
const
|
|
1553
|
-
|
|
1554
|
+
function formatUnclaimTaskResult(_0x4acfc1) {
|
|
1555
|
+
const _0x4e3e6d = {
|
|
1556
|
+
_0x1ff004: 0x158,
|
|
1557
|
+
_0x150109: 0x1c1
|
|
1558
|
+
}, _0x2e14b1 = _0x42cca9, _0x4fa92d = _0x4acfc1['taskNumber'] == null ? '(legacy)' : '#' + _0x4acfc1[_0x2e14b1(0x222)];
|
|
1559
|
+
return _0x4fa92d + _0x2e14b1(_0x4e3e6d._0x1ff004) + _0x4acfc1[_0x2e14b1(_0x4e3e6d._0x150109)];
|
|
1554
1560
|
}
|
|
1555
|
-
function formatUpdateTaskStatusResult(
|
|
1556
|
-
const
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
_0x36ba54: 0x293
|
|
1562
|
-
}, _0x37cb77 = _0x404ee2, _0x1403c9 = _0x5be745[_0x37cb77(_0xc5cdb4._0x26635a)] == null ? _0x37cb77(_0xc5cdb4._0xc209f9) : '#' + _0x5be745[_0x37cb77(_0xc5cdb4._0x1d1b49)];
|
|
1563
|
-
return _0x1403c9 + _0x37cb77(_0xc5cdb4._0x5435ba) + _0x5be745[_0x37cb77(_0xc5cdb4._0x36ba54)];
|
|
1561
|
+
function formatUpdateTaskStatusResult(_0x3250c5) {
|
|
1562
|
+
const _0x2c99a9 = {
|
|
1563
|
+
_0x2f27e7: 0xf4,
|
|
1564
|
+
_0x28c49e: 0x158
|
|
1565
|
+
}, _0x54434a = _0x42cca9, _0x32d580 = _0x3250c5['taskNumber'] == null ? _0x54434a(_0x2c99a9._0x2f27e7) : '#' + _0x3250c5[_0x54434a(0x222)];
|
|
1566
|
+
return _0x32d580 + _0x54434a(_0x2c99a9._0x28c49e) + _0x3250c5[_0x54434a(0x1c1)];
|
|
1564
1567
|
}
|
|
1565
1568
|
function getChatBridgeToolDefinitions() {
|
|
1566
|
-
const
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
_0x44b242: 0x183
|
|
1575
|
-
}, _0x13900c = _0x404ee2;
|
|
1569
|
+
const _0x3877aa = {
|
|
1570
|
+
_0x1a4073: 0x25a,
|
|
1571
|
+
_0x58caad: 0x267,
|
|
1572
|
+
_0x133382: 0x126,
|
|
1573
|
+
_0x4e0f12: 0xff,
|
|
1574
|
+
_0x57d550: 0x1de,
|
|
1575
|
+
_0x5c98f7: 0x1f4
|
|
1576
|
+
}, _0x6224a2 = _0x42cca9;
|
|
1576
1577
|
return [
|
|
1577
|
-
{ 'name':
|
|
1578
|
+
{ 'name': _0x6224a2(_0x3877aa._0x1a4073) },
|
|
1578
1579
|
{ 'name': 'check_messages' },
|
|
1579
|
-
{ 'name':
|
|
1580
|
-
{ 'name':
|
|
1581
|
-
{ 'name':
|
|
1582
|
-
{ 'name':
|
|
1583
|
-
{ 'name':
|
|
1584
|
-
{ 'name':
|
|
1585
|
-
{ 'name':
|
|
1586
|
-
{ 'name':
|
|
1587
|
-
{ 'name':
|
|
1588
|
-
{ 'name':
|
|
1589
|
-
{ 'name':
|
|
1590
|
-
{ 'name':
|
|
1580
|
+
{ 'name': 'read_history' },
|
|
1581
|
+
{ 'name': 'list_server' },
|
|
1582
|
+
{ 'name': _0x6224a2(_0x3877aa._0x58caad) },
|
|
1583
|
+
{ 'name': _0x6224a2(_0x3877aa._0x133382) },
|
|
1584
|
+
{ 'name': _0x6224a2(_0x3877aa._0x4e0f12) },
|
|
1585
|
+
{ 'name': _0x6224a2(0x14a) },
|
|
1586
|
+
{ 'name': _0x6224a2(_0x3877aa._0x57d550) },
|
|
1587
|
+
{ 'name': 'unclaim_task' },
|
|
1588
|
+
{ 'name': 'update_task_status' },
|
|
1589
|
+
{ 'name': _0x6224a2(0x1ee) },
|
|
1590
|
+
{ 'name': _0x6224a2(_0x3877aa._0x5c98f7) },
|
|
1591
|
+
{ 'name': _0x6224a2(0x188) },
|
|
1591
1592
|
{ 'name': 'escalate_to_main' },
|
|
1592
|
-
{ 'name':
|
|
1593
|
+
{ 'name': _0x6224a2(0x17e) }
|
|
1593
1594
|
];
|
|
1594
1595
|
}
|
|
1595
|
-
function createChatBridgeHandlers(
|
|
1596
|
-
const
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
},
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
},
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
_0x3aef69: 0x24b,
|
|
1709
|
-
_0x267181: 0x1a0,
|
|
1710
|
-
_0x37f367: 0x184,
|
|
1711
|
-
_0x5b42c: 0x29e
|
|
1712
|
-
}, _0x32743c = _0x404ee2;
|
|
1713
|
-
async function _0x3ffad2(_0x13dadd) {
|
|
1714
|
-
const _0x37c645 = _0x5d14;
|
|
1715
|
-
if (!_0x1bf818[_0x37c645(_0x5f060a._0x1e56f5)] || !_0x1bf818[_0x37c645(_0x5f060a._0x50f894)] || _0x1bf818[_0x37c645(0x182)] || _0x1bf818['workerModeEnabled'] !== !![])
|
|
1596
|
+
function createChatBridgeHandlers(_0x1090e4) {
|
|
1597
|
+
const _0x113eeb = { _0x49af2c: 0x177 }, _0x4355ac = {
|
|
1598
|
+
_0x41ee43: 0x1ac,
|
|
1599
|
+
_0x10ef13: 0x15b,
|
|
1600
|
+
_0x14e854: 0x135,
|
|
1601
|
+
_0x4d5b34: 0x161,
|
|
1602
|
+
_0xc6ee43: 0x143,
|
|
1603
|
+
_0x55a316: 0x15a,
|
|
1604
|
+
_0x44534d: 0x10c
|
|
1605
|
+
}, _0x212542 = {
|
|
1606
|
+
_0x12e5eb: 0x189,
|
|
1607
|
+
_0x5d690a: 0x263,
|
|
1608
|
+
_0x5605f9: 0x165,
|
|
1609
|
+
_0x3c18f1: 0x15b,
|
|
1610
|
+
_0x41d838: 0x143,
|
|
1611
|
+
_0x4a793a: 0x15b
|
|
1612
|
+
}, _0x4700f8 = {
|
|
1613
|
+
_0x1e58f4: 0x189,
|
|
1614
|
+
_0x53d3fe: 0x137,
|
|
1615
|
+
_0x1dde71: 0x165,
|
|
1616
|
+
_0x94d0ad: 0x136,
|
|
1617
|
+
_0x2023be: 0x161,
|
|
1618
|
+
_0x551abd: 0x143,
|
|
1619
|
+
_0x2f68eb: 0x17c,
|
|
1620
|
+
_0x2925ec: 0x156
|
|
1621
|
+
}, _0x251533 = { _0x26fedd: 0x15b }, _0x43e96d = {
|
|
1622
|
+
_0x467130: 0x225,
|
|
1623
|
+
_0x28798a: 0x225,
|
|
1624
|
+
_0x2eb11e: 0x15b
|
|
1625
|
+
}, _0x581463 = {
|
|
1626
|
+
_0x3eeec0: 0x168,
|
|
1627
|
+
_0x34323d: 0x251,
|
|
1628
|
+
_0x3251c1: 0x1bc,
|
|
1629
|
+
_0x152b9a: 0x1a8
|
|
1630
|
+
}, _0x4624ee = { _0x2d0c96: 0x13a }, _0x434db9 = { _0x31fd0f: 0x205 }, _0x3b7275 = { _0x2241c6: 0x12e }, _0xc1400f = { _0x2eed48: 0x1c2 }, _0x19f3b9 = {
|
|
1631
|
+
_0x2744c6: 0x1a9,
|
|
1632
|
+
_0x2960ee: 0x14c,
|
|
1633
|
+
_0x13e78e: 0x161,
|
|
1634
|
+
_0xf23ca: 0x24b,
|
|
1635
|
+
_0x234499: 0x206,
|
|
1636
|
+
_0x2ed77b: 0x242,
|
|
1637
|
+
_0x202ce5: 0x269,
|
|
1638
|
+
_0x5ea41a: 0x14d,
|
|
1639
|
+
_0x1d2a0a: 0x22d,
|
|
1640
|
+
_0x6630d7: 0x253,
|
|
1641
|
+
_0x572545: 0x222
|
|
1642
|
+
}, _0x1eb7aa = { _0x162c21: 0x251 }, _0x48d3d4 = {
|
|
1643
|
+
_0x571381: 0x1f0,
|
|
1644
|
+
_0x3c13da: 0x24c
|
|
1645
|
+
}, _0x278e9f = {
|
|
1646
|
+
_0x302067: 0x151,
|
|
1647
|
+
_0x496be0: 0x189,
|
|
1648
|
+
_0x13196b: 0x251,
|
|
1649
|
+
_0x1a7eae: 0x134,
|
|
1650
|
+
_0x5bc2fd: 0x148,
|
|
1651
|
+
_0x4d1936: 0x148,
|
|
1652
|
+
_0x4f68f2: 0x260,
|
|
1653
|
+
_0x19afaf: 0x146,
|
|
1654
|
+
_0x2f900a: 0x109,
|
|
1655
|
+
_0x27170c: 0x10b,
|
|
1656
|
+
_0x5d5880: 0x201,
|
|
1657
|
+
_0x3f8201: 0x25b,
|
|
1658
|
+
_0x16973c: 0x23d,
|
|
1659
|
+
_0x501b3: 0x26a,
|
|
1660
|
+
_0x1eda9d: 0x252,
|
|
1661
|
+
_0x7ce370: 0xfa,
|
|
1662
|
+
_0x3a2fbb: 0x182,
|
|
1663
|
+
_0x587551: 0x1ac,
|
|
1664
|
+
_0x7e1ced: 0x13d,
|
|
1665
|
+
_0x4a2be3: 0x17a,
|
|
1666
|
+
_0x306199: 0x1ab,
|
|
1667
|
+
_0x5ff2b8: 0x198,
|
|
1668
|
+
_0x50e244: 0x1b9,
|
|
1669
|
+
_0x96a4bc: 0x23d,
|
|
1670
|
+
_0x32c62b: 0x146,
|
|
1671
|
+
_0x12fe54: 0x1f2,
|
|
1672
|
+
_0x5afca3: 0x22a
|
|
1673
|
+
}, _0x38b919 = {
|
|
1674
|
+
_0x3f39fd: 0x189,
|
|
1675
|
+
_0x4c5c84: 0x24c,
|
|
1676
|
+
_0x25d1a0: 0x189,
|
|
1677
|
+
_0x33fdbe: 0x14c,
|
|
1678
|
+
_0x5b9329: 0x1a4,
|
|
1679
|
+
_0x405cba: 0x22d
|
|
1680
|
+
}, _0x4ba564 = {
|
|
1681
|
+
_0x213bd0: 0x189,
|
|
1682
|
+
_0x22bc3b: 0x206,
|
|
1683
|
+
_0x4ddafb: 0x22d,
|
|
1684
|
+
_0x42cff9: 0x10a
|
|
1685
|
+
}, _0x463427 = {
|
|
1686
|
+
_0x1c2508: 0x1a9,
|
|
1687
|
+
_0x16701e: 0x18d,
|
|
1688
|
+
_0x5d7b36: 0x251,
|
|
1689
|
+
_0x1ccd7e: 0xf4,
|
|
1690
|
+
_0x29ed24: 0x222,
|
|
1691
|
+
_0x22daf9: 0x25b,
|
|
1692
|
+
_0x30d3e9: 0x178,
|
|
1693
|
+
_0x592bf8: 0x153,
|
|
1694
|
+
_0x4b164d: 0xf2,
|
|
1695
|
+
_0xf0f746: 0x19d,
|
|
1696
|
+
_0x46be75: 0x22f,
|
|
1697
|
+
_0x195d86: 0x23d,
|
|
1698
|
+
_0x172037: 0x1e6,
|
|
1699
|
+
_0x334a46: 0x201,
|
|
1700
|
+
_0x1938c2: 0x189,
|
|
1701
|
+
_0x208da6: 0x1ac,
|
|
1702
|
+
_0x31f064: 0x1a9,
|
|
1703
|
+
_0x56e8b2: 0x143,
|
|
1704
|
+
_0x256fc4: 0x259
|
|
1705
|
+
}, _0x2e3f85 = _0x42cca9;
|
|
1706
|
+
async function _0x7fa5fb(_0x597388) {
|
|
1707
|
+
const _0x4f31ab = _0x4b08;
|
|
1708
|
+
if (!_0x1090e4[_0x4f31ab(0x189)] || !_0x1090e4[_0x4f31ab(_0x463427._0x1c2508)] || _0x1090e4[_0x4f31ab(0x24c)] || _0x1090e4[_0x4f31ab(0x151)] !== !![])
|
|
1716
1709
|
return null;
|
|
1717
|
-
const
|
|
1718
|
-
if (
|
|
1710
|
+
const _0x12323f = parseTarget(_0x597388['channel']);
|
|
1711
|
+
if (_0x12323f['kind'] !== _0x4f31ab(0x13a))
|
|
1719
1712
|
return null;
|
|
1720
|
-
const
|
|
1721
|
-
let
|
|
1713
|
+
const _0x2cb85e = _0x597388[_0x4f31ab(0x260)] != null ? _0x12323f[_0x4f31ab(_0x463427._0x16701e)] + ':t' + _0x597388[_0x4f31ab(0x260)] : _0x12323f[_0x4f31ab(_0x463427._0x16701e)] + ':' + _0x597388[_0x4f31ab(0x153)];
|
|
1714
|
+
let _0x389757;
|
|
1722
1715
|
try {
|
|
1723
|
-
const
|
|
1724
|
-
'channel':
|
|
1716
|
+
const _0x12054f = await _0x1090e4[_0x4f31ab(_0x463427._0x5d7b36)]['readHistory']({
|
|
1717
|
+
'channel': _0x2cb85e,
|
|
1725
1718
|
'limit': 0x14
|
|
1726
1719
|
});
|
|
1727
|
-
|
|
1720
|
+
_0x389757 = _0x12054f['messages'][_0x4f31ab(0x230)](_0x253129 => _0x253129['messageId'] === _0x597388[_0x4f31ab(0x153)]);
|
|
1728
1721
|
} catch {
|
|
1729
|
-
|
|
1722
|
+
_0x389757 = void 0x0;
|
|
1730
1723
|
}
|
|
1731
|
-
const
|
|
1732
|
-
|
|
1724
|
+
const _0x509734 = _0x597388[_0x4f31ab(0x222)] == null ? _0x4f31ab(_0x463427._0x1ccd7e) : '#' + _0x597388[_0x4f31ab(_0x463427._0x29ed24)], _0x239294 = [
|
|
1725
|
+
_0x4f31ab(_0x463427._0x22daf9) + _0x2cb85e + _0x4f31ab(_0x463427._0x30d3e9) + _0x597388[_0x4f31ab(_0x463427._0x592bf8)][_0x4f31ab(0x242)](0x0, 0x8) + _0x4f31ab(_0x463427._0x4b164d) + new Date()[_0x4f31ab(_0x463427._0xf0f746)]() + _0x4f31ab(_0x463427._0x46be75) + _0x509734 + _0x4f31ab(0x131),
|
|
1733
1726
|
'',
|
|
1734
|
-
|
|
1727
|
+
_0x389757 ? _0x4f31ab(0x185) + _0x389757[_0x4f31ab(_0x463427._0x195d86)] : 'Root\x20task\x20message\x20id:\x20' + _0x597388[_0x4f31ab(_0x463427._0x592bf8)],
|
|
1735
1728
|
'',
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
][
|
|
1739
|
-
'method':
|
|
1740
|
-
'headers': { 'Content-Type':
|
|
1741
|
-
'body': JSON[
|
|
1742
|
-
'agent_id':
|
|
1743
|
-
'thread_target':
|
|
1729
|
+
'Thread\x20target:\x20' + _0x2cb85e,
|
|
1730
|
+
_0x4f31ab(_0x463427._0x172037)
|
|
1731
|
+
][_0x4f31ab(_0x463427._0x334a46)]('\x0a'), _0xfc5052 = await fetch(_0x1090e4[_0x4f31ab(_0x463427._0x1938c2)] + '/workers/deliver', {
|
|
1732
|
+
'method': 'POST',
|
|
1733
|
+
'headers': { 'Content-Type': _0x4f31ab(0x182) },
|
|
1734
|
+
'body': JSON[_0x4f31ab(_0x463427._0x208da6)]({
|
|
1735
|
+
'agent_id': _0x1090e4[_0x4f31ab(_0x463427._0x31f064)],
|
|
1736
|
+
'thread_target': _0x2cb85e,
|
|
1744
1737
|
'spawn_packet': {
|
|
1745
|
-
'replyTarget':
|
|
1746
|
-
...
|
|
1738
|
+
'replyTarget': _0x2cb85e,
|
|
1739
|
+
..._0x597388[_0x4f31ab(0x1d9)] ? { 'taskId': _0x597388[_0x4f31ab(0x1d9)] } : _0x597388[_0x4f31ab(0x222)] != null ? { 'taskId': _0x4f31ab(0x238) + _0x597388['taskNumber'] } : {}
|
|
1747
1740
|
},
|
|
1748
1741
|
'payload': {
|
|
1749
|
-
'mode':
|
|
1750
|
-
'text':
|
|
1742
|
+
'mode': _0x4f31ab(0x174),
|
|
1743
|
+
'text': _0x239294
|
|
1751
1744
|
}
|
|
1752
1745
|
})
|
|
1753
|
-
}),
|
|
1754
|
-
if (!
|
|
1755
|
-
throw new Error(
|
|
1746
|
+
}), _0x14f31c = await _0xfc5052[_0x4f31ab(0x161)]();
|
|
1747
|
+
if (!_0x14f31c['ok'])
|
|
1748
|
+
throw new Error(_0x14f31c[_0x4f31ab(_0x463427._0x56e8b2)] ?? _0x4f31ab(0x106));
|
|
1756
1749
|
return {
|
|
1757
1750
|
'stopMain': !![],
|
|
1758
|
-
'threadTarget':
|
|
1759
|
-
'workerDisposition':
|
|
1751
|
+
'threadTarget': _0x2cb85e,
|
|
1752
|
+
'workerDisposition': _0x14f31c[_0x4f31ab(_0x463427._0x256fc4)] === _0x4f31ab(0x1ab) ? 'queued' : _0x4f31ab(0x15d),
|
|
1760
1753
|
'workerHandoff': !![],
|
|
1761
|
-
'workerSessionId':
|
|
1762
|
-
'executionMode':
|
|
1754
|
+
'workerSessionId': _0x14f31c['worker_session_id'] ?? '',
|
|
1755
|
+
'executionMode': 'worker'
|
|
1763
1756
|
};
|
|
1764
1757
|
}
|
|
1765
|
-
async function
|
|
1766
|
-
const
|
|
1767
|
-
if (!
|
|
1758
|
+
async function _0x25c7cc() {
|
|
1759
|
+
const _0x37303e = _0x4b08;
|
|
1760
|
+
if (!_0x1090e4[_0x37303e(_0x4ba564._0x213bd0)] || !_0x1090e4[_0x37303e(0x1a9)] || _0x1090e4[_0x37303e(0x24c)])
|
|
1768
1761
|
return null;
|
|
1769
1762
|
try {
|
|
1770
|
-
const
|
|
1771
|
-
if (!
|
|
1763
|
+
const _0x831406 = await fetch(_0x1090e4['daemonLocalUrl'] + _0x37303e(0x14c) + encodeURIComponent(_0x1090e4[_0x37303e(0x1a9)])), _0x2bd1e0 = await _0x831406['json']();
|
|
1764
|
+
if (!_0x2bd1e0['ok'])
|
|
1772
1765
|
return null;
|
|
1773
|
-
const
|
|
1774
|
-
for (const
|
|
1775
|
-
|
|
1766
|
+
const _0x4df21c = new Set();
|
|
1767
|
+
for (const _0xf50d3b of _0x2bd1e0[_0x37303e(0x24b)]) {
|
|
1768
|
+
_0xf50d3b['status'] !== _0x37303e(_0x4ba564._0x22bc3b) && _0xf50d3b[_0x37303e(0x10a)] && _0x4df21c[_0x37303e(_0x4ba564._0x4ddafb)](_0xf50d3b[_0x37303e(_0x4ba564._0x42cff9)]);
|
|
1776
1769
|
}
|
|
1777
|
-
return
|
|
1770
|
+
return _0x4df21c[_0x37303e(0x184)] > 0x0 ? _0x4df21c : null;
|
|
1778
1771
|
} catch {
|
|
1779
1772
|
return null;
|
|
1780
1773
|
}
|
|
1781
1774
|
}
|
|
1782
|
-
const
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1775
|
+
const _0x3d312e = new Set([
|
|
1776
|
+
_0x2e3f85(_0x113eeb._0x49af2c),
|
|
1777
|
+
_0x2e3f85(0x210),
|
|
1778
|
+
_0x2e3f85(0x272)
|
|
1786
1779
|
]);
|
|
1787
|
-
async function
|
|
1788
|
-
const
|
|
1789
|
-
if (!
|
|
1780
|
+
async function _0x2ef207() {
|
|
1781
|
+
const _0xf9fddb = _0x2e3f85;
|
|
1782
|
+
if (!_0x1090e4[_0xf9fddb(_0x38b919._0x3f39fd)] || !_0x1090e4['agentId'] || _0x1090e4[_0xf9fddb(_0x38b919._0x4c5c84)])
|
|
1790
1783
|
return null;
|
|
1791
1784
|
try {
|
|
1792
|
-
const
|
|
1793
|
-
if (!
|
|
1785
|
+
const _0x1b266c = await fetch(_0x1090e4[_0xf9fddb(_0x38b919._0x25d1a0)] + _0xf9fddb(_0x38b919._0x33fdbe) + encodeURIComponent(_0x1090e4[_0xf9fddb(0x1a9)])), _0x305de2 = await _0x1b266c['json']();
|
|
1786
|
+
if (!_0x305de2['ok'])
|
|
1794
1787
|
return null;
|
|
1795
|
-
const
|
|
1796
|
-
for (const
|
|
1797
|
-
|
|
1788
|
+
const _0x54ee36 = new Set();
|
|
1789
|
+
for (const _0x1df6af of _0x305de2[_0xf9fddb(0x24b)]) {
|
|
1790
|
+
_0x3d312e[_0xf9fddb(_0x38b919._0x5b9329)](_0x1df6af['status']) && _0x1df6af[_0xf9fddb(0x10a)] && _0x54ee36[_0xf9fddb(_0x38b919._0x405cba)](_0x1df6af[_0xf9fddb(0x10a)]);
|
|
1798
1791
|
}
|
|
1799
|
-
return
|
|
1792
|
+
return _0x54ee36[_0xf9fddb(0x184)] > 0x0 ? _0x54ee36 : null;
|
|
1800
1793
|
} catch {
|
|
1801
1794
|
return null;
|
|
1802
1795
|
}
|
|
1803
1796
|
}
|
|
1804
1797
|
return {
|
|
1805
|
-
async 'send_message'(
|
|
1806
|
-
const
|
|
1807
|
-
if (!
|
|
1808
|
-
const
|
|
1809
|
-
if (
|
|
1810
|
-
const
|
|
1811
|
-
if (
|
|
1798
|
+
async 'send_message'(_0x10fa5c) {
|
|
1799
|
+
const _0x3ff19a = _0x2e3f85;
|
|
1800
|
+
if (!_0x1090e4['workerMode'] && _0x1090e4[_0x3ff19a(_0x278e9f._0x302067)] && _0x1090e4[_0x3ff19a(_0x278e9f._0x496be0)] && _0x1090e4[_0x3ff19a(0x1a9)]) {
|
|
1801
|
+
const _0x18a05c = await _0x1090e4[_0x3ff19a(_0x278e9f._0x13196b)][_0x3ff19a(_0x278e9f._0x1a7eae)](_0x10fa5c[_0x3ff19a(0x146)]);
|
|
1802
|
+
if (_0x18a05c['task'] && _0x18a05c[_0x3ff19a(0x109)]) {
|
|
1803
|
+
const _0x31bb1f = _0x18a05c[_0x3ff19a(_0x278e9f._0x5bc2fd)]['taskNumber'] != null ? '#' + _0x18a05c[_0x3ff19a(_0x278e9f._0x4d1936)][_0x3ff19a(0x222)] : _0x3ff19a(0xf4), _0x4db4b2 = _0x18a05c['threadNumber'] != null ? _0x18a05c['target'] + ':t' + _0x18a05c[_0x3ff19a(_0x278e9f._0x4f68f2)] : _0x18a05c[_0x3ff19a(_0x278e9f._0x19afaf)] + ':' + _0x18a05c[_0x3ff19a(_0x278e9f._0x2f900a)]['slice'](0x0, 0x8), _0x2a28b0 = await _0x2ef207();
|
|
1804
|
+
if (_0x2a28b0?.[_0x3ff19a(0x1a4)](_0x4db4b2))
|
|
1812
1805
|
return [
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
][
|
|
1816
|
-
const
|
|
1817
|
-
|
|
1806
|
+
_0x3ff19a(0x1cf) + _0x31bb1f + _0x3ff19a(0x187) + _0x4db4b2 + '\x20already\x20has\x20an\x20active\x20worker.\x20stopMain=true\x20executionMode=worker',
|
|
1807
|
+
_0x3ff19a(_0x278e9f._0x27170c)
|
|
1808
|
+
][_0x3ff19a(_0x278e9f._0x5d5880)]('\x0a');
|
|
1809
|
+
const _0x55babd = [
|
|
1810
|
+
_0x3ff19a(_0x278e9f._0x3f8201) + _0x4db4b2 + _0x3ff19a(0x1d2) + new Date()[_0x3ff19a(0x19d)]() + _0x3ff19a(0x270),
|
|
1818
1811
|
'',
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
][
|
|
1824
|
-
'method':
|
|
1825
|
-
'headers': { 'Content-Type':
|
|
1826
|
-
'body': JSON[
|
|
1827
|
-
'agent_id':
|
|
1828
|
-
'thread_target':
|
|
1812
|
+
_0x3ff19a(0x169) + _0x10fa5c[_0x3ff19a(_0x278e9f._0x16973c)],
|
|
1813
|
+
_0x3ff19a(_0x278e9f._0x501b3) + _0x31bb1f + '\x20(' + _0x18a05c[_0x3ff19a(0x148)]['taskId'] + ')',
|
|
1814
|
+
_0x3ff19a(_0x278e9f._0x1eda9d) + _0x4db4b2,
|
|
1815
|
+
_0x3ff19a(_0x278e9f._0x7ce370)
|
|
1816
|
+
][_0x3ff19a(0x201)]('\x0a'), _0x542509 = await fetch(_0x1090e4[_0x3ff19a(0x189)] + _0x3ff19a(0x1da), {
|
|
1817
|
+
'method': _0x3ff19a(0x165),
|
|
1818
|
+
'headers': { 'Content-Type': _0x3ff19a(_0x278e9f._0x3a2fbb) },
|
|
1819
|
+
'body': JSON[_0x3ff19a(_0x278e9f._0x587551)]({
|
|
1820
|
+
'agent_id': _0x1090e4['agentId'],
|
|
1821
|
+
'thread_target': _0x4db4b2,
|
|
1829
1822
|
'spawn_packet': {
|
|
1830
|
-
'replyTarget':
|
|
1831
|
-
'taskId':
|
|
1823
|
+
'replyTarget': _0x4db4b2,
|
|
1824
|
+
'taskId': _0x18a05c['task']['taskId']
|
|
1832
1825
|
},
|
|
1833
1826
|
'payload': {
|
|
1834
|
-
'mode':
|
|
1835
|
-
'text':
|
|
1827
|
+
'mode': _0x3ff19a(0x174),
|
|
1828
|
+
'text': _0x55babd
|
|
1836
1829
|
}
|
|
1837
1830
|
})
|
|
1838
|
-
}),
|
|
1839
|
-
if (!
|
|
1840
|
-
throw new Error(
|
|
1831
|
+
}), _0x5bbbc4 = await _0x542509['json']();
|
|
1832
|
+
if (!_0x5bbbc4['ok'])
|
|
1833
|
+
throw new Error(_0x5bbbc4[_0x3ff19a(0x143)] ?? _0x3ff19a(0x1a2));
|
|
1841
1834
|
return [
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
][
|
|
1835
|
+
_0x3ff19a(_0x278e9f._0x7e1ced) + _0x31bb1f + _0x3ff19a(0x187) + _0x4db4b2 + _0x3ff19a(0x213),
|
|
1836
|
+
_0x3ff19a(_0x278e9f._0x4a2be3) + (_0x5bbbc4['disposition'] === _0x3ff19a(_0x278e9f._0x306199) ? _0x3ff19a(0x1ab) : _0x3ff19a(0x15d)) + '.',
|
|
1837
|
+
_0x3ff19a(0x26e)
|
|
1838
|
+
]['join']('\x0a');
|
|
1846
1839
|
}
|
|
1847
1840
|
}
|
|
1848
|
-
const
|
|
1849
|
-
'attachmentIds':
|
|
1850
|
-
'content':
|
|
1851
|
-
'target':
|
|
1852
|
-
'visibility':
|
|
1841
|
+
const _0x3ecefe = await _0x1090e4[_0x3ff19a(0x251)][_0x3ff19a(_0x278e9f._0x5ff2b8)]({
|
|
1842
|
+
'attachmentIds': _0x10fa5c[_0x3ff19a(_0x278e9f._0x50e244)],
|
|
1843
|
+
'content': _0x10fa5c[_0x3ff19a(_0x278e9f._0x96a4bc)],
|
|
1844
|
+
'target': _0x10fa5c[_0x3ff19a(_0x278e9f._0x32c62b)],
|
|
1845
|
+
'visibility': _0x10fa5c[_0x3ff19a(_0x278e9f._0x12fe54)]
|
|
1853
1846
|
});
|
|
1854
|
-
return
|
|
1847
|
+
return 'Message\x20sent\x20to\x20' + _0x10fa5c[_0x3ff19a(_0x278e9f._0x32c62b)] + _0x3ff19a(_0x278e9f._0x5afca3) + _0x3ecefe['messageId'];
|
|
1855
1848
|
},
|
|
1856
1849
|
async 'check_messages'() {
|
|
1857
|
-
const
|
|
1858
|
-
if (!
|
|
1859
|
-
const
|
|
1860
|
-
if (
|
|
1861
|
-
return formatCheckMessages(
|
|
1850
|
+
const _0x45d4fe = _0x2e3f85, _0x353d38 = await _0x1090e4['client'][_0x45d4fe(_0x48d3d4._0x571381)]();
|
|
1851
|
+
if (!_0x1090e4[_0x45d4fe(_0x48d3d4._0x3c13da)]) {
|
|
1852
|
+
const _0x4d5a50 = await _0x25c7cc();
|
|
1853
|
+
if (_0x4d5a50)
|
|
1854
|
+
return formatCheckMessages(_0x353d38[_0x45d4fe(0x229)]['filter'](_0x4010cb => !_0x4d5a50[_0x45d4fe(0x1a4)](_0x4010cb[_0x45d4fe(0x146)])));
|
|
1862
1855
|
}
|
|
1863
|
-
return formatCheckMessages(
|
|
1856
|
+
return formatCheckMessages(_0x353d38[_0x45d4fe(0x229)]);
|
|
1864
1857
|
},
|
|
1865
|
-
async 'read_history'(
|
|
1866
|
-
const
|
|
1867
|
-
return formatHistory(
|
|
1858
|
+
async 'read_history'(_0x44956b) {
|
|
1859
|
+
const _0x41b8ff = _0x2e3f85, _0x1317a9 = await _0x1090e4[_0x41b8ff(_0x1eb7aa._0x162c21)]['readHistory'](_0x44956b);
|
|
1860
|
+
return formatHistory(_0x1317a9);
|
|
1868
1861
|
},
|
|
1869
1862
|
async 'list_server'() {
|
|
1870
|
-
const
|
|
1871
|
-
return formatServerDirectory(
|
|
1863
|
+
const _0x443cc1 = await _0x1090e4['client']['listServer']();
|
|
1864
|
+
return formatServerDirectory(_0x443cc1);
|
|
1872
1865
|
},
|
|
1873
|
-
async 'list_tasks'(
|
|
1874
|
-
const
|
|
1875
|
-
let
|
|
1876
|
-
if (
|
|
1866
|
+
async 'list_tasks'(_0x519c6b) {
|
|
1867
|
+
const _0x3768c7 = _0x2e3f85, _0x2532b4 = await _0x1090e4[_0x3768c7(0x251)][_0x3768c7(0x159)](_0x519c6b);
|
|
1868
|
+
let _0x3128ed;
|
|
1869
|
+
if (_0x1090e4[_0x3768c7(0x189)] && _0x1090e4[_0x3768c7(_0x19f3b9._0x2744c6)])
|
|
1877
1870
|
try {
|
|
1878
|
-
const
|
|
1879
|
-
if (
|
|
1880
|
-
const
|
|
1881
|
-
|
|
1882
|
-
for (const
|
|
1883
|
-
if (
|
|
1871
|
+
const _0x21613b = await fetch(_0x1090e4[_0x3768c7(0x189)] + _0x3768c7(_0x19f3b9._0x2960ee) + encodeURIComponent(_0x1090e4[_0x3768c7(0x1a9)])), _0x35512a = await _0x21613b[_0x3768c7(_0x19f3b9._0x13e78e)]();
|
|
1872
|
+
if (_0x35512a['ok']) {
|
|
1873
|
+
const _0x2a7a48 = _0x519c6b['channel'] + ':';
|
|
1874
|
+
_0x3128ed = new Set();
|
|
1875
|
+
for (const _0x2e18f4 of _0x35512a[_0x3768c7(_0x19f3b9._0xf23ca)]) {
|
|
1876
|
+
if (_0x2e18f4[_0x3768c7(0x1c1)] === _0x3768c7(_0x19f3b9._0x234499))
|
|
1884
1877
|
continue;
|
|
1885
|
-
if (
|
|
1886
|
-
const
|
|
1887
|
-
if (
|
|
1888
|
-
|
|
1878
|
+
if (_0x2e18f4[_0x3768c7(0x10a)]?.[_0x3768c7(0x117)](_0x2a7a48)) {
|
|
1879
|
+
const _0x2536c3 = _0x2e18f4['thread_target'][_0x3768c7(_0x19f3b9._0x2ed77b)](_0x2a7a48[_0x3768c7(_0x19f3b9._0x202ce5)]), _0x23e591 = _0x2532b4[_0x3768c7(_0x19f3b9._0x5ea41a)]['find'](_0x14862b => _0x14862b[_0x3768c7(0x153)]?.[_0x3768c7(0x117)](_0x2536c3) === !![]);
|
|
1880
|
+
if (_0x23e591?.['taskNumber'] != null) {
|
|
1881
|
+
_0x3128ed[_0x3768c7(_0x19f3b9._0x1d2a0a)](_0x23e591[_0x3768c7(0x222)]);
|
|
1889
1882
|
continue;
|
|
1890
1883
|
}
|
|
1891
1884
|
}
|
|
1892
|
-
if (
|
|
1893
|
-
const
|
|
1894
|
-
|
|
1885
|
+
if (_0x2e18f4[_0x3768c7(_0x19f3b9._0x6630d7)]) {
|
|
1886
|
+
const _0x387103 = _0x2532b4[_0x3768c7(_0x19f3b9._0x5ea41a)]['find'](_0x36d619 => _0x36d619[_0x3768c7(0x1d9)] === _0x2e18f4['task_id']);
|
|
1887
|
+
_0x387103?.[_0x3768c7(_0x19f3b9._0x572545)] != null && _0x3128ed['add'](_0x387103['taskNumber']);
|
|
1895
1888
|
}
|
|
1896
1889
|
}
|
|
1897
1890
|
}
|
|
1898
1891
|
} catch {
|
|
1899
1892
|
}
|
|
1900
|
-
return formatTaskList(
|
|
1893
|
+
return formatTaskList(_0x2532b4['tasks'], _0x3128ed);
|
|
1901
1894
|
},
|
|
1902
|
-
async 'create_tasks'(
|
|
1903
|
-
const
|
|
1904
|
-
return formatCreatedTasks(
|
|
1895
|
+
async 'create_tasks'(_0x3dd250) {
|
|
1896
|
+
const _0x467905 = _0x2e3f85, _0x285589 = await _0x1090e4[_0x467905(0x251)][_0x467905(0x215)](_0x3dd250);
|
|
1897
|
+
return formatCreatedTasks(_0x285589[_0x467905(0x14d)]);
|
|
1905
1898
|
},
|
|
1906
|
-
async 'claim_tasks'(
|
|
1907
|
-
const
|
|
1908
|
-
const
|
|
1909
|
-
if (!
|
|
1910
|
-
return
|
|
1899
|
+
async 'claim_tasks'(_0x187995) {
|
|
1900
|
+
const _0x6e57b7 = { _0x427bb4: 0x13a }, _0xc6d76b = _0x2e3f85, _0x29ac87 = await _0x1090e4['client']['claimTasks'](_0x187995), _0x2a2129 = await Promise[_0xc6d76b(0x1e0)](_0x29ac87['results'][_0xc6d76b(_0xc1400f._0x2eed48)](async _0x406946 => {
|
|
1901
|
+
const _0x2097a8 = _0xc6d76b;
|
|
1902
|
+
if (!_0x406946['success'] || !_0x406946[_0x2097a8(0x153)])
|
|
1903
|
+
return _0x406946;
|
|
1911
1904
|
try {
|
|
1912
|
-
const
|
|
1913
|
-
'channel':
|
|
1914
|
-
'messageId':
|
|
1915
|
-
'taskId':
|
|
1916
|
-
'taskNumber':
|
|
1917
|
-
'threadNumber':
|
|
1905
|
+
const _0x391b7c = await _0x7fa5fb({
|
|
1906
|
+
'channel': _0x187995[_0x2097a8(_0x6e57b7._0x427bb4)],
|
|
1907
|
+
'messageId': _0x406946['messageId'],
|
|
1908
|
+
'taskId': _0x406946[_0x2097a8(0x1d9)],
|
|
1909
|
+
'taskNumber': _0x406946[_0x2097a8(0x222)],
|
|
1910
|
+
'threadNumber': _0x406946['threadNumber']
|
|
1918
1911
|
});
|
|
1919
|
-
return
|
|
1920
|
-
...
|
|
1921
|
-
...
|
|
1922
|
-
} :
|
|
1923
|
-
} catch (
|
|
1912
|
+
return _0x391b7c ? {
|
|
1913
|
+
..._0x406946,
|
|
1914
|
+
..._0x391b7c
|
|
1915
|
+
} : _0x406946;
|
|
1916
|
+
} catch (_0x3f6b66) {
|
|
1924
1917
|
return {
|
|
1925
|
-
...
|
|
1926
|
-
'workerHandoffError':
|
|
1918
|
+
..._0x406946,
|
|
1919
|
+
'workerHandoffError': _0x3f6b66 instanceof Error ? _0x3f6b66[_0x2097a8(0x10f)] : 'worker\x20handoff\x20failed'
|
|
1927
1920
|
};
|
|
1928
1921
|
}
|
|
1929
1922
|
}));
|
|
1930
|
-
return formatClaimTaskResults(
|
|
1923
|
+
return formatClaimTaskResults(_0x2a2129);
|
|
1931
1924
|
},
|
|
1932
|
-
async 'unclaim_task'(
|
|
1933
|
-
const
|
|
1934
|
-
return formatUnclaimTaskResult(
|
|
1925
|
+
async 'unclaim_task'(_0x54a0b8) {
|
|
1926
|
+
const _0x16a39d = _0x2e3f85, _0x1bab2b = await _0x1090e4[_0x16a39d(0x251)][_0x16a39d(_0x3b7275._0x2241c6)](_0x54a0b8);
|
|
1927
|
+
return formatUnclaimTaskResult(_0x1bab2b);
|
|
1935
1928
|
},
|
|
1936
|
-
async 'update_task_status'(
|
|
1937
|
-
const
|
|
1938
|
-
return formatUpdateTaskStatusResult(
|
|
1929
|
+
async 'update_task_status'(_0x28a67e) {
|
|
1930
|
+
const _0x3fcb39 = _0x2e3f85, _0xca5c71 = await _0x1090e4[_0x3fcb39(0x251)][_0x3fcb39(_0x434db9._0x31fd0f)](_0x28a67e);
|
|
1931
|
+
return formatUpdateTaskStatusResult(_0xca5c71);
|
|
1939
1932
|
},
|
|
1940
|
-
async 'upload_file'(
|
|
1941
|
-
const
|
|
1942
|
-
sizeBytes:
|
|
1943
|
-
...
|
|
1944
|
-
} =
|
|
1945
|
-
'channel':
|
|
1946
|
-
...
|
|
1933
|
+
async 'upload_file'(_0x1cc5f1) {
|
|
1934
|
+
const _0x22741d = _0x2e3f85, _0x4de75e = await _0x1090e4[_0x22741d(0x1d4)](_0x1cc5f1['file_path']), {
|
|
1935
|
+
sizeBytes: _0x5468dc,
|
|
1936
|
+
..._0x4326b6
|
|
1937
|
+
} = _0x4de75e, _0x181783 = await _0x1090e4['client']['uploadFile']({
|
|
1938
|
+
'channel': _0x1cc5f1[_0x22741d(_0x4624ee._0x2d0c96)],
|
|
1939
|
+
..._0x4326b6
|
|
1947
1940
|
});
|
|
1948
|
-
return formatUploadResult(
|
|
1941
|
+
return formatUploadResult(_0x181783);
|
|
1949
1942
|
},
|
|
1950
|
-
async 'view_file'(
|
|
1951
|
-
const
|
|
1952
|
-
if (
|
|
1953
|
-
return formatViewFileResult(
|
|
1954
|
-
const
|
|
1955
|
-
'attachmentId':
|
|
1956
|
-
'contentType':
|
|
1957
|
-
'data':
|
|
1958
|
-
'originalFilename':
|
|
1943
|
+
async 'view_file'(_0x5530b3) {
|
|
1944
|
+
const _0x10262a = _0x2e3f85, _0x5b06ea = await _0x1090e4[_0x10262a(0x1bc)][_0x10262a(0x21a)](_0x5530b3[_0x10262a(_0x581463._0x3eeec0)]);
|
|
1945
|
+
if (_0x5b06ea)
|
|
1946
|
+
return formatViewFileResult(_0x5b06ea, !![]);
|
|
1947
|
+
const _0x3b9504 = await _0x1090e4[_0x10262a(_0x581463._0x34323d)][_0x10262a(0x20b)](_0x5530b3[_0x10262a(0x168)]), _0x4a7a32 = await _0x1090e4[_0x10262a(_0x581463._0x3251c1)][_0x10262a(_0x581463._0x152b9a)]({
|
|
1948
|
+
'attachmentId': _0x5530b3[_0x10262a(0x168)],
|
|
1949
|
+
'contentType': _0x3b9504[_0x10262a(0xf8)],
|
|
1950
|
+
'data': _0x3b9504[_0x10262a(0x17d)],
|
|
1951
|
+
'originalFilename': _0x3b9504['originalFilename']
|
|
1959
1952
|
});
|
|
1960
|
-
return formatViewFileResult(
|
|
1953
|
+
return formatViewFileResult(_0x4a7a32, ![]);
|
|
1961
1954
|
},
|
|
1962
|
-
async 'get_worker_status'(
|
|
1963
|
-
const
|
|
1964
|
-
if (!
|
|
1965
|
-
return
|
|
1966
|
-
const
|
|
1967
|
-
if (!
|
|
1968
|
-
return
|
|
1969
|
-
return
|
|
1970
|
-
},
|
|
1971
|
-
async 'get_worker_result'(_0x5ad5c4) {
|
|
1972
|
-
const _0x4f728f = _0x32743c;
|
|
1973
|
-
if (!_0x1bf818[_0x4f728f(0x14e)])
|
|
1974
|
-
return _0x4f728f(0x181);
|
|
1975
|
-
const _0x53080f = await fetch(_0x1bf818['daemonLocalUrl'] + '/workers/result?work_key=' + encodeURIComponent(_0x5ad5c4[_0x4f728f(_0x3fde99._0x2afb1e)])), _0x3caa50 = await _0x53080f['json']();
|
|
1976
|
-
if (!_0x3caa50[_0x4f728f(0x207)])
|
|
1977
|
-
return _0x4f728f(_0x3fde99._0x189a61) + _0x5ad5c4[_0x4f728f(_0x3fde99._0x4efc37)] + '\x22';
|
|
1978
|
-
return JSON['stringify'](_0x3caa50[_0x4f728f(_0x3fde99._0x3882ed)], null, 0x2);
|
|
1955
|
+
async 'get_worker_status'(_0x904b37) {
|
|
1956
|
+
const _0x393659 = _0x2e3f85;
|
|
1957
|
+
if (!_0x1090e4[_0x393659(0x189)])
|
|
1958
|
+
return 'Worker\x20features\x20not\x20available';
|
|
1959
|
+
const _0x387209 = await fetch(_0x1090e4[_0x393659(0x189)] + _0x393659(0x20e) + encodeURIComponent(_0x904b37[_0x393659(0x15b)])), _0x4fd361 = await _0x387209['json']();
|
|
1960
|
+
if (!_0x4fd361['ok'])
|
|
1961
|
+
return _0x393659(_0x43e96d._0x467130) + _0x904b37[_0x393659(0x15b)] + _0x393659(0x133);
|
|
1962
|
+
return _0x393659(_0x43e96d._0x28798a) + _0x904b37[_0x393659(_0x43e96d._0x2eb11e)] + _0x393659(0x194) + _0x4fd361['status'];
|
|
1979
1963
|
},
|
|
1980
|
-
async '
|
|
1981
|
-
const
|
|
1982
|
-
if (!
|
|
1964
|
+
async 'get_worker_result'(_0x497837) {
|
|
1965
|
+
const _0x4fcb4d = _0x2e3f85;
|
|
1966
|
+
if (!_0x1090e4['daemonLocalUrl'])
|
|
1983
1967
|
return 'Worker\x20features\x20not\x20available';
|
|
1984
|
-
const
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1968
|
+
const _0x48aa14 = await fetch(_0x1090e4[_0x4fcb4d(0x189)] + _0x4fcb4d(0x21f) + encodeURIComponent(_0x497837[_0x4fcb4d(0x15b)])), _0x3d03b7 = await _0x48aa14[_0x4fcb4d(0x161)]();
|
|
1969
|
+
if (!_0x3d03b7['resume_packet'])
|
|
1970
|
+
return _0x4fcb4d(0x1cd) + _0x497837[_0x4fcb4d(_0x251533._0x26fedd)] + '\x22';
|
|
1971
|
+
return JSON['stringify'](_0x3d03b7[_0x4fcb4d(0x1a0)], null, 0x2);
|
|
1972
|
+
},
|
|
1973
|
+
async 'finish_worker'(_0x8cd561) {
|
|
1974
|
+
const _0x5e0fc7 = _0x2e3f85;
|
|
1975
|
+
if (!_0x1090e4[_0x5e0fc7(_0x4700f8._0x1e58f4)])
|
|
1976
|
+
return _0x5e0fc7(0x1ae);
|
|
1977
|
+
const _0x387369 = await fetch(_0x1090e4[_0x5e0fc7(0x189)] + _0x5e0fc7(_0x4700f8._0x53d3fe), {
|
|
1978
|
+
'method': _0x5e0fc7(_0x4700f8._0x1dde71),
|
|
1979
|
+
'headers': { 'Content-Type': _0x5e0fc7(0x182) },
|
|
1980
|
+
'body': JSON[_0x5e0fc7(0x1ac)]({
|
|
1981
|
+
'work_key': _0x8cd561[_0x5e0fc7(0x15b)],
|
|
1989
1982
|
'resume_packet': {
|
|
1990
1983
|
'objective': '',
|
|
1991
|
-
'result':
|
|
1992
|
-
'summary':
|
|
1993
|
-
'decisions':
|
|
1994
|
-
'filesChanged':
|
|
1995
|
-
'openIssues':
|
|
1996
|
-
'nextSteps':
|
|
1984
|
+
'result': _0x8cd561[_0x5e0fc7(_0x4700f8._0x94d0ad)],
|
|
1985
|
+
'summary': _0x8cd561[_0x5e0fc7(0x1f7)],
|
|
1986
|
+
'decisions': _0x8cd561[_0x5e0fc7(0x181)] ?? [],
|
|
1987
|
+
'filesChanged': _0x8cd561['files_changed'] ?? [],
|
|
1988
|
+
'openIssues': _0x8cd561[_0x5e0fc7(0x1c3)] ?? [],
|
|
1989
|
+
'nextSteps': _0x8cd561['next_steps'] ?? []
|
|
1997
1990
|
}
|
|
1998
1991
|
})
|
|
1999
|
-
}),
|
|
2000
|
-
if (!
|
|
2001
|
-
throw new Error(
|
|
2002
|
-
return
|
|
1992
|
+
}), _0x36e4af = await _0x387369[_0x5e0fc7(_0x4700f8._0x2023be)]();
|
|
1993
|
+
if (!_0x36e4af['ok'])
|
|
1994
|
+
throw new Error(_0x36e4af[_0x5e0fc7(_0x4700f8._0x551abd)] ?? _0x5e0fc7(_0x4700f8._0x2f68eb));
|
|
1995
|
+
return _0x5e0fc7(0x225) + _0x8cd561[_0x5e0fc7(0x15b)] + _0x5e0fc7(_0x4700f8._0x2925ec) + _0x8cd561['result'];
|
|
2003
1996
|
},
|
|
2004
|
-
async 'mark_waiting_input'(
|
|
2005
|
-
const
|
|
2006
|
-
if (!
|
|
2007
|
-
return
|
|
2008
|
-
const
|
|
2009
|
-
'method':
|
|
2010
|
-
'headers': { 'Content-Type':
|
|
2011
|
-
'body': JSON[
|
|
2012
|
-
'work_key':
|
|
2013
|
-
'agent_id':
|
|
1997
|
+
async 'mark_waiting_input'(_0x245fcc) {
|
|
1998
|
+
const _0x64631e = _0x2e3f85;
|
|
1999
|
+
if (!_0x1090e4[_0x64631e(_0x212542._0x12e5eb)] || !_0x1090e4['agentId'])
|
|
2000
|
+
return 'Worker\x20features\x20not\x20available\x20(daemon\x20local\x20URL\x20or\x20agent\x20ID\x20not\x20configured)';
|
|
2001
|
+
const _0xabc72d = await fetch(_0x1090e4[_0x64631e(_0x212542._0x12e5eb)] + _0x64631e(_0x212542._0x5d690a), {
|
|
2002
|
+
'method': _0x64631e(_0x212542._0x5605f9),
|
|
2003
|
+
'headers': { 'Content-Type': _0x64631e(0x182) },
|
|
2004
|
+
'body': JSON['stringify']({
|
|
2005
|
+
'work_key': _0x245fcc[_0x64631e(_0x212542._0x3c18f1)],
|
|
2006
|
+
'agent_id': _0x1090e4['agentId']
|
|
2014
2007
|
})
|
|
2015
|
-
}),
|
|
2016
|
-
if (!
|
|
2017
|
-
throw new Error(
|
|
2018
|
-
return
|
|
2008
|
+
}), _0x36abc5 = await _0xabc72d[_0x64631e(0x161)]();
|
|
2009
|
+
if (!_0x36abc5['ok'])
|
|
2010
|
+
throw new Error(_0x36abc5[_0x64631e(_0x212542._0x41d838)] ?? 'mark_waiting_input\x20failed');
|
|
2011
|
+
return _0x64631e(0x225) + _0x245fcc[_0x64631e(_0x212542._0x4a793a)] + '\x22\x20marked\x20as\x20waiting_input.\x20TTL\x20timer\x20paused\x20until\x20next\x20message\x20arrives.';
|
|
2019
2012
|
},
|
|
2020
|
-
async 'escalate_to_main'(
|
|
2021
|
-
const
|
|
2022
|
-
if (!
|
|
2023
|
-
return
|
|
2024
|
-
const
|
|
2025
|
-
'method':
|
|
2026
|
-
'headers': { 'Content-Type':
|
|
2027
|
-
'body': JSON[
|
|
2028
|
-
'work_key':
|
|
2029
|
-
'reason':
|
|
2013
|
+
async 'escalate_to_main'(_0x1d49d2) {
|
|
2014
|
+
const _0x3defd6 = _0x2e3f85;
|
|
2015
|
+
if (!_0x1090e4[_0x3defd6(0x189)])
|
|
2016
|
+
return _0x3defd6(0x1ae);
|
|
2017
|
+
const _0x5c65a8 = await fetch(_0x1090e4[_0x3defd6(0x189)] + _0x3defd6(0x25d), {
|
|
2018
|
+
'method': 'POST',
|
|
2019
|
+
'headers': { 'Content-Type': _0x3defd6(0x182) },
|
|
2020
|
+
'body': JSON[_0x3defd6(_0x4355ac._0x41ee43)]({
|
|
2021
|
+
'work_key': _0x1d49d2[_0x3defd6(_0x4355ac._0x10ef13)],
|
|
2022
|
+
'reason': _0x1d49d2[_0x3defd6(_0x4355ac._0x14e854)]
|
|
2030
2023
|
})
|
|
2031
|
-
}),
|
|
2032
|
-
if (!
|
|
2033
|
-
throw new Error(
|
|
2034
|
-
return
|
|
2024
|
+
}), _0xc6e854 = await _0x5c65a8[_0x3defd6(_0x4355ac._0x4d5b34)]();
|
|
2025
|
+
if (!_0xc6e854['ok'])
|
|
2026
|
+
throw new Error(_0xc6e854[_0x3defd6(_0x4355ac._0xc6ee43)] ?? _0x3defd6(_0x4355ac._0x55a316));
|
|
2027
|
+
return _0x3defd6(_0x4355ac._0x44534d) + _0x1d49d2[_0x3defd6(_0x4355ac._0x14e854)];
|
|
2035
2028
|
}
|
|
2036
2029
|
};
|
|
2037
2030
|
}
|
|
2038
|
-
function textResult(
|
|
2031
|
+
function textResult(_0x1ccf29, _0x57ca81 = ![]) {
|
|
2032
|
+
const _0xbd0f15 = _0x42cca9;
|
|
2039
2033
|
return {
|
|
2040
2034
|
'content': [{
|
|
2041
|
-
'type':
|
|
2042
|
-
'text':
|
|
2035
|
+
'type': _0xbd0f15(0x22b),
|
|
2036
|
+
'text': _0x1ccf29
|
|
2043
2037
|
}],
|
|
2044
|
-
...
|
|
2038
|
+
..._0x57ca81 ? { 'isError': !![] } : {}
|
|
2045
2039
|
};
|
|
2046
2040
|
}
|
|
2047
|
-
async function registerChatBridgeTools(
|
|
2048
|
-
const
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
'
|
|
2113
|
-
'
|
|
2114
|
-
'
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2041
|
+
async function registerChatBridgeTools(_0x3fdf8f, _0x15684e, _0x5767e1) {
|
|
2042
|
+
const _0x21a81b = {
|
|
2043
|
+
_0x3ca703: 0x1b4,
|
|
2044
|
+
_0x243e25: 0x1f9,
|
|
2045
|
+
_0xd004ee: 0x154,
|
|
2046
|
+
_0x58478d: 0x1cc,
|
|
2047
|
+
_0x3c1802: 0x21e,
|
|
2048
|
+
_0x102f23: 0x1f9,
|
|
2049
|
+
_0x2d5a58: 0x119,
|
|
2050
|
+
_0x437ff5: 0x1f5,
|
|
2051
|
+
_0x2d0565: 0x1f9,
|
|
2052
|
+
_0x432fa3: 0x1e3,
|
|
2053
|
+
_0x26f9b7: 0x1fd,
|
|
2054
|
+
_0x4e6b42: 0x14a,
|
|
2055
|
+
_0x4f823f: 0x1f9,
|
|
2056
|
+
_0x431cc6: 0x1f9,
|
|
2057
|
+
_0x2ebc39: 0x154,
|
|
2058
|
+
_0x280004: 0x234,
|
|
2059
|
+
_0x4ffd82: 0x193,
|
|
2060
|
+
_0x3bfbef: 0x1de,
|
|
2061
|
+
_0xac41a1: 0x119,
|
|
2062
|
+
_0x8e5834: 0x1f9,
|
|
2063
|
+
_0x3044a9: 0x1e4,
|
|
2064
|
+
_0x4c4b24: 0x102,
|
|
2065
|
+
_0xa67fa4: 0x268,
|
|
2066
|
+
_0xb3d99d: 0x173,
|
|
2067
|
+
_0x4920f2: 0x268,
|
|
2068
|
+
_0x3fa7f2: 0x119,
|
|
2069
|
+
_0x4af857: 0x1e3,
|
|
2070
|
+
_0x2948bd: 0x1f9,
|
|
2071
|
+
_0x2be32f: 0x122,
|
|
2072
|
+
_0x7b9a0d: 0x1f9,
|
|
2073
|
+
_0x1e1afc: 0x1b7,
|
|
2074
|
+
_0xa1556b: 0x1f4,
|
|
2075
|
+
_0x146313: 0x188,
|
|
2076
|
+
_0x2bffb7: 0x196,
|
|
2077
|
+
_0xc18370: 0x1b1,
|
|
2078
|
+
_0x202702: 0x14f,
|
|
2079
|
+
_0x4f98d2: 0x154,
|
|
2080
|
+
_0x41090f: 0x14f,
|
|
2081
|
+
_0x30a248: 0x1f9,
|
|
2082
|
+
_0x2dfc15: 0x24c,
|
|
2083
|
+
_0x2d0440: 0x17e
|
|
2084
|
+
}, _0x2a2df2 = {
|
|
2085
|
+
_0x4ede1c: 0x10f,
|
|
2086
|
+
_0x5072e8: 0xf1
|
|
2087
|
+
}, _0x20b254 = {
|
|
2088
|
+
_0x56f138: 0x188,
|
|
2089
|
+
_0x3694a1: 0x10f
|
|
2090
|
+
}, _0x50713b = {
|
|
2091
|
+
_0x1c7be6: 0x10f,
|
|
2092
|
+
_0x382c5d: 0x125
|
|
2093
|
+
}, _0x3efd0c = {
|
|
2094
|
+
_0xfad0be: 0x10f,
|
|
2095
|
+
_0x5f1719: 0xf6
|
|
2096
|
+
}, _0x588aa7 = { _0x119774: 0x138 }, _0x2331d0 = { _0x25a889: 0x18a }, _0x3bc5e5 = { _0xbdee20: 0x10f }, _0x26361c = {
|
|
2097
|
+
_0x14568d: 0x1f5,
|
|
2098
|
+
_0x44b817: 0x10f,
|
|
2099
|
+
_0x3f783b: 0x15f
|
|
2100
|
+
}, _0x53d3a6 = {
|
|
2101
|
+
_0x3768a3: 0x1be,
|
|
2102
|
+
_0x4a2bfa: 0x10f,
|
|
2103
|
+
_0x16a517: 0x115
|
|
2104
|
+
}, _0x58846c = { _0xf3de66: 0x10f }, _0x68f7f5 = { _0x2c3234: 0x10f }, _0x42d6e8 = _0x42cca9, {z: _0x1fd4e9} = await import('zod');
|
|
2105
|
+
_0x3fdf8f['tool'](_0x42d6e8(0x25a), _0x42d6e8(_0x21a81b._0x3ca703), {
|
|
2106
|
+
'target': _0x1fd4e9[_0x42d6e8(_0x21a81b._0x243e25)](),
|
|
2107
|
+
'content': _0x1fd4e9['string'](),
|
|
2108
|
+
'attachment_ids': _0x1fd4e9[_0x42d6e8(0x14f)](_0x1fd4e9[_0x42d6e8(_0x21a81b._0x243e25)]())[_0x42d6e8(_0x21a81b._0xd004ee)](),
|
|
2109
|
+
'visibility': _0x1fd4e9['enum']([
|
|
2110
|
+
_0x42d6e8(0x243),
|
|
2111
|
+
_0x42d6e8(_0x21a81b._0x58478d)
|
|
2112
|
+
])[_0x42d6e8(0x154)]()[_0x42d6e8(0x141)](_0x42d6e8(0x244))
|
|
2113
|
+
}, async _0x4a6544 => {
|
|
2114
|
+
const _0x204642 = _0x42d6e8;
|
|
2120
2115
|
try {
|
|
2121
|
-
return textResult(await
|
|
2122
|
-
} catch (
|
|
2123
|
-
return textResult(
|
|
2116
|
+
return textResult(await _0x15684e[_0x204642(0x25a)](_0x4a6544));
|
|
2117
|
+
} catch (_0x686b18) {
|
|
2118
|
+
return textResult(_0x686b18 instanceof Error ? _0x686b18[_0x204642(_0x68f7f5._0x2c3234)] : _0x204642(0x104), !![]);
|
|
2124
2119
|
}
|
|
2125
|
-
}),
|
|
2126
|
-
const
|
|
2120
|
+
}), _0x3fdf8f[_0x42d6e8(0x268)](_0x42d6e8(0x203), _0x42d6e8(0x140), {}, async () => {
|
|
2121
|
+
const _0x193d75 = _0x42d6e8;
|
|
2127
2122
|
try {
|
|
2128
|
-
return textResult(await
|
|
2129
|
-
} catch (
|
|
2130
|
-
return textResult(
|
|
2123
|
+
return textResult(await _0x15684e[_0x193d75(0x203)]());
|
|
2124
|
+
} catch (_0x29d56f) {
|
|
2125
|
+
return textResult(_0x29d56f instanceof Error ? _0x29d56f[_0x193d75(_0x58846c._0xf3de66)] : _0x193d75(0x20a), !![]);
|
|
2131
2126
|
}
|
|
2132
|
-
}),
|
|
2133
|
-
'channel':
|
|
2134
|
-
'limit':
|
|
2135
|
-
'before':
|
|
2136
|
-
'after':
|
|
2137
|
-
}, async
|
|
2138
|
-
const
|
|
2127
|
+
}), _0x3fdf8f[_0x42d6e8(0x268)](_0x42d6e8(0x1be), _0x42d6e8(_0x21a81b._0x3c1802), {
|
|
2128
|
+
'channel': _0x1fd4e9[_0x42d6e8(_0x21a81b._0x102f23)](),
|
|
2129
|
+
'limit': _0x1fd4e9[_0x42d6e8(0x119)]()[_0x42d6e8(_0x21a81b._0xd004ee)](),
|
|
2130
|
+
'before': _0x1fd4e9[_0x42d6e8(_0x21a81b._0x2d5a58)]()[_0x42d6e8(0x154)](),
|
|
2131
|
+
'after': _0x1fd4e9[_0x42d6e8(0x119)]()[_0x42d6e8(_0x21a81b._0xd004ee)]()
|
|
2132
|
+
}, async _0x7bb373 => {
|
|
2133
|
+
const _0x3b0228 = _0x42d6e8;
|
|
2139
2134
|
try {
|
|
2140
|
-
return textResult(await
|
|
2141
|
-
} catch (
|
|
2142
|
-
return textResult(
|
|
2135
|
+
return textResult(await _0x15684e[_0x3b0228(_0x53d3a6._0x3768a3)](_0x7bb373));
|
|
2136
|
+
} catch (_0x4f7d7f) {
|
|
2137
|
+
return textResult(_0x4f7d7f instanceof Error ? _0x4f7d7f[_0x3b0228(_0x53d3a6._0x4a2bfa)] : _0x3b0228(_0x53d3a6._0x16a517), !![]);
|
|
2143
2138
|
}
|
|
2144
|
-
}),
|
|
2145
|
-
const
|
|
2139
|
+
}), _0x3fdf8f['tool'](_0x42d6e8(_0x21a81b._0x437ff5), _0x42d6e8(0x180), {}, async () => {
|
|
2140
|
+
const _0x5812f0 = _0x42d6e8;
|
|
2146
2141
|
try {
|
|
2147
|
-
return textResult(await
|
|
2148
|
-
} catch (
|
|
2149
|
-
return textResult(
|
|
2142
|
+
return textResult(await _0x15684e[_0x5812f0(_0x26361c._0x14568d)]());
|
|
2143
|
+
} catch (_0x362ecc) {
|
|
2144
|
+
return textResult(_0x362ecc instanceof Error ? _0x362ecc[_0x5812f0(_0x26361c._0x44b817)] : _0x5812f0(_0x26361c._0x3f783b), !![]);
|
|
2150
2145
|
}
|
|
2151
|
-
}),
|
|
2152
|
-
'channel':
|
|
2153
|
-
'status':
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
])[
|
|
2159
|
-
}, async
|
|
2160
|
-
const _0x3216ae = _0x10ccff;
|
|
2146
|
+
}), _0x3fdf8f[_0x42d6e8(0x268)](_0x42d6e8(0xff), _0x42d6e8(0x218), {
|
|
2147
|
+
'channel': _0x1fd4e9[_0x42d6e8(_0x21a81b._0x2d0565)](),
|
|
2148
|
+
'status': _0x1fd4e9[_0x42d6e8(0x196)]([
|
|
2149
|
+
_0x42d6e8(_0x21a81b._0x432fa3),
|
|
2150
|
+
_0x42d6e8(_0x21a81b._0x26f9b7),
|
|
2151
|
+
_0x42d6e8(0x217),
|
|
2152
|
+
'done'
|
|
2153
|
+
])['optional']()
|
|
2154
|
+
}, async _0x5f32b2 => {
|
|
2161
2155
|
try {
|
|
2162
|
-
return textResult(await
|
|
2163
|
-
} catch (
|
|
2164
|
-
return textResult(
|
|
2156
|
+
return textResult(await _0x15684e['list_tasks'](_0x5f32b2));
|
|
2157
|
+
} catch (_0xe7ed88) {
|
|
2158
|
+
return textResult(_0xe7ed88 instanceof Error ? _0xe7ed88['message'] : 'list_tasks\x20failed', !![]);
|
|
2165
2159
|
}
|
|
2166
|
-
}),
|
|
2167
|
-
'channel':
|
|
2168
|
-
'idempotency_key':
|
|
2169
|
-
'tasks':
|
|
2170
|
-
'title':
|
|
2171
|
-
'description':
|
|
2172
|
-
'priority':
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
])[
|
|
2160
|
+
}), _0x3fdf8f[_0x42d6e8(0x268)](_0x42d6e8(_0x21a81b._0x4e6b42), _0x42d6e8(0x1d7), {
|
|
2161
|
+
'channel': _0x1fd4e9[_0x42d6e8(_0x21a81b._0x4f823f)](),
|
|
2162
|
+
'idempotency_key': _0x1fd4e9['string']()[_0x42d6e8(0x154)](),
|
|
2163
|
+
'tasks': _0x1fd4e9['array'](_0x1fd4e9[_0x42d6e8(0x1e4)]({
|
|
2164
|
+
'title': _0x1fd4e9[_0x42d6e8(_0x21a81b._0x102f23)](),
|
|
2165
|
+
'description': _0x1fd4e9[_0x42d6e8(_0x21a81b._0x431cc6)]()[_0x42d6e8(_0x21a81b._0x2ebc39)](),
|
|
2166
|
+
'priority': _0x1fd4e9[_0x42d6e8(0x196)]([
|
|
2167
|
+
_0x42d6e8(_0x21a81b._0x280004),
|
|
2168
|
+
'medium',
|
|
2169
|
+
_0x42d6e8(0x1aa),
|
|
2170
|
+
_0x42d6e8(_0x21a81b._0x4ffd82)
|
|
2171
|
+
])[_0x42d6e8(_0x21a81b._0x2ebc39)]()
|
|
2178
2172
|
}))
|
|
2179
|
-
}, async
|
|
2180
|
-
const
|
|
2173
|
+
}, async _0x516a62 => {
|
|
2174
|
+
const _0x38a251 = _0x42d6e8;
|
|
2181
2175
|
try {
|
|
2182
|
-
return textResult(await
|
|
2183
|
-
} catch (
|
|
2184
|
-
return textResult(
|
|
2176
|
+
return textResult(await _0x15684e[_0x38a251(0x14a)](_0x516a62));
|
|
2177
|
+
} catch (_0x1caaec) {
|
|
2178
|
+
return textResult(_0x1caaec instanceof Error ? _0x1caaec[_0x38a251(_0x3bc5e5._0xbdee20)] : 'create_tasks\x20failed', !![]);
|
|
2185
2179
|
}
|
|
2186
|
-
}),
|
|
2187
|
-
'channel':
|
|
2188
|
-
'task_numbers':
|
|
2189
|
-
'message_ids':
|
|
2190
|
-
'evidence':
|
|
2191
|
-
'create_thread':
|
|
2192
|
-
'create_task':
|
|
2180
|
+
}), _0x3fdf8f['tool'](_0x42d6e8(_0x21a81b._0x3bfbef), 'Claim\x20tasks\x20in\x20a\x20channel\x20by\x20task\x20number\x20or\x20source\x20message.', {
|
|
2181
|
+
'channel': _0x1fd4e9[_0x42d6e8(0x1f9)](),
|
|
2182
|
+
'task_numbers': _0x1fd4e9[_0x42d6e8(0x14f)](_0x1fd4e9[_0x42d6e8(_0x21a81b._0xac41a1)]())[_0x42d6e8(0x154)](),
|
|
2183
|
+
'message_ids': _0x1fd4e9[_0x42d6e8(0x14f)](_0x1fd4e9['string']())['optional'](),
|
|
2184
|
+
'evidence': _0x1fd4e9['record'](_0x1fd4e9[_0x42d6e8(_0x21a81b._0x8e5834)](), _0x1fd4e9[_0x42d6e8(_0x21a81b._0x3044a9)]({
|
|
2185
|
+
'create_thread': _0x1fd4e9[_0x42d6e8(0x102)]()[_0x42d6e8(_0x21a81b._0xd004ee)](),
|
|
2186
|
+
'create_task': _0x1fd4e9[_0x42d6e8(_0x21a81b._0x4c4b24)]()[_0x42d6e8(_0x21a81b._0xd004ee)]()
|
|
2193
2187
|
}))['optional'](),
|
|
2194
|
-
'idempotency_key':
|
|
2195
|
-
}, async
|
|
2196
|
-
const
|
|
2188
|
+
'idempotency_key': _0x1fd4e9[_0x42d6e8(0x1f9)]()[_0x42d6e8(0x154)]()
|
|
2189
|
+
}, async _0x44b134 => {
|
|
2190
|
+
const _0x11386d = _0x42d6e8;
|
|
2197
2191
|
try {
|
|
2198
|
-
return textResult(await
|
|
2199
|
-
} catch (
|
|
2200
|
-
return textResult(
|
|
2192
|
+
return textResult(await _0x15684e[_0x11386d(0x1de)](_0x44b134));
|
|
2193
|
+
} catch (_0x523666) {
|
|
2194
|
+
return textResult(_0x523666 instanceof Error ? _0x523666[_0x11386d(0x10f)] : _0x11386d(0x23b), !![]);
|
|
2201
2195
|
}
|
|
2202
|
-
}),
|
|
2203
|
-
'channel':
|
|
2204
|
-
'task_number':
|
|
2205
|
-
'idempotency_key':
|
|
2206
|
-
}, async
|
|
2207
|
-
const
|
|
2196
|
+
}), _0x3fdf8f[_0x42d6e8(_0x21a81b._0xa67fa4)](_0x42d6e8(0x18a), _0x42d6e8(_0x21a81b._0xb3d99d), {
|
|
2197
|
+
'channel': _0x1fd4e9[_0x42d6e8(0x1f9)](),
|
|
2198
|
+
'task_number': _0x1fd4e9[_0x42d6e8(_0x21a81b._0x2d5a58)](),
|
|
2199
|
+
'idempotency_key': _0x1fd4e9[_0x42d6e8(0x1f9)]()['optional']()
|
|
2200
|
+
}, async _0x57007e => {
|
|
2201
|
+
const _0x4734f4 = _0x42d6e8;
|
|
2208
2202
|
try {
|
|
2209
|
-
return textResult(await
|
|
2210
|
-
} catch (
|
|
2211
|
-
return textResult(
|
|
2203
|
+
return textResult(await _0x15684e[_0x4734f4(_0x2331d0._0x25a889)](_0x57007e));
|
|
2204
|
+
} catch (_0x17c2e5) {
|
|
2205
|
+
return textResult(_0x17c2e5 instanceof Error ? _0x17c2e5['message'] : _0x4734f4(0x25e), !![]);
|
|
2212
2206
|
}
|
|
2213
|
-
}),
|
|
2214
|
-
'channel':
|
|
2215
|
-
'task_number':
|
|
2216
|
-
'status':
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2207
|
+
}), _0x3fdf8f[_0x42d6e8(_0x21a81b._0x4920f2)](_0x42d6e8(0x1db), _0x42d6e8(0x199), {
|
|
2208
|
+
'channel': _0x1fd4e9[_0x42d6e8(0x1f9)](),
|
|
2209
|
+
'task_number': _0x1fd4e9[_0x42d6e8(_0x21a81b._0x3fa7f2)](),
|
|
2210
|
+
'status': _0x1fd4e9[_0x42d6e8(0x196)]([
|
|
2211
|
+
_0x42d6e8(_0x21a81b._0x4af857),
|
|
2212
|
+
_0x42d6e8(0x1fd),
|
|
2213
|
+
'in_review',
|
|
2214
|
+
'done'
|
|
2221
2215
|
]),
|
|
2222
|
-
'idempotency_key':
|
|
2223
|
-
}, async
|
|
2224
|
-
const
|
|
2216
|
+
'idempotency_key': _0x1fd4e9[_0x42d6e8(_0x21a81b._0x2948bd)]()[_0x42d6e8(0x154)]()
|
|
2217
|
+
}, async _0x3ee6a6 => {
|
|
2218
|
+
const _0x1fd929 = _0x42d6e8;
|
|
2225
2219
|
try {
|
|
2226
|
-
return textResult(await
|
|
2227
|
-
} catch (
|
|
2228
|
-
return textResult(
|
|
2220
|
+
return textResult(await _0x15684e[_0x1fd929(0x1db)](_0x3ee6a6));
|
|
2221
|
+
} catch (_0x2b58c1) {
|
|
2222
|
+
return textResult(_0x2b58c1 instanceof Error ? _0x2b58c1[_0x1fd929(0x10f)] : 'update_task_status\x20failed', !![]);
|
|
2229
2223
|
}
|
|
2230
|
-
}),
|
|
2231
|
-
'channel':
|
|
2232
|
-
'file_path':
|
|
2233
|
-
}, async
|
|
2234
|
-
const
|
|
2224
|
+
}), _0x3fdf8f['tool']('upload_file', _0x42d6e8(_0x21a81b._0x2be32f), {
|
|
2225
|
+
'channel': _0x1fd4e9[_0x42d6e8(0x1f9)](),
|
|
2226
|
+
'file_path': _0x1fd4e9['string']()
|
|
2227
|
+
}, async _0x285286 => {
|
|
2228
|
+
const _0x122775 = _0x42d6e8;
|
|
2235
2229
|
try {
|
|
2236
|
-
return textResult(await
|
|
2237
|
-
} catch (
|
|
2238
|
-
return textResult(
|
|
2230
|
+
return textResult(await _0x15684e[_0x122775(0x267)](_0x285286));
|
|
2231
|
+
} catch (_0x3fa313) {
|
|
2232
|
+
return textResult(_0x3fa313 instanceof Error ? _0x3fa313[_0x122775(0x10f)] : _0x122775(_0x588aa7._0x119774), !![]);
|
|
2239
2233
|
}
|
|
2240
|
-
}),
|
|
2241
|
-
const
|
|
2234
|
+
}), _0x3fdf8f[_0x42d6e8(0x268)]('view_file', 'Download\x20an\x20attachment\x20to\x20the\x20local\x20cache\x20and\x20return\x20the\x20local\x20path.', { 'attachment_id': _0x1fd4e9[_0x42d6e8(_0x21a81b._0x7b9a0d)]() }, async _0x1c59e4 => {
|
|
2235
|
+
const _0x8ac4f9 = _0x42d6e8;
|
|
2242
2236
|
try {
|
|
2243
|
-
return textResult(await
|
|
2244
|
-
} catch (
|
|
2245
|
-
return textResult(
|
|
2237
|
+
return textResult(await _0x15684e['view_file'](_0x1c59e4));
|
|
2238
|
+
} catch (_0x481a49) {
|
|
2239
|
+
return textResult(_0x481a49 instanceof Error ? _0x481a49[_0x8ac4f9(_0x3efd0c._0xfad0be)] : _0x8ac4f9(_0x3efd0c._0x5f1719), !![]);
|
|
2246
2240
|
}
|
|
2247
|
-
}),
|
|
2248
|
-
const
|
|
2241
|
+
}), _0x3fdf8f[_0x42d6e8(0x268)]('get_worker_status', _0x42d6e8(_0x21a81b._0x1e1afc), { 'work_key': _0x1fd4e9[_0x42d6e8(0x1f9)]() }, async _0xef7902 => {
|
|
2242
|
+
const _0xed2a53 = _0x42d6e8;
|
|
2249
2243
|
try {
|
|
2250
|
-
return textResult(await
|
|
2251
|
-
} catch (
|
|
2252
|
-
return textResult(
|
|
2244
|
+
return textResult(await _0x15684e[_0xed2a53(0x1ee)](_0xef7902));
|
|
2245
|
+
} catch (_0x57f35b) {
|
|
2246
|
+
return textResult(_0x57f35b instanceof Error ? _0x57f35b[_0xed2a53(_0x50713b._0x1c7be6)] : _0xed2a53(_0x50713b._0x382c5d), !![]);
|
|
2253
2247
|
}
|
|
2254
|
-
}),
|
|
2255
|
-
const
|
|
2248
|
+
}), _0x3fdf8f[_0x42d6e8(0x268)](_0x42d6e8(_0x21a81b._0xa1556b), _0x42d6e8(0x1d1), { 'work_key': _0x1fd4e9['string']() }, async _0x577f04 => {
|
|
2249
|
+
const _0x3465d2 = _0x42d6e8;
|
|
2256
2250
|
try {
|
|
2257
|
-
return textResult(await
|
|
2258
|
-
} catch (
|
|
2259
|
-
return textResult(
|
|
2251
|
+
return textResult(await _0x15684e['get_worker_result'](_0x577f04));
|
|
2252
|
+
} catch (_0x8d7810) {
|
|
2253
|
+
return textResult(_0x8d7810 instanceof Error ? _0x8d7810[_0x3465d2(0x10f)] : _0x3465d2(0x162), !![]);
|
|
2260
2254
|
}
|
|
2261
|
-
}),
|
|
2262
|
-
'work_key':
|
|
2263
|
-
'result':
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2255
|
+
}), _0x3fdf8f[_0x42d6e8(_0x21a81b._0x4920f2)](_0x42d6e8(_0x21a81b._0x146313), 'Signal\x20that\x20the\x20current\x20worker\x20session\x20is\x20finished\x20and\x20provide\x20a\x20result\x20summary.', {
|
|
2256
|
+
'work_key': _0x1fd4e9[_0x42d6e8(0x1f9)](),
|
|
2257
|
+
'result': _0x1fd4e9[_0x42d6e8(_0x21a81b._0x2bffb7)]([
|
|
2258
|
+
_0x42d6e8(0xfd),
|
|
2259
|
+
_0x42d6e8(_0x21a81b._0xc18370),
|
|
2260
|
+
'failed'
|
|
2267
2261
|
]),
|
|
2268
|
-
'summary':
|
|
2269
|
-
'decisions':
|
|
2270
|
-
'files_changed':
|
|
2271
|
-
'open_issues':
|
|
2272
|
-
'next_steps':
|
|
2273
|
-
}, async
|
|
2274
|
-
const
|
|
2262
|
+
'summary': _0x1fd4e9[_0x42d6e8(_0x21a81b._0x8e5834)](),
|
|
2263
|
+
'decisions': _0x1fd4e9[_0x42d6e8(0x14f)](_0x1fd4e9['string']())['optional'](),
|
|
2264
|
+
'files_changed': _0x1fd4e9[_0x42d6e8(_0x21a81b._0x202702)](_0x1fd4e9[_0x42d6e8(_0x21a81b._0x2d0565)]())[_0x42d6e8(_0x21a81b._0x4f98d2)](),
|
|
2265
|
+
'open_issues': _0x1fd4e9[_0x42d6e8(_0x21a81b._0x41090f)](_0x1fd4e9['string']())[_0x42d6e8(0x154)](),
|
|
2266
|
+
'next_steps': _0x1fd4e9[_0x42d6e8(0x14f)](_0x1fd4e9[_0x42d6e8(_0x21a81b._0x30a248)]())['optional']()
|
|
2267
|
+
}, async _0x3775a0 => {
|
|
2268
|
+
const _0x68347 = _0x42d6e8;
|
|
2275
2269
|
try {
|
|
2276
|
-
return textResult(await
|
|
2277
|
-
} catch (
|
|
2278
|
-
return textResult(
|
|
2270
|
+
return textResult(await _0x15684e[_0x68347(_0x20b254._0x56f138)](_0x3775a0));
|
|
2271
|
+
} catch (_0x2e87b6) {
|
|
2272
|
+
return textResult(_0x2e87b6 instanceof Error ? _0x2e87b6[_0x68347(_0x20b254._0x3694a1)] : 'finish_worker\x20failed', !![]);
|
|
2279
2273
|
}
|
|
2280
|
-
}),
|
|
2281
|
-
'work_key':
|
|
2282
|
-
'reason':
|
|
2283
|
-
}, async
|
|
2284
|
-
const
|
|
2274
|
+
}), _0x3fdf8f[_0x42d6e8(0x268)](_0x42d6e8(0x26c), _0x42d6e8(0x21b), {
|
|
2275
|
+
'work_key': _0x1fd4e9[_0x42d6e8(0x1f9)](),
|
|
2276
|
+
'reason': _0x1fd4e9['string']()
|
|
2277
|
+
}, async _0x2b54f2 => {
|
|
2278
|
+
const _0x5b7be9 = _0x42d6e8;
|
|
2285
2279
|
try {
|
|
2286
|
-
return textResult(await
|
|
2287
|
-
} catch (
|
|
2288
|
-
return textResult(
|
|
2280
|
+
return textResult(await _0x15684e['escalate_to_main'](_0x2b54f2));
|
|
2281
|
+
} catch (_0x507520) {
|
|
2282
|
+
return textResult(_0x507520 instanceof Error ? _0x507520['message'] : _0x5b7be9(0x15a), !![]);
|
|
2289
2283
|
}
|
|
2290
|
-
}),
|
|
2291
|
-
const
|
|
2284
|
+
}), _0x5767e1?.[_0x42d6e8(_0x21a81b._0x2dfc15)] && _0x3fdf8f[_0x42d6e8(0x268)](_0x42d6e8(_0x21a81b._0x2d0440), _0x42d6e8(0x145), { 'work_key': _0x1fd4e9[_0x42d6e8(0x1f9)]() }, async _0x5ec21f => {
|
|
2285
|
+
const _0x37f678 = _0x42d6e8;
|
|
2292
2286
|
try {
|
|
2293
|
-
return textResult(await
|
|
2294
|
-
} catch (
|
|
2295
|
-
return textResult(
|
|
2287
|
+
return textResult(await _0x15684e['mark_waiting_input'](_0x5ec21f));
|
|
2288
|
+
} catch (_0x577373) {
|
|
2289
|
+
return textResult(_0x577373 instanceof Error ? _0x577373[_0x37f678(_0x2a2df2._0x4ede1c)] : _0x37f678(_0x2a2df2._0x5072e8), !![]);
|
|
2296
2290
|
}
|
|
2297
2291
|
});
|
|
2298
2292
|
}
|
|
2299
|
-
async function createChatBridgeServer(
|
|
2300
|
-
const
|
|
2301
|
-
'name':
|
|
2302
|
-
'version':
|
|
2303
|
-
}),
|
|
2304
|
-
return await registerChatBridgeTools(
|
|
2305
|
-
'handlers':
|
|
2306
|
-
'server':
|
|
2293
|
+
async function createChatBridgeServer(_0x5ebfd3) {
|
|
2294
|
+
const _0x2577f2 = { _0x5e2163: 0x255 }, _0x58d8f6 = _0x42cca9, {McpServer: _0x1eb665} = await import(_0x58d8f6(_0x2577f2._0x5e2163)), _0x88ca52 = new _0x1eb665({
|
|
2295
|
+
'name': 'chat',
|
|
2296
|
+
'version': '0.0.0'
|
|
2297
|
+
}), _0x2ebe67 = createChatBridgeHandlers(_0x5ebfd3);
|
|
2298
|
+
return await registerChatBridgeTools(_0x88ca52, _0x2ebe67, { 'workerMode': _0x5ebfd3[_0x58d8f6(0x24c)] }), {
|
|
2299
|
+
'handlers': _0x2ebe67,
|
|
2300
|
+
'server': _0x88ca52
|
|
2307
2301
|
};
|
|
2308
2302
|
}
|
|
2309
|
-
function readFlag(
|
|
2310
|
-
const
|
|
2311
|
-
if (
|
|
2303
|
+
function readFlag(_0x506a8d, _0x1dad0e) {
|
|
2304
|
+
const _0x74f5ed = _0x506a8d['indexOf'](_0x1dad0e);
|
|
2305
|
+
if (_0x74f5ed === -0x1)
|
|
2312
2306
|
return void 0x0;
|
|
2313
|
-
return
|
|
2307
|
+
return _0x506a8d[_0x74f5ed + 0x1];
|
|
2314
2308
|
}
|
|
2315
|
-
function parseChatBridgeArgs(
|
|
2316
|
-
const
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2309
|
+
function parseChatBridgeArgs(_0x411880) {
|
|
2310
|
+
const _0x3482fc = {
|
|
2311
|
+
_0xdffc5: 0x1d3,
|
|
2312
|
+
_0x42edf1: 0x121,
|
|
2313
|
+
_0x497eac: 0x139,
|
|
2314
|
+
_0x30dcdd: 0x11f,
|
|
2315
|
+
_0x139a64: 0x1c4,
|
|
2316
|
+
_0x386776: 0x24a,
|
|
2317
|
+
_0x46cd80: 0x149,
|
|
2318
|
+
_0x1f373b: 0x1c9
|
|
2319
|
+
}, _0x3c1af5 = _0x42cca9, _0x387042 = readFlag(_0x411880, _0x3c1af5(0x266)), _0x5e5a82 = readFlag(_0x411880, '--daemon-api-key'), _0x1b97e3 = readFlag(_0x411880, _0x3c1af5(_0x3482fc._0xdffc5)), _0x2563ed = readFlag(_0x411880, _0x3c1af5(_0x3482fc._0x42edf1)) ?? _0x3c1af5(_0x3482fc._0x497eac), _0x11b6d0 = readFlag(_0x411880, '--daemon-local-url'), _0x112e1b = readFlag(_0x411880, _0x3c1af5(_0x3482fc._0x30dcdd)), _0x5076d6 = readFlag(_0x411880, '--worker-mode-enabled'), _0x8db0f7 = readFlag(_0x411880, '--worker-session-id'), _0x53d3f9 = readFlag(_0x411880, _0x3c1af5(_0x3482fc._0x139a64)), _0x283ad2 = _0x411880[_0x3c1af5(_0x3482fc._0x386776)](_0x3c1af5(0x235)), _0x3ab46a = _0x1b97e3 === void 0x0 ? void 0x0 : Number[_0x3c1af5(_0x3482fc._0x46cd80)](_0x1b97e3, 0xa);
|
|
2320
|
+
if (!_0x387042)
|
|
2321
|
+
throw new Error(_0x3c1af5(0x12f));
|
|
2322
|
+
if (!_0x5e5a82)
|
|
2325
2323
|
throw new Error('Missing\x20--daemon-api-key');
|
|
2326
|
-
if (
|
|
2327
|
-
throw new Error(
|
|
2324
|
+
if (_0x1b97e3 !== void 0x0 && (_0x3ab46a === void 0x0 || !Number[_0x3c1af5(_0x3482fc._0x1f373b)](_0x3ab46a) || _0x3ab46a < 0x0))
|
|
2325
|
+
throw new Error(_0x3c1af5(0x12d));
|
|
2328
2326
|
return {
|
|
2329
|
-
'agentId':
|
|
2330
|
-
'daemonApiKey':
|
|
2331
|
-
'daemonLocalUrl':
|
|
2332
|
-
'initialLastSeenSeq':
|
|
2333
|
-
'sessionId':
|
|
2334
|
-
'serverUrl':
|
|
2335
|
-
'workerModeEnabled':
|
|
2336
|
-
'workerSessionId':
|
|
2337
|
-
'workerThreadTarget':
|
|
2338
|
-
'workerMode':
|
|
2327
|
+
'agentId': _0x387042,
|
|
2328
|
+
'daemonApiKey': _0x5e5a82,
|
|
2329
|
+
'daemonLocalUrl': _0x11b6d0,
|
|
2330
|
+
'initialLastSeenSeq': _0x3ab46a,
|
|
2331
|
+
'sessionId': _0x112e1b,
|
|
2332
|
+
'serverUrl': _0x2563ed,
|
|
2333
|
+
'workerModeEnabled': _0x5076d6 === void 0x0 ? void 0x0 : _0x5076d6 !== 'false',
|
|
2334
|
+
'workerSessionId': _0x8db0f7,
|
|
2335
|
+
'workerThreadTarget': _0x53d3f9,
|
|
2336
|
+
'workerMode': _0x283ad2
|
|
2339
2337
|
};
|
|
2340
2338
|
}
|
|
2341
|
-
async function runChatBridgeCli(
|
|
2342
|
-
const
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
'
|
|
2348
|
-
'
|
|
2349
|
-
'
|
|
2339
|
+
async function runChatBridgeCli(_0x28f38c) {
|
|
2340
|
+
const _0x492c69 = {
|
|
2341
|
+
_0x54a489: 0x151,
|
|
2342
|
+
_0xeccf1c: 0x24c,
|
|
2343
|
+
_0x3fecf6: 0x23f
|
|
2344
|
+
}, _0x2e61c1 = _0x42cca9, _0x1f6327 = parseChatBridgeArgs(_0x28f38c), {StdioServerTransport: _0x112c84} = await import(_0x2e61c1(0x11e)), _0x4d294e = createInternalAgentClient(_0x1f6327), _0x4cd0df = createAttachmentCache(), _0x48bfc0 = await createChatBridgeServer({
|
|
2345
|
+
'agentId': _0x1f6327[_0x2e61c1(0x1a9)],
|
|
2346
|
+
'attachmentCache': _0x4cd0df,
|
|
2347
|
+
'client': _0x4d294e,
|
|
2348
|
+
'daemonLocalUrl': _0x1f6327[_0x2e61c1(0x189)],
|
|
2350
2349
|
'uploadPreparer': prepareUploadFile,
|
|
2351
|
-
'workerModeEnabled':
|
|
2352
|
-
'workerMode':
|
|
2350
|
+
'workerModeEnabled': _0x1f6327[_0x2e61c1(_0x492c69._0x54a489)],
|
|
2351
|
+
'workerMode': _0x1f6327[_0x2e61c1(_0x492c69._0xeccf1c)]
|
|
2353
2352
|
});
|
|
2354
|
-
await
|
|
2353
|
+
await _0x48bfc0[_0x2e61c1(0x24e)][_0x2e61c1(_0x492c69._0x3fecf6)](new _0x112c84());
|
|
2355
2354
|
}
|
|
2356
|
-
var executedAsEntry = process[
|
|
2357
|
-
executedAsEntry && await runChatBridgeCli(process[
|
|
2355
|
+
var executedAsEntry = process['argv'][0x1] ? import.meta.url === pathToFileURL(process[_0x42cca9(0x1f1)][0x1])[_0x42cca9(0x264)] : ![];
|
|
2356
|
+
executedAsEntry && await runChatBridgeCli(process[_0x42cca9(0x1f1)][_0x42cca9(0x242)](0x2));
|
|
2358
2357
|
export {
|
|
2359
2358
|
createChatBridgeHandlers,
|
|
2360
2359
|
createChatBridgeServer,
|