@dscord/daemon 0.1.81 → 0.1.83
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 +2083 -2042
- package/dist/index.js +10141 -10225
- package/package.json +1 -1
package/dist/chat-bridge.js
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
const
|
|
2
|
-
(function (
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
const _0x51636d = _0x3278;
|
|
2
|
+
(function (_0x249583, _0x296eb0) {
|
|
3
|
+
const _0x547bbb = {
|
|
4
|
+
_0x53e8e7: 0x11a,
|
|
5
|
+
_0xc1ea86: 0x1df,
|
|
6
|
+
_0x3b0098: 0x238,
|
|
7
|
+
_0x4993ca: 0x236,
|
|
8
|
+
_0x28d64d: 0x195
|
|
9
|
+
}, _0x4c89c7 = _0x3278, _0xc253c7 = _0x249583();
|
|
9
10
|
while (!![]) {
|
|
10
11
|
try {
|
|
11
|
-
const
|
|
12
|
-
if (
|
|
12
|
+
const _0x25b193 = parseInt(_0x4c89c7(_0x547bbb._0x53e8e7)) / 0x1 + -parseInt(_0x4c89c7(0x1c5)) / 0x2 + parseInt(_0x4c89c7(0x258)) / 0x3 * (parseInt(_0x4c89c7(_0x547bbb._0xc1ea86)) / 0x4) + parseInt(_0x4c89c7(_0x547bbb._0x3b0098)) / 0x5 * (-parseInt(_0x4c89c7(_0x547bbb._0x4993ca)) / 0x6) + parseInt(_0x4c89c7(0x21c)) / 0x7 + -parseInt(_0x4c89c7(_0x547bbb._0x28d64d)) / 0x8 + -parseInt(_0x4c89c7(0x261)) / 0x9;
|
|
13
|
+
if (_0x25b193 === _0x296eb0)
|
|
13
14
|
break;
|
|
14
15
|
else
|
|
15
|
-
|
|
16
|
-
} catch (
|
|
17
|
-
|
|
16
|
+
_0xc253c7['push'](_0xc253c7['shift']());
|
|
17
|
+
} catch (_0x585ad3) {
|
|
18
|
+
_0xc253c7['push'](_0xc253c7['shift']());
|
|
18
19
|
}
|
|
19
20
|
}
|
|
20
|
-
}(
|
|
21
|
+
}(_0x3988, 0x51512));
|
|
21
22
|
import { pathToFileURL } from 'node:url';
|
|
22
23
|
import {
|
|
23
24
|
mkdir,
|
|
@@ -27,2415 +28,2455 @@ import {
|
|
|
27
28
|
writeFile
|
|
28
29
|
} from 'node:fs/promises';
|
|
29
30
|
import { homedir } from 'node:os';
|
|
30
|
-
import
|
|
31
|
+
import _0x358960 from 'node:path';
|
|
31
32
|
var DEFAULT_MAX_FILE_SIZE = 0x64 * 0x400 * 0x400, MIME_BY_EXTENSION = {
|
|
32
|
-
'.csv':
|
|
33
|
-
'.gif':
|
|
34
|
-
'.jpeg':
|
|
35
|
-
'.jpg':
|
|
36
|
-
'.json':
|
|
33
|
+
'.csv': _0x51636d(0xf4),
|
|
34
|
+
'.gif': 'image/gif',
|
|
35
|
+
'.jpeg': _0x51636d(0x17f),
|
|
36
|
+
'.jpg': 'image/jpeg',
|
|
37
|
+
'.json': _0x51636d(0x23f),
|
|
37
38
|
'.md': 'text/markdown',
|
|
38
|
-
'.pdf':
|
|
39
|
+
'.pdf': _0x51636d(0x14f),
|
|
39
40
|
'.png': 'image/png',
|
|
40
|
-
'.svg':
|
|
41
|
-
'.txt':
|
|
42
|
-
'.webp':
|
|
43
|
-
'.xml':
|
|
44
|
-
'.zip':
|
|
41
|
+
'.svg': _0x51636d(0x198),
|
|
42
|
+
'.txt': _0x51636d(0x24c),
|
|
43
|
+
'.webp': 'image/webp',
|
|
44
|
+
'.xml': _0x51636d(0x123),
|
|
45
|
+
'.zip': _0x51636d(0x15a)
|
|
45
46
|
};
|
|
46
|
-
function guessContentType(
|
|
47
|
-
const
|
|
48
|
-
return MIME_BY_EXTENSION[
|
|
47
|
+
function guessContentType(_0xb55bca) {
|
|
48
|
+
const _0x148567 = { _0x8be80f: 0x19e }, _0x23bbb7 = _0x51636d;
|
|
49
|
+
return MIME_BY_EXTENSION[_0x358960['extname'](_0xb55bca)['toLowerCase']()] ?? _0x23bbb7(_0x148567._0x8be80f);
|
|
49
50
|
}
|
|
50
|
-
function safeFilename(
|
|
51
|
-
|
|
52
|
-
return _0x122f80[_0x785e36(_0x3f484b._0x599f65)](/[\\/]/g, '-');
|
|
51
|
+
function safeFilename(_0x231ac4) {
|
|
52
|
+
return _0x231ac4['replace'](/[\\/]/g, '-');
|
|
53
53
|
}
|
|
54
|
-
function extensionFor(
|
|
55
|
-
const
|
|
56
|
-
|
|
57
|
-
_0xd06ca8: 0x18a
|
|
58
|
-
}, _0x4fc17f = _0x4cca3c, _0x3b49f5 = Object[_0x4fc17f(0x2e1)](MIME_BY_EXTENSION)[_0x4fc17f(_0x3ca9e5._0x5174cd)](([, _0x2fad01]) => _0x2fad01 === _0x1fb2c6);
|
|
59
|
-
return _0x3b49f5?.[0x0] ?? _0x4fc17f(_0x3ca9e5._0xd06ca8);
|
|
54
|
+
function extensionFor(_0x1aabf3) {
|
|
55
|
+
const _0x308633 = { _0x3b9f7a: 0x174 }, _0x3377cb = _0x51636d, _0x1c87c6 = Object[_0x3377cb(0x1bf)](MIME_BY_EXTENSION)[_0x3377cb(0x251)](([, _0x459e68]) => _0x459e68 === _0x1aabf3);
|
|
56
|
+
return _0x1c87c6?.[0x0] ?? _0x3377cb(_0x308633._0x3b9f7a);
|
|
60
57
|
}
|
|
61
|
-
async function prepareUploadFile(
|
|
62
|
-
const
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
if (!
|
|
72
|
-
throw new Error(
|
|
73
|
-
const
|
|
74
|
-
if (
|
|
75
|
-
throw new Error(
|
|
76
|
-
const
|
|
77
|
-
if (_0x43e0e4[_0x5c299c(0x287)] > _0x20202e)
|
|
78
|
-
throw new Error(_0x5c299c(0x201) + _0x43e0e4['size']);
|
|
79
|
-
const _0x9f0d9d = await readFile(_0x2d581e), _0xa6f167 = _0x2ebe1a[_0x5c299c(_0x216259._0x254543)](_0x2d581e);
|
|
58
|
+
async function prepareUploadFile(_0x30effb, _0x140193 = {}) {
|
|
59
|
+
const _0xd618cf = {
|
|
60
|
+
_0x5ad19a: 0x166,
|
|
61
|
+
_0x3582e5: 0x211,
|
|
62
|
+
_0x3c6af3: 0x16f,
|
|
63
|
+
_0x23508d: 0x138
|
|
64
|
+
}, _0x562fc2 = _0x51636d;
|
|
65
|
+
if (!_0x358960[_0x562fc2(0x159)](_0x30effb))
|
|
66
|
+
throw new Error('file_path\x20must\x20be\x20an\x20absolute\x20path');
|
|
67
|
+
const _0x50df4a = await stat(_0x30effb)['catch'](() => null);
|
|
68
|
+
if (!_0x50df4a || !_0x50df4a[_0x562fc2(0x20d)]())
|
|
69
|
+
throw new Error('File\x20not\x20found:\x20' + _0x30effb);
|
|
70
|
+
const _0x3d28ed = _0x140193[_0x562fc2(_0xd618cf._0x5ad19a)] ?? DEFAULT_MAX_FILE_SIZE;
|
|
71
|
+
if (_0x50df4a['size'] > _0x3d28ed)
|
|
72
|
+
throw new Error(_0x562fc2(_0xd618cf._0x3582e5) + _0x50df4a[_0x562fc2(0x138)]);
|
|
73
|
+
const _0x317dca = await readFile(_0x30effb), _0x5ac7bc = _0x358960['basename'](_0x30effb);
|
|
80
74
|
return {
|
|
81
|
-
'contentBase64':
|
|
82
|
-
'contentType': guessContentType(
|
|
83
|
-
'filename':
|
|
84
|
-
'sizeBytes':
|
|
75
|
+
'contentBase64': _0x317dca['toString'](_0x562fc2(_0xd618cf._0x3c6af3)),
|
|
76
|
+
'contentType': guessContentType(_0x5ac7bc),
|
|
77
|
+
'filename': _0x5ac7bc,
|
|
78
|
+
'sizeBytes': _0x50df4a[_0x562fc2(_0xd618cf._0x23508d)]
|
|
85
79
|
};
|
|
86
80
|
}
|
|
87
|
-
function
|
|
88
|
-
const
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
_0x529752: 0x24c
|
|
92
|
-
}, _0x48abe9 = { _0xa0f150: 0x21f }, _0x30c117 = _0x4cca3c, _0x58012c = _0x4756f1[_0x30c117(0x25b)] ?? _0x2ebe1a[_0x30c117(0x25d)](homedir(), _0x30c117(_0x477394._0x509440), _0x30c117(0x2a1));
|
|
93
|
-
return {
|
|
94
|
-
'cacheDir': _0x58012c,
|
|
95
|
-
async 'findCachedPath'(_0x5cb7c5) {
|
|
96
|
-
const _0x4dd084 = _0x30c117;
|
|
97
|
-
await mkdir(_0x58012c, { 'recursive': !![] });
|
|
98
|
-
const _0x17d05d = await readdir(_0x58012c), _0x369ebe = _0x17d05d[_0x4dd084(_0x48abe9._0xa0f150)](_0x38af14 => _0x38af14[_0x4dd084(0x181)](_0x5cb7c5 + '-') || _0x38af14['startsWith'](_0x5cb7c5));
|
|
99
|
-
return _0x369ebe ? _0x2ebe1a[_0x4dd084(0x25d)](_0x58012c, _0x369ebe) : null;
|
|
100
|
-
},
|
|
101
|
-
async 'save'(_0x2805a9) {
|
|
102
|
-
const _0x34ac20 = _0x30c117;
|
|
103
|
-
await mkdir(_0x58012c, { 'recursive': !![] });
|
|
104
|
-
const _0x4d234d = _0x2805a9[_0x34ac20(_0x227ff7._0x5bc345)]?.[_0x34ac20(_0x227ff7._0x488b9b)]() ? safeFilename(_0x2805a9[_0x34ac20(_0x227ff7._0x5bc345)]) : '' + _0x2805a9[_0x34ac20(0x2a4)] + extensionFor(_0x2805a9['contentType']), _0x511986 = _0x2ebe1a[_0x34ac20(0x25d)](_0x58012c, _0x2805a9[_0x34ac20(0x2a4)] + '-' + _0x4d234d);
|
|
105
|
-
return await writeFile(_0x511986, _0x2805a9[_0x34ac20(_0x227ff7._0x529752)]), _0x511986;
|
|
106
|
-
}
|
|
107
|
-
};
|
|
108
|
-
}
|
|
109
|
-
import {
|
|
110
|
-
createHash,
|
|
111
|
-
randomUUID
|
|
112
|
-
} from 'node:crypto';
|
|
113
|
-
var UNSUPPORTED_TARGET_MESSAGE = _0x4cca3c(0x234);
|
|
114
|
-
function ensureSegment(_0x4ef4c3) {
|
|
115
|
-
const _0x50d2ee = { _0x2bab2b: 0x242 }, _0x414e58 = _0x4cca3c, _0x1c8ff5 = _0x4ef4c3['trim']();
|
|
116
|
-
if (!_0x1c8ff5 || _0x1c8ff5[_0x414e58(_0x50d2ee._0x2bab2b)](':'))
|
|
117
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
118
|
-
return _0x1c8ff5;
|
|
119
|
-
}
|
|
120
|
-
function parseThreadParts(_0x3d8136) {
|
|
121
|
-
const _0x5e5418 = _0x4cca3c, _0x51733f = _0x3d8136[_0x5e5418(0x2d9)](':');
|
|
122
|
-
if (_0x51733f[_0x5e5418(0x170)] < 0x1 || _0x51733f['length'] > 0x2)
|
|
123
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
124
|
-
return {
|
|
125
|
-
'channelName': ensureSegment(_0x51733f[0x0] ?? ''),
|
|
126
|
-
'threadShortId': _0x51733f[0x1] ? ensureSegment(_0x51733f[0x1]) : null
|
|
127
|
-
};
|
|
128
|
-
}
|
|
129
|
-
function _0x58de(_0x141a34, _0x920383) {
|
|
130
|
-
_0x141a34 = _0x141a34 - 0x163;
|
|
131
|
-
const _0x581a88 = _0x581a();
|
|
132
|
-
let _0x58de3c = _0x581a88[_0x141a34];
|
|
133
|
-
if (_0x58de['iffsbk'] === undefined) {
|
|
134
|
-
var _0x32d6da = function (_0x5ec213) {
|
|
135
|
-
const _0x4f5b6c = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
136
|
-
let _0x2ebe1a = '', _0x2b74fd = '';
|
|
137
|
-
for (let _0x122f80 = 0x0, _0x1fb2c6, _0x3b49f5, _0x2fad01 = 0x0; _0x3b49f5 = _0x5ec213['charAt'](_0x2fad01++); ~_0x3b49f5 && (_0x1fb2c6 = _0x122f80 % 0x4 ? _0x1fb2c6 * 0x40 + _0x3b49f5 : _0x3b49f5, _0x122f80++ % 0x4) ? _0x2ebe1a += String['fromCharCode'](0xff & _0x1fb2c6 >> (-0x2 * _0x122f80 & 0x6)) : 0x0) {
|
|
138
|
-
_0x3b49f5 = _0x4f5b6c['indexOf'](_0x3b49f5);
|
|
139
|
-
}
|
|
140
|
-
for (let _0x2d581e = 0x0, _0x464e18 = _0x2ebe1a['length']; _0x2d581e < _0x464e18; _0x2d581e++) {
|
|
141
|
-
_0x2b74fd += '%' + ('00' + _0x2ebe1a['charCodeAt'](_0x2d581e)['toString'](0x10))['slice'](-0x2);
|
|
142
|
-
}
|
|
143
|
-
return decodeURIComponent(_0x2b74fd);
|
|
144
|
-
};
|
|
145
|
-
_0x58de['Trurae'] = _0x32d6da, _0x58de['DjKrvE'] = {}, _0x58de['iffsbk'] = !![];
|
|
146
|
-
}
|
|
147
|
-
const _0x99d664 = _0x581a88[0x0], _0x19d397 = _0x141a34 + _0x99d664, _0x523ef5 = _0x58de['DjKrvE'][_0x19d397];
|
|
148
|
-
return !_0x523ef5 ? (_0x58de3c = _0x58de['Trurae'](_0x58de3c), _0x58de['DjKrvE'][_0x19d397] = _0x58de3c) : _0x58de3c = _0x523ef5, _0x58de3c;
|
|
149
|
-
}
|
|
150
|
-
function parseTarget(_0xa2e1c4) {
|
|
151
|
-
const _0x5f132a = {
|
|
152
|
-
_0x389415: 0x181,
|
|
153
|
-
_0x292ea4: 0x2c2,
|
|
154
|
-
_0x14fdce: 0x19b,
|
|
155
|
-
_0x32e328: 0x181,
|
|
156
|
-
_0x42a7c5: 0x1a4
|
|
157
|
-
}, _0x245cc9 = _0x4cca3c, _0x534210 = _0xa2e1c4[_0x245cc9(0x220)]();
|
|
158
|
-
if (!_0x534210)
|
|
159
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
160
|
-
if (_0x534210[_0x245cc9(_0x5f132a._0x389415)]('#')) {
|
|
161
|
-
const _0x423066 = parseThreadParts(_0x534210[_0x245cc9(0x20c)](0x1)), _0x1bd793 = '#' + _0x423066[_0x245cc9(0x207)];
|
|
162
|
-
if (!_0x423066['threadShortId'])
|
|
163
|
-
return {
|
|
164
|
-
'channelName': _0x423066[_0x245cc9(0x207)],
|
|
165
|
-
'channelTarget': _0x1bd793,
|
|
166
|
-
'kind': _0x245cc9(0x25f),
|
|
167
|
-
'target': _0x1bd793
|
|
168
|
-
};
|
|
169
|
-
return {
|
|
170
|
-
'channelName': _0x423066[_0x245cc9(0x207)],
|
|
171
|
-
'channelTarget': _0x1bd793,
|
|
172
|
-
'kind': _0x245cc9(0x269),
|
|
173
|
-
'target': _0x1bd793 + ':' + _0x423066[_0x245cc9(_0x5f132a._0x292ea4)],
|
|
174
|
-
'threadShortId': _0x423066[_0x245cc9(_0x5f132a._0x292ea4)]
|
|
175
|
-
};
|
|
176
|
-
}
|
|
177
|
-
if (_0x534210['startsWith'](_0x245cc9(_0x5f132a._0x14fdce))) {
|
|
178
|
-
const _0x46d96c = parseThreadParts(_0x534210['slice'](0x3));
|
|
179
|
-
if (!_0x46d96c[_0x245cc9(0x207)][_0x245cc9(_0x5f132a._0x32e328)](_0x245cc9(_0x5f132a._0x42a7c5)))
|
|
180
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
181
|
-
const _0x598fd2 = _0x245cc9(_0x5f132a._0x14fdce) + _0x46d96c[_0x245cc9(0x207)];
|
|
182
|
-
if (!_0x46d96c[_0x245cc9(0x2c2)])
|
|
183
|
-
return {
|
|
184
|
-
'channelName': _0x46d96c[_0x245cc9(0x207)],
|
|
185
|
-
'channelTarget': _0x598fd2,
|
|
186
|
-
'kind': 'channel',
|
|
187
|
-
'target': _0x598fd2
|
|
188
|
-
};
|
|
189
|
-
return {
|
|
190
|
-
'channelName': _0x46d96c['channelName'],
|
|
191
|
-
'channelTarget': _0x598fd2,
|
|
192
|
-
'kind': 'thread',
|
|
193
|
-
'target': _0x598fd2 + ':' + _0x46d96c[_0x245cc9(_0x5f132a._0x292ea4)],
|
|
194
|
-
'threadShortId': _0x46d96c[_0x245cc9(0x2c2)]
|
|
195
|
-
};
|
|
196
|
-
}
|
|
197
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
198
|
-
}
|
|
199
|
-
function asErrorMessage(_0x41fdcd, _0x197e55) {
|
|
200
|
-
const _0x45a72e = { _0x1ee526: 0x220 }, _0x771611 = _0x4cca3c;
|
|
201
|
-
if (typeof _0x41fdcd === 'string' && _0x41fdcd[_0x771611(_0x45a72e._0x1ee526)]())
|
|
202
|
-
return _0x41fdcd;
|
|
203
|
-
return _0x197e55;
|
|
204
|
-
}
|
|
205
|
-
function asRecord(_0xa3ed3d) {
|
|
206
|
-
const _0x3221a3 = _0x4cca3c;
|
|
207
|
-
return typeof _0xa3ed3d === _0x3221a3(0x2f3) && _0xa3ed3d !== null ? _0xa3ed3d : {};
|
|
208
|
-
}
|
|
209
|
-
function stableStringify(_0x13d7d7) {
|
|
210
|
-
const _0x3b012b = {
|
|
211
|
-
_0x34419c: 0x20b,
|
|
212
|
-
_0x57d4ec: 0x2e1,
|
|
213
|
-
_0x3d86a9: 0x1db,
|
|
214
|
-
_0x3be31e: 0x25d
|
|
215
|
-
}, _0x5714e2 = _0x4cca3c;
|
|
216
|
-
if (_0x13d7d7 === null || typeof _0x13d7d7 !== _0x5714e2(0x2f3))
|
|
217
|
-
return JSON['stringify'](_0x13d7d7);
|
|
218
|
-
if (Array[_0x5714e2(_0x3b012b._0x34419c)](_0x13d7d7))
|
|
219
|
-
return '[' + _0x13d7d7['map'](_0x2fabac => stableStringify(_0x2fabac))['join'](',') + ']';
|
|
220
|
-
const _0x56fd69 = Object[_0x5714e2(_0x3b012b._0x57d4ec)](_0x13d7d7)[_0x5714e2(_0x3b012b._0x3d86a9)](([, _0x16c026]) => _0x16c026 !== void 0x0)[_0x5714e2(0x291)](([_0xb106fe], [_0x3f8f2c]) => _0xb106fe['localeCompare'](_0x3f8f2c))[_0x5714e2(0x2e6)](([_0x188451, _0x5b9cd2]) => JSON['stringify'](_0x188451) + ':' + stableStringify(_0x5b9cd2));
|
|
221
|
-
return '{' + _0x56fd69[_0x5714e2(_0x3b012b._0x3be31e)](',') + '}';
|
|
222
|
-
}
|
|
223
|
-
function createHeaders(_0x3a2dbd) {
|
|
224
|
-
const _0x5d0e0e = _0x4cca3c;
|
|
225
|
-
return {
|
|
226
|
-
'Content-Type': _0x5d0e0e(0x255),
|
|
227
|
-
'x-daemon-api-key': _0x3a2dbd
|
|
228
|
-
};
|
|
229
|
-
}
|
|
230
|
-
function toHttpBaseUrl(_0x3cd0bf) {
|
|
231
|
-
const _0x5a23d4 = {
|
|
232
|
-
_0xcd913d: 0x2c4,
|
|
233
|
-
_0xa26374: 0x250
|
|
234
|
-
}, _0xb71d1b = _0x4cca3c, _0xca5c56 = new URL(_0x3cd0bf);
|
|
235
|
-
if (_0xca5c56[_0xb71d1b(0x1a9)] === _0xb71d1b(_0x5a23d4._0xcd913d))
|
|
236
|
-
_0xca5c56['protocol'] = _0xb71d1b(0x2a5);
|
|
237
|
-
else
|
|
238
|
-
_0xca5c56[_0xb71d1b(0x1a9)] === _0xb71d1b(0x2b5) && (_0xca5c56['protocol'] = 'https:');
|
|
239
|
-
return _0xca5c56[_0xb71d1b(0x17d)]()[_0xb71d1b(_0x5a23d4._0xa26374)](/\/$/, '');
|
|
240
|
-
}
|
|
241
|
-
function isMentionBoundary(_0x8da076) {
|
|
242
|
-
const _0x1a8224 = { _0x55e7dd: 0x171 }, _0x102c9d = _0x4cca3c;
|
|
243
|
-
return !_0x8da076 || /\s|[([{'",。!?、:;]/[_0x102c9d(_0x1a8224._0x55e7dd)](_0x8da076);
|
|
244
|
-
}
|
|
245
|
-
function isMentionTerminal(_0x1a46f2) {
|
|
246
|
-
const _0x1786c3 = _0x4cca3c;
|
|
247
|
-
return !_0x1a46f2 || /\s|[)\]}'",。!?、:;,.!?]/[_0x1786c3(0x171)](_0x1a46f2);
|
|
248
|
-
}
|
|
249
|
-
function _0x581a() {
|
|
250
|
-
const _0x5e4523 = [
|
|
251
|
-
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
252
|
-
'mZK4mtG3mgX6s0HKAq',
|
|
253
|
-
'CxvLDwvK',
|
|
254
|
-
'BwvZC2fNzxm',
|
|
255
|
-
'y2HPBgrYzw5eB25L',
|
|
256
|
-
'Dg9ju09tDhjPBMC',
|
|
257
|
-
'CgfKu3rHCNq',
|
|
258
|
-
'zxH0BMfTzq',
|
|
259
|
-
'twLZC2LUzYaTlwrHzw1VBI1HCgKTA2v5',
|
|
260
|
-
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
261
|
-
'zgLZCg9ZAxrPB24',
|
|
262
|
-
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4Gsw4Gysb0AhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPlcbJCMvHDgvZihn1yNrHC2TZihvUzgvYihrOzsbLEgLZDgLUzYbWyxjLBNqGDgfZAY4',
|
|
263
|
-
'igzHAwXLzdOG',
|
|
264
|
-
't3jPz2LUywWGBwvZC2fNztOG',
|
|
265
|
-
'y2HHBM5LBeLK',
|
|
266
|
-
'y3jLyxrLvgfZA3m',
|
|
267
|
-
'y3jLyxrLzef0',
|
|
268
|
-
'C3rVCe1HAw49Dhj1zq',
|
|
269
|
-
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
270
|
-
'l2LUDgvYBMfSl2fNzw50lW',
|
|
271
|
-
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
272
|
-
'lMrZy29Yza',
|
|
273
|
-
'C2L6zq',
|
|
274
|
-
'z2v0twLUDxrLCW',
|
|
275
|
-
'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
|
|
276
|
-
'BwvZC2fNzq',
|
|
277
|
-
'y3jLyxrLx3rHC2TZigzHAwXLza',
|
|
278
|
-
'Dgv4Dc9WBgfPBG',
|
|
279
|
-
'CMvZB2X2zvrHCMDLDa',
|
|
280
|
-
'Aw1Hz2uVD2vICa',
|
|
281
|
-
'BwLU',
|
|
282
|
-
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
283
|
-
'C29YDa',
|
|
284
|
-
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
285
|
-
'uM9VDcb0yxnRig1LC3nHz2uGAwq6ia',
|
|
286
|
-
'C2vX',
|
|
287
|
-
'zgvSzxrL',
|
|
288
|
-
'y2HPBgrYzw5uB3rHBa',
|
|
289
|
-
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
290
|
-
'ywjVCNrLza',
|
|
291
|
-
'Axnoyu4',
|
|
292
|
-
'w3rHCMDLDd0',
|
|
293
|
-
'yxv0BZO',
|
|
294
|
-
'Bwf4',
|
|
295
|
-
'ls1Hz2vUDc1Pza',
|
|
296
|
-
'zw50zxiTAgfUzg9MzIbMywLSzwq',
|
|
297
|
-
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
298
|
-
'lsaJ',
|
|
299
|
-
'yxr0ywnOBwvUDhm',
|
|
300
|
-
'zgvZDhjVEwvK',
|
|
301
|
-
'oIb3B3jRzxiGy2fUig9UBhKGB3bLCMf0zsbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcaO',
|
|
302
|
-
'yxr0ywnOBwvUDeLK',
|
|
303
|
-
'Ahr0CdO',
|
|
304
|
-
'lcbJB250zw50lxr5Cgu9',
|
|
305
|
-
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
306
|
-
'CM9VDe1LC3nHz2vjza',
|
|
307
|
-
'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
|
|
308
|
-
'zMfSC2u',
|
|
309
|
-
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
310
|
-
's0iPcKf0DgfJAg1LBNqGsuq6ia',
|
|
311
|
-
'C3rYAw5N',
|
|
312
|
-
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxm',
|
|
313
|
-
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
314
|
-
'ywXS',
|
|
315
|
-
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
316
|
-
'zgLNzxn0',
|
|
317
|
-
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4GrM9Yihn1yNrHC2TZlcbHBhnVihbHC3mGC3vIDgfZA19UDw1IzxiU',
|
|
318
|
-
'C3rYAw5NAwz5',
|
|
319
|
-
'D3nZoG',
|
|
320
|
-
'y2HLy2TnzxnZywDLCW',
|
|
321
|
-
'D29YA2vYtw9KzuvUywjSzwq',
|
|
322
|
-
'l3DVCMTLCNmVD2fPDgLUz19PBNb1Da',
|
|
323
|
-
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
324
|
-
'kg5VBMuP',
|
|
325
|
-
'Dw5JBgfPBv90yxnR',
|
|
326
|
-
'DhLWzq',
|
|
327
|
-
'DgfZAW',
|
|
328
|
-
'y29UDgvUDc10ExbL',
|
|
329
|
-
'ndC4mZmWmeXdshPIyq',
|
|
330
|
-
'y2XHAw0GzMfPBgvK',
|
|
331
|
-
'l3nLBMq',
|
|
332
|
-
'DgHYzwfKu2HVCNrjza',
|
|
333
|
-
'CgfYA193B3jRzxi',
|
|
334
|
-
'D3m6',
|
|
335
|
-
'iYmJienOyw5UzwXZ',
|
|
336
|
-
'DMfSDwu',
|
|
337
|
-
'zgvZy3jPyMu',
|
|
338
|
-
'lsba',
|
|
339
|
-
'Dgv4Dc9JC3y',
|
|
340
|
-
'yxbWBgLJyxrPB24VEg1S',
|
|
341
|
-
'CMvZCg9UC2u',
|
|
342
|
-
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
343
|
-
'CgfYA193B3jRzxiGzMfPBgvK',
|
|
344
|
-
'tM8GDgfZA3mGy3jLyxrLzc4',
|
|
345
|
-
'vgfZAYa',
|
|
346
|
-
'lcbWCMv2Awv3pq',
|
|
347
|
-
'DgHYzwfKvgfYz2v0pq',
|
|
348
|
-
'zxnJywXHDgvFDg9FBwfPBG',
|
|
81
|
+
function _0x3988() {
|
|
82
|
+
const _0x2c6691 = [
|
|
83
|
+
't3b0Aw9UywWUieLMig9TAxr0zwqSihrOzsbTzxnZywDLigLZihb1yMXPyY4Gsw4GDgfZAYb0AhjLywrZlcbZzxqGiMfZAwrLiIbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Grg8GBM90ihnLDcbVDxrZAwrLihrOCMvHzhmU',
|
|
84
|
+
'BgLZDf90yxnRCW',
|
|
349
85
|
'DgfZA051BwjLCG',
|
|
350
|
-
'
|
|
351
|
-
'
|
|
352
|
-
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
353
|
-
'C2vYDMvY',
|
|
354
|
-
'z2v0',
|
|
355
|
-
'C3bSAxq',
|
|
356
|
-
'C2v0',
|
|
357
|
-
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
86
|
+
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
87
|
+
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
358
88
|
'cUkAOo+4JYbxt1jlrviGqunusvzbveveiokaLcbtDg9Wiefmtcb3B3jRig9UihrOAxmGDgfZAYbPBw1LzgLHDgvSEs4Gv29YA2vYigHHBMrSzxmGzxHLy3v0Aw9UigvUzc10BY1LBMqU',
|
|
359
|
-
'
|
|
360
|
-
'
|
|
361
|
-
'
|
|
362
|
-
'cKLMihLVDxiGBwvTB3j5ig9YignOyw5UzwWGCNvSzxmGCMvXDwLYzsbYzxzPzxCSihnLBMqGysbTzxnZywDLig1LBNrPB25PBMCGDgHLihjLDMLLD2vYigjLzM9YzsbWyxjRAw5NlG',
|
|
363
|
-
'zw50CMLLCW',
|
|
364
|
-
'Aw1Hz2uVz2LM',
|
|
365
|
-
'icHPzdO',
|
|
366
|
-
'l3rHC2TZpW',
|
|
367
|
-
'DgHYzwfKtNvTyMvY',
|
|
368
|
-
'BwfW',
|
|
89
|
+
'twLZC2LUzYaTlwfNzw50lwLK',
|
|
90
|
+
'ywDLBNrZ',
|
|
91
|
+
'yxjYyxLcDwzMzxi',
|
|
369
92
|
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
370
|
-
'
|
|
371
|
-
'CgfYC2u',
|
|
372
|
-
'yxr0ywnOBwvUDenHy2HL',
|
|
373
|
-
'y29UDgvUDa',
|
|
374
|
-
'AxngAw5PDgu',
|
|
375
|
-
'igLUia',
|
|
376
|
-
'ChvIBgLJ',
|
|
377
|
-
'ihn0yxr1CZ0',
|
|
378
|
-
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
379
|
-
'iYmJiefNzw50CW',
|
|
380
|
-
'z2v0rNvSBfLLyxi',
|
|
381
|
-
'B2jQzwn0',
|
|
382
|
-
'Dg9VBa',
|
|
383
|
-
'iJOGC3rHDhvZpq',
|
|
384
|
-
'y3jLyxrLx3rHC2TZ',
|
|
385
|
-
'rMLSzsbUB3qGzM91BMq6ia',
|
|
386
|
-
'y2HLy2TFBwvZC2fNzxmGzMfPBgvK',
|
|
387
|
-
'DxbSB2fKx2zPBgu',
|
|
388
|
-
'C2vUzgvYvhLWzq',
|
|
389
|
-
'BMfTzq',
|
|
390
|
-
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
391
|
-
'zxzLBNrtzxe',
|
|
93
|
+
'r0vu',
|
|
392
94
|
'l3nLCNzLCG',
|
|
393
|
-
'
|
|
394
|
-
'
|
|
395
|
-
'
|
|
396
|
-
'
|
|
397
|
-
'
|
|
398
|
-
'
|
|
399
|
-
'
|
|
95
|
+
'EM9K',
|
|
96
|
+
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
97
|
+
'AgfZ',
|
|
98
|
+
'C3vIDgfZA051BwjLCG',
|
|
99
|
+
'D29YA2vYu2vZC2LVBKLK',
|
|
100
|
+
'D3m6',
|
|
101
|
+
'oeDtENvQqG',
|
|
102
|
+
'Axnoyu4',
|
|
103
|
+
'y2HLy2TnzxnZywDLCW',
|
|
104
|
+
'y3jLyxrLzef0',
|
|
105
|
+
'v29YA2vYici',
|
|
106
|
+
'DxbSB2fKx2zPBgu',
|
|
107
|
+
'CNvUswq',
|
|
108
|
+
'C2HHmJu2',
|
|
109
|
+
'C3rVCe1HAw4',
|
|
110
|
+
'vgfZAYa',
|
|
111
|
+
'ig1LC3nHz2vZihnOB3DUlIbvC2uGyMvMB3jLpq',
|
|
112
|
+
'CgfYC2vjBNq',
|
|
113
|
+
'ywz0zxjtzxe',
|
|
114
|
+
'cGOTls0G',
|
|
115
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxm',
|
|
400
116
|
'ywrKrxzLBNrmAxn0zw5LCG',
|
|
117
|
+
'zg06',
|
|
118
|
+
'l3rHC2TZl3vUy2XHAw0',
|
|
119
|
+
'yxjNDG',
|
|
120
|
+
'BwvTyMvY',
|
|
121
|
+
'CMvJB3jK',
|
|
122
|
+
'Bwv0yq',
|
|
123
|
+
'cKLMihLVDxiGBwvTB3j5ig9YignOyw5UzwWGCNvSzxmGCMvXDwLYzsbYzxzPzxCSihnLBMqGysbTzxnZywDLig1LBNrPB25PBMCGDgHLihjLDMLLD2vYigjLzM9YzsbWyxjRAw5NlG',
|
|
124
|
+
'CgfYA193B3jRzxi',
|
|
125
|
+
'ls1KywvTB24TBg9JywWTDxjS',
|
|
126
|
+
'C2vYDMvYtMfTzq',
|
|
127
|
+
'zNjVBq',
|
|
128
|
+
'z2v0sg91CNm',
|
|
129
|
+
'zxHLy3v0Aw9Utw9Kzq',
|
|
130
|
+
'6k+35Rgcia',
|
|
131
|
+
'ls1ZzxnZAw9UlwLK',
|
|
132
|
+
'C2LNBMfS',
|
|
133
|
+
'C3vIDgfZA19UDw1Izxi',
|
|
134
|
+
'l2nVBNrLBNq',
|
|
135
|
+
'lcbJB250zw50lxr5Cgu9',
|
|
136
|
+
'yxnPzgu',
|
|
137
|
+
'zgvZDhjVEwvK',
|
|
138
|
+
'C2vYDMvY',
|
|
139
|
+
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
140
|
+
'BwLU',
|
|
401
141
|
'DgfZA0LK',
|
|
402
|
-
'DxrMoa',
|
|
403
|
-
'DxjNzw50',
|
|
404
|
-
'lIbnzxnZywDLieLeoIa',
|
|
405
|
-
'ndKWnfvLyunPtq',
|
|
406
142
|
'l3jLC29SDMuTy2HHBM5LBa',
|
|
407
|
-
'BNvTyMvY',
|
|
408
|
-
'DgHYzwfKvgfYz2v0',
|
|
409
|
-
'ywDLBNrZ',
|
|
410
|
-
'l3n0yxj0',
|
|
411
|
-
'Dg9tDhjPBMC',
|
|
412
|
-
'ignSywLTzwq',
|
|
413
|
-
'DMLLD19MAwXL',
|
|
414
|
-
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
415
|
-
'C3rHCNrZv2L0Aa',
|
|
416
|
-
'y29UDgvUDfr5Cgu',
|
|
417
|
-
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
418
|
-
'u2vUzcbHig1LC3nHz2uUieLMihzPC2LIAwXPDhKGAxmGB21PDhrLzcWGDgHLig1LC3nHz2uGAxmGChvIBgLJlIbjBIb0yxnRihrOCMvHzhmSihnLDcb2AxnPyMLSAxr5oIbHC2LKzsbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Gt3v0C2LKzsb0AhjLywrZlcbKBYbUB3qGC2v0ihzPC2LIAwXPDhKUifjLDxnLihrOzsbLEgfJDcb0yxjNzxqGC3rYAw5NigzYB20GAw5JB21PBMCGBwvZC2fNzxmU',
|
|
419
|
-
'zw51Bq',
|
|
420
|
-
'otmWr21pENzT',
|
|
421
|
-
'ihr5Cgu9ywDLBNq',
|
|
422
|
-
'v29YA2vYia',
|
|
423
|
-
'cGOTls0G',
|
|
424
|
-
'lMjPBG',
|
|
425
|
-
'C2vYDMvYvxjS',
|
|
426
|
-
'CMvHzeHPC3rVCNK',
|
|
427
|
-
'ywDNCMvNyxrLswq',
|
|
428
|
-
'r0vu',
|
|
429
|
-
'sfruuca',
|
|
430
|
-
'DxbSB2fKrMLSzq',
|
|
431
|
-
'rMLSzsb1CgXVywrLzdOG',
|
|
432
|
-
'ywz0zxjtzxe',
|
|
433
|
-
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
434
|
-
'CgfYC2vjBNq',
|
|
435
|
-
'twvZC2fNzsbZzw50ihrVia',
|
|
436
|
-
'AgfZ',
|
|
437
|
-
'CMvXDwvZDfvYBa',
|
|
438
|
-
'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
|
|
439
|
-
'zNjVBq',
|
|
440
|
-
'4PQG77IpifDpuKTfuIbbq1rjvKfuruqG4Ocuifn0B3aGquXmihDVCMSGB24GDgHPCYb0yxnRigLTBwvKAwf0zwX5lIbeBYbUB3qGC2vUzcbMDxj0AgvYig1LC3nHz2vZihrVihrOAxmGDgHYzwfKlG',
|
|
441
|
-
'zg06',
|
|
442
|
-
'l3jLy2vPDMu/',
|
|
443
|
-
'ig1LC3nHz2vZihnOB3DUlIbvC2uGyMvMB3jLpq',
|
|
444
|
-
'C2vUze1LC3nHz2u',
|
|
445
|
-
'DgfZAY0',
|
|
446
|
-
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
447
|
-
'CNvUswq',
|
|
448
|
-
'ig1ZzZ0',
|
|
449
|
-
'ls1PBML0AwfSlwXHC3qTC2vLBI1Zzxe',
|
|
450
|
-
'zg0T',
|
|
451
|
-
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
452
|
-
'ANnVBG',
|
|
453
|
-
'rg93BMXVywrLzcb0BZOG',
|
|
454
|
-
'AgLNAa',
|
|
455
|
-
'ChjVDg9JB2W',
|
|
456
|
-
'yMvMB3jL',
|
|
457
|
-
'xsba',
|
|
458
|
-
'twfYAYb0AguGy3vYCMvUDcb3B3jRzxiGyxmGD2fPDgLUzYbMB3iGAhvTyw4GAw5WDxqUifbHDxnLCYb0AguGAwrSzsbuveWGDgLTzxiGDw50AwWGysbUzxCGBwvZC2fNzsbHCNjPDMvZlG',
|
|
459
|
-
'y2XHAw1uyxnRCW',
|
|
460
|
-
'ChvZAa',
|
|
461
|
-
'iYmJieH1BwfUCW',
|
|
462
|
-
'igfSCMvHzhKGAgfZigfUigfJDgL2zsb3B3jRzxiUihn0B3bnywLUpxrYDwuGzxHLy3v0Aw9Utw9Kzt13B3jRzxi',
|
|
463
|
-
'BMv4Den1CNnVCG',
|
|
464
|
-
'mtK4nZm2nvz6zhPqCq',
|
|
465
|
-
'DgHYzwfKx3rHCMDLDa',
|
|
466
143
|
'AhvTyw5Z',
|
|
467
|
-
'
|
|
468
|
-
'
|
|
469
|
-
'zxHLy3v0Aw9Utw9Kzq',
|
|
470
|
-
'DMfSDwvZ',
|
|
471
|
-
'y2f0y2G',
|
|
472
|
-
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw4GB25SEsbJBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCNmU',
|
|
473
|
-
'AgvHzgvYCW',
|
|
474
|
-
'Aw1Hz2uVC3zNk3HTBa',
|
|
475
|
-
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
144
|
+
'yxnZAwDUzwvoyw1L',
|
|
145
|
+
'Agv4',
|
|
476
146
|
'iIbWyxjRzwqUifnHBwuTDgHYzwfKigzVBgXVDY11Ccb3AwXSihjLC3vTzsb0AgLZigXHBMuU',
|
|
147
|
+
'AxngAwXL',
|
|
148
|
+
'zxnJywXHDgvFDg9FBwfPBG',
|
|
149
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
150
|
+
'y2HPBgrYzw5eB25L',
|
|
151
|
+
'rMLSzsbZAxPLigv4y2vLzhmGBgLTAxq6ia',
|
|
152
|
+
'DgHYzwfKvgfYz2v0',
|
|
153
|
+
'D29YA19RzxK',
|
|
154
|
+
'CMvHC29U',
|
|
155
|
+
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWGB3iGDgHYzwfKlIbuAhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPihjLDhvYBNmGDgHLihbHCMvUDcb0yxnRihbSDxmGAxrZihn1yNrHC2TZihDPDgGGywDNCMvNyxrPB24GzMLLBgrZicHJAgLSzhjLBLrVDgfSlcbJAgLSzhjLBKrVBMuSignOAwXKCMvUsw5qCM9NCMvZCYKUienOyw5UzwWGDgfYz2v0ihjLDhvYBNmGB25SEsbWyxjLBNqGDgfZA3mGkg5Vihn1yNrHC2TZks4',
|
|
156
|
+
'lsaJ',
|
|
157
|
+
'BMv4Den1CNnVCG',
|
|
158
|
+
'D29YA2vYCW',
|
|
159
|
+
'Bg9JywXLq29TCgfYzq',
|
|
160
|
+
'ls13B3jRzxiTBw9Kzq',
|
|
161
|
+
'BwvZC2fNzq',
|
|
162
|
+
'mZu3nZm4nw92Ew9HBG',
|
|
163
|
+
'ig1LC3nHz2vZkqOk',
|
|
164
|
+
'igfZC2LNBMvLpua',
|
|
165
|
+
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
166
|
+
'ChvZAa',
|
|
167
|
+
'CMvHzeHPC3rVCNK',
|
|
477
168
|
'Dw5JBgfPBv90yxnRoIb3B3jRzxiGy2fUig9UBhKGDw5JBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCI4',
|
|
478
|
-
'
|
|
479
|
-
'
|
|
480
|
-
'
|
|
481
|
-
'
|
|
482
|
-
'lIbZDg9WtwfPBJ10CNvLigv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
483
|
-
'zMLSzw5HBwu',
|
|
484
|
-
'yxbWBgLJyxrPB24VCgrM',
|
|
485
|
-
'yMfZzw5HBwu',
|
|
486
|
-
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmVy2XHAw0',
|
|
487
|
-
'C3vIDgfZA051BwjLCG',
|
|
488
|
-
'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
|
|
489
|
-
'D29YA2vYsgfUzg9MzG',
|
|
490
|
-
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
491
|
-
'twLZC2LUzYaTlwfNzw50lwLK',
|
|
169
|
+
'pgvTChr5pG',
|
|
170
|
+
't3jPz2LUywWGBwvZC2fNztOG',
|
|
171
|
+
'BgvUz3rO',
|
|
172
|
+
'v29YA2vYia',
|
|
492
173
|
'zgvZy3jPChrPB24',
|
|
493
|
-
'
|
|
494
|
-
'
|
|
174
|
+
'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlIbgB3iGC3vIDgfZA3mGAw4Gysb0AhjLywqSihvZzsbZDwj0yxnRx251BwjLCNmGD2L0AcbHihnPBMDSzsb0yxnRx251BwjLCNmGzw50CNKU',
|
|
175
|
+
'ywjVCNq',
|
|
495
176
|
'z2v0tw9UDgG',
|
|
496
|
-
'
|
|
497
|
-
'
|
|
498
|
-
'
|
|
499
|
-
'
|
|
500
|
-
'
|
|
177
|
+
'DgHYzwfKx3rHCMDLDa',
|
|
178
|
+
'l3DVCMTLCNmVD2fPDgLUz19PBNb1Da',
|
|
179
|
+
'DMfSDwvZ',
|
|
180
|
+
'D2fPDgLUz19PBNb1Da',
|
|
181
|
+
'zMLSzw5HBwu',
|
|
182
|
+
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
183
|
+
'z2v0x3DVCMTLCL9ZDgf0DxmGzMfPBgvK',
|
|
184
|
+
'C2L6zuj5DgvZ',
|
|
185
|
+
'C3vJy2vZCW',
|
|
186
|
+
'BM93',
|
|
187
|
+
'BgLZDfnLCNzLCG',
|
|
188
|
+
'mZG1ogr3yw96CW',
|
|
189
|
+
'C2vX',
|
|
190
|
+
'mJeXnwXjB05eCq',
|
|
191
|
+
'CMvZCg9UC2u',
|
|
501
192
|
'DgfZA3m',
|
|
193
|
+
'D29YA2vYtw9Kzq',
|
|
194
|
+
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
195
|
+
'Dw5RBM93BG',
|
|
196
|
+
'C2vUzf9TzxnZywDLigzHAwXLza',
|
|
197
|
+
'yxbWBgLJyxrPB24VANnVBG',
|
|
198
|
+
'yxjYyxK',
|
|
199
|
+
'CgfYDgLJAxbHBNrjza',
|
|
200
|
+
'C3rHDhvZ',
|
|
201
|
+
'DxjNzw50',
|
|
202
|
+
'ywDLBNrjza',
|
|
203
|
+
'y2HLy2TFBwvZC2fNzxm',
|
|
204
|
+
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
205
|
+
'z2v0u2vJB25KCW',
|
|
502
206
|
'A2LUza',
|
|
503
|
-
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
504
|
-
'l2HPC3rVCNK/',
|
|
505
|
-
'zMLSDgvY',
|
|
506
|
-
'BM93',
|
|
507
|
-
'sgfUzg9MzIb0BYb3B3jRzxiGzM9YihrHC2SG',
|
|
508
|
-
'l3rHC2TZl3vUy2XHAw0',
|
|
509
|
-
'AxngAwXL',
|
|
510
|
-
'mJi3mJDJuuTmvu8',
|
|
511
|
-
'ywDNCMvNyxrLvhLWzq',
|
|
512
|
-
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
513
|
-
'y3vYC29Y',
|
|
514
207
|
'y2XPzw50',
|
|
515
|
-
'
|
|
516
|
-
'
|
|
517
|
-
'
|
|
518
|
-
'
|
|
519
|
-
'ndaWmhjewgzsEq',
|
|
520
|
-
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxjYB3i9',
|
|
521
|
-
'DgL0Bgu',
|
|
522
|
-
'DxbKyxrL',
|
|
523
|
-
'ls1Zzxj2zxiTDxjS',
|
|
524
|
-
'Dg9KBW',
|
|
525
|
-
'vgfZAZOG',
|
|
526
|
-
'y2HHDa',
|
|
527
|
-
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
528
|
-
'CMvHzf9OAxn0B3j5',
|
|
529
|
-
'yxr0ywnOBwvUDf9Pzhm',
|
|
530
|
-
'zxHLy3v0Aw9Utw9Kzt0',
|
|
208
|
+
'DxrMoa',
|
|
209
|
+
'zgvSzxrL',
|
|
210
|
+
'Dgv4Dc9WBgfPBG',
|
|
211
|
+
'yxr0ywnOBwvUDf9Pza',
|
|
531
212
|
'DgHYzwfKswq',
|
|
532
|
-
'
|
|
533
|
-
'
|
|
534
|
-
'
|
|
535
|
-
'y2XHAw1FDgfZA3m',
|
|
213
|
+
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4Gsw4Gysb0AhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPlcbJCMvHDgvZihn1yNrHC2TZihvUzgvYihrOzsbLEgLZDgLUzYbWyxjLBNqGDgfZAY4',
|
|
214
|
+
'BgLTAxq',
|
|
215
|
+
'zMLUza',
|
|
536
216
|
'Aw5FChjVz3jLC3m',
|
|
537
|
-
'
|
|
538
|
-
'
|
|
539
|
-
'
|
|
540
|
-
'
|
|
541
|
-
'
|
|
542
|
-
'
|
|
543
|
-
'
|
|
544
|
-
'
|
|
545
|
-
'
|
|
546
|
-
'
|
|
547
|
-
'
|
|
548
|
-
'
|
|
549
|
-
'
|
|
217
|
+
'ywDNCMvNyxrLswq',
|
|
218
|
+
'yxr0ywnOBwvUDf9Pzhm',
|
|
219
|
+
'ChvIBgLJ',
|
|
220
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
221
|
+
'DgfYz2v0',
|
|
222
|
+
'nteWnteZtgvAzuTA',
|
|
223
|
+
'l3rHC2TZl2nSywLT',
|
|
224
|
+
'zgvZy3jPyMu',
|
|
225
|
+
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
226
|
+
'C3rYAw5NAwz5',
|
|
227
|
+
'CMvHzf9OAxn0B3j5',
|
|
228
|
+
'DgHYzwfK',
|
|
229
|
+
'zw50zxiTAgfUzg9MzIbMywLSzwq',
|
|
230
|
+
'C2vYDMvYvxjS',
|
|
231
|
+
'mtGXotGWufPNs2HO',
|
|
232
|
+
'zgLZCg9ZAxrPB24',
|
|
233
|
+
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
234
|
+
'C2vUze1LC3nHz2u',
|
|
235
|
+
'ywrK',
|
|
236
|
+
'iYmJieH1BwfUCW',
|
|
237
|
+
'l3nLBMq',
|
|
238
|
+
'C29YDa',
|
|
239
|
+
'sw52ywXPzcaTlwLUAxrPywWTBgfZDc1ZzwvUlxnLCq',
|
|
240
|
+
'y29UDgvUDc10ExbL',
|
|
241
|
+
'DgvZDa',
|
|
242
|
+
'igTPBMq9',
|
|
243
|
+
'l3jLy2vPDMu/',
|
|
244
|
+
'ihrPBwu9',
|
|
245
|
+
'C2vZC2LVBKLK',
|
|
246
|
+
'ihr5Cgu9ywDLBNq',
|
|
247
|
+
'lsba',
|
|
248
|
+
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
249
|
+
'ig1LC3nHz2u9',
|
|
250
|
+
'y2HPBgrYzw5uB3rHBa',
|
|
251
|
+
'xsba',
|
|
252
|
+
'zgfLBw9UqxbPs2v5',
|
|
253
|
+
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
254
|
+
'z2v0rNvSBfLLyxi',
|
|
255
|
+
'CMvZDwX0sNnVBG',
|
|
256
|
+
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
257
|
+
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
258
|
+
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
259
|
+
'z2v0rgf0zq',
|
|
260
|
+
'BNvTyMvY',
|
|
550
261
|
'C2vUzgvYtMfTzq',
|
|
551
|
-
'
|
|
262
|
+
'zxzLBNrtzxe',
|
|
263
|
+
'C3rHCNrLza',
|
|
264
|
+
'Dgv4Da',
|
|
265
|
+
'zg9Uzq',
|
|
266
|
+
'zxjYB3i',
|
|
267
|
+
'oIb3B3jRzxiGCNvUDgLTzsbTAxnZAw5NihDVCMTLCLrOCMvHzfrHCMDLDdSGy2fUBM90ihzHBgLKyxrLihnJB3bL',
|
|
268
|
+
'BwvTyMvYCW',
|
|
269
|
+
'DxnLCG',
|
|
270
|
+
'ywDNCMvNyxrLvhLWzq',
|
|
271
|
+
'iJOGC3rHDhvZpq',
|
|
272
|
+
'yxr0ywnOBwvUDenHy2HL',
|
|
273
|
+
'Dgv4Dc9JC3y',
|
|
274
|
+
'zMLSzv9WyxrO',
|
|
275
|
+
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxjYB3i9',
|
|
276
|
+
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
277
|
+
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
278
|
+
'y3jLyxrLx3rHC2TZ',
|
|
279
|
+
'ywjVCNrLza',
|
|
280
|
+
'sfruuca',
|
|
281
|
+
'DhjPBq',
|
|
282
|
+
'y29UDgvUDfr5Cgu',
|
|
283
|
+
'y3jLyxrLx3rHC2TZigzHAwXLza',
|
|
284
|
+
'BgLZDf9Zzxj2zxi',
|
|
285
|
+
'DgfZA19Pza',
|
|
286
|
+
'AgvHzgvYCW',
|
|
287
|
+
'BwfPBG',
|
|
288
|
+
'CNvUBMLUzW',
|
|
289
|
+
'Ahr0CdO',
|
|
290
|
+
'C2vUzf9TzxnZywDL',
|
|
291
|
+
'iYmGu2vYDMvYoIa',
|
|
292
|
+
'z2v0twLUDxrLCW',
|
|
293
|
+
'y29UDgvUDejHC2u2na',
|
|
294
|
+
'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
|
|
552
295
|
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
553
|
-
'
|
|
554
|
-
'
|
|
555
|
-
'
|
|
556
|
-
'
|
|
296
|
+
'CMvXDwvZDfvYBa',
|
|
297
|
+
'C3rVCe1HAw49Dhj1zq',
|
|
298
|
+
'BgLZDfrHC2TZ',
|
|
299
|
+
'CMvZDwX0CW',
|
|
300
|
+
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
301
|
+
'AM9PBG',
|
|
302
|
+
'DgHYzwfKtNvTyMvY',
|
|
303
|
+
'y2XHAw0GzMfPBgvK',
|
|
304
|
+
'CMvZB2X2zvrHCMDLDa',
|
|
305
|
+
'y2XHAw1FDgfZA3mGzMfPBgvK',
|
|
306
|
+
'igf0DgfJAg1LBNq',
|
|
307
|
+
'l3DVCMTLCNmVCgfYAW',
|
|
308
|
+
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
309
|
+
'Dg9tDhjPBMC',
|
|
310
|
+
'zMLSDgvY',
|
|
311
|
+
'ntG5odG1s2n6Cw1L',
|
|
312
|
+
'l2zPBMLZAa',
|
|
313
|
+
'yM9KEu1HCMTKB3DU',
|
|
314
|
+
'y2HHBM5LBeLK',
|
|
315
|
+
'twfYAYb0AguGy3vYCMvUDcb3B3jRzxiGyxmGD2fPDgLUzYbMB3iGAhvTyw4GAw5WDxqUifbHDxnLCYb0AguGAwrSzsbuveWGDgLTzxiGDw50AwWGysbUzxCGBwvZC2fNzsbHCNjPDMvZlG',
|
|
316
|
+
'AgLNAa',
|
|
317
|
+
'y2HHBM5LBhm',
|
|
318
|
+
'ihn0yxr1CZ0',
|
|
319
|
+
'Dg9KBW',
|
|
320
|
+
'yxbWBgLJyxrPB24VEg1S',
|
|
321
|
+
'tM8GDgfZA3mGzM91BMqU',
|
|
557
322
|
'Bwf0y2Hoyw1L',
|
|
558
|
-
'
|
|
559
|
-
'
|
|
560
|
-
'
|
|
561
|
-
'
|
|
562
|
-
'
|
|
563
|
-
'
|
|
564
|
-
'
|
|
565
|
-
'zgfLBw9Utg9JywXvCMW',
|
|
566
|
-
'D2fPDgLUz19PBNb1Da',
|
|
323
|
+
'y2XHAw1FDgfZA3m',
|
|
324
|
+
'BwvZC2fNzxm',
|
|
325
|
+
'Dg9ju09tDhjPBMC',
|
|
326
|
+
'AwrSzq',
|
|
327
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
|
|
328
|
+
'ywDNCMvNyxrLswrZ',
|
|
329
|
+
'yMvMB3jL',
|
|
567
330
|
'ywDLBNq',
|
|
568
|
-
'
|
|
569
|
-
'
|
|
570
|
-
'
|
|
571
|
-
'
|
|
572
|
-
'
|
|
573
|
-
'
|
|
574
|
-
'
|
|
575
|
-
'
|
|
576
|
-
'
|
|
577
|
-
'
|
|
578
|
-
'
|
|
579
|
-
'
|
|
580
|
-
'
|
|
581
|
-
'
|
|
331
|
+
'igfSCMvHzhKGAgfZigfUigfJDgL2zsb3B3jRzxiUihn0B3bnywLUpxrYDwuGzxHLy3v0Aw9Utw9Kzt13B3jRzxi',
|
|
332
|
+
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
333
|
+
'BwvKAxvT',
|
|
334
|
+
'l2fWAs9Hz2vUDc1ZzxnZAw9UCY8',
|
|
335
|
+
'zgLNzxn0',
|
|
336
|
+
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
337
|
+
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
|
|
338
|
+
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
339
|
+
'rg8GBM90ihnLBMqGzNvYDgHLCIbTzxnZywDLCYb0BYb0AgLZihrOCMvHzcdIGjqGDgHLihDVCMTLCIbPCYbOyw5KBgLUzYbPDc4',
|
|
340
|
+
'uMvHzcb0AhjLywqGAgLZDg9YEsbIzwzVCMuGDgfRAw5NigfJDgLVBI4Grg8GBM90igvJAg8GDgHPCYbTzxnZywDLihrVihrOzsb0AhjLywqU',
|
|
341
|
+
'C2L6zq',
|
|
342
|
+
'Dw5JBgfPBvrHC2S',
|
|
343
|
+
'B2jQzwn0',
|
|
344
|
+
'twLZC2LUzYaTlwrHzw1VBI1HCgKTA2v5',
|
|
345
|
+
'vgHYzwfKihrHCMDLDdOG',
|
|
346
|
+
'yxr0ywnOBwvUDhm',
|
|
347
|
+
'DxbSB2fKrMLSzq',
|
|
348
|
+
'C2XPy2u',
|
|
349
|
+
'z2v0',
|
|
350
|
+
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
351
|
+
'kgXLz2fJEsK',
|
|
582
352
|
'C2f2zq',
|
|
583
|
-
'
|
|
584
|
-
'
|
|
585
|
-
'
|
|
586
|
-
'
|
|
353
|
+
'Bwf0y2Hoyw1Ltg93zxi',
|
|
354
|
+
'AgfZtw9Yzq',
|
|
355
|
+
'DgL0Bgu',
|
|
356
|
+
'C3rYAw5N',
|
|
357
|
+
's0iPcKf0DgfJAg1LBNqGsuq6ia',
|
|
358
|
+
'ihn0yxLZigLUig1HAw4GC2vZC2LVBIaOzxHLy3v0Aw9Utw9Kzt1TywLUktSGCMvTywLUigHLCMuSihjLywqGDgHLihjLzMvYzw5JzwqGCgXHBI9KB2n1BwvUDcWGyw5KignHBgWGy3jLyxrLx3rHC2TZigLUihrOzsbWyxjLBNqGy2HHBM5LBcb0BYbICMvHAYbPDcbPBNrVihrVCc1SzxzLBcb0yxnRCYbPzIb0Agf0igLZihrOzsbPBNrLBNqU',
|
|
359
|
+
'ig1ZzZ0',
|
|
360
|
+
'yxr0ywnOBwvUDenHy2HLrgLY',
|
|
361
|
+
'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
|
|
362
|
+
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
363
|
+
'ANnVBG',
|
|
364
|
+
'yxbWBgLJyxrPB24VCgrM',
|
|
365
|
+
'yxr0ywnOBwvUDeLKCW',
|
|
366
|
+
'y3vYC29Y',
|
|
367
|
+
'DMLLD19MAwXLigzHAwXLza',
|
|
368
|
+
'DgHYzwfKu2HVCNrjza',
|
|
369
|
+
'DxbSB2fKuhjLCgfYzxi',
|
|
370
|
+
'zMLUzenHy2HLzfbHDgG',
|
|
371
|
+
'C3vIDgfZA19UDw1IzxjZ',
|
|
372
|
+
'lMrZy29Yza',
|
|
373
|
+
'u2vUzcbHig1LC3nHz2uUieLMihzPC2LIAwXPDhKGAxmGB21PDhrLzcWGDgHLig1LC3nHz2uGAxmGChvIBgLJlIbjBIb0yxnRihrOCMvHzhmSihnLDcb2AxnPyMLSAxr5oIbHC2LKzsbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Gt3v0C2LKzsb0AhjLywrZlcbKBYbUB3qGC2v0ihzPC2LIAwXPDhKUifjLDxnLihrOzsbLEgfJDcb0yxjNzxqGC3rYAw5NigzYB20GAw5JB21PBMCGBwvZC2fNzxmU',
|
|
374
|
+
'AxnbyNnVBhv0zq',
|
|
587
375
|
'yxbWBgLJyxrPB24VEMLW',
|
|
588
|
-
'
|
|
589
|
-
'
|
|
590
|
-
'
|
|
376
|
+
'BMfTzq',
|
|
377
|
+
'tM8GDgfZA3mGy3jLyxrLzc4',
|
|
378
|
+
'yM9KEvrLEhq',
|
|
379
|
+
'zMv0y2HjBxbS',
|
|
380
|
+
'ls13B3jRzxiTC2vZC2LVBI1Pza',
|
|
381
|
+
'AxngAw5PDgu',
|
|
382
|
+
'C3rHCNrZv2L0Aa',
|
|
383
|
+
'ignSywLTzwq',
|
|
384
|
+
'zgfLBw9Utg9JywXvCMW',
|
|
385
|
+
'y29UDgvUDa',
|
|
386
|
+
'BwvZC2fNzuLK',
|
|
387
|
+
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
388
|
+
'ue9tva',
|
|
389
|
+
'zw51Bq',
|
|
390
|
+
'CgfYDgLJAxbHBNq',
|
|
391
|
+
'Bwf4',
|
|
392
|
+
'CMvWBgfJzq',
|
|
393
|
+
'Cgf5Bg9HzePZB24',
|
|
591
394
|
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
592
|
-
'
|
|
593
|
-
'
|
|
594
|
-
'
|
|
595
|
-
'
|
|
596
|
-
'
|
|
597
|
-
'
|
|
598
|
-
'
|
|
599
|
-
'
|
|
600
|
-
'
|
|
601
|
-
'
|
|
395
|
+
'tM8GDgfZA3mGy2XHAw1Lzc4',
|
|
396
|
+
'yMfZzty0',
|
|
397
|
+
'Bg93',
|
|
398
|
+
'w3rHCMDLDd0',
|
|
399
|
+
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
400
|
+
'Aw5JBhvKzxm',
|
|
401
|
+
'lMjPBG',
|
|
402
|
+
'BwvZC2fNzv9Pzhm',
|
|
403
|
+
'w3nLCt0',
|
|
404
|
+
'ChjVDg9JB2W',
|
|
405
|
+
'zMv0y2HuAw1LB3v0txm',
|
|
406
|
+
'iokaLca',
|
|
407
|
+
'BwfW',
|
|
408
|
+
'D29YA2vYtw9KzuvUywjSzwq',
|
|
409
|
+
'ywz0zxi',
|
|
410
|
+
'C2v0',
|
|
411
|
+
'AxnjBNrLz2vY',
|
|
412
|
+
'Aw1Hz2uVANbLzW',
|
|
413
|
+
'CgfKu3rHCNq',
|
|
414
|
+
'vgfZAZOG',
|
|
602
415
|
'Bgf0zxn0u2vX',
|
|
603
|
-
'
|
|
416
|
+
'D3nZoG',
|
|
604
417
|
'B3jPz2LUywXgAwXLBMfTzq',
|
|
605
|
-
'
|
|
606
|
-
'
|
|
607
|
-
'
|
|
608
|
-
'
|
|
609
|
-
'
|
|
610
|
-
'
|
|
418
|
+
'y2HHBM5LBfrHCMDLDa',
|
|
419
|
+
'y29UBMvJDa',
|
|
420
|
+
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
421
|
+
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
422
|
+
'l3n0yxj0',
|
|
423
|
+
'xsbaC3LZDgvToIbBy2XHAw0TAgfUzg9MzL0G',
|
|
424
|
+
'ls1KywvTB24TyxbPlwTLEq',
|
|
425
|
+
'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
|
|
426
|
+
'y2HLy2TFBwvZC2fNzxmGzMfPBgvK',
|
|
427
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
428
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVC3rKAw8UANm',
|
|
429
|
+
'C2nOzwr1BgvKrM9Y',
|
|
611
430
|
'Aw5KzxHpzG',
|
|
612
|
-
'
|
|
613
|
-
'
|
|
614
|
-
'
|
|
615
|
-
'
|
|
616
|
-
'
|
|
617
|
-
'
|
|
431
|
+
'y2HHDa',
|
|
432
|
+
'C2vUzgvYvhLWzq',
|
|
433
|
+
'z2v0vgLTzq',
|
|
434
|
+
'mti1nZuXmLj6sK9MyW',
|
|
435
|
+
'D29YA2vY',
|
|
436
|
+
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
437
|
+
'Aw1Hz2uVC3zNk3HTBa',
|
|
438
|
+
'D29YA2vYsgfUzg9MzG',
|
|
439
|
+
'y2HHBM5LBe5HBwu',
|
|
440
|
+
'AhvTyw4',
|
|
441
|
+
'zMfSC2u',
|
|
618
442
|
'zgf0yq',
|
|
619
|
-
'C2vUzf9TzxnZywDL',
|
|
620
|
-
'C3vJy2vZCW',
|
|
621
|
-
'l3rHC2TZl2nSywLT',
|
|
622
|
-
'CMvWBgfJzq',
|
|
623
|
-
'Agv4',
|
|
624
|
-
'DgfYz2v0',
|
|
625
|
-
'ig1LC3nHz2u9',
|
|
626
|
-
'6k+35Rgcia',
|
|
627
|
-
'yxbWBgLJyxrPB24VANnVBG',
|
|
628
|
-
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
|
|
629
|
-
'yxnZAwDUzwvoyw1L',
|
|
630
|
-
'ue9tva',
|
|
631
|
-
'z2v0rgf0zq',
|
|
632
|
-
'D29YA2vYtw9Kzq',
|
|
633
|
-
'y2fJAgveAxi',
|
|
634
|
-
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
635
|
-
'AM9PBG',
|
|
636
|
-
'C2vYDMvYtMfTzq',
|
|
637
|
-
'y2HHBM5LBa',
|
|
638
|
-
'AxnjBNrLz2vY',
|
|
639
443
|
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
640
|
-
'
|
|
641
|
-
'
|
|
642
|
-
'
|
|
643
|
-
'
|
|
644
|
-
'
|
|
645
|
-
'
|
|
646
|
-
'
|
|
647
|
-
'
|
|
648
|
-
'
|
|
649
|
-
'
|
|
650
|
-
'
|
|
651
|
-
'
|
|
652
|
-
'
|
|
444
|
+
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
445
|
+
'y2HHBM5LBa',
|
|
446
|
+
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw5UB3qGy2XHAw0GyNKGBwvZC2fNzv9PzhmGkhrVCc1SzxzLBcbTzxnZywDLihbYB21VDgLVBIbPCYbTywLUlwfNzw50ig9UBhKPoYb1C2uGC3vIDgfZA19UDw1IzxjZigLUC2LKzsb5B3vYig93BIb0yxnRihrOCMvHzc4',
|
|
447
|
+
'yxr0ywnOBwvUDeLK',
|
|
448
|
+
'DgfZAW',
|
|
449
|
+
'l3vWBg9Hza',
|
|
450
|
+
'kg5VBMuP',
|
|
451
|
+
'lIbnzxnZywDLieLeoIa',
|
|
452
|
+
'AwrLBxbVDgvUy3LFA2v5',
|
|
453
|
+
'ls13B3jRzxiTDgHYzwfKlxrHCMDLDa',
|
|
454
|
+
'B3b0Aw9UywW',
|
|
455
|
+
'CM9VDe1LC3nHz2vjza',
|
|
456
|
+
'DMLLD19MAwXL',
|
|
457
|
+
'igzHAwXLzdOG',
|
|
458
|
+
'BgLZDf90yxnRCYbMywLSzwq',
|
|
459
|
+
'Aw5FCMv2Awv3',
|
|
460
|
+
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
461
|
+
'vxbKyxrLihrHC2SGC3rHDhvZigj5ignOyw5UzwWGyw5KihrHC2SGBNvTyMvYlIbgB3iGC3vIDgfZA3mSigfSC28GCgfZCYbZDwj0yxnRx251BwjLCI4Gv2HLBIbTB3zPBMCGD29YAYb0BYbPBL9YzxzPzxCSignOzwnRihLVDxiGBwvTB3j5ig9YignOyw5UzwWGCNvSzxmGyw5KihnLBMqGysbYzxzPzxDLCIbTzw50Aw9UihLVDxjZzwXMihDOzw4GyxbWCM9WCMLHDguU',
|
|
462
|
+
'D29YA2vYrgLZCg9ZAxrPB249',
|
|
463
|
+
'Dg9VBa',
|
|
464
|
+
'DMfSDwu',
|
|
465
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
466
|
+
'l3jLy2vPDMu',
|
|
467
|
+
'DMLZAwjPBgL0Eq',
|
|
468
|
+
'l2LUDgvYBMfSl2fNzw50lW',
|
|
469
|
+
'l2HPC3rVCNK/',
|
|
470
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
471
|
+
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
472
|
+
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
473
|
+
'iYmJienOyw5UzwXZ',
|
|
474
|
+
'yxv0BZO',
|
|
475
|
+
'zxHLy3v0Aw9Utw9Kzt0',
|
|
476
|
+
'zw50CMLLCW',
|
|
477
|
+
'Dw5JBgfPBv90yxnR',
|
|
478
|
+
'y2f0y2G',
|
|
479
|
+
'ywXS',
|
|
480
|
+
'CgfYA193B3jRzxiGzMfPBgvK',
|
|
481
|
+
'D29YA2vYx3nLC3nPB25FAwq',
|
|
482
|
+
'mtmXnZyYmgXqsKXSzq',
|
|
483
|
+
'Ahr0CdOVl2XVy2fSAg9ZDdO4mtiX',
|
|
653
484
|
'DgfYz2v0zwq',
|
|
654
|
-
'
|
|
485
|
+
'l3rHC2TZpW',
|
|
486
|
+
'CxvLDwvK',
|
|
487
|
+
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
488
|
+
'uM9VDcb0yxnRig1LC3nHz2u6cG',
|
|
489
|
+
'igLUia'
|
|
655
490
|
];
|
|
656
|
-
|
|
657
|
-
return
|
|
491
|
+
_0x3988 = function () {
|
|
492
|
+
return _0x2c6691;
|
|
493
|
+
};
|
|
494
|
+
return _0x3988();
|
|
495
|
+
}
|
|
496
|
+
function createAttachmentCache(_0x3d4b58 = {}) {
|
|
497
|
+
const _0x1f7dbc = {
|
|
498
|
+
_0x5df921: 0x110,
|
|
499
|
+
_0x498fd9: 0x13d
|
|
500
|
+
}, _0x463e78 = {
|
|
501
|
+
_0x1296a6: 0x1a2,
|
|
502
|
+
_0x4e43f2: 0x19d
|
|
503
|
+
}, _0xa9bc49 = {
|
|
504
|
+
_0x28a37a: 0x251,
|
|
505
|
+
_0x50b352: 0x110
|
|
506
|
+
}, _0x3d2df5 = _0x51636d, _0x5e2db6 = _0x3d4b58['cacheDir'] ?? _0x358960[_0x3d2df5(_0x1f7dbc._0x5df921)](homedir(), _0x3d2df5(0x157), _0x3d2df5(_0x1f7dbc._0x498fd9));
|
|
507
|
+
return {
|
|
508
|
+
'cacheDir': _0x5e2db6,
|
|
509
|
+
async 'findCachedPath'(_0x368823) {
|
|
510
|
+
const _0x176931 = _0x3d2df5;
|
|
511
|
+
await mkdir(_0x5e2db6, { 'recursive': !![] });
|
|
512
|
+
const _0x1fa270 = await readdir(_0x5e2db6), _0x4e5227 = _0x1fa270[_0x176931(_0xa9bc49._0x28a37a)](_0x2994a2 => _0x2994a2['startsWith'](_0x368823 + '-') || _0x2994a2[_0x176931(0x161)](_0x368823));
|
|
513
|
+
return _0x4e5227 ? _0x358960[_0x176931(_0xa9bc49._0x50b352)](_0x5e2db6, _0x4e5227) : null;
|
|
514
|
+
},
|
|
515
|
+
async 'save'(_0x58cff0) {
|
|
516
|
+
const _0x143fa8 = _0x3d2df5;
|
|
517
|
+
await mkdir(_0x5e2db6, { 'recursive': !![] });
|
|
518
|
+
const _0x13293c = _0x58cff0[_0x143fa8(0x184)]?.['trim']() ? safeFilename(_0x58cff0['originalFilename']) : '' + _0x58cff0['attachmentId'] + extensionFor(_0x58cff0['contentType']), _0x13ea3b = _0x358960[_0x143fa8(0x110)](_0x5e2db6, _0x58cff0[_0x143fa8(_0x463e78._0x1296a6)] + '-' + _0x13293c);
|
|
519
|
+
return await writeFile(_0x13ea3b, _0x58cff0[_0x143fa8(_0x463e78._0x4e43f2)]), _0x13ea3b;
|
|
520
|
+
}
|
|
521
|
+
};
|
|
522
|
+
}
|
|
523
|
+
import {
|
|
524
|
+
createHash,
|
|
525
|
+
randomUUID
|
|
526
|
+
} from 'node:crypto';
|
|
527
|
+
var UNSUPPORTED_TARGET_MESSAGE = _0x51636d(0x205);
|
|
528
|
+
function ensureSegment(_0x4a5ecd) {
|
|
529
|
+
const _0x55fc03 = {
|
|
530
|
+
_0xcc2d82: 0xfc,
|
|
531
|
+
_0xe09fbb: 0x173
|
|
532
|
+
}, _0x582631 = _0x51636d, _0x1b16be = _0x4a5ecd[_0x582631(_0x55fc03._0xcc2d82)]();
|
|
533
|
+
if (!_0x1b16be || _0x1b16be[_0x582631(_0x55fc03._0xe09fbb)](':'))
|
|
534
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
535
|
+
return _0x1b16be;
|
|
536
|
+
}
|
|
537
|
+
function parseThreadParts(_0x5288c4) {
|
|
538
|
+
const _0x524b33 = {
|
|
539
|
+
_0x34146f: 0x225,
|
|
540
|
+
_0x4c5a35: 0x225
|
|
541
|
+
}, _0x327266 = _0x51636d, _0x15762d = _0x5288c4['split'](':');
|
|
542
|
+
if (_0x15762d[_0x327266(_0x524b33._0x34146f)] < 0x1 || _0x15762d[_0x327266(_0x524b33._0x4c5a35)] > 0x2)
|
|
543
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
544
|
+
return {
|
|
545
|
+
'channelName': ensureSegment(_0x15762d[0x0] ?? ''),
|
|
546
|
+
'threadShortId': _0x15762d[0x1] ? ensureSegment(_0x15762d[0x1]) : null
|
|
547
|
+
};
|
|
548
|
+
}
|
|
549
|
+
function parseTarget(_0x2a4c5b) {
|
|
550
|
+
const _0xf11a13 = {
|
|
551
|
+
_0x253dc4: 0x13f,
|
|
552
|
+
_0x27d141: 0x19a,
|
|
553
|
+
_0x3a51ed: 0x1a0,
|
|
554
|
+
_0x132b94: 0x153,
|
|
555
|
+
_0x4335b2: 0x1ef,
|
|
556
|
+
_0x156acf: 0x25e
|
|
557
|
+
}, _0x3ba6a7 = _0x51636d, _0x1f991e = _0x2a4c5b['trim']();
|
|
558
|
+
if (!_0x1f991e)
|
|
559
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
560
|
+
if (_0x1f991e[_0x3ba6a7(0x161)]('#')) {
|
|
561
|
+
const _0x206348 = parseThreadParts(_0x1f991e[_0x3ba6a7(_0xf11a13._0x253dc4)](0x1)), _0x22c831 = '#' + _0x206348[_0x3ba6a7(0x19a)];
|
|
562
|
+
if (!_0x206348['threadShortId'])
|
|
563
|
+
return {
|
|
564
|
+
'channelName': _0x206348[_0x3ba6a7(_0xf11a13._0x27d141)],
|
|
565
|
+
'channelTarget': _0x22c831,
|
|
566
|
+
'kind': _0x3ba6a7(_0xf11a13._0x3a51ed),
|
|
567
|
+
'target': _0x22c831
|
|
568
|
+
};
|
|
569
|
+
return {
|
|
570
|
+
'channelName': _0x206348[_0x3ba6a7(0x19a)],
|
|
571
|
+
'channelTarget': _0x22c831,
|
|
572
|
+
'kind': _0x3ba6a7(0x25e),
|
|
573
|
+
'target': _0x22c831 + ':' + _0x206348[_0x3ba6a7(_0xf11a13._0x132b94)],
|
|
574
|
+
'threadShortId': _0x206348[_0x3ba6a7(_0xf11a13._0x132b94)]
|
|
575
|
+
};
|
|
576
|
+
}
|
|
577
|
+
if (_0x1f991e[_0x3ba6a7(0x161)](_0x3ba6a7(0x1ef))) {
|
|
578
|
+
const _0x3a5c8d = parseThreadParts(_0x1f991e['slice'](0x3));
|
|
579
|
+
if (!_0x3a5c8d['channelName']['startsWith']('dm-'))
|
|
580
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
581
|
+
const _0x4a0725 = _0x3ba6a7(_0xf11a13._0x4335b2) + _0x3a5c8d['channelName'];
|
|
582
|
+
if (!_0x3a5c8d[_0x3ba6a7(_0xf11a13._0x132b94)])
|
|
583
|
+
return {
|
|
584
|
+
'channelName': _0x3a5c8d[_0x3ba6a7(0x19a)],
|
|
585
|
+
'channelTarget': _0x4a0725,
|
|
586
|
+
'kind': _0x3ba6a7(0x1a0),
|
|
587
|
+
'target': _0x4a0725
|
|
588
|
+
};
|
|
589
|
+
return {
|
|
590
|
+
'channelName': _0x3a5c8d[_0x3ba6a7(0x19a)],
|
|
591
|
+
'channelTarget': _0x4a0725,
|
|
592
|
+
'kind': _0x3ba6a7(_0xf11a13._0x156acf),
|
|
593
|
+
'target': _0x4a0725 + ':' + _0x3a5c8d['threadShortId'],
|
|
594
|
+
'threadShortId': _0x3a5c8d[_0x3ba6a7(0x153)]
|
|
595
|
+
};
|
|
596
|
+
}
|
|
597
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
598
|
+
}
|
|
599
|
+
function asErrorMessage(_0xc16a7, _0x4ee3bc) {
|
|
600
|
+
const _0x21a4b3 = { _0x3dabb4: 0x147 }, _0x4e3b19 = _0x51636d;
|
|
601
|
+
if (typeof _0xc16a7 === _0x4e3b19(_0x21a4b3._0x3dabb4) && _0xc16a7[_0x4e3b19(0xfc)]())
|
|
602
|
+
return _0xc16a7;
|
|
603
|
+
return _0x4ee3bc;
|
|
604
|
+
}
|
|
605
|
+
function asRecord(_0x3c5b80) {
|
|
606
|
+
const _0xc54ffd = { _0x24b1ca: 0x13a }, _0x190baa = _0x51636d;
|
|
607
|
+
return typeof _0x3c5b80 === _0x190baa(_0xc54ffd._0x24b1ca) && _0x3c5b80 !== null ? _0x3c5b80 : {};
|
|
608
|
+
}
|
|
609
|
+
function stableStringify(_0x3bfffc) {
|
|
610
|
+
const _0x4c463b = {
|
|
611
|
+
_0x6b0c06: 0x1bf,
|
|
612
|
+
_0x5904b5: 0x268
|
|
613
|
+
}, _0x31c0e0 = _0x51636d;
|
|
614
|
+
if (_0x3bfffc === null || typeof _0x3bfffc !== 'object')
|
|
615
|
+
return JSON['stringify'](_0x3bfffc);
|
|
616
|
+
if (Array['isArray'](_0x3bfffc))
|
|
617
|
+
return '[' + _0x3bfffc['map'](_0x95bb78 => stableStringify(_0x95bb78))[_0x31c0e0(0x110)](',') + ']';
|
|
618
|
+
const _0x3c53ff = Object[_0x31c0e0(_0x4c463b._0x6b0c06)](_0x3bfffc)[_0x31c0e0(0x119)](([, _0x34c8f8]) => _0x34c8f8 !== void 0x0)[_0x31c0e0(_0x4c463b._0x5904b5)](([_0x35ec56], [_0x512aab]) => _0x35ec56[_0x31c0e0(0x219)](_0x512aab))['map'](([_0x31c439, _0x5612ee]) => JSON['stringify'](_0x31c439) + ':' + stableStringify(_0x5612ee));
|
|
619
|
+
return '{' + _0x3c53ff['join'](',') + '}';
|
|
620
|
+
}
|
|
621
|
+
function createHeaders(_0x46e5cf) {
|
|
622
|
+
return {
|
|
623
|
+
'Content-Type': 'application/json',
|
|
624
|
+
'x-daemon-api-key': _0x46e5cf
|
|
658
625
|
};
|
|
659
|
-
return _0x581a();
|
|
660
626
|
}
|
|
661
|
-
function
|
|
662
|
-
const
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
627
|
+
function toHttpBaseUrl(_0x3972e1) {
|
|
628
|
+
const _0x4159ed = {
|
|
629
|
+
_0x16581c: 0x177,
|
|
630
|
+
_0x1434bd: 0x104,
|
|
631
|
+
_0x159809: 0x183,
|
|
632
|
+
_0x250374: 0x16b
|
|
633
|
+
}, _0x3367b6 = _0x51636d, _0x44a5ef = new URL(_0x3972e1);
|
|
634
|
+
if (_0x44a5ef['protocol'] === _0x3367b6(0x1de))
|
|
635
|
+
_0x44a5ef[_0x3367b6(_0x4159ed._0x16581c)] = _0x3367b6(_0x4159ed._0x1434bd);
|
|
636
|
+
else
|
|
637
|
+
_0x44a5ef[_0x3367b6(0x177)] === _0x3367b6(_0x4159ed._0x159809) && (_0x44a5ef[_0x3367b6(0x177)] = 'https:');
|
|
638
|
+
return _0x44a5ef[_0x3367b6(0x118)]()[_0x3367b6(_0x4159ed._0x250374)](/\/$/, '');
|
|
639
|
+
}
|
|
640
|
+
function isMentionBoundary(_0x2d86a5) {
|
|
641
|
+
return !_0x2d86a5 || /\s|[([{'",。!?、:;]/['test'](_0x2d86a5);
|
|
642
|
+
}
|
|
643
|
+
function isMentionTerminal(_0x6e62b2) {
|
|
644
|
+
const _0x21140c = _0x51636d;
|
|
645
|
+
return !_0x6e62b2 || /\s|[)\]}'",。!?、:;,.!?]/[_0x21140c(0x26b)](_0x6e62b2);
|
|
646
|
+
}
|
|
647
|
+
function buildMatchableEntries(_0x3c893e) {
|
|
648
|
+
const _0x16b418 = {
|
|
649
|
+
_0x3a2475: 0x1d4,
|
|
650
|
+
_0x217420: 0x209,
|
|
651
|
+
_0x1b7c69: 0x15b,
|
|
652
|
+
_0x51a4e3: 0x15b,
|
|
653
|
+
_0x27f2d1: 0x16d,
|
|
654
|
+
_0x4ead1c: 0x15b,
|
|
655
|
+
_0x403ac0: 0x16d
|
|
656
|
+
}, _0x5ec0ed = _0x51636d, _0x447052 = [];
|
|
657
|
+
for (const _0x34bc94 of [
|
|
658
|
+
..._0x3c893e[_0x5ec0ed(_0x16b418._0x3a2475)],
|
|
659
|
+
..._0x3c893e[_0x5ec0ed(_0x16b418._0x217420)]
|
|
670
660
|
]) {
|
|
671
|
-
|
|
672
|
-
'matchName':
|
|
673
|
-
'matchNameLower':
|
|
674
|
-
'participantId':
|
|
675
|
-
}),
|
|
676
|
-
'matchName':
|
|
677
|
-
'matchNameLower':
|
|
678
|
-
'participantId':
|
|
661
|
+
_0x447052[_0x5ec0ed(0x220)]({
|
|
662
|
+
'matchName': _0x34bc94[_0x5ec0ed(_0x16b418._0x1b7c69)],
|
|
663
|
+
'matchNameLower': _0x34bc94[_0x5ec0ed(_0x16b418._0x51a4e3)][_0x5ec0ed(_0x16b418._0x27f2d1)](),
|
|
664
|
+
'participantId': _0x34bc94['id']
|
|
665
|
+
}), _0x34bc94['id'] !== _0x34bc94[_0x5ec0ed(_0x16b418._0x4ead1c)] && _0x447052[_0x5ec0ed(0x220)]({
|
|
666
|
+
'matchName': _0x34bc94['id'],
|
|
667
|
+
'matchNameLower': _0x34bc94['id'][_0x5ec0ed(_0x16b418._0x403ac0)](),
|
|
668
|
+
'participantId': _0x34bc94['id']
|
|
679
669
|
});
|
|
680
670
|
}
|
|
681
|
-
return
|
|
671
|
+
return _0x447052;
|
|
672
|
+
}
|
|
673
|
+
function _0x3278(_0x13278c, _0x574cc4) {
|
|
674
|
+
_0x13278c = _0x13278c - 0xde;
|
|
675
|
+
const _0x398853 = _0x3988();
|
|
676
|
+
let _0x327812 = _0x398853[_0x13278c];
|
|
677
|
+
if (_0x3278['hyiTvA'] === undefined) {
|
|
678
|
+
var _0xcc5602 = function (_0x275d7d) {
|
|
679
|
+
const _0x49fee3 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
680
|
+
let _0x358960 = '', _0xb55bca = '';
|
|
681
|
+
for (let _0x231ac4 = 0x0, _0x1aabf3, _0x1c87c6, _0x459e68 = 0x0; _0x1c87c6 = _0x275d7d['charAt'](_0x459e68++); ~_0x1c87c6 && (_0x1aabf3 = _0x231ac4 % 0x4 ? _0x1aabf3 * 0x40 + _0x1c87c6 : _0x1c87c6, _0x231ac4++ % 0x4) ? _0x358960 += String['fromCharCode'](0xff & _0x1aabf3 >> (-0x2 * _0x231ac4 & 0x6)) : 0x0) {
|
|
682
|
+
_0x1c87c6 = _0x49fee3['indexOf'](_0x1c87c6);
|
|
683
|
+
}
|
|
684
|
+
for (let _0x30effb = 0x0, _0x140193 = _0x358960['length']; _0x30effb < _0x140193; _0x30effb++) {
|
|
685
|
+
_0xb55bca += '%' + ('00' + _0x358960['charCodeAt'](_0x30effb)['toString'](0x10))['slice'](-0x2);
|
|
686
|
+
}
|
|
687
|
+
return decodeURIComponent(_0xb55bca);
|
|
688
|
+
};
|
|
689
|
+
_0x3278['jfOOOP'] = _0xcc5602, _0x3278['EQgyJB'] = {}, _0x3278['hyiTvA'] = !![];
|
|
690
|
+
}
|
|
691
|
+
const _0x4d883a = _0x398853[0x0], _0x4b8332 = _0x13278c + _0x4d883a, _0x362829 = _0x3278['EQgyJB'][_0x4b8332];
|
|
692
|
+
return !_0x362829 ? (_0x327812 = _0x3278['jfOOOP'](_0x327812), _0x3278['EQgyJB'][_0x4b8332] = _0x327812) : _0x327812 = _0x362829, _0x327812;
|
|
682
693
|
}
|
|
683
|
-
function extractMentionedParticipantIds(
|
|
684
|
-
const
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
},
|
|
692
|
-
for (let
|
|
693
|
-
if (
|
|
694
|
+
function extractMentionedParticipantIds(_0x5e037b, _0x49a3aa) {
|
|
695
|
+
const _0x52153a = {
|
|
696
|
+
_0x260a5d: 0x225,
|
|
697
|
+
_0x3d05a2: 0x13f,
|
|
698
|
+
_0x5de73b: 0x251,
|
|
699
|
+
_0x358143: 0x265,
|
|
700
|
+
_0x4f5451: 0x220,
|
|
701
|
+
_0x57bbe3: 0x225
|
|
702
|
+
}, _0xa29319 = { _0x255d0b: 0x125 }, _0x393381 = _0x51636d, _0x13e824 = buildMatchableEntries(_0x49a3aa)[_0x393381(0x268)]((_0x1d135f, _0x2d2ce3) => _0x2d2ce3[_0x393381(0x125)][_0x393381(0x225)] - _0x1d135f[_0x393381(0x125)][_0x393381(0x225)]), _0x203eee = [], _0x3fd015 = new Set();
|
|
703
|
+
for (let _0x54493c = 0x0; _0x54493c < _0x5e037b[_0x393381(_0x52153a._0x260a5d)]; _0x54493c += 0x1) {
|
|
704
|
+
if (_0x5e037b[_0x54493c] !== '@' || !isMentionBoundary(_0x5e037b[_0x54493c - 0x1]))
|
|
694
705
|
continue;
|
|
695
|
-
const
|
|
696
|
-
const
|
|
697
|
-
if (!
|
|
706
|
+
const _0x4a646e = _0x5e037b[_0x393381(_0x52153a._0x3d05a2)](_0x54493c + 0x1), _0x51f075 = _0x4a646e[_0x393381(0x16d)](), _0x3c1f1b = _0x13e824[_0x393381(_0x52153a._0x5de73b)](_0x532cce => {
|
|
707
|
+
const _0x35d768 = _0x393381;
|
|
708
|
+
if (!_0x51f075[_0x35d768(0x161)](_0x532cce[_0x35d768(0x144)]))
|
|
698
709
|
return ![];
|
|
699
|
-
return isMentionTerminal(
|
|
710
|
+
return isMentionTerminal(_0x4a646e[_0x532cce[_0x35d768(_0xa29319._0x255d0b)][_0x35d768(0x225)]]);
|
|
700
711
|
});
|
|
701
|
-
if (!
|
|
712
|
+
if (!_0x3c1f1b || _0x3fd015['has'](_0x3c1f1b[_0x393381(0x241)]))
|
|
702
713
|
continue;
|
|
703
|
-
|
|
714
|
+
_0x3fd015[_0x393381(_0x52153a._0x358143)](_0x3c1f1b[_0x393381(0x241)]), _0x203eee[_0x393381(_0x52153a._0x4f5451)](_0x3c1f1b[_0x393381(0x241)]), _0x54493c += _0x3c1f1b[_0x393381(0x125)][_0x393381(_0x52153a._0x57bbe3)];
|
|
704
715
|
}
|
|
705
|
-
return
|
|
716
|
+
return _0x203eee;
|
|
706
717
|
}
|
|
707
718
|
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
708
|
-
function anySignal(...
|
|
709
|
-
const
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
if (_0x291e57[_0x1cb15a(_0x284766._0x4183ed)])
|
|
718
|
-
return _0x12f96b['abort'](_0x291e57[_0x1cb15a(0x203)]), _0x12f96b[_0x1cb15a(_0x284766._0x34e3ca)];
|
|
719
|
-
_0x291e57[_0x1cb15a(0x172)](_0x1cb15a(_0x284766._0x4e02dc), () => _0x12f96b['abort'](_0x291e57[_0x1cb15a(0x203)]), {
|
|
719
|
+
function anySignal(..._0x36b8a0) {
|
|
720
|
+
const _0x7ba5b9 = {
|
|
721
|
+
_0x3a705c: 0x1ee,
|
|
722
|
+
_0x29025d: 0x1fe
|
|
723
|
+
}, _0x46d267 = _0x51636d, _0x1a483d = new AbortController();
|
|
724
|
+
for (const _0x4a1bd2 of _0x36b8a0) {
|
|
725
|
+
if (_0x4a1bd2[_0x46d267(0xfa)])
|
|
726
|
+
return _0x1a483d['abort'](_0x4a1bd2[_0x46d267(0x214)]), _0x1a483d[_0x46d267(0x1fe)];
|
|
727
|
+
_0x4a1bd2[_0x46d267(_0x7ba5b9._0x3a705c)]('abort', () => _0x1a483d[_0x46d267(0x229)](_0x4a1bd2['reason']), {
|
|
720
728
|
'once': !![],
|
|
721
|
-
'signal':
|
|
729
|
+
'signal': _0x1a483d[_0x46d267(0x1fe)]
|
|
722
730
|
});
|
|
723
731
|
}
|
|
724
|
-
return
|
|
732
|
+
return _0x1a483d[_0x46d267(_0x7ba5b9._0x29025d)];
|
|
725
733
|
}
|
|
726
|
-
function createInternalAgentClient(
|
|
727
|
-
const
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
},
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
},
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
},
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
},
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
},
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
734
|
+
function createInternalAgentClient(_0x41566c) {
|
|
735
|
+
const _0x58533a = {
|
|
736
|
+
_0x7e3aca: 0x178,
|
|
737
|
+
_0x66b110: 0x1ca,
|
|
738
|
+
_0x113f19: 0xe7,
|
|
739
|
+
_0x247bf2: 0x163,
|
|
740
|
+
_0x40480a: 0x26f,
|
|
741
|
+
_0x27d8fa: 0x1dd,
|
|
742
|
+
_0x6ecd43: 0xfc,
|
|
743
|
+
_0x38ca79: 0x263,
|
|
744
|
+
_0x1a640a: 0xdf,
|
|
745
|
+
_0x4721a9: 0x260
|
|
746
|
+
}, _0x466d41 = {
|
|
747
|
+
_0x3e669c: 0x1eb,
|
|
748
|
+
_0x3fff22: 0x118,
|
|
749
|
+
_0x5b990a: 0x1b5,
|
|
750
|
+
_0x2096f4: 0x19d,
|
|
751
|
+
_0x2a9c1c: 0x225,
|
|
752
|
+
_0x575a29: 0x16a,
|
|
753
|
+
_0x217724: 0x225,
|
|
754
|
+
_0x2d76a3: 0x237,
|
|
755
|
+
_0x512453: 0x120,
|
|
756
|
+
_0x33a1f7: 0x147,
|
|
757
|
+
_0x2a5717: 0x24e,
|
|
758
|
+
_0x16b58f: 0x147,
|
|
759
|
+
_0x302ba8: 0x24e,
|
|
760
|
+
_0x92c17b: 0x1aa,
|
|
761
|
+
_0x3b8a09: 0x111,
|
|
762
|
+
_0x257f5c: 0xe7,
|
|
763
|
+
_0x2b26b7: 0x220,
|
|
764
|
+
_0x3c92af: 0x253,
|
|
765
|
+
_0x51f040: 0x1bf,
|
|
766
|
+
_0x38a942: 0x22d,
|
|
767
|
+
_0x101b2f: 0x127,
|
|
768
|
+
_0x4a6850: 0x140,
|
|
769
|
+
_0x2aad9e: 0x220,
|
|
770
|
+
_0x5c522c: 0x248,
|
|
771
|
+
_0x2b9c6b: 0x165,
|
|
772
|
+
_0x598ed5: 0x246,
|
|
773
|
+
_0x30f847: 0x11c,
|
|
774
|
+
_0x621874: 0x147,
|
|
775
|
+
_0x5453d2: 0x192,
|
|
776
|
+
_0x454138: 0x220,
|
|
777
|
+
_0x19de64: 0x128
|
|
778
|
+
}, _0x19dd75 = { _0x2ab8cf: 0x16c }, _0x449abe = {
|
|
779
|
+
_0x16c689: 0x17c,
|
|
780
|
+
_0x4b4e32: 0x11d,
|
|
781
|
+
_0x32abc6: 0x257
|
|
782
|
+
}, _0x2ede4b = {
|
|
783
|
+
_0x14548c: 0x1eb,
|
|
784
|
+
_0x113aab: 0x17d,
|
|
785
|
+
_0x3566b8: 0x1b7,
|
|
786
|
+
_0x394d1d: 0x26d,
|
|
787
|
+
_0x3cdedf: 0x118,
|
|
788
|
+
_0x7f6b83: 0x1d7
|
|
789
|
+
}, _0x23b025 = {
|
|
790
|
+
_0x49fb0c: 0x1d7,
|
|
791
|
+
_0x2dbe51: 0x1fe,
|
|
792
|
+
_0x176c6e: 0x19d,
|
|
793
|
+
_0x45738c: 0x101,
|
|
794
|
+
_0x5af0ac: 0x140,
|
|
795
|
+
_0x4764fa: 0x26a,
|
|
796
|
+
_0x5d41db: 0x19e,
|
|
797
|
+
_0x4d1f80: 0x1f9
|
|
798
|
+
}, _0x3dfaaf = {
|
|
799
|
+
_0x534c26: 0x1a0,
|
|
800
|
+
_0x1f10c0: 0x21f,
|
|
801
|
+
_0x52e265: 0x1b7,
|
|
802
|
+
_0x354803: 0x25c,
|
|
803
|
+
_0x1778bc: 0x257,
|
|
804
|
+
_0x4ce899: 0x108,
|
|
805
|
+
_0xe2627b: 0x167,
|
|
806
|
+
_0x56d696: 0x19d,
|
|
807
|
+
_0x485e6c: 0x184,
|
|
808
|
+
_0x5d1e66: 0x22f
|
|
809
|
+
}, _0x40d2f0 = {
|
|
810
|
+
_0x2d414c: 0x244,
|
|
811
|
+
_0x3398a9: 0x25c,
|
|
812
|
+
_0x3e1de4: 0x18e,
|
|
813
|
+
_0x3c9c14: 0x167
|
|
814
|
+
}, _0x1e7ec8 = {
|
|
815
|
+
_0x263b84: 0x1b7,
|
|
816
|
+
_0x2a2f5f: 0x25c,
|
|
817
|
+
_0x344f70: 0x126,
|
|
818
|
+
_0x47115b: 0x167
|
|
819
|
+
}, _0x5e115b = {
|
|
820
|
+
_0x520ed1: 0x244,
|
|
821
|
+
_0x57ca3e: 0xf9,
|
|
822
|
+
_0x14c610: 0x167
|
|
823
|
+
}, _0x3d77ee = {
|
|
824
|
+
_0x2cbc7e: 0x17d,
|
|
825
|
+
_0x6a29f9: 0x17d,
|
|
826
|
+
_0x586e7a: 0x242,
|
|
827
|
+
_0x15b2aa: 0x1c8,
|
|
828
|
+
_0x5c2415: 0x118,
|
|
829
|
+
_0x346fb7: 0x1d7
|
|
830
|
+
}, _0x5e1783 = {
|
|
831
|
+
_0x1188fa: 0x1e5,
|
|
832
|
+
_0x5c05a6: 0x11b,
|
|
833
|
+
_0x27f047: 0xed,
|
|
834
|
+
_0x31ea1d: 0xe2,
|
|
835
|
+
_0x52fd7d: 0x242,
|
|
836
|
+
_0x339893: 0x167
|
|
837
|
+
}, _0x3733bf = {
|
|
838
|
+
_0x2304f3: 0x189,
|
|
839
|
+
_0x5aaea2: 0x1e5,
|
|
840
|
+
_0x55183b: 0x103
|
|
841
|
+
}, _0x2b5ce8 = {
|
|
842
|
+
_0x5b149e: 0x25c,
|
|
843
|
+
_0x396574: 0x167,
|
|
844
|
+
_0x117c54: 0x190
|
|
845
|
+
}, _0xa75eb7 = {
|
|
846
|
+
_0x1645df: 0x1ed,
|
|
847
|
+
_0x22dea9: 0x1d7
|
|
848
|
+
}, _0x3a56c0 = {
|
|
849
|
+
_0x4f8b8b: 0x244,
|
|
850
|
+
_0x18d325: 0x267,
|
|
851
|
+
_0x5e00b6: 0x25c,
|
|
852
|
+
_0x1911c5: 0x164,
|
|
853
|
+
_0x3971fe: 0x11d,
|
|
854
|
+
_0x401e0f: 0x1b6,
|
|
855
|
+
_0x5e2237: 0x167
|
|
856
|
+
}, _0x3816cb = {
|
|
857
|
+
_0x300800: 0x206,
|
|
858
|
+
_0x128fc0: 0x17d,
|
|
859
|
+
_0x5d9edd: 0x17c,
|
|
860
|
+
_0x24632b: 0x244,
|
|
861
|
+
_0x49234b: 0x118,
|
|
862
|
+
_0x4e82ee: 0x17a,
|
|
863
|
+
_0x3a8419: 0x145,
|
|
864
|
+
_0xb5592f: 0x151
|
|
865
|
+
}, _0x35af64 = { _0x55ddef: 0x169 }, _0x3a70ce = {
|
|
866
|
+
_0x2cbbd6: 0x248,
|
|
867
|
+
_0x36a20a: 0x111,
|
|
868
|
+
_0x6a954: 0x1aa,
|
|
869
|
+
_0x3ac428: 0x153,
|
|
870
|
+
_0x1d279e: 0x153
|
|
871
|
+
}, _0x47c428 = {
|
|
872
|
+
_0x714195: 0x248,
|
|
873
|
+
_0x127fbd: 0x185,
|
|
874
|
+
_0x1839dd: 0x111,
|
|
875
|
+
_0x59d635: 0x1aa,
|
|
876
|
+
_0x17bace: 0x1aa,
|
|
877
|
+
_0x17792b: 0x161,
|
|
878
|
+
_0x23fe21: 0x153
|
|
879
|
+
}, _0x594aa0 = {
|
|
880
|
+
_0x5673f2: 0x111,
|
|
881
|
+
_0x35cc4d: 0x1aa,
|
|
882
|
+
_0x19a133: 0x24e,
|
|
883
|
+
_0x52d1f4: 0x24e,
|
|
884
|
+
_0x1adb2d: 0x13f
|
|
885
|
+
}, _0x1af188 = { _0x55cf1f: 0x19b }, _0x4cda93 = { _0x2bee89: 0x1c1 }, _0x410f6b = {
|
|
886
|
+
_0x4a40d4: 0x1b7,
|
|
887
|
+
_0x3d8448: 0x208,
|
|
888
|
+
_0x58db06: 0x25c,
|
|
889
|
+
_0x5d2093: 0x11d,
|
|
890
|
+
_0xedaeef: 0x185,
|
|
891
|
+
_0x299210: 0x19d
|
|
892
|
+
}, _0x236e1c = {
|
|
893
|
+
_0x5071b8: 0x23f,
|
|
894
|
+
_0x2040a0: 0xfb
|
|
895
|
+
}, _0x38db79 = {
|
|
896
|
+
_0x121e4c: 0x10a,
|
|
897
|
+
_0x34cd8b: 0x25c
|
|
898
|
+
}, _0x5dc57e = {
|
|
899
|
+
_0x5e6cca: 0x1fe,
|
|
900
|
+
_0x299406: 0xed
|
|
901
|
+
}, _0x5d932e = { _0x27a269: 0x233 }, _0x148b19 = {
|
|
902
|
+
_0xf0abea: 0x1a7,
|
|
903
|
+
_0x273fa3: 0xfc,
|
|
904
|
+
_0x3de802: 0x234,
|
|
905
|
+
_0x59e420: 0x1e6,
|
|
906
|
+
_0x5b842a: 0x20b,
|
|
907
|
+
_0x1a5557: 0x1b3,
|
|
908
|
+
_0x3eb45e: 0x17d
|
|
909
|
+
}, _0x1a2e4d = {
|
|
910
|
+
_0x2c6c59: 0x1d5,
|
|
911
|
+
_0x233ea2: 0xfc
|
|
912
|
+
}, _0x1502bd = {
|
|
913
|
+
_0x58e908: 0x101,
|
|
914
|
+
_0x575c0c: 0x26a,
|
|
915
|
+
_0x1cd1c3: 0x15d,
|
|
916
|
+
_0x1c8c17: 0x16b,
|
|
917
|
+
_0x48454e: 0x13f,
|
|
918
|
+
_0x57d98d: 0x223,
|
|
919
|
+
_0x4e10ba: 0x1fc,
|
|
920
|
+
_0x458c3d: 0x239,
|
|
921
|
+
_0x2e581c: 0x141
|
|
922
|
+
}, _0x6e117d = _0x51636d, _0x322819 = _0x41566c[_0x6e117d(0x15e)] ?? fetch, _0x381526 = _0x41566c[_0x6e117d(_0x58533a._0x7e3aca)] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x4d2af3 = typeof _0x41566c[_0x6e117d(_0x58533a._0x66b110)] === _0x6e117d(_0x58533a._0x113f19) && _0x41566c[_0x6e117d(0x1ca)] > 0x0 ? _0x41566c[_0x6e117d(0x1ca)] : 0x0, _0x214eb0 = _0x41566c[_0x6e117d(_0x58533a._0x247bf2)]?.['trim']() || void 0x0, _0x5cf57d = _0x41566c[_0x6e117d(_0x58533a._0x40480a)]?.[_0x6e117d(0xfc)]() || void 0x0, _0x533db4 = _0x41566c['workerModeEnabled'] === !![], _0xc38639 = _0x41566c[_0x6e117d(_0x58533a._0x27d8fa)]?.[_0x6e117d(_0x58533a._0x6ecd43)]() || void 0x0, _0x1201ef = _0x41566c[_0x6e117d(_0x58533a._0x38ca79)]?.[_0x6e117d(0xfc)]() || void 0x0, _0x98cb3a = createHeaders(_0x41566c[_0x6e117d(_0x58533a._0x1a640a)]), _0x1fd27c = toHttpBaseUrl(_0x41566c[_0x6e117d(_0x58533a._0x4721a9)]);
|
|
923
|
+
let _0x33bc4b = null;
|
|
924
|
+
const _0x18400e = new Map();
|
|
925
|
+
let _0x4b7f23 = _0x4d2af3, _0x5c611d = _0x4d2af3;
|
|
926
|
+
function _0x3690a2(_0x229de0) {
|
|
927
|
+
const _0x378ede = _0x6e117d, _0x4ee490 = _0x229de0[_0x378ede(0x239)][_0x378ede(_0x1502bd._0x58e908)][_0x378ede(0x140)](_0x378ede(_0x1502bd._0x575c0c)) ?? _0x378ede(0x23d), _0x193321 = _0x229de0[_0x378ede(_0x1502bd._0x1cd1c3)]['trim']()[_0x378ede(_0x1502bd._0x1c8c17)](/\s+/g, '\x20')[_0x378ede(_0x1502bd._0x48454e)](0x0, 0x78) || _0x378ede(_0x1502bd._0x57d98d);
|
|
928
|
+
return _0x378ede(_0x1502bd._0x4e10ba) + _0x229de0[_0x378ede(0x10b)] + _0x378ede(0xe3) + _0x229de0[_0x378ede(_0x1502bd._0x458c3d)]['status'] + _0x378ede(0x201) + _0x4ee490 + ',\x20preview=' + _0x193321 + _0x378ede(_0x1502bd._0x2e581c);
|
|
901
929
|
}
|
|
902
|
-
async function
|
|
903
|
-
const
|
|
904
|
-
if (!
|
|
930
|
+
async function _0x3ee54f(_0x5b9e0d, _0x11e241) {
|
|
931
|
+
const _0x239398 = _0x6e117d, _0x12f51a = Buffer['from'](await _0x11e241[_0x239398(_0x1a2e4d._0x2c6c59)]())[_0x239398(0x118)](_0x239398(0x24a));
|
|
932
|
+
if (!_0x12f51a[_0x239398(_0x1a2e4d._0x233ea2)]())
|
|
905
933
|
return {};
|
|
906
934
|
try {
|
|
907
|
-
return JSON[
|
|
935
|
+
return JSON['parse'](_0x12f51a);
|
|
908
936
|
} catch {
|
|
909
|
-
throw new Error(
|
|
910
|
-
'bodyText':
|
|
911
|
-
'requestUrl':
|
|
912
|
-
'response':
|
|
937
|
+
throw new Error(_0x3690a2({
|
|
938
|
+
'bodyText': _0x12f51a,
|
|
939
|
+
'requestUrl': _0x5b9e0d,
|
|
940
|
+
'response': _0x11e241
|
|
913
941
|
}));
|
|
914
942
|
}
|
|
915
943
|
}
|
|
916
|
-
function
|
|
917
|
-
const
|
|
918
|
-
if (
|
|
919
|
-
return
|
|
920
|
-
const
|
|
921
|
-
for (const [
|
|
922
|
-
|
|
944
|
+
function _0xc35264(_0x5c3885, _0x401fd3) {
|
|
945
|
+
const _0x482bd6 = _0x6e117d, _0x3ab32c = typeof _0x401fd3[_0x482bd6(0x1a7)] === _0x482bd6(0x147) ? _0x401fd3[_0x482bd6(_0x148b19._0xf0abea)][_0x482bd6(_0x148b19._0x273fa3)]() : '';
|
|
946
|
+
if (_0x3ab32c)
|
|
947
|
+
return _0x3ab32c;
|
|
948
|
+
const _0x33cd1f = Date[_0x482bd6(_0x148b19._0x3de802)]();
|
|
949
|
+
for (const [_0x15bfd9, _0x4ea9bf] of _0x18400e) {
|
|
950
|
+
_0x4ea9bf['expiresAt'] <= _0x33cd1f && _0x18400e[_0x482bd6(0x24b)](_0x15bfd9);
|
|
923
951
|
}
|
|
924
|
-
const
|
|
925
|
-
...
|
|
952
|
+
const _0x322909 = {
|
|
953
|
+
..._0x401fd3,
|
|
926
954
|
'idempotency_key': void 0x0
|
|
927
|
-
},
|
|
928
|
-
if (
|
|
929
|
-
return
|
|
930
|
-
const
|
|
931
|
-
return
|
|
932
|
-
'expiresAt':
|
|
933
|
-
'value':
|
|
934
|
-
}),
|
|
955
|
+
}, _0x4ebc43 = createHash(_0x482bd6(_0x148b19._0x59e420))['update'](_0x5c3885 + ':' + stableStringify(_0x322909))[_0x482bd6(0x132)](_0x482bd6(_0x148b19._0x5b842a)), _0x251cce = _0x5c3885 + ':' + _0x4ebc43, _0x42c7be = _0x18400e['get'](_0x251cce);
|
|
956
|
+
if (_0x42c7be)
|
|
957
|
+
return _0x42c7be[_0x482bd6(_0x148b19._0x1a5557)];
|
|
958
|
+
const _0x43bde8 = _0x482bd6(0x1bd) + _0x5c3885 + ':' + randomUUID();
|
|
959
|
+
return _0x18400e[_0x482bd6(_0x148b19._0x3eb45e)](_0x251cce, {
|
|
960
|
+
'expiresAt': _0x33cd1f + 0x5 * 0x3c * 0x3e8,
|
|
961
|
+
'value': _0x43bde8
|
|
962
|
+
}), _0x43bde8;
|
|
935
963
|
}
|
|
936
|
-
async function
|
|
937
|
-
const
|
|
964
|
+
async function _0x479fa8(_0x589b0b, _0x4298a6) {
|
|
965
|
+
const _0xdb4777 = _0x6e117d, _0x1c0c81 = new AbortController(), _0x21eb6b = setTimeout(() => _0x1c0c81['abort'](), _0x381526), _0x2699d9 = _0x4298a6?.[_0xdb4777(0x1fe)] ? anySignal(_0x4298a6[_0xdb4777(0x1fe)], _0x1c0c81['signal']) : _0x1c0c81['signal'], _0x4f9118 = '' + _0x1fd27c + _0x589b0b;
|
|
938
966
|
try {
|
|
939
|
-
const
|
|
940
|
-
...
|
|
941
|
-
'signal':
|
|
942
|
-
}),
|
|
943
|
-
if (!
|
|
944
|
-
throw new Error(asErrorMessage(
|
|
945
|
-
return
|
|
967
|
+
const _0x741ff7 = await _0x322819(_0x4f9118, {
|
|
968
|
+
..._0x4298a6,
|
|
969
|
+
'signal': _0x2699d9
|
|
970
|
+
}), _0x36ce1b = await _0x3ee54f(_0x4f9118, _0x741ff7);
|
|
971
|
+
if (!_0x741ff7['ok'] || _0x36ce1b[_0xdb4777(_0x5d932e._0x27a269)] === ![])
|
|
972
|
+
throw new Error(asErrorMessage(_0x36ce1b['error'], _0xdb4777(0xfb) + _0x741ff7[_0xdb4777(0x242)]));
|
|
973
|
+
return _0x36ce1b;
|
|
946
974
|
} finally {
|
|
947
|
-
clearTimeout(
|
|
975
|
+
clearTimeout(_0x21eb6b);
|
|
948
976
|
}
|
|
949
977
|
}
|
|
950
|
-
async function
|
|
951
|
-
const
|
|
978
|
+
async function _0x8d9f31(_0xc7ca2d, _0x27d05f) {
|
|
979
|
+
const _0x15dd78 = _0x6e117d, _0x4b7755 = new AbortController(), _0x3c5fc6 = setTimeout(() => _0x4b7755['abort'](), _0x381526), _0x98d74 = _0x27d05f?.[_0x15dd78(0x1fe)] ? anySignal(_0x27d05f[_0x15dd78(0x1fe)], _0x4b7755[_0x15dd78(_0x5dc57e._0x5e6cca)]) : _0x4b7755[_0x15dd78(_0x5dc57e._0x5e6cca)], _0xa30219 = '' + _0x1fd27c + _0xc7ca2d;
|
|
952
980
|
try {
|
|
953
|
-
const
|
|
954
|
-
...
|
|
955
|
-
'signal':
|
|
956
|
-
}),
|
|
957
|
-
if (!
|
|
958
|
-
throw new Error(asErrorMessage(
|
|
959
|
-
return
|
|
981
|
+
const _0x1cac8e = await _0x322819(_0xa30219, {
|
|
982
|
+
..._0x27d05f,
|
|
983
|
+
'signal': _0x98d74
|
|
984
|
+
}), _0x36131f = await _0x3ee54f(_0xa30219, _0x1cac8e);
|
|
985
|
+
if (!_0x1cac8e['ok'])
|
|
986
|
+
throw new Error(asErrorMessage(_0x36131f[_0x15dd78(_0x5dc57e._0x299406)], 'HTTP\x20' + _0x1cac8e[_0x15dd78(0x242)]));
|
|
987
|
+
return _0x36131f;
|
|
960
988
|
} finally {
|
|
961
|
-
clearTimeout(
|
|
989
|
+
clearTimeout(_0x3c5fc6);
|
|
962
990
|
}
|
|
963
991
|
}
|
|
964
|
-
async function
|
|
965
|
-
const
|
|
966
|
-
if (!
|
|
992
|
+
async function _0x9c829(_0xc76a68) {
|
|
993
|
+
const _0x1d7bde = _0x6e117d;
|
|
994
|
+
if (!_0x5cf57d || _0xc76a68 <= _0x5c611d)
|
|
967
995
|
return;
|
|
968
|
-
await
|
|
969
|
-
'body': JSON[
|
|
970
|
-
'headers':
|
|
996
|
+
await _0x479fa8(_0x1d7bde(0x131) + encodeURIComponent(_0x5cf57d) + _0x1d7bde(_0x38db79._0x121e4c), {
|
|
997
|
+
'body': JSON[_0x1d7bde(_0x38db79._0x34cd8b)]({ 'lastSeenSeq': _0xc76a68 }),
|
|
998
|
+
'headers': _0x98cb3a,
|
|
971
999
|
'method': 'PATCH'
|
|
972
|
-
}),
|
|
1000
|
+
}), _0x5c611d = _0xc76a68;
|
|
973
1001
|
}
|
|
974
|
-
async function
|
|
975
|
-
const
|
|
976
|
-
if (!
|
|
1002
|
+
async function _0x4909d5(_0x487d46) {
|
|
1003
|
+
const _0x4c8f1f = _0x6e117d;
|
|
1004
|
+
if (!_0x214eb0 || !_0xc38639 || _0x487d46 <= _0x5c611d)
|
|
977
1005
|
return;
|
|
978
|
-
const
|
|
979
|
-
'body': JSON[
|
|
980
|
-
'last_seen_seq':
|
|
981
|
-
'worker_session_id':
|
|
1006
|
+
const _0x1ce398 = await _0x322819(_0x214eb0 + '/workers/context-metrics', {
|
|
1007
|
+
'body': JSON[_0x4c8f1f(0x25c)]({
|
|
1008
|
+
'last_seen_seq': _0x487d46,
|
|
1009
|
+
'worker_session_id': _0xc38639
|
|
982
1010
|
}),
|
|
983
|
-
'headers': { 'Content-Type':
|
|
984
|
-
'method':
|
|
1011
|
+
'headers': { 'Content-Type': _0x4c8f1f(_0x236e1c._0x5071b8) },
|
|
1012
|
+
'method': _0x4c8f1f(0x167)
|
|
985
1013
|
});
|
|
986
|
-
if (!
|
|
987
|
-
throw new Error(
|
|
988
|
-
|
|
1014
|
+
if (!_0x1ce398['ok'])
|
|
1015
|
+
throw new Error(_0x4c8f1f(_0x236e1c._0x2040a0) + _0x1ce398['status']);
|
|
1016
|
+
_0x5c611d = _0x487d46;
|
|
989
1017
|
}
|
|
990
|
-
async function
|
|
991
|
-
const
|
|
992
|
-
'body': JSON[
|
|
993
|
-
'headers':
|
|
994
|
-
'method':
|
|
1018
|
+
async function _0x29186f(_0x1040ef) {
|
|
1019
|
+
const _0x5dd108 = _0x6e117d, _0x212681 = parseTarget(_0x1040ef), _0x38371f = await _0x479fa8(_0x5dd108(_0x410f6b._0x4a40d4) + _0x41566c[_0x5dd108(0x244)] + _0x5dd108(_0x410f6b._0x3d8448), {
|
|
1020
|
+
'body': JSON[_0x5dd108(_0x410f6b._0x58db06)]({ 'target': _0x212681[_0x5dd108(0x257)] }),
|
|
1021
|
+
'headers': _0x98cb3a,
|
|
1022
|
+
'method': _0x5dd108(0x167)
|
|
995
1023
|
});
|
|
996
1024
|
return {
|
|
997
|
-
'channelId':
|
|
998
|
-
'target':
|
|
999
|
-
'task':
|
|
1000
|
-
'threadId':
|
|
1001
|
-
'threadNumber':
|
|
1025
|
+
'channelId': _0x38371f[_0x5dd108(0x19d)]?.[_0x5dd108(_0x410f6b._0x5d2093)] ?? '',
|
|
1026
|
+
'target': _0x212681[_0x5dd108(_0x410f6b._0xedaeef)],
|
|
1027
|
+
'task': _0x38371f[_0x5dd108(0x19d)]?.[_0x5dd108(0x1a3)],
|
|
1028
|
+
'threadId': _0x38371f['data']?.[_0x5dd108(0x24e)],
|
|
1029
|
+
'threadNumber': _0x38371f[_0x5dd108(_0x410f6b._0x299210)]?.['threadNumber']
|
|
1002
1030
|
};
|
|
1003
1031
|
}
|
|
1004
|
-
async function
|
|
1005
|
-
const
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
},
|
|
1015
|
-
if (!
|
|
1016
|
-
return
|
|
1017
|
-
return
|
|
1018
|
-
const
|
|
1019
|
-
'headers':
|
|
1020
|
-
'method':
|
|
1021
|
-
}),
|
|
1022
|
-
'id':
|
|
1023
|
-
'name':
|
|
1024
|
-
}))[
|
|
1025
|
-
'id':
|
|
1026
|
-
'name':
|
|
1027
|
-
}))[
|
|
1032
|
+
async function _0x3a402c(_0x3a1a83 = {}) {
|
|
1033
|
+
const _0x11e577 = {
|
|
1034
|
+
_0x1a2863: 0x244,
|
|
1035
|
+
_0x37e1f8: 0x1d8,
|
|
1036
|
+
_0x3ae371: 0x1d7,
|
|
1037
|
+
_0xf86d5d: 0x119,
|
|
1038
|
+
_0x1d6ebb: 0x17a,
|
|
1039
|
+
_0x5b7ab3: 0x120,
|
|
1040
|
+
_0xa7caae: 0x19d,
|
|
1041
|
+
_0x3ca231: 0x204
|
|
1042
|
+
}, _0x438211 = _0x6e117d;
|
|
1043
|
+
if (!_0x3a1a83['forceRefresh'] && _0x33bc4b)
|
|
1044
|
+
return _0x33bc4b;
|
|
1045
|
+
return _0x33bc4b = (async () => {
|
|
1046
|
+
const _0x1dc194 = _0x3278, _0x349954 = await _0x479fa8(_0x1dc194(0x1b7) + _0x41566c[_0x1dc194(_0x11e577._0x1a2863)] + _0x1dc194(_0x11e577._0x37e1f8), {
|
|
1047
|
+
'headers': _0x98cb3a,
|
|
1048
|
+
'method': _0x1dc194(_0x11e577._0x3ae371)
|
|
1049
|
+
}), _0x2b97 = _0x349954[_0x1dc194(0x19d)]?.[_0x1dc194(0xef)] ?? [], _0x54d57b = _0x2b97['filter'](_0x20c218 => _0x20c218[_0x1dc194(0x169)]?.['type'] === _0x1dc194(0x12d))['map'](_0x4a992e => ({
|
|
1050
|
+
'id': _0x1fc4e5(_0x4a992e),
|
|
1051
|
+
'name': _0xd19132(_0x4a992e)
|
|
1052
|
+
}))[_0x1dc194(_0x11e577._0xf86d5d)](_0x1d8546 => _0x1d8546['id']), _0x275167 = _0x2b97[_0x1dc194(0x119)](_0x175213 => _0x175213['participant']?.['type'] !== _0x1dc194(0x12d))[_0x1dc194(_0x11e577._0x1d6ebb)](_0x2507de => ({
|
|
1053
|
+
'id': _0x1fc4e5(_0x2507de),
|
|
1054
|
+
'name': _0xd19132(_0x2507de)
|
|
1055
|
+
}))['filter'](_0x1b3efd => _0x1b3efd['id']), _0x3659bb = _0x349954['data']?.['server']['id'] ?? '';
|
|
1028
1056
|
return {
|
|
1029
|
-
'agents':
|
|
1030
|
-
'channels':
|
|
1031
|
-
'humans':
|
|
1032
|
-
'serverId':
|
|
1033
|
-
'serverName':
|
|
1057
|
+
'agents': _0x54d57b,
|
|
1058
|
+
'channels': _0x349954[_0x1dc194(0x19d)]?.[_0x1dc194(_0x11e577._0x5b7ab3)] ?? [],
|
|
1059
|
+
'humans': _0x275167,
|
|
1060
|
+
'serverId': _0x3659bb,
|
|
1061
|
+
'serverName': _0x349954[_0x1dc194(_0x11e577._0xa7caae)]?.[_0x1dc194(_0x11e577._0x3ca231)][_0x1dc194(0x15b)] ?? _0x3659bb
|
|
1034
1062
|
};
|
|
1035
|
-
})()[
|
|
1036
|
-
|
|
1037
|
-
throw
|
|
1038
|
-
}),
|
|
1063
|
+
})()[_0x438211(_0x4cda93._0x2bee89)](_0x1417ed => {
|
|
1064
|
+
_0x33bc4b = null;
|
|
1065
|
+
throw _0x1417ed;
|
|
1066
|
+
}), _0x33bc4b;
|
|
1039
1067
|
}
|
|
1040
|
-
function
|
|
1041
|
-
const
|
|
1042
|
-
return
|
|
1068
|
+
function _0x4e2256(_0x1a3171, _0x22c595) {
|
|
1069
|
+
const _0x21fb38 = _0x6e117d;
|
|
1070
|
+
return _0x22c595['agents']['some'](_0x3d03e9 => _0x3d03e9['id'] === _0x1a3171 || _0x3d03e9[_0x21fb38(0x15b)] === _0x1a3171) ? _0x21fb38(0x12d) : _0x21fb38(_0x1af188._0x55cf1f);
|
|
1043
1071
|
}
|
|
1044
|
-
function
|
|
1045
|
-
const
|
|
1046
|
-
...
|
|
1047
|
-
...
|
|
1048
|
-
][
|
|
1049
|
-
return
|
|
1072
|
+
function _0x440c09(_0x18d5aa, _0x13b717) {
|
|
1073
|
+
const _0x217555 = _0x6e117d, _0x4951a6 = [
|
|
1074
|
+
..._0x13b717['agents'],
|
|
1075
|
+
..._0x13b717[_0x217555(0x209)]
|
|
1076
|
+
]['find'](_0x1ddda0 => _0x1ddda0['id'] === _0x18d5aa);
|
|
1077
|
+
return _0x4951a6?.['name'] ?? _0x18d5aa;
|
|
1050
1078
|
}
|
|
1051
|
-
function
|
|
1052
|
-
const
|
|
1053
|
-
if (
|
|
1054
|
-
return
|
|
1055
|
-
if (
|
|
1056
|
-
return
|
|
1057
|
-
if (
|
|
1058
|
-
return
|
|
1059
|
-
return
|
|
1079
|
+
function _0x1324fb(_0x270310) {
|
|
1080
|
+
const _0x5bb93c = _0x6e117d;
|
|
1081
|
+
if (_0x270310[_0x5bb93c(_0x594aa0._0x5673f2)] != null)
|
|
1082
|
+
return _0x270310['channelTarget'] + ':t' + _0x270310['threadNumber'];
|
|
1083
|
+
if (_0x270310[_0x5bb93c(_0x594aa0._0x35cc4d)])
|
|
1084
|
+
return _0x270310['channelTarget'] + ':' + _0x270310[_0x5bb93c(0x1aa)];
|
|
1085
|
+
if (_0x270310[_0x5bb93c(_0x594aa0._0x19a133)])
|
|
1086
|
+
return _0x270310[_0x5bb93c(0x185)] + ':' + _0x270310[_0x5bb93c(_0x594aa0._0x52d1f4)][_0x5bb93c(_0x594aa0._0x1adb2d)](0x0, 0x8);
|
|
1087
|
+
return _0x270310[_0x5bb93c(0x185)];
|
|
1060
1088
|
}
|
|
1061
|
-
function
|
|
1062
|
-
const
|
|
1089
|
+
function _0x1eb86f(_0x2f9c27, _0x3070ad) {
|
|
1090
|
+
const _0x234ae5 = _0x6e117d;
|
|
1063
1091
|
try {
|
|
1064
|
-
const
|
|
1065
|
-
if (
|
|
1092
|
+
const _0x686905 = parseTarget(_0x2f9c27);
|
|
1093
|
+
if (_0x686905[_0x234ae5(_0x47c428._0x714195)] !== _0x234ae5(0x25e) || _0x686905[_0x234ae5(_0x47c428._0x127fbd)] !== _0x3070ad[_0x234ae5(0x185)])
|
|
1066
1094
|
return ![];
|
|
1067
|
-
if (
|
|
1095
|
+
if (_0x3070ad[_0x234ae5(0x111)] != null && _0x686905[_0x234ae5(0x153)] === 't' + _0x3070ad[_0x234ae5(_0x47c428._0x1839dd)])
|
|
1068
1096
|
return !![];
|
|
1069
|
-
if (
|
|
1070
|
-
return
|
|
1071
|
-
if (
|
|
1072
|
-
return
|
|
1097
|
+
if (_0x3070ad[_0x234ae5(_0x47c428._0x59d635)])
|
|
1098
|
+
return _0x686905['threadShortId'] === _0x3070ad[_0x234ae5(_0x47c428._0x17bace)] || _0x3070ad[_0x234ae5(_0x47c428._0x17bace)]['startsWith'](_0x686905[_0x234ae5(0x153)]);
|
|
1099
|
+
if (_0x3070ad['threadId'])
|
|
1100
|
+
return _0x686905['threadShortId'] === _0x3070ad['threadId'] || _0x3070ad[_0x234ae5(0x24e)][_0x234ae5(_0x47c428._0x17792b)](_0x686905[_0x234ae5(_0x47c428._0x23fe21)]);
|
|
1073
1101
|
return ![];
|
|
1074
1102
|
} catch {
|
|
1075
1103
|
return ![];
|
|
1076
1104
|
}
|
|
1077
1105
|
}
|
|
1078
|
-
function
|
|
1079
|
-
const
|
|
1106
|
+
function _0x47cc32(_0x5a507c, _0x405e00) {
|
|
1107
|
+
const _0x16d8de = _0x6e117d;
|
|
1080
1108
|
try {
|
|
1081
|
-
const
|
|
1082
|
-
if (
|
|
1109
|
+
const _0x317450 = parseTarget(_0x5a507c);
|
|
1110
|
+
if (_0x317450[_0x16d8de(_0x3a70ce._0x2cbbd6)] !== 'thread')
|
|
1083
1111
|
return ![];
|
|
1084
|
-
const
|
|
1085
|
-
if (
|
|
1112
|
+
const _0x2843e = typeof _0x405e00[_0x16d8de(_0x3a70ce._0x36a20a)] === _0x16d8de(0xe7) && Number[_0x16d8de(0x17e)](_0x405e00['threadNumber']) ? _0x405e00['threadNumber'] : void 0x0;
|
|
1113
|
+
if (_0x2843e != null && _0x317450[_0x16d8de(0x153)] === 't' + _0x2843e)
|
|
1086
1114
|
return !![];
|
|
1087
|
-
const
|
|
1088
|
-
if (
|
|
1089
|
-
return
|
|
1090
|
-
const
|
|
1091
|
-
return Boolean(
|
|
1115
|
+
const _0x4451a4 = typeof _0x405e00[_0x16d8de(_0x3a70ce._0x6a954)] === 'string' ? _0x405e00['rootMessageId'] : void 0x0;
|
|
1116
|
+
if (_0x4451a4)
|
|
1117
|
+
return _0x317450['threadShortId'] === _0x4451a4 || _0x4451a4['startsWith'](_0x317450[_0x16d8de(_0x3a70ce._0x3ac428)]);
|
|
1118
|
+
const _0x22a5f1 = typeof _0x405e00['threadId'] === _0x16d8de(0x147) ? _0x405e00[_0x16d8de(0x24e)] : void 0x0;
|
|
1119
|
+
return Boolean(_0x22a5f1) && (_0x317450[_0x16d8de(_0x3a70ce._0x3ac428)] === _0x22a5f1 || _0x22a5f1[_0x16d8de(0x161)](_0x317450[_0x16d8de(_0x3a70ce._0x1d279e)]));
|
|
1092
1120
|
} catch {
|
|
1093
1121
|
return ![];
|
|
1094
1122
|
}
|
|
1095
1123
|
}
|
|
1096
|
-
function
|
|
1097
|
-
const
|
|
1098
|
-
return
|
|
1124
|
+
function _0x1fc4e5(_0x322071) {
|
|
1125
|
+
const _0x413b89 = _0x6e117d;
|
|
1126
|
+
return _0x322071[_0x413b89(0x1f2)]?.[_0x413b89(0x241)] ?? _0x322071[_0x413b89(_0x35af64._0x55ddef)]?.['id'] ?? _0x322071[_0x413b89(0x241)] ?? '';
|
|
1099
1127
|
}
|
|
1100
|
-
function
|
|
1101
|
-
const
|
|
1102
|
-
return
|
|
1128
|
+
function _0xd19132(_0x4923a6) {
|
|
1129
|
+
const _0x429de0 = _0x6e117d;
|
|
1130
|
+
return _0x4923a6['participant']?.[_0x429de0(0x15b)] ?? _0x1fc4e5(_0x4923a6);
|
|
1103
1131
|
}
|
|
1104
|
-
async function
|
|
1105
|
-
const
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
const
|
|
1111
|
-
'headers':
|
|
1112
|
-
'method':
|
|
1113
|
-
}),
|
|
1114
|
-
'attachments': (
|
|
1115
|
-
'filename':
|
|
1116
|
-
'id':
|
|
1132
|
+
async function _0x1fe6dc(_0x21b761) {
|
|
1133
|
+
const _0x453612 = _0x6e117d, _0x1d6d76 = Math[_0x453612(_0x3816cb._0x300800)](_0x21b761[_0x453612(0x250)] ?? 0x32, 0x64), _0x42c737 = await _0x3a402c(), _0x1c6537 = new URLSearchParams();
|
|
1134
|
+
_0x1c6537['set'](_0x453612(0x250), String(_0x1d6d76));
|
|
1135
|
+
_0x21b761[_0x453612(0x24e)] ? (_0x1c6537[_0x453612(_0x3816cb._0x128fc0)](_0x453612(0x24e), _0x21b761['threadId']), _0x1c6537['set'](_0x453612(0x11d), _0x21b761['channelId'])) : _0x1c6537[_0x453612(0x17d)]('channelId', _0x21b761['channelId']);
|
|
1136
|
+
_0x21b761['before'] && _0x1c6537[_0x453612(0x17d)](_0x453612(0x151), String(_0x21b761[_0x453612(0x12c)]));
|
|
1137
|
+
_0x21b761[_0x453612(0x17c)] !== void 0x0 && _0x1c6537[_0x453612(0x17d)](_0x453612(0x17c), String(_0x21b761[_0x453612(_0x3816cb._0x5d9edd)]));
|
|
1138
|
+
const _0x4d0184 = await _0x479fa8('/internal/agent/' + _0x41566c[_0x453612(_0x3816cb._0x24632b)] + _0x453612(0x1b8) + _0x1c6537[_0x453612(_0x3816cb._0x49234b)](), {
|
|
1139
|
+
'headers': _0x98cb3a,
|
|
1140
|
+
'method': _0x453612(0x1d7)
|
|
1141
|
+
}), _0x2c442e = (_0x4d0184['data'] ?? [])[_0x453612(_0x3816cb._0x4e82ee)](_0x18017c => ({
|
|
1142
|
+
'attachments': (_0x18017c['attachments'] ?? [])[_0x453612(0x17a)](_0x2a214b => ({
|
|
1143
|
+
'filename': _0x2a214b[_0x453612(0x22f)] ?? _0x2a214b['id'],
|
|
1144
|
+
'id': _0x2a214b['id']
|
|
1117
1145
|
})),
|
|
1118
|
-
'content':
|
|
1119
|
-
'createdAt':
|
|
1120
|
-
...
|
|
1121
|
-
'messageId':
|
|
1122
|
-
'senderName':
|
|
1123
|
-
'senderType':
|
|
1124
|
-
'seq':
|
|
1146
|
+
'content': _0x18017c[_0x453612(0x11c)] ?? '',
|
|
1147
|
+
'createdAt': _0x18017c[_0x453612(0x1e2)],
|
|
1148
|
+
..._0x18017c[_0x453612(0x248)] && _0x18017c['kind'] !== _0x453612(0x192) ? { 'kind': _0x18017c[_0x453612(0x248)] } : {},
|
|
1149
|
+
'messageId': _0x18017c['id'],
|
|
1150
|
+
'senderName': _0x440c09(_0x18017c[_0x453612(0x246)], _0x42c737),
|
|
1151
|
+
'senderType': _0x4e2256(_0x18017c['senderParticipantId'], _0x42c737),
|
|
1152
|
+
'seq': _0x18017c[_0x453612(0xe9)] ?? 0x0
|
|
1125
1153
|
}));
|
|
1126
1154
|
return {
|
|
1127
|
-
'channel':
|
|
1128
|
-
'hasMore':
|
|
1129
|
-
'messages':
|
|
1130
|
-
'nextCursor':
|
|
1155
|
+
'channel': _0x21b761[_0x453612(0x185)],
|
|
1156
|
+
'hasMore': _0x4d0184[_0x453612(0x1f4)]?.[_0x453612(_0x3816cb._0x3a8419)] ?? ![],
|
|
1157
|
+
'messages': _0x2c442e,
|
|
1158
|
+
'nextCursor': _0x4d0184[_0x453612(0x1f4)]?.[_0x453612(_0x3816cb._0xb5592f)]
|
|
1131
1159
|
};
|
|
1132
1160
|
}
|
|
1133
1161
|
return {
|
|
1134
|
-
async 'sendMessage'(
|
|
1135
|
-
const
|
|
1136
|
-
'body': JSON[
|
|
1137
|
-
'attachment_ids':
|
|
1138
|
-
'bodyMarkdown':
|
|
1139
|
-
'channelId':
|
|
1140
|
-
...
|
|
1141
|
-
'threadId':
|
|
1142
|
-
...
|
|
1162
|
+
async 'sendMessage'(_0x1a1adb) {
|
|
1163
|
+
const _0xc51e6c = _0x6e117d, _0xfd3c33 = await _0x29186f(_0x1a1adb['target']), _0x440815 = _0x1a1adb[_0xc51e6c(0x164)][_0xc51e6c(0x173)]('@') ? extractMentionedParticipantIds(_0x1a1adb[_0xc51e6c(0x164)], await _0x3a402c()) : [], _0x42354b = await _0x479fa8(_0xc51e6c(0x1b7) + _0x41566c[_0xc51e6c(_0x3a56c0._0x4f8b8b)] + _0xc51e6c(_0x3a56c0._0x18d325), {
|
|
1164
|
+
'body': JSON[_0xc51e6c(_0x3a56c0._0x5e00b6)]({
|
|
1165
|
+
'attachment_ids': _0x1a1adb[_0xc51e6c(0x150)],
|
|
1166
|
+
'bodyMarkdown': _0x1a1adb[_0xc51e6c(_0x3a56c0._0x1911c5)],
|
|
1167
|
+
'channelId': _0xfd3c33[_0xc51e6c(_0x3a56c0._0x3971fe)],
|
|
1168
|
+
..._0x440815[_0xc51e6c(0x225)] > 0x0 ? { 'mentionedParticipantIds': _0x440815 } : {},
|
|
1169
|
+
'threadId': _0xfd3c33['threadId'],
|
|
1170
|
+
..._0x1a1adb[_0xc51e6c(_0x3a56c0._0x401e0f)] ? { 'visibility': _0x1a1adb[_0xc51e6c(0x1b6)] } : {}
|
|
1143
1171
|
}),
|
|
1144
|
-
'headers':
|
|
1145
|
-
'method':
|
|
1172
|
+
'headers': _0x98cb3a,
|
|
1173
|
+
'method': _0xc51e6c(_0x3a56c0._0x5e2237)
|
|
1146
1174
|
});
|
|
1147
|
-
return { 'messageId':
|
|
1175
|
+
return { 'messageId': _0x42354b['data']?.['id'] ?? '' };
|
|
1148
1176
|
},
|
|
1149
1177
|
async 'listSchedules'() {
|
|
1150
|
-
const
|
|
1151
|
-
'headers':
|
|
1152
|
-
'method':
|
|
1178
|
+
const _0x138cd0 = _0x6e117d, _0x565582 = await _0x479fa8(_0x138cd0(_0xa75eb7._0x1645df), {
|
|
1179
|
+
'headers': _0x98cb3a,
|
|
1180
|
+
'method': _0x138cd0(_0xa75eb7._0x22dea9)
|
|
1153
1181
|
});
|
|
1154
|
-
return
|
|
1182
|
+
return _0x565582['data'] ?? [];
|
|
1155
1183
|
},
|
|
1156
|
-
async 'claimScheduleRun'(
|
|
1157
|
-
const
|
|
1158
|
-
'body': JSON[
|
|
1159
|
-
'headers':
|
|
1160
|
-
'method':
|
|
1184
|
+
async 'claimScheduleRun'(_0x32c1a9) {
|
|
1185
|
+
const _0x43462c = _0x6e117d, _0x57978d = await _0x479fa8('/api/internal/schedules/claim', {
|
|
1186
|
+
'body': JSON[_0x43462c(_0x2b5ce8._0x5b149e)](_0x32c1a9),
|
|
1187
|
+
'headers': _0x98cb3a,
|
|
1188
|
+
'method': _0x43462c(_0x2b5ce8._0x396574)
|
|
1161
1189
|
});
|
|
1162
|
-
return
|
|
1190
|
+
return _0x57978d['data'] ?? {
|
|
1163
1191
|
'granted': ![],
|
|
1164
1192
|
'runId': null,
|
|
1165
1193
|
'schedule': null,
|
|
1166
|
-
'scheduledFor':
|
|
1194
|
+
'scheduledFor': _0x32c1a9[_0x43462c(_0x2b5ce8._0x117c54)]
|
|
1167
1195
|
};
|
|
1168
1196
|
},
|
|
1169
|
-
async 'startScheduleRun'(
|
|
1170
|
-
const
|
|
1171
|
-
'body': JSON[
|
|
1172
|
-
'headers':
|
|
1173
|
-
'method':
|
|
1197
|
+
async 'startScheduleRun'(_0x77a163) {
|
|
1198
|
+
const _0x37bff6 = _0x6e117d, _0x173cf5 = await _0x479fa8(_0x37bff6(0x256) + encodeURIComponent(_0x77a163[_0x37bff6(0x1e5)]) + _0x37bff6(_0x3733bf._0x2304f3), {
|
|
1199
|
+
'body': JSON[_0x37bff6(0x25c)]({}),
|
|
1200
|
+
'headers': _0x98cb3a,
|
|
1201
|
+
'method': 'POST'
|
|
1174
1202
|
});
|
|
1175
|
-
return
|
|
1203
|
+
return _0x173cf5['data'] ?? {
|
|
1176
1204
|
'claimedByDaemonId': '',
|
|
1177
|
-
'id':
|
|
1205
|
+
'id': _0x77a163[_0x37bff6(_0x3733bf._0x5aaea2)],
|
|
1178
1206
|
'scheduleId': '',
|
|
1179
|
-
'status':
|
|
1207
|
+
'status': _0x37bff6(_0x3733bf._0x55183b)
|
|
1180
1208
|
};
|
|
1181
1209
|
},
|
|
1182
|
-
async 'finishScheduleRun'(
|
|
1183
|
-
const
|
|
1184
|
-
'body': JSON[
|
|
1185
|
-
'error':
|
|
1186
|
-
'resultJson':
|
|
1187
|
-
'status':
|
|
1210
|
+
async 'finishScheduleRun'(_0x4d94e2) {
|
|
1211
|
+
const _0x48cd56 = _0x6e117d, _0x426416 = await _0x479fa8(_0x48cd56(0x256) + encodeURIComponent(_0x4d94e2[_0x48cd56(_0x5e1783._0x1188fa)]) + _0x48cd56(_0x5e1783._0x5c05a6), {
|
|
1212
|
+
'body': JSON[_0x48cd56(0x25c)]({
|
|
1213
|
+
'error': _0x4d94e2[_0x48cd56(_0x5e1783._0x27f047)],
|
|
1214
|
+
'resultJson': _0x4d94e2[_0x48cd56(_0x5e1783._0x31ea1d)],
|
|
1215
|
+
'status': _0x4d94e2[_0x48cd56(_0x5e1783._0x52fd7d)]
|
|
1188
1216
|
}),
|
|
1189
|
-
'headers':
|
|
1190
|
-
'method':
|
|
1217
|
+
'headers': _0x98cb3a,
|
|
1218
|
+
'method': _0x48cd56(_0x5e1783._0x339893)
|
|
1191
1219
|
});
|
|
1192
|
-
return
|
|
1220
|
+
return _0x426416['data'] ?? {
|
|
1193
1221
|
'nextRunAt': null,
|
|
1194
1222
|
'run': {
|
|
1195
1223
|
'claimedByDaemonId': '',
|
|
1196
|
-
'id':
|
|
1224
|
+
'id': _0x4d94e2[_0x48cd56(0x1e5)],
|
|
1197
1225
|
'scheduleId': '',
|
|
1198
|
-
'status':
|
|
1226
|
+
'status': _0x4d94e2[_0x48cd56(_0x5e1783._0x52fd7d)]
|
|
1199
1227
|
}
|
|
1200
1228
|
};
|
|
1201
1229
|
},
|
|
1202
|
-
async 'listTasks'(
|
|
1203
|
-
const
|
|
1204
|
-
return
|
|
1205
|
-
'headers':
|
|
1206
|
-
'method':
|
|
1230
|
+
async 'listTasks'(_0x10b366) {
|
|
1231
|
+
const _0x52a765 = _0x6e117d, _0x2a4a6a = new URLSearchParams();
|
|
1232
|
+
return _0x2a4a6a[_0x52a765(_0x3d77ee._0x2cbc7e)](_0x52a765(0x1a0), _0x10b366[_0x52a765(0x1a0)]), _0x10b366[_0x52a765(0x242)] && _0x2a4a6a[_0x52a765(_0x3d77ee._0x6a29f9)](_0x52a765(0x242), _0x10b366[_0x52a765(_0x3d77ee._0x586e7a)]), _0x8d9f31('/internal/agent/' + _0x41566c[_0x52a765(0x244)] + _0x52a765(_0x3d77ee._0x15b2aa) + _0x2a4a6a[_0x52a765(_0x3d77ee._0x5c2415)](), {
|
|
1233
|
+
'headers': _0x98cb3a,
|
|
1234
|
+
'method': _0x52a765(_0x3d77ee._0x346fb7)
|
|
1207
1235
|
});
|
|
1208
1236
|
},
|
|
1209
|
-
async 'createTasks'(
|
|
1210
|
-
const
|
|
1211
|
-
return
|
|
1212
|
-
'body': JSON[
|
|
1213
|
-
...
|
|
1214
|
-
'idempotency_key':
|
|
1237
|
+
async 'createTasks'(_0x261654) {
|
|
1238
|
+
const _0x2fdc83 = _0x6e117d;
|
|
1239
|
+
return _0x8d9f31(_0x2fdc83(0x1b7) + _0x41566c[_0x2fdc83(_0x5e115b._0x520ed1)] + '/tasks', {
|
|
1240
|
+
'body': JSON['stringify']({
|
|
1241
|
+
..._0x261654,
|
|
1242
|
+
'idempotency_key': _0xc35264(_0x2fdc83(_0x5e115b._0x57ca3e), _0x261654)
|
|
1215
1243
|
}),
|
|
1216
|
-
'headers':
|
|
1217
|
-
'method':
|
|
1244
|
+
'headers': _0x98cb3a,
|
|
1245
|
+
'method': _0x2fdc83(_0x5e115b._0x14c610)
|
|
1218
1246
|
});
|
|
1219
1247
|
},
|
|
1220
|
-
async 'claimTasks'(
|
|
1221
|
-
const
|
|
1222
|
-
return
|
|
1223
|
-
'body': JSON[
|
|
1224
|
-
...
|
|
1225
|
-
'idempotency_key':
|
|
1248
|
+
async 'claimTasks'(_0x395527) {
|
|
1249
|
+
const _0x2ed6bb = _0x6e117d;
|
|
1250
|
+
return _0x8d9f31(_0x2ed6bb(_0x1e7ec8._0x263b84) + _0x41566c['agentId'] + _0x2ed6bb(0x259), {
|
|
1251
|
+
'body': JSON[_0x2ed6bb(_0x1e7ec8._0x2a2f5f)]({
|
|
1252
|
+
..._0x395527,
|
|
1253
|
+
'idempotency_key': _0xc35264(_0x2ed6bb(_0x1e7ec8._0x344f70), _0x395527)
|
|
1226
1254
|
}),
|
|
1227
|
-
'headers':
|
|
1228
|
-
'method':
|
|
1255
|
+
'headers': _0x98cb3a,
|
|
1256
|
+
'method': _0x2ed6bb(_0x1e7ec8._0x47115b)
|
|
1229
1257
|
});
|
|
1230
1258
|
},
|
|
1231
|
-
async 'unclaimTask'(
|
|
1232
|
-
const
|
|
1233
|
-
return
|
|
1234
|
-
'body': JSON[
|
|
1235
|
-
...
|
|
1236
|
-
'idempotency_key':
|
|
1259
|
+
async 'unclaimTask'(_0x67849d) {
|
|
1260
|
+
const _0x157946 = _0x6e117d;
|
|
1261
|
+
return _0x8d9f31(_0x157946(0x1b7) + _0x41566c[_0x157946(0x244)] + _0x157946(0x1f0), {
|
|
1262
|
+
'body': JSON[_0x157946(0x25c)]({
|
|
1263
|
+
..._0x67849d,
|
|
1264
|
+
'idempotency_key': _0xc35264(_0x157946(0x1c0), _0x67849d)
|
|
1237
1265
|
}),
|
|
1238
|
-
'headers':
|
|
1239
|
-
'method':
|
|
1266
|
+
'headers': _0x98cb3a,
|
|
1267
|
+
'method': 'POST'
|
|
1240
1268
|
});
|
|
1241
1269
|
},
|
|
1242
|
-
async 'updateTaskStatus'(
|
|
1243
|
-
const
|
|
1244
|
-
return
|
|
1245
|
-
'body': JSON[
|
|
1246
|
-
...
|
|
1247
|
-
'idempotency_key':
|
|
1270
|
+
async 'updateTaskStatus'(_0x5d9eb8) {
|
|
1271
|
+
const _0x25fa01 = _0x6e117d;
|
|
1272
|
+
return _0x8d9f31(_0x25fa01(0x1b7) + _0x41566c[_0x25fa01(_0x40d2f0._0x2d414c)] + _0x25fa01(0x230), {
|
|
1273
|
+
'body': JSON[_0x25fa01(_0x40d2f0._0x3398a9)]({
|
|
1274
|
+
..._0x5d9eb8,
|
|
1275
|
+
'idempotency_key': _0xc35264(_0x25fa01(_0x40d2f0._0x3e1de4), _0x5d9eb8)
|
|
1248
1276
|
}),
|
|
1249
|
-
'headers':
|
|
1250
|
-
'method':
|
|
1277
|
+
'headers': _0x98cb3a,
|
|
1278
|
+
'method': _0x25fa01(_0x40d2f0._0x3c9c14)
|
|
1251
1279
|
});
|
|
1252
1280
|
},
|
|
1253
|
-
async 'uploadFile'(
|
|
1254
|
-
const
|
|
1255
|
-
if (
|
|
1256
|
-
throw new Error(
|
|
1257
|
-
const
|
|
1258
|
-
'body': JSON[
|
|
1259
|
-
'channel':
|
|
1260
|
-
'contentBase64':
|
|
1261
|
-
'contentType':
|
|
1262
|
-
'originalFilename':
|
|
1281
|
+
async 'uploadFile'(_0x46c83d) {
|
|
1282
|
+
const _0x161671 = _0x6e117d, _0x71252e = await _0x29186f(_0x46c83d[_0x161671(_0x3dfaaf._0x534c26)]);
|
|
1283
|
+
if (_0x71252e['threadId'])
|
|
1284
|
+
throw new Error(_0x161671(_0x3dfaaf._0x1f10c0));
|
|
1285
|
+
const _0x3991cd = await _0x479fa8(_0x161671(_0x3dfaaf._0x52e265) + _0x41566c[_0x161671(0x244)] + _0x161671(0x1a4), {
|
|
1286
|
+
'body': JSON[_0x161671(_0x3dfaaf._0x354803)]({
|
|
1287
|
+
'channel': _0x71252e[_0x161671(_0x3dfaaf._0x1778bc)],
|
|
1288
|
+
'contentBase64': _0x46c83d[_0x161671(_0x3dfaaf._0x4ce899)],
|
|
1289
|
+
'contentType': _0x46c83d[_0x161671(0xfd)],
|
|
1290
|
+
'originalFilename': _0x46c83d[_0x161671(0x22f)]
|
|
1263
1291
|
}),
|
|
1264
|
-
'headers':
|
|
1265
|
-
'method':
|
|
1292
|
+
'headers': _0x98cb3a,
|
|
1293
|
+
'method': _0x161671(_0x3dfaaf._0xe2627b)
|
|
1266
1294
|
});
|
|
1267
1295
|
return {
|
|
1268
|
-
'attachmentId':
|
|
1269
|
-
'filename':
|
|
1270
|
-
'sizeBytes':
|
|
1296
|
+
'attachmentId': _0x3991cd[_0x161671(_0x3dfaaf._0x56d696)]?.['id'] ?? '',
|
|
1297
|
+
'filename': _0x3991cd['data']?.[_0x161671(_0x3dfaaf._0x485e6c)] ?? _0x46c83d[_0x161671(_0x3dfaaf._0x5d1e66)],
|
|
1298
|
+
'sizeBytes': _0x3991cd[_0x161671(_0x3dfaaf._0x56d696)]?.['sizeBytes'] ?? 0x0
|
|
1271
1299
|
};
|
|
1272
1300
|
},
|
|
1273
|
-
async 'downloadAttachment'(
|
|
1274
|
-
const
|
|
1275
|
-
'headers':
|
|
1276
|
-
'method':
|
|
1277
|
-
}),
|
|
1301
|
+
async 'downloadAttachment'(_0xf64548) {
|
|
1302
|
+
const _0x1185ba = _0x6e117d, _0x33aac1 = await _0x479fa8(_0x1185ba(0x1ba) + _0xf64548, {
|
|
1303
|
+
'headers': _0x98cb3a,
|
|
1304
|
+
'method': _0x1185ba(_0x23b025._0x49fb0c)
|
|
1305
|
+
}), _0x1ec3a0 = new AbortController(), _0x5e15bf = setTimeout(() => _0x1ec3a0[_0x1185ba(0x229)](), _0x381526);
|
|
1278
1306
|
try {
|
|
1279
|
-
const
|
|
1280
|
-
'headers':
|
|
1281
|
-
'method':
|
|
1282
|
-
'signal':
|
|
1307
|
+
const _0x525f24 = await _0x322819(_0x1fd27c + _0x1185ba(0x1ba) + _0xf64548 + _0x1185ba(0x200), {
|
|
1308
|
+
'headers': _0x98cb3a,
|
|
1309
|
+
'method': 'GET',
|
|
1310
|
+
'signal': _0x1ec3a0[_0x1185ba(_0x23b025._0x2dbe51)]
|
|
1283
1311
|
});
|
|
1284
|
-
if (!
|
|
1285
|
-
throw new Error(
|
|
1312
|
+
if (!_0x525f24['ok'])
|
|
1313
|
+
throw new Error(_0x1185ba(0xfb) + _0x525f24[_0x1185ba(0x242)]);
|
|
1286
1314
|
return {
|
|
1287
|
-
'contentType':
|
|
1288
|
-
'data': Buffer[
|
|
1289
|
-
'originalFilename':
|
|
1315
|
+
'contentType': _0x33aac1[_0x1185ba(_0x23b025._0x176c6e)]?.[_0x1185ba(0xfd)] ?? _0x525f24[_0x1185ba(_0x23b025._0x45738c)][_0x1185ba(_0x23b025._0x5af0ac)](_0x1185ba(_0x23b025._0x4764fa)) ?? _0x1185ba(_0x23b025._0x5d41db),
|
|
1316
|
+
'data': Buffer[_0x1185ba(_0x23b025._0x4d1f80)](await _0x525f24[_0x1185ba(0x1d5)]()),
|
|
1317
|
+
'originalFilename': _0x33aac1[_0x1185ba(0x19d)]?.[_0x1185ba(0x184)]
|
|
1290
1318
|
};
|
|
1291
1319
|
} finally {
|
|
1292
|
-
clearTimeout(
|
|
1320
|
+
clearTimeout(_0x5e15bf);
|
|
1293
1321
|
}
|
|
1294
1322
|
},
|
|
1295
1323
|
async 'listServer'() {
|
|
1296
|
-
return
|
|
1324
|
+
return _0x3a402c({ 'forceRefresh': !![] });
|
|
1297
1325
|
},
|
|
1298
1326
|
async 'getLatestEventSeq'() {
|
|
1299
|
-
const
|
|
1300
|
-
|
|
1301
|
-
const
|
|
1302
|
-
'headers':
|
|
1303
|
-
'method':
|
|
1304
|
-
}),
|
|
1305
|
-
return typeof
|
|
1327
|
+
const _0x390b51 = _0x6e117d, _0xafccde = new URLSearchParams();
|
|
1328
|
+
_0xafccde[_0x390b51(0x17d)](_0x390b51(_0x2ede4b._0x14548c), '0'), _0xafccde[_0x390b51(_0x2ede4b._0x113aab)](_0x390b51(0x250), '1');
|
|
1329
|
+
const _0xceec85 = await _0x479fa8(_0x390b51(_0x2ede4b._0x3566b8) + _0x41566c['agentId'] + _0x390b51(_0x2ede4b._0x394d1d) + _0xafccde[_0x390b51(_0x2ede4b._0x3cdedf)](), {
|
|
1330
|
+
'headers': _0x98cb3a,
|
|
1331
|
+
'method': _0x390b51(_0x2ede4b._0x7f6b83)
|
|
1332
|
+
}), _0x144a8c = _0xceec85[_0x390b51(0x1f4)]?.[_0x390b51(0x182)];
|
|
1333
|
+
return typeof _0x144a8c === 'number' && _0x144a8c > 0x0 ? _0x144a8c : 0x0;
|
|
1306
1334
|
},
|
|
1307
|
-
async 'readHistory'(
|
|
1308
|
-
const
|
|
1309
|
-
return
|
|
1310
|
-
'after':
|
|
1311
|
-
'before':
|
|
1312
|
-
'channelId':
|
|
1313
|
-
'channelTarget':
|
|
1314
|
-
'limit':
|
|
1315
|
-
'threadId':
|
|
1335
|
+
async 'readHistory'(_0x9cd705) {
|
|
1336
|
+
const _0x1db420 = _0x6e117d, _0x3bb6e3 = await _0x29186f(_0x9cd705[_0x1db420(0x1a0)]);
|
|
1337
|
+
return _0x1fe6dc({
|
|
1338
|
+
'after': _0x9cd705[_0x1db420(_0x449abe._0x16c689)],
|
|
1339
|
+
'before': _0x9cd705[_0x1db420(0x12c)],
|
|
1340
|
+
'channelId': _0x3bb6e3[_0x1db420(_0x449abe._0x4b4e32)],
|
|
1341
|
+
'channelTarget': _0x3bb6e3[_0x1db420(_0x449abe._0x32abc6)],
|
|
1342
|
+
'limit': _0x9cd705['limit'],
|
|
1343
|
+
'threadId': _0x3bb6e3['threadId']
|
|
1316
1344
|
});
|
|
1317
1345
|
},
|
|
1318
|
-
'resolveTarget':
|
|
1346
|
+
'resolveTarget': _0x29186f,
|
|
1319
1347
|
async 'checkMessages'() {
|
|
1320
|
-
const
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1348
|
+
const _0x4029c5 = {
|
|
1349
|
+
_0x30d8a7: 0xf1,
|
|
1350
|
+
_0x44be95: 0x16c
|
|
1351
|
+
}, _0x4526d6 = _0x6e117d, _0x565f00 = new URLSearchParams();
|
|
1352
|
+
_0x565f00['set'](_0x4526d6(_0x466d41._0x3e669c), String(_0x4b7f23));
|
|
1353
|
+
const _0x14e8d2 = _0x565f00[_0x4526d6(_0x466d41._0x3fff22)](), _0x23f6d4 = await _0x479fa8(_0x4526d6(0x1b7) + _0x41566c['agentId'] + _0x4526d6(_0x466d41._0x5b990a) + (_0x14e8d2 ? '?' + _0x14e8d2 : ''), {
|
|
1354
|
+
'headers': _0x98cb3a,
|
|
1355
|
+
'method': _0x4526d6(0x1d7)
|
|
1356
|
+
}), _0x1b5415 = _0x23f6d4[_0x4526d6(_0x466d41._0x2096f4)] ?? [], _0x59d997 = _0x23f6d4['meta']?.[_0x4526d6(0x151)], _0x3189aa = _0x1201ef ? _0x1b5415['filter'](_0x5d55d1 => {
|
|
1357
|
+
const _0x3628af = _0x4526d6;
|
|
1358
|
+
if (_0x5d55d1[_0x3628af(_0x4029c5._0x30d8a7)] !== 'message')
|
|
1328
1359
|
return ![];
|
|
1329
|
-
return
|
|
1330
|
-
}) :
|
|
1331
|
-
let
|
|
1332
|
-
|
|
1333
|
-
|
|
1360
|
+
return _0x47cc32(_0x1201ef, asRecord(_0x5d55d1[_0x3628af(_0x4029c5._0x44be95)]));
|
|
1361
|
+
}) : _0x1b5415, _0x268d24 = _0x59d997 !== void 0x0 ? _0x1201ef ? Math[_0x4526d6(0x16a)](_0x4b7f23, _0x3189aa[_0x4526d6(_0x466d41._0x2a9c1c)] > 0x0 ? _0x3189aa[_0x3189aa['length'] - 0x1][_0x4526d6(0x237)] : _0x4b7f23) : Math[_0x4526d6(_0x466d41._0x575a29)](_0x4b7f23, _0x59d997) : _0x3189aa[_0x4526d6(_0x466d41._0x217724)] > 0x0 ? Math['max'](_0x4b7f23, _0x3189aa[_0x3189aa[_0x4526d6(0x225)] - 0x1][_0x4526d6(_0x466d41._0x2d76a3)]) : _0x4b7f23, _0x14a503 = (_0x1201ef ? _0x3189aa : _0x1b5415)[_0x4526d6(0x119)](_0x52af38 => _0x52af38[_0x4526d6(0xf1)] === _0x4526d6(0x21b));
|
|
1362
|
+
let _0x205f95 = await _0x3a402c(), _0x2fa1ce = new Map(_0x205f95[_0x4526d6(0x120)][_0x4526d6(0x17a)](_0x5abe4a => [
|
|
1363
|
+
_0x5abe4a['id'],
|
|
1364
|
+
_0x5abe4a
|
|
1334
1365
|
]));
|
|
1335
|
-
const
|
|
1336
|
-
const
|
|
1337
|
-
return Boolean(
|
|
1366
|
+
const _0x488332 = _0x14a503['some'](_0x583e22 => {
|
|
1367
|
+
const _0x425d5e = _0x4526d6, _0xd838d4 = asRecord(_0x583e22[_0x425d5e(_0x19dd75._0x2ab8cf)]), _0x591766 = typeof _0xd838d4?.[_0x425d5e(0x11d)] === _0x425d5e(0x147) ? _0xd838d4[_0x425d5e(0x11d)] : '';
|
|
1368
|
+
return Boolean(_0x591766) && !_0x2fa1ce[_0x425d5e(0x1db)](_0x591766);
|
|
1338
1369
|
});
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1370
|
+
_0x488332 && (_0x205f95 = await _0x3a402c({ 'forceRefresh': !![] }), _0x2fa1ce = new Map(_0x205f95[_0x4526d6(_0x466d41._0x512453)]['map'](_0x5e831c => [
|
|
1371
|
+
_0x5e831c['id'],
|
|
1372
|
+
_0x5e831c
|
|
1342
1373
|
])));
|
|
1343
|
-
const
|
|
1344
|
-
for (const
|
|
1345
|
-
const
|
|
1346
|
-
if (!
|
|
1374
|
+
const _0x5be8fa = new Map();
|
|
1375
|
+
for (const _0x40328b of _0x14a503) {
|
|
1376
|
+
const _0x3bc38d = asRecord(_0x40328b[_0x4526d6(0x16c)]), _0xa603ab = typeof _0x3bc38d[_0x4526d6(0x11d)] === _0x4526d6(_0x466d41._0x33a1f7) ? _0x3bc38d[_0x4526d6(0x11d)] : '';
|
|
1377
|
+
if (!_0xa603ab)
|
|
1347
1378
|
continue;
|
|
1348
|
-
const
|
|
1379
|
+
const _0x673562 = typeof _0x3bc38d[_0x4526d6(_0x466d41._0x2a5717)] === _0x4526d6(_0x466d41._0x16b58f) ? _0x3bc38d[_0x4526d6(_0x466d41._0x302ba8)] : void 0x0, _0x50d838 = typeof _0x3bc38d['rootMessageId'] === _0x4526d6(0x147) ? _0x3bc38d[_0x4526d6(_0x466d41._0x92c17b)] : void 0x0, _0x464bb1 = typeof _0x3bc38d[_0x4526d6(_0x466d41._0x3b8a09)] === _0x4526d6(_0x466d41._0x257f5c) && Number[_0x4526d6(0x17e)](_0x3bc38d['threadNumber']) ? _0x3bc38d[_0x4526d6(_0x466d41._0x3b8a09)] : void 0x0, _0x33e604 = Boolean(_0x673562 && (!_0x50d838 || _0x40328b['aggregateId'] !== _0x50d838)), _0x1d636f = _0x33e604 ? _0xa603ab + ':' + _0x673562 : _0xa603ab, _0x2bafa6 = _0x5be8fa[_0x4526d6(0x140)](_0x1d636f) ?? {
|
|
1349
1380
|
'aggregateIds': [],
|
|
1350
|
-
'channelId':
|
|
1381
|
+
'channelId': _0xa603ab,
|
|
1351
1382
|
'entries': new Map(),
|
|
1352
|
-
'isThreadReply':
|
|
1353
|
-
'rootMessageId':
|
|
1354
|
-
'threadNumber':
|
|
1355
|
-
'threadId':
|
|
1383
|
+
'isThreadReply': _0x33e604,
|
|
1384
|
+
'rootMessageId': _0x50d838,
|
|
1385
|
+
'threadNumber': _0x464bb1,
|
|
1386
|
+
'threadId': _0x33e604 ? _0x673562 : void 0x0
|
|
1356
1387
|
};
|
|
1357
|
-
|
|
1358
|
-
'payloadJson':
|
|
1359
|
-
'seq':
|
|
1360
|
-
}),
|
|
1388
|
+
_0x2bafa6[_0x4526d6(_0x466d41._0x3b8a09)] == null && _0x464bb1 != null && (_0x2bafa6['threadNumber'] = _0x464bb1), !_0x2bafa6[_0x4526d6(_0x466d41._0x92c17b)] && _0x50d838 && (_0x2bafa6['rootMessageId'] = _0x50d838), _0x2bafa6[_0x4526d6(0x12b)][_0x4526d6(_0x466d41._0x2b26b7)](_0x40328b[_0x4526d6(_0x466d41._0x3c92af)]), _0x2bafa6[_0x4526d6(_0x466d41._0x51f040)][_0x4526d6(0x17d)](_0x40328b[_0x4526d6(_0x466d41._0x3c92af)], {
|
|
1389
|
+
'payloadJson': _0x40328b['payloadJson'],
|
|
1390
|
+
'seq': _0x40328b['seq']
|
|
1391
|
+
}), _0x5be8fa['set'](_0x1d636f, _0x2bafa6);
|
|
1361
1392
|
}
|
|
1362
|
-
const
|
|
1363
|
-
for (const
|
|
1393
|
+
const _0x23cc51 = [];
|
|
1394
|
+
for (const _0x541fe0 of _0x5be8fa[_0x4526d6(_0x466d41._0x38a942)]()) {
|
|
1364
1395
|
const {
|
|
1365
|
-
channelId:
|
|
1366
|
-
threadId:
|
|
1367
|
-
rootMessageId:
|
|
1368
|
-
threadNumber:
|
|
1369
|
-
aggregateIds:
|
|
1370
|
-
isThreadReply:
|
|
1371
|
-
entries:
|
|
1372
|
-
} =
|
|
1373
|
-
'channelTarget':
|
|
1374
|
-
'rootMessageId':
|
|
1375
|
-
'threadId':
|
|
1376
|
-
'threadNumber':
|
|
1377
|
-
},
|
|
1378
|
-
'channelId':
|
|
1379
|
-
'channelTarget':
|
|
1380
|
-
'limit': Math[
|
|
1381
|
-
'threadId':
|
|
1382
|
-
}),
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
])),
|
|
1386
|
-
for (const
|
|
1387
|
-
if (!
|
|
1388
|
-
continue;
|
|
1389
|
-
const _0x2e700b = _0x4a6084[_0x561314(0x2d8)](_0x378894), _0x3ab24f = _0x2e700b ? asRecord(_0x2e700b[_0x561314(0x1c0)]) : void 0x0, _0x45f35a = _0x3ab24f?.[_0x561314(_0x2274db._0x4ff38e)] === _0x561314(0x26f);
|
|
1390
|
-
if (_0xbbe5d9 && _0x45f35a)
|
|
1396
|
+
channelId: _0x4d458c,
|
|
1397
|
+
threadId: _0x8be797,
|
|
1398
|
+
rootMessageId: _0x5e49cc,
|
|
1399
|
+
threadNumber: _0x33b50b,
|
|
1400
|
+
aggregateIds: _0x43b195,
|
|
1401
|
+
isThreadReply: _0xacad00,
|
|
1402
|
+
entries: _0x7773dd
|
|
1403
|
+
} = _0x541fe0, _0x57b87e = _0x2fa1ce[_0x4526d6(0x140)](_0x4d458c), _0x299e10 = _0x57b87e?.['name'] ?? _0x4d458c, _0x32de8f = _0x57b87e?.[_0x4526d6(0x248)] === 'dm' ? 'dm:' + _0x299e10 : '#' + _0x299e10, _0x2dca95 = {
|
|
1404
|
+
'channelTarget': _0x32de8f,
|
|
1405
|
+
'rootMessageId': _0x5e49cc,
|
|
1406
|
+
'threadId': _0x8be797,
|
|
1407
|
+
'threadNumber': _0x33b50b
|
|
1408
|
+
}, _0x4b4d5d = await _0x1fe6dc({
|
|
1409
|
+
'channelId': _0x4d458c,
|
|
1410
|
+
'channelTarget': _0x32de8f,
|
|
1411
|
+
'limit': Math[_0x4526d6(_0x466d41._0x575a29)](_0x43b195[_0x4526d6(0x225)], 0x32),
|
|
1412
|
+
'threadId': _0x8be797
|
|
1413
|
+
}), _0x284193 = new Map(_0x4b4d5d[_0x4526d6(_0x466d41._0x101b2f)][_0x4526d6(0x17a)](_0x2952c4 => [
|
|
1414
|
+
_0x2952c4[_0x4526d6(0x165)],
|
|
1415
|
+
_0x2952c4
|
|
1416
|
+
])), _0x9ec66e = _0x8be797 ? _0x1324fb(_0x2dca95) : _0x32de8f, _0x468aa8 = _0x1201ef ? _0xacad00 && _0x1eb86f(_0x1201ef, _0x2dca95) : !![], _0xb3e9b = _0xacad00 ? _0x468aa8 && _0x1201ef ? _0x1201ef : _0x9ec66e : _0x32de8f;
|
|
1417
|
+
for (const _0x591bc2 of _0x43b195) {
|
|
1418
|
+
if (!_0x468aa8)
|
|
1391
1419
|
continue;
|
|
1392
|
-
const
|
|
1393
|
-
if (
|
|
1394
|
-
|
|
1395
|
-
'attachments':
|
|
1396
|
-
'content':
|
|
1397
|
-
'createdAt':
|
|
1398
|
-
...
|
|
1399
|
-
'messageId':
|
|
1400
|
-
'senderName':
|
|
1401
|
-
'senderType':
|
|
1402
|
-
'target':
|
|
1403
|
-
...
|
|
1420
|
+
const _0xfb7cdc = _0x7773dd['get'](_0x591bc2), _0x18e59c = _0xfb7cdc ? asRecord(_0xfb7cdc['payloadJson']) : void 0x0, _0x4b4760 = _0x18e59c?.['taskDeliveryMode'] === _0x4526d6(0x1c7), _0x505848 = _0x284193[_0x4526d6(_0x466d41._0x4a6850)](_0x591bc2);
|
|
1421
|
+
if (_0x505848) {
|
|
1422
|
+
_0x23cc51[_0x4526d6(_0x466d41._0x2aad9e)]({
|
|
1423
|
+
'attachments': _0x505848['attachments'],
|
|
1424
|
+
'content': _0x505848['content'],
|
|
1425
|
+
'createdAt': _0x505848[_0x4526d6(0x1e2)],
|
|
1426
|
+
..._0x505848[_0x4526d6(_0x466d41._0x5c522c)] ? { 'kind': _0x505848[_0x4526d6(0x248)] } : {},
|
|
1427
|
+
'messageId': _0x505848[_0x4526d6(_0x466d41._0x2b9c6b)],
|
|
1428
|
+
'senderName': _0x505848[_0x4526d6(0xe8)],
|
|
1429
|
+
'senderType': _0x505848['senderType'],
|
|
1430
|
+
'target': _0xb3e9b,
|
|
1431
|
+
..._0x4b4760 ? { 'targetedTask': !![] } : {}
|
|
1404
1432
|
});
|
|
1405
1433
|
continue;
|
|
1406
1434
|
}
|
|
1407
|
-
if (
|
|
1408
|
-
const
|
|
1409
|
-
|
|
1435
|
+
if (_0xfb7cdc) {
|
|
1436
|
+
const _0x1d9101 = typeof _0x18e59c?.[_0x4526d6(0x246)] === 'string' ? _0x18e59c[_0x4526d6(_0x466d41._0x598ed5)] : '', _0x54e344 = typeof _0x18e59c?.[_0x4526d6(_0x466d41._0x30f847)] === 'string' ? _0x18e59c[_0x4526d6(0x11c)] : '', _0x502c11 = typeof _0x18e59c?.[_0x4526d6(_0x466d41._0x5c522c)] === _0x4526d6(_0x466d41._0x621874) && _0x18e59c['kind'] !== _0x4526d6(_0x466d41._0x5453d2) ? _0x18e59c['kind'] : void 0x0;
|
|
1437
|
+
_0x1d9101 && _0x54e344 && _0x23cc51[_0x4526d6(_0x466d41._0x454138)]({
|
|
1410
1438
|
'attachments': [],
|
|
1411
|
-
'content':
|
|
1412
|
-
'createdAt': new Date()[
|
|
1413
|
-
...
|
|
1414
|
-
'messageId':
|
|
1415
|
-
'senderName':
|
|
1416
|
-
'senderType':
|
|
1417
|
-
'target':
|
|
1418
|
-
...
|
|
1439
|
+
'content': _0x54e344,
|
|
1440
|
+
'createdAt': new Date()[_0x4526d6(_0x466d41._0x19de64)](),
|
|
1441
|
+
..._0x502c11 ? { 'kind': _0x502c11 } : {},
|
|
1442
|
+
'messageId': _0x591bc2,
|
|
1443
|
+
'senderName': _0x440c09(_0x1d9101, _0x205f95),
|
|
1444
|
+
'senderType': _0x4e2256(_0x1d9101, _0x205f95),
|
|
1445
|
+
'target': _0xb3e9b,
|
|
1446
|
+
..._0x4b4760 ? { 'targetedTask': !![] } : {}
|
|
1419
1447
|
});
|
|
1420
1448
|
}
|
|
1421
1449
|
}
|
|
1422
1450
|
}
|
|
1423
|
-
if (
|
|
1424
|
-
if (
|
|
1425
|
-
await
|
|
1451
|
+
if (_0x268d24 > 0x0) {
|
|
1452
|
+
if (_0x5cf57d)
|
|
1453
|
+
await _0x9c829(_0x268d24);
|
|
1426
1454
|
else
|
|
1427
|
-
|
|
1455
|
+
_0xc38639 && await _0x4909d5(_0x268d24);
|
|
1428
1456
|
}
|
|
1429
|
-
return
|
|
1457
|
+
return _0x268d24 > _0x4b7f23 && (_0x4b7f23 = _0x268d24), { 'messages': _0x23cc51 };
|
|
1430
1458
|
}
|
|
1431
1459
|
};
|
|
1432
1460
|
}
|
|
1433
|
-
function toLocalTime(
|
|
1434
|
-
const
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1461
|
+
function toLocalTime(_0x2e455a) {
|
|
1462
|
+
const _0x7e60b4 = {
|
|
1463
|
+
_0x2f9e13: 0xe6,
|
|
1464
|
+
_0x550a42: 0x107,
|
|
1465
|
+
_0x15eee2: 0x247
|
|
1466
|
+
}, _0x3d9b66 = _0x51636d, _0x2bc5e1 = new Date(_0x2e455a);
|
|
1467
|
+
if (Number[_0x3d9b66(0x1e0)](_0x2bc5e1[_0x3d9b66(0x194)]()))
|
|
1468
|
+
return _0x2e455a;
|
|
1469
|
+
const _0x55b64b = _0x4eb519 => String(_0x4eb519)[_0x3d9b66(0x180)](0x2, '0');
|
|
1470
|
+
return _0x2bc5e1[_0x3d9b66(0xe1)]() + '-' + _0x55b64b(_0x2bc5e1[_0x3d9b66(0x22a)]() + 0x1) + '-' + _0x55b64b(_0x2bc5e1[_0x3d9b66(_0x7e60b4._0x2f9e13)]()) + '\x20' + _0x55b64b(_0x2bc5e1[_0x3d9b66(0x1fa)]()) + ':' + _0x55b64b(_0x2bc5e1[_0x3d9b66(_0x7e60b4._0x550a42)]()) + ':' + _0x55b64b(_0x2bc5e1[_0x3d9b66(_0x7e60b4._0x15eee2)]());
|
|
1442
1471
|
}
|
|
1443
|
-
function formatAttachmentSuffix(
|
|
1444
|
-
const
|
|
1445
|
-
|
|
1446
|
-
_0x2f5996: 0x2e6
|
|
1447
|
-
}, _0x449399 = _0x4cca3c;
|
|
1448
|
-
if (!_0x24b441 || _0x24b441['length'] === 0x0)
|
|
1472
|
+
function formatAttachmentSuffix(_0x40ec7e) {
|
|
1473
|
+
const _0xdcca29 = { _0x1af1ff: 0x225 }, _0x14fe07 = _0x51636d;
|
|
1474
|
+
if (!_0x40ec7e || _0x40ec7e[_0x14fe07(0x225)] === 0x0)
|
|
1449
1475
|
return '';
|
|
1450
|
-
return '\x20[' +
|
|
1476
|
+
return '\x20[' + _0x40ec7e[_0x14fe07(_0xdcca29._0x1af1ff)] + _0x14fe07(0x115) + (_0x40ec7e[_0x14fe07(0x225)] > 0x1 ? 's' : '') + ':\x20' + _0x40ec7e['map'](_0x3d167b => _0x3d167b['filename'] + '\x20(id:' + _0x3d167b['id'] + ')')[_0x14fe07(0x110)](',\x20') + '\x20—\x20use\x20view_file\x20to\x20see]';
|
|
1451
1477
|
}
|
|
1452
|
-
function formatCheckMessages(
|
|
1453
|
-
const
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
},
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
return _0x14b260[_0x35fb3d(0x2e6)](_0x14b867 => {
|
|
1469
|
-
const _0x212670 = _0x35fb3d, _0x25fcd0 = _0x14b867[_0x212670(0x166)] === _0x212670(_0x4c9d1f._0x6d8217) ? _0x212670(_0x4c9d1f._0x4275a1) : '', _0x29b828 = _0x14b867[_0x212670(0x1d8)] && _0x14b867['kind'] !== _0x212670(0x1f0) ? _0x212670(_0x4c9d1f._0x47ed2e) + _0x14b867[_0x212670(0x1d8)] : '';
|
|
1470
|
-
return _0x212670(0x29a) + _0x14b867[_0x212670(0x252)] + _0x212670(_0x4c9d1f._0x1b4381) + _0x14b867['messageId'][_0x212670(_0x4c9d1f._0x48221d)](0x0, 0x8) + _0x212670(_0x4c9d1f._0x5ae817) + toLocalTime(_0x14b867[_0x212670(_0x4c9d1f._0x1030f3)]) + _0x25fcd0 + _0x29b828 + _0x212670(0x1ab) + _0x14b867['senderName'] + ':\x20' + _0x14b867[_0x212670(_0x4c9d1f._0x211344)] + formatAttachmentSuffix(_0x14b867['attachments']);
|
|
1471
|
-
})['join']('\x0a');
|
|
1478
|
+
function formatCheckMessages(_0x514972) {
|
|
1479
|
+
const _0x3223d1 = {
|
|
1480
|
+
_0x4fb9df: 0x1af,
|
|
1481
|
+
_0x212260: 0x110
|
|
1482
|
+
}, _0x4417e7 = {
|
|
1483
|
+
_0x4abc75: 0x270,
|
|
1484
|
+
_0x567106: 0x165,
|
|
1485
|
+
_0x34ed71: 0x13f,
|
|
1486
|
+
_0x1e2d37: 0x26e
|
|
1487
|
+
}, _0x430cfa = _0x51636d;
|
|
1488
|
+
if (_0x514972['length'] === 0x0)
|
|
1489
|
+
return _0x430cfa(_0x3223d1._0x4fb9df);
|
|
1490
|
+
return _0x514972[_0x430cfa(0x17a)](_0x10accb => {
|
|
1491
|
+
const _0x1a5209 = _0x430cfa, _0x339976 = _0x10accb[_0x1a5209(0x193)] === _0x1a5209(0x12d) ? _0x1a5209(_0x4417e7._0x4abc75) : '', _0x15cb9f = _0x10accb[_0x1a5209(0x248)] && _0x10accb[_0x1a5209(0x248)] !== 'chat' ? '\x20kind=' + _0x10accb['kind'] : '';
|
|
1492
|
+
return '[target=' + _0x10accb[_0x1a5209(0x257)] + _0x1a5209(0x14a) + _0x10accb[_0x1a5209(_0x4417e7._0x567106)][_0x1a5209(_0x4417e7._0x34ed71)](0x0, 0x8) + _0x1a5209(_0x4417e7._0x1e2d37) + toLocalTime(_0x10accb[_0x1a5209(0x1e2)]) + _0x339976 + _0x15cb9f + ']\x20@' + _0x10accb['senderName'] + ':\x20' + _0x10accb[_0x1a5209(0x164)] + formatAttachmentSuffix(_0x10accb['attachments']);
|
|
1493
|
+
})[_0x430cfa(_0x3223d1._0x212260)]('\x0a');
|
|
1472
1494
|
}
|
|
1473
|
-
function formatHistory(
|
|
1474
|
-
const
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
})[_0x63cd3d(_0x96e05d._0x1ac0ba)]('\x0a'), _0x52f054 = _0x1453b0['hasMore'] && _0x1453b0[_0x63cd3d(0x1b1)] ? _0x63cd3d(0x189) + _0x1453b0[_0x63cd3d(_0x96e05d._0x3c3137)][_0x63cd3d(0x170)] + _0x63cd3d(0x19d) + _0x1453b0['nextCursor'] + _0x63cd3d(_0x96e05d._0x883c73) : '';
|
|
1500
|
-
return _0x63cd3d(_0x96e05d._0x4e5e5b) + _0x1453b0[_0x63cd3d(0x25f)] + '\x20(' + _0x1453b0[_0x63cd3d(0x274)][_0x63cd3d(_0x96e05d._0x3804c1)] + _0x63cd3d(0x16c) + _0x17f22f + _0x52f054;
|
|
1495
|
+
function formatHistory(_0x4454ed) {
|
|
1496
|
+
const _0x3c3bd2 = {
|
|
1497
|
+
_0x8f898c: 0x225,
|
|
1498
|
+
_0x4bde4b: 0x12f,
|
|
1499
|
+
_0x4b69b3: 0x17a,
|
|
1500
|
+
_0x579259: 0x110,
|
|
1501
|
+
_0x3ea9d7: 0x145,
|
|
1502
|
+
_0xdafe8e: 0x217,
|
|
1503
|
+
_0x12f5ec: 0x127,
|
|
1504
|
+
_0x25727d: 0x1e9,
|
|
1505
|
+
_0x12b1de: 0x1a0
|
|
1506
|
+
}, _0xf2847 = {
|
|
1507
|
+
_0x57498a: 0x193,
|
|
1508
|
+
_0x582219: 0x12d,
|
|
1509
|
+
_0x3c20ed: 0x270,
|
|
1510
|
+
_0x1aa6fb: 0x248,
|
|
1511
|
+
_0x3ed9ab: 0x165,
|
|
1512
|
+
_0x320aef: 0xde
|
|
1513
|
+
}, _0x20d53a = _0x51636d;
|
|
1514
|
+
if (_0x4454ed[_0x20d53a(0x127)][_0x20d53a(_0x3c3bd2._0x8f898c)] === 0x0)
|
|
1515
|
+
return _0x20d53a(_0x3c3bd2._0x4bde4b) + _0x4454ed['channel'] + _0x20d53a(0x25b);
|
|
1516
|
+
const _0x41d920 = _0x4454ed[_0x20d53a(0x127)][_0x20d53a(_0x3c3bd2._0x4b69b3)](_0x12e888 => {
|
|
1517
|
+
const _0x3c3ce6 = _0x20d53a, _0x667a73 = _0x12e888[_0x3c3ce6(_0xf2847._0x57498a)] === _0x3c3ce6(_0xf2847._0x582219) ? _0x3c3ce6(_0xf2847._0x3c20ed) : '', _0x1d7613 = _0x12e888[_0x3c3ce6(0x248)] && _0x12e888[_0x3c3ce6(0x248)] !== _0x3c3ce6(0x192) ? _0x3c3ce6(0x26c) + _0x12e888[_0x3c3ce6(_0xf2847._0x1aa6fb)] : '';
|
|
1518
|
+
return _0x3c3ce6(0x176) + _0x12e888[_0x3c3ce6(0x237)] + '\x20msg=' + _0x12e888[_0x3c3ce6(_0xf2847._0x3ed9ab)] + '\x20time=' + toLocalTime(_0x12e888['createdAt']) + _0x667a73 + _0x1d7613 + _0x3c3ce6(_0xf2847._0x320aef) + _0x12e888[_0x3c3ce6(0xe8)] + ':\x20' + _0x12e888['content'] + formatAttachmentSuffix(_0x12e888['attachments']);
|
|
1519
|
+
})[_0x20d53a(_0x3c3bd2._0x579259)]('\x0a'), _0x29e475 = _0x4454ed[_0x20d53a(_0x3c3bd2._0x3ea9d7)] && _0x4454ed[_0x20d53a(_0x3c3bd2._0xdafe8e)] ? _0x20d53a(0x1ec) + _0x4454ed[_0x20d53a(_0x3c3bd2._0x12f5ec)][_0x20d53a(0x225)] + _0x20d53a(_0x3c3bd2._0x25727d) + _0x4454ed['nextCursor'] + _0x20d53a(0xf8) : '';
|
|
1520
|
+
return _0x20d53a(0x12f) + _0x4454ed[_0x20d53a(_0x3c3bd2._0x12b1de)] + '\x20(' + _0x4454ed['messages'][_0x20d53a(0x225)] + _0x20d53a(0x21d) + _0x41d920 + _0x29e475;
|
|
1501
1521
|
}
|
|
1502
|
-
function formatServerDirectory(
|
|
1503
|
-
const
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
},
|
|
1522
|
+
function formatServerDirectory(_0x2d6d2b) {
|
|
1523
|
+
const _0x221a16 = {
|
|
1524
|
+
_0x5eadd6: 0x120,
|
|
1525
|
+
_0x256593: 0x110,
|
|
1526
|
+
_0x2ca5c4: 0x1a5,
|
|
1527
|
+
_0x499af0: 0x17a,
|
|
1528
|
+
_0x43f8a5: 0x209,
|
|
1529
|
+
_0x45dfc5: 0x225,
|
|
1530
|
+
_0x4f177f: 0x106,
|
|
1531
|
+
_0x1d75c9: 0x1f8
|
|
1532
|
+
}, _0x42ec29 = _0x51636d, _0x21d708 = _0x2d6d2b['channels']['length'] > 0x0 ? _0x2d6d2b[_0x42ec29(_0x221a16._0x5eadd6)][_0x42ec29(0x17a)](_0x34711c => _0x34711c[_0x42ec29(0x227)] ? _0x42ec29(0x216) + _0x34711c[_0x42ec29(0x15b)] + _0x42ec29(0x179) + _0x34711c[_0x42ec29(0x227)] : _0x42ec29(0x216) + _0x34711c['name'])[_0x42ec29(_0x221a16._0x256593)]('\x0a') : _0x42ec29(_0x221a16._0x2ca5c4), _0x53bf46 = _0x2d6d2b[_0x42ec29(0x1d4)][_0x42ec29(0x225)] > 0x0 ? _0x2d6d2b[_0x42ec29(0x1d4)][_0x42ec29(_0x221a16._0x499af0)](_0x52c936 => _0x42ec29(0x271) + _0x52c936['name'])['join']('\x0a') : '(none)', _0x3f4718 = _0x2d6d2b[_0x42ec29(_0x221a16._0x43f8a5)][_0x42ec29(_0x221a16._0x45dfc5)] > 0x0 ? _0x2d6d2b[_0x42ec29(0x209)][_0x42ec29(0x17a)](_0x11b10b => '-\x20@' + _0x11b10b[_0x42ec29(0x15b)])[_0x42ec29(0x110)]('\x0a') : _0x42ec29(0x1a5);
|
|
1513
1533
|
return [
|
|
1514
|
-
|
|
1534
|
+
_0x42ec29(_0x221a16._0x4f177f) + _0x2d6d2b[_0x42ec29(_0x221a16._0x1d75c9)],
|
|
1515
1535
|
'',
|
|
1516
|
-
|
|
1517
|
-
|
|
1536
|
+
_0x42ec29(0x1bc),
|
|
1537
|
+
_0x21d708,
|
|
1518
1538
|
'',
|
|
1519
|
-
|
|
1520
|
-
|
|
1539
|
+
'###\x20Agents',
|
|
1540
|
+
_0x53bf46,
|
|
1521
1541
|
'',
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
][
|
|
1542
|
+
_0x42ec29(0x266),
|
|
1543
|
+
_0x3f4718
|
|
1544
|
+
]['join']('\x0a');
|
|
1525
1545
|
}
|
|
1526
|
-
function formatUploadResult(
|
|
1527
|
-
const
|
|
1528
|
-
return
|
|
1546
|
+
function formatUploadResult(_0x383f21) {
|
|
1547
|
+
const _0x43722e = { _0x3d7d94: 0x1a2 }, _0x4cadf0 = _0x51636d;
|
|
1548
|
+
return 'File\x20uploaded:\x20' + _0x383f21[_0x4cadf0(0x22f)] + '\x20(' + (_0x383f21[_0x4cadf0(0x232)] / 0x400)['toFixed'](0x1) + _0x4cadf0(0x148) + _0x383f21[_0x4cadf0(_0x43722e._0x3d7d94)] + _0x4cadf0(0x14d);
|
|
1529
1549
|
}
|
|
1530
|
-
function formatViewFileResult(
|
|
1531
|
-
const
|
|
1532
|
-
return
|
|
1550
|
+
function formatViewFileResult(_0xf0aa76, _0x4630dc) {
|
|
1551
|
+
const _0x5de002 = _0x51636d;
|
|
1552
|
+
return _0x4630dc ? _0x5de002(0x187) + _0xf0aa76 : 'Downloaded\x20to:\x20' + _0xf0aa76;
|
|
1533
1553
|
}
|
|
1534
|
-
function formatTaskList(
|
|
1535
|
-
const
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
},
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1554
|
+
function formatTaskList(_0x10800a, _0x4c6ca6) {
|
|
1555
|
+
const _0x1f127a = {
|
|
1556
|
+
_0x4ee5f8: 0x124,
|
|
1557
|
+
_0x266f60: 0x110
|
|
1558
|
+
}, _0x48ca4c = {
|
|
1559
|
+
_0x4b9546: 0x1cf,
|
|
1560
|
+
_0x36f414: 0x142,
|
|
1561
|
+
_0x1c3237: 0x1dc,
|
|
1562
|
+
_0x343f1d: 0x273,
|
|
1563
|
+
_0x6ff720: 0xe0,
|
|
1564
|
+
_0x256b40: 0x210,
|
|
1565
|
+
_0x555662: 0x274,
|
|
1566
|
+
_0x34e5e4: 0x21e,
|
|
1567
|
+
_0x339cd5: 0x242,
|
|
1568
|
+
_0x334cc4: 0x146
|
|
1569
|
+
}, _0x216571 = _0x51636d;
|
|
1570
|
+
if (_0x10800a[_0x216571(0x225)] === 0x0)
|
|
1571
|
+
return _0x216571(_0x1f127a._0x4ee5f8);
|
|
1572
|
+
return _0x10800a['map'](_0x35b68a => {
|
|
1573
|
+
const _0x21d353 = _0x216571, _0x389802 = _0x35b68a[_0x21d353(_0x48ca4c._0x4b9546)] == null ? _0x21d353(_0x48ca4c._0x36f414) : _0x35b68a[_0x21d353(_0x48ca4c._0x1c3237)] != null ? '#' + _0x35b68a[_0x21d353(0x1cf)] + '.' + _0x35b68a[_0x21d353(0x1dc)] : '#' + _0x35b68a[_0x21d353(0x1cf)], _0x27d0e8 = _0x35b68a['messageId'] ? _0x21d353(_0x48ca4c._0x343f1d) + _0x35b68a['messageId'] : '', _0x535e0e = _0x4c6ca6 && _0x35b68a['taskNumber'] != null && !_0x35b68a[_0x21d353(0x1dc)] && _0x4c6ca6['has'](_0x35b68a[_0x21d353(0x1cf)]) ? _0x21d353(_0x48ca4c._0x6ff720) : '', _0x181425 = _0x35b68a['childrenTotal'] != null && _0x35b68a[_0x21d353(0x274)] > 0x0 ? '\x20(' + (_0x35b68a[_0x21d353(_0x48ca4c._0x256b40)] ?? 0x0) + '/' + _0x35b68a[_0x21d353(_0x48ca4c._0x555662)] + '\x20done)' : '', _0x22b924 = _0x35b68a[_0x21d353(0x20a)] ? _0x21d353(_0x48ca4c._0x34e5e4) + _0x35b68a[_0x21d353(0x20a)] : '';
|
|
1574
|
+
return _0x389802 + '\x20[' + _0x35b68a[_0x21d353(_0x48ca4c._0x339cd5)] + ']\x20' + _0x35b68a[_0x21d353(_0x48ca4c._0x334cc4)] + _0x181425 + _0x22b924 + _0x27d0e8 + _0x535e0e;
|
|
1575
|
+
})[_0x216571(_0x1f127a._0x266f60)]('\x0a');
|
|
1555
1576
|
}
|
|
1556
|
-
function formatCreatedTasks(
|
|
1557
|
-
const
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1577
|
+
function formatCreatedTasks(_0x3ce567) {
|
|
1578
|
+
const _0xe371d0 = {
|
|
1579
|
+
_0x33da69: 0x225,
|
|
1580
|
+
_0x45f445: 0x15c,
|
|
1581
|
+
_0x2793ce: 0x110
|
|
1582
|
+
}, _0x9072df = {
|
|
1583
|
+
_0x38896f: 0x1dc,
|
|
1584
|
+
_0x3b38a1: 0x1cf,
|
|
1585
|
+
_0x4e9508: 0x1dc,
|
|
1586
|
+
_0x1a58d5: 0x1cf,
|
|
1587
|
+
_0x2bed7a: 0x146
|
|
1588
|
+
}, _0xc0d24 = _0x51636d;
|
|
1589
|
+
if (_0x3ce567[_0xc0d24(_0xe371d0._0x33da69)] === 0x0)
|
|
1590
|
+
return _0xc0d24(_0xe371d0._0x45f445);
|
|
1591
|
+
return _0x3ce567[_0xc0d24(0x17a)](_0x59c7de => {
|
|
1592
|
+
const _0xf7ce84 = _0xc0d24, _0x1e9b0a = _0x59c7de[_0xf7ce84(0x1cf)] == null ? _0xf7ce84(0x142) : _0x59c7de[_0xf7ce84(_0x9072df._0x38896f)] != null ? '#' + _0x59c7de[_0xf7ce84(_0x9072df._0x3b38a1)] + '.' + _0x59c7de[_0xf7ce84(_0x9072df._0x4e9508)] : '#' + _0x59c7de[_0xf7ce84(_0x9072df._0x1a58d5)], _0x5e140d = _0x59c7de['messageId'] ? _0xf7ce84(0x273) + _0x59c7de['messageId'] : '';
|
|
1593
|
+
return _0x1e9b0a + '\x20' + _0x59c7de[_0xf7ce84(_0x9072df._0x2bed7a)] + _0x5e140d;
|
|
1594
|
+
})[_0xc0d24(_0xe371d0._0x2793ce)]('\x0a');
|
|
1573
1595
|
}
|
|
1574
|
-
function formatClaimTaskLabel(
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
return _0xdfee46 != null ? '#' + _0x4fbeb5 + '.' + _0xdfee46 : '#' + _0x4fbeb5;
|
|
1596
|
+
function formatClaimTaskLabel(_0x5e3763, _0x438d84) {
|
|
1597
|
+
if (_0x5e3763 == null)
|
|
1598
|
+
return '(legacy)';
|
|
1599
|
+
return _0x438d84 != null ? '#' + _0x5e3763 + '.' + _0x438d84 : '#' + _0x5e3763;
|
|
1579
1600
|
}
|
|
1580
|
-
function formatClaimTaskResults(
|
|
1581
|
-
const
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
const _0x58fdc4 = [
|
|
1601
|
+
function formatClaimTaskResults(_0x13f698) {
|
|
1602
|
+
const _0x2ad6ad = {
|
|
1603
|
+
_0x2af53a: 0x233,
|
|
1604
|
+
_0x25859b: 0x1e7,
|
|
1605
|
+
_0x4a2e68: 0x1fb,
|
|
1606
|
+
_0x3b27c1: 0x1be,
|
|
1607
|
+
_0xce3f4b: 0x212,
|
|
1608
|
+
_0x1ea4c2: 0x1b1,
|
|
1609
|
+
_0x602857: 0x119,
|
|
1610
|
+
_0xa4c084: 0x102,
|
|
1611
|
+
_0x405ca4: 0x162,
|
|
1612
|
+
_0xea1ab0: 0x1cf,
|
|
1613
|
+
_0x36f4b9: 0x1dc,
|
|
1614
|
+
_0x2955a5: 0x1ac
|
|
1615
|
+
}, _0x3650ff = _0x51636d;
|
|
1616
|
+
if (_0x13f698['length'] === 0x0)
|
|
1617
|
+
return _0x3650ff(0x16e);
|
|
1618
|
+
return _0x13f698[_0x3650ff(0x17a)](_0x3664f7 => {
|
|
1619
|
+
const _0x9a7840 = _0x3650ff;
|
|
1620
|
+
if (_0x3664f7[_0x9a7840(_0x2ad6ad._0x2af53a)]) {
|
|
1621
|
+
const _0x56d556 = formatClaimTaskLabel(_0x3664f7[_0x9a7840(0x1cf)], _0x3664f7[_0x9a7840(0x1dc)]), _0x11fd46 = _0x3664f7[_0x9a7840(0x165)] ? '\x20message=' + _0x3664f7[_0x9a7840(0x165)] : '';
|
|
1622
|
+
if (_0x3664f7[_0x9a7840(0x199)]) {
|
|
1623
|
+
const _0x2037f3 = [
|
|
1604
1624
|
'workerHandoff=true',
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
][
|
|
1610
|
-
return
|
|
1625
|
+
_0x3664f7[_0x9a7840(_0x2ad6ad._0x25859b)] ? _0x9a7840(0x10c) : null,
|
|
1626
|
+
_0x3664f7[_0x9a7840(_0x2ad6ad._0x4a2e68)] ? _0x9a7840(_0x2ad6ad._0x3b27c1) + _0x3664f7['executionMode'] : null,
|
|
1627
|
+
_0x3664f7[_0x9a7840(0x212)] ? 'threadTarget=' + _0x3664f7[_0x9a7840(_0x2ad6ad._0xce3f4b)] : null,
|
|
1628
|
+
_0x3664f7[_0x9a7840(0x1d1)] ? _0x9a7840(_0x2ad6ad._0x1ea4c2) + _0x3664f7['workerDisposition'] : null
|
|
1629
|
+
][_0x9a7840(_0x2ad6ad._0x602857)](Boolean)['join']('\x20');
|
|
1630
|
+
return _0x56d556 + '\x20claimed' + _0x11fd46 + '\x20' + _0x2037f3 + _0x9a7840(0x1d2);
|
|
1611
1631
|
}
|
|
1612
|
-
if (
|
|
1613
|
-
return
|
|
1614
|
-
const
|
|
1615
|
-
return
|
|
1632
|
+
if (_0x3664f7[_0x9a7840(_0x2ad6ad._0x4a2e68)] === _0x9a7840(_0x2ad6ad._0xa4c084))
|
|
1633
|
+
return _0x56d556 + _0x9a7840(_0x2ad6ad._0x405ca4) + _0x11fd46 + '\x20workerHandoff=false\x20executionMode=main\x0aStay\x20in\x20main\x20session:\x20read\x20the\x20referenced\x20plan/document\x20and\x20call\x20create_tasks\x20in\x20the\x20parent\x20channel\x20to\x20break\x20it\x20into\x20top-level\x20tasks\x20(or\x20otherwise\x20advance\x20the\x20task\x20in\x20main\x20without\x20handing\x20off\x20to\x20a\x20worker).';
|
|
1634
|
+
const _0x119b20 = _0x3664f7['workerHandoffError'] ? _0x9a7840(0xf6) + _0x3664f7['workerHandoffError'] : '';
|
|
1635
|
+
return _0x56d556 + _0x9a7840(_0x2ad6ad._0x405ca4) + _0x11fd46 + _0x119b20;
|
|
1616
1636
|
}
|
|
1617
|
-
const
|
|
1618
|
-
return
|
|
1619
|
-
})[
|
|
1637
|
+
const _0x15e2bc = _0x3664f7[_0x9a7840(_0x2ad6ad._0xea1ab0)] == null ? _0x3664f7[_0x9a7840(0x165)] ?? '(unknown)' : formatClaimTaskLabel(_0x3664f7[_0x9a7840(0x1cf)], _0x3664f7[_0x9a7840(_0x2ad6ad._0x36f4b9)]);
|
|
1638
|
+
return _0x15e2bc + _0x9a7840(_0x2ad6ad._0x2955a5) + (_0x3664f7[_0x9a7840(0x214)] ?? _0x9a7840(0x112));
|
|
1639
|
+
})[_0x3650ff(0x110)]('\x0a');
|
|
1620
1640
|
}
|
|
1621
|
-
function formatUnclaimTaskResult(
|
|
1622
|
-
const
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1641
|
+
function formatUnclaimTaskResult(_0x22ca7e) {
|
|
1642
|
+
const _0x11524d = {
|
|
1643
|
+
_0xedfe82: 0x1cf,
|
|
1644
|
+
_0x3b28d2: 0x1dc,
|
|
1645
|
+
_0x2956cf: 0x121
|
|
1646
|
+
}, _0x216f2e = _0x51636d, _0x2e2f56 = _0x22ca7e[_0x216f2e(_0x11524d._0xedfe82)] == null ? _0x216f2e(0x142) : _0x22ca7e[_0x216f2e(_0x11524d._0x3b28d2)] != null ? '#' + _0x22ca7e[_0x216f2e(0x1cf)] + '.' + _0x22ca7e['subtaskNumber'] : '#' + _0x22ca7e['taskNumber'];
|
|
1647
|
+
return _0x2e2f56 + _0x216f2e(_0x11524d._0x2956cf) + _0x22ca7e['status'];
|
|
1627
1648
|
}
|
|
1628
|
-
function formatUpdateTaskStatusResult(
|
|
1629
|
-
const
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1649
|
+
function formatUpdateTaskStatusResult(_0x423749) {
|
|
1650
|
+
const _0xbbe15e = {
|
|
1651
|
+
_0x352ff1: 0x1cf,
|
|
1652
|
+
_0x13048d: 0x121,
|
|
1653
|
+
_0x2df6ea: 0x242,
|
|
1654
|
+
_0x5a62ac: 0x1ae,
|
|
1655
|
+
_0x5896a0: 0x1f5
|
|
1656
|
+
}, _0x4afa30 = _0x51636d, _0xe1073c = _0x423749['taskNumber'] == null ? _0x4afa30(0x142) : _0x423749[_0x4afa30(0x1dc)] != null ? '#' + _0x423749[_0x4afa30(0x1cf)] + '.' + _0x423749[_0x4afa30(0x1dc)] : '#' + _0x423749[_0x4afa30(_0xbbe15e._0x352ff1)], _0x4bbd96 = _0xe1073c + _0x4afa30(_0xbbe15e._0x13048d) + _0x423749[_0x4afa30(_0xbbe15e._0x2df6ea)];
|
|
1657
|
+
if (_0x423749[_0x4afa30(0x242)] !== _0x4afa30(_0xbbe15e._0x5a62ac))
|
|
1658
|
+
return _0x4bbd96;
|
|
1659
|
+
return _0x4bbd96 + _0x4afa30(_0xbbe15e._0x5896a0);
|
|
1637
1660
|
}
|
|
1638
1661
|
function getChatBridgeToolDefinitions() {
|
|
1639
|
-
const
|
|
1640
|
-
_0x2a1a77: 0x1f7,
|
|
1641
|
-
_0x25b98b: 0x165,
|
|
1642
|
-
_0x257b29: 0x1f9,
|
|
1643
|
-
_0x4cba5c: 0x2b9,
|
|
1644
|
-
_0x335aaa: 0x2c3,
|
|
1645
|
-
_0x10e38e: 0x2e7
|
|
1646
|
-
}, _0xdafeec = _0x4cca3c;
|
|
1662
|
+
const _0x33c56d = { _0x4fd07b: 0x1d6 }, _0x51517e = _0x51636d;
|
|
1647
1663
|
return [
|
|
1648
|
-
{ 'name':
|
|
1649
|
-
{ 'name':
|
|
1664
|
+
{ 'name': _0x51517e(0x105) },
|
|
1665
|
+
{ 'name': 'check_messages' },
|
|
1650
1666
|
{ 'name': 'read_history' },
|
|
1651
|
-
{ 'name':
|
|
1652
|
-
{ 'name':
|
|
1653
|
-
{ 'name':
|
|
1654
|
-
{ 'name':
|
|
1667
|
+
{ 'name': 'list_server' },
|
|
1668
|
+
{ 'name': _0x51517e(0x1e4) },
|
|
1669
|
+
{ 'name': 'view_file' },
|
|
1670
|
+
{ 'name': _0x51517e(0x1ce) },
|
|
1655
1671
|
{ 'name': 'create_tasks' },
|
|
1656
|
-
{ 'name':
|
|
1657
|
-
{ 'name':
|
|
1672
|
+
{ 'name': _0x51517e(0x126) },
|
|
1673
|
+
{ 'name': _0x51517e(0x1c0) },
|
|
1658
1674
|
{ 'name': 'update_task_status' },
|
|
1659
|
-
{ 'name':
|
|
1660
|
-
{ 'name':
|
|
1661
|
-
{ 'name':
|
|
1662
|
-
{ 'name':
|
|
1675
|
+
{ 'name': 'get_worker_status' },
|
|
1676
|
+
{ 'name': _0x51517e(0x1f6) },
|
|
1677
|
+
{ 'name': _0x51517e(0x20e) },
|
|
1678
|
+
{ 'name': _0x51517e(_0x33c56d._0x4fd07b) }
|
|
1663
1679
|
];
|
|
1664
1680
|
}
|
|
1665
|
-
function createChatBridgeHandlers(
|
|
1666
|
-
const
|
|
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
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1681
|
+
function createChatBridgeHandlers(_0x17d0f2) {
|
|
1682
|
+
const _0x44ef97 = { _0x36191c: 0x22e }, _0x440039 = {
|
|
1683
|
+
_0x3c166a: 0x163,
|
|
1684
|
+
_0xac99f9: 0x167,
|
|
1685
|
+
_0x58c1c2: 0x25c,
|
|
1686
|
+
_0x39e15d: 0xed,
|
|
1687
|
+
_0x2a431f: 0x214
|
|
1688
|
+
}, _0x4e0493 = {
|
|
1689
|
+
_0x5115d6: 0x244,
|
|
1690
|
+
_0x3632e2: 0x1b9,
|
|
1691
|
+
_0x3f2f9d: 0x14e,
|
|
1692
|
+
_0x390ded: 0x1e3
|
|
1693
|
+
}, _0x38cecb = {
|
|
1694
|
+
_0x134d9d: 0x163,
|
|
1695
|
+
_0x136f52: 0x167,
|
|
1696
|
+
_0x4b3c0f: 0x25c,
|
|
1697
|
+
_0x136fb8: 0x14e,
|
|
1698
|
+
_0x229385: 0xed,
|
|
1699
|
+
_0x221f9c: 0x213,
|
|
1700
|
+
_0x33ea2c: 0x20c
|
|
1701
|
+
}, _0x3690d1 = {
|
|
1702
|
+
_0x1e48af: 0x20f,
|
|
1703
|
+
_0x4563c8: 0x163,
|
|
1704
|
+
_0x179cf8: 0x14c,
|
|
1705
|
+
_0x4b9cc2: 0x213,
|
|
1706
|
+
_0x2e6b65: 0x14e,
|
|
1707
|
+
_0x4daafa: 0xf2
|
|
1708
|
+
}, _0x2bd1ac = {
|
|
1709
|
+
_0x190acd: 0x24d,
|
|
1710
|
+
_0x32e693: 0xf3,
|
|
1711
|
+
_0x2b6c55: 0x19d,
|
|
1712
|
+
_0x6ebc00: 0x184
|
|
1713
|
+
}, _0x1901f5 = { _0x199b8f: 0xf5 }, _0x84e2b1 = {
|
|
1714
|
+
_0x5b1d78: 0x1a0,
|
|
1715
|
+
_0x15ac37: 0x249
|
|
1716
|
+
}, _0x5d2c3f = {
|
|
1717
|
+
_0x32faf0: 0x1c0,
|
|
1718
|
+
_0x11cd24: 0x222
|
|
1719
|
+
}, _0x5d2e22 = {
|
|
1720
|
+
_0x522d62: 0x1a0,
|
|
1721
|
+
_0x4c8eac: 0x175,
|
|
1722
|
+
_0xdf640b: 0x156,
|
|
1723
|
+
_0x23a315: 0x225,
|
|
1724
|
+
_0x53400c: 0x10e
|
|
1725
|
+
}, _0x1921d4 = {
|
|
1726
|
+
_0x1813d6: 0xf9,
|
|
1727
|
+
_0x5d5714: 0x1a0,
|
|
1728
|
+
_0x34ca26: 0x23a
|
|
1729
|
+
}, _0x274f28 = {
|
|
1730
|
+
_0x2492fb: 0x249,
|
|
1731
|
+
_0xce5252: 0x10d,
|
|
1732
|
+
_0x5909ef: 0x163,
|
|
1733
|
+
_0x597900: 0x244,
|
|
1734
|
+
_0x40d17f: 0x163,
|
|
1735
|
+
_0x80ab38: 0x218,
|
|
1736
|
+
_0x1bb77d: 0x242,
|
|
1737
|
+
_0x559e0d: 0x203,
|
|
1738
|
+
_0x36d420: 0x22b,
|
|
1739
|
+
_0x10456f: 0x225,
|
|
1740
|
+
_0x5e4db5: 0x23a,
|
|
1741
|
+
_0x2687a9: 0x251,
|
|
1742
|
+
_0x41bdf4: 0x1cf,
|
|
1743
|
+
_0x49c094: 0x23a,
|
|
1744
|
+
_0x2f433b: 0x265,
|
|
1745
|
+
_0x3229a5: 0x1cf,
|
|
1746
|
+
_0x2d3cdf: 0x23a
|
|
1747
|
+
}, _0xd20c98 = { _0x2b6a32: 0x235 }, _0x84bac8 = {
|
|
1748
|
+
_0x2f100d: 0x249,
|
|
1749
|
+
_0x583c9b: 0x127
|
|
1750
|
+
}, _0x21f724 = {
|
|
1751
|
+
_0x17156f: 0x244,
|
|
1752
|
+
_0x239a35: 0x249,
|
|
1753
|
+
_0x48f1b1: 0x113,
|
|
1754
|
+
_0x14b3a3: 0x102,
|
|
1755
|
+
_0x142f71: 0x254,
|
|
1756
|
+
_0x34505e: 0x257,
|
|
1757
|
+
_0x24ba44: 0x257,
|
|
1758
|
+
_0x20f2f6: 0x1a6,
|
|
1759
|
+
_0x5c7dd9: 0x165,
|
|
1760
|
+
_0x39ed89: 0x1cf,
|
|
1761
|
+
_0x1eb1bf: 0x1a3,
|
|
1762
|
+
_0x2771a5: 0x111,
|
|
1763
|
+
_0x471426: 0x111,
|
|
1764
|
+
_0x5c431f: 0x257,
|
|
1765
|
+
_0x455d6c: 0x13f,
|
|
1766
|
+
_0x521148: 0x1db,
|
|
1767
|
+
_0x4a3cc4: 0x12e,
|
|
1768
|
+
_0x6d79fa: 0x110,
|
|
1769
|
+
_0x2e1a34: 0x197,
|
|
1770
|
+
_0x3f3eee: 0x128,
|
|
1771
|
+
_0x505119: 0x181,
|
|
1772
|
+
_0x5e5b5d: 0x1a3,
|
|
1773
|
+
_0x49153a: 0x207,
|
|
1774
|
+
_0xe25544: 0x13c,
|
|
1775
|
+
_0x2f5202: 0x137,
|
|
1776
|
+
_0x22d23e: 0x167,
|
|
1777
|
+
_0x46d0d9: 0x244,
|
|
1778
|
+
_0x4576ef: 0xf0,
|
|
1779
|
+
_0x16b9a7: 0x14e,
|
|
1780
|
+
_0x34178b: 0x25f,
|
|
1781
|
+
_0x24f84c: 0x1cc,
|
|
1782
|
+
_0x39ad21: 0x262,
|
|
1783
|
+
_0x455844: 0x1c9,
|
|
1784
|
+
_0x212ad3: 0x249,
|
|
1785
|
+
_0x5b239c: 0x1b6
|
|
1786
|
+
}, _0x1bb1b7 = {
|
|
1787
|
+
_0x4667e2: 0x163,
|
|
1788
|
+
_0x584a8e: 0x14e,
|
|
1789
|
+
_0x341caa: 0x242,
|
|
1790
|
+
_0x103d4c: 0x265
|
|
1791
|
+
}, _0x1f0353 = {
|
|
1792
|
+
_0x103adb: 0x163,
|
|
1793
|
+
_0x56a2fa: 0x244,
|
|
1794
|
+
_0x3c8ee5: 0x265
|
|
1795
|
+
}, _0x3944ee = {
|
|
1796
|
+
_0x3dfa47: 0x163,
|
|
1797
|
+
_0x43c36b: 0x17b,
|
|
1798
|
+
_0x1a91b4: 0x1a0,
|
|
1799
|
+
_0x31f50d: 0x102,
|
|
1800
|
+
_0xcb90ec: 0x149,
|
|
1801
|
+
_0x352cc6: 0x111,
|
|
1802
|
+
_0x1411db: 0x185,
|
|
1803
|
+
_0x2d7279: 0x165,
|
|
1804
|
+
_0x1e9f15: 0x221,
|
|
1805
|
+
_0x40c743: 0x251,
|
|
1806
|
+
_0x3d892d: 0x171,
|
|
1807
|
+
_0x13964f: 0x26e,
|
|
1808
|
+
_0xa42dc8: 0x117,
|
|
1809
|
+
_0x1a34a7: 0x188,
|
|
1810
|
+
_0x38d07d: 0x163,
|
|
1811
|
+
_0x11da94: 0x23f,
|
|
1812
|
+
_0x19463f: 0x25c,
|
|
1813
|
+
_0x22e9d9: 0x244,
|
|
1814
|
+
_0xc37a61: 0x207,
|
|
1815
|
+
_0x4136a8: 0x1cf,
|
|
1816
|
+
_0x41e685: 0x1da,
|
|
1817
|
+
_0x2fc19d: 0x1c4,
|
|
1818
|
+
_0x33eed6: 0x196
|
|
1819
|
+
}, _0x30589b = {
|
|
1820
|
+
_0x3677ad: 0x23b,
|
|
1821
|
+
_0xc1d499: 0x263
|
|
1822
|
+
}, _0x31765a = _0x51636d;
|
|
1823
|
+
function _0x23f8b9(_0x17b8f3, _0x2328b0) {
|
|
1824
|
+
const _0x113bdb = _0x3278;
|
|
1825
|
+
if (!_0x17d0f2[_0x113bdb(_0x30589b._0x3677ad)])
|
|
1791
1826
|
return;
|
|
1792
|
-
if (!
|
|
1793
|
-
throw new Error(
|
|
1794
|
-
if (
|
|
1795
|
-
throw new Error(
|
|
1827
|
+
if (!_0x17d0f2[_0x113bdb(_0x30589b._0xc1d499)])
|
|
1828
|
+
throw new Error(_0x17b8f3 + _0x113bdb(0xee));
|
|
1829
|
+
if (_0x2328b0 !== _0x17d0f2[_0x113bdb(0x263)])
|
|
1830
|
+
throw new Error(_0x17b8f3 + ':\x20worker\x20can\x20only\x20operate\x20inside\x20its\x20own\x20task\x20thread\x20(' + _0x17d0f2['workerThreadTarget'] + ');\x20got\x20channel=' + _0x2328b0);
|
|
1796
1831
|
}
|
|
1797
|
-
async function
|
|
1798
|
-
const
|
|
1799
|
-
if (!
|
|
1832
|
+
async function _0xc4faea(_0x22f63f) {
|
|
1833
|
+
const _0x27d483 = _0x3278;
|
|
1834
|
+
if (!_0x17d0f2[_0x27d483(_0x3944ee._0x3dfa47)] || !_0x17d0f2['agentId'] || _0x17d0f2[_0x27d483(0x23b)] || _0x17d0f2[_0x27d483(_0x3944ee._0x43c36b)] !== !![])
|
|
1800
1835
|
return null;
|
|
1801
|
-
const
|
|
1802
|
-
if (
|
|
1836
|
+
const _0xb47447 = parseTarget(_0x22f63f[_0x27d483(0x1a0)]);
|
|
1837
|
+
if (_0xb47447['kind'] !== _0x27d483(_0x3944ee._0x1a91b4))
|
|
1803
1838
|
return null;
|
|
1804
|
-
if (
|
|
1805
|
-
const
|
|
1839
|
+
if (_0x22f63f[_0x27d483(0x1fb)] === _0x27d483(0x102)) {
|
|
1840
|
+
const _0x301f17 = _0x22f63f[_0x27d483(0x1cf)] == null ? '(legacy)' : '#' + _0x22f63f[_0x27d483(0x1cf)];
|
|
1806
1841
|
return {
|
|
1807
|
-
'executionMode':
|
|
1842
|
+
'executionMode': _0x27d483(_0x3944ee._0x31f50d),
|
|
1808
1843
|
'stopMain': ![],
|
|
1809
1844
|
'workerHandoff': ![],
|
|
1810
|
-
'workerHandoffError': 'task\x20' +
|
|
1845
|
+
'workerHandoffError': 'task\x20' + _0x301f17 + _0x27d483(_0x3944ee._0xcb90ec)
|
|
1811
1846
|
};
|
|
1812
1847
|
}
|
|
1813
|
-
const
|
|
1814
|
-
let
|
|
1848
|
+
const _0x186cba = _0x22f63f[_0x27d483(_0x3944ee._0x352cc6)] != null ? _0xb47447['channelTarget'] + ':t' + _0x22f63f[_0x27d483(0x111)] : _0xb47447[_0x27d483(_0x3944ee._0x1411db)] + ':' + _0x22f63f[_0x27d483(_0x3944ee._0x2d7279)];
|
|
1849
|
+
let _0x5bc2e2;
|
|
1815
1850
|
try {
|
|
1816
|
-
const
|
|
1817
|
-
'channel':
|
|
1851
|
+
const _0x58c2d3 = await _0x17d0f2[_0x27d483(0x249)][_0x27d483(_0x3944ee._0x1e9f15)]({
|
|
1852
|
+
'channel': _0x186cba,
|
|
1818
1853
|
'limit': 0x14
|
|
1819
1854
|
});
|
|
1820
|
-
|
|
1855
|
+
_0x5bc2e2 = _0x58c2d3[_0x27d483(0x127)][_0x27d483(_0x3944ee._0x40c743)](_0x41bdb5 => _0x41bdb5[_0x27d483(0x165)] === _0x22f63f[_0x27d483(0x165)]);
|
|
1821
1856
|
} catch {
|
|
1822
|
-
|
|
1857
|
+
_0x5bc2e2 = void 0x0;
|
|
1823
1858
|
}
|
|
1824
|
-
const
|
|
1825
|
-
|
|
1859
|
+
const _0x2ef4ef = _0x22f63f[_0x27d483(0x1cf)] == null ? _0x27d483(0x142) : '#' + _0x22f63f['taskNumber'], _0xc35d3 = [
|
|
1860
|
+
_0x27d483(_0x3944ee._0x3d892d) + _0x186cba + _0x27d483(0x14a) + _0x22f63f[_0x27d483(0x165)][_0x27d483(0x13f)](0x0, 0x8) + _0x27d483(_0x3944ee._0x13964f) + new Date()[_0x27d483(0x128)]() + _0x27d483(0x18a) + _0x2ef4ef + _0x27d483(_0x3944ee._0xa42dc8),
|
|
1826
1861
|
'',
|
|
1827
|
-
|
|
1862
|
+
_0x5bc2e2 ? _0x27d483(0x1cb) + _0x5bc2e2[_0x27d483(0x164)] : 'Root\x20task\x20message\x20id:\x20' + _0x22f63f[_0x27d483(0x165)],
|
|
1828
1863
|
'',
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
][
|
|
1832
|
-
'method':
|
|
1833
|
-
'headers': { 'Content-Type':
|
|
1834
|
-
'body': JSON[
|
|
1835
|
-
'agent_id':
|
|
1836
|
-
'thread_target':
|
|
1864
|
+
_0x27d483(0x13c) + _0x186cba,
|
|
1865
|
+
_0x27d483(_0x3944ee._0x1a34a7)
|
|
1866
|
+
][_0x27d483(0x110)]('\x0a'), _0xe593c5 = await fetch(_0x17d0f2[_0x27d483(_0x3944ee._0x38d07d)] + '/workers/deliver', {
|
|
1867
|
+
'method': _0x27d483(0x167),
|
|
1868
|
+
'headers': { 'Content-Type': _0x27d483(_0x3944ee._0x11da94) },
|
|
1869
|
+
'body': JSON[_0x27d483(_0x3944ee._0x19463f)]({
|
|
1870
|
+
'agent_id': _0x17d0f2[_0x27d483(_0x3944ee._0x22e9d9)],
|
|
1871
|
+
'thread_target': _0x186cba,
|
|
1837
1872
|
'spawn_packet': {
|
|
1838
|
-
'replyTarget':
|
|
1839
|
-
...
|
|
1873
|
+
'replyTarget': _0x186cba,
|
|
1874
|
+
..._0x22f63f['taskId'] ? { 'taskId': _0x22f63f[_0x27d483(_0x3944ee._0xc37a61)] } : _0x22f63f[_0x27d483(_0x3944ee._0x4136a8)] != null ? { 'taskId': 'task-' + _0x22f63f[_0x27d483(0x1cf)] } : {}
|
|
1840
1875
|
},
|
|
1841
1876
|
'payload': {
|
|
1842
|
-
'mode':
|
|
1843
|
-
'text':
|
|
1877
|
+
'mode': _0x27d483(0xf0),
|
|
1878
|
+
'text': _0xc35d3
|
|
1844
1879
|
}
|
|
1845
1880
|
})
|
|
1846
|
-
}),
|
|
1847
|
-
if (!
|
|
1848
|
-
throw new Error(
|
|
1881
|
+
}), _0x4d1d5c = await _0xe593c5['json']();
|
|
1882
|
+
if (!_0x4d1d5c['ok'])
|
|
1883
|
+
throw new Error(_0x4d1d5c[_0x27d483(0xed)] ?? _0x27d483(_0x3944ee._0x41e685));
|
|
1849
1884
|
return {
|
|
1850
1885
|
'stopMain': !![],
|
|
1851
|
-
'threadTarget':
|
|
1852
|
-
'workerDisposition':
|
|
1886
|
+
'threadTarget': _0x186cba,
|
|
1887
|
+
'workerDisposition': _0x4d1d5c[_0x27d483(0x262)] === _0x27d483(0x1c9) ? 'queued' : 'started',
|
|
1853
1888
|
'workerHandoff': !![],
|
|
1854
|
-
'workerSessionId':
|
|
1855
|
-
'executionMode':
|
|
1889
|
+
'workerSessionId': _0x4d1d5c[_0x27d483(_0x3944ee._0x2fc19d)] ?? '',
|
|
1890
|
+
'executionMode': _0x27d483(_0x3944ee._0x33eed6)
|
|
1856
1891
|
};
|
|
1857
1892
|
}
|
|
1858
|
-
async function
|
|
1859
|
-
const
|
|
1860
|
-
if (!
|
|
1893
|
+
async function _0x68c17a() {
|
|
1894
|
+
const _0x438e6c = _0x3278;
|
|
1895
|
+
if (!_0x17d0f2[_0x438e6c(_0x1f0353._0x103adb)] || !_0x17d0f2['agentId'] || _0x17d0f2['workerMode'])
|
|
1861
1896
|
return null;
|
|
1862
1897
|
try {
|
|
1863
|
-
const
|
|
1864
|
-
if (!
|
|
1898
|
+
const _0x562661 = await fetch(_0x17d0f2['daemonLocalUrl'] + _0x438e6c(0xe4) + encodeURIComponent(_0x17d0f2[_0x438e6c(_0x1f0353._0x56a2fa)])), _0x3e745e = await _0x562661[_0x438e6c(0x14e)]();
|
|
1899
|
+
if (!_0x3e745e['ok'])
|
|
1865
1900
|
return null;
|
|
1866
|
-
const
|
|
1867
|
-
for (const
|
|
1868
|
-
|
|
1901
|
+
const _0x483583 = new Set();
|
|
1902
|
+
for (const _0x3ede5 of _0x3e745e[_0x438e6c(0x218)]) {
|
|
1903
|
+
_0x3ede5[_0x438e6c(0x242)] !== _0x438e6c(0x203) && _0x3ede5[_0x438e6c(0x22b)] && _0x483583[_0x438e6c(_0x1f0353._0x3c8ee5)](_0x3ede5[_0x438e6c(0x22b)]);
|
|
1869
1904
|
}
|
|
1870
|
-
return
|
|
1905
|
+
return _0x483583[_0x438e6c(0x138)] > 0x0 ? _0x483583 : null;
|
|
1871
1906
|
} catch {
|
|
1872
1907
|
return null;
|
|
1873
1908
|
}
|
|
1874
1909
|
}
|
|
1875
|
-
const
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1910
|
+
const _0x395e02 = new Set([
|
|
1911
|
+
_0x31765a(0x103),
|
|
1912
|
+
_0x31765a(0x129),
|
|
1913
|
+
_0x31765a(_0x44ef97._0x36191c)
|
|
1879
1914
|
]);
|
|
1880
|
-
async function
|
|
1881
|
-
const
|
|
1882
|
-
if (!
|
|
1915
|
+
async function _0x31e1a3() {
|
|
1916
|
+
const _0x489617 = _0x31765a;
|
|
1917
|
+
if (!_0x17d0f2[_0x489617(0x163)] || !_0x17d0f2['agentId'] || _0x17d0f2['workerMode'])
|
|
1883
1918
|
return null;
|
|
1884
1919
|
try {
|
|
1885
|
-
const
|
|
1886
|
-
if (!
|
|
1920
|
+
const _0x2d727d = await fetch(_0x17d0f2[_0x489617(_0x1bb1b7._0x4667e2)] + _0x489617(0xe4) + encodeURIComponent(_0x17d0f2[_0x489617(0x244)])), _0x103e08 = await _0x2d727d[_0x489617(_0x1bb1b7._0x584a8e)]();
|
|
1921
|
+
if (!_0x103e08['ok'])
|
|
1887
1922
|
return null;
|
|
1888
|
-
const
|
|
1889
|
-
for (const
|
|
1890
|
-
|
|
1923
|
+
const _0x4ec4b4 = new Set();
|
|
1924
|
+
for (const _0x34e89d of _0x103e08['workers']) {
|
|
1925
|
+
_0x395e02[_0x489617(0x1db)](_0x34e89d[_0x489617(_0x1bb1b7._0x341caa)]) && _0x34e89d['thread_target'] && _0x4ec4b4[_0x489617(_0x1bb1b7._0x103d4c)](_0x34e89d[_0x489617(0x22b)]);
|
|
1891
1926
|
}
|
|
1892
|
-
return
|
|
1927
|
+
return _0x4ec4b4[_0x489617(0x138)] > 0x0 ? _0x4ec4b4 : null;
|
|
1893
1928
|
} catch {
|
|
1894
1929
|
return null;
|
|
1895
1930
|
}
|
|
1896
1931
|
}
|
|
1897
1932
|
return {
|
|
1898
|
-
async 'send_message'(
|
|
1899
|
-
const
|
|
1900
|
-
if (!
|
|
1901
|
-
const
|
|
1902
|
-
if (
|
|
1903
|
-
if (
|
|
1904
|
-
const
|
|
1905
|
-
'attachmentIds':
|
|
1906
|
-
'content':
|
|
1907
|
-
'target':
|
|
1908
|
-
'visibility':
|
|
1933
|
+
async 'send_message'(_0x3f387a) {
|
|
1934
|
+
const _0x3755f2 = _0x31765a;
|
|
1935
|
+
if (!_0x17d0f2[_0x3755f2(0x23b)] && _0x17d0f2[_0x3755f2(0x17b)] && _0x17d0f2[_0x3755f2(0x163)] && _0x17d0f2[_0x3755f2(_0x21f724._0x17156f)]) {
|
|
1936
|
+
const _0x2ef302 = await _0x17d0f2[_0x3755f2(_0x21f724._0x239a35)][_0x3755f2(_0x21f724._0x48f1b1)](_0x3f387a[_0x3755f2(0x257)]);
|
|
1937
|
+
if (_0x2ef302[_0x3755f2(0x1a3)] && _0x2ef302['threadId']) {
|
|
1938
|
+
if (_0x2ef302[_0x3755f2(0x1a3)][_0x3755f2(0x1fb)] === _0x3755f2(_0x21f724._0x14b3a3)) {
|
|
1939
|
+
const _0x131eac = await _0x17d0f2[_0x3755f2(0x249)][_0x3755f2(0x264)]({
|
|
1940
|
+
'attachmentIds': _0x3f387a[_0x3755f2(_0x21f724._0x142f71)],
|
|
1941
|
+
'content': _0x3f387a[_0x3755f2(0x164)],
|
|
1942
|
+
'target': _0x3f387a[_0x3755f2(_0x21f724._0x34505e)],
|
|
1943
|
+
'visibility': _0x3f387a[_0x3755f2(0x1b6)]
|
|
1909
1944
|
});
|
|
1910
|
-
return
|
|
1945
|
+
return 'Message\x20sent\x20to\x20' + _0x3f387a[_0x3755f2(_0x21f724._0x24ba44)] + _0x3755f2(_0x21f724._0x20f2f6) + _0x131eac[_0x3755f2(_0x21f724._0x5c7dd9)];
|
|
1911
1946
|
}
|
|
1912
|
-
const
|
|
1913
|
-
if (
|
|
1947
|
+
const _0x3c8e42 = _0x2ef302[_0x3755f2(0x1a3)][_0x3755f2(_0x21f724._0x39ed89)] != null ? '#' + _0x2ef302[_0x3755f2(_0x21f724._0x1eb1bf)][_0x3755f2(_0x21f724._0x39ed89)] : '(legacy)', _0x4fd377 = _0x2ef302[_0x3755f2(_0x21f724._0x2771a5)] != null ? _0x2ef302[_0x3755f2(0x257)] + ':t' + _0x2ef302[_0x3755f2(_0x21f724._0x471426)] : _0x2ef302[_0x3755f2(_0x21f724._0x5c431f)] + ':' + _0x2ef302[_0x3755f2(0x24e)][_0x3755f2(_0x21f724._0x455d6c)](0x0, 0x8), _0x10774d = await _0x31e1a3();
|
|
1948
|
+
if (_0x10774d?.[_0x3755f2(_0x21f724._0x521148)](_0x4fd377))
|
|
1914
1949
|
return [
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
][
|
|
1918
|
-
const
|
|
1919
|
-
|
|
1950
|
+
_0x3755f2(0x1e8) + _0x3c8e42 + '\x20in\x20' + _0x4fd377 + _0x3755f2(_0x21f724._0x4a3cc4),
|
|
1951
|
+
_0x3755f2(0x136)
|
|
1952
|
+
][_0x3755f2(_0x21f724._0x6d79fa)]('\x0a');
|
|
1953
|
+
const _0x1db8bd = [
|
|
1954
|
+
'[target=' + _0x4fd377 + _0x3755f2(_0x21f724._0x2e1a34) + new Date()[_0x3755f2(_0x21f724._0x3f3eee)]() + ']\x20@system:\x20[enter-handoff]',
|
|
1920
1955
|
'',
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
][
|
|
1926
|
-
'method':
|
|
1927
|
-
'headers': { 'Content-Type':
|
|
1956
|
+
_0x3755f2(0x224) + _0x3f387a[_0x3755f2(0x164)],
|
|
1957
|
+
_0x3755f2(_0x21f724._0x505119) + _0x3c8e42 + '\x20(' + _0x2ef302[_0x3755f2(_0x21f724._0x5e5b5d)][_0x3755f2(_0x21f724._0x49153a)] + ')',
|
|
1958
|
+
_0x3755f2(_0x21f724._0xe25544) + _0x4fd377,
|
|
1959
|
+
_0x3755f2(_0x21f724._0x2f5202)
|
|
1960
|
+
][_0x3755f2(0x110)]('\x0a'), _0x3e30aa = await fetch(_0x17d0f2[_0x3755f2(0x163)] + _0x3755f2(0x172), {
|
|
1961
|
+
'method': _0x3755f2(_0x21f724._0x22d23e),
|
|
1962
|
+
'headers': { 'Content-Type': _0x3755f2(0x23f) },
|
|
1928
1963
|
'body': JSON['stringify']({
|
|
1929
|
-
'agent_id':
|
|
1930
|
-
'thread_target':
|
|
1964
|
+
'agent_id': _0x17d0f2[_0x3755f2(_0x21f724._0x46d0d9)],
|
|
1965
|
+
'thread_target': _0x4fd377,
|
|
1931
1966
|
'spawn_packet': {
|
|
1932
|
-
'replyTarget':
|
|
1933
|
-
'taskId':
|
|
1967
|
+
'replyTarget': _0x4fd377,
|
|
1968
|
+
'taskId': _0x2ef302[_0x3755f2(0x1a3)][_0x3755f2(0x207)]
|
|
1934
1969
|
},
|
|
1935
1970
|
'payload': {
|
|
1936
|
-
'mode':
|
|
1937
|
-
'text':
|
|
1971
|
+
'mode': _0x3755f2(_0x21f724._0x4576ef),
|
|
1972
|
+
'text': _0x1db8bd
|
|
1938
1973
|
}
|
|
1939
1974
|
})
|
|
1940
|
-
}),
|
|
1941
|
-
if (!
|
|
1942
|
-
throw new Error(
|
|
1975
|
+
}), _0x5ad0e3 = await _0x3e30aa[_0x3755f2(_0x21f724._0x16b9a7)]();
|
|
1976
|
+
if (!_0x5ad0e3['ok'])
|
|
1977
|
+
throw new Error(_0x5ad0e3['error'] ?? _0x3755f2(_0x21f724._0x34178b));
|
|
1943
1978
|
return [
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
][
|
|
1979
|
+
'Handoff\x20to\x20worker\x20for\x20task\x20' + _0x3c8e42 + _0x3755f2(_0x21f724._0x24f84c) + _0x4fd377 + '.\x20stopMain=true\x20executionMode=worker',
|
|
1980
|
+
_0x3755f2(0x226) + (_0x5ad0e3[_0x3755f2(_0x21f724._0x39ad21)] === _0x3755f2(_0x21f724._0x455844) ? 'queued' : _0x3755f2(0xea)) + '.',
|
|
1981
|
+
'⚠️\x20WORKER\x20ACTIVATED\x20—\x20Stop\x20ALL\x20work\x20on\x20this\x20task\x20immediately.\x20Do\x20not\x20send\x20further\x20messages\x20to\x20this\x20thread.'
|
|
1982
|
+
][_0x3755f2(0x110)]('\x0a');
|
|
1948
1983
|
}
|
|
1949
1984
|
}
|
|
1950
|
-
const
|
|
1951
|
-
'attachmentIds':
|
|
1952
|
-
'content':
|
|
1953
|
-
'target':
|
|
1954
|
-
'visibility':
|
|
1985
|
+
const _0x1a125c = await _0x17d0f2[_0x3755f2(_0x21f724._0x212ad3)]['sendMessage']({
|
|
1986
|
+
'attachmentIds': _0x3f387a[_0x3755f2(0x254)],
|
|
1987
|
+
'content': _0x3f387a[_0x3755f2(0x164)],
|
|
1988
|
+
'target': _0x3f387a[_0x3755f2(_0x21f724._0x5c431f)],
|
|
1989
|
+
'visibility': _0x3f387a[_0x3755f2(_0x21f724._0x5b239c)]
|
|
1955
1990
|
});
|
|
1956
|
-
return
|
|
1991
|
+
return 'Message\x20sent\x20to\x20' + _0x3f387a[_0x3755f2(_0x21f724._0x24ba44)] + '.\x20Message\x20ID:\x20' + _0x1a125c[_0x3755f2(0x165)];
|
|
1957
1992
|
},
|
|
1958
1993
|
async 'check_messages'() {
|
|
1959
|
-
const
|
|
1960
|
-
if (!
|
|
1961
|
-
const
|
|
1962
|
-
if (
|
|
1963
|
-
return formatCheckMessages(
|
|
1994
|
+
const _0x59deeb = _0x31765a, _0x28c389 = await _0x17d0f2[_0x59deeb(_0x84bac8._0x2f100d)][_0x59deeb(0x1e1)]();
|
|
1995
|
+
if (!_0x17d0f2[_0x59deeb(0x23b)]) {
|
|
1996
|
+
const _0x40bd7c = await _0x68c17a();
|
|
1997
|
+
if (_0x40bd7c)
|
|
1998
|
+
return formatCheckMessages(_0x28c389[_0x59deeb(_0x84bac8._0x583c9b)][_0x59deeb(0x119)](_0x40fbae => !_0x40bd7c[_0x59deeb(0x1db)](_0x40fbae[_0x59deeb(0x257)])));
|
|
1964
1999
|
}
|
|
1965
|
-
return formatCheckMessages(
|
|
2000
|
+
return formatCheckMessages(_0x28c389[_0x59deeb(_0x84bac8._0x583c9b)]);
|
|
1966
2001
|
},
|
|
1967
|
-
async 'read_history'(
|
|
1968
|
-
const
|
|
1969
|
-
return formatHistory(
|
|
2002
|
+
async 'read_history'(_0x4b467e) {
|
|
2003
|
+
const _0x285424 = _0x31765a, _0x2354ee = await _0x17d0f2[_0x285424(0x249)]['readHistory'](_0x4b467e);
|
|
2004
|
+
return formatHistory(_0x2354ee);
|
|
1970
2005
|
},
|
|
1971
2006
|
async 'list_server'() {
|
|
1972
|
-
const
|
|
1973
|
-
return formatServerDirectory(
|
|
2007
|
+
const _0x2841bb = _0x31765a, _0x4a4162 = await _0x17d0f2[_0x2841bb(0x249)][_0x2841bb(_0xd20c98._0x2b6a32)]();
|
|
2008
|
+
return formatServerDirectory(_0x4a4162);
|
|
1974
2009
|
},
|
|
1975
|
-
async 'list_tasks'(
|
|
1976
|
-
const
|
|
1977
|
-
let
|
|
1978
|
-
if (
|
|
2010
|
+
async 'list_tasks'(_0x3262d2) {
|
|
2011
|
+
const _0x1e95db = _0x31765a, _0xbeec26 = await _0x17d0f2[_0x1e95db(_0x274f28._0x2492fb)][_0x1e95db(_0x274f28._0xce5252)](_0x3262d2);
|
|
2012
|
+
let _0x477ac4;
|
|
2013
|
+
if (_0x17d0f2[_0x1e95db(_0x274f28._0x5909ef)] && _0x17d0f2[_0x1e95db(_0x274f28._0x597900)])
|
|
1979
2014
|
try {
|
|
1980
|
-
const
|
|
1981
|
-
if (
|
|
1982
|
-
const
|
|
1983
|
-
|
|
1984
|
-
for (const
|
|
1985
|
-
if (
|
|
2015
|
+
const _0x583913 = await fetch(_0x17d0f2[_0x1e95db(_0x274f28._0x40d17f)] + _0x1e95db(0xe4) + encodeURIComponent(_0x17d0f2[_0x1e95db(0x244)])), _0x25cb19 = await _0x583913['json']();
|
|
2016
|
+
if (_0x25cb19['ok']) {
|
|
2017
|
+
const _0x28d7bc = _0x3262d2[_0x1e95db(0x1a0)] + ':';
|
|
2018
|
+
_0x477ac4 = new Set();
|
|
2019
|
+
for (const _0x5565e4 of _0x25cb19[_0x1e95db(_0x274f28._0x80ab38)]) {
|
|
2020
|
+
if (_0x5565e4[_0x1e95db(_0x274f28._0x1bb77d)] === _0x1e95db(_0x274f28._0x559e0d))
|
|
1986
2021
|
continue;
|
|
1987
|
-
if (
|
|
1988
|
-
const
|
|
1989
|
-
if (
|
|
1990
|
-
|
|
2022
|
+
if (_0x5565e4[_0x1e95db(_0x274f28._0x36d420)]?.[_0x1e95db(0x161)](_0x28d7bc)) {
|
|
2023
|
+
const _0x39e279 = _0x5565e4[_0x1e95db(0x22b)]['slice'](_0x28d7bc[_0x1e95db(_0x274f28._0x10456f)]), _0x363500 = _0xbeec26[_0x1e95db(_0x274f28._0x5e4db5)][_0x1e95db(_0x274f28._0x2687a9)](_0x378cde => _0x378cde[_0x1e95db(0x165)]?.[_0x1e95db(0x161)](_0x39e279) === !![]);
|
|
2024
|
+
if (_0x363500?.[_0x1e95db(_0x274f28._0x41bdf4)] != null) {
|
|
2025
|
+
_0x477ac4[_0x1e95db(0x265)](_0x363500[_0x1e95db(0x1cf)]);
|
|
1991
2026
|
continue;
|
|
1992
2027
|
}
|
|
1993
2028
|
}
|
|
1994
|
-
if (
|
|
1995
|
-
const
|
|
1996
|
-
|
|
2029
|
+
if (_0x5565e4[_0x1e95db(0x100)]) {
|
|
2030
|
+
const _0x58d39a = _0xbeec26[_0x1e95db(_0x274f28._0x49c094)][_0x1e95db(0x251)](_0x2e9b86 => _0x2e9b86[_0x1e95db(0x207)] === _0x5565e4[_0x1e95db(0x100)]);
|
|
2031
|
+
_0x58d39a?.[_0x1e95db(_0x274f28._0x41bdf4)] != null && _0x477ac4[_0x1e95db(_0x274f28._0x2f433b)](_0x58d39a[_0x1e95db(_0x274f28._0x3229a5)]);
|
|
1997
2032
|
}
|
|
1998
2033
|
}
|
|
1999
2034
|
}
|
|
2000
2035
|
} catch {
|
|
2001
2036
|
}
|
|
2002
|
-
return formatTaskList(
|
|
2037
|
+
return formatTaskList(_0xbeec26[_0x1e95db(_0x274f28._0x2d3cdf)], _0x477ac4);
|
|
2003
2038
|
},
|
|
2004
|
-
async 'create_tasks'(
|
|
2005
|
-
const
|
|
2006
|
-
|
|
2007
|
-
const
|
|
2008
|
-
return formatCreatedTasks(
|
|
2039
|
+
async 'create_tasks'(_0x398023) {
|
|
2040
|
+
const _0x315307 = _0x31765a;
|
|
2041
|
+
_0x23f8b9(_0x315307(_0x1921d4._0x1813d6), _0x398023[_0x315307(_0x1921d4._0x5d5714)]);
|
|
2042
|
+
const _0x38420c = await _0x17d0f2[_0x315307(0x249)]['createTasks'](_0x398023);
|
|
2043
|
+
return formatCreatedTasks(_0x38420c[_0x315307(_0x1921d4._0x34ca26)]);
|
|
2009
2044
|
},
|
|
2010
|
-
async 'claim_tasks'(
|
|
2011
|
-
const
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
},
|
|
2019
|
-
if (
|
|
2020
|
-
|
|
2021
|
-
if (
|
|
2022
|
-
throw new Error(
|
|
2023
|
-
if (!
|
|
2024
|
-
throw new Error(
|
|
2045
|
+
async 'claim_tasks'(_0x3695fe) {
|
|
2046
|
+
const _0x440850 = {
|
|
2047
|
+
_0x2798d5: 0x233,
|
|
2048
|
+
_0x3db58c: 0x1fb,
|
|
2049
|
+
_0x405ac9: 0x165,
|
|
2050
|
+
_0x37ca79: 0x1cf,
|
|
2051
|
+
_0x4f0470: 0x21b,
|
|
2052
|
+
_0x1a2f0c: 0x1da
|
|
2053
|
+
}, _0x27c5cd = _0x31765a;
|
|
2054
|
+
if (_0x17d0f2[_0x27c5cd(0x23b)]) {
|
|
2055
|
+
_0x23f8b9('claim_tasks', _0x3695fe[_0x27c5cd(_0x5d2e22._0x522d62)]);
|
|
2056
|
+
if (_0x3695fe[_0x27c5cd(0x175)] && _0x3695fe[_0x27c5cd(_0x5d2e22._0x4c8eac)][_0x27c5cd(0x225)] > 0x0)
|
|
2057
|
+
throw new Error(_0x27c5cd(0x1a1));
|
|
2058
|
+
if (!_0x3695fe[_0x27c5cd(_0x5d2e22._0xdf640b)] || _0x3695fe[_0x27c5cd(_0x5d2e22._0xdf640b)][_0x27c5cd(_0x5d2e22._0x23a315)] === 0x0)
|
|
2059
|
+
throw new Error('claim_tasks:\x20worker\x20can\x20only\x20claim\x20subtasks\x20inside\x20its\x20own\x20task\x20thread\x20—\x20provide\x20subtask_numbers.');
|
|
2025
2060
|
}
|
|
2026
|
-
const
|
|
2027
|
-
const
|
|
2028
|
-
if (!
|
|
2029
|
-
return
|
|
2061
|
+
const _0x101142 = await _0x17d0f2['client']['claimTasks'](_0x3695fe), _0x5c15d4 = await Promise[_0x27c5cd(0x1c2)](_0x101142[_0x27c5cd(_0x5d2e22._0x53400c)]['map'](async _0x377319 => {
|
|
2062
|
+
const _0x2ac0bb = _0x27c5cd;
|
|
2063
|
+
if (!_0x377319[_0x2ac0bb(_0x440850._0x2798d5)] || !_0x377319['messageId'])
|
|
2064
|
+
return _0x377319;
|
|
2030
2065
|
try {
|
|
2031
|
-
const
|
|
2032
|
-
'channel':
|
|
2033
|
-
'executionMode':
|
|
2034
|
-
'messageId':
|
|
2035
|
-
'taskId':
|
|
2036
|
-
'taskNumber':
|
|
2037
|
-
'threadNumber':
|
|
2066
|
+
const _0x116fa7 = await _0xc4faea({
|
|
2067
|
+
'channel': _0x3695fe['channel'],
|
|
2068
|
+
'executionMode': _0x377319[_0x2ac0bb(_0x440850._0x3db58c)],
|
|
2069
|
+
'messageId': _0x377319[_0x2ac0bb(_0x440850._0x405ac9)],
|
|
2070
|
+
'taskId': _0x377319[_0x2ac0bb(0x207)],
|
|
2071
|
+
'taskNumber': _0x377319[_0x2ac0bb(_0x440850._0x37ca79)],
|
|
2072
|
+
'threadNumber': _0x377319[_0x2ac0bb(0x111)]
|
|
2038
2073
|
});
|
|
2039
|
-
return
|
|
2040
|
-
...
|
|
2041
|
-
...
|
|
2042
|
-
} :
|
|
2043
|
-
} catch (
|
|
2074
|
+
return _0x116fa7 ? {
|
|
2075
|
+
..._0x377319,
|
|
2076
|
+
..._0x116fa7
|
|
2077
|
+
} : _0x377319;
|
|
2078
|
+
} catch (_0x2e0633) {
|
|
2044
2079
|
return {
|
|
2045
|
-
...
|
|
2046
|
-
'workerHandoffError':
|
|
2080
|
+
..._0x377319,
|
|
2081
|
+
'workerHandoffError': _0x2e0633 instanceof Error ? _0x2e0633[_0x2ac0bb(_0x440850._0x4f0470)] : _0x2ac0bb(_0x440850._0x1a2f0c)
|
|
2047
2082
|
};
|
|
2048
2083
|
}
|
|
2049
2084
|
}));
|
|
2050
|
-
return formatClaimTaskResults(
|
|
2085
|
+
return formatClaimTaskResults(_0x5c15d4);
|
|
2051
2086
|
},
|
|
2052
|
-
async 'unclaim_task'(
|
|
2053
|
-
const
|
|
2054
|
-
if (
|
|
2055
|
-
|
|
2056
|
-
if (
|
|
2057
|
-
throw new Error(
|
|
2087
|
+
async 'unclaim_task'(_0x4674b1) {
|
|
2088
|
+
const _0x499f05 = _0x31765a;
|
|
2089
|
+
if (_0x17d0f2[_0x499f05(0x23b)]) {
|
|
2090
|
+
_0x23f8b9(_0x499f05(_0x5d2c3f._0x32faf0), _0x4674b1[_0x499f05(0x1a0)]);
|
|
2091
|
+
if (_0x4674b1[_0x499f05(0x1ff)] == null)
|
|
2092
|
+
throw new Error(_0x499f05(_0x5d2c3f._0x11cd24));
|
|
2058
2093
|
}
|
|
2059
|
-
const
|
|
2060
|
-
return formatUnclaimTaskResult(
|
|
2094
|
+
const _0x221e68 = await _0x17d0f2['client'][_0x499f05(0x139)](_0x4674b1);
|
|
2095
|
+
return formatUnclaimTaskResult(_0x221e68);
|
|
2061
2096
|
},
|
|
2062
|
-
async 'update_task_status'(
|
|
2063
|
-
const
|
|
2064
|
-
|
|
2065
|
-
const
|
|
2066
|
-
return formatUpdateTaskStatusResult(
|
|
2097
|
+
async 'update_task_status'(_0x19eefc) {
|
|
2098
|
+
const _0x5f1c3c = _0x31765a;
|
|
2099
|
+
_0x23f8b9(_0x5f1c3c(0x18e), _0x19eefc[_0x5f1c3c(_0x84e2b1._0x5b1d78)]);
|
|
2100
|
+
const _0x3f61cc = await _0x17d0f2[_0x5f1c3c(_0x84e2b1._0x15ac37)]['updateTaskStatus'](_0x19eefc);
|
|
2101
|
+
return formatUpdateTaskStatusResult(_0x3f61cc);
|
|
2067
2102
|
},
|
|
2068
|
-
async 'upload_file'(
|
|
2069
|
-
const
|
|
2070
|
-
sizeBytes:
|
|
2071
|
-
...
|
|
2072
|
-
} =
|
|
2073
|
-
'channel':
|
|
2074
|
-
...
|
|
2103
|
+
async 'upload_file'(_0x51b8da) {
|
|
2104
|
+
const _0x5fd55 = _0x31765a, _0x22ed36 = await _0x17d0f2[_0x5fd55(0x154)](_0x51b8da[_0x5fd55(_0x1901f5._0x199b8f)]), {
|
|
2105
|
+
sizeBytes: _0x15861e,
|
|
2106
|
+
..._0x4e6cf6
|
|
2107
|
+
} = _0x22ed36, _0x55f041 = await _0x17d0f2[_0x5fd55(0x249)][_0x5fd55(0x13e)]({
|
|
2108
|
+
'channel': _0x51b8da['channel'],
|
|
2109
|
+
..._0x4e6cf6
|
|
2075
2110
|
});
|
|
2076
|
-
return formatUploadResult(
|
|
2111
|
+
return formatUploadResult(_0x55f041);
|
|
2077
2112
|
},
|
|
2078
|
-
async 'view_file'(
|
|
2079
|
-
const
|
|
2080
|
-
if (
|
|
2081
|
-
return formatViewFileResult(
|
|
2082
|
-
const
|
|
2083
|
-
'attachmentId':
|
|
2084
|
-
'contentType':
|
|
2085
|
-
'data':
|
|
2086
|
-
'originalFilename':
|
|
2113
|
+
async 'view_file'(_0x5883aa) {
|
|
2114
|
+
const _0x245719 = _0x31765a, _0x4b4198 = await _0x17d0f2['attachmentCache'][_0x245719(0x155)](_0x5883aa[_0x245719(0x24d)]);
|
|
2115
|
+
if (_0x4b4198)
|
|
2116
|
+
return formatViewFileResult(_0x4b4198, !![]);
|
|
2117
|
+
const _0x420088 = await _0x17d0f2[_0x245719(0x249)]['downloadAttachment'](_0x5883aa[_0x245719(_0x2bd1ac._0x190acd)]), _0x293eb7 = await _0x17d0f2[_0x245719(_0x2bd1ac._0x32e693)][_0x245719(0x143)]({
|
|
2118
|
+
'attachmentId': _0x5883aa[_0x245719(0x24d)],
|
|
2119
|
+
'contentType': _0x420088[_0x245719(0xfd)],
|
|
2120
|
+
'data': _0x420088[_0x245719(_0x2bd1ac._0x2b6c55)],
|
|
2121
|
+
'originalFilename': _0x420088[_0x245719(_0x2bd1ac._0x6ebc00)]
|
|
2087
2122
|
});
|
|
2088
|
-
return formatViewFileResult(
|
|
2123
|
+
return formatViewFileResult(_0x293eb7, ![]);
|
|
2089
2124
|
},
|
|
2090
|
-
async 'get_worker_status'(
|
|
2091
|
-
const
|
|
2092
|
-
if (!
|
|
2093
|
-
return
|
|
2094
|
-
const
|
|
2095
|
-
if (!
|
|
2096
|
-
return 'Worker\x20\x22' +
|
|
2097
|
-
return
|
|
2125
|
+
async 'get_worker_status'(_0x112993) {
|
|
2126
|
+
const _0x27dce4 = _0x31765a;
|
|
2127
|
+
if (!_0x17d0f2['daemonLocalUrl'])
|
|
2128
|
+
return _0x27dce4(_0x3690d1._0x1e48af);
|
|
2129
|
+
const _0x574691 = await fetch(_0x17d0f2[_0x27dce4(_0x3690d1._0x4563c8)] + _0x27dce4(_0x3690d1._0x179cf8) + encodeURIComponent(_0x112993[_0x27dce4(_0x3690d1._0x4b9cc2)])), _0x1eec7c = await _0x574691[_0x27dce4(_0x3690d1._0x2e6b65)]();
|
|
2130
|
+
if (!_0x1eec7c['ok'])
|
|
2131
|
+
return 'Worker\x20\x22' + _0x112993[_0x27dce4(0x213)] + '\x22\x20not\x20found';
|
|
2132
|
+
return _0x27dce4(0x1e3) + _0x112993['work_key'] + _0x27dce4(_0x3690d1._0x4daafa) + _0x1eec7c['status'];
|
|
2098
2133
|
},
|
|
2099
|
-
async 'park_worker'(
|
|
2100
|
-
const
|
|
2101
|
-
if (!
|
|
2102
|
-
return
|
|
2103
|
-
const
|
|
2104
|
-
'method':
|
|
2105
|
-
'headers': { 'Content-Type':
|
|
2106
|
-
'body': JSON[
|
|
2107
|
-
}),
|
|
2108
|
-
if (!
|
|
2109
|
-
throw new Error(
|
|
2110
|
-
return
|
|
2134
|
+
async 'park_worker'(_0x49130c) {
|
|
2135
|
+
const _0x20a91d = _0x31765a;
|
|
2136
|
+
if (!_0x17d0f2[_0x20a91d(_0x38cecb._0x134d9d)])
|
|
2137
|
+
return _0x20a91d(0x20f);
|
|
2138
|
+
const _0x24f158 = await fetch(_0x17d0f2[_0x20a91d(0x163)] + _0x20a91d(0x116), {
|
|
2139
|
+
'method': _0x20a91d(_0x38cecb._0x136f52),
|
|
2140
|
+
'headers': { 'Content-Type': _0x20a91d(0x23f) },
|
|
2141
|
+
'body': JSON[_0x20a91d(_0x38cecb._0x4b3c0f)]({ 'work_key': _0x49130c['work_key'] })
|
|
2142
|
+
}), _0x542924 = await _0x24f158[_0x20a91d(_0x38cecb._0x136fb8)]();
|
|
2143
|
+
if (!_0x542924['ok'])
|
|
2144
|
+
throw new Error(_0x542924[_0x20a91d(_0x38cecb._0x229385)] ?? _0x20a91d(0x1c3));
|
|
2145
|
+
return 'Worker\x20\x22' + _0x49130c[_0x20a91d(_0x38cecb._0x221f9c)] + _0x20a91d(_0x38cecb._0x33ea2c);
|
|
2111
2146
|
},
|
|
2112
|
-
async 'mark_waiting_input'(
|
|
2113
|
-
const
|
|
2114
|
-
if (!
|
|
2115
|
-
return
|
|
2116
|
-
const
|
|
2117
|
-
'method':
|
|
2147
|
+
async 'mark_waiting_input'(_0x4fbdeb) {
|
|
2148
|
+
const _0x5413be = _0x31765a;
|
|
2149
|
+
if (!_0x17d0f2[_0x5413be(0x163)] || !_0x17d0f2[_0x5413be(_0x4e0493._0x5115d6)])
|
|
2150
|
+
return _0x5413be(_0x4e0493._0x3632e2);
|
|
2151
|
+
const _0x5d36b5 = await fetch(_0x17d0f2[_0x5413be(0x163)] + _0x5413be(0x22c), {
|
|
2152
|
+
'method': _0x5413be(0x167),
|
|
2118
2153
|
'headers': { 'Content-Type': 'application/json' },
|
|
2119
2154
|
'body': JSON['stringify']({
|
|
2120
|
-
'work_key':
|
|
2121
|
-
'agent_id':
|
|
2155
|
+
'work_key': _0x4fbdeb['work_key'],
|
|
2156
|
+
'agent_id': _0x17d0f2['agentId']
|
|
2122
2157
|
})
|
|
2123
|
-
}),
|
|
2124
|
-
if (!
|
|
2125
|
-
throw new Error(
|
|
2126
|
-
return
|
|
2158
|
+
}), _0x4d2e58 = await _0x5d36b5[_0x5413be(_0x4e0493._0x3f2f9d)]();
|
|
2159
|
+
if (!_0x4d2e58['ok'])
|
|
2160
|
+
throw new Error(_0x4d2e58[_0x5413be(0xed)] ?? _0x5413be(0x1d0));
|
|
2161
|
+
return _0x5413be(_0x4e0493._0x390ded) + _0x4fbdeb['work_key'] + '\x22\x20marked\x20as\x20waiting_input.\x20TTL\x20timer\x20paused\x20until\x20next\x20message\x20arrives.';
|
|
2127
2162
|
},
|
|
2128
|
-
async 'escalate_to_main'(
|
|
2129
|
-
const
|
|
2130
|
-
if (!
|
|
2131
|
-
return
|
|
2132
|
-
const
|
|
2133
|
-
'method':
|
|
2163
|
+
async 'escalate_to_main'(_0x381f8f) {
|
|
2164
|
+
const _0x4c42c5 = _0x31765a;
|
|
2165
|
+
if (!_0x17d0f2[_0x4c42c5(0x163)])
|
|
2166
|
+
return _0x4c42c5(0x20f);
|
|
2167
|
+
const _0x406f69 = await fetch(_0x17d0f2[_0x4c42c5(_0x440039._0x3c166a)] + _0x4c42c5(0x1bb), {
|
|
2168
|
+
'method': _0x4c42c5(_0x440039._0xac99f9),
|
|
2134
2169
|
'headers': { 'Content-Type': 'application/json' },
|
|
2135
|
-
'body': JSON[
|
|
2136
|
-
'work_key':
|
|
2137
|
-
'reason':
|
|
2170
|
+
'body': JSON[_0x4c42c5(_0x440039._0x58c1c2)]({
|
|
2171
|
+
'work_key': _0x381f8f['work_key'],
|
|
2172
|
+
'reason': _0x381f8f[_0x4c42c5(0x214)]
|
|
2138
2173
|
})
|
|
2139
|
-
}),
|
|
2140
|
-
if (!
|
|
2141
|
-
throw new Error(
|
|
2142
|
-
return
|
|
2174
|
+
}), _0x24756a = await _0x406f69[_0x4c42c5(0x14e)]();
|
|
2175
|
+
if (!_0x24756a['ok'])
|
|
2176
|
+
throw new Error(_0x24756a[_0x4c42c5(_0x440039._0x39e15d)] ?? _0x4c42c5(0xe5));
|
|
2177
|
+
return _0x4c42c5(0x135) + _0x381f8f[_0x4c42c5(_0x440039._0x2a431f)];
|
|
2143
2178
|
}
|
|
2144
2179
|
};
|
|
2145
2180
|
}
|
|
2146
|
-
function textResult(
|
|
2181
|
+
function textResult(_0x53199c, _0x556ada = ![]) {
|
|
2182
|
+
const _0x33ad70 = { _0x3a9590: 0xeb }, _0x32ebe0 = _0x51636d;
|
|
2147
2183
|
return {
|
|
2148
2184
|
'content': [{
|
|
2149
|
-
'type':
|
|
2150
|
-
'text':
|
|
2185
|
+
'type': _0x32ebe0(_0x33ad70._0x3a9590),
|
|
2186
|
+
'text': _0x53199c
|
|
2151
2187
|
}],
|
|
2152
|
-
...
|
|
2188
|
+
..._0x556ada ? { 'isError': !![] } : {}
|
|
2153
2189
|
};
|
|
2154
2190
|
}
|
|
2155
|
-
async function registerChatBridgeTools(
|
|
2156
|
-
const
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2191
|
+
async function registerChatBridgeTools(_0x5ec6ad, _0x195266, _0x2c609d) {
|
|
2192
|
+
const _0x2ed3ca = {
|
|
2193
|
+
_0x377845: 0x105,
|
|
2194
|
+
_0x3d3244: 0x147,
|
|
2195
|
+
_0x502fb9: 0x240,
|
|
2196
|
+
_0x58280c: 0x147,
|
|
2197
|
+
_0x16ccf2: 0x1a9,
|
|
2198
|
+
_0x3f617d: 0x168,
|
|
2199
|
+
_0x513973: 0x255,
|
|
2200
|
+
_0x235660: 0x1a9,
|
|
2201
|
+
_0x144901: 0x1cd,
|
|
2202
|
+
_0x3bc586: 0x1b2,
|
|
2203
|
+
_0x343889: 0x245,
|
|
2204
|
+
_0x3d446f: 0xf7,
|
|
2205
|
+
_0x5251ad: 0x1b2,
|
|
2206
|
+
_0x1aea89: 0x25d,
|
|
2207
|
+
_0x2b4bc7: 0xe7,
|
|
2208
|
+
_0x24bd9e: 0x1b2,
|
|
2209
|
+
_0x4c82aa: 0xff,
|
|
2210
|
+
_0x56b5c9: 0x1b2,
|
|
2211
|
+
_0x294554: 0x122,
|
|
2212
|
+
_0x13a47d: 0x24f,
|
|
2213
|
+
_0x1d2b23: 0x1a9,
|
|
2214
|
+
_0x167bae: 0x240,
|
|
2215
|
+
_0x4e0796: 0x168,
|
|
2216
|
+
_0x594217: 0x170,
|
|
2217
|
+
_0x1647ce: 0x243,
|
|
2218
|
+
_0x12efb6: 0x228,
|
|
2219
|
+
_0x515c18: 0x1a9,
|
|
2220
|
+
_0x2b567a: 0x1a9,
|
|
2221
|
+
_0x11a097: 0x1f3,
|
|
2222
|
+
_0x2fea92: 0x147,
|
|
2223
|
+
_0x2f3586: 0x13a,
|
|
2224
|
+
_0x556d7b: 0x23d,
|
|
2225
|
+
_0x112086: 0x1a9,
|
|
2226
|
+
_0x39974b: 0x1a9,
|
|
2227
|
+
_0x532c23: 0x147,
|
|
2228
|
+
_0x30eab7: 0x1a9,
|
|
2229
|
+
_0x273d60: 0xe7,
|
|
2230
|
+
_0x506c11: 0x252,
|
|
2231
|
+
_0xb17d6a: 0x1b2,
|
|
2232
|
+
_0x12ed3c: 0x10f,
|
|
2233
|
+
_0x316a59: 0x23b,
|
|
2234
|
+
_0x3bfe2a: 0x272,
|
|
2235
|
+
_0x3c3fc0: 0x147,
|
|
2236
|
+
_0xd655c1: 0x11e
|
|
2237
|
+
}, _0xe68999 = {
|
|
2238
|
+
_0x401b81: 0x21b,
|
|
2239
|
+
_0x33d364: 0x1d0
|
|
2240
|
+
}, _0xe52ac0 = { _0x669be: 0x20e }, _0x23aebc = { _0x42325c: 0x1f6 }, _0x1e489a = { _0xe34054: 0x231 }, _0x4a7441 = { _0x3fc132: 0x1ab }, _0x50d469 = { _0x447b18: 0x1e4 }, _0x5d98b2 = {
|
|
2241
|
+
_0x2e9329: 0x18e,
|
|
2242
|
+
_0x11bea3: 0x12a
|
|
2243
|
+
}, _0x4c975e = {
|
|
2244
|
+
_0x54c260: 0x126,
|
|
2245
|
+
_0x12782f: 0x114
|
|
2246
|
+
}, _0xe662fa = { _0x1866f5: 0x21b }, _0x33a9ed = { _0x1e5276: 0x21b }, _0x2bf137 = { _0x3feb68: 0x245 }, _0x1562fe = { _0x6cf171: 0x23e }, _0x23692f = _0x51636d, {z: _0x1ddc83} = await import(_0x23692f(0x1d9));
|
|
2247
|
+
_0x5ec6ad[_0x23692f(0x1b2)](_0x23692f(_0x2ed3ca._0x377845), _0x23692f(0x158), {
|
|
2248
|
+
'target': _0x1ddc83[_0x23692f(_0x2ed3ca._0x3d3244)](),
|
|
2249
|
+
'content': _0x1ddc83[_0x23692f(_0x2ed3ca._0x3d3244)](),
|
|
2250
|
+
'attachment_ids': _0x1ddc83[_0x23692f(_0x2ed3ca._0x502fb9)](_0x1ddc83[_0x23692f(_0x2ed3ca._0x58280c)]())[_0x23692f(_0x2ed3ca._0x16ccf2)](),
|
|
2251
|
+
'visibility': _0x1ddc83[_0x23692f(_0x2ed3ca._0x3f617d)]([
|
|
2252
|
+
_0x23692f(_0x2ed3ca._0x513973),
|
|
2253
|
+
_0x23692f(0x202)
|
|
2254
|
+
])[_0x23692f(_0x2ed3ca._0x235660)]()[_0x23692f(0x25a)](_0x23692f(_0x2ed3ca._0x144901))
|
|
2255
|
+
}, async _0x58370a => {
|
|
2256
|
+
const _0x5941d6 = _0x23692f;
|
|
2210
2257
|
try {
|
|
2211
|
-
return textResult(await
|
|
2212
|
-
} catch (
|
|
2213
|
-
return textResult(
|
|
2258
|
+
return textResult(await _0x195266['send_message'](_0x58370a));
|
|
2259
|
+
} catch (_0x1e2e46) {
|
|
2260
|
+
return textResult(_0x1e2e46 instanceof Error ? _0x1e2e46[_0x5941d6(0x21b)] : _0x5941d6(_0x1562fe._0x6cf171), !![]);
|
|
2214
2261
|
}
|
|
2215
|
-
}),
|
|
2216
|
-
const
|
|
2262
|
+
}), _0x5ec6ad[_0x23692f(_0x2ed3ca._0x3bc586)](_0x23692f(_0x2ed3ca._0x343889), _0x23692f(_0x2ed3ca._0x3d446f), {}, async () => {
|
|
2263
|
+
const _0x235cbf = _0x23692f;
|
|
2217
2264
|
try {
|
|
2218
|
-
return textResult(await
|
|
2219
|
-
} catch (
|
|
2220
|
-
return textResult(
|
|
2265
|
+
return textResult(await _0x195266[_0x235cbf(_0x2bf137._0x3feb68)]());
|
|
2266
|
+
} catch (_0xab1c89) {
|
|
2267
|
+
return textResult(_0xab1c89 instanceof Error ? _0xab1c89[_0x235cbf(0x21b)] : _0x235cbf(0x18d), !![]);
|
|
2221
2268
|
}
|
|
2222
|
-
}),
|
|
2223
|
-
'channel':
|
|
2224
|
-
'limit':
|
|
2225
|
-
'before':
|
|
2226
|
-
'after':
|
|
2227
|
-
}, async
|
|
2228
|
-
const _0x28b077 = _0x501408;
|
|
2269
|
+
}), _0x5ec6ad[_0x23692f(_0x2ed3ca._0x5251ad)](_0x23692f(_0x2ed3ca._0x1aea89), _0x23692f(0x23c), {
|
|
2270
|
+
'channel': _0x1ddc83['string'](),
|
|
2271
|
+
'limit': _0x1ddc83[_0x23692f(_0x2ed3ca._0x2b4bc7)]()[_0x23692f(0x1a9)](),
|
|
2272
|
+
'before': _0x1ddc83[_0x23692f(_0x2ed3ca._0x2b4bc7)]()[_0x23692f(0x1a9)](),
|
|
2273
|
+
'after': _0x1ddc83[_0x23692f(_0x2ed3ca._0x2b4bc7)]()['optional']()
|
|
2274
|
+
}, async _0xf8bd63 => {
|
|
2229
2275
|
try {
|
|
2230
|
-
return textResult(await
|
|
2231
|
-
} catch (
|
|
2232
|
-
return textResult(
|
|
2276
|
+
return textResult(await _0x195266['read_history'](_0xf8bd63));
|
|
2277
|
+
} catch (_0x2b19de) {
|
|
2278
|
+
return textResult(_0x2b19de instanceof Error ? _0x2b19de['message'] : 'read_history\x20failed', !![]);
|
|
2233
2279
|
}
|
|
2234
|
-
}),
|
|
2235
|
-
const
|
|
2280
|
+
}), _0x5ec6ad[_0x23692f(_0x2ed3ca._0x24bd9e)](_0x23692f(_0x2ed3ca._0x4c82aa), _0x23692f(0x134), {}, async () => {
|
|
2281
|
+
const _0x2eea0a = _0x23692f;
|
|
2236
2282
|
try {
|
|
2237
|
-
return textResult(await
|
|
2238
|
-
} catch (
|
|
2239
|
-
return textResult(
|
|
2283
|
+
return textResult(await _0x195266[_0x2eea0a(0xff)]());
|
|
2284
|
+
} catch (_0xe76507) {
|
|
2285
|
+
return textResult(_0xe76507 instanceof Error ? _0xe76507[_0x2eea0a(0x21b)] : 'list_server\x20failed', !![]);
|
|
2240
2286
|
}
|
|
2241
|
-
}),
|
|
2242
|
-
'channel':
|
|
2243
|
-
'status':
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2287
|
+
}), _0x5ec6ad[_0x23692f(_0x2ed3ca._0x56b5c9)](_0x23692f(0x1ce), _0x23692f(0x215), {
|
|
2288
|
+
'channel': _0x1ddc83[_0x23692f(0x147)](),
|
|
2289
|
+
'status': _0x1ddc83[_0x23692f(_0x2ed3ca._0x3f617d)]([
|
|
2290
|
+
_0x23692f(_0x2ed3ca._0x294554),
|
|
2291
|
+
'in_progress',
|
|
2292
|
+
_0x23692f(0x1ae),
|
|
2293
|
+
_0x23692f(0xec)
|
|
2248
2294
|
])['optional']()
|
|
2249
|
-
}, async
|
|
2250
|
-
const
|
|
2295
|
+
}, async _0x1984e8 => {
|
|
2296
|
+
const _0x7d018a = _0x23692f;
|
|
2251
2297
|
try {
|
|
2252
|
-
return textResult(await
|
|
2253
|
-
} catch (
|
|
2254
|
-
return textResult(
|
|
2298
|
+
return textResult(await _0x195266[_0x7d018a(0x1ce)](_0x1984e8));
|
|
2299
|
+
} catch (_0x5f0575) {
|
|
2300
|
+
return textResult(_0x5f0575 instanceof Error ? _0x5f0575[_0x7d018a(_0x33a9ed._0x1e5276)] : _0x7d018a(0x1ad), !![]);
|
|
2255
2301
|
}
|
|
2256
|
-
}),
|
|
2257
|
-
'channel':
|
|
2258
|
-
'idempotency_key':
|
|
2259
|
-
'tasks':
|
|
2260
|
-
'title':
|
|
2261
|
-
'description':
|
|
2262
|
-
'priority':
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
])[
|
|
2302
|
+
}), _0x5ec6ad[_0x23692f(0x1b2)](_0x23692f(0xf9), _0x23692f(_0x2ed3ca._0x13a47d), {
|
|
2303
|
+
'channel': _0x1ddc83['string'](),
|
|
2304
|
+
'idempotency_key': _0x1ddc83[_0x23692f(_0x2ed3ca._0x3d3244)]()[_0x23692f(_0x2ed3ca._0x1d2b23)](),
|
|
2305
|
+
'tasks': _0x1ddc83[_0x23692f(_0x2ed3ca._0x167bae)](_0x1ddc83[_0x23692f(0x13a)]({
|
|
2306
|
+
'title': _0x1ddc83['string'](),
|
|
2307
|
+
'description': _0x1ddc83['string']()[_0x23692f(0x1a9)](),
|
|
2308
|
+
'priority': _0x1ddc83[_0x23692f(_0x2ed3ca._0x4e0796)]([
|
|
2309
|
+
_0x23692f(_0x2ed3ca._0x594217),
|
|
2310
|
+
_0x23692f(0x130),
|
|
2311
|
+
_0x23692f(0x11f),
|
|
2312
|
+
_0x23692f(_0x2ed3ca._0x1647ce)
|
|
2313
|
+
])[_0x23692f(0x1a9)]()
|
|
2268
2314
|
}))
|
|
2269
|
-
}, async
|
|
2270
|
-
const
|
|
2315
|
+
}, async _0xbfa49a => {
|
|
2316
|
+
const _0x342799 = _0x23692f;
|
|
2271
2317
|
try {
|
|
2272
|
-
return textResult(await
|
|
2273
|
-
} catch (
|
|
2274
|
-
return textResult(
|
|
2318
|
+
return textResult(await _0x195266[_0x342799(0xf9)](_0xbfa49a));
|
|
2319
|
+
} catch (_0x1c3497) {
|
|
2320
|
+
return textResult(_0x1c3497 instanceof Error ? _0x1c3497[_0x342799(_0xe662fa._0x1866f5)] : _0x342799(0xfe), !![]);
|
|
2275
2321
|
}
|
|
2276
|
-
}),
|
|
2277
|
-
'channel':
|
|
2278
|
-
'task_numbers':
|
|
2279
|
-
'subtask_numbers':
|
|
2280
|
-
'message_ids':
|
|
2281
|
-
'evidence':
|
|
2282
|
-
'create_thread':
|
|
2283
|
-
'create_task':
|
|
2284
|
-
}))[
|
|
2285
|
-
'idempotency_key':
|
|
2286
|
-
}, async
|
|
2287
|
-
const
|
|
2322
|
+
}), _0x5ec6ad[_0x23692f(0x1b2)](_0x23692f(0x126), _0x23692f(_0x2ed3ca._0x12efb6), {
|
|
2323
|
+
'channel': _0x1ddc83['string'](),
|
|
2324
|
+
'task_numbers': _0x1ddc83[_0x23692f(_0x2ed3ca._0x167bae)](_0x1ddc83['number']())[_0x23692f(_0x2ed3ca._0x515c18)](),
|
|
2325
|
+
'subtask_numbers': _0x1ddc83['array'](_0x1ddc83[_0x23692f(0xe7)]())['optional'](),
|
|
2326
|
+
'message_ids': _0x1ddc83[_0x23692f(0x240)](_0x1ddc83[_0x23692f(_0x2ed3ca._0x58280c)]())[_0x23692f(_0x2ed3ca._0x2b567a)](),
|
|
2327
|
+
'evidence': _0x1ddc83[_0x23692f(_0x2ed3ca._0x11a097)](_0x1ddc83[_0x23692f(_0x2ed3ca._0x2fea92)](), _0x1ddc83[_0x23692f(_0x2ed3ca._0x2f3586)]({
|
|
2328
|
+
'create_thread': _0x1ddc83[_0x23692f(0x23d)]()[_0x23692f(0x1a9)](),
|
|
2329
|
+
'create_task': _0x1ddc83[_0x23692f(_0x2ed3ca._0x556d7b)]()[_0x23692f(_0x2ed3ca._0x112086)]()
|
|
2330
|
+
}))[_0x23692f(_0x2ed3ca._0x39974b)](),
|
|
2331
|
+
'idempotency_key': _0x1ddc83[_0x23692f(_0x2ed3ca._0x532c23)]()[_0x23692f(0x1a9)]()
|
|
2332
|
+
}, async _0x56932c => {
|
|
2333
|
+
const _0x10ae9a = _0x23692f;
|
|
2288
2334
|
try {
|
|
2289
|
-
return textResult(await
|
|
2290
|
-
} catch (
|
|
2291
|
-
return textResult(
|
|
2335
|
+
return textResult(await _0x195266[_0x10ae9a(_0x4c975e._0x54c260)](_0x56932c));
|
|
2336
|
+
} catch (_0x5c6705) {
|
|
2337
|
+
return textResult(_0x5c6705 instanceof Error ? _0x5c6705[_0x10ae9a(0x21b)] : _0x10ae9a(_0x4c975e._0x12782f), !![]);
|
|
2292
2338
|
}
|
|
2293
|
-
}),
|
|
2294
|
-
'channel':
|
|
2295
|
-
'task_number':
|
|
2296
|
-
'subtask_number':
|
|
2297
|
-
'idempotency_key':
|
|
2298
|
-
}, async
|
|
2299
|
-
const
|
|
2339
|
+
}), _0x5ec6ad[_0x23692f(_0x2ed3ca._0x3bc586)](_0x23692f(0x1c0), 'Release\x20a\x20claimed\x20task\x20by\x20channel\x20and\x20task\x20number.\x20For\x20subtasks,\x20also\x20pass\x20subtask_number.', {
|
|
2340
|
+
'channel': _0x1ddc83[_0x23692f(_0x2ed3ca._0x3d3244)](),
|
|
2341
|
+
'task_number': _0x1ddc83[_0x23692f(0xe7)](),
|
|
2342
|
+
'subtask_number': _0x1ddc83['number']()[_0x23692f(_0x2ed3ca._0x16ccf2)](),
|
|
2343
|
+
'idempotency_key': _0x1ddc83[_0x23692f(_0x2ed3ca._0x532c23)]()[_0x23692f(_0x2ed3ca._0x30eab7)]()
|
|
2344
|
+
}, async _0x11dca7 => {
|
|
2345
|
+
const _0x3969e7 = _0x23692f;
|
|
2300
2346
|
try {
|
|
2301
|
-
return textResult(await
|
|
2302
|
-
} catch (
|
|
2303
|
-
return textResult(
|
|
2347
|
+
return textResult(await _0x195266[_0x3969e7(0x1c0)](_0x11dca7));
|
|
2348
|
+
} catch (_0x35db2c) {
|
|
2349
|
+
return textResult(_0x35db2c instanceof Error ? _0x35db2c['message'] : _0x3969e7(0x133), !![]);
|
|
2304
2350
|
}
|
|
2305
|
-
}),
|
|
2306
|
-
'channel':
|
|
2307
|
-
'task_number':
|
|
2308
|
-
'subtask_number':
|
|
2309
|
-
'status':
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2351
|
+
}), _0x5ec6ad[_0x23692f(_0x2ed3ca._0x24bd9e)](_0x23692f(0x18e), _0x23692f(0x1b0), {
|
|
2352
|
+
'channel': _0x1ddc83[_0x23692f(0x147)](),
|
|
2353
|
+
'task_number': _0x1ddc83[_0x23692f(_0x2ed3ca._0x2b4bc7)](),
|
|
2354
|
+
'subtask_number': _0x1ddc83[_0x23692f(_0x2ed3ca._0x273d60)]()[_0x23692f(_0x2ed3ca._0x2b567a)](),
|
|
2355
|
+
'status': _0x1ddc83[_0x23692f(0x168)]([
|
|
2356
|
+
_0x23692f(0x122),
|
|
2357
|
+
_0x23692f(_0x2ed3ca._0x506c11),
|
|
2358
|
+
'in_review',
|
|
2359
|
+
'done'
|
|
2314
2360
|
]),
|
|
2315
|
-
'idempotency_key':
|
|
2316
|
-
}, async
|
|
2317
|
-
const
|
|
2361
|
+
'idempotency_key': _0x1ddc83[_0x23692f(0x147)]()['optional']()
|
|
2362
|
+
}, async _0x37a025 => {
|
|
2363
|
+
const _0xa9584e = _0x23692f;
|
|
2318
2364
|
try {
|
|
2319
|
-
return textResult(await
|
|
2320
|
-
} catch (
|
|
2321
|
-
return textResult(
|
|
2365
|
+
return textResult(await _0x195266[_0xa9584e(_0x5d98b2._0x2e9329)](_0x37a025));
|
|
2366
|
+
} catch (_0x4b14ed) {
|
|
2367
|
+
return textResult(_0x4b14ed instanceof Error ? _0x4b14ed[_0xa9584e(0x21b)] : _0xa9584e(_0x5d98b2._0x11bea3), !![]);
|
|
2322
2368
|
}
|
|
2323
|
-
}),
|
|
2324
|
-
'channel':
|
|
2325
|
-
'file_path':
|
|
2326
|
-
}, async
|
|
2327
|
-
const
|
|
2369
|
+
}), _0x5ec6ad[_0x23692f(_0x2ed3ca._0xb17d6a)](_0x23692f(0x1e4), _0x23692f(_0x2ed3ca._0x12ed3c), {
|
|
2370
|
+
'channel': _0x1ddc83[_0x23692f(0x147)](),
|
|
2371
|
+
'file_path': _0x1ddc83[_0x23692f(_0x2ed3ca._0x3d3244)]()
|
|
2372
|
+
}, async _0x56b35a => {
|
|
2373
|
+
const _0x23fc52 = _0x23692f;
|
|
2328
2374
|
try {
|
|
2329
|
-
return textResult(await
|
|
2330
|
-
} catch (
|
|
2331
|
-
return textResult(
|
|
2375
|
+
return textResult(await _0x195266[_0x23fc52(_0x50d469._0x447b18)](_0x56b35a));
|
|
2376
|
+
} catch (_0x5a3bc0) {
|
|
2377
|
+
return textResult(_0x5a3bc0 instanceof Error ? _0x5a3bc0['message'] : 'upload_file\x20failed', !![]);
|
|
2332
2378
|
}
|
|
2333
|
-
}),
|
|
2334
|
-
const
|
|
2379
|
+
}), _0x5ec6ad[_0x23692f(_0x2ed3ca._0x5251ad)](_0x23692f(0x1ab), _0x23692f(0x109), { 'attachment_id': _0x1ddc83[_0x23692f(0x147)]() }, async _0x5ec75a => {
|
|
2380
|
+
const _0x3d3cb6 = _0x23692f;
|
|
2335
2381
|
try {
|
|
2336
|
-
return textResult(await
|
|
2337
|
-
} catch (
|
|
2338
|
-
return textResult(
|
|
2382
|
+
return textResult(await _0x195266[_0x3d3cb6(_0x4a7441._0x3fc132)](_0x5ec75a));
|
|
2383
|
+
} catch (_0xe16152) {
|
|
2384
|
+
return textResult(_0xe16152 instanceof Error ? _0xe16152[_0x3d3cb6(0x21b)] : _0x3d3cb6(0x152), !![]);
|
|
2339
2385
|
}
|
|
2340
|
-
}),
|
|
2341
|
-
const
|
|
2386
|
+
}), _0x5ec6ad['tool'](_0x23692f(0x19f), _0x23692f(0x18c), { 'work_key': _0x1ddc83[_0x23692f(_0x2ed3ca._0x3d3244)]() }, async _0x495279 => {
|
|
2387
|
+
const _0x576492 = _0x23692f;
|
|
2342
2388
|
try {
|
|
2343
|
-
return textResult(await
|
|
2344
|
-
} catch (
|
|
2345
|
-
return textResult(
|
|
2389
|
+
return textResult(await _0x195266[_0x576492(0x19f)](_0x495279));
|
|
2390
|
+
} catch (_0x3aac84) {
|
|
2391
|
+
return textResult(_0x3aac84 instanceof Error ? _0x3aac84[_0x576492(0x21b)] : _0x576492(_0x1e489a._0xe34054), !![]);
|
|
2346
2392
|
}
|
|
2347
|
-
}),
|
|
2348
|
-
const
|
|
2393
|
+
}), _0x5ec6ad[_0x23692f(0x1b2)](_0x23692f(0x1f6), 'Worker-only.\x20Park\x20the\x20current\x20worker\x20lane\x20after\x20you\x20have\x20already\x20reported\x20results\x20in\x20this\x20thread.\x20This\x20does\x20not\x20end\x20the\x20session;\x20same-thread\x20follow-up\x20will\x20resume\x20this\x20lane.', { 'work_key': _0x1ddc83['string']() }, async _0x4b22bf => {
|
|
2394
|
+
const _0x23f242 = _0x23692f;
|
|
2349
2395
|
try {
|
|
2350
|
-
return textResult(await
|
|
2351
|
-
} catch (
|
|
2352
|
-
return textResult(
|
|
2396
|
+
return textResult(await _0x195266[_0x23f242(_0x23aebc._0x42325c)](_0x4b22bf));
|
|
2397
|
+
} catch (_0x476f9e) {
|
|
2398
|
+
return textResult(_0x476f9e instanceof Error ? _0x476f9e[_0x23f242(0x21b)] : _0x23f242(0x1c3), !![]);
|
|
2353
2399
|
}
|
|
2354
|
-
}), !
|
|
2355
|
-
'work_key':
|
|
2356
|
-
'reason':
|
|
2357
|
-
}, async
|
|
2358
|
-
const
|
|
2400
|
+
}), !_0x2c609d?.[_0x23692f(_0x2ed3ca._0x316a59)] && _0x5ec6ad[_0x23692f(_0x2ed3ca._0x5251ad)](_0x23692f(0x20e), _0x23692f(_0x2ed3ca._0x3bfe2a), {
|
|
2401
|
+
'work_key': _0x1ddc83[_0x23692f(_0x2ed3ca._0x3c3fc0)](),
|
|
2402
|
+
'reason': _0x1ddc83['string']()
|
|
2403
|
+
}, async _0x54b334 => {
|
|
2404
|
+
const _0x3df81f = _0x23692f;
|
|
2359
2405
|
try {
|
|
2360
|
-
return textResult(await
|
|
2361
|
-
} catch (
|
|
2362
|
-
return textResult(
|
|
2406
|
+
return textResult(await _0x195266[_0x3df81f(_0xe52ac0._0x669be)](_0x54b334));
|
|
2407
|
+
} catch (_0x17fff0) {
|
|
2408
|
+
return textResult(_0x17fff0 instanceof Error ? _0x17fff0[_0x3df81f(0x21b)] : _0x3df81f(0xe5), !![]);
|
|
2363
2409
|
}
|
|
2364
|
-
}),
|
|
2365
|
-
const
|
|
2410
|
+
}), _0x2c609d?.['workerMode'] && _0x5ec6ad['tool'](_0x23692f(0x1d6), _0x23692f(_0x2ed3ca._0xd655c1), { 'work_key': _0x1ddc83['string']() }, async _0x2d34ee => {
|
|
2411
|
+
const _0xcd4b50 = _0x23692f;
|
|
2366
2412
|
try {
|
|
2367
|
-
return textResult(await
|
|
2368
|
-
} catch (
|
|
2369
|
-
return textResult(
|
|
2413
|
+
return textResult(await _0x195266['mark_waiting_input'](_0x2d34ee));
|
|
2414
|
+
} catch (_0x3ffb08) {
|
|
2415
|
+
return textResult(_0x3ffb08 instanceof Error ? _0x3ffb08[_0xcd4b50(_0xe68999._0x401b81)] : _0xcd4b50(_0xe68999._0x33d364), !![]);
|
|
2370
2416
|
}
|
|
2371
2417
|
});
|
|
2372
2418
|
}
|
|
2373
|
-
async function createChatBridgeServer(
|
|
2374
|
-
const
|
|
2375
|
-
|
|
2376
|
-
_0x43f22c: 0x1f0,
|
|
2377
|
-
_0x101ff9: 0x25a
|
|
2378
|
-
}, _0xd2135b = _0x4cca3c, {McpServer: _0x29cffa} = await import(_0xd2135b(_0x2d15bd._0x13910c)), _0x451c5e = new _0x29cffa({
|
|
2379
|
-
'name': _0xd2135b(_0x2d15bd._0x43f22c),
|
|
2419
|
+
async function createChatBridgeServer(_0x13a8c7) {
|
|
2420
|
+
const _0x2d6d43 = { _0x519f7c: 0x192 }, _0x43e86c = _0x51636d, {McpServer: _0x2b1c98} = await import(_0x43e86c(0x1b4)), _0x394356 = new _0x2b1c98({
|
|
2421
|
+
'name': _0x43e86c(_0x2d6d43._0x519f7c),
|
|
2380
2422
|
'version': '0.0.0'
|
|
2381
|
-
}),
|
|
2382
|
-
return await registerChatBridgeTools(
|
|
2383
|
-
'handlers':
|
|
2384
|
-
'server':
|
|
2423
|
+
}), _0x1482a0 = createChatBridgeHandlers(_0x13a8c7);
|
|
2424
|
+
return await registerChatBridgeTools(_0x394356, _0x1482a0, { 'workerMode': _0x13a8c7['workerMode'] }), {
|
|
2425
|
+
'handlers': _0x1482a0,
|
|
2426
|
+
'server': _0x394356
|
|
2385
2427
|
};
|
|
2386
2428
|
}
|
|
2387
|
-
function readFlag(
|
|
2388
|
-
const
|
|
2389
|
-
if (
|
|
2429
|
+
function readFlag(_0x18d88e, _0x38e115) {
|
|
2430
|
+
const _0x39757c = _0x51636d, _0x439f1d = _0x18d88e[_0x39757c(0x191)](_0x38e115);
|
|
2431
|
+
if (_0x439f1d === -0x1)
|
|
2390
2432
|
return void 0x0;
|
|
2391
|
-
return
|
|
2433
|
+
return _0x18d88e[_0x439f1d + 0x1];
|
|
2392
2434
|
}
|
|
2393
|
-
function parseChatBridgeArgs(
|
|
2394
|
-
const
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
if (!
|
|
2402
|
-
throw new Error(
|
|
2403
|
-
if (!
|
|
2404
|
-
throw new Error(
|
|
2405
|
-
if (_0x400c9c !== void 0x0 && (_0x5587b8 === void 0x0 || !Number[_0x354209(0x2ec)](_0x5587b8) || _0x5587b8 < 0x0))
|
|
2406
|
-
throw new Error(_0x354209(0x244));
|
|
2435
|
+
function parseChatBridgeArgs(_0x2a6cda) {
|
|
2436
|
+
const _0x2f3136 = {
|
|
2437
|
+
_0x39845a: 0x1a8,
|
|
2438
|
+
_0x27d99e: 0x13b,
|
|
2439
|
+
_0x45ec86: 0x160
|
|
2440
|
+
}, _0x3243c4 = _0x51636d, _0x5802b8 = readFlag(_0x2a6cda, '--agent-id'), _0x3b73d2 = readFlag(_0x2a6cda, '--attachment-cache-dir'), _0x3bd29d = readFlag(_0x2a6cda, _0x3243c4(0x18b)), _0x2abf0f = readFlag(_0x2a6cda, '--initial-last-seen-seq'), _0x42ac50 = readFlag(_0x2a6cda, '--server-url') ?? _0x3243c4(0x1c6), _0x52a03a = readFlag(_0x2a6cda, _0x3243c4(0x1f7)), _0x1626e4 = readFlag(_0x2a6cda, _0x3243c4(0x1fd)), _0x499597 = readFlag(_0x2a6cda, '--worker-mode-enabled'), _0x17b460 = readFlag(_0x2a6cda, _0x3243c4(0x15f)), _0x46a050 = readFlag(_0x2a6cda, _0x3243c4(_0x2f3136._0x39845a)), _0x48368e = _0x2a6cda['includes'](_0x3243c4(0x21a)), _0x134a03 = _0x2abf0f === void 0x0 ? void 0x0 : Number[_0x3243c4(0x1ea)](_0x2abf0f, 0xa);
|
|
2441
|
+
if (!_0x5802b8)
|
|
2442
|
+
throw new Error(_0x3243c4(0x1d3));
|
|
2443
|
+
if (!_0x3bd29d)
|
|
2444
|
+
throw new Error(_0x3243c4(_0x2f3136._0x27d99e));
|
|
2445
|
+
if (_0x2abf0f !== void 0x0 && (_0x134a03 === void 0x0 || !Number[_0x3243c4(_0x2f3136._0x45ec86)](_0x134a03) || _0x134a03 < 0x0))
|
|
2446
|
+
throw new Error(_0x3243c4(0x269));
|
|
2407
2447
|
return {
|
|
2408
|
-
'agentId':
|
|
2409
|
-
'attachmentCacheDir':
|
|
2410
|
-
'daemonApiKey':
|
|
2411
|
-
'daemonLocalUrl':
|
|
2412
|
-
'initialLastSeenSeq':
|
|
2413
|
-
'sessionId':
|
|
2414
|
-
'serverUrl':
|
|
2415
|
-
'workerModeEnabled':
|
|
2416
|
-
'workerSessionId':
|
|
2417
|
-
'workerThreadTarget':
|
|
2418
|
-
'workerMode':
|
|
2448
|
+
'agentId': _0x5802b8,
|
|
2449
|
+
'attachmentCacheDir': _0x3b73d2,
|
|
2450
|
+
'daemonApiKey': _0x3bd29d,
|
|
2451
|
+
'daemonLocalUrl': _0x52a03a,
|
|
2452
|
+
'initialLastSeenSeq': _0x134a03,
|
|
2453
|
+
'sessionId': _0x1626e4,
|
|
2454
|
+
'serverUrl': _0x42ac50,
|
|
2455
|
+
'workerModeEnabled': _0x499597 === void 0x0 ? void 0x0 : _0x499597 !== _0x3243c4(0x19c),
|
|
2456
|
+
'workerSessionId': _0x17b460,
|
|
2457
|
+
'workerThreadTarget': _0x46a050,
|
|
2458
|
+
'workerMode': _0x48368e
|
|
2419
2459
|
};
|
|
2420
2460
|
}
|
|
2421
|
-
async function runChatBridgeCli(
|
|
2422
|
-
const
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
'
|
|
2428
|
-
'
|
|
2429
|
-
'
|
|
2461
|
+
async function runChatBridgeCli(_0x7ce05e) {
|
|
2462
|
+
const _0x3579df = {
|
|
2463
|
+
_0x554174: 0x18f,
|
|
2464
|
+
_0x594c7d: 0x263,
|
|
2465
|
+
_0xf86c0c: 0x186
|
|
2466
|
+
}, _0x4c9a97 = _0x51636d, _0x240fc2 = parseChatBridgeArgs(_0x7ce05e), {StdioServerTransport: _0x2ab455} = await import(_0x4c9a97(_0x3579df._0x554174)), _0x1117e3 = createInternalAgentClient(_0x240fc2), _0x352d7c = createAttachmentCache({ 'cacheDir': _0x240fc2[_0x4c9a97(0x14b)] }), _0x511c2d = await createChatBridgeServer({
|
|
2467
|
+
'agentId': _0x240fc2[_0x4c9a97(0x244)],
|
|
2468
|
+
'attachmentCache': _0x352d7c,
|
|
2469
|
+
'client': _0x1117e3,
|
|
2470
|
+
'daemonLocalUrl': _0x240fc2[_0x4c9a97(0x163)],
|
|
2430
2471
|
'uploadPreparer': prepareUploadFile,
|
|
2431
|
-
'workerModeEnabled':
|
|
2432
|
-
'workerMode':
|
|
2433
|
-
'workerThreadTarget':
|
|
2472
|
+
'workerModeEnabled': _0x240fc2['workerModeEnabled'],
|
|
2473
|
+
'workerMode': _0x240fc2['workerMode'],
|
|
2474
|
+
'workerThreadTarget': _0x240fc2[_0x4c9a97(_0x3579df._0x594c7d)]
|
|
2434
2475
|
});
|
|
2435
|
-
await
|
|
2476
|
+
await _0x511c2d[_0x4c9a97(0x204)][_0x4c9a97(_0x3579df._0xf86c0c)](new _0x2ab455());
|
|
2436
2477
|
}
|
|
2437
|
-
var executedAsEntry = process[
|
|
2438
|
-
executedAsEntry && await runChatBridgeCli(process[
|
|
2478
|
+
var executedAsEntry = process[_0x51636d(0x1f1)][0x1] ? import.meta.url === pathToFileURL(process[_0x51636d(0x1f1)][0x1])['href'] : ![];
|
|
2479
|
+
executedAsEntry && await runChatBridgeCli(process[_0x51636d(0x1f1)]['slice'](0x2));
|
|
2439
2480
|
export {
|
|
2440
2481
|
createChatBridgeHandlers,
|
|
2441
2482
|
createChatBridgeServer,
|