@dscord/daemon 0.1.81 → 0.1.82
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 +2017 -2021
- package/dist/index.js +10204 -10348
- package/package.json +1 -1
package/dist/chat-bridge.js
CHANGED
|
@@ -1,23 +1,25 @@
|
|
|
1
|
-
const
|
|
2
|
-
(function (
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
const _0xb29927 = _0x2d35;
|
|
2
|
+
(function (_0x54f002, _0x23c44e) {
|
|
3
|
+
const _0x29f56b = {
|
|
4
|
+
_0x3e8f33: 0x188,
|
|
5
|
+
_0x541cc0: 0x13b,
|
|
6
|
+
_0x3a6408: 0x1e4,
|
|
7
|
+
_0x39d6e0: 0x268,
|
|
8
|
+
_0x369e29: 0x207,
|
|
9
|
+
_0x57fd39: 0x26f
|
|
10
|
+
}, _0x3a0429 = _0x2d35, _0x117f3e = _0x54f002();
|
|
9
11
|
while (!![]) {
|
|
10
12
|
try {
|
|
11
|
-
const
|
|
12
|
-
if (
|
|
13
|
+
const _0x20ae32 = parseInt(_0x3a0429(0x1d3)) / 0x1 + -parseInt(_0x3a0429(0x153)) / 0x2 + parseInt(_0x3a0429(0x203)) / 0x3 + parseInt(_0x3a0429(_0x29f56b._0x3e8f33)) / 0x4 * (-parseInt(_0x3a0429(_0x29f56b._0x541cc0)) / 0x5) + -parseInt(_0x3a0429(0x239)) / 0x6 * (parseInt(_0x3a0429(_0x29f56b._0x3a6408)) / 0x7) + -parseInt(_0x3a0429(_0x29f56b._0x39d6e0)) / 0x8 * (parseInt(_0x3a0429(0x199)) / 0x9) + -parseInt(_0x3a0429(_0x29f56b._0x369e29)) / 0xa * (-parseInt(_0x3a0429(_0x29f56b._0x57fd39)) / 0xb);
|
|
14
|
+
if (_0x20ae32 === _0x23c44e)
|
|
13
15
|
break;
|
|
14
16
|
else
|
|
15
|
-
|
|
16
|
-
} catch (
|
|
17
|
-
|
|
17
|
+
_0x117f3e['push'](_0x117f3e['shift']());
|
|
18
|
+
} catch (_0x3f80e7) {
|
|
19
|
+
_0x117f3e['push'](_0x117f3e['shift']());
|
|
18
20
|
}
|
|
19
21
|
}
|
|
20
|
-
}(
|
|
22
|
+
}(_0x3492, 0xeff55));
|
|
21
23
|
import { pathToFileURL } from 'node:url';
|
|
22
24
|
import {
|
|
23
25
|
mkdir,
|
|
@@ -27,82 +29,78 @@ import {
|
|
|
27
29
|
writeFile
|
|
28
30
|
} from 'node:fs/promises';
|
|
29
31
|
import { homedir } from 'node:os';
|
|
30
|
-
import
|
|
32
|
+
import _0x1c7a71 from 'node:path';
|
|
31
33
|
var DEFAULT_MAX_FILE_SIZE = 0x64 * 0x400 * 0x400, MIME_BY_EXTENSION = {
|
|
32
|
-
'.csv':
|
|
33
|
-
'.gif':
|
|
34
|
-
'.jpeg':
|
|
35
|
-
'.jpg':
|
|
36
|
-
'.json':
|
|
37
|
-
'.md':
|
|
38
|
-
'.pdf':
|
|
34
|
+
'.csv': _0xb29927(0x243),
|
|
35
|
+
'.gif': _0xb29927(0x292),
|
|
36
|
+
'.jpeg': _0xb29927(0x208),
|
|
37
|
+
'.jpg': _0xb29927(0x208),
|
|
38
|
+
'.json': _0xb29927(0x12e),
|
|
39
|
+
'.md': _0xb29927(0x20c),
|
|
40
|
+
'.pdf': _0xb29927(0x142),
|
|
39
41
|
'.png': 'image/png',
|
|
40
|
-
'.svg':
|
|
41
|
-
'.txt':
|
|
42
|
-
'.webp':
|
|
43
|
-
'.xml':
|
|
44
|
-
'.zip':
|
|
42
|
+
'.svg': _0xb29927(0x299),
|
|
43
|
+
'.txt': _0xb29927(0x263),
|
|
44
|
+
'.webp': 'image/webp',
|
|
45
|
+
'.xml': 'application/xml',
|
|
46
|
+
'.zip': 'application/zip'
|
|
45
47
|
};
|
|
46
|
-
function guessContentType(
|
|
47
|
-
const
|
|
48
|
-
return MIME_BY_EXTENSION[
|
|
48
|
+
function guessContentType(_0x59e6f3) {
|
|
49
|
+
const _0x298b11 = _0xb29927;
|
|
50
|
+
return MIME_BY_EXTENSION[_0x1c7a71[_0x298b11(0x1b8)](_0x59e6f3)['toLowerCase']()] ?? 'application/octet-stream';
|
|
49
51
|
}
|
|
50
|
-
function safeFilename(
|
|
51
|
-
const
|
|
52
|
-
return
|
|
52
|
+
function safeFilename(_0x128d82) {
|
|
53
|
+
const _0x19c8e2 = _0xb29927;
|
|
54
|
+
return _0x128d82[_0x19c8e2(0x1ec)](/[\\/]/g, '-');
|
|
53
55
|
}
|
|
54
|
-
function extensionFor(
|
|
55
|
-
const
|
|
56
|
-
|
|
57
|
-
_0xd06ca8: 0x18a
|
|
58
|
-
}, _0x4fc17f = _0x4cca3c, _0x3b49f5 = Object[_0x4fc17f(0x2e1)](MIME_BY_EXTENSION)[_0x4fc17f(_0x3ca9e5._0x5174cd)](([, _0x2fad01]) => _0x2fad01 === _0x1fb2c6);
|
|
59
|
-
return _0x3b49f5?.[0x0] ?? _0x4fc17f(_0x3ca9e5._0xd06ca8);
|
|
56
|
+
function extensionFor(_0x38b997) {
|
|
57
|
+
const _0x1a9740 = _0xb29927, _0x43ed7d = Object[_0x1a9740(0x19d)](MIME_BY_EXTENSION)['find'](([, _0x3e1fb1]) => _0x3e1fb1 === _0x38b997);
|
|
58
|
+
return _0x43ed7d?.[0x0] ?? _0x1a9740(0x294);
|
|
60
59
|
}
|
|
61
|
-
async function prepareUploadFile(
|
|
62
|
-
const
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
const _0x9f0d9d = await readFile(_0x2d581e), _0xa6f167 = _0x2ebe1a[_0x5c299c(_0x216259._0x254543)](_0x2d581e);
|
|
60
|
+
async function prepareUploadFile(_0x5e8795, _0x5aab12 = {}) {
|
|
61
|
+
const _0x4ad7e1 = {
|
|
62
|
+
_0x4c8090: 0x26c,
|
|
63
|
+
_0x7d9ce2: 0x1a3,
|
|
64
|
+
_0x4fe438: 0x1eb,
|
|
65
|
+
_0x54bc94: 0x297,
|
|
66
|
+
_0x3d88a2: 0x248,
|
|
67
|
+
_0x366ee9: 0x1a3
|
|
68
|
+
}, _0x28e231 = _0xb29927;
|
|
69
|
+
if (!_0x1c7a71['isAbsolute'](_0x5e8795))
|
|
70
|
+
throw new Error(_0x28e231(_0x4ad7e1._0x4c8090));
|
|
71
|
+
const _0x29b1f8 = await stat(_0x5e8795)[_0x28e231(0x1d0)](() => null);
|
|
72
|
+
if (!_0x29b1f8 || !_0x29b1f8['isFile']())
|
|
73
|
+
throw new Error(_0x28e231(0x219) + _0x5e8795);
|
|
74
|
+
const _0x474056 = _0x5aab12[_0x28e231(0x1ae)] ?? DEFAULT_MAX_FILE_SIZE;
|
|
75
|
+
if (_0x29b1f8[_0x28e231(_0x4ad7e1._0x7d9ce2)] > _0x474056)
|
|
76
|
+
throw new Error(_0x28e231(_0x4ad7e1._0x4fe438) + _0x29b1f8[_0x28e231(0x1a3)]);
|
|
77
|
+
const _0x49c06d = await readFile(_0x5e8795), _0x2975ec = _0x1c7a71[_0x28e231(_0x4ad7e1._0x54bc94)](_0x5e8795);
|
|
80
78
|
return {
|
|
81
|
-
'contentBase64':
|
|
82
|
-
'contentType': guessContentType(
|
|
83
|
-
'filename':
|
|
84
|
-
'sizeBytes':
|
|
79
|
+
'contentBase64': _0x49c06d[_0x28e231(_0x4ad7e1._0x3d88a2)](_0x28e231(0x270)),
|
|
80
|
+
'contentType': guessContentType(_0x2975ec),
|
|
81
|
+
'filename': _0x2975ec,
|
|
82
|
+
'sizeBytes': _0x29b1f8[_0x28e231(_0x4ad7e1._0x366ee9)]
|
|
85
83
|
};
|
|
86
84
|
}
|
|
87
|
-
function createAttachmentCache(
|
|
88
|
-
const
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
},
|
|
85
|
+
function createAttachmentCache(_0x4c1608 = {}) {
|
|
86
|
+
const _0x13691f = {
|
|
87
|
+
_0xf04882: 0x238,
|
|
88
|
+
_0x1005ae: 0x218,
|
|
89
|
+
_0x67c4: 0x261
|
|
90
|
+
}, _0x2beb98 = { _0x89391b: 0x1cd }, _0x5803bd = _0xb29927, _0x21ced0 = _0x4c1608[_0x5803bd(0x27b)] ?? _0x1c7a71['join'](homedir(), _0x5803bd(0x279), 'attachments');
|
|
93
91
|
return {
|
|
94
|
-
'cacheDir':
|
|
95
|
-
async 'findCachedPath'(
|
|
96
|
-
const
|
|
97
|
-
await mkdir(
|
|
98
|
-
const
|
|
99
|
-
return
|
|
92
|
+
'cacheDir': _0x21ced0,
|
|
93
|
+
async 'findCachedPath'(_0x27ece5) {
|
|
94
|
+
const _0x49d0a5 = _0x5803bd;
|
|
95
|
+
await mkdir(_0x21ced0, { 'recursive': !![] });
|
|
96
|
+
const _0x204806 = await readdir(_0x21ced0), _0x5cc330 = _0x204806[_0x49d0a5(_0x2beb98._0x89391b)](_0x2c3c43 => _0x2c3c43[_0x49d0a5(0x1e5)](_0x27ece5 + '-') || _0x2c3c43[_0x49d0a5(0x1e5)](_0x27ece5));
|
|
97
|
+
return _0x5cc330 ? _0x1c7a71[_0x49d0a5(0x218)](_0x21ced0, _0x5cc330) : null;
|
|
100
98
|
},
|
|
101
|
-
async 'save'(
|
|
102
|
-
const
|
|
103
|
-
await mkdir(
|
|
104
|
-
const
|
|
105
|
-
return await writeFile(
|
|
99
|
+
async 'save'(_0x33c770) {
|
|
100
|
+
const _0xcd682b = _0x5803bd;
|
|
101
|
+
await mkdir(_0x21ced0, { 'recursive': !![] });
|
|
102
|
+
const _0x3d329a = _0x33c770[_0xcd682b(_0x13691f._0xf04882)]?.['trim']() ? safeFilename(_0x33c770[_0xcd682b(0x238)]) : '' + _0x33c770['attachmentId'] + extensionFor(_0x33c770['contentType']), _0x11b55a = _0x1c7a71[_0xcd682b(_0x13691f._0x1005ae)](_0x21ced0, _0x33c770['attachmentId'] + '-' + _0x3d329a);
|
|
103
|
+
return await writeFile(_0x11b55a, _0x33c770[_0xcd682b(_0x13691f._0x67c4)]), _0x11b55a;
|
|
106
104
|
}
|
|
107
105
|
};
|
|
108
106
|
}
|
|
@@ -110,2332 +108,2330 @@ import {
|
|
|
110
108
|
createHash,
|
|
111
109
|
randomUUID
|
|
112
110
|
} from 'node:crypto';
|
|
113
|
-
var UNSUPPORTED_TARGET_MESSAGE =
|
|
114
|
-
function ensureSegment(
|
|
115
|
-
const
|
|
116
|
-
if (!
|
|
111
|
+
var UNSUPPORTED_TARGET_MESSAGE = 'Unsupported\x20target\x20format.\x20Supported\x20values\x20are\x20#channel,\x20dm:dm-<name>,\x20and\x20their\x20thread\x20targets.';
|
|
112
|
+
function ensureSegment(_0x1d2fd1) {
|
|
113
|
+
const _0x500a08 = _0xb29927, _0x5540fd = _0x1d2fd1['trim']();
|
|
114
|
+
if (!_0x5540fd || _0x5540fd[_0x500a08(0x15f)](':'))
|
|
117
115
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
118
|
-
return
|
|
116
|
+
return _0x5540fd;
|
|
119
117
|
}
|
|
120
|
-
function parseThreadParts(
|
|
121
|
-
const
|
|
122
|
-
|
|
118
|
+
function parseThreadParts(_0x293807) {
|
|
119
|
+
const _0x23004b = {
|
|
120
|
+
_0x3bbd0d: 0x143,
|
|
121
|
+
_0x5d0d73: 0x2ad
|
|
122
|
+
}, _0x56aef0 = _0xb29927, _0x4fea7a = _0x293807[_0x56aef0(_0x23004b._0x3bbd0d)](':');
|
|
123
|
+
if (_0x4fea7a[_0x56aef0(_0x23004b._0x5d0d73)] < 0x1 || _0x4fea7a[_0x56aef0(0x2ad)] > 0x2)
|
|
123
124
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
124
125
|
return {
|
|
125
|
-
'channelName': ensureSegment(
|
|
126
|
-
'threadShortId':
|
|
126
|
+
'channelName': ensureSegment(_0x4fea7a[0x0] ?? ''),
|
|
127
|
+
'threadShortId': _0x4fea7a[0x1] ? ensureSegment(_0x4fea7a[0x1]) : null
|
|
127
128
|
};
|
|
128
129
|
}
|
|
129
|
-
function
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
_0x3b49f5 = _0x4f5b6c['indexOf'](_0x3b49f5);
|
|
139
|
-
}
|
|
140
|
-
for (let _0x2d581e = 0x0, _0x464e18 = _0x2ebe1a['length']; _0x2d581e < _0x464e18; _0x2d581e++) {
|
|
141
|
-
_0x2b74fd += '%' + ('00' + _0x2ebe1a['charCodeAt'](_0x2d581e)['toString'](0x10))['slice'](-0x2);
|
|
142
|
-
}
|
|
143
|
-
return decodeURIComponent(_0x2b74fd);
|
|
144
|
-
};
|
|
145
|
-
_0x58de['Trurae'] = _0x32d6da, _0x58de['DjKrvE'] = {}, _0x58de['iffsbk'] = !![];
|
|
146
|
-
}
|
|
147
|
-
const _0x99d664 = _0x581a88[0x0], _0x19d397 = _0x141a34 + _0x99d664, _0x523ef5 = _0x58de['DjKrvE'][_0x19d397];
|
|
148
|
-
return !_0x523ef5 ? (_0x58de3c = _0x58de['Trurae'](_0x58de3c), _0x58de['DjKrvE'][_0x19d397] = _0x58de3c) : _0x58de3c = _0x523ef5, _0x58de3c;
|
|
149
|
-
}
|
|
150
|
-
function parseTarget(_0xa2e1c4) {
|
|
151
|
-
const _0x5f132a = {
|
|
152
|
-
_0x389415: 0x181,
|
|
153
|
-
_0x292ea4: 0x2c2,
|
|
154
|
-
_0x14fdce: 0x19b,
|
|
155
|
-
_0x32e328: 0x181,
|
|
156
|
-
_0x42a7c5: 0x1a4
|
|
157
|
-
}, _0x245cc9 = _0x4cca3c, _0x534210 = _0xa2e1c4[_0x245cc9(0x220)]();
|
|
158
|
-
if (!_0x534210)
|
|
130
|
+
function parseTarget(_0x463003) {
|
|
131
|
+
const _0x47bf37 = {
|
|
132
|
+
_0x25b0cb: 0x17c,
|
|
133
|
+
_0x4528ff: 0x150,
|
|
134
|
+
_0xd7566a: 0x14e,
|
|
135
|
+
_0x300bb0: 0x1e5,
|
|
136
|
+
_0x5e87e7: 0x17c
|
|
137
|
+
}, _0x5aff65 = _0xb29927, _0x3400ca = _0x463003[_0x5aff65(0x15c)]();
|
|
138
|
+
if (!_0x3400ca)
|
|
159
139
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
160
|
-
if (
|
|
161
|
-
const
|
|
162
|
-
if (!
|
|
140
|
+
if (_0x3400ca['startsWith']('#')) {
|
|
141
|
+
const _0x2d39c3 = parseThreadParts(_0x3400ca[_0x5aff65(0x26d)](0x1)), _0x53b0b4 = '#' + _0x2d39c3[_0x5aff65(0x150)];
|
|
142
|
+
if (!_0x2d39c3[_0x5aff65(_0x47bf37._0x25b0cb)])
|
|
163
143
|
return {
|
|
164
|
-
'channelName':
|
|
165
|
-
'channelTarget':
|
|
166
|
-
'kind':
|
|
167
|
-
'target':
|
|
144
|
+
'channelName': _0x2d39c3[_0x5aff65(_0x47bf37._0x4528ff)],
|
|
145
|
+
'channelTarget': _0x53b0b4,
|
|
146
|
+
'kind': _0x5aff65(0x1d2),
|
|
147
|
+
'target': _0x53b0b4
|
|
168
148
|
};
|
|
169
149
|
return {
|
|
170
|
-
'channelName':
|
|
171
|
-
'channelTarget':
|
|
172
|
-
'kind':
|
|
173
|
-
'target':
|
|
174
|
-
'threadShortId':
|
|
150
|
+
'channelName': _0x2d39c3['channelName'],
|
|
151
|
+
'channelTarget': _0x53b0b4,
|
|
152
|
+
'kind': _0x5aff65(_0x47bf37._0xd7566a),
|
|
153
|
+
'target': _0x53b0b4 + ':' + _0x2d39c3[_0x5aff65(0x17c)],
|
|
154
|
+
'threadShortId': _0x2d39c3['threadShortId']
|
|
175
155
|
};
|
|
176
156
|
}
|
|
177
|
-
if (
|
|
178
|
-
const
|
|
179
|
-
if (!
|
|
157
|
+
if (_0x3400ca[_0x5aff65(_0x47bf37._0x300bb0)](_0x5aff65(0x1e1))) {
|
|
158
|
+
const _0x543ca8 = parseThreadParts(_0x3400ca[_0x5aff65(0x26d)](0x3));
|
|
159
|
+
if (!_0x543ca8[_0x5aff65(0x150)]['startsWith'](_0x5aff65(0x14b)))
|
|
180
160
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
181
|
-
const
|
|
182
|
-
if (!
|
|
161
|
+
const _0x1fc66b = _0x5aff65(0x1e1) + _0x543ca8[_0x5aff65(_0x47bf37._0x4528ff)];
|
|
162
|
+
if (!_0x543ca8['threadShortId'])
|
|
183
163
|
return {
|
|
184
|
-
'channelName':
|
|
185
|
-
'channelTarget':
|
|
164
|
+
'channelName': _0x543ca8[_0x5aff65(0x150)],
|
|
165
|
+
'channelTarget': _0x1fc66b,
|
|
186
166
|
'kind': 'channel',
|
|
187
|
-
'target':
|
|
167
|
+
'target': _0x1fc66b
|
|
188
168
|
};
|
|
189
169
|
return {
|
|
190
|
-
'channelName':
|
|
191
|
-
'channelTarget':
|
|
192
|
-
'kind':
|
|
193
|
-
'target':
|
|
194
|
-
'threadShortId':
|
|
170
|
+
'channelName': _0x543ca8[_0x5aff65(_0x47bf37._0x4528ff)],
|
|
171
|
+
'channelTarget': _0x1fc66b,
|
|
172
|
+
'kind': _0x5aff65(0x14e),
|
|
173
|
+
'target': _0x1fc66b + ':' + _0x543ca8[_0x5aff65(_0x47bf37._0x5e87e7)],
|
|
174
|
+
'threadShortId': _0x543ca8[_0x5aff65(_0x47bf37._0x5e87e7)]
|
|
195
175
|
};
|
|
196
176
|
}
|
|
197
177
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
198
178
|
}
|
|
199
|
-
function asErrorMessage(
|
|
200
|
-
const
|
|
201
|
-
if (typeof
|
|
202
|
-
return
|
|
203
|
-
return
|
|
179
|
+
function asErrorMessage(_0xcac29, _0x13974f) {
|
|
180
|
+
const _0x1fa54d = { _0x3800ec: 0x15c }, _0x5e3be3 = _0xb29927;
|
|
181
|
+
if (typeof _0xcac29 === _0x5e3be3(0x1a8) && _0xcac29[_0x5e3be3(_0x1fa54d._0x3800ec)]())
|
|
182
|
+
return _0xcac29;
|
|
183
|
+
return _0x13974f;
|
|
204
184
|
}
|
|
205
|
-
function asRecord(
|
|
206
|
-
const
|
|
207
|
-
return typeof
|
|
185
|
+
function asRecord(_0x49ee71) {
|
|
186
|
+
const _0x580e6c = _0xb29927;
|
|
187
|
+
return typeof _0x49ee71 === _0x580e6c(0x220) && _0x49ee71 !== null ? _0x49ee71 : {};
|
|
208
188
|
}
|
|
209
|
-
function stableStringify(
|
|
210
|
-
const
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
return '{' + _0x56fd69[_0x5714e2(_0x3b012b._0x3be31e)](',') + '}';
|
|
189
|
+
function stableStringify(_0x19bd11) {
|
|
190
|
+
const _0xfa04bd = {
|
|
191
|
+
_0x55b33c: 0x205,
|
|
192
|
+
_0x5f5d49: 0x19d,
|
|
193
|
+
_0x32a5d6: 0x211
|
|
194
|
+
}, _0x56eca6 = _0xb29927;
|
|
195
|
+
if (_0x19bd11 === null || typeof _0x19bd11 !== 'object')
|
|
196
|
+
return JSON[_0x56eca6(0x214)](_0x19bd11);
|
|
197
|
+
if (Array[_0x56eca6(0x1c8)](_0x19bd11))
|
|
198
|
+
return '[' + _0x19bd11[_0x56eca6(_0xfa04bd._0x55b33c)](_0x21d05c => stableStringify(_0x21d05c))[_0x56eca6(0x218)](',') + ']';
|
|
199
|
+
const _0x536c52 = Object[_0x56eca6(_0xfa04bd._0x5f5d49)](_0x19bd11)[_0x56eca6(0x233)](([, _0x24382c]) => _0x24382c !== void 0x0)[_0x56eca6(_0xfa04bd._0x32a5d6)](([_0x1e6b17], [_0x4021ef]) => _0x1e6b17[_0x56eca6(0x16a)](_0x4021ef))[_0x56eca6(_0xfa04bd._0x55b33c)](([_0x56e63a, _0x36b0f7]) => JSON[_0x56eca6(0x214)](_0x56e63a) + ':' + stableStringify(_0x36b0f7));
|
|
200
|
+
return '{' + _0x536c52['join'](',') + '}';
|
|
222
201
|
}
|
|
223
|
-
function createHeaders(
|
|
224
|
-
const
|
|
202
|
+
function createHeaders(_0x42d831) {
|
|
203
|
+
const _0x5a5816 = { _0x2b33d1: 0x12e }, _0x3db7f3 = _0xb29927;
|
|
225
204
|
return {
|
|
226
|
-
'Content-Type':
|
|
227
|
-
'x-daemon-api-key':
|
|
205
|
+
'Content-Type': _0x3db7f3(_0x5a5816._0x2b33d1),
|
|
206
|
+
'x-daemon-api-key': _0x42d831
|
|
228
207
|
};
|
|
229
208
|
}
|
|
230
|
-
function toHttpBaseUrl(
|
|
231
|
-
const
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
209
|
+
function toHttpBaseUrl(_0x50e99a) {
|
|
210
|
+
const _0x37e211 = {
|
|
211
|
+
_0xc86ca6: 0x182,
|
|
212
|
+
_0x386a6d: 0x185,
|
|
213
|
+
_0x1e9732: 0x2ae,
|
|
214
|
+
_0x958d70: 0x1ec
|
|
215
|
+
}, _0x3500e2 = _0xb29927, _0x23c69c = new URL(_0x50e99a);
|
|
216
|
+
if (_0x23c69c[_0x3500e2(0x185)] === _0x3500e2(_0x37e211._0xc86ca6))
|
|
217
|
+
_0x23c69c[_0x3500e2(0x185)] = 'http:';
|
|
237
218
|
else
|
|
238
|
-
|
|
239
|
-
return
|
|
219
|
+
_0x23c69c[_0x3500e2(0x185)] === _0x3500e2(0x12d) && (_0x23c69c[_0x3500e2(_0x37e211._0x386a6d)] = _0x3500e2(_0x37e211._0x1e9732));
|
|
220
|
+
return _0x23c69c[_0x3500e2(0x248)]()[_0x3500e2(_0x37e211._0x958d70)](/\/$/, '');
|
|
240
221
|
}
|
|
241
|
-
function isMentionBoundary(
|
|
242
|
-
const
|
|
243
|
-
return !
|
|
222
|
+
function isMentionBoundary(_0x39850c) {
|
|
223
|
+
const _0x31184d = _0xb29927;
|
|
224
|
+
return !_0x39850c || /\s|[([{'",。!?、:;]/[_0x31184d(0x146)](_0x39850c);
|
|
244
225
|
}
|
|
245
|
-
function isMentionTerminal(
|
|
246
|
-
const
|
|
247
|
-
return !
|
|
226
|
+
function isMentionTerminal(_0x43920c) {
|
|
227
|
+
const _0x4cc81e = { _0x4f24ce: 0x146 }, _0xe33807 = _0xb29927;
|
|
228
|
+
return !_0x43920c || /\s|[)\]}'",。!?、:;,.!?]/[_0xe33807(_0x4cc81e._0x4f24ce)](_0x43920c);
|
|
248
229
|
}
|
|
249
|
-
function
|
|
250
|
-
const
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
'
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
'
|
|
284
|
-
|
|
285
|
-
'
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
'
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
'
|
|
306
|
-
|
|
307
|
-
'
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
'
|
|
317
|
-
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4GrM9Yihn1yNrHC2TZlcbHBhnVihbHC3mGC3vIDgfZA19UDw1IzxiU',
|
|
318
|
-
'C3rYAw5NAwz5',
|
|
230
|
+
function buildMatchableEntries(_0x4d12cb) {
|
|
231
|
+
const _0x3ff83d = {
|
|
232
|
+
_0x2941f3: 0x181,
|
|
233
|
+
_0x38be87: 0x2a4,
|
|
234
|
+
_0x3f6ef3: 0x230,
|
|
235
|
+
_0xd21088: 0x250
|
|
236
|
+
}, _0x148f90 = _0xb29927, _0x1cad00 = [];
|
|
237
|
+
for (const _0x34a361 of [
|
|
238
|
+
..._0x4d12cb[_0x148f90(_0x3ff83d._0x2941f3)],
|
|
239
|
+
..._0x4d12cb[_0x148f90(_0x3ff83d._0x38be87)]
|
|
240
|
+
]) {
|
|
241
|
+
_0x1cad00[_0x148f90(_0x3ff83d._0x3f6ef3)]({
|
|
242
|
+
'matchName': _0x34a361[_0x148f90(_0x3ff83d._0xd21088)],
|
|
243
|
+
'matchNameLower': _0x34a361[_0x148f90(0x250)][_0x148f90(0x21a)](),
|
|
244
|
+
'participantId': _0x34a361['id']
|
|
245
|
+
}), _0x34a361['id'] !== _0x34a361[_0x148f90(_0x3ff83d._0xd21088)] && _0x1cad00[_0x148f90(0x230)]({
|
|
246
|
+
'matchName': _0x34a361['id'],
|
|
247
|
+
'matchNameLower': _0x34a361['id']['toLocaleLowerCase'](),
|
|
248
|
+
'participantId': _0x34a361['id']
|
|
249
|
+
});
|
|
250
|
+
}
|
|
251
|
+
return _0x1cad00;
|
|
252
|
+
}
|
|
253
|
+
function extractMentionedParticipantIds(_0x2d163a, _0x338326) {
|
|
254
|
+
const _0x39ec49 = {
|
|
255
|
+
_0x243c34: 0x211,
|
|
256
|
+
_0x59edb4: 0x2ad,
|
|
257
|
+
_0x5ce494: 0x26d,
|
|
258
|
+
_0x19cf20: 0x21a,
|
|
259
|
+
_0x5b49b0: 0x23f,
|
|
260
|
+
_0x1664c5: 0x216,
|
|
261
|
+
_0x42190b: 0x14f
|
|
262
|
+
}, _0x4625a3 = _0xb29927, _0x48126a = buildMatchableEntries(_0x338326)[_0x4625a3(_0x39ec49._0x243c34)]((_0x6baa77, _0x16892c) => _0x16892c[_0x4625a3(0x14f)][_0x4625a3(0x2ad)] - _0x6baa77[_0x4625a3(0x14f)][_0x4625a3(0x2ad)]), _0x52237c = [], _0x5644a8 = new Set();
|
|
263
|
+
for (let _0x3aeae0 = 0x0; _0x3aeae0 < _0x2d163a[_0x4625a3(_0x39ec49._0x59edb4)]; _0x3aeae0 += 0x1) {
|
|
264
|
+
if (_0x2d163a[_0x3aeae0] !== '@' || !isMentionBoundary(_0x2d163a[_0x3aeae0 - 0x1]))
|
|
265
|
+
continue;
|
|
266
|
+
const _0x2f7948 = _0x2d163a[_0x4625a3(_0x39ec49._0x5ce494)](_0x3aeae0 + 0x1), _0x396c6b = _0x2f7948[_0x4625a3(_0x39ec49._0x19cf20)](), _0x59a775 = _0x48126a['find'](_0x4db022 => {
|
|
267
|
+
const _0x48738a = _0x4625a3;
|
|
268
|
+
if (!_0x396c6b[_0x48738a(0x1e5)](_0x4db022[_0x48738a(0x13c)]))
|
|
269
|
+
return ![];
|
|
270
|
+
return isMentionTerminal(_0x2f7948[_0x4db022['matchName']['length']]);
|
|
271
|
+
});
|
|
272
|
+
if (!_0x59a775 || _0x5644a8[_0x4625a3(_0x39ec49._0x5b49b0)](_0x59a775[_0x4625a3(0x1f8)]))
|
|
273
|
+
continue;
|
|
274
|
+
_0x5644a8[_0x4625a3(_0x39ec49._0x1664c5)](_0x59a775['participantId']), _0x52237c['push'](_0x59a775['participantId']), _0x3aeae0 += _0x59a775[_0x4625a3(_0x39ec49._0x42190b)][_0x4625a3(0x2ad)];
|
|
275
|
+
}
|
|
276
|
+
return _0x52237c;
|
|
277
|
+
}
|
|
278
|
+
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
279
|
+
function anySignal(..._0x51cca0) {
|
|
280
|
+
const _0x2dacb5 = {
|
|
281
|
+
_0x59f998: 0x26e,
|
|
282
|
+
_0x227d03: 0x290,
|
|
283
|
+
_0x2a5111: 0x1fa
|
|
284
|
+
}, _0xf12192 = _0xb29927, _0x318cca = new AbortController();
|
|
285
|
+
for (const _0x10f55d of _0x51cca0) {
|
|
286
|
+
if (_0x10f55d['aborted'])
|
|
287
|
+
return _0x318cca[_0xf12192(_0x2dacb5._0x59f998)](_0x10f55d['reason']), _0x318cca[_0xf12192(_0x2dacb5._0x227d03)];
|
|
288
|
+
_0x10f55d[_0xf12192(_0x2dacb5._0x2a5111)](_0xf12192(_0x2dacb5._0x59f998), () => _0x318cca['abort'](_0x10f55d[_0xf12192(0x272)]), {
|
|
289
|
+
'once': !![],
|
|
290
|
+
'signal': _0x318cca['signal']
|
|
291
|
+
});
|
|
292
|
+
}
|
|
293
|
+
return _0x318cca[_0xf12192(0x290)];
|
|
294
|
+
}
|
|
295
|
+
function _0x3492() {
|
|
296
|
+
const _0x19204e = [
|
|
297
|
+
'l3jLy2vPDMu/',
|
|
319
298
|
'D3nZoG',
|
|
320
|
-
'
|
|
321
|
-
'
|
|
322
|
-
'
|
|
323
|
-
'
|
|
324
|
-
'kg5VBMuP',
|
|
325
|
-
'Dw5JBgfPBv90yxnR',
|
|
326
|
-
'DhLWzq',
|
|
327
|
-
'DgfZAW',
|
|
328
|
-
'y29UDgvUDc10ExbL',
|
|
329
|
-
'ndC4mZmWmeXdshPIyq',
|
|
330
|
-
'y2XHAw0GzMfPBgvK',
|
|
331
|
-
'l3nLBMq',
|
|
332
|
-
'DgHYzwfKu2HVCNrjza',
|
|
333
|
-
'CgfYA193B3jRzxi',
|
|
334
|
-
'D3m6',
|
|
335
|
-
'iYmJienOyw5UzwXZ',
|
|
336
|
-
'DMfSDwu',
|
|
337
|
-
'zgvZy3jPyMu',
|
|
338
|
-
'lsba',
|
|
339
|
-
'Dgv4Dc9JC3y',
|
|
340
|
-
'yxbWBgLJyxrPB24VEg1S',
|
|
341
|
-
'CMvZCg9UC2u',
|
|
342
|
-
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
343
|
-
'CgfYA193B3jRzxiGzMfPBgvK',
|
|
344
|
-
'tM8GDgfZA3mGy3jLyxrLzc4',
|
|
345
|
-
'vgfZAYa',
|
|
346
|
-
'lcbWCMv2Awv3pq',
|
|
347
|
-
'DgHYzwfKvgfYz2v0pq',
|
|
348
|
-
'zxnJywXHDgvFDg9FBwfPBG',
|
|
349
|
-
'DgfZA051BwjLCG',
|
|
350
|
-
'AwrSzq',
|
|
299
|
+
'yxbWBgLJyxrPB24VANnVBG',
|
|
300
|
+
'DgHYzwfKvgfYz2v0',
|
|
301
|
+
'yxr0ywnOBwvUDeLK',
|
|
302
|
+
'C2vUzgvYtMfTzq',
|
|
351
303
|
'ywz0zxi',
|
|
352
|
-
'
|
|
353
|
-
'
|
|
354
|
-
'
|
|
304
|
+
'DgHYzwfKswq',
|
|
305
|
+
'BgLZDf90yxnRCW',
|
|
306
|
+
'l2HPC3rVCNK/',
|
|
307
|
+
'DMLLD19MAwXLigzHAwXLza',
|
|
308
|
+
'D29YA2vYsgfUzg9MzG',
|
|
309
|
+
'ywDLBNq',
|
|
310
|
+
'BgLZDf90yxnRCYbMywLSzwq',
|
|
311
|
+
'Bwv0yq',
|
|
312
|
+
'ndK3mdG1EhfguufW',
|
|
313
|
+
'Bwf0y2Hoyw1Ltg93zxi',
|
|
314
|
+
'Dg9VBa',
|
|
315
|
+
'C2HHmJu2',
|
|
316
|
+
'y2XPzw50',
|
|
317
|
+
'zxHLy3v0Aw9Utw9Kzq',
|
|
318
|
+
'C2f2zq',
|
|
319
|
+
'yxbWBgLJyxrPB24VCgrM',
|
|
355
320
|
'C3bSAxq',
|
|
321
|
+
'y29UDgvUDc10ExbL',
|
|
322
|
+
'Aw5KzxHpzG',
|
|
323
|
+
'DgvZDa',
|
|
324
|
+
'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
|
|
325
|
+
'DgfYz2v0zwq',
|
|
326
|
+
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
327
|
+
'C3rHDhvZ',
|
|
328
|
+
'zg0T',
|
|
329
|
+
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
330
|
+
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
331
|
+
'DgHYzwfK',
|
|
332
|
+
'Bwf0y2Hoyw1L',
|
|
333
|
+
'y2HHBM5LBe5HBwu',
|
|
334
|
+
'yxnPzgu',
|
|
335
|
+
'z2v0rgf0zq',
|
|
336
|
+
'ote3mJuWr29VqMDn',
|
|
337
|
+
'ls1KywvTB24TBg9JywWTDxjS',
|
|
338
|
+
'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
|
|
339
|
+
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
340
|
+
'l3n0yxj0',
|
|
341
|
+
'DgHYzwfKvgfYz2v0pq',
|
|
356
342
|
'C2v0',
|
|
357
|
-
'
|
|
358
|
-
'
|
|
359
|
-
'
|
|
360
|
-
'
|
|
361
|
-
'
|
|
362
|
-
'
|
|
363
|
-
'
|
|
364
|
-
'
|
|
365
|
-
'
|
|
366
|
-
'
|
|
367
|
-
'
|
|
368
|
-
'
|
|
369
|
-
'
|
|
370
|
-
'
|
|
371
|
-
'
|
|
372
|
-
'
|
|
373
|
-
'
|
|
374
|
-
'
|
|
375
|
-
'
|
|
376
|
-
'
|
|
343
|
+
'ihrPBwu9',
|
|
344
|
+
'C3vIDgfZA051BwjLCG',
|
|
345
|
+
'DhjPBq',
|
|
346
|
+
'DgL0Bgu',
|
|
347
|
+
'D29YA2vYtw9Kzq',
|
|
348
|
+
'Aw5JBhvKzxm',
|
|
349
|
+
'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
|
|
350
|
+
'Dg9KBW',
|
|
351
|
+
'zg93BMXVywrbDhrHy2HTzw50',
|
|
352
|
+
'DgfZAW',
|
|
353
|
+
'Dw5JBgfPBv90yxnR',
|
|
354
|
+
'DMfSDwvZ',
|
|
355
|
+
'yxr0ywnOBwvUDf9Pza',
|
|
356
|
+
'BwfPBG',
|
|
357
|
+
'AgfZtw9Yzq',
|
|
358
|
+
'ywXS',
|
|
359
|
+
'Bg9JywXLq29TCgfYzq',
|
|
360
|
+
'tM8GDgfZA3mGy2XHAw1Lzc4',
|
|
361
|
+
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
362
|
+
'Aw5FChjVz3jLC3m',
|
|
363
|
+
'zgvZDhjVEwvK',
|
|
364
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
377
365
|
'ihn0yxr1CZ0',
|
|
378
|
-
'
|
|
379
|
-
'iYmJiefNzw50CW',
|
|
380
|
-
'z2v0rNvSBfLLyxi',
|
|
381
|
-
'B2jQzwn0',
|
|
382
|
-
'Dg9VBa',
|
|
383
|
-
'iJOGC3rHDhvZpq',
|
|
384
|
-
'y3jLyxrLx3rHC2TZ',
|
|
385
|
-
'rMLSzsbUB3qGzM91BMq6ia',
|
|
386
|
-
'y2HLy2TFBwvZC2fNzxmGzMfPBgvK',
|
|
366
|
+
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
|
|
387
367
|
'DxbSB2fKx2zPBgu',
|
|
388
|
-
'
|
|
389
|
-
'
|
|
390
|
-
'
|
|
391
|
-
'
|
|
392
|
-
'
|
|
393
|
-
'
|
|
394
|
-
'
|
|
395
|
-
'
|
|
396
|
-
'
|
|
397
|
-
'
|
|
398
|
-
'
|
|
399
|
-
'
|
|
400
|
-
'
|
|
401
|
-
'
|
|
402
|
-
'DxrMoa',
|
|
403
|
-
'DxjNzw50',
|
|
404
|
-
'lIbnzxnZywDLieLeoIa',
|
|
405
|
-
'ndKWnfvLyunPtq',
|
|
406
|
-
'l3jLC29SDMuTy2HHBM5LBa',
|
|
407
|
-
'BNvTyMvY',
|
|
408
|
-
'DgHYzwfKvgfYz2v0',
|
|
368
|
+
'ue9tva',
|
|
369
|
+
'CM9VDe1LC3nHz2vjza',
|
|
370
|
+
'y2HHBM5LBeLK',
|
|
371
|
+
'C2vX',
|
|
372
|
+
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
373
|
+
'6k+35Rgcia',
|
|
374
|
+
'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
|
|
375
|
+
'zgvZy3jPyMu',
|
|
376
|
+
'AxnjBNrLz2vY',
|
|
377
|
+
'DgHYzwfKu2HVCNrjza',
|
|
378
|
+
'iYmJienOyw5UzwXZ',
|
|
379
|
+
'AhjLzG',
|
|
380
|
+
'zNjVBq',
|
|
381
|
+
'khvUA25VD24P',
|
|
409
382
|
'ywDLBNrZ',
|
|
410
|
-
'
|
|
411
|
-
'
|
|
412
|
-
'ignSywLTzwq',
|
|
413
|
-
'DMLLD19MAwXL',
|
|
414
|
-
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
415
|
-
'C3rHCNrZv2L0Aa',
|
|
416
|
-
'y29UDgvUDfr5Cgu',
|
|
383
|
+
'D3m6',
|
|
384
|
+
'C3rVCe1HAw4',
|
|
417
385
|
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
418
|
-
'
|
|
419
|
-
'
|
|
420
|
-
'
|
|
421
|
-
'
|
|
422
|
-
'
|
|
423
|
-
'
|
|
424
|
-
'
|
|
425
|
-
'
|
|
426
|
-
'
|
|
427
|
-
'
|
|
386
|
+
'ChjVDg9JB2W',
|
|
387
|
+
'DgfZA3m',
|
|
388
|
+
't3b0Aw9UywWUieLMig9TAxr0zwqSihrOzsbTzxnZywDLigLZihb1yMXPyY4Gsw4GDgfZAYb0AhjLywrZlcbZzxqGiMfZAwrLiIbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Grg8GBM90ihnLDcbVDxrZAwrLihrOCMvHzhmU',
|
|
389
|
+
'ognxzgPTDW',
|
|
390
|
+
'w3rHCMDLDd0',
|
|
391
|
+
'z2v0x3DVCMTLCL9ZDgf0DxmGzMfPBgvK',
|
|
392
|
+
'yxnZAwDUzwvoyw1L',
|
|
393
|
+
'CgfKu3rHCNq',
|
|
394
|
+
'rg93BMXVywrLzcb0BZOG',
|
|
395
|
+
'sw52ywXPzcaTlwLUAxrPywWTBgfZDc1ZzwvUlxnLCq',
|
|
396
|
+
'DgfZA19Pza',
|
|
428
397
|
'r0vu',
|
|
429
|
-
'
|
|
430
|
-
'
|
|
431
|
-
'
|
|
432
|
-
'
|
|
433
|
-
'
|
|
434
|
-
'
|
|
435
|
-
'
|
|
436
|
-
'
|
|
398
|
+
'yM9KEvrLEhq',
|
|
399
|
+
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
400
|
+
'y2HPBgrYzw5eB25L',
|
|
401
|
+
'iJOGC3rHDhvZpq',
|
|
402
|
+
'yxjYyxLcDwzMzxi',
|
|
403
|
+
'BgLZDf9Zzxj2zxi',
|
|
404
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
405
|
+
'ChvIBgLJ',
|
|
406
|
+
'otbJD3bfAKq',
|
|
407
|
+
'BwvTyMvY',
|
|
408
|
+
'y2XHAw1FDgfZA3mGzMfPBgvK',
|
|
409
|
+
'C2vUzf9TzxnZywDL',
|
|
410
|
+
'zw50CMLLCW',
|
|
411
|
+
'Dg9ju09tDhjPBMC',
|
|
412
|
+
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
413
|
+
'y2XHAw1uyxnRCW',
|
|
414
|
+
'D29YA2vYrgLZCg9ZAxrPB249',
|
|
415
|
+
'DgfZAY0',
|
|
416
|
+
'C2L6zq',
|
|
417
|
+
'y2HLy2TFBwvZC2fNzxm',
|
|
418
|
+
'l3vWBg9Hza',
|
|
419
|
+
'ihn0yxLZigLUig1HAw4GC2vZC2LVBIaOzxHLy3v0Aw9Utw9Kzt1TywLUktSGCMvTywLUigHLCMuSihjLywqGDgHLihjLzMvYzw5JzwqGCgXHBI9KB2n1BwvUDcWGyw5KignHBgWGy3jLyxrLx3rHC2TZigLUihrOzsbWyxjLBNqGy2HHBM5LBcb0BYbICMvHAYbPDcbPBNrVihrVCc1SzxzLBcb0yxnRCYbPzIb0Agf0igLZihrOzsbPBNrLBNqU',
|
|
420
|
+
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw5UB3qGy2XHAw0GyNKGBwvZC2fNzv9PzhmGkhrVCc1SzxzLBcbTzxnZywDLihbYB21VDgLVBIbPCYbTywLUlwfNzw50ig9UBhKPoYb1C2uGC3vIDgfZA19UDw1IzxjZigLUC2LKzsb5B3vYig93BIb0yxnRihrOCMvHzc4',
|
|
421
|
+
'C3rYAw5N',
|
|
422
|
+
'CNvUBMLUzW',
|
|
423
|
+
'uMvHzcb0AhjLywqGAgLZDg9YEsbIzwzVCMuGDgfRAw5NigfJDgLVBI4Grg8GBM90igvJAg8GDgHPCYbTzxnZywDLihrVihrOzsb0AhjLywqU',
|
|
424
|
+
'rg8GBM90ihnLBMqGzNvYDgHLCIbTzxnZywDLCYb0BYb0AgLZihrOCMvHzcdIGjqGDgHLihDVCMTLCIbPCYbOyw5KBgLUzYbPDc4',
|
|
425
|
+
'BwvZC2fNzuLK',
|
|
426
|
+
'CgfYDgLJAxbHBNq',
|
|
427
|
+
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
437
428
|
'CMvXDwvZDfvYBa',
|
|
438
|
-
'
|
|
439
|
-
'
|
|
440
|
-
'
|
|
441
|
-
'
|
|
442
|
-
'
|
|
429
|
+
'l3jLy2vPDMu',
|
|
430
|
+
'l3rHC2TZ',
|
|
431
|
+
'y3jLyxrLx3rHC2TZigzHAwXLza',
|
|
432
|
+
'z2v0rNvSBfLLyxi',
|
|
433
|
+
'cUkAOo+4JYbxt1jlrviGqunusvzbveveiokaLcbtDg9Wiefmtcb3B3jRig9UihrOAxmGDgfZAYbPBw1LzgLHDgvSEs4Gv29YA2vYigHHBMrSzxmGzxHLy3v0Aw9UigvUzc10BY1LBMqU',
|
|
434
|
+
'twLZC2LUzYaTlwrHzw1VBI1HCgKTA2v5',
|
|
435
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
|
|
436
|
+
'D29YA2vYsgfUzg9MzKvYCM9Y',
|
|
437
|
+
'zxH0BMfTzq',
|
|
438
|
+
'y3jLyxrLzef0',
|
|
439
|
+
'zMv0y2HuAw1LB3v0txm',
|
|
440
|
+
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
441
|
+
'iIbUB3qGzM91BMq',
|
|
442
|
+
'igfSCMvHzhKGAgfZigfUigfJDgL2zsb3B3jRzxiUihn0B3bnywLUpxrYDwuGzxHLy3v0Aw9Utw9Kzt13B3jRzxi',
|
|
443
|
+
'C29Tzq',
|
|
444
|
+
'C3vJy2vZCW',
|
|
443
445
|
'ig1LC3nHz2vZihnOB3DUlIbvC2uGyMvMB3jLpq',
|
|
444
|
-
'
|
|
445
|
-
'
|
|
446
|
-
'
|
|
447
|
-
'
|
|
448
|
-
'
|
|
446
|
+
'zgLNzxn0',
|
|
447
|
+
'yxv0BZO',
|
|
448
|
+
'vgHYzwfKihrHCMDLDdOG',
|
|
449
|
+
'z2v0',
|
|
450
|
+
'BwvKAxvT',
|
|
451
|
+
'y2HHDa',
|
|
452
|
+
'DgfZA0LK',
|
|
453
|
+
'AxnbCNjHEq',
|
|
454
|
+
'zxzLBNrtzxe',
|
|
455
|
+
'y2HHBM5LBhm',
|
|
456
|
+
'z2v0sg91CNm',
|
|
457
|
+
't3jPz2LUywWGBwvZC2fNztOG',
|
|
458
|
+
'zMLUza',
|
|
459
|
+
's0iPcKf0DgfJAg1LBNqGsuq6ia',
|
|
460
|
+
'l3rHC2TZl3vUy2XHAw0',
|
|
461
|
+
'y2f0y2G',
|
|
462
|
+
'BwvZC2fNzv9Pzhm',
|
|
463
|
+
'y2HHBM5LBa',
|
|
464
|
+
'nda3mZeWz1zTDxL4',
|
|
465
|
+
'D29YA2vYu2vZC2LVBKLK',
|
|
466
|
+
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
467
|
+
'ywDNCMvNyxrLvhLWzq',
|
|
468
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
469
|
+
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
470
|
+
'D29YA19RzxK',
|
|
471
|
+
'DgHYzwfKx3rHCMDLDa',
|
|
472
|
+
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
473
|
+
'yxr0ywnOBwvUDf9Pzhm',
|
|
474
|
+
'DxjNzw50',
|
|
475
|
+
'C3vIDgfZA19UDw1IzxjZ',
|
|
476
|
+
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
477
|
+
'CMvZCg9UC2u',
|
|
478
|
+
'zg06',
|
|
479
|
+
'ls1Zzxj2zxiTDxjS',
|
|
480
|
+
'C2vYDMvYvxjS',
|
|
481
|
+
'mtm2nwznzvHxzq',
|
|
482
|
+
'C3rHCNrZv2L0Aa',
|
|
449
483
|
'ls1PBML0AwfSlwXHC3qTC2vLBI1Zzxe',
|
|
450
|
-
'
|
|
451
|
-
'
|
|
452
|
-
'
|
|
453
|
-
'
|
|
454
|
-
'
|
|
455
|
-
'
|
|
484
|
+
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxHLy3v0Aw9Utw9Kzt1TywLUcLn0yxKGAw4GBwfPBIbZzxnZAw9UoIbYzwfKihrOzsbYzwzLCMvUy2vKihbSyw4Vzg9JDw1LBNqGyw5KignHBgWGy3jLyxrLx3rHC2TZigLUihrOzsbWyxjLBNqGy2HHBM5LBcb0BYbICMvHAYbPDcbPBNrVihrVCc1SzxzLBcb0yxnRCYaOB3iGB3rOzxj3AxnLigfKDMfUy2uGDgHLihrHC2SGAw4GBwfPBIb3AxrOB3v0igHHBMrPBMCGB2zMihrVigeGD29YA2vYks4',
|
|
485
|
+
'DxbSB2fKx2zPBguGzMfPBgvK',
|
|
486
|
+
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
487
|
+
'y2XHAw1FDgfZA3m',
|
|
488
|
+
'rMLSzsbZAxPLigv4y2vLzhmGBgLTAxq6ia',
|
|
489
|
+
'CMvWBgfJzq',
|
|
490
|
+
'z2v0tw9UDgG',
|
|
456
491
|
'yMvMB3jL',
|
|
457
|
-
'
|
|
458
|
-
'
|
|
459
|
-
'
|
|
460
|
-
'
|
|
461
|
-
'
|
|
462
|
-
'
|
|
492
|
+
'igzHAwXLzdOG',
|
|
493
|
+
'zMv0y2HjBxbS',
|
|
494
|
+
'D29YA2vY',
|
|
495
|
+
'zMLUzenHy2HLzfbHDgG',
|
|
496
|
+
'ignSywLTzwq',
|
|
497
|
+
'D29YA2vYtw9KzuvUywjSzwq',
|
|
498
|
+
'zxHWAxjLC0f0',
|
|
499
|
+
'C3rVCe1HAw49Dhj1zq',
|
|
500
|
+
'CNvUswq',
|
|
501
|
+
'CgfYDgLJAxbHBNrjza',
|
|
502
|
+
'CMvHzeHPC3rVCNK',
|
|
503
|
+
'ywrKrxzLBNrmAxn0zw5LCG',
|
|
504
|
+
'zw51Bq',
|
|
505
|
+
'zg9Uzq',
|
|
506
|
+
'l3rHC2TZpW',
|
|
507
|
+
'tM8GDgfZA3mGy3jLyxrLzc4',
|
|
508
|
+
'oIb3B3jRzxiGCNvUDgLTzsbTAxnZAw5NihDVCMTLCLrOCMvHzfrHCMDLDdSGy2fUBM90ihzHBgLKyxrLihnJB3bL',
|
|
509
|
+
'AgvHzgvYCW',
|
|
510
|
+
'y3jLyxrLx3rHC2TZ',
|
|
511
|
+
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
512
|
+
'mtyYotyXohbfqMf0Bq',
|
|
513
|
+
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
514
|
+
'BwfW',
|
|
515
|
+
'v29YA2vYlw9UBhKUifbHCMSGDgHLign1CNjLBNqGD29YA2vYigXHBMuGywz0zxiGEw91igHHDMuGywXYzwfKEsbYzxbVCNrLzcbYzxn1BhrZigLUihrOAxmGDgHYzwfKlIbuAgLZigrVzxmGBM90igvUzcb0AguGC2vZC2LVBJSGC2fTzs10AhjLywqGzM9SBg93lxvWihDPBgWGCMvZDw1LihrOAxmGBgfUzs4',
|
|
516
|
+
'nta4odbyq3PTEuS',
|
|
517
|
+
'Aw1Hz2uVANbLzW',
|
|
518
|
+
'yM9KEu1HCMTKB3DU',
|
|
519
|
+
'icHPzdO',
|
|
520
|
+
'igLUia',
|
|
521
|
+
'Dgv4Dc9TyxjRzg93BG',
|
|
522
|
+
'y29UDgvUDa',
|
|
463
523
|
'BMv4Den1CNnVCG',
|
|
464
|
-
'
|
|
465
|
-
'
|
|
466
|
-
'
|
|
467
|
-
'ktSGz290ignOyw5UzwW9',
|
|
468
|
-
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
469
|
-
'zxHLy3v0Aw9Utw9Kzq',
|
|
470
|
-
'DMfSDwvZ',
|
|
471
|
-
'y2f0y2G',
|
|
524
|
+
'u2vUzcbHig1LC3nHz2uUieLMihzPC2LIAwXPDhKGAxmGB21PDhrLzcWGDgHLig1LC3nHz2uGAxmGChvIBgLJlIbjBIb0yxnRihrOCMvHzhmSihnLDcb2AxnPyMLSAxr5oIbHC2LKzsbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Gt3v0C2LKzsb0AhjLywrZlcbKBYbUB3qGC2v0ihzPC2LIAwXPDhKUifjLDxnLihrOzsbLEgfJDcb0yxjNzxqGC3rYAw5NigzYB20GAw5JB21PBMCGBwvZC2fNzxmU',
|
|
525
|
+
'C2vUzgvYvhLWzq',
|
|
526
|
+
'C29YDa',
|
|
472
527
|
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw4GB25SEsbJBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCNmU',
|
|
473
|
-
'
|
|
474
|
-
'
|
|
475
|
-
'
|
|
528
|
+
'l2fWAs9Hz2vUDc1ZzxnZAw9UCY8',
|
|
529
|
+
'C3rYAw5NAwz5',
|
|
530
|
+
'l3nLCNzLCG',
|
|
531
|
+
'ywrK',
|
|
532
|
+
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
533
|
+
'AM9PBG',
|
|
534
|
+
'rMLSzsbUB3qGzM91BMq6ia',
|
|
535
|
+
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
536
|
+
'ig1LC3nHz2u9',
|
|
537
|
+
'igfZC2LNBMvLpua',
|
|
538
|
+
'BwvZC2fNzq',
|
|
539
|
+
'l2nVBNrLBNq',
|
|
476
540
|
'iIbWyxjRzwqUifnHBwuTDgHYzwfKigzVBgXVDY11Ccb3AwXSihjLC3vTzsb0AgLZigXHBMuU',
|
|
477
|
-
'
|
|
478
|
-
'
|
|
479
|
-
'
|
|
480
|
-
'
|
|
481
|
-
'
|
|
482
|
-
'
|
|
483
|
-
'
|
|
484
|
-
'yxbWBgLJyxrPB24VCgrM',
|
|
485
|
-
'yMfZzw5HBwu',
|
|
486
|
-
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmVy2XHAw0',
|
|
487
|
-
'C3vIDgfZA051BwjLCG',
|
|
488
|
-
'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
|
|
489
|
-
'D29YA2vYsgfUzg9MzG',
|
|
490
|
-
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
491
|
-
'twLZC2LUzYaTlwfNzw50lwLK',
|
|
492
|
-
'zgvZy3jPChrPB24',
|
|
493
|
-
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
494
|
-
'ls1KywvTB24TyxbPlwTLEq',
|
|
495
|
-
'z2v0tw9UDgG',
|
|
496
|
-
'CgfYDgLJAxbHBNq',
|
|
497
|
-
'Dw5JBgfPBvrHC2S',
|
|
541
|
+
'B2jQzwn0',
|
|
542
|
+
'sfruuca',
|
|
543
|
+
'Axnoyu4',
|
|
544
|
+
'DxnLCG',
|
|
545
|
+
'l2LUDgvYBMfSl2fNzw50lW',
|
|
546
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
547
|
+
'CgfYA193B3jRzxi',
|
|
498
548
|
'AhvTyw4',
|
|
499
|
-
'
|
|
500
|
-
'
|
|
501
|
-
'
|
|
502
|
-
'
|
|
503
|
-
'
|
|
504
|
-
'
|
|
549
|
+
'zgfLBw9UqxbPs2v5',
|
|
550
|
+
'zxnJywXHDgvFDg9FBwfPBG',
|
|
551
|
+
'DgHYzwfKtNvTyMvY',
|
|
552
|
+
'DgfZA051BwjLCG',
|
|
553
|
+
'yxr0ywnOBwvUDenHy2HLrgLY',
|
|
554
|
+
'Bgf0zxn0u2vX',
|
|
555
|
+
'BgLTAxq',
|
|
556
|
+
'Dw5JBgfPBv90yxnRoIb3B3jRzxiGy2fUig9UBhKGDw5JBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCI4',
|
|
557
|
+
'ChvZAa',
|
|
558
|
+
'igTPBMq9',
|
|
559
|
+
'y2HHBM5LBfrHCMDLDa',
|
|
505
560
|
'zMLSDgvY',
|
|
506
|
-
'
|
|
507
|
-
'
|
|
508
|
-
'
|
|
509
|
-
'
|
|
510
|
-
'
|
|
511
|
-
'
|
|
512
|
-
'
|
|
513
|
-
'
|
|
514
|
-
'
|
|
515
|
-
'
|
|
516
|
-
'
|
|
517
|
-
'
|
|
561
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVC3rKAw8UANm',
|
|
562
|
+
'zgLZCg9ZAxrPB24',
|
|
563
|
+
'CxvLDwvK',
|
|
564
|
+
'l3rHC2TZl2nSywLT',
|
|
565
|
+
'B3jPz2LUywXgAwXLBMfTzq',
|
|
566
|
+
'ntmZnJrywNPzrhq',
|
|
567
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
568
|
+
'ls13B3jRzxiTBw9Kzq',
|
|
569
|
+
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
570
|
+
'zxHLy3v0Aw9Utw9Kzt0',
|
|
571
|
+
'yxr0ywnOBwvUDenHy2HL',
|
|
572
|
+
'AgfZ',
|
|
573
|
+
'rMLSzsb1CgXVywrLzdOG',
|
|
574
|
+
'Bwf4',
|
|
575
|
+
'kg5VBMuP',
|
|
576
|
+
'Dgv4Dc9JC3y',
|
|
577
|
+
'BgLZDfnLCNzLCG',
|
|
578
|
+
'y2XHAw0GzMfPBgvK',
|
|
579
|
+
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
580
|
+
'y3jLyxrLvgfZA3m',
|
|
581
|
+
'Dg9tDhjPBMC',
|
|
518
582
|
'zxjYB3i',
|
|
519
|
-
'
|
|
520
|
-
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxjYB3i9',
|
|
521
|
-
'DgL0Bgu',
|
|
522
|
-
'DxbKyxrL',
|
|
523
|
-
'ls1Zzxj2zxiTDxjS',
|
|
524
|
-
'Dg9KBW',
|
|
525
|
-
'vgfZAZOG',
|
|
526
|
-
'y2HHDa',
|
|
527
|
-
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
583
|
+
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
528
584
|
'CMvHzf9OAxn0B3j5',
|
|
529
|
-
'
|
|
530
|
-
'
|
|
531
|
-
'
|
|
532
|
-
'
|
|
533
|
-
'
|
|
534
|
-
'
|
|
535
|
-
'
|
|
536
|
-
'
|
|
537
|
-
'
|
|
538
|
-
'
|
|
585
|
+
'zMLSzw5HBwu',
|
|
586
|
+
'Bg93',
|
|
587
|
+
'BwvZC2fNzxm',
|
|
588
|
+
'C2vUze1LC3nHz2u',
|
|
589
|
+
'BMfTzq',
|
|
590
|
+
'ktSGz290ignOyw5UzwW9',
|
|
591
|
+
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
592
|
+
'zgfLBw9Utg9JywXvCMW',
|
|
593
|
+
'xsba',
|
|
594
|
+
'y2HPBgrYzw5uB3rHBa',
|
|
595
|
+
'v29YA2vYia',
|
|
596
|
+
'uM9VDcb0yxnRig1LC3nHz2u6cG',
|
|
597
|
+
'DMLLD19MAwXL',
|
|
598
|
+
'lsaJ',
|
|
599
|
+
'lIbZDg9WtwfPBJ10CNvLigv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
600
|
+
'vgfZAZOG',
|
|
601
|
+
'y29UDgvUDfr5Cgu',
|
|
539
602
|
'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlIbgB3iGC3vIDgfZA3mGAw4Gysb0AhjLywqSihvZzsbZDwj0yxnRx251BwjLCNmGD2L0AcbHihnPBMDSzsb0yxnRx251BwjLCNmGzw50CNKU',
|
|
540
|
-
'
|
|
541
|
-
'
|
|
542
|
-
'
|
|
543
|
-
'
|
|
544
|
-
'
|
|
545
|
-
'
|
|
546
|
-
'
|
|
547
|
-
'
|
|
548
|
-
'
|
|
549
|
-
'
|
|
550
|
-
'
|
|
551
|
-
'
|
|
552
|
-
'
|
|
553
|
-
'
|
|
603
|
+
'l2zPBMLZAa',
|
|
604
|
+
'Ahr0CdOVl2XVy2fSAg9ZDdO4mtiX',
|
|
605
|
+
'Agv4',
|
|
606
|
+
'zgf0yq',
|
|
607
|
+
'ihr5Cgu9ywDLBNq',
|
|
608
|
+
'Dgv4Dc9WBgfPBG',
|
|
609
|
+
'BwvTyMvYCW',
|
|
610
|
+
'Dw5JBgfPBvrHC2S',
|
|
611
|
+
'y2HLy2TnzxnZywDLCW',
|
|
612
|
+
'y3vYC29Y',
|
|
613
|
+
'mta0odm2mejkD3rzCq',
|
|
614
|
+
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
615
|
+
'B3b0Aw9UywW',
|
|
616
|
+
'zgvZy3jPChrPB24',
|
|
617
|
+
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
554
618
|
'C2XPy2u',
|
|
555
|
-
'ls1HDhrHy2HTzw50lwnHy2HLlwrPCG',
|
|
556
619
|
'ywjVCNq',
|
|
557
|
-
'
|
|
558
|
-
'
|
|
559
|
-
'
|
|
560
|
-
'
|
|
561
|
-
'ihrPBwu9',
|
|
620
|
+
'oda3ngDVvMHLqW',
|
|
621
|
+
'yMfZzty0',
|
|
622
|
+
'zMfSC2u',
|
|
623
|
+
'CMvHC29U',
|
|
562
624
|
'vxbKyxrLihrHC2SGC3rHDhvZigj5ignOyw5UzwWGyw5KihrHC2SGBNvTyMvYlIbgB3iGC3vIDgfZA3mSigfSC28GCgfZCYbZDwj0yxnRx251BwjLCI4Gv2HLBIbTB3zPBMCGD29YAYb0BYbPBL9YzxzPzxCSignOzwnRihLVDxiGBwvTB3j5ig9YignOyw5UzwWGCNvSzxmGyw5KihnLBMqGysbYzxzPzxDLCIbTzw50Aw9UihLVDxjZzwXMihDOzw4GyxbWCM9WCMLHDguU',
|
|
563
|
-
'
|
|
564
|
-
'
|
|
565
|
-
'
|
|
566
|
-
'
|
|
567
|
-
'
|
|
568
|
-
'
|
|
569
|
-
'
|
|
570
|
-
'
|
|
571
|
-
'
|
|
572
|
-
'
|
|
573
|
-
'
|
|
574
|
-
'
|
|
575
|
-
'
|
|
576
|
-
'
|
|
577
|
-
'
|
|
578
|
-
'
|
|
579
|
-
'
|
|
580
|
-
'
|
|
581
|
-
'
|
|
582
|
-
'
|
|
583
|
-
'z2v0sg91CNm',
|
|
584
|
-
'C2vUzf9TzxnZywDLigzHAwXLza',
|
|
585
|
-
'yM9KEu1HCMTKB3DU',
|
|
625
|
+
'C2vYDMvY',
|
|
626
|
+
'CMvZDwX0sNnVBG',
|
|
627
|
+
'CMvZDwX0CW',
|
|
628
|
+
'lIbnzxnZywDLieLeoIa',
|
|
629
|
+
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
630
|
+
'lMrZy29Yza',
|
|
631
|
+
'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
|
|
632
|
+
'y2fJAgveAxi',
|
|
633
|
+
'iokaLca',
|
|
634
|
+
'ywDNCMvNyxrLswq',
|
|
635
|
+
'mc4WlJa',
|
|
636
|
+
'kgXLz2fJEsK',
|
|
637
|
+
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
638
|
+
'C3rHCNrLza',
|
|
639
|
+
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
640
|
+
'yxjYyxK',
|
|
641
|
+
'ywz0zxjtzxe',
|
|
642
|
+
'BNvTyMvY',
|
|
643
|
+
'ywDLBNrjza',
|
|
644
|
+
'twLZC2LUzYaTlwfNzw50lwLK',
|
|
586
645
|
'D29YA2vYCW',
|
|
587
|
-
'
|
|
646
|
+
'D29YA2vYsgfUzg9MzJ10CNvL',
|
|
647
|
+
'DhLWzq',
|
|
648
|
+
'DxbSB2fKrMLSzq',
|
|
649
|
+
'AgLNAa',
|
|
650
|
+
'iYmJieH1BwfUCW',
|
|
651
|
+
'y29UBMvJDa',
|
|
652
|
+
'ig1ZzZ0',
|
|
588
653
|
'C2LNBMfS',
|
|
589
|
-
'
|
|
590
|
-
'
|
|
591
|
-
'
|
|
592
|
-
'
|
|
593
|
-
'ls1ZzxnZAw9UlwLK',
|
|
594
|
-
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
595
|
-
'v29YA2vYlw9UBhKUifbHCMSGDgHLign1CNjLBNqGD29YA2vYigXHBMuGywz0zxiGEw91igHHDMuGywXYzwfKEsbYzxbVCNrLzcbYzxn1BhrZigLUihrOAxmGDgHYzwfKlIbuAgLZigrVzxmGBM90igvUzcb0AguGC2vZC2LVBJSGC2fTzs10AhjLywqGzM9SBg93lxvWihDPBgWGCMvZDw1LihrOAxmGBgfUzs4',
|
|
596
|
-
'nty2m2fYt253za',
|
|
597
|
-
'y2HHBM5LBhm',
|
|
598
|
-
'EM9K',
|
|
654
|
+
'cGOTls0G',
|
|
655
|
+
'Aw1Hz2uVz2LM',
|
|
656
|
+
'AwrLBxbVDgvUy3LFA2v5',
|
|
657
|
+
'lMjPBG',
|
|
599
658
|
'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
|
|
600
|
-
'
|
|
601
|
-
'
|
|
602
|
-
'
|
|
603
|
-
'
|
|
604
|
-
'
|
|
605
|
-
'
|
|
606
|
-
'
|
|
607
|
-
'
|
|
608
|
-
'
|
|
609
|
-
'
|
|
610
|
-
'
|
|
611
|
-
'
|
|
612
|
-
'
|
|
613
|
-
'
|
|
614
|
-
'
|
|
615
|
-
'
|
|
616
|
-
'
|
|
617
|
-
'
|
|
618
|
-
'
|
|
619
|
-
'
|
|
620
|
-
'
|
|
621
|
-
'
|
|
622
|
-
'
|
|
623
|
-
'
|
|
624
|
-
'
|
|
625
|
-
'
|
|
626
|
-
'
|
|
627
|
-
'
|
|
628
|
-
'
|
|
629
|
-
'
|
|
630
|
-
'
|
|
631
|
-
'z2v0rgf0zq',
|
|
632
|
-
'D29YA2vYtw9Kzq',
|
|
633
|
-
'y2fJAgveAxi',
|
|
659
|
+
'C3vIDgfZA19UDw1Izxi',
|
|
660
|
+
'yMfZzw5HBwu',
|
|
661
|
+
'C2L6zuj5DgvZ',
|
|
662
|
+
'Aw1Hz2uVC3zNk3HTBa',
|
|
663
|
+
'twvZC2fNzsbZzw50ihrVia',
|
|
664
|
+
'AxngAw5PDgu',
|
|
665
|
+
'DMfSDwu',
|
|
666
|
+
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
667
|
+
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
668
|
+
'Aw5FCMv2Awv3',
|
|
669
|
+
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4Gsw4Gysb0AhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPlcbJCMvHDgvZihn1yNrHC2TZihvUzgvYihrOzsbLEgLZDgLUzYbWyxjLBNqGDgfZAY4',
|
|
670
|
+
'DMLZAwjPBgL0Eq',
|
|
671
|
+
'Cgf5Bg9HzePZB24',
|
|
672
|
+
'z2v0u2vJB25KCW',
|
|
673
|
+
'AhvTyw5Z',
|
|
674
|
+
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
675
|
+
'zMLSzv9WyxrO',
|
|
676
|
+
'ywDNCMvNyxrLswrZ',
|
|
677
|
+
'Dw5RBM93BG',
|
|
678
|
+
'uefuq0G',
|
|
679
|
+
'iYmJiefNzw50CW',
|
|
680
|
+
'C2vUzf9TzxnZywDLigzHAwXLza',
|
|
681
|
+
'EM9K',
|
|
682
|
+
'BgvUz3rO',
|
|
683
|
+
'Ahr0Chm6',
|
|
684
|
+
'v29YA2vYici',
|
|
685
|
+
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
686
|
+
'xsbaC3LZDgvToIbBy2XHAw0TAgfUzg9MzL0G',
|
|
687
|
+
'oIb3B3jRzxiGy2fUig9UBhKGB3bLCMf0zsbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcaO',
|
|
688
|
+
'ls1HDhrHy2HTzw50lwnHy2HLlwrPCG',
|
|
689
|
+
'CgfYA193B3jRzxiGzMfPBgvK',
|
|
634
690
|
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
635
|
-
'
|
|
691
|
+
'yxr0ywnOBwvUDhm',
|
|
692
|
+
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
693
|
+
'DgfYz2v0',
|
|
694
|
+
'cKLMihLVDxiGBwvTB3j5ig9YignOyw5UzwWGCNvSzxmGCMvXDwLYzsbYzxzPzxCSihnLBMqGysbTzxnZywDLig1LBNrPB25PBMCGDgHLihjLDMLLD2vYigjLzM9YzsbWyxjRAw5NlG',
|
|
695
|
+
'DxbKyxrL',
|
|
696
|
+
'ANnVBG',
|
|
697
|
+
'Dgv4Da',
|
|
698
|
+
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4GrM9Yihn1yNrHC2TZlcbHBhnVihbHC3mGC3vIDgfZA19UDw1IzxiU',
|
|
636
699
|
'C2vYDMvYtMfTzq',
|
|
637
|
-
'
|
|
638
|
-
'AxnjBNrLz2vY',
|
|
639
|
-
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
640
|
-
'BgLTAxq',
|
|
641
|
-
'AhjLzG',
|
|
642
|
-
'DMLLD19MAwXLigzHAwXLza',
|
|
643
|
-
'l2nVBNrLBNq',
|
|
644
|
-
'zxHWAxjLC0f0',
|
|
645
|
-
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
646
|
-
'y29UBMvJDa',
|
|
647
|
-
'DgHYzwfK',
|
|
648
|
-
'ywrK',
|
|
649
|
-
'zgfLBw9UqxbPs2v5',
|
|
650
|
-
'AgfZtw9Yzq',
|
|
651
|
-
'iokaLca',
|
|
652
|
-
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
653
|
-
'DgfYz2v0zwq',
|
|
654
|
-
'kgXLz2fJEsK'
|
|
700
|
+
'A2LUza'
|
|
655
701
|
];
|
|
656
|
-
|
|
657
|
-
return
|
|
702
|
+
_0x3492 = function () {
|
|
703
|
+
return _0x19204e;
|
|
658
704
|
};
|
|
659
|
-
return
|
|
660
|
-
}
|
|
661
|
-
function buildMatchableEntries(_0x58adc5) {
|
|
662
|
-
const _0x3ad11e = {
|
|
663
|
-
_0x2d9b91: 0x1b4,
|
|
664
|
-
_0x149c73: 0x1ae,
|
|
665
|
-
_0x5d6bf6: 0x231
|
|
666
|
-
}, _0x25dbcd = _0x4cca3c, _0x5802e0 = [];
|
|
667
|
-
for (const _0x1e2730 of [
|
|
668
|
-
..._0x58adc5[_0x25dbcd(0x17b)],
|
|
669
|
-
..._0x58adc5[_0x25dbcd(_0x3ad11e._0x2d9b91)]
|
|
670
|
-
]) {
|
|
671
|
-
_0x5802e0['push']({
|
|
672
|
-
'matchName': _0x1e2730[_0x25dbcd(0x167)],
|
|
673
|
-
'matchNameLower': _0x1e2730[_0x25dbcd(0x167)][_0x25dbcd(0x231)](),
|
|
674
|
-
'participantId': _0x1e2730['id']
|
|
675
|
-
}), _0x1e2730['id'] !== _0x1e2730[_0x25dbcd(0x167)] && _0x5802e0[_0x25dbcd(_0x3ad11e._0x149c73)]({
|
|
676
|
-
'matchName': _0x1e2730['id'],
|
|
677
|
-
'matchNameLower': _0x1e2730['id'][_0x25dbcd(_0x3ad11e._0x5d6bf6)](),
|
|
678
|
-
'participantId': _0x1e2730['id']
|
|
679
|
-
});
|
|
680
|
-
}
|
|
681
|
-
return _0x5802e0;
|
|
682
|
-
}
|
|
683
|
-
function extractMentionedParticipantIds(_0x16fe70, _0xbc9e76) {
|
|
684
|
-
const _0x14c554 = {
|
|
685
|
-
_0x11b277: 0x20c,
|
|
686
|
-
_0x1def23: 0x21f,
|
|
687
|
-
_0x2a34a9: 0x196,
|
|
688
|
-
_0x5d6094: 0x1fe,
|
|
689
|
-
_0x2f734d: 0x1ae,
|
|
690
|
-
_0x27d6b2: 0x170
|
|
691
|
-
}, _0x552c2e = _0x4cca3c, _0x503717 = buildMatchableEntries(_0xbc9e76)['sort']((_0x38dd58, _0x1c3729) => _0x1c3729[_0x552c2e(0x20f)][_0x552c2e(0x170)] - _0x38dd58[_0x552c2e(0x20f)]['length']), _0x47f60a = [], _0x5d92bd = new Set();
|
|
692
|
-
for (let _0x504ad1 = 0x0; _0x504ad1 < _0x16fe70[_0x552c2e(0x170)]; _0x504ad1 += 0x1) {
|
|
693
|
-
if (_0x16fe70[_0x504ad1] !== '@' || !isMentionBoundary(_0x16fe70[_0x504ad1 - 0x1]))
|
|
694
|
-
continue;
|
|
695
|
-
const _0x386c93 = _0x16fe70[_0x552c2e(_0x14c554._0x11b277)](_0x504ad1 + 0x1), _0x6b2c5b = _0x386c93['toLocaleLowerCase'](), _0x992f82 = _0x503717[_0x552c2e(_0x14c554._0x1def23)](_0x13669b => {
|
|
696
|
-
const _0x4c6fbb = _0x552c2e;
|
|
697
|
-
if (!_0x6b2c5b[_0x4c6fbb(0x181)](_0x13669b['matchNameLower']))
|
|
698
|
-
return ![];
|
|
699
|
-
return isMentionTerminal(_0x386c93[_0x13669b[_0x4c6fbb(0x20f)]['length']]);
|
|
700
|
-
});
|
|
701
|
-
if (!_0x992f82 || _0x5d92bd[_0x552c2e(_0x14c554._0x2a34a9)](_0x992f82[_0x552c2e(_0x14c554._0x5d6094)]))
|
|
702
|
-
continue;
|
|
703
|
-
_0x5d92bd['add'](_0x992f82[_0x552c2e(0x1fe)]), _0x47f60a[_0x552c2e(_0x14c554._0x2f734d)](_0x992f82[_0x552c2e(0x1fe)]), _0x504ad1 += _0x992f82[_0x552c2e(0x20f)][_0x552c2e(_0x14c554._0x27d6b2)];
|
|
704
|
-
}
|
|
705
|
-
return _0x47f60a;
|
|
706
|
-
}
|
|
707
|
-
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
708
|
-
function anySignal(..._0x695c16) {
|
|
709
|
-
const _0x284766 = {
|
|
710
|
-
_0x4183ed: 0x298,
|
|
711
|
-
_0x34e3ca: 0x22e,
|
|
712
|
-
_0x4e02dc: 0x20e,
|
|
713
|
-
_0x57f5af: 0x22e,
|
|
714
|
-
_0x323d7b: 0x22e
|
|
715
|
-
}, _0x1cb15a = _0x4cca3c, _0x12f96b = new AbortController();
|
|
716
|
-
for (const _0x291e57 of _0x695c16) {
|
|
717
|
-
if (_0x291e57[_0x1cb15a(_0x284766._0x4183ed)])
|
|
718
|
-
return _0x12f96b['abort'](_0x291e57[_0x1cb15a(0x203)]), _0x12f96b[_0x1cb15a(_0x284766._0x34e3ca)];
|
|
719
|
-
_0x291e57[_0x1cb15a(0x172)](_0x1cb15a(_0x284766._0x4e02dc), () => _0x12f96b['abort'](_0x291e57[_0x1cb15a(0x203)]), {
|
|
720
|
-
'once': !![],
|
|
721
|
-
'signal': _0x12f96b[_0x1cb15a(_0x284766._0x57f5af)]
|
|
722
|
-
});
|
|
723
|
-
}
|
|
724
|
-
return _0x12f96b[_0x1cb15a(_0x284766._0x323d7b)];
|
|
705
|
+
return _0x3492();
|
|
725
706
|
}
|
|
726
|
-
function createInternalAgentClient(
|
|
727
|
-
const
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
},
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
},
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
707
|
+
function createInternalAgentClient(_0x2871ed) {
|
|
708
|
+
const _0x5eb22f = {
|
|
709
|
+
_0x4d384c: 0x1ba,
|
|
710
|
+
_0x11dc7d: 0x204,
|
|
711
|
+
_0x1d8ce6: 0x253,
|
|
712
|
+
_0x39cc3b: 0x1d4,
|
|
713
|
+
_0x22b22f: 0x2b0,
|
|
714
|
+
_0x17a90a: 0x15c
|
|
715
|
+
}, _0x1a66e2 = {
|
|
716
|
+
_0x20dff5: 0x284,
|
|
717
|
+
_0xac857a: 0x1b0,
|
|
718
|
+
_0x57558f: 0x190,
|
|
719
|
+
_0x3663a7: 0x176,
|
|
720
|
+
_0x48aa45: 0x241,
|
|
721
|
+
_0x5c049f: 0x233,
|
|
722
|
+
_0x13ad73: 0x1ca,
|
|
723
|
+
_0x22d048: 0x205,
|
|
724
|
+
_0x26828f: 0x2a2,
|
|
725
|
+
_0x447862: 0x175,
|
|
726
|
+
_0x2d05fb: 0x1a8,
|
|
727
|
+
_0x23280a: 0x174,
|
|
728
|
+
_0x3168b9: 0x22a,
|
|
729
|
+
_0x21e763: 0x1c4,
|
|
730
|
+
_0x212ad5: 0x174,
|
|
731
|
+
_0x2781b3: 0x2a7,
|
|
732
|
+
_0x1a1b97: 0x27d,
|
|
733
|
+
_0xff678e: 0x19d,
|
|
734
|
+
_0x2ee6d4: 0x165,
|
|
735
|
+
_0x457a17: 0x1e1,
|
|
736
|
+
_0x205739: 0x148,
|
|
737
|
+
_0x465a9b: 0x1c4,
|
|
738
|
+
_0x31d6f5: 0x122,
|
|
739
|
+
_0x5936f6: 0x12b,
|
|
740
|
+
_0x3c311b: 0x131,
|
|
741
|
+
_0x39de1c: 0x209,
|
|
742
|
+
_0x4092fd: 0x1a8,
|
|
743
|
+
_0x54caf7: 0x12b,
|
|
744
|
+
_0x327326: 0x19e
|
|
745
|
+
}, _0x2714b6 = {
|
|
746
|
+
_0x40ddbc: 0x1d6,
|
|
747
|
+
_0xa135cd: 0x2a2
|
|
748
|
+
}, _0x348799 = {
|
|
749
|
+
_0x214964: 0x1ee,
|
|
750
|
+
_0xded59b: 0x175
|
|
751
|
+
}, _0x598712 = {
|
|
752
|
+
_0x184f91: 0x284,
|
|
753
|
+
_0x33d199: 0x286,
|
|
754
|
+
_0x10c041: 0x285
|
|
755
|
+
}, _0x3eadf5 = {
|
|
756
|
+
_0x1ec17e: 0x252,
|
|
757
|
+
_0x219157: 0x261,
|
|
758
|
+
_0x180d2d: 0x25c,
|
|
759
|
+
_0x258b07: 0x1c4,
|
|
760
|
+
_0x3ee19a: 0x17f
|
|
761
|
+
}, _0x382587 = {
|
|
762
|
+
_0x34e273: 0x1d2,
|
|
763
|
+
_0x3aea1f: 0x177,
|
|
764
|
+
_0x5b856d: 0x25c,
|
|
765
|
+
_0x472b32: 0x24c,
|
|
766
|
+
_0xb335ff: 0x261
|
|
767
|
+
}, _0x556d0a = {
|
|
768
|
+
_0x2ca7a0: 0x224,
|
|
769
|
+
_0x226bf8: 0x286,
|
|
770
|
+
_0x57ec29: 0x1cf,
|
|
771
|
+
_0x310f48: 0x164
|
|
772
|
+
}, _0x4c1485 = {
|
|
773
|
+
_0x22e791: 0x237,
|
|
774
|
+
_0x34068d: 0x173
|
|
775
|
+
}, _0x3bfbbf = {
|
|
776
|
+
_0x53d730: 0x224,
|
|
777
|
+
_0x126809: 0x214
|
|
778
|
+
}, _0x2705ca = {
|
|
779
|
+
_0x21298f: 0x159,
|
|
780
|
+
_0x3a1d6c: 0x14a,
|
|
781
|
+
_0x2ace4a: 0x224,
|
|
782
|
+
_0x522f76: 0x286,
|
|
783
|
+
_0x293bcf: 0x248
|
|
784
|
+
}, _0x41ede6 = {
|
|
785
|
+
_0x4ab703: 0x249,
|
|
786
|
+
_0x863b5b: 0x261
|
|
787
|
+
}, _0x384887 = { _0x55b1ff: 0x157 }, _0x3e99b1 = { _0x22f359: 0x261 }, _0x165ba2 = {
|
|
788
|
+
_0x406ef3: 0x20d,
|
|
789
|
+
_0x4d0321: 0x133,
|
|
790
|
+
_0xdc767a: 0x2a1,
|
|
791
|
+
_0x149ff8: 0x173,
|
|
792
|
+
_0x7c0605: 0x261
|
|
793
|
+
}, _0x1f0471 = {
|
|
794
|
+
_0x3eaeb2: 0x22e,
|
|
795
|
+
_0x1f689b: 0x159,
|
|
796
|
+
_0x2decde: 0x159,
|
|
797
|
+
_0x1bceec: 0x133,
|
|
798
|
+
_0x4a4b2c: 0x175,
|
|
799
|
+
_0x46c8b4: 0x175,
|
|
800
|
+
_0x2e4551: 0x1ee,
|
|
801
|
+
_0x4cbca1: 0x132,
|
|
802
|
+
_0x452f56: 0x286,
|
|
803
|
+
_0xce08f4: 0x232,
|
|
804
|
+
_0x98bb6d: 0x13a
|
|
805
|
+
}, _0x1dcd44 = { _0x39e024: 0x250 }, _0x36d146 = {
|
|
806
|
+
_0x2ca715: 0x19a,
|
|
807
|
+
_0x19162c: 0x1f8
|
|
808
|
+
}, _0x27d578 = {
|
|
809
|
+
_0x50d077: 0x22a,
|
|
810
|
+
_0x2eaa73: 0x17c,
|
|
811
|
+
_0x2367c2: 0x1a8,
|
|
812
|
+
_0x1e6072: 0x1e5,
|
|
813
|
+
_0x2533b6: 0x1a8,
|
|
814
|
+
_0x5846b7: 0x1e5
|
|
815
|
+
}, _0x57eef5 = {
|
|
816
|
+
_0x337986: 0x232,
|
|
817
|
+
_0x2242f9: 0x17c,
|
|
818
|
+
_0x1960a6: 0x174,
|
|
819
|
+
_0x53f7da: 0x174,
|
|
820
|
+
_0x116f3d: 0x174,
|
|
821
|
+
_0x494ab6: 0x1e5,
|
|
822
|
+
_0x3b358: 0x17c,
|
|
823
|
+
_0x179ae0: 0x133,
|
|
824
|
+
_0x384a96: 0x17c,
|
|
825
|
+
_0x3b7db0: 0x17c
|
|
826
|
+
}, _0x2eee83 = {
|
|
827
|
+
_0x39291c: 0x232,
|
|
828
|
+
_0x2f9f43: 0x22a,
|
|
829
|
+
_0x551b26: 0x232,
|
|
830
|
+
_0x33186e: 0x232,
|
|
831
|
+
_0x4da74a: 0x133
|
|
832
|
+
}, _0x36dc41 = {
|
|
833
|
+
_0x560925: 0x181,
|
|
834
|
+
_0x4cedda: 0x1cd
|
|
835
|
+
}, _0x285506 = { _0x2d997f: 0x227 }, _0x1fa9c1 = {
|
|
836
|
+
_0x23f503: 0x224,
|
|
837
|
+
_0xdbd7bb: 0x215,
|
|
838
|
+
_0xeaaf13: 0x190,
|
|
839
|
+
_0x2b56c9: 0x261,
|
|
840
|
+
_0x299696: 0x264,
|
|
841
|
+
_0x31ac98: 0x205,
|
|
842
|
+
_0x4859c8: 0x205,
|
|
843
|
+
_0x3f008a: 0x233,
|
|
844
|
+
_0x537973: 0x274
|
|
845
|
+
}, _0x1dca4e = {
|
|
846
|
+
_0x28c52f: 0x224,
|
|
847
|
+
_0x57fa5d: 0x214,
|
|
848
|
+
_0x148f22: 0x124,
|
|
849
|
+
_0x27a72f: 0x173,
|
|
850
|
+
_0x3279f5: 0x261,
|
|
851
|
+
_0xb7a53: 0x175,
|
|
852
|
+
_0x27f1d0: 0x232,
|
|
853
|
+
_0x447472: 0x163,
|
|
854
|
+
_0xca55c8: 0x133
|
|
855
|
+
}, _0x49b540 = { _0x3d3571: 0x213 }, _0xf7cfcb = { _0x2d32d: 0x249 }, _0x22eff2 = {
|
|
856
|
+
_0x10f8aa: 0x290,
|
|
857
|
+
_0xf65488: 0x290,
|
|
858
|
+
_0x5534fa: 0x290,
|
|
859
|
+
_0x26af2b: 0x1bf,
|
|
860
|
+
_0x522ce4: 0x221
|
|
861
|
+
}, _0x40e8b8 = {
|
|
862
|
+
_0x568101: 0x293,
|
|
863
|
+
_0x4cd604: 0x293,
|
|
864
|
+
_0x5c89d8: 0x1f5,
|
|
865
|
+
_0x890933: 0x13e,
|
|
866
|
+
_0x1987b7: 0x126,
|
|
867
|
+
_0x4f2626: 0x1c1,
|
|
868
|
+
_0x3e2564: 0x159
|
|
869
|
+
}, _0xb5b3a8 = {
|
|
870
|
+
_0x1b2959: 0x195,
|
|
871
|
+
_0x10d0cf: 0x248,
|
|
872
|
+
_0x24d9ac: 0x15c
|
|
873
|
+
}, _0x5da9ef = {
|
|
874
|
+
_0x1e26f6: 0x200,
|
|
875
|
+
_0x5f15f0: 0x1c4,
|
|
876
|
+
_0x1c78fc: 0x191,
|
|
877
|
+
_0x1ab4cf: 0x26d,
|
|
878
|
+
_0x53d394: 0x1e0,
|
|
879
|
+
_0x95e834: 0x14a,
|
|
880
|
+
_0x9cb659: 0x192
|
|
881
|
+
}, _0x1d10e6 = _0xb29927, _0x387e71 = _0x2871ed[_0x1d10e6(0x1f0)] ?? fetch, _0x18faac = _0x2871ed[_0x1d10e6(_0x5eb22f._0x4d384c)] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x5a17b6 = typeof _0x2871ed[_0x1d10e6(0x204)] === 'number' && _0x2871ed[_0x1d10e6(_0x5eb22f._0x11dc7d)] > 0x0 ? _0x2871ed[_0x1d10e6(0x204)] : 0x0, _0x316e8f = _0x2871ed[_0x1d10e6(_0x5eb22f._0x1d8ce6)]?.[_0x1d10e6(0x15c)]() || void 0x0, _0x7f29d3 = _0x2871ed['sessionId']?.['trim']() || void 0x0, _0x2aef78 = _0x2871ed['workerModeEnabled'] === !![], _0x113122 = _0x2871ed[_0x1d10e6(_0x5eb22f._0x39cc3b)]?.['trim']() || void 0x0, _0x1151f0 = _0x2871ed[_0x1d10e6(_0x5eb22f._0x22b22f)]?.[_0x1d10e6(_0x5eb22f._0x17a90a)]() || void 0x0, _0x5529ae = createHeaders(_0x2871ed[_0x1d10e6(0x228)]), _0x4b1b0a = toHttpBaseUrl(_0x2871ed[_0x1d10e6(0x1e3)]);
|
|
882
|
+
let _0x2ff98a = null;
|
|
883
|
+
const _0x2d2070 = new Map();
|
|
884
|
+
let _0x16979b = _0x5a17b6, _0x5ab494 = _0x5a17b6;
|
|
885
|
+
function _0x7cda6e(_0x360ac4) {
|
|
886
|
+
const _0x522479 = _0x1d10e6, _0x502f71 = _0x360ac4[_0x522479(0x1e0)][_0x522479(_0x5da9ef._0x1e26f6)][_0x522479(_0x5da9ef._0x5f15f0)](_0x522479(0x144)) ?? 'unknown', _0x23f2a4 = _0x360ac4[_0x522479(_0x5da9ef._0x1c78fc)][_0x522479(0x15c)]()['replace'](/\s+/g, '\x20')[_0x522479(_0x5da9ef._0x1ab4cf)](0x0, 0x78) || '<empty>';
|
|
887
|
+
return _0x522479(0x178) + _0x360ac4[_0x522479(0x1af)] + _0x522479(0x280) + _0x360ac4[_0x522479(_0x5da9ef._0x53d394)][_0x522479(_0x5da9ef._0x95e834)] + ',\x20content-type=' + _0x502f71 + ',\x20preview=' + _0x23f2a4 + _0x522479(_0x5da9ef._0x9cb659);
|
|
901
888
|
}
|
|
902
|
-
async function
|
|
903
|
-
const
|
|
904
|
-
if (!
|
|
889
|
+
async function _0x20fb42(_0x542261, _0x36b870) {
|
|
890
|
+
const _0x428eae = _0x1d10e6, _0xc00d06 = Buffer['from'](await _0x36b870[_0x428eae(_0xb5b3a8._0x1b2959)]())[_0x428eae(_0xb5b3a8._0x10d0cf)]('utf8');
|
|
891
|
+
if (!_0xc00d06[_0x428eae(_0xb5b3a8._0x24d9ac)]())
|
|
905
892
|
return {};
|
|
906
893
|
try {
|
|
907
|
-
return JSON[
|
|
894
|
+
return JSON['parse'](_0xc00d06);
|
|
908
895
|
} catch {
|
|
909
|
-
throw new Error(
|
|
910
|
-
'bodyText':
|
|
911
|
-
'requestUrl':
|
|
912
|
-
'response':
|
|
896
|
+
throw new Error(_0x7cda6e({
|
|
897
|
+
'bodyText': _0xc00d06,
|
|
898
|
+
'requestUrl': _0x542261,
|
|
899
|
+
'response': _0x36b870
|
|
913
900
|
}));
|
|
914
901
|
}
|
|
915
902
|
}
|
|
916
|
-
function
|
|
917
|
-
const
|
|
918
|
-
if (
|
|
919
|
-
return
|
|
920
|
-
const
|
|
921
|
-
for (const [
|
|
922
|
-
|
|
903
|
+
function _0x50f4f0(_0x2a725a, _0xf2f320) {
|
|
904
|
+
const _0x4a12a5 = _0x1d10e6, _0x38fff6 = typeof _0xf2f320[_0x4a12a5(_0x40e8b8._0x568101)] === 'string' ? _0xf2f320[_0x4a12a5(_0x40e8b8._0x4cd604)][_0x4a12a5(0x15c)]() : '';
|
|
905
|
+
if (_0x38fff6)
|
|
906
|
+
return _0x38fff6;
|
|
907
|
+
const _0x3310f3 = Date['now']();
|
|
908
|
+
for (const [_0x1b62f8, _0x10fd1e] of _0x2d2070) {
|
|
909
|
+
_0x10fd1e[_0x4a12a5(_0x40e8b8._0x5c89d8)] <= _0x3310f3 && _0x2d2070['delete'](_0x1b62f8);
|
|
923
910
|
}
|
|
924
|
-
const
|
|
925
|
-
...
|
|
911
|
+
const _0x51d266 = {
|
|
912
|
+
..._0xf2f320,
|
|
926
913
|
'idempotency_key': void 0x0
|
|
927
|
-
},
|
|
928
|
-
if (
|
|
929
|
-
return
|
|
930
|
-
const
|
|
931
|
-
return
|
|
932
|
-
'expiresAt':
|
|
933
|
-
'value':
|
|
934
|
-
}),
|
|
914
|
+
}, _0x363edc = createHash(_0x4a12a5(_0x40e8b8._0x890933))[_0x4a12a5(_0x40e8b8._0x1987b7)](_0x2a725a + ':' + stableStringify(_0x51d266))[_0x4a12a5(_0x40e8b8._0x4f2626)](_0x4a12a5(0x260)), _0x3bc102 = _0x2a725a + ':' + _0x363edc, _0xf479fb = _0x2d2070['get'](_0x3bc102);
|
|
915
|
+
if (_0xf479fb)
|
|
916
|
+
return _0xf479fb[_0x4a12a5(0x29c)];
|
|
917
|
+
const _0x242b95 = _0x4a12a5(0x1c2) + _0x2a725a + ':' + randomUUID();
|
|
918
|
+
return _0x2d2070[_0x4a12a5(_0x40e8b8._0x3e2564)](_0x3bc102, {
|
|
919
|
+
'expiresAt': _0x3310f3 + 0x5 * 0x3c * 0x3e8,
|
|
920
|
+
'value': _0x242b95
|
|
921
|
+
}), _0x242b95;
|
|
935
922
|
}
|
|
936
|
-
async function
|
|
937
|
-
const
|
|
923
|
+
async function _0x21ba10(_0x321f8f, _0x2d5ead) {
|
|
924
|
+
const _0x1b12e5 = _0x1d10e6, _0x27681c = new AbortController(), _0xc68f6c = setTimeout(() => _0x27681c[_0x1b12e5(0x26e)](), _0x18faac), _0x4a903c = _0x2d5ead?.[_0x1b12e5(_0x22eff2._0x10f8aa)] ? anySignal(_0x2d5ead[_0x1b12e5(_0x22eff2._0xf65488)], _0x27681c['signal']) : _0x27681c[_0x1b12e5(_0x22eff2._0x5534fa)], _0x212844 = '' + _0x4b1b0a + _0x321f8f;
|
|
938
925
|
try {
|
|
939
|
-
const
|
|
940
|
-
...
|
|
941
|
-
'signal':
|
|
942
|
-
}),
|
|
943
|
-
if (!
|
|
944
|
-
throw new Error(asErrorMessage(
|
|
945
|
-
return
|
|
926
|
+
const _0x8ee8fd = await _0x387e71(_0x212844, {
|
|
927
|
+
..._0x2d5ead,
|
|
928
|
+
'signal': _0x4a903c
|
|
929
|
+
}), _0x4898a2 = await _0x20fb42(_0x212844, _0x8ee8fd);
|
|
930
|
+
if (!_0x8ee8fd['ok'] || _0x4898a2[_0x1b12e5(_0x22eff2._0x26af2b)] === ![])
|
|
931
|
+
throw new Error(asErrorMessage(_0x4898a2[_0x1b12e5(0x249)], _0x1b12e5(_0x22eff2._0x522ce4) + _0x8ee8fd['status']));
|
|
932
|
+
return _0x4898a2;
|
|
946
933
|
} finally {
|
|
947
|
-
clearTimeout(
|
|
934
|
+
clearTimeout(_0xc68f6c);
|
|
948
935
|
}
|
|
949
936
|
}
|
|
950
|
-
async function
|
|
951
|
-
const
|
|
937
|
+
async function _0x4071f9(_0x187304, _0x1ff4ff) {
|
|
938
|
+
const _0xf037c1 = _0x1d10e6, _0x260e7d = new AbortController(), _0x19b276 = setTimeout(() => _0x260e7d['abort'](), _0x18faac), _0x53084e = _0x1ff4ff?.[_0xf037c1(0x290)] ? anySignal(_0x1ff4ff[_0xf037c1(0x290)], _0x260e7d['signal']) : _0x260e7d[_0xf037c1(0x290)], _0xd2424d = '' + _0x4b1b0a + _0x187304;
|
|
952
939
|
try {
|
|
953
|
-
const
|
|
954
|
-
...
|
|
955
|
-
'signal':
|
|
956
|
-
}),
|
|
957
|
-
if (!
|
|
958
|
-
throw new Error(asErrorMessage(
|
|
959
|
-
return
|
|
940
|
+
const _0x533667 = await _0x387e71(_0xd2424d, {
|
|
941
|
+
..._0x1ff4ff,
|
|
942
|
+
'signal': _0x53084e
|
|
943
|
+
}), _0x551fb0 = await _0x20fb42(_0xd2424d, _0x533667);
|
|
944
|
+
if (!_0x533667['ok'])
|
|
945
|
+
throw new Error(asErrorMessage(_0x551fb0[_0xf037c1(_0xf7cfcb._0x2d32d)], _0xf037c1(0x221) + _0x533667[_0xf037c1(0x14a)]));
|
|
946
|
+
return _0x551fb0;
|
|
960
947
|
} finally {
|
|
961
|
-
clearTimeout(
|
|
948
|
+
clearTimeout(_0x19b276);
|
|
962
949
|
}
|
|
963
950
|
}
|
|
964
|
-
async function
|
|
965
|
-
const
|
|
966
|
-
if (!
|
|
951
|
+
async function _0xbbb7d5(_0x13d2b8) {
|
|
952
|
+
const _0x46d5d9 = _0x1d10e6;
|
|
953
|
+
if (!_0x7f29d3 || _0x13d2b8 <= _0x5ab494)
|
|
967
954
|
return;
|
|
968
|
-
await
|
|
969
|
-
'body': JSON[
|
|
970
|
-
'headers':
|
|
971
|
-
'method':
|
|
972
|
-
}),
|
|
955
|
+
await _0x21ba10(_0x46d5d9(_0x49b540._0x3d3571) + encodeURIComponent(_0x7f29d3) + _0x46d5d9(0x23c), {
|
|
956
|
+
'body': JSON[_0x46d5d9(0x214)]({ 'lastSeenSeq': _0x13d2b8 }),
|
|
957
|
+
'headers': _0x5529ae,
|
|
958
|
+
'method': _0x46d5d9(0x2a9)
|
|
959
|
+
}), _0x5ab494 = _0x13d2b8;
|
|
973
960
|
}
|
|
974
|
-
async function
|
|
975
|
-
const
|
|
976
|
-
if (!
|
|
961
|
+
async function _0x27b4ca(_0x5e7dfc) {
|
|
962
|
+
const _0x177ea0 = _0x1d10e6;
|
|
963
|
+
if (!_0x316e8f || !_0x113122 || _0x5e7dfc <= _0x5ab494)
|
|
977
964
|
return;
|
|
978
|
-
const
|
|
979
|
-
'body': JSON[
|
|
980
|
-
'last_seen_seq':
|
|
981
|
-
'worker_session_id':
|
|
965
|
+
const _0x1e17b6 = await _0x387e71(_0x316e8f + _0x177ea0(0x147), {
|
|
966
|
+
'body': JSON[_0x177ea0(0x214)]({
|
|
967
|
+
'last_seen_seq': _0x5e7dfc,
|
|
968
|
+
'worker_session_id': _0x113122
|
|
982
969
|
}),
|
|
983
|
-
'headers': { 'Content-Type':
|
|
984
|
-
'method':
|
|
970
|
+
'headers': { 'Content-Type': _0x177ea0(0x12e) },
|
|
971
|
+
'method': _0x177ea0(0x173)
|
|
985
972
|
});
|
|
986
|
-
if (!
|
|
987
|
-
throw new Error(
|
|
988
|
-
|
|
973
|
+
if (!_0x1e17b6['ok'])
|
|
974
|
+
throw new Error('HTTP\x20' + _0x1e17b6[_0x177ea0(0x14a)]);
|
|
975
|
+
_0x5ab494 = _0x5e7dfc;
|
|
989
976
|
}
|
|
990
|
-
async function
|
|
991
|
-
const
|
|
992
|
-
'body': JSON[
|
|
993
|
-
'headers':
|
|
994
|
-
'method':
|
|
977
|
+
async function _0x3ccb9a(_0x5b9cf5) {
|
|
978
|
+
const _0x3729bc = _0x1d10e6, _0x2f0631 = parseTarget(_0x5b9cf5), _0x558799 = await _0x21ba10(_0x3729bc(_0x1dca4e._0x28c52f) + _0x2871ed[_0x3729bc(0x286)] + '/resolve-channel', {
|
|
979
|
+
'body': JSON[_0x3729bc(_0x1dca4e._0x57fa5d)]({ 'target': _0x2f0631[_0x3729bc(_0x1dca4e._0x148f22)] }),
|
|
980
|
+
'headers': _0x5529ae,
|
|
981
|
+
'method': _0x3729bc(_0x1dca4e._0x27a72f)
|
|
995
982
|
});
|
|
996
983
|
return {
|
|
997
|
-
'channelId':
|
|
998
|
-
'target':
|
|
999
|
-
'task':
|
|
1000
|
-
'threadId':
|
|
1001
|
-
'threadNumber':
|
|
984
|
+
'channelId': _0x558799[_0x3729bc(_0x1dca4e._0x3279f5)]?.[_0x3729bc(_0x1dca4e._0xb7a53)] ?? '',
|
|
985
|
+
'target': _0x2f0631[_0x3729bc(_0x1dca4e._0x27f1d0)],
|
|
986
|
+
'task': _0x558799['data']?.[_0x3729bc(_0x1dca4e._0x447472)],
|
|
987
|
+
'threadId': _0x558799[_0x3729bc(0x261)]?.[_0x3729bc(_0x1dca4e._0xca55c8)],
|
|
988
|
+
'threadNumber': _0x558799[_0x3729bc(0x261)]?.['threadNumber']
|
|
1002
989
|
};
|
|
1003
990
|
}
|
|
1004
|
-
async function
|
|
1005
|
-
const
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
'headers': _0x302f0f,
|
|
1020
|
-
'method': _0x5cc3ce(0x18e)
|
|
1021
|
-
}), _0x44116c = _0x514d4e[_0x5cc3ce(0x24c)]?.['members'] ?? [], _0x5799a9 = _0x44116c['filter'](_0x1d0198 => _0x1d0198[_0x5cc3ce(0x1d2)]?.[_0x5cc3ce(0x2bc)] === _0x5cc3ce(0x219))['map'](_0x1e7816 => ({
|
|
1022
|
-
'id': _0x466a0f(_0x1e7816),
|
|
1023
|
-
'name': _0x515e0e(_0x1e7816)
|
|
1024
|
-
}))[_0x5cc3ce(0x1db)](_0x5ccba8 => _0x5ccba8['id']), _0x4bdbc = _0x44116c[_0x5cc3ce(_0x4b57d2._0x695704)](_0x26238b => _0x26238b['participant']?.['type'] !== 'agent')[_0x5cc3ce(0x2e6)](_0x140e13 => ({
|
|
1025
|
-
'id': _0x466a0f(_0x140e13),
|
|
1026
|
-
'name': _0x515e0e(_0x140e13)
|
|
1027
|
-
}))[_0x5cc3ce(_0x4b57d2._0x56852c)](_0x4f1f8e => _0x4f1f8e['id']), _0x32620a = _0x514d4e[_0x5cc3ce(0x24c)]?.[_0x5cc3ce(0x2d7)]['id'] ?? '';
|
|
991
|
+
async function _0xbc6aeb(_0x2cbb4b = {}) {
|
|
992
|
+
const _0xe1c9b6 = _0x1d10e6;
|
|
993
|
+
if (!_0x2cbb4b['forceRefresh'] && _0x2ff98a)
|
|
994
|
+
return _0x2ff98a;
|
|
995
|
+
return _0x2ff98a = (async () => {
|
|
996
|
+
const _0x1feeff = _0x2d35, _0x16d1b1 = await _0x21ba10(_0x1feeff(_0x1fa9c1._0x23f503) + _0x2871ed['agentId'] + _0x1feeff(_0x1fa9c1._0xdbd7bb), {
|
|
997
|
+
'headers': _0x5529ae,
|
|
998
|
+
'method': _0x1feeff(_0x1fa9c1._0xeaaf13)
|
|
999
|
+
}), _0x1d3832 = _0x16d1b1[_0x1feeff(_0x1fa9c1._0x2b56c9)]?.[_0x1feeff(_0x1fa9c1._0x299696)] ?? [], _0x4e22f6 = _0x1d3832[_0x1feeff(0x233)](_0x5cb302 => _0x5cb302[_0x1feeff(0x1ad)]?.[_0x1feeff(0x28a)] === 'agent')[_0x1feeff(_0x1fa9c1._0x31ac98)](_0x2fd7bd => ({
|
|
1000
|
+
'id': _0x19436e(_0x2fd7bd),
|
|
1001
|
+
'name': _0x52c32a(_0x2fd7bd)
|
|
1002
|
+
}))[_0x1feeff(0x233)](_0x108190 => _0x108190['id']), _0x14d2a5 = _0x1d3832[_0x1feeff(0x233)](_0x147844 => _0x147844[_0x1feeff(0x1ad)]?.[_0x1feeff(0x28a)] !== _0x1feeff(0x138))[_0x1feeff(_0x1fa9c1._0x4859c8)](_0x36140b => ({
|
|
1003
|
+
'id': _0x19436e(_0x36140b),
|
|
1004
|
+
'name': _0x52c32a(_0x36140b)
|
|
1005
|
+
}))[_0x1feeff(_0x1fa9c1._0x3f008a)](_0x2078e4 => _0x2078e4['id']), _0x3a0768 = _0x16d1b1[_0x1feeff(0x261)]?.['server']['id'] ?? '';
|
|
1028
1006
|
return {
|
|
1029
|
-
'agents':
|
|
1030
|
-
'channels':
|
|
1031
|
-
'humans':
|
|
1032
|
-
'serverId':
|
|
1033
|
-
'serverName':
|
|
1007
|
+
'agents': _0x4e22f6,
|
|
1008
|
+
'channels': _0x16d1b1['data']?.[_0x1feeff(0x1ca)] ?? [],
|
|
1009
|
+
'humans': _0x14d2a5,
|
|
1010
|
+
'serverId': _0x3a0768,
|
|
1011
|
+
'serverName': _0x16d1b1['data']?.[_0x1feeff(_0x1fa9c1._0x537973)][_0x1feeff(0x250)] ?? _0x3a0768
|
|
1034
1012
|
};
|
|
1035
|
-
})()[
|
|
1036
|
-
|
|
1037
|
-
throw
|
|
1038
|
-
}),
|
|
1013
|
+
})()[_0xe1c9b6(0x1d0)](_0x29462e => {
|
|
1014
|
+
_0x2ff98a = null;
|
|
1015
|
+
throw _0x29462e;
|
|
1016
|
+
}), _0x2ff98a;
|
|
1039
1017
|
}
|
|
1040
|
-
function
|
|
1041
|
-
const
|
|
1042
|
-
return
|
|
1018
|
+
function _0x25c76b(_0x5c82e5, _0x114abd) {
|
|
1019
|
+
const _0x575cf0 = _0x1d10e6;
|
|
1020
|
+
return _0x114abd[_0x575cf0(0x181)][_0x575cf0(0x1be)](_0x180d07 => _0x180d07['id'] === _0x5c82e5 || _0x180d07[_0x575cf0(0x250)] === _0x5c82e5) ? _0x575cf0(0x138) : _0x575cf0(_0x285506._0x2d997f);
|
|
1043
1021
|
}
|
|
1044
|
-
function
|
|
1045
|
-
const
|
|
1046
|
-
...
|
|
1047
|
-
...
|
|
1048
|
-
][
|
|
1049
|
-
return
|
|
1022
|
+
function _0xab93bc(_0x14d24b, _0x29b266) {
|
|
1023
|
+
const _0x4544e5 = _0x1d10e6, _0x2dd501 = [
|
|
1024
|
+
..._0x29b266[_0x4544e5(_0x36dc41._0x560925)],
|
|
1025
|
+
..._0x29b266[_0x4544e5(0x2a4)]
|
|
1026
|
+
][_0x4544e5(_0x36dc41._0x4cedda)](_0xfab745 => _0xfab745['id'] === _0x14d24b);
|
|
1027
|
+
return _0x2dd501?.['name'] ?? _0x14d24b;
|
|
1050
1028
|
}
|
|
1051
|
-
function
|
|
1052
|
-
const
|
|
1053
|
-
if (
|
|
1054
|
-
return
|
|
1055
|
-
if (
|
|
1056
|
-
return
|
|
1057
|
-
if (
|
|
1058
|
-
return
|
|
1059
|
-
return
|
|
1029
|
+
function _0xf878bf(_0x379704) {
|
|
1030
|
+
const _0x2aca81 = _0x1d10e6;
|
|
1031
|
+
if (_0x379704['threadNumber'] != null)
|
|
1032
|
+
return _0x379704[_0x2aca81(_0x2eee83._0x39291c)] + ':t' + _0x379704[_0x2aca81(_0x2eee83._0x2f9f43)];
|
|
1033
|
+
if (_0x379704['rootMessageId'])
|
|
1034
|
+
return _0x379704[_0x2aca81(_0x2eee83._0x551b26)] + ':' + _0x379704[_0x2aca81(0x174)];
|
|
1035
|
+
if (_0x379704['threadId'])
|
|
1036
|
+
return _0x379704[_0x2aca81(_0x2eee83._0x33186e)] + ':' + _0x379704[_0x2aca81(_0x2eee83._0x4da74a)]['slice'](0x0, 0x8);
|
|
1037
|
+
return _0x379704[_0x2aca81(0x232)];
|
|
1060
1038
|
}
|
|
1061
|
-
function
|
|
1062
|
-
const
|
|
1039
|
+
function _0x566b6e(_0x1f96e6, _0x4bde49) {
|
|
1040
|
+
const _0x4cead7 = _0x1d10e6;
|
|
1063
1041
|
try {
|
|
1064
|
-
const
|
|
1065
|
-
if (
|
|
1042
|
+
const _0x4f0d70 = parseTarget(_0x1f96e6);
|
|
1043
|
+
if (_0x4f0d70[_0x4cead7(0x12b)] !== 'thread' || _0x4f0d70[_0x4cead7(_0x57eef5._0x337986)] !== _0x4bde49['channelTarget'])
|
|
1066
1044
|
return ![];
|
|
1067
|
-
if (
|
|
1045
|
+
if (_0x4bde49[_0x4cead7(0x22a)] != null && _0x4f0d70[_0x4cead7(_0x57eef5._0x2242f9)] === 't' + _0x4bde49['threadNumber'])
|
|
1068
1046
|
return !![];
|
|
1069
|
-
if (
|
|
1070
|
-
return
|
|
1071
|
-
if (
|
|
1072
|
-
return
|
|
1047
|
+
if (_0x4bde49[_0x4cead7(_0x57eef5._0x1960a6)])
|
|
1048
|
+
return _0x4f0d70[_0x4cead7(0x17c)] === _0x4bde49[_0x4cead7(_0x57eef5._0x53f7da)] || _0x4bde49[_0x4cead7(_0x57eef5._0x116f3d)][_0x4cead7(_0x57eef5._0x494ab6)](_0x4f0d70[_0x4cead7(_0x57eef5._0x3b358)]);
|
|
1049
|
+
if (_0x4bde49[_0x4cead7(_0x57eef5._0x179ae0)])
|
|
1050
|
+
return _0x4f0d70[_0x4cead7(_0x57eef5._0x384a96)] === _0x4bde49[_0x4cead7(0x133)] || _0x4bde49['threadId']['startsWith'](_0x4f0d70[_0x4cead7(_0x57eef5._0x3b7db0)]);
|
|
1073
1051
|
return ![];
|
|
1074
1052
|
} catch {
|
|
1075
1053
|
return ![];
|
|
1076
1054
|
}
|
|
1077
1055
|
}
|
|
1078
|
-
function
|
|
1079
|
-
const
|
|
1056
|
+
function _0x4522fc(_0x5d6694, _0x345ff2) {
|
|
1057
|
+
const _0x29d545 = _0x1d10e6;
|
|
1080
1058
|
try {
|
|
1081
|
-
const
|
|
1082
|
-
if (
|
|
1059
|
+
const _0x39c471 = parseTarget(_0x5d6694);
|
|
1060
|
+
if (_0x39c471['kind'] !== _0x29d545(0x14e))
|
|
1083
1061
|
return ![];
|
|
1084
|
-
const
|
|
1085
|
-
if (
|
|
1062
|
+
const _0x5aaff2 = typeof _0x345ff2[_0x29d545(0x22a)] === _0x29d545(0x285) && Number[_0x29d545(0x17b)](_0x345ff2[_0x29d545(_0x27d578._0x50d077)]) ? _0x345ff2[_0x29d545(_0x27d578._0x50d077)] : void 0x0;
|
|
1063
|
+
if (_0x5aaff2 != null && _0x39c471[_0x29d545(_0x27d578._0x2eaa73)] === 't' + _0x5aaff2)
|
|
1086
1064
|
return !![];
|
|
1087
|
-
const
|
|
1088
|
-
if (
|
|
1089
|
-
return
|
|
1090
|
-
const
|
|
1091
|
-
return Boolean(
|
|
1065
|
+
const _0x563a1c = typeof _0x345ff2['rootMessageId'] === _0x29d545(_0x27d578._0x2367c2) ? _0x345ff2[_0x29d545(0x174)] : void 0x0;
|
|
1066
|
+
if (_0x563a1c)
|
|
1067
|
+
return _0x39c471[_0x29d545(_0x27d578._0x2eaa73)] === _0x563a1c || _0x563a1c[_0x29d545(_0x27d578._0x1e6072)](_0x39c471[_0x29d545(_0x27d578._0x2eaa73)]);
|
|
1068
|
+
const _0x43f880 = typeof _0x345ff2[_0x29d545(0x133)] === _0x29d545(_0x27d578._0x2533b6) ? _0x345ff2[_0x29d545(0x133)] : void 0x0;
|
|
1069
|
+
return Boolean(_0x43f880) && (_0x39c471[_0x29d545(_0x27d578._0x2eaa73)] === _0x43f880 || _0x43f880[_0x29d545(_0x27d578._0x5846b7)](_0x39c471[_0x29d545(0x17c)]));
|
|
1092
1070
|
} catch {
|
|
1093
1071
|
return ![];
|
|
1094
1072
|
}
|
|
1095
1073
|
}
|
|
1096
|
-
function
|
|
1097
|
-
const
|
|
1098
|
-
return
|
|
1074
|
+
function _0x19436e(_0x24b96b) {
|
|
1075
|
+
const _0x37bb3d = _0x1d10e6;
|
|
1076
|
+
return _0x24b96b[_0x37bb3d(_0x36d146._0x2ca715)]?.[_0x37bb3d(_0x36d146._0x19162c)] ?? _0x24b96b[_0x37bb3d(0x1ad)]?.['id'] ?? _0x24b96b[_0x37bb3d(_0x36d146._0x19162c)] ?? '';
|
|
1099
1077
|
}
|
|
1100
|
-
function
|
|
1101
|
-
const
|
|
1102
|
-
return
|
|
1078
|
+
function _0x52c32a(_0x3a8a43) {
|
|
1079
|
+
const _0x16e43a = _0x1d10e6;
|
|
1080
|
+
return _0x3a8a43[_0x16e43a(0x1ad)]?.[_0x16e43a(_0x1dcd44._0x39e024)] ?? _0x19436e(_0x3a8a43);
|
|
1103
1081
|
}
|
|
1104
|
-
async function
|
|
1105
|
-
const
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
const
|
|
1111
|
-
'headers':
|
|
1112
|
-
'method':
|
|
1113
|
-
}),
|
|
1114
|
-
'attachments': (
|
|
1115
|
-
'filename':
|
|
1116
|
-
'id':
|
|
1082
|
+
async function _0x296759(_0x32c13a) {
|
|
1083
|
+
const _0x349a49 = _0x1d10e6, _0x195317 = Math['min'](_0x32c13a[_0x349a49(_0x1f0471._0x3eaeb2)] ?? 0x32, 0x64), _0x5251ac = await _0xbc6aeb(), _0x516709 = new URLSearchParams();
|
|
1084
|
+
_0x516709[_0x349a49(_0x1f0471._0x1f689b)](_0x349a49(0x22e), String(_0x195317));
|
|
1085
|
+
_0x32c13a[_0x349a49(0x133)] ? (_0x516709[_0x349a49(_0x1f0471._0x2decde)](_0x349a49(_0x1f0471._0x1bceec), _0x32c13a[_0x349a49(_0x1f0471._0x1bceec)]), _0x516709[_0x349a49(0x159)](_0x349a49(_0x1f0471._0x4a4b2c), _0x32c13a['channelId'])) : _0x516709[_0x349a49(0x159)](_0x349a49(0x175), _0x32c13a[_0x349a49(_0x1f0471._0x46c8b4)]);
|
|
1086
|
+
_0x32c13a[_0x349a49(_0x1f0471._0x2e4551)] && _0x516709[_0x349a49(0x159)](_0x349a49(0x267), String(_0x32c13a[_0x349a49(0x1ee)]));
|
|
1087
|
+
_0x32c13a[_0x349a49(_0x1f0471._0x4cbca1)] !== void 0x0 && _0x516709[_0x349a49(_0x1f0471._0x2decde)]('after', String(_0x32c13a[_0x349a49(0x132)]));
|
|
1088
|
+
const _0x430490 = await _0x21ba10(_0x349a49(0x224) + _0x2871ed[_0x349a49(_0x1f0471._0x452f56)] + _0x349a49(0x135) + _0x516709[_0x349a49(0x248)](), {
|
|
1089
|
+
'headers': _0x5529ae,
|
|
1090
|
+
'method': _0x349a49(0x190)
|
|
1091
|
+
}), _0x444d49 = (_0x430490[_0x349a49(0x261)] ?? [])['map'](_0x262492 => ({
|
|
1092
|
+
'attachments': (_0x262492['attachments'] ?? [])[_0x349a49(0x205)](_0xb8fa4 => ({
|
|
1093
|
+
'filename': _0xb8fa4[_0x349a49(0x24c)] ?? _0xb8fa4['id'],
|
|
1094
|
+
'id': _0xb8fa4['id']
|
|
1117
1095
|
})),
|
|
1118
|
-
'content':
|
|
1119
|
-
'createdAt':
|
|
1120
|
-
...
|
|
1121
|
-
'messageId':
|
|
1122
|
-
'senderName':
|
|
1123
|
-
'senderType':
|
|
1124
|
-
'seq':
|
|
1096
|
+
'content': _0x262492['bodyMarkdown'] ?? '',
|
|
1097
|
+
'createdAt': _0x262492[_0x349a49(0x1b9)],
|
|
1098
|
+
..._0x262492['kind'] && _0x262492[_0x349a49(0x12b)] !== _0x349a49(0x1c6) ? { 'kind': _0x262492['kind'] } : {},
|
|
1099
|
+
'messageId': _0x262492['id'],
|
|
1100
|
+
'senderName': _0xab93bc(_0x262492['senderParticipantId'], _0x5251ac),
|
|
1101
|
+
'senderType': _0x25c76b(_0x262492[_0x349a49(0x16c)], _0x5251ac),
|
|
1102
|
+
'seq': _0x262492[_0x349a49(0x1c9)] ?? 0x0
|
|
1125
1103
|
}));
|
|
1126
1104
|
return {
|
|
1127
|
-
'channel':
|
|
1128
|
-
'hasMore':
|
|
1129
|
-
'messages':
|
|
1130
|
-
'nextCursor':
|
|
1105
|
+
'channel': _0x32c13a[_0x349a49(_0x1f0471._0xce08f4)],
|
|
1106
|
+
'hasMore': _0x430490[_0x349a49(_0x1f0471._0x98bb6d)]?.['hasMore'] ?? ![],
|
|
1107
|
+
'messages': _0x444d49,
|
|
1108
|
+
'nextCursor': _0x430490['meta']?.['cursor']
|
|
1131
1109
|
};
|
|
1132
1110
|
}
|
|
1133
1111
|
return {
|
|
1134
|
-
async 'sendMessage'(
|
|
1135
|
-
const
|
|
1112
|
+
async 'sendMessage'(_0x344f7b) {
|
|
1113
|
+
const _0x385980 = _0x1d10e6, _0x5d071c = await _0x3ccb9a(_0x344f7b['target']), _0x1f462a = _0x344f7b[_0x385980(0x20d)][_0x385980(0x15f)]('@') ? extractMentionedParticipantIds(_0x344f7b[_0x385980(_0x165ba2._0x406ef3)], await _0xbc6aeb()) : [], _0x51f607 = await _0x21ba10('/internal/agent/' + _0x2871ed[_0x385980(0x286)] + '/send', {
|
|
1136
1114
|
'body': JSON['stringify']({
|
|
1137
|
-
'attachment_ids':
|
|
1138
|
-
'bodyMarkdown':
|
|
1139
|
-
'channelId':
|
|
1140
|
-
...
|
|
1141
|
-
'threadId':
|
|
1142
|
-
...
|
|
1115
|
+
'attachment_ids': _0x344f7b['attachmentIds'],
|
|
1116
|
+
'bodyMarkdown': _0x344f7b['content'],
|
|
1117
|
+
'channelId': _0x5d071c[_0x385980(0x175)],
|
|
1118
|
+
..._0x1f462a[_0x385980(0x2ad)] > 0x0 ? { 'mentionedParticipantIds': _0x1f462a } : {},
|
|
1119
|
+
'threadId': _0x5d071c[_0x385980(_0x165ba2._0x4d0321)],
|
|
1120
|
+
..._0x344f7b[_0x385980(_0x165ba2._0xdc767a)] ? { 'visibility': _0x344f7b['visibility'] } : {}
|
|
1143
1121
|
}),
|
|
1144
|
-
'headers':
|
|
1145
|
-
'method':
|
|
1122
|
+
'headers': _0x5529ae,
|
|
1123
|
+
'method': _0x385980(_0x165ba2._0x149ff8)
|
|
1146
1124
|
});
|
|
1147
|
-
return { 'messageId':
|
|
1125
|
+
return { 'messageId': _0x51f607[_0x385980(_0x165ba2._0x7c0605)]?.['id'] ?? '' };
|
|
1148
1126
|
},
|
|
1149
1127
|
async 'listSchedules'() {
|
|
1150
|
-
const
|
|
1151
|
-
'headers':
|
|
1152
|
-
'method':
|
|
1128
|
+
const _0x4b581e = _0x1d10e6, _0x1e28dc = await _0x21ba10('/api/internal/schedules', {
|
|
1129
|
+
'headers': _0x5529ae,
|
|
1130
|
+
'method': 'GET'
|
|
1153
1131
|
});
|
|
1154
|
-
return
|
|
1132
|
+
return _0x1e28dc[_0x4b581e(_0x3e99b1._0x22f359)] ?? [];
|
|
1155
1133
|
},
|
|
1156
|
-
async 'claimScheduleRun'(
|
|
1157
|
-
const
|
|
1158
|
-
'body': JSON[
|
|
1159
|
-
'headers':
|
|
1160
|
-
'method':
|
|
1134
|
+
async 'claimScheduleRun'(_0x340d59) {
|
|
1135
|
+
const _0x699303 = _0x1d10e6, _0x4bb0a1 = await _0x21ba10('/api/internal/schedules/claim', {
|
|
1136
|
+
'body': JSON[_0x699303(0x214)](_0x340d59),
|
|
1137
|
+
'headers': _0x5529ae,
|
|
1138
|
+
'method': 'POST'
|
|
1161
1139
|
});
|
|
1162
|
-
return
|
|
1140
|
+
return _0x4bb0a1['data'] ?? {
|
|
1163
1141
|
'granted': ![],
|
|
1164
1142
|
'runId': null,
|
|
1165
1143
|
'schedule': null,
|
|
1166
|
-
'scheduledFor':
|
|
1144
|
+
'scheduledFor': _0x340d59['scheduledFor']
|
|
1167
1145
|
};
|
|
1168
1146
|
},
|
|
1169
|
-
async 'startScheduleRun'(
|
|
1170
|
-
const
|
|
1171
|
-
'body': JSON[
|
|
1172
|
-
'headers':
|
|
1173
|
-
'method':
|
|
1147
|
+
async 'startScheduleRun'(_0x151cd5) {
|
|
1148
|
+
const _0x3734a7 = _0x1d10e6, _0x4dfc52 = await _0x21ba10(_0x3734a7(0x16f) + encodeURIComponent(_0x151cd5[_0x3734a7(0x1f7)]) + _0x3734a7(_0x384887._0x55b1ff), {
|
|
1149
|
+
'body': JSON[_0x3734a7(0x214)]({}),
|
|
1150
|
+
'headers': _0x5529ae,
|
|
1151
|
+
'method': _0x3734a7(0x173)
|
|
1174
1152
|
});
|
|
1175
|
-
return
|
|
1153
|
+
return _0x4dfc52[_0x3734a7(0x261)] ?? {
|
|
1176
1154
|
'claimedByDaemonId': '',
|
|
1177
|
-
'id':
|
|
1155
|
+
'id': _0x151cd5[_0x3734a7(0x1f7)],
|
|
1178
1156
|
'scheduleId': '',
|
|
1179
|
-
'status':
|
|
1157
|
+
'status': 'running'
|
|
1180
1158
|
};
|
|
1181
1159
|
},
|
|
1182
|
-
async 'finishScheduleRun'(
|
|
1183
|
-
const
|
|
1184
|
-
'body': JSON[
|
|
1185
|
-
'error':
|
|
1186
|
-
'resultJson':
|
|
1187
|
-
'status':
|
|
1160
|
+
async 'finishScheduleRun'(_0x557109) {
|
|
1161
|
+
const _0x118340 = _0x1d10e6, _0x588acd = await _0x21ba10(_0x118340(0x16f) + encodeURIComponent(_0x557109[_0x118340(0x1f7)]) + _0x118340(0x25e), {
|
|
1162
|
+
'body': JSON['stringify']({
|
|
1163
|
+
'error': _0x557109[_0x118340(_0x41ede6._0x4ab703)],
|
|
1164
|
+
'resultJson': _0x557109[_0x118340(0x275)],
|
|
1165
|
+
'status': _0x557109[_0x118340(0x14a)]
|
|
1188
1166
|
}),
|
|
1189
|
-
'headers':
|
|
1190
|
-
'method':
|
|
1167
|
+
'headers': _0x5529ae,
|
|
1168
|
+
'method': _0x118340(0x173)
|
|
1191
1169
|
});
|
|
1192
|
-
return
|
|
1170
|
+
return _0x588acd[_0x118340(_0x41ede6._0x863b5b)] ?? {
|
|
1193
1171
|
'nextRunAt': null,
|
|
1194
1172
|
'run': {
|
|
1195
1173
|
'claimedByDaemonId': '',
|
|
1196
|
-
'id':
|
|
1174
|
+
'id': _0x557109[_0x118340(0x1f7)],
|
|
1197
1175
|
'scheduleId': '',
|
|
1198
|
-
'status':
|
|
1176
|
+
'status': _0x557109[_0x118340(0x14a)]
|
|
1199
1177
|
}
|
|
1200
1178
|
};
|
|
1201
1179
|
},
|
|
1202
|
-
async 'listTasks'(
|
|
1203
|
-
const
|
|
1204
|
-
return
|
|
1205
|
-
'headers':
|
|
1180
|
+
async 'listTasks'(_0x1c1000) {
|
|
1181
|
+
const _0x5769c9 = _0x1d10e6, _0x3a13fd = new URLSearchParams();
|
|
1182
|
+
return _0x3a13fd[_0x5769c9(_0x2705ca._0x21298f)](_0x5769c9(0x1d2), _0x1c1000['channel']), _0x1c1000['status'] && _0x3a13fd[_0x5769c9(_0x2705ca._0x21298f)](_0x5769c9(_0x2705ca._0x3a1d6c), _0x1c1000[_0x5769c9(0x14a)]), _0x4071f9(_0x5769c9(_0x2705ca._0x2ace4a) + _0x2871ed[_0x5769c9(_0x2705ca._0x522f76)] + _0x5769c9(0x1fd) + _0x3a13fd[_0x5769c9(_0x2705ca._0x293bcf)](), {
|
|
1183
|
+
'headers': _0x5529ae,
|
|
1206
1184
|
'method': 'GET'
|
|
1207
1185
|
});
|
|
1208
1186
|
},
|
|
1209
|
-
async 'createTasks'(
|
|
1210
|
-
const
|
|
1211
|
-
return
|
|
1212
|
-
'body': JSON[
|
|
1213
|
-
...
|
|
1214
|
-
'idempotency_key':
|
|
1187
|
+
async 'createTasks'(_0x280965) {
|
|
1188
|
+
const _0x435f3b = _0x1d10e6;
|
|
1189
|
+
return _0x4071f9(_0x435f3b(_0x3bfbbf._0x53d730) + _0x2871ed['agentId'] + _0x435f3b(0x1b1), {
|
|
1190
|
+
'body': JSON[_0x435f3b(_0x3bfbbf._0x126809)]({
|
|
1191
|
+
..._0x280965,
|
|
1192
|
+
'idempotency_key': _0x50f4f0(_0x435f3b(0x201), _0x280965)
|
|
1215
1193
|
}),
|
|
1216
|
-
'headers':
|
|
1217
|
-
'method':
|
|
1194
|
+
'headers': _0x5529ae,
|
|
1195
|
+
'method': _0x435f3b(0x173)
|
|
1218
1196
|
});
|
|
1219
1197
|
},
|
|
1220
|
-
async 'claimTasks'(
|
|
1221
|
-
const
|
|
1222
|
-
return
|
|
1223
|
-
'body': JSON[
|
|
1224
|
-
...
|
|
1225
|
-
'idempotency_key':
|
|
1198
|
+
async 'claimTasks'(_0x529eed) {
|
|
1199
|
+
const _0x16ab15 = _0x1d10e6;
|
|
1200
|
+
return _0x4071f9(_0x16ab15(0x224) + _0x2871ed['agentId'] + _0x16ab15(_0x4c1485._0x22e791), {
|
|
1201
|
+
'body': JSON['stringify']({
|
|
1202
|
+
..._0x529eed,
|
|
1203
|
+
'idempotency_key': _0x50f4f0('claim_tasks', _0x529eed)
|
|
1226
1204
|
}),
|
|
1227
|
-
'headers':
|
|
1228
|
-
'method':
|
|
1205
|
+
'headers': _0x5529ae,
|
|
1206
|
+
'method': _0x16ab15(_0x4c1485._0x34068d)
|
|
1229
1207
|
});
|
|
1230
1208
|
},
|
|
1231
|
-
async 'unclaimTask'(
|
|
1232
|
-
const
|
|
1233
|
-
return
|
|
1234
|
-
'body': JSON[
|
|
1235
|
-
...
|
|
1236
|
-
'idempotency_key':
|
|
1209
|
+
async 'unclaimTask'(_0x4278d1) {
|
|
1210
|
+
const _0x4b3f89 = _0x1d10e6;
|
|
1211
|
+
return _0x4071f9(_0x4b3f89(_0x556d0a._0x2ca7a0) + _0x2871ed[_0x4b3f89(_0x556d0a._0x226bf8)] + _0x4b3f89(_0x556d0a._0x57ec29), {
|
|
1212
|
+
'body': JSON[_0x4b3f89(0x214)]({
|
|
1213
|
+
..._0x4278d1,
|
|
1214
|
+
'idempotency_key': _0x50f4f0(_0x4b3f89(_0x556d0a._0x310f48), _0x4278d1)
|
|
1237
1215
|
}),
|
|
1238
|
-
'headers':
|
|
1239
|
-
'method':
|
|
1216
|
+
'headers': _0x5529ae,
|
|
1217
|
+
'method': _0x4b3f89(0x173)
|
|
1240
1218
|
});
|
|
1241
1219
|
},
|
|
1242
|
-
async 'updateTaskStatus'(
|
|
1243
|
-
const
|
|
1244
|
-
return
|
|
1245
|
-
'body': JSON[
|
|
1246
|
-
...
|
|
1247
|
-
'idempotency_key':
|
|
1220
|
+
async 'updateTaskStatus'(_0x2750ad) {
|
|
1221
|
+
const _0x5221a8 = _0x1d10e6;
|
|
1222
|
+
return _0x4071f9(_0x5221a8(0x224) + _0x2871ed[_0x5221a8(0x286)] + '/tasks/update-status', {
|
|
1223
|
+
'body': JSON[_0x5221a8(0x214)]({
|
|
1224
|
+
..._0x2750ad,
|
|
1225
|
+
'idempotency_key': _0x50f4f0(_0x5221a8(0x225), _0x2750ad)
|
|
1248
1226
|
}),
|
|
1249
|
-
'headers':
|
|
1250
|
-
'method':
|
|
1227
|
+
'headers': _0x5529ae,
|
|
1228
|
+
'method': _0x5221a8(0x173)
|
|
1251
1229
|
});
|
|
1252
1230
|
},
|
|
1253
|
-
async 'uploadFile'(
|
|
1254
|
-
const
|
|
1255
|
-
if (
|
|
1256
|
-
throw new Error(
|
|
1257
|
-
const
|
|
1258
|
-
'body': JSON[
|
|
1259
|
-
'channel':
|
|
1260
|
-
'contentBase64':
|
|
1261
|
-
'contentType':
|
|
1262
|
-
'originalFilename':
|
|
1231
|
+
async 'uploadFile'(_0x109aa1) {
|
|
1232
|
+
const _0x4b7013 = _0x1d10e6, _0x23cf7b = await _0x3ccb9a(_0x109aa1[_0x4b7013(_0x382587._0x34e273)]);
|
|
1233
|
+
if (_0x23cf7b[_0x4b7013(0x133)])
|
|
1234
|
+
throw new Error(_0x4b7013(_0x382587._0x3aea1f));
|
|
1235
|
+
const _0xea84ce = await _0x21ba10('/internal/agent/' + _0x2871ed['agentId'] + _0x4b7013(0x1a5), {
|
|
1236
|
+
'body': JSON[_0x4b7013(0x214)]({
|
|
1237
|
+
'channel': _0x23cf7b[_0x4b7013(0x124)],
|
|
1238
|
+
'contentBase64': _0x109aa1['contentBase64'],
|
|
1239
|
+
'contentType': _0x109aa1[_0x4b7013(_0x382587._0x5b856d)],
|
|
1240
|
+
'originalFilename': _0x109aa1['filename']
|
|
1263
1241
|
}),
|
|
1264
|
-
'headers':
|
|
1265
|
-
'method':
|
|
1242
|
+
'headers': _0x5529ae,
|
|
1243
|
+
'method': 'POST'
|
|
1266
1244
|
});
|
|
1267
1245
|
return {
|
|
1268
|
-
'attachmentId':
|
|
1269
|
-
'filename':
|
|
1270
|
-
'sizeBytes':
|
|
1246
|
+
'attachmentId': _0xea84ce['data']?.['id'] ?? '',
|
|
1247
|
+
'filename': _0xea84ce[_0x4b7013(0x261)]?.[_0x4b7013(0x238)] ?? _0x109aa1[_0x4b7013(_0x382587._0x472b32)],
|
|
1248
|
+
'sizeBytes': _0xea84ce[_0x4b7013(_0x382587._0xb335ff)]?.[_0x4b7013(0x298)] ?? 0x0
|
|
1271
1249
|
};
|
|
1272
1250
|
},
|
|
1273
|
-
async 'downloadAttachment'(
|
|
1274
|
-
const
|
|
1275
|
-
'headers':
|
|
1276
|
-
'method':
|
|
1277
|
-
}),
|
|
1251
|
+
async 'downloadAttachment'(_0x99828d) {
|
|
1252
|
+
const _0x184e08 = _0x1d10e6, _0x51ac77 = await _0x21ba10(_0x184e08(0x252) + _0x99828d, {
|
|
1253
|
+
'headers': _0x5529ae,
|
|
1254
|
+
'method': _0x184e08(0x190)
|
|
1255
|
+
}), _0x9197ca = new AbortController(), _0x5265f0 = setTimeout(() => _0x9197ca[_0x184e08(0x26e)](), _0x18faac);
|
|
1278
1256
|
try {
|
|
1279
|
-
const
|
|
1280
|
-
'headers':
|
|
1281
|
-
'method':
|
|
1282
|
-
'signal':
|
|
1257
|
+
const _0x56f2ef = await _0x387e71(_0x4b1b0a + _0x184e08(_0x3eadf5._0x1ec17e) + _0x99828d + _0x184e08(0x21e), {
|
|
1258
|
+
'headers': _0x5529ae,
|
|
1259
|
+
'method': _0x184e08(0x190),
|
|
1260
|
+
'signal': _0x9197ca[_0x184e08(0x290)]
|
|
1283
1261
|
});
|
|
1284
|
-
if (!
|
|
1285
|
-
throw new Error(
|
|
1262
|
+
if (!_0x56f2ef['ok'])
|
|
1263
|
+
throw new Error('HTTP\x20' + _0x56f2ef[_0x184e08(0x14a)]);
|
|
1286
1264
|
return {
|
|
1287
|
-
'contentType':
|
|
1288
|
-
'data': Buffer[
|
|
1289
|
-
'originalFilename':
|
|
1265
|
+
'contentType': _0x51ac77[_0x184e08(_0x3eadf5._0x219157)]?.[_0x184e08(_0x3eadf5._0x180d2d)] ?? _0x56f2ef[_0x184e08(0x200)][_0x184e08(_0x3eadf5._0x258b07)](_0x184e08(0x144)) ?? _0x184e08(0x1db),
|
|
1266
|
+
'data': Buffer[_0x184e08(_0x3eadf5._0x3ee19a)](await _0x56f2ef[_0x184e08(0x195)]()),
|
|
1267
|
+
'originalFilename': _0x51ac77[_0x184e08(0x261)]?.['originalFilename']
|
|
1290
1268
|
};
|
|
1291
1269
|
} finally {
|
|
1292
|
-
clearTimeout(
|
|
1270
|
+
clearTimeout(_0x5265f0);
|
|
1293
1271
|
}
|
|
1294
1272
|
},
|
|
1295
1273
|
async 'listServer'() {
|
|
1296
|
-
return
|
|
1274
|
+
return _0xbc6aeb({ 'forceRefresh': !![] });
|
|
1297
1275
|
},
|
|
1298
1276
|
async 'getLatestEventSeq'() {
|
|
1299
|
-
const
|
|
1300
|
-
|
|
1301
|
-
const
|
|
1302
|
-
'headers':
|
|
1303
|
-
'method':
|
|
1304
|
-
}),
|
|
1305
|
-
return typeof
|
|
1277
|
+
const _0x1f904a = _0x1d10e6, _0x2e4885 = new URLSearchParams();
|
|
1278
|
+
_0x2e4885[_0x1f904a(0x159)](_0x1f904a(_0x598712._0x184f91), '0'), _0x2e4885['set'](_0x1f904a(0x22e), '1');
|
|
1279
|
+
const _0x4031e6 = await _0x21ba10(_0x1f904a(0x224) + _0x2871ed[_0x1f904a(_0x598712._0x33d199)] + _0x1f904a(0x12c) + _0x2e4885['toString'](), {
|
|
1280
|
+
'headers': _0x5529ae,
|
|
1281
|
+
'method': _0x1f904a(0x190)
|
|
1282
|
+
}), _0xe1100a = _0x4031e6['meta']?.[_0x1f904a(0x22d)];
|
|
1283
|
+
return typeof _0xe1100a === _0x1f904a(_0x598712._0x10c041) && _0xe1100a > 0x0 ? _0xe1100a : 0x0;
|
|
1306
1284
|
},
|
|
1307
|
-
async 'readHistory'(
|
|
1308
|
-
const
|
|
1309
|
-
return
|
|
1310
|
-
'after':
|
|
1311
|
-
'before':
|
|
1312
|
-
'channelId':
|
|
1313
|
-
'channelTarget':
|
|
1314
|
-
'limit':
|
|
1315
|
-
'threadId':
|
|
1285
|
+
async 'readHistory'(_0x2145b7) {
|
|
1286
|
+
const _0x2364e4 = _0x1d10e6, _0x20e130 = await _0x3ccb9a(_0x2145b7['channel']);
|
|
1287
|
+
return _0x296759({
|
|
1288
|
+
'after': _0x2145b7['after'],
|
|
1289
|
+
'before': _0x2145b7[_0x2364e4(_0x348799._0x214964)],
|
|
1290
|
+
'channelId': _0x20e130[_0x2364e4(_0x348799._0xded59b)],
|
|
1291
|
+
'channelTarget': _0x20e130['target'],
|
|
1292
|
+
'limit': _0x2145b7['limit'],
|
|
1293
|
+
'threadId': _0x20e130[_0x2364e4(0x133)]
|
|
1316
1294
|
});
|
|
1317
1295
|
},
|
|
1318
|
-
'resolveTarget':
|
|
1296
|
+
'resolveTarget': _0x3ccb9a,
|
|
1319
1297
|
async 'checkMessages'() {
|
|
1320
|
-
const
|
|
1321
|
-
|
|
1322
|
-
const
|
|
1323
|
-
'headers':
|
|
1324
|
-
'method':
|
|
1325
|
-
}),
|
|
1326
|
-
const
|
|
1327
|
-
if (
|
|
1298
|
+
const _0x592eed = _0x1d10e6, _0x104fc8 = new URLSearchParams();
|
|
1299
|
+
_0x104fc8[_0x592eed(0x159)](_0x592eed(_0x1a66e2._0x20dff5), String(_0x16979b));
|
|
1300
|
+
const _0x239dc6 = _0x104fc8[_0x592eed(0x248)](), _0x20d5cc = await _0x21ba10('/internal/agent/' + _0x2871ed[_0x592eed(0x286)] + _0x592eed(_0x1a66e2._0xac857a) + (_0x239dc6 ? '?' + _0x239dc6 : ''), {
|
|
1301
|
+
'headers': _0x5529ae,
|
|
1302
|
+
'method': _0x592eed(_0x1a66e2._0x57558f)
|
|
1303
|
+
}), _0x1f7e1d = _0x20d5cc['data'] ?? [], _0x533ce8 = _0x20d5cc[_0x592eed(0x13a)]?.['cursor'], _0x5edbfe = _0x1151f0 ? _0x1f7e1d['filter'](_0x387ecc => {
|
|
1304
|
+
const _0x418478 = _0x592eed;
|
|
1305
|
+
if (_0x387ecc[_0x418478(_0x2714b6._0x40ddbc)] !== _0x418478(0x21d))
|
|
1328
1306
|
return ![];
|
|
1329
|
-
return
|
|
1330
|
-
}) :
|
|
1331
|
-
let
|
|
1332
|
-
|
|
1333
|
-
|
|
1307
|
+
return _0x4522fc(_0x1151f0, asRecord(_0x387ecc[_0x418478(_0x2714b6._0xa135cd)]));
|
|
1308
|
+
}) : _0x1f7e1d, _0x30be6c = _0x533ce8 !== void 0x0 ? _0x1151f0 ? Math[_0x592eed(0x241)](_0x16979b, _0x5edbfe[_0x592eed(0x2ad)] > 0x0 ? _0x5edbfe[_0x5edbfe['length'] - 0x1][_0x592eed(_0x1a66e2._0x3663a7)] : _0x16979b) : Math[_0x592eed(0x241)](_0x16979b, _0x533ce8) : _0x5edbfe[_0x592eed(0x2ad)] > 0x0 ? Math[_0x592eed(_0x1a66e2._0x48aa45)](_0x16979b, _0x5edbfe[_0x5edbfe['length'] - 0x1]['seq']) : _0x16979b, _0x541ac9 = (_0x1151f0 ? _0x5edbfe : _0x1f7e1d)[_0x592eed(_0x1a66e2._0x5c049f)](_0xea1414 => _0xea1414[_0x592eed(0x1d6)] === _0x592eed(0x21d));
|
|
1309
|
+
let _0x596c16 = await _0xbc6aeb(), _0xb5038e = new Map(_0x596c16[_0x592eed(_0x1a66e2._0x13ad73)][_0x592eed(_0x1a66e2._0x22d048)](_0xc702a4 => [
|
|
1310
|
+
_0xc702a4['id'],
|
|
1311
|
+
_0xc702a4
|
|
1334
1312
|
]));
|
|
1335
|
-
const
|
|
1336
|
-
const
|
|
1337
|
-
return Boolean(
|
|
1313
|
+
const _0x2a5461 = _0x541ac9['some'](_0x471ab9 => {
|
|
1314
|
+
const _0x1f08d8 = _0x592eed, _0x3060ec = asRecord(_0x471ab9[_0x1f08d8(0x2a2)]), _0x11d8a8 = typeof _0x3060ec?.['channelId'] === 'string' ? _0x3060ec['channelId'] : '';
|
|
1315
|
+
return Boolean(_0x11d8a8) && !_0xb5038e[_0x1f08d8(0x23f)](_0x11d8a8);
|
|
1338
1316
|
});
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1317
|
+
_0x2a5461 && (_0x596c16 = await _0xbc6aeb({ 'forceRefresh': !![] }), _0xb5038e = new Map(_0x596c16['channels'][_0x592eed(0x205)](_0x50a8dd => [
|
|
1318
|
+
_0x50a8dd['id'],
|
|
1319
|
+
_0x50a8dd
|
|
1342
1320
|
])));
|
|
1343
|
-
const
|
|
1344
|
-
for (const
|
|
1345
|
-
const
|
|
1346
|
-
if (!
|
|
1321
|
+
const _0x20de63 = new Map();
|
|
1322
|
+
for (const _0x191d77 of _0x541ac9) {
|
|
1323
|
+
const _0x579d3a = asRecord(_0x191d77[_0x592eed(_0x1a66e2._0x26828f)]), _0x2b8aef = typeof _0x579d3a[_0x592eed(_0x1a66e2._0x447862)] === _0x592eed(0x1a8) ? _0x579d3a[_0x592eed(0x175)] : '';
|
|
1324
|
+
if (!_0x2b8aef)
|
|
1347
1325
|
continue;
|
|
1348
|
-
const
|
|
1326
|
+
const _0x1b8064 = typeof _0x579d3a['threadId'] === _0x592eed(_0x1a66e2._0x2d05fb) ? _0x579d3a['threadId'] : void 0x0, _0x214484 = typeof _0x579d3a['rootMessageId'] === _0x592eed(0x1a8) ? _0x579d3a[_0x592eed(_0x1a66e2._0x23280a)] : void 0x0, _0x59818f = typeof _0x579d3a['threadNumber'] === _0x592eed(0x285) && Number[_0x592eed(0x17b)](_0x579d3a['threadNumber']) ? _0x579d3a[_0x592eed(_0x1a66e2._0x3168b9)] : void 0x0, _0x2c1234 = Boolean(_0x1b8064 && (!_0x214484 || _0x191d77[_0x592eed(0x27d)] !== _0x214484)), _0x9b2d97 = _0x2c1234 ? _0x2b8aef + ':' + _0x1b8064 : _0x2b8aef, _0x4dbb6a = _0x20de63[_0x592eed(_0x1a66e2._0x21e763)](_0x9b2d97) ?? {
|
|
1349
1327
|
'aggregateIds': [],
|
|
1350
|
-
'channelId':
|
|
1328
|
+
'channelId': _0x2b8aef,
|
|
1351
1329
|
'entries': new Map(),
|
|
1352
|
-
'isThreadReply':
|
|
1353
|
-
'rootMessageId':
|
|
1354
|
-
'threadNumber':
|
|
1355
|
-
'threadId':
|
|
1330
|
+
'isThreadReply': _0x2c1234,
|
|
1331
|
+
'rootMessageId': _0x214484,
|
|
1332
|
+
'threadNumber': _0x59818f,
|
|
1333
|
+
'threadId': _0x2c1234 ? _0x1b8064 : void 0x0
|
|
1356
1334
|
};
|
|
1357
|
-
|
|
1358
|
-
'payloadJson':
|
|
1359
|
-
'seq':
|
|
1360
|
-
}),
|
|
1335
|
+
_0x4dbb6a[_0x592eed(0x22a)] == null && _0x59818f != null && (_0x4dbb6a[_0x592eed(_0x1a66e2._0x3168b9)] = _0x59818f), !_0x4dbb6a['rootMessageId'] && _0x214484 && (_0x4dbb6a[_0x592eed(_0x1a66e2._0x212ad5)] = _0x214484), _0x4dbb6a[_0x592eed(_0x1a66e2._0x2781b3)]['push'](_0x191d77[_0x592eed(_0x1a66e2._0x1a1b97)]), _0x4dbb6a[_0x592eed(_0x1a66e2._0xff678e)][_0x592eed(0x159)](_0x191d77[_0x592eed(_0x1a66e2._0x1a1b97)], {
|
|
1336
|
+
'payloadJson': _0x191d77[_0x592eed(0x2a2)],
|
|
1337
|
+
'seq': _0x191d77['seq']
|
|
1338
|
+
}), _0x20de63['set'](_0x9b2d97, _0x4dbb6a);
|
|
1361
1339
|
}
|
|
1362
|
-
const
|
|
1363
|
-
for (const
|
|
1340
|
+
const _0x275b26 = [];
|
|
1341
|
+
for (const _0x2a18c6 of _0x20de63[_0x592eed(_0x1a66e2._0x2ee6d4)]()) {
|
|
1364
1342
|
const {
|
|
1365
|
-
channelId:
|
|
1366
|
-
threadId:
|
|
1367
|
-
rootMessageId:
|
|
1368
|
-
threadNumber:
|
|
1369
|
-
aggregateIds:
|
|
1370
|
-
isThreadReply:
|
|
1371
|
-
entries:
|
|
1372
|
-
} =
|
|
1373
|
-
'channelTarget':
|
|
1374
|
-
'rootMessageId':
|
|
1375
|
-
'threadId':
|
|
1376
|
-
'threadNumber':
|
|
1377
|
-
},
|
|
1378
|
-
'channelId':
|
|
1379
|
-
'channelTarget':
|
|
1380
|
-
'limit': Math['max'](
|
|
1381
|
-
'threadId':
|
|
1382
|
-
}),
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
])),
|
|
1386
|
-
for (const
|
|
1387
|
-
if (!
|
|
1388
|
-
continue;
|
|
1389
|
-
const _0x2e700b = _0x4a6084[_0x561314(0x2d8)](_0x378894), _0x3ab24f = _0x2e700b ? asRecord(_0x2e700b[_0x561314(0x1c0)]) : void 0x0, _0x45f35a = _0x3ab24f?.[_0x561314(_0x2274db._0x4ff38e)] === _0x561314(0x26f);
|
|
1390
|
-
if (_0xbbe5d9 && _0x45f35a)
|
|
1343
|
+
channelId: _0x5533dc,
|
|
1344
|
+
threadId: _0x1ffa34,
|
|
1345
|
+
rootMessageId: _0x4a5e4d,
|
|
1346
|
+
threadNumber: _0x147659,
|
|
1347
|
+
aggregateIds: _0x23edaf,
|
|
1348
|
+
isThreadReply: _0x30af3b,
|
|
1349
|
+
entries: _0x5a1bb2
|
|
1350
|
+
} = _0x2a18c6, _0x52eebc = _0xb5038e[_0x592eed(0x1c4)](_0x5533dc), _0x425f63 = _0x52eebc?.[_0x592eed(0x250)] ?? _0x5533dc, _0x26969a = _0x52eebc?.['kind'] === 'dm' ? _0x592eed(_0x1a66e2._0x457a17) + _0x425f63 : '#' + _0x425f63, _0x19525a = {
|
|
1351
|
+
'channelTarget': _0x26969a,
|
|
1352
|
+
'rootMessageId': _0x4a5e4d,
|
|
1353
|
+
'threadId': _0x1ffa34,
|
|
1354
|
+
'threadNumber': _0x147659
|
|
1355
|
+
}, _0x5f2e04 = await _0x296759({
|
|
1356
|
+
'channelId': _0x5533dc,
|
|
1357
|
+
'channelTarget': _0x26969a,
|
|
1358
|
+
'limit': Math['max'](_0x23edaf[_0x592eed(0x2ad)], 0x32),
|
|
1359
|
+
'threadId': _0x1ffa34
|
|
1360
|
+
}), _0x2a3fa3 = new Map(_0x5f2e04['messages']['map'](_0x52de6d => [
|
|
1361
|
+
_0x52de6d[_0x592eed(0x1ac)],
|
|
1362
|
+
_0x52de6d
|
|
1363
|
+
])), _0x239865 = _0x1ffa34 ? _0xf878bf(_0x19525a) : _0x26969a, _0x2522c6 = _0x1151f0 ? _0x30af3b && _0x566b6e(_0x1151f0, _0x19525a) : !![], _0x2f37c2 = _0x30af3b ? _0x2522c6 && _0x1151f0 ? _0x1151f0 : _0x239865 : _0x26969a;
|
|
1364
|
+
for (const _0x520b4b of _0x23edaf) {
|
|
1365
|
+
if (!_0x2522c6)
|
|
1391
1366
|
continue;
|
|
1392
|
-
const
|
|
1393
|
-
if (
|
|
1394
|
-
|
|
1395
|
-
'attachments':
|
|
1396
|
-
'content':
|
|
1397
|
-
'createdAt':
|
|
1398
|
-
...
|
|
1399
|
-
'messageId':
|
|
1400
|
-
'senderName':
|
|
1401
|
-
'senderType':
|
|
1402
|
-
'target':
|
|
1403
|
-
...
|
|
1367
|
+
const _0x452472 = _0x5a1bb2[_0x592eed(0x1c4)](_0x520b4b), _0x167a0e = _0x452472 ? asRecord(_0x452472[_0x592eed(0x2a2)]) : void 0x0, _0xa333fa = _0x167a0e?.[_0x592eed(0x1df)] === _0x592eed(_0x1a66e2._0x205739), _0x2729f0 = _0x2a3fa3[_0x592eed(_0x1a66e2._0x465a9b)](_0x520b4b);
|
|
1368
|
+
if (_0x2729f0) {
|
|
1369
|
+
_0x275b26[_0x592eed(0x230)]({
|
|
1370
|
+
'attachments': _0x2729f0[_0x592eed(_0x1a66e2._0x31d6f5)],
|
|
1371
|
+
'content': _0x2729f0[_0x592eed(0x20d)],
|
|
1372
|
+
'createdAt': _0x2729f0[_0x592eed(0x1b9)],
|
|
1373
|
+
..._0x2729f0['kind'] ? { 'kind': _0x2729f0[_0x592eed(_0x1a66e2._0x5936f6)] } : {},
|
|
1374
|
+
'messageId': _0x2729f0[_0x592eed(0x1ac)],
|
|
1375
|
+
'senderName': _0x2729f0[_0x592eed(_0x1a66e2._0x3c311b)],
|
|
1376
|
+
'senderType': _0x2729f0['senderType'],
|
|
1377
|
+
'target': _0x2f37c2,
|
|
1378
|
+
..._0xa333fa ? { 'targetedTask': !![] } : {}
|
|
1404
1379
|
});
|
|
1405
1380
|
continue;
|
|
1406
1381
|
}
|
|
1407
|
-
if (
|
|
1408
|
-
const
|
|
1409
|
-
|
|
1382
|
+
if (_0x452472) {
|
|
1383
|
+
const _0x4b8aba = typeof _0x167a0e?.[_0x592eed(0x16c)] === _0x592eed(0x1a8) ? _0x167a0e[_0x592eed(0x16c)] : '', _0x277651 = typeof _0x167a0e?.[_0x592eed(_0x1a66e2._0x39de1c)] === _0x592eed(_0x1a66e2._0x4092fd) ? _0x167a0e['bodyMarkdown'] : '', _0xe97584 = typeof _0x167a0e?.[_0x592eed(0x12b)] === _0x592eed(_0x1a66e2._0x4092fd) && _0x167a0e[_0x592eed(_0x1a66e2._0x54caf7)] !== 'chat' ? _0x167a0e[_0x592eed(_0x1a66e2._0x5936f6)] : void 0x0;
|
|
1384
|
+
_0x4b8aba && _0x277651 && _0x275b26[_0x592eed(0x230)]({
|
|
1410
1385
|
'attachments': [],
|
|
1411
|
-
'content':
|
|
1412
|
-
'createdAt': new Date()[
|
|
1413
|
-
...
|
|
1414
|
-
'messageId':
|
|
1415
|
-
'senderName':
|
|
1416
|
-
'senderType':
|
|
1417
|
-
'target':
|
|
1418
|
-
...
|
|
1386
|
+
'content': _0x277651,
|
|
1387
|
+
'createdAt': new Date()[_0x592eed(_0x1a66e2._0x327326)](),
|
|
1388
|
+
..._0xe97584 ? { 'kind': _0xe97584 } : {},
|
|
1389
|
+
'messageId': _0x520b4b,
|
|
1390
|
+
'senderName': _0xab93bc(_0x4b8aba, _0x596c16),
|
|
1391
|
+
'senderType': _0x25c76b(_0x4b8aba, _0x596c16),
|
|
1392
|
+
'target': _0x2f37c2,
|
|
1393
|
+
..._0xa333fa ? { 'targetedTask': !![] } : {}
|
|
1419
1394
|
});
|
|
1420
1395
|
}
|
|
1421
1396
|
}
|
|
1422
1397
|
}
|
|
1423
|
-
if (
|
|
1424
|
-
if (
|
|
1425
|
-
await
|
|
1398
|
+
if (_0x30be6c > 0x0) {
|
|
1399
|
+
if (_0x7f29d3)
|
|
1400
|
+
await _0xbbb7d5(_0x30be6c);
|
|
1426
1401
|
else
|
|
1427
|
-
|
|
1402
|
+
_0x113122 && await _0x27b4ca(_0x30be6c);
|
|
1428
1403
|
}
|
|
1429
|
-
return
|
|
1404
|
+
return _0x30be6c > _0x16979b && (_0x16979b = _0x30be6c), { 'messages': _0x275b26 };
|
|
1430
1405
|
}
|
|
1431
1406
|
};
|
|
1432
1407
|
}
|
|
1433
|
-
function toLocalTime(
|
|
1434
|
-
const
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
return _0x24cbe4;
|
|
1440
|
-
const _0x2f1c8b = _0xa9ebeb => String(_0xa9ebeb)[_0x34dd7e(0x277)](0x2, '0');
|
|
1441
|
-
return _0x450f69[_0x34dd7e(0x2f2)]() + '-' + _0x2f1c8b(_0x450f69[_0x34dd7e(0x1d1)]() + 0x1) + '-' + _0x2f1c8b(_0x450f69[_0x34dd7e(_0x21fb41._0x3ccd2f)]()) + '\x20' + _0x2f1c8b(_0x450f69[_0x34dd7e(0x229)]()) + ':' + _0x2f1c8b(_0x450f69[_0x34dd7e(0x288)]()) + ':' + _0x2f1c8b(_0x450f69['getSeconds']());
|
|
1408
|
+
function toLocalTime(_0x440e65) {
|
|
1409
|
+
const _0xe1d573 = { _0x28404c: 0x222 }, _0x25799c = _0xb29927, _0x29453f = new Date(_0x440e65);
|
|
1410
|
+
if (Number[_0x25799c(_0xe1d573._0x28404c)](_0x29453f['getTime']()))
|
|
1411
|
+
return _0x440e65;
|
|
1412
|
+
const _0x15a08a = _0x570679 => String(_0x570679)[_0x25799c(0x18c)](0x2, '0');
|
|
1413
|
+
return _0x29453f[_0x25799c(0x1b3)]() + '-' + _0x15a08a(_0x29453f[_0x25799c(0x1ed)]() + 0x1) + '-' + _0x15a08a(_0x29453f[_0x25799c(0x152)]()) + '\x20' + _0x15a08a(_0x29453f[_0x25799c(0x1cb)]()) + ':' + _0x15a08a(_0x29453f['getMinutes']()) + ':' + _0x15a08a(_0x29453f[_0x25799c(0x2a3)]());
|
|
1442
1414
|
}
|
|
1443
|
-
function formatAttachmentSuffix(
|
|
1444
|
-
const
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1415
|
+
function formatAttachmentSuffix(_0x20b231) {
|
|
1416
|
+
const _0xaf7c49 = {
|
|
1417
|
+
_0x5bc848: 0x2ad,
|
|
1418
|
+
_0xdfb039: 0x2ad,
|
|
1419
|
+
_0x3749c0: 0x218
|
|
1420
|
+
}, _0x166394 = _0xb29927;
|
|
1421
|
+
if (!_0x20b231 || _0x20b231[_0x166394(_0xaf7c49._0x5bc848)] === 0x0)
|
|
1449
1422
|
return '';
|
|
1450
|
-
return '\x20[' +
|
|
1423
|
+
return '\x20[' + _0x20b231['length'] + '\x20attachment' + (_0x20b231[_0x166394(_0xaf7c49._0xdfb039)] > 0x1 ? 's' : '') + ':\x20' + _0x20b231['map'](_0x44a2df => _0x44a2df[_0x166394(0x24c)] + _0x166394(0x20a) + _0x44a2df['id'] + ')')[_0x166394(_0xaf7c49._0x3749c0)](',\x20') + '\x20—\x20use\x20view_file\x20to\x20see]';
|
|
1451
1424
|
}
|
|
1452
|
-
function formatCheckMessages(
|
|
1453
|
-
const
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
_0x1030f3: 0x281,
|
|
1464
|
-
_0x211344: 0x2eb
|
|
1465
|
-
}, _0x35fb3d = _0x4cca3c;
|
|
1466
|
-
if (_0x14b260[_0x35fb3d(_0x5a8861._0x44a5a1)] === 0x0)
|
|
1467
|
-
return _0x35fb3d(_0x5a8861._0x4041f3);
|
|
1468
|
-
return _0x14b260[_0x35fb3d(0x2e6)](_0x14b867 => {
|
|
1469
|
-
const _0x212670 = _0x35fb3d, _0x25fcd0 = _0x14b867[_0x212670(0x166)] === _0x212670(_0x4c9d1f._0x6d8217) ? _0x212670(_0x4c9d1f._0x4275a1) : '', _0x29b828 = _0x14b867[_0x212670(0x1d8)] && _0x14b867['kind'] !== _0x212670(0x1f0) ? _0x212670(_0x4c9d1f._0x47ed2e) + _0x14b867[_0x212670(0x1d8)] : '';
|
|
1470
|
-
return _0x212670(0x29a) + _0x14b867[_0x212670(0x252)] + _0x212670(_0x4c9d1f._0x1b4381) + _0x14b867['messageId'][_0x212670(_0x4c9d1f._0x48221d)](0x0, 0x8) + _0x212670(_0x4c9d1f._0x5ae817) + toLocalTime(_0x14b867[_0x212670(_0x4c9d1f._0x1030f3)]) + _0x25fcd0 + _0x29b828 + _0x212670(0x1ab) + _0x14b867['senderName'] + ':\x20' + _0x14b867[_0x212670(_0x4c9d1f._0x211344)] + formatAttachmentSuffix(_0x14b867['attachments']);
|
|
1425
|
+
function formatCheckMessages(_0x479e2a) {
|
|
1426
|
+
const _0x4f363d = { _0x3c5b1d: 0x1e9 }, _0xa0a676 = {
|
|
1427
|
+
_0x66fa5f: 0x231,
|
|
1428
|
+
_0x190fb6: 0x124,
|
|
1429
|
+
_0x302e55: 0x20d
|
|
1430
|
+
}, _0x39911b = _0xb29927;
|
|
1431
|
+
if (_0x479e2a[_0x39911b(0x2ad)] === 0x0)
|
|
1432
|
+
return _0x39911b(_0x4f363d._0x3c5b1d);
|
|
1433
|
+
return _0x479e2a[_0x39911b(0x205)](_0x3d4dd9 => {
|
|
1434
|
+
const _0x4ebd1b = _0x39911b, _0x3f28d6 = _0x3d4dd9['senderType'] === 'agent' ? _0x4ebd1b(0x262) : '', _0x456f90 = _0x3d4dd9[_0x4ebd1b(0x12b)] && _0x3d4dd9[_0x4ebd1b(0x12b)] !== _0x4ebd1b(0x1c6) ? _0x4ebd1b(_0xa0a676._0x66fa5f) + _0x3d4dd9[_0x4ebd1b(0x12b)] : '';
|
|
1435
|
+
return '[target=' + _0x3d4dd9[_0x4ebd1b(_0xa0a676._0x190fb6)] + '\x20msg=' + _0x3d4dd9['messageId'][_0x4ebd1b(0x26d)](0x0, 0x8) + '\x20time=' + toLocalTime(_0x3d4dd9['createdAt']) + _0x3f28d6 + _0x456f90 + _0x4ebd1b(0x254) + _0x3d4dd9[_0x4ebd1b(0x131)] + ':\x20' + _0x3d4dd9[_0x4ebd1b(_0xa0a676._0x302e55)] + formatAttachmentSuffix(_0x3d4dd9[_0x4ebd1b(0x122)]);
|
|
1471
1436
|
})['join']('\x0a');
|
|
1472
1437
|
}
|
|
1473
|
-
function formatHistory(
|
|
1474
|
-
const
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
const _0x22b105 = _0x63cd3d, _0x48ca9b = _0x35118e[_0x22b105(0x166)] === _0x22b105(_0x1b87e5._0x1475e6) ? _0x22b105(_0x1b87e5._0x5b5712) : '', _0x3dfeac = _0x35118e[_0x22b105(0x1d8)] && _0x35118e[_0x22b105(0x1d8)] !== _0x22b105(0x1f0) ? _0x22b105(0x16e) + _0x35118e[_0x22b105(_0x1b87e5._0x1ba5ea)] : '';
|
|
1498
|
-
return _0x22b105(_0x1b87e5._0x2af0ba) + _0x35118e['seq'] + _0x22b105(_0x1b87e5._0x48f564) + _0x35118e[_0x22b105(0x249)] + '\x20time=' + toLocalTime(_0x35118e[_0x22b105(_0x1b87e5._0x22c149)]) + _0x48ca9b + _0x3dfeac + _0x22b105(_0x1b87e5._0xbe5313) + _0x35118e[_0x22b105(_0x1b87e5._0x563439)] + ':\x20' + _0x35118e['content'] + formatAttachmentSuffix(_0x35118e[_0x22b105(_0x1b87e5._0x476830)]);
|
|
1499
|
-
})[_0x63cd3d(_0x96e05d._0x1ac0ba)]('\x0a'), _0x52f054 = _0x1453b0['hasMore'] && _0x1453b0[_0x63cd3d(0x1b1)] ? _0x63cd3d(0x189) + _0x1453b0[_0x63cd3d(_0x96e05d._0x3c3137)][_0x63cd3d(0x170)] + _0x63cd3d(0x19d) + _0x1453b0['nextCursor'] + _0x63cd3d(_0x96e05d._0x883c73) : '';
|
|
1500
|
-
return _0x63cd3d(_0x96e05d._0x4e5e5b) + _0x1453b0[_0x63cd3d(0x25f)] + '\x20(' + _0x1453b0[_0x63cd3d(0x274)][_0x63cd3d(_0x96e05d._0x3804c1)] + _0x63cd3d(0x16c) + _0x17f22f + _0x52f054;
|
|
1438
|
+
function formatHistory(_0x45789d) {
|
|
1439
|
+
const _0x2ac043 = {
|
|
1440
|
+
_0x1a942b: 0x2ad,
|
|
1441
|
+
_0x519609: 0x24e,
|
|
1442
|
+
_0x263a6d: 0x205,
|
|
1443
|
+
_0x4d58cc: 0x168,
|
|
1444
|
+
_0x16c77d: 0x1c0
|
|
1445
|
+
}, _0x815300 = {
|
|
1446
|
+
_0x42c23e: 0x138,
|
|
1447
|
+
_0x2872b: 0x262,
|
|
1448
|
+
_0x54acc8: 0x12b,
|
|
1449
|
+
_0x5303a6: 0x28f,
|
|
1450
|
+
_0x2444a2: 0x1ac,
|
|
1451
|
+
_0x2c2656: 0x1b9,
|
|
1452
|
+
_0x2c80e7: 0x254,
|
|
1453
|
+
_0x3ce10d: 0x122
|
|
1454
|
+
}, _0x18309d = _0xb29927;
|
|
1455
|
+
if (_0x45789d[_0x18309d(0x24e)][_0x18309d(_0x2ac043._0x1a942b)] === 0x0)
|
|
1456
|
+
return _0x18309d(0x2a5) + _0x45789d[_0x18309d(0x1d2)] + _0x18309d(0x123);
|
|
1457
|
+
const _0x297772 = _0x45789d[_0x18309d(_0x2ac043._0x519609)][_0x18309d(_0x2ac043._0x263a6d)](_0x392c75 => {
|
|
1458
|
+
const _0xd789a2 = _0x18309d, _0x3db955 = _0x392c75[_0xd789a2(0x210)] === _0xd789a2(_0x815300._0x42c23e) ? _0xd789a2(_0x815300._0x2872b) : '', _0x407615 = _0x392c75[_0xd789a2(_0x815300._0x54acc8)] && _0x392c75[_0xd789a2(0x12b)] !== _0xd789a2(0x1c6) ? _0xd789a2(0x231) + _0x392c75[_0xd789a2(0x12b)] : '';
|
|
1459
|
+
return '[seq=' + _0x392c75['seq'] + _0xd789a2(_0x815300._0x5303a6) + _0x392c75[_0xd789a2(_0x815300._0x2444a2)] + _0xd789a2(0x15a) + toLocalTime(_0x392c75[_0xd789a2(_0x815300._0x2c2656)]) + _0x3db955 + _0x407615 + _0xd789a2(_0x815300._0x2c80e7) + _0x392c75['senderName'] + ':\x20' + _0x392c75['content'] + formatAttachmentSuffix(_0x392c75[_0xd789a2(_0x815300._0x3ce10d)]);
|
|
1460
|
+
})[_0x18309d(0x218)]('\x0a'), _0x3e4a20 = _0x45789d[_0x18309d(_0x2ac043._0x4d58cc)] && _0x45789d[_0x18309d(0x20e)] ? _0x18309d(0x291) + _0x45789d['messages']['length'] + _0x18309d(_0x2ac043._0x16c77d) + _0x45789d[_0x18309d(0x20e)] + _0x18309d(0x156) : '';
|
|
1461
|
+
return '##\x20Message\x20History\x20for\x20' + _0x45789d['channel'] + '\x20(' + _0x45789d[_0x18309d(0x24e)]['length'] + '\x20messages)\x0a\x0a' + _0x297772 + _0x3e4a20;
|
|
1501
1462
|
}
|
|
1502
|
-
function formatServerDirectory(
|
|
1503
|
-
const
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
},
|
|
1463
|
+
function formatServerDirectory(_0x12cf2c) {
|
|
1464
|
+
const _0x265a62 = {
|
|
1465
|
+
_0x5c0c08: 0x1ca,
|
|
1466
|
+
_0x407f06: 0x1ca,
|
|
1467
|
+
_0x2f8381: 0x2ad,
|
|
1468
|
+
_0x9e5e3f: 0x205,
|
|
1469
|
+
_0x44c12d: 0x218,
|
|
1470
|
+
_0x2ca033: 0x242,
|
|
1471
|
+
_0x513745: 0x17d,
|
|
1472
|
+
_0x1eb9e1: 0x2aa
|
|
1473
|
+
}, _0x1ccbc0 = _0xb29927, _0x2d8810 = _0x12cf2c[_0x1ccbc0(_0x265a62._0x5c0c08)]['length'] > 0x0 ? _0x12cf2c[_0x1ccbc0(_0x265a62._0x407f06)][_0x1ccbc0(0x205)](_0x3e9e9a => _0x3e9e9a[_0x1ccbc0(0x26b)] ? _0x1ccbc0(0x259) + _0x3e9e9a[_0x1ccbc0(0x250)] + _0x1ccbc0(0x27c) + _0x3e9e9a[_0x1ccbc0(0x26b)] : _0x1ccbc0(0x259) + _0x3e9e9a[_0x1ccbc0(0x250)])['join']('\x0a') : '(none)', _0x5e8d1e = _0x12cf2c[_0x1ccbc0(0x181)][_0x1ccbc0(_0x265a62._0x2f8381)] > 0x0 ? _0x12cf2c[_0x1ccbc0(0x181)][_0x1ccbc0(0x205)](_0x491fa8 => '-\x20@' + _0x491fa8[_0x1ccbc0(0x250)])[_0x1ccbc0(0x218)]('\x0a') : '(none)', _0x2217e3 = _0x12cf2c[_0x1ccbc0(0x2a4)][_0x1ccbc0(0x2ad)] > 0x0 ? _0x12cf2c[_0x1ccbc0(0x2a4)][_0x1ccbc0(_0x265a62._0x9e5e3f)](_0x9c6680 => '-\x20@' + _0x9c6680[_0x1ccbc0(0x250)])[_0x1ccbc0(_0x265a62._0x44c12d)]('\x0a') : _0x1ccbc0(_0x265a62._0x2ca033);
|
|
1513
1474
|
return [
|
|
1514
|
-
'##\x20Server:\x20' +
|
|
1475
|
+
'##\x20Server:\x20' + _0x12cf2c[_0x1ccbc0(0x12a)],
|
|
1515
1476
|
'',
|
|
1516
|
-
|
|
1517
|
-
|
|
1477
|
+
_0x1ccbc0(_0x265a62._0x513745),
|
|
1478
|
+
_0x2d8810,
|
|
1518
1479
|
'',
|
|
1519
|
-
|
|
1520
|
-
|
|
1480
|
+
_0x1ccbc0(_0x265a62._0x1eb9e1),
|
|
1481
|
+
_0x5e8d1e,
|
|
1521
1482
|
'',
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
][
|
|
1483
|
+
_0x1ccbc0(0x28d),
|
|
1484
|
+
_0x2217e3
|
|
1485
|
+
][_0x1ccbc0(_0x265a62._0x44c12d)]('\x0a');
|
|
1525
1486
|
}
|
|
1526
|
-
function formatUploadResult(
|
|
1527
|
-
const
|
|
1528
|
-
|
|
1487
|
+
function formatUploadResult(_0x172469) {
|
|
1488
|
+
const _0x177014 = {
|
|
1489
|
+
_0x3d901e: 0x298,
|
|
1490
|
+
_0x4920cb: 0x1ce,
|
|
1491
|
+
_0x3dc57f: 0x130,
|
|
1492
|
+
_0x4d0d4e: 0x24a
|
|
1493
|
+
}, _0x2b8a63 = _0xb29927;
|
|
1494
|
+
return _0x2b8a63(0x240) + _0x172469[_0x2b8a63(0x24c)] + '\x20(' + (_0x172469[_0x2b8a63(_0x177014._0x3d901e)] / 0x400)['toFixed'](0x1) + _0x2b8a63(_0x177014._0x4920cb) + _0x172469[_0x2b8a63(_0x177014._0x3dc57f)] + _0x2b8a63(_0x177014._0x4d0d4e);
|
|
1529
1495
|
}
|
|
1530
|
-
function formatViewFileResult(
|
|
1531
|
-
const
|
|
1532
|
-
return
|
|
1496
|
+
function formatViewFileResult(_0x87020, _0x160e24) {
|
|
1497
|
+
const _0x143af3 = _0xb29927;
|
|
1498
|
+
return _0x160e24 ? _0x143af3(0x19f) + _0x87020 : _0x143af3(0x18d) + _0x87020;
|
|
1533
1499
|
}
|
|
1534
|
-
function formatTaskList(
|
|
1535
|
-
const
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
const _0x826110 = _0x2ff9bf, _0x4bd214 = _0x356306[_0x826110(_0x2051fe._0x573e0f)] == null ? _0x826110(0x270) : _0x356306[_0x826110(0x1c9)] != null ? '#' + _0x356306[_0x826110(0x2d3)] + '.' + _0x356306['subtaskNumber'] : '#' + _0x356306[_0x826110(_0x2051fe._0x573e0f)], _0x7a04c6 = _0x356306[_0x826110(0x249)] ? _0x826110(_0x2051fe._0x48df8d) + _0x356306[_0x826110(_0x2051fe._0x26b5b1)] : '', _0x310f22 = _0x1c948b && _0x356306[_0x826110(0x2d3)] != null && !_0x356306['subtaskNumber'] && _0x1c948b[_0x826110(_0x2051fe._0x52c06b)](_0x356306['taskNumber']) ? _0x826110(0x2d6) : '', _0x441f44 = _0x356306['childrenTotal'] != null && _0x356306[_0x826110(_0x2051fe._0x296685)] > 0x0 ? '\x20(' + (_0x356306[_0x826110(_0x2051fe._0x571339)] ?? 0x0) + '/' + _0x356306[_0x826110(_0x2051fe._0x819f84)] + '\x20done)' : '', _0xab227a = _0x356306[_0x826110(_0x2051fe._0x50d5ee)] ? _0x826110(_0x2051fe._0x566d47) + _0x356306['assigneeName'] : '';
|
|
1553
|
-
return _0x4bd214 + '\x20[' + _0x356306[_0x826110(0x205)] + ']\x20' + _0x356306[_0x826110(0x1eb)] + _0x441f44 + _0xab227a + _0x7a04c6 + _0x310f22;
|
|
1500
|
+
function formatTaskList(_0x2ccbcf, _0x57152a) {
|
|
1501
|
+
const _0x3000d9 = { _0x10c299: 0x205 }, _0x4d9319 = {
|
|
1502
|
+
_0x527fd1: 0x22b,
|
|
1503
|
+
_0x5f0dbd: 0x27f,
|
|
1504
|
+
_0x2fb78e: 0x15b,
|
|
1505
|
+
_0x30cca0: 0x22b,
|
|
1506
|
+
_0xf9e4f3: 0x1ac,
|
|
1507
|
+
_0x9bd0c9: 0x1ac,
|
|
1508
|
+
_0x2fff76: 0x15b,
|
|
1509
|
+
_0x5b2a53: 0x193,
|
|
1510
|
+
_0x1019e6: 0x18b,
|
|
1511
|
+
_0x2a3ad2: 0x15d
|
|
1512
|
+
}, _0x3e2243 = _0xb29927;
|
|
1513
|
+
if (_0x2ccbcf[_0x3e2243(0x2ad)] === 0x0)
|
|
1514
|
+
return 'No\x20tasks\x20found.';
|
|
1515
|
+
return _0x2ccbcf[_0x3e2243(_0x3000d9._0x10c299)](_0x50c90d => {
|
|
1516
|
+
const _0x446522 = _0x3e2243, _0x172d92 = _0x50c90d[_0x446522(_0x4d9319._0x527fd1)] == null ? _0x446522(_0x4d9319._0x5f0dbd) : _0x50c90d[_0x446522(_0x4d9319._0x2fb78e)] != null ? '#' + _0x50c90d['taskNumber'] + '.' + _0x50c90d['subtaskNumber'] : '#' + _0x50c90d[_0x446522(_0x4d9319._0x30cca0)], _0x4715a3 = _0x50c90d[_0x446522(_0x4d9319._0xf9e4f3)] ? '\x20message=' + _0x50c90d[_0x446522(_0x4d9319._0x9bd0c9)] : '', _0x246d01 = _0x57152a && _0x50c90d['taskNumber'] != null && !_0x50c90d[_0x446522(_0x4d9319._0x2fff76)] && _0x57152a[_0x446522(0x23f)](_0x50c90d[_0x446522(_0x4d9319._0x527fd1)]) ? '\x20executionMode=worker' : '', _0x3ca692 = _0x50c90d[_0x446522(0x255)] != null && _0x50c90d[_0x446522(0x255)] > 0x0 ? '\x20(' + (_0x50c90d[_0x446522(_0x4d9319._0x5b2a53)] ?? 0x0) + '/' + _0x50c90d['childrenTotal'] + '\x20done)' : '', _0x23d343 = _0x50c90d[_0x446522(_0x4d9319._0x1019e6)] ? _0x446522(0x21c) + _0x50c90d[_0x446522(0x18b)] : '';
|
|
1517
|
+
return _0x172d92 + '\x20[' + _0x50c90d[_0x446522(0x14a)] + ']\x20' + _0x50c90d[_0x446522(_0x4d9319._0x2a3ad2)] + _0x3ca692 + _0x23d343 + _0x4715a3 + _0x246d01;
|
|
1554
1518
|
})['join']('\x0a');
|
|
1555
1519
|
}
|
|
1556
|
-
function
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1520
|
+
function _0x2d35(_0x375a12, _0x5d3965) {
|
|
1521
|
+
_0x375a12 = _0x375a12 - 0x11f;
|
|
1522
|
+
const _0x3492e0 = _0x3492();
|
|
1523
|
+
let _0x2d3573 = _0x3492e0[_0x375a12];
|
|
1524
|
+
if (_0x2d35['kFxQjt'] === undefined) {
|
|
1525
|
+
var _0x545c7f = function (_0x5d1ed4) {
|
|
1526
|
+
const _0xf3e02f = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
1527
|
+
let _0x1c7a71 = '', _0x59e6f3 = '';
|
|
1528
|
+
for (let _0x128d82 = 0x0, _0x38b997, _0x43ed7d, _0x3e1fb1 = 0x0; _0x43ed7d = _0x5d1ed4['charAt'](_0x3e1fb1++); ~_0x43ed7d && (_0x38b997 = _0x128d82 % 0x4 ? _0x38b997 * 0x40 + _0x43ed7d : _0x43ed7d, _0x128d82++ % 0x4) ? _0x1c7a71 += String['fromCharCode'](0xff & _0x38b997 >> (-0x2 * _0x128d82 & 0x6)) : 0x0) {
|
|
1529
|
+
_0x43ed7d = _0xf3e02f['indexOf'](_0x43ed7d);
|
|
1530
|
+
}
|
|
1531
|
+
for (let _0x5e8795 = 0x0, _0x5aab12 = _0x1c7a71['length']; _0x5e8795 < _0x5aab12; _0x5e8795++) {
|
|
1532
|
+
_0x59e6f3 += '%' + ('00' + _0x1c7a71['charCodeAt'](_0x5e8795)['toString'](0x10))['slice'](-0x2);
|
|
1533
|
+
}
|
|
1534
|
+
return decodeURIComponent(_0x59e6f3);
|
|
1535
|
+
};
|
|
1536
|
+
_0x2d35['ffYWEr'] = _0x545c7f, _0x2d35['LhPddA'] = {}, _0x2d35['kFxQjt'] = !![];
|
|
1537
|
+
}
|
|
1538
|
+
const _0x11930a = _0x3492e0[0x0], _0x102f70 = _0x375a12 + _0x11930a, _0xb94365 = _0x2d35['LhPddA'][_0x102f70];
|
|
1539
|
+
return !_0xb94365 ? (_0x2d3573 = _0x2d35['ffYWEr'](_0x2d3573), _0x2d35['LhPddA'][_0x102f70] = _0x2d3573) : _0x2d3573 = _0xb94365, _0x2d3573;
|
|
1540
|
+
}
|
|
1541
|
+
function formatCreatedTasks(_0x9f0eea) {
|
|
1542
|
+
const _0x41e88a = { _0x57a0bf: 0x22b }, _0x3826c5 = _0xb29927;
|
|
1543
|
+
if (_0x9f0eea[_0x3826c5(0x2ad)] === 0x0)
|
|
1544
|
+
return _0x3826c5(0x1fe);
|
|
1545
|
+
return _0x9f0eea[_0x3826c5(0x205)](_0x2c212c => {
|
|
1546
|
+
const _0x10a6b3 = _0x3826c5, _0x323221 = _0x2c212c['taskNumber'] == null ? '(legacy)' : _0x2c212c['subtaskNumber'] != null ? '#' + _0x2c212c[_0x10a6b3(_0x41e88a._0x57a0bf)] + '.' + _0x2c212c[_0x10a6b3(0x15b)] : '#' + _0x2c212c['taskNumber'], _0x3601c9 = _0x2c212c[_0x10a6b3(0x1ac)] ? _0x10a6b3(0x21b) + _0x2c212c[_0x10a6b3(0x1ac)] : '';
|
|
1547
|
+
return _0x323221 + '\x20' + _0x2c212c[_0x10a6b3(0x15d)] + _0x3601c9;
|
|
1548
|
+
})[_0x3826c5(0x218)]('\x0a');
|
|
1573
1549
|
}
|
|
1574
|
-
function formatClaimTaskLabel(
|
|
1575
|
-
const
|
|
1576
|
-
if (
|
|
1577
|
-
return
|
|
1578
|
-
return
|
|
1550
|
+
function formatClaimTaskLabel(_0x26ef46, _0x1ba746) {
|
|
1551
|
+
const _0x261856 = _0xb29927;
|
|
1552
|
+
if (_0x26ef46 == null)
|
|
1553
|
+
return _0x261856(0x27f);
|
|
1554
|
+
return _0x1ba746 != null ? '#' + _0x26ef46 + '.' + _0x1ba746 : '#' + _0x26ef46;
|
|
1579
1555
|
}
|
|
1580
|
-
function formatClaimTaskResults(
|
|
1581
|
-
const
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
_0x4f28af[_0x1a6d74(0x17a)] ? _0x1a6d74(0x2d1) + _0x4f28af[_0x1a6d74(0x17a)] : null,
|
|
1608
|
-
_0x4f28af[_0x1a6d74(0x1ff)] ? _0x1a6d74(0x200) + _0x4f28af[_0x1a6d74(0x1ff)] : null
|
|
1609
|
-
][_0x1a6d74(_0x2c1cb6._0x2bc338)](Boolean)['join']('\x20');
|
|
1610
|
-
return _0xa2642f + _0x1a6d74(0x17e) + _0x1def17 + '\x20' + _0x58fdc4 + _0x1a6d74(_0x2c1cb6._0x554eed);
|
|
1556
|
+
function formatClaimTaskResults(_0x3f5b83) {
|
|
1557
|
+
const _0x5764de = { _0x42b6ea: 0x2ad }, _0x575493 = {
|
|
1558
|
+
_0x1bf8fb: 0x1ac,
|
|
1559
|
+
_0x48e09f: 0x183,
|
|
1560
|
+
_0x53c27c: 0x1f6,
|
|
1561
|
+
_0x14e3c7: 0x23d,
|
|
1562
|
+
_0x1bbcc8: 0x12f,
|
|
1563
|
+
_0x1b1b6f: 0x1b7,
|
|
1564
|
+
_0x59ebc1: 0x22b,
|
|
1565
|
+
_0x2c038b: 0x1ef,
|
|
1566
|
+
_0x204beb: 0x245
|
|
1567
|
+
}, _0x4c6371 = _0xb29927;
|
|
1568
|
+
if (_0x3f5b83[_0x4c6371(_0x5764de._0x42b6ea)] === 0x0)
|
|
1569
|
+
return _0x4c6371(0x16b);
|
|
1570
|
+
return _0x3f5b83['map'](_0x17c9ef => {
|
|
1571
|
+
const _0x56cc37 = _0x4c6371;
|
|
1572
|
+
if (_0x17c9ef['success']) {
|
|
1573
|
+
const _0x27cb3a = formatClaimTaskLabel(_0x17c9ef[_0x56cc37(0x22b)], _0x17c9ef[_0x56cc37(0x15b)]), _0x10ad4b = _0x17c9ef[_0x56cc37(_0x575493._0x1bf8fb)] ? _0x56cc37(0x21b) + _0x17c9ef[_0x56cc37(0x1ac)] : '';
|
|
1574
|
+
if (_0x17c9ef[_0x56cc37(0x137)]) {
|
|
1575
|
+
const _0x2b4067 = [
|
|
1576
|
+
_0x56cc37(0x289),
|
|
1577
|
+
_0x17c9ef[_0x56cc37(_0x575493._0x48e09f)] ? _0x56cc37(_0x575493._0x53c27c) : null,
|
|
1578
|
+
_0x17c9ef[_0x56cc37(0x140)] ? _0x56cc37(_0x575493._0x14e3c7) + _0x17c9ef[_0x56cc37(0x140)] : null,
|
|
1579
|
+
_0x17c9ef['threadTarget'] ? _0x56cc37(0x158) + _0x17c9ef[_0x56cc37(_0x575493._0x1bbcc8)] : null,
|
|
1580
|
+
_0x17c9ef[_0x56cc37(0x149)] ? _0x56cc37(0x1a1) + _0x17c9ef[_0x56cc37(0x149)] : null
|
|
1581
|
+
][_0x56cc37(0x233)](Boolean)['join']('\x20');
|
|
1582
|
+
return _0x27cb3a + '\x20claimed' + _0x10ad4b + '\x20' + _0x2b4067 + _0x56cc37(0x1b4);
|
|
1611
1583
|
}
|
|
1612
|
-
if (
|
|
1613
|
-
return
|
|
1614
|
-
const
|
|
1615
|
-
return
|
|
1584
|
+
if (_0x17c9ef[_0x56cc37(0x140)] === 'main')
|
|
1585
|
+
return _0x27cb3a + _0x56cc37(0x1f3) + _0x10ad4b + _0x56cc37(0x1e7);
|
|
1586
|
+
const _0x258c88 = _0x17c9ef[_0x56cc37(_0x575493._0x1b1b6f)] ? '\x20workerHandoff=false\x20error=' + _0x17c9ef[_0x56cc37(0x1b7)] : '';
|
|
1587
|
+
return _0x27cb3a + _0x56cc37(0x1f3) + _0x10ad4b + _0x258c88;
|
|
1616
1588
|
}
|
|
1617
|
-
const
|
|
1618
|
-
return
|
|
1619
|
-
})[
|
|
1589
|
+
const _0x37dc75 = _0x17c9ef[_0x56cc37(0x22b)] == null ? _0x17c9ef['messageId'] ?? _0x56cc37(0x180) : formatClaimTaskLabel(_0x17c9ef[_0x56cc37(_0x575493._0x59ebc1)], _0x17c9ef[_0x56cc37(0x15b)]);
|
|
1590
|
+
return _0x37dc75 + _0x56cc37(_0x575493._0x2c038b) + (_0x17c9ef['reason'] ?? _0x56cc37(_0x575493._0x204beb));
|
|
1591
|
+
})[_0x4c6371(0x218)]('\x0a');
|
|
1620
1592
|
}
|
|
1621
|
-
function formatUnclaimTaskResult(
|
|
1622
|
-
const
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
},
|
|
1626
|
-
return
|
|
1593
|
+
function formatUnclaimTaskResult(_0x477f3b) {
|
|
1594
|
+
const _0x5a4477 = {
|
|
1595
|
+
_0x2811fe: 0x27f,
|
|
1596
|
+
_0x490c49: 0x14a
|
|
1597
|
+
}, _0xbd5634 = _0xb29927, _0x5bff3b = _0x477f3b['taskNumber'] == null ? _0xbd5634(_0x5a4477._0x2811fe) : _0x477f3b[_0xbd5634(0x15b)] != null ? '#' + _0x477f3b[_0xbd5634(0x22b)] + '.' + _0x477f3b['subtaskNumber'] : '#' + _0x477f3b[_0xbd5634(0x22b)];
|
|
1598
|
+
return _0x5bff3b + _0xbd5634(0x170) + _0x477f3b[_0xbd5634(_0x5a4477._0x490c49)];
|
|
1627
1599
|
}
|
|
1628
|
-
function formatUpdateTaskStatusResult(
|
|
1629
|
-
const
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1600
|
+
function formatUpdateTaskStatusResult(_0x8c17ec) {
|
|
1601
|
+
const _0x5bf4af = {
|
|
1602
|
+
_0x11e834: 0x22b,
|
|
1603
|
+
_0x480089: 0x15b,
|
|
1604
|
+
_0xe22fd8: 0x170,
|
|
1605
|
+
_0x2fec36: 0x14a,
|
|
1606
|
+
_0x555e8f: 0x29f
|
|
1607
|
+
}, _0x1570c9 = _0xb29927, _0x1184c0 = _0x8c17ec['taskNumber'] == null ? '(legacy)' : _0x8c17ec[_0x1570c9(0x15b)] != null ? '#' + _0x8c17ec[_0x1570c9(_0x5bf4af._0x11e834)] + '.' + _0x8c17ec[_0x1570c9(_0x5bf4af._0x480089)] : '#' + _0x8c17ec[_0x1570c9(_0x5bf4af._0x11e834)], _0x746c60 = _0x1184c0 + _0x1570c9(_0x5bf4af._0xe22fd8) + _0x8c17ec[_0x1570c9(_0x5bf4af._0x2fec36)];
|
|
1608
|
+
if (_0x8c17ec[_0x1570c9(_0x5bf4af._0x2fec36)] !== _0x1570c9(_0x5bf4af._0x555e8f))
|
|
1609
|
+
return _0x746c60;
|
|
1610
|
+
return _0x746c60 + _0x1570c9(0x125);
|
|
1637
1611
|
}
|
|
1638
1612
|
function getChatBridgeToolDefinitions() {
|
|
1639
|
-
const
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
_0x335aaa: 0x2c3,
|
|
1645
|
-
_0x10e38e: 0x2e7
|
|
1646
|
-
}, _0xdafeec = _0x4cca3c;
|
|
1613
|
+
const _0x22655b = {
|
|
1614
|
+
_0x66edc3: 0x258,
|
|
1615
|
+
_0x3e2c71: 0x1ea,
|
|
1616
|
+
_0x44dcf7: 0x229
|
|
1617
|
+
}, _0x32d2c5 = _0xb29927;
|
|
1647
1618
|
return [
|
|
1648
1619
|
{ 'name': 'send_message' },
|
|
1649
|
-
{ 'name':
|
|
1650
|
-
{ 'name':
|
|
1651
|
-
{ 'name':
|
|
1652
|
-
{ 'name':
|
|
1653
|
-
{ 'name':
|
|
1654
|
-
{ 'name':
|
|
1620
|
+
{ 'name': 'check_messages' },
|
|
1621
|
+
{ 'name': _0x32d2c5(0x24b) },
|
|
1622
|
+
{ 'name': 'list_server' },
|
|
1623
|
+
{ 'name': _0x32d2c5(0x172) },
|
|
1624
|
+
{ 'name': _0x32d2c5(_0x22655b._0x66edc3) },
|
|
1625
|
+
{ 'name': _0x32d2c5(0x134) },
|
|
1655
1626
|
{ 'name': 'create_tasks' },
|
|
1656
|
-
{ 'name':
|
|
1627
|
+
{ 'name': _0x32d2c5(_0x22655b._0x3e2c71) },
|
|
1657
1628
|
{ 'name': 'unclaim_task' },
|
|
1658
|
-
{ 'name':
|
|
1659
|
-
{ 'name':
|
|
1660
|
-
{ 'name':
|
|
1661
|
-
{ 'name':
|
|
1662
|
-
{ 'name':
|
|
1629
|
+
{ 'name': _0x32d2c5(0x225) },
|
|
1630
|
+
{ 'name': 'get_worker_status' },
|
|
1631
|
+
{ 'name': 'park_worker' },
|
|
1632
|
+
{ 'name': _0x32d2c5(_0x22655b._0x44dcf7) },
|
|
1633
|
+
{ 'name': 'mark_waiting_input' }
|
|
1663
1634
|
];
|
|
1664
1635
|
}
|
|
1665
|
-
function createChatBridgeHandlers(
|
|
1666
|
-
const
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
},
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
},
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
},
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
},
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1636
|
+
function createChatBridgeHandlers(_0x482529) {
|
|
1637
|
+
const _0x29050e = { _0xea34f7: 0x1a9 }, _0x5f3da5 = {
|
|
1638
|
+
_0x40f220: 0x278,
|
|
1639
|
+
_0x2fc5f7: 0x12e,
|
|
1640
|
+
_0x1cec69: 0x217
|
|
1641
|
+
}, _0x1d5166 = {
|
|
1642
|
+
_0x4509c7: 0x253,
|
|
1643
|
+
_0x2b1aaa: 0x286,
|
|
1644
|
+
_0x34b069: 0x1d7,
|
|
1645
|
+
_0x15904b: 0x1d9
|
|
1646
|
+
}, _0x389de4 = {
|
|
1647
|
+
_0x45fb88: 0x253,
|
|
1648
|
+
_0x2aa9ef: 0x1d9,
|
|
1649
|
+
_0x30037a: 0x127,
|
|
1650
|
+
_0x56ed91: 0x249
|
|
1651
|
+
}, _0x2a64fd = {
|
|
1652
|
+
_0x59b4e1: 0x253,
|
|
1653
|
+
_0x38d64b: 0x23a,
|
|
1654
|
+
_0x62f8d7: 0x1d9,
|
|
1655
|
+
_0x4ea9ea: 0x127
|
|
1656
|
+
}, _0x351f89 = {
|
|
1657
|
+
_0x5a9657: 0x23e,
|
|
1658
|
+
_0x31f6ca: 0x1f2,
|
|
1659
|
+
_0x9c9f04: 0x166,
|
|
1660
|
+
_0x1e6f3c: 0x13f,
|
|
1661
|
+
_0x592c51: 0x23e,
|
|
1662
|
+
_0x437388: 0x141,
|
|
1663
|
+
_0x2d0deb: 0x238
|
|
1664
|
+
}, _0x36ce21 = {
|
|
1665
|
+
_0xdf2a10: 0x2a6,
|
|
1666
|
+
_0x4b9bfa: 0x13f,
|
|
1667
|
+
_0x255094: 0x1d2
|
|
1668
|
+
}, _0xe4354d = {
|
|
1669
|
+
_0xc3e09c: 0x22f,
|
|
1670
|
+
_0x490bdb: 0x13f,
|
|
1671
|
+
_0x5d7d0f: 0x265
|
|
1672
|
+
}, _0x103dec = {
|
|
1673
|
+
_0x146cdc: 0x1d2,
|
|
1674
|
+
_0x31a5ef: 0x2ad,
|
|
1675
|
+
_0x5b9945: 0x1de,
|
|
1676
|
+
_0x1a44aa: 0x1a0,
|
|
1677
|
+
_0x55dbb4: 0x276,
|
|
1678
|
+
_0xd14136: 0x205
|
|
1679
|
+
}, _0x4b589d = {
|
|
1680
|
+
_0x4c3a6b: 0x1bf,
|
|
1681
|
+
_0xf49311: 0x1ac,
|
|
1682
|
+
_0x440d5c: 0x1c7
|
|
1683
|
+
}, _0x2d44ba = {
|
|
1684
|
+
_0x29eb1a: 0x1d2,
|
|
1685
|
+
_0x276abb: 0x247,
|
|
1686
|
+
_0x4aeee3: 0x186
|
|
1687
|
+
}, _0x1d0d8b = {
|
|
1688
|
+
_0xafd4f6: 0x13f,
|
|
1689
|
+
_0x1e767f: 0x253,
|
|
1690
|
+
_0x30dae0: 0x127,
|
|
1691
|
+
_0x27e918: 0x1d2,
|
|
1692
|
+
_0x5bbd98: 0x16e,
|
|
1693
|
+
_0x5ed372: 0x1e5,
|
|
1694
|
+
_0x452215: 0x26d,
|
|
1695
|
+
_0x129046: 0x186,
|
|
1696
|
+
_0x4ac708: 0x216
|
|
1697
|
+
}, _0x431af2 = { _0x390f24: 0x244 }, _0x3a0d3f = {
|
|
1698
|
+
_0x143159: 0x266,
|
|
1699
|
+
_0x36415a: 0x15e,
|
|
1700
|
+
_0x36ab46: 0x233,
|
|
1701
|
+
_0x49556a: 0x24e
|
|
1702
|
+
}, _0x5251c8 = {
|
|
1703
|
+
_0x55cfaf: 0x15e,
|
|
1704
|
+
_0x2542ca: 0x253,
|
|
1705
|
+
_0x529581: 0x124,
|
|
1706
|
+
_0x39192f: 0x163,
|
|
1707
|
+
_0x4c02e7: 0x133,
|
|
1708
|
+
_0x2811e6: 0x163,
|
|
1709
|
+
_0x33d8a2: 0x163,
|
|
1710
|
+
_0x1cb27b: 0x27f,
|
|
1711
|
+
_0x380f8a: 0x22a,
|
|
1712
|
+
_0x50b182: 0x133,
|
|
1713
|
+
_0x2e494c: 0x26d,
|
|
1714
|
+
_0x3104f3: 0x23f,
|
|
1715
|
+
_0x22e192: 0x20b,
|
|
1716
|
+
_0x1aa21d: 0x1ab,
|
|
1717
|
+
_0xa7af65: 0x218,
|
|
1718
|
+
_0x5b7152: 0x189,
|
|
1719
|
+
_0x7a2356: 0x269,
|
|
1720
|
+
_0x24e00e: 0x25b,
|
|
1721
|
+
_0x7ab1e3: 0x253,
|
|
1722
|
+
_0x4a2821: 0x173,
|
|
1723
|
+
_0x35d28d: 0x12e,
|
|
1724
|
+
_0x521ebd: 0x249,
|
|
1725
|
+
_0x1debf2: 0x256,
|
|
1726
|
+
_0x4ec5ee: 0x235,
|
|
1727
|
+
_0x43a865: 0x236,
|
|
1728
|
+
_0x4ed2d7: 0x1dc,
|
|
1729
|
+
_0x54a124: 0x29a
|
|
1730
|
+
}, _0x590c1e = {
|
|
1731
|
+
_0x19de86: 0x286,
|
|
1732
|
+
_0x28cab1: 0x246,
|
|
1733
|
+
_0x468ec1: 0x127,
|
|
1734
|
+
_0x249fc4: 0x288,
|
|
1735
|
+
_0x5617f9: 0x14a,
|
|
1736
|
+
_0x5b5b4f: 0x1da,
|
|
1737
|
+
_0x337cce: 0x1da
|
|
1738
|
+
}, _0x424998 = {
|
|
1739
|
+
_0x34016e: 0x253,
|
|
1740
|
+
_0xcdf86a: 0x127
|
|
1741
|
+
}, _0x24e169 = {
|
|
1742
|
+
_0x15a934: 0x286,
|
|
1743
|
+
_0xbc51bf: 0x15e,
|
|
1744
|
+
_0x451522: 0x140,
|
|
1745
|
+
_0xee23f2: 0x167,
|
|
1746
|
+
_0x520baf: 0x1a6,
|
|
1747
|
+
_0x440c74: 0x232,
|
|
1748
|
+
_0x208b36: 0x22a,
|
|
1749
|
+
_0x573d0a: 0x1ac,
|
|
1750
|
+
_0x1b69bb: 0x13f,
|
|
1751
|
+
_0x468be2: 0x24e,
|
|
1752
|
+
_0x3d8194: 0x22b,
|
|
1753
|
+
_0x5e9a0c: 0x26d,
|
|
1754
|
+
_0x489fc3: 0x15a,
|
|
1755
|
+
_0x117ba4: 0x1bb,
|
|
1756
|
+
_0x2e0c99: 0x1c3,
|
|
1757
|
+
_0x3a6122: 0x282,
|
|
1758
|
+
_0x59ca08: 0x184,
|
|
1759
|
+
_0x375b40: 0x214,
|
|
1760
|
+
_0x48e276: 0x22b,
|
|
1761
|
+
_0x146e57: 0x1a2,
|
|
1762
|
+
_0x5ad48f: 0x127,
|
|
1763
|
+
_0x444e2d: 0x202,
|
|
1764
|
+
_0x27921e: 0x236
|
|
1765
|
+
}, _0x2f312b = {
|
|
1766
|
+
_0x4b0e51: 0x2b0,
|
|
1767
|
+
_0x3caf89: 0x1ff,
|
|
1768
|
+
_0x61032: 0x2b2
|
|
1769
|
+
}, _0x5df4ce = _0xb29927;
|
|
1770
|
+
function _0x3cb585(_0x1924ad, _0x56dc81) {
|
|
1771
|
+
const _0x26a96a = _0x2d35;
|
|
1772
|
+
if (!_0x482529['workerMode'])
|
|
1791
1773
|
return;
|
|
1792
|
-
if (!
|
|
1793
|
-
throw new Error(
|
|
1794
|
-
if (
|
|
1795
|
-
throw new Error(
|
|
1774
|
+
if (!_0x482529[_0x26a96a(_0x2f312b._0x4b0e51)])
|
|
1775
|
+
throw new Error(_0x1924ad + _0x26a96a(_0x2f312b._0x3caf89));
|
|
1776
|
+
if (_0x56dc81 !== _0x482529['workerThreadTarget'])
|
|
1777
|
+
throw new Error(_0x1924ad + _0x26a96a(_0x2f312b._0x61032) + _0x482529[_0x26a96a(0x2b0)] + _0x26a96a(0x251) + _0x56dc81);
|
|
1796
1778
|
}
|
|
1797
|
-
async function
|
|
1798
|
-
const
|
|
1799
|
-
if (!
|
|
1779
|
+
async function _0x44d2ec(_0x32b98d) {
|
|
1780
|
+
const _0x52b2fa = _0x2d35;
|
|
1781
|
+
if (!_0x482529['daemonLocalUrl'] || !_0x482529[_0x52b2fa(_0x24e169._0x15a934)] || _0x482529[_0x52b2fa(_0x24e169._0xbc51bf)] || _0x482529[_0x52b2fa(0x1f4)] !== !![])
|
|
1800
1782
|
return null;
|
|
1801
|
-
const
|
|
1802
|
-
if (
|
|
1783
|
+
const _0x2f38ee = parseTarget(_0x32b98d[_0x52b2fa(0x1d2)]);
|
|
1784
|
+
if (_0x2f38ee[_0x52b2fa(0x12b)] !== 'channel')
|
|
1803
1785
|
return null;
|
|
1804
|
-
if (
|
|
1805
|
-
const
|
|
1786
|
+
if (_0x32b98d[_0x52b2fa(_0x24e169._0x451522)] === 'main') {
|
|
1787
|
+
const _0xf27551 = _0x32b98d['taskNumber'] == null ? '(legacy)' : '#' + _0x32b98d['taskNumber'];
|
|
1806
1788
|
return {
|
|
1807
|
-
'executionMode':
|
|
1789
|
+
'executionMode': _0x52b2fa(_0x24e169._0xee23f2),
|
|
1808
1790
|
'stopMain': ![],
|
|
1809
1791
|
'workerHandoff': ![],
|
|
1810
|
-
'workerHandoffError': 'task\x20' +
|
|
1792
|
+
'workerHandoffError': 'task\x20' + _0xf27551 + _0x52b2fa(_0x24e169._0x520baf)
|
|
1811
1793
|
};
|
|
1812
1794
|
}
|
|
1813
|
-
const
|
|
1814
|
-
let
|
|
1795
|
+
const _0x39c5cb = _0x32b98d[_0x52b2fa(0x22a)] != null ? _0x2f38ee[_0x52b2fa(_0x24e169._0x440c74)] + ':t' + _0x32b98d[_0x52b2fa(_0x24e169._0x208b36)] : _0x2f38ee[_0x52b2fa(0x232)] + ':' + _0x32b98d[_0x52b2fa(_0x24e169._0x573d0a)];
|
|
1796
|
+
let _0x435bc5;
|
|
1815
1797
|
try {
|
|
1816
|
-
const
|
|
1817
|
-
'channel':
|
|
1798
|
+
const _0x4eca58 = await _0x482529[_0x52b2fa(_0x24e169._0x1b69bb)]['readHistory']({
|
|
1799
|
+
'channel': _0x39c5cb,
|
|
1818
1800
|
'limit': 0x14
|
|
1819
1801
|
});
|
|
1820
|
-
|
|
1802
|
+
_0x435bc5 = _0x4eca58[_0x52b2fa(_0x24e169._0x468be2)][_0x52b2fa(0x1cd)](_0x62a7de => _0x62a7de[_0x52b2fa(0x1ac)] === _0x32b98d[_0x52b2fa(0x1ac)]);
|
|
1821
1803
|
} catch {
|
|
1822
|
-
|
|
1804
|
+
_0x435bc5 = void 0x0;
|
|
1823
1805
|
}
|
|
1824
|
-
const
|
|
1825
|
-
|
|
1806
|
+
const _0x5f16bf = _0x32b98d['taskNumber'] == null ? _0x52b2fa(0x27f) : '#' + _0x32b98d[_0x52b2fa(_0x24e169._0x3d8194)], _0x4804c5 = [
|
|
1807
|
+
_0x52b2fa(0x189) + _0x39c5cb + '\x20msg=' + _0x32b98d['messageId'][_0x52b2fa(_0x24e169._0x5e9a0c)](0x0, 0x8) + _0x52b2fa(_0x24e169._0x489fc3) + new Date()[_0x52b2fa(0x19e)]() + _0x52b2fa(0x2b1) + _0x5f16bf + _0x52b2fa(_0x24e169._0x117ba4),
|
|
1826
1808
|
'',
|
|
1827
|
-
|
|
1809
|
+
_0x435bc5 ? _0x52b2fa(0x257) + _0x435bc5[_0x52b2fa(0x20d)] : 'Root\x20task\x20message\x20id:\x20' + _0x32b98d[_0x52b2fa(_0x24e169._0x573d0a)],
|
|
1828
1810
|
'',
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
][
|
|
1832
|
-
'method':
|
|
1833
|
-
'headers': { 'Content-Type':
|
|
1834
|
-
'body': JSON[
|
|
1835
|
-
'agent_id':
|
|
1836
|
-
'thread_target':
|
|
1811
|
+
_0x52b2fa(_0x24e169._0x2e0c99) + _0x39c5cb,
|
|
1812
|
+
_0x52b2fa(_0x24e169._0x3a6122)
|
|
1813
|
+
][_0x52b2fa(0x218)]('\x0a'), _0x4ef028 = await fetch(_0x482529[_0x52b2fa(0x253)] + _0x52b2fa(_0x24e169._0x59ca08), {
|
|
1814
|
+
'method': 'POST',
|
|
1815
|
+
'headers': { 'Content-Type': _0x52b2fa(0x12e) },
|
|
1816
|
+
'body': JSON[_0x52b2fa(_0x24e169._0x375b40)]({
|
|
1817
|
+
'agent_id': _0x482529['agentId'],
|
|
1818
|
+
'thread_target': _0x39c5cb,
|
|
1837
1819
|
'spawn_packet': {
|
|
1838
|
-
'replyTarget':
|
|
1839
|
-
...
|
|
1820
|
+
'replyTarget': _0x39c5cb,
|
|
1821
|
+
..._0x32b98d[_0x52b2fa(0x1c7)] ? { 'taskId': _0x32b98d[_0x52b2fa(0x1c7)] } : _0x32b98d[_0x52b2fa(_0x24e169._0x48e276)] != null ? { 'taskId': _0x52b2fa(_0x24e169._0x146e57) + _0x32b98d['taskNumber'] } : {}
|
|
1840
1822
|
},
|
|
1841
1823
|
'payload': {
|
|
1842
|
-
'mode':
|
|
1843
|
-
'text':
|
|
1824
|
+
'mode': _0x52b2fa(0x223),
|
|
1825
|
+
'text': _0x4804c5
|
|
1844
1826
|
}
|
|
1845
1827
|
})
|
|
1846
|
-
}),
|
|
1847
|
-
if (!
|
|
1848
|
-
throw new Error(
|
|
1828
|
+
}), _0x539bca = await _0x4ef028[_0x52b2fa(_0x24e169._0x5ad48f)]();
|
|
1829
|
+
if (!_0x539bca['ok'])
|
|
1830
|
+
throw new Error(_0x539bca['error'] ?? _0x52b2fa(_0x24e169._0x444e2d));
|
|
1849
1831
|
return {
|
|
1850
1832
|
'stopMain': !![],
|
|
1851
|
-
'threadTarget':
|
|
1852
|
-
'workerDisposition':
|
|
1833
|
+
'threadTarget': _0x39c5cb,
|
|
1834
|
+
'workerDisposition': _0x539bca[_0x52b2fa(0x235)] === _0x52b2fa(_0x24e169._0x27921e) ? _0x52b2fa(0x236) : _0x52b2fa(0x281),
|
|
1853
1835
|
'workerHandoff': !![],
|
|
1854
|
-
'workerSessionId':
|
|
1855
|
-
'executionMode':
|
|
1836
|
+
'workerSessionId': _0x539bca['worker_session_id'] ?? '',
|
|
1837
|
+
'executionMode': _0x52b2fa(0x1f1)
|
|
1856
1838
|
};
|
|
1857
1839
|
}
|
|
1858
|
-
async function
|
|
1859
|
-
const
|
|
1860
|
-
if (!
|
|
1840
|
+
async function _0x2e7244() {
|
|
1841
|
+
const _0x2bac1d = _0x2d35;
|
|
1842
|
+
if (!_0x482529['daemonLocalUrl'] || !_0x482529[_0x2bac1d(0x286)] || _0x482529[_0x2bac1d(0x15e)])
|
|
1861
1843
|
return null;
|
|
1862
1844
|
try {
|
|
1863
|
-
const
|
|
1864
|
-
if (!
|
|
1845
|
+
const _0x2971b4 = await fetch(_0x482529[_0x2bac1d(_0x424998._0x34016e)] + '/workers/list?agent_id=' + encodeURIComponent(_0x482529[_0x2bac1d(0x286)])), _0x13f33c = await _0x2971b4[_0x2bac1d(_0x424998._0xcdf86a)]();
|
|
1846
|
+
if (!_0x13f33c['ok'])
|
|
1865
1847
|
return null;
|
|
1866
|
-
const
|
|
1867
|
-
for (const
|
|
1868
|
-
|
|
1848
|
+
const _0x5b4e6b = new Set();
|
|
1849
|
+
for (const _0x3db11d of _0x13f33c['workers']) {
|
|
1850
|
+
_0x3db11d[_0x2bac1d(0x14a)] !== 'destroyed' && _0x3db11d['thread_target'] && _0x5b4e6b[_0x2bac1d(0x216)](_0x3db11d[_0x2bac1d(0x1da)]);
|
|
1869
1851
|
}
|
|
1870
|
-
return
|
|
1852
|
+
return _0x5b4e6b['size'] > 0x0 ? _0x5b4e6b : null;
|
|
1871
1853
|
} catch {
|
|
1872
1854
|
return null;
|
|
1873
1855
|
}
|
|
1874
1856
|
}
|
|
1875
|
-
const
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1857
|
+
const _0x1161a6 = new Set([
|
|
1858
|
+
_0x5df4ce(_0x29050e._0xea34f7),
|
|
1859
|
+
'idle',
|
|
1860
|
+
'waiting_input'
|
|
1879
1861
|
]);
|
|
1880
|
-
async function
|
|
1881
|
-
const
|
|
1882
|
-
if (!
|
|
1862
|
+
async function _0x42ae77() {
|
|
1863
|
+
const _0x5b2ce1 = _0x5df4ce;
|
|
1864
|
+
if (!_0x482529[_0x5b2ce1(0x253)] || !_0x482529[_0x5b2ce1(_0x590c1e._0x19de86)] || _0x482529['workerMode'])
|
|
1883
1865
|
return null;
|
|
1884
1866
|
try {
|
|
1885
|
-
const
|
|
1886
|
-
if (!
|
|
1867
|
+
const _0x402605 = await fetch(_0x482529['daemonLocalUrl'] + _0x5b2ce1(_0x590c1e._0x28cab1) + encodeURIComponent(_0x482529[_0x5b2ce1(0x286)])), _0x107961 = await _0x402605[_0x5b2ce1(_0x590c1e._0x468ec1)]();
|
|
1868
|
+
if (!_0x107961['ok'])
|
|
1887
1869
|
return null;
|
|
1888
|
-
const
|
|
1889
|
-
for (const
|
|
1890
|
-
|
|
1870
|
+
const _0x2a3822 = new Set();
|
|
1871
|
+
for (const _0x42d183 of _0x107961[_0x5b2ce1(_0x590c1e._0x249fc4)]) {
|
|
1872
|
+
_0x1161a6[_0x5b2ce1(0x23f)](_0x42d183[_0x5b2ce1(_0x590c1e._0x5617f9)]) && _0x42d183[_0x5b2ce1(_0x590c1e._0x5b5b4f)] && _0x2a3822['add'](_0x42d183[_0x5b2ce1(_0x590c1e._0x337cce)]);
|
|
1891
1873
|
}
|
|
1892
|
-
return
|
|
1874
|
+
return _0x2a3822['size'] > 0x0 ? _0x2a3822 : null;
|
|
1893
1875
|
} catch {
|
|
1894
1876
|
return null;
|
|
1895
1877
|
}
|
|
1896
1878
|
}
|
|
1897
1879
|
return {
|
|
1898
|
-
async 'send_message'(
|
|
1899
|
-
const
|
|
1900
|
-
if (!
|
|
1901
|
-
const
|
|
1902
|
-
if (
|
|
1903
|
-
if (
|
|
1904
|
-
const
|
|
1905
|
-
'attachmentIds':
|
|
1906
|
-
'content':
|
|
1907
|
-
'target':
|
|
1908
|
-
'visibility':
|
|
1880
|
+
async 'send_message'(_0x21da5a) {
|
|
1881
|
+
const _0x2ba61b = _0x5df4ce;
|
|
1882
|
+
if (!_0x482529[_0x2ba61b(_0x5251c8._0x55cfaf)] && _0x482529['workerModeEnabled'] && _0x482529[_0x2ba61b(_0x5251c8._0x2542ca)] && _0x482529[_0x2ba61b(0x286)]) {
|
|
1883
|
+
const _0x248af1 = await _0x482529[_0x2ba61b(0x13f)]['resolveTarget'](_0x21da5a[_0x2ba61b(_0x5251c8._0x529581)]);
|
|
1884
|
+
if (_0x248af1[_0x2ba61b(_0x5251c8._0x39192f)] && _0x248af1[_0x2ba61b(_0x5251c8._0x4c02e7)]) {
|
|
1885
|
+
if (_0x248af1[_0x2ba61b(_0x5251c8._0x2811e6)][_0x2ba61b(0x140)] === _0x2ba61b(0x167)) {
|
|
1886
|
+
const _0x3f77ec = await _0x482529[_0x2ba61b(0x13f)][_0x2ba61b(0x24f)]({
|
|
1887
|
+
'attachmentIds': _0x21da5a[_0x2ba61b(0x1dc)],
|
|
1888
|
+
'content': _0x21da5a['content'],
|
|
1889
|
+
'target': _0x21da5a[_0x2ba61b(_0x5251c8._0x529581)],
|
|
1890
|
+
'visibility': _0x21da5a[_0x2ba61b(0x2a1)]
|
|
1909
1891
|
});
|
|
1910
|
-
return
|
|
1892
|
+
return 'Message\x20sent\x20to\x20' + _0x21da5a[_0x2ba61b(0x124)] + _0x2ba61b(0x277) + _0x3f77ec[_0x2ba61b(0x1ac)];
|
|
1911
1893
|
}
|
|
1912
|
-
const
|
|
1913
|
-
if (
|
|
1894
|
+
const _0x14a6fe = _0x248af1[_0x2ba61b(0x163)][_0x2ba61b(0x22b)] != null ? '#' + _0x248af1[_0x2ba61b(_0x5251c8._0x33d8a2)][_0x2ba61b(0x22b)] : _0x2ba61b(_0x5251c8._0x1cb27b), _0x1e5483 = _0x248af1[_0x2ba61b(_0x5251c8._0x380f8a)] != null ? _0x248af1[_0x2ba61b(0x124)] + ':t' + _0x248af1[_0x2ba61b(0x22a)] : _0x248af1['target'] + ':' + _0x248af1[_0x2ba61b(_0x5251c8._0x50b182)][_0x2ba61b(_0x5251c8._0x2e494c)](0x0, 0x8), _0x34e55c = await _0x42ae77();
|
|
1895
|
+
if (_0x34e55c?.[_0x2ba61b(_0x5251c8._0x3104f3)](_0x1e5483))
|
|
1914
1896
|
return [
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
][
|
|
1918
|
-
const
|
|
1919
|
-
|
|
1897
|
+
'Task\x20' + _0x14a6fe + _0x2ba61b(_0x5251c8._0x22e192) + _0x1e5483 + _0x2ba61b(0x1bd),
|
|
1898
|
+
_0x2ba61b(_0x5251c8._0x1aa21d)
|
|
1899
|
+
][_0x2ba61b(_0x5251c8._0xa7af65)]('\x0a');
|
|
1900
|
+
const _0x23429f = [
|
|
1901
|
+
_0x2ba61b(_0x5251c8._0x5b7152) + _0x1e5483 + '\x20msg=handoff\x20time=' + new Date()['toISOString']() + _0x2ba61b(_0x5251c8._0x7a2356),
|
|
1920
1902
|
'',
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
'Thread\x20target:\x20' +
|
|
1924
|
-
|
|
1925
|
-
]['join']('\x0a'),
|
|
1926
|
-
'method':
|
|
1927
|
-
'headers': { 'Content-Type':
|
|
1928
|
-
'body': JSON[
|
|
1929
|
-
'agent_id':
|
|
1930
|
-
'thread_target':
|
|
1903
|
+
_0x2ba61b(0x1cc) + _0x21da5a['content'],
|
|
1904
|
+
_0x2ba61b(_0x5251c8._0x24e00e) + _0x14a6fe + '\x20(' + _0x248af1[_0x2ba61b(_0x5251c8._0x39192f)][_0x2ba61b(0x1c7)] + ')',
|
|
1905
|
+
'Thread\x20target:\x20' + _0x1e5483,
|
|
1906
|
+
_0x2ba61b(0x1aa)
|
|
1907
|
+
]['join']('\x0a'), _0x286f85 = await fetch(_0x482529[_0x2ba61b(_0x5251c8._0x7ab1e3)] + _0x2ba61b(0x184), {
|
|
1908
|
+
'method': _0x2ba61b(_0x5251c8._0x4a2821),
|
|
1909
|
+
'headers': { 'Content-Type': _0x2ba61b(_0x5251c8._0x35d28d) },
|
|
1910
|
+
'body': JSON[_0x2ba61b(0x214)]({
|
|
1911
|
+
'agent_id': _0x482529['agentId'],
|
|
1912
|
+
'thread_target': _0x1e5483,
|
|
1931
1913
|
'spawn_packet': {
|
|
1932
|
-
'replyTarget':
|
|
1933
|
-
'taskId':
|
|
1914
|
+
'replyTarget': _0x1e5483,
|
|
1915
|
+
'taskId': _0x248af1[_0x2ba61b(0x163)]['taskId']
|
|
1934
1916
|
},
|
|
1935
1917
|
'payload': {
|
|
1936
|
-
'mode':
|
|
1937
|
-
'text':
|
|
1918
|
+
'mode': 'user',
|
|
1919
|
+
'text': _0x23429f
|
|
1938
1920
|
}
|
|
1939
1921
|
})
|
|
1940
|
-
}),
|
|
1941
|
-
if (!
|
|
1942
|
-
throw new Error(
|
|
1922
|
+
}), _0x1c714f = await _0x286f85[_0x2ba61b(0x127)]();
|
|
1923
|
+
if (!_0x1c714f['ok'])
|
|
1924
|
+
throw new Error(_0x1c714f[_0x2ba61b(_0x5251c8._0x521ebd)] ?? 'enter-handoff\x20failed');
|
|
1943
1925
|
return [
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
][
|
|
1926
|
+
'Handoff\x20to\x20worker\x20for\x20task\x20' + _0x14a6fe + '\x20in\x20' + _0x1e5483 + _0x2ba61b(0x25a),
|
|
1927
|
+
_0x2ba61b(_0x5251c8._0x1debf2) + (_0x1c714f[_0x2ba61b(_0x5251c8._0x4ec5ee)] === _0x2ba61b(0x236) ? _0x2ba61b(_0x5251c8._0x43a865) : 'started') + '.',
|
|
1928
|
+
'⚠️\x20WORKER\x20ACTIVATED\x20—\x20Stop\x20ALL\x20work\x20on\x20this\x20task\x20immediately.\x20Do\x20not\x20send\x20further\x20messages\x20to\x20this\x20thread.'
|
|
1929
|
+
][_0x2ba61b(_0x5251c8._0xa7af65)]('\x0a');
|
|
1948
1930
|
}
|
|
1949
1931
|
}
|
|
1950
|
-
const
|
|
1951
|
-
'attachmentIds':
|
|
1952
|
-
'content':
|
|
1953
|
-
'target':
|
|
1954
|
-
'visibility':
|
|
1932
|
+
const _0xbbddff = await _0x482529[_0x2ba61b(0x13f)][_0x2ba61b(0x24f)]({
|
|
1933
|
+
'attachmentIds': _0x21da5a[_0x2ba61b(_0x5251c8._0x4ed2d7)],
|
|
1934
|
+
'content': _0x21da5a['content'],
|
|
1935
|
+
'target': _0x21da5a[_0x2ba61b(_0x5251c8._0x529581)],
|
|
1936
|
+
'visibility': _0x21da5a['visibility']
|
|
1955
1937
|
});
|
|
1956
|
-
return
|
|
1938
|
+
return _0x2ba61b(_0x5251c8._0x54a124) + _0x21da5a[_0x2ba61b(0x124)] + '.\x20Message\x20ID:\x20' + _0xbbddff[_0x2ba61b(0x1ac)];
|
|
1957
1939
|
},
|
|
1958
1940
|
async 'check_messages'() {
|
|
1959
|
-
const
|
|
1960
|
-
if (!
|
|
1961
|
-
const
|
|
1962
|
-
if (
|
|
1963
|
-
return formatCheckMessages(
|
|
1941
|
+
const _0x38bbbf = _0x5df4ce, _0x4cff6 = await _0x482529[_0x38bbbf(0x13f)][_0x38bbbf(_0x3a0d3f._0x143159)]();
|
|
1942
|
+
if (!_0x482529[_0x38bbbf(_0x3a0d3f._0x36415a)]) {
|
|
1943
|
+
const _0x5c9344 = await _0x2e7244();
|
|
1944
|
+
if (_0x5c9344)
|
|
1945
|
+
return formatCheckMessages(_0x4cff6[_0x38bbbf(0x24e)][_0x38bbbf(_0x3a0d3f._0x36ab46)](_0x54a9d2 => !_0x5c9344[_0x38bbbf(0x23f)](_0x54a9d2[_0x38bbbf(0x124)])));
|
|
1964
1946
|
}
|
|
1965
|
-
return formatCheckMessages(
|
|
1947
|
+
return formatCheckMessages(_0x4cff6[_0x38bbbf(_0x3a0d3f._0x49556a)]);
|
|
1966
1948
|
},
|
|
1967
|
-
async 'read_history'(
|
|
1968
|
-
const
|
|
1969
|
-
return formatHistory(
|
|
1949
|
+
async 'read_history'(_0x344d40) {
|
|
1950
|
+
const _0x56b30a = _0x5df4ce, _0x6e4da2 = await _0x482529[_0x56b30a(0x13f)][_0x56b30a(0x1f9)](_0x344d40);
|
|
1951
|
+
return formatHistory(_0x6e4da2);
|
|
1970
1952
|
},
|
|
1971
1953
|
async 'list_server'() {
|
|
1972
|
-
const
|
|
1973
|
-
return formatServerDirectory(
|
|
1954
|
+
const _0x29ea19 = _0x5df4ce, _0x510833 = await _0x482529['client'][_0x29ea19(_0x431af2._0x390f24)]();
|
|
1955
|
+
return formatServerDirectory(_0x510833);
|
|
1974
1956
|
},
|
|
1975
|
-
async 'list_tasks'(
|
|
1976
|
-
const
|
|
1977
|
-
let
|
|
1978
|
-
if (
|
|
1957
|
+
async 'list_tasks'(_0xf53956) {
|
|
1958
|
+
const _0x162f73 = _0x5df4ce, _0x3ad4c6 = await _0x482529[_0x162f73(_0x1d0d8b._0xafd4f6)]['listTasks'](_0xf53956);
|
|
1959
|
+
let _0x1958a6;
|
|
1960
|
+
if (_0x482529[_0x162f73(_0x1d0d8b._0x1e767f)] && _0x482529['agentId'])
|
|
1979
1961
|
try {
|
|
1980
|
-
const
|
|
1981
|
-
if (
|
|
1982
|
-
const
|
|
1983
|
-
|
|
1984
|
-
for (const
|
|
1985
|
-
if (
|
|
1962
|
+
const _0x50a2a9 = await fetch(_0x482529[_0x162f73(_0x1d0d8b._0x1e767f)] + '/workers/list?agent_id=' + encodeURIComponent(_0x482529[_0x162f73(0x286)])), _0xb033a9 = await _0x50a2a9[_0x162f73(_0x1d0d8b._0x30dae0)]();
|
|
1963
|
+
if (_0xb033a9['ok']) {
|
|
1964
|
+
const _0x57e3f0 = _0xf53956[_0x162f73(_0x1d0d8b._0x27e918)] + ':';
|
|
1965
|
+
_0x1958a6 = new Set();
|
|
1966
|
+
for (const _0x3ca3a2 of _0xb033a9[_0x162f73(0x288)]) {
|
|
1967
|
+
if (_0x3ca3a2['status'] === _0x162f73(_0x1d0d8b._0x5bbd98))
|
|
1986
1968
|
continue;
|
|
1987
|
-
if (
|
|
1988
|
-
const
|
|
1989
|
-
if (
|
|
1990
|
-
|
|
1969
|
+
if (_0x3ca3a2['thread_target']?.[_0x162f73(_0x1d0d8b._0x5ed372)](_0x57e3f0)) {
|
|
1970
|
+
const _0x1f1216 = _0x3ca3a2['thread_target'][_0x162f73(_0x1d0d8b._0x452215)](_0x57e3f0[_0x162f73(0x2ad)]), _0x76924a = _0x3ad4c6[_0x162f73(_0x1d0d8b._0x129046)][_0x162f73(0x1cd)](_0x13cf35 => _0x13cf35['messageId']?.[_0x162f73(0x1e5)](_0x1f1216) === !![]);
|
|
1971
|
+
if (_0x76924a?.[_0x162f73(0x22b)] != null) {
|
|
1972
|
+
_0x1958a6['add'](_0x76924a[_0x162f73(0x22b)]);
|
|
1991
1973
|
continue;
|
|
1992
1974
|
}
|
|
1993
1975
|
}
|
|
1994
|
-
if (
|
|
1995
|
-
const
|
|
1996
|
-
|
|
1976
|
+
if (_0x3ca3a2[_0x162f73(0x18f)]) {
|
|
1977
|
+
const _0x3a63b2 = _0x3ad4c6[_0x162f73(0x186)]['find'](_0x295d35 => _0x295d35[_0x162f73(0x1c7)] === _0x3ca3a2[_0x162f73(0x18f)]);
|
|
1978
|
+
_0x3a63b2?.['taskNumber'] != null && _0x1958a6[_0x162f73(_0x1d0d8b._0x4ac708)](_0x3a63b2[_0x162f73(0x22b)]);
|
|
1997
1979
|
}
|
|
1998
1980
|
}
|
|
1999
1981
|
}
|
|
2000
1982
|
} catch {
|
|
2001
1983
|
}
|
|
2002
|
-
return formatTaskList(
|
|
1984
|
+
return formatTaskList(_0x3ad4c6[_0x162f73(0x186)], _0x1958a6);
|
|
2003
1985
|
},
|
|
2004
|
-
async 'create_tasks'(
|
|
2005
|
-
const
|
|
2006
|
-
|
|
2007
|
-
const
|
|
2008
|
-
return formatCreatedTasks(
|
|
1986
|
+
async 'create_tasks'(_0x4acc58) {
|
|
1987
|
+
const _0x58d6f5 = _0x5df4ce;
|
|
1988
|
+
_0x3cb585('create_tasks', _0x4acc58[_0x58d6f5(_0x2d44ba._0x29eb1a)]);
|
|
1989
|
+
const _0x411050 = await _0x482529[_0x58d6f5(0x13f)][_0x58d6f5(_0x2d44ba._0x276abb)](_0x4acc58);
|
|
1990
|
+
return formatCreatedTasks(_0x411050[_0x58d6f5(_0x2d44ba._0x4aeee3)]);
|
|
2009
1991
|
},
|
|
2010
|
-
async 'claim_tasks'(
|
|
2011
|
-
const
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
}, _0x4c3280 = _0x3c18f6;
|
|
2019
|
-
if (_0xf94d17[_0x4c3280(0x25a)]) {
|
|
2020
|
-
_0x2495c6(_0x4c3280(_0x43b6a4._0x4500ae), _0x1f45b2['channel']);
|
|
2021
|
-
if (_0x1f45b2['message_ids'] && _0x1f45b2[_0x4c3280(_0x43b6a4._0x97dd72)]['length'] > 0x0)
|
|
2022
|
-
throw new Error(_0x4c3280(_0x43b6a4._0x5268ec));
|
|
2023
|
-
if (!_0x1f45b2['subtask_numbers'] || _0x1f45b2['subtask_numbers'][_0x4c3280(0x170)] === 0x0)
|
|
2024
|
-
throw new Error(_0x4c3280(_0x43b6a4._0x833bcd));
|
|
1992
|
+
async 'claim_tasks'(_0x2b8afd) {
|
|
1993
|
+
const _0x43a289 = _0x5df4ce;
|
|
1994
|
+
if (_0x482529['workerMode']) {
|
|
1995
|
+
_0x3cb585(_0x43a289(0x1ea), _0x2b8afd[_0x43a289(_0x103dec._0x146cdc)]);
|
|
1996
|
+
if (_0x2b8afd['message_ids'] && _0x2b8afd[_0x43a289(0x1d1)][_0x43a289(_0x103dec._0x31a5ef)] > 0x0)
|
|
1997
|
+
throw new Error(_0x43a289(0x1a7));
|
|
1998
|
+
if (!_0x2b8afd[_0x43a289(_0x103dec._0x5b9945)] || _0x2b8afd[_0x43a289(_0x103dec._0x5b9945)]['length'] === 0x0)
|
|
1999
|
+
throw new Error(_0x43a289(0x212));
|
|
2025
2000
|
}
|
|
2026
|
-
const
|
|
2027
|
-
const
|
|
2028
|
-
if (!
|
|
2029
|
-
return
|
|
2001
|
+
const _0x532a6b = await _0x482529[_0x43a289(0x13f)][_0x43a289(_0x103dec._0x1a44aa)](_0x2b8afd), _0x265567 = await Promise[_0x43a289(0x169)](_0x532a6b[_0x43a289(_0x103dec._0x55dbb4)][_0x43a289(_0x103dec._0xd14136)](async _0xf53e47 => {
|
|
2002
|
+
const _0x1c451a = _0x43a289;
|
|
2003
|
+
if (!_0xf53e47[_0x1c451a(_0x4b589d._0x4c3a6b)] || !_0xf53e47[_0x1c451a(_0x4b589d._0xf49311)])
|
|
2004
|
+
return _0xf53e47;
|
|
2030
2005
|
try {
|
|
2031
|
-
const
|
|
2032
|
-
'channel':
|
|
2033
|
-
'executionMode':
|
|
2034
|
-
'messageId':
|
|
2035
|
-
'taskId':
|
|
2036
|
-
'taskNumber':
|
|
2037
|
-
'threadNumber':
|
|
2006
|
+
const _0x52c150 = await _0x44d2ec({
|
|
2007
|
+
'channel': _0x2b8afd['channel'],
|
|
2008
|
+
'executionMode': _0xf53e47['executionMode'],
|
|
2009
|
+
'messageId': _0xf53e47[_0x1c451a(_0x4b589d._0xf49311)],
|
|
2010
|
+
'taskId': _0xf53e47[_0x1c451a(_0x4b589d._0x440d5c)],
|
|
2011
|
+
'taskNumber': _0xf53e47[_0x1c451a(0x22b)],
|
|
2012
|
+
'threadNumber': _0xf53e47[_0x1c451a(0x22a)]
|
|
2038
2013
|
});
|
|
2039
|
-
return
|
|
2040
|
-
...
|
|
2041
|
-
...
|
|
2042
|
-
} :
|
|
2043
|
-
} catch (
|
|
2014
|
+
return _0x52c150 ? {
|
|
2015
|
+
..._0xf53e47,
|
|
2016
|
+
..._0x52c150
|
|
2017
|
+
} : _0xf53e47;
|
|
2018
|
+
} catch (_0x5dcd8a) {
|
|
2044
2019
|
return {
|
|
2045
|
-
...
|
|
2046
|
-
'workerHandoffError':
|
|
2020
|
+
..._0xf53e47,
|
|
2021
|
+
'workerHandoffError': _0x5dcd8a instanceof Error ? _0x5dcd8a['message'] : 'worker\x20handoff\x20failed'
|
|
2047
2022
|
};
|
|
2048
2023
|
}
|
|
2049
2024
|
}));
|
|
2050
|
-
return formatClaimTaskResults(
|
|
2025
|
+
return formatClaimTaskResults(_0x265567);
|
|
2051
2026
|
},
|
|
2052
|
-
async 'unclaim_task'(
|
|
2053
|
-
const
|
|
2054
|
-
if (
|
|
2055
|
-
|
|
2056
|
-
if (
|
|
2057
|
-
throw new Error(
|
|
2027
|
+
async 'unclaim_task'(_0x3cb172) {
|
|
2028
|
+
const _0x22e716 = _0x5df4ce;
|
|
2029
|
+
if (_0x482529[_0x22e716(0x15e)]) {
|
|
2030
|
+
_0x3cb585(_0x22e716(0x164), _0x3cb172['channel']);
|
|
2031
|
+
if (_0x3cb172[_0x22e716(0x296)] == null)
|
|
2032
|
+
throw new Error(_0x22e716(_0xe4354d._0xc3e09c));
|
|
2058
2033
|
}
|
|
2059
|
-
const
|
|
2060
|
-
return formatUnclaimTaskResult(
|
|
2034
|
+
const _0x337b52 = await _0x482529[_0x22e716(_0xe4354d._0x490bdb)][_0x22e716(_0xe4354d._0x5d7d0f)](_0x3cb172);
|
|
2035
|
+
return formatUnclaimTaskResult(_0x337b52);
|
|
2061
2036
|
},
|
|
2062
|
-
async 'update_task_status'(
|
|
2063
|
-
const
|
|
2064
|
-
|
|
2065
|
-
const
|
|
2066
|
-
return formatUpdateTaskStatusResult(
|
|
2037
|
+
async 'update_task_status'(_0xfde62c) {
|
|
2038
|
+
const _0x1dff7a = _0x5df4ce;
|
|
2039
|
+
_0x3cb585(_0x1dff7a(0x225), _0xfde62c[_0x1dff7a(0x1d2)]);
|
|
2040
|
+
const _0x4787b9 = await _0x482529['client']['updateTaskStatus'](_0xfde62c);
|
|
2041
|
+
return formatUpdateTaskStatusResult(_0x4787b9);
|
|
2067
2042
|
},
|
|
2068
|
-
async 'upload_file'(
|
|
2069
|
-
const
|
|
2070
|
-
sizeBytes:
|
|
2071
|
-
...
|
|
2072
|
-
} =
|
|
2073
|
-
'channel':
|
|
2074
|
-
...
|
|
2043
|
+
async 'upload_file'(_0x15e59e) {
|
|
2044
|
+
const _0x42a27d = _0x5df4ce, _0x408c05 = await _0x482529['uploadPreparer'](_0x15e59e[_0x42a27d(_0x36ce21._0xdf2a10)]), {
|
|
2045
|
+
sizeBytes: _0x561b9d,
|
|
2046
|
+
..._0x4d1695
|
|
2047
|
+
} = _0x408c05, _0xc8d218 = await _0x482529[_0x42a27d(_0x36ce21._0x4b9bfa)][_0x42a27d(0x28b)]({
|
|
2048
|
+
'channel': _0x15e59e[_0x42a27d(_0x36ce21._0x255094)],
|
|
2049
|
+
..._0x4d1695
|
|
2075
2050
|
});
|
|
2076
|
-
return formatUploadResult(
|
|
2051
|
+
return formatUploadResult(_0xc8d218);
|
|
2077
2052
|
},
|
|
2078
|
-
async 'view_file'(
|
|
2079
|
-
const
|
|
2080
|
-
if (
|
|
2081
|
-
return formatViewFileResult(
|
|
2082
|
-
const
|
|
2083
|
-
'attachmentId':
|
|
2084
|
-
'contentType':
|
|
2085
|
-
'data':
|
|
2086
|
-
'originalFilename':
|
|
2053
|
+
async 'view_file'(_0x15429e) {
|
|
2054
|
+
const _0xe15b2e = _0x5df4ce, _0x1d521e = await _0x482529[_0xe15b2e(_0x351f89._0x5a9657)][_0xe15b2e(_0x351f89._0x31f6ca)](_0x15429e[_0xe15b2e(_0x351f89._0x9c9f04)]);
|
|
2055
|
+
if (_0x1d521e)
|
|
2056
|
+
return formatViewFileResult(_0x1d521e, !![]);
|
|
2057
|
+
const _0x53ca48 = await _0x482529[_0xe15b2e(_0x351f89._0x1e6f3c)][_0xe15b2e(0x162)](_0x15429e['attachment_id']), _0x3f75fe = await _0x482529[_0xe15b2e(_0x351f89._0x592c51)][_0xe15b2e(_0x351f89._0x437388)]({
|
|
2058
|
+
'attachmentId': _0x15429e['attachment_id'],
|
|
2059
|
+
'contentType': _0x53ca48[_0xe15b2e(0x25c)],
|
|
2060
|
+
'data': _0x53ca48[_0xe15b2e(0x261)],
|
|
2061
|
+
'originalFilename': _0x53ca48[_0xe15b2e(_0x351f89._0x2d0deb)]
|
|
2087
2062
|
});
|
|
2088
|
-
return formatViewFileResult(
|
|
2063
|
+
return formatViewFileResult(_0x3f75fe, ![]);
|
|
2089
2064
|
},
|
|
2090
|
-
async 'get_worker_status'(
|
|
2091
|
-
const
|
|
2092
|
-
if (!
|
|
2093
|
-
return
|
|
2094
|
-
const
|
|
2095
|
-
if (!
|
|
2096
|
-
return
|
|
2097
|
-
return
|
|
2065
|
+
async 'get_worker_status'(_0x1a4037) {
|
|
2066
|
+
const _0x1d33f7 = _0x5df4ce;
|
|
2067
|
+
if (!_0x482529[_0x1d33f7(_0x2a64fd._0x59b4e1)])
|
|
2068
|
+
return _0x1d33f7(_0x2a64fd._0x38d64b);
|
|
2069
|
+
const _0x2ae6cc = await fetch(_0x482529['daemonLocalUrl'] + _0x1d33f7(0x27a) + encodeURIComponent(_0x1a4037[_0x1d33f7(_0x2a64fd._0x62f8d7)])), _0x1c57b8 = await _0x2ae6cc[_0x1d33f7(_0x2a64fd._0x4ea9ea)]();
|
|
2070
|
+
if (!_0x1c57b8['ok'])
|
|
2071
|
+
return _0x1d33f7(0x2af) + _0x1a4037['work_key'] + _0x1d33f7(0x1bc);
|
|
2072
|
+
return _0x1d33f7(0x2af) + _0x1a4037[_0x1d33f7(0x1d9)] + _0x1d33f7(0x194) + _0x1c57b8['status'];
|
|
2098
2073
|
},
|
|
2099
|
-
async 'park_worker'(
|
|
2100
|
-
const
|
|
2101
|
-
if (!
|
|
2102
|
-
return
|
|
2103
|
-
const
|
|
2104
|
-
'method':
|
|
2105
|
-
'headers': { 'Content-Type': _0x3351fb(_0x273cf3._0x522a3c) },
|
|
2106
|
-
'body': JSON[_0x3351fb(0x2b4)]({ 'work_key': _0x1e9d26[_0x3351fb(0x24b)] })
|
|
2107
|
-
}), _0xee44fe = await _0x42516d[_0x3351fb(_0x273cf3._0x3cf2b4)]();
|
|
2108
|
-
if (!_0xee44fe['ok'])
|
|
2109
|
-
throw new Error(_0xee44fe[_0x3351fb(0x1e8)] ?? _0x3351fb(_0x273cf3._0x589b54));
|
|
2110
|
-
return _0x3351fb(0x2de) + _0x1e9d26[_0x3351fb(_0x273cf3._0x495008)] + _0x3351fb(_0x273cf3._0x1cabb6);
|
|
2111
|
-
},
|
|
2112
|
-
async 'mark_waiting_input'(_0x50a7ef) {
|
|
2113
|
-
const _0xf9a11e = _0x3c18f6;
|
|
2114
|
-
if (!_0xf94d17[_0xf9a11e(_0x2b4df2._0x235a6a)] || !_0xf94d17[_0xf9a11e(0x241)])
|
|
2115
|
-
return _0xf9a11e(0x292);
|
|
2116
|
-
const _0x496e63 = await fetch(_0xf94d17['daemonLocalUrl'] + _0xf9a11e(0x2b8), {
|
|
2117
|
-
'method': _0xf9a11e(0x258),
|
|
2074
|
+
async 'park_worker'(_0x507fe7) {
|
|
2075
|
+
const _0xc6ee0a = _0x5df4ce;
|
|
2076
|
+
if (!_0x482529[_0xc6ee0a(_0x389de4._0x45fb88)])
|
|
2077
|
+
return _0xc6ee0a(0x23a);
|
|
2078
|
+
const _0x4381e6 = await fetch(_0x482529[_0xc6ee0a(_0x389de4._0x45fb88)] + '/workers/park', {
|
|
2079
|
+
'method': _0xc6ee0a(0x173),
|
|
2118
2080
|
'headers': { 'Content-Type': 'application/json' },
|
|
2119
|
-
'body': JSON['
|
|
2120
|
-
|
|
2121
|
-
|
|
2081
|
+
'body': JSON[_0xc6ee0a(0x214)]({ 'work_key': _0x507fe7[_0xc6ee0a(_0x389de4._0x2aa9ef)] })
|
|
2082
|
+
}), _0x150650 = await _0x4381e6[_0xc6ee0a(_0x389de4._0x30037a)]();
|
|
2083
|
+
if (!_0x150650['ok'])
|
|
2084
|
+
throw new Error(_0x150650[_0xc6ee0a(_0x389de4._0x56ed91)] ?? 'park_worker\x20failed');
|
|
2085
|
+
return _0xc6ee0a(0x2af) + _0x507fe7['work_key'] + _0xc6ee0a(0x21f);
|
|
2086
|
+
},
|
|
2087
|
+
async 'mark_waiting_input'(_0x4bb902) {
|
|
2088
|
+
const _0x913158 = _0x5df4ce;
|
|
2089
|
+
if (!_0x482529[_0x913158(_0x1d5166._0x4509c7)] || !_0x482529[_0x913158(_0x1d5166._0x2b1aaa)])
|
|
2090
|
+
return _0x913158(_0x1d5166._0x34b069);
|
|
2091
|
+
const _0x348d31 = await fetch(_0x482529[_0x913158(0x253)] + '/workers/waiting_input', {
|
|
2092
|
+
'method': 'POST',
|
|
2093
|
+
'headers': { 'Content-Type': _0x913158(0x12e) },
|
|
2094
|
+
'body': JSON[_0x913158(0x214)]({
|
|
2095
|
+
'work_key': _0x4bb902[_0x913158(0x1d9)],
|
|
2096
|
+
'agent_id': _0x482529[_0x913158(0x286)]
|
|
2122
2097
|
})
|
|
2123
|
-
}),
|
|
2124
|
-
if (!
|
|
2125
|
-
throw new Error(
|
|
2126
|
-
return
|
|
2098
|
+
}), _0x54bb79 = await _0x348d31[_0x913158(0x127)]();
|
|
2099
|
+
if (!_0x54bb79['ok'])
|
|
2100
|
+
throw new Error(_0x54bb79[_0x913158(0x249)] ?? 'mark_waiting_input\x20failed');
|
|
2101
|
+
return 'Worker\x20\x22' + _0x4bb902[_0x913158(_0x1d5166._0x15904b)] + _0x913158(0x160);
|
|
2127
2102
|
},
|
|
2128
|
-
async 'escalate_to_main'(
|
|
2129
|
-
const
|
|
2130
|
-
if (!
|
|
2131
|
-
return
|
|
2132
|
-
const
|
|
2133
|
-
'method':
|
|
2134
|
-
'headers': { 'Content-Type':
|
|
2135
|
-
'body': JSON[
|
|
2136
|
-
'work_key':
|
|
2137
|
-
'reason':
|
|
2103
|
+
async 'escalate_to_main'(_0x4bada4) {
|
|
2104
|
+
const _0x1551ab = _0x5df4ce;
|
|
2105
|
+
if (!_0x482529[_0x1551ab(0x253)])
|
|
2106
|
+
return _0x1551ab(0x23a);
|
|
2107
|
+
const _0x1a5f56 = await fetch(_0x482529[_0x1551ab(0x253)] + _0x1551ab(_0x5f3da5._0x40f220), {
|
|
2108
|
+
'method': _0x1551ab(0x173),
|
|
2109
|
+
'headers': { 'Content-Type': _0x1551ab(_0x5f3da5._0x2fc5f7) },
|
|
2110
|
+
'body': JSON['stringify']({
|
|
2111
|
+
'work_key': _0x4bada4[_0x1551ab(0x1d9)],
|
|
2112
|
+
'reason': _0x4bada4['reason']
|
|
2138
2113
|
})
|
|
2139
|
-
}),
|
|
2140
|
-
if (!
|
|
2141
|
-
throw new Error(
|
|
2142
|
-
return
|
|
2114
|
+
}), _0x5510a5 = await _0x1a5f56[_0x1551ab(0x127)]();
|
|
2115
|
+
if (!_0x5510a5['ok'])
|
|
2116
|
+
throw new Error(_0x5510a5['error'] ?? _0x1551ab(0x14d));
|
|
2117
|
+
return _0x1551ab(_0x5f3da5._0x1cec69) + _0x4bada4[_0x1551ab(0x272)];
|
|
2143
2118
|
}
|
|
2144
2119
|
};
|
|
2145
2120
|
}
|
|
2146
|
-
function textResult(
|
|
2121
|
+
function textResult(_0x19bc1a, _0x323c29 = ![]) {
|
|
2122
|
+
const _0x5d530b = { _0x34e100: 0x128 }, _0x53c2d9 = _0xb29927;
|
|
2147
2123
|
return {
|
|
2148
2124
|
'content': [{
|
|
2149
|
-
'type':
|
|
2150
|
-
'text':
|
|
2125
|
+
'type': _0x53c2d9(_0x5d530b._0x34e100),
|
|
2126
|
+
'text': _0x19bc1a
|
|
2151
2127
|
}],
|
|
2152
|
-
...
|
|
2128
|
+
..._0x323c29 ? { 'isError': !![] } : {}
|
|
2153
2129
|
};
|
|
2154
2130
|
}
|
|
2155
|
-
async function registerChatBridgeTools(
|
|
2156
|
-
const
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2131
|
+
async function registerChatBridgeTools(_0xea9849, _0xb88806, _0x1f8ace) {
|
|
2132
|
+
const _0x2f3f2d = {
|
|
2133
|
+
_0x4f4eb9: 0x2ac,
|
|
2134
|
+
_0x25a0c3: 0x20f,
|
|
2135
|
+
_0x47a047: 0x26a,
|
|
2136
|
+
_0x344b9c: 0x198,
|
|
2137
|
+
_0x378251: 0x187,
|
|
2138
|
+
_0xcea1ce: 0x1d8,
|
|
2139
|
+
_0x53f5a7: 0x1a8,
|
|
2140
|
+
_0x139cd2: 0x285,
|
|
2141
|
+
_0x326534: 0x285,
|
|
2142
|
+
_0x2f00ed: 0x13d,
|
|
2143
|
+
_0x40753c: 0x196,
|
|
2144
|
+
_0x1579f6: 0x13d,
|
|
2145
|
+
_0x423408: 0x134,
|
|
2146
|
+
_0x1c65ee: 0x161,
|
|
2147
|
+
_0x2d033b: 0x16d,
|
|
2148
|
+
_0x1dcbe9: 0x1fc,
|
|
2149
|
+
_0x21395e: 0x2a0,
|
|
2150
|
+
_0x4c665b: 0x1a8,
|
|
2151
|
+
_0x56e8e3: 0x26a,
|
|
2152
|
+
_0x4c5373: 0x283,
|
|
2153
|
+
_0x58c6f5: 0x220,
|
|
2154
|
+
_0x2fbec3: 0x1c5,
|
|
2155
|
+
_0xcff5f8: 0x28c,
|
|
2156
|
+
_0x91dba8: 0x1dd,
|
|
2157
|
+
_0x3d7135: 0x1a8,
|
|
2158
|
+
_0x343486: 0x283,
|
|
2159
|
+
_0x345ab1: 0x1a8,
|
|
2160
|
+
_0x4e2186: 0x164,
|
|
2161
|
+
_0x400f32: 0x1a8,
|
|
2162
|
+
_0x14d4a3: 0x13d,
|
|
2163
|
+
_0x4398fd: 0x13d,
|
|
2164
|
+
_0x2962d6: 0x29d,
|
|
2165
|
+
_0x8fecb4: 0x155,
|
|
2166
|
+
_0xb6b594: 0x179,
|
|
2167
|
+
_0x47eec9: 0x13d,
|
|
2168
|
+
_0x2490e5: 0x229,
|
|
2169
|
+
_0x509c2a: 0x1a8
|
|
2170
|
+
}, _0x3927cd = {
|
|
2171
|
+
_0x2e8d48: 0x21d,
|
|
2172
|
+
_0x1235dd: 0x14c
|
|
2173
|
+
}, _0x103120 = {
|
|
2174
|
+
_0x2b1583: 0x21d,
|
|
2175
|
+
_0x5bdae9: 0x14d
|
|
2176
|
+
}, _0x3d203c = { _0x564335: 0x21d }, _0x4e7b9a = { _0x491b13: 0x21d }, _0x4335b5 = { _0xc42bb3: 0x21d }, _0xe5f7f4 = { _0x367aca: 0x1e8 }, _0x37a854 = {
|
|
2177
|
+
_0x3bc1f1: 0x21d,
|
|
2178
|
+
_0x3551de: 0x1b6
|
|
2179
|
+
}, _0x1ee8b5 = { _0x52ded0: 0x164 }, _0x32bbe1 = {
|
|
2180
|
+
_0x5c2dcb: 0x134,
|
|
2181
|
+
_0x2aa83e: 0x21d
|
|
2182
|
+
}, _0x356725 = { _0x15ea2a: 0x196 }, _0xb9e60a = {
|
|
2183
|
+
_0x2d2cf4: 0x24b,
|
|
2184
|
+
_0x393713: 0x21d,
|
|
2185
|
+
_0x2db76f: 0x121
|
|
2186
|
+
}, _0x1307f2 = {
|
|
2187
|
+
_0x2c842b: 0x1a4,
|
|
2188
|
+
_0x540c58: 0x21d
|
|
2189
|
+
}, _0x235309 = { _0xc5c71f: 0x21d }, _0x1c5704 = _0xb29927, {z: _0x70e63e} = await import(_0x1c5704(_0x2f3f2d._0x4f4eb9));
|
|
2190
|
+
_0xea9849[_0x1c5704(0x13d)](_0x1c5704(0x19c), _0x1c5704(_0x2f3f2d._0x25a0c3), {
|
|
2191
|
+
'target': _0x70e63e['string'](),
|
|
2192
|
+
'content': _0x70e63e[_0x1c5704(0x1a8)](),
|
|
2193
|
+
'attachment_ids': _0x70e63e['array'](_0x70e63e['string']())[_0x1c5704(_0x2f3f2d._0x47a047)](),
|
|
2194
|
+
'visibility': _0x70e63e[_0x1c5704(0x1fb)]([
|
|
2195
|
+
_0x1c5704(_0x2f3f2d._0x344b9c),
|
|
2196
|
+
_0x1c5704(0x151)
|
|
2197
|
+
])['optional']()[_0x1c5704(0x17a)](_0x1c5704(_0x2f3f2d._0x378251))
|
|
2198
|
+
}, async _0x869b33 => {
|
|
2199
|
+
const _0x1119ba = _0x1c5704;
|
|
2210
2200
|
try {
|
|
2211
|
-
return textResult(await
|
|
2212
|
-
} catch (
|
|
2213
|
-
return textResult(
|
|
2201
|
+
return textResult(await _0xb88806['send_message'](_0x869b33));
|
|
2202
|
+
} catch (_0x1bb14d) {
|
|
2203
|
+
return textResult(_0x1bb14d instanceof Error ? _0x1bb14d[_0x1119ba(_0x235309._0xc5c71f)] : _0x1119ba(0x2ab), !![]);
|
|
2214
2204
|
}
|
|
2215
|
-
}),
|
|
2216
|
-
const
|
|
2205
|
+
}), _0xea9849[_0x1c5704(0x13d)]('check_messages', _0x1c5704(_0x2f3f2d._0xcea1ce), {}, async () => {
|
|
2206
|
+
const _0x48eb4a = _0x1c5704;
|
|
2217
2207
|
try {
|
|
2218
|
-
return textResult(await
|
|
2219
|
-
} catch (
|
|
2220
|
-
return textResult(
|
|
2208
|
+
return textResult(await _0xb88806[_0x48eb4a(_0x1307f2._0x2c842b)]());
|
|
2209
|
+
} catch (_0x42da80) {
|
|
2210
|
+
return textResult(_0x42da80 instanceof Error ? _0x42da80[_0x48eb4a(_0x1307f2._0x540c58)] : 'check_messages\x20failed', !![]);
|
|
2221
2211
|
}
|
|
2222
|
-
}),
|
|
2223
|
-
'channel':
|
|
2224
|
-
'limit':
|
|
2225
|
-
'before':
|
|
2226
|
-
'after':
|
|
2227
|
-
}, async
|
|
2228
|
-
const
|
|
2212
|
+
}), _0xea9849['tool'](_0x1c5704(0x24b), _0x1c5704(0x1d5), {
|
|
2213
|
+
'channel': _0x70e63e[_0x1c5704(_0x2f3f2d._0x53f5a7)](),
|
|
2214
|
+
'limit': _0x70e63e[_0x1c5704(_0x2f3f2d._0x139cd2)]()[_0x1c5704(_0x2f3f2d._0x47a047)](),
|
|
2215
|
+
'before': _0x70e63e[_0x1c5704(0x285)]()[_0x1c5704(0x26a)](),
|
|
2216
|
+
'after': _0x70e63e[_0x1c5704(_0x2f3f2d._0x326534)]()[_0x1c5704(0x26a)]()
|
|
2217
|
+
}, async _0x3bdbea => {
|
|
2218
|
+
const _0x296254 = _0x1c5704;
|
|
2229
2219
|
try {
|
|
2230
|
-
return textResult(await
|
|
2231
|
-
} catch (
|
|
2232
|
-
return textResult(
|
|
2220
|
+
return textResult(await _0xb88806[_0x296254(_0xb9e60a._0x2d2cf4)](_0x3bdbea));
|
|
2221
|
+
} catch (_0x5230b0) {
|
|
2222
|
+
return textResult(_0x5230b0 instanceof Error ? _0x5230b0[_0x296254(_0xb9e60a._0x393713)] : _0x296254(_0xb9e60a._0x2db76f), !![]);
|
|
2233
2223
|
}
|
|
2234
|
-
}),
|
|
2235
|
-
const
|
|
2224
|
+
}), _0xea9849[_0x1c5704(_0x2f3f2d._0x2f00ed)](_0x1c5704(_0x2f3f2d._0x40753c), _0x1c5704(0x171), {}, async () => {
|
|
2225
|
+
const _0x4038d1 = _0x1c5704;
|
|
2236
2226
|
try {
|
|
2237
|
-
return textResult(await
|
|
2238
|
-
} catch (
|
|
2239
|
-
return textResult(
|
|
2227
|
+
return textResult(await _0xb88806[_0x4038d1(_0x356725._0x15ea2a)]());
|
|
2228
|
+
} catch (_0x1805ca) {
|
|
2229
|
+
return textResult(_0x1805ca instanceof Error ? _0x1805ca['message'] : 'list_server\x20failed', !![]);
|
|
2240
2230
|
}
|
|
2241
|
-
}),
|
|
2242
|
-
'channel':
|
|
2243
|
-
'status':
|
|
2244
|
-
|
|
2245
|
-
|
|
2231
|
+
}), _0xea9849[_0x1c5704(_0x2f3f2d._0x1579f6)](_0x1c5704(_0x2f3f2d._0x423408), 'List\x20tasks\x20in\x20a\x20channel\x20or\x20thread.\x20Thread\x20target\x20(e.g.\x20\x22#channel:threadId\x22)\x20returns\x20the\x20parent\x20task\x20plus\x20its\x20subtasks\x20with\x20aggregation\x20fields\x20(childrenTotal,\x20childrenDone,\x20childrenInProgress).\x20Channel\x20target\x20returns\x20only\x20parent\x20tasks\x20(no\x20subtasks).', {
|
|
2232
|
+
'channel': _0x70e63e[_0x1c5704(_0x2f3f2d._0x53f5a7)](),
|
|
2233
|
+
'status': _0x70e63e[_0x1c5704(0x1fb)]([
|
|
2234
|
+
_0x1c5704(_0x2f3f2d._0x1c65ee),
|
|
2235
|
+
_0x1c5704(_0x2f3f2d._0x2d033b),
|
|
2246
2236
|
'in_review',
|
|
2247
|
-
|
|
2237
|
+
_0x1c5704(_0x2f3f2d._0x1dcbe9)
|
|
2248
2238
|
])['optional']()
|
|
2249
|
-
}, async
|
|
2250
|
-
const
|
|
2239
|
+
}, async _0x1f50ee => {
|
|
2240
|
+
const _0x31658b = _0x1c5704;
|
|
2251
2241
|
try {
|
|
2252
|
-
return textResult(await
|
|
2253
|
-
} catch (
|
|
2254
|
-
return textResult(
|
|
2242
|
+
return textResult(await _0xb88806[_0x31658b(_0x32bbe1._0x5c2dcb)](_0x1f50ee));
|
|
2243
|
+
} catch (_0x3f6dac) {
|
|
2244
|
+
return textResult(_0x3f6dac instanceof Error ? _0x3f6dac[_0x31658b(_0x32bbe1._0x2aa83e)] : _0x31658b(0x139), !![]);
|
|
2255
2245
|
}
|
|
2256
|
-
}),
|
|
2257
|
-
'channel':
|
|
2258
|
-
'idempotency_key':
|
|
2259
|
-
'tasks':
|
|
2260
|
-
'title':
|
|
2261
|
-
'description':
|
|
2262
|
-
'priority':
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
])[
|
|
2246
|
+
}), _0xea9849[_0x1c5704(0x13d)](_0x1c5704(0x201), _0x1c5704(_0x2f3f2d._0x21395e), {
|
|
2247
|
+
'channel': _0x70e63e[_0x1c5704(_0x2f3f2d._0x4c665b)](),
|
|
2248
|
+
'idempotency_key': _0x70e63e[_0x1c5704(_0x2f3f2d._0x53f5a7)]()[_0x1c5704(_0x2f3f2d._0x56e8e3)](),
|
|
2249
|
+
'tasks': _0x70e63e[_0x1c5704(_0x2f3f2d._0x4c5373)](_0x70e63e[_0x1c5704(_0x2f3f2d._0x58c6f5)]({
|
|
2250
|
+
'title': _0x70e63e['string'](),
|
|
2251
|
+
'description': _0x70e63e[_0x1c5704(0x1a8)]()['optional'](),
|
|
2252
|
+
'priority': _0x70e63e[_0x1c5704(0x1fb)]([
|
|
2253
|
+
_0x1c5704(0x24d),
|
|
2254
|
+
_0x1c5704(_0x2f3f2d._0x2fbec3),
|
|
2255
|
+
_0x1c5704(_0x2f3f2d._0xcff5f8),
|
|
2256
|
+
_0x1c5704(_0x2f3f2d._0x91dba8)
|
|
2257
|
+
])[_0x1c5704(0x26a)]()
|
|
2268
2258
|
}))
|
|
2269
|
-
}, async
|
|
2270
|
-
const
|
|
2259
|
+
}, async _0x4bd8b1 => {
|
|
2260
|
+
const _0x1c44aa = _0x1c5704;
|
|
2271
2261
|
try {
|
|
2272
|
-
return textResult(await
|
|
2273
|
-
} catch (
|
|
2274
|
-
return textResult(
|
|
2262
|
+
return textResult(await _0xb88806[_0x1c44aa(0x201)](_0x4bd8b1));
|
|
2263
|
+
} catch (_0x4a41d0) {
|
|
2264
|
+
return textResult(_0x4a41d0 instanceof Error ? _0x4a41d0[_0x1c44aa(0x21d)] : _0x1c44aa(0x1b2), !![]);
|
|
2275
2265
|
}
|
|
2276
|
-
}),
|
|
2277
|
-
'channel':
|
|
2278
|
-
'task_numbers':
|
|
2279
|
-
'subtask_numbers':
|
|
2280
|
-
'message_ids':
|
|
2281
|
-
'evidence':
|
|
2282
|
-
'create_thread':
|
|
2283
|
-
'create_task':
|
|
2284
|
-
}))[
|
|
2285
|
-
'idempotency_key':
|
|
2286
|
-
}, async
|
|
2287
|
-
const
|
|
2266
|
+
}), _0xea9849['tool'](_0x1c5704(0x1ea), _0x1c5704(0x25d), {
|
|
2267
|
+
'channel': _0x70e63e[_0x1c5704(_0x2f3f2d._0x3d7135)](),
|
|
2268
|
+
'task_numbers': _0x70e63e[_0x1c5704(0x283)](_0x70e63e[_0x1c5704(0x285)]())[_0x1c5704(_0x2f3f2d._0x47a047)](),
|
|
2269
|
+
'subtask_numbers': _0x70e63e[_0x1c5704(0x283)](_0x70e63e['number']())[_0x1c5704(0x26a)](),
|
|
2270
|
+
'message_ids': _0x70e63e[_0x1c5704(_0x2f3f2d._0x343486)](_0x70e63e[_0x1c5704(_0x2f3f2d._0x345ab1)]())[_0x1c5704(0x26a)](),
|
|
2271
|
+
'evidence': _0x70e63e['record'](_0x70e63e['string'](), _0x70e63e[_0x1c5704(_0x2f3f2d._0x58c6f5)]({
|
|
2272
|
+
'create_thread': _0x70e63e['unknown']()[_0x1c5704(_0x2f3f2d._0x56e8e3)](),
|
|
2273
|
+
'create_task': _0x70e63e[_0x1c5704(0x2a8)]()['optional']()
|
|
2274
|
+
}))[_0x1c5704(_0x2f3f2d._0x56e8e3)](),
|
|
2275
|
+
'idempotency_key': _0x70e63e[_0x1c5704(_0x2f3f2d._0x53f5a7)]()['optional']()
|
|
2276
|
+
}, async _0x3c96b0 => {
|
|
2277
|
+
const _0x8a138b = _0x1c5704;
|
|
2288
2278
|
try {
|
|
2289
|
-
return textResult(await
|
|
2290
|
-
} catch (
|
|
2291
|
-
return textResult(
|
|
2279
|
+
return textResult(await _0xb88806[_0x8a138b(0x1ea)](_0x3c96b0));
|
|
2280
|
+
} catch (_0x22f6e0) {
|
|
2281
|
+
return textResult(_0x22f6e0 instanceof Error ? _0x22f6e0[_0x8a138b(0x21d)] : _0x8a138b(0x19b), !![]);
|
|
2292
2282
|
}
|
|
2293
|
-
}),
|
|
2294
|
-
'channel':
|
|
2295
|
-
'task_number':
|
|
2296
|
-
'subtask_number':
|
|
2297
|
-
'idempotency_key':
|
|
2298
|
-
}, async
|
|
2299
|
-
const
|
|
2283
|
+
}), _0xea9849[_0x1c5704(0x13d)](_0x1c5704(_0x2f3f2d._0x4e2186), _0x1c5704(0x129), {
|
|
2284
|
+
'channel': _0x70e63e[_0x1c5704(_0x2f3f2d._0x400f32)](),
|
|
2285
|
+
'task_number': _0x70e63e[_0x1c5704(_0x2f3f2d._0x139cd2)](),
|
|
2286
|
+
'subtask_number': _0x70e63e[_0x1c5704(0x285)]()[_0x1c5704(_0x2f3f2d._0x56e8e3)](),
|
|
2287
|
+
'idempotency_key': _0x70e63e[_0x1c5704(_0x2f3f2d._0x53f5a7)]()['optional']()
|
|
2288
|
+
}, async _0x1fcbfd => {
|
|
2289
|
+
const _0x248c91 = _0x1c5704;
|
|
2300
2290
|
try {
|
|
2301
|
-
return textResult(await
|
|
2302
|
-
} catch (
|
|
2303
|
-
return textResult(
|
|
2291
|
+
return textResult(await _0xb88806[_0x248c91(_0x1ee8b5._0x52ded0)](_0x1fcbfd));
|
|
2292
|
+
} catch (_0x46a537) {
|
|
2293
|
+
return textResult(_0x46a537 instanceof Error ? _0x46a537[_0x248c91(0x21d)] : 'unclaim_task\x20failed', !![]);
|
|
2304
2294
|
}
|
|
2305
|
-
}),
|
|
2306
|
-
'channel':
|
|
2307
|
-
'task_number':
|
|
2308
|
-
'subtask_number':
|
|
2309
|
-
'status':
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2295
|
+
}), _0xea9849[_0x1c5704(_0x2f3f2d._0x14d4a3)]('update_task_status', _0x1c5704(0x273), {
|
|
2296
|
+
'channel': _0x70e63e['string'](),
|
|
2297
|
+
'task_number': _0x70e63e[_0x1c5704(_0x2f3f2d._0x139cd2)](),
|
|
2298
|
+
'subtask_number': _0x70e63e[_0x1c5704(0x285)]()[_0x1c5704(0x26a)](),
|
|
2299
|
+
'status': _0x70e63e[_0x1c5704(0x1fb)]([
|
|
2300
|
+
_0x1c5704(0x161),
|
|
2301
|
+
_0x1c5704(0x16d),
|
|
2302
|
+
'in_review',
|
|
2303
|
+
'done'
|
|
2314
2304
|
]),
|
|
2315
|
-
'idempotency_key':
|
|
2316
|
-
}, async
|
|
2317
|
-
const
|
|
2305
|
+
'idempotency_key': _0x70e63e[_0x1c5704(0x1a8)]()[_0x1c5704(_0x2f3f2d._0x47a047)]()
|
|
2306
|
+
}, async _0x339b8c => {
|
|
2307
|
+
const _0x1c832a = _0x1c5704;
|
|
2318
2308
|
try {
|
|
2319
|
-
return textResult(await
|
|
2320
|
-
} catch (
|
|
2321
|
-
return textResult(
|
|
2309
|
+
return textResult(await _0xb88806[_0x1c832a(0x225)](_0x339b8c));
|
|
2310
|
+
} catch (_0x3be448) {
|
|
2311
|
+
return textResult(_0x3be448 instanceof Error ? _0x3be448[_0x1c832a(_0x37a854._0x3bc1f1)] : _0x1c832a(_0x37a854._0x3551de), !![]);
|
|
2322
2312
|
}
|
|
2323
|
-
}),
|
|
2324
|
-
'channel':
|
|
2325
|
-
'file_path':
|
|
2326
|
-
}, async
|
|
2327
|
-
const
|
|
2313
|
+
}), _0xea9849[_0x1c5704(_0x2f3f2d._0x4398fd)](_0x1c5704(0x172), _0x1c5704(_0x2f3f2d._0x2962d6), {
|
|
2314
|
+
'channel': _0x70e63e['string'](),
|
|
2315
|
+
'file_path': _0x70e63e['string']()
|
|
2316
|
+
}, async _0x3eb42a => {
|
|
2317
|
+
const _0x404748 = _0x1c5704;
|
|
2328
2318
|
try {
|
|
2329
|
-
return textResult(await
|
|
2330
|
-
} catch (
|
|
2331
|
-
return textResult(
|
|
2319
|
+
return textResult(await _0xb88806[_0x404748(0x172)](_0x3eb42a));
|
|
2320
|
+
} catch (_0x12e6e6) {
|
|
2321
|
+
return textResult(_0x12e6e6 instanceof Error ? _0x12e6e6[_0x404748(0x21d)] : _0x404748(_0xe5f7f4._0x367aca), !![]);
|
|
2332
2322
|
}
|
|
2333
|
-
}),
|
|
2334
|
-
const
|
|
2323
|
+
}), _0xea9849[_0x1c5704(_0x2f3f2d._0x4398fd)](_0x1c5704(0x258), _0x1c5704(_0x2f3f2d._0x8fecb4), { 'attachment_id': _0x70e63e['string']() }, async _0x5bb61b => {
|
|
2324
|
+
const _0x43d048 = _0x1c5704;
|
|
2335
2325
|
try {
|
|
2336
|
-
return textResult(await
|
|
2337
|
-
} catch (
|
|
2338
|
-
return textResult(
|
|
2326
|
+
return textResult(await _0xb88806[_0x43d048(0x258)](_0x5bb61b));
|
|
2327
|
+
} catch (_0xd8052f) {
|
|
2328
|
+
return textResult(_0xd8052f instanceof Error ? _0xd8052f[_0x43d048(_0x4335b5._0xc42bb3)] : _0x43d048(0x136), !![]);
|
|
2339
2329
|
}
|
|
2340
|
-
}),
|
|
2341
|
-
const
|
|
2330
|
+
}), _0xea9849[_0x1c5704(0x13d)]('get_worker_status', _0x1c5704(_0x2f3f2d._0xb6b594), { 'work_key': _0x70e63e[_0x1c5704(0x1a8)]() }, async _0x5165b8 => {
|
|
2331
|
+
const _0x390df2 = _0x1c5704;
|
|
2342
2332
|
try {
|
|
2343
|
-
return textResult(await
|
|
2344
|
-
} catch (
|
|
2345
|
-
return textResult(
|
|
2333
|
+
return textResult(await _0xb88806['get_worker_status'](_0x5165b8));
|
|
2334
|
+
} catch (_0x50281d) {
|
|
2335
|
+
return textResult(_0x50281d instanceof Error ? _0x50281d[_0x390df2(_0x4e7b9a._0x491b13)] : _0x390df2(0x18a), !![]);
|
|
2346
2336
|
}
|
|
2347
|
-
}),
|
|
2348
|
-
const
|
|
2337
|
+
}), _0xea9849[_0x1c5704(0x13d)](_0x1c5704(0x226), _0x1c5704(0x206), { 'work_key': _0x70e63e[_0x1c5704(_0x2f3f2d._0x4c665b)]() }, async _0x320200 => {
|
|
2338
|
+
const _0x199f43 = _0x1c5704;
|
|
2349
2339
|
try {
|
|
2350
|
-
return textResult(await
|
|
2351
|
-
} catch (
|
|
2352
|
-
return textResult(
|
|
2340
|
+
return textResult(await _0xb88806[_0x199f43(0x226)](_0x320200));
|
|
2341
|
+
} catch (_0x230f0f) {
|
|
2342
|
+
return textResult(_0x230f0f instanceof Error ? _0x230f0f[_0x199f43(_0x3d203c._0x564335)] : _0x199f43(0x120), !![]);
|
|
2353
2343
|
}
|
|
2354
|
-
}), !
|
|
2355
|
-
'work_key':
|
|
2356
|
-
'reason':
|
|
2357
|
-
}, async
|
|
2358
|
-
const
|
|
2344
|
+
}), !_0x1f8ace?.['workerMode'] && _0xea9849[_0x1c5704(_0x2f3f2d._0x47eec9)](_0x1c5704(_0x2f3f2d._0x2490e5), _0x1c5704(0x29e), {
|
|
2345
|
+
'work_key': _0x70e63e[_0x1c5704(0x1a8)](),
|
|
2346
|
+
'reason': _0x70e63e[_0x1c5704(_0x2f3f2d._0x509c2a)]()
|
|
2347
|
+
}, async _0x4626ea => {
|
|
2348
|
+
const _0x2ab972 = _0x1c5704;
|
|
2359
2349
|
try {
|
|
2360
|
-
return textResult(await
|
|
2361
|
-
} catch (
|
|
2362
|
-
return textResult(
|
|
2350
|
+
return textResult(await _0xb88806['escalate_to_main'](_0x4626ea));
|
|
2351
|
+
} catch (_0x1eed0f) {
|
|
2352
|
+
return textResult(_0x1eed0f instanceof Error ? _0x1eed0f[_0x2ab972(_0x103120._0x2b1583)] : _0x2ab972(_0x103120._0x5bdae9), !![]);
|
|
2363
2353
|
}
|
|
2364
|
-
}),
|
|
2365
|
-
const
|
|
2354
|
+
}), _0x1f8ace?.['workerMode'] && _0xea9849[_0x1c5704(0x13d)]('mark_waiting_input', 'Mark\x20the\x20current\x20worker\x20as\x20waiting\x20for\x20human\x20input.\x20Pauses\x20the\x20idle\x20TTL\x20timer\x20until\x20a\x20new\x20message\x20arrives.', { 'work_key': _0x70e63e[_0x1c5704(_0x2f3f2d._0x4c665b)]() }, async _0x4bc51e => {
|
|
2355
|
+
const _0x52f6a4 = _0x1c5704;
|
|
2366
2356
|
try {
|
|
2367
|
-
return textResult(await
|
|
2368
|
-
} catch (
|
|
2369
|
-
return textResult(
|
|
2357
|
+
return textResult(await _0xb88806['mark_waiting_input'](_0x4bc51e));
|
|
2358
|
+
} catch (_0x130455) {
|
|
2359
|
+
return textResult(_0x130455 instanceof Error ? _0x130455[_0x52f6a4(_0x3927cd._0x2e8d48)] : _0x52f6a4(_0x3927cd._0x1235dd), !![]);
|
|
2370
2360
|
}
|
|
2371
2361
|
});
|
|
2372
2362
|
}
|
|
2373
|
-
async function createChatBridgeServer(
|
|
2374
|
-
const
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
},
|
|
2379
|
-
'name':
|
|
2380
|
-
'version':
|
|
2381
|
-
}),
|
|
2382
|
-
return await registerChatBridgeTools(
|
|
2383
|
-
'handlers':
|
|
2384
|
-
'server':
|
|
2363
|
+
async function createChatBridgeServer(_0x27dab0) {
|
|
2364
|
+
const _0x5ed7dd = {
|
|
2365
|
+
_0x5a4ff5: 0x197,
|
|
2366
|
+
_0x347416: 0x1c6,
|
|
2367
|
+
_0x2b6ffc: 0x27e
|
|
2368
|
+
}, _0x429c28 = _0xb29927, {McpServer: _0x4a46c2} = await import(_0x429c28(_0x5ed7dd._0x5a4ff5)), _0x514c38 = new _0x4a46c2({
|
|
2369
|
+
'name': _0x429c28(_0x5ed7dd._0x347416),
|
|
2370
|
+
'version': _0x429c28(_0x5ed7dd._0x2b6ffc)
|
|
2371
|
+
}), _0x4beaad = createChatBridgeHandlers(_0x27dab0);
|
|
2372
|
+
return await registerChatBridgeTools(_0x514c38, _0x4beaad, { 'workerMode': _0x27dab0[_0x429c28(0x15e)] }), {
|
|
2373
|
+
'handlers': _0x4beaad,
|
|
2374
|
+
'server': _0x514c38
|
|
2385
2375
|
};
|
|
2386
2376
|
}
|
|
2387
|
-
function readFlag(
|
|
2388
|
-
const
|
|
2389
|
-
if (
|
|
2377
|
+
function readFlag(_0x1b4184, _0xa886b3) {
|
|
2378
|
+
const _0x35fdd8 = _0xb29927, _0x57bdcf = _0x1b4184[_0x35fdd8(0x145)](_0xa886b3);
|
|
2379
|
+
if (_0x57bdcf === -0x1)
|
|
2390
2380
|
return void 0x0;
|
|
2391
|
-
return
|
|
2381
|
+
return _0x1b4184[_0x57bdcf + 0x1];
|
|
2392
2382
|
}
|
|
2393
|
-
function parseChatBridgeArgs(
|
|
2394
|
-
const
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
if (!
|
|
2404
|
-
throw new Error(
|
|
2405
|
-
if (
|
|
2406
|
-
throw new Error(
|
|
2383
|
+
function parseChatBridgeArgs(_0x1d52dd) {
|
|
2384
|
+
const _0x3069ed = {
|
|
2385
|
+
_0x555f41: 0x11f,
|
|
2386
|
+
_0x16b787: 0x1e2,
|
|
2387
|
+
_0x306868: 0x25f,
|
|
2388
|
+
_0x4d2eb0: 0x154,
|
|
2389
|
+
_0x4a2995: 0x23b,
|
|
2390
|
+
_0x2b172a: 0x287,
|
|
2391
|
+
_0x205927: 0x271
|
|
2392
|
+
}, _0xcd7aa0 = _0xb29927, _0x85fbbb = readFlag(_0x1d52dd, '--agent-id'), _0x58573f = readFlag(_0x1d52dd, _0xcd7aa0(_0x3069ed._0x555f41)), _0x4c23ce = readFlag(_0x1d52dd, '--daemon-api-key'), _0x135f72 = readFlag(_0x1d52dd, _0xcd7aa0(0x1e6)), _0xb38d09 = readFlag(_0x1d52dd, _0xcd7aa0(_0x3069ed._0x16b787)) ?? _0xcd7aa0(_0x3069ed._0x306868), _0x532333 = readFlag(_0x1d52dd, _0xcd7aa0(_0x3069ed._0x4d2eb0)), _0x2b3c20 = readFlag(_0x1d52dd, '--session-id'), _0x5f05f7 = readFlag(_0x1d52dd, _0xcd7aa0(0x295)), _0xb9204a = readFlag(_0x1d52dd, '--worker-session-id'), _0x3c84ba = readFlag(_0x1d52dd, '--worker-thread-target'), _0x58cd89 = _0x1d52dd[_0xcd7aa0(0x15f)](_0xcd7aa0(_0x3069ed._0x4a2995)), _0x354037 = _0x135f72 === void 0x0 ? void 0x0 : Number['parseInt'](_0x135f72, 0xa);
|
|
2393
|
+
if (!_0x85fbbb)
|
|
2394
|
+
throw new Error(_0xcd7aa0(_0x3069ed._0x2b172a));
|
|
2395
|
+
if (!_0x4c23ce)
|
|
2396
|
+
throw new Error(_0xcd7aa0(0x1b5));
|
|
2397
|
+
if (_0x135f72 !== void 0x0 && (_0x354037 === void 0x0 || !Number[_0xcd7aa0(0x29b)](_0x354037) || _0x354037 < 0x0))
|
|
2398
|
+
throw new Error(_0xcd7aa0(0x18e));
|
|
2407
2399
|
return {
|
|
2408
|
-
'agentId':
|
|
2409
|
-
'attachmentCacheDir':
|
|
2410
|
-
'daemonApiKey':
|
|
2411
|
-
'daemonLocalUrl':
|
|
2412
|
-
'initialLastSeenSeq':
|
|
2413
|
-
'sessionId':
|
|
2414
|
-
'serverUrl':
|
|
2415
|
-
'workerModeEnabled':
|
|
2416
|
-
'workerSessionId':
|
|
2417
|
-
'workerThreadTarget':
|
|
2418
|
-
'workerMode':
|
|
2400
|
+
'agentId': _0x85fbbb,
|
|
2401
|
+
'attachmentCacheDir': _0x58573f,
|
|
2402
|
+
'daemonApiKey': _0x4c23ce,
|
|
2403
|
+
'daemonLocalUrl': _0x532333,
|
|
2404
|
+
'initialLastSeenSeq': _0x354037,
|
|
2405
|
+
'sessionId': _0x2b3c20,
|
|
2406
|
+
'serverUrl': _0xb38d09,
|
|
2407
|
+
'workerModeEnabled': _0x5f05f7 === void 0x0 ? void 0x0 : _0x5f05f7 !== _0xcd7aa0(_0x3069ed._0x205927),
|
|
2408
|
+
'workerSessionId': _0xb9204a,
|
|
2409
|
+
'workerThreadTarget': _0x3c84ba,
|
|
2410
|
+
'workerMode': _0x58cd89
|
|
2419
2411
|
};
|
|
2420
2412
|
}
|
|
2421
|
-
async function runChatBridgeCli(
|
|
2422
|
-
const
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2413
|
+
async function runChatBridgeCli(_0x260120) {
|
|
2414
|
+
const _0x2ac871 = {
|
|
2415
|
+
_0x342f78: 0x234,
|
|
2416
|
+
_0x5ef850: 0x286,
|
|
2417
|
+
_0x38aaab: 0x15e,
|
|
2418
|
+
_0x9daf1: 0x2b0,
|
|
2419
|
+
_0x3d8165: 0x274,
|
|
2420
|
+
_0x4e139a: 0x28e
|
|
2421
|
+
}, _0x4ce44c = _0xb29927, _0x5768de = parseChatBridgeArgs(_0x260120), {StdioServerTransport: _0x2ce278} = await import(_0x4ce44c(_0x2ac871._0x342f78)), _0x34837c = createInternalAgentClient(_0x5768de), _0x267125 = createAttachmentCache({ 'cacheDir': _0x5768de[_0x4ce44c(0x22c)] }), _0x1547c3 = await createChatBridgeServer({
|
|
2422
|
+
'agentId': _0x5768de[_0x4ce44c(_0x2ac871._0x5ef850)],
|
|
2423
|
+
'attachmentCache': _0x267125,
|
|
2424
|
+
'client': _0x34837c,
|
|
2425
|
+
'daemonLocalUrl': _0x5768de['daemonLocalUrl'],
|
|
2430
2426
|
'uploadPreparer': prepareUploadFile,
|
|
2431
|
-
'workerModeEnabled':
|
|
2432
|
-
'workerMode':
|
|
2433
|
-
'workerThreadTarget':
|
|
2427
|
+
'workerModeEnabled': _0x5768de[_0x4ce44c(0x1f4)],
|
|
2428
|
+
'workerMode': _0x5768de[_0x4ce44c(_0x2ac871._0x38aaab)],
|
|
2429
|
+
'workerThreadTarget': _0x5768de[_0x4ce44c(_0x2ac871._0x9daf1)]
|
|
2434
2430
|
});
|
|
2435
|
-
await
|
|
2431
|
+
await _0x1547c3[_0x4ce44c(_0x2ac871._0x3d8165)][_0x4ce44c(_0x2ac871._0x4e139a)](new _0x2ce278());
|
|
2436
2432
|
}
|
|
2437
|
-
var executedAsEntry = process[
|
|
2438
|
-
executedAsEntry && await runChatBridgeCli(process[
|
|
2433
|
+
var executedAsEntry = process['argv'][0x1] ? import.meta.url === pathToFileURL(process['argv'][0x1])[_0xb29927(0x17e)] : ![];
|
|
2434
|
+
executedAsEntry && await runChatBridgeCli(process['argv'][_0xb29927(0x26d)](0x2));
|
|
2439
2435
|
export {
|
|
2440
2436
|
createChatBridgeHandlers,
|
|
2441
2437
|
createChatBridgeServer,
|