@dscord/daemon 0.1.74 → 0.1.76
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 +2262 -2262
- package/dist/index.js +10124 -9989
- package/package.json +1 -1
package/dist/chat-bridge.js
CHANGED
|
@@ -1,2456 +1,2456 @@
|
|
|
1
|
-
const
|
|
2
|
-
(function (
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
},
|
|
1
|
+
const _0x30157b = _0x5bbb;
|
|
2
|
+
(function (_0x303fa1, _0x7e0a73) {
|
|
3
|
+
const _0x559600 = {
|
|
4
|
+
_0x1283c5: 0x21b,
|
|
5
|
+
_0x3753dc: 0x1be,
|
|
6
|
+
_0x4baf99: 0x18f,
|
|
7
|
+
_0x4aa7a0: 0x14c,
|
|
8
|
+
_0x5d615e: 0xdb,
|
|
9
|
+
_0x321e0e: 0x230
|
|
10
|
+
}, _0x26db1a = _0x5bbb, _0x5cdd5b = _0x303fa1();
|
|
11
11
|
while (!![]) {
|
|
12
12
|
try {
|
|
13
|
-
const
|
|
14
|
-
if (
|
|
13
|
+
const _0x27948c = -parseInt(_0x26db1a(0x18e)) / 0x1 * (-parseInt(_0x26db1a(0x23d)) / 0x2) + parseInt(_0x26db1a(_0x559600._0x1283c5)) / 0x3 * (parseInt(_0x26db1a(_0x559600._0x3753dc)) / 0x4) + -parseInt(_0x26db1a(0x234)) / 0x5 + parseInt(_0x26db1a(_0x559600._0x4baf99)) / 0x6 + parseInt(_0x26db1a(0x243)) / 0x7 * (parseInt(_0x26db1a(_0x559600._0x4aa7a0)) / 0x8) + -parseInt(_0x26db1a(_0x559600._0x5d615e)) / 0x9 * (-parseInt(_0x26db1a(_0x559600._0x321e0e)) / 0xa) + -parseInt(_0x26db1a(0x1aa)) / 0xb;
|
|
14
|
+
if (_0x27948c === _0x7e0a73)
|
|
15
15
|
break;
|
|
16
16
|
else
|
|
17
|
-
|
|
18
|
-
} catch (
|
|
19
|
-
|
|
17
|
+
_0x5cdd5b['push'](_0x5cdd5b['shift']());
|
|
18
|
+
} catch (_0x2b39a0) {
|
|
19
|
+
_0x5cdd5b['push'](_0x5cdd5b['shift']());
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
}(
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
}(_0x2083, 0xb6201));
|
|
23
|
+
import { pathToFileURL } from 'node:url';
|
|
24
|
+
import {
|
|
25
|
+
mkdir,
|
|
26
|
+
readFile,
|
|
27
|
+
readdir,
|
|
28
|
+
stat,
|
|
29
|
+
writeFile
|
|
30
|
+
} from 'node:fs/promises';
|
|
31
|
+
import { homedir } from 'node:os';
|
|
32
|
+
import _0x34ca8e from 'node:path';
|
|
33
|
+
var DEFAULT_MAX_FILE_SIZE = 0x64 * 0x400 * 0x400, MIME_BY_EXTENSION = {
|
|
34
|
+
'.csv': 'text/csv',
|
|
35
|
+
'.gif': _0x30157b(0xfe),
|
|
36
|
+
'.jpeg': 'image/jpeg',
|
|
37
|
+
'.jpg': 'image/jpeg',
|
|
38
|
+
'.json': _0x30157b(0xe9),
|
|
39
|
+
'.md': _0x30157b(0x183),
|
|
40
|
+
'.pdf': _0x30157b(0x185),
|
|
41
|
+
'.png': 'image/png',
|
|
42
|
+
'.svg': 'image/svg+xml',
|
|
43
|
+
'.txt': _0x30157b(0x157),
|
|
44
|
+
'.webp': _0x30157b(0x1ef),
|
|
45
|
+
'.xml': _0x30157b(0x174),
|
|
46
|
+
'.zip': _0x30157b(0x17d)
|
|
47
|
+
};
|
|
48
|
+
function guessContentType(_0x4475e8) {
|
|
49
|
+
const _0x33334a = {
|
|
50
|
+
_0x56a340: 0x24c,
|
|
51
|
+
_0x31e888: 0xf2
|
|
52
|
+
}, _0x4016b8 = _0x30157b;
|
|
53
|
+
return MIME_BY_EXTENSION[_0x34ca8e[_0x4016b8(0x1f5)](_0x4475e8)[_0x4016b8(_0x33334a._0x56a340)]()] ?? _0x4016b8(_0x33334a._0x31e888);
|
|
54
|
+
}
|
|
55
|
+
function safeFilename(_0x4b54d9) {
|
|
56
|
+
const _0x651f4f = _0x30157b;
|
|
57
|
+
return _0x4b54d9[_0x651f4f(0x1d2)](/[\\/]/g, '-');
|
|
58
|
+
}
|
|
59
|
+
function extensionFor(_0x178312) {
|
|
60
|
+
const _0x142f5a = _0x30157b, _0x1f3bf8 = Object['entries'](MIME_BY_EXTENSION)['find'](([, _0x2803a4]) => _0x2803a4 === _0x178312);
|
|
61
|
+
return _0x1f3bf8?.[0x0] ?? _0x142f5a(0x146);
|
|
62
|
+
}
|
|
63
|
+
async function prepareUploadFile(_0x1f47c2, _0x3088f4 = {}) {
|
|
64
|
+
const _0x413289 = {
|
|
65
|
+
_0x4d8f39: 0xc3,
|
|
66
|
+
_0x6d5f43: 0x12e
|
|
67
|
+
}, _0x420977 = _0x30157b;
|
|
68
|
+
if (!_0x34ca8e[_0x420977(0x1e6)](_0x1f47c2))
|
|
69
|
+
throw new Error(_0x420977(0x165));
|
|
70
|
+
const _0x3c912a = await stat(_0x1f47c2)[_0x420977(_0x413289._0x4d8f39)](() => null);
|
|
71
|
+
if (!_0x3c912a || !_0x3c912a['isFile']())
|
|
72
|
+
throw new Error('File\x20not\x20found:\x20' + _0x1f47c2);
|
|
73
|
+
const _0x2002cf = _0x3088f4[_0x420977(0x11c)] ?? DEFAULT_MAX_FILE_SIZE;
|
|
74
|
+
if (_0x3c912a[_0x420977(0x169)] > _0x2002cf)
|
|
75
|
+
throw new Error('File\x20size\x20exceeds\x20limit:\x20' + _0x3c912a[_0x420977(0x169)]);
|
|
76
|
+
const _0x929566 = await readFile(_0x1f47c2), _0x30bb = _0x34ca8e[_0x420977(0x1e7)](_0x1f47c2);
|
|
77
|
+
return {
|
|
78
|
+
'contentBase64': _0x929566[_0x420977(0x1a7)](_0x420977(_0x413289._0x6d5f43)),
|
|
79
|
+
'contentType': guessContentType(_0x30bb),
|
|
80
|
+
'filename': _0x30bb,
|
|
81
|
+
'sizeBytes': _0x3c912a[_0x420977(0x169)]
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
function createAttachmentCache(_0x26dcb7 = {}) {
|
|
85
|
+
const _0x513870 = { _0x3f178c: 0x195 }, _0x38a0b6 = {
|
|
86
|
+
_0x39f95a: 0x1a4,
|
|
87
|
+
_0xbc7013: 0x189,
|
|
88
|
+
_0x4d6293: 0xfb
|
|
89
|
+
}, _0x71a3f9 = _0x30157b, _0x336ac0 = _0x26dcb7[_0x71a3f9(_0x513870._0x3f178c)] ?? _0x34ca8e['join'](homedir(), _0x71a3f9(0x228), 'attachments');
|
|
90
|
+
return {
|
|
91
|
+
'cacheDir': _0x336ac0,
|
|
92
|
+
async 'findCachedPath'(_0x49c9ac) {
|
|
93
|
+
const _0x304598 = _0x71a3f9;
|
|
94
|
+
await mkdir(_0x336ac0, { 'recursive': !![] });
|
|
95
|
+
const _0x29c77f = await readdir(_0x336ac0), _0x51d501 = _0x29c77f['find'](_0x3d3d26 => _0x3d3d26[_0x304598(0x23e)](_0x49c9ac + '-') || _0x3d3d26['startsWith'](_0x49c9ac));
|
|
96
|
+
return _0x51d501 ? _0x34ca8e['join'](_0x336ac0, _0x51d501) : null;
|
|
97
|
+
},
|
|
98
|
+
async 'save'(_0x35a55c) {
|
|
99
|
+
const _0xd8dc22 = _0x71a3f9;
|
|
100
|
+
await mkdir(_0x336ac0, { 'recursive': !![] });
|
|
101
|
+
const _0x334090 = _0x35a55c[_0xd8dc22(_0x38a0b6._0x39f95a)]?.[_0xd8dc22(_0x38a0b6._0xbc7013)]() ? safeFilename(_0x35a55c[_0xd8dc22(0x1a4)]) : '' + _0x35a55c['attachmentId'] + extensionFor(_0x35a55c['contentType']), _0xc40cff = _0x34ca8e[_0xd8dc22(_0x38a0b6._0x4d6293)](_0x336ac0, _0x35a55c[_0xd8dc22(0x21a)] + '-' + _0x334090);
|
|
102
|
+
return await writeFile(_0xc40cff, _0x35a55c[_0xd8dc22(0x1e9)]), _0xc40cff;
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
import {
|
|
107
|
+
createHash,
|
|
108
|
+
randomUUID
|
|
109
|
+
} from 'node:crypto';
|
|
110
|
+
var UNSUPPORTED_TARGET_MESSAGE = _0x30157b(0x154);
|
|
111
|
+
function ensureSegment(_0x400b78) {
|
|
112
|
+
const _0x367747 = { _0x446122: 0x189 }, _0x88a8d1 = _0x30157b, _0x419d9b = _0x400b78[_0x88a8d1(_0x367747._0x446122)]();
|
|
113
|
+
if (!_0x419d9b || _0x419d9b[_0x88a8d1(0x145)](':'))
|
|
114
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
115
|
+
return _0x419d9b;
|
|
116
|
+
}
|
|
117
|
+
function parseThreadParts(_0x7d3d1b) {
|
|
118
|
+
const _0xa8d872 = { _0x3caf9e: 0x137 }, _0x4c5775 = _0x30157b, _0x63b18a = _0x7d3d1b[_0x4c5775(_0xa8d872._0x3caf9e)](':');
|
|
119
|
+
if (_0x63b18a[_0x4c5775(0x1c2)] < 0x1 || _0x63b18a[_0x4c5775(0x1c2)] > 0x2)
|
|
120
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
121
|
+
return {
|
|
122
|
+
'channelName': ensureSegment(_0x63b18a[0x0] ?? ''),
|
|
123
|
+
'threadShortId': _0x63b18a[0x1] ? ensureSegment(_0x63b18a[0x1]) : null
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
function parseTarget(_0x4a661e) {
|
|
127
|
+
const _0x139c8a = {
|
|
128
|
+
_0x31e90f: 0x189,
|
|
129
|
+
_0x4f7795: 0xc5,
|
|
130
|
+
_0x554892: 0x225,
|
|
131
|
+
_0x524b7d: 0x153,
|
|
132
|
+
_0x361f23: 0x1d8,
|
|
133
|
+
_0x2a9ff4: 0x10b,
|
|
134
|
+
_0x2cd7b3: 0x23e,
|
|
135
|
+
_0x688eff: 0x235,
|
|
136
|
+
_0x458244: 0x14a,
|
|
137
|
+
_0x5043af: 0x225
|
|
138
|
+
}, _0x50cd95 = _0x30157b, _0x3fda44 = _0x4a661e[_0x50cd95(_0x139c8a._0x31e90f)]();
|
|
139
|
+
if (!_0x3fda44)
|
|
140
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
141
|
+
if (_0x3fda44[_0x50cd95(0x23e)]('#')) {
|
|
142
|
+
const _0x39c595 = parseThreadParts(_0x3fda44[_0x50cd95(0x10b)](0x1)), _0x5d3356 = '#' + _0x39c595[_0x50cd95(_0x139c8a._0x4f7795)];
|
|
143
|
+
if (!_0x39c595[_0x50cd95(0x14a)])
|
|
144
|
+
return {
|
|
145
|
+
'channelName': _0x39c595[_0x50cd95(0xc5)],
|
|
146
|
+
'channelTarget': _0x5d3356,
|
|
147
|
+
'kind': _0x50cd95(_0x139c8a._0x554892),
|
|
148
|
+
'target': _0x5d3356
|
|
149
|
+
};
|
|
150
|
+
return {
|
|
151
|
+
'channelName': _0x39c595[_0x50cd95(0xc5)],
|
|
152
|
+
'channelTarget': _0x5d3356,
|
|
153
|
+
'kind': _0x50cd95(_0x139c8a._0x524b7d),
|
|
154
|
+
'target': _0x5d3356 + ':' + _0x39c595[_0x50cd95(0x14a)],
|
|
155
|
+
'threadShortId': _0x39c595['threadShortId']
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
if (_0x3fda44['startsWith'](_0x50cd95(_0x139c8a._0x361f23))) {
|
|
159
|
+
const _0x4aeff4 = parseThreadParts(_0x3fda44[_0x50cd95(_0x139c8a._0x2a9ff4)](0x3));
|
|
160
|
+
if (!_0x4aeff4[_0x50cd95(0xc5)][_0x50cd95(_0x139c8a._0x2cd7b3)](_0x50cd95(_0x139c8a._0x688eff)))
|
|
161
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
162
|
+
const _0x46dfc3 = _0x50cd95(0x1d8) + _0x4aeff4['channelName'];
|
|
163
|
+
if (!_0x4aeff4[_0x50cd95(_0x139c8a._0x458244)])
|
|
164
|
+
return {
|
|
165
|
+
'channelName': _0x4aeff4[_0x50cd95(0xc5)],
|
|
166
|
+
'channelTarget': _0x46dfc3,
|
|
167
|
+
'kind': _0x50cd95(_0x139c8a._0x5043af),
|
|
168
|
+
'target': _0x46dfc3
|
|
169
|
+
};
|
|
170
|
+
return {
|
|
171
|
+
'channelName': _0x4aeff4['channelName'],
|
|
172
|
+
'channelTarget': _0x46dfc3,
|
|
173
|
+
'kind': 'thread',
|
|
174
|
+
'target': _0x46dfc3 + ':' + _0x4aeff4[_0x50cd95(0x14a)],
|
|
175
|
+
'threadShortId': _0x4aeff4[_0x50cd95(0x14a)]
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
179
|
+
}
|
|
180
|
+
function asErrorMessage(_0x167056, _0x1dda0e) {
|
|
181
|
+
const _0x229690 = {
|
|
182
|
+
_0x13fbfb: 0xd6,
|
|
183
|
+
_0x26ac1c: 0x189
|
|
184
|
+
}, _0x3d2911 = _0x30157b;
|
|
185
|
+
if (typeof _0x167056 === _0x3d2911(_0x229690._0x13fbfb) && _0x167056[_0x3d2911(_0x229690._0x26ac1c)]())
|
|
186
|
+
return _0x167056;
|
|
187
|
+
return _0x1dda0e;
|
|
188
|
+
}
|
|
189
|
+
function asRecord(_0x12e747) {
|
|
190
|
+
const _0x2eb2b0 = _0x30157b;
|
|
191
|
+
return typeof _0x12e747 === _0x2eb2b0(0x1b6) && _0x12e747 !== null ? _0x12e747 : {};
|
|
192
|
+
}
|
|
193
|
+
function stableStringify(_0x1eecae) {
|
|
194
|
+
const _0x4f1fe9 = {
|
|
195
|
+
_0x1820bc: 0xf7,
|
|
196
|
+
_0x449b3d: 0xf1,
|
|
197
|
+
_0xb36088: 0xfb
|
|
198
|
+
}, _0x6320c1 = _0x30157b;
|
|
199
|
+
if (_0x1eecae === null || typeof _0x1eecae !== _0x6320c1(0x1b6))
|
|
200
|
+
return JSON[_0x6320c1(_0x4f1fe9._0x1820bc)](_0x1eecae);
|
|
201
|
+
if (Array[_0x6320c1(_0x4f1fe9._0x449b3d)](_0x1eecae))
|
|
202
|
+
return '[' + _0x1eecae[_0x6320c1(0x207)](_0x4979c4 => stableStringify(_0x4979c4))[_0x6320c1(_0x4f1fe9._0xb36088)](',') + ']';
|
|
203
|
+
const _0x25f06b = Object['entries'](_0x1eecae)['filter'](([, _0xbb73bd]) => _0xbb73bd !== void 0x0)[_0x6320c1(0x1ca)](([_0x5e2aee], [_0x2f3828]) => _0x5e2aee[_0x6320c1(0xc8)](_0x2f3828))[_0x6320c1(0x207)](([_0x5a0e4b, _0x1b7edd]) => JSON[_0x6320c1(0xf7)](_0x5a0e4b) + ':' + stableStringify(_0x1b7edd));
|
|
204
|
+
return '{' + _0x25f06b['join'](',') + '}';
|
|
205
|
+
}
|
|
206
|
+
function createHeaders(_0x581ac7) {
|
|
207
|
+
const _0x1fc43f = { _0x5f6a5b: 0xe9 }, _0xd7b86b = _0x30157b;
|
|
208
|
+
return {
|
|
209
|
+
'Content-Type': _0xd7b86b(_0x1fc43f._0x5f6a5b),
|
|
210
|
+
'x-daemon-api-key': _0x581ac7
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
function toHttpBaseUrl(_0x18245a) {
|
|
214
|
+
const _0x5e7603 = {
|
|
215
|
+
_0x4c233e: 0x17b,
|
|
216
|
+
_0x2ddd49: 0x1a7,
|
|
217
|
+
_0x4f3eea: 0x1d2
|
|
218
|
+
}, _0x42c348 = _0x30157b, _0x1e6142 = new URL(_0x18245a);
|
|
219
|
+
if (_0x1e6142[_0x42c348(0x125)] === 'ws:')
|
|
220
|
+
_0x1e6142[_0x42c348(0x125)] = _0x42c348(0x21c);
|
|
221
|
+
else
|
|
222
|
+
_0x1e6142[_0x42c348(0x125)] === _0x42c348(_0x5e7603._0x4c233e) && (_0x1e6142['protocol'] = 'https:');
|
|
223
|
+
return _0x1e6142[_0x42c348(_0x5e7603._0x2ddd49)]()[_0x42c348(_0x5e7603._0x4f3eea)](/\/$/, '');
|
|
224
|
+
}
|
|
225
|
+
function isMentionBoundary(_0x3f51c2) {
|
|
226
|
+
const _0x32f400 = { _0x5ef69d: 0x1d9 }, _0x4ec7a7 = _0x30157b;
|
|
227
|
+
return !_0x3f51c2 || /\s|[([{'",。!?、:;]/[_0x4ec7a7(_0x32f400._0x5ef69d)](_0x3f51c2);
|
|
228
|
+
}
|
|
229
|
+
function isMentionTerminal(_0xf8734) {
|
|
230
|
+
const _0x4e5ead = _0x30157b;
|
|
231
|
+
return !_0xf8734 || /\s|[)\]}'",。!?、:;,.!?]/[_0x4e5ead(0x1d9)](_0xf8734);
|
|
232
|
+
}
|
|
233
|
+
function buildMatchableEntries(_0x14f642) {
|
|
234
|
+
const _0x2fbcc4 = {
|
|
235
|
+
_0x17de14: 0x1b7,
|
|
236
|
+
_0x3d35e9: 0x23b,
|
|
237
|
+
_0x177ed7: 0x1b1
|
|
238
|
+
}, _0xe42cd5 = _0x30157b, _0x3a5798 = [];
|
|
239
|
+
for (const _0x2d203d of [
|
|
240
|
+
..._0x14f642[_0xe42cd5(_0x2fbcc4._0x17de14)],
|
|
241
|
+
..._0x14f642[_0xe42cd5(0x1f7)]
|
|
242
|
+
]) {
|
|
243
|
+
_0x3a5798['push']({
|
|
244
|
+
'matchName': _0x2d203d['name'],
|
|
245
|
+
'matchNameLower': _0x2d203d[_0xe42cd5(_0x2fbcc4._0x3d35e9)][_0xe42cd5(_0x2fbcc4._0x177ed7)](),
|
|
246
|
+
'participantId': _0x2d203d['id']
|
|
247
|
+
}), _0x2d203d['id'] !== _0x2d203d['name'] && _0x3a5798['push']({
|
|
248
|
+
'matchName': _0x2d203d['id'],
|
|
249
|
+
'matchNameLower': _0x2d203d['id'][_0xe42cd5(_0x2fbcc4._0x177ed7)](),
|
|
250
|
+
'participantId': _0x2d203d['id']
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
return _0x3a5798;
|
|
254
|
+
}
|
|
255
|
+
function extractMentionedParticipantIds(_0x3c9e02, _0x10899e) {
|
|
256
|
+
const _0x2160a4 = {
|
|
257
|
+
_0x3a7450: 0x1c2,
|
|
258
|
+
_0x99187: 0x1b1,
|
|
259
|
+
_0x2dc4c6: 0x227,
|
|
260
|
+
_0x1982c2: 0x15e,
|
|
261
|
+
_0x4e3bc2: 0x1c3,
|
|
262
|
+
_0x283bb2: 0x188,
|
|
263
|
+
_0x55880b: 0xf4
|
|
264
|
+
}, _0x178060 = { _0x2b3ee3: 0x201 }, _0x10dedf = _0x30157b, _0x2efd22 = buildMatchableEntries(_0x10899e)[_0x10dedf(0x1ca)]((_0x7d95b7, _0xf89500) => _0xf89500[_0x10dedf(0xf4)]['length'] - _0x7d95b7[_0x10dedf(0xf4)][_0x10dedf(0x1c2)]), _0x10f313 = [], _0x8b2cb9 = new Set();
|
|
265
|
+
for (let _0xc05097 = 0x0; _0xc05097 < _0x3c9e02[_0x10dedf(_0x2160a4._0x3a7450)]; _0xc05097 += 0x1) {
|
|
266
|
+
if (_0x3c9e02[_0xc05097] !== '@' || !isMentionBoundary(_0x3c9e02[_0xc05097 - 0x1]))
|
|
267
|
+
continue;
|
|
268
|
+
const _0x5173a4 = _0x3c9e02['slice'](_0xc05097 + 0x1), _0x121ad5 = _0x5173a4[_0x10dedf(_0x2160a4._0x99187)](), _0x5d7c63 = _0x2efd22[_0x10dedf(_0x2160a4._0x2dc4c6)](_0x43874a => {
|
|
269
|
+
const _0x2f7da7 = _0x10dedf;
|
|
270
|
+
if (!_0x121ad5['startsWith'](_0x43874a[_0x2f7da7(_0x178060._0x2b3ee3)]))
|
|
271
|
+
return ![];
|
|
272
|
+
return isMentionTerminal(_0x5173a4[_0x43874a[_0x2f7da7(0xf4)]['length']]);
|
|
273
|
+
});
|
|
274
|
+
if (!_0x5d7c63 || _0x8b2cb9[_0x10dedf(_0x2160a4._0x1982c2)](_0x5d7c63[_0x10dedf(0x188)]))
|
|
275
|
+
continue;
|
|
276
|
+
_0x8b2cb9[_0x10dedf(0x133)](_0x5d7c63[_0x10dedf(0x188)]), _0x10f313[_0x10dedf(_0x2160a4._0x4e3bc2)](_0x5d7c63[_0x10dedf(_0x2160a4._0x283bb2)]), _0xc05097 += _0x5d7c63[_0x10dedf(_0x2160a4._0x55880b)][_0x10dedf(0x1c2)];
|
|
277
|
+
}
|
|
278
|
+
return _0x10f313;
|
|
279
|
+
}
|
|
280
|
+
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
281
|
+
function anySignal(..._0x442424) {
|
|
282
|
+
const _0x3b3393 = { _0x3508a5: 0xcf }, _0x358a9b = _0x30157b, _0x1466dd = new AbortController();
|
|
283
|
+
for (const _0x52b8ad of _0x442424) {
|
|
284
|
+
if (_0x52b8ad['aborted'])
|
|
285
|
+
return _0x1466dd[_0x358a9b(0xcf)](_0x52b8ad[_0x358a9b(0x14f)]), _0x1466dd[_0x358a9b(0x173)];
|
|
286
|
+
_0x52b8ad[_0x358a9b(0x23f)](_0x358a9b(_0x3b3393._0x3508a5), () => _0x1466dd[_0x358a9b(0xcf)](_0x52b8ad['reason']), {
|
|
287
|
+
'once': !![],
|
|
288
|
+
'signal': _0x1466dd['signal']
|
|
289
|
+
});
|
|
290
|
+
}
|
|
291
|
+
return _0x1466dd['signal'];
|
|
292
|
+
}
|
|
293
|
+
function createInternalAgentClient(_0x57bd42) {
|
|
294
|
+
const _0x406479 = {
|
|
295
|
+
_0x2f1463: 0x13a,
|
|
296
|
+
_0x5bc2f7: 0x218,
|
|
297
|
+
_0xbf24bc: 0x189,
|
|
298
|
+
_0x420551: 0x192,
|
|
299
|
+
_0x3e2c97: 0xfa,
|
|
300
|
+
_0xb50cb1: 0x1bc
|
|
301
|
+
}, _0x2853df = {
|
|
302
|
+
_0x1162b1: 0x19e,
|
|
303
|
+
_0x8a1a3c: 0x1a7,
|
|
304
|
+
_0x48c4ac: 0x16c,
|
|
305
|
+
_0x5d1de8: 0xe4,
|
|
306
|
+
_0x21bbb3: 0x14b,
|
|
307
|
+
_0x562763: 0xe4,
|
|
308
|
+
_0x5d5165: 0x22a,
|
|
309
|
+
_0x4d4a8c: 0x1a8,
|
|
310
|
+
_0xc14dd5: 0x207,
|
|
311
|
+
_0x4c1652: 0x1e5,
|
|
312
|
+
_0x3d49c7: 0xd6,
|
|
313
|
+
_0x1a0d77: 0x220,
|
|
314
|
+
_0x2e5c91: 0x1dd,
|
|
315
|
+
_0x48fa78: 0x17f,
|
|
316
|
+
_0xcbd175: 0x1ce,
|
|
317
|
+
_0x4f0218: 0x1b9,
|
|
318
|
+
_0x3eebc9: 0x1dd,
|
|
319
|
+
_0x4ac66c: 0x129,
|
|
320
|
+
_0x18ee00: 0x19e,
|
|
321
|
+
_0x1f899f: 0x147,
|
|
322
|
+
_0x201dcc: 0x1d8,
|
|
323
|
+
_0x4c51d2: 0xbf,
|
|
324
|
+
_0x2de85: 0x18d,
|
|
325
|
+
_0x4158bf: 0x213,
|
|
326
|
+
_0x5cd969: 0x212,
|
|
327
|
+
_0x48b3ec: 0x239,
|
|
328
|
+
_0x3650a1: 0x23a,
|
|
329
|
+
_0x19f2f6: 0x212,
|
|
330
|
+
_0x2ce423: 0x13f,
|
|
331
|
+
_0x2eff3f: 0x1c3,
|
|
332
|
+
_0x53a408: 0x158,
|
|
333
|
+
_0x3b9f6c: 0x22a
|
|
334
|
+
}, _0x33077b = {
|
|
335
|
+
_0x4a0d2d: 0x225,
|
|
336
|
+
_0x4272fd: 0xd9,
|
|
337
|
+
_0x300c00: 0x140
|
|
338
|
+
}, _0x477b00 = {
|
|
339
|
+
_0xec6a6e: 0x1bf,
|
|
340
|
+
_0x14379a: 0x19d,
|
|
341
|
+
_0xfc55b2: 0x1a7
|
|
342
|
+
}, _0x2fc8fe = {
|
|
343
|
+
_0x46a3de: 0xca,
|
|
344
|
+
_0x23545c: 0x110,
|
|
345
|
+
_0x58ec31: 0xda,
|
|
346
|
+
_0x553fad: 0x238,
|
|
347
|
+
_0x4dbaee: 0x1ea,
|
|
348
|
+
_0x5a862a: 0xf2,
|
|
349
|
+
_0x58bcaa: 0x14e
|
|
350
|
+
}, _0x27f9c6 = {
|
|
351
|
+
_0x18b19e: 0x1bf,
|
|
352
|
+
_0x28924a: 0x1dc,
|
|
353
|
+
_0x4ecf71: 0xf7,
|
|
354
|
+
_0x323282: 0x15c,
|
|
355
|
+
_0xe37556: 0x1a4,
|
|
356
|
+
_0x36b502: 0x1e9
|
|
357
|
+
}, _0x1d43fd = { _0xd583b4: 0xf7 }, _0x186f86 = {
|
|
358
|
+
_0x54283d: 0x222,
|
|
359
|
+
_0x2d03a7: 0x18a,
|
|
360
|
+
_0x42d8a1: 0xf8
|
|
361
|
+
}, _0x5c8b8d = {
|
|
362
|
+
_0x47f3db: 0xf7,
|
|
363
|
+
_0x13b449: 0x113
|
|
364
|
+
}, _0x23473a = {
|
|
365
|
+
_0x5b658f: 0x1bf,
|
|
366
|
+
_0xa3f29a: 0xf7
|
|
367
|
+
}, _0x5e5bb5 = {
|
|
368
|
+
_0x23c0d1: 0x19e,
|
|
369
|
+
_0x56d140: 0x240,
|
|
370
|
+
_0x35073c: 0x1bf,
|
|
371
|
+
_0x275e79: 0x12b,
|
|
372
|
+
_0x1865e1: 0x1a7
|
|
373
|
+
}, _0x55bfe2 = { _0x162a7b: 0xe5 }, _0x20682 = {
|
|
374
|
+
_0x21dea8: 0x170,
|
|
375
|
+
_0x19543e: 0xe5,
|
|
376
|
+
_0x223cb1: 0xf7,
|
|
377
|
+
_0x2d0968: 0xcc
|
|
378
|
+
}, _0x49994d = { _0x141f5e: 0xbc }, _0x257c00 = { _0x2f3049: 0x155 }, _0x3d2de0 = {
|
|
379
|
+
_0x3d5a80: 0x160,
|
|
380
|
+
_0x251580: 0x1e1,
|
|
381
|
+
_0x2e7292: 0x1c2,
|
|
382
|
+
_0x196f41: 0x194,
|
|
383
|
+
_0x1633cc: 0x1e9
|
|
384
|
+
}, _0x3beb6e = {
|
|
385
|
+
_0x2d1adc: 0x140,
|
|
386
|
+
_0x237925: 0x140,
|
|
387
|
+
_0x309487: 0x194,
|
|
388
|
+
_0x217405: 0x19e,
|
|
389
|
+
_0xa68ab7: 0x220,
|
|
390
|
+
_0x593c3e: 0x220,
|
|
391
|
+
_0xbfa9c7: 0x19e,
|
|
392
|
+
_0x53ed07: 0x1ae,
|
|
393
|
+
_0x59f4f9: 0x1ae,
|
|
394
|
+
_0x5b4ae1: 0x1bf,
|
|
395
|
+
_0x395866: 0x110,
|
|
396
|
+
_0x5813c5: 0x1e9,
|
|
397
|
+
_0x5a89aa: 0xea,
|
|
398
|
+
_0x114466: 0x1a9
|
|
399
|
+
}, _0x1882ef = {
|
|
400
|
+
_0x4ecc55: 0x188,
|
|
401
|
+
_0x1497d7: 0x17a
|
|
402
|
+
}, _0x197f00 = {
|
|
403
|
+
_0x24ce56: 0x153,
|
|
404
|
+
_0x24b0f8: 0x194,
|
|
405
|
+
_0xc3bc73: 0x23e,
|
|
406
|
+
_0x22e9cc: 0x14a
|
|
407
|
+
}, _0x964414 = {
|
|
408
|
+
_0x4ecebd: 0xf6,
|
|
409
|
+
_0x641a68: 0x14a,
|
|
410
|
+
_0x21a62d: 0x1dd,
|
|
411
|
+
_0x1e5878: 0x14a,
|
|
412
|
+
_0x53c42c: 0x1dd,
|
|
413
|
+
_0x8bb2d8: 0x23e,
|
|
414
|
+
_0x1edce2: 0x14a
|
|
415
|
+
}, _0x5efc59 = {
|
|
416
|
+
_0x388a67: 0x17f,
|
|
417
|
+
_0x6d71e2: 0xf6,
|
|
418
|
+
_0x1b852e: 0x1dd
|
|
419
|
+
}, _0x1a8036 = { _0x5028db: 0x1b7 }, _0x59c716 = {
|
|
420
|
+
_0x2987a6: 0x1b7,
|
|
421
|
+
_0x538933: 0x178
|
|
422
|
+
}, _0x3a1b92 = {
|
|
423
|
+
_0x498cba: 0x110,
|
|
424
|
+
_0x407a5b: 0x1e9,
|
|
425
|
+
_0x1d1857: 0x22a,
|
|
426
|
+
_0x26f6b4: 0x207,
|
|
427
|
+
_0x2d41e2: 0x1e9,
|
|
428
|
+
_0x228416: 0xfc,
|
|
429
|
+
_0x44392c: 0xfc
|
|
430
|
+
}, _0x34ac3e = {
|
|
431
|
+
_0x4ce2ee: 0x220,
|
|
432
|
+
_0x46bf41: 0xf6,
|
|
433
|
+
_0x5cbee8: 0x1e9
|
|
434
|
+
}, _0x47aa20 = { _0x5d11e2: 0xf8 }, _0xd9548b = {
|
|
435
|
+
_0x4a7a6a: 0x1f0,
|
|
436
|
+
_0x575c31: 0x116
|
|
437
|
+
}, _0x2db50a = {
|
|
438
|
+
_0x41eeb1: 0x173,
|
|
439
|
+
_0x343917: 0x240
|
|
440
|
+
}, _0x40b48e = {
|
|
441
|
+
_0x4724ec: 0x173,
|
|
442
|
+
_0x2688df: 0xdd
|
|
443
|
+
}, _0x355c98 = {
|
|
444
|
+
_0x14d446: 0x117,
|
|
445
|
+
_0xabd458: 0x19e
|
|
446
|
+
}, _0x8c3c28 = { _0x544aee: 0x189 }, _0x20245f = {
|
|
447
|
+
_0x1a97d7: 0xf5,
|
|
448
|
+
_0x580b16: 0x1ee,
|
|
449
|
+
_0x148a13: 0x1d2,
|
|
450
|
+
_0x201794: 0x208,
|
|
451
|
+
_0x5f387e: 0xde,
|
|
452
|
+
_0x1b42a3: 0x240
|
|
453
|
+
}, _0x15a914 = _0x30157b, _0x41ce22 = _0x57bd42[_0x15a914(0x13e)] ?? fetch, _0x52c27c = _0x57bd42['fetchTimeoutMs'] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x1a8862 = typeof _0x57bd42[_0x15a914(_0x406479._0x2f1463)] === _0x15a914(_0x406479._0x5bc2f7) && _0x57bd42['initialLastSeenSeq'] > 0x0 ? _0x57bd42[_0x15a914(0x13a)] : 0x0, _0x1aa671 = _0x57bd42['daemonLocalUrl']?.[_0x15a914(_0x406479._0xbf24bc)]() || void 0x0, _0x33080b = _0x57bd42[_0x15a914(_0x406479._0x420551)]?.[_0x15a914(_0x406479._0xbf24bc)]() || void 0x0, _0x260433 = _0x57bd42[_0x15a914(_0x406479._0x3e2c97)] === !![], _0x556253 = _0x57bd42[_0x15a914(0x1c1)]?.[_0x15a914(0x189)]() || void 0x0, _0x39ac52 = _0x57bd42[_0x15a914(0xc2)]?.[_0x15a914(0x189)]() || void 0x0, _0xefb39e = createHeaders(_0x57bd42[_0x15a914(_0x406479._0xb50cb1)]), _0x14de57 = toHttpBaseUrl(_0x57bd42['serverUrl']);
|
|
454
|
+
let _0x350056 = null;
|
|
455
|
+
const _0x865c59 = new Map();
|
|
456
|
+
let _0x140e64 = _0x1a8862, _0xd465d3 = _0x1a8862;
|
|
457
|
+
function _0x375cc0(_0x2a4c1d) {
|
|
458
|
+
const _0x3a8615 = _0x15a914, _0x4fe4a1 = _0x2a4c1d['response']['headers']['get'](_0x3a8615(_0x20245f._0x1a97d7)) ?? _0x3a8615(0x1cc), _0x5f0bb5 = _0x2a4c1d[_0x3a8615(_0x20245f._0x580b16)][_0x3a8615(0x189)]()[_0x3a8615(_0x20245f._0x148a13)](/\s+/g, '\x20')[_0x3a8615(0x10b)](0x0, 0x78) || _0x3a8615(_0x20245f._0x201794);
|
|
459
|
+
return _0x3a8615(_0x20245f._0x5f387e) + _0x2a4c1d[_0x3a8615(0x151)] + _0x3a8615(0x18c) + _0x2a4c1d[_0x3a8615(0x1e3)][_0x3a8615(_0x20245f._0x1b42a3)] + _0x3a8615(0x1f6) + _0x4fe4a1 + _0x3a8615(0x100) + _0x5f0bb5 + _0x3a8615(0x15f);
|
|
460
|
+
}
|
|
461
|
+
async function _0x397899(_0x2a6d69, _0x13336d) {
|
|
462
|
+
const _0x582259 = _0x15a914, _0x2865fc = Buffer['from'](await _0x13336d['arrayBuffer']())['toString']('utf8');
|
|
463
|
+
if (!_0x2865fc[_0x582259(_0x8c3c28._0x544aee)]())
|
|
464
|
+
return {};
|
|
465
|
+
try {
|
|
466
|
+
return JSON[_0x582259(0x202)](_0x2865fc);
|
|
467
|
+
} catch {
|
|
468
|
+
throw new Error(_0x375cc0({
|
|
469
|
+
'bodyText': _0x2865fc,
|
|
470
|
+
'requestUrl': _0x2a6d69,
|
|
471
|
+
'response': _0x13336d
|
|
472
|
+
}));
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
function _0x1045fe(_0x237d09, _0x3a1987) {
|
|
476
|
+
const _0x1135f9 = _0x15a914, _0x55dae9 = typeof _0x3a1987[_0x1135f9(0xed)] === 'string' ? _0x3a1987['idempotency_key']['trim']() : '';
|
|
477
|
+
if (_0x55dae9)
|
|
478
|
+
return _0x55dae9;
|
|
479
|
+
const _0x59039b = Date['now']();
|
|
480
|
+
for (const [_0x274a34, _0x7c1f66] of _0x865c59) {
|
|
481
|
+
_0x7c1f66[_0x1135f9(_0x355c98._0x14d446)] <= _0x59039b && _0x865c59['delete'](_0x274a34);
|
|
482
|
+
}
|
|
483
|
+
const _0x3d5a91 = {
|
|
484
|
+
..._0x3a1987,
|
|
485
|
+
'idempotency_key': void 0x0
|
|
486
|
+
}, _0x18815a = createHash(_0x1135f9(0x134))['update'](_0x237d09 + ':' + stableStringify(_0x3d5a91))[_0x1135f9(0xf0)]('hex'), _0xc1996c = _0x237d09 + ':' + _0x18815a, _0x46d215 = _0x865c59[_0x1135f9(0x1b9)](_0xc1996c);
|
|
487
|
+
if (_0x46d215)
|
|
488
|
+
return _0x46d215[_0x1135f9(0xeb)];
|
|
489
|
+
const _0x4e97aa = 'auto:' + _0x237d09 + ':' + randomUUID();
|
|
490
|
+
return _0x865c59[_0x1135f9(_0x355c98._0xabd458)](_0xc1996c, {
|
|
491
|
+
'expiresAt': _0x59039b + 0x5 * 0x3c * 0x3e8,
|
|
492
|
+
'value': _0x4e97aa
|
|
493
|
+
}), _0x4e97aa;
|
|
494
|
+
}
|
|
495
|
+
async function _0x4e063c(_0x5cbe7a, _0xe01424) {
|
|
496
|
+
const _0xe6839c = _0x15a914, _0x1c14a1 = new AbortController(), _0x3cc4b0 = setTimeout(() => _0x1c14a1['abort'](), _0x52c27c), _0x4f4e2a = _0xe01424?.[_0xe6839c(0x173)] ? anySignal(_0xe01424['signal'], _0x1c14a1[_0xe6839c(_0x40b48e._0x4724ec)]) : _0x1c14a1['signal'], _0x13f2a2 = '' + _0x14de57 + _0x5cbe7a;
|
|
497
|
+
try {
|
|
498
|
+
const _0x44aa50 = await _0x41ce22(_0x13f2a2, {
|
|
499
|
+
..._0xe01424,
|
|
500
|
+
'signal': _0x4f4e2a
|
|
501
|
+
}), _0x30fc45 = await _0x397899(_0x13f2a2, _0x44aa50);
|
|
502
|
+
if (!_0x44aa50['ok'] || _0x30fc45[_0xe6839c(_0x40b48e._0x2688df)] === ![])
|
|
503
|
+
throw new Error(asErrorMessage(_0x30fc45['error'], _0xe6839c(0x238) + _0x44aa50[_0xe6839c(0x240)]));
|
|
504
|
+
return _0x30fc45;
|
|
505
|
+
} finally {
|
|
506
|
+
clearTimeout(_0x3cc4b0);
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
async function _0x2d27ac(_0x35248a, _0x22a272) {
|
|
510
|
+
const _0x518fa8 = _0x15a914, _0x4cd86b = new AbortController(), _0x3ae71a = setTimeout(() => _0x4cd86b[_0x518fa8(0xcf)](), _0x52c27c), _0x1fc12a = _0x22a272?.[_0x518fa8(_0x2db50a._0x41eeb1)] ? anySignal(_0x22a272[_0x518fa8(_0x2db50a._0x41eeb1)], _0x4cd86b[_0x518fa8(_0x2db50a._0x41eeb1)]) : _0x4cd86b['signal'], _0x2143c0 = '' + _0x14de57 + _0x35248a;
|
|
511
|
+
try {
|
|
512
|
+
const _0x295b54 = await _0x41ce22(_0x2143c0, {
|
|
513
|
+
..._0x22a272,
|
|
514
|
+
'signal': _0x1fc12a
|
|
515
|
+
}), _0x3eb130 = await _0x397899(_0x2143c0, _0x295b54);
|
|
516
|
+
if (!_0x295b54['ok'])
|
|
517
|
+
throw new Error(asErrorMessage(_0x3eb130['error'], 'HTTP\x20' + _0x295b54[_0x518fa8(_0x2db50a._0x343917)]));
|
|
518
|
+
return _0x3eb130;
|
|
519
|
+
} finally {
|
|
520
|
+
clearTimeout(_0x3ae71a);
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
async function _0x4ef073(_0x46dd2b) {
|
|
524
|
+
const _0x42040f = _0x15a914;
|
|
525
|
+
if (!_0x33080b || _0x46dd2b <= _0xd465d3)
|
|
526
|
+
return;
|
|
527
|
+
await _0x4e063c(_0x42040f(0x118) + encodeURIComponent(_0x33080b) + _0x42040f(_0xd9548b._0x4a7a6a), {
|
|
528
|
+
'body': JSON['stringify']({ 'lastSeenSeq': _0x46dd2b }),
|
|
529
|
+
'headers': _0xefb39e,
|
|
530
|
+
'method': _0x42040f(_0xd9548b._0x575c31)
|
|
531
|
+
}), _0xd465d3 = _0x46dd2b;
|
|
532
|
+
}
|
|
533
|
+
async function _0x259e2c(_0x1e91ed) {
|
|
534
|
+
const _0x5179ea = _0x15a914;
|
|
535
|
+
if (!_0x1aa671 || !_0x556253 || _0x1e91ed <= _0xd465d3)
|
|
536
|
+
return;
|
|
537
|
+
const _0x56f57f = await _0x41ce22(_0x1aa671 + _0x5179ea(0x244), {
|
|
538
|
+
'body': JSON[_0x5179ea(0xf7)]({
|
|
539
|
+
'last_seen_seq': _0x1e91ed,
|
|
540
|
+
'worker_session_id': _0x556253
|
|
541
|
+
}),
|
|
542
|
+
'headers': { 'Content-Type': _0x5179ea(0xe9) },
|
|
543
|
+
'method': _0x5179ea(_0x47aa20._0x5d11e2)
|
|
544
|
+
});
|
|
545
|
+
if (!_0x56f57f['ok'])
|
|
546
|
+
throw new Error(_0x5179ea(0x238) + _0x56f57f[_0x5179ea(0x240)]);
|
|
547
|
+
_0xd465d3 = _0x1e91ed;
|
|
548
|
+
}
|
|
549
|
+
async function _0x521a7e(_0x498a1d) {
|
|
550
|
+
const _0x3d17ba = _0x15a914, _0x490539 = parseTarget(_0x498a1d), _0x590a4d = await _0x4e063c(_0x3d17ba(0x222) + _0x57bd42['agentId'] + _0x3d17ba(0x132), {
|
|
551
|
+
'body': JSON['stringify']({ 'target': _0x490539[_0x3d17ba(0x172)] }),
|
|
552
|
+
'headers': _0xefb39e,
|
|
553
|
+
'method': 'POST'
|
|
554
|
+
});
|
|
555
|
+
return {
|
|
556
|
+
'channelId': _0x590a4d['data']?.[_0x3d17ba(_0x34ac3e._0x4ce2ee)] ?? '',
|
|
557
|
+
'target': _0x490539[_0x3d17ba(_0x34ac3e._0x46bf41)],
|
|
558
|
+
'task': _0x590a4d[_0x3d17ba(_0x34ac3e._0x5cbee8)]?.['task'],
|
|
559
|
+
'threadId': _0x590a4d[_0x3d17ba(0x1e9)]?.['threadId'],
|
|
560
|
+
'threadNumber': _0x590a4d['data']?.[_0x3d17ba(0x17f)]
|
|
561
|
+
};
|
|
562
|
+
}
|
|
563
|
+
async function _0x11cb5f(_0x53ebb7 = {}) {
|
|
564
|
+
if (!_0x53ebb7['forceRefresh'] && _0x350056)
|
|
565
|
+
return _0x350056;
|
|
566
|
+
return _0x350056 = (async () => {
|
|
567
|
+
const _0x40458e = _0x5bbb, _0x120302 = await _0x4e063c(_0x40458e(0x222) + _0x57bd42[_0x40458e(0x1bf)] + _0x40458e(0x149), {
|
|
568
|
+
'headers': _0xefb39e,
|
|
569
|
+
'method': _0x40458e(_0x3a1b92._0x498cba)
|
|
570
|
+
}), _0x1f0c68 = _0x120302[_0x40458e(_0x3a1b92._0x407a5b)]?.[_0x40458e(0x24a)] ?? [], _0x46a08c = _0x1f0c68[_0x40458e(_0x3a1b92._0x1d1857)](_0x51dd16 => _0x51dd16[_0x40458e(0x17a)]?.[_0x40458e(0x164)] === 'agent')[_0x40458e(_0x3a1b92._0x26f6b4)](_0x285829 => ({
|
|
571
|
+
'id': _0x3cde45(_0x285829),
|
|
572
|
+
'name': _0x434b14(_0x285829)
|
|
573
|
+
}))[_0x40458e(0x22a)](_0x49ecf1 => _0x49ecf1['id']), _0x5480f9 = _0x1f0c68[_0x40458e(0x22a)](_0x5a4839 => _0x5a4839['participant']?.[_0x40458e(0x164)] !== _0x40458e(0x178))['map'](_0x43a2e8 => ({
|
|
574
|
+
'id': _0x3cde45(_0x43a2e8),
|
|
575
|
+
'name': _0x434b14(_0x43a2e8)
|
|
576
|
+
}))[_0x40458e(0x22a)](_0x1a7c08 => _0x1a7c08['id']), _0xb0ea2f = _0x120302[_0x40458e(_0x3a1b92._0x2d41e2)]?.[_0x40458e(_0x3a1b92._0x228416)]['id'] ?? '';
|
|
577
|
+
return {
|
|
578
|
+
'agents': _0x46a08c,
|
|
579
|
+
'channels': _0x120302[_0x40458e(_0x3a1b92._0x2d41e2)]?.['channels'] ?? [],
|
|
580
|
+
'humans': _0x5480f9,
|
|
581
|
+
'serverId': _0xb0ea2f,
|
|
582
|
+
'serverName': _0x120302['data']?.[_0x40458e(_0x3a1b92._0x44392c)]['name'] ?? _0xb0ea2f
|
|
583
|
+
};
|
|
584
|
+
})()['catch'](_0x300952 => {
|
|
585
|
+
_0x350056 = null;
|
|
586
|
+
throw _0x300952;
|
|
587
|
+
}), _0x350056;
|
|
588
|
+
}
|
|
589
|
+
function _0x30ce4d(_0x18196a, _0x289f8) {
|
|
590
|
+
const _0x581cc2 = _0x15a914;
|
|
591
|
+
return _0x289f8[_0x581cc2(_0x59c716._0x2987a6)][_0x581cc2(0x1e5)](_0x33c81f => _0x33c81f['id'] === _0x18196a || _0x33c81f[_0x581cc2(0x23b)] === _0x18196a) ? _0x581cc2(_0x59c716._0x538933) : _0x581cc2(0x163);
|
|
592
|
+
}
|
|
593
|
+
function _0x2c70c2(_0x3a4660, _0x26a87c) {
|
|
594
|
+
const _0xc29415 = _0x15a914, _0x59e2be = [
|
|
595
|
+
..._0x26a87c[_0xc29415(_0x1a8036._0x5028db)],
|
|
596
|
+
..._0x26a87c['humans']
|
|
597
|
+
][_0xc29415(0x227)](_0x35803f => _0x35803f['id'] === _0x3a4660);
|
|
598
|
+
return _0x59e2be?.['name'] ?? _0x3a4660;
|
|
599
|
+
}
|
|
600
|
+
function _0x32819f(_0x177641) {
|
|
601
|
+
const _0x1ee522 = _0x15a914;
|
|
602
|
+
if (_0x177641[_0x1ee522(_0x5efc59._0x388a67)] != null)
|
|
603
|
+
return _0x177641[_0x1ee522(0xf6)] + ':t' + _0x177641[_0x1ee522(0x17f)];
|
|
604
|
+
if (_0x177641[_0x1ee522(0x1dd)])
|
|
605
|
+
return _0x177641[_0x1ee522(_0x5efc59._0x6d71e2)] + ':' + _0x177641[_0x1ee522(_0x5efc59._0x1b852e)];
|
|
606
|
+
if (_0x177641[_0x1ee522(0x194)])
|
|
607
|
+
return _0x177641[_0x1ee522(0xf6)] + ':' + _0x177641[_0x1ee522(0x194)]['slice'](0x0, 0x8);
|
|
608
|
+
return _0x177641[_0x1ee522(0xf6)];
|
|
609
|
+
}
|
|
610
|
+
function _0x3f6e02(_0x43e961, _0x40bb08) {
|
|
611
|
+
const _0x4feb3d = _0x15a914;
|
|
612
|
+
try {
|
|
613
|
+
const _0x3bbc78 = parseTarget(_0x43e961);
|
|
614
|
+
if (_0x3bbc78['kind'] !== _0x4feb3d(0x153) || _0x3bbc78[_0x4feb3d(0xf6)] !== _0x40bb08[_0x4feb3d(_0x964414._0x4ecebd)])
|
|
615
|
+
return ![];
|
|
616
|
+
if (_0x40bb08[_0x4feb3d(0x17f)] != null && _0x3bbc78[_0x4feb3d(_0x964414._0x641a68)] === 't' + _0x40bb08[_0x4feb3d(0x17f)])
|
|
617
|
+
return !![];
|
|
618
|
+
if (_0x40bb08[_0x4feb3d(_0x964414._0x21a62d)])
|
|
619
|
+
return _0x3bbc78[_0x4feb3d(_0x964414._0x1e5878)] === _0x40bb08[_0x4feb3d(0x1dd)] || _0x40bb08[_0x4feb3d(_0x964414._0x53c42c)][_0x4feb3d(_0x964414._0x8bb2d8)](_0x3bbc78[_0x4feb3d(_0x964414._0x1edce2)]);
|
|
620
|
+
if (_0x40bb08[_0x4feb3d(0x194)])
|
|
621
|
+
return _0x3bbc78[_0x4feb3d(_0x964414._0x1e5878)] === _0x40bb08['threadId'] || _0x40bb08['threadId'][_0x4feb3d(0x23e)](_0x3bbc78[_0x4feb3d(_0x964414._0x1edce2)]);
|
|
622
|
+
return ![];
|
|
623
|
+
} catch {
|
|
624
|
+
return ![];
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
function _0x1e3b65(_0x2c97ca, _0x4ae9d2) {
|
|
628
|
+
const _0x1170dc = _0x15a914;
|
|
629
|
+
try {
|
|
630
|
+
const _0x1cfa51 = parseTarget(_0x2c97ca);
|
|
631
|
+
if (_0x1cfa51[_0x1170dc(0x212)] !== _0x1170dc(_0x197f00._0x24ce56))
|
|
632
|
+
return ![];
|
|
633
|
+
const _0x3711c4 = typeof _0x4ae9d2[_0x1170dc(0x17f)] === _0x1170dc(0x218) && Number['isInteger'](_0x4ae9d2['threadNumber']) ? _0x4ae9d2[_0x1170dc(0x17f)] : void 0x0;
|
|
634
|
+
if (_0x3711c4 != null && _0x1cfa51[_0x1170dc(0x14a)] === 't' + _0x3711c4)
|
|
635
|
+
return !![];
|
|
636
|
+
const _0x7c93cb = typeof _0x4ae9d2[_0x1170dc(0x1dd)] === 'string' ? _0x4ae9d2[_0x1170dc(0x1dd)] : void 0x0;
|
|
637
|
+
if (_0x7c93cb)
|
|
638
|
+
return _0x1cfa51['threadShortId'] === _0x7c93cb || _0x7c93cb[_0x1170dc(0x23e)](_0x1cfa51['threadShortId']);
|
|
639
|
+
const _0x44d2c8 = typeof _0x4ae9d2[_0x1170dc(_0x197f00._0x24b0f8)] === 'string' ? _0x4ae9d2[_0x1170dc(0x194)] : void 0x0;
|
|
640
|
+
return Boolean(_0x44d2c8) && (_0x1cfa51['threadShortId'] === _0x44d2c8 || _0x44d2c8[_0x1170dc(_0x197f00._0xc3bc73)](_0x1cfa51[_0x1170dc(_0x197f00._0x22e9cc)]));
|
|
641
|
+
} catch {
|
|
642
|
+
return ![];
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
function _0x3cde45(_0x1ee7ae) {
|
|
646
|
+
const _0x557708 = _0x15a914;
|
|
647
|
+
return _0x1ee7ae[_0x557708(0x1b2)]?.[_0x557708(_0x1882ef._0x4ecc55)] ?? _0x1ee7ae[_0x557708(_0x1882ef._0x1497d7)]?.['id'] ?? _0x1ee7ae['participantId'] ?? '';
|
|
648
|
+
}
|
|
649
|
+
function _0x434b14(_0x9a7b35) {
|
|
650
|
+
const _0x4eeea8 = _0x15a914;
|
|
651
|
+
return _0x9a7b35[_0x4eeea8(0x17a)]?.['name'] ?? _0x3cde45(_0x9a7b35);
|
|
652
|
+
}
|
|
653
|
+
async function _0x1850bf(_0x14034e) {
|
|
654
|
+
const _0x2892fd = _0x15a914, _0xb99ad2 = Math['min'](_0x14034e[_0x2892fd(_0x3beb6e._0x2d1adc)] ?? 0x32, 0x64), _0x2605b0 = await _0x11cb5f(), _0x1151ab = new URLSearchParams();
|
|
655
|
+
_0x1151ab[_0x2892fd(0x19e)](_0x2892fd(_0x3beb6e._0x237925), String(_0xb99ad2));
|
|
656
|
+
_0x14034e[_0x2892fd(_0x3beb6e._0x309487)] ? (_0x1151ab[_0x2892fd(0x19e)]('threadId', _0x14034e['threadId']), _0x1151ab[_0x2892fd(_0x3beb6e._0x217405)](_0x2892fd(_0x3beb6e._0xa68ab7), _0x14034e['channelId'])) : _0x1151ab[_0x2892fd(0x19e)](_0x2892fd(_0x3beb6e._0x593c3e), _0x14034e['channelId']);
|
|
657
|
+
_0x14034e[_0x2892fd(0xd9)] && _0x1151ab[_0x2892fd(_0x3beb6e._0xbfa9c7)]('cursor', String(_0x14034e[_0x2892fd(0xd9)]));
|
|
658
|
+
_0x14034e[_0x2892fd(_0x3beb6e._0x53ed07)] !== void 0x0 && _0x1151ab[_0x2892fd(_0x3beb6e._0xbfa9c7)](_0x2892fd(_0x3beb6e._0x59f4f9), String(_0x14034e[_0x2892fd(_0x3beb6e._0x59f4f9)]));
|
|
659
|
+
const _0x11468a = await _0x4e063c(_0x2892fd(0x222) + _0x57bd42[_0x2892fd(_0x3beb6e._0x5b4ae1)] + '/history?' + _0x1151ab['toString'](), {
|
|
660
|
+
'headers': _0xefb39e,
|
|
661
|
+
'method': _0x2892fd(_0x3beb6e._0x395866)
|
|
662
|
+
}), _0x40a055 = (_0x11468a[_0x2892fd(_0x3beb6e._0x5813c5)] ?? [])[_0x2892fd(0x207)](_0x1aeb4a => ({
|
|
663
|
+
'attachments': (_0x1aeb4a['attachments'] ?? [])[_0x2892fd(0x207)](_0x62e506 => ({
|
|
664
|
+
'filename': _0x62e506[_0x2892fd(0x15c)] ?? _0x62e506['id'],
|
|
665
|
+
'id': _0x62e506['id']
|
|
666
|
+
})),
|
|
667
|
+
'content': _0x1aeb4a[_0x2892fd(0x23a)] ?? '',
|
|
668
|
+
'createdAt': _0x1aeb4a[_0x2892fd(0xdf)],
|
|
669
|
+
..._0x1aeb4a[_0x2892fd(0x212)] && _0x1aeb4a['kind'] !== 'chat' ? { 'kind': _0x1aeb4a['kind'] } : {},
|
|
670
|
+
'messageId': _0x1aeb4a['id'],
|
|
671
|
+
'senderName': _0x2c70c2(_0x1aeb4a['senderParticipantId'], _0x2605b0),
|
|
672
|
+
'senderType': _0x30ce4d(_0x1aeb4a['senderParticipantId'], _0x2605b0),
|
|
673
|
+
'seq': _0x1aeb4a[_0x2892fd(0x13d)] ?? 0x0
|
|
674
|
+
}));
|
|
675
|
+
return {
|
|
676
|
+
'channel': _0x14034e[_0x2892fd(0xf6)],
|
|
677
|
+
'hasMore': _0x11468a[_0x2892fd(_0x3beb6e._0x5a89aa)]?.[_0x2892fd(_0x3beb6e._0x114466)] ?? ![],
|
|
678
|
+
'messages': _0x40a055,
|
|
679
|
+
'nextCursor': _0x11468a[_0x2892fd(0xea)]?.[_0x2892fd(0x16c)]
|
|
680
|
+
};
|
|
681
|
+
}
|
|
682
|
+
return {
|
|
683
|
+
async 'sendMessage'(_0x8072c1) {
|
|
684
|
+
const _0x237382 = _0x15a914, _0x8a4ab9 = await _0x521a7e(_0x8072c1[_0x237382(0x172)]), _0x17372b = _0x8072c1[_0x237382(_0x3d2de0._0x3d5a80)][_0x237382(0x145)]('@') ? extractMentionedParticipantIds(_0x8072c1[_0x237382(0x160)], await _0x11cb5f()) : [], _0x3584a9 = await _0x4e063c(_0x237382(0x222) + _0x57bd42[_0x237382(0x1bf)] + _0x237382(_0x3d2de0._0x251580), {
|
|
685
|
+
'body': JSON[_0x237382(0xf7)]({
|
|
686
|
+
'attachment_ids': _0x8072c1['attachmentIds'],
|
|
687
|
+
'bodyMarkdown': _0x8072c1[_0x237382(0x160)],
|
|
688
|
+
'channelId': _0x8a4ab9['channelId'],
|
|
689
|
+
..._0x17372b[_0x237382(_0x3d2de0._0x2e7292)] > 0x0 ? { 'mentionedParticipantIds': _0x17372b } : {},
|
|
690
|
+
'threadId': _0x8a4ab9[_0x237382(_0x3d2de0._0x196f41)],
|
|
691
|
+
..._0x8072c1[_0x237382(0x1d1)] ? { 'visibility': _0x8072c1[_0x237382(0x1d1)] } : {}
|
|
692
|
+
}),
|
|
693
|
+
'headers': _0xefb39e,
|
|
694
|
+
'method': 'POST'
|
|
695
|
+
});
|
|
696
|
+
return { 'messageId': _0x3584a9[_0x237382(_0x3d2de0._0x1633cc)]?.['id'] ?? '' };
|
|
697
|
+
},
|
|
698
|
+
async 'listSchedules'() {
|
|
699
|
+
const _0x5a34a8 = _0x15a914, _0x171908 = await _0x4e063c(_0x5a34a8(_0x257c00._0x2f3049), {
|
|
700
|
+
'headers': _0xefb39e,
|
|
701
|
+
'method': 'GET'
|
|
702
|
+
});
|
|
703
|
+
return _0x171908[_0x5a34a8(0x1e9)] ?? [];
|
|
704
|
+
},
|
|
705
|
+
async 'claimScheduleRun'(_0x46db94) {
|
|
706
|
+
const _0xfc4924 = _0x15a914, _0x497b00 = await _0x4e063c(_0xfc4924(_0x49994d._0x141f5e), {
|
|
707
|
+
'body': JSON[_0xfc4924(0xf7)](_0x46db94),
|
|
708
|
+
'headers': _0xefb39e,
|
|
709
|
+
'method': _0xfc4924(0xf8)
|
|
710
|
+
});
|
|
711
|
+
return _0x497b00['data'] ?? {
|
|
712
|
+
'granted': ![],
|
|
713
|
+
'runId': null,
|
|
714
|
+
'schedule': null,
|
|
715
|
+
'scheduledFor': _0x46db94['scheduledFor']
|
|
716
|
+
};
|
|
717
|
+
},
|
|
718
|
+
async 'startScheduleRun'(_0xc4d6f8) {
|
|
719
|
+
const _0x3ce602 = _0x15a914, _0xdf6e73 = await _0x4e063c(_0x3ce602(_0x20682._0x21dea8) + encodeURIComponent(_0xc4d6f8[_0x3ce602(_0x20682._0x19543e)]) + _0x3ce602(0x245), {
|
|
720
|
+
'body': JSON[_0x3ce602(_0x20682._0x223cb1)]({}),
|
|
721
|
+
'headers': _0xefb39e,
|
|
722
|
+
'method': 'POST'
|
|
723
|
+
});
|
|
724
|
+
return _0xdf6e73[_0x3ce602(0x1e9)] ?? {
|
|
725
|
+
'claimedByDaemonId': '',
|
|
726
|
+
'id': _0xc4d6f8[_0x3ce602(0xe5)],
|
|
727
|
+
'scheduleId': '',
|
|
728
|
+
'status': _0x3ce602(_0x20682._0x2d0968)
|
|
729
|
+
};
|
|
730
|
+
},
|
|
731
|
+
async 'finishScheduleRun'(_0x5d5df1) {
|
|
732
|
+
const _0x370bc2 = _0x15a914, _0x18afc2 = await _0x4e063c(_0x370bc2(0x170) + encodeURIComponent(_0x5d5df1[_0x370bc2(_0x55bfe2._0x162a7b)]) + _0x370bc2(0x1ff), {
|
|
733
|
+
'body': JSON[_0x370bc2(0xf7)]({
|
|
734
|
+
'error': _0x5d5df1[_0x370bc2(0x22b)],
|
|
735
|
+
'resultJson': _0x5d5df1['resultJson'],
|
|
736
|
+
'status': _0x5d5df1[_0x370bc2(0x240)]
|
|
737
|
+
}),
|
|
738
|
+
'headers': _0xefb39e,
|
|
739
|
+
'method': _0x370bc2(0xf8)
|
|
740
|
+
});
|
|
741
|
+
return _0x18afc2['data'] ?? {
|
|
742
|
+
'nextRunAt': null,
|
|
743
|
+
'run': {
|
|
744
|
+
'claimedByDaemonId': '',
|
|
745
|
+
'id': _0x5d5df1[_0x370bc2(0xe5)],
|
|
746
|
+
'scheduleId': '',
|
|
747
|
+
'status': _0x5d5df1['status']
|
|
748
|
+
}
|
|
749
|
+
};
|
|
750
|
+
},
|
|
751
|
+
async 'listTasks'(_0x47f528) {
|
|
752
|
+
const _0x5a15fa = _0x15a914, _0x27a5eb = new URLSearchParams();
|
|
753
|
+
return _0x27a5eb[_0x5a15fa(0x19e)](_0x5a15fa(0x225), _0x47f528[_0x5a15fa(0x225)]), _0x47f528[_0x5a15fa(0x240)] && _0x27a5eb[_0x5a15fa(_0x5e5bb5._0x23c0d1)](_0x5a15fa(_0x5e5bb5._0x56d140), _0x47f528['status']), _0x2d27ac(_0x5a15fa(0x222) + _0x57bd42[_0x5a15fa(_0x5e5bb5._0x35073c)] + _0x5a15fa(_0x5e5bb5._0x275e79) + _0x27a5eb[_0x5a15fa(_0x5e5bb5._0x1865e1)](), {
|
|
754
|
+
'headers': _0xefb39e,
|
|
755
|
+
'method': _0x5a15fa(0x110)
|
|
756
|
+
});
|
|
757
|
+
},
|
|
758
|
+
async 'createTasks'(_0x24b3bc) {
|
|
759
|
+
const _0x31e89d = _0x15a914;
|
|
760
|
+
return _0x2d27ac('/internal/agent/' + _0x57bd42[_0x31e89d(_0x23473a._0x5b658f)] + _0x31e89d(0x1de), {
|
|
761
|
+
'body': JSON[_0x31e89d(_0x23473a._0xa3f29a)]({
|
|
762
|
+
..._0x24b3bc,
|
|
763
|
+
'idempotency_key': _0x1045fe('create_tasks', _0x24b3bc)
|
|
764
|
+
}),
|
|
765
|
+
'headers': _0xefb39e,
|
|
766
|
+
'method': _0x31e89d(0xf8)
|
|
767
|
+
});
|
|
768
|
+
},
|
|
769
|
+
async 'claimTasks'(_0x2e2761) {
|
|
770
|
+
const _0x3a491d = _0x15a914;
|
|
771
|
+
return _0x2d27ac(_0x3a491d(0x222) + _0x57bd42[_0x3a491d(0x1bf)] + _0x3a491d(0x216), {
|
|
772
|
+
'body': JSON[_0x3a491d(_0x5c8b8d._0x47f3db)]({
|
|
773
|
+
..._0x2e2761,
|
|
774
|
+
'idempotency_key': _0x1045fe(_0x3a491d(_0x5c8b8d._0x13b449), _0x2e2761)
|
|
775
|
+
}),
|
|
776
|
+
'headers': _0xefb39e,
|
|
777
|
+
'method': 'POST'
|
|
778
|
+
});
|
|
779
|
+
},
|
|
780
|
+
async 'unclaimTask'(_0xbdff3b) {
|
|
781
|
+
const _0x4e00ed = _0x15a914;
|
|
782
|
+
return _0x2d27ac(_0x4e00ed(_0x186f86._0x54283d) + _0x57bd42[_0x4e00ed(0x1bf)] + '/tasks/unclaim', {
|
|
783
|
+
'body': JSON[_0x4e00ed(0xf7)]({
|
|
784
|
+
..._0xbdff3b,
|
|
785
|
+
'idempotency_key': _0x1045fe(_0x4e00ed(_0x186f86._0x2d03a7), _0xbdff3b)
|
|
786
|
+
}),
|
|
787
|
+
'headers': _0xefb39e,
|
|
788
|
+
'method': _0x4e00ed(_0x186f86._0x42d8a1)
|
|
789
|
+
});
|
|
790
|
+
},
|
|
791
|
+
async 'updateTaskStatus'(_0x4308ba) {
|
|
792
|
+
const _0x15ef52 = _0x15a914;
|
|
793
|
+
return _0x2d27ac(_0x15ef52(0x222) + _0x57bd42['agentId'] + _0x15ef52(0x11e), {
|
|
794
|
+
'body': JSON[_0x15ef52(_0x1d43fd._0xd583b4)]({
|
|
795
|
+
..._0x4308ba,
|
|
796
|
+
'idempotency_key': _0x1045fe('update_task_status', _0x4308ba)
|
|
797
|
+
}),
|
|
798
|
+
'headers': _0xefb39e,
|
|
799
|
+
'method': _0x15ef52(0xf8)
|
|
800
|
+
});
|
|
801
|
+
},
|
|
802
|
+
async 'uploadFile'(_0x4d4732) {
|
|
803
|
+
const _0x398e16 = _0x15a914, _0x5b6fbb = await _0x521a7e(_0x4d4732[_0x398e16(0x225)]);
|
|
804
|
+
if (_0x5b6fbb[_0x398e16(0x194)])
|
|
805
|
+
throw new Error('upload_file\x20only\x20supports\x20channel\x20or\x20DM\x20targets,\x20not\x20thread\x20targets');
|
|
806
|
+
const _0x1b758e = await _0x4e063c('/internal/agent/' + _0x57bd42[_0x398e16(_0x27f9c6._0x18b19e)] + _0x398e16(_0x27f9c6._0x28924a), {
|
|
807
|
+
'body': JSON[_0x398e16(_0x27f9c6._0x4ecf71)]({
|
|
808
|
+
'channel': _0x5b6fbb['target'],
|
|
809
|
+
'contentBase64': _0x4d4732['contentBase64'],
|
|
810
|
+
'contentType': _0x4d4732[_0x398e16(0x111)],
|
|
811
|
+
'originalFilename': _0x4d4732[_0x398e16(_0x27f9c6._0x323282)]
|
|
812
|
+
}),
|
|
813
|
+
'headers': _0xefb39e,
|
|
814
|
+
'method': _0x398e16(0xf8)
|
|
815
|
+
});
|
|
816
|
+
return {
|
|
817
|
+
'attachmentId': _0x1b758e[_0x398e16(0x1e9)]?.['id'] ?? '',
|
|
818
|
+
'filename': _0x1b758e[_0x398e16(0x1e9)]?.[_0x398e16(_0x27f9c6._0xe37556)] ?? _0x4d4732['filename'],
|
|
819
|
+
'sizeBytes': _0x1b758e[_0x398e16(_0x27f9c6._0x36b502)]?.[_0x398e16(0x1c7)] ?? 0x0
|
|
820
|
+
};
|
|
821
|
+
},
|
|
822
|
+
async 'downloadAttachment'(_0x1e7d9b) {
|
|
823
|
+
const _0x20ef5f = _0x15a914, _0x723515 = await _0x4e063c(_0x20ef5f(_0x2fc8fe._0x46a3de) + _0x1e7d9b, {
|
|
824
|
+
'headers': _0xefb39e,
|
|
825
|
+
'method': _0x20ef5f(_0x2fc8fe._0x23545c)
|
|
826
|
+
}), _0x57d766 = new AbortController(), _0x2d34b7 = setTimeout(() => _0x57d766[_0x20ef5f(0xcf)](), _0x52c27c);
|
|
827
|
+
try {
|
|
828
|
+
const _0x248902 = await _0x41ce22(_0x14de57 + _0x20ef5f(0xca) + _0x1e7d9b + _0x20ef5f(_0x2fc8fe._0x58ec31), {
|
|
829
|
+
'headers': _0xefb39e,
|
|
830
|
+
'method': _0x20ef5f(0x110),
|
|
831
|
+
'signal': _0x57d766['signal']
|
|
832
|
+
});
|
|
833
|
+
if (!_0x248902['ok'])
|
|
834
|
+
throw new Error(_0x20ef5f(_0x2fc8fe._0x553fad) + _0x248902['status']);
|
|
835
|
+
return {
|
|
836
|
+
'contentType': _0x723515['data']?.[_0x20ef5f(0x111)] ?? _0x248902[_0x20ef5f(_0x2fc8fe._0x4dbaee)]['get']('content-type') ?? _0x20ef5f(_0x2fc8fe._0x5a862a),
|
|
837
|
+
'data': Buffer[_0x20ef5f(_0x2fc8fe._0x58bcaa)](await _0x248902[_0x20ef5f(0x246)]()),
|
|
838
|
+
'originalFilename': _0x723515['data']?.[_0x20ef5f(0x1a4)]
|
|
839
|
+
};
|
|
840
|
+
} finally {
|
|
841
|
+
clearTimeout(_0x2d34b7);
|
|
842
|
+
}
|
|
843
|
+
},
|
|
844
|
+
async 'listServer'() {
|
|
845
|
+
return _0x11cb5f({ 'forceRefresh': !![] });
|
|
846
|
+
},
|
|
847
|
+
async 'getLatestEventSeq'() {
|
|
848
|
+
const _0x2b008a = _0x15a914, _0x4fb563 = new URLSearchParams();
|
|
849
|
+
_0x4fb563['set']('afterSeq', '0'), _0x4fb563['set'](_0x2b008a(0x140), '1');
|
|
850
|
+
const _0x52815d = await _0x4e063c(_0x2b008a(0x222) + _0x57bd42[_0x2b008a(_0x477b00._0xec6a6e)] + _0x2b008a(_0x477b00._0x14379a) + _0x4fb563[_0x2b008a(_0x477b00._0xfc55b2)](), {
|
|
851
|
+
'headers': _0xefb39e,
|
|
852
|
+
'method': _0x2b008a(0x110)
|
|
853
|
+
}), _0x139b70 = _0x52815d[_0x2b008a(0xea)]?.[_0x2b008a(0xd4)];
|
|
854
|
+
return typeof _0x139b70 === _0x2b008a(0x218) && _0x139b70 > 0x0 ? _0x139b70 : 0x0;
|
|
855
|
+
},
|
|
856
|
+
async 'readHistory'(_0x1556e9) {
|
|
857
|
+
const _0x2e1cd7 = _0x15a914, _0x714ab3 = await _0x521a7e(_0x1556e9[_0x2e1cd7(_0x33077b._0x4a0d2d)]);
|
|
858
|
+
return _0x1850bf({
|
|
859
|
+
'after': _0x1556e9[_0x2e1cd7(0x1ae)],
|
|
860
|
+
'before': _0x1556e9[_0x2e1cd7(_0x33077b._0x4272fd)],
|
|
861
|
+
'channelId': _0x714ab3[_0x2e1cd7(0x220)],
|
|
862
|
+
'channelTarget': _0x714ab3[_0x2e1cd7(0x172)],
|
|
863
|
+
'limit': _0x1556e9[_0x2e1cd7(_0x33077b._0x300c00)],
|
|
864
|
+
'threadId': _0x714ab3[_0x2e1cd7(0x194)]
|
|
865
|
+
});
|
|
866
|
+
},
|
|
867
|
+
'resolveTarget': _0x521a7e,
|
|
868
|
+
async 'checkMessages'() {
|
|
869
|
+
const _0x106a96 = { _0x28c7ae: 0x15e }, _0x533308 = { _0x52d714: 0x11a }, _0x5d6267 = _0x15a914, _0x55d001 = new URLSearchParams();
|
|
870
|
+
_0x55d001[_0x5d6267(_0x2853df._0x1162b1)]('afterSeq', String(_0x140e64));
|
|
871
|
+
const _0xfd15f8 = _0x55d001[_0x5d6267(_0x2853df._0x8a1a3c)](), _0x4d7346 = await _0x4e063c('/internal/agent/' + _0x57bd42[_0x5d6267(0x1bf)] + '/receive' + (_0xfd15f8 ? '?' + _0xfd15f8 : ''), {
|
|
872
|
+
'headers': _0xefb39e,
|
|
873
|
+
'method': 'GET'
|
|
874
|
+
}), _0x2a1b27 = _0x4d7346[_0x5d6267(0x1e9)] ?? [], _0x5f239d = _0x4d7346[_0x5d6267(0xea)]?.[_0x5d6267(_0x2853df._0x48c4ac)], _0x134555 = _0x39ac52 ? _0x2a1b27[_0x5d6267(0x22a)](_0x4e5e78 => {
|
|
875
|
+
const _0x49fdda = _0x5d6267;
|
|
876
|
+
if (_0x4e5e78['aggregateType'] !== _0x49fdda(_0x533308._0x52d714))
|
|
877
|
+
return ![];
|
|
878
|
+
return _0x1e3b65(_0x39ac52, asRecord(_0x4e5e78[_0x49fdda(0xbf)]));
|
|
879
|
+
}) : _0x2a1b27, _0x19b935 = _0x5f239d !== void 0x0 ? _0x39ac52 ? Math[_0x5d6267(0x14b)](_0x140e64, _0x134555['length'] > 0x0 ? _0x134555[_0x134555['length'] - 0x1][_0x5d6267(_0x2853df._0x5d1de8)] : _0x140e64) : Math[_0x5d6267(0x14b)](_0x140e64, _0x5f239d) : _0x134555[_0x5d6267(0x1c2)] > 0x0 ? Math[_0x5d6267(_0x2853df._0x21bbb3)](_0x140e64, _0x134555[_0x134555['length'] - 0x1][_0x5d6267(_0x2853df._0x562763)]) : _0x140e64, _0xa6a9e2 = (_0x39ac52 ? _0x134555 : _0x2a1b27)[_0x5d6267(_0x2853df._0x5d5165)](_0x507c96 => _0x507c96[_0x5d6267(0x233)] === 'message'), _0xa8c34b = _0x39ac52 === void 0x0 && _0x260433;
|
|
880
|
+
let _0x541e26 = await _0x11cb5f(), _0x581c43 = new Map(_0x541e26[_0x5d6267(_0x2853df._0x4d4a8c)][_0x5d6267(_0x2853df._0xc14dd5)](_0x420681 => [
|
|
881
|
+
_0x420681['id'],
|
|
882
|
+
_0x420681
|
|
883
|
+
]));
|
|
884
|
+
const _0x31ee1b = _0xa6a9e2[_0x5d6267(_0x2853df._0x4c1652)](_0x24abef => {
|
|
885
|
+
const _0x5d07a5 = _0x5d6267, _0x152f9b = asRecord(_0x24abef['payloadJson']), _0x4beaea = typeof _0x152f9b?.['channelId'] === 'string' ? _0x152f9b[_0x5d07a5(0x220)] : '';
|
|
886
|
+
return Boolean(_0x4beaea) && !_0x581c43[_0x5d07a5(_0x106a96._0x28c7ae)](_0x4beaea);
|
|
887
|
+
});
|
|
888
|
+
_0x31ee1b && (_0x541e26 = await _0x11cb5f({ 'forceRefresh': !![] }), _0x581c43 = new Map(_0x541e26['channels'][_0x5d6267(_0x2853df._0xc14dd5)](_0x2785f6 => [
|
|
889
|
+
_0x2785f6['id'],
|
|
890
|
+
_0x2785f6
|
|
891
|
+
])));
|
|
892
|
+
const _0x2b954a = new Map();
|
|
893
|
+
for (const _0x4cbe7b of _0xa6a9e2) {
|
|
894
|
+
const _0x50327b = asRecord(_0x4cbe7b['payloadJson']), _0x3f8ccc = typeof _0x50327b[_0x5d6267(0x220)] === _0x5d6267(_0x2853df._0x3d49c7) ? _0x50327b[_0x5d6267(_0x2853df._0x1a0d77)] : '';
|
|
895
|
+
if (!_0x3f8ccc)
|
|
896
|
+
continue;
|
|
897
|
+
const _0x5b99ef = typeof _0x50327b[_0x5d6267(0x194)] === _0x5d6267(0xd6) ? _0x50327b[_0x5d6267(0x194)] : void 0x0, _0x4adf19 = typeof _0x50327b[_0x5d6267(_0x2853df._0x2e5c91)] === _0x5d6267(_0x2853df._0x3d49c7) ? _0x50327b[_0x5d6267(0x1dd)] : void 0x0, _0x429015 = typeof _0x50327b['threadNumber'] === 'number' && Number['isInteger'](_0x50327b[_0x5d6267(_0x2853df._0x48fa78)]) ? _0x50327b[_0x5d6267(_0x2853df._0x48fa78)] : void 0x0, _0x27d4b1 = Boolean(_0x5b99ef && (!_0x4adf19 || _0x4cbe7b[_0x5d6267(_0x2853df._0xcbd175)] !== _0x4adf19)), _0x2dfa30 = _0x27d4b1 ? _0x3f8ccc + ':' + _0x5b99ef : _0x3f8ccc, _0x40fc69 = _0x2b954a[_0x5d6267(_0x2853df._0x4f0218)](_0x2dfa30) ?? {
|
|
898
|
+
'aggregateIds': [],
|
|
899
|
+
'channelId': _0x3f8ccc,
|
|
900
|
+
'entries': new Map(),
|
|
901
|
+
'isThreadReply': _0x27d4b1,
|
|
902
|
+
'rootMessageId': _0x4adf19,
|
|
903
|
+
'threadNumber': _0x429015,
|
|
904
|
+
'threadId': _0x27d4b1 ? _0x5b99ef : void 0x0
|
|
905
|
+
};
|
|
906
|
+
_0x40fc69[_0x5d6267(0x17f)] == null && _0x429015 != null && (_0x40fc69[_0x5d6267(0x17f)] = _0x429015), !_0x40fc69[_0x5d6267(_0x2853df._0x3eebc9)] && _0x4adf19 && (_0x40fc69[_0x5d6267(_0x2853df._0x3eebc9)] = _0x4adf19), _0x40fc69[_0x5d6267(_0x2853df._0x4ac66c)][_0x5d6267(0x1c3)](_0x4cbe7b[_0x5d6267(_0x2853df._0xcbd175)]), _0x40fc69[_0x5d6267(0x168)][_0x5d6267(_0x2853df._0x18ee00)](_0x4cbe7b[_0x5d6267(_0x2853df._0xcbd175)], {
|
|
907
|
+
'payloadJson': _0x4cbe7b['payloadJson'],
|
|
908
|
+
'seq': _0x4cbe7b[_0x5d6267(0xe4)]
|
|
909
|
+
}), _0x2b954a[_0x5d6267(0x19e)](_0x2dfa30, _0x40fc69);
|
|
910
|
+
}
|
|
911
|
+
const _0x239abc = [];
|
|
912
|
+
for (const _0x2b212e of _0x2b954a[_0x5d6267(_0x2853df._0x1f899f)]()) {
|
|
913
|
+
const {
|
|
914
|
+
channelId: _0x5ba67f,
|
|
915
|
+
threadId: _0x14dc14,
|
|
916
|
+
rootMessageId: _0x4e9d30,
|
|
917
|
+
threadNumber: _0x540019,
|
|
918
|
+
aggregateIds: _0x15ec62,
|
|
919
|
+
isThreadReply: _0x191466,
|
|
920
|
+
entries: _0x4a9fc3
|
|
921
|
+
} = _0x2b212e, _0x78121f = _0x581c43[_0x5d6267(0x1b9)](_0x5ba67f), _0x276003 = _0x78121f?.['name'] ?? _0x5ba67f, _0x1c0dd4 = _0x78121f?.['kind'] === 'dm' ? _0x5d6267(_0x2853df._0x201dcc) + _0x276003 : '#' + _0x276003, _0x1ca277 = {
|
|
922
|
+
'channelTarget': _0x1c0dd4,
|
|
923
|
+
'rootMessageId': _0x4e9d30,
|
|
924
|
+
'threadId': _0x14dc14,
|
|
925
|
+
'threadNumber': _0x540019
|
|
926
|
+
}, _0x27acaa = await _0x1850bf({
|
|
927
|
+
'channelId': _0x5ba67f,
|
|
928
|
+
'channelTarget': _0x1c0dd4,
|
|
929
|
+
'limit': Math['max'](_0x15ec62[_0x5d6267(0x1c2)], 0x32),
|
|
930
|
+
'threadId': _0x14dc14
|
|
931
|
+
}), _0x3beed2 = new Map(_0x27acaa['messages'][_0x5d6267(0x207)](_0x24adec => [
|
|
932
|
+
_0x24adec[_0x5d6267(0x19b)],
|
|
933
|
+
_0x24adec
|
|
934
|
+
])), _0x3a20fe = _0x14dc14 ? _0x32819f(_0x1ca277) : _0x1c0dd4, _0x4c3306 = _0x39ac52 ? _0x191466 && _0x3f6e02(_0x39ac52, _0x1ca277) : !![], _0x15aefb = _0x191466 ? _0x4c3306 && _0x39ac52 ? _0x39ac52 : _0x3a20fe : _0x1c0dd4;
|
|
935
|
+
for (const _0x8ea1e0 of _0x15ec62) {
|
|
936
|
+
if (!_0x4c3306)
|
|
937
|
+
continue;
|
|
938
|
+
const _0x5d969c = _0x4a9fc3['get'](_0x8ea1e0), _0x3103ec = _0x5d969c ? asRecord(_0x5d969c[_0x5d6267(_0x2853df._0x4c51d2)]) : void 0x0, _0x3b1c45 = _0x3103ec?.[_0x5d6267(_0x2853df._0x2de85)] === _0x5d6267(_0x2853df._0x4158bf);
|
|
939
|
+
if (_0xa8c34b && _0x3b1c45)
|
|
940
|
+
continue;
|
|
941
|
+
const _0x2c0540 = _0x3beed2['get'](_0x8ea1e0);
|
|
942
|
+
if (_0x2c0540) {
|
|
943
|
+
_0x239abc[_0x5d6267(0x1c3)]({
|
|
944
|
+
'attachments': _0x2c0540[_0x5d6267(0x148)],
|
|
945
|
+
'content': _0x2c0540[_0x5d6267(0x160)],
|
|
946
|
+
'createdAt': _0x2c0540['createdAt'],
|
|
947
|
+
..._0x2c0540[_0x5d6267(_0x2853df._0x5cd969)] ? { 'kind': _0x2c0540[_0x5d6267(0x212)] } : {},
|
|
948
|
+
'messageId': _0x2c0540['messageId'],
|
|
949
|
+
'senderName': _0x2c0540[_0x5d6267(_0x2853df._0x48b3ec)],
|
|
950
|
+
'senderType': _0x2c0540['senderType'],
|
|
951
|
+
'target': _0x15aefb,
|
|
952
|
+
..._0x3b1c45 ? { 'targetedTask': !![] } : {}
|
|
953
|
+
});
|
|
954
|
+
continue;
|
|
955
|
+
}
|
|
956
|
+
if (_0x5d969c) {
|
|
957
|
+
const _0x3b89f2 = typeof _0x3103ec?.['senderParticipantId'] === 'string' ? _0x3103ec[_0x5d6267(0x1ed)] : '', _0x4b03ac = typeof _0x3103ec?.['bodyMarkdown'] === _0x5d6267(0xd6) ? _0x3103ec[_0x5d6267(_0x2853df._0x3650a1)] : '', _0x4ab4c1 = typeof _0x3103ec?.['kind'] === _0x5d6267(0xd6) && _0x3103ec[_0x5d6267(_0x2853df._0x19f2f6)] !== _0x5d6267(_0x2853df._0x2ce423) ? _0x3103ec['kind'] : void 0x0;
|
|
958
|
+
_0x3b89f2 && _0x4b03ac && _0x239abc[_0x5d6267(_0x2853df._0x2eff3f)]({
|
|
959
|
+
'attachments': [],
|
|
960
|
+
'content': _0x4b03ac,
|
|
961
|
+
'createdAt': new Date()[_0x5d6267(_0x2853df._0x53a408)](),
|
|
962
|
+
..._0x4ab4c1 ? { 'kind': _0x4ab4c1 } : {},
|
|
963
|
+
'messageId': _0x8ea1e0,
|
|
964
|
+
'senderName': _0x2c70c2(_0x3b89f2, _0x541e26),
|
|
965
|
+
'senderType': _0x30ce4d(_0x3b89f2, _0x541e26),
|
|
966
|
+
'target': _0x15aefb,
|
|
967
|
+
..._0x3b1c45 ? { 'targetedTask': !![] } : {}
|
|
968
|
+
});
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
}
|
|
972
|
+
if (_0x19b935 > 0x0) {
|
|
973
|
+
if (_0x33080b)
|
|
974
|
+
await _0x4ef073(_0x19b935);
|
|
975
|
+
else
|
|
976
|
+
_0x556253 && await _0x259e2c(_0x19b935);
|
|
977
|
+
}
|
|
978
|
+
return _0x19b935 > _0x140e64 && (_0x140e64 = _0x19b935), { 'messages': _0x39ac52 ? _0x239abc : _0xa8c34b ? _0x239abc[_0x5d6267(_0x2853df._0x3b9f6c)](_0x499b7a => _0x499b7a[_0x5d6267(0x1cf)] !== !![]) : _0x239abc };
|
|
979
|
+
}
|
|
980
|
+
};
|
|
981
|
+
}
|
|
982
|
+
function toLocalTime(_0x44999a) {
|
|
983
|
+
const _0x1608dc = {
|
|
984
|
+
_0x45cb2e: 0x106,
|
|
985
|
+
_0x48f2a7: 0x143,
|
|
986
|
+
_0x184af7: 0x142
|
|
987
|
+
}, _0x1fe652 = _0x30157b, _0x1c61c9 = new Date(_0x44999a);
|
|
988
|
+
if (Number[_0x1fe652(_0x1608dc._0x45cb2e)](_0x1c61c9[_0x1fe652(_0x1608dc._0x48f2a7)]()))
|
|
989
|
+
return _0x44999a;
|
|
990
|
+
const _0x21e2f8 = _0x1b5e06 => String(_0x1b5e06)['padStart'](0x2, '0');
|
|
991
|
+
return _0x1c61c9[_0x1fe652(0x167)]() + '-' + _0x21e2f8(_0x1c61c9[_0x1fe652(0x22e)]() + 0x1) + '-' + _0x21e2f8(_0x1c61c9[_0x1fe652(0x13c)]()) + '\x20' + _0x21e2f8(_0x1c61c9[_0x1fe652(_0x1608dc._0x184af7)]()) + ':' + _0x21e2f8(_0x1c61c9['getMinutes']()) + ':' + _0x21e2f8(_0x1c61c9[_0x1fe652(0x119)]());
|
|
992
|
+
}
|
|
993
|
+
function formatAttachmentSuffix(_0x2d46c9) {
|
|
994
|
+
const _0x5206da = {
|
|
995
|
+
_0x4210fd: 0x1c2,
|
|
996
|
+
_0x16f45f: 0x207,
|
|
997
|
+
_0x31cb57: 0x1c4
|
|
998
|
+
}, _0x44639e = _0x30157b;
|
|
999
|
+
if (!_0x2d46c9 || _0x2d46c9[_0x44639e(_0x5206da._0x4210fd)] === 0x0)
|
|
1000
|
+
return '';
|
|
1001
|
+
return '\x20[' + _0x2d46c9[_0x44639e(0x1c2)] + _0x44639e(0x1e2) + (_0x2d46c9['length'] > 0x1 ? 's' : '') + ':\x20' + _0x2d46c9[_0x44639e(_0x5206da._0x16f45f)](_0x3650e5 => _0x3650e5['filename'] + _0x44639e(0x24b) + _0x3650e5['id'] + ')')['join'](',\x20') + _0x44639e(_0x5206da._0x31cb57);
|
|
1002
|
+
}
|
|
1003
|
+
function formatCheckMessages(_0xa771fb) {
|
|
1004
|
+
const _0x15fc8c = {
|
|
1005
|
+
_0x5ccca1: 0x1c2,
|
|
1006
|
+
_0x1f851f: 0x207
|
|
1007
|
+
}, _0x3c0e94 = {
|
|
1008
|
+
_0x3dbe23: 0x178,
|
|
1009
|
+
_0x5cf746: 0x144,
|
|
1010
|
+
_0x5c401d: 0x212,
|
|
1011
|
+
_0x5bdd52: 0x223,
|
|
1012
|
+
_0x2bf58f: 0x172,
|
|
1013
|
+
_0x12cc74: 0x162,
|
|
1014
|
+
_0x2d50f6: 0x19b,
|
|
1015
|
+
_0x4df2b7: 0x239,
|
|
1016
|
+
_0x5a5cda: 0x148
|
|
1017
|
+
}, _0x4b98c8 = _0x30157b;
|
|
1018
|
+
if (_0xa771fb[_0x4b98c8(_0x15fc8c._0x5ccca1)] === 0x0)
|
|
1019
|
+
return _0x4b98c8(0x10a);
|
|
1020
|
+
return _0xa771fb[_0x4b98c8(_0x15fc8c._0x1f851f)](_0x2cd17e => {
|
|
1021
|
+
const _0x23214a = _0x4b98c8, _0x10b5a5 = _0x2cd17e['senderType'] === _0x23214a(_0x3c0e94._0x3dbe23) ? _0x23214a(_0x3c0e94._0x5cf746) : '', _0xeab4c5 = _0x2cd17e['kind'] && _0x2cd17e[_0x23214a(_0x3c0e94._0x5c401d)] !== 'chat' ? _0x23214a(0x22c) + _0x2cd17e[_0x23214a(0x212)] : '';
|
|
1022
|
+
return _0x23214a(_0x3c0e94._0x5bdd52) + _0x2cd17e[_0x23214a(_0x3c0e94._0x2bf58f)] + _0x23214a(_0x3c0e94._0x12cc74) + _0x2cd17e[_0x23214a(_0x3c0e94._0x2d50f6)][_0x23214a(0x10b)](0x0, 0x8) + '\x20time=' + toLocalTime(_0x2cd17e['createdAt']) + _0x10b5a5 + _0xeab4c5 + ']\x20@' + _0x2cd17e[_0x23214a(_0x3c0e94._0x4df2b7)] + ':\x20' + _0x2cd17e[_0x23214a(0x160)] + formatAttachmentSuffix(_0x2cd17e[_0x23214a(_0x3c0e94._0x5a5cda)]);
|
|
1023
|
+
})['join']('\x0a');
|
|
1024
|
+
}
|
|
1025
|
+
function formatHistory(_0x4ec8e3) {
|
|
1026
|
+
const _0x4a75c9 = {
|
|
1027
|
+
_0x30ca1f: 0x15d,
|
|
1028
|
+
_0xadc61f: 0x1c2,
|
|
1029
|
+
_0x46d4cd: 0x1f8,
|
|
1030
|
+
_0x58dc86: 0x1a9,
|
|
1031
|
+
_0x2bc134: 0x1af,
|
|
1032
|
+
_0x427908: 0x16e,
|
|
1033
|
+
_0x215f38: 0x136,
|
|
1034
|
+
_0x291531: 0xee,
|
|
1035
|
+
_0x259e7b: 0x1c2
|
|
1036
|
+
}, _0x10c2c6 = {
|
|
1037
|
+
_0x5b4792: 0x19b,
|
|
1038
|
+
_0x34f5d5: 0x186,
|
|
1039
|
+
_0x103ba5: 0x239,
|
|
1040
|
+
_0x519cb2: 0x160
|
|
1041
|
+
}, _0x3dada6 = _0x30157b;
|
|
1042
|
+
if (_0x4ec8e3[_0x3dada6(_0x4a75c9._0x30ca1f)][_0x3dada6(_0x4a75c9._0xadc61f)] === 0x0)
|
|
1043
|
+
return '##\x20Message\x20History\x20for\x20' + _0x4ec8e3[_0x3dada6(0x225)] + _0x3dada6(_0x4a75c9._0x46d4cd);
|
|
1044
|
+
const _0x31f5b5 = _0x4ec8e3[_0x3dada6(_0x4a75c9._0x30ca1f)]['map'](_0x7f575a => {
|
|
1045
|
+
const _0x2b468f = _0x3dada6, _0xb38c1f = _0x7f575a['senderType'] === _0x2b468f(0x178) ? '\x20type=agent' : '', _0x3ccf9e = _0x7f575a['kind'] && _0x7f575a[_0x2b468f(0x212)] !== _0x2b468f(0x13f) ? _0x2b468f(0x22c) + _0x7f575a[_0x2b468f(0x212)] : '';
|
|
1046
|
+
return _0x2b468f(0x1f2) + _0x7f575a['seq'] + '\x20msg=' + _0x7f575a[_0x2b468f(_0x10c2c6._0x5b4792)] + _0x2b468f(_0x10c2c6._0x34f5d5) + toLocalTime(_0x7f575a['createdAt']) + _0xb38c1f + _0x3ccf9e + ']\x20@' + _0x7f575a[_0x2b468f(_0x10c2c6._0x103ba5)] + ':\x20' + _0x7f575a[_0x2b468f(_0x10c2c6._0x519cb2)] + formatAttachmentSuffix(_0x7f575a[_0x2b468f(0x148)]);
|
|
1047
|
+
})['join']('\x0a'), _0x3d11b3 = _0x4ec8e3[_0x3dada6(_0x4a75c9._0x58dc86)] && _0x4ec8e3['nextCursor'] ? _0x3dada6(_0x4a75c9._0x2bc134) + _0x4ec8e3[_0x3dada6(0x15d)][_0x3dada6(0x1c2)] + _0x3dada6(_0x4a75c9._0x427908) + _0x4ec8e3['nextCursor'] + _0x3dada6(_0x4a75c9._0x215f38) : '';
|
|
1048
|
+
return _0x3dada6(_0x4a75c9._0x291531) + _0x4ec8e3['channel'] + '\x20(' + _0x4ec8e3[_0x3dada6(_0x4a75c9._0x30ca1f)][_0x3dada6(_0x4a75c9._0x259e7b)] + '\x20messages)\x0a\x0a' + _0x31f5b5 + _0x3d11b3;
|
|
1049
|
+
}
|
|
1050
|
+
function formatServerDirectory(_0x7f8623) {
|
|
1051
|
+
const _0x876e58 = {
|
|
1052
|
+
_0x378691: 0x1a8,
|
|
1053
|
+
_0x370f5e: 0x1c2,
|
|
1054
|
+
_0x1ebf62: 0x207,
|
|
1055
|
+
_0x12a663: 0x1b7,
|
|
1056
|
+
_0x4b4b31: 0xfb,
|
|
1057
|
+
_0x5813cd: 0x207,
|
|
1058
|
+
_0x2af2b3: 0x209,
|
|
1059
|
+
_0x48c008: 0x21e,
|
|
1060
|
+
_0x155030: 0x210
|
|
1061
|
+
}, _0x325001 = _0x30157b, _0x2971ac = _0x7f8623[_0x325001(_0x876e58._0x378691)][_0x325001(_0x876e58._0x370f5e)] > 0x0 ? _0x7f8623[_0x325001(0x1a8)][_0x325001(_0x876e58._0x1ebf62)](_0x56f21e => _0x56f21e['description'] ? _0x325001(0x1f3) + _0x56f21e[_0x325001(0x23b)] + _0x325001(0xe3) + _0x56f21e[_0x325001(0x1cd)] : _0x325001(0x1f3) + _0x56f21e[_0x325001(0x23b)])[_0x325001(0xfb)]('\x0a') : '(none)', _0x5a2750 = _0x7f8623['agents']['length'] > 0x0 ? _0x7f8623[_0x325001(_0x876e58._0x12a663)]['map'](_0x5b7e72 => _0x325001(0x197) + _0x5b7e72[_0x325001(0x23b)])[_0x325001(_0x876e58._0x4b4b31)]('\x0a') : _0x325001(0x232), _0xe030f9 = _0x7f8623[_0x325001(0x1f7)]['length'] > 0x0 ? _0x7f8623[_0x325001(0x1f7)][_0x325001(_0x876e58._0x5813cd)](_0x156333 => _0x325001(0x197) + _0x156333[_0x325001(0x23b)])[_0x325001(0xfb)]('\x0a') : _0x325001(0x232);
|
|
1062
|
+
return [
|
|
1063
|
+
'##\x20Server:\x20' + _0x7f8623['serverName'],
|
|
1064
|
+
'',
|
|
1065
|
+
_0x325001(_0x876e58._0x2af2b3),
|
|
1066
|
+
_0x2971ac,
|
|
1067
|
+
'',
|
|
1068
|
+
_0x325001(_0x876e58._0x48c008),
|
|
1069
|
+
_0x5a2750,
|
|
1070
|
+
'',
|
|
1071
|
+
_0x325001(_0x876e58._0x155030),
|
|
1072
|
+
_0xe030f9
|
|
1073
|
+
]['join']('\x0a');
|
|
1074
|
+
}
|
|
1075
|
+
function _0x5bbb(_0x287e65, _0x4c487a) {
|
|
1076
|
+
_0x287e65 = _0x287e65 - 0xbb;
|
|
1077
|
+
const _0x20835e = _0x2083();
|
|
1078
|
+
let _0x5bbb97 = _0x20835e[_0x287e65];
|
|
1079
|
+
if (_0x5bbb['eoGjDa'] === undefined) {
|
|
1080
|
+
var _0x898cf3 = function (_0x233653) {
|
|
1081
|
+
const _0x61e6fd = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
1082
|
+
let _0x34ca8e = '', _0x4475e8 = '';
|
|
1083
|
+
for (let _0x4b54d9 = 0x0, _0x178312, _0x1f3bf8, _0x2803a4 = 0x0; _0x1f3bf8 = _0x233653['charAt'](_0x2803a4++); ~_0x1f3bf8 && (_0x178312 = _0x4b54d9 % 0x4 ? _0x178312 * 0x40 + _0x1f3bf8 : _0x1f3bf8, _0x4b54d9++ % 0x4) ? _0x34ca8e += String['fromCharCode'](0xff & _0x178312 >> (-0x2 * _0x4b54d9 & 0x6)) : 0x0) {
|
|
1084
|
+
_0x1f3bf8 = _0x61e6fd['indexOf'](_0x1f3bf8);
|
|
1085
|
+
}
|
|
1086
|
+
for (let _0x1f47c2 = 0x0, _0x3088f4 = _0x34ca8e['length']; _0x1f47c2 < _0x3088f4; _0x1f47c2++) {
|
|
1087
|
+
_0x4475e8 += '%' + ('00' + _0x34ca8e['charCodeAt'](_0x1f47c2)['toString'](0x10))['slice'](-0x2);
|
|
1088
|
+
}
|
|
1089
|
+
return decodeURIComponent(_0x4475e8);
|
|
1090
|
+
};
|
|
1091
|
+
_0x5bbb['QmSoKS'] = _0x898cf3, _0x5bbb['EklwlC'] = {}, _0x5bbb['eoGjDa'] = !![];
|
|
1092
|
+
}
|
|
1093
|
+
const _0x1e44c4 = _0x20835e[0x0], _0x5732e5 = _0x287e65 + _0x1e44c4, _0x353657 = _0x5bbb['EklwlC'][_0x5732e5];
|
|
1094
|
+
return !_0x353657 ? (_0x5bbb97 = _0x5bbb['QmSoKS'](_0x5bbb97), _0x5bbb['EklwlC'][_0x5732e5] = _0x5bbb97) : _0x5bbb97 = _0x353657, _0x5bbb97;
|
|
1095
|
+
}
|
|
1096
|
+
function formatUploadResult(_0x276add) {
|
|
1097
|
+
const _0x545dfa = {
|
|
1098
|
+
_0x418c0f: 0x1d6,
|
|
1099
|
+
_0x1c01dd: 0x15c,
|
|
1100
|
+
_0x1abd9b: 0x1f4,
|
|
1101
|
+
_0x2d2cf: 0x1b4,
|
|
1102
|
+
_0x179bae: 0x21a
|
|
1103
|
+
}, _0x4b33c6 = _0x30157b;
|
|
1104
|
+
return _0x4b33c6(_0x545dfa._0x418c0f) + _0x276add[_0x4b33c6(_0x545dfa._0x1c01dd)] + '\x20(' + (_0x276add[_0x4b33c6(0x1c7)] / 0x400)[_0x4b33c6(_0x545dfa._0x1abd9b)](0x1) + _0x4b33c6(_0x545dfa._0x2d2cf) + _0x276add[_0x4b33c6(_0x545dfa._0x179bae)] + _0x4b33c6(0x21f);
|
|
1105
|
+
}
|
|
1106
|
+
function formatViewFileResult(_0x98828f, _0x273389) {
|
|
1107
|
+
const _0x35d024 = { _0x188888: 0x150 }, _0x319a17 = _0x30157b;
|
|
1108
|
+
return _0x273389 ? 'File\x20already\x20cached\x20at:\x20' + _0x98828f : _0x319a17(_0x35d024._0x188888) + _0x98828f;
|
|
1109
|
+
}
|
|
1110
|
+
function formatTaskList(_0x3b703c, _0x5a1a21) {
|
|
1111
|
+
const _0x2623f8 = {
|
|
1112
|
+
_0x56b6ab: 0x1c2,
|
|
1113
|
+
_0x19ae60: 0xfb
|
|
1114
|
+
}, _0x41cb99 = {
|
|
1115
|
+
_0x1d19e3: 0x175,
|
|
1116
|
+
_0x231670: 0x16b,
|
|
1117
|
+
_0x1ee6ea: 0x1c8,
|
|
1118
|
+
_0x38a68d: 0x12c,
|
|
1119
|
+
_0x38ce5b: 0x240
|
|
1120
|
+
}, _0x109bfb = _0x30157b;
|
|
1121
|
+
if (_0x3b703c[_0x109bfb(_0x2623f8._0x56b6ab)] === 0x0)
|
|
1122
|
+
return _0x109bfb(0x1a1);
|
|
1123
|
+
return _0x3b703c[_0x109bfb(0x207)](_0x1e5e02 => {
|
|
1124
|
+
const _0x269cb5 = _0x109bfb, _0xb28635 = _0x1e5e02[_0x269cb5(0x16b)] == null ? '(legacy)' : _0x1e5e02[_0x269cb5(_0x41cb99._0x1d19e3)] != null ? '#' + _0x1e5e02[_0x269cb5(0x16b)] + '.' + _0x1e5e02[_0x269cb5(_0x41cb99._0x1d19e3)] : '#' + _0x1e5e02[_0x269cb5(_0x41cb99._0x231670)], _0x9a371f = _0x1e5e02[_0x269cb5(0x19b)] ? _0x269cb5(_0x41cb99._0x1ee6ea) + _0x1e5e02['messageId'] : '', _0x47ca28 = _0x5a1a21 && _0x1e5e02[_0x269cb5(_0x41cb99._0x231670)] != null && !_0x1e5e02[_0x269cb5(0x175)] && _0x5a1a21['has'](_0x1e5e02[_0x269cb5(0x16b)]) ? _0x269cb5(_0x41cb99._0x38a68d) : '', _0x35bcbd = _0x1e5e02['childrenTotal'] != null && _0x1e5e02[_0x269cb5(0x108)] > 0x0 ? '\x20(' + (_0x1e5e02[_0x269cb5(0xbd)] ?? 0x0) + '/' + _0x1e5e02[_0x269cb5(0x108)] + '\x20done)' : '';
|
|
1125
|
+
return _0xb28635 + '\x20[' + _0x1e5e02[_0x269cb5(_0x41cb99._0x38ce5b)] + ']\x20' + _0x1e5e02['title'] + _0x35bcbd + _0x9a371f + _0x47ca28;
|
|
1126
|
+
})[_0x109bfb(_0x2623f8._0x19ae60)]('\x0a');
|
|
1127
|
+
}
|
|
1128
|
+
function formatCreatedTasks(_0x26a1ae) {
|
|
1129
|
+
const _0x412548 = { _0x4c9466: 0xd3 }, _0x588ad8 = {
|
|
1130
|
+
_0x45092e: 0x175,
|
|
1131
|
+
_0x571447: 0x175,
|
|
1132
|
+
_0x4799b1: 0x16b,
|
|
1133
|
+
_0x3cfcd4: 0x19b,
|
|
1134
|
+
_0x14893f: 0x1d7
|
|
1135
|
+
}, _0x644416 = _0x30157b;
|
|
1136
|
+
if (_0x26a1ae[_0x644416(0x1c2)] === 0x0)
|
|
1137
|
+
return _0x644416(_0x412548._0x4c9466);
|
|
1138
|
+
return _0x26a1ae['map'](_0x260ceb => {
|
|
1139
|
+
const _0x143f25 = _0x644416, _0x1b515c = _0x260ceb['taskNumber'] == null ? _0x143f25(0x224) : _0x260ceb[_0x143f25(_0x588ad8._0x45092e)] != null ? '#' + _0x260ceb['taskNumber'] + '.' + _0x260ceb[_0x143f25(_0x588ad8._0x571447)] : '#' + _0x260ceb[_0x143f25(_0x588ad8._0x4799b1)], _0x43a533 = _0x260ceb[_0x143f25(0x19b)] ? _0x143f25(0x1c8) + _0x260ceb[_0x143f25(_0x588ad8._0x3cfcd4)] : '';
|
|
1140
|
+
return _0x1b515c + '\x20' + _0x260ceb[_0x143f25(_0x588ad8._0x14893f)] + _0x43a533;
|
|
1141
|
+
})[_0x644416(0xfb)]('\x0a');
|
|
1142
|
+
}
|
|
1143
|
+
function formatClaimTaskLabel(_0x3a4e1c, _0x4bfbd6) {
|
|
1144
|
+
const _0x202b93 = { _0x2b9bed: 0x224 }, _0x47f655 = _0x30157b;
|
|
1145
|
+
if (_0x3a4e1c == null)
|
|
1146
|
+
return _0x47f655(_0x202b93._0x2b9bed);
|
|
1147
|
+
return _0x4bfbd6 != null ? '#' + _0x3a4e1c + '.' + _0x4bfbd6 : '#' + _0x3a4e1c;
|
|
1148
|
+
}
|
|
1149
|
+
function formatClaimTaskResults(_0x316ca8) {
|
|
1150
|
+
const _0x4830d4 = { _0x9d959: 0x1a5 }, _0x43979a = {
|
|
1151
|
+
_0x32810b: 0x19b,
|
|
1152
|
+
_0xc29f14: 0x237,
|
|
1153
|
+
_0x2f2cc7: 0x1fc,
|
|
1154
|
+
_0x4e2e05: 0xe8,
|
|
1155
|
+
_0x48d073: 0x10c,
|
|
1156
|
+
_0x2cdf4f: 0x141,
|
|
1157
|
+
_0x3ca70e: 0x22a,
|
|
1158
|
+
_0x2dc604: 0x10d,
|
|
1159
|
+
_0x3eda97: 0x179,
|
|
1160
|
+
_0x54ab1c: 0x15b,
|
|
1161
|
+
_0x550616: 0x19b,
|
|
1162
|
+
_0x505e6b: 0x105
|
|
1163
|
+
}, _0x2d48b8 = _0x30157b;
|
|
1164
|
+
if (_0x316ca8['length'] === 0x0)
|
|
1165
|
+
return _0x2d48b8(_0x4830d4._0x9d959);
|
|
1166
|
+
return _0x316ca8['map'](_0x100286 => {
|
|
1167
|
+
const _0x5ab0dc = _0x2d48b8;
|
|
1168
|
+
if (_0x100286[_0x5ab0dc(0xdd)]) {
|
|
1169
|
+
const _0x2c3387 = formatClaimTaskLabel(_0x100286['taskNumber'], _0x100286[_0x5ab0dc(0x175)]), _0x26eb63 = _0x100286[_0x5ab0dc(0x19b)] ? _0x5ab0dc(0x1c8) + _0x100286[_0x5ab0dc(_0x43979a._0x32810b)] : '';
|
|
1170
|
+
if (_0x100286[_0x5ab0dc(_0x43979a._0xc29f14)]) {
|
|
1171
|
+
const _0x3bac31 = [
|
|
1172
|
+
_0x5ab0dc(0x20b),
|
|
1173
|
+
_0x100286[_0x5ab0dc(0x10e)] ? _0x5ab0dc(0xd1) : null,
|
|
1174
|
+
_0x100286[_0x5ab0dc(_0x43979a._0x2f2cc7)] ? _0x5ab0dc(0x135) + _0x100286[_0x5ab0dc(_0x43979a._0x2f2cc7)] : null,
|
|
1175
|
+
_0x100286[_0x5ab0dc(0x184)] ? _0x5ab0dc(_0x43979a._0x4e2e05) + _0x100286[_0x5ab0dc(0x184)] : null,
|
|
1176
|
+
_0x100286[_0x5ab0dc(0x141)] ? _0x5ab0dc(_0x43979a._0x48d073) + _0x100286[_0x5ab0dc(_0x43979a._0x2cdf4f)] : null
|
|
1177
|
+
][_0x5ab0dc(_0x43979a._0x3ca70e)](Boolean)[_0x5ab0dc(0xfb)]('\x20');
|
|
1178
|
+
return _0x2c3387 + '\x20claimed' + _0x26eb63 + '\x20' + _0x3bac31 + _0x5ab0dc(_0x43979a._0x2dc604);
|
|
1179
|
+
}
|
|
1180
|
+
if (_0x100286['executionMode'] === _0x5ab0dc(0x11d))
|
|
1181
|
+
return _0x2c3387 + _0x5ab0dc(0x123) + _0x26eb63 + '\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).';
|
|
1182
|
+
const _0x516a6c = _0x100286[_0x5ab0dc(_0x43979a._0x3eda97)] ? _0x5ab0dc(_0x43979a._0x54ab1c) + _0x100286[_0x5ab0dc(0x179)] : '';
|
|
1183
|
+
return _0x2c3387 + _0x5ab0dc(0x123) + _0x26eb63 + _0x516a6c;
|
|
1184
|
+
}
|
|
1185
|
+
const _0x5a3166 = _0x100286['taskNumber'] == null ? _0x100286[_0x5ab0dc(_0x43979a._0x550616)] ?? _0x5ab0dc(_0x43979a._0x505e6b) : formatClaimTaskLabel(_0x100286['taskNumber'], _0x100286[_0x5ab0dc(0x175)]);
|
|
1186
|
+
return _0x5a3166 + _0x5ab0dc(0x1fa) + (_0x100286[_0x5ab0dc(0x14f)] ?? _0x5ab0dc(0x19c));
|
|
1187
|
+
})[_0x2d48b8(0xfb)]('\x0a');
|
|
1188
|
+
}
|
|
1189
|
+
function formatUnclaimTaskResult(_0x5771d7) {
|
|
1190
|
+
const _0x4ec296 = { _0x43b982: 0x240 }, _0x2cd33e = _0x30157b, _0x2f7cff = _0x5771d7[_0x2cd33e(0x16b)] == null ? '(legacy)' : _0x5771d7['subtaskNumber'] != null ? '#' + _0x5771d7['taskNumber'] + '.' + _0x5771d7['subtaskNumber'] : '#' + _0x5771d7[_0x2cd33e(0x16b)];
|
|
1191
|
+
return _0x2f7cff + _0x2cd33e(0x124) + _0x5771d7[_0x2cd33e(_0x4ec296._0x43b982)];
|
|
1192
|
+
}
|
|
1193
|
+
function formatUpdateTaskStatusResult(_0x32976a) {
|
|
1194
|
+
const _0x4df7fd = {
|
|
1195
|
+
_0x51671e: 0x224,
|
|
1196
|
+
_0x46308e: 0x16b,
|
|
1197
|
+
_0xf038c4: 0x240,
|
|
1198
|
+
_0x2b4578: 0x242
|
|
1199
|
+
}, _0x24a8e7 = _0x30157b, _0xad9ca0 = _0x32976a[_0x24a8e7(0x16b)] == null ? _0x24a8e7(_0x4df7fd._0x51671e) : _0x32976a[_0x24a8e7(0x175)] != null ? '#' + _0x32976a[_0x24a8e7(_0x4df7fd._0x46308e)] + '.' + _0x32976a[_0x24a8e7(0x175)] : '#' + _0x32976a[_0x24a8e7(0x16b)], _0x1f38cd = _0xad9ca0 + '\x20status=' + _0x32976a['status'];
|
|
1200
|
+
if (_0x32976a[_0x24a8e7(_0x4df7fd._0xf038c4)] !== _0x24a8e7(_0x4df7fd._0x2b4578))
|
|
1201
|
+
return _0x1f38cd;
|
|
1202
|
+
return _0x1f38cd + _0x24a8e7(0x203);
|
|
1203
|
+
}
|
|
1204
|
+
function getChatBridgeToolDefinitions() {
|
|
1205
|
+
const _0x5f5bec = {
|
|
1206
|
+
_0x3094a3: 0x236,
|
|
1207
|
+
_0x176893: 0x127,
|
|
1208
|
+
_0x8fd696: 0x1e0,
|
|
1209
|
+
_0x17f507: 0x199,
|
|
1210
|
+
_0xfb5301: 0xe2,
|
|
1211
|
+
_0x9bbe91: 0x211,
|
|
1212
|
+
_0x4e6175: 0xff,
|
|
1213
|
+
_0x203235: 0x16d
|
|
1214
|
+
}, _0x35ca9f = _0x30157b;
|
|
1215
|
+
return [
|
|
1216
|
+
{ 'name': _0x35ca9f(_0x5f5bec._0x3094a3) },
|
|
1217
|
+
{ 'name': _0x35ca9f(_0x5f5bec._0x176893) },
|
|
1218
|
+
{ 'name': _0x35ca9f(0x11b) },
|
|
1219
|
+
{ 'name': _0x35ca9f(0x1bd) },
|
|
1220
|
+
{ 'name': _0x35ca9f(_0x5f5bec._0x8fd696) },
|
|
1221
|
+
{ 'name': _0x35ca9f(_0x5f5bec._0x17f507) },
|
|
1222
|
+
{ 'name': _0x35ca9f(_0x5f5bec._0xfb5301) },
|
|
1223
|
+
{ 'name': _0x35ca9f(0xf9) },
|
|
1224
|
+
{ 'name': _0x35ca9f(0x113) },
|
|
1225
|
+
{ 'name': _0x35ca9f(0x18a) },
|
|
1226
|
+
{ 'name': _0x35ca9f(0x16f) },
|
|
1227
|
+
{ 'name': _0x35ca9f(0xe6) },
|
|
1228
|
+
{ 'name': _0x35ca9f(_0x5f5bec._0x9bbe91) },
|
|
1229
|
+
{ 'name': _0x35ca9f(_0x5f5bec._0x4e6175) },
|
|
1230
|
+
{ 'name': _0x35ca9f(_0x5f5bec._0x203235) }
|
|
1231
|
+
];
|
|
1232
|
+
}
|
|
1233
|
+
function _0x2083() {
|
|
1234
|
+
const _0xb2c857 = [
|
|
1235
|
+
'DgHYzwfKu2HVCNrjza',
|
|
1236
|
+
'Bwf4',
|
|
1237
|
+
'mJCZnZm1mNP0AKzVqG',
|
|
1238
|
+
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
1239
|
+
'zNjVBq',
|
|
1240
|
+
'CMvHC29U',
|
|
1241
|
+
'rg93BMXVywrLzcb0BZOG',
|
|
1242
|
+
'CMvXDwvZDfvYBa',
|
|
1243
|
+
'D29YA19RzxK',
|
|
1244
|
+
'DgHYzwfK',
|
|
1245
|
+
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
1246
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxm',
|
|
1247
|
+
'DgfZA19Pza',
|
|
1248
|
+
'Dgv4Dc9WBgfPBG',
|
|
1249
|
+
'Dg9ju09tDhjPBMC',
|
|
1250
|
+
'BwvZC2fNzv9Pzhm',
|
|
1251
|
+
'ANnVBG',
|
|
1252
|
+
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxjYB3i9',
|
|
28
1253
|
'zMLSzw5HBwu',
|
|
29
|
-
'
|
|
30
|
-
'
|
|
31
|
-
'
|
|
1254
|
+
'BwvZC2fNzxm',
|
|
1255
|
+
'AgfZ',
|
|
1256
|
+
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
1257
|
+
'y29UDgvUDa',
|
|
1258
|
+
'iIbUB3qGzM91BMq',
|
|
1259
|
+
'ig1ZzZ0',
|
|
1260
|
+
'AhvTyw4',
|
|
1261
|
+
'DhLWzq',
|
|
1262
|
+
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
1263
|
+
'C3vIDgfZA19UDw1Izxi',
|
|
1264
|
+
'z2v0rNvSBfLLyxi',
|
|
1265
|
+
'zw50CMLLCW',
|
|
1266
|
+
'C2L6zq',
|
|
1267
|
+
'l3DVCMTLCNmVD2fPDgLUz19PBNb1Da',
|
|
1268
|
+
'DgfZA051BwjLCG',
|
|
1269
|
+
'y3vYC29Y',
|
|
1270
|
+
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
1271
|
+
'ig1LC3nHz2vZihnOB3DUlIbvC2uGyMvMB3jLpq',
|
|
1272
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
1273
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
1274
|
+
'ls1Hz2vUDc1Pza',
|
|
1275
|
+
'DgfYz2v0',
|
|
1276
|
+
'C2LNBMfS',
|
|
1277
|
+
'yxbWBgLJyxrPB24VEg1S',
|
|
1278
|
+
'C3vIDgfZA051BwjLCG',
|
|
1279
|
+
'lIbZDg9WtwfPBJ10CNvLigv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
1280
|
+
'zMLUzenHy2HLzfbHDgG',
|
|
1281
|
+
'ywDLBNq',
|
|
1282
|
+
'D29YA2vYsgfUzg9MzKvYCM9Y',
|
|
1283
|
+
'CgfYDgLJAxbHBNq',
|
|
1284
|
+
'D3nZoG',
|
|
1285
|
+
'ktSGz290ignOyw5UzwW9',
|
|
1286
|
+
'yxbWBgLJyxrPB24VEMLW',
|
|
1287
|
+
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
1288
|
+
'DgHYzwfKtNvTyMvY',
|
|
1289
|
+
'zgfLBw9Utg9JywXvCMW',
|
|
1290
|
+
'DgfZA0LK',
|
|
1291
|
+
'y3jLyxrLx3rHC2TZigzHAwXLza',
|
|
1292
|
+
'Dgv4Dc9TyxjRzg93BG',
|
|
1293
|
+
'DgHYzwfKvgfYz2v0',
|
|
1294
|
+
'yxbWBgLJyxrPB24VCgrM',
|
|
1295
|
+
'ihrPBwu9',
|
|
1296
|
+
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
1297
|
+
'CgfYDgLJAxbHBNrjza',
|
|
1298
|
+
'DhjPBq',
|
|
1299
|
+
'Dw5JBgfPBv90yxnR',
|
|
1300
|
+
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
1301
|
+
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
1302
|
+
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
1303
|
+
'mtC3ndy1CMDhsfD5',
|
|
1304
|
+
'mZa3odK2nM14yw12uG',
|
|
1305
|
+
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
1306
|
+
'yxjYyxK',
|
|
1307
|
+
'C2vZC2LVBKLK',
|
|
1308
|
+
'DgfZAW',
|
|
1309
|
+
'DgHYzwfKswq',
|
|
1310
|
+
'y2fJAgveAxi',
|
|
1311
|
+
'D29YA2vY',
|
|
1312
|
+
'lsba',
|
|
1313
|
+
'v29YA2vYici',
|
|
1314
|
+
'DMLLD19MAwXL',
|
|
1315
|
+
'AxngAw5PDgu',
|
|
1316
|
+
'BwvZC2fNzuLK',
|
|
1317
|
+
'y2XHAw0GzMfPBgvK',
|
|
1318
|
+
'l3jLy2vPDMu/',
|
|
1319
|
+
'C2v0',
|
|
1320
|
+
'y2XPzw50',
|
|
1321
|
+
'zgLZCg9ZAxrPB24',
|
|
1322
|
+
'tM8GDgfZA3mGzM91BMqU',
|
|
1323
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
1324
|
+
'Dw5JBgfPBvrHC2S',
|
|
1325
|
+
'B3jPz2LUywXgAwXLBMfTzq',
|
|
1326
|
+
'tM8GDgfZA3mGy2XHAw1Lzc4',
|
|
1327
|
+
'DxbSB2fKuhjLCgfYzxi',
|
|
1328
|
+
'Dg9tDhjPBMC',
|
|
1329
|
+
'y2HHBM5LBhm',
|
|
1330
|
+
'AgfZtw9Yzq',
|
|
1331
|
+
'mJqWnJC4mdjIBhjkzue',
|
|
1332
|
+
'AgLNAa',
|
|
1333
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
1334
|
+
'yxr0ywnOBwvUDenHy2HL',
|
|
1335
|
+
'ywz0zxi',
|
|
1336
|
+
'cGOTls0G',
|
|
1337
|
+
'D29YA2vYCW',
|
|
1338
|
+
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
1339
|
+
'BwvTyMvY',
|
|
1340
|
+
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
1341
|
+
's0iPcKf0DgfJAg1LBNqGsuq6ia',
|
|
1342
|
+
'DxjNzw50',
|
|
1343
|
+
'B2jQzwn0',
|
|
1344
|
+
'ywDLBNrZ',
|
|
1345
|
+
'zw50zxiTAgfUzg9MzIbMywLSzwq',
|
|
1346
|
+
'z2v0',
|
|
1347
|
+
'y2XHAw1FDgfZA3mGzMfPBgvK',
|
|
1348
|
+
'xsbaC3LZDgvToIbBy2XHAw0TAgfUzg9MzL0G',
|
|
1349
|
+
'zgfLBw9UqxbPs2v5',
|
|
32
1350
|
'BgLZDf9Zzxj2zxi',
|
|
33
|
-
'
|
|
34
|
-
'
|
|
35
|
-
'
|
|
1351
|
+
'nej6Egr4rG',
|
|
1352
|
+
'ywDLBNrjza',
|
|
1353
|
+
'zMLSzv9WyxrO',
|
|
1354
|
+
'D29YA2vYu2vZC2LVBKLK',
|
|
36
1355
|
'BgvUz3rO',
|
|
1356
|
+
'ChvZAa',
|
|
1357
|
+
'iokaLcb1C2uGDMLLD19MAwXLihrVihnLzv0',
|
|
1358
|
+
'Aw5FChjVz3jLC3m',
|
|
1359
|
+
'CMvJB3jK',
|
|
1360
|
+
'C2L6zuj5DgvZ',
|
|
1361
|
+
'ig1LC3nHz2u9',
|
|
1362
|
+
'vgHYzwfKihrHCMDLDdOG',
|
|
1363
|
+
'C29YDa',
|
|
1364
|
+
'Aw5KzxHpzG',
|
|
1365
|
+
'Dw5RBM93BG',
|
|
37
1366
|
'zgvZy3jPChrPB24',
|
|
38
|
-
'
|
|
39
|
-
'
|
|
40
|
-
'
|
|
41
|
-
'
|
|
1367
|
+
'ywDNCMvNyxrLswq',
|
|
1368
|
+
'DgfYz2v0zwruyxnR',
|
|
1369
|
+
'CMvHzeHPC3rVCNK',
|
|
1370
|
+
'DMLZAwjPBgL0Eq',
|
|
1371
|
+
'CMvWBgfJzq',
|
|
1372
|
+
'BgLZDf90yxnRCYbMywLSzwq',
|
|
1373
|
+
'twvZC2fNzsbZzw50ihrVia',
|
|
1374
|
+
'iJOGC3rHDhvZpq',
|
|
1375
|
+
'rMLSzsb1CgXVywrLzdOG',
|
|
1376
|
+
'DgL0Bgu',
|
|
1377
|
+
'zg06',
|
|
1378
|
+
'DgvZDa',
|
|
1379
|
+
'sw52ywXPzcaTlwLUAxrPywWTBgfZDc1ZzwvUlxnLCq',
|
|
1380
|
+
'CgfYC2vjBNq',
|
|
42
1381
|
'l3vWBg9Hza',
|
|
43
|
-
'
|
|
44
|
-
'
|
|
45
|
-
'
|
|
46
|
-
'
|
|
47
|
-
'
|
|
48
|
-
'
|
|
49
|
-
'
|
|
50
|
-
'
|
|
51
|
-
'
|
|
52
|
-
'
|
|
53
|
-
'
|
|
54
|
-
'zg0T',
|
|
55
|
-
'yM9KEvrLEhq',
|
|
56
|
-
'CgfYDgLJAxbHBNrjza',
|
|
57
|
-
'mZu2mdHsBMrmC0S',
|
|
58
|
-
'l3jLy2vPDMu',
|
|
59
|
-
'ywDLBNq',
|
|
60
|
-
'CgfYC2u',
|
|
61
|
-
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
62
|
-
'C2vX',
|
|
63
|
-
'ls1Zzxj2zxiTDxjS',
|
|
64
|
-
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
65
|
-
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
66
|
-
'D29YA2vYsgfUzg9MzG',
|
|
67
|
-
'l3jLC29SDMuTy2HHBM5LBa',
|
|
1382
|
+
'CM9VDe1LC3nHz2vjza',
|
|
1383
|
+
'l3rHC2TZ',
|
|
1384
|
+
'CMvZB2X2zvrHCMDLDa',
|
|
1385
|
+
'DxbSB2fKx2zPBgu',
|
|
1386
|
+
'l3nLBMq',
|
|
1387
|
+
'igf0DgfJAg1LBNq',
|
|
1388
|
+
'CMvZCg9UC2u',
|
|
1389
|
+
'yxr0ywnOBwvUDf9Pza',
|
|
1390
|
+
'C29Tzq',
|
|
1391
|
+
'AxnbyNnVBhv0zq',
|
|
1392
|
+
'yMfZzw5HBwu',
|
|
68
1393
|
'EM9K',
|
|
69
1394
|
'zgf0yq',
|
|
70
|
-
'ue9tva',
|
|
71
|
-
'DMfSDwu',
|
|
72
|
-
'BwvTyMvYCW',
|
|
73
|
-
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
74
|
-
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4GrM9Yihn1yNrHC2TZlcbHBhnVihbHC3mGC3vIDgfZA19UDw1IzxiU',
|
|
75
|
-
'DxjNzw50',
|
|
76
|
-
'C3rYAw5NAwz5',
|
|
77
|
-
'CMvWBgfJzq',
|
|
78
|
-
'DxbSB2fKx2zPBguGzMfPBgvK',
|
|
79
|
-
'igLUia',
|
|
80
|
-
'CM9VDe1LC3nHz2vjza',
|
|
81
|
-
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
82
|
-
'Dgv4Dc9TyxjRzg93BG',
|
|
83
|
-
'ChjVDg9JB2W',
|
|
84
|
-
'sw52ywXPzcaTlwLUAxrPywWTBgfZDc1ZzwvUlxnLCq',
|
|
85
|
-
'y2HHDa',
|
|
86
|
-
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
87
|
-
'D29YA19RzxK',
|
|
88
|
-
'CMvJB3jK',
|
|
89
|
-
'CNvUBMLUzW',
|
|
90
|
-
'y2HLy2TnzxnZywDLCW',
|
|
91
|
-
'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
|
|
92
|
-
'D29YA2vYtw9Kzq',
|
|
93
|
-
'l3DVCMTLCNmVCgfYAW',
|
|
94
|
-
'C2vUzf9TzxnZywDL',
|
|
95
|
-
'zgvZy3jPyMu',
|
|
96
|
-
'tM8GDgfZA3mGy3jLyxrLzc4',
|
|
97
|
-
'Dw5RBM93BG',
|
|
98
|
-
'ihr5Cgu9ywDLBNq',
|
|
99
|
-
'AxngAw5PDgu',
|
|
100
|
-
'y2XHAw1FDgfZA3mGzMfPBgvK',
|
|
101
|
-
'y3jLyxrLvgfZA3m',
|
|
102
|
-
'yxr0ywnOBwvUDhm',
|
|
103
|
-
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
104
|
-
's0iPcKf0DgfJAg1LBNqGsuq6ia',
|
|
105
|
-
'4PQG77IpifDpuKTfuIbbq1rjvKfuruqG4Ocuifn0B3aGquXmihDVCMSGB24GDgHPCYb0yxnRigLTBwvKAwf0zwX5lIbeBYbUB3qGC2vUzcbMDxj0AgvYig1LC3nHz2vZihrVihrOAxmGDgHYzwfKlG',
|
|
106
|
-
'BgLZDfrHC2TZ',
|
|
107
|
-
'y2HHBM5LBe5HBwu',
|
|
108
|
-
'DgHYzwfKu2HVCNrjza',
|
|
109
|
-
'A2LUza',
|
|
110
|
-
'DgHYzwfK',
|
|
111
|
-
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
112
|
-
'lMjPBG',
|
|
113
|
-
'ywjVCNrLza',
|
|
114
|
-
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
115
|
-
'y2HHBM5LBa',
|
|
116
|
-
'DhLWzq',
|
|
117
|
-
'yxnPzgu',
|
|
118
|
-
'Aw5FChjVz3jLC3m',
|
|
119
1395
|
'AgvHzgvYCW',
|
|
120
|
-
'
|
|
121
|
-
'
|
|
122
|
-
'
|
|
123
|
-
'
|
|
124
|
-
'
|
|
125
|
-
'
|
|
126
|
-
'
|
|
127
|
-
'l2zPBMLZAa',
|
|
128
|
-
'twLZC2LUzYaTlwrHzw1VBI1HCgKTA2v5',
|
|
129
|
-
'zw50CMLLCW',
|
|
130
|
-
'C2f2zq',
|
|
131
|
-
'ihn0yxr1CZ0',
|
|
132
|
-
'yxr0ywnOBwvUDeLKCW',
|
|
133
|
-
'Aw1Hz2uVANbLzW',
|
|
134
|
-
'ywrKrxzLBNrmAxn0zw5LCG',
|
|
135
|
-
'yxr0ywnOBwvUDenHy2HLrgLY',
|
|
136
|
-
'BwvKAxvT',
|
|
137
|
-
'Dg9VBa',
|
|
138
|
-
'y2fJAgveAxi',
|
|
139
|
-
'ywDNCMvNyxrLswq',
|
|
140
|
-
'C3rHDhvZ',
|
|
141
|
-
'Aw5KzxHpzG',
|
|
142
|
-
'yMfZzw5HBwu',
|
|
143
|
-
'zMLSDgvY',
|
|
144
|
-
'l3DVCMTLCNmVD2fPDgLUz19PBNb1Da',
|
|
145
|
-
'D29YA2vYtw9KzuvUywjSzwq',
|
|
146
|
-
'ntyWCgHVsufR',
|
|
147
|
-
'yxr0ywnOBwvUDenHy2HL',
|
|
148
|
-
'l3rHC2TZ',
|
|
149
|
-
'uefuq0G',
|
|
150
|
-
'iokaLca',
|
|
151
|
-
'mc4WlJa',
|
|
152
|
-
'cKLMihLVDxiGBwvTB3j5ig9YignOyw5UzwWGCNvSzxmGCMvXDwLYzsbYzxzPzxCSihnLBMqGysbTzxnZywDLig1LBNrPB25PBMCGDgHLihjLDMLLD2vYigjLzM9YzsbWyxjRAw5NlG',
|
|
153
|
-
'C2vUze1LC3nHz2u',
|
|
154
|
-
'Dg9tDhjPBMC',
|
|
1396
|
+
'y29UBMvJDa',
|
|
1397
|
+
'yxr0ywnOBwvUDf9Pzhm',
|
|
1398
|
+
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
1399
|
+
'yM9KEvrLEhq',
|
|
1400
|
+
'Aw1Hz2uVD2vICa',
|
|
1401
|
+
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
1402
|
+
'BgLZDfnLCNzLCG',
|
|
155
1403
|
'w3nLCt0',
|
|
156
1404
|
'lsaJ',
|
|
1405
|
+
'Dg9gAxHLza',
|
|
1406
|
+
'zxH0BMfTzq',
|
|
1407
|
+
'lcbJB250zw50lxr5Cgu9',
|
|
1408
|
+
'AhvTyw5Z',
|
|
157
1409
|
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
158
|
-
'
|
|
159
|
-
'
|
|
160
|
-
'
|
|
161
|
-
'
|
|
162
|
-
'
|
|
163
|
-
'
|
|
1410
|
+
'yxjNDG',
|
|
1411
|
+
'igzHAwXLzdOG',
|
|
1412
|
+
'B3b0Aw9UywW',
|
|
1413
|
+
'zxHLy3v0Aw9Utw9Kzq',
|
|
1414
|
+
'ls1KywvTB24TBg9JywWTDxjS',
|
|
1415
|
+
'twLZC2LUzYaTlwrHzw1VBI1HCgKTA2v5',
|
|
1416
|
+
'l2zPBMLZAa',
|
|
1417
|
+
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw5UB3qGy2XHAw0GyNKGBwvZC2fNzv9PzhmGkhrVCc1SzxzLBcbTzxnZywDLihbYB21VDgLVBIbPCYbTywLUlwfNzw50ig9UBhKPoYb1C2uGC3vIDgfZA19UDw1IzxjZigLUC2LKzsb5B3vYig93BIb0yxnRihrOCMvHzc4',
|
|
1418
|
+
'Bwf0y2Hoyw1Ltg93zxi',
|
|
1419
|
+
'CgfYC2u',
|
|
1420
|
+
'cKLMihLVDxiGBwvTB3j5ig9YignOyw5UzwWGCNvSzxmGCMvXDwLYzsbYzxzPzxCSihnLBMqGysbTzxnZywDLig1LBNrPB25PBMCGDgHLihjLDMLLD2vYigjLzM9YzsbWyxjRAw5NlG',
|
|
1421
|
+
'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
|
|
1422
|
+
'vgfZAZOG',
|
|
1423
|
+
'ls1ZzxnZAw9UlwLK',
|
|
1424
|
+
'BwfW',
|
|
1425
|
+
'pgvTChr5pG',
|
|
1426
|
+
'iYmJienOyw5UzwXZ',
|
|
1427
|
+
'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
|
|
1428
|
+
'D29YA2vYsgfUzg9MzJ10CNvL',
|
|
1429
|
+
'CxvLDwvK',
|
|
1430
|
+
'zgvZDhjVEwvK',
|
|
164
1431
|
'DgfZA3m',
|
|
165
|
-
'
|
|
166
|
-
'
|
|
167
|
-
'
|
|
168
|
-
'
|
|
169
|
-
'
|
|
170
|
-
'
|
|
1432
|
+
'BwvKAxvT',
|
|
1433
|
+
'iYmJieH1BwfUCW',
|
|
1434
|
+
'CgfYA193B3jRzxi',
|
|
1435
|
+
'A2LUza',
|
|
1436
|
+
'DgfYz2v0zwq',
|
|
1437
|
+
'Dg9KBW',
|
|
1438
|
+
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
1439
|
+
'l3rHC2TZl2nSywLT',
|
|
1440
|
+
'v29YA2vYlw9UBhKUifbHCMSGDgHLign1CNjLBNqGD29YA2vYigXHBMuGywz0zxiGEw91igHHDMuGywXYzwfKEsbYzxbVCNrLzcbYzxn1BhrZigLUihrOAxmGDgHYzwfKlIbuAgLZigrVzxmGBM90igvUzcb0AguGC2vZC2LVBJSGC2fTzs10AhjLywqGzM9SBg93lxvWihDPBgWGCMvZDw1LihrOAxmGBgfUzs4',
|
|
171
1441
|
'BNvTyMvY',
|
|
172
|
-
'
|
|
173
|
-
'C3rHCNrZv2L0Aa',
|
|
174
|
-
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
175
|
-
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4Gsw4Gysb0AhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPlcbJCMvHDgvZihn1yNrHC2TZihvUzgvYihrOzsbLEgLZDgLUzYbWyxjLBNqGDgfZAY4',
|
|
176
|
-
'Cgf5Bg9HzePZB24',
|
|
177
|
-
'DgHYzwfKvgfYz2v0',
|
|
178
|
-
'y3vYC29Y',
|
|
179
|
-
'CMvXDwvZDfvYBa',
|
|
180
|
-
'D29YA2vYrgLZCg9ZAxrPB249',
|
|
181
|
-
'CMvZB2X2zvrHCMDLDa',
|
|
182
|
-
'C3rVCe1HAw4',
|
|
183
|
-
'C2HHmJu2',
|
|
184
|
-
'z2v0',
|
|
185
|
-
'ywjVCNq',
|
|
186
|
-
'DhjPBq',
|
|
187
|
-
'Bwf0y2Hoyw1L',
|
|
188
|
-
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
189
|
-
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
1442
|
+
'zMfSC2u',
|
|
190
1443
|
'yxr0ywnOBwvUDeLK',
|
|
191
|
-
'
|
|
192
|
-
'
|
|
193
|
-
'
|
|
194
|
-
'C2nOzwr1BgvKrM9Y',
|
|
195
|
-
'zxHWAxjLC0f0',
|
|
196
|
-
'y2HLy2TFBwvZC2fNzxmGzMfPBgvK',
|
|
197
|
-
'z2v0rgf0zq',
|
|
198
|
-
'khvUA25VD24P',
|
|
199
|
-
'zgLZCg9ZAxrPB24',
|
|
200
|
-
'nJC1nty5nMrwCxbdCa',
|
|
201
|
-
'Aw5FCMv2Awv3',
|
|
202
|
-
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw4GB25SEsbJBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCNmU',
|
|
203
|
-
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWGB3iGDgHYzwfKlIbuAhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPihjLDhvYBNmGDgHLihbHCMvUDcb0yxnRihbSDxmGAxrZihn1yNrHC2TZihDPDgGGywDNCMvNyxrPB24GzMLLBgrZicHJAgLSzhjLBLrVDgfSlcbJAgLSzhjLBKrVBMuSignOAwXKCMvUsw5qCM9NCMvZCYKUienOyw5UzwWGDgfYz2v0ihjLDhvYBNmGB25SEsbWyxjLBNqGDgfZA3mGkg5Vihn1yNrHC2TZks4',
|
|
204
|
-
'AwrLBxbVDgvUy3LFA2v5',
|
|
1444
|
+
'mJi4oteZogrwBNjYBq',
|
|
1445
|
+
'Ahr0CdO',
|
|
1446
|
+
'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
|
|
205
1447
|
'iYmJiefNzw50CW',
|
|
206
|
-
'
|
|
207
|
-
'
|
|
208
|
-
'
|
|
209
|
-
'
|
|
210
|
-
'
|
|
211
|
-
'yxbWBgLJyxrPB24VANnVBG',
|
|
212
|
-
'Dgv4Da',
|
|
213
|
-
'BMv4Den1CNnVCG',
|
|
214
|
-
'DxbKyxrL',
|
|
215
|
-
'oty2nZK3EeT2y3bl',
|
|
216
|
-
'ktSGz290ignOyw5UzwW9',
|
|
217
|
-
'rg8GBM90ihnLBMqGzNvYDgHLCIbTzxnZywDLCYb0BYb0AgLZihrOCMvHzcdIGjqGDgHLihDVCMTLCIbPCYbOyw5KBgLUzYbPDc4',
|
|
218
|
-
'CMvHzf9OAxn0B3j5',
|
|
219
|
-
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxjYB3i9',
|
|
220
|
-
'yMvMB3jL',
|
|
221
|
-
'Dw5JBgfPBvrHC2S',
|
|
222
|
-
'ignSywLTzwq',
|
|
223
|
-
'igfSCMvHzhKGAgfZigfUigfJDgL2zsb3B3jRzxiUihn0B3bnywLUpxrYDwuGzxHLy3v0Aw9Utw9Kzt13B3jRzxi',
|
|
224
|
-
'AxngAwXL',
|
|
225
|
-
'twLZC2LUzYaTlwfNzw50lwLK',
|
|
226
|
-
'Aw1Hz2uVz2LM',
|
|
227
|
-
'ls1PBML0AwfSlwXHC3qTC2vLBI1Zzxe',
|
|
228
|
-
'otm3mZa2mMjzyLHTyq',
|
|
229
|
-
'rg93BMXVywrLzcb0BZOG',
|
|
230
|
-
'z2v0rNvSBfLLyxi',
|
|
231
|
-
'y2HHBM5LBhm',
|
|
232
|
-
'cGOTls0G',
|
|
233
|
-
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw5UB3qGy2XHAw0GyNKGBwvZC2fNzv9PzhmGkhrVCc1SzxzLBcbTzxnZywDLihbYB21VDgLVBIbPCYbTywLUlwfNzw50ig9UBhKPoYb1C2uGC3vIDgfZA19UDw1IzxjZigLUC2LKzsb5B3vYig93BIb0yxnRihrOCMvHzc4',
|
|
234
|
-
'xsbaC3LZDgvToIbBy2XHAw0TAgfUzg9MzL0G',
|
|
1448
|
+
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
1449
|
+
'y2HHBM5LBeLK',
|
|
1450
|
+
'zgvZy3jPyMu',
|
|
1451
|
+
'l2LUDgvYBMfSl2fNzw50lW',
|
|
1452
|
+
'w3rHCMDLDd0',
|
|
235
1453
|
'kgXLz2fJEsK',
|
|
236
|
-
'
|
|
237
|
-
'
|
|
238
|
-
'
|
|
1454
|
+
'y2HHBM5LBa',
|
|
1455
|
+
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
|
|
1456
|
+
'zMLUza',
|
|
1457
|
+
'lMrZy29Yza',
|
|
1458
|
+
'D29YA2vYx3nLC3nPB25FAwq',
|
|
1459
|
+
'zMLSDgvY',
|
|
1460
|
+
'zxjYB3i',
|
|
1461
|
+
'igTPBMq9',
|
|
1462
|
+
'BgLZDfrHC2TZ',
|
|
1463
|
+
'z2v0tw9UDgG',
|
|
1464
|
+
'DgfZAY0',
|
|
1465
|
+
'nZi1ndi2mgPRqxn2qq',
|
|
1466
|
+
'Dg9VBa',
|
|
1467
|
+
'kg5VBMuP',
|
|
1468
|
+
'ywDNCMvNyxrLvhLWzq',
|
|
1469
|
+
'mZa2otaZnu5ivvnSqW',
|
|
1470
|
+
'zg0T',
|
|
1471
|
+
'C2vUzf9TzxnZywDL',
|
|
1472
|
+
'D29YA2vYsgfUzg9MzG',
|
|
1473
|
+
'sfruuca',
|
|
1474
|
+
'C2vUzgvYtMfTzq',
|
|
1475
|
+
'yM9KEu1HCMTKB3DU',
|
|
1476
|
+
'BMfTzq',
|
|
1477
|
+
'C3vIDgfZA19UDw1IzxjZ',
|
|
1478
|
+
'mNDHwejyuG',
|
|
1479
|
+
'C3rHCNrZv2L0Aa',
|
|
1480
|
+
'ywrKrxzLBNrmAxn0zw5LCG',
|
|
1481
|
+
'C3rHDhvZ',
|
|
1482
|
+
'zw51Bq',
|
|
1483
|
+
'Aw5FCMv2Awv3',
|
|
1484
|
+
'mJHmwezsuvG',
|
|
1485
|
+
'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
|
|
1486
|
+
'l3n0yxj0',
|
|
1487
|
+
'yxjYyxLcDwzMzxi',
|
|
239
1488
|
'ls13B3jRzxiTDgHYzwfKlxrHCMDLDa',
|
|
1489
|
+
'vxbKyxrLihrHC2SGC3rHDhvZigj5ignOyw5UzwWGyw5KihrHC2SGBNvTyMvYlIbgB3iGC3vIDgfZA3mSigfSC28GCgfZCYbZDwj0yxnRx251BwjLCI4Gv2HLBIbTB3zPBMCGD29YAYb0BYbPBL9YzxzPzxCSignOzwnRihLVDxiGBwvTB3j5ig9YignOyw5UzwWGCNvSzxmGyw5KihnLBMqGysbYzxzPzxDLCIbTzw50Aw9UihLVDxjZzwXMihDOzw4GyxbWCM9WCMLHDguU',
|
|
1490
|
+
'ls1KywvTB24TyxbPlwTLEq',
|
|
1491
|
+
'BwvTyMvYCW',
|
|
1492
|
+
'icHPzdO',
|
|
1493
|
+
'Dg9mB3DLCKnHC2u',
|
|
1494
|
+
'vgfZAYa',
|
|
1495
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmVy2XHAw0',
|
|
1496
|
+
'y2HPBgrYzw5eB25L',
|
|
1497
|
+
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
1498
|
+
'Cgf5Bg9HzePZB24',
|
|
1499
|
+
'DxbKyxrLvgfZA1n0yxr1CW',
|
|
1500
|
+
'iIbWyxjRzwqUifnHBwuTDgHYzwfKigzVBgXVDY11Ccb3AwXSihjLC3vTzsb0AgLZigXHBMuU',
|
|
1501
|
+
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
1502
|
+
'y2f0y2G',
|
|
1503
|
+
'C3rHCNrLza',
|
|
1504
|
+
'y2HHBM5LBe5HBwu',
|
|
1505
|
+
'yxnPzgu',
|
|
1506
|
+
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
1507
|
+
'Bg9JywXLq29TCgfYzq',
|
|
1508
|
+
'ihn0yxLZigLUig1HAw4GC2vZC2LVBIaOzxHLy3v0Aw9Utw9Kzt1TywLUktSGCMvTywLUigHLCMuSihjLywqGDgHLihjLzMvYzw5JzwqGCgXHBI9KB2n1BwvUDcWGyw5KignHBgWGy3jLyxrLx3rHC2TZigLUihrOzsbWyxjLBNqGy2HHBM5LBcb0BYbICMvHAYbPDcbPBNrVihrVCc1SzxzLBcb0yxnRCYbPzIb0Agf0igLZihrOzsbPBNrLBNqU',
|
|
1509
|
+
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
1510
|
+
'twLZC2LUzYaTlwfNzw50lwLK',
|
|
1511
|
+
'CNvUBMLUzW',
|
|
1512
|
+
'D29YA2vYtw9Kzq',
|
|
1513
|
+
'l3DVCMTLCNmVCgfYAW',
|
|
1514
|
+
'ywjVCNq',
|
|
1515
|
+
'ls1Zzxj2zxiTDxjS',
|
|
1516
|
+
'C3rVCe1HAw49Dhj1zq',
|
|
1517
|
+
'DxbSB2fKrMLSzq',
|
|
1518
|
+
'tM8GDgfZA3mGy3jLyxrLzc4',
|
|
1519
|
+
'Bgf0zxn0u2vX',
|
|
1520
|
+
'ls13B3jRzxiTBw9Kzq',
|
|
1521
|
+
'C3rYAw5N',
|
|
1522
|
+
'C2f2zq',
|
|
1523
|
+
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
1524
|
+
'yMvMB3jL',
|
|
1525
|
+
'l2nVBNrLBNq',
|
|
1526
|
+
'owjAAgTSqG',
|
|
1527
|
+
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
1528
|
+
'C3vJy2vZCW',
|
|
1529
|
+
'6k+35Rgcia',
|
|
1530
|
+
'y3jLyxrLzef0',
|
|
1531
|
+
'Dw5JBgfPBv90yxnRoIb3B3jRzxiGy2fUig9UBhKGDw5JBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCI4',
|
|
1532
|
+
'yxr0ywnOBwvUDenHy2HLrgLY',
|
|
1533
|
+
'BgLZDf90yxnRCW',
|
|
1534
|
+
'iokaLca',
|
|
1535
|
+
'C2vX',
|
|
240
1536
|
'CNvUswq',
|
|
241
|
-
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
242
|
-
'y2XPzw50',
|
|
243
1537
|
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
244
|
-
'
|
|
245
|
-
'
|
|
1538
|
+
'mc4WlJa',
|
|
1539
|
+
'DgHYzwfKvgfYz2v0pq',
|
|
1540
|
+
'yxbWBgLJyxrPB24VANnVBG',
|
|
1541
|
+
'Bwv0yq',
|
|
1542
|
+
'DMfSDwu',
|
|
1543
|
+
'y2HLy2TFBwvZC2fNzxmGzMfPBgvK',
|
|
1544
|
+
'AwrLBxbVDgvUy3LFA2v5',
|
|
1545
|
+
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
1546
|
+
'oIb3B3jRzxiGCNvUDgLTzsbTAxnZAw5NihDVCMTLCLrOCMvHzfrHCMDLDdSGy2fUBM90ihzHBgLKyxrLihnJB3bL',
|
|
246
1547
|
'zgLNzxn0',
|
|
247
|
-
'
|
|
248
|
-
'
|
|
249
|
-
'
|
|
250
|
-
'
|
|
251
|
-
'
|
|
252
|
-
'ig1LC3nHz2u9',
|
|
253
|
-
'w3rHCMDLDd0',
|
|
254
|
-
'C29Tzq',
|
|
255
|
-
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
256
|
-
'ywDLBNrjza',
|
|
257
|
-
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
258
|
-
'C2vYDMvYtMfTzq',
|
|
259
|
-
'DMLLD19MAwXL',
|
|
260
|
-
'yxjYyxLcDwzMzxi',
|
|
261
|
-
'BgLZDf90yxnRCYbMywLSzwq',
|
|
262
|
-
'u2vUzcbHig1LC3nHz2uUieLMihzPC2LIAwXPDhKGAxmGB21PDhrLzcWGDgHLig1LC3nHz2uGAxmGChvIBgLJlIbjBIb0yxnRihrOCMvHzhmSihnLDcb2AxnPyMLSAxr5oIbHC2LKzsbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Gt3v0C2LKzsb0AhjLywrZlcbKBYbUB3qGC2v0ihzPC2LIAwXPDhKUifjLDxnLihrOzsbLEgfJDcb0yxjNzxqGC3rYAw5NigzYB20GAw5JB21PBMCGBwvZC2fNzxmU',
|
|
263
|
-
'ig1LC3nHz2vZkqOk',
|
|
264
|
-
'C2vUzgvYtMfTzq',
|
|
265
|
-
'y2HPBgrYzw5uB3rHBa',
|
|
1548
|
+
'AxnbCNjHEq',
|
|
1549
|
+
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
1550
|
+
'ls1PBML0AwfSlwXHC3qTC2vLBI1Zzxe',
|
|
1551
|
+
'Bwf0y2Hoyw1L',
|
|
1552
|
+
'y29UDgvUDc10ExbL',
|
|
266
1553
|
'y2HHBM5LBfrHCMDLDa',
|
|
267
|
-
'
|
|
268
|
-
'
|
|
269
|
-
'
|
|
270
|
-
'
|
|
271
|
-
'
|
|
272
|
-
'
|
|
273
|
-
'
|
|
274
|
-
'
|
|
275
|
-
'
|
|
1554
|
+
'C3rYAw5NAwz5',
|
|
1555
|
+
'ue9tva',
|
|
1556
|
+
'y3jLyxrLx3rHC2TZ',
|
|
1557
|
+
'D29YA2vYtw9KzuvUywjSzwq',
|
|
1558
|
+
'AM9PBG',
|
|
1559
|
+
'C2vYDMvY',
|
|
1560
|
+
'oIb3B3jRzxiGy2fUig9UBhKGB3bLCMf0zsbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcaO',
|
|
1561
|
+
'Aw1Hz2uVz2LM',
|
|
1562
|
+
'zxnJywXHDgvFDg9FBwfPBG',
|
|
1563
|
+
'lcbWCMv2Awv3pq',
|
|
1564
|
+
'zg93BMXVywrbDhrHy2HTzw50',
|
|
1565
|
+
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4Gsw4Gysb0AhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPlcbJCMvHDgvZihn1yNrHC2TZihvUzgvYihrOzsbLEgLZDgLUzYbWyxjLBNqGDgfZAY4',
|
|
1566
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
1567
|
+
'AwrSzq',
|
|
1568
|
+
'khvUA25VD24P',
|
|
1569
|
+
'Axnoyu4',
|
|
1570
|
+
'zg9Uzq',
|
|
1571
|
+
'y2HPBgrYzw5uB3rHBa',
|
|
1572
|
+
'CgfYA193B3jRzxiGzMfPBgvK',
|
|
1573
|
+
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
1574
|
+
'C2XPy2u',
|
|
1575
|
+
'D29YA2vYrgLZCg9ZAxrPB249',
|
|
276
1576
|
'cUkAOo+4JYbxt1jlrviGqunusvzbveveiokaLcbtDg9Wiefmtcb3B3jRig9UihrOAxmGDgfZAYbPBw1LzgLHDgvSEs4Gv29YA2vYigHHBMrSzxmGzxHLy3v0Aw9UigvUzc10BY1LBMqU',
|
|
277
|
-
'
|
|
278
|
-
'
|
|
279
|
-
'
|
|
1577
|
+
'C3rVCe1HAw4',
|
|
1578
|
+
'y3jLyxrLvgfZA3m',
|
|
1579
|
+
'r0vu',
|
|
1580
|
+
'y29UDgvUDfr5Cgu',
|
|
280
1581
|
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
281
|
-
'
|
|
282
|
-
'
|
|
283
|
-
'
|
|
284
|
-
'
|
|
285
|
-
'
|
|
286
|
-
'
|
|
287
|
-
'
|
|
288
|
-
'
|
|
289
|
-
'
|
|
290
|
-
'
|
|
291
|
-
'
|
|
292
|
-
'
|
|
293
|
-
'CxvLDwvK',
|
|
1582
|
+
'y2XHAw1FDgfZA3m',
|
|
1583
|
+
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
1584
|
+
'Dgv4Da',
|
|
1585
|
+
'uefuq0G',
|
|
1586
|
+
'zxHWAxjLC0f0',
|
|
1587
|
+
'l2fWAs9Hz2vUDc1ZzxnZAw9UCY8',
|
|
1588
|
+
'z2v0u2vJB25KCW',
|
|
1589
|
+
'BwvZC2fNzq',
|
|
1590
|
+
'CMvHzf9OAxn0B3j5',
|
|
1591
|
+
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
1592
|
+
'BwfPBG',
|
|
1593
|
+
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
294
1594
|
'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
|
|
295
|
-
'
|
|
296
|
-
'
|
|
297
|
-
'
|
|
298
|
-
'
|
|
1595
|
+
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
1596
|
+
'AhjLzG',
|
|
1597
|
+
't3b0Aw9UywWUieLMig9TAxr0zwqSihrOzsbTzxnZywDLigLZihb1yMXPyY4Gsw4GDgfZAYb0AhjLywrZlcbZzxqGiMfZAwrLiIbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Grg8GBM90ihnLDcbVDxrZAwrLihrOCMvHzhmU',
|
|
1598
|
+
'ignSywLTzwq',
|
|
1599
|
+
'ihn0yxr1CZ0',
|
|
1600
|
+
'ChjVDg9JB2W',
|
|
1601
|
+
'rg8GBM90ihnLBMqGzNvYDgHLCIbTzxnZywDLCYb0BYb0AgLZihrOCMvHzcdIGjqGDgHLihDVCMTLCIbPCYbOyw5KBgLUzYbPDc4',
|
|
299
1602
|
'y2HLy2TFBwvZC2fNzxm',
|
|
300
|
-
'
|
|
301
|
-
'
|
|
302
|
-
'
|
|
1603
|
+
'CMvZDwX0CW',
|
|
1604
|
+
'ywDNCMvNyxrLswrZ',
|
|
1605
|
+
'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlIbgB3iGC3vIDgfZA3mGAw4Gysb0AhjLywqSihvZzsbZDwj0yxnRx251BwjLCNmGD2L0AcbHihnPBMDSzsb0yxnRx251BwjLCNmGzw50CNKU',
|
|
1606
|
+
'l3rHC2TZpW',
|
|
1607
|
+
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
1608
|
+
'uM9VDcb0yxnRig1LC3nHz2uGAwq6ia',
|
|
1609
|
+
'yMfZzty0',
|
|
303
1610
|
'DgHYzwfKx3rHCMDLDa',
|
|
304
|
-
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
305
|
-
'zg9Uzq',
|
|
306
|
-
'zMfSC2u',
|
|
307
|
-
'zMv0y2HuAw1LB3v0txm',
|
|
308
|
-
'BwvTyMvY',
|
|
309
|
-
'Ahr0Chm6',
|
|
310
|
-
'Dgv4Dc9JC3y',
|
|
311
|
-
'l2LUDgvYBMfSl2fNzw50lW',
|
|
312
|
-
'Dw5JBgfPBv90yxnRoIb3B3jRzxiGy2fUig9UBhKGDw5JBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCI4',
|
|
313
|
-
'C3vIDgfZA19UDw1Izxi',
|
|
314
|
-
'zxH0BMfTzq',
|
|
315
|
-
'Dg9ju09tDhjPBMC',
|
|
316
|
-
'ywDLBNrZ',
|
|
317
|
-
'iIbWyxjRzwqUifnHBwuTDgHYzwfKigzVBgXVDY11Ccb3AwXSihjLC3vTzsb0AgLZigXHBMuU',
|
|
318
|
-
'y29UDgvUDfr5Cgu',
|
|
319
|
-
'BgLZDfnLCNzLCG',
|
|
320
|
-
'DxbSB2fKx2zPBgu',
|
|
321
|
-
'z2v0vgLTzq',
|
|
322
|
-
'Ahr0CdO',
|
|
323
|
-
'zxzLBNrtzxe',
|
|
324
|
-
'v29YA2vYlw9UBhKUifbHCMSGDgHLign1CNjLBNqGD29YA2vYigXHBMuGywz0zxiGEw91igHHDMuGywXYzwfKEsbYzxbVCNrLzcbYzxn1BhrZigLUihrOAxmGDgHYzwfKlIbuAgLZigrVzxmGBM90igvUzcb0AguGC2vZC2LVBJSGC2fTzs10AhjLywqGzM9SBg93lxvWihDPBgWGCMvZDw1LihrOAxmGBgfUzs4',
|
|
325
|
-
'ywXS',
|
|
326
|
-
'zMLSzv9WyxrO',
|
|
327
|
-
'DgfZA0LK',
|
|
328
|
-
'C3vIDgfZA19UDw1IzxjZ',
|
|
329
|
-
'zgvZDhjVEwvK',
|
|
330
|
-
'yxbWBgLJyxrPB24VCgrM',
|
|
331
|
-
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
332
|
-
'DMLZAwjPBgL0Eq',
|
|
333
1611
|
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
334
|
-
'
|
|
335
|
-
'
|
|
336
|
-
'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
|
|
337
|
-
'l3rHC2TZl3vUy2XHAw0',
|
|
338
|
-
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
339
|
-
'C3rYAw5N',
|
|
340
|
-
'l3n0yxj0',
|
|
341
|
-
'DgfZA051BwjLCG',
|
|
342
|
-
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
343
|
-
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
344
|
-
'zxHLy3v0Aw9Utw9Kzt0',
|
|
345
|
-
'yxv0BZO',
|
|
346
|
-
'BgLTAxq',
|
|
347
|
-
'BwvZC2fNzxm',
|
|
348
|
-
'ChvZAa',
|
|
349
|
-
'DgfYz2v0',
|
|
350
|
-
'oIb3B3jRzxiGCNvUDgLTzsbTAxnZAw5NihDVCMTLCLrOCMvHzfrHCMDLDdSGy2fUBM90ihzHBgLKyxrLihnJB3bL',
|
|
351
|
-
'Bwf4',
|
|
352
|
-
'zNjVBq',
|
|
353
|
-
'zxHLy3v0Aw9Utw9Kzq',
|
|
354
|
-
'yM9KEu1HCMTKB3DU',
|
|
355
|
-
'C2LNBMfS',
|
|
356
|
-
'vgfZAYa',
|
|
357
|
-
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
358
|
-
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
359
|
-
'yxr0ywnOBwvUDf9Pzhm',
|
|
360
|
-
'y3jLyxrLx3rHC2TZ',
|
|
361
|
-
'BMfTzq',
|
|
362
|
-
'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlIbgB3iGC3vIDgfZA3mGAw4Gysb0AhjLywqSihvZzsbZDwj0yxnRx251BwjLCNmGD2L0AcbHihnPBMDSzsb0yxnRx251BwjLCNmGzw50CNKU',
|
|
363
|
-
'ls13B3jRzxiTBw9Kzq',
|
|
364
|
-
'DgHYzwfKvgfYz2v0pq',
|
|
365
|
-
'DgvZDa',
|
|
366
|
-
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
367
|
-
'AgfZ',
|
|
368
|
-
't3jPz2LUywWGBwvZC2fNztOG',
|
|
369
|
-
'C3rHCNrLza',
|
|
1612
|
+
'DxnLCG',
|
|
1613
|
+
'l3jLC29SDMuTy2HHBM5LBa',
|
|
370
1614
|
'ywrK',
|
|
371
|
-
'
|
|
372
|
-
'
|
|
373
|
-
'
|
|
374
|
-
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
375
|
-
'yxr0ywnOBwvUDf9Pza',
|
|
376
|
-
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
377
|
-
'l3nLCNzLCG',
|
|
378
|
-
'DgL0Bgu',
|
|
379
|
-
'CgfYA193B3jRzxi',
|
|
380
|
-
'sfruuca',
|
|
381
|
-
'AhvTyw5Z',
|
|
382
|
-
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
383
|
-
'ChvIBgLJ',
|
|
384
|
-
'icHPzdO',
|
|
385
|
-
'Ahr0CdOVl2XVy2fSAg9ZDdO4mtiX',
|
|
386
|
-
'Dw5JBgfPBv90yxnR',
|
|
387
|
-
'DgHYzwfKswq',
|
|
388
|
-
'igf0DgfJAg1LBNq',
|
|
389
|
-
'iYmJieH1BwfUCW',
|
|
390
|
-
'AM9PBG',
|
|
391
|
-
'l3rHC2TZl2nSywLT',
|
|
392
|
-
'CMvHzeHPC3rVCNK',
|
|
393
|
-
'D29YA2vYCW',
|
|
394
|
-
'DgHYzwfKtNvTyMvY',
|
|
395
|
-
'C2vYDMvY',
|
|
396
|
-
'Agv4',
|
|
397
|
-
'AgfZtw9Yzq',
|
|
398
|
-
'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
|
|
399
|
-
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
400
|
-
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmVy2XHAw0',
|
|
401
|
-
'z2v0twLUDxrLCW',
|
|
402
|
-
'C2XPy2u',
|
|
403
|
-
'ihn0yxLZigLUig1HAw4GC2vZC2LVBIaOzxHLy3v0Aw9Utw9Kzt1TywLUktSGCMvTywLUigHLCMuSihjLywqGDgHLihjLzMvYzw5JzwqGCgXHBI9KB2n1BwvUDcWGyw5KignHBgWGy3jLyxrLx3rHC2TZigLUihrOzsbWyxjLBNqGy2HHBM5LBcb0BYbICMvHAYbPDcbPBNrVihrVCc1SzxzLBcb0yxnRCYbPzIb0Agf0igLZihrOzsbPBNrLBNqU',
|
|
404
|
-
'BwvZC2fNzuLK',
|
|
405
|
-
'tM8GDgfZA3mGy2XHAw1Lzc4',
|
|
406
|
-
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
407
|
-
'rMLSzsb1CgXVywrLzdOG',
|
|
408
|
-
'igrVBMuP',
|
|
409
|
-
'zMv0y2HjBxbS',
|
|
1615
|
+
'C2HHmJu2',
|
|
1616
|
+
'zxHLy3v0Aw9Utw9Kzt0',
|
|
1617
|
+
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
410
1618
|
'C3bSAxq',
|
|
411
|
-
'
|
|
412
|
-
'
|
|
413
|
-
'
|
|
414
|
-
'
|
|
415
|
-
'
|
|
416
|
-
'
|
|
1619
|
+
'y2HLy2TnzxnZywDLCW',
|
|
1620
|
+
'lIbnzxnZywDLieLeoIa',
|
|
1621
|
+
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
1622
|
+
'y2XHAw1uyxnRCW',
|
|
1623
|
+
'z2v0rgf0zq',
|
|
1624
|
+
'zxzLBNrtzxe',
|
|
1625
|
+
'zMv0y2HjBxbS',
|
|
1626
|
+
'y2HHDa',
|
|
1627
|
+
'BgLTAxq',
|
|
1628
|
+
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
1629
|
+
'z2v0sg91CNm',
|
|
1630
|
+
'z2v0vgLTzq',
|
|
1631
|
+
'ihr5Cgu9ywDLBNq',
|
|
417
1632
|
'Aw5JBhvKzxm',
|
|
418
|
-
'
|
|
419
|
-
'
|
|
420
|
-
'
|
|
421
|
-
'
|
|
422
|
-
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4'
|
|
1633
|
+
'lMjPBG',
|
|
1634
|
+
'DMfSDwvZ',
|
|
1635
|
+
'yxr0ywnOBwvUDhm',
|
|
1636
|
+
'l3nLCNzLCG'
|
|
423
1637
|
];
|
|
424
|
-
|
|
425
|
-
return
|
|
1638
|
+
_0x2083 = function () {
|
|
1639
|
+
return _0xb2c857;
|
|
426
1640
|
};
|
|
427
|
-
return
|
|
1641
|
+
return _0x2083();
|
|
428
1642
|
}
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
if (!_0x3d33fe[_0x2da255(0x11b)])
|
|
576
|
-
return {
|
|
577
|
-
'channelName': _0x3d33fe[_0x2da255(_0x13e925._0x5c54c1)],
|
|
578
|
-
'channelTarget': _0x525452,
|
|
579
|
-
'kind': _0x2da255(_0x13e925._0x147b4c),
|
|
580
|
-
'target': _0x525452
|
|
581
|
-
};
|
|
582
|
-
return {
|
|
583
|
-
'channelName': _0x3d33fe[_0x2da255(_0x13e925._0x4ba4df)],
|
|
584
|
-
'channelTarget': _0x525452,
|
|
585
|
-
'kind': _0x2da255(0x11d),
|
|
586
|
-
'target': _0x525452 + ':' + _0x3d33fe[_0x2da255(0x11b)],
|
|
587
|
-
'threadShortId': _0x3d33fe[_0x2da255(_0x13e925._0x4b6c60)]
|
|
588
|
-
};
|
|
589
|
-
}
|
|
590
|
-
if (_0x50b46a[_0x2da255(_0x13e925._0x41ee0f)](_0x2da255(_0x13e925._0x57096f))) {
|
|
591
|
-
const _0x3fd47e = parseThreadParts(_0x50b46a[_0x2da255(0x241)](0x3));
|
|
592
|
-
if (!_0x3fd47e['channelName'][_0x2da255(_0x13e925._0x443564)](_0x2da255(_0x13e925._0x4610f3)))
|
|
593
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
594
|
-
const _0x2928e7 = _0x2da255(_0x13e925._0x18ddae) + _0x3fd47e[_0x2da255(0x11a)];
|
|
595
|
-
if (!_0x3fd47e[_0x2da255(0x11b)])
|
|
596
|
-
return {
|
|
597
|
-
'channelName': _0x3fd47e['channelName'],
|
|
598
|
-
'channelTarget': _0x2928e7,
|
|
599
|
-
'kind': _0x2da255(_0x13e925._0x147b4c),
|
|
600
|
-
'target': _0x2928e7
|
|
601
|
-
};
|
|
602
|
-
return {
|
|
603
|
-
'channelName': _0x3fd47e[_0x2da255(0x11a)],
|
|
604
|
-
'channelTarget': _0x2928e7,
|
|
605
|
-
'kind': _0x2da255(0x11d),
|
|
606
|
-
'target': _0x2928e7 + ':' + _0x3fd47e['threadShortId'],
|
|
607
|
-
'threadShortId': _0x3fd47e[_0x2da255(0x11b)]
|
|
608
|
-
};
|
|
609
|
-
}
|
|
610
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
611
|
-
}
|
|
612
|
-
function asErrorMessage(_0x354dca, _0x4ac9d0) {
|
|
613
|
-
const _0xa58eb5 = { _0x41da15: 0x169 }, _0x441940 = _0x14c52b;
|
|
614
|
-
if (typeof _0x354dca === _0x441940(0x202) && _0x354dca[_0x441940(_0xa58eb5._0x41da15)]())
|
|
615
|
-
return _0x354dca;
|
|
616
|
-
return _0x4ac9d0;
|
|
617
|
-
}
|
|
618
|
-
function asRecord(_0x218a0e) {
|
|
619
|
-
const _0x46351c = _0x14c52b;
|
|
620
|
-
return typeof _0x218a0e === _0x46351c(0x1d8) && _0x218a0e !== null ? _0x218a0e : {};
|
|
621
|
-
}
|
|
622
|
-
function stableStringify(_0x38e49e) {
|
|
623
|
-
const _0x2629de = {
|
|
624
|
-
_0x4040cf: 0xdb,
|
|
625
|
-
_0x135d06: 0x235
|
|
626
|
-
}, _0x4ae856 = _0x14c52b;
|
|
627
|
-
if (_0x38e49e === null || typeof _0x38e49e !== 'object')
|
|
628
|
-
return JSON[_0x4ae856(0xfb)](_0x38e49e);
|
|
629
|
-
if (Array['isArray'](_0x38e49e))
|
|
630
|
-
return '[' + _0x38e49e[_0x4ae856(_0x2629de._0x4040cf)](_0x59b872 => stableStringify(_0x59b872))[_0x4ae856(_0x2629de._0x135d06)](',') + ']';
|
|
631
|
-
const _0x2756ce = Object[_0x4ae856(0x130)](_0x38e49e)[_0x4ae856(0x13e)](([, _0x1e12e6]) => _0x1e12e6 !== void 0x0)['sort'](([_0x1c52f2], [_0x20aed8]) => _0x1c52f2['localeCompare'](_0x20aed8))[_0x4ae856(0xdb)](([_0x5bfad0, _0x1e6f2c]) => JSON['stringify'](_0x5bfad0) + ':' + stableStringify(_0x1e6f2c));
|
|
632
|
-
return '{' + _0x2756ce['join'](',') + '}';
|
|
633
|
-
}
|
|
634
|
-
function createHeaders(_0x3d2be7) {
|
|
635
|
-
const _0x32296d = { _0x337a01: 0x182 }, _0x123f0d = _0x14c52b;
|
|
636
|
-
return {
|
|
637
|
-
'Content-Type': _0x123f0d(_0x32296d._0x337a01),
|
|
638
|
-
'x-daemon-api-key': _0x3d2be7
|
|
639
|
-
};
|
|
640
|
-
}
|
|
641
|
-
function toHttpBaseUrl(_0x59dd86) {
|
|
642
|
-
const _0x526ee9 = { _0x36ed8c: 0x102 }, _0x577612 = _0x14c52b, _0x2a3e6f = new URL(_0x59dd86);
|
|
643
|
-
if (_0x2a3e6f[_0x577612(0x102)] === 'ws:')
|
|
644
|
-
_0x2a3e6f[_0x577612(_0x526ee9._0x36ed8c)] = _0x577612(0x1f1);
|
|
645
|
-
else
|
|
646
|
-
_0x2a3e6f[_0x577612(0x102)] === 'wss:' && (_0x2a3e6f[_0x577612(0x102)] = _0x577612(0x1e4));
|
|
647
|
-
return _0x2a3e6f['toString']()[_0x577612(0xfc)](/\/$/, '');
|
|
648
|
-
}
|
|
649
|
-
function isMentionBoundary(_0x3f8020) {
|
|
650
|
-
const _0x1345fa = _0x14c52b;
|
|
651
|
-
return !_0x3f8020 || /\s|[([{'",。!?、:;]/[_0x1345fa(0x21c)](_0x3f8020);
|
|
652
|
-
}
|
|
653
|
-
function isMentionTerminal(_0x1e9a17) {
|
|
654
|
-
return !_0x1e9a17 || /\s|[)\]}'",。!?、:;,.!?]/['test'](_0x1e9a17);
|
|
655
|
-
}
|
|
656
|
-
function buildMatchableEntries(_0x3f6897) {
|
|
657
|
-
const _0x45028b = {
|
|
658
|
-
_0x5b10d2: 0x1eb,
|
|
659
|
-
_0x100078: 0x22c,
|
|
660
|
-
_0x23eef7: 0x218,
|
|
661
|
-
_0x244e44: 0x20b
|
|
662
|
-
}, _0x19d38c = _0x14c52b, _0x2ec423 = [];
|
|
663
|
-
for (const _0x25ef96 of [
|
|
664
|
-
..._0x3f6897[_0x19d38c(_0x45028b._0x5b10d2)],
|
|
665
|
-
..._0x3f6897[_0x19d38c(_0x45028b._0x100078)]
|
|
666
|
-
]) {
|
|
667
|
-
_0x2ec423['push']({
|
|
668
|
-
'matchName': _0x25ef96[_0x19d38c(_0x45028b._0x23eef7)],
|
|
669
|
-
'matchNameLower': _0x25ef96['name']['toLocaleLowerCase'](),
|
|
670
|
-
'participantId': _0x25ef96['id']
|
|
671
|
-
}), _0x25ef96['id'] !== _0x25ef96[_0x19d38c(0x218)] && _0x2ec423[_0x19d38c(_0x45028b._0x244e44)]({
|
|
672
|
-
'matchName': _0x25ef96['id'],
|
|
673
|
-
'matchNameLower': _0x25ef96['id']['toLocaleLowerCase'](),
|
|
674
|
-
'participantId': _0x25ef96['id']
|
|
675
|
-
});
|
|
676
|
-
}
|
|
677
|
-
return _0x2ec423;
|
|
678
|
-
}
|
|
679
|
-
function extractMentionedParticipantIds(_0x4f6bdc, _0x35d1c0) {
|
|
680
|
-
const _0x214744 = {
|
|
681
|
-
_0x50270c: 0x241,
|
|
682
|
-
_0x5c6cb9: 0xd3
|
|
683
|
-
}, _0x1546ae = _0x14c52b, _0x46349f = buildMatchableEntries(_0x35d1c0)['sort']((_0x269879, _0xb0e425) => _0xb0e425['matchName']['length'] - _0x269879[_0x1546ae(0x16a)][_0x1546ae(0xd3)]), _0x581116 = [], _0x3060b0 = new Set();
|
|
684
|
-
for (let _0x136116 = 0x0; _0x136116 < _0x4f6bdc['length']; _0x136116 += 0x1) {
|
|
685
|
-
if (_0x4f6bdc[_0x136116] !== '@' || !isMentionBoundary(_0x4f6bdc[_0x136116 - 0x1]))
|
|
686
|
-
continue;
|
|
687
|
-
const _0x3c4eef = _0x4f6bdc[_0x1546ae(_0x214744._0x50270c)](_0x136116 + 0x1), _0x32c01d = _0x3c4eef['toLocaleLowerCase'](), _0x28ce16 = _0x46349f['find'](_0x3a10ea => {
|
|
688
|
-
const _0x228abc = _0x1546ae;
|
|
689
|
-
if (!_0x32c01d[_0x228abc(0x15c)](_0x3a10ea['matchNameLower']))
|
|
690
|
-
return ![];
|
|
691
|
-
return isMentionTerminal(_0x3c4eef[_0x3a10ea[_0x228abc(0x16a)]['length']]);
|
|
692
|
-
});
|
|
693
|
-
if (!_0x28ce16 || _0x3060b0[_0x1546ae(0x21e)](_0x28ce16[_0x1546ae(0xe7)]))
|
|
694
|
-
continue;
|
|
695
|
-
_0x3060b0['add'](_0x28ce16[_0x1546ae(0xe7)]), _0x581116['push'](_0x28ce16[_0x1546ae(0xe7)]), _0x136116 += _0x28ce16[_0x1546ae(0x16a)][_0x1546ae(_0x214744._0x5c6cb9)];
|
|
696
|
-
}
|
|
697
|
-
return _0x581116;
|
|
698
|
-
}
|
|
699
|
-
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
700
|
-
function anySignal(..._0x3dbd5a) {
|
|
701
|
-
const _0x611eb2 = {
|
|
702
|
-
_0x3116f5: 0x168,
|
|
703
|
-
_0x5ce6a9: 0xd7,
|
|
704
|
-
_0x458470: 0x168,
|
|
705
|
-
_0x1ceb40: 0x212
|
|
706
|
-
}, _0x3758d2 = _0x14c52b, _0x499505 = new AbortController();
|
|
707
|
-
for (const _0x424b0f of _0x3dbd5a) {
|
|
708
|
-
if (_0x424b0f[_0x3758d2(0x120)])
|
|
709
|
-
return _0x499505[_0x3758d2(_0x611eb2._0x3116f5)](_0x424b0f[_0x3758d2(_0x611eb2._0x5ce6a9)]), _0x499505['signal'];
|
|
710
|
-
_0x424b0f[_0x3758d2(0x135)](_0x3758d2(_0x611eb2._0x458470), () => _0x499505[_0x3758d2(0x168)](_0x424b0f[_0x3758d2(0xd7)]), {
|
|
711
|
-
'once': !![],
|
|
712
|
-
'signal': _0x499505[_0x3758d2(_0x611eb2._0x1ceb40)]
|
|
713
|
-
});
|
|
714
|
-
}
|
|
715
|
-
return _0x499505['signal'];
|
|
716
|
-
}
|
|
717
|
-
function createInternalAgentClient(_0x430585) {
|
|
718
|
-
const _0xa265a2 = {
|
|
719
|
-
_0x2624a2: 0x1bc,
|
|
720
|
-
_0x31c2d4: 0xe4,
|
|
721
|
-
_0x6c7ea2: 0x169,
|
|
722
|
-
_0x3f3411: 0x116,
|
|
723
|
-
_0x1da811: 0x169
|
|
724
|
-
}, _0x1071ec = {
|
|
725
|
-
_0x5e1df4: 0x157,
|
|
726
|
-
_0x491706: 0xe9,
|
|
727
|
-
_0x129a27: 0x1a9,
|
|
728
|
-
_0x58d4e: 0x152,
|
|
729
|
-
_0x4b7c5: 0x161,
|
|
730
|
-
_0x524b1a: 0x20e,
|
|
731
|
-
_0x42ff19: 0xd3,
|
|
732
|
-
_0x56e3c5: 0xd3,
|
|
733
|
-
_0x352b39: 0x20e,
|
|
734
|
-
_0x497fff: 0x1ad,
|
|
735
|
-
_0x274283: 0x15f,
|
|
736
|
-
_0x434f5d: 0x202,
|
|
737
|
-
_0x3571f1: 0xcd,
|
|
738
|
-
_0x1da3a5: 0x239,
|
|
739
|
-
_0x5ee38c: 0x13a,
|
|
740
|
-
_0x3053cb: 0xff,
|
|
741
|
-
_0x5ddb1a: 0x20b,
|
|
742
|
-
_0x54ff8d: 0x130,
|
|
743
|
-
_0x5b6f51: 0x157,
|
|
744
|
-
_0x266b77: 0x13a,
|
|
745
|
-
_0x1984a9: 0xdb,
|
|
746
|
-
_0x46bfad: 0x1c0,
|
|
747
|
-
_0x24b871: 0x16e,
|
|
748
|
-
_0x259602: 0x115,
|
|
749
|
-
_0x1dd017: 0x129,
|
|
750
|
-
_0x101651: 0x11c,
|
|
751
|
-
_0x35cd09: 0x158,
|
|
752
|
-
_0x41a100: 0x1fa,
|
|
753
|
-
_0x312e28: 0x211,
|
|
754
|
-
_0x4712dc: 0x11c,
|
|
755
|
-
_0x157bb8: 0x202,
|
|
756
|
-
_0xc61609: 0x1ea
|
|
757
|
-
}, _0x17048c = { _0x325fa7: 0x1a4 }, _0x9a84a6 = { _0xc95712: 0x151 }, _0x45b1da = {
|
|
758
|
-
_0x557e19: 0x122,
|
|
759
|
-
_0x3a49b7: 0xca,
|
|
760
|
-
_0x63557d: 0x18b,
|
|
761
|
-
_0x37878d: 0x209,
|
|
762
|
-
_0x1c7743: 0x232
|
|
763
|
-
}, _0x1abe94 = {
|
|
764
|
-
_0x53b302: 0x157,
|
|
765
|
-
_0x10984e: 0x1cf,
|
|
766
|
-
_0x3d1360: 0x209,
|
|
767
|
-
_0x48a721: 0x149,
|
|
768
|
-
_0x2d7cfa: 0x152,
|
|
769
|
-
_0x1e9e1d: 0x15a
|
|
770
|
-
}, _0x5408be = {
|
|
771
|
-
_0x267448: 0x1a9,
|
|
772
|
-
_0x234dcd: 0x1ed,
|
|
773
|
-
_0x2a7e49: 0x1b3,
|
|
774
|
-
_0x16f72c: 0x19c
|
|
775
|
-
}, _0x4cfa15 = {
|
|
776
|
-
_0x1b27ca: 0x122,
|
|
777
|
-
_0x513cc3: 0x232,
|
|
778
|
-
_0x4797fc: 0x11e,
|
|
779
|
-
_0x470ced: 0x1e6,
|
|
780
|
-
_0x142f27: 0x1af,
|
|
781
|
-
_0x2c3b32: 0x20c,
|
|
782
|
-
_0x28b8d0: 0x1ed,
|
|
783
|
-
_0x41166d: 0xf4
|
|
784
|
-
}, _0x33fa1b = {
|
|
785
|
-
_0x1893d8: 0x1e6,
|
|
786
|
-
_0x4a7e4f: 0x170,
|
|
787
|
-
_0x1c164f: 0xf5
|
|
788
|
-
}, _0x1464d8 = {
|
|
789
|
-
_0x3ec43a: 0x200,
|
|
790
|
-
_0x38e11f: 0xfb
|
|
791
|
-
}, _0x23d993 = { _0x581cf1: 0x236 }, _0x203eaf = { _0x111cff: 0x13b }, _0x28b80b = {
|
|
792
|
-
_0x4c81e2: 0x1df,
|
|
793
|
-
_0x321791: 0x19f,
|
|
794
|
-
_0x2d06e5: 0xbd,
|
|
795
|
-
_0x5e58cf: 0xf4,
|
|
796
|
-
_0x5c0eca: 0x13b
|
|
797
|
-
}, _0x2d2e4f = {
|
|
798
|
-
_0x10be97: 0x1df,
|
|
799
|
-
_0x374681: 0x19f
|
|
800
|
-
}, _0x48960b = {
|
|
801
|
-
_0xc896d1: 0xfb,
|
|
802
|
-
_0x2d3277: 0xf4
|
|
803
|
-
}, _0x515c30 = { _0xd7ac9: 0x1a9 }, _0x52db46 = {
|
|
804
|
-
_0x39425b: 0x1e6,
|
|
805
|
-
_0x5de7c9: 0xfb,
|
|
806
|
-
_0x5f436a: 0x1a4,
|
|
807
|
-
_0x1542c6: 0xd3
|
|
808
|
-
}, _0x18ac15 = {
|
|
809
|
-
_0x535bd1: 0x209,
|
|
810
|
-
_0x13a926: 0x232,
|
|
811
|
-
_0x56e0b1: 0x1a4,
|
|
812
|
-
_0x554e7e: 0x157,
|
|
813
|
-
_0x36dea6: 0x18b,
|
|
814
|
-
_0x43daed: 0x157,
|
|
815
|
-
_0x49c91e: 0x161,
|
|
816
|
-
_0x47c633: 0x18b,
|
|
817
|
-
_0x272fa2: 0xca,
|
|
818
|
-
_0x66ee7d: 0xdb,
|
|
819
|
-
_0xa00eef: 0x23c,
|
|
820
|
-
_0x6f9db: 0x152
|
|
821
|
-
}, _0x2d5f0d = { _0x5d9b9f: 0xe7 }, _0x45f58b = {
|
|
822
|
-
_0x4a41e2: 0x11c,
|
|
823
|
-
_0x5175d3: 0x11b,
|
|
824
|
-
_0x129f59: 0xff,
|
|
825
|
-
_0xfcf2c9: 0x15c,
|
|
826
|
-
_0x3f3b94: 0x232,
|
|
827
|
-
_0x362947: 0x15c
|
|
828
|
-
}, _0x381a71 = {
|
|
829
|
-
_0x3524a4: 0x11d,
|
|
830
|
-
_0x365519: 0x1b9,
|
|
831
|
-
_0x443a9e: 0x239,
|
|
832
|
-
_0x21c6e4: 0xff,
|
|
833
|
-
_0x44a930: 0x11b,
|
|
834
|
-
_0x4ee032: 0x232
|
|
835
|
-
}, _0x281774 = {
|
|
836
|
-
_0x2d1f0a: 0x1b9,
|
|
837
|
-
_0x4b0853: 0x239,
|
|
838
|
-
_0x561910: 0x232,
|
|
839
|
-
_0x582894: 0x232,
|
|
840
|
-
_0x432235: 0x241
|
|
841
|
-
}, _0x45332f = {
|
|
842
|
-
_0x3031b1: 0x22c,
|
|
843
|
-
_0x1b3d0d: 0x180
|
|
844
|
-
}, _0x474b7f = { _0x50d06e: 0x1eb }, _0x254734 = {
|
|
845
|
-
_0x78e656: 0xf4,
|
|
846
|
-
_0x445fec: 0x1a4,
|
|
847
|
-
_0x3a0960: 0x232
|
|
848
|
-
}, _0x5e3cf8 = {
|
|
849
|
-
_0x45b007: 0x1c2,
|
|
850
|
-
_0x5ae09a: 0xfb,
|
|
851
|
-
_0x30f33c: 0xf5,
|
|
852
|
-
_0x4e2e9d: 0x13b
|
|
853
|
-
}, _0x37d5ab = { _0x17155a: 0xfb }, _0x5afbdc = {
|
|
854
|
-
_0x5c65a8: 0x212,
|
|
855
|
-
_0x195702: 0xce,
|
|
856
|
-
_0x58c5d1: 0x22b
|
|
857
|
-
}, _0x366599 = {
|
|
858
|
-
_0x3ed5bd: 0x17b,
|
|
859
|
-
_0x5c1ce2: 0xc8,
|
|
860
|
-
_0x4e6dcc: 0x185,
|
|
861
|
-
_0x3b4b11: 0x1a5,
|
|
862
|
-
_0x564890: 0x23b,
|
|
863
|
-
_0x89b170: 0xf6
|
|
864
|
-
}, _0x3d42f3 = { _0x58405c: 0x1b3 }, _0x5b029c = {
|
|
865
|
-
_0x468ab8: 0x19d,
|
|
866
|
-
_0x7a847c: 0x169,
|
|
867
|
-
_0x388948: 0x1a6,
|
|
868
|
-
_0x2886a2: 0x201,
|
|
869
|
-
_0x44095d: 0xbf
|
|
870
|
-
}, _0x3cf28a = _0x14c52b, _0x4ed2bb = _0x430585[_0x3cf28a(0xba)] ?? fetch, _0x3a23fe = _0x430585[_0x3cf28a(0x1e2)] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x4b3821 = typeof _0x430585[_0x3cf28a(_0xa265a2._0x2624a2)] === _0x3cf28a(0x15a) && _0x430585['initialLastSeenSeq'] > 0x0 ? _0x430585['initialLastSeenSeq'] : 0x0, _0x12343e = _0x430585[_0x3cf28a(_0xa265a2._0x31c2d4)]?.['trim']() || void 0x0, _0x4da638 = _0x430585[_0x3cf28a(0xd1)]?.[_0x3cf28a(_0xa265a2._0x6c7ea2)]() || void 0x0, _0x32ae96 = _0x430585['workerModeEnabled'] === !![], _0x552112 = _0x430585['workerSessionId']?.[_0x3cf28a(_0xa265a2._0x6c7ea2)]() || void 0x0, _0x52a92c = _0x430585[_0x3cf28a(_0xa265a2._0x3f3411)]?.[_0x3cf28a(_0xa265a2._0x1da811)]() || void 0x0, _0x455f4d = createHeaders(_0x430585[_0x3cf28a(0x1c6)]), _0x4fa0f8 = toHttpBaseUrl(_0x430585[_0x3cf28a(0x12b)]);
|
|
871
|
-
let _0x5deb94 = null;
|
|
872
|
-
const _0x9dd7e1 = new Map();
|
|
873
|
-
let _0x4c7a14 = _0x4b3821, _0x17a6be = _0x4b3821;
|
|
874
|
-
function _0x56f248(_0x39347c) {
|
|
875
|
-
const _0x1adb7f = _0x3cf28a, _0x402288 = _0x39347c[_0x1adb7f(0xbf)][_0x1adb7f(0x126)][_0x1adb7f(0x167)](_0x1adb7f(_0x5b029c._0x468ab8)) ?? 'unknown', _0x1f41d8 = _0x39347c[_0x1adb7f(0xe6)][_0x1adb7f(_0x5b029c._0x7a847c)]()[_0x1adb7f(0xfc)](/\s+/g, '\x20')['slice'](0x0, 0x78) || _0x1adb7f(_0x5b029c._0x388948);
|
|
876
|
-
return _0x1adb7f(0xc6) + _0x39347c[_0x1adb7f(0x162)] + _0x1adb7f(_0x5b029c._0x2886a2) + _0x39347c[_0x1adb7f(_0x5b029c._0x44095d)][_0x1adb7f(0x13b)] + ',\x20content-type=' + _0x402288 + ',\x20preview=' + _0x1f41d8 + _0x1adb7f(0x225);
|
|
877
|
-
}
|
|
878
|
-
async function _0x388bc7(_0x43680a, _0x408589) {
|
|
879
|
-
const _0x48bbcf = _0x3cf28a, _0x4b7fbc = Buffer[_0x48bbcf(0x20f)](await _0x408589[_0x48bbcf(_0x3d42f3._0x58405c)]())[_0x48bbcf(0x149)]('utf8');
|
|
880
|
-
if (!_0x4b7fbc[_0x48bbcf(0x169)]())
|
|
881
|
-
return {};
|
|
882
|
-
try {
|
|
883
|
-
return JSON[_0x48bbcf(0xeb)](_0x4b7fbc);
|
|
884
|
-
} catch {
|
|
885
|
-
throw new Error(_0x56f248({
|
|
886
|
-
'bodyText': _0x4b7fbc,
|
|
887
|
-
'requestUrl': _0x43680a,
|
|
888
|
-
'response': _0x408589
|
|
889
|
-
}));
|
|
890
|
-
}
|
|
891
|
-
}
|
|
892
|
-
function _0x1e6dbf(_0x56d17d, _0x46c2e6) {
|
|
893
|
-
const _0x2efbb6 = _0x3cf28a, _0x178d73 = typeof _0x46c2e6[_0x2efbb6(_0x366599._0x3ed5bd)] === _0x2efbb6(0x202) ? _0x46c2e6[_0x2efbb6(0x17b)][_0x2efbb6(0x169)]() : '';
|
|
894
|
-
if (_0x178d73)
|
|
895
|
-
return _0x178d73;
|
|
896
|
-
const _0xf43824 = Date[_0x2efbb6(_0x366599._0x5c1ce2)]();
|
|
897
|
-
for (const [_0x49d810, _0x57432f] of _0x9dd7e1) {
|
|
898
|
-
_0x57432f[_0x2efbb6(0x172)] <= _0xf43824 && _0x9dd7e1[_0x2efbb6(0x1c4)](_0x49d810);
|
|
899
|
-
}
|
|
900
|
-
const _0x521fb6 = {
|
|
901
|
-
..._0x46c2e6,
|
|
902
|
-
'idempotency_key': void 0x0
|
|
903
|
-
}, _0x9453d0 = createHash(_0x2efbb6(0x166))[_0x2efbb6(_0x366599._0x4e6dcc)](_0x56d17d + ':' + stableStringify(_0x521fb6))[_0x2efbb6(_0x366599._0x3b4b11)](_0x2efbb6(_0x366599._0x564890)), _0x218701 = _0x56d17d + ':' + _0x9453d0, _0x370bdd = _0x9dd7e1[_0x2efbb6(0x167)](_0x218701);
|
|
904
|
-
if (_0x370bdd)
|
|
905
|
-
return _0x370bdd[_0x2efbb6(_0x366599._0x89b170)];
|
|
906
|
-
const _0x164489 = _0x2efbb6(0x208) + _0x56d17d + ':' + randomUUID();
|
|
907
|
-
return _0x9dd7e1[_0x2efbb6(0x157)](_0x218701, {
|
|
908
|
-
'expiresAt': _0xf43824 + 0x5 * 0x3c * 0x3e8,
|
|
909
|
-
'value': _0x164489
|
|
910
|
-
}), _0x164489;
|
|
911
|
-
}
|
|
912
|
-
async function _0x5670f7(_0x143fb1, _0x3b2cda) {
|
|
913
|
-
const _0x280731 = _0x3cf28a, _0x52a26c = new AbortController(), _0x2db81b = setTimeout(() => _0x52a26c['abort'](), _0x3a23fe), _0x40b2a7 = _0x3b2cda?.[_0x280731(0x212)] ? anySignal(_0x3b2cda[_0x280731(_0x5afbdc._0x5c65a8)], _0x52a26c[_0x280731(0x212)]) : _0x52a26c[_0x280731(_0x5afbdc._0x5c65a8)], _0x38ae52 = '' + _0x4fa0f8 + _0x143fb1;
|
|
914
|
-
try {
|
|
915
|
-
const _0x13a136 = await _0x4ed2bb(_0x38ae52, {
|
|
916
|
-
..._0x3b2cda,
|
|
917
|
-
'signal': _0x40b2a7
|
|
918
|
-
}), _0x3a2bb6 = await _0x388bc7(_0x38ae52, _0x13a136);
|
|
919
|
-
if (!_0x13a136['ok'] || _0x3a2bb6[_0x280731(_0x5afbdc._0x195702)] === ![])
|
|
920
|
-
throw new Error(asErrorMessage(_0x3a2bb6['error'], _0x280731(_0x5afbdc._0x58c5d1) + _0x13a136['status']));
|
|
921
|
-
return _0x3a2bb6;
|
|
922
|
-
} finally {
|
|
923
|
-
clearTimeout(_0x2db81b);
|
|
924
|
-
}
|
|
925
|
-
}
|
|
926
|
-
async function _0x2959f5(_0x8e3b2a, _0x3d5437) {
|
|
927
|
-
const _0x1d9388 = _0x3cf28a, _0x4ed6a4 = new AbortController(), _0x16160d = setTimeout(() => _0x4ed6a4[_0x1d9388(0x168)](), _0x3a23fe), _0x382f99 = _0x3d5437?.[_0x1d9388(0x212)] ? anySignal(_0x3d5437[_0x1d9388(0x212)], _0x4ed6a4[_0x1d9388(0x212)]) : _0x4ed6a4['signal'], _0x403f78 = '' + _0x4fa0f8 + _0x8e3b2a;
|
|
928
|
-
try {
|
|
929
|
-
const _0x3d3d81 = await _0x4ed2bb(_0x403f78, {
|
|
930
|
-
..._0x3d5437,
|
|
931
|
-
'signal': _0x382f99
|
|
932
|
-
}), _0x3bbd86 = await _0x388bc7(_0x403f78, _0x3d3d81);
|
|
933
|
-
if (!_0x3d3d81['ok'])
|
|
934
|
-
throw new Error(asErrorMessage(_0x3bbd86['error'], _0x1d9388(0x22b) + _0x3d3d81['status']));
|
|
935
|
-
return _0x3bbd86;
|
|
936
|
-
} finally {
|
|
937
|
-
clearTimeout(_0x16160d);
|
|
938
|
-
}
|
|
939
|
-
}
|
|
940
|
-
async function _0x25290a(_0x2f8b0b) {
|
|
941
|
-
const _0x183d80 = _0x3cf28a;
|
|
942
|
-
if (!_0x4da638 || _0x2f8b0b <= _0x17a6be)
|
|
943
|
-
return;
|
|
944
|
-
await _0x5670f7('/api/agent-sessions/' + encodeURIComponent(_0x4da638) + '/context-metrics', {
|
|
945
|
-
'body': JSON[_0x183d80(_0x37d5ab._0x17155a)]({ 'lastSeenSeq': _0x2f8b0b }),
|
|
946
|
-
'headers': _0x455f4d,
|
|
947
|
-
'method': _0x183d80(0x144)
|
|
948
|
-
}), _0x17a6be = _0x2f8b0b;
|
|
949
|
-
}
|
|
950
|
-
async function _0x1d9c0a(_0x3652b8) {
|
|
951
|
-
const _0x137ea8 = _0x3cf28a;
|
|
952
|
-
if (!_0x12343e || !_0x552112 || _0x3652b8 <= _0x17a6be)
|
|
953
|
-
return;
|
|
954
|
-
const _0x5a5c9f = await _0x4ed2bb(_0x12343e + _0x137ea8(_0x5e3cf8._0x45b007), {
|
|
955
|
-
'body': JSON[_0x137ea8(_0x5e3cf8._0x5ae09a)]({
|
|
956
|
-
'last_seen_seq': _0x3652b8,
|
|
957
|
-
'worker_session_id': _0x552112
|
|
958
|
-
}),
|
|
959
|
-
'headers': { 'Content-Type': _0x137ea8(0x182) },
|
|
960
|
-
'method': _0x137ea8(_0x5e3cf8._0x30f33c)
|
|
961
|
-
});
|
|
962
|
-
if (!_0x5a5c9f['ok'])
|
|
963
|
-
throw new Error(_0x137ea8(0x22b) + _0x5a5c9f[_0x137ea8(_0x5e3cf8._0x4e2e9d)]);
|
|
964
|
-
_0x17a6be = _0x3652b8;
|
|
965
|
-
}
|
|
966
|
-
async function _0x1b25c1(_0x145211) {
|
|
967
|
-
const _0x4fa36c = _0x3cf28a, _0x4b9aad = parseTarget(_0x145211), _0x32abff = await _0x5670f7(_0x4fa36c(0x1e6) + _0x430585['agentId'] + _0x4fa36c(0xf2), {
|
|
968
|
-
'body': JSON[_0x4fa36c(0xfb)]({ 'target': _0x4b9aad['target'] }),
|
|
969
|
-
'headers': _0x455f4d,
|
|
970
|
-
'method': 'POST'
|
|
971
|
-
});
|
|
972
|
-
return {
|
|
973
|
-
'channelId': _0x32abff[_0x4fa36c(_0x254734._0x78e656)]?.[_0x4fa36c(_0x254734._0x445fec)] ?? '',
|
|
974
|
-
'target': _0x4b9aad[_0x4fa36c(0x1b9)],
|
|
975
|
-
'task': _0x32abff[_0x4fa36c(0xf4)]?.['task'],
|
|
976
|
-
'threadId': _0x32abff[_0x4fa36c(0xf4)]?.[_0x4fa36c(_0x254734._0x3a0960)],
|
|
977
|
-
'threadNumber': _0x32abff[_0x4fa36c(_0x254734._0x78e656)]?.['threadNumber']
|
|
978
|
-
};
|
|
979
|
-
}
|
|
980
|
-
async function _0x282970(_0x3541bc = {}) {
|
|
981
|
-
const _0x92a24 = {
|
|
982
|
-
_0x436c46: 0x228,
|
|
983
|
-
_0xda72b4: 0xf4,
|
|
984
|
-
_0x1756b3: 0x13e,
|
|
985
|
-
_0x2f2c1f: 0x13e,
|
|
986
|
-
_0x3e4d79: 0x23a,
|
|
987
|
-
_0x2171b8: 0xf4,
|
|
988
|
-
_0x1d8493: 0x196
|
|
989
|
-
};
|
|
990
|
-
if (!_0x3541bc['forceRefresh'] && _0x5deb94)
|
|
991
|
-
return _0x5deb94;
|
|
992
|
-
return _0x5deb94 = (async () => {
|
|
993
|
-
const _0x5a6cc7 = _0xd2b0, _0x4b3698 = await _0x5670f7('/internal/agent/' + _0x430585[_0x5a6cc7(0x1af)] + _0x5a6cc7(_0x92a24._0x436c46), {
|
|
994
|
-
'headers': _0x455f4d,
|
|
995
|
-
'method': 'GET'
|
|
996
|
-
}), _0x317b1f = _0x4b3698[_0x5a6cc7(_0x92a24._0xda72b4)]?.[_0x5a6cc7(0xf7)] ?? [], _0xd29a12 = _0x317b1f['filter'](_0x3f9216 => _0x3f9216['participant']?.['type'] === _0x5a6cc7(0xea))['map'](_0x3f7cb5 => ({
|
|
997
|
-
'id': _0x438fe8(_0x3f7cb5),
|
|
998
|
-
'name': _0x48fffc(_0x3f7cb5)
|
|
999
|
-
}))[_0x5a6cc7(_0x92a24._0x1756b3)](_0x417ed7 => _0x417ed7['id']), _0x3ca7c4 = _0x317b1f[_0x5a6cc7(_0x92a24._0x2f2c1f)](_0x3ad14c => _0x3ad14c[_0x5a6cc7(0x1fd)]?.[_0x5a6cc7(0x123)] !== _0x5a6cc7(0xea))[_0x5a6cc7(0xdb)](_0x5c60bb => ({
|
|
1000
|
-
'id': _0x438fe8(_0x5c60bb),
|
|
1001
|
-
'name': _0x48fffc(_0x5c60bb)
|
|
1002
|
-
}))[_0x5a6cc7(0x13e)](_0x27fc55 => _0x27fc55['id']), _0x54e6a6 = _0x4b3698['data']?.[_0x5a6cc7(_0x92a24._0x3e4d79)]['id'] ?? '';
|
|
1003
|
-
return {
|
|
1004
|
-
'agents': _0xd29a12,
|
|
1005
|
-
'channels': _0x4b3698[_0x5a6cc7(_0x92a24._0x2171b8)]?.[_0x5a6cc7(_0x92a24._0x1d8493)] ?? [],
|
|
1006
|
-
'humans': _0x3ca7c4,
|
|
1007
|
-
'serverId': _0x54e6a6,
|
|
1008
|
-
'serverName': _0x4b3698[_0x5a6cc7(_0x92a24._0x2171b8)]?.[_0x5a6cc7(0x23a)][_0x5a6cc7(0x218)] ?? _0x54e6a6
|
|
1009
|
-
};
|
|
1010
|
-
})()['catch'](_0x39f0f8 => {
|
|
1011
|
-
_0x5deb94 = null;
|
|
1012
|
-
throw _0x39f0f8;
|
|
1013
|
-
}), _0x5deb94;
|
|
1014
|
-
}
|
|
1015
|
-
function _0x5ce61a(_0x554bc9, _0x683a7f) {
|
|
1016
|
-
const _0x2f932e = _0x3cf28a;
|
|
1017
|
-
return _0x683a7f[_0x2f932e(_0x474b7f._0x50d06e)]['some'](_0x245be7 => _0x245be7['id'] === _0x554bc9 || _0x245be7[_0x2f932e(0x218)] === _0x554bc9) ? 'agent' : 'human';
|
|
1018
|
-
}
|
|
1019
|
-
function _0x2d6bd0(_0xd0cfe2, _0x5209cf) {
|
|
1020
|
-
const _0x470159 = _0x3cf28a, _0x4e35cb = [
|
|
1021
|
-
..._0x5209cf[_0x470159(0x1eb)],
|
|
1022
|
-
..._0x5209cf[_0x470159(_0x45332f._0x3031b1)]
|
|
1023
|
-
][_0x470159(_0x45332f._0x1b3d0d)](_0x14cfaa => _0x14cfaa['id'] === _0xd0cfe2);
|
|
1024
|
-
return _0x4e35cb?.[_0x470159(0x218)] ?? _0xd0cfe2;
|
|
1025
|
-
}
|
|
1026
|
-
function _0x5e4218(_0x18c7e8) {
|
|
1027
|
-
const _0x4ae644 = _0x3cf28a;
|
|
1028
|
-
if (_0x18c7e8['threadNumber'] != null)
|
|
1029
|
-
return _0x18c7e8[_0x4ae644(_0x281774._0x2d1f0a)] + ':t' + _0x18c7e8[_0x4ae644(_0x281774._0x4b0853)];
|
|
1030
|
-
if (_0x18c7e8[_0x4ae644(0xff)])
|
|
1031
|
-
return _0x18c7e8['channelTarget'] + ':' + _0x18c7e8['rootMessageId'];
|
|
1032
|
-
if (_0x18c7e8[_0x4ae644(_0x281774._0x561910)])
|
|
1033
|
-
return _0x18c7e8[_0x4ae644(0x1b9)] + ':' + _0x18c7e8[_0x4ae644(_0x281774._0x582894)][_0x4ae644(_0x281774._0x432235)](0x0, 0x8);
|
|
1034
|
-
return _0x18c7e8['channelTarget'];
|
|
1035
|
-
}
|
|
1036
|
-
function _0x5873d3(_0x3e9c0e, _0x5229b8) {
|
|
1037
|
-
const _0x53c1ab = _0x3cf28a;
|
|
1038
|
-
try {
|
|
1039
|
-
const _0x569252 = parseTarget(_0x3e9c0e);
|
|
1040
|
-
if (_0x569252['kind'] !== _0x53c1ab(_0x381a71._0x3524a4) || _0x569252[_0x53c1ab(0x1b9)] !== _0x5229b8[_0x53c1ab(_0x381a71._0x365519)])
|
|
1041
|
-
return ![];
|
|
1042
|
-
if (_0x5229b8[_0x53c1ab(_0x381a71._0x443a9e)] != null && _0x569252[_0x53c1ab(0x11b)] === 't' + _0x5229b8[_0x53c1ab(0x239)])
|
|
1043
|
-
return !![];
|
|
1044
|
-
if (_0x5229b8[_0x53c1ab(_0x381a71._0x21c6e4)])
|
|
1045
|
-
return _0x569252[_0x53c1ab(0x11b)] === _0x5229b8[_0x53c1ab(0xff)] || _0x5229b8[_0x53c1ab(0xff)]['startsWith'](_0x569252[_0x53c1ab(0x11b)]);
|
|
1046
|
-
if (_0x5229b8[_0x53c1ab(0x232)])
|
|
1047
|
-
return _0x569252[_0x53c1ab(_0x381a71._0x44a930)] === _0x5229b8[_0x53c1ab(_0x381a71._0x4ee032)] || _0x5229b8['threadId'][_0x53c1ab(0x15c)](_0x569252[_0x53c1ab(_0x381a71._0x44a930)]);
|
|
1048
|
-
return ![];
|
|
1049
|
-
} catch {
|
|
1050
|
-
return ![];
|
|
1051
|
-
}
|
|
1052
|
-
}
|
|
1053
|
-
function _0x7875eb(_0x44aa36, _0x5744e8) {
|
|
1054
|
-
const _0x529509 = _0x3cf28a;
|
|
1055
|
-
try {
|
|
1056
|
-
const _0x2c93a9 = parseTarget(_0x44aa36);
|
|
1057
|
-
if (_0x2c93a9[_0x529509(_0x45f58b._0x4a41e2)] !== 'thread')
|
|
1058
|
-
return ![];
|
|
1059
|
-
const _0xab389 = typeof _0x5744e8['threadNumber'] === _0x529509(0x15a) && Number['isInteger'](_0x5744e8['threadNumber']) ? _0x5744e8[_0x529509(0x239)] : void 0x0;
|
|
1060
|
-
if (_0xab389 != null && _0x2c93a9[_0x529509(_0x45f58b._0x5175d3)] === 't' + _0xab389)
|
|
1061
|
-
return !![];
|
|
1062
|
-
const _0xae6ad7 = typeof _0x5744e8[_0x529509(_0x45f58b._0x129f59)] === _0x529509(0x202) ? _0x5744e8[_0x529509(0xff)] : void 0x0;
|
|
1063
|
-
if (_0xae6ad7)
|
|
1064
|
-
return _0x2c93a9['threadShortId'] === _0xae6ad7 || _0xae6ad7[_0x529509(_0x45f58b._0xfcf2c9)](_0x2c93a9[_0x529509(_0x45f58b._0x5175d3)]);
|
|
1065
|
-
const _0x15bb71 = typeof _0x5744e8[_0x529509(0x232)] === _0x529509(0x202) ? _0x5744e8[_0x529509(_0x45f58b._0x3f3b94)] : void 0x0;
|
|
1066
|
-
return Boolean(_0x15bb71) && (_0x2c93a9[_0x529509(_0x45f58b._0x5175d3)] === _0x15bb71 || _0x15bb71[_0x529509(_0x45f58b._0x362947)](_0x2c93a9[_0x529509(0x11b)]));
|
|
1067
|
-
} catch {
|
|
1068
|
-
return ![];
|
|
1069
|
-
}
|
|
1070
|
-
}
|
|
1071
|
-
function _0x438fe8(_0x3f7cc0) {
|
|
1072
|
-
const _0x381548 = _0x3cf28a;
|
|
1073
|
-
return _0x3f7cc0[_0x381548(0x1e3)]?.[_0x381548(_0x2d5f0d._0x5d9b9f)] ?? _0x3f7cc0[_0x381548(0x1fd)]?.['id'] ?? _0x3f7cc0['participantId'] ?? '';
|
|
1074
|
-
}
|
|
1075
|
-
function _0x48fffc(_0x57c916) {
|
|
1076
|
-
const _0x555fd5 = _0x3cf28a;
|
|
1077
|
-
return _0x57c916[_0x555fd5(0x1fd)]?.[_0x555fd5(0x218)] ?? _0x438fe8(_0x57c916);
|
|
1078
|
-
}
|
|
1079
|
-
async function _0x407cfb(_0x47e67e) {
|
|
1080
|
-
const _0x2cfd43 = _0x3cf28a, _0x3f2033 = Math['min'](_0x47e67e[_0x2cfd43(_0x18ac15._0x535bd1)] ?? 0x32, 0x64), _0x9a4e27 = await _0x282970(), _0x2001b0 = new URLSearchParams();
|
|
1081
|
-
_0x2001b0[_0x2cfd43(0x157)](_0x2cfd43(0x209), String(_0x3f2033));
|
|
1082
|
-
_0x47e67e['threadId'] ? (_0x2001b0[_0x2cfd43(0x157)](_0x2cfd43(_0x18ac15._0x13a926), _0x47e67e[_0x2cfd43(_0x18ac15._0x13a926)]), _0x2001b0[_0x2cfd43(0x157)]('channelId', _0x47e67e[_0x2cfd43(_0x18ac15._0x56e0b1)])) : _0x2001b0[_0x2cfd43(_0x18ac15._0x554e7e)](_0x2cfd43(0x1a4), _0x47e67e['channelId']);
|
|
1083
|
-
_0x47e67e[_0x2cfd43(_0x18ac15._0x36dea6)] && _0x2001b0[_0x2cfd43(_0x18ac15._0x43daed)](_0x2cfd43(_0x18ac15._0x49c91e), String(_0x47e67e[_0x2cfd43(_0x18ac15._0x47c633)]));
|
|
1084
|
-
_0x47e67e[_0x2cfd43(_0x18ac15._0x272fa2)] !== void 0x0 && _0x2001b0[_0x2cfd43(_0x18ac15._0x554e7e)](_0x2cfd43(0xca), String(_0x47e67e[_0x2cfd43(0xca)]));
|
|
1085
|
-
const _0x531708 = await _0x5670f7('/internal/agent/' + _0x430585[_0x2cfd43(0x1af)] + '/history?' + _0x2001b0[_0x2cfd43(0x149)](), {
|
|
1086
|
-
'headers': _0x455f4d,
|
|
1087
|
-
'method': 'GET'
|
|
1088
|
-
}), _0x42e27d = (_0x531708[_0x2cfd43(0xf4)] ?? [])[_0x2cfd43(_0x18ac15._0x66ee7d)](_0xca6abb => ({
|
|
1089
|
-
'attachments': (_0xca6abb['attachments'] ?? [])[_0x2cfd43(0xdb)](_0x1fe368 => ({
|
|
1090
|
-
'filename': _0x1fe368[_0x2cfd43(0xcb)] ?? _0x1fe368['id'],
|
|
1091
|
-
'id': _0x1fe368['id']
|
|
1092
|
-
})),
|
|
1093
|
-
'content': _0xca6abb['bodyMarkdown'] ?? '',
|
|
1094
|
-
'createdAt': _0xca6abb[_0x2cfd43(0x129)],
|
|
1095
|
-
..._0xca6abb[_0x2cfd43(0x11c)] && _0xca6abb['kind'] !== _0x2cfd43(0x104) ? { 'kind': _0xca6abb['kind'] } : {},
|
|
1096
|
-
'messageId': _0xca6abb['id'],
|
|
1097
|
-
'senderName': _0x2d6bd0(_0xca6abb[_0x2cfd43(0x1fa)], _0x9a4e27),
|
|
1098
|
-
'senderType': _0x5ce61a(_0xca6abb[_0x2cfd43(0x1fa)], _0x9a4e27),
|
|
1099
|
-
'seq': _0xca6abb[_0x2cfd43(0x1f2)] ?? 0x0
|
|
1100
|
-
}));
|
|
1101
|
-
return {
|
|
1102
|
-
'channel': _0x47e67e[_0x2cfd43(0x1b9)],
|
|
1103
|
-
'hasMore': _0x531708[_0x2cfd43(0x152)]?.[_0x2cfd43(_0x18ac15._0xa00eef)] ?? ![],
|
|
1104
|
-
'messages': _0x42e27d,
|
|
1105
|
-
'nextCursor': _0x531708[_0x2cfd43(_0x18ac15._0x6f9db)]?.[_0x2cfd43(0x161)]
|
|
1106
|
-
};
|
|
1107
|
-
}
|
|
1108
|
-
return {
|
|
1109
|
-
async 'sendMessage'(_0x396728) {
|
|
1110
|
-
const _0x12e2f4 = _0x3cf28a, _0xb25dca = await _0x1b25c1(_0x396728[_0x12e2f4(0x20c)]), _0x44fcc8 = _0x396728['content']['includes']('@') ? extractMentionedParticipantIds(_0x396728['content'], await _0x282970()) : [], _0x44c003 = await _0x5670f7(_0x12e2f4(_0x52db46._0x39425b) + _0x430585[_0x12e2f4(0x1af)] + _0x12e2f4(0x1c9), {
|
|
1111
|
-
'body': JSON[_0x12e2f4(_0x52db46._0x5de7c9)]({
|
|
1112
|
-
'attachment_ids': _0x396728[_0x12e2f4(0x133)],
|
|
1113
|
-
'bodyMarkdown': _0x396728[_0x12e2f4(0xd8)],
|
|
1114
|
-
'channelId': _0xb25dca[_0x12e2f4(_0x52db46._0x5f436a)],
|
|
1115
|
-
..._0x44fcc8[_0x12e2f4(_0x52db46._0x1542c6)] > 0x0 ? { 'mentionedParticipantIds': _0x44fcc8 } : {},
|
|
1116
|
-
'threadId': _0xb25dca[_0x12e2f4(0x232)],
|
|
1117
|
-
..._0x396728[_0x12e2f4(0x1fb)] ? { 'visibility': _0x396728['visibility'] } : {}
|
|
1118
|
-
}),
|
|
1119
|
-
'headers': _0x455f4d,
|
|
1120
|
-
'method': _0x12e2f4(0xf5)
|
|
1121
|
-
});
|
|
1122
|
-
return { 'messageId': _0x44c003[_0x12e2f4(0xf4)]?.['id'] ?? '' };
|
|
1123
|
-
},
|
|
1124
|
-
async 'listSchedules'() {
|
|
1125
|
-
const _0x282bb9 = _0x3cf28a, _0x204e13 = await _0x5670f7('/api/internal/schedules', {
|
|
1126
|
-
'headers': _0x455f4d,
|
|
1127
|
-
'method': _0x282bb9(_0x515c30._0xd7ac9)
|
|
1128
|
-
});
|
|
1129
|
-
return _0x204e13[_0x282bb9(0xf4)] ?? [];
|
|
1130
|
-
},
|
|
1131
|
-
async 'claimScheduleRun'(_0xa3f9) {
|
|
1132
|
-
const _0x592ace = _0x3cf28a, _0x549ff5 = await _0x5670f7(_0x592ace(0x23f), {
|
|
1133
|
-
'body': JSON[_0x592ace(_0x48960b._0xc896d1)](_0xa3f9),
|
|
1134
|
-
'headers': _0x455f4d,
|
|
1135
|
-
'method': _0x592ace(0xf5)
|
|
1136
|
-
});
|
|
1137
|
-
return _0x549ff5[_0x592ace(_0x48960b._0x2d3277)] ?? {
|
|
1138
|
-
'granted': ![],
|
|
1139
|
-
'runId': null,
|
|
1140
|
-
'schedule': null,
|
|
1141
|
-
'scheduledFor': _0xa3f9[_0x592ace(0x171)]
|
|
1142
|
-
};
|
|
1143
|
-
},
|
|
1144
|
-
async 'startScheduleRun'(_0x56cba6) {
|
|
1145
|
-
const _0x316309 = _0x3cf28a, _0x576ebc = await _0x5670f7(_0x316309(_0x2d2e4f._0x10be97) + encodeURIComponent(_0x56cba6[_0x316309(0x19f)]) + _0x316309(0x203), {
|
|
1146
|
-
'body': JSON[_0x316309(0xfb)]({}),
|
|
1147
|
-
'headers': _0x455f4d,
|
|
1148
|
-
'method': 'POST'
|
|
1149
|
-
});
|
|
1150
|
-
return _0x576ebc[_0x316309(0xf4)] ?? {
|
|
1151
|
-
'claimedByDaemonId': '',
|
|
1152
|
-
'id': _0x56cba6[_0x316309(_0x2d2e4f._0x374681)],
|
|
1153
|
-
'scheduleId': '',
|
|
1154
|
-
'status': 'running'
|
|
1155
|
-
};
|
|
1156
|
-
},
|
|
1157
|
-
async 'finishScheduleRun'(_0x4b68f9) {
|
|
1158
|
-
const _0x26c78f = _0x3cf28a, _0x54e6c7 = await _0x5670f7(_0x26c78f(_0x28b80b._0x4c81e2) + encodeURIComponent(_0x4b68f9[_0x26c78f(_0x28b80b._0x321791)]) + _0x26c78f(0x12e), {
|
|
1159
|
-
'body': JSON[_0x26c78f(0xfb)]({
|
|
1160
|
-
'error': _0x4b68f9[_0x26c78f(_0x28b80b._0x2d06e5)],
|
|
1161
|
-
'resultJson': _0x4b68f9['resultJson'],
|
|
1162
|
-
'status': _0x4b68f9['status']
|
|
1163
|
-
}),
|
|
1164
|
-
'headers': _0x455f4d,
|
|
1165
|
-
'method': _0x26c78f(0xf5)
|
|
1166
|
-
});
|
|
1167
|
-
return _0x54e6c7[_0x26c78f(_0x28b80b._0x5e58cf)] ?? {
|
|
1168
|
-
'nextRunAt': null,
|
|
1169
|
-
'run': {
|
|
1170
|
-
'claimedByDaemonId': '',
|
|
1171
|
-
'id': _0x4b68f9[_0x26c78f(_0x28b80b._0x321791)],
|
|
1172
|
-
'scheduleId': '',
|
|
1173
|
-
'status': _0x4b68f9[_0x26c78f(_0x28b80b._0x5c0eca)]
|
|
1174
|
-
}
|
|
1175
|
-
};
|
|
1176
|
-
},
|
|
1177
|
-
async 'listTasks'(_0x34946c) {
|
|
1178
|
-
const _0x2e8fdb = _0x3cf28a, _0x5cd147 = new URLSearchParams();
|
|
1179
|
-
return _0x5cd147[_0x2e8fdb(0x157)]('channel', _0x34946c[_0x2e8fdb(0x122)]), _0x34946c[_0x2e8fdb(_0x203eaf._0x111cff)] && _0x5cd147['set'](_0x2e8fdb(_0x203eaf._0x111cff), _0x34946c[_0x2e8fdb(_0x203eaf._0x111cff)]), _0x2959f5(_0x2e8fdb(0x1e6) + _0x430585[_0x2e8fdb(0x1af)] + '/tasks?' + _0x5cd147[_0x2e8fdb(0x149)](), {
|
|
1180
|
-
'headers': _0x455f4d,
|
|
1181
|
-
'method': _0x2e8fdb(0x1a9)
|
|
1182
|
-
});
|
|
1183
|
-
},
|
|
1184
|
-
async 'createTasks'(_0x1b2ceb) {
|
|
1185
|
-
const _0x43d0b6 = _0x3cf28a;
|
|
1186
|
-
return _0x2959f5(_0x43d0b6(0x1e6) + _0x430585['agentId'] + _0x43d0b6(0x143), {
|
|
1187
|
-
'body': JSON['stringify']({
|
|
1188
|
-
..._0x1b2ceb,
|
|
1189
|
-
'idempotency_key': _0x1e6dbf('create_tasks', _0x1b2ceb)
|
|
1190
|
-
}),
|
|
1191
|
-
'headers': _0x455f4d,
|
|
1192
|
-
'method': 'POST'
|
|
1193
|
-
});
|
|
1194
|
-
},
|
|
1195
|
-
async 'claimTasks'(_0xbf74e7) {
|
|
1196
|
-
const _0x481d7b = _0x3cf28a;
|
|
1197
|
-
return _0x2959f5('/internal/agent/' + _0x430585[_0x481d7b(0x1af)] + _0x481d7b(_0x23d993._0x581cf1), {
|
|
1198
|
-
'body': JSON[_0x481d7b(0xfb)]({
|
|
1199
|
-
..._0xbf74e7,
|
|
1200
|
-
'idempotency_key': _0x1e6dbf('claim_tasks', _0xbf74e7)
|
|
1201
|
-
}),
|
|
1202
|
-
'headers': _0x455f4d,
|
|
1203
|
-
'method': _0x481d7b(0xf5)
|
|
1204
|
-
});
|
|
1205
|
-
},
|
|
1206
|
-
async 'unclaimTask'(_0x2a2c30) {
|
|
1207
|
-
const _0x5a5035 = _0x3cf28a;
|
|
1208
|
-
return _0x2959f5(_0x5a5035(0x1e6) + _0x430585[_0x5a5035(0x1af)] + _0x5a5035(_0x1464d8._0x3ec43a), {
|
|
1209
|
-
'body': JSON[_0x5a5035(_0x1464d8._0x38e11f)]({
|
|
1210
|
-
..._0x2a2c30,
|
|
1211
|
-
'idempotency_key': _0x1e6dbf('unclaim_task', _0x2a2c30)
|
|
1212
|
-
}),
|
|
1213
|
-
'headers': _0x455f4d,
|
|
1214
|
-
'method': _0x5a5035(0xf5)
|
|
1215
|
-
});
|
|
1216
|
-
},
|
|
1217
|
-
async 'updateTaskStatus'(_0x1678d2) {
|
|
1218
|
-
const _0x5a0ae3 = _0x3cf28a;
|
|
1219
|
-
return _0x2959f5(_0x5a0ae3(_0x33fa1b._0x1893d8) + _0x430585['agentId'] + '/tasks/update-status', {
|
|
1220
|
-
'body': JSON[_0x5a0ae3(0xfb)]({
|
|
1221
|
-
..._0x1678d2,
|
|
1222
|
-
'idempotency_key': _0x1e6dbf(_0x5a0ae3(_0x33fa1b._0x4a7e4f), _0x1678d2)
|
|
1223
|
-
}),
|
|
1224
|
-
'headers': _0x455f4d,
|
|
1225
|
-
'method': _0x5a0ae3(_0x33fa1b._0x1c164f)
|
|
1226
|
-
});
|
|
1227
|
-
},
|
|
1228
|
-
async 'uploadFile'(_0x12b2d9) {
|
|
1229
|
-
const _0xf0dc6c = _0x3cf28a, _0x3a43e7 = await _0x1b25c1(_0x12b2d9[_0xf0dc6c(_0x4cfa15._0x1b27ca)]);
|
|
1230
|
-
if (_0x3a43e7[_0xf0dc6c(_0x4cfa15._0x513cc3)])
|
|
1231
|
-
throw new Error(_0xf0dc6c(_0x4cfa15._0x4797fc));
|
|
1232
|
-
const _0x1f8705 = await _0x5670f7(_0xf0dc6c(_0x4cfa15._0x470ced) + _0x430585[_0xf0dc6c(_0x4cfa15._0x142f27)] + _0xf0dc6c(0xd9), {
|
|
1233
|
-
'body': JSON[_0xf0dc6c(0xfb)]({
|
|
1234
|
-
'channel': _0x3a43e7[_0xf0dc6c(_0x4cfa15._0x2c3b32)],
|
|
1235
|
-
'contentBase64': _0x12b2d9[_0xf0dc6c(0xc4)],
|
|
1236
|
-
'contentType': _0x12b2d9[_0xf0dc6c(_0x4cfa15._0x28b8d0)],
|
|
1237
|
-
'originalFilename': _0x12b2d9['filename']
|
|
1238
|
-
}),
|
|
1239
|
-
'headers': _0x455f4d,
|
|
1240
|
-
'method': _0xf0dc6c(0xf5)
|
|
1241
|
-
});
|
|
1242
|
-
return {
|
|
1243
|
-
'attachmentId': _0x1f8705[_0xf0dc6c(0xf4)]?.['id'] ?? '',
|
|
1244
|
-
'filename': _0x1f8705['data']?.['originalFilename'] ?? _0x12b2d9[_0xf0dc6c(0xcb)],
|
|
1245
|
-
'sizeBytes': _0x1f8705[_0xf0dc6c(_0x4cfa15._0x41166d)]?.[_0xf0dc6c(0x14d)] ?? 0x0
|
|
1246
|
-
};
|
|
1247
|
-
},
|
|
1248
|
-
async 'downloadAttachment'(_0x30a34d) {
|
|
1249
|
-
const _0x4f4870 = _0x3cf28a, _0x5dc057 = await _0x5670f7('/api/attachments/' + _0x30a34d, {
|
|
1250
|
-
'headers': _0x455f4d,
|
|
1251
|
-
'method': _0x4f4870(_0x5408be._0x267448)
|
|
1252
|
-
}), _0xb97878 = new AbortController(), _0x48ebb4 = setTimeout(() => _0xb97878[_0x4f4870(0x168)](), _0x3a23fe);
|
|
1253
|
-
try {
|
|
1254
|
-
const _0x1a002b = await _0x4ed2bb(_0x4fa0f8 + _0x4f4870(0xf0) + _0x30a34d + _0x4f4870(0x1cd), {
|
|
1255
|
-
'headers': _0x455f4d,
|
|
1256
|
-
'method': 'GET',
|
|
1257
|
-
'signal': _0xb97878[_0x4f4870(0x212)]
|
|
1258
|
-
});
|
|
1259
|
-
if (!_0x1a002b['ok'])
|
|
1260
|
-
throw new Error('HTTP\x20' + _0x1a002b[_0x4f4870(0x13b)]);
|
|
1261
|
-
return {
|
|
1262
|
-
'contentType': _0x5dc057[_0x4f4870(0xf4)]?.[_0x4f4870(_0x5408be._0x234dcd)] ?? _0x1a002b['headers']['get']('content-type') ?? _0x4f4870(0x214),
|
|
1263
|
-
'data': Buffer[_0x4f4870(0x20f)](await _0x1a002b[_0x4f4870(_0x5408be._0x2a7e49)]()),
|
|
1264
|
-
'originalFilename': _0x5dc057[_0x4f4870(0xf4)]?.[_0x4f4870(_0x5408be._0x16f72c)]
|
|
1265
|
-
};
|
|
1266
|
-
} finally {
|
|
1267
|
-
clearTimeout(_0x48ebb4);
|
|
1268
|
-
}
|
|
1269
|
-
},
|
|
1270
|
-
async 'listServer'() {
|
|
1271
|
-
return _0x282970({ 'forceRefresh': !![] });
|
|
1272
|
-
},
|
|
1273
|
-
async 'getLatestEventSeq'() {
|
|
1274
|
-
const _0x11ee91 = _0x3cf28a, _0x35bf79 = new URLSearchParams();
|
|
1275
|
-
_0x35bf79[_0x11ee91(_0x1abe94._0x53b302)](_0x11ee91(_0x1abe94._0x10984e), '0'), _0x35bf79['set'](_0x11ee91(_0x1abe94._0x3d1360), '1');
|
|
1276
|
-
const _0x4d13ed = await _0x5670f7(_0x11ee91(0x1e6) + _0x430585['agentId'] + '/receive?' + _0x35bf79[_0x11ee91(_0x1abe94._0x48a721)](), {
|
|
1277
|
-
'headers': _0x455f4d,
|
|
1278
|
-
'method': 'GET'
|
|
1279
|
-
}), _0x10cfdd = _0x4d13ed[_0x11ee91(_0x1abe94._0x2d7cfa)]?.['latestSeq'];
|
|
1280
|
-
return typeof _0x10cfdd === _0x11ee91(_0x1abe94._0x1e9e1d) && _0x10cfdd > 0x0 ? _0x10cfdd : 0x0;
|
|
1281
|
-
},
|
|
1282
|
-
async 'readHistory'(_0x4b15e4) {
|
|
1283
|
-
const _0x520a0c = _0x3cf28a, _0x17e75b = await _0x1b25c1(_0x4b15e4[_0x520a0c(_0x45b1da._0x557e19)]);
|
|
1284
|
-
return _0x407cfb({
|
|
1285
|
-
'after': _0x4b15e4[_0x520a0c(_0x45b1da._0x3a49b7)],
|
|
1286
|
-
'before': _0x4b15e4[_0x520a0c(_0x45b1da._0x63557d)],
|
|
1287
|
-
'channelId': _0x17e75b[_0x520a0c(0x1a4)],
|
|
1288
|
-
'channelTarget': _0x17e75b[_0x520a0c(0x20c)],
|
|
1289
|
-
'limit': _0x4b15e4[_0x520a0c(_0x45b1da._0x37878d)],
|
|
1290
|
-
'threadId': _0x17e75b[_0x520a0c(_0x45b1da._0x1c7743)]
|
|
1291
|
-
});
|
|
1292
|
-
},
|
|
1293
|
-
'resolveTarget': _0x1b25c1,
|
|
1294
|
-
async 'checkMessages'() {
|
|
1295
|
-
const _0x36f985 = _0x3cf28a, _0x4c745c = new URLSearchParams();
|
|
1296
|
-
_0x4c745c[_0x36f985(_0x1071ec._0x5e1df4)](_0x36f985(0x1cf), String(_0x4c7a14));
|
|
1297
|
-
const _0x49d6df = _0x4c745c['toString'](), _0x59ab5c = await _0x5670f7(_0x36f985(0x1e6) + _0x430585[_0x36f985(0x1af)] + _0x36f985(_0x1071ec._0x491706) + (_0x49d6df ? '?' + _0x49d6df : ''), {
|
|
1298
|
-
'headers': _0x455f4d,
|
|
1299
|
-
'method': _0x36f985(_0x1071ec._0x129a27)
|
|
1300
|
-
}), _0x5ea5da = _0x59ab5c[_0x36f985(0xf4)] ?? [], _0x128c85 = _0x59ab5c[_0x36f985(_0x1071ec._0x58d4e)]?.[_0x36f985(_0x1071ec._0x4b7c5)], _0xf061f9 = _0x52a92c ? _0x5ea5da[_0x36f985(0x13e)](_0x3276aa => {
|
|
1301
|
-
const _0x46d7a6 = _0x36f985;
|
|
1302
|
-
if (_0x3276aa['aggregateType'] !== _0x46d7a6(_0x9a84a6._0xc95712))
|
|
1303
|
-
return ![];
|
|
1304
|
-
return _0x7875eb(_0x52a92c, asRecord(_0x3276aa[_0x46d7a6(0x15f)]));
|
|
1305
|
-
}) : _0x5ea5da, _0xa2190c = _0x128c85 !== void 0x0 ? _0x52a92c ? Math[_0x36f985(_0x1071ec._0x524b1a)](_0x4c7a14, _0xf061f9[_0x36f985(_0x1071ec._0x42ff19)] > 0x0 ? _0xf061f9[_0xf061f9[_0x36f985(_0x1071ec._0x42ff19)] - 0x1][_0x36f985(0xed)] : _0x4c7a14) : Math[_0x36f985(0x20e)](_0x4c7a14, _0x128c85) : _0xf061f9[_0x36f985(_0x1071ec._0x56e3c5)] > 0x0 ? Math[_0x36f985(_0x1071ec._0x352b39)](_0x4c7a14, _0xf061f9[_0xf061f9[_0x36f985(0xd3)] - 0x1][_0x36f985(0xed)]) : _0x4c7a14, _0x2b96ab = (_0x52a92c ? _0xf061f9 : _0x5ea5da)['filter'](_0x42f4c4 => _0x42f4c4['aggregateType'] === _0x36f985(0x151)), _0x367810 = _0x52a92c === void 0x0 && _0x32ae96;
|
|
1306
|
-
let _0x3a0895 = await _0x282970(), _0x4dc6ea = new Map(_0x3a0895[_0x36f985(0x196)]['map'](_0x620d05 => [
|
|
1307
|
-
_0x620d05['id'],
|
|
1308
|
-
_0x620d05
|
|
1309
|
-
]));
|
|
1310
|
-
const _0x26c3c4 = _0x2b96ab[_0x36f985(_0x1071ec._0x497fff)](_0x5146f2 => {
|
|
1311
|
-
const _0x1a60ad = _0x36f985, _0x2544fc = asRecord(_0x5146f2[_0x1a60ad(0x15f)]), _0x1f09f9 = typeof _0x2544fc?.[_0x1a60ad(_0x17048c._0x325fa7)] === 'string' ? _0x2544fc['channelId'] : '';
|
|
1312
|
-
return Boolean(_0x1f09f9) && !_0x4dc6ea['has'](_0x1f09f9);
|
|
1313
|
-
});
|
|
1314
|
-
_0x26c3c4 && (_0x3a0895 = await _0x282970({ 'forceRefresh': !![] }), _0x4dc6ea = new Map(_0x3a0895['channels']['map'](_0x2194e3 => [
|
|
1315
|
-
_0x2194e3['id'],
|
|
1316
|
-
_0x2194e3
|
|
1317
|
-
])));
|
|
1318
|
-
const _0x35f46b = new Map();
|
|
1319
|
-
for (const _0xbedc3a of _0x2b96ab) {
|
|
1320
|
-
const _0x29bab9 = asRecord(_0xbedc3a[_0x36f985(_0x1071ec._0x274283)]), _0x40e045 = typeof _0x29bab9[_0x36f985(0x1a4)] === _0x36f985(_0x1071ec._0x434f5d) ? _0x29bab9[_0x36f985(0x1a4)] : '';
|
|
1321
|
-
if (!_0x40e045)
|
|
1322
|
-
continue;
|
|
1323
|
-
const _0x2f43cc = typeof _0x29bab9[_0x36f985(0x232)] === _0x36f985(_0x1071ec._0x434f5d) ? _0x29bab9[_0x36f985(0x232)] : void 0x0, _0x3f28bd = typeof _0x29bab9[_0x36f985(0xff)] === _0x36f985(0x202) ? _0x29bab9['rootMessageId'] : void 0x0, _0x500024 = typeof _0x29bab9['threadNumber'] === _0x36f985(0x15a) && Number[_0x36f985(_0x1071ec._0x3571f1)](_0x29bab9[_0x36f985(0x239)]) ? _0x29bab9[_0x36f985(_0x1071ec._0x1da3a5)] : void 0x0, _0x43ad76 = Boolean(_0x2f43cc && (!_0x3f28bd || _0xbedc3a[_0x36f985(_0x1071ec._0x5ee38c)] !== _0x3f28bd)), _0x4b6ca = _0x43ad76 ? _0x40e045 + ':' + _0x2f43cc : _0x40e045, _0x3450ab = _0x35f46b['get'](_0x4b6ca) ?? {
|
|
1324
|
-
'aggregateIds': [],
|
|
1325
|
-
'channelId': _0x40e045,
|
|
1326
|
-
'entries': new Map(),
|
|
1327
|
-
'isThreadReply': _0x43ad76,
|
|
1328
|
-
'rootMessageId': _0x3f28bd,
|
|
1329
|
-
'threadNumber': _0x500024,
|
|
1330
|
-
'threadId': _0x43ad76 ? _0x2f43cc : void 0x0
|
|
1331
|
-
};
|
|
1332
|
-
_0x3450ab[_0x36f985(0x239)] == null && _0x500024 != null && (_0x3450ab[_0x36f985(0x239)] = _0x500024), !_0x3450ab[_0x36f985(_0x1071ec._0x3053cb)] && _0x3f28bd && (_0x3450ab[_0x36f985(_0x1071ec._0x3053cb)] = _0x3f28bd), _0x3450ab[_0x36f985(0xe0)][_0x36f985(_0x1071ec._0x5ddb1a)](_0xbedc3a[_0x36f985(_0x1071ec._0x5ee38c)]), _0x3450ab[_0x36f985(_0x1071ec._0x54ff8d)][_0x36f985(_0x1071ec._0x5b6f51)](_0xbedc3a[_0x36f985(_0x1071ec._0x266b77)], {
|
|
1333
|
-
'payloadJson': _0xbedc3a[_0x36f985(0x15f)],
|
|
1334
|
-
'seq': _0xbedc3a[_0x36f985(0xed)]
|
|
1335
|
-
}), _0x35f46b['set'](_0x4b6ca, _0x3450ab);
|
|
1336
|
-
}
|
|
1337
|
-
const _0x5d183a = [];
|
|
1338
|
-
for (const _0x213b02 of _0x35f46b[_0x36f985(0x1d7)]()) {
|
|
1339
|
-
const {
|
|
1340
|
-
channelId: _0x4912f3,
|
|
1341
|
-
threadId: _0x2b322e,
|
|
1342
|
-
rootMessageId: _0x27f596,
|
|
1343
|
-
threadNumber: _0x4e320f,
|
|
1344
|
-
aggregateIds: _0x4db0f4,
|
|
1345
|
-
isThreadReply: _0xa8c816,
|
|
1346
|
-
entries: _0x76a901
|
|
1347
|
-
} = _0x213b02, _0x213b06 = _0x4dc6ea[_0x36f985(0x167)](_0x4912f3), _0xb017e0 = _0x213b06?.[_0x36f985(0x218)] ?? _0x4912f3, _0x546d41 = _0x213b06?.['kind'] === 'dm' ? _0x36f985(0x1bf) + _0xb017e0 : '#' + _0xb017e0, _0x3238fa = {
|
|
1348
|
-
'channelTarget': _0x546d41,
|
|
1349
|
-
'rootMessageId': _0x27f596,
|
|
1350
|
-
'threadId': _0x2b322e,
|
|
1351
|
-
'threadNumber': _0x4e320f
|
|
1352
|
-
}, _0x3d5d7d = await _0x407cfb({
|
|
1353
|
-
'channelId': _0x4912f3,
|
|
1354
|
-
'channelTarget': _0x546d41,
|
|
1355
|
-
'limit': Math['max'](_0x4db0f4[_0x36f985(_0x1071ec._0x56e3c5)], 0x32),
|
|
1356
|
-
'threadId': _0x2b322e
|
|
1357
|
-
}), _0x3dbfc7 = new Map(_0x3d5d7d[_0x36f985(0x20a)][_0x36f985(_0x1071ec._0x1984a9)](_0x5edae4 => [
|
|
1358
|
-
_0x5edae4[_0x36f985(0x243)],
|
|
1359
|
-
_0x5edae4
|
|
1360
|
-
])), _0x465ccb = _0x2b322e ? _0x5e4218(_0x3238fa) : _0x546d41, _0x2e98ef = _0x52a92c ? _0xa8c816 && _0x5873d3(_0x52a92c, _0x3238fa) : !![], _0xbcb966 = _0xa8c816 ? _0x2e98ef && _0x52a92c ? _0x52a92c : _0x465ccb : _0x546d41;
|
|
1361
|
-
for (const _0x4aa009 of _0x4db0f4) {
|
|
1362
|
-
if (!_0x2e98ef)
|
|
1363
|
-
continue;
|
|
1364
|
-
const _0x424022 = _0x76a901[_0x36f985(0x167)](_0x4aa009), _0x1acbf9 = _0x424022 ? asRecord(_0x424022[_0x36f985(0x15f)]) : void 0x0, _0x30afc7 = _0x1acbf9?.[_0x36f985(_0x1071ec._0x46bfad)] === _0x36f985(_0x1071ec._0x24b871);
|
|
1365
|
-
if (_0x367810 && _0x30afc7)
|
|
1366
|
-
continue;
|
|
1367
|
-
const _0x249e0b = _0x3dbfc7[_0x36f985(0x167)](_0x4aa009);
|
|
1368
|
-
if (_0x249e0b) {
|
|
1369
|
-
_0x5d183a['push']({
|
|
1370
|
-
'attachments': _0x249e0b[_0x36f985(_0x1071ec._0x259602)],
|
|
1371
|
-
'content': _0x249e0b[_0x36f985(0xd8)],
|
|
1372
|
-
'createdAt': _0x249e0b[_0x36f985(_0x1071ec._0x1dd017)],
|
|
1373
|
-
..._0x249e0b[_0x36f985(0x11c)] ? { 'kind': _0x249e0b[_0x36f985(_0x1071ec._0x101651)] } : {},
|
|
1374
|
-
'messageId': _0x249e0b[_0x36f985(0x243)],
|
|
1375
|
-
'senderName': _0x249e0b[_0x36f985(0x1b7)],
|
|
1376
|
-
'senderType': _0x249e0b[_0x36f985(_0x1071ec._0x35cd09)],
|
|
1377
|
-
'target': _0xbcb966,
|
|
1378
|
-
..._0x30afc7 ? { 'targetedTask': !![] } : {}
|
|
1379
|
-
});
|
|
1380
|
-
continue;
|
|
1381
|
-
}
|
|
1382
|
-
if (_0x424022) {
|
|
1383
|
-
const _0x5accbb = typeof _0x1acbf9?.[_0x36f985(_0x1071ec._0x41a100)] === _0x36f985(_0x1071ec._0x434f5d) ? _0x1acbf9[_0x36f985(_0x1071ec._0x41a100)] : '', _0x17e376 = typeof _0x1acbf9?.[_0x36f985(_0x1071ec._0x312e28)] === _0x36f985(0x202) ? _0x1acbf9[_0x36f985(_0x1071ec._0x312e28)] : '', _0xf062d2 = typeof _0x1acbf9?.[_0x36f985(_0x1071ec._0x4712dc)] === _0x36f985(_0x1071ec._0x157bb8) && _0x1acbf9[_0x36f985(_0x1071ec._0x101651)] !== _0x36f985(0x104) ? _0x1acbf9[_0x36f985(0x11c)] : void 0x0;
|
|
1384
|
-
_0x5accbb && _0x17e376 && _0x5d183a[_0x36f985(_0x1071ec._0x5ddb1a)]({
|
|
1385
|
-
'attachments': [],
|
|
1386
|
-
'content': _0x17e376,
|
|
1387
|
-
'createdAt': new Date()[_0x36f985(_0x1071ec._0xc61609)](),
|
|
1388
|
-
..._0xf062d2 ? { 'kind': _0xf062d2 } : {},
|
|
1389
|
-
'messageId': _0x4aa009,
|
|
1390
|
-
'senderName': _0x2d6bd0(_0x5accbb, _0x3a0895),
|
|
1391
|
-
'senderType': _0x5ce61a(_0x5accbb, _0x3a0895),
|
|
1392
|
-
'target': _0xbcb966,
|
|
1393
|
-
..._0x30afc7 ? { 'targetedTask': !![] } : {}
|
|
1394
|
-
});
|
|
1395
|
-
}
|
|
1396
|
-
}
|
|
1397
|
-
}
|
|
1398
|
-
if (_0xa2190c > 0x0) {
|
|
1399
|
-
if (_0x4da638)
|
|
1400
|
-
await _0x25290a(_0xa2190c);
|
|
1401
|
-
else
|
|
1402
|
-
_0x552112 && await _0x1d9c0a(_0xa2190c);
|
|
1403
|
-
}
|
|
1404
|
-
return _0xa2190c > _0x4c7a14 && (_0x4c7a14 = _0xa2190c), { 'messages': _0x52a92c ? _0x5d183a : _0x367810 ? _0x5d183a['filter'](_0x2b011d => _0x2b011d['targetedTask'] !== !![]) : _0x5d183a };
|
|
1405
|
-
}
|
|
1406
|
-
};
|
|
1407
|
-
}
|
|
1408
|
-
function toLocalTime(_0x369ddb) {
|
|
1409
|
-
const _0x1bd331 = {
|
|
1410
|
-
_0x12a2c7: 0x1f0,
|
|
1411
|
-
_0x20b46b: 0x174,
|
|
1412
|
-
_0x6e095: 0x240,
|
|
1413
|
-
_0xcdfbcb: 0x15b
|
|
1414
|
-
}, _0x344abb = _0x14c52b, _0x4d66ff = new Date(_0x369ddb);
|
|
1415
|
-
if (Number['isNaN'](_0x4d66ff[_0x344abb(_0x1bd331._0x12a2c7)]()))
|
|
1416
|
-
return _0x369ddb;
|
|
1417
|
-
const _0x12002a = _0x564d22 => String(_0x564d22)[_0x344abb(0x223)](0x2, '0');
|
|
1418
|
-
return _0x4d66ff[_0x344abb(0x195)]() + '-' + _0x12002a(_0x4d66ff[_0x344abb(0xd2)]() + 0x1) + '-' + _0x12002a(_0x4d66ff[_0x344abb(_0x1bd331._0x20b46b)]()) + '\x20' + _0x12002a(_0x4d66ff['getHours']()) + ':' + _0x12002a(_0x4d66ff[_0x344abb(_0x1bd331._0x6e095)]()) + ':' + _0x12002a(_0x4d66ff[_0x344abb(_0x1bd331._0xcdfbcb)]());
|
|
1419
|
-
}
|
|
1420
|
-
function formatAttachmentSuffix(_0x51c9c2) {
|
|
1421
|
-
const _0x1b4b44 = { _0x412c8b: 0xd3 }, _0x1afa66 = _0x14c52b;
|
|
1422
|
-
if (!_0x51c9c2 || _0x51c9c2[_0x1afa66(_0x1b4b44._0x412c8b)] === 0x0)
|
|
1423
|
-
return '';
|
|
1424
|
-
return '\x20[' + _0x51c9c2[_0x1afa66(0xd3)] + _0x1afa66(0x233) + (_0x51c9c2[_0x1afa66(0xd3)] > 0x1 ? 's' : '') + ':\x20' + _0x51c9c2['map'](_0x2c3d4b => _0x2c3d4b[_0x1afa66(0xcb)] + _0x1afa66(0x22f) + _0x2c3d4b['id'] + ')')[_0x1afa66(0x235)](',\x20') + '\x20—\x20use\x20view_file\x20to\x20see]';
|
|
1425
|
-
}
|
|
1426
|
-
function formatCheckMessages(_0x3ad0c9) {
|
|
1427
|
-
const _0x2fe215 = {
|
|
1428
|
-
_0x23a512: 0xd3,
|
|
1429
|
-
_0x5949ec: 0x227,
|
|
1430
|
-
_0x549f50: 0xdb
|
|
1431
|
-
}, _0x4d8b96 = {
|
|
1432
|
-
_0xb2170: 0x158,
|
|
1433
|
-
_0x3d2bff: 0x11c,
|
|
1434
|
-
_0x18626b: 0x1fe,
|
|
1435
|
-
_0x5ba20d: 0x20c,
|
|
1436
|
-
_0x125fb6: 0x243,
|
|
1437
|
-
_0x3605d9: 0xd8,
|
|
1438
|
-
_0x26b941: 0x115
|
|
1439
|
-
}, _0x46c76d = _0x14c52b;
|
|
1440
|
-
if (_0x3ad0c9[_0x46c76d(_0x2fe215._0x23a512)] === 0x0)
|
|
1441
|
-
return _0x46c76d(_0x2fe215._0x5949ec);
|
|
1442
|
-
return _0x3ad0c9[_0x46c76d(_0x2fe215._0x549f50)](_0x37a271 => {
|
|
1443
|
-
const _0x301eda = _0x46c76d, _0x4381ac = _0x37a271[_0x301eda(_0x4d8b96._0xb2170)] === 'agent' ? '\x20type=agent' : '', _0x173c3b = _0x37a271[_0x301eda(0x11c)] && _0x37a271[_0x301eda(_0x4d8b96._0x3d2bff)] !== 'chat' ? _0x301eda(_0x4d8b96._0x18626b) + _0x37a271[_0x301eda(0x11c)] : '';
|
|
1444
|
-
return _0x301eda(0x1ac) + _0x37a271[_0x301eda(_0x4d8b96._0x5ba20d)] + _0x301eda(0x14f) + _0x37a271[_0x301eda(_0x4d8b96._0x125fb6)]['slice'](0x0, 0x8) + _0x301eda(0x181) + toLocalTime(_0x37a271['createdAt']) + _0x4381ac + _0x173c3b + _0x301eda(0x1cc) + _0x37a271[_0x301eda(0x1b7)] + ':\x20' + _0x37a271[_0x301eda(_0x4d8b96._0x3605d9)] + formatAttachmentSuffix(_0x37a271[_0x301eda(_0x4d8b96._0x26b941)]);
|
|
1445
|
-
})['join']('\x0a');
|
|
1446
|
-
}
|
|
1447
|
-
function formatHistory(_0x3c2b1a) {
|
|
1448
|
-
const _0x1e9978 = {
|
|
1449
|
-
_0x3f2b77: 0x15d,
|
|
1450
|
-
_0x411689: 0x235,
|
|
1451
|
-
_0x2fd7ee: 0x23c,
|
|
1452
|
-
_0x1897be: 0x184,
|
|
1453
|
-
_0x599084: 0x122,
|
|
1454
|
-
_0x238247: 0x20a,
|
|
1455
|
-
_0x4c9f1b: 0x1b6
|
|
1456
|
-
}, _0x479a14 = {
|
|
1457
|
-
_0x358b32: 0xea,
|
|
1458
|
-
_0x393349: 0x111,
|
|
1459
|
-
_0x5ee986: 0x11c,
|
|
1460
|
-
_0x24ca8d: 0x11c,
|
|
1461
|
-
_0x36559e: 0x14a,
|
|
1462
|
-
_0x37a1f3: 0x14f,
|
|
1463
|
-
_0x4d8e4a: 0x1cc,
|
|
1464
|
-
_0x162507: 0x115
|
|
1465
|
-
}, _0x2974d6 = _0x14c52b;
|
|
1466
|
-
if (_0x3c2b1a['messages'][_0x2974d6(0xd3)] === 0x0)
|
|
1467
|
-
return _0x2974d6(_0x1e9978._0x3f2b77) + _0x3c2b1a['channel'] + _0x2974d6(0x14c);
|
|
1468
|
-
const _0x3c5afb = _0x3c2b1a[_0x2974d6(0x20a)]['map'](_0x4dacc5 => {
|
|
1469
|
-
const _0x50176c = _0x2974d6, _0x4287e0 = _0x4dacc5[_0x50176c(0x158)] === _0x50176c(_0x479a14._0x358b32) ? _0x50176c(_0x479a14._0x393349) : '', _0x1d60f9 = _0x4dacc5[_0x50176c(0x11c)] && _0x4dacc5[_0x50176c(_0x479a14._0x5ee986)] !== _0x50176c(0x104) ? '\x20kind=' + _0x4dacc5[_0x50176c(_0x479a14._0x24ca8d)] : '';
|
|
1470
|
-
return _0x50176c(_0x479a14._0x36559e) + _0x4dacc5[_0x50176c(0xed)] + _0x50176c(_0x479a14._0x37a1f3) + _0x4dacc5['messageId'] + '\x20time=' + toLocalTime(_0x4dacc5[_0x50176c(0x129)]) + _0x4287e0 + _0x1d60f9 + _0x50176c(_0x479a14._0x4d8e4a) + _0x4dacc5[_0x50176c(0x1b7)] + ':\x20' + _0x4dacc5['content'] + formatAttachmentSuffix(_0x4dacc5[_0x50176c(_0x479a14._0x162507)]);
|
|
1471
|
-
})[_0x2974d6(_0x1e9978._0x411689)]('\x0a'), _0xd48429 = _0x3c2b1a[_0x2974d6(_0x1e9978._0x2fd7ee)] && _0x3c2b1a[_0x2974d6(0x184)] ? _0x2974d6(0x197) + _0x3c2b1a[_0x2974d6(0x20a)][_0x2974d6(0xd3)] + '\x20messages\x20shown.\x20Use\x20before=' + _0x3c2b1a[_0x2974d6(_0x1e9978._0x1897be)] + _0x2974d6(0x206) : '';
|
|
1472
|
-
return _0x2974d6(0x15d) + _0x3c2b1a[_0x2974d6(_0x1e9978._0x599084)] + '\x20(' + _0x3c2b1a[_0x2974d6(_0x1e9978._0x238247)][_0x2974d6(0xd3)] + _0x2974d6(_0x1e9978._0x4c9f1b) + _0x3c5afb + _0xd48429;
|
|
1473
|
-
}
|
|
1474
|
-
function formatServerDirectory(_0x54be03) {
|
|
1475
|
-
const _0x331152 = {
|
|
1476
|
-
_0x526282: 0xdb,
|
|
1477
|
-
_0x4cbb7f: 0xc9,
|
|
1478
|
-
_0x39d8dd: 0x1eb,
|
|
1479
|
-
_0x2377bd: 0xdb,
|
|
1480
|
-
_0x5ae3d0: 0x22c,
|
|
1481
|
-
_0xd01af2: 0x1b1,
|
|
1482
|
-
_0x5e7664: 0x224
|
|
1483
|
-
}, _0x3ad7ac = _0x14c52b, _0x5e1718 = _0x54be03['channels']['length'] > 0x0 ? _0x54be03[_0x3ad7ac(0x196)][_0x3ad7ac(_0x331152._0x526282)](_0x40917b => _0x40917b[_0x3ad7ac(0xd4)] ? _0x3ad7ac(0x14b) + _0x40917b['name'] + _0x3ad7ac(0x145) + _0x40917b[_0x3ad7ac(0xd4)] : _0x3ad7ac(0x14b) + _0x40917b[_0x3ad7ac(0x218)])[_0x3ad7ac(0x235)]('\x0a') : _0x3ad7ac(_0x331152._0x4cbb7f), _0x2393f9 = _0x54be03[_0x3ad7ac(0x1eb)]['length'] > 0x0 ? _0x54be03[_0x3ad7ac(_0x331152._0x39d8dd)][_0x3ad7ac(_0x331152._0x2377bd)](_0x1d8887 => _0x3ad7ac(0xe1) + _0x1d8887['name'])['join']('\x0a') : '(none)', _0x3c6ba4 = _0x54be03[_0x3ad7ac(0x22c)][_0x3ad7ac(0xd3)] > 0x0 ? _0x54be03[_0x3ad7ac(_0x331152._0x5ae3d0)][_0x3ad7ac(0xdb)](_0x10332b => '-\x20@' + _0x10332b[_0x3ad7ac(0x218)])[_0x3ad7ac(0x235)]('\x0a') : _0x3ad7ac(0xc9);
|
|
1484
|
-
return [
|
|
1485
|
-
'##\x20Server:\x20' + _0x54be03[_0x3ad7ac(_0x331152._0xd01af2)],
|
|
1486
|
-
'',
|
|
1487
|
-
_0x3ad7ac(_0x331152._0x5e7664),
|
|
1488
|
-
_0x5e1718,
|
|
1489
|
-
'',
|
|
1490
|
-
_0x3ad7ac(0x17c),
|
|
1491
|
-
_0x2393f9,
|
|
1492
|
-
'',
|
|
1493
|
-
_0x3ad7ac(0x234),
|
|
1494
|
-
_0x3c6ba4
|
|
1495
|
-
][_0x3ad7ac(0x235)]('\x0a');
|
|
1496
|
-
}
|
|
1497
|
-
function formatUploadResult(_0x192eab) {
|
|
1498
|
-
const _0x938673 = {
|
|
1499
|
-
_0x123024: 0xcb,
|
|
1500
|
-
_0x23185a: 0x14d,
|
|
1501
|
-
_0x4cdbc4: 0x1a0
|
|
1502
|
-
}, _0x19f212 = _0x14c52b;
|
|
1503
|
-
return _0x19f212(0x246) + _0x192eab[_0x19f212(_0x938673._0x123024)] + '\x20(' + (_0x192eab[_0x19f212(_0x938673._0x23185a)] / 0x400)['toFixed'](0x1) + _0x19f212(0x117) + _0x192eab[_0x19f212(0x16d)] + _0x19f212(_0x938673._0x4cdbc4);
|
|
1504
|
-
}
|
|
1505
|
-
function formatViewFileResult(_0x3d8fa1, _0x56800d) {
|
|
1506
|
-
const _0x27fbee = {
|
|
1507
|
-
_0x2c48e3: 0x205,
|
|
1508
|
-
_0x4ec85: 0x194
|
|
1509
|
-
}, _0x113db1 = _0x14c52b;
|
|
1510
|
-
return _0x56800d ? _0x113db1(_0x27fbee._0x2c48e3) + _0x3d8fa1 : _0x113db1(_0x27fbee._0x4ec85) + _0x3d8fa1;
|
|
1511
|
-
}
|
|
1512
|
-
function formatTaskList(_0x335160, _0x1c9377) {
|
|
1513
|
-
const _0x1f8fdb = { _0x2e86a3: 0xd3 }, _0x2d186f = {
|
|
1514
|
-
_0x18fdce: 0xdd,
|
|
1515
|
-
_0x356159: 0x1b8,
|
|
1516
|
-
_0x1b16bf: 0x13b,
|
|
1517
|
-
_0x2ddd8d: 0x229
|
|
1518
|
-
}, _0xc06637 = _0x14c52b;
|
|
1519
|
-
if (_0x335160[_0xc06637(_0x1f8fdb._0x2e86a3)] === 0x0)
|
|
1520
|
-
return 'No\x20tasks\x20found.';
|
|
1521
|
-
return _0x335160['map'](_0x35b007 => {
|
|
1522
|
-
const _0x1bd061 = _0xc06637, _0x2af57b = _0x35b007['taskNumber'] == null ? '(legacy)' : _0x35b007[_0x1bd061(_0x2d186f._0x18fdce)] != null ? '#' + _0x35b007['taskNumber'] + '.' + _0x35b007[_0x1bd061(_0x2d186f._0x18fdce)] : '#' + _0x35b007[_0x1bd061(0x204)], _0x3ac873 = _0x35b007[_0x1bd061(0x243)] ? _0x1bd061(0x1ab) + _0x35b007[_0x1bd061(0x243)] : '', _0x463801 = _0x1c9377 && _0x35b007[_0x1bd061(0x204)] != null && !_0x35b007[_0x1bd061(0xdd)] && _0x1c9377[_0x1bd061(0x21e)](_0x35b007[_0x1bd061(0x204)]) ? _0x1bd061(0x16c) : '', _0x4be470 = _0x35b007[_0x1bd061(_0x2d186f._0x356159)] != null && _0x35b007[_0x1bd061(0x1b8)] > 0x0 ? '\x20(' + (_0x35b007['childrenDone'] ?? 0x0) + '/' + _0x35b007[_0x1bd061(0x1b8)] + _0x1bd061(0xb9) : '';
|
|
1523
|
-
return _0x2af57b + '\x20[' + _0x35b007[_0x1bd061(_0x2d186f._0x1b16bf)] + ']\x20' + _0x35b007[_0x1bd061(_0x2d186f._0x2ddd8d)] + _0x4be470 + _0x3ac873 + _0x463801;
|
|
1524
|
-
})[_0xc06637(0x235)]('\x0a');
|
|
1525
|
-
}
|
|
1526
|
-
function formatCreatedTasks(_0x196ed2) {
|
|
1527
|
-
const _0x2ba18f = { _0x366c91: 0xdb }, _0xd3219b = {
|
|
1528
|
-
_0x4ee04b: 0x19a,
|
|
1529
|
-
_0x2ed40f: 0xdd,
|
|
1530
|
-
_0x48aa0f: 0x204,
|
|
1531
|
-
_0x2d6f06: 0x1ab
|
|
1532
|
-
}, _0xb3fc3c = _0x14c52b;
|
|
1533
|
-
if (_0x196ed2[_0xb3fc3c(0xd3)] === 0x0)
|
|
1534
|
-
return _0xb3fc3c(0x10f);
|
|
1535
|
-
return _0x196ed2[_0xb3fc3c(_0x2ba18f._0x366c91)](_0x1ccc11 => {
|
|
1536
|
-
const _0x19b66a = _0xb3fc3c, _0x13e2eb = _0x1ccc11['taskNumber'] == null ? _0x19b66a(_0xd3219b._0x4ee04b) : _0x1ccc11[_0x19b66a(_0xd3219b._0x2ed40f)] != null ? '#' + _0x1ccc11[_0x19b66a(_0xd3219b._0x48aa0f)] + '.' + _0x1ccc11[_0x19b66a(_0xd3219b._0x2ed40f)] : '#' + _0x1ccc11[_0x19b66a(_0xd3219b._0x48aa0f)], _0x101f72 = _0x1ccc11['messageId'] ? _0x19b66a(_0xd3219b._0x2d6f06) + _0x1ccc11['messageId'] : '';
|
|
1537
|
-
return _0x13e2eb + '\x20' + _0x1ccc11[_0x19b66a(0x229)] + _0x101f72;
|
|
1538
|
-
})['join']('\x0a');
|
|
1539
|
-
}
|
|
1540
|
-
function formatClaimTaskLabel(_0x26f523, _0x3363f2) {
|
|
1541
|
-
const _0x3ec170 = { _0x1a372c: 0x19a }, _0x442479 = _0x14c52b;
|
|
1542
|
-
if (_0x26f523 == null)
|
|
1543
|
-
return _0x442479(_0x3ec170._0x1a372c);
|
|
1544
|
-
return _0x3363f2 != null ? '#' + _0x26f523 + '.' + _0x3363f2 : '#' + _0x26f523;
|
|
1545
|
-
}
|
|
1546
|
-
function formatClaimTaskResults(_0xdcb87c) {
|
|
1547
|
-
const _0x418a5c = {
|
|
1548
|
-
_0x1e4511: 0xd3,
|
|
1549
|
-
_0xbcebbd: 0x244
|
|
1550
|
-
}, _0x3ba2bc = {
|
|
1551
|
-
_0x570cd9: 0xce,
|
|
1552
|
-
_0x2036d7: 0x243,
|
|
1553
|
-
_0x19454e: 0x243,
|
|
1554
|
-
_0x17128c: 0xf1,
|
|
1555
|
-
_0x590a9e: 0x165,
|
|
1556
|
-
_0x10ccc6: 0x210,
|
|
1557
|
-
_0x29a50c: 0x207,
|
|
1558
|
-
_0x4680a0: 0x21b,
|
|
1559
|
-
_0x2e58fd: 0x1b0,
|
|
1560
|
-
_0x52f1a4: 0x18d,
|
|
1561
|
-
_0x4c6950: 0x210,
|
|
1562
|
-
_0x534931: 0xd0,
|
|
1563
|
-
_0x8486b9: 0x18d,
|
|
1564
|
-
_0x38415a: 0x1be,
|
|
1565
|
-
_0x51b2ab: 0x18d,
|
|
1566
|
-
_0x5364f9: 0x204,
|
|
1567
|
-
_0x655c6e: 0x12d,
|
|
1568
|
-
_0x35eea5: 0xdc
|
|
1569
|
-
}, _0x500133 = _0x14c52b;
|
|
1570
|
-
if (_0xdcb87c[_0x500133(_0x418a5c._0x1e4511)] === 0x0)
|
|
1571
|
-
return _0x500133(_0x418a5c._0xbcebbd);
|
|
1572
|
-
return _0xdcb87c['map'](_0x5e4e9b => {
|
|
1573
|
-
const _0x5b549c = _0x500133;
|
|
1574
|
-
if (_0x5e4e9b[_0x5b549c(_0x3ba2bc._0x570cd9)]) {
|
|
1575
|
-
const _0x5803c0 = formatClaimTaskLabel(_0x5e4e9b['taskNumber'], _0x5e4e9b[_0x5b549c(0xdd)]), _0x2c2bd6 = _0x5e4e9b[_0x5b549c(_0x3ba2bc._0x2036d7)] ? _0x5b549c(0x1ab) + _0x5e4e9b[_0x5b549c(_0x3ba2bc._0x19454e)] : '';
|
|
1576
|
-
if (_0x5e4e9b[_0x5b549c(_0x3ba2bc._0x17128c)]) {
|
|
1577
|
-
const _0xb53505 = [
|
|
1578
|
-
'workerHandoff=true',
|
|
1579
|
-
_0x5e4e9b[_0x5b549c(_0x3ba2bc._0x590a9e)] ? 'stopMain=true' : null,
|
|
1580
|
-
_0x5e4e9b[_0x5b549c(_0x3ba2bc._0x10ccc6)] ? _0x5b549c(_0x3ba2bc._0x29a50c) + _0x5e4e9b[_0x5b549c(0x210)] : null,
|
|
1581
|
-
_0x5e4e9b[_0x5b549c(0x160)] ? _0x5b549c(_0x3ba2bc._0x4680a0) + _0x5e4e9b[_0x5b549c(0x160)] : null,
|
|
1582
|
-
_0x5e4e9b[_0x5b549c(0x1b0)] ? _0x5b549c(0x163) + _0x5e4e9b[_0x5b549c(_0x3ba2bc._0x2e58fd)] : null
|
|
1583
|
-
]['filter'](Boolean)['join']('\x20');
|
|
1584
|
-
return _0x5803c0 + _0x5b549c(_0x3ba2bc._0x52f1a4) + _0x2c2bd6 + '\x20' + _0xb53505 + _0x5b549c(0x1c3);
|
|
1585
|
-
}
|
|
1586
|
-
if (_0x5e4e9b[_0x5b549c(_0x3ba2bc._0x4c6950)] === _0x5b549c(_0x3ba2bc._0x534931))
|
|
1587
|
-
return _0x5803c0 + _0x5b549c(_0x3ba2bc._0x8486b9) + _0x2c2bd6 + _0x5b549c(_0x3ba2bc._0x38415a);
|
|
1588
|
-
const _0x37271a = _0x5e4e9b[_0x5b549c(0xc1)] ? _0x5b549c(0x18a) + _0x5e4e9b[_0x5b549c(0xc1)] : '';
|
|
1589
|
-
return _0x5803c0 + _0x5b549c(_0x3ba2bc._0x51b2ab) + _0x2c2bd6 + _0x37271a;
|
|
1590
|
-
}
|
|
1591
|
-
const _0x530f8f = _0x5e4e9b[_0x5b549c(0x204)] == null ? _0x5e4e9b['messageId'] ?? _0x5b549c(0x175) : formatClaimTaskLabel(_0x5e4e9b[_0x5b549c(_0x3ba2bc._0x5364f9)], _0x5e4e9b[_0x5b549c(0xdd)]);
|
|
1592
|
-
return _0x530f8f + _0x5b549c(_0x3ba2bc._0x655c6e) + (_0x5e4e9b[_0x5b549c(0xd7)] ?? _0x5b549c(_0x3ba2bc._0x35eea5));
|
|
1593
|
-
})['join']('\x0a');
|
|
1594
|
-
}
|
|
1595
|
-
function formatUnclaimTaskResult(_0x2891cc) {
|
|
1596
|
-
const _0x2188b3 = { _0x12292d: 0x204 }, _0x430f07 = _0x14c52b, _0x114e2c = _0x2891cc[_0x430f07(_0x2188b3._0x12292d)] == null ? _0x430f07(0x19a) : _0x2891cc[_0x430f07(0xdd)] != null ? '#' + _0x2891cc[_0x430f07(0x204)] + '.' + _0x2891cc[_0x430f07(0xdd)] : '#' + _0x2891cc[_0x430f07(_0x2188b3._0x12292d)];
|
|
1597
|
-
return _0x114e2c + '\x20status=' + _0x2891cc[_0x430f07(0x13b)];
|
|
1598
|
-
}
|
|
1599
|
-
function formatUpdateTaskStatusResult(_0xd8c3e9) {
|
|
1600
|
-
const _0x43297b = {
|
|
1601
|
-
_0x236e5f: 0x204,
|
|
1602
|
-
_0x3e5d09: 0x204,
|
|
1603
|
-
_0x2b28e0: 0x13b,
|
|
1604
|
-
_0x3d2fca: 0x178
|
|
1605
|
-
}, _0x3ea466 = _0x14c52b, _0x5a3f53 = _0xd8c3e9[_0x3ea466(_0x43297b._0x236e5f)] == null ? _0x3ea466(0x19a) : _0xd8c3e9[_0x3ea466(0xdd)] != null ? '#' + _0xd8c3e9[_0x3ea466(_0x43297b._0x3e5d09)] + '.' + _0xd8c3e9['subtaskNumber'] : '#' + _0xd8c3e9[_0x3ea466(0x204)], _0x4d00e6 = _0x5a3f53 + _0x3ea466(0x132) + _0xd8c3e9[_0x3ea466(_0x43297b._0x2b28e0)];
|
|
1606
|
-
if (_0xd8c3e9[_0x3ea466(0x13b)] !== _0x3ea466(_0x43297b._0x3d2fca))
|
|
1607
|
-
return _0x4d00e6;
|
|
1608
|
-
return _0x4d00e6 + _0x3ea466(0x147);
|
|
1609
|
-
}
|
|
1610
|
-
function getChatBridgeToolDefinitions() {
|
|
1611
|
-
const _0x5a4a78 = {
|
|
1612
|
-
_0x24b77d: 0x217,
|
|
1613
|
-
_0x4cae67: 0x231,
|
|
1614
|
-
_0x44ffe1: 0x170
|
|
1615
|
-
}, _0x38e674 = _0x14c52b;
|
|
1616
|
-
return [
|
|
1617
|
-
{ 'name': _0x38e674(0x10d) },
|
|
1618
|
-
{ 'name': _0x38e674(0x1da) },
|
|
1619
|
-
{ 'name': _0x38e674(0x189) },
|
|
1620
|
-
{ 'name': _0x38e674(0xcf) },
|
|
1621
|
-
{ 'name': _0x38e674(0x1ef) },
|
|
1622
|
-
{ 'name': 'view_file' },
|
|
1623
|
-
{ 'name': _0x38e674(0x1a3) },
|
|
1624
|
-
{ 'name': _0x38e674(_0x5a4a78._0x24b77d) },
|
|
1625
|
-
{ 'name': 'claim_tasks' },
|
|
1626
|
-
{ 'name': _0x38e674(_0x5a4a78._0x4cae67) },
|
|
1627
|
-
{ 'name': _0x38e674(_0x5a4a78._0x44ffe1) },
|
|
1628
|
-
{ 'name': 'get_worker_status' },
|
|
1629
|
-
{ 'name': _0x38e674(0x22a) },
|
|
1630
|
-
{ 'name': _0x38e674(0xe2) },
|
|
1631
|
-
{ 'name': _0x38e674(0xec) }
|
|
1632
|
-
];
|
|
1633
|
-
}
|
|
1634
|
-
function createChatBridgeHandlers(_0x1566c1) {
|
|
1635
|
-
const _0x36f2bc = {
|
|
1636
|
-
_0xe95fe: 0x108,
|
|
1637
|
-
_0xaaae46: 0x17e
|
|
1638
|
-
}, _0x4e06b4 = {
|
|
1639
|
-
_0x31cb92: 0xe4,
|
|
1640
|
-
_0x58654d: 0xf5,
|
|
1641
|
-
_0x3898c8: 0x1ca,
|
|
1642
|
-
_0x2f1872: 0x1fc
|
|
1643
|
-
}, _0x17175f = {
|
|
1644
|
-
_0x44e890: 0xe4,
|
|
1645
|
-
_0x240bc6: 0xe4,
|
|
1646
|
-
_0x570639: 0x182,
|
|
1647
|
-
_0x3e9173: 0x1ca,
|
|
1648
|
-
_0x5cae55: 0xbd,
|
|
1649
|
-
_0x55e783: 0x1d6
|
|
1650
|
-
}, _0x1d1779 = {
|
|
1651
|
-
_0x3721f4: 0xf5,
|
|
1652
|
-
_0x2429eb: 0x182,
|
|
1653
|
-
_0x219765: 0x106,
|
|
1654
|
-
_0x37d4db: 0xbd
|
|
1655
|
-
}, _0x1dcb4c = {
|
|
1656
|
-
_0x277c16: 0x1ca,
|
|
1657
|
-
_0x1e4a5b: 0x128,
|
|
1658
|
-
_0xd2ed5a: 0x106,
|
|
1659
|
-
_0x4600a5: 0x13b
|
|
1660
|
-
}, _0x169dc0 = {
|
|
1661
|
-
_0x3defa4: 0x1a1,
|
|
1662
|
-
_0x4ba11d: 0x19b,
|
|
1663
|
-
_0x36a219: 0x131,
|
|
1664
|
-
_0x4c77b8: 0x226,
|
|
1665
|
-
_0x77d849: 0x1ed,
|
|
1666
|
-
_0x3d4c68: 0xf4
|
|
1667
|
-
}, _0x230ae5 = {
|
|
1668
|
-
_0x506e77: 0x1f5,
|
|
1669
|
-
_0x25d5b6: 0xd5
|
|
1670
|
-
}, _0x548fb1 = {
|
|
1671
|
-
_0x5755c7: 0x170,
|
|
1672
|
-
_0xcf7a53: 0x122
|
|
1673
|
-
}, _0x14865d = {
|
|
1674
|
-
_0x4eac91: 0x231,
|
|
1675
|
-
_0x46234b: 0x1e8,
|
|
1676
|
-
_0x14ffa1: 0x1e7,
|
|
1677
|
-
_0x584fde: 0x18c
|
|
1678
|
-
}, _0xee62f7 = {
|
|
1679
|
-
_0x2e30aa: 0xd6,
|
|
1680
|
-
_0x11112f: 0x198,
|
|
1681
|
-
_0xaaf10b: 0x1a1,
|
|
1682
|
-
_0x1d2c72: 0x1f4,
|
|
1683
|
-
_0x4d39b8: 0x16f
|
|
1684
|
-
}, _0x55afd4 = {
|
|
1685
|
-
_0x27f435: 0x122,
|
|
1686
|
-
_0x2eb4d8: 0x1a1,
|
|
1687
|
-
_0x33e6c1: 0x114
|
|
1688
|
-
}, _0xd1bc45 = {
|
|
1689
|
-
_0x9e67ca: 0x1ca,
|
|
1690
|
-
_0x34fd0c: 0x241,
|
|
1691
|
-
_0x3edb22: 0x221,
|
|
1692
|
-
_0x283315: 0x204,
|
|
1693
|
-
_0x483c6d: 0x180,
|
|
1694
|
-
_0x5e7cf8: 0x221
|
|
1695
|
-
}, _0x4a3a8b = { _0x402424: 0x1ee }, _0x5824cd = {
|
|
1696
|
-
_0x4308ff: 0x109,
|
|
1697
|
-
_0xe7dd4e: 0x13e
|
|
1698
|
-
}, _0x524189 = {
|
|
1699
|
-
_0x5deb1d: 0x1af,
|
|
1700
|
-
_0x46d8f2: 0x164,
|
|
1701
|
-
_0x44cde6: 0x20c,
|
|
1702
|
-
_0xf153a: 0xc3,
|
|
1703
|
-
_0x35c59b: 0x232,
|
|
1704
|
-
_0x3f2648: 0x210,
|
|
1705
|
-
_0x14edbc: 0x1a1,
|
|
1706
|
-
_0xd63e5f: 0x148,
|
|
1707
|
-
_0x25a8e4: 0xd8,
|
|
1708
|
-
_0x52d91c: 0x1fb,
|
|
1709
|
-
_0x24b4eb: 0x17d,
|
|
1710
|
-
_0x207004: 0x20c,
|
|
1711
|
-
_0x412aff: 0xc3,
|
|
1712
|
-
_0x167e14: 0x204,
|
|
1713
|
-
_0xba8db1: 0xc3,
|
|
1714
|
-
_0x52b36c: 0x239,
|
|
1715
|
-
_0x19e8d6: 0x241,
|
|
1716
|
-
_0x8fbe4: 0x21e,
|
|
1717
|
-
_0x42a925: 0x213,
|
|
1718
|
-
_0x29cd70: 0xfe,
|
|
1719
|
-
_0x20dfe8: 0x18e,
|
|
1720
|
-
_0x2813b0: 0x188,
|
|
1721
|
-
_0x3a0b14: 0x235,
|
|
1722
|
-
_0x137726: 0x1ac,
|
|
1723
|
-
_0x24cb31: 0xf8,
|
|
1724
|
-
_0x1c4cbd: 0x1f6,
|
|
1725
|
-
_0x2466e8: 0x1cb,
|
|
1726
|
-
_0xa51209: 0x21d,
|
|
1727
|
-
_0x658975: 0xf5,
|
|
1728
|
-
_0x4d0807: 0x1ca,
|
|
1729
|
-
_0x8dcda0: 0xbd,
|
|
1730
|
-
_0x1fbeae: 0x1d4,
|
|
1731
|
-
_0x5762b2: 0x118,
|
|
1732
|
-
_0x82b46f: 0x1d9
|
|
1733
|
-
}, _0x1bee63 = {
|
|
1734
|
-
_0x17e8d7: 0x238,
|
|
1735
|
-
_0x422c33: 0x13b,
|
|
1736
|
-
_0x2d6b0b: 0x1de
|
|
1737
|
-
}, _0x249bbf = {
|
|
1738
|
-
_0x3b24a5: 0xe4,
|
|
1739
|
-
_0x2fbf28: 0x12c,
|
|
1740
|
-
_0x3241b4: 0x1ca,
|
|
1741
|
-
_0x4896c6: 0x1de,
|
|
1742
|
-
_0x50da1f: 0x1de,
|
|
1743
|
-
_0x2f6930: 0xbe
|
|
1744
|
-
}, _0x365ddf = {
|
|
1745
|
-
_0x48393e: 0xe4,
|
|
1746
|
-
_0x2f143f: 0x10b,
|
|
1747
|
-
_0x52c54f: 0x140,
|
|
1748
|
-
_0x3cf9c0: 0x122,
|
|
1749
|
-
_0x193f25: 0x239,
|
|
1750
|
-
_0xd34983: 0x1b9,
|
|
1751
|
-
_0x3831a8: 0x1b9,
|
|
1752
|
-
_0x52f9df: 0x237,
|
|
1753
|
-
_0x49a501: 0x20a,
|
|
1754
|
-
_0x2bee92: 0x19a,
|
|
1755
|
-
_0x3da655: 0x204,
|
|
1756
|
-
_0x38c6bd: 0x241,
|
|
1757
|
-
_0x1e1bd1: 0x181,
|
|
1758
|
-
_0x4b4d4f: 0x1ea,
|
|
1759
|
-
_0x4cb0ab: 0xd8,
|
|
1760
|
-
_0x35a9c8: 0x215,
|
|
1761
|
-
_0x3ceca0: 0x235,
|
|
1762
|
-
_0x178c97: 0xf5,
|
|
1763
|
-
_0x3d93bf: 0x1ca,
|
|
1764
|
-
_0x3f6839: 0x1d4
|
|
1765
|
-
}, _0xda1e1f = {
|
|
1766
|
-
_0x3d2c72: 0x10b,
|
|
1767
|
-
_0x536ade: 0x116,
|
|
1768
|
-
_0x5f1115: 0x20d,
|
|
1769
|
-
_0x43b1cf: 0x116
|
|
1770
|
-
}, _0x27a211 = _0x14c52b;
|
|
1771
|
-
function _0x2b1572(_0x33298b, _0x2f2c06) {
|
|
1772
|
-
const _0x29b71a = _0xd2b0;
|
|
1773
|
-
if (!_0x1566c1[_0x29b71a(_0xda1e1f._0x3d2c72)])
|
|
1643
|
+
function createChatBridgeHandlers(_0x4ec383) {
|
|
1644
|
+
const _0x2e4245 = {
|
|
1645
|
+
_0x5ef0e3: 0x103,
|
|
1646
|
+
_0x333475: 0x180,
|
|
1647
|
+
_0x5ab448: 0x18b,
|
|
1648
|
+
_0x3f8bcc: 0xf8,
|
|
1649
|
+
_0x5ad187: 0x152,
|
|
1650
|
+
_0x4b4903: 0x130,
|
|
1651
|
+
_0x4d200b: 0x190
|
|
1652
|
+
}, _0x4874c8 = {
|
|
1653
|
+
_0x263753: 0x1a2,
|
|
1654
|
+
_0x5016f4: 0x180,
|
|
1655
|
+
_0x2a81d4: 0x1bf,
|
|
1656
|
+
_0x5bd3a2: 0x22b,
|
|
1657
|
+
_0x31d7b0: 0x198,
|
|
1658
|
+
_0x930be8: 0x204
|
|
1659
|
+
}, _0x492cbe = {
|
|
1660
|
+
_0x5a5e6: 0x180,
|
|
1661
|
+
_0x303857: 0xce,
|
|
1662
|
+
_0x573971: 0xf7,
|
|
1663
|
+
_0x262897: 0x152,
|
|
1664
|
+
_0x212db8: 0x15a,
|
|
1665
|
+
_0x23d8df: 0x22b,
|
|
1666
|
+
_0x5c23da: 0x109
|
|
1667
|
+
}, _0x34e2eb = {
|
|
1668
|
+
_0x17a693: 0x103,
|
|
1669
|
+
_0x4fce1f: 0x180,
|
|
1670
|
+
_0x2e483d: 0x11f,
|
|
1671
|
+
_0x5d7812: 0x152,
|
|
1672
|
+
_0x573190: 0x1d5
|
|
1673
|
+
}, _0x2f8e3a = {
|
|
1674
|
+
_0x57beb4: 0x1ad,
|
|
1675
|
+
_0x584c14: 0x177,
|
|
1676
|
+
_0x35a9bb: 0x19f,
|
|
1677
|
+
_0x3d3a37: 0x101,
|
|
1678
|
+
_0x54479a: 0xd7,
|
|
1679
|
+
_0x19de6d: 0x1e4
|
|
1680
|
+
}, _0x31d46c = {
|
|
1681
|
+
_0x10a4db: 0x16f,
|
|
1682
|
+
_0x4b14b5: 0x225
|
|
1683
|
+
}, _0x93abff = {
|
|
1684
|
+
_0x38b9e1: 0xcd,
|
|
1685
|
+
_0x2cb592: 0x18a,
|
|
1686
|
+
_0x22e99e: 0x225
|
|
1687
|
+
}, _0xc8dc9e = {
|
|
1688
|
+
_0x18faef: 0x225,
|
|
1689
|
+
_0x33e60d: 0x159,
|
|
1690
|
+
_0x51ca24: 0x200,
|
|
1691
|
+
_0x51a122: 0x23c,
|
|
1692
|
+
_0x4985fb: 0x1c2,
|
|
1693
|
+
_0x476fe4: 0x19f,
|
|
1694
|
+
_0x4df361: 0x13b,
|
|
1695
|
+
_0x525c25: 0x207
|
|
1696
|
+
}, _0x56bcac = {
|
|
1697
|
+
_0x72197b: 0xf9,
|
|
1698
|
+
_0x596804: 0x20e
|
|
1699
|
+
}, _0x587603 = {
|
|
1700
|
+
_0x3f90ba: 0x22d,
|
|
1701
|
+
_0x404cde: 0x1bf,
|
|
1702
|
+
_0x23228b: 0x114,
|
|
1703
|
+
_0x41fc03: 0x15a,
|
|
1704
|
+
_0x3576f2: 0x240,
|
|
1705
|
+
_0x5ae945: 0x23e,
|
|
1706
|
+
_0x306961: 0x20e,
|
|
1707
|
+
_0x4d8ca5: 0x227,
|
|
1708
|
+
_0x2db455: 0x156,
|
|
1709
|
+
_0x595b03: 0x20e,
|
|
1710
|
+
_0x52dcf8: 0x16b,
|
|
1711
|
+
_0x492145: 0x133
|
|
1712
|
+
}, _0xc567a8 = {
|
|
1713
|
+
_0x248457: 0x138,
|
|
1714
|
+
_0x4a3da3: 0xcd
|
|
1715
|
+
}, _0x29d2e2 = {
|
|
1716
|
+
_0x184813: 0xfa,
|
|
1717
|
+
_0x28d2aa: 0x1df,
|
|
1718
|
+
_0x100c92: 0x1ec,
|
|
1719
|
+
_0x139476: 0x160,
|
|
1720
|
+
_0x10ee9e: 0x172,
|
|
1721
|
+
_0x2bc7e0: 0x139,
|
|
1722
|
+
_0x550c48: 0x19b,
|
|
1723
|
+
_0xcac99b: 0x193,
|
|
1724
|
+
_0x266b9c: 0x16b,
|
|
1725
|
+
_0x447944: 0x224,
|
|
1726
|
+
_0x2cf07b: 0x17f,
|
|
1727
|
+
_0x510df8: 0x194,
|
|
1728
|
+
_0x559837: 0x10b,
|
|
1729
|
+
_0x3828f1: 0xbb,
|
|
1730
|
+
_0x57e6f5: 0xfb,
|
|
1731
|
+
_0x72c9c5: 0x223,
|
|
1732
|
+
_0xe341fe: 0x205,
|
|
1733
|
+
_0xb138fe: 0x180,
|
|
1734
|
+
_0x3e0de1: 0xe9,
|
|
1735
|
+
_0x3703b1: 0xf7,
|
|
1736
|
+
_0x4264c5: 0x193,
|
|
1737
|
+
_0x42eb32: 0x181,
|
|
1738
|
+
_0x2f92a0: 0x131,
|
|
1739
|
+
_0x114d49: 0x15a,
|
|
1740
|
+
_0x28cb48: 0x1a0,
|
|
1741
|
+
_0x15f525: 0x20c,
|
|
1742
|
+
_0xc5b20d: 0x20c,
|
|
1743
|
+
_0x477fac: 0x172,
|
|
1744
|
+
_0x321db0: 0x1d1
|
|
1745
|
+
}, _0x5c3c04 = {
|
|
1746
|
+
_0x29a0a2: 0x180,
|
|
1747
|
+
_0x38313: 0x1bf,
|
|
1748
|
+
_0x4f5a57: 0x15a,
|
|
1749
|
+
_0x36da9f: 0x1b0,
|
|
1750
|
+
_0x1a64af: 0x15e,
|
|
1751
|
+
_0xcf46c3: 0x169
|
|
1752
|
+
}, _0x4b678e = {
|
|
1753
|
+
_0x2a2b49: 0x1bf,
|
|
1754
|
+
_0x13e11a: 0xcd,
|
|
1755
|
+
_0x2eec83: 0x180,
|
|
1756
|
+
_0x38739c: 0x15a,
|
|
1757
|
+
_0x467c8d: 0x169
|
|
1758
|
+
}, _0x4d0d41 = {
|
|
1759
|
+
_0x32df31: 0x180,
|
|
1760
|
+
_0x21aa03: 0xcd,
|
|
1761
|
+
_0x338d35: 0xfa,
|
|
1762
|
+
_0x55f6d5: 0x225,
|
|
1763
|
+
_0x55b74b: 0x212,
|
|
1764
|
+
_0x58931b: 0xc9,
|
|
1765
|
+
_0x5ab868: 0xf6,
|
|
1766
|
+
_0x502b23: 0x227,
|
|
1767
|
+
_0x1700e3: 0x186,
|
|
1768
|
+
_0x3fb2e7: 0xc7,
|
|
1769
|
+
_0x1d24ad: 0x12d,
|
|
1770
|
+
_0x14195d: 0x1c9,
|
|
1771
|
+
_0x281076: 0x1b3,
|
|
1772
|
+
_0x40dc10: 0xf8,
|
|
1773
|
+
_0x870323: 0xf7,
|
|
1774
|
+
_0x313c64: 0x181,
|
|
1775
|
+
_0x9251a9: 0x22f,
|
|
1776
|
+
_0x3c1ae0: 0x22b,
|
|
1777
|
+
_0x56f18c: 0x20c,
|
|
1778
|
+
_0x4580d9: 0xc4,
|
|
1779
|
+
_0x225308: 0x196
|
|
1780
|
+
}, _0x3a5218 = {
|
|
1781
|
+
_0x96d661: 0xcd,
|
|
1782
|
+
_0x1122cb: 0xef,
|
|
1783
|
+
_0x32dfe7: 0xfd,
|
|
1784
|
+
_0x4d1544: 0x17c
|
|
1785
|
+
}, _0x5649d9 = _0x30157b;
|
|
1786
|
+
function _0x573b88(_0x3d22d3, _0x51af00) {
|
|
1787
|
+
const _0x2f71d0 = _0x5bbb;
|
|
1788
|
+
if (!_0x4ec383[_0x2f71d0(_0x3a5218._0x96d661)])
|
|
1774
1789
|
return;
|
|
1775
|
-
if (!
|
|
1776
|
-
throw new Error(
|
|
1777
|
-
if (
|
|
1778
|
-
throw new Error(
|
|
1790
|
+
if (!_0x4ec383[_0x2f71d0(0xc2)])
|
|
1791
|
+
throw new Error(_0x3d22d3 + _0x2f71d0(_0x3a5218._0x1122cb));
|
|
1792
|
+
if (_0x51af00 !== _0x4ec383['workerThreadTarget'])
|
|
1793
|
+
throw new Error(_0x3d22d3 + _0x2f71d0(_0x3a5218._0x32dfe7) + _0x4ec383[_0x2f71d0(0xc2)] + _0x2f71d0(_0x3a5218._0x4d1544) + _0x51af00);
|
|
1779
1794
|
}
|
|
1780
|
-
async function
|
|
1781
|
-
const
|
|
1782
|
-
if (!
|
|
1795
|
+
async function _0xc28255(_0x255d03) {
|
|
1796
|
+
const _0x4d5353 = _0x5bbb;
|
|
1797
|
+
if (!_0x4ec383[_0x4d5353(_0x4d0d41._0x32df31)] || !_0x4ec383[_0x4d5353(0x1bf)] || _0x4ec383[_0x4d5353(_0x4d0d41._0x21aa03)] || _0x4ec383[_0x4d5353(_0x4d0d41._0x338d35)] !== !![])
|
|
1783
1798
|
return null;
|
|
1784
|
-
const
|
|
1785
|
-
if (
|
|
1799
|
+
const _0x524d2e = parseTarget(_0x255d03[_0x4d5353(_0x4d0d41._0x55f6d5)]);
|
|
1800
|
+
if (_0x524d2e[_0x4d5353(_0x4d0d41._0x55b74b)] !== _0x4d5353(_0x4d0d41._0x55f6d5))
|
|
1786
1801
|
return null;
|
|
1787
|
-
if (
|
|
1788
|
-
const
|
|
1802
|
+
if (_0x255d03['executionMode'] === 'main') {
|
|
1803
|
+
const _0x2791a2 = _0x255d03[_0x4d5353(0x16b)] == null ? '(legacy)' : '#' + _0x255d03[_0x4d5353(0x16b)];
|
|
1789
1804
|
return {
|
|
1790
|
-
'executionMode':
|
|
1805
|
+
'executionMode': _0x4d5353(0x11d),
|
|
1791
1806
|
'stopMain': ![],
|
|
1792
1807
|
'workerHandoff': ![],
|
|
1793
|
-
'workerHandoffError': 'task\x20' +
|
|
1808
|
+
'workerHandoffError': 'task\x20' + _0x2791a2 + _0x4d5353(_0x4d0d41._0x58931b)
|
|
1794
1809
|
};
|
|
1795
1810
|
}
|
|
1796
|
-
const
|
|
1797
|
-
let
|
|
1811
|
+
const _0x5e3a8b = _0x255d03[_0x4d5353(0x17f)] != null ? _0x524d2e[_0x4d5353(_0x4d0d41._0x5ab868)] + ':t' + _0x255d03['threadNumber'] : _0x524d2e['channelTarget'] + ':' + _0x255d03[_0x4d5353(0x19b)];
|
|
1812
|
+
let _0x5b61b7;
|
|
1798
1813
|
try {
|
|
1799
|
-
const
|
|
1800
|
-
'channel':
|
|
1814
|
+
const _0x52d277 = await _0x4ec383[_0x4d5353(0x19f)][_0x4d5353(0x1d0)]({
|
|
1815
|
+
'channel': _0x5e3a8b,
|
|
1801
1816
|
'limit': 0x14
|
|
1802
1817
|
});
|
|
1803
|
-
|
|
1818
|
+
_0x5b61b7 = _0x52d277['messages'][_0x4d5353(_0x4d0d41._0x502b23)](_0x2265c6 => _0x2265c6[_0x4d5353(0x19b)] === _0x255d03[_0x4d5353(0x19b)]);
|
|
1804
1819
|
} catch {
|
|
1805
|
-
|
|
1820
|
+
_0x5b61b7 = void 0x0;
|
|
1806
1821
|
}
|
|
1807
|
-
const
|
|
1808
|
-
|
|
1822
|
+
const _0x3303c1 = _0x255d03[_0x4d5353(0x16b)] == null ? '(legacy)' : '#' + _0x255d03[_0x4d5353(0x16b)], _0x19d4dc = [
|
|
1823
|
+
_0x4d5353(0x223) + _0x5e3a8b + _0x4d5353(0x162) + _0x255d03[_0x4d5353(0x19b)]['slice'](0x0, 0x8) + _0x4d5353(_0x4d0d41._0x1700e3) + new Date()['toISOString']() + _0x4d5353(0x1bb) + _0x3303c1 + _0x4d5353(_0x4d0d41._0x3fb2e7),
|
|
1809
1824
|
'',
|
|
1810
|
-
|
|
1825
|
+
_0x5b61b7 ? 'Root\x20task\x20message:\x0a' + _0x5b61b7['content'] : _0x4d5353(_0x4d0d41._0x1d24ad) + _0x255d03['messageId'],
|
|
1811
1826
|
'',
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
][
|
|
1815
|
-
'method':
|
|
1816
|
-
'headers': { 'Content-Type':
|
|
1817
|
-
'body': JSON[
|
|
1818
|
-
'agent_id':
|
|
1819
|
-
'thread_target':
|
|
1827
|
+
_0x4d5353(_0x4d0d41._0x14195d) + _0x5e3a8b,
|
|
1828
|
+
'Continue\x20execution\x20in\x20this\x20thread.\x20Use\x20read_history\x20if\x20you\x20need\x20more\x20context.'
|
|
1829
|
+
][_0x4d5353(0xfb)]('\x0a'), _0x4aa397 = await fetch(_0x4ec383[_0x4d5353(_0x4d0d41._0x32df31)] + _0x4d5353(_0x4d0d41._0x281076), {
|
|
1830
|
+
'method': _0x4d5353(_0x4d0d41._0x40dc10),
|
|
1831
|
+
'headers': { 'Content-Type': _0x4d5353(0xe9) },
|
|
1832
|
+
'body': JSON[_0x4d5353(_0x4d0d41._0x870323)]({
|
|
1833
|
+
'agent_id': _0x4ec383[_0x4d5353(0x1bf)],
|
|
1834
|
+
'thread_target': _0x5e3a8b,
|
|
1820
1835
|
'spawn_packet': {
|
|
1821
|
-
'replyTarget':
|
|
1822
|
-
...
|
|
1836
|
+
'replyTarget': _0x5e3a8b,
|
|
1837
|
+
..._0x255d03[_0x4d5353(_0x4d0d41._0x313c64)] ? { 'taskId': _0x255d03[_0x4d5353(_0x4d0d41._0x313c64)] } : _0x255d03[_0x4d5353(0x16b)] != null ? { 'taskId': _0x4d5353(_0x4d0d41._0x9251a9) + _0x255d03['taskNumber'] } : {}
|
|
1823
1838
|
},
|
|
1824
1839
|
'payload': {
|
|
1825
1840
|
'mode': 'user',
|
|
1826
|
-
'text':
|
|
1841
|
+
'text': _0x19d4dc
|
|
1827
1842
|
}
|
|
1828
1843
|
})
|
|
1829
|
-
}),
|
|
1830
|
-
if (!
|
|
1831
|
-
throw new Error(
|
|
1844
|
+
}), _0x50e8c6 = await _0x4aa397[_0x4d5353(0x15a)]();
|
|
1845
|
+
if (!_0x50e8c6['ok'])
|
|
1846
|
+
throw new Error(_0x50e8c6[_0x4d5353(_0x4d0d41._0x3c1ae0)] ?? 'worker\x20handoff\x20failed');
|
|
1832
1847
|
return {
|
|
1833
1848
|
'stopMain': !![],
|
|
1834
|
-
'threadTarget':
|
|
1835
|
-
'workerDisposition':
|
|
1849
|
+
'threadTarget': _0x5e3a8b,
|
|
1850
|
+
'workerDisposition': _0x50e8c6[_0x4d5353(0x1a0)] === _0x4d5353(_0x4d0d41._0x56f18c) ? _0x4d5353(_0x4d0d41._0x56f18c) : _0x4d5353(_0x4d0d41._0x4580d9),
|
|
1836
1851
|
'workerHandoff': !![],
|
|
1837
|
-
'workerSessionId':
|
|
1838
|
-
'executionMode':
|
|
1852
|
+
'workerSessionId': _0x50e8c6[_0x4d5353(0x229)] ?? '',
|
|
1853
|
+
'executionMode': _0x4d5353(_0x4d0d41._0x225308)
|
|
1839
1854
|
};
|
|
1840
1855
|
}
|
|
1841
|
-
async function
|
|
1842
|
-
const
|
|
1843
|
-
if (!
|
|
1856
|
+
async function _0x1a5dd8() {
|
|
1857
|
+
const _0x326157 = _0x5bbb;
|
|
1858
|
+
if (!_0x4ec383['daemonLocalUrl'] || !_0x4ec383[_0x326157(_0x4b678e._0x2a2b49)] || _0x4ec383[_0x326157(_0x4b678e._0x13e11a)])
|
|
1844
1859
|
return null;
|
|
1845
1860
|
try {
|
|
1846
|
-
const
|
|
1847
|
-
if (!
|
|
1861
|
+
const _0x25d998 = await fetch(_0x4ec383[_0x326157(_0x4b678e._0x2eec83)] + _0x326157(0x114) + encodeURIComponent(_0x4ec383[_0x326157(0x1bf)])), _0xa25668 = await _0x25d998[_0x326157(_0x4b678e._0x38739c)]();
|
|
1862
|
+
if (!_0xa25668['ok'])
|
|
1848
1863
|
return null;
|
|
1849
|
-
const
|
|
1850
|
-
for (const
|
|
1851
|
-
|
|
1864
|
+
const _0x14e644 = new Set();
|
|
1865
|
+
for (const _0x541dd0 of _0xa25668[_0x326157(0x1b0)]) {
|
|
1866
|
+
_0x541dd0[_0x326157(0x240)] !== 'destroyed' && _0x541dd0['thread_target'] && _0x14e644[_0x326157(0x133)](_0x541dd0['thread_target']);
|
|
1852
1867
|
}
|
|
1853
|
-
return
|
|
1868
|
+
return _0x14e644[_0x326157(_0x4b678e._0x467c8d)] > 0x0 ? _0x14e644 : null;
|
|
1854
1869
|
} catch {
|
|
1855
1870
|
return null;
|
|
1856
1871
|
}
|
|
1857
1872
|
}
|
|
1858
|
-
const
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1873
|
+
const _0x35ec4a = new Set([
|
|
1874
|
+
'running',
|
|
1875
|
+
_0x5649d9(0x104),
|
|
1876
|
+
'waiting_input'
|
|
1862
1877
|
]);
|
|
1863
|
-
async function
|
|
1864
|
-
const
|
|
1865
|
-
if (!
|
|
1878
|
+
async function _0x53e21d() {
|
|
1879
|
+
const _0x2e50e4 = _0x5649d9;
|
|
1880
|
+
if (!_0x4ec383[_0x2e50e4(_0x5c3c04._0x29a0a2)] || !_0x4ec383[_0x2e50e4(_0x5c3c04._0x38313)] || _0x4ec383[_0x2e50e4(0xcd)])
|
|
1866
1881
|
return null;
|
|
1867
1882
|
try {
|
|
1868
|
-
const
|
|
1869
|
-
if (!
|
|
1883
|
+
const _0x1328e8 = await fetch(_0x4ec383[_0x2e50e4(0x180)] + _0x2e50e4(0x114) + encodeURIComponent(_0x4ec383['agentId'])), _0x3b6971 = await _0x1328e8[_0x2e50e4(_0x5c3c04._0x4f5a57)]();
|
|
1884
|
+
if (!_0x3b6971['ok'])
|
|
1870
1885
|
return null;
|
|
1871
|
-
const
|
|
1872
|
-
for (const
|
|
1873
|
-
|
|
1886
|
+
const _0x140b98 = new Set();
|
|
1887
|
+
for (const _0x47e5a5 of _0x3b6971[_0x2e50e4(_0x5c3c04._0x36da9f)]) {
|
|
1888
|
+
_0x35ec4a[_0x2e50e4(_0x5c3c04._0x1a64af)](_0x47e5a5['status']) && _0x47e5a5[_0x2e50e4(0x12f)] && _0x140b98['add'](_0x47e5a5['thread_target']);
|
|
1874
1889
|
}
|
|
1875
|
-
return
|
|
1890
|
+
return _0x140b98[_0x2e50e4(_0x5c3c04._0xcf46c3)] > 0x0 ? _0x140b98 : null;
|
|
1876
1891
|
} catch {
|
|
1877
1892
|
return null;
|
|
1878
1893
|
}
|
|
1879
1894
|
}
|
|
1880
1895
|
return {
|
|
1881
|
-
async 'send_message'(
|
|
1882
|
-
const
|
|
1883
|
-
if (!
|
|
1884
|
-
const
|
|
1885
|
-
if (
|
|
1886
|
-
if (
|
|
1887
|
-
const
|
|
1888
|
-
'attachmentIds':
|
|
1889
|
-
'content':
|
|
1890
|
-
'target':
|
|
1891
|
-
'visibility':
|
|
1896
|
+
async 'send_message'(_0x23893c) {
|
|
1897
|
+
const _0x2d8f87 = _0x5649d9;
|
|
1898
|
+
if (!_0x4ec383['workerMode'] && _0x4ec383[_0x2d8f87(_0x29d2e2._0x184813)] && _0x4ec383[_0x2d8f87(0x180)] && _0x4ec383['agentId']) {
|
|
1899
|
+
const _0x4b2c3b = await _0x4ec383['client'][_0x2d8f87(_0x29d2e2._0x28d2aa)](_0x23893c['target']);
|
|
1900
|
+
if (_0x4b2c3b[_0x2d8f87(0x193)] && _0x4b2c3b['threadId']) {
|
|
1901
|
+
if (_0x4b2c3b['task'][_0x2d8f87(0x1fc)] === _0x2d8f87(0x11d)) {
|
|
1902
|
+
const _0x3ae322 = await _0x4ec383[_0x2d8f87(0x19f)]['sendMessage']({
|
|
1903
|
+
'attachmentIds': _0x23893c[_0x2d8f87(_0x29d2e2._0x100c92)],
|
|
1904
|
+
'content': _0x23893c[_0x2d8f87(_0x29d2e2._0x139476)],
|
|
1905
|
+
'target': _0x23893c[_0x2d8f87(_0x29d2e2._0x10ee9e)],
|
|
1906
|
+
'visibility': _0x23893c[_0x2d8f87(0x1d1)]
|
|
1892
1907
|
});
|
|
1893
|
-
return
|
|
1908
|
+
return _0x2d8f87(0x1d4) + _0x23893c[_0x2d8f87(0x172)] + _0x2d8f87(_0x29d2e2._0x2bc7e0) + _0x3ae322[_0x2d8f87(_0x29d2e2._0x550c48)];
|
|
1894
1909
|
}
|
|
1895
|
-
const
|
|
1896
|
-
if (
|
|
1910
|
+
const _0x26b761 = _0x4b2c3b[_0x2d8f87(_0x29d2e2._0xcac99b)][_0x2d8f87(_0x29d2e2._0x266b9c)] != null ? '#' + _0x4b2c3b['task']['taskNumber'] : _0x2d8f87(_0x29d2e2._0x447944), _0x558bb8 = _0x4b2c3b[_0x2d8f87(_0x29d2e2._0x2cf07b)] != null ? _0x4b2c3b[_0x2d8f87(0x172)] + ':t' + _0x4b2c3b['threadNumber'] : _0x4b2c3b[_0x2d8f87(0x172)] + ':' + _0x4b2c3b[_0x2d8f87(_0x29d2e2._0x510df8)][_0x2d8f87(_0x29d2e2._0x559837)](0x0, 0x8), _0x5240cc = await _0x53e21d();
|
|
1911
|
+
if (_0x5240cc?.[_0x2d8f87(0x15e)](_0x558bb8))
|
|
1897
1912
|
return [
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
][
|
|
1901
|
-
const
|
|
1902
|
-
|
|
1913
|
+
_0x2d8f87(_0x29d2e2._0x3828f1) + _0x26b761 + '\x20in\x20' + _0x558bb8 + '\x20already\x20has\x20an\x20active\x20worker.\x20stopMain=true\x20executionMode=worker',
|
|
1914
|
+
_0x2d8f87(0x126)
|
|
1915
|
+
][_0x2d8f87(_0x29d2e2._0x57e6f5)]('\x0a');
|
|
1916
|
+
const _0x59ec04 = [
|
|
1917
|
+
_0x2d8f87(_0x29d2e2._0x72c9c5) + _0x558bb8 + _0x2d8f87(0x120) + new Date()[_0x2d8f87(0x158)]() + _0x2d8f87(0xbe),
|
|
1903
1918
|
'',
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
][
|
|
1909
|
-
'method':
|
|
1910
|
-
'headers': { 'Content-Type':
|
|
1911
|
-
'body': JSON[
|
|
1912
|
-
'agent_id':
|
|
1913
|
-
'thread_target':
|
|
1919
|
+
'Original\x20message:\x20' + _0x23893c['content'],
|
|
1920
|
+
_0x2d8f87(_0x29d2e2._0xe341fe) + _0x26b761 + '\x20(' + _0x4b2c3b[_0x2d8f87(0x193)][_0x2d8f87(0x181)] + ')',
|
|
1921
|
+
_0x2d8f87(0x1c9) + _0x558bb8,
|
|
1922
|
+
'Read\x20thread\x20history\x20before\x20taking\x20action.\x20Do\x20not\x20echo\x20this\x20message\x20to\x20the\x20thread.'
|
|
1923
|
+
][_0x2d8f87(_0x29d2e2._0x57e6f5)]('\x0a'), _0x4447fd = await fetch(_0x4ec383[_0x2d8f87(_0x29d2e2._0xb138fe)] + _0x2d8f87(0x1b3), {
|
|
1924
|
+
'method': 'POST',
|
|
1925
|
+
'headers': { 'Content-Type': _0x2d8f87(_0x29d2e2._0x3e0de1) },
|
|
1926
|
+
'body': JSON[_0x2d8f87(_0x29d2e2._0x3703b1)]({
|
|
1927
|
+
'agent_id': _0x4ec383['agentId'],
|
|
1928
|
+
'thread_target': _0x558bb8,
|
|
1914
1929
|
'spawn_packet': {
|
|
1915
|
-
'replyTarget':
|
|
1916
|
-
'taskId':
|
|
1930
|
+
'replyTarget': _0x558bb8,
|
|
1931
|
+
'taskId': _0x4b2c3b[_0x2d8f87(_0x29d2e2._0x4264c5)][_0x2d8f87(_0x29d2e2._0x42eb32)]
|
|
1917
1932
|
},
|
|
1918
1933
|
'payload': {
|
|
1919
|
-
'mode':
|
|
1920
|
-
'text':
|
|
1934
|
+
'mode': _0x2d8f87(_0x29d2e2._0x2f92a0),
|
|
1935
|
+
'text': _0x59ec04
|
|
1921
1936
|
}
|
|
1922
1937
|
})
|
|
1923
|
-
}),
|
|
1924
|
-
if (!
|
|
1925
|
-
throw new Error(
|
|
1938
|
+
}), _0x22f87b = await _0x4447fd[_0x2d8f87(_0x29d2e2._0x114d49)]();
|
|
1939
|
+
if (!_0x22f87b['ok'])
|
|
1940
|
+
throw new Error(_0x22f87b['error'] ?? _0x2d8f87(0x1b8));
|
|
1926
1941
|
return [
|
|
1927
|
-
'Handoff\x20to\x20worker\x20for\x20task\x20' +
|
|
1928
|
-
'Worker\x20' + (
|
|
1929
|
-
|
|
1930
|
-
][
|
|
1942
|
+
'Handoff\x20to\x20worker\x20for\x20task\x20' + _0x26b761 + '\x20in\x20' + _0x558bb8 + _0x2d8f87(0x176),
|
|
1943
|
+
'Worker\x20' + (_0x22f87b[_0x2d8f87(_0x29d2e2._0x28cb48)] === _0x2d8f87(_0x29d2e2._0x15f525) ? _0x2d8f87(_0x29d2e2._0xc5b20d) : _0x2d8f87(0xc4)) + '.',
|
|
1944
|
+
'⚠️\x20WORKER\x20ACTIVATED\x20—\x20Stop\x20ALL\x20work\x20on\x20this\x20task\x20immediately.\x20Do\x20not\x20send\x20further\x20messages\x20to\x20this\x20thread.'
|
|
1945
|
+
][_0x2d8f87(0xfb)]('\x0a');
|
|
1931
1946
|
}
|
|
1932
1947
|
}
|
|
1933
|
-
const
|
|
1934
|
-
'attachmentIds':
|
|
1935
|
-
'content':
|
|
1936
|
-
'target':
|
|
1937
|
-
'visibility':
|
|
1948
|
+
const _0x21a258 = await _0x4ec383[_0x2d8f87(0x19f)]['sendMessage']({
|
|
1949
|
+
'attachmentIds': _0x23893c[_0x2d8f87(_0x29d2e2._0x100c92)],
|
|
1950
|
+
'content': _0x23893c['content'],
|
|
1951
|
+
'target': _0x23893c[_0x2d8f87(_0x29d2e2._0x477fac)],
|
|
1952
|
+
'visibility': _0x23893c[_0x2d8f87(_0x29d2e2._0x321db0)]
|
|
1938
1953
|
});
|
|
1939
|
-
return
|
|
1954
|
+
return _0x2d8f87(0x1d4) + _0x23893c[_0x2d8f87(0x172)] + _0x2d8f87(0x139) + _0x21a258['messageId'];
|
|
1940
1955
|
},
|
|
1941
1956
|
async 'check_messages'() {
|
|
1942
|
-
const
|
|
1943
|
-
if (!
|
|
1944
|
-
const
|
|
1945
|
-
if (
|
|
1946
|
-
return formatCheckMessages(
|
|
1957
|
+
const _0x3fc293 = _0x5649d9, _0x2c7485 = await _0x4ec383['client'][_0x3fc293(_0xc567a8._0x248457)]();
|
|
1958
|
+
if (!_0x4ec383[_0x3fc293(_0xc567a8._0x4a3da3)]) {
|
|
1959
|
+
const _0x1f6dd4 = await _0x1a5dd8();
|
|
1960
|
+
if (_0x1f6dd4)
|
|
1961
|
+
return formatCheckMessages(_0x2c7485[_0x3fc293(0x15d)][_0x3fc293(0x22a)](_0x2172e6 => !_0x1f6dd4[_0x3fc293(0x15e)](_0x2172e6[_0x3fc293(0x172)])));
|
|
1947
1962
|
}
|
|
1948
|
-
return formatCheckMessages(
|
|
1963
|
+
return formatCheckMessages(_0x2c7485['messages']);
|
|
1949
1964
|
},
|
|
1950
|
-
async 'read_history'(
|
|
1951
|
-
const
|
|
1952
|
-
return formatHistory(
|
|
1965
|
+
async 'read_history'(_0x131dd5) {
|
|
1966
|
+
const _0x30d2be = _0x5649d9, _0x417e96 = await _0x4ec383[_0x30d2be(0x19f)]['readHistory'](_0x131dd5);
|
|
1967
|
+
return formatHistory(_0x417e96);
|
|
1953
1968
|
},
|
|
1954
1969
|
async 'list_server'() {
|
|
1955
|
-
const
|
|
1956
|
-
return formatServerDirectory(
|
|
1970
|
+
const _0x4163ff = _0x5649d9, _0x1b5c23 = await _0x4ec383[_0x4163ff(0x19f)][_0x4163ff(0x1f1)]();
|
|
1971
|
+
return formatServerDirectory(_0x1b5c23);
|
|
1957
1972
|
},
|
|
1958
|
-
async 'list_tasks'(
|
|
1959
|
-
const
|
|
1960
|
-
let
|
|
1961
|
-
if (
|
|
1973
|
+
async 'list_tasks'(_0x531f42) {
|
|
1974
|
+
const _0x33ce03 = _0x5649d9, _0x21c997 = await _0x4ec383[_0x33ce03(0x19f)][_0x33ce03(_0x587603._0x3f90ba)](_0x531f42);
|
|
1975
|
+
let _0xea82b9;
|
|
1976
|
+
if (_0x4ec383[_0x33ce03(0x180)] && _0x4ec383[_0x33ce03(_0x587603._0x404cde)])
|
|
1962
1977
|
try {
|
|
1963
|
-
const
|
|
1964
|
-
if (
|
|
1965
|
-
const
|
|
1966
|
-
|
|
1967
|
-
for (const
|
|
1968
|
-
if (
|
|
1978
|
+
const _0xb7a135 = await fetch(_0x4ec383['daemonLocalUrl'] + _0x33ce03(_0x587603._0x23228b) + encodeURIComponent(_0x4ec383['agentId'])), _0x377aa2 = await _0xb7a135[_0x33ce03(_0x587603._0x41fc03)]();
|
|
1979
|
+
if (_0x377aa2['ok']) {
|
|
1980
|
+
const _0x22f709 = _0x531f42[_0x33ce03(0x225)] + ':';
|
|
1981
|
+
_0xea82b9 = new Set();
|
|
1982
|
+
for (const _0x3adf70 of _0x377aa2[_0x33ce03(0x1b0)]) {
|
|
1983
|
+
if (_0x3adf70[_0x33ce03(_0x587603._0x3576f2)] === _0x33ce03(0x20d))
|
|
1969
1984
|
continue;
|
|
1970
|
-
if (
|
|
1971
|
-
const
|
|
1972
|
-
if (
|
|
1973
|
-
|
|
1985
|
+
if (_0x3adf70[_0x33ce03(0x12f)]?.[_0x33ce03(_0x587603._0x5ae945)](_0x22f709)) {
|
|
1986
|
+
const _0x3e3779 = _0x3adf70['thread_target'][_0x33ce03(0x10b)](_0x22f709[_0x33ce03(0x1c2)]), _0x5852c6 = _0x21c997[_0x33ce03(_0x587603._0x306961)][_0x33ce03(_0x587603._0x4d8ca5)](_0xb872b3 => _0xb872b3[_0x33ce03(0x19b)]?.[_0x33ce03(0x23e)](_0x3e3779) === !![]);
|
|
1987
|
+
if (_0x5852c6?.[_0x33ce03(0x16b)] != null) {
|
|
1988
|
+
_0xea82b9['add'](_0x5852c6[_0x33ce03(0x16b)]);
|
|
1974
1989
|
continue;
|
|
1975
1990
|
}
|
|
1976
1991
|
}
|
|
1977
|
-
if (
|
|
1978
|
-
const
|
|
1979
|
-
|
|
1992
|
+
if (_0x3adf70[_0x33ce03(_0x587603._0x2db455)]) {
|
|
1993
|
+
const _0x3fae42 = _0x21c997[_0x33ce03(_0x587603._0x595b03)][_0x33ce03(0x227)](_0x5cdb1e => _0x5cdb1e[_0x33ce03(0x181)] === _0x3adf70[_0x33ce03(0x156)]);
|
|
1994
|
+
_0x3fae42?.[_0x33ce03(_0x587603._0x52dcf8)] != null && _0xea82b9[_0x33ce03(_0x587603._0x492145)](_0x3fae42[_0x33ce03(0x16b)]);
|
|
1980
1995
|
}
|
|
1981
1996
|
}
|
|
1982
1997
|
}
|
|
1983
1998
|
} catch {
|
|
1984
1999
|
}
|
|
1985
|
-
return formatTaskList(
|
|
2000
|
+
return formatTaskList(_0x21c997['tasks'], _0xea82b9);
|
|
1986
2001
|
},
|
|
1987
|
-
async 'create_tasks'(
|
|
1988
|
-
const
|
|
1989
|
-
|
|
1990
|
-
const
|
|
1991
|
-
return formatCreatedTasks(
|
|
2002
|
+
async 'create_tasks'(_0x22fcad) {
|
|
2003
|
+
const _0x364a29 = _0x5649d9;
|
|
2004
|
+
_0x573b88(_0x364a29(_0x56bcac._0x72197b), _0x22fcad[_0x364a29(0x225)]);
|
|
2005
|
+
const _0x29a233 = await _0x4ec383[_0x364a29(0x19f)][_0x364a29(0x10f)](_0x22fcad);
|
|
2006
|
+
return formatCreatedTasks(_0x29a233[_0x364a29(_0x56bcac._0x596804)]);
|
|
1992
2007
|
},
|
|
1993
|
-
async 'claim_tasks'(
|
|
1994
|
-
const
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
throw new Error(_0x551ce0(_0xee62f7._0x11112f));
|
|
2005
|
-
if (!_0x2c37c9[_0x551ce0(0x1f7)] || _0x2c37c9[_0x551ce0(0x1f7)][_0x551ce0(0xd3)] === 0x0)
|
|
2006
|
-
throw new Error(_0x551ce0(0x179));
|
|
2008
|
+
async 'claim_tasks'(_0x287f68) {
|
|
2009
|
+
const _0x383678 = {
|
|
2010
|
+
_0x485d88: 0x1fc,
|
|
2011
|
+
_0x3641ab: 0xd8
|
|
2012
|
+
}, _0x52b2da = _0x5649d9;
|
|
2013
|
+
if (_0x4ec383['workerMode']) {
|
|
2014
|
+
_0x573b88(_0x52b2da(0x113), _0x287f68[_0x52b2da(_0xc8dc9e._0x18faef)]);
|
|
2015
|
+
if (_0x287f68[_0x52b2da(0x159)] && _0x287f68[_0x52b2da(_0xc8dc9e._0x33e60d)][_0x52b2da(0x1c2)] > 0x0)
|
|
2016
|
+
throw new Error(_0x52b2da(_0xc8dc9e._0x51ca24));
|
|
2017
|
+
if (!_0x287f68[_0x52b2da(0x23c)] || _0x287f68[_0x52b2da(_0xc8dc9e._0x51a122)][_0x52b2da(_0xc8dc9e._0x4985fb)] === 0x0)
|
|
2018
|
+
throw new Error('claim_tasks:\x20worker\x20can\x20only\x20claim\x20subtasks\x20inside\x20its\x20own\x20task\x20thread\x20—\x20provide\x20subtask_numbers.');
|
|
2007
2019
|
}
|
|
2008
|
-
const
|
|
2009
|
-
const
|
|
2010
|
-
if (!
|
|
2011
|
-
return
|
|
2020
|
+
const _0x2fa493 = await _0x4ec383[_0x52b2da(_0xc8dc9e._0x476fe4)][_0x52b2da(_0xc8dc9e._0x4df361)](_0x287f68), _0x4b0c9a = await Promise['all'](_0x2fa493[_0x52b2da(0x128)][_0x52b2da(_0xc8dc9e._0x525c25)](async _0x5d9545 => {
|
|
2021
|
+
const _0x225fb3 = _0x52b2da;
|
|
2022
|
+
if (!_0x5d9545[_0x225fb3(0xdd)] || !_0x5d9545[_0x225fb3(0x19b)])
|
|
2023
|
+
return _0x5d9545;
|
|
2012
2024
|
try {
|
|
2013
|
-
const
|
|
2014
|
-
'channel':
|
|
2015
|
-
'executionMode':
|
|
2016
|
-
'messageId':
|
|
2017
|
-
'taskId':
|
|
2018
|
-
'taskNumber':
|
|
2019
|
-
'threadNumber':
|
|
2025
|
+
const _0x14fb03 = await _0xc28255({
|
|
2026
|
+
'channel': _0x287f68[_0x225fb3(0x225)],
|
|
2027
|
+
'executionMode': _0x5d9545[_0x225fb3(_0x383678._0x485d88)],
|
|
2028
|
+
'messageId': _0x5d9545['messageId'],
|
|
2029
|
+
'taskId': _0x5d9545['taskId'],
|
|
2030
|
+
'taskNumber': _0x5d9545[_0x225fb3(0x16b)],
|
|
2031
|
+
'threadNumber': _0x5d9545['threadNumber']
|
|
2020
2032
|
});
|
|
2021
|
-
return
|
|
2022
|
-
...
|
|
2023
|
-
...
|
|
2024
|
-
} :
|
|
2025
|
-
} catch (
|
|
2033
|
+
return _0x14fb03 ? {
|
|
2034
|
+
..._0x5d9545,
|
|
2035
|
+
..._0x14fb03
|
|
2036
|
+
} : _0x5d9545;
|
|
2037
|
+
} catch (_0x34d6d3) {
|
|
2026
2038
|
return {
|
|
2027
|
-
...
|
|
2028
|
-
'workerHandoffError':
|
|
2039
|
+
..._0x5d9545,
|
|
2040
|
+
'workerHandoffError': _0x34d6d3 instanceof Error ? _0x34d6d3['message'] : _0x225fb3(_0x383678._0x3641ab)
|
|
2029
2041
|
};
|
|
2030
2042
|
}
|
|
2031
2043
|
}));
|
|
2032
|
-
return formatClaimTaskResults(
|
|
2044
|
+
return formatClaimTaskResults(_0x4b0c9a);
|
|
2033
2045
|
},
|
|
2034
|
-
async 'unclaim_task'(
|
|
2035
|
-
const
|
|
2036
|
-
if (
|
|
2037
|
-
|
|
2038
|
-
if (
|
|
2039
|
-
throw new Error(
|
|
2046
|
+
async 'unclaim_task'(_0x4b4cc8) {
|
|
2047
|
+
const _0x3a53ae = _0x5649d9;
|
|
2048
|
+
if (_0x4ec383[_0x3a53ae(_0x93abff._0x38b9e1)]) {
|
|
2049
|
+
_0x573b88(_0x3a53ae(_0x93abff._0x2cb592), _0x4b4cc8[_0x3a53ae(_0x93abff._0x22e99e)]);
|
|
2050
|
+
if (_0x4b4cc8[_0x3a53ae(0x166)] == null)
|
|
2051
|
+
throw new Error(_0x3a53ae(0xe0));
|
|
2040
2052
|
}
|
|
2041
|
-
const
|
|
2042
|
-
return formatUnclaimTaskResult(
|
|
2053
|
+
const _0x5873df = await _0x4ec383[_0x3a53ae(0x19f)][_0x3a53ae(0x1a3)](_0x4b4cc8);
|
|
2054
|
+
return formatUnclaimTaskResult(_0x5873df);
|
|
2043
2055
|
},
|
|
2044
|
-
async 'update_task_status'(
|
|
2045
|
-
const
|
|
2046
|
-
|
|
2047
|
-
const
|
|
2048
|
-
return formatUpdateTaskStatusResult(
|
|
2056
|
+
async 'update_task_status'(_0x5d7446) {
|
|
2057
|
+
const _0x144e34 = _0x5649d9;
|
|
2058
|
+
_0x573b88(_0x144e34(_0x31d46c._0x10a4db), _0x5d7446[_0x144e34(_0x31d46c._0x4b14b5)]);
|
|
2059
|
+
const _0x189768 = await _0x4ec383[_0x144e34(0x19f)][_0x144e34(0xc0)](_0x5d7446);
|
|
2060
|
+
return formatUpdateTaskStatusResult(_0x189768);
|
|
2049
2061
|
},
|
|
2050
|
-
async 'upload_file'(
|
|
2051
|
-
const
|
|
2052
|
-
sizeBytes:
|
|
2053
|
-
...
|
|
2054
|
-
} =
|
|
2055
|
-
'channel':
|
|
2056
|
-
...
|
|
2062
|
+
async 'upload_file'(_0x93845c) {
|
|
2063
|
+
const _0x140248 = _0x5649d9, _0xd6d6a = await _0x4ec383[_0x140248(0x1a6)](_0x93845c[_0x140248(0x1c0)]), {
|
|
2064
|
+
sizeBytes: _0xe282ac,
|
|
2065
|
+
..._0x39109a
|
|
2066
|
+
} = _0xd6d6a, _0x24ff76 = await _0x4ec383['client'][_0x140248(0xd2)]({
|
|
2067
|
+
'channel': _0x93845c['channel'],
|
|
2068
|
+
..._0x39109a
|
|
2057
2069
|
});
|
|
2058
|
-
return formatUploadResult(
|
|
2070
|
+
return formatUploadResult(_0x24ff76);
|
|
2059
2071
|
},
|
|
2060
|
-
async 'view_file'(
|
|
2061
|
-
const
|
|
2062
|
-
if (
|
|
2063
|
-
return formatViewFileResult(
|
|
2064
|
-
const
|
|
2065
|
-
'attachmentId':
|
|
2066
|
-
'contentType':
|
|
2067
|
-
'data':
|
|
2068
|
-
'originalFilename':
|
|
2072
|
+
async 'view_file'(_0x4305c0) {
|
|
2073
|
+
const _0x11d5f9 = _0x5649d9, _0x303d9e = await _0x4ec383[_0x11d5f9(_0x2f8e3a._0x57beb4)][_0x11d5f9(_0x2f8e3a._0x584c14)](_0x4305c0[_0x11d5f9(0x1e4)]);
|
|
2074
|
+
if (_0x303d9e)
|
|
2075
|
+
return formatViewFileResult(_0x303d9e, !![]);
|
|
2076
|
+
const _0x3fecd8 = await _0x4ec383[_0x11d5f9(_0x2f8e3a._0x35a9bb)][_0x11d5f9(_0x2f8e3a._0x3d3a37)](_0x4305c0[_0x11d5f9(0x1e4)]), _0x3a5e3b = await _0x4ec383[_0x11d5f9(_0x2f8e3a._0x57beb4)][_0x11d5f9(_0x2f8e3a._0x54479a)]({
|
|
2077
|
+
'attachmentId': _0x4305c0[_0x11d5f9(_0x2f8e3a._0x19de6d)],
|
|
2078
|
+
'contentType': _0x3fecd8[_0x11d5f9(0x111)],
|
|
2079
|
+
'data': _0x3fecd8[_0x11d5f9(0x1e9)],
|
|
2080
|
+
'originalFilename': _0x3fecd8[_0x11d5f9(0x1a4)]
|
|
2069
2081
|
});
|
|
2070
|
-
return formatViewFileResult(
|
|
2082
|
+
return formatViewFileResult(_0x3a5e3b, ![]);
|
|
2071
2083
|
},
|
|
2072
|
-
async 'get_worker_status'(
|
|
2073
|
-
const
|
|
2074
|
-
if (!
|
|
2075
|
-
return
|
|
2076
|
-
const
|
|
2077
|
-
if (!
|
|
2078
|
-
return
|
|
2079
|
-
return
|
|
2084
|
+
async 'get_worker_status'(_0x48dc71) {
|
|
2085
|
+
const _0xbeaece = _0x5649d9;
|
|
2086
|
+
if (!_0x4ec383[_0xbeaece(0x180)])
|
|
2087
|
+
return _0xbeaece(_0x34e2eb._0x17a693);
|
|
2088
|
+
const _0x2a3bcf = await fetch(_0x4ec383[_0xbeaece(_0x34e2eb._0x4fce1f)] + _0xbeaece(_0x34e2eb._0x2e483d) + encodeURIComponent(_0x48dc71[_0xbeaece(_0x34e2eb._0x5d7812)])), _0x374876 = await _0x2a3bcf['json']();
|
|
2089
|
+
if (!_0x374876['ok'])
|
|
2090
|
+
return _0xbeaece(0x198) + _0x48dc71['work_key'] + _0xbeaece(0x161);
|
|
2091
|
+
return _0xbeaece(0x198) + _0x48dc71[_0xbeaece(_0x34e2eb._0x5d7812)] + _0xbeaece(_0x34e2eb._0x573190) + _0x374876[_0xbeaece(0x240)];
|
|
2080
2092
|
},
|
|
2081
|
-
async 'park_worker'(
|
|
2082
|
-
const
|
|
2083
|
-
if (!
|
|
2084
|
-
return
|
|
2085
|
-
const
|
|
2086
|
-
'method':
|
|
2087
|
-
'headers': { 'Content-Type':
|
|
2088
|
-
'body': JSON[
|
|
2089
|
-
}),
|
|
2090
|
-
if (!
|
|
2091
|
-
throw new Error(
|
|
2092
|
-
return 'Worker\x20\x22' +
|
|
2093
|
+
async 'park_worker'(_0x10695a) {
|
|
2094
|
+
const _0x65bb06 = _0x5649d9;
|
|
2095
|
+
if (!_0x4ec383[_0x65bb06(_0x492cbe._0x5a5e6)])
|
|
2096
|
+
return _0x65bb06(0x103);
|
|
2097
|
+
const _0x4980c0 = await fetch(_0x4ec383[_0x65bb06(0x180)] + _0x65bb06(_0x492cbe._0x303857), {
|
|
2098
|
+
'method': _0x65bb06(0xf8),
|
|
2099
|
+
'headers': { 'Content-Type': _0x65bb06(0xe9) },
|
|
2100
|
+
'body': JSON[_0x65bb06(_0x492cbe._0x573971)]({ 'work_key': _0x10695a[_0x65bb06(_0x492cbe._0x262897)] })
|
|
2101
|
+
}), _0x5af112 = await _0x4980c0[_0x65bb06(_0x492cbe._0x212db8)]();
|
|
2102
|
+
if (!_0x5af112['ok'])
|
|
2103
|
+
throw new Error(_0x5af112[_0x65bb06(_0x492cbe._0x23d8df)] ?? _0x65bb06(_0x492cbe._0x5c23da));
|
|
2104
|
+
return 'Worker\x20\x22' + _0x10695a[_0x65bb06(_0x492cbe._0x262897)] + _0x65bb06(0xc1);
|
|
2093
2105
|
},
|
|
2094
|
-
async 'mark_waiting_input'(
|
|
2095
|
-
const
|
|
2096
|
-
if (!
|
|
2097
|
-
return
|
|
2098
|
-
const
|
|
2099
|
-
'method':
|
|
2100
|
-
'headers': { 'Content-Type':
|
|
2106
|
+
async 'mark_waiting_input'(_0x35b7e4) {
|
|
2107
|
+
const _0x970938 = _0x5649d9;
|
|
2108
|
+
if (!_0x4ec383[_0x970938(0x180)] || !_0x4ec383[_0x970938(0x1bf)])
|
|
2109
|
+
return _0x970938(_0x4874c8._0x263753);
|
|
2110
|
+
const _0xc67245 = await fetch(_0x4ec383[_0x970938(_0x4874c8._0x5016f4)] + _0x970938(0x16a), {
|
|
2111
|
+
'method': _0x970938(0xf8),
|
|
2112
|
+
'headers': { 'Content-Type': _0x970938(0xe9) },
|
|
2101
2113
|
'body': JSON['stringify']({
|
|
2102
|
-
'work_key':
|
|
2103
|
-
'agent_id':
|
|
2114
|
+
'work_key': _0x35b7e4[_0x970938(0x152)],
|
|
2115
|
+
'agent_id': _0x4ec383[_0x970938(_0x4874c8._0x2a81d4)]
|
|
2104
2116
|
})
|
|
2105
|
-
}),
|
|
2106
|
-
if (!
|
|
2107
|
-
throw new Error(
|
|
2108
|
-
return
|
|
2117
|
+
}), _0x491bf2 = await _0xc67245[_0x970938(0x15a)]();
|
|
2118
|
+
if (!_0x491bf2['ok'])
|
|
2119
|
+
throw new Error(_0x491bf2[_0x970938(_0x4874c8._0x5bd3a2)] ?? 'mark_waiting_input\x20failed');
|
|
2120
|
+
return _0x970938(_0x4874c8._0x31d7b0) + _0x35b7e4[_0x970938(0x152)] + _0x970938(_0x4874c8._0x930be8);
|
|
2109
2121
|
},
|
|
2110
|
-
async 'escalate_to_main'(
|
|
2111
|
-
const
|
|
2112
|
-
if (!
|
|
2113
|
-
return
|
|
2114
|
-
const
|
|
2115
|
-
'method':
|
|
2116
|
-
'headers': { 'Content-Type':
|
|
2117
|
-
'body': JSON[
|
|
2118
|
-
'work_key':
|
|
2119
|
-
'reason':
|
|
2122
|
+
async 'escalate_to_main'(_0xd85188) {
|
|
2123
|
+
const _0x51437b = _0x5649d9;
|
|
2124
|
+
if (!_0x4ec383[_0x51437b(0x180)])
|
|
2125
|
+
return _0x51437b(_0x2e4245._0x5ef0e3);
|
|
2126
|
+
const _0x5cafee = await fetch(_0x4ec383[_0x51437b(_0x2e4245._0x333475)] + _0x51437b(_0x2e4245._0x5ab448), {
|
|
2127
|
+
'method': _0x51437b(_0x2e4245._0x3f8bcc),
|
|
2128
|
+
'headers': { 'Content-Type': 'application/json' },
|
|
2129
|
+
'body': JSON[_0x51437b(0xf7)]({
|
|
2130
|
+
'work_key': _0xd85188[_0x51437b(_0x2e4245._0x5ad187)],
|
|
2131
|
+
'reason': _0xd85188['reason']
|
|
2120
2132
|
})
|
|
2121
|
-
}),
|
|
2122
|
-
if (!
|
|
2123
|
-
throw new Error(
|
|
2124
|
-
return
|
|
2133
|
+
}), _0xa1fbac = await _0x5cafee[_0x51437b(0x15a)]();
|
|
2134
|
+
if (!_0xa1fbac['ok'])
|
|
2135
|
+
throw new Error(_0xa1fbac[_0x51437b(0x22b)] ?? _0x51437b(_0x2e4245._0x4b4903));
|
|
2136
|
+
return _0x51437b(_0x2e4245._0x4d200b) + _0xd85188['reason'];
|
|
2125
2137
|
}
|
|
2126
2138
|
};
|
|
2127
2139
|
}
|
|
2128
|
-
function textResult(
|
|
2129
|
-
const
|
|
2140
|
+
function textResult(_0x45b26e, _0x5b7820 = ![]) {
|
|
2141
|
+
const _0x563718 = _0x30157b;
|
|
2130
2142
|
return {
|
|
2131
2143
|
'content': [{
|
|
2132
|
-
'type':
|
|
2133
|
-
'text':
|
|
2144
|
+
'type': _0x563718(0x115),
|
|
2145
|
+
'text': _0x45b26e
|
|
2134
2146
|
}],
|
|
2135
|
-
...
|
|
2147
|
+
..._0x5b7820 ? { 'isError': !![] } : {}
|
|
2136
2148
|
};
|
|
2137
2149
|
}
|
|
2138
|
-
async function registerChatBridgeTools(
|
|
2139
|
-
const
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
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
|
-
_0x10ce93: 0x173
|
|
2210
|
-
}, _0x480ebc = { _0x139371: 0x10d }, _0x264cce = _0x14c52b, {z: _0x500959} = await import(_0x264cce(0xf3));
|
|
2211
|
-
_0x299f43['tool'](_0x264cce(_0x4cd2f3._0x26074d), _0x264cce(_0x4cd2f3._0x551ff3), {
|
|
2212
|
-
'target': _0x500959['string'](),
|
|
2213
|
-
'content': _0x500959[_0x264cce(0x202)](),
|
|
2214
|
-
'attachment_ids': _0x500959['array'](_0x500959[_0x264cce(0x202)]())[_0x264cce(0x222)](),
|
|
2215
|
-
'visibility': _0x500959[_0x264cce(_0x4cd2f3._0x40654d)]([
|
|
2216
|
-
_0x264cce(_0x4cd2f3._0x3a3a11),
|
|
2217
|
-
_0x264cce(0x124)
|
|
2218
|
-
])[_0x264cce(0x222)]()[_0x264cce(0x10e)]('Optional.\x20If\x20omitted,\x20the\x20message\x20is\x20public.\x20In\x20task\x20threads,\x20set\x20\x22aside\x22\x20only\x20when\x20you\x20explicitly\x20want\x20an\x20aside.\x20Do\x20not\x20set\x20outside\x20threads.')
|
|
2219
|
-
}, async _0x1a8040 => {
|
|
2220
|
-
const _0x3ae908 = _0x264cce;
|
|
2150
|
+
async function registerChatBridgeTools(_0x4a6193, _0x336f92, _0x2cc85b) {
|
|
2151
|
+
const _0x1746ef = {
|
|
2152
|
+
_0x4bb24d: 0x1e8,
|
|
2153
|
+
_0xfaa112: 0x231,
|
|
2154
|
+
_0xbb748f: 0x236,
|
|
2155
|
+
_0xd003b9: 0xd6,
|
|
2156
|
+
_0x5b4148: 0x241,
|
|
2157
|
+
_0x54ec52: 0xc6,
|
|
2158
|
+
_0x10e8b0: 0x221,
|
|
2159
|
+
_0xb1e0dd: 0x17e,
|
|
2160
|
+
_0x30edb2: 0x14d,
|
|
2161
|
+
_0x1f1419: 0x218,
|
|
2162
|
+
_0x12ec13: 0x231,
|
|
2163
|
+
_0x17bc69: 0x1c5,
|
|
2164
|
+
_0x199cc0: 0x107,
|
|
2165
|
+
_0x557424: 0x231,
|
|
2166
|
+
_0x1df63c: 0x102,
|
|
2167
|
+
_0xd57f70: 0x1ab,
|
|
2168
|
+
_0x58c221: 0x191,
|
|
2169
|
+
_0x10229b: 0x1c6,
|
|
2170
|
+
_0x1eb49a: 0x1b6,
|
|
2171
|
+
_0x227e50: 0x1cc,
|
|
2172
|
+
_0x60b8a2: 0x1fb,
|
|
2173
|
+
_0x2b7854: 0xd6,
|
|
2174
|
+
_0x463f2d: 0x1fb,
|
|
2175
|
+
_0xcbdc19: 0x16f,
|
|
2176
|
+
_0x28d112: 0x248,
|
|
2177
|
+
_0x49dcad: 0x1fb,
|
|
2178
|
+
_0xd08352: 0x214,
|
|
2179
|
+
_0x3132b0: 0x242,
|
|
2180
|
+
_0x5da928: 0x1e0,
|
|
2181
|
+
_0x27ca05: 0xd6,
|
|
2182
|
+
_0x58797f: 0x211,
|
|
2183
|
+
_0xc0c3d3: 0xcd,
|
|
2184
|
+
_0x1bf01d: 0xdc,
|
|
2185
|
+
_0x123e5c: 0x231
|
|
2186
|
+
}, _0x363ad7 = { _0x99b8b3: 0x16d }, _0x4c98c8 = {
|
|
2187
|
+
_0x142dae: 0xff,
|
|
2188
|
+
_0x252cc6: 0x11a
|
|
2189
|
+
}, _0x5ad6fc = { _0x1ae16b: 0x11a }, _0x386c4f = {
|
|
2190
|
+
_0x2c26b0: 0xe6,
|
|
2191
|
+
_0x188227: 0x11a
|
|
2192
|
+
}, _0x3e7cb1 = {
|
|
2193
|
+
_0x19f704: 0x1e0,
|
|
2194
|
+
_0x205fac: 0x11a
|
|
2195
|
+
}, _0x15030a = {
|
|
2196
|
+
_0x401146: 0x18a,
|
|
2197
|
+
_0x5d1d1e: 0x112
|
|
2198
|
+
}, _0x2ed85b = {
|
|
2199
|
+
_0x1f4139: 0x11a,
|
|
2200
|
+
_0x182518: 0x1ba
|
|
2201
|
+
}, _0x5c59e1 = {
|
|
2202
|
+
_0x17ab15: 0xf9,
|
|
2203
|
+
_0x3e8755: 0x11a
|
|
2204
|
+
}, _0x3fab0b = {
|
|
2205
|
+
_0x11f28e: 0x11a,
|
|
2206
|
+
_0x549442: 0x1d3
|
|
2207
|
+
}, _0x3cfd0b = { _0x40671b: 0x11a }, _0x856f06 = {
|
|
2208
|
+
_0x503265: 0x11a,
|
|
2209
|
+
_0x5c15f1: 0x215
|
|
2210
|
+
}, _0x18710 = _0x30157b, {z: _0x3b6452} = await import(_0x18710(_0x1746ef._0x4bb24d));
|
|
2211
|
+
_0x4a6193[_0x18710(_0x1746ef._0xfaa112)](_0x18710(_0x1746ef._0xbb748f), 'Send\x20a\x20message.\x20If\x20visibility\x20is\x20omitted,\x20the\x20message\x20is\x20public.\x20In\x20task\x20threads,\x20set\x20visibility:\x20aside\x20only\x20when\x20you\x20explicitly\x20want\x20an\x20aside.\x20Outside\x20threads,\x20do\x20not\x20set\x20visibility.\x20Reuse\x20the\x20exact\x20target\x20string\x20from\x20incoming\x20messages.', {
|
|
2212
|
+
'target': _0x3b6452['string'](),
|
|
2213
|
+
'content': _0x3b6452[_0x18710(_0x1746ef._0xd003b9)](),
|
|
2214
|
+
'attachment_ids': _0x3b6452[_0x18710(0x191)](_0x3b6452[_0x18710(_0x1746ef._0xd003b9)]())['optional'](),
|
|
2215
|
+
'visibility': _0x3b6452[_0x18710(_0x1746ef._0x5b4148)]([
|
|
2216
|
+
'public',
|
|
2217
|
+
_0x18710(_0x1746ef._0x54ec52)
|
|
2218
|
+
])[_0x18710(0x1fb)]()[_0x18710(_0x1746ef._0x10e8b0)](_0x18710(0x122))
|
|
2219
|
+
}, async _0x215686 => {
|
|
2220
|
+
const _0x42d93b = _0x18710;
|
|
2221
2221
|
try {
|
|
2222
|
-
return textResult(await
|
|
2223
|
-
} catch (
|
|
2224
|
-
return textResult(
|
|
2222
|
+
return textResult(await _0x336f92[_0x42d93b(0x236)](_0x215686));
|
|
2223
|
+
} catch (_0x261405) {
|
|
2224
|
+
return textResult(_0x261405 instanceof Error ? _0x261405['message'] : 'send_message\x20failed', !![]);
|
|
2225
2225
|
}
|
|
2226
|
-
}),
|
|
2227
|
-
const
|
|
2226
|
+
}), _0x4a6193[_0x18710(0x231)](_0x18710(0x127), _0x18710(_0x1746ef._0xb1e0dd), {}, async () => {
|
|
2227
|
+
const _0x1e1b54 = _0x18710;
|
|
2228
2228
|
try {
|
|
2229
|
-
return textResult(await
|
|
2230
|
-
} catch (
|
|
2231
|
-
return textResult(
|
|
2229
|
+
return textResult(await _0x336f92['check_messages']());
|
|
2230
|
+
} catch (_0x18f740) {
|
|
2231
|
+
return textResult(_0x18f740 instanceof Error ? _0x18f740['message'] : _0x1e1b54(0xec), !![]);
|
|
2232
2232
|
}
|
|
2233
|
-
}),
|
|
2234
|
-
'channel':
|
|
2235
|
-
'limit':
|
|
2236
|
-
'before':
|
|
2237
|
-
'after':
|
|
2238
|
-
}, async
|
|
2239
|
-
const
|
|
2233
|
+
}), _0x4a6193['tool'](_0x18710(0x11b), _0x18710(_0x1746ef._0x30edb2), {
|
|
2234
|
+
'channel': _0x3b6452[_0x18710(0xd6)](),
|
|
2235
|
+
'limit': _0x3b6452[_0x18710(0x218)]()[_0x18710(0x1fb)](),
|
|
2236
|
+
'before': _0x3b6452['number']()['optional'](),
|
|
2237
|
+
'after': _0x3b6452[_0x18710(_0x1746ef._0x1f1419)]()['optional']()
|
|
2238
|
+
}, async _0x4d2929 => {
|
|
2239
|
+
const _0x496da5 = _0x18710;
|
|
2240
2240
|
try {
|
|
2241
|
-
return textResult(await
|
|
2242
|
-
} catch (
|
|
2243
|
-
return textResult(
|
|
2241
|
+
return textResult(await _0x336f92[_0x496da5(0x11b)](_0x4d2929));
|
|
2242
|
+
} catch (_0x675af) {
|
|
2243
|
+
return textResult(_0x675af instanceof Error ? _0x675af[_0x496da5(_0x856f06._0x503265)] : _0x496da5(_0x856f06._0x5c15f1), !![]);
|
|
2244
2244
|
}
|
|
2245
|
-
}),
|
|
2246
|
-
const
|
|
2245
|
+
}), _0x4a6193[_0x18710(_0x1746ef._0x12ec13)](_0x18710(0x1bd), _0x18710(0x226), {}, async () => {
|
|
2246
|
+
const _0xd397a1 = _0x18710;
|
|
2247
2247
|
try {
|
|
2248
|
-
return textResult(await
|
|
2249
|
-
} catch (
|
|
2250
|
-
return textResult(
|
|
2248
|
+
return textResult(await _0x336f92[_0xd397a1(0x1bd)]());
|
|
2249
|
+
} catch (_0x4c4cb4) {
|
|
2250
|
+
return textResult(_0x4c4cb4 instanceof Error ? _0x4c4cb4[_0xd397a1(_0x3cfd0b._0x40671b)] : _0xd397a1(0x187), !![]);
|
|
2251
2251
|
}
|
|
2252
|
-
}),
|
|
2253
|
-
'channel':
|
|
2254
|
-
'status':
|
|
2252
|
+
}), _0x4a6193[_0x18710(0x231)]('list_tasks', 'List\x20tasks\x20in\x20a\x20channel\x20or\x20thread.\x20Thread\x20target\x20(e.g.\x20\x22#channel:threadId\x22)\x20returns\x20the\x20parent\x20task\x20plus\x20its\x20subtasks\x20with\x20aggregation\x20fields\x20(childrenTotal,\x20childrenDone,\x20childrenInProgress).\x20Channel\x20target\x20returns\x20only\x20parent\x20tasks\x20(no\x20subtasks).', {
|
|
2253
|
+
'channel': _0x3b6452[_0x18710(0xd6)](),
|
|
2254
|
+
'status': _0x3b6452['enum']([
|
|
2255
2255
|
'todo',
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
])[
|
|
2260
|
-
}, async
|
|
2261
|
-
const
|
|
2256
|
+
_0x18710(_0x1746ef._0x17bc69),
|
|
2257
|
+
'in_review',
|
|
2258
|
+
_0x18710(_0x1746ef._0x199cc0)
|
|
2259
|
+
])['optional']()
|
|
2260
|
+
}, async _0x3d34f6 => {
|
|
2261
|
+
const _0x37cf60 = _0x18710;
|
|
2262
2262
|
try {
|
|
2263
|
-
return textResult(await
|
|
2264
|
-
} catch (
|
|
2265
|
-
return textResult(
|
|
2263
|
+
return textResult(await _0x336f92[_0x37cf60(0xe2)](_0x3d34f6));
|
|
2264
|
+
} catch (_0x28ab6f) {
|
|
2265
|
+
return textResult(_0x28ab6f instanceof Error ? _0x28ab6f[_0x37cf60(_0x3fab0b._0x11f28e)] : _0x37cf60(_0x3fab0b._0x549442), !![]);
|
|
2266
2266
|
}
|
|
2267
|
-
}),
|
|
2268
|
-
'channel':
|
|
2269
|
-
'idempotency_key':
|
|
2270
|
-
'tasks':
|
|
2271
|
-
'title':
|
|
2272
|
-
'description':
|
|
2273
|
-
'priority':
|
|
2267
|
+
}), _0x4a6193[_0x18710(_0x1746ef._0x557424)](_0x18710(0xf9), _0x18710(_0x1746ef._0x1df63c), {
|
|
2268
|
+
'channel': _0x3b6452[_0x18710(_0x1746ef._0xd003b9)](),
|
|
2269
|
+
'idempotency_key': _0x3b6452[_0x18710(_0x1746ef._0xd003b9)]()[_0x18710(0x1fb)](),
|
|
2270
|
+
'tasks': _0x3b6452['array'](_0x3b6452['object']({
|
|
2271
|
+
'title': _0x3b6452[_0x18710(0xd6)](),
|
|
2272
|
+
'description': _0x3b6452['string']()['optional'](),
|
|
2273
|
+
'priority': _0x3b6452['enum']([
|
|
2274
2274
|
'low',
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
])[
|
|
2275
|
+
_0x18710(0x20f),
|
|
2276
|
+
_0x18710(_0x1746ef._0xd57f70),
|
|
2277
|
+
_0x18710(0x1b5)
|
|
2278
|
+
])[_0x18710(0x1fb)]()
|
|
2279
2279
|
}))
|
|
2280
|
-
}, async
|
|
2281
|
-
const
|
|
2280
|
+
}, async _0x2d1779 => {
|
|
2281
|
+
const _0x29227c = _0x18710;
|
|
2282
2282
|
try {
|
|
2283
|
-
return textResult(await
|
|
2284
|
-
} catch (
|
|
2285
|
-
return textResult(
|
|
2283
|
+
return textResult(await _0x336f92[_0x29227c(_0x5c59e1._0x17ab15)](_0x2d1779));
|
|
2284
|
+
} catch (_0x1ffdc9) {
|
|
2285
|
+
return textResult(_0x1ffdc9 instanceof Error ? _0x1ffdc9[_0x29227c(_0x5c59e1._0x3e8755)] : _0x29227c(0x182), !![]);
|
|
2286
2286
|
}
|
|
2287
|
-
}),
|
|
2288
|
-
'channel':
|
|
2289
|
-
'task_numbers':
|
|
2290
|
-
'subtask_numbers':
|
|
2291
|
-
'message_ids':
|
|
2292
|
-
'evidence':
|
|
2293
|
-
'create_thread':
|
|
2294
|
-
'create_task':
|
|
2295
|
-
}))[
|
|
2296
|
-
'idempotency_key':
|
|
2297
|
-
}, async
|
|
2298
|
-
const
|
|
2287
|
+
}), _0x4a6193[_0x18710(0x231)](_0x18710(0x113), _0x18710(0x12a), {
|
|
2288
|
+
'channel': _0x3b6452[_0x18710(0xd6)](),
|
|
2289
|
+
'task_numbers': _0x3b6452['array'](_0x3b6452[_0x18710(_0x1746ef._0x1f1419)]())[_0x18710(0x1fb)](),
|
|
2290
|
+
'subtask_numbers': _0x3b6452[_0x18710(_0x1746ef._0x58c221)](_0x3b6452[_0x18710(_0x1746ef._0x1f1419)]())['optional'](),
|
|
2291
|
+
'message_ids': _0x3b6452['array'](_0x3b6452[_0x18710(0xd6)]())[_0x18710(0x1fb)](),
|
|
2292
|
+
'evidence': _0x3b6452[_0x18710(_0x1746ef._0x10229b)](_0x3b6452[_0x18710(0xd6)](), _0x3b6452[_0x18710(_0x1746ef._0x1eb49a)]({
|
|
2293
|
+
'create_thread': _0x3b6452[_0x18710(0x1cc)]()['optional'](),
|
|
2294
|
+
'create_task': _0x3b6452[_0x18710(_0x1746ef._0x227e50)]()['optional']()
|
|
2295
|
+
}))[_0x18710(0x1fb)](),
|
|
2296
|
+
'idempotency_key': _0x3b6452['string']()[_0x18710(_0x1746ef._0x60b8a2)]()
|
|
2297
|
+
}, async _0x51b609 => {
|
|
2298
|
+
const _0x1a8700 = _0x18710;
|
|
2299
2299
|
try {
|
|
2300
|
-
return textResult(await
|
|
2301
|
-
} catch (
|
|
2302
|
-
return textResult(
|
|
2300
|
+
return textResult(await _0x336f92['claim_tasks'](_0x51b609));
|
|
2301
|
+
} catch (_0x18148a) {
|
|
2302
|
+
return textResult(_0x18148a instanceof Error ? _0x18148a[_0x1a8700(_0x2ed85b._0x1f4139)] : _0x1a8700(_0x2ed85b._0x182518), !![]);
|
|
2303
2303
|
}
|
|
2304
|
-
}),
|
|
2305
|
-
'channel':
|
|
2306
|
-
'task_number':
|
|
2307
|
-
'subtask_number':
|
|
2308
|
-
'idempotency_key':
|
|
2309
|
-
}, async
|
|
2310
|
-
const
|
|
2304
|
+
}), _0x4a6193['tool'](_0x18710(0x18a), 'Release\x20a\x20claimed\x20task\x20by\x20channel\x20and\x20task\x20number.\x20For\x20subtasks,\x20also\x20pass\x20subtask_number.', {
|
|
2305
|
+
'channel': _0x3b6452[_0x18710(_0x1746ef._0x2b7854)](),
|
|
2306
|
+
'task_number': _0x3b6452['number'](),
|
|
2307
|
+
'subtask_number': _0x3b6452['number']()[_0x18710(0x1fb)](),
|
|
2308
|
+
'idempotency_key': _0x3b6452['string']()[_0x18710(_0x1746ef._0x463f2d)]()
|
|
2309
|
+
}, async _0x4eca77 => {
|
|
2310
|
+
const _0x5ebf0d = _0x18710;
|
|
2311
2311
|
try {
|
|
2312
|
-
return textResult(await
|
|
2313
|
-
} catch (
|
|
2314
|
-
return textResult(
|
|
2312
|
+
return textResult(await _0x336f92[_0x5ebf0d(_0x15030a._0x401146)](_0x4eca77));
|
|
2313
|
+
} catch (_0x3e35b3) {
|
|
2314
|
+
return textResult(_0x3e35b3 instanceof Error ? _0x3e35b3['message'] : _0x5ebf0d(_0x15030a._0x5d1d1e), !![]);
|
|
2315
2315
|
}
|
|
2316
|
-
}),
|
|
2317
|
-
'channel':
|
|
2318
|
-
'task_number':
|
|
2319
|
-
'subtask_number':
|
|
2320
|
-
'status':
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2316
|
+
}), _0x4a6193[_0x18710(0x231)](_0x18710(_0x1746ef._0xcbdc19), _0x18710(_0x1746ef._0x28d112), {
|
|
2317
|
+
'channel': _0x3b6452[_0x18710(_0x1746ef._0x2b7854)](),
|
|
2318
|
+
'task_number': _0x3b6452[_0x18710(0x218)](),
|
|
2319
|
+
'subtask_number': _0x3b6452[_0x18710(0x218)]()[_0x18710(_0x1746ef._0x49dcad)](),
|
|
2320
|
+
'status': _0x3b6452[_0x18710(0x241)]([
|
|
2321
|
+
_0x18710(_0x1746ef._0xd08352),
|
|
2322
|
+
_0x18710(0x1c5),
|
|
2323
|
+
_0x18710(_0x1746ef._0x3132b0),
|
|
2324
|
+
_0x18710(_0x1746ef._0x199cc0)
|
|
2325
2325
|
]),
|
|
2326
|
-
'idempotency_key':
|
|
2327
|
-
}, async
|
|
2328
|
-
const _0x2364b7 = _0x264cce;
|
|
2326
|
+
'idempotency_key': _0x3b6452['string']()['optional']()
|
|
2327
|
+
}, async _0x22027f => {
|
|
2329
2328
|
try {
|
|
2330
|
-
return textResult(await
|
|
2331
|
-
} catch (
|
|
2332
|
-
return textResult(
|
|
2329
|
+
return textResult(await _0x336f92['update_task_status'](_0x22027f));
|
|
2330
|
+
} catch (_0x40c35e) {
|
|
2331
|
+
return textResult(_0x40c35e instanceof Error ? _0x40c35e['message'] : 'update_task_status\x20failed', !![]);
|
|
2333
2332
|
}
|
|
2334
|
-
}),
|
|
2335
|
-
'channel':
|
|
2336
|
-
'file_path':
|
|
2337
|
-
}, async
|
|
2338
|
-
const
|
|
2333
|
+
}), _0x4a6193['tool'](_0x18710(_0x1746ef._0x5da928), 'Upload\x20a\x20local\x20file\x20to\x20a\x20channel\x20or\x20DM\x20and\x20return\x20an\x20attachment\x20ID\x20that\x20can\x20be\x20used\x20with\x20send_message.\x20Thread\x20targets\x20are\x20not\x20allowed.', {
|
|
2334
|
+
'channel': _0x3b6452['string'](),
|
|
2335
|
+
'file_path': _0x3b6452['string']()
|
|
2336
|
+
}, async _0x428e57 => {
|
|
2337
|
+
const _0x4120f7 = _0x18710;
|
|
2339
2338
|
try {
|
|
2340
|
-
return textResult(await
|
|
2341
|
-
} catch (
|
|
2342
|
-
return textResult(
|
|
2339
|
+
return textResult(await _0x336f92[_0x4120f7(_0x3e7cb1._0x19f704)](_0x428e57));
|
|
2340
|
+
} catch (_0x48581b) {
|
|
2341
|
+
return textResult(_0x48581b instanceof Error ? _0x48581b[_0x4120f7(_0x3e7cb1._0x205fac)] : 'upload_file\x20failed', !![]);
|
|
2343
2342
|
}
|
|
2344
|
-
}),
|
|
2345
|
-
const
|
|
2343
|
+
}), _0x4a6193['tool']('view_file', 'Download\x20an\x20attachment\x20to\x20the\x20local\x20cache\x20and\x20return\x20the\x20local\x20path.', { 'attachment_id': _0x3b6452[_0x18710(0xd6)]() }, async _0x3dc4ab => {
|
|
2344
|
+
const _0x5cbc9a = _0x18710;
|
|
2346
2345
|
try {
|
|
2347
|
-
return textResult(await
|
|
2348
|
-
} catch (
|
|
2349
|
-
return textResult(
|
|
2346
|
+
return textResult(await _0x336f92[_0x5cbc9a(0x199)](_0x3dc4ab));
|
|
2347
|
+
} catch (_0x538fd) {
|
|
2348
|
+
return textResult(_0x538fd instanceof Error ? _0x538fd['message'] : 'view_file\x20failed', !![]);
|
|
2350
2349
|
}
|
|
2351
|
-
}),
|
|
2352
|
-
const
|
|
2350
|
+
}), _0x4a6193['tool'](_0x18710(0xe6), _0x18710(0x21d), { 'work_key': _0x3b6452[_0x18710(_0x1746ef._0x27ca05)]() }, async _0x3da7f3 => {
|
|
2351
|
+
const _0x4070eb = _0x18710;
|
|
2353
2352
|
try {
|
|
2354
|
-
return textResult(await
|
|
2355
|
-
} catch (
|
|
2356
|
-
return textResult(
|
|
2353
|
+
return textResult(await _0x336f92[_0x4070eb(_0x386c4f._0x2c26b0)](_0x3da7f3));
|
|
2354
|
+
} catch (_0x49edc8) {
|
|
2355
|
+
return textResult(_0x49edc8 instanceof Error ? _0x49edc8[_0x4070eb(_0x386c4f._0x188227)] : 'get_worker_status\x20failed', !![]);
|
|
2357
2356
|
}
|
|
2358
|
-
}),
|
|
2359
|
-
const
|
|
2357
|
+
}), _0x4a6193[_0x18710(_0x1746ef._0x557424)](_0x18710(_0x1746ef._0x58797f), _0x18710(0x217), { 'work_key': _0x3b6452[_0x18710(_0x1746ef._0x2b7854)]() }, async _0x3a3b68 => {
|
|
2358
|
+
const _0x17148d = _0x18710;
|
|
2360
2359
|
try {
|
|
2361
|
-
return textResult(await
|
|
2362
|
-
} catch (
|
|
2363
|
-
return textResult(
|
|
2360
|
+
return textResult(await _0x336f92['park_worker'](_0x3a3b68));
|
|
2361
|
+
} catch (_0x21b4bb) {
|
|
2362
|
+
return textResult(_0x21b4bb instanceof Error ? _0x21b4bb[_0x17148d(_0x5ad6fc._0x1ae16b)] : 'park_worker\x20failed', !![]);
|
|
2364
2363
|
}
|
|
2365
|
-
}), !
|
|
2366
|
-
'work_key':
|
|
2367
|
-
'reason':
|
|
2368
|
-
}, async
|
|
2369
|
-
const
|
|
2364
|
+
}), !_0x2cc85b?.[_0x18710(_0x1746ef._0xc0c3d3)] && _0x4a6193['tool'](_0x18710(0xff), _0x18710(_0x1746ef._0x1bf01d), {
|
|
2365
|
+
'work_key': _0x3b6452['string'](),
|
|
2366
|
+
'reason': _0x3b6452[_0x18710(0xd6)]()
|
|
2367
|
+
}, async _0x256290 => {
|
|
2368
|
+
const _0x4bfaf1 = _0x18710;
|
|
2370
2369
|
try {
|
|
2371
|
-
return textResult(await
|
|
2372
|
-
} catch (
|
|
2373
|
-
return textResult(
|
|
2370
|
+
return textResult(await _0x336f92[_0x4bfaf1(_0x4c98c8._0x142dae)](_0x256290));
|
|
2371
|
+
} catch (_0x91fcbb) {
|
|
2372
|
+
return textResult(_0x91fcbb instanceof Error ? _0x91fcbb[_0x4bfaf1(_0x4c98c8._0x252cc6)] : 'escalate_to_main\x20failed', !![]);
|
|
2374
2373
|
}
|
|
2375
|
-
}),
|
|
2376
|
-
const
|
|
2374
|
+
}), _0x2cc85b?.['workerMode'] && _0x4a6193[_0x18710(_0x1746ef._0x123e5c)]('mark_waiting_input', 'Mark\x20the\x20current\x20worker\x20as\x20waiting\x20for\x20human\x20input.\x20Pauses\x20the\x20idle\x20TTL\x20timer\x20until\x20a\x20new\x20message\x20arrives.', { 'work_key': _0x3b6452['string']() }, async _0x45dda2 => {
|
|
2375
|
+
const _0x39007a = _0x18710;
|
|
2377
2376
|
try {
|
|
2378
|
-
return textResult(await
|
|
2379
|
-
} catch (
|
|
2380
|
-
return textResult(
|
|
2377
|
+
return textResult(await _0x336f92[_0x39007a(_0x363ad7._0x99b8b3)](_0x45dda2));
|
|
2378
|
+
} catch (_0x3c22f4) {
|
|
2379
|
+
return textResult(_0x3c22f4 instanceof Error ? _0x3c22f4['message'] : 'mark_waiting_input\x20failed', !![]);
|
|
2381
2380
|
}
|
|
2382
2381
|
});
|
|
2383
2382
|
}
|
|
2384
|
-
async function createChatBridgeServer(
|
|
2385
|
-
const
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
'
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
'
|
|
2383
|
+
async function createChatBridgeServer(_0x37fb8e) {
|
|
2384
|
+
const _0x3b5f4e = {
|
|
2385
|
+
_0x48830a: 0x1ac,
|
|
2386
|
+
_0x1de161: 0x13f,
|
|
2387
|
+
_0x4afcd1: 0xcd
|
|
2388
|
+
}, _0x462ae9 = _0x30157b, {McpServer: _0x66fc63} = await import(_0x462ae9(_0x3b5f4e._0x48830a)), _0x4853cb = new _0x66fc63({
|
|
2389
|
+
'name': _0x462ae9(_0x3b5f4e._0x1de161),
|
|
2390
|
+
'version': _0x462ae9(0xe7)
|
|
2391
|
+
}), _0x5a6c43 = createChatBridgeHandlers(_0x37fb8e);
|
|
2392
|
+
return await registerChatBridgeTools(_0x4853cb, _0x5a6c43, { 'workerMode': _0x37fb8e[_0x462ae9(_0x3b5f4e._0x4afcd1)] }), {
|
|
2393
|
+
'handlers': _0x5a6c43,
|
|
2394
|
+
'server': _0x4853cb
|
|
2395
2395
|
};
|
|
2396
2396
|
}
|
|
2397
|
-
function readFlag(
|
|
2398
|
-
const
|
|
2399
|
-
if (
|
|
2397
|
+
function readFlag(_0x3e2758, _0x1b70e3) {
|
|
2398
|
+
const _0x5aa4e8 = _0x30157b, _0x1d10cd = _0x3e2758[_0x5aa4e8(0x1cb)](_0x1b70e3);
|
|
2399
|
+
if (_0x1d10cd === -0x1)
|
|
2400
2400
|
return void 0x0;
|
|
2401
|
-
return
|
|
2401
|
+
return _0x3e2758[_0x1d10cd + 0x1];
|
|
2402
2402
|
}
|
|
2403
|
-
function parseChatBridgeArgs(
|
|
2404
|
-
const
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
}, _0x340e67 = _0x14c52b, _0x3f84d8 = readFlag(_0x54b419, '--agent-id'), _0x14c863 = readFlag(_0x54b419, '--attachment-cache-dir'), _0x32a24d = readFlag(_0x54b419, _0x340e67(_0x290f87._0x2ecb0b)), _0x2d21e5 = readFlag(_0x54b419, _0x340e67(_0x290f87._0x500d36)), _0x216fa8 = readFlag(_0x54b419, _0x340e67(_0x290f87._0x38f526)) ?? _0x340e67(0x230), _0x20e370 = readFlag(_0x54b419, _0x340e67(_0x290f87._0x5863e0)), _0x3b56e0 = readFlag(_0x54b419, '--session-id'), _0x237347 = readFlag(_0x54b419, _0x340e67(_0x290f87._0x34fc31)), _0x2bf732 = readFlag(_0x54b419, '--worker-session-id'), _0x1eee3a = readFlag(_0x54b419, _0x340e67(_0x290f87._0x4375c6)), _0x198da1 = _0x54b419[_0x340e67(_0x290f87._0x2c7eac)](_0x340e67(_0x290f87._0x217c48)), _0x346904 = _0x2d21e5 === void 0x0 ? void 0x0 : Number[_0x340e67(_0x290f87._0x4f9234)](_0x2d21e5, 0xa);
|
|
2419
|
-
if (!_0x3f84d8)
|
|
2420
|
-
throw new Error(_0x340e67(_0x290f87._0x146347));
|
|
2421
|
-
if (!_0x32a24d)
|
|
2422
|
-
throw new Error(_0x340e67(_0x290f87._0x386cd4));
|
|
2423
|
-
if (_0x2d21e5 !== void 0x0 && (_0x346904 === void 0x0 || !Number[_0x340e67(0x112)](_0x346904) || _0x346904 < 0x0))
|
|
2424
|
-
throw new Error(_0x340e67(_0x290f87._0x5b290c));
|
|
2403
|
+
function parseChatBridgeArgs(_0x5e1aac) {
|
|
2404
|
+
const _0x3c0f9c = {
|
|
2405
|
+
_0x53ebef: 0xf3,
|
|
2406
|
+
_0x4356f1: 0x1fd,
|
|
2407
|
+
_0x235942: 0x247,
|
|
2408
|
+
_0x340afb: 0x145,
|
|
2409
|
+
_0x1b9e3a: 0xd5,
|
|
2410
|
+
_0x417670: 0xcb
|
|
2411
|
+
}, _0x3c906f = _0x30157b, _0x177e41 = readFlag(_0x5e1aac, _0x3c906f(0x171)), _0x415ae3 = readFlag(_0x5e1aac, '--attachment-cache-dir'), _0x3792bf = readFlag(_0x5e1aac, _0x3c906f(0x249)), _0x2c75e7 = readFlag(_0x5e1aac, _0x3c906f(_0x3c0f9c._0x53ebef)), _0x43656f = readFlag(_0x5e1aac, _0x3c906f(0xd0)) ?? 'http://localhost:8121', _0x286ee9 = readFlag(_0x5e1aac, _0x3c906f(_0x3c0f9c._0x4356f1)), _0x1c5bf1 = readFlag(_0x5e1aac, _0x3c906f(0x206)), _0x48af0b = readFlag(_0x5e1aac, _0x3c906f(0x20a)), _0x199c46 = readFlag(_0x5e1aac, '--worker-session-id'), _0x589788 = readFlag(_0x5e1aac, _0x3c906f(_0x3c0f9c._0x235942)), _0xc7d985 = _0x5e1aac[_0x3c906f(_0x3c0f9c._0x340afb)](_0x3c906f(_0x3c0f9c._0x1b9e3a)), _0x2c3fa2 = _0x2c75e7 === void 0x0 ? void 0x0 : Number[_0x3c906f(0x1db)](_0x2c75e7, 0xa);
|
|
2412
|
+
if (!_0x177e41)
|
|
2413
|
+
throw new Error(_0x3c906f(_0x3c0f9c._0x417670));
|
|
2414
|
+
if (!_0x3792bf)
|
|
2415
|
+
throw new Error(_0x3c906f(0x1fe));
|
|
2416
|
+
if (_0x2c75e7 !== void 0x0 && (_0x2c3fa2 === void 0x0 || !Number[_0x3c906f(0x19a)](_0x2c3fa2) || _0x2c3fa2 < 0x0))
|
|
2417
|
+
throw new Error(_0x3c906f(0x1da));
|
|
2425
2418
|
return {
|
|
2426
|
-
'agentId':
|
|
2427
|
-
'attachmentCacheDir':
|
|
2428
|
-
'daemonApiKey':
|
|
2429
|
-
'daemonLocalUrl':
|
|
2430
|
-
'initialLastSeenSeq':
|
|
2431
|
-
'sessionId':
|
|
2432
|
-
'serverUrl':
|
|
2433
|
-
'workerModeEnabled':
|
|
2434
|
-
'workerSessionId':
|
|
2435
|
-
'workerThreadTarget':
|
|
2436
|
-
'workerMode':
|
|
2419
|
+
'agentId': _0x177e41,
|
|
2420
|
+
'attachmentCacheDir': _0x415ae3,
|
|
2421
|
+
'daemonApiKey': _0x3792bf,
|
|
2422
|
+
'daemonLocalUrl': _0x286ee9,
|
|
2423
|
+
'initialLastSeenSeq': _0x2c3fa2,
|
|
2424
|
+
'sessionId': _0x1c5bf1,
|
|
2425
|
+
'serverUrl': _0x43656f,
|
|
2426
|
+
'workerModeEnabled': _0x48af0b === void 0x0 ? void 0x0 : _0x48af0b !== _0x3c906f(0x219),
|
|
2427
|
+
'workerSessionId': _0x199c46,
|
|
2428
|
+
'workerThreadTarget': _0x589788,
|
|
2429
|
+
'workerMode': _0xc7d985
|
|
2437
2430
|
};
|
|
2438
2431
|
}
|
|
2439
|
-
async function runChatBridgeCli(
|
|
2440
|
-
const
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2432
|
+
async function runChatBridgeCli(_0x5eb1b9) {
|
|
2433
|
+
const _0x271eb8 = {
|
|
2434
|
+
_0x122cbc: 0x1bf,
|
|
2435
|
+
_0x986c09: 0x180,
|
|
2436
|
+
_0x523132: 0xfa,
|
|
2437
|
+
_0x19782e: 0xcd,
|
|
2438
|
+
_0x406f11: 0xc2,
|
|
2439
|
+
_0x273bff: 0x1eb
|
|
2440
|
+
}, _0x2ccff1 = _0x30157b, _0x2adb98 = parseChatBridgeArgs(_0x5eb1b9), {StdioServerTransport: _0x16003e} = await import('@modelcontextprotocol/sdk/server/stdio.js'), _0x4a7dc0 = createInternalAgentClient(_0x2adb98), _0x69c338 = createAttachmentCache({ 'cacheDir': _0x2adb98[_0x2ccff1(0xe1)] }), _0x4e6eef = await createChatBridgeServer({
|
|
2441
|
+
'agentId': _0x2adb98[_0x2ccff1(_0x271eb8._0x122cbc)],
|
|
2442
|
+
'attachmentCache': _0x69c338,
|
|
2443
|
+
'client': _0x4a7dc0,
|
|
2444
|
+
'daemonLocalUrl': _0x2adb98[_0x2ccff1(_0x271eb8._0x986c09)],
|
|
2445
2445
|
'uploadPreparer': prepareUploadFile,
|
|
2446
|
-
'workerModeEnabled':
|
|
2447
|
-
'workerMode':
|
|
2448
|
-
'workerThreadTarget':
|
|
2446
|
+
'workerModeEnabled': _0x2adb98[_0x2ccff1(_0x271eb8._0x523132)],
|
|
2447
|
+
'workerMode': _0x2adb98[_0x2ccff1(_0x271eb8._0x19782e)],
|
|
2448
|
+
'workerThreadTarget': _0x2adb98[_0x2ccff1(_0x271eb8._0x406f11)]
|
|
2449
2449
|
});
|
|
2450
|
-
await
|
|
2450
|
+
await _0x4e6eef[_0x2ccff1(0xfc)][_0x2ccff1(_0x271eb8._0x273bff)](new _0x16003e());
|
|
2451
2451
|
}
|
|
2452
|
-
var executedAsEntry = process[
|
|
2453
|
-
executedAsEntry && await runChatBridgeCli(process[
|
|
2452
|
+
var executedAsEntry = process[_0x30157b(0x1f9)][0x1] ? import.meta.url === pathToFileURL(process[_0x30157b(0x1f9)][0x1])[_0x30157b(0x121)] : ![];
|
|
2453
|
+
executedAsEntry && await runChatBridgeCli(process[_0x30157b(0x1f9)][_0x30157b(0x10b)](0x2));
|
|
2454
2454
|
export {
|
|
2455
2455
|
createChatBridgeHandlers,
|
|
2456
2456
|
createChatBridgeServer,
|