@dscord/daemon 0.1.52 → 0.1.53
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 +1939 -1912
- package/dist/index.js +8901 -8830
- package/package.json +1 -1
package/dist/chat-bridge.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
const
|
|
2
|
-
(function (
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
},
|
|
1
|
+
const _0x2cd54a = _0x46e8;
|
|
2
|
+
(function (_0xf0d828, _0x3df696) {
|
|
3
|
+
const _0x5058cc = {
|
|
4
|
+
_0x5b2321: 0x228,
|
|
5
|
+
_0x50fd69: 0x1cb,
|
|
6
|
+
_0x520f4b: 0x219,
|
|
7
|
+
_0x1a540a: 0x207,
|
|
8
|
+
_0x2b4f16: 0x15d,
|
|
9
|
+
_0x1bb633: 0x206
|
|
10
|
+
}, _0x5a89f5 = _0x46e8, _0x5aff6d = _0xf0d828();
|
|
11
11
|
while (!![]) {
|
|
12
12
|
try {
|
|
13
|
-
const
|
|
14
|
-
if (
|
|
13
|
+
const _0x46a2fc = -parseInt(_0x5a89f5(0x153)) / 0x1 + parseInt(_0x5a89f5(_0x5058cc._0x5b2321)) / 0x2 + -parseInt(_0x5a89f5(_0x5058cc._0x50fd69)) / 0x3 * (-parseInt(_0x5a89f5(0x27f)) / 0x4) + -parseInt(_0x5a89f5(0x179)) / 0x5 + -parseInt(_0x5a89f5(_0x5058cc._0x520f4b)) / 0x6 * (parseInt(_0x5a89f5(_0x5058cc._0x1a540a)) / 0x7) + -parseInt(_0x5a89f5(_0x5058cc._0x2b4f16)) / 0x8 * (-parseInt(_0x5a89f5(_0x5058cc._0x1bb633)) / 0x9) + parseInt(_0x5a89f5(0x282)) / 0xa * (parseInt(_0x5a89f5(0x172)) / 0xb);
|
|
14
|
+
if (_0x46a2fc === _0x3df696)
|
|
15
15
|
break;
|
|
16
16
|
else
|
|
17
|
-
|
|
18
|
-
} catch (
|
|
19
|
-
|
|
17
|
+
_0x5aff6d['push'](_0x5aff6d['shift']());
|
|
18
|
+
} catch (_0x3b1821) {
|
|
19
|
+
_0x5aff6d['push'](_0x5aff6d['shift']());
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
}(
|
|
22
|
+
}(_0x409f, 0xa2f38));
|
|
23
23
|
import { pathToFileURL } from 'node:url';
|
|
24
24
|
import {
|
|
25
25
|
mkdir,
|
|
@@ -29,73 +29,99 @@ import {
|
|
|
29
29
|
writeFile
|
|
30
30
|
} from 'node:fs/promises';
|
|
31
31
|
import { homedir } from 'node:os';
|
|
32
|
-
import
|
|
32
|
+
import _0x145552 from 'node:path';
|
|
33
33
|
var DEFAULT_MAX_FILE_SIZE = 0x64 * 0x400 * 0x400, MIME_BY_EXTENSION = {
|
|
34
|
-
'.csv':
|
|
35
|
-
'.gif':
|
|
36
|
-
'.jpeg':
|
|
37
|
-
'.jpg':
|
|
38
|
-
'.json':
|
|
39
|
-
'.md':
|
|
40
|
-
'.pdf':
|
|
41
|
-
'.png':
|
|
42
|
-
'.svg':
|
|
43
|
-
'.txt':
|
|
44
|
-
'.webp':
|
|
45
|
-
'.xml':
|
|
46
|
-
'.zip':
|
|
34
|
+
'.csv': 'text/csv',
|
|
35
|
+
'.gif': _0x2cd54a(0x2a4),
|
|
36
|
+
'.jpeg': _0x2cd54a(0x196),
|
|
37
|
+
'.jpg': _0x2cd54a(0x196),
|
|
38
|
+
'.json': 'application/json',
|
|
39
|
+
'.md': _0x2cd54a(0x222),
|
|
40
|
+
'.pdf': _0x2cd54a(0x1d0),
|
|
41
|
+
'.png': _0x2cd54a(0x274),
|
|
42
|
+
'.svg': 'image/svg+xml',
|
|
43
|
+
'.txt': _0x2cd54a(0x11e),
|
|
44
|
+
'.webp': _0x2cd54a(0x27e),
|
|
45
|
+
'.xml': _0x2cd54a(0x1be),
|
|
46
|
+
'.zip': _0x2cd54a(0x23d)
|
|
47
47
|
};
|
|
48
|
-
function guessContentType(
|
|
49
|
-
const
|
|
50
|
-
|
|
51
|
-
_0x19c1dc: 0x8b
|
|
52
|
-
}, _0x8a21cb = _0x39cf13;
|
|
53
|
-
return MIME_BY_EXTENSION[_0x58419c[_0x8a21cb(0x1dc)](_0x391eb6)[_0x8a21cb(_0x1e0f75._0xff5826)]()] ?? _0x8a21cb(_0x1e0f75._0x19c1dc);
|
|
48
|
+
function guessContentType(_0x3eada6) {
|
|
49
|
+
const _0x5ea49d = _0x2cd54a;
|
|
50
|
+
return MIME_BY_EXTENSION[_0x145552['extname'](_0x3eada6)[_0x5ea49d(0x1b5)]()] ?? _0x5ea49d(0x11c);
|
|
54
51
|
}
|
|
55
|
-
function safeFilename(
|
|
56
|
-
|
|
57
|
-
return _0x35b986[_0x146c6b(0x191)](/[\\/]/g, '-');
|
|
52
|
+
function safeFilename(_0x458d33) {
|
|
53
|
+
return _0x458d33['replace'](/[\\/]/g, '-');
|
|
58
54
|
}
|
|
59
|
-
function extensionFor(
|
|
60
|
-
const
|
|
61
|
-
return
|
|
55
|
+
function extensionFor(_0x1d2b6b) {
|
|
56
|
+
const _0x3e168d = { _0xff27cc: 0x155 }, _0x3ce39b = _0x2cd54a, _0x10fcbf = Object[_0x3ce39b(0x1da)](MIME_BY_EXTENSION)[_0x3ce39b(0x170)](([, _0x881101]) => _0x881101 === _0x1d2b6b);
|
|
57
|
+
return _0x10fcbf?.[0x0] ?? _0x3ce39b(_0x3e168d._0xff27cc);
|
|
62
58
|
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
59
|
+
function _0x46e8(_0xfb77ea, _0x18d2a3) {
|
|
60
|
+
_0xfb77ea = _0xfb77ea - 0x117;
|
|
61
|
+
const _0x409ffb = _0x409f();
|
|
62
|
+
let _0x46e87c = _0x409ffb[_0xfb77ea];
|
|
63
|
+
if (_0x46e8['IYUIjx'] === undefined) {
|
|
64
|
+
var _0x5ded13 = function (_0x376b6d) {
|
|
65
|
+
const _0x17ca40 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
66
|
+
let _0x145552 = '', _0x3eada6 = '';
|
|
67
|
+
for (let _0x458d33 = 0x0, _0x1d2b6b, _0x10fcbf, _0x881101 = 0x0; _0x10fcbf = _0x376b6d['charAt'](_0x881101++); ~_0x10fcbf && (_0x1d2b6b = _0x458d33 % 0x4 ? _0x1d2b6b * 0x40 + _0x10fcbf : _0x10fcbf, _0x458d33++ % 0x4) ? _0x145552 += String['fromCharCode'](0xff & _0x1d2b6b >> (-0x2 * _0x458d33 & 0x6)) : 0x0) {
|
|
68
|
+
_0x10fcbf = _0x17ca40['indexOf'](_0x10fcbf);
|
|
69
|
+
}
|
|
70
|
+
for (let _0x1f3e48 = 0x0, _0x1cb4ff = _0x145552['length']; _0x1f3e48 < _0x1cb4ff; _0x1f3e48++) {
|
|
71
|
+
_0x3eada6 += '%' + ('00' + _0x145552['charCodeAt'](_0x1f3e48)['toString'](0x10))['slice'](-0x2);
|
|
72
|
+
}
|
|
73
|
+
return decodeURIComponent(_0x3eada6);
|
|
74
|
+
};
|
|
75
|
+
_0x46e8['megSak'] = _0x5ded13, _0x46e8['UFwgoK'] = {}, _0x46e8['IYUIjx'] = !![];
|
|
76
|
+
}
|
|
77
|
+
const _0x1c4190 = _0x409ffb[0x0], _0x61f0ba = _0xfb77ea + _0x1c4190, _0x345b7e = _0x46e8['UFwgoK'][_0x61f0ba];
|
|
78
|
+
return !_0x345b7e ? (_0x46e87c = _0x46e8['megSak'](_0x46e87c), _0x46e8['UFwgoK'][_0x61f0ba] = _0x46e87c) : _0x46e87c = _0x345b7e, _0x46e87c;
|
|
79
|
+
}
|
|
80
|
+
async function prepareUploadFile(_0x1f3e48, _0x1cb4ff = {}) {
|
|
81
|
+
const _0x10eec3 = {
|
|
82
|
+
_0x5f2fb5: 0x17d,
|
|
83
|
+
_0x2c3970: 0x122,
|
|
84
|
+
_0x3c0f8e: 0x210,
|
|
85
|
+
_0x357151: 0x166,
|
|
86
|
+
_0x51a571: 0x19e,
|
|
87
|
+
_0x2d7cd4: 0x1bf,
|
|
88
|
+
_0x3c16f4: 0x12e,
|
|
89
|
+
_0xabaf47: 0x166
|
|
90
|
+
}, _0x55e471 = _0x2cd54a;
|
|
91
|
+
if (!_0x145552[_0x55e471(0x187)](_0x1f3e48))
|
|
92
|
+
throw new Error(_0x55e471(0x147));
|
|
93
|
+
const _0x194be2 = await stat(_0x1f3e48)[_0x55e471(_0x10eec3._0x5f2fb5)](() => null);
|
|
94
|
+
if (!_0x194be2 || !_0x194be2[_0x55e471(_0x10eec3._0x2c3970)]())
|
|
95
|
+
throw new Error(_0x55e471(_0x10eec3._0x3c0f8e) + _0x1f3e48);
|
|
96
|
+
const _0x2da4cc = _0x1cb4ff[_0x55e471(0x13b)] ?? DEFAULT_MAX_FILE_SIZE;
|
|
97
|
+
if (_0x194be2[_0x55e471(_0x10eec3._0x357151)] > _0x2da4cc)
|
|
98
|
+
throw new Error('File\x20size\x20exceeds\x20limit:\x20' + _0x194be2['size']);
|
|
99
|
+
const _0x278974 = await readFile(_0x1f3e48), _0x345a35 = _0x145552[_0x55e471(_0x10eec3._0x51a571)](_0x1f3e48);
|
|
74
100
|
return {
|
|
75
|
-
'contentBase64':
|
|
76
|
-
'contentType': guessContentType(
|
|
77
|
-
'filename':
|
|
78
|
-
'sizeBytes':
|
|
101
|
+
'contentBase64': _0x278974[_0x55e471(_0x10eec3._0x2d7cd4)](_0x55e471(_0x10eec3._0x3c16f4)),
|
|
102
|
+
'contentType': guessContentType(_0x345a35),
|
|
103
|
+
'filename': _0x345a35,
|
|
104
|
+
'sizeBytes': _0x194be2[_0x55e471(_0x10eec3._0xabaf47)]
|
|
79
105
|
};
|
|
80
106
|
}
|
|
81
|
-
function createAttachmentCache(
|
|
82
|
-
const
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
},
|
|
107
|
+
function createAttachmentCache(_0x36765d = {}) {
|
|
108
|
+
const _0x251870 = {
|
|
109
|
+
_0x44ea81: 0x291,
|
|
110
|
+
_0x4ba2e7: 0x24e
|
|
111
|
+
}, _0x592044 = { _0x4d20c9: 0x291 }, _0xb6f0cf = _0x2cd54a, _0x303251 = _0x36765d[_0xb6f0cf(0x140)] ?? _0x145552[_0xb6f0cf(_0x251870._0x44ea81)](homedir(), _0xb6f0cf(_0x251870._0x4ba2e7), _0xb6f0cf(0x246));
|
|
86
112
|
return {
|
|
87
|
-
'cacheDir':
|
|
88
|
-
async 'findCachedPath'(
|
|
89
|
-
const
|
|
90
|
-
await mkdir(
|
|
91
|
-
const
|
|
92
|
-
return
|
|
113
|
+
'cacheDir': _0x303251,
|
|
114
|
+
async 'findCachedPath'(_0x1710b4) {
|
|
115
|
+
const _0x227ae1 = _0xb6f0cf;
|
|
116
|
+
await mkdir(_0x303251, { 'recursive': !![] });
|
|
117
|
+
const _0x1a6d86 = await readdir(_0x303251), _0x1a04ec = _0x1a6d86['find'](_0x113ee5 => _0x113ee5['startsWith'](_0x1710b4 + '-') || _0x113ee5[_0x227ae1(0x149)](_0x1710b4));
|
|
118
|
+
return _0x1a04ec ? _0x145552[_0x227ae1(_0x592044._0x4d20c9)](_0x303251, _0x1a04ec) : null;
|
|
93
119
|
},
|
|
94
|
-
async 'save'(
|
|
95
|
-
const
|
|
96
|
-
await mkdir(
|
|
97
|
-
const
|
|
98
|
-
return await writeFile(
|
|
120
|
+
async 'save'(_0x297253) {
|
|
121
|
+
const _0x202a8b = _0xb6f0cf;
|
|
122
|
+
await mkdir(_0x303251, { 'recursive': !![] });
|
|
123
|
+
const _0x2a751b = _0x297253['originalFilename']?.['trim']() ? safeFilename(_0x297253[_0x202a8b(0x1d6)]) : '' + _0x297253['attachmentId'] + extensionFor(_0x297253[_0x202a8b(0x19d)]), _0x56b36a = _0x145552[_0x202a8b(0x291)](_0x303251, _0x297253[_0x202a8b(0x208)] + '-' + _0x2a751b);
|
|
124
|
+
return await writeFile(_0x56b36a, _0x297253['data']), _0x56b36a;
|
|
99
125
|
}
|
|
100
126
|
};
|
|
101
127
|
}
|
|
@@ -103,2221 +129,2222 @@ import {
|
|
|
103
129
|
createHash,
|
|
104
130
|
randomUUID
|
|
105
131
|
} from 'node:crypto';
|
|
106
|
-
var UNSUPPORTED_TARGET_MESSAGE =
|
|
107
|
-
function ensureSegment(
|
|
108
|
-
const
|
|
109
|
-
if (!
|
|
132
|
+
var UNSUPPORTED_TARGET_MESSAGE = _0x2cd54a(0x19b);
|
|
133
|
+
function ensureSegment(_0x2c4e9e) {
|
|
134
|
+
const _0x388cb4 = _0x2cd54a, _0x210ced = _0x2c4e9e[_0x388cb4(0x275)]();
|
|
135
|
+
if (!_0x210ced || _0x210ced[_0x388cb4(0x289)](':'))
|
|
110
136
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
111
|
-
return
|
|
137
|
+
return _0x210ced;
|
|
112
138
|
}
|
|
113
|
-
function parseThreadParts(
|
|
114
|
-
const
|
|
115
|
-
if (
|
|
139
|
+
function parseThreadParts(_0x4e4734) {
|
|
140
|
+
const _0x1b6c82 = { _0x6b0057: 0x14e }, _0xff8f47 = _0x2cd54a, _0x30fda6 = _0x4e4734[_0xff8f47(0x126)](':');
|
|
141
|
+
if (_0x30fda6['length'] < 0x1 || _0x30fda6[_0xff8f47(_0x1b6c82._0x6b0057)] > 0x2)
|
|
116
142
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
117
143
|
return {
|
|
118
|
-
'channelName': ensureSegment(
|
|
119
|
-
'threadShortId':
|
|
144
|
+
'channelName': ensureSegment(_0x30fda6[0x0] ?? ''),
|
|
145
|
+
'threadShortId': _0x30fda6[0x1] ? ensureSegment(_0x30fda6[0x1]) : null
|
|
120
146
|
};
|
|
121
147
|
}
|
|
122
|
-
function parseTarget(
|
|
123
|
-
const
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
148
|
+
function parseTarget(_0x49ca82) {
|
|
149
|
+
const _0x130a0d = {
|
|
150
|
+
_0x1eea6e: 0x1a3,
|
|
151
|
+
_0x3f4151: 0x292,
|
|
152
|
+
_0x173068: 0x23c,
|
|
153
|
+
_0x7cb73f: 0x28f,
|
|
154
|
+
_0x34d0c0: 0x149,
|
|
155
|
+
_0x1e2b20: 0x299,
|
|
156
|
+
_0x12a777: 0x1a3
|
|
157
|
+
}, _0x2354e9 = _0x2cd54a, _0x3f7960 = _0x49ca82['trim']();
|
|
158
|
+
if (!_0x3f7960)
|
|
130
159
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
131
|
-
if (
|
|
132
|
-
const
|
|
133
|
-
if (!
|
|
160
|
+
if (_0x3f7960[_0x2354e9(0x149)]('#')) {
|
|
161
|
+
const _0x1548c6 = parseThreadParts(_0x3f7960[_0x2354e9(0x28f)](0x1)), _0x1a2397 = '#' + _0x1548c6[_0x2354e9(0x292)];
|
|
162
|
+
if (!_0x1548c6[_0x2354e9(_0x130a0d._0x1eea6e)])
|
|
134
163
|
return {
|
|
135
|
-
'channelName':
|
|
136
|
-
'channelTarget':
|
|
137
|
-
'kind':
|
|
138
|
-
'target':
|
|
164
|
+
'channelName': _0x1548c6[_0x2354e9(_0x130a0d._0x3f4151)],
|
|
165
|
+
'channelTarget': _0x1a2397,
|
|
166
|
+
'kind': _0x2354e9(0x16c),
|
|
167
|
+
'target': _0x1a2397
|
|
139
168
|
};
|
|
140
169
|
return {
|
|
141
|
-
'channelName':
|
|
142
|
-
'channelTarget':
|
|
143
|
-
'kind':
|
|
144
|
-
'target':
|
|
145
|
-
'threadShortId':
|
|
170
|
+
'channelName': _0x1548c6[_0x2354e9(0x292)],
|
|
171
|
+
'channelTarget': _0x1a2397,
|
|
172
|
+
'kind': _0x2354e9(_0x130a0d._0x173068),
|
|
173
|
+
'target': _0x1a2397 + ':' + _0x1548c6[_0x2354e9(0x1a3)],
|
|
174
|
+
'threadShortId': _0x1548c6[_0x2354e9(0x1a3)]
|
|
146
175
|
};
|
|
147
176
|
}
|
|
148
|
-
if (
|
|
149
|
-
const
|
|
150
|
-
if (!
|
|
177
|
+
if (_0x3f7960['startsWith'](_0x2354e9(0x1c0))) {
|
|
178
|
+
const _0x270601 = parseThreadParts(_0x3f7960[_0x2354e9(_0x130a0d._0x7cb73f)](0x3));
|
|
179
|
+
if (!_0x270601[_0x2354e9(0x292)][_0x2354e9(_0x130a0d._0x34d0c0)](_0x2354e9(_0x130a0d._0x1e2b20)))
|
|
151
180
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
152
|
-
const
|
|
153
|
-
if (!
|
|
181
|
+
const _0x34f376 = 'dm:' + _0x270601[_0x2354e9(0x292)];
|
|
182
|
+
if (!_0x270601[_0x2354e9(_0x130a0d._0x12a777)])
|
|
154
183
|
return {
|
|
155
|
-
'channelName':
|
|
156
|
-
'channelTarget':
|
|
184
|
+
'channelName': _0x270601['channelName'],
|
|
185
|
+
'channelTarget': _0x34f376,
|
|
157
186
|
'kind': 'channel',
|
|
158
|
-
'target':
|
|
187
|
+
'target': _0x34f376
|
|
159
188
|
};
|
|
160
189
|
return {
|
|
161
|
-
'channelName':
|
|
162
|
-
'channelTarget':
|
|
163
|
-
'kind':
|
|
164
|
-
'target':
|
|
165
|
-
'threadShortId':
|
|
190
|
+
'channelName': _0x270601['channelName'],
|
|
191
|
+
'channelTarget': _0x34f376,
|
|
192
|
+
'kind': _0x2354e9(0x23c),
|
|
193
|
+
'target': _0x34f376 + ':' + _0x270601[_0x2354e9(_0x130a0d._0x1eea6e)],
|
|
194
|
+
'threadShortId': _0x270601[_0x2354e9(0x1a3)]
|
|
166
195
|
};
|
|
167
196
|
}
|
|
168
197
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
169
198
|
}
|
|
170
|
-
function asErrorMessage(
|
|
171
|
-
const
|
|
172
|
-
if (typeof
|
|
173
|
-
return
|
|
174
|
-
return
|
|
199
|
+
function asErrorMessage(_0x1b43f2, _0x22c67e) {
|
|
200
|
+
const _0x3d0bd9 = { _0x5f0e0a: 0x275 }, _0x305c11 = _0x2cd54a;
|
|
201
|
+
if (typeof _0x1b43f2 === 'string' && _0x1b43f2[_0x305c11(_0x3d0bd9._0x5f0e0a)]())
|
|
202
|
+
return _0x1b43f2;
|
|
203
|
+
return _0x22c67e;
|
|
175
204
|
}
|
|
176
|
-
function asRecord(
|
|
177
|
-
return typeof
|
|
205
|
+
function asRecord(_0x532771) {
|
|
206
|
+
return typeof _0x532771 === 'object' && _0x532771 !== null ? _0x532771 : {};
|
|
178
207
|
}
|
|
179
|
-
function stableStringify(
|
|
180
|
-
const
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
return '{' + _0x17c87f[_0x2fa113(_0x590e34._0x136428)](',') + '}';
|
|
208
|
+
function stableStringify(_0x2f47fa) {
|
|
209
|
+
const _0x3875f4 = {
|
|
210
|
+
_0x4fede0: 0x1b9,
|
|
211
|
+
_0x1bcee4: 0x291,
|
|
212
|
+
_0x1fc4d2: 0x1da,
|
|
213
|
+
_0x5786c9: 0x121,
|
|
214
|
+
_0x52dae9: 0x13f
|
|
215
|
+
}, _0x1f9179 = _0x2cd54a;
|
|
216
|
+
if (_0x2f47fa === null || typeof _0x2f47fa !== 'object')
|
|
217
|
+
return JSON[_0x1f9179(0x1c9)](_0x2f47fa);
|
|
218
|
+
if (Array[_0x1f9179(_0x3875f4._0x4fede0)](_0x2f47fa))
|
|
219
|
+
return '[' + _0x2f47fa[_0x1f9179(0x13f)](_0x3ba7d9 => stableStringify(_0x3ba7d9))[_0x1f9179(_0x3875f4._0x1bcee4)](',') + ']';
|
|
220
|
+
const _0x511cf8 = Object[_0x1f9179(_0x3875f4._0x1fc4d2)](_0x2f47fa)[_0x1f9179(_0x3875f4._0x5786c9)](([, _0x6681c4]) => _0x6681c4 !== void 0x0)['sort'](([_0xe21bc], [_0x18c85d]) => _0xe21bc[_0x1f9179(0x169)](_0x18c85d))[_0x1f9179(_0x3875f4._0x52dae9)](([_0x1e4209, _0x39872d]) => JSON['stringify'](_0x1e4209) + ':' + stableStringify(_0x39872d));
|
|
221
|
+
return '{' + _0x511cf8[_0x1f9179(0x291)](',') + '}';
|
|
194
222
|
}
|
|
195
|
-
function createHeaders(
|
|
196
|
-
const
|
|
223
|
+
function createHeaders(_0x477238) {
|
|
224
|
+
const _0x3c5d56 = _0x2cd54a;
|
|
197
225
|
return {
|
|
198
|
-
'Content-Type':
|
|
199
|
-
'x-daemon-api-key':
|
|
226
|
+
'Content-Type': _0x3c5d56(0x230),
|
|
227
|
+
'x-daemon-api-key': _0x477238
|
|
200
228
|
};
|
|
201
229
|
}
|
|
202
|
-
function toHttpBaseUrl(
|
|
203
|
-
const
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
_0x10298b: 0xfc,
|
|
207
|
-
_0x3a2842: 0x205,
|
|
208
|
-
_0x482bd3: 0x151
|
|
209
|
-
}, _0x13b874 = _0x39cf13, _0x31cb39 = new URL(_0x3835b2);
|
|
210
|
-
if (_0x31cb39[_0x13b874(0x103)] === _0x13b874(_0x4de644._0x3bcc62))
|
|
211
|
-
_0x31cb39[_0x13b874(0x103)] = _0x13b874(0xeb);
|
|
230
|
+
function toHttpBaseUrl(_0x4a23fb) {
|
|
231
|
+
const _0x33b9ad = { _0x19b5e1: 0x245 }, _0x7b792e = _0x2cd54a, _0x14481d = new URL(_0x4a23fb);
|
|
232
|
+
if (_0x14481d[_0x7b792e(_0x33b9ad._0x19b5e1)] === _0x7b792e(0x11a))
|
|
233
|
+
_0x14481d[_0x7b792e(0x245)] = _0x7b792e(0x27d);
|
|
212
234
|
else
|
|
213
|
-
|
|
214
|
-
return
|
|
235
|
+
_0x14481d[_0x7b792e(_0x33b9ad._0x19b5e1)] === 'wss:' && (_0x14481d['protocol'] = 'https:');
|
|
236
|
+
return _0x14481d['toString']()[_0x7b792e(0x16a)](/\/$/, '');
|
|
215
237
|
}
|
|
216
|
-
function isMentionBoundary(
|
|
217
|
-
|
|
238
|
+
function isMentionBoundary(_0x53f9c5) {
|
|
239
|
+
const _0x52f805 = _0x2cd54a;
|
|
240
|
+
return !_0x53f9c5 || /\s|[([{'",。!?、:;]/[_0x52f805(0x29c)](_0x53f9c5);
|
|
218
241
|
}
|
|
219
|
-
function isMentionTerminal(
|
|
220
|
-
|
|
221
|
-
return !_0x19d029 || /\s|[)\]}'",。!?、:;,.!?]/[_0x4a2c10(0x168)](_0x19d029);
|
|
242
|
+
function isMentionTerminal(_0x47de83) {
|
|
243
|
+
return !_0x47de83 || /\s|[)\]}'",。!?、:;,.!?]/['test'](_0x47de83);
|
|
222
244
|
}
|
|
223
|
-
function buildMatchableEntries(
|
|
224
|
-
const
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
...
|
|
232
|
-
..._0x589ec6[_0x362183(0x124)]
|
|
245
|
+
function buildMatchableEntries(_0x8cf6d4) {
|
|
246
|
+
const _0x1d4969 = {
|
|
247
|
+
_0x42cae8: 0x1a8,
|
|
248
|
+
_0x199d99: 0x26e,
|
|
249
|
+
_0x3aa78a: 0x293
|
|
250
|
+
}, _0x31adce = _0x2cd54a, _0x11977c = [];
|
|
251
|
+
for (const _0x57ded5 of [
|
|
252
|
+
..._0x8cf6d4['agents'],
|
|
253
|
+
..._0x8cf6d4[_0x31adce(_0x1d4969._0x42cae8)]
|
|
233
254
|
]) {
|
|
234
|
-
|
|
235
|
-
'matchName':
|
|
236
|
-
'matchNameLower':
|
|
237
|
-
'participantId':
|
|
238
|
-
}),
|
|
239
|
-
'matchName':
|
|
240
|
-
'matchNameLower':
|
|
241
|
-
'participantId':
|
|
255
|
+
_0x11977c[_0x31adce(_0x1d4969._0x199d99)]({
|
|
256
|
+
'matchName': _0x57ded5[_0x31adce(0x123)],
|
|
257
|
+
'matchNameLower': _0x57ded5['name'][_0x31adce(0x293)](),
|
|
258
|
+
'participantId': _0x57ded5['id']
|
|
259
|
+
}), _0x57ded5['id'] !== _0x57ded5[_0x31adce(0x123)] && _0x11977c['push']({
|
|
260
|
+
'matchName': _0x57ded5['id'],
|
|
261
|
+
'matchNameLower': _0x57ded5['id'][_0x31adce(_0x1d4969._0x3aa78a)](),
|
|
262
|
+
'participantId': _0x57ded5['id']
|
|
242
263
|
});
|
|
243
264
|
}
|
|
244
|
-
return
|
|
265
|
+
return _0x11977c;
|
|
245
266
|
}
|
|
246
|
-
function extractMentionedParticipantIds(
|
|
247
|
-
const
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
},
|
|
255
|
-
for (let
|
|
256
|
-
if (
|
|
267
|
+
function extractMentionedParticipantIds(_0x236057, _0x57aaa2) {
|
|
268
|
+
const _0x3bb830 = {
|
|
269
|
+
_0x18f196: 0x1b6,
|
|
270
|
+
_0x3c3a62: 0x28f,
|
|
271
|
+
_0x49be67: 0x150,
|
|
272
|
+
_0x1c3e04: 0x283,
|
|
273
|
+
_0x2c7e4b: 0x214,
|
|
274
|
+
_0x5ee91c: 0x14e
|
|
275
|
+
}, _0x571fff = { _0x5d3b8e: 0x14e }, _0x4a8b68 = _0x2cd54a, _0xd0b0ae = buildMatchableEntries(_0x57aaa2)[_0x4a8b68(_0x3bb830._0x18f196)]((_0x5787a8, _0x3c4bba) => _0x3c4bba['matchName'][_0x4a8b68(0x14e)] - _0x5787a8[_0x4a8b68(0x1ea)][_0x4a8b68(0x14e)]), _0x48902c = [], _0x452a67 = new Set();
|
|
276
|
+
for (let _0x5e1756 = 0x0; _0x5e1756 < _0x236057['length']; _0x5e1756 += 0x1) {
|
|
277
|
+
if (_0x236057[_0x5e1756] !== '@' || !isMentionBoundary(_0x236057[_0x5e1756 - 0x1]))
|
|
257
278
|
continue;
|
|
258
|
-
const
|
|
259
|
-
const
|
|
260
|
-
if (!
|
|
279
|
+
const _0x31ba17 = _0x236057[_0x4a8b68(_0x3bb830._0x3c3a62)](_0x5e1756 + 0x1), _0x59aa83 = _0x31ba17[_0x4a8b68(0x293)](), _0x3174c5 = _0xd0b0ae['find'](_0x28ee54 => {
|
|
280
|
+
const _0x2b65ef = _0x4a8b68;
|
|
281
|
+
if (!_0x59aa83[_0x2b65ef(0x149)](_0x28ee54[_0x2b65ef(0x1f0)]))
|
|
261
282
|
return ![];
|
|
262
|
-
return isMentionTerminal(
|
|
283
|
+
return isMentionTerminal(_0x31ba17[_0x28ee54['matchName'][_0x2b65ef(_0x571fff._0x5d3b8e)]]);
|
|
263
284
|
});
|
|
264
|
-
if (!
|
|
285
|
+
if (!_0x3174c5 || _0x452a67[_0x4a8b68(_0x3bb830._0x49be67)](_0x3174c5[_0x4a8b68(0x214)]))
|
|
265
286
|
continue;
|
|
266
|
-
|
|
287
|
+
_0x452a67[_0x4a8b68(_0x3bb830._0x1c3e04)](_0x3174c5[_0x4a8b68(_0x3bb830._0x2c7e4b)]), _0x48902c[_0x4a8b68(0x26e)](_0x3174c5[_0x4a8b68(0x214)]), _0x5e1756 += _0x3174c5[_0x4a8b68(0x1ea)][_0x4a8b68(_0x3bb830._0x5ee91c)];
|
|
267
288
|
}
|
|
268
|
-
return
|
|
289
|
+
return _0x48902c;
|
|
269
290
|
}
|
|
270
291
|
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
271
|
-
function anySignal(...
|
|
272
|
-
const
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
292
|
+
function anySignal(..._0x1a4d51) {
|
|
293
|
+
const _0x119668 = {
|
|
294
|
+
_0x38e28d: 0x22e,
|
|
295
|
+
_0x2dab3c: 0x234,
|
|
296
|
+
_0x4081f5: 0x234
|
|
297
|
+
}, _0x4887ae = _0x2cd54a, _0x3d59ba = new AbortController();
|
|
298
|
+
for (const _0x2e3566 of _0x1a4d51) {
|
|
299
|
+
if (_0x2e3566[_0x4887ae(_0x119668._0x38e28d)])
|
|
300
|
+
return _0x3d59ba['abort'](_0x2e3566[_0x4887ae(0x1f8)]), _0x3d59ba[_0x4887ae(_0x119668._0x2dab3c)];
|
|
301
|
+
_0x2e3566['addEventListener'](_0x4887ae(0x265), () => _0x3d59ba[_0x4887ae(0x265)](_0x2e3566[_0x4887ae(0x1f8)]), {
|
|
280
302
|
'once': !![],
|
|
281
|
-
'signal':
|
|
303
|
+
'signal': _0x3d59ba[_0x4887ae(_0x119668._0x4081f5)]
|
|
282
304
|
});
|
|
283
305
|
}
|
|
284
|
-
return
|
|
306
|
+
return _0x3d59ba[_0x4887ae(0x234)];
|
|
285
307
|
}
|
|
286
|
-
function createInternalAgentClient(
|
|
287
|
-
const
|
|
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
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
},
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
},
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
},
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
},
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
},
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
},
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
_0x23241c: 0xd4,
|
|
436
|
-
_0x2cf7f2: 0x135,
|
|
437
|
-
_0x18fc7d: 0xf7
|
|
438
|
-
}, _0x3e8efa = _0x39cf13, _0x58106a = _0x14b42c['fetchImpl'] ?? fetch, _0x286701 = _0x14b42c[_0x3e8efa(_0x18928c._0x37cc9a)] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x3e5e07 = typeof _0x14b42c[_0x3e8efa(_0x18928c._0x2ef9de)] === _0x3e8efa(_0x18928c._0x2fafe7) && _0x14b42c['initialLastSeenSeq'] > 0x0 ? _0x14b42c[_0x3e8efa(0x180)] : 0x0, _0x16f970 = _0x14b42c['daemonLocalUrl']?.[_0x3e8efa(0x1eb)]() || void 0x0, _0x59ed0e = _0x14b42c[_0x3e8efa(0xac)]?.[_0x3e8efa(_0x18928c._0x36397f)]() || void 0x0, _0x51144d = _0x14b42c[_0x3e8efa(0x12b)] === !![], _0x3e643 = _0x14b42c[_0x3e8efa(_0x18928c._0x19ec76)]?.[_0x3e8efa(_0x18928c._0x36397f)]() || void 0x0, _0x38e665 = _0x14b42c[_0x3e8efa(_0x18928c._0x51d081)]?.[_0x3e8efa(_0x18928c._0x36397f)]() || void 0x0, _0x570565 = createHeaders(_0x14b42c[_0x3e8efa(0x9e)]), _0x362b22 = toHttpBaseUrl(_0x14b42c[_0x3e8efa(_0x18928c._0x1bf309)]);
|
|
439
|
-
let _0x4d70a9 = null;
|
|
440
|
-
const _0x3a51db = new Map();
|
|
441
|
-
let _0x19bed3 = _0x3e5e07, _0x14196b = _0x3e5e07;
|
|
442
|
-
function _0x15e62b(_0x12d284) {
|
|
443
|
-
const _0x45b68f = _0x3e8efa, _0xc80dd6 = _0x12d284[_0x45b68f(_0x37a1a6._0x475dc0)][_0x45b68f(_0x37a1a6._0x16c6be)][_0x45b68f(0x117)]('content-type') ?? _0x45b68f(_0x37a1a6._0x36d302), _0x50c6f7 = _0x12d284[_0x45b68f(0x1d1)][_0x45b68f(0x1eb)]()[_0x45b68f(_0x37a1a6._0x4a16c3)](/\s+/g, '\x20')['slice'](0x0, 0x78) || '<empty>';
|
|
444
|
-
return '请求\x20' + _0x12d284['requestUrl'] + _0x45b68f(_0x37a1a6._0x23241c) + _0x12d284[_0x45b68f(_0x37a1a6._0x2cf7f2)]['status'] + _0x45b68f(_0x37a1a6._0x18fc7d) + _0xc80dd6 + ',\x20preview=' + _0x50c6f7 + _0x45b68f(0x1e1);
|
|
308
|
+
function createInternalAgentClient(_0x2b4307) {
|
|
309
|
+
const _0x5b684b = {
|
|
310
|
+
_0x14f2d2: 0x21c,
|
|
311
|
+
_0x35b4c7: 0x250,
|
|
312
|
+
_0x342495: 0x1c6,
|
|
313
|
+
_0xec4963: 0x12c,
|
|
314
|
+
_0x4781f5: 0x269,
|
|
315
|
+
_0x37df96: 0x275
|
|
316
|
+
}, _0x28a537 = {
|
|
317
|
+
_0x21980a: 0x1bf,
|
|
318
|
+
_0x315a2b: 0x21f,
|
|
319
|
+
_0x3b4a5c: 0x280,
|
|
320
|
+
_0x50ff17: 0x14e,
|
|
321
|
+
_0x47c4db: 0x13f,
|
|
322
|
+
_0x14029b: 0x154,
|
|
323
|
+
_0x1dc122: 0x16b,
|
|
324
|
+
_0x1dccd4: 0x1c8,
|
|
325
|
+
_0x591369: 0x186,
|
|
326
|
+
_0x3eecbe: 0x128,
|
|
327
|
+
_0x45e6ff: 0x1da,
|
|
328
|
+
_0x16f936: 0x217,
|
|
329
|
+
_0x1b8281: 0x182,
|
|
330
|
+
_0x3d3a82: 0x18b,
|
|
331
|
+
_0x2ac008: 0x223,
|
|
332
|
+
_0x364316: 0x200,
|
|
333
|
+
_0x4cfecb: 0x1b3,
|
|
334
|
+
_0x723284: 0x1b3,
|
|
335
|
+
_0xbebc4f: 0x25d,
|
|
336
|
+
_0x370038: 0x16b,
|
|
337
|
+
_0x51dd50: 0x175,
|
|
338
|
+
_0x13943b: 0x175,
|
|
339
|
+
_0x4a9058: 0x26e
|
|
340
|
+
}, _0x2cb3d7 = {
|
|
341
|
+
_0x138870: 0x16c,
|
|
342
|
+
_0x2bc00e: 0x1dd
|
|
343
|
+
}, _0x4856d0 = {
|
|
344
|
+
_0x327f32: 0x1c2,
|
|
345
|
+
_0x5d2f15: 0x234,
|
|
346
|
+
_0x5782a5: 0x261,
|
|
347
|
+
_0x4405c1: 0x1cc,
|
|
348
|
+
_0x19348e: 0x17b,
|
|
349
|
+
_0x571949: 0x186,
|
|
350
|
+
_0x29bd4a: 0x1a6
|
|
351
|
+
}, _0x12bb9f = {
|
|
352
|
+
_0x3f4b94: 0x1c8,
|
|
353
|
+
_0x32ab56: 0x198,
|
|
354
|
+
_0xc62c7c: 0x1f5,
|
|
355
|
+
_0x6b5792: 0x1ca,
|
|
356
|
+
_0x5877bd: 0x1cc,
|
|
357
|
+
_0x215f27: 0x1d6,
|
|
358
|
+
_0x479cf2: 0x22b,
|
|
359
|
+
_0xb33809: 0x241
|
|
360
|
+
}, _0x2bf957 = { _0x580e7a: 0x21f }, _0x146d3c = {
|
|
361
|
+
_0x43a34d: 0x198,
|
|
362
|
+
_0x4230df: 0x24b,
|
|
363
|
+
_0x59129b: 0x1c9,
|
|
364
|
+
_0x2a920e: 0x146
|
|
365
|
+
}, _0x3226f8 = {
|
|
366
|
+
_0x416558: 0x198,
|
|
367
|
+
_0x2644b4: 0x276
|
|
368
|
+
}, _0x3cec28 = {
|
|
369
|
+
_0x3f33b9: 0x198,
|
|
370
|
+
_0x5e686f: 0x195,
|
|
371
|
+
_0x4c3cd1: 0x1c9,
|
|
372
|
+
_0x536152: 0x1e1
|
|
373
|
+
}, _0x265026 = {
|
|
374
|
+
_0x3b10a7: 0x125,
|
|
375
|
+
_0x3ae6ce: 0x16c,
|
|
376
|
+
_0x43ad8f: 0x21f,
|
|
377
|
+
_0x25193a: 0x1fa
|
|
378
|
+
}, _0x3383be = {
|
|
379
|
+
_0x5566ef: 0x243,
|
|
380
|
+
_0x10f763: 0x1e1,
|
|
381
|
+
_0x30a3c0: 0x1cc
|
|
382
|
+
}, _0x11025e = {
|
|
383
|
+
_0x1fc922: 0x1ba,
|
|
384
|
+
_0x4fbda9: 0x268,
|
|
385
|
+
_0x424f79: 0x1ba
|
|
386
|
+
}, _0x1608e8 = { _0x30ccd1: 0x1e1 }, _0xd7d123 = {
|
|
387
|
+
_0x228cb4: 0x277,
|
|
388
|
+
_0x5616d9: 0x1cc
|
|
389
|
+
}, _0x3c0ecb = {
|
|
390
|
+
_0x211878: 0x29f,
|
|
391
|
+
_0x1ebd8c: 0x1dd,
|
|
392
|
+
_0x5cbe69: 0x173,
|
|
393
|
+
_0x2f14a8: 0x1e1
|
|
394
|
+
}, _0x46c077 = {
|
|
395
|
+
_0x449e70: 0x1c8,
|
|
396
|
+
_0x72a46b: 0x1c8,
|
|
397
|
+
_0x3cbc46: 0x1dd,
|
|
398
|
+
_0x13f4ee: 0x125,
|
|
399
|
+
_0x2163e8: 0x125,
|
|
400
|
+
_0x3a1bbf: 0x133,
|
|
401
|
+
_0x12c3f6: 0x198,
|
|
402
|
+
_0x31406a: 0x1f7,
|
|
403
|
+
_0xae60e8: 0x1bf,
|
|
404
|
+
_0x493c3d: 0x1fa,
|
|
405
|
+
_0x12844d: 0x13f,
|
|
406
|
+
_0x294bcf: 0x280,
|
|
407
|
+
_0x38d70a: 0x1bb,
|
|
408
|
+
_0x4a06f1: 0x220
|
|
409
|
+
}, _0x1d9c60 = { _0x52d574: 0x123 }, _0x2ad810 = {
|
|
410
|
+
_0x1e9326: 0x1b3,
|
|
411
|
+
_0x24a681: 0x160,
|
|
412
|
+
_0x28ee7f: 0x128,
|
|
413
|
+
_0x1e803a: 0x229,
|
|
414
|
+
_0x2bf23e: 0x1a3,
|
|
415
|
+
_0x59995b: 0x1c8
|
|
416
|
+
}, _0x408f1b = {
|
|
417
|
+
_0x509e84: 0x160,
|
|
418
|
+
_0x8e8f67: 0x1c8,
|
|
419
|
+
_0x27570c: 0x28f,
|
|
420
|
+
_0xb68195: 0x160
|
|
421
|
+
}, _0xbf772f = { _0x5b5f56: 0x255 }, _0x535f06 = { _0x430af4: 0x17d }, _0x4081c5 = {
|
|
422
|
+
_0xec45cd: 0x198,
|
|
423
|
+
_0x3cc207: 0x1c8
|
|
424
|
+
}, _0x2fe62b = { _0x1c12e9: 0x230 }, _0x1224c5 = {
|
|
425
|
+
_0x2a50e9: 0x272,
|
|
426
|
+
_0x6fc219: 0x29a
|
|
427
|
+
}, _0x502d92 = {
|
|
428
|
+
_0x534ab5: 0x234,
|
|
429
|
+
_0x39ddf9: 0x243
|
|
430
|
+
}, _0x535cc9 = {
|
|
431
|
+
_0x3e194f: 0x234,
|
|
432
|
+
_0x35b2ee: 0x156
|
|
433
|
+
}, _0x507171 = {
|
|
434
|
+
_0x2a3b1d: 0x1b2,
|
|
435
|
+
_0x57b1fa: 0x18d,
|
|
436
|
+
_0x371eca: 0x281,
|
|
437
|
+
_0x10e738: 0x297,
|
|
438
|
+
_0x2abe0a: 0x233,
|
|
439
|
+
_0xfafbea: 0x125
|
|
440
|
+
}, _0x3694c9 = {
|
|
441
|
+
_0xed2d4b: 0x1aa,
|
|
442
|
+
_0x4473c0: 0x1a6
|
|
443
|
+
}, _0x4dcd07 = {
|
|
444
|
+
_0x2a0dd7: 0x26c,
|
|
445
|
+
_0x4adcde: 0x237,
|
|
446
|
+
_0x2657b2: 0x16a,
|
|
447
|
+
_0x5b7810: 0x158,
|
|
448
|
+
_0x4686cc: 0x197,
|
|
449
|
+
_0x47ce4f: 0x286
|
|
450
|
+
}, _0x39387c = _0x2cd54a, _0x432b33 = _0x2b4307[_0x39387c(_0x5b684b._0x14f2d2)] ?? fetch, _0x271e41 = _0x2b4307[_0x39387c(_0x5b684b._0x35b4c7)] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x354a76 = typeof _0x2b4307[_0x39387c(0x15a)] === _0x39387c(0x1c4) && _0x2b4307['initialLastSeenSeq'] > 0x0 ? _0x2b4307[_0x39387c(0x15a)] : 0x0, _0x2bc3b5 = _0x2b4307[_0x39387c(_0x5b684b._0x342495)]?.['trim']() || void 0x0, _0x2f54d5 = _0x2b4307[_0x39387c(_0x5b684b._0xec4963)]?.[_0x39387c(0x275)]() || void 0x0, _0x50d0d5 = _0x2b4307[_0x39387c(_0x5b684b._0x4781f5)] === !![], _0x51747a = _0x2b4307['workerSessionId']?.[_0x39387c(_0x5b684b._0x37df96)]() || void 0x0, _0x21c4f8 = _0x2b4307[_0x39387c(0x191)]?.['trim']() || void 0x0, _0x23725b = createHeaders(_0x2b4307[_0x39387c(0x225)]), _0x21fb6a = toHttpBaseUrl(_0x2b4307[_0x39387c(0x288)]);
|
|
451
|
+
let _0xbd0243 = null;
|
|
452
|
+
const _0x542714 = new Map();
|
|
453
|
+
let _0x5890c9 = _0x354a76, _0x2aacaf = _0x354a76;
|
|
454
|
+
function _0x49f0d5(_0x6eb9c1) {
|
|
455
|
+
const _0x1502f3 = _0x39387c, _0x3bb13c = _0x6eb9c1[_0x1502f3(_0x4dcd07._0x2a0dd7)]['headers'][_0x1502f3(0x186)]('content-type') ?? 'unknown', _0x441707 = _0x6eb9c1[_0x1502f3(_0x4dcd07._0x4adcde)][_0x1502f3(0x275)]()[_0x1502f3(_0x4dcd07._0x2657b2)](/\s+/g, '\x20')[_0x1502f3(0x28f)](0x0, 0x78) || _0x1502f3(0x14f);
|
|
456
|
+
return _0x1502f3(_0x4dcd07._0x5b7810) + _0x6eb9c1[_0x1502f3(_0x4dcd07._0x4686cc)] + _0x1502f3(0x1ec) + _0x6eb9c1[_0x1502f3(_0x4dcd07._0x2a0dd7)]['status'] + ',\x20content-type=' + _0x3bb13c + _0x1502f3(0x1e6) + _0x441707 + _0x1502f3(_0x4dcd07._0x47ce4f);
|
|
445
457
|
}
|
|
446
|
-
async function
|
|
447
|
-
const
|
|
448
|
-
if (!
|
|
458
|
+
async function _0x5f2d94(_0x19784d, _0x233db9) {
|
|
459
|
+
const _0x584255 = _0x39387c, _0x127b8e = Buffer[_0x584255(_0x3694c9._0xed2d4b)](await _0x233db9[_0x584255(_0x3694c9._0x4473c0)]())['toString']('utf8');
|
|
460
|
+
if (!_0x127b8e[_0x584255(0x275)]())
|
|
449
461
|
return {};
|
|
450
462
|
try {
|
|
451
|
-
return JSON[
|
|
463
|
+
return JSON['parse'](_0x127b8e);
|
|
452
464
|
} catch {
|
|
453
|
-
throw new Error(
|
|
454
|
-
'bodyText':
|
|
455
|
-
'requestUrl':
|
|
456
|
-
'response':
|
|
465
|
+
throw new Error(_0x49f0d5({
|
|
466
|
+
'bodyText': _0x127b8e,
|
|
467
|
+
'requestUrl': _0x19784d,
|
|
468
|
+
'response': _0x233db9
|
|
457
469
|
}));
|
|
458
470
|
}
|
|
459
471
|
}
|
|
460
|
-
function
|
|
461
|
-
const
|
|
462
|
-
if (
|
|
463
|
-
return
|
|
464
|
-
const
|
|
465
|
-
for (const [
|
|
466
|
-
|
|
472
|
+
function _0x322222(_0x5186f4, _0x5ba484) {
|
|
473
|
+
const _0x4babd5 = _0x39387c, _0x21075e = typeof _0x5ba484[_0x4babd5(0x1b2)] === 'string' ? _0x5ba484[_0x4babd5(_0x507171._0x2a3b1d)][_0x4babd5(0x275)]() : '';
|
|
474
|
+
if (_0x21075e)
|
|
475
|
+
return _0x21075e;
|
|
476
|
+
const _0x4ffe9f = Date[_0x4babd5(0x14b)]();
|
|
477
|
+
for (const [_0x4159ec, _0x469340] of _0x542714) {
|
|
478
|
+
_0x469340[_0x4babd5(0x165)] <= _0x4ffe9f && _0x542714[_0x4babd5(_0x507171._0x57b1fa)](_0x4159ec);
|
|
467
479
|
}
|
|
468
|
-
const
|
|
469
|
-
...
|
|
480
|
+
const _0x3f070a = {
|
|
481
|
+
..._0x5ba484,
|
|
470
482
|
'idempotency_key': void 0x0
|
|
471
|
-
},
|
|
472
|
-
if (
|
|
473
|
-
return
|
|
474
|
-
const
|
|
475
|
-
return
|
|
476
|
-
'expiresAt':
|
|
477
|
-
'value':
|
|
478
|
-
}),
|
|
483
|
+
}, _0x222e5a = createHash('sha256')[_0x4babd5(0x252)](_0x5186f4 + ':' + stableStringify(_0x3f070a))[_0x4babd5(_0x507171._0x371eca)](_0x4babd5(_0x507171._0x10e738)), _0x27e773 = _0x5186f4 + ':' + _0x222e5a, _0x163d35 = _0x542714[_0x4babd5(0x186)](_0x27e773);
|
|
484
|
+
if (_0x163d35)
|
|
485
|
+
return _0x163d35[_0x4babd5(_0x507171._0x2abe0a)];
|
|
486
|
+
const _0xbf8392 = _0x4babd5(0x1ed) + _0x5186f4 + ':' + randomUUID();
|
|
487
|
+
return _0x542714[_0x4babd5(_0x507171._0xfafbea)](_0x27e773, {
|
|
488
|
+
'expiresAt': _0x4ffe9f + 0x5 * 0x3c * 0x3e8,
|
|
489
|
+
'value': _0xbf8392
|
|
490
|
+
}), _0xbf8392;
|
|
479
491
|
}
|
|
480
|
-
async function
|
|
481
|
-
const
|
|
492
|
+
async function _0x527030(_0x25fd12, _0x1b1596) {
|
|
493
|
+
const _0x3518f2 = _0x39387c, _0x315d2e = new AbortController(), _0x310736 = setTimeout(() => _0x315d2e[_0x3518f2(0x265)](), _0x271e41), _0x18c065 = _0x1b1596?.['signal'] ? anySignal(_0x1b1596[_0x3518f2(_0x535cc9._0x3e194f)], _0x315d2e['signal']) : _0x315d2e['signal'], _0x395e20 = '' + _0x21fb6a + _0x25fd12;
|
|
482
494
|
try {
|
|
483
|
-
const
|
|
484
|
-
...
|
|
485
|
-
'signal':
|
|
486
|
-
}),
|
|
487
|
-
if (!
|
|
488
|
-
throw new Error(asErrorMessage(
|
|
489
|
-
return
|
|
495
|
+
const _0x5e0b02 = await _0x432b33(_0x395e20, {
|
|
496
|
+
..._0x1b1596,
|
|
497
|
+
'signal': _0x18c065
|
|
498
|
+
}), _0xf7dc1f = await _0x5f2d94(_0x395e20, _0x5e0b02);
|
|
499
|
+
if (!_0x5e0b02['ok'] || _0xf7dc1f['success'] === ![])
|
|
500
|
+
throw new Error(asErrorMessage(_0xf7dc1f[_0x3518f2(_0x535cc9._0x35b2ee)], _0x3518f2(0x261) + _0x5e0b02['status']));
|
|
501
|
+
return _0xf7dc1f;
|
|
490
502
|
} finally {
|
|
491
|
-
clearTimeout(
|
|
503
|
+
clearTimeout(_0x310736);
|
|
492
504
|
}
|
|
493
505
|
}
|
|
494
|
-
async function
|
|
495
|
-
const
|
|
506
|
+
async function _0x1bbf73(_0x129fc9, _0x2c7fa0) {
|
|
507
|
+
const _0x4241e3 = _0x39387c, _0x297ad4 = new AbortController(), _0x480b10 = setTimeout(() => _0x297ad4['abort'](), _0x271e41), _0x4a6c1b = _0x2c7fa0?.[_0x4241e3(0x234)] ? anySignal(_0x2c7fa0[_0x4241e3(0x234)], _0x297ad4[_0x4241e3(0x234)]) : _0x297ad4[_0x4241e3(_0x502d92._0x534ab5)], _0xe3351c = '' + _0x21fb6a + _0x129fc9;
|
|
496
508
|
try {
|
|
497
|
-
const
|
|
498
|
-
...
|
|
499
|
-
'signal':
|
|
500
|
-
}),
|
|
501
|
-
if (!
|
|
502
|
-
throw new Error(asErrorMessage(
|
|
503
|
-
return
|
|
509
|
+
const _0x37f505 = await _0x432b33(_0xe3351c, {
|
|
510
|
+
..._0x2c7fa0,
|
|
511
|
+
'signal': _0x4a6c1b
|
|
512
|
+
}), _0xfc110f = await _0x5f2d94(_0xe3351c, _0x37f505);
|
|
513
|
+
if (!_0x37f505['ok'])
|
|
514
|
+
throw new Error(asErrorMessage(_0xfc110f[_0x4241e3(0x156)], _0x4241e3(0x261) + _0x37f505[_0x4241e3(_0x502d92._0x39ddf9)]));
|
|
515
|
+
return _0xfc110f;
|
|
504
516
|
} finally {
|
|
505
|
-
clearTimeout(
|
|
517
|
+
clearTimeout(_0x480b10);
|
|
506
518
|
}
|
|
507
519
|
}
|
|
508
|
-
async function
|
|
509
|
-
const
|
|
510
|
-
if (!
|
|
520
|
+
async function _0x4cf89a(_0x35ba07) {
|
|
521
|
+
const _0x3f2c52 = _0x39387c;
|
|
522
|
+
if (!_0x2f54d5 || _0x35ba07 <= _0x2aacaf)
|
|
511
523
|
return;
|
|
512
|
-
await
|
|
513
|
-
'body': JSON[
|
|
514
|
-
'headers':
|
|
515
|
-
'method':
|
|
516
|
-
}),
|
|
524
|
+
await _0x527030('/api/agent-sessions/' + encodeURIComponent(_0x2f54d5) + _0x3f2c52(_0x1224c5._0x2a50e9), {
|
|
525
|
+
'body': JSON['stringify']({ 'lastSeenSeq': _0x35ba07 }),
|
|
526
|
+
'headers': _0x23725b,
|
|
527
|
+
'method': _0x3f2c52(_0x1224c5._0x6fc219)
|
|
528
|
+
}), _0x2aacaf = _0x35ba07;
|
|
517
529
|
}
|
|
518
|
-
async function
|
|
519
|
-
const
|
|
520
|
-
if (!
|
|
530
|
+
async function _0x5a72d3(_0x1dbb05) {
|
|
531
|
+
const _0x5b3366 = _0x39387c;
|
|
532
|
+
if (!_0x2bc3b5 || !_0x51747a || _0x1dbb05 <= _0x2aacaf)
|
|
521
533
|
return;
|
|
522
|
-
const
|
|
523
|
-
'body': JSON[
|
|
524
|
-
'last_seen_seq':
|
|
525
|
-
'worker_session_id':
|
|
534
|
+
const _0x88a36 = await _0x432b33(_0x2bc3b5 + _0x5b3366(0x28a), {
|
|
535
|
+
'body': JSON[_0x5b3366(0x1c9)]({
|
|
536
|
+
'last_seen_seq': _0x1dbb05,
|
|
537
|
+
'worker_session_id': _0x51747a
|
|
526
538
|
}),
|
|
527
|
-
'headers': { 'Content-Type':
|
|
528
|
-
'method':
|
|
539
|
+
'headers': { 'Content-Type': _0x5b3366(_0x2fe62b._0x1c12e9) },
|
|
540
|
+
'method': 'POST'
|
|
529
541
|
});
|
|
530
|
-
if (!
|
|
531
|
-
throw new Error('HTTP\x20' +
|
|
532
|
-
|
|
542
|
+
if (!_0x88a36['ok'])
|
|
543
|
+
throw new Error('HTTP\x20' + _0x88a36['status']);
|
|
544
|
+
_0x2aacaf = _0x1dbb05;
|
|
533
545
|
}
|
|
534
|
-
async function
|
|
535
|
-
const
|
|
536
|
-
'body': JSON[
|
|
537
|
-
'headers':
|
|
538
|
-
'method':
|
|
546
|
+
async function _0x32f7ee(_0x13811e) {
|
|
547
|
+
const _0x469e90 = _0x39387c, _0x16c835 = parseTarget(_0x13811e), _0x3e94ed = await _0x527030('/internal/agent/' + _0x2b4307[_0x469e90(_0x4081c5._0xec45cd)] + '/resolve-channel', {
|
|
548
|
+
'body': JSON[_0x469e90(0x1c9)]({ 'target': _0x16c835[_0x469e90(0x1ca)] }),
|
|
549
|
+
'headers': _0x23725b,
|
|
550
|
+
'method': _0x469e90(0x1e1)
|
|
539
551
|
});
|
|
540
552
|
return {
|
|
541
|
-
'channelId':
|
|
542
|
-
'target':
|
|
543
|
-
'task':
|
|
544
|
-
'threadId':
|
|
545
|
-
'threadNumber':
|
|
553
|
+
'channelId': _0x3e94ed[_0x469e90(0x1cc)]?.[_0x469e90(0x1dd)] ?? '',
|
|
554
|
+
'target': _0x16c835['channelTarget'],
|
|
555
|
+
'task': _0x3e94ed['data']?.[_0x469e90(0x18c)],
|
|
556
|
+
'threadId': _0x3e94ed[_0x469e90(0x1cc)]?.[_0x469e90(_0x4081c5._0x3cc207)],
|
|
557
|
+
'threadNumber': _0x3e94ed[_0x469e90(0x1cc)]?.[_0x469e90(0x128)]
|
|
546
558
|
};
|
|
547
559
|
}
|
|
548
|
-
async function
|
|
549
|
-
const
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
560
|
+
async function _0x360470(_0x18c159 = {}) {
|
|
561
|
+
const _0x594671 = {
|
|
562
|
+
_0x2cbca0: 0x21f,
|
|
563
|
+
_0x55a585: 0x25b,
|
|
564
|
+
_0x2b18e7: 0x2a0,
|
|
565
|
+
_0x508547: 0x13f,
|
|
566
|
+
_0x3a88fd: 0x121,
|
|
567
|
+
_0x3b2069: 0x13f,
|
|
568
|
+
_0x3fe46d: 0x1cc,
|
|
569
|
+
_0x57f2f1: 0x205,
|
|
570
|
+
_0x3da793: 0x1cc,
|
|
571
|
+
_0x1a4086: 0x123
|
|
572
|
+
}, _0xc5329 = _0x39387c;
|
|
573
|
+
if (!_0x18c159['forceRefresh'] && _0xbd0243)
|
|
574
|
+
return _0xbd0243;
|
|
575
|
+
return _0xbd0243 = (async () => {
|
|
576
|
+
const _0x11d32c = _0x46e8, _0x15379b = await _0x527030(_0x11d32c(_0x594671._0x2cbca0) + _0x2b4307[_0x11d32c(0x198)] + _0x11d32c(_0x594671._0x55a585), {
|
|
577
|
+
'headers': _0x23725b,
|
|
555
578
|
'method': 'GET'
|
|
556
|
-
}),
|
|
557
|
-
'id':
|
|
558
|
-
'name':
|
|
559
|
-
}))[
|
|
560
|
-
'id':
|
|
561
|
-
'name':
|
|
562
|
-
}))['filter'](
|
|
579
|
+
}), _0x502fc5 = _0x15379b['data']?.[_0x11d32c(_0x594671._0x2b18e7)] ?? [], _0xa1c1f5 = _0x502fc5['filter'](_0x51904f => _0x51904f[_0x11d32c(0x1a0)]?.['type'] === 'agent')[_0x11d32c(_0x594671._0x508547)](_0x3ff0ba => ({
|
|
580
|
+
'id': _0x146cbd(_0x3ff0ba),
|
|
581
|
+
'name': _0x46ba0f(_0x3ff0ba)
|
|
582
|
+
}))[_0x11d32c(_0x594671._0x3a88fd)](_0x43f5e4 => _0x43f5e4['id']), _0x4c1f5a = _0x502fc5[_0x11d32c(0x121)](_0x3d1ee2 => _0x3d1ee2[_0x11d32c(0x1a0)]?.[_0x11d32c(0x271)] !== _0x11d32c(0x26d))[_0x11d32c(_0x594671._0x3b2069)](_0x58b179 => ({
|
|
583
|
+
'id': _0x146cbd(_0x58b179),
|
|
584
|
+
'name': _0x46ba0f(_0x58b179)
|
|
585
|
+
}))['filter'](_0x43fa75 => _0x43fa75['id']), _0x44f91e = _0x15379b[_0x11d32c(_0x594671._0x3fe46d)]?.[_0x11d32c(_0x594671._0x57f2f1)]['id'] ?? '';
|
|
563
586
|
return {
|
|
564
|
-
'agents':
|
|
565
|
-
'channels':
|
|
566
|
-
'humans':
|
|
567
|
-
'serverId':
|
|
568
|
-
'serverName':
|
|
587
|
+
'agents': _0xa1c1f5,
|
|
588
|
+
'channels': _0x15379b['data']?.[_0x11d32c(0x154)] ?? [],
|
|
589
|
+
'humans': _0x4c1f5a,
|
|
590
|
+
'serverId': _0x44f91e,
|
|
591
|
+
'serverName': _0x15379b[_0x11d32c(_0x594671._0x3da793)]?.[_0x11d32c(0x205)][_0x11d32c(_0x594671._0x1a4086)] ?? _0x44f91e
|
|
569
592
|
};
|
|
570
|
-
})()[
|
|
571
|
-
|
|
572
|
-
throw
|
|
573
|
-
}),
|
|
593
|
+
})()[_0xc5329(_0x535f06._0x430af4)](_0x38f54e => {
|
|
594
|
+
_0xbd0243 = null;
|
|
595
|
+
throw _0x38f54e;
|
|
596
|
+
}), _0xbd0243;
|
|
574
597
|
}
|
|
575
|
-
function
|
|
576
|
-
const
|
|
577
|
-
return
|
|
598
|
+
function _0x2a2396(_0x62949, _0x3442bc) {
|
|
599
|
+
const _0x21d8ed = _0x39387c;
|
|
600
|
+
return _0x3442bc[_0x21d8ed(_0xbf772f._0x5b5f56)][_0x21d8ed(0x1b0)](_0xaa875c => _0xaa875c['id'] === _0x62949 || _0xaa875c['name'] === _0x62949) ? 'agent' : 'human';
|
|
578
601
|
}
|
|
579
|
-
function
|
|
580
|
-
const
|
|
581
|
-
if (
|
|
582
|
-
return
|
|
583
|
-
if (
|
|
584
|
-
return
|
|
585
|
-
if (
|
|
586
|
-
return
|
|
587
|
-
return
|
|
602
|
+
function _0x24ea17(_0x45df46) {
|
|
603
|
+
const _0x566ca3 = _0x39387c;
|
|
604
|
+
if (_0x45df46['threadNumber'] != null)
|
|
605
|
+
return _0x45df46[_0x566ca3(_0x408f1b._0x509e84)] + ':t' + _0x45df46[_0x566ca3(0x128)];
|
|
606
|
+
if (_0x45df46[_0x566ca3(0x229)])
|
|
607
|
+
return _0x45df46['channelTarget'] + ':' + _0x45df46[_0x566ca3(0x229)];
|
|
608
|
+
if (_0x45df46[_0x566ca3(_0x408f1b._0x8e8f67)])
|
|
609
|
+
return _0x45df46[_0x566ca3(0x160)] + ':' + _0x45df46[_0x566ca3(0x1c8)][_0x566ca3(_0x408f1b._0x27570c)](0x0, 0x8);
|
|
610
|
+
return _0x45df46[_0x566ca3(_0x408f1b._0xb68195)];
|
|
588
611
|
}
|
|
589
|
-
function
|
|
590
|
-
const
|
|
612
|
+
function _0x3bbf3a(_0x40390e, _0x2c1f98) {
|
|
613
|
+
const _0x454431 = _0x39387c;
|
|
591
614
|
try {
|
|
592
|
-
const
|
|
593
|
-
if (
|
|
615
|
+
const _0x270897 = parseTarget(_0x40390e);
|
|
616
|
+
if (_0x270897[_0x454431(_0x2ad810._0x1e9326)] !== 'thread' || _0x270897['channelTarget'] !== _0x2c1f98[_0x454431(_0x2ad810._0x24a681)])
|
|
594
617
|
return ![];
|
|
595
|
-
if (
|
|
618
|
+
if (_0x2c1f98[_0x454431(0x128)] != null && _0x270897[_0x454431(0x1a3)] === 't' + _0x2c1f98[_0x454431(_0x2ad810._0x28ee7f)])
|
|
596
619
|
return !![];
|
|
597
|
-
if (
|
|
598
|
-
return
|
|
599
|
-
if (
|
|
600
|
-
return
|
|
620
|
+
if (_0x2c1f98['rootMessageId'])
|
|
621
|
+
return _0x270897[_0x454431(0x1a3)] === _0x2c1f98[_0x454431(_0x2ad810._0x1e803a)] || _0x2c1f98['rootMessageId'][_0x454431(0x149)](_0x270897[_0x454431(0x1a3)]);
|
|
622
|
+
if (_0x2c1f98[_0x454431(0x1c8)])
|
|
623
|
+
return _0x270897[_0x454431(_0x2ad810._0x2bf23e)] === _0x2c1f98[_0x454431(_0x2ad810._0x59995b)] || _0x2c1f98[_0x454431(_0x2ad810._0x59995b)][_0x454431(0x149)](_0x270897[_0x454431(_0x2ad810._0x2bf23e)]);
|
|
601
624
|
return ![];
|
|
602
625
|
} catch {
|
|
603
626
|
return ![];
|
|
604
627
|
}
|
|
605
628
|
}
|
|
606
|
-
function
|
|
607
|
-
const
|
|
608
|
-
return
|
|
629
|
+
function _0x146cbd(_0x5f2355) {
|
|
630
|
+
const _0x11aedf = _0x39387c;
|
|
631
|
+
return _0x5f2355[_0x11aedf(0x23f)]?.['participantId'] ?? _0x5f2355[_0x11aedf(0x1a0)]?.['id'] ?? _0x5f2355[_0x11aedf(0x214)] ?? '';
|
|
609
632
|
}
|
|
610
|
-
function
|
|
611
|
-
const
|
|
612
|
-
return
|
|
633
|
+
function _0x46ba0f(_0x46f606) {
|
|
634
|
+
const _0x31144a = _0x39387c;
|
|
635
|
+
return _0x46f606['participant']?.[_0x31144a(_0x1d9c60._0x52d574)] ?? _0x146cbd(_0x46f606);
|
|
613
636
|
}
|
|
614
|
-
async function
|
|
615
|
-
const
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
const
|
|
621
|
-
'headers':
|
|
622
|
-
'method':
|
|
623
|
-
}),
|
|
624
|
-
'attachments': (
|
|
625
|
-
'filename':
|
|
626
|
-
'id':
|
|
637
|
+
async function _0x447464(_0x51feac) {
|
|
638
|
+
const _0xa2bdab = _0x39387c, _0x301b45 = Math['min'](_0x51feac[_0xa2bdab(0x15c)] ?? 0x32, 0x64), _0x2e31d0 = await _0x360470(), _0xe00024 = new URLSearchParams();
|
|
639
|
+
_0xe00024['set']('limit', String(_0x301b45));
|
|
640
|
+
_0x51feac[_0xa2bdab(_0x46c077._0x449e70)] ? (_0xe00024['set']('threadId', _0x51feac[_0xa2bdab(_0x46c077._0x72a46b)]), _0xe00024[_0xa2bdab(0x125)](_0xa2bdab(_0x46c077._0x3cbc46), _0x51feac[_0xa2bdab(_0x46c077._0x3cbc46)])) : _0xe00024[_0xa2bdab(_0x46c077._0x13f4ee)](_0xa2bdab(0x1dd), _0x51feac[_0xa2bdab(_0x46c077._0x3cbc46)]);
|
|
641
|
+
_0x51feac[_0xa2bdab(0x20b)] && _0xe00024['set'](_0xa2bdab(0x220), String(_0x51feac['before']));
|
|
642
|
+
_0x51feac['after'] !== void 0x0 && _0xe00024[_0xa2bdab(_0x46c077._0x2163e8)]('after', String(_0x51feac[_0xa2bdab(_0x46c077._0x3a1bbf)]));
|
|
643
|
+
const _0x1c5e45 = await _0x527030(_0xa2bdab(0x21f) + _0x2b4307[_0xa2bdab(_0x46c077._0x12c3f6)] + _0xa2bdab(_0x46c077._0x31406a) + _0xe00024[_0xa2bdab(_0x46c077._0xae60e8)](), {
|
|
644
|
+
'headers': _0x23725b,
|
|
645
|
+
'method': _0xa2bdab(_0x46c077._0x493c3d)
|
|
646
|
+
}), _0x4d9999 = (_0x1c5e45[_0xa2bdab(0x1cc)] ?? [])[_0xa2bdab(_0x46c077._0x12844d)](_0x2568da => ({
|
|
647
|
+
'attachments': (_0x2568da[_0xa2bdab(0x246)] ?? [])['map'](_0x5a3b06 => ({
|
|
648
|
+
'filename': _0x5a3b06['filename'] ?? _0x5a3b06['id'],
|
|
649
|
+
'id': _0x5a3b06['id']
|
|
627
650
|
})),
|
|
628
|
-
'content':
|
|
629
|
-
'createdAt':
|
|
630
|
-
...
|
|
631
|
-
'messageId':
|
|
632
|
-
'senderName':
|
|
633
|
-
'senderType':
|
|
634
|
-
'seq':
|
|
651
|
+
'content': _0x2568da[_0xa2bdab(0x175)] ?? '',
|
|
652
|
+
'createdAt': _0x2568da['createdAt'],
|
|
653
|
+
..._0x2568da[_0xa2bdab(0x1b3)] && _0x2568da['kind'] !== _0xa2bdab(0x1df) ? { 'kind': _0x2568da[_0xa2bdab(0x1b3)] } : {},
|
|
654
|
+
'messageId': _0x2568da['id'],
|
|
655
|
+
'senderName': _0x2568da['senderParticipantId'],
|
|
656
|
+
'senderType': _0x2a2396(_0x2568da[_0xa2bdab(0x25d)], _0x2e31d0),
|
|
657
|
+
'seq': _0x2568da[_0xa2bdab(0x11b)] ?? 0x0
|
|
635
658
|
}));
|
|
636
659
|
return {
|
|
637
|
-
'channel':
|
|
638
|
-
'hasMore':
|
|
639
|
-
'messages':
|
|
640
|
-
'nextCursor':
|
|
660
|
+
'channel': _0x51feac['channelTarget'],
|
|
661
|
+
'hasMore': _0x1c5e45[_0xa2bdab(_0x46c077._0x294bcf)]?.[_0xa2bdab(_0x46c077._0x38d70a)] ?? ![],
|
|
662
|
+
'messages': _0x4d9999,
|
|
663
|
+
'nextCursor': _0x1c5e45[_0xa2bdab(0x280)]?.[_0xa2bdab(_0x46c077._0x4a06f1)]
|
|
641
664
|
};
|
|
642
665
|
}
|
|
643
666
|
return {
|
|
644
|
-
async 'sendMessage'(
|
|
645
|
-
const
|
|
646
|
-
'body': JSON[
|
|
647
|
-
'attachment_ids':
|
|
648
|
-
'bodyMarkdown':
|
|
649
|
-
'channelId':
|
|
650
|
-
...
|
|
651
|
-
'threadId':
|
|
652
|
-
...
|
|
667
|
+
async 'sendMessage'(_0x285057) {
|
|
668
|
+
const _0x120669 = _0x39387c, _0x2fe382 = await _0x32f7ee(_0x285057[_0x120669(0x1ca)]), _0x3cbcd5 = _0x285057[_0x120669(0x223)][_0x120669(0x289)]('@') ? extractMentionedParticipantIds(_0x285057[_0x120669(0x223)], await _0x360470()) : [], _0x234140 = await _0x527030(_0x120669(0x21f) + _0x2b4307[_0x120669(0x198)] + _0x120669(0x163), {
|
|
669
|
+
'body': JSON['stringify']({
|
|
670
|
+
'attachment_ids': _0x285057[_0x120669(_0x3c0ecb._0x211878)],
|
|
671
|
+
'bodyMarkdown': _0x285057['content'],
|
|
672
|
+
'channelId': _0x2fe382[_0x120669(_0x3c0ecb._0x1ebd8c)],
|
|
673
|
+
..._0x3cbcd5[_0x120669(0x14e)] > 0x0 ? { 'mentionedParticipantIds': _0x3cbcd5 } : {},
|
|
674
|
+
'threadId': _0x2fe382[_0x120669(0x1c8)],
|
|
675
|
+
..._0x285057[_0x120669(0x173)] ? { 'visibility': _0x285057[_0x120669(_0x3c0ecb._0x5cbe69)] } : {}
|
|
653
676
|
}),
|
|
654
|
-
'headers':
|
|
655
|
-
'method':
|
|
677
|
+
'headers': _0x23725b,
|
|
678
|
+
'method': _0x120669(_0x3c0ecb._0x2f14a8)
|
|
656
679
|
});
|
|
657
|
-
return { 'messageId':
|
|
680
|
+
return { 'messageId': _0x234140['data']?.['id'] ?? '' };
|
|
658
681
|
},
|
|
659
682
|
async 'listSchedules'() {
|
|
660
|
-
const
|
|
661
|
-
'headers':
|
|
662
|
-
'method':
|
|
683
|
+
const _0x4985c7 = _0x39387c, _0xad5b28 = await _0x527030(_0x4985c7(_0xd7d123._0x228cb4), {
|
|
684
|
+
'headers': _0x23725b,
|
|
685
|
+
'method': _0x4985c7(0x1fa)
|
|
663
686
|
});
|
|
664
|
-
return
|
|
687
|
+
return _0xad5b28[_0x4985c7(_0xd7d123._0x5616d9)] ?? [];
|
|
665
688
|
},
|
|
666
|
-
async 'claimScheduleRun'(
|
|
667
|
-
const
|
|
668
|
-
'body': JSON[
|
|
669
|
-
'headers':
|
|
670
|
-
'method':
|
|
689
|
+
async 'claimScheduleRun'(_0x304df3) {
|
|
690
|
+
const _0x14ef21 = _0x39387c, _0x3e5dc5 = await _0x527030(_0x14ef21(0x199), {
|
|
691
|
+
'body': JSON['stringify'](_0x304df3),
|
|
692
|
+
'headers': _0x23725b,
|
|
693
|
+
'method': _0x14ef21(_0x1608e8._0x30ccd1)
|
|
671
694
|
});
|
|
672
|
-
return
|
|
695
|
+
return _0x3e5dc5[_0x14ef21(0x1cc)] ?? {
|
|
673
696
|
'granted': ![],
|
|
674
697
|
'runId': null,
|
|
675
698
|
'schedule': null,
|
|
676
|
-
'scheduledFor':
|
|
699
|
+
'scheduledFor': _0x304df3['scheduledFor']
|
|
677
700
|
};
|
|
678
701
|
},
|
|
679
|
-
async 'startScheduleRun'(
|
|
680
|
-
const
|
|
681
|
-
'body': JSON[
|
|
682
|
-
'headers':
|
|
683
|
-
'method':
|
|
702
|
+
async 'startScheduleRun'(_0x343c7c) {
|
|
703
|
+
const _0x449d95 = _0x39387c, _0x4119e9 = await _0x527030('/api/internal/schedules/' + encodeURIComponent(_0x343c7c[_0x449d95(_0x11025e._0x1fc922)]) + _0x449d95(_0x11025e._0x4fbda9), {
|
|
704
|
+
'body': JSON[_0x449d95(0x1c9)]({}),
|
|
705
|
+
'headers': _0x23725b,
|
|
706
|
+
'method': 'POST'
|
|
684
707
|
});
|
|
685
|
-
return
|
|
708
|
+
return _0x4119e9[_0x449d95(0x1cc)] ?? {
|
|
686
709
|
'claimedByDaemonId': '',
|
|
687
|
-
'id':
|
|
710
|
+
'id': _0x343c7c[_0x449d95(_0x11025e._0x424f79)],
|
|
688
711
|
'scheduleId': '',
|
|
689
|
-
'status':
|
|
712
|
+
'status': _0x449d95(0x28c)
|
|
690
713
|
};
|
|
691
714
|
},
|
|
692
|
-
async 'finishScheduleRun'(
|
|
693
|
-
const
|
|
694
|
-
'body': JSON[
|
|
695
|
-
'error':
|
|
696
|
-
'resultJson':
|
|
697
|
-
'status':
|
|
715
|
+
async 'finishScheduleRun'(_0xfd7c2) {
|
|
716
|
+
const _0x1f21a1 = _0x39387c, _0x2a46ca = await _0x527030(_0x1f21a1(0x15e) + encodeURIComponent(_0xfd7c2[_0x1f21a1(0x1ba)]) + '/finish', {
|
|
717
|
+
'body': JSON[_0x1f21a1(0x1c9)]({
|
|
718
|
+
'error': _0xfd7c2[_0x1f21a1(0x156)],
|
|
719
|
+
'resultJson': _0xfd7c2[_0x1f21a1(0x227)],
|
|
720
|
+
'status': _0xfd7c2[_0x1f21a1(_0x3383be._0x5566ef)]
|
|
698
721
|
}),
|
|
699
|
-
'headers':
|
|
700
|
-
'method':
|
|
722
|
+
'headers': _0x23725b,
|
|
723
|
+
'method': _0x1f21a1(_0x3383be._0x10f763)
|
|
701
724
|
});
|
|
702
|
-
return
|
|
725
|
+
return _0x2a46ca[_0x1f21a1(_0x3383be._0x30a3c0)] ?? {
|
|
703
726
|
'nextRunAt': null,
|
|
704
727
|
'run': {
|
|
705
728
|
'claimedByDaemonId': '',
|
|
706
|
-
'id':
|
|
729
|
+
'id': _0xfd7c2[_0x1f21a1(0x1ba)],
|
|
707
730
|
'scheduleId': '',
|
|
708
|
-
'status':
|
|
731
|
+
'status': _0xfd7c2['status']
|
|
709
732
|
}
|
|
710
733
|
};
|
|
711
734
|
},
|
|
712
|
-
async 'listTasks'(
|
|
713
|
-
const
|
|
714
|
-
return
|
|
715
|
-
'headers':
|
|
716
|
-
'method':
|
|
735
|
+
async 'listTasks'(_0x480673) {
|
|
736
|
+
const _0x5a99c2 = _0x39387c, _0x49bd66 = new URLSearchParams();
|
|
737
|
+
return _0x49bd66[_0x5a99c2(_0x265026._0x3b10a7)](_0x5a99c2(_0x265026._0x3ae6ce), _0x480673[_0x5a99c2(_0x265026._0x3ae6ce)]), _0x480673[_0x5a99c2(0x243)] && _0x49bd66['set'](_0x5a99c2(0x243), _0x480673[_0x5a99c2(0x243)]), _0x1bbf73(_0x5a99c2(_0x265026._0x43ad8f) + _0x2b4307[_0x5a99c2(0x198)] + '/tasks?' + _0x49bd66[_0x5a99c2(0x1bf)](), {
|
|
738
|
+
'headers': _0x23725b,
|
|
739
|
+
'method': _0x5a99c2(_0x265026._0x25193a)
|
|
717
740
|
});
|
|
718
741
|
},
|
|
719
|
-
async 'createTasks'(
|
|
720
|
-
const
|
|
721
|
-
return
|
|
722
|
-
'body': JSON[
|
|
723
|
-
...
|
|
724
|
-
'idempotency_key':
|
|
742
|
+
async 'createTasks'(_0x591563) {
|
|
743
|
+
const _0x10ecfc = _0x39387c;
|
|
744
|
+
return _0x1bbf73('/internal/agent/' + _0x2b4307[_0x10ecfc(_0x3cec28._0x3f33b9)] + _0x10ecfc(_0x3cec28._0x5e686f), {
|
|
745
|
+
'body': JSON[_0x10ecfc(_0x3cec28._0x4c3cd1)]({
|
|
746
|
+
..._0x591563,
|
|
747
|
+
'idempotency_key': _0x322222('create_tasks', _0x591563)
|
|
725
748
|
}),
|
|
726
|
-
'headers':
|
|
727
|
-
'method':
|
|
749
|
+
'headers': _0x23725b,
|
|
750
|
+
'method': _0x10ecfc(_0x3cec28._0x536152)
|
|
728
751
|
});
|
|
729
752
|
},
|
|
730
|
-
async 'claimTasks'(
|
|
731
|
-
const
|
|
732
|
-
return
|
|
733
|
-
'body': JSON[
|
|
734
|
-
...
|
|
735
|
-
'idempotency_key':
|
|
753
|
+
async 'claimTasks'(_0x3cd801) {
|
|
754
|
+
const _0x29924a = _0x39387c;
|
|
755
|
+
return _0x1bbf73(_0x29924a(0x21f) + _0x2b4307[_0x29924a(_0x3226f8._0x416558)] + _0x29924a(0x1f2), {
|
|
756
|
+
'body': JSON['stringify']({
|
|
757
|
+
..._0x3cd801,
|
|
758
|
+
'idempotency_key': _0x322222(_0x29924a(_0x3226f8._0x2644b4), _0x3cd801)
|
|
736
759
|
}),
|
|
737
|
-
'headers':
|
|
738
|
-
'method':
|
|
760
|
+
'headers': _0x23725b,
|
|
761
|
+
'method': _0x29924a(0x1e1)
|
|
739
762
|
});
|
|
740
763
|
},
|
|
741
|
-
async 'unclaimTask'(
|
|
742
|
-
const
|
|
743
|
-
return
|
|
744
|
-
'body': JSON[
|
|
745
|
-
...
|
|
746
|
-
'idempotency_key':
|
|
764
|
+
async 'unclaimTask'(_0x1c51bc) {
|
|
765
|
+
const _0x2f1d8e = _0x39387c;
|
|
766
|
+
return _0x1bbf73(_0x2f1d8e(0x21f) + _0x2b4307[_0x2f1d8e(_0x146d3c._0x43a34d)] + _0x2f1d8e(_0x146d3c._0x4230df), {
|
|
767
|
+
'body': JSON[_0x2f1d8e(_0x146d3c._0x59129b)]({
|
|
768
|
+
..._0x1c51bc,
|
|
769
|
+
'idempotency_key': _0x322222(_0x2f1d8e(_0x146d3c._0x2a920e), _0x1c51bc)
|
|
747
770
|
}),
|
|
748
|
-
'headers':
|
|
749
|
-
'method':
|
|
771
|
+
'headers': _0x23725b,
|
|
772
|
+
'method': 'POST'
|
|
750
773
|
});
|
|
751
774
|
},
|
|
752
|
-
async 'updateTaskStatus'(
|
|
753
|
-
const
|
|
754
|
-
return
|
|
775
|
+
async 'updateTaskStatus'(_0x34fc48) {
|
|
776
|
+
const _0x492bc0 = _0x39387c;
|
|
777
|
+
return _0x1bbf73(_0x492bc0(_0x2bf957._0x580e7a) + _0x2b4307[_0x492bc0(0x198)] + '/tasks/update-status', {
|
|
755
778
|
'body': JSON['stringify']({
|
|
756
|
-
...
|
|
757
|
-
'idempotency_key':
|
|
779
|
+
..._0x34fc48,
|
|
780
|
+
'idempotency_key': _0x322222(_0x492bc0(0x26f), _0x34fc48)
|
|
758
781
|
}),
|
|
759
|
-
'headers':
|
|
760
|
-
'method':
|
|
782
|
+
'headers': _0x23725b,
|
|
783
|
+
'method': _0x492bc0(0x1e1)
|
|
761
784
|
});
|
|
762
785
|
},
|
|
763
|
-
async 'uploadFile'(
|
|
764
|
-
const
|
|
765
|
-
if (
|
|
766
|
-
throw new Error(
|
|
767
|
-
const
|
|
768
|
-
'body': JSON[
|
|
769
|
-
'channel':
|
|
770
|
-
'contentBase64':
|
|
771
|
-
'contentType':
|
|
772
|
-
'originalFilename':
|
|
786
|
+
async 'uploadFile'(_0x5740c9) {
|
|
787
|
+
const _0x577c0c = _0x39387c, _0x28b33c = await _0x32f7ee(_0x5740c9[_0x577c0c(0x16c)]);
|
|
788
|
+
if (_0x28b33c[_0x577c0c(_0x12bb9f._0x3f4b94)])
|
|
789
|
+
throw new Error(_0x577c0c(0x212));
|
|
790
|
+
const _0x1ee980 = await _0x527030(_0x577c0c(0x21f) + _0x2b4307[_0x577c0c(_0x12bb9f._0x32ab56)] + _0x577c0c(_0x12bb9f._0xc62c7c), {
|
|
791
|
+
'body': JSON['stringify']({
|
|
792
|
+
'channel': _0x28b33c[_0x577c0c(_0x12bb9f._0x6b5792)],
|
|
793
|
+
'contentBase64': _0x5740c9[_0x577c0c(0x1b7)],
|
|
794
|
+
'contentType': _0x5740c9[_0x577c0c(0x19d)],
|
|
795
|
+
'originalFilename': _0x5740c9[_0x577c0c(0x22b)]
|
|
773
796
|
}),
|
|
774
|
-
'headers':
|
|
775
|
-
'method':
|
|
797
|
+
'headers': _0x23725b,
|
|
798
|
+
'method': _0x577c0c(0x1e1)
|
|
776
799
|
});
|
|
777
800
|
return {
|
|
778
|
-
'attachmentId':
|
|
779
|
-
'filename':
|
|
780
|
-
'sizeBytes':
|
|
801
|
+
'attachmentId': _0x1ee980[_0x577c0c(_0x12bb9f._0x5877bd)]?.['id'] ?? '',
|
|
802
|
+
'filename': _0x1ee980[_0x577c0c(_0x12bb9f._0x5877bd)]?.[_0x577c0c(_0x12bb9f._0x215f27)] ?? _0x5740c9[_0x577c0c(_0x12bb9f._0x479cf2)],
|
|
803
|
+
'sizeBytes': _0x1ee980['data']?.[_0x577c0c(_0x12bb9f._0xb33809)] ?? 0x0
|
|
781
804
|
};
|
|
782
805
|
},
|
|
783
|
-
async 'downloadAttachment'(
|
|
784
|
-
const
|
|
785
|
-
'headers':
|
|
786
|
-
'method':
|
|
787
|
-
}),
|
|
806
|
+
async 'downloadAttachment'(_0x2687f1) {
|
|
807
|
+
const _0x452a3d = _0x39387c, _0x5b200e = await _0x527030('/api/attachments/' + _0x2687f1, {
|
|
808
|
+
'headers': _0x23725b,
|
|
809
|
+
'method': _0x452a3d(0x1fa)
|
|
810
|
+
}), _0x4e6d28 = new AbortController(), _0x3d6892 = setTimeout(() => _0x4e6d28[_0x452a3d(0x265)](), _0x271e41);
|
|
788
811
|
try {
|
|
789
|
-
const
|
|
790
|
-
'headers':
|
|
791
|
-
'method':
|
|
792
|
-
'signal':
|
|
812
|
+
const _0x374fd3 = await _0x432b33(_0x21fb6a + _0x452a3d(_0x4856d0._0x327f32) + _0x2687f1 + _0x452a3d(0x11d), {
|
|
813
|
+
'headers': _0x23725b,
|
|
814
|
+
'method': _0x452a3d(0x1fa),
|
|
815
|
+
'signal': _0x4e6d28[_0x452a3d(_0x4856d0._0x5d2f15)]
|
|
793
816
|
});
|
|
794
|
-
if (!
|
|
795
|
-
throw new Error(
|
|
817
|
+
if (!_0x374fd3['ok'])
|
|
818
|
+
throw new Error(_0x452a3d(_0x4856d0._0x5782a5) + _0x374fd3['status']);
|
|
796
819
|
return {
|
|
797
|
-
'contentType':
|
|
798
|
-
'data': Buffer[
|
|
799
|
-
'originalFilename':
|
|
820
|
+
'contentType': _0x5b200e[_0x452a3d(_0x4856d0._0x4405c1)]?.[_0x452a3d(0x19d)] ?? _0x374fd3[_0x452a3d(_0x4856d0._0x19348e)][_0x452a3d(_0x4856d0._0x571949)](_0x452a3d(0x1c5)) ?? _0x452a3d(0x11c),
|
|
821
|
+
'data': Buffer[_0x452a3d(0x1aa)](await _0x374fd3[_0x452a3d(_0x4856d0._0x29bd4a)]()),
|
|
822
|
+
'originalFilename': _0x5b200e[_0x452a3d(0x1cc)]?.[_0x452a3d(0x1d6)]
|
|
800
823
|
};
|
|
801
824
|
} finally {
|
|
802
|
-
clearTimeout(
|
|
825
|
+
clearTimeout(_0x3d6892);
|
|
803
826
|
}
|
|
804
827
|
},
|
|
805
828
|
async 'listServer'() {
|
|
806
|
-
return
|
|
829
|
+
return _0x360470({ 'forceRefresh': !![] });
|
|
807
830
|
},
|
|
808
|
-
async 'readHistory'(
|
|
809
|
-
const
|
|
810
|
-
return
|
|
811
|
-
'after':
|
|
812
|
-
'before':
|
|
813
|
-
'channelId':
|
|
814
|
-
'channelTarget':
|
|
815
|
-
'limit':
|
|
816
|
-
'threadId':
|
|
831
|
+
async 'readHistory'(_0x2e574e) {
|
|
832
|
+
const _0x122b4b = _0x39387c, _0x24a514 = await _0x32f7ee(_0x2e574e[_0x122b4b(_0x2cb3d7._0x138870)]);
|
|
833
|
+
return _0x447464({
|
|
834
|
+
'after': _0x2e574e[_0x122b4b(0x133)],
|
|
835
|
+
'before': _0x2e574e['before'],
|
|
836
|
+
'channelId': _0x24a514[_0x122b4b(_0x2cb3d7._0x2bc00e)],
|
|
837
|
+
'channelTarget': _0x24a514[_0x122b4b(0x1ca)],
|
|
838
|
+
'limit': _0x2e574e[_0x122b4b(0x15c)],
|
|
839
|
+
'threadId': _0x24a514[_0x122b4b(0x1c8)]
|
|
817
840
|
});
|
|
818
841
|
},
|
|
819
|
-
'resolveTarget':
|
|
842
|
+
'resolveTarget': _0x32f7ee,
|
|
820
843
|
async 'checkMessages'() {
|
|
821
|
-
const
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
844
|
+
const _0x20d8b4 = {
|
|
845
|
+
_0x4586e4: 0x1dd,
|
|
846
|
+
_0x44b271: 0x150
|
|
847
|
+
}, _0x94aa97 = _0x39387c, _0x3e5c46 = new URLSearchParams();
|
|
848
|
+
_0x3e5c46['set'](_0x94aa97(0x151), String(_0x5890c9));
|
|
849
|
+
const _0x2420f0 = _0x3e5c46[_0x94aa97(_0x28a537._0x21980a)](), _0x439ea7 = await _0x527030(_0x94aa97(_0x28a537._0x315a2b) + _0x2b4307[_0x94aa97(0x198)] + '/receive' + (_0x2420f0 ? '?' + _0x2420f0 : ''), {
|
|
850
|
+
'headers': _0x23725b,
|
|
851
|
+
'method': 'GET'
|
|
852
|
+
}), _0x2d6f8f = _0x439ea7[_0x94aa97(0x1cc)] ?? [], _0x22da65 = _0x439ea7[_0x94aa97(_0x28a537._0x3b4a5c)]?.[_0x94aa97(0x220)], _0x3de228 = _0x22da65 !== void 0x0 ? Math[_0x94aa97(0x117)](_0x5890c9, _0x22da65) : _0x2d6f8f[_0x94aa97(_0x28a537._0x50ff17)] > 0x0 ? Math[_0x94aa97(0x117)](_0x5890c9, _0x2d6f8f[_0x2d6f8f[_0x94aa97(0x14e)] - 0x1][_0x94aa97(0x19c)]) : _0x5890c9, _0x39dc01 = _0x2d6f8f['filter'](_0xf0ebcf => _0xf0ebcf['aggregateType'] === _0x94aa97(0x23b)), _0x3cf257 = _0x21c4f8 === void 0x0 && _0x50d0d5;
|
|
853
|
+
let _0x3a724a = await _0x360470(), _0x40783e = new Map(_0x3a724a['channels'][_0x94aa97(_0x28a537._0x47c4db)](_0x24ef18 => [
|
|
854
|
+
_0x24ef18['id'],
|
|
855
|
+
_0x24ef18
|
|
830
856
|
]));
|
|
831
|
-
const
|
|
832
|
-
const
|
|
833
|
-
return Boolean(
|
|
857
|
+
const _0x56c84a = _0x39dc01['some'](_0x331cc0 => {
|
|
858
|
+
const _0x312fa6 = _0x94aa97, _0x4cb005 = asRecord(_0x331cc0['payloadJson']), _0x81a93 = typeof _0x4cb005?.[_0x312fa6(_0x20d8b4._0x4586e4)] === _0x312fa6(0x16b) ? _0x4cb005[_0x312fa6(_0x20d8b4._0x4586e4)] : '';
|
|
859
|
+
return Boolean(_0x81a93) && !_0x40783e[_0x312fa6(_0x20d8b4._0x44b271)](_0x81a93);
|
|
834
860
|
});
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
861
|
+
_0x56c84a && (_0x3a724a = await _0x360470({ 'forceRefresh': !![] }), _0x40783e = new Map(_0x3a724a[_0x94aa97(_0x28a537._0x14029b)]['map'](_0x1b6f3f => [
|
|
862
|
+
_0x1b6f3f['id'],
|
|
863
|
+
_0x1b6f3f
|
|
838
864
|
])));
|
|
839
|
-
const
|
|
840
|
-
for (const
|
|
841
|
-
const
|
|
842
|
-
if (!
|
|
865
|
+
const _0x3b1562 = new Map();
|
|
866
|
+
for (const _0x26f733 of _0x39dc01) {
|
|
867
|
+
const _0xefce11 = asRecord(_0x26f733['payloadJson']), _0x268d7d = typeof _0xefce11[_0x94aa97(0x1dd)] === _0x94aa97(_0x28a537._0x1dc122) ? _0xefce11[_0x94aa97(0x1dd)] : '';
|
|
868
|
+
if (!_0x268d7d)
|
|
843
869
|
continue;
|
|
844
|
-
const
|
|
870
|
+
const _0x43ef52 = typeof _0xefce11[_0x94aa97(_0x28a537._0x1dccd4)] === 'string' ? _0xefce11['threadId'] : void 0x0, _0x130f9f = typeof _0xefce11[_0x94aa97(0x229)] === _0x94aa97(0x16b) ? _0xefce11[_0x94aa97(0x229)] : void 0x0, _0x28d7ce = typeof _0xefce11[_0x94aa97(0x128)] === _0x94aa97(0x1c4) && Number[_0x94aa97(0x17c)](_0xefce11['threadNumber']) ? _0xefce11[_0x94aa97(0x128)] : void 0x0, _0x109627 = Boolean(_0x43ef52 && (!_0x130f9f || _0x26f733[_0x94aa97(0x217)] !== _0x130f9f)), _0x2257b6 = _0x109627 ? _0x268d7d + ':' + _0x43ef52 : _0x268d7d, _0x1e11b9 = _0x3b1562[_0x94aa97(_0x28a537._0x591369)](_0x2257b6) ?? {
|
|
845
871
|
'aggregateIds': [],
|
|
846
|
-
'channelId':
|
|
872
|
+
'channelId': _0x268d7d,
|
|
847
873
|
'entries': new Map(),
|
|
848
|
-
'isThreadReply':
|
|
849
|
-
'rootMessageId':
|
|
850
|
-
'threadNumber':
|
|
851
|
-
'threadId':
|
|
874
|
+
'isThreadReply': _0x109627,
|
|
875
|
+
'rootMessageId': _0x130f9f,
|
|
876
|
+
'threadNumber': _0x28d7ce,
|
|
877
|
+
'threadId': _0x109627 ? _0x43ef52 : void 0x0
|
|
852
878
|
};
|
|
853
|
-
|
|
854
|
-
'payloadJson':
|
|
855
|
-
'seq':
|
|
856
|
-
}),
|
|
879
|
+
_0x1e11b9['threadNumber'] == null && _0x28d7ce != null && (_0x1e11b9[_0x94aa97(_0x28a537._0x3eecbe)] = _0x28d7ce), !_0x1e11b9[_0x94aa97(0x229)] && _0x130f9f && (_0x1e11b9[_0x94aa97(0x229)] = _0x130f9f), _0x1e11b9[_0x94aa97(0x15f)]['push'](_0x26f733['aggregateId']), _0x1e11b9[_0x94aa97(_0x28a537._0x45e6ff)]['set'](_0x26f733[_0x94aa97(_0x28a537._0x16f936)], {
|
|
880
|
+
'payloadJson': _0x26f733[_0x94aa97(_0x28a537._0x1b8281)],
|
|
881
|
+
'seq': _0x26f733[_0x94aa97(0x19c)]
|
|
882
|
+
}), _0x3b1562['set'](_0x2257b6, _0x1e11b9);
|
|
857
883
|
}
|
|
858
|
-
const
|
|
859
|
-
for (const
|
|
884
|
+
const _0x22f653 = [];
|
|
885
|
+
for (const _0x2b11cc of _0x3b1562[_0x94aa97(0x184)]()) {
|
|
860
886
|
const {
|
|
861
|
-
channelId:
|
|
862
|
-
threadId:
|
|
863
|
-
rootMessageId:
|
|
864
|
-
threadNumber:
|
|
865
|
-
aggregateIds:
|
|
866
|
-
isThreadReply:
|
|
867
|
-
entries:
|
|
868
|
-
} =
|
|
869
|
-
'channelTarget':
|
|
870
|
-
'rootMessageId':
|
|
871
|
-
'threadId':
|
|
872
|
-
'threadNumber':
|
|
873
|
-
},
|
|
874
|
-
'channelId':
|
|
875
|
-
'channelTarget':
|
|
876
|
-
'limit': Math[
|
|
877
|
-
'threadId':
|
|
878
|
-
}),
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
])),
|
|
882
|
-
for (const
|
|
883
|
-
if (!
|
|
887
|
+
channelId: _0xaa1518,
|
|
888
|
+
threadId: _0xc6e76,
|
|
889
|
+
rootMessageId: _0x44bf1c,
|
|
890
|
+
threadNumber: _0x50b78c,
|
|
891
|
+
aggregateIds: _0x53c928,
|
|
892
|
+
isThreadReply: _0x1e605a,
|
|
893
|
+
entries: _0x5847b9
|
|
894
|
+
} = _0x2b11cc, _0x972a2c = _0x40783e[_0x94aa97(_0x28a537._0x591369)](_0xaa1518), _0x44d86d = _0x972a2c?.[_0x94aa97(0x123)] ?? _0xaa1518, _0x55362b = _0x972a2c?.['kind'] === 'dm' ? 'dm:' + _0x44d86d : '#' + _0x44d86d, _0x1977ed = {
|
|
895
|
+
'channelTarget': _0x55362b,
|
|
896
|
+
'rootMessageId': _0x44bf1c,
|
|
897
|
+
'threadId': _0xc6e76,
|
|
898
|
+
'threadNumber': _0x50b78c
|
|
899
|
+
}, _0x1af2a9 = await _0x447464({
|
|
900
|
+
'channelId': _0xaa1518,
|
|
901
|
+
'channelTarget': _0x55362b,
|
|
902
|
+
'limit': Math[_0x94aa97(0x117)](_0x53c928['length'], 0x32),
|
|
903
|
+
'threadId': _0xc6e76
|
|
904
|
+
}), _0x570cc8 = new Map(_0x1af2a9['messages'][_0x94aa97(_0x28a537._0x47c4db)](_0x5af103 => [
|
|
905
|
+
_0x5af103[_0x94aa97(0x185)],
|
|
906
|
+
_0x5af103
|
|
907
|
+
])), _0x194072 = _0xc6e76 ? _0x24ea17(_0x1977ed) : _0x55362b, _0x14ef83 = _0x21c4f8 ? _0x1e605a && _0x3bbf3a(_0x21c4f8, _0x1977ed) : !![], _0x367939 = _0x1e605a ? _0x14ef83 && _0x21c4f8 ? _0x21c4f8 : _0x194072 : _0x55362b;
|
|
908
|
+
for (const _0x37c185 of _0x53c928) {
|
|
909
|
+
if (!_0x14ef83)
|
|
884
910
|
continue;
|
|
885
|
-
const
|
|
886
|
-
if (
|
|
911
|
+
const _0x449d93 = _0x5847b9[_0x94aa97(0x186)](_0x37c185), _0x4be5b5 = _0x449d93 ? asRecord(_0x449d93[_0x94aa97(0x182)]) : void 0x0, _0x10ca1e = _0x4be5b5?.[_0x94aa97(_0x28a537._0x3d3a82)] === _0x94aa97(0x132);
|
|
912
|
+
if (_0x3cf257 && _0x10ca1e)
|
|
887
913
|
continue;
|
|
888
|
-
const
|
|
889
|
-
if (
|
|
890
|
-
|
|
891
|
-
'attachments':
|
|
892
|
-
'content':
|
|
893
|
-
'createdAt':
|
|
894
|
-
...
|
|
895
|
-
'messageId':
|
|
896
|
-
'senderName':
|
|
897
|
-
'senderType':
|
|
898
|
-
'target':
|
|
899
|
-
...
|
|
914
|
+
const _0x4600e9 = _0x570cc8[_0x94aa97(0x186)](_0x37c185);
|
|
915
|
+
if (_0x4600e9) {
|
|
916
|
+
_0x22f653[_0x94aa97(0x26e)]({
|
|
917
|
+
'attachments': _0x4600e9['attachments'],
|
|
918
|
+
'content': _0x4600e9[_0x94aa97(_0x28a537._0x2ac008)],
|
|
919
|
+
'createdAt': _0x4600e9[_0x94aa97(_0x28a537._0x364316)],
|
|
920
|
+
..._0x4600e9[_0x94aa97(_0x28a537._0x4cfecb)] ? { 'kind': _0x4600e9[_0x94aa97(_0x28a537._0x723284)] } : {},
|
|
921
|
+
'messageId': _0x4600e9[_0x94aa97(0x185)],
|
|
922
|
+
'senderName': _0x4600e9[_0x94aa97(0x18f)],
|
|
923
|
+
'senderType': _0x4600e9[_0x94aa97(0x221)],
|
|
924
|
+
'target': _0x367939,
|
|
925
|
+
..._0x10ca1e ? { 'targetedTask': !![] } : {}
|
|
900
926
|
});
|
|
901
927
|
continue;
|
|
902
928
|
}
|
|
903
|
-
if (
|
|
904
|
-
const
|
|
905
|
-
|
|
929
|
+
if (_0x449d93) {
|
|
930
|
+
const _0xa32091 = typeof _0x4be5b5?.[_0x94aa97(_0x28a537._0xbebc4f)] === _0x94aa97(_0x28a537._0x370038) ? _0x4be5b5[_0x94aa97(0x25d)] : '', _0x4d4c73 = typeof _0x4be5b5?.[_0x94aa97(_0x28a537._0x51dd50)] === 'string' ? _0x4be5b5[_0x94aa97(_0x28a537._0x13943b)] : '', _0x1af92a = typeof _0x4be5b5?.[_0x94aa97(0x1b3)] === _0x94aa97(0x16b) && _0x4be5b5['kind'] !== _0x94aa97(0x1df) ? _0x4be5b5['kind'] : void 0x0;
|
|
931
|
+
_0xa32091 && _0x4d4c73 && _0x22f653[_0x94aa97(_0x28a537._0x4a9058)]({
|
|
906
932
|
'attachments': [],
|
|
907
|
-
'content':
|
|
908
|
-
'createdAt': new Date()[
|
|
909
|
-
...
|
|
910
|
-
'messageId':
|
|
911
|
-
'senderName':
|
|
912
|
-
'senderType':
|
|
913
|
-
'target':
|
|
914
|
-
...
|
|
933
|
+
'content': _0x4d4c73,
|
|
934
|
+
'createdAt': new Date()[_0x94aa97(0x145)](),
|
|
935
|
+
..._0x1af92a ? { 'kind': _0x1af92a } : {},
|
|
936
|
+
'messageId': _0x37c185,
|
|
937
|
+
'senderName': _0xa32091,
|
|
938
|
+
'senderType': _0x2a2396(_0xa32091, _0x3a724a),
|
|
939
|
+
'target': _0x367939,
|
|
940
|
+
..._0x10ca1e ? { 'targetedTask': !![] } : {}
|
|
915
941
|
});
|
|
916
942
|
}
|
|
917
943
|
}
|
|
918
944
|
}
|
|
919
|
-
if (
|
|
920
|
-
if (
|
|
921
|
-
await
|
|
945
|
+
if (_0x3de228 > 0x0) {
|
|
946
|
+
if (_0x2f54d5)
|
|
947
|
+
await _0x4cf89a(_0x3de228);
|
|
922
948
|
else
|
|
923
|
-
|
|
949
|
+
_0x51747a && await _0x5a72d3(_0x3de228);
|
|
924
950
|
}
|
|
925
|
-
return
|
|
951
|
+
return _0x3de228 > _0x5890c9 && (_0x5890c9 = _0x3de228), { 'messages': _0x21c4f8 ? _0x22f653 : _0x3cf257 ? _0x22f653['filter'](_0x1e9f83 => _0x1e9f83[_0x94aa97(0x20d)] !== !![]) : _0x22f653 };
|
|
926
952
|
}
|
|
927
953
|
};
|
|
928
954
|
}
|
|
929
|
-
function toLocalTime(
|
|
930
|
-
const
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
},
|
|
937
|
-
if (Number[
|
|
938
|
-
return
|
|
939
|
-
const
|
|
940
|
-
return
|
|
955
|
+
function toLocalTime(_0x2af2d0) {
|
|
956
|
+
const _0x411db1 = {
|
|
957
|
+
_0x225eed: 0x20a,
|
|
958
|
+
_0x3186e8: 0x248,
|
|
959
|
+
_0x163d12: 0x24d,
|
|
960
|
+
_0x51b42a: 0x1a4,
|
|
961
|
+
_0xdbac02: 0x24f
|
|
962
|
+
}, _0x1d4541 = _0x2cd54a, _0x476d8d = new Date(_0x2af2d0);
|
|
963
|
+
if (Number[_0x1d4541(_0x411db1._0x225eed)](_0x476d8d[_0x1d4541(0x26b)]()))
|
|
964
|
+
return _0x2af2d0;
|
|
965
|
+
const _0x23e87c = _0x4d9684 => String(_0x4d9684)[_0x1d4541(0x11f)](0x2, '0');
|
|
966
|
+
return _0x476d8d[_0x1d4541(0x192)]() + '-' + _0x23e87c(_0x476d8d[_0x1d4541(_0x411db1._0x3186e8)]() + 0x1) + '-' + _0x23e87c(_0x476d8d[_0x1d4541(_0x411db1._0x163d12)]()) + '\x20' + _0x23e87c(_0x476d8d[_0x1d4541(_0x411db1._0x51b42a)]()) + ':' + _0x23e87c(_0x476d8d[_0x1d4541(_0x411db1._0xdbac02)]()) + ':' + _0x23e87c(_0x476d8d['getSeconds']());
|
|
941
967
|
}
|
|
942
|
-
function formatAttachmentSuffix(
|
|
943
|
-
const
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
},
|
|
947
|
-
if (!
|
|
968
|
+
function formatAttachmentSuffix(_0x184206) {
|
|
969
|
+
const _0x502fdd = {
|
|
970
|
+
_0x4a5ca9: 0x14e,
|
|
971
|
+
_0x22a826: 0x291
|
|
972
|
+
}, _0x26b709 = _0x2cd54a;
|
|
973
|
+
if (!_0x184206 || _0x184206[_0x26b709(_0x502fdd._0x4a5ca9)] === 0x0)
|
|
948
974
|
return '';
|
|
949
|
-
return '\x20[' +
|
|
950
|
-
}
|
|
951
|
-
function _0x2500(_0x453dc5, _0x229e44) {
|
|
952
|
-
_0x453dc5 = _0x453dc5 - 0x84;
|
|
953
|
-
const _0x16d5a9 = _0x16d5();
|
|
954
|
-
let _0x250013 = _0x16d5a9[_0x453dc5];
|
|
955
|
-
if (_0x2500['pgoIjc'] === undefined) {
|
|
956
|
-
var _0x446e53 = function (_0x36137a) {
|
|
957
|
-
const _0x4c5f9e = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
958
|
-
let _0x58419c = '', _0x391eb6 = '';
|
|
959
|
-
for (let _0x35b986 = 0x0, _0x11cdea, _0x43047b, _0x31a9fb = 0x0; _0x43047b = _0x36137a['charAt'](_0x31a9fb++); ~_0x43047b && (_0x11cdea = _0x35b986 % 0x4 ? _0x11cdea * 0x40 + _0x43047b : _0x43047b, _0x35b986++ % 0x4) ? _0x58419c += String['fromCharCode'](0xff & _0x11cdea >> (-0x2 * _0x35b986 & 0x6)) : 0x0) {
|
|
960
|
-
_0x43047b = _0x4c5f9e['indexOf'](_0x43047b);
|
|
961
|
-
}
|
|
962
|
-
for (let _0x4cb6a8 = 0x0, _0x519093 = _0x58419c['length']; _0x4cb6a8 < _0x519093; _0x4cb6a8++) {
|
|
963
|
-
_0x391eb6 += '%' + ('00' + _0x58419c['charCodeAt'](_0x4cb6a8)['toString'](0x10))['slice'](-0x2);
|
|
964
|
-
}
|
|
965
|
-
return decodeURIComponent(_0x391eb6);
|
|
966
|
-
};
|
|
967
|
-
_0x2500['btalUN'] = _0x446e53, _0x2500['nwKmsR'] = {}, _0x2500['pgoIjc'] = !![];
|
|
968
|
-
}
|
|
969
|
-
const _0x1b2b68 = _0x16d5a9[0x0], _0x4c5207 = _0x453dc5 + _0x1b2b68, _0x349154 = _0x2500['nwKmsR'][_0x4c5207];
|
|
970
|
-
return !_0x349154 ? (_0x250013 = _0x2500['btalUN'](_0x250013), _0x2500['nwKmsR'][_0x4c5207] = _0x250013) : _0x250013 = _0x349154, _0x250013;
|
|
975
|
+
return '\x20[' + _0x184206[_0x26b709(0x14e)] + _0x26b709(0x131) + (_0x184206[_0x26b709(0x14e)] > 0x1 ? 's' : '') + ':\x20' + _0x184206[_0x26b709(0x13f)](_0x29b9b8 => _0x29b9b8[_0x26b709(0x22b)] + '\x20(id:' + _0x29b9b8['id'] + ')')[_0x26b709(_0x502fdd._0x22a826)](',\x20') + _0x26b709(0x1d3);
|
|
971
976
|
}
|
|
972
|
-
function formatCheckMessages(
|
|
973
|
-
const
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
977
|
+
function formatCheckMessages(_0x4a0f67) {
|
|
978
|
+
const _0x2ff904 = {
|
|
979
|
+
_0x38d3b6: 0x14e,
|
|
980
|
+
_0x5b8b02: 0x13f
|
|
981
|
+
}, _0xfd8001 = {
|
|
982
|
+
_0x13a900: 0x221,
|
|
983
|
+
_0x382dd9: 0x26d,
|
|
984
|
+
_0x42e74a: 0x1a7,
|
|
985
|
+
_0x597a14: 0x28f,
|
|
986
|
+
_0x26c434: 0x27a,
|
|
987
|
+
_0x546f18: 0x18f,
|
|
988
|
+
_0x3da806: 0x223
|
|
989
|
+
}, _0x283738 = _0x2cd54a;
|
|
990
|
+
if (_0x4a0f67[_0x283738(_0x2ff904._0x38d3b6)] === 0x0)
|
|
991
|
+
return 'No\x20new\x20messages.';
|
|
992
|
+
return _0x4a0f67[_0x283738(_0x2ff904._0x5b8b02)](_0x159e4e => {
|
|
993
|
+
const _0x551149 = _0x283738, _0x260581 = _0x159e4e[_0x551149(_0xfd8001._0x13a900)] === _0x551149(_0xfd8001._0x382dd9) ? '\x20type=agent' : '', _0x1b18c6 = _0x159e4e['kind'] && _0x159e4e[_0x551149(0x1b3)] !== 'chat' ? _0x551149(0x143) + _0x159e4e['kind'] : '';
|
|
994
|
+
return _0x551149(_0xfd8001._0x42e74a) + _0x159e4e[_0x551149(0x1ca)] + '\x20msg=' + _0x159e4e[_0x551149(0x185)][_0x551149(_0xfd8001._0x597a14)](0x0, 0x8) + _0x551149(0x138) + toLocalTime(_0x159e4e['createdAt']) + _0x260581 + _0x1b18c6 + _0x551149(_0xfd8001._0x26c434) + _0x159e4e[_0x551149(_0xfd8001._0x546f18)] + ':\x20' + _0x159e4e[_0x551149(_0xfd8001._0x3da806)] + formatAttachmentSuffix(_0x159e4e[_0x551149(0x246)]);
|
|
988
995
|
})['join']('\x0a');
|
|
989
996
|
}
|
|
990
|
-
function formatHistory(
|
|
991
|
-
const
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
997
|
+
function formatHistory(_0x1339d7) {
|
|
998
|
+
const _0x4f79ca = {
|
|
999
|
+
_0x3ef3a9: 0x14e,
|
|
1000
|
+
_0x1bef37: 0x176,
|
|
1001
|
+
_0xb11a2: 0x291,
|
|
1002
|
+
_0x1d7dbc: 0x1bb,
|
|
1003
|
+
_0x4d74e4: 0x278,
|
|
1004
|
+
_0x2079e9: 0x264,
|
|
1005
|
+
_0x19934e: 0x25a,
|
|
1006
|
+
_0x50fd14: 0x14e
|
|
1007
|
+
}, _0x47ad0b = {
|
|
1008
|
+
_0x5a4bf8: 0x26d,
|
|
1009
|
+
_0x28164c: 0x1df,
|
|
1010
|
+
_0x52e028: 0x143,
|
|
1011
|
+
_0x5ed075: 0x1b3,
|
|
1012
|
+
_0x5db90f: 0x28d,
|
|
1013
|
+
_0x28c360: 0x19c,
|
|
1014
|
+
_0x2a9572: 0x141,
|
|
1015
|
+
_0x5ae69d: 0x138,
|
|
1016
|
+
_0x19033c: 0x18f,
|
|
1017
|
+
_0x15c768: 0x246
|
|
1018
|
+
}, _0x174264 = _0x2cd54a;
|
|
1019
|
+
if (_0x1339d7[_0x174264(0x25a)][_0x174264(_0x4f79ca._0x3ef3a9)] === 0x0)
|
|
1020
|
+
return _0x174264(_0x4f79ca._0x1bef37) + _0x1339d7[_0x174264(0x16c)] + _0x174264(0x1f3);
|
|
1021
|
+
const _0x191687 = _0x1339d7[_0x174264(0x25a)][_0x174264(0x13f)](_0xe4640a => {
|
|
1022
|
+
const _0xffad37 = _0x174264, _0x2dada1 = _0xe4640a[_0xffad37(0x221)] === _0xffad37(_0x47ad0b._0x5a4bf8) ? _0xffad37(0x18e) : '', _0x89e995 = _0xe4640a[_0xffad37(0x1b3)] && _0xe4640a['kind'] !== _0xffad37(_0x47ad0b._0x28164c) ? _0xffad37(_0x47ad0b._0x52e028) + _0xe4640a[_0xffad37(_0x47ad0b._0x5ed075)] : '';
|
|
1023
|
+
return _0xffad37(_0x47ad0b._0x5db90f) + _0xe4640a[_0xffad37(_0x47ad0b._0x28c360)] + _0xffad37(_0x47ad0b._0x2a9572) + _0xe4640a['messageId'] + _0xffad37(_0x47ad0b._0x5ae69d) + toLocalTime(_0xe4640a[_0xffad37(0x200)]) + _0x2dada1 + _0x89e995 + ']\x20@' + _0xe4640a[_0xffad37(_0x47ad0b._0x19033c)] + ':\x20' + _0xe4640a[_0xffad37(0x223)] + formatAttachmentSuffix(_0xe4640a[_0xffad37(_0x47ad0b._0x15c768)]);
|
|
1024
|
+
})[_0x174264(_0x4f79ca._0xb11a2)]('\x0a'), _0x4aac9a = _0x1339d7[_0x174264(_0x4f79ca._0x1d7dbc)] && _0x1339d7[_0x174264(_0x4f79ca._0x4d74e4)] ? _0x174264(_0x4f79ca._0x2079e9) + _0x1339d7[_0x174264(_0x4f79ca._0x19934e)]['length'] + _0x174264(0x231) + _0x1339d7[_0x174264(0x278)] + _0x174264(0x1d4) : '';
|
|
1025
|
+
return '##\x20Message\x20History\x20for\x20' + _0x1339d7[_0x174264(0x16c)] + '\x20(' + _0x1339d7[_0x174264(_0x4f79ca._0x19934e)][_0x174264(_0x4f79ca._0x50fd14)] + _0x174264(0x22d) + _0x191687 + _0x4aac9a;
|
|
1014
1026
|
}
|
|
1015
|
-
function
|
|
1016
|
-
const
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
'
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
'
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
'
|
|
1033
|
-
'
|
|
1034
|
-
|
|
1035
|
-
'
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1027
|
+
function formatServerDirectory(_0x2cff14) {
|
|
1028
|
+
const _0x416961 = {
|
|
1029
|
+
_0x55992e: 0x154,
|
|
1030
|
+
_0x10df02: 0x14e,
|
|
1031
|
+
_0x5d6cde: 0x154,
|
|
1032
|
+
_0x378634: 0x255,
|
|
1033
|
+
_0x2ee982: 0x255,
|
|
1034
|
+
_0x25dce7: 0x13f,
|
|
1035
|
+
_0x3c5544: 0x1a8,
|
|
1036
|
+
_0x2fea01: 0x270,
|
|
1037
|
+
_0x5c6ce8: 0x291
|
|
1038
|
+
}, _0x2074fe = _0x2cd54a, _0x4d2d01 = _0x2cff14[_0x2074fe(_0x416961._0x55992e)][_0x2074fe(_0x416961._0x10df02)] > 0x0 ? _0x2cff14[_0x2074fe(_0x416961._0x5d6cde)][_0x2074fe(0x13f)](_0x5b8fb5 => _0x5b8fb5[_0x2074fe(0x1f4)] ? _0x2074fe(0x1bc) + _0x5b8fb5['name'] + _0x2074fe(0x180) + _0x5b8fb5[_0x2074fe(0x1f4)] : _0x2074fe(0x1bc) + _0x5b8fb5[_0x2074fe(0x123)])['join']('\x0a') : _0x2074fe(0x1fd), _0x5a1fd9 = _0x2cff14[_0x2074fe(_0x416961._0x378634)]['length'] > 0x0 ? _0x2cff14[_0x2074fe(_0x416961._0x2ee982)][_0x2074fe(_0x416961._0x25dce7)](_0x325022 => _0x2074fe(0x1bd) + _0x325022[_0x2074fe(0x123)])[_0x2074fe(0x291)]('\x0a') : '(none)', _0x18b23a = _0x2cff14[_0x2074fe(0x1a8)][_0x2074fe(0x14e)] > 0x0 ? _0x2cff14[_0x2074fe(_0x416961._0x3c5544)][_0x2074fe(0x13f)](_0x3b589d => '-\x20@' + _0x3b589d[_0x2074fe(0x123)])[_0x2074fe(0x291)]('\x0a') : '(none)';
|
|
1039
|
+
return [
|
|
1040
|
+
_0x2074fe(0x287) + _0x2cff14[_0x2074fe(0x1a9)],
|
|
1041
|
+
'',
|
|
1042
|
+
_0x2074fe(_0x416961._0x2fea01),
|
|
1043
|
+
_0x4d2d01,
|
|
1044
|
+
'',
|
|
1045
|
+
'###\x20Agents',
|
|
1046
|
+
_0x5a1fd9,
|
|
1047
|
+
'',
|
|
1048
|
+
_0x2074fe(0x167),
|
|
1049
|
+
_0x18b23a
|
|
1050
|
+
][_0x2074fe(_0x416961._0x5c6ce8)]('\x0a');
|
|
1051
|
+
}
|
|
1052
|
+
function formatUploadResult(_0x4c18d3) {
|
|
1053
|
+
const _0x453e33 = _0x2cd54a;
|
|
1054
|
+
return 'File\x20uploaded:\x20' + _0x4c18d3[_0x453e33(0x22b)] + '\x20(' + (_0x4c18d3[_0x453e33(0x241)] / 0x400)['toFixed'](0x1) + 'KB)\x0aAttachment\x20ID:\x20' + _0x4c18d3[_0x453e33(0x208)] + _0x453e33(0x295);
|
|
1055
|
+
}
|
|
1056
|
+
function formatViewFileResult(_0xbaaffe, _0x2992d8) {
|
|
1057
|
+
const _0x4de47c = { _0x4df404: 0x238 }, _0x10e34d = _0x2cd54a;
|
|
1058
|
+
return _0x2992d8 ? _0x10e34d(_0x4de47c._0x4df404) + _0xbaaffe : 'Downloaded\x20to:\x20' + _0xbaaffe;
|
|
1059
|
+
}
|
|
1060
|
+
function formatTaskList(_0x47a6a8, _0x5defd0) {
|
|
1061
|
+
const _0x219e06 = {
|
|
1062
|
+
_0x449312: 0x14e,
|
|
1063
|
+
_0x478426: 0x291
|
|
1064
|
+
}, _0x80455f = {
|
|
1065
|
+
_0x50e1bb: 0x17a,
|
|
1066
|
+
_0x520b99: 0x17a,
|
|
1067
|
+
_0x328dba: 0x185,
|
|
1068
|
+
_0x10fea0: 0x267,
|
|
1069
|
+
_0x3e70a3: 0x185,
|
|
1070
|
+
_0x32ea27: 0x1cd,
|
|
1071
|
+
_0x56d076: 0x244,
|
|
1072
|
+
_0x5b206b: 0x243
|
|
1073
|
+
}, _0x5ad602 = _0x2cd54a;
|
|
1074
|
+
if (_0x47a6a8[_0x5ad602(_0x219e06._0x449312)] === 0x0)
|
|
1075
|
+
return _0x5ad602(0x235);
|
|
1076
|
+
return _0x47a6a8[_0x5ad602(0x13f)](_0x3eaba8 => {
|
|
1077
|
+
const _0x315188 = _0x5ad602, _0x973403 = _0x3eaba8[_0x315188(0x249)] == null ? _0x315188(0x273) : _0x3eaba8[_0x315188(_0x80455f._0x50e1bb)] != null ? '#' + _0x3eaba8[_0x315188(0x249)] + '.' + _0x3eaba8[_0x315188(_0x80455f._0x520b99)] : '#' + _0x3eaba8[_0x315188(0x249)], _0x455d3e = _0x3eaba8[_0x315188(_0x80455f._0x328dba)] ? _0x315188(_0x80455f._0x10fea0) + _0x3eaba8[_0x315188(_0x80455f._0x3e70a3)] : '', _0x21bed = _0x5defd0 && _0x3eaba8['taskNumber'] != null && !_0x3eaba8['subtaskNumber'] && _0x5defd0['has'](_0x3eaba8[_0x315188(0x249)]) ? _0x315188(_0x80455f._0x32ea27) : '', _0x21d661 = _0x3eaba8['childrenTotal'] != null && _0x3eaba8['childrenTotal'] > 0x0 ? '\x20(' + (_0x3eaba8[_0x315188(0x119)] ?? 0x0) + '/' + _0x3eaba8[_0x315188(0x12d)] + _0x315188(_0x80455f._0x56d076) : '';
|
|
1078
|
+
return _0x973403 + '\x20[' + _0x3eaba8[_0x315188(_0x80455f._0x5b206b)] + ']\x20' + _0x3eaba8['title'] + _0x21d661 + _0x455d3e + _0x21bed;
|
|
1079
|
+
})[_0x5ad602(_0x219e06._0x478426)]('\x0a');
|
|
1080
|
+
}
|
|
1081
|
+
function _0x409f() {
|
|
1082
|
+
const _0x32e0a1 = [
|
|
1083
|
+
'C2vUzgvYtMfTzq',
|
|
1084
|
+
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
1085
|
+
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
1086
|
+
'z2v0rNvSBfLLyxi',
|
|
1087
|
+
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
1088
|
+
'DgL0Bgu',
|
|
1089
|
+
'l3rHC2TZ',
|
|
1090
|
+
'Aw1Hz2uVANbLzW',
|
|
1091
|
+
'CMvXDwvZDfvYBa',
|
|
1092
|
+
'ywDLBNrjza',
|
|
1093
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmVy2XHAw0',
|
|
1094
|
+
'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
|
|
1041
1095
|
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
1042
|
-
'
|
|
1043
|
-
'
|
|
1044
|
-
'
|
|
1045
|
-
'
|
|
1046
|
-
'
|
|
1047
|
-
'
|
|
1048
|
-
'y2HPBgrYzw5uB3rHBa',
|
|
1049
|
-
'C2nOzwr1BgvKrM9Y',
|
|
1050
|
-
'ChvIBgLJ',
|
|
1051
|
-
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4GrM9Yihn1yNrHC2TZlcbHBhnVihbHC3mGC3vIDgfZA19UDw1IzxiU',
|
|
1052
|
-
'zMLSzw5HBwu',
|
|
1053
|
-
'ls1KywvTB24TBg9JywWTDxjS',
|
|
1054
|
-
'Aw5FChjVz3jLC3m',
|
|
1055
|
-
'zNjVBq',
|
|
1056
|
-
'DMLLD19MAwXL',
|
|
1057
|
-
'sfruuca',
|
|
1058
|
-
'y2XHAw0GzMfPBgvK',
|
|
1059
|
-
'CgfKu3rHCNq',
|
|
1060
|
-
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
1061
|
-
'4PQG77IpifDpuKTfuIbbq1rjvKfuruqG4Ocuifn0B3aGquXmihDVCMSGB24GDgHPCYb0yxnRigLTBwvKAwf0zwX5lIbeBYbUB3qGC2vUzcbMDxj0AgvYig1LC3nHz2vZihrVihrOAxmGDgHYzwfKlG',
|
|
1062
|
-
'ig1LC3nHz2u9',
|
|
1063
|
-
'Ahr0CdO',
|
|
1064
|
-
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw4GB25SEsbJBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCNmU',
|
|
1065
|
-
'Aw1Hz2uVz2LM',
|
|
1066
|
-
'z2v0x3DVCMTLCL9ZDgf0DxmGzMfPBgvK',
|
|
1067
|
-
'Dg9VBa',
|
|
1068
|
-
'CMvHzf9OAxn0B3j5',
|
|
1069
|
-
'mu1MqKLNDW',
|
|
1070
|
-
'BgvUz3rO',
|
|
1071
|
-
'ig1ZzZ0',
|
|
1072
|
-
'y2HHBM5LBeLK',
|
|
1073
|
-
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
1074
|
-
'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
|
|
1075
|
-
'lcbJB250zw50lxr5Cgu9',
|
|
1076
|
-
'l3jLy2vPDMu',
|
|
1077
|
-
'uMvHzcb0AhjLywqGAgLZDg9YEsbIzwzVCMuGDgfRAw5NigfJDgLVBI4Grg8GBM90igvJAg8GDgHPCYbTzxnZywDLihrVihrOzsb0AhjLywqU',
|
|
1078
|
-
'CMvHzeHPC3rVCNK',
|
|
1079
|
-
'zxHWAxjLC0f0',
|
|
1080
|
-
'D3nZoG',
|
|
1096
|
+
'C2vX',
|
|
1097
|
+
'y29UDgvUDfr5Cgu',
|
|
1098
|
+
'yMfZzw5HBwu',
|
|
1099
|
+
'CMvJB3jK',
|
|
1100
|
+
'CgfYDgLJAxbHBNq',
|
|
1101
|
+
'C2f2zq',
|
|
1081
1102
|
'v29YA2vYici',
|
|
1082
|
-
'
|
|
1083
|
-
'
|
|
1084
|
-
'
|
|
1085
|
-
'
|
|
1086
|
-
'v29YA2vYia',
|
|
1087
|
-
'ChjVDg9JB2W',
|
|
1088
|
-
'zxHLy3v0Aw9Utw9Kzq',
|
|
1089
|
-
'mc4WlJa',
|
|
1090
|
-
'Dg9ju09tDhjPBMC',
|
|
1103
|
+
'DgHYzwfKu2HVCNrjza',
|
|
1104
|
+
'z2v0sg91CNm',
|
|
1105
|
+
'D29YA2vYx3nLC3nPB25FAwq',
|
|
1106
|
+
'yxjYyxLcDwzMzxi',
|
|
1091
1107
|
'w3rHCMDLDd0',
|
|
1092
|
-
'kg5VBMuP',
|
|
1093
|
-
'DgHYzwfKswq',
|
|
1094
|
-
'ywjVCNq',
|
|
1095
|
-
'BwvZC2fNzxm',
|
|
1096
|
-
'D3m6',
|
|
1097
|
-
'Dw5JBgfPBv90yxnR',
|
|
1098
|
-
'l2zPBMLZAa',
|
|
1099
|
-
'DxbKyxrL',
|
|
1100
|
-
'ywDLBNrZ',
|
|
1101
|
-
'tM8GDgfZA3mGzM91BMqU',
|
|
1102
|
-
'zxHLy3v0Aw9Utw9Kzt0',
|
|
1103
|
-
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmVy2XHAw0',
|
|
1104
|
-
'iokaLca',
|
|
1105
|
-
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
1106
|
-
'DxbKyxrLvgfZA1n0yxr1CW',
|
|
1107
|
-
'z2v0',
|
|
1108
|
-
'C2vUzgvYvhLWzq',
|
|
1109
|
-
'ndaXnJq0zLDNu1v6',
|
|
1110
|
-
'zxnJywXHDgvFDg9FBwfPBG',
|
|
1111
|
-
'xsba',
|
|
1112
|
-
'vgfZAYa',
|
|
1113
|
-
'z2v0tw9UDgG',
|
|
1114
|
-
'C2vYDMvYvxjS',
|
|
1115
|
-
'C2vX',
|
|
1116
|
-
'mtK1ntG5mvH0ExPMtG',
|
|
1117
|
-
'zMLUzenHy2HLzfbHDgG',
|
|
1118
|
-
'yxr0ywnOBwvUDeLK',
|
|
1119
|
-
'ywDLBNrjza',
|
|
1120
1108
|
'AhvTyw5Z',
|
|
1121
|
-
'
|
|
1122
|
-
'
|
|
1123
|
-
'
|
|
1124
|
-
'
|
|
1125
|
-
'
|
|
1126
|
-
'
|
|
1127
|
-
'D29YA2vYtw9KzuvUywjSzwq',
|
|
1128
|
-
'ls13B3jRzxiTC2vZC2LVBI1Pza',
|
|
1129
|
-
'DxrMoa',
|
|
1130
|
-
'yxr0ywnOBwvUDenHy2HL',
|
|
1131
|
-
'lsba',
|
|
1132
|
-
'l3rHC2TZpW',
|
|
1133
|
-
'l3jLC29SDMuTy2HHBM5LBa',
|
|
1134
|
-
'Aw5KzxHpzG',
|
|
1135
|
-
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
1109
|
+
'C2vYDMvYtMfTzq',
|
|
1110
|
+
'zNjVBq',
|
|
1111
|
+
'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
|
|
1112
|
+
'zMLUzenHy2HLzfbHDgG',
|
|
1113
|
+
'twLZC2LUzYaTlwfNzw50lwLK',
|
|
1114
|
+
'CMvHzf9OAxn0B3j5',
|
|
1136
1115
|
'CgfYA193B3jRzxi',
|
|
1137
|
-
'
|
|
1116
|
+
'C29Tzq',
|
|
1117
|
+
'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
|
|
1138
1118
|
'AwrLBxbVDgvUy3LFA2v5',
|
|
1139
|
-
'
|
|
1119
|
+
'A2LUza',
|
|
1120
|
+
'B3b0Aw9UywW',
|
|
1121
|
+
'Dg9mB3DLCKnHC2u',
|
|
1140
1122
|
'C29YDa',
|
|
1141
|
-
'
|
|
1142
|
-
'
|
|
1143
|
-
'
|
|
1144
|
-
'
|
|
1145
|
-
'
|
|
1146
|
-
'C3rYAw5NAwz5',
|
|
1147
|
-
'CM9VDe1LC3nHz2vjza',
|
|
1148
|
-
'y2XHAw1uyxnRCW',
|
|
1149
|
-
'BwvZC2fNzuLK',
|
|
1150
|
-
'yxbWBgLJyxrPB24VEMLW',
|
|
1151
|
-
'yMfZzw5HBwu',
|
|
1152
|
-
'igTPBMq9',
|
|
1153
|
-
'nJq5ntq3mMfJCwrTDG',
|
|
1154
|
-
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
1123
|
+
'y29UDgvUDejHC2u2na',
|
|
1124
|
+
'ihn0yxr1CZ0',
|
|
1125
|
+
'AxnbCNjHEq',
|
|
1126
|
+
'CNvUswq',
|
|
1127
|
+
'AgfZtw9Yzq',
|
|
1155
1128
|
'lsaJ',
|
|
1156
|
-
'
|
|
1157
|
-
'
|
|
1158
|
-
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
1159
|
-
'ls1KywvTB24TyxbPlwTLEq',
|
|
1160
|
-
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
1161
|
-
'ihrPBwu9',
|
|
1162
|
-
'BgLZDf9Zzxj2zxi',
|
|
1163
|
-
'CMvHC29U',
|
|
1164
|
-
'Dw5JBgfPBvrHC2S',
|
|
1129
|
+
'lsba',
|
|
1130
|
+
'yxbWBgLJyxrPB24VEg1S',
|
|
1165
1131
|
'Dg9tDhjPBMC',
|
|
1166
|
-
'
|
|
1167
|
-
'
|
|
1168
|
-
'
|
|
1169
|
-
'
|
|
1170
|
-
'yxjNDG',
|
|
1171
|
-
'Aw5JBhvKzxm',
|
|
1172
|
-
'zgvSzxrL',
|
|
1173
|
-
'v29YA2vYlw9UBhKUifbHCMSGDgHLign1CNjLBNqGD29YA2vYigXHBMuGywz0zxiGEw91igHHDMuGywXYzwfKEsbYzxbVCNrLzcbYzxn1BhrZigLUihrOAxmGDgHYzwfKlIbuAgLZigrVzxmGBM90igvUzcb0AguGC2vZC2LVBJSGC2fTzs10AhjLywqGzM9SBg93lxvWihDPBgWGCMvZDw1LihrOAxmGBgfUzs4',
|
|
1174
|
-
'zgvZDhjVEwvK',
|
|
1175
|
-
'zxzLBNrtzxe',
|
|
1176
|
-
'mZG3mteXmg1fwfLirW',
|
|
1177
|
-
'uM9VDcb0yxnRig1LC3nHz2u6cG',
|
|
1178
|
-
'DMLLD19MAwXLigzHAwXLza',
|
|
1179
|
-
'Aw1Hz2uVC3zNk3HTBa',
|
|
1180
|
-
'l3nLBMq',
|
|
1181
|
-
'twLZC2LUzYaTlwfNzw50lwLK',
|
|
1132
|
+
'zg06',
|
|
1133
|
+
'BgLZDf9Zzxj2zxi',
|
|
1134
|
+
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
1135
|
+
'zMfSC2u',
|
|
1182
1136
|
'BNvTyMvY',
|
|
1183
|
-
'
|
|
1184
|
-
'
|
|
1185
|
-
'
|
|
1186
|
-
'
|
|
1187
|
-
'
|
|
1188
|
-
'
|
|
1189
|
-
'
|
|
1190
|
-
'AgLNAa',
|
|
1191
|
-
'DMfSDwvZ',
|
|
1137
|
+
'y29UDgvUDc10ExbL',
|
|
1138
|
+
'zgfLBw9Utg9JywXvCMW',
|
|
1139
|
+
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4GrM9Yihn1yNrHC2TZlcbHBhnVihbHC3mGC3vIDgfZA19UDw1IzxiU',
|
|
1140
|
+
'DgHYzwfKswq',
|
|
1141
|
+
'C3rYAw5NAwz5',
|
|
1142
|
+
'DgfYz2v0',
|
|
1143
|
+
'ndvMBxzQyNO',
|
|
1192
1144
|
'zgf0yq',
|
|
1193
|
-
'
|
|
1194
|
-
'
|
|
1195
|
-
'
|
|
1196
|
-
'
|
|
1197
|
-
'Aw1Hz2uVANbLzW',
|
|
1198
|
-
'CMvZB2X2zvrHCMDLDa',
|
|
1199
|
-
'ywDNCMvNyxrLswq',
|
|
1145
|
+
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
1146
|
+
'C3rVCe1HAw4',
|
|
1147
|
+
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
1148
|
+
'yxbWBgLJyxrPB24VCgrM',
|
|
1200
1149
|
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
1201
|
-
'
|
|
1202
|
-
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
1203
|
-
'CgfYC2vjBNq',
|
|
1204
|
-
'l2fWAs9Hz2vUDc1ZzxnZAw9UCY8',
|
|
1205
|
-
'Bwv0yq',
|
|
1206
|
-
'D29YA2vYsgfUzg9MzJ10CNvL',
|
|
1207
|
-
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
1208
|
-
'DgHYzwfKx3rHCMDLDa',
|
|
1209
|
-
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
1210
|
-
'DgfZA3m',
|
|
1211
|
-
'l2HPC3rVCNK/',
|
|
1212
|
-
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
1213
|
-
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
1214
|
-
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
1215
|
-
'DgfYz2v0zwruyxnR',
|
|
1216
|
-
'BwvTyMvYCW',
|
|
1150
|
+
'DgfZAY0',
|
|
1217
1151
|
'iokaLcb1C2uGDMLLD19MAwXLihrVihnLzv0',
|
|
1218
|
-
'
|
|
1219
|
-
'iYmGu2vYDMvYoIa',
|
|
1220
|
-
'ChvZAa',
|
|
1221
|
-
'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
|
|
1222
|
-
'BMv4Den1CNnVCG',
|
|
1223
|
-
'y2f0y2G',
|
|
1224
|
-
'ywDLBNq',
|
|
1225
|
-
'l3n0yxj0',
|
|
1226
|
-
'Dgv4Dc9WBgfPBG',
|
|
1227
|
-
'khvUA25VD24P',
|
|
1228
|
-
'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
|
|
1229
|
-
'CMvWBgfJzq',
|
|
1230
|
-
'Dw5RBM93BG',
|
|
1231
|
-
'C2vUzgvYtMfTzq',
|
|
1232
|
-
'sw52ywXPzcaTlwLUAxrPywWTBgfZDc1ZzwvUlxnLCq',
|
|
1233
|
-
'D29YA2vYx3nLC3nPB25FAwq',
|
|
1234
|
-
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
1235
|
-
'BMfTzq',
|
|
1236
|
-
'AhvTyw4',
|
|
1237
|
-
'y2HHBM5LBe5HBwu',
|
|
1238
|
-
'Dgv4Dc9JC3y',
|
|
1239
|
-
'Aw5FCMv2Awv3',
|
|
1240
|
-
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
1241
|
-
'ignSywLTzwq',
|
|
1242
|
-
'Bg93',
|
|
1243
|
-
'twfYAYb0AguGy3vYCMvUDcb3B3jRzxiGyxmGD2fPDgLUzYbMB3iGAhvTyw4GAw5WDxqUifbHDxnLCYb0AguGAwrSzsbuveWGDgLTzxiGDw50AwWGysbUzxCGBwvZC2fNzsbHCNjPDMvZlG',
|
|
1244
|
-
'AxnbCNjHEq',
|
|
1245
|
-
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw5UB3qGy2XHAw0GyNKGBwvZC2fNzv9PzhmGkhrVCc1SzxzLBcbTzxnZywDLihbYB21VDgLVBIbPCYbTywLUlwfNzw50ig9UBhKPoYb1C2uGC3vIDgfZA19UDw1IzxjZigLUC2LKzsb5B3vYig93BIb0yxnRihrOCMvHzc4',
|
|
1246
|
-
'iIbUB3qGzM91BMq',
|
|
1247
|
-
'lIbnzxnZywDLieLeoIa',
|
|
1248
|
-
'CMvZDwX0sNnVBG',
|
|
1249
|
-
'y2HPBgrYzw5eB25L',
|
|
1250
|
-
'ANnVBG',
|
|
1251
|
-
'AgfZtw9Yzq',
|
|
1252
|
-
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
1253
|
-
'mJrbu0fIyuO',
|
|
1254
|
-
'oIb3B3jRzxiGy2fUig9UBhKGB3bLCMf0zsbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcaO',
|
|
1255
|
-
'uefuq0G',
|
|
1256
|
-
'Aw1Hz2uVCg5N',
|
|
1257
|
-
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
1258
|
-
'D29YA19RzxK',
|
|
1259
|
-
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
1260
|
-
'C3vJy2vZCW',
|
|
1261
|
-
'y3jLyxrLzef0',
|
|
1262
|
-
'DxbSB2fKx2zPBgu',
|
|
1263
|
-
's0iPcKf0DgfJAg1LBNqGsuq6ia',
|
|
1264
|
-
'DgHYzwfKvgfYz2v0',
|
|
1265
|
-
'ls1Hz2vUDc1Pza',
|
|
1266
|
-
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
1267
|
-
'AgvHzgvYCW',
|
|
1268
|
-
'lNnSB2nR',
|
|
1269
|
-
'ihn0yxr1CZ0',
|
|
1270
|
-
'zg06',
|
|
1271
|
-
'C2vUzf9TzxnZywDL',
|
|
1272
|
-
'C2L6zuj5DgvZ',
|
|
1273
|
-
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
1274
|
-
'C2HHmJu2',
|
|
1275
|
-
'mJeZndKXoeDquvDltW',
|
|
1276
|
-
'xsbaC3LZDgvToIbBy2XHAw0TAgfUzg9MzL0G',
|
|
1277
|
-
'zMLUza',
|
|
1278
|
-
'DgfZAW',
|
|
1279
|
-
't3jPz2LUywWGBwvZC2fNztOG',
|
|
1280
|
-
'yxbWBgLJyxrPB24VEg1S',
|
|
1281
|
-
'Bwf4',
|
|
1282
|
-
'DMfSDwu',
|
|
1283
|
-
'zw50zxiTAgfUzg9MzIbMywLSzwq',
|
|
1284
|
-
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
1285
|
-
'y2HHBM5LBfrHCMDLDa',
|
|
1286
|
-
'DgfYz2v0zwq',
|
|
1287
|
-
'C2XPy2u',
|
|
1288
|
-
'yxjYyxK',
|
|
1289
|
-
'l3rHC2TZl2nSywLT',
|
|
1290
|
-
'cUkAOo+4JYbxt1jlrviGqunusvzbveveiokaLcbtDg9Wiefmtcb3B3jRig9UihrOAxmGDgfZAYbPBw1LzgLHDgvSEs4Gv29YA2vYigHHBMrSzxmGzxHLy3v0Aw9UigvUzc10BY1LBMqU',
|
|
1152
|
+
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
1291
1153
|
'u2vUzcbHig1LC3nHz2uUieLMihzPC2LIAwXPDhKGAxmGB21PDhrLzcWGDgHLig1LC3nHz2uGAxmGChvIBgLJlIbjBIb0yxnRihrOCMvHzhmSihnLDcb2AxnPyMLSAxr5oIbHC2LKzsbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Gt3v0C2LKzsb0AhjLywrZlcbKBYbUB3qGC2v0ihzPC2LIAwXPDhKUifjLDxnLihrOzsbLEgfJDcb0yxjNzxqGC3rYAw5NigzYB20GAw5JB21PBMCGBwvZC2fNzxmU',
|
|
1292
|
-
'
|
|
1293
|
-
'
|
|
1294
|
-
'l2LUDgvYBMfSl2fNzw50lW',
|
|
1295
|
-
'ihr5Cgu9ywDLBNq',
|
|
1296
|
-
'ls13B3jRzxiTDgHYzwfKlxrHCMDLDa',
|
|
1154
|
+
'B3jPz2LUywXgAwXLBMfTzq',
|
|
1155
|
+
'yxjYyxK',
|
|
1297
1156
|
'AhjLzG',
|
|
1298
|
-
'
|
|
1299
|
-
'
|
|
1300
|
-
'
|
|
1301
|
-
'
|
|
1302
|
-
'
|
|
1303
|
-
'ywrKrxzLBNrmAxn0zw5LCG',
|
|
1304
|
-
'zxH0BMfTzq',
|
|
1305
|
-
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
1306
|
-
'zMLSzv9WyxrO',
|
|
1157
|
+
'lIbZDg9WtwfPBJ10CNvLigv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
1158
|
+
'zw50CMLLCW',
|
|
1159
|
+
'D29YA2vYsgfUzg9MzG',
|
|
1160
|
+
'twvZC2fNzsbZzw50ihrVia',
|
|
1161
|
+
'y2HHBM5LBeLK',
|
|
1307
1162
|
'iJOGC3rHDhvZpq',
|
|
1308
|
-
'C29Tzq',
|
|
1309
|
-
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
1310
|
-
'uM9VDcb0yxnRig1LC3nHz2uGAwq6ia',
|
|
1311
|
-
'AM9PBG',
|
|
1312
|
-
'y3jLyxrLx3rHC2TZ',
|
|
1313
|
-
'kgXLz2fJEsK',
|
|
1314
|
-
'l3rHC2TZl3vUy2XHAw0',
|
|
1315
|
-
'Dgv4Da',
|
|
1316
|
-
'DgfZA051BwjLCG',
|
|
1317
|
-
'CMvZDwX0CW',
|
|
1318
|
-
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
1319
|
-
'DhjPBq',
|
|
1320
|
-
'zg93BMXVywrbDhrHy2HTzw50',
|
|
1321
|
-
'yxbWBgLJyxrPB24VANnVBG',
|
|
1322
|
-
'igrVBMuP',
|
|
1323
|
-
'ig1LC3nHz2vZihnOB3DUlIbvC2uGyMvMB3jLpq',
|
|
1324
|
-
'C2vUzf9TzxnZywDLigzHAwXLza',
|
|
1325
|
-
'igzHAwXLzdOG',
|
|
1326
|
-
'Dg9KBW',
|
|
1327
|
-
'Cgf5Bg9HzePZB24',
|
|
1328
|
-
'C2v0',
|
|
1329
|
-
'DgHYzwfK',
|
|
1330
|
-
'y29UDgvUDa',
|
|
1331
|
-
'C3rYAw5N',
|
|
1332
|
-
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
1333
|
-
'y2HLy2TFBwvZC2fNzxm',
|
|
1334
|
-
'CNvUBMLUzW',
|
|
1335
|
-
'zg0T',
|
|
1336
|
-
'ywDNCMvNyxrLvhLWzq',
|
|
1337
|
-
'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
|
|
1338
1163
|
'y2HHDa',
|
|
1339
|
-
'
|
|
1340
|
-
'
|
|
1341
|
-
'
|
|
1164
|
+
'Bg93',
|
|
1165
|
+
'ue9tva',
|
|
1166
|
+
'vxbKyxrLihrHC2SGC3rHDhvZigj5ignOyw5UzwWGyw5KihrHC2SGBNvTyMvYlIbgB3iGC3vIDgfZA3mSigfSC28GCgfZCYbZDwj0yxnRx251BwjLCI4',
|
|
1167
|
+
'vgfZAYa',
|
|
1168
|
+
'zxHLy3v0Aw9Utw9Kzq',
|
|
1169
|
+
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
1170
|
+
'lcbWCMv2Awv3pq',
|
|
1171
|
+
'BgLZDfrHC2TZ',
|
|
1172
|
+
'iIbWyxjRzwqUifnHBwuTDgHYzwfKigzVBgXVDY11Ccb3AwXSihjLC3vTzsb0AgLZigXHBMuU',
|
|
1342
1173
|
'AxngAw5PDgu',
|
|
1343
|
-
'
|
|
1344
|
-
'y3jLyxrLx3rHC2TZigzHAwXLza',
|
|
1345
|
-
'Ahr0Chm6',
|
|
1346
|
-
'yxr0ywnOBwvUDhm',
|
|
1347
|
-
'CMvJB3jK',
|
|
1348
|
-
'C3rVCe1HAw49Dhj1zq',
|
|
1174
|
+
'Bwf0y2Hoyw1L',
|
|
1349
1175
|
'CgfYA193B3jRzxiGzMfPBgvK',
|
|
1350
|
-
'
|
|
1351
|
-
'
|
|
1176
|
+
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
1177
|
+
'yxv0BZO',
|
|
1178
|
+
'y2HLy2TFBwvZC2fNzxm',
|
|
1179
|
+
'l3DVCMTLCNmVD2fPDgLUz19PBNb1Da',
|
|
1180
|
+
'Bwf0y2Hoyw1Ltg93zxi',
|
|
1181
|
+
'lIbnzxnZywDLieLeoIa',
|
|
1182
|
+
'l3rHC2TZl2nSywLT',
|
|
1183
|
+
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
1184
|
+
'zgvZy3jPChrPB24',
|
|
1185
|
+
'l3vWBg9Hza',
|
|
1186
|
+
'yxr0ywnOBwvUDf9Pzhm',
|
|
1187
|
+
'l2HPC3rVCNK/',
|
|
1188
|
+
'CMvHC29U',
|
|
1189
|
+
't3b0Aw9UywWUieLMig9TAxr0zwqSihrOzsbTzxnZywDLigLZihb1yMXPyY4Gsw4GDgfZAYb0AhjLywrZlcbZzxqGiMfZAwrLiIbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Grg8GBM90ihnLDcbVDxrZAwrLihrOCMvHzhmU',
|
|
1190
|
+
'r0vu',
|
|
1352
1191
|
'yxr0ywnOBwvUDf9Pza',
|
|
1192
|
+
'DxbKyxrLvgfZA1n0yxr1CW',
|
|
1193
|
+
'kg5VBMuP',
|
|
1194
|
+
'yxjNDG',
|
|
1195
|
+
'igfSCMvHzhKGAgfZigfUigfJDgL2zsb3B3jRzxiUihn0B3bnywLUpxrYDwuGzxHLy3v0Aw9Utw9Kzt13B3jRzxi',
|
|
1196
|
+
'y3jLyxrLzef0',
|
|
1197
|
+
'DxbSB2fKuhjLCgfYzxi',
|
|
1198
|
+
'y2XHAw1FDgfZA3mGzMfPBgvK',
|
|
1199
|
+
'BwvKAxvT',
|
|
1200
|
+
'twLZC2LUzYaTlwrHzw1VBI1HCgKTA2v5',
|
|
1201
|
+
'C2vYDMvY',
|
|
1202
|
+
'nJeYmJG4ovziyLjjBG',
|
|
1203
|
+
'nZm1ntm4m3nPDhjXCa',
|
|
1204
|
+
'yxr0ywnOBwvUDeLK',
|
|
1353
1205
|
'BgLZDf90yxnRCYbMywLSzwq',
|
|
1354
|
-
'
|
|
1355
|
-
'
|
|
1356
|
-
'
|
|
1357
|
-
'
|
|
1358
|
-
'
|
|
1359
|
-
'
|
|
1360
|
-
'
|
|
1206
|
+
'Axnoyu4',
|
|
1207
|
+
'yMvMB3jL',
|
|
1208
|
+
'Aw5FChjVz3jLC3m',
|
|
1209
|
+
'DgfYz2v0zwruyxnR',
|
|
1210
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
1211
|
+
'zxHLy3v0Aw9Utw9Kzt0',
|
|
1212
|
+
'rMLSzsbUB3qGzM91BMq6ia',
|
|
1213
|
+
'AgLNAa',
|
|
1214
|
+
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
1215
|
+
'DMLLD19MAwXLigzHAwXLza',
|
|
1361
1216
|
'CgfYDgLJAxbHBNrjza',
|
|
1362
|
-
'
|
|
1217
|
+
'D29YA2vYsgfUzg9MzKvYCM9Y',
|
|
1218
|
+
'y3jLyxrLvgfZA3m',
|
|
1219
|
+
'ywDNCMvNyxrLswq',
|
|
1220
|
+
'B2jQzwn0',
|
|
1221
|
+
'nLHhwevKsG',
|
|
1222
|
+
'Dw5JBgfPBvrHC2S',
|
|
1223
|
+
'DgHYzwfKvgfYz2v0',
|
|
1224
|
+
'zMv0y2HjBxbS',
|
|
1225
|
+
'zMLSzv9WyxrO',
|
|
1226
|
+
'ls1KywvTB24TyxbPlwTLEq',
|
|
1227
|
+
'l2LUDgvYBMfSl2fNzw50lW',
|
|
1228
|
+
'y3vYC29Y',
|
|
1229
|
+
'C2vUzgvYvhLWzq',
|
|
1230
|
+
'Dgv4Dc9TyxjRzg93BG',
|
|
1231
|
+
'y29UDgvUDa',
|
|
1232
|
+
'uM9VDcb0yxnRig1LC3nHz2u6cG',
|
|
1233
|
+
'zgfLBw9UqxbPs2v5',
|
|
1234
|
+
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
|
|
1235
|
+
'CMvZDwX0sNnVBG',
|
|
1236
|
+
'mtK3nZi0mLHxtKX6Dq',
|
|
1237
|
+
'CM9VDe1LC3nHz2vjza',
|
|
1238
|
+
'cUkAOo+4JYbxt1jlrviGqunusvzbveveiokaLcbtDg9Wiefmtcb3B3jRig9UihrOAxmGDgfZAYbPBw1LzgLHDgvSEs4Gv29YA2vYigHHBMrSzxmGzxHLy3v0Aw9UigvUzc10BY1LBMqU',
|
|
1239
|
+
'zMLSzw5HBwu',
|
|
1240
|
+
'DgHYzwfKvgfYz2v0pq',
|
|
1241
|
+
'ig1LC3nHz2vZkqOk',
|
|
1242
|
+
'ywjVCNrLza',
|
|
1243
|
+
'y2HLy2TnzxnZywDLCW',
|
|
1244
|
+
'yxbWBgLJyxrPB24VANnVBG',
|
|
1245
|
+
'ig1LC3nHz2vZihnOB3DUlIbvC2uGyMvMB3jLpq',
|
|
1246
|
+
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
1247
|
+
'DMfSDwu',
|
|
1363
1248
|
'C2LNBMfS',
|
|
1249
|
+
'tM8GDgfZA3mGzM91BMqU',
|
|
1250
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVC3rKAw8UANm',
|
|
1251
|
+
'yM9KEvrLEhq',
|
|
1252
|
+
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
1253
|
+
'zg93BMXVywrbDhrHy2HTzw50',
|
|
1254
|
+
'BwvZC2fNzv9Pzhm',
|
|
1255
|
+
'BwvZC2fNzq',
|
|
1256
|
+
'DgHYzwfK',
|
|
1257
|
+
'yxbWBgLJyxrPB24VEMLW',
|
|
1258
|
+
'xsbaC3LZDgvToIbBy2XHAw0TAgfUzg9MzL0G',
|
|
1259
|
+
'BwvTyMvY',
|
|
1260
|
+
'ANnVBG',
|
|
1261
|
+
'C2L6zuj5DgvZ',
|
|
1262
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
1263
|
+
'C3rHDhvZ',
|
|
1264
|
+
'igrVBMuP',
|
|
1265
|
+
'ChjVDg9JB2W',
|
|
1266
|
+
'yxr0ywnOBwvUDhm',
|
|
1267
|
+
'4PQG77IpifDpuKTfuIbbq1rjvKfuruqG4Ocuifn0B3aGquXmihDVCMSGB24GDgHPCYb0yxnRigLTBwvKAwf0zwX5lIbeBYbUB3qGC2vUzcbMDxj0AgvYig1LC3nHz2vZihrVihrOAxmGDgHYzwfKlG',
|
|
1268
|
+
'z2v0tw9UDgG',
|
|
1269
|
+
'DgfZA051BwjLCG',
|
|
1270
|
+
'zg9Uzq',
|
|
1271
|
+
'l3rHC2TZl3vUy2XHAw0',
|
|
1272
|
+
'DgfZA0LK',
|
|
1273
|
+
'z2v0rgf0zq',
|
|
1274
|
+
'lNnSB2nR',
|
|
1275
|
+
'z2v0twLUDxrLCW',
|
|
1276
|
+
'zMv0y2HuAw1LB3v0txm',
|
|
1277
|
+
'Dw5RBM93BG',
|
|
1278
|
+
'DxbKyxrL',
|
|
1279
|
+
'C3rVCe1HAw49Dhj1zq',
|
|
1280
|
+
'CgfYC2vjBNq',
|
|
1281
|
+
'ywDLBNrZ',
|
|
1282
|
+
'BgLZDfnLCNzLCG',
|
|
1283
|
+
'vgfZAZOG',
|
|
1284
|
+
'C3rHCNrLza',
|
|
1285
|
+
'D29YA2vYCW',
|
|
1286
|
+
'BwvZC2fNzxm',
|
|
1287
|
+
'l3nLCNzLCG',
|
|
1288
|
+
'iIbUB3qGzM91BMq',
|
|
1289
|
+
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
1290
|
+
'D29YA19RzxK',
|
|
1291
|
+
'DMLLD19MAwXL',
|
|
1292
|
+
'rg8GBM90ihnLBMqGzNvYDgHLCIbTzxnZywDLCYb0BYb0AgLZihrOCMvHzcdIGjqGDgHLihDVCMTLCIbPCYbOyw5KBgLUzYbPDc4',
|
|
1293
|
+
'sfruuca',
|
|
1294
|
+
'y2XPzw50',
|
|
1295
|
+
'yxr0ywnOBwvUDenHy2HL',
|
|
1296
|
+
'cGOTls0G',
|
|
1297
|
+
'ywjVCNq',
|
|
1298
|
+
'zxnJywXHDgvFDg9FBwfPBG',
|
|
1299
|
+
'ig1LC3nHz2u9',
|
|
1300
|
+
'l3n0yxj0',
|
|
1301
|
+
'D29YA2vYtw9KzuvUywjSzwq',
|
|
1302
|
+
'CMvHzeHPC3rVCNK',
|
|
1303
|
+
'z2v0vgLTzq',
|
|
1304
|
+
'CMvZCg9UC2u',
|
|
1305
|
+
'ywDLBNq',
|
|
1306
|
+
'ChvZAa',
|
|
1307
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
1308
|
+
'iYmJienOyw5UzwXZ',
|
|
1309
|
+
'DhLWzq',
|
|
1310
|
+
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
1311
|
+
'kgXLz2fJEsK',
|
|
1312
|
+
'Aw1Hz2uVCg5N',
|
|
1313
|
+
'DhjPBq',
|
|
1314
|
+
'y2XHAw1FDgfZA3m',
|
|
1364
1315
|
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxm',
|
|
1365
|
-
'
|
|
1366
|
-
'
|
|
1367
|
-
'
|
|
1368
|
-
'
|
|
1369
|
-
'
|
|
1370
|
-
'
|
|
1371
|
-
'
|
|
1372
|
-
'
|
|
1373
|
-
'
|
|
1374
|
-
'
|
|
1375
|
-
'
|
|
1376
|
-
'
|
|
1377
|
-
'
|
|
1378
|
-
'
|
|
1316
|
+
'BMv4Den1CNnVCG',
|
|
1317
|
+
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
1318
|
+
'xsba',
|
|
1319
|
+
'D29YA2vYsgfUzg9MzJ10CNvL',
|
|
1320
|
+
'CxvLDwvK',
|
|
1321
|
+
'Ahr0CdO',
|
|
1322
|
+
'Aw1Hz2uVD2vICa',
|
|
1323
|
+
'mJq5mtq4ELvdqvDR',
|
|
1324
|
+
'Bwv0yq',
|
|
1325
|
+
'zgLNzxn0',
|
|
1326
|
+
'mJeXmJy3mgv2DNjUEa',
|
|
1327
|
+
'ywrK',
|
|
1328
|
+
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
1329
|
+
'ktSGz290ignOyw5UzwW9',
|
|
1330
|
+
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
1331
|
+
'iYmGu2vYDMvYoIa',
|
|
1332
|
+
'C2vYDMvYvxjS',
|
|
1333
|
+
'Aw5JBhvKzxm',
|
|
1334
|
+
'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
|
|
1335
|
+
'DgHYzwfKx3rHCMDLDa',
|
|
1336
|
+
'CNvUBMLUzW',
|
|
1337
|
+
'w3nLCt0',
|
|
1338
|
+
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
1339
|
+
'C2XPy2u',
|
|
1340
|
+
'uMvHzcb0AhjLywqGAgLZDg9YEsbIzwzVCMuGDgfRAw5NigfJDgLVBI4Grg8GBM90igvJAg8GDgHPCYbTzxnZywDLihrVihrOzsb0AhjLywqU',
|
|
1341
|
+
'AM9PBG',
|
|
1342
|
+
'y2HHBM5LBe5HBwu',
|
|
1343
|
+
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
1344
|
+
'v29YA2vYia',
|
|
1345
|
+
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
1346
|
+
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
1347
|
+
'Agv4',
|
|
1348
|
+
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
1349
|
+
'zg0T',
|
|
1350
|
+
'uefuq0G',
|
|
1351
|
+
'BgLZDf90yxnRCW',
|
|
1352
|
+
'DgvZDa',
|
|
1353
|
+
'z2v0x3DVCMTLCL9ZDgf0DxmGzMfPBgvK',
|
|
1354
|
+
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
1355
|
+
'yxr0ywnOBwvUDeLKCW',
|
|
1356
|
+
'BwvTyMvYCW',
|
|
1357
|
+
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
1358
|
+
'Dgv4Da',
|
|
1359
|
+
'zw50zxiTAgfUzg9MzIbMywLSzwq',
|
|
1360
|
+
'Aw1Hz2uVz2LM',
|
|
1361
|
+
'tM8GDgfZA3mGy3jLyxrLzc4',
|
|
1362
|
+
'Bwf4',
|
|
1363
|
+
'D29YA2vYtw9Kzq',
|
|
1364
|
+
'y2HPBgrYzw5eB25L',
|
|
1365
|
+
'D3m6',
|
|
1366
|
+
'zxzLBNrtzxe',
|
|
1367
|
+
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
1368
|
+
'l2nVBNrLBNq',
|
|
1369
|
+
'Dgv4Dc9WBgfPBG',
|
|
1370
|
+
'CgfKu3rHCNq',
|
|
1379
1371
|
'zgvZy3jPyMu',
|
|
1380
|
-
'
|
|
1381
|
-
'
|
|
1382
|
-
'
|
|
1383
|
-
'
|
|
1384
|
-
'
|
|
1385
|
-
'ls1ZzxnZAw9UlwLK',
|
|
1372
|
+
'zMLSDgvY',
|
|
1373
|
+
'AxngAwXL',
|
|
1374
|
+
'BMfTzq',
|
|
1375
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
|
|
1376
|
+
'C2v0',
|
|
1386
1377
|
'C3bSAxq',
|
|
1387
|
-
'
|
|
1388
|
-
'
|
|
1378
|
+
'ls1Hz2vUDc1Pza',
|
|
1379
|
+
'DgHYzwfKtNvTyMvY',
|
|
1380
|
+
'DgfZA3m',
|
|
1381
|
+
'oIb3B3jRzxiGy2fUig9UBhKGB3bLCMf0zsbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcaO',
|
|
1382
|
+
'igzHAwXLzdOG',
|
|
1389
1383
|
'C2vZC2LVBKLK',
|
|
1390
|
-
'
|
|
1391
|
-
'
|
|
1392
|
-
'
|
|
1384
|
+
'y2HPBgrYzw5uB3rHBa',
|
|
1385
|
+
'yMfZzty0',
|
|
1386
|
+
'uM9VDcb0yxnRig1LC3nHz2uGAwq6ia',
|
|
1387
|
+
'C2vUzf9TzxnZywDLigzHAwXLza',
|
|
1388
|
+
'igf0DgfJAg1LBNq',
|
|
1389
|
+
'DgfYz2v0zwq',
|
|
1390
|
+
'ywz0zxi',
|
|
1391
|
+
'y2HLy2TFBwvZC2fNzxmGzMfPBgvK',
|
|
1392
|
+
'ls1KywvTB24TBg9JywWTDxjS',
|
|
1393
|
+
'D29YA2vYrgLZCg9ZAxrPB249',
|
|
1394
|
+
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
1395
|
+
'ihrPBwu9',
|
|
1396
|
+
'mc4WlJa',
|
|
1397
|
+
'CMvZDwX0CW',
|
|
1398
|
+
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
1399
|
+
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
1393
1400
|
'DgfZA19Pza',
|
|
1394
|
-
'
|
|
1395
|
-
'
|
|
1401
|
+
'ChvIBgLJ',
|
|
1402
|
+
'BwfW',
|
|
1403
|
+
'y2fJAgveAxi',
|
|
1404
|
+
'ig1ZzZ0',
|
|
1396
1405
|
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4Gsw4Gysb0AhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPlcbJCMvHDgvZihn1yNrHC2TZihvUzgvYihrOzsbLEgLZDgLUzYbWyxjLBNqGDgfZAY4',
|
|
1397
|
-
'
|
|
1406
|
+
'igTPBMq9',
|
|
1407
|
+
'C3vIDgfZA19UDw1IzxjZ',
|
|
1408
|
+
'Dg9ju09tDhjPBMC',
|
|
1409
|
+
'Dw5JBgfPBv90yxnR',
|
|
1410
|
+
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
1411
|
+
'Dg9VBa',
|
|
1412
|
+
'C3rHCNrZv2L0Aa',
|
|
1413
|
+
'C3vIDgfZA19UDw1Izxi',
|
|
1414
|
+
'BM93',
|
|
1415
|
+
'Ahr0CdOVl2XVy2fSAg9ZDdO4mtiX',
|
|
1416
|
+
'y3jLyxrLx3rHC2TZ',
|
|
1417
|
+
'BgvUz3rO',
|
|
1418
|
+
'pgvTChr5pG',
|
|
1419
|
+
'AgfZ',
|
|
1420
|
+
'ywz0zxjtzxe',
|
|
1421
|
+
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw5UB3qGy2XHAw0GyNKGBwvZC2fNzv9PzhmGkhrVCc1SzxzLBcbTzxnZywDLihbYB21VDgLVBIbPCYbTywLUlwfNzw50ig9UBhKPoYb1C2uGC3vIDgfZA19UDw1IzxjZigLUC2LKzsb5B3vYig93BIb0yxnRihrOCMvHzc4',
|
|
1422
|
+
'mti2otCYog92uhPYAa',
|
|
1423
|
+
'y2HHBM5LBhm',
|
|
1424
|
+
'lMjPBG',
|
|
1425
|
+
'zxjYB3i',
|
|
1426
|
+
'C2vUze1LC3nHz2u',
|
|
1427
|
+
'6k+35Rgcia',
|
|
1428
|
+
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
1429
|
+
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
1430
|
+
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw4GB25SEsbJBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCNmU',
|
|
1431
|
+
'BgLTAxq',
|
|
1432
|
+
'og9IvvjTuG',
|
|
1433
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
1434
|
+
'ywDNCMvNyxrLswrZ',
|
|
1435
|
+
'y2HHBM5LBfrHCMDLDa',
|
|
1398
1436
|
'DxnLCG',
|
|
1437
|
+
'AwrSzq',
|
|
1438
|
+
'l3nLBMq',
|
|
1439
|
+
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
1440
|
+
'zxHWAxjLC0f0',
|
|
1441
|
+
'C2L6zq',
|
|
1442
|
+
'iYmJieH1BwfUCW',
|
|
1443
|
+
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
1444
|
+
'Bg9JywXLq29TCgfYzq',
|
|
1445
|
+
'CMvWBgfJzq',
|
|
1446
|
+
'C3rYAw5N',
|
|
1399
1447
|
'y2HHBM5LBa',
|
|
1400
|
-
'
|
|
1401
|
-
'
|
|
1402
|
-
'
|
|
1403
|
-
'
|
|
1404
|
-
'
|
|
1405
|
-
'
|
|
1448
|
+
'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
|
|
1449
|
+
'y2XHAw1uyxnRCW',
|
|
1450
|
+
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
1451
|
+
'zMLUza',
|
|
1452
|
+
'ignSywLTzwq',
|
|
1453
|
+
'nZDqtMTns0m',
|
|
1454
|
+
'DMLZAwjPBgL0Eq',
|
|
1455
|
+
'l3DVCMTLCNmVCgfYAW',
|
|
1456
|
+
'yM9KEu1HCMTKB3DU',
|
|
1457
|
+
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
1458
|
+
'igLUia',
|
|
1459
|
+
'DxbSB2fKx2zPBgu',
|
|
1460
|
+
'ntq3mdG1nu1bAMj5tG',
|
|
1461
|
+
'C3vIDgfZA051BwjLCG',
|
|
1462
|
+
'AgvHzgvYCW',
|
|
1463
|
+
'AxnjBNrLz2vY',
|
|
1464
|
+
'y2f0y2G',
|
|
1465
|
+
'zw51Bq',
|
|
1466
|
+
'twfYAYb0AguGy3vYCMvUDcb3B3jRzxiGyxmGD2fPDgLUzYbMB3iGAhvTyw4GAw5WDxqUifbHDxnLCYb0AguGAwrSzsbuveWGDgLTzxiGDw50AwWGysbUzxCGBwvZC2fNzsbHCNjPDMvZlG',
|
|
1467
|
+
'iokaLca',
|
|
1468
|
+
'ls1Zzxj2zxiTDxjS',
|
|
1469
|
+
'Cgf5Bg9HzePZB24',
|
|
1470
|
+
'khvUA25VD24P',
|
|
1471
|
+
'DMfSDwvZ',
|
|
1472
|
+
'BwvZC2fNzuLK',
|
|
1473
|
+
'z2v0',
|
|
1474
|
+
'AxnbyNnVBhv0zq',
|
|
1475
|
+
'zgLZCg9ZAxrPB24',
|
|
1476
|
+
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
1477
|
+
'C3vJy2vZCW',
|
|
1478
|
+
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
1479
|
+
'DgfZAW',
|
|
1480
|
+
'zgvSzxrL',
|
|
1481
|
+
'ihr5Cgu9ywDLBNq'
|
|
1406
1482
|
];
|
|
1407
|
-
|
|
1408
|
-
return
|
|
1483
|
+
_0x409f = function () {
|
|
1484
|
+
return _0x32e0a1;
|
|
1409
1485
|
};
|
|
1410
|
-
return
|
|
1486
|
+
return _0x409f();
|
|
1411
1487
|
}
|
|
1412
|
-
function
|
|
1413
|
-
const
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
_0xad65ac(_0x14e246._0x4e1ae3),
|
|
1430
|
-
_0x262414
|
|
1431
|
-
][_0xad65ac(0x1e3)]('\x0a');
|
|
1432
|
-
}
|
|
1433
|
-
function formatUploadResult(_0x468441) {
|
|
1434
|
-
const _0x3a57eb = _0x39cf13;
|
|
1435
|
-
return _0x3a57eb(0xa4) + _0x468441['filename'] + '\x20(' + (_0x468441[_0x3a57eb(0x1bc)] / 0x400)[_0x3a57eb(0x99)](0x1) + _0x3a57eb(0x1b3) + _0x468441[_0x3a57eb(0x122)] + _0x3a57eb(0x14a);
|
|
1436
|
-
}
|
|
1437
|
-
function formatViewFileResult(_0x116950, _0x25e12e) {
|
|
1438
|
-
const _0x38070a = { _0x2f761a: 0xd9 }, _0x52fd7d = _0x39cf13;
|
|
1439
|
-
return _0x25e12e ? _0x52fd7d(_0x38070a._0x2f761a) + _0x116950 : _0x52fd7d(0xd2) + _0x116950;
|
|
1440
|
-
}
|
|
1441
|
-
function formatTaskList(_0x1f8bc8, _0x485afc) {
|
|
1442
|
-
const _0x14fdee = { _0x2de323: 0x127 }, _0x11d731 = {
|
|
1443
|
-
_0x5d60a2: 0xff,
|
|
1444
|
-
_0x46f6d9: 0x1e8,
|
|
1445
|
-
_0x5919ef: 0x141,
|
|
1446
|
-
_0x326507: 0xea,
|
|
1447
|
-
_0x302389: 0x1ee
|
|
1448
|
-
}, _0x12c85d = _0x39cf13;
|
|
1449
|
-
if (_0x1f8bc8['length'] === 0x0)
|
|
1450
|
-
return _0x12c85d(0x111);
|
|
1451
|
-
return _0x1f8bc8[_0x12c85d(_0x14fdee._0x2de323)](_0x14ccc1 => {
|
|
1452
|
-
const _0x416e90 = _0x12c85d, _0x4332ec = _0x14ccc1[_0x416e90(0x1e8)] == null ? _0x416e90(0x1e5) : _0x14ccc1[_0x416e90(_0x11d731._0x5d60a2)] != null ? '#' + _0x14ccc1['taskNumber'] + '.' + _0x14ccc1[_0x416e90(0xff)] : '#' + _0x14ccc1[_0x416e90(_0x11d731._0x46f6d9)], _0x452c3c = _0x14ccc1[_0x416e90(_0x11d731._0x5919ef)] ? _0x416e90(_0x11d731._0x326507) + _0x14ccc1['messageId'] : '', _0x44a3bf = _0x485afc && _0x14ccc1[_0x416e90(0x1e8)] != null && !_0x14ccc1['subtaskNumber'] && _0x485afc[_0x416e90(0x16e)](_0x14ccc1['taskNumber']) ? _0x416e90(0x9b) : '', _0x442eb9 = _0x14ccc1['childrenTotal'] != null && _0x14ccc1['childrenTotal'] > 0x0 ? '\x20(' + (_0x14ccc1[_0x416e90(0x1a5)] ?? 0x0) + '/' + _0x14ccc1[_0x416e90(0xdc)] + _0x416e90(_0x11d731._0x302389) : '';
|
|
1453
|
-
return _0x4332ec + '\x20[' + _0x14ccc1['status'] + ']\x20' + _0x14ccc1['title'] + _0x442eb9 + _0x452c3c + _0x44a3bf;
|
|
1454
|
-
})[_0x12c85d(0x1e3)]('\x0a');
|
|
1488
|
+
function formatCreatedTasks(_0x2c7aa6) {
|
|
1489
|
+
const _0x52d430 = {
|
|
1490
|
+
_0x2473aa: 0x14e,
|
|
1491
|
+
_0x51c315: 0x2a5,
|
|
1492
|
+
_0x3c1ba9: 0x13f,
|
|
1493
|
+
_0x3021c6: 0x291
|
|
1494
|
+
}, _0x4525f9 = {
|
|
1495
|
+
_0x4d1ca3: 0x249,
|
|
1496
|
+
_0x19665c: 0x17a,
|
|
1497
|
+
_0x57a642: 0x185
|
|
1498
|
+
}, _0x254602 = _0x2cd54a;
|
|
1499
|
+
if (_0x2c7aa6[_0x254602(_0x52d430._0x2473aa)] === 0x0)
|
|
1500
|
+
return _0x254602(_0x52d430._0x51c315);
|
|
1501
|
+
return _0x2c7aa6[_0x254602(_0x52d430._0x3c1ba9)](_0x207ca7 => {
|
|
1502
|
+
const _0x1812a7 = _0x254602, _0x2bfbea = _0x207ca7[_0x1812a7(_0x4525f9._0x4d1ca3)] == null ? _0x1812a7(0x273) : _0x207ca7[_0x1812a7(_0x4525f9._0x19665c)] != null ? '#' + _0x207ca7[_0x1812a7(0x249)] + '.' + _0x207ca7['subtaskNumber'] : '#' + _0x207ca7[_0x1812a7(0x249)], _0x54c9a5 = _0x207ca7[_0x1812a7(_0x4525f9._0x57a642)] ? '\x20message=' + _0x207ca7[_0x1812a7(0x185)] : '';
|
|
1503
|
+
return _0x2bfbea + '\x20' + _0x207ca7[_0x1812a7(0x194)] + _0x54c9a5;
|
|
1504
|
+
})[_0x254602(_0x52d430._0x3021c6)]('\x0a');
|
|
1455
1505
|
}
|
|
1456
|
-
function
|
|
1457
|
-
const
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
if (_0x298a82[_0x5332a4(_0x36a87b._0x187f13)]) {
|
|
1494
|
-
const _0x52e6a2 = _0x298a82[_0x5332a4(0x1e8)] == null ? _0x5332a4(0x1e5) : _0x298a82[_0x5332a4(_0x36a87b._0x2a04bf)] != null ? '#' + _0x298a82[_0x5332a4(_0x36a87b._0x2f49bb)] + '.' + _0x298a82[_0x5332a4(0xff)] : '#' + _0x298a82[_0x5332a4(_0x36a87b._0x2f49bb)], _0x2bc242 = _0x298a82[_0x5332a4(0x141)] ? _0x5332a4(_0x36a87b._0x1b70a4) + _0x298a82[_0x5332a4(0x141)] : '';
|
|
1495
|
-
if (_0x298a82['workerHandoff']) {
|
|
1496
|
-
const _0x5c27ef = [
|
|
1497
|
-
_0x5332a4(_0x36a87b._0x5bcd1b),
|
|
1498
|
-
_0x298a82['stopMain'] ? _0x5332a4(_0x36a87b._0x29042c) : null,
|
|
1499
|
-
_0x298a82[_0x5332a4(0x104)] ? _0x5332a4(_0x36a87b._0x31a170) + _0x298a82[_0x5332a4(0x104)] : null,
|
|
1500
|
-
_0x298a82[_0x5332a4(0x1b4)] ? 'threadTarget=' + _0x298a82[_0x5332a4(0x1b4)] : null,
|
|
1501
|
-
_0x298a82[_0x5332a4(0x1bd)] ? 'workerDisposition=' + _0x298a82[_0x5332a4(_0x36a87b._0x48eae7)] : null
|
|
1502
|
-
][_0x5332a4(_0x36a87b._0x6f139f)](Boolean)[_0x5332a4(0x1e3)]('\x20');
|
|
1503
|
-
return _0x52e6a2 + '\x20claimed' + _0x2bc242 + '\x20' + _0x5c27ef + _0x5332a4(_0x36a87b._0x21e60f);
|
|
1506
|
+
function formatClaimTaskResults(_0x243206) {
|
|
1507
|
+
const _0x51591a = {
|
|
1508
|
+
_0x2cda71: 0x14e,
|
|
1509
|
+
_0x31a884: 0x13f,
|
|
1510
|
+
_0x281875: 0x291
|
|
1511
|
+
}, _0x2066bd = {
|
|
1512
|
+
_0x56741d: 0x249,
|
|
1513
|
+
_0x39b8d7: 0x273,
|
|
1514
|
+
_0x274c7b: 0x17a,
|
|
1515
|
+
_0x40d359: 0x17a,
|
|
1516
|
+
_0x240248: 0x27b,
|
|
1517
|
+
_0x15c29a: 0x253,
|
|
1518
|
+
_0xc7fab4: 0x1e4,
|
|
1519
|
+
_0x4087a4: 0x1e4,
|
|
1520
|
+
_0x402b15: 0x21b,
|
|
1521
|
+
_0x4e0051: 0x1e5,
|
|
1522
|
+
_0x471313: 0x136,
|
|
1523
|
+
_0x4edacc: 0x121,
|
|
1524
|
+
_0x2f9731: 0x22a,
|
|
1525
|
+
_0x5605e8: 0x215,
|
|
1526
|
+
_0xe888db: 0x12b
|
|
1527
|
+
}, _0x3de95f = _0x2cd54a;
|
|
1528
|
+
if (_0x243206[_0x3de95f(_0x51591a._0x2cda71)] === 0x0)
|
|
1529
|
+
return 'No\x20tasks\x20claimed.';
|
|
1530
|
+
return _0x243206[_0x3de95f(_0x51591a._0x31a884)](_0x51c436 => {
|
|
1531
|
+
const _0x17fe5a = _0x3de95f;
|
|
1532
|
+
if (_0x51c436['success']) {
|
|
1533
|
+
const _0x1ccc0e = _0x51c436[_0x17fe5a(_0x2066bd._0x56741d)] == null ? _0x17fe5a(_0x2066bd._0x39b8d7) : _0x51c436[_0x17fe5a(_0x2066bd._0x274c7b)] != null ? '#' + _0x51c436[_0x17fe5a(_0x2066bd._0x56741d)] + '.' + _0x51c436[_0x17fe5a(_0x2066bd._0x40d359)] : '#' + _0x51c436[_0x17fe5a(0x249)], _0x372b65 = _0x51c436['messageId'] ? _0x17fe5a(0x267) + _0x51c436['messageId'] : '';
|
|
1534
|
+
if (_0x51c436[_0x17fe5a(0x1db)]) {
|
|
1535
|
+
const _0x14d2db = [
|
|
1536
|
+
_0x17fe5a(_0x2066bd._0x240248),
|
|
1537
|
+
_0x51c436[_0x17fe5a(0x1ce)] ? _0x17fe5a(_0x2066bd._0x15c29a) : null,
|
|
1538
|
+
_0x51c436[_0x17fe5a(_0x2066bd._0xc7fab4)] ? _0x17fe5a(0x20f) + _0x51c436[_0x17fe5a(_0x2066bd._0x4087a4)] : null,
|
|
1539
|
+
_0x51c436[_0x17fe5a(0x21b)] ? _0x17fe5a(0x22c) + _0x51c436[_0x17fe5a(_0x2066bd._0x402b15)] : null,
|
|
1540
|
+
_0x51c436[_0x17fe5a(_0x2066bd._0x4e0051)] ? _0x17fe5a(_0x2066bd._0x471313) + _0x51c436[_0x17fe5a(0x1e5)] : null
|
|
1541
|
+
][_0x17fe5a(_0x2066bd._0x4edacc)](Boolean)[_0x17fe5a(0x291)]('\x20');
|
|
1542
|
+
return _0x1ccc0e + _0x17fe5a(0x171) + _0x372b65 + '\x20' + _0x14d2db + _0x17fe5a(_0x2066bd._0x2f9731);
|
|
1504
1543
|
}
|
|
1505
|
-
const
|
|
1506
|
-
return
|
|
1544
|
+
const _0x26312d = _0x51c436[_0x17fe5a(_0x2066bd._0x5605e8)] ? '\x20workerHandoff=false\x20error=' + _0x51c436[_0x17fe5a(_0x2066bd._0x5605e8)] : '';
|
|
1545
|
+
return _0x1ccc0e + _0x17fe5a(0x171) + _0x372b65 + _0x26312d;
|
|
1507
1546
|
}
|
|
1508
|
-
const
|
|
1509
|
-
return
|
|
1510
|
-
})[
|
|
1547
|
+
const _0x9ea601 = _0x51c436[_0x17fe5a(_0x2066bd._0x56741d)] == null ? _0x51c436[_0x17fe5a(0x185)] ?? _0x17fe5a(0x183) : '#' + _0x51c436[_0x17fe5a(0x249)];
|
|
1548
|
+
return _0x9ea601 + _0x17fe5a(_0x2066bd._0xe888db) + (_0x51c436[_0x17fe5a(0x1f8)] ?? 'claim\x20failed');
|
|
1549
|
+
})[_0x3de95f(_0x51591a._0x281875)]('\x0a');
|
|
1511
1550
|
}
|
|
1512
|
-
function formatUnclaimTaskResult(
|
|
1513
|
-
const
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1551
|
+
function formatUnclaimTaskResult(_0x39b546) {
|
|
1552
|
+
const _0x5b267c = {
|
|
1553
|
+
_0x2596e6: 0x249,
|
|
1554
|
+
_0x539aac: 0x273,
|
|
1555
|
+
_0x27cec2: 0x1b8
|
|
1556
|
+
}, _0x364596 = _0x2cd54a, _0x467c50 = _0x39b546[_0x364596(_0x5b267c._0x2596e6)] == null ? _0x364596(_0x5b267c._0x539aac) : _0x39b546['subtaskNumber'] != null ? '#' + _0x39b546[_0x364596(0x249)] + '.' + _0x39b546[_0x364596(0x17a)] : '#' + _0x39b546[_0x364596(0x249)];
|
|
1557
|
+
return _0x467c50 + _0x364596(_0x5b267c._0x27cec2) + _0x39b546['status'];
|
|
1518
1558
|
}
|
|
1519
|
-
function formatUpdateTaskStatusResult(
|
|
1520
|
-
const
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
},
|
|
1525
|
-
return
|
|
1559
|
+
function formatUpdateTaskStatusResult(_0x50aaf1) {
|
|
1560
|
+
const _0x1be268 = {
|
|
1561
|
+
_0x90c947: 0x249,
|
|
1562
|
+
_0x111440: 0x249,
|
|
1563
|
+
_0x258a55: 0x1b8
|
|
1564
|
+
}, _0x20527c = _0x2cd54a, _0x8eb7d5 = _0x50aaf1[_0x20527c(_0x1be268._0x90c947)] == null ? '(legacy)' : _0x50aaf1[_0x20527c(0x17a)] != null ? '#' + _0x50aaf1['taskNumber'] + '.' + _0x50aaf1[_0x20527c(0x17a)] : '#' + _0x50aaf1[_0x20527c(_0x1be268._0x111440)];
|
|
1565
|
+
return _0x8eb7d5 + _0x20527c(_0x1be268._0x258a55) + _0x50aaf1['status'];
|
|
1526
1566
|
}
|
|
1527
1567
|
function getChatBridgeToolDefinitions() {
|
|
1528
|
-
const
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
}, _0x4a3a51 = _0x39cf13;
|
|
1568
|
+
const _0xe626ef = {
|
|
1569
|
+
_0xfe97b9: 0x1c1,
|
|
1570
|
+
_0xe14f7f: 0x28e,
|
|
1571
|
+
_0x21a53e: 0x1af,
|
|
1572
|
+
_0x2e3a59: 0x266,
|
|
1573
|
+
_0x935aa: 0x279
|
|
1574
|
+
}, _0x4138db = _0x2cd54a;
|
|
1536
1575
|
return [
|
|
1537
|
-
{ 'name':
|
|
1538
|
-
{ 'name':
|
|
1539
|
-
{ 'name':
|
|
1540
|
-
{ 'name':
|
|
1541
|
-
{ 'name':
|
|
1576
|
+
{ 'name': 'send_message' },
|
|
1577
|
+
{ 'name': _0x4138db(0x1ee) },
|
|
1578
|
+
{ 'name': 'read_history' },
|
|
1579
|
+
{ 'name': _0x4138db(_0xe626ef._0xfe97b9) },
|
|
1580
|
+
{ 'name': 'upload_file' },
|
|
1542
1581
|
{ 'name': 'view_file' },
|
|
1543
|
-
{ 'name':
|
|
1544
|
-
{ 'name':
|
|
1545
|
-
{ 'name':
|
|
1546
|
-
{ 'name':
|
|
1547
|
-
{ 'name':
|
|
1548
|
-
{ 'name':
|
|
1549
|
-
{ 'name':
|
|
1550
|
-
{ 'name':
|
|
1551
|
-
{ 'name':
|
|
1582
|
+
{ 'name': 'list_tasks' },
|
|
1583
|
+
{ 'name': _0x4138db(0x14d) },
|
|
1584
|
+
{ 'name': 'claim_tasks' },
|
|
1585
|
+
{ 'name': _0x4138db(0x146) },
|
|
1586
|
+
{ 'name': 'update_task_status' },
|
|
1587
|
+
{ 'name': _0x4138db(_0xe626ef._0xe14f7f) },
|
|
1588
|
+
{ 'name': _0x4138db(_0xe626ef._0x21a53e) },
|
|
1589
|
+
{ 'name': _0x4138db(_0xe626ef._0x2e3a59) },
|
|
1590
|
+
{ 'name': _0x4138db(_0xe626ef._0x935aa) }
|
|
1552
1591
|
];
|
|
1553
1592
|
}
|
|
1554
|
-
function createChatBridgeHandlers(
|
|
1555
|
-
const
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
},
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
},
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1593
|
+
function createChatBridgeHandlers(_0x5e51c9) {
|
|
1594
|
+
const _0x48ccba = { _0x56cae2: 0x28c }, _0xb64721 = {
|
|
1595
|
+
_0x3ec865: 0x1c6,
|
|
1596
|
+
_0x3c8f88: 0x29e,
|
|
1597
|
+
_0x30de54: 0x1f8,
|
|
1598
|
+
_0x5154f1: 0x190,
|
|
1599
|
+
_0x55453f: 0x1f8
|
|
1600
|
+
}, _0x3fe798 = {
|
|
1601
|
+
_0x2c4ff6: 0x230,
|
|
1602
|
+
_0x16e9ad: 0x25e,
|
|
1603
|
+
_0x4135c8: 0x25e,
|
|
1604
|
+
_0x5f1dc7: 0x19a
|
|
1605
|
+
}, _0x557ad6 = {
|
|
1606
|
+
_0x1a6b85: 0x20e,
|
|
1607
|
+
_0x8b6232: 0x1c9,
|
|
1608
|
+
_0x301231: 0x25e,
|
|
1609
|
+
_0x5a75aa: 0x156,
|
|
1610
|
+
_0x177226: 0x1a2,
|
|
1611
|
+
_0x24b968: 0x1e8
|
|
1612
|
+
}, _0x5939b9 = {
|
|
1613
|
+
_0x4010bd: 0x1c6,
|
|
1614
|
+
_0x29c819: 0x25e,
|
|
1615
|
+
_0xbb3445: 0x1de,
|
|
1616
|
+
_0x55ba21: 0x243
|
|
1617
|
+
}, _0x47ee0c = {
|
|
1618
|
+
_0x3d6212: 0x1fb,
|
|
1619
|
+
_0x429b30: 0x1a1,
|
|
1620
|
+
_0xe6dfe2: 0x1fb,
|
|
1621
|
+
_0x4055e0: 0x19d
|
|
1622
|
+
}, _0x3c4af9 = { _0x229180: 0x21d }, _0xeb7293 = { _0x370058: 0x262 }, _0x4feaa6 = { _0x4a9e24: 0x16c }, _0x5e677b = {
|
|
1623
|
+
_0x2317af: 0x16c,
|
|
1624
|
+
_0xa2d479: 0x144,
|
|
1625
|
+
_0x2dcad4: 0x15b,
|
|
1626
|
+
_0x4f90df: 0x16e,
|
|
1627
|
+
_0x597170: 0x13f
|
|
1628
|
+
}, _0x332f5d = {
|
|
1629
|
+
_0x28816d: 0x18a,
|
|
1630
|
+
_0x3040d5: 0x185,
|
|
1631
|
+
_0x5e8e48: 0x128,
|
|
1632
|
+
_0x194600: 0x23b
|
|
1633
|
+
}, _0x20be46 = {
|
|
1634
|
+
_0x27f6ca: 0x14d,
|
|
1635
|
+
_0x1060e6: 0x262,
|
|
1636
|
+
_0x13b761: 0x216
|
|
1637
|
+
}, _0x3b01cc = {
|
|
1638
|
+
_0x35233c: 0x262,
|
|
1639
|
+
_0x19b777: 0x1e7,
|
|
1640
|
+
_0x263b65: 0x1c6,
|
|
1641
|
+
_0x2db768: 0x198,
|
|
1642
|
+
_0x59c096: 0x198,
|
|
1643
|
+
_0x1ca845: 0x240,
|
|
1644
|
+
_0x4427ec: 0x16c,
|
|
1645
|
+
_0x3910e7: 0x259,
|
|
1646
|
+
_0x3ec47: 0x243,
|
|
1647
|
+
_0x219df8: 0x28b,
|
|
1648
|
+
_0x108b3a: 0x129,
|
|
1649
|
+
_0x2db98e: 0x170,
|
|
1650
|
+
_0x55485c: 0x283,
|
|
1651
|
+
_0x9e331d: 0x249,
|
|
1652
|
+
_0xe3285e: 0x129
|
|
1653
|
+
}, _0x1e77ff = {
|
|
1654
|
+
_0x2cc2ec: 0x262,
|
|
1655
|
+
_0x5772fa: 0x118
|
|
1656
|
+
}, _0x39f306 = {
|
|
1657
|
+
_0x197c61: 0x118,
|
|
1658
|
+
_0x58d76c: 0x1c6,
|
|
1659
|
+
_0x2d7d46: 0x18c,
|
|
1660
|
+
_0x3605b9: 0x249,
|
|
1661
|
+
_0x37bd8c: 0x150,
|
|
1662
|
+
_0x3ba843: 0x1e3,
|
|
1663
|
+
_0x406761: 0x177,
|
|
1664
|
+
_0x16c702: 0x1ff,
|
|
1665
|
+
_0x92eafb: 0x223,
|
|
1666
|
+
_0x35b128: 0x257,
|
|
1667
|
+
_0x362c80: 0x18c,
|
|
1668
|
+
_0x2b3b87: 0x24c,
|
|
1669
|
+
_0xfe163: 0x290,
|
|
1670
|
+
_0x3061ba: 0x168,
|
|
1671
|
+
_0x3a1a4d: 0x230,
|
|
1672
|
+
_0x222f79: 0x1c9,
|
|
1673
|
+
_0x43aa97: 0x18c,
|
|
1674
|
+
_0x56f107: 0x24c,
|
|
1675
|
+
_0x10f9be: 0x177,
|
|
1676
|
+
_0x51e453: 0x1d9,
|
|
1677
|
+
_0x53bec8: 0x294,
|
|
1678
|
+
_0x1f69d1: 0x27c,
|
|
1679
|
+
_0x2904e3: 0x258,
|
|
1680
|
+
_0x159c3c: 0x262,
|
|
1681
|
+
_0x3267a3: 0x1f6,
|
|
1682
|
+
_0x51a60a: 0x1ca,
|
|
1683
|
+
_0x5be660: 0x1dc,
|
|
1684
|
+
_0x260cf4: 0x1f1,
|
|
1685
|
+
_0x40a863: 0x185
|
|
1686
|
+
}, _0x2881d0 = {
|
|
1687
|
+
_0x13e2d4: 0x1c6,
|
|
1688
|
+
_0x55f4ee: 0x198,
|
|
1689
|
+
_0x458e55: 0x259,
|
|
1690
|
+
_0x2fb05e: 0x243,
|
|
1691
|
+
_0x34e67d: 0x28b
|
|
1692
|
+
}, _0x5a80d3 = {
|
|
1693
|
+
_0x3eadf5: 0x1c6,
|
|
1694
|
+
_0x4a91b0: 0x118,
|
|
1695
|
+
_0x18a056: 0x198,
|
|
1696
|
+
_0x769298: 0x259,
|
|
1697
|
+
_0x199049: 0x166
|
|
1698
|
+
}, _0xbc55b0 = {
|
|
1699
|
+
_0x280697: 0x128,
|
|
1700
|
+
_0x52eb95: 0x185,
|
|
1701
|
+
_0x921784: 0x262,
|
|
1702
|
+
_0x3eeace: 0x26a,
|
|
1703
|
+
_0x407b37: 0x25a,
|
|
1704
|
+
_0xd8b7e4: 0x273,
|
|
1705
|
+
_0x2d52bd: 0x1a7,
|
|
1706
|
+
_0x3ca2ba: 0x141,
|
|
1707
|
+
_0x160c38: 0x145,
|
|
1708
|
+
_0x3453f7: 0x23e,
|
|
1709
|
+
_0x418c31: 0x224,
|
|
1710
|
+
_0x352852: 0x291,
|
|
1711
|
+
_0x17b4e4: 0x168,
|
|
1712
|
+
_0x3539c9: 0x1e1,
|
|
1713
|
+
_0x247451: 0x230,
|
|
1714
|
+
_0x3e1325: 0x1c9,
|
|
1715
|
+
_0x4521e5: 0x198,
|
|
1716
|
+
_0x384d08: 0x24c,
|
|
1717
|
+
_0x239689: 0x1d2,
|
|
1718
|
+
_0x720155: 0x240,
|
|
1719
|
+
_0x570390: 0x27c,
|
|
1720
|
+
_0x3d931c: 0x1a5
|
|
1721
|
+
}, _0xec6026 = {
|
|
1722
|
+
_0x2077cc: 0x191,
|
|
1723
|
+
_0x2562da: 0x285
|
|
1724
|
+
}, _0x32e1b7 = _0x2cd54a;
|
|
1725
|
+
function _0x343cbb(_0x3b98e6, _0x279b74) {
|
|
1726
|
+
const _0x5844aa = _0x46e8;
|
|
1727
|
+
if (!_0x5e51c9['workerMode'])
|
|
1666
1728
|
return;
|
|
1667
|
-
if (!
|
|
1668
|
-
throw new Error(
|
|
1669
|
-
if (
|
|
1670
|
-
throw new Error(
|
|
1729
|
+
if (!_0x5e51c9['workerThreadTarget'])
|
|
1730
|
+
throw new Error(_0x3b98e6 + ':\x20worker\x20runtime\x20missing\x20workerThreadTarget;\x20cannot\x20validate\x20scope');
|
|
1731
|
+
if (_0x279b74 !== _0x5e51c9[_0x5844aa(_0xec6026._0x2077cc)])
|
|
1732
|
+
throw new Error(_0x3b98e6 + _0x5844aa(0x12a) + _0x5e51c9[_0x5844aa(0x191)] + _0x5844aa(_0xec6026._0x2562da) + _0x279b74);
|
|
1671
1733
|
}
|
|
1672
|
-
async function
|
|
1673
|
-
const
|
|
1674
|
-
if (!
|
|
1734
|
+
async function _0x92cc0f(_0x57fdb6) {
|
|
1735
|
+
const _0x1a051f = _0x46e8;
|
|
1736
|
+
if (!_0x5e51c9[_0x1a051f(0x1c6)] || !_0x5e51c9['agentId'] || _0x5e51c9[_0x1a051f(0x118)] || _0x5e51c9[_0x1a051f(0x269)] !== !![])
|
|
1675
1737
|
return null;
|
|
1676
|
-
const
|
|
1677
|
-
if (
|
|
1738
|
+
const _0xf32b0b = parseTarget(_0x57fdb6['channel']);
|
|
1739
|
+
if (_0xf32b0b[_0x1a051f(0x1b3)] !== 'channel')
|
|
1678
1740
|
return null;
|
|
1679
|
-
const
|
|
1680
|
-
let
|
|
1741
|
+
const _0x33eebb = _0x57fdb6[_0x1a051f(0x128)] != null ? _0xf32b0b[_0x1a051f(0x160)] + ':t' + _0x57fdb6[_0x1a051f(_0xbc55b0._0x280697)] : _0xf32b0b[_0x1a051f(0x160)] + ':' + _0x57fdb6[_0x1a051f(_0xbc55b0._0x52eb95)];
|
|
1742
|
+
let _0x443c01;
|
|
1681
1743
|
try {
|
|
1682
|
-
const
|
|
1683
|
-
'channel':
|
|
1744
|
+
const _0x5f2859 = await _0x5e51c9[_0x1a051f(_0xbc55b0._0x921784)][_0x1a051f(_0xbc55b0._0x3eeace)]({
|
|
1745
|
+
'channel': _0x33eebb,
|
|
1684
1746
|
'limit': 0x14
|
|
1685
1747
|
});
|
|
1686
|
-
|
|
1748
|
+
_0x443c01 = _0x5f2859[_0x1a051f(_0xbc55b0._0x407b37)]['find'](_0x4f5024 => _0x4f5024[_0x1a051f(0x185)] === _0x57fdb6[_0x1a051f(0x185)]);
|
|
1687
1749
|
} catch {
|
|
1688
|
-
|
|
1750
|
+
_0x443c01 = void 0x0;
|
|
1689
1751
|
}
|
|
1690
|
-
const
|
|
1691
|
-
|
|
1752
|
+
const _0x458938 = _0x57fdb6[_0x1a051f(0x249)] == null ? _0x1a051f(_0xbc55b0._0xd8b7e4) : '#' + _0x57fdb6['taskNumber'], _0x33e9e0 = [
|
|
1753
|
+
_0x1a051f(_0xbc55b0._0x2d52bd) + _0x33eebb + _0x1a051f(_0xbc55b0._0x3ca2ba) + _0x57fdb6[_0x1a051f(0x185)][_0x1a051f(0x28f)](0x0, 0x8) + '\x20time=' + new Date()[_0x1a051f(_0xbc55b0._0x160c38)]() + _0x1a051f(_0xbc55b0._0x3453f7) + _0x458938 + _0x1a051f(0x298),
|
|
1692
1754
|
'',
|
|
1693
|
-
|
|
1755
|
+
_0x443c01 ? _0x1a051f(_0xbc55b0._0x418c31) + _0x443c01[_0x1a051f(0x223)] : _0x1a051f(0x12f) + _0x57fdb6[_0x1a051f(0x185)],
|
|
1694
1756
|
'',
|
|
1695
|
-
'Thread\x20target:\x20' +
|
|
1696
|
-
|
|
1697
|
-
][
|
|
1698
|
-
'method':
|
|
1699
|
-
'headers': { 'Content-Type':
|
|
1700
|
-
'body': JSON[
|
|
1701
|
-
'agent_id':
|
|
1702
|
-
'thread_target':
|
|
1757
|
+
'Thread\x20target:\x20' + _0x33eebb,
|
|
1758
|
+
_0x1a051f(0x296)
|
|
1759
|
+
][_0x1a051f(_0xbc55b0._0x352852)]('\x0a'), _0x1ad641 = await fetch(_0x5e51c9['daemonLocalUrl'] + _0x1a051f(_0xbc55b0._0x17b4e4), {
|
|
1760
|
+
'method': _0x1a051f(_0xbc55b0._0x3539c9),
|
|
1761
|
+
'headers': { 'Content-Type': _0x1a051f(_0xbc55b0._0x247451) },
|
|
1762
|
+
'body': JSON[_0x1a051f(_0xbc55b0._0x3e1325)]({
|
|
1763
|
+
'agent_id': _0x5e51c9[_0x1a051f(_0xbc55b0._0x4521e5)],
|
|
1764
|
+
'thread_target': _0x33eebb,
|
|
1703
1765
|
'spawn_packet': {
|
|
1704
|
-
'replyTarget':
|
|
1705
|
-
...
|
|
1766
|
+
'replyTarget': _0x33eebb,
|
|
1767
|
+
..._0x57fdb6['taskId'] ? { 'taskId': _0x57fdb6[_0x1a051f(_0xbc55b0._0x384d08)] } : _0x57fdb6['taskNumber'] != null ? { 'taskId': _0x1a051f(_0xbc55b0._0x239689) + _0x57fdb6['taskNumber'] } : {}
|
|
1706
1768
|
},
|
|
1707
1769
|
'payload': {
|
|
1708
|
-
'mode':
|
|
1709
|
-
'text':
|
|
1770
|
+
'mode': _0x1a051f(0x161),
|
|
1771
|
+
'text': _0x33e9e0
|
|
1710
1772
|
}
|
|
1711
1773
|
})
|
|
1712
|
-
}),
|
|
1713
|
-
if (!
|
|
1714
|
-
throw new Error(
|
|
1774
|
+
}), _0x4b7313 = await _0x1ad641[_0x1a051f(_0xbc55b0._0x720155)]();
|
|
1775
|
+
if (!_0x4b7313['ok'])
|
|
1776
|
+
throw new Error(_0x4b7313[_0x1a051f(0x156)] ?? _0x1a051f(0x1cf));
|
|
1715
1777
|
return {
|
|
1716
1778
|
'stopMain': !![],
|
|
1717
|
-
'threadTarget':
|
|
1718
|
-
'workerDisposition':
|
|
1779
|
+
'threadTarget': _0x33eebb,
|
|
1780
|
+
'workerDisposition': _0x4b7313[_0x1a051f(0x188)] === 'queued' ? _0x1a051f(_0xbc55b0._0x570390) : 'started',
|
|
1719
1781
|
'workerHandoff': !![],
|
|
1720
|
-
'workerSessionId':
|
|
1782
|
+
'workerSessionId': _0x4b7313[_0x1a051f(_0xbc55b0._0x3d931c)] ?? '',
|
|
1721
1783
|
'executionMode': 'worker'
|
|
1722
1784
|
};
|
|
1723
1785
|
}
|
|
1724
|
-
async function
|
|
1725
|
-
const
|
|
1726
|
-
if (!
|
|
1786
|
+
async function _0x58b434() {
|
|
1787
|
+
const _0xbeabc8 = _0x46e8;
|
|
1788
|
+
if (!_0x5e51c9[_0xbeabc8(_0x5a80d3._0x3eadf5)] || !_0x5e51c9[_0xbeabc8(0x198)] || _0x5e51c9[_0xbeabc8(_0x5a80d3._0x4a91b0)])
|
|
1727
1789
|
return null;
|
|
1728
1790
|
try {
|
|
1729
|
-
const
|
|
1730
|
-
if (!
|
|
1791
|
+
const _0x33e787 = await fetch(_0x5e51c9[_0xbeabc8(_0x5a80d3._0x3eadf5)] + _0xbeabc8(0x13c) + encodeURIComponent(_0x5e51c9[_0xbeabc8(_0x5a80d3._0x18a056)])), _0x3be804 = await _0x33e787['json']();
|
|
1792
|
+
if (!_0x3be804['ok'])
|
|
1731
1793
|
return null;
|
|
1732
|
-
const
|
|
1733
|
-
for (const
|
|
1734
|
-
|
|
1794
|
+
const _0x364caa = new Set();
|
|
1795
|
+
for (const _0x1d9d7a of _0x3be804[_0xbeabc8(_0x5a80d3._0x769298)]) {
|
|
1796
|
+
_0x1d9d7a['status'] !== 'destroyed' && _0x1d9d7a[_0xbeabc8(0x28b)] && _0x364caa['add'](_0x1d9d7a[_0xbeabc8(0x28b)]);
|
|
1735
1797
|
}
|
|
1736
|
-
return
|
|
1798
|
+
return _0x364caa[_0xbeabc8(_0x5a80d3._0x199049)] > 0x0 ? _0x364caa : null;
|
|
1737
1799
|
} catch {
|
|
1738
1800
|
return null;
|
|
1739
1801
|
}
|
|
1740
1802
|
}
|
|
1741
|
-
const
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1803
|
+
const _0x48595f = new Set([
|
|
1804
|
+
_0x32e1b7(_0x48ccba._0x56cae2),
|
|
1805
|
+
_0x32e1b7(0x162),
|
|
1806
|
+
'waiting_input'
|
|
1745
1807
|
]);
|
|
1746
|
-
async function
|
|
1747
|
-
const
|
|
1748
|
-
if (!
|
|
1808
|
+
async function _0x3f6835() {
|
|
1809
|
+
const _0x6942bb = _0x32e1b7;
|
|
1810
|
+
if (!_0x5e51c9['daemonLocalUrl'] || !_0x5e51c9['agentId'] || _0x5e51c9[_0x6942bb(0x118)])
|
|
1749
1811
|
return null;
|
|
1750
1812
|
try {
|
|
1751
|
-
const
|
|
1752
|
-
if (!
|
|
1813
|
+
const _0x45415a = await fetch(_0x5e51c9[_0x6942bb(_0x2881d0._0x13e2d4)] + '/workers/list?agent_id=' + encodeURIComponent(_0x5e51c9[_0x6942bb(_0x2881d0._0x55f4ee)])), _0x2113dc = await _0x45415a[_0x6942bb(0x240)]();
|
|
1814
|
+
if (!_0x2113dc['ok'])
|
|
1753
1815
|
return null;
|
|
1754
|
-
const
|
|
1755
|
-
for (const
|
|
1756
|
-
|
|
1816
|
+
const _0x51a1da = new Set();
|
|
1817
|
+
for (const _0x180a54 of _0x2113dc[_0x6942bb(_0x2881d0._0x458e55)]) {
|
|
1818
|
+
_0x48595f[_0x6942bb(0x150)](_0x180a54[_0x6942bb(_0x2881d0._0x2fb05e)]) && _0x180a54[_0x6942bb(_0x2881d0._0x34e67d)] && _0x51a1da['add'](_0x180a54['thread_target']);
|
|
1757
1819
|
}
|
|
1758
|
-
return
|
|
1820
|
+
return _0x51a1da[_0x6942bb(0x166)] > 0x0 ? _0x51a1da : null;
|
|
1759
1821
|
} catch {
|
|
1760
1822
|
return null;
|
|
1761
1823
|
}
|
|
1762
1824
|
}
|
|
1763
1825
|
return {
|
|
1764
|
-
async 'send_message'(
|
|
1765
|
-
const
|
|
1766
|
-
if (!
|
|
1767
|
-
const
|
|
1768
|
-
if (
|
|
1769
|
-
const
|
|
1770
|
-
if (
|
|
1826
|
+
async 'send_message'(_0x3456e5) {
|
|
1827
|
+
const _0x383aad = _0x32e1b7;
|
|
1828
|
+
if (!_0x5e51c9[_0x383aad(_0x39f306._0x197c61)] && _0x5e51c9[_0x383aad(0x269)] && _0x5e51c9[_0x383aad(_0x39f306._0x58d76c)] && _0x5e51c9[_0x383aad(0x198)]) {
|
|
1829
|
+
const _0x188a6c = await _0x5e51c9[_0x383aad(0x262)]['resolveTarget'](_0x3456e5[_0x383aad(0x1ca)]);
|
|
1830
|
+
if (_0x188a6c[_0x383aad(_0x39f306._0x2d7d46)] && _0x188a6c['threadId']) {
|
|
1831
|
+
const _0x4e336a = _0x188a6c[_0x383aad(_0x39f306._0x2d7d46)][_0x383aad(_0x39f306._0x3605b9)] != null ? '#' + _0x188a6c['task']['taskNumber'] : '(legacy)', _0x284287 = _0x188a6c[_0x383aad(0x128)] != null ? _0x188a6c[_0x383aad(0x1ca)] + ':t' + _0x188a6c[_0x383aad(0x128)] : _0x188a6c['target'] + ':' + _0x188a6c['threadId'][_0x383aad(0x28f)](0x0, 0x8), _0x38c922 = await _0x3f6835();
|
|
1832
|
+
if (_0x38c922?.[_0x383aad(_0x39f306._0x37bd8c)](_0x284287))
|
|
1771
1833
|
return [
|
|
1772
|
-
|
|
1773
|
-
|
|
1834
|
+
_0x383aad(_0x39f306._0x3ba843) + _0x4e336a + _0x383aad(_0x39f306._0x406761) + _0x284287 + _0x383aad(_0x39f306._0x16c702),
|
|
1835
|
+
_0x383aad(0x260)
|
|
1774
1836
|
]['join']('\x0a');
|
|
1775
|
-
const
|
|
1776
|
-
|
|
1837
|
+
const _0x865af2 = [
|
|
1838
|
+
_0x383aad(0x1a7) + _0x284287 + '\x20msg=handoff\x20time=' + new Date()[_0x383aad(0x145)]() + _0x383aad(0x164),
|
|
1777
1839
|
'',
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
'Thread\x20target:\x20' +
|
|
1781
|
-
|
|
1782
|
-
][
|
|
1783
|
-
'method':
|
|
1784
|
-
'headers': { 'Content-Type':
|
|
1785
|
-
'body': JSON[
|
|
1786
|
-
'agent_id':
|
|
1787
|
-
'thread_target':
|
|
1840
|
+
'Original\x20message:\x20' + _0x3456e5[_0x383aad(_0x39f306._0x92eafb)],
|
|
1841
|
+
_0x383aad(_0x39f306._0x35b128) + _0x4e336a + '\x20(' + _0x188a6c[_0x383aad(_0x39f306._0x362c80)][_0x383aad(_0x39f306._0x2b3b87)] + ')',
|
|
1842
|
+
'Thread\x20target:\x20' + _0x284287,
|
|
1843
|
+
_0x383aad(_0x39f306._0xfe163)
|
|
1844
|
+
][_0x383aad(0x291)]('\x0a'), _0x48185c = await fetch(_0x5e51c9[_0x383aad(0x1c6)] + _0x383aad(_0x39f306._0x3061ba), {
|
|
1845
|
+
'method': _0x383aad(0x1e1),
|
|
1846
|
+
'headers': { 'Content-Type': _0x383aad(_0x39f306._0x3a1a4d) },
|
|
1847
|
+
'body': JSON[_0x383aad(_0x39f306._0x222f79)]({
|
|
1848
|
+
'agent_id': _0x5e51c9['agentId'],
|
|
1849
|
+
'thread_target': _0x284287,
|
|
1788
1850
|
'spawn_packet': {
|
|
1789
|
-
'replyTarget':
|
|
1790
|
-
'taskId':
|
|
1851
|
+
'replyTarget': _0x284287,
|
|
1852
|
+
'taskId': _0x188a6c[_0x383aad(_0x39f306._0x43aa97)][_0x383aad(_0x39f306._0x56f107)]
|
|
1791
1853
|
},
|
|
1792
1854
|
'payload': {
|
|
1793
|
-
'mode':
|
|
1794
|
-
'text':
|
|
1855
|
+
'mode': _0x383aad(0x161),
|
|
1856
|
+
'text': _0x865af2
|
|
1795
1857
|
}
|
|
1796
1858
|
})
|
|
1797
|
-
}),
|
|
1798
|
-
if (!
|
|
1799
|
-
throw new Error(
|
|
1859
|
+
}), _0xd2a9ac = await _0x48185c[_0x383aad(0x240)]();
|
|
1860
|
+
if (!_0xd2a9ac['ok'])
|
|
1861
|
+
throw new Error(_0xd2a9ac[_0x383aad(0x156)] ?? _0x383aad(0x2a3));
|
|
1800
1862
|
return [
|
|
1801
|
-
'Handoff\x20to\x20worker\x20for\x20task\x20' +
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
][
|
|
1863
|
+
'Handoff\x20to\x20worker\x20for\x20task\x20' + _0x4e336a + _0x383aad(_0x39f306._0x10f9be) + _0x284287 + _0x383aad(_0x39f306._0x51e453),
|
|
1864
|
+
_0x383aad(_0x39f306._0x53bec8) + (_0xd2a9ac['disposition'] === _0x383aad(_0x39f306._0x1f69d1) ? _0x383aad(_0x39f306._0x1f69d1) : _0x383aad(_0x39f306._0x2904e3)) + '.',
|
|
1865
|
+
_0x383aad(0x247)
|
|
1866
|
+
]['join']('\x0a');
|
|
1805
1867
|
}
|
|
1806
1868
|
}
|
|
1807
|
-
const
|
|
1808
|
-
'attachmentIds':
|
|
1809
|
-
'content':
|
|
1810
|
-
'target':
|
|
1811
|
-
'visibility':
|
|
1869
|
+
const _0x3a559a = await _0x5e51c9[_0x383aad(_0x39f306._0x159c3c)][_0x383aad(0x157)]({
|
|
1870
|
+
'attachmentIds': _0x3456e5[_0x383aad(_0x39f306._0x3267a3)],
|
|
1871
|
+
'content': _0x3456e5[_0x383aad(0x223)],
|
|
1872
|
+
'target': _0x3456e5[_0x383aad(_0x39f306._0x51a60a)],
|
|
1873
|
+
'visibility': _0x3456e5[_0x383aad(0x173)]
|
|
1812
1874
|
});
|
|
1813
|
-
return
|
|
1875
|
+
return _0x383aad(_0x39f306._0x5be660) + _0x3456e5[_0x383aad(_0x39f306._0x51a60a)] + _0x383aad(_0x39f306._0x260cf4) + _0x3a559a[_0x383aad(_0x39f306._0x40a863)];
|
|
1814
1876
|
},
|
|
1815
1877
|
async 'check_messages'() {
|
|
1816
|
-
const
|
|
1817
|
-
if (!
|
|
1818
|
-
const
|
|
1819
|
-
if (
|
|
1820
|
-
return formatCheckMessages(
|
|
1878
|
+
const _0x1f9c54 = _0x32e1b7, _0x4404a1 = await _0x5e51c9[_0x1f9c54(_0x1e77ff._0x2cc2ec)][_0x1f9c54(0x22f)]();
|
|
1879
|
+
if (!_0x5e51c9[_0x1f9c54(_0x1e77ff._0x5772fa)]) {
|
|
1880
|
+
const _0x346ef0 = await _0x58b434();
|
|
1881
|
+
if (_0x346ef0)
|
|
1882
|
+
return formatCheckMessages(_0x4404a1[_0x1f9c54(0x25a)]['filter'](_0x2e47fa => !_0x346ef0[_0x1f9c54(0x150)](_0x2e47fa[_0x1f9c54(0x1ca)])));
|
|
1821
1883
|
}
|
|
1822
|
-
return formatCheckMessages(
|
|
1884
|
+
return formatCheckMessages(_0x4404a1[_0x1f9c54(0x25a)]);
|
|
1823
1885
|
},
|
|
1824
|
-
async 'read_history'(
|
|
1825
|
-
const
|
|
1826
|
-
return formatHistory(
|
|
1886
|
+
async 'read_history'(_0x3e0134) {
|
|
1887
|
+
const _0x54c1e2 = _0x32e1b7, _0xa48463 = await _0x5e51c9['client'][_0x54c1e2(0x26a)](_0x3e0134);
|
|
1888
|
+
return formatHistory(_0xa48463);
|
|
1827
1889
|
},
|
|
1828
1890
|
async 'list_server'() {
|
|
1829
|
-
const
|
|
1830
|
-
return formatServerDirectory(
|
|
1891
|
+
const _0x1d565e = _0x32e1b7, _0x411dbe = await _0x5e51c9[_0x1d565e(0x262)][_0x1d565e(0x256)]();
|
|
1892
|
+
return formatServerDirectory(_0x411dbe);
|
|
1831
1893
|
},
|
|
1832
|
-
async 'list_tasks'(
|
|
1833
|
-
const
|
|
1834
|
-
let
|
|
1835
|
-
if (
|
|
1894
|
+
async 'list_tasks'(_0x2f4c7b) {
|
|
1895
|
+
const _0x15e2f1 = _0x32e1b7, _0x22fca3 = await _0x5e51c9[_0x15e2f1(_0x3b01cc._0x35233c)][_0x15e2f1(_0x3b01cc._0x19b777)](_0x2f4c7b);
|
|
1896
|
+
let _0x4d9049;
|
|
1897
|
+
if (_0x5e51c9[_0x15e2f1(_0x3b01cc._0x263b65)] && _0x5e51c9[_0x15e2f1(_0x3b01cc._0x2db768)])
|
|
1836
1898
|
try {
|
|
1837
|
-
const
|
|
1838
|
-
if (
|
|
1839
|
-
const
|
|
1840
|
-
|
|
1841
|
-
for (const
|
|
1842
|
-
if (
|
|
1899
|
+
const _0x139c9d = await fetch(_0x5e51c9[_0x15e2f1(_0x3b01cc._0x263b65)] + _0x15e2f1(0x13c) + encodeURIComponent(_0x5e51c9[_0x15e2f1(_0x3b01cc._0x59c096)])), _0x5af665 = await _0x139c9d[_0x15e2f1(_0x3b01cc._0x1ca845)]();
|
|
1900
|
+
if (_0x5af665['ok']) {
|
|
1901
|
+
const _0x58c051 = _0x2f4c7b[_0x15e2f1(_0x3b01cc._0x4427ec)] + ':';
|
|
1902
|
+
_0x4d9049 = new Set();
|
|
1903
|
+
for (const _0x2d2938 of _0x5af665[_0x15e2f1(_0x3b01cc._0x3910e7)]) {
|
|
1904
|
+
if (_0x2d2938[_0x15e2f1(_0x3b01cc._0x3ec47)] === 'destroyed')
|
|
1843
1905
|
continue;
|
|
1844
|
-
if (
|
|
1845
|
-
const
|
|
1846
|
-
if (
|
|
1847
|
-
|
|
1906
|
+
if (_0x2d2938[_0x15e2f1(_0x3b01cc._0x219df8)]?.[_0x15e2f1(0x149)](_0x58c051)) {
|
|
1907
|
+
const _0x5f2639 = _0x2d2938['thread_target'][_0x15e2f1(0x28f)](_0x58c051[_0x15e2f1(0x14e)]), _0x433255 = _0x22fca3[_0x15e2f1(_0x3b01cc._0x108b3a)][_0x15e2f1(_0x3b01cc._0x2db98e)](_0x30f6ae => _0x30f6ae[_0x15e2f1(0x185)]?.[_0x15e2f1(0x149)](_0x5f2639) === !![]);
|
|
1908
|
+
if (_0x433255?.[_0x15e2f1(0x249)] != null) {
|
|
1909
|
+
_0x4d9049[_0x15e2f1(_0x3b01cc._0x55485c)](_0x433255[_0x15e2f1(0x249)]);
|
|
1848
1910
|
continue;
|
|
1849
1911
|
}
|
|
1850
1912
|
}
|
|
1851
|
-
if (
|
|
1852
|
-
const
|
|
1853
|
-
|
|
1913
|
+
if (_0x2d2938['task_id']) {
|
|
1914
|
+
const _0x4f10c7 = _0x22fca3[_0x15e2f1(0x129)]['find'](_0x5ab0c2 => _0x5ab0c2[_0x15e2f1(0x24c)] === _0x2d2938[_0x15e2f1(0x13d)]);
|
|
1915
|
+
_0x4f10c7?.['taskNumber'] != null && _0x4d9049['add'](_0x4f10c7[_0x15e2f1(_0x3b01cc._0x9e331d)]);
|
|
1854
1916
|
}
|
|
1855
1917
|
}
|
|
1856
1918
|
}
|
|
1857
1919
|
} catch {
|
|
1858
1920
|
}
|
|
1859
|
-
return formatTaskList(
|
|
1921
|
+
return formatTaskList(_0x22fca3[_0x15e2f1(_0x3b01cc._0xe3285e)], _0x4d9049);
|
|
1860
1922
|
},
|
|
1861
|
-
async 'create_tasks'(
|
|
1862
|
-
const
|
|
1863
|
-
|
|
1864
|
-
const
|
|
1865
|
-
return formatCreatedTasks(
|
|
1923
|
+
async 'create_tasks'(_0x464a0b) {
|
|
1924
|
+
const _0x598dd7 = _0x32e1b7;
|
|
1925
|
+
_0x343cbb(_0x598dd7(_0x20be46._0x27f6ca), _0x464a0b[_0x598dd7(0x16c)]);
|
|
1926
|
+
const _0x4b183c = await _0x5e51c9[_0x598dd7(_0x20be46._0x1060e6)][_0x598dd7(_0x20be46._0x13b761)](_0x464a0b);
|
|
1927
|
+
return formatCreatedTasks(_0x4b183c['tasks']);
|
|
1866
1928
|
},
|
|
1867
|
-
async 'claim_tasks'(
|
|
1868
|
-
const
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
_0x3619db('claim_tasks', _0x551d9a[_0x101c84(0xb6)]);
|
|
1876
|
-
if (_0x551d9a[_0x101c84(_0x114d83._0xa307fe)] && _0x551d9a[_0x101c84(0xa6)][_0x101c84(_0x114d83._0x25d33e)] > 0x0)
|
|
1877
|
-
throw new Error(_0x101c84(0x1a1));
|
|
1878
|
-
if (!_0x551d9a[_0x101c84(0x163)] || _0x551d9a[_0x101c84(0x163)][_0x101c84(_0x114d83._0x25d33e)] === 0x0)
|
|
1879
|
-
throw new Error(_0x101c84(_0x114d83._0x33fd24));
|
|
1929
|
+
async 'claim_tasks'(_0x4bc345) {
|
|
1930
|
+
const _0x373d44 = _0x32e1b7;
|
|
1931
|
+
if (_0x5e51c9['workerMode']) {
|
|
1932
|
+
_0x343cbb('claim_tasks', _0x4bc345[_0x373d44(_0x5e677b._0x2317af)]);
|
|
1933
|
+
if (_0x4bc345[_0x373d44(0x23a)] && _0x4bc345['message_ids'][_0x373d44(0x14e)] > 0x0)
|
|
1934
|
+
throw new Error(_0x373d44(0x152));
|
|
1935
|
+
if (!_0x4bc345['subtask_numbers'] || _0x4bc345[_0x373d44(_0x5e677b._0xa2d479)][_0x373d44(0x14e)] === 0x0)
|
|
1936
|
+
throw new Error(_0x373d44(_0x5e677b._0x2dcad4));
|
|
1880
1937
|
}
|
|
1881
|
-
const
|
|
1882
|
-
const
|
|
1883
|
-
if (!
|
|
1884
|
-
return
|
|
1938
|
+
const _0x5e2938 = await _0x5e51c9[_0x373d44(0x262)][_0x373d44(_0x5e677b._0x4f90df)](_0x4bc345), _0x43ce1f = await Promise['all'](_0x5e2938[_0x373d44(0x13a)][_0x373d44(_0x5e677b._0x597170)](async _0x3a5b16 => {
|
|
1939
|
+
const _0x440ef8 = _0x373d44;
|
|
1940
|
+
if (!_0x3a5b16[_0x440ef8(_0x332f5d._0x28816d)] || !_0x3a5b16[_0x440ef8(_0x332f5d._0x3040d5)])
|
|
1941
|
+
return _0x3a5b16;
|
|
1885
1942
|
try {
|
|
1886
|
-
const
|
|
1887
|
-
'channel':
|
|
1888
|
-
'messageId':
|
|
1889
|
-
'taskId':
|
|
1890
|
-
'taskNumber':
|
|
1891
|
-
'threadNumber':
|
|
1943
|
+
const _0x4c6b21 = await _0x92cc0f({
|
|
1944
|
+
'channel': _0x4bc345[_0x440ef8(0x16c)],
|
|
1945
|
+
'messageId': _0x3a5b16[_0x440ef8(0x185)],
|
|
1946
|
+
'taskId': _0x3a5b16[_0x440ef8(0x24c)],
|
|
1947
|
+
'taskNumber': _0x3a5b16[_0x440ef8(0x249)],
|
|
1948
|
+
'threadNumber': _0x3a5b16[_0x440ef8(_0x332f5d._0x5e8e48)]
|
|
1892
1949
|
});
|
|
1893
|
-
return
|
|
1894
|
-
...
|
|
1895
|
-
...
|
|
1896
|
-
} :
|
|
1897
|
-
} catch (
|
|
1950
|
+
return _0x4c6b21 ? {
|
|
1951
|
+
..._0x3a5b16,
|
|
1952
|
+
..._0x4c6b21
|
|
1953
|
+
} : _0x3a5b16;
|
|
1954
|
+
} catch (_0x16b624) {
|
|
1898
1955
|
return {
|
|
1899
|
-
...
|
|
1900
|
-
'workerHandoffError':
|
|
1956
|
+
..._0x3a5b16,
|
|
1957
|
+
'workerHandoffError': _0x16b624 instanceof Error ? _0x16b624[_0x440ef8(_0x332f5d._0x194600)] : 'worker\x20handoff\x20failed'
|
|
1901
1958
|
};
|
|
1902
1959
|
}
|
|
1903
1960
|
}));
|
|
1904
|
-
return formatClaimTaskResults(
|
|
1961
|
+
return formatClaimTaskResults(_0x43ce1f);
|
|
1905
1962
|
},
|
|
1906
|
-
async 'unclaim_task'(
|
|
1907
|
-
const
|
|
1908
|
-
if (
|
|
1909
|
-
|
|
1910
|
-
if (
|
|
1963
|
+
async 'unclaim_task'(_0x12fa0e) {
|
|
1964
|
+
const _0x1114b1 = _0x32e1b7;
|
|
1965
|
+
if (_0x5e51c9['workerMode']) {
|
|
1966
|
+
_0x343cbb(_0x1114b1(0x146), _0x12fa0e[_0x1114b1(_0x4feaa6._0x4a9e24)]);
|
|
1967
|
+
if (_0x12fa0e[_0x1114b1(0x14a)] == null)
|
|
1911
1968
|
throw new Error('unclaim_task:\x20worker\x20can\x20only\x20unclaim\x20subtasks\x20inside\x20its\x20own\x20task\x20thread\x20—\x20provide\x20subtask_number.');
|
|
1912
1969
|
}
|
|
1913
|
-
const
|
|
1914
|
-
return formatUnclaimTaskResult(
|
|
1970
|
+
const _0x4b2bdb = await _0x5e51c9['client'][_0x1114b1(0x21a)](_0x12fa0e);
|
|
1971
|
+
return formatUnclaimTaskResult(_0x4b2bdb);
|
|
1915
1972
|
},
|
|
1916
|
-
async 'update_task_status'(
|
|
1917
|
-
const
|
|
1918
|
-
|
|
1919
|
-
const
|
|
1920
|
-
return formatUpdateTaskStatusResult(
|
|
1973
|
+
async 'update_task_status'(_0x497c64) {
|
|
1974
|
+
const _0x50f749 = _0x32e1b7;
|
|
1975
|
+
_0x343cbb('update_task_status', _0x497c64[_0x50f749(0x16c)]);
|
|
1976
|
+
const _0x74c16c = await _0x5e51c9[_0x50f749(_0xeb7293._0x370058)][_0x50f749(0x1fc)](_0x497c64);
|
|
1977
|
+
return formatUpdateTaskStatusResult(_0x74c16c);
|
|
1921
1978
|
},
|
|
1922
|
-
async 'upload_file'(
|
|
1923
|
-
const
|
|
1924
|
-
sizeBytes:
|
|
1925
|
-
...
|
|
1926
|
-
} =
|
|
1927
|
-
'channel':
|
|
1928
|
-
...
|
|
1979
|
+
async 'upload_file'(_0x2a8990) {
|
|
1980
|
+
const _0x521d10 = _0x32e1b7, _0x2892e7 = await _0x5e51c9[_0x521d10(0x201)](_0x2a8990[_0x521d10(_0x3c4af9._0x229180)]), {
|
|
1981
|
+
sizeBytes: _0x20d311,
|
|
1982
|
+
..._0x49a627
|
|
1983
|
+
} = _0x2892e7, _0x24981e = await _0x5e51c9[_0x521d10(0x262)]['uploadFile']({
|
|
1984
|
+
'channel': _0x2a8990[_0x521d10(0x16c)],
|
|
1985
|
+
..._0x49a627
|
|
1929
1986
|
});
|
|
1930
|
-
return formatUploadResult(
|
|
1987
|
+
return formatUploadResult(_0x24981e);
|
|
1931
1988
|
},
|
|
1932
|
-
async 'view_file'(
|
|
1933
|
-
const
|
|
1934
|
-
if (
|
|
1935
|
-
return formatViewFileResult(
|
|
1936
|
-
const
|
|
1937
|
-
'attachmentId':
|
|
1938
|
-
'contentType':
|
|
1939
|
-
'data':
|
|
1940
|
-
'originalFilename':
|
|
1989
|
+
async 'view_file'(_0x52d6cb) {
|
|
1990
|
+
const _0x1f4c15 = _0x32e1b7, _0x1b70c6 = await _0x5e51c9[_0x1f4c15(0x263)][_0x1f4c15(0x1ac)](_0x52d6cb[_0x1f4c15(_0x47ee0c._0x3d6212)]);
|
|
1991
|
+
if (_0x1b70c6)
|
|
1992
|
+
return formatViewFileResult(_0x1b70c6, !![]);
|
|
1993
|
+
const _0x2c49f6 = await _0x5e51c9[_0x1f4c15(0x262)][_0x1f4c15(0x239)](_0x52d6cb['attachment_id']), _0x1e4c6d = await _0x5e51c9[_0x1f4c15(0x263)][_0x1f4c15(_0x47ee0c._0x429b30)]({
|
|
1994
|
+
'attachmentId': _0x52d6cb[_0x1f4c15(_0x47ee0c._0xe6dfe2)],
|
|
1995
|
+
'contentType': _0x2c49f6[_0x1f4c15(_0x47ee0c._0x4055e0)],
|
|
1996
|
+
'data': _0x2c49f6[_0x1f4c15(0x1cc)],
|
|
1997
|
+
'originalFilename': _0x2c49f6[_0x1f4c15(0x1d6)]
|
|
1941
1998
|
});
|
|
1942
|
-
return formatViewFileResult(
|
|
1999
|
+
return formatViewFileResult(_0x1e4c6d, ![]);
|
|
1943
2000
|
},
|
|
1944
|
-
async 'get_worker_status'(
|
|
1945
|
-
const
|
|
1946
|
-
if (!
|
|
1947
|
-
return
|
|
1948
|
-
const
|
|
1949
|
-
if (!
|
|
1950
|
-
return 'Worker\x20\x22' +
|
|
1951
|
-
return
|
|
2001
|
+
async 'get_worker_status'(_0x9b2e) {
|
|
2002
|
+
const _0x456fe3 = _0x32e1b7;
|
|
2003
|
+
if (!_0x5e51c9[_0x456fe3(0x1c6)])
|
|
2004
|
+
return 'Worker\x20features\x20not\x20available';
|
|
2005
|
+
const _0x336c14 = await fetch(_0x5e51c9[_0x456fe3(_0x5939b9._0x4010bd)] + _0x456fe3(0x1b1) + encodeURIComponent(_0x9b2e[_0x456fe3(_0x5939b9._0x29c819)])), _0x3e5fb9 = await _0x336c14[_0x456fe3(0x240)]();
|
|
2006
|
+
if (!_0x3e5fb9['ok'])
|
|
2007
|
+
return 'Worker\x20\x22' + _0x9b2e[_0x456fe3(0x25e)] + _0x456fe3(0x25c);
|
|
2008
|
+
return _0x456fe3(0x1a2) + _0x9b2e['work_key'] + _0x456fe3(_0x5939b9._0xbb3445) + _0x3e5fb9[_0x456fe3(_0x5939b9._0x55ba21)];
|
|
1952
2009
|
},
|
|
1953
|
-
async 'park_worker'(
|
|
1954
|
-
const
|
|
1955
|
-
if (!
|
|
1956
|
-
return
|
|
1957
|
-
const
|
|
1958
|
-
'method':
|
|
2010
|
+
async 'park_worker'(_0x1c7d87) {
|
|
2011
|
+
const _0x45567c = _0x32e1b7;
|
|
2012
|
+
if (!_0x5e51c9[_0x45567c(0x1c6)])
|
|
2013
|
+
return _0x45567c(_0x557ad6._0x1a6b85);
|
|
2014
|
+
const _0x1e2315 = await fetch(_0x5e51c9[_0x45567c(0x1c6)] + _0x45567c(0x174), {
|
|
2015
|
+
'method': _0x45567c(0x1e1),
|
|
1959
2016
|
'headers': { 'Content-Type': 'application/json' },
|
|
1960
|
-
'body': JSON[
|
|
1961
|
-
}),
|
|
1962
|
-
if (!
|
|
1963
|
-
throw new Error(
|
|
1964
|
-
return
|
|
2017
|
+
'body': JSON[_0x45567c(_0x557ad6._0x8b6232)]({ 'work_key': _0x1c7d87[_0x45567c(_0x557ad6._0x301231)] })
|
|
2018
|
+
}), _0x5220ed = await _0x1e2315['json']();
|
|
2019
|
+
if (!_0x5220ed['ok'])
|
|
2020
|
+
throw new Error(_0x5220ed[_0x45567c(_0x557ad6._0x5a75aa)] ?? _0x45567c(0x1eb));
|
|
2021
|
+
return _0x45567c(_0x557ad6._0x177226) + _0x1c7d87[_0x45567c(_0x557ad6._0x301231)] + _0x45567c(_0x557ad6._0x24b968);
|
|
1965
2022
|
},
|
|
1966
|
-
async 'mark_waiting_input'(
|
|
1967
|
-
const
|
|
1968
|
-
if (!
|
|
1969
|
-
return
|
|
1970
|
-
const
|
|
1971
|
-
'method':
|
|
1972
|
-
'headers': { 'Content-Type':
|
|
1973
|
-
'body': JSON[
|
|
1974
|
-
'work_key':
|
|
1975
|
-
'agent_id':
|
|
2023
|
+
async 'mark_waiting_input'(_0x4bd372) {
|
|
2024
|
+
const _0x11cabf = _0x32e1b7;
|
|
2025
|
+
if (!_0x5e51c9['daemonLocalUrl'] || !_0x5e51c9[_0x11cabf(0x198)])
|
|
2026
|
+
return _0x11cabf(0x242);
|
|
2027
|
+
const _0x375755 = await fetch(_0x5e51c9[_0x11cabf(0x1c6)] + _0x11cabf(0x1ef), {
|
|
2028
|
+
'method': 'POST',
|
|
2029
|
+
'headers': { 'Content-Type': _0x11cabf(_0x3fe798._0x2c4ff6) },
|
|
2030
|
+
'body': JSON['stringify']({
|
|
2031
|
+
'work_key': _0x4bd372[_0x11cabf(_0x3fe798._0x16e9ad)],
|
|
2032
|
+
'agent_id': _0x5e51c9['agentId']
|
|
1976
2033
|
})
|
|
1977
|
-
}),
|
|
1978
|
-
if (!
|
|
1979
|
-
throw new Error(
|
|
1980
|
-
return
|
|
2034
|
+
}), _0x2396b3 = await _0x375755['json']();
|
|
2035
|
+
if (!_0x2396b3['ok'])
|
|
2036
|
+
throw new Error(_0x2396b3[_0x11cabf(0x156)] ?? _0x11cabf(0x2a1));
|
|
2037
|
+
return _0x11cabf(0x1a2) + _0x4bd372[_0x11cabf(_0x3fe798._0x4135c8)] + _0x11cabf(_0x3fe798._0x5f1dc7);
|
|
1981
2038
|
},
|
|
1982
|
-
async 'escalate_to_main'(
|
|
1983
|
-
const
|
|
1984
|
-
if (!
|
|
1985
|
-
return
|
|
1986
|
-
const
|
|
2039
|
+
async 'escalate_to_main'(_0x256ea2) {
|
|
2040
|
+
const _0x2369f2 = _0x32e1b7;
|
|
2041
|
+
if (!_0x5e51c9[_0x2369f2(0x1c6)])
|
|
2042
|
+
return _0x2369f2(0x20e);
|
|
2043
|
+
const _0x4ab94e = await fetch(_0x5e51c9[_0x2369f2(_0xb64721._0x3ec865)] + _0x2369f2(_0xb64721._0x3c8f88), {
|
|
1987
2044
|
'method': 'POST',
|
|
1988
|
-
'headers': { 'Content-Type':
|
|
1989
|
-
'body': JSON[
|
|
1990
|
-
'work_key':
|
|
1991
|
-
'reason':
|
|
2045
|
+
'headers': { 'Content-Type': _0x2369f2(0x230) },
|
|
2046
|
+
'body': JSON[_0x2369f2(0x1c9)]({
|
|
2047
|
+
'work_key': _0x256ea2['work_key'],
|
|
2048
|
+
'reason': _0x256ea2[_0x2369f2(_0xb64721._0x30de54)]
|
|
1992
2049
|
})
|
|
1993
|
-
}),
|
|
1994
|
-
if (!
|
|
1995
|
-
throw new Error(
|
|
1996
|
-
return
|
|
2050
|
+
}), _0x46167a = await _0x4ab94e[_0x2369f2(0x240)]();
|
|
2051
|
+
if (!_0x46167a['ok'])
|
|
2052
|
+
throw new Error(_0x46167a[_0x2369f2(0x156)] ?? _0x2369f2(0x16f));
|
|
2053
|
+
return _0x2369f2(_0xb64721._0x5154f1) + _0x256ea2[_0x2369f2(_0xb64721._0x55453f)];
|
|
1997
2054
|
}
|
|
1998
2055
|
};
|
|
1999
2056
|
}
|
|
2000
|
-
function textResult(
|
|
2001
|
-
const
|
|
2057
|
+
function textResult(_0x15f2b4, _0xc75215 = ![]) {
|
|
2058
|
+
const _0x11eeba = { _0x37288c: 0x2a2 }, _0x31c43f = _0x2cd54a;
|
|
2002
2059
|
return {
|
|
2003
2060
|
'content': [{
|
|
2004
|
-
'type':
|
|
2005
|
-
'text':
|
|
2061
|
+
'type': _0x31c43f(_0x11eeba._0x37288c),
|
|
2062
|
+
'text': _0x15f2b4
|
|
2006
2063
|
}],
|
|
2007
|
-
...
|
|
2064
|
+
..._0xc75215 ? { 'isError': !![] } : {}
|
|
2008
2065
|
};
|
|
2009
2066
|
}
|
|
2010
|
-
async function registerChatBridgeTools(
|
|
2011
|
-
const
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
_0x484787: 0xdb
|
|
2062
|
-
}, _0x436d58 = { _0x4b1777: 0x1b2 }, _0x2fffe2 = {
|
|
2063
|
-
_0x144dc7: 0xdb,
|
|
2064
|
-
_0x103ff2: 0x125
|
|
2065
|
-
}, _0x1561ee = {
|
|
2066
|
-
_0x2b33e7: 0x1e4,
|
|
2067
|
-
_0x40c584: 0xdb
|
|
2068
|
-
}, _0x4d3c73 = {
|
|
2069
|
-
_0x2279a1: 0x1da,
|
|
2070
|
-
_0x1a125e: 0x88
|
|
2071
|
-
}, _0x5e8ec5 = {
|
|
2072
|
-
_0xb50c6e: 0x14e,
|
|
2073
|
-
_0x3ca14f: 0x1dd
|
|
2074
|
-
}, _0x54e668 = { _0x472e4d: 0x1ff }, _0x30a8e1 = {
|
|
2075
|
-
_0x5bea7c: 0xdb,
|
|
2076
|
-
_0x4b8f8f: 0x1f0
|
|
2077
|
-
}, _0x51086c = _0x39cf13, {z: _0x28c5af} = await import('zod');
|
|
2078
|
-
_0x1e1e6c[_0x51086c(_0x566b17._0x30f858)](_0x51086c(_0x566b17._0x35abea), _0x51086c(_0x566b17._0x1e4573), {
|
|
2079
|
-
'target': _0x28c5af[_0x51086c(_0x566b17._0x3f78a3)](),
|
|
2080
|
-
'content': _0x28c5af['string'](),
|
|
2081
|
-
'attachment_ids': _0x28c5af[_0x51086c(_0x566b17._0x30a91d)](_0x28c5af[_0x51086c(0x1f7)]())[_0x51086c(_0x566b17._0xbf9d2)](),
|
|
2082
|
-
'visibility': _0x28c5af[_0x51086c(0x201)]([
|
|
2083
|
-
_0x51086c(0xde),
|
|
2067
|
+
async function registerChatBridgeTools(_0x3de2e2, _0x3632f9, _0x520287) {
|
|
2068
|
+
const _0x50a2da = {
|
|
2069
|
+
_0x37ff9c: 0x148,
|
|
2070
|
+
_0x534b3e: 0x16b,
|
|
2071
|
+
_0x470f2e: 0x17e,
|
|
2072
|
+
_0x5a78fa: 0x13e,
|
|
2073
|
+
_0x56ebc2: 0x1c4,
|
|
2074
|
+
_0x28d997: 0x1b4,
|
|
2075
|
+
_0x31b111: 0x1b4,
|
|
2076
|
+
_0x12cc1c: 0x24a,
|
|
2077
|
+
_0x421612: 0x1b4,
|
|
2078
|
+
_0x3e9f4b: 0x142,
|
|
2079
|
+
_0x35509f: 0x1d7,
|
|
2080
|
+
_0x2ac567: 0x1e0,
|
|
2081
|
+
_0x39776b: 0x211,
|
|
2082
|
+
_0x39bc07: 0x1c4,
|
|
2083
|
+
_0x3c7d0d: 0x1b4,
|
|
2084
|
+
_0x5a0b84: 0x1b4,
|
|
2085
|
+
_0x3a8be7: 0x1b4,
|
|
2086
|
+
_0x52a70e: 0x146,
|
|
2087
|
+
_0x4293f4: 0x1c4,
|
|
2088
|
+
_0x4c9c16: 0x148,
|
|
2089
|
+
_0x2f1171: 0x26f,
|
|
2090
|
+
_0x2278c9: 0x1c4,
|
|
2091
|
+
_0x369b28: 0x148,
|
|
2092
|
+
_0x1c3fdb: 0x178,
|
|
2093
|
+
_0x37f528: 0x284,
|
|
2094
|
+
_0x4c82a8: 0x148,
|
|
2095
|
+
_0x3a3c55: 0x148,
|
|
2096
|
+
_0xc31378: 0x16b,
|
|
2097
|
+
_0x580051: 0x118
|
|
2098
|
+
}, _0x4e0216 = { _0x1adb52: 0x279 }, _0x5abfe5 = {
|
|
2099
|
+
_0x5d160b: 0x23b,
|
|
2100
|
+
_0x23421a: 0x16f
|
|
2101
|
+
}, _0x36da83 = { _0x32de99: 0x1af }, _0x3fb296 = { _0x3b7331: 0x29d }, _0x29cd23 = {
|
|
2102
|
+
_0x41b919: 0x25f,
|
|
2103
|
+
_0x15efaa: 0x23b,
|
|
2104
|
+
_0x337380: 0x213
|
|
2105
|
+
}, _0x1d86da = {
|
|
2106
|
+
_0x10397e: 0x26f,
|
|
2107
|
+
_0x44bf2e: 0x23b
|
|
2108
|
+
}, _0x4f6a5d = { _0x5b2553: 0x193 }, _0x358aad = { _0x1aa6b0: 0x202 }, _0x44318f = { _0x512f0: 0x23b }, _0x4cf74d = {
|
|
2109
|
+
_0x59d32d: 0x29b,
|
|
2110
|
+
_0x3c03a0: 0x23b
|
|
2111
|
+
}, _0x7c3205 = { _0x63f631: 0x23b }, _0x115b96 = _0x2cd54a, {z: _0x229b66} = await import('zod');
|
|
2112
|
+
_0x3de2e2[_0x115b96(_0x50a2da._0x37ff9c)]('send_message', _0x115b96(0x1d5), {
|
|
2113
|
+
'target': _0x229b66[_0x115b96(_0x50a2da._0x534b3e)](),
|
|
2114
|
+
'content': _0x229b66['string'](),
|
|
2115
|
+
'attachment_ids': _0x229b66[_0x115b96(0x1d7)](_0x229b66[_0x115b96(0x16b)]())['optional'](),
|
|
2116
|
+
'visibility': _0x229b66[_0x115b96(_0x50a2da._0x470f2e)]([
|
|
2117
|
+
_0x115b96(_0x50a2da._0x5a78fa),
|
|
2084
2118
|
'aside'
|
|
2085
|
-
])[
|
|
2086
|
-
}, async
|
|
2087
|
-
const
|
|
2119
|
+
])['optional']()[_0x115b96(0x120)](_0x115b96(0x1f9))
|
|
2120
|
+
}, async _0x567887 => {
|
|
2121
|
+
const _0x2ac812 = _0x115b96;
|
|
2088
2122
|
try {
|
|
2089
|
-
return textResult(await
|
|
2090
|
-
} catch (
|
|
2091
|
-
return textResult(
|
|
2123
|
+
return textResult(await _0x3632f9['send_message'](_0x567887));
|
|
2124
|
+
} catch (_0x569ee9) {
|
|
2125
|
+
return textResult(_0x569ee9 instanceof Error ? _0x569ee9[_0x2ac812(0x23b)] : _0x2ac812(0x130), !![]);
|
|
2092
2126
|
}
|
|
2093
|
-
}),
|
|
2094
|
-
const
|
|
2127
|
+
}), _0x3de2e2[_0x115b96(0x148)](_0x115b96(0x1ee), 'Check\x20for\x20new\x20messages\x20without\x20waiting.', {}, async () => {
|
|
2128
|
+
const _0x3752e6 = _0x115b96;
|
|
2095
2129
|
try {
|
|
2096
|
-
return textResult(await
|
|
2097
|
-
} catch (
|
|
2098
|
-
return textResult(
|
|
2130
|
+
return textResult(await _0x3632f9['check_messages']());
|
|
2131
|
+
} catch (_0x3d5882) {
|
|
2132
|
+
return textResult(_0x3d5882 instanceof Error ? _0x3d5882[_0x3752e6(0x23b)] : _0x3752e6(0x134), !![]);
|
|
2099
2133
|
}
|
|
2100
|
-
}),
|
|
2101
|
-
'channel':
|
|
2102
|
-
'limit':
|
|
2103
|
-
'before':
|
|
2104
|
-
'after':
|
|
2105
|
-
}, async
|
|
2106
|
-
const
|
|
2134
|
+
}), _0x3de2e2[_0x115b96(_0x50a2da._0x37ff9c)](_0x115b96(0x1ae), _0x115b96(0x137), {
|
|
2135
|
+
'channel': _0x229b66[_0x115b96(0x16b)](),
|
|
2136
|
+
'limit': _0x229b66[_0x115b96(_0x50a2da._0x56ebc2)]()[_0x115b96(_0x50a2da._0x28d997)](),
|
|
2137
|
+
'before': _0x229b66['number']()[_0x115b96(_0x50a2da._0x31b111)](),
|
|
2138
|
+
'after': _0x229b66['number']()[_0x115b96(_0x50a2da._0x28d997)]()
|
|
2139
|
+
}, async _0xafc85b => {
|
|
2140
|
+
const _0x5df1ce = _0x115b96;
|
|
2107
2141
|
try {
|
|
2108
|
-
return textResult(await
|
|
2109
|
-
} catch (
|
|
2110
|
-
return textResult(
|
|
2142
|
+
return textResult(await _0x3632f9[_0x5df1ce(0x1ae)](_0xafc85b));
|
|
2143
|
+
} catch (_0x62c330) {
|
|
2144
|
+
return textResult(_0x62c330 instanceof Error ? _0x62c330[_0x5df1ce(0x23b)] : _0x5df1ce(0x159), !![]);
|
|
2111
2145
|
}
|
|
2112
|
-
}),
|
|
2113
|
-
const
|
|
2146
|
+
}), _0x3de2e2['tool'](_0x115b96(0x1c1), _0x115b96(0x226), {}, async () => {
|
|
2147
|
+
const _0x1d1147 = _0x115b96;
|
|
2114
2148
|
try {
|
|
2115
|
-
return textResult(await
|
|
2116
|
-
} catch (
|
|
2117
|
-
return textResult(
|
|
2149
|
+
return textResult(await _0x3632f9['list_server']());
|
|
2150
|
+
} catch (_0x5c9880) {
|
|
2151
|
+
return textResult(_0x5c9880 instanceof Error ? _0x5c9880[_0x1d1147(_0x7c3205._0x63f631)] : _0x1d1147(0x189), !![]);
|
|
2118
2152
|
}
|
|
2119
|
-
}),
|
|
2120
|
-
'channel':
|
|
2121
|
-
'status':
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
])[
|
|
2127
|
-
}, async
|
|
2128
|
-
const
|
|
2153
|
+
}), _0x3de2e2[_0x115b96(0x148)]('list_tasks', 'List\x20tasks\x20in\x20a\x20channel\x20or\x20thread.\x20Thread\x20target\x20(e.g.\x20\x22#channel:threadId\x22)\x20returns\x20the\x20parent\x20task\x20plus\x20its\x20subtasks\x20with\x20aggregation\x20fields\x20(childrenTotal,\x20childrenDone,\x20childrenInProgress).\x20Channel\x20target\x20returns\x20only\x20parent\x20tasks\x20(no\x20subtasks).', {
|
|
2154
|
+
'channel': _0x229b66[_0x115b96(0x16b)](),
|
|
2155
|
+
'status': _0x229b66[_0x115b96(0x17e)]([
|
|
2156
|
+
'todo',
|
|
2157
|
+
_0x115b96(0x20c),
|
|
2158
|
+
'in_review',
|
|
2159
|
+
_0x115b96(_0x50a2da._0x12cc1c)
|
|
2160
|
+
])[_0x115b96(_0x50a2da._0x421612)]()
|
|
2161
|
+
}, async _0x26f170 => {
|
|
2162
|
+
const _0x436f02 = _0x115b96;
|
|
2129
2163
|
try {
|
|
2130
|
-
return textResult(await
|
|
2131
|
-
} catch (
|
|
2132
|
-
return textResult(
|
|
2164
|
+
return textResult(await _0x3632f9[_0x436f02(_0x4cf74d._0x59d32d)](_0x26f170));
|
|
2165
|
+
} catch (_0x491053) {
|
|
2166
|
+
return textResult(_0x491053 instanceof Error ? _0x491053[_0x436f02(_0x4cf74d._0x3c03a0)] : _0x436f02(0x209), !![]);
|
|
2133
2167
|
}
|
|
2134
|
-
}),
|
|
2135
|
-
'channel':
|
|
2136
|
-
'idempotency_key':
|
|
2137
|
-
'tasks':
|
|
2138
|
-
'title':
|
|
2139
|
-
'description':
|
|
2140
|
-
'priority':
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
])[
|
|
2168
|
+
}), _0x3de2e2[_0x115b96(0x148)](_0x115b96(0x14d), _0x115b96(_0x50a2da._0x3e9f4b), {
|
|
2169
|
+
'channel': _0x229b66['string'](),
|
|
2170
|
+
'idempotency_key': _0x229b66[_0x115b96(_0x50a2da._0x534b3e)]()[_0x115b96(_0x50a2da._0x31b111)](),
|
|
2171
|
+
'tasks': _0x229b66[_0x115b96(_0x50a2da._0x35509f)](_0x229b66['object']({
|
|
2172
|
+
'title': _0x229b66['string'](),
|
|
2173
|
+
'description': _0x229b66[_0x115b96(_0x50a2da._0x534b3e)]()['optional'](),
|
|
2174
|
+
'priority': _0x229b66['enum']([
|
|
2175
|
+
_0x115b96(_0x50a2da._0x2ac567),
|
|
2176
|
+
_0x115b96(0x203),
|
|
2177
|
+
_0x115b96(_0x50a2da._0x39776b),
|
|
2178
|
+
'urgent'
|
|
2179
|
+
])[_0x115b96(_0x50a2da._0x421612)]()
|
|
2146
2180
|
}))
|
|
2147
|
-
}, async
|
|
2148
|
-
const
|
|
2181
|
+
}, async _0x5870a1 => {
|
|
2182
|
+
const _0x529acc = _0x115b96;
|
|
2149
2183
|
try {
|
|
2150
|
-
return textResult(await
|
|
2151
|
-
} catch (
|
|
2152
|
-
return textResult(
|
|
2184
|
+
return textResult(await _0x3632f9[_0x529acc(0x14d)](_0x5870a1));
|
|
2185
|
+
} catch (_0x596f56) {
|
|
2186
|
+
return textResult(_0x596f56 instanceof Error ? _0x596f56[_0x529acc(_0x44318f._0x512f0)] : 'create_tasks\x20failed', !![]);
|
|
2153
2187
|
}
|
|
2154
|
-
}),
|
|
2155
|
-
'channel':
|
|
2156
|
-
'task_numbers':
|
|
2157
|
-
'subtask_numbers':
|
|
2158
|
-
'message_ids':
|
|
2159
|
-
'evidence':
|
|
2160
|
-
'create_thread':
|
|
2161
|
-
'create_task':
|
|
2162
|
-
}))[
|
|
2163
|
-
'idempotency_key':
|
|
2164
|
-
}, async
|
|
2165
|
-
const
|
|
2188
|
+
}), _0x3de2e2[_0x115b96(0x148)](_0x115b96(0x276), 'Claim\x20tasks\x20in\x20a\x20channel\x20by\x20task\x20number\x20or\x20source\x20message.\x20For\x20subtasks\x20in\x20a\x20thread,\x20use\x20subtask_numbers\x20with\x20a\x20single\x20task_numbers\x20entry.', {
|
|
2189
|
+
'channel': _0x229b66['string'](),
|
|
2190
|
+
'task_numbers': _0x229b66[_0x115b96(0x1d7)](_0x229b66[_0x115b96(_0x50a2da._0x39bc07)]())[_0x115b96(_0x50a2da._0x3c7d0d)](),
|
|
2191
|
+
'subtask_numbers': _0x229b66[_0x115b96(_0x50a2da._0x35509f)](_0x229b66['number']())[_0x115b96(_0x50a2da._0x5a0b84)](),
|
|
2192
|
+
'message_ids': _0x229b66['array'](_0x229b66[_0x115b96(0x16b)]())['optional'](),
|
|
2193
|
+
'evidence': _0x229b66[_0x115b96(0x19f)](_0x229b66[_0x115b96(_0x50a2da._0x534b3e)](), _0x229b66[_0x115b96(0x218)]({
|
|
2194
|
+
'create_thread': _0x229b66[_0x115b96(0x251)]()['optional'](),
|
|
2195
|
+
'create_task': _0x229b66['unknown']()[_0x115b96(_0x50a2da._0x5a0b84)]()
|
|
2196
|
+
}))[_0x115b96(_0x50a2da._0x3a8be7)](),
|
|
2197
|
+
'idempotency_key': _0x229b66['string']()[_0x115b96(_0x50a2da._0x421612)]()
|
|
2198
|
+
}, async _0x35d319 => {
|
|
2199
|
+
const _0x4947e6 = _0x115b96;
|
|
2166
2200
|
try {
|
|
2167
|
-
return textResult(await
|
|
2168
|
-
} catch (
|
|
2169
|
-
return textResult(
|
|
2201
|
+
return textResult(await _0x3632f9[_0x4947e6(0x276)](_0x35d319));
|
|
2202
|
+
} catch (_0x468206) {
|
|
2203
|
+
return textResult(_0x468206 instanceof Error ? _0x468206[_0x4947e6(0x23b)] : _0x4947e6(_0x358aad._0x1aa6b0), !![]);
|
|
2170
2204
|
}
|
|
2171
|
-
}),
|
|
2172
|
-
'channel':
|
|
2173
|
-
'task_number':
|
|
2174
|
-
'subtask_number':
|
|
2175
|
-
'idempotency_key':
|
|
2176
|
-
}, async
|
|
2177
|
-
const
|
|
2205
|
+
}), _0x3de2e2[_0x115b96(_0x50a2da._0x37ff9c)](_0x115b96(_0x50a2da._0x52a70e), _0x115b96(0x1c7), {
|
|
2206
|
+
'channel': _0x229b66['string'](),
|
|
2207
|
+
'task_number': _0x229b66[_0x115b96(_0x50a2da._0x4293f4)](),
|
|
2208
|
+
'subtask_number': _0x229b66[_0x115b96(0x1c4)]()[_0x115b96(_0x50a2da._0x5a0b84)](),
|
|
2209
|
+
'idempotency_key': _0x229b66['string']()['optional']()
|
|
2210
|
+
}, async _0x22dfaa => {
|
|
2211
|
+
const _0xde55ca = _0x115b96;
|
|
2178
2212
|
try {
|
|
2179
|
-
return textResult(await
|
|
2180
|
-
} catch (
|
|
2181
|
-
return textResult(
|
|
2213
|
+
return textResult(await _0x3632f9[_0xde55ca(0x146)](_0x22dfaa));
|
|
2214
|
+
} catch (_0x4b3d72) {
|
|
2215
|
+
return textResult(_0x4b3d72 instanceof Error ? _0x4b3d72[_0xde55ca(0x23b)] : _0xde55ca(_0x4f6a5d._0x5b2553), !![]);
|
|
2182
2216
|
}
|
|
2183
|
-
}),
|
|
2184
|
-
'channel':
|
|
2185
|
-
'task_number':
|
|
2186
|
-
'subtask_number':
|
|
2187
|
-
'status':
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2217
|
+
}), _0x3de2e2[_0x115b96(_0x50a2da._0x4c9c16)](_0x115b96(_0x50a2da._0x2f1171), _0x115b96(0x1e2), {
|
|
2218
|
+
'channel': _0x229b66[_0x115b96(0x16b)](),
|
|
2219
|
+
'task_number': _0x229b66[_0x115b96(_0x50a2da._0x2278c9)](),
|
|
2220
|
+
'subtask_number': _0x229b66[_0x115b96(_0x50a2da._0x56ebc2)]()[_0x115b96(_0x50a2da._0x3c7d0d)](),
|
|
2221
|
+
'status': _0x229b66[_0x115b96(0x17e)]([
|
|
2222
|
+
'todo',
|
|
2223
|
+
'in_progress',
|
|
2224
|
+
'in_review',
|
|
2225
|
+
_0x115b96(_0x50a2da._0x12cc1c)
|
|
2192
2226
|
]),
|
|
2193
|
-
'idempotency_key':
|
|
2194
|
-
}, async
|
|
2195
|
-
const
|
|
2227
|
+
'idempotency_key': _0x229b66[_0x115b96(_0x50a2da._0x534b3e)]()[_0x115b96(_0x50a2da._0x3c7d0d)]()
|
|
2228
|
+
}, async _0x223349 => {
|
|
2229
|
+
const _0xf48969 = _0x115b96;
|
|
2196
2230
|
try {
|
|
2197
|
-
return textResult(await
|
|
2198
|
-
} catch (
|
|
2199
|
-
return textResult(
|
|
2231
|
+
return textResult(await _0x3632f9[_0xf48969(_0x1d86da._0x10397e)](_0x223349));
|
|
2232
|
+
} catch (_0x7d9296) {
|
|
2233
|
+
return textResult(_0x7d9296 instanceof Error ? _0x7d9296[_0xf48969(_0x1d86da._0x44bf2e)] : _0xf48969(0x124), !![]);
|
|
2200
2234
|
}
|
|
2201
|
-
}),
|
|
2202
|
-
'channel':
|
|
2203
|
-
'file_path':
|
|
2204
|
-
}, async
|
|
2205
|
-
const
|
|
2235
|
+
}), _0x3de2e2[_0x115b96(_0x50a2da._0x369b28)](_0x115b96(_0x50a2da._0x1c3fdb), _0x115b96(_0x50a2da._0x37f528), {
|
|
2236
|
+
'channel': _0x229b66[_0x115b96(_0x50a2da._0x534b3e)](),
|
|
2237
|
+
'file_path': _0x229b66[_0x115b96(0x16b)]()
|
|
2238
|
+
}, async _0x49d260 => {
|
|
2239
|
+
const _0x5f0d0d = _0x115b96;
|
|
2206
2240
|
try {
|
|
2207
|
-
return textResult(await
|
|
2208
|
-
} catch (
|
|
2209
|
-
return textResult(
|
|
2241
|
+
return textResult(await _0x3632f9[_0x5f0d0d(0x178)](_0x49d260));
|
|
2242
|
+
} catch (_0x157b0e) {
|
|
2243
|
+
return textResult(_0x157b0e instanceof Error ? _0x157b0e['message'] : 'upload_file\x20failed', !![]);
|
|
2210
2244
|
}
|
|
2211
|
-
}),
|
|
2212
|
-
const
|
|
2245
|
+
}), _0x3de2e2[_0x115b96(_0x50a2da._0x4c9c16)](_0x115b96(0x25f), _0x115b96(0x1ab), { 'attachment_id': _0x229b66[_0x115b96(_0x50a2da._0x534b3e)]() }, async _0x826b5a => {
|
|
2246
|
+
const _0x41d9ef = _0x115b96;
|
|
2213
2247
|
try {
|
|
2214
|
-
return textResult(await
|
|
2215
|
-
} catch (
|
|
2216
|
-
return textResult(
|
|
2248
|
+
return textResult(await _0x3632f9[_0x41d9ef(_0x29cd23._0x41b919)](_0x826b5a));
|
|
2249
|
+
} catch (_0xa430d7) {
|
|
2250
|
+
return textResult(_0xa430d7 instanceof Error ? _0xa430d7[_0x41d9ef(_0x29cd23._0x15efaa)] : _0x41d9ef(_0x29cd23._0x337380), !![]);
|
|
2217
2251
|
}
|
|
2218
|
-
}),
|
|
2219
|
-
const
|
|
2252
|
+
}), _0x3de2e2[_0x115b96(_0x50a2da._0x4c82a8)](_0x115b96(0x28e), 'Check\x20the\x20current\x20status\x20of\x20a\x20spawned\x20worker\x20by\x20its\x20work\x20key.', { 'work_key': _0x229b66[_0x115b96(_0x50a2da._0x534b3e)]() }, async _0x4355fb => {
|
|
2253
|
+
const _0x13cc90 = _0x115b96;
|
|
2220
2254
|
try {
|
|
2221
|
-
return textResult(await
|
|
2222
|
-
} catch (
|
|
2223
|
-
return textResult(
|
|
2255
|
+
return textResult(await _0x3632f9['get_worker_status'](_0x4355fb));
|
|
2256
|
+
} catch (_0x54d1b4) {
|
|
2257
|
+
return textResult(_0x54d1b4 instanceof Error ? _0x54d1b4['message'] : _0x13cc90(_0x3fb296._0x3b7331), !![]);
|
|
2224
2258
|
}
|
|
2225
|
-
}),
|
|
2226
|
-
const
|
|
2259
|
+
}), _0x3de2e2[_0x115b96(_0x50a2da._0x3a3c55)](_0x115b96(0x1af), 'Worker-only.\x20Park\x20the\x20current\x20worker\x20lane\x20after\x20you\x20have\x20already\x20reported\x20results\x20in\x20this\x20thread.\x20This\x20does\x20not\x20end\x20the\x20session;\x20same-thread\x20follow-up\x20will\x20resume\x20this\x20lane.', { 'work_key': _0x229b66[_0x115b96(_0x50a2da._0xc31378)]() }, async _0x4ec8d7 => {
|
|
2260
|
+
const _0x509a66 = _0x115b96;
|
|
2227
2261
|
try {
|
|
2228
|
-
return textResult(await
|
|
2229
|
-
} catch (
|
|
2230
|
-
return textResult(
|
|
2262
|
+
return textResult(await _0x3632f9[_0x509a66(_0x36da83._0x32de99)](_0x4ec8d7));
|
|
2263
|
+
} catch (_0x23b660) {
|
|
2264
|
+
return textResult(_0x23b660 instanceof Error ? _0x23b660['message'] : _0x509a66(0x1eb), !![]);
|
|
2231
2265
|
}
|
|
2232
|
-
}),
|
|
2233
|
-
'work_key':
|
|
2234
|
-
'reason':
|
|
2235
|
-
}, async
|
|
2236
|
-
const
|
|
2266
|
+
}), _0x3de2e2[_0x115b96(0x148)]('escalate_to_main', _0x115b96(0x232), {
|
|
2267
|
+
'work_key': _0x229b66[_0x115b96(0x16b)](),
|
|
2268
|
+
'reason': _0x229b66[_0x115b96(_0x50a2da._0x534b3e)]()
|
|
2269
|
+
}, async _0x268344 => {
|
|
2270
|
+
const _0x8fd02a = _0x115b96;
|
|
2237
2271
|
try {
|
|
2238
|
-
return textResult(await
|
|
2239
|
-
} catch (
|
|
2240
|
-
return textResult(
|
|
2272
|
+
return textResult(await _0x3632f9[_0x8fd02a(0x266)](_0x268344));
|
|
2273
|
+
} catch (_0x475a93) {
|
|
2274
|
+
return textResult(_0x475a93 instanceof Error ? _0x475a93[_0x8fd02a(_0x5abfe5._0x5d160b)] : _0x8fd02a(_0x5abfe5._0x23421a), !![]);
|
|
2241
2275
|
}
|
|
2242
|
-
}),
|
|
2243
|
-
const
|
|
2276
|
+
}), _0x520287?.[_0x115b96(_0x50a2da._0x580051)] && _0x3de2e2[_0x115b96(0x148)](_0x115b96(0x279), _0x115b96(0x17f), { 'work_key': _0x229b66[_0x115b96(0x16b)]() }, async _0x1108cc => {
|
|
2277
|
+
const _0x266bfa = _0x115b96;
|
|
2244
2278
|
try {
|
|
2245
|
-
return textResult(await
|
|
2246
|
-
} catch (
|
|
2247
|
-
return textResult(
|
|
2279
|
+
return textResult(await _0x3632f9[_0x266bfa(_0x4e0216._0x1adb52)](_0x1108cc));
|
|
2280
|
+
} catch (_0x71c3c9) {
|
|
2281
|
+
return textResult(_0x71c3c9 instanceof Error ? _0x71c3c9[_0x266bfa(0x23b)] : _0x266bfa(0x2a1), !![]);
|
|
2248
2282
|
}
|
|
2249
2283
|
});
|
|
2250
2284
|
}
|
|
2251
|
-
async function createChatBridgeServer(
|
|
2252
|
-
const
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
}), _0x2345ed = createChatBridgeHandlers(_0x2f81e4);
|
|
2260
|
-
return await registerChatBridgeTools(_0x19994c, _0x2345ed, { 'workerMode': _0x2f81e4[_0x20a823(_0x1e8f2d._0xedd876)] }), {
|
|
2261
|
-
'handlers': _0x2345ed,
|
|
2262
|
-
'server': _0x19994c
|
|
2285
|
+
async function createChatBridgeServer(_0xd70d73) {
|
|
2286
|
+
const _0x527c7b = { _0x7c8cea: 0x1df }, _0x4e2032 = _0x2cd54a, {McpServer: _0x3d814c} = await import(_0x4e2032(0x1d1)), _0x447ed0 = new _0x3d814c({
|
|
2287
|
+
'name': _0x4e2032(_0x527c7b._0x7c8cea),
|
|
2288
|
+
'version': _0x4e2032(0x139)
|
|
2289
|
+
}), _0x51ecae = createChatBridgeHandlers(_0xd70d73);
|
|
2290
|
+
return await registerChatBridgeTools(_0x447ed0, _0x51ecae, { 'workerMode': _0xd70d73['workerMode'] }), {
|
|
2291
|
+
'handlers': _0x51ecae,
|
|
2292
|
+
'server': _0x447ed0
|
|
2263
2293
|
};
|
|
2264
2294
|
}
|
|
2265
|
-
function readFlag(
|
|
2266
|
-
const
|
|
2267
|
-
if (
|
|
2295
|
+
function readFlag(_0x319d96, _0x54442d) {
|
|
2296
|
+
const _0x3f17ed = _0x319d96['indexOf'](_0x54442d);
|
|
2297
|
+
if (_0x3f17ed === -0x1)
|
|
2268
2298
|
return void 0x0;
|
|
2269
|
-
return
|
|
2299
|
+
return _0x319d96[_0x3f17ed + 0x1];
|
|
2270
2300
|
}
|
|
2271
|
-
function parseChatBridgeArgs(
|
|
2272
|
-
const
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
if (!
|
|
2284
|
-
throw new Error(
|
|
2285
|
-
if (!
|
|
2286
|
-
throw new Error('
|
|
2287
|
-
if (_0x29c4f8 !== void 0x0 && (_0x5e95e1 === void 0x0 || !Number[_0x282ed7(_0x513f9c._0xbf21bf)](_0x5e95e1) || _0x5e95e1 < 0x0))
|
|
2288
|
-
throw new Error(_0x282ed7(_0x513f9c._0x2674ee));
|
|
2301
|
+
function parseChatBridgeArgs(_0x5010c7) {
|
|
2302
|
+
const _0x408d84 = {
|
|
2303
|
+
_0x36c073: 0x181,
|
|
2304
|
+
_0x30b838: 0x14c,
|
|
2305
|
+
_0x1e3a6b: 0x135,
|
|
2306
|
+
_0x2c6934: 0x254,
|
|
2307
|
+
_0x3c4722: 0x204,
|
|
2308
|
+
_0x2697a5: 0x1e9,
|
|
2309
|
+
_0x539358: 0x1c3
|
|
2310
|
+
}, _0x22204b = _0x2cd54a, _0x18f1e8 = readFlag(_0x5010c7, _0x22204b(0x127)), _0x1d7926 = readFlag(_0x5010c7, _0x22204b(0x21e)), _0x2dde72 = readFlag(_0x5010c7, '--initial-last-seen-seq'), _0x12a29e = readFlag(_0x5010c7, _0x22204b(_0x408d84._0x36c073)) ?? _0x22204b(_0x408d84._0x30b838), _0xa9b419 = readFlag(_0x5010c7, _0x22204b(_0x408d84._0x1e3a6b)), _0x180532 = readFlag(_0x5010c7, '--session-id'), _0x1e85ba = readFlag(_0x5010c7, _0x22204b(0x16d)), _0x3982b6 = readFlag(_0x5010c7, '--worker-session-id'), _0x466c17 = readFlag(_0x5010c7, '--worker-thread-target'), _0xa55aa0 = _0x5010c7['includes']('--worker-mode'), _0x3f601b = _0x2dde72 === void 0x0 ? void 0x0 : Number[_0x22204b(_0x408d84._0x2c6934)](_0x2dde72, 0xa);
|
|
2311
|
+
if (!_0x18f1e8)
|
|
2312
|
+
throw new Error(_0x22204b(0x1ad));
|
|
2313
|
+
if (!_0x1d7926)
|
|
2314
|
+
throw new Error(_0x22204b(_0x408d84._0x3c4722));
|
|
2315
|
+
if (_0x2dde72 !== void 0x0 && (_0x3f601b === void 0x0 || !Number[_0x22204b(_0x408d84._0x2697a5)](_0x3f601b) || _0x3f601b < 0x0))
|
|
2316
|
+
throw new Error('Invalid\x20--initial-last-seen-seq');
|
|
2289
2317
|
return {
|
|
2290
|
-
'agentId':
|
|
2291
|
-
'daemonApiKey':
|
|
2292
|
-
'daemonLocalUrl':
|
|
2293
|
-
'initialLastSeenSeq':
|
|
2294
|
-
'sessionId':
|
|
2295
|
-
'serverUrl':
|
|
2296
|
-
'workerModeEnabled':
|
|
2297
|
-
'workerSessionId':
|
|
2298
|
-
'workerThreadTarget':
|
|
2299
|
-
'workerMode':
|
|
2318
|
+
'agentId': _0x18f1e8,
|
|
2319
|
+
'daemonApiKey': _0x1d7926,
|
|
2320
|
+
'daemonLocalUrl': _0xa9b419,
|
|
2321
|
+
'initialLastSeenSeq': _0x3f601b,
|
|
2322
|
+
'sessionId': _0x180532,
|
|
2323
|
+
'serverUrl': _0x12a29e,
|
|
2324
|
+
'workerModeEnabled': _0x1e85ba === void 0x0 ? void 0x0 : _0x1e85ba !== _0x22204b(_0x408d84._0x539358),
|
|
2325
|
+
'workerSessionId': _0x3982b6,
|
|
2326
|
+
'workerThreadTarget': _0x466c17,
|
|
2327
|
+
'workerMode': _0xa55aa0
|
|
2300
2328
|
};
|
|
2301
2329
|
}
|
|
2302
|
-
async function runChatBridgeCli(
|
|
2303
|
-
const
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
'
|
|
2309
|
-
'
|
|
2310
|
-
'
|
|
2311
|
-
'daemonLocalUrl': _0x3789f5['daemonLocalUrl'],
|
|
2330
|
+
async function runChatBridgeCli(_0x4351e2) {
|
|
2331
|
+
const _0x11cf00 = {
|
|
2332
|
+
_0x210943: 0x198,
|
|
2333
|
+
_0x3fa111: 0x1c6
|
|
2334
|
+
}, _0x524414 = _0x2cd54a, _0x5ef4ce = parseChatBridgeArgs(_0x4351e2), {StdioServerTransport: _0x541d57} = await import(_0x524414(0x236)), _0x2c26a3 = createInternalAgentClient(_0x5ef4ce), _0x209083 = createAttachmentCache(), _0x1bac58 = await createChatBridgeServer({
|
|
2335
|
+
'agentId': _0x5ef4ce[_0x524414(_0x11cf00._0x210943)],
|
|
2336
|
+
'attachmentCache': _0x209083,
|
|
2337
|
+
'client': _0x2c26a3,
|
|
2338
|
+
'daemonLocalUrl': _0x5ef4ce[_0x524414(_0x11cf00._0x3fa111)],
|
|
2312
2339
|
'uploadPreparer': prepareUploadFile,
|
|
2313
|
-
'workerModeEnabled':
|
|
2314
|
-
'workerMode':
|
|
2315
|
-
'workerThreadTarget':
|
|
2340
|
+
'workerModeEnabled': _0x5ef4ce[_0x524414(0x269)],
|
|
2341
|
+
'workerMode': _0x5ef4ce[_0x524414(0x118)],
|
|
2342
|
+
'workerThreadTarget': _0x5ef4ce['workerThreadTarget']
|
|
2316
2343
|
});
|
|
2317
|
-
await
|
|
2344
|
+
await _0x1bac58[_0x524414(0x205)]['connect'](new _0x541d57());
|
|
2318
2345
|
}
|
|
2319
|
-
var executedAsEntry = process['argv'][0x1] ? import.meta.url === pathToFileURL(process[
|
|
2320
|
-
executedAsEntry && await runChatBridgeCli(process[
|
|
2346
|
+
var executedAsEntry = process['argv'][0x1] ? import.meta.url === pathToFileURL(process[_0x2cd54a(0x1fe)][0x1])[_0x2cd54a(0x1d8)] : ![];
|
|
2347
|
+
executedAsEntry && await runChatBridgeCli(process[_0x2cd54a(0x1fe)][_0x2cd54a(0x28f)](0x2));
|
|
2321
2348
|
export {
|
|
2322
2349
|
createChatBridgeHandlers,
|
|
2323
2350
|
createChatBridgeServer,
|