@dscord/daemon 0.1.54 → 0.1.55
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 -1946
- package/dist/index.js +9359 -9376
- package/package.json +1 -1
package/dist/chat-bridge.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
const
|
|
2
|
-
(function (
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
},
|
|
1
|
+
const _0x855546 = _0x17ac;
|
|
2
|
+
(function (_0x3e2d77, _0x58ac83) {
|
|
3
|
+
const _0x449077 = {
|
|
4
|
+
_0x30c9e9: 0x27a,
|
|
5
|
+
_0x293128: 0x216,
|
|
6
|
+
_0x50f303: 0x2a6,
|
|
7
|
+
_0x5bb3fb: 0x262,
|
|
8
|
+
_0x11c0bd: 0x1d2
|
|
9
|
+
}, _0xcbb79d = _0x17ac, _0x371423 = _0x3e2d77();
|
|
10
10
|
while (!![]) {
|
|
11
11
|
try {
|
|
12
|
-
const
|
|
13
|
-
if (
|
|
12
|
+
const _0x1a6b17 = parseInt(_0xcbb79d(_0x449077._0x30c9e9)) / 0x1 * (parseInt(_0xcbb79d(_0x449077._0x293128)) / 0x2) + parseInt(_0xcbb79d(_0x449077._0x50f303)) / 0x3 * (-parseInt(_0xcbb79d(0x1d8)) / 0x4) + -parseInt(_0xcbb79d(0x252)) / 0x5 + parseInt(_0xcbb79d(_0x449077._0x5bb3fb)) / 0x6 + parseInt(_0xcbb79d(_0x449077._0x11c0bd)) / 0x7 + -parseInt(_0xcbb79d(0x265)) / 0x8 + parseInt(_0xcbb79d(0x2b4)) / 0x9;
|
|
13
|
+
if (_0x1a6b17 === _0x58ac83)
|
|
14
14
|
break;
|
|
15
15
|
else
|
|
16
|
-
|
|
17
|
-
} catch (
|
|
18
|
-
|
|
16
|
+
_0x371423['push'](_0x371423['shift']());
|
|
17
|
+
} catch (_0x1c9acb) {
|
|
18
|
+
_0x371423['push'](_0x371423['shift']());
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
}(
|
|
21
|
+
}(_0x1b3e, 0xdf938));
|
|
22
22
|
import { pathToFileURL } from 'node:url';
|
|
23
23
|
import {
|
|
24
24
|
mkdir,
|
|
@@ -28,98 +28,79 @@ import {
|
|
|
28
28
|
writeFile
|
|
29
29
|
} from 'node:fs/promises';
|
|
30
30
|
import { homedir } from 'node:os';
|
|
31
|
-
import
|
|
31
|
+
import _0x5ce9b3 from 'node:path';
|
|
32
32
|
var DEFAULT_MAX_FILE_SIZE = 0x64 * 0x400 * 0x400, MIME_BY_EXTENSION = {
|
|
33
|
-
'.csv':
|
|
34
|
-
'.gif':
|
|
33
|
+
'.csv': _0x855546(0x2fe),
|
|
34
|
+
'.gif': _0x855546(0x240),
|
|
35
35
|
'.jpeg': 'image/jpeg',
|
|
36
|
-
'.jpg':
|
|
37
|
-
'.json':
|
|
38
|
-
'.md':
|
|
39
|
-
'.pdf':
|
|
40
|
-
'.png':
|
|
41
|
-
'.svg':
|
|
42
|
-
'.txt':
|
|
43
|
-
'.webp':
|
|
44
|
-
'.xml':
|
|
45
|
-
'.zip':
|
|
36
|
+
'.jpg': 'image/jpeg',
|
|
37
|
+
'.json': 'application/json',
|
|
38
|
+
'.md': _0x855546(0x321),
|
|
39
|
+
'.pdf': _0x855546(0x1fb),
|
|
40
|
+
'.png': _0x855546(0x2ec),
|
|
41
|
+
'.svg': _0x855546(0x24c),
|
|
42
|
+
'.txt': _0x855546(0x313),
|
|
43
|
+
'.webp': 'image/webp',
|
|
44
|
+
'.xml': _0x855546(0x33f),
|
|
45
|
+
'.zip': _0x855546(0x1dd)
|
|
46
46
|
};
|
|
47
|
-
function guessContentType(
|
|
48
|
-
const
|
|
49
|
-
|
|
47
|
+
function guessContentType(_0x34fbf1) {
|
|
48
|
+
const _0xebdafb = {
|
|
49
|
+
_0x121bfa: 0x276,
|
|
50
|
+
_0x1ef262: 0x25d
|
|
51
|
+
}, _0x5d5acd = _0x855546;
|
|
52
|
+
return MIME_BY_EXTENSION[_0x5ce9b3[_0x5d5acd(_0xebdafb._0x121bfa)](_0x34fbf1)['toLowerCase']()] ?? _0x5d5acd(_0xebdafb._0x1ef262);
|
|
50
53
|
}
|
|
51
|
-
function safeFilename(
|
|
52
|
-
const
|
|
53
|
-
return
|
|
54
|
+
function safeFilename(_0x2dc9b0) {
|
|
55
|
+
const _0x45a861 = _0x855546;
|
|
56
|
+
return _0x2dc9b0[_0x45a861(0x32a)](/[\\/]/g, '-');
|
|
54
57
|
}
|
|
55
|
-
function extensionFor(
|
|
56
|
-
const
|
|
57
|
-
return
|
|
58
|
+
function extensionFor(_0x4a3dc0) {
|
|
59
|
+
const _0x4e6a48 = _0x855546, _0x4509e5 = Object['entries'](MIME_BY_EXTENSION)[_0x4e6a48(0x269)](([, _0x3c3546]) => _0x3c3546 === _0x4a3dc0);
|
|
60
|
+
return _0x4509e5?.[0x0] ?? '.bin';
|
|
58
61
|
}
|
|
59
|
-
async function prepareUploadFile(
|
|
60
|
-
const
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
if (!
|
|
68
|
-
throw new Error(
|
|
69
|
-
const
|
|
70
|
-
if (
|
|
71
|
-
throw new Error(
|
|
72
|
-
const
|
|
73
|
-
if (_0x29af61[_0x25102c(_0x148e42._0x1f87bd)] > _0x5d994d)
|
|
74
|
-
throw new Error(_0x25102c(0x1cf) + _0x29af61[_0x25102c(_0x148e42._0x1f87bd)]);
|
|
75
|
-
const _0x311e1a = await readFile(_0x25561a), _0x1476bb = _0x58429e[_0x25102c(0x1fa)](_0x25561a);
|
|
62
|
+
async function prepareUploadFile(_0x51a994, _0x25d151 = {}) {
|
|
63
|
+
const _0x17dc20 = {
|
|
64
|
+
_0x18e873: 0x28c,
|
|
65
|
+
_0x5c591c: 0x268
|
|
66
|
+
}, _0x2ef481 = _0x855546;
|
|
67
|
+
if (!_0x5ce9b3['isAbsolute'](_0x51a994))
|
|
68
|
+
throw new Error(_0x2ef481(0x34a));
|
|
69
|
+
const _0x18bd90 = await stat(_0x51a994)['catch'](() => null);
|
|
70
|
+
if (!_0x18bd90 || !_0x18bd90[_0x2ef481(_0x17dc20._0x18e873)]())
|
|
71
|
+
throw new Error(_0x2ef481(0x2ab) + _0x51a994);
|
|
72
|
+
const _0x56b3a6 = _0x25d151['maxFileSizeBytes'] ?? DEFAULT_MAX_FILE_SIZE;
|
|
73
|
+
if (_0x18bd90[_0x2ef481(0x2fb)] > _0x56b3a6)
|
|
74
|
+
throw new Error(_0x2ef481(_0x17dc20._0x5c591c) + _0x18bd90['size']);
|
|
75
|
+
const _0x36d49d = await readFile(_0x51a994), _0x28983b = _0x5ce9b3['basename'](_0x51a994);
|
|
76
76
|
return {
|
|
77
|
-
'contentBase64':
|
|
78
|
-
'contentType': guessContentType(
|
|
79
|
-
'filename':
|
|
80
|
-
'sizeBytes':
|
|
77
|
+
'contentBase64': _0x36d49d[_0x2ef481(0x2b8)](_0x2ef481(0x21f)),
|
|
78
|
+
'contentType': guessContentType(_0x28983b),
|
|
79
|
+
'filename': _0x28983b,
|
|
80
|
+
'sizeBytes': _0x18bd90['size']
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
|
-
function
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
for (let _0x10f284 = 0x0, _0x1a81bf, _0x3b962e, _0xa5d82a = 0x0; _0x3b962e = _0x5846ce['charAt'](_0xa5d82a++); ~_0x3b962e && (_0x1a81bf = _0x10f284 % 0x4 ? _0x1a81bf * 0x40 + _0x3b962e : _0x3b962e, _0x10f284++ % 0x4) ? _0x58429e += String['fromCharCode'](0xff & _0x1a81bf >> (-0x2 * _0x10f284 & 0x6)) : 0x0) {
|
|
92
|
-
_0x3b962e = _0x2e7d92['indexOf'](_0x3b962e);
|
|
93
|
-
}
|
|
94
|
-
for (let _0x25561a = 0x0, _0x220124 = _0x58429e['length']; _0x25561a < _0x220124; _0x25561a++) {
|
|
95
|
-
_0x30c254 += '%' + ('00' + _0x58429e['charCodeAt'](_0x25561a)['toString'](0x10))['slice'](-0x2);
|
|
96
|
-
}
|
|
97
|
-
return decodeURIComponent(_0x30c254);
|
|
98
|
-
};
|
|
99
|
-
_0x575b['eTEtSG'] = _0x57c706, _0x575b['WSYAkv'] = {}, _0x575b['uyiABD'] = !![];
|
|
100
|
-
}
|
|
101
|
-
const _0x25e9b2 = _0x12071f[0x0], _0x1165d8 = _0x271a5b + _0x25e9b2, _0x2be71a = _0x575b['WSYAkv'][_0x1165d8];
|
|
102
|
-
return !_0x2be71a ? (_0x575b60 = _0x575b['eTEtSG'](_0x575b60), _0x575b['WSYAkv'][_0x1165d8] = _0x575b60) : _0x575b60 = _0x2be71a, _0x575b60;
|
|
103
|
-
}
|
|
104
|
-
function createAttachmentCache(_0x4d558f = {}) {
|
|
105
|
-
const _0x436262 = { _0x12f604: 0x18e }, _0x1d84f9 = {
|
|
106
|
-
_0x2e2ac4: 0x2ad,
|
|
107
|
-
_0x18361c: 0x18e,
|
|
108
|
-
_0x4ddabb: 0x28f
|
|
109
|
-
}, _0x25b490 = _0x363898, _0x16615e = _0x4d558f['cacheDir'] ?? _0x58429e[_0x25b490(_0x436262._0x12f604)](homedir(), _0x25b490(0x18c), 'attachments');
|
|
83
|
+
function createAttachmentCache(_0x80e6f3 = {}) {
|
|
84
|
+
const _0x45e77f = { _0x3bcc62: 0x211 }, _0x5e0bfb = {
|
|
85
|
+
_0x3acfcf: 0x30f,
|
|
86
|
+
_0x27d894: 0x233,
|
|
87
|
+
_0x32afca: 0x33e,
|
|
88
|
+
_0x29082d: 0x211,
|
|
89
|
+
_0x1d2e46: 0x330
|
|
90
|
+
}, _0x373d41 = _0x855546, _0x106dbe = _0x80e6f3[_0x373d41(0x1d6)] ?? _0x5ce9b3[_0x373d41(_0x45e77f._0x3bcc62)](homedir(), '.dscord', _0x373d41(0x334));
|
|
110
91
|
return {
|
|
111
|
-
'cacheDir':
|
|
112
|
-
async 'findCachedPath'(
|
|
113
|
-
const
|
|
114
|
-
await mkdir(
|
|
115
|
-
const
|
|
116
|
-
return
|
|
92
|
+
'cacheDir': _0x106dbe,
|
|
93
|
+
async 'findCachedPath'(_0x137db7) {
|
|
94
|
+
const _0xa6a3af = _0x373d41;
|
|
95
|
+
await mkdir(_0x106dbe, { 'recursive': !![] });
|
|
96
|
+
const _0x1f3ebf = await readdir(_0x106dbe), _0x3af305 = _0x1f3ebf['find'](_0x2d6231 => _0x2d6231[_0xa6a3af(0x24f)](_0x137db7 + '-') || _0x2d6231[_0xa6a3af(0x24f)](_0x137db7));
|
|
97
|
+
return _0x3af305 ? _0x5ce9b3['join'](_0x106dbe, _0x3af305) : null;
|
|
117
98
|
},
|
|
118
|
-
async 'save'(
|
|
119
|
-
const
|
|
120
|
-
await mkdir(
|
|
121
|
-
const
|
|
122
|
-
return await writeFile(
|
|
99
|
+
async 'save'(_0x50673e) {
|
|
100
|
+
const _0x115f16 = _0x373d41;
|
|
101
|
+
await mkdir(_0x106dbe, { 'recursive': !![] });
|
|
102
|
+
const _0x101c50 = _0x50673e[_0x115f16(0x30f)]?.[_0x115f16(0x2db)]() ? safeFilename(_0x50673e[_0x115f16(_0x5e0bfb._0x3acfcf)]) : '' + _0x50673e[_0x115f16(_0x5e0bfb._0x27d894)] + extensionFor(_0x50673e[_0x115f16(_0x5e0bfb._0x32afca)]), _0x56d8fd = _0x5ce9b3[_0x115f16(_0x5e0bfb._0x29082d)](_0x106dbe, _0x50673e[_0x115f16(0x233)] + '-' + _0x101c50);
|
|
103
|
+
return await writeFile(_0x56d8fd, _0x50673e[_0x115f16(_0x5e0bfb._0x1d2e46)]), _0x56d8fd;
|
|
123
104
|
}
|
|
124
105
|
};
|
|
125
106
|
}
|
|
@@ -127,2232 +108,2244 @@ import {
|
|
|
127
108
|
createHash,
|
|
128
109
|
randomUUID
|
|
129
110
|
} from 'node:crypto';
|
|
130
|
-
var UNSUPPORTED_TARGET_MESSAGE =
|
|
131
|
-
function ensureSegment(
|
|
132
|
-
const
|
|
133
|
-
|
|
111
|
+
var UNSUPPORTED_TARGET_MESSAGE = _0x855546(0x29a);
|
|
112
|
+
function ensureSegment(_0x5dfc7b) {
|
|
113
|
+
const _0x4b7c60 = {
|
|
114
|
+
_0x4b6b9f: 0x2db,
|
|
115
|
+
_0x2674df: 0x2a4
|
|
116
|
+
}, _0x348f79 = _0x855546, _0x3859d8 = _0x5dfc7b[_0x348f79(_0x4b7c60._0x4b6b9f)]();
|
|
117
|
+
if (!_0x3859d8 || _0x3859d8[_0x348f79(_0x4b7c60._0x2674df)](':'))
|
|
134
118
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
135
|
-
return
|
|
119
|
+
return _0x3859d8;
|
|
136
120
|
}
|
|
137
|
-
function parseThreadParts(
|
|
138
|
-
const
|
|
139
|
-
if (
|
|
121
|
+
function parseThreadParts(_0x485190) {
|
|
122
|
+
const _0x485f1f = { _0xe08bc6: 0x26d }, _0x25c0c0 = _0x855546, _0x4c0303 = _0x485190[_0x25c0c0(0x1fd)](':');
|
|
123
|
+
if (_0x4c0303[_0x25c0c0(_0x485f1f._0xe08bc6)] < 0x1 || _0x4c0303[_0x25c0c0(0x26d)] > 0x2)
|
|
140
124
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
141
125
|
return {
|
|
142
|
-
'channelName': ensureSegment(
|
|
143
|
-
'threadShortId':
|
|
126
|
+
'channelName': ensureSegment(_0x4c0303[0x0] ?? ''),
|
|
127
|
+
'threadShortId': _0x4c0303[0x1] ? ensureSegment(_0x4c0303[0x1]) : null
|
|
144
128
|
};
|
|
145
129
|
}
|
|
146
|
-
function parseTarget(
|
|
147
|
-
const
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
}, _0x22d30e = _0x363898, _0x38bcbb = _0x3a67dc[_0x22d30e(0x2ad)]();
|
|
158
|
-
if (!_0x38bcbb)
|
|
130
|
+
function parseTarget(_0x366557) {
|
|
131
|
+
const _0x5e5f8a = {
|
|
132
|
+
_0x1299d2: 0x31c,
|
|
133
|
+
_0x293b5a: 0x316,
|
|
134
|
+
_0x3d1425: 0x316,
|
|
135
|
+
_0x9278b0: 0x24f,
|
|
136
|
+
_0x33f305: 0x1e2,
|
|
137
|
+
_0x1d0c93: 0x31c,
|
|
138
|
+
_0x24eba2: 0x316
|
|
139
|
+
}, _0x4a90e5 = _0x855546, _0x2e1845 = _0x366557[_0x4a90e5(0x2db)]();
|
|
140
|
+
if (!_0x2e1845)
|
|
159
141
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
160
|
-
if (
|
|
161
|
-
const
|
|
162
|
-
if (!
|
|
142
|
+
if (_0x2e1845['startsWith']('#')) {
|
|
143
|
+
const _0x4ddd1c = parseThreadParts(_0x2e1845[_0x4a90e5(0x286)](0x1)), _0x1850f6 = '#' + _0x4ddd1c[_0x4a90e5(_0x5e5f8a._0x1299d2)];
|
|
144
|
+
if (!_0x4ddd1c[_0x4a90e5(_0x5e5f8a._0x293b5a)])
|
|
163
145
|
return {
|
|
164
|
-
'channelName':
|
|
165
|
-
'channelTarget':
|
|
166
|
-
'kind':
|
|
167
|
-
'target':
|
|
146
|
+
'channelName': _0x4ddd1c[_0x4a90e5(_0x5e5f8a._0x1299d2)],
|
|
147
|
+
'channelTarget': _0x1850f6,
|
|
148
|
+
'kind': _0x4a90e5(0x280),
|
|
149
|
+
'target': _0x1850f6
|
|
168
150
|
};
|
|
169
151
|
return {
|
|
170
|
-
'channelName':
|
|
171
|
-
'channelTarget':
|
|
172
|
-
'kind':
|
|
173
|
-
'target':
|
|
174
|
-
'threadShortId':
|
|
152
|
+
'channelName': _0x4ddd1c[_0x4a90e5(_0x5e5f8a._0x1299d2)],
|
|
153
|
+
'channelTarget': _0x1850f6,
|
|
154
|
+
'kind': _0x4a90e5(0x261),
|
|
155
|
+
'target': _0x1850f6 + ':' + _0x4ddd1c[_0x4a90e5(_0x5e5f8a._0x3d1425)],
|
|
156
|
+
'threadShortId': _0x4ddd1c['threadShortId']
|
|
175
157
|
};
|
|
176
158
|
}
|
|
177
|
-
if (
|
|
178
|
-
const
|
|
179
|
-
if (!
|
|
159
|
+
if (_0x2e1845[_0x4a90e5(_0x5e5f8a._0x9278b0)](_0x4a90e5(_0x5e5f8a._0x33f305))) {
|
|
160
|
+
const _0x4689f5 = parseThreadParts(_0x2e1845['slice'](0x3));
|
|
161
|
+
if (!_0x4689f5[_0x4a90e5(0x31c)][_0x4a90e5(0x24f)](_0x4a90e5(0x23d)))
|
|
180
162
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
181
|
-
const
|
|
182
|
-
if (!
|
|
163
|
+
const _0x59ffd1 = _0x4a90e5(0x1e2) + _0x4689f5[_0x4a90e5(_0x5e5f8a._0x1d0c93)];
|
|
164
|
+
if (!_0x4689f5[_0x4a90e5(_0x5e5f8a._0x24eba2)])
|
|
183
165
|
return {
|
|
184
|
-
'channelName':
|
|
185
|
-
'channelTarget':
|
|
186
|
-
'kind':
|
|
187
|
-
'target':
|
|
166
|
+
'channelName': _0x4689f5[_0x4a90e5(0x31c)],
|
|
167
|
+
'channelTarget': _0x59ffd1,
|
|
168
|
+
'kind': 'channel',
|
|
169
|
+
'target': _0x59ffd1
|
|
188
170
|
};
|
|
189
171
|
return {
|
|
190
|
-
'channelName':
|
|
191
|
-
'channelTarget':
|
|
192
|
-
'kind':
|
|
193
|
-
'target':
|
|
194
|
-
'threadShortId':
|
|
172
|
+
'channelName': _0x4689f5['channelName'],
|
|
173
|
+
'channelTarget': _0x59ffd1,
|
|
174
|
+
'kind': _0x4a90e5(0x261),
|
|
175
|
+
'target': _0x59ffd1 + ':' + _0x4689f5[_0x4a90e5(_0x5e5f8a._0x3d1425)],
|
|
176
|
+
'threadShortId': _0x4689f5['threadShortId']
|
|
195
177
|
};
|
|
196
178
|
}
|
|
197
179
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
198
180
|
}
|
|
199
|
-
function asErrorMessage(
|
|
200
|
-
const
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
181
|
+
function asErrorMessage(_0x3d0812, _0x3f0651) {
|
|
182
|
+
const _0x41761e = {
|
|
183
|
+
_0x513405: 0x2e8,
|
|
184
|
+
_0x107431: 0x2db
|
|
185
|
+
}, _0x2e7d51 = _0x855546;
|
|
186
|
+
if (typeof _0x3d0812 === _0x2e7d51(_0x41761e._0x513405) && _0x3d0812[_0x2e7d51(_0x41761e._0x107431)]())
|
|
187
|
+
return _0x3d0812;
|
|
188
|
+
return _0x3f0651;
|
|
204
189
|
}
|
|
205
|
-
function asRecord(
|
|
206
|
-
|
|
207
|
-
return typeof _0x3b00b2 === _0x5c8b24(_0x9ddc2d._0x231bcc) && _0x3b00b2 !== null ? _0x3b00b2 : {};
|
|
190
|
+
function asRecord(_0x1377d7) {
|
|
191
|
+
return typeof _0x1377d7 === 'object' && _0x1377d7 !== null ? _0x1377d7 : {};
|
|
208
192
|
}
|
|
209
|
-
function stableStringify(
|
|
210
|
-
const
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
return '{' + _0x303454[_0x2364ea(0x18e)](',') + '}';
|
|
193
|
+
function stableStringify(_0x310a9d) {
|
|
194
|
+
const _0x4d6991 = {
|
|
195
|
+
_0x5a6b0e: 0x234,
|
|
196
|
+
_0x57e1ba: 0x275,
|
|
197
|
+
_0x1f80c9: 0x211
|
|
198
|
+
}, _0x28bc8d = _0x855546;
|
|
199
|
+
if (_0x310a9d === null || typeof _0x310a9d !== 'object')
|
|
200
|
+
return JSON['stringify'](_0x310a9d);
|
|
201
|
+
if (Array[_0x28bc8d(_0x4d6991._0x5a6b0e)](_0x310a9d))
|
|
202
|
+
return '[' + _0x310a9d[_0x28bc8d(0x34b)](_0x5c4ea => stableStringify(_0x5c4ea))[_0x28bc8d(0x211)](',') + ']';
|
|
203
|
+
const _0x306776 = Object[_0x28bc8d(0x28d)](_0x310a9d)[_0x28bc8d(_0x4d6991._0x57e1ba)](([, _0x43f9a6]) => _0x43f9a6 !== void 0x0)['sort'](([_0x230698], [_0x2bf3a8]) => _0x230698[_0x28bc8d(0x236)](_0x2bf3a8))['map'](([_0xbdb5d5, _0x309637]) => JSON[_0x28bc8d(0x219)](_0xbdb5d5) + ':' + stableStringify(_0x309637));
|
|
204
|
+
return '{' + _0x306776[_0x28bc8d(_0x4d6991._0x1f80c9)](',') + '}';
|
|
222
205
|
}
|
|
223
|
-
function createHeaders(
|
|
224
|
-
const
|
|
206
|
+
function createHeaders(_0x3bea51) {
|
|
207
|
+
const _0x3cc2a2 = { _0x2021b0: 0x2fc }, _0x4f59cb = _0x855546;
|
|
225
208
|
return {
|
|
226
|
-
'Content-Type':
|
|
227
|
-
'x-daemon-api-key':
|
|
209
|
+
'Content-Type': _0x4f59cb(_0x3cc2a2._0x2021b0),
|
|
210
|
+
'x-daemon-api-key': _0x3bea51
|
|
228
211
|
};
|
|
229
212
|
}
|
|
230
|
-
function toHttpBaseUrl(
|
|
231
|
-
const
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
213
|
+
function toHttpBaseUrl(_0x440925) {
|
|
214
|
+
const _0x477795 = {
|
|
215
|
+
_0x5c4254: 0x34e,
|
|
216
|
+
_0xd899e3: 0x215,
|
|
217
|
+
_0x34f6cf: 0x34e,
|
|
218
|
+
_0x3b5475: 0x2b8
|
|
219
|
+
}, _0x5dda1c = _0x855546, _0x42342d = new URL(_0x440925);
|
|
220
|
+
if (_0x42342d['protocol'] === _0x5dda1c(0x1d5))
|
|
221
|
+
_0x42342d[_0x5dda1c(_0x477795._0x5c4254)] = _0x5dda1c(_0x477795._0xd899e3);
|
|
238
222
|
else
|
|
239
|
-
|
|
240
|
-
return
|
|
223
|
+
_0x42342d[_0x5dda1c(0x34e)] === _0x5dda1c(0x2c4) && (_0x42342d[_0x5dda1c(_0x477795._0x34f6cf)] = 'https:');
|
|
224
|
+
return _0x42342d[_0x5dda1c(_0x477795._0x3b5475)]()['replace'](/\/$/, '');
|
|
241
225
|
}
|
|
242
|
-
function isMentionBoundary(
|
|
243
|
-
|
|
244
|
-
return !_0x1f7984 || /\s|[([{'",。!?、:;]/[_0x3f034f(_0x46d4f5._0x2b9738)](_0x1f7984);
|
|
226
|
+
function isMentionBoundary(_0xea9190) {
|
|
227
|
+
return !_0xea9190 || /\s|[([{'",。!?、:;]/['test'](_0xea9190);
|
|
245
228
|
}
|
|
246
|
-
function isMentionTerminal(
|
|
247
|
-
const
|
|
248
|
-
return !
|
|
229
|
+
function isMentionTerminal(_0x378028) {
|
|
230
|
+
const _0x5f06f5 = _0x855546;
|
|
231
|
+
return !_0x378028 || /\s|[)\]}'",。!?、:;,.!?]/[_0x5f06f5(0x2bb)](_0x378028);
|
|
249
232
|
}
|
|
250
|
-
function buildMatchableEntries(
|
|
251
|
-
const
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
..._0x2e3643[_0x453b73(_0x5d64f4._0x459563)],
|
|
259
|
-
..._0x2e3643[_0x453b73(_0x5d64f4._0x402200)]
|
|
233
|
+
function buildMatchableEntries(_0x36814c) {
|
|
234
|
+
const _0x383cc7 = {
|
|
235
|
+
_0x42e41b: 0x2eb,
|
|
236
|
+
_0x14f656: 0x34c
|
|
237
|
+
}, _0x47d032 = _0x855546, _0x5aa9be = [];
|
|
238
|
+
for (const _0x3eba93 of [
|
|
239
|
+
..._0x36814c['agents'],
|
|
240
|
+
..._0x36814c[_0x47d032(0x235)]
|
|
260
241
|
]) {
|
|
261
|
-
|
|
262
|
-
'matchName':
|
|
263
|
-
'matchNameLower':
|
|
264
|
-
'participantId':
|
|
265
|
-
}),
|
|
266
|
-
'matchName':
|
|
267
|
-
'matchNameLower':
|
|
268
|
-
'participantId':
|
|
242
|
+
_0x5aa9be[_0x47d032(_0x383cc7._0x42e41b)]({
|
|
243
|
+
'matchName': _0x3eba93[_0x47d032(0x341)],
|
|
244
|
+
'matchNameLower': _0x3eba93[_0x47d032(0x341)][_0x47d032(_0x383cc7._0x14f656)](),
|
|
245
|
+
'participantId': _0x3eba93['id']
|
|
246
|
+
}), _0x3eba93['id'] !== _0x3eba93[_0x47d032(0x341)] && _0x5aa9be[_0x47d032(0x2eb)]({
|
|
247
|
+
'matchName': _0x3eba93['id'],
|
|
248
|
+
'matchNameLower': _0x3eba93['id'][_0x47d032(_0x383cc7._0x14f656)](),
|
|
249
|
+
'participantId': _0x3eba93['id']
|
|
269
250
|
});
|
|
270
251
|
}
|
|
271
|
-
return
|
|
252
|
+
return _0x5aa9be;
|
|
272
253
|
}
|
|
273
|
-
function extractMentionedParticipantIds(
|
|
274
|
-
const
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
},
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
_0x2b570c: 0x2bd
|
|
284
|
-
}, _0x1cae08 = _0x363898, _0x48d944 = buildMatchableEntries(_0x4fa735)[_0x1cae08(_0x1013b3._0x5c4a6c)]((_0x13eadb, _0x28d445) => _0x28d445[_0x1cae08(0x1af)][_0x1cae08(0x2bd)] - _0x13eadb['matchName'][_0x1cae08(0x2bd)]), _0x35e7ce = [], _0x95dd4a = new Set();
|
|
285
|
-
for (let _0x86f24a = 0x0; _0x86f24a < _0x1f930b[_0x1cae08(0x2bd)]; _0x86f24a += 0x1) {
|
|
286
|
-
if (_0x1f930b[_0x86f24a] !== '@' || !isMentionBoundary(_0x1f930b[_0x86f24a - 0x1]))
|
|
254
|
+
function extractMentionedParticipantIds(_0x325882, _0xfddd05) {
|
|
255
|
+
const _0x414eff = {
|
|
256
|
+
_0x4034df: 0x1fa,
|
|
257
|
+
_0x332fee: 0x2eb
|
|
258
|
+
}, _0x1586d4 = {
|
|
259
|
+
_0x2c7623: 0x24f,
|
|
260
|
+
_0xa5751a: 0x23b
|
|
261
|
+
}, _0x28722b = _0x855546, _0x1af2d1 = buildMatchableEntries(_0xfddd05)[_0x28722b(_0x414eff._0x4034df)]((_0x37eeff, _0x16a8d8) => _0x16a8d8['matchName'][_0x28722b(0x26d)] - _0x37eeff[_0x28722b(0x32b)][_0x28722b(0x26d)]), _0xda25a5 = [], _0x52653a = new Set();
|
|
262
|
+
for (let _0x61357d = 0x0; _0x61357d < _0x325882[_0x28722b(0x26d)]; _0x61357d += 0x1) {
|
|
263
|
+
if (_0x325882[_0x61357d] !== '@' || !isMentionBoundary(_0x325882[_0x61357d - 0x1]))
|
|
287
264
|
continue;
|
|
288
|
-
const
|
|
289
|
-
const
|
|
290
|
-
if (!
|
|
265
|
+
const _0x245582 = _0x325882[_0x28722b(0x286)](_0x61357d + 0x1), _0x19680d = _0x245582['toLocaleLowerCase'](), _0x3b5226 = _0x1af2d1['find'](_0x40fc6f => {
|
|
266
|
+
const _0x16ce70 = _0x28722b;
|
|
267
|
+
if (!_0x19680d[_0x16ce70(_0x1586d4._0x2c7623)](_0x40fc6f[_0x16ce70(_0x1586d4._0xa5751a)]))
|
|
291
268
|
return ![];
|
|
292
|
-
return isMentionTerminal(
|
|
269
|
+
return isMentionTerminal(_0x245582[_0x40fc6f[_0x16ce70(0x32b)][_0x16ce70(0x26d)]]);
|
|
293
270
|
});
|
|
294
|
-
if (!
|
|
271
|
+
if (!_0x3b5226 || _0x52653a['has'](_0x3b5226['participantId']))
|
|
295
272
|
continue;
|
|
296
|
-
|
|
273
|
+
_0x52653a[_0x28722b(0x348)](_0x3b5226[_0x28722b(0x295)]), _0xda25a5[_0x28722b(_0x414eff._0x332fee)](_0x3b5226['participantId']), _0x61357d += _0x3b5226[_0x28722b(0x32b)]['length'];
|
|
297
274
|
}
|
|
298
|
-
return
|
|
275
|
+
return _0xda25a5;
|
|
299
276
|
}
|
|
300
277
|
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
301
|
-
function anySignal(...
|
|
302
|
-
const
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
},
|
|
307
|
-
for (const
|
|
308
|
-
if (
|
|
309
|
-
return
|
|
310
|
-
|
|
278
|
+
function anySignal(..._0xdbc7d8) {
|
|
279
|
+
const _0x4de439 = {
|
|
280
|
+
_0x51ec0b: 0x271,
|
|
281
|
+
_0x475c06: 0x22b,
|
|
282
|
+
_0x1cc154: 0x1ef
|
|
283
|
+
}, _0x5adfa0 = _0x855546, _0x3bda40 = new AbortController();
|
|
284
|
+
for (const _0x58dc92 of _0xdbc7d8) {
|
|
285
|
+
if (_0x58dc92[_0x5adfa0(_0x4de439._0x51ec0b)])
|
|
286
|
+
return _0x3bda40['abort'](_0x58dc92['reason']), _0x3bda40[_0x5adfa0(0x2ee)];
|
|
287
|
+
_0x58dc92[_0x5adfa0(_0x4de439._0x475c06)](_0x5adfa0(_0x4de439._0x1cc154), () => _0x3bda40[_0x5adfa0(0x1ef)](_0x58dc92[_0x5adfa0(0x2b7)]), {
|
|
311
288
|
'once': !![],
|
|
312
|
-
'signal':
|
|
289
|
+
'signal': _0x3bda40['signal']
|
|
313
290
|
});
|
|
314
291
|
}
|
|
315
|
-
return
|
|
292
|
+
return _0x3bda40[_0x5adfa0(0x2ee)];
|
|
316
293
|
}
|
|
317
|
-
function createInternalAgentClient(
|
|
318
|
-
const
|
|
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
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
},
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
},
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
let _0x43b86a = _0x1a75b1, _0x23223a = _0x1a75b1;
|
|
489
|
-
function _0x35706e(_0x576405) {
|
|
490
|
-
const _0x3d002f = _0x1a51eb, _0x3c49ec = _0x576405[_0x3d002f(0x184)][_0x3d002f(_0x493ef2._0x1bd1a8)][_0x3d002f(0x28c)]('content-type') ?? _0x3d002f(_0x493ef2._0x2ee5ed), _0x4ed4be = _0x576405[_0x3d002f(_0x493ef2._0x1f3f3c)][_0x3d002f(0x2ad)]()[_0x3d002f(_0x493ef2._0x476b15)](/\s+/g, '\x20')[_0x3d002f(_0x493ef2._0x3e7128)](0x0, 0x78) || '<empty>';
|
|
491
|
-
return _0x3d002f(_0x493ef2._0xadc446) + _0x576405[_0x3d002f(0x20d)] + _0x3d002f(0x15e) + _0x576405[_0x3d002f(_0x493ef2._0x44e1b1)][_0x3d002f(0x291)] + _0x3d002f(_0x493ef2._0x2841fa) + _0x3c49ec + _0x3d002f(_0x493ef2._0x124dc4) + _0x4ed4be + _0x3d002f(0x181);
|
|
294
|
+
function createInternalAgentClient(_0x233de1) {
|
|
295
|
+
const _0x4b02fa = {
|
|
296
|
+
_0x3aa523: 0x28f,
|
|
297
|
+
_0x4aa32b: 0x1cf,
|
|
298
|
+
_0x129347: 0x2db,
|
|
299
|
+
_0x40a9bb: 0x24e,
|
|
300
|
+
_0x5b2b25: 0x1d7,
|
|
301
|
+
_0x55df80: 0x2ad
|
|
302
|
+
}, _0x30db93 = {
|
|
303
|
+
_0x1ac232: 0x1f3,
|
|
304
|
+
_0x19a1b5: 0x27e,
|
|
305
|
+
_0x41a40c: 0x330,
|
|
306
|
+
_0x9d4bc6: 0x26d,
|
|
307
|
+
_0x5e3e41: 0x346,
|
|
308
|
+
_0x884952: 0x328,
|
|
309
|
+
_0x17c21b: 0x34b,
|
|
310
|
+
_0x3e3e96: 0x34b,
|
|
311
|
+
_0xab92f7: 0x2e4,
|
|
312
|
+
_0x3b5101: 0x2e8,
|
|
313
|
+
_0x5a5e38: 0x2b6,
|
|
314
|
+
_0x53f51b: 0x2b6,
|
|
315
|
+
_0x4e827c: 0x2b6,
|
|
316
|
+
_0x4bed12: 0x2f9,
|
|
317
|
+
_0x4c10de: 0x319,
|
|
318
|
+
_0x3cdf48: 0x2eb,
|
|
319
|
+
_0x586bbe: 0x28d,
|
|
320
|
+
_0xcd4d93: 0x299,
|
|
321
|
+
_0x1df182: 0x1e2,
|
|
322
|
+
_0x4d9f6a: 0x2e7,
|
|
323
|
+
_0x327545: 0x258,
|
|
324
|
+
_0x5cae3d: 0x2e7,
|
|
325
|
+
_0x536634: 0x1f7,
|
|
326
|
+
_0x3c1dd3: 0x284,
|
|
327
|
+
_0x5d3b52: 0x25a,
|
|
328
|
+
_0x25ba8c: 0x21d,
|
|
329
|
+
_0x54eec3: 0x294,
|
|
330
|
+
_0x3a7a61: 0x27b,
|
|
331
|
+
_0x2cafed: 0x25a,
|
|
332
|
+
_0x2b212d: 0x2ff
|
|
333
|
+
}, _0x111287 = {
|
|
334
|
+
_0x2df2eb: 0x1e9,
|
|
335
|
+
_0xfec1f: 0x2bf,
|
|
336
|
+
_0x54d632: 0x2e4
|
|
337
|
+
}, _0x4d6eca = {
|
|
338
|
+
_0x30b4a5: 0x209,
|
|
339
|
+
_0x856600: 0x201,
|
|
340
|
+
_0x100e6a: 0x2ee,
|
|
341
|
+
_0x3aa6fb: 0x243,
|
|
342
|
+
_0x4ff6be: 0x30f
|
|
343
|
+
}, _0x260718 = {
|
|
344
|
+
_0x4f9c84: 0x1ee,
|
|
345
|
+
_0x5b6f88: 0x2f4,
|
|
346
|
+
_0x35ae65: 0x219,
|
|
347
|
+
_0x366190: 0x1d9
|
|
348
|
+
}, _0x372d68 = {
|
|
349
|
+
_0x11f041: 0x1f3,
|
|
350
|
+
_0x5756ef: 0x318
|
|
351
|
+
}, _0x472810 = { _0x361ae4: 0x2f4 }, _0x32a97c = {
|
|
352
|
+
_0x21e22e: 0x1f3,
|
|
353
|
+
_0x4740ea: 0x2f4,
|
|
354
|
+
_0x59b01a: 0x2b3,
|
|
355
|
+
_0x310374: 0x219
|
|
356
|
+
}, _0x468cc2 = {
|
|
357
|
+
_0x2e5b38: 0x2f4,
|
|
358
|
+
_0x1a4c73: 0x231,
|
|
359
|
+
_0x51600a: 0x318
|
|
360
|
+
}, _0x3cc742 = {
|
|
361
|
+
_0x23c770: 0x214,
|
|
362
|
+
_0x124874: 0x1f3,
|
|
363
|
+
_0x590fa1: 0x2a0,
|
|
364
|
+
_0x2009a2: 0x201
|
|
365
|
+
}, _0x48b275 = {
|
|
366
|
+
_0x3166a5: 0x220,
|
|
367
|
+
_0x2fc685: 0x297,
|
|
368
|
+
_0x83b0d4: 0x29d,
|
|
369
|
+
_0x29245f: 0x330
|
|
370
|
+
}, _0x455ed7 = {
|
|
371
|
+
_0x498704: 0x219,
|
|
372
|
+
_0x1dc4ea: 0x220,
|
|
373
|
+
_0x5e81e0: 0x283
|
|
374
|
+
}, _0x251dbd = {
|
|
375
|
+
_0x108db0: 0x293,
|
|
376
|
+
_0x451738: 0x219
|
|
377
|
+
}, _0x45b521 = {
|
|
378
|
+
_0x332b1f: 0x2f8,
|
|
379
|
+
_0x374e1e: 0x201
|
|
380
|
+
}, _0x37bb74 = {
|
|
381
|
+
_0x26d4e3: 0x1f7,
|
|
382
|
+
_0x3613ef: 0x2a4,
|
|
383
|
+
_0x36f3a7: 0x1f3,
|
|
384
|
+
_0x51eb37: 0x2f4,
|
|
385
|
+
_0x4cb68a: 0x290,
|
|
386
|
+
_0x4836b3: 0x219
|
|
387
|
+
}, _0x1787fb = {
|
|
388
|
+
_0x1547df: 0x315,
|
|
389
|
+
_0x2ef309: 0x214,
|
|
390
|
+
_0x453b31: 0x2e4,
|
|
391
|
+
_0x3127a3: 0x2bf,
|
|
392
|
+
_0x174920: 0x2bf,
|
|
393
|
+
_0x401759: 0x214,
|
|
394
|
+
_0x34d758: 0x2bf,
|
|
395
|
+
_0x266f36: 0x218,
|
|
396
|
+
_0x562334: 0x214,
|
|
397
|
+
_0x2b143b: 0x1f3,
|
|
398
|
+
_0x3b92da: 0x217,
|
|
399
|
+
_0x5d3a2c: 0x201,
|
|
400
|
+
_0xcee16c: 0x1e6,
|
|
401
|
+
_0x1a88a0: 0x279
|
|
402
|
+
}, _0xf58b12 = { _0x42f4d1: 0x1f2 }, _0x4d7666 = {
|
|
403
|
+
_0x2934d3: 0x305,
|
|
404
|
+
_0x283a06: 0x305,
|
|
405
|
+
_0x82354c: 0x2b6,
|
|
406
|
+
_0x2ad28b: 0x316,
|
|
407
|
+
_0x4ccdf3: 0x319,
|
|
408
|
+
_0x3ee7cc: 0x2e4,
|
|
409
|
+
_0x8c8f3: 0x316
|
|
410
|
+
}, _0x55bce8 = {
|
|
411
|
+
_0xca8e51: 0x2b6,
|
|
412
|
+
_0x1fe19e: 0x305,
|
|
413
|
+
_0xa43b7b: 0x319,
|
|
414
|
+
_0x40b988: 0x2e4,
|
|
415
|
+
_0x1cd943: 0x305
|
|
416
|
+
}, _0x574be5 = {
|
|
417
|
+
_0x266e9b: 0x1db,
|
|
418
|
+
_0x175d83: 0x2f0
|
|
419
|
+
}, _0x306060 = {
|
|
420
|
+
_0x3cd6e0: 0x1f3,
|
|
421
|
+
_0x5aa2e9: 0x2f4,
|
|
422
|
+
_0x4f5726: 0x275,
|
|
423
|
+
_0x4a8e94: 0x330,
|
|
424
|
+
_0x10032c: 0x328,
|
|
425
|
+
_0x134237: 0x2ea,
|
|
426
|
+
_0x4549a1: 0x341
|
|
427
|
+
}, _0x3e0e59 = {
|
|
428
|
+
_0x5ec89c: 0x1f3,
|
|
429
|
+
_0x3944e3: 0x2f4,
|
|
430
|
+
_0x2c55e5: 0x219,
|
|
431
|
+
_0x4e5fda: 0x221,
|
|
432
|
+
_0x4bb70c: 0x318,
|
|
433
|
+
_0x48a515: 0x28a,
|
|
434
|
+
_0x4cd29d: 0x330,
|
|
435
|
+
_0x504f92: 0x2e4
|
|
436
|
+
}, _0xbc79ee = {
|
|
437
|
+
_0x51acaf: 0x219,
|
|
438
|
+
_0x587db2: 0x2fc,
|
|
439
|
+
_0x147793: 0x318
|
|
440
|
+
}, _0x390be2 = {
|
|
441
|
+
_0x56fe3e: 0x219,
|
|
442
|
+
_0x20186c: 0x2d3
|
|
443
|
+
}, _0x3deac2 = { _0x1807a7: 0x29d }, _0x8830bc = { _0x2eabc6: 0x2ee }, _0x5e21b0 = {
|
|
444
|
+
_0x1fd844: 0x2db,
|
|
445
|
+
_0xbc4520: 0x325,
|
|
446
|
+
_0x557534: 0x214
|
|
447
|
+
}, _0x1c6b81 = {
|
|
448
|
+
_0x2b5ac3: 0x333,
|
|
449
|
+
_0x200671: 0x2b8,
|
|
450
|
+
_0x306873: 0x2cc
|
|
451
|
+
}, _0x16606d = {
|
|
452
|
+
_0x5c0384: 0x243,
|
|
453
|
+
_0x148dcc: 0x232,
|
|
454
|
+
_0x50dc36: 0x30d,
|
|
455
|
+
_0x517ff3: 0x29e,
|
|
456
|
+
_0x1c8453: 0x2ed,
|
|
457
|
+
_0x1b6af5: 0x336
|
|
458
|
+
}, _0x5ee3c8 = _0x855546, _0x2f5464 = _0x233de1[_0x5ee3c8(_0x4b02fa._0x3aa523)] ?? fetch, _0x3ed37d = _0x233de1[_0x5ee3c8(0x2a5)] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x4ae180 = typeof _0x233de1[_0x5ee3c8(0x1cf)] === 'number' && _0x233de1[_0x5ee3c8(0x1cf)] > 0x0 ? _0x233de1[_0x5ee3c8(_0x4b02fa._0x4aa32b)] : 0x0, _0x52b57e = _0x233de1['daemonLocalUrl']?.[_0x5ee3c8(0x2db)]() || void 0x0, _0x11910a = _0x233de1['sessionId']?.[_0x5ee3c8(_0x4b02fa._0x129347)]() || void 0x0, _0x2ba051 = _0x233de1[_0x5ee3c8(0x205)] === !![], _0x1797c3 = _0x233de1[_0x5ee3c8(_0x4b02fa._0x40a9bb)]?.[_0x5ee3c8(_0x4b02fa._0x129347)]() || void 0x0, _0x5896bf = _0x233de1[_0x5ee3c8(_0x4b02fa._0x5b2b25)]?.[_0x5ee3c8(0x2db)]() || void 0x0, _0xd50ea8 = createHeaders(_0x233de1['daemonApiKey']), _0x22e36d = toHttpBaseUrl(_0x233de1[_0x5ee3c8(_0x4b02fa._0x55df80)]);
|
|
459
|
+
let _0x4b118d = null;
|
|
460
|
+
const _0x3c1766 = new Map();
|
|
461
|
+
let _0x3ce3dd = _0x4ae180, _0x5bc583 = _0x4ae180;
|
|
462
|
+
function _0x433d15(_0x53cbdd) {
|
|
463
|
+
const _0x166ba5 = _0x5ee3c8, _0x3ee9e1 = _0x53cbdd['response'][_0x166ba5(_0x16606d._0x5c0384)][_0x166ba5(0x2e7)]('content-type') ?? 'unknown', _0x500600 = _0x53cbdd[_0x166ba5(_0x16606d._0x148dcc)]['trim']()[_0x166ba5(0x32a)](/\s+/g, '\x20')['slice'](0x0, 0x78) || '<empty>';
|
|
464
|
+
return _0x166ba5(_0x16606d._0x50dc36) + _0x53cbdd[_0x166ba5(_0x16606d._0x517ff3)] + _0x166ba5(_0x16606d._0x1c8453) + _0x53cbdd['response'][_0x166ba5(0x2d9)] + _0x166ba5(_0x16606d._0x1b6af5) + _0x3ee9e1 + _0x166ba5(0x21a) + _0x500600 + ')。这通常表示\x20serverUrl\x20指向了\x20web\x20站点,或代理没有把\x20daemon/internal\x20API\x20转发到后端。';
|
|
492
465
|
}
|
|
493
|
-
async function
|
|
494
|
-
const
|
|
495
|
-
if (!
|
|
466
|
+
async function _0x974768(_0x3493d4, _0x2ab2b0) {
|
|
467
|
+
const _0x4bf2cf = _0x5ee3c8, _0x36b189 = Buffer[_0x4bf2cf(_0x1c6b81._0x2b5ac3)](await _0x2ab2b0[_0x4bf2cf(0x301)]())[_0x4bf2cf(_0x1c6b81._0x200671)](_0x4bf2cf(_0x1c6b81._0x306873));
|
|
468
|
+
if (!_0x36b189['trim']())
|
|
496
469
|
return {};
|
|
497
470
|
try {
|
|
498
|
-
return JSON[
|
|
471
|
+
return JSON[_0x4bf2cf(0x22c)](_0x36b189);
|
|
499
472
|
} catch {
|
|
500
|
-
throw new Error(
|
|
501
|
-
'bodyText':
|
|
502
|
-
'requestUrl':
|
|
503
|
-
'response':
|
|
473
|
+
throw new Error(_0x433d15({
|
|
474
|
+
'bodyText': _0x36b189,
|
|
475
|
+
'requestUrl': _0x3493d4,
|
|
476
|
+
'response': _0x2ab2b0
|
|
504
477
|
}));
|
|
505
478
|
}
|
|
506
479
|
}
|
|
507
|
-
function
|
|
508
|
-
const
|
|
509
|
-
if (
|
|
510
|
-
return
|
|
511
|
-
const
|
|
512
|
-
for (const [
|
|
513
|
-
|
|
480
|
+
function _0x58cf97(_0x5c7145, _0x540b2f) {
|
|
481
|
+
const _0xf5702e = _0x5ee3c8, _0x5ce452 = typeof _0x540b2f[_0xf5702e(0x2c5)] === 'string' ? _0x540b2f['idempotency_key'][_0xf5702e(_0x5e21b0._0x1fd844)]() : '';
|
|
482
|
+
if (_0x5ce452)
|
|
483
|
+
return _0x5ce452;
|
|
484
|
+
const _0x43bc98 = Date[_0xf5702e(0x310)]();
|
|
485
|
+
for (const [_0x327407, _0x3f937e] of _0x3c1766) {
|
|
486
|
+
_0x3f937e[_0xf5702e(0x259)] <= _0x43bc98 && _0x3c1766[_0xf5702e(0x25c)](_0x327407);
|
|
514
487
|
}
|
|
515
|
-
const
|
|
516
|
-
...
|
|
488
|
+
const _0x44eb0c = {
|
|
489
|
+
..._0x540b2f,
|
|
517
490
|
'idempotency_key': void 0x0
|
|
518
|
-
},
|
|
519
|
-
if (
|
|
520
|
-
return
|
|
521
|
-
const
|
|
522
|
-
return
|
|
523
|
-
'expiresAt':
|
|
524
|
-
'value':
|
|
525
|
-
}),
|
|
491
|
+
}, _0x82c865 = createHash(_0xf5702e(0x23f))['update'](_0x5c7145 + ':' + stableStringify(_0x44eb0c))[_0xf5702e(_0x5e21b0._0xbc4520)](_0xf5702e(0x1e3)), _0x1d3769 = _0x5c7145 + ':' + _0x82c865, _0x24aa97 = _0x3c1766[_0xf5702e(0x2e7)](_0x1d3769);
|
|
492
|
+
if (_0x24aa97)
|
|
493
|
+
return _0x24aa97['value'];
|
|
494
|
+
const _0x2e6209 = _0xf5702e(0x304) + _0x5c7145 + ':' + randomUUID();
|
|
495
|
+
return _0x3c1766[_0xf5702e(_0x5e21b0._0x557534)](_0x1d3769, {
|
|
496
|
+
'expiresAt': _0x43bc98 + 0x5 * 0x3c * 0x3e8,
|
|
497
|
+
'value': _0x2e6209
|
|
498
|
+
}), _0x2e6209;
|
|
526
499
|
}
|
|
527
|
-
async function
|
|
528
|
-
const
|
|
500
|
+
async function _0x3d3cd0(_0x143e5c, _0x27c10c) {
|
|
501
|
+
const _0x50190b = _0x5ee3c8, _0x2dd838 = new AbortController(), _0xdf1619 = setTimeout(() => _0x2dd838[_0x50190b(0x1ef)](), _0x3ed37d), _0x9ada35 = _0x27c10c?.[_0x50190b(_0x8830bc._0x2eabc6)] ? anySignal(_0x27c10c['signal'], _0x2dd838[_0x50190b(0x2ee)]) : _0x2dd838[_0x50190b(0x2ee)], _0x142333 = '' + _0x22e36d + _0x143e5c;
|
|
529
502
|
try {
|
|
530
|
-
const
|
|
531
|
-
...
|
|
532
|
-
'signal':
|
|
533
|
-
}),
|
|
534
|
-
if (!
|
|
535
|
-
throw new Error(asErrorMessage(
|
|
536
|
-
return
|
|
503
|
+
const _0x470d51 = await _0x2f5464(_0x142333, {
|
|
504
|
+
..._0x27c10c,
|
|
505
|
+
'signal': _0x9ada35
|
|
506
|
+
}), _0x22ce92 = await _0x974768(_0x142333, _0x470d51);
|
|
507
|
+
if (!_0x470d51['ok'] || _0x22ce92[_0x50190b(0x345)] === ![])
|
|
508
|
+
throw new Error(asErrorMessage(_0x22ce92[_0x50190b(0x29d)], _0x50190b(0x300) + _0x470d51[_0x50190b(0x2d9)]));
|
|
509
|
+
return _0x22ce92;
|
|
537
510
|
} finally {
|
|
538
|
-
clearTimeout(
|
|
511
|
+
clearTimeout(_0xdf1619);
|
|
539
512
|
}
|
|
540
513
|
}
|
|
541
|
-
async function
|
|
542
|
-
const
|
|
514
|
+
async function _0x23135e(_0x3299cc, _0x7ef335) {
|
|
515
|
+
const _0xc58291 = _0x5ee3c8, _0x1dbf7e = new AbortController(), _0x561a8f = setTimeout(() => _0x1dbf7e[_0xc58291(0x1ef)](), _0x3ed37d), _0x99c87 = _0x7ef335?.[_0xc58291(0x2ee)] ? anySignal(_0x7ef335[_0xc58291(0x2ee)], _0x1dbf7e['signal']) : _0x1dbf7e[_0xc58291(0x2ee)], _0x170035 = '' + _0x22e36d + _0x3299cc;
|
|
543
516
|
try {
|
|
544
|
-
const
|
|
545
|
-
...
|
|
546
|
-
'signal':
|
|
547
|
-
}),
|
|
548
|
-
if (!
|
|
549
|
-
throw new Error(asErrorMessage(
|
|
550
|
-
return
|
|
517
|
+
const _0x2983cd = await _0x2f5464(_0x170035, {
|
|
518
|
+
..._0x7ef335,
|
|
519
|
+
'signal': _0x99c87
|
|
520
|
+
}), _0x411b0c = await _0x974768(_0x170035, _0x2983cd);
|
|
521
|
+
if (!_0x2983cd['ok'])
|
|
522
|
+
throw new Error(asErrorMessage(_0x411b0c[_0xc58291(_0x3deac2._0x1807a7)], _0xc58291(0x300) + _0x2983cd[_0xc58291(0x2d9)]));
|
|
523
|
+
return _0x411b0c;
|
|
551
524
|
} finally {
|
|
552
|
-
clearTimeout(
|
|
525
|
+
clearTimeout(_0x561a8f);
|
|
553
526
|
}
|
|
554
527
|
}
|
|
555
|
-
async function
|
|
556
|
-
const
|
|
557
|
-
if (!
|
|
528
|
+
async function _0x372f93(_0x1026f4) {
|
|
529
|
+
const _0x2bcdf8 = _0x5ee3c8;
|
|
530
|
+
if (!_0x11910a || _0x1026f4 <= _0x5bc583)
|
|
558
531
|
return;
|
|
559
|
-
await
|
|
560
|
-
'body': JSON[
|
|
561
|
-
'headers':
|
|
562
|
-
'method':
|
|
563
|
-
}),
|
|
532
|
+
await _0x3d3cd0(_0x2bcdf8(0x2b9) + encodeURIComponent(_0x11910a) + '/context-metrics', {
|
|
533
|
+
'body': JSON[_0x2bcdf8(_0x390be2._0x56fe3e)]({ 'lastSeenSeq': _0x1026f4 }),
|
|
534
|
+
'headers': _0xd50ea8,
|
|
535
|
+
'method': _0x2bcdf8(_0x390be2._0x20186c)
|
|
536
|
+
}), _0x5bc583 = _0x1026f4;
|
|
564
537
|
}
|
|
565
|
-
async function
|
|
566
|
-
const
|
|
567
|
-
if (!
|
|
538
|
+
async function _0x145239(_0x27d6e4) {
|
|
539
|
+
const _0x1c0c18 = _0x5ee3c8;
|
|
540
|
+
if (!_0x52b57e || !_0x1797c3 || _0x27d6e4 <= _0x5bc583)
|
|
568
541
|
return;
|
|
569
|
-
const
|
|
570
|
-
'body': JSON[
|
|
571
|
-
'last_seen_seq':
|
|
572
|
-
'worker_session_id':
|
|
542
|
+
const _0x3534a6 = await _0x2f5464(_0x52b57e + _0x1c0c18(0x228), {
|
|
543
|
+
'body': JSON[_0x1c0c18(_0xbc79ee._0x51acaf)]({
|
|
544
|
+
'last_seen_seq': _0x27d6e4,
|
|
545
|
+
'worker_session_id': _0x1797c3
|
|
573
546
|
}),
|
|
574
|
-
'headers': { 'Content-Type':
|
|
575
|
-
'method':
|
|
547
|
+
'headers': { 'Content-Type': _0x1c0c18(_0xbc79ee._0x587db2) },
|
|
548
|
+
'method': _0x1c0c18(_0xbc79ee._0x147793)
|
|
576
549
|
});
|
|
577
|
-
if (!
|
|
578
|
-
throw new Error(
|
|
579
|
-
|
|
550
|
+
if (!_0x3534a6['ok'])
|
|
551
|
+
throw new Error(_0x1c0c18(0x300) + _0x3534a6[_0x1c0c18(0x2d9)]);
|
|
552
|
+
_0x5bc583 = _0x27d6e4;
|
|
580
553
|
}
|
|
581
|
-
async function
|
|
582
|
-
const
|
|
583
|
-
'body': JSON[
|
|
584
|
-
'headers':
|
|
585
|
-
'method':
|
|
554
|
+
async function _0x6b68b7(_0x1f4a5f) {
|
|
555
|
+
const _0x46d01e = _0x5ee3c8, _0x23e485 = parseTarget(_0x1f4a5f), _0x1ab033 = await _0x3d3cd0(_0x46d01e(_0x3e0e59._0x5ec89c) + _0x233de1[_0x46d01e(_0x3e0e59._0x3944e3)] + _0x46d01e(0x23e), {
|
|
556
|
+
'body': JSON[_0x46d01e(_0x3e0e59._0x2c55e5)]({ 'target': _0x23e485[_0x46d01e(_0x3e0e59._0x4e5fda)] }),
|
|
557
|
+
'headers': _0xd50ea8,
|
|
558
|
+
'method': _0x46d01e(_0x3e0e59._0x4bb70c)
|
|
586
559
|
});
|
|
587
560
|
return {
|
|
588
|
-
'channelId':
|
|
589
|
-
'target':
|
|
590
|
-
'task':
|
|
591
|
-
'threadId':
|
|
592
|
-
'threadNumber':
|
|
561
|
+
'channelId': _0x1ab033[_0x46d01e(0x330)]?.['channelId'] ?? '',
|
|
562
|
+
'target': _0x23e485[_0x46d01e(0x305)],
|
|
563
|
+
'task': _0x1ab033['data']?.[_0x46d01e(_0x3e0e59._0x48a515)],
|
|
564
|
+
'threadId': _0x1ab033[_0x46d01e(_0x3e0e59._0x4cd29d)]?.[_0x46d01e(_0x3e0e59._0x504f92)],
|
|
565
|
+
'threadNumber': _0x1ab033[_0x46d01e(0x330)]?.['threadNumber']
|
|
593
566
|
};
|
|
594
567
|
}
|
|
595
|
-
async function
|
|
596
|
-
const
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
'
|
|
609
|
-
|
|
610
|
-
}), _0x34102f = _0x3ef0c6[_0x500949(0x28f)]?.[_0x500949(0x29d)] ?? [], _0x36ed3b = _0x34102f[_0x500949(_0x1b83e4._0x19347d)](_0x33ebf5 => _0x33ebf5[_0x500949(0x200)]?.[_0x500949(0x196)] === 'agent')[_0x500949(0x1ab)](_0x39a310 => ({
|
|
611
|
-
'id': _0xec9f81(_0x39a310),
|
|
612
|
-
'name': _0x6f0504(_0x39a310)
|
|
613
|
-
}))[_0x500949(_0x1b83e4._0x317452)](_0x2eb877 => _0x2eb877['id']), _0x1dc28a = _0x34102f[_0x500949(0x227)](_0x61368f => _0x61368f[_0x500949(0x200)]?.[_0x500949(0x196)] !== 'agent')[_0x500949(0x1ab)](_0x31bbc1 => ({
|
|
614
|
-
'id': _0xec9f81(_0x31bbc1),
|
|
615
|
-
'name': _0x6f0504(_0x31bbc1)
|
|
616
|
-
}))['filter'](_0xa6987 => _0xa6987['id']), _0x31230b = _0x3ef0c6[_0x500949(_0x1b83e4._0xdae1bc)]?.['server']['id'] ?? '';
|
|
568
|
+
async function _0x29453d(_0xebf18d = {}) {
|
|
569
|
+
const _0x5f6f72 = _0x5ee3c8;
|
|
570
|
+
if (!_0xebf18d[_0x5f6f72(_0x574be5._0x266e9b)] && _0x4b118d)
|
|
571
|
+
return _0x4b118d;
|
|
572
|
+
return _0x4b118d = (async () => {
|
|
573
|
+
const _0x427156 = _0x5f6f72, _0x1dd482 = await _0x3d3cd0(_0x427156(_0x306060._0x3cd6e0) + _0x233de1[_0x427156(_0x306060._0x5aa2e9)] + '/server', {
|
|
574
|
+
'headers': _0xd50ea8,
|
|
575
|
+
'method': _0x427156(0x201)
|
|
576
|
+
}), _0x2fc34b = _0x1dd482[_0x427156(0x330)]?.['members'] ?? [], _0x2135fb = _0x2fc34b['filter'](_0x47105e => _0x47105e[_0x427156(0x349)]?.[_0x427156(0x1ec)] === _0x427156(0x2ba))['map'](_0x80ab1e => ({
|
|
577
|
+
'id': _0xc2edbb(_0x80ab1e),
|
|
578
|
+
'name': _0x20f00d(_0x80ab1e)
|
|
579
|
+
}))[_0x427156(0x275)](_0x5dea35 => _0x5dea35['id']), _0x8517d5 = _0x2fc34b[_0x427156(_0x306060._0x4f5726)](_0x1a95cd => _0x1a95cd[_0x427156(0x349)]?.['type'] !== 'agent')['map'](_0x4313cb => ({
|
|
580
|
+
'id': _0xc2edbb(_0x4313cb),
|
|
581
|
+
'name': _0x20f00d(_0x4313cb)
|
|
582
|
+
}))[_0x427156(_0x306060._0x4f5726)](_0x480b40 => _0x480b40['id']), _0x398335 = _0x1dd482['data']?.[_0x427156(0x2ea)]['id'] ?? '';
|
|
617
583
|
return {
|
|
618
|
-
'agents':
|
|
619
|
-
'channels':
|
|
620
|
-
'humans':
|
|
621
|
-
'serverId':
|
|
622
|
-
'serverName':
|
|
584
|
+
'agents': _0x2135fb,
|
|
585
|
+
'channels': _0x1dd482[_0x427156(_0x306060._0x4a8e94)]?.[_0x427156(_0x306060._0x10032c)] ?? [],
|
|
586
|
+
'humans': _0x8517d5,
|
|
587
|
+
'serverId': _0x398335,
|
|
588
|
+
'serverName': _0x1dd482['data']?.[_0x427156(_0x306060._0x134237)][_0x427156(_0x306060._0x4549a1)] ?? _0x398335
|
|
623
589
|
};
|
|
624
|
-
})()[
|
|
625
|
-
|
|
626
|
-
throw
|
|
627
|
-
}),
|
|
590
|
+
})()[_0x5f6f72(_0x574be5._0x175d83)](_0x29d524 => {
|
|
591
|
+
_0x4b118d = null;
|
|
592
|
+
throw _0x29d524;
|
|
593
|
+
}), _0x4b118d;
|
|
628
594
|
}
|
|
629
|
-
function
|
|
630
|
-
const
|
|
631
|
-
return
|
|
595
|
+
function _0x435787(_0x2ed2f3, _0x8cae7e) {
|
|
596
|
+
const _0x2ceebc = _0x5ee3c8;
|
|
597
|
+
return _0x8cae7e[_0x2ceebc(0x2c8)][_0x2ceebc(0x22e)](_0x399c74 => _0x399c74['id'] === _0x2ed2f3 || _0x399c74[_0x2ceebc(0x341)] === _0x2ed2f3) ? _0x2ceebc(0x2ba) : 'human';
|
|
632
598
|
}
|
|
633
|
-
function
|
|
634
|
-
const
|
|
635
|
-
if (
|
|
636
|
-
return
|
|
637
|
-
if (
|
|
638
|
-
return
|
|
639
|
-
if (
|
|
640
|
-
return
|
|
641
|
-
return
|
|
599
|
+
function _0x40db51(_0x9bd774) {
|
|
600
|
+
const _0x4ccd92 = _0x5ee3c8;
|
|
601
|
+
if (_0x9bd774[_0x4ccd92(_0x55bce8._0xca8e51)] != null)
|
|
602
|
+
return _0x9bd774[_0x4ccd92(_0x55bce8._0x1fe19e)] + ':t' + _0x9bd774['threadNumber'];
|
|
603
|
+
if (_0x9bd774[_0x4ccd92(_0x55bce8._0xa43b7b)])
|
|
604
|
+
return _0x9bd774[_0x4ccd92(0x305)] + ':' + _0x9bd774['rootMessageId'];
|
|
605
|
+
if (_0x9bd774[_0x4ccd92(_0x55bce8._0x40b988)])
|
|
606
|
+
return _0x9bd774[_0x4ccd92(_0x55bce8._0x1cd943)] + ':' + _0x9bd774[_0x4ccd92(0x2e4)][_0x4ccd92(0x286)](0x0, 0x8);
|
|
607
|
+
return _0x9bd774[_0x4ccd92(0x305)];
|
|
642
608
|
}
|
|
643
|
-
function
|
|
644
|
-
const
|
|
609
|
+
function _0x211c09(_0x38e27d, _0x1bb08f) {
|
|
610
|
+
const _0x378879 = _0x5ee3c8;
|
|
645
611
|
try {
|
|
646
|
-
const
|
|
647
|
-
if (
|
|
612
|
+
const _0xba7cf0 = parseTarget(_0x38e27d);
|
|
613
|
+
if (_0xba7cf0['kind'] !== 'thread' || _0xba7cf0[_0x378879(_0x4d7666._0x2934d3)] !== _0x1bb08f[_0x378879(_0x4d7666._0x283a06)])
|
|
648
614
|
return ![];
|
|
649
|
-
if (
|
|
615
|
+
if (_0x1bb08f[_0x378879(_0x4d7666._0x82354c)] != null && _0xba7cf0[_0x378879(_0x4d7666._0x2ad28b)] === 't' + _0x1bb08f['threadNumber'])
|
|
650
616
|
return !![];
|
|
651
|
-
if (
|
|
652
|
-
return
|
|
653
|
-
if (
|
|
654
|
-
return
|
|
617
|
+
if (_0x1bb08f[_0x378879(0x319)])
|
|
618
|
+
return _0xba7cf0[_0x378879(_0x4d7666._0x2ad28b)] === _0x1bb08f[_0x378879(_0x4d7666._0x4ccdf3)] || _0x1bb08f['rootMessageId'][_0x378879(0x24f)](_0xba7cf0[_0x378879(0x316)]);
|
|
619
|
+
if (_0x1bb08f[_0x378879(_0x4d7666._0x3ee7cc)])
|
|
620
|
+
return _0xba7cf0[_0x378879(_0x4d7666._0x8c8f3)] === _0x1bb08f['threadId'] || _0x1bb08f['threadId'][_0x378879(0x24f)](_0xba7cf0[_0x378879(_0x4d7666._0x8c8f3)]);
|
|
655
621
|
return ![];
|
|
656
622
|
} catch {
|
|
657
623
|
return ![];
|
|
658
624
|
}
|
|
659
625
|
}
|
|
660
|
-
function
|
|
661
|
-
const
|
|
662
|
-
return
|
|
626
|
+
function _0xc2edbb(_0x35bfb0) {
|
|
627
|
+
const _0x57ced5 = _0x5ee3c8;
|
|
628
|
+
return _0x35bfb0[_0x57ced5(_0xf58b12._0x42f4d1)]?.[_0x57ced5(0x295)] ?? _0x35bfb0['participant']?.['id'] ?? _0x35bfb0[_0x57ced5(0x295)] ?? '';
|
|
663
629
|
}
|
|
664
|
-
function
|
|
665
|
-
const
|
|
666
|
-
return
|
|
630
|
+
function _0x20f00d(_0x1808d1) {
|
|
631
|
+
const _0x2eb988 = _0x5ee3c8;
|
|
632
|
+
return _0x1808d1[_0x2eb988(0x349)]?.[_0x2eb988(0x341)] ?? _0xc2edbb(_0x1808d1);
|
|
667
633
|
}
|
|
668
|
-
async function
|
|
669
|
-
const
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
const
|
|
675
|
-
'headers':
|
|
676
|
-
'method':
|
|
677
|
-
}),
|
|
678
|
-
'attachments': (
|
|
679
|
-
'filename':
|
|
680
|
-
'id':
|
|
634
|
+
async function _0x371b6c(_0x45736e) {
|
|
635
|
+
const _0x2d16dd = _0x5ee3c8, _0x4cca0c = Math[_0x2d16dd(0x2c1)](_0x45736e[_0x2d16dd(_0x1787fb._0x1547df)] ?? 0x32, 0x64), _0x3c5fef = await _0x29453d(), _0x421684 = new URLSearchParams();
|
|
636
|
+
_0x421684['set']('limit', String(_0x4cca0c));
|
|
637
|
+
_0x45736e[_0x2d16dd(0x2e4)] ? (_0x421684[_0x2d16dd(_0x1787fb._0x2ef309)](_0x2d16dd(_0x1787fb._0x453b31), _0x45736e[_0x2d16dd(0x2e4)]), _0x421684['set'](_0x2d16dd(_0x1787fb._0x3127a3), _0x45736e[_0x2d16dd(_0x1787fb._0x174920)])) : _0x421684[_0x2d16dd(_0x1787fb._0x401759)](_0x2d16dd(_0x1787fb._0x34d758), _0x45736e[_0x2d16dd(_0x1787fb._0x174920)]);
|
|
638
|
+
_0x45736e[_0x2d16dd(0x282)] && _0x421684[_0x2d16dd(_0x1787fb._0x401759)](_0x2d16dd(_0x1787fb._0x266f36), String(_0x45736e[_0x2d16dd(0x282)]));
|
|
639
|
+
_0x45736e[_0x2d16dd(0x1e9)] !== void 0x0 && _0x421684[_0x2d16dd(_0x1787fb._0x562334)]('after', String(_0x45736e[_0x2d16dd(0x1e9)]));
|
|
640
|
+
const _0x251a3f = await _0x3d3cd0(_0x2d16dd(_0x1787fb._0x2b143b) + _0x233de1[_0x2d16dd(0x2f4)] + _0x2d16dd(_0x1787fb._0x3b92da) + _0x421684[_0x2d16dd(0x2b8)](), {
|
|
641
|
+
'headers': _0xd50ea8,
|
|
642
|
+
'method': _0x2d16dd(_0x1787fb._0x5d3a2c)
|
|
643
|
+
}), _0x4a7510 = (_0x251a3f['data'] ?? [])[_0x2d16dd(0x34b)](_0x45fe8f => ({
|
|
644
|
+
'attachments': (_0x45fe8f[_0x2d16dd(0x334)] ?? [])[_0x2d16dd(0x34b)](_0x4e54cb => ({
|
|
645
|
+
'filename': _0x4e54cb[_0x2d16dd(0x2be)] ?? _0x4e54cb['id'],
|
|
646
|
+
'id': _0x4e54cb['id']
|
|
681
647
|
})),
|
|
682
|
-
'content':
|
|
683
|
-
'createdAt':
|
|
684
|
-
...
|
|
685
|
-
'messageId':
|
|
686
|
-
'senderName':
|
|
687
|
-
'senderType':
|
|
688
|
-
'seq':
|
|
648
|
+
'content': _0x45fe8f[_0x2d16dd(0x294)] ?? '',
|
|
649
|
+
'createdAt': _0x45fe8f['createdAt'],
|
|
650
|
+
..._0x45fe8f[_0x2d16dd(0x25a)] && _0x45fe8f[_0x2d16dd(0x25a)] !== _0x2d16dd(0x27b) ? { 'kind': _0x45fe8f[_0x2d16dd(0x25a)] } : {},
|
|
651
|
+
'messageId': _0x45fe8f['id'],
|
|
652
|
+
'senderName': _0x45fe8f['senderParticipantId'],
|
|
653
|
+
'senderType': _0x435787(_0x45fe8f[_0x2d16dd(0x2d7)], _0x3c5fef),
|
|
654
|
+
'seq': _0x45fe8f[_0x2d16dd(0x2ce)] ?? 0x0
|
|
689
655
|
}));
|
|
690
656
|
return {
|
|
691
|
-
'channel':
|
|
692
|
-
'hasMore':
|
|
693
|
-
'messages':
|
|
694
|
-
'nextCursor':
|
|
657
|
+
'channel': _0x45736e[_0x2d16dd(0x305)],
|
|
658
|
+
'hasMore': _0x251a3f[_0x2d16dd(0x279)]?.[_0x2d16dd(_0x1787fb._0xcee16c)] ?? ![],
|
|
659
|
+
'messages': _0x4a7510,
|
|
660
|
+
'nextCursor': _0x251a3f[_0x2d16dd(_0x1787fb._0x1a88a0)]?.[_0x2d16dd(0x218)]
|
|
695
661
|
};
|
|
696
662
|
}
|
|
697
663
|
return {
|
|
698
|
-
async 'sendMessage'(
|
|
699
|
-
const
|
|
700
|
-
'body': JSON[
|
|
701
|
-
'attachment_ids':
|
|
702
|
-
'bodyMarkdown':
|
|
703
|
-
'channelId':
|
|
704
|
-
...
|
|
705
|
-
'threadId':
|
|
706
|
-
...
|
|
664
|
+
async 'sendMessage'(_0x158690) {
|
|
665
|
+
const _0x142a0a = _0x5ee3c8, _0x19825e = await _0x6b68b7(_0x158690['target']), _0x2b5702 = _0x158690[_0x142a0a(_0x37bb74._0x26d4e3)][_0x142a0a(_0x37bb74._0x3613ef)]('@') ? extractMentionedParticipantIds(_0x158690[_0x142a0a(_0x37bb74._0x26d4e3)], await _0x29453d()) : [], _0xead6c4 = await _0x3d3cd0(_0x142a0a(_0x37bb74._0x36f3a7) + _0x233de1[_0x142a0a(_0x37bb74._0x51eb37)] + _0x142a0a(_0x37bb74._0x4cb68a), {
|
|
666
|
+
'body': JSON[_0x142a0a(_0x37bb74._0x4836b3)]({
|
|
667
|
+
'attachment_ids': _0x158690['attachmentIds'],
|
|
668
|
+
'bodyMarkdown': _0x158690[_0x142a0a(_0x37bb74._0x26d4e3)],
|
|
669
|
+
'channelId': _0x19825e['channelId'],
|
|
670
|
+
..._0x2b5702[_0x142a0a(0x26d)] > 0x0 ? { 'mentionedParticipantIds': _0x2b5702 } : {},
|
|
671
|
+
'threadId': _0x19825e[_0x142a0a(0x2e4)],
|
|
672
|
+
..._0x158690['visibility'] ? { 'visibility': _0x158690[_0x142a0a(0x274)] } : {}
|
|
707
673
|
}),
|
|
708
|
-
'headers':
|
|
709
|
-
'method':
|
|
674
|
+
'headers': _0xd50ea8,
|
|
675
|
+
'method': 'POST'
|
|
710
676
|
});
|
|
711
|
-
return { 'messageId':
|
|
677
|
+
return { 'messageId': _0xead6c4[_0x142a0a(0x330)]?.['id'] ?? '' };
|
|
712
678
|
},
|
|
713
679
|
async 'listSchedules'() {
|
|
714
|
-
const
|
|
715
|
-
'headers':
|
|
716
|
-
'method':
|
|
680
|
+
const _0x1e3382 = _0x5ee3c8, _0x3ecade = await _0x3d3cd0(_0x1e3382(_0x45b521._0x332b1f), {
|
|
681
|
+
'headers': _0xd50ea8,
|
|
682
|
+
'method': _0x1e3382(_0x45b521._0x374e1e)
|
|
717
683
|
});
|
|
718
|
-
return
|
|
684
|
+
return _0x3ecade['data'] ?? [];
|
|
719
685
|
},
|
|
720
|
-
async 'claimScheduleRun'(
|
|
721
|
-
const
|
|
722
|
-
'body': JSON[
|
|
723
|
-
'headers':
|
|
724
|
-
'method':
|
|
686
|
+
async 'claimScheduleRun'(_0x12051c) {
|
|
687
|
+
const _0x3733f4 = _0x5ee3c8, _0x1458d6 = await _0x3d3cd0(_0x3733f4(_0x251dbd._0x108db0), {
|
|
688
|
+
'body': JSON[_0x3733f4(_0x251dbd._0x451738)](_0x12051c),
|
|
689
|
+
'headers': _0xd50ea8,
|
|
690
|
+
'method': _0x3733f4(0x318)
|
|
725
691
|
});
|
|
726
|
-
return
|
|
692
|
+
return _0x1458d6[_0x3733f4(0x330)] ?? {
|
|
727
693
|
'granted': ![],
|
|
728
694
|
'runId': null,
|
|
729
695
|
'schedule': null,
|
|
730
|
-
'scheduledFor':
|
|
696
|
+
'scheduledFor': _0x12051c[_0x3733f4(0x213)]
|
|
731
697
|
};
|
|
732
698
|
},
|
|
733
|
-
async 'startScheduleRun'(
|
|
734
|
-
const
|
|
735
|
-
'body': JSON[
|
|
736
|
-
'headers':
|
|
737
|
-
'method':
|
|
699
|
+
async 'startScheduleRun'(_0x5aba69) {
|
|
700
|
+
const _0x4bf871 = _0x5ee3c8, _0x4d1f77 = await _0x3d3cd0(_0x4bf871(0x253) + encodeURIComponent(_0x5aba69[_0x4bf871(0x220)]) + _0x4bf871(0x2a9), {
|
|
701
|
+
'body': JSON[_0x4bf871(_0x455ed7._0x498704)]({}),
|
|
702
|
+
'headers': _0xd50ea8,
|
|
703
|
+
'method': _0x4bf871(0x318)
|
|
738
704
|
});
|
|
739
|
-
return
|
|
705
|
+
return _0x4d1f77['data'] ?? {
|
|
740
706
|
'claimedByDaemonId': '',
|
|
741
|
-
'id':
|
|
707
|
+
'id': _0x5aba69[_0x4bf871(_0x455ed7._0x1dc4ea)],
|
|
742
708
|
'scheduleId': '',
|
|
743
|
-
'status':
|
|
709
|
+
'status': _0x4bf871(_0x455ed7._0x5e81e0)
|
|
744
710
|
};
|
|
745
711
|
},
|
|
746
|
-
async 'finishScheduleRun'(
|
|
747
|
-
const
|
|
748
|
-
'body': JSON[
|
|
749
|
-
'error':
|
|
750
|
-
'resultJson':
|
|
751
|
-
'status':
|
|
712
|
+
async 'finishScheduleRun'(_0x3354f2) {
|
|
713
|
+
const _0x5ff093 = _0x5ee3c8, _0x4d5df0 = await _0x3d3cd0(_0x5ff093(0x253) + encodeURIComponent(_0x3354f2[_0x5ff093(_0x48b275._0x3166a5)]) + _0x5ff093(_0x48b275._0x2fc685), {
|
|
714
|
+
'body': JSON['stringify']({
|
|
715
|
+
'error': _0x3354f2[_0x5ff093(_0x48b275._0x83b0d4)],
|
|
716
|
+
'resultJson': _0x3354f2[_0x5ff093(0x224)],
|
|
717
|
+
'status': _0x3354f2[_0x5ff093(0x2d9)]
|
|
752
718
|
}),
|
|
753
|
-
'headers':
|
|
754
|
-
'method':
|
|
719
|
+
'headers': _0xd50ea8,
|
|
720
|
+
'method': _0x5ff093(0x318)
|
|
755
721
|
});
|
|
756
|
-
return
|
|
722
|
+
return _0x4d5df0[_0x5ff093(_0x48b275._0x29245f)] ?? {
|
|
757
723
|
'nextRunAt': null,
|
|
758
724
|
'run': {
|
|
759
725
|
'claimedByDaemonId': '',
|
|
760
|
-
'id':
|
|
726
|
+
'id': _0x3354f2[_0x5ff093(_0x48b275._0x3166a5)],
|
|
761
727
|
'scheduleId': '',
|
|
762
|
-
'status':
|
|
728
|
+
'status': _0x3354f2[_0x5ff093(0x2d9)]
|
|
763
729
|
}
|
|
764
730
|
};
|
|
765
731
|
},
|
|
766
|
-
async 'listTasks'(
|
|
767
|
-
const
|
|
768
|
-
return
|
|
769
|
-
'headers':
|
|
770
|
-
'method':
|
|
732
|
+
async 'listTasks'(_0x19c688) {
|
|
733
|
+
const _0x465ecd = _0x5ee3c8, _0x472f60 = new URLSearchParams();
|
|
734
|
+
return _0x472f60[_0x465ecd(_0x3cc742._0x23c770)]('channel', _0x19c688['channel']), _0x19c688[_0x465ecd(0x2d9)] && _0x472f60['set']('status', _0x19c688['status']), _0x23135e(_0x465ecd(_0x3cc742._0x124874) + _0x233de1[_0x465ecd(0x2f4)] + _0x465ecd(_0x3cc742._0x590fa1) + _0x472f60[_0x465ecd(0x2b8)](), {
|
|
735
|
+
'headers': _0xd50ea8,
|
|
736
|
+
'method': _0x465ecd(_0x3cc742._0x2009a2)
|
|
771
737
|
});
|
|
772
738
|
},
|
|
773
|
-
async 'createTasks'(
|
|
774
|
-
const
|
|
775
|
-
return
|
|
776
|
-
'body': JSON[
|
|
777
|
-
...
|
|
778
|
-
'idempotency_key':
|
|
739
|
+
async 'createTasks'(_0x4e342b) {
|
|
740
|
+
const _0x489391 = _0x5ee3c8;
|
|
741
|
+
return _0x23135e(_0x489391(0x1f3) + _0x233de1[_0x489391(_0x468cc2._0x2e5b38)] + '/tasks', {
|
|
742
|
+
'body': JSON['stringify']({
|
|
743
|
+
..._0x4e342b,
|
|
744
|
+
'idempotency_key': _0x58cf97(_0x489391(_0x468cc2._0x1a4c73), _0x4e342b)
|
|
779
745
|
}),
|
|
780
|
-
'headers':
|
|
781
|
-
'method':
|
|
746
|
+
'headers': _0xd50ea8,
|
|
747
|
+
'method': _0x489391(_0x468cc2._0x51600a)
|
|
782
748
|
});
|
|
783
749
|
},
|
|
784
|
-
async 'claimTasks'(
|
|
785
|
-
const
|
|
786
|
-
return
|
|
787
|
-
'body': JSON[
|
|
788
|
-
...
|
|
789
|
-
'idempotency_key':
|
|
750
|
+
async 'claimTasks'(_0x407e64) {
|
|
751
|
+
const _0x101929 = _0x5ee3c8;
|
|
752
|
+
return _0x23135e(_0x101929(_0x32a97c._0x21e22e) + _0x233de1[_0x101929(_0x32a97c._0x4740ea)] + _0x101929(_0x32a97c._0x59b01a), {
|
|
753
|
+
'body': JSON[_0x101929(_0x32a97c._0x310374)]({
|
|
754
|
+
..._0x407e64,
|
|
755
|
+
'idempotency_key': _0x58cf97(_0x101929(0x307), _0x407e64)
|
|
790
756
|
}),
|
|
791
|
-
'headers':
|
|
792
|
-
'method':
|
|
757
|
+
'headers': _0xd50ea8,
|
|
758
|
+
'method': _0x101929(0x318)
|
|
793
759
|
});
|
|
794
760
|
},
|
|
795
|
-
async 'unclaimTask'(
|
|
796
|
-
const
|
|
797
|
-
return
|
|
798
|
-
'body': JSON[
|
|
799
|
-
...
|
|
800
|
-
'idempotency_key':
|
|
761
|
+
async 'unclaimTask'(_0x341063) {
|
|
762
|
+
const _0x2ea29f = _0x5ee3c8;
|
|
763
|
+
return _0x23135e(_0x2ea29f(0x1f3) + _0x233de1[_0x2ea29f(_0x472810._0x361ae4)] + '/tasks/unclaim', {
|
|
764
|
+
'body': JSON['stringify']({
|
|
765
|
+
..._0x341063,
|
|
766
|
+
'idempotency_key': _0x58cf97(_0x2ea29f(0x20a), _0x341063)
|
|
801
767
|
}),
|
|
802
|
-
'headers':
|
|
803
|
-
'method':
|
|
768
|
+
'headers': _0xd50ea8,
|
|
769
|
+
'method': _0x2ea29f(0x318)
|
|
804
770
|
});
|
|
805
771
|
},
|
|
806
|
-
async 'updateTaskStatus'(
|
|
807
|
-
const
|
|
808
|
-
return
|
|
809
|
-
'body': JSON[
|
|
810
|
-
...
|
|
811
|
-
'idempotency_key':
|
|
772
|
+
async 'updateTaskStatus'(_0x48b396) {
|
|
773
|
+
const _0x442393 = _0x5ee3c8;
|
|
774
|
+
return _0x23135e(_0x442393(_0x372d68._0x11f041) + _0x233de1[_0x442393(0x2f4)] + '/tasks/update-status', {
|
|
775
|
+
'body': JSON[_0x442393(0x219)]({
|
|
776
|
+
..._0x48b396,
|
|
777
|
+
'idempotency_key': _0x58cf97('update_task_status', _0x48b396)
|
|
812
778
|
}),
|
|
813
|
-
'headers':
|
|
814
|
-
'method':
|
|
779
|
+
'headers': _0xd50ea8,
|
|
780
|
+
'method': _0x442393(_0x372d68._0x5756ef)
|
|
815
781
|
});
|
|
816
782
|
},
|
|
817
|
-
async 'uploadFile'(
|
|
818
|
-
const
|
|
819
|
-
if (
|
|
820
|
-
throw new Error(
|
|
821
|
-
const
|
|
822
|
-
'body': JSON[
|
|
823
|
-
'channel':
|
|
824
|
-
'contentBase64':
|
|
825
|
-
'contentType':
|
|
826
|
-
'originalFilename':
|
|
783
|
+
async 'uploadFile'(_0x424ee0) {
|
|
784
|
+
const _0xdfdd9 = _0x5ee3c8, _0x932395 = await _0x6b68b7(_0x424ee0['channel']);
|
|
785
|
+
if (_0x932395[_0xdfdd9(0x2e4)])
|
|
786
|
+
throw new Error(_0xdfdd9(_0x260718._0x4f9c84));
|
|
787
|
+
const _0x5d24eb = await _0x3d3cd0(_0xdfdd9(0x1f3) + _0x233de1[_0xdfdd9(_0x260718._0x5b6f88)] + _0xdfdd9(0x2f3), {
|
|
788
|
+
'body': JSON[_0xdfdd9(_0x260718._0x35ae65)]({
|
|
789
|
+
'channel': _0x932395[_0xdfdd9(0x221)],
|
|
790
|
+
'contentBase64': _0x424ee0[_0xdfdd9(_0x260718._0x366190)],
|
|
791
|
+
'contentType': _0x424ee0['contentType'],
|
|
792
|
+
'originalFilename': _0x424ee0[_0xdfdd9(0x2be)]
|
|
827
793
|
}),
|
|
828
|
-
'headers':
|
|
829
|
-
'method':
|
|
794
|
+
'headers': _0xd50ea8,
|
|
795
|
+
'method': 'POST'
|
|
830
796
|
});
|
|
831
797
|
return {
|
|
832
|
-
'attachmentId':
|
|
833
|
-
'filename':
|
|
834
|
-
'sizeBytes':
|
|
798
|
+
'attachmentId': _0x5d24eb['data']?.['id'] ?? '',
|
|
799
|
+
'filename': _0x5d24eb['data']?.[_0xdfdd9(0x30f)] ?? _0x424ee0[_0xdfdd9(0x2be)],
|
|
800
|
+
'sizeBytes': _0x5d24eb[_0xdfdd9(0x330)]?.[_0xdfdd9(0x20d)] ?? 0x0
|
|
835
801
|
};
|
|
836
802
|
},
|
|
837
|
-
async 'downloadAttachment'(
|
|
838
|
-
const
|
|
839
|
-
'headers':
|
|
840
|
-
'method':
|
|
841
|
-
}),
|
|
803
|
+
async 'downloadAttachment'(_0x56d12b) {
|
|
804
|
+
const _0x2d8b40 = _0x5ee3c8, _0x3a7a81 = await _0x3d3cd0('/api/attachments/' + _0x56d12b, {
|
|
805
|
+
'headers': _0xd50ea8,
|
|
806
|
+
'method': _0x2d8b40(0x201)
|
|
807
|
+
}), _0x48ec57 = new AbortController(), _0x240a62 = setTimeout(() => _0x48ec57[_0x2d8b40(0x1ef)](), _0x3ed37d);
|
|
842
808
|
try {
|
|
843
|
-
const
|
|
844
|
-
'headers':
|
|
845
|
-
'method':
|
|
846
|
-
'signal':
|
|
809
|
+
const _0x471962 = await _0x2f5464(_0x22e36d + _0x2d8b40(0x1d3) + _0x56d12b + _0x2d8b40(_0x4d6eca._0x30b4a5), {
|
|
810
|
+
'headers': _0xd50ea8,
|
|
811
|
+
'method': _0x2d8b40(_0x4d6eca._0x856600),
|
|
812
|
+
'signal': _0x48ec57[_0x2d8b40(_0x4d6eca._0x100e6a)]
|
|
847
813
|
});
|
|
848
|
-
if (!
|
|
849
|
-
throw new Error(
|
|
814
|
+
if (!_0x471962['ok'])
|
|
815
|
+
throw new Error(_0x2d8b40(0x300) + _0x471962[_0x2d8b40(0x2d9)]);
|
|
850
816
|
return {
|
|
851
|
-
'contentType':
|
|
852
|
-
'data': Buffer[
|
|
853
|
-
'originalFilename':
|
|
817
|
+
'contentType': _0x3a7a81[_0x2d8b40(0x330)]?.[_0x2d8b40(0x33e)] ?? _0x471962[_0x2d8b40(_0x4d6eca._0x3aa6fb)]['get'](_0x2d8b40(0x210)) ?? _0x2d8b40(0x25d),
|
|
818
|
+
'data': Buffer[_0x2d8b40(0x333)](await _0x471962[_0x2d8b40(0x301)]()),
|
|
819
|
+
'originalFilename': _0x3a7a81[_0x2d8b40(0x330)]?.[_0x2d8b40(_0x4d6eca._0x4ff6be)]
|
|
854
820
|
};
|
|
855
821
|
} finally {
|
|
856
|
-
clearTimeout(
|
|
822
|
+
clearTimeout(_0x240a62);
|
|
857
823
|
}
|
|
858
824
|
},
|
|
859
825
|
async 'listServer'() {
|
|
860
|
-
return
|
|
826
|
+
return _0x29453d({ 'forceRefresh': !![] });
|
|
861
827
|
},
|
|
862
|
-
async 'readHistory'(
|
|
863
|
-
const
|
|
864
|
-
return
|
|
865
|
-
'after':
|
|
866
|
-
'before':
|
|
867
|
-
'channelId':
|
|
868
|
-
'channelTarget':
|
|
869
|
-
'limit':
|
|
870
|
-
'threadId':
|
|
828
|
+
async 'readHistory'(_0x3a83c0) {
|
|
829
|
+
const _0x366145 = _0x5ee3c8, _0x5ef094 = await _0x6b68b7(_0x3a83c0[_0x366145(0x280)]);
|
|
830
|
+
return _0x371b6c({
|
|
831
|
+
'after': _0x3a83c0[_0x366145(_0x111287._0x2df2eb)],
|
|
832
|
+
'before': _0x3a83c0[_0x366145(0x282)],
|
|
833
|
+
'channelId': _0x5ef094[_0x366145(_0x111287._0xfec1f)],
|
|
834
|
+
'channelTarget': _0x5ef094[_0x366145(0x221)],
|
|
835
|
+
'limit': _0x3a83c0[_0x366145(0x315)],
|
|
836
|
+
'threadId': _0x5ef094[_0x366145(_0x111287._0x54d632)]
|
|
871
837
|
});
|
|
872
838
|
},
|
|
873
|
-
'resolveTarget':
|
|
839
|
+
'resolveTarget': _0x6b68b7,
|
|
874
840
|
async 'checkMessages'() {
|
|
875
|
-
const
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
},
|
|
879
|
-
|
|
880
|
-
const
|
|
881
|
-
'headers':
|
|
882
|
-
'method':
|
|
883
|
-
}),
|
|
884
|
-
let
|
|
885
|
-
|
|
886
|
-
|
|
841
|
+
const _0xad5fda = {
|
|
842
|
+
_0x59267e: 0x2bf,
|
|
843
|
+
_0x5a1e16: 0x2e8
|
|
844
|
+
}, _0x5e8374 = _0x5ee3c8, _0x5bb533 = new URLSearchParams();
|
|
845
|
+
_0x5bb533[_0x5e8374(0x214)]('afterSeq', String(_0x3ce3dd));
|
|
846
|
+
const _0x1edcd1 = _0x5bb533[_0x5e8374(0x2b8)](), _0x47826f = await _0x3d3cd0(_0x5e8374(_0x30db93._0x1ac232) + _0x233de1[_0x5e8374(0x2f4)] + _0x5e8374(_0x30db93._0x19a1b5) + (_0x1edcd1 ? '?' + _0x1edcd1 : ''), {
|
|
847
|
+
'headers': _0xd50ea8,
|
|
848
|
+
'method': _0x5e8374(0x201)
|
|
849
|
+
}), _0x3c9b51 = _0x47826f[_0x5e8374(_0x30db93._0x41a40c)] ?? [], _0x1e83f7 = _0x47826f['meta']?.['cursor'], _0x5582c0 = _0x1e83f7 !== void 0x0 ? Math['max'](_0x3ce3dd, _0x1e83f7) : _0x3c9b51[_0x5e8374(_0x30db93._0x9d4bc6)] > 0x0 ? Math[_0x5e8374(_0x30db93._0x5e3e41)](_0x3ce3dd, _0x3c9b51[_0x3c9b51[_0x5e8374(0x26d)] - 0x1][_0x5e8374(0x1de)]) : _0x3ce3dd, _0x4b2b55 = _0x3c9b51[_0x5e8374(0x275)](_0x48d6f6 => _0x48d6f6[_0x5e8374(0x29f)] === _0x5e8374(0x31e)), _0x3f1d62 = _0x5896bf === void 0x0 && _0x2ba051;
|
|
850
|
+
let _0x2fc012 = await _0x29453d(), _0x4d92a1 = new Map(_0x2fc012[_0x5e8374(_0x30db93._0x884952)][_0x5e8374(_0x30db93._0x17c21b)](_0x452cb9 => [
|
|
851
|
+
_0x452cb9['id'],
|
|
852
|
+
_0x452cb9
|
|
887
853
|
]));
|
|
888
|
-
const
|
|
889
|
-
const
|
|
890
|
-
return Boolean(
|
|
854
|
+
const _0x4960f9 = _0x4b2b55['some'](_0x87a60c => {
|
|
855
|
+
const _0x3c723c = _0x5e8374, _0x544d7e = asRecord(_0x87a60c[_0x3c723c(0x299)]), _0x521d83 = typeof _0x544d7e?.[_0x3c723c(_0xad5fda._0x59267e)] === _0x3c723c(_0xad5fda._0x5a1e16) ? _0x544d7e[_0x3c723c(0x2bf)] : '';
|
|
856
|
+
return Boolean(_0x521d83) && !_0x4d92a1['has'](_0x521d83);
|
|
891
857
|
});
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
858
|
+
_0x4960f9 && (_0x2fc012 = await _0x29453d({ 'forceRefresh': !![] }), _0x4d92a1 = new Map(_0x2fc012[_0x5e8374(0x328)][_0x5e8374(_0x30db93._0x3e3e96)](_0x4a2e85 => [
|
|
859
|
+
_0x4a2e85['id'],
|
|
860
|
+
_0x4a2e85
|
|
895
861
|
])));
|
|
896
|
-
const
|
|
897
|
-
for (const
|
|
898
|
-
const
|
|
899
|
-
if (!
|
|
862
|
+
const _0x290990 = new Map();
|
|
863
|
+
for (const _0xee4050 of _0x4b2b55) {
|
|
864
|
+
const _0x358139 = asRecord(_0xee4050['payloadJson']), _0x2646a8 = typeof _0x358139[_0x5e8374(0x2bf)] === 'string' ? _0x358139[_0x5e8374(0x2bf)] : '';
|
|
865
|
+
if (!_0x2646a8)
|
|
900
866
|
continue;
|
|
901
|
-
const
|
|
867
|
+
const _0x8998cf = typeof _0x358139[_0x5e8374(_0x30db93._0xab92f7)] === 'string' ? _0x358139[_0x5e8374(0x2e4)] : void 0x0, _0x3a28b6 = typeof _0x358139[_0x5e8374(0x319)] === _0x5e8374(_0x30db93._0x3b5101) ? _0x358139[_0x5e8374(0x319)] : void 0x0, _0x34356d = typeof _0x358139[_0x5e8374(_0x30db93._0x5a5e38)] === _0x5e8374(0x267) && Number['isInteger'](_0x358139[_0x5e8374(_0x30db93._0x53f51b)]) ? _0x358139[_0x5e8374(_0x30db93._0x4e827c)] : void 0x0, _0x9e629a = Boolean(_0x8998cf && (!_0x3a28b6 || _0xee4050[_0x5e8374(_0x30db93._0x4bed12)] !== _0x3a28b6)), _0x6563cc = _0x9e629a ? _0x2646a8 + ':' + _0x8998cf : _0x2646a8, _0x2a8469 = _0x290990[_0x5e8374(0x2e7)](_0x6563cc) ?? {
|
|
902
868
|
'aggregateIds': [],
|
|
903
|
-
'channelId':
|
|
869
|
+
'channelId': _0x2646a8,
|
|
904
870
|
'entries': new Map(),
|
|
905
|
-
'isThreadReply':
|
|
906
|
-
'rootMessageId':
|
|
907
|
-
'threadNumber':
|
|
908
|
-
'threadId':
|
|
871
|
+
'isThreadReply': _0x9e629a,
|
|
872
|
+
'rootMessageId': _0x3a28b6,
|
|
873
|
+
'threadNumber': _0x34356d,
|
|
874
|
+
'threadId': _0x9e629a ? _0x8998cf : void 0x0
|
|
909
875
|
};
|
|
910
|
-
|
|
911
|
-
'payloadJson':
|
|
912
|
-
'seq':
|
|
913
|
-
}),
|
|
876
|
+
_0x2a8469[_0x5e8374(0x2b6)] == null && _0x34356d != null && (_0x2a8469[_0x5e8374(_0x30db93._0x4e827c)] = _0x34356d), !_0x2a8469[_0x5e8374(_0x30db93._0x4c10de)] && _0x3a28b6 && (_0x2a8469[_0x5e8374(0x319)] = _0x3a28b6), _0x2a8469['aggregateIds'][_0x5e8374(_0x30db93._0x3cdf48)](_0xee4050[_0x5e8374(_0x30db93._0x4bed12)]), _0x2a8469[_0x5e8374(_0x30db93._0x586bbe)][_0x5e8374(0x214)](_0xee4050[_0x5e8374(0x2f9)], {
|
|
877
|
+
'payloadJson': _0xee4050[_0x5e8374(_0x30db93._0xcd4d93)],
|
|
878
|
+
'seq': _0xee4050[_0x5e8374(0x1de)]
|
|
879
|
+
}), _0x290990[_0x5e8374(0x214)](_0x6563cc, _0x2a8469);
|
|
914
880
|
}
|
|
915
|
-
const
|
|
916
|
-
for (const
|
|
881
|
+
const _0x575a40 = [];
|
|
882
|
+
for (const _0x2d7f60 of _0x290990[_0x5e8374(0x30b)]()) {
|
|
917
883
|
const {
|
|
918
|
-
channelId:
|
|
919
|
-
threadId:
|
|
920
|
-
rootMessageId:
|
|
921
|
-
threadNumber:
|
|
922
|
-
aggregateIds:
|
|
923
|
-
isThreadReply:
|
|
924
|
-
entries:
|
|
925
|
-
} =
|
|
926
|
-
'channelTarget':
|
|
927
|
-
'rootMessageId':
|
|
928
|
-
'threadId':
|
|
929
|
-
'threadNumber':
|
|
930
|
-
},
|
|
931
|
-
'channelId':
|
|
932
|
-
'channelTarget':
|
|
933
|
-
'limit': Math[
|
|
934
|
-
'threadId':
|
|
935
|
-
}),
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
])),
|
|
939
|
-
for (const
|
|
940
|
-
if (!
|
|
884
|
+
channelId: _0x4bdccd,
|
|
885
|
+
threadId: _0x3c7c6c,
|
|
886
|
+
rootMessageId: _0x1018c6,
|
|
887
|
+
threadNumber: _0x1348f9,
|
|
888
|
+
aggregateIds: _0x3008f0,
|
|
889
|
+
isThreadReply: _0x546ece,
|
|
890
|
+
entries: _0xd72c2b
|
|
891
|
+
} = _0x2d7f60, _0x4799ff = _0x4d92a1['get'](_0x4bdccd), _0x5cf496 = _0x4799ff?.[_0x5e8374(0x341)] ?? _0x4bdccd, _0x5290a5 = _0x4799ff?.[_0x5e8374(0x25a)] === 'dm' ? _0x5e8374(_0x30db93._0x1df182) + _0x5cf496 : '#' + _0x5cf496, _0x559e2e = {
|
|
892
|
+
'channelTarget': _0x5290a5,
|
|
893
|
+
'rootMessageId': _0x1018c6,
|
|
894
|
+
'threadId': _0x3c7c6c,
|
|
895
|
+
'threadNumber': _0x1348f9
|
|
896
|
+
}, _0x59ad56 = await _0x371b6c({
|
|
897
|
+
'channelId': _0x4bdccd,
|
|
898
|
+
'channelTarget': _0x5290a5,
|
|
899
|
+
'limit': Math['max'](_0x3008f0[_0x5e8374(0x26d)], 0x32),
|
|
900
|
+
'threadId': _0x3c7c6c
|
|
901
|
+
}), _0x5d9e6d = new Map(_0x59ad56['messages'][_0x5e8374(0x34b)](_0xba37fc => [
|
|
902
|
+
_0xba37fc[_0x5e8374(0x26b)],
|
|
903
|
+
_0xba37fc
|
|
904
|
+
])), _0x19ee2a = _0x3c7c6c ? _0x40db51(_0x559e2e) : _0x5290a5, _0x30b60a = _0x5896bf ? _0x546ece && _0x211c09(_0x5896bf, _0x559e2e) : !![], _0x557f18 = _0x546ece ? _0x30b60a && _0x5896bf ? _0x5896bf : _0x19ee2a : _0x5290a5;
|
|
905
|
+
for (const _0x5ddf7a of _0x3008f0) {
|
|
906
|
+
if (!_0x30b60a)
|
|
941
907
|
continue;
|
|
942
|
-
const
|
|
943
|
-
if (
|
|
908
|
+
const _0x9cb9f4 = _0xd72c2b[_0x5e8374(_0x30db93._0x4d9f6a)](_0x5ddf7a), _0x141280 = _0x9cb9f4 ? asRecord(_0x9cb9f4[_0x5e8374(_0x30db93._0xcd4d93)]) : void 0x0, _0x4f43cc = _0x141280?.[_0x5e8374(0x2c0)] === _0x5e8374(_0x30db93._0x327545);
|
|
909
|
+
if (_0x3f1d62 && _0x4f43cc)
|
|
944
910
|
continue;
|
|
945
|
-
const
|
|
946
|
-
if (
|
|
947
|
-
|
|
948
|
-
'attachments':
|
|
949
|
-
'content':
|
|
950
|
-
'createdAt':
|
|
951
|
-
...
|
|
952
|
-
'messageId':
|
|
953
|
-
'senderName':
|
|
954
|
-
'senderType':
|
|
955
|
-
'target':
|
|
956
|
-
...
|
|
911
|
+
const _0xbe6c2a = _0x5d9e6d[_0x5e8374(_0x30db93._0x5cae3d)](_0x5ddf7a);
|
|
912
|
+
if (_0xbe6c2a) {
|
|
913
|
+
_0x575a40[_0x5e8374(0x2eb)]({
|
|
914
|
+
'attachments': _0xbe6c2a[_0x5e8374(0x334)],
|
|
915
|
+
'content': _0xbe6c2a[_0x5e8374(_0x30db93._0x536634)],
|
|
916
|
+
'createdAt': _0xbe6c2a[_0x5e8374(_0x30db93._0x3c1dd3)],
|
|
917
|
+
..._0xbe6c2a[_0x5e8374(0x25a)] ? { 'kind': _0xbe6c2a[_0x5e8374(_0x30db93._0x5d3b52)] } : {},
|
|
918
|
+
'messageId': _0xbe6c2a[_0x5e8374(0x26b)],
|
|
919
|
+
'senderName': _0xbe6c2a['senderName'],
|
|
920
|
+
'senderType': _0xbe6c2a[_0x5e8374(_0x30db93._0x25ba8c)],
|
|
921
|
+
'target': _0x557f18,
|
|
922
|
+
..._0x4f43cc ? { 'targetedTask': !![] } : {}
|
|
957
923
|
});
|
|
958
924
|
continue;
|
|
959
925
|
}
|
|
960
|
-
if (
|
|
961
|
-
const
|
|
962
|
-
|
|
926
|
+
if (_0x9cb9f4) {
|
|
927
|
+
const _0x386830 = typeof _0x141280?.[_0x5e8374(0x2d7)] === _0x5e8374(0x2e8) ? _0x141280[_0x5e8374(0x2d7)] : '', _0x577cf8 = typeof _0x141280?.['bodyMarkdown'] === _0x5e8374(0x2e8) ? _0x141280[_0x5e8374(_0x30db93._0x54eec3)] : '', _0x490014 = typeof _0x141280?.[_0x5e8374(_0x30db93._0x5d3b52)] === 'string' && _0x141280['kind'] !== _0x5e8374(_0x30db93._0x3a7a61) ? _0x141280[_0x5e8374(_0x30db93._0x2cafed)] : void 0x0;
|
|
928
|
+
_0x386830 && _0x577cf8 && _0x575a40['push']({
|
|
963
929
|
'attachments': [],
|
|
964
|
-
'content':
|
|
965
|
-
'createdAt': new Date()[
|
|
966
|
-
...
|
|
967
|
-
'messageId':
|
|
968
|
-
'senderName':
|
|
969
|
-
'senderType':
|
|
970
|
-
'target':
|
|
971
|
-
...
|
|
930
|
+
'content': _0x577cf8,
|
|
931
|
+
'createdAt': new Date()[_0x5e8374(_0x30db93._0x2b212d)](),
|
|
932
|
+
..._0x490014 ? { 'kind': _0x490014 } : {},
|
|
933
|
+
'messageId': _0x5ddf7a,
|
|
934
|
+
'senderName': _0x386830,
|
|
935
|
+
'senderType': _0x435787(_0x386830, _0x2fc012),
|
|
936
|
+
'target': _0x557f18,
|
|
937
|
+
..._0x4f43cc ? { 'targetedTask': !![] } : {}
|
|
972
938
|
});
|
|
973
939
|
}
|
|
974
940
|
}
|
|
975
941
|
}
|
|
976
|
-
if (
|
|
977
|
-
if (
|
|
978
|
-
await
|
|
942
|
+
if (_0x5582c0 > 0x0) {
|
|
943
|
+
if (_0x11910a)
|
|
944
|
+
await _0x372f93(_0x5582c0);
|
|
979
945
|
else
|
|
980
|
-
|
|
946
|
+
_0x1797c3 && await _0x145239(_0x5582c0);
|
|
981
947
|
}
|
|
982
|
-
return
|
|
948
|
+
return _0x5582c0 > _0x3ce3dd && (_0x3ce3dd = _0x5582c0), { 'messages': _0x5896bf ? _0x575a40 : _0x3f1d62 ? _0x575a40['filter'](_0x18aefd => _0x18aefd[_0x5e8374(0x2d6)] !== !![]) : _0x575a40 };
|
|
983
949
|
}
|
|
984
950
|
};
|
|
985
951
|
}
|
|
986
|
-
function toLocalTime(
|
|
987
|
-
const
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
return _0x3e985e;
|
|
996
|
-
const _0x518a93 = _0x474308 => String(_0x474308)['padStart'](0x2, '0');
|
|
997
|
-
return _0x381a04['getFullYear']() + '-' + _0x518a93(_0x381a04[_0x28a8c8(_0x42b3e2._0x29c5a9)]() + 0x1) + '-' + _0x518a93(_0x381a04[_0x28a8c8(_0x42b3e2._0x246446)]()) + '\x20' + _0x518a93(_0x381a04[_0x28a8c8(_0x42b3e2._0x44d1b9)]()) + ':' + _0x518a93(_0x381a04[_0x28a8c8(_0x42b3e2._0x393db8)]()) + ':' + _0x518a93(_0x381a04['getSeconds']());
|
|
952
|
+
function toLocalTime(_0xebeb41) {
|
|
953
|
+
const _0x5b7fc6 = {
|
|
954
|
+
_0xc986c0: 0x238,
|
|
955
|
+
_0x2ac8df: 0x2d8
|
|
956
|
+
}, _0x2b920b = _0x855546, _0x574715 = new Date(_0xebeb41);
|
|
957
|
+
if (Number[_0x2b920b(_0x5b7fc6._0xc986c0)](_0x574715['getTime']()))
|
|
958
|
+
return _0xebeb41;
|
|
959
|
+
const _0xe352d5 = _0x141657 => String(_0x141657)[_0x2b920b(0x203)](0x2, '0');
|
|
960
|
+
return _0x574715['getFullYear']() + '-' + _0xe352d5(_0x574715[_0x2b920b(0x2af)]() + 0x1) + '-' + _0xe352d5(_0x574715[_0x2b920b(0x25f)]()) + '\x20' + _0xe352d5(_0x574715[_0x2b920b(0x26c)]()) + ':' + _0xe352d5(_0x574715[_0x2b920b(_0x5b7fc6._0x2ac8df)]()) + ':' + _0xe352d5(_0x574715[_0x2b920b(0x2ca)]());
|
|
998
961
|
}
|
|
999
|
-
function formatAttachmentSuffix(
|
|
1000
|
-
const
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
962
|
+
function formatAttachmentSuffix(_0x8fef16) {
|
|
963
|
+
const _0x4ccf71 = {
|
|
964
|
+
_0x1a59c2: 0x26d,
|
|
965
|
+
_0x4d441e: 0x296,
|
|
966
|
+
_0x28fac8: 0x26d,
|
|
967
|
+
_0x5a26c2: 0x211
|
|
968
|
+
}, _0x5eebf9 = _0x855546;
|
|
969
|
+
if (!_0x8fef16 || _0x8fef16[_0x5eebf9(_0x4ccf71._0x1a59c2)] === 0x0)
|
|
1005
970
|
return '';
|
|
1006
|
-
return '\x20[' +
|
|
971
|
+
return '\x20[' + _0x8fef16['length'] + _0x5eebf9(_0x4ccf71._0x4d441e) + (_0x8fef16[_0x5eebf9(_0x4ccf71._0x28fac8)] > 0x1 ? 's' : '') + ':\x20' + _0x8fef16['map'](_0x18a687 => _0x18a687[_0x5eebf9(0x2be)] + _0x5eebf9(0x2e2) + _0x18a687['id'] + ')')[_0x5eebf9(_0x4ccf71._0x5a26c2)](',\x20') + _0x5eebf9(0x278);
|
|
1007
972
|
}
|
|
1008
|
-
function formatCheckMessages(
|
|
1009
|
-
const
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
_0x58a121: 0x15a
|
|
1020
|
-
}, _0x4b7649 = _0x363898;
|
|
1021
|
-
if (_0xb68fec[_0x4b7649(_0x312300._0x4580c2)] === 0x0)
|
|
1022
|
-
return _0x4b7649(_0x312300._0x2593e7);
|
|
1023
|
-
return _0xb68fec[_0x4b7649(_0x312300._0xb064cb)](_0x53c14c => {
|
|
1024
|
-
const _0x310c3e = _0x4b7649, _0x1567a4 = _0x53c14c[_0x310c3e(0x280)] === _0x310c3e(0x235) ? _0x310c3e(_0xde49de._0x3fb109) : '', _0x2cb07a = _0x53c14c[_0x310c3e(0x198)] && _0x53c14c['kind'] !== 'chat' ? _0x310c3e(_0xde49de._0x3d4b7a) + _0x53c14c[_0x310c3e(_0xde49de._0x3dfe59)] : '';
|
|
1025
|
-
return '[target=' + _0x53c14c[_0x310c3e(0x16a)] + '\x20msg=' + _0x53c14c[_0x310c3e(_0xde49de._0x42225b)][_0x310c3e(_0xde49de._0x4bed6a)](0x0, 0x8) + '\x20time=' + toLocalTime(_0x53c14c[_0x310c3e(0x281)]) + _0x1567a4 + _0x2cb07a + _0x310c3e(0x149) + _0x53c14c['senderName'] + ':\x20' + _0x53c14c[_0x310c3e(_0xde49de._0x58a121)] + formatAttachmentSuffix(_0x53c14c['attachments']);
|
|
1026
|
-
})[_0x4b7649(0x18e)]('\x0a');
|
|
973
|
+
function formatCheckMessages(_0x1e29a2) {
|
|
974
|
+
const _0xa51469 = { _0x2c1ac4: 0x254 }, _0x260f35 = {
|
|
975
|
+
_0x366d41: 0x21d,
|
|
976
|
+
_0x1c274f: 0x2b0
|
|
977
|
+
}, _0x5107a7 = _0x855546;
|
|
978
|
+
if (_0x1e29a2['length'] === 0x0)
|
|
979
|
+
return _0x5107a7(_0xa51469._0x2c1ac4);
|
|
980
|
+
return _0x1e29a2[_0x5107a7(0x34b)](_0x22323d => {
|
|
981
|
+
const _0x1c0f2c = _0x5107a7, _0x397fcd = _0x22323d[_0x1c0f2c(_0x260f35._0x366d41)] === _0x1c0f2c(0x2ba) ? _0x1c0f2c(0x342) : '', _0x40a4ea = _0x22323d[_0x1c0f2c(0x25a)] && _0x22323d[_0x1c0f2c(0x25a)] !== _0x1c0f2c(0x27b) ? _0x1c0f2c(_0x260f35._0x1c274f) + _0x22323d['kind'] : '';
|
|
982
|
+
return '[target=' + _0x22323d[_0x1c0f2c(0x221)] + _0x1c0f2c(0x250) + _0x22323d[_0x1c0f2c(0x26b)][_0x1c0f2c(0x286)](0x0, 0x8) + _0x1c0f2c(0x340) + toLocalTime(_0x22323d[_0x1c0f2c(0x284)]) + _0x397fcd + _0x40a4ea + ']\x20@' + _0x22323d['senderName'] + ':\x20' + _0x22323d['content'] + formatAttachmentSuffix(_0x22323d[_0x1c0f2c(0x334)]);
|
|
983
|
+
})['join']('\x0a');
|
|
1027
984
|
}
|
|
1028
|
-
function formatHistory(
|
|
1029
|
-
const
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
985
|
+
function formatHistory(_0x90f164) {
|
|
986
|
+
const _0xd7bc35 = {
|
|
987
|
+
_0x393374: 0x2cd,
|
|
988
|
+
_0x27e164: 0x263,
|
|
989
|
+
_0x3f4d00: 0x280,
|
|
990
|
+
_0x5ef54f: 0x248,
|
|
991
|
+
_0x4f2c19: 0x34b,
|
|
992
|
+
_0x49d7fd: 0x309,
|
|
993
|
+
_0x17a39b: 0x2cd
|
|
994
|
+
}, _0x46ffd6 = {
|
|
995
|
+
_0x4826ba: 0x25a,
|
|
996
|
+
_0x5644e0: 0x27b,
|
|
997
|
+
_0x177323: 0x1de,
|
|
998
|
+
_0x2adab2: 0x340,
|
|
999
|
+
_0x4d1903: 0x284,
|
|
1000
|
+
_0x3e7cf3: 0x303,
|
|
1001
|
+
_0x2c78db: 0x1f7
|
|
1002
|
+
}, _0x4212ee = _0x855546;
|
|
1003
|
+
if (_0x90f164[_0x4212ee(_0xd7bc35._0x393374)][_0x4212ee(0x26d)] === 0x0)
|
|
1004
|
+
return _0x4212ee(_0xd7bc35._0x27e164) + _0x90f164[_0x4212ee(_0xd7bc35._0x3f4d00)] + _0x4212ee(_0xd7bc35._0x5ef54f);
|
|
1005
|
+
const _0x696ba0 = _0x90f164['messages'][_0x4212ee(_0xd7bc35._0x4f2c19)](_0x3dbee4 => {
|
|
1006
|
+
const _0x23e30a = _0x4212ee, _0x307e52 = _0x3dbee4[_0x23e30a(0x21d)] === _0x23e30a(0x2ba) ? _0x23e30a(0x342) : '', _0x22561d = _0x3dbee4[_0x23e30a(_0x46ffd6._0x4826ba)] && _0x3dbee4[_0x23e30a(0x25a)] !== _0x23e30a(_0x46ffd6._0x5644e0) ? _0x23e30a(0x2b0) + _0x3dbee4[_0x23e30a(_0x46ffd6._0x4826ba)] : '';
|
|
1007
|
+
return _0x23e30a(0x302) + _0x3dbee4[_0x23e30a(_0x46ffd6._0x177323)] + '\x20msg=' + _0x3dbee4['messageId'] + _0x23e30a(_0x46ffd6._0x2adab2) + toLocalTime(_0x3dbee4[_0x23e30a(_0x46ffd6._0x4d1903)]) + _0x307e52 + _0x22561d + _0x23e30a(_0x46ffd6._0x3e7cf3) + _0x3dbee4['senderName'] + ':\x20' + _0x3dbee4[_0x23e30a(_0x46ffd6._0x2c78db)] + formatAttachmentSuffix(_0x3dbee4['attachments']);
|
|
1008
|
+
})['join']('\x0a'), _0x38df14 = _0x90f164['hasMore'] && _0x90f164['nextCursor'] ? _0x4212ee(0x339) + _0x90f164['messages'][_0x4212ee(0x26d)] + _0x4212ee(0x27f) + _0x90f164[_0x4212ee(_0xd7bc35._0x49d7fd)] + _0x4212ee(0x2b5) : '';
|
|
1009
|
+
return _0x4212ee(0x263) + _0x90f164[_0x4212ee(_0xd7bc35._0x3f4d00)] + '\x20(' + _0x90f164[_0x4212ee(_0xd7bc35._0x17a39b)][_0x4212ee(0x26d)] + _0x4212ee(0x2d1) + _0x696ba0 + _0x38df14;
|
|
1050
1010
|
}
|
|
1051
|
-
function formatServerDirectory(
|
|
1052
|
-
const
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1011
|
+
function formatServerDirectory(_0x2709a8) {
|
|
1012
|
+
const _0x264984 = {
|
|
1013
|
+
_0x270d7d: 0x328,
|
|
1014
|
+
_0x3f7b7d: 0x26d,
|
|
1015
|
+
_0x224b4c: 0x28e,
|
|
1016
|
+
_0x3d929d: 0x235,
|
|
1017
|
+
_0x1c27c8: 0x34b,
|
|
1018
|
+
_0x37bd12: 0x211,
|
|
1019
|
+
_0x51cbd4: 0x28e,
|
|
1020
|
+
_0xb43817: 0x322
|
|
1021
|
+
}, _0x267e1b = _0x855546, _0x5d4472 = _0x2709a8[_0x267e1b(_0x264984._0x270d7d)]['length'] > 0x0 ? _0x2709a8['channels'][_0x267e1b(0x34b)](_0x1cee50 => _0x1cee50[_0x267e1b(0x207)] ? _0x267e1b(0x1da) + _0x1cee50['name'] + '\x20—\x20' + _0x1cee50['description'] : _0x267e1b(0x1da) + _0x1cee50[_0x267e1b(0x341)])[_0x267e1b(0x211)]('\x0a') : '(none)', _0x35b45e = _0x2709a8['agents'][_0x267e1b(_0x264984._0x3f7b7d)] > 0x0 ? _0x2709a8[_0x267e1b(0x2c8)]['map'](_0x36898d => '-\x20@' + _0x36898d[_0x267e1b(0x341)])['join']('\x0a') : _0x267e1b(_0x264984._0x224b4c), _0x42b9aa = _0x2709a8['humans'][_0x267e1b(0x26d)] > 0x0 ? _0x2709a8[_0x267e1b(_0x264984._0x3d929d)][_0x267e1b(_0x264984._0x1c27c8)](_0x1a71f4 => '-\x20@' + _0x1a71f4[_0x267e1b(0x341)])[_0x267e1b(_0x264984._0x37bd12)]('\x0a') : _0x267e1b(_0x264984._0x51cbd4);
|
|
1061
1022
|
return [
|
|
1062
|
-
|
|
1023
|
+
'##\x20Server:\x20' + _0x2709a8[_0x267e1b(0x2e6)],
|
|
1063
1024
|
'',
|
|
1064
|
-
|
|
1065
|
-
|
|
1025
|
+
'###\x20Channels',
|
|
1026
|
+
_0x5d4472,
|
|
1066
1027
|
'',
|
|
1067
|
-
|
|
1068
|
-
|
|
1028
|
+
_0x267e1b(_0x264984._0xb43817),
|
|
1029
|
+
_0x35b45e,
|
|
1069
1030
|
'',
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
][
|
|
1031
|
+
'###\x20Humans',
|
|
1032
|
+
_0x42b9aa
|
|
1033
|
+
][_0x267e1b(0x211)]('\x0a');
|
|
1034
|
+
}
|
|
1035
|
+
function formatUploadResult(_0x2ccc64) {
|
|
1036
|
+
const _0x29eaea = {
|
|
1037
|
+
_0x51e4da: 0x2be,
|
|
1038
|
+
_0x52a049: 0x237
|
|
1039
|
+
}, _0xad8f35 = _0x855546;
|
|
1040
|
+
return 'File\x20uploaded:\x20' + _0x2ccc64[_0xad8f35(_0x29eaea._0x51e4da)] + '\x20(' + (_0x2ccc64[_0xad8f35(0x20d)] / 0x400)['toFixed'](0x1) + 'KB)\x0aAttachment\x20ID:\x20' + _0x2ccc64[_0xad8f35(0x233)] + _0xad8f35(_0x29eaea._0x52a049);
|
|
1073
1041
|
}
|
|
1074
|
-
function
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1042
|
+
function _0x17ac(_0x41e5d6, _0x4d616b) {
|
|
1043
|
+
_0x41e5d6 = _0x41e5d6 - 0x1cf;
|
|
1044
|
+
const _0x1b3eed = _0x1b3e();
|
|
1045
|
+
let _0x17acd4 = _0x1b3eed[_0x41e5d6];
|
|
1046
|
+
if (_0x17ac['pdVGBj'] === undefined) {
|
|
1047
|
+
var _0xbfa7b4 = function (_0x1be592) {
|
|
1048
|
+
const _0x24edc0 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
1049
|
+
let _0x5ce9b3 = '', _0x34fbf1 = '';
|
|
1050
|
+
for (let _0x2dc9b0 = 0x0, _0x4a3dc0, _0x4509e5, _0x3c3546 = 0x0; _0x4509e5 = _0x1be592['charAt'](_0x3c3546++); ~_0x4509e5 && (_0x4a3dc0 = _0x2dc9b0 % 0x4 ? _0x4a3dc0 * 0x40 + _0x4509e5 : _0x4509e5, _0x2dc9b0++ % 0x4) ? _0x5ce9b3 += String['fromCharCode'](0xff & _0x4a3dc0 >> (-0x2 * _0x2dc9b0 & 0x6)) : 0x0) {
|
|
1051
|
+
_0x4509e5 = _0x24edc0['indexOf'](_0x4509e5);
|
|
1052
|
+
}
|
|
1053
|
+
for (let _0x51a994 = 0x0, _0x25d151 = _0x5ce9b3['length']; _0x51a994 < _0x25d151; _0x51a994++) {
|
|
1054
|
+
_0x34fbf1 += '%' + ('00' + _0x5ce9b3['charCodeAt'](_0x51a994)['toString'](0x10))['slice'](-0x2);
|
|
1055
|
+
}
|
|
1056
|
+
return decodeURIComponent(_0x34fbf1);
|
|
1057
|
+
};
|
|
1058
|
+
_0x17ac['eyEyvt'] = _0xbfa7b4, _0x17ac['ZlntTI'] = {}, _0x17ac['pdVGBj'] = !![];
|
|
1059
|
+
}
|
|
1060
|
+
const _0x5eea55 = _0x1b3eed[0x0], _0x3b4a5b = _0x41e5d6 + _0x5eea55, _0x1ce48d = _0x17ac['ZlntTI'][_0x3b4a5b];
|
|
1061
|
+
return !_0x1ce48d ? (_0x17acd4 = _0x17ac['eyEyvt'](_0x17acd4), _0x17ac['ZlntTI'][_0x3b4a5b] = _0x17acd4) : _0x17acd4 = _0x1ce48d, _0x17acd4;
|
|
1080
1062
|
}
|
|
1081
|
-
function formatViewFileResult(
|
|
1082
|
-
const
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
},
|
|
1086
|
-
return
|
|
1063
|
+
function formatViewFileResult(_0x41d044, _0x3ddb5e) {
|
|
1064
|
+
const _0x891cd4 = {
|
|
1065
|
+
_0x47980f: 0x288,
|
|
1066
|
+
_0x4f3ce3: 0x2dd
|
|
1067
|
+
}, _0x13a445 = _0x855546;
|
|
1068
|
+
return _0x3ddb5e ? _0x13a445(_0x891cd4._0x47980f) + _0x41d044 : _0x13a445(_0x891cd4._0x4f3ce3) + _0x41d044;
|
|
1087
1069
|
}
|
|
1088
|
-
function formatTaskList(
|
|
1089
|
-
const
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1070
|
+
function formatTaskList(_0x494835, _0x5aa6ff) {
|
|
1071
|
+
const _0x56a02b = {
|
|
1072
|
+
_0x2fcca5: 0x26d,
|
|
1073
|
+
_0x557d51: 0x211
|
|
1074
|
+
}, _0x263897 = {
|
|
1075
|
+
_0x575a8c: 0x25e,
|
|
1076
|
+
_0x3b7366: 0x1f5,
|
|
1077
|
+
_0x4dfad0: 0x2f6,
|
|
1078
|
+
_0x5c7dad: 0x202,
|
|
1079
|
+
_0x12c472: 0x25e,
|
|
1080
|
+
_0x51f9eb: 0x208,
|
|
1081
|
+
_0x534e86: 0x26e,
|
|
1082
|
+
_0x413aff: 0x34d
|
|
1083
|
+
}, _0xa89511 = _0x855546;
|
|
1084
|
+
if (_0x494835[_0xa89511(_0x56a02b._0x2fcca5)] === 0x0)
|
|
1098
1085
|
return 'No\x20tasks\x20found.';
|
|
1099
|
-
return
|
|
1100
|
-
const
|
|
1101
|
-
return
|
|
1102
|
-
})[
|
|
1086
|
+
return _0x494835[_0xa89511(0x34b)](_0x2a4d8e => {
|
|
1087
|
+
const _0x577b33 = _0xa89511, _0x48864a = _0x2a4d8e['taskNumber'] == null ? _0x577b33(0x2f5) : _0x2a4d8e[_0x577b33(0x2f6)] != null ? '#' + _0x2a4d8e[_0x577b33(_0x263897._0x575a8c)] + '.' + _0x2a4d8e[_0x577b33(0x2f6)] : '#' + _0x2a4d8e[_0x577b33(0x25e)], _0x2e5198 = _0x2a4d8e[_0x577b33(0x26b)] ? _0x577b33(_0x263897._0x3b7366) + _0x2a4d8e[_0x577b33(0x26b)] : '', _0x2fa158 = _0x5aa6ff && _0x2a4d8e[_0x577b33(0x25e)] != null && !_0x2a4d8e[_0x577b33(_0x263897._0x4dfad0)] && _0x5aa6ff[_0x577b33(_0x263897._0x5c7dad)](_0x2a4d8e[_0x577b33(_0x263897._0x12c472)]) ? _0x577b33(_0x263897._0x51f9eb) : '', _0x18f4c4 = _0x2a4d8e[_0x577b33(0x26e)] != null && _0x2a4d8e[_0x577b33(_0x263897._0x534e86)] > 0x0 ? '\x20(' + (_0x2a4d8e[_0x577b33(0x1f9)] ?? 0x0) + '/' + _0x2a4d8e[_0x577b33(_0x263897._0x534e86)] + _0x577b33(_0x263897._0x413aff) : '';
|
|
1088
|
+
return _0x48864a + '\x20[' + _0x2a4d8e[_0x577b33(0x2d9)] + ']\x20' + _0x2a4d8e['title'] + _0x18f4c4 + _0x2e5198 + _0x2fa158;
|
|
1089
|
+
})[_0xa89511(_0x56a02b._0x557d51)]('\x0a');
|
|
1103
1090
|
}
|
|
1104
|
-
function formatCreatedTasks(
|
|
1105
|
-
const
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1091
|
+
function formatCreatedTasks(_0x356768) {
|
|
1092
|
+
const _0x586a04 = { _0x8dff63: 0x34b }, _0x3d568d = {
|
|
1093
|
+
_0x29570b: 0x2f6,
|
|
1094
|
+
_0x466eaa: 0x1f5,
|
|
1095
|
+
_0x10a558: 0x260
|
|
1096
|
+
}, _0xd09740 = _0x855546;
|
|
1097
|
+
if (_0x356768['length'] === 0x0)
|
|
1110
1098
|
return 'No\x20tasks\x20created.';
|
|
1111
|
-
return
|
|
1112
|
-
const
|
|
1113
|
-
return
|
|
1114
|
-
})[
|
|
1099
|
+
return _0x356768[_0xd09740(_0x586a04._0x8dff63)](_0xc0a14e => {
|
|
1100
|
+
const _0x1b41fb = _0xd09740, _0x342894 = _0xc0a14e[_0x1b41fb(0x25e)] == null ? _0x1b41fb(0x2f5) : _0xc0a14e[_0x1b41fb(_0x3d568d._0x29570b)] != null ? '#' + _0xc0a14e['taskNumber'] + '.' + _0xc0a14e[_0x1b41fb(0x2f6)] : '#' + _0xc0a14e[_0x1b41fb(0x25e)], _0x125b93 = _0xc0a14e['messageId'] ? _0x1b41fb(_0x3d568d._0x466eaa) + _0xc0a14e[_0x1b41fb(0x26b)] : '';
|
|
1101
|
+
return _0x342894 + '\x20' + _0xc0a14e[_0x1b41fb(_0x3d568d._0x10a558)] + _0x125b93;
|
|
1102
|
+
})[_0xd09740(0x211)]('\x0a');
|
|
1115
1103
|
}
|
|
1116
|
-
function formatClaimTaskResults(
|
|
1117
|
-
const
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
_0x4bc244[_0x26c88d(_0x173226._0x26932b)] ? _0x26c88d(0x279) + _0x4bc244[_0x26c88d(_0x173226._0x26932b)] : null,
|
|
1148
|
-
_0x4bc244[_0x26c88d(0x240)] ? _0x26c88d(0x185) + _0x4bc244[_0x26c88d(_0x173226._0x311d7c)] : null,
|
|
1149
|
-
_0x4bc244[_0x26c88d(_0x173226._0x376d03)] ? _0x26c88d(0x17e) + _0x4bc244[_0x26c88d(_0x173226._0x22474f)] : null
|
|
1150
|
-
][_0x26c88d(0x227)](Boolean)[_0x26c88d(_0x173226._0x499d55)]('\x20');
|
|
1151
|
-
return _0xa4814b + _0x26c88d(_0x173226._0x3e04a7) + _0x3123df + '\x20' + _0x31a799 + _0x26c88d(_0x173226._0xf923cb);
|
|
1104
|
+
function formatClaimTaskResults(_0x345ae6) {
|
|
1105
|
+
const _0x334f15 = {
|
|
1106
|
+
_0x1eee72: 0x25e,
|
|
1107
|
+
_0x4b8560: 0x26b,
|
|
1108
|
+
_0x56eb07: 0x1f5,
|
|
1109
|
+
_0x21b211: 0x26b,
|
|
1110
|
+
_0x4d1581: 0x204,
|
|
1111
|
+
_0x1fdbf8: 0x351,
|
|
1112
|
+
_0x2d4616: 0x24a,
|
|
1113
|
+
_0x27622f: 0x24b,
|
|
1114
|
+
_0x420a8b: 0x2f7,
|
|
1115
|
+
_0x44efad: 0x2fa,
|
|
1116
|
+
_0x359771: 0x211,
|
|
1117
|
+
_0x3e3dc4: 0x226,
|
|
1118
|
+
_0xd417c9: 0x2d5
|
|
1119
|
+
}, _0x321fa1 = _0x855546;
|
|
1120
|
+
if (_0x345ae6[_0x321fa1(0x26d)] === 0x0)
|
|
1121
|
+
return _0x321fa1(0x27c);
|
|
1122
|
+
return _0x345ae6['map'](_0x3fb871 => {
|
|
1123
|
+
const _0x48684 = _0x321fa1;
|
|
1124
|
+
if (_0x3fb871[_0x48684(0x345)]) {
|
|
1125
|
+
const _0x26f93b = _0x3fb871['taskNumber'] == null ? '(legacy)' : _0x3fb871[_0x48684(0x2f6)] != null ? '#' + _0x3fb871[_0x48684(_0x334f15._0x1eee72)] + '.' + _0x3fb871['subtaskNumber'] : '#' + _0x3fb871['taskNumber'], _0x2c13b9 = _0x3fb871[_0x48684(_0x334f15._0x4b8560)] ? _0x48684(_0x334f15._0x56eb07) + _0x3fb871[_0x48684(_0x334f15._0x21b211)] : '';
|
|
1126
|
+
if (_0x3fb871['workerHandoff']) {
|
|
1127
|
+
const _0x12125a = [
|
|
1128
|
+
_0x48684(_0x334f15._0x4d1581),
|
|
1129
|
+
_0x3fb871[_0x48684(_0x334f15._0x1fdbf8)] ? 'stopMain=true' : null,
|
|
1130
|
+
_0x3fb871[_0x48684(_0x334f15._0x2d4616)] ? _0x48684(0x266) + _0x3fb871[_0x48684(0x24a)] : null,
|
|
1131
|
+
_0x3fb871['threadTarget'] ? _0x48684(_0x334f15._0x27622f) + _0x3fb871['threadTarget'] : null,
|
|
1132
|
+
_0x3fb871[_0x48684(0x2fa)] ? _0x48684(_0x334f15._0x420a8b) + _0x3fb871[_0x48684(_0x334f15._0x44efad)] : null
|
|
1133
|
+
]['filter'](Boolean)[_0x48684(_0x334f15._0x359771)]('\x20');
|
|
1134
|
+
return _0x26f93b + _0x48684(_0x334f15._0x3e3dc4) + _0x2c13b9 + '\x20' + _0x12125a + '\x0a⚠️\x20WORKER\x20ACTIVATED\x20—\x20Stop\x20ALL\x20work\x20on\x20this\x20task\x20immediately.\x20Worker\x20handles\x20execution\x20end-to-end.';
|
|
1152
1135
|
}
|
|
1153
|
-
const
|
|
1154
|
-
return
|
|
1136
|
+
const _0xbded61 = _0x3fb871[_0x48684(0x2d5)] ? '\x20workerHandoff=false\x20error=' + _0x3fb871[_0x48684(_0x334f15._0xd417c9)] : '';
|
|
1137
|
+
return _0x26f93b + _0x48684(_0x334f15._0x3e3dc4) + _0x2c13b9 + _0xbded61;
|
|
1155
1138
|
}
|
|
1156
|
-
const
|
|
1157
|
-
return
|
|
1158
|
-
})[
|
|
1139
|
+
const _0x502625 = _0x3fb871[_0x48684(_0x334f15._0x1eee72)] == null ? _0x3fb871[_0x48684(0x26b)] ?? '(unknown)' : '#' + _0x3fb871[_0x48684(0x25e)];
|
|
1140
|
+
return _0x502625 + _0x48684(0x314) + (_0x3fb871['reason'] ?? 'claim\x20failed');
|
|
1141
|
+
})[_0x321fa1(0x211)]('\x0a');
|
|
1159
1142
|
}
|
|
1160
|
-
function formatUnclaimTaskResult(
|
|
1161
|
-
const
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1143
|
+
function formatUnclaimTaskResult(_0x4efcb2) {
|
|
1144
|
+
const _0x331571 = {
|
|
1145
|
+
_0x29ace2: 0x2f6,
|
|
1146
|
+
_0x384de1: 0x25e,
|
|
1147
|
+
_0x4c55f2: 0x2d9
|
|
1148
|
+
}, _0x5e8a26 = _0x855546, _0x370364 = _0x4efcb2[_0x5e8a26(0x25e)] == null ? _0x5e8a26(0x2f5) : _0x4efcb2['subtaskNumber'] != null ? '#' + _0x4efcb2[_0x5e8a26(0x25e)] + '.' + _0x4efcb2[_0x5e8a26(_0x331571._0x29ace2)] : '#' + _0x4efcb2[_0x5e8a26(_0x331571._0x384de1)];
|
|
1149
|
+
return _0x370364 + _0x5e8a26(0x1f6) + _0x4efcb2[_0x5e8a26(_0x331571._0x4c55f2)];
|
|
1166
1150
|
}
|
|
1167
|
-
function formatUpdateTaskStatusResult(
|
|
1168
|
-
const
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
},
|
|
1173
|
-
return
|
|
1151
|
+
function formatUpdateTaskStatusResult(_0x2d42d8) {
|
|
1152
|
+
const _0x5825c9 = {
|
|
1153
|
+
_0x4846b1: 0x25e,
|
|
1154
|
+
_0x5ae52e: 0x2f6,
|
|
1155
|
+
_0xe043f: 0x2d9
|
|
1156
|
+
}, _0x7e0205 = _0x855546, _0x56df38 = _0x2d42d8[_0x7e0205(_0x5825c9._0x4846b1)] == null ? _0x7e0205(0x2f5) : _0x2d42d8['subtaskNumber'] != null ? '#' + _0x2d42d8[_0x7e0205(0x25e)] + '.' + _0x2d42d8[_0x7e0205(_0x5825c9._0x5ae52e)] : '#' + _0x2d42d8[_0x7e0205(0x25e)];
|
|
1157
|
+
return _0x56df38 + '\x20status=' + _0x2d42d8[_0x7e0205(_0x5825c9._0xe043f)];
|
|
1174
1158
|
}
|
|
1175
|
-
function
|
|
1176
|
-
const
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
'
|
|
1185
|
-
'
|
|
1186
|
-
'
|
|
1187
|
-
'
|
|
1188
|
-
'
|
|
1189
|
-
'
|
|
1190
|
-
'
|
|
1191
|
-
'
|
|
1192
|
-
'
|
|
1193
|
-
'
|
|
1194
|
-
'
|
|
1195
|
-
'
|
|
1196
|
-
'
|
|
1197
|
-
'
|
|
1198
|
-
'
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1159
|
+
function getChatBridgeToolDefinitions() {
|
|
1160
|
+
const _0x36f6f0 = {
|
|
1161
|
+
_0x22946a: 0x347,
|
|
1162
|
+
_0x4c6758: 0x343,
|
|
1163
|
+
_0x52288d: 0x20a,
|
|
1164
|
+
_0x37b737: 0x331,
|
|
1165
|
+
_0x5f00eb: 0x31b
|
|
1166
|
+
}, _0x2c5514 = _0x855546;
|
|
1167
|
+
return [
|
|
1168
|
+
{ 'name': 'send_message' },
|
|
1169
|
+
{ 'name': _0x2c5514(_0x36f6f0._0x22946a) },
|
|
1170
|
+
{ 'name': 'read_history' },
|
|
1171
|
+
{ 'name': _0x2c5514(_0x36f6f0._0x4c6758) },
|
|
1172
|
+
{ 'name': 'upload_file' },
|
|
1173
|
+
{ 'name': _0x2c5514(0x320) },
|
|
1174
|
+
{ 'name': 'list_tasks' },
|
|
1175
|
+
{ 'name': 'create_tasks' },
|
|
1176
|
+
{ 'name': 'claim_tasks' },
|
|
1177
|
+
{ 'name': _0x2c5514(_0x36f6f0._0x52288d) },
|
|
1178
|
+
{ 'name': _0x2c5514(_0x36f6f0._0x37b737) },
|
|
1179
|
+
{ 'name': _0x2c5514(_0x36f6f0._0x5f00eb) },
|
|
1180
|
+
{ 'name': 'park_worker' },
|
|
1181
|
+
{ 'name': 'escalate_to_main' },
|
|
1182
|
+
{ 'name': 'mark_waiting_input' }
|
|
1183
|
+
];
|
|
1184
|
+
}
|
|
1185
|
+
function _0x1b3e() {
|
|
1186
|
+
const _0x659298 = [
|
|
1187
|
+
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
1202
1188
|
'z2v0x3DVCMTLCL9ZDgf0DxmGzMfPBgvK',
|
|
1189
|
+
'DgfZAW',
|
|
1190
|
+
'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
|
|
1191
|
+
'AxngAwXL',
|
|
1192
|
+
'zw50CMLLCW',
|
|
1193
|
+
'kg5VBMuP',
|
|
1194
|
+
'zMv0y2HjBxbS',
|
|
1195
|
+
'l3nLBMq',
|
|
1196
|
+
'DxbKyxrLvgfZA1n0yxr1CW',
|
|
1197
|
+
'CgfYC2vjBNq',
|
|
1198
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmVy2XHAw0',
|
|
1203
1199
|
'yM9KEu1HCMTKB3DU',
|
|
1204
|
-
'
|
|
1200
|
+
'CgfYDgLJAxbHBNrjza',
|
|
1201
|
+
'igf0DgfJAg1LBNq',
|
|
1202
|
+
'l2zPBMLZAa',
|
|
1203
|
+
'B2jQzwn0',
|
|
1204
|
+
'Cgf5Bg9HzePZB24',
|
|
1205
|
+
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
1206
|
+
'zw51Bq',
|
|
1207
|
+
'zxnJywXHDgvFDg9FBwfPBG',
|
|
1208
|
+
'zxjYB3i',
|
|
1209
|
+
'CMvXDwvZDfvYBa',
|
|
1210
|
+
'ywDNCMvNyxrLvhLWzq',
|
|
1211
|
+
'l3rHC2TZpW',
|
|
1212
|
+
'sgfUzg9MzIb0BYb3B3jRzxiGzM9YihrHC2SG',
|
|
1213
|
+
'ls1HDhrHy2HTzw50lwnHy2HLlwrPCG',
|
|
1214
|
+
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
1215
|
+
'Aw5JBhvKzxm',
|
|
1216
|
+
'zMv0y2HuAw1LB3v0txm',
|
|
1217
|
+
'mJDxzejstLm',
|
|
1218
|
+
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
1219
|
+
'DxnLCG',
|
|
1220
|
+
'l3n0yxj0',
|
|
1221
|
+
'y2XHAw1uyxnRCW',
|
|
1222
|
+
'rMLSzsbUB3qGzM91BMq6ia',
|
|
1223
|
+
'y3jLyxrLvgfZA3m',
|
|
1224
|
+
'C2vYDMvYvxjS',
|
|
1225
|
+
'y3jLyxrLx3rHC2TZigzHAwXLza',
|
|
1226
|
+
'z2v0tw9UDgG',
|
|
1227
|
+
'igTPBMq9',
|
|
1228
|
+
'yxjNDG',
|
|
1229
|
+
'DgfZA3m',
|
|
1230
|
+
'l3rHC2TZl2nSywLT',
|
|
1231
|
+
'otG3mtuYnfDvsKzuCG',
|
|
1232
|
+
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
1233
|
+
'DgHYzwfKtNvTyMvY',
|
|
1234
|
+
'CMvHC29U',
|
|
1235
|
+
'Dg9tDhjPBMC',
|
|
1236
|
+
'l2fWAs9Hz2vUDc1ZzxnZAw9UCY8',
|
|
1237
|
+
'ywDLBNq',
|
|
1238
|
+
'DgvZDa',
|
|
1239
|
+
'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
|
|
1240
|
+
'ls1PBML0AwfSlwXHC3qTC2vLBI1Zzxe',
|
|
1241
|
+
'zMLSzw5HBwu',
|
|
1242
|
+
'y2HHBM5LBeLK',
|
|
1243
|
+
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
1244
|
+
'BwLU',
|
|
1245
|
+
'C2vUzf9TzxnZywDLigzHAwXLza',
|
|
1246
|
+
'ls1Zzxj2zxiTDxjS',
|
|
1247
|
+
'D3nZoG',
|
|
1248
|
+
'AwrLBxbVDgvUy3LFA2v5',
|
|
1249
|
+
'lIbnzxnZywDLieLeoIa',
|
|
1250
|
+
'AwrSzq',
|
|
1251
|
+
'ywDLBNrZ',
|
|
1252
|
+
'y29UBMvJDa',
|
|
1253
|
+
'z2v0u2vJB25KCW',
|
|
1254
|
+
'zgvZDhjVEwvK',
|
|
1255
|
+
'DxrMoa',
|
|
1205
1256
|
'BwvZC2fNzxm',
|
|
1206
|
-
'
|
|
1257
|
+
'zxzLBNrtzxe',
|
|
1258
|
+
'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
|
|
1259
|
+
'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlIbgB3iGC3vIDgfZA3mGAw4Gysb0AhjLywqSihvZzsbZDwj0yxnRx251BwjLCNmGD2L0AcbHihnPBMDSzsb0yxnRx251BwjLCNmGzw50CNKU',
|
|
1260
|
+
'ig1LC3nHz2vZkqOk',
|
|
1261
|
+
'vgHYzwfKihrHCMDLDdOG',
|
|
1262
|
+
'uefuq0G',
|
|
1263
|
+
'twfYAYb0AguGy3vYCMvUDcb3B3jRzxiGyxmGD2fPDgLUzYbMB3iGAhvTyw4GAw5WDxqUifbHDxnLCYb0AguGAwrSzsbuveWGDgLTzxiGDw50AwWGysbUzxCGBwvZC2fNzsbHCNjPDMvZlG',
|
|
1207
1264
|
'D29YA2vYsgfUzg9MzKvYCM9Y',
|
|
1208
|
-
'
|
|
1265
|
+
'DgfYz2v0zwruyxnR',
|
|
1266
|
+
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
1267
|
+
'z2v0twLUDxrLCW',
|
|
1268
|
+
'C3rHDhvZ',
|
|
1269
|
+
'yxnPzgu',
|
|
1270
|
+
'DhjPBq',
|
|
1271
|
+
't3jPz2LUywWGBwvZC2fNztOG',
|
|
1272
|
+
'rg93BMXVywrLzcb0BZOG',
|
|
1209
1273
|
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
1210
|
-
'
|
|
1211
|
-
'
|
|
1212
|
-
'
|
|
1213
|
-
'
|
|
1214
|
-
'
|
|
1215
|
-
'
|
|
1216
|
-
'
|
|
1217
|
-
'
|
|
1218
|
-
'
|
|
1219
|
-
'
|
|
1220
|
-
'
|
|
1221
|
-
'
|
|
1222
|
-
'
|
|
1223
|
-
'
|
|
1224
|
-
'
|
|
1225
|
-
'
|
|
1226
|
-
'
|
|
1227
|
-
'
|
|
1228
|
-
'
|
|
1229
|
-
'
|
|
1230
|
-
'
|
|
1231
|
-
'
|
|
1232
|
-
'AM9PBG',
|
|
1233
|
-
'CMvHzeHPC3rVCNK',
|
|
1234
|
-
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
1235
|
-
'D29YA2vYCW',
|
|
1236
|
-
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
|
|
1237
|
-
'Bg93',
|
|
1238
|
-
'C2vX',
|
|
1239
|
-
'z2v0rgf0zq',
|
|
1240
|
-
'DhLWzq',
|
|
1241
|
-
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
1242
|
-
'A2LUza',
|
|
1274
|
+
'uMvHzcb0AhjLywqGAgLZDg9YEsbIzwzVCMuGDgfRAw5NigfJDgLVBI4Grg8GBM90igvJAg8GDgHPCYbTzxnZywDLihrVihrOzsb0AhjLywqU',
|
|
1275
|
+
'D29YA2vY',
|
|
1276
|
+
'u2vUzcbHig1LC3nHz2uUieLMihzPC2LIAwXPDhKGAxmGB21PDhrLzcWGDgHLig1LC3nHz2uGAxmGChvIBgLJlIbjBIb0yxnRihrOCMvHzhmSihnLDcb2AxnPyMLSAxr5oIbHC2LKzsbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Gt3v0C2LKzsb0AhjLywrZlcbKBYbUB3qGC2v0ihzPC2LIAwXPDhKUifjLDxnLihrOzsbLEgfJDcb0yxjNzxqGC3rYAw5NigzYB20GAw5JB21PBMCGBwvZC2fNzxmU',
|
|
1277
|
+
'icHPzdO',
|
|
1278
|
+
'l3DVCMTLCNmVCgfYAW',
|
|
1279
|
+
'DgHYzwfKswq',
|
|
1280
|
+
'4PQG77IpifDpuKTfuIbbq1rjvKfuruqG4Ocuifn0B3aGquXmihDVCMSGB24GDgHPCYb0yxnRigLTBwvKAwf0zwX5lIbeBYbUB3qGC2vUzcbMDxj0AgvYig1LC3nHz2vZihrVihrOAxmGDgHYzwfKlG',
|
|
1281
|
+
'C2vYDMvYtMfTzq',
|
|
1282
|
+
'z2v0',
|
|
1283
|
+
'C3rYAw5N',
|
|
1284
|
+
'DxbSB2fKrMLSzq',
|
|
1285
|
+
'C2vYDMvY',
|
|
1286
|
+
'ChvZAa',
|
|
1287
|
+
'Aw1Hz2uVCg5N',
|
|
1288
|
+
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
1289
|
+
'C2LNBMfS',
|
|
1290
|
+
'uM9VDcb0yxnRig1LC3nHz2u6cG',
|
|
1291
|
+
'y2f0y2G',
|
|
1292
|
+
'D29YA2vYx3nLC3nPB25FAwq',
|
|
1293
|
+
'zgvZy3jPyMu',
|
|
1294
|
+
'l3vWBg9Hza',
|
|
1295
|
+
'ywDLBNrjza',
|
|
1243
1296
|
'kgXLz2fJEsK',
|
|
1244
|
-
'
|
|
1245
|
-
'
|
|
1246
|
-
'
|
|
1297
|
+
'C3vIDgfZA051BwjLCG',
|
|
1298
|
+
'D29YA2vYrgLZCg9ZAxrPB249',
|
|
1299
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxm',
|
|
1300
|
+
'ywDNCMvNyxrLswq',
|
|
1301
|
+
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
1302
|
+
'C2L6zq',
|
|
1303
|
+
'yxbWBgLJyxrPB24VANnVBG',
|
|
1304
|
+
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
1247
1305
|
'Dgv4Dc9JC3y',
|
|
1248
|
-
'
|
|
1249
|
-
'
|
|
1250
|
-
'
|
|
1251
|
-
'DgvZDa',
|
|
1306
|
+
'Dg9ju09tDhjPBMC',
|
|
1307
|
+
'sfruuca',
|
|
1308
|
+
'yxjYyxLcDwzMzxi',
|
|
1252
1309
|
'w3nLCt0',
|
|
1253
|
-
'
|
|
1254
|
-
'
|
|
1255
|
-
'
|
|
1256
|
-
'
|
|
1257
|
-
'
|
|
1258
|
-
'
|
|
1259
|
-
'
|
|
1310
|
+
'xsba',
|
|
1311
|
+
'yxv0BZO',
|
|
1312
|
+
'y2HHBM5LBfrHCMDLDa',
|
|
1313
|
+
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWGB3iGDgHYzwfKlIbuAhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPihjLDhvYBNmGDgHLihbHCMvUDcb0yxnRihbSDxmGAxrZihn1yNrHC2TZihDPDgGGywDNCMvNyxrPB24GzMLLBgrZicHJAgLSzhjLBLrVDgfSlcbJAgLSzhjLBKrVBMuSignOAwXKCMvUsw5qCM9NCMvZCYKUienOyw5UzwWGDgfYz2v0ihjLDhvYBNmGB25SEsbWyxjLBNqGDgfZA3mGkg5Vihn1yNrHC2TZks4',
|
|
1314
|
+
'y2XHAw1FDgfZA3m',
|
|
1315
|
+
'C3vIDgfZA19UDw1IzxjZ',
|
|
1316
|
+
'BMv4Den1CNnVCG',
|
|
1317
|
+
'D29YA19RzxK',
|
|
1318
|
+
'DMfSDwvZ',
|
|
1319
|
+
'DxbSB2fKx2zPBguGzMfPBgvK',
|
|
1320
|
+
'6k+35Rgcia',
|
|
1321
|
+
'ls13B3jRzxiTBw9Kzq',
|
|
1322
|
+
'B3jPz2LUywXgAwXLBMfTzq',
|
|
1323
|
+
'BM93',
|
|
1324
|
+
'Aw5FChjVz3jLC3m',
|
|
1325
|
+
'DxbSB2fKuhjLCgfYzxi',
|
|
1260
1326
|
'Dgv4Dc9WBgfPBG',
|
|
1261
|
-
'
|
|
1262
|
-
'
|
|
1263
|
-
'
|
|
1264
|
-
'
|
|
1327
|
+
'igzHAwXLzdOG',
|
|
1328
|
+
'BgLTAxq',
|
|
1329
|
+
'DgHYzwfKu2HVCNrjza',
|
|
1330
|
+
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
1331
|
+
'ue9tva',
|
|
1332
|
+
'CM9VDe1LC3nHz2vjza',
|
|
1333
|
+
'BgLZDf90yxnRCW',
|
|
1334
|
+
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
1335
|
+
'y2HHBM5LBe5HBwu',
|
|
1336
|
+
'yxr0ywnOBwvUDf9Pza',
|
|
1337
|
+
'BwvZC2fNzq',
|
|
1338
|
+
'DMLLD19MAwXLigzHAwXLza',
|
|
1339
|
+
'DMLLD19MAwXL',
|
|
1340
|
+
'Dgv4Dc9TyxjRzg93BG',
|
|
1341
|
+
'iYmJiefNzw50CW',
|
|
1342
|
+
'zgfLBw9Utg9JywXvCMW',
|
|
1343
|
+
'vgfZAYa',
|
|
1344
|
+
'zgLNzxn0',
|
|
1345
|
+
'DxbSB2fKx2zPBgu',
|
|
1346
|
+
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw5UB3qGy2XHAw0GyNKGBwvZC2fNzv9PzhmGkhrVCc1SzxzLBcbTzxnZywDLihbYB21VDgLVBIbPCYbTywLUlwfNzw50ig9UBhKPoYb1C2uGC3vIDgfZA19UDw1IzxjZigLUC2LKzsb5B3vYig93BIb0yxnRihrOCMvHzc4',
|
|
1347
|
+
'y2HHBM5LBhm',
|
|
1348
|
+
'D29YA2vYCW',
|
|
1349
|
+
'CMvWBgfJzq',
|
|
1265
1350
|
'Bwf0y2Hoyw1L',
|
|
1266
|
-
'iokaLca',
|
|
1267
|
-
'l3rHC2TZl3vUy2XHAw0',
|
|
1268
|
-
'yxbWBgLJyxrPB24VANnVBG',
|
|
1269
|
-
'khvUA25VD24P',
|
|
1270
|
-
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
1271
|
-
'ywz0zxi',
|
|
1272
|
-
'z2v0twLUDxrLCW',
|
|
1273
|
-
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
1274
|
-
'lIbnzxnZywDLieLeoIa',
|
|
1275
|
-
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
1276
|
-
'ChjVDg9JB2W',
|
|
1277
1351
|
'C2vUzf9TzxnZywDL',
|
|
1352
|
+
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
1353
|
+
'yxr0ywnOBwvUDf9Pzhm',
|
|
1354
|
+
'v29YA2vYlw9UBhKUifbHCMSGDgHLign1CNjLBNqGD29YA2vYigXHBMuGywz0zxiGEw91igHHDMuGywXYzwfKEsbYzxbVCNrLzcbYzxn1BhrZigLUihrOAxmGDgHYzwfKlIbuAgLZigrVzxmGBM90igvUzcb0AguGC2vZC2LVBJSGC2fTzs10AhjLywqGzM9SBg93lxvWihDPBgWGCMvZDw1LihrOAxmGBgfUzs4',
|
|
1355
|
+
'zgf0yq',
|
|
1356
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
1278
1357
|
'CMvZDwX0CW',
|
|
1279
|
-
'
|
|
1280
|
-
'
|
|
1281
|
-
'
|
|
1282
|
-
'
|
|
1283
|
-
'
|
|
1358
|
+
'zNjVBq',
|
|
1359
|
+
'yxr0ywnOBwvUDhm',
|
|
1360
|
+
'yxjYyxK',
|
|
1361
|
+
'lcbJB250zw50lxr5Cgu9',
|
|
1362
|
+
'EM9K',
|
|
1363
|
+
'Aw5KzxHpzG',
|
|
1364
|
+
'cGOTls0G',
|
|
1365
|
+
'C2f2zq',
|
|
1366
|
+
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
1367
|
+
'rg8GBM90ihnLBMqGzNvYDgHLCIbTzxnZywDLCYb0BYb0AgLZihrOCMvHzcdIGjqGDgHLihDVCMTLCIbPCYbOyw5KBgLUzYbPDc4',
|
|
1284
1368
|
'ktSGz290ignOyw5UzwW9',
|
|
1285
|
-
'
|
|
1286
|
-
'
|
|
1287
|
-
'
|
|
1288
|
-
'
|
|
1289
|
-
'
|
|
1290
|
-
'
|
|
1291
|
-
'
|
|
1292
|
-
'
|
|
1293
|
-
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
1294
|
-
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
1369
|
+
'y29UDgvUDfr5Cgu',
|
|
1370
|
+
'yxbWBgLJyxrPB24VEg1S',
|
|
1371
|
+
'ihrPBwu9',
|
|
1372
|
+
'BMfTzq',
|
|
1373
|
+
'ihr5Cgu9ywDLBNq',
|
|
1374
|
+
'BgLZDf9Zzxj2zxi',
|
|
1375
|
+
'zw50zxiTAgfUzg9MzIbMywLSzwq',
|
|
1376
|
+
'C3vJy2vZCW',
|
|
1295
1377
|
'Bwf4',
|
|
1296
|
-
'ue9tva',
|
|
1297
|
-
'rMLSzsbZAxPLigv4y2vLzhmGBgLTAxq6ia',
|
|
1298
|
-
'r0vu',
|
|
1299
|
-
'zgvSzxrL',
|
|
1300
|
-
'iokaLcb1C2uGDMLLD19MAwXLihrVihnLzv0',
|
|
1301
|
-
'ywrK',
|
|
1302
|
-
'CMvHzf9OAxn0B3j5',
|
|
1303
|
-
'mtr3DM96AwW',
|
|
1304
|
-
't3b0Aw9UywWUieLMig9TAxr0zwqSihrOzsbTzxnZywDLigLZihb1yMXPyY4Gsw4GDgfZAYb0AhjLywrZlcbZzxqGiMfZAwrLiIbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Grg8GBM90ihnLDcbVDxrZAwrLihrOCMvHzhmU',
|
|
1305
|
-
'DxbSB2fKx2zPBgu',
|
|
1306
|
-
'ihn0yxr1CZ0',
|
|
1307
|
-
'Dg9ju09tDhjPBMC',
|
|
1308
|
-
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
1309
|
-
'DxbSB2fKx2zPBguGzMfPBgvK',
|
|
1310
|
-
'C2LNBMfS',
|
|
1311
|
-
'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
|
|
1312
|
-
'yxv0BZO',
|
|
1313
1378
|
'y2HLy2TFBwvZC2fNzxm',
|
|
1314
|
-
'
|
|
1315
|
-
'mc4WlJa',
|
|
1316
|
-
'DgHYzwfKtNvTyMvY',
|
|
1317
|
-
'AhjLzG',
|
|
1318
|
-
'DxbSB2fKrMLSzq',
|
|
1319
|
-
'ChvZAa',
|
|
1320
|
-
'DMLLD19MAwXL',
|
|
1321
|
-
'ihrPBwu9',
|
|
1322
|
-
'Aw5JBhvKzxm',
|
|
1323
|
-
'CNvUswq',
|
|
1324
|
-
'yxjNDG',
|
|
1325
|
-
'BgLZDf90yxnRCW',
|
|
1326
|
-
'ls1KywvTB24TyxbPlwTLEq',
|
|
1327
|
-
'zxHLy3v0Aw9Utw9Kzq',
|
|
1328
|
-
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
1329
|
-
'B2jQzwn0',
|
|
1330
|
-
'rg8GBM90ihnLBMqGzNvYDgHLCIbTzxnZywDLCYb0BYb0AgLZihrOCMvHzcdIGjqGDgHLihDVCMTLCIbPCYbOyw5KBgLUzYbPDc4',
|
|
1331
|
-
'Dgv4Dc9TyxjRzg93BG',
|
|
1332
|
-
'C3bSAxq',
|
|
1333
|
-
'C3vIDgfZA051BwjLCG',
|
|
1334
|
-
'yxjYyxLcDwzMzxi',
|
|
1335
|
-
'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
|
|
1336
|
-
'DgfYz2v0zwq',
|
|
1337
|
-
'C29YDa',
|
|
1338
|
-
'BgLZDf9Zzxj2zxi',
|
|
1339
|
-
'C3vJy2vZCW',
|
|
1340
|
-
'yMfZzw5HBwu',
|
|
1341
|
-
'Dw5JBgfPBvrHC2S',
|
|
1342
|
-
'mZbqB01HCva',
|
|
1343
|
-
'ls1Zzxj2zxiTDxjS',
|
|
1344
|
-
'ig1ZzZ0',
|
|
1345
|
-
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
1379
|
+
'ywrK',
|
|
1346
1380
|
'CgfYDgLJAxbHBNq',
|
|
1347
|
-
'
|
|
1348
|
-
'
|
|
1349
|
-
'
|
|
1350
|
-
'Aw5FCMv2Awv3',
|
|
1351
|
-
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
1381
|
+
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
1382
|
+
'BwfW',
|
|
1383
|
+
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
1352
1384
|
'igrVBMuP',
|
|
1353
|
-
'
|
|
1354
|
-
'
|
|
1355
|
-
'
|
|
1356
|
-
'
|
|
1357
|
-
'
|
|
1358
|
-
'
|
|
1359
|
-
'
|
|
1385
|
+
'ChjVDg9JB2W',
|
|
1386
|
+
'BwvKAxvT',
|
|
1387
|
+
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
|
|
1388
|
+
'C3rVCe1HAw4',
|
|
1389
|
+
'ChvIBgLJ',
|
|
1390
|
+
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
1391
|
+
'y2HLy2TnzxnZywDLCW',
|
|
1392
|
+
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw4GB25SEsbJBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCNmU',
|
|
1393
|
+
'mZa4odCZnMPHqNrYwG',
|
|
1394
|
+
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
1395
|
+
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
1396
|
+
'D3m6',
|
|
1397
|
+
'y2fJAgveAxi',
|
|
1398
|
+
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
1399
|
+
'ntq2mZjZs0fcy3i',
|
|
1400
|
+
'y29UDgvUDejHC2u2na',
|
|
1401
|
+
'lsaJ',
|
|
1402
|
+
'zM9Yy2vszwzYzxnO',
|
|
1403
|
+
'oIb3B3jRzxiGCNvUDgLTzsbTAxnZAw5NihDVCMTLCLrOCMvHzfrHCMDLDdSGy2fUBM90ihzHBgLKyxrLihnJB3bL',
|
|
1404
|
+
'yxbWBgLJyxrPB24VEMLW',
|
|
1405
|
+
'C2vX',
|
|
1406
|
+
'CMvZB2X2zvrHCMDLDa',
|
|
1407
|
+
'ANnVBG',
|
|
1408
|
+
'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
|
|
1409
|
+
'zg06',
|
|
1410
|
+
'Agv4',
|
|
1411
|
+
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
1412
|
+
'Bg93',
|
|
1413
|
+
'AgfZtw9Yzq',
|
|
1414
|
+
'Dg9VBa',
|
|
1360
1415
|
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
1361
|
-
'
|
|
1362
|
-
'
|
|
1363
|
-
'
|
|
1364
|
-
'
|
|
1365
|
-
'
|
|
1366
|
-
'
|
|
1367
|
-
'
|
|
1368
|
-
'
|
|
1369
|
-
'
|
|
1370
|
-
'
|
|
1371
|
-
'
|
|
1372
|
-
'
|
|
1416
|
+
'ywz0zxi',
|
|
1417
|
+
'iJOGC3rHDhvZpq',
|
|
1418
|
+
'zMLSzv9WyxrO',
|
|
1419
|
+
'DhLWzq',
|
|
1420
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVC3rKAw8UANm',
|
|
1421
|
+
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
1422
|
+
'ywjVCNq',
|
|
1423
|
+
'CgfYA193B3jRzxi',
|
|
1424
|
+
'zgLZCg9ZAxrPB24',
|
|
1425
|
+
'BwvTyMvY',
|
|
1426
|
+
'l2LUDgvYBMfSl2fNzw50lW',
|
|
1427
|
+
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
1428
|
+
'ig1LC3nHz2u9',
|
|
1429
|
+
'ihn0yxr1CZ0',
|
|
1430
|
+
'y29UDgvUDa',
|
|
1431
|
+
'w3rHCMDLDd0',
|
|
1432
|
+
'y2HPBgrYzw5eB25L',
|
|
1433
|
+
'C29YDa',
|
|
1434
|
+
'yxbWBgLJyxrPB24VCgrM',
|
|
1373
1435
|
'Dw5JBgfPBv90yxnRoIb3B3jRzxiGy2fUig9UBhKGDw5JBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCI4',
|
|
1374
|
-
'
|
|
1375
|
-
'
|
|
1376
|
-
'
|
|
1377
|
-
'
|
|
1378
|
-
'
|
|
1379
|
-
'
|
|
1380
|
-
'
|
|
1381
|
-
'
|
|
1382
|
-
'
|
|
1383
|
-
'
|
|
1384
|
-
'
|
|
1385
|
-
'
|
|
1386
|
-
'
|
|
1387
|
-
'
|
|
1388
|
-
'
|
|
1436
|
+
'C3bSAxq',
|
|
1437
|
+
'lIbZDg9WtwfPBJ10CNvLigv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
1438
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
1439
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
1440
|
+
'r0vu',
|
|
1441
|
+
'AgfZ',
|
|
1442
|
+
'CgfKu3rHCNq',
|
|
1443
|
+
'D29YA2vYsgfUzg9MzJ10CNvL',
|
|
1444
|
+
'D29YA2vYtw9KzuvUywjSzwq',
|
|
1445
|
+
'BwvZC2fNzv9Pzhm',
|
|
1446
|
+
'zgvZy3jPChrPB24',
|
|
1447
|
+
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
1448
|
+
'l2nVBNrLBNq',
|
|
1449
|
+
'Dw5JBgfPBv90yxnR',
|
|
1450
|
+
'zMLUzenHy2HLzfbHDgG',
|
|
1451
|
+
'ls1Hz2vUDc1Pza',
|
|
1452
|
+
'C2L6zuj5DgvZ',
|
|
1453
|
+
'y2XPzw50',
|
|
1454
|
+
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
1455
|
+
'y29UDgvUDc10ExbL',
|
|
1456
|
+
'AM9PBG',
|
|
1457
|
+
'DxjNzw50',
|
|
1458
|
+
'C2nOzwr1BgvKrM9Y',
|
|
1459
|
+
'C2v0',
|
|
1460
|
+
'Ahr0CdO',
|
|
1461
|
+
'mtyYmtaYngHAB0j0AG',
|
|
1462
|
+
'l2HPC3rVCNK/',
|
|
1463
|
+
'y3vYC29Y',
|
|
1464
|
+
'C3rYAw5NAwz5',
|
|
1465
|
+
'lcbWCMv2Awv3pq',
|
|
1466
|
+
'zg93BMXVywrbDhrHy2HTzw50',
|
|
1389
1467
|
'AgLNAa',
|
|
1390
|
-
'
|
|
1391
|
-
'
|
|
1392
|
-
'
|
|
1393
|
-
'
|
|
1394
|
-
'
|
|
1395
|
-
'
|
|
1396
|
-
'
|
|
1397
|
-
'
|
|
1398
|
-
'
|
|
1399
|
-
'
|
|
1400
|
-
'
|
|
1401
|
-
'
|
|
1402
|
-
'Aw1Hz2uVD2vICa',
|
|
1403
|
-
'zg9Uzq',
|
|
1404
|
-
'ywjVCNrLza',
|
|
1405
|
-
'y29UBMvJDa',
|
|
1406
|
-
'CgfYDgLJAxbHBNrjza',
|
|
1407
|
-
'mJe3mfD6qwPbwa',
|
|
1408
|
-
'CNvUBMLUzW',
|
|
1409
|
-
'zw51Bq',
|
|
1410
|
-
'DgHYzwfKvgfYz2v0',
|
|
1411
|
-
'sfruuca',
|
|
1412
|
-
'ig1LC3nHz2vZkqOk',
|
|
1413
|
-
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
1414
|
-
'z2v0sg91CNm',
|
|
1415
|
-
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
1416
|
-
'y2f0y2G',
|
|
1417
|
-
'AxnbyNnVBhv0zq',
|
|
1418
|
-
'z2v0tw9UDgG',
|
|
1419
|
-
'l3DVCMTLCNmVCgfYAW',
|
|
1420
|
-
'zMLSzv9WyxrO',
|
|
1421
|
-
'zM9Yy2vszwzYzxnO',
|
|
1422
|
-
'zNjVBq',
|
|
1468
|
+
'C2vUzgvYvhLWzq',
|
|
1469
|
+
'igLUia',
|
|
1470
|
+
'yMfZzty0',
|
|
1471
|
+
'CNvUswq',
|
|
1472
|
+
'DgfYz2v0',
|
|
1473
|
+
'C3vIDgfZA19UDw1Izxi',
|
|
1474
|
+
'C3rHCNrLza',
|
|
1475
|
+
'CMvZDwX0sNnVBG',
|
|
1476
|
+
'twvZC2fNzsbZzw50ihrVia',
|
|
1477
|
+
'ignSywLTzwq',
|
|
1478
|
+
'CMvHzf9OAxn0B3j5',
|
|
1479
|
+
'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
|
|
1423
1480
|
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
1424
|
-
'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
|
|
1425
|
-
'D29YA2vYtw9KzuvUywjSzwq',
|
|
1426
|
-
'ChvIBgLJ',
|
|
1427
1481
|
'ls13B3jRzxiTC2vZC2LVBI1Pza',
|
|
1428
|
-
'
|
|
1482
|
+
'ywrKrxzLBNrmAxn0zw5LCG',
|
|
1483
|
+
'CgfYC2u',
|
|
1484
|
+
'DgfZA0LK',
|
|
1485
|
+
'C29Tzq',
|
|
1486
|
+
'AxngAw5PDgu',
|
|
1487
|
+
'Dg9KBW',
|
|
1488
|
+
'y3jLyxrLx3rHC2TZ',
|
|
1489
|
+
'yM9KEvrLEhq',
|
|
1490
|
+
'yxr0ywnOBwvUDeLK',
|
|
1491
|
+
'AxnbCNjHEq',
|
|
1492
|
+
'AhvTyw5Z',
|
|
1429
1493
|
'Bg9JywXLq29TCgfYzq',
|
|
1430
|
-
'
|
|
1431
|
-
'
|
|
1432
|
-
'
|
|
1433
|
-
'DgHYzwfKswq',
|
|
1434
|
-
'Dg9tDhjPBMC',
|
|
1435
|
-
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxjYB3i9',
|
|
1494
|
+
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
1495
|
+
'Axnoyu4',
|
|
1496
|
+
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
1436
1497
|
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
1437
|
-
'
|
|
1438
|
-
'
|
|
1498
|
+
'Bwf0y2Hoyw1Ltg93zxi',
|
|
1499
|
+
'oIb3B3jRzxiGy2fUig9UBhKGB3bLCMf0zsbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcaO',
|
|
1500
|
+
'zg0T',
|
|
1501
|
+
'l3jLC29SDMuTy2HHBM5LBa',
|
|
1502
|
+
'C2HHmJu2',
|
|
1503
|
+
'Aw1Hz2uVz2LM',
|
|
1504
|
+
'yxr0ywnOBwvUDenHy2HL',
|
|
1505
|
+
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4GrM9Yihn1yNrHC2TZlcbHBhnVihbHC3mGC3vIDgfZA19UDw1IzxiU',
|
|
1506
|
+
'AgvHzgvYCW',
|
|
1507
|
+
'v29YA2vYici',
|
|
1439
1508
|
'DgfZA19Pza',
|
|
1440
|
-
'
|
|
1441
|
-
'
|
|
1509
|
+
'AhjLzG',
|
|
1510
|
+
'B3b0Aw9UywW',
|
|
1511
|
+
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
1512
|
+
'D29YA2vYtw9Kzq',
|
|
1513
|
+
'zxHLy3v0Aw9Utw9Kzq',
|
|
1514
|
+
'DgHYzwfKvgfYz2v0pq',
|
|
1515
|
+
'Aw1Hz2uVC3zNk3HTBa',
|
|
1516
|
+
'ls1KywvTB24TyxbPlwTLEq',
|
|
1517
|
+
'D29YA2vYu2vZC2LVBKLK',
|
|
1518
|
+
'C3rHCNrZv2L0Aa',
|
|
1519
|
+
'ig1ZzZ0',
|
|
1520
|
+
'ls1KywvTB24TBg9JywWTDxjS',
|
|
1521
|
+
'ndaXmtm5nwjlyxD2za',
|
|
1522
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
1442
1523
|
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
1443
|
-
'
|
|
1444
|
-
'
|
|
1445
|
-
'
|
|
1446
|
-
'
|
|
1524
|
+
'zg9Uzq',
|
|
1525
|
+
'yxr0ywnOBwvUDenHy2HLrgLY',
|
|
1526
|
+
'iIbUB3qGzM91BMq',
|
|
1527
|
+
'DgfYz2v0zwq',
|
|
1528
|
+
'zxHWAxjLC0f0',
|
|
1529
|
+
'A2LUza',
|
|
1530
|
+
'CMvHzeHPC3rVCNK',
|
|
1531
|
+
'zgvSzxrL',
|
|
1532
|
+
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
1533
|
+
'DgfZA051BwjLCG',
|
|
1534
|
+
'z2v0rgf0zq',
|
|
1535
|
+
'DgL0Bgu',
|
|
1536
|
+
'DgHYzwfK',
|
|
1537
|
+
'mte4ota4A0fQAw5h',
|
|
1447
1538
|
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
1448
|
-
'
|
|
1449
|
-
'
|
|
1450
|
-
'4PQG77IpifDpuKTfuIbbq1rjvKfuruqG4Ocuifn0B3aGquXmihDVCMSGB24GDgHPCYb0yxnRigLTBwvKAwf0zwX5lIbeBYbUB3qGC2vUzcbMDxj0AgvYig1LC3nHz2vZihrVihrOAxmGDgHYzwfKlG',
|
|
1451
|
-
'y3vYC29Y',
|
|
1452
|
-
'Bwf0y2Hoyw1Ltg93zxi',
|
|
1453
|
-
'ywDLBNrZ',
|
|
1454
|
-
'l3rHC2TZ',
|
|
1455
|
-
'y29UDgvUDejHC2u2na',
|
|
1456
|
-
'v29YA2vYici',
|
|
1457
|
-
'C2L6zq',
|
|
1458
|
-
'igTPBMq9',
|
|
1459
|
-
'zxH0BMfTzq',
|
|
1460
|
-
'CMvHC29U',
|
|
1461
|
-
'y2HHBM5LBhm',
|
|
1462
|
-
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
1463
|
-
'rMLSzsbUB3qGzM91BMq6ia',
|
|
1464
|
-
'yM9KEvrLEhq',
|
|
1465
|
-
'BgLZDf90yxnRCYbMywLSzwq',
|
|
1466
|
-
'C29Tzq',
|
|
1539
|
+
'vxbKyxrLihrHC2SGC3rHDhvZigj5ignOyw5UzwWGyw5KihrHC2SGBNvTyMvYlIbgB3iGC3vIDgfZA3mSigfSC28GCgfZCYbZDwj0yxnRx251BwjLCI4',
|
|
1540
|
+
'ndiXotu2mhfrq0zqBa',
|
|
1467
1541
|
'zxHLy3v0Aw9Utw9Kzt0',
|
|
1468
|
-
'DgfZAW',
|
|
1469
|
-
'ANnVBG',
|
|
1470
|
-
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWGB3iGDgHYzwfKlIbuAhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPihjLDhvYBNmGDgHLihbHCMvUDcb0yxnRihbSDxmGAxrZihn1yNrHC2TZihDPDgGGywDNCMvNyxrPB24GzMLLBgrZicHJAgLSzhjLBLrVDgfSlcbJAgLSzhjLBKrVBMuSignOAwXKCMvUsw5qCM9NCMvZCYKUienOyw5UzwWGDgfYz2v0ihjLDhvYBNmGB25SEsbWyxjLBNqGDgfZA3mGkg5Vihn1yNrHC2TZks4',
|
|
1471
|
-
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4Gsw4Gysb0AhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPlcbJCMvHDgvZihn1yNrHC2TZihvUzgvYihrOzsbLEgLZDgLUzYbWyxjLBNqGDgfZAY4',
|
|
1472
|
-
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
1473
|
-
'ls1Hz2vUDc1Pza',
|
|
1474
|
-
'C2vUzgvYvhLWzq',
|
|
1475
|
-
'y3jLyxrLzef0',
|
|
1476
|
-
'l3rHC2TZl2nSywLT',
|
|
1477
|
-
'CM9VDe1LC3nHz2vjza',
|
|
1478
|
-
'l3vWBg9Hza',
|
|
1479
|
-
'zgvZy3jPChrPB24',
|
|
1480
|
-
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxm',
|
|
1481
1542
|
'BNvTyMvY',
|
|
1482
|
-
'
|
|
1543
|
+
'rMLSzsbZAxPLigv4y2vLzhmGBgLTAxq6ia',
|
|
1483
1544
|
'zMLUza',
|
|
1484
|
-
'
|
|
1485
|
-
'
|
|
1486
|
-
'
|
|
1487
|
-
'
|
|
1488
|
-
'
|
|
1489
|
-
'
|
|
1490
|
-
'
|
|
1491
|
-
'
|
|
1492
|
-
'
|
|
1493
|
-
'
|
|
1494
|
-
'
|
|
1495
|
-
'
|
|
1496
|
-
'
|
|
1497
|
-
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4GrM9Yihn1yNrHC2TZlcbHBhnVihbHC3mGC3vIDgfZA19UDw1IzxiU',
|
|
1498
|
-
'uM9VDcb0yxnRig1LC3nHz2u6cG',
|
|
1499
|
-
'C2vZC2LVBKLK',
|
|
1500
|
-
'zMv0y2HuAw1LB3v0txm',
|
|
1501
|
-
'l3nLCNzLCG',
|
|
1502
|
-
'Dg9KBW',
|
|
1503
|
-
'BwvTyMvYCW',
|
|
1504
|
-
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
1505
|
-
'yxr0ywnOBwvUDenHy2HL',
|
|
1506
|
-
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw5UB3qGy2XHAw0GyNKGBwvZC2fNzv9PzhmGkhrVCc1SzxzLBcbTzxnZywDLihbYB21VDgLVBIbPCYbTywLUlwfNzw50ig9UBhKPoYb1C2uGC3vIDgfZA19UDw1IzxjZigLUC2LKzsb5B3vYig93BIb0yxnRihrOCMvHzc4',
|
|
1507
|
-
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
1508
|
-
'yMfZzty0',
|
|
1509
|
-
'D29YA2vYsgfUzg9MzJ10CNvL',
|
|
1510
|
-
'B3jPz2LUywXgAwXLBMfTzq',
|
|
1511
|
-
'y2XPzw50',
|
|
1512
|
-
'AgvHzgvYCW',
|
|
1513
|
-
'C3rYAw5N',
|
|
1545
|
+
'CxvLDwvK',
|
|
1546
|
+
'BwvZC2fNzuLK',
|
|
1547
|
+
'z2v0sg91CNm',
|
|
1548
|
+
'BgvUz3rO',
|
|
1549
|
+
'y2HPBgrYzw5uB3rHBa',
|
|
1550
|
+
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
1551
|
+
'igfSCMvHzhKGAgfZigfUigfJDgL2zsb3B3jRzxiUihn0B3bnywLUpxrYDwuGzxHLy3v0Aw9Utw9Kzt13B3jRzxi',
|
|
1552
|
+
'ywjVCNrLza',
|
|
1553
|
+
'Dw5RBM93BG',
|
|
1554
|
+
'Ahr0CdOVl2XVy2fSAg9ZDdO4mtiX',
|
|
1555
|
+
'DMLZAwjPBgL0Eq',
|
|
1556
|
+
'zMLSDgvY',
|
|
1557
|
+
'zxH0BMfTzq',
|
|
1514
1558
|
'C2vUze1LC3nHz2u',
|
|
1515
|
-
'
|
|
1516
|
-
'yxnPzgu',
|
|
1517
|
-
'l2LUDgvYBMfSl2fNzw50lW',
|
|
1518
|
-
'AxngAw5PDgu',
|
|
1519
|
-
'DhjPBq',
|
|
1520
|
-
's0iPcKf0DgfJAg1LBNqGsuq6ia',
|
|
1521
|
-
'CMvZDwX0sNnVBG',
|
|
1522
|
-
'C2vUzgvYtMfTzq',
|
|
1523
|
-
'ls13B3jRzxiTDgHYzwfKlxrHCMDLDa',
|
|
1524
|
-
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
1525
|
-
'BwvZC2fNzv9Pzhm',
|
|
1526
|
-
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
1527
|
-
'D3m6',
|
|
1528
|
-
'cUkAOo+4JYbxt1jlrviGqunusvzbveveiokaLcbtDg9Wiefmtcb3B3jRig9UihrOAxmGDgfZAYbPBw1LzgLHDgvSEs4Gv29YA2vYigHHBMrSzxmGzxHLy3v0Aw9UigvUzc10BY1LBMqU',
|
|
1559
|
+
'iokaLcb1C2uGDMLLD19MAwXLihrVihnLzv0',
|
|
1529
1560
|
'Bwv0yq',
|
|
1530
|
-
'
|
|
1531
|
-
'
|
|
1532
|
-
'twLZC2LUzYaTlwrHzw1VBI1HCgKTA2v5',
|
|
1533
|
-
'C2vYDMvY',
|
|
1534
|
-
'ywrKrxzLBNrmAxn0zw5LCG',
|
|
1535
|
-
'BgvUz3rO',
|
|
1536
|
-
'yxr0ywnOBwvUDhm',
|
|
1537
|
-
'EM9K',
|
|
1538
|
-
'iYmJieH1BwfUCW',
|
|
1539
|
-
'mtG3ndHyvvfnteO',
|
|
1540
|
-
'zgvZy3jPyMu',
|
|
1541
|
-
'w3rHCMDLDd0',
|
|
1542
|
-
'ignSywLTzwq',
|
|
1543
|
-
'mtC3mtiXzfLJr05O',
|
|
1544
|
-
'y3jLyxrLx3rHC2TZigzHAwXLza',
|
|
1545
|
-
'l2fWAs9Hz2vUDc1ZzxnZAw9UCY8',
|
|
1546
|
-
'z2v0vgLTzq',
|
|
1547
|
-
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
1548
|
-
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
1549
|
-
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
1550
|
-
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
1551
|
-
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
1552
|
-
'xsba',
|
|
1561
|
+
'mvnhsMDwyW',
|
|
1562
|
+
'y2HHDa',
|
|
1553
1563
|
'tM8GDgfZA3mGy2XHAw1Lzc4',
|
|
1554
|
-
'
|
|
1555
|
-
'
|
|
1556
|
-
'
|
|
1557
|
-
'
|
|
1558
|
-
'
|
|
1559
|
-
'
|
|
1560
|
-
'
|
|
1561
|
-
'
|
|
1562
|
-
'
|
|
1563
|
-
'
|
|
1564
|
-
'
|
|
1565
|
-
'DMLZAwjPBgL0Eq'
|
|
1564
|
+
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
1565
|
+
'l3jLy2vPDMu',
|
|
1566
|
+
'ig1LC3nHz2vZihnOB3DUlIbvC2uGyMvMB3jLpq',
|
|
1567
|
+
'y2HHBM5LBa',
|
|
1568
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
|
|
1569
|
+
'yMvMB3jL',
|
|
1570
|
+
'CNvUBMLUzW',
|
|
1571
|
+
'y3jLyxrLzef0',
|
|
1572
|
+
'DgHYzwfKx3rHCMDLDa',
|
|
1573
|
+
'C2XPy2u',
|
|
1574
|
+
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm'
|
|
1566
1575
|
];
|
|
1567
|
-
|
|
1568
|
-
return
|
|
1576
|
+
_0x1b3e = function () {
|
|
1577
|
+
return _0x659298;
|
|
1569
1578
|
};
|
|
1570
|
-
return
|
|
1571
|
-
}
|
|
1572
|
-
function getChatBridgeToolDefinitions() {
|
|
1573
|
-
const _0xa6f908 = {
|
|
1574
|
-
_0x56da38: 0x1df,
|
|
1575
|
-
_0x1bb4dd: 0x1e6,
|
|
1576
|
-
_0xfe774a: 0x219,
|
|
1577
|
-
_0x461779: 0x2b8
|
|
1578
|
-
}, _0x872e2a = _0x363898;
|
|
1579
|
-
return [
|
|
1580
|
-
{ 'name': _0x872e2a(0x1bb) },
|
|
1581
|
-
{ 'name': _0x872e2a(_0xa6f908._0x56da38) },
|
|
1582
|
-
{ 'name': 'read_history' },
|
|
1583
|
-
{ 'name': _0x872e2a(0x1f8) },
|
|
1584
|
-
{ 'name': _0x872e2a(0x1d7) },
|
|
1585
|
-
{ 'name': _0x872e2a(_0xa6f908._0x1bb4dd) },
|
|
1586
|
-
{ 'name': _0x872e2a(0x1eb) },
|
|
1587
|
-
{ 'name': 'create_tasks' },
|
|
1588
|
-
{ 'name': _0x872e2a(_0xa6f908._0xfe774a) },
|
|
1589
|
-
{ 'name': 'unclaim_task' },
|
|
1590
|
-
{ 'name': _0x872e2a(0x2b2) },
|
|
1591
|
-
{ 'name': 'get_worker_status' },
|
|
1592
|
-
{ 'name': 'park_worker' },
|
|
1593
|
-
{ 'name': _0x872e2a(0x15c) },
|
|
1594
|
-
{ 'name': _0x872e2a(_0xa6f908._0x461779) }
|
|
1595
|
-
];
|
|
1579
|
+
return _0x1b3e();
|
|
1596
1580
|
}
|
|
1597
|
-
function createChatBridgeHandlers(
|
|
1598
|
-
const
|
|
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
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
if (!_0x504396[_0x7fa2c2(0x17f)])
|
|
1581
|
+
function createChatBridgeHandlers(_0x430934) {
|
|
1582
|
+
const _0x484c8f = { _0x4cc263: 0x2c7 }, _0xb054a3 = {
|
|
1583
|
+
_0x5bf224: 0x219,
|
|
1584
|
+
_0x1cb09e: 0x29d,
|
|
1585
|
+
_0x4c0fe7: 0x239,
|
|
1586
|
+
_0x52e8c5: 0x26f
|
|
1587
|
+
}, _0x467985 = {
|
|
1588
|
+
_0x1a2505: 0x323,
|
|
1589
|
+
_0x1865bb: 0x2f4,
|
|
1590
|
+
_0x3128ff: 0x1ff,
|
|
1591
|
+
_0x88b341: 0x323,
|
|
1592
|
+
_0x3ce2d2: 0x2fc,
|
|
1593
|
+
_0x5259df: 0x29d,
|
|
1594
|
+
_0x1313bc: 0x1e8,
|
|
1595
|
+
_0x59ea0c: 0x244
|
|
1596
|
+
}, _0x10feaf = {
|
|
1597
|
+
_0x3d7e2f: 0x323,
|
|
1598
|
+
_0x6ae4c8: 0x219,
|
|
1599
|
+
_0x3ac7c7: 0x30a
|
|
1600
|
+
}, _0x5dfdf9 = {
|
|
1601
|
+
_0x2211ed: 0x323,
|
|
1602
|
+
_0x51e384: 0x2bc,
|
|
1603
|
+
_0x2bcbf2: 0x30a
|
|
1604
|
+
}, _0x3e5dd5 = {
|
|
1605
|
+
_0x263ed0: 0x241,
|
|
1606
|
+
_0x5f2d85: 0x31d,
|
|
1607
|
+
_0x2f15c7: 0x21b,
|
|
1608
|
+
_0x4b8743: 0x33a,
|
|
1609
|
+
_0x523485: 0x330,
|
|
1610
|
+
_0x3cfd77: 0x30f
|
|
1611
|
+
}, _0x50c129 = {
|
|
1612
|
+
_0x20e487: 0x1eb,
|
|
1613
|
+
_0x3c56ed: 0x280
|
|
1614
|
+
}, _0x50b294 = { _0xef7a04: 0x20e }, _0x1d0741 = {
|
|
1615
|
+
_0x25888a: 0x20a,
|
|
1616
|
+
_0x1de8b5: 0x1fc
|
|
1617
|
+
}, _0x4811af = {
|
|
1618
|
+
_0x434c51: 0x249,
|
|
1619
|
+
_0x18d3da: 0x308,
|
|
1620
|
+
_0x3e7d9f: 0x26d,
|
|
1621
|
+
_0x5ba21f: 0x1d1,
|
|
1622
|
+
_0x423d8c: 0x2aa
|
|
1623
|
+
}, _0x3c8972 = { _0x1474e1: 0x231 }, _0x2ba06a = {
|
|
1624
|
+
_0xb310d4: 0x20e,
|
|
1625
|
+
_0x20d994: 0x329,
|
|
1626
|
+
_0x5f0a89: 0x24f,
|
|
1627
|
+
_0x5e16c8: 0x26d,
|
|
1628
|
+
_0x5d758d: 0x269
|
|
1629
|
+
}, _0x100a4f = { _0x2e9ec4: 0x20e }, _0x126e6e = { _0x23626d: 0x20e }, _0x2fa3ad = {
|
|
1630
|
+
_0x507b29: 0x1d0,
|
|
1631
|
+
_0x1e465a: 0x249,
|
|
1632
|
+
_0x53ad5d: 0x275
|
|
1633
|
+
}, _0x1e94ba = {
|
|
1634
|
+
_0x1b2722: 0x323,
|
|
1635
|
+
_0x4ec4f0: 0x28a,
|
|
1636
|
+
_0x554fe2: 0x2f5,
|
|
1637
|
+
_0x38a82e: 0x2b6,
|
|
1638
|
+
_0x26e648: 0x221,
|
|
1639
|
+
_0x1cdb27: 0x2e4,
|
|
1640
|
+
_0x498856: 0x286,
|
|
1641
|
+
_0x5872d8: 0x324,
|
|
1642
|
+
_0x671f: 0x21e,
|
|
1643
|
+
_0x1de848: 0x270,
|
|
1644
|
+
_0x493021: 0x33c,
|
|
1645
|
+
_0x1de085: 0x1f8,
|
|
1646
|
+
_0x422457: 0x2ff,
|
|
1647
|
+
_0x19a504: 0x2dc,
|
|
1648
|
+
_0x759333: 0x2df,
|
|
1649
|
+
_0x450fc5: 0x211,
|
|
1650
|
+
_0x10f292: 0x318,
|
|
1651
|
+
_0x27c9d5: 0x2a8,
|
|
1652
|
+
_0x6f0a7: 0x344,
|
|
1653
|
+
_0x1a664e: 0x2a1,
|
|
1654
|
+
_0xac9df4: 0x21e,
|
|
1655
|
+
_0x3c91e6: 0x1fe,
|
|
1656
|
+
_0x437b83: 0x1f1,
|
|
1657
|
+
_0x3d1026: 0x2e5,
|
|
1658
|
+
_0x2a1774: 0x20e,
|
|
1659
|
+
_0x2541a5: 0x277,
|
|
1660
|
+
_0x30c2d2: 0x32e,
|
|
1661
|
+
_0x1cdf1c: 0x1f7,
|
|
1662
|
+
_0x5b8b0e: 0x274,
|
|
1663
|
+
_0xcef203: 0x225,
|
|
1664
|
+
_0x2434f6: 0x2c6
|
|
1665
|
+
}, _0x1b3783 = {
|
|
1666
|
+
_0x3d3cde: 0x323,
|
|
1667
|
+
_0x12fa66: 0x32d,
|
|
1668
|
+
_0x58969b: 0x329,
|
|
1669
|
+
_0x55c2f2: 0x2d9
|
|
1670
|
+
}, _0x26ff52 = {
|
|
1671
|
+
_0x369075: 0x2f4,
|
|
1672
|
+
_0x5335fc: 0x323,
|
|
1673
|
+
_0x4d8997: 0x329,
|
|
1674
|
+
_0x2a4a76: 0x2d9
|
|
1675
|
+
}, _0x5b11e4 = {
|
|
1676
|
+
_0x1f8eba: 0x2b6,
|
|
1677
|
+
_0x2d2c4c: 0x26b,
|
|
1678
|
+
_0x2ea76c: 0x20e,
|
|
1679
|
+
_0x495380: 0x2cd,
|
|
1680
|
+
_0x37578f: 0x269,
|
|
1681
|
+
_0x52e304: 0x25e,
|
|
1682
|
+
_0xa70bb2: 0x2f5,
|
|
1683
|
+
_0x45429f: 0x250,
|
|
1684
|
+
_0x5ac2b0: 0x2ff,
|
|
1685
|
+
_0x57a539: 0x2ef,
|
|
1686
|
+
_0x22f6ba: 0x2a7,
|
|
1687
|
+
_0x13d0c7: 0x2f4,
|
|
1688
|
+
_0x2f2fe4: 0x22d,
|
|
1689
|
+
_0x2ad177: 0x25e,
|
|
1690
|
+
_0x20af9f: 0x2f1,
|
|
1691
|
+
_0x4fb4b7: 0x2e0
|
|
1692
|
+
}, _0x47cbb4 = {
|
|
1693
|
+
_0x1e82d2: 0x249,
|
|
1694
|
+
_0x424afa: 0x1dc,
|
|
1695
|
+
_0x113989: 0x1d7,
|
|
1696
|
+
_0x13c04e: 0x23c
|
|
1697
|
+
}, _0x21d8f1 = _0x855546;
|
|
1698
|
+
function _0x1e60ad(_0x34f97c, _0x25f279) {
|
|
1699
|
+
const _0x2cdc24 = _0x17ac;
|
|
1700
|
+
if (!_0x430934[_0x2cdc24(_0x47cbb4._0x1e82d2)])
|
|
1718
1701
|
return;
|
|
1719
|
-
if (!
|
|
1720
|
-
throw new Error(
|
|
1721
|
-
if (
|
|
1722
|
-
throw new Error(
|
|
1702
|
+
if (!_0x430934[_0x2cdc24(0x1d7)])
|
|
1703
|
+
throw new Error(_0x34f97c + _0x2cdc24(_0x47cbb4._0x424afa));
|
|
1704
|
+
if (_0x25f279 !== _0x430934[_0x2cdc24(_0x47cbb4._0x113989)])
|
|
1705
|
+
throw new Error(_0x34f97c + _0x2cdc24(_0x47cbb4._0x13c04e) + _0x430934[_0x2cdc24(0x1d7)] + _0x2cdc24(0x33d) + _0x25f279);
|
|
1723
1706
|
}
|
|
1724
|
-
async function
|
|
1725
|
-
const
|
|
1726
|
-
if (!
|
|
1707
|
+
async function _0x4baf5d(_0x121895) {
|
|
1708
|
+
const _0x47fc62 = _0x17ac;
|
|
1709
|
+
if (!_0x430934[_0x47fc62(0x323)] || !_0x430934[_0x47fc62(0x2f4)] || _0x430934[_0x47fc62(0x249)] || _0x430934['workerModeEnabled'] !== !![])
|
|
1727
1710
|
return null;
|
|
1728
|
-
const
|
|
1729
|
-
if (
|
|
1711
|
+
const _0x3b9111 = parseTarget(_0x121895[_0x47fc62(0x280)]);
|
|
1712
|
+
if (_0x3b9111[_0x47fc62(0x25a)] !== _0x47fc62(0x280))
|
|
1730
1713
|
return null;
|
|
1731
|
-
const
|
|
1732
|
-
let
|
|
1714
|
+
const _0x37fb9d = _0x121895[_0x47fc62(_0x5b11e4._0x1f8eba)] != null ? _0x3b9111[_0x47fc62(0x305)] + ':t' + _0x121895[_0x47fc62(_0x5b11e4._0x1f8eba)] : _0x3b9111[_0x47fc62(0x305)] + ':' + _0x121895[_0x47fc62(_0x5b11e4._0x2d2c4c)];
|
|
1715
|
+
let _0x36dc49;
|
|
1733
1716
|
try {
|
|
1734
|
-
const
|
|
1735
|
-
'channel':
|
|
1717
|
+
const _0x3dbcd3 = await _0x430934[_0x47fc62(_0x5b11e4._0x2ea76c)][_0x47fc62(0x25b)]({
|
|
1718
|
+
'channel': _0x37fb9d,
|
|
1736
1719
|
'limit': 0x14
|
|
1737
1720
|
});
|
|
1738
|
-
|
|
1721
|
+
_0x36dc49 = _0x3dbcd3[_0x47fc62(_0x5b11e4._0x495380)][_0x47fc62(_0x5b11e4._0x37578f)](_0x6bd6ef => _0x6bd6ef[_0x47fc62(0x26b)] === _0x121895[_0x47fc62(0x26b)]);
|
|
1739
1722
|
} catch {
|
|
1740
|
-
|
|
1723
|
+
_0x36dc49 = void 0x0;
|
|
1741
1724
|
}
|
|
1742
|
-
const
|
|
1743
|
-
|
|
1725
|
+
const _0x22c041 = _0x121895[_0x47fc62(_0x5b11e4._0x52e304)] == null ? _0x47fc62(_0x5b11e4._0xa70bb2) : '#' + _0x121895[_0x47fc62(0x25e)], _0x13dac1 = [
|
|
1726
|
+
_0x47fc62(0x1f8) + _0x37fb9d + _0x47fc62(_0x5b11e4._0x45429f) + _0x121895[_0x47fc62(0x26b)]['slice'](0x0, 0x8) + _0x47fc62(0x340) + new Date()[_0x47fc62(_0x5b11e4._0x5ac2b0)]() + ']\x20@system:\x20[claim-handoff]\x20' + _0x22c041 + _0x47fc62(0x287),
|
|
1744
1727
|
'',
|
|
1745
|
-
|
|
1728
|
+
_0x36dc49 ? _0x47fc62(_0x5b11e4._0x57a539) + _0x36dc49[_0x47fc62(0x1f7)] : 'Root\x20task\x20message\x20id:\x20' + _0x121895[_0x47fc62(_0x5b11e4._0x2d2c4c)],
|
|
1746
1729
|
'',
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
][
|
|
1750
|
-
'method':
|
|
1751
|
-
'headers': { 'Content-Type':
|
|
1752
|
-
'body': JSON[
|
|
1753
|
-
'agent_id':
|
|
1754
|
-
'thread_target':
|
|
1730
|
+
'Thread\x20target:\x20' + _0x37fb9d,
|
|
1731
|
+
_0x47fc62(0x229)
|
|
1732
|
+
]['join']('\x0a'), _0x404c0f = await fetch(_0x430934[_0x47fc62(0x323)] + _0x47fc62(_0x5b11e4._0x22f6ba), {
|
|
1733
|
+
'method': _0x47fc62(0x318),
|
|
1734
|
+
'headers': { 'Content-Type': 'application/json' },
|
|
1735
|
+
'body': JSON[_0x47fc62(0x219)]({
|
|
1736
|
+
'agent_id': _0x430934[_0x47fc62(_0x5b11e4._0x13d0c7)],
|
|
1737
|
+
'thread_target': _0x37fb9d,
|
|
1755
1738
|
'spawn_packet': {
|
|
1756
|
-
'replyTarget':
|
|
1757
|
-
...
|
|
1739
|
+
'replyTarget': _0x37fb9d,
|
|
1740
|
+
..._0x121895['taskId'] ? { 'taskId': _0x121895[_0x47fc62(_0x5b11e4._0x2f2fe4)] } : _0x121895[_0x47fc62(_0x5b11e4._0x2ad177)] != null ? { 'taskId': 'task-' + _0x121895['taskNumber'] } : {}
|
|
1758
1741
|
},
|
|
1759
1742
|
'payload': {
|
|
1760
|
-
'mode':
|
|
1761
|
-
'text':
|
|
1743
|
+
'mode': 'user',
|
|
1744
|
+
'text': _0x13dac1
|
|
1762
1745
|
}
|
|
1763
1746
|
})
|
|
1764
|
-
}),
|
|
1765
|
-
if (!
|
|
1766
|
-
throw new Error(
|
|
1747
|
+
}), _0x138a61 = await _0x404c0f[_0x47fc62(0x1e0)]();
|
|
1748
|
+
if (!_0x138a61['ok'])
|
|
1749
|
+
throw new Error(_0x138a61['error'] ?? _0x47fc62(0x23a));
|
|
1767
1750
|
return {
|
|
1768
1751
|
'stopMain': !![],
|
|
1769
|
-
'threadTarget':
|
|
1770
|
-
'workerDisposition':
|
|
1752
|
+
'threadTarget': _0x37fb9d,
|
|
1753
|
+
'workerDisposition': _0x138a61[_0x47fc62(0x1f1)] === _0x47fc62(0x26a) ? _0x47fc62(0x26a) : _0x47fc62(0x223),
|
|
1771
1754
|
'workerHandoff': !![],
|
|
1772
|
-
'workerSessionId':
|
|
1773
|
-
'executionMode':
|
|
1755
|
+
'workerSessionId': _0x138a61[_0x47fc62(_0x5b11e4._0x20af9f)] ?? '',
|
|
1756
|
+
'executionMode': _0x47fc62(_0x5b11e4._0x4fb4b7)
|
|
1774
1757
|
};
|
|
1775
1758
|
}
|
|
1776
|
-
async function
|
|
1777
|
-
const
|
|
1778
|
-
if (!
|
|
1759
|
+
async function _0x255716() {
|
|
1760
|
+
const _0xbbbc67 = _0x17ac;
|
|
1761
|
+
if (!_0x430934['daemonLocalUrl'] || !_0x430934[_0xbbbc67(_0x26ff52._0x369075)] || _0x430934['workerMode'])
|
|
1779
1762
|
return null;
|
|
1780
1763
|
try {
|
|
1781
|
-
const
|
|
1782
|
-
if (!
|
|
1764
|
+
const _0x85565e = await fetch(_0x430934[_0xbbbc67(_0x26ff52._0x5335fc)] + _0xbbbc67(0x32d) + encodeURIComponent(_0x430934[_0xbbbc67(_0x26ff52._0x369075)])), _0x5ed60f = await _0x85565e[_0xbbbc67(0x1e0)]();
|
|
1765
|
+
if (!_0x5ed60f['ok'])
|
|
1783
1766
|
return null;
|
|
1784
|
-
const
|
|
1785
|
-
for (const
|
|
1786
|
-
|
|
1767
|
+
const _0x49a1a8 = new Set();
|
|
1768
|
+
for (const _0x11c493 of _0x5ed60f[_0xbbbc67(_0x26ff52._0x4d8997)]) {
|
|
1769
|
+
_0x11c493[_0xbbbc67(_0x26ff52._0x2a4a76)] !== 'destroyed' && _0x11c493[_0xbbbc67(0x285)] && _0x49a1a8['add'](_0x11c493[_0xbbbc67(0x285)]);
|
|
1787
1770
|
}
|
|
1788
|
-
return
|
|
1771
|
+
return _0x49a1a8[_0xbbbc67(0x2fb)] > 0x0 ? _0x49a1a8 : null;
|
|
1789
1772
|
} catch {
|
|
1790
1773
|
return null;
|
|
1791
1774
|
}
|
|
1792
1775
|
}
|
|
1793
|
-
const
|
|
1794
|
-
|
|
1795
|
-
|
|
1776
|
+
const _0x48d7f8 = new Set([
|
|
1777
|
+
'running',
|
|
1778
|
+
_0x21d8f1(_0x484c8f._0x4cc263),
|
|
1796
1779
|
'waiting_input'
|
|
1797
1780
|
]);
|
|
1798
|
-
async function
|
|
1799
|
-
const
|
|
1800
|
-
if (!
|
|
1781
|
+
async function _0x1d8449() {
|
|
1782
|
+
const _0x45b170 = _0x21d8f1;
|
|
1783
|
+
if (!_0x430934[_0x45b170(_0x1b3783._0x3d3cde)] || !_0x430934[_0x45b170(0x2f4)] || _0x430934[_0x45b170(0x249)])
|
|
1801
1784
|
return null;
|
|
1802
1785
|
try {
|
|
1803
|
-
const
|
|
1804
|
-
if (!
|
|
1786
|
+
const _0xe527c8 = await fetch(_0x430934['daemonLocalUrl'] + _0x45b170(_0x1b3783._0x12fa66) + encodeURIComponent(_0x430934[_0x45b170(0x2f4)])), _0x2b2770 = await _0xe527c8[_0x45b170(0x1e0)]();
|
|
1787
|
+
if (!_0x2b2770['ok'])
|
|
1805
1788
|
return null;
|
|
1806
|
-
const
|
|
1807
|
-
for (const
|
|
1808
|
-
|
|
1789
|
+
const _0x4619de = new Set();
|
|
1790
|
+
for (const _0x28e16b of _0x2b2770[_0x45b170(_0x1b3783._0x58969b)]) {
|
|
1791
|
+
_0x48d7f8[_0x45b170(0x202)](_0x28e16b[_0x45b170(_0x1b3783._0x55c2f2)]) && _0x28e16b[_0x45b170(0x285)] && _0x4619de[_0x45b170(0x348)](_0x28e16b['thread_target']);
|
|
1809
1792
|
}
|
|
1810
|
-
return
|
|
1793
|
+
return _0x4619de[_0x45b170(0x2fb)] > 0x0 ? _0x4619de : null;
|
|
1811
1794
|
} catch {
|
|
1812
1795
|
return null;
|
|
1813
1796
|
}
|
|
1814
1797
|
}
|
|
1815
1798
|
return {
|
|
1816
|
-
async 'send_message'(
|
|
1817
|
-
const
|
|
1818
|
-
if (!
|
|
1819
|
-
const
|
|
1820
|
-
if (
|
|
1821
|
-
const
|
|
1822
|
-
if (
|
|
1799
|
+
async 'send_message'(_0x1e513a) {
|
|
1800
|
+
const _0x21caff = _0x21d8f1;
|
|
1801
|
+
if (!_0x430934[_0x21caff(0x249)] && _0x430934['workerModeEnabled'] && _0x430934[_0x21caff(_0x1e94ba._0x1b2722)] && _0x430934['agentId']) {
|
|
1802
|
+
const _0x4c623a = await _0x430934['client'][_0x21caff(0x1df)](_0x1e513a[_0x21caff(0x221)]);
|
|
1803
|
+
if (_0x4c623a['task'] && _0x4c623a[_0x21caff(0x2e4)]) {
|
|
1804
|
+
const _0xab2579 = _0x4c623a[_0x21caff(0x28a)][_0x21caff(0x25e)] != null ? '#' + _0x4c623a[_0x21caff(_0x1e94ba._0x4ec4f0)][_0x21caff(0x25e)] : _0x21caff(_0x1e94ba._0x554fe2), _0x5268b8 = _0x4c623a[_0x21caff(_0x1e94ba._0x38a82e)] != null ? _0x4c623a['target'] + ':t' + _0x4c623a[_0x21caff(0x2b6)] : _0x4c623a[_0x21caff(_0x1e94ba._0x26e648)] + ':' + _0x4c623a[_0x21caff(_0x1e94ba._0x1cdb27)][_0x21caff(_0x1e94ba._0x498856)](0x0, 0x8), _0x94805f = await _0x1d8449();
|
|
1805
|
+
if (_0x94805f?.[_0x21caff(0x202)](_0x5268b8))
|
|
1823
1806
|
return [
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
][
|
|
1827
|
-
const
|
|
1828
|
-
|
|
1807
|
+
_0x21caff(_0x1e94ba._0x5872d8) + _0xab2579 + _0x21caff(_0x1e94ba._0x671f) + _0x5268b8 + _0x21caff(_0x1e94ba._0x1de848),
|
|
1808
|
+
_0x21caff(_0x1e94ba._0x493021)
|
|
1809
|
+
]['join']('\x0a');
|
|
1810
|
+
const _0x5adf36 = [
|
|
1811
|
+
_0x21caff(_0x1e94ba._0x1de085) + _0x5268b8 + _0x21caff(0x2fd) + new Date()[_0x21caff(_0x1e94ba._0x422457)]() + _0x21caff(0x1e4),
|
|
1829
1812
|
'',
|
|
1830
|
-
|
|
1831
|
-
'Task:\x20' +
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
][
|
|
1835
|
-
'method':
|
|
1836
|
-
'headers': { 'Content-Type':
|
|
1837
|
-
'body': JSON[
|
|
1838
|
-
'agent_id':
|
|
1839
|
-
'thread_target':
|
|
1813
|
+
_0x21caff(_0x1e94ba._0x19a504) + _0x1e513a[_0x21caff(0x1f7)],
|
|
1814
|
+
'Task:\x20' + _0xab2579 + '\x20(' + _0x4c623a[_0x21caff(_0x1e94ba._0x4ec4f0)]['taskId'] + ')',
|
|
1815
|
+
_0x21caff(0x2d2) + _0x5268b8,
|
|
1816
|
+
_0x21caff(_0x1e94ba._0x759333)
|
|
1817
|
+
][_0x21caff(_0x1e94ba._0x450fc5)]('\x0a'), _0x4e054b = await fetch(_0x430934[_0x21caff(_0x1e94ba._0x1b2722)] + _0x21caff(0x2a7), {
|
|
1818
|
+
'method': _0x21caff(_0x1e94ba._0x10f292),
|
|
1819
|
+
'headers': { 'Content-Type': 'application/json' },
|
|
1820
|
+
'body': JSON['stringify']({
|
|
1821
|
+
'agent_id': _0x430934['agentId'],
|
|
1822
|
+
'thread_target': _0x5268b8,
|
|
1840
1823
|
'spawn_packet': {
|
|
1841
|
-
'replyTarget':
|
|
1842
|
-
'taskId':
|
|
1824
|
+
'replyTarget': _0x5268b8,
|
|
1825
|
+
'taskId': _0x4c623a['task']['taskId']
|
|
1843
1826
|
},
|
|
1844
1827
|
'payload': {
|
|
1845
|
-
'mode':
|
|
1846
|
-
'text':
|
|
1828
|
+
'mode': _0x21caff(_0x1e94ba._0x27c9d5),
|
|
1829
|
+
'text': _0x5adf36
|
|
1847
1830
|
}
|
|
1848
1831
|
})
|
|
1849
|
-
}),
|
|
1850
|
-
if (!
|
|
1851
|
-
throw new Error(
|
|
1832
|
+
}), _0x59a07b = await _0x4e054b['json']();
|
|
1833
|
+
if (!_0x59a07b['ok'])
|
|
1834
|
+
throw new Error(_0x59a07b['error'] ?? _0x21caff(_0x1e94ba._0x6f0a7));
|
|
1852
1835
|
return [
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
][
|
|
1836
|
+
_0x21caff(_0x1e94ba._0x1a664e) + _0xab2579 + _0x21caff(_0x1e94ba._0xac9df4) + _0x5268b8 + _0x21caff(_0x1e94ba._0x3c91e6),
|
|
1837
|
+
'Worker\x20' + (_0x59a07b[_0x21caff(_0x1e94ba._0x437b83)] === 'queued' ? _0x21caff(0x26a) : 'started') + '.',
|
|
1838
|
+
_0x21caff(_0x1e94ba._0x3d1026)
|
|
1839
|
+
][_0x21caff(0x211)]('\x0a');
|
|
1857
1840
|
}
|
|
1858
1841
|
}
|
|
1859
|
-
const
|
|
1860
|
-
'attachmentIds':
|
|
1861
|
-
'content':
|
|
1862
|
-
'target':
|
|
1863
|
-
'visibility':
|
|
1842
|
+
const _0x363293 = await _0x430934[_0x21caff(_0x1e94ba._0x2a1774)][_0x21caff(_0x1e94ba._0x2541a5)]({
|
|
1843
|
+
'attachmentIds': _0x1e513a[_0x21caff(_0x1e94ba._0x30c2d2)],
|
|
1844
|
+
'content': _0x1e513a[_0x21caff(_0x1e94ba._0x1cdf1c)],
|
|
1845
|
+
'target': _0x1e513a[_0x21caff(_0x1e94ba._0x26e648)],
|
|
1846
|
+
'visibility': _0x1e513a[_0x21caff(_0x1e94ba._0x5b8b0e)]
|
|
1864
1847
|
});
|
|
1865
|
-
return
|
|
1848
|
+
return _0x21caff(_0x1e94ba._0xcef203) + _0x1e513a[_0x21caff(_0x1e94ba._0x26e648)] + _0x21caff(_0x1e94ba._0x2434f6) + _0x363293['messageId'];
|
|
1866
1849
|
},
|
|
1867
1850
|
async 'check_messages'() {
|
|
1868
|
-
const
|
|
1869
|
-
if (!
|
|
1870
|
-
const
|
|
1871
|
-
if (
|
|
1872
|
-
return formatCheckMessages(
|
|
1851
|
+
const _0x2bdb19 = _0x21d8f1, _0x58e698 = await _0x430934[_0x2bdb19(0x20e)][_0x2bdb19(_0x2fa3ad._0x507b29)]();
|
|
1852
|
+
if (!_0x430934[_0x2bdb19(_0x2fa3ad._0x1e465a)]) {
|
|
1853
|
+
const _0x4bf395 = await _0x255716();
|
|
1854
|
+
if (_0x4bf395)
|
|
1855
|
+
return formatCheckMessages(_0x58e698['messages'][_0x2bdb19(_0x2fa3ad._0x53ad5d)](_0x8e79c9 => !_0x4bf395[_0x2bdb19(0x202)](_0x8e79c9['target'])));
|
|
1873
1856
|
}
|
|
1874
|
-
return formatCheckMessages(
|
|
1857
|
+
return formatCheckMessages(_0x58e698[_0x2bdb19(0x2cd)]);
|
|
1875
1858
|
},
|
|
1876
|
-
async 'read_history'(
|
|
1877
|
-
const
|
|
1878
|
-
return formatHistory(
|
|
1859
|
+
async 'read_history'(_0xb401c6) {
|
|
1860
|
+
const _0x365cf8 = _0x21d8f1, _0x4cac02 = await _0x430934[_0x365cf8(_0x126e6e._0x23626d)][_0x365cf8(0x25b)](_0xb401c6);
|
|
1861
|
+
return formatHistory(_0x4cac02);
|
|
1879
1862
|
},
|
|
1880
1863
|
async 'list_server'() {
|
|
1881
|
-
const
|
|
1882
|
-
return formatServerDirectory(
|
|
1864
|
+
const _0x4289ab = _0x21d8f1, _0x4e79d3 = await _0x430934[_0x4289ab(_0x100a4f._0x2e9ec4)]['listServer']();
|
|
1865
|
+
return formatServerDirectory(_0x4e79d3);
|
|
1883
1866
|
},
|
|
1884
|
-
async 'list_tasks'(
|
|
1885
|
-
const
|
|
1886
|
-
let
|
|
1887
|
-
if (
|
|
1867
|
+
async 'list_tasks'(_0x3b65cd) {
|
|
1868
|
+
const _0xb5f18a = _0x21d8f1, _0x1b3f39 = await _0x430934[_0xb5f18a(_0x2ba06a._0xb310d4)]['listTasks'](_0x3b65cd);
|
|
1869
|
+
let _0x3885c4;
|
|
1870
|
+
if (_0x430934[_0xb5f18a(0x323)] && _0x430934['agentId'])
|
|
1888
1871
|
try {
|
|
1889
|
-
const
|
|
1890
|
-
if (
|
|
1891
|
-
const
|
|
1892
|
-
|
|
1893
|
-
for (const
|
|
1894
|
-
if (
|
|
1872
|
+
const _0x3d779e = await fetch(_0x430934[_0xb5f18a(0x323)] + _0xb5f18a(0x32d) + encodeURIComponent(_0x430934[_0xb5f18a(0x2f4)])), _0xf91651 = await _0x3d779e['json']();
|
|
1873
|
+
if (_0xf91651['ok']) {
|
|
1874
|
+
const _0x559304 = _0x3b65cd[_0xb5f18a(0x280)] + ':';
|
|
1875
|
+
_0x3885c4 = new Set();
|
|
1876
|
+
for (const _0x294e4d of _0xf91651[_0xb5f18a(_0x2ba06a._0x20d994)]) {
|
|
1877
|
+
if (_0x294e4d[_0xb5f18a(0x2d9)] === _0xb5f18a(0x2cb))
|
|
1895
1878
|
continue;
|
|
1896
|
-
if (
|
|
1897
|
-
const
|
|
1898
|
-
if (
|
|
1899
|
-
|
|
1879
|
+
if (_0x294e4d['thread_target']?.[_0xb5f18a(_0x2ba06a._0x5f0a89)](_0x559304)) {
|
|
1880
|
+
const _0x855d1a = _0x294e4d[_0xb5f18a(0x285)][_0xb5f18a(0x286)](_0x559304[_0xb5f18a(_0x2ba06a._0x5e16c8)]), _0x228a8b = _0x1b3f39[_0xb5f18a(0x2b2)][_0xb5f18a(0x269)](_0x2e6427 => _0x2e6427[_0xb5f18a(0x26b)]?.[_0xb5f18a(0x24f)](_0x855d1a) === !![]);
|
|
1881
|
+
if (_0x228a8b?.[_0xb5f18a(0x25e)] != null) {
|
|
1882
|
+
_0x3885c4[_0xb5f18a(0x348)](_0x228a8b['taskNumber']);
|
|
1900
1883
|
continue;
|
|
1901
1884
|
}
|
|
1902
1885
|
}
|
|
1903
|
-
if (
|
|
1904
|
-
const
|
|
1905
|
-
|
|
1886
|
+
if (_0x294e4d['task_id']) {
|
|
1887
|
+
const _0x526a30 = _0x1b3f39[_0xb5f18a(0x2b2)][_0xb5f18a(_0x2ba06a._0x5d758d)](_0x3d8ec6 => _0x3d8ec6[_0xb5f18a(0x22d)] === _0x294e4d[_0xb5f18a(0x245)]);
|
|
1888
|
+
_0x526a30?.['taskNumber'] != null && _0x3885c4[_0xb5f18a(0x348)](_0x526a30['taskNumber']);
|
|
1906
1889
|
}
|
|
1907
1890
|
}
|
|
1908
1891
|
}
|
|
1909
1892
|
} catch {
|
|
1910
1893
|
}
|
|
1911
|
-
return formatTaskList(
|
|
1894
|
+
return formatTaskList(_0x1b3f39[_0xb5f18a(0x2b2)], _0x3885c4);
|
|
1912
1895
|
},
|
|
1913
|
-
async 'create_tasks'(
|
|
1914
|
-
const
|
|
1915
|
-
|
|
1916
|
-
const
|
|
1917
|
-
return formatCreatedTasks(
|
|
1896
|
+
async 'create_tasks'(_0x4d6447) {
|
|
1897
|
+
const _0x5c11cc = _0x21d8f1;
|
|
1898
|
+
_0x1e60ad(_0x5c11cc(_0x3c8972._0x1474e1), _0x4d6447[_0x5c11cc(0x280)]);
|
|
1899
|
+
const _0x18a53b = await _0x430934[_0x5c11cc(0x20e)][_0x5c11cc(0x2ac)](_0x4d6447);
|
|
1900
|
+
return formatCreatedTasks(_0x18a53b['tasks']);
|
|
1918
1901
|
},
|
|
1919
|
-
async 'claim_tasks'(
|
|
1920
|
-
const
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1902
|
+
async 'claim_tasks'(_0x52a78e) {
|
|
1903
|
+
const _0x42c868 = {
|
|
1904
|
+
_0x3b83ec: 0x345,
|
|
1905
|
+
_0x228dff: 0x26b,
|
|
1906
|
+
_0x5a67f4: 0x22d,
|
|
1907
|
+
_0x3636d6: 0x25e,
|
|
1908
|
+
_0x42019a: 0x31e
|
|
1909
|
+
}, _0x18d493 = _0x21d8f1;
|
|
1910
|
+
if (_0x430934[_0x18d493(_0x4811af._0x434c51)]) {
|
|
1911
|
+
_0x1e60ad(_0x18d493(0x307), _0x52a78e['channel']);
|
|
1912
|
+
if (_0x52a78e[_0x18d493(0x206)] && _0x52a78e['message_ids']['length'] > 0x0)
|
|
1913
|
+
throw new Error(_0x18d493(0x327));
|
|
1914
|
+
if (!_0x52a78e['subtask_numbers'] || _0x52a78e[_0x18d493(_0x4811af._0x18d3da)][_0x18d493(_0x4811af._0x3e7d9f)] === 0x0)
|
|
1915
|
+
throw new Error(_0x18d493(_0x4811af._0x5ba21f));
|
|
1930
1916
|
}
|
|
1931
|
-
const
|
|
1932
|
-
const
|
|
1933
|
-
if (!
|
|
1934
|
-
return
|
|
1917
|
+
const _0x3161e6 = await _0x430934['client'][_0x18d493(_0x4811af._0x423d8c)](_0x52a78e), _0x3fe7b6 = await Promise['all'](_0x3161e6[_0x18d493(0x332)][_0x18d493(0x34b)](async _0x16b9d9 => {
|
|
1918
|
+
const _0x1cc4ec = _0x18d493;
|
|
1919
|
+
if (!_0x16b9d9[_0x1cc4ec(_0x42c868._0x3b83ec)] || !_0x16b9d9[_0x1cc4ec(_0x42c868._0x228dff)])
|
|
1920
|
+
return _0x16b9d9;
|
|
1935
1921
|
try {
|
|
1936
|
-
const
|
|
1937
|
-
'channel':
|
|
1938
|
-
'messageId':
|
|
1939
|
-
'taskId':
|
|
1940
|
-
'taskNumber':
|
|
1941
|
-
'threadNumber':
|
|
1922
|
+
const _0x4bc5b2 = await _0x4baf5d({
|
|
1923
|
+
'channel': _0x52a78e['channel'],
|
|
1924
|
+
'messageId': _0x16b9d9[_0x1cc4ec(0x26b)],
|
|
1925
|
+
'taskId': _0x16b9d9[_0x1cc4ec(_0x42c868._0x5a67f4)],
|
|
1926
|
+
'taskNumber': _0x16b9d9[_0x1cc4ec(_0x42c868._0x3636d6)],
|
|
1927
|
+
'threadNumber': _0x16b9d9['threadNumber']
|
|
1942
1928
|
});
|
|
1943
|
-
return
|
|
1944
|
-
...
|
|
1945
|
-
...
|
|
1946
|
-
} :
|
|
1947
|
-
} catch (
|
|
1929
|
+
return _0x4bc5b2 ? {
|
|
1930
|
+
..._0x16b9d9,
|
|
1931
|
+
..._0x4bc5b2
|
|
1932
|
+
} : _0x16b9d9;
|
|
1933
|
+
} catch (_0x49de38) {
|
|
1948
1934
|
return {
|
|
1949
|
-
...
|
|
1950
|
-
'workerHandoffError':
|
|
1935
|
+
..._0x16b9d9,
|
|
1936
|
+
'workerHandoffError': _0x49de38 instanceof Error ? _0x49de38[_0x1cc4ec(_0x42c868._0x42019a)] : _0x1cc4ec(0x23a)
|
|
1951
1937
|
};
|
|
1952
1938
|
}
|
|
1953
1939
|
}));
|
|
1954
|
-
return formatClaimTaskResults(
|
|
1940
|
+
return formatClaimTaskResults(_0x3fe7b6);
|
|
1955
1941
|
},
|
|
1956
|
-
async 'unclaim_task'(
|
|
1957
|
-
const
|
|
1958
|
-
if (
|
|
1959
|
-
|
|
1960
|
-
if (
|
|
1961
|
-
throw new Error(
|
|
1942
|
+
async 'unclaim_task'(_0x52fda4) {
|
|
1943
|
+
const _0x5d575d = _0x21d8f1;
|
|
1944
|
+
if (_0x430934['workerMode']) {
|
|
1945
|
+
_0x1e60ad(_0x5d575d(_0x1d0741._0x25888a), _0x52fda4['channel']);
|
|
1946
|
+
if (_0x52fda4[_0x5d575d(0x222)] == null)
|
|
1947
|
+
throw new Error(_0x5d575d(_0x1d0741._0x1de8b5));
|
|
1962
1948
|
}
|
|
1963
|
-
const
|
|
1964
|
-
return formatUnclaimTaskResult(
|
|
1949
|
+
const _0x1ae1a8 = await _0x430934[_0x5d575d(0x20e)]['unclaimTask'](_0x52fda4);
|
|
1950
|
+
return formatUnclaimTaskResult(_0x1ae1a8);
|
|
1965
1951
|
},
|
|
1966
|
-
async 'update_task_status'(
|
|
1967
|
-
const
|
|
1968
|
-
|
|
1969
|
-
const
|
|
1970
|
-
return formatUpdateTaskStatusResult(
|
|
1952
|
+
async 'update_task_status'(_0xbd5020) {
|
|
1953
|
+
const _0x3563a0 = _0x21d8f1;
|
|
1954
|
+
_0x1e60ad(_0x3563a0(0x331), _0xbd5020['channel']);
|
|
1955
|
+
const _0x1dabec = await _0x430934[_0x3563a0(_0x50b294._0xef7a04)][_0x3563a0(0x291)](_0xbd5020);
|
|
1956
|
+
return formatUpdateTaskStatusResult(_0x1dabec);
|
|
1971
1957
|
},
|
|
1972
|
-
async 'upload_file'(
|
|
1973
|
-
const
|
|
1974
|
-
sizeBytes:
|
|
1975
|
-
...
|
|
1976
|
-
} =
|
|
1977
|
-
'channel':
|
|
1978
|
-
...
|
|
1958
|
+
async 'upload_file'(_0x53f196) {
|
|
1959
|
+
const _0x43b97e = _0x21d8f1, _0x29db90 = await _0x430934[_0x43b97e(0x312)](_0x53f196[_0x43b97e(_0x50c129._0x20e487)]), {
|
|
1960
|
+
sizeBytes: _0x13c7f8,
|
|
1961
|
+
..._0x15e153
|
|
1962
|
+
} = _0x29db90, _0x25853b = await _0x430934['client'][_0x43b97e(0x2e9)]({
|
|
1963
|
+
'channel': _0x53f196[_0x43b97e(_0x50c129._0x3c56ed)],
|
|
1964
|
+
..._0x15e153
|
|
1979
1965
|
});
|
|
1980
|
-
return formatUploadResult(
|
|
1966
|
+
return formatUploadResult(_0x25853b);
|
|
1981
1967
|
},
|
|
1982
|
-
async 'view_file'(
|
|
1983
|
-
const
|
|
1984
|
-
if (
|
|
1985
|
-
return formatViewFileResult(
|
|
1986
|
-
const
|
|
1987
|
-
'attachmentId':
|
|
1988
|
-
'contentType':
|
|
1989
|
-
'data':
|
|
1990
|
-
'originalFilename':
|
|
1968
|
+
async 'view_file'(_0x7d1acd) {
|
|
1969
|
+
const _0x14726a = _0x21d8f1, _0x5dc009 = await _0x430934[_0x14726a(_0x3e5dd5._0x263ed0)][_0x14726a(0x20b)](_0x7d1acd[_0x14726a(_0x3e5dd5._0x5f2d85)]);
|
|
1970
|
+
if (_0x5dc009)
|
|
1971
|
+
return formatViewFileResult(_0x5dc009, !![]);
|
|
1972
|
+
const _0x1b1350 = await _0x430934['client'][_0x14726a(_0x3e5dd5._0x2f15c7)](_0x7d1acd['attachment_id']), _0x320729 = await _0x430934['attachmentCache'][_0x14726a(_0x3e5dd5._0x4b8743)]({
|
|
1973
|
+
'attachmentId': _0x7d1acd['attachment_id'],
|
|
1974
|
+
'contentType': _0x1b1350[_0x14726a(0x33e)],
|
|
1975
|
+
'data': _0x1b1350[_0x14726a(_0x3e5dd5._0x523485)],
|
|
1976
|
+
'originalFilename': _0x1b1350[_0x14726a(_0x3e5dd5._0x3cfd77)]
|
|
1991
1977
|
});
|
|
1992
|
-
return formatViewFileResult(
|
|
1978
|
+
return formatViewFileResult(_0x320729, ![]);
|
|
1993
1979
|
},
|
|
1994
|
-
async 'get_worker_status'(
|
|
1995
|
-
const
|
|
1996
|
-
if (!
|
|
1997
|
-
return _0x37ec40(0x177);
|
|
1998
|
-
const _0x28084d = await fetch(_0x504396[_0x37ec40(0x188)] + _0x37ec40(0x1f5) + encodeURIComponent(_0x3d1dfb[_0x37ec40(_0x2d6c1d._0x4357c3)])), _0x2c694a = await _0x28084d['json']();
|
|
1999
|
-
if (!_0x2c694a['ok'])
|
|
2000
|
-
return _0x37ec40(_0x2d6c1d._0x2bca55) + _0x3d1dfb[_0x37ec40(0x221)] + '\x22\x20not\x20found';
|
|
2001
|
-
return _0x37ec40(0x26e) + _0x3d1dfb[_0x37ec40(0x221)] + '\x22:\x20status=' + _0x2c694a[_0x37ec40(_0x2d6c1d._0x6a9b43)];
|
|
2002
|
-
},
|
|
2003
|
-
async 'park_worker'(_0x1e17de) {
|
|
2004
|
-
const _0x300e54 = _0x22c4c7;
|
|
2005
|
-
if (!_0x504396['daemonLocalUrl'])
|
|
1980
|
+
async 'get_worker_status'(_0x1b6a2d) {
|
|
1981
|
+
const _0x161bbc = _0x21d8f1;
|
|
1982
|
+
if (!_0x430934[_0x161bbc(_0x5dfdf9._0x2211ed)])
|
|
2006
1983
|
return 'Worker\x20features\x20not\x20available';
|
|
2007
|
-
const
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
}), _0x538b99 = await _0x4eafce[_0x300e54(_0x24c3f7._0x81954a)]();
|
|
2012
|
-
if (!_0x538b99['ok'])
|
|
2013
|
-
throw new Error(_0x538b99[_0x300e54(_0x24c3f7._0x6682d)] ?? 'park_worker\x20failed');
|
|
2014
|
-
return _0x300e54(0x26e) + _0x1e17de[_0x300e54(0x221)] + _0x300e54(_0x24c3f7._0x3757a6);
|
|
1984
|
+
const _0x7993f = await fetch(_0x430934['daemonLocalUrl'] + _0x161bbc(_0x5dfdf9._0x51e384) + encodeURIComponent(_0x1b6a2d[_0x161bbc(0x30a)])), _0x907ff3 = await _0x7993f['json']();
|
|
1985
|
+
if (!_0x907ff3['ok'])
|
|
1986
|
+
return _0x161bbc(0x244) + _0x1b6a2d[_0x161bbc(_0x5dfdf9._0x2bcbf2)] + _0x161bbc(0x257);
|
|
1987
|
+
return _0x161bbc(0x244) + _0x1b6a2d[_0x161bbc(_0x5dfdf9._0x2bcbf2)] + _0x161bbc(0x1ea) + _0x907ff3[_0x161bbc(0x2d9)];
|
|
2015
1988
|
},
|
|
2016
|
-
async '
|
|
2017
|
-
const
|
|
2018
|
-
if (!
|
|
2019
|
-
return
|
|
2020
|
-
const
|
|
2021
|
-
'method':
|
|
1989
|
+
async 'park_worker'(_0x3cfd62) {
|
|
1990
|
+
const _0x3c74b3 = _0x21d8f1;
|
|
1991
|
+
if (!_0x430934[_0x3c74b3(0x323)])
|
|
1992
|
+
return _0x3c74b3(0x2de);
|
|
1993
|
+
const _0x4429ba = await fetch(_0x430934[_0x3c74b3(_0x10feaf._0x3d7e2f)] + _0x3c74b3(0x2e3), {
|
|
1994
|
+
'method': _0x3c74b3(0x318),
|
|
2022
1995
|
'headers': { 'Content-Type': 'application/json' },
|
|
2023
|
-
'body': JSON[
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
if (!_0x35522c['ok'])
|
|
2029
|
-
throw new Error(_0x35522c['error'] ?? _0x26baad(0x20e));
|
|
2030
|
-
return _0x26baad(0x26e) + _0xe4ad08[_0x26baad(_0x2fdcf0._0x13e322)] + '\x22\x20marked\x20as\x20waiting_input.\x20TTL\x20timer\x20paused\x20until\x20next\x20message\x20arrives.';
|
|
1996
|
+
'body': JSON[_0x3c74b3(_0x10feaf._0x6ae4c8)]({ 'work_key': _0x3cfd62[_0x3c74b3(_0x10feaf._0x3ac7c7)] })
|
|
1997
|
+
}), _0x4f7897 = await _0x4429ba[_0x3c74b3(0x1e0)]();
|
|
1998
|
+
if (!_0x4f7897['ok'])
|
|
1999
|
+
throw new Error(_0x4f7897[_0x3c74b3(0x29d)] ?? 'park_worker\x20failed');
|
|
2000
|
+
return _0x3c74b3(0x244) + _0x3cfd62[_0x3c74b3(0x30a)] + '\x22\x20parked.\x20Same-thread\x20follow-up\x20will\x20resume\x20this\x20lane.';
|
|
2031
2001
|
},
|
|
2032
|
-
async '
|
|
2033
|
-
const
|
|
2034
|
-
if (!
|
|
2035
|
-
return
|
|
2036
|
-
const
|
|
2037
|
-
'method':
|
|
2038
|
-
'headers': { 'Content-Type':
|
|
2002
|
+
async 'mark_waiting_input'(_0x2617f6) {
|
|
2003
|
+
const _0x281a3e = _0x21d8f1;
|
|
2004
|
+
if (!_0x430934[_0x281a3e(_0x467985._0x1a2505)] || !_0x430934[_0x281a3e(_0x467985._0x1865bb)])
|
|
2005
|
+
return _0x281a3e(_0x467985._0x3128ff);
|
|
2006
|
+
const _0x358ac1 = await fetch(_0x430934[_0x281a3e(_0x467985._0x88b341)] + '/workers/waiting_input', {
|
|
2007
|
+
'method': _0x281a3e(0x318),
|
|
2008
|
+
'headers': { 'Content-Type': _0x281a3e(_0x467985._0x3ce2d2) },
|
|
2039
2009
|
'body': JSON['stringify']({
|
|
2040
|
-
'work_key':
|
|
2041
|
-
'
|
|
2010
|
+
'work_key': _0x2617f6['work_key'],
|
|
2011
|
+
'agent_id': _0x430934[_0x281a3e(0x2f4)]
|
|
2012
|
+
})
|
|
2013
|
+
}), _0x984337 = await _0x358ac1[_0x281a3e(0x1e0)]();
|
|
2014
|
+
if (!_0x984337['ok'])
|
|
2015
|
+
throw new Error(_0x984337[_0x281a3e(_0x467985._0x5259df)] ?? _0x281a3e(_0x467985._0x1313bc));
|
|
2016
|
+
return _0x281a3e(_0x467985._0x59ea0c) + _0x2617f6[_0x281a3e(0x30a)] + _0x281a3e(0x2cf);
|
|
2017
|
+
},
|
|
2018
|
+
async 'escalate_to_main'(_0x436422) {
|
|
2019
|
+
const _0x532184 = _0x21d8f1;
|
|
2020
|
+
if (!_0x430934[_0x532184(0x323)])
|
|
2021
|
+
return _0x532184(0x2de);
|
|
2022
|
+
const _0x4b5163 = await fetch(_0x430934[_0x532184(0x323)] + '/workers/escalate', {
|
|
2023
|
+
'method': 'POST',
|
|
2024
|
+
'headers': { 'Content-Type': 'application/json' },
|
|
2025
|
+
'body': JSON[_0x532184(_0xb054a3._0x5bf224)]({
|
|
2026
|
+
'work_key': _0x436422['work_key'],
|
|
2027
|
+
'reason': _0x436422[_0x532184(0x2b7)]
|
|
2042
2028
|
})
|
|
2043
|
-
}),
|
|
2044
|
-
if (!
|
|
2045
|
-
throw new Error(
|
|
2046
|
-
return
|
|
2029
|
+
}), _0x468e0a = await _0x4b5163[_0x532184(0x1e0)]();
|
|
2030
|
+
if (!_0x468e0a['ok'])
|
|
2031
|
+
throw new Error(_0x468e0a[_0x532184(_0xb054a3._0x1cb09e)] ?? _0x532184(_0xb054a3._0x4c0fe7));
|
|
2032
|
+
return _0x532184(_0xb054a3._0x52e8c5) + _0x436422['reason'];
|
|
2047
2033
|
}
|
|
2048
2034
|
};
|
|
2049
2035
|
}
|
|
2050
|
-
function textResult(
|
|
2051
|
-
const _0x454835 = { _0x52bdfc: 0x217 }, _0x5d1e31 = _0x363898;
|
|
2036
|
+
function textResult(_0x5f4048, _0x2d58e7 = ![]) {
|
|
2052
2037
|
return {
|
|
2053
2038
|
'content': [{
|
|
2054
|
-
'type':
|
|
2055
|
-
'text':
|
|
2039
|
+
'type': 'text',
|
|
2040
|
+
'text': _0x5f4048
|
|
2056
2041
|
}],
|
|
2057
|
-
...
|
|
2042
|
+
..._0x2d58e7 ? { 'isError': !![] } : {}
|
|
2058
2043
|
};
|
|
2059
2044
|
}
|
|
2060
|
-
async function registerChatBridgeTools(
|
|
2061
|
-
const
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
'
|
|
2124
|
-
'
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2045
|
+
async function registerChatBridgeTools(_0x291fb0, _0x5e8921, _0x473414) {
|
|
2046
|
+
const _0x2f77c0 = {
|
|
2047
|
+
_0x2ae5d7: 0x337,
|
|
2048
|
+
_0x5797a1: 0x2e8,
|
|
2049
|
+
_0x4f4376: 0x247,
|
|
2050
|
+
_0x2c9c5f: 0x352,
|
|
2051
|
+
_0x3c0457: 0x247,
|
|
2052
|
+
_0x19daf6: 0x2f2,
|
|
2053
|
+
_0x3dfbad: 0x1e7,
|
|
2054
|
+
_0x1f6d9a: 0x227,
|
|
2055
|
+
_0x1b7807: 0x267,
|
|
2056
|
+
_0x44d016: 0x1e7,
|
|
2057
|
+
_0x3cf744: 0x343,
|
|
2058
|
+
_0x5bfab7: 0x1e7,
|
|
2059
|
+
_0x10d04e: 0x31a,
|
|
2060
|
+
_0x5c08ba: 0x2e8,
|
|
2061
|
+
_0x1db3fc: 0x230,
|
|
2062
|
+
_0x2d94d2: 0x1e7,
|
|
2063
|
+
_0x19be23: 0x2e8,
|
|
2064
|
+
_0x56d7c7: 0x298,
|
|
2065
|
+
_0x1ae6ea: 0x247,
|
|
2066
|
+
_0x392c5f: 0x1e5,
|
|
2067
|
+
_0x17e436: 0x34f,
|
|
2068
|
+
_0x18bfac: 0x21c,
|
|
2069
|
+
_0x27af25: 0x212,
|
|
2070
|
+
_0x53482e: 0x1e7,
|
|
2071
|
+
_0x1cb1ae: 0x2d0,
|
|
2072
|
+
_0x341b2a: 0x335,
|
|
2073
|
+
_0x5893b0: 0x335,
|
|
2074
|
+
_0x438a41: 0x335,
|
|
2075
|
+
_0x2a93f3: 0x272,
|
|
2076
|
+
_0x53da48: 0x20a,
|
|
2077
|
+
_0x23cd2d: 0x242,
|
|
2078
|
+
_0xefcfbd: 0x247,
|
|
2079
|
+
_0x5cacaa: 0x331,
|
|
2080
|
+
_0x1ee0a6: 0x264,
|
|
2081
|
+
_0x387d1e: 0x267,
|
|
2082
|
+
_0x92003e: 0x311,
|
|
2083
|
+
_0x5c5393: 0x255,
|
|
2084
|
+
_0x4b16e7: 0x1e7,
|
|
2085
|
+
_0xe047d7: 0x1f0,
|
|
2086
|
+
_0x74d498: 0x32f,
|
|
2087
|
+
_0x235011: 0x1e7,
|
|
2088
|
+
_0x5a14ab: 0x29c,
|
|
2089
|
+
_0x48fbbd: 0x33b,
|
|
2090
|
+
_0x1da9da: 0x1e7,
|
|
2091
|
+
_0x4c0b0f: 0x2d4,
|
|
2092
|
+
_0x4e9600: 0x2e8
|
|
2093
|
+
}, _0x20f82c = {
|
|
2094
|
+
_0x14b918: 0x29c,
|
|
2095
|
+
_0x106c2c: 0x239
|
|
2096
|
+
}, _0x24d0ab = {
|
|
2097
|
+
_0x4f427f: 0x31b,
|
|
2098
|
+
_0x5bb810: 0x31e,
|
|
2099
|
+
_0x24b0ba: 0x289
|
|
2100
|
+
}, _0x226c51 = { _0x29377f: 0x31e }, _0x302e0d = { _0x2c542e: 0x31e }, _0x1a7a8d = { _0x1f0110: 0x31e }, _0x4f7af6 = { _0x2570aa: 0x31e }, _0x4640be = { _0x6173cc: 0x231 }, _0x41b7d8 = {
|
|
2101
|
+
_0x45a1b0: 0x343,
|
|
2102
|
+
_0x49144f: 0x1f4
|
|
2103
|
+
}, _0x369f04 = {
|
|
2104
|
+
_0x366b42: 0x227,
|
|
2105
|
+
_0x6bd95: 0x31e
|
|
2106
|
+
}, _0x4216ca = { _0x234c9e: 0x347 }, _0x5e320e = { _0x378e87: 0x32c }, _0x244afe = _0x855546, {z: _0x3caea9} = await import(_0x244afe(_0x2f77c0._0x2ae5d7));
|
|
2107
|
+
_0x291fb0[_0x244afe(0x1e7)](_0x244afe(0x32c), _0x244afe(0x2e1), {
|
|
2108
|
+
'target': _0x3caea9[_0x244afe(_0x2f77c0._0x5797a1)](),
|
|
2109
|
+
'content': _0x3caea9[_0x244afe(_0x2f77c0._0x5797a1)](),
|
|
2110
|
+
'attachment_ids': _0x3caea9['array'](_0x3caea9[_0x244afe(0x2e8)]())[_0x244afe(_0x2f77c0._0x4f4376)](),
|
|
2111
|
+
'visibility': _0x3caea9[_0x244afe(0x29b)]([
|
|
2112
|
+
_0x244afe(_0x2f77c0._0x2c9c5f),
|
|
2113
|
+
_0x244afe(0x2da)
|
|
2114
|
+
])[_0x244afe(_0x2f77c0._0x3c0457)]()[_0x244afe(_0x2f77c0._0x19daf6)]('Optional.\x20If\x20omitted,\x20the\x20message\x20is\x20public.\x20In\x20task\x20threads,\x20set\x20\x22aside\x22\x20only\x20when\x20you\x20explicitly\x20want\x20an\x20aside.\x20Do\x20not\x20set\x20outside\x20threads.')
|
|
2115
|
+
}, async _0x2fa56c => {
|
|
2116
|
+
const _0x4c2dd4 = _0x244afe;
|
|
2130
2117
|
try {
|
|
2131
|
-
return textResult(await
|
|
2132
|
-
} catch (
|
|
2133
|
-
return textResult(
|
|
2118
|
+
return textResult(await _0x5e8921[_0x4c2dd4(_0x5e320e._0x378e87)](_0x2fa56c));
|
|
2119
|
+
} catch (_0x4c2dbb) {
|
|
2120
|
+
return textResult(_0x4c2dbb instanceof Error ? _0x4c2dbb[_0x4c2dd4(0x31e)] : _0x4c2dd4(0x2c2), !![]);
|
|
2134
2121
|
}
|
|
2135
|
-
}),
|
|
2136
|
-
const
|
|
2122
|
+
}), _0x291fb0[_0x244afe(_0x2f77c0._0x3dfbad)]('check_messages', 'Check\x20for\x20new\x20messages\x20without\x20waiting.', {}, async () => {
|
|
2123
|
+
const _0x42d8e2 = _0x244afe;
|
|
2137
2124
|
try {
|
|
2138
|
-
return textResult(await
|
|
2139
|
-
} catch (
|
|
2140
|
-
return textResult(
|
|
2125
|
+
return textResult(await _0x5e8921[_0x42d8e2(_0x4216ca._0x234c9e)]());
|
|
2126
|
+
} catch (_0x546ad8) {
|
|
2127
|
+
return textResult(_0x546ad8 instanceof Error ? _0x546ad8[_0x42d8e2(0x31e)] : 'check_messages\x20failed', !![]);
|
|
2141
2128
|
}
|
|
2142
|
-
}),
|
|
2143
|
-
'channel':
|
|
2144
|
-
'limit':
|
|
2145
|
-
'before':
|
|
2146
|
-
'after':
|
|
2147
|
-
}, async
|
|
2148
|
-
const
|
|
2129
|
+
}), _0x291fb0[_0x244afe(0x1e7)](_0x244afe(_0x2f77c0._0x1f6d9a), _0x244afe(0x317), {
|
|
2130
|
+
'channel': _0x3caea9[_0x244afe(0x2e8)](),
|
|
2131
|
+
'limit': _0x3caea9[_0x244afe(_0x2f77c0._0x1b7807)]()[_0x244afe(_0x2f77c0._0x3c0457)](),
|
|
2132
|
+
'before': _0x3caea9[_0x244afe(0x267)]()['optional'](),
|
|
2133
|
+
'after': _0x3caea9[_0x244afe(0x267)]()['optional']()
|
|
2134
|
+
}, async _0x2bbb3e => {
|
|
2135
|
+
const _0x4862a6 = _0x244afe;
|
|
2149
2136
|
try {
|
|
2150
|
-
return textResult(await
|
|
2151
|
-
} catch (
|
|
2152
|
-
return textResult(
|
|
2137
|
+
return textResult(await _0x5e8921[_0x4862a6(_0x369f04._0x366b42)](_0x2bbb3e));
|
|
2138
|
+
} catch (_0x21ae1b) {
|
|
2139
|
+
return textResult(_0x21ae1b instanceof Error ? _0x21ae1b[_0x4862a6(_0x369f04._0x6bd95)] : _0x4862a6(0x27d), !![]);
|
|
2153
2140
|
}
|
|
2154
|
-
}),
|
|
2155
|
-
const
|
|
2141
|
+
}), _0x291fb0[_0x244afe(_0x2f77c0._0x44d016)](_0x244afe(_0x2f77c0._0x3cf744), _0x244afe(0x350), {}, async () => {
|
|
2142
|
+
const _0x8e7354 = _0x244afe;
|
|
2156
2143
|
try {
|
|
2157
|
-
return textResult(await
|
|
2158
|
-
} catch (
|
|
2159
|
-
return textResult(
|
|
2144
|
+
return textResult(await _0x5e8921[_0x8e7354(_0x41b7d8._0x45a1b0)]());
|
|
2145
|
+
} catch (_0x277b09) {
|
|
2146
|
+
return textResult(_0x277b09 instanceof Error ? _0x277b09[_0x8e7354(0x31e)] : _0x8e7354(_0x41b7d8._0x49144f), !![]);
|
|
2160
2147
|
}
|
|
2161
|
-
}),
|
|
2162
|
-
'channel':
|
|
2163
|
-
'status':
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
])[
|
|
2169
|
-
}, async
|
|
2170
|
-
const
|
|
2148
|
+
}), _0x291fb0[_0x244afe(_0x2f77c0._0x5bfab7)](_0x244afe(_0x2f77c0._0x10d04e), _0x244afe(0x306), {
|
|
2149
|
+
'channel': _0x3caea9[_0x244afe(_0x2f77c0._0x5c08ba)](),
|
|
2150
|
+
'status': _0x3caea9[_0x244afe(0x29b)]([
|
|
2151
|
+
_0x244afe(_0x2f77c0._0x1db3fc),
|
|
2152
|
+
_0x244afe(0x311),
|
|
2153
|
+
'in_review',
|
|
2154
|
+
_0x244afe(0x255)
|
|
2155
|
+
])['optional']()
|
|
2156
|
+
}, async _0x19e863 => {
|
|
2157
|
+
const _0x50bd55 = _0x244afe;
|
|
2171
2158
|
try {
|
|
2172
|
-
return textResult(await
|
|
2173
|
-
} catch (
|
|
2174
|
-
return textResult(
|
|
2159
|
+
return textResult(await _0x5e8921[_0x50bd55(0x31a)](_0x19e863));
|
|
2160
|
+
} catch (_0x25c3f8) {
|
|
2161
|
+
return textResult(_0x25c3f8 instanceof Error ? _0x25c3f8[_0x50bd55(0x31e)] : 'list_tasks\x20failed', !![]);
|
|
2175
2162
|
}
|
|
2176
|
-
}),
|
|
2177
|
-
'channel':
|
|
2178
|
-
'idempotency_key':
|
|
2179
|
-
'tasks':
|
|
2180
|
-
'title':
|
|
2181
|
-
'description':
|
|
2182
|
-
'priority':
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
])[
|
|
2163
|
+
}), _0x291fb0[_0x244afe(_0x2f77c0._0x2d94d2)](_0x244afe(0x231), 'Create\x20one\x20or\x20more\x20tasks\x20in\x20a\x20channel.\x20In\x20a\x20thread\x20target\x20(e.g.\x20\x22#channel:threadId\x22),\x20creates\x20subtasks\x20under\x20the\x20existing\x20parent\x20task.', {
|
|
2164
|
+
'channel': _0x3caea9[_0x244afe(_0x2f77c0._0x19be23)](),
|
|
2165
|
+
'idempotency_key': _0x3caea9[_0x244afe(0x2e8)]()['optional'](),
|
|
2166
|
+
'tasks': _0x3caea9['array'](_0x3caea9[_0x244afe(_0x2f77c0._0x56d7c7)]({
|
|
2167
|
+
'title': _0x3caea9[_0x244afe(0x2e8)](),
|
|
2168
|
+
'description': _0x3caea9[_0x244afe(0x2e8)]()[_0x244afe(_0x2f77c0._0x1ae6ea)](),
|
|
2169
|
+
'priority': _0x3caea9[_0x244afe(0x29b)]([
|
|
2170
|
+
_0x244afe(_0x2f77c0._0x392c5f),
|
|
2171
|
+
_0x244afe(_0x2f77c0._0x17e436),
|
|
2172
|
+
_0x244afe(_0x2f77c0._0x18bfac),
|
|
2173
|
+
_0x244afe(_0x2f77c0._0x27af25)
|
|
2174
|
+
])[_0x244afe(0x247)]()
|
|
2188
2175
|
}))
|
|
2189
|
-
}, async
|
|
2190
|
-
const
|
|
2176
|
+
}, async _0x17922d => {
|
|
2177
|
+
const _0x2ff39c = _0x244afe;
|
|
2191
2178
|
try {
|
|
2192
|
-
return textResult(await
|
|
2193
|
-
} catch (
|
|
2194
|
-
return textResult(
|
|
2179
|
+
return textResult(await _0x5e8921[_0x2ff39c(_0x4640be._0x6173cc)](_0x17922d));
|
|
2180
|
+
} catch (_0x2e09cf) {
|
|
2181
|
+
return textResult(_0x2e09cf instanceof Error ? _0x2e09cf[_0x2ff39c(0x31e)] : _0x2ff39c(0x2ae), !![]);
|
|
2195
2182
|
}
|
|
2196
|
-
}),
|
|
2197
|
-
'channel':
|
|
2198
|
-
'task_numbers':
|
|
2199
|
-
'subtask_numbers':
|
|
2200
|
-
'message_ids':
|
|
2201
|
-
'evidence':
|
|
2202
|
-
'create_thread':
|
|
2203
|
-
'create_task':
|
|
2204
|
-
}))[
|
|
2205
|
-
'idempotency_key':
|
|
2206
|
-
}, async
|
|
2207
|
-
const
|
|
2183
|
+
}), _0x291fb0[_0x244afe(_0x2f77c0._0x53482e)](_0x244afe(0x307), _0x244afe(_0x2f77c0._0x1cb1ae), {
|
|
2184
|
+
'channel': _0x3caea9[_0x244afe(0x2e8)](),
|
|
2185
|
+
'task_numbers': _0x3caea9[_0x244afe(_0x2f77c0._0x341b2a)](_0x3caea9[_0x244afe(_0x2f77c0._0x1b7807)]())[_0x244afe(0x247)](),
|
|
2186
|
+
'subtask_numbers': _0x3caea9[_0x244afe(_0x2f77c0._0x5893b0)](_0x3caea9[_0x244afe(0x267)]())[_0x244afe(0x247)](),
|
|
2187
|
+
'message_ids': _0x3caea9[_0x244afe(_0x2f77c0._0x438a41)](_0x3caea9['string']())[_0x244afe(0x247)](),
|
|
2188
|
+
'evidence': _0x3caea9['record'](_0x3caea9['string'](), _0x3caea9[_0x244afe(0x298)]({
|
|
2189
|
+
'create_thread': _0x3caea9[_0x244afe(0x272)]()['optional'](),
|
|
2190
|
+
'create_task': _0x3caea9[_0x244afe(_0x2f77c0._0x2a93f3)]()[_0x244afe(0x247)]()
|
|
2191
|
+
}))[_0x244afe(0x247)](),
|
|
2192
|
+
'idempotency_key': _0x3caea9[_0x244afe(0x2e8)]()['optional']()
|
|
2193
|
+
}, async _0x1c575f => {
|
|
2194
|
+
const _0x470a4e = _0x244afe;
|
|
2208
2195
|
try {
|
|
2209
|
-
return textResult(await
|
|
2210
|
-
} catch (
|
|
2211
|
-
return textResult(
|
|
2196
|
+
return textResult(await _0x5e8921[_0x470a4e(0x307)](_0x1c575f));
|
|
2197
|
+
} catch (_0x267dc5) {
|
|
2198
|
+
return textResult(_0x267dc5 instanceof Error ? _0x267dc5[_0x470a4e(_0x4f7af6._0x2570aa)] : 'claim_tasks\x20failed', !![]);
|
|
2212
2199
|
}
|
|
2213
|
-
}),
|
|
2214
|
-
'channel':
|
|
2215
|
-
'task_number':
|
|
2216
|
-
'subtask_number':
|
|
2217
|
-
'idempotency_key':
|
|
2218
|
-
}, async
|
|
2219
|
-
const
|
|
2200
|
+
}), _0x291fb0['tool'](_0x244afe(_0x2f77c0._0x53da48), _0x244afe(_0x2f77c0._0x23cd2d), {
|
|
2201
|
+
'channel': _0x3caea9[_0x244afe(0x2e8)](),
|
|
2202
|
+
'task_number': _0x3caea9[_0x244afe(0x267)](),
|
|
2203
|
+
'subtask_number': _0x3caea9[_0x244afe(_0x2f77c0._0x1b7807)]()[_0x244afe(_0x2f77c0._0x3c0457)](),
|
|
2204
|
+
'idempotency_key': _0x3caea9['string']()[_0x244afe(_0x2f77c0._0xefcfbd)]()
|
|
2205
|
+
}, async _0x5df48c => {
|
|
2206
|
+
const _0x16fa88 = _0x244afe;
|
|
2220
2207
|
try {
|
|
2221
|
-
return textResult(await
|
|
2222
|
-
} catch (
|
|
2223
|
-
return textResult(
|
|
2208
|
+
return textResult(await _0x5e8921[_0x16fa88(0x20a)](_0x5df48c));
|
|
2209
|
+
} catch (_0x1a1b2b) {
|
|
2210
|
+
return textResult(_0x1a1b2b instanceof Error ? _0x1a1b2b[_0x16fa88(_0x1a7a8d._0x1f0110)] : _0x16fa88(0x1d4), !![]);
|
|
2224
2211
|
}
|
|
2225
|
-
}),
|
|
2226
|
-
'channel':
|
|
2227
|
-
'task_number':
|
|
2228
|
-
'subtask_number':
|
|
2229
|
-
'status':
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2212
|
+
}), _0x291fb0[_0x244afe(_0x2f77c0._0x5bfab7)](_0x244afe(_0x2f77c0._0x5cacaa), _0x244afe(_0x2f77c0._0x1ee0a6), {
|
|
2213
|
+
'channel': _0x3caea9['string'](),
|
|
2214
|
+
'task_number': _0x3caea9[_0x244afe(0x267)](),
|
|
2215
|
+
'subtask_number': _0x3caea9[_0x244afe(_0x2f77c0._0x387d1e)]()[_0x244afe(0x247)](),
|
|
2216
|
+
'status': _0x3caea9['enum']([
|
|
2217
|
+
_0x244afe(0x230),
|
|
2218
|
+
_0x244afe(_0x2f77c0._0x92003e),
|
|
2219
|
+
'in_review',
|
|
2220
|
+
_0x244afe(_0x2f77c0._0x5c5393)
|
|
2234
2221
|
]),
|
|
2235
|
-
'idempotency_key':
|
|
2236
|
-
}, async
|
|
2237
|
-
const
|
|
2222
|
+
'idempotency_key': _0x3caea9['string']()['optional']()
|
|
2223
|
+
}, async _0x1cb68b => {
|
|
2224
|
+
const _0x534fef = _0x244afe;
|
|
2238
2225
|
try {
|
|
2239
|
-
return textResult(await
|
|
2240
|
-
} catch (
|
|
2241
|
-
return textResult(
|
|
2226
|
+
return textResult(await _0x5e8921['update_task_status'](_0x1cb68b));
|
|
2227
|
+
} catch (_0x1af539) {
|
|
2228
|
+
return textResult(_0x1af539 instanceof Error ? _0x1af539[_0x534fef(_0x302e0d._0x2c542e)] : _0x534fef(0x281), !![]);
|
|
2242
2229
|
}
|
|
2243
|
-
}),
|
|
2244
|
-
'channel':
|
|
2245
|
-
'file_path':
|
|
2246
|
-
}, async
|
|
2247
|
-
const
|
|
2230
|
+
}), _0x291fb0[_0x244afe(0x1e7)](_0x244afe(0x326), _0x244afe(0x2a3), {
|
|
2231
|
+
'channel': _0x3caea9['string'](),
|
|
2232
|
+
'file_path': _0x3caea9[_0x244afe(_0x2f77c0._0x5797a1)]()
|
|
2233
|
+
}, async _0x1c95d1 => {
|
|
2234
|
+
const _0x1f37dc = _0x244afe;
|
|
2248
2235
|
try {
|
|
2249
|
-
return textResult(await
|
|
2250
|
-
} catch (
|
|
2251
|
-
return textResult(
|
|
2236
|
+
return textResult(await _0x5e8921[_0x1f37dc(0x326)](_0x1c95d1));
|
|
2237
|
+
} catch (_0x4cf4eb) {
|
|
2238
|
+
return textResult(_0x4cf4eb instanceof Error ? _0x4cf4eb[_0x1f37dc(_0x226c51._0x29377f)] : _0x1f37dc(0x30c), !![]);
|
|
2252
2239
|
}
|
|
2253
|
-
}),
|
|
2254
|
-
const
|
|
2240
|
+
}), _0x291fb0[_0x244afe(_0x2f77c0._0x4b16e7)]('view_file', _0x244afe(0x28b), { 'attachment_id': _0x3caea9['string']() }, async _0x557902 => {
|
|
2241
|
+
const _0x33c124 = _0x244afe;
|
|
2255
2242
|
try {
|
|
2256
|
-
return textResult(await
|
|
2257
|
-
} catch (
|
|
2258
|
-
return textResult(
|
|
2243
|
+
return textResult(await _0x5e8921[_0x33c124(0x320)](_0x557902));
|
|
2244
|
+
} catch (_0x1079c7) {
|
|
2245
|
+
return textResult(_0x1079c7 instanceof Error ? _0x1079c7[_0x33c124(0x31e)] : _0x33c124(0x31f), !![]);
|
|
2259
2246
|
}
|
|
2260
|
-
}),
|
|
2261
|
-
const
|
|
2247
|
+
}), _0x291fb0[_0x244afe(0x1e7)]('get_worker_status', _0x244afe(0x1e1), { 'work_key': _0x3caea9[_0x244afe(_0x2f77c0._0x5797a1)]() }, async _0x28206d => {
|
|
2248
|
+
const _0x35e8e5 = _0x244afe;
|
|
2262
2249
|
try {
|
|
2263
|
-
return textResult(await
|
|
2264
|
-
} catch (
|
|
2265
|
-
return textResult(
|
|
2250
|
+
return textResult(await _0x5e8921[_0x35e8e5(_0x24d0ab._0x4f427f)](_0x28206d));
|
|
2251
|
+
} catch (_0x1bafdd) {
|
|
2252
|
+
return textResult(_0x1bafdd instanceof Error ? _0x1bafdd[_0x35e8e5(_0x24d0ab._0x5bb810)] : _0x35e8e5(_0x24d0ab._0x24b0ba), !![]);
|
|
2266
2253
|
}
|
|
2267
|
-
}),
|
|
2268
|
-
const
|
|
2254
|
+
}), _0x291fb0[_0x244afe(0x1e7)](_0x244afe(_0x2f77c0._0xe047d7), _0x244afe(_0x2f77c0._0x74d498), { 'work_key': _0x3caea9[_0x244afe(_0x2f77c0._0x5c08ba)]() }, async _0x4babb6 => {
|
|
2255
|
+
const _0x55c775 = _0x244afe;
|
|
2269
2256
|
try {
|
|
2270
|
-
return textResult(await
|
|
2271
|
-
} catch (
|
|
2272
|
-
return textResult(
|
|
2257
|
+
return textResult(await _0x5e8921['park_worker'](_0x4babb6));
|
|
2258
|
+
} catch (_0x3a2cd4) {
|
|
2259
|
+
return textResult(_0x3a2cd4 instanceof Error ? _0x3a2cd4[_0x55c775(0x31e)] : 'park_worker\x20failed', !![]);
|
|
2273
2260
|
}
|
|
2274
|
-
}),
|
|
2275
|
-
'work_key':
|
|
2276
|
-
'reason':
|
|
2277
|
-
}, async
|
|
2278
|
-
const
|
|
2261
|
+
}), _0x291fb0[_0x244afe(_0x2f77c0._0x235011)](_0x244afe(_0x2f77c0._0x5a14ab), _0x244afe(_0x2f77c0._0x48fbbd), {
|
|
2262
|
+
'work_key': _0x3caea9['string'](),
|
|
2263
|
+
'reason': _0x3caea9['string']()
|
|
2264
|
+
}, async _0x1e6842 => {
|
|
2265
|
+
const _0x2d9580 = _0x244afe;
|
|
2279
2266
|
try {
|
|
2280
|
-
return textResult(await
|
|
2281
|
-
} catch (
|
|
2282
|
-
return textResult(
|
|
2267
|
+
return textResult(await _0x5e8921[_0x2d9580(_0x20f82c._0x14b918)](_0x1e6842));
|
|
2268
|
+
} catch (_0x4c83e0) {
|
|
2269
|
+
return textResult(_0x4c83e0 instanceof Error ? _0x4c83e0['message'] : _0x2d9580(_0x20f82c._0x106c2c), !![]);
|
|
2283
2270
|
}
|
|
2284
|
-
}),
|
|
2285
|
-
const
|
|
2271
|
+
}), _0x473414?.[_0x244afe(0x249)] && _0x291fb0[_0x244afe(_0x2f77c0._0x1da9da)]('mark_waiting_input', _0x244afe(_0x2f77c0._0x4c0b0f), { 'work_key': _0x3caea9[_0x244afe(_0x2f77c0._0x4e9600)]() }, async _0x1d569c => {
|
|
2272
|
+
const _0x214909 = _0x244afe;
|
|
2286
2273
|
try {
|
|
2287
|
-
return textResult(await
|
|
2288
|
-
} catch (
|
|
2289
|
-
return textResult(
|
|
2274
|
+
return textResult(await _0x5e8921[_0x214909(0x20f)](_0x1d569c));
|
|
2275
|
+
} catch (_0x143f3a) {
|
|
2276
|
+
return textResult(_0x143f3a instanceof Error ? _0x143f3a[_0x214909(0x31e)] : 'mark_waiting_input\x20failed', !![]);
|
|
2290
2277
|
}
|
|
2291
2278
|
});
|
|
2292
2279
|
}
|
|
2293
|
-
async function createChatBridgeServer(
|
|
2294
|
-
const
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
}),
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2280
|
+
async function createChatBridgeServer(_0x5e3de6) {
|
|
2281
|
+
const _0x1587c5 = {
|
|
2282
|
+
_0x23cce9: 0x200,
|
|
2283
|
+
_0x268d83: 0x27b
|
|
2284
|
+
}, _0x2e0e12 = _0x855546, {McpServer: _0x2f846c} = await import(_0x2e0e12(_0x1587c5._0x23cce9)), _0x422178 = new _0x2f846c({
|
|
2285
|
+
'name': _0x2e0e12(_0x1587c5._0x268d83),
|
|
2286
|
+
'version': '0.0.0'
|
|
2287
|
+
}), _0xa332c5 = createChatBridgeHandlers(_0x5e3de6);
|
|
2288
|
+
return await registerChatBridgeTools(_0x422178, _0xa332c5, { 'workerMode': _0x5e3de6['workerMode'] }), {
|
|
2289
|
+
'handlers': _0xa332c5,
|
|
2290
|
+
'server': _0x422178
|
|
2301
2291
|
};
|
|
2302
2292
|
}
|
|
2303
|
-
function readFlag(
|
|
2304
|
-
const
|
|
2305
|
-
if (
|
|
2293
|
+
function readFlag(_0x2059e1, _0xa1fa55) {
|
|
2294
|
+
const _0x9bea38 = { _0x2ffc95: 0x338 }, _0x279b65 = _0x855546, _0x4ab94 = _0x2059e1[_0x279b65(_0x9bea38._0x2ffc95)](_0xa1fa55);
|
|
2295
|
+
if (_0x4ab94 === -0x1)
|
|
2306
2296
|
return void 0x0;
|
|
2307
|
-
return
|
|
2297
|
+
return _0x2059e1[_0x4ab94 + 0x1];
|
|
2308
2298
|
}
|
|
2309
|
-
function parseChatBridgeArgs(
|
|
2310
|
-
const
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
},
|
|
2319
|
-
if (!
|
|
2299
|
+
function parseChatBridgeArgs(_0x532d54) {
|
|
2300
|
+
const _0x534955 = {
|
|
2301
|
+
_0x279f57: 0x20c,
|
|
2302
|
+
_0x549988: 0x24d,
|
|
2303
|
+
_0x30a0d1: 0x2c3,
|
|
2304
|
+
_0x5a7b7d: 0x273,
|
|
2305
|
+
_0x35b35b: 0x251,
|
|
2306
|
+
_0x23c0f5: 0x22a,
|
|
2307
|
+
_0x92564: 0x292
|
|
2308
|
+
}, _0x561234 = _0x855546, _0x51b4d9 = readFlag(_0x532d54, _0x561234(_0x534955._0x279f57)), _0x2e8b10 = readFlag(_0x532d54, _0x561234(0x2a2)), _0x319369 = readFlag(_0x532d54, _0x561234(_0x534955._0x549988)), _0x3bfbb7 = readFlag(_0x532d54, _0x561234(0x2bd)), _0x393757 = readFlag(_0x532d54, _0x561234(_0x534955._0x30a0d1)) ?? _0x561234(_0x534955._0x5a7b7d), _0x41d2e9 = readFlag(_0x532d54, _0x561234(_0x534955._0x35b35b)), _0x275491 = readFlag(_0x532d54, '--session-id'), _0x59f83c = readFlag(_0x532d54, '--worker-mode-enabled'), _0x2530e7 = readFlag(_0x532d54, _0x561234(_0x534955._0x23c0f5)), _0x4a646f = readFlag(_0x532d54, '--worker-thread-target'), _0x1f748a = _0x532d54['includes'](_0x561234(0x30e)), _0xe8d0ae = _0x3bfbb7 === void 0x0 ? void 0x0 : Number[_0x561234(_0x534955._0x92564)](_0x3bfbb7, 0xa);
|
|
2309
|
+
if (!_0x51b4d9)
|
|
2320
2310
|
throw new Error('Missing\x20--agent-id');
|
|
2321
|
-
if (!
|
|
2322
|
-
throw new Error(
|
|
2323
|
-
if (
|
|
2324
|
-
throw new Error(
|
|
2311
|
+
if (!_0x319369)
|
|
2312
|
+
throw new Error('Missing\x20--daemon-api-key');
|
|
2313
|
+
if (_0x3bfbb7 !== void 0x0 && (_0xe8d0ae === void 0x0 || !Number[_0x561234(0x22f)](_0xe8d0ae) || _0xe8d0ae < 0x0))
|
|
2314
|
+
throw new Error('Invalid\x20--initial-last-seen-seq');
|
|
2325
2315
|
return {
|
|
2326
|
-
'agentId':
|
|
2327
|
-
'
|
|
2328
|
-
'
|
|
2329
|
-
'
|
|
2330
|
-
'
|
|
2331
|
-
'
|
|
2332
|
-
'
|
|
2333
|
-
'
|
|
2334
|
-
'
|
|
2335
|
-
'
|
|
2316
|
+
'agentId': _0x51b4d9,
|
|
2317
|
+
'attachmentCacheDir': _0x2e8b10,
|
|
2318
|
+
'daemonApiKey': _0x319369,
|
|
2319
|
+
'daemonLocalUrl': _0x41d2e9,
|
|
2320
|
+
'initialLastSeenSeq': _0xe8d0ae,
|
|
2321
|
+
'sessionId': _0x275491,
|
|
2322
|
+
'serverUrl': _0x393757,
|
|
2323
|
+
'workerModeEnabled': _0x59f83c === void 0x0 ? void 0x0 : _0x59f83c !== 'false',
|
|
2324
|
+
'workerSessionId': _0x2530e7,
|
|
2325
|
+
'workerThreadTarget': _0x4a646f,
|
|
2326
|
+
'workerMode': _0x1f748a
|
|
2336
2327
|
};
|
|
2337
2328
|
}
|
|
2338
|
-
async function runChatBridgeCli(
|
|
2339
|
-
const
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
'
|
|
2346
|
-
'
|
|
2329
|
+
async function runChatBridgeCli(_0x4e1e6c) {
|
|
2330
|
+
const _0xd5b288 = {
|
|
2331
|
+
_0x5f3a71: 0x256,
|
|
2332
|
+
_0x1cda2a: 0x2f4,
|
|
2333
|
+
_0x5e208c: 0x205,
|
|
2334
|
+
_0x2f9104: 0x1d7
|
|
2335
|
+
}, _0x6d90f3 = _0x855546, _0x40ec8d = parseChatBridgeArgs(_0x4e1e6c), {StdioServerTransport: _0x27eef1} = await import(_0x6d90f3(0x1ed)), _0x180f20 = createInternalAgentClient(_0x40ec8d), _0xdec4cc = createAttachmentCache({ 'cacheDir': _0x40ec8d[_0x6d90f3(_0xd5b288._0x5f3a71)] }), _0x5a981e = await createChatBridgeServer({
|
|
2336
|
+
'agentId': _0x40ec8d[_0x6d90f3(_0xd5b288._0x1cda2a)],
|
|
2337
|
+
'attachmentCache': _0xdec4cc,
|
|
2338
|
+
'client': _0x180f20,
|
|
2339
|
+
'daemonLocalUrl': _0x40ec8d[_0x6d90f3(0x323)],
|
|
2347
2340
|
'uploadPreparer': prepareUploadFile,
|
|
2348
|
-
'workerModeEnabled':
|
|
2349
|
-
'workerMode':
|
|
2350
|
-
'workerThreadTarget':
|
|
2341
|
+
'workerModeEnabled': _0x40ec8d[_0x6d90f3(_0xd5b288._0x5e208c)],
|
|
2342
|
+
'workerMode': _0x40ec8d[_0x6d90f3(0x249)],
|
|
2343
|
+
'workerThreadTarget': _0x40ec8d[_0x6d90f3(_0xd5b288._0x2f9104)]
|
|
2351
2344
|
});
|
|
2352
|
-
await
|
|
2345
|
+
await _0x5a981e[_0x6d90f3(0x2ea)][_0x6d90f3(0x2c9)](new _0x27eef1());
|
|
2353
2346
|
}
|
|
2354
|
-
var executedAsEntry = process['argv'][0x1] ? import.meta.url === pathToFileURL(process[
|
|
2355
|
-
executedAsEntry && await runChatBridgeCli(process[
|
|
2347
|
+
var executedAsEntry = process['argv'][0x1] ? import.meta.url === pathToFileURL(process[_0x855546(0x2b1)][0x1])[_0x855546(0x246)] : ![];
|
|
2348
|
+
executedAsEntry && await runChatBridgeCli(process[_0x855546(0x2b1)]['slice'](0x2));
|
|
2356
2349
|
export {
|
|
2357
2350
|
createChatBridgeHandlers,
|
|
2358
2351
|
createChatBridgeServer,
|