@dscord/daemon 0.1.14 → 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 +1930 -1906
- package/dist/index.js +7549 -7334
- package/package.json +1 -1
package/dist/chat-bridge.js
CHANGED
|
@@ -1,27 +1,23 @@
|
|
|
1
|
-
const
|
|
2
|
-
(function (
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
_0x3e8400: 0x215,
|
|
10
|
-
_0x791ced: 0x209,
|
|
11
|
-
_0x2e84c0: 0x29d
|
|
12
|
-
}, _0x419bb8 = _0x4ff1, _0x12d01b = _0x2dcc81();
|
|
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();
|
|
13
9
|
while (!![]) {
|
|
14
10
|
try {
|
|
15
|
-
const
|
|
16
|
-
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)
|
|
17
13
|
break;
|
|
18
14
|
else
|
|
19
|
-
|
|
20
|
-
} catch (
|
|
21
|
-
|
|
15
|
+
_0x213fd2['push'](_0x213fd2['shift']());
|
|
16
|
+
} catch (_0x2cc1ce) {
|
|
17
|
+
_0x213fd2['push'](_0x213fd2['shift']());
|
|
22
18
|
}
|
|
23
19
|
}
|
|
24
|
-
}(
|
|
20
|
+
}(_0x28eb, 0xe8265));
|
|
25
21
|
import { pathToFileURL } from 'node:url';
|
|
26
22
|
import {
|
|
27
23
|
mkdir,
|
|
@@ -31,104 +27,76 @@ import {
|
|
|
31
27
|
writeFile
|
|
32
28
|
} from 'node:fs/promises';
|
|
33
29
|
import { homedir } from 'node:os';
|
|
34
|
-
|
|
35
|
-
_0x4eb3d1 = _0x4eb3d1 - 0x160;
|
|
36
|
-
const _0x1f56f0 = _0x1f56();
|
|
37
|
-
let _0x4ff1bb = _0x1f56f0[_0x4eb3d1];
|
|
38
|
-
if (_0x4ff1['LkDULG'] === undefined) {
|
|
39
|
-
var _0x1167af = function (_0x46da1d) {
|
|
40
|
-
const _0x88b883 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
41
|
-
let _0x3b0e99 = '', _0x86124 = '';
|
|
42
|
-
for (let _0x244daf = 0x0, _0x188019, _0x297b3a, _0x3cf68d = 0x0; _0x297b3a = _0x46da1d['charAt'](_0x3cf68d++); ~_0x297b3a && (_0x188019 = _0x244daf % 0x4 ? _0x188019 * 0x40 + _0x297b3a : _0x297b3a, _0x244daf++ % 0x4) ? _0x3b0e99 += String['fromCharCode'](0xff & _0x188019 >> (-0x2 * _0x244daf & 0x6)) : 0x0) {
|
|
43
|
-
_0x297b3a = _0x88b883['indexOf'](_0x297b3a);
|
|
44
|
-
}
|
|
45
|
-
for (let _0x4e26d7 = 0x0, _0x4a2547 = _0x3b0e99['length']; _0x4e26d7 < _0x4a2547; _0x4e26d7++) {
|
|
46
|
-
_0x86124 += '%' + ('00' + _0x3b0e99['charCodeAt'](_0x4e26d7)['toString'](0x10))['slice'](-0x2);
|
|
47
|
-
}
|
|
48
|
-
return decodeURIComponent(_0x86124);
|
|
49
|
-
};
|
|
50
|
-
_0x4ff1['BPhiqJ'] = _0x1167af, _0x4ff1['MEmfio'] = {}, _0x4ff1['LkDULG'] = !![];
|
|
51
|
-
}
|
|
52
|
-
const _0x552b17 = _0x1f56f0[0x0], _0x47bc00 = _0x4eb3d1 + _0x552b17, _0x2cfd4e = _0x4ff1['MEmfio'][_0x47bc00];
|
|
53
|
-
return !_0x2cfd4e ? (_0x4ff1bb = _0x4ff1['BPhiqJ'](_0x4ff1bb), _0x4ff1['MEmfio'][_0x47bc00] = _0x4ff1bb) : _0x4ff1bb = _0x2cfd4e, _0x4ff1bb;
|
|
54
|
-
}
|
|
55
|
-
import _0x3b0e99 from 'node:path';
|
|
30
|
+
import _0x1a4946 from 'node:path';
|
|
56
31
|
var DEFAULT_MAX_FILE_SIZE = 0x64 * 0x400 * 0x400, MIME_BY_EXTENSION = {
|
|
57
32
|
'.csv': 'text/csv',
|
|
58
|
-
'.gif':
|
|
59
|
-
'.jpeg':
|
|
60
|
-
'.jpg':
|
|
61
|
-
'.json':
|
|
62
|
-
'.md':
|
|
63
|
-
'.pdf':
|
|
64
|
-
'.png':
|
|
65
|
-
'.svg':
|
|
66
|
-
'.txt':
|
|
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),
|
|
67
42
|
'.webp': 'image/webp',
|
|
68
|
-
'.xml':
|
|
69
|
-
'.zip':
|
|
43
|
+
'.xml': _0x48b8fe(0x1ab),
|
|
44
|
+
'.zip': _0x48b8fe(0x1a6)
|
|
70
45
|
};
|
|
71
|
-
function guessContentType(
|
|
72
|
-
const
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
return MIME_BY_EXTENSION[_0x3b0e99[_0x3ae492(_0x31712a._0x11ffcf)](_0x86124)[_0x3ae492(_0x31712a._0x1c6dab)]()] ?? _0x3ae492(_0x31712a._0x4aa37b);
|
|
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);
|
|
78
52
|
}
|
|
79
|
-
function safeFilename(
|
|
80
|
-
const
|
|
81
|
-
return
|
|
53
|
+
function safeFilename(_0x700df3) {
|
|
54
|
+
const _0x4cb034 = _0x48b8fe;
|
|
55
|
+
return _0x700df3[_0x4cb034(0x29a)](/[\\/]/g, '-');
|
|
82
56
|
}
|
|
83
|
-
function extensionFor(
|
|
84
|
-
const
|
|
85
|
-
|
|
86
|
-
_0xdc81a1: 0x266
|
|
87
|
-
}, _0x5c7fb0 = _0x84e1c7, _0x297b3a = Object[_0x5c7fb0(0x2df)](MIME_BY_EXTENSION)[_0x5c7fb0(_0x34982d._0x5e93f2)](([, _0x3cf68d]) => _0x3cf68d === _0x188019);
|
|
88
|
-
return _0x297b3a?.[0x0] ?? _0x5c7fb0(_0x34982d._0xdc81a1);
|
|
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';
|
|
89
60
|
}
|
|
90
|
-
async function prepareUploadFile(
|
|
91
|
-
const
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
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);
|
|
105
78
|
return {
|
|
106
|
-
'contentBase64':
|
|
107
|
-
'contentType': guessContentType(
|
|
108
|
-
'filename':
|
|
109
|
-
'sizeBytes':
|
|
79
|
+
'contentBase64': _0x1f4824[_0x1ef369(_0x5e57be._0x4b9a88)](_0x1ef369(_0x5e57be._0x30a791)),
|
|
80
|
+
'contentType': guessContentType(_0x2ae3c8),
|
|
81
|
+
'filename': _0x2ae3c8,
|
|
82
|
+
'sizeBytes': _0x3458e6[_0x1ef369(0x1d7)]
|
|
110
83
|
};
|
|
111
84
|
}
|
|
112
|
-
function createAttachmentCache(
|
|
113
|
-
const
|
|
114
|
-
_0x2c0b2b: 0x1d5,
|
|
115
|
-
_0x22bf1a: 0x16e,
|
|
116
|
-
_0x5ceb9: 0x295,
|
|
117
|
-
_0x3513fc: 0x239
|
|
118
|
-
}, _0xa1135c = _0x84e1c7, _0x3827d9 = _0x465a97['cacheDir'] ?? _0x3b0e99[_0xa1135c(_0x3ef64f._0x2b74fe)](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));
|
|
119
87
|
return {
|
|
120
|
-
'cacheDir':
|
|
121
|
-
async 'findCachedPath'(
|
|
122
|
-
const
|
|
123
|
-
await mkdir(
|
|
124
|
-
const
|
|
125
|
-
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;
|
|
126
94
|
},
|
|
127
|
-
async 'save'(
|
|
128
|
-
const
|
|
129
|
-
await mkdir(
|
|
130
|
-
const
|
|
131
|
-
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;
|
|
132
100
|
}
|
|
133
101
|
};
|
|
134
102
|
}
|
|
@@ -136,2158 +104,2214 @@ import {
|
|
|
136
104
|
createHash,
|
|
137
105
|
randomUUID
|
|
138
106
|
} from 'node:crypto';
|
|
139
|
-
var UNSUPPORTED_TARGET_MESSAGE =
|
|
140
|
-
function ensureSegment(
|
|
141
|
-
const
|
|
142
|
-
|
|
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)](':'))
|
|
143
114
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
144
|
-
return
|
|
115
|
+
return _0xa9e3f9;
|
|
145
116
|
}
|
|
146
|
-
function parseThreadParts(
|
|
147
|
-
const
|
|
148
|
-
if (
|
|
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)
|
|
149
120
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
150
121
|
return {
|
|
151
|
-
'channelName': ensureSegment(
|
|
152
|
-
'threadShortId':
|
|
122
|
+
'channelName': ensureSegment(_0x481e98[0x0] ?? ''),
|
|
123
|
+
'threadShortId': _0x481e98[0x1] ? ensureSegment(_0x481e98[0x1]) : null
|
|
153
124
|
};
|
|
154
125
|
}
|
|
155
|
-
function parseTarget(
|
|
156
|
-
const
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
}, _0x292109 = _0x84e1c7, _0x567457 = _0x556677['trim']();
|
|
169
|
-
if (!_0x567457)
|
|
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)
|
|
170
139
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
171
|
-
if (
|
|
172
|
-
const
|
|
173
|
-
if (!
|
|
140
|
+
if (_0x3185a3[_0x523a28(0x234)]('#')) {
|
|
141
|
+
const _0x1b6e68 = parseThreadParts(_0x3185a3[_0x523a28(_0x339e00._0x2390ff)](0x1)), _0x20d025 = '#' + _0x1b6e68['channelName'];
|
|
142
|
+
if (!_0x1b6e68[_0x523a28(_0x339e00._0x458ad6)])
|
|
174
143
|
return {
|
|
175
|
-
'channelName':
|
|
176
|
-
'channelTarget':
|
|
144
|
+
'channelName': _0x1b6e68[_0x523a28(0x16a)],
|
|
145
|
+
'channelTarget': _0x20d025,
|
|
177
146
|
'kind': 'channel',
|
|
178
|
-
'target':
|
|
147
|
+
'target': _0x20d025
|
|
179
148
|
};
|
|
180
149
|
return {
|
|
181
|
-
'channelName':
|
|
182
|
-
'channelTarget':
|
|
183
|
-
'kind':
|
|
184
|
-
'target':
|
|
185
|
-
'threadShortId':
|
|
150
|
+
'channelName': _0x1b6e68['channelName'],
|
|
151
|
+
'channelTarget': _0x20d025,
|
|
152
|
+
'kind': _0x523a28(0x264),
|
|
153
|
+
'target': _0x20d025 + ':' + _0x1b6e68[_0x523a28(_0x339e00._0x458ad6)],
|
|
154
|
+
'threadShortId': _0x1b6e68[_0x523a28(_0x339e00._0x4e45b4)]
|
|
186
155
|
};
|
|
187
156
|
}
|
|
188
|
-
if (
|
|
189
|
-
const
|
|
190
|
-
if (!
|
|
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)))
|
|
191
160
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
192
|
-
const
|
|
193
|
-
if (!
|
|
161
|
+
const _0x546126 = _0x523a28(0x1f5) + _0x4200dd[_0x523a28(0x16a)];
|
|
162
|
+
if (!_0x4200dd[_0x523a28(0x218)])
|
|
194
163
|
return {
|
|
195
|
-
'channelName':
|
|
196
|
-
'channelTarget':
|
|
197
|
-
'kind':
|
|
198
|
-
'target':
|
|
164
|
+
'channelName': _0x4200dd[_0x523a28(_0x339e00._0x180156)],
|
|
165
|
+
'channelTarget': _0x546126,
|
|
166
|
+
'kind': 'channel',
|
|
167
|
+
'target': _0x546126
|
|
199
168
|
};
|
|
200
169
|
return {
|
|
201
|
-
'channelName':
|
|
202
|
-
'channelTarget':
|
|
203
|
-
'kind':
|
|
204
|
-
'target':
|
|
205
|
-
'threadShortId':
|
|
170
|
+
'channelName': _0x4200dd[_0x523a28(_0x339e00._0x281a01)],
|
|
171
|
+
'channelTarget': _0x546126,
|
|
172
|
+
'kind': _0x523a28(0x264),
|
|
173
|
+
'target': _0x546126 + ':' + _0x4200dd[_0x523a28(0x218)],
|
|
174
|
+
'threadShortId': _0x4200dd['threadShortId']
|
|
206
175
|
};
|
|
207
176
|
}
|
|
208
177
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
209
178
|
}
|
|
210
|
-
function asErrorMessage(
|
|
211
|
-
const
|
|
212
|
-
if (typeof
|
|
213
|
-
return
|
|
214
|
-
return
|
|
179
|
+
function asErrorMessage(_0x239432, _0x1da60f) {
|
|
180
|
+
const _0x54f660 = _0x48b8fe;
|
|
181
|
+
if (typeof _0x239432 === 'string' && _0x239432[_0x54f660(0x224)]())
|
|
182
|
+
return _0x239432;
|
|
183
|
+
return _0x1da60f;
|
|
215
184
|
}
|
|
216
|
-
function asRecord(
|
|
217
|
-
const
|
|
218
|
-
return typeof
|
|
185
|
+
function asRecord(_0x14a233) {
|
|
186
|
+
const _0xb88436 = _0x48b8fe;
|
|
187
|
+
return typeof _0x14a233 === _0xb88436(0x251) && _0x14a233 !== null ? _0x14a233 : {};
|
|
219
188
|
}
|
|
220
|
-
function stableStringify(
|
|
221
|
-
const
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
},
|
|
226
|
-
if (
|
|
227
|
-
return JSON[
|
|
228
|
-
if (Array[
|
|
229
|
-
return '[' +
|
|
230
|
-
const
|
|
231
|
-
return '{' +
|
|
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'](',') + '}';
|
|
232
201
|
}
|
|
233
|
-
function
|
|
234
|
-
const
|
|
235
|
-
|
|
236
|
-
'
|
|
237
|
-
'
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
'
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
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',
|
|
271
279
|
'Agv4',
|
|
272
|
-
'
|
|
273
|
-
'
|
|
274
|
-
'
|
|
275
|
-
'
|
|
280
|
+
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
281
|
+
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
282
|
+
'C2L6zq',
|
|
283
|
+
'zxH0BMfTzq',
|
|
276
284
|
'sw52ywXPzcaTlwLUAxrPywWTBgfZDc1ZzwvUlxnLCq',
|
|
277
|
-
'
|
|
278
|
-
'
|
|
279
|
-
'
|
|
280
|
-
'
|
|
281
|
-
'
|
|
282
|
-
'
|
|
283
|
-
'
|
|
284
|
-
'
|
|
285
|
-
'C3bSAxq',
|
|
286
|
-
'mtmYohHTDffzDq',
|
|
287
|
-
'DgfZA19Pza',
|
|
288
|
-
'AxnbCNjHEq',
|
|
289
|
-
'D3m6',
|
|
290
|
-
'DgHYzwfKx3rHCMDLDa',
|
|
291
|
-
'z2v0sg91CNm',
|
|
292
|
-
'zMv0y2HjBxbS',
|
|
293
|
-
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
294
|
-
'zMLUAxnOx3DVCMTLCIbMywLSzwq',
|
|
295
|
-
'Dw5RBM93BG',
|
|
296
|
-
'D29YA2vYsgfUzg9MzJ1MywXZzsbLCNjVCJ0',
|
|
297
|
-
'l2LUDgvYBMfSl2fNzw50lW',
|
|
298
|
-
'DgHYzwfKvgfYz2v0pq',
|
|
299
|
-
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
300
|
-
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
285
|
+
'mZqZmdi2mhbnwKDosq',
|
|
286
|
+
'lsaJ',
|
|
287
|
+
'rg93BMXVywrLzcb0BZOG',
|
|
288
|
+
'ue9tva',
|
|
289
|
+
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
290
|
+
'pgvTChr5pG',
|
|
291
|
+
'l3nLBMq',
|
|
292
|
+
'r0vu',
|
|
301
293
|
'zgvZy3jPChrPB24',
|
|
302
|
-
'
|
|
303
|
-
'CgfYDgLJAxbHBNrZ',
|
|
304
|
-
'y29UDgvUDfr5Cgu',
|
|
294
|
+
'l2fWAs9Hz2vUDhm/C2vYDMvYswq9',
|
|
305
295
|
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
306
|
-
'
|
|
307
|
-
'
|
|
308
|
-
'
|
|
309
|
-
'
|
|
310
|
-
'
|
|
311
|
-
'
|
|
312
|
-
'
|
|
313
|
-
'
|
|
314
|
-
'
|
|
315
|
-
'
|
|
316
|
-
'CNvUswq',
|
|
317
|
-
'DgHYzwfKvgfYz2v0',
|
|
318
|
-
'DgfYz2v0zwruyxnR',
|
|
319
|
-
'uM9VDcb0yxnRig1LC3nHz2uGAwq6ia',
|
|
320
|
-
'zgvZDhjVEwvK',
|
|
321
|
-
'tM8GDgfZA3mGzM91BMqU',
|
|
322
|
-
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
323
|
-
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
296
|
+
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
297
|
+
'DgHYzwfKx3rHCMDLDa',
|
|
298
|
+
'm293rw5jtG',
|
|
299
|
+
'C3rYAw5N',
|
|
300
|
+
'BwvZC2fNzuLK',
|
|
301
|
+
'DxbSB2fKuhjLCgfYzxi',
|
|
302
|
+
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
303
|
+
'C3rHCNrLza',
|
|
304
|
+
'ntmXnZKXse5krevL',
|
|
305
|
+
'DgvZDa',
|
|
324
306
|
'BM93',
|
|
325
|
-
'
|
|
326
|
-
'
|
|
327
|
-
'
|
|
328
|
-
'
|
|
329
|
-
'
|
|
330
|
-
'
|
|
331
|
-
'
|
|
332
|
-
'
|
|
333
|
-
'
|
|
334
|
-
'
|
|
335
|
-
'
|
|
336
|
-
'
|
|
307
|
+
'zxnJywXHDgvFDg9FBwfPBG',
|
|
308
|
+
'tM8GDgfZA3mGzM91BMqU',
|
|
309
|
+
'Bwv0yq',
|
|
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',
|
|
337
324
|
'DxbKyxrL',
|
|
338
|
-
'
|
|
339
|
-
'
|
|
340
|
-
'
|
|
341
|
-
'
|
|
342
|
-
'
|
|
343
|
-
'
|
|
344
|
-
'
|
|
345
|
-
'
|
|
346
|
-
'
|
|
347
|
-
'
|
|
348
|
-
'
|
|
349
|
-
'
|
|
350
|
-
'
|
|
351
|
-
'
|
|
352
|
-
'
|
|
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',
|
|
353
362
|
'CM9VDe1LC3nHz2vjza',
|
|
363
|
+
'z2v0x3DVCMTLCL9Yzxn1Bhq',
|
|
364
|
+
'Dgv4Da',
|
|
365
|
+
'C2LNBMfS',
|
|
366
|
+
'CgfKu3rHCNq',
|
|
367
|
+
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
368
|
+
'C2vUzgvYvhLWzq',
|
|
369
|
+
'DxbSB2fKrMLSzq',
|
|
370
|
+
'zMLSDgvY',
|
|
371
|
+
'C3rVCe1HAw49Dhj1zsbLEgvJDxrPB25nB2rLpxDVCMTLCG',
|
|
372
|
+
'BMfTzq',
|
|
373
|
+
'BwvTyMvYCW',
|
|
374
|
+
'yMfZzw5HBwu',
|
|
375
|
+
'C3rHCNrZv2L0Aa',
|
|
376
|
+
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
377
|
+
'C2nOzwr1BgvKrM9Y',
|
|
378
|
+
'D3m6',
|
|
379
|
+
'zgfLBw9Utg9JywXvCMW',
|
|
380
|
+
'mJiYnduZmtjev0XOu1e',
|
|
354
381
|
'C2vUze1LC3nHz2u',
|
|
355
|
-
'
|
|
356
|
-
'
|
|
357
|
-
'
|
|
358
|
-
'
|
|
382
|
+
'DMLLD19MAwXL',
|
|
383
|
+
'DxjNzw50',
|
|
384
|
+
'C2vYDMvY',
|
|
385
|
+
'l2LUDgvYBMfSl2fNzw50lW',
|
|
386
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
387
|
+
'y2HLy2TnzxnZywDLCW',
|
|
388
|
+
'zg93BMXVywrbDhrHy2HTzw50',
|
|
389
|
+
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
390
|
+
'uMvHzcb0AhjLywqGAgLZDg9YEsbIzwzVCMuGDgfRAw5NigfJDgLVBI4Grg8GBM90igvJAg8GDgHPCYbTzxnZywDLihrVihrOzsb0AhjLywqU',
|
|
391
|
+
'BwvTyMvY',
|
|
392
|
+
'DgHYzwfKtNvTyMvY',
|
|
359
393
|
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
360
|
-
'
|
|
361
|
-
'
|
|
362
|
-
'
|
|
363
|
-
'
|
|
394
|
+
'l3rHC2TZpW',
|
|
395
|
+
'BwvKAxvT',
|
|
396
|
+
'y29UDgvUDa',
|
|
397
|
+
'AhvTyw4',
|
|
398
|
+
'Cgf5Bg9HzePZB24',
|
|
399
|
+
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
400
|
+
'AxngAw5PDgu',
|
|
401
|
+
'zMLSzxnFy2HHBMDLza',
|
|
402
|
+
'BgLZDfnLCNzLCG',
|
|
403
|
+
'CMvHzf9OAxn0B3j5',
|
|
404
|
+
'B2jQzwn0',
|
|
405
|
+
'ihr5Cgu9ywDLBNq',
|
|
406
|
+
'ywDLBNrZ',
|
|
407
|
+
'AxngAwXL',
|
|
408
|
+
'CMvHC29U',
|
|
409
|
+
'l3DVCMTLCNmVD2fPDgLUz19PBNb1Da',
|
|
410
|
+
'zMv0y2HjBxbS',
|
|
411
|
+
'DgfZA051BwjLCG',
|
|
364
412
|
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
365
|
-
'
|
|
413
|
+
'ihn0yxr1CZ0',
|
|
414
|
+
'D29YA2vYsgfUzg9MzJ1MywXZzsbLCNjVCJ0',
|
|
415
|
+
'zMLUza',
|
|
416
|
+
'Dg9gAxHLza',
|
|
417
|
+
'lcbJB250zw50lxr5Cgu9',
|
|
418
|
+
'z2v0',
|
|
419
|
+
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
420
|
+
'Axnoyu4',
|
|
421
|
+
'yxr0ywnOBwvUDenHy2HL',
|
|
422
|
+
'zgLZCg9ZAxrPB24',
|
|
423
|
+
'DgHYzwfK',
|
|
424
|
+
'C29YDa',
|
|
425
|
+
'uM9VDcb0yxnRig1LC3nHz2uGAwq6ia',
|
|
426
|
+
'y2XHAw1FDgfZA3mGzMfPBgvK',
|
|
427
|
+
'l3jLy2vPDMu',
|
|
366
428
|
'C3rHDhvZ',
|
|
367
|
-
'
|
|
368
|
-
'
|
|
369
|
-
'
|
|
370
|
-
'
|
|
371
|
-
'
|
|
372
|
-
'DhjPBq',
|
|
373
|
-
'yxjYyxLcDwzMzxi',
|
|
374
|
-
'AxnbyNnVBhv0zq',
|
|
375
|
-
'BwvZC2fNzq',
|
|
376
|
-
'CMvJB3jK',
|
|
429
|
+
'DgfZA19Pza',
|
|
430
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
431
|
+
'C2vUzf9TzxnZywDLigzHAwXLza',
|
|
432
|
+
'C2vZC2LVBKLK',
|
|
433
|
+
'C2vX',
|
|
377
434
|
'z2v0u2vJB25KCW',
|
|
378
|
-
'
|
|
379
|
-
'Bwf0y2Hoyw1Ltg93zxi',
|
|
380
|
-
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
381
|
-
'ywz0zxjtzxe',
|
|
382
|
-
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
383
|
-
'Aw5KzxHpzG',
|
|
384
|
-
'y2f0y2G',
|
|
435
|
+
'zxHLy3v0Aw9Utw9Kzt0',
|
|
385
436
|
'vgHYzwfKihrHCMDLDdOG',
|
|
386
|
-
'
|
|
387
|
-
'
|
|
388
|
-
'
|
|
437
|
+
'C2f2zq',
|
|
438
|
+
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
439
|
+
'DgfZA3m',
|
|
389
440
|
'lsba',
|
|
390
|
-
'D29YA2vYsgfUzg9MzJ10CNvL',
|
|
391
441
|
'y2HHBM5LBfrHCMDLDa',
|
|
442
|
+
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
443
|
+
'yxr0ywnOBwvUDeLKCW',
|
|
444
|
+
'y3jLyxrLzef0',
|
|
445
|
+
'Dg9VBa',
|
|
392
446
|
'ywz0zxi',
|
|
393
|
-
'
|
|
394
|
-
'AhjLzG',
|
|
395
|
-
'zMLSzxnFy2HHBMDLza',
|
|
396
|
-
'Aw5FChjVz3jLC3m',
|
|
397
|
-
'z2v0vgLTzq',
|
|
398
|
-
'C2vUzgvYtMfTzq',
|
|
447
|
+
'rMLSzsb1CgXVywrLzdOG',
|
|
399
448
|
'y3jLyxrLx3rHC2TZigzHAwXLza',
|
|
400
|
-
'
|
|
401
|
-
'
|
|
402
|
-
'
|
|
403
|
-
'
|
|
404
|
-
'
|
|
405
|
-
'zw51Bq',
|
|
406
|
-
'zxHLy3v0Aw9Utw9Kzq',
|
|
407
|
-
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
408
|
-
'xsbaC3LZDgvToIbBy2XHAw0TAgfUzg9MzL0G',
|
|
449
|
+
'l3n0yxj0',
|
|
450
|
+
'Aw1Hz2uVANbLzW',
|
|
451
|
+
'zw50CMLLCW',
|
|
452
|
+
'yxr0ywnOBwvUDf9Pza',
|
|
453
|
+
'BgLZDf9Zzxj2zxi',
|
|
409
454
|
'l2HPC3rVCNK/',
|
|
410
|
-
'
|
|
411
|
-
'
|
|
412
|
-
'
|
|
455
|
+
'D29YA2vYCW',
|
|
456
|
+
'xsba',
|
|
457
|
+
'ls13B3jRzxiTBw9Kzq',
|
|
458
|
+
'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
|
|
459
|
+
'CxvLDwvK',
|
|
460
|
+
'DgfYz2v0zwruyxnR',
|
|
461
|
+
'CgfYDgLJAxbHBNq',
|
|
462
|
+
'DgfZAW',
|
|
463
|
+
'C3bSAxq',
|
|
464
|
+
'CMvZB2X2zvrHCMDLDa',
|
|
465
|
+
'Dw5JBgfPBv90yxnR',
|
|
466
|
+
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
467
|
+
'kgXLz2fJEsK',
|
|
468
|
+
'BgvUz3rO',
|
|
469
|
+
'AgfZtw9Yzq',
|
|
470
|
+
'DgfZAY0',
|
|
413
471
|
'cGOTls0G',
|
|
414
|
-
'
|
|
415
|
-
'
|
|
416
|
-
'
|
|
417
|
-
'
|
|
418
|
-
'y2XHAw1FDgfZA3m',
|
|
419
|
-
'odret3vUq2u',
|
|
420
|
-
'yxbWBgLJyxrPB24VEg1S',
|
|
472
|
+
'sfruuca',
|
|
473
|
+
'l3jLC29SDMuTy2HHBM5LBa',
|
|
474
|
+
'zxHLy3v0Aw9Utw9Kzq',
|
|
475
|
+
'mtK5mZeWmLnAEfjjyW',
|
|
421
476
|
'D29YA2vYtw9KzuvUywjSzwq',
|
|
422
|
-
'
|
|
423
|
-
'
|
|
424
|
-
'
|
|
425
|
-
'
|
|
426
|
-
'
|
|
427
|
-
'
|
|
428
|
-
'
|
|
429
|
-
'
|
|
430
|
-
'
|
|
431
|
-
'
|
|
477
|
+
'CMvWBgfJzq',
|
|
478
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
479
|
+
'BNvTyMvY',
|
|
480
|
+
'mZK5otq1n3rcuhHxta',
|
|
481
|
+
'AhjLzG',
|
|
482
|
+
'BgLZDf90yxnRCW',
|
|
483
|
+
'y2XPzw50',
|
|
484
|
+
'l3rHC2TZ',
|
|
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',
|
|
432
499
|
'C2vYDMvYvxjS',
|
|
433
|
-
'
|
|
434
|
-
'
|
|
435
|
-
'
|
|
436
|
-
'
|
|
437
|
-
'
|
|
500
|
+
'iYmJienOyw5UzwXZ',
|
|
501
|
+
'l3DVCMTLCNmVCMvZDwX0p3DVCMTFA2v5pq',
|
|
502
|
+
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
503
|
+
'AxnjBNrLz2vY',
|
|
504
|
+
'D29YA2vYtw9Kzq',
|
|
505
|
+
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
506
|
+
'ls1KywvTB24TyxbPlwTLEq',
|
|
507
|
+
'D29YA2vYu2vZC2LVBKLK',
|
|
508
|
+
'y29UDgvUDfr5Cgu',
|
|
509
|
+
'y2HHBM5LBhm',
|
|
510
|
+
'CgfYDgLJAxbHBNrjza',
|
|
511
|
+
'iokaLca',
|
|
512
|
+
'DxbSB2fKx2zPBgu',
|
|
513
|
+
'CMvXDwvZDfvYBa',
|
|
514
|
+
'y2XHAw1FDgfZA3m',
|
|
515
|
+
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
516
|
+
'z2v0rNvSBfLLyxi',
|
|
438
517
|
'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
|
|
439
|
-
'Aw5FCMv2Awv3',
|
|
440
|
-
'
|
|
441
|
-
'
|
|
442
|
-
'
|
|
443
|
-
'C2vYDMvYx21LBwjLCNm',
|
|
444
|
-
'DMfSDwu',
|
|
445
|
-
'ls13B3jRzxiTBw9Kzq',
|
|
446
|
-
'yxjNDG',
|
|
447
|
-
'CMvZDwX0',
|
|
448
|
-
'zMLSzv9WyxrO',
|
|
449
|
-
'yxr0ywnOBwvUDeLKCW',
|
|
450
|
-
'Dgv4Dc9WBgfPBG',
|
|
451
|
-
'l3rHC2TZl2nSywLT',
|
|
452
|
-
'iYmJiefNzw50CW',
|
|
453
|
-
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
454
|
-
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
455
|
-
'lcbWCMv2Awv3pq',
|
|
456
|
-
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVC3rKAw8UANm',
|
|
457
|
-
'v29YA2vYia',
|
|
458
|
-
'y29UDgvUDejHC2u2na',
|
|
459
|
-
'y29UDgvUDa',
|
|
460
|
-
'yxr0ywnOBwvUDenHy2HL',
|
|
461
|
-
'zg93BMXVywrbDhrHy2HTzw50',
|
|
462
|
-
'z2v0x3DVCMTLCL9Yzxn1BhqGzMfPBgvK',
|
|
463
|
-
'BgLZDfrHC2TZ',
|
|
464
|
-
'DgvZDa',
|
|
518
|
+
'Aw5FCMv2Awv3',
|
|
519
|
+
'C2XPy2u',
|
|
520
|
+
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
521
|
+
'ls1ZzxnZAw9UlwLK',
|
|
465
522
|
'yxjYyxK',
|
|
466
|
-
'
|
|
467
|
-
'
|
|
468
|
-
'
|
|
469
|
-
'
|
|
470
|
-
'
|
|
471
|
-
'
|
|
472
|
-
'yxr0ywnOBwvUDeLK',
|
|
473
|
-
'y3jLyxrLzef0',
|
|
474
|
-
'ywDLBNrjza',
|
|
475
|
-
'DgfYz2v0zwq',
|
|
476
|
-
'CgfYC2u',
|
|
477
|
-
'B2jQzwn0',
|
|
478
|
-
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
479
|
-
'Bwf0y2Hoyw1L',
|
|
480
|
-
'C2L6zuj5DgvZ',
|
|
481
|
-
'zMv0y2HuAw1LB3v0txm',
|
|
482
|
-
'yxv0BZO',
|
|
483
|
-
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4',
|
|
484
|
-
'D29YA2vYrgLZCg9ZAxrPB249',
|
|
485
|
-
'y2HHBM5LBeLK',
|
|
486
|
-
'ywjVCNrLza',
|
|
523
|
+
'CMvZDwX0sNnVBG',
|
|
524
|
+
'Bg93',
|
|
525
|
+
'sgfUzg9MzIb0BYb3B3jRzxiGzM9YihrHC2SG',
|
|
526
|
+
'CMvZDw1Lx3bHy2TLDa',
|
|
527
|
+
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
528
|
+
'EM9K',
|
|
487
529
|
'ls13B3jRzxiTC2vZC2LVBI1Pza',
|
|
488
|
-
'
|
|
489
|
-
'
|
|
490
|
-
'
|
|
491
|
-
'C3bHD25FD29YA2vY',
|
|
492
|
-
'yxbWBgLJyxrPB24VANnVBG',
|
|
493
|
-
'y2XPzw50',
|
|
530
|
+
'BwvZC2fNzq',
|
|
531
|
+
'y2XHAw1uyxnRCW',
|
|
532
|
+
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
494
533
|
'Bg9JywXLq29TCgfYzq',
|
|
495
|
-
'
|
|
496
|
-
'
|
|
497
|
-
'
|
|
498
|
-
'DgHYzwfKswq',
|
|
499
|
-
'y2HLy2TFBwvZC2fNzxm',
|
|
500
|
-
'DgHYzwfK',
|
|
501
|
-
'yMvMB3jL',
|
|
502
|
-
'iokaLca',
|
|
503
|
-
'mtqYnZHwC1HAr2e',
|
|
504
|
-
'y29UDgvUDc10ExbL',
|
|
505
|
-
'iokaLcb1C2uGDMLLD19MAwXLihrVihnLzv0',
|
|
506
|
-
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
507
|
-
'l3DVCMTLCNmVCMvZDwX0p3DVCMTFA2v5pq',
|
|
508
|
-
'B3bLBL9PC3n1zxm',
|
|
509
|
-
'y2XHAw0GzMfPBgvK',
|
|
510
|
-
'ls1KywvTB24TBg9JywWTDxjS',
|
|
511
|
-
'EM9K',
|
|
512
|
-
'D29YA2vYCW',
|
|
513
|
-
'AgvHzgvYCW',
|
|
514
|
-
'w3nLCt0',
|
|
515
|
-
'ywDNCMvNyxrLswq',
|
|
516
|
-
'zMLSzw5HBwu',
|
|
517
|
-
'lMjPBG',
|
|
518
|
-
'z2v0x3DVCMTLCL9Yzxn1Bhq',
|
|
519
|
-
'CgfYC2vjBNq',
|
|
520
|
-
'C3rHCNrZv2L0Aa',
|
|
521
|
-
'yxbWBgLJyxrPB24VCgrM',
|
|
522
|
-
'ywrKrxzLBNrmAxn0zw5LCG',
|
|
523
|
-
'yxbWBgLJyxrPB24VEMLW',
|
|
524
|
-
'zxnJywXHDgvFDg9FBwfPBG',
|
|
525
|
-
'zgfLBw9Utg9JywXvCMW',
|
|
534
|
+
'C3rVCe1HAw49Dhj1zq',
|
|
535
|
+
'iYmJiefNzw50CW',
|
|
536
|
+
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
526
537
|
'v29YA2vYici',
|
|
527
|
-
'
|
|
528
|
-
'
|
|
529
|
-
'
|
|
538
|
+
'iIbMAw5PC2HLzcb3AxrOihjLC3vSDdOG',
|
|
539
|
+
'l3nLCNzLCG',
|
|
540
|
+
'y3jLyxrLx3rHC2TZ',
|
|
530
541
|
'w3rHCMDLDd0',
|
|
531
|
-
'
|
|
532
|
-
'
|
|
533
|
-
'
|
|
534
|
-
'
|
|
535
|
-
'
|
|
536
|
-
'
|
|
537
|
-
'
|
|
538
|
-
'
|
|
539
|
-
'
|
|
540
|
-
'
|
|
542
|
+
'mc4WlJa',
|
|
543
|
+
'AM9PBG',
|
|
544
|
+
'DMfSDwvZ',
|
|
545
|
+
'DgfYz2v0',
|
|
546
|
+
'ls1Hz2vUDc1Pza',
|
|
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',
|
|
541
561
|
'ywXS',
|
|
542
|
-
'
|
|
543
|
-
'
|
|
544
|
-
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
545
|
-
'C3vJy2vZCW',
|
|
546
|
-
'l3DVCMTLCNmVzMLUAxnO',
|
|
547
|
-
'C2vZC2LVBKLK',
|
|
548
|
-
'BMfTzq',
|
|
549
|
-
'rMLSzsbUB3qGzM91BMq6ia',
|
|
550
|
-
'DMLLD19MAwXL',
|
|
562
|
+
'CMvHzeHPC3rVCNK',
|
|
563
|
+
'DgHYzwfKvgfYz2v0pq',
|
|
551
564
|
'B3b0Aw9UywW',
|
|
552
|
-
'
|
|
553
|
-
'
|
|
554
|
-
'
|
|
555
|
-
'CMvZDwX0sNnVBG',
|
|
556
|
-
'Bwv0yq',
|
|
557
|
-
'Cgf5Bg9HzePZB24',
|
|
558
|
-
'ls1KywvTB24TyxbPlwTLEq',
|
|
559
|
-
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
560
|
-
'iIbMAw5PC2HLzcb3AxrOihjLC3vSDdOG',
|
|
565
|
+
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
|
|
566
|
+
'CNvUswq',
|
|
567
|
+
'CgfYDgLJAxbHBNrZ',
|
|
561
568
|
'zMLUzenHy2HLzfbHDgG',
|
|
562
|
-
'
|
|
569
|
+
'z2v0sg91CNm',
|
|
570
|
+
'y2XHAw0GzMfPBgvK',
|
|
571
|
+
'w3nLCt0',
|
|
563
572
|
'Dg9ju09tDhjPBMC',
|
|
564
|
-
'
|
|
565
|
-
'
|
|
566
|
-
'
|
|
567
|
-
'
|
|
568
|
-
'
|
|
569
|
-
'
|
|
570
|
-
'
|
|
571
|
-
'
|
|
572
|
-
'
|
|
573
|
-
'
|
|
574
|
-
'
|
|
575
|
-
'
|
|
576
|
-
'
|
|
577
|
-
'
|
|
578
|
-
'
|
|
579
|
-
'
|
|
580
|
-
'
|
|
581
|
-
'
|
|
582
|
-
'
|
|
583
|
-
'
|
|
584
|
-
'
|
|
585
|
-
'
|
|
586
|
-
'
|
|
587
|
-
'
|
|
588
|
-
'CgfKu3rHCNq',
|
|
589
|
-
'ANnVBG',
|
|
573
|
+
'Aw5KzxHpzG',
|
|
574
|
+
'BwvZC2fNzxm',
|
|
575
|
+
'ls1PBML0AwfSlwXHC3qTC2vLBI1Zzxe',
|
|
576
|
+
'y3vYC29Y',
|
|
577
|
+
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
578
|
+
'y2HLy2TFBwvZC2fNzxm',
|
|
579
|
+
'u2vUzcbHig1LC3nHz2uGDg8GysbJAgfUBMvSig9YiernlIbszxvZzsb0AguGzxHHy3qGDgfYz2v0ihn0CMLUzYbMCM9TigLUy29TAw5Nig1LC3nHz2vZoYb0AhjLywqGDgfYz2v0CYb1C2uGDgHLihnHBwuGzMLLBgqU',
|
|
580
|
+
'Aw1Hz2uVz2LM',
|
|
581
|
+
'CMvZDwX0CW',
|
|
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',
|
|
590
597
|
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
591
|
-
'
|
|
592
|
-
'
|
|
593
|
-
'
|
|
594
|
-
'
|
|
595
|
-
'
|
|
596
|
-
'
|
|
597
|
-
'
|
|
598
|
-
'
|
|
599
|
-
'y2HHBM5LBa',
|
|
600
|
-
'zxHLy3v0Aw9Utw9Kzt0',
|
|
601
|
-
'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
|
|
602
|
-
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
603
|
-
'Dw5JBgfPBvrHC2S',
|
|
604
|
-
'yxr0ywnOBwvUDf9Pza',
|
|
605
|
-
'CgfYDgLJAxbHBNq',
|
|
606
|
-
'lIbnzxnZywDLieLeoIa',
|
|
607
|
-
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
608
|
-
'D29YA2vY',
|
|
609
|
-
'CMvHzf9OAxn0B3j5',
|
|
610
|
-
'y3jLyxrLvgfZA3m',
|
|
611
|
-
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
612
|
-
'ue9tva',
|
|
613
|
-
'DgHYzwfKtNvTyMvY',
|
|
614
|
-
'C3rYAw5NAwz5',
|
|
598
|
+
'yxr0ywnOBwvUDf9Pzhm',
|
|
599
|
+
'mtmZmJa5mMLSBfD6uG',
|
|
600
|
+
'zMLUAxnOx3DVCMTLCIbMywLSzwq',
|
|
601
|
+
'kg5VBMuP',
|
|
602
|
+
'y2fJAgveAxi',
|
|
603
|
+
'zw50zxiTAgfUzg9MzIbMywLSzwq',
|
|
604
|
+
'y2f0y2G',
|
|
605
|
+
'yMvMB3jL',
|
|
615
606
|
'zgfLBw9UqxbPs2v5',
|
|
616
|
-
'
|
|
617
|
-
'
|
|
618
|
-
'
|
|
619
|
-
'
|
|
620
|
-
'
|
|
621
|
-
'
|
|
622
|
-
'
|
|
623
|
-
'
|
|
624
|
-
'
|
|
625
|
-
'
|
|
607
|
+
'tM8GDgfZA3mGy2XHAw1Lzc4',
|
|
608
|
+
'DMLZAwjPBgL0Eq',
|
|
609
|
+
'ls1Zzxj2zxiTDxjS',
|
|
610
|
+
'z2v0x3DVCMTLCL9ZDgf0DxmGzMfPBgvK',
|
|
611
|
+
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
612
|
+
'Dgv4Dc9WBgfPBG',
|
|
613
|
+
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
614
|
+
'C3rYAw5NAwz5',
|
|
615
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
|
|
616
|
+
'yxbWBgLJyxrPB24VANnVBG',
|
|
617
|
+
'AgfZ',
|
|
618
|
+
'zMLSzw5HBwu',
|
|
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',
|
|
636
|
+
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
637
|
+
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
638
|
+
'CMvZDwX0',
|
|
639
|
+
'yM9KEu1HCMTKB3DU',
|
|
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'
|
|
626
660
|
];
|
|
627
|
-
|
|
628
|
-
return
|
|
661
|
+
_0x28eb = function () {
|
|
662
|
+
return _0x2326b8;
|
|
629
663
|
};
|
|
630
|
-
return
|
|
631
|
-
}
|
|
632
|
-
function createHeaders(_0x387ed4) {
|
|
633
|
-
const _0x2fdcce = { _0x593f82: 0x24d }, _0x3dc5c4 = _0x84e1c7;
|
|
634
|
-
return {
|
|
635
|
-
'Content-Type': _0x3dc5c4(_0x2fdcce._0x593f82),
|
|
636
|
-
'x-daemon-api-key': _0x387ed4
|
|
637
|
-
};
|
|
638
|
-
}
|
|
639
|
-
function toHttpBaseUrl(_0x34610f) {
|
|
640
|
-
const _0xff61f2 = {
|
|
641
|
-
_0x106e56: 0x182,
|
|
642
|
-
_0x3b54df: 0x2dc,
|
|
643
|
-
_0x509021: 0x1e3,
|
|
644
|
-
_0x42b5ea: 0x2e6,
|
|
645
|
-
_0x244fbb: 0x1d3
|
|
646
|
-
}, _0x5eeb34 = _0x84e1c7, _0x1e332a = new URL(_0x34610f);
|
|
647
|
-
if (_0x1e332a['protocol'] === _0x5eeb34(_0xff61f2._0x106e56))
|
|
648
|
-
_0x1e332a['protocol'] = _0x5eeb34(_0xff61f2._0x3b54df);
|
|
649
|
-
else
|
|
650
|
-
_0x1e332a[_0x5eeb34(_0xff61f2._0x509021)] === _0x5eeb34(_0xff61f2._0x42b5ea) && (_0x1e332a[_0x5eeb34(0x1e3)] = _0x5eeb34(0x2d9));
|
|
651
|
-
return _0x1e332a[_0x5eeb34(0x173)]()[_0x5eeb34(_0xff61f2._0x244fbb)](/\/$/, '');
|
|
652
|
-
}
|
|
653
|
-
function isMentionBoundary(_0x292df8) {
|
|
654
|
-
return !_0x292df8 || /\s|[([{'",。!?、:;]/['test'](_0x292df8);
|
|
655
|
-
}
|
|
656
|
-
function isMentionTerminal(_0x1ece59) {
|
|
657
|
-
const _0x1629da = _0x84e1c7;
|
|
658
|
-
return !_0x1ece59 || /\s|[)\]}'",。!?、:;,.!?]/[_0x1629da(0x231)](_0x1ece59);
|
|
659
|
-
}
|
|
660
|
-
function buildMatchableEntries(_0xbe2243) {
|
|
661
|
-
const _0x3b0e02 = {
|
|
662
|
-
_0x4f0607: 0x274,
|
|
663
|
-
_0x16e946: 0x171,
|
|
664
|
-
_0x2bf483: 0x213,
|
|
665
|
-
_0x20fcce: 0x1f8
|
|
666
|
-
}, _0x4c82e6 = _0x84e1c7, _0x3b0459 = [];
|
|
667
|
-
for (const _0x439f8c of [
|
|
668
|
-
..._0xbe2243[_0x4c82e6(_0x3b0e02._0x4f0607)],
|
|
669
|
-
..._0xbe2243[_0x4c82e6(_0x3b0e02._0x16e946)]
|
|
670
|
-
]) {
|
|
671
|
-
_0x3b0459[_0x4c82e6(_0x3b0e02._0x2bf483)]({
|
|
672
|
-
'matchName': _0x439f8c['name'],
|
|
673
|
-
'matchNameLower': _0x439f8c[_0x4c82e6(0x285)][_0x4c82e6(_0x3b0e02._0x20fcce)](),
|
|
674
|
-
'participantId': _0x439f8c['id']
|
|
675
|
-
}), _0x439f8c['id'] !== _0x439f8c['name'] && _0x3b0459['push']({
|
|
676
|
-
'matchName': _0x439f8c['id'],
|
|
677
|
-
'matchNameLower': _0x439f8c['id']['toLocaleLowerCase'](),
|
|
678
|
-
'participantId': _0x439f8c['id']
|
|
679
|
-
});
|
|
680
|
-
}
|
|
681
|
-
return _0x3b0459;
|
|
682
|
-
}
|
|
683
|
-
function extractMentionedParticipantIds(_0x3f82e0, _0x5cd019) {
|
|
684
|
-
const _0x19e348 = {
|
|
685
|
-
_0x19cc21: 0x1fb,
|
|
686
|
-
_0x198e50: 0x210,
|
|
687
|
-
_0x4806fd: 0x2e1,
|
|
688
|
-
_0x3a9c9c: 0x2b5,
|
|
689
|
-
_0x40586f: 0x216
|
|
690
|
-
}, _0xfe7c6a = { _0x53921d: 0x269 }, _0x58b97c = _0x84e1c7, _0x4f2509 = buildMatchableEntries(_0x5cd019)[_0x58b97c(_0x19e348._0x19cc21)]((_0x2aad33, _0x59ec47) => _0x59ec47[_0x58b97c(0x240)][_0x58b97c(0x216)] - _0x2aad33['matchName']['length']), _0x3b2f89 = [], _0xe2add5 = new Set();
|
|
691
|
-
for (let _0xec8f0 = 0x0; _0xec8f0 < _0x3f82e0['length']; _0xec8f0 += 0x1) {
|
|
692
|
-
if (_0x3f82e0[_0xec8f0] !== '@' || !isMentionBoundary(_0x3f82e0[_0xec8f0 - 0x1]))
|
|
693
|
-
continue;
|
|
694
|
-
const _0x152a3e = _0x3f82e0['slice'](_0xec8f0 + 0x1), _0x3864ff = _0x152a3e['toLocaleLowerCase'](), _0x4262e1 = _0x4f2509['find'](_0x4059de => {
|
|
695
|
-
const _0x568823 = _0x58b97c;
|
|
696
|
-
if (!_0x3864ff[_0x568823(_0xfe7c6a._0x53921d)](_0x4059de[_0x568823(0x1dc)]))
|
|
697
|
-
return ![];
|
|
698
|
-
return isMentionTerminal(_0x152a3e[_0x4059de[_0x568823(0x240)][_0x568823(0x216)]]);
|
|
699
|
-
});
|
|
700
|
-
if (!_0x4262e1 || _0xe2add5[_0x58b97c(_0x19e348._0x198e50)](_0x4262e1['participantId']))
|
|
701
|
-
continue;
|
|
702
|
-
_0xe2add5[_0x58b97c(_0x19e348._0x4806fd)](_0x4262e1[_0x58b97c(_0x19e348._0x3a9c9c)]), _0x3b2f89[_0x58b97c(0x213)](_0x4262e1[_0x58b97c(_0x19e348._0x3a9c9c)]), _0xec8f0 += _0x4262e1[_0x58b97c(0x240)][_0x58b97c(_0x19e348._0x40586f)];
|
|
703
|
-
}
|
|
704
|
-
return _0x3b2f89;
|
|
664
|
+
return _0x28eb();
|
|
705
665
|
}
|
|
706
666
|
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
707
|
-
function anySignal(...
|
|
708
|
-
const
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
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)]), {
|
|
716
679
|
'once': !![],
|
|
717
|
-
'signal':
|
|
680
|
+
'signal': _0x463b74['signal']
|
|
718
681
|
});
|
|
719
682
|
}
|
|
720
|
-
return
|
|
683
|
+
return _0x463b74[_0xf665c6(_0x3c2306._0x457382)];
|
|
721
684
|
}
|
|
722
|
-
function createInternalAgentClient(
|
|
723
|
-
const
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
},
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
},
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
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);
|
|
873
840
|
}
|
|
874
|
-
async function
|
|
875
|
-
const
|
|
876
|
-
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)]())
|
|
877
844
|
return {};
|
|
878
845
|
try {
|
|
879
|
-
return JSON[
|
|
846
|
+
return JSON['parse'](_0x42a668);
|
|
880
847
|
} catch {
|
|
881
|
-
throw new Error(
|
|
882
|
-
'bodyText':
|
|
883
|
-
'requestUrl':
|
|
884
|
-
'response':
|
|
848
|
+
throw new Error(_0x140304({
|
|
849
|
+
'bodyText': _0x42a668,
|
|
850
|
+
'requestUrl': _0x446969,
|
|
851
|
+
'response': _0x4655c9
|
|
885
852
|
}));
|
|
886
853
|
}
|
|
887
854
|
}
|
|
888
|
-
function
|
|
889
|
-
const
|
|
890
|
-
if (
|
|
891
|
-
return
|
|
892
|
-
const
|
|
893
|
-
for (const [
|
|
894
|
-
|
|
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);
|
|
895
862
|
}
|
|
896
|
-
const
|
|
897
|
-
...
|
|
863
|
+
const _0x588978 = {
|
|
864
|
+
..._0x43797f,
|
|
898
865
|
'idempotency_key': void 0x0
|
|
899
|
-
},
|
|
900
|
-
if (
|
|
901
|
-
return
|
|
902
|
-
const
|
|
903
|
-
return
|
|
904
|
-
'expiresAt':
|
|
905
|
-
'value':
|
|
906
|
-
}),
|
|
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;
|
|
907
874
|
}
|
|
908
|
-
async function
|
|
909
|
-
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;
|
|
910
877
|
try {
|
|
911
|
-
const
|
|
912
|
-
...
|
|
913
|
-
'signal':
|
|
914
|
-
}),
|
|
915
|
-
if (!
|
|
916
|
-
throw new Error(asErrorMessage(
|
|
917
|
-
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;
|
|
918
885
|
} finally {
|
|
919
|
-
clearTimeout(
|
|
886
|
+
clearTimeout(_0x2d5307);
|
|
920
887
|
}
|
|
921
888
|
}
|
|
922
|
-
async function
|
|
923
|
-
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;
|
|
924
891
|
try {
|
|
925
|
-
const
|
|
926
|
-
...
|
|
927
|
-
'signal':
|
|
928
|
-
}),
|
|
929
|
-
if (!
|
|
930
|
-
throw new Error(asErrorMessage(
|
|
931
|
-
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;
|
|
932
899
|
} finally {
|
|
933
|
-
clearTimeout(
|
|
900
|
+
clearTimeout(_0x5ab7fd);
|
|
934
901
|
}
|
|
935
902
|
}
|
|
936
|
-
async function
|
|
937
|
-
const
|
|
938
|
-
if (!
|
|
903
|
+
async function _0x371f0c(_0x24692e) {
|
|
904
|
+
const _0x4ca81a = _0x15df04;
|
|
905
|
+
if (!_0x1d4ce3 || _0x24692e <= _0x4fd613)
|
|
939
906
|
return;
|
|
940
|
-
await
|
|
941
|
-
'body': JSON['stringify']({ 'lastSeenSeq':
|
|
942
|
-
'headers':
|
|
943
|
-
'method':
|
|
944
|
-
}),
|
|
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;
|
|
945
912
|
}
|
|
946
|
-
async function
|
|
947
|
-
const
|
|
948
|
-
if (!
|
|
913
|
+
async function _0xf639af(_0x535836) {
|
|
914
|
+
const _0x26c000 = _0x15df04;
|
|
915
|
+
if (!_0x1dda70 || !_0x19949b || _0x535836 <= _0x4fd613)
|
|
949
916
|
return;
|
|
950
|
-
const
|
|
951
|
-
'body': JSON[
|
|
952
|
-
'last_seen_seq':
|
|
953
|
-
'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
|
|
954
921
|
}),
|
|
955
922
|
'headers': { 'Content-Type': 'application/json' },
|
|
956
|
-
'method':
|
|
923
|
+
'method': 'POST'
|
|
957
924
|
});
|
|
958
|
-
if (!
|
|
959
|
-
throw new Error(
|
|
960
|
-
|
|
925
|
+
if (!_0x1f294b['ok'])
|
|
926
|
+
throw new Error(_0x26c000(_0x453bfa._0x3bdc7d) + _0x1f294b['status']);
|
|
927
|
+
_0x4fd613 = _0x535836;
|
|
961
928
|
}
|
|
962
|
-
async function
|
|
963
|
-
const
|
|
964
|
-
'body': JSON[
|
|
965
|
-
'headers':
|
|
966
|
-
'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)
|
|
967
934
|
});
|
|
968
935
|
return {
|
|
969
|
-
'channelId':
|
|
970
|
-
'target':
|
|
971
|
-
'
|
|
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)]
|
|
972
941
|
};
|
|
973
942
|
}
|
|
974
|
-
async function
|
|
975
|
-
const
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
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 = [];
|
|
982
958
|
try {
|
|
983
|
-
const
|
|
984
|
-
'headers':
|
|
985
|
-
'method':
|
|
959
|
+
const _0x43fa98 = await _0x507e4d(_0x55678b(0x1e3) + encodeURIComponent(_0x4ce148), {
|
|
960
|
+
'headers': _0x24f328,
|
|
961
|
+
'method': _0x55678b(0x1e1)
|
|
986
962
|
});
|
|
987
|
-
|
|
963
|
+
_0x4ec44f = _0x43fa98[_0x55678b(0x223)] ?? [];
|
|
988
964
|
} catch {
|
|
989
|
-
|
|
965
|
+
_0x4ec44f = [];
|
|
990
966
|
}
|
|
991
|
-
const
|
|
992
|
-
'id':
|
|
993
|
-
'name':
|
|
994
|
-
}))[
|
|
995
|
-
'id':
|
|
996
|
-
'name':
|
|
997
|
-
}))[
|
|
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']);
|
|
998
974
|
return {
|
|
999
|
-
'agents':
|
|
1000
|
-
'channels':
|
|
1001
|
-
'humans':
|
|
1002
|
-
'serverId':
|
|
1003
|
-
'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
|
|
1004
980
|
};
|
|
1005
|
-
})()[
|
|
1006
|
-
|
|
1007
|
-
throw
|
|
1008
|
-
})),
|
|
981
|
+
})()[_0x73833a(0x196)](_0x461010 => {
|
|
982
|
+
_0x3c1247 = null;
|
|
983
|
+
throw _0x461010;
|
|
984
|
+
})), _0x3c1247;
|
|
1009
985
|
}
|
|
1010
|
-
function
|
|
1011
|
-
const
|
|
1012
|
-
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);
|
|
1013
989
|
}
|
|
1014
|
-
function
|
|
1015
|
-
const
|
|
1016
|
-
if (
|
|
1017
|
-
return
|
|
1018
|
-
if (
|
|
1019
|
-
return
|
|
1020
|
-
if (
|
|
1021
|
-
return
|
|
1022
|
-
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)];
|
|
1023
999
|
}
|
|
1024
|
-
function
|
|
1025
|
-
const
|
|
1000
|
+
function _0x2cd130(_0x59ab4d, _0x94f7a8) {
|
|
1001
|
+
const _0x253ef5 = _0x15df04;
|
|
1026
1002
|
try {
|
|
1027
|
-
const
|
|
1028
|
-
if (
|
|
1003
|
+
const _0x39c0bc = parseTarget(_0x59ab4d);
|
|
1004
|
+
if (_0x39c0bc[_0x253ef5(_0x3e9271._0x45ad48)] !== 'thread' || _0x39c0bc[_0x253ef5(0x276)] !== _0x94f7a8[_0x253ef5(0x276)])
|
|
1029
1005
|
return ![];
|
|
1030
|
-
if (
|
|
1006
|
+
if (_0x94f7a8[_0x253ef5(_0x3e9271._0x1eef97)] != null && _0x39c0bc[_0x253ef5(0x218)] === 't' + _0x94f7a8[_0x253ef5(_0x3e9271._0x292062)])
|
|
1031
1007
|
return !![];
|
|
1032
|
-
if (
|
|
1033
|
-
return
|
|
1034
|
-
if (
|
|
1035
|
-
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']);
|
|
1036
1012
|
return ![];
|
|
1037
1013
|
} catch {
|
|
1038
1014
|
return ![];
|
|
1039
1015
|
}
|
|
1040
1016
|
}
|
|
1041
|
-
function
|
|
1042
|
-
const
|
|
1043
|
-
return
|
|
1017
|
+
function _0x3e3457(_0x4c0b68) {
|
|
1018
|
+
const _0x305f5e = _0x15df04;
|
|
1019
|
+
return _0x4c0b68[_0x305f5e(0x244)]?.['participantId'] ?? _0x4c0b68['participant']?.['id'] ?? _0x4c0b68[_0x305f5e(0x2bb)] ?? '';
|
|
1044
1020
|
}
|
|
1045
|
-
function
|
|
1046
|
-
const
|
|
1047
|
-
return
|
|
1021
|
+
function _0x42e410(_0x2d3eff) {
|
|
1022
|
+
const _0x5dd411 = _0x15df04;
|
|
1023
|
+
return _0x2d3eff[_0x5dd411(_0x42bb19._0x102700)]?.['name'] ?? _0x3e3457(_0x2d3eff);
|
|
1048
1024
|
}
|
|
1049
|
-
async function
|
|
1050
|
-
const
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
const
|
|
1056
|
-
'headers':
|
|
1057
|
-
'method':
|
|
1058
|
-
}),
|
|
1059
|
-
'attachments': (
|
|
1060
|
-
'filename':
|
|
1061
|
-
'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']
|
|
1062
1038
|
})),
|
|
1063
|
-
'content':
|
|
1064
|
-
'createdAt':
|
|
1065
|
-
'messageId':
|
|
1066
|
-
'senderName':
|
|
1067
|
-
'senderType':
|
|
1068
|
-
'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
|
|
1069
1045
|
}));
|
|
1070
1046
|
return {
|
|
1071
|
-
'channel':
|
|
1072
|
-
'hasMore':
|
|
1073
|
-
'messages':
|
|
1074
|
-
'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)]
|
|
1075
1051
|
};
|
|
1076
1052
|
}
|
|
1077
1053
|
return {
|
|
1078
|
-
async 'sendMessage'(
|
|
1079
|
-
const
|
|
1080
|
-
'body': JSON[
|
|
1081
|
-
'attachment_ids':
|
|
1082
|
-
'bodyMarkdown':
|
|
1083
|
-
'channelId':
|
|
1084
|
-
...
|
|
1085
|
-
'threadId':
|
|
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)] } : {}
|
|
1086
1063
|
}),
|
|
1087
|
-
'headers':
|
|
1088
|
-
'method':
|
|
1064
|
+
'headers': _0x24f328,
|
|
1065
|
+
'method': _0x18910d(_0x30a462._0x2086e8)
|
|
1089
1066
|
});
|
|
1090
|
-
return { 'messageId':
|
|
1067
|
+
return { 'messageId': _0x14307f['data']?.['id'] ?? '' };
|
|
1091
1068
|
},
|
|
1092
1069
|
async 'listSchedules'() {
|
|
1093
|
-
const
|
|
1094
|
-
'headers':
|
|
1095
|
-
'method':
|
|
1070
|
+
const _0x5d9979 = _0x15df04, _0x1a6eb = await _0x507e4d(_0x5d9979(_0x3147d1._0x3434ee), {
|
|
1071
|
+
'headers': _0x24f328,
|
|
1072
|
+
'method': _0x5d9979(0x1e1)
|
|
1096
1073
|
});
|
|
1097
|
-
return
|
|
1074
|
+
return _0x1a6eb[_0x5d9979(_0x3147d1._0x6adbed)] ?? [];
|
|
1098
1075
|
},
|
|
1099
|
-
async 'claimScheduleRun'(
|
|
1100
|
-
const
|
|
1101
|
-
'body': JSON[
|
|
1102
|
-
'headers':
|
|
1103
|
-
'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)
|
|
1104
1081
|
});
|
|
1105
|
-
return
|
|
1082
|
+
return _0x3c5742[_0xd1a872(_0xaa3f9a._0x2adb78)] ?? {
|
|
1106
1083
|
'granted': ![],
|
|
1107
1084
|
'runId': null,
|
|
1108
1085
|
'schedule': null,
|
|
1109
|
-
'scheduledFor':
|
|
1086
|
+
'scheduledFor': _0x4e5d1f[_0xd1a872(0x236)]
|
|
1110
1087
|
};
|
|
1111
1088
|
},
|
|
1112
|
-
async 'startScheduleRun'(
|
|
1113
|
-
const
|
|
1114
|
-
'body': JSON[
|
|
1115
|
-
'headers':
|
|
1116
|
-
'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'
|
|
1117
1094
|
});
|
|
1118
|
-
return
|
|
1095
|
+
return _0x2227a0['data'] ?? {
|
|
1119
1096
|
'claimedByDaemonId': '',
|
|
1120
|
-
'id':
|
|
1097
|
+
'id': _0x59d76b[_0x3ad9ce(0x170)],
|
|
1121
1098
|
'scheduleId': '',
|
|
1122
|
-
'status':
|
|
1099
|
+
'status': 'running'
|
|
1123
1100
|
};
|
|
1124
1101
|
},
|
|
1125
|
-
async 'finishScheduleRun'(
|
|
1126
|
-
const
|
|
1127
|
-
'body': JSON[
|
|
1128
|
-
'error':
|
|
1129
|
-
'resultJson':
|
|
1130
|
-
'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']
|
|
1131
1108
|
}),
|
|
1132
|
-
'headers':
|
|
1133
|
-
'method':
|
|
1109
|
+
'headers': _0x24f328,
|
|
1110
|
+
'method': _0x4fff91(_0x2d3c9e._0x2490d6)
|
|
1134
1111
|
});
|
|
1135
|
-
return
|
|
1112
|
+
return _0x446f04[_0x4fff91(0x223)] ?? {
|
|
1136
1113
|
'nextRunAt': null,
|
|
1137
1114
|
'run': {
|
|
1138
1115
|
'claimedByDaemonId': '',
|
|
1139
|
-
'id':
|
|
1116
|
+
'id': _0x6ce894['runId'],
|
|
1140
1117
|
'scheduleId': '',
|
|
1141
|
-
'status':
|
|
1118
|
+
'status': _0x6ce894[_0x4fff91(_0x2d3c9e._0xdf0719)]
|
|
1142
1119
|
}
|
|
1143
1120
|
};
|
|
1144
1121
|
},
|
|
1145
|
-
async 'listTasks'(
|
|
1146
|
-
const
|
|
1147
|
-
return
|
|
1148
|
-
'headers':
|
|
1149
|
-
'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)
|
|
1150
1127
|
});
|
|
1151
1128
|
},
|
|
1152
|
-
async 'createTasks'(
|
|
1153
|
-
const
|
|
1154
|
-
return
|
|
1155
|
-
'body': JSON[
|
|
1156
|
-
...
|
|
1157
|
-
'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)
|
|
1158
1135
|
}),
|
|
1159
|
-
'headers':
|
|
1160
|
-
'method':
|
|
1136
|
+
'headers': _0x24f328,
|
|
1137
|
+
'method': _0x4f3df7(_0x4a18e8._0x126a51)
|
|
1161
1138
|
});
|
|
1162
1139
|
},
|
|
1163
|
-
async 'claimTasks'(
|
|
1164
|
-
const
|
|
1165
|
-
return
|
|
1166
|
-
'body': JSON[
|
|
1167
|
-
...
|
|
1168
|
-
'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)
|
|
1169
1146
|
}),
|
|
1170
|
-
'headers':
|
|
1147
|
+
'headers': _0x24f328,
|
|
1171
1148
|
'method': 'POST'
|
|
1172
1149
|
});
|
|
1173
1150
|
},
|
|
1174
|
-
async 'unclaimTask'(
|
|
1175
|
-
const
|
|
1176
|
-
return
|
|
1177
|
-
'body': JSON[
|
|
1178
|
-
...
|
|
1179
|
-
'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)
|
|
1180
1157
|
}),
|
|
1181
|
-
'headers':
|
|
1182
|
-
'method':
|
|
1158
|
+
'headers': _0x24f328,
|
|
1159
|
+
'method': _0x380125(0x1dd)
|
|
1183
1160
|
});
|
|
1184
1161
|
},
|
|
1185
|
-
async 'updateTaskStatus'(
|
|
1186
|
-
const
|
|
1187
|
-
return
|
|
1188
|
-
'body': JSON[
|
|
1189
|
-
...
|
|
1190
|
-
'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)
|
|
1191
1168
|
}),
|
|
1192
|
-
'headers':
|
|
1193
|
-
'method':
|
|
1169
|
+
'headers': _0x24f328,
|
|
1170
|
+
'method': _0xaab383(_0x1bd31d._0x3751d7)
|
|
1194
1171
|
});
|
|
1195
1172
|
},
|
|
1196
|
-
async 'uploadFile'(
|
|
1197
|
-
const
|
|
1198
|
-
if (
|
|
1199
|
-
throw new Error(
|
|
1200
|
-
const
|
|
1201
|
-
'body': JSON[
|
|
1202
|
-
'channel':
|
|
1203
|
-
'contentBase64':
|
|
1204
|
-
'contentType':
|
|
1205
|
-
'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']
|
|
1206
1183
|
}),
|
|
1207
|
-
'headers':
|
|
1208
|
-
'method':
|
|
1184
|
+
'headers': _0x24f328,
|
|
1185
|
+
'method': _0x593532(_0x104a73._0xf430c7)
|
|
1209
1186
|
});
|
|
1210
1187
|
return {
|
|
1211
|
-
'attachmentId':
|
|
1212
|
-
'filename':
|
|
1213
|
-
'sizeBytes':
|
|
1188
|
+
'attachmentId': _0x4c7699[_0x593532(_0x104a73._0x3077ef)]?.['id'] ?? '',
|
|
1189
|
+
'filename': _0x4c7699[_0x593532(0x223)]?.[_0x593532(_0x104a73._0x5f44de)] ?? _0x58754a['filename'],
|
|
1190
|
+
'sizeBytes': _0x4c7699['data']?.['sizeBytes'] ?? 0x0
|
|
1214
1191
|
};
|
|
1215
1192
|
},
|
|
1216
|
-
async 'downloadAttachment'(
|
|
1217
|
-
const
|
|
1218
|
-
'headers':
|
|
1219
|
-
'method':
|
|
1220
|
-
}),
|
|
1193
|
+
async 'downloadAttachment'(_0x2cf0c7) {
|
|
1194
|
+
const _0x22bfd5 = _0x15df04, _0x6ee0b8 = await _0x507e4d('/api/attachments/' + _0x2cf0c7, {
|
|
1195
|
+
'headers': _0x24f328,
|
|
1196
|
+
'method': 'GET'
|
|
1197
|
+
}), _0x5a654f = new AbortController(), _0xc83b0f = setTimeout(() => _0x5a654f[_0x22bfd5(0x18d)](), _0x5d85fb);
|
|
1221
1198
|
try {
|
|
1222
|
-
const
|
|
1223
|
-
'headers':
|
|
1224
|
-
'method':
|
|
1225
|
-
'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)]
|
|
1226
1203
|
});
|
|
1227
|
-
if (!
|
|
1228
|
-
throw new Error(
|
|
1204
|
+
if (!_0x2140e6['ok'])
|
|
1205
|
+
throw new Error('HTTP\x20' + _0x2140e6[_0x22bfd5(0x269)]);
|
|
1229
1206
|
return {
|
|
1230
|
-
'contentType':
|
|
1231
|
-
'data': Buffer[
|
|
1232
|
-
'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)]
|
|
1233
1210
|
};
|
|
1234
1211
|
} finally {
|
|
1235
|
-
clearTimeout(
|
|
1212
|
+
clearTimeout(_0xc83b0f);
|
|
1236
1213
|
}
|
|
1237
1214
|
},
|
|
1238
1215
|
async 'listServer'() {
|
|
1239
|
-
return
|
|
1216
|
+
return _0x2e5012();
|
|
1240
1217
|
},
|
|
1241
|
-
async 'readHistory'(
|
|
1242
|
-
const
|
|
1243
|
-
return
|
|
1244
|
-
'after':
|
|
1245
|
-
'before':
|
|
1246
|
-
'channelId':
|
|
1247
|
-
'channelTarget':
|
|
1248
|
-
'limit':
|
|
1249
|
-
'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)]
|
|
1250
1227
|
});
|
|
1251
1228
|
},
|
|
1229
|
+
'resolveTarget': _0xc9048c,
|
|
1252
1230
|
async 'checkMessages'() {
|
|
1253
|
-
const
|
|
1254
|
-
|
|
1255
|
-
const
|
|
1256
|
-
'headers':
|
|
1257
|
-
'method':
|
|
1258
|
-
}),
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
])),
|
|
1262
|
-
for (const
|
|
1263
|
-
const
|
|
1264
|
-
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)
|
|
1265
1243
|
continue;
|
|
1266
|
-
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) ?? {
|
|
1267
1245
|
'aggregateIds': [],
|
|
1268
|
-
'channelId':
|
|
1246
|
+
'channelId': _0x26b553,
|
|
1269
1247
|
'entries': new Map(),
|
|
1270
|
-
'isThreadReply':
|
|
1271
|
-
'rootMessageId':
|
|
1272
|
-
'threadNumber':
|
|
1273
|
-
'threadId':
|
|
1248
|
+
'isThreadReply': _0x1864cf,
|
|
1249
|
+
'rootMessageId': _0xd1156f,
|
|
1250
|
+
'threadNumber': _0x464ab2,
|
|
1251
|
+
'threadId': _0x1864cf ? _0x95a89c : void 0x0
|
|
1274
1252
|
};
|
|
1275
|
-
|
|
1276
|
-
'payloadJson':
|
|
1277
|
-
'seq':
|
|
1278
|
-
}),
|
|
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);
|
|
1279
1257
|
}
|
|
1280
|
-
const
|
|
1281
|
-
for (const
|
|
1258
|
+
const _0x12408c = [];
|
|
1259
|
+
for (const _0x28d82e of _0x4190d6[_0x100a85(_0x552eda._0x2d8e34)]()) {
|
|
1282
1260
|
const {
|
|
1283
|
-
channelId:
|
|
1284
|
-
threadId:
|
|
1285
|
-
rootMessageId:
|
|
1286
|
-
threadNumber:
|
|
1287
|
-
aggregateIds:
|
|
1288
|
-
isThreadReply:
|
|
1289
|
-
entries:
|
|
1290
|
-
} =
|
|
1291
|
-
'channelTarget':
|
|
1292
|
-
'rootMessageId':
|
|
1293
|
-
'threadId':
|
|
1294
|
-
'threadNumber':
|
|
1295
|
-
},
|
|
1296
|
-
'channelId':
|
|
1297
|
-
'channelTarget':
|
|
1298
|
-
'limit': Math[
|
|
1299
|
-
'threadId':
|
|
1300
|
-
}),
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
])),
|
|
1304
|
-
for (const
|
|
1305
|
-
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)
|
|
1306
1284
|
continue;
|
|
1307
|
-
const
|
|
1308
|
-
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)
|
|
1309
1287
|
continue;
|
|
1310
|
-
const
|
|
1311
|
-
if (
|
|
1312
|
-
|
|
1313
|
-
'attachments':
|
|
1314
|
-
'content':
|
|
1315
|
-
'createdAt':
|
|
1316
|
-
'messageId':
|
|
1317
|
-
'senderName':
|
|
1318
|
-
'senderType':
|
|
1319
|
-
'target':
|
|
1320
|
-
...
|
|
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': !![] } : {}
|
|
1321
1299
|
});
|
|
1322
1300
|
continue;
|
|
1323
1301
|
}
|
|
1324
|
-
if (
|
|
1325
|
-
const
|
|
1326
|
-
|
|
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)]({
|
|
1327
1305
|
'attachments': [],
|
|
1328
|
-
'content':
|
|
1329
|
-
'createdAt': new Date()[
|
|
1330
|
-
'messageId':
|
|
1331
|
-
'senderName':
|
|
1332
|
-
'senderType':
|
|
1333
|
-
'target':
|
|
1334
|
-
...
|
|
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': !![] } : {}
|
|
1335
1313
|
});
|
|
1336
1314
|
}
|
|
1337
1315
|
}
|
|
1338
1316
|
}
|
|
1339
|
-
if (
|
|
1340
|
-
if (
|
|
1341
|
-
await
|
|
1317
|
+
if (_0x5ba7b0 > 0x0) {
|
|
1318
|
+
if (_0x1d4ce3)
|
|
1319
|
+
await _0x371f0c(_0x5ba7b0);
|
|
1342
1320
|
else
|
|
1343
|
-
|
|
1321
|
+
_0x19949b && await _0xf639af(_0x5ba7b0);
|
|
1344
1322
|
}
|
|
1345
|
-
return
|
|
1323
|
+
return _0x5ba7b0 > _0x47facc && (_0x47facc = _0x5ba7b0), { 'messages': _0x4fd85b ? _0x12408c : _0x4031d4 ? _0x12408c[_0x100a85(_0x552eda._0x5e5c1a)](_0x435235 => _0x435235[_0x100a85(0x289)] !== !![]) : _0x12408c };
|
|
1346
1324
|
}
|
|
1347
1325
|
};
|
|
1348
1326
|
}
|
|
1349
|
-
function toLocalTime(
|
|
1350
|
-
const
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
return _0x33dfc5[_0x4cad71(_0x3530e5._0x327d55)]() + '-' + _0x5e357c(_0x33dfc5[_0x4cad71(_0x3530e5._0x2adac6)]() + 0x1) + '-' + _0x5e357c(_0x33dfc5[_0x4cad71(_0x3530e5._0x5e1ebb)]()) + '\x20' + _0x5e357c(_0x33dfc5[_0x4cad71(_0x3530e5._0x2326db)]()) + ':' + _0x5e357c(_0x33dfc5[_0x4cad71(0x2b4)]()) + ':' + _0x5e357c(_0x33dfc5[_0x4cad71(_0x3530e5._0x518888)]());
|
|
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)]());
|
|
1362
1339
|
}
|
|
1363
|
-
function formatAttachmentSuffix(
|
|
1364
|
-
const
|
|
1365
|
-
|
|
1366
|
-
_0x4b014c: 0x216,
|
|
1367
|
-
_0x1be8b9: 0x295,
|
|
1368
|
-
_0x48eafc: 0x25a
|
|
1369
|
-
}, _0x1d769d = _0x84e1c7;
|
|
1370
|
-
if (!_0x3a43e2 || _0x3a43e2[_0x1d769d(_0x3487a4._0x351faa)] === 0x0)
|
|
1340
|
+
function formatAttachmentSuffix(_0x5097e8) {
|
|
1341
|
+
const _0x23b42e = { _0x9f463: 0x291 }, _0x4152b7 = _0x48b8fe;
|
|
1342
|
+
if (!_0x5097e8 || _0x5097e8[_0x4152b7(_0x23b42e._0x9f463)] === 0x0)
|
|
1371
1343
|
return '';
|
|
1372
|
-
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);
|
|
1373
1345
|
}
|
|
1374
|
-
function formatCheckMessages(
|
|
1375
|
-
const
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
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');
|
|
1390
1364
|
}
|
|
1391
|
-
function formatHistory(
|
|
1392
|
-
const
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
},
|
|
1411
|
-
if (
|
|
1412
|
-
return
|
|
1413
|
-
const
|
|
1414
|
-
const
|
|
1415
|
-
return
|
|
1416
|
-
})[
|
|
1417
|
-
return
|
|
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;
|
|
1418
1392
|
}
|
|
1419
|
-
function formatServerDirectory(
|
|
1420
|
-
const
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
_0x2c556d: 0x1cb,
|
|
1430
|
-
_0x30009c: 0x295
|
|
1431
|
-
}, _0x33558e = _0x84e1c7, _0x1ae7ae = _0x431fb0[_0x33558e(0x17d)][_0x33558e(0x216)] > 0x0 ? _0x431fb0[_0x33558e(_0xb73f7._0x1750e1)][_0x33558e(_0xb73f7._0xdc4c63)](_0x48de87 => _0x48de87[_0x33558e(0x18e)] ? _0x33558e(0x1b3) + _0x48de87[_0x33558e(0x285)] + _0x33558e(0x257) + _0x48de87[_0x33558e(0x18e)] : _0x33558e(0x1b3) + _0x48de87['name'])[_0x33558e(0x295)]('\x0a') : '(none)', _0xbdbb95 = _0x431fb0['agents'][_0x33558e(_0xb73f7._0x1f09e4)] > 0x0 ? _0x431fb0[_0x33558e(0x274)]['map'](_0x3b4825 => _0x33558e(0x1e6) + _0x3b4825[_0x33558e(0x285)])[_0x33558e(0x295)]('\x0a') : _0x33558e(0x2d5), _0xdf6865 = _0x431fb0['humans']['length'] > 0x0 ? _0x431fb0[_0x33558e(_0xb73f7._0x95e207)][_0x33558e(_0xb73f7._0xdc4c63)](_0x317bef => _0x33558e(0x1e6) + _0x317bef['name'])[_0x33558e(_0xb73f7._0x19b2f2)]('\x0a') : _0x33558e(_0xb73f7._0x4f0681);
|
|
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);
|
|
1432
1403
|
return [
|
|
1433
|
-
|
|
1404
|
+
'##\x20Server:\x20' + _0x3c106c[_0x610511(_0x22806d._0x5b5c14)],
|
|
1434
1405
|
'',
|
|
1435
|
-
|
|
1436
|
-
|
|
1406
|
+
_0x610511(0x2b1),
|
|
1407
|
+
_0x5c0527,
|
|
1437
1408
|
'',
|
|
1438
|
-
|
|
1439
|
-
|
|
1409
|
+
_0x610511(_0x22806d._0x1208c9),
|
|
1410
|
+
_0x155c86,
|
|
1440
1411
|
'',
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
][
|
|
1412
|
+
'###\x20Humans',
|
|
1413
|
+
_0x1b6e70
|
|
1414
|
+
]['join']('\x0a');
|
|
1444
1415
|
}
|
|
1445
|
-
function formatUploadResult(
|
|
1446
|
-
const
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
},
|
|
1450
|
-
return
|
|
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.';
|
|
1451
1422
|
}
|
|
1452
|
-
function formatViewFileResult(
|
|
1453
|
-
const
|
|
1454
|
-
|
|
1455
|
-
_0xd7cea1: 0x16d
|
|
1456
|
-
}, _0x24a8ce = _0x84e1c7;
|
|
1457
|
-
return _0x4ceb13 ? _0x24a8ce(_0x14d1ee._0x741f4e) + _0x18e1d4 : _0x24a8ce(_0x14d1ee._0xd7cea1) + _0x18e1d4;
|
|
1423
|
+
function formatViewFileResult(_0x35a82e, _0x972e9c) {
|
|
1424
|
+
const _0x2c5025 = { _0x5acbbe: 0x1dc }, _0x5a0d90 = _0x48b8fe;
|
|
1425
|
+
return _0x972e9c ? _0x5a0d90(0x24c) + _0x35a82e : _0x5a0d90(_0x2c5025._0x5acbbe) + _0x35a82e;
|
|
1458
1426
|
}
|
|
1459
|
-
function formatTaskList(
|
|
1460
|
-
const
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
},
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
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');
|
|
1474
1443
|
}
|
|
1475
|
-
function formatCreatedTasks(
|
|
1476
|
-
const
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
},
|
|
1480
|
-
|
|
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)
|
|
1481
1454
|
return 'No\x20tasks\x20created.';
|
|
1482
|
-
return
|
|
1483
|
-
const
|
|
1484
|
-
return
|
|
1485
|
-
})[
|
|
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');
|
|
1486
1459
|
}
|
|
1487
|
-
function formatClaimTaskResults(
|
|
1488
|
-
const
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
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)] : '';
|
|
1510
1490
|
return [
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
][
|
|
1491
|
+
_0x5a7c96 + _0x1c3250(0x20f) + _0x5b4a7b,
|
|
1492
|
+
_0x6008a0
|
|
1493
|
+
][_0x1c3250(0x22f)](Boolean)[_0x1c3250(_0x4c40e4._0x3aed3f)]('\x20');
|
|
1514
1494
|
}
|
|
1515
|
-
const
|
|
1516
|
-
return
|
|
1517
|
-
})[
|
|
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');
|
|
1518
1498
|
}
|
|
1519
|
-
function formatUnclaimTaskResult(
|
|
1520
|
-
const
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
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)];
|
|
1525
1507
|
}
|
|
1526
|
-
function formatUpdateTaskStatusResult(
|
|
1527
|
-
const
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
},
|
|
1531
|
-
return
|
|
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)];
|
|
1532
1514
|
}
|
|
1533
1515
|
function getChatBridgeToolDefinitions() {
|
|
1534
|
-
const
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
_0x3ebf72: 0x203,
|
|
1539
|
-
_0xd644d: 0x2a8,
|
|
1540
|
-
_0x378b0e: 0x2db,
|
|
1541
|
-
_0x39ca33: 0x1c6
|
|
1542
|
-
}, _0x10ab3c = _0x84e1c7;
|
|
1516
|
+
const _0xf4b8a3 = {
|
|
1517
|
+
_0x44365e: 0x282,
|
|
1518
|
+
_0x30191f: 0x23b
|
|
1519
|
+
}, _0x3735cb = _0x48b8fe;
|
|
1543
1520
|
return [
|
|
1544
|
-
{ 'name':
|
|
1545
|
-
{ 'name':
|
|
1546
|
-
{ 'name':
|
|
1547
|
-
{ 'name':
|
|
1548
|
-
{ 'name':
|
|
1549
|
-
{ 'name':
|
|
1550
|
-
{ 'name':
|
|
1551
|
-
{ 'name':
|
|
1552
|
-
{ 'name':
|
|
1553
|
-
{ 'name':
|
|
1554
|
-
{ 'name':
|
|
1555
|
-
{ 'name':
|
|
1556
|
-
{ 'name': _0x10ab3c(0x161) },
|
|
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) },
|
|
1557
1533
|
{ 'name': 'get_worker_result' },
|
|
1558
|
-
{ 'name':
|
|
1559
|
-
{ 'name':
|
|
1560
|
-
{ 'name':
|
|
1534
|
+
{ 'name': 'finish_worker' },
|
|
1535
|
+
{ 'name': _0x3735cb(0x1f0) },
|
|
1536
|
+
{ 'name': 'mark_waiting_input' }
|
|
1561
1537
|
];
|
|
1562
1538
|
}
|
|
1563
|
-
function createChatBridgeHandlers(
|
|
1564
|
-
const
|
|
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
|
-
|
|
1664
|
-
|
|
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
|
|
1665
1665
|
};
|
|
1666
|
-
async function
|
|
1667
|
-
const
|
|
1668
|
-
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'] !== !![])
|
|
1669
1669
|
return null;
|
|
1670
|
-
const
|
|
1671
|
-
if (
|
|
1670
|
+
const _0x3df3e2 = parseTarget(_0x358464[_0x441290(_0x22a5b8._0x26e9a4)]);
|
|
1671
|
+
if (_0x3df3e2[_0x441290(0x1c2)] !== _0x441290(_0x22a5b8._0x33312f))
|
|
1672
1672
|
return null;
|
|
1673
|
-
const
|
|
1674
|
-
let
|
|
1673
|
+
const _0x5c6921 = _0x358464['threadNumber'] != null ? _0x3df3e2[_0x441290(_0x22a5b8._0x51b4ad)] + ':t' + _0x358464[_0x441290(_0x22a5b8._0x4ddab7)] : _0x3df3e2['channelTarget'] + ':' + _0x358464['messageId'];
|
|
1674
|
+
let _0x321a9a;
|
|
1675
1675
|
try {
|
|
1676
|
-
const
|
|
1677
|
-
'channel':
|
|
1676
|
+
const _0xb3de7f = await _0x44d86a[_0x441290(_0x22a5b8._0x1b4517)][_0x441290(0x16c)]({
|
|
1677
|
+
'channel': _0x5c6921,
|
|
1678
1678
|
'limit': 0x14
|
|
1679
1679
|
});
|
|
1680
|
-
|
|
1680
|
+
_0x321a9a = _0xb3de7f['messages']['find'](_0x2e6d99 => _0x2e6d99['messageId'] === _0x358464[_0x441290(0x1e9)]);
|
|
1681
1681
|
} catch {
|
|
1682
|
-
|
|
1682
|
+
_0x321a9a = void 0x0;
|
|
1683
1683
|
}
|
|
1684
|
-
const
|
|
1685
|
-
|
|
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),
|
|
1686
1686
|
'',
|
|
1687
|
-
|
|
1687
|
+
_0x321a9a ? _0x441290(0x1ba) + _0x321a9a[_0x441290(0x249)] : _0x441290(0x266) + _0x358464[_0x441290(0x1e9)],
|
|
1688
1688
|
'',
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
]['join']('\x0a'),
|
|
1692
|
-
'method':
|
|
1693
|
-
'headers': { 'Content-Type':
|
|
1694
|
-
'body': JSON[
|
|
1695
|
-
'agent_id':
|
|
1696
|
-
'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,
|
|
1697
1697
|
'spawn_packet': {
|
|
1698
|
-
'replyTarget':
|
|
1699
|
-
...
|
|
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)] } : {}
|
|
1700
1700
|
},
|
|
1701
1701
|
'payload': {
|
|
1702
|
-
'mode':
|
|
1703
|
-
'text':
|
|
1702
|
+
'mode': 'user',
|
|
1703
|
+
'text': _0x2218b3
|
|
1704
1704
|
}
|
|
1705
1705
|
})
|
|
1706
|
-
}),
|
|
1707
|
-
if (!
|
|
1708
|
-
throw new Error(
|
|
1706
|
+
}), _0x34accf = await _0x22f868['json']();
|
|
1707
|
+
if (!_0x34accf['ok'])
|
|
1708
|
+
throw new Error(_0x34accf[_0x441290(_0x22a5b8._0x40f5f6)] ?? _0x441290(0x1e4));
|
|
1709
1709
|
return {
|
|
1710
1710
|
'stopMain': !![],
|
|
1711
|
-
'threadTarget':
|
|
1712
|
-
'workerDisposition':
|
|
1711
|
+
'threadTarget': _0x5c6921,
|
|
1712
|
+
'workerDisposition': _0x34accf[_0x441290(0x263)] === _0x441290(_0x22a5b8._0x4c0f8f) ? _0x441290(_0x22a5b8._0x4c0f8f) : _0x441290(_0x22a5b8._0x27381e),
|
|
1713
1713
|
'workerHandoff': !![],
|
|
1714
|
-
'workerSessionId':
|
|
1715
|
-
'executionMode':
|
|
1714
|
+
'workerSessionId': _0x34accf['worker_session_id'] ?? '',
|
|
1715
|
+
'executionMode': _0x441290(0x161)
|
|
1716
1716
|
};
|
|
1717
1717
|
}
|
|
1718
|
-
async function
|
|
1719
|
-
const
|
|
1720
|
-
if (!
|
|
1718
|
+
async function _0x19d933() {
|
|
1719
|
+
const _0x24f0a2 = _0xe0e1;
|
|
1720
|
+
if (!_0x44d86a[_0x24f0a2(0x238)] || !_0x44d86a['agentId'] || _0x44d86a[_0x24f0a2(0x2b5)])
|
|
1721
1721
|
return null;
|
|
1722
1722
|
try {
|
|
1723
|
-
const
|
|
1724
|
-
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'])
|
|
1725
1725
|
return null;
|
|
1726
|
-
const
|
|
1727
|
-
for (const
|
|
1728
|
-
|
|
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']);
|
|
1729
1729
|
}
|
|
1730
|
-
return
|
|
1730
|
+
return _0x17d5a9['size'] > 0x0 ? _0x17d5a9 : null;
|
|
1731
1731
|
} catch {
|
|
1732
1732
|
return null;
|
|
1733
1733
|
}
|
|
1734
1734
|
}
|
|
1735
1735
|
return {
|
|
1736
|
-
async 'send_message'(
|
|
1737
|
-
const
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
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),
|
|
1743
|
+
'',
|
|
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,
|
|
1754
|
+
'spawn_packet': {
|
|
1755
|
+
'replyTarget': _0x587321,
|
|
1756
|
+
'taskId': _0x22f611[_0x4d1538(0x28b)]['taskId']
|
|
1757
|
+
},
|
|
1758
|
+
'payload': {
|
|
1759
|
+
'mode': 'user',
|
|
1760
|
+
'text': _0x462557
|
|
1761
|
+
}
|
|
1762
|
+
})
|
|
1763
|
+
}), _0x32498c = await _0x5c55b1[_0x4d1538(_0x55a244._0x274fff)]();
|
|
1764
|
+
if (!_0x32498c['ok'])
|
|
1765
|
+
throw new Error(_0x32498c[_0x4d1538(0x1d0)] ?? _0x4d1538(_0x55a244._0x194a0e));
|
|
1766
|
+
return [
|
|
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)) + '.',
|
|
1770
|
+
'Do\x20not\x20send\x20further\x20messages\x20to\x20this\x20thread.'
|
|
1771
|
+
][_0x4d1538(_0x55a244._0x199732)]('\x20');
|
|
1772
|
+
}
|
|
1773
|
+
}
|
|
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)]
|
|
1779
|
+
});
|
|
1780
|
+
return 'Message\x20sent\x20to\x20' + _0x476e2a[_0x4d1538(_0x55a244._0x5a4e9a)] + '.\x20Message\x20ID:\x20' + _0x4c8956[_0x4d1538(_0x55a244._0x2eda18)];
|
|
1743
1781
|
},
|
|
1744
1782
|
async 'check_messages'() {
|
|
1745
|
-
const
|
|
1746
|
-
if (!
|
|
1747
|
-
const
|
|
1748
|
-
if (
|
|
1749
|
-
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)])));
|
|
1750
1788
|
}
|
|
1751
|
-
return formatCheckMessages(
|
|
1789
|
+
return formatCheckMessages(_0x1a0589[_0x576c23(_0x954f54._0x329de4)]);
|
|
1752
1790
|
},
|
|
1753
|
-
async 'read_history'(
|
|
1754
|
-
const
|
|
1755
|
-
return formatHistory(
|
|
1791
|
+
async 'read_history'(_0x19324b) {
|
|
1792
|
+
const _0x24d689 = _0xe0e1, _0x3bf903 = await _0x44d86a[_0x24d689(0x2a0)]['readHistory'](_0x19324b);
|
|
1793
|
+
return formatHistory(_0x3bf903);
|
|
1756
1794
|
},
|
|
1757
1795
|
async 'list_server'() {
|
|
1758
|
-
const
|
|
1759
|
-
return formatServerDirectory(
|
|
1796
|
+
const _0x578972 = _0xe0e1, _0x250b10 = await _0x44d86a['client'][_0x578972(_0x408dcd._0x266ccb)]();
|
|
1797
|
+
return formatServerDirectory(_0x250b10);
|
|
1760
1798
|
},
|
|
1761
|
-
async 'list_tasks'(
|
|
1762
|
-
const
|
|
1763
|
-
let
|
|
1764
|
-
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)])
|
|
1765
1803
|
try {
|
|
1766
|
-
const
|
|
1767
|
-
if (
|
|
1768
|
-
const
|
|
1769
|
-
|
|
1770
|
-
for (const
|
|
1771
|
-
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))
|
|
1772
1810
|
continue;
|
|
1773
|
-
if (
|
|
1774
|
-
const
|
|
1775
|
-
if (
|
|
1776
|
-
|
|
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)]);
|
|
1777
1815
|
continue;
|
|
1778
1816
|
}
|
|
1779
1817
|
}
|
|
1780
|
-
if (
|
|
1781
|
-
const
|
|
1782
|
-
|
|
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)]);
|
|
1783
1821
|
}
|
|
1784
1822
|
}
|
|
1785
1823
|
}
|
|
1786
1824
|
} catch {
|
|
1787
1825
|
}
|
|
1788
|
-
return formatTaskList(
|
|
1826
|
+
return formatTaskList(_0x23db37[_0x432f8d(0x274)], _0x44f699);
|
|
1789
1827
|
},
|
|
1790
|
-
async 'create_tasks'(
|
|
1791
|
-
const
|
|
1792
|
-
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)]);
|
|
1793
1831
|
},
|
|
1794
|
-
async 'claim_tasks'(
|
|
1795
|
-
const
|
|
1796
|
-
const
|
|
1797
|
-
if (!
|
|
1798
|
-
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;
|
|
1799
1837
|
try {
|
|
1800
|
-
const
|
|
1801
|
-
'channel':
|
|
1802
|
-
'messageId':
|
|
1803
|
-
'taskId':
|
|
1804
|
-
'taskNumber':
|
|
1805
|
-
'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)]
|
|
1806
1844
|
});
|
|
1807
|
-
return
|
|
1808
|
-
...
|
|
1809
|
-
...
|
|
1810
|
-
} :
|
|
1811
|
-
} catch (
|
|
1845
|
+
return _0x171f66 ? {
|
|
1846
|
+
..._0x139503,
|
|
1847
|
+
..._0x171f66
|
|
1848
|
+
} : _0x139503;
|
|
1849
|
+
} catch (_0x65765d) {
|
|
1812
1850
|
return {
|
|
1813
|
-
...
|
|
1814
|
-
'workerHandoffError':
|
|
1851
|
+
..._0x139503,
|
|
1852
|
+
'workerHandoffError': _0x65765d instanceof Error ? _0x65765d[_0x46dd52(_0x1791fc._0x247688)] : _0x46dd52(_0x1791fc._0x46e0e0)
|
|
1815
1853
|
};
|
|
1816
1854
|
}
|
|
1817
1855
|
}));
|
|
1818
|
-
return formatClaimTaskResults(
|
|
1856
|
+
return formatClaimTaskResults(_0x4fda76);
|
|
1819
1857
|
},
|
|
1820
|
-
async 'unclaim_task'(
|
|
1821
|
-
const
|
|
1822
|
-
return formatUnclaimTaskResult(
|
|
1858
|
+
async 'unclaim_task'(_0x596067) {
|
|
1859
|
+
const _0x78e434 = await _0x44d86a['client']['unclaimTask'](_0x596067);
|
|
1860
|
+
return formatUnclaimTaskResult(_0x78e434);
|
|
1823
1861
|
},
|
|
1824
|
-
async 'update_task_status'(
|
|
1825
|
-
const
|
|
1826
|
-
return formatUpdateTaskStatusResult(
|
|
1862
|
+
async 'update_task_status'(_0x2ce64c) {
|
|
1863
|
+
const _0x2ccda2 = _0xe0e1, _0x2d29e6 = await _0x44d86a['client'][_0x2ccda2(_0x3b4f3d._0x48becb)](_0x2ce64c);
|
|
1864
|
+
return formatUpdateTaskStatusResult(_0x2d29e6);
|
|
1827
1865
|
},
|
|
1828
|
-
async 'upload_file'(
|
|
1829
|
-
const
|
|
1830
|
-
sizeBytes:
|
|
1831
|
-
...
|
|
1832
|
-
} =
|
|
1833
|
-
'channel':
|
|
1834
|
-
...
|
|
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
|
|
1835
1873
|
});
|
|
1836
|
-
return formatUploadResult(
|
|
1874
|
+
return formatUploadResult(_0x35fd25);
|
|
1837
1875
|
},
|
|
1838
|
-
async 'view_file'(
|
|
1839
|
-
const
|
|
1840
|
-
if (
|
|
1841
|
-
return formatViewFileResult(
|
|
1842
|
-
const
|
|
1843
|
-
'attachmentId':
|
|
1844
|
-
'contentType':
|
|
1845
|
-
'data':
|
|
1846
|
-
'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)]
|
|
1847
1885
|
});
|
|
1848
|
-
return formatViewFileResult(
|
|
1849
|
-
},
|
|
1850
|
-
async 'spawn_worker'(_0x34bb39) {
|
|
1851
|
-
const _0x15ba55 = _0x4ff1;
|
|
1852
|
-
if (!_0x4d6661['daemonLocalUrl'] || !_0x4d6661['agentId'])
|
|
1853
|
-
return _0x15ba55(0x2a2);
|
|
1854
|
-
const _0x52ead1 = await fetch(_0x4d6661[_0x15ba55(0x26e)] + _0x15ba55(_0x16677d._0x4c0e95), {
|
|
1855
|
-
'method': _0x15ba55(0x2c5),
|
|
1856
|
-
'headers': { 'Content-Type': _0x15ba55(_0x16677d._0x47cbb2) },
|
|
1857
|
-
'body': JSON[_0x15ba55(_0x16677d._0x3aa375)]({
|
|
1858
|
-
'agent_id': _0x4d6661[_0x15ba55(0x23b)],
|
|
1859
|
-
'work_key': _0x34bb39[_0x15ba55(0x1f1)],
|
|
1860
|
-
'thread_target': _0x34bb39[_0x15ba55(0x183)],
|
|
1861
|
-
'spawn_packet': {
|
|
1862
|
-
'replyTarget': _0x34bb39['reply_target'],
|
|
1863
|
-
'taskId': _0x34bb39[_0x15ba55(0x180)]
|
|
1864
|
-
}
|
|
1865
|
-
})
|
|
1866
|
-
}), _0x5c2cb2 = await _0x52ead1[_0x15ba55(0x2ae)]();
|
|
1867
|
-
if (!_0x5c2cb2['ok'])
|
|
1868
|
-
throw new Error(_0x5c2cb2[_0x15ba55(0x277)] ?? _0x15ba55(0x2d8));
|
|
1869
|
-
const _0x26370e = _0x5c2cb2[_0x15ba55(0x172)] === _0x15ba55(_0x16677d._0x34981f) ? _0x15ba55(0x2aa) : _0x15ba55(0x235);
|
|
1870
|
-
return _0x15ba55(_0x16677d._0x337918) + _0x26370e + '.\x20Session\x20ID:\x20' + _0x5c2cb2[_0x15ba55(_0x16677d._0x22230e)] + _0x15ba55(0x2a4) + _0x34bb39[_0x15ba55(_0x16677d._0x2c36cc)];
|
|
1886
|
+
return formatViewFileResult(_0x297fc0, ![]);
|
|
1871
1887
|
},
|
|
1872
|
-
async 'get_worker_status'(
|
|
1873
|
-
const
|
|
1874
|
-
if (!
|
|
1875
|
-
return
|
|
1876
|
-
const
|
|
1877
|
-
if (!
|
|
1878
|
-
return
|
|
1879
|
-
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)];
|
|
1880
1896
|
},
|
|
1881
|
-
async 'get_worker_result'(
|
|
1882
|
-
const
|
|
1883
|
-
if (!
|
|
1884
|
-
return
|
|
1885
|
-
const
|
|
1886
|
-
if (!
|
|
1887
|
-
return
|
|
1888
|
-
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);
|
|
1889
1905
|
},
|
|
1890
|
-
async 'finish_worker'(
|
|
1891
|
-
const
|
|
1892
|
-
if (!
|
|
1893
|
-
return
|
|
1894
|
-
const
|
|
1895
|
-
'method':
|
|
1896
|
-
'headers': { 'Content-Type':
|
|
1897
|
-
'body': JSON[
|
|
1898
|
-
'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)],
|
|
1899
1915
|
'resume_packet': {
|
|
1900
1916
|
'objective': '',
|
|
1901
|
-
'result':
|
|
1902
|
-
'summary':
|
|
1903
|
-
'decisions':
|
|
1904
|
-
'filesChanged':
|
|
1905
|
-
'openIssues':
|
|
1906
|
-
'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'] ?? []
|
|
1907
1923
|
}
|
|
1908
1924
|
})
|
|
1909
|
-
}),
|
|
1910
|
-
if (!
|
|
1911
|
-
throw new Error(
|
|
1912
|
-
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)];
|
|
1913
1929
|
},
|
|
1914
|
-
async 'mark_waiting_input'(
|
|
1915
|
-
const
|
|
1916
|
-
if (!
|
|
1917
|
-
return
|
|
1918
|
-
const
|
|
1919
|
-
'method':
|
|
1920
|
-
'headers': { 'Content-Type':
|
|
1921
|
-
'body': JSON[
|
|
1922
|
-
'work_key':
|
|
1923
|
-
'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']
|
|
1924
1940
|
})
|
|
1925
|
-
}),
|
|
1926
|
-
if (!
|
|
1927
|
-
throw new Error(
|
|
1928
|
-
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);
|
|
1929
1945
|
},
|
|
1930
|
-
async 'escalate_to_main'(
|
|
1931
|
-
const
|
|
1932
|
-
if (!
|
|
1933
|
-
return
|
|
1934
|
-
const
|
|
1935
|
-
'method':
|
|
1936
|
-
'headers': { 'Content-Type':
|
|
1937
|
-
'body': JSON[
|
|
1938
|
-
'work_key':
|
|
1939
|
-
'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)]
|
|
1940
1956
|
})
|
|
1941
|
-
}),
|
|
1942
|
-
if (!
|
|
1943
|
-
throw new Error(
|
|
1944
|
-
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)];
|
|
1945
1961
|
}
|
|
1946
1962
|
};
|
|
1947
1963
|
}
|
|
1948
|
-
function
|
|
1949
|
-
|
|
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;
|
|
1950
1987
|
return {
|
|
1951
1988
|
'content': [{
|
|
1952
|
-
'type':
|
|
1953
|
-
'text':
|
|
1989
|
+
'type': _0x2d3c75(0x229),
|
|
1990
|
+
'text': _0x5126d8
|
|
1954
1991
|
}],
|
|
1955
|
-
...
|
|
1992
|
+
..._0xc80a6e ? { 'isError': !![] } : {}
|
|
1956
1993
|
};
|
|
1957
1994
|
}
|
|
1958
|
-
async function registerChatBridgeTools(
|
|
1959
|
-
const
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
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
|
-
_0x100860[_0x584888(0x1a6)](_0x584888(0x1fc), 'Send\x20a\x20message\x20to\x20a\x20channel\x20or\x20DM.\x20Reuse\x20the\x20exact\x20target\x20string\x20from\x20incoming\x20messages;\x20thread\x20targets\x20use\x20the\x20same\x20field.', {
|
|
2031
|
-
'target': _0x4bfbc5[_0x584888(_0x1173b3._0x50c0d3)](),
|
|
2032
|
-
'content': _0x4bfbc5[_0x584888(_0x1173b3._0x18d6f2)](),
|
|
2033
|
-
'attachment_ids': _0x4bfbc5['array'](_0x4bfbc5[_0x584888(_0x1173b3._0x50c0d3)]())[_0x584888(0x288)]()
|
|
2034
|
-
}, async _0x4dbcc1 => {
|
|
2035
|
-
const _0x2e8d2f = _0x584888;
|
|
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;
|
|
2036
2067
|
try {
|
|
2037
|
-
return textResult(await
|
|
2038
|
-
} catch (
|
|
2039
|
-
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), !![]);
|
|
2040
2071
|
}
|
|
2041
|
-
}),
|
|
2042
|
-
const
|
|
2072
|
+
}), _0x463c63['tool']('check_messages', _0x4f0aa2(_0x3edb08._0x234491), {}, async () => {
|
|
2073
|
+
const _0x34ff74 = _0x4f0aa2;
|
|
2043
2074
|
try {
|
|
2044
|
-
return textResult(await
|
|
2045
|
-
} catch (
|
|
2046
|
-
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', !![]);
|
|
2047
2078
|
}
|
|
2048
|
-
}),
|
|
2049
|
-
'channel':
|
|
2050
|
-
'limit':
|
|
2051
|
-
'before':
|
|
2052
|
-
'after':
|
|
2053
|
-
}, async
|
|
2054
|
-
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;
|
|
2055
2086
|
try {
|
|
2056
|
-
return textResult(await
|
|
2057
|
-
} catch (
|
|
2058
|
-
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', !![]);
|
|
2059
2090
|
}
|
|
2060
|
-
}),
|
|
2061
|
-
const
|
|
2091
|
+
}), _0x463c63[_0x4f0aa2(0x27a)](_0x4f0aa2(0x282), _0x4f0aa2(0x16f), {}, async () => {
|
|
2092
|
+
const _0x4b858a = _0x4f0aa2;
|
|
2062
2093
|
try {
|
|
2063
|
-
return textResult(await
|
|
2064
|
-
} catch (
|
|
2065
|
-
return textResult(
|
|
2094
|
+
return textResult(await _0x2f2f75[_0x4b858a(_0x4f4d4a._0x13ad49)]());
|
|
2095
|
+
} catch (_0x8b9c5b) {
|
|
2096
|
+
return textResult(_0x8b9c5b instanceof Error ? _0x8b9c5b[_0x4b858a(0x14c)] : _0x4b858a(0x19f), !![]);
|
|
2066
2097
|
}
|
|
2067
|
-
}),
|
|
2068
|
-
'channel':
|
|
2069
|
-
'status':
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
])[
|
|
2075
|
-
}, async
|
|
2076
|
-
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;
|
|
2077
2108
|
try {
|
|
2078
|
-
return textResult(await
|
|
2079
|
-
} catch (
|
|
2080
|
-
return textResult(
|
|
2109
|
+
return textResult(await _0x2f2f75['list_tasks'](_0x19930b));
|
|
2110
|
+
} catch (_0x49550e) {
|
|
2111
|
+
return textResult(_0x49550e instanceof Error ? _0x49550e[_0x1cb233(0x14c)] : _0x1cb233(0x15e), !![]);
|
|
2081
2112
|
}
|
|
2082
|
-
}),
|
|
2083
|
-
'channel':
|
|
2084
|
-
'idempotency_key':
|
|
2085
|
-
'tasks':
|
|
2086
|
-
'title':
|
|
2087
|
-
'description':
|
|
2088
|
-
'priority':
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
])[
|
|
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)]()
|
|
2094
2125
|
}))
|
|
2095
|
-
}, async
|
|
2096
|
-
const
|
|
2126
|
+
}, async _0x5c87a6 => {
|
|
2127
|
+
const _0x5ca768 = _0x4f0aa2;
|
|
2097
2128
|
try {
|
|
2098
|
-
return textResult(await
|
|
2099
|
-
} catch (
|
|
2100
|
-
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), !![]);
|
|
2101
2132
|
}
|
|
2102
|
-
}),
|
|
2103
|
-
'channel':
|
|
2104
|
-
'task_numbers':
|
|
2105
|
-
'message_ids':
|
|
2106
|
-
'evidence':
|
|
2107
|
-
'create_thread':
|
|
2108
|
-
'create_task':
|
|
2109
|
-
}))[
|
|
2110
|
-
'idempotency_key':
|
|
2111
|
-
}, async
|
|
2112
|
-
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;
|
|
2113
2144
|
try {
|
|
2114
|
-
return textResult(await
|
|
2115
|
-
} catch (
|
|
2116
|
-
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), !![]);
|
|
2117
2148
|
}
|
|
2118
|
-
}),
|
|
2119
|
-
'channel':
|
|
2120
|
-
'task_number':
|
|
2121
|
-
'idempotency_key':
|
|
2122
|
-
}, async
|
|
2123
|
-
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;
|
|
2124
2155
|
try {
|
|
2125
|
-
return textResult(await
|
|
2126
|
-
} catch (
|
|
2127
|
-
return textResult(
|
|
2156
|
+
return textResult(await _0x2f2f75['unclaim_task'](_0x2a3c01));
|
|
2157
|
+
} catch (_0x563fa2) {
|
|
2158
|
+
return textResult(_0x563fa2 instanceof Error ? _0x563fa2[_0x222d9e(0x14c)] : _0x222d9e(0x186), !![]);
|
|
2128
2159
|
}
|
|
2129
|
-
}),
|
|
2130
|
-
'channel':
|
|
2131
|
-
'task_number':
|
|
2132
|
-
'status':
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
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)
|
|
2137
2168
|
]),
|
|
2138
|
-
'idempotency_key':
|
|
2139
|
-
}, async
|
|
2140
|
-
const
|
|
2141
|
-
try {
|
|
2142
|
-
return textResult(await _0x40bb49['update_task_status'](_0x1bce54));
|
|
2143
|
-
} catch (_0x2bb809) {
|
|
2144
|
-
return textResult(_0x2bb809 instanceof Error ? _0x2bb809['message'] : _0x4dda37(_0x2839b1._0x51cb79), !![]);
|
|
2145
|
-
}
|
|
2146
|
-
}), _0x100860[_0x584888(_0x1173b3._0x34c3f2)](_0x584888(0x16c), _0x584888(0x23f), {
|
|
2147
|
-
'channel': _0x4bfbc5[_0x584888(_0x1173b3._0x50c0d3)](),
|
|
2148
|
-
'file_path': _0x4bfbc5['string']()
|
|
2149
|
-
}, async _0x5bdf26 => {
|
|
2150
|
-
const _0x9e9133 = _0x584888;
|
|
2169
|
+
'idempotency_key': _0x43c423[_0x4f0aa2(0x1e8)]()[_0x4f0aa2(_0x3edb08._0x5aae51)]()
|
|
2170
|
+
}, async _0x3251b4 => {
|
|
2171
|
+
const _0x269198 = _0x4f0aa2;
|
|
2151
2172
|
try {
|
|
2152
|
-
return textResult(await
|
|
2153
|
-
} catch (
|
|
2154
|
-
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), !![]);
|
|
2155
2176
|
}
|
|
2156
|
-
}),
|
|
2157
|
-
|
|
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;
|
|
2158
2182
|
try {
|
|
2159
|
-
return textResult(await
|
|
2160
|
-
} catch (
|
|
2161
|
-
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), !![]);
|
|
2162
2186
|
}
|
|
2163
|
-
}),
|
|
2164
|
-
|
|
2165
|
-
'thread_target': _0x4bfbc5['string'](),
|
|
2166
|
-
'objective': _0x4bfbc5[_0x584888(_0x1173b3._0x51351b)](),
|
|
2167
|
-
'conclusions': _0x4bfbc5['array'](_0x4bfbc5[_0x584888(_0x1173b3._0x18d6f2)]())[_0x584888(0x288)](),
|
|
2168
|
-
'relevant_files': _0x4bfbc5[_0x584888(0x232)](_0x4bfbc5[_0x584888(0x234)]())[_0x584888(_0x1173b3._0x1a8a28)](),
|
|
2169
|
-
'open_questions': _0x4bfbc5['array'](_0x4bfbc5[_0x584888(_0x1173b3._0x70ad3d)]())[_0x584888(_0x1173b3._0x57136e)](),
|
|
2170
|
-
'reply_target': _0x4bfbc5[_0x584888(_0x1173b3._0x409e93)](),
|
|
2171
|
-
'task_id': _0x4bfbc5[_0x584888(_0x1173b3._0x30b51a)]()[_0x584888(0x288)]()
|
|
2172
|
-
}, async _0xa79da2 => {
|
|
2173
|
-
const _0x54b569 = _0x584888;
|
|
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
|
-
|
|
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)
|
|
2259
2279
|
throw new Error('Missing\x20--agent-id');
|
|
2260
|
-
if (!
|
|
2261
|
-
throw new Error(
|
|
2262
|
-
if (
|
|
2263
|
-
throw new Error(
|
|
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));
|
|
2264
2284
|
return {
|
|
2265
|
-
'agentId':
|
|
2266
|
-
'daemonApiKey':
|
|
2267
|
-
'daemonLocalUrl':
|
|
2268
|
-
'initialLastSeenSeq':
|
|
2269
|
-
'sessionId':
|
|
2270
|
-
'serverUrl':
|
|
2271
|
-
'workerModeEnabled':
|
|
2272
|
-
'workerSessionId':
|
|
2273
|
-
'workerThreadTarget':
|
|
2274
|
-
'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
|
|
2275
2295
|
};
|
|
2276
2296
|
}
|
|
2277
|
-
async function runChatBridgeCli(
|
|
2278
|
-
const
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
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)],
|
|
2283
2307
|
'uploadPreparer': prepareUploadFile,
|
|
2284
|
-
'workerModeEnabled':
|
|
2285
|
-
'workerMode':
|
|
2308
|
+
'workerModeEnabled': _0x35b8b6[_0x17ad82(_0x40b458._0x5ca307)],
|
|
2309
|
+
'workerMode': _0x35b8b6[_0x17ad82(_0x40b458._0x373e03)]
|
|
2286
2310
|
});
|
|
2287
|
-
await
|
|
2311
|
+
await _0x3f2718['server'][_0x17ad82(0x21d)](new _0x3b594c());
|
|
2288
2312
|
}
|
|
2289
|
-
var executedAsEntry = process[
|
|
2290
|
-
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));
|
|
2291
2315
|
export {
|
|
2292
2316
|
createChatBridgeHandlers,
|
|
2293
2317
|
createChatBridgeServer,
|