@dscord/daemon 0.1.16 → 0.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chat-bridge.js +1949 -1928
- package/dist/index.js +7501 -7546
- package/package.json +1 -1
package/dist/chat-bridge.js
CHANGED
|
@@ -1,26 +1,23 @@
|
|
|
1
|
-
const
|
|
2
|
-
(function (
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
_0x141355: 0x23b,
|
|
10
|
-
_0x220255: 0x233
|
|
11
|
-
}, _0x176e6c = _0x3051, _0x137b42 = _0x4daf7e();
|
|
1
|
+
const _0x48b8fe = _0xe0e1;
|
|
2
|
+
(function (_0x5822cf, _0x585c24) {
|
|
3
|
+
const _0x10ddfe = {
|
|
4
|
+
_0xe3c0c3: 0x1ed,
|
|
5
|
+
_0x4ed5ae: 0x298,
|
|
6
|
+
_0x3ced18: 0x1da,
|
|
7
|
+
_0x29e9ad: 0x239
|
|
8
|
+
}, _0x38fedb = _0xe0e1, _0x213fd2 = _0x5822cf();
|
|
12
9
|
while (!![]) {
|
|
13
10
|
try {
|
|
14
|
-
const
|
|
15
|
-
if (
|
|
11
|
+
const _0x297248 = -parseInt(_0x38fedb(_0x10ddfe._0xe3c0c3)) / 0x1 + -parseInt(_0x38fedb(_0x10ddfe._0x4ed5ae)) / 0x2 + parseInt(_0x38fedb(0x1e7)) / 0x3 * (parseInt(_0x38fedb(0x191)) / 0x4) + -parseInt(_0x38fedb(_0x10ddfe._0x3ced18)) / 0x5 + -parseInt(_0x38fedb(0x1ad)) / 0x6 + parseInt(_0x38fedb(0x29d)) / 0x7 + parseInt(_0x38fedb(_0x10ddfe._0x29e9ad)) / 0x8;
|
|
12
|
+
if (_0x297248 === _0x585c24)
|
|
16
13
|
break;
|
|
17
14
|
else
|
|
18
|
-
|
|
19
|
-
} catch (
|
|
20
|
-
|
|
15
|
+
_0x213fd2['push'](_0x213fd2['shift']());
|
|
16
|
+
} catch (_0x2cc1ce) {
|
|
17
|
+
_0x213fd2['push'](_0x213fd2['shift']());
|
|
21
18
|
}
|
|
22
19
|
}
|
|
23
|
-
}(
|
|
20
|
+
}(_0x28eb, 0xe8265));
|
|
24
21
|
import { pathToFileURL } from 'node:url';
|
|
25
22
|
import {
|
|
26
23
|
mkdir,
|
|
@@ -30,80 +27,76 @@ import {
|
|
|
30
27
|
writeFile
|
|
31
28
|
} from 'node:fs/promises';
|
|
32
29
|
import { homedir } from 'node:os';
|
|
33
|
-
import
|
|
30
|
+
import _0x1a4946 from 'node:path';
|
|
34
31
|
var DEFAULT_MAX_FILE_SIZE = 0x64 * 0x400 * 0x400, MIME_BY_EXTENSION = {
|
|
35
|
-
'.csv':
|
|
36
|
-
'.gif':
|
|
37
|
-
'.jpeg':
|
|
38
|
-
'.jpg':
|
|
39
|
-
'.json':
|
|
40
|
-
'.md':
|
|
41
|
-
'.pdf':
|
|
42
|
-
'.png':
|
|
43
|
-
'.svg':
|
|
44
|
-
'.txt':
|
|
45
|
-
'.webp':
|
|
46
|
-
'.xml':
|
|
47
|
-
'.zip':
|
|
32
|
+
'.csv': 'text/csv',
|
|
33
|
+
'.gif': _0x48b8fe(0x17e),
|
|
34
|
+
'.jpeg': _0x48b8fe(0x27f),
|
|
35
|
+
'.jpg': _0x48b8fe(0x27f),
|
|
36
|
+
'.json': _0x48b8fe(0x1a2),
|
|
37
|
+
'.md': _0x48b8fe(0x189),
|
|
38
|
+
'.pdf': 'application/pdf',
|
|
39
|
+
'.png': _0x48b8fe(0x21b),
|
|
40
|
+
'.svg': _0x48b8fe(0x1d1),
|
|
41
|
+
'.txt': _0x48b8fe(0x19e),
|
|
42
|
+
'.webp': 'image/webp',
|
|
43
|
+
'.xml': _0x48b8fe(0x1ab),
|
|
44
|
+
'.zip': _0x48b8fe(0x1a6)
|
|
48
45
|
};
|
|
49
|
-
function guessContentType(
|
|
50
|
-
const
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
return MIME_BY_EXTENSION[_0x37f362[_0x12b59d(_0x5ab58d._0x17ebcf)](_0x2dfbd0)[_0x12b59d(_0x5ab58d._0x487de9)]()] ?? _0x12b59d(_0x5ab58d._0x518c32);
|
|
46
|
+
function guessContentType(_0x30beea) {
|
|
47
|
+
const _0x231687 = {
|
|
48
|
+
_0x43b42e: 0x1d8,
|
|
49
|
+
_0x4fdf3a: 0x152
|
|
50
|
+
}, _0x4f7ba1 = _0x48b8fe;
|
|
51
|
+
return MIME_BY_EXTENSION[_0x1a4946[_0x4f7ba1(_0x231687._0x43b42e)](_0x30beea)['toLowerCase']()] ?? _0x4f7ba1(_0x231687._0x4fdf3a);
|
|
56
52
|
}
|
|
57
|
-
function safeFilename(
|
|
58
|
-
const
|
|
59
|
-
return
|
|
53
|
+
function safeFilename(_0x700df3) {
|
|
54
|
+
const _0x4cb034 = _0x48b8fe;
|
|
55
|
+
return _0x700df3[_0x4cb034(0x29a)](/[\\/]/g, '-');
|
|
60
56
|
}
|
|
61
|
-
function extensionFor(
|
|
62
|
-
const
|
|
63
|
-
return
|
|
57
|
+
function extensionFor(_0x120cae) {
|
|
58
|
+
const _0x3913ab = { _0x1f0e65: 0x25c }, _0x2094a8 = _0x48b8fe, _0x3fee2c = Object[_0x2094a8(0x280)](MIME_BY_EXTENSION)[_0x2094a8(_0x3913ab._0x1f0e65)](([, _0x2d9bdd]) => _0x2d9bdd === _0x120cae);
|
|
59
|
+
return _0x3fee2c?.[0x0] ?? '.bin';
|
|
64
60
|
}
|
|
65
|
-
async function prepareUploadFile(
|
|
66
|
-
const
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
},
|
|
73
|
-
if (!
|
|
74
|
-
throw new Error(
|
|
75
|
-
const
|
|
76
|
-
if (!
|
|
77
|
-
throw new Error(
|
|
78
|
-
const
|
|
79
|
-
if (
|
|
80
|
-
throw new Error(
|
|
81
|
-
const
|
|
61
|
+
async function prepareUploadFile(_0x58b71f, _0x33c633 = {}) {
|
|
62
|
+
const _0x5e57be = {
|
|
63
|
+
_0xe07490: 0x215,
|
|
64
|
+
_0x19f5ff: 0x1d7,
|
|
65
|
+
_0x1d077d: 0x233,
|
|
66
|
+
_0x4b9a88: 0x1f6,
|
|
67
|
+
_0x30a791: 0x2ae
|
|
68
|
+
}, _0x1ef369 = _0x48b8fe;
|
|
69
|
+
if (!_0x1a4946[_0x1ef369(_0x5e57be._0xe07490)](_0x58b71f))
|
|
70
|
+
throw new Error(_0x1ef369(0x1bc));
|
|
71
|
+
const _0x3458e6 = await stat(_0x58b71f)[_0x1ef369(0x196)](() => null);
|
|
72
|
+
if (!_0x3458e6 || !_0x3458e6[_0x1ef369(0x254)]())
|
|
73
|
+
throw new Error('File\x20not\x20found:\x20' + _0x58b71f);
|
|
74
|
+
const _0x1b91b0 = _0x33c633[_0x1ef369(0x242)] ?? DEFAULT_MAX_FILE_SIZE;
|
|
75
|
+
if (_0x3458e6[_0x1ef369(_0x5e57be._0x19f5ff)] > _0x1b91b0)
|
|
76
|
+
throw new Error(_0x1ef369(0x1c8) + _0x3458e6[_0x1ef369(0x1d7)]);
|
|
77
|
+
const _0x1f4824 = await readFile(_0x58b71f), _0x2ae3c8 = _0x1a4946[_0x1ef369(_0x5e57be._0x1d077d)](_0x58b71f);
|
|
82
78
|
return {
|
|
83
|
-
'contentBase64':
|
|
84
|
-
'contentType': guessContentType(
|
|
85
|
-
'filename':
|
|
86
|
-
'sizeBytes':
|
|
79
|
+
'contentBase64': _0x1f4824[_0x1ef369(_0x5e57be._0x4b9a88)](_0x1ef369(_0x5e57be._0x30a791)),
|
|
80
|
+
'contentType': guessContentType(_0x2ae3c8),
|
|
81
|
+
'filename': _0x2ae3c8,
|
|
82
|
+
'sizeBytes': _0x3458e6[_0x1ef369(0x1d7)]
|
|
87
83
|
};
|
|
88
84
|
}
|
|
89
|
-
function createAttachmentCache(
|
|
90
|
-
const
|
|
91
|
-
_0x1b8b4b: 0x2ae,
|
|
92
|
-
_0x232238: 0x218
|
|
93
|
-
}, _0x343a3c = _0x50158a, _0x4059c4 = _0x4f7147[_0x343a3c(0x2a4)] ?? _0x37f362[_0x343a3c(_0x434817._0x3a7dc7)](homedir(), '.slock', 'attachments');
|
|
85
|
+
function createAttachmentCache(_0x2c9264 = {}) {
|
|
86
|
+
const _0x3beab2 = { _0x54cfc5: 0x163 }, _0x2f8f9e = { _0x3a196d: 0x2b9 }, _0x283d97 = { _0x55ddba: 0x159 }, _0x117e32 = _0x48b8fe, _0x51c23a = _0x2c9264[_0x117e32(0x194)] ?? _0x1a4946[_0x117e32(0x159)](homedir(), '.slock', _0x117e32(_0x3beab2._0x54cfc5));
|
|
94
87
|
return {
|
|
95
|
-
'cacheDir':
|
|
96
|
-
async 'findCachedPath'(
|
|
97
|
-
const
|
|
98
|
-
await mkdir(
|
|
99
|
-
const
|
|
100
|
-
return
|
|
88
|
+
'cacheDir': _0x51c23a,
|
|
89
|
+
async 'findCachedPath'(_0x24cf41) {
|
|
90
|
+
const _0x3f521e = _0x117e32;
|
|
91
|
+
await mkdir(_0x51c23a, { 'recursive': !![] });
|
|
92
|
+
const _0x2f30ec = await readdir(_0x51c23a), _0x2a0c11 = _0x2f30ec[_0x3f521e(0x25c)](_0x1950b0 => _0x1950b0[_0x3f521e(0x234)](_0x24cf41 + '-') || _0x1950b0[_0x3f521e(0x234)](_0x24cf41));
|
|
93
|
+
return _0x2a0c11 ? _0x1a4946[_0x3f521e(_0x283d97._0x55ddba)](_0x51c23a, _0x2a0c11) : null;
|
|
101
94
|
},
|
|
102
|
-
async 'save'(
|
|
103
|
-
const
|
|
104
|
-
await mkdir(
|
|
105
|
-
const
|
|
106
|
-
return await writeFile(
|
|
95
|
+
async 'save'(_0x3bcb53) {
|
|
96
|
+
const _0x531979 = _0x117e32;
|
|
97
|
+
await mkdir(_0x51c23a, { 'recursive': !![] });
|
|
98
|
+
const _0x2abf8d = _0x3bcb53['originalFilename']?.[_0x531979(0x224)]() ? safeFilename(_0x3bcb53[_0x531979(0x1bb)]) : '' + _0x3bcb53['attachmentId'] + extensionFor(_0x3bcb53[_0x531979(_0x2f8f9e._0x3a196d)]), _0x437bf0 = _0x1a4946['join'](_0x51c23a, _0x3bcb53['attachmentId'] + '-' + _0x2abf8d);
|
|
99
|
+
return await writeFile(_0x437bf0, _0x3bcb53['data']), _0x437bf0;
|
|
107
100
|
}
|
|
108
101
|
};
|
|
109
102
|
}
|
|
@@ -111,2186 +104,2214 @@ import {
|
|
|
111
104
|
createHash,
|
|
112
105
|
randomUUID
|
|
113
106
|
} from 'node:crypto';
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
'
|
|
130
|
-
'
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
107
|
+
var UNSUPPORTED_TARGET_MESSAGE = _0x48b8fe(0x235);
|
|
108
|
+
function ensureSegment(_0x4ba205) {
|
|
109
|
+
const _0x1717a6 = {
|
|
110
|
+
_0x5e3c36: 0x224,
|
|
111
|
+
_0x56c211: 0x1c5
|
|
112
|
+
}, _0x314615 = _0x48b8fe, _0xa9e3f9 = _0x4ba205[_0x314615(_0x1717a6._0x5e3c36)]();
|
|
113
|
+
if (!_0xa9e3f9 || _0xa9e3f9[_0x314615(_0x1717a6._0x56c211)](':'))
|
|
114
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
115
|
+
return _0xa9e3f9;
|
|
116
|
+
}
|
|
117
|
+
function parseThreadParts(_0x392468) {
|
|
118
|
+
const _0x44841e = { _0x20b0c8: 0x28c }, _0x35432e = _0x48b8fe, _0x481e98 = _0x392468[_0x35432e(_0x44841e._0x20b0c8)](':');
|
|
119
|
+
if (_0x481e98[_0x35432e(0x291)] < 0x1 || _0x481e98[_0x35432e(0x291)] > 0x2)
|
|
120
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
121
|
+
return {
|
|
122
|
+
'channelName': ensureSegment(_0x481e98[0x0] ?? ''),
|
|
123
|
+
'threadShortId': _0x481e98[0x1] ? ensureSegment(_0x481e98[0x1]) : null
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
function parseTarget(_0xc370cb) {
|
|
127
|
+
const _0x339e00 = {
|
|
128
|
+
_0x24bd75: 0x224,
|
|
129
|
+
_0x2390ff: 0x2c4,
|
|
130
|
+
_0x458ad6: 0x218,
|
|
131
|
+
_0x4e45b4: 0x218,
|
|
132
|
+
_0x30852d: 0x234,
|
|
133
|
+
_0x76d78: 0x234,
|
|
134
|
+
_0x16b6c3: 0x15d,
|
|
135
|
+
_0x180156: 0x16a,
|
|
136
|
+
_0x281a01: 0x16a
|
|
137
|
+
}, _0x523a28 = _0x48b8fe, _0x3185a3 = _0xc370cb[_0x523a28(_0x339e00._0x24bd75)]();
|
|
138
|
+
if (!_0x3185a3)
|
|
139
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
140
|
+
if (_0x3185a3[_0x523a28(0x234)]('#')) {
|
|
141
|
+
const _0x1b6e68 = parseThreadParts(_0x3185a3[_0x523a28(_0x339e00._0x2390ff)](0x1)), _0x20d025 = '#' + _0x1b6e68['channelName'];
|
|
142
|
+
if (!_0x1b6e68[_0x523a28(_0x339e00._0x458ad6)])
|
|
143
|
+
return {
|
|
144
|
+
'channelName': _0x1b6e68[_0x523a28(0x16a)],
|
|
145
|
+
'channelTarget': _0x20d025,
|
|
146
|
+
'kind': 'channel',
|
|
147
|
+
'target': _0x20d025
|
|
148
|
+
};
|
|
149
|
+
return {
|
|
150
|
+
'channelName': _0x1b6e68['channelName'],
|
|
151
|
+
'channelTarget': _0x20d025,
|
|
152
|
+
'kind': _0x523a28(0x264),
|
|
153
|
+
'target': _0x20d025 + ':' + _0x1b6e68[_0x523a28(_0x339e00._0x458ad6)],
|
|
154
|
+
'threadShortId': _0x1b6e68[_0x523a28(_0x339e00._0x4e45b4)]
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
if (_0x3185a3[_0x523a28(_0x339e00._0x30852d)]('dm:')) {
|
|
158
|
+
const _0x4200dd = parseThreadParts(_0x3185a3[_0x523a28(0x2c4)](0x3));
|
|
159
|
+
if (!_0x4200dd[_0x523a28(0x16a)][_0x523a28(_0x339e00._0x76d78)](_0x523a28(_0x339e00._0x16b6c3)))
|
|
160
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
161
|
+
const _0x546126 = _0x523a28(0x1f5) + _0x4200dd[_0x523a28(0x16a)];
|
|
162
|
+
if (!_0x4200dd[_0x523a28(0x218)])
|
|
163
|
+
return {
|
|
164
|
+
'channelName': _0x4200dd[_0x523a28(_0x339e00._0x180156)],
|
|
165
|
+
'channelTarget': _0x546126,
|
|
166
|
+
'kind': 'channel',
|
|
167
|
+
'target': _0x546126
|
|
168
|
+
};
|
|
169
|
+
return {
|
|
170
|
+
'channelName': _0x4200dd[_0x523a28(_0x339e00._0x281a01)],
|
|
171
|
+
'channelTarget': _0x546126,
|
|
172
|
+
'kind': _0x523a28(0x264),
|
|
173
|
+
'target': _0x546126 + ':' + _0x4200dd[_0x523a28(0x218)],
|
|
174
|
+
'threadShortId': _0x4200dd['threadShortId']
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
178
|
+
}
|
|
179
|
+
function asErrorMessage(_0x239432, _0x1da60f) {
|
|
180
|
+
const _0x54f660 = _0x48b8fe;
|
|
181
|
+
if (typeof _0x239432 === 'string' && _0x239432[_0x54f660(0x224)]())
|
|
182
|
+
return _0x239432;
|
|
183
|
+
return _0x1da60f;
|
|
184
|
+
}
|
|
185
|
+
function asRecord(_0x14a233) {
|
|
186
|
+
const _0xb88436 = _0x48b8fe;
|
|
187
|
+
return typeof _0x14a233 === _0xb88436(0x251) && _0x14a233 !== null ? _0x14a233 : {};
|
|
188
|
+
}
|
|
189
|
+
function stableStringify(_0x587b4c) {
|
|
190
|
+
const _0x4faf2b = {
|
|
191
|
+
_0x560d4f: 0x1cc,
|
|
192
|
+
_0x320968: 0x22f,
|
|
193
|
+
_0x4fdd75: 0x265
|
|
194
|
+
}, _0x25c229 = _0x48b8fe;
|
|
195
|
+
if (_0x587b4c === null || typeof _0x587b4c !== 'object')
|
|
196
|
+
return JSON[_0x25c229(0x1a0)](_0x587b4c);
|
|
197
|
+
if (Array['isArray'](_0x587b4c))
|
|
198
|
+
return '[' + _0x587b4c[_0x25c229(_0x4faf2b._0x560d4f)](_0x594b24 => stableStringify(_0x594b24))['join'](',') + ']';
|
|
199
|
+
const _0x4182e4 = Object[_0x25c229(0x280)](_0x587b4c)[_0x25c229(_0x4faf2b._0x320968)](([, _0x514cc1]) => _0x514cc1 !== void 0x0)[_0x25c229(_0x4faf2b._0x4fdd75)](([_0x3741f2], [_0x4574bf]) => _0x3741f2[_0x25c229(0x14f)](_0x4574bf))[_0x25c229(_0x4faf2b._0x560d4f)](([_0x4c5afa, _0x509c4c]) => JSON['stringify'](_0x4c5afa) + ':' + stableStringify(_0x509c4c));
|
|
200
|
+
return '{' + _0x4182e4['join'](',') + '}';
|
|
201
|
+
}
|
|
202
|
+
function createHeaders(_0x19a6ea) {
|
|
203
|
+
const _0x5a451f = { _0x46effc: 0x1a2 }, _0x4699b8 = _0x48b8fe;
|
|
204
|
+
return {
|
|
205
|
+
'Content-Type': _0x4699b8(_0x5a451f._0x46effc),
|
|
206
|
+
'x-daemon-api-key': _0x19a6ea
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
function toHttpBaseUrl(_0x39764a) {
|
|
210
|
+
const _0x513825 = {
|
|
211
|
+
_0x313833: 0x1b4,
|
|
212
|
+
_0x2a166c: 0x1bf,
|
|
213
|
+
_0x394388: 0x1f6
|
|
214
|
+
}, _0x1b6280 = _0x48b8fe, _0x5b9eb0 = new URL(_0x39764a);
|
|
215
|
+
if (_0x5b9eb0[_0x1b6280(0x1b4)] === _0x1b6280(0x237))
|
|
216
|
+
_0x5b9eb0[_0x1b6280(_0x513825._0x313833)] = _0x1b6280(0x220);
|
|
217
|
+
else
|
|
218
|
+
_0x5b9eb0[_0x1b6280(0x1b4)] === 'wss:' && (_0x5b9eb0[_0x1b6280(_0x513825._0x313833)] = _0x1b6280(_0x513825._0x2a166c));
|
|
219
|
+
return _0x5b9eb0[_0x1b6280(_0x513825._0x394388)]()[_0x1b6280(0x29a)](/\/$/, '');
|
|
220
|
+
}
|
|
221
|
+
function isMentionBoundary(_0x74931b) {
|
|
222
|
+
const _0x19ad31 = _0x48b8fe;
|
|
223
|
+
return !_0x74931b || /\s|[([{'",。!?、:;]/[_0x19ad31(0x1ee)](_0x74931b);
|
|
224
|
+
}
|
|
225
|
+
function isMentionTerminal(_0x5298ee) {
|
|
226
|
+
const _0x4c1615 = { _0x3b20bd: 0x1ee }, _0x5f19d2 = _0x48b8fe;
|
|
227
|
+
return !_0x5298ee || /\s|[)\]}'",。!?、:;,.!?]/[_0x5f19d2(_0x4c1615._0x3b20bd)](_0x5298ee);
|
|
228
|
+
}
|
|
229
|
+
function buildMatchableEntries(_0x50a3c2) {
|
|
230
|
+
const _0x40c825 = {
|
|
231
|
+
_0x3a96ec: 0x2a3,
|
|
232
|
+
_0x46879b: 0x231,
|
|
233
|
+
_0x4ce252: 0x21f
|
|
234
|
+
}, _0x17f0e9 = _0x48b8fe, _0x415429 = [];
|
|
235
|
+
for (const _0x5734e6 of [
|
|
236
|
+
..._0x50a3c2[_0x17f0e9(0x253)],
|
|
237
|
+
..._0x50a3c2['humans']
|
|
238
|
+
]) {
|
|
239
|
+
_0x415429[_0x17f0e9(0x21f)]({
|
|
240
|
+
'matchName': _0x5734e6[_0x17f0e9(0x231)],
|
|
241
|
+
'matchNameLower': _0x5734e6[_0x17f0e9(0x231)][_0x17f0e9(_0x40c825._0x3a96ec)](),
|
|
242
|
+
'participantId': _0x5734e6['id']
|
|
243
|
+
}), _0x5734e6['id'] !== _0x5734e6[_0x17f0e9(_0x40c825._0x46879b)] && _0x415429[_0x17f0e9(_0x40c825._0x4ce252)]({
|
|
244
|
+
'matchName': _0x5734e6['id'],
|
|
245
|
+
'matchNameLower': _0x5734e6['id'][_0x17f0e9(_0x40c825._0x3a96ec)](),
|
|
246
|
+
'participantId': _0x5734e6['id']
|
|
247
|
+
});
|
|
248
|
+
}
|
|
249
|
+
return _0x415429;
|
|
250
|
+
}
|
|
251
|
+
function extractMentionedParticipantIds(_0x9deae8, _0x4e2949) {
|
|
252
|
+
const _0x2fd59 = {
|
|
253
|
+
_0x5ad1cf: 0x291,
|
|
254
|
+
_0x3348c3: 0x21f
|
|
255
|
+
}, _0x4236ee = { _0x2102a2: 0x1bd }, _0x528fb2 = _0x48b8fe, _0x1bccbb = buildMatchableEntries(_0x4e2949)['sort']((_0x488bdf, _0x1d0167) => _0x1d0167[_0x528fb2(0x1bd)]['length'] - _0x488bdf['matchName'][_0x528fb2(0x291)]), _0x40dd15 = [], _0x3deee0 = new Set();
|
|
256
|
+
for (let _0x58d8db = 0x0; _0x58d8db < _0x9deae8[_0x528fb2(_0x2fd59._0x5ad1cf)]; _0x58d8db += 0x1) {
|
|
257
|
+
if (_0x9deae8[_0x58d8db] !== '@' || !isMentionBoundary(_0x9deae8[_0x58d8db - 0x1]))
|
|
258
|
+
continue;
|
|
259
|
+
const _0x1d5f43 = _0x9deae8['slice'](_0x58d8db + 0x1), _0x1596b7 = _0x1d5f43[_0x528fb2(0x2a3)](), _0x2e60a9 = _0x1bccbb[_0x528fb2(0x25c)](_0x972c6f => {
|
|
260
|
+
const _0x5262b7 = _0x528fb2;
|
|
261
|
+
if (!_0x1596b7[_0x5262b7(0x234)](_0x972c6f['matchNameLower']))
|
|
262
|
+
return ![];
|
|
263
|
+
return isMentionTerminal(_0x1d5f43[_0x972c6f[_0x5262b7(_0x4236ee._0x2102a2)]['length']]);
|
|
264
|
+
});
|
|
265
|
+
if (!_0x2e60a9 || _0x3deee0[_0x528fb2(0x1a3)](_0x2e60a9[_0x528fb2(0x2bb)]))
|
|
266
|
+
continue;
|
|
267
|
+
_0x3deee0['add'](_0x2e60a9['participantId']), _0x40dd15[_0x528fb2(_0x2fd59._0x3348c3)](_0x2e60a9[_0x528fb2(0x2bb)]), _0x58d8db += _0x2e60a9[_0x528fb2(0x1bd)][_0x528fb2(_0x2fd59._0x5ad1cf)];
|
|
268
|
+
}
|
|
269
|
+
return _0x40dd15;
|
|
270
|
+
}
|
|
271
|
+
function _0x28eb() {
|
|
272
|
+
const _0x2326b8 = [
|
|
273
|
+
'iokaLcb1C2uGDMLLD19MAwXLihrVihnLzv0',
|
|
274
|
+
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWU',
|
|
275
|
+
'zxjYB3i',
|
|
276
|
+
'Aw1Hz2uVC3zNk3HTBa',
|
|
277
|
+
'BwLU',
|
|
278
|
+
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
279
|
+
'Agv4',
|
|
280
|
+
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
281
|
+
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
282
|
+
'C2L6zq',
|
|
283
|
+
'zxH0BMfTzq',
|
|
141
284
|
'sw52ywXPzcaTlwLUAxrPywWTBgfZDc1ZzwvUlxnLCq',
|
|
142
|
-
'
|
|
143
|
-
'
|
|
144
|
-
'
|
|
145
|
-
'
|
|
146
|
-
'
|
|
147
|
-
'
|
|
148
|
-
'
|
|
285
|
+
'mZqZmdi2mhbnwKDosq',
|
|
286
|
+
'lsaJ',
|
|
287
|
+
'rg93BMXVywrLzcb0BZOG',
|
|
288
|
+
'ue9tva',
|
|
289
|
+
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
290
|
+
'pgvTChr5pG',
|
|
291
|
+
'l3nLBMq',
|
|
292
|
+
'r0vu',
|
|
293
|
+
'zgvZy3jPChrPB24',
|
|
294
|
+
'l2fWAs9Hz2vUDhm/C2vYDMvYswq9',
|
|
295
|
+
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
296
|
+
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
297
|
+
'DgHYzwfKx3rHCMDLDa',
|
|
298
|
+
'm293rw5jtG',
|
|
299
|
+
'C3rYAw5N',
|
|
300
|
+
'BwvZC2fNzuLK',
|
|
301
|
+
'DxbSB2fKuhjLCgfYzxi',
|
|
302
|
+
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
303
|
+
'C3rHCNrLza',
|
|
304
|
+
'ntmXnZKXse5krevL',
|
|
305
|
+
'DgvZDa',
|
|
306
|
+
'BM93',
|
|
307
|
+
'zxnJywXHDgvFDg9FBwfPBG',
|
|
308
|
+
'tM8GDgfZA3mGzM91BMqU',
|
|
309
|
+
'Bwv0yq',
|
|
149
310
|
'ywjVCNrLza',
|
|
311
|
+
'zxzLBNrtzxe',
|
|
312
|
+
'zg06',
|
|
313
|
+
'Dg9tDhjPBMC',
|
|
314
|
+
'xsbaC3LZDgvToIbBy2XHAw0TAgfUzg9MzL0G',
|
|
315
|
+
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
316
|
+
'zg9Uzq',
|
|
317
|
+
'khvUA25VD24P',
|
|
318
|
+
'l3rHC2TZl2nSywLT',
|
|
319
|
+
'C2vYDMvYtMfTzq',
|
|
320
|
+
'vgfZAZOG',
|
|
321
|
+
'Aw5FChjVz3jLC3m',
|
|
322
|
+
'ywrK',
|
|
323
|
+
'z2v0rgf0zq',
|
|
324
|
+
'DxbKyxrL',
|
|
325
|
+
'BgLTAxq',
|
|
326
|
+
'ig1LC3nHz2vZkqOk',
|
|
327
|
+
'z2v0tw9UDgG',
|
|
328
|
+
'C2HHmJu2',
|
|
329
|
+
'lcbWCMv2Awv3pq',
|
|
330
|
+
'ywDLBNrjza',
|
|
331
|
+
'zgvSzxrL',
|
|
332
|
+
'ig1LC3nHz2u9',
|
|
333
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
334
|
+
'C2v0',
|
|
335
|
+
'AwrLBxbVDgvUy3LFA2v5',
|
|
336
|
+
'C3vJy2vZCW',
|
|
337
|
+
'D29YA2vYsgfUzg9MzG',
|
|
338
|
+
'ignSywLTzwq',
|
|
339
|
+
'CMvZCg9UC2u',
|
|
340
|
+
'ywDNCMvNyxrLswrZ',
|
|
341
|
+
'ig1ZzZ0',
|
|
342
|
+
'u2LNBMfSihrOyxqGDgHLign1CNjLBNqGD29YA2vYihnLC3nPB24GAxmGzMLUAxnOzwqGyw5KihbYB3zPzguGysbYzxn1BhqGC3vTBwfYEs4',
|
|
343
|
+
'DgfZA0LK',
|
|
344
|
+
'AxnbyNnVBhv0zq',
|
|
345
|
+
'AgvHzgvYCW',
|
|
346
|
+
'AhvTyw5Z',
|
|
347
|
+
'DgHYzwfKu2HVCNrjza',
|
|
348
|
+
'DgHYzwfKswq',
|
|
349
|
+
'C2vUzf9TzxnZywDL',
|
|
350
|
+
'Aw1Hz2uVCg5N',
|
|
351
|
+
'yMXVy2TLza',
|
|
352
|
+
'y29UBMvJDa',
|
|
353
|
+
'DxbSB2fKx2zPBguGzMfPBgvK',
|
|
354
|
+
'ChvZAa',
|
|
355
|
+
'Ahr0CdO',
|
|
356
|
+
'DgL0Bgu',
|
|
357
|
+
'ihrPBwu9',
|
|
358
|
+
'zgf0yq',
|
|
359
|
+
'DhjPBq',
|
|
360
|
+
'l2fWAs9Hz2vUDc1ZzxnZAw9UCY8',
|
|
361
|
+
'B3bLBL9PC3n1zxm',
|
|
362
|
+
'CM9VDe1LC3nHz2vjza',
|
|
363
|
+
'z2v0x3DVCMTLCL9Yzxn1Bhq',
|
|
150
364
|
'Dgv4Da',
|
|
151
365
|
'C2LNBMfS',
|
|
152
|
-
'
|
|
153
|
-
'
|
|
366
|
+
'CgfKu3rHCNq',
|
|
367
|
+
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
368
|
+
'C2vUzgvYvhLWzq',
|
|
369
|
+
'DxbSB2fKrMLSzq',
|
|
370
|
+
'zMLSDgvY',
|
|
371
|
+
'C3rVCe1HAw49Dhj1zsbLEgvJDxrPB25nB2rLpxDVCMTLCG',
|
|
372
|
+
'BMfTzq',
|
|
373
|
+
'BwvTyMvYCW',
|
|
374
|
+
'yMfZzw5HBwu',
|
|
375
|
+
'C3rHCNrZv2L0Aa',
|
|
376
|
+
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
377
|
+
'C2nOzwr1BgvKrM9Y',
|
|
154
378
|
'D3m6',
|
|
155
|
-
'
|
|
156
|
-
'
|
|
157
|
-
'
|
|
158
|
-
'CMvZCg9UC2u',
|
|
159
|
-
'C2vYDMvY',
|
|
160
|
-
'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
|
|
161
|
-
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
162
|
-
'vgfZAZOG',
|
|
163
|
-
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
164
|
-
'CMvZDwX0',
|
|
379
|
+
'zgfLBw9Utg9JywXvCMW',
|
|
380
|
+
'mJiYnduZmtjev0XOu1e',
|
|
381
|
+
'C2vUze1LC3nHz2u',
|
|
165
382
|
'DMLLD19MAwXL',
|
|
166
|
-
'
|
|
167
|
-
'
|
|
168
|
-
'
|
|
169
|
-
'
|
|
170
|
-
'
|
|
171
|
-
'
|
|
172
|
-
'
|
|
173
|
-
'
|
|
174
|
-
'
|
|
175
|
-
'
|
|
176
|
-
'
|
|
177
|
-
'
|
|
178
|
-
'DgHYzwfK',
|
|
179
|
-
'mc4WlJa',
|
|
180
|
-
'BgLTAxq',
|
|
181
|
-
'C2vYDMvYtMfTzq',
|
|
182
|
-
'yxr0ywnOBwvUDenHy2HL',
|
|
183
|
-
'y2HLy2TFBwvZC2fNzxm',
|
|
184
|
-
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
185
|
-
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
186
|
-
'ywrKrxzLBNrmAxn0zw5LCG',
|
|
187
|
-
'zMLSzv9WyxrO',
|
|
188
|
-
'cGOTls0G',
|
|
189
|
-
'rMLSzsb1CgXVywrLzdOG',
|
|
190
|
-
'zw51Bq',
|
|
191
|
-
'zMfPBgvK',
|
|
192
|
-
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
193
|
-
'AxnjBNrLz2vY',
|
|
194
|
-
'zxnJywXHDgvFDg9FBwfPBG',
|
|
195
|
-
'BgLZDf9Zzxj2zxi',
|
|
196
|
-
'C2vUzgvYvhLWzq',
|
|
197
|
-
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
383
|
+
'DxjNzw50',
|
|
384
|
+
'C2vYDMvY',
|
|
385
|
+
'l2LUDgvYBMfSl2fNzw50lW',
|
|
386
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
387
|
+
'y2HLy2TnzxnZywDLCW',
|
|
388
|
+
'zg93BMXVywrbDhrHy2HTzw50',
|
|
389
|
+
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
390
|
+
'uMvHzcb0AhjLywqGAgLZDg9YEsbIzwzVCMuGDgfRAw5NigfJDgLVBI4Grg8GBM90igvJAg8GDgHPCYbTzxnZywDLihrVihrOzsb0AhjLywqU',
|
|
391
|
+
'BwvTyMvY',
|
|
392
|
+
'DgHYzwfKtNvTyMvY',
|
|
393
|
+
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
394
|
+
'l3rHC2TZpW',
|
|
198
395
|
'BwvKAxvT',
|
|
199
|
-
'
|
|
200
|
-
'y2HHDa',
|
|
396
|
+
'y29UDgvUDa',
|
|
201
397
|
'AhvTyw4',
|
|
202
|
-
'
|
|
203
|
-
'
|
|
398
|
+
'Cgf5Bg9HzePZB24',
|
|
399
|
+
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
400
|
+
'AxngAw5PDgu',
|
|
401
|
+
'zMLSzxnFy2HHBMDLza',
|
|
402
|
+
'BgLZDfnLCNzLCG',
|
|
403
|
+
'CMvHzf9OAxn0B3j5',
|
|
404
|
+
'B2jQzwn0',
|
|
204
405
|
'ihr5Cgu9ywDLBNq',
|
|
205
|
-
'
|
|
206
|
-
'
|
|
207
|
-
'
|
|
208
|
-
'
|
|
209
|
-
'
|
|
210
|
-
'
|
|
211
|
-
'
|
|
212
|
-
'
|
|
213
|
-
'
|
|
214
|
-
'DxbSB2fKrMLSzq',
|
|
215
|
-
'kg5VBMuP',
|
|
216
|
-
'igf0DgfJAg1LBNq',
|
|
217
|
-
'DgfZA19Pza',
|
|
218
|
-
'C3rVCe1HAw49Dhj1zsbLEgvJDxrPB25nB2rLpxDVCMTLCG',
|
|
219
|
-
'y2XHAw1uyxnRCW',
|
|
220
|
-
's0iPcKf0DgfJAg1LBNqGsuq6ia',
|
|
221
|
-
'u2vUzcbHig1LC3nHz2uGDg8GysbJAgfUBMvSig9YiernlIbszxvZzsb0AguGzxHHy3qGDgfYz2v0ihn0CMLUzYbMCM9TigLUy29TAw5Nig1LC3nHz2vZoYb0AhjLywqGDgfYz2v0CYb1C2uGDgHLihnHBwuGzMLLBgqU',
|
|
222
|
-
'DgfYz2v0',
|
|
223
|
-
'yxjYyxLcDwzMzxi',
|
|
224
|
-
'CMvZDwX0sNnVBG',
|
|
225
|
-
'AgvHzgvYCW',
|
|
226
|
-
'ywDLBNrjza',
|
|
227
|
-
'y3jLyxrLx3rHC2TZ',
|
|
228
|
-
'CgfYDgLJAxbHBNq',
|
|
229
|
-
'uMvHzcb0AhjLywqGAgLZDg9YEsbIzwzVCMuGDgfRAw5NigfJDgLVBI4Grg8GBM90igvJAg8GDgHPCYbTzxnZywDLihrVihrOzsb0AhjLywqU',
|
|
230
|
-
'DgfZAW',
|
|
231
|
-
'CNvUswq',
|
|
232
|
-
'ihrPBwu9',
|
|
233
|
-
'ls1KywvTB24TyxbPlwTLEq',
|
|
234
|
-
'Dgv4Dc9JC3y',
|
|
406
|
+
'ywDLBNrZ',
|
|
407
|
+
'AxngAwXL',
|
|
408
|
+
'CMvHC29U',
|
|
409
|
+
'l3DVCMTLCNmVD2fPDgLUz19PBNb1Da',
|
|
410
|
+
'zMv0y2HjBxbS',
|
|
411
|
+
'DgfZA051BwjLCG',
|
|
412
|
+
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
413
|
+
'ihn0yxr1CZ0',
|
|
414
|
+
'D29YA2vYsgfUzg9MzJ1MywXZzsbLCNjVCJ0',
|
|
235
415
|
'zMLUza',
|
|
236
|
-
'
|
|
237
|
-
'
|
|
238
|
-
'
|
|
239
|
-
'
|
|
240
|
-
'
|
|
241
|
-
'
|
|
242
|
-
'
|
|
243
|
-
'
|
|
244
|
-
'
|
|
245
|
-
'
|
|
246
|
-
'Aw1Hz2uVC3zNk3HTBa',
|
|
247
|
-
'zxH0BMfTzq',
|
|
416
|
+
'Dg9gAxHLza',
|
|
417
|
+
'lcbJB250zw50lxr5Cgu9',
|
|
418
|
+
'z2v0',
|
|
419
|
+
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
420
|
+
'Axnoyu4',
|
|
421
|
+
'yxr0ywnOBwvUDenHy2HL',
|
|
422
|
+
'zgLZCg9ZAxrPB24',
|
|
423
|
+
'DgHYzwfK',
|
|
424
|
+
'C29YDa',
|
|
425
|
+
'uM9VDcb0yxnRig1LC3nHz2uGAwq6ia',
|
|
248
426
|
'y2XHAw1FDgfZA3mGzMfPBgvK',
|
|
249
|
-
'
|
|
250
|
-
'CgfYDgLJAxbHBNrjza',
|
|
251
|
-
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
252
|
-
'DMLZAwjPBgL0Eq',
|
|
253
|
-
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
254
|
-
'BwvZC2fNzuLK',
|
|
255
|
-
'AwrLBxbVDgvUy3LFA2v5',
|
|
256
|
-
'ue9tva',
|
|
257
|
-
'DxbSB2fKx2zPBgu',
|
|
258
|
-
'zg06',
|
|
259
|
-
'zMLUzenHy2HLzfbHDgG',
|
|
260
|
-
'C2L6zq',
|
|
261
|
-
'C3bSAxq',
|
|
262
|
-
'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
|
|
263
|
-
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
264
|
-
'l2fWAs9Hz2vUDhm/C2vYDMvYswq9',
|
|
265
|
-
'BwfW',
|
|
266
|
-
'y3jLyxrLx3rHC2TZigzHAwXLza',
|
|
267
|
-
'ig1ZzZ0',
|
|
268
|
-
'DgfZA0LK',
|
|
269
|
-
'DgfZA3m',
|
|
270
|
-
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
271
|
-
'ls1Zzxj2zxiTDxjS',
|
|
272
|
-
'z2v0twLUDxrLCW',
|
|
273
|
-
'Dg9ju09tDhjPBMC',
|
|
274
|
-
'z2v0x3DVCMTLCL9Yzxn1Bhq',
|
|
275
|
-
'ChjVDg9JB2W',
|
|
276
|
-
'DxbSB2fKuhjLCgfYzxi',
|
|
277
|
-
'BMfTzq',
|
|
278
|
-
'C2f2zq',
|
|
279
|
-
'C2vYDMvYx21LBwjLCNm',
|
|
280
|
-
't3jPz2LUywWGBwvZC2fNztOG',
|
|
281
|
-
'C2XPy2u',
|
|
282
|
-
'mJjiALLXC00',
|
|
283
|
-
'rMLSzsbUB3qGzM91BMq6ia',
|
|
427
|
+
'l3jLy2vPDMu',
|
|
284
428
|
'C3rHDhvZ',
|
|
285
|
-
'
|
|
286
|
-
'
|
|
287
|
-
'
|
|
288
|
-
'
|
|
289
|
-
'
|
|
290
|
-
'
|
|
291
|
-
'
|
|
429
|
+
'DgfZA19Pza',
|
|
430
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
431
|
+
'C2vUzf9TzxnZywDLigzHAwXLza',
|
|
432
|
+
'C2vZC2LVBKLK',
|
|
433
|
+
'C2vX',
|
|
434
|
+
'z2v0u2vJB25KCW',
|
|
435
|
+
'zxHLy3v0Aw9Utw9Kzt0',
|
|
436
|
+
'vgHYzwfKihrHCMDLDdOG',
|
|
437
|
+
'C2f2zq',
|
|
438
|
+
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
439
|
+
'DgfZA3m',
|
|
440
|
+
'lsba',
|
|
441
|
+
'y2HHBM5LBfrHCMDLDa',
|
|
442
|
+
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
292
443
|
'yxr0ywnOBwvUDeLKCW',
|
|
293
444
|
'y3jLyxrLzef0',
|
|
294
|
-
'
|
|
295
|
-
'C2vUzgvYtMfTzq',
|
|
296
|
-
'Aw1Hz2uVCg5N',
|
|
297
|
-
'ls13B3jRzxiTC2vZC2LVBI1Pza',
|
|
298
|
-
'C29Tzq',
|
|
299
|
-
'BgLZDfrHC2TZ',
|
|
300
|
-
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxm',
|
|
301
|
-
'C3rHCNrLza',
|
|
302
|
-
'DgHYzwfKtNvTyMvY',
|
|
303
|
-
'zgLZCg9ZAxrPB24',
|
|
304
|
-
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
305
|
-
'D29YA2vY',
|
|
306
|
-
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
307
|
-
'tM8GCMvZDwX0ihLLDcbMB3iGD29YA2vYici',
|
|
308
|
-
'AM9PBG',
|
|
309
|
-
'yM9KEvrLEhq',
|
|
310
|
-
'vgHYzwfKihrHCMDLDdOG',
|
|
311
|
-
'zgvZy3jPChrPB24',
|
|
312
|
-
'icHPzdO',
|
|
313
|
-
'D29YA2vYCW',
|
|
314
|
-
'zgf0yq',
|
|
315
|
-
'zg9Uzq',
|
|
316
|
-
'zMLUAxnOx3DVCMTLCG',
|
|
445
|
+
'Dg9VBa',
|
|
317
446
|
'ywz0zxi',
|
|
318
|
-
'
|
|
319
|
-
'
|
|
447
|
+
'rMLSzsb1CgXVywrLzdOG',
|
|
448
|
+
'y3jLyxrLx3rHC2TZigzHAwXLza',
|
|
449
|
+
'l3n0yxj0',
|
|
450
|
+
'Aw1Hz2uVANbLzW',
|
|
451
|
+
'zw50CMLLCW',
|
|
452
|
+
'yxr0ywnOBwvUDf9Pza',
|
|
453
|
+
'BgLZDf9Zzxj2zxi',
|
|
454
|
+
'l2HPC3rVCNK/',
|
|
455
|
+
'D29YA2vYCW',
|
|
456
|
+
'xsba',
|
|
457
|
+
'ls13B3jRzxiTBw9Kzq',
|
|
320
458
|
'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
|
|
321
|
-
'
|
|
459
|
+
'CxvLDwvK',
|
|
460
|
+
'DgfYz2v0zwruyxnR',
|
|
461
|
+
'CgfYDgLJAxbHBNq',
|
|
462
|
+
'DgfZAW',
|
|
463
|
+
'C3bSAxq',
|
|
322
464
|
'CMvZB2X2zvrHCMDLDa',
|
|
323
|
-
'
|
|
324
|
-
'
|
|
325
|
-
'
|
|
326
|
-
'
|
|
327
|
-
'
|
|
328
|
-
'
|
|
329
|
-
'
|
|
330
|
-
'
|
|
331
|
-
'
|
|
332
|
-
'
|
|
333
|
-
'
|
|
334
|
-
'
|
|
335
|
-
'
|
|
336
|
-
'
|
|
337
|
-
'
|
|
338
|
-
'
|
|
339
|
-
'uMv0CMLLDMuGDgHLihjLC3vSDcaOCMvZDw1LihbHy2TLDcKGB2yGysbJB21WBgv0zwqGD29YA2vYlG',
|
|
465
|
+
'Dw5JBgfPBv90yxnR',
|
|
466
|
+
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
467
|
+
'kgXLz2fJEsK',
|
|
468
|
+
'BgvUz3rO',
|
|
469
|
+
'AgfZtw9Yzq',
|
|
470
|
+
'DgfZAY0',
|
|
471
|
+
'cGOTls0G',
|
|
472
|
+
'sfruuca',
|
|
473
|
+
'l3jLC29SDMuTy2HHBM5LBa',
|
|
474
|
+
'zxHLy3v0Aw9Utw9Kzq',
|
|
475
|
+
'mtK5mZeWmLnAEfjjyW',
|
|
476
|
+
'D29YA2vYtw9KzuvUywjSzwq',
|
|
477
|
+
'CMvWBgfJzq',
|
|
478
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
479
|
+
'BNvTyMvY',
|
|
480
|
+
'mZK5otq1n3rcuhHxta',
|
|
340
481
|
'AhjLzG',
|
|
341
|
-
'
|
|
342
|
-
'
|
|
343
|
-
'ig1LC3nHz2vZkqOk',
|
|
344
|
-
'l2LUDgvYBMfSl2fNzw50lW',
|
|
345
|
-
'z2v0u2vJB25KCW',
|
|
346
|
-
'CM9VDe1LC3nHz2vjza',
|
|
347
|
-
'twvZC2fNzsbZzw50ihrVia',
|
|
348
|
-
'ywDNCMvNyxrLswrZ',
|
|
349
|
-
'mty1mZmZrhLTqxfh',
|
|
350
|
-
'Bwf0y2Hoyw1L',
|
|
351
|
-
'Dg9tDhjPBMC',
|
|
352
|
-
'C2vUzf9TzxnZywDLigzHAwXLza',
|
|
353
|
-
'y2HHBM5LBe5HBwu',
|
|
354
|
-
'ig1LC3nHz2vZihnOB3DUlIbvC2uGyMvMB3jLpq',
|
|
355
|
-
'tM8GDgfZA3mGy3jLyxrLzc4',
|
|
356
|
-
'l2fWAs9Hz2vUDc1ZzxnZAw9UCY8',
|
|
357
|
-
'CMvHzf9OAxn0B3j5',
|
|
358
|
-
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
359
|
-
'Aw5FChjVz3jLC3m',
|
|
360
|
-
'zNjVBq',
|
|
361
|
-
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
362
|
-
'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
|
|
363
|
-
'Cgf5Bg9HzePZB24',
|
|
364
|
-
'AxnbCNjHEq',
|
|
365
|
-
'AhvTyw5Z',
|
|
366
|
-
'ihn0yxr1CZ0',
|
|
367
|
-
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWU',
|
|
368
|
-
'Aw5FCMv2Awv3',
|
|
369
|
-
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
370
|
-
'zgfLBw9UqxbPs2v5',
|
|
371
|
-
'z2v0vgLTzq',
|
|
482
|
+
'BgLZDf90yxnRCW',
|
|
483
|
+
'y2XPzw50',
|
|
372
484
|
'l3rHC2TZ',
|
|
373
|
-
'
|
|
374
|
-
'
|
|
375
|
-
'
|
|
376
|
-
'
|
|
377
|
-
'
|
|
378
|
-
'
|
|
379
|
-
'
|
|
380
|
-
'
|
|
381
|
-
'
|
|
382
|
-
'
|
|
383
|
-
'
|
|
384
|
-
'
|
|
385
|
-
'
|
|
386
|
-
'
|
|
387
|
-
'
|
|
388
|
-
'
|
|
389
|
-
'
|
|
390
|
-
'
|
|
391
|
-
'
|
|
392
|
-
'
|
|
393
|
-
'
|
|
394
|
-
'
|
|
395
|
-
'
|
|
396
|
-
'
|
|
397
|
-
'
|
|
398
|
-
'
|
|
399
|
-
'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlG',
|
|
400
|
-
'ywDNCMvNyxrLswq',
|
|
401
|
-
'l2nVBNrLBNq',
|
|
402
|
-
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
403
|
-
'mJaXmtq0ndHAzhzewwS',
|
|
404
|
-
'B3b0Aw9UywW',
|
|
405
|
-
'y29TCgXLDgvK',
|
|
406
|
-
'uM9VDcb0yxnRig1LC3nHz2u6cG',
|
|
407
|
-
'C2vUzf9TzxnZywDL',
|
|
408
|
-
'C2vZC2LVBKLK',
|
|
409
|
-
'C3vJy2vZCW',
|
|
410
|
-
'BgvUz3rO',
|
|
411
|
-
'DxnLCG',
|
|
485
|
+
'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
|
|
486
|
+
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
487
|
+
'Dw5RBM93BG',
|
|
488
|
+
'C2vYDMvYx21LBwjLCNm',
|
|
489
|
+
'DgfYz2v0zwq',
|
|
490
|
+
'l3vWBg9Hza',
|
|
491
|
+
'zMfSC2u',
|
|
492
|
+
'ywDNCMvNyxrLswq',
|
|
493
|
+
'Bwf4',
|
|
494
|
+
'zgvJAxnPB25Z',
|
|
495
|
+
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4',
|
|
496
|
+
'y2HHDa',
|
|
497
|
+
'yMfZzty0',
|
|
498
|
+
'zxHWAxjLC0f0',
|
|
499
|
+
'C2vYDMvYvxjS',
|
|
500
|
+
'iYmJienOyw5UzwXZ',
|
|
501
|
+
'l3DVCMTLCNmVCMvZDwX0p3DVCMTFA2v5pq',
|
|
502
|
+
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
503
|
+
'AxnjBNrLz2vY',
|
|
504
|
+
'D29YA2vYtw9Kzq',
|
|
505
|
+
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
506
|
+
'ls1KywvTB24TyxbPlwTLEq',
|
|
507
|
+
'D29YA2vYu2vZC2LVBKLK',
|
|
508
|
+
'y29UDgvUDfr5Cgu',
|
|
509
|
+
'y2HHBM5LBhm',
|
|
510
|
+
'CgfYDgLJAxbHBNrjza',
|
|
412
511
|
'iokaLca',
|
|
413
|
-
'
|
|
414
|
-
'
|
|
415
|
-
'
|
|
416
|
-
'
|
|
417
|
-
'
|
|
512
|
+
'DxbSB2fKx2zPBgu',
|
|
513
|
+
'CMvXDwvZDfvYBa',
|
|
514
|
+
'y2XHAw1FDgfZA3m',
|
|
515
|
+
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
516
|
+
'z2v0rNvSBfLLyxi',
|
|
517
|
+
'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
|
|
518
|
+
'Aw5FCMv2Awv3',
|
|
519
|
+
'C2XPy2u',
|
|
520
|
+
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
521
|
+
'ls1ZzxnZAw9UlwLK',
|
|
522
|
+
'yxjYyxK',
|
|
523
|
+
'CMvZDwX0sNnVBG',
|
|
418
524
|
'Bg93',
|
|
419
|
-
'
|
|
420
|
-
'
|
|
421
|
-
'
|
|
422
|
-
'
|
|
423
|
-
'
|
|
424
|
-
'
|
|
425
|
-
'
|
|
525
|
+
'sgfUzg9MzIb0BYb3B3jRzxiGzM9YihrHC2SG',
|
|
526
|
+
'CMvZDw1Lx3bHy2TLDa',
|
|
527
|
+
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
528
|
+
'EM9K',
|
|
529
|
+
'ls13B3jRzxiTC2vZC2LVBI1Pza',
|
|
530
|
+
'BwvZC2fNzq',
|
|
531
|
+
'y2XHAw1uyxnRCW',
|
|
532
|
+
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
533
|
+
'Bg9JywXLq29TCgfYzq',
|
|
426
534
|
'C3rVCe1HAw49Dhj1zq',
|
|
427
|
-
'
|
|
428
|
-
'
|
|
429
|
-
'
|
|
430
|
-
'
|
|
431
|
-
'
|
|
432
|
-
'
|
|
535
|
+
'iYmJiefNzw50CW',
|
|
536
|
+
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
537
|
+
'v29YA2vYici',
|
|
538
|
+
'iIbMAw5PC2HLzcb3AxrOihjLC3vSDdOG',
|
|
539
|
+
'l3nLCNzLCG',
|
|
540
|
+
'y3jLyxrLx3rHC2TZ',
|
|
541
|
+
'w3rHCMDLDd0',
|
|
542
|
+
'mc4WlJa',
|
|
543
|
+
'AM9PBG',
|
|
544
|
+
'DMfSDwvZ',
|
|
545
|
+
'DgfYz2v0',
|
|
433
546
|
'ls1Hz2vUDc1Pza',
|
|
434
|
-
'
|
|
435
|
-
'
|
|
436
|
-
'
|
|
437
|
-
'
|
|
438
|
-
'
|
|
439
|
-
'
|
|
547
|
+
'zg0T',
|
|
548
|
+
'BgLZDf90yxnRCYbMywLSzwq',
|
|
549
|
+
'BMv4Den1CNnVCG',
|
|
550
|
+
'y2HHBM5LBa',
|
|
551
|
+
'D29YA2vY',
|
|
552
|
+
'zgvZDhjVEwvK',
|
|
553
|
+
'yxr0ywnOBwvUDhm',
|
|
554
|
+
'DgHYzwfKvgfYz2v0',
|
|
555
|
+
'z2v0x3DVCMTLCL9Yzxn1BhqGzMfPBgvK',
|
|
556
|
+
'igzHAwXLzdOG',
|
|
557
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmVy2XHAw0',
|
|
558
|
+
'D29YA19RzxK',
|
|
559
|
+
't3jPz2LUywWGBwvZC2fNztOG',
|
|
560
|
+
'y2HHBM5LBe5HBwu',
|
|
561
|
+
'ywXS',
|
|
562
|
+
'CMvHzeHPC3rVCNK',
|
|
563
|
+
'DgHYzwfKvgfYz2v0pq',
|
|
564
|
+
'B3b0Aw9UywW',
|
|
565
|
+
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
|
|
566
|
+
'CNvUswq',
|
|
567
|
+
'CgfYDgLJAxbHBNrZ',
|
|
568
|
+
'zMLUzenHy2HLzfbHDgG',
|
|
569
|
+
'z2v0sg91CNm',
|
|
570
|
+
'y2XHAw0GzMfPBgvK',
|
|
571
|
+
'w3nLCt0',
|
|
572
|
+
'Dg9ju09tDhjPBMC',
|
|
573
|
+
'Aw5KzxHpzG',
|
|
574
|
+
'BwvZC2fNzxm',
|
|
575
|
+
'ls1PBML0AwfSlwXHC3qTC2vLBI1Zzxe',
|
|
576
|
+
'y3vYC29Y',
|
|
440
577
|
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
441
|
-
'
|
|
442
|
-
'
|
|
443
|
-
'
|
|
444
|
-
'lcbJB250zw50lxr5Cgu9',
|
|
445
|
-
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
446
|
-
'xsba',
|
|
447
|
-
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4',
|
|
578
|
+
'y2HLy2TFBwvZC2fNzxm',
|
|
579
|
+
'u2vUzcbHig1LC3nHz2uGDg8GysbJAgfUBMvSig9YiernlIbszxvZzsb0AguGzxHHy3qGDgfYz2v0ihn0CMLUzYbMCM9TigLUy29TAw5Nig1LC3nHz2vZoYb0AhjLywqGDgfYz2v0CYb1C2uGDgHLihnHBwuGzMLLBgqU',
|
|
580
|
+
'Aw1Hz2uVz2LM',
|
|
448
581
|
'CMvZDwX0CW',
|
|
449
|
-
'
|
|
450
|
-
'
|
|
451
|
-
'
|
|
452
|
-
'
|
|
453
|
-
'
|
|
582
|
+
'zMLUAxnOx3DVCMTLCG',
|
|
583
|
+
'twfYAYb0AguGy3vYCMvUDcb3B3jRzxiGyxmGD2fPDgLUzYbMB3iGAhvTyw4GAw5WDxqUifbHDxnLCYb0AguGAwrSzsbuveWGDgLTzxiGDw50AwWGysbUzxCGBwvZC2fNzsbHCNjPDMvZlG',
|
|
584
|
+
'ywrKrxzLBNrmAxn0zw5LCG',
|
|
585
|
+
'yxjYyxLcDwzMzxi',
|
|
586
|
+
'z2v0vgLTzq',
|
|
587
|
+
'yxr0ywnOBwvUDeLK',
|
|
588
|
+
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
589
|
+
'C2L6zuj5DgvZ',
|
|
590
|
+
'y29UDgvUDejHC2u2na',
|
|
591
|
+
'Dgv4Dc9TyxjRzg93BG',
|
|
592
|
+
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
593
|
+
'zw51Bq',
|
|
594
|
+
'C2vUzgvYtMfTzq',
|
|
595
|
+
'ywjVCNq',
|
|
596
|
+
'ywz0zxjtzxe',
|
|
597
|
+
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
598
|
+
'yxr0ywnOBwvUDf9Pzhm',
|
|
599
|
+
'mtmZmJa5mMLSBfD6uG',
|
|
600
|
+
'zMLUAxnOx3DVCMTLCIbMywLSzwq',
|
|
601
|
+
'kg5VBMuP',
|
|
454
602
|
'y2fJAgveAxi',
|
|
455
|
-
'
|
|
603
|
+
'zw50zxiTAgfUzg9MzIbMywLSzwq',
|
|
604
|
+
'y2f0y2G',
|
|
605
|
+
'yMvMB3jL',
|
|
606
|
+
'zgfLBw9UqxbPs2v5',
|
|
607
|
+
'tM8GDgfZA3mGy2XHAw1Lzc4',
|
|
608
|
+
'DMLZAwjPBgL0Eq',
|
|
609
|
+
'ls1Zzxj2zxiTDxjS',
|
|
610
|
+
'z2v0x3DVCMTLCL9ZDgf0DxmGzMfPBgvK',
|
|
611
|
+
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
612
|
+
'Dgv4Dc9WBgfPBG',
|
|
613
|
+
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
614
|
+
'C3rYAw5NAwz5',
|
|
615
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
|
|
456
616
|
'yxbWBgLJyxrPB24VANnVBG',
|
|
457
|
-
'
|
|
458
|
-
'DgHYzwfKu2HVCNrjza',
|
|
459
|
-
'DgHYzwfKvgfYz2v0',
|
|
460
|
-
'Ahr0CdOVl2XVy2fSAg9ZDdO4mtiX',
|
|
461
|
-
'Agv4',
|
|
462
|
-
'DxbKyxrLvgfZA1n0yxr1CW',
|
|
463
|
-
'l2HPC3rVCNK/',
|
|
464
|
-
'y29UDgvUDfr5Cgu',
|
|
465
|
-
'l3DVCMTLCNmVD2fPDgLUz19PBNb1Da',
|
|
466
|
-
'ignSywLTzwq',
|
|
617
|
+
'AgfZ',
|
|
467
618
|
'zMLSzw5HBwu',
|
|
468
|
-
'
|
|
469
|
-
'
|
|
470
|
-
'
|
|
471
|
-
'
|
|
472
|
-
'
|
|
473
|
-
'
|
|
619
|
+
'ywDNCMvNyxrLvhLWzq',
|
|
620
|
+
'yxbWBgLJyxrPB24VEMLW',
|
|
621
|
+
'DxrMoa',
|
|
622
|
+
'ANnVBG',
|
|
623
|
+
'tM8GCMvZDwX0ihLLDcbMB3iGD29YA2vYici',
|
|
624
|
+
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
625
|
+
'yxbWBgLJyxrPB24VEg1S',
|
|
626
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxm',
|
|
627
|
+
'mZeXodu1ng11wKDLAa',
|
|
628
|
+
'ls13B3jRzxiTDgHYzwfKlxrHCMDLDa',
|
|
629
|
+
'icHPzdO',
|
|
630
|
+
'ywDLBNq',
|
|
631
|
+
'Dg9KBW',
|
|
632
|
+
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
633
|
+
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
634
|
+
'ChjVDg9JB2W',
|
|
635
|
+
'zMfPBgvK',
|
|
474
636
|
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
475
|
-
'
|
|
476
|
-
'
|
|
477
|
-
'BNvTyMvY',
|
|
478
|
-
'DgHYzwfKx3rHCMDLDa',
|
|
479
|
-
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
480
|
-
'BwLU',
|
|
481
|
-
'BgLZDfnLCNzLCG',
|
|
482
|
-
'EM9K',
|
|
483
|
-
'D29YA2vYrgLZCg9ZAxrPB249',
|
|
484
|
-
'w3nLCt0',
|
|
485
|
-
'DgHYzwfKswq',
|
|
486
|
-
'CNvUBMLUzW',
|
|
487
|
-
'CMvXDwvZDfvYBa',
|
|
488
|
-
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
489
|
-
'y2f0y2G',
|
|
490
|
-
'Dgv4Dc9WBgfPBG',
|
|
491
|
-
'mty4nffQB0v5tW',
|
|
492
|
-
'BwvTyMvY',
|
|
493
|
-
'C3rHCNrZv2L0Aa',
|
|
494
|
-
'yxr0ywnOBwvUDf9Pza',
|
|
495
|
-
'C2vX',
|
|
496
|
-
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
497
|
-
'D29YA19RzxK',
|
|
498
|
-
'BM93',
|
|
499
|
-
'6k+35Rgcia',
|
|
500
|
-
'yxjYyxK',
|
|
501
|
-
'y2XHAw1FDgfZA3m',
|
|
637
|
+
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
638
|
+
'CMvZDwX0',
|
|
502
639
|
'yM9KEu1HCMTKB3DU',
|
|
503
|
-
'
|
|
504
|
-
'
|
|
505
|
-
'
|
|
506
|
-
'
|
|
507
|
-
'
|
|
640
|
+
'uM9VDcb0yxnRig1LC3nHz2u6cG',
|
|
641
|
+
'B3jPz2LUywXgAwXLBMfTzq',
|
|
642
|
+
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
643
|
+
'Bwf0y2Hoyw1L',
|
|
644
|
+
'C3rVCe1HAw4',
|
|
645
|
+
'Ahr0Chm6',
|
|
646
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
647
|
+
'uefuq0G',
|
|
648
|
+
'A2LUza',
|
|
649
|
+
'D29YA2vYsgfUzg9MzKvYCM9Y',
|
|
650
|
+
'l3rHC2TZl3vUy2XHAw0',
|
|
651
|
+
'Aw5JBhvKzxm',
|
|
652
|
+
'zgLNzxn0',
|
|
653
|
+
'DxbKyxrLvgfZA1n0yxr1CW',
|
|
654
|
+
'rMLSzsbZAxPLigv4y2vLzhmGBgLTAxq6ia',
|
|
655
|
+
'yxjNDG',
|
|
656
|
+
'y2HHBM5LBeLK',
|
|
657
|
+
'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlG',
|
|
658
|
+
'BwfW',
|
|
659
|
+
'CgfYC2vjBNq'
|
|
508
660
|
];
|
|
509
|
-
|
|
510
|
-
return
|
|
511
|
-
};
|
|
512
|
-
return _0x5706();
|
|
513
|
-
}
|
|
514
|
-
var UNSUPPORTED_TARGET_MESSAGE = _0x50158a(0x18a);
|
|
515
|
-
function ensureSegment(_0x2879a9) {
|
|
516
|
-
const _0x117e8f = { _0x3b2ea8: 0x152 }, _0x54e7de = _0x50158a, _0x35b402 = _0x2879a9[_0x54e7de(0x163)]();
|
|
517
|
-
if (!_0x35b402 || _0x35b402[_0x54e7de(_0x117e8f._0x3b2ea8)](':'))
|
|
518
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
519
|
-
return _0x35b402;
|
|
520
|
-
}
|
|
521
|
-
function parseThreadParts(_0xedbc59) {
|
|
522
|
-
const _0x2d1a7c = { _0x312cbe: 0x1e3 }, _0x1314f6 = _0x50158a, _0x116b75 = _0xedbc59[_0x1314f6(_0x2d1a7c._0x312cbe)](':');
|
|
523
|
-
if (_0x116b75[_0x1314f6(0x278)] < 0x1 || _0x116b75['length'] > 0x2)
|
|
524
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
525
|
-
return {
|
|
526
|
-
'channelName': ensureSegment(_0x116b75[0x0] ?? ''),
|
|
527
|
-
'threadShortId': _0x116b75[0x1] ? ensureSegment(_0x116b75[0x1]) : null
|
|
528
|
-
};
|
|
529
|
-
}
|
|
530
|
-
function parseTarget(_0x37c0de) {
|
|
531
|
-
const _0x428299 = {
|
|
532
|
-
_0x2e39c9: 0x143,
|
|
533
|
-
_0xcc550a: 0x1f7,
|
|
534
|
-
_0x4d7d3f: 0x23f,
|
|
535
|
-
_0x497630: 0x1e0,
|
|
536
|
-
_0x30ec5d: 0x190,
|
|
537
|
-
_0x4b0a3d: 0x2a8
|
|
538
|
-
}, _0x2729f = _0x50158a, _0x3a5684 = _0x37c0de['trim']();
|
|
539
|
-
if (!_0x3a5684)
|
|
540
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
541
|
-
if (_0x3a5684[_0x2729f(0x143)]('#')) {
|
|
542
|
-
const _0x521580 = parseThreadParts(_0x3a5684[_0x2729f(0x1f7)](0x1)), _0x21e4d7 = '#' + _0x521580[_0x2729f(0x23f)];
|
|
543
|
-
if (!_0x521580[_0x2729f(0x2a8)])
|
|
544
|
-
return {
|
|
545
|
-
'channelName': _0x521580[_0x2729f(0x23f)],
|
|
546
|
-
'channelTarget': _0x21e4d7,
|
|
547
|
-
'kind': _0x2729f(0x162),
|
|
548
|
-
'target': _0x21e4d7
|
|
549
|
-
};
|
|
550
|
-
return {
|
|
551
|
-
'channelName': _0x521580['channelName'],
|
|
552
|
-
'channelTarget': _0x21e4d7,
|
|
553
|
-
'kind': 'thread',
|
|
554
|
-
'target': _0x21e4d7 + ':' + _0x521580[_0x2729f(0x2a8)],
|
|
555
|
-
'threadShortId': _0x521580[_0x2729f(0x2a8)]
|
|
556
|
-
};
|
|
557
|
-
}
|
|
558
|
-
if (_0x3a5684[_0x2729f(_0x428299._0x2e39c9)]('dm:')) {
|
|
559
|
-
const _0xdfa4c3 = parseThreadParts(_0x3a5684[_0x2729f(_0x428299._0xcc550a)](0x3));
|
|
560
|
-
if (!_0xdfa4c3[_0x2729f(_0x428299._0x4d7d3f)]['startsWith']('dm-'))
|
|
561
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
562
|
-
const _0x25c68f = _0x2729f(_0x428299._0x497630) + _0xdfa4c3['channelName'];
|
|
563
|
-
if (!_0xdfa4c3[_0x2729f(0x2a8)])
|
|
564
|
-
return {
|
|
565
|
-
'channelName': _0xdfa4c3[_0x2729f(0x23f)],
|
|
566
|
-
'channelTarget': _0x25c68f,
|
|
567
|
-
'kind': _0x2729f(0x162),
|
|
568
|
-
'target': _0x25c68f
|
|
569
|
-
};
|
|
570
|
-
return {
|
|
571
|
-
'channelName': _0xdfa4c3[_0x2729f(_0x428299._0x4d7d3f)],
|
|
572
|
-
'channelTarget': _0x25c68f,
|
|
573
|
-
'kind': _0x2729f(_0x428299._0x30ec5d),
|
|
574
|
-
'target': _0x25c68f + ':' + _0xdfa4c3[_0x2729f(_0x428299._0x4b0a3d)],
|
|
575
|
-
'threadShortId': _0xdfa4c3[_0x2729f(_0x428299._0x4b0a3d)]
|
|
576
|
-
};
|
|
577
|
-
}
|
|
578
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
579
|
-
}
|
|
580
|
-
function asErrorMessage(_0xbae56f, _0x21792d) {
|
|
581
|
-
const _0x19174e = _0x50158a;
|
|
582
|
-
if (typeof _0xbae56f === _0x19174e(0x1b0) && _0xbae56f['trim']())
|
|
583
|
-
return _0xbae56f;
|
|
584
|
-
return _0x21792d;
|
|
585
|
-
}
|
|
586
|
-
function asRecord(_0x5a6947) {
|
|
587
|
-
return typeof _0x5a6947 === 'object' && _0x5a6947 !== null ? _0x5a6947 : {};
|
|
588
|
-
}
|
|
589
|
-
function stableStringify(_0x2a7d0f) {
|
|
590
|
-
const _0x6c03c9 = {
|
|
591
|
-
_0x4aa1de: 0x1b2,
|
|
592
|
-
_0x402883: 0x212
|
|
593
|
-
}, _0xd8609c = _0x50158a;
|
|
594
|
-
if (_0x2a7d0f === null || typeof _0x2a7d0f !== 'object')
|
|
595
|
-
return JSON[_0xd8609c(_0x6c03c9._0x4aa1de)](_0x2a7d0f);
|
|
596
|
-
if (Array[_0xd8609c(0x24a)](_0x2a7d0f))
|
|
597
|
-
return '[' + _0x2a7d0f[_0xd8609c(0x1e7)](_0x40c0a8 => stableStringify(_0x40c0a8))[_0xd8609c(_0x6c03c9._0x402883)](',') + ']';
|
|
598
|
-
const _0x18cae8 = Object['entries'](_0x2a7d0f)[_0xd8609c(0x159)](([, _0xa81396]) => _0xa81396 !== void 0x0)[_0xd8609c(0x283)](([_0x1e1996], [_0x5194a6]) => _0x1e1996[_0xd8609c(0x1cf)](_0x5194a6))[_0xd8609c(0x1e7)](([_0x35a5c2, _0x164c9c]) => JSON[_0xd8609c(0x1b2)](_0x35a5c2) + ':' + stableStringify(_0x164c9c));
|
|
599
|
-
return '{' + _0x18cae8[_0xd8609c(_0x6c03c9._0x402883)](',') + '}';
|
|
600
|
-
}
|
|
601
|
-
function createHeaders(_0x27eae) {
|
|
602
|
-
const _0x3cee3e = _0x50158a;
|
|
603
|
-
return {
|
|
604
|
-
'Content-Type': _0x3cee3e(0x2a6),
|
|
605
|
-
'x-daemon-api-key': _0x27eae
|
|
661
|
+
_0x28eb = function () {
|
|
662
|
+
return _0x2326b8;
|
|
606
663
|
};
|
|
607
|
-
|
|
608
|
-
function toHttpBaseUrl(_0xf84b43) {
|
|
609
|
-
const _0x502bea = {
|
|
610
|
-
_0x4b78d2: 0x178,
|
|
611
|
-
_0x4edfd9: 0x23d,
|
|
612
|
-
_0x1d06cc: 0x15a
|
|
613
|
-
}, _0x28459d = _0x50158a, _0x3615e4 = new URL(_0xf84b43);
|
|
614
|
-
if (_0x3615e4[_0x28459d(0x1f1)] === _0x28459d(_0x502bea._0x4b78d2))
|
|
615
|
-
_0x3615e4['protocol'] = 'http:';
|
|
616
|
-
else
|
|
617
|
-
_0x3615e4['protocol'] === _0x28459d(0x2b5) && (_0x3615e4[_0x28459d(0x1f1)] = 'https:');
|
|
618
|
-
return _0x3615e4[_0x28459d(_0x502bea._0x4edfd9)]()[_0x28459d(_0x502bea._0x1d06cc)](/\/$/, '');
|
|
619
|
-
}
|
|
620
|
-
function isMentionBoundary(_0x465e2b) {
|
|
621
|
-
const _0x27ce43 = _0x50158a;
|
|
622
|
-
return !_0x465e2b || /\s|[([{'",。!?、:;]/[_0x27ce43(0x222)](_0x465e2b);
|
|
623
|
-
}
|
|
624
|
-
function isMentionTerminal(_0x5dde8d) {
|
|
625
|
-
const _0x45a833 = _0x50158a;
|
|
626
|
-
return !_0x5dde8d || /\s|[)\]}'",。!?、:;,.!?]/[_0x45a833(0x222)](_0x5dde8d);
|
|
627
|
-
}
|
|
628
|
-
function buildMatchableEntries(_0x263f4e) {
|
|
629
|
-
const _0xf8f7ab = {
|
|
630
|
-
_0x4d2b85: 0x254,
|
|
631
|
-
_0xe4a724: 0x1f3,
|
|
632
|
-
_0xad834c: 0x196
|
|
633
|
-
}, _0x57e523 = _0x50158a, _0xd4576e = [];
|
|
634
|
-
for (const _0x33efc2 of [
|
|
635
|
-
..._0x263f4e[_0x57e523(0x225)],
|
|
636
|
-
..._0x263f4e[_0x57e523(0x24b)]
|
|
637
|
-
]) {
|
|
638
|
-
_0xd4576e[_0x57e523(_0xf8f7ab._0x4d2b85)]({
|
|
639
|
-
'matchName': _0x33efc2[_0x57e523(_0xf8f7ab._0xe4a724)],
|
|
640
|
-
'matchNameLower': _0x33efc2[_0x57e523(0x1f3)]['toLocaleLowerCase'](),
|
|
641
|
-
'participantId': _0x33efc2['id']
|
|
642
|
-
}), _0x33efc2['id'] !== _0x33efc2['name'] && _0xd4576e[_0x57e523(0x254)]({
|
|
643
|
-
'matchName': _0x33efc2['id'],
|
|
644
|
-
'matchNameLower': _0x33efc2['id'][_0x57e523(_0xf8f7ab._0xad834c)](),
|
|
645
|
-
'participantId': _0x33efc2['id']
|
|
646
|
-
});
|
|
647
|
-
}
|
|
648
|
-
return _0xd4576e;
|
|
649
|
-
}
|
|
650
|
-
function extractMentionedParticipantIds(_0x58faa6, _0x3d253a) {
|
|
651
|
-
const _0x4be6b4 = {
|
|
652
|
-
_0x3b08f0: 0x278,
|
|
653
|
-
_0x3415e1: 0x23c
|
|
654
|
-
}, _0x179c76 = { _0x2d1ec8: 0x2b9 }, _0x4478f6 = _0x50158a, _0x5d67d1 = buildMatchableEntries(_0x3d253a)['sort']((_0x582426, _0x3dafb4) => _0x3dafb4['matchName'][_0x4478f6(0x278)] - _0x582426[_0x4478f6(0x23c)]['length']), _0x10e1c2 = [], _0x1eccec = new Set();
|
|
655
|
-
for (let _0x22d8a8 = 0x0; _0x22d8a8 < _0x58faa6[_0x4478f6(_0x4be6b4._0x3b08f0)]; _0x22d8a8 += 0x1) {
|
|
656
|
-
if (_0x58faa6[_0x22d8a8] !== '@' || !isMentionBoundary(_0x58faa6[_0x22d8a8 - 0x1]))
|
|
657
|
-
continue;
|
|
658
|
-
const _0x11c664 = _0x58faa6[_0x4478f6(0x1f7)](_0x22d8a8 + 0x1), _0x27d6ff = _0x11c664[_0x4478f6(0x196)](), _0x2e24ea = _0x5d67d1['find'](_0x285e62 => {
|
|
659
|
-
const _0x4f345c = _0x4478f6;
|
|
660
|
-
if (!_0x27d6ff[_0x4f345c(0x143)](_0x285e62[_0x4f345c(_0x179c76._0x2d1ec8)]))
|
|
661
|
-
return ![];
|
|
662
|
-
return isMentionTerminal(_0x11c664[_0x285e62['matchName']['length']]);
|
|
663
|
-
});
|
|
664
|
-
if (!_0x2e24ea || _0x1eccec['has'](_0x2e24ea['participantId']))
|
|
665
|
-
continue;
|
|
666
|
-
_0x1eccec[_0x4478f6(0x292)](_0x2e24ea['participantId']), _0x10e1c2[_0x4478f6(0x254)](_0x2e24ea['participantId']), _0x22d8a8 += _0x2e24ea[_0x4478f6(_0x4be6b4._0x3415e1)]['length'];
|
|
667
|
-
}
|
|
668
|
-
return _0x10e1c2;
|
|
664
|
+
return _0x28eb();
|
|
669
665
|
}
|
|
670
666
|
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
671
|
-
function anySignal(...
|
|
672
|
-
const
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
667
|
+
function anySignal(..._0x264bfb) {
|
|
668
|
+
const _0x3c2306 = {
|
|
669
|
+
_0x11798b: 0x1f3,
|
|
670
|
+
_0x1baa6d: 0x255,
|
|
671
|
+
_0x494f93: 0x182,
|
|
672
|
+
_0x547677: 0x18d,
|
|
673
|
+
_0x457382: 0x22a
|
|
674
|
+
}, _0xf665c6 = _0x48b8fe, _0x463b74 = new AbortController();
|
|
675
|
+
for (const _0x2887b8 of _0x264bfb) {
|
|
676
|
+
if (_0x2887b8[_0xf665c6(_0x3c2306._0x11798b)])
|
|
677
|
+
return _0x463b74[_0xf665c6(0x18d)](_0x2887b8[_0xf665c6(_0x3c2306._0x1baa6d)]), _0x463b74['signal'];
|
|
678
|
+
_0x2887b8[_0xf665c6(_0x3c2306._0x494f93)](_0xf665c6(_0x3c2306._0x547677), () => _0x463b74[_0xf665c6(0x18d)](_0x2887b8[_0xf665c6(0x255)]), {
|
|
677
679
|
'once': !![],
|
|
678
|
-
'signal':
|
|
680
|
+
'signal': _0x463b74['signal']
|
|
679
681
|
});
|
|
680
682
|
}
|
|
681
|
-
return
|
|
683
|
+
return _0x463b74[_0xf665c6(_0x3c2306._0x457382)];
|
|
682
684
|
}
|
|
683
|
-
function createInternalAgentClient(
|
|
684
|
-
const
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
},
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
},
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
},
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
},
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
},
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
_0x201fa0: 0x28d,
|
|
839
|
-
_0x2fa814: 0x149,
|
|
840
|
-
_0x36e5ef: 0x13d,
|
|
841
|
-
_0x41b4f5: 0x210,
|
|
842
|
-
_0x40afc8: 0x17c,
|
|
843
|
-
_0x13c3a4: 0x29a
|
|
844
|
-
}, _0x3edc93 = _0x50158a, _0x285e84 = _0x5f29f1[_0x3edc93(0x269)] ?? fetch, _0x35b9cb = _0x5f29f1[_0x3edc93(_0x1b850a._0x236736)] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x14966b = typeof _0x5f29f1[_0x3edc93(_0x1b850a._0x35a6ef)] === 'number' && _0x5f29f1[_0x3edc93(_0x1b850a._0x4ca737)] > 0x0 ? _0x5f29f1[_0x3edc93(_0x1b850a._0x35a6ef)] : 0x0, _0xcff380 = _0x5f29f1[_0x3edc93(0x2b7)]?.[_0x3edc93(0x163)]() || void 0x0, _0x243fb8 = _0x5f29f1[_0x3edc93(0x276)]?.[_0x3edc93(_0x1b850a._0x196783)]() || void 0x0, _0x50810b = _0x5f29f1[_0x3edc93(_0x1b850a._0x5409f9)] === !![], _0x52259d = _0x5f29f1['workerSessionId']?.['trim']() || void 0x0, _0x1a19f0 = _0x5f29f1[_0x3edc93(0x1a3)]?.[_0x3edc93(_0x1b850a._0x52be9a)]() || void 0x0, _0x104b6d = createHeaders(_0x5f29f1[_0x3edc93(_0x1b850a._0x15e998)]), _0x2155b5 = toHttpBaseUrl(_0x5f29f1['serverUrl']);
|
|
845
|
-
let _0x10a135 = null;
|
|
846
|
-
const _0x117a72 = new Map();
|
|
847
|
-
let _0x187a84 = _0x14966b, _0x45d1ca = _0x14966b;
|
|
848
|
-
function _0x1c7067(_0x1ea06d) {
|
|
849
|
-
const _0x56acdf = _0x3edc93, _0x277191 = _0x1ea06d[_0x56acdf(_0x56d5f4._0xcfd89a)]['headers'][_0x56acdf(_0x56d5f4._0x4b7fda)](_0x56acdf(_0x56d5f4._0x1ccfed)) ?? _0x56acdf(_0x56d5f4._0x57075c), _0x1ce48f = _0x1ea06d[_0x56acdf(0x213)][_0x56acdf(_0x56d5f4._0x4df94d)]()[_0x56acdf(_0x56d5f4._0x1338cb)](/\s+/g, '\x20')['slice'](0x0, 0x78) || _0x56acdf(_0x56d5f4._0x201fa0);
|
|
850
|
-
return _0x56acdf(_0x56d5f4._0x2fa814) + _0x1ea06d[_0x56acdf(_0x56d5f4._0x36e5ef)] + _0x56acdf(_0x56d5f4._0x41b4f5) + _0x1ea06d[_0x56acdf(_0x56d5f4._0x40afc8)]['status'] + _0x56acdf(_0x56d5f4._0x13c3a4) + _0x277191 + _0x56acdf(0x27e) + _0x1ce48f + ')。这通常表示\x20serverUrl\x20指向了\x20web\x20站点,或代理没有把\x20daemon/internal\x20API\x20转发到后端。';
|
|
685
|
+
function createInternalAgentClient(_0x28783b) {
|
|
686
|
+
const _0x12caa7 = {
|
|
687
|
+
_0x1ccd07: 0x257,
|
|
688
|
+
_0x24cbfa: 0x17b,
|
|
689
|
+
_0x3ed818: 0x26d,
|
|
690
|
+
_0x3f860a: 0x224,
|
|
691
|
+
_0x5719b0: 0x198
|
|
692
|
+
}, _0x552eda = {
|
|
693
|
+
_0x3b2559: 0x18e,
|
|
694
|
+
_0x1c1044: 0x1f6,
|
|
695
|
+
_0x2e69e9: 0x23e,
|
|
696
|
+
_0x57816e: 0x207,
|
|
697
|
+
_0x27178e: 0x268,
|
|
698
|
+
_0x13d4fa: 0x2aa,
|
|
699
|
+
_0x14b44e: 0x291,
|
|
700
|
+
_0x1a4450: 0x26e,
|
|
701
|
+
_0x40c4f9: 0x2ba,
|
|
702
|
+
_0x5e5c1a: 0x22f,
|
|
703
|
+
_0x412af8: 0x1ca,
|
|
704
|
+
_0x4d574b: 0x1e8,
|
|
705
|
+
_0x4104b0: 0x227,
|
|
706
|
+
_0x5954bc: 0x25f,
|
|
707
|
+
_0x1726df: 0x227,
|
|
708
|
+
_0x70efff: 0x21f,
|
|
709
|
+
_0x6e4407: 0x20b,
|
|
710
|
+
_0x21cc9c: 0x24b,
|
|
711
|
+
_0x2d8e34: 0x15a,
|
|
712
|
+
_0x5da919: 0x231,
|
|
713
|
+
_0x1fcebd: 0x1f5,
|
|
714
|
+
_0xa696c3: 0x291,
|
|
715
|
+
_0x186dc5: 0x178,
|
|
716
|
+
_0x36c6eb: 0x1cc,
|
|
717
|
+
_0xcf205b: 0x21f,
|
|
718
|
+
_0x3f4dca: 0x18c,
|
|
719
|
+
_0x5de9e9: 0x1e8,
|
|
720
|
+
_0x2a73ae: 0x1f8,
|
|
721
|
+
_0x37bb7c: 0x176
|
|
722
|
+
}, _0x275802 = {
|
|
723
|
+
_0x29cf0a: 0x160,
|
|
724
|
+
_0x230426: 0x27b,
|
|
725
|
+
_0x3d51d2: 0x197,
|
|
726
|
+
_0x4484e7: 0x15b,
|
|
727
|
+
_0x5b6123: 0x219
|
|
728
|
+
}, _0x1edf3b = {
|
|
729
|
+
_0x56d11a: 0x259,
|
|
730
|
+
_0x5e1e95: 0x1e1,
|
|
731
|
+
_0x21e541: 0x22a,
|
|
732
|
+
_0x405b44: 0x223,
|
|
733
|
+
_0x304c65: 0x216,
|
|
734
|
+
_0x284473: 0x25f,
|
|
735
|
+
_0xf1061e: 0x1bb
|
|
736
|
+
}, _0x104a73 = {
|
|
737
|
+
_0x5f45b9: 0x160,
|
|
738
|
+
_0x4972a6: 0x23e,
|
|
739
|
+
_0xd1bce7: 0x1a0,
|
|
740
|
+
_0x307ff4: 0x188,
|
|
741
|
+
_0xf430c7: 0x1dd,
|
|
742
|
+
_0x3077ef: 0x223,
|
|
743
|
+
_0x5f44de: 0x1bb
|
|
744
|
+
}, _0x1bd31d = {
|
|
745
|
+
_0x3a831f: 0x23e,
|
|
746
|
+
_0x136197: 0x1a0,
|
|
747
|
+
_0x3751d7: 0x1dd
|
|
748
|
+
}, _0x458155 = {
|
|
749
|
+
_0x36f9ac: 0x23e,
|
|
750
|
+
_0x1d2217: 0x1a0
|
|
751
|
+
}, _0x4e2f1b = {
|
|
752
|
+
_0x449265: 0x23e,
|
|
753
|
+
_0x459125: 0x2bf
|
|
754
|
+
}, _0x4a18e8 = {
|
|
755
|
+
_0x3b18b6: 0x2a1,
|
|
756
|
+
_0x194dfe: 0x1a0,
|
|
757
|
+
_0x126a51: 0x1dd
|
|
758
|
+
}, _0x7e191a = {
|
|
759
|
+
_0xb54454: 0x20b,
|
|
760
|
+
_0x1d4542: 0x160,
|
|
761
|
+
_0x5d0a55: 0x269,
|
|
762
|
+
_0x2bee4a: 0x23e,
|
|
763
|
+
_0x3c73f2: 0x247
|
|
764
|
+
}, _0x2d3c9e = {
|
|
765
|
+
_0x1a5f92: 0x20a,
|
|
766
|
+
_0x413773: 0x1d0,
|
|
767
|
+
_0x2490d6: 0x1dd,
|
|
768
|
+
_0xdf0719: 0x269
|
|
769
|
+
}, _0x518c36 = {
|
|
770
|
+
_0x13a8b6: 0x20a,
|
|
771
|
+
_0x1e4843: 0x170
|
|
772
|
+
}, _0xaa3f9a = {
|
|
773
|
+
_0x4a7296: 0x1dd,
|
|
774
|
+
_0x2adb78: 0x223
|
|
775
|
+
}, _0x3147d1 = {
|
|
776
|
+
_0x3434ee: 0x1ac,
|
|
777
|
+
_0x6adbed: 0x223
|
|
778
|
+
}, _0x30a462 = {
|
|
779
|
+
_0xe54448: 0x1c5,
|
|
780
|
+
_0x9a9fcf: 0x23e,
|
|
781
|
+
_0x4472a4: 0x1e0,
|
|
782
|
+
_0x1dac6e: 0x278,
|
|
783
|
+
_0x1531e3: 0x1ca,
|
|
784
|
+
_0x3a29df: 0x19a,
|
|
785
|
+
_0x2086e8: 0x1dd
|
|
786
|
+
}, _0x4ebac5 = {
|
|
787
|
+
_0x2fff36: 0x219,
|
|
788
|
+
_0x259950: 0x20b,
|
|
789
|
+
_0x336799: 0x1ca,
|
|
790
|
+
_0x399267: 0x17a,
|
|
791
|
+
_0x550c98: 0x27b,
|
|
792
|
+
_0x3801a9: 0x283,
|
|
793
|
+
_0x246039: 0x292,
|
|
794
|
+
_0x2bbae7: 0x1f2,
|
|
795
|
+
_0x471194: 0x17a
|
|
796
|
+
}, _0x42bb19 = { _0x102700: 0x28a }, _0x3e9271 = {
|
|
797
|
+
_0x45ad48: 0x1c2,
|
|
798
|
+
_0x1eef97: 0x245,
|
|
799
|
+
_0x292062: 0x245,
|
|
800
|
+
_0x2a3388: 0x227,
|
|
801
|
+
_0x28b38c: 0x219,
|
|
802
|
+
_0x367d5d: 0x219
|
|
803
|
+
}, _0x2bc0bd = { _0x9dcb4c: 0x276 }, _0x52679c = { _0x3ef328: 0x24a }, _0x248395 = {
|
|
804
|
+
_0x56c86f: 0x296,
|
|
805
|
+
_0xbe7ca1: 0x223,
|
|
806
|
+
_0x12d991: 0x28b,
|
|
807
|
+
_0x8fb3ae: 0x245
|
|
808
|
+
}, _0x453bfa = {
|
|
809
|
+
_0x4d7add: 0x1a0,
|
|
810
|
+
_0x3bdc7d: 0x295
|
|
811
|
+
}, _0x4722cc = {
|
|
812
|
+
_0x3f659c: 0x1d5,
|
|
813
|
+
_0x324d2e: 0x1c1
|
|
814
|
+
}, _0x2a80f8 = {
|
|
815
|
+
_0x3c72c5: 0x22a,
|
|
816
|
+
_0x3864fa: 0x22a,
|
|
817
|
+
_0x519e74: 0x1d0,
|
|
818
|
+
_0xc70617: 0x269
|
|
819
|
+
}, _0x8164af = { _0x2d3f9f: 0x269 }, _0x18e039 = {
|
|
820
|
+
_0x575104: 0x2af,
|
|
821
|
+
_0x4356a4: 0x208,
|
|
822
|
+
_0x5b759d: 0x201
|
|
823
|
+
}, _0x2653a3 = {
|
|
824
|
+
_0x8ee7bd: 0x183,
|
|
825
|
+
_0x8f8369: 0x1a7,
|
|
826
|
+
_0xe117b4: 0x224
|
|
827
|
+
}, _0x52bd92 = {
|
|
828
|
+
_0x5799d3: 0x210,
|
|
829
|
+
_0x504bd2: 0x2c4,
|
|
830
|
+
_0xba3be3: 0x273,
|
|
831
|
+
_0x40df4e: 0x269,
|
|
832
|
+
_0x3f448f: 0x1b2
|
|
833
|
+
}, _0x15df04 = _0x48b8fe, _0x42ce43 = _0x28783b[_0x15df04(_0x12caa7._0x1ccd07)] ?? fetch, _0x5d85fb = _0x28783b['fetchTimeoutMs'] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x234f6f = typeof _0x28783b[_0x15df04(0x17b)] === 'number' && _0x28783b[_0x15df04(0x17b)] > 0x0 ? _0x28783b[_0x15df04(_0x12caa7._0x24cbfa)] : 0x0, _0x1dda70 = _0x28783b[_0x15df04(0x238)]?.[_0x15df04(0x224)]() || void 0x0, _0x1d4ce3 = _0x28783b[_0x15df04(_0x12caa7._0x3ed818)]?.[_0x15df04(_0x12caa7._0x3f860a)]() || void 0x0, _0x3d310b = _0x28783b['workerModeEnabled'] === !![], _0x19949b = _0x28783b[_0x15df04(0x2b8)]?.['trim']() || void 0x0, _0x4fd85b = _0x28783b[_0x15df04(0x1eb)]?.['trim']() || void 0x0, _0x24f328 = createHeaders(_0x28783b[_0x15df04(_0x12caa7._0x5719b0)]), _0x206bfc = toHttpBaseUrl(_0x28783b[_0x15df04(0x2b0)]);
|
|
834
|
+
let _0x3c1247 = null;
|
|
835
|
+
const _0x4fdb3f = new Map();
|
|
836
|
+
let _0x47facc = _0x234f6f, _0x4fd613 = _0x234f6f;
|
|
837
|
+
function _0x140304(_0x206bf0) {
|
|
838
|
+
const _0x1d0fd0 = _0x15df04, _0x90d213 = _0x206bf0[_0x1d0fd0(_0x52bd92._0x5799d3)]['headers'][_0x1d0fd0(0x25f)]('content-type') ?? _0x1d0fd0(0x2a4), _0x5a67ed = _0x206bf0['bodyText'][_0x1d0fd0(0x224)]()['replace'](/\s+/g, '\x20')[_0x1d0fd0(_0x52bd92._0x504bd2)](0x0, 0x78) || _0x1d0fd0(0x1df);
|
|
839
|
+
return '请求\x20' + _0x206bf0[_0x1d0fd0(0x2be)] + _0x1d0fd0(_0x52bd92._0xba3be3) + _0x206bf0[_0x1d0fd0(0x210)][_0x1d0fd0(_0x52bd92._0x40df4e)] + _0x1d0fd0(0x25e) + _0x90d213 + _0x1d0fd0(0x206) + _0x5a67ed + _0x1d0fd0(_0x52bd92._0x3f448f);
|
|
851
840
|
}
|
|
852
|
-
async function
|
|
853
|
-
const
|
|
854
|
-
if (!
|
|
841
|
+
async function _0x403f96(_0x446969, _0x4655c9) {
|
|
842
|
+
const _0x421605 = _0x15df04, _0x42a668 = Buffer['from'](await _0x4655c9[_0x421605(_0x2653a3._0x8ee7bd)]())['toString'](_0x421605(_0x2653a3._0x8f8369));
|
|
843
|
+
if (!_0x42a668[_0x421605(_0x2653a3._0xe117b4)]())
|
|
855
844
|
return {};
|
|
856
845
|
try {
|
|
857
|
-
return JSON[
|
|
846
|
+
return JSON['parse'](_0x42a668);
|
|
858
847
|
} catch {
|
|
859
|
-
throw new Error(
|
|
860
|
-
'bodyText':
|
|
861
|
-
'requestUrl':
|
|
862
|
-
'response':
|
|
848
|
+
throw new Error(_0x140304({
|
|
849
|
+
'bodyText': _0x42a668,
|
|
850
|
+
'requestUrl': _0x446969,
|
|
851
|
+
'response': _0x4655c9
|
|
863
852
|
}));
|
|
864
853
|
}
|
|
865
854
|
}
|
|
866
|
-
function
|
|
867
|
-
const
|
|
868
|
-
if (
|
|
869
|
-
return
|
|
870
|
-
const
|
|
871
|
-
for (const [
|
|
872
|
-
|
|
855
|
+
function _0x433972(_0x469155, _0x43797f) {
|
|
856
|
+
const _0x303ea1 = _0x15df04, _0x550d94 = typeof _0x43797f[_0x303ea1(0x20c)] === _0x303ea1(0x1e8) ? _0x43797f['idempotency_key'][_0x303ea1(0x224)]() : '';
|
|
857
|
+
if (_0x550d94)
|
|
858
|
+
return _0x550d94;
|
|
859
|
+
const _0x3fa1bd = Date[_0x303ea1(0x1ef)]();
|
|
860
|
+
for (const [_0xedbab, _0x465302] of _0x4fdb3f) {
|
|
861
|
+
_0x465302[_0x303ea1(_0x18e039._0x575104)] <= _0x3fa1bd && _0x4fdb3f[_0x303ea1(_0x18e039._0x4356a4)](_0xedbab);
|
|
873
862
|
}
|
|
874
|
-
const
|
|
875
|
-
...
|
|
863
|
+
const _0x588978 = {
|
|
864
|
+
..._0x43797f,
|
|
876
865
|
'idempotency_key': void 0x0
|
|
877
|
-
},
|
|
878
|
-
if (
|
|
879
|
-
return
|
|
880
|
-
const
|
|
881
|
-
return
|
|
882
|
-
'expiresAt':
|
|
883
|
-
'value':
|
|
884
|
-
}),
|
|
866
|
+
}, _0x775eec = createHash(_0x303ea1(0x205))[_0x303ea1(_0x18e039._0x5b759d)](_0x469155 + ':' + stableStringify(_0x588978))[_0x303ea1(0x1c6)](_0x303ea1(0x1d4)), _0x1ff530 = _0x469155 + ':' + _0x775eec, _0x550aba = _0x4fdb3f['get'](_0x1ff530);
|
|
867
|
+
if (_0x550aba)
|
|
868
|
+
return _0x550aba['value'];
|
|
869
|
+
const _0x59382d = 'auto:' + _0x469155 + ':' + randomUUID();
|
|
870
|
+
return _0x4fdb3f[_0x303ea1(0x20b)](_0x1ff530, {
|
|
871
|
+
'expiresAt': _0x3fa1bd + 0x5 * 0x3c * 0x3e8,
|
|
872
|
+
'value': _0x59382d
|
|
873
|
+
}), _0x59382d;
|
|
885
874
|
}
|
|
886
|
-
async function
|
|
887
|
-
const
|
|
875
|
+
async function _0x507e4d(_0x5451d1, _0x502cc5) {
|
|
876
|
+
const _0x286e12 = _0x15df04, _0x3464bf = new AbortController(), _0x2d5307 = setTimeout(() => _0x3464bf[_0x286e12(0x18d)](), _0x5d85fb), _0x2df8b5 = _0x502cc5?.['signal'] ? anySignal(_0x502cc5[_0x286e12(0x22a)], _0x3464bf[_0x286e12(0x22a)]) : _0x3464bf['signal'], _0x9f252a = '' + _0x206bfc + _0x5451d1;
|
|
888
877
|
try {
|
|
889
|
-
const
|
|
890
|
-
...
|
|
891
|
-
'signal':
|
|
892
|
-
}),
|
|
893
|
-
if (!
|
|
894
|
-
throw new Error(asErrorMessage(
|
|
895
|
-
return
|
|
878
|
+
const _0x1be954 = await _0x42ce43(_0x9f252a, {
|
|
879
|
+
..._0x502cc5,
|
|
880
|
+
'signal': _0x2df8b5
|
|
881
|
+
}), _0x2f102c = await _0x403f96(_0x9f252a, _0x1be954);
|
|
882
|
+
if (!_0x1be954['ok'] || _0x2f102c['success'] === ![])
|
|
883
|
+
throw new Error(asErrorMessage(_0x2f102c[_0x286e12(0x1d0)], 'HTTP\x20' + _0x1be954[_0x286e12(_0x8164af._0x2d3f9f)]));
|
|
884
|
+
return _0x2f102c;
|
|
896
885
|
} finally {
|
|
897
|
-
clearTimeout(
|
|
886
|
+
clearTimeout(_0x2d5307);
|
|
898
887
|
}
|
|
899
888
|
}
|
|
900
|
-
async function
|
|
901
|
-
const
|
|
889
|
+
async function _0xddb338(_0x18cf68, _0x1f8e10) {
|
|
890
|
+
const _0x3f6412 = _0x15df04, _0x257e4a = new AbortController(), _0x5ab7fd = setTimeout(() => _0x257e4a[_0x3f6412(0x18d)](), _0x5d85fb), _0x431240 = _0x1f8e10?.[_0x3f6412(_0x2a80f8._0x3c72c5)] ? anySignal(_0x1f8e10[_0x3f6412(_0x2a80f8._0x3864fa)], _0x257e4a['signal']) : _0x257e4a[_0x3f6412(_0x2a80f8._0x3864fa)], _0x16143e = '' + _0x206bfc + _0x18cf68;
|
|
902
891
|
try {
|
|
903
|
-
const
|
|
904
|
-
...
|
|
905
|
-
'signal':
|
|
906
|
-
}),
|
|
907
|
-
if (!
|
|
908
|
-
throw new Error(asErrorMessage(
|
|
909
|
-
return
|
|
892
|
+
const _0x7745e7 = await _0x42ce43(_0x16143e, {
|
|
893
|
+
..._0x1f8e10,
|
|
894
|
+
'signal': _0x431240
|
|
895
|
+
}), _0x2c50ee = await _0x403f96(_0x16143e, _0x7745e7);
|
|
896
|
+
if (!_0x7745e7['ok'])
|
|
897
|
+
throw new Error(asErrorMessage(_0x2c50ee[_0x3f6412(_0x2a80f8._0x519e74)], _0x3f6412(0x295) + _0x7745e7[_0x3f6412(_0x2a80f8._0xc70617)]));
|
|
898
|
+
return _0x2c50ee;
|
|
910
899
|
} finally {
|
|
911
|
-
clearTimeout(
|
|
900
|
+
clearTimeout(_0x5ab7fd);
|
|
912
901
|
}
|
|
913
902
|
}
|
|
914
|
-
async function
|
|
915
|
-
const
|
|
916
|
-
if (!
|
|
903
|
+
async function _0x371f0c(_0x24692e) {
|
|
904
|
+
const _0x4ca81a = _0x15df04;
|
|
905
|
+
if (!_0x1d4ce3 || _0x24692e <= _0x4fd613)
|
|
917
906
|
return;
|
|
918
|
-
await
|
|
919
|
-
'body': JSON['stringify']({ 'lastSeenSeq':
|
|
920
|
-
'headers':
|
|
921
|
-
'method':
|
|
922
|
-
}),
|
|
907
|
+
await _0x507e4d(_0x4ca81a(0x225) + encodeURIComponent(_0x1d4ce3) + _0x4ca81a(_0x4722cc._0x3f659c), {
|
|
908
|
+
'body': JSON['stringify']({ 'lastSeenSeq': _0x24692e }),
|
|
909
|
+
'headers': _0x24f328,
|
|
910
|
+
'method': _0x4ca81a(_0x4722cc._0x324d2e)
|
|
911
|
+
}), _0x4fd613 = _0x24692e;
|
|
923
912
|
}
|
|
924
|
-
async function
|
|
925
|
-
const
|
|
926
|
-
if (!
|
|
913
|
+
async function _0xf639af(_0x535836) {
|
|
914
|
+
const _0x26c000 = _0x15df04;
|
|
915
|
+
if (!_0x1dda70 || !_0x19949b || _0x535836 <= _0x4fd613)
|
|
927
916
|
return;
|
|
928
|
-
const
|
|
929
|
-
'body': JSON[
|
|
930
|
-
'last_seen_seq':
|
|
931
|
-
'worker_session_id':
|
|
917
|
+
const _0x1f294b = await _0x42ce43(_0x1dda70 + '/workers/context-metrics', {
|
|
918
|
+
'body': JSON[_0x26c000(_0x453bfa._0x4d7add)]({
|
|
919
|
+
'last_seen_seq': _0x535836,
|
|
920
|
+
'worker_session_id': _0x19949b
|
|
932
921
|
}),
|
|
933
|
-
'headers': { 'Content-Type':
|
|
934
|
-
'method':
|
|
922
|
+
'headers': { 'Content-Type': 'application/json' },
|
|
923
|
+
'method': 'POST'
|
|
935
924
|
});
|
|
936
|
-
if (!
|
|
937
|
-
throw new Error(
|
|
938
|
-
|
|
925
|
+
if (!_0x1f294b['ok'])
|
|
926
|
+
throw new Error(_0x26c000(_0x453bfa._0x3bdc7d) + _0x1f294b['status']);
|
|
927
|
+
_0x4fd613 = _0x535836;
|
|
939
928
|
}
|
|
940
|
-
async function
|
|
941
|
-
const
|
|
942
|
-
'body': JSON[
|
|
943
|
-
'headers':
|
|
944
|
-
'method':
|
|
929
|
+
async function _0xc9048c(_0x27ad8f) {
|
|
930
|
+
const _0x13595a = _0x15df04, _0x84acf4 = parseTarget(_0x27ad8f), _0x40157e = await _0x507e4d(_0x13595a(0x23e) + _0x28783b[_0x13595a(0x207)] + _0x13595a(_0x248395._0x56c86f), {
|
|
931
|
+
'body': JSON[_0x13595a(0x1a0)]({ 'target': _0x84acf4[_0x13595a(0x15b)] }),
|
|
932
|
+
'headers': _0x24f328,
|
|
933
|
+
'method': _0x13595a(0x1dd)
|
|
945
934
|
});
|
|
946
935
|
return {
|
|
947
|
-
'channelId':
|
|
948
|
-
'target':
|
|
949
|
-
'task':
|
|
950
|
-
'threadId':
|
|
951
|
-
'threadNumber':
|
|
936
|
+
'channelId': _0x40157e['data']?.[_0x13595a(0x1ca)] ?? '',
|
|
937
|
+
'target': _0x84acf4[_0x13595a(0x276)],
|
|
938
|
+
'task': _0x40157e[_0x13595a(_0x248395._0xbe7ca1)]?.[_0x13595a(_0x248395._0x12d991)],
|
|
939
|
+
'threadId': _0x40157e[_0x13595a(0x223)]?.[_0x13595a(0x219)],
|
|
940
|
+
'threadNumber': _0x40157e[_0x13595a(0x223)]?.[_0x13595a(_0x248395._0x8fb3ae)]
|
|
952
941
|
};
|
|
953
942
|
}
|
|
954
|
-
async function
|
|
955
|
-
const
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
943
|
+
async function _0x2e5012() {
|
|
944
|
+
const _0x1705d4 = {
|
|
945
|
+
_0x3f6736: 0x23e,
|
|
946
|
+
_0x25e271: 0x207,
|
|
947
|
+
_0x1b6c6a: 0x223,
|
|
948
|
+
_0x19bc73: 0x23d,
|
|
949
|
+
_0x169e21: 0x1cc,
|
|
950
|
+
_0x5eb1c6: 0x22f
|
|
951
|
+
}, _0x73833a = _0x15df04;
|
|
952
|
+
return !_0x3c1247 && (_0x3c1247 = (async () => {
|
|
953
|
+
const _0x55678b = _0xe0e1, _0x44c69e = await _0x507e4d(_0x55678b(_0x1705d4._0x3f6736) + _0x28783b[_0x55678b(_0x1705d4._0x25e271)] + _0x55678b(0x155), {
|
|
954
|
+
'headers': _0x24f328,
|
|
955
|
+
'method': _0x55678b(0x1e1)
|
|
956
|
+
}), _0x4ce148 = _0x44c69e[_0x55678b(_0x1705d4._0x1b6c6a)]?.[_0x55678b(_0x1705d4._0x19bc73)]['id'] ?? '';
|
|
957
|
+
let _0x4ec44f = [];
|
|
962
958
|
try {
|
|
963
|
-
const
|
|
964
|
-
'headers':
|
|
965
|
-
'method':
|
|
959
|
+
const _0x43fa98 = await _0x507e4d(_0x55678b(0x1e3) + encodeURIComponent(_0x4ce148), {
|
|
960
|
+
'headers': _0x24f328,
|
|
961
|
+
'method': _0x55678b(0x1e1)
|
|
966
962
|
});
|
|
967
|
-
|
|
963
|
+
_0x4ec44f = _0x43fa98[_0x55678b(0x223)] ?? [];
|
|
968
964
|
} catch {
|
|
969
|
-
|
|
965
|
+
_0x4ec44f = [];
|
|
970
966
|
}
|
|
971
|
-
const
|
|
972
|
-
'id':
|
|
973
|
-
'name':
|
|
974
|
-
}))['filter'](
|
|
975
|
-
'id':
|
|
976
|
-
'name':
|
|
977
|
-
}))[
|
|
967
|
+
const _0x1494eb = _0x4ec44f[_0x55678b(0x1cc)](_0x3a5c45 => ({
|
|
968
|
+
'id': _0x3a5c45['participants']?.['id'] ?? _0x3a5c45['server_members']?.[_0x55678b(0x2bb)] ?? '',
|
|
969
|
+
'name': _0x3a5c45[_0x55678b(0x171)]?.[_0x55678b(0x231)] ?? _0x3a5c45[_0x55678b(0x2a5)]?.[_0x55678b(0x2bb)] ?? ''
|
|
970
|
+
}))['filter'](_0x3bc3fe => _0x3bc3fe['id']), _0x1eb7b6 = new Set(_0x1494eb[_0x55678b(0x1cc)](_0x27a982 => _0x27a982['id'])), _0x1df0b7 = (_0x44c69e[_0x55678b(_0x1705d4._0x1b6c6a)]?.[_0x55678b(0x232)] ?? [])[_0x55678b(0x22f)](_0x2abbd1 => !_0x1eb7b6[_0x55678b(0x1a3)](_0x3e3457(_0x2abbd1)))[_0x55678b(_0x1705d4._0x169e21)](_0x1cef92 => ({
|
|
971
|
+
'id': _0x3e3457(_0x1cef92),
|
|
972
|
+
'name': _0x42e410(_0x1cef92)
|
|
973
|
+
}))[_0x55678b(_0x1705d4._0x5eb1c6)](_0x25ce18 => _0x25ce18['id']);
|
|
978
974
|
return {
|
|
979
|
-
'agents':
|
|
980
|
-
'channels':
|
|
981
|
-
'humans':
|
|
982
|
-
'serverId':
|
|
983
|
-
'serverName':
|
|
975
|
+
'agents': _0x1494eb,
|
|
976
|
+
'channels': _0x44c69e[_0x55678b(0x223)]?.[_0x55678b(0x2ba)] ?? [],
|
|
977
|
+
'humans': _0x1df0b7,
|
|
978
|
+
'serverId': _0x4ce148,
|
|
979
|
+
'serverName': _0x44c69e[_0x55678b(0x223)]?.['server']['name'] ?? _0x4ce148
|
|
984
980
|
};
|
|
985
|
-
})()[
|
|
986
|
-
|
|
987
|
-
throw
|
|
988
|
-
})),
|
|
981
|
+
})()[_0x73833a(0x196)](_0x461010 => {
|
|
982
|
+
_0x3c1247 = null;
|
|
983
|
+
throw _0x461010;
|
|
984
|
+
})), _0x3c1247;
|
|
989
985
|
}
|
|
990
|
-
function
|
|
991
|
-
const
|
|
992
|
-
return
|
|
986
|
+
function _0x307a72(_0x435c63, _0x36721b) {
|
|
987
|
+
const _0x32ad9b = _0x15df04;
|
|
988
|
+
return _0x36721b['agents']['some'](_0x37c805 => _0x37c805['id'] === _0x435c63 || _0x37c805[_0x32ad9b(0x231)] === _0x435c63) ? _0x32ad9b(0x1b0) : _0x32ad9b(_0x52679c._0x3ef328);
|
|
993
989
|
}
|
|
994
|
-
function
|
|
995
|
-
const
|
|
996
|
-
if (
|
|
997
|
-
return
|
|
998
|
-
if (
|
|
999
|
-
return
|
|
1000
|
-
if (
|
|
1001
|
-
return
|
|
1002
|
-
return
|
|
990
|
+
function _0x2e0fa9(_0x4c2139) {
|
|
991
|
+
const _0x2f18d9 = _0x15df04;
|
|
992
|
+
if (_0x4c2139[_0x2f18d9(0x245)] != null)
|
|
993
|
+
return _0x4c2139[_0x2f18d9(_0x2bc0bd._0x9dcb4c)] + ':t' + _0x4c2139[_0x2f18d9(0x245)];
|
|
994
|
+
if (_0x4c2139[_0x2f18d9(0x227)])
|
|
995
|
+
return _0x4c2139[_0x2f18d9(0x276)] + ':' + _0x4c2139[_0x2f18d9(0x227)];
|
|
996
|
+
if (_0x4c2139['threadId'])
|
|
997
|
+
return _0x4c2139[_0x2f18d9(_0x2bc0bd._0x9dcb4c)] + ':' + _0x4c2139[_0x2f18d9(0x219)][_0x2f18d9(0x2c4)](0x0, 0x8);
|
|
998
|
+
return _0x4c2139[_0x2f18d9(0x276)];
|
|
1003
999
|
}
|
|
1004
|
-
function
|
|
1005
|
-
const
|
|
1000
|
+
function _0x2cd130(_0x59ab4d, _0x94f7a8) {
|
|
1001
|
+
const _0x253ef5 = _0x15df04;
|
|
1006
1002
|
try {
|
|
1007
|
-
const
|
|
1008
|
-
if (
|
|
1003
|
+
const _0x39c0bc = parseTarget(_0x59ab4d);
|
|
1004
|
+
if (_0x39c0bc[_0x253ef5(_0x3e9271._0x45ad48)] !== 'thread' || _0x39c0bc[_0x253ef5(0x276)] !== _0x94f7a8[_0x253ef5(0x276)])
|
|
1009
1005
|
return ![];
|
|
1010
|
-
if (
|
|
1006
|
+
if (_0x94f7a8[_0x253ef5(_0x3e9271._0x1eef97)] != null && _0x39c0bc[_0x253ef5(0x218)] === 't' + _0x94f7a8[_0x253ef5(_0x3e9271._0x292062)])
|
|
1011
1007
|
return !![];
|
|
1012
|
-
if (
|
|
1013
|
-
return
|
|
1014
|
-
if (
|
|
1015
|
-
return
|
|
1008
|
+
if (_0x94f7a8[_0x253ef5(0x227)])
|
|
1009
|
+
return _0x39c0bc['threadShortId'] === _0x94f7a8[_0x253ef5(_0x3e9271._0x2a3388)] || _0x94f7a8[_0x253ef5(_0x3e9271._0x2a3388)]['startsWith'](_0x39c0bc[_0x253ef5(0x218)]);
|
|
1010
|
+
if (_0x94f7a8[_0x253ef5(_0x3e9271._0x28b38c)])
|
|
1011
|
+
return _0x39c0bc[_0x253ef5(0x218)] === _0x94f7a8[_0x253ef5(_0x3e9271._0x367d5d)] || _0x94f7a8['threadId'][_0x253ef5(0x234)](_0x39c0bc['threadShortId']);
|
|
1016
1012
|
return ![];
|
|
1017
1013
|
} catch {
|
|
1018
1014
|
return ![];
|
|
1019
1015
|
}
|
|
1020
1016
|
}
|
|
1021
|
-
function
|
|
1022
|
-
const
|
|
1023
|
-
return
|
|
1017
|
+
function _0x3e3457(_0x4c0b68) {
|
|
1018
|
+
const _0x305f5e = _0x15df04;
|
|
1019
|
+
return _0x4c0b68[_0x305f5e(0x244)]?.['participantId'] ?? _0x4c0b68['participant']?.['id'] ?? _0x4c0b68[_0x305f5e(0x2bb)] ?? '';
|
|
1024
1020
|
}
|
|
1025
|
-
function
|
|
1026
|
-
const
|
|
1027
|
-
return
|
|
1021
|
+
function _0x42e410(_0x2d3eff) {
|
|
1022
|
+
const _0x5dd411 = _0x15df04;
|
|
1023
|
+
return _0x2d3eff[_0x5dd411(_0x42bb19._0x102700)]?.['name'] ?? _0x3e3457(_0x2d3eff);
|
|
1028
1024
|
}
|
|
1029
|
-
async function
|
|
1030
|
-
const
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
const
|
|
1036
|
-
'headers':
|
|
1037
|
-
'method':
|
|
1038
|
-
}),
|
|
1039
|
-
'attachments': (
|
|
1040
|
-
'filename':
|
|
1041
|
-
'id':
|
|
1025
|
+
async function _0x198f31(_0x2068e6) {
|
|
1026
|
+
const _0x4ae98c = _0x15df04, _0x15cf77 = Math[_0x4ae98c(0x1d2)](_0x2068e6[_0x4ae98c(0x202)] ?? 0x32, 0x64), _0x3001b9 = await _0x2e5012(), _0x42557c = new URLSearchParams();
|
|
1027
|
+
_0x42557c[_0x4ae98c(0x20b)](_0x4ae98c(0x202), String(_0x15cf77));
|
|
1028
|
+
_0x2068e6[_0x4ae98c(_0x4ebac5._0x2fff36)] ? (_0x42557c['set']('threadId', _0x2068e6['threadId']), _0x42557c[_0x4ae98c(_0x4ebac5._0x259950)](_0x4ae98c(0x1ca), _0x2068e6[_0x4ae98c(0x1ca)])) : _0x42557c['set']('channelId', _0x2068e6[_0x4ae98c(_0x4ebac5._0x336799)]);
|
|
1029
|
+
_0x2068e6[_0x4ae98c(0x197)] && _0x42557c['set'](_0x4ae98c(_0x4ebac5._0x399267), String(_0x2068e6[_0x4ae98c(0x197)]));
|
|
1030
|
+
_0x2068e6['after'] !== void 0x0 && _0x42557c['set'](_0x4ae98c(_0x4ebac5._0x550c98), String(_0x2068e6[_0x4ae98c(0x27b)]));
|
|
1031
|
+
const _0x55fb33 = await _0x507e4d(_0x4ae98c(0x23e) + _0x28783b[_0x4ae98c(0x207)] + _0x4ae98c(_0x4ebac5._0x3801a9) + _0x42557c['toString'](), {
|
|
1032
|
+
'headers': _0x24f328,
|
|
1033
|
+
'method': _0x4ae98c(0x1e1)
|
|
1034
|
+
}), _0x394c99 = (_0x55fb33['data'] ?? [])[_0x4ae98c(0x1cc)](_0x444777 => ({
|
|
1035
|
+
'attachments': (_0x444777[_0x4ae98c(0x163)] ?? [])[_0x4ae98c(0x1cc)](_0x31dad7 => ({
|
|
1036
|
+
'filename': _0x31dad7[_0x4ae98c(0x1a4)] ?? _0x31dad7['id'],
|
|
1037
|
+
'id': _0x31dad7['id']
|
|
1042
1038
|
})),
|
|
1043
|
-
'content':
|
|
1044
|
-
'createdAt':
|
|
1045
|
-
'messageId':
|
|
1046
|
-
'senderName':
|
|
1047
|
-
'senderType':
|
|
1048
|
-
'seq':
|
|
1039
|
+
'content': _0x444777[_0x4ae98c(0x1b9)] ?? '',
|
|
1040
|
+
'createdAt': _0x444777[_0x4ae98c(0x279)],
|
|
1041
|
+
'messageId': _0x444777['id'],
|
|
1042
|
+
'senderName': _0x444777[_0x4ae98c(0x1f8)],
|
|
1043
|
+
'senderType': _0x307a72(_0x444777['senderParticipantId'], _0x3001b9),
|
|
1044
|
+
'seq': _0x444777[_0x4ae98c(0x1f4)] ?? 0x0
|
|
1049
1045
|
}));
|
|
1050
1046
|
return {
|
|
1051
|
-
'channel':
|
|
1052
|
-
'hasMore':
|
|
1053
|
-
'messages':
|
|
1054
|
-
'nextCursor':
|
|
1047
|
+
'channel': _0x2068e6['channelTarget'],
|
|
1048
|
+
'hasMore': _0x55fb33[_0x4ae98c(0x1f2)]?.[_0x4ae98c(_0x4ebac5._0x246039)] ?? ![],
|
|
1049
|
+
'messages': _0x394c99,
|
|
1050
|
+
'nextCursor': _0x55fb33[_0x4ae98c(_0x4ebac5._0x2bbae7)]?.[_0x4ae98c(_0x4ebac5._0x471194)]
|
|
1055
1051
|
};
|
|
1056
1052
|
}
|
|
1057
1053
|
return {
|
|
1058
|
-
async 'sendMessage'(
|
|
1059
|
-
const
|
|
1060
|
-
'body': JSON[
|
|
1061
|
-
'attachment_ids':
|
|
1062
|
-
'bodyMarkdown':
|
|
1063
|
-
'channelId':
|
|
1064
|
-
...
|
|
1065
|
-
'threadId':
|
|
1066
|
-
...
|
|
1054
|
+
async 'sendMessage'(_0x43a652) {
|
|
1055
|
+
const _0x18910d = _0x15df04, _0x53baef = await _0xc9048c(_0x43a652['target']), _0x595494 = _0x43a652[_0x18910d(0x249)][_0x18910d(_0x30a462._0xe54448)]('@') ? extractMentionedParticipantIds(_0x43a652[_0x18910d(0x249)], await _0x2e5012()) : [], _0x14307f = await _0x507e4d(_0x18910d(_0x30a462._0x9a9fcf) + _0x28783b[_0x18910d(0x207)] + _0x18910d(_0x30a462._0x4472a4), {
|
|
1056
|
+
'body': JSON['stringify']({
|
|
1057
|
+
'attachment_ids': _0x43a652[_0x18910d(_0x30a462._0x1dac6e)],
|
|
1058
|
+
'bodyMarkdown': _0x43a652[_0x18910d(0x249)],
|
|
1059
|
+
'channelId': _0x53baef[_0x18910d(_0x30a462._0x1531e3)],
|
|
1060
|
+
..._0x595494['length'] > 0x0 ? { 'mentionedParticipantIds': _0x595494 } : {},
|
|
1061
|
+
'threadId': _0x53baef['threadId'],
|
|
1062
|
+
..._0x43a652[_0x18910d(_0x30a462._0x3a29df)] ? { 'visibility': _0x43a652[_0x18910d(0x19a)] } : {}
|
|
1067
1063
|
}),
|
|
1068
|
-
'headers':
|
|
1069
|
-
'method':
|
|
1064
|
+
'headers': _0x24f328,
|
|
1065
|
+
'method': _0x18910d(_0x30a462._0x2086e8)
|
|
1070
1066
|
});
|
|
1071
|
-
return { 'messageId':
|
|
1067
|
+
return { 'messageId': _0x14307f['data']?.['id'] ?? '' };
|
|
1072
1068
|
},
|
|
1073
1069
|
async 'listSchedules'() {
|
|
1074
|
-
const
|
|
1075
|
-
'headers':
|
|
1076
|
-
'method':
|
|
1070
|
+
const _0x5d9979 = _0x15df04, _0x1a6eb = await _0x507e4d(_0x5d9979(_0x3147d1._0x3434ee), {
|
|
1071
|
+
'headers': _0x24f328,
|
|
1072
|
+
'method': _0x5d9979(0x1e1)
|
|
1077
1073
|
});
|
|
1078
|
-
return
|
|
1074
|
+
return _0x1a6eb[_0x5d9979(_0x3147d1._0x6adbed)] ?? [];
|
|
1079
1075
|
},
|
|
1080
|
-
async 'claimScheduleRun'(
|
|
1081
|
-
const
|
|
1082
|
-
'body': JSON[
|
|
1083
|
-
'headers':
|
|
1084
|
-
'method':
|
|
1076
|
+
async 'claimScheduleRun'(_0x4e5d1f) {
|
|
1077
|
+
const _0xd1a872 = _0x15df04, _0x3c5742 = await _0x507e4d(_0xd1a872(0x167), {
|
|
1078
|
+
'body': JSON[_0xd1a872(0x1a0)](_0x4e5d1f),
|
|
1079
|
+
'headers': _0x24f328,
|
|
1080
|
+
'method': _0xd1a872(_0xaa3f9a._0x4a7296)
|
|
1085
1081
|
});
|
|
1086
|
-
return
|
|
1082
|
+
return _0x3c5742[_0xd1a872(_0xaa3f9a._0x2adb78)] ?? {
|
|
1087
1083
|
'granted': ![],
|
|
1088
1084
|
'runId': null,
|
|
1089
1085
|
'schedule': null,
|
|
1090
|
-
'scheduledFor':
|
|
1086
|
+
'scheduledFor': _0x4e5d1f[_0xd1a872(0x236)]
|
|
1091
1087
|
};
|
|
1092
1088
|
},
|
|
1093
|
-
async 'startScheduleRun'(
|
|
1094
|
-
const
|
|
1095
|
-
'body': JSON[
|
|
1096
|
-
'headers':
|
|
1097
|
-
'method':
|
|
1089
|
+
async 'startScheduleRun'(_0x59d76b) {
|
|
1090
|
+
const _0x3ad9ce = _0x15df04, _0x2227a0 = await _0x507e4d(_0x3ad9ce(_0x518c36._0x13a8b6) + encodeURIComponent(_0x59d76b[_0x3ad9ce(_0x518c36._0x1e4843)]) + _0x3ad9ce(0x27e), {
|
|
1091
|
+
'body': JSON['stringify']({}),
|
|
1092
|
+
'headers': _0x24f328,
|
|
1093
|
+
'method': 'POST'
|
|
1098
1094
|
});
|
|
1099
|
-
return
|
|
1095
|
+
return _0x2227a0['data'] ?? {
|
|
1100
1096
|
'claimedByDaemonId': '',
|
|
1101
|
-
'id':
|
|
1097
|
+
'id': _0x59d76b[_0x3ad9ce(0x170)],
|
|
1102
1098
|
'scheduleId': '',
|
|
1103
|
-
'status':
|
|
1099
|
+
'status': 'running'
|
|
1104
1100
|
};
|
|
1105
1101
|
},
|
|
1106
|
-
async 'finishScheduleRun'(
|
|
1107
|
-
const
|
|
1108
|
-
'body': JSON[
|
|
1109
|
-
'error':
|
|
1110
|
-
'resultJson':
|
|
1111
|
-
'status':
|
|
1102
|
+
async 'finishScheduleRun'(_0x6ce894) {
|
|
1103
|
+
const _0x4fff91 = _0x15df04, _0x446f04 = await _0x507e4d(_0x4fff91(_0x2d3c9e._0x1a5f92) + encodeURIComponent(_0x6ce894['runId']) + '/finish', {
|
|
1104
|
+
'body': JSON[_0x4fff91(0x1a0)]({
|
|
1105
|
+
'error': _0x6ce894[_0x4fff91(_0x2d3c9e._0x413773)],
|
|
1106
|
+
'resultJson': _0x6ce894[_0x4fff91(0x2c8)],
|
|
1107
|
+
'status': _0x6ce894['status']
|
|
1112
1108
|
}),
|
|
1113
|
-
'headers':
|
|
1114
|
-
'method':
|
|
1109
|
+
'headers': _0x24f328,
|
|
1110
|
+
'method': _0x4fff91(_0x2d3c9e._0x2490d6)
|
|
1115
1111
|
});
|
|
1116
|
-
return
|
|
1112
|
+
return _0x446f04[_0x4fff91(0x223)] ?? {
|
|
1117
1113
|
'nextRunAt': null,
|
|
1118
1114
|
'run': {
|
|
1119
1115
|
'claimedByDaemonId': '',
|
|
1120
|
-
'id':
|
|
1116
|
+
'id': _0x6ce894['runId'],
|
|
1121
1117
|
'scheduleId': '',
|
|
1122
|
-
'status':
|
|
1118
|
+
'status': _0x6ce894[_0x4fff91(_0x2d3c9e._0xdf0719)]
|
|
1123
1119
|
}
|
|
1124
1120
|
};
|
|
1125
1121
|
},
|
|
1126
|
-
async 'listTasks'(
|
|
1127
|
-
const
|
|
1128
|
-
return
|
|
1129
|
-
'headers':
|
|
1130
|
-
'method':
|
|
1122
|
+
async 'listTasks'(_0x1b526a) {
|
|
1123
|
+
const _0x2c073e = _0x15df04, _0x144db6 = new URLSearchParams();
|
|
1124
|
+
return _0x144db6[_0x2c073e(_0x7e191a._0xb54454)]('channel', _0x1b526a[_0x2c073e(_0x7e191a._0x1d4542)]), _0x1b526a['status'] && _0x144db6[_0x2c073e(0x20b)](_0x2c073e(_0x7e191a._0x5d0a55), _0x1b526a['status']), _0xddb338(_0x2c073e(_0x7e191a._0x2bee4a) + _0x28783b[_0x2c073e(0x207)] + _0x2c073e(_0x7e191a._0x3c73f2) + _0x144db6[_0x2c073e(0x1f6)](), {
|
|
1125
|
+
'headers': _0x24f328,
|
|
1126
|
+
'method': _0x2c073e(0x1e1)
|
|
1131
1127
|
});
|
|
1132
1128
|
},
|
|
1133
|
-
async 'createTasks'(
|
|
1134
|
-
const
|
|
1135
|
-
return
|
|
1136
|
-
'body': JSON[
|
|
1137
|
-
...
|
|
1138
|
-
'idempotency_key':
|
|
1129
|
+
async 'createTasks'(_0x1bd6df) {
|
|
1130
|
+
const _0x4f3df7 = _0x15df04;
|
|
1131
|
+
return _0xddb338(_0x4f3df7(0x23e) + _0x28783b[_0x4f3df7(0x207)] + _0x4f3df7(_0x4a18e8._0x3b18b6), {
|
|
1132
|
+
'body': JSON[_0x4f3df7(_0x4a18e8._0x194dfe)]({
|
|
1133
|
+
..._0x1bd6df,
|
|
1134
|
+
'idempotency_key': _0x433972(_0x4f3df7(0x156), _0x1bd6df)
|
|
1139
1135
|
}),
|
|
1140
|
-
'headers':
|
|
1141
|
-
'method':
|
|
1136
|
+
'headers': _0x24f328,
|
|
1137
|
+
'method': _0x4f3df7(_0x4a18e8._0x126a51)
|
|
1142
1138
|
});
|
|
1143
1139
|
},
|
|
1144
|
-
async 'claimTasks'(
|
|
1145
|
-
const
|
|
1146
|
-
return
|
|
1147
|
-
'body': JSON[
|
|
1148
|
-
...
|
|
1149
|
-
'idempotency_key':
|
|
1140
|
+
async 'claimTasks'(_0x41da0d) {
|
|
1141
|
+
const _0x5bde0a = _0x15df04;
|
|
1142
|
+
return _0xddb338(_0x5bde0a(_0x4e2f1b._0x449265) + _0x28783b['agentId'] + _0x5bde0a(0x1fb), {
|
|
1143
|
+
'body': JSON['stringify']({
|
|
1144
|
+
..._0x41da0d,
|
|
1145
|
+
'idempotency_key': _0x433972(_0x5bde0a(_0x4e2f1b._0x459125), _0x41da0d)
|
|
1150
1146
|
}),
|
|
1151
|
-
'headers':
|
|
1147
|
+
'headers': _0x24f328,
|
|
1152
1148
|
'method': 'POST'
|
|
1153
1149
|
});
|
|
1154
1150
|
},
|
|
1155
|
-
async 'unclaimTask'(
|
|
1156
|
-
const
|
|
1157
|
-
return
|
|
1158
|
-
'body': JSON[
|
|
1159
|
-
...
|
|
1160
|
-
'idempotency_key':
|
|
1151
|
+
async 'unclaimTask'(_0x5f38d3) {
|
|
1152
|
+
const _0x380125 = _0x15df04;
|
|
1153
|
+
return _0xddb338(_0x380125(_0x458155._0x36f9ac) + _0x28783b['agentId'] + _0x380125(0x1c4), {
|
|
1154
|
+
'body': JSON[_0x380125(_0x458155._0x1d2217)]({
|
|
1155
|
+
..._0x5f38d3,
|
|
1156
|
+
'idempotency_key': _0x433972(_0x380125(0x28e), _0x5f38d3)
|
|
1161
1157
|
}),
|
|
1162
|
-
'headers':
|
|
1163
|
-
'method':
|
|
1158
|
+
'headers': _0x24f328,
|
|
1159
|
+
'method': _0x380125(0x1dd)
|
|
1164
1160
|
});
|
|
1165
1161
|
},
|
|
1166
|
-
async 'updateTaskStatus'(
|
|
1167
|
-
const
|
|
1168
|
-
return
|
|
1169
|
-
'body': JSON[
|
|
1170
|
-
...
|
|
1171
|
-
'idempotency_key':
|
|
1162
|
+
async 'updateTaskStatus'(_0x468f34) {
|
|
1163
|
+
const _0xaab383 = _0x15df04;
|
|
1164
|
+
return _0xddb338(_0xaab383(_0x1bd31d._0x3a831f) + _0x28783b[_0xaab383(0x207)] + _0xaab383(0x1e5), {
|
|
1165
|
+
'body': JSON[_0xaab383(_0x1bd31d._0x136197)]({
|
|
1166
|
+
..._0x468f34,
|
|
1167
|
+
'idempotency_key': _0x433972(_0xaab383(0x1c0), _0x468f34)
|
|
1172
1168
|
}),
|
|
1173
|
-
'headers':
|
|
1174
|
-
'method':
|
|
1169
|
+
'headers': _0x24f328,
|
|
1170
|
+
'method': _0xaab383(_0x1bd31d._0x3751d7)
|
|
1175
1171
|
});
|
|
1176
1172
|
},
|
|
1177
|
-
async 'uploadFile'(
|
|
1178
|
-
const
|
|
1179
|
-
if (
|
|
1180
|
-
throw new Error(
|
|
1181
|
-
const
|
|
1182
|
-
'body': JSON[
|
|
1183
|
-
'channel':
|
|
1184
|
-
'contentBase64':
|
|
1185
|
-
'contentType':
|
|
1186
|
-
'originalFilename':
|
|
1173
|
+
async 'uploadFile'(_0x58754a) {
|
|
1174
|
+
const _0x593532 = _0x15df04, _0x38a181 = await _0xc9048c(_0x58754a[_0x593532(_0x104a73._0x5f45b9)]);
|
|
1175
|
+
if (_0x38a181[_0x593532(0x219)])
|
|
1176
|
+
throw new Error(_0x593532(0x1de));
|
|
1177
|
+
const _0x4c7699 = await _0x507e4d(_0x593532(_0x104a73._0x4972a6) + _0x28783b[_0x593532(0x207)] + _0x593532(0x2a7), {
|
|
1178
|
+
'body': JSON[_0x593532(_0x104a73._0xd1bce7)]({
|
|
1179
|
+
'channel': _0x38a181[_0x593532(0x15b)],
|
|
1180
|
+
'contentBase64': _0x58754a[_0x593532(_0x104a73._0x307ff4)],
|
|
1181
|
+
'contentType': _0x58754a[_0x593532(0x2b9)],
|
|
1182
|
+
'originalFilename': _0x58754a['filename']
|
|
1187
1183
|
}),
|
|
1188
|
-
'headers':
|
|
1189
|
-
'method':
|
|
1184
|
+
'headers': _0x24f328,
|
|
1185
|
+
'method': _0x593532(_0x104a73._0xf430c7)
|
|
1190
1186
|
});
|
|
1191
1187
|
return {
|
|
1192
|
-
'attachmentId':
|
|
1193
|
-
'filename':
|
|
1194
|
-
'sizeBytes':
|
|
1188
|
+
'attachmentId': _0x4c7699[_0x593532(_0x104a73._0x3077ef)]?.['id'] ?? '',
|
|
1189
|
+
'filename': _0x4c7699[_0x593532(0x223)]?.[_0x593532(_0x104a73._0x5f44de)] ?? _0x58754a['filename'],
|
|
1190
|
+
'sizeBytes': _0x4c7699['data']?.['sizeBytes'] ?? 0x0
|
|
1195
1191
|
};
|
|
1196
1192
|
},
|
|
1197
|
-
async 'downloadAttachment'(
|
|
1198
|
-
const
|
|
1199
|
-
'headers':
|
|
1193
|
+
async 'downloadAttachment'(_0x2cf0c7) {
|
|
1194
|
+
const _0x22bfd5 = _0x15df04, _0x6ee0b8 = await _0x507e4d('/api/attachments/' + _0x2cf0c7, {
|
|
1195
|
+
'headers': _0x24f328,
|
|
1200
1196
|
'method': 'GET'
|
|
1201
|
-
}),
|
|
1197
|
+
}), _0x5a654f = new AbortController(), _0xc83b0f = setTimeout(() => _0x5a654f[_0x22bfd5(0x18d)](), _0x5d85fb);
|
|
1202
1198
|
try {
|
|
1203
|
-
const
|
|
1204
|
-
'headers':
|
|
1205
|
-
'method':
|
|
1206
|
-
'signal':
|
|
1199
|
+
const _0x2140e6 = await _0x42ce43(_0x206bfc + _0x22bfd5(_0x1edf3b._0x56d11a) + _0x2cf0c7 + '/content', {
|
|
1200
|
+
'headers': _0x24f328,
|
|
1201
|
+
'method': _0x22bfd5(_0x1edf3b._0x5e1e95),
|
|
1202
|
+
'signal': _0x5a654f[_0x22bfd5(_0x1edf3b._0x21e541)]
|
|
1207
1203
|
});
|
|
1208
|
-
if (!
|
|
1209
|
-
throw new Error(
|
|
1204
|
+
if (!_0x2140e6['ok'])
|
|
1205
|
+
throw new Error('HTTP\x20' + _0x2140e6[_0x22bfd5(0x269)]);
|
|
1210
1206
|
return {
|
|
1211
|
-
'contentType':
|
|
1212
|
-
'data': Buffer[
|
|
1213
|
-
'originalFilename':
|
|
1207
|
+
'contentType': _0x6ee0b8[_0x22bfd5(_0x1edf3b._0x405b44)]?.['contentType'] ?? _0x2140e6[_0x22bfd5(_0x1edf3b._0x304c65)][_0x22bfd5(_0x1edf3b._0x284473)]('content-type') ?? 'application/octet-stream',
|
|
1208
|
+
'data': Buffer['from'](await _0x2140e6[_0x22bfd5(0x183)]()),
|
|
1209
|
+
'originalFilename': _0x6ee0b8[_0x22bfd5(0x223)]?.[_0x22bfd5(_0x1edf3b._0xf1061e)]
|
|
1214
1210
|
};
|
|
1215
1211
|
} finally {
|
|
1216
|
-
clearTimeout(
|
|
1212
|
+
clearTimeout(_0xc83b0f);
|
|
1217
1213
|
}
|
|
1218
1214
|
},
|
|
1219
1215
|
async 'listServer'() {
|
|
1220
|
-
return
|
|
1216
|
+
return _0x2e5012();
|
|
1221
1217
|
},
|
|
1222
|
-
async 'readHistory'(
|
|
1223
|
-
const
|
|
1224
|
-
return
|
|
1225
|
-
'after':
|
|
1226
|
-
'before':
|
|
1227
|
-
'channelId':
|
|
1228
|
-
'channelTarget':
|
|
1229
|
-
'limit':
|
|
1230
|
-
'threadId':
|
|
1218
|
+
async 'readHistory'(_0x57c05e) {
|
|
1219
|
+
const _0xb5e8c1 = _0x15df04, _0x4377ae = await _0xc9048c(_0x57c05e[_0xb5e8c1(_0x275802._0x29cf0a)]);
|
|
1220
|
+
return _0x198f31({
|
|
1221
|
+
'after': _0x57c05e[_0xb5e8c1(_0x275802._0x230426)],
|
|
1222
|
+
'before': _0x57c05e[_0xb5e8c1(_0x275802._0x3d51d2)],
|
|
1223
|
+
'channelId': _0x4377ae[_0xb5e8c1(0x1ca)],
|
|
1224
|
+
'channelTarget': _0x4377ae[_0xb5e8c1(_0x275802._0x4484e7)],
|
|
1225
|
+
'limit': _0x57c05e['limit'],
|
|
1226
|
+
'threadId': _0x4377ae[_0xb5e8c1(_0x275802._0x5b6123)]
|
|
1231
1227
|
});
|
|
1232
1228
|
},
|
|
1233
|
-
'resolveTarget':
|
|
1229
|
+
'resolveTarget': _0xc9048c,
|
|
1234
1230
|
async 'checkMessages'() {
|
|
1235
|
-
const
|
|
1236
|
-
|
|
1237
|
-
const
|
|
1238
|
-
'headers':
|
|
1239
|
-
'method':
|
|
1240
|
-
}),
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
])),
|
|
1244
|
-
for (const
|
|
1245
|
-
const
|
|
1246
|
-
if (!
|
|
1231
|
+
const _0x100a85 = _0x15df04, _0x1c3023 = new URLSearchParams();
|
|
1232
|
+
_0x1c3023[_0x100a85(0x20b)](_0x100a85(_0x552eda._0x3b2559), String(_0x47facc));
|
|
1233
|
+
const _0x293132 = _0x1c3023[_0x100a85(_0x552eda._0x1c1044)](), _0xf32fd8 = await _0x507e4d(_0x100a85(_0x552eda._0x2e69e9) + _0x28783b[_0x100a85(_0x552eda._0x57816e)] + _0x100a85(_0x552eda._0x27178e) + (_0x293132 ? '?' + _0x293132 : ''), {
|
|
1234
|
+
'headers': _0x24f328,
|
|
1235
|
+
'method': _0x100a85(0x1e1)
|
|
1236
|
+
}), _0x5b9966 = _0xf32fd8['data'] ?? [], _0x46dcb1 = _0xf32fd8[_0x100a85(0x1f2)]?.[_0x100a85(0x17a)], _0x5ba7b0 = _0x46dcb1 !== void 0x0 ? Math[_0x100a85(_0x552eda._0x13d4fa)](_0x47facc, _0x46dcb1) : _0x5b9966[_0x100a85(_0x552eda._0x14b44e)] > 0x0 ? Math[_0x100a85(0x2aa)](_0x47facc, _0x5b9966[_0x5b9966['length'] - 0x1][_0x100a85(_0x552eda._0x1a4450)]) : _0x47facc, _0x4031d4 = _0x4fd85b === void 0x0 && _0x3d310b, _0x2cb47e = await _0x2e5012(), _0x311634 = new Map(_0x2cb47e[_0x100a85(_0x552eda._0x40c4f9)][_0x100a85(0x1cc)](_0x405bfc => [
|
|
1237
|
+
_0x405bfc['id'],
|
|
1238
|
+
_0x405bfc
|
|
1239
|
+
])), _0x30bf7e = _0x5b9966[_0x100a85(_0x552eda._0x5e5c1a)](_0x4c4bfa => _0x4c4bfa[_0x100a85(0x1a5)] === _0x100a85(0x14c)), _0x4190d6 = new Map();
|
|
1240
|
+
for (const _0x5d9848 of _0x30bf7e) {
|
|
1241
|
+
const _0x519b0a = asRecord(_0x5d9848[_0x100a85(0x24b)]), _0x26b553 = typeof _0x519b0a[_0x100a85(_0x552eda._0x412af8)] === _0x100a85(_0x552eda._0x4d574b) ? _0x519b0a[_0x100a85(0x1ca)] : '';
|
|
1242
|
+
if (!_0x26b553)
|
|
1247
1243
|
continue;
|
|
1248
|
-
const
|
|
1244
|
+
const _0x95a89c = typeof _0x519b0a[_0x100a85(0x219)] === 'string' ? _0x519b0a[_0x100a85(0x219)] : void 0x0, _0xd1156f = typeof _0x519b0a[_0x100a85(0x227)] === 'string' ? _0x519b0a[_0x100a85(_0x552eda._0x4104b0)] : void 0x0, _0x464ab2 = typeof _0x519b0a['threadNumber'] === _0x100a85(0x29c) && Number[_0x100a85(0x2b4)](_0x519b0a[_0x100a85(0x245)]) ? _0x519b0a[_0x100a85(0x245)] : void 0x0, _0x1864cf = Boolean(_0x95a89c && (!_0xd1156f || _0x5d9848['aggregateId'] !== _0xd1156f)), _0x449644 = _0x1864cf ? _0x26b553 + ':' + _0x95a89c : _0x26b553, _0x3a58f4 = _0x4190d6[_0x100a85(_0x552eda._0x5954bc)](_0x449644) ?? {
|
|
1249
1245
|
'aggregateIds': [],
|
|
1250
|
-
'channelId':
|
|
1246
|
+
'channelId': _0x26b553,
|
|
1251
1247
|
'entries': new Map(),
|
|
1252
|
-
'isThreadReply':
|
|
1253
|
-
'rootMessageId':
|
|
1254
|
-
'threadNumber':
|
|
1255
|
-
'threadId':
|
|
1248
|
+
'isThreadReply': _0x1864cf,
|
|
1249
|
+
'rootMessageId': _0xd1156f,
|
|
1250
|
+
'threadNumber': _0x464ab2,
|
|
1251
|
+
'threadId': _0x1864cf ? _0x95a89c : void 0x0
|
|
1256
1252
|
};
|
|
1257
|
-
|
|
1258
|
-
'payloadJson':
|
|
1259
|
-
'seq':
|
|
1260
|
-
}),
|
|
1253
|
+
_0x3a58f4[_0x100a85(0x245)] == null && _0x464ab2 != null && (_0x3a58f4[_0x100a85(0x245)] = _0x464ab2), !_0x3a58f4[_0x100a85(_0x552eda._0x1726df)] && _0xd1156f && (_0x3a58f4[_0x100a85(_0x552eda._0x1726df)] = _0xd1156f), _0x3a58f4[_0x100a85(0x211)][_0x100a85(_0x552eda._0x70efff)](_0x5d9848[_0x100a85(0x2a9)]), _0x3a58f4[_0x100a85(0x280)][_0x100a85(_0x552eda._0x6e4407)](_0x5d9848['aggregateId'], {
|
|
1254
|
+
'payloadJson': _0x5d9848[_0x100a85(_0x552eda._0x21cc9c)],
|
|
1255
|
+
'seq': _0x5d9848[_0x100a85(_0x552eda._0x1a4450)]
|
|
1256
|
+
}), _0x4190d6[_0x100a85(_0x552eda._0x6e4407)](_0x449644, _0x3a58f4);
|
|
1261
1257
|
}
|
|
1262
|
-
const
|
|
1263
|
-
for (const
|
|
1258
|
+
const _0x12408c = [];
|
|
1259
|
+
for (const _0x28d82e of _0x4190d6[_0x100a85(_0x552eda._0x2d8e34)]()) {
|
|
1264
1260
|
const {
|
|
1265
|
-
channelId:
|
|
1266
|
-
threadId:
|
|
1267
|
-
rootMessageId:
|
|
1268
|
-
threadNumber:
|
|
1269
|
-
aggregateIds:
|
|
1270
|
-
isThreadReply:
|
|
1271
|
-
entries:
|
|
1272
|
-
} =
|
|
1273
|
-
'channelTarget':
|
|
1274
|
-
'rootMessageId':
|
|
1275
|
-
'threadId':
|
|
1276
|
-
'threadNumber':
|
|
1277
|
-
},
|
|
1278
|
-
'channelId':
|
|
1279
|
-
'channelTarget':
|
|
1280
|
-
'limit': Math[
|
|
1281
|
-
'threadId':
|
|
1282
|
-
}),
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
])),
|
|
1286
|
-
for (const
|
|
1287
|
-
if (!
|
|
1261
|
+
channelId: _0x2564ed,
|
|
1262
|
+
threadId: _0x5b819b,
|
|
1263
|
+
rootMessageId: _0x16ead0,
|
|
1264
|
+
threadNumber: _0x2859db,
|
|
1265
|
+
aggregateIds: _0x408da8,
|
|
1266
|
+
isThreadReply: _0x384950,
|
|
1267
|
+
entries: _0x4e1fcb
|
|
1268
|
+
} = _0x28d82e, _0xe23989 = _0x311634[_0x100a85(_0x552eda._0x5954bc)](_0x2564ed), _0x2b50a7 = _0xe23989?.[_0x100a85(_0x552eda._0x5da919)] ?? _0x2564ed, _0x8049a8 = _0xe23989?.['kind'] === 'dm' ? _0x100a85(_0x552eda._0x1fcebd) + _0x2b50a7 : '#' + _0x2b50a7, _0xd0164d = {
|
|
1269
|
+
'channelTarget': _0x8049a8,
|
|
1270
|
+
'rootMessageId': _0x16ead0,
|
|
1271
|
+
'threadId': _0x5b819b,
|
|
1272
|
+
'threadNumber': _0x2859db
|
|
1273
|
+
}, _0x5eb95e = await _0x198f31({
|
|
1274
|
+
'channelId': _0x2564ed,
|
|
1275
|
+
'channelTarget': _0x8049a8,
|
|
1276
|
+
'limit': Math[_0x100a85(_0x552eda._0x13d4fa)](_0x408da8[_0x100a85(_0x552eda._0xa696c3)], 0x32),
|
|
1277
|
+
'threadId': _0x5b819b
|
|
1278
|
+
}), _0x534589 = new Map(_0x5eb95e[_0x100a85(_0x552eda._0x186dc5)][_0x100a85(_0x552eda._0x36c6eb)](_0x223e0c => [
|
|
1279
|
+
_0x223e0c[_0x100a85(0x1e9)],
|
|
1280
|
+
_0x223e0c
|
|
1281
|
+
])), _0x329084 = _0x5b819b ? _0x2e0fa9(_0xd0164d) : _0x8049a8, _0x17f2cc = _0x4fd85b ? _0x384950 && _0x2cd130(_0x4fd85b, _0xd0164d) : !![], _0x3c900e = _0x384950 ? _0x17f2cc && _0x4fd85b ? _0x4fd85b : _0x329084 : _0x8049a8;
|
|
1282
|
+
for (const _0x55fcd7 of _0x408da8) {
|
|
1283
|
+
if (!_0x17f2cc)
|
|
1288
1284
|
continue;
|
|
1289
|
-
const
|
|
1290
|
-
if (
|
|
1285
|
+
const _0x5a21a0 = _0x4e1fcb[_0x100a85(0x25f)](_0x55fcd7), _0x39a602 = _0x5a21a0 ? asRecord(_0x5a21a0[_0x100a85(0x24b)]) : void 0x0, _0x699e05 = _0x39a602?.[_0x100a85(0x246)] === _0x100a85(0x2a6);
|
|
1286
|
+
if (_0x4031d4 && _0x699e05)
|
|
1291
1287
|
continue;
|
|
1292
|
-
const
|
|
1293
|
-
if (
|
|
1294
|
-
|
|
1295
|
-
'attachments':
|
|
1296
|
-
'content':
|
|
1297
|
-
'createdAt':
|
|
1298
|
-
'messageId':
|
|
1299
|
-
'senderName':
|
|
1300
|
-
'senderType':
|
|
1301
|
-
'target':
|
|
1302
|
-
...
|
|
1288
|
+
const _0x315f6e = _0x534589[_0x100a85(0x25f)](_0x55fcd7);
|
|
1289
|
+
if (_0x315f6e) {
|
|
1290
|
+
_0x12408c[_0x100a85(_0x552eda._0xcf205b)]({
|
|
1291
|
+
'attachments': _0x315f6e[_0x100a85(0x163)],
|
|
1292
|
+
'content': _0x315f6e[_0x100a85(0x249)],
|
|
1293
|
+
'createdAt': _0x315f6e[_0x100a85(0x279)],
|
|
1294
|
+
'messageId': _0x315f6e[_0x100a85(0x1e9)],
|
|
1295
|
+
'senderName': _0x315f6e[_0x100a85(_0x552eda._0x3f4dca)],
|
|
1296
|
+
'senderType': _0x315f6e[_0x100a85(0x22d)],
|
|
1297
|
+
'target': _0x3c900e,
|
|
1298
|
+
..._0x699e05 ? { 'targetedTask': !![] } : {}
|
|
1303
1299
|
});
|
|
1304
1300
|
continue;
|
|
1305
1301
|
}
|
|
1306
|
-
if (
|
|
1307
|
-
const
|
|
1308
|
-
|
|
1302
|
+
if (_0x5a21a0) {
|
|
1303
|
+
const _0x627997 = typeof _0x39a602?.['senderParticipantId'] === _0x100a85(_0x552eda._0x5de9e9) ? _0x39a602[_0x100a85(_0x552eda._0x2a73ae)] : '', _0x472136 = typeof _0x39a602?.[_0x100a85(0x1b9)] === _0x100a85(0x1e8) ? _0x39a602[_0x100a85(0x1b9)] : '';
|
|
1304
|
+
_0x627997 && _0x472136 && _0x12408c[_0x100a85(0x21f)]({
|
|
1309
1305
|
'attachments': [],
|
|
1310
|
-
'content':
|
|
1311
|
-
'createdAt': new Date()[
|
|
1312
|
-
'messageId':
|
|
1313
|
-
'senderName':
|
|
1314
|
-
'senderType':
|
|
1315
|
-
'target':
|
|
1316
|
-
...
|
|
1306
|
+
'content': _0x472136,
|
|
1307
|
+
'createdAt': new Date()[_0x100a85(_0x552eda._0x37bb7c)](),
|
|
1308
|
+
'messageId': _0x55fcd7,
|
|
1309
|
+
'senderName': _0x627997,
|
|
1310
|
+
'senderType': _0x307a72(_0x627997, _0x2cb47e),
|
|
1311
|
+
'target': _0x3c900e,
|
|
1312
|
+
..._0x699e05 ? { 'targetedTask': !![] } : {}
|
|
1317
1313
|
});
|
|
1318
1314
|
}
|
|
1319
1315
|
}
|
|
1320
1316
|
}
|
|
1321
|
-
if (
|
|
1322
|
-
if (
|
|
1323
|
-
await
|
|
1317
|
+
if (_0x5ba7b0 > 0x0) {
|
|
1318
|
+
if (_0x1d4ce3)
|
|
1319
|
+
await _0x371f0c(_0x5ba7b0);
|
|
1324
1320
|
else
|
|
1325
|
-
|
|
1321
|
+
_0x19949b && await _0xf639af(_0x5ba7b0);
|
|
1326
1322
|
}
|
|
1327
|
-
return
|
|
1323
|
+
return _0x5ba7b0 > _0x47facc && (_0x47facc = _0x5ba7b0), { 'messages': _0x4fd85b ? _0x12408c : _0x4031d4 ? _0x12408c[_0x100a85(_0x552eda._0x5e5c1a)](_0x435235 => _0x435235[_0x100a85(0x289)] !== !![]) : _0x12408c };
|
|
1328
1324
|
}
|
|
1329
1325
|
};
|
|
1330
1326
|
}
|
|
1331
|
-
function toLocalTime(
|
|
1332
|
-
const
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1327
|
+
function toLocalTime(_0xc39391) {
|
|
1328
|
+
const _0x4c19d0 = {
|
|
1329
|
+
_0x28ae69: 0x261,
|
|
1330
|
+
_0x1004c0: 0x204,
|
|
1331
|
+
_0x3b80b8: 0x200,
|
|
1332
|
+
_0x4d5d7f: 0x173,
|
|
1333
|
+
_0x3d314f: 0x26f
|
|
1334
|
+
}, _0x271e93 = _0x48b8fe, _0x1dd66f = new Date(_0xc39391);
|
|
1335
|
+
if (Number[_0x271e93(_0x4c19d0._0x28ae69)](_0x1dd66f[_0x271e93(0x184)]()))
|
|
1336
|
+
return _0xc39391;
|
|
1337
|
+
const _0x4ddda1 = _0x322576 => String(_0x322576)[_0x271e93(0x22b)](0x2, '0');
|
|
1338
|
+
return _0x1dd66f[_0x271e93(0x2c1)]() + '-' + _0x4ddda1(_0x1dd66f[_0x271e93(_0x4c19d0._0x1004c0)]() + 0x1) + '-' + _0x4ddda1(_0x1dd66f[_0x271e93(_0x4c19d0._0x3b80b8)]()) + '\x20' + _0x4ddda1(_0x1dd66f[_0x271e93(_0x4c19d0._0x4d5d7f)]()) + ':' + _0x4ddda1(_0x1dd66f['getMinutes']()) + ':' + _0x4ddda1(_0x1dd66f[_0x271e93(_0x4c19d0._0x3d314f)]());
|
|
1337
1339
|
}
|
|
1338
|
-
function formatAttachmentSuffix(
|
|
1339
|
-
const
|
|
1340
|
-
|
|
1341
|
-
_0x3a5f59: 0x1b6,
|
|
1342
|
-
_0x288f1b: 0x1e7,
|
|
1343
|
-
_0x1f0d4c: 0x212,
|
|
1344
|
-
_0x481f36: 0x25b
|
|
1345
|
-
}, _0x169454 = _0x50158a;
|
|
1346
|
-
if (!_0x155985 || _0x155985['length'] === 0x0)
|
|
1340
|
+
function formatAttachmentSuffix(_0x5097e8) {
|
|
1341
|
+
const _0x23b42e = { _0x9f463: 0x291 }, _0x4152b7 = _0x48b8fe;
|
|
1342
|
+
if (!_0x5097e8 || _0x5097e8[_0x4152b7(_0x23b42e._0x9f463)] === 0x0)
|
|
1347
1343
|
return '';
|
|
1348
|
-
return '\x20[' +
|
|
1344
|
+
return '\x20[' + _0x5097e8[_0x4152b7(_0x23b42e._0x9f463)] + '\x20attachment' + (_0x5097e8[_0x4152b7(_0x23b42e._0x9f463)] > 0x1 ? 's' : '') + ':\x20' + _0x5097e8[_0x4152b7(0x1cc)](_0x57b54e => _0x57b54e[_0x4152b7(0x1a4)] + _0x4152b7(0x1af) + _0x57b54e['id'] + ')')[_0x4152b7(0x159)](',\x20') + _0x4152b7(0x1ce);
|
|
1349
1345
|
}
|
|
1350
|
-
function formatCheckMessages(
|
|
1351
|
-
const
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1346
|
+
function formatCheckMessages(_0x40e589) {
|
|
1347
|
+
const _0x855ab7 = {
|
|
1348
|
+
_0x299863: 0x291,
|
|
1349
|
+
_0x47e8e5: 0x159
|
|
1350
|
+
}, _0x335e75 = {
|
|
1351
|
+
_0x4e6a50: 0x1b0,
|
|
1352
|
+
_0x37948c: 0x252,
|
|
1353
|
+
_0x24ad6a: 0x1e9,
|
|
1354
|
+
_0x1c7721: 0x2c4,
|
|
1355
|
+
_0x271263: 0x18c,
|
|
1356
|
+
_0x5d60e7: 0x249
|
|
1357
|
+
}, _0x3adbf8 = _0x48b8fe;
|
|
1358
|
+
if (_0x40e589[_0x3adbf8(_0x855ab7._0x299863)] === 0x0)
|
|
1359
|
+
return _0x3adbf8(0x1d3);
|
|
1360
|
+
return _0x40e589[_0x3adbf8(0x1cc)](_0x2586b5 => {
|
|
1361
|
+
const _0x4e9ff0 = _0x3adbf8, _0xb8d04a = _0x2586b5['senderType'] === _0x4e9ff0(_0x335e75._0x4e6a50) ? _0x4e9ff0(_0x335e75._0x37948c) : '';
|
|
1362
|
+
return _0x4e9ff0(0x157) + _0x2586b5[_0x4e9ff0(0x15b)] + _0x4e9ff0(0x212) + _0x2586b5[_0x4e9ff0(_0x335e75._0x24ad6a)][_0x4e9ff0(_0x335e75._0x1c7721)](0x0, 0x8) + _0x4e9ff0(0x222) + toLocalTime(_0x2586b5['createdAt']) + _0xb8d04a + ']\x20@' + _0x2586b5[_0x4e9ff0(_0x335e75._0x271263)] + ':\x20' + _0x2586b5[_0x4e9ff0(_0x335e75._0x5d60e7)] + formatAttachmentSuffix(_0x2586b5[_0x4e9ff0(0x163)]);
|
|
1363
|
+
})[_0x3adbf8(_0x855ab7._0x47e8e5)]('\x0a');
|
|
1364
1364
|
}
|
|
1365
|
-
function formatHistory(
|
|
1366
|
-
const
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1365
|
+
function formatHistory(_0x1ff15f) {
|
|
1366
|
+
const _0x5414ad = {
|
|
1367
|
+
_0x3436b2: 0x178,
|
|
1368
|
+
_0x103f15: 0x291,
|
|
1369
|
+
_0x5648f2: 0x159,
|
|
1370
|
+
_0x2aa556: 0x292,
|
|
1371
|
+
_0x49816a: 0x294,
|
|
1372
|
+
_0x2061fd: 0x1b6,
|
|
1373
|
+
_0x4b08f9: 0x160,
|
|
1374
|
+
_0x2f8c13: 0x178,
|
|
1375
|
+
_0x403751: 0x203
|
|
1376
|
+
}, _0x3ced6c = {
|
|
1377
|
+
_0x21a08f: 0x252,
|
|
1378
|
+
_0x142971: 0x175,
|
|
1379
|
+
_0x56fd52: 0x26e,
|
|
1380
|
+
_0xde11be: 0x222,
|
|
1381
|
+
_0x3b1963: 0x279,
|
|
1382
|
+
_0x1e59c5: 0x18c,
|
|
1383
|
+
_0x420508: 0x249
|
|
1384
|
+
}, _0x2759c9 = _0x48b8fe;
|
|
1385
|
+
if (_0x1ff15f[_0x2759c9(_0x5414ad._0x3436b2)][_0x2759c9(_0x5414ad._0x103f15)] === 0x0)
|
|
1386
|
+
return _0x2759c9(0x1b6) + _0x1ff15f[_0x2759c9(0x160)] + '\x20(0\x20messages)\x0a\x0aNo\x20messages\x20in\x20this\x20channel.';
|
|
1387
|
+
const _0x4e4b6b = _0x1ff15f[_0x2759c9(_0x5414ad._0x3436b2)][_0x2759c9(0x1cc)](_0x1e9f8a => {
|
|
1388
|
+
const _0x1d0601 = _0x2759c9, _0x1b77cd = _0x1e9f8a[_0x1d0601(0x22d)] === _0x1d0601(0x1b0) ? _0x1d0601(_0x3ced6c._0x21a08f) : '';
|
|
1389
|
+
return _0x1d0601(_0x3ced6c._0x142971) + _0x1e9f8a[_0x1d0601(_0x3ced6c._0x56fd52)] + _0x1d0601(0x212) + _0x1e9f8a[_0x1d0601(0x1e9)] + _0x1d0601(_0x3ced6c._0xde11be) + toLocalTime(_0x1e9f8a[_0x1d0601(_0x3ced6c._0x3b1963)]) + _0x1b77cd + _0x1d0601(0x285) + _0x1e9f8a[_0x1d0601(_0x3ced6c._0x1e59c5)] + ':\x20' + _0x1e9f8a[_0x1d0601(_0x3ced6c._0x420508)] + formatAttachmentSuffix(_0x1e9f8a['attachments']);
|
|
1390
|
+
})[_0x2759c9(_0x5414ad._0x5648f2)]('\x0a'), _0x138882 = _0x1ff15f[_0x2759c9(_0x5414ad._0x2aa556)] && _0x1ff15f[_0x2759c9(0x15f)] ? _0x2759c9(_0x5414ad._0x49816a) + _0x1ff15f[_0x2759c9(_0x5414ad._0x3436b2)][_0x2759c9(_0x5414ad._0x103f15)] + '\x20messages\x20shown.\x20Use\x20before=' + _0x1ff15f[_0x2759c9(0x15f)] + '\x20to\x20load\x20older\x20messages.\x20---' : '';
|
|
1391
|
+
return _0x2759c9(_0x5414ad._0x2061fd) + _0x1ff15f[_0x2759c9(_0x5414ad._0x4b08f9)] + '\x20(' + _0x1ff15f[_0x2759c9(_0x5414ad._0x2f8c13)][_0x2759c9(_0x5414ad._0x103f15)] + _0x2759c9(_0x5414ad._0x403751) + _0x4e4b6b + _0x138882;
|
|
1389
1392
|
}
|
|
1390
|
-
function formatServerDirectory(
|
|
1391
|
-
const
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
},
|
|
1393
|
+
function formatServerDirectory(_0x3c106c) {
|
|
1394
|
+
const _0x22806d = {
|
|
1395
|
+
_0x4a70c5: 0x291,
|
|
1396
|
+
_0x3e356a: 0x193,
|
|
1397
|
+
_0x3c27ef: 0x1cc,
|
|
1398
|
+
_0x5adf82: 0x193,
|
|
1399
|
+
_0x4344b5: 0x159,
|
|
1400
|
+
_0x5b5c14: 0x1fc,
|
|
1401
|
+
_0x1208c9: 0x151
|
|
1402
|
+
}, _0x610511 = _0x48b8fe, _0x5c0527 = _0x3c106c['channels'][_0x610511(_0x22806d._0x4a70c5)] > 0x0 ? _0x3c106c['channels']['map'](_0x55d500 => _0x55d500[_0x610511(0x1e2)] ? _0x610511(0x1db) + _0x55d500[_0x610511(0x231)] + _0x610511(0x2bc) + _0x55d500[_0x610511(0x1e2)] : _0x610511(0x1db) + _0x55d500[_0x610511(0x231)])[_0x610511(0x159)]('\x0a') : _0x610511(_0x22806d._0x3e356a), _0x155c86 = _0x3c106c['agents']['length'] > 0x0 ? _0x3c106c[_0x610511(0x253)][_0x610511(_0x22806d._0x3c27ef)](_0x15c1af => _0x610511(0x275) + _0x15c1af[_0x610511(0x231)])['join']('\x0a') : _0x610511(_0x22806d._0x5adf82), _0x1b6e70 = _0x3c106c[_0x610511(0x217)][_0x610511(0x291)] > 0x0 ? _0x3c106c['humans'][_0x610511(_0x22806d._0x3c27ef)](_0x208baa => '-\x20@' + _0x208baa[_0x610511(0x231)])[_0x610511(_0x22806d._0x4344b5)]('\x0a') : _0x610511(0x193);
|
|
1400
1403
|
return [
|
|
1401
|
-
'##\x20Server:\x20' +
|
|
1404
|
+
'##\x20Server:\x20' + _0x3c106c[_0x610511(_0x22806d._0x5b5c14)],
|
|
1402
1405
|
'',
|
|
1403
|
-
|
|
1404
|
-
|
|
1406
|
+
_0x610511(0x2b1),
|
|
1407
|
+
_0x5c0527,
|
|
1405
1408
|
'',
|
|
1406
|
-
|
|
1407
|
-
|
|
1409
|
+
_0x610511(_0x22806d._0x1208c9),
|
|
1410
|
+
_0x155c86,
|
|
1408
1411
|
'',
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
][
|
|
1412
|
+
'###\x20Humans',
|
|
1413
|
+
_0x1b6e70
|
|
1414
|
+
]['join']('\x0a');
|
|
1412
1415
|
}
|
|
1413
|
-
function formatUploadResult(
|
|
1414
|
-
const
|
|
1415
|
-
|
|
1416
|
+
function formatUploadResult(_0x16142c) {
|
|
1417
|
+
const _0x5ccbf6 = {
|
|
1418
|
+
_0x4abed6: 0x27c,
|
|
1419
|
+
_0x560c1d: 0x187
|
|
1420
|
+
}, _0x266088 = _0x48b8fe;
|
|
1421
|
+
return _0x266088(_0x5ccbf6._0x4abed6) + _0x16142c[_0x266088(0x1a4)] + '\x20(' + (_0x16142c[_0x266088(_0x5ccbf6._0x560c1d)] / 0x400)[_0x266088(0x25d)](0x1) + 'KB)\x0aAttachment\x20ID:\x20' + _0x16142c[_0x266088(0x185)] + '\x0a\x0aUse\x20this\x20ID\x20in\x20send_message\x27s\x20attachment_ids\x20parameter\x20to\x20include\x20it\x20in\x20a\x20message.';
|
|
1416
1422
|
}
|
|
1417
|
-
function formatViewFileResult(
|
|
1418
|
-
const
|
|
1419
|
-
return
|
|
1420
|
-
}
|
|
1421
|
-
function _0x3051(_0x4ba707, _0x2b2b20) {
|
|
1422
|
-
_0x4ba707 = _0x4ba707 - 0x138;
|
|
1423
|
-
const _0x570637 = _0x5706();
|
|
1424
|
-
let _0x305101 = _0x570637[_0x4ba707];
|
|
1425
|
-
if (_0x3051['eWSlKi'] === undefined) {
|
|
1426
|
-
var _0x278bd3 = function (_0x2037a1) {
|
|
1427
|
-
const _0x32c933 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
1428
|
-
let _0x37f362 = '', _0x2dfbd0 = '';
|
|
1429
|
-
for (let _0x246908 = 0x0, _0x1f58b6, _0x2e8719, _0x4ff0c5 = 0x0; _0x2e8719 = _0x2037a1['charAt'](_0x4ff0c5++); ~_0x2e8719 && (_0x1f58b6 = _0x246908 % 0x4 ? _0x1f58b6 * 0x40 + _0x2e8719 : _0x2e8719, _0x246908++ % 0x4) ? _0x37f362 += String['fromCharCode'](0xff & _0x1f58b6 >> (-0x2 * _0x246908 & 0x6)) : 0x0) {
|
|
1430
|
-
_0x2e8719 = _0x32c933['indexOf'](_0x2e8719);
|
|
1431
|
-
}
|
|
1432
|
-
for (let _0x2b609e = 0x0, _0xafd811 = _0x37f362['length']; _0x2b609e < _0xafd811; _0x2b609e++) {
|
|
1433
|
-
_0x2dfbd0 += '%' + ('00' + _0x37f362['charCodeAt'](_0x2b609e)['toString'](0x10))['slice'](-0x2);
|
|
1434
|
-
}
|
|
1435
|
-
return decodeURIComponent(_0x2dfbd0);
|
|
1436
|
-
};
|
|
1437
|
-
_0x3051['CnYAhu'] = _0x278bd3, _0x3051['EolWpC'] = {}, _0x3051['eWSlKi'] = !![];
|
|
1438
|
-
}
|
|
1439
|
-
const _0x34bd47 = _0x570637[0x0], _0x4a186a = _0x4ba707 + _0x34bd47, _0x3cd3b0 = _0x3051['EolWpC'][_0x4a186a];
|
|
1440
|
-
return !_0x3cd3b0 ? (_0x305101 = _0x3051['CnYAhu'](_0x305101), _0x3051['EolWpC'][_0x4a186a] = _0x305101) : _0x305101 = _0x3cd3b0, _0x305101;
|
|
1423
|
+
function formatViewFileResult(_0x35a82e, _0x972e9c) {
|
|
1424
|
+
const _0x2c5025 = { _0x5acbbe: 0x1dc }, _0x5a0d90 = _0x48b8fe;
|
|
1425
|
+
return _0x972e9c ? _0x5a0d90(0x24c) + _0x35a82e : _0x5a0d90(_0x2c5025._0x5acbbe) + _0x35a82e;
|
|
1441
1426
|
}
|
|
1442
|
-
function formatTaskList(
|
|
1443
|
-
const
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1427
|
+
function formatTaskList(_0x4cfea7, _0x43a6ce) {
|
|
1428
|
+
const _0x6dd38c = {
|
|
1429
|
+
_0x21f421: 0x1cc,
|
|
1430
|
+
_0x22eb3e: 0x159
|
|
1431
|
+
}, _0x2febd9 = {
|
|
1432
|
+
_0x3e7702: 0x258,
|
|
1433
|
+
_0x28d41a: 0x258,
|
|
1434
|
+
_0x4a322f: 0x1e9,
|
|
1435
|
+
_0x312ae8: 0x258
|
|
1436
|
+
}, _0x4feedf = _0x48b8fe;
|
|
1437
|
+
if (_0x4cfea7[_0x4feedf(0x291)] === 0x0)
|
|
1438
|
+
return _0x4feedf(0x1f1);
|
|
1439
|
+
return _0x4cfea7[_0x4feedf(_0x6dd38c._0x21f421)](_0xc737dd => {
|
|
1440
|
+
const _0x4405b9 = _0x4feedf, _0x349eed = _0xc737dd[_0x4405b9(_0x2febd9._0x3e7702)] == null ? '(legacy)' : '#' + _0xc737dd[_0x4405b9(_0x2febd9._0x28d41a)], _0x1dfed4 = _0xc737dd[_0x4405b9(_0x2febd9._0x4a322f)] ? '\x20message=' + _0xc737dd[_0x4405b9(0x1e9)] : '', _0x4999ca = _0x43a6ce && _0xc737dd[_0x4405b9(_0x2febd9._0x312ae8)] != null && _0x43a6ce[_0x4405b9(0x1a3)](_0xc737dd['taskNumber']) ? '\x20executionMode=worker' : '';
|
|
1441
|
+
return _0x349eed + '\x20[' + _0xc737dd['status'] + ']\x20' + _0xc737dd[_0x4405b9(0x221)] + _0x1dfed4 + _0x4999ca;
|
|
1442
|
+
})[_0x4feedf(_0x6dd38c._0x22eb3e)]('\x0a');
|
|
1454
1443
|
}
|
|
1455
|
-
function formatCreatedTasks(
|
|
1456
|
-
const
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
},
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1444
|
+
function formatCreatedTasks(_0x1a011c) {
|
|
1445
|
+
const _0x418de9 = {
|
|
1446
|
+
_0x17ae6a: 0x291,
|
|
1447
|
+
_0x339ab6: 0x1cc
|
|
1448
|
+
}, _0x4c4833 = {
|
|
1449
|
+
_0xc2279d: 0x258,
|
|
1450
|
+
_0xda9b45: 0x290,
|
|
1451
|
+
_0x41ca11: 0x209
|
|
1452
|
+
}, _0x37479d = _0x48b8fe;
|
|
1453
|
+
if (_0x1a011c[_0x37479d(_0x418de9._0x17ae6a)] === 0x0)
|
|
1454
|
+
return 'No\x20tasks\x20created.';
|
|
1455
|
+
return _0x1a011c[_0x37479d(_0x418de9._0x339ab6)](_0x5dd876 => {
|
|
1456
|
+
const _0x3ef91c = _0x37479d, _0x4c097b = _0x5dd876[_0x3ef91c(_0x4c4833._0xc2279d)] == null ? _0x3ef91c(_0x4c4833._0xda9b45) : '#' + _0x5dd876[_0x3ef91c(_0x4c4833._0xc2279d)];
|
|
1457
|
+
return _0x4c097b + '\x20' + _0x5dd876['title'] + _0x3ef91c(_0x4c4833._0x41ca11) + _0x5dd876['messageId'];
|
|
1458
|
+
})[_0x37479d(0x159)]('\x0a');
|
|
1466
1459
|
}
|
|
1467
|
-
function formatClaimTaskResults(
|
|
1468
|
-
const
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1460
|
+
function formatClaimTaskResults(_0x26b86d) {
|
|
1461
|
+
const _0x25f9d8 = {
|
|
1462
|
+
_0x19972a: 0x291,
|
|
1463
|
+
_0xb7264f: 0x199,
|
|
1464
|
+
_0x458f52: 0x1cc,
|
|
1465
|
+
_0x481093: 0x159
|
|
1466
|
+
}, _0x4c40e4 = {
|
|
1467
|
+
_0x1a1f32: 0x290,
|
|
1468
|
+
_0x47fa4f: 0x1e9,
|
|
1469
|
+
_0x3191b8: 0x20e,
|
|
1470
|
+
_0x157a6d: 0x1be,
|
|
1471
|
+
_0x6e1954: 0x270,
|
|
1472
|
+
_0x442c43: 0x297,
|
|
1473
|
+
_0xc09411: 0x164,
|
|
1474
|
+
_0x3c9514: 0x22c,
|
|
1475
|
+
_0x27e885: 0x22c,
|
|
1476
|
+
_0x3aed3f: 0x159
|
|
1477
|
+
}, _0x16ee0b = _0x48b8fe;
|
|
1478
|
+
if (_0x26b86d[_0x16ee0b(_0x25f9d8._0x19972a)] === 0x0)
|
|
1479
|
+
return _0x16ee0b(_0x25f9d8._0xb7264f);
|
|
1480
|
+
return _0x26b86d[_0x16ee0b(_0x25f9d8._0x458f52)](_0x330ebe => {
|
|
1481
|
+
const _0x1c3250 = _0x16ee0b;
|
|
1482
|
+
if (_0x330ebe['success']) {
|
|
1483
|
+
const _0x5a7c96 = _0x330ebe[_0x1c3250(0x258)] == null ? _0x1c3250(_0x4c40e4._0x1a1f32) : '#' + _0x330ebe[_0x1c3250(0x258)], _0x5b4a7b = _0x330ebe[_0x1c3250(_0x4c40e4._0x47fa4f)] ? _0x1c3250(0x209) + _0x330ebe[_0x1c3250(_0x4c40e4._0x47fa4f)] : '', _0x6008a0 = _0x330ebe[_0x1c3250(_0x4c40e4._0x3191b8)] ? [
|
|
1484
|
+
'workerHandoff=true',
|
|
1485
|
+
_0x330ebe[_0x1c3250(_0x4c40e4._0x157a6d)] ? _0x1c3250(0x150) : null,
|
|
1486
|
+
_0x330ebe[_0x1c3250(0x297)] ? _0x1c3250(_0x4c40e4._0x6e1954) + _0x330ebe[_0x1c3250(_0x4c40e4._0x442c43)] : null,
|
|
1487
|
+
_0x330ebe[_0x1c3250(_0x4c40e4._0xc09411)] ? _0x1c3250(0x16d) + _0x330ebe[_0x1c3250(_0x4c40e4._0xc09411)] : null,
|
|
1488
|
+
_0x330ebe[_0x1c3250(_0x4c40e4._0x3c9514)] ? 'workerDisposition=' + _0x330ebe[_0x1c3250(_0x4c40e4._0x27e885)] : null
|
|
1489
|
+
][_0x1c3250(0x22f)](Boolean)[_0x1c3250(0x159)]('\x20') : _0x330ebe[_0x1c3250(0x1c3)] ? _0x1c3250(0x25b) + _0x330ebe[_0x1c3250(0x1c3)] : '';
|
|
1493
1490
|
return [
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
][
|
|
1491
|
+
_0x5a7c96 + _0x1c3250(0x20f) + _0x5b4a7b,
|
|
1492
|
+
_0x6008a0
|
|
1493
|
+
][_0x1c3250(0x22f)](Boolean)[_0x1c3250(_0x4c40e4._0x3aed3f)]('\x20');
|
|
1497
1494
|
}
|
|
1498
|
-
const
|
|
1499
|
-
return
|
|
1500
|
-
})[
|
|
1495
|
+
const _0x484e8b = _0x330ebe[_0x1c3250(0x258)] == null ? _0x330ebe['messageId'] ?? _0x1c3250(0x1fa) : '#' + _0x330ebe[_0x1c3250(0x258)];
|
|
1496
|
+
return _0x484e8b + _0x1c3250(0x166) + (_0x330ebe[_0x1c3250(0x255)] ?? _0x1c3250(0x174));
|
|
1497
|
+
})[_0x16ee0b(_0x25f9d8._0x481093)]('\x0a');
|
|
1501
1498
|
}
|
|
1502
|
-
function formatUnclaimTaskResult(
|
|
1503
|
-
const
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1499
|
+
function formatUnclaimTaskResult(_0x187c91) {
|
|
1500
|
+
const _0x427bc1 = {
|
|
1501
|
+
_0xd5a3d7: 0x258,
|
|
1502
|
+
_0x411195: 0x290,
|
|
1503
|
+
_0x88ce28: 0x25a,
|
|
1504
|
+
_0x4b56d8: 0x269
|
|
1505
|
+
}, _0x4c47d6 = _0x48b8fe, _0x5158bd = _0x187c91[_0x4c47d6(_0x427bc1._0xd5a3d7)] == null ? _0x4c47d6(_0x427bc1._0x411195) : '#' + _0x187c91['taskNumber'];
|
|
1506
|
+
return _0x5158bd + _0x4c47d6(_0x427bc1._0x88ce28) + _0x187c91[_0x4c47d6(_0x427bc1._0x4b56d8)];
|
|
1508
1507
|
}
|
|
1509
|
-
function formatUpdateTaskStatusResult(
|
|
1510
|
-
const
|
|
1511
|
-
|
|
1508
|
+
function formatUpdateTaskStatusResult(_0x29e63a) {
|
|
1509
|
+
const _0x138e25 = {
|
|
1510
|
+
_0x2439f9: 0x258,
|
|
1511
|
+
_0x120f6e: 0x25a
|
|
1512
|
+
}, _0x11fcf3 = _0x48b8fe, _0x5af0a7 = _0x29e63a[_0x11fcf3(_0x138e25._0x2439f9)] == null ? _0x11fcf3(0x290) : '#' + _0x29e63a[_0x11fcf3(0x258)];
|
|
1513
|
+
return _0x5af0a7 + _0x11fcf3(_0x138e25._0x120f6e) + _0x29e63a[_0x11fcf3(0x269)];
|
|
1512
1514
|
}
|
|
1513
1515
|
function getChatBridgeToolDefinitions() {
|
|
1514
|
-
const
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
_0x4b6a00: 0x189,
|
|
1519
|
-
_0x1334f9: 0x14b,
|
|
1520
|
-
_0xeab99b: 0x2a0,
|
|
1521
|
-
_0x3ebe24: 0x14f,
|
|
1522
|
-
_0xb3ac6c: 0x1f0,
|
|
1523
|
-
_0x26fba0: 0x21a
|
|
1524
|
-
}, _0x443517 = _0x50158a;
|
|
1516
|
+
const _0xf4b8a3 = {
|
|
1517
|
+
_0x44365e: 0x282,
|
|
1518
|
+
_0x30191f: 0x23b
|
|
1519
|
+
}, _0x3735cb = _0x48b8fe;
|
|
1525
1520
|
return [
|
|
1526
|
-
{ 'name':
|
|
1527
|
-
{ 'name':
|
|
1528
|
-
{ 'name':
|
|
1529
|
-
{ 'name':
|
|
1530
|
-
{ 'name':
|
|
1531
|
-
{ 'name':
|
|
1532
|
-
{ 'name':
|
|
1533
|
-
{ 'name':
|
|
1534
|
-
{ 'name':
|
|
1535
|
-
{ 'name':
|
|
1536
|
-
{ 'name':
|
|
1537
|
-
{ 'name':
|
|
1538
|
-
{ 'name':
|
|
1539
|
-
{ 'name':
|
|
1540
|
-
{ 'name':
|
|
1521
|
+
{ 'name': _0x3735cb(0x21a) },
|
|
1522
|
+
{ 'name': 'check_messages' },
|
|
1523
|
+
{ 'name': _0x3735cb(0x250) },
|
|
1524
|
+
{ 'name': _0x3735cb(_0xf4b8a3._0x44365e) },
|
|
1525
|
+
{ 'name': 'upload_file' },
|
|
1526
|
+
{ 'name': _0x3735cb(_0xf4b8a3._0x30191f) },
|
|
1527
|
+
{ 'name': 'list_tasks' },
|
|
1528
|
+
{ 'name': _0x3735cb(0x156) },
|
|
1529
|
+
{ 'name': _0x3735cb(0x2bf) },
|
|
1530
|
+
{ 'name': 'unclaim_task' },
|
|
1531
|
+
{ 'name': _0x3735cb(0x1c0) },
|
|
1532
|
+
{ 'name': _0x3735cb(0x18a) },
|
|
1533
|
+
{ 'name': 'get_worker_result' },
|
|
1534
|
+
{ 'name': 'finish_worker' },
|
|
1535
|
+
{ 'name': _0x3735cb(0x1f0) },
|
|
1541
1536
|
{ 'name': 'mark_waiting_input' }
|
|
1542
1537
|
];
|
|
1543
1538
|
}
|
|
1544
|
-
function createChatBridgeHandlers(
|
|
1545
|
-
const
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
},
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
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
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
},
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1539
|
+
function createChatBridgeHandlers(_0x44d86a) {
|
|
1540
|
+
const _0x98b424 = {
|
|
1541
|
+
_0x45d291: 0x2c5,
|
|
1542
|
+
_0x45ac3a: 0x1dd,
|
|
1543
|
+
_0x1acaa6: 0x1a0,
|
|
1544
|
+
_0x61ad13: 0x1a8,
|
|
1545
|
+
_0x6fdd0a: 0x1d0,
|
|
1546
|
+
_0x36e021: 0x1b3,
|
|
1547
|
+
_0x296d50: 0x1d6
|
|
1548
|
+
}, _0x1dfb6f = {
|
|
1549
|
+
_0x36fd3d: 0x207,
|
|
1550
|
+
_0x43fdd0: 0x29b,
|
|
1551
|
+
_0x1249b9: 0x256,
|
|
1552
|
+
_0x1b3088: 0x1a2,
|
|
1553
|
+
_0x38ac8b: 0x1d0,
|
|
1554
|
+
_0x52ebd0: 0x153,
|
|
1555
|
+
_0xf24c60: 0x168
|
|
1556
|
+
}, _0x4bb81d = {
|
|
1557
|
+
_0x5485dc: 0x1dd,
|
|
1558
|
+
_0x529f05: 0x1a2,
|
|
1559
|
+
_0x2f2628: 0x1a0,
|
|
1560
|
+
_0x565958: 0x168,
|
|
1561
|
+
_0xd7482b: 0x192,
|
|
1562
|
+
_0x7216a3: 0x154,
|
|
1563
|
+
_0x47e1bd: 0x1b8
|
|
1564
|
+
}, _0x160634 = {
|
|
1565
|
+
_0x3d8d1d: 0x238,
|
|
1566
|
+
_0x2d8674: 0x2b2,
|
|
1567
|
+
_0x362a01: 0x1a8,
|
|
1568
|
+
_0x25b977: 0x2cb,
|
|
1569
|
+
_0x574825: 0x168,
|
|
1570
|
+
_0x10b79d: 0x1a0
|
|
1571
|
+
}, _0x42a874 = {
|
|
1572
|
+
_0x158930: 0x238,
|
|
1573
|
+
_0x53216b: 0x23f,
|
|
1574
|
+
_0x2fe016: 0x153,
|
|
1575
|
+
_0x3dfa0b: 0x168
|
|
1576
|
+
}, _0x4e77c3 = {
|
|
1577
|
+
_0x1c571d: 0x172,
|
|
1578
|
+
_0x2baec6: 0x281,
|
|
1579
|
+
_0x35729b: 0x2a0,
|
|
1580
|
+
_0x1050b8: 0x281,
|
|
1581
|
+
_0x47a1e2: 0x262,
|
|
1582
|
+
_0x13f879: 0x272,
|
|
1583
|
+
_0x3e786d: 0x2b9,
|
|
1584
|
+
_0x13de4b: 0x223,
|
|
1585
|
+
_0x27b681: 0x1bb
|
|
1586
|
+
}, _0x30f9f1 = {
|
|
1587
|
+
_0x2e26f1: 0x1ea,
|
|
1588
|
+
_0x3af8ed: 0x2a0,
|
|
1589
|
+
_0xa44fa7: 0x22e,
|
|
1590
|
+
_0x475eec: 0x160
|
|
1591
|
+
}, _0x3b4f3d = { _0x48becb: 0x1c7 }, _0x2c668c = {
|
|
1592
|
+
_0x2c0872: 0x14d,
|
|
1593
|
+
_0x326244: 0x16b,
|
|
1594
|
+
_0x4cbd7c: 0x17f
|
|
1595
|
+
}, _0x1791fc = {
|
|
1596
|
+
_0x446a7c: 0x1e9,
|
|
1597
|
+
_0x154430: 0x258,
|
|
1598
|
+
_0x247688: 0x14c,
|
|
1599
|
+
_0x46e0e0: 0x1e4
|
|
1600
|
+
}, _0x521806 = { _0x120e62: 0x274 }, _0x5d0873 = {
|
|
1601
|
+
_0x5cd2ee: 0x238,
|
|
1602
|
+
_0x2f58bf: 0x207,
|
|
1603
|
+
_0x3a4331: 0x160,
|
|
1604
|
+
_0x907a6: 0x269,
|
|
1605
|
+
_0xaff1e2: 0x2c4,
|
|
1606
|
+
_0x104cb6: 0x1ff,
|
|
1607
|
+
_0x2ed979: 0x26a,
|
|
1608
|
+
_0x555c3c: 0x25c,
|
|
1609
|
+
_0x5d08fe: 0x258,
|
|
1610
|
+
_0x17f912: 0x1ff,
|
|
1611
|
+
_0x15a337: 0x258
|
|
1612
|
+
}, _0x408dcd = { _0x266ccb: 0x24f }, _0x954f54 = {
|
|
1613
|
+
_0x176bcc: 0x2b5,
|
|
1614
|
+
_0x200972: 0x178,
|
|
1615
|
+
_0x329de4: 0x178
|
|
1616
|
+
}, _0x55a244 = {
|
|
1617
|
+
_0x541c27: 0x2b5,
|
|
1618
|
+
_0x16e848: 0x28d,
|
|
1619
|
+
_0x5a4e9a: 0x15b,
|
|
1620
|
+
_0x5371ea: 0x28b,
|
|
1621
|
+
_0x5e3dd0: 0x290,
|
|
1622
|
+
_0x4eb0b3: 0x15b,
|
|
1623
|
+
_0x31dbda: 0x219,
|
|
1624
|
+
_0x1aa829: 0x2c4,
|
|
1625
|
+
_0x85bf86: 0x238,
|
|
1626
|
+
_0x53e3cc: 0x1aa,
|
|
1627
|
+
_0x274fff: 0x1a8,
|
|
1628
|
+
_0x194a0e: 0x195,
|
|
1629
|
+
_0x1f8447: 0x2ca,
|
|
1630
|
+
_0x14ddec: 0x230,
|
|
1631
|
+
_0x59d342: 0x288,
|
|
1632
|
+
_0x129a3d: 0x1ec,
|
|
1633
|
+
_0x199732: 0x159,
|
|
1634
|
+
_0x5b86fe: 0x2a0,
|
|
1635
|
+
_0x188bce: 0x249,
|
|
1636
|
+
_0x1f5fde: 0x19a,
|
|
1637
|
+
_0x2eda18: 0x1e9
|
|
1638
|
+
}, _0x2d1e81 = {
|
|
1639
|
+
_0x2f22e6: 0x207,
|
|
1640
|
+
_0x29730a: 0x1a8,
|
|
1641
|
+
_0x19d41b: 0x284,
|
|
1642
|
+
_0xfbc3e0: 0x1ff
|
|
1643
|
+
}, _0x22a5b8 = {
|
|
1644
|
+
_0x39929f: 0x238,
|
|
1645
|
+
_0x10dd6f: 0x207,
|
|
1646
|
+
_0x2c4297: 0x2b5,
|
|
1647
|
+
_0x26e9a4: 0x160,
|
|
1648
|
+
_0x33312f: 0x160,
|
|
1649
|
+
_0x51b4ad: 0x276,
|
|
1650
|
+
_0x4ddab7: 0x245,
|
|
1651
|
+
_0x1b4517: 0x2a0,
|
|
1652
|
+
_0x490a2f: 0x1e9,
|
|
1653
|
+
_0x173622: 0x2c4,
|
|
1654
|
+
_0x4d8237: 0x222,
|
|
1655
|
+
_0x18f909: 0x2cc,
|
|
1656
|
+
_0x46ae9b: 0x18f,
|
|
1657
|
+
_0x3f8cc4: 0x1aa,
|
|
1658
|
+
_0x5ef2c5: 0x1a0,
|
|
1659
|
+
_0x4a20fb: 0x214,
|
|
1660
|
+
_0xe1367f: 0x258,
|
|
1661
|
+
_0x30541f: 0x293,
|
|
1662
|
+
_0x40f5f6: 0x1d0,
|
|
1663
|
+
_0x4c0f8f: 0x288,
|
|
1664
|
+
_0x27381e: 0x1ec
|
|
1664
1665
|
};
|
|
1665
|
-
async function
|
|
1666
|
-
const
|
|
1667
|
-
if (!
|
|
1666
|
+
async function _0xa66ced(_0x358464) {
|
|
1667
|
+
const _0x441290 = _0xe0e1;
|
|
1668
|
+
if (!_0x44d86a[_0x441290(_0x22a5b8._0x39929f)] || !_0x44d86a[_0x441290(_0x22a5b8._0x10dd6f)] || _0x44d86a[_0x441290(_0x22a5b8._0x2c4297)] || _0x44d86a['workerModeEnabled'] !== !![])
|
|
1668
1669
|
return null;
|
|
1669
|
-
const
|
|
1670
|
-
if (
|
|
1670
|
+
const _0x3df3e2 = parseTarget(_0x358464[_0x441290(_0x22a5b8._0x26e9a4)]);
|
|
1671
|
+
if (_0x3df3e2[_0x441290(0x1c2)] !== _0x441290(_0x22a5b8._0x33312f))
|
|
1671
1672
|
return null;
|
|
1672
|
-
const
|
|
1673
|
-
let
|
|
1673
|
+
const _0x5c6921 = _0x358464['threadNumber'] != null ? _0x3df3e2[_0x441290(_0x22a5b8._0x51b4ad)] + ':t' + _0x358464[_0x441290(_0x22a5b8._0x4ddab7)] : _0x3df3e2['channelTarget'] + ':' + _0x358464['messageId'];
|
|
1674
|
+
let _0x321a9a;
|
|
1674
1675
|
try {
|
|
1675
|
-
const
|
|
1676
|
-
'channel':
|
|
1676
|
+
const _0xb3de7f = await _0x44d86a[_0x441290(_0x22a5b8._0x1b4517)][_0x441290(0x16c)]({
|
|
1677
|
+
'channel': _0x5c6921,
|
|
1677
1678
|
'limit': 0x14
|
|
1678
1679
|
});
|
|
1679
|
-
|
|
1680
|
+
_0x321a9a = _0xb3de7f['messages']['find'](_0x2e6d99 => _0x2e6d99['messageId'] === _0x358464[_0x441290(0x1e9)]);
|
|
1680
1681
|
} catch {
|
|
1681
|
-
|
|
1682
|
+
_0x321a9a = void 0x0;
|
|
1682
1683
|
}
|
|
1683
|
-
const
|
|
1684
|
-
|
|
1684
|
+
const _0x1b23ff = _0x358464['taskNumber'] == null ? '(legacy)' : '#' + _0x358464['taskNumber'], _0x2218b3 = [
|
|
1685
|
+
'[target=' + _0x5c6921 + _0x441290(0x212) + _0x358464[_0x441290(_0x22a5b8._0x490a2f)][_0x441290(_0x22a5b8._0x173622)](0x0, 0x8) + _0x441290(_0x22a5b8._0x4d8237) + new Date()[_0x441290(0x176)]() + _0x441290(0x1f7) + _0x1b23ff + _0x441290(_0x22a5b8._0x18f909),
|
|
1685
1686
|
'',
|
|
1686
|
-
|
|
1687
|
+
_0x321a9a ? _0x441290(0x1ba) + _0x321a9a[_0x441290(0x249)] : _0x441290(0x266) + _0x358464[_0x441290(0x1e9)],
|
|
1687
1688
|
'',
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
]['join']('\x0a'),
|
|
1691
|
-
'method':
|
|
1692
|
-
'headers': { 'Content-Type':
|
|
1693
|
-
'body': JSON[
|
|
1694
|
-
'agent_id':
|
|
1695
|
-
'thread_target':
|
|
1689
|
+
_0x441290(0x271) + _0x5c6921,
|
|
1690
|
+
_0x441290(_0x22a5b8._0x46ae9b)
|
|
1691
|
+
]['join']('\x0a'), _0x22f868 = await fetch(_0x44d86a[_0x441290(0x238)] + _0x441290(_0x22a5b8._0x3f8cc4), {
|
|
1692
|
+
'method': _0x441290(0x1dd),
|
|
1693
|
+
'headers': { 'Content-Type': _0x441290(0x1a2) },
|
|
1694
|
+
'body': JSON[_0x441290(_0x22a5b8._0x5ef2c5)]({
|
|
1695
|
+
'agent_id': _0x44d86a['agentId'],
|
|
1696
|
+
'thread_target': _0x5c6921,
|
|
1696
1697
|
'spawn_packet': {
|
|
1697
|
-
'replyTarget':
|
|
1698
|
-
...
|
|
1698
|
+
'replyTarget': _0x5c6921,
|
|
1699
|
+
..._0x358464[_0x441290(_0x22a5b8._0x4a20fb)] ? { 'taskId': _0x358464[_0x441290(0x214)] } : _0x358464[_0x441290(_0x22a5b8._0xe1367f)] != null ? { 'taskId': _0x441290(_0x22a5b8._0x30541f) + _0x358464[_0x441290(_0x22a5b8._0xe1367f)] } : {}
|
|
1699
1700
|
},
|
|
1700
1701
|
'payload': {
|
|
1701
|
-
'mode':
|
|
1702
|
-
'text':
|
|
1702
|
+
'mode': 'user',
|
|
1703
|
+
'text': _0x2218b3
|
|
1703
1704
|
}
|
|
1704
1705
|
})
|
|
1705
|
-
}),
|
|
1706
|
-
if (!
|
|
1707
|
-
throw new Error(
|
|
1706
|
+
}), _0x34accf = await _0x22f868['json']();
|
|
1707
|
+
if (!_0x34accf['ok'])
|
|
1708
|
+
throw new Error(_0x34accf[_0x441290(_0x22a5b8._0x40f5f6)] ?? _0x441290(0x1e4));
|
|
1708
1709
|
return {
|
|
1709
1710
|
'stopMain': !![],
|
|
1710
|
-
'threadTarget':
|
|
1711
|
-
'workerDisposition':
|
|
1711
|
+
'threadTarget': _0x5c6921,
|
|
1712
|
+
'workerDisposition': _0x34accf[_0x441290(0x263)] === _0x441290(_0x22a5b8._0x4c0f8f) ? _0x441290(_0x22a5b8._0x4c0f8f) : _0x441290(_0x22a5b8._0x27381e),
|
|
1712
1713
|
'workerHandoff': !![],
|
|
1713
|
-
'workerSessionId':
|
|
1714
|
-
'executionMode':
|
|
1714
|
+
'workerSessionId': _0x34accf['worker_session_id'] ?? '',
|
|
1715
|
+
'executionMode': _0x441290(0x161)
|
|
1715
1716
|
};
|
|
1716
1717
|
}
|
|
1717
|
-
async function
|
|
1718
|
-
const
|
|
1719
|
-
if (!
|
|
1718
|
+
async function _0x19d933() {
|
|
1719
|
+
const _0x24f0a2 = _0xe0e1;
|
|
1720
|
+
if (!_0x44d86a[_0x24f0a2(0x238)] || !_0x44d86a['agentId'] || _0x44d86a[_0x24f0a2(0x2b5)])
|
|
1720
1721
|
return null;
|
|
1721
1722
|
try {
|
|
1722
|
-
const
|
|
1723
|
-
if (!
|
|
1723
|
+
const _0x5f2820 = await fetch(_0x44d86a[_0x24f0a2(0x238)] + '/workers/list?agent_id=' + encodeURIComponent(_0x44d86a[_0x24f0a2(_0x2d1e81._0x2f22e6)])), _0x45463e = await _0x5f2820[_0x24f0a2(_0x2d1e81._0x29730a)]();
|
|
1724
|
+
if (!_0x45463e['ok'])
|
|
1724
1725
|
return null;
|
|
1725
|
-
const
|
|
1726
|
-
for (const
|
|
1727
|
-
|
|
1726
|
+
const _0x17d5a9 = new Set();
|
|
1727
|
+
for (const _0xf21224 of _0x45463e[_0x24f0a2(_0x2d1e81._0x19d41b)]) {
|
|
1728
|
+
_0xf21224[_0x24f0a2(0x269)] !== 'destroyed' && _0xf21224[_0x24f0a2(0x1e6)] && _0x17d5a9[_0x24f0a2(_0x2d1e81._0xfbc3e0)](_0xf21224['thread_target']);
|
|
1728
1729
|
}
|
|
1729
|
-
return
|
|
1730
|
+
return _0x17d5a9['size'] > 0x0 ? _0x17d5a9 : null;
|
|
1730
1731
|
} catch {
|
|
1731
1732
|
return null;
|
|
1732
1733
|
}
|
|
1733
1734
|
}
|
|
1734
1735
|
return {
|
|
1735
|
-
async 'send_message'(
|
|
1736
|
-
const
|
|
1737
|
-
if (!
|
|
1738
|
-
const
|
|
1739
|
-
if (
|
|
1740
|
-
const
|
|
1741
|
-
|
|
1736
|
+
async 'send_message'(_0x476e2a) {
|
|
1737
|
+
const _0x4d1538 = _0xe0e1;
|
|
1738
|
+
if (!_0x44d86a[_0x4d1538(_0x55a244._0x541c27)] && _0x44d86a[_0x4d1538(0x299)] && _0x44d86a[_0x4d1538(0x238)] && _0x44d86a[_0x4d1538(0x207)]) {
|
|
1739
|
+
const _0x22f611 = await _0x44d86a[_0x4d1538(0x2a0)][_0x4d1538(_0x55a244._0x16e848)](_0x476e2a[_0x4d1538(_0x55a244._0x5a4e9a)]);
|
|
1740
|
+
if (_0x22f611[_0x4d1538(_0x55a244._0x5371ea)] && _0x22f611[_0x4d1538(0x219)]) {
|
|
1741
|
+
const _0xab0e6d = _0x22f611[_0x4d1538(0x28b)][_0x4d1538(0x258)] != null ? '#' + _0x22f611['task'][_0x4d1538(0x258)] : _0x4d1538(_0x55a244._0x5e3dd0), _0x587321 = _0x22f611[_0x4d1538(0x245)] != null ? _0x22f611['target'] + ':t' + _0x22f611[_0x4d1538(0x245)] : _0x22f611[_0x4d1538(_0x55a244._0x4eb0b3)] + ':' + _0x22f611[_0x4d1538(_0x55a244._0x31dbda)][_0x4d1538(_0x55a244._0x1aa829)](0x0, 0x8), _0x462557 = [
|
|
1742
|
+
_0x4d1538(0x157) + _0x587321 + _0x4d1538(0x2b6) + new Date()[_0x4d1538(0x176)]() + _0x4d1538(0x260),
|
|
1742
1743
|
'',
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
][
|
|
1748
|
-
'method':
|
|
1749
|
-
'headers': { 'Content-Type':
|
|
1750
|
-
'body': JSON[
|
|
1751
|
-
'agent_id':
|
|
1752
|
-
'thread_target':
|
|
1744
|
+
_0x4d1538(0x169) + _0x476e2a['content'],
|
|
1745
|
+
_0x4d1538(0x1fd) + _0xab0e6d + '\x20(' + _0x22f611['task'][_0x4d1538(0x214)] + ')',
|
|
1746
|
+
_0x4d1538(0x271) + _0x587321,
|
|
1747
|
+
_0x4d1538(0x243)
|
|
1748
|
+
][_0x4d1538(0x159)]('\x0a'), _0x5c55b1 = await fetch(_0x44d86a[_0x4d1538(_0x55a244._0x85bf86)] + _0x4d1538(_0x55a244._0x53e3cc), {
|
|
1749
|
+
'method': 'POST',
|
|
1750
|
+
'headers': { 'Content-Type': 'application/json' },
|
|
1751
|
+
'body': JSON['stringify']({
|
|
1752
|
+
'agent_id': _0x44d86a['agentId'],
|
|
1753
|
+
'thread_target': _0x587321,
|
|
1753
1754
|
'spawn_packet': {
|
|
1754
|
-
'replyTarget':
|
|
1755
|
-
'taskId':
|
|
1755
|
+
'replyTarget': _0x587321,
|
|
1756
|
+
'taskId': _0x22f611[_0x4d1538(0x28b)]['taskId']
|
|
1756
1757
|
},
|
|
1757
1758
|
'payload': {
|
|
1758
1759
|
'mode': 'user',
|
|
1759
|
-
'text':
|
|
1760
|
+
'text': _0x462557
|
|
1760
1761
|
}
|
|
1761
1762
|
})
|
|
1762
|
-
}),
|
|
1763
|
-
if (!
|
|
1764
|
-
throw new Error(
|
|
1763
|
+
}), _0x32498c = await _0x5c55b1[_0x4d1538(_0x55a244._0x274fff)]();
|
|
1764
|
+
if (!_0x32498c['ok'])
|
|
1765
|
+
throw new Error(_0x32498c[_0x4d1538(0x1d0)] ?? _0x4d1538(_0x55a244._0x194a0e));
|
|
1765
1766
|
return [
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1767
|
+
_0x4d1538(_0x55a244._0x1f8447) + _0xab0e6d + '\x20in\x20' + _0x587321 + '.',
|
|
1768
|
+
_0x4d1538(_0x55a244._0x14ddec),
|
|
1769
|
+
'Worker\x20' + (_0x32498c[_0x4d1538(0x263)] === 'queued' ? _0x4d1538(_0x55a244._0x59d342) : _0x4d1538(_0x55a244._0x129a3d)) + '.',
|
|
1769
1770
|
'Do\x20not\x20send\x20further\x20messages\x20to\x20this\x20thread.'
|
|
1770
|
-
][
|
|
1771
|
+
][_0x4d1538(_0x55a244._0x199732)]('\x20');
|
|
1771
1772
|
}
|
|
1772
1773
|
}
|
|
1773
|
-
const
|
|
1774
|
-
'attachmentIds':
|
|
1775
|
-
'content':
|
|
1776
|
-
'target':
|
|
1777
|
-
'visibility':
|
|
1774
|
+
const _0x4c8956 = await _0x44d86a[_0x4d1538(_0x55a244._0x5b86fe)][_0x4d1538(0x23a)]({
|
|
1775
|
+
'attachmentIds': _0x476e2a[_0x4d1538(0x190)],
|
|
1776
|
+
'content': _0x476e2a[_0x4d1538(_0x55a244._0x188bce)],
|
|
1777
|
+
'target': _0x476e2a[_0x4d1538(0x15b)],
|
|
1778
|
+
'visibility': _0x476e2a[_0x4d1538(_0x55a244._0x1f5fde)]
|
|
1778
1779
|
});
|
|
1779
|
-
return
|
|
1780
|
+
return 'Message\x20sent\x20to\x20' + _0x476e2a[_0x4d1538(_0x55a244._0x5a4e9a)] + '.\x20Message\x20ID:\x20' + _0x4c8956[_0x4d1538(_0x55a244._0x2eda18)];
|
|
1780
1781
|
},
|
|
1781
1782
|
async 'check_messages'() {
|
|
1782
|
-
const
|
|
1783
|
-
if (!
|
|
1784
|
-
const
|
|
1785
|
-
if (
|
|
1786
|
-
return formatCheckMessages(
|
|
1783
|
+
const _0x576c23 = _0xe0e1, _0x1a0589 = await _0x44d86a[_0x576c23(0x2a0)][_0x576c23(0x240)]();
|
|
1784
|
+
if (!_0x44d86a[_0x576c23(_0x954f54._0x176bcc)]) {
|
|
1785
|
+
const _0x88e06b = await _0x19d933();
|
|
1786
|
+
if (_0x88e06b)
|
|
1787
|
+
return formatCheckMessages(_0x1a0589[_0x576c23(_0x954f54._0x200972)][_0x576c23(0x22f)](_0xb506d8 => !_0x88e06b[_0x576c23(0x1a3)](_0xb506d8[_0x576c23(0x15b)])));
|
|
1787
1788
|
}
|
|
1788
|
-
return formatCheckMessages(
|
|
1789
|
+
return formatCheckMessages(_0x1a0589[_0x576c23(_0x954f54._0x329de4)]);
|
|
1789
1790
|
},
|
|
1790
|
-
async 'read_history'(
|
|
1791
|
-
const
|
|
1792
|
-
return formatHistory(
|
|
1791
|
+
async 'read_history'(_0x19324b) {
|
|
1792
|
+
const _0x24d689 = _0xe0e1, _0x3bf903 = await _0x44d86a[_0x24d689(0x2a0)]['readHistory'](_0x19324b);
|
|
1793
|
+
return formatHistory(_0x3bf903);
|
|
1793
1794
|
},
|
|
1794
1795
|
async 'list_server'() {
|
|
1795
|
-
const
|
|
1796
|
-
return formatServerDirectory(
|
|
1796
|
+
const _0x578972 = _0xe0e1, _0x250b10 = await _0x44d86a['client'][_0x578972(_0x408dcd._0x266ccb)]();
|
|
1797
|
+
return formatServerDirectory(_0x250b10);
|
|
1797
1798
|
},
|
|
1798
|
-
async 'list_tasks'(
|
|
1799
|
-
const
|
|
1800
|
-
let
|
|
1801
|
-
if (
|
|
1799
|
+
async 'list_tasks'(_0x16bee1) {
|
|
1800
|
+
const _0x432f8d = _0xe0e1, _0x23db37 = await _0x44d86a['client']['listTasks'](_0x16bee1);
|
|
1801
|
+
let _0x44f699;
|
|
1802
|
+
if (_0x44d86a[_0x432f8d(_0x5d0873._0x5cd2ee)] && _0x44d86a[_0x432f8d(_0x5d0873._0x2f58bf)])
|
|
1802
1803
|
try {
|
|
1803
|
-
const
|
|
1804
|
-
if (
|
|
1805
|
-
const
|
|
1806
|
-
|
|
1807
|
-
for (const
|
|
1808
|
-
if (
|
|
1804
|
+
const _0x24c628 = await fetch(_0x44d86a[_0x432f8d(0x238)] + _0x432f8d(0x1b7) + encodeURIComponent(_0x44d86a[_0x432f8d(_0x5d0873._0x2f58bf)])), _0x5a7ced = await _0x24c628[_0x432f8d(0x1a8)]();
|
|
1805
|
+
if (_0x5a7ced['ok']) {
|
|
1806
|
+
const _0x4ff01a = _0x16bee1[_0x432f8d(_0x5d0873._0x3a4331)] + ':';
|
|
1807
|
+
_0x44f699 = new Set();
|
|
1808
|
+
for (const _0x303f42 of _0x5a7ced['workers']) {
|
|
1809
|
+
if (_0x303f42[_0x432f8d(_0x5d0873._0x907a6)] === _0x432f8d(0x162))
|
|
1809
1810
|
continue;
|
|
1810
|
-
if (
|
|
1811
|
-
const
|
|
1812
|
-
if (
|
|
1813
|
-
|
|
1811
|
+
if (_0x303f42['thread_target']?.[_0x432f8d(0x234)](_0x4ff01a)) {
|
|
1812
|
+
const _0xaf0836 = _0x303f42[_0x432f8d(0x1e6)][_0x432f8d(_0x5d0873._0xaff1e2)](_0x4ff01a[_0x432f8d(0x291)]), _0x453471 = _0x23db37['tasks'][_0x432f8d(0x25c)](_0x4fe324 => _0x4fe324['messageId']?.['startsWith'](_0xaf0836) === !![]);
|
|
1813
|
+
if (_0x453471?.['taskNumber'] != null) {
|
|
1814
|
+
_0x44f699[_0x432f8d(_0x5d0873._0x104cb6)](_0x453471[_0x432f8d(0x258)]);
|
|
1814
1815
|
continue;
|
|
1815
1816
|
}
|
|
1816
1817
|
}
|
|
1817
|
-
if (
|
|
1818
|
-
const
|
|
1819
|
-
|
|
1818
|
+
if (_0x303f42[_0x432f8d(_0x5d0873._0x2ed979)]) {
|
|
1819
|
+
const _0x4a5be7 = _0x23db37[_0x432f8d(0x274)][_0x432f8d(_0x5d0873._0x555c3c)](_0x1cd387 => _0x1cd387[_0x432f8d(0x214)] === _0x303f42[_0x432f8d(0x26a)]);
|
|
1820
|
+
_0x4a5be7?.[_0x432f8d(_0x5d0873._0x5d08fe)] != null && _0x44f699[_0x432f8d(_0x5d0873._0x17f912)](_0x4a5be7[_0x432f8d(_0x5d0873._0x15a337)]);
|
|
1820
1821
|
}
|
|
1821
1822
|
}
|
|
1822
1823
|
}
|
|
1823
1824
|
} catch {
|
|
1824
1825
|
}
|
|
1825
|
-
return formatTaskList(
|
|
1826
|
+
return formatTaskList(_0x23db37[_0x432f8d(0x274)], _0x44f699);
|
|
1826
1827
|
},
|
|
1827
|
-
async 'create_tasks'(
|
|
1828
|
-
const
|
|
1829
|
-
return formatCreatedTasks(
|
|
1828
|
+
async 'create_tasks'(_0x4028eb) {
|
|
1829
|
+
const _0x2eff23 = _0xe0e1, _0x2657e1 = await _0x44d86a[_0x2eff23(0x2a0)]['createTasks'](_0x4028eb);
|
|
1830
|
+
return formatCreatedTasks(_0x2657e1[_0x2eff23(_0x521806._0x120e62)]);
|
|
1830
1831
|
},
|
|
1831
|
-
async 'claim_tasks'(
|
|
1832
|
-
const
|
|
1833
|
-
const
|
|
1834
|
-
if (!
|
|
1835
|
-
return
|
|
1832
|
+
async 'claim_tasks'(_0x131785) {
|
|
1833
|
+
const _0x1be676 = _0xe0e1, _0x135708 = await _0x44d86a['client'][_0x1be676(_0x2c668c._0x2c0872)](_0x131785), _0x4fda76 = await Promise[_0x1be676(_0x2c668c._0x326244)](_0x135708[_0x1be676(_0x2c668c._0x4cbd7c)]['map'](async _0x139503 => {
|
|
1834
|
+
const _0x46dd52 = _0x1be676;
|
|
1835
|
+
if (!_0x139503[_0x46dd52(0x20d)] || !_0x139503['messageId'])
|
|
1836
|
+
return _0x139503;
|
|
1836
1837
|
try {
|
|
1837
|
-
const
|
|
1838
|
-
'channel':
|
|
1839
|
-
'messageId':
|
|
1840
|
-
'taskId':
|
|
1841
|
-
'taskNumber':
|
|
1842
|
-
'threadNumber':
|
|
1838
|
+
const _0x171f66 = await _0xa66ced({
|
|
1839
|
+
'channel': _0x131785['channel'],
|
|
1840
|
+
'messageId': _0x139503[_0x46dd52(_0x1791fc._0x446a7c)],
|
|
1841
|
+
'taskId': _0x139503[_0x46dd52(0x214)],
|
|
1842
|
+
'taskNumber': _0x139503[_0x46dd52(_0x1791fc._0x154430)],
|
|
1843
|
+
'threadNumber': _0x139503[_0x46dd52(0x245)]
|
|
1843
1844
|
});
|
|
1844
|
-
return
|
|
1845
|
-
...
|
|
1846
|
-
...
|
|
1847
|
-
} :
|
|
1848
|
-
} catch (
|
|
1845
|
+
return _0x171f66 ? {
|
|
1846
|
+
..._0x139503,
|
|
1847
|
+
..._0x171f66
|
|
1848
|
+
} : _0x139503;
|
|
1849
|
+
} catch (_0x65765d) {
|
|
1849
1850
|
return {
|
|
1850
|
-
...
|
|
1851
|
-
'workerHandoffError':
|
|
1851
|
+
..._0x139503,
|
|
1852
|
+
'workerHandoffError': _0x65765d instanceof Error ? _0x65765d[_0x46dd52(_0x1791fc._0x247688)] : _0x46dd52(_0x1791fc._0x46e0e0)
|
|
1852
1853
|
};
|
|
1853
1854
|
}
|
|
1854
1855
|
}));
|
|
1855
|
-
return formatClaimTaskResults(
|
|
1856
|
+
return formatClaimTaskResults(_0x4fda76);
|
|
1856
1857
|
},
|
|
1857
|
-
async 'unclaim_task'(
|
|
1858
|
-
const
|
|
1859
|
-
return formatUnclaimTaskResult(
|
|
1858
|
+
async 'unclaim_task'(_0x596067) {
|
|
1859
|
+
const _0x78e434 = await _0x44d86a['client']['unclaimTask'](_0x596067);
|
|
1860
|
+
return formatUnclaimTaskResult(_0x78e434);
|
|
1860
1861
|
},
|
|
1861
|
-
async 'update_task_status'(
|
|
1862
|
-
const
|
|
1863
|
-
return formatUpdateTaskStatusResult(
|
|
1862
|
+
async 'update_task_status'(_0x2ce64c) {
|
|
1863
|
+
const _0x2ccda2 = _0xe0e1, _0x2d29e6 = await _0x44d86a['client'][_0x2ccda2(_0x3b4f3d._0x48becb)](_0x2ce64c);
|
|
1864
|
+
return formatUpdateTaskStatusResult(_0x2d29e6);
|
|
1864
1865
|
},
|
|
1865
|
-
async 'upload_file'(
|
|
1866
|
-
const
|
|
1867
|
-
sizeBytes:
|
|
1868
|
-
...
|
|
1869
|
-
} =
|
|
1870
|
-
'channel':
|
|
1871
|
-
...
|
|
1866
|
+
async 'upload_file'(_0x3d6c89) {
|
|
1867
|
+
const _0x10f3b0 = _0xe0e1, _0x233189 = await _0x44d86a[_0x10f3b0(_0x30f9f1._0x2e26f1)](_0x3d6c89['file_path']), {
|
|
1868
|
+
sizeBytes: _0x1655fb,
|
|
1869
|
+
..._0xccac2f
|
|
1870
|
+
} = _0x233189, _0x35fd25 = await _0x44d86a[_0x10f3b0(_0x30f9f1._0x3af8ed)][_0x10f3b0(_0x30f9f1._0xa44fa7)]({
|
|
1871
|
+
'channel': _0x3d6c89[_0x10f3b0(_0x30f9f1._0x475eec)],
|
|
1872
|
+
..._0xccac2f
|
|
1872
1873
|
});
|
|
1873
|
-
return formatUploadResult(
|
|
1874
|
+
return formatUploadResult(_0x35fd25);
|
|
1874
1875
|
},
|
|
1875
|
-
async 'view_file'(
|
|
1876
|
-
const
|
|
1877
|
-
if (
|
|
1878
|
-
return formatViewFileResult(
|
|
1879
|
-
const
|
|
1880
|
-
'attachmentId':
|
|
1881
|
-
'contentType':
|
|
1882
|
-
'data':
|
|
1883
|
-
'originalFilename':
|
|
1876
|
+
async 'view_file'(_0x4c2927) {
|
|
1877
|
+
const _0x254bd5 = _0xe0e1, _0x10e9d8 = await _0x44d86a['attachmentCache'][_0x254bd5(_0x4e77c3._0x1c571d)](_0x4c2927[_0x254bd5(_0x4e77c3._0x2baec6)]);
|
|
1878
|
+
if (_0x10e9d8)
|
|
1879
|
+
return formatViewFileResult(_0x10e9d8, !![]);
|
|
1880
|
+
const _0x5e2619 = await _0x44d86a[_0x254bd5(_0x4e77c3._0x35729b)][_0x254bd5(0x241)](_0x4c2927[_0x254bd5(_0x4e77c3._0x1050b8)]), _0x297fc0 = await _0x44d86a[_0x254bd5(_0x4e77c3._0x47a1e2)][_0x254bd5(_0x4e77c3._0x13f879)]({
|
|
1881
|
+
'attachmentId': _0x4c2927[_0x254bd5(0x281)],
|
|
1882
|
+
'contentType': _0x5e2619[_0x254bd5(_0x4e77c3._0x3e786d)],
|
|
1883
|
+
'data': _0x5e2619[_0x254bd5(_0x4e77c3._0x13de4b)],
|
|
1884
|
+
'originalFilename': _0x5e2619[_0x254bd5(_0x4e77c3._0x27b681)]
|
|
1884
1885
|
});
|
|
1885
|
-
return formatViewFileResult(
|
|
1886
|
+
return formatViewFileResult(_0x297fc0, ![]);
|
|
1886
1887
|
},
|
|
1887
|
-
async 'get_worker_status'(
|
|
1888
|
-
const
|
|
1889
|
-
if (!
|
|
1890
|
-
return
|
|
1891
|
-
const
|
|
1892
|
-
if (!
|
|
1893
|
-
return
|
|
1894
|
-
return
|
|
1888
|
+
async 'get_worker_status'(_0x45191f) {
|
|
1889
|
+
const _0x250d1a = _0xe0e1;
|
|
1890
|
+
if (!_0x44d86a[_0x250d1a(_0x42a874._0x158930)])
|
|
1891
|
+
return _0x250d1a(_0x42a874._0x53216b);
|
|
1892
|
+
const _0x3d2a6a = await fetch(_0x44d86a[_0x250d1a(_0x42a874._0x158930)] + '/workers/status?work_key=' + encodeURIComponent(_0x45191f[_0x250d1a(0x168)])), _0xfe78f3 = await _0x3d2a6a['json']();
|
|
1893
|
+
if (!_0xfe78f3['ok'])
|
|
1894
|
+
return _0x250d1a(0x153) + _0x45191f['work_key'] + '\x22\x20not\x20found';
|
|
1895
|
+
return _0x250d1a(_0x42a874._0x2fe016) + _0x45191f[_0x250d1a(_0x42a874._0x3dfa0b)] + '\x22:\x20status=' + _0xfe78f3[_0x250d1a(0x269)];
|
|
1895
1896
|
},
|
|
1896
|
-
async 'get_worker_result'(
|
|
1897
|
-
const
|
|
1898
|
-
if (!
|
|
1899
|
-
return
|
|
1900
|
-
const
|
|
1901
|
-
if (!
|
|
1902
|
-
return
|
|
1903
|
-
return JSON[
|
|
1897
|
+
async 'get_worker_result'(_0x3019bd) {
|
|
1898
|
+
const _0x2c8574 = _0xe0e1;
|
|
1899
|
+
if (!_0x44d86a[_0x2c8574(0x238)])
|
|
1900
|
+
return 'Worker\x20features\x20not\x20available';
|
|
1901
|
+
const _0x1da1c9 = await fetch(_0x44d86a[_0x2c8574(_0x160634._0x3d8d1d)] + _0x2c8574(_0x160634._0x2d8674) + encodeURIComponent(_0x3019bd[_0x2c8574(0x168)])), _0x1e9499 = await _0x1da1c9[_0x2c8574(_0x160634._0x362a01)]();
|
|
1902
|
+
if (!_0x1e9499[_0x2c8574(_0x160634._0x25b977)])
|
|
1903
|
+
return _0x2c8574(0x1a9) + _0x3019bd[_0x2c8574(_0x160634._0x574825)] + '\x22';
|
|
1904
|
+
return JSON[_0x2c8574(_0x160634._0x10b79d)](_0x1e9499['resume_packet'], null, 0x2);
|
|
1904
1905
|
},
|
|
1905
|
-
async 'finish_worker'(
|
|
1906
|
-
const
|
|
1907
|
-
if (!
|
|
1908
|
-
return
|
|
1909
|
-
const
|
|
1910
|
-
'method':
|
|
1911
|
-
'headers': { 'Content-Type':
|
|
1912
|
-
'body': JSON[
|
|
1913
|
-
'work_key':
|
|
1906
|
+
async 'finish_worker'(_0x1b24ec) {
|
|
1907
|
+
const _0x5d67c4 = _0xe0e1;
|
|
1908
|
+
if (!_0x44d86a['daemonLocalUrl'])
|
|
1909
|
+
return _0x5d67c4(0x23f);
|
|
1910
|
+
const _0x2ebe1e = await fetch(_0x44d86a['daemonLocalUrl'] + '/workers/finish', {
|
|
1911
|
+
'method': _0x5d67c4(_0x4bb81d._0x5485dc),
|
|
1912
|
+
'headers': { 'Content-Type': _0x5d67c4(_0x4bb81d._0x529f05) },
|
|
1913
|
+
'body': JSON[_0x5d67c4(_0x4bb81d._0x2f2628)]({
|
|
1914
|
+
'work_key': _0x1b24ec[_0x5d67c4(_0x4bb81d._0x565958)],
|
|
1914
1915
|
'resume_packet': {
|
|
1915
1916
|
'objective': '',
|
|
1916
|
-
'result':
|
|
1917
|
-
'summary':
|
|
1918
|
-
'decisions':
|
|
1919
|
-
'filesChanged':
|
|
1920
|
-
'openIssues':
|
|
1921
|
-
'nextSteps':
|
|
1917
|
+
'result': _0x1b24ec[_0x5d67c4(0x1b8)],
|
|
1918
|
+
'summary': _0x1b24ec['summary'],
|
|
1919
|
+
'decisions': _0x1b24ec[_0x5d67c4(0x2ab)] ?? [],
|
|
1920
|
+
'filesChanged': _0x1b24ec[_0x5d67c4(0x24e)] ?? [],
|
|
1921
|
+
'openIssues': _0x1b24ec[_0x5d67c4(0x226)] ?? [],
|
|
1922
|
+
'nextSteps': _0x1b24ec['next_steps'] ?? []
|
|
1922
1923
|
}
|
|
1923
1924
|
})
|
|
1924
|
-
}),
|
|
1925
|
-
if (!
|
|
1926
|
-
throw new Error(
|
|
1927
|
-
return
|
|
1925
|
+
}), _0x2999a9 = await _0x2ebe1e[_0x5d67c4(0x1a8)]();
|
|
1926
|
+
if (!_0x2999a9['ok'])
|
|
1927
|
+
throw new Error(_0x2999a9[_0x5d67c4(0x1d0)] ?? _0x5d67c4(_0x4bb81d._0xd7482b));
|
|
1928
|
+
return _0x5d67c4(0x153) + _0x1b24ec[_0x5d67c4(0x168)] + _0x5d67c4(_0x4bb81d._0x7216a3) + _0x1b24ec[_0x5d67c4(_0x4bb81d._0x47e1bd)];
|
|
1928
1929
|
},
|
|
1929
|
-
async 'mark_waiting_input'(
|
|
1930
|
-
const
|
|
1931
|
-
if (!
|
|
1932
|
-
return
|
|
1933
|
-
const
|
|
1934
|
-
'method':
|
|
1935
|
-
'headers': { 'Content-Type':
|
|
1936
|
-
'body': JSON[
|
|
1937
|
-
'work_key':
|
|
1938
|
-
'agent_id':
|
|
1930
|
+
async 'mark_waiting_input'(_0x359246) {
|
|
1931
|
+
const _0x1c80b2 = _0xe0e1;
|
|
1932
|
+
if (!_0x44d86a[_0x1c80b2(0x238)] || !_0x44d86a[_0x1c80b2(_0x1dfb6f._0x36fd3d)])
|
|
1933
|
+
return _0x1c80b2(_0x1dfb6f._0x43fdd0);
|
|
1934
|
+
const _0x182685 = await fetch(_0x44d86a[_0x1c80b2(0x238)] + _0x1c80b2(_0x1dfb6f._0x1249b9), {
|
|
1935
|
+
'method': _0x1c80b2(0x1dd),
|
|
1936
|
+
'headers': { 'Content-Type': _0x1c80b2(_0x1dfb6f._0x1b3088) },
|
|
1937
|
+
'body': JSON['stringify']({
|
|
1938
|
+
'work_key': _0x359246['work_key'],
|
|
1939
|
+
'agent_id': _0x44d86a['agentId']
|
|
1939
1940
|
})
|
|
1940
|
-
}),
|
|
1941
|
-
if (!
|
|
1942
|
-
throw new Error(
|
|
1943
|
-
return
|
|
1941
|
+
}), _0x48c019 = await _0x182685[_0x1c80b2(0x1a8)]();
|
|
1942
|
+
if (!_0x48c019['ok'])
|
|
1943
|
+
throw new Error(_0x48c019[_0x1c80b2(_0x1dfb6f._0x38ac8b)] ?? 'mark_waiting_input\x20failed');
|
|
1944
|
+
return _0x1c80b2(_0x1dfb6f._0x52ebd0) + _0x359246[_0x1c80b2(_0x1dfb6f._0xf24c60)] + _0x1c80b2(0x287);
|
|
1944
1945
|
},
|
|
1945
|
-
async 'escalate_to_main'(
|
|
1946
|
-
const
|
|
1947
|
-
if (!
|
|
1948
|
-
return
|
|
1949
|
-
const
|
|
1950
|
-
'method':
|
|
1951
|
-
'headers': { 'Content-Type':
|
|
1952
|
-
'body': JSON[
|
|
1953
|
-
'work_key':
|
|
1954
|
-
'reason':
|
|
1946
|
+
async 'escalate_to_main'(_0x2b333c) {
|
|
1947
|
+
const _0x371754 = _0xe0e1;
|
|
1948
|
+
if (!_0x44d86a['daemonLocalUrl'])
|
|
1949
|
+
return _0x371754(0x23f);
|
|
1950
|
+
const _0x43a1fd = await fetch(_0x44d86a['daemonLocalUrl'] + _0x371754(_0x98b424._0x45d291), {
|
|
1951
|
+
'method': _0x371754(_0x98b424._0x45ac3a),
|
|
1952
|
+
'headers': { 'Content-Type': _0x371754(0x1a2) },
|
|
1953
|
+
'body': JSON[_0x371754(_0x98b424._0x1acaa6)]({
|
|
1954
|
+
'work_key': _0x2b333c[_0x371754(0x168)],
|
|
1955
|
+
'reason': _0x2b333c[_0x371754(0x255)]
|
|
1955
1956
|
})
|
|
1956
|
-
}),
|
|
1957
|
-
if (!
|
|
1958
|
-
throw new Error(
|
|
1959
|
-
return
|
|
1957
|
+
}), _0x434961 = await _0x43a1fd[_0x371754(_0x98b424._0x61ad13)]();
|
|
1958
|
+
if (!_0x434961['ok'])
|
|
1959
|
+
throw new Error(_0x434961[_0x371754(_0x98b424._0x6fdd0a)] ?? _0x371754(_0x98b424._0x36e021));
|
|
1960
|
+
return _0x371754(_0x98b424._0x296d50) + _0x2b333c[_0x371754(0x255)];
|
|
1960
1961
|
}
|
|
1961
1962
|
};
|
|
1962
1963
|
}
|
|
1963
|
-
function
|
|
1964
|
-
|
|
1964
|
+
function _0xe0e1(_0x254175, _0x32a0cf) {
|
|
1965
|
+
_0x254175 = _0x254175 - 0x14c;
|
|
1966
|
+
const _0x28eb2a = _0x28eb();
|
|
1967
|
+
let _0xe0e17c = _0x28eb2a[_0x254175];
|
|
1968
|
+
if (_0xe0e1['gMtxeA'] === undefined) {
|
|
1969
|
+
var _0x101368 = function (_0x2f2150) {
|
|
1970
|
+
const _0x2cae45 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
1971
|
+
let _0x1a4946 = '', _0x30beea = '';
|
|
1972
|
+
for (let _0x700df3 = 0x0, _0x120cae, _0x3fee2c, _0x2d9bdd = 0x0; _0x3fee2c = _0x2f2150['charAt'](_0x2d9bdd++); ~_0x3fee2c && (_0x120cae = _0x700df3 % 0x4 ? _0x120cae * 0x40 + _0x3fee2c : _0x3fee2c, _0x700df3++ % 0x4) ? _0x1a4946 += String['fromCharCode'](0xff & _0x120cae >> (-0x2 * _0x700df3 & 0x6)) : 0x0) {
|
|
1973
|
+
_0x3fee2c = _0x2cae45['indexOf'](_0x3fee2c);
|
|
1974
|
+
}
|
|
1975
|
+
for (let _0x58b71f = 0x0, _0x33c633 = _0x1a4946['length']; _0x58b71f < _0x33c633; _0x58b71f++) {
|
|
1976
|
+
_0x30beea += '%' + ('00' + _0x1a4946['charCodeAt'](_0x58b71f)['toString'](0x10))['slice'](-0x2);
|
|
1977
|
+
}
|
|
1978
|
+
return decodeURIComponent(_0x30beea);
|
|
1979
|
+
};
|
|
1980
|
+
_0xe0e1['jmxeny'] = _0x101368, _0xe0e1['OcLqRY'] = {}, _0xe0e1['gMtxeA'] = !![];
|
|
1981
|
+
}
|
|
1982
|
+
const _0x128fc0 = _0x28eb2a[0x0], _0x565303 = _0x254175 + _0x128fc0, _0x43101e = _0xe0e1['OcLqRY'][_0x565303];
|
|
1983
|
+
return !_0x43101e ? (_0xe0e17c = _0xe0e1['jmxeny'](_0xe0e17c), _0xe0e1['OcLqRY'][_0x565303] = _0xe0e17c) : _0xe0e17c = _0x43101e, _0xe0e17c;
|
|
1984
|
+
}
|
|
1985
|
+
function textResult(_0x5126d8, _0xc80a6e = ![]) {
|
|
1986
|
+
const _0x2d3c75 = _0x48b8fe;
|
|
1965
1987
|
return {
|
|
1966
1988
|
'content': [{
|
|
1967
|
-
'type':
|
|
1968
|
-
'text':
|
|
1989
|
+
'type': _0x2d3c75(0x229),
|
|
1990
|
+
'text': _0x5126d8
|
|
1969
1991
|
}],
|
|
1970
|
-
...
|
|
1992
|
+
..._0xc80a6e ? { 'isError': !![] } : {}
|
|
1971
1993
|
};
|
|
1972
1994
|
}
|
|
1973
|
-
async function registerChatBridgeTools(
|
|
1974
|
-
const
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
'attachment_ids': _0x1379e5[_0xe5e7ab(0x14a)](_0x1379e5[_0xe5e7ab(0x1b0)]())[_0xe5e7ab(_0x37e8cd._0x4ccc6f)](),
|
|
2046
|
-
'visibility': _0x1379e5[_0xe5e7ab(_0x37e8cd._0x1b15ab)]([
|
|
2047
|
-
_0xe5e7ab(_0x37e8cd._0x5d2465),
|
|
2048
|
-
_0xe5e7ab(_0x37e8cd._0x1af4e2)
|
|
2049
|
-
])[_0xe5e7ab(_0x37e8cd._0x59a506)]()
|
|
2050
|
-
}, async _0x2ba64e => {
|
|
2051
|
-
const _0xf7ffa0 = _0xe5e7ab;
|
|
1995
|
+
async function registerChatBridgeTools(_0x463c63, _0x2f2f75, _0xfee343) {
|
|
1996
|
+
const _0x3edb08 = {
|
|
1997
|
+
_0x804808: 0x16e,
|
|
1998
|
+
_0x1332fa: 0x18b,
|
|
1999
|
+
_0x234491: 0x28f,
|
|
2000
|
+
_0x100f0d: 0x250,
|
|
2001
|
+
_0xaf7ac7: 0x277,
|
|
2002
|
+
_0x5dd534: 0x27a,
|
|
2003
|
+
_0x9c580c: 0x29f,
|
|
2004
|
+
_0x1c8f62: 0x1b1,
|
|
2005
|
+
_0x32f2e2: 0x1fe,
|
|
2006
|
+
_0x2abb47: 0x1f9,
|
|
2007
|
+
_0x5ab802: 0x27a,
|
|
2008
|
+
_0x25256f: 0x156,
|
|
2009
|
+
_0x464f52: 0x1e8,
|
|
2010
|
+
_0x1b30a8: 0x1e8,
|
|
2011
|
+
_0x10d9ba: 0x2c9,
|
|
2012
|
+
_0x558793: 0x248,
|
|
2013
|
+
_0x3a73c9: 0x1cb,
|
|
2014
|
+
_0x5e2375: 0x251,
|
|
2015
|
+
_0x5aae51: 0x16e,
|
|
2016
|
+
_0xdcd7b7: 0x16e,
|
|
2017
|
+
_0x521ac4: 0x1c0,
|
|
2018
|
+
_0x2c8aa9: 0x1e8,
|
|
2019
|
+
_0x545642: 0x2b3,
|
|
2020
|
+
_0x247534: 0x1e8,
|
|
2021
|
+
_0xbdcf4e: 0x2a2,
|
|
2022
|
+
_0x3591fa: 0x2c2,
|
|
2023
|
+
_0x50b906: 0x180,
|
|
2024
|
+
_0x5bfebb: 0x213,
|
|
2025
|
+
_0x5b207b: 0x18b,
|
|
2026
|
+
_0x4735b0: 0x21c,
|
|
2027
|
+
_0x2dfac7: 0x1b5,
|
|
2028
|
+
_0x486739: 0x1e8,
|
|
2029
|
+
_0x1a0461: 0x2c7,
|
|
2030
|
+
_0x3e27f8: 0x2c7,
|
|
2031
|
+
_0x1b90ee: 0x19d,
|
|
2032
|
+
_0x3fe744: 0x181,
|
|
2033
|
+
_0x2221b0: 0x1e8
|
|
2034
|
+
}, _0x202e32 = {
|
|
2035
|
+
_0x1d5144: 0x14c,
|
|
2036
|
+
_0x771244: 0x2c0
|
|
2037
|
+
}, _0x323b2e = {
|
|
2038
|
+
_0x2b49bf: 0x14c,
|
|
2039
|
+
_0x4bb452: 0x1b3
|
|
2040
|
+
}, _0x6412f8 = {
|
|
2041
|
+
_0xe5ea56: 0x14c,
|
|
2042
|
+
_0x2ab091: 0x192
|
|
2043
|
+
}, _0x2c83e0 = {
|
|
2044
|
+
_0xe32387: 0x228,
|
|
2045
|
+
_0x1b1174: 0x14c,
|
|
2046
|
+
_0x581c65: 0x165
|
|
2047
|
+
}, _0x25a51c = { _0x1bb6f3: 0x19c }, _0x50ab86 = {
|
|
2048
|
+
_0x3a4fd7: 0x2bd,
|
|
2049
|
+
_0x49b005: 0x14c
|
|
2050
|
+
}, _0x9b761c = { _0x1f257e: 0x14c }, _0x5555df = {
|
|
2051
|
+
_0x16422a: 0x2bf,
|
|
2052
|
+
_0x19eab8: 0x267
|
|
2053
|
+
}, _0x11f7c9 = { _0x40e865: 0x156 }, _0x4f4d4a = { _0x13ad49: 0x282 }, _0x47290e = { _0xbe87c2: 0x250 }, _0x13626d = { _0x365aa5: 0x14c }, _0x586cd4 = {
|
|
2054
|
+
_0x2cfd40: 0x21a,
|
|
2055
|
+
_0x31e7f0: 0x26c
|
|
2056
|
+
}, _0x4f0aa2 = _0x48b8fe, {z: _0x43c423} = await import(_0x4f0aa2(0x2cd));
|
|
2057
|
+
_0x463c63['tool']('send_message', _0x4f0aa2(0x17d), {
|
|
2058
|
+
'target': _0x43c423['string'](),
|
|
2059
|
+
'content': _0x43c423[_0x4f0aa2(0x1e8)](),
|
|
2060
|
+
'attachment_ids': _0x43c423[_0x4f0aa2(0x2c7)](_0x43c423[_0x4f0aa2(0x1e8)]())[_0x4f0aa2(_0x3edb08._0x804808)](),
|
|
2061
|
+
'visibility': _0x43c423[_0x4f0aa2(_0x3edb08._0x1332fa)]([
|
|
2062
|
+
'public',
|
|
2063
|
+
'aside'
|
|
2064
|
+
])[_0x4f0aa2(0x16e)]()
|
|
2065
|
+
}, async _0x595f51 => {
|
|
2066
|
+
const _0x181d01 = _0x4f0aa2;
|
|
2052
2067
|
try {
|
|
2053
|
-
return textResult(await
|
|
2054
|
-
} catch (
|
|
2055
|
-
return textResult(
|
|
2068
|
+
return textResult(await _0x2f2f75[_0x181d01(_0x586cd4._0x2cfd40)](_0x595f51));
|
|
2069
|
+
} catch (_0x18d7a4) {
|
|
2070
|
+
return textResult(_0x18d7a4 instanceof Error ? _0x18d7a4['message'] : _0x181d01(_0x586cd4._0x31e7f0), !![]);
|
|
2056
2071
|
}
|
|
2057
|
-
}),
|
|
2058
|
-
const
|
|
2072
|
+
}), _0x463c63['tool']('check_messages', _0x4f0aa2(_0x3edb08._0x234491), {}, async () => {
|
|
2073
|
+
const _0x34ff74 = _0x4f0aa2;
|
|
2059
2074
|
try {
|
|
2060
|
-
return textResult(await
|
|
2061
|
-
} catch (
|
|
2062
|
-
return textResult(
|
|
2075
|
+
return textResult(await _0x2f2f75[_0x34ff74(0x17c)]());
|
|
2076
|
+
} catch (_0x1c4625) {
|
|
2077
|
+
return textResult(_0x1c4625 instanceof Error ? _0x1c4625[_0x34ff74(_0x13626d._0x365aa5)] : 'check_messages\x20failed', !![]);
|
|
2063
2078
|
}
|
|
2064
|
-
}),
|
|
2065
|
-
'channel':
|
|
2066
|
-
'limit':
|
|
2067
|
-
'before':
|
|
2068
|
-
'after':
|
|
2069
|
-
}, async
|
|
2070
|
-
const
|
|
2079
|
+
}), _0x463c63[_0x4f0aa2(0x27a)](_0x4f0aa2(_0x3edb08._0x100f0d), _0x4f0aa2(_0x3edb08._0xaf7ac7), {
|
|
2080
|
+
'channel': _0x43c423[_0x4f0aa2(0x1e8)](),
|
|
2081
|
+
'limit': _0x43c423['number']()[_0x4f0aa2(_0x3edb08._0x804808)](),
|
|
2082
|
+
'before': _0x43c423[_0x4f0aa2(0x29c)]()[_0x4f0aa2(0x16e)](),
|
|
2083
|
+
'after': _0x43c423[_0x4f0aa2(0x29c)]()[_0x4f0aa2(_0x3edb08._0x804808)]()
|
|
2084
|
+
}, async _0x49b7bd => {
|
|
2085
|
+
const _0x316537 = _0x4f0aa2;
|
|
2071
2086
|
try {
|
|
2072
|
-
return textResult(await
|
|
2073
|
-
} catch (
|
|
2074
|
-
return textResult(
|
|
2087
|
+
return textResult(await _0x2f2f75[_0x316537(_0x47290e._0xbe87c2)](_0x49b7bd));
|
|
2088
|
+
} catch (_0x4950f8) {
|
|
2089
|
+
return textResult(_0x4950f8 instanceof Error ? _0x4950f8['message'] : 'read_history\x20failed', !![]);
|
|
2075
2090
|
}
|
|
2076
|
-
}),
|
|
2077
|
-
const
|
|
2091
|
+
}), _0x463c63[_0x4f0aa2(0x27a)](_0x4f0aa2(0x282), _0x4f0aa2(0x16f), {}, async () => {
|
|
2092
|
+
const _0x4b858a = _0x4f0aa2;
|
|
2078
2093
|
try {
|
|
2079
|
-
return textResult(await
|
|
2080
|
-
} catch (
|
|
2081
|
-
return textResult(
|
|
2094
|
+
return textResult(await _0x2f2f75[_0x4b858a(_0x4f4d4a._0x13ad49)]());
|
|
2095
|
+
} catch (_0x8b9c5b) {
|
|
2096
|
+
return textResult(_0x8b9c5b instanceof Error ? _0x8b9c5b[_0x4b858a(0x14c)] : _0x4b858a(0x19f), !![]);
|
|
2082
2097
|
}
|
|
2083
|
-
}),
|
|
2084
|
-
'channel':
|
|
2085
|
-
'status':
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
])[
|
|
2091
|
-
}, async
|
|
2092
|
-
const
|
|
2098
|
+
}), _0x463c63[_0x4f0aa2(_0x3edb08._0x5dd534)](_0x4f0aa2(_0x3edb08._0x9c580c), _0x4f0aa2(0x1cf), {
|
|
2099
|
+
'channel': _0x43c423[_0x4f0aa2(0x1e8)](),
|
|
2100
|
+
'status': _0x43c423[_0x4f0aa2(0x18b)]([
|
|
2101
|
+
_0x4f0aa2(_0x3edb08._0x1c8f62),
|
|
2102
|
+
_0x4f0aa2(_0x3edb08._0x32f2e2),
|
|
2103
|
+
'in_review',
|
|
2104
|
+
_0x4f0aa2(_0x3edb08._0x2abb47)
|
|
2105
|
+
])[_0x4f0aa2(0x16e)]()
|
|
2106
|
+
}, async _0x19930b => {
|
|
2107
|
+
const _0x1cb233 = _0x4f0aa2;
|
|
2093
2108
|
try {
|
|
2094
|
-
return textResult(await
|
|
2095
|
-
} catch (
|
|
2096
|
-
return textResult(
|
|
2109
|
+
return textResult(await _0x2f2f75['list_tasks'](_0x19930b));
|
|
2110
|
+
} catch (_0x49550e) {
|
|
2111
|
+
return textResult(_0x49550e instanceof Error ? _0x49550e[_0x1cb233(0x14c)] : _0x1cb233(0x15e), !![]);
|
|
2097
2112
|
}
|
|
2098
|
-
}),
|
|
2099
|
-
'channel':
|
|
2100
|
-
'idempotency_key':
|
|
2101
|
-
'tasks':
|
|
2102
|
-
'title':
|
|
2103
|
-
'description':
|
|
2104
|
-
'priority':
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
])[
|
|
2113
|
+
}), _0x463c63[_0x4f0aa2(_0x3edb08._0x5ab802)](_0x4f0aa2(_0x3edb08._0x25256f), 'Create\x20one\x20or\x20more\x20tasks\x20in\x20a\x20channel.', {
|
|
2114
|
+
'channel': _0x43c423[_0x4f0aa2(0x1e8)](),
|
|
2115
|
+
'idempotency_key': _0x43c423[_0x4f0aa2(0x1e8)]()[_0x4f0aa2(0x16e)](),
|
|
2116
|
+
'tasks': _0x43c423['array'](_0x43c423['object']({
|
|
2117
|
+
'title': _0x43c423[_0x4f0aa2(_0x3edb08._0x464f52)](),
|
|
2118
|
+
'description': _0x43c423[_0x4f0aa2(_0x3edb08._0x1b30a8)]()['optional'](),
|
|
2119
|
+
'priority': _0x43c423[_0x4f0aa2(0x18b)]([
|
|
2120
|
+
_0x4f0aa2(_0x3edb08._0x10d9ba),
|
|
2121
|
+
_0x4f0aa2(_0x3edb08._0x558793),
|
|
2122
|
+
'high',
|
|
2123
|
+
_0x4f0aa2(0x23c)
|
|
2124
|
+
])[_0x4f0aa2(_0x3edb08._0x804808)]()
|
|
2110
2125
|
}))
|
|
2111
|
-
}, async
|
|
2112
|
-
const
|
|
2126
|
+
}, async _0x5c87a6 => {
|
|
2127
|
+
const _0x5ca768 = _0x4f0aa2;
|
|
2113
2128
|
try {
|
|
2114
|
-
return textResult(await
|
|
2115
|
-
} catch (
|
|
2116
|
-
return textResult(
|
|
2129
|
+
return textResult(await _0x2f2f75[_0x5ca768(_0x11f7c9._0x40e865)](_0x5c87a6));
|
|
2130
|
+
} catch (_0x3be30c) {
|
|
2131
|
+
return textResult(_0x3be30c instanceof Error ? _0x3be30c[_0x5ca768(0x14c)] : _0x5ca768(0x27d), !![]);
|
|
2117
2132
|
}
|
|
2118
|
-
}),
|
|
2119
|
-
'channel':
|
|
2120
|
-
'task_numbers':
|
|
2121
|
-
'message_ids':
|
|
2122
|
-
'evidence':
|
|
2123
|
-
'create_thread':
|
|
2124
|
-
'create_task':
|
|
2125
|
-
}))[
|
|
2126
|
-
'idempotency_key':
|
|
2127
|
-
}, async
|
|
2128
|
-
const
|
|
2133
|
+
}), _0x463c63['tool'](_0x4f0aa2(0x2bf), _0x4f0aa2(_0x3edb08._0x3a73c9), {
|
|
2134
|
+
'channel': _0x43c423[_0x4f0aa2(0x1e8)](),
|
|
2135
|
+
'task_numbers': _0x43c423['array'](_0x43c423['number']())['optional'](),
|
|
2136
|
+
'message_ids': _0x43c423['array'](_0x43c423[_0x4f0aa2(0x1e8)]())[_0x4f0aa2(0x16e)](),
|
|
2137
|
+
'evidence': _0x43c423['record'](_0x43c423[_0x4f0aa2(0x1e8)](), _0x43c423[_0x4f0aa2(_0x3edb08._0x5e2375)]({
|
|
2138
|
+
'create_thread': _0x43c423['unknown']()[_0x4f0aa2(_0x3edb08._0x5aae51)](),
|
|
2139
|
+
'create_task': _0x43c423[_0x4f0aa2(0x2a4)]()[_0x4f0aa2(0x16e)]()
|
|
2140
|
+
}))[_0x4f0aa2(_0x3edb08._0xdcd7b7)](),
|
|
2141
|
+
'idempotency_key': _0x43c423[_0x4f0aa2(_0x3edb08._0x464f52)]()['optional']()
|
|
2142
|
+
}, async _0x59659e => {
|
|
2143
|
+
const _0x49274d = _0x4f0aa2;
|
|
2129
2144
|
try {
|
|
2130
|
-
return textResult(await
|
|
2131
|
-
} catch (
|
|
2132
|
-
return textResult(
|
|
2145
|
+
return textResult(await _0x2f2f75[_0x49274d(_0x5555df._0x16422a)](_0x59659e));
|
|
2146
|
+
} catch (_0x28bb5a) {
|
|
2147
|
+
return textResult(_0x28bb5a instanceof Error ? _0x28bb5a[_0x49274d(0x14c)] : _0x49274d(_0x5555df._0x19eab8), !![]);
|
|
2133
2148
|
}
|
|
2134
|
-
}),
|
|
2135
|
-
'channel':
|
|
2136
|
-
'task_number':
|
|
2137
|
-
'idempotency_key':
|
|
2138
|
-
}, async
|
|
2139
|
-
const
|
|
2149
|
+
}), _0x463c63[_0x4f0aa2(0x27a)](_0x4f0aa2(0x28e), _0x4f0aa2(0x2ac), {
|
|
2150
|
+
'channel': _0x43c423[_0x4f0aa2(0x1e8)](),
|
|
2151
|
+
'task_number': _0x43c423['number'](),
|
|
2152
|
+
'idempotency_key': _0x43c423['string']()['optional']()
|
|
2153
|
+
}, async _0x2a3c01 => {
|
|
2154
|
+
const _0x222d9e = _0x4f0aa2;
|
|
2140
2155
|
try {
|
|
2141
|
-
return textResult(await
|
|
2142
|
-
} catch (
|
|
2143
|
-
return textResult(
|
|
2156
|
+
return textResult(await _0x2f2f75['unclaim_task'](_0x2a3c01));
|
|
2157
|
+
} catch (_0x563fa2) {
|
|
2158
|
+
return textResult(_0x563fa2 instanceof Error ? _0x563fa2[_0x222d9e(0x14c)] : _0x222d9e(0x186), !![]);
|
|
2144
2159
|
}
|
|
2145
|
-
}),
|
|
2146
|
-
'channel':
|
|
2147
|
-
'task_number':
|
|
2148
|
-
'status':
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2160
|
+
}), _0x463c63[_0x4f0aa2(0x27a)](_0x4f0aa2(_0x3edb08._0x521ac4), 'Update\x20task\x20status\x20by\x20channel\x20and\x20task\x20number.', {
|
|
2161
|
+
'channel': _0x43c423[_0x4f0aa2(_0x3edb08._0x2c8aa9)](),
|
|
2162
|
+
'task_number': _0x43c423[_0x4f0aa2(0x29c)](),
|
|
2163
|
+
'status': _0x43c423[_0x4f0aa2(0x18b)]([
|
|
2164
|
+
'todo',
|
|
2165
|
+
_0x4f0aa2(_0x3edb08._0x32f2e2),
|
|
2166
|
+
_0x4f0aa2(0x2c3),
|
|
2167
|
+
_0x4f0aa2(0x1f9)
|
|
2153
2168
|
]),
|
|
2154
|
-
'idempotency_key':
|
|
2155
|
-
}, async
|
|
2156
|
-
const
|
|
2169
|
+
'idempotency_key': _0x43c423[_0x4f0aa2(0x1e8)]()[_0x4f0aa2(_0x3edb08._0x5aae51)]()
|
|
2170
|
+
}, async _0x3251b4 => {
|
|
2171
|
+
const _0x269198 = _0x4f0aa2;
|
|
2157
2172
|
try {
|
|
2158
|
-
return textResult(await
|
|
2159
|
-
} catch (
|
|
2160
|
-
return textResult(
|
|
2173
|
+
return textResult(await _0x2f2f75[_0x269198(0x1c0)](_0x3251b4));
|
|
2174
|
+
} catch (_0x321f2d) {
|
|
2175
|
+
return textResult(_0x321f2d instanceof Error ? _0x321f2d[_0x269198(_0x9b761c._0x1f257e)] : _0x269198(0x1a1), !![]);
|
|
2161
2176
|
}
|
|
2162
|
-
}),
|
|
2163
|
-
'channel':
|
|
2164
|
-
'file_path':
|
|
2165
|
-
}, async
|
|
2166
|
-
const
|
|
2177
|
+
}), _0x463c63['tool'](_0x4f0aa2(0x2bd), _0x4f0aa2(_0x3edb08._0x545642), {
|
|
2178
|
+
'channel': _0x43c423[_0x4f0aa2(_0x3edb08._0x247534)](),
|
|
2179
|
+
'file_path': _0x43c423[_0x4f0aa2(0x1e8)]()
|
|
2180
|
+
}, async _0x3b3598 => {
|
|
2181
|
+
const _0x3f8dac = _0x4f0aa2;
|
|
2167
2182
|
try {
|
|
2168
|
-
return textResult(await
|
|
2169
|
-
} catch (
|
|
2170
|
-
return textResult(
|
|
2183
|
+
return textResult(await _0x2f2f75[_0x3f8dac(_0x50ab86._0x3a4fd7)](_0x3b3598));
|
|
2184
|
+
} catch (_0x2e112c) {
|
|
2185
|
+
return textResult(_0x2e112c instanceof Error ? _0x2e112c[_0x3f8dac(_0x50ab86._0x49b005)] : _0x3f8dac(0x21e), !![]);
|
|
2171
2186
|
}
|
|
2172
|
-
}),
|
|
2173
|
-
const
|
|
2187
|
+
}), _0x463c63[_0x4f0aa2(_0x3edb08._0x5dd534)](_0x4f0aa2(0x23b), _0x4f0aa2(_0x3edb08._0xbdcf4e), { 'attachment_id': _0x43c423[_0x4f0aa2(0x1e8)]() }, async _0xc1e4c0 => {
|
|
2188
|
+
const _0x3f81ad = _0x4f0aa2;
|
|
2174
2189
|
try {
|
|
2175
|
-
return textResult(await
|
|
2176
|
-
} catch (
|
|
2177
|
-
return textResult(
|
|
2190
|
+
return textResult(await _0x2f2f75[_0x3f81ad(0x23b)](_0xc1e4c0));
|
|
2191
|
+
} catch (_0x25d50a) {
|
|
2192
|
+
return textResult(_0x25d50a instanceof Error ? _0x25d50a[_0x3f81ad(0x14c)] : 'view_file\x20failed', !![]);
|
|
2178
2193
|
}
|
|
2179
|
-
}),
|
|
2180
|
-
const
|
|
2194
|
+
}), _0x463c63[_0x4f0aa2(0x27a)](_0x4f0aa2(0x18a), _0x4f0aa2(_0x3edb08._0x3591fa), { 'work_key': _0x43c423['string']() }, async _0x1f4271 => {
|
|
2195
|
+
const _0x49dd9f = _0x4f0aa2;
|
|
2181
2196
|
try {
|
|
2182
|
-
return textResult(await
|
|
2183
|
-
} catch (
|
|
2184
|
-
return textResult(
|
|
2197
|
+
return textResult(await _0x2f2f75['get_worker_status'](_0x1f4271));
|
|
2198
|
+
} catch (_0x353866) {
|
|
2199
|
+
return textResult(_0x353866 instanceof Error ? _0x353866[_0x49dd9f(0x14c)] : _0x49dd9f(_0x25a51c._0x1bb6f3), !![]);
|
|
2185
2200
|
}
|
|
2186
|
-
}),
|
|
2187
|
-
const
|
|
2201
|
+
}), _0x463c63[_0x4f0aa2(0x27a)](_0x4f0aa2(0x228), 'Retrieve\x20the\x20result\x20(resume\x20packet)\x20of\x20a\x20completed\x20worker.', { 'work_key': _0x43c423[_0x4f0aa2(0x1e8)]() }, async _0x3d4926 => {
|
|
2202
|
+
const _0x3d3496 = _0x4f0aa2;
|
|
2188
2203
|
try {
|
|
2189
|
-
return textResult(await
|
|
2190
|
-
} catch (
|
|
2191
|
-
return textResult(
|
|
2204
|
+
return textResult(await _0x2f2f75[_0x3d3496(_0x2c83e0._0xe32387)](_0x3d4926));
|
|
2205
|
+
} catch (_0x57ef76) {
|
|
2206
|
+
return textResult(_0x57ef76 instanceof Error ? _0x57ef76[_0x3d3496(_0x2c83e0._0x1b1174)] : _0x3d3496(_0x2c83e0._0x581c65), !![]);
|
|
2192
2207
|
}
|
|
2193
|
-
}),
|
|
2194
|
-
'work_key':
|
|
2195
|
-
'result':
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2208
|
+
}), _0x463c63['tool'](_0x4f0aa2(_0x3edb08._0x50b906), _0x4f0aa2(_0x3edb08._0x5bfebb), {
|
|
2209
|
+
'work_key': _0x43c423[_0x4f0aa2(0x1e8)](),
|
|
2210
|
+
'result': _0x43c423[_0x4f0aa2(_0x3edb08._0x5b207b)]([
|
|
2211
|
+
'completed',
|
|
2212
|
+
_0x4f0aa2(_0x3edb08._0x4735b0),
|
|
2213
|
+
_0x4f0aa2(_0x3edb08._0x2dfac7)
|
|
2199
2214
|
]),
|
|
2200
|
-
'summary':
|
|
2201
|
-
'decisions':
|
|
2202
|
-
'files_changed':
|
|
2203
|
-
'open_issues':
|
|
2204
|
-
'next_steps':
|
|
2205
|
-
}, async
|
|
2206
|
-
const
|
|
2215
|
+
'summary': _0x43c423[_0x4f0aa2(_0x3edb08._0x486739)](),
|
|
2216
|
+
'decisions': _0x43c423[_0x4f0aa2(_0x3edb08._0x1a0461)](_0x43c423['string']())[_0x4f0aa2(_0x3edb08._0x5aae51)](),
|
|
2217
|
+
'files_changed': _0x43c423[_0x4f0aa2(_0x3edb08._0x1a0461)](_0x43c423[_0x4f0aa2(_0x3edb08._0x1b30a8)]())[_0x4f0aa2(_0x3edb08._0x5aae51)](),
|
|
2218
|
+
'open_issues': _0x43c423['array'](_0x43c423[_0x4f0aa2(0x1e8)]())[_0x4f0aa2(_0x3edb08._0x804808)](),
|
|
2219
|
+
'next_steps': _0x43c423[_0x4f0aa2(_0x3edb08._0x3e27f8)](_0x43c423['string']())['optional']()
|
|
2220
|
+
}, async _0xb25b6e => {
|
|
2221
|
+
const _0x51cae4 = _0x4f0aa2;
|
|
2207
2222
|
try {
|
|
2208
|
-
return textResult(await
|
|
2209
|
-
} catch (
|
|
2210
|
-
return textResult(
|
|
2223
|
+
return textResult(await _0x2f2f75[_0x51cae4(0x180)](_0xb25b6e));
|
|
2224
|
+
} catch (_0xa554f9) {
|
|
2225
|
+
return textResult(_0xa554f9 instanceof Error ? _0xa554f9[_0x51cae4(_0x6412f8._0xe5ea56)] : _0x51cae4(_0x6412f8._0x2ab091), !![]);
|
|
2211
2226
|
}
|
|
2212
|
-
}),
|
|
2213
|
-
'work_key':
|
|
2214
|
-
'reason':
|
|
2215
|
-
}, async
|
|
2216
|
-
const
|
|
2227
|
+
}), _0x463c63[_0x4f0aa2(0x27a)](_0x4f0aa2(0x1f0), _0x4f0aa2(0x14e), {
|
|
2228
|
+
'work_key': _0x43c423[_0x4f0aa2(0x1e8)](),
|
|
2229
|
+
'reason': _0x43c423['string']()
|
|
2230
|
+
}, async _0x29afb7 => {
|
|
2231
|
+
const _0x1e1755 = _0x4f0aa2;
|
|
2217
2232
|
try {
|
|
2218
|
-
return textResult(await
|
|
2219
|
-
} catch (
|
|
2220
|
-
return textResult(
|
|
2233
|
+
return textResult(await _0x2f2f75[_0x1e1755(0x1f0)](_0x29afb7));
|
|
2234
|
+
} catch (_0x46d9cd) {
|
|
2235
|
+
return textResult(_0x46d9cd instanceof Error ? _0x46d9cd[_0x1e1755(_0x323b2e._0x2b49bf)] : _0x1e1755(_0x323b2e._0x4bb452), !![]);
|
|
2221
2236
|
}
|
|
2222
|
-
}),
|
|
2223
|
-
const
|
|
2237
|
+
}), _0xfee343?.['workerMode'] && _0x463c63['tool'](_0x4f0aa2(_0x3edb08._0x1b90ee), _0x4f0aa2(_0x3edb08._0x3fe744), { 'work_key': _0x43c423[_0x4f0aa2(_0x3edb08._0x2221b0)]() }, async _0x16abac => {
|
|
2238
|
+
const _0x1f917f = _0x4f0aa2;
|
|
2224
2239
|
try {
|
|
2225
|
-
return textResult(await
|
|
2226
|
-
} catch (
|
|
2227
|
-
return textResult(
|
|
2240
|
+
return textResult(await _0x2f2f75[_0x1f917f(0x19d)](_0x16abac));
|
|
2241
|
+
} catch (_0x13f678) {
|
|
2242
|
+
return textResult(_0x13f678 instanceof Error ? _0x13f678[_0x1f917f(_0x202e32._0x1d5144)] : _0x1f917f(_0x202e32._0x771244), !![]);
|
|
2228
2243
|
}
|
|
2229
2244
|
});
|
|
2230
2245
|
}
|
|
2231
|
-
async function createChatBridgeServer(
|
|
2232
|
-
const
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2246
|
+
async function createChatBridgeServer(_0x2ed041) {
|
|
2247
|
+
const _0x5909aa = {
|
|
2248
|
+
_0x273f08: 0x2ad,
|
|
2249
|
+
_0x28131f: 0x158,
|
|
2250
|
+
_0x101c10: 0x2b5
|
|
2251
|
+
}, _0x19f14c = _0x48b8fe, {McpServer: _0x437f57} = await import(_0x19f14c(0x26b)), _0x10f471 = new _0x437f57({
|
|
2252
|
+
'name': _0x19f14c(_0x5909aa._0x273f08),
|
|
2253
|
+
'version': _0x19f14c(_0x5909aa._0x28131f)
|
|
2254
|
+
}), _0x31ee8c = createChatBridgeHandlers(_0x2ed041);
|
|
2255
|
+
return await registerChatBridgeTools(_0x10f471, _0x31ee8c, { 'workerMode': _0x2ed041[_0x19f14c(_0x5909aa._0x101c10)] }), {
|
|
2256
|
+
'handlers': _0x31ee8c,
|
|
2257
|
+
'server': _0x10f471
|
|
2239
2258
|
};
|
|
2240
2259
|
}
|
|
2241
|
-
function readFlag(
|
|
2242
|
-
const
|
|
2243
|
-
if (
|
|
2260
|
+
function readFlag(_0x666cb3, _0x2a2d40) {
|
|
2261
|
+
const _0x95dbff = { _0x11fc9d: 0x177 }, _0x23c030 = _0x48b8fe, _0x2abd16 = _0x666cb3[_0x23c030(_0x95dbff._0x11fc9d)](_0x2a2d40);
|
|
2262
|
+
if (_0x2abd16 === -0x1)
|
|
2244
2263
|
return void 0x0;
|
|
2245
|
-
return
|
|
2264
|
+
return _0x666cb3[_0x2abd16 + 0x1];
|
|
2246
2265
|
}
|
|
2247
|
-
function parseChatBridgeArgs(
|
|
2248
|
-
const
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
if (!
|
|
2260
|
-
throw new Error(
|
|
2261
|
-
if (
|
|
2262
|
-
throw new Error(
|
|
2266
|
+
function parseChatBridgeArgs(_0x65bd65) {
|
|
2267
|
+
const _0x5b8700 = {
|
|
2268
|
+
_0x2266f6: 0x2b7,
|
|
2269
|
+
_0x54ad5f: 0x179,
|
|
2270
|
+
_0x286a8e: 0x2c6,
|
|
2271
|
+
_0x54548b: 0x2ce,
|
|
2272
|
+
_0x356679: 0x1ae,
|
|
2273
|
+
_0xebe3b7: 0x286,
|
|
2274
|
+
_0x2e2d04: 0x1cd,
|
|
2275
|
+
_0x17699a: 0x24d,
|
|
2276
|
+
_0x24cfdc: 0x1d9
|
|
2277
|
+
}, _0x36442a = _0x48b8fe, _0x3716ea = readFlag(_0x65bd65, _0x36442a(0x15c)), _0x29d4b6 = readFlag(_0x65bd65, _0x36442a(_0x5b8700._0x2266f6)), _0x527671 = readFlag(_0x65bd65, _0x36442a(_0x5b8700._0x54ad5f)), _0x3a9a54 = readFlag(_0x65bd65, _0x36442a(0x19b)) ?? 'http://localhost:8121', _0x487a8b = readFlag(_0x65bd65, '--daemon-local-url'), _0x255892 = readFlag(_0x65bd65, _0x36442a(_0x5b8700._0x286a8e)), _0x43f352 = readFlag(_0x65bd65, '--worker-mode-enabled'), _0x4586c2 = readFlag(_0x65bd65, _0x36442a(_0x5b8700._0x54548b)), _0x1c50c5 = readFlag(_0x65bd65, _0x36442a(_0x5b8700._0x356679)), _0x500528 = _0x65bd65['includes'](_0x36442a(_0x5b8700._0xebe3b7)), _0x2a5b4b = _0x527671 === void 0x0 ? void 0x0 : Number[_0x36442a(_0x5b8700._0x2e2d04)](_0x527671, 0xa);
|
|
2278
|
+
if (!_0x3716ea)
|
|
2279
|
+
throw new Error('Missing\x20--agent-id');
|
|
2280
|
+
if (!_0x29d4b6)
|
|
2281
|
+
throw new Error('Missing\x20--daemon-api-key');
|
|
2282
|
+
if (_0x527671 !== void 0x0 && (_0x2a5b4b === void 0x0 || !Number[_0x36442a(_0x5b8700._0x17699a)](_0x2a5b4b) || _0x2a5b4b < 0x0))
|
|
2283
|
+
throw new Error(_0x36442a(_0x5b8700._0x24cfdc));
|
|
2263
2284
|
return {
|
|
2264
|
-
'agentId':
|
|
2265
|
-
'daemonApiKey':
|
|
2266
|
-
'daemonLocalUrl':
|
|
2267
|
-
'initialLastSeenSeq':
|
|
2268
|
-
'sessionId':
|
|
2269
|
-
'serverUrl':
|
|
2270
|
-
'workerModeEnabled':
|
|
2271
|
-
'workerSessionId':
|
|
2272
|
-
'workerThreadTarget':
|
|
2273
|
-
'workerMode':
|
|
2285
|
+
'agentId': _0x3716ea,
|
|
2286
|
+
'daemonApiKey': _0x29d4b6,
|
|
2287
|
+
'daemonLocalUrl': _0x487a8b,
|
|
2288
|
+
'initialLastSeenSeq': _0x2a5b4b,
|
|
2289
|
+
'sessionId': _0x255892,
|
|
2290
|
+
'serverUrl': _0x3a9a54,
|
|
2291
|
+
'workerModeEnabled': _0x43f352 === void 0x0 ? void 0x0 : _0x43f352 !== _0x36442a(0x2a8),
|
|
2292
|
+
'workerSessionId': _0x4586c2,
|
|
2293
|
+
'workerThreadTarget': _0x1c50c5,
|
|
2294
|
+
'workerMode': _0x500528
|
|
2274
2295
|
};
|
|
2275
2296
|
}
|
|
2276
|
-
async function runChatBridgeCli(
|
|
2277
|
-
const
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
},
|
|
2282
|
-
'agentId':
|
|
2283
|
-
'attachmentCache':
|
|
2284
|
-
'client':
|
|
2285
|
-
'daemonLocalUrl':
|
|
2297
|
+
async function runChatBridgeCli(_0x405a99) {
|
|
2298
|
+
const _0x40b458 = {
|
|
2299
|
+
_0x53675b: 0x207,
|
|
2300
|
+
_0x5ca307: 0x299,
|
|
2301
|
+
_0x373e03: 0x2b5
|
|
2302
|
+
}, _0x17ad82 = _0x48b8fe, _0x35b8b6 = parseChatBridgeArgs(_0x405a99), {StdioServerTransport: _0x3b594c} = await import('@modelcontextprotocol/sdk/server/stdio.js'), _0x1fe9b1 = createInternalAgentClient(_0x35b8b6), _0x1a8b65 = createAttachmentCache(), _0x3f2718 = await createChatBridgeServer({
|
|
2303
|
+
'agentId': _0x35b8b6[_0x17ad82(_0x40b458._0x53675b)],
|
|
2304
|
+
'attachmentCache': _0x1a8b65,
|
|
2305
|
+
'client': _0x1fe9b1,
|
|
2306
|
+
'daemonLocalUrl': _0x35b8b6[_0x17ad82(0x238)],
|
|
2286
2307
|
'uploadPreparer': prepareUploadFile,
|
|
2287
|
-
'workerModeEnabled':
|
|
2288
|
-
'workerMode':
|
|
2308
|
+
'workerModeEnabled': _0x35b8b6[_0x17ad82(_0x40b458._0x5ca307)],
|
|
2309
|
+
'workerMode': _0x35b8b6[_0x17ad82(_0x40b458._0x373e03)]
|
|
2289
2310
|
});
|
|
2290
|
-
await
|
|
2311
|
+
await _0x3f2718['server'][_0x17ad82(0x21d)](new _0x3b594c());
|
|
2291
2312
|
}
|
|
2292
|
-
var executedAsEntry = process[
|
|
2293
|
-
executedAsEntry && await runChatBridgeCli(process[
|
|
2313
|
+
var executedAsEntry = process[_0x48b8fe(0x1c9)][0x1] ? import.meta.url === pathToFileURL(process[_0x48b8fe(0x1c9)][0x1])[_0x48b8fe(0x29e)] : ![];
|
|
2314
|
+
executedAsEntry && await runChatBridgeCli(process[_0x48b8fe(0x1c9)][_0x48b8fe(0x2c4)](0x2));
|
|
2294
2315
|
export {
|
|
2295
2316
|
createChatBridgeHandlers,
|
|
2296
2317
|
createChatBridgeServer,
|