@dscord/daemon 0.1.62 → 0.1.64
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 +2147 -2173
- package/dist/index.js +10757 -10873
- package/package.json +1 -1
package/dist/chat-bridge.js
CHANGED
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
const
|
|
2
|
-
(function (
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
const _0x405cdd = _0x4bd3;
|
|
2
|
+
(function (_0x9ae455, _0x2356f3) {
|
|
3
|
+
const _0x587e88 = {
|
|
4
|
+
_0x526af9: 0x11c,
|
|
5
|
+
_0x176998: 0xfa,
|
|
6
|
+
_0x5a00b1: 0x7b,
|
|
7
|
+
_0x4d7c14: 0x144,
|
|
8
|
+
_0x3c86fe: 0x179,
|
|
9
|
+
_0x25cd7e: 0x1d0
|
|
10
|
+
}, _0x360bea = _0x4bd3, _0x1a77c2 = _0x9ae455();
|
|
10
11
|
while (!![]) {
|
|
11
12
|
try {
|
|
12
|
-
const
|
|
13
|
-
if (
|
|
13
|
+
const _0x2b57f3 = parseInt(_0x360bea(_0x587e88._0x526af9)) / 0x1 * (-parseInt(_0x360bea(0x1c7)) / 0x2) + parseInt(_0x360bea(0x181)) / 0x3 + parseInt(_0x360bea(_0x587e88._0x176998)) / 0x4 * (-parseInt(_0x360bea(_0x587e88._0x5a00b1)) / 0x5) + parseInt(_0x360bea(_0x587e88._0x4d7c14)) / 0x6 + parseInt(_0x360bea(0x185)) / 0x7 + -parseInt(_0x360bea(_0x587e88._0x3c86fe)) / 0x8 + parseInt(_0x360bea(_0x587e88._0x25cd7e)) / 0x9;
|
|
14
|
+
if (_0x2b57f3 === _0x2356f3)
|
|
14
15
|
break;
|
|
15
16
|
else
|
|
16
|
-
|
|
17
|
-
} catch (
|
|
18
|
-
|
|
17
|
+
_0x1a77c2['push'](_0x1a77c2['shift']());
|
|
18
|
+
} catch (_0x10aba3) {
|
|
19
|
+
_0x1a77c2['push'](_0x1a77c2['shift']());
|
|
19
20
|
}
|
|
20
21
|
}
|
|
21
|
-
}(
|
|
22
|
+
}(_0x302d, 0xa749c));
|
|
22
23
|
import { pathToFileURL } from 'node:url';
|
|
23
24
|
import {
|
|
24
25
|
mkdir,
|
|
@@ -28,2372 +29,2345 @@ import {
|
|
|
28
29
|
writeFile
|
|
29
30
|
} from 'node:fs/promises';
|
|
30
31
|
import { homedir } from 'node:os';
|
|
31
|
-
import
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
'
|
|
35
|
-
'
|
|
36
|
-
'
|
|
37
|
-
'
|
|
38
|
-
'
|
|
39
|
-
'
|
|
40
|
-
'
|
|
41
|
-
'
|
|
42
|
-
'
|
|
43
|
-
'
|
|
44
|
-
'
|
|
45
|
-
'
|
|
32
|
+
import _0x18405b from 'node:path';
|
|
33
|
+
var DEFAULT_MAX_FILE_SIZE = 0x64 * 0x400 * 0x400, MIME_BY_EXTENSION = {
|
|
34
|
+
'.csv': _0x405cdd(0x10f),
|
|
35
|
+
'.gif': _0x405cdd(0xea),
|
|
36
|
+
'.jpeg': _0x405cdd(0xdc),
|
|
37
|
+
'.jpg': _0x405cdd(0xdc),
|
|
38
|
+
'.json': _0x405cdd(0xca),
|
|
39
|
+
'.md': 'text/markdown',
|
|
40
|
+
'.pdf': 'application/pdf',
|
|
41
|
+
'.png': _0x405cdd(0x11d),
|
|
42
|
+
'.svg': _0x405cdd(0x199),
|
|
43
|
+
'.txt': _0x405cdd(0x114),
|
|
44
|
+
'.webp': _0x405cdd(0x12b),
|
|
45
|
+
'.xml': _0x405cdd(0xb5),
|
|
46
|
+
'.zip': _0x405cdd(0x1e5)
|
|
47
|
+
};
|
|
48
|
+
function guessContentType(_0x2368b4) {
|
|
49
|
+
const _0x4858ec = {
|
|
50
|
+
_0x32c3b9: 0xe3,
|
|
51
|
+
_0x1fd134: 0xf7
|
|
52
|
+
}, _0x138e3d = _0x405cdd;
|
|
53
|
+
return MIME_BY_EXTENSION[_0x18405b[_0x138e3d(_0x4858ec._0x32c3b9)](_0x2368b4)[_0x138e3d(0xbb)]()] ?? _0x138e3d(_0x4858ec._0x1fd134);
|
|
54
|
+
}
|
|
55
|
+
function safeFilename(_0x377fcb) {
|
|
56
|
+
const _0x3a11c8 = _0x405cdd;
|
|
57
|
+
return _0x377fcb[_0x3a11c8(0x119)](/[\\/]/g, '-');
|
|
58
|
+
}
|
|
59
|
+
function extensionFor(_0x228c63) {
|
|
60
|
+
const _0x34ca5a = { _0x520302: 0xb9 }, _0x58f39e = _0x405cdd, _0x34161a = Object[_0x58f39e(_0x34ca5a._0x520302)](MIME_BY_EXTENSION)['find'](([, _0x1f9a8a]) => _0x1f9a8a === _0x228c63);
|
|
61
|
+
return _0x34161a?.[0x0] ?? '.bin';
|
|
62
|
+
}
|
|
63
|
+
async function prepareUploadFile(_0x12b7ea, _0x18b71e = {}) {
|
|
64
|
+
const _0x25a28a = {
|
|
65
|
+
_0x18a98b: 0xef,
|
|
66
|
+
_0x3ef81e: 0x75,
|
|
67
|
+
_0x497d90: 0x1b6,
|
|
68
|
+
_0x5cbaf4: 0x182,
|
|
69
|
+
_0x807e14: 0x1c8
|
|
70
|
+
}, _0x120336 = _0x405cdd;
|
|
71
|
+
if (!_0x18405b[_0x120336(_0x25a28a._0x18a98b)](_0x12b7ea))
|
|
72
|
+
throw new Error('file_path\x20must\x20be\x20an\x20absolute\x20path');
|
|
73
|
+
const _0x126b88 = await stat(_0x12b7ea)['catch'](() => null);
|
|
74
|
+
if (!_0x126b88 || !_0x126b88[_0x120336(0x12d)]())
|
|
75
|
+
throw new Error('File\x20not\x20found:\x20' + _0x12b7ea);
|
|
76
|
+
const _0x5a3edc = _0x18b71e[_0x120336(_0x25a28a._0x3ef81e)] ?? DEFAULT_MAX_FILE_SIZE;
|
|
77
|
+
if (_0x126b88['size'] > _0x5a3edc)
|
|
78
|
+
throw new Error('File\x20size\x20exceeds\x20limit:\x20' + _0x126b88[_0x120336(0x1c8)]);
|
|
79
|
+
const _0x2192c2 = await readFile(_0x12b7ea), _0x5547d8 = _0x18405b[_0x120336(0xa8)](_0x12b7ea);
|
|
80
|
+
return {
|
|
81
|
+
'contentBase64': _0x2192c2[_0x120336(_0x25a28a._0x497d90)](_0x120336(_0x25a28a._0x5cbaf4)),
|
|
82
|
+
'contentType': guessContentType(_0x5547d8),
|
|
83
|
+
'filename': _0x5547d8,
|
|
84
|
+
'sizeBytes': _0x126b88[_0x120336(_0x25a28a._0x807e14)]
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
function createAttachmentCache(_0xd78a48 = {}) {
|
|
88
|
+
const _0xa63651 = {
|
|
89
|
+
_0x1423cb: 0x1dd,
|
|
90
|
+
_0x454c65: 0x1a1
|
|
91
|
+
}, _0x392523 = { _0x8376de: 0xee }, _0x2b1f02 = { _0x28eff6: 0x78 }, _0x1225bd = _0x405cdd, _0x2a2de1 = _0xd78a48[_0x1225bd(_0xa63651._0x1423cb)] ?? _0x18405b[_0x1225bd(0x135)](homedir(), '.dscord', _0x1225bd(_0xa63651._0x454c65));
|
|
92
|
+
return {
|
|
93
|
+
'cacheDir': _0x2a2de1,
|
|
94
|
+
async 'findCachedPath'(_0x569fc0) {
|
|
95
|
+
const _0x1fe527 = _0x1225bd;
|
|
96
|
+
await mkdir(_0x2a2de1, { 'recursive': !![] });
|
|
97
|
+
const _0x534b59 = await readdir(_0x2a2de1), _0xfe4856 = _0x534b59[_0x1fe527(_0x2b1f02._0x28eff6)](_0x1fa296 => _0x1fa296[_0x1fe527(0xa0)](_0x569fc0 + '-') || _0x1fa296[_0x1fe527(0xa0)](_0x569fc0));
|
|
98
|
+
return _0xfe4856 ? _0x18405b[_0x1fe527(0x135)](_0x2a2de1, _0xfe4856) : null;
|
|
99
|
+
},
|
|
100
|
+
async 'save'(_0x5ed7e3) {
|
|
101
|
+
const _0x9dae04 = _0x1225bd;
|
|
102
|
+
await mkdir(_0x2a2de1, { 'recursive': !![] });
|
|
103
|
+
const _0x190e47 = _0x5ed7e3[_0x9dae04(0x12c)]?.[_0x9dae04(0x126)]() ? safeFilename(_0x5ed7e3[_0x9dae04(0x12c)]) : '' + _0x5ed7e3[_0x9dae04(_0x392523._0x8376de)] + extensionFor(_0x5ed7e3[_0x9dae04(0x18b)]), _0x1ead84 = _0x18405b[_0x9dae04(0x135)](_0x2a2de1, _0x5ed7e3['attachmentId'] + '-' + _0x190e47);
|
|
104
|
+
return await writeFile(_0x1ead84, _0x5ed7e3[_0x9dae04(0x121)]), _0x1ead84;
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
import {
|
|
109
|
+
createHash,
|
|
110
|
+
randomUUID
|
|
111
|
+
} from 'node:crypto';
|
|
112
|
+
var UNSUPPORTED_TARGET_MESSAGE = _0x405cdd(0x15c);
|
|
113
|
+
function ensureSegment(_0x1ba45b) {
|
|
114
|
+
const _0x2730e3 = { _0x179fcd: 0x126 }, _0x4081c2 = _0x405cdd, _0x2946a9 = _0x1ba45b[_0x4081c2(_0x2730e3._0x179fcd)]();
|
|
115
|
+
if (!_0x2946a9 || _0x2946a9['includes'](':'))
|
|
116
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
117
|
+
return _0x2946a9;
|
|
118
|
+
}
|
|
119
|
+
function parseThreadParts(_0x1df9fe) {
|
|
120
|
+
const _0x5dc6cd = { _0x5d096c: 0x13a }, _0x2175e0 = _0x405cdd, _0x33670f = _0x1df9fe['split'](':');
|
|
121
|
+
if (_0x33670f[_0x2175e0(_0x5dc6cd._0x5d096c)] < 0x1 || _0x33670f[_0x2175e0(0x13a)] > 0x2)
|
|
122
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
123
|
+
return {
|
|
124
|
+
'channelName': ensureSegment(_0x33670f[0x0] ?? ''),
|
|
125
|
+
'threadShortId': _0x33670f[0x1] ? ensureSegment(_0x33670f[0x1]) : null
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
function parseTarget(_0x466951) {
|
|
129
|
+
const _0x223430 = {
|
|
130
|
+
_0x2e2c6e: 0xa9,
|
|
131
|
+
_0x2b2bcc: 0x164,
|
|
132
|
+
_0x585fb2: 0xcd,
|
|
133
|
+
_0x5106a6: 0xa9,
|
|
134
|
+
_0x237a7a: 0xd5
|
|
135
|
+
}, _0x22a06e = _0x405cdd, _0x526d65 = _0x466951[_0x22a06e(0x126)]();
|
|
136
|
+
if (!_0x526d65)
|
|
137
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
138
|
+
if (_0x526d65[_0x22a06e(0xa0)]('#')) {
|
|
139
|
+
const _0x12077f = parseThreadParts(_0x526d65['slice'](0x1)), _0x36d107 = '#' + _0x12077f['channelName'];
|
|
140
|
+
if (!_0x12077f[_0x22a06e(_0x223430._0x2e2c6e)])
|
|
141
|
+
return {
|
|
142
|
+
'channelName': _0x12077f[_0x22a06e(_0x223430._0x2b2bcc)],
|
|
143
|
+
'channelTarget': _0x36d107,
|
|
144
|
+
'kind': _0x22a06e(_0x223430._0x585fb2),
|
|
145
|
+
'target': _0x36d107
|
|
146
|
+
};
|
|
147
|
+
return {
|
|
148
|
+
'channelName': _0x12077f[_0x22a06e(_0x223430._0x2b2bcc)],
|
|
149
|
+
'channelTarget': _0x36d107,
|
|
150
|
+
'kind': 'thread',
|
|
151
|
+
'target': _0x36d107 + ':' + _0x12077f[_0x22a06e(0xa9)],
|
|
152
|
+
'threadShortId': _0x12077f[_0x22a06e(_0x223430._0x5106a6)]
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
if (_0x526d65['startsWith']('dm:')) {
|
|
156
|
+
const _0x2c1068 = parseThreadParts(_0x526d65['slice'](0x3));
|
|
157
|
+
if (!_0x2c1068[_0x22a06e(0x164)]['startsWith'](_0x22a06e(_0x223430._0x237a7a)))
|
|
158
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
159
|
+
const _0x791835 = _0x22a06e(0xd9) + _0x2c1068['channelName'];
|
|
160
|
+
if (!_0x2c1068['threadShortId'])
|
|
161
|
+
return {
|
|
162
|
+
'channelName': _0x2c1068['channelName'],
|
|
163
|
+
'channelTarget': _0x791835,
|
|
164
|
+
'kind': _0x22a06e(0xcd),
|
|
165
|
+
'target': _0x791835
|
|
166
|
+
};
|
|
167
|
+
return {
|
|
168
|
+
'channelName': _0x2c1068['channelName'],
|
|
169
|
+
'channelTarget': _0x791835,
|
|
170
|
+
'kind': 'thread',
|
|
171
|
+
'target': _0x791835 + ':' + _0x2c1068['threadShortId'],
|
|
172
|
+
'threadShortId': _0x2c1068[_0x22a06e(0xa9)]
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
176
|
+
}
|
|
177
|
+
function asErrorMessage(_0x12b50a, _0x1864f0) {
|
|
178
|
+
const _0x5b071d = _0x405cdd;
|
|
179
|
+
if (typeof _0x12b50a === _0x5b071d(0xb2) && _0x12b50a[_0x5b071d(0x126)]())
|
|
180
|
+
return _0x12b50a;
|
|
181
|
+
return _0x1864f0;
|
|
182
|
+
}
|
|
183
|
+
function asRecord(_0x4da55d) {
|
|
184
|
+
const _0x5ae548 = { _0x425a0d: 0x16d }, _0x589dc7 = _0x405cdd;
|
|
185
|
+
return typeof _0x4da55d === _0x589dc7(_0x5ae548._0x425a0d) && _0x4da55d !== null ? _0x4da55d : {};
|
|
186
|
+
}
|
|
187
|
+
function stableStringify(_0x2078b0) {
|
|
188
|
+
const _0x32c859 = { _0x493d5a: 0x1a8 }, _0x4ef535 = _0x405cdd;
|
|
189
|
+
if (_0x2078b0 === null || typeof _0x2078b0 !== 'object')
|
|
190
|
+
return JSON[_0x4ef535(0x9b)](_0x2078b0);
|
|
191
|
+
if (Array['isArray'](_0x2078b0))
|
|
192
|
+
return '[' + _0x2078b0['map'](_0xf80d3f => stableStringify(_0xf80d3f))[_0x4ef535(0x135)](',') + ']';
|
|
193
|
+
const _0x46392e = Object[_0x4ef535(0xb9)](_0x2078b0)[_0x4ef535(_0x32c859._0x493d5a)](([, _0x7d2953]) => _0x7d2953 !== void 0x0)['sort'](([_0x35b5c9], [_0x282efd]) => _0x35b5c9[_0x4ef535(0x99)](_0x282efd))[_0x4ef535(0x1aa)](([_0x34686c, _0x384ac4]) => JSON[_0x4ef535(0x9b)](_0x34686c) + ':' + stableStringify(_0x384ac4));
|
|
194
|
+
return '{' + _0x46392e['join'](',') + '}';
|
|
195
|
+
}
|
|
196
|
+
function _0x4bd3(_0x433fb6, _0x319924) {
|
|
197
|
+
_0x433fb6 = _0x433fb6 - 0x75;
|
|
198
|
+
const _0x302dcb = _0x302d();
|
|
199
|
+
let _0x4bd345 = _0x302dcb[_0x433fb6];
|
|
200
|
+
if (_0x4bd3['VPhlgS'] === undefined) {
|
|
201
|
+
var _0x194aa8 = function (_0x2e2229) {
|
|
202
|
+
const _0x202601 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
203
|
+
let _0x18405b = '', _0x2368b4 = '';
|
|
204
|
+
for (let _0x377fcb = 0x0, _0x228c63, _0x34161a, _0x1f9a8a = 0x0; _0x34161a = _0x2e2229['charAt'](_0x1f9a8a++); ~_0x34161a && (_0x228c63 = _0x377fcb % 0x4 ? _0x228c63 * 0x40 + _0x34161a : _0x34161a, _0x377fcb++ % 0x4) ? _0x18405b += String['fromCharCode'](0xff & _0x228c63 >> (-0x2 * _0x377fcb & 0x6)) : 0x0) {
|
|
205
|
+
_0x34161a = _0x202601['indexOf'](_0x34161a);
|
|
206
|
+
}
|
|
207
|
+
for (let _0x12b7ea = 0x0, _0x18b71e = _0x18405b['length']; _0x12b7ea < _0x18b71e; _0x12b7ea++) {
|
|
208
|
+
_0x2368b4 += '%' + ('00' + _0x18405b['charCodeAt'](_0x12b7ea)['toString'](0x10))['slice'](-0x2);
|
|
209
|
+
}
|
|
210
|
+
return decodeURIComponent(_0x2368b4);
|
|
211
|
+
};
|
|
212
|
+
_0x4bd3['ggmIlu'] = _0x194aa8, _0x4bd3['BvTbqQ'] = {}, _0x4bd3['VPhlgS'] = !![];
|
|
213
|
+
}
|
|
214
|
+
const _0x4e9e0c = _0x302dcb[0x0], _0x3503e5 = _0x433fb6 + _0x4e9e0c, _0x3c6c77 = _0x4bd3['BvTbqQ'][_0x3503e5];
|
|
215
|
+
return !_0x3c6c77 ? (_0x4bd345 = _0x4bd3['ggmIlu'](_0x4bd345), _0x4bd3['BvTbqQ'][_0x3503e5] = _0x4bd345) : _0x4bd345 = _0x3c6c77, _0x4bd345;
|
|
216
|
+
}
|
|
217
|
+
function createHeaders(_0x363895) {
|
|
218
|
+
const _0x1f58f6 = { _0x1a9409: 0xca }, _0x285637 = _0x405cdd;
|
|
219
|
+
return {
|
|
220
|
+
'Content-Type': _0x285637(_0x1f58f6._0x1a9409),
|
|
221
|
+
'x-daemon-api-key': _0x363895
|
|
222
|
+
};
|
|
223
|
+
}
|
|
224
|
+
function toHttpBaseUrl(_0x21b3cc) {
|
|
225
|
+
const _0x22eb44 = {
|
|
226
|
+
_0x4b540f: 0xd0,
|
|
227
|
+
_0x4e41e1: 0xd0,
|
|
228
|
+
_0x26cc97: 0x119
|
|
229
|
+
}, _0x3ebc14 = _0x405cdd, _0x1c032d = new URL(_0x21b3cc);
|
|
230
|
+
if (_0x1c032d[_0x3ebc14(_0x22eb44._0x4b540f)] === 'ws:')
|
|
231
|
+
_0x1c032d[_0x3ebc14(0xd0)] = _0x3ebc14(0x7e);
|
|
232
|
+
else
|
|
233
|
+
_0x1c032d[_0x3ebc14(_0x22eb44._0x4e41e1)] === _0x3ebc14(0x83) && (_0x1c032d[_0x3ebc14(0xd0)] = _0x3ebc14(0xec));
|
|
234
|
+
return _0x1c032d[_0x3ebc14(0x1b6)]()[_0x3ebc14(_0x22eb44._0x26cc97)](/\/$/, '');
|
|
235
|
+
}
|
|
236
|
+
function isMentionBoundary(_0x16a19d) {
|
|
237
|
+
const _0x334b3c = { _0xfd23e9: 0x90 }, _0x2652ba = _0x405cdd;
|
|
238
|
+
return !_0x16a19d || /\s|[([{'",。!?、:;]/[_0x2652ba(_0x334b3c._0xfd23e9)](_0x16a19d);
|
|
239
|
+
}
|
|
240
|
+
function isMentionTerminal(_0x589ce6) {
|
|
241
|
+
const _0x501bf2 = { _0xbb4b4: 0x90 }, _0x22539d = _0x405cdd;
|
|
242
|
+
return !_0x589ce6 || /\s|[)\]}'",。!?、:;,.!?]/[_0x22539d(_0x501bf2._0xbb4b4)](_0x589ce6);
|
|
243
|
+
}
|
|
244
|
+
function buildMatchableEntries(_0x445b57) {
|
|
245
|
+
const _0x44e51f = {
|
|
246
|
+
_0x301c6a: 0x92,
|
|
247
|
+
_0x30e8ff: 0x1c1
|
|
248
|
+
}, _0x519b34 = _0x405cdd, _0x559aef = [];
|
|
249
|
+
for (const _0x534c34 of [
|
|
250
|
+
..._0x445b57[_0x519b34(_0x44e51f._0x301c6a)],
|
|
251
|
+
..._0x445b57[_0x519b34(0x155)]
|
|
252
|
+
]) {
|
|
253
|
+
_0x559aef['push']({
|
|
254
|
+
'matchName': _0x534c34['name'],
|
|
255
|
+
'matchNameLower': _0x534c34['name'][_0x519b34(_0x44e51f._0x30e8ff)](),
|
|
256
|
+
'participantId': _0x534c34['id']
|
|
257
|
+
}), _0x534c34['id'] !== _0x534c34['name'] && _0x559aef['push']({
|
|
258
|
+
'matchName': _0x534c34['id'],
|
|
259
|
+
'matchNameLower': _0x534c34['id'][_0x519b34(0x1c1)](),
|
|
260
|
+
'participantId': _0x534c34['id']
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
return _0x559aef;
|
|
264
|
+
}
|
|
265
|
+
function extractMentionedParticipantIds(_0x5cd009, _0x4925b0) {
|
|
266
|
+
const _0x5070c1 = {
|
|
267
|
+
_0x21dd07: 0xe6,
|
|
268
|
+
_0x1d204d: 0x13a
|
|
269
|
+
}, _0x444900 = {
|
|
270
|
+
_0x20c5b1: 0x18a,
|
|
271
|
+
_0xd89b: 0xe7,
|
|
272
|
+
_0x4c6715: 0x13a
|
|
273
|
+
}, _0xc1f363 = _0x405cdd, _0x60c808 = buildMatchableEntries(_0x4925b0)['sort']((_0x5b777c, _0x33eac3) => _0x33eac3[_0xc1f363(0xe7)]['length'] - _0x5b777c['matchName'][_0xc1f363(0x13a)]), _0x252abd = [], _0x13d2c5 = new Set();
|
|
274
|
+
for (let _0x410f9c = 0x0; _0x410f9c < _0x5cd009[_0xc1f363(0x13a)]; _0x410f9c += 0x1) {
|
|
275
|
+
if (_0x5cd009[_0x410f9c] !== '@' || !isMentionBoundary(_0x5cd009[_0x410f9c - 0x1]))
|
|
276
|
+
continue;
|
|
277
|
+
const _0x548752 = _0x5cd009[_0xc1f363(0x113)](_0x410f9c + 0x1), _0x1d5f1e = _0x548752[_0xc1f363(0x1c1)](), _0x490575 = _0x60c808[_0xc1f363(0x78)](_0x40b46e => {
|
|
278
|
+
const _0xd7aa49 = _0xc1f363;
|
|
279
|
+
if (!_0x1d5f1e['startsWith'](_0x40b46e[_0xd7aa49(_0x444900._0x20c5b1)]))
|
|
280
|
+
return ![];
|
|
281
|
+
return isMentionTerminal(_0x548752[_0x40b46e[_0xd7aa49(_0x444900._0xd89b)][_0xd7aa49(_0x444900._0x4c6715)]]);
|
|
282
|
+
});
|
|
283
|
+
if (!_0x490575 || _0x13d2c5[_0xc1f363(_0x5070c1._0x21dd07)](_0x490575['participantId']))
|
|
284
|
+
continue;
|
|
285
|
+
_0x13d2c5[_0xc1f363(0x7a)](_0x490575[_0xc1f363(0xe4)]), _0x252abd['push'](_0x490575[_0xc1f363(0xe4)]), _0x410f9c += _0x490575[_0xc1f363(0xe7)][_0xc1f363(_0x5070c1._0x1d204d)];
|
|
286
|
+
}
|
|
287
|
+
return _0x252abd;
|
|
288
|
+
}
|
|
289
|
+
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
290
|
+
function anySignal(..._0x3f0922) {
|
|
291
|
+
const _0x25a9b9 = {
|
|
292
|
+
_0x113f34: 0x9c,
|
|
293
|
+
_0x3a2994: 0x130,
|
|
294
|
+
_0x1bdfd6: 0x14e
|
|
295
|
+
}, _0x14339b = _0x405cdd, _0x2a9179 = new AbortController();
|
|
296
|
+
for (const _0x28b25e of _0x3f0922) {
|
|
297
|
+
if (_0x28b25e[_0x14339b(_0x25a9b9._0x113f34)])
|
|
298
|
+
return _0x2a9179[_0x14339b(0x1b0)](_0x28b25e[_0x14339b(_0x25a9b9._0x3a2994)]), _0x2a9179[_0x14339b(_0x25a9b9._0x1bdfd6)];
|
|
299
|
+
_0x28b25e['addEventListener'](_0x14339b(0x1b0), () => _0x2a9179['abort'](_0x28b25e[_0x14339b(0x130)]), {
|
|
300
|
+
'once': !![],
|
|
301
|
+
'signal': _0x2a9179['signal']
|
|
302
|
+
});
|
|
303
|
+
}
|
|
304
|
+
return _0x2a9179[_0x14339b(_0x25a9b9._0x1bdfd6)];
|
|
305
|
+
}
|
|
306
|
+
function createInternalAgentClient(_0x662cfe) {
|
|
307
|
+
const _0x12971c = {
|
|
308
|
+
_0xaf96b4: 0x15f,
|
|
309
|
+
_0x563cea: 0x15f,
|
|
310
|
+
_0x578623: 0x126,
|
|
311
|
+
_0x145c69: 0xda,
|
|
312
|
+
_0x1dbb12: 0x176,
|
|
313
|
+
_0x3b062e: 0x101
|
|
314
|
+
}, _0x326155 = {
|
|
315
|
+
_0x545bcb: 0x12a,
|
|
316
|
+
_0x2a68be: 0x145,
|
|
317
|
+
_0x1fc238: 0x121,
|
|
318
|
+
_0x417a60: 0x13e,
|
|
319
|
+
_0x24ec41: 0x156,
|
|
320
|
+
_0x18a223: 0x156,
|
|
321
|
+
_0x5e12b7: 0x1aa,
|
|
322
|
+
_0xc9f927: 0x117,
|
|
323
|
+
_0x5efbc9: 0xb2,
|
|
324
|
+
_0xfe4cf7: 0xb2,
|
|
325
|
+
_0x45d861: 0x196,
|
|
326
|
+
_0x49c623: 0xc1,
|
|
327
|
+
_0x6f40c6: 0x1e2,
|
|
328
|
+
_0x31c7d8: 0x15b,
|
|
329
|
+
_0x1f32a9: 0x1df,
|
|
330
|
+
_0x28372c: 0xb9,
|
|
331
|
+
_0x487546: 0xb7,
|
|
332
|
+
_0x54c653: 0xd9,
|
|
333
|
+
_0xb9aee9: 0x13a,
|
|
334
|
+
_0x3e64b8: 0x1d2,
|
|
335
|
+
_0x31639b: 0x1a1,
|
|
336
|
+
_0x44c452: 0xb2,
|
|
337
|
+
_0x3053a1: 0xf6,
|
|
338
|
+
_0x4e8809: 0xf6,
|
|
339
|
+
_0x55920b: 0x1a2
|
|
340
|
+
}, _0x4defdc = {
|
|
341
|
+
_0x20dd38: 0x117,
|
|
342
|
+
_0x403e13: 0xe6
|
|
343
|
+
}, _0x29f8b4 = {
|
|
344
|
+
_0x355937: 0x1e6,
|
|
345
|
+
_0x2edcba: 0xb4
|
|
346
|
+
}, _0x24fe9f = {
|
|
347
|
+
_0x1d1dba: 0xcd,
|
|
348
|
+
_0x16ed64: 0xa6,
|
|
349
|
+
_0x5e5776: 0x1d1,
|
|
350
|
+
_0x2bf8be: 0x1d3
|
|
351
|
+
}, _0x483042 = { _0x34bfbd: 0x120 }, _0xedcede = {
|
|
352
|
+
_0x59d9ef: 0xcd,
|
|
353
|
+
_0x36fb3f: 0x123,
|
|
354
|
+
_0x46819f: 0x12a,
|
|
355
|
+
_0x5d5760: 0x103,
|
|
356
|
+
_0x397c5f: 0x121
|
|
357
|
+
}, _0x1228f1 = {
|
|
358
|
+
_0x51b80d: 0x12a,
|
|
359
|
+
_0x42c6c0: 0x145,
|
|
360
|
+
_0x47701f: 0x17e
|
|
361
|
+
}, _0x215dca = {
|
|
362
|
+
_0x42bca7: 0xa4,
|
|
363
|
+
_0x44b595: 0x9b,
|
|
364
|
+
_0x201e78: 0x1ed,
|
|
365
|
+
_0x5c8957: 0x17e
|
|
366
|
+
}, _0x43ea1a = {
|
|
367
|
+
_0x75b7d1: 0x12a,
|
|
368
|
+
_0x448ea0: 0x133,
|
|
369
|
+
_0x51ef20: 0x17e
|
|
370
|
+
}, _0x34ec08 = { _0x4b6326: 0x9b }, _0x58f81e = {
|
|
371
|
+
_0x448ac9: 0xcd,
|
|
372
|
+
_0x2e3529: 0x8d,
|
|
373
|
+
_0x20e007: 0x12a,
|
|
374
|
+
_0x22f5b0: 0x1cc
|
|
375
|
+
}, _0x44b422 = {
|
|
376
|
+
_0x9d24ae: 0xaa,
|
|
377
|
+
_0xd97046: 0xb8,
|
|
378
|
+
_0x3f07d1: 0x8d,
|
|
379
|
+
_0x2e8e5c: 0x121,
|
|
380
|
+
_0x1f5b94: 0x18d
|
|
381
|
+
}, _0x19b7f5 = {
|
|
382
|
+
_0x5bc2e3: 0x18d,
|
|
383
|
+
_0x10034d: 0x17e,
|
|
384
|
+
_0x4895a5: 0x121
|
|
385
|
+
}, _0x466fc0 = {
|
|
386
|
+
_0x1e60fb: 0x121,
|
|
387
|
+
_0x11f9bb: 0x1c3
|
|
388
|
+
}, _0x238a92 = { _0xa7c043: 0x121 }, _0x586f57 = {
|
|
389
|
+
_0x4b3508: 0x1a4,
|
|
390
|
+
_0x39c126: 0x80,
|
|
391
|
+
_0x15f333: 0x145,
|
|
392
|
+
_0xdc6ea0: 0x84,
|
|
393
|
+
_0x3e5018: 0xc3,
|
|
394
|
+
_0x27dc20: 0x117,
|
|
395
|
+
_0x4a5918: 0x147
|
|
396
|
+
}, _0x5af926 = {
|
|
397
|
+
_0x70a537: 0x1e7,
|
|
398
|
+
_0x59c353: 0x1d3,
|
|
399
|
+
_0x3a20e1: 0x11a,
|
|
400
|
+
_0x14b5f8: 0xb7,
|
|
401
|
+
_0x4f14af: 0xa6,
|
|
402
|
+
_0xec5aac: 0x12a,
|
|
403
|
+
_0x3b9a9d: 0x145,
|
|
404
|
+
_0x325de7: 0x1b6,
|
|
405
|
+
_0x9a8836: 0x15e,
|
|
406
|
+
_0x3bdf21: 0xff
|
|
407
|
+
}, _0x55a785 = { _0x2899f4: 0x104 }, _0x224b39 = { _0x33d31d: 0xe4 }, _0x3ac504 = {
|
|
408
|
+
_0x4f2078: 0x1ec,
|
|
409
|
+
_0x27eab7: 0xc1,
|
|
410
|
+
_0x497514: 0xa9,
|
|
411
|
+
_0xf9dfb: 0x15b,
|
|
412
|
+
_0x351fde: 0xb2,
|
|
413
|
+
_0x1e441b: 0x15b,
|
|
414
|
+
_0x43cdb5: 0xa9,
|
|
415
|
+
_0x4aef27: 0xa0,
|
|
416
|
+
_0x1ab171: 0xb2
|
|
417
|
+
}, _0x31e74e = {
|
|
418
|
+
_0x3e463c: 0x174,
|
|
419
|
+
_0x43a22a: 0xc1,
|
|
420
|
+
_0x3077bf: 0xa9,
|
|
421
|
+
_0x382093: 0x15b,
|
|
422
|
+
_0x124043: 0x15b,
|
|
423
|
+
_0x4f54be: 0xa0
|
|
424
|
+
}, _0x4a4ee3 = {
|
|
425
|
+
_0x13dda2: 0xc1,
|
|
426
|
+
_0x5a965d: 0x15b,
|
|
427
|
+
_0x14eb48: 0x11a
|
|
428
|
+
}, _0x4deb7b = { _0x3b12d0: 0x92 }, _0x3794c3 = { _0x25afdc: 0x9e }, _0x3a4cf0 = { _0x4c7bca: 0x1c6 }, _0x2767fc = {
|
|
429
|
+
_0xe6b44f: 0x121,
|
|
430
|
+
_0x3699c8: 0x121
|
|
431
|
+
}, _0x1f577d = { _0x3ed9f0: 0x141 }, _0x5eb3cf = { _0x350b3d: 0x14e }, _0x2f66f9 = {
|
|
432
|
+
_0x52f843: 0x14e,
|
|
433
|
+
_0x1a9bc7: 0x14e,
|
|
434
|
+
_0x1146f0: 0x165
|
|
435
|
+
}, _0x5f238b = {
|
|
436
|
+
_0x1151f8: 0x126,
|
|
437
|
+
_0x33c82a: 0x189,
|
|
438
|
+
_0x512c2c: 0x139
|
|
439
|
+
}, _0x85de30 = {
|
|
440
|
+
_0x36f494: 0x1b6,
|
|
441
|
+
_0x17373c: 0x82
|
|
442
|
+
}, _0x5bddb8 = {
|
|
443
|
+
_0x2d3165: 0x1d2,
|
|
444
|
+
_0x218d7e: 0x119,
|
|
445
|
+
_0x27f63c: 0x1e1,
|
|
446
|
+
_0x16113f: 0x177,
|
|
447
|
+
_0xd3eed0: 0xdb,
|
|
448
|
+
_0x4c6633: 0x1a9,
|
|
449
|
+
_0x51e2e9: 0x11f
|
|
450
|
+
}, _0x506039 = _0x405cdd, _0xd13ff8 = _0x662cfe[_0x506039(0x16c)] ?? fetch, _0x2451f2 = _0x662cfe[_0x506039(0x8e)] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x1a7f7d = typeof _0x662cfe[_0x506039(_0x12971c._0xaf96b4)] === 'number' && _0x662cfe[_0x506039(0x15f)] > 0x0 ? _0x662cfe[_0x506039(_0x12971c._0x563cea)] : 0x0, _0x15b1d0 = _0x662cfe[_0x506039(0x193)]?.[_0x506039(_0x12971c._0x578623)]() || void 0x0, _0x2fa118 = _0x662cfe[_0x506039(_0x12971c._0x145c69)]?.['trim']() || void 0x0, _0x1274df = _0x662cfe[_0x506039(0x10a)] === !![], _0x1d4d75 = _0x662cfe['workerSessionId']?.[_0x506039(_0x12971c._0x578623)]() || void 0x0, _0x120924 = _0x662cfe['workerThreadTarget']?.['trim']() || void 0x0, _0x443c71 = createHeaders(_0x662cfe[_0x506039(_0x12971c._0x1dbb12)]), _0x406715 = toHttpBaseUrl(_0x662cfe[_0x506039(_0x12971c._0x3b062e)]);
|
|
451
|
+
let _0x399087 = null;
|
|
452
|
+
const _0x49765d = new Map();
|
|
453
|
+
let _0x27f929 = _0x1a7f7d, _0x4f8509 = _0x1a7f7d;
|
|
454
|
+
function _0x5d940d(_0x3d6eb0) {
|
|
455
|
+
const _0x34beb0 = _0x506039, _0x3f8ff0 = _0x3d6eb0['response']['headers'][_0x34beb0(_0x5bddb8._0x2d3165)]('content-type') ?? 'unknown', _0xb4a31 = _0x3d6eb0[_0x34beb0(0x17d)]['trim']()[_0x34beb0(_0x5bddb8._0x218d7e)](/\s+/g, '\x20')['slice'](0x0, 0x78) || _0x34beb0(_0x5bddb8._0x27f63c);
|
|
456
|
+
return _0x34beb0(_0x5bddb8._0x16113f) + _0x3d6eb0[_0x34beb0(_0x5bddb8._0xd3eed0)] + _0x34beb0(0x16a) + _0x3d6eb0[_0x34beb0(0x7d)][_0x34beb0(0x8d)] + _0x34beb0(0x1e8) + _0x3f8ff0 + _0x34beb0(_0x5bddb8._0x4c6633) + _0xb4a31 + _0x34beb0(_0x5bddb8._0x51e2e9);
|
|
457
|
+
}
|
|
458
|
+
async function _0x45c3d2(_0x4ff8b5, _0x5e3c5a) {
|
|
459
|
+
const _0x29d2aa = _0x506039, _0x3e72c4 = Buffer[_0x29d2aa(0x124)](await _0x5e3c5a[_0x29d2aa(0xe1)]())[_0x29d2aa(_0x85de30._0x36f494)](_0x29d2aa(_0x85de30._0x17373c));
|
|
460
|
+
if (!_0x3e72c4['trim']())
|
|
461
|
+
return {};
|
|
462
|
+
try {
|
|
463
|
+
return JSON[_0x29d2aa(0x146)](_0x3e72c4);
|
|
464
|
+
} catch {
|
|
465
|
+
throw new Error(_0x5d940d({
|
|
466
|
+
'bodyText': _0x3e72c4,
|
|
467
|
+
'requestUrl': _0x4ff8b5,
|
|
468
|
+
'response': _0x5e3c5a
|
|
469
|
+
}));
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
function _0x95804b(_0x5ef190, _0x44796b) {
|
|
473
|
+
const _0x2ad7d4 = _0x506039, _0x476e19 = typeof _0x44796b[_0x2ad7d4(0xcf)] === _0x2ad7d4(0xb2) ? _0x44796b[_0x2ad7d4(0xcf)][_0x2ad7d4(_0x5f238b._0x1151f8)]() : '';
|
|
474
|
+
if (_0x476e19)
|
|
475
|
+
return _0x476e19;
|
|
476
|
+
const _0x36fa55 = Date[_0x2ad7d4(0xe2)]();
|
|
477
|
+
for (const [_0x32b8e6, _0x4d5b2f] of _0x49765d) {
|
|
478
|
+
_0x4d5b2f[_0x2ad7d4(0x1f8)] <= _0x36fa55 && _0x49765d[_0x2ad7d4(0x102)](_0x32b8e6);
|
|
479
|
+
}
|
|
480
|
+
const _0x58d4a0 = {
|
|
481
|
+
..._0x44796b,
|
|
482
|
+
'idempotency_key': void 0x0
|
|
483
|
+
}, _0x213adc = createHash('sha256')['update'](_0x5ef190 + ':' + stableStringify(_0x58d4a0))[_0x2ad7d4(0x173)]('hex'), _0x1a4ffd = _0x5ef190 + ':' + _0x213adc, _0x3d7b98 = _0x49765d[_0x2ad7d4(0x1d2)](_0x1a4ffd);
|
|
484
|
+
if (_0x3d7b98)
|
|
485
|
+
return _0x3d7b98[_0x2ad7d4(_0x5f238b._0x33c82a)];
|
|
486
|
+
const _0x3c1dd5 = _0x2ad7d4(_0x5f238b._0x512c2c) + _0x5ef190 + ':' + randomUUID();
|
|
487
|
+
return _0x49765d['set'](_0x1a4ffd, {
|
|
488
|
+
'expiresAt': _0x36fa55 + 0x5 * 0x3c * 0x3e8,
|
|
489
|
+
'value': _0x3c1dd5
|
|
490
|
+
}), _0x3c1dd5;
|
|
491
|
+
}
|
|
492
|
+
async function _0x5835bd(_0x204a79, _0x12d823) {
|
|
493
|
+
const _0x5968ee = _0x506039, _0x323e9c = new AbortController(), _0x49a88c = setTimeout(() => _0x323e9c[_0x5968ee(0x1b0)](), _0x2451f2), _0xd30d8a = _0x12d823?.[_0x5968ee(_0x2f66f9._0x52f843)] ? anySignal(_0x12d823[_0x5968ee(0x14e)], _0x323e9c[_0x5968ee(_0x2f66f9._0x1a9bc7)]) : _0x323e9c[_0x5968ee(_0x2f66f9._0x52f843)], _0x47f443 = '' + _0x406715 + _0x204a79;
|
|
494
|
+
try {
|
|
495
|
+
const _0x5bc1fc = await _0xd13ff8(_0x47f443, {
|
|
496
|
+
..._0x12d823,
|
|
497
|
+
'signal': _0xd30d8a
|
|
498
|
+
}), _0x582c63 = await _0x45c3d2(_0x47f443, _0x5bc1fc);
|
|
499
|
+
if (!_0x5bc1fc['ok'] || _0x582c63[_0x5968ee(0x9f)] === ![])
|
|
500
|
+
throw new Error(asErrorMessage(_0x582c63[_0x5968ee(_0x2f66f9._0x1146f0)], 'HTTP\x20' + _0x5bc1fc['status']));
|
|
501
|
+
return _0x582c63;
|
|
502
|
+
} finally {
|
|
503
|
+
clearTimeout(_0x49a88c);
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
async function _0x478131(_0x360974, _0x2ba6a3) {
|
|
507
|
+
const _0x4e37c1 = _0x506039, _0x2433a2 = new AbortController(), _0x3df9c0 = setTimeout(() => _0x2433a2[_0x4e37c1(0x1b0)](), _0x2451f2), _0x69b29b = _0x2ba6a3?.['signal'] ? anySignal(_0x2ba6a3['signal'], _0x2433a2[_0x4e37c1(0x14e)]) : _0x2433a2[_0x4e37c1(_0x5eb3cf._0x350b3d)], _0x84360d = '' + _0x406715 + _0x360974;
|
|
508
|
+
try {
|
|
509
|
+
const _0x498d6a = await _0xd13ff8(_0x84360d, {
|
|
510
|
+
..._0x2ba6a3,
|
|
511
|
+
'signal': _0x69b29b
|
|
512
|
+
}), _0x51da00 = await _0x45c3d2(_0x84360d, _0x498d6a);
|
|
513
|
+
if (!_0x498d6a['ok'])
|
|
514
|
+
throw new Error(asErrorMessage(_0x51da00['error'], _0x4e37c1(0x141) + _0x498d6a['status']));
|
|
515
|
+
return _0x51da00;
|
|
516
|
+
} finally {
|
|
517
|
+
clearTimeout(_0x3df9c0);
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
async function _0x21f288(_0x3f1dda) {
|
|
521
|
+
const _0x5aa006 = _0x506039;
|
|
522
|
+
if (!_0x2fa118 || _0x3f1dda <= _0x4f8509)
|
|
523
|
+
return;
|
|
524
|
+
await _0x5835bd('/api/agent-sessions/' + encodeURIComponent(_0x2fa118) + '/context-metrics', {
|
|
525
|
+
'body': JSON['stringify']({ 'lastSeenSeq': _0x3f1dda }),
|
|
526
|
+
'headers': _0x443c71,
|
|
527
|
+
'method': _0x5aa006(0xb0)
|
|
528
|
+
}), _0x4f8509 = _0x3f1dda;
|
|
529
|
+
}
|
|
530
|
+
async function _0x37d5ac(_0x3cdf88) {
|
|
531
|
+
const _0x4b37ca = _0x506039;
|
|
532
|
+
if (!_0x15b1d0 || !_0x1d4d75 || _0x3cdf88 <= _0x4f8509)
|
|
533
|
+
return;
|
|
534
|
+
const _0x390149 = await _0xd13ff8(_0x15b1d0 + '/workers/context-metrics', {
|
|
535
|
+
'body': JSON['stringify']({
|
|
536
|
+
'last_seen_seq': _0x3cdf88,
|
|
537
|
+
'worker_session_id': _0x1d4d75
|
|
538
|
+
}),
|
|
539
|
+
'headers': { 'Content-Type': 'application/json' },
|
|
540
|
+
'method': _0x4b37ca(0x17e)
|
|
541
|
+
});
|
|
542
|
+
if (!_0x390149['ok'])
|
|
543
|
+
throw new Error(_0x4b37ca(_0x1f577d._0x3ed9f0) + _0x390149[_0x4b37ca(0x8d)]);
|
|
544
|
+
_0x4f8509 = _0x3cdf88;
|
|
545
|
+
}
|
|
546
|
+
async function _0x434a01(_0x463d91) {
|
|
547
|
+
const _0x4bc602 = _0x506039, _0x1e75c2 = parseTarget(_0x463d91), _0x184196 = await _0x5835bd(_0x4bc602(0x12a) + _0x662cfe[_0x4bc602(0x145)] + '/resolve-channel', {
|
|
548
|
+
'body': JSON[_0x4bc602(0x9b)]({ 'target': _0x1e75c2[_0x4bc602(0x1a4)] }),
|
|
549
|
+
'headers': _0x443c71,
|
|
550
|
+
'method': 'POST'
|
|
551
|
+
});
|
|
552
|
+
return {
|
|
553
|
+
'channelId': _0x184196[_0x4bc602(0x121)]?.['channelId'] ?? '',
|
|
554
|
+
'target': _0x1e75c2[_0x4bc602(0x174)],
|
|
555
|
+
'task': _0x184196[_0x4bc602(_0x2767fc._0xe6b44f)]?.[_0x4bc602(0x134)],
|
|
556
|
+
'threadId': _0x184196[_0x4bc602(0x121)]?.['threadId'],
|
|
557
|
+
'threadNumber': _0x184196[_0x4bc602(_0x2767fc._0x3699c8)]?.[_0x4bc602(0xc1)]
|
|
558
|
+
};
|
|
559
|
+
}
|
|
560
|
+
async function _0x2bf9ad(_0x162fb5 = {}) {
|
|
561
|
+
const _0x261d3a = {
|
|
562
|
+
_0x5eb2e3: 0x12a,
|
|
563
|
+
_0x132fbd: 0x145,
|
|
564
|
+
_0x55bb89: 0x12e,
|
|
565
|
+
_0x47ea80: 0x121,
|
|
566
|
+
_0x333030: 0x1a8,
|
|
567
|
+
_0x5b3cf8: 0x121,
|
|
568
|
+
_0x569753: 0x152,
|
|
569
|
+
_0x33f21d: 0x97
|
|
570
|
+
}, _0x5b1edc = _0x506039;
|
|
571
|
+
if (!_0x162fb5[_0x5b1edc(_0x3a4cf0._0x4c7bca)] && _0x399087)
|
|
572
|
+
return _0x399087;
|
|
573
|
+
return _0x399087 = (async () => {
|
|
574
|
+
const _0x90436f = _0x5b1edc, _0x2e4754 = await _0x5835bd(_0x90436f(_0x261d3a._0x5eb2e3) + _0x662cfe[_0x90436f(_0x261d3a._0x132fbd)] + _0x90436f(_0x261d3a._0x55bb89), {
|
|
575
|
+
'headers': _0x443c71,
|
|
576
|
+
'method': 'GET'
|
|
577
|
+
}), _0x3f2ce0 = _0x2e4754[_0x90436f(_0x261d3a._0x47ea80)]?.['members'] ?? [], _0x486324 = _0x3f2ce0['filter'](_0x4b8980 => _0x4b8980[_0x90436f(0x175)]?.[_0x90436f(0x11b)] === 'agent')[_0x90436f(0x1aa)](_0x3d4491 => ({
|
|
578
|
+
'id': _0x1d31f3(_0x3d4491),
|
|
579
|
+
'name': _0x16a2f3(_0x3d4491)
|
|
580
|
+
}))[_0x90436f(_0x261d3a._0x333030)](_0x1ed6c4 => _0x1ed6c4['id']), _0x394da9 = _0x3f2ce0[_0x90436f(_0x261d3a._0x333030)](_0x565261 => _0x565261[_0x90436f(0x175)]?.[_0x90436f(0x11b)] !== _0x90436f(0x9e))[_0x90436f(0x1aa)](_0x21c350 => ({
|
|
581
|
+
'id': _0x1d31f3(_0x21c350),
|
|
582
|
+
'name': _0x16a2f3(_0x21c350)
|
|
583
|
+
}))['filter'](_0x1cab8d => _0x1cab8d['id']), _0x22a235 = _0x2e4754[_0x90436f(_0x261d3a._0x5b3cf8)]?.[_0x90436f(_0x261d3a._0x569753)]['id'] ?? '';
|
|
584
|
+
return {
|
|
585
|
+
'agents': _0x486324,
|
|
586
|
+
'channels': _0x2e4754[_0x90436f(_0x261d3a._0x47ea80)]?.[_0x90436f(_0x261d3a._0x33f21d)] ?? [],
|
|
587
|
+
'humans': _0x394da9,
|
|
588
|
+
'serverId': _0x22a235,
|
|
589
|
+
'serverName': _0x2e4754['data']?.[_0x90436f(_0x261d3a._0x569753)][_0x90436f(0x104)] ?? _0x22a235
|
|
590
|
+
};
|
|
591
|
+
})()['catch'](_0x1254ce => {
|
|
592
|
+
_0x399087 = null;
|
|
593
|
+
throw _0x1254ce;
|
|
594
|
+
}), _0x399087;
|
|
595
|
+
}
|
|
596
|
+
function _0x14212a(_0x45031e, _0x4c285a) {
|
|
597
|
+
const _0x22d36b = _0x506039;
|
|
598
|
+
return _0x4c285a[_0x22d36b(0x92)][_0x22d36b(0x180)](_0x4b468c => _0x4b468c['id'] === _0x45031e || _0x4b468c[_0x22d36b(0x104)] === _0x45031e) ? _0x22d36b(_0x3794c3._0x25afdc) : 'human';
|
|
599
|
+
}
|
|
600
|
+
function _0x5c3861(_0x50ce22, _0x26864e) {
|
|
601
|
+
const _0x4799b7 = _0x506039, _0x18cb9e = [
|
|
602
|
+
..._0x26864e[_0x4799b7(_0x4deb7b._0x3b12d0)],
|
|
603
|
+
..._0x26864e[_0x4799b7(0x155)]
|
|
604
|
+
]['find'](_0x4821bb => _0x4821bb['id'] === _0x50ce22);
|
|
605
|
+
return _0x18cb9e?.['name'] ?? _0x50ce22;
|
|
606
|
+
}
|
|
607
|
+
function _0x54dda6(_0xc8eddc) {
|
|
608
|
+
const _0x5ec95e = _0x506039;
|
|
609
|
+
if (_0xc8eddc[_0x5ec95e(0xc1)] != null)
|
|
610
|
+
return _0xc8eddc[_0x5ec95e(0x174)] + ':t' + _0xc8eddc[_0x5ec95e(_0x4a4ee3._0x13dda2)];
|
|
611
|
+
if (_0xc8eddc[_0x5ec95e(_0x4a4ee3._0x5a965d)])
|
|
612
|
+
return _0xc8eddc['channelTarget'] + ':' + _0xc8eddc['rootMessageId'];
|
|
613
|
+
if (_0xc8eddc[_0x5ec95e(0x11a)])
|
|
614
|
+
return _0xc8eddc[_0x5ec95e(0x174)] + ':' + _0xc8eddc[_0x5ec95e(_0x4a4ee3._0x14eb48)]['slice'](0x0, 0x8);
|
|
615
|
+
return _0xc8eddc[_0x5ec95e(0x174)];
|
|
616
|
+
}
|
|
617
|
+
function _0x130dab(_0x289dd1, _0x394a27) {
|
|
618
|
+
const _0x1949ed = _0x506039;
|
|
619
|
+
try {
|
|
620
|
+
const _0x5ee41b = parseTarget(_0x289dd1);
|
|
621
|
+
if (_0x5ee41b['kind'] !== _0x1949ed(0xf0) || _0x5ee41b[_0x1949ed(_0x31e74e._0x3e463c)] !== _0x394a27['channelTarget'])
|
|
622
|
+
return ![];
|
|
623
|
+
if (_0x394a27[_0x1949ed(_0x31e74e._0x43a22a)] != null && _0x5ee41b[_0x1949ed(_0x31e74e._0x3077bf)] === 't' + _0x394a27[_0x1949ed(_0x31e74e._0x43a22a)])
|
|
624
|
+
return !![];
|
|
625
|
+
if (_0x394a27[_0x1949ed(_0x31e74e._0x382093)])
|
|
626
|
+
return _0x5ee41b[_0x1949ed(0xa9)] === _0x394a27[_0x1949ed(0x15b)] || _0x394a27[_0x1949ed(_0x31e74e._0x124043)][_0x1949ed(0xa0)](_0x5ee41b[_0x1949ed(_0x31e74e._0x3077bf)]);
|
|
627
|
+
if (_0x394a27[_0x1949ed(0x11a)])
|
|
628
|
+
return _0x5ee41b[_0x1949ed(0xa9)] === _0x394a27[_0x1949ed(0x11a)] || _0x394a27[_0x1949ed(0x11a)][_0x1949ed(_0x31e74e._0x4f54be)](_0x5ee41b[_0x1949ed(0xa9)]);
|
|
629
|
+
return ![];
|
|
630
|
+
} catch {
|
|
631
|
+
return ![];
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
function _0x3dc8f8(_0x44603c, _0x274604) {
|
|
635
|
+
const _0x2a68ad = _0x506039;
|
|
636
|
+
try {
|
|
637
|
+
const _0x48d2c8 = parseTarget(_0x44603c);
|
|
638
|
+
if (_0x48d2c8[_0x2a68ad(0xf6)] !== 'thread')
|
|
639
|
+
return ![];
|
|
640
|
+
const _0x25f8a7 = typeof _0x274604['threadNumber'] === 'number' && Number[_0x2a68ad(_0x3ac504._0x4f2078)](_0x274604[_0x2a68ad(_0x3ac504._0x27eab7)]) ? _0x274604[_0x2a68ad(0xc1)] : void 0x0;
|
|
641
|
+
if (_0x25f8a7 != null && _0x48d2c8[_0x2a68ad(_0x3ac504._0x497514)] === 't' + _0x25f8a7)
|
|
642
|
+
return !![];
|
|
643
|
+
const _0x22234d = typeof _0x274604[_0x2a68ad(_0x3ac504._0xf9dfb)] === _0x2a68ad(_0x3ac504._0x351fde) ? _0x274604[_0x2a68ad(_0x3ac504._0x1e441b)] : void 0x0;
|
|
644
|
+
if (_0x22234d)
|
|
645
|
+
return _0x48d2c8[_0x2a68ad(_0x3ac504._0x43cdb5)] === _0x22234d || _0x22234d[_0x2a68ad(_0x3ac504._0x4aef27)](_0x48d2c8['threadShortId']);
|
|
646
|
+
const _0x55b4ab = typeof _0x274604[_0x2a68ad(0x11a)] === _0x2a68ad(_0x3ac504._0x1ab171) ? _0x274604['threadId'] : void 0x0;
|
|
647
|
+
return Boolean(_0x55b4ab) && (_0x48d2c8[_0x2a68ad(0xa9)] === _0x55b4ab || _0x55b4ab['startsWith'](_0x48d2c8['threadShortId']));
|
|
648
|
+
} catch {
|
|
649
|
+
return ![];
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
function _0x1d31f3(_0x17add4) {
|
|
653
|
+
const _0x5c99aa = _0x506039;
|
|
654
|
+
return _0x17add4['member']?.['participantId'] ?? _0x17add4[_0x5c99aa(0x175)]?.['id'] ?? _0x17add4[_0x5c99aa(_0x224b39._0x33d31d)] ?? '';
|
|
655
|
+
}
|
|
656
|
+
function _0x16a2f3(_0x22cac1) {
|
|
657
|
+
const _0x5b8229 = _0x506039;
|
|
658
|
+
return _0x22cac1[_0x5b8229(0x175)]?.[_0x5b8229(_0x55a785._0x2899f4)] ?? _0x1d31f3(_0x22cac1);
|
|
659
|
+
}
|
|
660
|
+
async function _0x2d44c3(_0x56965b) {
|
|
661
|
+
const _0x16bf90 = _0x506039, _0xa0fb86 = Math[_0x16bf90(_0x5af926._0x70a537)](_0x56965b[_0x16bf90(_0x5af926._0x59c353)] ?? 0x32, 0x64), _0x12d21d = await _0x2bf9ad(), _0x32cd41 = new URLSearchParams();
|
|
662
|
+
_0x32cd41['set'](_0x16bf90(0x1d3), String(_0xa0fb86));
|
|
663
|
+
_0x56965b[_0x16bf90(0x11a)] ? (_0x32cd41['set'](_0x16bf90(_0x5af926._0x3a20e1), _0x56965b[_0x16bf90(0x11a)]), _0x32cd41[_0x16bf90(0xb7)]('channelId', _0x56965b[_0x16bf90(0x117)])) : _0x32cd41[_0x16bf90(0xb7)](_0x16bf90(0x117), _0x56965b['channelId']);
|
|
664
|
+
_0x56965b['before'] && _0x32cd41[_0x16bf90(_0x5af926._0x14b5f8)](_0x16bf90(0x13e), String(_0x56965b['before']));
|
|
665
|
+
_0x56965b[_0x16bf90(0xa6)] !== void 0x0 && _0x32cd41[_0x16bf90(_0x5af926._0x14b5f8)](_0x16bf90(0xa6), String(_0x56965b[_0x16bf90(_0x5af926._0x4f14af)]));
|
|
666
|
+
const _0x3e6285 = await _0x5835bd(_0x16bf90(_0x5af926._0xec5aac) + _0x662cfe[_0x16bf90(_0x5af926._0x3b9a9d)] + '/history?' + _0x32cd41[_0x16bf90(_0x5af926._0x325de7)](), {
|
|
667
|
+
'headers': _0x443c71,
|
|
668
|
+
'method': _0x16bf90(0x100)
|
|
669
|
+
}), _0x49d90d = (_0x3e6285[_0x16bf90(0x121)] ?? [])['map'](_0x291500 => ({
|
|
670
|
+
'attachments': (_0x291500[_0x16bf90(0x1a1)] ?? [])[_0x16bf90(0x1aa)](_0x2f2efb => ({
|
|
671
|
+
'filename': _0x2f2efb[_0x16bf90(0x95)] ?? _0x2f2efb['id'],
|
|
672
|
+
'id': _0x2f2efb['id']
|
|
673
|
+
})),
|
|
674
|
+
'content': _0x291500[_0x16bf90(0x178)] ?? '',
|
|
675
|
+
'createdAt': _0x291500[_0x16bf90(0xd8)],
|
|
676
|
+
..._0x291500[_0x16bf90(0xf6)] && _0x291500['kind'] !== _0x16bf90(0xa2) ? { 'kind': _0x291500[_0x16bf90(0xf6)] } : {},
|
|
677
|
+
'messageId': _0x291500['id'],
|
|
678
|
+
'senderName': _0x5c3861(_0x291500[_0x16bf90(0x19d)], _0x12d21d),
|
|
679
|
+
'senderType': _0x14212a(_0x291500[_0x16bf90(0x19d)], _0x12d21d),
|
|
680
|
+
'seq': _0x291500[_0x16bf90(0x110)] ?? 0x0
|
|
681
|
+
}));
|
|
682
|
+
return {
|
|
683
|
+
'channel': _0x56965b[_0x16bf90(0x174)],
|
|
684
|
+
'hasMore': _0x3e6285[_0x16bf90(0xff)]?.[_0x16bf90(_0x5af926._0x9a8836)] ?? ![],
|
|
685
|
+
'messages': _0x49d90d,
|
|
686
|
+
'nextCursor': _0x3e6285[_0x16bf90(_0x5af926._0x3bdf21)]?.[_0x16bf90(0x13e)]
|
|
687
|
+
};
|
|
688
|
+
}
|
|
689
|
+
return {
|
|
690
|
+
async 'sendMessage'(_0x38af93) {
|
|
691
|
+
const _0x5460f4 = _0x506039, _0xdf876e = await _0x434a01(_0x38af93[_0x5460f4(_0x586f57._0x4b3508)]), _0x523bd3 = _0x38af93[_0x5460f4(_0x586f57._0x39c126)][_0x5460f4(0x150)]('@') ? extractMentionedParticipantIds(_0x38af93[_0x5460f4(0x80)], await _0x2bf9ad()) : [], _0x52efec = await _0x5835bd('/internal/agent/' + _0x662cfe[_0x5460f4(_0x586f57._0x15f333)] + _0x5460f4(_0x586f57._0xdc6ea0), {
|
|
692
|
+
'body': JSON[_0x5460f4(0x9b)]({
|
|
693
|
+
'attachment_ids': _0x38af93[_0x5460f4(_0x586f57._0x3e5018)],
|
|
694
|
+
'bodyMarkdown': _0x38af93['content'],
|
|
695
|
+
'channelId': _0xdf876e[_0x5460f4(_0x586f57._0x27dc20)],
|
|
696
|
+
..._0x523bd3[_0x5460f4(0x13a)] > 0x0 ? { 'mentionedParticipantIds': _0x523bd3 } : {},
|
|
697
|
+
'threadId': _0xdf876e['threadId'],
|
|
698
|
+
..._0x38af93[_0x5460f4(_0x586f57._0x4a5918)] ? { 'visibility': _0x38af93['visibility'] } : {}
|
|
699
|
+
}),
|
|
700
|
+
'headers': _0x443c71,
|
|
701
|
+
'method': _0x5460f4(0x17e)
|
|
702
|
+
});
|
|
703
|
+
return { 'messageId': _0x52efec['data']?.['id'] ?? '' };
|
|
704
|
+
},
|
|
705
|
+
async 'listSchedules'() {
|
|
706
|
+
const _0x3c669e = _0x506039, _0x5646eb = await _0x5835bd(_0x3c669e(0xb1), {
|
|
707
|
+
'headers': _0x443c71,
|
|
708
|
+
'method': _0x3c669e(0x100)
|
|
709
|
+
});
|
|
710
|
+
return _0x5646eb[_0x3c669e(_0x238a92._0xa7c043)] ?? [];
|
|
711
|
+
},
|
|
712
|
+
async 'claimScheduleRun'(_0x2524fd) {
|
|
713
|
+
const _0x11bc1e = _0x506039, _0xe931c8 = await _0x5835bd(_0x11bc1e(0x122), {
|
|
714
|
+
'body': JSON[_0x11bc1e(0x9b)](_0x2524fd),
|
|
715
|
+
'headers': _0x443c71,
|
|
716
|
+
'method': _0x11bc1e(0x17e)
|
|
717
|
+
});
|
|
718
|
+
return _0xe931c8[_0x11bc1e(_0x466fc0._0x1e60fb)] ?? {
|
|
719
|
+
'granted': ![],
|
|
720
|
+
'runId': null,
|
|
721
|
+
'schedule': null,
|
|
722
|
+
'scheduledFor': _0x2524fd[_0x11bc1e(_0x466fc0._0x11f9bb)]
|
|
723
|
+
};
|
|
724
|
+
},
|
|
725
|
+
async 'startScheduleRun'(_0x2bf601) {
|
|
726
|
+
const _0x2c5978 = _0x506039, _0x473c8d = await _0x5835bd(_0x2c5978(0xaa) + encodeURIComponent(_0x2bf601[_0x2c5978(_0x19b7f5._0x5bc2e3)]) + '/start', {
|
|
727
|
+
'body': JSON['stringify']({}),
|
|
728
|
+
'headers': _0x443c71,
|
|
729
|
+
'method': _0x2c5978(_0x19b7f5._0x10034d)
|
|
730
|
+
});
|
|
731
|
+
return _0x473c8d[_0x2c5978(_0x19b7f5._0x4895a5)] ?? {
|
|
732
|
+
'claimedByDaemonId': '',
|
|
733
|
+
'id': _0x2bf601[_0x2c5978(0x18d)],
|
|
734
|
+
'scheduleId': '',
|
|
735
|
+
'status': _0x2c5978(0x1ea)
|
|
736
|
+
};
|
|
737
|
+
},
|
|
738
|
+
async 'finishScheduleRun'(_0x76c0e4) {
|
|
739
|
+
const _0x4cd8c9 = _0x506039, _0x5aac86 = await _0x5835bd(_0x4cd8c9(_0x44b422._0x9d24ae) + encodeURIComponent(_0x76c0e4['runId']) + '/finish', {
|
|
740
|
+
'body': JSON[_0x4cd8c9(0x9b)]({
|
|
741
|
+
'error': _0x76c0e4[_0x4cd8c9(0x165)],
|
|
742
|
+
'resultJson': _0x76c0e4[_0x4cd8c9(_0x44b422._0xd97046)],
|
|
743
|
+
'status': _0x76c0e4[_0x4cd8c9(_0x44b422._0x3f07d1)]
|
|
744
|
+
}),
|
|
745
|
+
'headers': _0x443c71,
|
|
746
|
+
'method': _0x4cd8c9(0x17e)
|
|
747
|
+
});
|
|
748
|
+
return _0x5aac86[_0x4cd8c9(_0x44b422._0x2e8e5c)] ?? {
|
|
749
|
+
'nextRunAt': null,
|
|
750
|
+
'run': {
|
|
751
|
+
'claimedByDaemonId': '',
|
|
752
|
+
'id': _0x76c0e4[_0x4cd8c9(_0x44b422._0x1f5b94)],
|
|
753
|
+
'scheduleId': '',
|
|
754
|
+
'status': _0x76c0e4[_0x4cd8c9(_0x44b422._0x3f07d1)]
|
|
755
|
+
}
|
|
756
|
+
};
|
|
757
|
+
},
|
|
758
|
+
async 'listTasks'(_0x5ce421) {
|
|
759
|
+
const _0x1228d5 = _0x506039, _0x32c65a = new URLSearchParams();
|
|
760
|
+
return _0x32c65a[_0x1228d5(0xb7)](_0x1228d5(_0x58f81e._0x448ac9), _0x5ce421[_0x1228d5(0xcd)]), _0x5ce421[_0x1228d5(0x8d)] && _0x32c65a[_0x1228d5(0xb7)](_0x1228d5(_0x58f81e._0x2e3529), _0x5ce421[_0x1228d5(0x8d)]), _0x478131(_0x1228d5(_0x58f81e._0x20e007) + _0x662cfe[_0x1228d5(0x145)] + _0x1228d5(_0x58f81e._0x22f5b0) + _0x32c65a['toString'](), {
|
|
761
|
+
'headers': _0x443c71,
|
|
762
|
+
'method': _0x1228d5(0x100)
|
|
763
|
+
});
|
|
764
|
+
},
|
|
765
|
+
async 'createTasks'(_0x506085) {
|
|
766
|
+
const _0xc9361 = _0x506039;
|
|
767
|
+
return _0x478131('/internal/agent/' + _0x662cfe[_0xc9361(0x145)] + _0xc9361(0x1ae), {
|
|
768
|
+
'body': JSON[_0xc9361(_0x34ec08._0x4b6326)]({
|
|
769
|
+
..._0x506085,
|
|
770
|
+
'idempotency_key': _0x95804b('create_tasks', _0x506085)
|
|
771
|
+
}),
|
|
772
|
+
'headers': _0x443c71,
|
|
773
|
+
'method': _0xc9361(0x17e)
|
|
774
|
+
});
|
|
775
|
+
},
|
|
776
|
+
async 'claimTasks'(_0x4e0d28) {
|
|
777
|
+
const _0x5c19a1 = _0x506039;
|
|
778
|
+
return _0x478131(_0x5c19a1(_0x43ea1a._0x75b7d1) + _0x662cfe['agentId'] + _0x5c19a1(_0x43ea1a._0x448ea0), {
|
|
779
|
+
'body': JSON[_0x5c19a1(0x9b)]({
|
|
780
|
+
..._0x4e0d28,
|
|
781
|
+
'idempotency_key': _0x95804b(_0x5c19a1(0x1be), _0x4e0d28)
|
|
782
|
+
}),
|
|
783
|
+
'headers': _0x443c71,
|
|
784
|
+
'method': _0x5c19a1(_0x43ea1a._0x51ef20)
|
|
785
|
+
});
|
|
786
|
+
},
|
|
787
|
+
async 'unclaimTask'(_0x3da12e) {
|
|
788
|
+
const _0x66b55a = _0x506039;
|
|
789
|
+
return _0x478131('/internal/agent/' + _0x662cfe[_0x66b55a(0x145)] + _0x66b55a(_0x215dca._0x42bca7), {
|
|
790
|
+
'body': JSON[_0x66b55a(_0x215dca._0x44b595)]({
|
|
791
|
+
..._0x3da12e,
|
|
792
|
+
'idempotency_key': _0x95804b(_0x66b55a(_0x215dca._0x201e78), _0x3da12e)
|
|
793
|
+
}),
|
|
794
|
+
'headers': _0x443c71,
|
|
795
|
+
'method': _0x66b55a(_0x215dca._0x5c8957)
|
|
796
|
+
});
|
|
797
|
+
},
|
|
798
|
+
async 'updateTaskStatus'(_0x292a0b) {
|
|
799
|
+
const _0x42c4cd = _0x506039;
|
|
800
|
+
return _0x478131(_0x42c4cd(_0x1228f1._0x51b80d) + _0x662cfe[_0x42c4cd(_0x1228f1._0x42c6c0)] + _0x42c4cd(0x14c), {
|
|
801
|
+
'body': JSON[_0x42c4cd(0x9b)]({
|
|
802
|
+
..._0x292a0b,
|
|
803
|
+
'idempotency_key': _0x95804b('update_task_status', _0x292a0b)
|
|
804
|
+
}),
|
|
805
|
+
'headers': _0x443c71,
|
|
806
|
+
'method': _0x42c4cd(_0x1228f1._0x47701f)
|
|
807
|
+
});
|
|
808
|
+
},
|
|
809
|
+
async 'uploadFile'(_0x1e02ba) {
|
|
810
|
+
const _0x59eed5 = _0x506039, _0x271ee9 = await _0x434a01(_0x1e02ba[_0x59eed5(_0xedcede._0x59d9ef)]);
|
|
811
|
+
if (_0x271ee9['threadId'])
|
|
812
|
+
throw new Error(_0x59eed5(_0xedcede._0x36fb3f));
|
|
813
|
+
const _0x5089e1 = await _0x5835bd(_0x59eed5(_0xedcede._0x46819f) + _0x662cfe[_0x59eed5(0x145)] + _0x59eed5(_0xedcede._0x5d5760), {
|
|
814
|
+
'body': JSON[_0x59eed5(0x9b)]({
|
|
815
|
+
'channel': _0x271ee9[_0x59eed5(0x1a4)],
|
|
816
|
+
'contentBase64': _0x1e02ba[_0x59eed5(0x160)],
|
|
817
|
+
'contentType': _0x1e02ba['contentType'],
|
|
818
|
+
'originalFilename': _0x1e02ba['filename']
|
|
819
|
+
}),
|
|
820
|
+
'headers': _0x443c71,
|
|
821
|
+
'method': _0x59eed5(0x17e)
|
|
822
|
+
});
|
|
823
|
+
return {
|
|
824
|
+
'attachmentId': _0x5089e1[_0x59eed5(_0xedcede._0x397c5f)]?.['id'] ?? '',
|
|
825
|
+
'filename': _0x5089e1[_0x59eed5(0x121)]?.[_0x59eed5(0x12c)] ?? _0x1e02ba[_0x59eed5(0x95)],
|
|
826
|
+
'sizeBytes': _0x5089e1['data']?.[_0x59eed5(0x1b7)] ?? 0x0
|
|
827
|
+
};
|
|
828
|
+
},
|
|
829
|
+
async 'downloadAttachment'(_0x391983) {
|
|
830
|
+
const _0x203a5e = _0x506039, _0x59a4c6 = await _0x5835bd(_0x203a5e(0x120) + _0x391983, {
|
|
831
|
+
'headers': _0x443c71,
|
|
832
|
+
'method': 'GET'
|
|
833
|
+
}), _0x3fea85 = new AbortController(), _0x39c0ad = setTimeout(() => _0x3fea85[_0x203a5e(0x1b0)](), _0x2451f2);
|
|
834
|
+
try {
|
|
835
|
+
const _0x2936cd = await _0xd13ff8(_0x406715 + _0x203a5e(_0x483042._0x34bfbd) + _0x391983 + '/content', {
|
|
836
|
+
'headers': _0x443c71,
|
|
837
|
+
'method': 'GET',
|
|
838
|
+
'signal': _0x3fea85['signal']
|
|
839
|
+
});
|
|
840
|
+
if (!_0x2936cd['ok'])
|
|
841
|
+
throw new Error(_0x203a5e(0x141) + _0x2936cd[_0x203a5e(0x8d)]);
|
|
842
|
+
return {
|
|
843
|
+
'contentType': _0x59a4c6[_0x203a5e(0x121)]?.[_0x203a5e(0x18b)] ?? _0x2936cd[_0x203a5e(0x149)][_0x203a5e(0x1d2)]('content-type') ?? 'application/octet-stream',
|
|
844
|
+
'data': Buffer['from'](await _0x2936cd[_0x203a5e(0xe1)]()),
|
|
845
|
+
'originalFilename': _0x59a4c6[_0x203a5e(0x121)]?.[_0x203a5e(0x12c)]
|
|
846
|
+
};
|
|
847
|
+
} finally {
|
|
848
|
+
clearTimeout(_0x39c0ad);
|
|
849
|
+
}
|
|
850
|
+
},
|
|
851
|
+
async 'listServer'() {
|
|
852
|
+
return _0x2bf9ad({ 'forceRefresh': !![] });
|
|
853
|
+
},
|
|
854
|
+
async 'readHistory'(_0x573208) {
|
|
855
|
+
const _0x221949 = _0x506039, _0x3c4ae0 = await _0x434a01(_0x573208[_0x221949(_0x24fe9f._0x1d1dba)]);
|
|
856
|
+
return _0x2d44c3({
|
|
857
|
+
'after': _0x573208[_0x221949(_0x24fe9f._0x16ed64)],
|
|
858
|
+
'before': _0x573208[_0x221949(_0x24fe9f._0x5e5776)],
|
|
859
|
+
'channelId': _0x3c4ae0['channelId'],
|
|
860
|
+
'channelTarget': _0x3c4ae0[_0x221949(0x1a4)],
|
|
861
|
+
'limit': _0x573208[_0x221949(_0x24fe9f._0x2bf8be)],
|
|
862
|
+
'threadId': _0x3c4ae0[_0x221949(0x11a)]
|
|
863
|
+
});
|
|
864
|
+
},
|
|
865
|
+
'resolveTarget': _0x434a01,
|
|
866
|
+
async 'checkMessages'() {
|
|
867
|
+
const _0x2e1cf5 = _0x506039, _0x194275 = new URLSearchParams();
|
|
868
|
+
_0x194275[_0x2e1cf5(0xb7)](_0x2e1cf5(0x138), String(_0x27f929));
|
|
869
|
+
const _0x104540 = _0x194275['toString'](), _0x523db1 = await _0x5835bd(_0x2e1cf5(_0x326155._0x545bcb) + _0x662cfe[_0x2e1cf5(_0x326155._0x2a68be)] + '/receive' + (_0x104540 ? '?' + _0x104540 : ''), {
|
|
870
|
+
'headers': _0x443c71,
|
|
871
|
+
'method': _0x2e1cf5(0x100)
|
|
872
|
+
}), _0x1f5c61 = _0x523db1[_0x2e1cf5(_0x326155._0x1fc238)] ?? [], _0xd7d405 = _0x523db1[_0x2e1cf5(0xff)]?.[_0x2e1cf5(_0x326155._0x417a60)], _0x12762e = _0x120924 ? _0x1f5c61[_0x2e1cf5(0x1a8)](_0x584878 => {
|
|
873
|
+
const _0x57f44c = _0x2e1cf5;
|
|
874
|
+
if (_0x584878[_0x57f44c(0x8b)] !== _0x57f44c(_0x29f8b4._0x355937))
|
|
875
|
+
return ![];
|
|
876
|
+
return _0x3dc8f8(_0x120924, asRecord(_0x584878[_0x57f44c(_0x29f8b4._0x2edcba)]));
|
|
877
|
+
}) : _0x1f5c61, _0x4d6683 = _0xd7d405 !== void 0x0 ? _0x120924 ? Math['max'](_0x27f929, _0x12762e['length'] > 0x0 ? _0x12762e[_0x12762e[_0x2e1cf5(0x13a)] - 0x1][_0x2e1cf5(_0x326155._0x24ec41)] : _0x27f929) : Math[_0x2e1cf5(0x1bc)](_0x27f929, _0xd7d405) : _0x12762e[_0x2e1cf5(0x13a)] > 0x0 ? Math[_0x2e1cf5(0x1bc)](_0x27f929, _0x12762e[_0x12762e[_0x2e1cf5(0x13a)] - 0x1][_0x2e1cf5(_0x326155._0x18a223)]) : _0x27f929, _0x2ddd16 = _0x1f5c61[_0x2e1cf5(0x1a8)](_0x204c38 => _0x204c38[_0x2e1cf5(0x8b)] === _0x2e1cf5(0x1e6)), _0x592375 = _0x120924 === void 0x0 && _0x1274df;
|
|
878
|
+
let _0x12da9a = await _0x2bf9ad(), _0x3be008 = new Map(_0x12da9a[_0x2e1cf5(0x97)][_0x2e1cf5(_0x326155._0x5e12b7)](_0x265e3a => [
|
|
879
|
+
_0x265e3a['id'],
|
|
880
|
+
_0x265e3a
|
|
881
|
+
]));
|
|
882
|
+
const _0x355cba = _0x2ddd16[_0x2e1cf5(0x180)](_0x5d7527 => {
|
|
883
|
+
const _0x16f8d9 = _0x2e1cf5, _0x5cbaa2 = asRecord(_0x5d7527['payloadJson']), _0xcd5b3 = typeof _0x5cbaa2?.[_0x16f8d9(_0x4defdc._0x20dd38)] === _0x16f8d9(0xb2) ? _0x5cbaa2[_0x16f8d9(0x117)] : '';
|
|
884
|
+
return Boolean(_0xcd5b3) && !_0x3be008[_0x16f8d9(_0x4defdc._0x403e13)](_0xcd5b3);
|
|
885
|
+
});
|
|
886
|
+
_0x355cba && (_0x12da9a = await _0x2bf9ad({ 'forceRefresh': !![] }), _0x3be008 = new Map(_0x12da9a['channels'][_0x2e1cf5(0x1aa)](_0x47c24c => [
|
|
887
|
+
_0x47c24c['id'],
|
|
888
|
+
_0x47c24c
|
|
889
|
+
])));
|
|
890
|
+
const _0x10dcab = new Map();
|
|
891
|
+
for (const _0x3a7f1f of _0x2ddd16) {
|
|
892
|
+
const _0x46dac9 = asRecord(_0x3a7f1f[_0x2e1cf5(0xb4)]), _0x3436e8 = typeof _0x46dac9[_0x2e1cf5(_0x326155._0xc9f927)] === _0x2e1cf5(_0x326155._0x5efbc9) ? _0x46dac9[_0x2e1cf5(0x117)] : '';
|
|
893
|
+
if (!_0x3436e8)
|
|
894
|
+
continue;
|
|
895
|
+
const _0x5187fa = typeof _0x46dac9[_0x2e1cf5(0x11a)] === _0x2e1cf5(_0x326155._0xfe4cf7) ? _0x46dac9['threadId'] : void 0x0, _0x55de7a = typeof _0x46dac9[_0x2e1cf5(0x15b)] === _0x2e1cf5(_0x326155._0x5efbc9) ? _0x46dac9['rootMessageId'] : void 0x0, _0x8e095c = typeof _0x46dac9['threadNumber'] === _0x2e1cf5(_0x326155._0x45d861) && Number['isInteger'](_0x46dac9[_0x2e1cf5(_0x326155._0x49c623)]) ? _0x46dac9['threadNumber'] : void 0x0, _0x168db5 = Boolean(_0x5187fa && (!_0x55de7a || _0x3a7f1f[_0x2e1cf5(_0x326155._0x6f40c6)] !== _0x55de7a)), _0x43db23 = _0x168db5 ? _0x3436e8 + ':' + _0x5187fa : _0x3436e8, _0x1eb1de = _0x10dcab['get'](_0x43db23) ?? {
|
|
896
|
+
'aggregateIds': [],
|
|
897
|
+
'channelId': _0x3436e8,
|
|
898
|
+
'entries': new Map(),
|
|
899
|
+
'isThreadReply': _0x168db5,
|
|
900
|
+
'rootMessageId': _0x55de7a,
|
|
901
|
+
'threadNumber': _0x8e095c,
|
|
902
|
+
'threadId': _0x168db5 ? _0x5187fa : void 0x0
|
|
903
|
+
};
|
|
904
|
+
_0x1eb1de[_0x2e1cf5(0xc1)] == null && _0x8e095c != null && (_0x1eb1de[_0x2e1cf5(0xc1)] = _0x8e095c), !_0x1eb1de[_0x2e1cf5(_0x326155._0x31c7d8)] && _0x55de7a && (_0x1eb1de['rootMessageId'] = _0x55de7a), _0x1eb1de[_0x2e1cf5(_0x326155._0x1f32a9)][_0x2e1cf5(0x1c5)](_0x3a7f1f['aggregateId']), _0x1eb1de[_0x2e1cf5(_0x326155._0x28372c)][_0x2e1cf5(_0x326155._0x487546)](_0x3a7f1f[_0x2e1cf5(0x1e2)], {
|
|
905
|
+
'payloadJson': _0x3a7f1f['payloadJson'],
|
|
906
|
+
'seq': _0x3a7f1f[_0x2e1cf5(0x156)]
|
|
907
|
+
}), _0x10dcab[_0x2e1cf5(0xb7)](_0x43db23, _0x1eb1de);
|
|
908
|
+
}
|
|
909
|
+
const _0x433070 = [];
|
|
910
|
+
for (const _0x49d830 of _0x10dcab[_0x2e1cf5(0x19a)]()) {
|
|
911
|
+
const {
|
|
912
|
+
channelId: _0x3829b4,
|
|
913
|
+
threadId: _0x9828bd,
|
|
914
|
+
rootMessageId: _0x626e70,
|
|
915
|
+
threadNumber: _0x577ae9,
|
|
916
|
+
aggregateIds: _0x27aff5,
|
|
917
|
+
isThreadReply: _0x2788e6,
|
|
918
|
+
entries: _0x383450
|
|
919
|
+
} = _0x49d830, _0x4e0035 = _0x3be008[_0x2e1cf5(0x1d2)](_0x3829b4), _0x37f90c = _0x4e0035?.['name'] ?? _0x3829b4, _0x244eb2 = _0x4e0035?.[_0x2e1cf5(0xf6)] === 'dm' ? _0x2e1cf5(_0x326155._0x54c653) + _0x37f90c : '#' + _0x37f90c, _0x461a91 = {
|
|
920
|
+
'channelTarget': _0x244eb2,
|
|
921
|
+
'rootMessageId': _0x626e70,
|
|
922
|
+
'threadId': _0x9828bd,
|
|
923
|
+
'threadNumber': _0x577ae9
|
|
924
|
+
}, _0x430693 = await _0x2d44c3({
|
|
925
|
+
'channelId': _0x3829b4,
|
|
926
|
+
'channelTarget': _0x244eb2,
|
|
927
|
+
'limit': Math['max'](_0x27aff5[_0x2e1cf5(_0x326155._0xb9aee9)], 0x32),
|
|
928
|
+
'threadId': _0x9828bd
|
|
929
|
+
}), _0x4ce3e7 = new Map(_0x430693['messages']['map'](_0x15e2dc => [
|
|
930
|
+
_0x15e2dc['messageId'],
|
|
931
|
+
_0x15e2dc
|
|
932
|
+
])), _0xdf7fcf = _0x9828bd ? _0x54dda6(_0x461a91) : _0x244eb2, _0x1fb1a9 = _0x120924 ? _0x2788e6 && _0x130dab(_0x120924, _0x461a91) : !![], _0x21ece1 = _0x2788e6 ? _0x1fb1a9 && _0x120924 ? _0x120924 : _0xdf7fcf : _0x244eb2;
|
|
933
|
+
for (const _0x496695 of _0x27aff5) {
|
|
934
|
+
if (!_0x1fb1a9)
|
|
935
|
+
continue;
|
|
936
|
+
const _0x2d408a = _0x383450[_0x2e1cf5(_0x326155._0x3e64b8)](_0x496695), _0x161ac7 = _0x2d408a ? asRecord(_0x2d408a[_0x2e1cf5(0xb4)]) : void 0x0, _0x12e0d4 = _0x161ac7?.[_0x2e1cf5(0xde)] === _0x2e1cf5(0x194);
|
|
937
|
+
if (_0x592375 && _0x12e0d4)
|
|
938
|
+
continue;
|
|
939
|
+
const _0x488968 = _0x4ce3e7[_0x2e1cf5(0x1d2)](_0x496695);
|
|
940
|
+
if (_0x488968) {
|
|
941
|
+
_0x433070['push']({
|
|
942
|
+
'attachments': _0x488968[_0x2e1cf5(_0x326155._0x31639b)],
|
|
943
|
+
'content': _0x488968[_0x2e1cf5(0x80)],
|
|
944
|
+
'createdAt': _0x488968[_0x2e1cf5(0xd8)],
|
|
945
|
+
..._0x488968[_0x2e1cf5(0xf6)] ? { 'kind': _0x488968[_0x2e1cf5(0xf6)] } : {},
|
|
946
|
+
'messageId': _0x488968['messageId'],
|
|
947
|
+
'senderName': _0x488968[_0x2e1cf5(0x167)],
|
|
948
|
+
'senderType': _0x488968[_0x2e1cf5(0x10d)],
|
|
949
|
+
'target': _0x21ece1,
|
|
950
|
+
..._0x12e0d4 ? { 'targetedTask': !![] } : {}
|
|
951
|
+
});
|
|
952
|
+
continue;
|
|
953
|
+
}
|
|
954
|
+
if (_0x2d408a) {
|
|
955
|
+
const _0x50061b = typeof _0x161ac7?.[_0x2e1cf5(0x19d)] === _0x2e1cf5(_0x326155._0x5efbc9) ? _0x161ac7[_0x2e1cf5(0x19d)] : '', _0x4f3ce0 = typeof _0x161ac7?.['bodyMarkdown'] === _0x2e1cf5(_0x326155._0x44c452) ? _0x161ac7['bodyMarkdown'] : '', _0x1f7f1f = typeof _0x161ac7?.[_0x2e1cf5(_0x326155._0x3053a1)] === _0x2e1cf5(0xb2) && _0x161ac7[_0x2e1cf5(_0x326155._0x4e8809)] !== _0x2e1cf5(0xa2) ? _0x161ac7[_0x2e1cf5(0xf6)] : void 0x0;
|
|
956
|
+
_0x50061b && _0x4f3ce0 && _0x433070['push']({
|
|
957
|
+
'attachments': [],
|
|
958
|
+
'content': _0x4f3ce0,
|
|
959
|
+
'createdAt': new Date()[_0x2e1cf5(_0x326155._0x55920b)](),
|
|
960
|
+
..._0x1f7f1f ? { 'kind': _0x1f7f1f } : {},
|
|
961
|
+
'messageId': _0x496695,
|
|
962
|
+
'senderName': _0x5c3861(_0x50061b, _0x12da9a),
|
|
963
|
+
'senderType': _0x14212a(_0x50061b, _0x12da9a),
|
|
964
|
+
'target': _0x21ece1,
|
|
965
|
+
..._0x12e0d4 ? { 'targetedTask': !![] } : {}
|
|
966
|
+
});
|
|
967
|
+
}
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
if (_0x4d6683 > 0x0) {
|
|
971
|
+
if (_0x2fa118)
|
|
972
|
+
await _0x21f288(_0x4d6683);
|
|
973
|
+
else
|
|
974
|
+
_0x1d4d75 && await _0x37d5ac(_0x4d6683);
|
|
975
|
+
}
|
|
976
|
+
return _0x4d6683 > _0x27f929 && (_0x27f929 = _0x4d6683), { 'messages': _0x120924 ? _0x433070 : _0x592375 ? _0x433070['filter'](_0x5991e9 => _0x5991e9[_0x2e1cf5(0x18e)] !== !![]) : _0x433070 };
|
|
977
|
+
}
|
|
978
|
+
};
|
|
979
|
+
}
|
|
980
|
+
function toLocalTime(_0x3b0778) {
|
|
981
|
+
const _0x5ae2c0 = {
|
|
982
|
+
_0x5bb034: 0x163,
|
|
983
|
+
_0x52b00c: 0x19e,
|
|
984
|
+
_0x44fe21: 0x1b8,
|
|
985
|
+
_0xfdd346: 0x1b2
|
|
986
|
+
}, _0x3234e5 = _0x405cdd, _0x41ec9b = new Date(_0x3b0778);
|
|
987
|
+
if (Number[_0x3234e5(_0x5ae2c0._0x5bb034)](_0x41ec9b[_0x3234e5(0xad)]()))
|
|
988
|
+
return _0x3b0778;
|
|
989
|
+
const _0x3bbd13 = _0x3c0abb => String(_0x3c0abb)[_0x3234e5(0x157)](0x2, '0');
|
|
990
|
+
return _0x41ec9b['getFullYear']() + '-' + _0x3bbd13(_0x41ec9b['getMonth']() + 0x1) + '-' + _0x3bbd13(_0x41ec9b[_0x3234e5(_0x5ae2c0._0x52b00c)]()) + '\x20' + _0x3bbd13(_0x41ec9b[_0x3234e5(_0x5ae2c0._0x44fe21)]()) + ':' + _0x3bbd13(_0x41ec9b['getMinutes']()) + ':' + _0x3bbd13(_0x41ec9b[_0x3234e5(_0x5ae2c0._0xfdd346)]());
|
|
991
|
+
}
|
|
992
|
+
function _0x302d() {
|
|
993
|
+
const _0x462a6d = [
|
|
46
994
|
'zxnJywXHDgvFDg9FBwfPBG',
|
|
47
|
-
'
|
|
48
|
-
'
|
|
49
|
-
'
|
|
50
|
-
'
|
|
51
|
-
'
|
|
52
|
-
'
|
|
53
|
-
'
|
|
54
|
-
'
|
|
995
|
+
'l2LUDgvYBMfSl2fNzw50lW',
|
|
996
|
+
'Aw1Hz2uVD2vICa',
|
|
997
|
+
'B3jPz2LUywXgAwXLBMfTzq',
|
|
998
|
+
'AxngAwXL',
|
|
999
|
+
'l3nLCNzLCG',
|
|
1000
|
+
'y3jLyxrLx3rHC2TZ',
|
|
1001
|
+
'CMvHC29U',
|
|
1002
|
+
'ls1Zzxj2zxiTDxjS',
|
|
1003
|
+
'zw51Bq',
|
|
1004
|
+
'l3rHC2TZl2nSywLT',
|
|
1005
|
+
'DgfZAW',
|
|
1006
|
+
'AM9PBG',
|
|
1007
|
+
'y2XPzw50',
|
|
1008
|
+
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
1009
|
+
'ywz0zxjtzxe',
|
|
1010
|
+
'yxv0BZO',
|
|
1011
|
+
'BgvUz3rO',
|
|
1012
|
+
'cKLMihLVDxiGBwvTB3j5ig9YignOyw5UzwWGCNvSzxmGCMvXDwLYzsbYzxzPzxCSihnLBMqGysbTzxnZywDLig1LBNrPB25PBMCGDgHLihjLDMLLD2vYigjLzM9YzsbWyxjRAw5NlG',
|
|
1013
|
+
'l3DVCMTLCNmVCgfYAW',
|
|
1014
|
+
'DgfZAY0',
|
|
1015
|
+
'y3vYC29Y',
|
|
1016
|
+
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
1017
|
+
'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
|
|
1018
|
+
'sfruuca',
|
|
1019
|
+
'CgfYA193B3jRzxi',
|
|
1020
|
+
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
1021
|
+
'ntm4otuXohPxDfzyEG',
|
|
55
1022
|
'ywDLBNrjza',
|
|
56
|
-
'
|
|
57
|
-
'l2HPC3rVCNK/',
|
|
58
|
-
'iYmJienOyw5UzwXZ',
|
|
1023
|
+
'CgfYC2u',
|
|
59
1024
|
'DMLZAwjPBgL0Eq',
|
|
1025
|
+
'vxbKyxrLihrHC2SGC3rHDhvZigj5ignOyw5UzwWGyw5KihrHC2SGBNvTyMvYlIbgB3iGC3vIDgfZA3mSigfSC28GCgfZCYbZDwj0yxnRx251BwjLCI4Gv2HLBIbTB3zPBMCGD29YAYb0BYbPBL9YzxzPzxCSignOzwnRihLVDxiGBwvTB3j5ig9YignOyw5UzwWGCNvSzxmGyw5KihnLBMqGysbYzxzPzxDLCIbTzw50Aw9UihLVDxjZzwXMihDOzw4GyxbWCM9WCMLHDguU',
|
|
1026
|
+
'AgvHzgvYCW',
|
|
1027
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
|
|
1028
|
+
'ChvIBgLJ',
|
|
1029
|
+
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
1030
|
+
'uMvHzcb0AhjLywqGAgLZDg9YEsbIzwzVCMuGDgfRAw5NigfJDgLVBI4Grg8GBM90igvJAg8GDgHPCYbTzxnZywDLihrVihrOzsb0AhjLywqU',
|
|
1031
|
+
'C2LNBMfS',
|
|
1032
|
+
'iIbWyxjRzwqUifnHBwuTDgHYzwfKigzVBgXVDY11Ccb3AwXSihjLC3vTzsb0AgLZigXHBMuU',
|
|
60
1033
|
'Aw5JBhvKzxm',
|
|
61
|
-
'
|
|
62
|
-
'
|
|
63
|
-
'
|
|
64
|
-
'
|
|
65
|
-
'
|
|
66
|
-
'l3rHC2TZpW',
|
|
67
|
-
'ls13B3jRzxiTC2vZC2LVBI1Pza',
|
|
68
|
-
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
69
|
-
'z2v0rgf0zq',
|
|
1034
|
+
'v29YA2vYlw9UBhKUifbHCMSGDgHLign1CNjLBNqGD29YA2vYigXHBMuGywz0zxiGEw91igHHDMuGywXYzwfKEsbYzxbVCNrLzcbYzxn1BhrZigLUihrOAxmGDgHYzwfKlIbuAgLZigrVzxmGBM90igvUzcb0AguGC2vZC2LVBJSGC2fTzs10AhjLywqGzM9SBg93lxvWihDPBgWGCMvZDw1LihrOAxmGBgfUzs4',
|
|
1035
|
+
'C2vYDMvY',
|
|
1036
|
+
'DgHYzwfKvgfYz2v0pq',
|
|
1037
|
+
'DxjNzw50',
|
|
1038
|
+
'AhvTyw5Z',
|
|
70
1039
|
'C2vX',
|
|
71
|
-
'
|
|
72
|
-
'
|
|
73
|
-
'
|
|
74
|
-
'
|
|
75
|
-
'
|
|
76
|
-
'
|
|
77
|
-
'
|
|
78
|
-
'
|
|
1040
|
+
'CgfKu3rHCNq',
|
|
1041
|
+
'AgLNAa',
|
|
1042
|
+
'vgfZAZOG',
|
|
1043
|
+
'zgLZCg9ZAxrPB24',
|
|
1044
|
+
'CM9VDe1LC3nHz2vjza',
|
|
1045
|
+
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
1046
|
+
'D29YA2vYx3nLC3nPB25FAwq',
|
|
1047
|
+
'AgfZtw9Yzq',
|
|
1048
|
+
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
1049
|
+
'y29UDgvUDejHC2u2na',
|
|
1050
|
+
'C2vUze1LC3nHz2u',
|
|
1051
|
+
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
1052
|
+
'Axnoyu4',
|
|
1053
|
+
'y2HHBM5LBe5HBwu',
|
|
1054
|
+
'zxjYB3i',
|
|
1055
|
+
'Bg93',
|
|
1056
|
+
'C2vUzgvYtMfTzq',
|
|
1057
|
+
's0iPcKf0DgfJAg1LBNqGsuq6ia',
|
|
1058
|
+
'C3rVCe1HAw49Dhj1zq',
|
|
1059
|
+
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
1060
|
+
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
1061
|
+
'zMv0y2HjBxbS',
|
|
1062
|
+
'B2jQzwn0',
|
|
1063
|
+
'zMLUzenHy2HLzfbHDgG',
|
|
1064
|
+
'icHPzdO',
|
|
1065
|
+
'DxbKyxrLvgfZA1n0yxr1CW',
|
|
1066
|
+
'BgLZDf90yxnRCYbMywLSzwq',
|
|
1067
|
+
'CMvHzf9OAxn0B3j5',
|
|
79
1068
|
'zgLNzxn0',
|
|
80
|
-
'
|
|
81
|
-
'
|
|
82
|
-
'
|
|
83
|
-
'
|
|
84
|
-
'
|
|
85
|
-
'
|
|
86
|
-
'
|
|
87
|
-
'
|
|
88
|
-
'
|
|
89
|
-
'
|
|
90
|
-
'
|
|
91
|
-
'
|
|
92
|
-
'
|
|
93
|
-
'
|
|
94
|
-
'
|
|
95
|
-
'
|
|
96
|
-
'
|
|
97
|
-
'
|
|
1069
|
+
'y2HHBM5LBfrHCMDLDa',
|
|
1070
|
+
'CgfYDgLJAxbHBNq',
|
|
1071
|
+
'zgfLBw9UqxbPs2v5',
|
|
1072
|
+
'6k+35Rgcia',
|
|
1073
|
+
'yM9KEu1HCMTKB3DU',
|
|
1074
|
+
'nZK3mtKYD2DdAxv3',
|
|
1075
|
+
'DxbSB2fKuhjLCgfYzxi',
|
|
1076
|
+
'BMv4Den1CNnVCG',
|
|
1077
|
+
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
1078
|
+
'yM9KEvrLEhq',
|
|
1079
|
+
'ue9tva',
|
|
1080
|
+
'cGOTls0G',
|
|
1081
|
+
'C29Tzq',
|
|
1082
|
+
'mZC1nJmWyNzIqwHe',
|
|
1083
|
+
'yMfZzty0',
|
|
1084
|
+
'Dg9VBa',
|
|
1085
|
+
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
1086
|
+
'nZa3nZu3neTHrwzUwq',
|
|
1087
|
+
'C2f2zq',
|
|
1088
|
+
'y2XHAw1uyxnRCW',
|
|
98
1089
|
'DMLLD19MAwXL',
|
|
99
|
-
'
|
|
100
|
-
'
|
|
1090
|
+
'DMfSDwu',
|
|
1091
|
+
'Bwf0y2Hoyw1Ltg93zxi',
|
|
1092
|
+
'y29UDgvUDfr5Cgu',
|
|
1093
|
+
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
1094
|
+
'CNvUswq',
|
|
1095
|
+
'DgfYz2v0zwruyxnR',
|
|
101
1096
|
'iYmGu2vYDMvYoIa',
|
|
1097
|
+
'sgfUzg9MzIb0BYb3B3jRzxiGzM9YihrHC2SG',
|
|
1098
|
+
'w3rHCMDLDd0',
|
|
1099
|
+
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
1100
|
+
'zgfLBw9Utg9JywXvCMW',
|
|
1101
|
+
'DgfYz2v0zwq',
|
|
1102
|
+
'y2XHAw0GzMfPBgvK',
|
|
1103
|
+
'BNvTyMvY',
|
|
1104
|
+
'y2HLy2TnzxnZywDLCW',
|
|
1105
|
+
'iYmJienOyw5UzwXZ',
|
|
1106
|
+
'Aw1Hz2uVC3zNk3HTBa',
|
|
1107
|
+
'DMfSDwvZ',
|
|
102
1108
|
'DgfZA3m',
|
|
103
|
-
'
|
|
104
|
-
'
|
|
105
|
-
'
|
|
106
|
-
'
|
|
107
|
-
'
|
|
1109
|
+
'CgfYC2vjBNq',
|
|
1110
|
+
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
1111
|
+
'z2v0rgf0zq',
|
|
1112
|
+
'AhjLzG',
|
|
1113
|
+
'Dw5RBM93BG',
|
|
1114
|
+
'yxr0ywnOBwvUDhm',
|
|
1115
|
+
'Dg9ju09tDhjPBMC',
|
|
1116
|
+
'w3nLCt0',
|
|
1117
|
+
'DgfYz2v0',
|
|
1118
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
1119
|
+
'EM9K',
|
|
1120
|
+
'igLUia',
|
|
1121
|
+
'zMLSDgvY',
|
|
1122
|
+
'lcbWCMv2Awv3pq',
|
|
1123
|
+
'BwfW',
|
|
1124
|
+
'C3rHCNrLza',
|
|
1125
|
+
'ls1KywvTB24TBg9JywWTDxjS',
|
|
1126
|
+
'D29YA19RzxK',
|
|
1127
|
+
'l3rHC2TZ',
|
|
1128
|
+
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw5UB3qGy2XHAw0GyNKGBwvZC2fNzv9PzhmGkhrVCc1SzxzLBcbTzxnZywDLihbYB21VDgLVBIbPCYbTywLUlwfNzw50ig9UBhKPoYb1C2uGC3vIDgfZA19UDw1IzxjZigLUC2LKzsb5B3vYig93BIb0yxnRihrOCMvHzc4',
|
|
1129
|
+
'ywjVCNq',
|
|
1130
|
+
'igfSCMvHzhKGAgfZigfUigfJDgL2zsb3B3jRzxiUihn0B3bnywLUpxrYDwuGzxHLy3v0Aw9Utw9Kzt13B3jRzxi',
|
|
1131
|
+
'z2v0u2vJB25KCW',
|
|
1132
|
+
'4PQG77IpifDpuKTfuIbbq1rjvKfuruqG4Ocuifn0B3aGquXmihDVCMSGB24GDgHPCYb0yxnRigLTBwvKAwf0zwX5lIbeBYbUB3qGC2vUzcbMDxj0AgvYig1LC3nHz2vZihrVihrOAxmGDgHYzwfKlG',
|
|
1133
|
+
'kgXLz2fJEsK',
|
|
1134
|
+
'igrVBMuP',
|
|
1135
|
+
'Dg9tDhjPBMC',
|
|
1136
|
+
'C2L6zuj5DgvZ',
|
|
1137
|
+
'z2v0sg91CNm',
|
|
1138
|
+
'tM8GDgfZA3mGy3jLyxrLzc4',
|
|
1139
|
+
'ig1LC3nHz2u9',
|
|
1140
|
+
'u2vUzcbHig1LC3nHz2uUieLMihzPC2LIAwXPDhKGAxmGB21PDhrLzcWGDgHLig1LC3nHz2uGAxmGChvIBgLJlIbjBIb0yxnRihrOCMvHzhmSihnLDcb2AxnPyMLSAxr5oIbHC2LKzsbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Gt3v0C2LKzsb0AhjLywrZlcbKBYbUB3qGC2v0ihzPC2LIAwXPDhKUifjLDxnLihrOzsbLEgfJDcb0yxjNzxqGC3rYAw5NigzYB20GAw5JB21PBMCGBwvZC2fNzxmU',
|
|
1141
|
+
'Bwf4',
|
|
1142
|
+
'z2v0x3DVCMTLCL9ZDgf0DxmGzMfPBgvK',
|
|
1143
|
+
'y2XHAw1FDgfZA3m',
|
|
108
1144
|
'C3vIDgfZA19UDw1Izxi',
|
|
109
|
-
'
|
|
110
|
-
'
|
|
111
|
-
'zxHLy3v0Aw9Utw9Kzq',
|
|
112
|
-
'iokaLcb1C2uGDMLLD19MAwXLihrVihnLzv0',
|
|
113
|
-
'l3jLy2vPDMu',
|
|
114
|
-
'ig1LC3nHz2vZkqOk',
|
|
115
|
-
'AxngAw5PDgu',
|
|
116
|
-
'CMvXDwvZDfvYBa',
|
|
117
|
-
'y2HHBM5LBe5HBwu',
|
|
1145
|
+
'khvUA25VD24P',
|
|
1146
|
+
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
118
1147
|
'lsaJ',
|
|
119
|
-
'
|
|
120
|
-
'
|
|
121
|
-
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
122
|
-
'4PQG77IpifDpuKTfuIbbq1rjvKfuruqG4Ocuifn0B3aGquXmihDVCMSGB24GDgHPCYb0yxnRigLTBwvKAwf0zwX5lIbeBYbUB3qGC2vUzcbMDxj0AgvYig1LC3nHz2vZihrVihrOAxmGDgHYzwfKlG',
|
|
1148
|
+
'C2nOzwr1BgvKrM9Y',
|
|
1149
|
+
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
123
1150
|
'ChvZAa',
|
|
124
|
-
'DgfZAY0',
|
|
125
|
-
'zgvZy3jPChrPB24',
|
|
126
|
-
'v29YA2vYici',
|
|
127
|
-
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
128
|
-
'mtCYodHrAxPtDNe',
|
|
129
|
-
'C2LNBMfS',
|
|
130
|
-
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
131
1151
|
'zM9Yy2vszwzYzxnO',
|
|
132
|
-
'
|
|
133
|
-
'
|
|
134
|
-
'DgHYzwfKtNvTyMvY',
|
|
135
|
-
'zxH0BMfTzq',
|
|
136
|
-
'Dgv4Dc9JC3y',
|
|
137
|
-
'yxbWBgLJyxrPB24VANnVBG',
|
|
138
|
-
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
139
|
-
'C2vYDMvYvxjS',
|
|
140
|
-
'D29YA2vYsgfUzg9MzJ10CNvL',
|
|
141
|
-
'ihr5Cgu9ywDLBNq',
|
|
142
|
-
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
143
|
-
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
144
|
-
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
145
|
-
'zgvSzxrL',
|
|
146
|
-
'C2vZC2LVBKLK',
|
|
147
|
-
'CMvHC29U',
|
|
148
|
-
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
149
|
-
'y2XPzw50',
|
|
150
|
-
'C29Tzq',
|
|
151
|
-
'yxbWBgLJyxrPB24VEMLW',
|
|
152
|
-
'l3rHC2TZl2nSywLT',
|
|
153
|
-
'CgfYDgLJAxbHBNrjza',
|
|
154
|
-
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
155
|
-
'Dw5RBM93BG',
|
|
156
|
-
'C3bSAxq',
|
|
157
|
-
'mc4WlJa',
|
|
158
|
-
'AxnjBNrLz2vY',
|
|
159
|
-
'Ahr0CdO',
|
|
160
|
-
'BwvZC2fNzuLK',
|
|
161
|
-
'Dw5JBgfPBvrHC2S',
|
|
162
|
-
'C3vIDgfZA19UDw1IzxjZ',
|
|
163
|
-
'mJKWmdi1AvjwwhfT',
|
|
164
|
-
'zgvZDhjVEwvK',
|
|
165
|
-
'Aw1Hz2uVz2LM',
|
|
166
|
-
'y3vYC29Y',
|
|
167
|
-
'DgHYzwfK',
|
|
168
|
-
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
169
|
-
'Bwf4',
|
|
170
|
-
't3b0Aw9UywWUieLMig9TAxr0zwqSihrOzsbTzxnZywDLigLZihb1yMXPyY4Gsw4GDgfZAYb0AhjLywrZlcbZzxqGiMfZAwrLiIbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Grg8GBM90ihnLDcbVDxrZAwrLihrOCMvHzhmU',
|
|
171
|
-
'zgvZy3jPyMu',
|
|
172
|
-
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
173
|
-
'ANnVBG',
|
|
174
|
-
'tM8GDgfZA3mGzM91BMqU',
|
|
175
|
-
'DxbSB2fKx2zPBgu',
|
|
176
|
-
'z2v0',
|
|
177
|
-
'C29YDa',
|
|
178
|
-
'BMfTzq',
|
|
179
|
-
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
180
|
-
'ignSywLTzwq',
|
|
181
|
-
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw4GB25SEsbJBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCNmU',
|
|
182
|
-
'Cgf5Bg9HzePZB24',
|
|
183
|
-
'CMvZDwX0sNnVBG',
|
|
184
|
-
'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
|
|
185
|
-
'BNvTyMvY',
|
|
186
|
-
'CM9VDe1LC3nHz2vjza',
|
|
187
|
-
'y2HPBgrYzw5uB3rHBa',
|
|
188
|
-
'yxv0BZO',
|
|
189
|
-
'l3n0yxj0',
|
|
190
|
-
'l2nVBNrLBNq',
|
|
191
|
-
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
192
|
-
'rg93BMXVywrLzcb0BZOG',
|
|
193
|
-
'kgXLz2fJEsK',
|
|
194
|
-
'igzHAwXLzdOG',
|
|
195
|
-
'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
|
|
196
|
-
'Aw1Hz2uVCg5N',
|
|
197
|
-
'yxr0ywnOBwvUDhm',
|
|
198
|
-
'y2HLy2TFBwvZC2fNzxm',
|
|
199
|
-
'BM93',
|
|
1152
|
+
'mJa2nduYBMvxrvLW',
|
|
1153
|
+
'C2L6zq',
|
|
200
1154
|
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWGB3iGDgHYzwfKlIbuAhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPihjLDhvYBNmGDgHLihbHCMvUDcb0yxnRihbSDxmGAxrZihn1yNrHC2TZihDPDgGGywDNCMvNyxrPB24GzMLLBgrZicHJAgLSzhjLBLrVDgfSlcbJAgLSzhjLBKrVBMuSignOAwXKCMvUsw5qCM9NCMvZCYKUienOyw5UzwWGDgfYz2v0ihjLDhvYBNmGB25SEsbWyxjLBNqGDgfZA3mGkg5Vihn1yNrHC2TZks4',
|
|
201
|
-
'
|
|
202
|
-
'
|
|
203
|
-
'
|
|
204
|
-
'
|
|
205
|
-
'
|
|
206
|
-
'zxzLBNrtzxe',
|
|
207
|
-
'C2v0',
|
|
208
|
-
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
209
|
-
'C2vUzf9TzxnZywDL',
|
|
210
|
-
'igrVBMuP',
|
|
211
|
-
'C2vUzf9TzxnZywDLigzHAwXLza',
|
|
212
|
-
'lcbWCMv2Awv3pq',
|
|
213
|
-
'zxHLy3v0Aw9Utw9Kzt0',
|
|
214
|
-
'Aw5FCMv2Awv3',
|
|
215
|
-
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
216
|
-
'yxjYyxLcDwzMzxi',
|
|
217
|
-
'BwvTyMvY',
|
|
218
|
-
'sfruuca',
|
|
219
|
-
'C2vUzgvYtMfTzq',
|
|
1155
|
+
'v29YA2vYia',
|
|
1156
|
+
'yxjYyxK',
|
|
1157
|
+
'l3rHC2TZpW',
|
|
1158
|
+
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
1159
|
+
'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
|
|
220
1160
|
'CgfYA193B3jRzxiGzMfPBgvK',
|
|
221
|
-
'
|
|
222
|
-
'zMv0y2HjBxbS',
|
|
223
|
-
'CMvWBgfJzq',
|
|
224
|
-
'l3rHC2TZl3vUy2XHAw0',
|
|
225
|
-
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
226
|
-
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
227
|
-
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
228
|
-
'y2XHAw0GzMfPBgvK',
|
|
229
|
-
'ig1LC3nHz2vZihnOB3DUlIbvC2uGyMvMB3jLpq',
|
|
1161
|
+
'mtu5oduYnMvRAvbdsW',
|
|
230
1162
|
'yMvMB3jL',
|
|
1163
|
+
'z2v0',
|
|
1164
|
+
'BgLTAxq',
|
|
1165
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
1166
|
+
'C3vIDgfZA19UDw1IzxjZ',
|
|
1167
|
+
'y2HPBgrYzw5uB3rHBa',
|
|
231
1168
|
'y2HPBgrYzw5eB25L',
|
|
232
|
-
'
|
|
233
|
-
'
|
|
234
|
-
'Dgv4Da',
|
|
235
|
-
'ls1KywvTB24TBg9JywWTDxjS',
|
|
236
|
-
'Dgv4Dc9WBgfPBG',
|
|
237
|
-
'rMLSzsbUB3qGzM91BMq6ia',
|
|
238
|
-
'DgHYzwfKu2HVCNrjza',
|
|
239
|
-
'ktSGz290ignOyw5UzwW9',
|
|
240
|
-
'EM9K',
|
|
241
|
-
'D29YA2vYtw9Kzq',
|
|
242
|
-
'ywz0zxjtzxe',
|
|
243
|
-
'DgfZAW',
|
|
244
|
-
'CgfYC2vjBNq',
|
|
245
|
-
'D29YA2vYtw9KzuvUywjSzwq',
|
|
246
|
-
'C3rHCNrLza',
|
|
247
|
-
'C3rYAw5N',
|
|
248
|
-
'DgfZA051BwjLCG',
|
|
1169
|
+
't3b0Aw9UywWUieLMig9TAxr0zwqSihrOzsbTzxnZywDLigLZihb1yMXPyY4Gsw4GDgfZAYb0AhjLywrZlcbZzxqGiMfZAwrLiIbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Grg8GBM90ihnLDcbVDxrZAwrLihrOCMvHzhmU',
|
|
1170
|
+
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw4GB25SEsbJBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCNmU',
|
|
249
1171
|
'igTPBMq9',
|
|
250
|
-
'
|
|
251
|
-
'
|
|
252
|
-
'
|
|
253
|
-
'
|
|
254
|
-
'
|
|
255
|
-
'
|
|
256
|
-
'
|
|
257
|
-
'
|
|
258
|
-
'icHPzdO',
|
|
1172
|
+
'y2HLy2TFBwvZC2fNzxm',
|
|
1173
|
+
'iYmJieH1BwfUCW',
|
|
1174
|
+
'y2fJAgveAxi',
|
|
1175
|
+
'Aw5FCMv2Awv3',
|
|
1176
|
+
'ywDNCMvNyxrLswrZ',
|
|
1177
|
+
'D29YA2vY',
|
|
1178
|
+
'pgvTChr5pG',
|
|
1179
|
+
'ywDNCMvNyxrLswq',
|
|
259
1180
|
'CxvLDwvK',
|
|
260
|
-
'iIbUB3qGzM91BMq',
|
|
261
|
-
'A2LUza',
|
|
262
|
-
'nJm3nJy1vwnXAfrf',
|
|
263
|
-
'zNjVBq',
|
|
264
|
-
'BgLZDf90yxnRCW',
|
|
265
|
-
'y2HHBM5LBeLK',
|
|
266
1181
|
'ls1KywvTB24TyxbPlwTLEq',
|
|
267
|
-
'
|
|
268
|
-
'
|
|
1182
|
+
'yxbWBgLJyxrPB24VEMLW',
|
|
1183
|
+
'BwvZC2fNzq',
|
|
1184
|
+
'BwLU',
|
|
1185
|
+
'lcbJB250zw50lxr5Cgu9',
|
|
1186
|
+
'CMvHzeHPC3rVCNK',
|
|
1187
|
+
'CNvUBMLUzW',
|
|
269
1188
|
'zg9Uzq',
|
|
270
|
-
'
|
|
271
|
-
'
|
|
272
|
-
'
|
|
273
|
-
'
|
|
274
|
-
'DgfYz2v0zwruyxnR',
|
|
275
|
-
'C2L6zq',
|
|
276
|
-
'zgLZCg9ZAxrPB24',
|
|
277
|
-
'Axnoyu4',
|
|
278
|
-
'z2v0x3DVCMTLCL9ZDgf0DxmGzMfPBgvK',
|
|
279
|
-
'Aw5FChjVz3jLC3m',
|
|
280
|
-
'ls1Zzxj2zxiTDxjS',
|
|
281
|
-
'y2HHDa',
|
|
282
|
-
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmVy2XHAw0',
|
|
283
|
-
'D29YA2vYu2vZC2LVBKLK',
|
|
284
|
-
'y2XHAw1uyxnRCW',
|
|
285
|
-
'C2vYDMvY',
|
|
286
|
-
'DgfZA19Pza',
|
|
287
|
-
'v29YA2vYlw9UBhKUifbHCMSGDgHLign1CNjLBNqGD29YA2vYigXHBMuGywz0zxiGEw91igHHDMuGywXYzwfKEsbYzxbVCNrLzcbYzxn1BhrZigLUihrOAxmGDgHYzwfKlIbuAgLZigrVzxmGBM90igvUzcb0AguGC2vZC2LVBJSGC2fTzs10AhjLywqGzM9SBg93lxvWihDPBgWGCMvZDw1LihrOAxmGBgfUzs4',
|
|
1189
|
+
'AxnjBNrLz2vY',
|
|
1190
|
+
'Dw5JBgfPBv90yxnR',
|
|
1191
|
+
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
1192
|
+
'BwvZC2fNzuLK',
|
|
288
1193
|
'vgHYzwfKihrHCMDLDdOG',
|
|
289
|
-
'
|
|
290
|
-
'
|
|
291
|
-
'
|
|
292
|
-
'
|
|
293
|
-
'
|
|
294
|
-
'
|
|
295
|
-
'
|
|
296
|
-
'DgvZDa',
|
|
297
|
-
'iIbWyxjRzwqUifnHBwuTDgHYzwfKigzVBgXVDY11Ccb3AwXSihjLC3vTzsb0AgLZigXHBMuU',
|
|
298
|
-
'6k+35Rgcia',
|
|
299
|
-
'zgf0yq',
|
|
300
|
-
'ihrPBwu9',
|
|
301
|
-
'CMvHzf9OAxn0B3j5',
|
|
302
|
-
'Aw1Hz2uVANbLzW',
|
|
303
|
-
'khvUA25VD24P',
|
|
304
|
-
'ls1Hz2vUDc1Pza',
|
|
305
|
-
'B2jQzwn0',
|
|
306
|
-
'l2zPBMLZAa',
|
|
307
|
-
'y2HHBM5LBa',
|
|
308
|
-
'yxr0ywnOBwvUDenHy2HL',
|
|
309
|
-
'DMfSDwvZ',
|
|
310
|
-
'yM9KEvrLEhq',
|
|
311
|
-
'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlIbgB3iGC3vIDgfZA3mGAw4Gysb0AhjLywqSihvZzsbZDwj0yxnRx251BwjLCNmGD2L0AcbHihnPBMDSzsb0yxnRx251BwjLCNmGzw50CNKU',
|
|
312
|
-
'y3jLyxrLx3rHC2TZ',
|
|
313
|
-
'Aw5KzxHpzG',
|
|
314
|
-
'zw51Bq',
|
|
315
|
-
'yxr0ywnOBwvUDeLKCW',
|
|
316
|
-
'DxbKyxrLvgfZA1n0yxr1CW',
|
|
317
|
-
'zw50zxiTAgfUzg9MzIbMywLSzwq',
|
|
318
|
-
'zg0T',
|
|
319
|
-
'Dg9KBW',
|
|
320
|
-
'BwLU',
|
|
321
|
-
'yM9KEu1HCMTKB3DU',
|
|
322
|
-
'mJi0nda1nKDgvKTzAG',
|
|
323
|
-
'ue9tva',
|
|
324
|
-
'D29YA2vYsgfUzg9MzG',
|
|
325
|
-
'DgfZA0LK',
|
|
1194
|
+
'DxbSB2fKx2zPBgu',
|
|
1195
|
+
'DgfZA19Pza',
|
|
1196
|
+
'yxjNDG',
|
|
1197
|
+
'ls13B3jRzxiTDgHYzwfKlxrHCMDLDa',
|
|
1198
|
+
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
1199
|
+
'D29YA2vYsgfUzg9MzKvYCM9Y',
|
|
1200
|
+
'ywXS',
|
|
326
1201
|
'zxHWAxjLC0f0',
|
|
327
|
-
'
|
|
328
|
-
'
|
|
329
|
-
'
|
|
330
|
-
'yMfZzty0',
|
|
331
|
-
'BgLTAxq',
|
|
332
|
-
'l3jLC29SDMuTy2HHBM5LBa',
|
|
333
|
-
'C2vYDMvYtMfTzq',
|
|
334
|
-
'zMLSDgvY',
|
|
335
|
-
'igfSCMvHzhKGAgfZigfUigfJDgL2zsb3B3jRzxiUihn0B3bnywLUpxrYDwuGzxHLy3v0Aw9Utw9Kzt13B3jRzxi',
|
|
336
|
-
'C2vUze1LC3nHz2u',
|
|
337
|
-
'yxbWBgLJyxrPB24VEg1S',
|
|
338
|
-
'Dg9tDhjPBMC',
|
|
339
|
-
'uefuq0G',
|
|
340
|
-
'y2HHBM5LBfrHCMDLDa',
|
|
341
|
-
'xsba',
|
|
342
|
-
'Dg9VBa',
|
|
343
|
-
'DgHYzwfKx3rHCMDLDa',
|
|
344
|
-
'BwvZC2fNzq',
|
|
345
|
-
'igLUia',
|
|
346
|
-
'DxbSB2fKx2zPBguGzMfPBgvK',
|
|
347
|
-
'BwfW',
|
|
348
|
-
'ywDNCMvNyxrLvhLWzq',
|
|
349
|
-
'C3rVCe1HAw49Dhj1zq',
|
|
350
|
-
'BgLZDfrHC2TZ',
|
|
351
|
-
'Dg9gAxHLza',
|
|
352
|
-
'Bwv0yq',
|
|
353
|
-
'u2vUzcbHig1LC3nHz2uUieLMihzPC2LIAwXPDhKGAxmGB21PDhrLzcWGDgHLig1LC3nHz2uGAxmGChvIBgLJlIbjBIb0yxnRihrOCMvHzhmSihnLDcb2AxnPyMLSAxr5oIbHC2LKzsbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Gt3v0C2LKzsb0AhjLywrZlcbKBYbUB3qGC2v0ihzPC2LIAwXPDhKUifjLDxnLihrOzsbLEgfJDcb0yxjNzxqGC3rYAw5NigzYB20GAw5JB21PBMCGBwvZC2fNzxmU',
|
|
1202
|
+
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
1203
|
+
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
1204
|
+
'BwvZC2fNzv9Pzhm',
|
|
354
1205
|
'zMLUza',
|
|
355
|
-
'
|
|
356
|
-
'yxr0ywnOBwvUDeLK',
|
|
357
|
-
'DgfYz2v0',
|
|
358
|
-
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
359
|
-
'AwrLBxbVDgvUy3LFA2v5',
|
|
360
|
-
'C3rVCe1HAw4',
|
|
361
|
-
'y2XHAw1FDgfZA3m',
|
|
362
|
-
'AgvHzgvYCW',
|
|
363
|
-
'w3rHCMDLDd0',
|
|
364
|
-
'C2L6zuj5DgvZ',
|
|
365
|
-
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
366
|
-
'ywjVCNrLza',
|
|
367
|
-
'y2f0y2G',
|
|
1206
|
+
'DgL0Bgu',
|
|
368
1207
|
'ywrK',
|
|
369
|
-
'
|
|
370
|
-
'
|
|
371
|
-
'Aw1Hz2uVC3zNk3HTBa',
|
|
372
|
-
'ls1ZzxnZAw9UlwLK',
|
|
373
|
-
'rg8GBM90ihnLBMqGzNvYDgHLCIbTzxnZywDLCYb0BYb0AgLZihrOCMvHzcdIGjqGDgHLihDVCMTLCIbPCYbOyw5KBgLUzYbPDc4',
|
|
374
|
-
'oIb3B3jRzxiGy2fUig9UBhKGB3bLCMf0zsbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcaO',
|
|
1208
|
+
'nuPxBNHmtW',
|
|
1209
|
+
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
375
1210
|
'CMvZCg9UC2u',
|
|
376
|
-
'
|
|
377
|
-
'
|
|
378
|
-
'
|
|
379
|
-
'
|
|
380
|
-
'
|
|
381
|
-
'
|
|
382
|
-
'
|
|
383
|
-
'
|
|
384
|
-
'
|
|
385
|
-
'
|
|
386
|
-
'
|
|
387
|
-
'
|
|
1211
|
+
'Ahr0CdO',
|
|
1212
|
+
'ihn0yxr1CZ0',
|
|
1213
|
+
'y29UDgvUDa',
|
|
1214
|
+
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
1215
|
+
'DxrMoa',
|
|
1216
|
+
'D3nZoG',
|
|
1217
|
+
'l3nLBMq',
|
|
1218
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
1219
|
+
'B3b0Aw9UywW',
|
|
1220
|
+
'yxr0ywnOBwvUDenHy2HL',
|
|
1221
|
+
'lIbZDg9WtwfPBJ10CNvLigv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
1222
|
+
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4Gsw4Gysb0AhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPlcbJCMvHDgvZihn1yNrHC2TZihvUzgvYihrOzsbLEgLZDgLUzYbWyxjLBNqGDgfZAY4',
|
|
1223
|
+
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
1224
|
+
'ywDNCMvNyxrLvhLWzq',
|
|
1225
|
+
'cUkAOo+4JYbxt1jlrviGqunusvzbveveiokaLcbtDg9Wiefmtcb3B3jRig9UihrOAxmGDgfZAYbPBw1LzgLHDgvSEs4Gv29YA2vYigHHBMrSzxmGzxHLy3v0Aw9UigvUzc10BY1LBMqU',
|
|
1226
|
+
'C3rHDhvZ',
|
|
1227
|
+
'zMv0y2HuAw1LB3v0txm',
|
|
1228
|
+
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
1229
|
+
'DgvZDa',
|
|
1230
|
+
'v29YA2vYici',
|
|
388
1231
|
'ywDLBNrZ',
|
|
1232
|
+
'BgLZDf90yxnRCW',
|
|
1233
|
+
'DgfZA051BwjLCG',
|
|
1234
|
+
'zMLSzw5HBwu',
|
|
1235
|
+
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
1236
|
+
'y2HHBM5LBhm',
|
|
1237
|
+
'oIb3B3jRzxiGCNvUDgLTzsbTAxnZAw5NihDVCMTLCLrOCMvHzfrHCMDLDdSGy2fUBM90ihzHBgLKyxrLihnJB3bL',
|
|
389
1238
|
'Bg9JywXLq29TCgfYzq',
|
|
390
|
-
'C2HHmJu2',
|
|
391
|
-
'Dg9ju09tDhjPBMC',
|
|
392
|
-
'nZqYmJC2mNblBwzPBq',
|
|
393
|
-
'lcbJB250zw50lxr5Cgu9',
|
|
394
|
-
'zgfLBw9Utg9JywXvCMW',
|
|
395
|
-
'ihn0yxr1CZ0',
|
|
396
|
-
'zxjYB3i',
|
|
397
|
-
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
398
|
-
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
399
|
-
'uM9VDcb0yxnRig1LC3nHz2u6cG',
|
|
400
|
-
'vxbKyxrLihrHC2SGC3rHDhvZigj5ignOyw5UzwWGyw5KihrHC2SGBNvTyMvYlIbgB3iGC3vIDgfZA3mSigfSC28GCgfZCYbZDwj0yxnRx251BwjLCI4',
|
|
401
|
-
'BwvTyMvYCW',
|
|
402
|
-
'D29YA2vY',
|
|
403
1239
|
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
404
|
-
'
|
|
405
|
-
'
|
|
406
|
-
'
|
|
407
|
-
'
|
|
408
|
-
'
|
|
1240
|
+
'C3rYAw5NAwz5',
|
|
1241
|
+
'ywjVCNrLza',
|
|
1242
|
+
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
|
|
1243
|
+
'ywDLBNq',
|
|
1244
|
+
'C3vJy2vZCW',
|
|
1245
|
+
'C3rHCNrZv2L0Aa',
|
|
1246
|
+
'ig1ZzZ0',
|
|
1247
|
+
'y2HHDa',
|
|
1248
|
+
'DgHYzwfKvgfYz2v0',
|
|
1249
|
+
'l3rHC2TZl3vUy2XHAw0',
|
|
1250
|
+
'iIbUB3qGzM91BMq',
|
|
1251
|
+
'ywz0zxi',
|
|
1252
|
+
'iokaLcb1C2uGDMLLD19MAwXLihrVihnLzv0',
|
|
1253
|
+
'yMfZzw5HBwu',
|
|
1254
|
+
'DgHYzwfKu2HVCNrjza',
|
|
1255
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
409
1256
|
'twLZC2LUzYaTlwrHzw1VBI1HCgKTA2v5',
|
|
410
|
-
'
|
|
1257
|
+
'twvZC2fNzsbZzw50ihrVia',
|
|
1258
|
+
'z2v0vgLTzq',
|
|
1259
|
+
'lIbnzxnZywDLieLeoIa',
|
|
1260
|
+
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
1261
|
+
'uefuq0G',
|
|
1262
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxm',
|
|
1263
|
+
'C3rYAw5N',
|
|
1264
|
+
'D29YA2vYtw9Kzq',
|
|
1265
|
+
'Cgf5Bg9HzePZB24',
|
|
1266
|
+
'yxbWBgLJyxrPB24VEg1S',
|
|
1267
|
+
'D29YA2vYCW',
|
|
1268
|
+
'C2v0',
|
|
1269
|
+
'CMvZDwX0sNnVBG',
|
|
1270
|
+
'zw50CMLLCW',
|
|
1271
|
+
't3jPz2LUywWGBwvZC2fNztOG',
|
|
1272
|
+
'Dg9mB3DLCKnHC2u',
|
|
1273
|
+
'y2XHAw1FDgfZA3mGzMfPBgvK',
|
|
1274
|
+
'ihr5Cgu9ywDLBNq',
|
|
1275
|
+
'DxnLCG',
|
|
1276
|
+
'C2vUzf9TzxnZywDLigzHAwXLza',
|
|
1277
|
+
'y3jLyxrLx3rHC2TZigzHAwXLza',
|
|
1278
|
+
'DgHYzwfKtNvTyMvY',
|
|
1279
|
+
'C3vIDgfZA051BwjLCG',
|
|
1280
|
+
'yxr0ywnOBwvUDeLKCW',
|
|
1281
|
+
'zMfSC2u',
|
|
1282
|
+
'C2vUzf9TzxnZywDL',
|
|
1283
|
+
'zxHLy3v0Aw9Utw9Kzt0',
|
|
1284
|
+
'C2vYDMvYtMfTzq',
|
|
1285
|
+
'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
|
|
1286
|
+
'zgvZy3jPyMu',
|
|
1287
|
+
'yxbWBgLJyxrPB24VANnVBG',
|
|
1288
|
+
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
1289
|
+
'Aw5FChjVz3jLC3m',
|
|
1290
|
+
'y2HHBM5LBa',
|
|
1291
|
+
'Dgv4Da',
|
|
1292
|
+
'AwrLBxbVDgvUy3LFA2v5',
|
|
1293
|
+
'ChjVDg9JB2W',
|
|
1294
|
+
'ls13B3jRzxiTBw9Kzq',
|
|
1295
|
+
'C3rVCe1HAw4',
|
|
1296
|
+
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
1297
|
+
'zgvZy3jPChrPB24',
|
|
1298
|
+
'zg0T',
|
|
1299
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
1300
|
+
'ihrPBwu9',
|
|
1301
|
+
'y3jLyxrLzef0',
|
|
1302
|
+
'zg06',
|
|
1303
|
+
'C2vZC2LVBKLK',
|
|
1304
|
+
'CMvXDwvZDfvYBa',
|
|
1305
|
+
'Aw1Hz2uVANbLzW',
|
|
1306
|
+
'Dg9gAxHLza',
|
|
1307
|
+
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
1308
|
+
'CMvJB3jK',
|
|
1309
|
+
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
1310
|
+
'yxjYyxLcDwzMzxi',
|
|
1311
|
+
'BM93',
|
|
1312
|
+
'zxH0BMfTzq',
|
|
1313
|
+
'CgfYDgLJAxbHBNrjza',
|
|
1314
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVC3rKAw8UANm',
|
|
411
1315
|
'AgfZ',
|
|
412
|
-
'
|
|
413
|
-
'
|
|
1316
|
+
'Bwf0y2Hoyw1L',
|
|
1317
|
+
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
1318
|
+
'yxnPzgu',
|
|
1319
|
+
'Aw1Hz2uVz2LM',
|
|
1320
|
+
'zgvZDhjVEwvK',
|
|
1321
|
+
'Ahr0Chm6',
|
|
1322
|
+
'yxr0ywnOBwvUDf9Pza',
|
|
1323
|
+
'yxr0ywnOBwvUDeLK',
|
|
1324
|
+
'AxnbyNnVBhv0zq',
|
|
1325
|
+
'DgHYzwfK',
|
|
1326
|
+
'ignSywLTzwq',
|
|
1327
|
+
'Dw5JBgfPBvrHC2S',
|
|
1328
|
+
'BwvZC2fNzxm',
|
|
1329
|
+
'ANnVBG',
|
|
1330
|
+
'ls1PBML0AwfSlwXHC3qTC2vLBI1Zzxe',
|
|
1331
|
+
'A2LUza',
|
|
1332
|
+
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
1333
|
+
'zg93BMXVywrbDhrHy2HTzw50',
|
|
1334
|
+
'xsbaC3LZDgvToIbBy2XHAw0TAgfUzg9MzL0G',
|
|
1335
|
+
'ndG4mZm4nfnSA2z3yG',
|
|
1336
|
+
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxjYB3i9',
|
|
1337
|
+
'D29YA2vYsgfUzg9MzG',
|
|
1338
|
+
'BgLZDfrHC2TZ',
|
|
1339
|
+
'DMLLD19MAwXLigzHAwXLza',
|
|
1340
|
+
'Bwv0yq',
|
|
1341
|
+
'r0vu',
|
|
1342
|
+
'C2vYDMvYvxjS',
|
|
1343
|
+
'zgvSzxrL',
|
|
414
1344
|
'l3vWBg9Hza',
|
|
1345
|
+
'BMfTzq',
|
|
1346
|
+
'zxHLy3v0Aw9Utw9Kzq',
|
|
1347
|
+
'Dg9KBW',
|
|
1348
|
+
'y3jLyxrLvgfZA3m',
|
|
1349
|
+
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
1350
|
+
'CMvZB2X2zvrHCMDLDa',
|
|
1351
|
+
'D29YA2vYtw9KzuvUywjSzwq',
|
|
1352
|
+
'ls1ZzxnZAw9UlwLK',
|
|
1353
|
+
'oIb3B3jRzxiGy2fUig9UBhKGB3bLCMf0zsbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcaO',
|
|
415
1354
|
'C2vUzgvYvhLWzq',
|
|
416
|
-
'
|
|
417
|
-
'
|
|
418
|
-
'
|
|
419
|
-
'
|
|
420
|
-
'
|
|
421
|
-
'CgfYC2u',
|
|
422
|
-
'y2fJAgveAxi',
|
|
423
|
-
'twvZC2fNzsbZzw50ihrVia',
|
|
424
|
-
'BwvKAxvT',
|
|
425
|
-
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw5UB3qGy2XHAw0GyNKGBwvZC2fNzv9PzhmGkhrVCc1SzxzLBcbTzxnZywDLihbYB21VDgLVBIbPCYbTywLUlwfNzw50ig9UBhKPoYb1C2uGC3vIDgfZA19UDw1IzxjZigLUC2LKzsb5B3vYig93BIb0yxnRihrOCMvHzc4',
|
|
426
|
-
'Dg9mB3DLCKnHC2u',
|
|
427
|
-
'zMv0y2HuAw1LB3v0txm',
|
|
1355
|
+
'lsba',
|
|
1356
|
+
'Dgv4Dc9JC3y',
|
|
1357
|
+
'zxzLBNrtzxe',
|
|
1358
|
+
'mc4WlJa',
|
|
1359
|
+
'Dw5JBgfPBv90yxnRoIb3B3jRzxiGy2fUig9UBhKGDw5JBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCI4',
|
|
428
1360
|
'C2XPy2u',
|
|
429
|
-
'
|
|
430
|
-
'
|
|
431
|
-
'
|
|
432
|
-
'
|
|
433
|
-
'
|
|
1361
|
+
'Dgv4Dc9WBgfPBG',
|
|
1362
|
+
'ls13B3jRzxiTC2vZC2LVBI1Pza',
|
|
1363
|
+
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
1364
|
+
'y2HHBM5LBeLK',
|
|
1365
|
+
'DgHYzwfKx3rHCMDLDa',
|
|
1366
|
+
'CMvWBgfJzq',
|
|
1367
|
+
'DgHYzwfKswq',
|
|
1368
|
+
'DhLWzq',
|
|
1369
|
+
'mKHUt25Vsa',
|
|
1370
|
+
'Aw1Hz2uVCg5N',
|
|
1371
|
+
'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlIbgB3iGC3vIDgfZA3mGAw4Gysb0AhjLywqSihvZzsbZDwj0yxnRx251BwjLCNmGD2L0AcbHihnPBMDSzsb0yxnRx251BwjLCNmGzw50CNKU',
|
|
1372
|
+
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
1373
|
+
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
1374
|
+
'zgf0yq',
|
|
1375
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmVy2XHAw0',
|
|
1376
|
+
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
1377
|
+
'zNjVBq',
|
|
1378
|
+
'twfYAYb0AguGy3vYCMvUDcb3B3jRzxiGyxmGD2fPDgLUzYbMB3iGAhvTyw4GAw5WDxqUifbHDxnLCYb0AguGAwrSzsbuveWGDgLTzxiGDw50AwWGysbUzxCGBwvZC2fNzsbHCNjPDMvZlG',
|
|
1379
|
+
'DhjPBq',
|
|
1380
|
+
'AxngAw5PDgu',
|
|
1381
|
+
'DgfZA0LK'
|
|
434
1382
|
];
|
|
435
|
-
|
|
436
|
-
return
|
|
437
|
-
};
|
|
438
|
-
return _0x42c5();
|
|
439
|
-
}
|
|
440
|
-
var DEFAULT_MAX_FILE_SIZE = 0x64 * 0x400 * 0x400, MIME_BY_EXTENSION = {
|
|
441
|
-
'.csv': _0x3cf5af(0x149),
|
|
442
|
-
'.gif': _0x3cf5af(0x166),
|
|
443
|
-
'.jpeg': _0x3cf5af(0x1ef),
|
|
444
|
-
'.jpg': 'image/jpeg',
|
|
445
|
-
'.json': _0x3cf5af(0x14a),
|
|
446
|
-
'.md': 'text/markdown',
|
|
447
|
-
'.pdf': 'application/pdf',
|
|
448
|
-
'.png': _0x3cf5af(0x185),
|
|
449
|
-
'.svg': _0x3cf5af(0x234),
|
|
450
|
-
'.txt': _0x3cf5af(0x1ad),
|
|
451
|
-
'.webp': 'image/webp',
|
|
452
|
-
'.xml': _0x3cf5af(0x212),
|
|
453
|
-
'.zip': _0x3cf5af(0x158)
|
|
454
|
-
};
|
|
455
|
-
function guessContentType(_0x3e8c3e) {
|
|
456
|
-
const _0x3783a3 = {
|
|
457
|
-
_0x1685f6: 0x26b,
|
|
458
|
-
_0x9ad01d: 0x16d
|
|
459
|
-
}, _0x5c456b = _0x3cf5af;
|
|
460
|
-
return MIME_BY_EXTENSION[_0x24ec42[_0x5c456b(0x148)](_0x3e8c3e)[_0x5c456b(_0x3783a3._0x1685f6)]()] ?? _0x5c456b(_0x3783a3._0x9ad01d);
|
|
461
|
-
}
|
|
462
|
-
function safeFilename(_0x365ad1) {
|
|
463
|
-
return _0x365ad1['replace'](/[\\/]/g, '-');
|
|
464
|
-
}
|
|
465
|
-
function extensionFor(_0x50ccce) {
|
|
466
|
-
const _0x16f56e = { _0x574ec2: 0x232 }, _0x401824 = _0x3cf5af, _0x3ca6be = Object[_0x401824(_0x16f56e._0x574ec2)](MIME_BY_EXTENSION)[_0x401824(0x223)](([, _0x11213b]) => _0x11213b === _0x50ccce);
|
|
467
|
-
return _0x3ca6be?.[0x0] ?? _0x401824(0x265);
|
|
468
|
-
}
|
|
469
|
-
async function prepareUploadFile(_0x3ab3c7, _0x55cecd = {}) {
|
|
470
|
-
const _0x35e743 = {
|
|
471
|
-
_0x35683c: 0x18b,
|
|
472
|
-
_0x29f98e: 0x230,
|
|
473
|
-
_0x1cc4c5: 0x1ae,
|
|
474
|
-
_0x201818: 0x1d4,
|
|
475
|
-
_0x10e790: 0x20b
|
|
476
|
-
}, _0x4b8a1a = _0x3cf5af;
|
|
477
|
-
if (!_0x24ec42[_0x4b8a1a(_0x35e743._0x35683c)](_0x3ab3c7))
|
|
478
|
-
throw new Error('file_path\x20must\x20be\x20an\x20absolute\x20path');
|
|
479
|
-
const _0x3afd7a = await stat(_0x3ab3c7)[_0x4b8a1a(_0x35e743._0x29f98e)](() => null);
|
|
480
|
-
if (!_0x3afd7a || !_0x3afd7a[_0x4b8a1a(0x1c0)]())
|
|
481
|
-
throw new Error(_0x4b8a1a(_0x35e743._0x1cc4c5) + _0x3ab3c7);
|
|
482
|
-
const _0x127092 = _0x55cecd[_0x4b8a1a(0x23c)] ?? DEFAULT_MAX_FILE_SIZE;
|
|
483
|
-
if (_0x3afd7a[_0x4b8a1a(_0x35e743._0x201818)] > _0x127092)
|
|
484
|
-
throw new Error('File\x20size\x20exceeds\x20limit:\x20' + _0x3afd7a['size']);
|
|
485
|
-
const _0x1c184d = await readFile(_0x3ab3c7), _0x20b12c = _0x24ec42['basename'](_0x3ab3c7);
|
|
486
|
-
return {
|
|
487
|
-
'contentBase64': _0x1c184d['toString'](_0x4b8a1a(_0x35e743._0x10e790)),
|
|
488
|
-
'contentType': guessContentType(_0x20b12c),
|
|
489
|
-
'filename': _0x20b12c,
|
|
490
|
-
'sizeBytes': _0x3afd7a[_0x4b8a1a(_0x35e743._0x201818)]
|
|
491
|
-
};
|
|
492
|
-
}
|
|
493
|
-
function createAttachmentCache(_0x191a9b = {}) {
|
|
494
|
-
const _0x5b9be5 = {
|
|
495
|
-
_0x1ad078: 0x267,
|
|
496
|
-
_0x2a7b52: 0x292,
|
|
497
|
-
_0x5a7320: 0x186
|
|
498
|
-
}, _0x4a7b3e = {
|
|
499
|
-
_0x5d2ca0: 0x108,
|
|
500
|
-
_0x2fd37f: 0x128,
|
|
501
|
-
_0x1a3b20: 0x108
|
|
502
|
-
}, _0x1a2ed3 = { _0x4faa71: 0x146 }, _0x2461d6 = _0x3cf5af, _0x33ea2f = _0x191a9b[_0x2461d6(_0x5b9be5._0x1ad078)] ?? _0x24ec42[_0x2461d6(0x146)](homedir(), _0x2461d6(_0x5b9be5._0x2a7b52), _0x2461d6(_0x5b9be5._0x5a7320));
|
|
503
|
-
return {
|
|
504
|
-
'cacheDir': _0x33ea2f,
|
|
505
|
-
async 'findCachedPath'(_0x58efca) {
|
|
506
|
-
const _0x15859f = _0x2461d6;
|
|
507
|
-
await mkdir(_0x33ea2f, { 'recursive': !![] });
|
|
508
|
-
const _0x565bd5 = await readdir(_0x33ea2f), _0x6f630c = _0x565bd5[_0x15859f(0x223)](_0x57a1db => _0x57a1db[_0x15859f(0x18e)](_0x58efca + '-') || _0x57a1db[_0x15859f(0x18e)](_0x58efca));
|
|
509
|
-
return _0x6f630c ? _0x24ec42[_0x15859f(_0x1a2ed3._0x4faa71)](_0x33ea2f, _0x6f630c) : null;
|
|
510
|
-
},
|
|
511
|
-
async 'save'(_0x2ff6b7) {
|
|
512
|
-
const _0xb494aa = _0x2461d6;
|
|
513
|
-
await mkdir(_0x33ea2f, { 'recursive': !![] });
|
|
514
|
-
const _0x35bef9 = _0x2ff6b7[_0xb494aa(_0x4a7b3e._0x5d2ca0)]?.[_0xb494aa(_0x4a7b3e._0x2fd37f)]() ? safeFilename(_0x2ff6b7[_0xb494aa(_0x4a7b3e._0x1a3b20)]) : '' + _0x2ff6b7[_0xb494aa(0x225)] + extensionFor(_0x2ff6b7[_0xb494aa(0x10b)]), _0x3bcb14 = _0x24ec42[_0xb494aa(0x146)](_0x33ea2f, _0x2ff6b7[_0xb494aa(0x225)] + '-' + _0x35bef9);
|
|
515
|
-
return await writeFile(_0x3bcb14, _0x2ff6b7[_0xb494aa(0x1ec)]), _0x3bcb14;
|
|
516
|
-
}
|
|
517
|
-
};
|
|
518
|
-
}
|
|
519
|
-
function _0x7e16(_0x2defe2, _0x2f2cf2) {
|
|
520
|
-
_0x2defe2 = _0x2defe2 - 0x106;
|
|
521
|
-
const _0x42c546 = _0x42c5();
|
|
522
|
-
let _0x7e1602 = _0x42c546[_0x2defe2];
|
|
523
|
-
if (_0x7e16['dMudok'] === undefined) {
|
|
524
|
-
var _0x3a16fe = function (_0x1982cc) {
|
|
525
|
-
const _0x20ce97 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
526
|
-
let _0x24ec42 = '', _0x3e8c3e = '';
|
|
527
|
-
for (let _0x365ad1 = 0x0, _0x50ccce, _0x3ca6be, _0x11213b = 0x0; _0x3ca6be = _0x1982cc['charAt'](_0x11213b++); ~_0x3ca6be && (_0x50ccce = _0x365ad1 % 0x4 ? _0x50ccce * 0x40 + _0x3ca6be : _0x3ca6be, _0x365ad1++ % 0x4) ? _0x24ec42 += String['fromCharCode'](0xff & _0x50ccce >> (-0x2 * _0x365ad1 & 0x6)) : 0x0) {
|
|
528
|
-
_0x3ca6be = _0x20ce97['indexOf'](_0x3ca6be);
|
|
529
|
-
}
|
|
530
|
-
for (let _0x3ab3c7 = 0x0, _0x55cecd = _0x24ec42['length']; _0x3ab3c7 < _0x55cecd; _0x3ab3c7++) {
|
|
531
|
-
_0x3e8c3e += '%' + ('00' + _0x24ec42['charCodeAt'](_0x3ab3c7)['toString'](0x10))['slice'](-0x2);
|
|
532
|
-
}
|
|
533
|
-
return decodeURIComponent(_0x3e8c3e);
|
|
534
|
-
};
|
|
535
|
-
_0x7e16['YfdngP'] = _0x3a16fe, _0x7e16['JPTxrN'] = {}, _0x7e16['dMudok'] = !![];
|
|
536
|
-
}
|
|
537
|
-
const _0x417066 = _0x42c546[0x0], _0x3f7716 = _0x2defe2 + _0x417066, _0x128511 = _0x7e16['JPTxrN'][_0x3f7716];
|
|
538
|
-
return !_0x128511 ? (_0x7e1602 = _0x7e16['YfdngP'](_0x7e1602), _0x7e16['JPTxrN'][_0x3f7716] = _0x7e1602) : _0x7e1602 = _0x128511, _0x7e1602;
|
|
539
|
-
}
|
|
540
|
-
import {
|
|
541
|
-
createHash,
|
|
542
|
-
randomUUID
|
|
543
|
-
} from 'node:crypto';
|
|
544
|
-
var UNSUPPORTED_TARGET_MESSAGE = _0x3cf5af(0x143);
|
|
545
|
-
function ensureSegment(_0x4beff1) {
|
|
546
|
-
const _0x4f9ab6 = { _0x6c27f8: 0x128 }, _0x37dbe4 = _0x3cf5af, _0x175cc6 = _0x4beff1[_0x37dbe4(_0x4f9ab6._0x6c27f8)]();
|
|
547
|
-
if (!_0x175cc6 || _0x175cc6[_0x37dbe4(0x28d)](':'))
|
|
548
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
549
|
-
return _0x175cc6;
|
|
550
|
-
}
|
|
551
|
-
function parseThreadParts(_0x12c378) {
|
|
552
|
-
const _0x1982d8 = {
|
|
553
|
-
_0x4cbe00: 0x15d,
|
|
554
|
-
_0x3a50d3: 0x18d
|
|
555
|
-
}, _0x512f50 = _0x3cf5af, _0x116a44 = _0x12c378[_0x512f50(_0x1982d8._0x4cbe00)](':');
|
|
556
|
-
if (_0x116a44[_0x512f50(_0x1982d8._0x3a50d3)] < 0x1 || _0x116a44['length'] > 0x2)
|
|
557
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
558
|
-
return {
|
|
559
|
-
'channelName': ensureSegment(_0x116a44[0x0] ?? ''),
|
|
560
|
-
'threadShortId': _0x116a44[0x1] ? ensureSegment(_0x116a44[0x1]) : null
|
|
561
|
-
};
|
|
562
|
-
}
|
|
563
|
-
function parseTarget(_0x1a378f) {
|
|
564
|
-
const _0x113455 = {
|
|
565
|
-
_0x2cf7eb: 0x128,
|
|
566
|
-
_0x7c427: 0x18e,
|
|
567
|
-
_0x447998: 0x1af,
|
|
568
|
-
_0x4fbf72: 0x1f4,
|
|
569
|
-
_0xa269f2: 0x136,
|
|
570
|
-
_0x406f87: 0x168,
|
|
571
|
-
_0x103007: 0x1e2,
|
|
572
|
-
_0x22cfba: 0x1ff,
|
|
573
|
-
_0x4d83ac: 0x136,
|
|
574
|
-
_0x31382c: 0x136
|
|
575
|
-
}, _0x4ec9da = _0x3cf5af, _0x213f7f = _0x1a378f[_0x4ec9da(_0x113455._0x2cf7eb)]();
|
|
576
|
-
if (!_0x213f7f)
|
|
577
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
578
|
-
if (_0x213f7f[_0x4ec9da(_0x113455._0x7c427)]('#')) {
|
|
579
|
-
const _0x49e4a3 = parseThreadParts(_0x213f7f['slice'](0x1)), _0x4771c5 = '#' + _0x49e4a3[_0x4ec9da(0x136)];
|
|
580
|
-
if (!_0x49e4a3[_0x4ec9da(_0x113455._0x447998)])
|
|
581
|
-
return {
|
|
582
|
-
'channelName': _0x49e4a3[_0x4ec9da(0x136)],
|
|
583
|
-
'channelTarget': _0x4771c5,
|
|
584
|
-
'kind': _0x4ec9da(_0x113455._0x4fbf72),
|
|
585
|
-
'target': _0x4771c5
|
|
586
|
-
};
|
|
587
|
-
return {
|
|
588
|
-
'channelName': _0x49e4a3[_0x4ec9da(_0x113455._0xa269f2)],
|
|
589
|
-
'channelTarget': _0x4771c5,
|
|
590
|
-
'kind': _0x4ec9da(_0x113455._0x406f87),
|
|
591
|
-
'target': _0x4771c5 + ':' + _0x49e4a3[_0x4ec9da(0x1af)],
|
|
592
|
-
'threadShortId': _0x49e4a3[_0x4ec9da(0x1af)]
|
|
593
|
-
};
|
|
594
|
-
}
|
|
595
|
-
if (_0x213f7f['startsWith'](_0x4ec9da(_0x113455._0x103007))) {
|
|
596
|
-
const _0x5e01b0 = parseThreadParts(_0x213f7f[_0x4ec9da(0x26d)](0x3));
|
|
597
|
-
if (!_0x5e01b0['channelName'][_0x4ec9da(0x18e)](_0x4ec9da(_0x113455._0x22cfba)))
|
|
598
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
599
|
-
const _0x5aaa06 = _0x4ec9da(_0x113455._0x103007) + _0x5e01b0[_0x4ec9da(_0x113455._0xa269f2)];
|
|
600
|
-
if (!_0x5e01b0['threadShortId'])
|
|
601
|
-
return {
|
|
602
|
-
'channelName': _0x5e01b0[_0x4ec9da(_0x113455._0x4d83ac)],
|
|
603
|
-
'channelTarget': _0x5aaa06,
|
|
604
|
-
'kind': _0x4ec9da(_0x113455._0x4fbf72),
|
|
605
|
-
'target': _0x5aaa06
|
|
606
|
-
};
|
|
607
|
-
return {
|
|
608
|
-
'channelName': _0x5e01b0[_0x4ec9da(_0x113455._0x31382c)],
|
|
609
|
-
'channelTarget': _0x5aaa06,
|
|
610
|
-
'kind': 'thread',
|
|
611
|
-
'target': _0x5aaa06 + ':' + _0x5e01b0[_0x4ec9da(_0x113455._0x447998)],
|
|
612
|
-
'threadShortId': _0x5e01b0[_0x4ec9da(0x1af)]
|
|
613
|
-
};
|
|
614
|
-
}
|
|
615
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
616
|
-
}
|
|
617
|
-
function asErrorMessage(_0xc6bdf8, _0x3fee3b) {
|
|
618
|
-
const _0x2351b2 = { _0x12806e: 0x128 }, _0x2767e5 = _0x3cf5af;
|
|
619
|
-
if (typeof _0xc6bdf8 === _0x2767e5(0x1b8) && _0xc6bdf8[_0x2767e5(_0x2351b2._0x12806e)]())
|
|
620
|
-
return _0xc6bdf8;
|
|
621
|
-
return _0x3fee3b;
|
|
622
|
-
}
|
|
623
|
-
function asRecord(_0x2dfd11) {
|
|
624
|
-
const _0x443978 = _0x3cf5af;
|
|
625
|
-
return typeof _0x2dfd11 === _0x443978(0x1f2) && _0x2dfd11 !== null ? _0x2dfd11 : {};
|
|
626
|
-
}
|
|
627
|
-
function stableStringify(_0x51e55a) {
|
|
628
|
-
const _0x78e015 = {
|
|
629
|
-
_0x367efd: 0x232,
|
|
630
|
-
_0x1d99eb: 0x20f,
|
|
631
|
-
_0x55f69e: 0x172,
|
|
632
|
-
_0x167f8e: 0x146
|
|
633
|
-
}, _0x2c6b33 = _0x3cf5af;
|
|
634
|
-
if (_0x51e55a === null || typeof _0x51e55a !== _0x2c6b33(0x1f2))
|
|
635
|
-
return JSON[_0x2c6b33(0x277)](_0x51e55a);
|
|
636
|
-
if (Array['isArray'](_0x51e55a))
|
|
637
|
-
return '[' + _0x51e55a['map'](_0x412a0c => stableStringify(_0x412a0c))['join'](',') + ']';
|
|
638
|
-
const _0x3d83a6 = Object[_0x2c6b33(_0x78e015._0x367efd)](_0x51e55a)[_0x2c6b33(_0x78e015._0x1d99eb)](([, _0x5e3317]) => _0x5e3317 !== void 0x0)[_0x2c6b33(_0x78e015._0x55f69e)](([_0x16ca27], [_0x953643]) => _0x16ca27[_0x2c6b33(0x246)](_0x953643))['map'](([_0x156b09, _0xf840f0]) => JSON[_0x2c6b33(0x277)](_0x156b09) + ':' + stableStringify(_0xf840f0));
|
|
639
|
-
return '{' + _0x3d83a6[_0x2c6b33(_0x78e015._0x167f8e)](',') + '}';
|
|
640
|
-
}
|
|
641
|
-
function createHeaders(_0x51d93d) {
|
|
642
|
-
const _0x1c4662 = _0x3cf5af;
|
|
643
|
-
return {
|
|
644
|
-
'Content-Type': _0x1c4662(0x14a),
|
|
645
|
-
'x-daemon-api-key': _0x51d93d
|
|
646
|
-
};
|
|
647
|
-
}
|
|
648
|
-
function toHttpBaseUrl(_0x5c7df9) {
|
|
649
|
-
const _0x3f5c80 = {
|
|
650
|
-
_0x421328: 0x1be,
|
|
651
|
-
_0x6c1457: 0x281,
|
|
652
|
-
_0x594bb2: 0x11d
|
|
653
|
-
}, _0x5931ae = _0x3cf5af, _0xab3725 = new URL(_0x5c7df9);
|
|
654
|
-
if (_0xab3725[_0x5931ae(0x281)] === _0x5931ae(_0x3f5c80._0x421328))
|
|
655
|
-
_0xab3725[_0x5931ae(_0x3f5c80._0x6c1457)] = _0x5931ae(0x160);
|
|
656
|
-
else
|
|
657
|
-
_0xab3725[_0x5931ae(_0x3f5c80._0x6c1457)] === _0x5931ae(_0x3f5c80._0x594bb2) && (_0xab3725['protocol'] = 'https:');
|
|
658
|
-
return _0xab3725['toString']()[_0x5931ae(0x1a0)](/\/$/, '');
|
|
659
|
-
}
|
|
660
|
-
function isMentionBoundary(_0x2f0c01) {
|
|
661
|
-
return !_0x2f0c01 || /\s|[([{'",。!?、:;]/['test'](_0x2f0c01);
|
|
662
|
-
}
|
|
663
|
-
function isMentionTerminal(_0x319925) {
|
|
664
|
-
const _0x55914f = _0x3cf5af;
|
|
665
|
-
return !_0x319925 || /\s|[)\]}'",。!?、:;,.!?]/[_0x55914f(0x1e9)](_0x319925);
|
|
666
|
-
}
|
|
667
|
-
function buildMatchableEntries(_0x22dfe6) {
|
|
668
|
-
const _0x3975ff = {
|
|
669
|
-
_0x3bb23d: 0x13c,
|
|
670
|
-
_0x4afffa: 0x173,
|
|
671
|
-
_0xfeef4d: 0x13c,
|
|
672
|
-
_0x2ca369: 0x240
|
|
673
|
-
}, _0x35b30d = _0x3cf5af, _0x343d93 = [];
|
|
674
|
-
for (const _0x18ae4a of [
|
|
675
|
-
..._0x22dfe6[_0x35b30d(0x245)],
|
|
676
|
-
..._0x22dfe6['humans']
|
|
677
|
-
]) {
|
|
678
|
-
_0x343d93[_0x35b30d(_0x3975ff._0x3bb23d)]({
|
|
679
|
-
'matchName': _0x18ae4a[_0x35b30d(0x173)],
|
|
680
|
-
'matchNameLower': _0x18ae4a[_0x35b30d(_0x3975ff._0x4afffa)][_0x35b30d(0x240)](),
|
|
681
|
-
'participantId': _0x18ae4a['id']
|
|
682
|
-
}), _0x18ae4a['id'] !== _0x18ae4a['name'] && _0x343d93[_0x35b30d(_0x3975ff._0xfeef4d)]({
|
|
683
|
-
'matchName': _0x18ae4a['id'],
|
|
684
|
-
'matchNameLower': _0x18ae4a['id'][_0x35b30d(_0x3975ff._0x2ca369)](),
|
|
685
|
-
'participantId': _0x18ae4a['id']
|
|
686
|
-
});
|
|
687
|
-
}
|
|
688
|
-
return _0x343d93;
|
|
689
|
-
}
|
|
690
|
-
function extractMentionedParticipantIds(_0x4497e5, _0x2f09ab) {
|
|
691
|
-
const _0x395232 = {
|
|
692
|
-
_0x106a88: 0x172,
|
|
693
|
-
_0x5f05a2: 0x26d,
|
|
694
|
-
_0x513df7: 0x223,
|
|
695
|
-
_0xd89c2: 0x15a,
|
|
696
|
-
_0xd6dd06: 0x231,
|
|
697
|
-
_0x41d525: 0x15a,
|
|
698
|
-
_0x15adf2: 0x18d
|
|
699
|
-
}, _0x28bcd3 = {
|
|
700
|
-
_0x421444: 0x138,
|
|
701
|
-
_0x39f49f: 0x18d
|
|
702
|
-
}, _0x15574b = _0x3cf5af, _0x178cca = buildMatchableEntries(_0x2f09ab)[_0x15574b(_0x395232._0x106a88)]((_0x49636f, _0x2d4c91) => _0x2d4c91['matchName'][_0x15574b(0x18d)] - _0x49636f[_0x15574b(0x23e)][_0x15574b(0x18d)]), _0x5b662b = [], _0x2a2529 = new Set();
|
|
703
|
-
for (let _0x3f5351 = 0x0; _0x3f5351 < _0x4497e5[_0x15574b(0x18d)]; _0x3f5351 += 0x1) {
|
|
704
|
-
if (_0x4497e5[_0x3f5351] !== '@' || !isMentionBoundary(_0x4497e5[_0x3f5351 - 0x1]))
|
|
705
|
-
continue;
|
|
706
|
-
const _0x3c16c2 = _0x4497e5[_0x15574b(_0x395232._0x5f05a2)](_0x3f5351 + 0x1), _0x551eee = _0x3c16c2['toLocaleLowerCase'](), _0x3dd61d = _0x178cca[_0x15574b(_0x395232._0x513df7)](_0x55375c => {
|
|
707
|
-
const _0x34613c = _0x15574b;
|
|
708
|
-
if (!_0x551eee[_0x34613c(0x18e)](_0x55375c[_0x34613c(_0x28bcd3._0x421444)]))
|
|
709
|
-
return ![];
|
|
710
|
-
return isMentionTerminal(_0x3c16c2[_0x55375c['matchName'][_0x34613c(_0x28bcd3._0x39f49f)]]);
|
|
711
|
-
});
|
|
712
|
-
if (!_0x3dd61d || _0x2a2529[_0x15574b(0x25c)](_0x3dd61d[_0x15574b(_0x395232._0xd89c2)]))
|
|
713
|
-
continue;
|
|
714
|
-
_0x2a2529[_0x15574b(_0x395232._0xd6dd06)](_0x3dd61d[_0x15574b(0x15a)]), _0x5b662b[_0x15574b(0x13c)](_0x3dd61d[_0x15574b(_0x395232._0x41d525)]), _0x3f5351 += _0x3dd61d[_0x15574b(0x23e)][_0x15574b(_0x395232._0x15adf2)];
|
|
715
|
-
}
|
|
716
|
-
return _0x5b662b;
|
|
717
|
-
}
|
|
718
|
-
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
719
|
-
function anySignal(..._0x583eb7) {
|
|
720
|
-
const _0x3779ac = { _0x43eadd: 0x1c2 }, _0x11dc2d = _0x3cf5af, _0x1ae520 = new AbortController();
|
|
721
|
-
for (const _0x48c288 of _0x583eb7) {
|
|
722
|
-
if (_0x48c288[_0x11dc2d(0x22f)])
|
|
723
|
-
return _0x1ae520[_0x11dc2d(_0x3779ac._0x43eadd)](_0x48c288[_0x11dc2d(0x154)]), _0x1ae520['signal'];
|
|
724
|
-
_0x48c288['addEventListener']('abort', () => _0x1ae520[_0x11dc2d(0x1c2)](_0x48c288['reason']), {
|
|
725
|
-
'once': !![],
|
|
726
|
-
'signal': _0x1ae520[_0x11dc2d(0x142)]
|
|
727
|
-
});
|
|
728
|
-
}
|
|
729
|
-
return _0x1ae520['signal'];
|
|
730
|
-
}
|
|
731
|
-
function createInternalAgentClient(_0x378182) {
|
|
732
|
-
const _0x389af4 = {
|
|
733
|
-
_0x370fa0: 0x26c,
|
|
734
|
-
_0x551da3: 0x17a,
|
|
735
|
-
_0x2b488a: 0x1e3,
|
|
736
|
-
_0x42fbb6: 0x128,
|
|
737
|
-
_0x28f89c: 0x153,
|
|
738
|
-
_0x279441: 0x128,
|
|
739
|
-
_0x5df096: 0x1b6,
|
|
740
|
-
_0x3977bd: 0x1dc,
|
|
741
|
-
_0x58750d: 0x129,
|
|
742
|
-
_0x228d2d: 0x128,
|
|
743
|
-
_0x5a2db9: 0x14c
|
|
744
|
-
}, _0x2d1927 = {
|
|
745
|
-
_0x4d21cd: 0x190,
|
|
746
|
-
_0x83e488: 0x288,
|
|
747
|
-
_0x52a0fa: 0x107,
|
|
748
|
-
_0x19e27d: 0x20f,
|
|
749
|
-
_0x435e45: 0x284,
|
|
750
|
-
_0x4f2e20: 0x1ca,
|
|
751
|
-
_0xfb7054: 0x17b,
|
|
752
|
-
_0x4ee86c: 0x147,
|
|
753
|
-
_0x9e8ef3: 0x171,
|
|
754
|
-
_0x13c76e: 0x232,
|
|
755
|
-
_0x9e4912: 0x16a,
|
|
756
|
-
_0x2a59ab: 0x18d,
|
|
757
|
-
_0x1741c5: 0x256,
|
|
758
|
-
_0x4713f5: 0x26f,
|
|
759
|
-
_0x1e41a7: 0x1c6,
|
|
760
|
-
_0x517379: 0x260,
|
|
761
|
-
_0x26e3e1: 0x202,
|
|
762
|
-
_0x5eeca6: 0x1b8,
|
|
763
|
-
_0x42e902: 0x13c,
|
|
764
|
-
_0x359c47: 0x248
|
|
765
|
-
}, _0x433d67 = {
|
|
766
|
-
_0xcd1b84: 0x1ca,
|
|
767
|
-
_0x445004: 0x20c
|
|
768
|
-
}, _0x5afa7e = {
|
|
769
|
-
_0x484ef9: 0x22e,
|
|
770
|
-
_0x47dc05: 0x208,
|
|
771
|
-
_0x12ee1a: 0x22e,
|
|
772
|
-
_0xffa40: 0x142,
|
|
773
|
-
_0x409ccb: 0x10b,
|
|
774
|
-
_0x1bbb14: 0x22b,
|
|
775
|
-
_0x3f0ca5: 0x171,
|
|
776
|
-
_0x449243: 0x108
|
|
777
|
-
}, _0x2e0c40 = {
|
|
778
|
-
_0x218a76: 0x1f4,
|
|
779
|
-
_0x4ad477: 0x259,
|
|
780
|
-
_0xe54975: 0x295,
|
|
781
|
-
_0x5af325: 0x288,
|
|
782
|
-
_0x384a55: 0x25f,
|
|
783
|
-
_0x4ebf94: 0x226,
|
|
784
|
-
_0x58a4be: 0x10b,
|
|
785
|
-
_0x102d81: 0x1ec
|
|
786
|
-
}, _0x551db2 = {
|
|
787
|
-
_0x10f987: 0x23d,
|
|
788
|
-
_0x81e9fb: 0x204
|
|
789
|
-
}, _0x3b4247 = {
|
|
790
|
-
_0x59a1cc: 0x10c,
|
|
791
|
-
_0x506714: 0x288,
|
|
792
|
-
_0x7f0428: 0x1a1,
|
|
793
|
-
_0x18dc88: 0x277,
|
|
794
|
-
_0x23d91c: 0x113
|
|
795
|
-
}, _0x25f0b3 = { _0x3e14c5: 0x277 }, _0x423577 = {
|
|
796
|
-
_0x525a29: 0x1f4,
|
|
797
|
-
_0x1d4a8b: 0x190,
|
|
798
|
-
_0x3a486d: 0x291
|
|
799
|
-
}, _0x9789d8 = {
|
|
800
|
-
_0x2f9bbf: 0x109,
|
|
801
|
-
_0x4cce09: 0x277,
|
|
802
|
-
_0x3a6290: 0x109
|
|
803
|
-
}, _0x2fd1f7 = {
|
|
804
|
-
_0x1db28f: 0x1a3,
|
|
805
|
-
_0x30a826: 0x17e,
|
|
806
|
-
_0x18d29e: 0x1ec
|
|
807
|
-
}, _0x34ed25 = {
|
|
808
|
-
_0xdfc7c4: 0x1db,
|
|
809
|
-
_0x38b7ae: 0x277,
|
|
810
|
-
_0x233688: 0x204
|
|
811
|
-
}, _0x12f092 = { _0x120e86: 0x208 }, _0x18b573 = {
|
|
812
|
-
_0x470b4f: 0x226,
|
|
813
|
-
_0x4ef096: 0x288,
|
|
814
|
-
_0x1c9cb4: 0x28c
|
|
815
|
-
}, _0x1cd4a9 = {
|
|
816
|
-
_0x12b53a: 0x201,
|
|
817
|
-
_0x1776e5: 0x20c,
|
|
818
|
-
_0x44d79c: 0x1ca,
|
|
819
|
-
_0x89ab59: 0x167,
|
|
820
|
-
_0x5206ca: 0x10d,
|
|
821
|
-
_0x563b58: 0x10c,
|
|
822
|
-
_0x1fd374: 0x288,
|
|
823
|
-
_0x38737d: 0x208,
|
|
824
|
-
_0x32363a: 0x1ec,
|
|
825
|
-
_0x15abcf: 0x215,
|
|
826
|
-
_0x507362: 0x221,
|
|
827
|
-
_0x351f1f: 0x12e
|
|
828
|
-
}, _0x51a651 = { _0x7e39c3: 0x27b }, _0x3a3764 = { _0x161eb7: 0x15a }, _0x352c1d = {
|
|
829
|
-
_0x105b63: 0x168,
|
|
830
|
-
_0x169c65: 0x147,
|
|
831
|
-
_0x59cca7: 0x1af,
|
|
832
|
-
_0x5315fa: 0x18e,
|
|
833
|
-
_0x2955cd: 0x259
|
|
834
|
-
}, _0x32dd32 = {
|
|
835
|
-
_0x52900c: 0x215,
|
|
836
|
-
_0x54cccb: 0x147,
|
|
837
|
-
_0x5dc1cf: 0x1af,
|
|
838
|
-
_0x582d9e: 0x17b,
|
|
839
|
-
_0x1e1979: 0x18e,
|
|
840
|
-
_0x2263b4: 0x259
|
|
841
|
-
}, _0x5af2af = {
|
|
842
|
-
_0x1c24f3: 0x215,
|
|
843
|
-
_0xde7ab9: 0x17b,
|
|
844
|
-
_0x1395bf: 0x17b,
|
|
845
|
-
_0x1b372e: 0x259,
|
|
846
|
-
_0x2bea5b: 0x259
|
|
847
|
-
}, _0x29dfc6 = {
|
|
848
|
-
_0x133a55: 0x245,
|
|
849
|
-
_0x48cd94: 0x157
|
|
850
|
-
}, _0x477be2 = {
|
|
851
|
-
_0x477405: 0x288,
|
|
852
|
-
_0x3db9e1: 0x20d,
|
|
853
|
-
_0x5386de: 0x226,
|
|
854
|
-
_0x3e2abd: 0x1ca,
|
|
855
|
-
_0x4a68df: 0x215,
|
|
856
|
-
_0x13ae28: 0x1ec
|
|
857
|
-
}, _0x759e19 = {
|
|
858
|
-
_0x1867d6: 0x264,
|
|
859
|
-
_0x350e28: 0x277,
|
|
860
|
-
_0x285087: 0x19b
|
|
861
|
-
}, _0x2cf1d6 = { _0x35c750: 0x277 }, _0x2ebd2c = {
|
|
862
|
-
_0x212902: 0x142,
|
|
863
|
-
_0x48946d: 0x19b,
|
|
864
|
-
_0x9022b: 0x291
|
|
865
|
-
}, _0x4732f0 = {
|
|
866
|
-
_0x21a3ed: 0x142,
|
|
867
|
-
_0x45547f: 0x142,
|
|
868
|
-
_0x5acd46: 0x1bd,
|
|
869
|
-
_0x1ba173: 0x24d,
|
|
870
|
-
_0x320d44: 0x291
|
|
871
|
-
}, _0x36411c = {
|
|
872
|
-
_0x571902: 0x228,
|
|
873
|
-
_0x6212f2: 0x228,
|
|
874
|
-
_0x41b303: 0x128,
|
|
875
|
-
_0x364f49: 0x188,
|
|
876
|
-
_0x4f3410: 0x152,
|
|
877
|
-
_0x3c31ab: 0x110,
|
|
878
|
-
_0x14e10a: 0x271,
|
|
879
|
-
_0x5d8883: 0x171,
|
|
880
|
-
_0x24d044: 0x145,
|
|
881
|
-
_0x53a392: 0x17d
|
|
882
|
-
}, _0x4f3d71 = { _0x3122b7: 0x213 }, _0x46852e = {
|
|
883
|
-
_0x29987d: 0x238,
|
|
884
|
-
_0x55a4dc: 0x1e7,
|
|
885
|
-
_0x2bba84: 0x128,
|
|
886
|
-
_0x2bbf4c: 0x135,
|
|
887
|
-
_0x235162: 0x169,
|
|
888
|
-
_0x23df55: 0x291,
|
|
889
|
-
_0x53154d: 0x24a
|
|
890
|
-
}, _0x14f5b3 = _0x3cf5af, _0x3d26df = _0x378182[_0x14f5b3(0x19f)] ?? fetch, _0x4d11d4 = _0x378182[_0x14f5b3(_0x389af4._0x370fa0)] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x3bbe76 = typeof _0x378182['initialLastSeenSeq'] === _0x14f5b3(_0x389af4._0x551da3) && _0x378182[_0x14f5b3(0x1e3)] > 0x0 ? _0x378182[_0x14f5b3(_0x389af4._0x2b488a)] : 0x0, _0x543d13 = _0x378182['daemonLocalUrl']?.[_0x14f5b3(_0x389af4._0x42fbb6)]() || void 0x0, _0x329f69 = _0x378182[_0x14f5b3(_0x389af4._0x28f89c)]?.[_0x14f5b3(_0x389af4._0x279441)]() || void 0x0, _0x3a9c60 = _0x378182[_0x14f5b3(_0x389af4._0x5df096)] === !![], _0x5b02cc = _0x378182[_0x14f5b3(_0x389af4._0x3977bd)]?.[_0x14f5b3(0x128)]() || void 0x0, _0x36b777 = _0x378182[_0x14f5b3(_0x389af4._0x58750d)]?.[_0x14f5b3(_0x389af4._0x228d2d)]() || void 0x0, _0x17ed33 = createHeaders(_0x378182[_0x14f5b3(0x287)]), _0xa0a276 = toHttpBaseUrl(_0x378182[_0x14f5b3(_0x389af4._0x5a2db9)]);
|
|
891
|
-
let _0x53ba02 = null;
|
|
892
|
-
const _0x5464db = new Map();
|
|
893
|
-
let _0x27020f = _0x3bbe76, _0x541be7 = _0x3bbe76;
|
|
894
|
-
function _0x435828(_0x482e04) {
|
|
895
|
-
const _0x52b0e8 = _0x14f5b3, _0x2a724e = _0x482e04[_0x52b0e8(_0x46852e._0x29987d)][_0x52b0e8(0x22b)][_0x52b0e8(0x171)](_0x52b0e8(_0x46852e._0x55a4dc)) ?? 'unknown', _0xaab1b5 = _0x482e04[_0x52b0e8(0x1f7)][_0x52b0e8(_0x46852e._0x2bba84)]()[_0x52b0e8(0x1a0)](/\s+/g, '\x20')[_0x52b0e8(0x26d)](0x0, 0x78) || '<empty>';
|
|
896
|
-
return _0x52b0e8(0x1eb) + _0x482e04[_0x52b0e8(_0x46852e._0x2bbf4c)] + _0x52b0e8(_0x46852e._0x235162) + _0x482e04['response'][_0x52b0e8(_0x46852e._0x23df55)] + _0x52b0e8(_0x46852e._0x53154d) + _0x2a724e + _0x52b0e8(0x195) + _0xaab1b5 + _0x52b0e8(0x13a);
|
|
897
|
-
}
|
|
898
|
-
async function _0x474918(_0x3a295a, _0x3a1cbb) {
|
|
899
|
-
const _0x5e5836 = _0x14f5b3, _0x24d986 = Buffer[_0x5e5836(0x1c8)](await _0x3a1cbb[_0x5e5836(0x199)]())[_0x5e5836(_0x4f3d71._0x3122b7)](_0x5e5836(0x27a));
|
|
900
|
-
if (!_0x24d986[_0x5e5836(0x128)]())
|
|
901
|
-
return {};
|
|
902
|
-
try {
|
|
903
|
-
return JSON[_0x5e5836(0x266)](_0x24d986);
|
|
904
|
-
} catch {
|
|
905
|
-
throw new Error(_0x435828({
|
|
906
|
-
'bodyText': _0x24d986,
|
|
907
|
-
'requestUrl': _0x3a295a,
|
|
908
|
-
'response': _0x3a1cbb
|
|
909
|
-
}));
|
|
910
|
-
}
|
|
911
|
-
}
|
|
912
|
-
function _0x5682ba(_0x17dc56, _0x57850c) {
|
|
913
|
-
const _0x18d9b3 = _0x14f5b3, _0x3b2dbd = typeof _0x57850c[_0x18d9b3(_0x36411c._0x571902)] === 'string' ? _0x57850c[_0x18d9b3(_0x36411c._0x6212f2)][_0x18d9b3(_0x36411c._0x41b303)]() : '';
|
|
914
|
-
if (_0x3b2dbd)
|
|
915
|
-
return _0x3b2dbd;
|
|
916
|
-
const _0x7bfb38 = Date[_0x18d9b3(_0x36411c._0x364f49)]();
|
|
917
|
-
for (const [_0x58a3bb, _0x263d2a] of _0x5464db) {
|
|
918
|
-
_0x263d2a[_0x18d9b3(0x207)] <= _0x7bfb38 && _0x5464db[_0x18d9b3(_0x36411c._0x4f3410)](_0x58a3bb);
|
|
919
|
-
}
|
|
920
|
-
const _0x411b32 = {
|
|
921
|
-
..._0x57850c,
|
|
922
|
-
'idempotency_key': void 0x0
|
|
923
|
-
}, _0x5b61f8 = createHash(_0x18d9b3(0x247))['update'](_0x17dc56 + ':' + stableStringify(_0x411b32))[_0x18d9b3(_0x36411c._0x3c31ab)](_0x18d9b3(_0x36411c._0x14e10a)), _0x4b1b8e = _0x17dc56 + ':' + _0x5b61f8, _0x13da4f = _0x5464db[_0x18d9b3(_0x36411c._0x5d8883)](_0x4b1b8e);
|
|
924
|
-
if (_0x13da4f)
|
|
925
|
-
return _0x13da4f[_0x18d9b3(_0x36411c._0x24d044)];
|
|
926
|
-
const _0x3619df = _0x18d9b3(_0x36411c._0x53a392) + _0x17dc56 + ':' + randomUUID();
|
|
927
|
-
return _0x5464db[_0x18d9b3(0x190)](_0x4b1b8e, {
|
|
928
|
-
'expiresAt': _0x7bfb38 + 0x5 * 0x3c * 0x3e8,
|
|
929
|
-
'value': _0x3619df
|
|
930
|
-
}), _0x3619df;
|
|
931
|
-
}
|
|
932
|
-
async function _0x252eb3(_0x58bccc, _0x5c297f) {
|
|
933
|
-
const _0x2b8186 = _0x14f5b3, _0x4047df = new AbortController(), _0x258498 = setTimeout(() => _0x4047df[_0x2b8186(0x1c2)](), _0x4d11d4), _0x5cebd2 = _0x5c297f?.[_0x2b8186(_0x4732f0._0x21a3ed)] ? anySignal(_0x5c297f['signal'], _0x4047df[_0x2b8186(_0x4732f0._0x45547f)]) : _0x4047df[_0x2b8186(0x142)], _0x2d146c = '' + _0xa0a276 + _0x58bccc;
|
|
934
|
-
try {
|
|
935
|
-
const _0x35e692 = await _0x3d26df(_0x2d146c, {
|
|
936
|
-
..._0x5c297f,
|
|
937
|
-
'signal': _0x5cebd2
|
|
938
|
-
}), _0x5d4cfd = await _0x474918(_0x2d146c, _0x35e692);
|
|
939
|
-
if (!_0x35e692['ok'] || _0x5d4cfd[_0x2b8186(_0x4732f0._0x5acd46)] === ![])
|
|
940
|
-
throw new Error(asErrorMessage(_0x5d4cfd[_0x2b8186(_0x4732f0._0x1ba173)], 'HTTP\x20' + _0x35e692[_0x2b8186(_0x4732f0._0x320d44)]));
|
|
941
|
-
return _0x5d4cfd;
|
|
942
|
-
} finally {
|
|
943
|
-
clearTimeout(_0x258498);
|
|
944
|
-
}
|
|
945
|
-
}
|
|
946
|
-
async function _0x539991(_0x26ace5, _0x1296d1) {
|
|
947
|
-
const _0x1a6a3a = _0x14f5b3, _0x2e1d99 = new AbortController(), _0x321898 = setTimeout(() => _0x2e1d99[_0x1a6a3a(0x1c2)](), _0x4d11d4), _0x33314c = _0x1296d1?.[_0x1a6a3a(0x142)] ? anySignal(_0x1296d1['signal'], _0x2e1d99[_0x1a6a3a(_0x2ebd2c._0x212902)]) : _0x2e1d99[_0x1a6a3a(0x142)], _0x436715 = '' + _0xa0a276 + _0x26ace5;
|
|
948
|
-
try {
|
|
949
|
-
const _0x307367 = await _0x3d26df(_0x436715, {
|
|
950
|
-
..._0x1296d1,
|
|
951
|
-
'signal': _0x33314c
|
|
952
|
-
}), _0x498c89 = await _0x474918(_0x436715, _0x307367);
|
|
953
|
-
if (!_0x307367['ok'])
|
|
954
|
-
throw new Error(asErrorMessage(_0x498c89[_0x1a6a3a(0x24d)], _0x1a6a3a(_0x2ebd2c._0x48946d) + _0x307367[_0x1a6a3a(_0x2ebd2c._0x9022b)]));
|
|
955
|
-
return _0x498c89;
|
|
956
|
-
} finally {
|
|
957
|
-
clearTimeout(_0x321898);
|
|
958
|
-
}
|
|
959
|
-
}
|
|
960
|
-
async function _0x3b3a19(_0x435bdb) {
|
|
961
|
-
const _0x4594e5 = _0x14f5b3;
|
|
962
|
-
if (!_0x329f69 || _0x435bdb <= _0x541be7)
|
|
963
|
-
return;
|
|
964
|
-
await _0x252eb3('/api/agent-sessions/' + encodeURIComponent(_0x329f69) + _0x4594e5(0x151), {
|
|
965
|
-
'body': JSON[_0x4594e5(_0x2cf1d6._0x35c750)]({ 'lastSeenSeq': _0x435bdb }),
|
|
966
|
-
'headers': _0x17ed33,
|
|
967
|
-
'method': _0x4594e5(0x214)
|
|
968
|
-
}), _0x541be7 = _0x435bdb;
|
|
969
|
-
}
|
|
970
|
-
async function _0x152b64(_0x331fe5) {
|
|
971
|
-
const _0x134cc5 = _0x14f5b3;
|
|
972
|
-
if (!_0x543d13 || !_0x5b02cc || _0x331fe5 <= _0x541be7)
|
|
973
|
-
return;
|
|
974
|
-
const _0x5af68c = await _0x3d26df(_0x543d13 + _0x134cc5(_0x759e19._0x1867d6), {
|
|
975
|
-
'body': JSON[_0x134cc5(_0x759e19._0x350e28)]({
|
|
976
|
-
'last_seen_seq': _0x331fe5,
|
|
977
|
-
'worker_session_id': _0x5b02cc
|
|
978
|
-
}),
|
|
979
|
-
'headers': { 'Content-Type': _0x134cc5(0x14a) },
|
|
980
|
-
'method': 'POST'
|
|
981
|
-
});
|
|
982
|
-
if (!_0x5af68c['ok'])
|
|
983
|
-
throw new Error(_0x134cc5(_0x759e19._0x285087) + _0x5af68c['status']);
|
|
984
|
-
_0x541be7 = _0x331fe5;
|
|
985
|
-
}
|
|
986
|
-
async function _0x2ab924(_0x4dd308) {
|
|
987
|
-
const _0x230f82 = _0x14f5b3, _0x255d46 = parseTarget(_0x4dd308), _0x55e32a = await _0x252eb3('/internal/agent/' + _0x378182[_0x230f82(_0x477be2._0x477405)] + _0x230f82(_0x477be2._0x3db9e1), {
|
|
988
|
-
'body': JSON[_0x230f82(0x277)]({ 'target': _0x255d46[_0x230f82(_0x477be2._0x5386de)] }),
|
|
989
|
-
'headers': _0x17ed33,
|
|
990
|
-
'method': 'POST'
|
|
991
|
-
});
|
|
992
|
-
return {
|
|
993
|
-
'channelId': _0x55e32a[_0x230f82(0x1ec)]?.[_0x230f82(_0x477be2._0x3e2abd)] ?? '',
|
|
994
|
-
'target': _0x255d46[_0x230f82(_0x477be2._0x4a68df)],
|
|
995
|
-
'task': _0x55e32a[_0x230f82(0x1ec)]?.[_0x230f82(0x1b4)],
|
|
996
|
-
'threadId': _0x55e32a['data']?.['threadId'],
|
|
997
|
-
'threadNumber': _0x55e32a[_0x230f82(_0x477be2._0x13ae28)]?.['threadNumber']
|
|
998
|
-
};
|
|
999
|
-
}
|
|
1000
|
-
async function _0x589a42(_0x1c2372 = {}) {
|
|
1001
|
-
const _0x3479e3 = {
|
|
1002
|
-
_0x1cc032: 0x1ec,
|
|
1003
|
-
_0x1db692: 0x20f,
|
|
1004
|
-
_0x117ae3: 0x1de
|
|
1005
|
-
}, _0x3e8ade = _0x14f5b3;
|
|
1006
|
-
if (!_0x1c2372[_0x3e8ade(0x144)] && _0x53ba02)
|
|
1007
|
-
return _0x53ba02;
|
|
1008
|
-
return _0x53ba02 = (async () => {
|
|
1009
|
-
const _0x499757 = _0x3e8ade, _0xbb280 = await _0x252eb3(_0x499757(0x10c) + _0x378182[_0x499757(0x288)] + _0x499757(0x272), {
|
|
1010
|
-
'headers': _0x17ed33,
|
|
1011
|
-
'method': _0x499757(0x208)
|
|
1012
|
-
}), _0x363358 = _0xbb280[_0x499757(_0x3479e3._0x1cc032)]?.[_0x499757(0x252)] ?? [], _0x47df4b = _0x363358[_0x499757(_0x3479e3._0x1db692)](_0x3043cc => _0x3043cc[_0x499757(0x27b)]?.['type'] === _0x499757(0x28e))[_0x499757(0x21c)](_0x2d89fe => ({
|
|
1013
|
-
'id': _0x3c7770(_0x2d89fe),
|
|
1014
|
-
'name': _0x456c5e(_0x2d89fe)
|
|
1015
|
-
}))['filter'](_0x364a29 => _0x364a29['id']), _0x42f2b1 = _0x363358[_0x499757(0x20f)](_0x24583d => _0x24583d[_0x499757(0x27b)]?.[_0x499757(0x1cc)] !== 'agent')[_0x499757(0x21c)](_0x449352 => ({
|
|
1016
|
-
'id': _0x3c7770(_0x449352),
|
|
1017
|
-
'name': _0x456c5e(_0x449352)
|
|
1018
|
-
}))[_0x499757(0x20f)](_0x8c5ca2 => _0x8c5ca2['id']), _0xc5fbaf = _0xbb280[_0x499757(0x1ec)]?.['server']['id'] ?? '';
|
|
1019
|
-
return {
|
|
1020
|
-
'agents': _0x47df4b,
|
|
1021
|
-
'channels': _0xbb280[_0x499757(_0x3479e3._0x1cc032)]?.[_0x499757(0x284)] ?? [],
|
|
1022
|
-
'humans': _0x42f2b1,
|
|
1023
|
-
'serverId': _0xc5fbaf,
|
|
1024
|
-
'serverName': _0xbb280['data']?.[_0x499757(_0x3479e3._0x117ae3)]['name'] ?? _0xc5fbaf
|
|
1025
|
-
};
|
|
1026
|
-
})()[_0x3e8ade(0x230)](_0x8763eb => {
|
|
1027
|
-
_0x53ba02 = null;
|
|
1028
|
-
throw _0x8763eb;
|
|
1029
|
-
}), _0x53ba02;
|
|
1030
|
-
}
|
|
1031
|
-
function _0x189ec4(_0x123108, _0x3e976) {
|
|
1032
|
-
const _0x40ecd8 = _0x14f5b3;
|
|
1033
|
-
return _0x3e976[_0x40ecd8(_0x29dfc6._0x133a55)][_0x40ecd8(_0x29dfc6._0x48cd94)](_0x2530b1 => _0x2530b1['id'] === _0x123108 || _0x2530b1[_0x40ecd8(0x173)] === _0x123108) ? _0x40ecd8(0x28e) : _0x40ecd8(0x111);
|
|
1034
|
-
}
|
|
1035
|
-
function _0xb2570f(_0x1e7713) {
|
|
1036
|
-
const _0x34d8fe = _0x14f5b3;
|
|
1037
|
-
if (_0x1e7713[_0x34d8fe(0x147)] != null)
|
|
1038
|
-
return _0x1e7713[_0x34d8fe(_0x5af2af._0x1c24f3)] + ':t' + _0x1e7713[_0x34d8fe(0x147)];
|
|
1039
|
-
if (_0x1e7713[_0x34d8fe(_0x5af2af._0xde7ab9)])
|
|
1040
|
-
return _0x1e7713['channelTarget'] + ':' + _0x1e7713[_0x34d8fe(_0x5af2af._0x1395bf)];
|
|
1041
|
-
if (_0x1e7713[_0x34d8fe(_0x5af2af._0x1b372e)])
|
|
1042
|
-
return _0x1e7713[_0x34d8fe(0x215)] + ':' + _0x1e7713[_0x34d8fe(_0x5af2af._0x2bea5b)][_0x34d8fe(0x26d)](0x0, 0x8);
|
|
1043
|
-
return _0x1e7713[_0x34d8fe(0x215)];
|
|
1044
|
-
}
|
|
1045
|
-
function _0x1b6776(_0x4b0456, _0x4a68ad) {
|
|
1046
|
-
const _0x303aa4 = _0x14f5b3;
|
|
1047
|
-
try {
|
|
1048
|
-
const _0x556b53 = parseTarget(_0x4b0456);
|
|
1049
|
-
if (_0x556b53[_0x303aa4(0x1c6)] !== 'thread' || _0x556b53['channelTarget'] !== _0x4a68ad[_0x303aa4(_0x32dd32._0x52900c)])
|
|
1050
|
-
return ![];
|
|
1051
|
-
if (_0x4a68ad[_0x303aa4(_0x32dd32._0x54cccb)] != null && _0x556b53['threadShortId'] === 't' + _0x4a68ad[_0x303aa4(_0x32dd32._0x54cccb)])
|
|
1052
|
-
return !![];
|
|
1053
|
-
if (_0x4a68ad['rootMessageId'])
|
|
1054
|
-
return _0x556b53[_0x303aa4(_0x32dd32._0x5dc1cf)] === _0x4a68ad['rootMessageId'] || _0x4a68ad[_0x303aa4(_0x32dd32._0x582d9e)][_0x303aa4(_0x32dd32._0x1e1979)](_0x556b53[_0x303aa4(_0x32dd32._0x5dc1cf)]);
|
|
1055
|
-
if (_0x4a68ad[_0x303aa4(_0x32dd32._0x2263b4)])
|
|
1056
|
-
return _0x556b53['threadShortId'] === _0x4a68ad['threadId'] || _0x4a68ad['threadId']['startsWith'](_0x556b53[_0x303aa4(0x1af)]);
|
|
1057
|
-
return ![];
|
|
1058
|
-
} catch {
|
|
1059
|
-
return ![];
|
|
1060
|
-
}
|
|
1061
|
-
}
|
|
1062
|
-
function _0x437520(_0x9d1267, _0x4d40ab) {
|
|
1063
|
-
const _0x58cf18 = _0x14f5b3;
|
|
1064
|
-
try {
|
|
1065
|
-
const _0xbe1bab = parseTarget(_0x9d1267);
|
|
1066
|
-
if (_0xbe1bab['kind'] !== _0x58cf18(_0x352c1d._0x105b63))
|
|
1067
|
-
return ![];
|
|
1068
|
-
const _0x3cec03 = typeof _0x4d40ab[_0x58cf18(_0x352c1d._0x169c65)] === _0x58cf18(0x17a) && Number['isInteger'](_0x4d40ab[_0x58cf18(_0x352c1d._0x169c65)]) ? _0x4d40ab[_0x58cf18(0x147)] : void 0x0;
|
|
1069
|
-
if (_0x3cec03 != null && _0xbe1bab[_0x58cf18(_0x352c1d._0x59cca7)] === 't' + _0x3cec03)
|
|
1070
|
-
return !![];
|
|
1071
|
-
const _0x4c5361 = typeof _0x4d40ab[_0x58cf18(0x17b)] === 'string' ? _0x4d40ab[_0x58cf18(0x17b)] : void 0x0;
|
|
1072
|
-
if (_0x4c5361)
|
|
1073
|
-
return _0xbe1bab['threadShortId'] === _0x4c5361 || _0x4c5361[_0x58cf18(_0x352c1d._0x5315fa)](_0xbe1bab['threadShortId']);
|
|
1074
|
-
const _0x141e1d = typeof _0x4d40ab[_0x58cf18(_0x352c1d._0x2955cd)] === 'string' ? _0x4d40ab['threadId'] : void 0x0;
|
|
1075
|
-
return Boolean(_0x141e1d) && (_0xbe1bab['threadShortId'] === _0x141e1d || _0x141e1d[_0x58cf18(_0x352c1d._0x5315fa)](_0xbe1bab['threadShortId']));
|
|
1076
|
-
} catch {
|
|
1077
|
-
return ![];
|
|
1078
|
-
}
|
|
1079
|
-
}
|
|
1080
|
-
function _0x3c7770(_0x1f695b) {
|
|
1081
|
-
const _0x152a6e = _0x14f5b3;
|
|
1082
|
-
return _0x1f695b[_0x152a6e(0x19a)]?.[_0x152a6e(_0x3a3764._0x161eb7)] ?? _0x1f695b[_0x152a6e(0x27b)]?.['id'] ?? _0x1f695b['participantId'] ?? '';
|
|
1083
|
-
}
|
|
1084
|
-
function _0x456c5e(_0x306860) {
|
|
1085
|
-
const _0x393728 = _0x14f5b3;
|
|
1086
|
-
return _0x306860[_0x393728(_0x51a651._0x7e39c3)]?.[_0x393728(0x173)] ?? _0x3c7770(_0x306860);
|
|
1087
|
-
}
|
|
1088
|
-
async function _0x276c3f(_0x1fc4eb) {
|
|
1089
|
-
const _0x5a5d8e = _0x14f5b3, _0x24b2d2 = Math[_0x5a5d8e(_0x1cd4a9._0x12b53a)](_0x1fc4eb[_0x5a5d8e(_0x1cd4a9._0x1776e5)] ?? 0x32, 0x64), _0xf55dc3 = await _0x589a42(), _0x58ef8c = new URLSearchParams();
|
|
1090
|
-
_0x58ef8c['set'](_0x5a5d8e(0x20c), String(_0x24b2d2));
|
|
1091
|
-
_0x1fc4eb[_0x5a5d8e(0x259)] ? (_0x58ef8c[_0x5a5d8e(0x190)](_0x5a5d8e(0x259), _0x1fc4eb[_0x5a5d8e(0x259)]), _0x58ef8c[_0x5a5d8e(0x190)](_0x5a5d8e(_0x1cd4a9._0x44d79c), _0x1fc4eb[_0x5a5d8e(_0x1cd4a9._0x44d79c)])) : _0x58ef8c[_0x5a5d8e(0x190)]('channelId', _0x1fc4eb[_0x5a5d8e(_0x1cd4a9._0x44d79c)]);
|
|
1092
|
-
_0x1fc4eb[_0x5a5d8e(0x1a7)] && _0x58ef8c['set'](_0x5a5d8e(_0x1cd4a9._0x89ab59), String(_0x1fc4eb[_0x5a5d8e(0x1a7)]));
|
|
1093
|
-
_0x1fc4eb[_0x5a5d8e(0x10d)] !== void 0x0 && _0x58ef8c['set'](_0x5a5d8e(_0x1cd4a9._0x5206ca), String(_0x1fc4eb['after']));
|
|
1094
|
-
const _0x5766bf = await _0x252eb3(_0x5a5d8e(_0x1cd4a9._0x563b58) + _0x378182[_0x5a5d8e(_0x1cd4a9._0x1fd374)] + _0x5a5d8e(0x28a) + _0x58ef8c['toString'](), {
|
|
1095
|
-
'headers': _0x17ed33,
|
|
1096
|
-
'method': _0x5a5d8e(_0x1cd4a9._0x38737d)
|
|
1097
|
-
}), _0x4a6a0c = (_0x5766bf[_0x5a5d8e(_0x1cd4a9._0x32363a)] ?? [])['map'](_0x54721d => ({
|
|
1098
|
-
'attachments': (_0x54721d[_0x5a5d8e(0x186)] ?? [])['map'](_0x2e7dbc => ({
|
|
1099
|
-
'filename': _0x2e7dbc['filename'] ?? _0x2e7dbc['id'],
|
|
1100
|
-
'id': _0x2e7dbc['id']
|
|
1101
|
-
})),
|
|
1102
|
-
'content': _0x54721d['bodyMarkdown'] ?? '',
|
|
1103
|
-
'createdAt': _0x54721d[_0x5a5d8e(0x1d0)],
|
|
1104
|
-
..._0x54721d[_0x5a5d8e(0x1c6)] && _0x54721d['kind'] !== _0x5a5d8e(0x1da) ? { 'kind': _0x54721d[_0x5a5d8e(0x1c6)] } : {},
|
|
1105
|
-
'messageId': _0x54721d['id'],
|
|
1106
|
-
'senderName': _0x54721d[_0x5a5d8e(0x191)],
|
|
1107
|
-
'senderType': _0x189ec4(_0x54721d['senderParticipantId'], _0xf55dc3),
|
|
1108
|
-
'seq': _0x54721d[_0x5a5d8e(0x18f)] ?? 0x0
|
|
1109
|
-
}));
|
|
1110
|
-
return {
|
|
1111
|
-
'channel': _0x1fc4eb[_0x5a5d8e(_0x1cd4a9._0x15abcf)],
|
|
1112
|
-
'hasMore': _0x5766bf[_0x5a5d8e(_0x1cd4a9._0x507362)]?.[_0x5a5d8e(_0x1cd4a9._0x351f1f)] ?? ![],
|
|
1113
|
-
'messages': _0x4a6a0c,
|
|
1114
|
-
'nextCursor': _0x5766bf['meta']?.[_0x5a5d8e(_0x1cd4a9._0x89ab59)]
|
|
1115
|
-
};
|
|
1116
|
-
}
|
|
1117
|
-
return {
|
|
1118
|
-
async 'sendMessage'(_0xe2db25) {
|
|
1119
|
-
const _0x91aa27 = _0x14f5b3, _0x1819ee = await _0x2ab924(_0xe2db25[_0x91aa27(_0x18b573._0x470b4f)]), _0x370c6e = _0xe2db25[_0x91aa27(0x26f)]['includes']('@') ? extractMentionedParticipantIds(_0xe2db25['content'], await _0x589a42()) : [], _0x362f24 = await _0x252eb3('/internal/agent/' + _0x378182[_0x91aa27(_0x18b573._0x4ef096)] + '/send', {
|
|
1120
|
-
'body': JSON['stringify']({
|
|
1121
|
-
'attachment_ids': _0xe2db25[_0x91aa27(0x1fc)],
|
|
1122
|
-
'bodyMarkdown': _0xe2db25['content'],
|
|
1123
|
-
'channelId': _0x1819ee['channelId'],
|
|
1124
|
-
..._0x370c6e[_0x91aa27(0x18d)] > 0x0 ? { 'mentionedParticipantIds': _0x370c6e } : {},
|
|
1125
|
-
'threadId': _0x1819ee[_0x91aa27(0x259)],
|
|
1126
|
-
..._0xe2db25[_0x91aa27(_0x18b573._0x1c9cb4)] ? { 'visibility': _0xe2db25['visibility'] } : {}
|
|
1127
|
-
}),
|
|
1128
|
-
'headers': _0x17ed33,
|
|
1129
|
-
'method': 'POST'
|
|
1130
|
-
});
|
|
1131
|
-
return { 'messageId': _0x362f24[_0x91aa27(0x1ec)]?.['id'] ?? '' };
|
|
1132
|
-
},
|
|
1133
|
-
async 'listSchedules'() {
|
|
1134
|
-
const _0x50cce8 = _0x14f5b3, _0x17ec9a = await _0x252eb3(_0x50cce8(0x1bb), {
|
|
1135
|
-
'headers': _0x17ed33,
|
|
1136
|
-
'method': _0x50cce8(_0x12f092._0x120e86)
|
|
1137
|
-
});
|
|
1138
|
-
return _0x17ec9a['data'] ?? [];
|
|
1139
|
-
},
|
|
1140
|
-
async 'claimScheduleRun'(_0x3ab6a7) {
|
|
1141
|
-
const _0x3f6c56 = _0x14f5b3, _0x7fe926 = await _0x252eb3(_0x3f6c56(_0x34ed25._0xdfc7c4), {
|
|
1142
|
-
'body': JSON[_0x3f6c56(_0x34ed25._0x38b7ae)](_0x3ab6a7),
|
|
1143
|
-
'headers': _0x17ed33,
|
|
1144
|
-
'method': _0x3f6c56(_0x34ed25._0x233688)
|
|
1145
|
-
});
|
|
1146
|
-
return _0x7fe926[_0x3f6c56(0x1ec)] ?? {
|
|
1147
|
-
'granted': ![],
|
|
1148
|
-
'runId': null,
|
|
1149
|
-
'schedule': null,
|
|
1150
|
-
'scheduledFor': _0x3ab6a7['scheduledFor']
|
|
1151
|
-
};
|
|
1152
|
-
},
|
|
1153
|
-
async 'startScheduleRun'(_0x491c42) {
|
|
1154
|
-
const _0x5c4bdb = _0x14f5b3, _0x33fcf8 = await _0x252eb3(_0x5c4bdb(_0x2fd1f7._0x1db28f) + encodeURIComponent(_0x491c42[_0x5c4bdb(0x109)]) + _0x5c4bdb(_0x2fd1f7._0x30a826), {
|
|
1155
|
-
'body': JSON[_0x5c4bdb(0x277)]({}),
|
|
1156
|
-
'headers': _0x17ed33,
|
|
1157
|
-
'method': _0x5c4bdb(0x204)
|
|
1158
|
-
});
|
|
1159
|
-
return _0x33fcf8[_0x5c4bdb(_0x2fd1f7._0x18d29e)] ?? {
|
|
1160
|
-
'claimedByDaemonId': '',
|
|
1161
|
-
'id': _0x491c42[_0x5c4bdb(0x109)],
|
|
1162
|
-
'scheduleId': '',
|
|
1163
|
-
'status': 'running'
|
|
1164
|
-
};
|
|
1165
|
-
},
|
|
1166
|
-
async 'finishScheduleRun'(_0x5ebec7) {
|
|
1167
|
-
const _0x175034 = _0x14f5b3, _0x57aba2 = await _0x252eb3(_0x175034(0x1a3) + encodeURIComponent(_0x5ebec7[_0x175034(_0x9789d8._0x2f9bbf)]) + _0x175034(0x1f3), {
|
|
1168
|
-
'body': JSON[_0x175034(_0x9789d8._0x4cce09)]({
|
|
1169
|
-
'error': _0x5ebec7[_0x175034(0x24d)],
|
|
1170
|
-
'resultJson': _0x5ebec7[_0x175034(0x178)],
|
|
1171
|
-
'status': _0x5ebec7[_0x175034(0x291)]
|
|
1172
|
-
}),
|
|
1173
|
-
'headers': _0x17ed33,
|
|
1174
|
-
'method': _0x175034(0x204)
|
|
1175
|
-
});
|
|
1176
|
-
return _0x57aba2['data'] ?? {
|
|
1177
|
-
'nextRunAt': null,
|
|
1178
|
-
'run': {
|
|
1179
|
-
'claimedByDaemonId': '',
|
|
1180
|
-
'id': _0x5ebec7[_0x175034(_0x9789d8._0x3a6290)],
|
|
1181
|
-
'scheduleId': '',
|
|
1182
|
-
'status': _0x5ebec7[_0x175034(0x291)]
|
|
1183
|
-
}
|
|
1184
|
-
};
|
|
1185
|
-
},
|
|
1186
|
-
async 'listTasks'(_0x4ec697) {
|
|
1187
|
-
const _0x2fd955 = _0x14f5b3, _0x360c34 = new URLSearchParams();
|
|
1188
|
-
return _0x360c34[_0x2fd955(0x190)](_0x2fd955(_0x423577._0x525a29), _0x4ec697[_0x2fd955(0x1f4)]), _0x4ec697[_0x2fd955(0x291)] && _0x360c34[_0x2fd955(_0x423577._0x1d4a8b)]('status', _0x4ec697[_0x2fd955(_0x423577._0x3a486d)]), _0x539991('/internal/agent/' + _0x378182['agentId'] + _0x2fd955(0x293) + _0x360c34['toString'](), {
|
|
1189
|
-
'headers': _0x17ed33,
|
|
1190
|
-
'method': _0x2fd955(0x208)
|
|
1191
|
-
});
|
|
1192
|
-
},
|
|
1193
|
-
async 'createTasks'(_0x262d37) {
|
|
1194
|
-
const _0x19745e = _0x14f5b3;
|
|
1195
|
-
return _0x539991('/internal/agent/' + _0x378182['agentId'] + '/tasks', {
|
|
1196
|
-
'body': JSON[_0x19745e(_0x25f0b3._0x3e14c5)]({
|
|
1197
|
-
..._0x262d37,
|
|
1198
|
-
'idempotency_key': _0x5682ba('create_tasks', _0x262d37)
|
|
1199
|
-
}),
|
|
1200
|
-
'headers': _0x17ed33,
|
|
1201
|
-
'method': 'POST'
|
|
1202
|
-
});
|
|
1203
|
-
},
|
|
1204
|
-
async 'claimTasks'(_0x27433e) {
|
|
1205
|
-
const _0x183f36 = _0x14f5b3;
|
|
1206
|
-
return _0x539991('/internal/agent/' + _0x378182['agentId'] + _0x183f36(0x159), {
|
|
1207
|
-
'body': JSON[_0x183f36(0x277)]({
|
|
1208
|
-
..._0x27433e,
|
|
1209
|
-
'idempotency_key': _0x5682ba('claim_tasks', _0x27433e)
|
|
1210
|
-
}),
|
|
1211
|
-
'headers': _0x17ed33,
|
|
1212
|
-
'method': _0x183f36(0x204)
|
|
1213
|
-
});
|
|
1214
|
-
},
|
|
1215
|
-
async 'unclaimTask'(_0x536e54) {
|
|
1216
|
-
const _0x13f166 = _0x14f5b3;
|
|
1217
|
-
return _0x539991(_0x13f166(_0x3b4247._0x59a1cc) + _0x378182[_0x13f166(_0x3b4247._0x506714)] + _0x13f166(_0x3b4247._0x7f0428), {
|
|
1218
|
-
'body': JSON[_0x13f166(_0x3b4247._0x18dc88)]({
|
|
1219
|
-
..._0x536e54,
|
|
1220
|
-
'idempotency_key': _0x5682ba(_0x13f166(_0x3b4247._0x23d91c), _0x536e54)
|
|
1221
|
-
}),
|
|
1222
|
-
'headers': _0x17ed33,
|
|
1223
|
-
'method': _0x13f166(0x204)
|
|
1224
|
-
});
|
|
1225
|
-
},
|
|
1226
|
-
async 'updateTaskStatus'(_0x5626c1) {
|
|
1227
|
-
const _0xbdcc37 = _0x14f5b3;
|
|
1228
|
-
return _0x539991('/internal/agent/' + _0x378182['agentId'] + _0xbdcc37(_0x551db2._0x10f987), {
|
|
1229
|
-
'body': JSON[_0xbdcc37(0x277)]({
|
|
1230
|
-
..._0x5626c1,
|
|
1231
|
-
'idempotency_key': _0x5682ba(_0xbdcc37(0x1e8), _0x5626c1)
|
|
1232
|
-
}),
|
|
1233
|
-
'headers': _0x17ed33,
|
|
1234
|
-
'method': _0xbdcc37(_0x551db2._0x81e9fb)
|
|
1235
|
-
});
|
|
1236
|
-
},
|
|
1237
|
-
async 'uploadFile'(_0x536108) {
|
|
1238
|
-
const _0x253051 = _0x14f5b3, _0x40a82f = await _0x2ab924(_0x536108[_0x253051(_0x2e0c40._0x218a76)]);
|
|
1239
|
-
if (_0x40a82f[_0x253051(_0x2e0c40._0x4ad477)])
|
|
1240
|
-
throw new Error(_0x253051(_0x2e0c40._0xe54975));
|
|
1241
|
-
const _0x422047 = await _0x252eb3('/internal/agent/' + _0x378182[_0x253051(_0x2e0c40._0x5af325)] + _0x253051(_0x2e0c40._0x384a55), {
|
|
1242
|
-
'body': JSON[_0x253051(0x277)]({
|
|
1243
|
-
'channel': _0x40a82f[_0x253051(_0x2e0c40._0x4ebf94)],
|
|
1244
|
-
'contentBase64': _0x536108['contentBase64'],
|
|
1245
|
-
'contentType': _0x536108[_0x253051(_0x2e0c40._0x58a4be)],
|
|
1246
|
-
'originalFilename': _0x536108[_0x253051(0x274)]
|
|
1247
|
-
}),
|
|
1248
|
-
'headers': _0x17ed33,
|
|
1249
|
-
'method': _0x253051(0x204)
|
|
1250
|
-
});
|
|
1251
|
-
return {
|
|
1252
|
-
'attachmentId': _0x422047[_0x253051(_0x2e0c40._0x102d81)]?.['id'] ?? '',
|
|
1253
|
-
'filename': _0x422047[_0x253051(_0x2e0c40._0x102d81)]?.[_0x253051(0x108)] ?? _0x536108['filename'],
|
|
1254
|
-
'sizeBytes': _0x422047[_0x253051(0x1ec)]?.[_0x253051(0x22d)] ?? 0x0
|
|
1255
|
-
};
|
|
1256
|
-
},
|
|
1257
|
-
async 'downloadAttachment'(_0x178b78) {
|
|
1258
|
-
const _0x77cba6 = _0x14f5b3, _0xe2ff58 = await _0x252eb3(_0x77cba6(_0x5afa7e._0x484ef9) + _0x178b78, {
|
|
1259
|
-
'headers': _0x17ed33,
|
|
1260
|
-
'method': _0x77cba6(_0x5afa7e._0x47dc05)
|
|
1261
|
-
}), _0x5672dd = new AbortController(), _0x1aedb3 = setTimeout(() => _0x5672dd[_0x77cba6(0x1c2)](), _0x4d11d4);
|
|
1262
|
-
try {
|
|
1263
|
-
const _0x5b3cae = await _0x3d26df(_0xa0a276 + _0x77cba6(_0x5afa7e._0x12ee1a) + _0x178b78 + _0x77cba6(0x17f), {
|
|
1264
|
-
'headers': _0x17ed33,
|
|
1265
|
-
'method': _0x77cba6(_0x5afa7e._0x47dc05),
|
|
1266
|
-
'signal': _0x5672dd[_0x77cba6(_0x5afa7e._0xffa40)]
|
|
1267
|
-
});
|
|
1268
|
-
if (!_0x5b3cae['ok'])
|
|
1269
|
-
throw new Error(_0x77cba6(0x19b) + _0x5b3cae['status']);
|
|
1270
|
-
return {
|
|
1271
|
-
'contentType': _0xe2ff58[_0x77cba6(0x1ec)]?.[_0x77cba6(_0x5afa7e._0x409ccb)] ?? _0x5b3cae[_0x77cba6(_0x5afa7e._0x1bbb14)][_0x77cba6(_0x5afa7e._0x3f0ca5)](_0x77cba6(0x1e7)) ?? _0x77cba6(0x16d),
|
|
1272
|
-
'data': Buffer[_0x77cba6(0x1c8)](await _0x5b3cae['arrayBuffer']()),
|
|
1273
|
-
'originalFilename': _0xe2ff58[_0x77cba6(0x1ec)]?.[_0x77cba6(_0x5afa7e._0x449243)]
|
|
1274
|
-
};
|
|
1275
|
-
} finally {
|
|
1276
|
-
clearTimeout(_0x1aedb3);
|
|
1277
|
-
}
|
|
1278
|
-
},
|
|
1279
|
-
async 'listServer'() {
|
|
1280
|
-
return _0x589a42({ 'forceRefresh': !![] });
|
|
1281
|
-
},
|
|
1282
|
-
async 'readHistory'(_0x33a5ef) {
|
|
1283
|
-
const _0x37ddb1 = _0x14f5b3, _0x5e856b = await _0x2ab924(_0x33a5ef[_0x37ddb1(0x1f4)]);
|
|
1284
|
-
return _0x276c3f({
|
|
1285
|
-
'after': _0x33a5ef[_0x37ddb1(0x10d)],
|
|
1286
|
-
'before': _0x33a5ef['before'],
|
|
1287
|
-
'channelId': _0x5e856b[_0x37ddb1(_0x433d67._0xcd1b84)],
|
|
1288
|
-
'channelTarget': _0x5e856b[_0x37ddb1(0x226)],
|
|
1289
|
-
'limit': _0x33a5ef[_0x37ddb1(_0x433d67._0x445004)],
|
|
1290
|
-
'threadId': _0x5e856b[_0x37ddb1(0x259)]
|
|
1291
|
-
});
|
|
1292
|
-
},
|
|
1293
|
-
'resolveTarget': _0x2ab924,
|
|
1294
|
-
async 'checkMessages'() {
|
|
1295
|
-
const _0x2ae633 = {
|
|
1296
|
-
_0xde1052: 0x177,
|
|
1297
|
-
_0x29b8fe: 0x1b8,
|
|
1298
|
-
_0x4e2d63: 0x1ca
|
|
1299
|
-
}, _0x14ebee = { _0x4f3474: 0x21d }, _0x39ea38 = _0x14f5b3, _0x352494 = new URLSearchParams();
|
|
1300
|
-
_0x352494[_0x39ea38(_0x2d1927._0x4d21cd)](_0x39ea38(0x1b3), String(_0x27020f));
|
|
1301
|
-
const _0x1ff6e6 = _0x352494[_0x39ea38(0x213)](), _0x379b8b = await _0x252eb3('/internal/agent/' + _0x378182[_0x39ea38(_0x2d1927._0x83e488)] + _0x39ea38(0x132) + (_0x1ff6e6 ? '?' + _0x1ff6e6 : ''), {
|
|
1302
|
-
'headers': _0x17ed33,
|
|
1303
|
-
'method': 'GET'
|
|
1304
|
-
}), _0x9c09e9 = _0x379b8b[_0x39ea38(0x1ec)] ?? [], _0x1bf5e1 = _0x379b8b[_0x39ea38(0x221)]?.[_0x39ea38(0x167)], _0x43f76d = _0x36b777 ? _0x9c09e9['filter'](_0x3fb05b => {
|
|
1305
|
-
const _0x2c462 = _0x39ea38;
|
|
1306
|
-
if (_0x3fb05b[_0x2c462(_0x14ebee._0x4f3474)] !== _0x2c462(0x219))
|
|
1307
|
-
return ![];
|
|
1308
|
-
return _0x437520(_0x36b777, asRecord(_0x3fb05b['payloadJson']));
|
|
1309
|
-
}) : _0x9c09e9, _0x43a4ba = _0x1bf5e1 !== void 0x0 ? _0x36b777 ? Math['max'](_0x27020f, _0x43f76d[_0x39ea38(0x18d)] > 0x0 ? _0x43f76d[_0x43f76d['length'] - 0x1][_0x39ea38(_0x2d1927._0x52a0fa)] : _0x27020f) : Math[_0x39ea38(0x16a)](_0x27020f, _0x1bf5e1) : _0x43f76d[_0x39ea38(0x18d)] > 0x0 ? Math['max'](_0x27020f, _0x43f76d[_0x43f76d[_0x39ea38(0x18d)] - 0x1]['seq']) : _0x27020f, _0xb61644 = _0x9c09e9[_0x39ea38(_0x2d1927._0x19e27d)](_0x1cfa66 => _0x1cfa66['aggregateType'] === _0x39ea38(0x219)), _0x207005 = _0x36b777 === void 0x0 && _0x3a9c60;
|
|
1310
|
-
let _0x5a9ec8 = await _0x589a42(), _0x1002d2 = new Map(_0x5a9ec8['channels'][_0x39ea38(0x21c)](_0x3d28d6 => [
|
|
1311
|
-
_0x3d28d6['id'],
|
|
1312
|
-
_0x3d28d6
|
|
1313
|
-
]));
|
|
1314
|
-
const _0x3a573b = _0xb61644[_0x39ea38(0x157)](_0x1f8f5c => {
|
|
1315
|
-
const _0x33f983 = _0x39ea38, _0x4dc56e = asRecord(_0x1f8f5c[_0x33f983(_0x2ae633._0xde1052)]), _0x3433c4 = typeof _0x4dc56e?.[_0x33f983(0x1ca)] === _0x33f983(_0x2ae633._0x29b8fe) ? _0x4dc56e[_0x33f983(_0x2ae633._0x4e2d63)] : '';
|
|
1316
|
-
return Boolean(_0x3433c4) && !_0x1002d2['has'](_0x3433c4);
|
|
1317
|
-
});
|
|
1318
|
-
_0x3a573b && (_0x5a9ec8 = await _0x589a42({ 'forceRefresh': !![] }), _0x1002d2 = new Map(_0x5a9ec8[_0x39ea38(_0x2d1927._0x435e45)]['map'](_0x40ec9f => [
|
|
1319
|
-
_0x40ec9f['id'],
|
|
1320
|
-
_0x40ec9f
|
|
1321
|
-
])));
|
|
1322
|
-
const _0x4d2ccb = new Map();
|
|
1323
|
-
for (const _0x4c92e3 of _0xb61644) {
|
|
1324
|
-
const _0x109b31 = asRecord(_0x4c92e3['payloadJson']), _0x589b27 = typeof _0x109b31[_0x39ea38(_0x2d1927._0x4f2e20)] === _0x39ea38(0x1b8) ? _0x109b31[_0x39ea38(0x1ca)] : '';
|
|
1325
|
-
if (!_0x589b27)
|
|
1326
|
-
continue;
|
|
1327
|
-
const _0x449b09 = typeof _0x109b31['threadId'] === _0x39ea38(0x1b8) ? _0x109b31[_0x39ea38(0x259)] : void 0x0, _0x1db4a0 = typeof _0x109b31[_0x39ea38(0x17b)] === 'string' ? _0x109b31[_0x39ea38(_0x2d1927._0xfb7054)] : void 0x0, _0x44a7af = typeof _0x109b31[_0x39ea38(_0x2d1927._0x4ee86c)] === _0x39ea38(0x17a) && Number[_0x39ea38(0x15f)](_0x109b31[_0x39ea38(0x147)]) ? _0x109b31['threadNumber'] : void 0x0, _0xb3e995 = Boolean(_0x449b09 && (!_0x1db4a0 || _0x4c92e3['aggregateId'] !== _0x1db4a0)), _0x2ab979 = _0xb3e995 ? _0x589b27 + ':' + _0x449b09 : _0x589b27, _0x1990ac = _0x4d2ccb[_0x39ea38(_0x2d1927._0x9e8ef3)](_0x2ab979) ?? {
|
|
1328
|
-
'aggregateIds': [],
|
|
1329
|
-
'channelId': _0x589b27,
|
|
1330
|
-
'entries': new Map(),
|
|
1331
|
-
'isThreadReply': _0xb3e995,
|
|
1332
|
-
'rootMessageId': _0x1db4a0,
|
|
1333
|
-
'threadNumber': _0x44a7af,
|
|
1334
|
-
'threadId': _0xb3e995 ? _0x449b09 : void 0x0
|
|
1335
|
-
};
|
|
1336
|
-
_0x1990ac[_0x39ea38(0x147)] == null && _0x44a7af != null && (_0x1990ac['threadNumber'] = _0x44a7af), !_0x1990ac[_0x39ea38(0x17b)] && _0x1db4a0 && (_0x1990ac[_0x39ea38(0x17b)] = _0x1db4a0), _0x1990ac['aggregateIds'][_0x39ea38(0x13c)](_0x4c92e3['aggregateId']), _0x1990ac[_0x39ea38(_0x2d1927._0x13c76e)]['set'](_0x4c92e3['aggregateId'], {
|
|
1337
|
-
'payloadJson': _0x4c92e3[_0x39ea38(0x177)],
|
|
1338
|
-
'seq': _0x4c92e3[_0x39ea38(0x107)]
|
|
1339
|
-
}), _0x4d2ccb[_0x39ea38(0x190)](_0x2ab979, _0x1990ac);
|
|
1340
|
-
}
|
|
1341
|
-
const _0x1a2f7f = [];
|
|
1342
|
-
for (const _0x969a30 of _0x4d2ccb[_0x39ea38(0x1f6)]()) {
|
|
1343
|
-
const {
|
|
1344
|
-
channelId: _0x3dcb9b,
|
|
1345
|
-
threadId: _0x52968f,
|
|
1346
|
-
rootMessageId: _0x3708a9,
|
|
1347
|
-
threadNumber: _0x4ed0ce,
|
|
1348
|
-
aggregateIds: _0x25f0fd,
|
|
1349
|
-
isThreadReply: _0x3507f1,
|
|
1350
|
-
entries: _0x2df93c
|
|
1351
|
-
} = _0x969a30, _0x16c365 = _0x1002d2['get'](_0x3dcb9b), _0x5652a3 = _0x16c365?.[_0x39ea38(0x173)] ?? _0x3dcb9b, _0x22e8c6 = _0x16c365?.['kind'] === 'dm' ? _0x39ea38(0x1e2) + _0x5652a3 : '#' + _0x5652a3, _0x22497b = {
|
|
1352
|
-
'channelTarget': _0x22e8c6,
|
|
1353
|
-
'rootMessageId': _0x3708a9,
|
|
1354
|
-
'threadId': _0x52968f,
|
|
1355
|
-
'threadNumber': _0x4ed0ce
|
|
1356
|
-
}, _0x37cd25 = await _0x276c3f({
|
|
1357
|
-
'channelId': _0x3dcb9b,
|
|
1358
|
-
'channelTarget': _0x22e8c6,
|
|
1359
|
-
'limit': Math[_0x39ea38(_0x2d1927._0x9e4912)](_0x25f0fd[_0x39ea38(_0x2d1927._0x2a59ab)], 0x32),
|
|
1360
|
-
'threadId': _0x52968f
|
|
1361
|
-
}), _0x3fc3ab = new Map(_0x37cd25[_0x39ea38(_0x2d1927._0x1741c5)]['map'](_0x23ca70 => [
|
|
1362
|
-
_0x23ca70[_0x39ea38(0x161)],
|
|
1363
|
-
_0x23ca70
|
|
1364
|
-
])), _0x5a5516 = _0x52968f ? _0xb2570f(_0x22497b) : _0x22e8c6, _0x2ed4f3 = _0x36b777 ? _0x3507f1 && _0x1b6776(_0x36b777, _0x22497b) : !![], _0x46dcf9 = _0x3507f1 ? _0x2ed4f3 && _0x36b777 ? _0x36b777 : _0x5a5516 : _0x22e8c6;
|
|
1365
|
-
for (const _0x231145 of _0x25f0fd) {
|
|
1366
|
-
if (!_0x2ed4f3)
|
|
1367
|
-
continue;
|
|
1368
|
-
const _0x3402fc = _0x2df93c[_0x39ea38(0x171)](_0x231145), _0x342eb6 = _0x3402fc ? asRecord(_0x3402fc['payloadJson']) : void 0x0, _0x3dd364 = _0x342eb6?.['taskDeliveryMode'] === 'targeted';
|
|
1369
|
-
if (_0x207005 && _0x3dd364)
|
|
1370
|
-
continue;
|
|
1371
|
-
const _0x3df688 = _0x3fc3ab[_0x39ea38(0x171)](_0x231145);
|
|
1372
|
-
if (_0x3df688) {
|
|
1373
|
-
_0x1a2f7f['push']({
|
|
1374
|
-
'attachments': _0x3df688[_0x39ea38(0x186)],
|
|
1375
|
-
'content': _0x3df688[_0x39ea38(_0x2d1927._0x4713f5)],
|
|
1376
|
-
'createdAt': _0x3df688[_0x39ea38(0x1d0)],
|
|
1377
|
-
..._0x3df688[_0x39ea38(_0x2d1927._0x1e41a7)] ? { 'kind': _0x3df688[_0x39ea38(0x1c6)] } : {},
|
|
1378
|
-
'messageId': _0x3df688['messageId'],
|
|
1379
|
-
'senderName': _0x3df688[_0x39ea38(0x19c)],
|
|
1380
|
-
'senderType': _0x3df688[_0x39ea38(_0x2d1927._0x517379)],
|
|
1381
|
-
'target': _0x46dcf9,
|
|
1382
|
-
..._0x3dd364 ? { 'targetedTask': !![] } : {}
|
|
1383
|
-
});
|
|
1384
|
-
continue;
|
|
1385
|
-
}
|
|
1386
|
-
if (_0x3402fc) {
|
|
1387
|
-
const _0x18ab34 = typeof _0x342eb6?.['senderParticipantId'] === _0x39ea38(0x1b8) ? _0x342eb6[_0x39ea38(0x191)] : '', _0x1f6f84 = typeof _0x342eb6?.['bodyMarkdown'] === 'string' ? _0x342eb6[_0x39ea38(_0x2d1927._0x26e3e1)] : '', _0x4b96b1 = typeof _0x342eb6?.[_0x39ea38(0x1c6)] === _0x39ea38(_0x2d1927._0x5eeca6) && _0x342eb6[_0x39ea38(0x1c6)] !== _0x39ea38(0x1da) ? _0x342eb6['kind'] : void 0x0;
|
|
1388
|
-
_0x18ab34 && _0x1f6f84 && _0x1a2f7f[_0x39ea38(_0x2d1927._0x42e902)]({
|
|
1389
|
-
'attachments': [],
|
|
1390
|
-
'content': _0x1f6f84,
|
|
1391
|
-
'createdAt': new Date()[_0x39ea38(_0x2d1927._0x359c47)](),
|
|
1392
|
-
..._0x4b96b1 ? { 'kind': _0x4b96b1 } : {},
|
|
1393
|
-
'messageId': _0x231145,
|
|
1394
|
-
'senderName': _0x18ab34,
|
|
1395
|
-
'senderType': _0x189ec4(_0x18ab34, _0x5a9ec8),
|
|
1396
|
-
'target': _0x46dcf9,
|
|
1397
|
-
..._0x3dd364 ? { 'targetedTask': !![] } : {}
|
|
1398
|
-
});
|
|
1399
|
-
}
|
|
1400
|
-
}
|
|
1401
|
-
}
|
|
1402
|
-
if (_0x43a4ba > 0x0) {
|
|
1403
|
-
if (_0x329f69)
|
|
1404
|
-
await _0x3b3a19(_0x43a4ba);
|
|
1405
|
-
else
|
|
1406
|
-
_0x5b02cc && await _0x152b64(_0x43a4ba);
|
|
1407
|
-
}
|
|
1408
|
-
return _0x43a4ba > _0x27020f && (_0x27020f = _0x43a4ba), { 'messages': _0x36b777 ? _0x1a2f7f : _0x207005 ? _0x1a2f7f[_0x39ea38(0x20f)](_0x2cbab1 => _0x2cbab1[_0x39ea38(0x1d3)] !== !![]) : _0x1a2f7f };
|
|
1409
|
-
}
|
|
1383
|
+
_0x302d = function () {
|
|
1384
|
+
return _0x462a6d;
|
|
1410
1385
|
};
|
|
1386
|
+
return _0x302d();
|
|
1411
1387
|
}
|
|
1412
|
-
function
|
|
1413
|
-
const
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
},
|
|
1417
|
-
if (
|
|
1418
|
-
return _0x57466f;
|
|
1419
|
-
const _0x333f1d = _0x384f59 => String(_0x384f59)['padStart'](0x2, '0');
|
|
1420
|
-
return _0x3452a6[_0x4fd368(_0x3d861f._0x27b3f5)]() + '-' + _0x333f1d(_0x3452a6['getMonth']() + 0x1) + '-' + _0x333f1d(_0x3452a6[_0x4fd368(0x106)]()) + '\x20' + _0x333f1d(_0x3452a6[_0x4fd368(0x10a)]()) + ':' + _0x333f1d(_0x3452a6[_0x4fd368(_0x3d861f._0x442446)]()) + ':' + _0x333f1d(_0x3452a6['getSeconds']());
|
|
1421
|
-
}
|
|
1422
|
-
function formatAttachmentSuffix(_0xeabbfc) {
|
|
1423
|
-
const _0x1cd8b6 = { _0x190a57: 0x146 }, _0x468454 = _0x3cf5af;
|
|
1424
|
-
if (!_0xeabbfc || _0xeabbfc[_0x468454(0x18d)] === 0x0)
|
|
1388
|
+
function formatAttachmentSuffix(_0x43a25f) {
|
|
1389
|
+
const _0x32bd56 = {
|
|
1390
|
+
_0x1aba52: 0x13a,
|
|
1391
|
+
_0x4bcbfa: 0x135
|
|
1392
|
+
}, _0x42f258 = _0x405cdd;
|
|
1393
|
+
if (!_0x43a25f || _0x43a25f['length'] === 0x0)
|
|
1425
1394
|
return '';
|
|
1426
|
-
return '\x20[' +
|
|
1395
|
+
return '\x20[' + _0x43a25f['length'] + '\x20attachment' + (_0x43a25f[_0x42f258(_0x32bd56._0x1aba52)] > 0x1 ? 's' : '') + ':\x20' + _0x43a25f['map'](_0x309f83 => _0x309f83[_0x42f258(0x95)] + _0x42f258(0x16f) + _0x309f83['id'] + ')')[_0x42f258(_0x32bd56._0x4bcbfa)](',\x20') + _0x42f258(0xa7);
|
|
1427
1396
|
}
|
|
1428
|
-
function formatCheckMessages(
|
|
1429
|
-
const
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
},
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
})[_0x3ca9fe(0x146)]('\x0a');
|
|
1397
|
+
function formatCheckMessages(_0x4f47c2) {
|
|
1398
|
+
const _0x4e3a1 = {
|
|
1399
|
+
_0x277d93: 0x81,
|
|
1400
|
+
_0x32f2c6: 0x1aa
|
|
1401
|
+
}, _0x45f70c = {
|
|
1402
|
+
_0x154719: 0x10d,
|
|
1403
|
+
_0x404e31: 0x1da,
|
|
1404
|
+
_0x39af60: 0xf6,
|
|
1405
|
+
_0x4d8747: 0x191,
|
|
1406
|
+
_0x5eb967: 0x80
|
|
1407
|
+
}, _0x45457a = _0x405cdd;
|
|
1408
|
+
if (_0x4f47c2[_0x45457a(0x13a)] === 0x0)
|
|
1409
|
+
return _0x45457a(_0x4e3a1._0x277d93);
|
|
1410
|
+
return _0x4f47c2[_0x45457a(_0x4e3a1._0x32f2c6)](_0x3520e7 => {
|
|
1411
|
+
const _0x4b69a2 = _0x45457a, _0x5c65aa = _0x3520e7[_0x4b69a2(_0x45f70c._0x154719)] === _0x4b69a2(0x9e) ? _0x4b69a2(0xbd) : '', _0x3bd4de = _0x3520e7['kind'] && _0x3520e7['kind'] !== _0x4b69a2(0xa2) ? _0x4b69a2(_0x45f70c._0x404e31) + _0x3520e7[_0x4b69a2(_0x45f70c._0x39af60)] : '';
|
|
1412
|
+
return _0x4b69a2(_0x45f70c._0x4d8747) + _0x3520e7[_0x4b69a2(0x1a4)] + _0x4b69a2(0xa1) + _0x3520e7[_0x4b69a2(0x1ef)][_0x4b69a2(0x113)](0x0, 0x8) + _0x4b69a2(0xd7) + toLocalTime(_0x3520e7[_0x4b69a2(0xd8)]) + _0x5c65aa + _0x3bd4de + ']\x20@' + _0x3520e7[_0x4b69a2(0x167)] + ':\x20' + _0x3520e7[_0x4b69a2(_0x45f70c._0x5eb967)] + formatAttachmentSuffix(_0x3520e7[_0x4b69a2(0x1a1)]);
|
|
1413
|
+
})['join']('\x0a');
|
|
1446
1414
|
}
|
|
1447
|
-
function formatHistory(
|
|
1448
|
-
const
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
const _0x510902 = _0xc4863[_0x5588c1(0x256)][_0x5588c1(_0x498fea._0x371955)](_0x4c83e6 => {
|
|
1472
|
-
const _0x35cca2 = _0x5588c1, _0x422477 = _0x4c83e6[_0x35cca2(_0x700955._0x1949f3)] === _0x35cca2(0x28e) ? _0x35cca2(_0x700955._0x498696) : '', _0x8d5477 = _0x4c83e6[_0x35cca2(_0x700955._0x10cffd)] && _0x4c83e6['kind'] !== _0x35cca2(0x1da) ? _0x35cca2(_0x700955._0x2d0592) + _0x4c83e6['kind'] : '';
|
|
1473
|
-
return _0x35cca2(_0x700955._0x134021) + _0x4c83e6[_0x35cca2(_0x700955._0x4fde1c)] + _0x35cca2(0x275) + _0x4c83e6[_0x35cca2(_0x700955._0x28ddc4)] + '\x20time=' + toLocalTime(_0x4c83e6[_0x35cca2(0x1d0)]) + _0x422477 + _0x8d5477 + _0x35cca2(_0x700955._0x5e1baf) + _0x4c83e6[_0x35cca2(_0x700955._0x46b4f6)] + ':\x20' + _0x4c83e6[_0x35cca2(0x26f)] + formatAttachmentSuffix(_0x4c83e6[_0x35cca2(_0x700955._0x12dab7)]);
|
|
1474
|
-
})[_0x5588c1(_0x498fea._0x37125f)]('\x0a'), _0x80e10f = _0xc4863[_0x5588c1(0x12e)] && _0xc4863[_0x5588c1(0x25b)] ? _0x5588c1(_0x498fea._0x55c64d) + _0xc4863[_0x5588c1(_0x498fea._0x4bf02a)][_0x5588c1(0x18d)] + _0x5588c1(_0x498fea._0x27bdcb) + _0xc4863[_0x5588c1(_0x498fea._0x378c78)] + _0x5588c1(0x198) : '';
|
|
1475
|
-
return _0x5588c1(0x1a4) + _0xc4863[_0x5588c1(_0x498fea._0x4e480a)] + '\x20(' + _0xc4863[_0x5588c1(0x256)]['length'] + _0x5588c1(0x133) + _0x510902 + _0x80e10f;
|
|
1415
|
+
function formatHistory(_0x9dc8b6) {
|
|
1416
|
+
const _0x435f9c = {
|
|
1417
|
+
_0x117dd2: 0x116,
|
|
1418
|
+
_0x4683b7: 0xcd,
|
|
1419
|
+
_0x2d807f: 0x17b,
|
|
1420
|
+
_0x35de6a: 0xf3,
|
|
1421
|
+
_0x1a4908: 0x17b,
|
|
1422
|
+
_0xcf745b: 0x13f,
|
|
1423
|
+
_0xa0783c: 0xcd
|
|
1424
|
+
}, _0x4a5df1 = {
|
|
1425
|
+
_0x23cef3: 0x9e,
|
|
1426
|
+
_0x3d7b60: 0xf6,
|
|
1427
|
+
_0x1c15fb: 0x1a3,
|
|
1428
|
+
_0x507ac7: 0xa1,
|
|
1429
|
+
_0x32da5e: 0xd8,
|
|
1430
|
+
_0x5c3e6b: 0x1a1
|
|
1431
|
+
}, _0x4e6b61 = _0x405cdd;
|
|
1432
|
+
if (_0x9dc8b6['messages']['length'] === 0x0)
|
|
1433
|
+
return _0x4e6b61(_0x435f9c._0x117dd2) + _0x9dc8b6[_0x4e6b61(_0x435f9c._0x4683b7)] + _0x4e6b61(0xe8);
|
|
1434
|
+
const _0x2fdfca = _0x9dc8b6[_0x4e6b61(0xf3)]['map'](_0x2ca4c2 => {
|
|
1435
|
+
const _0x4ec615 = _0x4e6b61, _0xfdfa7e = _0x2ca4c2[_0x4ec615(0x10d)] === _0x4ec615(_0x4a5df1._0x23cef3) ? _0x4ec615(0xbd) : '', _0x348f09 = _0x2ca4c2[_0x4ec615(0xf6)] && _0x2ca4c2[_0x4ec615(_0x4a5df1._0x3d7b60)] !== 'chat' ? _0x4ec615(0x1da) + _0x2ca4c2['kind'] : '';
|
|
1436
|
+
return _0x4ec615(_0x4a5df1._0x1c15fb) + _0x2ca4c2[_0x4ec615(0x156)] + _0x4ec615(_0x4a5df1._0x507ac7) + _0x2ca4c2[_0x4ec615(0x1ef)] + _0x4ec615(0xd7) + toLocalTime(_0x2ca4c2[_0x4ec615(_0x4a5df1._0x32da5e)]) + _0xfdfa7e + _0x348f09 + ']\x20@' + _0x2ca4c2[_0x4ec615(0x167)] + ':\x20' + _0x2ca4c2['content'] + formatAttachmentSuffix(_0x2ca4c2[_0x4ec615(_0x4a5df1._0x5c3e6b)]);
|
|
1437
|
+
})[_0x4e6b61(0x135)]('\x0a'), _0x6d74b = _0x9dc8b6[_0x4e6b61(0x15e)] && _0x9dc8b6[_0x4e6b61(_0x435f9c._0x2d807f)] ? _0x4e6b61(0x17f) + _0x9dc8b6[_0x4e6b61(_0x435f9c._0x35de6a)][_0x4e6b61(0x13a)] + '\x20messages\x20shown.\x20Use\x20before=' + _0x9dc8b6[_0x4e6b61(_0x435f9c._0x1a4908)] + _0x4e6b61(_0x435f9c._0xcf745b) : '';
|
|
1438
|
+
return '##\x20Message\x20History\x20for\x20' + _0x9dc8b6[_0x4e6b61(_0x435f9c._0xa0783c)] + '\x20(' + _0x9dc8b6[_0x4e6b61(0xf3)]['length'] + '\x20messages)\x0a\x0a' + _0x2fdfca + _0x6d74b;
|
|
1476
1439
|
}
|
|
1477
|
-
function formatServerDirectory(
|
|
1478
|
-
const
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
}, _0x5b98ab = _0x3cf5af, _0xb73205 = _0x39d7ca['channels']['length'] > 0x0 ? _0x39d7ca[_0x5b98ab(_0x2fba02._0x3964b7)][_0x5b98ab(_0x2fba02._0x3ac035)](_0x300cb1 => _0x300cb1[_0x5b98ab(0x13e)] ? _0x5b98ab(0x137) + _0x300cb1['name'] + '\x20—\x20' + _0x300cb1[_0x5b98ab(0x13e)] : _0x5b98ab(0x137) + _0x300cb1[_0x5b98ab(0x173)])['join']('\x0a') : _0x5b98ab(_0x2fba02._0x5cd3a4), _0x2be49f = _0x39d7ca[_0x5b98ab(_0x2fba02._0x1077f6)][_0x5b98ab(0x18d)] > 0x0 ? _0x39d7ca[_0x5b98ab(_0x2fba02._0x30e0ed)]['map'](_0x2b9229 => _0x5b98ab(0x27e) + _0x2b9229[_0x5b98ab(0x173)])[_0x5b98ab(0x146)]('\x0a') : _0x5b98ab(0x1d2), _0x585bb6 = _0x39d7ca[_0x5b98ab(0x276)][_0x5b98ab(_0x2fba02._0x41c041)] > 0x0 ? _0x39d7ca['humans'][_0x5b98ab(_0x2fba02._0x3ac035)](_0x58e992 => '-\x20@' + _0x58e992['name'])[_0x5b98ab(0x146)]('\x0a') : '(none)';
|
|
1440
|
+
function formatServerDirectory(_0x4aa5da) {
|
|
1441
|
+
const _0x5ad684 = {
|
|
1442
|
+
_0x2f4b99: 0x97,
|
|
1443
|
+
_0x238bde: 0x1aa,
|
|
1444
|
+
_0x503b51: 0x13a,
|
|
1445
|
+
_0x5819ca: 0x1aa,
|
|
1446
|
+
_0x269166: 0x155,
|
|
1447
|
+
_0x265927: 0x135
|
|
1448
|
+
}, _0x7625ab = _0x405cdd, _0x1b5dd1 = _0x4aa5da[_0x7625ab(_0x5ad684._0x2f4b99)]['length'] > 0x0 ? _0x4aa5da[_0x7625ab(_0x5ad684._0x2f4b99)][_0x7625ab(_0x5ad684._0x238bde)](_0x525e9c => _0x525e9c['description'] ? _0x7625ab(0x1c2) + _0x525e9c[_0x7625ab(0x104)] + '\x20—\x20' + _0x525e9c[_0x7625ab(0xd4)] : _0x7625ab(0x1c2) + _0x525e9c[_0x7625ab(0x104)])['join']('\x0a') : '(none)', _0x4c6e56 = _0x4aa5da['agents'][_0x7625ab(_0x5ad684._0x503b51)] > 0x0 ? _0x4aa5da['agents'][_0x7625ab(_0x5ad684._0x5819ca)](_0x341dcf => '-\x20@' + _0x341dcf[_0x7625ab(0x104)])[_0x7625ab(0x135)]('\x0a') : '(none)', _0x3a74b0 = _0x4aa5da['humans'][_0x7625ab(0x13a)] > 0x0 ? _0x4aa5da[_0x7625ab(_0x5ad684._0x269166)][_0x7625ab(0x1aa)](_0x503983 => _0x7625ab(0x10e) + _0x503983[_0x7625ab(0x104)])[_0x7625ab(_0x5ad684._0x265927)]('\x0a') : '(none)';
|
|
1487
1449
|
return [
|
|
1488
|
-
|
|
1450
|
+
_0x7625ab(0x18f) + _0x4aa5da[_0x7625ab(0xc7)],
|
|
1489
1451
|
'',
|
|
1490
|
-
|
|
1491
|
-
|
|
1452
|
+
_0x7625ab(0x198),
|
|
1453
|
+
_0x1b5dd1,
|
|
1492
1454
|
'',
|
|
1493
1455
|
'###\x20Agents',
|
|
1494
|
-
|
|
1456
|
+
_0x4c6e56,
|
|
1495
1457
|
'',
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
][
|
|
1499
|
-
}
|
|
1500
|
-
function formatUploadResult(_0x5607b6) {
|
|
1501
|
-
const _0x362f42 = {
|
|
1502
|
-
_0x5b7bc6: 0x274,
|
|
1503
|
-
_0x295564: 0x220
|
|
1504
|
-
}, _0x538f67 = _0x3cf5af;
|
|
1505
|
-
return 'File\x20uploaded:\x20' + _0x5607b6[_0x538f67(_0x362f42._0x5b7bc6)] + '\x20(' + (_0x5607b6[_0x538f67(0x22d)] / 0x400)[_0x538f67(_0x362f42._0x295564)](0x1) + 'KB)\x0aAttachment\x20ID:\x20' + _0x5607b6[_0x538f67(0x225)] + _0x538f67(0x139);
|
|
1458
|
+
_0x7625ab(0x1dc),
|
|
1459
|
+
_0x3a74b0
|
|
1460
|
+
][_0x7625ab(0x135)]('\x0a');
|
|
1506
1461
|
}
|
|
1507
|
-
function
|
|
1508
|
-
const
|
|
1509
|
-
|
|
1462
|
+
function formatUploadResult(_0x39cec4) {
|
|
1463
|
+
const _0x4000d8 = {
|
|
1464
|
+
_0x3b09b0: 0x1b7,
|
|
1465
|
+
_0x26a7b0: 0xdd,
|
|
1466
|
+
_0x3da624: 0x1cd
|
|
1467
|
+
}, _0x3107de = _0x405cdd;
|
|
1468
|
+
return 'File\x20uploaded:\x20' + _0x39cec4['filename'] + '\x20(' + (_0x39cec4[_0x3107de(_0x4000d8._0x3b09b0)] / 0x400)[_0x3107de(_0x4000d8._0x26a7b0)](0x1) + _0x3107de(0x168) + _0x39cec4['attachmentId'] + _0x3107de(_0x4000d8._0x3da624);
|
|
1510
1469
|
}
|
|
1511
|
-
function
|
|
1512
|
-
const
|
|
1513
|
-
|
|
1514
|
-
_0x3ea58e: 0x12f,
|
|
1515
|
-
_0x12f9f0: 0x1b9,
|
|
1516
|
-
_0x2f3f9c: 0x12f,
|
|
1517
|
-
_0x20b4b0: 0x1b9,
|
|
1518
|
-
_0x53f7c4: 0x161,
|
|
1519
|
-
_0x4e10c8: 0x12f,
|
|
1520
|
-
_0x21d376: 0x25c,
|
|
1521
|
-
_0x2caa2b: 0x174,
|
|
1522
|
-
_0xaad358: 0x1a8,
|
|
1523
|
-
_0x56d10c: 0x193,
|
|
1524
|
-
_0x21251a: 0x291,
|
|
1525
|
-
_0x1e082b: 0x122
|
|
1526
|
-
}, _0x15d448 = _0x3cf5af;
|
|
1527
|
-
if (_0x2101bd[_0x15d448(0x18d)] === 0x0)
|
|
1528
|
-
return _0x15d448(_0x25ebb7._0x2c2879);
|
|
1529
|
-
return _0x2101bd[_0x15d448(0x21c)](_0x523776 => {
|
|
1530
|
-
const _0x582655 = _0x15d448, _0x44e56f = _0x523776[_0x582655(_0x35cb77._0x5d584a)] == null ? _0x582655(0x182) : _0x523776[_0x582655(_0x35cb77._0x3ea58e)] != null ? '#' + _0x523776[_0x582655(_0x35cb77._0x12f9f0)] + '.' + _0x523776[_0x582655(_0x35cb77._0x2f3f9c)] : '#' + _0x523776[_0x582655(_0x35cb77._0x20b4b0)], _0x220a7e = _0x523776['messageId'] ? _0x582655(0x244) + _0x523776[_0x582655(_0x35cb77._0x53f7c4)] : '', _0x4b1060 = _0x2e0ac8 && _0x523776[_0x582655(0x1b9)] != null && !_0x523776[_0x582655(_0x35cb77._0x4e10c8)] && _0x2e0ac8[_0x582655(_0x35cb77._0x21d376)](_0x523776[_0x582655(0x1b9)]) ? _0x582655(_0x35cb77._0x2caa2b) : '', _0x1288d0 = _0x523776[_0x582655(0x17c)] != null && _0x523776[_0x582655(0x17c)] > 0x0 ? '\x20(' + (_0x523776[_0x582655(_0x35cb77._0xaad358)] ?? 0x0) + '/' + _0x523776['childrenTotal'] + _0x582655(_0x35cb77._0x56d10c) : '';
|
|
1531
|
-
return _0x44e56f + '\x20[' + _0x523776[_0x582655(_0x35cb77._0x21251a)] + ']\x20' + _0x523776[_0x582655(_0x35cb77._0x1e082b)] + _0x1288d0 + _0x220a7e + _0x4b1060;
|
|
1532
|
-
})[_0x15d448(0x146)]('\x0a');
|
|
1470
|
+
function formatViewFileResult(_0x3f2fa2, _0x196fdf) {
|
|
1471
|
+
const _0x34fd16 = { _0x55a12f: 0x8a }, _0x505989 = _0x405cdd;
|
|
1472
|
+
return _0x196fdf ? _0x505989(_0x34fd16._0x55a12f) + _0x3f2fa2 : 'Downloaded\x20to:\x20' + _0x3f2fa2;
|
|
1533
1473
|
}
|
|
1534
|
-
function
|
|
1535
|
-
const
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
},
|
|
1546
|
-
if (
|
|
1547
|
-
return
|
|
1548
|
-
return
|
|
1549
|
-
const
|
|
1550
|
-
return
|
|
1474
|
+
function formatTaskList(_0x147560, _0x283fb0) {
|
|
1475
|
+
const _0x4a5ce3 = { _0x221f0b: 0x13a }, _0x444309 = {
|
|
1476
|
+
_0x20f2bd: 0x94,
|
|
1477
|
+
_0x4b6c04: 0x1b4,
|
|
1478
|
+
_0x3db982: 0x1ef,
|
|
1479
|
+
_0x3b7286: 0x1ef,
|
|
1480
|
+
_0x2d1c60: 0x94,
|
|
1481
|
+
_0x55931d: 0x1d6,
|
|
1482
|
+
_0x1c7836: 0x1d6,
|
|
1483
|
+
_0x1cec34: 0x1d6,
|
|
1484
|
+
_0x1e1cd3: 0x1b5
|
|
1485
|
+
}, _0x347a8c = _0x405cdd;
|
|
1486
|
+
if (_0x147560[_0x347a8c(_0x4a5ce3._0x221f0b)] === 0x0)
|
|
1487
|
+
return 'No\x20tasks\x20found.';
|
|
1488
|
+
return _0x147560['map'](_0x21a546 => {
|
|
1489
|
+
const _0x3b385b = _0x347a8c, _0x13ee0f = _0x21a546[_0x3b385b(_0x444309._0x20f2bd)] == null ? _0x3b385b(_0x444309._0x4b6c04) : _0x21a546[_0x3b385b(0xc2)] != null ? '#' + _0x21a546['taskNumber'] + '.' + _0x21a546[_0x3b385b(0xc2)] : '#' + _0x21a546[_0x3b385b(_0x444309._0x20f2bd)], _0x2a71f2 = _0x21a546[_0x3b385b(_0x444309._0x3db982)] ? _0x3b385b(0x1ba) + _0x21a546[_0x3b385b(_0x444309._0x3b7286)] : '', _0x9c4a1d = _0x283fb0 && _0x21a546[_0x3b385b(_0x444309._0x20f2bd)] != null && !_0x21a546[_0x3b385b(0xc2)] && _0x283fb0[_0x3b385b(0xe6)](_0x21a546[_0x3b385b(_0x444309._0x2d1c60)]) ? _0x3b385b(0x16b) : '', _0x3994b5 = _0x21a546[_0x3b385b(_0x444309._0x55931d)] != null && _0x21a546[_0x3b385b(_0x444309._0x1c7836)] > 0x0 ? '\x20(' + (_0x21a546[_0x3b385b(0x1d7)] ?? 0x0) + '/' + _0x21a546[_0x3b385b(_0x444309._0x1cec34)] + _0x3b385b(_0x444309._0x1e1cd3) : '';
|
|
1490
|
+
return _0x13ee0f + '\x20[' + _0x21a546['status'] + ']\x20' + _0x21a546['title'] + _0x3994b5 + _0x2a71f2 + _0x9c4a1d;
|
|
1551
1491
|
})['join']('\x0a');
|
|
1552
1492
|
}
|
|
1553
|
-
function
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1493
|
+
function formatCreatedTasks(_0x474a26) {
|
|
1494
|
+
const _0x501040 = { _0x25ee79: 0x135 }, _0x255d60 = {
|
|
1495
|
+
_0x2d9aaf: 0x94,
|
|
1496
|
+
_0xfa726c: 0xc2,
|
|
1497
|
+
_0x49c791: 0x94,
|
|
1498
|
+
_0x1bb44c: 0x79
|
|
1499
|
+
}, _0x1e274c = _0x405cdd;
|
|
1500
|
+
if (_0x474a26['length'] === 0x0)
|
|
1501
|
+
return _0x1e274c(0x1b9);
|
|
1502
|
+
return _0x474a26['map'](_0x1f9ff6 => {
|
|
1503
|
+
const _0x5a6f98 = _0x1e274c, _0x38625d = _0x1f9ff6[_0x5a6f98(_0x255d60._0x2d9aaf)] == null ? '(legacy)' : _0x1f9ff6[_0x5a6f98(_0x255d60._0xfa726c)] != null ? '#' + _0x1f9ff6['taskNumber'] + '.' + _0x1f9ff6['subtaskNumber'] : '#' + _0x1f9ff6[_0x5a6f98(_0x255d60._0x49c791)], _0x198514 = _0x1f9ff6['messageId'] ? _0x5a6f98(0x1ba) + _0x1f9ff6[_0x5a6f98(0x1ef)] : '';
|
|
1504
|
+
return _0x38625d + '\x20' + _0x1f9ff6[_0x5a6f98(_0x255d60._0x1bb44c)] + _0x198514;
|
|
1505
|
+
})[_0x1e274c(_0x501040._0x25ee79)]('\x0a');
|
|
1557
1506
|
}
|
|
1558
|
-
function
|
|
1559
|
-
const
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1507
|
+
function formatClaimTaskLabel(_0x3a9c6e, _0x63b84e) {
|
|
1508
|
+
const _0x366f83 = _0x405cdd;
|
|
1509
|
+
if (_0x3a9c6e == null)
|
|
1510
|
+
return _0x366f83(0x1b4);
|
|
1511
|
+
return _0x63b84e != null ? '#' + _0x3a9c6e + '.' + _0x63b84e : '#' + _0x3a9c6e;
|
|
1512
|
+
}
|
|
1513
|
+
function formatClaimTaskResults(_0x2acf76) {
|
|
1514
|
+
const _0x5aef29 = {
|
|
1515
|
+
_0x506e43: 0x9f,
|
|
1516
|
+
_0x2142cd: 0xc2,
|
|
1517
|
+
_0x39d71e: 0x1ba,
|
|
1518
|
+
_0x479093: 0xfc,
|
|
1519
|
+
_0x58a3b7: 0xd2,
|
|
1520
|
+
_0x3213c0: 0x169,
|
|
1521
|
+
_0x2d4df0: 0xc6,
|
|
1522
|
+
_0x4ac39a: 0x153,
|
|
1523
|
+
_0x8e8def: 0xe0,
|
|
1524
|
+
_0x5a842e: 0x1f6,
|
|
1525
|
+
_0x451ccc: 0xfb,
|
|
1526
|
+
_0x5912a5: 0xf1,
|
|
1527
|
+
_0xe1e54e: 0x94,
|
|
1528
|
+
_0x33d098: 0x1ef,
|
|
1529
|
+
_0x5ae2fc: 0x130,
|
|
1530
|
+
_0x57a516: 0x195
|
|
1531
|
+
}, _0xa8bb02 = _0x405cdd;
|
|
1532
|
+
if (_0x2acf76['length'] === 0x0)
|
|
1533
|
+
return 'No\x20tasks\x20claimed.';
|
|
1534
|
+
return _0x2acf76[_0xa8bb02(0x1aa)](_0x582a2e => {
|
|
1535
|
+
const _0x4dcc00 = _0xa8bb02;
|
|
1536
|
+
if (_0x582a2e[_0x4dcc00(_0x5aef29._0x506e43)]) {
|
|
1537
|
+
const _0x56e665 = formatClaimTaskLabel(_0x582a2e[_0x4dcc00(0x94)], _0x582a2e[_0x4dcc00(_0x5aef29._0x2142cd)]), _0x36b27a = _0x582a2e[_0x4dcc00(0x1ef)] ? _0x4dcc00(_0x5aef29._0x39d71e) + _0x582a2e[_0x4dcc00(0x1ef)] : '';
|
|
1538
|
+
if (_0x582a2e[_0x4dcc00(_0x5aef29._0x479093)]) {
|
|
1539
|
+
const _0x4d291d = [
|
|
1540
|
+
'workerHandoff=true',
|
|
1541
|
+
_0x582a2e[_0x4dcc00(_0x5aef29._0x58a3b7)] ? _0x4dcc00(_0x5aef29._0x3213c0) : null,
|
|
1542
|
+
_0x582a2e[_0x4dcc00(0x105)] ? _0x4dcc00(_0x5aef29._0x2d4df0) + _0x582a2e['executionMode'] : null,
|
|
1543
|
+
_0x582a2e['threadTarget'] ? _0x4dcc00(_0x5aef29._0x4ac39a) + _0x582a2e[_0x4dcc00(0xa3)] : null,
|
|
1544
|
+
_0x582a2e[_0x4dcc00(_0x5aef29._0x8e8def)] ? 'workerDisposition=' + _0x582a2e['workerDisposition'] : null
|
|
1545
|
+
]['filter'](Boolean)[_0x4dcc00(0x135)]('\x20');
|
|
1546
|
+
return _0x56e665 + _0x4dcc00(0xf1) + _0x36b27a + '\x20' + _0x4d291d + _0x4dcc00(0x8c);
|
|
1587
1547
|
}
|
|
1588
|
-
const
|
|
1589
|
-
return
|
|
1548
|
+
const _0x1cc017 = _0x582a2e[_0x4dcc00(_0x5aef29._0x5a842e)] ? _0x4dcc00(_0x5aef29._0x451ccc) + _0x582a2e['workerHandoffError'] : '';
|
|
1549
|
+
return _0x56e665 + _0x4dcc00(_0x5aef29._0x5912a5) + _0x36b27a + _0x1cc017;
|
|
1590
1550
|
}
|
|
1591
|
-
const
|
|
1592
|
-
return
|
|
1593
|
-
})[
|
|
1551
|
+
const _0x1012b0 = _0x582a2e[_0x4dcc00(_0x5aef29._0xe1e54e)] == null ? _0x582a2e[_0x4dcc00(_0x5aef29._0x33d098)] ?? _0x4dcc00(0x1c0) : formatClaimTaskLabel(_0x582a2e[_0x4dcc00(0x94)], _0x582a2e['subtaskNumber']);
|
|
1552
|
+
return _0x1012b0 + '\x20failed:\x20' + (_0x582a2e[_0x4dcc00(_0x5aef29._0x5ae2fc)] ?? _0x4dcc00(_0x5aef29._0x57a516));
|
|
1553
|
+
})[_0xa8bb02(0x135)]('\x0a');
|
|
1594
1554
|
}
|
|
1595
|
-
function formatUnclaimTaskResult(
|
|
1596
|
-
const
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1555
|
+
function formatUnclaimTaskResult(_0xacdedc) {
|
|
1556
|
+
const _0x45d0cf = {
|
|
1557
|
+
_0x36a94e: 0x94,
|
|
1558
|
+
_0x4becec: 0x1b4,
|
|
1559
|
+
_0x2acd0a: 0xc2,
|
|
1560
|
+
_0x23972d: 0x7f
|
|
1561
|
+
}, _0x764099 = _0x405cdd, _0x47e3b4 = _0xacdedc[_0x764099(_0x45d0cf._0x36a94e)] == null ? _0x764099(_0x45d0cf._0x4becec) : _0xacdedc[_0x764099(_0x45d0cf._0x2acd0a)] != null ? '#' + _0xacdedc[_0x764099(0x94)] + '.' + _0xacdedc[_0x764099(0xc2)] : '#' + _0xacdedc[_0x764099(_0x45d0cf._0x36a94e)];
|
|
1562
|
+
return _0x47e3b4 + _0x764099(_0x45d0cf._0x23972d) + _0xacdedc['status'];
|
|
1602
1563
|
}
|
|
1603
|
-
function formatUpdateTaskStatusResult(
|
|
1604
|
-
const
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
},
|
|
1611
|
-
|
|
1564
|
+
function formatUpdateTaskStatusResult(_0x4727d3) {
|
|
1565
|
+
const _0x565e7e = {
|
|
1566
|
+
_0x1f234d: 0x94,
|
|
1567
|
+
_0xe07a07: 0xc2,
|
|
1568
|
+
_0x4bb6e8: 0x8d,
|
|
1569
|
+
_0x57621d: 0x1de,
|
|
1570
|
+
_0x24126c: 0x13b
|
|
1571
|
+
}, _0x3ebfc6 = _0x405cdd, _0x280684 = _0x4727d3[_0x3ebfc6(0x94)] == null ? _0x3ebfc6(0x1b4) : _0x4727d3[_0x3ebfc6(0xc2)] != null ? '#' + _0x4727d3[_0x3ebfc6(_0x565e7e._0x1f234d)] + '.' + _0x4727d3[_0x3ebfc6(_0x565e7e._0xe07a07)] : '#' + _0x4727d3[_0x3ebfc6(0x94)], _0x199c15 = _0x280684 + '\x20status=' + _0x4727d3['status'];
|
|
1572
|
+
if (_0x4727d3[_0x3ebfc6(_0x565e7e._0x4bb6e8)] !== _0x3ebfc6(_0x565e7e._0x57621d))
|
|
1573
|
+
return _0x199c15;
|
|
1574
|
+
return _0x199c15 + _0x3ebfc6(_0x565e7e._0x24126c);
|
|
1612
1575
|
}
|
|
1613
1576
|
function getChatBridgeToolDefinitions() {
|
|
1614
|
-
const
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1577
|
+
const _0x586c72 = {
|
|
1578
|
+
_0x39c7d8: 0x1f1,
|
|
1579
|
+
_0x4069c4: 0x188,
|
|
1580
|
+
_0xbca052: 0x93,
|
|
1581
|
+
_0x50d64c: 0x1ed,
|
|
1582
|
+
_0x48dd0c: 0x9a,
|
|
1583
|
+
_0x3b7a0f: 0x96
|
|
1584
|
+
}, _0x4cc580 = _0x405cdd;
|
|
1620
1585
|
return [
|
|
1621
|
-
{ 'name':
|
|
1622
|
-
{ 'name':
|
|
1586
|
+
{ 'name': 'send_message' },
|
|
1587
|
+
{ 'name': _0x4cc580(0x1db) },
|
|
1623
1588
|
{ 'name': 'read_history' },
|
|
1624
|
-
{ 'name':
|
|
1625
|
-
{ 'name':
|
|
1626
|
-
{ 'name':
|
|
1627
|
-
{ 'name':
|
|
1628
|
-
{ 'name':
|
|
1629
|
-
{ 'name':
|
|
1630
|
-
{ 'name':
|
|
1631
|
-
{ 'name':
|
|
1632
|
-
{ 'name':
|
|
1633
|
-
{ 'name':
|
|
1634
|
-
{ 'name':
|
|
1635
|
-
{ 'name':
|
|
1589
|
+
{ 'name': 'list_server' },
|
|
1590
|
+
{ 'name': _0x4cc580(_0x586c72._0x39c7d8) },
|
|
1591
|
+
{ 'name': _0x4cc580(_0x586c72._0x4069c4) },
|
|
1592
|
+
{ 'name': _0x4cc580(_0x586c72._0xbca052) },
|
|
1593
|
+
{ 'name': _0x4cc580(0x12f) },
|
|
1594
|
+
{ 'name': _0x4cc580(0x1be) },
|
|
1595
|
+
{ 'name': _0x4cc580(_0x586c72._0x50d64c) },
|
|
1596
|
+
{ 'name': 'update_task_status' },
|
|
1597
|
+
{ 'name': _0x4cc580(_0x586c72._0x48dd0c) },
|
|
1598
|
+
{ 'name': _0x4cc580(0x142) },
|
|
1599
|
+
{ 'name': _0x4cc580(0x129) },
|
|
1600
|
+
{ 'name': _0x4cc580(_0x586c72._0x3b7a0f) }
|
|
1636
1601
|
];
|
|
1637
1602
|
}
|
|
1638
|
-
function createChatBridgeHandlers(
|
|
1639
|
-
const
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
},
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
},
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
},
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
},
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1603
|
+
function createChatBridgeHandlers(_0x5a5038) {
|
|
1604
|
+
const _0x24e6dd = {
|
|
1605
|
+
_0x373c15: 0x193,
|
|
1606
|
+
_0x1b6be9: 0x1c4,
|
|
1607
|
+
_0x226913: 0x17e,
|
|
1608
|
+
_0x3d0689: 0xca
|
|
1609
|
+
}, _0x42dce4 = {
|
|
1610
|
+
_0x4654f8: 0xd6,
|
|
1611
|
+
_0x1d806a: 0x193,
|
|
1612
|
+
_0x3cbf21: 0x17e,
|
|
1613
|
+
_0x11927c: 0x1ad
|
|
1614
|
+
}, _0x46fc7d = {
|
|
1615
|
+
_0x11ed10: 0x13c,
|
|
1616
|
+
_0x294689: 0x17e
|
|
1617
|
+
}, _0x3ac8bd = {
|
|
1618
|
+
_0x25f15c: 0x193,
|
|
1619
|
+
_0x5ea312: 0x1ad,
|
|
1620
|
+
_0x103b5e: 0x1ad
|
|
1621
|
+
}, _0x13100f = {
|
|
1622
|
+
_0x1f9db0: 0x87,
|
|
1623
|
+
_0x44d40e: 0xed,
|
|
1624
|
+
_0x21a58c: 0x136,
|
|
1625
|
+
_0x175382: 0xed
|
|
1626
|
+
}, _0x4c98c2 = {
|
|
1627
|
+
_0x1c7bff: 0xcd,
|
|
1628
|
+
_0x4c1415: 0x136,
|
|
1629
|
+
_0x4231d3: 0x170
|
|
1630
|
+
}, _0x4b3a22 = {
|
|
1631
|
+
_0x28449b: 0xb3,
|
|
1632
|
+
_0x446277: 0x1ed,
|
|
1633
|
+
_0x34ae14: 0xcd,
|
|
1634
|
+
_0x1a9289: 0x136
|
|
1635
|
+
}, _0x10b199 = {
|
|
1636
|
+
_0x597606: 0xcd,
|
|
1637
|
+
_0xa3ef7: 0x13a,
|
|
1638
|
+
_0x400bf5: 0x136
|
|
1639
|
+
}, _0x5b8cd1 = {
|
|
1640
|
+
_0x1819f4: 0x12f,
|
|
1641
|
+
_0x2df1d7: 0xcd
|
|
1642
|
+
}, _0x284c32 = {
|
|
1643
|
+
_0x1a21a0: 0x136,
|
|
1644
|
+
_0x579c8e: 0xfd,
|
|
1645
|
+
_0x2041ba: 0xf4,
|
|
1646
|
+
_0x3c77ea: 0xcd,
|
|
1647
|
+
_0x46ec91: 0xb6,
|
|
1648
|
+
_0x930faf: 0x8d,
|
|
1649
|
+
_0x2d54a3: 0x118,
|
|
1650
|
+
_0x5236bd: 0x19b,
|
|
1651
|
+
_0xde6569: 0x78,
|
|
1652
|
+
_0xbced7f: 0x94,
|
|
1653
|
+
_0x2e4d37: 0x19b
|
|
1654
|
+
}, _0x259b61 = {
|
|
1655
|
+
_0x153eb6: 0x197,
|
|
1656
|
+
_0x5ced05: 0xf3
|
|
1657
|
+
}, _0xb62fde = {
|
|
1658
|
+
_0x15cb7c: 0xb3,
|
|
1659
|
+
_0x49921b: 0x145,
|
|
1660
|
+
_0x41f2e4: 0x136,
|
|
1661
|
+
_0xf857ca: 0x109,
|
|
1662
|
+
_0x154b3e: 0x134,
|
|
1663
|
+
_0x288fe8: 0x134,
|
|
1664
|
+
_0x1cb6d0: 0x94,
|
|
1665
|
+
_0x2e62a1: 0x1a4,
|
|
1666
|
+
_0x2a7b09: 0x11a,
|
|
1667
|
+
_0x566129: 0xe6,
|
|
1668
|
+
_0x199d9d: 0x1a7,
|
|
1669
|
+
_0x5020b1: 0x1a2,
|
|
1670
|
+
_0x545bd6: 0xba,
|
|
1671
|
+
_0x3a40e2: 0x1f0,
|
|
1672
|
+
_0x2a2037: 0x14d,
|
|
1673
|
+
_0x5a1891: 0x134,
|
|
1674
|
+
_0x5e8a6b: 0x165,
|
|
1675
|
+
_0xc974e1: 0x190,
|
|
1676
|
+
_0x11e6dc: 0x1ca,
|
|
1677
|
+
_0x1bdb0d: 0x15a,
|
|
1678
|
+
_0x362224: 0x1e3,
|
|
1679
|
+
_0x3f2be4: 0x1b3,
|
|
1680
|
+
_0x76cc01: 0x135,
|
|
1681
|
+
_0x433de4: 0x161,
|
|
1682
|
+
_0x2ffee2: 0x147,
|
|
1683
|
+
_0x3fee65: 0xae
|
|
1684
|
+
}, _0x5ec4ac = {
|
|
1685
|
+
_0x163f4d: 0x193,
|
|
1686
|
+
_0x4efe68: 0xf4,
|
|
1687
|
+
_0x3f5f74: 0xe6,
|
|
1688
|
+
_0x1ccb78: 0x8d,
|
|
1689
|
+
_0x153f97: 0x118,
|
|
1690
|
+
_0x16ab0a: 0x7a,
|
|
1691
|
+
_0x283d4f: 0x1c8
|
|
1692
|
+
}, _0x311e61 = {
|
|
1693
|
+
_0x5f54eb: 0xb3,
|
|
1694
|
+
_0x3d5608: 0xf4,
|
|
1695
|
+
_0x22a6f7: 0xb6,
|
|
1696
|
+
_0x5b7c09: 0x118,
|
|
1697
|
+
_0x231383: 0x1c8
|
|
1698
|
+
}, _0x4f5998 = {
|
|
1699
|
+
_0x4a1ceb: 0xb3,
|
|
1700
|
+
_0x1a6e4d: 0x10a,
|
|
1701
|
+
_0x50ede4: 0xcd,
|
|
1702
|
+
_0xd16569: 0xf6,
|
|
1703
|
+
_0x17dac1: 0xc1,
|
|
1704
|
+
_0xf85454: 0x1e9,
|
|
1705
|
+
_0x4621d4: 0x94,
|
|
1706
|
+
_0x14d374: 0x1b4,
|
|
1707
|
+
_0x4b051d: 0x113,
|
|
1708
|
+
_0x49eff0: 0xd7,
|
|
1709
|
+
_0x37caf6: 0x143,
|
|
1710
|
+
_0x5884bb: 0x80,
|
|
1711
|
+
_0x532ad3: 0x137,
|
|
1712
|
+
_0x1b64d1: 0x17e,
|
|
1713
|
+
_0x80bb14: 0x128,
|
|
1714
|
+
_0x553e44: 0x128,
|
|
1715
|
+
_0x544f06: 0x94,
|
|
1716
|
+
_0x3f5a20: 0x13d,
|
|
1717
|
+
_0x584f42: 0x94,
|
|
1718
|
+
_0xfe8437: 0xbe,
|
|
1719
|
+
_0x359f2a: 0x165,
|
|
1720
|
+
_0x509c86: 0x1ee
|
|
1721
|
+
}, _0x1666cb = {
|
|
1722
|
+
_0x185fe5: 0xb3,
|
|
1723
|
+
_0x130233: 0x1f5,
|
|
1724
|
+
_0x179eb7: 0x1f5
|
|
1725
|
+
};
|
|
1726
|
+
function _0x499738(_0x68c0c6, _0x109da1) {
|
|
1727
|
+
const _0x19a5be = _0x4bd3;
|
|
1728
|
+
if (!_0x5a5038[_0x19a5be(_0x1666cb._0x185fe5)])
|
|
1763
1729
|
return;
|
|
1764
|
-
if (!
|
|
1765
|
-
throw new Error(
|
|
1766
|
-
if (
|
|
1767
|
-
throw new Error(
|
|
1730
|
+
if (!_0x5a5038[_0x19a5be(_0x1666cb._0x130233)])
|
|
1731
|
+
throw new Error(_0x68c0c6 + _0x19a5be(0x98));
|
|
1732
|
+
if (_0x109da1 !== _0x5a5038[_0x19a5be(_0x1666cb._0x179eb7)])
|
|
1733
|
+
throw new Error(_0x68c0c6 + _0x19a5be(0x10c) + _0x5a5038['workerThreadTarget'] + ');\x20got\x20channel=' + _0x109da1);
|
|
1768
1734
|
}
|
|
1769
|
-
async function
|
|
1770
|
-
const
|
|
1771
|
-
if (!
|
|
1735
|
+
async function _0x35ff0d(_0x51f49f) {
|
|
1736
|
+
const _0x477f65 = _0x4bd3;
|
|
1737
|
+
if (!_0x5a5038[_0x477f65(0x193)] || !_0x5a5038['agentId'] || _0x5a5038[_0x477f65(_0x4f5998._0x4a1ceb)] || _0x5a5038[_0x477f65(_0x4f5998._0x1a6e4d)] !== !![])
|
|
1772
1738
|
return null;
|
|
1773
|
-
const
|
|
1774
|
-
if (
|
|
1739
|
+
const _0x50d650 = parseTarget(_0x51f49f[_0x477f65(_0x4f5998._0x50ede4)]);
|
|
1740
|
+
if (_0x50d650[_0x477f65(_0x4f5998._0xd16569)] !== 'channel')
|
|
1775
1741
|
return null;
|
|
1776
|
-
const
|
|
1777
|
-
let
|
|
1742
|
+
const _0x5d29b5 = _0x51f49f[_0x477f65(0xc1)] != null ? _0x50d650['channelTarget'] + ':t' + _0x51f49f[_0x477f65(_0x4f5998._0x17dac1)] : _0x50d650[_0x477f65(0x174)] + ':' + _0x51f49f[_0x477f65(0x1ef)];
|
|
1743
|
+
let _0x2d1541;
|
|
1778
1744
|
try {
|
|
1779
|
-
const
|
|
1780
|
-
'channel':
|
|
1745
|
+
const _0x1c1ef7 = await _0x5a5038[_0x477f65(0x136)][_0x477f65(_0x4f5998._0xf85454)]({
|
|
1746
|
+
'channel': _0x5d29b5,
|
|
1781
1747
|
'limit': 0x14
|
|
1782
1748
|
});
|
|
1783
|
-
|
|
1749
|
+
_0x2d1541 = _0x1c1ef7['messages'][_0x477f65(0x78)](_0xf0fff5 => _0xf0fff5[_0x477f65(0x1ef)] === _0x51f49f[_0x477f65(0x1ef)]);
|
|
1784
1750
|
} catch {
|
|
1785
|
-
|
|
1751
|
+
_0x2d1541 = void 0x0;
|
|
1786
1752
|
}
|
|
1787
|
-
const
|
|
1788
|
-
|
|
1753
|
+
const _0x4bda76 = _0x51f49f[_0x477f65(_0x4f5998._0x4621d4)] == null ? _0x477f65(_0x4f5998._0x14d374) : '#' + _0x51f49f[_0x477f65(0x94)], _0x2412cb = [
|
|
1754
|
+
'[target=' + _0x5d29b5 + _0x477f65(0xa1) + _0x51f49f[_0x477f65(0x1ef)][_0x477f65(_0x4f5998._0x4b051d)](0x0, 0x8) + _0x477f65(_0x4f5998._0x49eff0) + new Date()['toISOString']() + _0x477f65(0xf9) + _0x4bda76 + _0x477f65(_0x4f5998._0x37caf6),
|
|
1789
1755
|
'',
|
|
1790
|
-
|
|
1756
|
+
_0x2d1541 ? 'Root\x20task\x20message:\x0a' + _0x2d1541[_0x477f65(_0x4f5998._0x5884bb)] : 'Root\x20task\x20message\x20id:\x20' + _0x51f49f[_0x477f65(0x1ef)],
|
|
1791
1757
|
'',
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
][
|
|
1795
|
-
'method':
|
|
1796
|
-
'headers': { 'Content-Type':
|
|
1797
|
-
'body': JSON[
|
|
1798
|
-
'agent_id':
|
|
1799
|
-
'thread_target':
|
|
1758
|
+
_0x477f65(0x1f0) + _0x5d29b5,
|
|
1759
|
+
_0x477f65(_0x4f5998._0x532ad3)
|
|
1760
|
+
][_0x477f65(0x135)]('\x0a'), _0xb135a9 = await fetch(_0x5a5038['daemonLocalUrl'] + _0x477f65(0xd3), {
|
|
1761
|
+
'method': _0x477f65(_0x4f5998._0x1b64d1),
|
|
1762
|
+
'headers': { 'Content-Type': _0x477f65(0xca) },
|
|
1763
|
+
'body': JSON[_0x477f65(0x9b)]({
|
|
1764
|
+
'agent_id': _0x5a5038['agentId'],
|
|
1765
|
+
'thread_target': _0x5d29b5,
|
|
1800
1766
|
'spawn_packet': {
|
|
1801
|
-
'replyTarget':
|
|
1802
|
-
...
|
|
1767
|
+
'replyTarget': _0x5d29b5,
|
|
1768
|
+
..._0x51f49f[_0x477f65(_0x4f5998._0x80bb14)] ? { 'taskId': _0x51f49f[_0x477f65(_0x4f5998._0x553e44)] } : _0x51f49f[_0x477f65(_0x4f5998._0x544f06)] != null ? { 'taskId': _0x477f65(_0x4f5998._0x3f5a20) + _0x51f49f[_0x477f65(_0x4f5998._0x584f42)] } : {}
|
|
1803
1769
|
},
|
|
1804
1770
|
'payload': {
|
|
1805
|
-
'mode':
|
|
1806
|
-
'text':
|
|
1771
|
+
'mode': _0x477f65(_0x4f5998._0xfe8437),
|
|
1772
|
+
'text': _0x2412cb
|
|
1807
1773
|
}
|
|
1808
1774
|
})
|
|
1809
|
-
}),
|
|
1810
|
-
if (!
|
|
1811
|
-
throw new Error(
|
|
1775
|
+
}), _0x9f6306 = await _0xb135a9['json']();
|
|
1776
|
+
if (!_0x9f6306['ok'])
|
|
1777
|
+
throw new Error(_0x9f6306[_0x477f65(_0x4f5998._0x359f2a)] ?? _0x477f65(_0x4f5998._0x509c86));
|
|
1812
1778
|
return {
|
|
1813
1779
|
'stopMain': !![],
|
|
1814
|
-
'threadTarget':
|
|
1815
|
-
'workerDisposition':
|
|
1780
|
+
'threadTarget': _0x5d29b5,
|
|
1781
|
+
'workerDisposition': _0x9f6306[_0x477f65(0x15a)] === 'queued' ? 'queued' : 'started',
|
|
1816
1782
|
'workerHandoff': !![],
|
|
1817
|
-
'workerSessionId':
|
|
1818
|
-
'executionMode':
|
|
1783
|
+
'workerSessionId': _0x9f6306[_0x477f65(0x15d)] ?? '',
|
|
1784
|
+
'executionMode': _0x477f65(0x1e0)
|
|
1819
1785
|
};
|
|
1820
1786
|
}
|
|
1821
|
-
async function
|
|
1822
|
-
const
|
|
1823
|
-
if (!
|
|
1787
|
+
async function _0x527324() {
|
|
1788
|
+
const _0x3a42d3 = _0x4bd3;
|
|
1789
|
+
if (!_0x5a5038['daemonLocalUrl'] || !_0x5a5038[_0x3a42d3(0x145)] || _0x5a5038[_0x3a42d3(_0x311e61._0x5f54eb)])
|
|
1824
1790
|
return null;
|
|
1825
1791
|
try {
|
|
1826
|
-
const
|
|
1827
|
-
if (!
|
|
1792
|
+
const _0x36a684 = await fetch(_0x5a5038['daemonLocalUrl'] + _0x3a42d3(0x76) + encodeURIComponent(_0x5a5038[_0x3a42d3(0x145)])), _0x43ba2c = await _0x36a684[_0x3a42d3(_0x311e61._0x3d5608)]();
|
|
1793
|
+
if (!_0x43ba2c['ok'])
|
|
1828
1794
|
return null;
|
|
1829
|
-
const
|
|
1830
|
-
for (const
|
|
1831
|
-
|
|
1795
|
+
const _0x4ef369 = new Set();
|
|
1796
|
+
for (const _0x5c48fe of _0x43ba2c[_0x3a42d3(_0x311e61._0x22a6f7)]) {
|
|
1797
|
+
_0x5c48fe[_0x3a42d3(0x8d)] !== _0x3a42d3(0xeb) && _0x5c48fe[_0x3a42d3(0x118)] && _0x4ef369['add'](_0x5c48fe[_0x3a42d3(_0x311e61._0x5b7c09)]);
|
|
1832
1798
|
}
|
|
1833
|
-
return
|
|
1799
|
+
return _0x4ef369[_0x3a42d3(_0x311e61._0x231383)] > 0x0 ? _0x4ef369 : null;
|
|
1834
1800
|
} catch {
|
|
1835
1801
|
return null;
|
|
1836
1802
|
}
|
|
1837
1803
|
}
|
|
1838
|
-
const
|
|
1804
|
+
const _0x29a57f = new Set([
|
|
1839
1805
|
'running',
|
|
1840
|
-
|
|
1806
|
+
'idle',
|
|
1841
1807
|
'waiting_input'
|
|
1842
1808
|
]);
|
|
1843
|
-
async function
|
|
1844
|
-
const
|
|
1845
|
-
if (!
|
|
1809
|
+
async function _0x489b1f() {
|
|
1810
|
+
const _0xd6f094 = _0x4bd3;
|
|
1811
|
+
if (!_0x5a5038[_0xd6f094(0x193)] || !_0x5a5038['agentId'] || _0x5a5038[_0xd6f094(0xb3)])
|
|
1846
1812
|
return null;
|
|
1847
1813
|
try {
|
|
1848
|
-
const
|
|
1849
|
-
if (!
|
|
1814
|
+
const _0x19131c = await fetch(_0x5a5038[_0xd6f094(_0x5ec4ac._0x163f4d)] + '/workers/list?agent_id=' + encodeURIComponent(_0x5a5038[_0xd6f094(0x145)])), _0x44f52a = await _0x19131c[_0xd6f094(_0x5ec4ac._0x4efe68)]();
|
|
1815
|
+
if (!_0x44f52a['ok'])
|
|
1850
1816
|
return null;
|
|
1851
|
-
const
|
|
1852
|
-
for (const
|
|
1853
|
-
|
|
1817
|
+
const _0x58572d = new Set();
|
|
1818
|
+
for (const _0x1d45eb of _0x44f52a['workers']) {
|
|
1819
|
+
_0x29a57f[_0xd6f094(_0x5ec4ac._0x3f5f74)](_0x1d45eb[_0xd6f094(_0x5ec4ac._0x1ccb78)]) && _0x1d45eb[_0xd6f094(_0x5ec4ac._0x153f97)] && _0x58572d[_0xd6f094(_0x5ec4ac._0x16ab0a)](_0x1d45eb[_0xd6f094(0x118)]);
|
|
1854
1820
|
}
|
|
1855
|
-
return
|
|
1821
|
+
return _0x58572d[_0xd6f094(_0x5ec4ac._0x283d4f)] > 0x0 ? _0x58572d : null;
|
|
1856
1822
|
} catch {
|
|
1857
1823
|
return null;
|
|
1858
1824
|
}
|
|
1859
1825
|
}
|
|
1860
1826
|
return {
|
|
1861
|
-
async 'send_message'(
|
|
1862
|
-
const
|
|
1863
|
-
if (!
|
|
1864
|
-
const
|
|
1865
|
-
if (
|
|
1866
|
-
const
|
|
1867
|
-
if (
|
|
1827
|
+
async 'send_message'(_0x415c12) {
|
|
1828
|
+
const _0x5b814a = _0x4bd3;
|
|
1829
|
+
if (!_0x5a5038[_0x5b814a(_0xb62fde._0x15cb7c)] && _0x5a5038['workerModeEnabled'] && _0x5a5038[_0x5b814a(0x193)] && _0x5a5038[_0x5b814a(_0xb62fde._0x49921b)]) {
|
|
1830
|
+
const _0x472545 = await _0x5a5038[_0x5b814a(_0xb62fde._0x41f2e4)][_0x5b814a(_0xb62fde._0xf857ca)](_0x415c12[_0x5b814a(0x1a4)]);
|
|
1831
|
+
if (_0x472545[_0x5b814a(_0xb62fde._0x154b3e)] && _0x472545[_0x5b814a(0x11a)]) {
|
|
1832
|
+
const _0x219d87 = _0x472545[_0x5b814a(0x134)][_0x5b814a(0x94)] != null ? '#' + _0x472545[_0x5b814a(_0xb62fde._0x288fe8)][_0x5b814a(_0xb62fde._0x1cb6d0)] : '(legacy)', _0x56ec5d = _0x472545['threadNumber'] != null ? _0x472545[_0x5b814a(_0xb62fde._0x2e62a1)] + ':t' + _0x472545['threadNumber'] : _0x472545[_0x5b814a(_0xb62fde._0x2e62a1)] + ':' + _0x472545[_0x5b814a(_0xb62fde._0x2a7b09)][_0x5b814a(0x113)](0x0, 0x8), _0x2f4ccd = await _0x489b1f();
|
|
1833
|
+
if (_0x2f4ccd?.[_0x5b814a(_0xb62fde._0x566129)](_0x56ec5d))
|
|
1868
1834
|
return [
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
][
|
|
1872
|
-
const
|
|
1873
|
-
|
|
1835
|
+
'Task\x20' + _0x219d87 + _0x5b814a(_0xb62fde._0x199d9d) + _0x56ec5d + _0x5b814a(0x1b1),
|
|
1836
|
+
'Do\x20not\x20send\x20further\x20messages\x20to\x20this\x20thread\x20—\x20the\x20worker\x20is\x20handling\x20it.'
|
|
1837
|
+
]['join']('\x0a');
|
|
1838
|
+
const _0x5c7abf = [
|
|
1839
|
+
_0x5b814a(0x191) + _0x56ec5d + _0x5b814a(0x7c) + new Date()[_0x5b814a(_0xb62fde._0x5020b1)]() + _0x5b814a(0x8f),
|
|
1874
1840
|
'',
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
][
|
|
1880
|
-
'method':
|
|
1881
|
-
'headers': { 'Content-Type':
|
|
1882
|
-
'body': JSON[
|
|
1883
|
-
'agent_id':
|
|
1884
|
-
'thread_target':
|
|
1841
|
+
_0x5b814a(_0xb62fde._0x545bd6) + _0x415c12[_0x5b814a(0x80)],
|
|
1842
|
+
_0x5b814a(0x159) + _0x219d87 + '\x20(' + _0x472545[_0x5b814a(_0xb62fde._0x154b3e)][_0x5b814a(0x128)] + ')',
|
|
1843
|
+
_0x5b814a(_0xb62fde._0x3a40e2) + _0x56ec5d,
|
|
1844
|
+
_0x5b814a(_0xb62fde._0x2a2037)
|
|
1845
|
+
][_0x5b814a(0x135)]('\x0a'), _0x276c2e = await fetch(_0x5a5038['daemonLocalUrl'] + '/workers/deliver', {
|
|
1846
|
+
'method': _0x5b814a(0x17e),
|
|
1847
|
+
'headers': { 'Content-Type': 'application/json' },
|
|
1848
|
+
'body': JSON[_0x5b814a(0x9b)]({
|
|
1849
|
+
'agent_id': _0x5a5038[_0x5b814a(0x145)],
|
|
1850
|
+
'thread_target': _0x56ec5d,
|
|
1885
1851
|
'spawn_packet': {
|
|
1886
|
-
'replyTarget':
|
|
1887
|
-
'taskId':
|
|
1852
|
+
'replyTarget': _0x56ec5d,
|
|
1853
|
+
'taskId': _0x472545[_0x5b814a(_0xb62fde._0x5a1891)]['taskId']
|
|
1888
1854
|
},
|
|
1889
1855
|
'payload': {
|
|
1890
|
-
'mode':
|
|
1891
|
-
'text':
|
|
1856
|
+
'mode': _0x5b814a(0xbe),
|
|
1857
|
+
'text': _0x5c7abf
|
|
1892
1858
|
}
|
|
1893
1859
|
})
|
|
1894
|
-
}),
|
|
1895
|
-
if (!
|
|
1896
|
-
throw new Error(
|
|
1860
|
+
}), _0xb0f3bb = await _0x276c2e['json']();
|
|
1861
|
+
if (!_0xb0f3bb['ok'])
|
|
1862
|
+
throw new Error(_0xb0f3bb[_0x5b814a(_0xb62fde._0x5e8a6b)] ?? 'enter-handoff\x20failed');
|
|
1897
1863
|
return [
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
][
|
|
1864
|
+
_0x5b814a(_0xb62fde._0xc974e1) + _0x219d87 + '\x20in\x20' + _0x56ec5d + _0x5b814a(0x88),
|
|
1865
|
+
_0x5b814a(_0xb62fde._0x11e6dc) + (_0xb0f3bb[_0x5b814a(_0xb62fde._0x1bdb0d)] === _0x5b814a(_0xb62fde._0x362224) ? 'queued' : _0x5b814a(0x1ab)) + '.',
|
|
1866
|
+
_0x5b814a(_0xb62fde._0x3f2be4)
|
|
1867
|
+
][_0x5b814a(_0xb62fde._0x76cc01)]('\x0a');
|
|
1902
1868
|
}
|
|
1903
1869
|
}
|
|
1904
|
-
const
|
|
1905
|
-
'attachmentIds':
|
|
1906
|
-
'content':
|
|
1907
|
-
'target':
|
|
1908
|
-
'visibility':
|
|
1870
|
+
const _0x720f9e = await _0x5a5038['client'][_0x5b814a(_0xb62fde._0x433de4)]({
|
|
1871
|
+
'attachmentIds': _0x415c12['attachment_ids'],
|
|
1872
|
+
'content': _0x415c12[_0x5b814a(0x80)],
|
|
1873
|
+
'target': _0x415c12[_0x5b814a(_0xb62fde._0x2e62a1)],
|
|
1874
|
+
'visibility': _0x415c12[_0x5b814a(_0xb62fde._0x2ffee2)]
|
|
1909
1875
|
});
|
|
1910
|
-
return
|
|
1876
|
+
return _0x5b814a(0xac) + _0x415c12[_0x5b814a(0x1a4)] + _0x5b814a(_0xb62fde._0x3fee65) + _0x720f9e[_0x5b814a(0x1ef)];
|
|
1911
1877
|
},
|
|
1912
1878
|
async 'check_messages'() {
|
|
1913
|
-
const
|
|
1914
|
-
if (!
|
|
1915
|
-
const
|
|
1916
|
-
if (
|
|
1917
|
-
return formatCheckMessages(
|
|
1879
|
+
const _0x29aa02 = _0x4bd3, _0x1db0a0 = await _0x5a5038[_0x29aa02(0x136)][_0x29aa02(_0x259b61._0x153eb6)]();
|
|
1880
|
+
if (!_0x5a5038['workerMode']) {
|
|
1881
|
+
const _0x4e5d6c = await _0x527324();
|
|
1882
|
+
if (_0x4e5d6c)
|
|
1883
|
+
return formatCheckMessages(_0x1db0a0[_0x29aa02(0xf3)][_0x29aa02(0x1a8)](_0xbd1cca => !_0x4e5d6c[_0x29aa02(0xe6)](_0xbd1cca['target'])));
|
|
1918
1884
|
}
|
|
1919
|
-
return formatCheckMessages(
|
|
1885
|
+
return formatCheckMessages(_0x1db0a0[_0x29aa02(_0x259b61._0x5ced05)]);
|
|
1920
1886
|
},
|
|
1921
|
-
async 'read_history'(
|
|
1922
|
-
const
|
|
1923
|
-
return formatHistory(
|
|
1887
|
+
async 'read_history'(_0x2480e2) {
|
|
1888
|
+
const _0x5b02d8 = _0x4bd3, _0x5d00af = await _0x5a5038['client'][_0x5b02d8(0x1e9)](_0x2480e2);
|
|
1889
|
+
return formatHistory(_0x5d00af);
|
|
1924
1890
|
},
|
|
1925
1891
|
async 'list_server'() {
|
|
1926
|
-
const
|
|
1927
|
-
return formatServerDirectory(
|
|
1892
|
+
const _0x26ccd0 = await _0x5a5038['client']['listServer']();
|
|
1893
|
+
return formatServerDirectory(_0x26ccd0);
|
|
1928
1894
|
},
|
|
1929
|
-
async 'list_tasks'(
|
|
1930
|
-
const
|
|
1931
|
-
let
|
|
1932
|
-
if (
|
|
1895
|
+
async 'list_tasks'(_0x287205) {
|
|
1896
|
+
const _0x15f52d = _0x4bd3, _0x31f44c = await _0x5a5038[_0x15f52d(_0x284c32._0x1a21a0)][_0x15f52d(_0x284c32._0x579c8e)](_0x287205);
|
|
1897
|
+
let _0x50f30a;
|
|
1898
|
+
if (_0x5a5038[_0x15f52d(0x193)] && _0x5a5038[_0x15f52d(0x145)])
|
|
1933
1899
|
try {
|
|
1934
|
-
const
|
|
1935
|
-
if (
|
|
1936
|
-
const
|
|
1937
|
-
|
|
1938
|
-
for (const
|
|
1939
|
-
if (
|
|
1900
|
+
const _0xf70f81 = await fetch(_0x5a5038['daemonLocalUrl'] + _0x15f52d(0x76) + encodeURIComponent(_0x5a5038[_0x15f52d(0x145)])), _0x11f2ce = await _0xf70f81[_0x15f52d(_0x284c32._0x2041ba)]();
|
|
1901
|
+
if (_0x11f2ce['ok']) {
|
|
1902
|
+
const _0x1936da = _0x287205[_0x15f52d(_0x284c32._0x3c77ea)] + ':';
|
|
1903
|
+
_0x50f30a = new Set();
|
|
1904
|
+
for (const _0x45bd1c of _0x11f2ce[_0x15f52d(_0x284c32._0x46ec91)]) {
|
|
1905
|
+
if (_0x45bd1c[_0x15f52d(_0x284c32._0x930faf)] === _0x15f52d(0xeb))
|
|
1940
1906
|
continue;
|
|
1941
|
-
if (
|
|
1942
|
-
const
|
|
1943
|
-
if (
|
|
1944
|
-
|
|
1907
|
+
if (_0x45bd1c[_0x15f52d(_0x284c32._0x2d54a3)]?.[_0x15f52d(0xa0)](_0x1936da)) {
|
|
1908
|
+
const _0x22e9da = _0x45bd1c['thread_target']['slice'](_0x1936da['length']), _0x420a38 = _0x31f44c[_0x15f52d(_0x284c32._0x5236bd)][_0x15f52d(_0x284c32._0xde6569)](_0x18e1db => _0x18e1db[_0x15f52d(0x1ef)]?.[_0x15f52d(0xa0)](_0x22e9da) === !![]);
|
|
1909
|
+
if (_0x420a38?.[_0x15f52d(_0x284c32._0xbced7f)] != null) {
|
|
1910
|
+
_0x50f30a[_0x15f52d(0x7a)](_0x420a38[_0x15f52d(0x94)]);
|
|
1945
1911
|
continue;
|
|
1946
1912
|
}
|
|
1947
1913
|
}
|
|
1948
|
-
if (
|
|
1949
|
-
const
|
|
1950
|
-
|
|
1914
|
+
if (_0x45bd1c[_0x15f52d(0x1f2)]) {
|
|
1915
|
+
const _0x1d5f9a = _0x31f44c['tasks']['find'](_0xa1aa6f => _0xa1aa6f[_0x15f52d(0x128)] === _0x45bd1c['task_id']);
|
|
1916
|
+
_0x1d5f9a?.[_0x15f52d(0x94)] != null && _0x50f30a[_0x15f52d(0x7a)](_0x1d5f9a['taskNumber']);
|
|
1951
1917
|
}
|
|
1952
1918
|
}
|
|
1953
1919
|
}
|
|
1954
1920
|
} catch {
|
|
1955
1921
|
}
|
|
1956
|
-
return formatTaskList(
|
|
1922
|
+
return formatTaskList(_0x31f44c[_0x15f52d(_0x284c32._0x2e4d37)], _0x50f30a);
|
|
1957
1923
|
},
|
|
1958
|
-
async 'create_tasks'(
|
|
1959
|
-
const
|
|
1960
|
-
|
|
1961
|
-
const
|
|
1962
|
-
return formatCreatedTasks(
|
|
1924
|
+
async 'create_tasks'(_0x2ee0c8) {
|
|
1925
|
+
const _0x4d8a6e = _0x4bd3;
|
|
1926
|
+
_0x499738(_0x4d8a6e(_0x5b8cd1._0x1819f4), _0x2ee0c8[_0x4d8a6e(_0x5b8cd1._0x2df1d7)]);
|
|
1927
|
+
const _0x62aa89 = await _0x5a5038['client'][_0x4d8a6e(0x107)](_0x2ee0c8);
|
|
1928
|
+
return formatCreatedTasks(_0x62aa89['tasks']);
|
|
1963
1929
|
},
|
|
1964
|
-
async 'claim_tasks'(
|
|
1965
|
-
const
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1930
|
+
async 'claim_tasks'(_0x3a7f8a) {
|
|
1931
|
+
const _0x49d1e8 = {
|
|
1932
|
+
_0x3dd37f: 0x9f,
|
|
1933
|
+
_0x702ae9: 0x1ef,
|
|
1934
|
+
_0x32a479: 0x1e6,
|
|
1935
|
+
_0x38a735: 0x1ee
|
|
1936
|
+
}, _0xf19818 = _0x4bd3;
|
|
1937
|
+
if (_0x5a5038[_0xf19818(0xb3)]) {
|
|
1938
|
+
_0x499738(_0xf19818(0x1be), _0x3a7f8a[_0xf19818(_0x10b199._0x597606)]);
|
|
1939
|
+
if (_0x3a7f8a[_0xf19818(0x77)] && _0x3a7f8a[_0xf19818(0x77)][_0xf19818(_0x10b199._0xa3ef7)] > 0x0)
|
|
1940
|
+
throw new Error(_0xf19818(0x1af));
|
|
1941
|
+
if (!_0x3a7f8a['subtask_numbers'] || _0x3a7f8a[_0xf19818(0x1d5)][_0xf19818(0x13a)] === 0x0)
|
|
1942
|
+
throw new Error(_0xf19818(0x1d9));
|
|
1972
1943
|
}
|
|
1973
|
-
const
|
|
1974
|
-
const
|
|
1975
|
-
if (!
|
|
1976
|
-
return
|
|
1944
|
+
const _0xdfbcee = await _0x5a5038[_0xf19818(_0x10b199._0x400bf5)][_0xf19818(0x187)](_0x3a7f8a), _0x3badb0 = await Promise[_0xf19818(0x1f7)](_0xdfbcee['results']['map'](async _0x100898 => {
|
|
1945
|
+
const _0x41d908 = _0xf19818;
|
|
1946
|
+
if (!_0x100898[_0x41d908(_0x49d1e8._0x3dd37f)] || !_0x100898[_0x41d908(0x1ef)])
|
|
1947
|
+
return _0x100898;
|
|
1977
1948
|
try {
|
|
1978
|
-
const
|
|
1979
|
-
'channel':
|
|
1980
|
-
'messageId':
|
|
1981
|
-
'taskId':
|
|
1982
|
-
'taskNumber':
|
|
1983
|
-
'threadNumber':
|
|
1949
|
+
const _0x2bb38e = await _0x35ff0d({
|
|
1950
|
+
'channel': _0x3a7f8a[_0x41d908(0xcd)],
|
|
1951
|
+
'messageId': _0x100898[_0x41d908(_0x49d1e8._0x702ae9)],
|
|
1952
|
+
'taskId': _0x100898['taskId'],
|
|
1953
|
+
'taskNumber': _0x100898[_0x41d908(0x94)],
|
|
1954
|
+
'threadNumber': _0x100898[_0x41d908(0xc1)]
|
|
1984
1955
|
});
|
|
1985
|
-
return
|
|
1986
|
-
...
|
|
1987
|
-
...
|
|
1988
|
-
} :
|
|
1989
|
-
} catch (
|
|
1956
|
+
return _0x2bb38e ? {
|
|
1957
|
+
..._0x100898,
|
|
1958
|
+
..._0x2bb38e
|
|
1959
|
+
} : _0x100898;
|
|
1960
|
+
} catch (_0x104554) {
|
|
1990
1961
|
return {
|
|
1991
|
-
...
|
|
1992
|
-
'workerHandoffError':
|
|
1962
|
+
..._0x100898,
|
|
1963
|
+
'workerHandoffError': _0x104554 instanceof Error ? _0x104554[_0x41d908(_0x49d1e8._0x32a479)] : _0x41d908(_0x49d1e8._0x38a735)
|
|
1993
1964
|
};
|
|
1994
1965
|
}
|
|
1995
1966
|
}));
|
|
1996
|
-
return formatClaimTaskResults(
|
|
1967
|
+
return formatClaimTaskResults(_0x3badb0);
|
|
1997
1968
|
},
|
|
1998
|
-
async 'unclaim_task'(
|
|
1999
|
-
const
|
|
2000
|
-
if (
|
|
2001
|
-
|
|
2002
|
-
if (
|
|
2003
|
-
throw new Error(
|
|
1969
|
+
async 'unclaim_task'(_0x5742b3) {
|
|
1970
|
+
const _0x2194d2 = _0x4bd3;
|
|
1971
|
+
if (_0x5a5038[_0x2194d2(_0x4b3a22._0x28449b)]) {
|
|
1972
|
+
_0x499738(_0x2194d2(_0x4b3a22._0x446277), _0x5742b3[_0x2194d2(_0x4b3a22._0x34ae14)]);
|
|
1973
|
+
if (_0x5742b3[_0x2194d2(0x1bf)] == null)
|
|
1974
|
+
throw new Error(_0x2194d2(0x112));
|
|
2004
1975
|
}
|
|
2005
|
-
const
|
|
2006
|
-
return formatUnclaimTaskResult(
|
|
1976
|
+
const _0x537c07 = await _0x5a5038[_0x2194d2(_0x4b3a22._0x1a9289)][_0x2194d2(0xf2)](_0x5742b3);
|
|
1977
|
+
return formatUnclaimTaskResult(_0x537c07);
|
|
2007
1978
|
},
|
|
2008
|
-
async 'update_task_status'(
|
|
2009
|
-
const
|
|
2010
|
-
|
|
2011
|
-
const
|
|
2012
|
-
return formatUpdateTaskStatusResult(
|
|
1979
|
+
async 'update_task_status'(_0x361fbe) {
|
|
1980
|
+
const _0x5769be = _0x4bd3;
|
|
1981
|
+
_0x499738('update_task_status', _0x361fbe[_0x5769be(_0x4c98c2._0x1c7bff)]);
|
|
1982
|
+
const _0x503a27 = await _0x5a5038[_0x5769be(_0x4c98c2._0x4c1415)][_0x5769be(_0x4c98c2._0x4231d3)](_0x361fbe);
|
|
1983
|
+
return formatUpdateTaskStatusResult(_0x503a27);
|
|
2013
1984
|
},
|
|
2014
|
-
async 'upload_file'(
|
|
2015
|
-
const
|
|
2016
|
-
sizeBytes:
|
|
2017
|
-
...
|
|
2018
|
-
} =
|
|
2019
|
-
'channel':
|
|
2020
|
-
...
|
|
1985
|
+
async 'upload_file'(_0x530062) {
|
|
1986
|
+
const _0x3db6ec = _0x4bd3, _0x43de55 = await _0x5a5038[_0x3db6ec(0x17a)](_0x530062['file_path']), {
|
|
1987
|
+
sizeBytes: _0x20f0ed,
|
|
1988
|
+
..._0x1bb700
|
|
1989
|
+
} = _0x43de55, _0x14b65d = await _0x5a5038['client']['uploadFile']({
|
|
1990
|
+
'channel': _0x530062['channel'],
|
|
1991
|
+
..._0x1bb700
|
|
2021
1992
|
});
|
|
2022
|
-
return formatUploadResult(
|
|
1993
|
+
return formatUploadResult(_0x14b65d);
|
|
2023
1994
|
},
|
|
2024
|
-
async 'view_file'(
|
|
2025
|
-
const
|
|
2026
|
-
if (
|
|
2027
|
-
return formatViewFileResult(
|
|
2028
|
-
const
|
|
2029
|
-
'attachmentId':
|
|
2030
|
-
'contentType':
|
|
2031
|
-
'data':
|
|
2032
|
-
'originalFilename':
|
|
1995
|
+
async 'view_file'(_0x5a41f1) {
|
|
1996
|
+
const _0x2334ea = _0x4bd3, _0x35e15c = await _0x5a5038[_0x2334ea(_0x13100f._0x1f9db0)][_0x2334ea(0x16e)](_0x5a41f1[_0x2334ea(_0x13100f._0x44d40e)]);
|
|
1997
|
+
if (_0x35e15c)
|
|
1998
|
+
return formatViewFileResult(_0x35e15c, !![]);
|
|
1999
|
+
const _0x20831c = await _0x5a5038[_0x2334ea(_0x13100f._0x21a58c)][_0x2334ea(0xf8)](_0x5a41f1[_0x2334ea(_0x13100f._0x175382)]), _0x4af7f8 = await _0x5a5038['attachmentCache'][_0x2334ea(0x186)]({
|
|
2000
|
+
'attachmentId': _0x5a41f1['attachment_id'],
|
|
2001
|
+
'contentType': _0x20831c[_0x2334ea(0x18b)],
|
|
2002
|
+
'data': _0x20831c['data'],
|
|
2003
|
+
'originalFilename': _0x20831c['originalFilename']
|
|
2033
2004
|
});
|
|
2034
|
-
return formatViewFileResult(
|
|
2005
|
+
return formatViewFileResult(_0x4af7f8, ![]);
|
|
2035
2006
|
},
|
|
2036
|
-
async 'get_worker_status'(
|
|
2037
|
-
const
|
|
2038
|
-
if (!
|
|
2039
|
-
return
|
|
2040
|
-
const
|
|
2041
|
-
if (!
|
|
2042
|
-
return
|
|
2043
|
-
return 'Worker\x20\x22' +
|
|
2007
|
+
async 'get_worker_status'(_0x1cebb5) {
|
|
2008
|
+
const _0x405c79 = _0x4bd3;
|
|
2009
|
+
if (!_0x5a5038[_0x405c79(_0x3ac8bd._0x25f15c)])
|
|
2010
|
+
return 'Worker\x20features\x20not\x20available';
|
|
2011
|
+
const _0x405dc6 = await fetch(_0x5a5038[_0x405c79(0x193)] + '/workers/status?work_key=' + encodeURIComponent(_0x1cebb5[_0x405c79(0x1ad)])), _0xc2a5f0 = await _0x405dc6['json']();
|
|
2012
|
+
if (!_0xc2a5f0['ok'])
|
|
2013
|
+
return _0x405c79(0x91) + _0x1cebb5[_0x405c79(_0x3ac8bd._0x5ea312)] + _0x405c79(0xa5);
|
|
2014
|
+
return 'Worker\x20\x22' + _0x1cebb5[_0x405c79(_0x3ac8bd._0x103b5e)] + '\x22:\x20status=' + _0xc2a5f0['status'];
|
|
2044
2015
|
},
|
|
2045
|
-
async 'park_worker'(
|
|
2046
|
-
const
|
|
2047
|
-
if (!
|
|
2048
|
-
return
|
|
2049
|
-
const
|
|
2050
|
-
'method':
|
|
2016
|
+
async 'park_worker'(_0x2989f9) {
|
|
2017
|
+
const _0x42913f = _0x4bd3;
|
|
2018
|
+
if (!_0x5a5038[_0x42913f(0x193)])
|
|
2019
|
+
return 'Worker\x20features\x20not\x20available';
|
|
2020
|
+
const _0x2f5996 = await fetch(_0x5a5038[_0x42913f(0x193)] + _0x42913f(_0x46fc7d._0x11ed10), {
|
|
2021
|
+
'method': _0x42913f(_0x46fc7d._0x294689),
|
|
2051
2022
|
'headers': { 'Content-Type': 'application/json' },
|
|
2052
|
-
'body': JSON[
|
|
2053
|
-
}),
|
|
2054
|
-
if (!
|
|
2055
|
-
throw new Error(
|
|
2056
|
-
return
|
|
2023
|
+
'body': JSON['stringify']({ 'work_key': _0x2989f9['work_key'] })
|
|
2024
|
+
}), _0x3b46d0 = await _0x2f5996['json']();
|
|
2025
|
+
if (!_0x3b46d0['ok'])
|
|
2026
|
+
throw new Error(_0x3b46d0[_0x42913f(0x165)] ?? _0x42913f(0x1cf));
|
|
2027
|
+
return _0x42913f(0x91) + _0x2989f9['work_key'] + _0x42913f(0x14f);
|
|
2057
2028
|
},
|
|
2058
|
-
async 'mark_waiting_input'(
|
|
2059
|
-
const
|
|
2060
|
-
if (!
|
|
2061
|
-
return
|
|
2062
|
-
const
|
|
2063
|
-
'method':
|
|
2064
|
-
'headers': { 'Content-Type':
|
|
2065
|
-
'body': JSON[
|
|
2066
|
-
'work_key':
|
|
2067
|
-
'agent_id':
|
|
2029
|
+
async 'mark_waiting_input'(_0x2e70a3) {
|
|
2030
|
+
const _0xa59fe7 = _0x4bd3;
|
|
2031
|
+
if (!_0x5a5038[_0xa59fe7(0x193)] || !_0x5a5038[_0xa59fe7(0x145)])
|
|
2032
|
+
return _0xa59fe7(_0x42dce4._0x4654f8);
|
|
2033
|
+
const _0x457ecf = await fetch(_0x5a5038[_0xa59fe7(_0x42dce4._0x1d806a)] + '/workers/waiting_input', {
|
|
2034
|
+
'method': _0xa59fe7(_0x42dce4._0x3cbf21),
|
|
2035
|
+
'headers': { 'Content-Type': _0xa59fe7(0xca) },
|
|
2036
|
+
'body': JSON[_0xa59fe7(0x9b)]({
|
|
2037
|
+
'work_key': _0x2e70a3[_0xa59fe7(0x1ad)],
|
|
2038
|
+
'agent_id': _0x5a5038[_0xa59fe7(0x145)]
|
|
2068
2039
|
})
|
|
2069
|
-
}),
|
|
2070
|
-
if (!
|
|
2071
|
-
throw new Error(
|
|
2072
|
-
return
|
|
2040
|
+
}), _0x4b7486 = await _0x457ecf[_0xa59fe7(0xf4)]();
|
|
2041
|
+
if (!_0x4b7486['ok'])
|
|
2042
|
+
throw new Error(_0x4b7486[_0xa59fe7(0x165)] ?? _0xa59fe7(0x162));
|
|
2043
|
+
return _0xa59fe7(0x91) + _0x2e70a3[_0xa59fe7(_0x42dce4._0x11927c)] + _0xa59fe7(0xc8);
|
|
2073
2044
|
},
|
|
2074
|
-
async 'escalate_to_main'(
|
|
2075
|
-
const
|
|
2076
|
-
if (!
|
|
2077
|
-
return
|
|
2078
|
-
const
|
|
2079
|
-
'method':
|
|
2080
|
-
'headers': { 'Content-Type':
|
|
2081
|
-
'body': JSON[
|
|
2082
|
-
'work_key':
|
|
2083
|
-
'reason':
|
|
2045
|
+
async 'escalate_to_main'(_0x11004b) {
|
|
2046
|
+
const _0x1ba2eb = _0x4bd3;
|
|
2047
|
+
if (!_0x5a5038[_0x1ba2eb(0x193)])
|
|
2048
|
+
return _0x1ba2eb(0x1a5);
|
|
2049
|
+
const _0x489836 = await fetch(_0x5a5038[_0x1ba2eb(_0x24e6dd._0x373c15)] + _0x1ba2eb(_0x24e6dd._0x1b6be9), {
|
|
2050
|
+
'method': _0x1ba2eb(_0x24e6dd._0x226913),
|
|
2051
|
+
'headers': { 'Content-Type': _0x1ba2eb(_0x24e6dd._0x3d0689) },
|
|
2052
|
+
'body': JSON[_0x1ba2eb(0x9b)]({
|
|
2053
|
+
'work_key': _0x11004b[_0x1ba2eb(0x1ad)],
|
|
2054
|
+
'reason': _0x11004b[_0x1ba2eb(0x130)]
|
|
2084
2055
|
})
|
|
2085
|
-
}),
|
|
2086
|
-
if (!
|
|
2087
|
-
throw new Error(
|
|
2088
|
-
return
|
|
2056
|
+
}), _0x584381 = await _0x489836['json']();
|
|
2057
|
+
if (!_0x584381['ok'])
|
|
2058
|
+
throw new Error(_0x584381[_0x1ba2eb(0x165)] ?? 'escalate_to_main\x20failed');
|
|
2059
|
+
return _0x1ba2eb(0xaf) + _0x11004b[_0x1ba2eb(0x130)];
|
|
2089
2060
|
}
|
|
2090
2061
|
};
|
|
2091
2062
|
}
|
|
2092
|
-
function textResult(
|
|
2093
|
-
const
|
|
2063
|
+
function textResult(_0x27e237, _0x167e15 = ![]) {
|
|
2064
|
+
const _0x2b0714 = _0x405cdd;
|
|
2094
2065
|
return {
|
|
2095
2066
|
'content': [{
|
|
2096
|
-
'type':
|
|
2097
|
-
'text':
|
|
2067
|
+
'type': _0x2b0714(0xce),
|
|
2068
|
+
'text': _0x27e237
|
|
2098
2069
|
}],
|
|
2099
|
-
...
|
|
2070
|
+
..._0x167e15 ? { 'isError': !![] } : {}
|
|
2100
2071
|
};
|
|
2101
2072
|
}
|
|
2102
|
-
async function registerChatBridgeTools(
|
|
2103
|
-
const
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
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
|
-
|
|
2073
|
+
async function registerChatBridgeTools(_0x464da5, _0x5d66c1, _0x36e97d) {
|
|
2074
|
+
const _0x2c73a9 = {
|
|
2075
|
+
_0x523180: 0x1a6,
|
|
2076
|
+
_0x19a789: 0x183,
|
|
2077
|
+
_0x3c85eb: 0xc5,
|
|
2078
|
+
_0x3d5aa6: 0xb2,
|
|
2079
|
+
_0x954171: 0xb2,
|
|
2080
|
+
_0x24f6cb: 0x1cb,
|
|
2081
|
+
_0x165e4d: 0xb2,
|
|
2082
|
+
_0x302d8f: 0x132,
|
|
2083
|
+
_0x6d0bb3: 0x86,
|
|
2084
|
+
_0x74cc1: 0xc9,
|
|
2085
|
+
_0x412d57: 0x1d8,
|
|
2086
|
+
_0x516552: 0x172,
|
|
2087
|
+
_0x113fff: 0x9d,
|
|
2088
|
+
_0x59db25: 0x106,
|
|
2089
|
+
_0x2eae93: 0xcc,
|
|
2090
|
+
_0x2de629: 0x86,
|
|
2091
|
+
_0x307990: 0xb2,
|
|
2092
|
+
_0x4c056b: 0xb2,
|
|
2093
|
+
_0x14eb53: 0x158,
|
|
2094
|
+
_0xbfc238: 0x16d,
|
|
2095
|
+
_0x45501c: 0x1a0,
|
|
2096
|
+
_0x3f3316: 0x196,
|
|
2097
|
+
_0x1e8926: 0xb2,
|
|
2098
|
+
_0x5d5e79: 0x86,
|
|
2099
|
+
_0x5f49ca: 0x148,
|
|
2100
|
+
_0x19dee9: 0x183,
|
|
2101
|
+
_0x338c1b: 0xb2,
|
|
2102
|
+
_0x381107: 0x183,
|
|
2103
|
+
_0x20908a: 0x9a,
|
|
2104
|
+
_0xa9a73f: 0x142,
|
|
2105
|
+
_0xe8997d: 0xb2,
|
|
2106
|
+
_0x3a70e5: 0xb3,
|
|
2107
|
+
_0x473db1: 0x183,
|
|
2108
|
+
_0x561282: 0x125
|
|
2109
|
+
}, _0x25c22b = { _0x2209ee: 0x1e6 }, _0x367380 = { _0x158774: 0x129 }, _0x2956d3 = { _0x550cf2: 0x1e6 }, _0x161837 = { _0x7f40db: 0x9a }, _0xd3cb51 = {
|
|
2110
|
+
_0x43392e: 0x188,
|
|
2111
|
+
_0x288160: 0x1e6
|
|
2112
|
+
}, _0x5d0053 = {
|
|
2113
|
+
_0x3d501a: 0x1d4,
|
|
2114
|
+
_0x232057: 0x14a
|
|
2115
|
+
}, _0x15c71b = { _0x4ad5ed: 0x1e6 }, _0x5ebdfc = {
|
|
2116
|
+
_0x139642: 0x1be,
|
|
2117
|
+
_0x4fbcec: 0xbc
|
|
2118
|
+
}, _0x2df012 = {
|
|
2119
|
+
_0x2cb5cb: 0x1e6,
|
|
2120
|
+
_0x51df50: 0xc0
|
|
2121
|
+
}, _0x542029 = {
|
|
2122
|
+
_0x2355ef: 0x93,
|
|
2123
|
+
_0x589400: 0x1e6,
|
|
2124
|
+
_0x3f03b2: 0x171
|
|
2125
|
+
}, _0x2fccff = {
|
|
2126
|
+
_0x36bac6: 0x1e6,
|
|
2127
|
+
_0x54844c: 0x184
|
|
2128
|
+
}, _0x2111ae = {
|
|
2129
|
+
_0x3ab920: 0x172,
|
|
2130
|
+
_0xb3f6c4: 0xcb
|
|
2131
|
+
}, _0x5b6cfa = { _0x2fa388: 0x1e6 }, _0x170368 = { _0x1eeba0: 0x1e6 }, _0x429061 = _0x405cdd, {z: _0x3a18ad} = await import(_0x429061(_0x2c73a9._0x523180));
|
|
2132
|
+
_0x464da5[_0x429061(_0x2c73a9._0x19a789)](_0x429061(_0x2c73a9._0x3c85eb), _0x429061(0x1bb), {
|
|
2133
|
+
'target': _0x3a18ad[_0x429061(_0x2c73a9._0x3d5aa6)](),
|
|
2134
|
+
'content': _0x3a18ad[_0x429061(_0x2c73a9._0x954171)](),
|
|
2135
|
+
'attachment_ids': _0x3a18ad[_0x429061(_0x2c73a9._0x24f6cb)](_0x3a18ad[_0x429061(_0x2c73a9._0x165e4d)]())['optional'](),
|
|
2136
|
+
'visibility': _0x3a18ad[_0x429061(_0x2c73a9._0x302d8f)]([
|
|
2137
|
+
_0x429061(0x14b),
|
|
2138
|
+
_0x429061(0xe9)
|
|
2139
|
+
])[_0x429061(_0x2c73a9._0x6d0bb3)]()[_0x429061(_0x2c73a9._0x74cc1)](_0x429061(_0x2c73a9._0x412d57))
|
|
2140
|
+
}, async _0x543a61 => {
|
|
2141
|
+
const _0x4f92d5 = _0x429061;
|
|
2165
2142
|
try {
|
|
2166
|
-
return textResult(await
|
|
2167
|
-
} catch (
|
|
2168
|
-
return textResult(
|
|
2143
|
+
return textResult(await _0x5d66c1[_0x4f92d5(0xc5)](_0x543a61));
|
|
2144
|
+
} catch (_0x19388a) {
|
|
2145
|
+
return textResult(_0x19388a instanceof Error ? _0x19388a[_0x4f92d5(_0x170368._0x1eeba0)] : _0x4f92d5(0xbf), !![]);
|
|
2169
2146
|
}
|
|
2170
|
-
}),
|
|
2171
|
-
const
|
|
2147
|
+
}), _0x464da5[_0x429061(0x183)](_0x429061(0x1db), _0x429061(0x17c), {}, async () => {
|
|
2148
|
+
const _0x28ffba = _0x429061;
|
|
2172
2149
|
try {
|
|
2173
|
-
return textResult(await
|
|
2174
|
-
} catch (
|
|
2175
|
-
return textResult(
|
|
2150
|
+
return textResult(await _0x5d66c1['check_messages']());
|
|
2151
|
+
} catch (_0x4018ad) {
|
|
2152
|
+
return textResult(_0x4018ad instanceof Error ? _0x4018ad[_0x28ffba(_0x5b6cfa._0x2fa388)] : 'check_messages\x20failed', !![]);
|
|
2176
2153
|
}
|
|
2177
|
-
}),
|
|
2178
|
-
'channel':
|
|
2179
|
-
'limit':
|
|
2180
|
-
'before':
|
|
2181
|
-
'after':
|
|
2182
|
-
}, async
|
|
2183
|
-
const
|
|
2154
|
+
}), _0x464da5[_0x429061(0x183)](_0x429061(_0x2c73a9._0x516552), _0x429061(0x18c), {
|
|
2155
|
+
'channel': _0x3a18ad[_0x429061(_0x2c73a9._0x165e4d)](),
|
|
2156
|
+
'limit': _0x3a18ad['number']()[_0x429061(0x86)](),
|
|
2157
|
+
'before': _0x3a18ad[_0x429061(0x196)]()['optional'](),
|
|
2158
|
+
'after': _0x3a18ad[_0x429061(0x196)]()['optional']()
|
|
2159
|
+
}, async _0x366baf => {
|
|
2160
|
+
const _0x5dc98a = _0x429061;
|
|
2184
2161
|
try {
|
|
2185
|
-
return textResult(await
|
|
2186
|
-
} catch (
|
|
2187
|
-
return textResult(
|
|
2162
|
+
return textResult(await _0x5d66c1[_0x5dc98a(_0x2111ae._0x3ab920)](_0x366baf));
|
|
2163
|
+
} catch (_0x14af47) {
|
|
2164
|
+
return textResult(_0x14af47 instanceof Error ? _0x14af47[_0x5dc98a(0x1e6)] : _0x5dc98a(_0x2111ae._0xb3f6c4), !![]);
|
|
2188
2165
|
}
|
|
2189
|
-
}),
|
|
2190
|
-
const
|
|
2166
|
+
}), _0x464da5[_0x429061(0x183)]('list_server', _0x429061(_0x2c73a9._0x113fff), {}, async () => {
|
|
2167
|
+
const _0x43cb6f = _0x429061;
|
|
2191
2168
|
try {
|
|
2192
|
-
return textResult(await
|
|
2193
|
-
} catch (
|
|
2194
|
-
return textResult(
|
|
2169
|
+
return textResult(await _0x5d66c1['list_server']());
|
|
2170
|
+
} catch (_0x437b6a) {
|
|
2171
|
+
return textResult(_0x437b6a instanceof Error ? _0x437b6a[_0x43cb6f(_0x2fccff._0x36bac6)] : _0x43cb6f(_0x2fccff._0x54844c), !![]);
|
|
2195
2172
|
}
|
|
2196
|
-
}),
|
|
2197
|
-
'channel':
|
|
2198
|
-
'status':
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
])[
|
|
2204
|
-
}, async
|
|
2205
|
-
const
|
|
2173
|
+
}), _0x464da5[_0x429061(_0x2c73a9._0x19a789)](_0x429061(0x93), _0x429061(0x1c9), {
|
|
2174
|
+
'channel': _0x3a18ad[_0x429061(0xb2)](),
|
|
2175
|
+
'status': _0x3a18ad[_0x429061(0x132)]([
|
|
2176
|
+
_0x429061(_0x2c73a9._0x59db25),
|
|
2177
|
+
_0x429061(_0x2c73a9._0x2eae93),
|
|
2178
|
+
_0x429061(0x1de),
|
|
2179
|
+
_0x429061(0x1eb)
|
|
2180
|
+
])[_0x429061(_0x2c73a9._0x2de629)]()
|
|
2181
|
+
}, async _0x1d92d9 => {
|
|
2182
|
+
const _0x388577 = _0x429061;
|
|
2206
2183
|
try {
|
|
2207
|
-
return textResult(await
|
|
2208
|
-
} catch (
|
|
2209
|
-
return textResult(
|
|
2184
|
+
return textResult(await _0x5d66c1[_0x388577(_0x542029._0x2355ef)](_0x1d92d9));
|
|
2185
|
+
} catch (_0x4af2cd) {
|
|
2186
|
+
return textResult(_0x4af2cd instanceof Error ? _0x4af2cd[_0x388577(_0x542029._0x589400)] : _0x388577(_0x542029._0x3f03b2), !![]);
|
|
2210
2187
|
}
|
|
2211
|
-
}),
|
|
2212
|
-
'channel':
|
|
2213
|
-
'idempotency_key':
|
|
2214
|
-
'tasks':
|
|
2215
|
-
'title':
|
|
2216
|
-
'description':
|
|
2217
|
-
'priority':
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
])[
|
|
2188
|
+
}), _0x464da5['tool'](_0x429061(0x12f), _0x429061(0x89), {
|
|
2189
|
+
'channel': _0x3a18ad['string'](),
|
|
2190
|
+
'idempotency_key': _0x3a18ad[_0x429061(_0x2c73a9._0x307990)]()[_0x429061(0x86)](),
|
|
2191
|
+
'tasks': _0x3a18ad[_0x429061(_0x2c73a9._0x24f6cb)](_0x3a18ad['object']({
|
|
2192
|
+
'title': _0x3a18ad[_0x429061(0xb2)](),
|
|
2193
|
+
'description': _0x3a18ad[_0x429061(_0x2c73a9._0x4c056b)]()['optional'](),
|
|
2194
|
+
'priority': _0x3a18ad[_0x429061(_0x2c73a9._0x302d8f)]([
|
|
2195
|
+
_0x429061(0x166),
|
|
2196
|
+
'medium',
|
|
2197
|
+
_0x429061(_0x2c73a9._0x14eb53),
|
|
2198
|
+
_0x429061(0x154)
|
|
2199
|
+
])[_0x429061(0x86)]()
|
|
2223
2200
|
}))
|
|
2224
|
-
}, async
|
|
2225
|
-
const
|
|
2201
|
+
}, async _0x2e831f => {
|
|
2202
|
+
const _0x52f60e = _0x429061;
|
|
2226
2203
|
try {
|
|
2227
|
-
return textResult(await
|
|
2228
|
-
} catch (
|
|
2229
|
-
return textResult(
|
|
2204
|
+
return textResult(await _0x5d66c1[_0x52f60e(0x12f)](_0x2e831f));
|
|
2205
|
+
} catch (_0x190c00) {
|
|
2206
|
+
return textResult(_0x190c00 instanceof Error ? _0x190c00[_0x52f60e(_0x2df012._0x2cb5cb)] : _0x52f60e(_0x2df012._0x51df50), !![]);
|
|
2230
2207
|
}
|
|
2231
|
-
}),
|
|
2232
|
-
'channel':
|
|
2233
|
-
'task_numbers':
|
|
2234
|
-
'subtask_numbers':
|
|
2235
|
-
'message_ids':
|
|
2236
|
-
'evidence':
|
|
2237
|
-
'create_thread':
|
|
2238
|
-
'create_task':
|
|
2239
|
-
}))[
|
|
2240
|
-
'idempotency_key':
|
|
2241
|
-
}, async
|
|
2242
|
-
const
|
|
2208
|
+
}), _0x464da5[_0x429061(0x183)](_0x429061(0x1be), _0x429061(0x11e), {
|
|
2209
|
+
'channel': _0x3a18ad['string'](),
|
|
2210
|
+
'task_numbers': _0x3a18ad[_0x429061(0x1cb)](_0x3a18ad['number']())[_0x429061(0x86)](),
|
|
2211
|
+
'subtask_numbers': _0x3a18ad['array'](_0x3a18ad['number']())[_0x429061(_0x2c73a9._0x6d0bb3)](),
|
|
2212
|
+
'message_ids': _0x3a18ad[_0x429061(0x1cb)](_0x3a18ad[_0x429061(0xb2)]())[_0x429061(_0x2c73a9._0x2de629)](),
|
|
2213
|
+
'evidence': _0x3a18ad[_0x429061(0xdf)](_0x3a18ad[_0x429061(0xb2)](), _0x3a18ad[_0x429061(_0x2c73a9._0xbfc238)]({
|
|
2214
|
+
'create_thread': _0x3a18ad[_0x429061(0x1a0)]()[_0x429061(0x86)](),
|
|
2215
|
+
'create_task': _0x3a18ad[_0x429061(_0x2c73a9._0x45501c)]()['optional']()
|
|
2216
|
+
}))[_0x429061(_0x2c73a9._0x2de629)](),
|
|
2217
|
+
'idempotency_key': _0x3a18ad[_0x429061(_0x2c73a9._0x3d5aa6)]()['optional']()
|
|
2218
|
+
}, async _0x15d7ad => {
|
|
2219
|
+
const _0x3b9214 = _0x429061;
|
|
2243
2220
|
try {
|
|
2244
|
-
return textResult(await
|
|
2245
|
-
} catch (
|
|
2246
|
-
return textResult(
|
|
2221
|
+
return textResult(await _0x5d66c1[_0x3b9214(_0x5ebdfc._0x139642)](_0x15d7ad));
|
|
2222
|
+
} catch (_0x48de2d) {
|
|
2223
|
+
return textResult(_0x48de2d instanceof Error ? _0x48de2d[_0x3b9214(0x1e6)] : _0x3b9214(_0x5ebdfc._0x4fbcec), !![]);
|
|
2247
2224
|
}
|
|
2248
|
-
}),
|
|
2249
|
-
'channel':
|
|
2250
|
-
'task_number':
|
|
2251
|
-
'subtask_number':
|
|
2252
|
-
'idempotency_key':
|
|
2253
|
-
}, async
|
|
2254
|
-
const
|
|
2225
|
+
}), _0x464da5['tool'](_0x429061(0x1ed), 'Release\x20a\x20claimed\x20task\x20by\x20channel\x20and\x20task\x20number.\x20For\x20subtasks,\x20also\x20pass\x20subtask_number.', {
|
|
2226
|
+
'channel': _0x3a18ad[_0x429061(0xb2)](),
|
|
2227
|
+
'task_number': _0x3a18ad['number'](),
|
|
2228
|
+
'subtask_number': _0x3a18ad[_0x429061(_0x2c73a9._0x3f3316)]()[_0x429061(_0x2c73a9._0x2de629)](),
|
|
2229
|
+
'idempotency_key': _0x3a18ad[_0x429061(_0x2c73a9._0x1e8926)]()[_0x429061(_0x2c73a9._0x5d5e79)]()
|
|
2230
|
+
}, async _0x3c22dc => {
|
|
2231
|
+
const _0x1a4e9f = _0x429061;
|
|
2255
2232
|
try {
|
|
2256
|
-
return textResult(await
|
|
2257
|
-
} catch (
|
|
2258
|
-
return textResult(
|
|
2233
|
+
return textResult(await _0x5d66c1[_0x1a4e9f(0x1ed)](_0x3c22dc));
|
|
2234
|
+
} catch (_0x1cecc9) {
|
|
2235
|
+
return textResult(_0x1cecc9 instanceof Error ? _0x1cecc9[_0x1a4e9f(_0x15c71b._0x4ad5ed)] : 'unclaim_task\x20failed', !![]);
|
|
2259
2236
|
}
|
|
2260
|
-
}),
|
|
2261
|
-
'channel':
|
|
2262
|
-
'task_number':
|
|
2263
|
-
'subtask_number':
|
|
2264
|
-
'status':
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2237
|
+
}), _0x464da5['tool']('update_task_status', _0x429061(_0x2c73a9._0x5f49ca), {
|
|
2238
|
+
'channel': _0x3a18ad[_0x429061(0xb2)](),
|
|
2239
|
+
'task_number': _0x3a18ad['number'](),
|
|
2240
|
+
'subtask_number': _0x3a18ad[_0x429061(_0x2c73a9._0x3f3316)]()[_0x429061(0x86)](),
|
|
2241
|
+
'status': _0x3a18ad[_0x429061(_0x2c73a9._0x302d8f)]([
|
|
2242
|
+
_0x429061(0x106),
|
|
2243
|
+
'in_progress',
|
|
2244
|
+
_0x429061(0x1de),
|
|
2245
|
+
_0x429061(0x1eb)
|
|
2269
2246
|
]),
|
|
2270
|
-
'idempotency_key':
|
|
2271
|
-
}, async
|
|
2272
|
-
const
|
|
2247
|
+
'idempotency_key': _0x3a18ad[_0x429061(0xb2)]()['optional']()
|
|
2248
|
+
}, async _0x4241b0 => {
|
|
2249
|
+
const _0x4da574 = _0x429061;
|
|
2273
2250
|
try {
|
|
2274
|
-
return textResult(await
|
|
2275
|
-
} catch (
|
|
2276
|
-
return textResult(
|
|
2251
|
+
return textResult(await _0x5d66c1[_0x4da574(_0x5d0053._0x3d501a)](_0x4241b0));
|
|
2252
|
+
} catch (_0x5af489) {
|
|
2253
|
+
return textResult(_0x5af489 instanceof Error ? _0x5af489['message'] : _0x4da574(_0x5d0053._0x232057), !![]);
|
|
2277
2254
|
}
|
|
2278
|
-
}),
|
|
2279
|
-
'channel':
|
|
2280
|
-
'file_path':
|
|
2281
|
-
}, async
|
|
2282
|
-
const
|
|
2255
|
+
}), _0x464da5[_0x429061(_0x2c73a9._0x19dee9)]('upload_file', _0x429061(0x108), {
|
|
2256
|
+
'channel': _0x3a18ad[_0x429061(0xb2)](),
|
|
2257
|
+
'file_path': _0x3a18ad[_0x429061(_0x2c73a9._0x338c1b)]()
|
|
2258
|
+
}, async _0x452f2b => {
|
|
2259
|
+
const _0x9277b0 = _0x429061;
|
|
2283
2260
|
try {
|
|
2284
|
-
return textResult(await
|
|
2285
|
-
} catch (
|
|
2286
|
-
return textResult(
|
|
2261
|
+
return textResult(await _0x5d66c1[_0x9277b0(0x1f1)](_0x452f2b));
|
|
2262
|
+
} catch (_0x5c1aa5) {
|
|
2263
|
+
return textResult(_0x5c1aa5 instanceof Error ? _0x5c1aa5[_0x9277b0(0x1e6)] : 'upload_file\x20failed', !![]);
|
|
2287
2264
|
}
|
|
2288
|
-
}),
|
|
2289
|
-
const
|
|
2265
|
+
}), _0x464da5[_0x429061(0x183)]('view_file', _0x429061(0x140), { 'attachment_id': _0x3a18ad[_0x429061(0xb2)]() }, async _0x40f2ec => {
|
|
2266
|
+
const _0x344f1b = _0x429061;
|
|
2290
2267
|
try {
|
|
2291
|
-
return textResult(await
|
|
2292
|
-
} catch (
|
|
2293
|
-
return textResult(
|
|
2268
|
+
return textResult(await _0x5d66c1[_0x344f1b(_0xd3cb51._0x43392e)](_0x40f2ec));
|
|
2269
|
+
} catch (_0x202dbf) {
|
|
2270
|
+
return textResult(_0x202dbf instanceof Error ? _0x202dbf[_0x344f1b(_0xd3cb51._0x288160)] : _0x344f1b(0xfe), !![]);
|
|
2294
2271
|
}
|
|
2295
|
-
}),
|
|
2296
|
-
const
|
|
2272
|
+
}), _0x464da5[_0x429061(_0x2c73a9._0x381107)](_0x429061(_0x2c73a9._0x20908a), 'Check\x20the\x20current\x20status\x20of\x20a\x20spawned\x20worker\x20by\x20its\x20work\x20key.', { 'work_key': _0x3a18ad[_0x429061(0xb2)]() }, async _0x4f78c5 => {
|
|
2273
|
+
const _0x1b127e = _0x429061;
|
|
2297
2274
|
try {
|
|
2298
|
-
return textResult(await
|
|
2299
|
-
} catch (
|
|
2300
|
-
return textResult(
|
|
2275
|
+
return textResult(await _0x5d66c1[_0x1b127e(_0x161837._0x7f40db)](_0x4f78c5));
|
|
2276
|
+
} catch (_0x45a8fe) {
|
|
2277
|
+
return textResult(_0x45a8fe instanceof Error ? _0x45a8fe['message'] : _0x1b127e(0x1bd), !![]);
|
|
2301
2278
|
}
|
|
2302
|
-
}),
|
|
2303
|
-
const
|
|
2279
|
+
}), _0x464da5[_0x429061(0x183)](_0x429061(_0x2c73a9._0xa9a73f), _0x429061(0x151), { 'work_key': _0x3a18ad[_0x429061(_0x2c73a9._0xe8997d)]() }, async _0x39275c => {
|
|
2280
|
+
const _0x1bae28 = _0x429061;
|
|
2304
2281
|
try {
|
|
2305
|
-
return textResult(await
|
|
2306
|
-
} catch (
|
|
2307
|
-
return textResult(
|
|
2282
|
+
return textResult(await _0x5d66c1['park_worker'](_0x39275c));
|
|
2283
|
+
} catch (_0x8658b2) {
|
|
2284
|
+
return textResult(_0x8658b2 instanceof Error ? _0x8658b2[_0x1bae28(_0x2956d3._0x550cf2)] : _0x1bae28(0x1cf), !![]);
|
|
2308
2285
|
}
|
|
2309
|
-
}),
|
|
2310
|
-
'work_key':
|
|
2311
|
-
'reason':
|
|
2312
|
-
}, async
|
|
2313
|
-
const
|
|
2286
|
+
}), _0x464da5['tool']('escalate_to_main', 'Escalate\x20an\x20issue\x20to\x20the\x20main\x20agent\x20session.\x20Use\x20when\x20the\x20worker\x20cannot\x20resolve\x20a\x20problem\x20alone\x20and\x20needs\x20main\x20to\x20intervene.', {
|
|
2287
|
+
'work_key': _0x3a18ad['string'](),
|
|
2288
|
+
'reason': _0x3a18ad[_0x429061(0xb2)]()
|
|
2289
|
+
}, async _0x32e864 => {
|
|
2290
|
+
const _0x25272c = _0x429061;
|
|
2314
2291
|
try {
|
|
2315
|
-
return textResult(await
|
|
2316
|
-
} catch (
|
|
2317
|
-
return textResult(
|
|
2292
|
+
return textResult(await _0x5d66c1[_0x25272c(_0x367380._0x158774)](_0x32e864));
|
|
2293
|
+
} catch (_0x2a0e93) {
|
|
2294
|
+
return textResult(_0x2a0e93 instanceof Error ? _0x2a0e93[_0x25272c(0x1e6)] : _0x25272c(0x192), !![]);
|
|
2318
2295
|
}
|
|
2319
|
-
}),
|
|
2320
|
-
const
|
|
2296
|
+
}), _0x36e97d?.[_0x429061(_0x2c73a9._0x3a70e5)] && _0x464da5[_0x429061(_0x2c73a9._0x473db1)](_0x429061(0x96), _0x429061(_0x2c73a9._0x561282), { 'work_key': _0x3a18ad['string']() }, async _0x4e42cd => {
|
|
2297
|
+
const _0x5e34eb = _0x429061;
|
|
2321
2298
|
try {
|
|
2322
|
-
return textResult(await
|
|
2323
|
-
} catch (
|
|
2324
|
-
return textResult(
|
|
2299
|
+
return textResult(await _0x5d66c1[_0x5e34eb(0x96)](_0x4e42cd));
|
|
2300
|
+
} catch (_0x302d90) {
|
|
2301
|
+
return textResult(_0x302d90 instanceof Error ? _0x302d90[_0x5e34eb(_0x25c22b._0x2209ee)] : _0x5e34eb(0x162), !![]);
|
|
2325
2302
|
}
|
|
2326
2303
|
});
|
|
2327
2304
|
}
|
|
2328
|
-
async function createChatBridgeServer(
|
|
2329
|
-
const
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
},
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
return await registerChatBridgeTools(_0x3ed466, _0x194b38, { 'workerMode': _0x90c9d1[_0x4ef364(_0x3ced2a._0x3500de)] }), {
|
|
2337
|
-
'handlers': _0x194b38,
|
|
2338
|
-
'server': _0x3ed466
|
|
2305
|
+
async function createChatBridgeServer(_0x34f0da) {
|
|
2306
|
+
const _0xfb9291 = { _0x51c45b: 0x85 }, _0x330643 = _0x405cdd, {McpServer: _0x2c21d7} = await import(_0x330643(_0xfb9291._0x51c45b)), _0x43bd8a = new _0x2c21d7({
|
|
2307
|
+
'name': 'chat',
|
|
2308
|
+
'version': _0x330643(0x111)
|
|
2309
|
+
}), _0x443a19 = createChatBridgeHandlers(_0x34f0da);
|
|
2310
|
+
return await registerChatBridgeTools(_0x43bd8a, _0x443a19, { 'workerMode': _0x34f0da[_0x330643(0xb3)] }), {
|
|
2311
|
+
'handlers': _0x443a19,
|
|
2312
|
+
'server': _0x43bd8a
|
|
2339
2313
|
};
|
|
2340
2314
|
}
|
|
2341
|
-
function readFlag(
|
|
2342
|
-
const
|
|
2343
|
-
if (
|
|
2315
|
+
function readFlag(_0x257cda, _0x2661e1) {
|
|
2316
|
+
const _0x25f9df = _0x257cda['indexOf'](_0x2661e1);
|
|
2317
|
+
if (_0x25f9df === -0x1)
|
|
2344
2318
|
return void 0x0;
|
|
2345
|
-
return
|
|
2319
|
+
return _0x257cda[_0x25f9df + 0x1];
|
|
2346
2320
|
}
|
|
2347
|
-
function parseChatBridgeArgs(
|
|
2348
|
-
const
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2321
|
+
function parseChatBridgeArgs(_0x3030ec) {
|
|
2322
|
+
const _0x25bd0c = {
|
|
2323
|
+
_0x5391e3: 0x1e4,
|
|
2324
|
+
_0x32601c: 0xf5,
|
|
2325
|
+
_0x115e0a: 0x131,
|
|
2326
|
+
_0x4b810f: 0x1ac,
|
|
2327
|
+
_0x27d09a: 0x10b,
|
|
2328
|
+
_0x4a10d3: 0x1f4,
|
|
2329
|
+
_0x3331cc: 0x19c,
|
|
2330
|
+
_0x111ba0: 0x127
|
|
2331
|
+
}, _0x3c71e3 = _0x405cdd, _0x3d30bc = readFlag(_0x3030ec, '--agent-id'), _0x1a612c = readFlag(_0x3030ec, '--attachment-cache-dir'), _0x32cee0 = readFlag(_0x3030ec, _0x3c71e3(_0x25bd0c._0x5391e3)), _0x1fb694 = readFlag(_0x3030ec, _0x3c71e3(_0x25bd0c._0x32601c)), _0x5f188 = readFlag(_0x3030ec, _0x3c71e3(_0x25bd0c._0x115e0a)) ?? 'http://localhost:8121', _0x53ea8f = readFlag(_0x3030ec, _0x3c71e3(_0x25bd0c._0x4b810f)), _0x54a160 = readFlag(_0x3030ec, _0x3c71e3(_0x25bd0c._0x27d09a)), _0x2787ad = readFlag(_0x3030ec, _0x3c71e3(0x1ce)), _0x2957ec = readFlag(_0x3030ec, _0x3c71e3(0x115)), _0x4263e2 = readFlag(_0x3030ec, _0x3c71e3(_0x25bd0c._0x4a10d3)), _0x2e8c89 = _0x3030ec[_0x3c71e3(0x150)](_0x3c71e3(0xd1)), _0x3c8bab = _0x1fb694 === void 0x0 ? void 0x0 : Number[_0x3c71e3(_0x25bd0c._0x3331cc)](_0x1fb694, 0xa);
|
|
2332
|
+
if (!_0x3d30bc)
|
|
2357
2333
|
throw new Error('Missing\x20--agent-id');
|
|
2358
|
-
if (!
|
|
2359
|
-
throw new Error(
|
|
2360
|
-
if (
|
|
2334
|
+
if (!_0x32cee0)
|
|
2335
|
+
throw new Error(_0x3c71e3(0xab));
|
|
2336
|
+
if (_0x1fb694 !== void 0x0 && (_0x3c8bab === void 0x0 || !Number[_0x3c71e3(_0x25bd0c._0x111ba0)](_0x3c8bab) || _0x3c8bab < 0x0))
|
|
2361
2337
|
throw new Error('Invalid\x20--initial-last-seen-seq');
|
|
2362
2338
|
return {
|
|
2363
|
-
'agentId':
|
|
2364
|
-
'attachmentCacheDir':
|
|
2365
|
-
'daemonApiKey':
|
|
2366
|
-
'daemonLocalUrl':
|
|
2367
|
-
'initialLastSeenSeq':
|
|
2368
|
-
'sessionId':
|
|
2369
|
-
'serverUrl':
|
|
2370
|
-
'workerModeEnabled':
|
|
2371
|
-
'workerSessionId':
|
|
2372
|
-
'workerThreadTarget':
|
|
2373
|
-
'workerMode':
|
|
2339
|
+
'agentId': _0x3d30bc,
|
|
2340
|
+
'attachmentCacheDir': _0x1a612c,
|
|
2341
|
+
'daemonApiKey': _0x32cee0,
|
|
2342
|
+
'daemonLocalUrl': _0x53ea8f,
|
|
2343
|
+
'initialLastSeenSeq': _0x3c8bab,
|
|
2344
|
+
'sessionId': _0x54a160,
|
|
2345
|
+
'serverUrl': _0x5f188,
|
|
2346
|
+
'workerModeEnabled': _0x2787ad === void 0x0 ? void 0x0 : _0x2787ad !== _0x3c71e3(0xc4),
|
|
2347
|
+
'workerSessionId': _0x2957ec,
|
|
2348
|
+
'workerThreadTarget': _0x4263e2,
|
|
2349
|
+
'workerMode': _0x2e8c89
|
|
2374
2350
|
};
|
|
2375
2351
|
}
|
|
2376
|
-
async function runChatBridgeCli(
|
|
2377
|
-
const
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
'
|
|
2385
|
-
'
|
|
2386
|
-
'client': _0x25017b,
|
|
2387
|
-
'daemonLocalUrl': _0x3c36b9[_0x24627d(_0x34165d._0x207923)],
|
|
2352
|
+
async function runChatBridgeCli(_0x10db97) {
|
|
2353
|
+
const _0x59a44b = {
|
|
2354
|
+
_0x2b037f: 0xe5,
|
|
2355
|
+
_0x2e95f5: 0x10a,
|
|
2356
|
+
_0x42782e: 0x152
|
|
2357
|
+
}, _0x3b61e5 = _0x405cdd, _0x4168d7 = parseChatBridgeArgs(_0x10db97), {StdioServerTransport: _0x583ac2} = await import(_0x3b61e5(_0x59a44b._0x2b037f)), _0x13ec11 = createInternalAgentClient(_0x4168d7), _0x228e7c = createAttachmentCache({ 'cacheDir': _0x4168d7['attachmentCacheDir'] }), _0x955c92 = await createChatBridgeServer({
|
|
2358
|
+
'agentId': _0x4168d7['agentId'],
|
|
2359
|
+
'attachmentCache': _0x228e7c,
|
|
2360
|
+
'client': _0x13ec11,
|
|
2361
|
+
'daemonLocalUrl': _0x4168d7[_0x3b61e5(0x193)],
|
|
2388
2362
|
'uploadPreparer': prepareUploadFile,
|
|
2389
|
-
'workerModeEnabled':
|
|
2390
|
-
'workerMode':
|
|
2391
|
-
'workerThreadTarget':
|
|
2363
|
+
'workerModeEnabled': _0x4168d7[_0x3b61e5(_0x59a44b._0x2e95f5)],
|
|
2364
|
+
'workerMode': _0x4168d7[_0x3b61e5(0xb3)],
|
|
2365
|
+
'workerThreadTarget': _0x4168d7[_0x3b61e5(0x1f5)]
|
|
2392
2366
|
});
|
|
2393
|
-
await
|
|
2367
|
+
await _0x955c92[_0x3b61e5(_0x59a44b._0x42782e)]['connect'](new _0x583ac2());
|
|
2394
2368
|
}
|
|
2395
|
-
var executedAsEntry = process[
|
|
2396
|
-
executedAsEntry && await runChatBridgeCli(process[
|
|
2369
|
+
var executedAsEntry = process[_0x405cdd(0x1f3)][0x1] ? import.meta.url === pathToFileURL(process[_0x405cdd(0x1f3)][0x1])[_0x405cdd(0x19f)] : ![];
|
|
2370
|
+
executedAsEntry && await runChatBridgeCli(process['argv'][_0x405cdd(0x113)](0x2));
|
|
2397
2371
|
export {
|
|
2398
2372
|
createChatBridgeHandlers,
|
|
2399
2373
|
createChatBridgeServer,
|