@dscord/daemon 0.1.57 → 0.1.59
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 +2014 -1999
- package/dist/index.js +11428 -10804
- package/package.json +1 -1
package/dist/chat-bridge.js
CHANGED
|
@@ -1,2360 +1,2375 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
_0x23f0d6: 0x242,
|
|
6
|
-
_0x13ce2f: 0x2c8,
|
|
7
|
-
_0x278e27: 0x216,
|
|
8
|
-
_0x7616a9: 0x1e8,
|
|
9
|
-
_0x4b0712: 0x262
|
|
10
|
-
}, _0x516196 = _0x9c1d, _0x591533 = _0x1a1412();
|
|
11
|
-
while (!![]) {
|
|
12
|
-
try {
|
|
13
|
-
const _0x5f0b17 = -parseInt(_0x516196(0x26b)) / 0x1 + parseInt(_0x516196(_0x3bfeef._0x823835)) / 0x2 * (parseInt(_0x516196(_0x3bfeef._0x23f0d6)) / 0x3) + -parseInt(_0x516196(0x19e)) / 0x4 + -parseInt(_0x516196(_0x3bfeef._0x13ce2f)) / 0x5 * (parseInt(_0x516196(0x1ad)) / 0x6) + -parseInt(_0x516196(_0x3bfeef._0x278e27)) / 0x7 + parseInt(_0x516196(_0x3bfeef._0x7616a9)) / 0x8 + parseInt(_0x516196(_0x3bfeef._0x4b0712)) / 0x9;
|
|
14
|
-
if (_0x5f0b17 === _0x2b6326)
|
|
15
|
-
break;
|
|
16
|
-
else
|
|
17
|
-
_0x591533['push'](_0x591533['shift']());
|
|
18
|
-
} catch (_0x3f5c62) {
|
|
19
|
-
_0x591533['push'](_0x591533['shift']());
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}(_0x5d96, 0xda40b));
|
|
23
|
-
import { pathToFileURL } from 'node:url';
|
|
24
|
-
import {
|
|
25
|
-
mkdir,
|
|
26
|
-
readFile,
|
|
27
|
-
readdir,
|
|
28
|
-
stat,
|
|
29
|
-
writeFile
|
|
30
|
-
} from 'node:fs/promises';
|
|
31
|
-
import { homedir } from 'node:os';
|
|
32
|
-
import _0x2974da from 'node:path';
|
|
33
|
-
var DEFAULT_MAX_FILE_SIZE = 0x64 * 0x400 * 0x400, MIME_BY_EXTENSION = {
|
|
34
|
-
'.csv': _0x1e865e(0x235),
|
|
35
|
-
'.gif': _0x1e865e(0x241),
|
|
36
|
-
'.jpeg': _0x1e865e(0x1ce),
|
|
37
|
-
'.jpg': _0x1e865e(0x1ce),
|
|
38
|
-
'.json': _0x1e865e(0x1b7),
|
|
39
|
-
'.md': 'text/markdown',
|
|
40
|
-
'.pdf': _0x1e865e(0x19d),
|
|
41
|
-
'.png': _0x1e865e(0x2d8),
|
|
42
|
-
'.svg': _0x1e865e(0x22d),
|
|
43
|
-
'.txt': _0x1e865e(0x16a),
|
|
44
|
-
'.webp': _0x1e865e(0x189),
|
|
45
|
-
'.xml': _0x1e865e(0x24d),
|
|
46
|
-
'.zip': _0x1e865e(0x2dd)
|
|
47
|
-
};
|
|
48
|
-
function guessContentType(_0xbd05e4) {
|
|
49
|
-
const _0xdd82e8 = { _0x46482b: 0x25e }, _0x1d4c11 = _0x1e865e;
|
|
50
|
-
return MIME_BY_EXTENSION[_0x2974da[_0x1d4c11(0x210)](_0xbd05e4)[_0x1d4c11(_0xdd82e8._0x46482b)]()] ?? _0x1d4c11(0x225);
|
|
51
|
-
}
|
|
52
|
-
function safeFilename(_0x1b6919) {
|
|
53
|
-
const _0xdc5d9d = _0x1e865e;
|
|
54
|
-
return _0x1b6919[_0xdc5d9d(0x1a7)](/[\\/]/g, '-');
|
|
55
|
-
}
|
|
56
|
-
function extensionFor(_0x40af45) {
|
|
57
|
-
const _0x2fa61d = {
|
|
58
|
-
_0x33faca: 0x1ff,
|
|
59
|
-
_0x5a054: 0x1bf
|
|
60
|
-
}, _0x193286 = _0x1e865e, _0x5ebbca = Object['entries'](MIME_BY_EXTENSION)[_0x193286(_0x2fa61d._0x33faca)](([, _0x2f113c]) => _0x2f113c === _0x40af45);
|
|
61
|
-
return _0x5ebbca?.[0x0] ?? _0x193286(_0x2fa61d._0x5a054);
|
|
62
|
-
}
|
|
63
|
-
async function prepareUploadFile(_0x1718a8, _0x3e5ca4 = {}) {
|
|
64
|
-
const _0x43cb9b = {
|
|
65
|
-
_0x979ad5: 0x2a1,
|
|
66
|
-
_0x5e2bfa: 0x2b5,
|
|
67
|
-
_0x4db2d3: 0x1b8,
|
|
68
|
-
_0xeabc10: 0x158,
|
|
69
|
-
_0x20b912: 0x1a0
|
|
70
|
-
}, _0x20a6d5 = _0x1e865e;
|
|
71
|
-
if (!_0x2974da['isAbsolute'](_0x1718a8))
|
|
72
|
-
throw new Error(_0x20a6d5(_0x43cb9b._0x979ad5));
|
|
73
|
-
const _0x3ad9b3 = await stat(_0x1718a8)[_0x20a6d5(_0x43cb9b._0x5e2bfa)](() => null);
|
|
74
|
-
if (!_0x3ad9b3 || !_0x3ad9b3[_0x20a6d5(0x256)]())
|
|
75
|
-
throw new Error(_0x20a6d5(0x2db) + _0x1718a8);
|
|
76
|
-
const _0x42397e = _0x3e5ca4[_0x20a6d5(0x16d)] ?? DEFAULT_MAX_FILE_SIZE;
|
|
77
|
-
if (_0x3ad9b3['size'] > _0x42397e)
|
|
78
|
-
throw new Error(_0x20a6d5(0x1df) + _0x3ad9b3[_0x20a6d5(_0x43cb9b._0x4db2d3)]);
|
|
79
|
-
const _0x30b9b1 = await readFile(_0x1718a8), _0x2b1024 = _0x2974da[_0x20a6d5(_0x43cb9b._0xeabc10)](_0x1718a8);
|
|
80
|
-
return {
|
|
81
|
-
'contentBase64': _0x30b9b1[_0x20a6d5(_0x43cb9b._0x20b912)](_0x20a6d5(0x2b6)),
|
|
82
|
-
'contentType': guessContentType(_0x2b1024),
|
|
83
|
-
'filename': _0x2b1024,
|
|
84
|
-
'sizeBytes': _0x3ad9b3[_0x20a6d5(_0x43cb9b._0x4db2d3)]
|
|
85
|
-
};
|
|
86
|
-
}
|
|
87
|
-
function createAttachmentCache(_0x591876 = {}) {
|
|
88
|
-
const _0x3689c3 = {
|
|
89
|
-
_0x1a4fca: 0x1e7,
|
|
90
|
-
_0x48c1be: 0x1a1,
|
|
91
|
-
_0x4408bf: 0x1e3
|
|
92
|
-
}, _0x17714e = {
|
|
93
|
-
_0x412e96: 0x25f,
|
|
94
|
-
_0x840ab1: 0x20b
|
|
95
|
-
}, _0x2545e1 = { _0x4a3346: 0x1ff }, _0x277e07 = _0x1e865e, _0x341f55 = _0x591876[_0x277e07(_0x3689c3._0x1a4fca)] ?? _0x2974da['join'](homedir(), _0x277e07(_0x3689c3._0x48c1be), _0x277e07(_0x3689c3._0x4408bf));
|
|
96
|
-
return {
|
|
97
|
-
'cacheDir': _0x341f55,
|
|
98
|
-
async 'findCachedPath'(_0xea3df2) {
|
|
99
|
-
const _0xac78ef = _0x277e07;
|
|
100
|
-
await mkdir(_0x341f55, { 'recursive': !![] });
|
|
101
|
-
const _0x2d065c = await readdir(_0x341f55), _0x205905 = _0x2d065c[_0xac78ef(_0x2545e1._0x4a3346)](_0xda4d6e => _0xda4d6e['startsWith'](_0xea3df2 + '-') || _0xda4d6e[_0xac78ef(0x1a4)](_0xea3df2));
|
|
102
|
-
return _0x205905 ? _0x2974da[_0xac78ef(0x1d1)](_0x341f55, _0x205905) : null;
|
|
103
|
-
},
|
|
104
|
-
async 'save'(_0x107dd1) {
|
|
105
|
-
const _0x38dac3 = _0x277e07;
|
|
106
|
-
await mkdir(_0x341f55, { 'recursive': !![] });
|
|
107
|
-
const _0x3663d0 = _0x107dd1['originalFilename']?.[_0x38dac3(0x1c0)]() ? safeFilename(_0x107dd1[_0x38dac3(0x1af)]) : '' + _0x107dd1[_0x38dac3(0x20b)] + extensionFor(_0x107dd1[_0x38dac3(_0x17714e._0x412e96)]), _0x5511b2 = _0x2974da[_0x38dac3(0x1d1)](_0x341f55, _0x107dd1[_0x38dac3(_0x17714e._0x840ab1)] + '-' + _0x3663d0);
|
|
108
|
-
return await writeFile(_0x5511b2, _0x107dd1[_0x38dac3(0x182)]), _0x5511b2;
|
|
109
|
-
}
|
|
110
|
-
};
|
|
111
|
-
}
|
|
112
|
-
import {
|
|
113
|
-
createHash,
|
|
114
|
-
randomUUID
|
|
115
|
-
} from 'node:crypto';
|
|
116
|
-
var UNSUPPORTED_TARGET_MESSAGE = _0x1e865e(0x2af);
|
|
117
|
-
function ensureSegment(_0x5052d0) {
|
|
118
|
-
const _0x153de1 = _0x5052d0['trim']();
|
|
119
|
-
if (!_0x153de1 || _0x153de1['includes'](':'))
|
|
120
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
121
|
-
return _0x153de1;
|
|
122
|
-
}
|
|
123
|
-
function parseThreadParts(_0x1c131d) {
|
|
124
|
-
const _0x9517b = {
|
|
125
|
-
_0x5257c6: 0x2ae,
|
|
126
|
-
_0xcc3a7c: 0x198,
|
|
127
|
-
_0x4f7d8c: 0x198
|
|
128
|
-
}, _0x7df097 = _0x1e865e, _0x3991a4 = _0x1c131d[_0x7df097(_0x9517b._0x5257c6)](':');
|
|
129
|
-
if (_0x3991a4[_0x7df097(_0x9517b._0xcc3a7c)] < 0x1 || _0x3991a4[_0x7df097(_0x9517b._0x4f7d8c)] > 0x2)
|
|
130
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
131
|
-
return {
|
|
132
|
-
'channelName': ensureSegment(_0x3991a4[0x0] ?? ''),
|
|
133
|
-
'threadShortId': _0x3991a4[0x1] ? ensureSegment(_0x3991a4[0x1]) : null
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
|
-
function parseTarget(_0x267208) {
|
|
137
|
-
const _0x25f4c5 = {
|
|
138
|
-
_0x3aaeb1: 0x1c0,
|
|
139
|
-
_0x24d689: 0x20c,
|
|
140
|
-
_0x53e4e3: 0x279,
|
|
141
|
-
_0x562f5e: 0x21f,
|
|
142
|
-
_0x4141a5: 0x1a4,
|
|
143
|
-
_0x10d5aa: 0x165,
|
|
144
|
-
_0x278d6d: 0x229,
|
|
145
|
-
_0x4e2189: 0x279,
|
|
146
|
-
_0x180ef0: 0x20c
|
|
147
|
-
}, _0x11bd73 = _0x1e865e, _0x8f61ab = _0x267208[_0x11bd73(_0x25f4c5._0x3aaeb1)]();
|
|
148
|
-
if (!_0x8f61ab)
|
|
149
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
150
|
-
if (_0x8f61ab['startsWith']('#')) {
|
|
151
|
-
const _0x5cdc26 = parseThreadParts(_0x8f61ab[_0x11bd73(0x229)](0x1)), _0x3d91bd = '#' + _0x5cdc26[_0x11bd73(_0x25f4c5._0x24d689)];
|
|
152
|
-
if (!_0x5cdc26[_0x11bd73(_0x25f4c5._0x53e4e3)])
|
|
153
|
-
return {
|
|
154
|
-
'channelName': _0x5cdc26['channelName'],
|
|
155
|
-
'channelTarget': _0x3d91bd,
|
|
156
|
-
'kind': _0x11bd73(_0x25f4c5._0x562f5e),
|
|
157
|
-
'target': _0x3d91bd
|
|
158
|
-
};
|
|
159
|
-
return {
|
|
160
|
-
'channelName': _0x5cdc26[_0x11bd73(0x20c)],
|
|
161
|
-
'channelTarget': _0x3d91bd,
|
|
162
|
-
'kind': _0x11bd73(0x1de),
|
|
163
|
-
'target': _0x3d91bd + ':' + _0x5cdc26[_0x11bd73(0x279)],
|
|
164
|
-
'threadShortId': _0x5cdc26['threadShortId']
|
|
165
|
-
};
|
|
166
|
-
}
|
|
167
|
-
if (_0x8f61ab[_0x11bd73(_0x25f4c5._0x4141a5)](_0x11bd73(_0x25f4c5._0x10d5aa))) {
|
|
168
|
-
const _0x3fa94d = parseThreadParts(_0x8f61ab[_0x11bd73(_0x25f4c5._0x278d6d)](0x3));
|
|
169
|
-
if (!_0x3fa94d['channelName']['startsWith']('dm-'))
|
|
170
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
171
|
-
const _0x4bb0c0 = _0x11bd73(_0x25f4c5._0x10d5aa) + _0x3fa94d['channelName'];
|
|
172
|
-
if (!_0x3fa94d[_0x11bd73(_0x25f4c5._0x4e2189)])
|
|
173
|
-
return {
|
|
174
|
-
'channelName': _0x3fa94d[_0x11bd73(_0x25f4c5._0x180ef0)],
|
|
175
|
-
'channelTarget': _0x4bb0c0,
|
|
176
|
-
'kind': _0x11bd73(0x21f),
|
|
177
|
-
'target': _0x4bb0c0
|
|
178
|
-
};
|
|
179
|
-
return {
|
|
180
|
-
'channelName': _0x3fa94d[_0x11bd73(0x20c)],
|
|
181
|
-
'channelTarget': _0x4bb0c0,
|
|
182
|
-
'kind': _0x11bd73(0x1de),
|
|
183
|
-
'target': _0x4bb0c0 + ':' + _0x3fa94d[_0x11bd73(_0x25f4c5._0x53e4e3)],
|
|
184
|
-
'threadShortId': _0x3fa94d['threadShortId']
|
|
185
|
-
};
|
|
186
|
-
}
|
|
187
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
188
|
-
}
|
|
189
|
-
function _0x5d96() {
|
|
190
|
-
const _0xaba391 = [
|
|
191
|
-
'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
|
|
192
|
-
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw5UB3qGy2XHAw0GyNKGBwvZC2fNzv9PzhmGkhrVCc1SzxzLBcbTzxnZywDLihbYB21VDgLVBIbPCYbTywLUlwfNzw50ig9UBhKPoYb1C2uGC3vIDgfZA19UDw1IzxjZigLUC2LKzsb5B3vYig93BIb0yxnRihrOCMvHzc4',
|
|
193
|
-
'ywXS',
|
|
194
|
-
'zM9Yy2vszwzYzxnO',
|
|
195
|
-
'C2v0',
|
|
196
|
-
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
197
|
-
'Ahr0Chm6',
|
|
198
|
-
'l3nLBMq',
|
|
199
|
-
'sgfUzg9MzIb0BYb3B3jRzxiGzM9YihrHC2SG',
|
|
200
|
-
'pgvTChr5pG',
|
|
201
|
-
'yM9KEu1HCMTKB3DU',
|
|
202
|
-
'ig1LC3nHz2u9',
|
|
203
|
-
'vgHYzwfKihrHCMDLDdOG',
|
|
204
|
-
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
205
|
-
'Bg9JywXLq29TCgfYzq',
|
|
206
|
-
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
207
|
-
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
208
|
-
'zgfLBw9Utg9JywXvCMW',
|
|
209
|
-
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
|
|
210
|
-
'BgLZDf9Zzxj2zxi',
|
|
211
|
-
'zMfSC2u',
|
|
212
|
-
'yxr0ywnOBwvUDf9Pzhm',
|
|
213
|
-
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
214
|
-
'DgHYzwfKx3rHCMDLDa',
|
|
215
|
-
'zgvSzxrL',
|
|
216
|
-
'C3rYAw5NAwz5',
|
|
217
|
-
'y2HPBgrYzw5eB25L',
|
|
218
|
-
'l2nVBNrLBNq',
|
|
219
|
-
'l2LUDgvYBMfSl2fNzw50lW',
|
|
220
|
-
'ywDNCMvNyxrLswq',
|
|
221
|
-
'DgHYzwfKswq',
|
|
222
|
-
'CMvJB3jK',
|
|
223
|
-
'ig1ZzZ0',
|
|
224
|
-
'y2HHBM5LBeLK',
|
|
225
|
-
'C3rHDhvZ',
|
|
226
|
-
'C3bSAxq',
|
|
227
|
-
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
228
|
-
'ihn0yxr1CZ0',
|
|
229
|
-
'zxHLy3v0Aw9Utw9Kzq',
|
|
230
|
-
'z2v0sg91CNm',
|
|
231
|
-
'C3vIDgfZA19UDw1IzxjZ',
|
|
232
|
-
'AwrLBxbVDgvUy3LFA2v5',
|
|
233
|
-
'y2f0y2G',
|
|
234
|
-
'yMfZzty0',
|
|
235
|
-
'BwvZC2fNzxm',
|
|
236
|
-
'AhvTyw4',
|
|
237
|
-
'Bwf0y2Hoyw1Ltg93zxi',
|
|
238
|
-
'A2LUza',
|
|
239
|
-
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
240
|
-
'ywjVCNq',
|
|
241
|
-
'l3jLy2vPDMu',
|
|
242
|
-
'DgL0Bgu',
|
|
243
|
-
'AwrSzq',
|
|
244
|
-
'igrVBMuP',
|
|
1
|
+
function _0x5b92() {
|
|
2
|
+
const _0x543c38 = [
|
|
3
|
+
'DgHYzwfK',
|
|
4
|
+
'Ahr0CdOVl2XVy2fSAg9ZDdO4mtiX',
|
|
245
5
|
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
6
|
+
'ignSywLTzwq',
|
|
7
|
+
'DMLLD19MAwXL',
|
|
8
|
+
'y2HHBM5LBeLK',
|
|
9
|
+
'CMvZB2X2zvrHCMDLDa',
|
|
10
|
+
'zxHWAxjLC0f0',
|
|
11
|
+
'cGOTls0G',
|
|
12
|
+
'D29YA2vYsgfUzg9MzKvYCM9Y',
|
|
13
|
+
'r0vu',
|
|
14
|
+
'C2L6zq',
|
|
15
|
+
'iokaLcb1C2uGDMLLD19MAwXLihrVihnLzv0',
|
|
16
|
+
'oIb3B3jRzxiGy2fUig9UBhKGB3bLCMf0zsbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcaO',
|
|
17
|
+
'icHPzdO',
|
|
18
|
+
'CMvHzf9OAxn0B3j5',
|
|
19
|
+
'B3jPz2LUywXgAwXLBMfTzq',
|
|
20
|
+
'C2vUzgvYvhLWzq',
|
|
21
|
+
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
246
22
|
'C2vYDMvYtMfTzq',
|
|
247
|
-
'
|
|
248
|
-
'
|
|
249
|
-
'
|
|
250
|
-
'
|
|
251
|
-
'DxbKyxrL',
|
|
252
|
-
'mtiYndyWnxjfwuHMqG',
|
|
253
|
-
'z2v0rgf0zq',
|
|
254
|
-
'BgLZDfnLCNzLCG',
|
|
23
|
+
'y3jLyxrLzef0',
|
|
24
|
+
'DxjNzw50',
|
|
25
|
+
'CgfYC2u',
|
|
26
|
+
'ihn0yxr1CZ0',
|
|
255
27
|
'igLUia',
|
|
256
|
-
'
|
|
257
|
-
'
|
|
258
|
-
'
|
|
259
|
-
'
|
|
260
|
-
'
|
|
261
|
-
'
|
|
262
|
-
'
|
|
263
|
-
'
|
|
264
|
-
'
|
|
265
|
-
'
|
|
266
|
-
'
|
|
267
|
-
'
|
|
268
|
-
'
|
|
269
|
-
'
|
|
270
|
-
'
|
|
271
|
-
'
|
|
272
|
-
'
|
|
273
|
-
'
|
|
274
|
-
'
|
|
275
|
-
'
|
|
28
|
+
'ywjVCNrLza',
|
|
29
|
+
'BwvZC2fNzq',
|
|
30
|
+
'DhLWzq',
|
|
31
|
+
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
32
|
+
'mc4WlJa',
|
|
33
|
+
'AgLNAa',
|
|
34
|
+
'yxr0ywnOBwvUDf9Pza',
|
|
35
|
+
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
36
|
+
'CMvHzeHPC3rVCNK',
|
|
37
|
+
'ANnVBG',
|
|
38
|
+
'C2nOzwr1BgvKrM9Y',
|
|
39
|
+
'vgfZAYa',
|
|
40
|
+
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
41
|
+
'CMvZCg9UC2u',
|
|
42
|
+
'yxr0ywnOBwvUDf9Pzhm',
|
|
43
|
+
'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
|
|
44
|
+
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw5UB3qGy2XHAw0GyNKGBwvZC2fNzv9PzhmGkhrVCc1SzxzLBcbTzxnZywDLihbYB21VDgLVBIbPCYbTywLUlwfNzw50ig9UBhKPoYb1C2uGC3vIDgfZA19UDw1IzxjZigLUC2LKzsb5B3vYig93BIb0yxnRihrOCMvHzc4',
|
|
45
|
+
'ls1HDhrHy2HTzw50lwnHy2HLlwrPCG',
|
|
46
|
+
'uM9VDcb0yxnRig1LC3nHz2u6cG',
|
|
47
|
+
'y2XHAw1uyxnRCW',
|
|
48
|
+
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
49
|
+
'CMvHC29U',
|
|
50
|
+
'C3rVCe1HAw49Dhj1zq',
|
|
51
|
+
'DgHYzwfKtNvTyMvY',
|
|
52
|
+
'l2HPC3rVCNK/',
|
|
53
|
+
'D3m6',
|
|
54
|
+
'ihr5Cgu9ywDLBNq',
|
|
55
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
56
|
+
'ChjVDg9JB2W',
|
|
57
|
+
'4PQG77IpifDpuKTfuIbbq1rjvKfuruqG4Ocuifn0B3aGquXmihDVCMSGB24GDgHPCYb0yxnRigLTBwvKAwf0zwX5lIbeBYbUB3qGC2vUzcbMDxj0AgvYig1LC3nHz2vZihrVihrOAxmGDgHYzwfKlG',
|
|
58
|
+
'ywDLBNrZ',
|
|
59
|
+
'Dg9gAxHLza',
|
|
60
|
+
'igTPBMq9',
|
|
61
|
+
'l3nLCNzLCG',
|
|
276
62
|
'l3vWBg9Hza',
|
|
277
|
-
'tM8GDgfZA3mGzM91BMqU',
|
|
278
|
-
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
279
|
-
'Aw5FChjVz3jLC3m',
|
|
280
63
|
'D29YA2vYCW',
|
|
281
|
-
'
|
|
282
|
-
'
|
|
64
|
+
'DgfYz2v0',
|
|
65
|
+
'y2HPBgrYzw5eB25L',
|
|
66
|
+
'Dw5RBM93BG',
|
|
67
|
+
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
68
|
+
'zMLSDgvY',
|
|
69
|
+
'ywjVCNq',
|
|
70
|
+
'ig1LC3nHz2u9',
|
|
283
71
|
'ywDLBNq',
|
|
284
|
-
'
|
|
285
|
-
'
|
|
286
|
-
'
|
|
287
|
-
'
|
|
288
|
-
'ChjVDg9JB2W',
|
|
289
|
-
'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
|
|
290
|
-
'zgfLBw9UqxbPs2v5',
|
|
291
|
-
'twLZC2LUzYaTlwrHzw1VBI1HCgKTA2v5',
|
|
292
|
-
'C2vUze1LC3nHz2u',
|
|
293
|
-
'cUkAOo+4JYbxt1jlrviGqunusvzbveveiokaLcbtDg9Wiefmtcb3B3jRig9UihrOAxmGDgfZAYbPBw1LzgLHDgvSEs4Gv29YA2vYigHHBMrSzxmGzxHLy3v0Aw9UigvUzc10BY1LBMqU',
|
|
294
|
-
'rMLSzsb1CgXVywrLzdOG',
|
|
295
|
-
'BMfTzq',
|
|
72
|
+
'C3rHCNrZv2L0Aa',
|
|
73
|
+
'z2v0twLUDxrLCW',
|
|
74
|
+
'z2v0u2vJB25KCW',
|
|
75
|
+
'zxH0BMfTzq',
|
|
296
76
|
'y29UBMvJDa',
|
|
297
|
-
'
|
|
298
|
-
'
|
|
299
|
-
'
|
|
300
|
-
'
|
|
301
|
-
'BwvTyMvYCW',
|
|
302
|
-
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
303
|
-
'Bwf4',
|
|
304
|
-
'ls1Hz2vUDc1Pza',
|
|
305
|
-
'Dgv4Dc9WBgfPBG',
|
|
306
|
-
'BwvTyMvY',
|
|
307
|
-
'yxr0ywnOBwvUDf9Pza',
|
|
308
|
-
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
77
|
+
'zMLSzv9WyxrO',
|
|
78
|
+
'y29UDgvUDfr5Cgu',
|
|
79
|
+
'w3nLCt0',
|
|
80
|
+
'rMLSzsbZAxPLigv4y2vLzhmGBgLTAxq6ia',
|
|
309
81
|
'v29YA2vYia',
|
|
310
|
-
'
|
|
311
|
-
'
|
|
312
|
-
'
|
|
313
|
-
'
|
|
314
|
-
'
|
|
315
|
-
'
|
|
316
|
-
'
|
|
317
|
-
'C2vUzgvYtMfTzq',
|
|
318
|
-
'AxnbCNjHEq',
|
|
319
|
-
'ywDNCMvNyxrLvhLWzq',
|
|
320
|
-
'twLZC2LUzYaTlwfNzw50lwLK',
|
|
321
|
-
'y2HPBgrYzw5uB3rHBa',
|
|
322
|
-
'DgfZAY0',
|
|
323
|
-
'iokaLcb1C2uGDMLLD19MAwXLihrVihnLzv0',
|
|
324
|
-
'icHPzdO',
|
|
325
|
-
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
326
|
-
'Dw5JBgfPBv90yxnRoIb3B3jRzxiGy2fUig9UBhKGDw5JBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCI4',
|
|
327
|
-
'rg93BMXVywrLzcb0BZOG',
|
|
328
|
-
'ihrPBwu9',
|
|
329
|
-
'zgf0yq',
|
|
330
|
-
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
331
|
-
'C2vUzgvYvhLWzq',
|
|
332
|
-
'CNvUswq',
|
|
333
|
-
'igf0DgfJAg1LBNq',
|
|
334
|
-
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
335
|
-
'Dw5JBgfPBv90yxnR',
|
|
336
|
-
'Aw1Hz2uVD2vICa',
|
|
82
|
+
'C3rYAw5N',
|
|
83
|
+
'ig1LC3nHz2vZkqOk',
|
|
84
|
+
'ChvZAa',
|
|
85
|
+
'D29YA2vYrgLZCg9ZAxrPB249',
|
|
86
|
+
'C3vIDgfZA19UDw1Izxi',
|
|
87
|
+
'zxnJywXHDgvFDg9FBwfPBG',
|
|
88
|
+
'6k+35Rgcia',
|
|
337
89
|
'B3b0Aw9UywW',
|
|
338
|
-
'l3DVCMTLCNmVD2fPDgLUz19PBNb1Da',
|
|
339
|
-
'DxbSB2fKx2zPBguGzMfPBgvK',
|
|
340
|
-
'Dw5JBgfPBvrHC2S',
|
|
341
|
-
'y2HLy2TFBwvZC2fNzxmGzMfPBgvK',
|
|
342
|
-
'C2LNBMfS',
|
|
343
|
-
'C29Tzq',
|
|
344
|
-
'ywDNCMvNyxrLswrZ',
|
|
345
|
-
'C2vX',
|
|
346
|
-
'vgfZAZOG',
|
|
347
90
|
'DgHYzwfKvgfYz2v0pq',
|
|
348
|
-
'
|
|
349
|
-
'
|
|
350
|
-
'
|
|
351
|
-
'
|
|
352
|
-
'
|
|
353
|
-
'
|
|
354
|
-
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
355
|
-
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
356
|
-
'yxbWBgLJyxrPB24VCgrM',
|
|
357
|
-
'ntq1otqXmLzAENviBW',
|
|
358
|
-
'BM93',
|
|
359
|
-
'Dg9tDhjPBMC',
|
|
360
|
-
'lMrZy29Yza',
|
|
361
|
-
'DgHYzwfKtNvTyMvY',
|
|
362
|
-
'cGOTls0G',
|
|
363
|
-
'C3rHCNrZv2L0Aa',
|
|
364
|
-
'yxr0ywnOBwvUDenHy2HLrgLY',
|
|
365
|
-
'y2XPzw50',
|
|
366
|
-
'CMvWBgfJzq',
|
|
367
|
-
'y3jLyxrLx3rHC2TZ',
|
|
368
|
-
'y2HHBM5LBfrHCMDLDa',
|
|
369
|
-
'y2XHAw1uyxnRCW',
|
|
370
|
-
'Dgv4Da',
|
|
371
|
-
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
372
|
-
'nKDVwuLrCW',
|
|
373
|
-
'6k+35Rgcia',
|
|
374
|
-
'B3jPz2LUywXgAwXLBMfTzq',
|
|
375
|
-
'DgfZA19Pza',
|
|
376
|
-
'C2L6zuj5DgvZ',
|
|
377
|
-
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
378
|
-
'w3nLCt0',
|
|
379
|
-
'CgfYC2u',
|
|
380
|
-
'y3vYC29Y',
|
|
381
|
-
'CMvXDwvZDfvYBa',
|
|
382
|
-
'yxbWBgLJyxrPB24VANnVBG',
|
|
383
|
-
'C2L6zq',
|
|
384
|
-
'r0vu',
|
|
385
|
-
'BMv4Den1CNnVCG',
|
|
386
|
-
'yxjYyxLcDwzMzxi',
|
|
387
|
-
'C3rYAw5N',
|
|
388
|
-
'Aw5KzxHpzG',
|
|
91
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
92
|
+
'mZbIsxziCva',
|
|
93
|
+
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
94
|
+
'y2XHAw0GzMfPBgvK',
|
|
95
|
+
'AgfZ',
|
|
96
|
+
'y3jLyxrLvgfZA3m',
|
|
389
97
|
'D29YA2vY',
|
|
390
|
-
'
|
|
391
|
-
'DhjPBq',
|
|
392
|
-
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
393
|
-
'l2HPC3rVCNK/',
|
|
394
|
-
'ignSywLTzwq',
|
|
395
|
-
'C2vUzf9TzxnZywDL',
|
|
396
|
-
'D29YA2vYsgfUzg9MzJ10CNvL',
|
|
397
|
-
'DMfSDwvZ',
|
|
398
|
-
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
399
|
-
'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
|
|
400
|
-
'khvUA25VD24P',
|
|
401
|
-
'Bwf0y2Hoyw1L',
|
|
402
|
-
'DxbSB2fKuhjLCgfYzxi',
|
|
403
|
-
'ywrK',
|
|
404
|
-
'C2HHmJu2',
|
|
405
|
-
'Aw1Hz2uVANbLzW',
|
|
406
|
-
'zxzLBNrtzxe',
|
|
407
|
-
'CMvHzf9OAxn0B3j5',
|
|
408
|
-
'AM9PBG',
|
|
98
|
+
'zgfLBw9UqxbPs2v5',
|
|
409
99
|
'v29YA2vYici',
|
|
410
|
-
'
|
|
411
|
-
'BwvZC2fNzv9Pzhm',
|
|
412
|
-
'l3rHC2TZ',
|
|
413
|
-
'ue9tva',
|
|
414
|
-
'BwvKAxvT',
|
|
415
|
-
'zxnJywXHDgvFDg9FBwfPBG',
|
|
416
|
-
'zw51Bq',
|
|
417
|
-
'lsba',
|
|
418
|
-
'zgvZDhjVEwvK',
|
|
419
|
-
'DMLZAwjPBgL0Eq',
|
|
420
|
-
'ls1KywvTB24TBg9JywWTDxjS',
|
|
421
|
-
'DgHYzwfK',
|
|
422
|
-
'rMLSzsbZAxPLigv4y2vLzhmGBgLTAxq6ia',
|
|
423
|
-
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
424
|
-
'AgvHzgvYCW',
|
|
425
|
-
'ANnVBG',
|
|
100
|
+
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
426
101
|
'yxr0ywnOBwvUDhm',
|
|
427
|
-
'
|
|
428
|
-
'
|
|
429
|
-
'
|
|
430
|
-
'
|
|
431
|
-
'
|
|
432
|
-
'
|
|
433
|
-
'
|
|
102
|
+
'zw51Bq',
|
|
103
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxm',
|
|
104
|
+
'BgLTAxq',
|
|
105
|
+
'pgvTChr5pG',
|
|
106
|
+
'DgHYzwfKu2HVCNrjza',
|
|
107
|
+
'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
|
|
108
|
+
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
109
|
+
'l3rHC2TZl2nSywLT',
|
|
110
|
+
'iJOGC3rHDhvZpq',
|
|
111
|
+
'Cgf5Bg9HzePZB24',
|
|
112
|
+
'yxnPzgu',
|
|
113
|
+
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
114
|
+
'BgLZDfnLCNzLCG',
|
|
115
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
|
|
116
|
+
'zg0T',
|
|
117
|
+
'yxbWBgLJyxrPB24VEMLW',
|
|
118
|
+
'zw50zxiTAgfUzg9MzIbMywLSzwq',
|
|
119
|
+
'BwvZC2fNzv9Pzhm',
|
|
120
|
+
'zNjVBq',
|
|
121
|
+
'CxvLDwvK',
|
|
122
|
+
'ywDNCMvNyxrLswrZ',
|
|
123
|
+
'zgfLBw9Utg9JywXvCMW',
|
|
124
|
+
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
125
|
+
'C2vZC2LVBKLK',
|
|
126
|
+
'ig1ZzZ0',
|
|
127
|
+
'CgfYA193B3jRzxi',
|
|
128
|
+
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
129
|
+
'ls13B3jRzxiTBw9Kzq',
|
|
434
130
|
'Aw5JBhvKzxm',
|
|
131
|
+
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
132
|
+
'CMvZDwX0CW',
|
|
133
|
+
'CgfYDgLJAxbHBNrjza',
|
|
134
|
+
'zgvZy3jPyMu',
|
|
135
|
+
'C2vYDMvY',
|
|
136
|
+
'ywDLBNrjza',
|
|
137
|
+
'y29UDgvUDa',
|
|
138
|
+
'oIb3B3jRzxiGCNvUDgLTzsbTAxnZAw5NihDVCMTLCLrOCMvHzfrHCMDLDdSGy2fUBM90ihzHBgLKyxrLihnJB3bL',
|
|
139
|
+
'DgfZAW',
|
|
140
|
+
'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
|
|
141
|
+
'C2vUzgvYtMfTzq',
|
|
142
|
+
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
143
|
+
'AgfZtw9Yzq',
|
|
144
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
145
|
+
'ntKYodvKtxjxAKC',
|
|
146
|
+
'ls1PBML0AwfSlwXHC3qTC2vLBI1Zzxe',
|
|
147
|
+
'DxbKyxrL',
|
|
148
|
+
'otu3nJKWmhfVvNjNrq',
|
|
149
|
+
'D2fPDgLUz19PBNb1Da',
|
|
150
|
+
'Aw5KzxHpzG',
|
|
151
|
+
'y2XHAw1FDgfZA3mGzMfPBgvK',
|
|
152
|
+
'D29YA2vYtw9KzuvUywjSzwq',
|
|
153
|
+
'vgHYzwfKihrHCMDLDdOG',
|
|
435
154
|
'C2f2zq',
|
|
436
|
-
'
|
|
437
|
-
'
|
|
438
|
-
'
|
|
439
|
-
'
|
|
440
|
-
'
|
|
441
|
-
'
|
|
442
|
-
'
|
|
443
|
-
'
|
|
444
|
-
'
|
|
445
|
-
'
|
|
446
|
-
'
|
|
447
|
-
'
|
|
448
|
-
'
|
|
449
|
-
'
|
|
450
|
-
'
|
|
451
|
-
'
|
|
155
|
+
'DxbSB2fKrMLSzq',
|
|
156
|
+
'yMfZzty0',
|
|
157
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
158
|
+
'BwvKAxvT',
|
|
159
|
+
'z2v0tw9UDgG',
|
|
160
|
+
'iYmJieH1BwfUCW',
|
|
161
|
+
'CMvJB3jK',
|
|
162
|
+
'C3vJy2vZCW',
|
|
163
|
+
'y2XHAw1FDgfZA3m',
|
|
164
|
+
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
165
|
+
'Axnoyu4',
|
|
166
|
+
'Aw1Hz2uVz2LM',
|
|
167
|
+
'lsba',
|
|
168
|
+
'twfYAYb0AguGy3vYCMvUDcb3B3jRzxiGyxmGD2fPDgLUzYbMB3iGAhvTyw4GAw5WDxqUifbHDxnLCYb0AguGAwrSzsbuveWGDgLTzxiGDw50AwWGysbUzxCGBwvZC2fNzsbHCNjPDMvZlG',
|
|
169
|
+
'D29YA2vYu2vZC2LVBKLK',
|
|
170
|
+
'y2HHBM5LBe5HBwu',
|
|
171
|
+
'CMvXDwvZDfvYBa',
|
|
452
172
|
'Dg9ju09tDhjPBMC',
|
|
173
|
+
'CgfKu3rHCNq',
|
|
453
174
|
'B2jQzwn0',
|
|
175
|
+
'C2LNBMfS',
|
|
176
|
+
'DgHYzwfKswq',
|
|
177
|
+
'Dgv4Dc9JC3y',
|
|
178
|
+
'Dgv4Dc9TyxjRzg93BG',
|
|
179
|
+
'AhvTyw5Z',
|
|
180
|
+
'Dg9VBa',
|
|
181
|
+
'BwvTyMvY',
|
|
182
|
+
'sw52ywXPzcaTlwLUAxrPywWTBgfZDc1ZzwvUlxnLCq',
|
|
454
183
|
'zMLUza',
|
|
455
|
-
'
|
|
456
|
-
'
|
|
457
|
-
'
|
|
458
|
-
'
|
|
459
|
-
'
|
|
460
|
-
'
|
|
461
|
-
'
|
|
462
|
-
'
|
|
463
|
-
'
|
|
464
|
-
'
|
|
465
|
-
'
|
|
466
|
-
'
|
|
467
|
-
'
|
|
468
|
-
'
|
|
184
|
+
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
185
|
+
'ywz0zxi',
|
|
186
|
+
'Ahr0CdO',
|
|
187
|
+
's0iPcKf0DgfJAg1LBNqGsuq6ia',
|
|
188
|
+
'AhvTyw4',
|
|
189
|
+
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
190
|
+
'yxjNDG',
|
|
191
|
+
'DhjPBq',
|
|
192
|
+
'DMLLD19MAwXLigzHAwXLza',
|
|
193
|
+
'BwvTyMvYCW',
|
|
194
|
+
'DMfSDwvZ',
|
|
195
|
+
'DxnLCG',
|
|
196
|
+
'C2XPy2u',
|
|
197
|
+
'Bwv0yq',
|
|
198
|
+
'kgXLz2fJEsK',
|
|
199
|
+
'ywXS',
|
|
200
|
+
'y2HHBM5LBfrHCMDLDa',
|
|
201
|
+
'Dgv4Da',
|
|
469
202
|
'xsba',
|
|
470
|
-
'
|
|
471
|
-
'
|
|
472
|
-
'
|
|
473
|
-
'
|
|
474
|
-
'
|
|
475
|
-
'
|
|
476
|
-
'
|
|
477
|
-
'
|
|
478
|
-
'AhvTyw5Z',
|
|
479
|
-
'y3jLyxrLzef0',
|
|
480
|
-
'Dg9KBW',
|
|
203
|
+
'zMv0y2HjBxbS',
|
|
204
|
+
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
205
|
+
'zxHLy3v0Aw9Utw9Kzt0',
|
|
206
|
+
'Dw5JBgfPBvrHC2S',
|
|
207
|
+
'BgLZDf9Zzxj2zxi',
|
|
208
|
+
'y2HHBM5LBa',
|
|
209
|
+
'sfruuca',
|
|
210
|
+
'y2HHBM5LBhm',
|
|
481
211
|
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxjYB3i9',
|
|
482
|
-
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
483
212
|
'BNvTyMvY',
|
|
484
|
-
'
|
|
485
|
-
'
|
|
486
|
-
'
|
|
487
|
-
'
|
|
488
|
-
'
|
|
489
|
-
'
|
|
490
|
-
'
|
|
491
|
-
'
|
|
492
|
-
'
|
|
493
|
-
'
|
|
494
|
-
'
|
|
495
|
-
'
|
|
496
|
-
'
|
|
213
|
+
'rg93BMXVywrLzcb0BZOG',
|
|
214
|
+
'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
|
|
215
|
+
'DxbSB2fKx2zPBgu',
|
|
216
|
+
'yxbWBgLJyxrPB24VCgrM',
|
|
217
|
+
'zMLSzw5HBwu',
|
|
218
|
+
'lMjPBG',
|
|
219
|
+
'iIbWyxjRzwqUifnHBwuTDgHYzwfKigzVBgXVDY11Ccb3AwXSihjLC3vTzsb0AgLZigXHBMuU',
|
|
220
|
+
'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
|
|
221
|
+
'CMvWBgfJzq',
|
|
222
|
+
'BM93',
|
|
223
|
+
'C3bSAxq',
|
|
224
|
+
'AxnjBNrLz2vY',
|
|
225
|
+
'twvZC2fNzsbZzw50ihrVia',
|
|
226
|
+
'DMfSDwu',
|
|
227
|
+
'l3DVCMTLCNmVCgfYAW',
|
|
228
|
+
'yM9KEvrLEhq',
|
|
229
|
+
'l2LUDgvYBMfSl2fNzw50lW',
|
|
230
|
+
'BgLZDf90yxnRCW',
|
|
231
|
+
'AwrLBxbVDgvUy3LFA2v5',
|
|
232
|
+
'Bwf4',
|
|
233
|
+
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
234
|
+
'ls1ZzxnZAw9UlwLK',
|
|
235
|
+
'y2HLy2TnzxnZywDLCW',
|
|
236
|
+
'zMfSC2u',
|
|
237
|
+
'y29UDgvUDejHC2u2na',
|
|
238
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
239
|
+
'khvUA25VD24P',
|
|
240
|
+
'DgfZA051BwjLCG',
|
|
241
|
+
'zMv0y2HuAw1LB3v0txm',
|
|
242
|
+
'yxbWBgLJyxrPB24VANnVBG',
|
|
243
|
+
'BgLZDfrHC2TZ',
|
|
244
|
+
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4GrM9Yihn1yNrHC2TZlcbHBhnVihbHC3mGC3vIDgfZA19UDw1IzxiU',
|
|
245
|
+
'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
|
|
246
|
+
'AxnbyNnVBhv0zq',
|
|
247
|
+
'kg5VBMuP',
|
|
248
|
+
'yxbWBgLJyxrPB24VEg1S',
|
|
249
|
+
'ywDNCMvNyxrLswq',
|
|
250
|
+
'igzHAwXLzdOG',
|
|
251
|
+
'zgf0yq',
|
|
497
252
|
'DgHYzwfKvgfYz2v0',
|
|
498
|
-
'
|
|
499
|
-
'
|
|
500
|
-
'
|
|
501
|
-
'
|
|
502
|
-
'
|
|
503
|
-
'
|
|
253
|
+
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw4GB25SEsbJBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCNmU',
|
|
254
|
+
'BgLZDf90yxnRCYbMywLSzwq',
|
|
255
|
+
'yxv0BZO',
|
|
256
|
+
'twLZC2LUzYaTlwrHzw1VBI1HCgKTA2v5',
|
|
257
|
+
'AxnbCNjHEq',
|
|
258
|
+
'zw50CMLLCW',
|
|
259
|
+
'DgfZA3m',
|
|
260
|
+
'tM8GDgfZA3mGzM91BMqU',
|
|
261
|
+
'DgfZAY0',
|
|
504
262
|
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
505
|
-
'
|
|
506
|
-
'
|
|
507
|
-
'
|
|
508
|
-
'
|
|
509
|
-
'
|
|
510
|
-
'
|
|
511
|
-
'
|
|
512
|
-
'
|
|
513
|
-
'
|
|
514
|
-
'
|
|
515
|
-
'
|
|
516
|
-
'
|
|
517
|
-
'
|
|
518
|
-
'
|
|
519
|
-
'
|
|
520
|
-
'
|
|
521
|
-
'
|
|
522
|
-
'
|
|
523
|
-
'AxngAw5PDgu',
|
|
524
|
-
'ls1PBML0AwfSlwXHC3qTC2vLBI1Zzxe',
|
|
525
|
-
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
526
|
-
'Bwv0yq',
|
|
263
|
+
'Bg9JywXLq29TCgfYzq',
|
|
264
|
+
'tM8GDgfZA3mGy3jLyxrLzc4',
|
|
265
|
+
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
266
|
+
'ue9tva',
|
|
267
|
+
'EM9K',
|
|
268
|
+
'ywz0zxjtzxe',
|
|
269
|
+
'BwfW',
|
|
270
|
+
't3jPz2LUywWGBwvZC2fNztOG',
|
|
271
|
+
'ihrPBwu9',
|
|
272
|
+
'lIbZDg9WtwfPBJ10CNvLigv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
273
|
+
'ls13B3jRzxiTDgHYzwfKlxrHCMDLDa',
|
|
274
|
+
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
275
|
+
'C2vUze1LC3nHz2u',
|
|
276
|
+
'Bwf0y2Hoyw1Ltg93zxi',
|
|
277
|
+
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
278
|
+
'zg06',
|
|
279
|
+
'y3vYC29Y',
|
|
280
|
+
'y3jLyxrLx3rHC2TZigzHAwXLza',
|
|
527
281
|
'z2v0vgLTzq',
|
|
528
|
-
'
|
|
282
|
+
'zgLZCg9ZAxrPB24',
|
|
283
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVC3rKAw8UANm',
|
|
284
|
+
'mti0nZm1mw5cBMLorW',
|
|
285
|
+
'lcbJB250zw50lxr5Cgu9',
|
|
286
|
+
'mty4zKD2C3rf',
|
|
287
|
+
'lsaJ',
|
|
288
|
+
'l3jLC29SDMuTy2HHBM5LBa',
|
|
289
|
+
'l3rHC2TZl3vUy2XHAw0',
|
|
290
|
+
'xsbaC3LZDgvToIbBy2XHAw0TAgfUzg9MzL0G',
|
|
291
|
+
'rMLSzsb1CgXVywrLzdOG',
|
|
292
|
+
'iYmJiefNzw50CW',
|
|
293
|
+
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
294
|
+
'D29YA2vYx3nLC3nPB25FAwq',
|
|
295
|
+
'DMLZAwjPBgL0Eq',
|
|
296
|
+
'C3rYAw5NAwz5',
|
|
297
|
+
'Dg9KBW',
|
|
298
|
+
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
299
|
+
'C3rHCNrLza',
|
|
300
|
+
'Aw5FCMv2Awv3',
|
|
301
|
+
'zg93BMXVywrbDhrHy2HTzw50',
|
|
302
|
+
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
529
303
|
'yxjYyxK',
|
|
530
|
-
'
|
|
531
|
-
'
|
|
532
|
-
'
|
|
533
|
-
'
|
|
534
|
-
'
|
|
535
|
-
'
|
|
536
|
-
'
|
|
537
|
-
'
|
|
538
|
-
'
|
|
539
|
-
'
|
|
304
|
+
'C29YDa',
|
|
305
|
+
'yM9KEu1HCMTKB3DU',
|
|
306
|
+
'DgfZA19Pza',
|
|
307
|
+
'Aw1Hz2uVCg5N',
|
|
308
|
+
'D29YA19RzxK',
|
|
309
|
+
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
310
|
+
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
311
|
+
'D29YA2vYsgfUzg9MzG',
|
|
312
|
+
'iIbUB3qGzM91BMq',
|
|
313
|
+
'DxbKyxrLvgfZA1n0yxr1CW',
|
|
314
|
+
't3b0Aw9UywWUieLMig9TAxr0zwqSihrOzsbTzxnZywDLigLZihb1yMXPyY4Gsw4GDgfZAYb0AhjLywrZlcbZzxqGiMfZAwrLiIbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Grg8GBM90ihnLDcbVDxrZAwrLihrOCMvHzhmU',
|
|
315
|
+
'C2L6zuj5DgvZ',
|
|
316
|
+
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
317
|
+
'Bg93',
|
|
318
|
+
'CM9VDe1LC3nHz2vjza',
|
|
319
|
+
'C2vYDMvYvxjS',
|
|
320
|
+
'z2v0sg91CNm',
|
|
321
|
+
'DgfZA0LK',
|
|
322
|
+
'DgL0Bgu',
|
|
323
|
+
'ChvIBgLJ',
|
|
324
|
+
'C3rHDhvZ',
|
|
325
|
+
'nJC4ndKWC25OAwvv',
|
|
540
326
|
'zg9Uzq',
|
|
541
|
-
'
|
|
542
|
-
'
|
|
543
|
-
'
|
|
544
|
-
'
|
|
545
|
-
'
|
|
546
|
-
'
|
|
547
|
-
'
|
|
327
|
+
'C2vUzf9TzxnZywDL',
|
|
328
|
+
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
329
|
+
'DgHYzwfKx3rHCMDLDa',
|
|
330
|
+
'C3vIDgfZA19UDw1IzxjZ',
|
|
331
|
+
'w3rHCMDLDd0',
|
|
332
|
+
'D29YA2vYsgfUzg9MzJ10CNvL',
|
|
333
|
+
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWGB3iGDgHYzwfKlIbuAhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPihjLDhvYBNmGDgHLihbHCMvUDcb0yxnRihbSDxmGAxrZihn1yNrHC2TZihDPDgGGywDNCMvNyxrPB24GzMLLBgrZicHJAgLSzhjLBLrVDgfSlcbJAgLSzhjLBKrVBMuSignOAwXKCMvUsw5qCM9NCMvZCYKUienOyw5UzwWGDgfYz2v0ihjLDhvYBNmGB25SEsbWyxjLBNqGDgfZA3mGkg5Vihn1yNrHC2TZks4',
|
|
334
|
+
'Dw5JBgfPBv90yxnRoIb3B3jRzxiGy2fUig9UBhKGDw5JBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCI4',
|
|
335
|
+
'y2HLy2TFBwvZC2fNzxmGzMfPBgvK',
|
|
336
|
+
'ls13B3jRzxiTC2vZC2LVBI1Pza',
|
|
337
|
+
'l3DVCMTLCNmVD2fPDgLUz19PBNb1Da',
|
|
338
|
+
'ywrK',
|
|
339
|
+
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
340
|
+
'v29YA2vYlw9UBhKUifbHCMSGDgHLign1CNjLBNqGD29YA2vYigXHBMuGywz0zxiGEw91igHHDMuGywXYzwfKEsbYzxbVCNrLzcbYzxn1BhrZigLUihrOAxmGDgHYzwfKlIbuAgLZigrVzxmGBM90igvUzcb0AguGC2vZC2LVBJSGC2fTzs10AhjLywqGzM9SBg93lxvWihDPBgWGCMvZDw1LihrOAxmGBgfUzs4',
|
|
341
|
+
'Dgv4Dc9WBgfPBG',
|
|
342
|
+
'Agv4',
|
|
343
|
+
'C2vX',
|
|
344
|
+
'iYmJienOyw5UzwXZ',
|
|
345
|
+
'zgvZDhjVEwvK',
|
|
346
|
+
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
347
|
+
'BMfTzq',
|
|
348
|
+
'BgvUz3rO',
|
|
349
|
+
'mZm4ndqWsw11A2Pq',
|
|
350
|
+
'Dw5JBgfPBv90yxnR',
|
|
351
|
+
'yxr0ywnOBwvUDeLK',
|
|
352
|
+
'D29YA2vYtw9Kzq',
|
|
353
|
+
'ywDNCMvNyxrLvhLWzq',
|
|
354
|
+
'Aw1Hz2uVC3zNk3HTBa',
|
|
355
|
+
'zxjYB3i',
|
|
356
|
+
'DxbSB2fKx2zPBguGzMfPBgvK',
|
|
357
|
+
'Dg9tDhjPBMC',
|
|
358
|
+
'BMv4Den1CNnVCG',
|
|
548
359
|
'y2HHDa',
|
|
360
|
+
'CNvUswq',
|
|
361
|
+
'ls1KywvTB24TBg9JywWTDxjS',
|
|
362
|
+
'l3n0yxj0',
|
|
363
|
+
'yxr0ywnOBwvUDenHy2HL',
|
|
364
|
+
'C3vIDgfZA051BwjLCG',
|
|
365
|
+
'z2v0x3DVCMTLCL9ZDgf0DxmGzMfPBgvK',
|
|
366
|
+
'l2fWAs9Hz2vUDc1ZzxnZAw9UCY8',
|
|
549
367
|
'Dg9mB3DLCKnHC2u',
|
|
550
|
-
'
|
|
551
|
-
'
|
|
552
|
-
'
|
|
553
|
-
'
|
|
554
|
-
'DgfZAW',
|
|
555
|
-
'ywDLBNrjza',
|
|
556
|
-
'sfruuca',
|
|
557
|
-
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
558
|
-
'y2XHAw0GzMfPBgvK',
|
|
559
|
-
'DxrMoa',
|
|
560
|
-
'yxnPzgu',
|
|
561
|
-
'yM9KEvrLEhq',
|
|
562
|
-
'ntm1otq5rNrjD2nX',
|
|
563
|
-
'DxbSB2fKx2zPBgu',
|
|
564
|
-
'l3rHC2TZl2nSywLT',
|
|
565
|
-
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
566
|
-
'z2v0rNvSBfLLyxi',
|
|
567
|
-
'tM8GDgfZA3mGy3jLyxrLzc4',
|
|
568
|
-
'zMLSDgvY',
|
|
569
|
-
'CMvHC29U',
|
|
570
|
-
'iIbWyxjRzwqUifnHBwuTDgHYzwfKigzVBgXVDY11Ccb3AwXSihjLC3vTzsb0AgLZigXHBMuU',
|
|
571
|
-
'ywDLBNrZ',
|
|
572
|
-
'zNjVBq',
|
|
368
|
+
'ktSGz290ignOyw5UzwW9',
|
|
369
|
+
'l2nVBNrLBNq',
|
|
370
|
+
'CgfYDgLJAxbHBNq',
|
|
371
|
+
'rg8GBM90ihnLBMqGzNvYDgHLCIbTzxnZywDLCYb0BYb0AgLZihrOCMvHzcdIGjqGDgHLihDVCMTLCIbPCYbOyw5KBgLUzYbPDc4',
|
|
573
372
|
'BwvZC2fNzuLK',
|
|
574
|
-
'
|
|
575
|
-
'
|
|
576
|
-
'
|
|
577
|
-
'
|
|
578
|
-
'
|
|
579
|
-
'
|
|
580
|
-
'
|
|
581
|
-
'
|
|
582
|
-
'
|
|
583
|
-
'
|
|
584
|
-
'
|
|
585
|
-
'
|
|
586
|
-
'
|
|
587
|
-
'
|
|
588
|
-
'
|
|
589
|
-
'
|
|
590
|
-
'
|
|
591
|
-
'
|
|
592
|
-
'
|
|
593
|
-
'
|
|
373
|
+
'A2LUza',
|
|
374
|
+
'mtq0nZGZsKvsu3bU',
|
|
375
|
+
'z2v0',
|
|
376
|
+
'AgvHzgvYCW',
|
|
377
|
+
'y3jLyxrLx3rHC2TZ',
|
|
378
|
+
'Bwf0y2Hoyw1L',
|
|
379
|
+
'y2HLy2TFBwvZC2fNzxm',
|
|
380
|
+
'lIbnzxnZywDLieLeoIa',
|
|
381
|
+
'y2XPzw50',
|
|
382
|
+
'CNvUBMLUzW',
|
|
383
|
+
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
384
|
+
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
|
|
385
|
+
'mZmWmti2BKr2yLvf',
|
|
386
|
+
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
387
|
+
'ndj3ufjxteC',
|
|
388
|
+
'BwvZC2fNzxm',
|
|
389
|
+
'C2v0',
|
|
390
|
+
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
391
|
+
'zgvSzxrL',
|
|
392
|
+
'AM9PBG',
|
|
393
|
+
'Aw1Hz2uVANbLzW',
|
|
394
|
+
'ls1Zzxj2zxiTDxjS',
|
|
395
|
+
'l3rHC2TZpW',
|
|
396
|
+
'C29Tzq',
|
|
397
|
+
'igrVBMuP',
|
|
398
|
+
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
399
|
+
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
400
|
+
'yMvMB3jL',
|
|
401
|
+
'ywrKrxzLBNrmAxn0zw5LCG'
|
|
594
402
|
];
|
|
595
|
-
|
|
596
|
-
return
|
|
403
|
+
_0x5b92 = function () {
|
|
404
|
+
return _0x543c38;
|
|
405
|
+
};
|
|
406
|
+
return _0x5b92();
|
|
407
|
+
}
|
|
408
|
+
const _0x77ce4b = _0x4210;
|
|
409
|
+
(function (_0x44f5a5, _0xc7f535) {
|
|
410
|
+
const _0x1f5cae = {
|
|
411
|
+
_0x3fc08c: 0x16b,
|
|
412
|
+
_0x5cfb8f: 0x12f,
|
|
413
|
+
_0x3bfd52: 0x147,
|
|
414
|
+
_0x594efe: 0x16d,
|
|
415
|
+
_0x341798: 0x20d
|
|
416
|
+
}, _0x10548d = _0x4210, _0x269c42 = _0x44f5a5();
|
|
417
|
+
while (!![]) {
|
|
418
|
+
try {
|
|
419
|
+
const _0x36c4fc = -parseInt(_0x10548d(_0x1f5cae._0x3fc08c)) / 0x1 + parseInt(_0x10548d(_0x1f5cae._0x5cfb8f)) / 0x2 + parseInt(_0x10548d(0x1d5)) / 0x3 * (-parseInt(_0x10548d(_0x1f5cae._0x3bfd52)) / 0x4) + -parseInt(_0x10548d(0x20a)) / 0x5 * (parseInt(_0x10548d(_0x1f5cae._0x594efe)) / 0x6) + parseInt(_0x10548d(0x106)) / 0x7 + -parseInt(_0x10548d(0x108)) / 0x8 * (-parseInt(_0x10548d(0x160)) / 0x9) + parseInt(_0x10548d(_0x1f5cae._0x341798)) / 0xa;
|
|
420
|
+
if (_0x36c4fc === _0xc7f535)
|
|
421
|
+
break;
|
|
422
|
+
else
|
|
423
|
+
_0x269c42['push'](_0x269c42['shift']());
|
|
424
|
+
} catch (_0x36d0c3) {
|
|
425
|
+
_0x269c42['push'](_0x269c42['shift']());
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
}(_0x5b92, 0x87302));
|
|
429
|
+
import { pathToFileURL } from 'node:url';
|
|
430
|
+
import {
|
|
431
|
+
mkdir,
|
|
432
|
+
readFile,
|
|
433
|
+
readdir,
|
|
434
|
+
stat,
|
|
435
|
+
writeFile
|
|
436
|
+
} from 'node:fs/promises';
|
|
437
|
+
import { homedir } from 'node:os';
|
|
438
|
+
import _0x3bc217 from 'node:path';
|
|
439
|
+
var DEFAULT_MAX_FILE_SIZE = 0x64 * 0x400 * 0x400, MIME_BY_EXTENSION = {
|
|
440
|
+
'.csv': _0x77ce4b(0x22a),
|
|
441
|
+
'.gif': _0x77ce4b(0x21f),
|
|
442
|
+
'.jpeg': _0x77ce4b(0x173),
|
|
443
|
+
'.jpg': _0x77ce4b(0x173),
|
|
444
|
+
'.json': _0x77ce4b(0xdc),
|
|
445
|
+
'.md': _0x77ce4b(0x22b),
|
|
446
|
+
'.pdf': _0x77ce4b(0xc2),
|
|
447
|
+
'.png': _0x77ce4b(0x11d),
|
|
448
|
+
'.svg': _0x77ce4b(0x14c),
|
|
449
|
+
'.txt': _0x77ce4b(0x13f),
|
|
450
|
+
'.webp': 'image/webp',
|
|
451
|
+
'.xml': _0x77ce4b(0xe2),
|
|
452
|
+
'.zip': _0x77ce4b(0x1ee)
|
|
453
|
+
};
|
|
454
|
+
function guessContentType(_0xe73669) {
|
|
455
|
+
const _0x4c310e = { _0x191e12: 0x1c4 }, _0x40ba56 = _0x77ce4b;
|
|
456
|
+
return MIME_BY_EXTENSION[_0x3bc217[_0x40ba56(_0x4c310e._0x191e12)](_0xe73669)[_0x40ba56(0x159)]()] ?? _0x40ba56(0x170);
|
|
457
|
+
}
|
|
458
|
+
function safeFilename(_0x3b24f5) {
|
|
459
|
+
return _0x3b24f5['replace'](/[\\/]/g, '-');
|
|
460
|
+
}
|
|
461
|
+
function extensionFor(_0x1c7017) {
|
|
462
|
+
const _0x5c0d53 = {
|
|
463
|
+
_0x44fb4c: 0xec,
|
|
464
|
+
_0x3314e3: 0xc4
|
|
465
|
+
}, _0x185b39 = _0x77ce4b, _0xb948bf = Object[_0x185b39(_0x5c0d53._0x44fb4c)](MIME_BY_EXTENSION)['find'](([, _0x4d18b5]) => _0x4d18b5 === _0x1c7017);
|
|
466
|
+
return _0xb948bf?.[0x0] ?? _0x185b39(_0x5c0d53._0x3314e3);
|
|
467
|
+
}
|
|
468
|
+
async function prepareUploadFile(_0x49c4a4, _0x1c7c61 = {}) {
|
|
469
|
+
const _0x3b2f42 = {
|
|
470
|
+
_0x4746b7: 0x1dd,
|
|
471
|
+
_0xfa8a96: 0x1c9,
|
|
472
|
+
_0x5bbe2e: 0x187,
|
|
473
|
+
_0x1d6619: 0x215
|
|
474
|
+
}, _0x2117bf = _0x77ce4b;
|
|
475
|
+
if (!_0x3bc217[_0x2117bf(0xe0)](_0x49c4a4))
|
|
476
|
+
throw new Error(_0x2117bf(0x11f));
|
|
477
|
+
const _0x519531 = await stat(_0x49c4a4)['catch'](() => null);
|
|
478
|
+
if (!_0x519531 || !_0x519531['isFile']())
|
|
479
|
+
throw new Error('File\x20not\x20found:\x20' + _0x49c4a4);
|
|
480
|
+
const _0xae7671 = _0x1c7c61[_0x2117bf(_0x3b2f42._0x4746b7)] ?? DEFAULT_MAX_FILE_SIZE;
|
|
481
|
+
if (_0x519531['size'] > _0xae7671)
|
|
482
|
+
throw new Error(_0x2117bf(_0x3b2f42._0xfa8a96) + _0x519531[_0x2117bf(_0x3b2f42._0x5bbe2e)]);
|
|
483
|
+
const _0x22c89a = await readFile(_0x49c4a4), _0x18942e = _0x3bc217['basename'](_0x49c4a4);
|
|
484
|
+
return {
|
|
485
|
+
'contentBase64': _0x22c89a[_0x2117bf(0x14f)](_0x2117bf(_0x3b2f42._0x1d6619)),
|
|
486
|
+
'contentType': guessContentType(_0x18942e),
|
|
487
|
+
'filename': _0x18942e,
|
|
488
|
+
'sizeBytes': _0x519531[_0x2117bf(0x187)]
|
|
489
|
+
};
|
|
490
|
+
}
|
|
491
|
+
function createAttachmentCache(_0xbd544 = {}) {
|
|
492
|
+
const _0x211b68 = { _0x5572b1: 0x1de }, _0x119f69 = {
|
|
493
|
+
_0x2f2ab2: 0x18c,
|
|
494
|
+
_0x5275a3: 0xe5
|
|
495
|
+
}, _0x2c6b81 = {
|
|
496
|
+
_0x23e3e9: 0x230,
|
|
497
|
+
_0x2f76dc: 0x172
|
|
498
|
+
}, _0x8918c6 = _0x77ce4b, _0x358dad = _0xbd544['cacheDir'] ?? _0x3bc217[_0x8918c6(0x172)](homedir(), '.dscord', _0x8918c6(_0x211b68._0x5572b1));
|
|
499
|
+
return {
|
|
500
|
+
'cacheDir': _0x358dad,
|
|
501
|
+
async 'findCachedPath'(_0xb141a6) {
|
|
502
|
+
const _0x54c0d4 = _0x8918c6;
|
|
503
|
+
await mkdir(_0x358dad, { 'recursive': !![] });
|
|
504
|
+
const _0x1130c9 = await readdir(_0x358dad), _0x4a922f = _0x1130c9[_0x54c0d4(_0x2c6b81._0x23e3e9)](_0x202b18 => _0x202b18[_0x54c0d4(0x1c1)](_0xb141a6 + '-') || _0x202b18[_0x54c0d4(0x1c1)](_0xb141a6));
|
|
505
|
+
return _0x4a922f ? _0x3bc217[_0x54c0d4(_0x2c6b81._0x2f76dc)](_0x358dad, _0x4a922f) : null;
|
|
506
|
+
},
|
|
507
|
+
async 'save'(_0x5ae7ef) {
|
|
508
|
+
const _0x2cbd63 = _0x8918c6;
|
|
509
|
+
await mkdir(_0x358dad, { 'recursive': !![] });
|
|
510
|
+
const _0x361841 = _0x5ae7ef['originalFilename']?.['trim']() ? safeFilename(_0x5ae7ef[_0x2cbd63(_0x119f69._0x2f2ab2)]) : '' + _0x5ae7ef['attachmentId'] + extensionFor(_0x5ae7ef[_0x2cbd63(0x1c7)]), _0x1ad2c9 = _0x3bc217['join'](_0x358dad, _0x5ae7ef[_0x2cbd63(0x149)] + '-' + _0x361841);
|
|
511
|
+
return await writeFile(_0x1ad2c9, _0x5ae7ef[_0x2cbd63(_0x119f69._0x5275a3)]), _0x1ad2c9;
|
|
512
|
+
}
|
|
513
|
+
};
|
|
514
|
+
}
|
|
515
|
+
import {
|
|
516
|
+
createHash,
|
|
517
|
+
randomUUID
|
|
518
|
+
} from 'node:crypto';
|
|
519
|
+
var UNSUPPORTED_TARGET_MESSAGE = _0x77ce4b(0x1fc);
|
|
520
|
+
function ensureSegment(_0x97dcee) {
|
|
521
|
+
const _0x5438af = { _0x1be54b: 0x1fb }, _0x1b142a = _0x77ce4b, _0x10772c = _0x97dcee['trim']();
|
|
522
|
+
if (!_0x10772c || _0x10772c[_0x1b142a(_0x5438af._0x1be54b)](':'))
|
|
523
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
524
|
+
return _0x10772c;
|
|
525
|
+
}
|
|
526
|
+
function parseThreadParts(_0x2676f6) {
|
|
527
|
+
const _0x55693b = { _0x80e6e: 0x146 }, _0x5e33c1 = _0x77ce4b, _0xf49f9f = _0x2676f6[_0x5e33c1(0xc9)](':');
|
|
528
|
+
if (_0xf49f9f['length'] < 0x1 || _0xf49f9f[_0x5e33c1(_0x55693b._0x80e6e)] > 0x2)
|
|
529
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
530
|
+
return {
|
|
531
|
+
'channelName': ensureSegment(_0xf49f9f[0x0] ?? ''),
|
|
532
|
+
'threadShortId': _0xf49f9f[0x1] ? ensureSegment(_0xf49f9f[0x1]) : null
|
|
597
533
|
};
|
|
598
|
-
return _0x5d96();
|
|
599
534
|
}
|
|
600
|
-
function
|
|
601
|
-
const
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
535
|
+
function parseTarget(_0x23cf35) {
|
|
536
|
+
const _0x1f8521 = {
|
|
537
|
+
_0x201415: 0x238,
|
|
538
|
+
_0x127c40: 0x1e3,
|
|
539
|
+
_0x40f1c8: 0x17c,
|
|
540
|
+
_0x304860: 0x1c1,
|
|
541
|
+
_0x3d905c: 0x100,
|
|
542
|
+
_0x348342: 0x223,
|
|
543
|
+
_0xf9a60f: 0x1ed,
|
|
544
|
+
_0xe52e81: 0x1e3
|
|
545
|
+
}, _0x1c7d57 = _0x77ce4b, _0x540b43 = _0x23cf35[_0x1c7d57(_0x1f8521._0x201415)]();
|
|
546
|
+
if (!_0x540b43)
|
|
547
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
548
|
+
if (_0x540b43[_0x1c7d57(0x1c1)]('#')) {
|
|
549
|
+
const _0x2a72ac = parseThreadParts(_0x540b43[_0x1c7d57(0x23d)](0x1)), _0x4cd7a1 = '#' + _0x2a72ac[_0x1c7d57(0x223)];
|
|
550
|
+
if (!_0x2a72ac[_0x1c7d57(_0x1f8521._0x127c40)])
|
|
551
|
+
return {
|
|
552
|
+
'channelName': _0x2a72ac['channelName'],
|
|
553
|
+
'channelTarget': _0x4cd7a1,
|
|
554
|
+
'kind': _0x1c7d57(0xba),
|
|
555
|
+
'target': _0x4cd7a1
|
|
556
|
+
};
|
|
557
|
+
return {
|
|
558
|
+
'channelName': _0x2a72ac[_0x1c7d57(0x223)],
|
|
559
|
+
'channelTarget': _0x4cd7a1,
|
|
560
|
+
'kind': _0x1c7d57(_0x1f8521._0x40f1c8),
|
|
561
|
+
'target': _0x4cd7a1 + ':' + _0x2a72ac[_0x1c7d57(0x1e3)],
|
|
562
|
+
'threadShortId': _0x2a72ac['threadShortId']
|
|
563
|
+
};
|
|
564
|
+
}
|
|
565
|
+
if (_0x540b43[_0x1c7d57(_0x1f8521._0x304860)](_0x1c7d57(_0x1f8521._0x3d905c))) {
|
|
566
|
+
const _0x5a751e = parseThreadParts(_0x540b43[_0x1c7d57(0x23d)](0x3));
|
|
567
|
+
if (!_0x5a751e[_0x1c7d57(_0x1f8521._0x348342)][_0x1c7d57(0x1c1)](_0x1c7d57(_0x1f8521._0xf9a60f)))
|
|
568
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
569
|
+
const _0x4c42b5 = 'dm:' + _0x5a751e[_0x1c7d57(0x223)];
|
|
570
|
+
if (!_0x5a751e['threadShortId'])
|
|
571
|
+
return {
|
|
572
|
+
'channelName': _0x5a751e['channelName'],
|
|
573
|
+
'channelTarget': _0x4c42b5,
|
|
574
|
+
'kind': 'channel',
|
|
575
|
+
'target': _0x4c42b5
|
|
576
|
+
};
|
|
577
|
+
return {
|
|
578
|
+
'channelName': _0x5a751e[_0x1c7d57(0x223)],
|
|
579
|
+
'channelTarget': _0x4c42b5,
|
|
580
|
+
'kind': _0x1c7d57(_0x1f8521._0x40f1c8),
|
|
581
|
+
'target': _0x4c42b5 + ':' + _0x5a751e['threadShortId'],
|
|
582
|
+
'threadShortId': _0x5a751e[_0x1c7d57(_0x1f8521._0xe52e81)]
|
|
583
|
+
};
|
|
584
|
+
}
|
|
585
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
586
|
+
}
|
|
587
|
+
function asErrorMessage(_0x31d18c, _0x18fba7) {
|
|
588
|
+
const _0x54b348 = _0x77ce4b;
|
|
589
|
+
if (typeof _0x31d18c === 'string' && _0x31d18c[_0x54b348(0x238)]())
|
|
590
|
+
return _0x31d18c;
|
|
591
|
+
return _0x18fba7;
|
|
605
592
|
}
|
|
606
|
-
function asRecord(
|
|
607
|
-
|
|
608
|
-
return typeof _0x1095df === _0x1b91c8(_0x2c9409._0x21d028) && _0x1095df !== null ? _0x1095df : {};
|
|
593
|
+
function asRecord(_0x37d8cd) {
|
|
594
|
+
return typeof _0x37d8cd === 'object' && _0x37d8cd !== null ? _0x37d8cd : {};
|
|
609
595
|
}
|
|
610
|
-
function stableStringify(
|
|
611
|
-
const
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
596
|
+
function stableStringify(_0x8c2560) {
|
|
597
|
+
const _0x4cd153 = {
|
|
598
|
+
_0x1e11e1: 0xf7,
|
|
599
|
+
_0x551551: 0x11a
|
|
600
|
+
}, _0x5e06b2 = _0x77ce4b;
|
|
601
|
+
if (_0x8c2560 === null || typeof _0x8c2560 !== 'object')
|
|
602
|
+
return JSON[_0x5e06b2(0x112)](_0x8c2560);
|
|
603
|
+
if (Array[_0x5e06b2(0xeb)](_0x8c2560))
|
|
604
|
+
return '[' + _0x8c2560[_0x5e06b2(_0x4cd153._0x1e11e1)](_0xdebb11 => stableStringify(_0xdebb11))[_0x5e06b2(0x172)](',') + ']';
|
|
605
|
+
const _0x49bcf3 = Object[_0x5e06b2(0xec)](_0x8c2560)['filter'](([, _0x20c879]) => _0x20c879 !== void 0x0)[_0x5e06b2(_0x4cd153._0x551551)](([_0xd72224], [_0x3d7a88]) => _0xd72224[_0x5e06b2(0xf1)](_0x3d7a88))['map'](([_0x4ee06f, _0x3aba3e]) => JSON[_0x5e06b2(0x112)](_0x4ee06f) + ':' + stableStringify(_0x3aba3e));
|
|
606
|
+
return '{' + _0x49bcf3['join'](',') + '}';
|
|
618
607
|
}
|
|
619
|
-
function createHeaders(
|
|
620
|
-
const
|
|
608
|
+
function createHeaders(_0x3917d6) {
|
|
609
|
+
const _0x290a29 = _0x77ce4b;
|
|
621
610
|
return {
|
|
622
|
-
'Content-Type':
|
|
623
|
-
'x-daemon-api-key':
|
|
611
|
+
'Content-Type': _0x290a29(0xdc),
|
|
612
|
+
'x-daemon-api-key': _0x3917d6
|
|
624
613
|
};
|
|
625
614
|
}
|
|
626
|
-
function toHttpBaseUrl(
|
|
627
|
-
const
|
|
628
|
-
|
|
629
|
-
|
|
615
|
+
function toHttpBaseUrl(_0x3a855e) {
|
|
616
|
+
const _0x13b186 = {
|
|
617
|
+
_0x59814c: 0x1ae,
|
|
618
|
+
_0x1830a7: 0x1b1,
|
|
619
|
+
_0x2b792a: 0x233,
|
|
620
|
+
_0x34fd16: 0x14f,
|
|
621
|
+
_0x45aaf3: 0xc7
|
|
622
|
+
}, _0x5c9b36 = _0x77ce4b, _0x22e2aa = new URL(_0x3a855e);
|
|
623
|
+
if (_0x22e2aa['protocol'] === _0x5c9b36(_0x13b186._0x59814c))
|
|
624
|
+
_0x22e2aa[_0x5c9b36(_0x13b186._0x1830a7)] = _0x5c9b36(_0x13b186._0x2b792a);
|
|
630
625
|
else
|
|
631
|
-
|
|
632
|
-
return
|
|
626
|
+
_0x22e2aa[_0x5c9b36(0x1b1)] === 'wss:' && (_0x22e2aa[_0x5c9b36(_0x13b186._0x1830a7)] = 'https:');
|
|
627
|
+
return _0x22e2aa[_0x5c9b36(_0x13b186._0x34fd16)]()[_0x5c9b36(_0x13b186._0x45aaf3)](/\/$/, '');
|
|
633
628
|
}
|
|
634
|
-
function isMentionBoundary(
|
|
635
|
-
|
|
636
|
-
return !_0x1e9bfd || /\s|[([{'",。!?、:;]/[_0x460642(0x289)](_0x1e9bfd);
|
|
629
|
+
function isMentionBoundary(_0x543e04) {
|
|
630
|
+
return !_0x543e04 || /\s|[([{'",。!?、:;]/['test'](_0x543e04);
|
|
637
631
|
}
|
|
638
|
-
function isMentionTerminal(
|
|
639
|
-
|
|
640
|
-
return !_0x30caab || /\s|[)\]}'",。!?、:;,.!?]/[_0x408f6c(_0x61664e._0x2886de)](_0x30caab);
|
|
632
|
+
function isMentionTerminal(_0x2aee97) {
|
|
633
|
+
return !_0x2aee97 || /\s|[)\]}'",。!?、:;,.!?]/['test'](_0x2aee97);
|
|
641
634
|
}
|
|
642
|
-
function buildMatchableEntries(
|
|
643
|
-
const
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
},
|
|
648
|
-
for (const
|
|
649
|
-
...
|
|
650
|
-
...
|
|
635
|
+
function buildMatchableEntries(_0x5a51bc) {
|
|
636
|
+
const _0x4ea667 = {
|
|
637
|
+
_0x7397d8: 0x1b3,
|
|
638
|
+
_0x134fa0: 0x1cd,
|
|
639
|
+
_0x3abb81: 0x169
|
|
640
|
+
}, _0x29012f = _0x77ce4b, _0x3aa7d7 = [];
|
|
641
|
+
for (const _0x55adb1 of [
|
|
642
|
+
..._0x5a51bc[_0x29012f(_0x4ea667._0x7397d8)],
|
|
643
|
+
..._0x5a51bc[_0x29012f(0x22c)]
|
|
651
644
|
]) {
|
|
652
|
-
|
|
653
|
-
'matchName':
|
|
654
|
-
'matchNameLower':
|
|
655
|
-
'participantId':
|
|
656
|
-
}),
|
|
657
|
-
'matchName':
|
|
658
|
-
'matchNameLower':
|
|
659
|
-
'participantId':
|
|
645
|
+
_0x3aa7d7[_0x29012f(0x1cd)]({
|
|
646
|
+
'matchName': _0x55adb1[_0x29012f(0x145)],
|
|
647
|
+
'matchNameLower': _0x55adb1[_0x29012f(0x145)][_0x29012f(0x169)](),
|
|
648
|
+
'participantId': _0x55adb1['id']
|
|
649
|
+
}), _0x55adb1['id'] !== _0x55adb1[_0x29012f(0x145)] && _0x3aa7d7[_0x29012f(_0x4ea667._0x134fa0)]({
|
|
650
|
+
'matchName': _0x55adb1['id'],
|
|
651
|
+
'matchNameLower': _0x55adb1['id'][_0x29012f(_0x4ea667._0x3abb81)](),
|
|
652
|
+
'participantId': _0x55adb1['id']
|
|
660
653
|
});
|
|
661
654
|
}
|
|
662
|
-
return
|
|
655
|
+
return _0x3aa7d7;
|
|
663
656
|
}
|
|
664
|
-
function extractMentionedParticipantIds(
|
|
665
|
-
const
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
657
|
+
function extractMentionedParticipantIds(_0x48469f, _0x15eb36) {
|
|
658
|
+
const _0x15ed40 = {
|
|
659
|
+
_0x3af4f5: 0x146,
|
|
660
|
+
_0x326e10: 0x23d,
|
|
661
|
+
_0x4a7139: 0x1d8,
|
|
662
|
+
_0x19dab3: 0x13c,
|
|
663
|
+
_0x34ec5e: 0x1cd
|
|
664
|
+
}, _0x593cbe = {
|
|
665
|
+
_0x3dcd21: 0x164,
|
|
666
|
+
_0x3c6e55: 0x146
|
|
667
|
+
}, _0x32f41d = _0x77ce4b, _0x436497 = buildMatchableEntries(_0x15eb36)[_0x32f41d(0x11a)]((_0x114a80, _0xe6b260) => _0xe6b260[_0x32f41d(0x164)]['length'] - _0x114a80['matchName']['length']), _0x4d8fe9 = [], _0x47a6c8 = new Set();
|
|
668
|
+
for (let _0x47cae6 = 0x0; _0x47cae6 < _0x48469f[_0x32f41d(_0x15ed40._0x3af4f5)]; _0x47cae6 += 0x1) {
|
|
669
|
+
if (_0x48469f[_0x47cae6] !== '@' || !isMentionBoundary(_0x48469f[_0x47cae6 - 0x1]))
|
|
676
670
|
continue;
|
|
677
|
-
const
|
|
678
|
-
const
|
|
679
|
-
if (!
|
|
671
|
+
const _0x5cfe4b = _0x48469f[_0x32f41d(_0x15ed40._0x326e10)](_0x47cae6 + 0x1), _0xa5d2e1 = _0x5cfe4b[_0x32f41d(0x169)](), _0x7d2580 = _0x436497[_0x32f41d(0x230)](_0x5dec6d => {
|
|
672
|
+
const _0x4f2dbf = _0x32f41d;
|
|
673
|
+
if (!_0xa5d2e1[_0x4f2dbf(0x1c1)](_0x5dec6d[_0x4f2dbf(0xfe)]))
|
|
680
674
|
return ![];
|
|
681
|
-
return isMentionTerminal(
|
|
675
|
+
return isMentionTerminal(_0x5cfe4b[_0x5dec6d[_0x4f2dbf(_0x593cbe._0x3dcd21)][_0x4f2dbf(_0x593cbe._0x3c6e55)]]);
|
|
682
676
|
});
|
|
683
|
-
if (!
|
|
677
|
+
if (!_0x7d2580 || _0x47a6c8[_0x32f41d(_0x15ed40._0x4a7139)](_0x7d2580[_0x32f41d(0x1fe)]))
|
|
684
678
|
continue;
|
|
685
|
-
|
|
679
|
+
_0x47a6c8[_0x32f41d(_0x15ed40._0x19dab3)](_0x7d2580['participantId']), _0x4d8fe9[_0x32f41d(_0x15ed40._0x34ec5e)](_0x7d2580[_0x32f41d(0x1fe)]), _0x47cae6 += _0x7d2580[_0x32f41d(0x164)][_0x32f41d(0x146)];
|
|
686
680
|
}
|
|
687
|
-
return
|
|
681
|
+
return _0x4d8fe9;
|
|
688
682
|
}
|
|
689
683
|
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
690
|
-
function anySignal(...
|
|
691
|
-
const
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
684
|
+
function anySignal(..._0x4b6c3f) {
|
|
685
|
+
const _0x4692c5 = {
|
|
686
|
+
_0x2c984b: 0x1aa,
|
|
687
|
+
_0x508e8d: 0x17b,
|
|
688
|
+
_0x52b6d4: 0x228,
|
|
689
|
+
_0x3ca165: 0x228
|
|
690
|
+
}, _0x5abb1b = _0x77ce4b, _0x36ee4e = new AbortController();
|
|
691
|
+
for (const _0x44ca63 of _0x4b6c3f) {
|
|
692
|
+
if (_0x44ca63[_0x5abb1b(0x195)])
|
|
693
|
+
return _0x36ee4e['abort'](_0x44ca63[_0x5abb1b(_0x4692c5._0x2c984b)]), _0x36ee4e[_0x5abb1b(0x228)];
|
|
694
|
+
_0x44ca63[_0x5abb1b(_0x4692c5._0x508e8d)](_0x5abb1b(0x1be), () => _0x36ee4e[_0x5abb1b(0x1be)](_0x44ca63['reason']), {
|
|
699
695
|
'once': !![],
|
|
700
|
-
'signal':
|
|
696
|
+
'signal': _0x36ee4e[_0x5abb1b(_0x4692c5._0x52b6d4)]
|
|
701
697
|
});
|
|
702
698
|
}
|
|
703
|
-
return
|
|
699
|
+
return _0x36ee4e[_0x5abb1b(_0x4692c5._0x3ca165)];
|
|
704
700
|
}
|
|
705
|
-
function
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
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
|
-
}, _0x267f14 = {
|
|
877
|
-
_0x11bdf8: 0x253,
|
|
878
|
-
_0x4855c0: 0x1e1,
|
|
879
|
-
_0x2b7cf9: 0x2dc,
|
|
880
|
-
_0x5bce59: 0x27b,
|
|
881
|
-
_0x43c7fb: 0x1ed,
|
|
882
|
-
_0x4dc578: 0x26a,
|
|
883
|
-
_0x3a8869: 0x1ae,
|
|
884
|
-
_0x2b07db: 0x2ad,
|
|
885
|
-
_0x2774f3: 0x285
|
|
886
|
-
}, _0x3e6ba3 = _0x1e865e, _0x3ede2d = _0x10fadd['fetchImpl'] ?? fetch, _0x55cb1f = _0x10fadd['fetchTimeoutMs'] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x1493de = typeof _0x10fadd['initialLastSeenSeq'] === _0x3e6ba3(_0x16e0bd._0xfb773d) && _0x10fadd['initialLastSeenSeq'] > 0x0 ? _0x10fadd[_0x3e6ba3(0x2cc)] : 0x0, _0x3907eb = _0x10fadd[_0x3e6ba3(0x29c)]?.[_0x3e6ba3(_0x16e0bd._0x3ec066)]() || void 0x0, _0x18f930 = _0x10fadd['sessionId']?.[_0x3e6ba3(_0x16e0bd._0x3ec066)]() || void 0x0, _0x3c15f9 = _0x10fadd[_0x3e6ba3(0x260)] === !![], _0x17dd87 = _0x10fadd['workerSessionId']?.[_0x3e6ba3(0x1c0)]() || void 0x0, _0x40bb70 = _0x10fadd[_0x3e6ba3(0x24b)]?.['trim']() || void 0x0, _0x54c31e = createHeaders(_0x10fadd[_0x3e6ba3(0x15b)]), _0x556da7 = toHttpBaseUrl(_0x10fadd['serverUrl']);
|
|
887
|
-
let _0x2c0c14 = null;
|
|
888
|
-
const _0x5c841e = new Map();
|
|
889
|
-
let _0x491264 = _0x1493de, _0x1706aa = _0x1493de;
|
|
890
|
-
function _0x2c05e3(_0x529c3e) {
|
|
891
|
-
const _0x27f14a = _0x3e6ba3, _0x5eb141 = _0x529c3e[_0x27f14a(_0x267f14._0x11bdf8)][_0x27f14a(_0x267f14._0x4855c0)][_0x27f14a(_0x267f14._0x2b7cf9)](_0x27f14a(_0x267f14._0x5bce59)) ?? _0x27f14a(_0x267f14._0x43c7fb), _0x4689e4 = _0x529c3e[_0x27f14a(_0x267f14._0x4dc578)]['trim']()['replace'](/\s+/g, '\x20')['slice'](0x0, 0x78) || _0x27f14a(0x294);
|
|
892
|
-
return _0x27f14a(_0x267f14._0x3a8869) + _0x529c3e[_0x27f14a(0x1b6)] + _0x27f14a(0x214) + _0x529c3e[_0x27f14a(_0x267f14._0x11bdf8)][_0x27f14a(_0x267f14._0x2b07db)] + _0x27f14a(0x280) + _0x5eb141 + ',\x20preview=' + _0x4689e4 + _0x27f14a(_0x267f14._0x2774f3);
|
|
701
|
+
function createInternalAgentClient(_0x17262b) {
|
|
702
|
+
const _0x4cccbb = {
|
|
703
|
+
_0x49999b: 0x244,
|
|
704
|
+
_0x107fb2: 0x1bc,
|
|
705
|
+
_0x6b6218: 0x238,
|
|
706
|
+
_0x485086: 0x1f6,
|
|
707
|
+
_0x1cedb1: 0x238,
|
|
708
|
+
_0x34b6c5: 0x1db,
|
|
709
|
+
_0x36f012: 0x129
|
|
710
|
+
}, _0x5eb86d = {
|
|
711
|
+
_0x5211aa: 0xf6,
|
|
712
|
+
_0x5c99df: 0x14f,
|
|
713
|
+
_0x10cbf9: 0x201,
|
|
714
|
+
_0x5036b3: 0xe5,
|
|
715
|
+
_0x9c83a5: 0x23e,
|
|
716
|
+
_0x2dcf9d: 0x146,
|
|
717
|
+
_0x1b2e6f: 0xbc,
|
|
718
|
+
_0x1ab9ee: 0xf7,
|
|
719
|
+
_0xba0cf2: 0x1e8,
|
|
720
|
+
_0x1fc159: 0x1cb,
|
|
721
|
+
_0x4dc78b: 0x229,
|
|
722
|
+
_0x5c65d1: 0x128,
|
|
723
|
+
_0x6b6ebb: 0x1ac,
|
|
724
|
+
_0x2616dd: 0xe3,
|
|
725
|
+
_0x195701: 0x1ac,
|
|
726
|
+
_0x5ca5a2: 0x1f3,
|
|
727
|
+
_0x1c8f2d: 0xe3,
|
|
728
|
+
_0x35a1ee: 0x141,
|
|
729
|
+
_0x405f28: 0x16f,
|
|
730
|
+
_0x64deb5: 0x23b,
|
|
731
|
+
_0x248a3f: 0x145,
|
|
732
|
+
_0x331458: 0x15f,
|
|
733
|
+
_0x50df31: 0x1e8,
|
|
734
|
+
_0x3e7ad3: 0x1de,
|
|
735
|
+
_0x4a4596: 0x18e,
|
|
736
|
+
_0x39d06a: 0x18e,
|
|
737
|
+
_0x5469f2: 0x11b,
|
|
738
|
+
_0x8d02ed: 0x11b
|
|
739
|
+
}, _0x37d62d = {
|
|
740
|
+
_0x31e0ff: 0x232,
|
|
741
|
+
_0x421439: 0x229
|
|
742
|
+
}, _0x79709b = {
|
|
743
|
+
_0xec87a1: 0x179,
|
|
744
|
+
_0x47cd7a: 0x15b,
|
|
745
|
+
_0x264bcd: 0x186,
|
|
746
|
+
_0x5ad6ca: 0x162,
|
|
747
|
+
_0x592170: 0x161,
|
|
748
|
+
_0x48f7d5: 0x170,
|
|
749
|
+
_0x42a5f7: 0x1f1,
|
|
750
|
+
_0x3330: 0xe5
|
|
751
|
+
}, _0x59c219 = {
|
|
752
|
+
_0x2ef705: 0xba,
|
|
753
|
+
_0xeb7af1: 0x229,
|
|
754
|
+
_0x10894e: 0x1f9,
|
|
755
|
+
_0x3b43f8: 0x201,
|
|
756
|
+
_0x4b9117: 0x112,
|
|
757
|
+
_0x5cbe6e: 0xd7,
|
|
758
|
+
_0xb8ff69: 0x1c7,
|
|
759
|
+
_0xe8cb0b: 0xf4,
|
|
760
|
+
_0x5d2ddd: 0xe5
|
|
761
|
+
}, _0x1e3217 = { _0x2b975f: 0x201 }, _0x1c41eb = {
|
|
762
|
+
_0x98c01e: 0x201,
|
|
763
|
+
_0x1b0c3e: 0x112,
|
|
764
|
+
_0x4636e4: 0xf4
|
|
765
|
+
}, _0x1ee795 = {
|
|
766
|
+
_0x38044b: 0xcf,
|
|
767
|
+
_0xf9120b: 0x1e6,
|
|
768
|
+
_0x525d95: 0xf4
|
|
769
|
+
}, _0x1f62fd = {
|
|
770
|
+
_0xa88028: 0xcf,
|
|
771
|
+
_0x4dc32e: 0x112
|
|
772
|
+
}, _0x19ff08 = {
|
|
773
|
+
_0x50c22c: 0x12e,
|
|
774
|
+
_0xebf989: 0x186
|
|
775
|
+
}, _0x4732ae = {
|
|
776
|
+
_0x1bcd45: 0x12e,
|
|
777
|
+
_0x43e7c4: 0xf4,
|
|
778
|
+
_0x5c2126: 0xe5,
|
|
779
|
+
_0x1ea312: 0x152
|
|
780
|
+
}, _0x334940 = { _0x29cba5: 0x168 }, _0x12f6eb = {
|
|
781
|
+
_0x4d193e: 0x112,
|
|
782
|
+
_0x5e874b: 0xf4
|
|
783
|
+
}, _0x1d8d90 = { _0x39cbd8: 0x186 }, _0x1a5601 = {
|
|
784
|
+
_0x96342b: 0x1b9,
|
|
785
|
+
_0x20175a: 0x202,
|
|
786
|
+
_0x4e45ee: 0xcf,
|
|
787
|
+
_0x566a05: 0x112,
|
|
788
|
+
_0x4a85b1: 0x229,
|
|
789
|
+
_0x181916: 0x111,
|
|
790
|
+
_0x428acc: 0xe5
|
|
791
|
+
}, _0xbdddf3 = {
|
|
792
|
+
_0x351cbe: 0x1e1,
|
|
793
|
+
_0x37a14f: 0x1e1,
|
|
794
|
+
_0x37d0bc: 0x16f,
|
|
795
|
+
_0xd0ea38: 0x181,
|
|
796
|
+
_0x5b401e: 0x17a,
|
|
797
|
+
_0x473ba5: 0x232,
|
|
798
|
+
_0x3de3db: 0xcf,
|
|
799
|
+
_0x5ec29d: 0x14f,
|
|
800
|
+
_0x5f5860: 0x186,
|
|
801
|
+
_0x3945d1: 0xf7,
|
|
802
|
+
_0x1660e5: 0x241,
|
|
803
|
+
_0x58a87: 0x208
|
|
804
|
+
}, _0x86e614 = { _0x433040: 0x145 }, _0x1fef53 = {
|
|
805
|
+
_0x33af9d: 0x22e,
|
|
806
|
+
_0x4d52dd: 0x1fe
|
|
807
|
+
}, _0x475d86 = {
|
|
808
|
+
_0x110104: 0x241,
|
|
809
|
+
_0x104bb6: 0x241,
|
|
810
|
+
_0x2ca3c3: 0x128,
|
|
811
|
+
_0x2bc81b: 0x1c1,
|
|
812
|
+
_0x26e801: 0x1e3,
|
|
813
|
+
_0x3583ee: 0x229,
|
|
814
|
+
_0x5ba51d: 0x229
|
|
815
|
+
}, _0x565212 = {
|
|
816
|
+
_0x32b250: 0x1ac,
|
|
817
|
+
_0x57264e: 0x1ac,
|
|
818
|
+
_0x3afbd3: 0x128,
|
|
819
|
+
_0x4e8d8a: 0x229,
|
|
820
|
+
_0x420f5a: 0x241
|
|
821
|
+
}, _0x1ba010 = {
|
|
822
|
+
_0x484a56: 0x1b3,
|
|
823
|
+
_0x4d251b: 0x235
|
|
824
|
+
}, _0x460f5d = {
|
|
825
|
+
_0xa58413: 0x201,
|
|
826
|
+
_0x2eaede: 0x10a,
|
|
827
|
+
_0x365299: 0xe5,
|
|
828
|
+
_0x3f2b0e: 0xe5,
|
|
829
|
+
_0x57ab94: 0x229,
|
|
830
|
+
_0x434c45: 0x1ac
|
|
831
|
+
}, _0x1116b3 = {
|
|
832
|
+
_0x12e2ca: 0xdf,
|
|
833
|
+
_0x49a26b: 0xdc
|
|
834
|
+
}, _0x1c9961 = {
|
|
835
|
+
_0x134a2b: 0x158,
|
|
836
|
+
_0x34cd20: 0x114
|
|
837
|
+
}, _0x1665e5 = {
|
|
838
|
+
_0x3a92b5: 0x228,
|
|
839
|
+
_0x4a7092: 0x228,
|
|
840
|
+
_0x3bb7d2: 0x228,
|
|
841
|
+
_0x5270bc: 0xbb
|
|
842
|
+
}, _0x45358f = {
|
|
843
|
+
_0x53fc06: 0x228,
|
|
844
|
+
_0x492b44: 0x228,
|
|
845
|
+
_0x2d8e52: 0x21b,
|
|
846
|
+
_0x58358c: 0xbb,
|
|
847
|
+
_0x41a709: 0x12e
|
|
848
|
+
}, _0x324c4b = {
|
|
849
|
+
_0x9cd001: 0x1cb,
|
|
850
|
+
_0x4c3d34: 0xd1,
|
|
851
|
+
_0x485492: 0x183,
|
|
852
|
+
_0x5e1e99: 0x171,
|
|
853
|
+
_0x3af37f: 0x20c
|
|
854
|
+
}, _0x4bd8da = {
|
|
855
|
+
_0x6d6384: 0x1f1,
|
|
856
|
+
_0x52486f: 0x14f,
|
|
857
|
+
_0x27b7fd: 0x238
|
|
858
|
+
}, _0x38143e = {
|
|
859
|
+
_0x4c4252: 0x1a2,
|
|
860
|
+
_0x3e924d: 0x161,
|
|
861
|
+
_0x1a84d0: 0xce,
|
|
862
|
+
_0x2e3dc3: 0x238,
|
|
863
|
+
_0x32fb11: 0xc7,
|
|
864
|
+
_0x48d641: 0x1e2
|
|
865
|
+
}, _0x51700c = _0x77ce4b, _0x56c41b = _0x17262b[_0x51700c(_0x4cccbb._0x49999b)] ?? fetch, _0x44146a = _0x17262b[_0x51700c(0xdb)] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x35dec7 = typeof _0x17262b['initialLastSeenSeq'] === _0x51700c(0xbe) && _0x17262b[_0x51700c(_0x4cccbb._0x107fb2)] > 0x0 ? _0x17262b[_0x51700c(_0x4cccbb._0x107fb2)] : 0x0, _0x190988 = _0x17262b[_0x51700c(0x1f4)]?.[_0x51700c(_0x4cccbb._0x6b6218)]() || void 0x0, _0x2dd09a = _0x17262b[_0x51700c(_0x4cccbb._0x485086)]?.[_0x51700c(0x238)]() || void 0x0, _0x5a3c40 = _0x17262b[_0x51700c(0x211)] === !![], _0x4d1720 = _0x17262b[_0x51700c(0x222)]?.[_0x51700c(_0x4cccbb._0x1cedb1)]() || void 0x0, _0x1f9804 = _0x17262b['workerThreadTarget']?.[_0x51700c(_0x4cccbb._0x1cedb1)]() || void 0x0, _0x597408 = createHeaders(_0x17262b[_0x51700c(_0x4cccbb._0x34b6c5)]), _0x558388 = toHttpBaseUrl(_0x17262b[_0x51700c(_0x4cccbb._0x36f012)]);
|
|
866
|
+
let _0x382a40 = null;
|
|
867
|
+
const _0x30575d = new Map();
|
|
868
|
+
let _0xdfb599 = _0x35dec7, _0x443b7c = _0x35dec7;
|
|
869
|
+
function _0x5123c0(_0x390e0c) {
|
|
870
|
+
const _0x4cc795 = _0x51700c, _0x370df0 = _0x390e0c[_0x4cc795(_0x38143e._0x4c4252)][_0x4cc795(0x162)][_0x4cc795(_0x38143e._0x3e924d)]('content-type') ?? 'unknown', _0x2b818c = _0x390e0c[_0x4cc795(_0x38143e._0x1a84d0)][_0x4cc795(_0x38143e._0x2e3dc3)]()[_0x4cc795(_0x38143e._0x32fb11)](/\s+/g, '\x20')[_0x4cc795(0x23d)](0x0, 0x78) || _0x4cc795(_0x38143e._0x48d641);
|
|
871
|
+
return _0x4cc795(0x1d1) + _0x390e0c[_0x4cc795(0x224)] + _0x4cc795(0x16c) + _0x390e0c[_0x4cc795(0x1a2)]['status'] + _0x4cc795(0x107) + _0x370df0 + ',\x20preview=' + _0x2b818c + _0x4cc795(0x1e5);
|
|
893
872
|
}
|
|
894
|
-
async function
|
|
895
|
-
const
|
|
896
|
-
if (!
|
|
873
|
+
async function _0x458481(_0x315432, _0x15a37b) {
|
|
874
|
+
const _0xa62eea = _0x51700c, _0x2c2596 = Buffer[_0xa62eea(_0x4bd8da._0x6d6384)](await _0x15a37b['arrayBuffer']())[_0xa62eea(_0x4bd8da._0x52486f)]('utf8');
|
|
875
|
+
if (!_0x2c2596[_0xa62eea(_0x4bd8da._0x27b7fd)]())
|
|
897
876
|
return {};
|
|
898
877
|
try {
|
|
899
|
-
return JSON[
|
|
878
|
+
return JSON[_0xa62eea(0x192)](_0x2c2596);
|
|
900
879
|
} catch {
|
|
901
|
-
throw new Error(
|
|
902
|
-
'bodyText':
|
|
903
|
-
'requestUrl':
|
|
904
|
-
'response':
|
|
880
|
+
throw new Error(_0x5123c0({
|
|
881
|
+
'bodyText': _0x2c2596,
|
|
882
|
+
'requestUrl': _0x315432,
|
|
883
|
+
'response': _0x15a37b
|
|
905
884
|
}));
|
|
906
885
|
}
|
|
907
886
|
}
|
|
908
|
-
function
|
|
909
|
-
const
|
|
910
|
-
if (
|
|
911
|
-
return
|
|
912
|
-
const
|
|
913
|
-
for (const [
|
|
914
|
-
|
|
887
|
+
function _0x390ff5(_0xdedfbd, _0x21443c) {
|
|
888
|
+
const _0x367d93 = _0x51700c, _0x1d05fa = typeof _0x21443c['idempotency_key'] === _0x367d93(_0x324c4b._0x9cd001) ? _0x21443c[_0x367d93(_0x324c4b._0x4c3d34)]['trim']() : '';
|
|
889
|
+
if (_0x1d05fa)
|
|
890
|
+
return _0x1d05fa;
|
|
891
|
+
const _0x3ea6ec = Date[_0x367d93(0xc8)]();
|
|
892
|
+
for (const [_0x5849df, _0x5c1f4c] of _0x30575d) {
|
|
893
|
+
_0x5c1f4c[_0x367d93(_0x324c4b._0x485492)] <= _0x3ea6ec && _0x30575d[_0x367d93(_0x324c4b._0x5e1e99)](_0x5849df);
|
|
915
894
|
}
|
|
916
|
-
const
|
|
917
|
-
...
|
|
895
|
+
const _0x2586a8 = {
|
|
896
|
+
..._0x21443c,
|
|
918
897
|
'idempotency_key': void 0x0
|
|
919
|
-
},
|
|
920
|
-
if (
|
|
921
|
-
return
|
|
922
|
-
const
|
|
923
|
-
return
|
|
924
|
-
'expiresAt':
|
|
925
|
-
'value':
|
|
926
|
-
}),
|
|
898
|
+
}, _0x223fac = createHash('sha256')[_0x367d93(_0x324c4b._0x3af37f)](_0xdedfbd + ':' + stableStringify(_0x2586a8))['digest'](_0x367d93(0x140)), _0x2b6baa = _0xdedfbd + ':' + _0x223fac, _0x3bad23 = _0x30575d['get'](_0x2b6baa);
|
|
899
|
+
if (_0x3bad23)
|
|
900
|
+
return _0x3bad23[_0x367d93(0xcc)];
|
|
901
|
+
const _0x5f241c = _0x367d93(0xe9) + _0xdedfbd + ':' + randomUUID();
|
|
902
|
+
return _0x30575d[_0x367d93(0x16f)](_0x2b6baa, {
|
|
903
|
+
'expiresAt': _0x3ea6ec + 0x5 * 0x3c * 0x3e8,
|
|
904
|
+
'value': _0x5f241c
|
|
905
|
+
}), _0x5f241c;
|
|
927
906
|
}
|
|
928
|
-
async function
|
|
929
|
-
const
|
|
907
|
+
async function _0x236761(_0x5b0687, _0x606404) {
|
|
908
|
+
const _0x521a31 = _0x51700c, _0x422026 = new AbortController(), _0x1eb447 = setTimeout(() => _0x422026['abort'](), _0x44146a), _0x3c0347 = _0x606404?.[_0x521a31(_0x45358f._0x53fc06)] ? anySignal(_0x606404[_0x521a31(_0x45358f._0x492b44)], _0x422026[_0x521a31(0x228)]) : _0x422026[_0x521a31(_0x45358f._0x53fc06)], _0x197e51 = '' + _0x558388 + _0x5b0687;
|
|
930
909
|
try {
|
|
931
|
-
const
|
|
932
|
-
...
|
|
933
|
-
'signal':
|
|
934
|
-
}),
|
|
935
|
-
if (!
|
|
936
|
-
throw new Error(asErrorMessage(
|
|
937
|
-
return
|
|
910
|
+
const _0x21c541 = await _0x56c41b(_0x197e51, {
|
|
911
|
+
..._0x606404,
|
|
912
|
+
'signal': _0x3c0347
|
|
913
|
+
}), _0x3bf181 = await _0x458481(_0x197e51, _0x21c541);
|
|
914
|
+
if (!_0x21c541['ok'] || _0x3bf181[_0x521a31(_0x45358f._0x2d8e52)] === ![])
|
|
915
|
+
throw new Error(asErrorMessage(_0x3bf181['error'], _0x521a31(_0x45358f._0x58358c) + _0x21c541[_0x521a31(_0x45358f._0x41a709)]));
|
|
916
|
+
return _0x3bf181;
|
|
938
917
|
} finally {
|
|
939
|
-
clearTimeout(
|
|
918
|
+
clearTimeout(_0x1eb447);
|
|
940
919
|
}
|
|
941
920
|
}
|
|
942
|
-
async function
|
|
943
|
-
const
|
|
921
|
+
async function _0x4e5101(_0xe41b8b, _0x13fb25) {
|
|
922
|
+
const _0x42c733 = _0x51700c, _0x1cb598 = new AbortController(), _0xa21c8e = setTimeout(() => _0x1cb598[_0x42c733(0x1be)](), _0x44146a), _0x4b50ce = _0x13fb25?.[_0x42c733(_0x1665e5._0x3a92b5)] ? anySignal(_0x13fb25[_0x42c733(_0x1665e5._0x4a7092)], _0x1cb598[_0x42c733(_0x1665e5._0x3bb7d2)]) : _0x1cb598[_0x42c733(0x228)], _0x5b5143 = '' + _0x558388 + _0xe41b8b;
|
|
944
923
|
try {
|
|
945
|
-
const
|
|
946
|
-
...
|
|
947
|
-
'signal':
|
|
948
|
-
}),
|
|
949
|
-
if (!
|
|
950
|
-
throw new Error(asErrorMessage(
|
|
951
|
-
return
|
|
924
|
+
const _0x4e68cd = await _0x56c41b(_0x5b5143, {
|
|
925
|
+
..._0x13fb25,
|
|
926
|
+
'signal': _0x4b50ce
|
|
927
|
+
}), _0x1472c0 = await _0x458481(_0x5b5143, _0x4e68cd);
|
|
928
|
+
if (!_0x4e68cd['ok'])
|
|
929
|
+
throw new Error(asErrorMessage(_0x1472c0[_0x42c733(0x14d)], _0x42c733(_0x1665e5._0x5270bc) + _0x4e68cd['status']));
|
|
930
|
+
return _0x1472c0;
|
|
952
931
|
} finally {
|
|
953
|
-
clearTimeout(
|
|
932
|
+
clearTimeout(_0xa21c8e);
|
|
954
933
|
}
|
|
955
934
|
}
|
|
956
|
-
async function
|
|
957
|
-
const
|
|
958
|
-
if (!
|
|
935
|
+
async function _0x455686(_0x1a0120) {
|
|
936
|
+
const _0xb79838 = _0x51700c;
|
|
937
|
+
if (!_0x2dd09a || _0x1a0120 <= _0x443b7c)
|
|
959
938
|
return;
|
|
960
|
-
await
|
|
961
|
-
'body': JSON[
|
|
962
|
-
'headers':
|
|
939
|
+
await _0x236761(_0xb79838(_0x1c9961._0x134a2b) + encodeURIComponent(_0x2dd09a) + _0xb79838(_0x1c9961._0x34cd20), {
|
|
940
|
+
'body': JSON[_0xb79838(0x112)]({ 'lastSeenSeq': _0x1a0120 }),
|
|
941
|
+
'headers': _0x597408,
|
|
963
942
|
'method': 'PATCH'
|
|
964
|
-
}),
|
|
943
|
+
}), _0x443b7c = _0x1a0120;
|
|
965
944
|
}
|
|
966
|
-
async function
|
|
967
|
-
const
|
|
968
|
-
if (!
|
|
945
|
+
async function _0x61fc0e(_0x44bebc) {
|
|
946
|
+
const _0x486af4 = _0x51700c;
|
|
947
|
+
if (!_0x190988 || !_0x4d1720 || _0x44bebc <= _0x443b7c)
|
|
969
948
|
return;
|
|
970
|
-
const
|
|
971
|
-
'body': JSON[
|
|
972
|
-
'last_seen_seq':
|
|
973
|
-
'worker_session_id':
|
|
949
|
+
const _0x31f820 = await _0x56c41b(_0x190988 + _0x486af4(_0x1116b3._0x12e2ca), {
|
|
950
|
+
'body': JSON[_0x486af4(0x112)]({
|
|
951
|
+
'last_seen_seq': _0x44bebc,
|
|
952
|
+
'worker_session_id': _0x4d1720
|
|
974
953
|
}),
|
|
975
|
-
'headers': { 'Content-Type':
|
|
976
|
-
'method':
|
|
954
|
+
'headers': { 'Content-Type': _0x486af4(_0x1116b3._0x49a26b) },
|
|
955
|
+
'method': 'POST'
|
|
977
956
|
});
|
|
978
|
-
if (!
|
|
979
|
-
throw new Error(
|
|
980
|
-
|
|
957
|
+
if (!_0x31f820['ok'])
|
|
958
|
+
throw new Error(_0x486af4(0xbb) + _0x31f820['status']);
|
|
959
|
+
_0x443b7c = _0x44bebc;
|
|
981
960
|
}
|
|
982
|
-
async function
|
|
983
|
-
const
|
|
984
|
-
'body': JSON[
|
|
985
|
-
'headers':
|
|
961
|
+
async function _0x5322c7(_0x28b5fd) {
|
|
962
|
+
const _0x198d3 = _0x51700c, _0x1102fa = parseTarget(_0x28b5fd), _0x757c5 = await _0x236761('/internal/agent/' + _0x17262b[_0x198d3(_0x460f5d._0xa58413)] + _0x198d3(_0x460f5d._0x2eaede), {
|
|
963
|
+
'body': JSON['stringify']({ 'target': _0x1102fa[_0x198d3(0x1b9)] }),
|
|
964
|
+
'headers': _0x597408,
|
|
986
965
|
'method': 'POST'
|
|
987
966
|
});
|
|
988
967
|
return {
|
|
989
|
-
'channelId':
|
|
990
|
-
'target':
|
|
991
|
-
'task':
|
|
992
|
-
'threadId':
|
|
993
|
-
'threadNumber':
|
|
968
|
+
'channelId': _0x757c5['data']?.[_0x198d3(0x181)] ?? '',
|
|
969
|
+
'target': _0x1102fa['channelTarget'],
|
|
970
|
+
'task': _0x757c5[_0x198d3(_0x460f5d._0x365299)]?.['task'],
|
|
971
|
+
'threadId': _0x757c5[_0x198d3(_0x460f5d._0x3f2b0e)]?.[_0x198d3(_0x460f5d._0x57ab94)],
|
|
972
|
+
'threadNumber': _0x757c5[_0x198d3(0xe5)]?.[_0x198d3(_0x460f5d._0x434c45)]
|
|
994
973
|
};
|
|
995
974
|
}
|
|
996
|
-
async function
|
|
997
|
-
const
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
'
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
'
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
'
|
|
1016
|
-
|
|
1017
|
-
}))['filter'](_0x890eeb => _0x890eeb['id']), _0x31ed56 = _0x38ba2a['data']?.[_0x1d1930(0x27a)]['id'] ?? '';
|
|
975
|
+
async function _0x3307fb(_0x3a5314 = {}) {
|
|
976
|
+
const _0x7b5865 = {
|
|
977
|
+
_0x46b924: 0x186,
|
|
978
|
+
_0x2a225e: 0x1bd,
|
|
979
|
+
_0x5b2f17: 0x1bd,
|
|
980
|
+
_0x3e3ad6: 0x200,
|
|
981
|
+
_0x4a3269: 0x200
|
|
982
|
+
};
|
|
983
|
+
if (!_0x3a5314['forceRefresh'] && _0x382a40)
|
|
984
|
+
return _0x382a40;
|
|
985
|
+
return _0x382a40 = (async () => {
|
|
986
|
+
const _0x392985 = _0x4210, _0x3f40f0 = await _0x236761(_0x392985(0xcf) + _0x17262b['agentId'] + _0x392985(0x1b6), {
|
|
987
|
+
'headers': _0x597408,
|
|
988
|
+
'method': _0x392985(_0x7b5865._0x46b924)
|
|
989
|
+
}), _0x33cd32 = _0x3f40f0[_0x392985(0xe5)]?.[_0x392985(0x23a)] ?? [], _0x7a425d = _0x33cd32['filter'](_0x2f6a70 => _0x2f6a70['participant']?.[_0x392985(0x197)] === _0x392985(0x1c0))['map'](_0x2f3b8e => ({
|
|
990
|
+
'id': _0x5bbe81(_0x2f3b8e),
|
|
991
|
+
'name': _0x3b4522(_0x2f3b8e)
|
|
992
|
+
}))[_0x392985(_0x7b5865._0x2a225e)](_0x4e5480 => _0x4e5480['id']), _0x31536d = _0x33cd32[_0x392985(_0x7b5865._0x5b2f17)](_0x5497cf => _0x5497cf['participant']?.[_0x392985(0x197)] !== _0x392985(0x1c0))[_0x392985(0xf7)](_0x52feda => ({
|
|
993
|
+
'id': _0x5bbe81(_0x52feda),
|
|
994
|
+
'name': _0x3b4522(_0x52feda)
|
|
995
|
+
}))[_0x392985(0x1bd)](_0x17892b => _0x17892b['id']), _0x4c5acc = _0x3f40f0[_0x392985(0xe5)]?.[_0x392985(_0x7b5865._0x3e3ad6)]['id'] ?? '';
|
|
1018
996
|
return {
|
|
1019
|
-
'agents':
|
|
1020
|
-
'channels':
|
|
1021
|
-
'humans':
|
|
1022
|
-
'serverId':
|
|
1023
|
-
'serverName':
|
|
997
|
+
'agents': _0x7a425d,
|
|
998
|
+
'channels': _0x3f40f0[_0x392985(0xe5)]?.['channels'] ?? [],
|
|
999
|
+
'humans': _0x31536d,
|
|
1000
|
+
'serverId': _0x4c5acc,
|
|
1001
|
+
'serverName': _0x3f40f0['data']?.[_0x392985(_0x7b5865._0x4a3269)][_0x392985(0x145)] ?? _0x4c5acc
|
|
1024
1002
|
};
|
|
1025
|
-
})()[
|
|
1026
|
-
|
|
1027
|
-
throw
|
|
1028
|
-
}),
|
|
1003
|
+
})()['catch'](_0x592546 => {
|
|
1004
|
+
_0x382a40 = null;
|
|
1005
|
+
throw _0x592546;
|
|
1006
|
+
}), _0x382a40;
|
|
1029
1007
|
}
|
|
1030
|
-
function
|
|
1031
|
-
const
|
|
1032
|
-
return
|
|
1008
|
+
function _0x4c91ee(_0x586cf4, _0x3b5010) {
|
|
1009
|
+
const _0x486681 = _0x51700c;
|
|
1010
|
+
return _0x3b5010[_0x486681(_0x1ba010._0x484a56)][_0x486681(0x176)](_0x4753c7 => _0x4753c7['id'] === _0x586cf4 || _0x4753c7[_0x486681(0x145)] === _0x586cf4) ? 'agent' : _0x486681(_0x1ba010._0x4d251b);
|
|
1033
1011
|
}
|
|
1034
|
-
function
|
|
1035
|
-
const
|
|
1036
|
-
if (
|
|
1037
|
-
return
|
|
1038
|
-
if (
|
|
1039
|
-
return
|
|
1040
|
-
if (
|
|
1041
|
-
return
|
|
1042
|
-
return
|
|
1012
|
+
function _0x2e978f(_0x52b938) {
|
|
1013
|
+
const _0x1c3d58 = _0x51700c;
|
|
1014
|
+
if (_0x52b938[_0x1c3d58(_0x565212._0x32b250)] != null)
|
|
1015
|
+
return _0x52b938[_0x1c3d58(0x241)] + ':t' + _0x52b938[_0x1c3d58(_0x565212._0x57264e)];
|
|
1016
|
+
if (_0x52b938[_0x1c3d58(0x128)])
|
|
1017
|
+
return _0x52b938[_0x1c3d58(0x241)] + ':' + _0x52b938[_0x1c3d58(_0x565212._0x3afbd3)];
|
|
1018
|
+
if (_0x52b938[_0x1c3d58(_0x565212._0x4e8d8a)])
|
|
1019
|
+
return _0x52b938['channelTarget'] + ':' + _0x52b938[_0x1c3d58(_0x565212._0x4e8d8a)][_0x1c3d58(0x23d)](0x0, 0x8);
|
|
1020
|
+
return _0x52b938[_0x1c3d58(_0x565212._0x420f5a)];
|
|
1043
1021
|
}
|
|
1044
|
-
function
|
|
1045
|
-
const
|
|
1022
|
+
function _0x4d7892(_0x2552e3, _0x1fa855) {
|
|
1023
|
+
const _0x3de046 = _0x51700c;
|
|
1046
1024
|
try {
|
|
1047
|
-
const
|
|
1048
|
-
if (
|
|
1025
|
+
const _0x5c2974 = parseTarget(_0x2552e3);
|
|
1026
|
+
if (_0x5c2974[_0x3de046(0x15f)] !== _0x3de046(0x17c) || _0x5c2974[_0x3de046(_0x475d86._0x110104)] !== _0x1fa855[_0x3de046(_0x475d86._0x104bb6)])
|
|
1049
1027
|
return ![];
|
|
1050
|
-
if (
|
|
1028
|
+
if (_0x1fa855[_0x3de046(0x1ac)] != null && _0x5c2974[_0x3de046(0x1e3)] === 't' + _0x1fa855[_0x3de046(0x1ac)])
|
|
1051
1029
|
return !![];
|
|
1052
|
-
if (
|
|
1053
|
-
return
|
|
1054
|
-
if (
|
|
1055
|
-
return
|
|
1030
|
+
if (_0x1fa855[_0x3de046(0x128)])
|
|
1031
|
+
return _0x5c2974['threadShortId'] === _0x1fa855[_0x3de046(_0x475d86._0x2ca3c3)] || _0x1fa855[_0x3de046(0x128)][_0x3de046(_0x475d86._0x2bc81b)](_0x5c2974[_0x3de046(_0x475d86._0x26e801)]);
|
|
1032
|
+
if (_0x1fa855[_0x3de046(_0x475d86._0x3583ee)])
|
|
1033
|
+
return _0x5c2974[_0x3de046(0x1e3)] === _0x1fa855[_0x3de046(_0x475d86._0x5ba51d)] || _0x1fa855[_0x3de046(0x229)][_0x3de046(0x1c1)](_0x5c2974['threadShortId']);
|
|
1056
1034
|
return ![];
|
|
1057
1035
|
} catch {
|
|
1058
1036
|
return ![];
|
|
1059
1037
|
}
|
|
1060
1038
|
}
|
|
1061
|
-
function
|
|
1062
|
-
const
|
|
1063
|
-
return
|
|
1039
|
+
function _0x5bbe81(_0x40941a) {
|
|
1040
|
+
const _0x20927d = _0x51700c;
|
|
1041
|
+
return _0x40941a[_0x20927d(_0x1fef53._0x33af9d)]?.['participantId'] ?? _0x40941a[_0x20927d(0x15c)]?.['id'] ?? _0x40941a[_0x20927d(_0x1fef53._0x4d52dd)] ?? '';
|
|
1064
1042
|
}
|
|
1065
|
-
function
|
|
1066
|
-
const
|
|
1067
|
-
return
|
|
1043
|
+
function _0x3b4522(_0x368670) {
|
|
1044
|
+
const _0x3974be = _0x51700c;
|
|
1045
|
+
return _0x368670[_0x3974be(0x15c)]?.[_0x3974be(_0x86e614._0x433040)] ?? _0x5bbe81(_0x368670);
|
|
1068
1046
|
}
|
|
1069
|
-
async function
|
|
1070
|
-
const
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
const
|
|
1076
|
-
'headers':
|
|
1077
|
-
'method':
|
|
1078
|
-
}),
|
|
1079
|
-
'attachments': (
|
|
1080
|
-
'filename':
|
|
1081
|
-
'id':
|
|
1047
|
+
async function _0x3af4b2(_0x401cdb) {
|
|
1048
|
+
const _0x322ed3 = _0x51700c, _0x1a5d1f = Math['min'](_0x401cdb[_0x322ed3(_0xbdddf3._0x351cbe)] ?? 0x32, 0x64), _0x474d75 = await _0x3307fb(), _0x5bbea2 = new URLSearchParams();
|
|
1049
|
+
_0x5bbea2[_0x322ed3(0x16f)](_0x322ed3(_0xbdddf3._0x37a14f), String(_0x1a5d1f));
|
|
1050
|
+
_0x401cdb[_0x322ed3(0x229)] ? (_0x5bbea2[_0x322ed3(_0xbdddf3._0x37d0bc)](_0x322ed3(0x229), _0x401cdb[_0x322ed3(0x229)]), _0x5bbea2[_0x322ed3(0x16f)]('channelId', _0x401cdb[_0x322ed3(0x181)])) : _0x5bbea2['set'](_0x322ed3(_0xbdddf3._0xd0ea38), _0x401cdb[_0x322ed3(_0xbdddf3._0xd0ea38)]);
|
|
1051
|
+
_0x401cdb[_0x322ed3(_0xbdddf3._0x5b401e)] && _0x5bbea2[_0x322ed3(_0xbdddf3._0x37d0bc)](_0x322ed3(0x101), String(_0x401cdb['before']));
|
|
1052
|
+
_0x401cdb[_0x322ed3(0x232)] !== void 0x0 && _0x5bbea2['set'](_0x322ed3(_0xbdddf3._0x473ba5), String(_0x401cdb[_0x322ed3(_0xbdddf3._0x473ba5)]));
|
|
1053
|
+
const _0x21c61f = await _0x236761(_0x322ed3(_0xbdddf3._0x3de3db) + _0x17262b[_0x322ed3(0x201)] + _0x322ed3(0x1ad) + _0x5bbea2[_0x322ed3(_0xbdddf3._0x5ec29d)](), {
|
|
1054
|
+
'headers': _0x597408,
|
|
1055
|
+
'method': _0x322ed3(_0xbdddf3._0x5f5860)
|
|
1056
|
+
}), _0x4e5cfe = (_0x21c61f[_0x322ed3(0xe5)] ?? [])[_0x322ed3(_0xbdddf3._0x3945d1)](_0x91d02c => ({
|
|
1057
|
+
'attachments': (_0x91d02c['attachments'] ?? [])[_0x322ed3(0xf7)](_0x360864 => ({
|
|
1058
|
+
'filename': _0x360864[_0x322ed3(0xc3)] ?? _0x360864['id'],
|
|
1059
|
+
'id': _0x360864['id']
|
|
1082
1060
|
})),
|
|
1083
|
-
'content':
|
|
1084
|
-
'createdAt':
|
|
1085
|
-
...
|
|
1086
|
-
'messageId':
|
|
1087
|
-
'senderName':
|
|
1088
|
-
'senderType':
|
|
1089
|
-
'seq':
|
|
1061
|
+
'content': _0x91d02c[_0x322ed3(0x11b)] ?? '',
|
|
1062
|
+
'createdAt': _0x91d02c[_0x322ed3(0x190)],
|
|
1063
|
+
..._0x91d02c['kind'] && _0x91d02c['kind'] !== _0x322ed3(0x151) ? { 'kind': _0x91d02c[_0x322ed3(0x15f)] } : {},
|
|
1064
|
+
'messageId': _0x91d02c['id'],
|
|
1065
|
+
'senderName': _0x91d02c['senderParticipantId'],
|
|
1066
|
+
'senderType': _0x4c91ee(_0x91d02c[_0x322ed3(0x18e)], _0x474d75),
|
|
1067
|
+
'seq': _0x91d02c['eventSeq'] ?? 0x0
|
|
1090
1068
|
}));
|
|
1091
1069
|
return {
|
|
1092
|
-
'channel':
|
|
1093
|
-
'hasMore':
|
|
1094
|
-
'messages':
|
|
1095
|
-
'nextCursor':
|
|
1070
|
+
'channel': _0x401cdb[_0x322ed3(_0xbdddf3._0x1660e5)],
|
|
1071
|
+
'hasMore': _0x21c61f[_0x322ed3(0x23e)]?.[_0x322ed3(_0xbdddf3._0x58a87)] ?? ![],
|
|
1072
|
+
'messages': _0x4e5cfe,
|
|
1073
|
+
'nextCursor': _0x21c61f[_0x322ed3(0x23e)]?.[_0x322ed3(0x101)]
|
|
1096
1074
|
};
|
|
1097
1075
|
}
|
|
1098
1076
|
return {
|
|
1099
|
-
async 'sendMessage'(
|
|
1100
|
-
const
|
|
1101
|
-
'body': JSON[
|
|
1102
|
-
'attachment_ids':
|
|
1103
|
-
'bodyMarkdown':
|
|
1104
|
-
'channelId':
|
|
1105
|
-
...
|
|
1106
|
-
'threadId':
|
|
1107
|
-
...
|
|
1077
|
+
async 'sendMessage'(_0x50cfb7) {
|
|
1078
|
+
const _0x37a5a9 = _0x51700c, _0x257706 = await _0x5322c7(_0x50cfb7[_0x37a5a9(_0x1a5601._0x96342b)]), _0x5ae3c9 = _0x50cfb7[_0x37a5a9(0x202)][_0x37a5a9(0x1fb)]('@') ? extractMentionedParticipantIds(_0x50cfb7[_0x37a5a9(_0x1a5601._0x20175a)], await _0x3307fb()) : [], _0x3e6d41 = await _0x236761(_0x37a5a9(_0x1a5601._0x4e45ee) + _0x17262b[_0x37a5a9(0x201)] + '/send', {
|
|
1079
|
+
'body': JSON[_0x37a5a9(_0x1a5601._0x566a05)]({
|
|
1080
|
+
'attachment_ids': _0x50cfb7['attachmentIds'],
|
|
1081
|
+
'bodyMarkdown': _0x50cfb7['content'],
|
|
1082
|
+
'channelId': _0x257706[_0x37a5a9(0x181)],
|
|
1083
|
+
..._0x5ae3c9[_0x37a5a9(0x146)] > 0x0 ? { 'mentionedParticipantIds': _0x5ae3c9 } : {},
|
|
1084
|
+
'threadId': _0x257706[_0x37a5a9(_0x1a5601._0x4a85b1)],
|
|
1085
|
+
..._0x50cfb7['visibility'] ? { 'visibility': _0x50cfb7[_0x37a5a9(_0x1a5601._0x181916)] } : {}
|
|
1108
1086
|
}),
|
|
1109
|
-
'headers':
|
|
1110
|
-
'method':
|
|
1087
|
+
'headers': _0x597408,
|
|
1088
|
+
'method': _0x37a5a9(0xf4)
|
|
1111
1089
|
});
|
|
1112
|
-
return { 'messageId':
|
|
1090
|
+
return { 'messageId': _0x3e6d41[_0x37a5a9(_0x1a5601._0x428acc)]?.['id'] ?? '' };
|
|
1113
1091
|
},
|
|
1114
1092
|
async 'listSchedules'() {
|
|
1115
|
-
const
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
return
|
|
1093
|
+
const _0x168381 = _0x51700c, _0x844dbb = await _0x236761(_0x168381(0x1e0), {
|
|
1094
|
+
'headers': _0x597408,
|
|
1095
|
+
'method': _0x168381(_0x1d8d90._0x39cbd8)
|
|
1096
|
+
});
|
|
1097
|
+
return _0x844dbb[_0x168381(0xe5)] ?? [];
|
|
1120
1098
|
},
|
|
1121
|
-
async 'claimScheduleRun'(
|
|
1122
|
-
const
|
|
1123
|
-
'body': JSON[
|
|
1124
|
-
'headers':
|
|
1125
|
-
'method':
|
|
1099
|
+
async 'claimScheduleRun'(_0xa17036) {
|
|
1100
|
+
const _0x35ae17 = _0x51700c, _0x3be6b5 = await _0x236761('/api/internal/schedules/claim', {
|
|
1101
|
+
'body': JSON[_0x35ae17(_0x12f6eb._0x4d193e)](_0xa17036),
|
|
1102
|
+
'headers': _0x597408,
|
|
1103
|
+
'method': _0x35ae17(_0x12f6eb._0x5e874b)
|
|
1126
1104
|
});
|
|
1127
|
-
return
|
|
1105
|
+
return _0x3be6b5['data'] ?? {
|
|
1128
1106
|
'granted': ![],
|
|
1129
1107
|
'runId': null,
|
|
1130
1108
|
'schedule': null,
|
|
1131
|
-
'scheduledFor':
|
|
1109
|
+
'scheduledFor': _0xa17036[_0x35ae17(0x19f)]
|
|
1132
1110
|
};
|
|
1133
1111
|
},
|
|
1134
|
-
async 'startScheduleRun'(
|
|
1135
|
-
const
|
|
1136
|
-
'body': JSON[
|
|
1137
|
-
'headers':
|
|
1138
|
-
'method':
|
|
1112
|
+
async 'startScheduleRun'(_0x5cb60a) {
|
|
1113
|
+
const _0x5b76db = _0x51700c, _0x38c95d = await _0x236761(_0x5b76db(0x1b0) + encodeURIComponent(_0x5cb60a[_0x5b76db(0x152)]) + _0x5b76db(0x154), {
|
|
1114
|
+
'body': JSON[_0x5b76db(0x112)]({}),
|
|
1115
|
+
'headers': _0x597408,
|
|
1116
|
+
'method': _0x5b76db(0xf4)
|
|
1139
1117
|
});
|
|
1140
|
-
return
|
|
1118
|
+
return _0x38c95d['data'] ?? {
|
|
1141
1119
|
'claimedByDaemonId': '',
|
|
1142
|
-
'id':
|
|
1120
|
+
'id': _0x5cb60a['runId'],
|
|
1143
1121
|
'scheduleId': '',
|
|
1144
|
-
'status':
|
|
1122
|
+
'status': _0x5b76db(_0x334940._0x29cba5)
|
|
1145
1123
|
};
|
|
1146
1124
|
},
|
|
1147
|
-
async 'finishScheduleRun'(
|
|
1148
|
-
const
|
|
1149
|
-
'body': JSON[
|
|
1150
|
-
'error':
|
|
1151
|
-
'resultJson':
|
|
1152
|
-
'status':
|
|
1125
|
+
async 'finishScheduleRun'(_0x57b832) {
|
|
1126
|
+
const _0x226397 = _0x51700c, _0x43d825 = await _0x236761('/api/internal/schedules/' + encodeURIComponent(_0x57b832[_0x226397(0x152)]) + '/finish', {
|
|
1127
|
+
'body': JSON['stringify']({
|
|
1128
|
+
'error': _0x57b832[_0x226397(0x14d)],
|
|
1129
|
+
'resultJson': _0x57b832['resultJson'],
|
|
1130
|
+
'status': _0x57b832[_0x226397(_0x4732ae._0x1bcd45)]
|
|
1153
1131
|
}),
|
|
1154
|
-
'headers':
|
|
1155
|
-
'method':
|
|
1132
|
+
'headers': _0x597408,
|
|
1133
|
+
'method': _0x226397(_0x4732ae._0x43e7c4)
|
|
1156
1134
|
});
|
|
1157
|
-
return
|
|
1135
|
+
return _0x43d825[_0x226397(_0x4732ae._0x5c2126)] ?? {
|
|
1158
1136
|
'nextRunAt': null,
|
|
1159
1137
|
'run': {
|
|
1160
1138
|
'claimedByDaemonId': '',
|
|
1161
|
-
'id':
|
|
1139
|
+
'id': _0x57b832[_0x226397(_0x4732ae._0x1ea312)],
|
|
1162
1140
|
'scheduleId': '',
|
|
1163
|
-
'status':
|
|
1141
|
+
'status': _0x57b832[_0x226397(0x12e)]
|
|
1164
1142
|
}
|
|
1165
1143
|
};
|
|
1166
1144
|
},
|
|
1167
|
-
async 'listTasks'(
|
|
1168
|
-
const
|
|
1169
|
-
return
|
|
1170
|
-
'headers':
|
|
1171
|
-
'method':
|
|
1145
|
+
async 'listTasks'(_0x1a25c4) {
|
|
1146
|
+
const _0x2e0dd4 = _0x51700c, _0x31f29f = new URLSearchParams();
|
|
1147
|
+
return _0x31f29f['set'](_0x2e0dd4(0xba), _0x1a25c4['channel']), _0x1a25c4[_0x2e0dd4(_0x19ff08._0x50c22c)] && _0x31f29f[_0x2e0dd4(0x16f)](_0x2e0dd4(0x12e), _0x1a25c4[_0x2e0dd4(_0x19ff08._0x50c22c)]), _0x4e5101('/internal/agent/' + _0x17262b['agentId'] + _0x2e0dd4(0x175) + _0x31f29f['toString'](), {
|
|
1148
|
+
'headers': _0x597408,
|
|
1149
|
+
'method': _0x2e0dd4(_0x19ff08._0xebf989)
|
|
1172
1150
|
});
|
|
1173
1151
|
},
|
|
1174
|
-
async 'createTasks'(
|
|
1175
|
-
const
|
|
1176
|
-
return
|
|
1177
|
-
'body': JSON[
|
|
1178
|
-
...
|
|
1179
|
-
'idempotency_key':
|
|
1152
|
+
async 'createTasks'(_0x36209d) {
|
|
1153
|
+
const _0x61776e = _0x51700c;
|
|
1154
|
+
return _0x4e5101(_0x61776e(_0x1f62fd._0xa88028) + _0x17262b[_0x61776e(0x201)] + '/tasks', {
|
|
1155
|
+
'body': JSON[_0x61776e(_0x1f62fd._0x4dc32e)]({
|
|
1156
|
+
..._0x36209d,
|
|
1157
|
+
'idempotency_key': _0x390ff5(_0x61776e(0x163), _0x36209d)
|
|
1180
1158
|
}),
|
|
1181
|
-
'headers':
|
|
1182
|
-
'method':
|
|
1159
|
+
'headers': _0x597408,
|
|
1160
|
+
'method': 'POST'
|
|
1183
1161
|
});
|
|
1184
1162
|
},
|
|
1185
|
-
async 'claimTasks'(
|
|
1186
|
-
const
|
|
1187
|
-
return
|
|
1188
|
-
'body': JSON[
|
|
1189
|
-
...
|
|
1190
|
-
'idempotency_key':
|
|
1163
|
+
async 'claimTasks'(_0x4944a5) {
|
|
1164
|
+
const _0x2b59a6 = _0x51700c;
|
|
1165
|
+
return _0x4e5101(_0x2b59a6(_0x1ee795._0x38044b) + _0x17262b[_0x2b59a6(0x201)] + _0x2b59a6(_0x1ee795._0xf9120b), {
|
|
1166
|
+
'body': JSON['stringify']({
|
|
1167
|
+
..._0x4944a5,
|
|
1168
|
+
'idempotency_key': _0x390ff5(_0x2b59a6(0x21c), _0x4944a5)
|
|
1191
1169
|
}),
|
|
1192
|
-
'headers':
|
|
1193
|
-
'method':
|
|
1170
|
+
'headers': _0x597408,
|
|
1171
|
+
'method': _0x2b59a6(_0x1ee795._0x525d95)
|
|
1194
1172
|
});
|
|
1195
1173
|
},
|
|
1196
|
-
async 'unclaimTask'(
|
|
1197
|
-
const
|
|
1198
|
-
return
|
|
1199
|
-
'body': JSON[
|
|
1200
|
-
...
|
|
1201
|
-
'idempotency_key':
|
|
1174
|
+
async 'unclaimTask'(_0x40fe53) {
|
|
1175
|
+
const _0x3b9459 = _0x51700c;
|
|
1176
|
+
return _0x4e5101(_0x3b9459(0xcf) + _0x17262b[_0x3b9459(_0x1c41eb._0x98c01e)] + _0x3b9459(0x10b), {
|
|
1177
|
+
'body': JSON[_0x3b9459(_0x1c41eb._0x1b0c3e)]({
|
|
1178
|
+
..._0x40fe53,
|
|
1179
|
+
'idempotency_key': _0x390ff5(_0x3b9459(0x148), _0x40fe53)
|
|
1202
1180
|
}),
|
|
1203
|
-
'headers':
|
|
1204
|
-
'method':
|
|
1181
|
+
'headers': _0x597408,
|
|
1182
|
+
'method': _0x3b9459(_0x1c41eb._0x4636e4)
|
|
1205
1183
|
});
|
|
1206
1184
|
},
|
|
1207
|
-
async 'updateTaskStatus'(
|
|
1208
|
-
const
|
|
1209
|
-
return
|
|
1210
|
-
'body': JSON[
|
|
1211
|
-
...
|
|
1212
|
-
'idempotency_key':
|
|
1185
|
+
async 'updateTaskStatus'(_0x133ef4) {
|
|
1186
|
+
const _0x25b0e3 = _0x51700c;
|
|
1187
|
+
return _0x4e5101(_0x25b0e3(0xcf) + _0x17262b[_0x25b0e3(_0x1e3217._0x2b975f)] + _0x25b0e3(0x132), {
|
|
1188
|
+
'body': JSON[_0x25b0e3(0x112)]({
|
|
1189
|
+
..._0x133ef4,
|
|
1190
|
+
'idempotency_key': _0x390ff5(_0x25b0e3(0x1d4), _0x133ef4)
|
|
1213
1191
|
}),
|
|
1214
|
-
'headers':
|
|
1215
|
-
'method':
|
|
1192
|
+
'headers': _0x597408,
|
|
1193
|
+
'method': _0x25b0e3(0xf4)
|
|
1216
1194
|
});
|
|
1217
1195
|
},
|
|
1218
|
-
async 'uploadFile'(
|
|
1219
|
-
const
|
|
1220
|
-
if (
|
|
1221
|
-
throw new Error(
|
|
1222
|
-
const
|
|
1223
|
-
'body': JSON[
|
|
1224
|
-
'channel':
|
|
1225
|
-
'contentBase64':
|
|
1226
|
-
'contentType':
|
|
1227
|
-
'originalFilename':
|
|
1196
|
+
async 'uploadFile'(_0x52122c) {
|
|
1197
|
+
const _0x5bede0 = _0x51700c, _0x3c4059 = await _0x5322c7(_0x52122c[_0x5bede0(_0x59c219._0x2ef705)]);
|
|
1198
|
+
if (_0x3c4059[_0x5bede0(_0x59c219._0xeb7af1)])
|
|
1199
|
+
throw new Error(_0x5bede0(_0x59c219._0x10894e));
|
|
1200
|
+
const _0x410a4f = await _0x236761(_0x5bede0(0xcf) + _0x17262b[_0x5bede0(_0x59c219._0x3b43f8)] + _0x5bede0(0x1b7), {
|
|
1201
|
+
'body': JSON[_0x5bede0(_0x59c219._0x4b9117)]({
|
|
1202
|
+
'channel': _0x3c4059['target'],
|
|
1203
|
+
'contentBase64': _0x52122c[_0x5bede0(_0x59c219._0x5cbe6e)],
|
|
1204
|
+
'contentType': _0x52122c[_0x5bede0(_0x59c219._0xb8ff69)],
|
|
1205
|
+
'originalFilename': _0x52122c['filename']
|
|
1228
1206
|
}),
|
|
1229
|
-
'headers':
|
|
1230
|
-
'method':
|
|
1207
|
+
'headers': _0x597408,
|
|
1208
|
+
'method': _0x5bede0(_0x59c219._0xe8cb0b)
|
|
1231
1209
|
});
|
|
1232
1210
|
return {
|
|
1233
|
-
'attachmentId':
|
|
1234
|
-
'filename':
|
|
1235
|
-
'sizeBytes':
|
|
1211
|
+
'attachmentId': _0x410a4f[_0x5bede0(_0x59c219._0x5d2ddd)]?.['id'] ?? '',
|
|
1212
|
+
'filename': _0x410a4f['data']?.[_0x5bede0(0x18c)] ?? _0x52122c[_0x5bede0(0xc3)],
|
|
1213
|
+
'sizeBytes': _0x410a4f[_0x5bede0(_0x59c219._0x5d2ddd)]?.[_0x5bede0(0x125)] ?? 0x0
|
|
1236
1214
|
};
|
|
1237
1215
|
},
|
|
1238
|
-
async 'downloadAttachment'(
|
|
1239
|
-
const
|
|
1240
|
-
'headers':
|
|
1241
|
-
'method':
|
|
1242
|
-
}),
|
|
1216
|
+
async 'downloadAttachment'(_0x15e0f4) {
|
|
1217
|
+
const _0xa82a43 = _0x51700c, _0x4a9e80 = await _0x236761(_0xa82a43(_0x79709b._0xec87a1) + _0x15e0f4, {
|
|
1218
|
+
'headers': _0x597408,
|
|
1219
|
+
'method': _0xa82a43(0x186)
|
|
1220
|
+
}), _0x18636f = new AbortController(), _0x48e02e = setTimeout(() => _0x18636f[_0xa82a43(0x1be)](), _0x44146a);
|
|
1243
1221
|
try {
|
|
1244
|
-
const
|
|
1245
|
-
'headers':
|
|
1246
|
-
'method':
|
|
1247
|
-
'signal':
|
|
1222
|
+
const _0x59421a = await _0x56c41b(_0x558388 + _0xa82a43(0x179) + _0x15e0f4 + _0xa82a43(_0x79709b._0x47cd7a), {
|
|
1223
|
+
'headers': _0x597408,
|
|
1224
|
+
'method': _0xa82a43(_0x79709b._0x264bcd),
|
|
1225
|
+
'signal': _0x18636f['signal']
|
|
1248
1226
|
});
|
|
1249
|
-
if (!
|
|
1250
|
-
throw new Error(
|
|
1227
|
+
if (!_0x59421a['ok'])
|
|
1228
|
+
throw new Error(_0xa82a43(0xbb) + _0x59421a['status']);
|
|
1251
1229
|
return {
|
|
1252
|
-
'contentType':
|
|
1253
|
-
'data': Buffer[
|
|
1254
|
-
'originalFilename':
|
|
1230
|
+
'contentType': _0x4a9e80['data']?.['contentType'] ?? _0x59421a[_0xa82a43(_0x79709b._0x5ad6ca)][_0xa82a43(_0x79709b._0x592170)]('content-type') ?? _0xa82a43(_0x79709b._0x48f7d5),
|
|
1231
|
+
'data': Buffer[_0xa82a43(_0x79709b._0x42a5f7)](await _0x59421a['arrayBuffer']()),
|
|
1232
|
+
'originalFilename': _0x4a9e80[_0xa82a43(_0x79709b._0x3330)]?.[_0xa82a43(0x18c)]
|
|
1255
1233
|
};
|
|
1256
1234
|
} finally {
|
|
1257
|
-
clearTimeout(
|
|
1235
|
+
clearTimeout(_0x48e02e);
|
|
1258
1236
|
}
|
|
1259
1237
|
},
|
|
1260
1238
|
async 'listServer'() {
|
|
1261
|
-
return
|
|
1239
|
+
return _0x3307fb({ 'forceRefresh': !![] });
|
|
1262
1240
|
},
|
|
1263
|
-
async 'readHistory'(
|
|
1264
|
-
const
|
|
1265
|
-
return
|
|
1266
|
-
'after':
|
|
1267
|
-
'before':
|
|
1268
|
-
'channelId':
|
|
1269
|
-
'channelTarget':
|
|
1270
|
-
'limit':
|
|
1271
|
-
'threadId':
|
|
1241
|
+
async 'readHistory'(_0x287452) {
|
|
1242
|
+
const _0x24141b = _0x51700c, _0x25e009 = await _0x5322c7(_0x287452[_0x24141b(0xba)]);
|
|
1243
|
+
return _0x3af4b2({
|
|
1244
|
+
'after': _0x287452[_0x24141b(_0x37d62d._0x31e0ff)],
|
|
1245
|
+
'before': _0x287452[_0x24141b(0x17a)],
|
|
1246
|
+
'channelId': _0x25e009[_0x24141b(0x181)],
|
|
1247
|
+
'channelTarget': _0x25e009['target'],
|
|
1248
|
+
'limit': _0x287452[_0x24141b(0x1e1)],
|
|
1249
|
+
'threadId': _0x25e009[_0x24141b(_0x37d62d._0x421439)]
|
|
1272
1250
|
});
|
|
1273
1251
|
},
|
|
1274
|
-
'resolveTarget':
|
|
1252
|
+
'resolveTarget': _0x5322c7,
|
|
1275
1253
|
async 'checkMessages'() {
|
|
1276
|
-
const
|
|
1277
|
-
|
|
1278
|
-
const
|
|
1279
|
-
'headers':
|
|
1280
|
-
'method':
|
|
1281
|
-
}),
|
|
1282
|
-
let
|
|
1283
|
-
|
|
1284
|
-
|
|
1254
|
+
const _0x4291d9 = { _0x2ae815: 0x1e8 }, _0x3cda68 = _0x51700c, _0x4082eb = new URLSearchParams();
|
|
1255
|
+
_0x4082eb['set'](_0x3cda68(_0x5eb86d._0x5211aa), String(_0xdfb599));
|
|
1256
|
+
const _0x516920 = _0x4082eb[_0x3cda68(_0x5eb86d._0x5c99df)](), _0x555e65 = await _0x236761(_0x3cda68(0xcf) + _0x17262b[_0x3cda68(_0x5eb86d._0x10cbf9)] + '/receive' + (_0x516920 ? '?' + _0x516920 : ''), {
|
|
1257
|
+
'headers': _0x597408,
|
|
1258
|
+
'method': _0x3cda68(0x186)
|
|
1259
|
+
}), _0xd77f2d = _0x555e65[_0x3cda68(_0x5eb86d._0x5036b3)] ?? [], _0x1a7890 = _0x555e65[_0x3cda68(_0x5eb86d._0x9c83a5)]?.[_0x3cda68(0x101)], _0x922da4 = _0x1a7890 !== void 0x0 ? Math['max'](_0xdfb599, _0x1a7890) : _0xd77f2d[_0x3cda68(_0x5eb86d._0x2dcf9d)] > 0x0 ? Math[_0x3cda68(0xd2)](_0xdfb599, _0xd77f2d[_0xd77f2d[_0x3cda68(_0x5eb86d._0x2dcf9d)] - 0x1]['seq']) : _0xdfb599, _0x593e45 = _0xd77f2d[_0x3cda68(0x1bd)](_0x5e006b => _0x5e006b[_0x3cda68(0x14b)] === 'message'), _0xe69790 = _0x1f9804 === void 0x0 && _0x5a3c40;
|
|
1260
|
+
let _0x128078 = await _0x3307fb(), _0x4434a9 = new Map(_0x128078[_0x3cda68(_0x5eb86d._0x1b2e6f)][_0x3cda68(_0x5eb86d._0x1ab9ee)](_0x5c066e => [
|
|
1261
|
+
_0x5c066e['id'],
|
|
1262
|
+
_0x5c066e
|
|
1285
1263
|
]));
|
|
1286
|
-
const
|
|
1287
|
-
const
|
|
1288
|
-
return Boolean(
|
|
1264
|
+
const _0x312f0b = _0x593e45['some'](_0x1fe5f4 => {
|
|
1265
|
+
const _0x2d3711 = _0x3cda68, _0x20b60c = asRecord(_0x1fe5f4[_0x2d3711(_0x4291d9._0x2ae815)]), _0x52c678 = typeof _0x20b60c?.['channelId'] === _0x2d3711(0x1cb) ? _0x20b60c[_0x2d3711(0x181)] : '';
|
|
1266
|
+
return Boolean(_0x52c678) && !_0x4434a9['has'](_0x52c678);
|
|
1289
1267
|
});
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1268
|
+
_0x312f0b && (_0x128078 = await _0x3307fb({ 'forceRefresh': !![] }), _0x4434a9 = new Map(_0x128078[_0x3cda68(0xbc)][_0x3cda68(0xf7)](_0x595838 => [
|
|
1269
|
+
_0x595838['id'],
|
|
1270
|
+
_0x595838
|
|
1293
1271
|
])));
|
|
1294
|
-
const
|
|
1295
|
-
for (const
|
|
1296
|
-
const
|
|
1297
|
-
if (!
|
|
1272
|
+
const _0x882ad9 = new Map();
|
|
1273
|
+
for (const _0x327196 of _0x593e45) {
|
|
1274
|
+
const _0x1c2c93 = asRecord(_0x327196[_0x3cda68(_0x5eb86d._0xba0cf2)]), _0x3b1401 = typeof _0x1c2c93[_0x3cda68(0x181)] === _0x3cda68(_0x5eb86d._0x1fc159) ? _0x1c2c93['channelId'] : '';
|
|
1275
|
+
if (!_0x3b1401)
|
|
1298
1276
|
continue;
|
|
1299
|
-
const
|
|
1277
|
+
const _0x89d110 = typeof _0x1c2c93[_0x3cda68(0x229)] === 'string' ? _0x1c2c93[_0x3cda68(_0x5eb86d._0x4dc78b)] : void 0x0, _0x482c55 = typeof _0x1c2c93['rootMessageId'] === _0x3cda68(0x1cb) ? _0x1c2c93[_0x3cda68(_0x5eb86d._0x5c65d1)] : void 0x0, _0x6e5080 = typeof _0x1c2c93[_0x3cda68(0x1ac)] === _0x3cda68(0xbe) && Number[_0x3cda68(0xca)](_0x1c2c93[_0x3cda68(0x1ac)]) ? _0x1c2c93[_0x3cda68(_0x5eb86d._0x6b6ebb)] : void 0x0, _0x576c36 = Boolean(_0x89d110 && (!_0x482c55 || _0x327196[_0x3cda68(_0x5eb86d._0x2616dd)] !== _0x482c55)), _0x35bfe3 = _0x576c36 ? _0x3b1401 + ':' + _0x89d110 : _0x3b1401, _0x1b8cb0 = _0x882ad9[_0x3cda68(0x161)](_0x35bfe3) ?? {
|
|
1300
1278
|
'aggregateIds': [],
|
|
1301
|
-
'channelId':
|
|
1279
|
+
'channelId': _0x3b1401,
|
|
1302
1280
|
'entries': new Map(),
|
|
1303
|
-
'isThreadReply':
|
|
1304
|
-
'rootMessageId':
|
|
1305
|
-
'threadNumber':
|
|
1306
|
-
'threadId':
|
|
1281
|
+
'isThreadReply': _0x576c36,
|
|
1282
|
+
'rootMessageId': _0x482c55,
|
|
1283
|
+
'threadNumber': _0x6e5080,
|
|
1284
|
+
'threadId': _0x576c36 ? _0x89d110 : void 0x0
|
|
1307
1285
|
};
|
|
1308
|
-
|
|
1309
|
-
'payloadJson':
|
|
1310
|
-
'seq':
|
|
1311
|
-
}),
|
|
1286
|
+
_0x1b8cb0[_0x3cda68(_0x5eb86d._0x195701)] == null && _0x6e5080 != null && (_0x1b8cb0['threadNumber'] = _0x6e5080), !_0x1b8cb0[_0x3cda68(0x128)] && _0x482c55 && (_0x1b8cb0['rootMessageId'] = _0x482c55), _0x1b8cb0[_0x3cda68(_0x5eb86d._0x5ca5a2)][_0x3cda68(0x1cd)](_0x327196[_0x3cda68(_0x5eb86d._0x1c8f2d)]), _0x1b8cb0[_0x3cda68(0xec)]['set'](_0x327196[_0x3cda68(_0x5eb86d._0x1c8f2d)], {
|
|
1287
|
+
'payloadJson': _0x327196[_0x3cda68(0x1e8)],
|
|
1288
|
+
'seq': _0x327196[_0x3cda68(_0x5eb86d._0x35a1ee)]
|
|
1289
|
+
}), _0x882ad9[_0x3cda68(_0x5eb86d._0x405f28)](_0x35bfe3, _0x1b8cb0);
|
|
1312
1290
|
}
|
|
1313
|
-
const
|
|
1314
|
-
for (const
|
|
1291
|
+
const _0x1deb9b = [];
|
|
1292
|
+
for (const _0x4c7636 of _0x882ad9[_0x3cda68(_0x5eb86d._0x64deb5)]()) {
|
|
1315
1293
|
const {
|
|
1316
|
-
channelId:
|
|
1317
|
-
threadId:
|
|
1318
|
-
rootMessageId:
|
|
1319
|
-
threadNumber:
|
|
1320
|
-
aggregateIds:
|
|
1321
|
-
isThreadReply:
|
|
1322
|
-
entries:
|
|
1323
|
-
} =
|
|
1324
|
-
'channelTarget':
|
|
1325
|
-
'rootMessageId':
|
|
1326
|
-
'threadId':
|
|
1327
|
-
'threadNumber':
|
|
1328
|
-
},
|
|
1329
|
-
'channelId':
|
|
1330
|
-
'channelTarget':
|
|
1331
|
-
'limit': Math[
|
|
1332
|
-
'threadId':
|
|
1333
|
-
}),
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
])),
|
|
1337
|
-
for (const
|
|
1338
|
-
if (!
|
|
1294
|
+
channelId: _0x4f9650,
|
|
1295
|
+
threadId: _0x19cc33,
|
|
1296
|
+
rootMessageId: _0x485965,
|
|
1297
|
+
threadNumber: _0x3bc4ab,
|
|
1298
|
+
aggregateIds: _0x37bb6c,
|
|
1299
|
+
isThreadReply: _0x56ab18,
|
|
1300
|
+
entries: _0x453026
|
|
1301
|
+
} = _0x4c7636, _0x43ccc7 = _0x4434a9[_0x3cda68(0x161)](_0x4f9650), _0x428f4c = _0x43ccc7?.[_0x3cda68(_0x5eb86d._0x248a3f)] ?? _0x4f9650, _0x3aaaf1 = _0x43ccc7?.[_0x3cda68(_0x5eb86d._0x331458)] === 'dm' ? _0x3cda68(0x100) + _0x428f4c : '#' + _0x428f4c, _0x52cefd = {
|
|
1302
|
+
'channelTarget': _0x3aaaf1,
|
|
1303
|
+
'rootMessageId': _0x485965,
|
|
1304
|
+
'threadId': _0x19cc33,
|
|
1305
|
+
'threadNumber': _0x3bc4ab
|
|
1306
|
+
}, _0x5a163d = await _0x3af4b2({
|
|
1307
|
+
'channelId': _0x4f9650,
|
|
1308
|
+
'channelTarget': _0x3aaaf1,
|
|
1309
|
+
'limit': Math[_0x3cda68(0xd2)](_0x37bb6c[_0x3cda68(0x146)], 0x32),
|
|
1310
|
+
'threadId': _0x19cc33
|
|
1311
|
+
}), _0x28ec32 = new Map(_0x5a163d['messages'][_0x3cda68(_0x5eb86d._0x1ab9ee)](_0x464a56 => [
|
|
1312
|
+
_0x464a56[_0x3cda68(0x15e)],
|
|
1313
|
+
_0x464a56
|
|
1314
|
+
])), _0x339d9e = _0x19cc33 ? _0x2e978f(_0x52cefd) : _0x3aaaf1, _0x2f7408 = _0x1f9804 ? _0x56ab18 && _0x4d7892(_0x1f9804, _0x52cefd) : !![], _0xd80891 = _0x56ab18 ? _0x2f7408 && _0x1f9804 ? _0x1f9804 : _0x339d9e : _0x3aaaf1;
|
|
1315
|
+
for (const _0x2811fa of _0x37bb6c) {
|
|
1316
|
+
if (!_0x2f7408)
|
|
1339
1317
|
continue;
|
|
1340
|
-
const
|
|
1341
|
-
if (
|
|
1318
|
+
const _0x37bc26 = _0x453026[_0x3cda68(0x161)](_0x2811fa), _0x4643b6 = _0x37bc26 ? asRecord(_0x37bc26[_0x3cda68(_0x5eb86d._0x50df31)]) : void 0x0, _0x1ed7d9 = _0x4643b6?.[_0x3cda68(0x126)] === 'targeted';
|
|
1319
|
+
if (_0xe69790 && _0x1ed7d9)
|
|
1342
1320
|
continue;
|
|
1343
|
-
const
|
|
1344
|
-
if (
|
|
1345
|
-
|
|
1346
|
-
'attachments':
|
|
1347
|
-
'content':
|
|
1348
|
-
'createdAt':
|
|
1349
|
-
...
|
|
1350
|
-
'messageId':
|
|
1351
|
-
'senderName':
|
|
1352
|
-
'senderType':
|
|
1353
|
-
'target':
|
|
1354
|
-
...
|
|
1321
|
+
const _0x49b982 = _0x28ec32[_0x3cda68(0x161)](_0x2811fa);
|
|
1322
|
+
if (_0x49b982) {
|
|
1323
|
+
_0x1deb9b['push']({
|
|
1324
|
+
'attachments': _0x49b982[_0x3cda68(_0x5eb86d._0x3e7ad3)],
|
|
1325
|
+
'content': _0x49b982['content'],
|
|
1326
|
+
'createdAt': _0x49b982[_0x3cda68(0x190)],
|
|
1327
|
+
..._0x49b982[_0x3cda68(0x15f)] ? { 'kind': _0x49b982[_0x3cda68(_0x5eb86d._0x331458)] } : {},
|
|
1328
|
+
'messageId': _0x49b982['messageId'],
|
|
1329
|
+
'senderName': _0x49b982['senderName'],
|
|
1330
|
+
'senderType': _0x49b982[_0x3cda68(0x18d)],
|
|
1331
|
+
'target': _0xd80891,
|
|
1332
|
+
..._0x1ed7d9 ? { 'targetedTask': !![] } : {}
|
|
1355
1333
|
});
|
|
1356
1334
|
continue;
|
|
1357
1335
|
}
|
|
1358
|
-
if (
|
|
1359
|
-
const
|
|
1360
|
-
|
|
1336
|
+
if (_0x37bc26) {
|
|
1337
|
+
const _0x3d9f05 = typeof _0x4643b6?.[_0x3cda68(_0x5eb86d._0x4a4596)] === _0x3cda68(0x1cb) ? _0x4643b6[_0x3cda68(_0x5eb86d._0x39d06a)] : '', _0x5f1f28 = typeof _0x4643b6?.[_0x3cda68(_0x5eb86d._0x5469f2)] === _0x3cda68(_0x5eb86d._0x1fc159) ? _0x4643b6[_0x3cda68(_0x5eb86d._0x8d02ed)] : '', _0x2b442e = typeof _0x4643b6?.[_0x3cda68(0x15f)] === 'string' && _0x4643b6[_0x3cda68(0x15f)] !== 'chat' ? _0x4643b6[_0x3cda68(_0x5eb86d._0x331458)] : void 0x0;
|
|
1338
|
+
_0x3d9f05 && _0x5f1f28 && _0x1deb9b['push']({
|
|
1361
1339
|
'attachments': [],
|
|
1362
|
-
'content':
|
|
1363
|
-
'createdAt': new Date()[
|
|
1364
|
-
...
|
|
1365
|
-
'messageId':
|
|
1366
|
-
'senderName':
|
|
1367
|
-
'senderType':
|
|
1368
|
-
'target':
|
|
1369
|
-
...
|
|
1340
|
+
'content': _0x5f1f28,
|
|
1341
|
+
'createdAt': new Date()['toISOString'](),
|
|
1342
|
+
..._0x2b442e ? { 'kind': _0x2b442e } : {},
|
|
1343
|
+
'messageId': _0x2811fa,
|
|
1344
|
+
'senderName': _0x3d9f05,
|
|
1345
|
+
'senderType': _0x4c91ee(_0x3d9f05, _0x128078),
|
|
1346
|
+
'target': _0xd80891,
|
|
1347
|
+
..._0x1ed7d9 ? { 'targetedTask': !![] } : {}
|
|
1370
1348
|
});
|
|
1371
1349
|
}
|
|
1372
1350
|
}
|
|
1373
1351
|
}
|
|
1374
|
-
if (
|
|
1375
|
-
if (
|
|
1376
|
-
await
|
|
1352
|
+
if (_0x922da4 > 0x0) {
|
|
1353
|
+
if (_0x2dd09a)
|
|
1354
|
+
await _0x455686(_0x922da4);
|
|
1377
1355
|
else
|
|
1378
|
-
|
|
1356
|
+
_0x4d1720 && await _0x61fc0e(_0x922da4);
|
|
1379
1357
|
}
|
|
1380
|
-
return
|
|
1358
|
+
return _0x922da4 > _0xdfb599 && (_0xdfb599 = _0x922da4), { 'messages': _0x1f9804 ? _0x1deb9b : _0xe69790 ? _0x1deb9b[_0x3cda68(0x1bd)](_0x306cbe => _0x306cbe['targetedTask'] !== !![]) : _0x1deb9b };
|
|
1381
1359
|
}
|
|
1382
1360
|
};
|
|
1383
1361
|
}
|
|
1384
|
-
function toLocalTime(
|
|
1385
|
-
const
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1362
|
+
function toLocalTime(_0x18c512) {
|
|
1363
|
+
const _0x688624 = {
|
|
1364
|
+
_0x11b363: 0x21e,
|
|
1365
|
+
_0x371214: 0x103,
|
|
1366
|
+
_0xa14129: 0x12a,
|
|
1367
|
+
_0x178524: 0x1c2,
|
|
1368
|
+
_0x4291cf: 0x1c3
|
|
1369
|
+
}, _0xa58538 = _0x77ce4b, _0x9c3873 = new Date(_0x18c512);
|
|
1370
|
+
if (Number[_0xa58538(_0x688624._0x11b363)](_0x9c3873[_0xa58538(_0x688624._0x371214)]()))
|
|
1371
|
+
return _0x18c512;
|
|
1372
|
+
const _0x42da82 = _0x463b9e => String(_0x463b9e)[_0xa58538(0x226)](0x2, '0');
|
|
1373
|
+
return _0x9c3873['getFullYear']() + '-' + _0x42da82(_0x9c3873[_0xa58538(0x218)]() + 0x1) + '-' + _0x42da82(_0x9c3873['getDate']()) + '\x20' + _0x42da82(_0x9c3873[_0xa58538(_0x688624._0xa14129)]()) + ':' + _0x42da82(_0x9c3873[_0xa58538(_0x688624._0x178524)]()) + ':' + _0x42da82(_0x9c3873[_0xa58538(_0x688624._0x4291cf)]());
|
|
1393
1374
|
}
|
|
1394
|
-
function formatAttachmentSuffix(
|
|
1395
|
-
const
|
|
1396
|
-
|
|
1397
|
-
_0xda9364: 0x17c
|
|
1398
|
-
}, _0x276743 = _0x1e865e;
|
|
1399
|
-
if (!_0x9a9d88 || _0x9a9d88[_0x276743(0x198)] === 0x0)
|
|
1375
|
+
function formatAttachmentSuffix(_0x1cc08e) {
|
|
1376
|
+
const _0x16bf13 = _0x77ce4b;
|
|
1377
|
+
if (!_0x1cc08e || _0x1cc08e[_0x16bf13(0x146)] === 0x0)
|
|
1400
1378
|
return '';
|
|
1401
|
-
return '\x20[' +
|
|
1379
|
+
return '\x20[' + _0x1cc08e[_0x16bf13(0x146)] + '\x20attachment' + (_0x1cc08e[_0x16bf13(0x146)] > 0x1 ? 's' : '') + ':\x20' + _0x1cc08e[_0x16bf13(0xf7)](_0x45e1f0 => _0x45e1f0['filename'] + _0x16bf13(0x18a) + _0x45e1f0['id'] + ')')['join'](',\x20') + _0x16bf13(0x188);
|
|
1402
1380
|
}
|
|
1403
|
-
function formatCheckMessages(
|
|
1404
|
-
const
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
})[_0x38b952(0x1d1)]('\x0a');
|
|
1381
|
+
function formatCheckMessages(_0x1e2190) {
|
|
1382
|
+
const _0x49e9a3 = { _0x414d8e: 0x146 }, _0x27b6e7 = {
|
|
1383
|
+
_0x12d667: 0x1af,
|
|
1384
|
+
_0xdeacd8: 0x15f,
|
|
1385
|
+
_0x5b3fdb: 0x1b5,
|
|
1386
|
+
_0x429b89: 0x135,
|
|
1387
|
+
_0x2242f1: 0xf9,
|
|
1388
|
+
_0x2af270: 0x190,
|
|
1389
|
+
_0x16d7e8: 0x202
|
|
1390
|
+
}, _0x4c0ef5 = _0x77ce4b;
|
|
1391
|
+
if (_0x1e2190[_0x4c0ef5(_0x49e9a3._0x414d8e)] === 0x0)
|
|
1392
|
+
return _0x4c0ef5(0xfc);
|
|
1393
|
+
return _0x1e2190['map'](_0x262962 => {
|
|
1394
|
+
const _0xf02aad = _0x4c0ef5, _0x12231a = _0x262962['senderType'] === _0xf02aad(0x1c0) ? _0xf02aad(_0x27b6e7._0x12d667) : '', _0x3b869f = _0x262962[_0xf02aad(0x15f)] && _0x262962[_0xf02aad(_0x27b6e7._0xdeacd8)] !== 'chat' ? _0xf02aad(_0x27b6e7._0x5b3fdb) + _0x262962[_0xf02aad(_0x27b6e7._0xdeacd8)] : '';
|
|
1395
|
+
return _0xf02aad(_0x27b6e7._0x429b89) + _0x262962[_0xf02aad(0x1b9)] + _0xf02aad(0x1f7) + _0x262962['messageId'][_0xf02aad(0x23d)](0x0, 0x8) + _0xf02aad(_0x27b6e7._0x2242f1) + toLocalTime(_0x262962[_0xf02aad(_0x27b6e7._0x2af270)]) + _0x12231a + _0x3b869f + _0xf02aad(0x243) + _0x262962[_0xf02aad(0x206)] + ':\x20' + _0x262962[_0xf02aad(_0x27b6e7._0x16d7e8)] + formatAttachmentSuffix(_0x262962[_0xf02aad(0x1de)]);
|
|
1396
|
+
})[_0x4c0ef5(0x172)]('\x0a');
|
|
1420
1397
|
}
|
|
1421
|
-
function formatHistory(
|
|
1422
|
-
const
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1398
|
+
function formatHistory(_0x21b53f) {
|
|
1399
|
+
const _0x5b10fb = {
|
|
1400
|
+
_0x1710bc: 0x16e,
|
|
1401
|
+
_0x19050c: 0x207,
|
|
1402
|
+
_0x31567e: 0x172,
|
|
1403
|
+
_0x6b0cb8: 0x150,
|
|
1404
|
+
_0x5c999b: 0x184,
|
|
1405
|
+
_0x18b78d: 0x146
|
|
1406
|
+
}, _0x48083e = {
|
|
1407
|
+
_0x5ed52a: 0x18d,
|
|
1408
|
+
_0x527bd8: 0x1af,
|
|
1409
|
+
_0x366f34: 0x15f,
|
|
1410
|
+
_0x53490a: 0x15f,
|
|
1411
|
+
_0xca3a36: 0x15e,
|
|
1412
|
+
_0x3ca5d9: 0xf9,
|
|
1413
|
+
_0x487b77: 0x202,
|
|
1414
|
+
_0x435689: 0x1de
|
|
1415
|
+
}, _0x349759 = _0x77ce4b;
|
|
1416
|
+
if (_0x21b53f[_0x349759(_0x5b10fb._0x1710bc)][_0x349759(0x146)] === 0x0)
|
|
1417
|
+
return _0x349759(0xd3) + _0x21b53f['channel'] + _0x349759(_0x5b10fb._0x19050c);
|
|
1418
|
+
const _0x58d6bc = _0x21b53f['messages']['map'](_0x451878 => {
|
|
1419
|
+
const _0x52dc38 = _0x349759, _0x107f4e = _0x451878[_0x52dc38(_0x48083e._0x5ed52a)] === _0x52dc38(0x1c0) ? _0x52dc38(_0x48083e._0x527bd8) : '', _0x30f245 = _0x451878[_0x52dc38(_0x48083e._0x366f34)] && _0x451878[_0x52dc38(_0x48083e._0x53490a)] !== _0x52dc38(0x151) ? _0x52dc38(0x1b5) + _0x451878['kind'] : '';
|
|
1420
|
+
return _0x52dc38(0x1c8) + _0x451878['seq'] + _0x52dc38(0x1f7) + _0x451878[_0x52dc38(_0x48083e._0xca3a36)] + _0x52dc38(_0x48083e._0x3ca5d9) + toLocalTime(_0x451878['createdAt']) + _0x107f4e + _0x30f245 + _0x52dc38(0x243) + _0x451878['senderName'] + ':\x20' + _0x451878[_0x52dc38(_0x48083e._0x487b77)] + formatAttachmentSuffix(_0x451878[_0x52dc38(_0x48083e._0x435689)]);
|
|
1421
|
+
})[_0x349759(_0x5b10fb._0x31567e)]('\x0a'), _0x50f3c3 = _0x21b53f[_0x349759(0x208)] && _0x21b53f[_0x349759(_0x5b10fb._0x6b0cb8)] ? _0x349759(_0x5b10fb._0x5c999b) + _0x21b53f[_0x349759(0x16e)][_0x349759(0x146)] + '\x20messages\x20shown.\x20Use\x20before=' + _0x21b53f[_0x349759(_0x5b10fb._0x6b0cb8)] + _0x349759(0x21d) : '';
|
|
1422
|
+
return _0x349759(0xd3) + _0x21b53f['channel'] + '\x20(' + _0x21b53f[_0x349759(0x16e)][_0x349759(_0x5b10fb._0x18b78d)] + _0x349759(0x1cc) + _0x58d6bc + _0x50f3c3;
|
|
1444
1423
|
}
|
|
1445
|
-
function formatServerDirectory(
|
|
1446
|
-
const
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1424
|
+
function formatServerDirectory(_0x588a54) {
|
|
1425
|
+
const _0x15992f = {
|
|
1426
|
+
_0x343599: 0x146,
|
|
1427
|
+
_0x3e6632: 0x1b3,
|
|
1428
|
+
_0x2ddec2: 0xf7,
|
|
1429
|
+
_0x56325c: 0x146,
|
|
1430
|
+
_0x575f7b: 0x22c,
|
|
1431
|
+
_0x44b21e: 0xe1,
|
|
1432
|
+
_0x76e0ba: 0x142,
|
|
1433
|
+
_0x47addc: 0x10e,
|
|
1434
|
+
_0x3780da: 0x172
|
|
1435
|
+
}, _0x546416 = _0x77ce4b, _0x2c4b09 = _0x588a54['channels'][_0x546416(_0x15992f._0x343599)] > 0x0 ? _0x588a54[_0x546416(0xbc)]['map'](_0x4d703c => _0x4d703c['description'] ? _0x546416(0x109) + _0x4d703c['name'] + '\x20—\x20' + _0x4d703c['description'] : '-\x20#' + _0x4d703c[_0x546416(0x145)])[_0x546416(0x172)]('\x0a') : '(none)', _0x2604c8 = _0x588a54[_0x546416(0x1b3)][_0x546416(_0x15992f._0x343599)] > 0x0 ? _0x588a54[_0x546416(_0x15992f._0x3e6632)][_0x546416(_0x15992f._0x2ddec2)](_0x309e4b => _0x546416(0x220) + _0x309e4b['name'])[_0x546416(0x172)]('\x0a') : _0x546416(0xe1), _0x24290e = _0x588a54[_0x546416(0x22c)][_0x546416(_0x15992f._0x56325c)] > 0x0 ? _0x588a54[_0x546416(_0x15992f._0x575f7b)][_0x546416(0xf7)](_0x2e08ea => '-\x20@' + _0x2e08ea[_0x546416(0x145)])[_0x546416(0x172)]('\x0a') : _0x546416(_0x15992f._0x44b21e);
|
|
1456
1436
|
return [
|
|
1457
|
-
|
|
1437
|
+
'##\x20Server:\x20' + _0x588a54[_0x546416(0x18f)],
|
|
1458
1438
|
'',
|
|
1459
|
-
|
|
1460
|
-
|
|
1439
|
+
_0x546416(_0x15992f._0x76e0ba),
|
|
1440
|
+
_0x2c4b09,
|
|
1461
1441
|
'',
|
|
1462
|
-
|
|
1463
|
-
|
|
1442
|
+
_0x546416(_0x15992f._0x47addc),
|
|
1443
|
+
_0x2604c8,
|
|
1464
1444
|
'',
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
][
|
|
1445
|
+
_0x546416(0x219),
|
|
1446
|
+
_0x24290e
|
|
1447
|
+
][_0x546416(_0x15992f._0x3780da)]('\x0a');
|
|
1468
1448
|
}
|
|
1469
|
-
function formatUploadResult(
|
|
1470
|
-
const
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1449
|
+
function formatUploadResult(_0x5ea479) {
|
|
1450
|
+
const _0x38a2fc = {
|
|
1451
|
+
_0x149b39: 0x10d,
|
|
1452
|
+
_0x22b857: 0xc3,
|
|
1453
|
+
_0x1e424d: 0x234,
|
|
1454
|
+
_0x320f0f: 0x149,
|
|
1455
|
+
_0x4a1a03: 0xff
|
|
1456
|
+
}, _0x28145e = _0x77ce4b;
|
|
1457
|
+
return _0x28145e(_0x38a2fc._0x149b39) + _0x5ea479[_0x28145e(_0x38a2fc._0x22b857)] + '\x20(' + (_0x5ea479[_0x28145e(0x125)] / 0x400)[_0x28145e(0x1b4)](0x1) + _0x28145e(_0x38a2fc._0x1e424d) + _0x5ea479[_0x28145e(_0x38a2fc._0x320f0f)] + _0x28145e(_0x38a2fc._0x4a1a03);
|
|
1477
1458
|
}
|
|
1478
|
-
function formatViewFileResult(
|
|
1479
|
-
const
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1459
|
+
function formatViewFileResult(_0x5d99c3, _0x431ade) {
|
|
1460
|
+
const _0x380d8b = _0x77ce4b;
|
|
1461
|
+
return _0x431ade ? 'File\x20already\x20cached\x20at:\x20' + _0x5d99c3 : _0x380d8b(0xbf) + _0x5d99c3;
|
|
1462
|
+
}
|
|
1463
|
+
function _0x4210(_0x5f2d22, _0x441680) {
|
|
1464
|
+
_0x5f2d22 = _0x5f2d22 - 0xb9;
|
|
1465
|
+
const _0x5b9233 = _0x5b92();
|
|
1466
|
+
let _0x4210ab = _0x5b9233[_0x5f2d22];
|
|
1467
|
+
if (_0x4210['fiuQGB'] === undefined) {
|
|
1468
|
+
var _0xbfa810 = function (_0x4264d9) {
|
|
1469
|
+
const _0x2b6932 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
1470
|
+
let _0x3bc217 = '', _0xe73669 = '';
|
|
1471
|
+
for (let _0x3b24f5 = 0x0, _0x1c7017, _0xb948bf, _0x4d18b5 = 0x0; _0xb948bf = _0x4264d9['charAt'](_0x4d18b5++); ~_0xb948bf && (_0x1c7017 = _0x3b24f5 % 0x4 ? _0x1c7017 * 0x40 + _0xb948bf : _0xb948bf, _0x3b24f5++ % 0x4) ? _0x3bc217 += String['fromCharCode'](0xff & _0x1c7017 >> (-0x2 * _0x3b24f5 & 0x6)) : 0x0) {
|
|
1472
|
+
_0xb948bf = _0x2b6932['indexOf'](_0xb948bf);
|
|
1473
|
+
}
|
|
1474
|
+
for (let _0x49c4a4 = 0x0, _0x1c7c61 = _0x3bc217['length']; _0x49c4a4 < _0x1c7c61; _0x49c4a4++) {
|
|
1475
|
+
_0xe73669 += '%' + ('00' + _0x3bc217['charCodeAt'](_0x49c4a4)['toString'](0x10))['slice'](-0x2);
|
|
1476
|
+
}
|
|
1477
|
+
return decodeURIComponent(_0xe73669);
|
|
1478
|
+
};
|
|
1479
|
+
_0x4210['LjVwCm'] = _0xbfa810, _0x4210['rIlSeZ'] = {}, _0x4210['fiuQGB'] = !![];
|
|
1480
|
+
}
|
|
1481
|
+
const _0x989cb9 = _0x5b9233[0x0], _0x554e6d = _0x5f2d22 + _0x989cb9, _0x3d4cff = _0x4210['rIlSeZ'][_0x554e6d];
|
|
1482
|
+
return !_0x3d4cff ? (_0x4210ab = _0x4210['LjVwCm'](_0x4210ab), _0x4210['rIlSeZ'][_0x554e6d] = _0x4210ab) : _0x4210ab = _0x3d4cff, _0x4210ab;
|
|
1484
1483
|
}
|
|
1485
|
-
function formatTaskList(
|
|
1486
|
-
const
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
_0x1ee189: 0x213,
|
|
1494
|
-
_0x7bf49c: 0x2a5
|
|
1495
|
-
}, _0x2f853b = _0x1e865e;
|
|
1496
|
-
if (_0x39be20['length'] === 0x0)
|
|
1497
|
-
return _0x2f853b(_0x29ff11._0x135fbd);
|
|
1498
|
-
return _0x39be20[_0x2f853b(0x209)](_0x83a4ae => {
|
|
1499
|
-
const _0x2ed96a = _0x2f853b, _0x16b9ef = _0x83a4ae[_0x2ed96a(_0x543e65._0x4c849e)] == null ? '(legacy)' : _0x83a4ae[_0x2ed96a(_0x543e65._0x12c77a)] != null ? '#' + _0x83a4ae[_0x2ed96a(0x174)] + '.' + _0x83a4ae['subtaskNumber'] : '#' + _0x83a4ae['taskNumber'], _0x1441e2 = _0x83a4ae['messageId'] ? '\x20message=' + _0x83a4ae[_0x2ed96a(0x276)] : '', _0x6b2096 = _0x2ffaab && _0x83a4ae[_0x2ed96a(_0x543e65._0xa8b568)] != null && !_0x83a4ae[_0x2ed96a(0x20d)] && _0x2ffaab[_0x2ed96a(_0x543e65._0x1ee189)](_0x83a4ae[_0x2ed96a(_0x543e65._0xa8b568)]) ? '\x20executionMode=worker' : '', _0x25958a = _0x83a4ae[_0x2ed96a(0x17a)] != null && _0x83a4ae[_0x2ed96a(0x17a)] > 0x0 ? '\x20(' + (_0x83a4ae[_0x2ed96a(_0x543e65._0x7bf49c)] ?? 0x0) + '/' + _0x83a4ae[_0x2ed96a(0x17a)] + _0x2ed96a(0x2c0) : '';
|
|
1500
|
-
return _0x16b9ef + '\x20[' + _0x83a4ae['status'] + ']\x20' + _0x83a4ae[_0x2ed96a(0x2be)] + _0x25958a + _0x1441e2 + _0x6b2096;
|
|
1501
|
-
})[_0x2f853b(_0x29ff11._0x336748)]('\x0a');
|
|
1484
|
+
function formatTaskList(_0x592dc5, _0x20d4ba) {
|
|
1485
|
+
const _0x4d4645 = { _0x25099a: 0xee }, _0x4055c6 = { _0x296a96: 0xda }, _0x593291 = _0x77ce4b;
|
|
1486
|
+
if (_0x592dc5[_0x593291(0x146)] === 0x0)
|
|
1487
|
+
return _0x593291(_0x4d4645._0x25099a);
|
|
1488
|
+
return _0x592dc5[_0x593291(0xf7)](_0x56acd6 => {
|
|
1489
|
+
const _0x178808 = _0x593291, _0x4578d5 = _0x56acd6[_0x178808(0xda)] == null ? _0x178808(0x23f) : _0x56acd6[_0x178808(0x156)] != null ? '#' + _0x56acd6[_0x178808(0xda)] + '.' + _0x56acd6[_0x178808(0x156)] : '#' + _0x56acd6[_0x178808(_0x4055c6._0x296a96)], _0x3e7a4d = _0x56acd6[_0x178808(0x15e)] ? _0x178808(0x1bf) + _0x56acd6['messageId'] : '', _0x378733 = _0x20d4ba && _0x56acd6[_0x178808(_0x4055c6._0x296a96)] != null && !_0x56acd6['subtaskNumber'] && _0x20d4ba[_0x178808(0x1d8)](_0x56acd6[_0x178808(_0x4055c6._0x296a96)]) ? '\x20executionMode=worker' : '', _0x1d97de = _0x56acd6['childrenTotal'] != null && _0x56acd6['childrenTotal'] > 0x0 ? '\x20(' + (_0x56acd6[_0x178808(0x1ba)] ?? 0x0) + '/' + _0x56acd6['childrenTotal'] + _0x178808(0x177) : '';
|
|
1490
|
+
return _0x4578d5 + '\x20[' + _0x56acd6[_0x178808(0x12e)] + ']\x20' + _0x56acd6['title'] + _0x1d97de + _0x3e7a4d + _0x378733;
|
|
1491
|
+
})[_0x593291(0x172)]('\x0a');
|
|
1502
1492
|
}
|
|
1503
|
-
function formatCreatedTasks(
|
|
1504
|
-
const
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
},
|
|
1509
|
-
if (
|
|
1510
|
-
return
|
|
1511
|
-
return
|
|
1512
|
-
const
|
|
1513
|
-
return
|
|
1514
|
-
})[
|
|
1493
|
+
function formatCreatedTasks(_0x571ac2) {
|
|
1494
|
+
const _0x2af328 = { _0x2fe035: 0x172 }, _0x4f3a6f = {
|
|
1495
|
+
_0x117745: 0x23f,
|
|
1496
|
+
_0x14d908: 0xda,
|
|
1497
|
+
_0x3b6404: 0x15e
|
|
1498
|
+
}, _0x241e1b = _0x77ce4b;
|
|
1499
|
+
if (_0x571ac2['length'] === 0x0)
|
|
1500
|
+
return _0x241e1b(0xf2);
|
|
1501
|
+
return _0x571ac2[_0x241e1b(0xf7)](_0x193e67 => {
|
|
1502
|
+
const _0x3b2253 = _0x241e1b, _0x541e03 = _0x193e67['taskNumber'] == null ? _0x3b2253(_0x4f3a6f._0x117745) : _0x193e67['subtaskNumber'] != null ? '#' + _0x193e67[_0x3b2253(0xda)] + '.' + _0x193e67[_0x3b2253(0x156)] : '#' + _0x193e67[_0x3b2253(_0x4f3a6f._0x14d908)], _0x35d8a7 = _0x193e67[_0x3b2253(_0x4f3a6f._0x3b6404)] ? '\x20message=' + _0x193e67[_0x3b2253(0x15e)] : '';
|
|
1503
|
+
return _0x541e03 + '\x20' + _0x193e67[_0x3b2253(0x12c)] + _0x35d8a7;
|
|
1504
|
+
})[_0x241e1b(_0x2af328._0x2fe035)]('\x0a');
|
|
1515
1505
|
}
|
|
1516
|
-
function formatClaimTaskResults(
|
|
1517
|
-
const
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1506
|
+
function formatClaimTaskResults(_0xf98e3b) {
|
|
1507
|
+
const _0x56e7e2 = {
|
|
1508
|
+
_0x668dc6: 0x146,
|
|
1509
|
+
_0x17a08e: 0x172
|
|
1510
|
+
}, _0x338681 = {
|
|
1511
|
+
_0x2c7a6e: 0x21b,
|
|
1512
|
+
_0x3d9a1e: 0x156,
|
|
1513
|
+
_0x1560bd: 0xda,
|
|
1514
|
+
_0x5d1546: 0x15e,
|
|
1515
|
+
_0x484a9e: 0x121,
|
|
1516
|
+
_0x2b6876: 0x136,
|
|
1517
|
+
_0x2b874f: 0x1ab,
|
|
1518
|
+
_0x1369d1: 0x246,
|
|
1519
|
+
_0x2f4274: 0xe6,
|
|
1520
|
+
_0x17990c: 0x144,
|
|
1521
|
+
_0x209746: 0x1ce,
|
|
1522
|
+
_0x3358ae: 0x17f,
|
|
1523
|
+
_0xa47efb: 0xbd,
|
|
1524
|
+
_0x81ba70: 0x1d7
|
|
1525
|
+
}, _0x5980d6 = _0x77ce4b;
|
|
1526
|
+
if (_0xf98e3b[_0x5980d6(_0x56e7e2._0x668dc6)] === 0x0)
|
|
1530
1527
|
return 'No\x20tasks\x20claimed.';
|
|
1531
|
-
return
|
|
1532
|
-
const
|
|
1533
|
-
if (
|
|
1534
|
-
const
|
|
1535
|
-
if (
|
|
1536
|
-
const
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
][
|
|
1543
|
-
return
|
|
1528
|
+
return _0xf98e3b['map'](_0x5902bf => {
|
|
1529
|
+
const _0xd46be4 = _0x5980d6;
|
|
1530
|
+
if (_0x5902bf[_0xd46be4(_0x338681._0x2c7a6e)]) {
|
|
1531
|
+
const _0x5e84b2 = _0x5902bf[_0xd46be4(0xda)] == null ? '(legacy)' : _0x5902bf['subtaskNumber'] != null ? '#' + _0x5902bf[_0xd46be4(0xda)] + '.' + _0x5902bf[_0xd46be4(_0x338681._0x3d9a1e)] : '#' + _0x5902bf[_0xd46be4(_0x338681._0x1560bd)], _0x26bbcc = _0x5902bf[_0xd46be4(_0x338681._0x5d1546)] ? _0xd46be4(0x1bf) + _0x5902bf[_0xd46be4(0x15e)] : '';
|
|
1532
|
+
if (_0x5902bf[_0xd46be4(_0x338681._0x484a9e)]) {
|
|
1533
|
+
const _0xaba746 = [
|
|
1534
|
+
_0xd46be4(_0x338681._0x2b6876),
|
|
1535
|
+
_0x5902bf['stopMain'] ? _0xd46be4(_0x338681._0x2b874f) : null,
|
|
1536
|
+
_0x5902bf['executionMode'] ? _0xd46be4(_0x338681._0x1369d1) + _0x5902bf['executionMode'] : null,
|
|
1537
|
+
_0x5902bf['threadTarget'] ? _0xd46be4(0x1d3) + _0x5902bf[_0xd46be4(_0x338681._0x2f4274)] : null,
|
|
1538
|
+
_0x5902bf[_0xd46be4(_0x338681._0x17990c)] ? _0xd46be4(_0x338681._0x209746) + _0x5902bf[_0xd46be4(0x144)] : null
|
|
1539
|
+
][_0xd46be4(0x1bd)](Boolean)[_0xd46be4(0x172)]('\x20');
|
|
1540
|
+
return _0x5e84b2 + _0xd46be4(_0x338681._0x3358ae) + _0x26bbcc + '\x20' + _0xaba746 + '\x0a⚠️\x20WORKER\x20ACTIVATED\x20—\x20Stop\x20ALL\x20work\x20on\x20this\x20task\x20immediately.\x20Worker\x20handles\x20execution\x20end-to-end.';
|
|
1544
1541
|
}
|
|
1545
|
-
const
|
|
1546
|
-
return
|
|
1542
|
+
const _0x424ead = _0x5902bf['workerHandoffError'] ? _0xd46be4(_0x338681._0xa47efb) + _0x5902bf[_0xd46be4(0x185)] : '';
|
|
1543
|
+
return _0x5e84b2 + '\x20claimed' + _0x26bbcc + _0x424ead;
|
|
1547
1544
|
}
|
|
1548
|
-
const
|
|
1549
|
-
return
|
|
1550
|
-
})[
|
|
1545
|
+
const _0x47ea16 = _0x5902bf[_0xd46be4(0xda)] == null ? _0x5902bf['messageId'] ?? _0xd46be4(0xd9) : '#' + _0x5902bf[_0xd46be4(_0x338681._0x1560bd)];
|
|
1546
|
+
return _0x47ea16 + _0xd46be4(0xe4) + (_0x5902bf[_0xd46be4(0x1aa)] ?? _0xd46be4(_0x338681._0x81ba70));
|
|
1547
|
+
})[_0x5980d6(_0x56e7e2._0x17a08e)]('\x0a');
|
|
1551
1548
|
}
|
|
1552
|
-
function formatUnclaimTaskResult(
|
|
1553
|
-
const
|
|
1554
|
-
|
|
1549
|
+
function formatUnclaimTaskResult(_0x846aec) {
|
|
1550
|
+
const _0x2d4ae5 = {
|
|
1551
|
+
_0x15ee15: 0x156,
|
|
1552
|
+
_0x4eeae5: 0xda
|
|
1553
|
+
}, _0x12fb05 = _0x77ce4b, _0x2d6bc2 = _0x846aec[_0x12fb05(0xda)] == null ? _0x12fb05(0x23f) : _0x846aec[_0x12fb05(_0x2d4ae5._0x15ee15)] != null ? '#' + _0x846aec[_0x12fb05(_0x2d4ae5._0x4eeae5)] + '.' + _0x846aec[_0x12fb05(0x156)] : '#' + _0x846aec['taskNumber'];
|
|
1554
|
+
return _0x2d6bc2 + _0x12fb05(0x193) + _0x846aec[_0x12fb05(0x12e)];
|
|
1555
1555
|
}
|
|
1556
|
-
function formatUpdateTaskStatusResult(
|
|
1557
|
-
const
|
|
1558
|
-
|
|
1556
|
+
function formatUpdateTaskStatusResult(_0x2c672b) {
|
|
1557
|
+
const _0x1c6086 = {
|
|
1558
|
+
_0x5f3727: 0xda,
|
|
1559
|
+
_0x4c0106: 0x156,
|
|
1560
|
+
_0x50d98b: 0xda
|
|
1561
|
+
}, _0x21e892 = _0x77ce4b, _0x224e74 = _0x2c672b[_0x21e892(_0x1c6086._0x5f3727)] == null ? _0x21e892(0x23f) : _0x2c672b[_0x21e892(_0x1c6086._0x4c0106)] != null ? '#' + _0x2c672b[_0x21e892(_0x1c6086._0x5f3727)] + '.' + _0x2c672b[_0x21e892(_0x1c6086._0x4c0106)] : '#' + _0x2c672b[_0x21e892(_0x1c6086._0x50d98b)];
|
|
1562
|
+
return _0x224e74 + '\x20status=' + _0x2c672b['status'];
|
|
1559
1563
|
}
|
|
1560
1564
|
function getChatBridgeToolDefinitions() {
|
|
1561
|
-
const
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1565
|
+
const _0x5f2ebc = {
|
|
1566
|
+
_0x5e2768: 0x131,
|
|
1567
|
+
_0x5318b9: 0x18b,
|
|
1568
|
+
_0x143801: 0x180,
|
|
1569
|
+
_0x5d762d: 0x163,
|
|
1570
|
+
_0x443357: 0x148,
|
|
1571
|
+
_0x2b52e9: 0x1d0
|
|
1572
|
+
}, _0x344d5d = _0x77ce4b;
|
|
1567
1573
|
return [
|
|
1568
|
-
{ 'name':
|
|
1574
|
+
{ 'name': _0x344d5d(_0x5f2ebc._0x5e2768) },
|
|
1569
1575
|
{ 'name': 'check_messages' },
|
|
1570
|
-
{ 'name':
|
|
1571
|
-
{ 'name':
|
|
1576
|
+
{ 'name': _0x344d5d(_0x5f2ebc._0x5318b9) },
|
|
1577
|
+
{ 'name': _0x344d5d(0xb9) },
|
|
1572
1578
|
{ 'name': 'upload_file' },
|
|
1573
|
-
{ 'name':
|
|
1574
|
-
{ 'name':
|
|
1575
|
-
{ 'name':
|
|
1576
|
-
{ 'name':
|
|
1577
|
-
{ 'name':
|
|
1578
|
-
{ 'name':
|
|
1579
|
-
{ 'name':
|
|
1580
|
-
{ 'name':
|
|
1581
|
-
{ 'name':
|
|
1582
|
-
{ 'name':
|
|
1579
|
+
{ 'name': _0x344d5d(_0x5f2ebc._0x143801) },
|
|
1580
|
+
{ 'name': 'list_tasks' },
|
|
1581
|
+
{ 'name': _0x344d5d(_0x5f2ebc._0x5d762d) },
|
|
1582
|
+
{ 'name': 'claim_tasks' },
|
|
1583
|
+
{ 'name': _0x344d5d(_0x5f2ebc._0x443357) },
|
|
1584
|
+
{ 'name': 'update_task_status' },
|
|
1585
|
+
{ 'name': _0x344d5d(0x231) },
|
|
1586
|
+
{ 'name': _0x344d5d(0x1f8) },
|
|
1587
|
+
{ 'name': _0x344d5d(_0x5f2ebc._0x2b52e9) },
|
|
1588
|
+
{ 'name': _0x344d5d(0x1a1) }
|
|
1583
1589
|
];
|
|
1584
1590
|
}
|
|
1585
|
-
function createChatBridgeHandlers(
|
|
1586
|
-
const
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
},
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
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
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1591
|
+
function createChatBridgeHandlers(_0x1423f4) {
|
|
1592
|
+
const _0x1db53f = {
|
|
1593
|
+
_0x4ef7a1: 0x168,
|
|
1594
|
+
_0x2e50f4: 0x20e
|
|
1595
|
+
}, _0x3e4170 = {
|
|
1596
|
+
_0x54aba4: 0x1f4,
|
|
1597
|
+
_0x6c3ce: 0xf4,
|
|
1598
|
+
_0x2d9516: 0x14d,
|
|
1599
|
+
_0x10486d: 0x1d6
|
|
1600
|
+
}, _0x1d03c = {
|
|
1601
|
+
_0x33f496: 0x1f4,
|
|
1602
|
+
_0x594420: 0x216,
|
|
1603
|
+
_0x312b4c: 0x112,
|
|
1604
|
+
_0x1efdbb: 0x19e,
|
|
1605
|
+
_0x4e0410: 0x11e,
|
|
1606
|
+
_0x4757ef: 0x1a4
|
|
1607
|
+
}, _0x4313a3 = {
|
|
1608
|
+
_0x26f4ee: 0xdc,
|
|
1609
|
+
_0x3ad986: 0x1dc,
|
|
1610
|
+
_0x3c13ae: 0x11e,
|
|
1611
|
+
_0x282fa5: 0xc5
|
|
1612
|
+
}, _0x253e2f = {
|
|
1613
|
+
_0x1c5026: 0xd8,
|
|
1614
|
+
_0x2540fa: 0xc6,
|
|
1615
|
+
_0x2cb4a2: 0x11e,
|
|
1616
|
+
_0x6a8d90: 0x19e,
|
|
1617
|
+
_0x58d0a4: 0x1dc,
|
|
1618
|
+
_0x3110ac: 0x1dc,
|
|
1619
|
+
_0x5cd365: 0x11e
|
|
1620
|
+
}, _0x376121 = {
|
|
1621
|
+
_0x100aa6: 0x19b,
|
|
1622
|
+
_0x3b5019: 0x155,
|
|
1623
|
+
_0x3e832f: 0x1c7
|
|
1624
|
+
}, _0x38e71d = {
|
|
1625
|
+
_0xb40706: 0x1c6,
|
|
1626
|
+
_0x225744: 0x214
|
|
1627
|
+
}, _0x2063b0 = {
|
|
1628
|
+
_0x3953e6: 0x1d4,
|
|
1629
|
+
_0x4c7f4d: 0x167
|
|
1630
|
+
}, _0x5c01d4 = {
|
|
1631
|
+
_0x13446f: 0xba,
|
|
1632
|
+
_0x4034ee: 0x1cf,
|
|
1633
|
+
_0x3a2ac5: 0x138
|
|
1634
|
+
}, _0x17001a = {
|
|
1635
|
+
_0x114449: 0x146,
|
|
1636
|
+
_0x87ebca: 0x134,
|
|
1637
|
+
_0x54ce4d: 0xe7,
|
|
1638
|
+
_0x5ed3c5: 0x167,
|
|
1639
|
+
_0x2bffcd: 0x1a8,
|
|
1640
|
+
_0x2c10c7: 0x240,
|
|
1641
|
+
_0x8f27f8: 0xf7
|
|
1642
|
+
}, _0x1ab349 = { _0x2b2aa8: 0x163 }, _0x5f4dc5 = {
|
|
1643
|
+
_0x56ad80: 0x1f4,
|
|
1644
|
+
_0x1080ad: 0xba,
|
|
1645
|
+
_0x21ed2d: 0x1b8,
|
|
1646
|
+
_0x3320d9: 0x133,
|
|
1647
|
+
_0x47c8bc: 0xed,
|
|
1648
|
+
_0x5714e7: 0xda,
|
|
1649
|
+
_0x3c4980: 0x11c,
|
|
1650
|
+
_0xd34cc8: 0xed,
|
|
1651
|
+
_0x4a718a: 0xed
|
|
1652
|
+
}, _0x1ae460 = { _0x57a2ab: 0x1eb }, _0x298ff5 = { _0x1feda4: 0x19d }, _0x2b9617 = { _0x47917e: 0x16e }, _0x1deb74 = {
|
|
1653
|
+
_0x1166a4: 0x14a,
|
|
1654
|
+
_0x16ec6d: 0x1f4,
|
|
1655
|
+
_0x1aebfd: 0x167,
|
|
1656
|
+
_0xa0cbca: 0x1b9,
|
|
1657
|
+
_0x42be42: 0x229,
|
|
1658
|
+
_0xb7629f: 0x204,
|
|
1659
|
+
_0x3456f0: 0xda,
|
|
1660
|
+
_0x593951: 0x1b9,
|
|
1661
|
+
_0x35dfef: 0x1ac,
|
|
1662
|
+
_0x541ee8: 0x229,
|
|
1663
|
+
_0x19064a: 0x1a0,
|
|
1664
|
+
_0x5c77ce: 0x172,
|
|
1665
|
+
_0x2f9b88: 0x135,
|
|
1666
|
+
_0x1fee48: 0x225,
|
|
1667
|
+
_0x233ec3: 0x120,
|
|
1668
|
+
_0x5d327b: 0xf8,
|
|
1669
|
+
_0xd3043c: 0x202,
|
|
1670
|
+
_0x4d1388: 0x1a9,
|
|
1671
|
+
_0x20af05: 0x201,
|
|
1672
|
+
_0x50616a: 0x204,
|
|
1673
|
+
_0x3a55c6: 0x12b,
|
|
1674
|
+
_0x401fe5: 0x19e,
|
|
1675
|
+
_0x528fa1: 0xfa,
|
|
1676
|
+
_0x2d78e6: 0x1ca,
|
|
1677
|
+
_0x735711: 0xfd,
|
|
1678
|
+
_0x2f9d06: 0x1b9,
|
|
1679
|
+
_0x3e8485: 0xcb,
|
|
1680
|
+
_0x4eab13: 0x166
|
|
1681
|
+
}, _0x16242b = {
|
|
1682
|
+
_0x1e65c0: 0x201,
|
|
1683
|
+
_0x49be13: 0x1b8,
|
|
1684
|
+
_0x40ff58: 0x187
|
|
1685
|
+
}, _0x1deec9 = {
|
|
1686
|
+
_0x8ad15b: 0x1f4,
|
|
1687
|
+
_0x10570b: 0x17e,
|
|
1688
|
+
_0x438e14: 0x201,
|
|
1689
|
+
_0x3163a7: 0x19e,
|
|
1690
|
+
_0x2fded8: 0x143,
|
|
1691
|
+
_0x4bef18: 0x133,
|
|
1692
|
+
_0xf2b9ba: 0x13c,
|
|
1693
|
+
_0x205aff: 0x133
|
|
1694
|
+
}, _0x5ad453 = {
|
|
1695
|
+
_0x37c804: 0xba,
|
|
1696
|
+
_0x1337e3: 0x15e,
|
|
1697
|
+
_0x18d1cd: 0x16e,
|
|
1698
|
+
_0x151cee: 0x230,
|
|
1699
|
+
_0x1699e2: 0xda,
|
|
1700
|
+
_0x5e0d54: 0x135,
|
|
1701
|
+
_0x3b1ed0: 0x15e,
|
|
1702
|
+
_0x53850c: 0xf9,
|
|
1703
|
+
_0x2b5a9c: 0x225,
|
|
1704
|
+
_0xaa2b18: 0x1ea,
|
|
1705
|
+
_0x14b122: 0x202,
|
|
1706
|
+
_0x1f77d2: 0x198,
|
|
1707
|
+
_0x438c90: 0x1a9,
|
|
1708
|
+
_0x2c9f97: 0xdc,
|
|
1709
|
+
_0x130321: 0x112,
|
|
1710
|
+
_0x248270: 0x201,
|
|
1711
|
+
_0x2f20cb: 0x12b,
|
|
1712
|
+
_0x2be5d3: 0xef,
|
|
1713
|
+
_0x3b4e8f: 0x19e,
|
|
1714
|
+
_0x31e2ec: 0x14d,
|
|
1715
|
+
_0x4b11a2: 0x104,
|
|
1716
|
+
_0x14228a: 0x1f2,
|
|
1717
|
+
_0x435d06: 0x115
|
|
1718
|
+
}, _0x5acba3 = {
|
|
1719
|
+
_0xbdb81a: 0x178,
|
|
1720
|
+
_0x292681: 0x15a
|
|
1721
|
+
}, _0x3727a4 = _0x77ce4b;
|
|
1722
|
+
function _0x5af70d(_0x29f296, _0x7fe21b) {
|
|
1723
|
+
const _0x119c97 = _0x4210;
|
|
1724
|
+
if (!_0x1423f4[_0x119c97(0x14a)])
|
|
1711
1725
|
return;
|
|
1712
|
-
if (!
|
|
1713
|
-
throw new Error(
|
|
1714
|
-
if (
|
|
1715
|
-
throw new Error(
|
|
1726
|
+
if (!_0x1423f4[_0x119c97(0x178)])
|
|
1727
|
+
throw new Error(_0x29f296 + _0x119c97(0x203));
|
|
1728
|
+
if (_0x7fe21b !== _0x1423f4[_0x119c97(_0x5acba3._0xbdb81a)])
|
|
1729
|
+
throw new Error(_0x29f296 + _0x119c97(0x189) + _0x1423f4[_0x119c97(0x178)] + _0x119c97(_0x5acba3._0x292681) + _0x7fe21b);
|
|
1716
1730
|
}
|
|
1717
|
-
async function
|
|
1718
|
-
const
|
|
1719
|
-
if (!
|
|
1731
|
+
async function _0xc552ae(_0xefd027) {
|
|
1732
|
+
const _0x37ec20 = _0x4210;
|
|
1733
|
+
if (!_0x1423f4[_0x37ec20(0x1f4)] || !_0x1423f4['agentId'] || _0x1423f4['workerMode'] || _0x1423f4[_0x37ec20(0x211)] !== !![])
|
|
1720
1734
|
return null;
|
|
1721
|
-
const
|
|
1722
|
-
if (
|
|
1735
|
+
const _0x169c28 = parseTarget(_0xefd027[_0x37ec20(0xba)]);
|
|
1736
|
+
if (_0x169c28[_0x37ec20(0x15f)] !== _0x37ec20(_0x5ad453._0x37c804))
|
|
1723
1737
|
return null;
|
|
1724
|
-
const
|
|
1725
|
-
let
|
|
1738
|
+
const _0x2c375b = _0xefd027['threadNumber'] != null ? _0x169c28[_0x37ec20(0x241)] + ':t' + _0xefd027['threadNumber'] : _0x169c28['channelTarget'] + ':' + _0xefd027[_0x37ec20(_0x5ad453._0x1337e3)];
|
|
1739
|
+
let _0x2c4afe;
|
|
1726
1740
|
try {
|
|
1727
|
-
const
|
|
1728
|
-
'channel':
|
|
1741
|
+
const _0x19d6d2 = await _0x1423f4['client']['readHistory']({
|
|
1742
|
+
'channel': _0x2c375b,
|
|
1729
1743
|
'limit': 0x14
|
|
1730
1744
|
});
|
|
1731
|
-
|
|
1745
|
+
_0x2c4afe = _0x19d6d2[_0x37ec20(_0x5ad453._0x18d1cd)][_0x37ec20(_0x5ad453._0x151cee)](_0x37bc8e => _0x37bc8e[_0x37ec20(0x15e)] === _0xefd027[_0x37ec20(0x15e)]);
|
|
1732
1746
|
} catch {
|
|
1733
|
-
|
|
1747
|
+
_0x2c4afe = void 0x0;
|
|
1734
1748
|
}
|
|
1735
|
-
const
|
|
1736
|
-
|
|
1749
|
+
const _0x355549 = _0xefd027[_0x37ec20(_0x5ad453._0x1699e2)] == null ? '(legacy)' : '#' + _0xefd027[_0x37ec20(0xda)], _0x364bf6 = [
|
|
1750
|
+
_0x37ec20(_0x5ad453._0x5e0d54) + _0x2c375b + '\x20msg=' + _0xefd027[_0x37ec20(_0x5ad453._0x3b1ed0)][_0x37ec20(0x23d)](0x0, 0x8) + _0x37ec20(_0x5ad453._0x53850c) + new Date()[_0x37ec20(_0x5ad453._0x2b5a9c)]() + _0x37ec20(0x10c) + _0x355549 + _0x37ec20(_0x5ad453._0xaa2b18),
|
|
1737
1751
|
'',
|
|
1738
|
-
|
|
1752
|
+
_0x2c4afe ? _0x37ec20(0x1a7) + _0x2c4afe[_0x37ec20(_0x5ad453._0x14b122)] : 'Root\x20task\x20message\x20id:\x20' + _0xefd027['messageId'],
|
|
1739
1753
|
'',
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
][
|
|
1743
|
-
'method':
|
|
1744
|
-
'headers': { 'Content-Type':
|
|
1745
|
-
'body': JSON[
|
|
1746
|
-
'agent_id':
|
|
1747
|
-
'thread_target':
|
|
1754
|
+
_0x37ec20(0x212) + _0x2c375b,
|
|
1755
|
+
_0x37ec20(_0x5ad453._0x1f77d2)
|
|
1756
|
+
]['join']('\x0a'), _0x447ed8 = await fetch(_0x1423f4[_0x37ec20(0x1f4)] + _0x37ec20(_0x5ad453._0x438c90), {
|
|
1757
|
+
'method': _0x37ec20(0xf4),
|
|
1758
|
+
'headers': { 'Content-Type': _0x37ec20(_0x5ad453._0x2c9f97) },
|
|
1759
|
+
'body': JSON[_0x37ec20(_0x5ad453._0x130321)]({
|
|
1760
|
+
'agent_id': _0x1423f4[_0x37ec20(_0x5ad453._0x248270)],
|
|
1761
|
+
'thread_target': _0x2c375b,
|
|
1748
1762
|
'spawn_packet': {
|
|
1749
|
-
'replyTarget':
|
|
1750
|
-
...
|
|
1763
|
+
'replyTarget': _0x2c375b,
|
|
1764
|
+
..._0xefd027[_0x37ec20(_0x5ad453._0x2f20cb)] ? { 'taskId': _0xefd027[_0x37ec20(0x12b)] } : _0xefd027[_0x37ec20(0xda)] != null ? { 'taskId': _0x37ec20(_0x5ad453._0x2be5d3) + _0xefd027[_0x37ec20(0xda)] } : {}
|
|
1751
1765
|
},
|
|
1752
1766
|
'payload': {
|
|
1753
|
-
'mode':
|
|
1754
|
-
'text':
|
|
1767
|
+
'mode': _0x37ec20(0x23c),
|
|
1768
|
+
'text': _0x364bf6
|
|
1755
1769
|
}
|
|
1756
1770
|
})
|
|
1757
|
-
}),
|
|
1758
|
-
if (!
|
|
1759
|
-
throw new Error(
|
|
1771
|
+
}), _0x2e1acc = await _0x447ed8[_0x37ec20(_0x5ad453._0x3b4e8f)]();
|
|
1772
|
+
if (!_0x2e1acc['ok'])
|
|
1773
|
+
throw new Error(_0x2e1acc[_0x37ec20(_0x5ad453._0x31e2ec)] ?? 'worker\x20handoff\x20failed');
|
|
1760
1774
|
return {
|
|
1761
1775
|
'stopMain': !![],
|
|
1762
|
-
'threadTarget':
|
|
1763
|
-
'workerDisposition':
|
|
1776
|
+
'threadTarget': _0x2c375b,
|
|
1777
|
+
'workerDisposition': _0x2e1acc[_0x37ec20(_0x5ad453._0x4b11a2)] === _0x37ec20(_0x5ad453._0x14228a) ? _0x37ec20(0x1f2) : _0x37ec20(_0x5ad453._0x435d06),
|
|
1764
1778
|
'workerHandoff': !![],
|
|
1765
|
-
'workerSessionId':
|
|
1766
|
-
'executionMode':
|
|
1779
|
+
'workerSessionId': _0x2e1acc[_0x37ec20(0x110)] ?? '',
|
|
1780
|
+
'executionMode': _0x37ec20(0x1da)
|
|
1767
1781
|
};
|
|
1768
1782
|
}
|
|
1769
|
-
async function
|
|
1770
|
-
const
|
|
1771
|
-
if (!
|
|
1783
|
+
async function _0x47f2d9() {
|
|
1784
|
+
const _0x56536a = _0x4210;
|
|
1785
|
+
if (!_0x1423f4[_0x56536a(_0x1deec9._0x8ad15b)] || !_0x1423f4[_0x56536a(0x201)] || _0x1423f4[_0x56536a(0x14a)])
|
|
1772
1786
|
return null;
|
|
1773
1787
|
try {
|
|
1774
|
-
const
|
|
1775
|
-
if (!
|
|
1788
|
+
const _0xf4e038 = await fetch(_0x1423f4[_0x56536a(_0x1deec9._0x8ad15b)] + _0x56536a(_0x1deec9._0x10570b) + encodeURIComponent(_0x1423f4[_0x56536a(_0x1deec9._0x438e14)])), _0x325ca6 = await _0xf4e038[_0x56536a(_0x1deec9._0x3163a7)]();
|
|
1789
|
+
if (!_0x325ca6['ok'])
|
|
1776
1790
|
return null;
|
|
1777
|
-
const
|
|
1778
|
-
for (const
|
|
1779
|
-
|
|
1791
|
+
const _0x5506d8 = new Set();
|
|
1792
|
+
for (const _0x51fd7c of _0x325ca6['workers']) {
|
|
1793
|
+
_0x51fd7c[_0x56536a(0x12e)] !== _0x56536a(_0x1deec9._0x2fded8) && _0x51fd7c[_0x56536a(_0x1deec9._0x4bef18)] && _0x5506d8[_0x56536a(_0x1deec9._0xf2b9ba)](_0x51fd7c[_0x56536a(_0x1deec9._0x205aff)]);
|
|
1780
1794
|
}
|
|
1781
|
-
return
|
|
1795
|
+
return _0x5506d8['size'] > 0x0 ? _0x5506d8 : null;
|
|
1782
1796
|
} catch {
|
|
1783
1797
|
return null;
|
|
1784
1798
|
}
|
|
1785
1799
|
}
|
|
1786
|
-
const
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1800
|
+
const _0x36e7a8 = new Set([
|
|
1801
|
+
_0x3727a4(_0x1db53f._0x4ef7a1),
|
|
1802
|
+
'idle',
|
|
1803
|
+
_0x3727a4(_0x1db53f._0x2e50f4)
|
|
1790
1804
|
]);
|
|
1791
|
-
async function
|
|
1792
|
-
const
|
|
1793
|
-
if (!
|
|
1805
|
+
async function _0x13d77c() {
|
|
1806
|
+
const _0x10c13b = _0x3727a4;
|
|
1807
|
+
if (!_0x1423f4[_0x10c13b(0x1f4)] || !_0x1423f4[_0x10c13b(_0x16242b._0x1e65c0)] || _0x1423f4[_0x10c13b(0x14a)])
|
|
1794
1808
|
return null;
|
|
1795
1809
|
try {
|
|
1796
|
-
const
|
|
1797
|
-
if (!
|
|
1810
|
+
const _0x3ffa58 = await fetch(_0x1423f4[_0x10c13b(0x1f4)] + '/workers/list?agent_id=' + encodeURIComponent(_0x1423f4['agentId'])), _0x39dcb7 = await _0x3ffa58[_0x10c13b(0x19e)]();
|
|
1811
|
+
if (!_0x39dcb7['ok'])
|
|
1798
1812
|
return null;
|
|
1799
|
-
const
|
|
1800
|
-
for (const
|
|
1801
|
-
|
|
1813
|
+
const _0x27deb1 = new Set();
|
|
1814
|
+
for (const _0x19576a of _0x39dcb7[_0x10c13b(_0x16242b._0x49be13)]) {
|
|
1815
|
+
_0x36e7a8[_0x10c13b(0x1d8)](_0x19576a['status']) && _0x19576a[_0x10c13b(0x133)] && _0x27deb1[_0x10c13b(0x13c)](_0x19576a['thread_target']);
|
|
1802
1816
|
}
|
|
1803
|
-
return
|
|
1817
|
+
return _0x27deb1[_0x10c13b(_0x16242b._0x40ff58)] > 0x0 ? _0x27deb1 : null;
|
|
1804
1818
|
} catch {
|
|
1805
1819
|
return null;
|
|
1806
1820
|
}
|
|
1807
1821
|
}
|
|
1808
1822
|
return {
|
|
1809
|
-
async 'send_message'(
|
|
1810
|
-
const
|
|
1811
|
-
if (!
|
|
1812
|
-
const
|
|
1813
|
-
if (
|
|
1814
|
-
const
|
|
1815
|
-
if (
|
|
1823
|
+
async 'send_message'(_0x467ba3) {
|
|
1824
|
+
const _0x5c9f80 = _0x3727a4;
|
|
1825
|
+
if (!_0x1423f4[_0x5c9f80(_0x1deb74._0x1166a4)] && _0x1423f4['workerModeEnabled'] && _0x1423f4[_0x5c9f80(_0x1deb74._0x16ec6d)] && _0x1423f4[_0x5c9f80(0x201)]) {
|
|
1826
|
+
const _0x129720 = await _0x1423f4[_0x5c9f80(_0x1deb74._0x1aebfd)][_0x5c9f80(0x182)](_0x467ba3[_0x5c9f80(_0x1deb74._0xa0cbca)]);
|
|
1827
|
+
if (_0x129720[_0x5c9f80(0x204)] && _0x129720[_0x5c9f80(_0x1deb74._0x42be42)]) {
|
|
1828
|
+
const _0x205530 = _0x129720['task'][_0x5c9f80(0xda)] != null ? '#' + _0x129720[_0x5c9f80(_0x1deb74._0xb7629f)][_0x5c9f80(_0x1deb74._0x3456f0)] : '(legacy)', _0x5e61aa = _0x129720[_0x5c9f80(0x1ac)] != null ? _0x129720[_0x5c9f80(_0x1deb74._0x593951)] + ':t' + _0x129720[_0x5c9f80(_0x1deb74._0x35dfef)] : _0x129720[_0x5c9f80(_0x1deb74._0x593951)] + ':' + _0x129720[_0x5c9f80(_0x1deb74._0x541ee8)][_0x5c9f80(0x23d)](0x0, 0x8), _0x413c80 = await _0x13d77c();
|
|
1829
|
+
if (_0x413c80?.['has'](_0x5e61aa))
|
|
1816
1830
|
return [
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
][
|
|
1820
|
-
const
|
|
1821
|
-
|
|
1831
|
+
_0x5c9f80(_0x1deb74._0x19064a) + _0x205530 + _0x5c9f80(0x194) + _0x5e61aa + '\x20already\x20has\x20an\x20active\x20worker.\x20stopMain=true\x20executionMode=worker',
|
|
1832
|
+
_0x5c9f80(0x15d)
|
|
1833
|
+
][_0x5c9f80(_0x1deb74._0x5c77ce)]('\x0a');
|
|
1834
|
+
const _0x297c9b = [
|
|
1835
|
+
_0x5c9f80(_0x1deb74._0x2f9b88) + _0x5e61aa + _0x5c9f80(0x13d) + new Date()[_0x5c9f80(_0x1deb74._0x1fee48)]() + _0x5c9f80(_0x1deb74._0x233ec3),
|
|
1822
1836
|
'',
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1837
|
+
_0x5c9f80(_0x1deb74._0x5d327b) + _0x467ba3[_0x5c9f80(_0x1deb74._0xd3043c)],
|
|
1838
|
+
'Task:\x20' + _0x205530 + '\x20(' + _0x129720[_0x5c9f80(_0x1deb74._0xb7629f)][_0x5c9f80(0x12b)] + ')',
|
|
1839
|
+
_0x5c9f80(0x212) + _0x5e61aa,
|
|
1826
1840
|
'Read\x20thread\x20history\x20before\x20taking\x20action.\x20Do\x20not\x20echo\x20this\x20message\x20to\x20the\x20thread.'
|
|
1827
|
-
][
|
|
1841
|
+
][_0x5c9f80(_0x1deb74._0x5c77ce)]('\x0a'), _0x11a6cd = await fetch(_0x1423f4[_0x5c9f80(0x1f4)] + _0x5c9f80(_0x1deb74._0x4d1388), {
|
|
1828
1842
|
'method': 'POST',
|
|
1829
|
-
'headers': { 'Content-Type':
|
|
1830
|
-
'body': JSON[
|
|
1831
|
-
'agent_id':
|
|
1832
|
-
'thread_target':
|
|
1843
|
+
'headers': { 'Content-Type': 'application/json' },
|
|
1844
|
+
'body': JSON['stringify']({
|
|
1845
|
+
'agent_id': _0x1423f4[_0x5c9f80(_0x1deb74._0x20af05)],
|
|
1846
|
+
'thread_target': _0x5e61aa,
|
|
1833
1847
|
'spawn_packet': {
|
|
1834
|
-
'replyTarget':
|
|
1835
|
-
'taskId':
|
|
1848
|
+
'replyTarget': _0x5e61aa,
|
|
1849
|
+
'taskId': _0x129720[_0x5c9f80(_0x1deb74._0x50616a)][_0x5c9f80(_0x1deb74._0x3a55c6)]
|
|
1836
1850
|
},
|
|
1837
1851
|
'payload': {
|
|
1838
|
-
'mode':
|
|
1839
|
-
'text':
|
|
1852
|
+
'mode': _0x5c9f80(0x23c),
|
|
1853
|
+
'text': _0x297c9b
|
|
1840
1854
|
}
|
|
1841
1855
|
})
|
|
1842
|
-
}),
|
|
1843
|
-
if (!
|
|
1844
|
-
throw new Error(
|
|
1856
|
+
}), _0xc5cbd2 = await _0x11a6cd[_0x5c9f80(_0x1deb74._0x401fe5)]();
|
|
1857
|
+
if (!_0xc5cbd2['ok'])
|
|
1858
|
+
throw new Error(_0xc5cbd2['error'] ?? _0x5c9f80(0x1ef));
|
|
1845
1859
|
return [
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
][
|
|
1860
|
+
'Handoff\x20to\x20worker\x20for\x20task\x20' + _0x205530 + _0x5c9f80(0x194) + _0x5e61aa + _0x5c9f80(_0x1deb74._0x528fa1),
|
|
1861
|
+
_0x5c9f80(_0x1deb74._0x2d78e6) + (_0xc5cbd2['disposition'] === _0x5c9f80(0x1f2) ? 'queued' : 'started') + '.',
|
|
1862
|
+
_0x5c9f80(0x1b2)
|
|
1863
|
+
][_0x5c9f80(0x172)]('\x0a');
|
|
1850
1864
|
}
|
|
1851
1865
|
}
|
|
1852
|
-
const
|
|
1853
|
-
'attachmentIds':
|
|
1854
|
-
'content':
|
|
1855
|
-
'target':
|
|
1856
|
-
'visibility':
|
|
1866
|
+
const _0xcf96a = await _0x1423f4[_0x5c9f80(0x167)][_0x5c9f80(_0x1deb74._0x735711)]({
|
|
1867
|
+
'attachmentIds': _0x467ba3[_0x5c9f80(0x1a3)],
|
|
1868
|
+
'content': _0x467ba3[_0x5c9f80(0x202)],
|
|
1869
|
+
'target': _0x467ba3[_0x5c9f80(_0x1deb74._0x2f9d06)],
|
|
1870
|
+
'visibility': _0x467ba3[_0x5c9f80(0x111)]
|
|
1857
1871
|
});
|
|
1858
|
-
return
|
|
1872
|
+
return _0x5c9f80(_0x1deb74._0x3e8485) + _0x467ba3['target'] + _0x5c9f80(_0x1deb74._0x4eab13) + _0xcf96a['messageId'];
|
|
1859
1873
|
},
|
|
1860
1874
|
async 'check_messages'() {
|
|
1861
|
-
const
|
|
1862
|
-
if (!
|
|
1863
|
-
const
|
|
1864
|
-
if (
|
|
1865
|
-
return formatCheckMessages(
|
|
1875
|
+
const _0x62dd63 = _0x3727a4, _0x77a0df = await _0x1423f4[_0x62dd63(0x167)][_0x62dd63(0xd5)]();
|
|
1876
|
+
if (!_0x1423f4['workerMode']) {
|
|
1877
|
+
const _0x1376b2 = await _0x47f2d9();
|
|
1878
|
+
if (_0x1376b2)
|
|
1879
|
+
return formatCheckMessages(_0x77a0df[_0x62dd63(_0x2b9617._0x47917e)]['filter'](_0x550747 => !_0x1376b2[_0x62dd63(0x1d8)](_0x550747['target'])));
|
|
1866
1880
|
}
|
|
1867
|
-
return formatCheckMessages(
|
|
1881
|
+
return formatCheckMessages(_0x77a0df[_0x62dd63(_0x2b9617._0x47917e)]);
|
|
1868
1882
|
},
|
|
1869
|
-
async 'read_history'(
|
|
1870
|
-
const
|
|
1871
|
-
return formatHistory(
|
|
1883
|
+
async 'read_history'(_0x3aef81) {
|
|
1884
|
+
const _0x9f5c4c = _0x3727a4, _0x5563d6 = await _0x1423f4[_0x9f5c4c(0x167)][_0x9f5c4c(_0x298ff5._0x1feda4)](_0x3aef81);
|
|
1885
|
+
return formatHistory(_0x5563d6);
|
|
1872
1886
|
},
|
|
1873
1887
|
async 'list_server'() {
|
|
1874
|
-
const
|
|
1875
|
-
return formatServerDirectory(
|
|
1888
|
+
const _0x1584fd = _0x3727a4, _0x349bcf = await _0x1423f4['client'][_0x1584fd(_0x1ae460._0x57a2ab)]();
|
|
1889
|
+
return formatServerDirectory(_0x349bcf);
|
|
1876
1890
|
},
|
|
1877
|
-
async 'list_tasks'(
|
|
1878
|
-
const
|
|
1879
|
-
let
|
|
1880
|
-
if (
|
|
1891
|
+
async 'list_tasks'(_0x5e988f) {
|
|
1892
|
+
const _0x292728 = _0x3727a4, _0x5e724c = await _0x1423f4[_0x292728(0x167)][_0x292728(0xdd)](_0x5e988f);
|
|
1893
|
+
let _0x1786c6;
|
|
1894
|
+
if (_0x1423f4['daemonLocalUrl'] && _0x1423f4['agentId'])
|
|
1881
1895
|
try {
|
|
1882
|
-
const
|
|
1883
|
-
if (
|
|
1884
|
-
const
|
|
1885
|
-
|
|
1886
|
-
for (const
|
|
1887
|
-
if (
|
|
1896
|
+
const _0x492d3a = await fetch(_0x1423f4[_0x292728(_0x5f4dc5._0x56ad80)] + _0x292728(0x17e) + encodeURIComponent(_0x1423f4['agentId'])), _0x5c7353 = await _0x492d3a[_0x292728(0x19e)]();
|
|
1897
|
+
if (_0x5c7353['ok']) {
|
|
1898
|
+
const _0x493cc3 = _0x5e988f[_0x292728(_0x5f4dc5._0x1080ad)] + ':';
|
|
1899
|
+
_0x1786c6 = new Set();
|
|
1900
|
+
for (const _0x4d708f of _0x5c7353[_0x292728(_0x5f4dc5._0x21ed2d)]) {
|
|
1901
|
+
if (_0x4d708f['status'] === _0x292728(0x143))
|
|
1888
1902
|
continue;
|
|
1889
|
-
if (
|
|
1890
|
-
const
|
|
1891
|
-
if (
|
|
1892
|
-
|
|
1903
|
+
if (_0x4d708f[_0x292728(_0x5f4dc5._0x3320d9)]?.['startsWith'](_0x493cc3)) {
|
|
1904
|
+
const _0x3344cc = _0x4d708f[_0x292728(_0x5f4dc5._0x3320d9)][_0x292728(0x23d)](_0x493cc3[_0x292728(0x146)]), _0x34dc85 = _0x5e724c[_0x292728(_0x5f4dc5._0x47c8bc)][_0x292728(0x230)](_0xafe803 => _0xafe803['messageId']?.[_0x292728(0x1c1)](_0x3344cc) === !![]);
|
|
1905
|
+
if (_0x34dc85?.[_0x292728(_0x5f4dc5._0x5714e7)] != null) {
|
|
1906
|
+
_0x1786c6['add'](_0x34dc85[_0x292728(_0x5f4dc5._0x5714e7)]);
|
|
1893
1907
|
continue;
|
|
1894
1908
|
}
|
|
1895
1909
|
}
|
|
1896
|
-
if (
|
|
1897
|
-
const
|
|
1898
|
-
|
|
1910
|
+
if (_0x4d708f[_0x292728(_0x5f4dc5._0x3c4980)]) {
|
|
1911
|
+
const _0x54ed4d = _0x5e724c[_0x292728(_0x5f4dc5._0xd34cc8)][_0x292728(0x230)](_0x377a8b => _0x377a8b[_0x292728(0x12b)] === _0x4d708f['task_id']);
|
|
1912
|
+
_0x54ed4d?.[_0x292728(0xda)] != null && _0x1786c6[_0x292728(0x13c)](_0x54ed4d['taskNumber']);
|
|
1899
1913
|
}
|
|
1900
1914
|
}
|
|
1901
1915
|
}
|
|
1902
1916
|
} catch {
|
|
1903
1917
|
}
|
|
1904
|
-
return formatTaskList(
|
|
1918
|
+
return formatTaskList(_0x5e724c[_0x292728(_0x5f4dc5._0x4a718a)], _0x1786c6);
|
|
1905
1919
|
},
|
|
1906
|
-
async 'create_tasks'(
|
|
1907
|
-
const
|
|
1908
|
-
|
|
1909
|
-
const
|
|
1910
|
-
return formatCreatedTasks(
|
|
1920
|
+
async 'create_tasks'(_0x8ed7bc) {
|
|
1921
|
+
const _0xbbd311 = _0x3727a4;
|
|
1922
|
+
_0x5af70d(_0xbbd311(_0x1ab349._0x2b2aa8), _0x8ed7bc['channel']);
|
|
1923
|
+
const _0x4bce9e = await _0x1423f4['client'][_0xbbd311(0x1d9)](_0x8ed7bc);
|
|
1924
|
+
return formatCreatedTasks(_0x4bce9e['tasks']);
|
|
1911
1925
|
},
|
|
1912
|
-
async 'claim_tasks'(
|
|
1913
|
-
const
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1926
|
+
async 'claim_tasks'(_0x3e35cc) {
|
|
1927
|
+
const _0x4756a5 = {
|
|
1928
|
+
_0x327087: 0x15e,
|
|
1929
|
+
_0x483de7: 0x15e,
|
|
1930
|
+
_0x31cc88: 0x12b,
|
|
1931
|
+
_0x888b6e: 0x1ac
|
|
1932
|
+
}, _0x40ad70 = _0x3727a4;
|
|
1933
|
+
if (_0x1423f4[_0x40ad70(0x14a)]) {
|
|
1934
|
+
_0x5af70d(_0x40ad70(0x21c), _0x3e35cc['channel']);
|
|
1935
|
+
if (_0x3e35cc[_0x40ad70(0x1f0)] && _0x3e35cc[_0x40ad70(0x1f0)][_0x40ad70(_0x17001a._0x114449)] > 0x0)
|
|
1936
|
+
throw new Error(_0x40ad70(0x1a5));
|
|
1937
|
+
if (!_0x3e35cc['subtask_numbers'] || _0x3e35cc[_0x40ad70(_0x17001a._0x87ebca)]['length'] === 0x0)
|
|
1938
|
+
throw new Error(_0x40ad70(_0x17001a._0x54ce4d));
|
|
1924
1939
|
}
|
|
1925
|
-
const
|
|
1926
|
-
const
|
|
1927
|
-
if (!
|
|
1928
|
-
return
|
|
1940
|
+
const _0x207bc7 = await _0x1423f4[_0x40ad70(_0x17001a._0x5ed3c5)][_0x40ad70(_0x17001a._0x2bffcd)](_0x3e35cc), _0x2825d1 = await Promise[_0x40ad70(_0x17001a._0x2c10c7)](_0x207bc7[_0x40ad70(0x1fd)][_0x40ad70(_0x17001a._0x8f27f8)](async _0x4dae3e => {
|
|
1941
|
+
const _0x149052 = _0x40ad70;
|
|
1942
|
+
if (!_0x4dae3e[_0x149052(0x21b)] || !_0x4dae3e[_0x149052(_0x4756a5._0x327087)])
|
|
1943
|
+
return _0x4dae3e;
|
|
1929
1944
|
try {
|
|
1930
|
-
const
|
|
1931
|
-
'channel':
|
|
1932
|
-
'messageId':
|
|
1933
|
-
'taskId':
|
|
1934
|
-
'taskNumber':
|
|
1935
|
-
'threadNumber':
|
|
1945
|
+
const _0x4e7f75 = await _0xc552ae({
|
|
1946
|
+
'channel': _0x3e35cc[_0x149052(0xba)],
|
|
1947
|
+
'messageId': _0x4dae3e[_0x149052(_0x4756a5._0x483de7)],
|
|
1948
|
+
'taskId': _0x4dae3e[_0x149052(_0x4756a5._0x31cc88)],
|
|
1949
|
+
'taskNumber': _0x4dae3e['taskNumber'],
|
|
1950
|
+
'threadNumber': _0x4dae3e[_0x149052(_0x4756a5._0x888b6e)]
|
|
1936
1951
|
});
|
|
1937
|
-
return
|
|
1938
|
-
...
|
|
1939
|
-
...
|
|
1940
|
-
} :
|
|
1941
|
-
} catch (
|
|
1952
|
+
return _0x4e7f75 ? {
|
|
1953
|
+
..._0x4dae3e,
|
|
1954
|
+
..._0x4e7f75
|
|
1955
|
+
} : _0x4dae3e;
|
|
1956
|
+
} catch (_0xf9fdcd) {
|
|
1942
1957
|
return {
|
|
1943
|
-
...
|
|
1944
|
-
'workerHandoffError':
|
|
1958
|
+
..._0x4dae3e,
|
|
1959
|
+
'workerHandoffError': _0xf9fdcd instanceof Error ? _0xf9fdcd['message'] : _0x149052(0x10f)
|
|
1945
1960
|
};
|
|
1946
1961
|
}
|
|
1947
1962
|
}));
|
|
1948
|
-
return formatClaimTaskResults(
|
|
1963
|
+
return formatClaimTaskResults(_0x2825d1);
|
|
1949
1964
|
},
|
|
1950
|
-
async 'unclaim_task'(
|
|
1951
|
-
const
|
|
1952
|
-
if (
|
|
1953
|
-
|
|
1954
|
-
if (
|
|
1955
|
-
throw new Error(
|
|
1965
|
+
async 'unclaim_task'(_0x39e5b1) {
|
|
1966
|
+
const _0x759094 = _0x3727a4;
|
|
1967
|
+
if (_0x1423f4['workerMode']) {
|
|
1968
|
+
_0x5af70d('unclaim_task', _0x39e5b1[_0x759094(_0x5c01d4._0x13446f)]);
|
|
1969
|
+
if (_0x39e5b1[_0x759094(_0x5c01d4._0x4034ee)] == null)
|
|
1970
|
+
throw new Error(_0x759094(_0x5c01d4._0x3a2ac5));
|
|
1956
1971
|
}
|
|
1957
|
-
const
|
|
1958
|
-
return formatUnclaimTaskResult(
|
|
1972
|
+
const _0x2f1d7b = await _0x1423f4['client'][_0x759094(0x247)](_0x39e5b1);
|
|
1973
|
+
return formatUnclaimTaskResult(_0x2f1d7b);
|
|
1959
1974
|
},
|
|
1960
|
-
async 'update_task_status'(
|
|
1961
|
-
const
|
|
1962
|
-
|
|
1963
|
-
const
|
|
1964
|
-
return formatUpdateTaskStatusResult(
|
|
1975
|
+
async 'update_task_status'(_0x741793) {
|
|
1976
|
+
const _0x534446 = _0x3727a4;
|
|
1977
|
+
_0x5af70d(_0x534446(_0x2063b0._0x3953e6), _0x741793[_0x534446(0xba)]);
|
|
1978
|
+
const _0xb3ddc6 = await _0x1423f4[_0x534446(_0x2063b0._0x4c7f4d)][_0x534446(0x123)](_0x741793);
|
|
1979
|
+
return formatUpdateTaskStatusResult(_0xb3ddc6);
|
|
1965
1980
|
},
|
|
1966
|
-
async 'upload_file'(
|
|
1967
|
-
const
|
|
1968
|
-
sizeBytes:
|
|
1969
|
-
...
|
|
1970
|
-
} =
|
|
1971
|
-
'channel':
|
|
1972
|
-
...
|
|
1981
|
+
async 'upload_file'(_0x4d7766) {
|
|
1982
|
+
const _0xce5a6a = _0x3727a4, _0x4193b3 = await _0x1423f4['uploadPreparer'](_0x4d7766[_0xce5a6a(_0x38e71d._0xb40706)]), {
|
|
1983
|
+
sizeBytes: _0x1e0d9d,
|
|
1984
|
+
..._0x3663d9
|
|
1985
|
+
} = _0x4193b3, _0xab27f4 = await _0x1423f4['client'][_0xce5a6a(_0x38e71d._0x225744)]({
|
|
1986
|
+
'channel': _0x4d7766[_0xce5a6a(0xba)],
|
|
1987
|
+
..._0x3663d9
|
|
1973
1988
|
});
|
|
1974
|
-
return formatUploadResult(
|
|
1989
|
+
return formatUploadResult(_0xab27f4);
|
|
1975
1990
|
},
|
|
1976
|
-
async 'view_file'(
|
|
1977
|
-
const
|
|
1978
|
-
if (
|
|
1979
|
-
return formatViewFileResult(
|
|
1980
|
-
const
|
|
1981
|
-
'attachmentId':
|
|
1982
|
-
'contentType':
|
|
1983
|
-
'data':
|
|
1984
|
-
'originalFilename':
|
|
1991
|
+
async 'view_file'(_0x51ddfb) {
|
|
1992
|
+
const _0x1de03f = _0x3727a4, _0x571f54 = await _0x1423f4['attachmentCache']['findCachedPath'](_0x51ddfb[_0x1de03f(0x19b)]);
|
|
1993
|
+
if (_0x571f54)
|
|
1994
|
+
return formatViewFileResult(_0x571f54, !![]);
|
|
1995
|
+
const _0x57e57c = await _0x1423f4[_0x1de03f(0x167)][_0x1de03f(0x117)](_0x51ddfb[_0x1de03f(_0x376121._0x100aa6)]), _0xed9b90 = await _0x1423f4[_0x1de03f(_0x376121._0x3b5019)][_0x1de03f(0x213)]({
|
|
1996
|
+
'attachmentId': _0x51ddfb[_0x1de03f(0x19b)],
|
|
1997
|
+
'contentType': _0x57e57c[_0x1de03f(_0x376121._0x3e832f)],
|
|
1998
|
+
'data': _0x57e57c['data'],
|
|
1999
|
+
'originalFilename': _0x57e57c['originalFilename']
|
|
1985
2000
|
});
|
|
1986
|
-
return formatViewFileResult(
|
|
2001
|
+
return formatViewFileResult(_0xed9b90, ![]);
|
|
1987
2002
|
},
|
|
1988
|
-
async 'get_worker_status'(
|
|
1989
|
-
const
|
|
1990
|
-
if (!
|
|
1991
|
-
return
|
|
1992
|
-
const
|
|
1993
|
-
if (!
|
|
1994
|
-
return
|
|
1995
|
-
return
|
|
2003
|
+
async 'get_worker_status'(_0x2eaa6c) {
|
|
2004
|
+
const _0x588873 = _0x3727a4;
|
|
2005
|
+
if (!_0x1423f4[_0x588873(0x1f4)])
|
|
2006
|
+
return _0x588873(_0x253e2f._0x1c5026);
|
|
2007
|
+
const _0x1dc2be = await fetch(_0x1423f4[_0x588873(0x1f4)] + _0x588873(_0x253e2f._0x2540fa) + encodeURIComponent(_0x2eaa6c[_0x588873(_0x253e2f._0x2cb4a2)])), _0x1c122d = await _0x1dc2be[_0x588873(_0x253e2f._0x6a8d90)]();
|
|
2008
|
+
if (!_0x1c122d['ok'])
|
|
2009
|
+
return _0x588873(_0x253e2f._0x58d0a4) + _0x2eaa6c['work_key'] + _0x588873(0x122);
|
|
2010
|
+
return _0x588873(_0x253e2f._0x3110ac) + _0x2eaa6c[_0x588873(_0x253e2f._0x5cd365)] + _0x588873(0x1e7) + _0x1c122d[_0x588873(0x12e)];
|
|
1996
2011
|
},
|
|
1997
|
-
async 'park_worker'(
|
|
1998
|
-
const
|
|
1999
|
-
if (!
|
|
2000
|
-
return
|
|
2001
|
-
const
|
|
2002
|
-
'method':
|
|
2003
|
-
'headers': { 'Content-Type':
|
|
2004
|
-
'body': JSON[
|
|
2005
|
-
}),
|
|
2006
|
-
if (!
|
|
2007
|
-
throw new Error(
|
|
2008
|
-
return
|
|
2012
|
+
async 'park_worker'(_0x1543cf) {
|
|
2013
|
+
const _0x3d758e = _0x3727a4;
|
|
2014
|
+
if (!_0x1423f4['daemonLocalUrl'])
|
|
2015
|
+
return _0x3d758e(0xd8);
|
|
2016
|
+
const _0x2aea52 = await fetch(_0x1423f4[_0x3d758e(0x1f4)] + _0x3d758e(0xcd), {
|
|
2017
|
+
'method': _0x3d758e(0xf4),
|
|
2018
|
+
'headers': { 'Content-Type': _0x3d758e(_0x4313a3._0x26f4ee) },
|
|
2019
|
+
'body': JSON['stringify']({ 'work_key': _0x1543cf[_0x3d758e(0x11e)] })
|
|
2020
|
+
}), _0x17ec14 = await _0x2aea52[_0x3d758e(0x19e)]();
|
|
2021
|
+
if (!_0x17ec14['ok'])
|
|
2022
|
+
throw new Error(_0x17ec14[_0x3d758e(0x14d)] ?? 'park_worker\x20failed');
|
|
2023
|
+
return _0x3d758e(_0x4313a3._0x3ad986) + _0x1543cf[_0x3d758e(_0x4313a3._0x3c13ae)] + _0x3d758e(_0x4313a3._0x282fa5);
|
|
2009
2024
|
},
|
|
2010
|
-
async 'mark_waiting_input'(
|
|
2011
|
-
const
|
|
2012
|
-
if (!
|
|
2013
|
-
return
|
|
2014
|
-
const
|
|
2025
|
+
async 'mark_waiting_input'(_0xa6987e) {
|
|
2026
|
+
const _0x16b204 = _0x3727a4;
|
|
2027
|
+
if (!_0x1423f4[_0x16b204(_0x1d03c._0x33f496)] || !_0x1423f4[_0x16b204(0x201)])
|
|
2028
|
+
return _0x16b204(_0x1d03c._0x594420);
|
|
2029
|
+
const _0xf7b9fa = await fetch(_0x1423f4[_0x16b204(0x1f4)] + _0x16b204(0x13b), {
|
|
2015
2030
|
'method': 'POST',
|
|
2016
|
-
'headers': { 'Content-Type':
|
|
2017
|
-
'body': JSON[
|
|
2018
|
-
'work_key':
|
|
2019
|
-
'agent_id':
|
|
2031
|
+
'headers': { 'Content-Type': _0x16b204(0xdc) },
|
|
2032
|
+
'body': JSON[_0x16b204(_0x1d03c._0x312b4c)]({
|
|
2033
|
+
'work_key': _0xa6987e[_0x16b204(0x11e)],
|
|
2034
|
+
'agent_id': _0x1423f4['agentId']
|
|
2020
2035
|
})
|
|
2021
|
-
}),
|
|
2022
|
-
if (!
|
|
2023
|
-
throw new Error(
|
|
2024
|
-
return
|
|
2036
|
+
}), _0x25060c = await _0xf7b9fa[_0x16b204(_0x1d03c._0x1efdbb)]();
|
|
2037
|
+
if (!_0x25060c['ok'])
|
|
2038
|
+
throw new Error(_0x25060c['error'] ?? _0x16b204(0xf0));
|
|
2039
|
+
return _0x16b204(0x1dc) + _0xa6987e[_0x16b204(_0x1d03c._0x4e0410)] + _0x16b204(_0x1d03c._0x4757ef);
|
|
2025
2040
|
},
|
|
2026
|
-
async 'escalate_to_main'(
|
|
2027
|
-
const
|
|
2028
|
-
if (!
|
|
2029
|
-
return
|
|
2030
|
-
const
|
|
2031
|
-
'method':
|
|
2032
|
-
'headers': { 'Content-Type':
|
|
2033
|
-
'body': JSON[
|
|
2034
|
-
'work_key':
|
|
2035
|
-
'reason':
|
|
2041
|
+
async 'escalate_to_main'(_0x179c6d) {
|
|
2042
|
+
const _0x192d95 = _0x3727a4;
|
|
2043
|
+
if (!_0x1423f4[_0x192d95(_0x3e4170._0x54aba4)])
|
|
2044
|
+
return 'Worker\x20features\x20not\x20available';
|
|
2045
|
+
const _0x11d1c7 = await fetch(_0x1423f4['daemonLocalUrl'] + _0x192d95(0x1f5), {
|
|
2046
|
+
'method': _0x192d95(_0x3e4170._0x6c3ce),
|
|
2047
|
+
'headers': { 'Content-Type': _0x192d95(0xdc) },
|
|
2048
|
+
'body': JSON['stringify']({
|
|
2049
|
+
'work_key': _0x179c6d[_0x192d95(0x11e)],
|
|
2050
|
+
'reason': _0x179c6d[_0x192d95(0x1aa)]
|
|
2036
2051
|
})
|
|
2037
|
-
}),
|
|
2038
|
-
if (!
|
|
2039
|
-
throw new Error(
|
|
2040
|
-
return
|
|
2052
|
+
}), _0x1bec12 = await _0x11d1c7['json']();
|
|
2053
|
+
if (!_0x1bec12['ok'])
|
|
2054
|
+
throw new Error(_0x1bec12[_0x192d95(_0x3e4170._0x2d9516)] ?? _0x192d95(_0x3e4170._0x10486d));
|
|
2055
|
+
return _0x192d95(0x236) + _0x179c6d[_0x192d95(0x1aa)];
|
|
2041
2056
|
}
|
|
2042
2057
|
};
|
|
2043
2058
|
}
|
|
2044
|
-
function textResult(
|
|
2045
|
-
const
|
|
2059
|
+
function textResult(_0x1ada2c, _0x3a528c = ![]) {
|
|
2060
|
+
const _0x459bb1 = _0x77ce4b;
|
|
2046
2061
|
return {
|
|
2047
2062
|
'content': [{
|
|
2048
|
-
'type':
|
|
2049
|
-
'text':
|
|
2063
|
+
'type': _0x459bb1(0x242),
|
|
2064
|
+
'text': _0x1ada2c
|
|
2050
2065
|
}],
|
|
2051
|
-
...
|
|
2066
|
+
..._0x3a528c ? { 'isError': !![] } : {}
|
|
2052
2067
|
};
|
|
2053
2068
|
}
|
|
2054
|
-
async function registerChatBridgeTools(
|
|
2055
|
-
const
|
|
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
|
-
|
|
2069
|
+
async function registerChatBridgeTools(_0x5391b9, _0x1364a7, _0x560ea8) {
|
|
2070
|
+
const _0x575365 = {
|
|
2071
|
+
_0x542bf2: 0x22d,
|
|
2072
|
+
_0x250a89: 0x131,
|
|
2073
|
+
_0x1ba32d: 0x1cb,
|
|
2074
|
+
_0x170289: 0x1d2,
|
|
2075
|
+
_0x2d2d5d: 0x1df,
|
|
2076
|
+
_0x5e6cb7: 0x12d,
|
|
2077
|
+
_0x4ed69e: 0x124,
|
|
2078
|
+
_0x177a87: 0x18b,
|
|
2079
|
+
_0x19e050: 0x1d2,
|
|
2080
|
+
_0x12c246: 0xb9,
|
|
2081
|
+
_0xdc0d23: 0x16a,
|
|
2082
|
+
_0x383448: 0x137,
|
|
2083
|
+
_0x52b624: 0x1df,
|
|
2084
|
+
_0x5382de: 0x113,
|
|
2085
|
+
_0x5b37cd: 0x116,
|
|
2086
|
+
_0x40abd3: 0x130,
|
|
2087
|
+
_0x4496ce: 0x1cb,
|
|
2088
|
+
_0x193f9f: 0x127,
|
|
2089
|
+
_0x2156b5: 0x217,
|
|
2090
|
+
_0x351417: 0x191,
|
|
2091
|
+
_0x48e366: 0x21c,
|
|
2092
|
+
_0x1d52df: 0x119,
|
|
2093
|
+
_0x663c39: 0xbe,
|
|
2094
|
+
_0x8ce38e: 0x119,
|
|
2095
|
+
_0x140765: 0xbe,
|
|
2096
|
+
_0x520015: 0x21a,
|
|
2097
|
+
_0x2f465e: 0x227,
|
|
2098
|
+
_0x200468: 0x1bb,
|
|
2099
|
+
_0x441598: 0xde,
|
|
2100
|
+
_0xc915e2: 0xbe,
|
|
2101
|
+
_0x23c1cd: 0x1d4,
|
|
2102
|
+
_0x503e87: 0x113,
|
|
2103
|
+
_0x5d326e: 0x116,
|
|
2104
|
+
_0x47a63a: 0x1cb,
|
|
2105
|
+
_0x48548a: 0x1cb,
|
|
2106
|
+
_0x49528b: 0x22d,
|
|
2107
|
+
_0x365def: 0x231,
|
|
2108
|
+
_0x9d5e14: 0x205,
|
|
2109
|
+
_0xa2a0f2: 0x1cb
|
|
2110
|
+
}, _0x5d2d80 = {
|
|
2111
|
+
_0x290399: 0x1a1,
|
|
2112
|
+
_0x2f901b: 0x196
|
|
2113
|
+
}, _0x102ace = { _0x2887a7: 0x1d0 }, _0x124aba = { _0x26cc7d: 0x196 }, _0x2a1e70 = {
|
|
2114
|
+
_0x9d2939: 0x231,
|
|
2115
|
+
_0x31af4c: 0x157
|
|
2116
|
+
}, _0x3bce40 = { _0x291584: 0x239 }, _0x902716 = { _0x4b1085: 0xc1 }, _0x5635b7 = { _0x2ff3bc: 0x196 }, _0x1f9631 = {
|
|
2117
|
+
_0x1cc852: 0x196,
|
|
2118
|
+
_0x1d6c44: 0x19c
|
|
2119
|
+
}, _0x544322 = { _0x456e90: 0x21c }, _0x697838 = {
|
|
2120
|
+
_0x269bc7: 0xd0,
|
|
2121
|
+
_0xc20f51: 0xe8
|
|
2122
|
+
}, _0x3d98ee = {
|
|
2123
|
+
_0x400965: 0xb9,
|
|
2124
|
+
_0x27b333: 0x118
|
|
2125
|
+
}, _0x592fc3 = { _0x235017: 0x196 }, _0x4aa75b = {
|
|
2126
|
+
_0x128618: 0x196,
|
|
2127
|
+
_0x5b34e9: 0x139
|
|
2128
|
+
}, _0x1bea5f = _0x77ce4b, {z: _0xb4e087} = await import(_0x1bea5f(0xf5));
|
|
2129
|
+
_0x5391b9[_0x1bea5f(_0x575365._0x542bf2)](_0x1bea5f(_0x575365._0x250a89), 'Send\x20a\x20message.\x20If\x20visibility\x20is\x20omitted,\x20the\x20message\x20is\x20public.\x20In\x20task\x20threads,\x20set\x20visibility:\x20aside\x20only\x20when\x20you\x20explicitly\x20want\x20an\x20aside.\x20Outside\x20threads,\x20do\x20not\x20set\x20visibility.\x20Reuse\x20the\x20exact\x20target\x20string\x20from\x20incoming\x20messages.', {
|
|
2130
|
+
'target': _0xb4e087[_0x1bea5f(_0x575365._0x1ba32d)](),
|
|
2131
|
+
'content': _0xb4e087[_0x1bea5f(_0x575365._0x1ba32d)](),
|
|
2132
|
+
'attachment_ids': _0xb4e087[_0x1bea5f(0x119)](_0xb4e087['string']())[_0x1bea5f(_0x575365._0x170289)](),
|
|
2133
|
+
'visibility': _0xb4e087[_0x1bea5f(_0x575365._0x2d2d5d)]([
|
|
2134
|
+
_0x1bea5f(_0x575365._0x5e6cb7),
|
|
2135
|
+
_0x1bea5f(0x1e9)
|
|
2136
|
+
])[_0x1bea5f(0x1d2)]()[_0x1bea5f(0x1ff)](_0x1bea5f(_0x575365._0x4ed69e))
|
|
2137
|
+
}, async _0x2dd9c7 => {
|
|
2138
|
+
const _0x2ffb66 = _0x1bea5f;
|
|
2119
2139
|
try {
|
|
2120
|
-
return textResult(await
|
|
2121
|
-
} catch (
|
|
2122
|
-
return textResult(
|
|
2140
|
+
return textResult(await _0x1364a7[_0x2ffb66(0x131)](_0x2dd9c7));
|
|
2141
|
+
} catch (_0x3f6642) {
|
|
2142
|
+
return textResult(_0x3f6642 instanceof Error ? _0x3f6642[_0x2ffb66(0x196)] : 'send_message\x20failed', !![]);
|
|
2123
2143
|
}
|
|
2124
|
-
}),
|
|
2125
|
-
const
|
|
2144
|
+
}), _0x5391b9['tool'](_0x1bea5f(0x165), 'Check\x20for\x20new\x20messages\x20without\x20waiting.', {}, async () => {
|
|
2145
|
+
const _0x12bb1c = _0x1bea5f;
|
|
2126
2146
|
try {
|
|
2127
|
-
return textResult(await
|
|
2128
|
-
} catch (
|
|
2129
|
-
return textResult(
|
|
2147
|
+
return textResult(await _0x1364a7['check_messages']());
|
|
2148
|
+
} catch (_0x4ae4a4) {
|
|
2149
|
+
return textResult(_0x4ae4a4 instanceof Error ? _0x4ae4a4[_0x12bb1c(_0x4aa75b._0x128618)] : _0x12bb1c(_0x4aa75b._0x5b34e9), !![]);
|
|
2130
2150
|
}
|
|
2131
|
-
}),
|
|
2132
|
-
'channel':
|
|
2133
|
-
'limit':
|
|
2134
|
-
'before':
|
|
2135
|
-
'after':
|
|
2136
|
-
}, async
|
|
2137
|
-
const
|
|
2151
|
+
}), _0x5391b9[_0x1bea5f(_0x575365._0x542bf2)](_0x1bea5f(_0x575365._0x177a87), _0x1bea5f(0x245), {
|
|
2152
|
+
'channel': _0xb4e087[_0x1bea5f(0x1cb)](),
|
|
2153
|
+
'limit': _0xb4e087[_0x1bea5f(0xbe)]()['optional'](),
|
|
2154
|
+
'before': _0xb4e087[_0x1bea5f(0xbe)]()['optional'](),
|
|
2155
|
+
'after': _0xb4e087[_0x1bea5f(0xbe)]()[_0x1bea5f(_0x575365._0x19e050)]()
|
|
2156
|
+
}, async _0xdbbce8 => {
|
|
2157
|
+
const _0x10c90e = _0x1bea5f;
|
|
2138
2158
|
try {
|
|
2139
|
-
return textResult(await
|
|
2140
|
-
} catch (
|
|
2141
|
-
return textResult(
|
|
2159
|
+
return textResult(await _0x1364a7['read_history'](_0xdbbce8));
|
|
2160
|
+
} catch (_0x13fb7d) {
|
|
2161
|
+
return textResult(_0x13fb7d instanceof Error ? _0x13fb7d[_0x10c90e(_0x592fc3._0x235017)] : 'read_history\x20failed', !![]);
|
|
2142
2162
|
}
|
|
2143
|
-
}),
|
|
2144
|
-
const
|
|
2163
|
+
}), _0x5391b9[_0x1bea5f(0x22d)](_0x1bea5f(_0x575365._0x12c246), _0x1bea5f(_0x575365._0xdc0d23), {}, async () => {
|
|
2164
|
+
const _0x258c46 = _0x1bea5f;
|
|
2145
2165
|
try {
|
|
2146
|
-
return textResult(await
|
|
2147
|
-
} catch (
|
|
2148
|
-
return textResult(
|
|
2166
|
+
return textResult(await _0x1364a7[_0x258c46(_0x3d98ee._0x400965)]());
|
|
2167
|
+
} catch (_0x4c2534) {
|
|
2168
|
+
return textResult(_0x4c2534 instanceof Error ? _0x4c2534[_0x258c46(0x196)] : _0x258c46(_0x3d98ee._0x27b333), !![]);
|
|
2149
2169
|
}
|
|
2150
|
-
}),
|
|
2151
|
-
'channel':
|
|
2152
|
-
'status':
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
])[
|
|
2158
|
-
}, async
|
|
2159
|
-
const
|
|
2170
|
+
}), _0x5391b9[_0x1bea5f(_0x575365._0x542bf2)](_0x1bea5f(0xd0), _0x1bea5f(_0x575365._0x383448), {
|
|
2171
|
+
'channel': _0xb4e087['string'](),
|
|
2172
|
+
'status': _0xb4e087[_0x1bea5f(_0x575365._0x52b624)]([
|
|
2173
|
+
_0x1bea5f(_0x575365._0x5382de),
|
|
2174
|
+
'in_progress',
|
|
2175
|
+
_0x1bea5f(_0x575365._0x5b37cd),
|
|
2176
|
+
_0x1bea5f(_0x575365._0x40abd3)
|
|
2177
|
+
])[_0x1bea5f(0x1d2)]()
|
|
2178
|
+
}, async _0x18806f => {
|
|
2179
|
+
const _0x1a5e75 = _0x1bea5f;
|
|
2160
2180
|
try {
|
|
2161
|
-
return textResult(await
|
|
2162
|
-
} catch (
|
|
2163
|
-
return textResult(
|
|
2181
|
+
return textResult(await _0x1364a7[_0x1a5e75(_0x697838._0x269bc7)](_0x18806f));
|
|
2182
|
+
} catch (_0x459c7e) {
|
|
2183
|
+
return textResult(_0x459c7e instanceof Error ? _0x459c7e['message'] : _0x1a5e75(_0x697838._0xc20f51), !![]);
|
|
2164
2184
|
}
|
|
2165
|
-
}),
|
|
2166
|
-
'channel':
|
|
2167
|
-
'idempotency_key':
|
|
2168
|
-
'tasks':
|
|
2169
|
-
'title':
|
|
2170
|
-
'description':
|
|
2171
|
-
'priority':
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
])[
|
|
2185
|
+
}), _0x5391b9['tool']('create_tasks', 'Create\x20one\x20or\x20more\x20tasks\x20in\x20a\x20channel.\x20In\x20a\x20thread\x20target\x20(e.g.\x20\x22#channel:threadId\x22),\x20creates\x20subtasks\x20under\x20the\x20existing\x20parent\x20task.', {
|
|
2186
|
+
'channel': _0xb4e087[_0x1bea5f(0x1cb)](),
|
|
2187
|
+
'idempotency_key': _0xb4e087[_0x1bea5f(_0x575365._0x1ba32d)]()['optional'](),
|
|
2188
|
+
'tasks': _0xb4e087[_0x1bea5f(0x119)](_0xb4e087[_0x1bea5f(0x227)]({
|
|
2189
|
+
'title': _0xb4e087[_0x1bea5f(_0x575365._0x4496ce)](),
|
|
2190
|
+
'description': _0xb4e087['string']()[_0x1bea5f(0x1d2)](),
|
|
2191
|
+
'priority': _0xb4e087['enum']([
|
|
2192
|
+
_0x1bea5f(_0x575365._0x193f9f),
|
|
2193
|
+
_0x1bea5f(_0x575365._0x2156b5),
|
|
2194
|
+
_0x1bea5f(0x19a),
|
|
2195
|
+
_0x1bea5f(_0x575365._0x351417)
|
|
2196
|
+
])[_0x1bea5f(0x1d2)]()
|
|
2177
2197
|
}))
|
|
2178
|
-
}, async
|
|
2179
|
-
const
|
|
2198
|
+
}, async _0x204e02 => {
|
|
2199
|
+
const _0x1368fa = _0x1bea5f;
|
|
2180
2200
|
try {
|
|
2181
|
-
return textResult(await
|
|
2182
|
-
} catch (
|
|
2183
|
-
return textResult(
|
|
2201
|
+
return textResult(await _0x1364a7[_0x1368fa(0x163)](_0x204e02));
|
|
2202
|
+
} catch (_0x5d2ff1) {
|
|
2203
|
+
return textResult(_0x5d2ff1 instanceof Error ? _0x5d2ff1['message'] : _0x1368fa(0x102), !![]);
|
|
2184
2204
|
}
|
|
2185
|
-
}),
|
|
2186
|
-
'channel':
|
|
2187
|
-
'task_numbers':
|
|
2188
|
-
'subtask_numbers':
|
|
2189
|
-
'message_ids':
|
|
2190
|
-
'evidence':
|
|
2191
|
-
'create_thread':
|
|
2192
|
-
'create_task':
|
|
2193
|
-
}))[
|
|
2194
|
-
'idempotency_key':
|
|
2195
|
-
}, async
|
|
2196
|
-
const
|
|
2205
|
+
}), _0x5391b9[_0x1bea5f(0x22d)](_0x1bea5f(_0x575365._0x48e366), 'Claim\x20tasks\x20in\x20a\x20channel\x20by\x20task\x20number\x20or\x20source\x20message.\x20For\x20subtasks\x20in\x20a\x20thread,\x20use\x20subtask_numbers\x20with\x20a\x20single\x20task_numbers\x20entry.', {
|
|
2206
|
+
'channel': _0xb4e087['string'](),
|
|
2207
|
+
'task_numbers': _0xb4e087[_0x1bea5f(_0x575365._0x1d52df)](_0xb4e087[_0x1bea5f(_0x575365._0x663c39)]())[_0x1bea5f(0x1d2)](),
|
|
2208
|
+
'subtask_numbers': _0xb4e087[_0x1bea5f(_0x575365._0x8ce38e)](_0xb4e087[_0x1bea5f(_0x575365._0x140765)]())[_0x1bea5f(_0x575365._0x170289)](),
|
|
2209
|
+
'message_ids': _0xb4e087['array'](_0xb4e087['string']())['optional'](),
|
|
2210
|
+
'evidence': _0xb4e087[_0x1bea5f(_0x575365._0x520015)](_0xb4e087['string'](), _0xb4e087[_0x1bea5f(_0x575365._0x2f465e)]({
|
|
2211
|
+
'create_thread': _0xb4e087[_0x1bea5f(_0x575365._0x200468)]()[_0x1bea5f(_0x575365._0x170289)](),
|
|
2212
|
+
'create_task': _0xb4e087['unknown']()[_0x1bea5f(0x1d2)]()
|
|
2213
|
+
}))[_0x1bea5f(_0x575365._0x19e050)](),
|
|
2214
|
+
'idempotency_key': _0xb4e087['string']()[_0x1bea5f(0x1d2)]()
|
|
2215
|
+
}, async _0x2bf4e3 => {
|
|
2216
|
+
const _0x25e743 = _0x1bea5f;
|
|
2197
2217
|
try {
|
|
2198
|
-
return textResult(await
|
|
2199
|
-
} catch (
|
|
2200
|
-
return textResult(
|
|
2218
|
+
return textResult(await _0x1364a7[_0x25e743(_0x544322._0x456e90)](_0x2bf4e3));
|
|
2219
|
+
} catch (_0x2d5202) {
|
|
2220
|
+
return textResult(_0x2d5202 instanceof Error ? _0x2d5202[_0x25e743(0x196)] : _0x25e743(0x210), !![]);
|
|
2201
2221
|
}
|
|
2202
|
-
}),
|
|
2203
|
-
'channel':
|
|
2204
|
-
'task_number':
|
|
2205
|
-
'subtask_number':
|
|
2206
|
-
'idempotency_key':
|
|
2207
|
-
}, async
|
|
2208
|
-
const
|
|
2222
|
+
}), _0x5391b9[_0x1bea5f(0x22d)]('unclaim_task', _0x1bea5f(_0x575365._0x441598), {
|
|
2223
|
+
'channel': _0xb4e087[_0x1bea5f(0x1cb)](),
|
|
2224
|
+
'task_number': _0xb4e087['number'](),
|
|
2225
|
+
'subtask_number': _0xb4e087[_0x1bea5f(_0x575365._0xc915e2)]()[_0x1bea5f(0x1d2)](),
|
|
2226
|
+
'idempotency_key': _0xb4e087['string']()['optional']()
|
|
2227
|
+
}, async _0x5416ab => {
|
|
2228
|
+
const _0x8596b6 = _0x1bea5f;
|
|
2209
2229
|
try {
|
|
2210
|
-
return textResult(await
|
|
2211
|
-
} catch (
|
|
2212
|
-
return textResult(
|
|
2230
|
+
return textResult(await _0x1364a7[_0x8596b6(0x148)](_0x5416ab));
|
|
2231
|
+
} catch (_0x525712) {
|
|
2232
|
+
return textResult(_0x525712 instanceof Error ? _0x525712[_0x8596b6(_0x1f9631._0x1cc852)] : _0x8596b6(_0x1f9631._0x1d6c44), !![]);
|
|
2213
2233
|
}
|
|
2214
|
-
}),
|
|
2215
|
-
'channel':
|
|
2216
|
-
'task_number':
|
|
2217
|
-
'subtask_number':
|
|
2218
|
-
'status':
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2234
|
+
}), _0x5391b9[_0x1bea5f(_0x575365._0x542bf2)](_0x1bea5f(_0x575365._0x23c1cd), 'Update\x20task\x20status\x20by\x20channel\x20and\x20task\x20number.\x20For\x20subtasks,\x20also\x20pass\x20subtask_number.', {
|
|
2235
|
+
'channel': _0xb4e087['string'](),
|
|
2236
|
+
'task_number': _0xb4e087[_0x1bea5f(0xbe)](),
|
|
2237
|
+
'subtask_number': _0xb4e087[_0x1bea5f(0xbe)]()[_0x1bea5f(_0x575365._0x19e050)](),
|
|
2238
|
+
'status': _0xb4e087[_0x1bea5f(_0x575365._0x52b624)]([
|
|
2239
|
+
_0x1bea5f(_0x575365._0x503e87),
|
|
2240
|
+
'in_progress',
|
|
2241
|
+
_0x1bea5f(_0x575365._0x5d326e),
|
|
2242
|
+
_0x1bea5f(_0x575365._0x40abd3)
|
|
2223
2243
|
]),
|
|
2224
|
-
'idempotency_key':
|
|
2225
|
-
}, async
|
|
2226
|
-
const
|
|
2244
|
+
'idempotency_key': _0xb4e087[_0x1bea5f(0x1cb)]()['optional']()
|
|
2245
|
+
}, async _0x5e06c5 => {
|
|
2246
|
+
const _0x16fb3d = _0x1bea5f;
|
|
2227
2247
|
try {
|
|
2228
|
-
return textResult(await
|
|
2229
|
-
} catch (
|
|
2230
|
-
return textResult(
|
|
2248
|
+
return textResult(await _0x1364a7['update_task_status'](_0x5e06c5));
|
|
2249
|
+
} catch (_0xfc954b) {
|
|
2250
|
+
return textResult(_0xfc954b instanceof Error ? _0xfc954b[_0x16fb3d(_0x5635b7._0x2ff3bc)] : _0x16fb3d(0x1ec), !![]);
|
|
2231
2251
|
}
|
|
2232
|
-
}),
|
|
2233
|
-
'channel':
|
|
2234
|
-
'file_path':
|
|
2235
|
-
}, async
|
|
2236
|
-
const
|
|
2252
|
+
}), _0x5391b9[_0x1bea5f(0x22d)]('upload_file', _0x1bea5f(0xf3), {
|
|
2253
|
+
'channel': _0xb4e087[_0x1bea5f(_0x575365._0x47a63a)](),
|
|
2254
|
+
'file_path': _0xb4e087[_0x1bea5f(0x1cb)]()
|
|
2255
|
+
}, async _0x77f71f => {
|
|
2256
|
+
const _0x1d8018 = _0x1bea5f;
|
|
2237
2257
|
try {
|
|
2238
|
-
return textResult(await
|
|
2239
|
-
} catch (
|
|
2240
|
-
return textResult(
|
|
2258
|
+
return textResult(await _0x1364a7[_0x1d8018(_0x902716._0x4b1085)](_0x77f71f));
|
|
2259
|
+
} catch (_0x443a71) {
|
|
2260
|
+
return textResult(_0x443a71 instanceof Error ? _0x443a71[_0x1d8018(0x196)] : _0x1d8018(0x14e), !![]);
|
|
2241
2261
|
}
|
|
2242
|
-
}),
|
|
2243
|
-
const
|
|
2262
|
+
}), _0x5391b9[_0x1bea5f(0x22d)]('view_file', _0x1bea5f(0xc0), { 'attachment_id': _0xb4e087[_0x1bea5f(_0x575365._0x48548a)]() }, async _0x321189 => {
|
|
2263
|
+
const _0x4cc828 = _0x1bea5f;
|
|
2244
2264
|
try {
|
|
2245
|
-
return textResult(await
|
|
2246
|
-
} catch (
|
|
2247
|
-
return textResult(
|
|
2265
|
+
return textResult(await _0x1364a7['view_file'](_0x321189));
|
|
2266
|
+
} catch (_0x27b3cf) {
|
|
2267
|
+
return textResult(_0x27b3cf instanceof Error ? _0x27b3cf[_0x4cc828(0x196)] : _0x4cc828(_0x3bce40._0x291584), !![]);
|
|
2248
2268
|
}
|
|
2249
|
-
}),
|
|
2250
|
-
const
|
|
2269
|
+
}), _0x5391b9[_0x1bea5f(_0x575365._0x49528b)](_0x1bea5f(_0x575365._0x365def), _0x1bea5f(_0x575365._0x9d5e14), { 'work_key': _0xb4e087[_0x1bea5f(_0x575365._0xa2a0f2)]() }, async _0x349a99 => {
|
|
2270
|
+
const _0x450941 = _0x1bea5f;
|
|
2251
2271
|
try {
|
|
2252
|
-
return textResult(await
|
|
2253
|
-
} catch (
|
|
2254
|
-
return textResult(
|
|
2272
|
+
return textResult(await _0x1364a7[_0x450941(_0x2a1e70._0x9d2939)](_0x349a99));
|
|
2273
|
+
} catch (_0x44518d) {
|
|
2274
|
+
return textResult(_0x44518d instanceof Error ? _0x44518d[_0x450941(0x196)] : _0x450941(_0x2a1e70._0x31af4c), !![]);
|
|
2255
2275
|
}
|
|
2256
|
-
}),
|
|
2257
|
-
const
|
|
2276
|
+
}), _0x5391b9['tool'](_0x1bea5f(0x1f8), _0x1bea5f(0x13e), { 'work_key': _0xb4e087[_0x1bea5f(0x1cb)]() }, async _0x5bf9e6 => {
|
|
2277
|
+
const _0x14cd5b = _0x1bea5f;
|
|
2258
2278
|
try {
|
|
2259
|
-
return textResult(await
|
|
2260
|
-
} catch (
|
|
2261
|
-
return textResult(
|
|
2279
|
+
return textResult(await _0x1364a7[_0x14cd5b(0x1f8)](_0x5bf9e6));
|
|
2280
|
+
} catch (_0x2d66a4) {
|
|
2281
|
+
return textResult(_0x2d66a4 instanceof Error ? _0x2d66a4[_0x14cd5b(_0x124aba._0x26cc7d)] : 'park_worker\x20failed', !![]);
|
|
2262
2282
|
}
|
|
2263
|
-
}),
|
|
2264
|
-
'work_key':
|
|
2265
|
-
'reason':
|
|
2266
|
-
}, async
|
|
2267
|
-
const
|
|
2283
|
+
}), _0x5391b9[_0x1bea5f(0x22d)]('escalate_to_main', 'Escalate\x20an\x20issue\x20to\x20the\x20main\x20agent\x20session.\x20Use\x20when\x20the\x20worker\x20cannot\x20resolve\x20a\x20problem\x20alone\x20and\x20needs\x20main\x20to\x20intervene.', {
|
|
2284
|
+
'work_key': _0xb4e087[_0x1bea5f(0x1cb)](),
|
|
2285
|
+
'reason': _0xb4e087['string']()
|
|
2286
|
+
}, async _0x23cfa4 => {
|
|
2287
|
+
const _0x544666 = _0x1bea5f;
|
|
2268
2288
|
try {
|
|
2269
|
-
return textResult(await
|
|
2270
|
-
} catch (
|
|
2271
|
-
return textResult(
|
|
2289
|
+
return textResult(await _0x1364a7[_0x544666(_0x102ace._0x2887a7)](_0x23cfa4));
|
|
2290
|
+
} catch (_0x531e28) {
|
|
2291
|
+
return textResult(_0x531e28 instanceof Error ? _0x531e28['message'] : _0x544666(0x1d6), !![]);
|
|
2272
2292
|
}
|
|
2273
|
-
}),
|
|
2274
|
-
const
|
|
2293
|
+
}), _0x560ea8?.[_0x1bea5f(0x14a)] && _0x5391b9['tool'](_0x1bea5f(0x1a1), _0x1bea5f(0x221), { 'work_key': _0xb4e087[_0x1bea5f(_0x575365._0x4496ce)]() }, async _0x59df14 => {
|
|
2294
|
+
const _0x124f78 = _0x1bea5f;
|
|
2275
2295
|
try {
|
|
2276
|
-
return textResult(await
|
|
2277
|
-
} catch (
|
|
2278
|
-
return textResult(
|
|
2296
|
+
return textResult(await _0x1364a7[_0x124f78(_0x5d2d80._0x290399)](_0x59df14));
|
|
2297
|
+
} catch (_0x17cadb) {
|
|
2298
|
+
return textResult(_0x17cadb instanceof Error ? _0x17cadb[_0x124f78(_0x5d2d80._0x2f901b)] : 'mark_waiting_input\x20failed', !![]);
|
|
2279
2299
|
}
|
|
2280
2300
|
});
|
|
2281
2301
|
}
|
|
2282
|
-
async function createChatBridgeServer(
|
|
2283
|
-
const
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
'
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
'
|
|
2302
|
+
async function createChatBridgeServer(_0x531467) {
|
|
2303
|
+
const _0xb3e166 = {
|
|
2304
|
+
_0x407e7e: 0x209,
|
|
2305
|
+
_0x34a73e: 0x199,
|
|
2306
|
+
_0x20b861: 0x14a
|
|
2307
|
+
}, _0x18eac7 = _0x77ce4b, {McpServer: _0xa6f356} = await import(_0x18eac7(_0xb3e166._0x407e7e)), _0x59b300 = new _0xa6f356({
|
|
2308
|
+
'name': _0x18eac7(0x151),
|
|
2309
|
+
'version': _0x18eac7(_0xb3e166._0x34a73e)
|
|
2310
|
+
}), _0x5d1cf1 = createChatBridgeHandlers(_0x531467);
|
|
2311
|
+
return await registerChatBridgeTools(_0x59b300, _0x5d1cf1, { 'workerMode': _0x531467[_0x18eac7(_0xb3e166._0x20b861)] }), {
|
|
2312
|
+
'handlers': _0x5d1cf1,
|
|
2313
|
+
'server': _0x59b300
|
|
2293
2314
|
};
|
|
2294
2315
|
}
|
|
2295
|
-
function readFlag(
|
|
2296
|
-
const
|
|
2297
|
-
if (
|
|
2316
|
+
function readFlag(_0x13c405, _0x1764df) {
|
|
2317
|
+
const _0x3dbcbf = { _0x4f75c4: 0x20f }, _0xff98b4 = _0x77ce4b, _0x12cdbd = _0x13c405[_0xff98b4(_0x3dbcbf._0x4f75c4)](_0x1764df);
|
|
2318
|
+
if (_0x12cdbd === -0x1)
|
|
2298
2319
|
return void 0x0;
|
|
2299
|
-
return
|
|
2320
|
+
return _0x13c405[_0x12cdbd + 0x1];
|
|
2300
2321
|
}
|
|
2301
|
-
function parseChatBridgeArgs(
|
|
2302
|
-
const
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
throw new Error(_0x189e90(_0x4605be._0x117a7f));
|
|
2319
|
-
if (!_0xb7282b)
|
|
2320
|
-
throw new Error(_0x189e90(_0x4605be._0xba17de));
|
|
2321
|
-
if (_0xd008b7 !== void 0x0 && (_0x567422 === void 0x0 || !Number[_0x189e90(_0x4605be._0x668098)](_0x567422) || _0x567422 < 0x0))
|
|
2322
|
-
throw new Error(_0x189e90(0x27c));
|
|
2322
|
+
function parseChatBridgeArgs(_0x227136) {
|
|
2323
|
+
const _0x2ee99d = {
|
|
2324
|
+
_0x2dbace: 0x17d,
|
|
2325
|
+
_0x5d9175: 0x153,
|
|
2326
|
+
_0x33d4c6: 0xd4,
|
|
2327
|
+
_0x30cf09: 0x1e4,
|
|
2328
|
+
_0x46db3c: 0x13a,
|
|
2329
|
+
_0x47492e: 0x1fa,
|
|
2330
|
+
_0x41aada: 0xea,
|
|
2331
|
+
_0x1db49e: 0x22f
|
|
2332
|
+
}, _0x5b9163 = _0x77ce4b, _0x3e2ca2 = readFlag(_0x227136, '--agent-id'), _0xe15f1 = readFlag(_0x227136, _0x5b9163(0x1a6)), _0x94494e = readFlag(_0x227136, '--daemon-api-key'), _0x3409f2 = readFlag(_0x227136, _0x5b9163(0x20b)), _0x180fcc = readFlag(_0x227136, _0x5b9163(0x174)) ?? _0x5b9163(_0x2ee99d._0x2dbace), _0x3aca88 = readFlag(_0x227136, _0x5b9163(_0x2ee99d._0x5d9175)), _0x2c01fb = readFlag(_0x227136, _0x5b9163(_0x2ee99d._0x33d4c6)), _0x2ee61d = readFlag(_0x227136, _0x5b9163(_0x2ee99d._0x30cf09)), _0x14ae21 = readFlag(_0x227136, _0x5b9163(_0x2ee99d._0x46db3c)), _0x518d20 = readFlag(_0x227136, _0x5b9163(0xfb)), _0x5632dd = _0x227136[_0x5b9163(0x1fb)](_0x5b9163(_0x2ee99d._0x47492e)), _0xb46e9 = _0x3409f2 === void 0x0 ? void 0x0 : Number['parseInt'](_0x3409f2, 0xa);
|
|
2333
|
+
if (!_0x3e2ca2)
|
|
2334
|
+
throw new Error('Missing\x20--agent-id');
|
|
2335
|
+
if (!_0x94494e)
|
|
2336
|
+
throw new Error(_0x5b9163(_0x2ee99d._0x41aada));
|
|
2337
|
+
if (_0x3409f2 !== void 0x0 && (_0xb46e9 === void 0x0 || !Number['isFinite'](_0xb46e9) || _0xb46e9 < 0x0))
|
|
2338
|
+
throw new Error(_0x5b9163(_0x2ee99d._0x1db49e));
|
|
2323
2339
|
return {
|
|
2324
|
-
'agentId':
|
|
2325
|
-
'attachmentCacheDir':
|
|
2326
|
-
'daemonApiKey':
|
|
2327
|
-
'daemonLocalUrl':
|
|
2328
|
-
'initialLastSeenSeq':
|
|
2329
|
-
'sessionId':
|
|
2330
|
-
'serverUrl':
|
|
2331
|
-
'workerModeEnabled':
|
|
2332
|
-
'workerSessionId':
|
|
2333
|
-
'workerThreadTarget':
|
|
2334
|
-
'workerMode':
|
|
2340
|
+
'agentId': _0x3e2ca2,
|
|
2341
|
+
'attachmentCacheDir': _0xe15f1,
|
|
2342
|
+
'daemonApiKey': _0x94494e,
|
|
2343
|
+
'daemonLocalUrl': _0x3aca88,
|
|
2344
|
+
'initialLastSeenSeq': _0xb46e9,
|
|
2345
|
+
'sessionId': _0x2c01fb,
|
|
2346
|
+
'serverUrl': _0x180fcc,
|
|
2347
|
+
'workerModeEnabled': _0x2ee61d === void 0x0 ? void 0x0 : _0x2ee61d !== _0x5b9163(0xd6),
|
|
2348
|
+
'workerSessionId': _0x14ae21,
|
|
2349
|
+
'workerThreadTarget': _0x518d20,
|
|
2350
|
+
'workerMode': _0x5632dd
|
|
2335
2351
|
};
|
|
2336
2352
|
}
|
|
2337
|
-
async function runChatBridgeCli(
|
|
2338
|
-
const
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
'
|
|
2346
|
-
'
|
|
2347
|
-
'
|
|
2348
|
-
'daemonLocalUrl': _0xe644c1['daemonLocalUrl'],
|
|
2353
|
+
async function runChatBridgeCli(_0x51d944) {
|
|
2354
|
+
const _0x1110cf = {
|
|
2355
|
+
_0x29f346: 0x211,
|
|
2356
|
+
_0x20b292: 0x14a,
|
|
2357
|
+
_0x3a1d36: 0x200,
|
|
2358
|
+
_0x2aa1de: 0x1c5
|
|
2359
|
+
}, _0x13711d = _0x77ce4b, _0x5e4bfd = parseChatBridgeArgs(_0x51d944), {StdioServerTransport: _0x18dd92} = await import(_0x13711d(0x105)), _0x1a7c9a = createInternalAgentClient(_0x5e4bfd), _0x2c3e21 = createAttachmentCache({ 'cacheDir': _0x5e4bfd['attachmentCacheDir'] }), _0x2c9a9c = await createChatBridgeServer({
|
|
2360
|
+
'agentId': _0x5e4bfd['agentId'],
|
|
2361
|
+
'attachmentCache': _0x2c3e21,
|
|
2362
|
+
'client': _0x1a7c9a,
|
|
2363
|
+
'daemonLocalUrl': _0x5e4bfd['daemonLocalUrl'],
|
|
2349
2364
|
'uploadPreparer': prepareUploadFile,
|
|
2350
|
-
'workerModeEnabled':
|
|
2351
|
-
'workerMode':
|
|
2352
|
-
'workerThreadTarget':
|
|
2365
|
+
'workerModeEnabled': _0x5e4bfd[_0x13711d(_0x1110cf._0x29f346)],
|
|
2366
|
+
'workerMode': _0x5e4bfd[_0x13711d(_0x1110cf._0x20b292)],
|
|
2367
|
+
'workerThreadTarget': _0x5e4bfd['workerThreadTarget']
|
|
2353
2368
|
});
|
|
2354
|
-
await
|
|
2369
|
+
await _0x2c9a9c[_0x13711d(_0x1110cf._0x3a1d36)][_0x13711d(_0x1110cf._0x2aa1de)](new _0x18dd92());
|
|
2355
2370
|
}
|
|
2356
|
-
var executedAsEntry = process[
|
|
2357
|
-
executedAsEntry && await runChatBridgeCli(process[
|
|
2371
|
+
var executedAsEntry = process[_0x77ce4b(0x237)][0x1] ? import.meta.url === pathToFileURL(process['argv'][0x1])['href'] : ![];
|
|
2372
|
+
executedAsEntry && await runChatBridgeCli(process[_0x77ce4b(0x237)][_0x77ce4b(0x23d)](0x2));
|
|
2358
2373
|
export {
|
|
2359
2374
|
createChatBridgeHandlers,
|
|
2360
2375
|
createChatBridgeServer,
|