@dscord/daemon 0.1.63 → 0.1.65
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 +1997 -1957
- package/dist/index.js +9789 -9739
- package/package.json +1 -1
package/dist/chat-bridge.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
const
|
|
2
|
-
(function (
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
},
|
|
1
|
+
const _0x36c0a2 = _0x2192;
|
|
2
|
+
(function (_0x538791, _0x34a750) {
|
|
3
|
+
const _0x225553 = {
|
|
4
|
+
_0x381e4e: 0x1f4,
|
|
5
|
+
_0x2542d3: 0x2c0,
|
|
6
|
+
_0x42b231: 0x175,
|
|
7
|
+
_0x17ac2e: 0x254
|
|
8
|
+
}, _0x30a6f1 = _0x2192, _0x1ba875 = _0x538791();
|
|
9
9
|
while (!![]) {
|
|
10
10
|
try {
|
|
11
|
-
const
|
|
12
|
-
if (
|
|
11
|
+
const _0x236ad0 = -parseInt(_0x30a6f1(0x18e)) / 0x1 + parseInt(_0x30a6f1(_0x225553._0x381e4e)) / 0x2 + -parseInt(_0x30a6f1(_0x225553._0x2542d3)) / 0x3 + parseInt(_0x30a6f1(0x276)) / 0x4 + parseInt(_0x30a6f1(0x1f3)) / 0x5 + parseInt(_0x30a6f1(_0x225553._0x42b231)) / 0x6 + parseInt(_0x30a6f1(_0x225553._0x17ac2e)) / 0x7 * (parseInt(_0x30a6f1(0x1cb)) / 0x8);
|
|
12
|
+
if (_0x236ad0 === _0x34a750)
|
|
13
13
|
break;
|
|
14
14
|
else
|
|
15
|
-
|
|
16
|
-
} catch (
|
|
17
|
-
|
|
15
|
+
_0x1ba875['push'](_0x1ba875['shift']());
|
|
16
|
+
} catch (_0x4a1048) {
|
|
17
|
+
_0x1ba875['push'](_0x1ba875['shift']());
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
}(
|
|
20
|
+
}(_0x7a96, 0x742a6));
|
|
21
21
|
import { pathToFileURL } from 'node:url';
|
|
22
22
|
import {
|
|
23
23
|
mkdir,
|
|
@@ -27,83 +27,81 @@ import {
|
|
|
27
27
|
writeFile
|
|
28
28
|
} from 'node:fs/promises';
|
|
29
29
|
import { homedir } from 'node:os';
|
|
30
|
-
import
|
|
30
|
+
import _0xb0331c from 'node:path';
|
|
31
31
|
var DEFAULT_MAX_FILE_SIZE = 0x64 * 0x400 * 0x400, MIME_BY_EXTENSION = {
|
|
32
|
-
'.csv':
|
|
33
|
-
'.gif':
|
|
34
|
-
'.jpeg':
|
|
35
|
-
'.jpg':
|
|
36
|
-
'.json':
|
|
32
|
+
'.csv': _0x36c0a2(0x1cd),
|
|
33
|
+
'.gif': _0x36c0a2(0x202),
|
|
34
|
+
'.jpeg': 'image/jpeg',
|
|
35
|
+
'.jpg': _0x36c0a2(0x283),
|
|
36
|
+
'.json': _0x36c0a2(0x2b1),
|
|
37
37
|
'.md': 'text/markdown',
|
|
38
|
-
'.pdf':
|
|
38
|
+
'.pdf': _0x36c0a2(0x1bb),
|
|
39
39
|
'.png': 'image/png',
|
|
40
|
-
'.svg':
|
|
40
|
+
'.svg': 'image/svg+xml',
|
|
41
41
|
'.txt': 'text/plain',
|
|
42
|
-
'.webp':
|
|
43
|
-
'.xml':
|
|
44
|
-
'.zip':
|
|
42
|
+
'.webp': _0x36c0a2(0x1ec),
|
|
43
|
+
'.xml': _0x36c0a2(0x157),
|
|
44
|
+
'.zip': _0x36c0a2(0x18d)
|
|
45
45
|
};
|
|
46
|
-
function guessContentType(
|
|
47
|
-
const
|
|
48
|
-
|
|
49
|
-
_0x4c97a4: 0x22d
|
|
50
|
-
}, _0x2f0f3e = _0x2980fe;
|
|
51
|
-
return MIME_BY_EXTENSION[_0x230848[_0x2f0f3e(0x241)](_0x456c30)[_0x2f0f3e(_0x1ff7a2._0x20d8f5)]()] ?? _0x2f0f3e(_0x1ff7a2._0x4c97a4);
|
|
46
|
+
function guessContentType(_0x1b00e6) {
|
|
47
|
+
const _0x105089 = _0x36c0a2;
|
|
48
|
+
return MIME_BY_EXTENSION[_0xb0331c[_0x105089(0x21c)](_0x1b00e6)['toLowerCase']()] ?? _0x105089(0x27b);
|
|
52
49
|
}
|
|
53
|
-
function safeFilename(
|
|
54
|
-
const
|
|
55
|
-
return
|
|
50
|
+
function safeFilename(_0xc44fd5) {
|
|
51
|
+
const _0x1bd106 = _0x36c0a2;
|
|
52
|
+
return _0xc44fd5[_0x1bd106(0x2ac)](/[\\/]/g, '-');
|
|
56
53
|
}
|
|
57
|
-
function extensionFor(
|
|
58
|
-
const
|
|
59
|
-
|
|
54
|
+
function extensionFor(_0x36d0ab) {
|
|
55
|
+
const _0x5664ba = {
|
|
56
|
+
_0x58ef3d: 0x233,
|
|
57
|
+
_0xaace9c: 0x208
|
|
58
|
+
}, _0x3971ff = _0x36c0a2, _0x160a57 = Object[_0x3971ff(_0x5664ba._0x58ef3d)](MIME_BY_EXTENSION)[_0x3971ff(_0x5664ba._0xaace9c)](([, _0x1b79b0]) => _0x1b79b0 === _0x36d0ab);
|
|
59
|
+
return _0x160a57?.[0x0] ?? _0x3971ff(0x238);
|
|
60
60
|
}
|
|
61
|
-
async function prepareUploadFile(
|
|
62
|
-
const
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
61
|
+
async function prepareUploadFile(_0x409283, _0x2f063d = {}) {
|
|
62
|
+
const _0x1dfffe = {
|
|
63
|
+
_0x4b6b43: 0x2c7,
|
|
64
|
+
_0x19bcb6: 0x16f,
|
|
65
|
+
_0x99b2e4: 0x180,
|
|
66
|
+
_0x1c437f: 0x199,
|
|
67
|
+
_0x2672d6: 0x249
|
|
68
|
+
}, _0x56a0e2 = _0x36c0a2;
|
|
69
|
+
if (!_0xb0331c[_0x56a0e2(_0x1dfffe._0x4b6b43)](_0x409283))
|
|
70
|
+
throw new Error(_0x56a0e2(0x1c7));
|
|
71
|
+
const _0x172e64 = await stat(_0x409283)[_0x56a0e2(0x24c)](() => null);
|
|
72
|
+
if (!_0x172e64 || !_0x172e64['isFile']())
|
|
73
|
+
throw new Error(_0x56a0e2(_0x1dfffe._0x19bcb6) + _0x409283);
|
|
74
|
+
const _0x2c9337 = _0x2f063d[_0x56a0e2(_0x1dfffe._0x99b2e4)] ?? DEFAULT_MAX_FILE_SIZE;
|
|
75
|
+
if (_0x172e64[_0x56a0e2(0x199)] > _0x2c9337)
|
|
76
|
+
throw new Error('File\x20size\x20exceeds\x20limit:\x20' + _0x172e64[_0x56a0e2(_0x1dfffe._0x1c437f)]);
|
|
77
|
+
const _0x4742c0 = await readFile(_0x409283), _0x5997fe = _0xb0331c[_0x56a0e2(0x2db)](_0x409283);
|
|
77
78
|
return {
|
|
78
|
-
'contentBase64':
|
|
79
|
-
'contentType': guessContentType(
|
|
80
|
-
'filename':
|
|
81
|
-
'sizeBytes':
|
|
79
|
+
'contentBase64': _0x4742c0[_0x56a0e2(0x159)](_0x56a0e2(_0x1dfffe._0x2672d6)),
|
|
80
|
+
'contentType': guessContentType(_0x5997fe),
|
|
81
|
+
'filename': _0x5997fe,
|
|
82
|
+
'sizeBytes': _0x172e64[_0x56a0e2(_0x1dfffe._0x1c437f)]
|
|
82
83
|
};
|
|
83
84
|
}
|
|
84
|
-
function createAttachmentCache(
|
|
85
|
-
const
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
_0x16b31d: 0x1f5,
|
|
92
|
-
_0x2e0982: 0x160
|
|
93
|
-
}, _0x3ba0e9 = _0x2980fe, _0x291512 = _0x211d56[_0x3ba0e9(_0x178c94._0x3c14ac)] ?? _0x230848[_0x3ba0e9(_0x178c94._0x591b32)](homedir(), _0x3ba0e9(0x140), _0x3ba0e9(_0x178c94._0x6d0202));
|
|
85
|
+
function createAttachmentCache(_0x47e25f = {}) {
|
|
86
|
+
const _0xaf8977 = {
|
|
87
|
+
_0xd61785: 0x156,
|
|
88
|
+
_0x4b2621: 0x156,
|
|
89
|
+
_0x5ad15a: 0x224,
|
|
90
|
+
_0x97271f: 0x1c4
|
|
91
|
+
}, _0x57f0aa = _0x36c0a2, _0xfbcc3d = _0x47e25f['cacheDir'] ?? _0xb0331c[_0x57f0aa(0x2a2)](homedir(), _0x57f0aa(0x2b2), _0x57f0aa(0x25c));
|
|
94
92
|
return {
|
|
95
|
-
'cacheDir':
|
|
96
|
-
async 'findCachedPath'(
|
|
97
|
-
const
|
|
98
|
-
await mkdir(
|
|
99
|
-
const
|
|
100
|
-
return
|
|
93
|
+
'cacheDir': _0xfbcc3d,
|
|
94
|
+
async 'findCachedPath'(_0x50cffd) {
|
|
95
|
+
const _0x4ba2b1 = _0x57f0aa;
|
|
96
|
+
await mkdir(_0xfbcc3d, { 'recursive': !![] });
|
|
97
|
+
const _0x48db8f = await readdir(_0xfbcc3d), _0x5c4542 = _0x48db8f[_0x4ba2b1(0x208)](_0x738bc9 => _0x738bc9[_0x4ba2b1(0x260)](_0x50cffd + '-') || _0x738bc9[_0x4ba2b1(0x260)](_0x50cffd));
|
|
98
|
+
return _0x5c4542 ? _0xb0331c[_0x4ba2b1(0x2a2)](_0xfbcc3d, _0x5c4542) : null;
|
|
101
99
|
},
|
|
102
|
-
async 'save'(
|
|
103
|
-
const
|
|
104
|
-
await mkdir(
|
|
105
|
-
const
|
|
106
|
-
return await writeFile(
|
|
100
|
+
async 'save'(_0x215958) {
|
|
101
|
+
const _0x3b715c = _0x57f0aa;
|
|
102
|
+
await mkdir(_0xfbcc3d, { 'recursive': !![] });
|
|
103
|
+
const _0x1da97b = _0x215958[_0x3b715c(_0xaf8977._0xd61785)]?.['trim']() ? safeFilename(_0x215958[_0x3b715c(_0xaf8977._0x4b2621)]) : '' + _0x215958[_0x3b715c(0x227)] + extensionFor(_0x215958[_0x3b715c(_0xaf8977._0x5ad15a)]), _0x27b982 = _0xb0331c['join'](_0xfbcc3d, _0x215958['attachmentId'] + '-' + _0x1da97b);
|
|
104
|
+
return await writeFile(_0x27b982, _0x215958[_0x3b715c(_0xaf8977._0x97271f)]), _0x27b982;
|
|
107
105
|
}
|
|
108
106
|
};
|
|
109
107
|
}
|
|
@@ -112,2258 +110,2300 @@ import {
|
|
|
112
110
|
randomUUID
|
|
113
111
|
} from 'node:crypto';
|
|
114
112
|
var UNSUPPORTED_TARGET_MESSAGE = 'Unsupported\x20target\x20format.\x20Supported\x20values\x20are\x20#channel,\x20dm:dm-<name>,\x20and\x20their\x20thread\x20targets.';
|
|
115
|
-
function ensureSegment(
|
|
116
|
-
const
|
|
117
|
-
if (!
|
|
113
|
+
function ensureSegment(_0x30071d) {
|
|
114
|
+
const _0x1375c8 = _0x30071d['trim']();
|
|
115
|
+
if (!_0x1375c8 || _0x1375c8['includes'](':'))
|
|
118
116
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
119
|
-
return
|
|
117
|
+
return _0x1375c8;
|
|
120
118
|
}
|
|
121
|
-
function parseThreadParts(
|
|
122
|
-
const
|
|
123
|
-
|
|
124
|
-
_0x420ea8: 0x1fe
|
|
125
|
-
}, _0x1c989f = _0x2980fe, _0x2ee841 = _0x5a3627[_0x1c989f(_0x4df121._0x3347b8)](':');
|
|
126
|
-
if (_0x2ee841[_0x1c989f(_0x4df121._0x420ea8)] < 0x1 || _0x2ee841[_0x1c989f(0x1fe)] > 0x2)
|
|
119
|
+
function parseThreadParts(_0x12998c) {
|
|
120
|
+
const _0x4b3e1e = { _0x36d81a: 0x2a9 }, _0x2b5703 = _0x36c0a2, _0x3d9074 = _0x12998c[_0x2b5703(0x2d6)](':');
|
|
121
|
+
if (_0x3d9074[_0x2b5703(0x2a9)] < 0x1 || _0x3d9074[_0x2b5703(_0x4b3e1e._0x36d81a)] > 0x2)
|
|
127
122
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
128
123
|
return {
|
|
129
|
-
'channelName': ensureSegment(
|
|
130
|
-
'threadShortId':
|
|
124
|
+
'channelName': ensureSegment(_0x3d9074[0x0] ?? ''),
|
|
125
|
+
'threadShortId': _0x3d9074[0x1] ? ensureSegment(_0x3d9074[0x1]) : null
|
|
131
126
|
};
|
|
132
127
|
}
|
|
133
|
-
function parseTarget(
|
|
134
|
-
const
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
}, _0x560755 = _0x2980fe, _0x3481c6 = _0x2bb40e['trim']();
|
|
144
|
-
if (!_0x3481c6)
|
|
128
|
+
function parseTarget(_0x10542e) {
|
|
129
|
+
const _0x1bb7d8 = {
|
|
130
|
+
_0x47ba21: 0x260,
|
|
131
|
+
_0x428c46: 0x2e3,
|
|
132
|
+
_0x44901c: 0x2e0,
|
|
133
|
+
_0x5263c8: 0x251,
|
|
134
|
+
_0x5512eb: 0x1b2,
|
|
135
|
+
_0x5886b1: 0x181
|
|
136
|
+
}, _0x3925dc = _0x36c0a2, _0x15bf2a = _0x10542e[_0x3925dc(0x255)]();
|
|
137
|
+
if (!_0x15bf2a)
|
|
145
138
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
146
|
-
if (
|
|
147
|
-
const
|
|
148
|
-
if (!
|
|
139
|
+
if (_0x15bf2a[_0x3925dc(_0x1bb7d8._0x47ba21)]('#')) {
|
|
140
|
+
const _0x2c2701 = parseThreadParts(_0x15bf2a[_0x3925dc(0x189)](0x1)), _0x59de6c = '#' + _0x2c2701[_0x3925dc(_0x1bb7d8._0x428c46)];
|
|
141
|
+
if (!_0x2c2701[_0x3925dc(0x214)])
|
|
149
142
|
return {
|
|
150
|
-
'channelName':
|
|
151
|
-
'channelTarget':
|
|
152
|
-
'kind':
|
|
153
|
-
'target':
|
|
143
|
+
'channelName': _0x2c2701[_0x3925dc(0x2e3)],
|
|
144
|
+
'channelTarget': _0x59de6c,
|
|
145
|
+
'kind': _0x3925dc(_0x1bb7d8._0x44901c),
|
|
146
|
+
'target': _0x59de6c
|
|
154
147
|
};
|
|
155
148
|
return {
|
|
156
|
-
'channelName':
|
|
157
|
-
'channelTarget':
|
|
158
|
-
'kind':
|
|
159
|
-
'target':
|
|
160
|
-
'threadShortId':
|
|
149
|
+
'channelName': _0x2c2701['channelName'],
|
|
150
|
+
'channelTarget': _0x59de6c,
|
|
151
|
+
'kind': _0x3925dc(0x181),
|
|
152
|
+
'target': _0x59de6c + ':' + _0x2c2701[_0x3925dc(0x214)],
|
|
153
|
+
'threadShortId': _0x2c2701[_0x3925dc(0x214)]
|
|
161
154
|
};
|
|
162
155
|
}
|
|
163
|
-
if (
|
|
164
|
-
const
|
|
165
|
-
if (!
|
|
156
|
+
if (_0x15bf2a[_0x3925dc(0x260)](_0x3925dc(_0x1bb7d8._0x5263c8))) {
|
|
157
|
+
const _0x5d0f30 = parseThreadParts(_0x15bf2a[_0x3925dc(0x189)](0x3));
|
|
158
|
+
if (!_0x5d0f30[_0x3925dc(0x2e3)][_0x3925dc(_0x1bb7d8._0x47ba21)](_0x3925dc(_0x1bb7d8._0x5512eb)))
|
|
166
159
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
167
|
-
const
|
|
168
|
-
if (!
|
|
160
|
+
const _0x46e27c = 'dm:' + _0x5d0f30[_0x3925dc(0x2e3)];
|
|
161
|
+
if (!_0x5d0f30['threadShortId'])
|
|
169
162
|
return {
|
|
170
|
-
'channelName':
|
|
171
|
-
'channelTarget':
|
|
172
|
-
'kind':
|
|
173
|
-
'target':
|
|
163
|
+
'channelName': _0x5d0f30[_0x3925dc(_0x1bb7d8._0x428c46)],
|
|
164
|
+
'channelTarget': _0x46e27c,
|
|
165
|
+
'kind': _0x3925dc(0x2e0),
|
|
166
|
+
'target': _0x46e27c
|
|
174
167
|
};
|
|
175
168
|
return {
|
|
176
|
-
'channelName':
|
|
177
|
-
'channelTarget':
|
|
178
|
-
'kind':
|
|
179
|
-
'target':
|
|
180
|
-
'threadShortId':
|
|
169
|
+
'channelName': _0x5d0f30['channelName'],
|
|
170
|
+
'channelTarget': _0x46e27c,
|
|
171
|
+
'kind': _0x3925dc(_0x1bb7d8._0x5886b1),
|
|
172
|
+
'target': _0x46e27c + ':' + _0x5d0f30['threadShortId'],
|
|
173
|
+
'threadShortId': _0x5d0f30[_0x3925dc(0x214)]
|
|
181
174
|
};
|
|
182
175
|
}
|
|
183
176
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
184
177
|
}
|
|
185
|
-
function asErrorMessage(
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
return _0x4387b8;
|
|
178
|
+
function asErrorMessage(_0x3db6c9, _0x546081) {
|
|
179
|
+
if (typeof _0x3db6c9 === 'string' && _0x3db6c9['trim']())
|
|
180
|
+
return _0x3db6c9;
|
|
181
|
+
return _0x546081;
|
|
190
182
|
}
|
|
191
|
-
function asRecord(
|
|
192
|
-
|
|
193
|
-
return typeof _0x3bd27d === _0x4033d8(0x242) && _0x3bd27d !== null ? _0x3bd27d : {};
|
|
183
|
+
function asRecord(_0x3fd8e9) {
|
|
184
|
+
return typeof _0x3fd8e9 === 'object' && _0x3fd8e9 !== null ? _0x3fd8e9 : {};
|
|
194
185
|
}
|
|
195
|
-
function stableStringify(
|
|
196
|
-
const
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
if (
|
|
204
|
-
return
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
const _0x25163a = Object[_0x5b0436(_0x314f51._0x12cb9b)](_0x2b57af)[_0x5b0436(_0x314f51._0x2972c4)](([, _0x433252]) => _0x433252 !== void 0x0)[_0x5b0436(_0x314f51._0x5c0fdb)](([_0xd0a617], [_0xa8c85]) => _0xd0a617['localeCompare'](_0xa8c85))[_0x5b0436(0x23c)](([_0xe0909e, _0x591b52]) => JSON['stringify'](_0xe0909e) + ':' + stableStringify(_0x591b52));
|
|
208
|
-
return '{' + _0x25163a[_0x5b0436(0x25e)](',') + '}';
|
|
186
|
+
function stableStringify(_0x3ed13b) {
|
|
187
|
+
const _0xf0570e = {
|
|
188
|
+
_0x1a2add: 0x2be,
|
|
189
|
+
_0x8b5b: 0x174,
|
|
190
|
+
_0x14a091: 0x266
|
|
191
|
+
}, _0x3a989d = _0x36c0a2;
|
|
192
|
+
if (_0x3ed13b === null || typeof _0x3ed13b !== _0x3a989d(_0xf0570e._0x1a2add))
|
|
193
|
+
return JSON['stringify'](_0x3ed13b);
|
|
194
|
+
if (Array[_0x3a989d(0x16d)](_0x3ed13b))
|
|
195
|
+
return '[' + _0x3ed13b['map'](_0x3fc8b3 => stableStringify(_0x3fc8b3))[_0x3a989d(0x2a2)](',') + ']';
|
|
196
|
+
const _0x220982 = Object[_0x3a989d(0x233)](_0x3ed13b)[_0x3a989d(_0xf0570e._0x8b5b)](([, _0x66a98a]) => _0x66a98a !== void 0x0)[_0x3a989d(_0xf0570e._0x14a091)](([_0x3c65a1], [_0x1265c8]) => _0x3c65a1[_0x3a989d(0x1d1)](_0x1265c8))['map'](([_0x34d8d2, _0x167498]) => JSON[_0x3a989d(0x29e)](_0x34d8d2) + ':' + stableStringify(_0x167498));
|
|
197
|
+
return '{' + _0x220982['join'](',') + '}';
|
|
209
198
|
}
|
|
210
|
-
function createHeaders(
|
|
211
|
-
const
|
|
199
|
+
function createHeaders(_0x1f0290) {
|
|
200
|
+
const _0x400fe7 = { _0x318655: 0x2b1 }, _0x3dbd1f = _0x36c0a2;
|
|
212
201
|
return {
|
|
213
|
-
'Content-Type':
|
|
214
|
-
'x-daemon-api-key':
|
|
202
|
+
'Content-Type': _0x3dbd1f(_0x400fe7._0x318655),
|
|
203
|
+
'x-daemon-api-key': _0x1f0290
|
|
215
204
|
};
|
|
216
205
|
}
|
|
217
|
-
function toHttpBaseUrl(
|
|
218
|
-
const
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
}, _0x2787fe = _0x2980fe, _0x14b3ae = new URL(_0x157b7a);
|
|
222
|
-
if (_0x14b3ae[_0x2787fe(0x10f)] === _0x2787fe(_0xf95caa._0x4b6ac1))
|
|
223
|
-
_0x14b3ae['protocol'] = _0x2787fe(_0xf95caa._0x56fa25);
|
|
206
|
+
function toHttpBaseUrl(_0x147599) {
|
|
207
|
+
const _0x594447 = { _0x5b151c: 0x2ac }, _0x851f37 = _0x36c0a2, _0x2cc5ff = new URL(_0x147599);
|
|
208
|
+
if (_0x2cc5ff['protocol'] === _0x851f37(0x277))
|
|
209
|
+
_0x2cc5ff[_0x851f37(0x2af)] = _0x851f37(0x23b);
|
|
224
210
|
else
|
|
225
|
-
|
|
226
|
-
return
|
|
211
|
+
_0x2cc5ff[_0x851f37(0x2af)] === 'wss:' && (_0x2cc5ff[_0x851f37(0x2af)] = 'https:');
|
|
212
|
+
return _0x2cc5ff['toString']()[_0x851f37(_0x594447._0x5b151c)](/\/$/, '');
|
|
227
213
|
}
|
|
228
|
-
function isMentionBoundary(
|
|
229
|
-
const
|
|
230
|
-
return !
|
|
214
|
+
function isMentionBoundary(_0x2ba377) {
|
|
215
|
+
const _0x4f62dd = _0x36c0a2;
|
|
216
|
+
return !_0x2ba377 || /\s|[([{'",。!?、:;]/[_0x4f62dd(0x23a)](_0x2ba377);
|
|
231
217
|
}
|
|
232
|
-
function isMentionTerminal(
|
|
233
|
-
const
|
|
234
|
-
return !
|
|
218
|
+
function isMentionTerminal(_0x35d21b) {
|
|
219
|
+
const _0x4781d6 = { _0x3a9dbd: 0x23a }, _0x4b98d2 = _0x36c0a2;
|
|
220
|
+
return !_0x35d21b || /\s|[)\]}'",。!?、:;,.!?]/[_0x4b98d2(_0x4781d6._0x3a9dbd)](_0x35d21b);
|
|
235
221
|
}
|
|
236
|
-
function buildMatchableEntries(
|
|
237
|
-
const
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
222
|
+
function buildMatchableEntries(_0x571aac) {
|
|
223
|
+
const _0x2f7403 = {
|
|
224
|
+
_0x31584c: 0x2a4,
|
|
225
|
+
_0x1d7446: 0x195,
|
|
226
|
+
_0x3bb2dc: 0x195,
|
|
227
|
+
_0x34626e: 0x191
|
|
228
|
+
}, _0x3086b1 = _0x36c0a2, _0x4b6938 = [];
|
|
229
|
+
for (const _0x19f9c0 of [
|
|
230
|
+
..._0x571aac[_0x3086b1(_0x2f7403._0x31584c)],
|
|
231
|
+
..._0x571aac[_0x3086b1(0x240)]
|
|
244
232
|
]) {
|
|
245
|
-
|
|
246
|
-
'matchName':
|
|
247
|
-
'matchNameLower':
|
|
248
|
-
'participantId':
|
|
249
|
-
}),
|
|
250
|
-
'matchName':
|
|
251
|
-
'matchNameLower':
|
|
252
|
-
'participantId':
|
|
233
|
+
_0x4b6938[_0x3086b1(0x191)]({
|
|
234
|
+
'matchName': _0x19f9c0[_0x3086b1(_0x2f7403._0x1d7446)],
|
|
235
|
+
'matchNameLower': _0x19f9c0[_0x3086b1(0x195)]['toLocaleLowerCase'](),
|
|
236
|
+
'participantId': _0x19f9c0['id']
|
|
237
|
+
}), _0x19f9c0['id'] !== _0x19f9c0[_0x3086b1(_0x2f7403._0x3bb2dc)] && _0x4b6938[_0x3086b1(_0x2f7403._0x34626e)]({
|
|
238
|
+
'matchName': _0x19f9c0['id'],
|
|
239
|
+
'matchNameLower': _0x19f9c0['id'][_0x3086b1(0x25a)](),
|
|
240
|
+
'participantId': _0x19f9c0['id']
|
|
253
241
|
});
|
|
254
242
|
}
|
|
255
|
-
return
|
|
243
|
+
return _0x4b6938;
|
|
256
244
|
}
|
|
257
|
-
function extractMentionedParticipantIds(
|
|
258
|
-
const
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
245
|
+
function extractMentionedParticipantIds(_0x534f6c, _0x494ed3) {
|
|
246
|
+
const _0x1f528c = {
|
|
247
|
+
_0x28f92c: 0x189,
|
|
248
|
+
_0x26946b: 0x1f8,
|
|
249
|
+
_0x93582c: 0x15b,
|
|
250
|
+
_0x243e9f: 0x18c
|
|
251
|
+
}, _0x15011b = {
|
|
252
|
+
_0xb1f598: 0x293,
|
|
253
|
+
_0x592767: 0x18c,
|
|
254
|
+
_0x1a80fe: 0x2a9
|
|
255
|
+
}, _0x1d03a6 = _0x36c0a2, _0x3d3c81 = buildMatchableEntries(_0x494ed3)['sort']((_0x311522, _0xc7853d) => _0xc7853d['matchName'][_0x1d03a6(0x2a9)] - _0x311522['matchName'][_0x1d03a6(0x2a9)]), _0x22658c = [], _0x74515f = new Set();
|
|
256
|
+
for (let _0x2c92cb = 0x0; _0x2c92cb < _0x534f6c['length']; _0x2c92cb += 0x1) {
|
|
257
|
+
if (_0x534f6c[_0x2c92cb] !== '@' || !isMentionBoundary(_0x534f6c[_0x2c92cb - 0x1]))
|
|
268
258
|
continue;
|
|
269
|
-
const
|
|
270
|
-
const
|
|
271
|
-
if (!
|
|
259
|
+
const _0x5d2b80 = _0x534f6c[_0x1d03a6(_0x1f528c._0x28f92c)](_0x2c92cb + 0x1), _0x543ae6 = _0x5d2b80[_0x1d03a6(0x25a)](), _0x4527ce = _0x3d3c81[_0x1d03a6(0x208)](_0x2977fb => {
|
|
260
|
+
const _0xe32126 = _0x1d03a6;
|
|
261
|
+
if (!_0x543ae6['startsWith'](_0x2977fb[_0xe32126(_0x15011b._0xb1f598)]))
|
|
272
262
|
return ![];
|
|
273
|
-
return isMentionTerminal(
|
|
263
|
+
return isMentionTerminal(_0x5d2b80[_0x2977fb[_0xe32126(_0x15011b._0x592767)][_0xe32126(_0x15011b._0x1a80fe)]]);
|
|
274
264
|
});
|
|
275
|
-
if (!
|
|
265
|
+
if (!_0x4527ce || _0x74515f[_0x1d03a6(0x192)](_0x4527ce['participantId']))
|
|
276
266
|
continue;
|
|
277
|
-
|
|
267
|
+
_0x74515f[_0x1d03a6(_0x1f528c._0x26946b)](_0x4527ce[_0x1d03a6(_0x1f528c._0x93582c)]), _0x22658c[_0x1d03a6(0x191)](_0x4527ce['participantId']), _0x2c92cb += _0x4527ce[_0x1d03a6(_0x1f528c._0x243e9f)][_0x1d03a6(0x2a9)];
|
|
278
268
|
}
|
|
279
|
-
return
|
|
269
|
+
return _0x22658c;
|
|
280
270
|
}
|
|
281
271
|
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
282
|
-
function anySignal(...
|
|
283
|
-
const
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
272
|
+
function anySignal(..._0x57c5fa) {
|
|
273
|
+
const _0x324f21 = {
|
|
274
|
+
_0x2bb47c: 0x1db,
|
|
275
|
+
_0x23926d: 0x1ed,
|
|
276
|
+
_0xc6152c: 0x28c
|
|
277
|
+
}, _0x3868de = _0x36c0a2, _0x4057c6 = new AbortController();
|
|
278
|
+
for (const _0x140dc1 of _0x57c5fa) {
|
|
279
|
+
if (_0x140dc1[_0x3868de(0x17e)])
|
|
280
|
+
return _0x4057c6[_0x3868de(0x28c)](_0x140dc1[_0x3868de(0x245)]), _0x4057c6[_0x3868de(_0x324f21._0x2bb47c)];
|
|
281
|
+
_0x140dc1[_0x3868de(_0x324f21._0x23926d)](_0x3868de(_0x324f21._0xc6152c), () => _0x4057c6[_0x3868de(0x28c)](_0x140dc1[_0x3868de(0x245)]), {
|
|
291
282
|
'once': !![],
|
|
292
|
-
'signal':
|
|
283
|
+
'signal': _0x4057c6['signal']
|
|
293
284
|
});
|
|
294
285
|
}
|
|
295
|
-
return
|
|
286
|
+
return _0x4057c6['signal'];
|
|
296
287
|
}
|
|
297
|
-
function createInternalAgentClient(
|
|
298
|
-
const
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
},
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
},
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
},
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
},
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
},
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
288
|
+
function createInternalAgentClient(_0x5346d1) {
|
|
289
|
+
const _0xaaed02 = {
|
|
290
|
+
_0x28d5af: 0x204,
|
|
291
|
+
_0x567802: 0x193,
|
|
292
|
+
_0x15d58a: 0x255,
|
|
293
|
+
_0x37e302: 0x255,
|
|
294
|
+
_0x55a91d: 0x21f
|
|
295
|
+
}, _0x1bd5b3 = {
|
|
296
|
+
_0x32a070: 0x171,
|
|
297
|
+
_0x569194: 0x213,
|
|
298
|
+
_0x40f217: 0x159,
|
|
299
|
+
_0x1b07a9: 0x1f7,
|
|
300
|
+
_0x197c55: 0x2ab,
|
|
301
|
+
_0xa7a14f: 0x282,
|
|
302
|
+
_0x375681: 0x1c4,
|
|
303
|
+
_0x435f7d: 0x177,
|
|
304
|
+
_0x263864: 0x2a9,
|
|
305
|
+
_0x2de142: 0x207,
|
|
306
|
+
_0xaa166e: 0x174,
|
|
307
|
+
_0x3d7fe8: 0x212,
|
|
308
|
+
_0x3cc107: 0x2e2,
|
|
309
|
+
_0x170e9d: 0x2e2,
|
|
310
|
+
_0x2c1448: 0x178,
|
|
311
|
+
_0x16a872: 0x2e2,
|
|
312
|
+
_0xc3064b: 0x1f6,
|
|
313
|
+
_0x165121: 0x1d9,
|
|
314
|
+
_0x46fdc0: 0x2dc,
|
|
315
|
+
_0x1ef366: 0x191,
|
|
316
|
+
_0x1b5c27: 0x1d9,
|
|
317
|
+
_0x445af9: 0x171,
|
|
318
|
+
_0x35e833: 0x230,
|
|
319
|
+
_0x3bb87f: 0x251,
|
|
320
|
+
_0x1b8996: 0x243,
|
|
321
|
+
_0x5e07c9: 0x230,
|
|
322
|
+
_0x300735: 0x1cf,
|
|
323
|
+
_0x4352b2: 0x243,
|
|
324
|
+
_0x59c9f6: 0x25f,
|
|
325
|
+
_0x5d5efd: 0x253,
|
|
326
|
+
_0x79ab15: 0x257,
|
|
327
|
+
_0xfabc53: 0x176,
|
|
328
|
+
_0x1c7a5d: 0x1fa,
|
|
329
|
+
_0x4161f7: 0x2d1,
|
|
330
|
+
_0x45d21b: 0x2d1,
|
|
331
|
+
_0x5edaf8: 0x270,
|
|
332
|
+
_0x3ac43a: 0x270,
|
|
333
|
+
_0x5546d0: 0x257,
|
|
334
|
+
_0x5b4c6f: 0x160,
|
|
335
|
+
_0x39172a: 0x257,
|
|
336
|
+
_0x473127: 0x27e,
|
|
337
|
+
_0x49ef6b: 0x174
|
|
338
|
+
}, _0x313a15 = { _0x2940e1: 0x230 }, _0x3b5768 = {
|
|
339
|
+
_0x1b5485: 0x1c3,
|
|
340
|
+
_0x387386: 0x169,
|
|
341
|
+
_0x535ba8: 0x29a
|
|
342
|
+
}, _0x508a0 = {
|
|
343
|
+
_0xb988ad: 0x171,
|
|
344
|
+
_0x7620b7: 0x177,
|
|
345
|
+
_0x5b929f: 0x2a6
|
|
346
|
+
}, _0x1fafec = {
|
|
347
|
+
_0x33626b: 0x278,
|
|
348
|
+
_0x847581: 0x278,
|
|
349
|
+
_0xe76054: 0x1db,
|
|
350
|
+
_0x383358: 0x1d3,
|
|
351
|
+
_0x207a24: 0x2e4,
|
|
352
|
+
_0x40356a: 0x156
|
|
353
|
+
}, _0x82d29c = {
|
|
354
|
+
_0x165403: 0x1c4,
|
|
355
|
+
_0x5b728a: 0x1dd
|
|
356
|
+
}, _0xe4893f = {
|
|
357
|
+
_0x46d485: 0x2b6,
|
|
358
|
+
_0x42285e: 0x2a0
|
|
359
|
+
}, _0x479a21 = {
|
|
360
|
+
_0x2f9b43: 0x1a7,
|
|
361
|
+
_0x550bc5: 0x2c9,
|
|
362
|
+
_0x487851: 0x2a0
|
|
363
|
+
}, _0x291f16 = {
|
|
364
|
+
_0x5d046a: 0x29e,
|
|
365
|
+
_0x2fe737: 0x2a0
|
|
366
|
+
}, _0x450a91 = { _0x492e1d: 0x1f7 }, _0x55fe7c = {
|
|
367
|
+
_0xbf8142: 0x171,
|
|
368
|
+
_0x424b4e: 0x2b0
|
|
369
|
+
}, _0x539e03 = {
|
|
370
|
+
_0x3ea7e4: 0x173,
|
|
371
|
+
_0x350958: 0x2d4,
|
|
372
|
+
_0x273667: 0x2b0,
|
|
373
|
+
_0x1686f5: 0x1c4
|
|
374
|
+
}, _0x2bef0f = {
|
|
375
|
+
_0x40bf27: 0x1a0,
|
|
376
|
+
_0x321eb0: 0x259,
|
|
377
|
+
_0x4ac118: 0x1a0,
|
|
378
|
+
_0x541fa7: 0x1fd
|
|
379
|
+
}, _0x44965f = {
|
|
380
|
+
_0x279ccf: 0x20b,
|
|
381
|
+
_0xba4b3f: 0x183
|
|
382
|
+
}, _0x4ff413 = {
|
|
383
|
+
_0x13d3bf: 0x25f,
|
|
384
|
+
_0x424ecf: 0x1a7,
|
|
385
|
+
_0x194000: 0x1f7,
|
|
386
|
+
_0x57d296: 0x212,
|
|
387
|
+
_0x3eef56: 0x2a9,
|
|
388
|
+
_0x3d7eca: 0x288,
|
|
389
|
+
_0x4e984f: 0x288,
|
|
390
|
+
_0x4db353: 0x2a0
|
|
391
|
+
}, _0x332b0d = {
|
|
392
|
+
_0x52f7d0: 0x17f,
|
|
393
|
+
_0x30c137: 0x171,
|
|
394
|
+
_0xaada83: 0x212,
|
|
395
|
+
_0x541df5: 0x212,
|
|
396
|
+
_0x115965: 0x1c4,
|
|
397
|
+
_0x338299: 0x29b,
|
|
398
|
+
_0x2ab4be: 0x177,
|
|
399
|
+
_0xafc3c0: 0x294
|
|
400
|
+
}, _0x1e3ab4 = {
|
|
401
|
+
_0x2c8f01: 0x1f6,
|
|
402
|
+
_0x40197e: 0x2a6,
|
|
403
|
+
_0x1dd96d: 0x214,
|
|
404
|
+
_0x48122a: 0x2e2,
|
|
405
|
+
_0x2ebbd6: 0x214,
|
|
406
|
+
_0x4caf7a: 0x260,
|
|
407
|
+
_0x163e1e: 0x29a,
|
|
408
|
+
_0x18c8ca: 0x214,
|
|
409
|
+
_0x57d427: 0x260
|
|
410
|
+
}, _0x148118 = {
|
|
411
|
+
_0x5eee3e: 0x181,
|
|
412
|
+
_0x37cf04: 0x1f6,
|
|
413
|
+
_0x26612a: 0x214,
|
|
414
|
+
_0x7f8bae: 0x178,
|
|
415
|
+
_0x791088: 0x178,
|
|
416
|
+
_0x48d78d: 0x260
|
|
417
|
+
}, _0x48873a = {
|
|
418
|
+
_0x38165e: 0x1f6,
|
|
419
|
+
_0x5223ea: 0x26d,
|
|
420
|
+
_0x4c2fba: 0x29a
|
|
421
|
+
}, _0x32bcf1 = {
|
|
422
|
+
_0x183caf: 0x240,
|
|
423
|
+
_0x2e2a34: 0x208
|
|
424
|
+
}, _0x4bd80c = { _0xafe741: 0x20c }, _0x592e39 = { _0x2031f0: 0x17d }, _0x32c940 = {
|
|
425
|
+
_0x40af52: 0x1c6,
|
|
426
|
+
_0x302d87: 0x29e,
|
|
427
|
+
_0x3c1b9e: 0x169,
|
|
428
|
+
_0x4cdab2: 0x1c4,
|
|
429
|
+
_0x446b2b: 0x26d,
|
|
430
|
+
_0x5e82a0: 0x1f6
|
|
431
|
+
}, _0x41cfc8 = { _0x2b5a6d: 0x216 }, _0x2c165f = { _0xfaa68e: 0x1dc }, _0x44e1f0 = {
|
|
432
|
+
_0x6a17d2: 0x1db,
|
|
433
|
+
_0x5953eb: 0x2d4,
|
|
434
|
+
_0x4560cd: 0x1cc
|
|
435
|
+
}, _0xae2a55 = {
|
|
436
|
+
_0x4fa9b8: 0x1db,
|
|
437
|
+
_0x504e51: 0x1cc,
|
|
438
|
+
_0x290a97: 0x2b0
|
|
439
|
+
}, _0x240fae = {
|
|
440
|
+
_0x2b1938: 0x215,
|
|
441
|
+
_0x1ed9a1: 0x280,
|
|
442
|
+
_0x3fa865: 0x279,
|
|
443
|
+
_0x52a9a1: 0x2d2
|
|
444
|
+
}, _0x56fd75 = {
|
|
445
|
+
_0x1a2155: 0x2e4,
|
|
446
|
+
_0x288444: 0x255
|
|
447
|
+
}, _0x2aa3eb = {
|
|
448
|
+
_0x9c8dca: 0x2ac,
|
|
449
|
+
_0x5869c3: 0x182,
|
|
450
|
+
_0x566ab0: 0x219,
|
|
451
|
+
_0x291b1c: 0x225,
|
|
452
|
+
_0x2fbdde: 0x2ad
|
|
453
|
+
}, _0x452847 = _0x36c0a2, _0x2d31a6 = _0x5346d1[_0x452847(0x16b)] ?? fetch, _0x17af24 = _0x5346d1['fetchTimeoutMs'] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x541614 = typeof _0x5346d1[_0x452847(0x1eb)] === 'number' && _0x5346d1[_0x452847(0x1eb)] > 0x0 ? _0x5346d1[_0x452847(0x1eb)] : 0x0, _0x1bf6fb = _0x5346d1['daemonLocalUrl']?.['trim']() || void 0x0, _0x10d26d = _0x5346d1[_0x452847(_0xaaed02._0x28d5af)]?.['trim']() || void 0x0, _0xd14797 = _0x5346d1['workerModeEnabled'] === !![], _0x5c3fb4 = _0x5346d1[_0x452847(_0xaaed02._0x567802)]?.[_0x452847(_0xaaed02._0x15d58a)]() || void 0x0, _0x1d17f8 = _0x5346d1[_0x452847(0x23e)]?.[_0x452847(_0xaaed02._0x37e302)]() || void 0x0, _0x132ecd = createHeaders(_0x5346d1[_0x452847(_0xaaed02._0x55a91d)]), _0x2e77b9 = toHttpBaseUrl(_0x5346d1[_0x452847(0x2d7)]);
|
|
454
|
+
let _0x48499c = null;
|
|
455
|
+
const _0x3b37f3 = new Map();
|
|
456
|
+
let _0x42d217 = _0x541614, _0x2d2f75 = _0x541614;
|
|
457
|
+
function _0x17be70(_0x2086e4) {
|
|
458
|
+
const _0x2ba0dc = _0x452847, _0x5e3692 = _0x2086e4[_0x2ba0dc(0x2cd)][_0x2ba0dc(0x2cb)][_0x2ba0dc(0x243)]('content-type') ?? _0x2ba0dc(0x1a8), _0x1bc470 = _0x2086e4[_0x2ba0dc(0x232)][_0x2ba0dc(0x255)]()[_0x2ba0dc(_0x2aa3eb._0x9c8dca)](/\s+/g, '\x20')['slice'](0x0, 0x78) || _0x2ba0dc(_0x2aa3eb._0x5869c3);
|
|
459
|
+
return _0x2ba0dc(_0x2aa3eb._0x566ab0) + _0x2086e4['requestUrl'] + '\x20返回了非\x20JSON\x20响应(status=' + _0x2086e4['response']['status'] + _0x2ba0dc(_0x2aa3eb._0x291b1c) + _0x5e3692 + _0x2ba0dc(_0x2aa3eb._0x2fbdde) + _0x1bc470 + ')。这通常表示\x20serverUrl\x20指向了\x20web\x20站点,或代理没有把\x20daemon/internal\x20API\x20转发到后端。';
|
|
455
460
|
}
|
|
456
|
-
async function
|
|
457
|
-
const
|
|
458
|
-
if (!
|
|
461
|
+
async function _0x41fd2e(_0x11193a, _0xb6bcdf) {
|
|
462
|
+
const _0x225644 = _0x452847, _0x409e4f = Buffer[_0x225644(0x1d3)](await _0xb6bcdf[_0x225644(_0x56fd75._0x1a2155)]())['toString'](_0x225644(0x2c4));
|
|
463
|
+
if (!_0x409e4f[_0x225644(_0x56fd75._0x288444)]())
|
|
459
464
|
return {};
|
|
460
465
|
try {
|
|
461
|
-
return JSON[
|
|
466
|
+
return JSON[_0x225644(0x26c)](_0x409e4f);
|
|
462
467
|
} catch {
|
|
463
|
-
throw new Error(
|
|
464
|
-
'bodyText':
|
|
465
|
-
'requestUrl':
|
|
466
|
-
'response':
|
|
468
|
+
throw new Error(_0x17be70({
|
|
469
|
+
'bodyText': _0x409e4f,
|
|
470
|
+
'requestUrl': _0x11193a,
|
|
471
|
+
'response': _0xb6bcdf
|
|
467
472
|
}));
|
|
468
473
|
}
|
|
469
474
|
}
|
|
470
|
-
function
|
|
471
|
-
const
|
|
472
|
-
if (
|
|
473
|
-
return
|
|
474
|
-
const
|
|
475
|
-
for (const [
|
|
476
|
-
|
|
475
|
+
function _0x43ab40(_0x3b2974, _0x279cd6) {
|
|
476
|
+
const _0x47fe1e = _0x452847, _0x1ba39e = typeof _0x279cd6[_0x47fe1e(_0x240fae._0x2b1938)] === _0x47fe1e(0x2e2) ? _0x279cd6['idempotency_key'][_0x47fe1e(0x255)]() : '';
|
|
477
|
+
if (_0x1ba39e)
|
|
478
|
+
return _0x1ba39e;
|
|
479
|
+
const _0x4f5a60 = Date[_0x47fe1e(0x1fb)]();
|
|
480
|
+
for (const [_0xf4b4dc, _0x4209fe] of _0x3b37f3) {
|
|
481
|
+
_0x4209fe[_0x47fe1e(_0x240fae._0x1ed9a1)] <= _0x4f5a60 && _0x3b37f3[_0x47fe1e(_0x240fae._0x3fa865)](_0xf4b4dc);
|
|
477
482
|
}
|
|
478
|
-
const
|
|
479
|
-
...
|
|
483
|
+
const _0x58d6af = {
|
|
484
|
+
..._0x279cd6,
|
|
480
485
|
'idempotency_key': void 0x0
|
|
481
|
-
},
|
|
482
|
-
if (
|
|
483
|
-
return
|
|
484
|
-
const
|
|
485
|
-
return
|
|
486
|
-
'expiresAt':
|
|
487
|
-
'value':
|
|
488
|
-
}),
|
|
486
|
+
}, _0x282018 = createHash(_0x47fe1e(0x241))['update'](_0x3b2974 + ':' + stableStringify(_0x58d6af))['digest'](_0x47fe1e(0x2aa)), _0x33c4d8 = _0x3b2974 + ':' + _0x282018, _0x3abae0 = _0x3b37f3[_0x47fe1e(0x243)](_0x33c4d8);
|
|
487
|
+
if (_0x3abae0)
|
|
488
|
+
return _0x3abae0[_0x47fe1e(0x28e)];
|
|
489
|
+
const _0x29ec24 = _0x47fe1e(_0x240fae._0x52a9a1) + _0x3b2974 + ':' + randomUUID();
|
|
490
|
+
return _0x3b37f3[_0x47fe1e(0x171)](_0x33c4d8, {
|
|
491
|
+
'expiresAt': _0x4f5a60 + 0x5 * 0x3c * 0x3e8,
|
|
492
|
+
'value': _0x29ec24
|
|
493
|
+
}), _0x29ec24;
|
|
489
494
|
}
|
|
490
|
-
async function
|
|
491
|
-
const
|
|
495
|
+
async function _0x1e2419(_0x26f9c3, _0x2862c7) {
|
|
496
|
+
const _0x9aeb67 = _0x452847, _0x1786b0 = new AbortController(), _0x157a0e = setTimeout(() => _0x1786b0[_0x9aeb67(0x28c)](), _0x17af24), _0x1ce8f2 = _0x2862c7?.[_0x9aeb67(0x1db)] ? anySignal(_0x2862c7[_0x9aeb67(0x1db)], _0x1786b0[_0x9aeb67(0x1db)]) : _0x1786b0[_0x9aeb67(_0xae2a55._0x4fa9b8)], _0x548562 = '' + _0x2e77b9 + _0x26f9c3;
|
|
492
497
|
try {
|
|
493
|
-
const
|
|
494
|
-
...
|
|
495
|
-
'signal':
|
|
496
|
-
}),
|
|
497
|
-
if (!
|
|
498
|
-
throw new Error(asErrorMessage(
|
|
499
|
-
return
|
|
498
|
+
const _0x1ea7e7 = await _0x2d31a6(_0x548562, {
|
|
499
|
+
..._0x2862c7,
|
|
500
|
+
'signal': _0x1ce8f2
|
|
501
|
+
}), _0x429fb3 = await _0x41fd2e(_0x548562, _0x1ea7e7);
|
|
502
|
+
if (!_0x1ea7e7['ok'] || _0x429fb3[_0x9aeb67(0x1c9)] === ![])
|
|
503
|
+
throw new Error(asErrorMessage(_0x429fb3['error'], _0x9aeb67(_0xae2a55._0x504e51) + _0x1ea7e7[_0x9aeb67(_0xae2a55._0x290a97)]));
|
|
504
|
+
return _0x429fb3;
|
|
500
505
|
} finally {
|
|
501
|
-
clearTimeout(
|
|
506
|
+
clearTimeout(_0x157a0e);
|
|
502
507
|
}
|
|
503
508
|
}
|
|
504
|
-
async function
|
|
505
|
-
const
|
|
509
|
+
async function _0x29aa9c(_0x375dc8, _0x452856) {
|
|
510
|
+
const _0x357df5 = _0x452847, _0x299ea9 = new AbortController(), _0x59663e = setTimeout(() => _0x299ea9[_0x357df5(0x28c)](), _0x17af24), _0xb9abcd = _0x452856?.['signal'] ? anySignal(_0x452856[_0x357df5(_0x44e1f0._0x6a17d2)], _0x299ea9[_0x357df5(0x1db)]) : _0x299ea9['signal'], _0x26e2d2 = '' + _0x2e77b9 + _0x375dc8;
|
|
506
511
|
try {
|
|
507
|
-
const
|
|
508
|
-
...
|
|
509
|
-
'signal':
|
|
510
|
-
}),
|
|
511
|
-
if (!
|
|
512
|
-
throw new Error(asErrorMessage(
|
|
513
|
-
return
|
|
512
|
+
const _0x315519 = await _0x2d31a6(_0x26e2d2, {
|
|
513
|
+
..._0x452856,
|
|
514
|
+
'signal': _0xb9abcd
|
|
515
|
+
}), _0x384212 = await _0x41fd2e(_0x26e2d2, _0x315519);
|
|
516
|
+
if (!_0x315519['ok'])
|
|
517
|
+
throw new Error(asErrorMessage(_0x384212[_0x357df5(_0x44e1f0._0x5953eb)], _0x357df5(_0x44e1f0._0x4560cd) + _0x315519['status']));
|
|
518
|
+
return _0x384212;
|
|
514
519
|
} finally {
|
|
515
|
-
clearTimeout(
|
|
520
|
+
clearTimeout(_0x59663e);
|
|
516
521
|
}
|
|
517
522
|
}
|
|
518
|
-
async function
|
|
519
|
-
const
|
|
520
|
-
if (!
|
|
523
|
+
async function _0x537eb7(_0x655f13) {
|
|
524
|
+
const _0x1a8bc4 = _0x452847;
|
|
525
|
+
if (!_0x10d26d || _0x655f13 <= _0x2d2f75)
|
|
521
526
|
return;
|
|
522
|
-
await
|
|
523
|
-
'body': JSON[
|
|
524
|
-
'headers':
|
|
525
|
-
'method':
|
|
526
|
-
}),
|
|
527
|
+
await _0x1e2419(_0x1a8bc4(0x2c2) + encodeURIComponent(_0x10d26d) + _0x1a8bc4(_0x2c165f._0xfaa68e), {
|
|
528
|
+
'body': JSON[_0x1a8bc4(0x29e)]({ 'lastSeenSeq': _0x655f13 }),
|
|
529
|
+
'headers': _0x132ecd,
|
|
530
|
+
'method': _0x1a8bc4(0x21e)
|
|
531
|
+
}), _0x2d2f75 = _0x655f13;
|
|
527
532
|
}
|
|
528
|
-
async function
|
|
529
|
-
const
|
|
530
|
-
if (!
|
|
533
|
+
async function _0x382984(_0x1d1283) {
|
|
534
|
+
const _0x46de29 = _0x452847;
|
|
535
|
+
if (!_0x1bf6fb || !_0x5c3fb4 || _0x1d1283 <= _0x2d2f75)
|
|
531
536
|
return;
|
|
532
|
-
const
|
|
533
|
-
'body': JSON[
|
|
534
|
-
'last_seen_seq':
|
|
535
|
-
'worker_session_id':
|
|
537
|
+
const _0x461e04 = await _0x2d31a6(_0x1bf6fb + _0x46de29(_0x41cfc8._0x2b5a6d), {
|
|
538
|
+
'body': JSON['stringify']({
|
|
539
|
+
'last_seen_seq': _0x1d1283,
|
|
540
|
+
'worker_session_id': _0x5c3fb4
|
|
536
541
|
}),
|
|
537
542
|
'headers': { 'Content-Type': 'application/json' },
|
|
538
|
-
'method':
|
|
543
|
+
'method': _0x46de29(0x2a0)
|
|
539
544
|
});
|
|
540
|
-
if (!
|
|
541
|
-
throw new Error(
|
|
542
|
-
|
|
545
|
+
if (!_0x461e04['ok'])
|
|
546
|
+
throw new Error(_0x46de29(0x1cc) + _0x461e04[_0x46de29(0x2b0)]);
|
|
547
|
+
_0x2d2f75 = _0x1d1283;
|
|
543
548
|
}
|
|
544
|
-
async function
|
|
545
|
-
const
|
|
546
|
-
'body': JSON[
|
|
547
|
-
'headers':
|
|
548
|
-
'method':
|
|
549
|
+
async function _0x8ac170(_0x509d1e) {
|
|
550
|
+
const _0x40455b = _0x452847, _0x377bc0 = parseTarget(_0x509d1e), _0x1a0642 = await _0x1e2419(_0x40455b(0x1a7) + _0x5346d1['agentId'] + _0x40455b(_0x32c940._0x40af52), {
|
|
551
|
+
'body': JSON[_0x40455b(_0x32c940._0x302d87)]({ 'target': _0x377bc0[_0x40455b(_0x32c940._0x3c1b9e)] }),
|
|
552
|
+
'headers': _0x132ecd,
|
|
553
|
+
'method': 'POST'
|
|
549
554
|
});
|
|
550
555
|
return {
|
|
551
|
-
'channelId':
|
|
552
|
-
'target':
|
|
553
|
-
'task':
|
|
554
|
-
'threadId':
|
|
555
|
-
'threadNumber':
|
|
556
|
+
'channelId': _0x1a0642[_0x40455b(_0x32c940._0x4cdab2)]?.[_0x40455b(0x212)] ?? '',
|
|
557
|
+
'target': _0x377bc0[_0x40455b(_0x32c940._0x446b2b)],
|
|
558
|
+
'task': _0x1a0642[_0x40455b(0x1c4)]?.['task'],
|
|
559
|
+
'threadId': _0x1a0642['data']?.[_0x40455b(0x29a)],
|
|
560
|
+
'threadNumber': _0x1a0642[_0x40455b(0x1c4)]?.[_0x40455b(_0x32c940._0x5e82a0)]
|
|
556
561
|
};
|
|
557
562
|
}
|
|
558
|
-
async function
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
563
|
+
async function _0x518709(_0x4be89e = {}) {
|
|
564
|
+
const _0x6322f = {
|
|
565
|
+
_0x2f8acf: 0x1a7,
|
|
566
|
+
_0xdb5794: 0x1c4,
|
|
567
|
+
_0x53a32d: 0x209,
|
|
568
|
+
_0x4cecaf: 0x29b,
|
|
569
|
+
_0x38eac7: 0x174,
|
|
570
|
+
_0x5bc9a8: 0x174,
|
|
571
|
+
_0x40da9a: 0x2a8,
|
|
572
|
+
_0x1f7186: 0x197,
|
|
573
|
+
_0x164c28: 0x195
|
|
574
|
+
}, _0x569449 = _0x452847;
|
|
575
|
+
if (!_0x4be89e[_0x569449(_0x592e39._0x2031f0)] && _0x48499c)
|
|
576
|
+
return _0x48499c;
|
|
577
|
+
return _0x48499c = (async () => {
|
|
578
|
+
const _0x1bc0f5 = _0x569449, _0x4e0703 = await _0x1e2419(_0x1bc0f5(_0x6322f._0x2f8acf) + _0x5346d1[_0x1bc0f5(0x1f7)] + _0x1bc0f5(0x18b), {
|
|
579
|
+
'headers': _0x132ecd,
|
|
580
|
+
'method': _0x1bc0f5(0x282)
|
|
581
|
+
}), _0xcdddf5 = _0x4e0703[_0x1bc0f5(_0x6322f._0xdb5794)]?.[_0x1bc0f5(_0x6322f._0x53a32d)] ?? [], _0x50e27a = _0xcdddf5['filter'](_0x489de5 => _0x489de5['participant']?.[_0x1bc0f5(0x286)] === 'agent')[_0x1bc0f5(_0x6322f._0x4cecaf)](_0x1948c0 => ({
|
|
582
|
+
'id': _0x5a4cd0(_0x1948c0),
|
|
583
|
+
'name': _0x37afd0(_0x1948c0)
|
|
584
|
+
}))[_0x1bc0f5(_0x6322f._0x38eac7)](_0x35b3ea => _0x35b3ea['id']), _0x4e9e05 = _0xcdddf5[_0x1bc0f5(0x174)](_0x5ef7d0 => _0x5ef7d0[_0x1bc0f5(0x1fe)]?.['type'] !== _0x1bc0f5(0x20c))[_0x1bc0f5(0x29b)](_0x1a2865 => ({
|
|
585
|
+
'id': _0x5a4cd0(_0x1a2865),
|
|
586
|
+
'name': _0x37afd0(_0x1a2865)
|
|
587
|
+
}))[_0x1bc0f5(_0x6322f._0x5bc9a8)](_0x656f => _0x656f['id']), _0x4cbeaa = _0x4e0703[_0x1bc0f5(0x1c4)]?.[_0x1bc0f5(_0x6322f._0x40da9a)]['id'] ?? '';
|
|
572
588
|
return {
|
|
573
|
-
'agents':
|
|
574
|
-
'channels':
|
|
575
|
-
'humans':
|
|
576
|
-
'serverId':
|
|
577
|
-
'serverName':
|
|
589
|
+
'agents': _0x50e27a,
|
|
590
|
+
'channels': _0x4e0703[_0x1bc0f5(_0x6322f._0xdb5794)]?.[_0x1bc0f5(_0x6322f._0x1f7186)] ?? [],
|
|
591
|
+
'humans': _0x4e9e05,
|
|
592
|
+
'serverId': _0x4cbeaa,
|
|
593
|
+
'serverName': _0x4e0703[_0x1bc0f5(0x1c4)]?.[_0x1bc0f5(0x2a8)][_0x1bc0f5(_0x6322f._0x164c28)] ?? _0x4cbeaa
|
|
578
594
|
};
|
|
579
|
-
})()[
|
|
580
|
-
|
|
581
|
-
throw
|
|
582
|
-
}),
|
|
595
|
+
})()[_0x569449(0x24c)](_0x18654c => {
|
|
596
|
+
_0x48499c = null;
|
|
597
|
+
throw _0x18654c;
|
|
598
|
+
}), _0x48499c;
|
|
583
599
|
}
|
|
584
|
-
function
|
|
585
|
-
const
|
|
586
|
-
return
|
|
600
|
+
function _0x41e9fa(_0x3c9b4c, _0xa0aeac) {
|
|
601
|
+
const _0x2f203b = _0x452847;
|
|
602
|
+
return _0xa0aeac[_0x2f203b(0x2a4)]['some'](_0x533180 => _0x533180['id'] === _0x3c9b4c || _0x533180['name'] === _0x3c9b4c) ? _0x2f203b(_0x4bd80c._0xafe741) : _0x2f203b(0x1d6);
|
|
587
603
|
}
|
|
588
|
-
function
|
|
589
|
-
const
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
if (_0x52a3f4[_0x43294d(0x12c)])
|
|
595
|
-
return _0x52a3f4[_0x43294d(0x260)] + ':' + _0x52a3f4[_0x43294d(0x12c)][_0x43294d(0x192)](0x0, 0x8);
|
|
596
|
-
return _0x52a3f4[_0x43294d(0x260)];
|
|
604
|
+
function _0x564900(_0x3857ea, _0x5aa594) {
|
|
605
|
+
const _0x26e89c = _0x452847, _0x3976e9 = [
|
|
606
|
+
..._0x5aa594['agents'],
|
|
607
|
+
..._0x5aa594[_0x26e89c(_0x32bcf1._0x183caf)]
|
|
608
|
+
][_0x26e89c(_0x32bcf1._0x2e2a34)](_0x443c4c => _0x443c4c['id'] === _0x3857ea);
|
|
609
|
+
return _0x3976e9?.['name'] ?? _0x3857ea;
|
|
597
610
|
}
|
|
598
|
-
function
|
|
599
|
-
const
|
|
611
|
+
function _0x2b8b48(_0x3fe31f) {
|
|
612
|
+
const _0x56e54d = _0x452847;
|
|
613
|
+
if (_0x3fe31f[_0x56e54d(0x1f6)] != null)
|
|
614
|
+
return _0x3fe31f[_0x56e54d(0x26d)] + ':t' + _0x3fe31f[_0x56e54d(_0x48873a._0x38165e)];
|
|
615
|
+
if (_0x3fe31f[_0x56e54d(0x178)])
|
|
616
|
+
return _0x3fe31f[_0x56e54d(_0x48873a._0x5223ea)] + ':' + _0x3fe31f['rootMessageId'];
|
|
617
|
+
if (_0x3fe31f[_0x56e54d(_0x48873a._0x4c2fba)])
|
|
618
|
+
return _0x3fe31f['channelTarget'] + ':' + _0x3fe31f[_0x56e54d(_0x48873a._0x4c2fba)][_0x56e54d(0x189)](0x0, 0x8);
|
|
619
|
+
return _0x3fe31f['channelTarget'];
|
|
620
|
+
}
|
|
621
|
+
function _0x14f5a3(_0x3b7a68, _0x48ce60) {
|
|
622
|
+
const _0x3fcb69 = _0x452847;
|
|
600
623
|
try {
|
|
601
|
-
const
|
|
602
|
-
if (
|
|
624
|
+
const _0x42cd66 = parseTarget(_0x3b7a68);
|
|
625
|
+
if (_0x42cd66[_0x3fcb69(0x257)] !== _0x3fcb69(_0x148118._0x5eee3e) || _0x42cd66['channelTarget'] !== _0x48ce60[_0x3fcb69(0x26d)])
|
|
603
626
|
return ![];
|
|
604
|
-
if (
|
|
627
|
+
if (_0x48ce60[_0x3fcb69(_0x148118._0x37cf04)] != null && _0x42cd66['threadShortId'] === 't' + _0x48ce60['threadNumber'])
|
|
605
628
|
return !![];
|
|
606
|
-
if (
|
|
607
|
-
return
|
|
608
|
-
if (
|
|
609
|
-
return
|
|
629
|
+
if (_0x48ce60[_0x3fcb69(0x178)])
|
|
630
|
+
return _0x42cd66[_0x3fcb69(_0x148118._0x26612a)] === _0x48ce60[_0x3fcb69(_0x148118._0x7f8bae)] || _0x48ce60[_0x3fcb69(_0x148118._0x791088)][_0x3fcb69(_0x148118._0x48d78d)](_0x42cd66[_0x3fcb69(0x214)]);
|
|
631
|
+
if (_0x48ce60['threadId'])
|
|
632
|
+
return _0x42cd66[_0x3fcb69(0x214)] === _0x48ce60['threadId'] || _0x48ce60[_0x3fcb69(0x29a)][_0x3fcb69(0x260)](_0x42cd66[_0x3fcb69(0x214)]);
|
|
610
633
|
return ![];
|
|
611
634
|
} catch {
|
|
612
635
|
return ![];
|
|
613
636
|
}
|
|
614
637
|
}
|
|
615
|
-
function
|
|
616
|
-
const
|
|
638
|
+
function _0x5405d3(_0x279bac, _0x310574) {
|
|
639
|
+
const _0x58dce2 = _0x452847;
|
|
617
640
|
try {
|
|
618
|
-
const
|
|
619
|
-
if (
|
|
641
|
+
const _0x573265 = parseTarget(_0x279bac);
|
|
642
|
+
if (_0x573265[_0x58dce2(0x257)] !== 'thread')
|
|
620
643
|
return ![];
|
|
621
|
-
const
|
|
622
|
-
if (
|
|
644
|
+
const _0x439047 = typeof _0x310574[_0x58dce2(_0x1e3ab4._0x2c8f01)] === _0x58dce2(_0x1e3ab4._0x40197e) && Number['isInteger'](_0x310574[_0x58dce2(_0x1e3ab4._0x2c8f01)]) ? _0x310574[_0x58dce2(_0x1e3ab4._0x2c8f01)] : void 0x0;
|
|
645
|
+
if (_0x439047 != null && _0x573265[_0x58dce2(_0x1e3ab4._0x1dd96d)] === 't' + _0x439047)
|
|
623
646
|
return !![];
|
|
624
|
-
const
|
|
625
|
-
if (
|
|
626
|
-
return
|
|
627
|
-
const
|
|
628
|
-
return Boolean(
|
|
647
|
+
const _0x27e249 = typeof _0x310574[_0x58dce2(0x178)] === _0x58dce2(_0x1e3ab4._0x48122a) ? _0x310574['rootMessageId'] : void 0x0;
|
|
648
|
+
if (_0x27e249)
|
|
649
|
+
return _0x573265[_0x58dce2(_0x1e3ab4._0x2ebbd6)] === _0x27e249 || _0x27e249[_0x58dce2(_0x1e3ab4._0x4caf7a)](_0x573265[_0x58dce2(0x214)]);
|
|
650
|
+
const _0x102677 = typeof _0x310574['threadId'] === _0x58dce2(0x2e2) ? _0x310574[_0x58dce2(_0x1e3ab4._0x163e1e)] : void 0x0;
|
|
651
|
+
return Boolean(_0x102677) && (_0x573265[_0x58dce2(_0x1e3ab4._0x18c8ca)] === _0x102677 || _0x102677[_0x58dce2(_0x1e3ab4._0x57d427)](_0x573265[_0x58dce2(_0x1e3ab4._0x1dd96d)]));
|
|
629
652
|
} catch {
|
|
630
653
|
return ![];
|
|
631
654
|
}
|
|
632
655
|
}
|
|
633
|
-
function
|
|
634
|
-
const
|
|
635
|
-
return
|
|
656
|
+
function _0x5a4cd0(_0x4874ed) {
|
|
657
|
+
const _0x16f944 = _0x452847;
|
|
658
|
+
return _0x4874ed[_0x16f944(0x2d9)]?.[_0x16f944(0x15b)] ?? _0x4874ed['participant']?.['id'] ?? _0x4874ed[_0x16f944(0x15b)] ?? '';
|
|
636
659
|
}
|
|
637
|
-
function
|
|
638
|
-
const
|
|
639
|
-
return
|
|
660
|
+
function _0x37afd0(_0x34eb6b) {
|
|
661
|
+
const _0x32ad4a = _0x452847;
|
|
662
|
+
return _0x34eb6b[_0x32ad4a(0x1fe)]?.['name'] ?? _0x5a4cd0(_0x34eb6b);
|
|
640
663
|
}
|
|
641
|
-
async function
|
|
642
|
-
const
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
const
|
|
648
|
-
'headers':
|
|
649
|
-
'method':
|
|
650
|
-
}),
|
|
651
|
-
'attachments': (
|
|
652
|
-
'filename':
|
|
653
|
-
'id':
|
|
664
|
+
async function _0x25f684(_0xac1ac3) {
|
|
665
|
+
const _0x100515 = _0x452847, _0x5b1e84 = Math[_0x100515(0x19f)](_0xac1ac3[_0x100515(_0x332b0d._0x52f7d0)] ?? 0x32, 0x64), _0x588306 = await _0x518709(), _0x48a080 = new URLSearchParams();
|
|
666
|
+
_0x48a080[_0x100515(_0x332b0d._0x30c137)]('limit', String(_0x5b1e84));
|
|
667
|
+
_0xac1ac3['threadId'] ? (_0x48a080['set']('threadId', _0xac1ac3[_0x100515(0x29a)]), _0x48a080['set']('channelId', _0xac1ac3[_0x100515(0x212)])) : _0x48a080['set'](_0x100515(_0x332b0d._0xaada83), _0xac1ac3[_0x100515(_0x332b0d._0x541df5)]);
|
|
668
|
+
_0xac1ac3[_0x100515(0x1c3)] && _0x48a080[_0x100515(0x171)]('cursor', String(_0xac1ac3[_0x100515(0x1c3)]));
|
|
669
|
+
_0xac1ac3[_0x100515(0x20e)] !== void 0x0 && _0x48a080[_0x100515(0x171)](_0x100515(0x20e), String(_0xac1ac3[_0x100515(0x20e)]));
|
|
670
|
+
const _0x4351c6 = await _0x1e2419('/internal/agent/' + _0x5346d1[_0x100515(0x1f7)] + '/history?' + _0x48a080[_0x100515(0x159)](), {
|
|
671
|
+
'headers': _0x132ecd,
|
|
672
|
+
'method': _0x100515(0x282)
|
|
673
|
+
}), _0xbe03c4 = (_0x4351c6[_0x100515(_0x332b0d._0x115965)] ?? [])[_0x100515(_0x332b0d._0x338299)](_0x3ded1d => ({
|
|
674
|
+
'attachments': (_0x3ded1d['attachments'] ?? [])['map'](_0x1051a0 => ({
|
|
675
|
+
'filename': _0x1051a0[_0x100515(0x1dd)] ?? _0x1051a0['id'],
|
|
676
|
+
'id': _0x1051a0['id']
|
|
654
677
|
})),
|
|
655
|
-
'content':
|
|
656
|
-
'createdAt':
|
|
657
|
-
...
|
|
658
|
-
'messageId':
|
|
659
|
-
'senderName':
|
|
660
|
-
'senderType':
|
|
661
|
-
'seq':
|
|
678
|
+
'content': _0x3ded1d[_0x100515(0x270)] ?? '',
|
|
679
|
+
'createdAt': _0x3ded1d[_0x100515(0x253)],
|
|
680
|
+
..._0x3ded1d['kind'] && _0x3ded1d[_0x100515(0x257)] !== _0x100515(0x160) ? { 'kind': _0x3ded1d[_0x100515(0x257)] } : {},
|
|
681
|
+
'messageId': _0x3ded1d['id'],
|
|
682
|
+
'senderName': _0x564900(_0x3ded1d[_0x100515(0x2d1)], _0x588306),
|
|
683
|
+
'senderType': _0x41e9fa(_0x3ded1d[_0x100515(0x2d1)], _0x588306),
|
|
684
|
+
'seq': _0x3ded1d[_0x100515(0x1ea)] ?? 0x0
|
|
662
685
|
}));
|
|
663
686
|
return {
|
|
664
|
-
'channel':
|
|
665
|
-
'hasMore':
|
|
666
|
-
'messages':
|
|
667
|
-
'nextCursor':
|
|
687
|
+
'channel': _0xac1ac3[_0x100515(0x26d)],
|
|
688
|
+
'hasMore': _0x4351c6[_0x100515(_0x332b0d._0x2ab4be)]?.['hasMore'] ?? ![],
|
|
689
|
+
'messages': _0xbe03c4,
|
|
690
|
+
'nextCursor': _0x4351c6[_0x100515(_0x332b0d._0x2ab4be)]?.[_0x100515(_0x332b0d._0xafc3c0)]
|
|
668
691
|
};
|
|
669
692
|
}
|
|
670
693
|
return {
|
|
671
|
-
async 'sendMessage'(
|
|
672
|
-
const
|
|
673
|
-
'body': JSON[
|
|
674
|
-
'attachment_ids':
|
|
675
|
-
'bodyMarkdown':
|
|
676
|
-
'channelId':
|
|
677
|
-
...
|
|
678
|
-
'threadId':
|
|
679
|
-
...
|
|
694
|
+
async 'sendMessage'(_0x3f7302) {
|
|
695
|
+
const _0x3c6623 = _0x452847, _0x63d401 = await _0x8ac170(_0x3f7302['target']), _0x42e14c = _0x3f7302[_0x3c6623(0x25f)][_0x3c6623(0x18a)]('@') ? extractMentionedParticipantIds(_0x3f7302[_0x3c6623(_0x4ff413._0x13d3bf)], await _0x518709()) : [], _0x1c9035 = await _0x1e2419(_0x3c6623(_0x4ff413._0x424ecf) + _0x5346d1[_0x3c6623(_0x4ff413._0x194000)] + _0x3c6623(0x2c6), {
|
|
696
|
+
'body': JSON[_0x3c6623(0x29e)]({
|
|
697
|
+
'attachment_ids': _0x3f7302[_0x3c6623(0x28b)],
|
|
698
|
+
'bodyMarkdown': _0x3f7302['content'],
|
|
699
|
+
'channelId': _0x63d401[_0x3c6623(_0x4ff413._0x57d296)],
|
|
700
|
+
..._0x42e14c[_0x3c6623(_0x4ff413._0x3eef56)] > 0x0 ? { 'mentionedParticipantIds': _0x42e14c } : {},
|
|
701
|
+
'threadId': _0x63d401[_0x3c6623(0x29a)],
|
|
702
|
+
..._0x3f7302[_0x3c6623(_0x4ff413._0x3d7eca)] ? { 'visibility': _0x3f7302[_0x3c6623(_0x4ff413._0x4e984f)] } : {}
|
|
680
703
|
}),
|
|
681
|
-
'headers':
|
|
682
|
-
'method':
|
|
704
|
+
'headers': _0x132ecd,
|
|
705
|
+
'method': _0x3c6623(_0x4ff413._0x4db353)
|
|
683
706
|
});
|
|
684
|
-
return { 'messageId':
|
|
707
|
+
return { 'messageId': _0x1c9035['data']?.['id'] ?? '' };
|
|
685
708
|
},
|
|
686
709
|
async 'listSchedules'() {
|
|
687
|
-
const
|
|
688
|
-
'headers':
|
|
710
|
+
const _0x30a07d = _0x452847, _0x216702 = await _0x1e2419(_0x30a07d(0x297), {
|
|
711
|
+
'headers': _0x132ecd,
|
|
689
712
|
'method': 'GET'
|
|
690
713
|
});
|
|
691
|
-
return
|
|
714
|
+
return _0x216702['data'] ?? [];
|
|
692
715
|
},
|
|
693
|
-
async 'claimScheduleRun'(
|
|
694
|
-
const
|
|
695
|
-
'body': JSON[
|
|
696
|
-
'headers':
|
|
697
|
-
'method':
|
|
716
|
+
async 'claimScheduleRun'(_0xcb32a7) {
|
|
717
|
+
const _0x4ac040 = _0x452847, _0x2063c9 = await _0x1e2419(_0x4ac040(_0x44965f._0x279ccf), {
|
|
718
|
+
'body': JSON['stringify'](_0xcb32a7),
|
|
719
|
+
'headers': _0x132ecd,
|
|
720
|
+
'method': 'POST'
|
|
698
721
|
});
|
|
699
|
-
return
|
|
722
|
+
return _0x2063c9[_0x4ac040(0x1c4)] ?? {
|
|
700
723
|
'granted': ![],
|
|
701
724
|
'runId': null,
|
|
702
725
|
'schedule': null,
|
|
703
|
-
'scheduledFor':
|
|
726
|
+
'scheduledFor': _0xcb32a7[_0x4ac040(_0x44965f._0xba4b3f)]
|
|
704
727
|
};
|
|
705
728
|
},
|
|
706
|
-
async 'startScheduleRun'(
|
|
707
|
-
const
|
|
708
|
-
'body': JSON[
|
|
709
|
-
'headers':
|
|
710
|
-
'method':
|
|
729
|
+
async 'startScheduleRun'(_0x42172d) {
|
|
730
|
+
const _0x157611 = _0x452847, _0x5a02b8 = await _0x1e2419(_0x157611(0x223) + encodeURIComponent(_0x42172d[_0x157611(_0x2bef0f._0x40bf27)]) + _0x157611(_0x2bef0f._0x321eb0), {
|
|
731
|
+
'body': JSON[_0x157611(0x29e)]({}),
|
|
732
|
+
'headers': _0x132ecd,
|
|
733
|
+
'method': 'POST'
|
|
711
734
|
});
|
|
712
|
-
return
|
|
735
|
+
return _0x5a02b8['data'] ?? {
|
|
713
736
|
'claimedByDaemonId': '',
|
|
714
|
-
'id':
|
|
737
|
+
'id': _0x42172d[_0x157611(_0x2bef0f._0x4ac118)],
|
|
715
738
|
'scheduleId': '',
|
|
716
|
-
'status':
|
|
739
|
+
'status': _0x157611(_0x2bef0f._0x541fa7)
|
|
717
740
|
};
|
|
718
741
|
},
|
|
719
|
-
async 'finishScheduleRun'(
|
|
720
|
-
const
|
|
721
|
-
'body': JSON[
|
|
722
|
-
'error':
|
|
723
|
-
'resultJson':
|
|
724
|
-
'status':
|
|
742
|
+
async 'finishScheduleRun'(_0x54451e) {
|
|
743
|
+
const _0x52b989 = _0x452847, _0x465ca4 = await _0x1e2419(_0x52b989(0x223) + encodeURIComponent(_0x54451e[_0x52b989(0x1a0)]) + _0x52b989(_0x539e03._0x3ea7e4), {
|
|
744
|
+
'body': JSON['stringify']({
|
|
745
|
+
'error': _0x54451e[_0x52b989(_0x539e03._0x350958)],
|
|
746
|
+
'resultJson': _0x54451e['resultJson'],
|
|
747
|
+
'status': _0x54451e[_0x52b989(_0x539e03._0x273667)]
|
|
725
748
|
}),
|
|
726
|
-
'headers':
|
|
727
|
-
'method':
|
|
749
|
+
'headers': _0x132ecd,
|
|
750
|
+
'method': _0x52b989(0x2a0)
|
|
728
751
|
});
|
|
729
|
-
return
|
|
752
|
+
return _0x465ca4[_0x52b989(_0x539e03._0x1686f5)] ?? {
|
|
730
753
|
'nextRunAt': null,
|
|
731
754
|
'run': {
|
|
732
755
|
'claimedByDaemonId': '',
|
|
733
|
-
'id':
|
|
756
|
+
'id': _0x54451e[_0x52b989(0x1a0)],
|
|
734
757
|
'scheduleId': '',
|
|
735
|
-
'status':
|
|
758
|
+
'status': _0x54451e['status']
|
|
736
759
|
}
|
|
737
760
|
};
|
|
738
761
|
},
|
|
739
|
-
async 'listTasks'(
|
|
740
|
-
const
|
|
741
|
-
return
|
|
742
|
-
'headers':
|
|
743
|
-
'method':
|
|
762
|
+
async 'listTasks'(_0x4c51dc) {
|
|
763
|
+
const _0x2dff35 = _0x452847, _0x23540f = new URLSearchParams();
|
|
764
|
+
return _0x23540f[_0x2dff35(_0x55fe7c._0xbf8142)](_0x2dff35(0x2e0), _0x4c51dc['channel']), _0x4c51dc[_0x2dff35(_0x55fe7c._0x424b4e)] && _0x23540f['set'](_0x2dff35(0x2b0), _0x4c51dc[_0x2dff35(0x2b0)]), _0x29aa9c('/internal/agent/' + _0x5346d1[_0x2dff35(0x1f7)] + _0x2dff35(0x2ba) + _0x23540f['toString'](), {
|
|
765
|
+
'headers': _0x132ecd,
|
|
766
|
+
'method': 'GET'
|
|
744
767
|
});
|
|
745
768
|
},
|
|
746
|
-
async 'createTasks'(
|
|
747
|
-
const
|
|
748
|
-
return
|
|
749
|
-
'body': JSON[
|
|
750
|
-
...
|
|
751
|
-
'idempotency_key':
|
|
769
|
+
async 'createTasks'(_0x598dbe) {
|
|
770
|
+
const _0x4e3b9b = _0x452847;
|
|
771
|
+
return _0x29aa9c(_0x4e3b9b(0x1a7) + _0x5346d1[_0x4e3b9b(_0x450a91._0x492e1d)] + _0x4e3b9b(0x20d), {
|
|
772
|
+
'body': JSON['stringify']({
|
|
773
|
+
..._0x598dbe,
|
|
774
|
+
'idempotency_key': _0x43ab40(_0x4e3b9b(0x16e), _0x598dbe)
|
|
752
775
|
}),
|
|
753
|
-
'headers':
|
|
754
|
-
'method':
|
|
776
|
+
'headers': _0x132ecd,
|
|
777
|
+
'method': 'POST'
|
|
755
778
|
});
|
|
756
779
|
},
|
|
757
|
-
async 'claimTasks'(
|
|
758
|
-
const
|
|
759
|
-
return
|
|
760
|
-
'body': JSON[
|
|
761
|
-
...
|
|
762
|
-
'idempotency_key':
|
|
780
|
+
async 'claimTasks'(_0xcd5cdf) {
|
|
781
|
+
const _0x592f9d = _0x452847;
|
|
782
|
+
return _0x29aa9c(_0x592f9d(0x1a7) + _0x5346d1[_0x592f9d(0x1f7)] + '/tasks/claim', {
|
|
783
|
+
'body': JSON[_0x592f9d(_0x291f16._0x5d046a)]({
|
|
784
|
+
..._0xcd5cdf,
|
|
785
|
+
'idempotency_key': _0x43ab40(_0x592f9d(0x263), _0xcd5cdf)
|
|
763
786
|
}),
|
|
764
|
-
'headers':
|
|
765
|
-
'method':
|
|
787
|
+
'headers': _0x132ecd,
|
|
788
|
+
'method': _0x592f9d(_0x291f16._0x2fe737)
|
|
766
789
|
});
|
|
767
790
|
},
|
|
768
|
-
async 'unclaimTask'(
|
|
769
|
-
const
|
|
770
|
-
return
|
|
771
|
-
'body': JSON[
|
|
772
|
-
...
|
|
773
|
-
'idempotency_key':
|
|
791
|
+
async 'unclaimTask'(_0x26dd48) {
|
|
792
|
+
const _0x52cc13 = _0x452847;
|
|
793
|
+
return _0x29aa9c(_0x52cc13(_0x479a21._0x2f9b43) + _0x5346d1[_0x52cc13(0x1f7)] + _0x52cc13(0x271), {
|
|
794
|
+
'body': JSON[_0x52cc13(0x29e)]({
|
|
795
|
+
..._0x26dd48,
|
|
796
|
+
'idempotency_key': _0x43ab40(_0x52cc13(_0x479a21._0x550bc5), _0x26dd48)
|
|
774
797
|
}),
|
|
775
|
-
'headers':
|
|
776
|
-
'method':
|
|
798
|
+
'headers': _0x132ecd,
|
|
799
|
+
'method': _0x52cc13(_0x479a21._0x487851)
|
|
777
800
|
});
|
|
778
801
|
},
|
|
779
|
-
async 'updateTaskStatus'(
|
|
780
|
-
const
|
|
781
|
-
return
|
|
782
|
-
'body': JSON[
|
|
783
|
-
...
|
|
784
|
-
'idempotency_key':
|
|
802
|
+
async 'updateTaskStatus'(_0x208e62) {
|
|
803
|
+
const _0x4cdfaf = _0x452847;
|
|
804
|
+
return _0x29aa9c('/internal/agent/' + _0x5346d1['agentId'] + _0x4cdfaf(0x291), {
|
|
805
|
+
'body': JSON[_0x4cdfaf(0x29e)]({
|
|
806
|
+
..._0x208e62,
|
|
807
|
+
'idempotency_key': _0x43ab40(_0x4cdfaf(_0xe4893f._0x46d485), _0x208e62)
|
|
785
808
|
}),
|
|
786
|
-
'headers':
|
|
787
|
-
'method':
|
|
809
|
+
'headers': _0x132ecd,
|
|
810
|
+
'method': _0x4cdfaf(_0xe4893f._0x42285e)
|
|
788
811
|
});
|
|
789
812
|
},
|
|
790
|
-
async 'uploadFile'(
|
|
791
|
-
const
|
|
792
|
-
if (
|
|
793
|
-
throw new Error(
|
|
794
|
-
const
|
|
795
|
-
'body': JSON[
|
|
796
|
-
'channel':
|
|
797
|
-
'contentBase64':
|
|
798
|
-
'contentType':
|
|
799
|
-
'originalFilename':
|
|
813
|
+
async 'uploadFile'(_0x223ba5) {
|
|
814
|
+
const _0x3979a7 = _0x452847, _0x4a7503 = await _0x8ac170(_0x223ba5[_0x3979a7(0x2e0)]);
|
|
815
|
+
if (_0x4a7503['threadId'])
|
|
816
|
+
throw new Error(_0x3979a7(0x2ca));
|
|
817
|
+
const _0x2e128b = await _0x1e2419('/internal/agent/' + _0x5346d1[_0x3979a7(0x1f7)] + _0x3979a7(0x1df), {
|
|
818
|
+
'body': JSON['stringify']({
|
|
819
|
+
'channel': _0x4a7503[_0x3979a7(0x169)],
|
|
820
|
+
'contentBase64': _0x223ba5[_0x3979a7(0x1c8)],
|
|
821
|
+
'contentType': _0x223ba5['contentType'],
|
|
822
|
+
'originalFilename': _0x223ba5['filename']
|
|
800
823
|
}),
|
|
801
|
-
'headers':
|
|
802
|
-
'method':
|
|
824
|
+
'headers': _0x132ecd,
|
|
825
|
+
'method': _0x3979a7(0x2a0)
|
|
803
826
|
});
|
|
804
827
|
return {
|
|
805
|
-
'attachmentId':
|
|
806
|
-
'filename':
|
|
807
|
-
'sizeBytes':
|
|
828
|
+
'attachmentId': _0x2e128b[_0x3979a7(0x1c4)]?.['id'] ?? '',
|
|
829
|
+
'filename': _0x2e128b[_0x3979a7(_0x82d29c._0x165403)]?.[_0x3979a7(0x156)] ?? _0x223ba5[_0x3979a7(_0x82d29c._0x5b728a)],
|
|
830
|
+
'sizeBytes': _0x2e128b[_0x3979a7(_0x82d29c._0x165403)]?.['sizeBytes'] ?? 0x0
|
|
808
831
|
};
|
|
809
832
|
},
|
|
810
|
-
async 'downloadAttachment'(
|
|
811
|
-
const
|
|
812
|
-
'headers':
|
|
813
|
-
'method':
|
|
814
|
-
}),
|
|
833
|
+
async 'downloadAttachment'(_0x5a0ab2) {
|
|
834
|
+
const _0x2d200e = _0x452847, _0x2f56b8 = await _0x1e2419(_0x2d200e(_0x1fafec._0x33626b) + _0x5a0ab2, {
|
|
835
|
+
'headers': _0x132ecd,
|
|
836
|
+
'method': 'GET'
|
|
837
|
+
}), _0x17a8e8 = new AbortController(), _0x5ead63 = setTimeout(() => _0x17a8e8[_0x2d200e(0x28c)](), _0x17af24);
|
|
815
838
|
try {
|
|
816
|
-
const
|
|
817
|
-
'headers':
|
|
818
|
-
'method':
|
|
819
|
-
'signal':
|
|
839
|
+
const _0x44e703 = await _0x2d31a6(_0x2e77b9 + _0x2d200e(_0x1fafec._0x847581) + _0x5a0ab2 + _0x2d200e(0x295), {
|
|
840
|
+
'headers': _0x132ecd,
|
|
841
|
+
'method': 'GET',
|
|
842
|
+
'signal': _0x17a8e8[_0x2d200e(_0x1fafec._0xe76054)]
|
|
820
843
|
});
|
|
821
|
-
if (!
|
|
822
|
-
throw new Error(
|
|
844
|
+
if (!_0x44e703['ok'])
|
|
845
|
+
throw new Error(_0x2d200e(0x1cc) + _0x44e703[_0x2d200e(0x2b0)]);
|
|
823
846
|
return {
|
|
824
|
-
'contentType':
|
|
825
|
-
'data': Buffer[
|
|
826
|
-
'originalFilename':
|
|
847
|
+
'contentType': _0x2f56b8[_0x2d200e(0x1c4)]?.[_0x2d200e(0x224)] ?? _0x44e703['headers']['get'](_0x2d200e(0x21d)) ?? _0x2d200e(0x27b),
|
|
848
|
+
'data': Buffer[_0x2d200e(_0x1fafec._0x383358)](await _0x44e703[_0x2d200e(_0x1fafec._0x207a24)]()),
|
|
849
|
+
'originalFilename': _0x2f56b8['data']?.[_0x2d200e(_0x1fafec._0x40356a)]
|
|
827
850
|
};
|
|
828
851
|
} finally {
|
|
829
|
-
clearTimeout(
|
|
852
|
+
clearTimeout(_0x5ead63);
|
|
830
853
|
}
|
|
831
854
|
},
|
|
832
855
|
async 'listServer'() {
|
|
833
|
-
return
|
|
856
|
+
return _0x518709({ 'forceRefresh': !![] });
|
|
834
857
|
},
|
|
835
|
-
async '
|
|
836
|
-
const
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
858
|
+
async 'getLatestEventSeq'() {
|
|
859
|
+
const _0x402930 = _0x452847, _0x4e9cc0 = new URLSearchParams();
|
|
860
|
+
_0x4e9cc0[_0x402930(0x171)](_0x402930(0x213), '0'), _0x4e9cc0[_0x402930(_0x508a0._0xb988ad)](_0x402930(0x17f), '1');
|
|
861
|
+
const _0x260667 = await _0x1e2419('/internal/agent/' + _0x5346d1['agentId'] + _0x402930(0x1d2) + _0x4e9cc0['toString'](), {
|
|
862
|
+
'headers': _0x132ecd,
|
|
863
|
+
'method': _0x402930(0x282)
|
|
864
|
+
}), _0x4d490c = _0x260667[_0x402930(_0x508a0._0x7620b7)]?.[_0x402930(0x275)];
|
|
865
|
+
return typeof _0x4d490c === _0x402930(_0x508a0._0x5b929f) && _0x4d490c > 0x0 ? _0x4d490c : 0x0;
|
|
866
|
+
},
|
|
867
|
+
async 'readHistory'(_0x2030f5) {
|
|
868
|
+
const _0xb2f3f6 = _0x452847, _0x281296 = await _0x8ac170(_0x2030f5[_0xb2f3f6(0x2e0)]);
|
|
869
|
+
return _0x25f684({
|
|
870
|
+
'after': _0x2030f5[_0xb2f3f6(0x20e)],
|
|
871
|
+
'before': _0x2030f5[_0xb2f3f6(_0x3b5768._0x1b5485)],
|
|
872
|
+
'channelId': _0x281296['channelId'],
|
|
873
|
+
'channelTarget': _0x281296[_0xb2f3f6(_0x3b5768._0x387386)],
|
|
874
|
+
'limit': _0x2030f5[_0xb2f3f6(0x17f)],
|
|
875
|
+
'threadId': _0x281296[_0xb2f3f6(_0x3b5768._0x535ba8)]
|
|
844
876
|
});
|
|
845
877
|
},
|
|
846
|
-
'resolveTarget':
|
|
878
|
+
'resolveTarget': _0x8ac170,
|
|
847
879
|
async 'checkMessages'() {
|
|
848
|
-
const
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
}), _0x354bd0 = _0xb8927['data'] ?? [], _0x2348c1 = _0xb8927[_0x1a109f(0x209)]?.[_0x1a109f(0x103)], _0x3b60f8 = _0x2bd8ff ? _0x354bd0[_0x1a109f(0x272)](_0x53c605 => {
|
|
857
|
-
const _0x555bcb = _0x1a109f;
|
|
858
|
-
if (_0x53c605[_0x555bcb(0x1b4)] !== 'message')
|
|
880
|
+
const _0x1115a7 = _0x452847, _0x33953e = new URLSearchParams();
|
|
881
|
+
_0x33953e[_0x1115a7(_0x1bd5b3._0x32a070)](_0x1115a7(_0x1bd5b3._0x569194), String(_0x42d217));
|
|
882
|
+
const _0x51be72 = _0x33953e[_0x1115a7(_0x1bd5b3._0x40f217)](), _0x26a887 = await _0x1e2419(_0x1115a7(0x1a7) + _0x5346d1[_0x1115a7(_0x1bd5b3._0x1b07a9)] + _0x1115a7(_0x1bd5b3._0x197c55) + (_0x51be72 ? '?' + _0x51be72 : ''), {
|
|
883
|
+
'headers': _0x132ecd,
|
|
884
|
+
'method': _0x1115a7(_0x1bd5b3._0xa7a14f)
|
|
885
|
+
}), _0x4bab9c = _0x26a887[_0x1115a7(_0x1bd5b3._0x375681)] ?? [], _0x26494e = _0x26a887[_0x1115a7(_0x1bd5b3._0x435f7d)]?.[_0x1115a7(0x294)], _0x2bdcec = _0x1d17f8 ? _0x4bab9c[_0x1115a7(0x174)](_0x26833b => {
|
|
886
|
+
const _0x5211b2 = _0x1115a7;
|
|
887
|
+
if (_0x26833b[_0x5211b2(0x2b5)] !== _0x5211b2(0x1d7))
|
|
859
888
|
return ![];
|
|
860
|
-
return
|
|
861
|
-
}) :
|
|
862
|
-
let
|
|
863
|
-
|
|
864
|
-
|
|
889
|
+
return _0x5405d3(_0x1d17f8, asRecord(_0x26833b['payloadJson']));
|
|
890
|
+
}) : _0x4bab9c, _0x502c27 = _0x26494e !== void 0x0 ? _0x1d17f8 ? Math[_0x1115a7(0x207)](_0x42d217, _0x2bdcec['length'] > 0x0 ? _0x2bdcec[_0x2bdcec['length'] - 0x1][_0x1115a7(0x1c2)] : _0x42d217) : Math['max'](_0x42d217, _0x26494e) : _0x2bdcec[_0x1115a7(_0x1bd5b3._0x263864)] > 0x0 ? Math[_0x1115a7(_0x1bd5b3._0x2de142)](_0x42d217, _0x2bdcec[_0x2bdcec[_0x1115a7(0x2a9)] - 0x1][_0x1115a7(0x1c2)]) : _0x42d217, _0x43ae1d = (_0x1d17f8 ? _0x2bdcec : _0x4bab9c)[_0x1115a7(_0x1bd5b3._0xaa166e)](_0x259183 => _0x259183[_0x1115a7(0x2b5)] === _0x1115a7(0x1d7)), _0x1678e6 = _0x1d17f8 === void 0x0 && _0xd14797;
|
|
891
|
+
let _0x28835b = await _0x518709(), _0x4c10a0 = new Map(_0x28835b[_0x1115a7(0x197)]['map'](_0x1a8c20 => [
|
|
892
|
+
_0x1a8c20['id'],
|
|
893
|
+
_0x1a8c20
|
|
865
894
|
]));
|
|
866
|
-
const
|
|
867
|
-
const
|
|
868
|
-
return Boolean(
|
|
895
|
+
const _0x489fd6 = _0x43ae1d[_0x1115a7(0x2d3)](_0x570aba => {
|
|
896
|
+
const _0x19b664 = _0x1115a7, _0x588f61 = asRecord(_0x570aba[_0x19b664(_0x313a15._0x2940e1)]), _0x356bcb = typeof _0x588f61?.[_0x19b664(0x212)] === 'string' ? _0x588f61[_0x19b664(0x212)] : '';
|
|
897
|
+
return Boolean(_0x356bcb) && !_0x4c10a0[_0x19b664(0x192)](_0x356bcb);
|
|
869
898
|
});
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
899
|
+
_0x489fd6 && (_0x28835b = await _0x518709({ 'forceRefresh': !![] }), _0x4c10a0 = new Map(_0x28835b[_0x1115a7(0x197)][_0x1115a7(0x29b)](_0xee3d15 => [
|
|
900
|
+
_0xee3d15['id'],
|
|
901
|
+
_0xee3d15
|
|
873
902
|
])));
|
|
874
|
-
const
|
|
875
|
-
for (const
|
|
876
|
-
const
|
|
877
|
-
if (!
|
|
903
|
+
const _0x3228b8 = new Map();
|
|
904
|
+
for (const _0x551f61 of _0x43ae1d) {
|
|
905
|
+
const _0x3c95e5 = asRecord(_0x551f61[_0x1115a7(0x230)]), _0x3eeb2e = typeof _0x3c95e5[_0x1115a7(_0x1bd5b3._0x3d7fe8)] === _0x1115a7(_0x1bd5b3._0x3cc107) ? _0x3c95e5[_0x1115a7(0x212)] : '';
|
|
906
|
+
if (!_0x3eeb2e)
|
|
878
907
|
continue;
|
|
879
|
-
const
|
|
908
|
+
const _0x5503bd = typeof _0x3c95e5[_0x1115a7(0x29a)] === _0x1115a7(_0x1bd5b3._0x170e9d) ? _0x3c95e5[_0x1115a7(0x29a)] : void 0x0, _0x3be8c5 = typeof _0x3c95e5[_0x1115a7(_0x1bd5b3._0x2c1448)] === _0x1115a7(_0x1bd5b3._0x16a872) ? _0x3c95e5[_0x1115a7(0x178)] : void 0x0, _0xfd9aa = typeof _0x3c95e5[_0x1115a7(_0x1bd5b3._0xc3064b)] === _0x1115a7(0x2a6) && Number['isInteger'](_0x3c95e5[_0x1115a7(_0x1bd5b3._0xc3064b)]) ? _0x3c95e5['threadNumber'] : void 0x0, _0x29c605 = Boolean(_0x5503bd && (!_0x3be8c5 || _0x551f61[_0x1115a7(_0x1bd5b3._0x165121)] !== _0x3be8c5)), _0xbaea36 = _0x29c605 ? _0x3eeb2e + ':' + _0x5503bd : _0x3eeb2e, _0x371230 = _0x3228b8[_0x1115a7(0x243)](_0xbaea36) ?? {
|
|
880
909
|
'aggregateIds': [],
|
|
881
|
-
'channelId':
|
|
910
|
+
'channelId': _0x3eeb2e,
|
|
882
911
|
'entries': new Map(),
|
|
883
|
-
'isThreadReply':
|
|
884
|
-
'rootMessageId':
|
|
885
|
-
'threadNumber':
|
|
886
|
-
'threadId':
|
|
912
|
+
'isThreadReply': _0x29c605,
|
|
913
|
+
'rootMessageId': _0x3be8c5,
|
|
914
|
+
'threadNumber': _0xfd9aa,
|
|
915
|
+
'threadId': _0x29c605 ? _0x5503bd : void 0x0
|
|
887
916
|
};
|
|
888
|
-
|
|
889
|
-
'payloadJson':
|
|
890
|
-
'seq':
|
|
891
|
-
}),
|
|
917
|
+
_0x371230[_0x1115a7(_0x1bd5b3._0xc3064b)] == null && _0xfd9aa != null && (_0x371230[_0x1115a7(0x1f6)] = _0xfd9aa), !_0x371230['rootMessageId'] && _0x3be8c5 && (_0x371230['rootMessageId'] = _0x3be8c5), _0x371230[_0x1115a7(_0x1bd5b3._0x46fdc0)][_0x1115a7(_0x1bd5b3._0x1ef366)](_0x551f61[_0x1115a7(_0x1bd5b3._0x1b5c27)]), _0x371230[_0x1115a7(0x233)][_0x1115a7(_0x1bd5b3._0x445af9)](_0x551f61['aggregateId'], {
|
|
918
|
+
'payloadJson': _0x551f61[_0x1115a7(_0x1bd5b3._0x35e833)],
|
|
919
|
+
'seq': _0x551f61['seq']
|
|
920
|
+
}), _0x3228b8[_0x1115a7(0x171)](_0xbaea36, _0x371230);
|
|
892
921
|
}
|
|
893
|
-
const
|
|
894
|
-
for (const
|
|
922
|
+
const _0x47f703 = [];
|
|
923
|
+
for (const _0x39397a of _0x3228b8[_0x1115a7(0x2d0)]()) {
|
|
895
924
|
const {
|
|
896
|
-
channelId:
|
|
897
|
-
threadId:
|
|
898
|
-
rootMessageId:
|
|
899
|
-
threadNumber:
|
|
900
|
-
aggregateIds:
|
|
901
|
-
isThreadReply:
|
|
902
|
-
entries:
|
|
903
|
-
} =
|
|
904
|
-
'channelTarget':
|
|
905
|
-
'rootMessageId':
|
|
906
|
-
'threadId':
|
|
907
|
-
'threadNumber':
|
|
908
|
-
},
|
|
909
|
-
'channelId':
|
|
910
|
-
'channelTarget':
|
|
911
|
-
'limit': Math[
|
|
912
|
-
'threadId':
|
|
913
|
-
}),
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
])),
|
|
917
|
-
for (const
|
|
918
|
-
if (!
|
|
925
|
+
channelId: _0x3641a8,
|
|
926
|
+
threadId: _0x1cc421,
|
|
927
|
+
rootMessageId: _0x40d9c1,
|
|
928
|
+
threadNumber: _0x25b68c,
|
|
929
|
+
aggregateIds: _0x45948f,
|
|
930
|
+
isThreadReply: _0x127407,
|
|
931
|
+
entries: _0x46b47a
|
|
932
|
+
} = _0x39397a, _0x5616ad = _0x4c10a0[_0x1115a7(0x243)](_0x3641a8), _0x3acb8e = _0x5616ad?.[_0x1115a7(0x195)] ?? _0x3641a8, _0x3d9d22 = _0x5616ad?.['kind'] === 'dm' ? _0x1115a7(_0x1bd5b3._0x3bb87f) + _0x3acb8e : '#' + _0x3acb8e, _0x8422c1 = {
|
|
933
|
+
'channelTarget': _0x3d9d22,
|
|
934
|
+
'rootMessageId': _0x40d9c1,
|
|
935
|
+
'threadId': _0x1cc421,
|
|
936
|
+
'threadNumber': _0x25b68c
|
|
937
|
+
}, _0xd9b9e = await _0x25f684({
|
|
938
|
+
'channelId': _0x3641a8,
|
|
939
|
+
'channelTarget': _0x3d9d22,
|
|
940
|
+
'limit': Math['max'](_0x45948f[_0x1115a7(0x2a9)], 0x32),
|
|
941
|
+
'threadId': _0x1cc421
|
|
942
|
+
}), _0x1227d = new Map(_0xd9b9e[_0x1115a7(0x170)][_0x1115a7(0x29b)](_0x1d7fdc => [
|
|
943
|
+
_0x1d7fdc[_0x1115a7(0x176)],
|
|
944
|
+
_0x1d7fdc
|
|
945
|
+
])), _0x483075 = _0x1cc421 ? _0x2b8b48(_0x8422c1) : _0x3d9d22, _0x4d7acb = _0x1d17f8 ? _0x127407 && _0x14f5a3(_0x1d17f8, _0x8422c1) : !![], _0x13a974 = _0x127407 ? _0x4d7acb && _0x1d17f8 ? _0x1d17f8 : _0x483075 : _0x3d9d22;
|
|
946
|
+
for (const _0x157d99 of _0x45948f) {
|
|
947
|
+
if (!_0x4d7acb)
|
|
919
948
|
continue;
|
|
920
|
-
const
|
|
921
|
-
if (
|
|
949
|
+
const _0x48919b = _0x46b47a[_0x1115a7(_0x1bd5b3._0x1b8996)](_0x157d99), _0x4d970b = _0x48919b ? asRecord(_0x48919b[_0x1115a7(_0x1bd5b3._0x5e07c9)]) : void 0x0, _0x47c0e7 = _0x4d970b?.[_0x1115a7(_0x1bd5b3._0x300735)] === 'targeted';
|
|
950
|
+
if (_0x1678e6 && _0x47c0e7)
|
|
922
951
|
continue;
|
|
923
|
-
const
|
|
924
|
-
if (
|
|
925
|
-
|
|
926
|
-
'attachments':
|
|
927
|
-
'content':
|
|
928
|
-
'createdAt':
|
|
929
|
-
...
|
|
930
|
-
'messageId':
|
|
931
|
-
'senderName':
|
|
932
|
-
'senderType':
|
|
933
|
-
'target':
|
|
934
|
-
...
|
|
952
|
+
const _0x254f8c = _0x1227d[_0x1115a7(_0x1bd5b3._0x4352b2)](_0x157d99);
|
|
953
|
+
if (_0x254f8c) {
|
|
954
|
+
_0x47f703['push']({
|
|
955
|
+
'attachments': _0x254f8c['attachments'],
|
|
956
|
+
'content': _0x254f8c[_0x1115a7(_0x1bd5b3._0x59c9f6)],
|
|
957
|
+
'createdAt': _0x254f8c[_0x1115a7(_0x1bd5b3._0x5d5efd)],
|
|
958
|
+
..._0x254f8c[_0x1115a7(_0x1bd5b3._0x79ab15)] ? { 'kind': _0x254f8c[_0x1115a7(0x257)] } : {},
|
|
959
|
+
'messageId': _0x254f8c[_0x1115a7(_0x1bd5b3._0xfabc53)],
|
|
960
|
+
'senderName': _0x254f8c[_0x1115a7(_0x1bd5b3._0x1c7a5d)],
|
|
961
|
+
'senderType': _0x254f8c[_0x1115a7(0x231)],
|
|
962
|
+
'target': _0x13a974,
|
|
963
|
+
..._0x47c0e7 ? { 'targetedTask': !![] } : {}
|
|
935
964
|
});
|
|
936
965
|
continue;
|
|
937
966
|
}
|
|
938
|
-
if (
|
|
939
|
-
const
|
|
940
|
-
|
|
967
|
+
if (_0x48919b) {
|
|
968
|
+
const _0x5781e1 = typeof _0x4d970b?.[_0x1115a7(_0x1bd5b3._0x4161f7)] === _0x1115a7(_0x1bd5b3._0x170e9d) ? _0x4d970b[_0x1115a7(_0x1bd5b3._0x45d21b)] : '', _0x57fab1 = typeof _0x4d970b?.[_0x1115a7(_0x1bd5b3._0x5edaf8)] === _0x1115a7(0x2e2) ? _0x4d970b[_0x1115a7(_0x1bd5b3._0x3ac43a)] : '', _0x186b46 = typeof _0x4d970b?.[_0x1115a7(_0x1bd5b3._0x5546d0)] === _0x1115a7(_0x1bd5b3._0x3cc107) && _0x4d970b[_0x1115a7(0x257)] !== _0x1115a7(_0x1bd5b3._0x5b4c6f) ? _0x4d970b[_0x1115a7(_0x1bd5b3._0x39172a)] : void 0x0;
|
|
969
|
+
_0x5781e1 && _0x57fab1 && _0x47f703[_0x1115a7(0x191)]({
|
|
941
970
|
'attachments': [],
|
|
942
|
-
'content':
|
|
943
|
-
'createdAt': new Date()[
|
|
944
|
-
...
|
|
945
|
-
'messageId':
|
|
946
|
-
'senderName':
|
|
947
|
-
'senderType':
|
|
948
|
-
'target':
|
|
949
|
-
...
|
|
971
|
+
'content': _0x57fab1,
|
|
972
|
+
'createdAt': new Date()[_0x1115a7(_0x1bd5b3._0x473127)](),
|
|
973
|
+
..._0x186b46 ? { 'kind': _0x186b46 } : {},
|
|
974
|
+
'messageId': _0x157d99,
|
|
975
|
+
'senderName': _0x564900(_0x5781e1, _0x28835b),
|
|
976
|
+
'senderType': _0x41e9fa(_0x5781e1, _0x28835b),
|
|
977
|
+
'target': _0x13a974,
|
|
978
|
+
..._0x47c0e7 ? { 'targetedTask': !![] } : {}
|
|
950
979
|
});
|
|
951
980
|
}
|
|
952
981
|
}
|
|
953
982
|
}
|
|
954
|
-
if (
|
|
955
|
-
if (
|
|
956
|
-
await
|
|
983
|
+
if (_0x502c27 > 0x0) {
|
|
984
|
+
if (_0x10d26d)
|
|
985
|
+
await _0x537eb7(_0x502c27);
|
|
957
986
|
else
|
|
958
|
-
|
|
987
|
+
_0x5c3fb4 && await _0x382984(_0x502c27);
|
|
959
988
|
}
|
|
960
|
-
return
|
|
989
|
+
return _0x502c27 > _0x42d217 && (_0x42d217 = _0x502c27), { 'messages': _0x1d17f8 ? _0x47f703 : _0x1678e6 ? _0x47f703[_0x1115a7(_0x1bd5b3._0x49ef6b)](_0x529bb5 => _0x529bb5['targetedTask'] !== !![]) : _0x47f703 };
|
|
961
990
|
}
|
|
962
991
|
};
|
|
963
992
|
}
|
|
964
|
-
function
|
|
965
|
-
const
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
_0x1ad13b = _0x1ad13b - 0xec;
|
|
973
|
-
const _0x263188 = _0x2631();
|
|
974
|
-
let _0x1c13de = _0x263188[_0x1ad13b];
|
|
975
|
-
if (_0x1c13['oFMVLC'] === undefined) {
|
|
976
|
-
var _0x5beb02 = function (_0x23b6a8) {
|
|
977
|
-
const _0x476523 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
978
|
-
let _0x230848 = '', _0x456c30 = '';
|
|
979
|
-
for (let _0x295423 = 0x0, _0x37cca9, _0x55a747, _0x5102d6 = 0x0; _0x55a747 = _0x23b6a8['charAt'](_0x5102d6++); ~_0x55a747 && (_0x37cca9 = _0x295423 % 0x4 ? _0x37cca9 * 0x40 + _0x55a747 : _0x55a747, _0x295423++ % 0x4) ? _0x230848 += String['fromCharCode'](0xff & _0x37cca9 >> (-0x2 * _0x295423 & 0x6)) : 0x0) {
|
|
980
|
-
_0x55a747 = _0x476523['indexOf'](_0x55a747);
|
|
981
|
-
}
|
|
982
|
-
for (let _0x3f2941 = 0x0, _0x5040f1 = _0x230848['length']; _0x3f2941 < _0x5040f1; _0x3f2941++) {
|
|
983
|
-
_0x456c30 += '%' + ('00' + _0x230848['charCodeAt'](_0x3f2941)['toString'](0x10))['slice'](-0x2);
|
|
984
|
-
}
|
|
985
|
-
return decodeURIComponent(_0x456c30);
|
|
986
|
-
};
|
|
987
|
-
_0x1c13['LUdYFp'] = _0x5beb02, _0x1c13['mOJTJD'] = {}, _0x1c13['oFMVLC'] = !![];
|
|
988
|
-
}
|
|
989
|
-
const _0x1268cd = _0x263188[0x0], _0x3216a5 = _0x1ad13b + _0x1268cd, _0x2d5580 = _0x1c13['mOJTJD'][_0x3216a5];
|
|
990
|
-
return !_0x2d5580 ? (_0x1c13de = _0x1c13['LUdYFp'](_0x1c13de), _0x1c13['mOJTJD'][_0x3216a5] = _0x1c13de) : _0x1c13de = _0x2d5580, _0x1c13de;
|
|
991
|
-
}
|
|
992
|
-
function formatAttachmentSuffix(_0x563076) {
|
|
993
|
-
const _0x330751 = {
|
|
994
|
-
_0x1dac6f: 0x1fe,
|
|
995
|
-
_0x2155ee: 0x1e8,
|
|
996
|
-
_0x6996f5: 0x25e
|
|
997
|
-
}, _0xcb7070 = _0x2980fe;
|
|
998
|
-
if (!_0x563076 || _0x563076['length'] === 0x0)
|
|
999
|
-
return '';
|
|
1000
|
-
return '\x20[' + _0x563076[_0xcb7070(_0x330751._0x1dac6f)] + _0xcb7070(_0x330751._0x2155ee) + (_0x563076[_0xcb7070(0x1fe)] > 0x1 ? 's' : '') + ':\x20' + _0x563076['map'](_0x58fad6 => _0x58fad6['filename'] + '\x20(id:' + _0x58fad6['id'] + ')')[_0xcb7070(_0x330751._0x6996f5)](',\x20') + '\x20—\x20use\x20view_file\x20to\x20see]';
|
|
1001
|
-
}
|
|
1002
|
-
function formatCheckMessages(_0x5dffe0) {
|
|
1003
|
-
const _0x4aad28 = {
|
|
1004
|
-
_0x187a39: 0x184,
|
|
1005
|
-
_0x52d04d: 0x23c,
|
|
1006
|
-
_0x1e0631: 0x25e
|
|
1007
|
-
}, _0x30b7e7 = {
|
|
1008
|
-
_0x358184: 0x102,
|
|
1009
|
-
_0x563f36: 0x1a0,
|
|
1010
|
-
_0x300b26: 0x219,
|
|
1011
|
-
_0x2df7d1: 0x256,
|
|
1012
|
-
_0x39fc0a: 0xfd,
|
|
1013
|
-
_0x13a16d: 0x109,
|
|
1014
|
-
_0x36a768: 0x20c
|
|
1015
|
-
}, _0x290c57 = _0x2980fe;
|
|
1016
|
-
if (_0x5dffe0['length'] === 0x0)
|
|
1017
|
-
return _0x290c57(_0x4aad28._0x187a39);
|
|
1018
|
-
return _0x5dffe0[_0x290c57(_0x4aad28._0x52d04d)](_0x4a500d => {
|
|
1019
|
-
const _0xd425bc = _0x290c57, _0x565245 = _0x4a500d['senderType'] === _0xd425bc(0x249) ? _0xd425bc(_0x30b7e7._0x358184) : '', _0x407423 = _0x4a500d[_0xd425bc(0x150)] && _0x4a500d[_0xd425bc(0x150)] !== _0xd425bc(_0x30b7e7._0x563f36) ? _0xd425bc(_0x30b7e7._0x300b26) + _0x4a500d['kind'] : '';
|
|
1020
|
-
return '[target=' + _0x4a500d[_0xd425bc(_0x30b7e7._0x2df7d1)] + '\x20msg=' + _0x4a500d[_0xd425bc(_0x30b7e7._0x39fc0a)]['slice'](0x0, 0x8) + _0xd425bc(0x22f) + toLocalTime(_0x4a500d[_0xd425bc(_0x30b7e7._0x13a16d)]) + _0x565245 + _0x407423 + _0xd425bc(_0x30b7e7._0x36a768) + _0x4a500d['senderName'] + ':\x20' + _0x4a500d[_0xd425bc(0x118)] + formatAttachmentSuffix(_0x4a500d[_0xd425bc(0x199)]);
|
|
1021
|
-
})[_0x290c57(_0x4aad28._0x1e0631)]('\x0a');
|
|
1022
|
-
}
|
|
1023
|
-
function formatHistory(_0x3f0f61) {
|
|
1024
|
-
const _0x16670d = {
|
|
1025
|
-
_0x19db28: 0x24a,
|
|
1026
|
-
_0x3f8d5c: 0x25e,
|
|
1027
|
-
_0x24fc61: 0x116,
|
|
1028
|
-
_0x260b3b: 0x1fe
|
|
1029
|
-
}, _0x115bcc = {
|
|
1030
|
-
_0x53310d: 0x102,
|
|
1031
|
-
_0x483ef6: 0x150,
|
|
1032
|
-
_0x22711e: 0x11c,
|
|
1033
|
-
_0x196099: 0x1f8,
|
|
1034
|
-
_0x149661: 0x20c
|
|
1035
|
-
}, _0x3fc7ca = _0x2980fe;
|
|
1036
|
-
if (_0x3f0f61['messages'][_0x3fc7ca(0x1fe)] === 0x0)
|
|
1037
|
-
return '##\x20Message\x20History\x20for\x20' + _0x3f0f61['channel'] + _0x3fc7ca(0x19d);
|
|
1038
|
-
const _0x246007 = _0x3f0f61[_0x3fc7ca(_0x16670d._0x19db28)][_0x3fc7ca(0x23c)](_0x398e3c => {
|
|
1039
|
-
const _0x3be9fd = _0x3fc7ca, _0x552d80 = _0x398e3c['senderType'] === _0x3be9fd(0x249) ? _0x3be9fd(_0x115bcc._0x53310d) : '', _0x2dac8c = _0x398e3c[_0x3be9fd(0x150)] && _0x398e3c['kind'] !== _0x3be9fd(0x1a0) ? _0x3be9fd(0x219) + _0x398e3c[_0x3be9fd(_0x115bcc._0x483ef6)] : '';
|
|
1040
|
-
return _0x3be9fd(_0x115bcc._0x22711e) + _0x398e3c[_0x3be9fd(_0x115bcc._0x196099)] + _0x3be9fd(0x245) + _0x398e3c['messageId'] + '\x20time=' + toLocalTime(_0x398e3c['createdAt']) + _0x552d80 + _0x2dac8c + _0x3be9fd(_0x115bcc._0x149661) + _0x398e3c[_0x3be9fd(0x1ed)] + ':\x20' + _0x398e3c[_0x3be9fd(0x118)] + formatAttachmentSuffix(_0x398e3c[_0x3be9fd(0x199)]);
|
|
1041
|
-
})[_0x3fc7ca(_0x16670d._0x3f8d5c)]('\x0a'), _0x34d980 = _0x3f0f61[_0x3fc7ca(0x1f9)] && _0x3f0f61[_0x3fc7ca(_0x16670d._0x24fc61)] ? _0x3fc7ca(0x18c) + _0x3f0f61[_0x3fc7ca(_0x16670d._0x19db28)][_0x3fc7ca(_0x16670d._0x260b3b)] + '\x20messages\x20shown.\x20Use\x20before=' + _0x3f0f61[_0x3fc7ca(0x116)] + _0x3fc7ca(0x1da) : '';
|
|
1042
|
-
return '##\x20Message\x20History\x20for\x20' + _0x3f0f61['channel'] + '\x20(' + _0x3f0f61['messages']['length'] + _0x3fc7ca(0x1ff) + _0x246007 + _0x34d980;
|
|
1043
|
-
}
|
|
1044
|
-
function formatServerDirectory(_0x24f17e) {
|
|
1045
|
-
const _0x5e1ef4 = {
|
|
1046
|
-
_0x1b372b: 0x23c,
|
|
1047
|
-
_0x5853a8: 0x1ea,
|
|
1048
|
-
_0x573479: 0x18f,
|
|
1049
|
-
_0x21addb: 0x1fe,
|
|
1050
|
-
_0x3cf9d3: 0x18f,
|
|
1051
|
-
_0x266623: 0x172,
|
|
1052
|
-
_0x4e7beb: 0x23c,
|
|
1053
|
-
_0x40f939: 0x1ea,
|
|
1054
|
-
_0xae4992: 0x251,
|
|
1055
|
-
_0x58d024: 0x25e
|
|
1056
|
-
}, _0x3d02eb = _0x2980fe, _0x41a956 = _0x24f17e[_0x3d02eb(0x26d)][_0x3d02eb(0x1fe)] > 0x0 ? _0x24f17e['channels'][_0x3d02eb(_0x5e1ef4._0x1b372b)](_0x28fc38 => _0x28fc38['description'] ? _0x3d02eb(0xfe) + _0x28fc38[_0x3d02eb(0x1eb)] + '\x20—\x20' + _0x28fc38[_0x3d02eb(0x135)] : _0x3d02eb(0xfe) + _0x28fc38[_0x3d02eb(0x1eb)])[_0x3d02eb(0x25e)]('\x0a') : _0x3d02eb(_0x5e1ef4._0x5853a8), _0x2e55b2 = _0x24f17e[_0x3d02eb(_0x5e1ef4._0x573479)][_0x3d02eb(_0x5e1ef4._0x21addb)] > 0x0 ? _0x24f17e[_0x3d02eb(_0x5e1ef4._0x3cf9d3)][_0x3d02eb(0x23c)](_0x1bbd08 => _0x3d02eb(0x215) + _0x1bbd08[_0x3d02eb(0x1eb)])['join']('\x0a') : _0x3d02eb(_0x5e1ef4._0x5853a8), _0x1cb5df = _0x24f17e[_0x3d02eb(0x172)]['length'] > 0x0 ? _0x24f17e[_0x3d02eb(_0x5e1ef4._0x266623)][_0x3d02eb(_0x5e1ef4._0x4e7beb)](_0x2d8578 => _0x3d02eb(0x215) + _0x2d8578['name'])['join']('\x0a') : _0x3d02eb(_0x5e1ef4._0x40f939);
|
|
1057
|
-
return [
|
|
1058
|
-
_0x3d02eb(0x1f1) + _0x24f17e[_0x3d02eb(0x17b)],
|
|
1059
|
-
'',
|
|
1060
|
-
_0x3d02eb(0x14e),
|
|
1061
|
-
_0x41a956,
|
|
1062
|
-
'',
|
|
1063
|
-
_0x3d02eb(0x11a),
|
|
1064
|
-
_0x2e55b2,
|
|
1065
|
-
'',
|
|
1066
|
-
_0x3d02eb(_0x5e1ef4._0xae4992),
|
|
1067
|
-
_0x1cb5df
|
|
1068
|
-
][_0x3d02eb(_0x5e1ef4._0x58d024)]('\x0a');
|
|
1069
|
-
}
|
|
1070
|
-
function formatUploadResult(_0x50422c) {
|
|
1071
|
-
const _0x48304c = {
|
|
1072
|
-
_0x5c5c66: 0x1dc,
|
|
1073
|
-
_0x2d8c0a: 0x268
|
|
1074
|
-
}, _0x2e1cc1 = _0x2980fe;
|
|
1075
|
-
return 'File\x20uploaded:\x20' + _0x50422c[_0x2e1cc1(_0x48304c._0x5c5c66)] + '\x20(' + (_0x50422c[_0x2e1cc1(_0x48304c._0x2d8c0a)] / 0x400)['toFixed'](0x1) + 'KB)\x0aAttachment\x20ID:\x20' + _0x50422c[_0x2e1cc1(0x1f5)] + _0x2e1cc1(0x145);
|
|
1076
|
-
}
|
|
1077
|
-
function formatViewFileResult(_0x37e0a6, _0x4ec8fe) {
|
|
1078
|
-
const _0x28a0d1 = { _0x4d2586: 0x17a }, _0x1740d9 = _0x2980fe;
|
|
1079
|
-
return _0x4ec8fe ? _0x1740d9(0x220) + _0x37e0a6 : _0x1740d9(_0x28a0d1._0x4d2586) + _0x37e0a6;
|
|
1080
|
-
}
|
|
1081
|
-
function formatTaskList(_0x180e6d, _0x379031) {
|
|
1082
|
-
const _0x2aefb9 = {
|
|
1083
|
-
_0x1193f0: 0x1fe,
|
|
1084
|
-
_0x519d1b: 0x180,
|
|
1085
|
-
_0x58d4ac: 0x23c
|
|
1086
|
-
}, _0x3b4c0c = {
|
|
1087
|
-
_0x2e98a8: 0x1db,
|
|
1088
|
-
_0x37340d: 0x26b,
|
|
1089
|
-
_0xbed387: 0xfd,
|
|
1090
|
-
_0x2da21c: 0x1e0,
|
|
1091
|
-
_0x5cb6e6: 0x26b,
|
|
1092
|
-
_0xfc9cc5: 0x24b,
|
|
1093
|
-
_0x2559e9: 0x1dd,
|
|
1094
|
-
_0x20928f: 0x14c,
|
|
1095
|
-
_0xc4982c: 0x1b0,
|
|
1096
|
-
_0xafaa4e: 0x20b
|
|
1097
|
-
}, _0x414aee = _0x2980fe;
|
|
1098
|
-
if (_0x180e6d[_0x414aee(_0x2aefb9._0x1193f0)] === 0x0)
|
|
1099
|
-
return _0x414aee(_0x2aefb9._0x519d1b);
|
|
1100
|
-
return _0x180e6d[_0x414aee(_0x2aefb9._0x58d4ac)](_0x545a16 => {
|
|
1101
|
-
const _0x36c431 = _0x414aee, _0x28d99d = _0x545a16[_0x36c431(0x178)] == null ? _0x36c431(_0x3b4c0c._0x2e98a8) : _0x545a16[_0x36c431(_0x3b4c0c._0x37340d)] != null ? '#' + _0x545a16['taskNumber'] + '.' + _0x545a16[_0x36c431(0x26b)] : '#' + _0x545a16[_0x36c431(0x178)], _0xe09f80 = _0x545a16[_0x36c431(_0x3b4c0c._0xbed387)] ? _0x36c431(_0x3b4c0c._0x2da21c) + _0x545a16[_0x36c431(0xfd)] : '', _0x46fae7 = _0x379031 && _0x545a16[_0x36c431(0x178)] != null && !_0x545a16[_0x36c431(_0x3b4c0c._0x5cb6e6)] && _0x379031[_0x36c431(_0x3b4c0c._0xfc9cc5)](_0x545a16[_0x36c431(0x178)]) ? '\x20executionMode=worker' : '', _0x5531a1 = _0x545a16[_0x36c431(0x1dd)] != null && _0x545a16[_0x36c431(_0x3b4c0c._0x2559e9)] > 0x0 ? '\x20(' + (_0x545a16[_0x36c431(_0x3b4c0c._0x20928f)] ?? 0x0) + '/' + _0x545a16[_0x36c431(_0x3b4c0c._0x2559e9)] + '\x20done)' : '';
|
|
1102
|
-
return _0x28d99d + '\x20[' + _0x545a16[_0x36c431(_0x3b4c0c._0xc4982c)] + ']\x20' + _0x545a16[_0x36c431(_0x3b4c0c._0xafaa4e)] + _0x5531a1 + _0xe09f80 + _0x46fae7;
|
|
1103
|
-
})['join']('\x0a');
|
|
1104
|
-
}
|
|
1105
|
-
function formatCreatedTasks(_0x28a321) {
|
|
1106
|
-
const _0x4b9b95 = {
|
|
1107
|
-
_0x25bf9d: 0x1fe,
|
|
1108
|
-
_0x250059: 0x1e4
|
|
1109
|
-
}, _0x558f67 = {
|
|
1110
|
-
_0x42fb59: 0x26b,
|
|
1111
|
-
_0x8311f2: 0x178,
|
|
1112
|
-
_0x26844a: 0x20b
|
|
1113
|
-
}, _0x5ca69c = _0x2980fe;
|
|
1114
|
-
if (_0x28a321[_0x5ca69c(_0x4b9b95._0x25bf9d)] === 0x0)
|
|
1115
|
-
return _0x5ca69c(_0x4b9b95._0x250059);
|
|
1116
|
-
return _0x28a321['map'](_0x16520 => {
|
|
1117
|
-
const _0xfaaf9 = _0x5ca69c, _0x4f6526 = _0x16520[_0xfaaf9(0x178)] == null ? _0xfaaf9(0x1db) : _0x16520[_0xfaaf9(_0x558f67._0x42fb59)] != null ? '#' + _0x16520[_0xfaaf9(0x178)] + '.' + _0x16520[_0xfaaf9(_0x558f67._0x42fb59)] : '#' + _0x16520[_0xfaaf9(_0x558f67._0x8311f2)], _0x4e3d7c = _0x16520[_0xfaaf9(0xfd)] ? _0xfaaf9(0x1e0) + _0x16520['messageId'] : '';
|
|
1118
|
-
return _0x4f6526 + '\x20' + _0x16520[_0xfaaf9(_0x558f67._0x26844a)] + _0x4e3d7c;
|
|
1119
|
-
})[_0x5ca69c(0x25e)]('\x0a');
|
|
1120
|
-
}
|
|
1121
|
-
function formatClaimTaskLabel(_0x5abd49, _0x5a0c72) {
|
|
1122
|
-
const _0x87b5b9 = _0x2980fe;
|
|
1123
|
-
if (_0x5abd49 == null)
|
|
1124
|
-
return _0x87b5b9(0x1db);
|
|
1125
|
-
return _0x5a0c72 != null ? '#' + _0x5abd49 + '.' + _0x5a0c72 : '#' + _0x5abd49;
|
|
1126
|
-
}
|
|
1127
|
-
function _0x2631() {
|
|
1128
|
-
const _0x2a4fbf = [
|
|
1129
|
-
'mJu1mZu2nfPyDxj5tG',
|
|
1130
|
-
'C3bSAxq',
|
|
1131
|
-
'twfYAYb0AguGy3vYCMvUDcb3B3jRzxiGyxmGD2fPDgLUzYbMB3iGAhvTyw4GAw5WDxqUifbHDxnLCYb0AguGAwrSzsbuveWGDgLTzxiGDw50AwWGysbUzxCGBwvZC2fNzsbHCNjPDMvZlG',
|
|
1132
|
-
'twLZC2LUzYaTlwrHzw1VBI1HCgKTA2v5',
|
|
1133
|
-
'lMjPBG',
|
|
1134
|
-
'Bwv0yq',
|
|
1135
|
-
'BgLZDf90yxnRCW',
|
|
1136
|
-
'DgL0Bgu',
|
|
993
|
+
function _0x7a96() {
|
|
994
|
+
const _0x9c9c9e = [
|
|
995
|
+
'l2fWAs9Hz2vUDc1ZzxnZAw9UCY8',
|
|
996
|
+
'BgLZDfrHC2TZ',
|
|
997
|
+
'DxrMoa',
|
|
998
|
+
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
999
|
+
'l3nLBMq',
|
|
1000
|
+
'AxnbyNnVBhv0zq',
|
|
1137
1001
|
'xsba',
|
|
1138
|
-
'
|
|
1139
|
-
'
|
|
1140
|
-
'
|
|
1141
|
-
'
|
|
1142
|
-
'
|
|
1143
|
-
'
|
|
1144
|
-
'
|
|
1145
|
-
'
|
|
1146
|
-
'
|
|
1147
|
-
'
|
|
1148
|
-
'y29UDgvUDc10ExbL',
|
|
1149
|
-
'yxr0ywnOBwvUDeLKCW',
|
|
1150
|
-
'igTPBMq9',
|
|
1151
|
-
'ihn0yxr1CZ0',
|
|
1152
|
-
'z2v0',
|
|
1153
|
-
'D3nZoG',
|
|
1154
|
-
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
1155
|
-
'zw51Bq',
|
|
1156
|
-
'l3jLC29SDMuTy2HHBM5LBa',
|
|
1157
|
-
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
1158
|
-
'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
|
|
1159
|
-
'ls13B3jRzxiTDgHYzwfKlxrHCMDLDa',
|
|
1160
|
-
'BwvZC2fNzq',
|
|
1161
|
-
'ywjVCNrLza',
|
|
1162
|
-
'l3n0yxj0',
|
|
1163
|
-
'CMvZB2X2zvrHCMDLDa',
|
|
1164
|
-
'ls1KywvTB24TyxbPlwTLEq',
|
|
1165
|
-
'w3rHCMDLDd0',
|
|
1166
|
-
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
1167
|
-
'yxr0ywnOBwvUDf9Pza',
|
|
1168
|
-
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
1169
|
-
'ywXS',
|
|
1170
|
-
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
1171
|
-
'ywrK',
|
|
1172
|
-
'ihrPBwu9',
|
|
1173
|
-
'CMvJB3jK',
|
|
1174
|
-
'vgfZAYa',
|
|
1175
|
-
'AxnjBNrLz2vY',
|
|
1176
|
-
'ChvIBgLJ',
|
|
1177
|
-
'CgfYC2u',
|
|
1178
|
-
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
1002
|
+
'Dw5JBgfPBv90yxnR',
|
|
1003
|
+
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
1004
|
+
'AgvHzgvYCW',
|
|
1005
|
+
'zgfLBw9Utg9JywXvCMW',
|
|
1006
|
+
'CMvZCg9UC2u',
|
|
1007
|
+
'w3nLCt0',
|
|
1008
|
+
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
1009
|
+
'DMfSDwvZ',
|
|
1010
|
+
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
1011
|
+
'yxv0BZO',
|
|
1179
1012
|
'C29Tzq',
|
|
1180
|
-
'
|
|
1181
|
-
'
|
|
1182
|
-
'
|
|
1183
|
-
'
|
|
1184
|
-
'
|
|
1185
|
-
'
|
|
1013
|
+
'zxjYB3i',
|
|
1014
|
+
'zgvZDhjVEwvK',
|
|
1015
|
+
'C3bSAxq',
|
|
1016
|
+
'C2vYDMvYvxjS',
|
|
1017
|
+
'ls1Hz2vUDc1Pza',
|
|
1018
|
+
'BwvTyMvY',
|
|
1019
|
+
'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
|
|
1020
|
+
'yMfZzw5HBwu',
|
|
1021
|
+
'ywDNCMvNyxrLswrZ',
|
|
1022
|
+
'DgL0Bgu',
|
|
1023
|
+
'Dg9gAxHLza',
|
|
1024
|
+
'iokaLcb1C2uGDMLLD19MAwXLihrVihnLzv0',
|
|
1025
|
+
'y2HHBM5LBa',
|
|
1026
|
+
'DgfZAY0',
|
|
1027
|
+
'C3rYAw5N',
|
|
1028
|
+
'y2HHBM5LBe5HBwu',
|
|
1029
|
+
'yxjYyxLcDwzMzxi',
|
|
1030
|
+
'B3jPz2LUywXgAwXLBMfTzq',
|
|
1186
1031
|
'yxbWBgLJyxrPB24VEg1S',
|
|
1187
|
-
'
|
|
1188
|
-
'
|
|
1189
|
-
'
|
|
1190
|
-
'
|
|
1191
|
-
'
|
|
1192
|
-
'
|
|
1193
|
-
'
|
|
1032
|
+
'DgfZA0LK',
|
|
1033
|
+
'Dg9tDhjPBMC',
|
|
1034
|
+
'twfYAYb0AguGy3vYCMvUDcb3B3jRzxiGyxmGD2fPDgLUzYbMB3iGAhvTyw4GAw5WDxqUifbHDxnLCYb0AguGAwrSzsbuveWGDgLTzxiGDw50AwWGysbUzxCGBwvZC2fNzsbHCNjPDMvZlG',
|
|
1035
|
+
'CgfYDgLJAxbHBNrjza',
|
|
1036
|
+
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
1037
|
+
'BwvZC2fNzv9Pzhm',
|
|
1038
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
|
|
1194
1039
|
'ig1ZzZ0',
|
|
1195
|
-
'
|
|
1196
|
-
'
|
|
1197
|
-
'
|
|
1198
|
-
'
|
|
1199
|
-
'
|
|
1200
|
-
'
|
|
1201
|
-
'
|
|
1202
|
-
'
|
|
1203
|
-
'
|
|
1204
|
-
'D29YA2vYsgfUzg9MzJ10CNvL',
|
|
1205
|
-
'BwvTyMvYCW',
|
|
1206
|
-
'iYmJieH1BwfUCW',
|
|
1207
|
-
'EM9K',
|
|
1208
|
-
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
1209
|
-
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
1210
|
-
'Aw5JBhvKzxm',
|
|
1040
|
+
'y2HHDa',
|
|
1041
|
+
'DgHYzwfKvgfYz2v0',
|
|
1042
|
+
'BwvKAxvT',
|
|
1043
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
1044
|
+
'BgLZDf9Zzxj2zxi',
|
|
1045
|
+
'y2XPzw50',
|
|
1046
|
+
'C2vUzf9TzxnZywDLigzHAwXLza',
|
|
1047
|
+
'zw51Bq',
|
|
1048
|
+
'CgfYA193B3jRzxiGzMfPBgvK',
|
|
1211
1049
|
'DgfYz2v0',
|
|
1212
|
-
'y2XHAw0GzMfPBgvK',
|
|
1213
|
-
'sgfUzg9MzIb0BYb3B3jRzxiGzM9YihrHC2SG',
|
|
1214
1050
|
'y2XHAw1FDgfZA3mGzMfPBgvK',
|
|
1215
|
-
'
|
|
1216
|
-
'
|
|
1217
|
-
'
|
|
1218
|
-
'
|
|
1219
|
-
'
|
|
1220
|
-
'
|
|
1221
|
-
'
|
|
1222
|
-
'mtK5ntyWnLzrtgXbza',
|
|
1223
|
-
'C2HHmJu2',
|
|
1224
|
-
'ntq3odi1AevrqwPp',
|
|
1225
|
-
'DxbKyxrL',
|
|
1226
|
-
'ls13B3jRzxiTC2vZC2LVBI1Pza',
|
|
1227
|
-
'y29UBMvJDa',
|
|
1228
|
-
'DMfSDwu',
|
|
1229
|
-
'C2L6zuj5DgvZ',
|
|
1051
|
+
'zMv0y2HjBxbS',
|
|
1052
|
+
'y2HLy2TnzxnZywDLCW',
|
|
1053
|
+
'AxnbCNjHEq',
|
|
1054
|
+
'y3jLyxrLx3rHC2TZ',
|
|
1055
|
+
'rMLSzsbUB3qGzM91BMq6ia',
|
|
1056
|
+
'BwvZC2fNzxm',
|
|
1057
|
+
'C2v0',
|
|
1230
1058
|
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVC3rKAw8UANm',
|
|
1231
|
-
'
|
|
1232
|
-
'C3vIDgfZA051BwjLCG',
|
|
1233
|
-
'DxbSB2fKx2zPBgu',
|
|
1234
|
-
'y2HHBM5LBhm',
|
|
1235
|
-
'Dgv4Da',
|
|
1236
|
-
'oIb3B3jRzxiGy2fUig9UBhKGB3bLCMf0zsbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcaO',
|
|
1237
|
-
'zxHLy3v0Aw9Utw9Kzq',
|
|
1238
|
-
'zw50CMLLCW',
|
|
1059
|
+
'l2zPBMLZAa',
|
|
1239
1060
|
'zMLSDgvY',
|
|
1240
|
-
'
|
|
1241
|
-
'yMvMB3jL',
|
|
1242
|
-
'C2vUzf9TzxnZywDL',
|
|
1243
|
-
'y2fJAgveAxi',
|
|
1244
|
-
'DgHYzwfKtNvTyMvY',
|
|
1245
|
-
'khvUA25VD24P',
|
|
1246
|
-
'y2HLy2TFBwvZC2fNzxmGzMfPBgvK',
|
|
1247
|
-
'l3nLBMq',
|
|
1248
|
-
'uMvHzcb0AhjLywqGAgLZDg9YEsbIzwzVCMuGDgfRAw5NigfJDgLVBI4Grg8GBM90igvJAg8GDgHPCYbTzxnZywDLihrVihrOzsb0AhjLywqU',
|
|
1249
|
-
'zg9Uzq',
|
|
1250
|
-
'yM9KEvrLEhq',
|
|
1251
|
-
'ogT2s05OvW',
|
|
1252
|
-
'AwrSzq',
|
|
1253
|
-
'uM9VDcb0yxnRig1LC3nHz2uGAwq6ia',
|
|
1254
|
-
'ChvZAa',
|
|
1255
|
-
'Ahr0CdO',
|
|
1256
|
-
'DhjPBq',
|
|
1061
|
+
'mty4mJaXmfzIAuzJCq',
|
|
1257
1062
|
'BwvZC2fNzuLK',
|
|
1258
|
-
'
|
|
1259
|
-
'
|
|
1260
|
-
'
|
|
1261
|
-
'
|
|
1262
|
-
'
|
|
1263
|
-
'
|
|
1264
|
-
'
|
|
1063
|
+
'Bwv0yq',
|
|
1064
|
+
'CM9VDe1LC3nHz2vjza',
|
|
1065
|
+
'D29YA2vYCW',
|
|
1066
|
+
'iokaLca',
|
|
1067
|
+
'BgLZDfnLCNzLCG',
|
|
1068
|
+
'CMvJB3jK',
|
|
1069
|
+
'zM9Yy2vszwzYzxnO',
|
|
1070
|
+
'ywjVCNrLza',
|
|
1071
|
+
'BgLTAxq',
|
|
1072
|
+
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
1073
|
+
'DgHYzwfK',
|
|
1265
1074
|
'pgvTChr5pG',
|
|
1266
|
-
'
|
|
1267
|
-
'
|
|
1268
|
-
'
|
|
1269
|
-
'y3jLyxrLzef0',
|
|
1270
|
-
'nJHLwLjpDgq',
|
|
1271
|
-
'zxzLBNrtzxe',
|
|
1272
|
-
'BwvZC2fNzv9Pzhm',
|
|
1273
|
-
'zgf0yq',
|
|
1075
|
+
'C2nOzwr1BgvKrM9Y',
|
|
1076
|
+
'DgHYzwfKx3rHCMDLDa',
|
|
1077
|
+
'zMLSzv9WyxrO',
|
|
1274
1078
|
'Dw5JBgfPBvrHC2S',
|
|
1275
|
-
'
|
|
1276
|
-
'
|
|
1277
|
-
'
|
|
1278
|
-
'
|
|
1279
|
-
'
|
|
1280
|
-
'
|
|
1281
|
-
'
|
|
1282
|
-
'
|
|
1283
|
-
'
|
|
1284
|
-
'
|
|
1285
|
-
'
|
|
1286
|
-
'
|
|
1287
|
-
'zgvZDhjVEwvK',
|
|
1288
|
-
'w3nLCt0',
|
|
1289
|
-
'BgLTAxq',
|
|
1290
|
-
'igLUia',
|
|
1291
|
-
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
1292
|
-
'DgfZA19Pza',
|
|
1293
|
-
'z2v0tw9UDgG',
|
|
1294
|
-
'AxnbyNnVBhv0zq',
|
|
1295
|
-
'lcbWCMv2Awv3pq',
|
|
1296
|
-
'DhLWzq',
|
|
1297
|
-
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxjYB3i9',
|
|
1298
|
-
'BNvTyMvY',
|
|
1299
|
-
'vgfZAZOG',
|
|
1300
|
-
'DgHYzwfKvgfYz2v0',
|
|
1301
|
-
'D29YA2vY',
|
|
1302
|
-
'AxnbCNjHEq',
|
|
1303
|
-
'Aw1Hz2uVz2LM',
|
|
1304
|
-
'DgHYzwfKswq',
|
|
1305
|
-
'twvZC2fNzsbZzw50ihrVia',
|
|
1079
|
+
'CxvLDwvK',
|
|
1080
|
+
'l3DVCMTLCNmVCgfYAW',
|
|
1081
|
+
'C2XPy2u',
|
|
1082
|
+
'Aw5JBhvKzxm',
|
|
1083
|
+
'l3nLCNzLCG',
|
|
1084
|
+
'Bwf0y2Hoyw1L',
|
|
1085
|
+
'yxbWBgLJyxrPB24VEMLW',
|
|
1086
|
+
'otm1mdKYrKfbBxbw',
|
|
1087
|
+
'y2XHAw1uyxnRCW',
|
|
1088
|
+
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
1089
|
+
'ChvZAa',
|
|
1090
|
+
'AgfZ',
|
|
1306
1091
|
'D29YA2vYu2vZC2LVBKLK',
|
|
1307
|
-
'
|
|
1308
|
-
'
|
|
1309
|
-
'
|
|
1310
|
-
'
|
|
1311
|
-
'
|
|
1312
|
-
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
1313
|
-
'zgvZy3jPChrPB24',
|
|
1314
|
-
'lIbZDg9WtwfPBJ10CNvLigv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
1315
|
-
'Dg9mB3DLCKnHC2u',
|
|
1316
|
-
'yxjNDG',
|
|
1317
|
-
'DgfYz2v0zwq',
|
|
1318
|
-
'AwrLBxbVDgvUy3LFA2v5',
|
|
1319
|
-
'v29YA2vYici',
|
|
1320
|
-
'ngDpBu9WuG',
|
|
1321
|
-
'ywDNCMvNyxrLswq',
|
|
1322
|
-
'u2vUzcbHig1LC3nHz2uUieLMihzPC2LIAwXPDhKGAxmGB21PDhrLzcWGDgHLig1LC3nHz2uGAxmGChvIBgLJlIbjBIb0yxnRihrOCMvHzhmSihnLDcb2AxnPyMLSAxr5oIbHC2LKzsbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Gt3v0C2LKzsb0AhjLywrZlcbKBYbUB3qGC2v0ihzPC2LIAwXPDhKUifjLDxnLihrOzsbLEgfJDcb0yxjNzxqGC3rYAw5NigzYB20GAw5JB21PBMCGBwvZC2fNzxmU',
|
|
1323
|
-
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWGB3iGDgHYzwfKlIbuAhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPihjLDhvYBNmGDgHLihbHCMvUDcb0yxnRihbSDxmGAxrZihn1yNrHC2TZihDPDgGGywDNCMvNyxrPB24GzMLLBgrZicHJAgLSzhjLBLrVDgfSlcbJAgLSzhjLBKrVBMuSignOAwXKCMvUsw5qCM9NCMvZCYKUienOyw5UzwWGDgfYz2v0ihjLDhvYBNmGB25SEsbWyxjLBNqGDgfZA3mGkg5Vihn1yNrHC2TZks4',
|
|
1324
|
-
'lMrZy29Yza',
|
|
1325
|
-
'yMfZzw5HBwu',
|
|
1326
|
-
'D2fPDgLUz19PBNb1Da',
|
|
1327
|
-
'D29YA2vYx3nLC3nPB25FAwq',
|
|
1328
|
-
'B3jPz2LUywXgAwXLBMfTzq',
|
|
1329
|
-
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
1330
|
-
'uM9VDcb0yxnRig1LC3nHz2u6cG',
|
|
1331
|
-
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
1332
|
-
'AhjLzG',
|
|
1333
|
-
'AgvHzgvYCW',
|
|
1334
|
-
'ignSywLTzwq',
|
|
1335
|
-
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
1336
|
-
'y2HPBgrYzw5eB25L',
|
|
1337
|
-
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4GrM9Yihn1yNrHC2TZlcbHBhnVihbHC3mGC3vIDgfZA19UDw1IzxiU',
|
|
1338
|
-
'iYmJienOyw5UzwXZ',
|
|
1339
|
-
'zMLUza',
|
|
1340
|
-
'A2LUza',
|
|
1341
|
-
'C3rYAw5NAwz5',
|
|
1342
|
-
'zxjYB3i',
|
|
1343
|
-
'l2nVBNrLBNq',
|
|
1344
|
-
'CMvHzf9OAxn0B3j5',
|
|
1345
|
-
'DgfZA0LK',
|
|
1346
|
-
'y2HHBM5LBa',
|
|
1347
|
-
'l3jLy2vPDMu',
|
|
1348
|
-
'mZm3nJy2thj0CeHA',
|
|
1349
|
-
'odi3ntm3mhbcuKnkEG',
|
|
1350
|
-
'y29UDgvUDejHC2u2na',
|
|
1351
|
-
'D29YA19RzxK',
|
|
1352
|
-
'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
|
|
1353
|
-
'ywz0zxjtzxe',
|
|
1354
|
-
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
1355
|
-
'ue9tva',
|
|
1356
|
-
'y29UDgvUDfr5Cgu',
|
|
1357
|
-
'DMfSDwvZ',
|
|
1358
|
-
'DgHYzwfKx3rHCMDLDa',
|
|
1359
|
-
'vxbKyxrLihrHC2SGC3rHDhvZigj5ignOyw5UzwWGyw5KihrHC2SGBNvTyMvYlIbgB3iGC3vIDgfZA3mSigfSC28GCgfZCYbZDwj0yxnRx251BwjLCI4',
|
|
1360
|
-
'D29YA2vYCW',
|
|
1361
|
-
'C2nOzwr1BgvKrM9Y',
|
|
1362
|
-
'C3vIDgfZA19UDw1IzxjZ',
|
|
1363
|
-
'y2XHAw1FDgfZA3m',
|
|
1092
|
+
'lsaJ',
|
|
1093
|
+
'BMfTzq',
|
|
1094
|
+
'iYmJiefNzw50CW',
|
|
1095
|
+
'y2HHBM5LBhm',
|
|
1096
|
+
'igfSCMvHzhKGAgfZigfUigfJDgL2zsb3B3jRzxiUihn0B3bnywLUpxrYDwuGzxHLy3v0Aw9Utw9Kzt13B3jRzxi',
|
|
1364
1097
|
'C2L6zq',
|
|
1365
|
-
'
|
|
1098
|
+
'z2v0rgf0zq',
|
|
1099
|
+
'C2vUze1LC3nHz2u',
|
|
1100
|
+
'tM8GDgfZA3mGzM91BMqU',
|
|
1101
|
+
'DxbSB2fKx2zPBgu',
|
|
1102
|
+
'zxnJywXHDgvFDg9FBwfPBG',
|
|
1103
|
+
'BwLU',
|
|
1104
|
+
'CNvUswq',
|
|
1105
|
+
'v29YA2vYlw9UBhKUifbHCMSGDgHLign1CNjLBNqGD29YA2vYigXHBMuGywz0zxiGEw91igHHDMuGywXYzwfKEsbYzxbVCNrLzcbYzxn1BhrZigLUihrOAxmGDgHYzwfKlIbuAgLZigrVzxmGBM90igvUzcb0AguGC2vZC2LVBJSGC2fTzs10AhjLywqGzM9SBg93lxvWihDPBgWGCMvZDw1LihrOAxmGBgfUzs4',
|
|
1106
|
+
'igTPBMq9',
|
|
1107
|
+
'Dg9KBW',
|
|
1108
|
+
'iYmJieH1BwfUCW',
|
|
1109
|
+
'tM8GDgfZA3mGy3jLyxrLzc4',
|
|
1110
|
+
'zxHLy3v0Aw9Utw9Kzt0',
|
|
1111
|
+
'l2LUDgvYBMfSl2fNzw50lW',
|
|
1112
|
+
'Dw5RBM93BG',
|
|
1113
|
+
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
1114
|
+
'zgLZCg9ZAxrPB24',
|
|
1115
|
+
'Aw5KzxHpzG',
|
|
1116
|
+
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
1117
|
+
'iIbWyxjRzwqUifnHBwuTDgHYzwfKigzVBgXVDY11Ccb3AwXSihjLC3vTzsb0AgLZigXHBMuU',
|
|
1118
|
+
'yxr0ywnOBwvUDenHy2HL',
|
|
1119
|
+
't3jPz2LUywWGBwvZC2fNztOG',
|
|
1120
|
+
'xsbaC3LZDgvToIbBy2XHAw0TAgfUzg9MzL0G',
|
|
1121
|
+
'ig1LC3nHz2vZkqOk',
|
|
1122
|
+
'zg0T',
|
|
1123
|
+
'DgHYzwfKvgfYz2v0pq',
|
|
1124
|
+
'CMvHzf9OAxn0B3j5',
|
|
1125
|
+
'ls1PBML0AwfSlwXHC3qTC2vLBI1Zzxe',
|
|
1126
|
+
'ignSywLTzwq',
|
|
1127
|
+
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
1128
|
+
'zgvZy3jPyMu',
|
|
1129
|
+
'kgXLz2fJEsK',
|
|
1130
|
+
'rg93BMXVywrLzcb0BZOG',
|
|
1131
|
+
'yxbWBgLJyxrPB24VCgrM',
|
|
1132
|
+
'yxjNDG',
|
|
1133
|
+
'ls1Zzxj2zxiTDxjS',
|
|
1366
1134
|
'ANnVBG',
|
|
1367
|
-
'
|
|
1368
|
-
'
|
|
1369
|
-
'
|
|
1135
|
+
'zg9Uzq',
|
|
1136
|
+
'AwrSzq',
|
|
1137
|
+
'oIb3B3jRzxiGCNvUDgLTzsbTAxnZAw5NihDVCMTLCLrOCMvHzfrHCMDLDdSGy2fUBM90ihzHBgLKyxrLihnJB3bL',
|
|
1138
|
+
'C2vX',
|
|
1139
|
+
'yMvMB3jL',
|
|
1140
|
+
'zgf0yq',
|
|
1141
|
+
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
1142
|
+
'l3jLC29SDMuTy2HHBM5LBa',
|
|
1143
|
+
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
1144
|
+
'y29UDgvUDejHC2u2na',
|
|
1145
|
+
'C3vJy2vZCW',
|
|
1146
|
+
'rg8GBM90ihnLBMqGzNvYDgHLCIbTzxnZywDLCYb0BYb0AgLZihrOCMvHzcdIGjqGDgHLihDVCMTLCIbPCYbOyw5KBgLUzYbPDc4',
|
|
1147
|
+
'oevuyxDhDG',
|
|
1148
|
+
'sfruuca',
|
|
1149
|
+
'Dgv4Dc9JC3y',
|
|
1370
1150
|
'CMvZDwX0CW',
|
|
1371
|
-
'
|
|
1372
|
-
'
|
|
1373
|
-
'
|
|
1374
|
-
'
|
|
1375
|
-
'
|
|
1376
|
-
'
|
|
1377
|
-
'D29YA2vYsgfUzg9MzG',
|
|
1378
|
-
'y2XPzw50',
|
|
1379
|
-
'DxrMoa',
|
|
1380
|
-
'DgfZA051BwjLCG',
|
|
1381
|
-
'CM9VDe1LC3nHz2vjza',
|
|
1382
|
-
'rg93BMXVywrLzcb0BZOG',
|
|
1383
|
-
'C2vYDMvYtMfTzq',
|
|
1384
|
-
'rMLSzsbZAxPLigv4y2vLzhmGBgLTAxq6ia',
|
|
1151
|
+
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
1152
|
+
'DMLLD19MAwXLigzHAwXLza',
|
|
1153
|
+
'Bg9JywXLq29TCgfYzq',
|
|
1154
|
+
'l3jLy2vPDMu/',
|
|
1155
|
+
'zNjVBq',
|
|
1156
|
+
'tM8GDgfZA3mGy2XHAw1Lzc4',
|
|
1385
1157
|
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
1386
|
-
'
|
|
1387
|
-
'
|
|
1388
|
-
'tM8GDgfZA3mGzM91BMqU',
|
|
1389
|
-
'l3rHC2TZpW',
|
|
1390
|
-
'zg0T',
|
|
1391
|
-
'Ahr0Chm6',
|
|
1392
|
-
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
1393
|
-
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
1394
|
-
'BgLZDf9Zzxj2zxi',
|
|
1395
|
-
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
1396
|
-
'CMvXDwvZDfvYBa',
|
|
1397
|
-
'zMv0y2HjBxbS',
|
|
1398
|
-
'DxjNzw50',
|
|
1399
|
-
'Aw1Hz2uVANbLzW',
|
|
1158
|
+
'AhvTyw4',
|
|
1159
|
+
'BwvZC2fNzq',
|
|
1400
1160
|
'cGOTls0G',
|
|
1401
|
-
'
|
|
1402
|
-
'
|
|
1403
|
-
'
|
|
1161
|
+
'ywDNCMvNyxrLswq',
|
|
1162
|
+
'Aw5FChjVz3jLC3m',
|
|
1163
|
+
'C2LNBMfS',
|
|
1164
|
+
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
1165
|
+
'zMLSzw5HBwu',
|
|
1166
|
+
'zg93BMXVywrbDhrHy2HTzw50',
|
|
1404
1167
|
'l3vWBg9Hza',
|
|
1405
|
-
'
|
|
1406
|
-
'
|
|
1407
|
-
'
|
|
1408
|
-
'
|
|
1168
|
+
'v29YA2vYici',
|
|
1169
|
+
'vgHYzwfKihrHCMDLDdOG',
|
|
1170
|
+
't3b0Aw9UywWUieLMig9TAxr0zwqSihrOzsbTzxnZywDLigLZihb1yMXPyY4Gsw4GDgfZAYb0AhjLywrZlcbZzxqGiMfZAwrLiIbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Grg8GBM90ihnLDcbVDxrZAwrLihrOCMvHzhmU',
|
|
1171
|
+
'w3rHCMDLDd0',
|
|
1172
|
+
'zw50zxiTAgfUzg9MzIbMywLSzwq',
|
|
1173
|
+
'Bg93',
|
|
1174
|
+
'DgfZA3m',
|
|
1175
|
+
'twLZC2LUzYaTlwfNzw50lwLK',
|
|
1176
|
+
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxjYB3i9',
|
|
1177
|
+
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWGB3iGDgHYzwfKlIbuAhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPihjLDhvYBNmGDgHLihbHCMvUDcb0yxnRihbSDxmGAxrZihn1yNrHC2TZihDPDgGGywDNCMvNyxrPB24GzMLLBgrZicHJAgLSzhjLBLrVDgfSlcbJAgLSzhjLBKrVBMuSignOAwXKCMvUsw5qCM9NCMvZCYKUienOyw5UzwWGDgfYz2v0ihjLDhvYBNmGB25SEsbWyxjLBNqGDgfZA3mGkg5Vihn1yNrHC2TZks4',
|
|
1178
|
+
'zxzLBNrtzxe',
|
|
1179
|
+
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
1180
|
+
'Aw1Hz2uVD2vICa',
|
|
1181
|
+
'ywrKrxzLBNrmAxn0zw5LCG',
|
|
1409
1182
|
'CgfYA193B3jRzxi',
|
|
1410
|
-
'
|
|
1411
|
-
'
|
|
1183
|
+
'rMLSzsb1CgXVywrLzdOG',
|
|
1184
|
+
'D29YA2vY',
|
|
1185
|
+
'twLZC2LUzYaTlwrHzw1VBI1HCgKTA2v5',
|
|
1412
1186
|
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw5UB3qGy2XHAw0GyNKGBwvZC2fNzv9PzhmGkhrVCc1SzxzLBcbTzxnZywDLihbYB21VDgLVBIbPCYbTywLUlwfNzw50ig9UBhKPoYb1C2uGC3vIDgfZA19UDw1IzxjZigLUC2LKzsb5B3vYig93BIb0yxnRihrOCMvHzc4',
|
|
1413
|
-
'
|
|
1414
|
-
'
|
|
1415
|
-
'
|
|
1416
|
-
'
|
|
1417
|
-
'
|
|
1418
|
-
'
|
|
1419
|
-
'
|
|
1420
|
-
'
|
|
1421
|
-
'
|
|
1187
|
+
'mty5nti5mefICfDTuW',
|
|
1188
|
+
'odKWnJe0zNrTugvd',
|
|
1189
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
1190
|
+
'DgHYzwfKtNvTyMvY',
|
|
1191
|
+
'ywDLBNrjza',
|
|
1192
|
+
'ywrK',
|
|
1193
|
+
'ls13B3jRzxiTBw9Kzq',
|
|
1194
|
+
'C2vUzgvYtMfTzq',
|
|
1195
|
+
'BM93',
|
|
1196
|
+
'D29YA2vYrgLZCg9ZAxrPB249',
|
|
1197
|
+
'CNvUBMLUzW',
|
|
1198
|
+
'CgfYDgLJAxbHBNq',
|
|
1199
|
+
'D29YA2vYsgfUzg9MzKvYCM9Y',
|
|
1200
|
+
'C3rHCNrLza',
|
|
1201
|
+
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
1202
|
+
'Aw1Hz2uVz2LM',
|
|
1203
|
+
'y2HLy2TFBwvZC2fNzxmGzMfPBgvK',
|
|
1204
|
+
'C2vZC2LVBKLK',
|
|
1205
|
+
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4Gsw4Gysb0AhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPlcbJCMvHDgvZihn1yNrHC2TZihvUzgvYihrOzsbLEgLZDgLUzYbWyxjLBNqGDgfZAY4',
|
|
1422
1206
|
'CMvHzeHPC3rVCNK',
|
|
1423
|
-
'
|
|
1424
|
-
'
|
|
1425
|
-
'
|
|
1426
|
-
'
|
|
1427
|
-
'
|
|
1428
|
-
'
|
|
1429
|
-
'
|
|
1430
|
-
'
|
|
1431
|
-
'
|
|
1207
|
+
'Bwf4',
|
|
1208
|
+
'zMLUza',
|
|
1209
|
+
'BwvTyMvYCW',
|
|
1210
|
+
'BMv4Den1CNnVCG',
|
|
1211
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmVy2XHAw0',
|
|
1212
|
+
'ywDLBNq',
|
|
1213
|
+
'l3rHC2TZ',
|
|
1214
|
+
'ywz0zxi',
|
|
1215
|
+
'uM9VDcb0yxnRig1LC3nHz2u6cG',
|
|
1216
|
+
'C3vIDgfZA19UDw1IzxjZ',
|
|
1432
1217
|
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
1433
|
-
'
|
|
1434
|
-
'
|
|
1435
|
-
'
|
|
1436
|
-
'
|
|
1437
|
-
'
|
|
1438
|
-
'
|
|
1439
|
-
'
|
|
1440
|
-
'
|
|
1441
|
-
'
|
|
1442
|
-
'
|
|
1443
|
-
'
|
|
1444
|
-
'
|
|
1445
|
-
'
|
|
1446
|
-
'
|
|
1447
|
-
'
|
|
1448
|
-
'
|
|
1218
|
+
'y2HHBM5LBeLK',
|
|
1219
|
+
'ywz0zxjtzxe',
|
|
1220
|
+
'DgHYzwfKu2HVCNrjza',
|
|
1221
|
+
'AwrLBxbVDgvUy3LFA2v5',
|
|
1222
|
+
'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
|
|
1223
|
+
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
1224
|
+
'ihr5Cgu9ywDLBNq',
|
|
1225
|
+
'6k+35Rgcia',
|
|
1226
|
+
'y29UBMvJDa',
|
|
1227
|
+
'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
|
|
1228
|
+
'zxH0BMfTzq',
|
|
1229
|
+
'y29UDgvUDc10ExbL',
|
|
1230
|
+
'uefuq0G',
|
|
1231
|
+
'zgfLBw9UqxbPs2v5',
|
|
1232
|
+
'lsba',
|
|
1233
|
+
'yxr0ywnOBwvUDenHy2HLrgLY',
|
|
1234
|
+
'yxnPzgu',
|
|
1449
1235
|
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
1450
|
-
'
|
|
1451
|
-
'
|
|
1452
|
-
'
|
|
1453
|
-
'
|
|
1236
|
+
'y29UDgvUDfr5Cgu',
|
|
1237
|
+
'lcbJB250zw50lxr5Cgu9',
|
|
1238
|
+
'vxbKyxrLihrHC2SGC3rHDhvZigj5ignOyw5UzwWGyw5KihrHC2SGBNvTyMvYlIbgB3iGC3vIDgfZA3mSigfSC28GCgfZCYbZDwj0yxnRx251BwjLCI4Gv2HLBIbTB3zPBMCGD29YAYb0BYbPBL9YzxzPzxCSignOzwnRihLVDxiGBwvTB3j5ig9YignOyw5UzwWGCNvSzxmGyw5KihnLBMqGysbYzxzPzxDLCIbTzw50Aw9UihLVDxjZzwXMihDOzw4GyxbWCM9WCMLHDguU',
|
|
1239
|
+
'yxr0ywnOBwvUDeLK',
|
|
1240
|
+
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
1241
|
+
'DxbKyxrLvgfZA1n0yxr1CW',
|
|
1242
|
+
'B3b0Aw9UywW',
|
|
1243
|
+
'DMLLD19MAwXL',
|
|
1244
|
+
'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
|
|
1245
|
+
'yxr0ywnOBwvUDf9Pza',
|
|
1246
|
+
'ywXS',
|
|
1247
|
+
'lIbnzxnZywDLieLeoIa',
|
|
1248
|
+
'Cgf5Bg9HzePZB24',
|
|
1249
|
+
'C2vUzgvYvhLWzq',
|
|
1250
|
+
'yM9KEvrLEhq',
|
|
1251
|
+
'zw50CMLLCW',
|
|
1252
|
+
'BgLZDf90yxnRCW',
|
|
1253
|
+
'EM9K',
|
|
1454
1254
|
'mc4WlJa',
|
|
1455
|
-
'
|
|
1456
|
-
'
|
|
1457
|
-
'
|
|
1458
|
-
'
|
|
1459
|
-
'
|
|
1460
|
-
'
|
|
1461
|
-
'
|
|
1462
|
-
'
|
|
1463
|
-
'
|
|
1464
|
-
'
|
|
1465
|
-
'
|
|
1466
|
-
'
|
|
1467
|
-
'
|
|
1468
|
-
'
|
|
1469
|
-
'
|
|
1470
|
-
'
|
|
1471
|
-
'
|
|
1472
|
-
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
1473
|
-
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
1474
|
-
'Dw5JBgfPBv90yxnR',
|
|
1475
|
-
'DgHYzwfKu2HVCNrjza',
|
|
1255
|
+
'zxHLy3v0Aw9Utw9Kzq',
|
|
1256
|
+
'lMjPBG',
|
|
1257
|
+
'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
|
|
1258
|
+
'DgvZDa',
|
|
1259
|
+
'Ahr0CdO',
|
|
1260
|
+
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
1261
|
+
'u2vUzcbHig1LC3nHz2uUieLMihzPC2LIAwXPDhKGAxmGB21PDhrLzcWGDgHLig1LC3nHz2uGAxmGChvIBgLJlIbjBIb0yxnRihrOCMvHzhmSihnLDcb2AxnPyMLSAxr5oIbHC2LKzsbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Gt3v0C2LKzsb0AhjLywrZlcbKBYbUB3qGC2v0ihzPC2LIAwXPDhKUifjLDxnLihrOzsbLEgfJDcb0yxjNzxqGC3rYAw5NigzYB20GAw5JB21PBMCGBwvZC2fNzxmU',
|
|
1262
|
+
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
1263
|
+
's0iPcKf0DgfJAg1LBNqGsuq6ia',
|
|
1264
|
+
'AhvTyw5Z',
|
|
1265
|
+
'C2HHmJu2',
|
|
1266
|
+
'ChvIBgLJ',
|
|
1267
|
+
'z2v0',
|
|
1268
|
+
'zMfSC2u',
|
|
1269
|
+
'CMvHC29U',
|
|
1270
|
+
'z2v0sg91CNm',
|
|
1271
|
+
'D29YA2vYsgfUzg9MzG',
|
|
1476
1272
|
'DxbSB2fKrMLSzq',
|
|
1477
|
-
'
|
|
1478
|
-
'
|
|
1479
|
-
'
|
|
1480
|
-
'
|
|
1273
|
+
'yMfZzty0',
|
|
1274
|
+
'oIb3B3jRzxiGy2fUig9UBhKGB3bLCMf0zsbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcaO',
|
|
1275
|
+
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
1276
|
+
'y2f0y2G',
|
|
1277
|
+
'ig1LC3nHz2vZihnOB3DUlIbvC2uGyMvMB3jLpq',
|
|
1278
|
+
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
1279
|
+
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
1280
|
+
'Aw5FCMv2Awv3',
|
|
1281
|
+
'zg06',
|
|
1282
|
+
'DxnLCG',
|
|
1283
|
+
'y3jLyxrLzef0',
|
|
1284
|
+
'nJC3mtiWnuPSAKD0vW',
|
|
1285
|
+
'DhjPBq',
|
|
1286
|
+
'uM9VDcb0yxnRig1LC3nHz2uGAwq6ia',
|
|
1287
|
+
'A2LUza',
|
|
1288
|
+
'ihrPBwu9',
|
|
1289
|
+
'l3n0yxj0',
|
|
1290
|
+
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
1481
1291
|
'y2HPBgrYzw5uB3rHBa',
|
|
1482
|
-
'
|
|
1483
|
-
'
|
|
1484
|
-
'
|
|
1292
|
+
'yxr0ywnOBwvUDhm',
|
|
1293
|
+
'C2f2zq',
|
|
1294
|
+
'4PQG77IpifDpuKTfuIbbq1rjvKfuruqG4Ocuifn0B3aGquXmihDVCMSGB24GDgHPCYb0yxnRigLTBwvKAwf0zwX5lIbeBYbUB3qGC2vUzcbMDxj0AgvYig1LC3nHz2vZihrVihrOAxmGDgHYzwfKlG',
|
|
1295
|
+
'y29UDgvUDa',
|
|
1485
1296
|
'C3rHCNrZv2L0Aa',
|
|
1486
|
-
'
|
|
1487
|
-
'
|
|
1488
|
-
'
|
|
1489
|
-
'
|
|
1490
|
-
'
|
|
1297
|
+
'C3rVCe1HAw49Dhj1zq',
|
|
1298
|
+
'y2XHAw0GzMfPBgvK',
|
|
1299
|
+
'y2XHAw1FDgfZA3m',
|
|
1300
|
+
'BgLZDf90yxnRCYbMywLSzwq',
|
|
1301
|
+
'yxjYyxK',
|
|
1302
|
+
'C29YDa',
|
|
1303
|
+
'zMLUzenHy2HLzfbHDgG',
|
|
1304
|
+
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
1305
|
+
'C2vUzf9TzxnZywDL',
|
|
1306
|
+
'zgvZy3jPChrPB24',
|
|
1307
|
+
'D29YA2vYtw9KzuvUywjSzwq',
|
|
1308
|
+
'CgfYC2u',
|
|
1309
|
+
'y2HHBM5LBfrHCMDLDa',
|
|
1310
|
+
'igrVBMuP',
|
|
1311
|
+
'ls13B3jRzxiTC2vZC2LVBI1Pza',
|
|
1312
|
+
'yM9KEu1HCMTKB3DU',
|
|
1313
|
+
'l3rHC2TZl3vUy2XHAw0',
|
|
1314
|
+
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
1315
|
+
'vgfZAYa',
|
|
1316
|
+
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
|
|
1317
|
+
'Bgf0zxn0u2vX',
|
|
1318
|
+
'mJK0nZqWzwvjvgjn',
|
|
1491
1319
|
'D3m6',
|
|
1492
|
-
'
|
|
1320
|
+
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
1321
|
+
'zgvSzxrL',
|
|
1493
1322
|
'yxr0ywnOBwvUDf9Pzhm',
|
|
1323
|
+
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
1324
|
+
'twvZC2fNzsbZzw50ihrVia',
|
|
1325
|
+
'z2v0rNvSBfLLyxi',
|
|
1326
|
+
'Dg9ju09tDhjPBMC',
|
|
1327
|
+
'ig1LC3nHz2u9',
|
|
1328
|
+
'zxHWAxjLC0f0',
|
|
1329
|
+
'ktSGz290ignOyw5UzwW9',
|
|
1330
|
+
'r0vu',
|
|
1331
|
+
'Aw1Hz2uVANbLzW',
|
|
1332
|
+
'D29YA2vYtw9Kzq',
|
|
1333
|
+
'Dgv4Da',
|
|
1334
|
+
'DhLWzq',
|
|
1335
|
+
'igzHAwXLzdOG',
|
|
1336
|
+
'DMLZAwjPBgL0Eq',
|
|
1337
|
+
'CMvZB2X2zvrHCMDLDa',
|
|
1338
|
+
'Dw5JBgfPBv90yxnRoIb3B3jRzxiGy2fUig9UBhKGDw5JBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCI4',
|
|
1339
|
+
'yxr0ywnOBwvUDeLKCW',
|
|
1340
|
+
'ywjVCNq',
|
|
1341
|
+
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
1342
|
+
'DMfSDwu',
|
|
1343
|
+
'Dg9VBa',
|
|
1344
|
+
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4GrM9Yihn1yNrHC2TZlcbHBhnVihbHC3mGC3vIDgfZA19UDw1IzxiU',
|
|
1345
|
+
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
1346
|
+
'z2v0u2vJB25KCW',
|
|
1347
|
+
'Bwf0y2Hoyw1Ltg93zxi',
|
|
1348
|
+
'y3vYC29Y',
|
|
1349
|
+
'l2nVBNrLBNq',
|
|
1350
|
+
'iYmJienOyw5UzwXZ',
|
|
1351
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxm',
|
|
1352
|
+
'AxngAw5PDgu',
|
|
1353
|
+
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
1354
|
+
'DgHYzwfKswq',
|
|
1355
|
+
'BwfW',
|
|
1356
|
+
'Axnoyu4',
|
|
1357
|
+
'DgfZAW',
|
|
1358
|
+
'C3rYAw5NAwz5',
|
|
1359
|
+
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
1360
|
+
'ue9tva',
|
|
1494
1361
|
'kg5VBMuP',
|
|
1495
|
-
'
|
|
1496
|
-
'
|
|
1497
|
-
'
|
|
1498
|
-
'
|
|
1499
|
-
'
|
|
1500
|
-
'
|
|
1501
|
-
'
|
|
1502
|
-
'
|
|
1503
|
-
'
|
|
1504
|
-
'
|
|
1505
|
-
'
|
|
1506
|
-
'
|
|
1507
|
-
'BwvTyMvY',
|
|
1508
|
-
'C2vX',
|
|
1362
|
+
'AM9PBG',
|
|
1363
|
+
'ls1KywvTB24TBg9JywWTDxjS',
|
|
1364
|
+
'ywDLBNrZ',
|
|
1365
|
+
'icHPzdO',
|
|
1366
|
+
'BNvTyMvY',
|
|
1367
|
+
'DgfZA051BwjLCG',
|
|
1368
|
+
'C2vYDMvY',
|
|
1369
|
+
'BgvUz3rO',
|
|
1370
|
+
'Agv4',
|
|
1371
|
+
'l3jLy2vPDMu',
|
|
1372
|
+
'CMvWBgfJzq',
|
|
1373
|
+
'lcbWCMv2Awv3pq',
|
|
1509
1374
|
'AgfZtw9Yzq',
|
|
1375
|
+
'ChjVDg9JB2W',
|
|
1376
|
+
'C3rHDhvZ',
|
|
1377
|
+
'yxbWBgLJyxrPB24VANnVBG',
|
|
1378
|
+
'lMrZy29Yza',
|
|
1379
|
+
'C3vIDgfZA051BwjLCG',
|
|
1380
|
+
'cKLMihLVDxiGBwvTB3j5ig9YignOyw5UzwWGCNvSzxmGCMvXDwLYzsbYzxzPzxCSihnLBMqGysbTzxnZywDLig1LBNrPB25PBMCGDgHLihjLDMLLD2vYigjLzM9YzsbWyxjRAw5NlG',
|
|
1381
|
+
'ywDNCMvNyxrLvhLWzq',
|
|
1382
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
1383
|
+
'ihn0yxr1CZ0',
|
|
1384
|
+
'sw52ywXPzcaTlwLUAxrPywWTBgfZDc1ZzwvUlxnLCq',
|
|
1510
1385
|
'y2HLy2TFBwvZC2fNzxm',
|
|
1511
|
-
'
|
|
1386
|
+
'l3rHC2TZpW',
|
|
1387
|
+
'CgfYC2vjBNq',
|
|
1388
|
+
'D29YA19RzxK',
|
|
1512
1389
|
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
1513
|
-
'
|
|
1514
|
-
'
|
|
1515
|
-
'
|
|
1516
|
-
'
|
|
1517
|
-
'CMvWBgfJzq',
|
|
1518
|
-
'zMLSzv9WyxrO',
|
|
1519
|
-
'Aw5FCMv2Awv3'
|
|
1390
|
+
'B2jQzwn0',
|
|
1391
|
+
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
1392
|
+
'mJa4ndm4mNbbExP6uq',
|
|
1393
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu'
|
|
1520
1394
|
];
|
|
1521
|
-
|
|
1522
|
-
return
|
|
1395
|
+
_0x7a96 = function () {
|
|
1396
|
+
return _0x9c9c9e;
|
|
1523
1397
|
};
|
|
1524
|
-
return
|
|
1398
|
+
return _0x7a96();
|
|
1525
1399
|
}
|
|
1526
|
-
function
|
|
1527
|
-
const
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1400
|
+
function toLocalTime(_0x342339) {
|
|
1401
|
+
const _0x101cd2 = {
|
|
1402
|
+
_0x1dccef: 0x29c,
|
|
1403
|
+
_0x4e668c: 0x27d,
|
|
1404
|
+
_0x293127: 0x19a,
|
|
1405
|
+
_0x90042b: 0x246,
|
|
1406
|
+
_0x5a5ba3: 0x292
|
|
1407
|
+
}, _0x1568d0 = _0x36c0a2, _0xbb376d = new Date(_0x342339);
|
|
1408
|
+
if (Number[_0x1568d0(_0x101cd2._0x1dccef)](_0xbb376d['getTime']()))
|
|
1409
|
+
return _0x342339;
|
|
1410
|
+
const _0x467c1a = _0x39ffc3 => String(_0x39ffc3)['padStart'](0x2, '0');
|
|
1411
|
+
return _0xbb376d[_0x1568d0(_0x101cd2._0x4e668c)]() + '-' + _0x467c1a(_0xbb376d['getMonth']() + 0x1) + '-' + _0x467c1a(_0xbb376d[_0x1568d0(_0x101cd2._0x293127)]()) + '\x20' + _0x467c1a(_0xbb376d[_0x1568d0(_0x101cd2._0x90042b)]()) + ':' + _0x467c1a(_0xbb376d['getMinutes']()) + ':' + _0x467c1a(_0xbb376d[_0x1568d0(_0x101cd2._0x5a5ba3)]());
|
|
1412
|
+
}
|
|
1413
|
+
function formatAttachmentSuffix(_0x2749c0) {
|
|
1414
|
+
const _0x231837 = {
|
|
1415
|
+
_0x5bc0be: 0x29b,
|
|
1416
|
+
_0x3c4e13: 0x2df
|
|
1417
|
+
}, _0x46ba5 = _0x36c0a2;
|
|
1418
|
+
if (!_0x2749c0 || _0x2749c0['length'] === 0x0)
|
|
1419
|
+
return '';
|
|
1420
|
+
return '\x20[' + _0x2749c0[_0x46ba5(0x2a9)] + '\x20attachment' + (_0x2749c0['length'] > 0x1 ? 's' : '') + ':\x20' + _0x2749c0[_0x46ba5(_0x231837._0x5bc0be)](_0x12e363 => _0x12e363[_0x46ba5(0x1dd)] + _0x46ba5(0x2a5) + _0x12e363['id'] + ')')['join'](',\x20') + _0x46ba5(_0x231837._0x3c4e13);
|
|
1421
|
+
}
|
|
1422
|
+
function formatCheckMessages(_0xecc93) {
|
|
1423
|
+
const _0x55d42a = { _0x53a77f: 0x2a2 }, _0x56bb65 = {
|
|
1424
|
+
_0x349f1f: 0x231,
|
|
1425
|
+
_0x482080: 0x20c,
|
|
1426
|
+
_0x1dbf92: 0x1a2,
|
|
1427
|
+
_0x4f6972: 0x176,
|
|
1428
|
+
_0x4cc0f6: 0x1fa,
|
|
1429
|
+
_0x202c7a: 0x25c
|
|
1430
|
+
}, _0x58a4b3 = _0x36c0a2;
|
|
1431
|
+
if (_0xecc93[_0x58a4b3(0x2a9)] === 0x0)
|
|
1432
|
+
return _0x58a4b3(0x201);
|
|
1433
|
+
return _0xecc93[_0x58a4b3(0x29b)](_0x3a058 => {
|
|
1434
|
+
const _0x2c78b3 = _0x58a4b3, _0x3d9685 = _0x3a058[_0x2c78b3(_0x56bb65._0x349f1f)] === _0x2c78b3(_0x56bb65._0x482080) ? _0x2c78b3(0x218) : '', _0x2fc3df = _0x3a058['kind'] && _0x3a058['kind'] !== _0x2c78b3(0x160) ? _0x2c78b3(_0x56bb65._0x1dbf92) + _0x3a058[_0x2c78b3(0x257)] : '';
|
|
1435
|
+
return _0x2c78b3(0x1e3) + _0x3a058['target'] + _0x2c78b3(0x15f) + _0x3a058[_0x2c78b3(_0x56bb65._0x4f6972)][_0x2c78b3(0x189)](0x0, 0x8) + _0x2c78b3(0x258) + toLocalTime(_0x3a058[_0x2c78b3(0x253)]) + _0x3d9685 + _0x2fc3df + _0x2c78b3(0x2c8) + _0x3a058[_0x2c78b3(_0x56bb65._0x4cc0f6)] + ':\x20' + _0x3a058[_0x2c78b3(0x25f)] + formatAttachmentSuffix(_0x3a058[_0x2c78b3(_0x56bb65._0x202c7a)]);
|
|
1436
|
+
})[_0x58a4b3(_0x55d42a._0x53a77f)]('\x0a');
|
|
1437
|
+
}
|
|
1438
|
+
function formatHistory(_0x272df9) {
|
|
1439
|
+
const _0x1b005a = {
|
|
1440
|
+
_0x3da3db: 0x2a9,
|
|
1441
|
+
_0x22ef73: 0x2bf,
|
|
1442
|
+
_0x2371f7: 0x29b,
|
|
1443
|
+
_0x4a4612: 0x24d,
|
|
1444
|
+
_0xcf9313: 0x20a,
|
|
1445
|
+
_0x18306a: 0x2cf
|
|
1446
|
+
}, _0xb9ba3a = {
|
|
1447
|
+
_0x22769c: 0x231,
|
|
1448
|
+
_0x53a767: 0x257,
|
|
1449
|
+
_0x179b92: 0x257,
|
|
1450
|
+
_0x44b65e: 0x160,
|
|
1451
|
+
_0x1ca0bc: 0x257,
|
|
1452
|
+
_0x388ce3: 0x1c2,
|
|
1453
|
+
_0xdec841: 0x253
|
|
1454
|
+
}, _0x44df36 = _0x36c0a2;
|
|
1455
|
+
if (_0x272df9['messages'][_0x44df36(_0x1b005a._0x3da3db)] === 0x0)
|
|
1456
|
+
return '##\x20Message\x20History\x20for\x20' + _0x272df9[_0x44df36(0x2e0)] + _0x44df36(_0x1b005a._0x22ef73);
|
|
1457
|
+
const _0x559c9b = _0x272df9[_0x44df36(0x170)][_0x44df36(_0x1b005a._0x2371f7)](_0x16d752 => {
|
|
1458
|
+
const _0x36562e = _0x44df36, _0x30fae1 = _0x16d752[_0x36562e(_0xb9ba3a._0x22769c)] === _0x36562e(0x20c) ? _0x36562e(0x218) : '', _0x224490 = _0x16d752[_0x36562e(_0xb9ba3a._0x53a767)] && _0x16d752[_0x36562e(_0xb9ba3a._0x179b92)] !== _0x36562e(_0xb9ba3a._0x44b65e) ? '\x20kind=' + _0x16d752[_0x36562e(_0xb9ba3a._0x1ca0bc)] : '';
|
|
1459
|
+
return _0x36562e(0x2ce) + _0x16d752[_0x36562e(_0xb9ba3a._0x388ce3)] + '\x20msg=' + _0x16d752[_0x36562e(0x176)] + _0x36562e(0x258) + toLocalTime(_0x16d752[_0x36562e(_0xb9ba3a._0xdec841)]) + _0x30fae1 + _0x224490 + _0x36562e(0x2c8) + _0x16d752[_0x36562e(0x1fa)] + ':\x20' + _0x16d752[_0x36562e(0x25f)] + formatAttachmentSuffix(_0x16d752['attachments']);
|
|
1460
|
+
})['join']('\x0a'), _0x116d5c = _0x272df9[_0x44df36(0x2ae)] && _0x272df9[_0x44df36(0x20a)] ? _0x44df36(0x1d8) + _0x272df9[_0x44df36(0x170)]['length'] + _0x44df36(_0x1b005a._0x4a4612) + _0x272df9[_0x44df36(_0x1b005a._0xcf9313)] + _0x44df36(0x1ac) : '';
|
|
1461
|
+
return _0x44df36(_0x1b005a._0x18306a) + _0x272df9[_0x44df36(0x2e0)] + '\x20(' + _0x272df9[_0x44df36(0x170)][_0x44df36(_0x1b005a._0x3da3db)] + _0x44df36(0x1b1) + _0x559c9b + _0x116d5c;
|
|
1462
|
+
}
|
|
1463
|
+
function formatServerDirectory(_0x2cd617) {
|
|
1464
|
+
const _0x464092 = {
|
|
1465
|
+
_0x848a11: 0x197,
|
|
1466
|
+
_0x2b6dda: 0x2a4,
|
|
1467
|
+
_0x37fce3: 0x2a4,
|
|
1468
|
+
_0x3a9c0e: 0x2a2,
|
|
1469
|
+
_0x52141f: 0x2a1,
|
|
1470
|
+
_0x31fb07: 0x1a4
|
|
1471
|
+
}, _0x49b50a = _0x36c0a2, _0x2edefd = _0x2cd617[_0x49b50a(_0x464092._0x848a11)][_0x49b50a(0x2a9)] > 0x0 ? _0x2cd617['channels'][_0x49b50a(0x29b)](_0x57b517 => _0x57b517[_0x49b50a(0x26a)] ? _0x49b50a(0x194) + _0x57b517['name'] + _0x49b50a(0x17a) + _0x57b517['description'] : _0x49b50a(0x194) + _0x57b517[_0x49b50a(0x195)])[_0x49b50a(0x2a2)]('\x0a') : _0x49b50a(0x2a1), _0x232378 = _0x2cd617[_0x49b50a(_0x464092._0x2b6dda)]['length'] > 0x0 ? _0x2cd617[_0x49b50a(_0x464092._0x37fce3)][_0x49b50a(0x29b)](_0xaaed6e => '-\x20@' + _0xaaed6e[_0x49b50a(0x195)])[_0x49b50a(_0x464092._0x3a9c0e)]('\x0a') : _0x49b50a(_0x464092._0x52141f), _0x20998e = _0x2cd617[_0x49b50a(0x240)][_0x49b50a(0x2a9)] > 0x0 ? _0x2cd617['humans'][_0x49b50a(0x29b)](_0x8e9cac => _0x49b50a(0x220) + _0x8e9cac[_0x49b50a(0x195)])[_0x49b50a(_0x464092._0x3a9c0e)]('\x0a') : _0x49b50a(0x2a1);
|
|
1472
|
+
return [
|
|
1473
|
+
'##\x20Server:\x20' + _0x2cd617['serverName'],
|
|
1474
|
+
'',
|
|
1475
|
+
_0x49b50a(0x296),
|
|
1476
|
+
_0x2edefd,
|
|
1477
|
+
'',
|
|
1478
|
+
_0x49b50a(0x196),
|
|
1479
|
+
_0x232378,
|
|
1480
|
+
'',
|
|
1481
|
+
_0x49b50a(_0x464092._0x31fb07),
|
|
1482
|
+
_0x20998e
|
|
1483
|
+
][_0x49b50a(0x2a2)]('\x0a');
|
|
1484
|
+
}
|
|
1485
|
+
function formatUploadResult(_0x2bc29d) {
|
|
1486
|
+
const _0x46a5d8 = {
|
|
1487
|
+
_0x3c9594: 0x2de,
|
|
1488
|
+
_0x359777: 0x23f
|
|
1489
|
+
}, _0x352909 = _0x36c0a2;
|
|
1490
|
+
return _0x352909(0x1ef) + _0x2bc29d[_0x352909(0x1dd)] + '\x20(' + (_0x2bc29d['sizeBytes'] / 0x400)[_0x352909(_0x46a5d8._0x3c9594)](0x1) + _0x352909(_0x46a5d8._0x359777) + _0x2bc29d[_0x352909(0x227)] + '\x0a\x0aUse\x20this\x20ID\x20in\x20send_message\x27s\x20attachment_ids\x20parameter\x20to\x20include\x20it\x20in\x20a\x20message.';
|
|
1491
|
+
}
|
|
1492
|
+
function formatViewFileResult(_0x40f2e7, _0x55f5d5) {
|
|
1493
|
+
const _0x3e8a7c = _0x36c0a2;
|
|
1494
|
+
return _0x55f5d5 ? 'File\x20already\x20cached\x20at:\x20' + _0x40f2e7 : _0x3e8a7c(0x1ba) + _0x40f2e7;
|
|
1495
|
+
}
|
|
1496
|
+
function formatTaskList(_0x40b1e1, _0x2b32a2) {
|
|
1497
|
+
const _0x41f9f9 = { _0x33d7d2: 0x2a9 }, _0x216fec = {
|
|
1498
|
+
_0x5ccd5c: 0x1b9,
|
|
1499
|
+
_0x454e79: 0x2a7,
|
|
1500
|
+
_0x71990: 0x176,
|
|
1501
|
+
_0x3c4f0d: 0x25b,
|
|
1502
|
+
_0x2b7bed: 0x26e,
|
|
1503
|
+
_0x36c937: 0x2dd
|
|
1504
|
+
}, _0x20777b = _0x36c0a2;
|
|
1505
|
+
if (_0x40b1e1[_0x20777b(_0x41f9f9._0x33d7d2)] === 0x0)
|
|
1506
|
+
return _0x20777b(0x19c);
|
|
1507
|
+
return _0x40b1e1[_0x20777b(0x29b)](_0x44e199 => {
|
|
1508
|
+
const _0x1ec515 = _0x20777b, _0x251bd2 = _0x44e199['taskNumber'] == null ? _0x1ec515(_0x216fec._0x5ccd5c) : _0x44e199[_0x1ec515(0x2b3)] != null ? '#' + _0x44e199[_0x1ec515(0x2a7)] + '.' + _0x44e199[_0x1ec515(0x2b3)] : '#' + _0x44e199[_0x1ec515(_0x216fec._0x454e79)], _0x4b77b9 = _0x44e199[_0x1ec515(0x176)] ? _0x1ec515(0x27f) + _0x44e199[_0x1ec515(_0x216fec._0x71990)] : '', _0x593ee6 = _0x2b32a2 && _0x44e199[_0x1ec515(0x2a7)] != null && !_0x44e199[_0x1ec515(0x2b3)] && _0x2b32a2[_0x1ec515(0x192)](_0x44e199[_0x1ec515(_0x216fec._0x454e79)]) ? _0x1ec515(0x15c) : '', _0x4191f3 = _0x44e199[_0x1ec515(_0x216fec._0x3c4f0d)] != null && _0x44e199[_0x1ec515(_0x216fec._0x3c4f0d)] > 0x0 ? '\x20(' + (_0x44e199['childrenDone'] ?? 0x0) + '/' + _0x44e199[_0x1ec515(0x25b)] + _0x1ec515(_0x216fec._0x2b7bed) : '';
|
|
1509
|
+
return _0x251bd2 + '\x20[' + _0x44e199['status'] + ']\x20' + _0x44e199[_0x1ec515(_0x216fec._0x36c937)] + _0x4191f3 + _0x4b77b9 + _0x593ee6;
|
|
1510
|
+
})['join']('\x0a');
|
|
1511
|
+
}
|
|
1512
|
+
function formatCreatedTasks(_0x37ac9d) {
|
|
1513
|
+
const _0x576ed5 = { _0x38cd72: 0x1a5 }, _0x2de174 = {
|
|
1514
|
+
_0xfc76f9: 0x2a7,
|
|
1515
|
+
_0x5c48ee: 0x1b9,
|
|
1516
|
+
_0x57251c: 0x2b3,
|
|
1517
|
+
_0x1daec0: 0x2b3,
|
|
1518
|
+
_0x5cf5b5: 0x27f,
|
|
1519
|
+
_0x1538e3: 0x2dd
|
|
1520
|
+
}, _0x103fa3 = _0x36c0a2;
|
|
1521
|
+
if (_0x37ac9d[_0x103fa3(0x2a9)] === 0x0)
|
|
1522
|
+
return _0x103fa3(_0x576ed5._0x38cd72);
|
|
1523
|
+
return _0x37ac9d[_0x103fa3(0x29b)](_0x106075 => {
|
|
1524
|
+
const _0x2f2d61 = _0x103fa3, _0x1b63a0 = _0x106075[_0x2f2d61(_0x2de174._0xfc76f9)] == null ? _0x2f2d61(_0x2de174._0x5c48ee) : _0x106075[_0x2f2d61(_0x2de174._0x57251c)] != null ? '#' + _0x106075[_0x2f2d61(_0x2de174._0xfc76f9)] + '.' + _0x106075[_0x2f2d61(_0x2de174._0x1daec0)] : '#' + _0x106075['taskNumber'], _0xe2d484 = _0x106075[_0x2f2d61(0x176)] ? _0x2f2d61(_0x2de174._0x5cf5b5) + _0x106075[_0x2f2d61(0x176)] : '';
|
|
1525
|
+
return _0x1b63a0 + '\x20' + _0x106075[_0x2f2d61(_0x2de174._0x1538e3)] + _0xe2d484;
|
|
1526
|
+
})[_0x103fa3(0x2a2)]('\x0a');
|
|
1527
|
+
}
|
|
1528
|
+
function formatClaimTaskLabel(_0x5d6cec, _0x478bbc) {
|
|
1529
|
+
const _0x2ff9ca = { _0x362641: 0x1b9 }, _0x3b4fcd = _0x36c0a2;
|
|
1530
|
+
if (_0x5d6cec == null)
|
|
1531
|
+
return _0x3b4fcd(_0x2ff9ca._0x362641);
|
|
1532
|
+
return _0x478bbc != null ? '#' + _0x5d6cec + '.' + _0x478bbc : '#' + _0x5d6cec;
|
|
1533
|
+
}
|
|
1534
|
+
function _0x2192(_0x43e2d4, _0x13a01d) {
|
|
1535
|
+
_0x43e2d4 = _0x43e2d4 - 0x156;
|
|
1536
|
+
const _0x7a964d = _0x7a96();
|
|
1537
|
+
let _0x219279 = _0x7a964d[_0x43e2d4];
|
|
1538
|
+
if (_0x2192['WvPoqJ'] === undefined) {
|
|
1539
|
+
var _0xa43de1 = function (_0x48d15f) {
|
|
1540
|
+
const _0x1b1146 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
1541
|
+
let _0xb0331c = '', _0x1b00e6 = '';
|
|
1542
|
+
for (let _0xc44fd5 = 0x0, _0x36d0ab, _0x160a57, _0x1b79b0 = 0x0; _0x160a57 = _0x48d15f['charAt'](_0x1b79b0++); ~_0x160a57 && (_0x36d0ab = _0xc44fd5 % 0x4 ? _0x36d0ab * 0x40 + _0x160a57 : _0x160a57, _0xc44fd5++ % 0x4) ? _0xb0331c += String['fromCharCode'](0xff & _0x36d0ab >> (-0x2 * _0xc44fd5 & 0x6)) : 0x0) {
|
|
1543
|
+
_0x160a57 = _0x1b1146['indexOf'](_0x160a57);
|
|
1544
|
+
}
|
|
1545
|
+
for (let _0x409283 = 0x0, _0x2f063d = _0xb0331c['length']; _0x409283 < _0x2f063d; _0x409283++) {
|
|
1546
|
+
_0x1b00e6 += '%' + ('00' + _0xb0331c['charCodeAt'](_0x409283)['toString'](0x10))['slice'](-0x2);
|
|
1554
1547
|
}
|
|
1555
|
-
|
|
1556
|
-
|
|
1548
|
+
return decodeURIComponent(_0x1b00e6);
|
|
1549
|
+
};
|
|
1550
|
+
_0x2192['EohBxX'] = _0xa43de1, _0x2192['HfamjE'] = {}, _0x2192['WvPoqJ'] = !![];
|
|
1551
|
+
}
|
|
1552
|
+
const _0x476e8d = _0x7a964d[0x0], _0x1e2f4f = _0x43e2d4 + _0x476e8d, _0x607028 = _0x2192['HfamjE'][_0x1e2f4f];
|
|
1553
|
+
return !_0x607028 ? (_0x219279 = _0x2192['EohBxX'](_0x219279), _0x2192['HfamjE'][_0x1e2f4f] = _0x219279) : _0x219279 = _0x607028, _0x219279;
|
|
1554
|
+
}
|
|
1555
|
+
function formatClaimTaskResults(_0x2f7217) {
|
|
1556
|
+
const _0x412550 = {
|
|
1557
|
+
_0x3446ea: 0x29b,
|
|
1558
|
+
_0x189d04: 0x2a2
|
|
1559
|
+
}, _0x2a7346 = {
|
|
1560
|
+
_0x25d15d: 0x27f,
|
|
1561
|
+
_0x1adfec: 0x261,
|
|
1562
|
+
_0xc2766a: 0x161,
|
|
1563
|
+
_0xce93ff: 0x217,
|
|
1564
|
+
_0x12ed37: 0x174,
|
|
1565
|
+
_0x4912e7: 0x1b6,
|
|
1566
|
+
_0x158b86: 0x1e8,
|
|
1567
|
+
_0x8c836a: 0x1b6,
|
|
1568
|
+
_0x146357: 0x2b3,
|
|
1569
|
+
_0x2a9e9a: 0x245
|
|
1570
|
+
}, _0x552adc = _0x36c0a2;
|
|
1571
|
+
if (_0x2f7217['length'] === 0x0)
|
|
1572
|
+
return _0x552adc(0x1d4);
|
|
1573
|
+
return _0x2f7217[_0x552adc(_0x412550._0x3446ea)](_0x47d56d => {
|
|
1574
|
+
const _0x40e43a = _0x552adc;
|
|
1575
|
+
if (_0x47d56d[_0x40e43a(0x1c9)]) {
|
|
1576
|
+
const _0x540bbf = formatClaimTaskLabel(_0x47d56d[_0x40e43a(0x2a7)], _0x47d56d['subtaskNumber']), _0xa5c581 = _0x47d56d['messageId'] ? _0x40e43a(_0x2a7346._0x25d15d) + _0x47d56d[_0x40e43a(0x176)] : '';
|
|
1577
|
+
if (_0x47d56d[_0x40e43a(0x247)]) {
|
|
1578
|
+
const _0x475657 = [
|
|
1579
|
+
'workerHandoff=true',
|
|
1580
|
+
_0x47d56d['stopMain'] ? _0x40e43a(_0x2a7346._0x1adfec) : null,
|
|
1581
|
+
_0x47d56d[_0x40e43a(0x237)] ? _0x40e43a(0x1a6) + _0x47d56d['executionMode'] : null,
|
|
1582
|
+
_0x47d56d[_0x40e43a(_0x2a7346._0xc2766a)] ? _0x40e43a(0x1b3) + _0x47d56d['threadTarget'] : null,
|
|
1583
|
+
_0x47d56d[_0x40e43a(_0x2a7346._0xce93ff)] ? _0x40e43a(0x1fc) + _0x47d56d[_0x40e43a(0x217)] : null
|
|
1584
|
+
][_0x40e43a(_0x2a7346._0x12ed37)](Boolean)[_0x40e43a(0x2a2)]('\x20');
|
|
1585
|
+
return _0x540bbf + _0x40e43a(_0x2a7346._0x4912e7) + _0xa5c581 + '\x20' + _0x475657 + '\x0a⚠️\x20WORKER\x20ACTIVATED\x20—\x20Stop\x20ALL\x20work\x20on\x20this\x20task\x20immediately.\x20Worker\x20handles\x20execution\x20end-to-end.';
|
|
1586
|
+
}
|
|
1587
|
+
const _0x5f150c = _0x47d56d[_0x40e43a(0x1ff)] ? _0x40e43a(_0x2a7346._0x158b86) + _0x47d56d[_0x40e43a(0x1ff)] : '';
|
|
1588
|
+
return _0x540bbf + _0x40e43a(_0x2a7346._0x8c836a) + _0xa5c581 + _0x5f150c;
|
|
1557
1589
|
}
|
|
1558
|
-
const
|
|
1559
|
-
return
|
|
1560
|
-
})[
|
|
1590
|
+
const _0x1399f1 = _0x47d56d['taskNumber'] == null ? _0x47d56d['messageId'] ?? '(unknown)' : formatClaimTaskLabel(_0x47d56d[_0x40e43a(0x2a7)], _0x47d56d[_0x40e43a(_0x2a7346._0x146357)]);
|
|
1591
|
+
return _0x1399f1 + _0x40e43a(0x287) + (_0x47d56d[_0x40e43a(_0x2a7346._0x2a9e9a)] ?? _0x40e43a(0x262));
|
|
1592
|
+
})[_0x552adc(_0x412550._0x189d04)]('\x0a');
|
|
1561
1593
|
}
|
|
1562
|
-
function formatUnclaimTaskResult(
|
|
1563
|
-
const
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
},
|
|
1567
|
-
return
|
|
1594
|
+
function formatUnclaimTaskResult(_0x1b90c7) {
|
|
1595
|
+
const _0x3964d7 = {
|
|
1596
|
+
_0x2a69d4: 0x2b3,
|
|
1597
|
+
_0x287bb8: 0x2b0
|
|
1598
|
+
}, _0x242efd = _0x36c0a2, _0x342e54 = _0x1b90c7['taskNumber'] == null ? '(legacy)' : _0x1b90c7[_0x242efd(_0x3964d7._0x2a69d4)] != null ? '#' + _0x1b90c7['taskNumber'] + '.' + _0x1b90c7[_0x242efd(0x2b3)] : '#' + _0x1b90c7['taskNumber'];
|
|
1599
|
+
return _0x342e54 + '\x20status=' + _0x1b90c7[_0x242efd(_0x3964d7._0x287bb8)];
|
|
1568
1600
|
}
|
|
1569
|
-
function formatUpdateTaskStatusResult(
|
|
1570
|
-
const
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1601
|
+
function formatUpdateTaskStatusResult(_0x3e9418) {
|
|
1602
|
+
const _0x303877 = {
|
|
1603
|
+
_0x38517d: 0x1b9,
|
|
1604
|
+
_0x21913a: 0x2b3,
|
|
1605
|
+
_0x2538b7: 0x2b0,
|
|
1606
|
+
_0x36d746: 0x250,
|
|
1607
|
+
_0x5444a5: 0x2b4
|
|
1608
|
+
}, _0x2c57de = _0x36c0a2, _0x4bfd64 = _0x3e9418[_0x2c57de(0x2a7)] == null ? _0x2c57de(_0x303877._0x38517d) : _0x3e9418[_0x2c57de(_0x303877._0x21913a)] != null ? '#' + _0x3e9418['taskNumber'] + '.' + _0x3e9418[_0x2c57de(0x2b3)] : '#' + _0x3e9418[_0x2c57de(0x2a7)], _0x2a6418 = _0x4bfd64 + _0x2c57de(0x2b7) + _0x3e9418[_0x2c57de(_0x303877._0x2538b7)];
|
|
1609
|
+
if (_0x3e9418[_0x2c57de(0x2b0)] !== _0x2c57de(_0x303877._0x36d746))
|
|
1610
|
+
return _0x2a6418;
|
|
1611
|
+
return _0x2a6418 + _0x2c57de(_0x303877._0x5444a5);
|
|
1577
1612
|
}
|
|
1578
1613
|
function getChatBridgeToolDefinitions() {
|
|
1579
|
-
const
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1614
|
+
const _0x30b3db = {
|
|
1615
|
+
_0x11d5b9: 0x2b9,
|
|
1616
|
+
_0x31eb92: 0x1b4,
|
|
1617
|
+
_0x28415b: 0x19d,
|
|
1618
|
+
_0x2ef95a: 0x234,
|
|
1619
|
+
_0x4e7a49: 0x2c9,
|
|
1620
|
+
_0x2bf7a1: 0x1ee,
|
|
1621
|
+
_0x2a42c4: 0x19e,
|
|
1622
|
+
_0x6448b7: 0x272
|
|
1623
|
+
}, _0x5ceb9e = _0x36c0a2;
|
|
1583
1624
|
return [
|
|
1584
|
-
{ 'name':
|
|
1585
|
-
{ 'name':
|
|
1586
|
-
{ 'name':
|
|
1587
|
-
{ 'name':
|
|
1588
|
-
{ 'name':
|
|
1625
|
+
{ 'name': _0x5ceb9e(0x269) },
|
|
1626
|
+
{ 'name': _0x5ceb9e(_0x30b3db._0x11d5b9) },
|
|
1627
|
+
{ 'name': _0x5ceb9e(_0x30b3db._0x31eb92) },
|
|
1628
|
+
{ 'name': _0x5ceb9e(0x164) },
|
|
1629
|
+
{ 'name': _0x5ceb9e(_0x30b3db._0x28415b) },
|
|
1589
1630
|
{ 'name': 'view_file' },
|
|
1590
|
-
{ 'name':
|
|
1591
|
-
{ 'name':
|
|
1592
|
-
{ 'name':
|
|
1593
|
-
{ 'name':
|
|
1594
|
-
{ 'name':
|
|
1595
|
-
{ 'name':
|
|
1596
|
-
{ 'name':
|
|
1597
|
-
{ 'name':
|
|
1598
|
-
{ 'name':
|
|
1631
|
+
{ 'name': _0x5ceb9e(_0x30b3db._0x2ef95a) },
|
|
1632
|
+
{ 'name': _0x5ceb9e(0x16e) },
|
|
1633
|
+
{ 'name': 'claim_tasks' },
|
|
1634
|
+
{ 'name': _0x5ceb9e(_0x30b3db._0x4e7a49) },
|
|
1635
|
+
{ 'name': _0x5ceb9e(0x2b6) },
|
|
1636
|
+
{ 'name': _0x5ceb9e(0x190) },
|
|
1637
|
+
{ 'name': _0x5ceb9e(_0x30b3db._0x2bf7a1) },
|
|
1638
|
+
{ 'name': _0x5ceb9e(_0x30b3db._0x2a42c4) },
|
|
1639
|
+
{ 'name': _0x5ceb9e(_0x30b3db._0x6448b7) }
|
|
1599
1640
|
];
|
|
1600
1641
|
}
|
|
1601
|
-
function createChatBridgeHandlers(
|
|
1602
|
-
const
|
|
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
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1642
|
+
function createChatBridgeHandlers(_0x1ce260) {
|
|
1643
|
+
const _0x3adf0a = {
|
|
1644
|
+
_0x55ca24: 0x1fd,
|
|
1645
|
+
_0x12bdbf: 0x1c0
|
|
1646
|
+
}, _0x2f0220 = {
|
|
1647
|
+
_0x3cf1b6: 0x2cc,
|
|
1648
|
+
_0xd03982: 0x2c1,
|
|
1649
|
+
_0x2dba5f: 0x2bc,
|
|
1650
|
+
_0x14e0a8: 0x245,
|
|
1651
|
+
_0x519361: 0x1be,
|
|
1652
|
+
_0x11f0d3: 0x2d4
|
|
1653
|
+
}, _0x56cafa = {
|
|
1654
|
+
_0x2a44ab: 0x2b1,
|
|
1655
|
+
_0x287c0e: 0x2bc,
|
|
1656
|
+
_0x4dbb9d: 0x1f7,
|
|
1657
|
+
_0x466c03: 0x1be
|
|
1658
|
+
}, _0x21525a = {
|
|
1659
|
+
_0x137e6d: 0x2cc,
|
|
1660
|
+
_0x15f3e5: 0x188,
|
|
1661
|
+
_0x3a0559: 0x2bc,
|
|
1662
|
+
_0x257831: 0x168,
|
|
1663
|
+
_0x48f832: 0x1e0,
|
|
1664
|
+
_0x5c29b0: 0x1ad
|
|
1665
|
+
}, _0x3d777d = {
|
|
1666
|
+
_0x3cae70: 0x2cc,
|
|
1667
|
+
_0x393cc5: 0x21b,
|
|
1668
|
+
_0x2ea417: 0x2bc,
|
|
1669
|
+
_0x3c154d: 0x1e0
|
|
1670
|
+
}, _0x248200 = {
|
|
1671
|
+
_0x3df43e: 0x1ae,
|
|
1672
|
+
_0x23fa0c: 0x165,
|
|
1673
|
+
_0x835cd9: 0x1de,
|
|
1674
|
+
_0x157f48: 0x25d,
|
|
1675
|
+
_0xa9bd60: 0x1c4,
|
|
1676
|
+
_0x2b80a4: 0x156
|
|
1677
|
+
}, _0x55e472 = { _0x41e084: 0x248 }, _0x48663d = {
|
|
1678
|
+
_0x19a8c5: 0x2e0,
|
|
1679
|
+
_0x4adf54: 0x229
|
|
1680
|
+
}, _0x3c6981 = {
|
|
1681
|
+
_0x5b6921: 0x28a,
|
|
1682
|
+
_0x5f4be6: 0x186
|
|
1683
|
+
}, _0xfef6f5 = {
|
|
1684
|
+
_0x6ce088: 0x15d,
|
|
1685
|
+
_0x16e733: 0x2a9,
|
|
1686
|
+
_0x3e894b: 0x210,
|
|
1687
|
+
_0x2a45fc: 0x2a9,
|
|
1688
|
+
_0x3b4fa8: 0x18f,
|
|
1689
|
+
_0x3df600: 0x29b
|
|
1690
|
+
}, _0x4a9cbb = {
|
|
1691
|
+
_0x10c025: 0x176,
|
|
1692
|
+
_0x450d91: 0x2a7
|
|
1693
|
+
}, _0x3b3175 = { _0x4810f9: 0x16e }, _0x4de2f5 = {
|
|
1694
|
+
_0x313e6d: 0x165,
|
|
1695
|
+
_0x61d379: 0x2c3,
|
|
1696
|
+
_0x17a50d: 0x1f7,
|
|
1697
|
+
_0xd0b244: 0x2d5,
|
|
1698
|
+
_0x42693b: 0x184,
|
|
1699
|
+
_0x3289db: 0x260,
|
|
1700
|
+
_0x1e40de: 0x184,
|
|
1701
|
+
_0x5d1012: 0x189,
|
|
1702
|
+
_0x45ea12: 0x208,
|
|
1703
|
+
_0x188732: 0x1e6,
|
|
1704
|
+
_0x46b714: 0x2a7
|
|
1705
|
+
}, _0x3390f1 = { _0x8b2d37: 0x17b }, _0x46d276 = {
|
|
1706
|
+
_0x452bff: 0x165,
|
|
1707
|
+
_0x45dd92: 0x206
|
|
1708
|
+
}, _0xc6ead2 = {
|
|
1709
|
+
_0x433a26: 0x165,
|
|
1710
|
+
_0x42b669: 0x170
|
|
1711
|
+
}, _0xb07ea9 = {
|
|
1712
|
+
_0x544b61: 0x1f7,
|
|
1713
|
+
_0x363ffc: 0x165,
|
|
1714
|
+
_0xcf1f0b: 0x289,
|
|
1715
|
+
_0x2d498d: 0x169,
|
|
1716
|
+
_0x15c8ab: 0x29d,
|
|
1717
|
+
_0x1dd714: 0x29a,
|
|
1718
|
+
_0x48f1fe: 0x29d,
|
|
1719
|
+
_0x20614b: 0x2a7,
|
|
1720
|
+
_0x3a6369: 0x1b9,
|
|
1721
|
+
_0x43c055: 0x1f6,
|
|
1722
|
+
_0x38d5e7: 0x192,
|
|
1723
|
+
_0x52f172: 0x158,
|
|
1724
|
+
_0x1121ac: 0x2a2,
|
|
1725
|
+
_0x55006e: 0x2cc,
|
|
1726
|
+
_0x5d8999: 0x2c5,
|
|
1727
|
+
_0x3a2350: 0x2a0,
|
|
1728
|
+
_0x21b36b: 0x2b1,
|
|
1729
|
+
_0x43c34b: 0x29e,
|
|
1730
|
+
_0x3bae91: 0x1e4,
|
|
1731
|
+
_0x17d841: 0x1aa,
|
|
1732
|
+
_0x33c871: 0x187,
|
|
1733
|
+
_0x49822f: 0x200,
|
|
1734
|
+
_0x5276c0: 0x25f,
|
|
1735
|
+
_0x2d26ce: 0x288,
|
|
1736
|
+
_0x26236a: 0x22f
|
|
1737
|
+
}, _0xb1c7fe = {
|
|
1738
|
+
_0x62c0d3: 0x2cc,
|
|
1739
|
+
_0x46b149: 0x1f7,
|
|
1740
|
+
_0x48cf69: 0x192,
|
|
1741
|
+
_0x316193: 0x1f8,
|
|
1742
|
+
_0x2cee00: 0x199
|
|
1743
|
+
}, _0x425404 = {
|
|
1744
|
+
_0x376012: 0x179,
|
|
1745
|
+
_0x575ae1: 0x184,
|
|
1746
|
+
_0x4f073a: 0x199
|
|
1747
|
+
}, _0x37232c = {
|
|
1748
|
+
_0x2696af: 0x1f7,
|
|
1749
|
+
_0x223696: 0x26b,
|
|
1750
|
+
_0xf96421: 0x2e0,
|
|
1751
|
+
_0xcc3774: 0x257,
|
|
1752
|
+
_0x49ef19: 0x1f6,
|
|
1753
|
+
_0x33fe24: 0x26d,
|
|
1754
|
+
_0x5584fd: 0x1f6,
|
|
1755
|
+
_0x4e149a: 0x176,
|
|
1756
|
+
_0x3e94df: 0x165,
|
|
1757
|
+
_0x28fe31: 0x206,
|
|
1758
|
+
_0x43b880: 0x208,
|
|
1759
|
+
_0x369486: 0x2a7,
|
|
1760
|
+
_0x5cced9: 0x1e3,
|
|
1761
|
+
_0x4f3152: 0x176,
|
|
1762
|
+
_0x9dd585: 0x189,
|
|
1763
|
+
_0x435b2e: 0x258,
|
|
1764
|
+
_0x1c5186: 0x24e,
|
|
1765
|
+
_0x196eca: 0x176,
|
|
1766
|
+
_0x4d9d9d: 0x2a2,
|
|
1767
|
+
_0x32b910: 0x2c5,
|
|
1768
|
+
_0x33a7e6: 0x2e1,
|
|
1769
|
+
_0x49f59b: 0x252,
|
|
1770
|
+
_0x599d00: 0x1be,
|
|
1771
|
+
_0x47377b: 0x187
|
|
1772
|
+
}, _0x496c13 = {
|
|
1773
|
+
_0x1dbbe3: 0x23e,
|
|
1774
|
+
_0x308480: 0x24a
|
|
1775
|
+
}, _0x275c84 = _0x36c0a2;
|
|
1776
|
+
function _0x3c900c(_0x20ec3f, _0x2ff1d8) {
|
|
1777
|
+
const _0x364cf8 = _0x2192;
|
|
1778
|
+
if (!_0x1ce260[_0x364cf8(0x284)])
|
|
1733
1779
|
return;
|
|
1734
|
-
if (!
|
|
1735
|
-
throw new Error(
|
|
1736
|
-
if (
|
|
1737
|
-
throw new Error(
|
|
1780
|
+
if (!_0x1ce260[_0x364cf8(_0x496c13._0x1dbbe3)])
|
|
1781
|
+
throw new Error(_0x20ec3f + _0x364cf8(0x1c1));
|
|
1782
|
+
if (_0x2ff1d8 !== _0x1ce260[_0x364cf8(0x23e)])
|
|
1783
|
+
throw new Error(_0x20ec3f + _0x364cf8(_0x496c13._0x308480) + _0x1ce260['workerThreadTarget'] + _0x364cf8(0x281) + _0x2ff1d8);
|
|
1738
1784
|
}
|
|
1739
|
-
async function
|
|
1740
|
-
const
|
|
1741
|
-
if (!
|
|
1785
|
+
async function _0x535737(_0x15a3ae) {
|
|
1786
|
+
const _0x49377c = _0x2192;
|
|
1787
|
+
if (!_0x1ce260['daemonLocalUrl'] || !_0x1ce260[_0x49377c(_0x37232c._0x2696af)] || _0x1ce260['workerMode'] || _0x1ce260[_0x49377c(_0x37232c._0x223696)] !== !![])
|
|
1742
1788
|
return null;
|
|
1743
|
-
const
|
|
1744
|
-
if (
|
|
1789
|
+
const _0x2ca86c = parseTarget(_0x15a3ae[_0x49377c(_0x37232c._0xf96421)]);
|
|
1790
|
+
if (_0x2ca86c[_0x49377c(_0x37232c._0xcc3774)] !== _0x49377c(0x2e0))
|
|
1745
1791
|
return null;
|
|
1746
|
-
const
|
|
1747
|
-
let
|
|
1792
|
+
const _0x4dce3c = _0x15a3ae[_0x49377c(_0x37232c._0x49ef19)] != null ? _0x2ca86c[_0x49377c(_0x37232c._0x33fe24)] + ':t' + _0x15a3ae[_0x49377c(_0x37232c._0x5584fd)] : _0x2ca86c['channelTarget'] + ':' + _0x15a3ae[_0x49377c(_0x37232c._0x4e149a)];
|
|
1793
|
+
let _0x5c321e;
|
|
1748
1794
|
try {
|
|
1749
|
-
const
|
|
1750
|
-
'channel':
|
|
1795
|
+
const _0x4a20a2 = await _0x1ce260[_0x49377c(_0x37232c._0x3e94df)][_0x49377c(_0x37232c._0x28fe31)]({
|
|
1796
|
+
'channel': _0x4dce3c,
|
|
1751
1797
|
'limit': 0x14
|
|
1752
1798
|
});
|
|
1753
|
-
|
|
1799
|
+
_0x5c321e = _0x4a20a2['messages'][_0x49377c(_0x37232c._0x43b880)](_0xecfabc => _0xecfabc[_0x49377c(0x176)] === _0x15a3ae[_0x49377c(0x176)]);
|
|
1754
1800
|
} catch {
|
|
1755
|
-
|
|
1801
|
+
_0x5c321e = void 0x0;
|
|
1756
1802
|
}
|
|
1757
|
-
const
|
|
1758
|
-
|
|
1803
|
+
const _0x2458ad = _0x15a3ae[_0x49377c(_0x37232c._0x369486)] == null ? '(legacy)' : '#' + _0x15a3ae[_0x49377c(0x2a7)], _0x3ae4ec = [
|
|
1804
|
+
_0x49377c(_0x37232c._0x5cced9) + _0x4dce3c + '\x20msg=' + _0x15a3ae[_0x49377c(_0x37232c._0x4f3152)][_0x49377c(_0x37232c._0x9dd585)](0x0, 0x8) + _0x49377c(_0x37232c._0x435b2e) + new Date()['toISOString']() + _0x49377c(0x1b0) + _0x2458ad + _0x49377c(_0x37232c._0x1c5186),
|
|
1759
1805
|
'',
|
|
1760
|
-
|
|
1806
|
+
_0x5c321e ? _0x49377c(0x20f) + _0x5c321e[_0x49377c(0x25f)] : _0x49377c(0x256) + _0x15a3ae[_0x49377c(_0x37232c._0x196eca)],
|
|
1761
1807
|
'',
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
][
|
|
1765
|
-
'method':
|
|
1808
|
+
_0x49377c(0x1e1) + _0x4dce3c,
|
|
1809
|
+
_0x49377c(0x29f)
|
|
1810
|
+
][_0x49377c(_0x37232c._0x4d9d9d)]('\x0a'), _0x5d1c17 = await fetch(_0x1ce260['daemonLocalUrl'] + _0x49377c(_0x37232c._0x32b910), {
|
|
1811
|
+
'method': 'POST',
|
|
1766
1812
|
'headers': { 'Content-Type': 'application/json' },
|
|
1767
|
-
'body': JSON[
|
|
1768
|
-
'agent_id':
|
|
1769
|
-
'thread_target':
|
|
1813
|
+
'body': JSON['stringify']({
|
|
1814
|
+
'agent_id': _0x1ce260[_0x49377c(_0x37232c._0x2696af)],
|
|
1815
|
+
'thread_target': _0x4dce3c,
|
|
1770
1816
|
'spawn_packet': {
|
|
1771
|
-
'replyTarget':
|
|
1772
|
-
...
|
|
1817
|
+
'replyTarget': _0x4dce3c,
|
|
1818
|
+
..._0x15a3ae[_0x49377c(0x158)] ? { 'taskId': _0x15a3ae[_0x49377c(0x158)] } : _0x15a3ae[_0x49377c(_0x37232c._0x369486)] != null ? { 'taskId': _0x49377c(_0x37232c._0x33a7e6) + _0x15a3ae[_0x49377c(_0x37232c._0x369486)] } : {}
|
|
1773
1819
|
},
|
|
1774
1820
|
'payload': {
|
|
1775
|
-
'mode':
|
|
1776
|
-
'text':
|
|
1821
|
+
'mode': _0x49377c(_0x37232c._0x49f59b),
|
|
1822
|
+
'text': _0x3ae4ec
|
|
1777
1823
|
}
|
|
1778
1824
|
})
|
|
1779
|
-
}),
|
|
1780
|
-
if (!
|
|
1781
|
-
throw new Error(
|
|
1825
|
+
}), _0x43ea44 = await _0x5d1c17[_0x49377c(_0x37232c._0x599d00)]();
|
|
1826
|
+
if (!_0x43ea44['ok'])
|
|
1827
|
+
throw new Error(_0x43ea44[_0x49377c(0x2d4)] ?? _0x49377c(0x228));
|
|
1782
1828
|
return {
|
|
1783
1829
|
'stopMain': !![],
|
|
1784
|
-
'threadTarget':
|
|
1785
|
-
'workerDisposition':
|
|
1830
|
+
'threadTarget': _0x4dce3c,
|
|
1831
|
+
'workerDisposition': _0x43ea44['disposition'] === _0x49377c(_0x37232c._0x47377b) ? _0x49377c(0x187) : 'started',
|
|
1786
1832
|
'workerHandoff': !![],
|
|
1787
|
-
'workerSessionId':
|
|
1788
|
-
'executionMode':
|
|
1833
|
+
'workerSessionId': _0x43ea44['worker_session_id'] ?? '',
|
|
1834
|
+
'executionMode': _0x49377c(0x1f0)
|
|
1789
1835
|
};
|
|
1790
1836
|
}
|
|
1791
|
-
async function
|
|
1792
|
-
const
|
|
1793
|
-
if (!
|
|
1837
|
+
async function _0x1ffd3e() {
|
|
1838
|
+
const _0x5a11f5 = _0x2192;
|
|
1839
|
+
if (!_0x1ce260[_0x5a11f5(0x2cc)] || !_0x1ce260['agentId'] || _0x1ce260[_0x5a11f5(0x284)])
|
|
1794
1840
|
return null;
|
|
1795
1841
|
try {
|
|
1796
|
-
const
|
|
1797
|
-
if (!
|
|
1842
|
+
const _0x3c691b = await fetch(_0x1ce260[_0x5a11f5(0x2cc)] + '/workers/list?agent_id=' + encodeURIComponent(_0x1ce260[_0x5a11f5(0x1f7)])), _0x3a97fb = await _0x3c691b[_0x5a11f5(0x1be)]();
|
|
1843
|
+
if (!_0x3a97fb['ok'])
|
|
1798
1844
|
return null;
|
|
1799
|
-
const
|
|
1800
|
-
for (const
|
|
1801
|
-
|
|
1845
|
+
const _0x15ae65 = new Set();
|
|
1846
|
+
for (const _0x58f0fd of _0x3a97fb[_0x5a11f5(_0x425404._0x376012)]) {
|
|
1847
|
+
_0x58f0fd['status'] !== 'destroyed' && _0x58f0fd[_0x5a11f5(_0x425404._0x575ae1)] && _0x15ae65[_0x5a11f5(0x1f8)](_0x58f0fd['thread_target']);
|
|
1802
1848
|
}
|
|
1803
|
-
return
|
|
1849
|
+
return _0x15ae65[_0x5a11f5(_0x425404._0x4f073a)] > 0x0 ? _0x15ae65 : null;
|
|
1804
1850
|
} catch {
|
|
1805
1851
|
return null;
|
|
1806
1852
|
}
|
|
1807
1853
|
}
|
|
1808
|
-
const
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1854
|
+
const _0x1bda11 = new Set([
|
|
1855
|
+
_0x275c84(_0x3adf0a._0x55ca24),
|
|
1856
|
+
_0x275c84(_0x3adf0a._0x12bdbf),
|
|
1857
|
+
'waiting_input'
|
|
1812
1858
|
]);
|
|
1813
|
-
async function
|
|
1814
|
-
const
|
|
1815
|
-
if (!
|
|
1859
|
+
async function _0xc7ba4c() {
|
|
1860
|
+
const _0x30077e = _0x275c84;
|
|
1861
|
+
if (!_0x1ce260['daemonLocalUrl'] || !_0x1ce260['agentId'] || _0x1ce260['workerMode'])
|
|
1816
1862
|
return null;
|
|
1817
1863
|
try {
|
|
1818
|
-
const
|
|
1819
|
-
if (!
|
|
1864
|
+
const _0x33f13c = await fetch(_0x1ce260[_0x30077e(_0xb1c7fe._0x62c0d3)] + _0x30077e(0x1d5) + encodeURIComponent(_0x1ce260[_0x30077e(_0xb1c7fe._0x46b149)])), _0x294eb7 = await _0x33f13c[_0x30077e(0x1be)]();
|
|
1865
|
+
if (!_0x294eb7['ok'])
|
|
1820
1866
|
return null;
|
|
1821
|
-
const
|
|
1822
|
-
for (const
|
|
1823
|
-
|
|
1867
|
+
const _0x5c4d65 = new Set();
|
|
1868
|
+
for (const _0x4227a0 of _0x294eb7[_0x30077e(0x179)]) {
|
|
1869
|
+
_0x1bda11[_0x30077e(_0xb1c7fe._0x48cf69)](_0x4227a0[_0x30077e(0x2b0)]) && _0x4227a0[_0x30077e(0x184)] && _0x5c4d65[_0x30077e(_0xb1c7fe._0x316193)](_0x4227a0['thread_target']);
|
|
1824
1870
|
}
|
|
1825
|
-
return
|
|
1871
|
+
return _0x5c4d65[_0x30077e(_0xb1c7fe._0x2cee00)] > 0x0 ? _0x5c4d65 : null;
|
|
1826
1872
|
} catch {
|
|
1827
1873
|
return null;
|
|
1828
1874
|
}
|
|
1829
1875
|
}
|
|
1830
1876
|
return {
|
|
1831
|
-
async 'send_message'(
|
|
1832
|
-
const
|
|
1833
|
-
if (!
|
|
1834
|
-
const
|
|
1835
|
-
if (
|
|
1836
|
-
const
|
|
1837
|
-
if (
|
|
1877
|
+
async 'send_message'(_0x3a60be) {
|
|
1878
|
+
const _0x411cda = _0x275c84;
|
|
1879
|
+
if (!_0x1ce260['workerMode'] && _0x1ce260[_0x411cda(0x26b)] && _0x1ce260[_0x411cda(0x2cc)] && _0x1ce260[_0x411cda(_0xb07ea9._0x544b61)]) {
|
|
1880
|
+
const _0x5b439f = await _0x1ce260[_0x411cda(_0xb07ea9._0x363ffc)][_0x411cda(_0xb07ea9._0xcf1f0b)](_0x3a60be[_0x411cda(_0xb07ea9._0x2d498d)]);
|
|
1881
|
+
if (_0x5b439f[_0x411cda(_0xb07ea9._0x15c8ab)] && _0x5b439f[_0x411cda(_0xb07ea9._0x1dd714)]) {
|
|
1882
|
+
const _0x107fa8 = _0x5b439f[_0x411cda(_0xb07ea9._0x48f1fe)]['taskNumber'] != null ? '#' + _0x5b439f['task'][_0x411cda(_0xb07ea9._0x20614b)] : _0x411cda(_0xb07ea9._0x3a6369), _0x1aab35 = _0x5b439f[_0x411cda(_0xb07ea9._0x43c055)] != null ? _0x5b439f['target'] + ':t' + _0x5b439f['threadNumber'] : _0x5b439f[_0x411cda(_0xb07ea9._0x2d498d)] + ':' + _0x5b439f['threadId']['slice'](0x0, 0x8), _0x392543 = await _0xc7ba4c();
|
|
1883
|
+
if (_0x392543?.[_0x411cda(_0xb07ea9._0x38d5e7)](_0x1aab35))
|
|
1838
1884
|
return [
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
][
|
|
1842
|
-
const
|
|
1843
|
-
|
|
1885
|
+
_0x411cda(0x273) + _0x107fa8 + '\x20in\x20' + _0x1aab35 + _0x411cda(0x198),
|
|
1886
|
+
_0x411cda(0x1ca)
|
|
1887
|
+
][_0x411cda(0x2a2)]('\x0a');
|
|
1888
|
+
const _0x19c9de = [
|
|
1889
|
+
'[target=' + _0x1aab35 + '\x20msg=handoff\x20time=' + new Date()[_0x411cda(0x27e)]() + _0x411cda(0x2bd),
|
|
1844
1890
|
'',
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
][
|
|
1850
|
-
'method':
|
|
1851
|
-
'headers': { 'Content-Type':
|
|
1852
|
-
'body': JSON[
|
|
1853
|
-
'agent_id':
|
|
1854
|
-
'thread_target':
|
|
1891
|
+
_0x411cda(0x1af) + _0x3a60be[_0x411cda(0x25f)],
|
|
1892
|
+
'Task:\x20' + _0x107fa8 + '\x20(' + _0x5b439f['task'][_0x411cda(_0xb07ea9._0x52f172)] + ')',
|
|
1893
|
+
'Thread\x20target:\x20' + _0x1aab35,
|
|
1894
|
+
'Read\x20thread\x20history\x20before\x20taking\x20action.\x20Do\x20not\x20echo\x20this\x20message\x20to\x20the\x20thread.'
|
|
1895
|
+
][_0x411cda(_0xb07ea9._0x1121ac)]('\x0a'), _0x1688aa = await fetch(_0x1ce260[_0x411cda(_0xb07ea9._0x55006e)] + _0x411cda(_0xb07ea9._0x5d8999), {
|
|
1896
|
+
'method': _0x411cda(_0xb07ea9._0x3a2350),
|
|
1897
|
+
'headers': { 'Content-Type': _0x411cda(_0xb07ea9._0x21b36b) },
|
|
1898
|
+
'body': JSON[_0x411cda(_0xb07ea9._0x43c34b)]({
|
|
1899
|
+
'agent_id': _0x1ce260[_0x411cda(0x1f7)],
|
|
1900
|
+
'thread_target': _0x1aab35,
|
|
1855
1901
|
'spawn_packet': {
|
|
1856
|
-
'replyTarget':
|
|
1857
|
-
'taskId':
|
|
1902
|
+
'replyTarget': _0x1aab35,
|
|
1903
|
+
'taskId': _0x5b439f[_0x411cda(0x29d)][_0x411cda(0x158)]
|
|
1858
1904
|
},
|
|
1859
1905
|
'payload': {
|
|
1860
|
-
'mode':
|
|
1861
|
-
'text':
|
|
1906
|
+
'mode': 'user',
|
|
1907
|
+
'text': _0x19c9de
|
|
1862
1908
|
}
|
|
1863
1909
|
})
|
|
1864
|
-
}),
|
|
1865
|
-
if (!
|
|
1866
|
-
throw new Error(
|
|
1910
|
+
}), _0x564354 = await _0x1688aa['json']();
|
|
1911
|
+
if (!_0x564354['ok'])
|
|
1912
|
+
throw new Error(_0x564354[_0x411cda(0x2d4)] ?? _0x411cda(_0xb07ea9._0x3bae91));
|
|
1867
1913
|
return [
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
][
|
|
1914
|
+
'Handoff\x20to\x20worker\x20for\x20task\x20' + _0x107fa8 + '\x20in\x20' + _0x1aab35 + '.\x20stopMain=true\x20executionMode=worker',
|
|
1915
|
+
'Worker\x20' + (_0x564354[_0x411cda(_0xb07ea9._0x17d841)] === _0x411cda(_0xb07ea9._0x33c871) ? _0x411cda(0x187) : _0x411cda(_0xb07ea9._0x49822f)) + '.',
|
|
1916
|
+
_0x411cda(0x25e)
|
|
1917
|
+
][_0x411cda(0x2a2)]('\x0a');
|
|
1872
1918
|
}
|
|
1873
1919
|
}
|
|
1874
|
-
const
|
|
1875
|
-
'attachmentIds':
|
|
1876
|
-
'content':
|
|
1877
|
-
'target':
|
|
1878
|
-
'visibility':
|
|
1920
|
+
const _0x387362 = await _0x1ce260[_0x411cda(0x165)][_0x411cda(0x19b)]({
|
|
1921
|
+
'attachmentIds': _0x3a60be[_0x411cda(0x27a)],
|
|
1922
|
+
'content': _0x3a60be[_0x411cda(_0xb07ea9._0x5276c0)],
|
|
1923
|
+
'target': _0x3a60be[_0x411cda(0x169)],
|
|
1924
|
+
'visibility': _0x3a60be[_0x411cda(_0xb07ea9._0x2d26ce)]
|
|
1879
1925
|
});
|
|
1880
|
-
return
|
|
1926
|
+
return _0x411cda(0x27c) + _0x3a60be[_0x411cda(_0xb07ea9._0x2d498d)] + _0x411cda(_0xb07ea9._0x26236a) + _0x387362[_0x411cda(0x176)];
|
|
1881
1927
|
},
|
|
1882
1928
|
async 'check_messages'() {
|
|
1883
|
-
const
|
|
1884
|
-
if (!
|
|
1885
|
-
const
|
|
1886
|
-
if (
|
|
1887
|
-
return formatCheckMessages(
|
|
1929
|
+
const _0x377c13 = _0x275c84, _0x5dd582 = await _0x1ce260[_0x377c13(_0xc6ead2._0x433a26)][_0x377c13(0x16c)]();
|
|
1930
|
+
if (!_0x1ce260['workerMode']) {
|
|
1931
|
+
const _0x3ceeb5 = await _0x1ffd3e();
|
|
1932
|
+
if (_0x3ceeb5)
|
|
1933
|
+
return formatCheckMessages(_0x5dd582[_0x377c13(0x170)]['filter'](_0x4ba399 => !_0x3ceeb5[_0x377c13(0x192)](_0x4ba399['target'])));
|
|
1888
1934
|
}
|
|
1889
|
-
return formatCheckMessages(
|
|
1935
|
+
return formatCheckMessages(_0x5dd582[_0x377c13(_0xc6ead2._0x42b669)]);
|
|
1890
1936
|
},
|
|
1891
|
-
async 'read_history'(
|
|
1892
|
-
const
|
|
1893
|
-
return formatHistory(
|
|
1937
|
+
async 'read_history'(_0x5e33c8) {
|
|
1938
|
+
const _0x55d85f = _0x275c84, _0x113a8e = await _0x1ce260[_0x55d85f(_0x46d276._0x452bff)][_0x55d85f(_0x46d276._0x45dd92)](_0x5e33c8);
|
|
1939
|
+
return formatHistory(_0x113a8e);
|
|
1894
1940
|
},
|
|
1895
1941
|
async 'list_server'() {
|
|
1896
|
-
const
|
|
1897
|
-
return formatServerDirectory(
|
|
1942
|
+
const _0x533ca1 = _0x275c84, _0x13ea2f = await _0x1ce260[_0x533ca1(0x165)][_0x533ca1(_0x3390f1._0x8b2d37)]();
|
|
1943
|
+
return formatServerDirectory(_0x13ea2f);
|
|
1898
1944
|
},
|
|
1899
|
-
async 'list_tasks'(
|
|
1900
|
-
const
|
|
1901
|
-
let
|
|
1902
|
-
if (
|
|
1945
|
+
async 'list_tasks'(_0x214cfd) {
|
|
1946
|
+
const _0x27cef9 = _0x275c84, _0x5b814b = await _0x1ce260[_0x27cef9(_0x4de2f5._0x313e6d)][_0x27cef9(_0x4de2f5._0x61d379)](_0x214cfd);
|
|
1947
|
+
let _0x974459;
|
|
1948
|
+
if (_0x1ce260['daemonLocalUrl'] && _0x1ce260[_0x27cef9(_0x4de2f5._0x17a50d)])
|
|
1903
1949
|
try {
|
|
1904
|
-
const
|
|
1905
|
-
if (
|
|
1906
|
-
const
|
|
1907
|
-
|
|
1908
|
-
for (const
|
|
1909
|
-
if (
|
|
1950
|
+
const _0xc50e11 = await fetch(_0x1ce260['daemonLocalUrl'] + '/workers/list?agent_id=' + encodeURIComponent(_0x1ce260[_0x27cef9(0x1f7)])), _0x5e4cca = await _0xc50e11['json']();
|
|
1951
|
+
if (_0x5e4cca['ok']) {
|
|
1952
|
+
const _0x5e2f40 = _0x214cfd[_0x27cef9(0x2e0)] + ':';
|
|
1953
|
+
_0x974459 = new Set();
|
|
1954
|
+
for (const _0x22f57a of _0x5e4cca['workers']) {
|
|
1955
|
+
if (_0x22f57a[_0x27cef9(0x2b0)] === _0x27cef9(_0x4de2f5._0xd0b244))
|
|
1910
1956
|
continue;
|
|
1911
|
-
if (
|
|
1912
|
-
const
|
|
1913
|
-
if (
|
|
1914
|
-
|
|
1957
|
+
if (_0x22f57a[_0x27cef9(_0x4de2f5._0x42693b)]?.[_0x27cef9(_0x4de2f5._0x3289db)](_0x5e2f40)) {
|
|
1958
|
+
const _0x1b5222 = _0x22f57a[_0x27cef9(_0x4de2f5._0x1e40de)][_0x27cef9(_0x4de2f5._0x5d1012)](_0x5e2f40['length']), _0x5c5ada = _0x5b814b[_0x27cef9(0x1e6)][_0x27cef9(_0x4de2f5._0x45ea12)](_0x486885 => _0x486885[_0x27cef9(0x176)]?.['startsWith'](_0x1b5222) === !![]);
|
|
1959
|
+
if (_0x5c5ada?.['taskNumber'] != null) {
|
|
1960
|
+
_0x974459['add'](_0x5c5ada['taskNumber']);
|
|
1915
1961
|
continue;
|
|
1916
1962
|
}
|
|
1917
1963
|
}
|
|
1918
|
-
if (
|
|
1919
|
-
const
|
|
1920
|
-
|
|
1964
|
+
if (_0x22f57a['task_id']) {
|
|
1965
|
+
const _0x2b58fc = _0x5b814b[_0x27cef9(_0x4de2f5._0x188732)][_0x27cef9(_0x4de2f5._0x45ea12)](_0x1e4688 => _0x1e4688[_0x27cef9(0x158)] === _0x22f57a['task_id']);
|
|
1966
|
+
_0x2b58fc?.[_0x27cef9(0x2a7)] != null && _0x974459[_0x27cef9(0x1f8)](_0x2b58fc[_0x27cef9(_0x4de2f5._0x46b714)]);
|
|
1921
1967
|
}
|
|
1922
1968
|
}
|
|
1923
1969
|
}
|
|
1924
1970
|
} catch {
|
|
1925
1971
|
}
|
|
1926
|
-
return formatTaskList(
|
|
1972
|
+
return formatTaskList(_0x5b814b[_0x27cef9(0x1e6)], _0x974459);
|
|
1927
1973
|
},
|
|
1928
|
-
async 'create_tasks'(
|
|
1929
|
-
const
|
|
1930
|
-
|
|
1931
|
-
const
|
|
1932
|
-
return formatCreatedTasks(
|
|
1974
|
+
async 'create_tasks'(_0x28394f) {
|
|
1975
|
+
const _0x368508 = _0x275c84;
|
|
1976
|
+
_0x3c900c(_0x368508(_0x3b3175._0x4810f9), _0x28394f[_0x368508(0x2e0)]);
|
|
1977
|
+
const _0x4e6262 = await _0x1ce260[_0x368508(0x165)]['createTasks'](_0x28394f);
|
|
1978
|
+
return formatCreatedTasks(_0x4e6262['tasks']);
|
|
1933
1979
|
},
|
|
1934
|
-
async 'claim_tasks'(
|
|
1935
|
-
const
|
|
1936
|
-
if (
|
|
1937
|
-
|
|
1938
|
-
if (
|
|
1939
|
-
throw new Error(
|
|
1940
|
-
if (!
|
|
1941
|
-
throw new Error(
|
|
1980
|
+
async 'claim_tasks'(_0x457026) {
|
|
1981
|
+
const _0x1516ad = _0x275c84;
|
|
1982
|
+
if (_0x1ce260[_0x1516ad(0x284)]) {
|
|
1983
|
+
_0x3c900c(_0x1516ad(0x263), _0x457026[_0x1516ad(0x2e0)]);
|
|
1984
|
+
if (_0x457026[_0x1516ad(0x15d)] && _0x457026[_0x1516ad(_0xfef6f5._0x6ce088)][_0x1516ad(_0xfef6f5._0x16e733)] > 0x0)
|
|
1985
|
+
throw new Error(_0x1516ad(0x1f2));
|
|
1986
|
+
if (!_0x457026[_0x1516ad(_0xfef6f5._0x3e894b)] || _0x457026[_0x1516ad(0x210)][_0x1516ad(_0xfef6f5._0x2a45fc)] === 0x0)
|
|
1987
|
+
throw new Error('claim_tasks:\x20worker\x20can\x20only\x20claim\x20subtasks\x20inside\x20its\x20own\x20task\x20thread\x20—\x20provide\x20subtask_numbers.');
|
|
1942
1988
|
}
|
|
1943
|
-
const
|
|
1944
|
-
const
|
|
1945
|
-
if (!
|
|
1946
|
-
return
|
|
1989
|
+
const _0x53c145 = await _0x1ce260['client'][_0x1516ad(_0xfef6f5._0x3b4fa8)](_0x457026), _0x185d81 = await Promise[_0x1516ad(0x22e)](_0x53c145[_0x1516ad(0x1ce)][_0x1516ad(_0xfef6f5._0x3df600)](async _0x1489d4 => {
|
|
1990
|
+
const _0x71e2e = _0x1516ad;
|
|
1991
|
+
if (!_0x1489d4[_0x71e2e(0x1c9)] || !_0x1489d4[_0x71e2e(_0x4a9cbb._0x10c025)])
|
|
1992
|
+
return _0x1489d4;
|
|
1947
1993
|
try {
|
|
1948
|
-
const
|
|
1949
|
-
'channel':
|
|
1950
|
-
'messageId':
|
|
1951
|
-
'taskId':
|
|
1952
|
-
'taskNumber':
|
|
1953
|
-
'threadNumber':
|
|
1994
|
+
const _0x118002 = await _0x535737({
|
|
1995
|
+
'channel': _0x457026[_0x71e2e(0x2e0)],
|
|
1996
|
+
'messageId': _0x1489d4[_0x71e2e(0x176)],
|
|
1997
|
+
'taskId': _0x1489d4['taskId'],
|
|
1998
|
+
'taskNumber': _0x1489d4[_0x71e2e(_0x4a9cbb._0x450d91)],
|
|
1999
|
+
'threadNumber': _0x1489d4[_0x71e2e(0x1f6)]
|
|
1954
2000
|
});
|
|
1955
|
-
return
|
|
1956
|
-
...
|
|
1957
|
-
...
|
|
1958
|
-
} :
|
|
1959
|
-
} catch (
|
|
2001
|
+
return _0x118002 ? {
|
|
2002
|
+
..._0x1489d4,
|
|
2003
|
+
..._0x118002
|
|
2004
|
+
} : _0x1489d4;
|
|
2005
|
+
} catch (_0x4a1c37) {
|
|
1960
2006
|
return {
|
|
1961
|
-
...
|
|
1962
|
-
'workerHandoffError':
|
|
2007
|
+
..._0x1489d4,
|
|
2008
|
+
'workerHandoffError': _0x4a1c37 instanceof Error ? _0x4a1c37['message'] : _0x71e2e(0x228)
|
|
1963
2009
|
};
|
|
1964
2010
|
}
|
|
1965
2011
|
}));
|
|
1966
|
-
return formatClaimTaskResults(
|
|
2012
|
+
return formatClaimTaskResults(_0x185d81);
|
|
1967
2013
|
},
|
|
1968
|
-
async 'unclaim_task'(
|
|
1969
|
-
const
|
|
1970
|
-
if (
|
|
1971
|
-
|
|
1972
|
-
if (
|
|
1973
|
-
throw new Error(
|
|
2014
|
+
async 'unclaim_task'(_0x53c581) {
|
|
2015
|
+
const _0x3e4994 = _0x275c84;
|
|
2016
|
+
if (_0x1ce260[_0x3e4994(0x284)]) {
|
|
2017
|
+
_0x3c900c(_0x3e4994(0x2c9), _0x53c581['channel']);
|
|
2018
|
+
if (_0x53c581['subtask_number'] == null)
|
|
2019
|
+
throw new Error(_0x3e4994(_0x3c6981._0x5b6921));
|
|
1974
2020
|
}
|
|
1975
|
-
const
|
|
1976
|
-
return formatUnclaimTaskResult(
|
|
2021
|
+
const _0x283c85 = await _0x1ce260['client'][_0x3e4994(_0x3c6981._0x5f4be6)](_0x53c581);
|
|
2022
|
+
return formatUnclaimTaskResult(_0x283c85);
|
|
1977
2023
|
},
|
|
1978
|
-
async 'update_task_status'(
|
|
1979
|
-
const
|
|
1980
|
-
|
|
1981
|
-
const
|
|
1982
|
-
return formatUpdateTaskStatusResult(
|
|
2024
|
+
async 'update_task_status'(_0x53d1f5) {
|
|
2025
|
+
const _0x49ed3d = _0x275c84;
|
|
2026
|
+
_0x3c900c('update_task_status', _0x53d1f5[_0x49ed3d(_0x48663d._0x19a8c5)]);
|
|
2027
|
+
const _0x557843 = await _0x1ce260[_0x49ed3d(0x165)][_0x49ed3d(_0x48663d._0x4adf54)](_0x53d1f5);
|
|
2028
|
+
return formatUpdateTaskStatusResult(_0x557843);
|
|
1983
2029
|
},
|
|
1984
|
-
async 'upload_file'(
|
|
1985
|
-
const
|
|
1986
|
-
sizeBytes:
|
|
1987
|
-
...
|
|
1988
|
-
} =
|
|
1989
|
-
'channel':
|
|
1990
|
-
...
|
|
2030
|
+
async 'upload_file'(_0x510f23) {
|
|
2031
|
+
const _0x40d2f2 = _0x275c84, _0x790a9d = await _0x1ce260['uploadPreparer'](_0x510f23[_0x40d2f2(0x185)]), {
|
|
2032
|
+
sizeBytes: _0x3849e3,
|
|
2033
|
+
..._0xf6f0d3
|
|
2034
|
+
} = _0x790a9d, _0x8fc541 = await _0x1ce260[_0x40d2f2(0x165)][_0x40d2f2(_0x55e472._0x41e084)]({
|
|
2035
|
+
'channel': _0x510f23[_0x40d2f2(0x2e0)],
|
|
2036
|
+
..._0xf6f0d3
|
|
1991
2037
|
});
|
|
1992
|
-
return formatUploadResult(
|
|
2038
|
+
return formatUploadResult(_0x8fc541);
|
|
1993
2039
|
},
|
|
1994
|
-
async 'view_file'(
|
|
1995
|
-
const
|
|
1996
|
-
if (
|
|
1997
|
-
return formatViewFileResult(
|
|
1998
|
-
const
|
|
1999
|
-
'attachmentId':
|
|
2000
|
-
'contentType':
|
|
2001
|
-
'data':
|
|
2002
|
-
'originalFilename':
|
|
2040
|
+
async 'view_file'(_0x3861ab) {
|
|
2041
|
+
const _0x59c1ee = _0x275c84, _0x23b703 = await _0x1ce260[_0x59c1ee(_0x248200._0x3df43e)][_0x59c1ee(0x267)](_0x3861ab[_0x59c1ee(0x22d)]);
|
|
2042
|
+
if (_0x23b703)
|
|
2043
|
+
return formatViewFileResult(_0x23b703, !![]);
|
|
2044
|
+
const _0x21f037 = await _0x1ce260[_0x59c1ee(_0x248200._0x23fa0c)][_0x59c1ee(_0x248200._0x835cd9)](_0x3861ab[_0x59c1ee(0x22d)]), _0xc25d = await _0x1ce260[_0x59c1ee(_0x248200._0x3df43e)][_0x59c1ee(_0x248200._0x157f48)]({
|
|
2045
|
+
'attachmentId': _0x3861ab['attachment_id'],
|
|
2046
|
+
'contentType': _0x21f037[_0x59c1ee(0x224)],
|
|
2047
|
+
'data': _0x21f037[_0x59c1ee(_0x248200._0xa9bd60)],
|
|
2048
|
+
'originalFilename': _0x21f037[_0x59c1ee(_0x248200._0x2b80a4)]
|
|
2003
2049
|
});
|
|
2004
|
-
return formatViewFileResult(
|
|
2050
|
+
return formatViewFileResult(_0xc25d, ![]);
|
|
2005
2051
|
},
|
|
2006
|
-
async 'get_worker_status'(
|
|
2007
|
-
const
|
|
2008
|
-
if (!
|
|
2009
|
-
return _0x2a710a(0x20d);
|
|
2010
|
-
const _0x334421 = await fetch(_0x396446[_0x2a710a(0x1c5)] + '/workers/status?work_key=' + encodeURIComponent(_0x292e1b['work_key'])), _0x4239f3 = await _0x334421[_0x2a710a(0x16a)]();
|
|
2011
|
-
if (!_0x4239f3['ok'])
|
|
2012
|
-
return 'Worker\x20\x22' + _0x292e1b[_0x2a710a(_0x1382d6._0x412d73)] + _0x2a710a(_0x1382d6._0x3f137e);
|
|
2013
|
-
return 'Worker\x20\x22' + _0x292e1b[_0x2a710a(0x15b)] + '\x22:\x20status=' + _0x4239f3[_0x2a710a(0x1b0)];
|
|
2014
|
-
},
|
|
2015
|
-
async 'park_worker'(_0x27f320) {
|
|
2016
|
-
const _0x49404f = _0x3a58d8;
|
|
2017
|
-
if (!_0x396446[_0x49404f(0x1c5)])
|
|
2052
|
+
async 'get_worker_status'(_0x5d1877) {
|
|
2053
|
+
const _0x4c4b5d = _0x275c84;
|
|
2054
|
+
if (!_0x1ce260[_0x4c4b5d(_0x3d777d._0x3cae70)])
|
|
2018
2055
|
return 'Worker\x20features\x20not\x20available';
|
|
2019
|
-
const
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2056
|
+
const _0x484231 = await fetch(_0x1ce260[_0x4c4b5d(0x2cc)] + _0x4c4b5d(_0x3d777d._0x393cc5) + encodeURIComponent(_0x5d1877[_0x4c4b5d(_0x3d777d._0x2ea417)])), _0x12bafc = await _0x484231['json']();
|
|
2057
|
+
if (!_0x12bafc['ok'])
|
|
2058
|
+
return _0x4c4b5d(_0x3d777d._0x3c154d) + _0x5d1877[_0x4c4b5d(0x2bc)] + '\x22\x20not\x20found';
|
|
2059
|
+
return 'Worker\x20\x22' + _0x5d1877[_0x4c4b5d(0x2bc)] + '\x22:\x20status=' + _0x12bafc[_0x4c4b5d(0x2b0)];
|
|
2060
|
+
},
|
|
2061
|
+
async 'park_worker'(_0x4128b1) {
|
|
2062
|
+
const _0x448b30 = _0x275c84;
|
|
2063
|
+
if (!_0x1ce260[_0x448b30(0x2cc)])
|
|
2064
|
+
return _0x448b30(0x2c1);
|
|
2065
|
+
const _0x6cea3d = await fetch(_0x1ce260[_0x448b30(_0x21525a._0x137e6d)] + _0x448b30(_0x21525a._0x15f3e5), {
|
|
2066
|
+
'method': 'POST',
|
|
2067
|
+
'headers': { 'Content-Type': _0x448b30(0x2b1) },
|
|
2068
|
+
'body': JSON[_0x448b30(0x29e)]({ 'work_key': _0x4128b1[_0x448b30(_0x21525a._0x3a0559)] })
|
|
2069
|
+
}), _0x40d7af = await _0x6cea3d['json']();
|
|
2070
|
+
if (!_0x40d7af['ok'])
|
|
2071
|
+
throw new Error(_0x40d7af['error'] ?? _0x448b30(_0x21525a._0x257831));
|
|
2072
|
+
return _0x448b30(_0x21525a._0x48f832) + _0x4128b1[_0x448b30(0x2bc)] + _0x448b30(_0x21525a._0x5c29b0);
|
|
2027
2073
|
},
|
|
2028
|
-
async 'mark_waiting_input'(
|
|
2029
|
-
const
|
|
2030
|
-
if (!
|
|
2031
|
-
return
|
|
2032
|
-
const
|
|
2033
|
-
'method':
|
|
2034
|
-
'headers': { 'Content-Type':
|
|
2035
|
-
'body': JSON[
|
|
2036
|
-
'work_key':
|
|
2037
|
-
'agent_id':
|
|
2074
|
+
async 'mark_waiting_input'(_0x406866) {
|
|
2075
|
+
const _0x20f60e = _0x275c84;
|
|
2076
|
+
if (!_0x1ce260[_0x20f60e(0x2cc)] || !_0x1ce260['agentId'])
|
|
2077
|
+
return _0x20f60e(0x163);
|
|
2078
|
+
const _0x114af0 = await fetch(_0x1ce260[_0x20f60e(0x2cc)] + '/workers/waiting_input', {
|
|
2079
|
+
'method': 'POST',
|
|
2080
|
+
'headers': { 'Content-Type': _0x20f60e(_0x56cafa._0x2a44ab) },
|
|
2081
|
+
'body': JSON['stringify']({
|
|
2082
|
+
'work_key': _0x406866[_0x20f60e(_0x56cafa._0x287c0e)],
|
|
2083
|
+
'agent_id': _0x1ce260[_0x20f60e(_0x56cafa._0x4dbb9d)]
|
|
2038
2084
|
})
|
|
2039
|
-
}),
|
|
2040
|
-
if (!
|
|
2041
|
-
throw new Error(
|
|
2042
|
-
return
|
|
2085
|
+
}), _0x5a6fed = await _0x114af0[_0x20f60e(_0x56cafa._0x466c03)]();
|
|
2086
|
+
if (!_0x5a6fed['ok'])
|
|
2087
|
+
throw new Error(_0x5a6fed[_0x20f60e(0x2d4)] ?? _0x20f60e(0x23c));
|
|
2088
|
+
return _0x20f60e(0x1e0) + _0x406866[_0x20f60e(_0x56cafa._0x287c0e)] + _0x20f60e(0x239);
|
|
2043
2089
|
},
|
|
2044
|
-
async 'escalate_to_main'(
|
|
2045
|
-
const
|
|
2046
|
-
if (!
|
|
2047
|
-
return
|
|
2048
|
-
const
|
|
2049
|
-
'method':
|
|
2050
|
-
'headers': { 'Content-Type':
|
|
2051
|
-
'body': JSON[
|
|
2052
|
-
'work_key':
|
|
2053
|
-
'reason':
|
|
2090
|
+
async 'escalate_to_main'(_0x148714) {
|
|
2091
|
+
const _0x42b967 = _0x275c84;
|
|
2092
|
+
if (!_0x1ce260[_0x42b967(_0x2f0220._0x3cf1b6)])
|
|
2093
|
+
return _0x42b967(_0x2f0220._0xd03982);
|
|
2094
|
+
const _0x1cd1ce = await fetch(_0x1ce260[_0x42b967(_0x2f0220._0x3cf1b6)] + '/workers/escalate', {
|
|
2095
|
+
'method': _0x42b967(0x2a0),
|
|
2096
|
+
'headers': { 'Content-Type': _0x42b967(0x2b1) },
|
|
2097
|
+
'body': JSON['stringify']({
|
|
2098
|
+
'work_key': _0x148714[_0x42b967(_0x2f0220._0x2dba5f)],
|
|
2099
|
+
'reason': _0x148714[_0x42b967(_0x2f0220._0x14e0a8)]
|
|
2054
2100
|
})
|
|
2055
|
-
}),
|
|
2056
|
-
if (!
|
|
2057
|
-
throw new Error(
|
|
2058
|
-
return
|
|
2101
|
+
}), _0x4c5d43 = await _0x1cd1ce[_0x42b967(_0x2f0220._0x519361)]();
|
|
2102
|
+
if (!_0x4c5d43['ok'])
|
|
2103
|
+
throw new Error(_0x4c5d43[_0x42b967(_0x2f0220._0x11f0d3)] ?? 'escalate_to_main\x20failed');
|
|
2104
|
+
return _0x42b967(0x28d) + _0x148714['reason'];
|
|
2059
2105
|
}
|
|
2060
2106
|
};
|
|
2061
2107
|
}
|
|
2062
|
-
function textResult(
|
|
2063
|
-
const
|
|
2108
|
+
function textResult(_0x1fcec6, _0x3f4c06 = ![]) {
|
|
2109
|
+
const _0x55994f = { _0x177145: 0x285 }, _0x2be2d3 = _0x36c0a2;
|
|
2064
2110
|
return {
|
|
2065
2111
|
'content': [{
|
|
2066
|
-
'type':
|
|
2067
|
-
'text':
|
|
2112
|
+
'type': _0x2be2d3(_0x55994f._0x177145),
|
|
2113
|
+
'text': _0x1fcec6
|
|
2068
2114
|
}],
|
|
2069
|
-
...
|
|
2115
|
+
..._0x3f4c06 ? { 'isError': !![] } : {}
|
|
2070
2116
|
};
|
|
2071
2117
|
}
|
|
2072
|
-
async function registerChatBridgeTools(
|
|
2073
|
-
const
|
|
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
|
-
_0x3de6b5[_0x475033(0x112)](_0x475033(_0x2365e7._0x357b62), _0x475033(0x13e), {
|
|
2129
|
-
'target': _0x17fc8e[_0x475033(0x1f2)](),
|
|
2130
|
-
'content': _0x17fc8e[_0x475033(0x1f2)](),
|
|
2131
|
-
'attachment_ids': _0x17fc8e['array'](_0x17fc8e['string']())[_0x475033(_0x2365e7._0x54addb)](),
|
|
2132
|
-
'visibility': _0x17fc8e[_0x475033(0x21e)]([
|
|
2133
|
-
_0x475033(0x233),
|
|
2134
|
-
'aside'
|
|
2135
|
-
])[_0x475033(_0x2365e7._0x5b871c)]()[_0x475033(0x216)]('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.')
|
|
2136
|
-
}, async _0x11b6b1 => {
|
|
2137
|
-
const _0x1ccb0e = _0x475033;
|
|
2118
|
+
async function registerChatBridgeTools(_0x249066, _0x4ff5b4, _0x11f301) {
|
|
2119
|
+
const _0x3a1e3c = {
|
|
2120
|
+
_0x519605: 0x235,
|
|
2121
|
+
_0x402d72: 0x28f,
|
|
2122
|
+
_0x44eaa3: 0x269,
|
|
2123
|
+
_0x5cb18f: 0x23d,
|
|
2124
|
+
_0x247435: 0x167,
|
|
2125
|
+
_0x508125: 0x222,
|
|
2126
|
+
_0x10a7af: 0x1e2,
|
|
2127
|
+
_0x55bbdc: 0x2b9,
|
|
2128
|
+
_0x5b6d5c: 0x1b7,
|
|
2129
|
+
_0x3d66ce: 0x24f,
|
|
2130
|
+
_0x54dd3d: 0x2e2,
|
|
2131
|
+
_0x20a5fb: 0x2a6,
|
|
2132
|
+
_0x51fe9f: 0x1e9,
|
|
2133
|
+
_0x405620: 0x1a3,
|
|
2134
|
+
_0x347ec4: 0x205,
|
|
2135
|
+
_0x363778: 0x2e2,
|
|
2136
|
+
_0x401189: 0x22a,
|
|
2137
|
+
_0x1cc600: 0x265,
|
|
2138
|
+
_0x4ab85b: 0x2be,
|
|
2139
|
+
_0x39fc24: 0x22a,
|
|
2140
|
+
_0xba97c2: 0x1e5,
|
|
2141
|
+
_0x37ce2a: 0x162,
|
|
2142
|
+
_0xf4cfa6: 0x22a,
|
|
2143
|
+
_0x1cccd7: 0x22a,
|
|
2144
|
+
_0x3398e6: 0x2a6,
|
|
2145
|
+
_0x216f11: 0x22a,
|
|
2146
|
+
_0x1e2e08: 0x1a3,
|
|
2147
|
+
_0x57c59c: 0x250,
|
|
2148
|
+
_0x2a453a: 0x1a9,
|
|
2149
|
+
_0x2ffc49: 0x2e2,
|
|
2150
|
+
_0x30174e: 0x22b,
|
|
2151
|
+
_0x252f2f: 0x2da,
|
|
2152
|
+
_0x1f358c: 0x190,
|
|
2153
|
+
_0x626b8d: 0x2e2,
|
|
2154
|
+
_0x33e84d: 0x1ee,
|
|
2155
|
+
_0xcd0591: 0x24b,
|
|
2156
|
+
_0x3bc430: 0x272,
|
|
2157
|
+
_0x49fef8: 0x15a,
|
|
2158
|
+
_0x38d98f: 0x2e2
|
|
2159
|
+
}, _0x194673 = { _0x39d883: 0x211 }, _0x7398ef = { _0x475eb8: 0x22b }, _0x5c9cb3 = { _0x37fd52: 0x15e }, _0x120cdb = { _0x337d97: 0x16e }, _0x478a3a = {
|
|
2160
|
+
_0x5e34f9: 0x234,
|
|
2161
|
+
_0x2463ed: 0x1d7,
|
|
2162
|
+
_0x1433fa: 0x264
|
|
2163
|
+
}, _0x54675a = { _0x4b3a08: 0x1d7 }, _0x277d00 = { _0x29147a: 0x1d7 }, _0x2999fe = _0x36c0a2, {z: _0x181077} = await import(_0x2999fe(_0x3a1e3c._0x519605));
|
|
2164
|
+
_0x249066[_0x2999fe(_0x3a1e3c._0x402d72)](_0x2999fe(_0x3a1e3c._0x44eaa3), _0x2999fe(_0x3a1e3c._0x5cb18f), {
|
|
2165
|
+
'target': _0x181077[_0x2999fe(0x2e2)](),
|
|
2166
|
+
'content': _0x181077[_0x2999fe(0x2e2)](),
|
|
2167
|
+
'attachment_ids': _0x181077['array'](_0x181077['string']())['optional'](),
|
|
2168
|
+
'visibility': _0x181077[_0x2999fe(_0x3a1e3c._0x247435)]([
|
|
2169
|
+
_0x2999fe(0x242),
|
|
2170
|
+
_0x2999fe(_0x3a1e3c._0x508125)
|
|
2171
|
+
])[_0x2999fe(0x22a)]()[_0x2999fe(0x1b8)](_0x2999fe(_0x3a1e3c._0x10a7af))
|
|
2172
|
+
}, async _0x39ffc1 => {
|
|
2173
|
+
const _0x4b7211 = _0x2999fe;
|
|
2138
2174
|
try {
|
|
2139
|
-
return textResult(await
|
|
2140
|
-
} catch (
|
|
2141
|
-
return textResult(
|
|
2175
|
+
return textResult(await _0x4ff5b4['send_message'](_0x39ffc1));
|
|
2176
|
+
} catch (_0x1bce79) {
|
|
2177
|
+
return textResult(_0x1bce79 instanceof Error ? _0x1bce79[_0x4b7211(_0x277d00._0x29147a)] : _0x4b7211(0x166), !![]);
|
|
2142
2178
|
}
|
|
2143
|
-
}),
|
|
2144
|
-
const
|
|
2179
|
+
}), _0x249066[_0x2999fe(0x28f)](_0x2999fe(_0x3a1e3c._0x55bbdc), _0x2999fe(_0x3a1e3c._0x5b6d5c), {}, async () => {
|
|
2180
|
+
const _0x2d824d = _0x2999fe;
|
|
2145
2181
|
try {
|
|
2146
|
-
return textResult(await
|
|
2147
|
-
} catch (
|
|
2148
|
-
return textResult(
|
|
2182
|
+
return textResult(await _0x4ff5b4['check_messages']());
|
|
2183
|
+
} catch (_0x3f6783) {
|
|
2184
|
+
return textResult(_0x3f6783 instanceof Error ? _0x3f6783[_0x2d824d(0x1d7)] : _0x2d824d(0x203), !![]);
|
|
2149
2185
|
}
|
|
2150
|
-
}),
|
|
2151
|
-
'channel':
|
|
2152
|
-
'limit':
|
|
2153
|
-
'before':
|
|
2154
|
-
'after':
|
|
2155
|
-
}, async
|
|
2156
|
-
const
|
|
2186
|
+
}), _0x249066[_0x2999fe(0x28f)](_0x2999fe(0x1b4), _0x2999fe(_0x3a1e3c._0x3d66ce), {
|
|
2187
|
+
'channel': _0x181077[_0x2999fe(_0x3a1e3c._0x54dd3d)](),
|
|
2188
|
+
'limit': _0x181077[_0x2999fe(_0x3a1e3c._0x20a5fb)]()[_0x2999fe(0x22a)](),
|
|
2189
|
+
'before': _0x181077[_0x2999fe(0x2a6)]()['optional'](),
|
|
2190
|
+
'after': _0x181077[_0x2999fe(0x2a6)]()['optional']()
|
|
2191
|
+
}, async _0x1a9c34 => {
|
|
2192
|
+
const _0x12028c = _0x2999fe;
|
|
2157
2193
|
try {
|
|
2158
|
-
return textResult(await
|
|
2159
|
-
} catch (
|
|
2160
|
-
return textResult(
|
|
2194
|
+
return textResult(await _0x4ff5b4['read_history'](_0x1a9c34));
|
|
2195
|
+
} catch (_0x2a9b1c) {
|
|
2196
|
+
return textResult(_0x2a9b1c instanceof Error ? _0x2a9b1c[_0x12028c(_0x54675a._0x4b3a08)] : _0x12028c(0x268), !![]);
|
|
2161
2197
|
}
|
|
2162
|
-
}),
|
|
2163
|
-
const
|
|
2198
|
+
}), _0x249066['tool']('list_server', _0x2999fe(0x274), {}, async () => {
|
|
2199
|
+
const _0x1c0435 = _0x2999fe;
|
|
2164
2200
|
try {
|
|
2165
|
-
return textResult(await
|
|
2166
|
-
} catch (
|
|
2167
|
-
return textResult(
|
|
2201
|
+
return textResult(await _0x4ff5b4['list_server']());
|
|
2202
|
+
} catch (_0x28afc5) {
|
|
2203
|
+
return textResult(_0x28afc5 instanceof Error ? _0x28afc5[_0x1c0435(0x1d7)] : _0x1c0435(0x1c5), !![]);
|
|
2168
2204
|
}
|
|
2169
|
-
}),
|
|
2170
|
-
'channel':
|
|
2171
|
-
'status':
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
])[
|
|
2177
|
-
}, async
|
|
2178
|
-
const
|
|
2205
|
+
}), _0x249066[_0x2999fe(0x28f)](_0x2999fe(0x234), _0x2999fe(_0x3a1e3c._0x51fe9f), {
|
|
2206
|
+
'channel': _0x181077[_0x2999fe(0x2e2)](),
|
|
2207
|
+
'status': _0x181077[_0x2999fe(0x167)]([
|
|
2208
|
+
_0x2999fe(_0x3a1e3c._0x405620),
|
|
2209
|
+
'in_progress',
|
|
2210
|
+
_0x2999fe(0x250),
|
|
2211
|
+
_0x2999fe(0x1bf)
|
|
2212
|
+
])[_0x2999fe(0x22a)]()
|
|
2213
|
+
}, async _0x6d0e84 => {
|
|
2214
|
+
const _0x3c70e0 = _0x2999fe;
|
|
2179
2215
|
try {
|
|
2180
|
-
return textResult(await
|
|
2181
|
-
} catch (
|
|
2182
|
-
return textResult(
|
|
2216
|
+
return textResult(await _0x4ff5b4[_0x3c70e0(_0x478a3a._0x5e34f9)](_0x6d0e84));
|
|
2217
|
+
} catch (_0x54b770) {
|
|
2218
|
+
return textResult(_0x54b770 instanceof Error ? _0x54b770[_0x3c70e0(_0x478a3a._0x2463ed)] : _0x3c70e0(_0x478a3a._0x1433fa), !![]);
|
|
2183
2219
|
}
|
|
2184
|
-
}),
|
|
2185
|
-
'channel':
|
|
2186
|
-
'idempotency_key':
|
|
2187
|
-
'tasks':
|
|
2188
|
-
'title':
|
|
2189
|
-
'description':
|
|
2190
|
-
'priority':
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
])[
|
|
2220
|
+
}), _0x249066[_0x2999fe(0x28f)]('create_tasks', _0x2999fe(_0x3a1e3c._0x347ec4), {
|
|
2221
|
+
'channel': _0x181077[_0x2999fe(_0x3a1e3c._0x363778)](),
|
|
2222
|
+
'idempotency_key': _0x181077[_0x2999fe(_0x3a1e3c._0x54dd3d)]()[_0x2999fe(_0x3a1e3c._0x401189)](),
|
|
2223
|
+
'tasks': _0x181077[_0x2999fe(_0x3a1e3c._0x1cc600)](_0x181077[_0x2999fe(_0x3a1e3c._0x4ab85b)]({
|
|
2224
|
+
'title': _0x181077[_0x2999fe(_0x3a1e3c._0x54dd3d)](),
|
|
2225
|
+
'description': _0x181077[_0x2999fe(_0x3a1e3c._0x54dd3d)]()[_0x2999fe(_0x3a1e3c._0x39fc24)](),
|
|
2226
|
+
'priority': _0x181077['enum']([
|
|
2227
|
+
_0x2999fe(_0x3a1e3c._0xba97c2),
|
|
2228
|
+
_0x2999fe(_0x3a1e3c._0x37ce2a),
|
|
2229
|
+
'high',
|
|
2230
|
+
'urgent'
|
|
2231
|
+
])[_0x2999fe(_0x3a1e3c._0x401189)]()
|
|
2196
2232
|
}))
|
|
2197
|
-
}, async
|
|
2198
|
-
const
|
|
2233
|
+
}, async _0x437d09 => {
|
|
2234
|
+
const _0xdc188b = _0x2999fe;
|
|
2199
2235
|
try {
|
|
2200
|
-
return textResult(await
|
|
2201
|
-
} catch (
|
|
2202
|
-
return textResult(
|
|
2236
|
+
return textResult(await _0x4ff5b4[_0xdc188b(_0x120cdb._0x337d97)](_0x437d09));
|
|
2237
|
+
} catch (_0x14694a) {
|
|
2238
|
+
return textResult(_0x14694a instanceof Error ? _0x14694a[_0xdc188b(0x1d7)] : 'create_tasks\x20failed', !![]);
|
|
2203
2239
|
}
|
|
2204
|
-
}),
|
|
2205
|
-
'channel':
|
|
2206
|
-
'task_numbers':
|
|
2207
|
-
'subtask_numbers':
|
|
2208
|
-
'message_ids':
|
|
2209
|
-
'evidence':
|
|
2210
|
-
'create_thread':
|
|
2211
|
-
'create_task':
|
|
2212
|
-
}))[
|
|
2213
|
-
'idempotency_key':
|
|
2214
|
-
}, async
|
|
2215
|
-
const
|
|
2240
|
+
}), _0x249066[_0x2999fe(0x28f)]('claim_tasks', 'Claim\x20tasks\x20in\x20a\x20channel\x20by\x20task\x20number\x20or\x20source\x20message.\x20For\x20subtasks\x20in\x20a\x20thread,\x20use\x20subtask_numbers\x20with\x20a\x20single\x20task_numbers\x20entry.', {
|
|
2241
|
+
'channel': _0x181077[_0x2999fe(_0x3a1e3c._0x363778)](),
|
|
2242
|
+
'task_numbers': _0x181077['array'](_0x181077['number']())[_0x2999fe(_0x3a1e3c._0xf4cfa6)](),
|
|
2243
|
+
'subtask_numbers': _0x181077[_0x2999fe(0x265)](_0x181077[_0x2999fe(0x2a6)]())[_0x2999fe(0x22a)](),
|
|
2244
|
+
'message_ids': _0x181077[_0x2999fe(_0x3a1e3c._0x1cc600)](_0x181077['string']())[_0x2999fe(0x22a)](),
|
|
2245
|
+
'evidence': _0x181077[_0x2999fe(0x17c)](_0x181077['string'](), _0x181077['object']({
|
|
2246
|
+
'create_thread': _0x181077[_0x2999fe(0x1a8)]()[_0x2999fe(_0x3a1e3c._0x1cccd7)](),
|
|
2247
|
+
'create_task': _0x181077[_0x2999fe(0x1a8)]()[_0x2999fe(0x22a)]()
|
|
2248
|
+
}))[_0x2999fe(0x22a)](),
|
|
2249
|
+
'idempotency_key': _0x181077['string']()['optional']()
|
|
2250
|
+
}, async _0x4e5359 => {
|
|
2251
|
+
const _0x2f8a09 = _0x2999fe;
|
|
2216
2252
|
try {
|
|
2217
|
-
return textResult(await
|
|
2218
|
-
} catch (
|
|
2219
|
-
return textResult(
|
|
2253
|
+
return textResult(await _0x4ff5b4[_0x2f8a09(0x263)](_0x4e5359));
|
|
2254
|
+
} catch (_0x144bb4) {
|
|
2255
|
+
return textResult(_0x144bb4 instanceof Error ? _0x144bb4[_0x2f8a09(0x1d7)] : _0x2f8a09(0x16a), !![]);
|
|
2220
2256
|
}
|
|
2221
|
-
}),
|
|
2222
|
-
'channel':
|
|
2223
|
-
'task_number':
|
|
2224
|
-
'subtask_number':
|
|
2225
|
-
'idempotency_key':
|
|
2226
|
-
}, async
|
|
2227
|
-
const
|
|
2257
|
+
}), _0x249066[_0x2999fe(0x28f)]('unclaim_task', _0x2999fe(0x290), {
|
|
2258
|
+
'channel': _0x181077[_0x2999fe(0x2e2)](),
|
|
2259
|
+
'task_number': _0x181077[_0x2999fe(_0x3a1e3c._0x3398e6)](),
|
|
2260
|
+
'subtask_number': _0x181077['number']()[_0x2999fe(0x22a)](),
|
|
2261
|
+
'idempotency_key': _0x181077['string']()[_0x2999fe(_0x3a1e3c._0x216f11)]()
|
|
2262
|
+
}, async _0x43882d => {
|
|
2263
|
+
const _0x2d5ffd = _0x2999fe;
|
|
2228
2264
|
try {
|
|
2229
|
-
return textResult(await
|
|
2230
|
-
} catch (
|
|
2231
|
-
return textResult(
|
|
2265
|
+
return textResult(await _0x4ff5b4['unclaim_task'](_0x43882d));
|
|
2266
|
+
} catch (_0x370c63) {
|
|
2267
|
+
return textResult(_0x370c63 instanceof Error ? _0x370c63[_0x2d5ffd(0x1d7)] : _0x2d5ffd(0x299), !![]);
|
|
2232
2268
|
}
|
|
2233
|
-
}),
|
|
2234
|
-
'channel':
|
|
2235
|
-
'task_number':
|
|
2236
|
-
'subtask_number':
|
|
2237
|
-
'status':
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2269
|
+
}), _0x249066[_0x2999fe(_0x3a1e3c._0x402d72)]('update_task_status', _0x2999fe(0x226), {
|
|
2270
|
+
'channel': _0x181077[_0x2999fe(_0x3a1e3c._0x54dd3d)](),
|
|
2271
|
+
'task_number': _0x181077[_0x2999fe(0x2a6)](),
|
|
2272
|
+
'subtask_number': _0x181077[_0x2999fe(0x2a6)]()[_0x2999fe(0x22a)](),
|
|
2273
|
+
'status': _0x181077[_0x2999fe(0x167)]([
|
|
2274
|
+
_0x2999fe(_0x3a1e3c._0x1e2e08),
|
|
2275
|
+
_0x2999fe(0x1da),
|
|
2276
|
+
_0x2999fe(_0x3a1e3c._0x57c59c),
|
|
2277
|
+
_0x2999fe(0x1bf)
|
|
2242
2278
|
]),
|
|
2243
|
-
'idempotency_key':
|
|
2244
|
-
}, async
|
|
2245
|
-
const
|
|
2279
|
+
'idempotency_key': _0x181077['string']()[_0x2999fe(0x22a)]()
|
|
2280
|
+
}, async _0x4383c4 => {
|
|
2281
|
+
const _0x3d0696 = _0x2999fe;
|
|
2246
2282
|
try {
|
|
2247
|
-
return textResult(await
|
|
2248
|
-
} catch (
|
|
2249
|
-
return textResult(
|
|
2283
|
+
return textResult(await _0x4ff5b4['update_task_status'](_0x4383c4));
|
|
2284
|
+
} catch (_0xa88b9c) {
|
|
2285
|
+
return textResult(_0xa88b9c instanceof Error ? _0xa88b9c['message'] : _0x3d0696(_0x5c9cb3._0x37fd52), !![]);
|
|
2250
2286
|
}
|
|
2251
|
-
}),
|
|
2252
|
-
'channel':
|
|
2253
|
-
'file_path':
|
|
2254
|
-
}, async
|
|
2255
|
-
const
|
|
2287
|
+
}), _0x249066[_0x2999fe(0x28f)](_0x2999fe(0x19d), _0x2999fe(_0x3a1e3c._0x2a453a), {
|
|
2288
|
+
'channel': _0x181077[_0x2999fe(_0x3a1e3c._0x2ffc49)](),
|
|
2289
|
+
'file_path': _0x181077[_0x2999fe(_0x3a1e3c._0x363778)]()
|
|
2290
|
+
}, async _0x3c76e2 => {
|
|
2291
|
+
const _0x362de8 = _0x2999fe;
|
|
2256
2292
|
try {
|
|
2257
|
-
return textResult(await
|
|
2258
|
-
} catch (
|
|
2259
|
-
return textResult(
|
|
2293
|
+
return textResult(await _0x4ff5b4[_0x362de8(0x19d)](_0x3c76e2));
|
|
2294
|
+
} catch (_0xe977b3) {
|
|
2295
|
+
return textResult(_0xe977b3 instanceof Error ? _0xe977b3['message'] : 'upload_file\x20failed', !![]);
|
|
2260
2296
|
}
|
|
2261
|
-
}),
|
|
2262
|
-
const
|
|
2297
|
+
}), _0x249066['tool'](_0x2999fe(_0x3a1e3c._0x30174e), _0x2999fe(_0x3a1e3c._0x252f2f), { 'attachment_id': _0x181077['string']() }, async _0x27fc7d => {
|
|
2298
|
+
const _0x8a96a0 = _0x2999fe;
|
|
2263
2299
|
try {
|
|
2264
|
-
return textResult(await
|
|
2265
|
-
} catch (
|
|
2266
|
-
return textResult(
|
|
2300
|
+
return textResult(await _0x4ff5b4[_0x8a96a0(_0x7398ef._0x475eb8)](_0x27fc7d));
|
|
2301
|
+
} catch (_0x1daae1) {
|
|
2302
|
+
return textResult(_0x1daae1 instanceof Error ? _0x1daae1[_0x8a96a0(0x1d7)] : _0x8a96a0(0x1d0), !![]);
|
|
2267
2303
|
}
|
|
2268
|
-
}),
|
|
2269
|
-
const
|
|
2304
|
+
}), _0x249066[_0x2999fe(_0x3a1e3c._0x402d72)](_0x2999fe(_0x3a1e3c._0x1f358c), 'Check\x20the\x20current\x20status\x20of\x20a\x20spawned\x20worker\x20by\x20its\x20work\x20key.', { 'work_key': _0x181077[_0x2999fe(_0x3a1e3c._0x626b8d)]() }, async _0x737ab2 => {
|
|
2305
|
+
const _0x2df235 = _0x2999fe;
|
|
2270
2306
|
try {
|
|
2271
|
-
return textResult(await
|
|
2272
|
-
} catch (
|
|
2273
|
-
return textResult(
|
|
2307
|
+
return textResult(await _0x4ff5b4[_0x2df235(0x190)](_0x737ab2));
|
|
2308
|
+
} catch (_0x2c8afd) {
|
|
2309
|
+
return textResult(_0x2c8afd instanceof Error ? _0x2c8afd[_0x2df235(0x1d7)] : 'get_worker_status\x20failed', !![]);
|
|
2274
2310
|
}
|
|
2275
|
-
}),
|
|
2276
|
-
const
|
|
2311
|
+
}), _0x249066['tool'](_0x2999fe(_0x3a1e3c._0x33e84d), _0x2999fe(0x1a1), { 'work_key': _0x181077[_0x2999fe(0x2e2)]() }, async _0x3d4ff6 => {
|
|
2312
|
+
const _0x586bbb = _0x2999fe;
|
|
2277
2313
|
try {
|
|
2278
|
-
return textResult(await
|
|
2279
|
-
} catch (
|
|
2280
|
-
return textResult(
|
|
2314
|
+
return textResult(await _0x4ff5b4['park_worker'](_0x3d4ff6));
|
|
2315
|
+
} catch (_0x3da7d9) {
|
|
2316
|
+
return textResult(_0x3da7d9 instanceof Error ? _0x3da7d9[_0x586bbb(0x1d7)] : 'park_worker\x20failed', !![]);
|
|
2281
2317
|
}
|
|
2282
|
-
}),
|
|
2283
|
-
'work_key':
|
|
2284
|
-
'reason':
|
|
2285
|
-
}, async
|
|
2286
|
-
const
|
|
2318
|
+
}), _0x249066['tool']('escalate_to_main', _0x2999fe(_0x3a1e3c._0xcd0591), {
|
|
2319
|
+
'work_key': _0x181077[_0x2999fe(_0x3a1e3c._0x626b8d)](),
|
|
2320
|
+
'reason': _0x181077['string']()
|
|
2321
|
+
}, async _0x2147ed => {
|
|
2322
|
+
const _0x179c7f = _0x2999fe;
|
|
2287
2323
|
try {
|
|
2288
|
-
return textResult(await
|
|
2289
|
-
} catch (
|
|
2290
|
-
return textResult(
|
|
2324
|
+
return textResult(await _0x4ff5b4['escalate_to_main'](_0x2147ed));
|
|
2325
|
+
} catch (_0x48f3f3) {
|
|
2326
|
+
return textResult(_0x48f3f3 instanceof Error ? _0x48f3f3[_0x179c7f(0x1d7)] : _0x179c7f(_0x194673._0x39d883), !![]);
|
|
2291
2327
|
}
|
|
2292
|
-
}),
|
|
2293
|
-
const
|
|
2328
|
+
}), _0x11f301?.[_0x2999fe(0x284)] && _0x249066[_0x2999fe(0x28f)](_0x2999fe(_0x3a1e3c._0x3bc430), _0x2999fe(_0x3a1e3c._0x49fef8), { 'work_key': _0x181077[_0x2999fe(_0x3a1e3c._0x38d98f)]() }, async _0x67c234 => {
|
|
2329
|
+
const _0x4549d8 = _0x2999fe;
|
|
2294
2330
|
try {
|
|
2295
|
-
return textResult(await
|
|
2296
|
-
} catch (
|
|
2297
|
-
return textResult(
|
|
2331
|
+
return textResult(await _0x4ff5b4[_0x4549d8(0x272)](_0x67c234));
|
|
2332
|
+
} catch (_0x1f61fa) {
|
|
2333
|
+
return textResult(_0x1f61fa instanceof Error ? _0x1f61fa['message'] : _0x4549d8(0x23c), !![]);
|
|
2298
2334
|
}
|
|
2299
2335
|
});
|
|
2300
2336
|
}
|
|
2301
|
-
async function createChatBridgeServer(
|
|
2302
|
-
const
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
},
|
|
2306
|
-
'name':
|
|
2307
|
-
'version':
|
|
2308
|
-
}),
|
|
2309
|
-
return await registerChatBridgeTools(
|
|
2310
|
-
'handlers':
|
|
2311
|
-
'server':
|
|
2337
|
+
async function createChatBridgeServer(_0x556114) {
|
|
2338
|
+
const _0x9bd8a = {
|
|
2339
|
+
_0x2b9df3: 0x1f5,
|
|
2340
|
+
_0x267eb1: 0x284
|
|
2341
|
+
}, _0x9f8ea2 = _0x36c0a2, {McpServer: _0x51b098} = await import(_0x9f8ea2(_0x9bd8a._0x2b9df3)), _0x316684 = new _0x51b098({
|
|
2342
|
+
'name': _0x9f8ea2(0x160),
|
|
2343
|
+
'version': _0x9f8ea2(0x236)
|
|
2344
|
+
}), _0x12f0a3 = createChatBridgeHandlers(_0x556114);
|
|
2345
|
+
return await registerChatBridgeTools(_0x316684, _0x12f0a3, { 'workerMode': _0x556114[_0x9f8ea2(_0x9bd8a._0x267eb1)] }), {
|
|
2346
|
+
'handlers': _0x12f0a3,
|
|
2347
|
+
'server': _0x316684
|
|
2312
2348
|
};
|
|
2313
2349
|
}
|
|
2314
|
-
function readFlag(
|
|
2315
|
-
const
|
|
2316
|
-
if (
|
|
2350
|
+
function readFlag(_0x5f106b, _0x11e93a) {
|
|
2351
|
+
const _0x1dbf2e = _0x36c0a2, _0x5480e4 = _0x5f106b[_0x1dbf2e(0x1ab)](_0x11e93a);
|
|
2352
|
+
if (_0x5480e4 === -0x1)
|
|
2317
2353
|
return void 0x0;
|
|
2318
|
-
return
|
|
2354
|
+
return _0x5f106b[_0x5480e4 + 0x1];
|
|
2319
2355
|
}
|
|
2320
|
-
function parseChatBridgeArgs(
|
|
2321
|
-
const
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2356
|
+
function parseChatBridgeArgs(_0x2d3adb) {
|
|
2357
|
+
const _0x5882fd = {
|
|
2358
|
+
_0x386b62: 0x1bd,
|
|
2359
|
+
_0x21f7e: 0x2a3,
|
|
2360
|
+
_0x5607ab: 0x26f,
|
|
2361
|
+
_0x3edae7: 0x1f9,
|
|
2362
|
+
_0x4c62d6: 0x2bb,
|
|
2363
|
+
_0x1ff7d4: 0x1e7,
|
|
2364
|
+
_0x416291: 0x1f1,
|
|
2365
|
+
_0x32f59d: 0x298,
|
|
2366
|
+
_0x3ff66e: 0x244
|
|
2367
|
+
}, _0x2f14b6 = _0x36c0a2, _0xb0e7bd = readFlag(_0x2d3adb, _0x2f14b6(0x2d8)), _0xd4cf8a = readFlag(_0x2d3adb, '--attachment-cache-dir'), _0x237f36 = readFlag(_0x2d3adb, '--daemon-api-key'), _0x68cbbf = readFlag(_0x2d3adb, _0x2f14b6(0x1b5)), _0x4895eb = readFlag(_0x2d3adb, _0x2f14b6(_0x5882fd._0x386b62)) ?? 'http://localhost:8121', _0x2dbf67 = readFlag(_0x2d3adb, _0x2f14b6(_0x5882fd._0x21f7e)), _0x1b9694 = readFlag(_0x2d3adb, '--session-id'), _0x5ea76d = readFlag(_0x2d3adb, _0x2f14b6(0x22c)), _0x15e29 = readFlag(_0x2d3adb, _0x2f14b6(_0x5882fd._0x5607ab)), _0x1a70ec = readFlag(_0x2d3adb, '--worker-thread-target'), _0x324b1e = _0x2d3adb[_0x2f14b6(0x18a)](_0x2f14b6(_0x5882fd._0x3edae7)), _0x12ea7a = _0x68cbbf === void 0x0 ? void 0x0 : Number[_0x2f14b6(_0x5882fd._0x4c62d6)](_0x68cbbf, 0xa);
|
|
2368
|
+
if (!_0xb0e7bd)
|
|
2369
|
+
throw new Error(_0x2f14b6(_0x5882fd._0x1ff7d4));
|
|
2370
|
+
if (!_0x237f36)
|
|
2371
|
+
throw new Error(_0x2f14b6(_0x5882fd._0x416291));
|
|
2372
|
+
if (_0x68cbbf !== void 0x0 && (_0x12ea7a === void 0x0 || !Number[_0x2f14b6(_0x5882fd._0x32f59d)](_0x12ea7a) || _0x12ea7a < 0x0))
|
|
2373
|
+
throw new Error(_0x2f14b6(0x2b8));
|
|
2333
2374
|
return {
|
|
2334
|
-
'agentId':
|
|
2335
|
-
'attachmentCacheDir':
|
|
2336
|
-
'daemonApiKey':
|
|
2337
|
-
'daemonLocalUrl':
|
|
2338
|
-
'initialLastSeenSeq':
|
|
2339
|
-
'sessionId':
|
|
2340
|
-
'serverUrl':
|
|
2341
|
-
'workerModeEnabled':
|
|
2342
|
-
'workerSessionId':
|
|
2343
|
-
'workerThreadTarget':
|
|
2344
|
-
'workerMode':
|
|
2375
|
+
'agentId': _0xb0e7bd,
|
|
2376
|
+
'attachmentCacheDir': _0xd4cf8a,
|
|
2377
|
+
'daemonApiKey': _0x237f36,
|
|
2378
|
+
'daemonLocalUrl': _0x2dbf67,
|
|
2379
|
+
'initialLastSeenSeq': _0x12ea7a,
|
|
2380
|
+
'sessionId': _0x1b9694,
|
|
2381
|
+
'serverUrl': _0x4895eb,
|
|
2382
|
+
'workerModeEnabled': _0x5ea76d === void 0x0 ? void 0x0 : _0x5ea76d !== _0x2f14b6(_0x5882fd._0x3ff66e),
|
|
2383
|
+
'workerSessionId': _0x15e29,
|
|
2384
|
+
'workerThreadTarget': _0x1a70ec,
|
|
2385
|
+
'workerMode': _0x324b1e
|
|
2345
2386
|
};
|
|
2346
2387
|
}
|
|
2347
|
-
async function runChatBridgeCli(
|
|
2348
|
-
const
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
'
|
|
2355
|
-
'
|
|
2356
|
-
'
|
|
2357
|
-
'daemonLocalUrl': _0x11ef2f[_0x3c6c63(_0x3cbd0a._0x2d8f70)],
|
|
2388
|
+
async function runChatBridgeCli(_0x5656df) {
|
|
2389
|
+
const _0x25aa3b = {
|
|
2390
|
+
_0x4c73cb: 0x1f7,
|
|
2391
|
+
_0x460568: 0x284,
|
|
2392
|
+
_0x330b3d: 0x21a
|
|
2393
|
+
}, _0x2ac883 = _0x36c0a2, _0xb5ecd6 = parseChatBridgeArgs(_0x5656df), {StdioServerTransport: _0x237866} = await import(_0x2ac883(0x172)), _0x553389 = createInternalAgentClient(_0xb5ecd6), _0x3253f5 = createAttachmentCache({ 'cacheDir': _0xb5ecd6[_0x2ac883(0x221)] }), _0x197852 = await createChatBridgeServer({
|
|
2394
|
+
'agentId': _0xb5ecd6[_0x2ac883(_0x25aa3b._0x4c73cb)],
|
|
2395
|
+
'attachmentCache': _0x3253f5,
|
|
2396
|
+
'client': _0x553389,
|
|
2397
|
+
'daemonLocalUrl': _0xb5ecd6[_0x2ac883(0x2cc)],
|
|
2358
2398
|
'uploadPreparer': prepareUploadFile,
|
|
2359
|
-
'workerModeEnabled':
|
|
2360
|
-
'workerMode':
|
|
2361
|
-
'workerThreadTarget':
|
|
2399
|
+
'workerModeEnabled': _0xb5ecd6['workerModeEnabled'],
|
|
2400
|
+
'workerMode': _0xb5ecd6[_0x2ac883(_0x25aa3b._0x460568)],
|
|
2401
|
+
'workerThreadTarget': _0xb5ecd6['workerThreadTarget']
|
|
2362
2402
|
});
|
|
2363
|
-
await
|
|
2403
|
+
await _0x197852['server'][_0x2ac883(_0x25aa3b._0x330b3d)](new _0x237866());
|
|
2364
2404
|
}
|
|
2365
|
-
var executedAsEntry = process[
|
|
2366
|
-
executedAsEntry && await runChatBridgeCli(process[
|
|
2405
|
+
var executedAsEntry = process[_0x36c0a2(0x1bc)][0x1] ? import.meta.url === pathToFileURL(process[_0x36c0a2(0x1bc)][0x1])['href'] : ![];
|
|
2406
|
+
executedAsEntry && await runChatBridgeCli(process[_0x36c0a2(0x1bc)][_0x36c0a2(0x189)](0x2));
|
|
2367
2407
|
export {
|
|
2368
2408
|
createChatBridgeHandlers,
|
|
2369
2409
|
createChatBridgeServer,
|