@dscord/daemon 0.1.44 → 0.1.45
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 +1958 -1941
- package/dist/index.js +10296 -10183
- package/package.json +1 -1
package/dist/chat-bridge.js
CHANGED
|
@@ -1,24 +1,46 @@
|
|
|
1
|
-
const
|
|
2
|
-
(function (
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
const _0x11a45e = _0xcc9b;
|
|
2
|
+
(function (_0x267c7f, _0x33a869) {
|
|
3
|
+
const _0x201ae0 = {
|
|
4
|
+
_0x343d13: 0xc4,
|
|
5
|
+
_0x4f1a61: 0xa5,
|
|
6
|
+
_0x27dfec: 0xec,
|
|
7
|
+
_0x329a04: 0x95,
|
|
8
|
+
_0x3134b1: 0x18f
|
|
9
|
+
}, _0x68c8d5 = _0xcc9b, _0x4bbad3 = _0x267c7f();
|
|
9
10
|
while (!![]) {
|
|
10
11
|
try {
|
|
11
|
-
const
|
|
12
|
-
if (
|
|
12
|
+
const _0x28a325 = parseInt(_0x68c8d5(0xce)) / 0x1 * (-parseInt(_0x68c8d5(_0x201ae0._0x343d13)) / 0x2) + -parseInt(_0x68c8d5(_0x201ae0._0x4f1a61)) / 0x3 + -parseInt(_0x68c8d5(0x1c2)) / 0x4 + parseInt(_0x68c8d5(0xb5)) / 0x5 + parseInt(_0x68c8d5(0x7f)) / 0x6 + parseInt(_0x68c8d5(_0x201ae0._0x27dfec)) / 0x7 * (-parseInt(_0x68c8d5(_0x201ae0._0x329a04)) / 0x8) + -parseInt(_0x68c8d5(_0x201ae0._0x3134b1)) / 0x9 * (-parseInt(_0x68c8d5(0xdc)) / 0xa);
|
|
13
|
+
if (_0x28a325 === _0x33a869)
|
|
13
14
|
break;
|
|
14
15
|
else
|
|
15
|
-
|
|
16
|
-
} catch (
|
|
17
|
-
|
|
16
|
+
_0x4bbad3['push'](_0x4bbad3['shift']());
|
|
17
|
+
} catch (_0x5d13bb) {
|
|
18
|
+
_0x4bbad3['push'](_0x4bbad3['shift']());
|
|
18
19
|
}
|
|
19
20
|
}
|
|
20
|
-
}(
|
|
21
|
+
}(_0x2d07, 0x2f51e));
|
|
21
22
|
import { pathToFileURL } from 'node:url';
|
|
23
|
+
function _0xcc9b(_0x1226cc, _0x2f2999) {
|
|
24
|
+
_0x1226cc = _0x1226cc - 0x6d;
|
|
25
|
+
const _0x2d0726 = _0x2d07();
|
|
26
|
+
let _0xcc9be6 = _0x2d0726[_0x1226cc];
|
|
27
|
+
if (_0xcc9b['qAUKUD'] === undefined) {
|
|
28
|
+
var _0x3e8ac8 = function (_0x4f05db) {
|
|
29
|
+
const _0x18de70 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
30
|
+
let _0x2ece06 = '', _0x21a9eb = '';
|
|
31
|
+
for (let _0x5e76fc = 0x0, _0x463387, _0x1e870d, _0x1e4a2c = 0x0; _0x1e870d = _0x4f05db['charAt'](_0x1e4a2c++); ~_0x1e870d && (_0x463387 = _0x5e76fc % 0x4 ? _0x463387 * 0x40 + _0x1e870d : _0x1e870d, _0x5e76fc++ % 0x4) ? _0x2ece06 += String['fromCharCode'](0xff & _0x463387 >> (-0x2 * _0x5e76fc & 0x6)) : 0x0) {
|
|
32
|
+
_0x1e870d = _0x18de70['indexOf'](_0x1e870d);
|
|
33
|
+
}
|
|
34
|
+
for (let _0x58fb37 = 0x0, _0x39b51d = _0x2ece06['length']; _0x58fb37 < _0x39b51d; _0x58fb37++) {
|
|
35
|
+
_0x21a9eb += '%' + ('00' + _0x2ece06['charCodeAt'](_0x58fb37)['toString'](0x10))['slice'](-0x2);
|
|
36
|
+
}
|
|
37
|
+
return decodeURIComponent(_0x21a9eb);
|
|
38
|
+
};
|
|
39
|
+
_0xcc9b['TIaQXE'] = _0x3e8ac8, _0xcc9b['yAZUqr'] = {}, _0xcc9b['qAUKUD'] = !![];
|
|
40
|
+
}
|
|
41
|
+
const _0x1485ea = _0x2d0726[0x0], _0x39ef67 = _0x1226cc + _0x1485ea, _0x3a2c60 = _0xcc9b['yAZUqr'][_0x39ef67];
|
|
42
|
+
return !_0x3a2c60 ? (_0xcc9be6 = _0xcc9b['TIaQXE'](_0xcc9be6), _0xcc9b['yAZUqr'][_0x39ef67] = _0xcc9be6) : _0xcc9be6 = _0x3a2c60, _0xcc9be6;
|
|
43
|
+
}
|
|
22
44
|
import {
|
|
23
45
|
mkdir,
|
|
24
46
|
readFile,
|
|
@@ -27,83 +49,76 @@ import {
|
|
|
27
49
|
writeFile
|
|
28
50
|
} from 'node:fs/promises';
|
|
29
51
|
import { homedir } from 'node:os';
|
|
30
|
-
import
|
|
52
|
+
import _0x2ece06 from 'node:path';
|
|
31
53
|
var DEFAULT_MAX_FILE_SIZE = 0x64 * 0x400 * 0x400, MIME_BY_EXTENSION = {
|
|
32
|
-
'.csv':
|
|
33
|
-
'.gif':
|
|
34
|
-
'.jpeg':
|
|
35
|
-
'.jpg':
|
|
36
|
-
'.json':
|
|
54
|
+
'.csv': _0x11a45e(0x133),
|
|
55
|
+
'.gif': 'image/gif',
|
|
56
|
+
'.jpeg': _0x11a45e(0x1da),
|
|
57
|
+
'.jpg': _0x11a45e(0x1da),
|
|
58
|
+
'.json': _0x11a45e(0x1e2),
|
|
37
59
|
'.md': 'text/markdown',
|
|
38
|
-
'.pdf':
|
|
60
|
+
'.pdf': _0x11a45e(0xd4),
|
|
39
61
|
'.png': 'image/png',
|
|
40
|
-
'.svg':
|
|
41
|
-
'.txt':
|
|
42
|
-
'.webp':
|
|
43
|
-
'.xml':
|
|
44
|
-
'.zip':
|
|
62
|
+
'.svg': _0x11a45e(0x113),
|
|
63
|
+
'.txt': _0x11a45e(0x1d6),
|
|
64
|
+
'.webp': _0x11a45e(0x1c5),
|
|
65
|
+
'.xml': 'application/xml',
|
|
66
|
+
'.zip': 'application/zip'
|
|
45
67
|
};
|
|
46
|
-
function guessContentType(
|
|
47
|
-
const
|
|
48
|
-
|
|
49
|
-
_0xe4fe41: 0x2a9
|
|
50
|
-
}, _0x2b497a = _0xbabd6a;
|
|
51
|
-
return MIME_BY_EXTENSION[_0x1c47dc[_0x2b497a(_0x4dd2a0._0x51ffd9)](_0x3042f6)[_0x2b497a(_0x4dd2a0._0xe4fe41)]()] ?? 'application/octet-stream';
|
|
68
|
+
function guessContentType(_0x21a9eb) {
|
|
69
|
+
const _0x2a878f = { _0x23af20: 0x108 }, _0x4808c0 = _0x11a45e;
|
|
70
|
+
return MIME_BY_EXTENSION[_0x2ece06[_0x4808c0(_0x2a878f._0x23af20)](_0x21a9eb)['toLowerCase']()] ?? _0x4808c0(0xb6);
|
|
52
71
|
}
|
|
53
|
-
function safeFilename(
|
|
54
|
-
|
|
72
|
+
function safeFilename(_0x5e76fc) {
|
|
73
|
+
const _0x5de7b9 = _0x11a45e;
|
|
74
|
+
return _0x5e76fc[_0x5de7b9(0x12f)](/[\\/]/g, '-');
|
|
55
75
|
}
|
|
56
|
-
function extensionFor(
|
|
57
|
-
const
|
|
58
|
-
|
|
59
|
-
_0x5a5d17: 0x1fa
|
|
60
|
-
}, _0x47f0f9 = _0xbabd6a, _0x4a7b04 = Object[_0x47f0f9(_0x45f7b1._0x39a820)](MIME_BY_EXTENSION)['find'](([, _0x574648]) => _0x574648 === _0x58069d);
|
|
61
|
-
return _0x4a7b04?.[0x0] ?? _0x47f0f9(_0x45f7b1._0x5a5d17);
|
|
76
|
+
function extensionFor(_0x463387) {
|
|
77
|
+
const _0x24017f = { _0x5847c6: 0x124 }, _0x489f97 = _0x11a45e, _0x1e870d = Object[_0x489f97(0x1f1)](MIME_BY_EXTENSION)[_0x489f97(_0x24017f._0x5847c6)](([, _0x1e4a2c]) => _0x1e4a2c === _0x463387);
|
|
78
|
+
return _0x1e870d?.[0x0] ?? _0x489f97(0x16e);
|
|
62
79
|
}
|
|
63
|
-
async function prepareUploadFile(
|
|
64
|
-
const
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
80
|
+
async function prepareUploadFile(_0x58fb37, _0x39b51d = {}) {
|
|
81
|
+
const _0x20c301 = {
|
|
82
|
+
_0x26eeb7: 0x96,
|
|
83
|
+
_0x513e85: 0x14f,
|
|
84
|
+
_0x576ad8: 0x1ae,
|
|
85
|
+
_0xc49984: 0xa1,
|
|
86
|
+
_0x1c6cc3: 0x12a
|
|
87
|
+
}, _0x292824 = _0x11a45e;
|
|
88
|
+
if (!_0x2ece06['isAbsolute'](_0x58fb37))
|
|
89
|
+
throw new Error('file_path\x20must\x20be\x20an\x20absolute\x20path');
|
|
90
|
+
const _0x5dd808 = await stat(_0x58fb37)[_0x292824(_0x20c301._0x26eeb7)](() => null);
|
|
91
|
+
if (!_0x5dd808 || !_0x5dd808[_0x292824(_0x20c301._0x513e85)]())
|
|
92
|
+
throw new Error(_0x292824(0x145) + _0x58fb37);
|
|
93
|
+
const _0x18efbb = _0x39b51d[_0x292824(0x194)] ?? DEFAULT_MAX_FILE_SIZE;
|
|
94
|
+
if (_0x5dd808['size'] > _0x18efbb)
|
|
95
|
+
throw new Error('File\x20size\x20exceeds\x20limit:\x20' + _0x5dd808[_0x292824(0x12a)]);
|
|
96
|
+
const _0x3ce866 = await readFile(_0x58fb37), _0x4f99bb = _0x2ece06[_0x292824(_0x20c301._0x576ad8)](_0x58fb37);
|
|
78
97
|
return {
|
|
79
|
-
'contentBase64':
|
|
80
|
-
'contentType': guessContentType(
|
|
81
|
-
'filename':
|
|
82
|
-
'sizeBytes':
|
|
98
|
+
'contentBase64': _0x3ce866[_0x292824(_0x20c301._0xc49984)](_0x292824(0x140)),
|
|
99
|
+
'contentType': guessContentType(_0x4f99bb),
|
|
100
|
+
'filename': _0x4f99bb,
|
|
101
|
+
'sizeBytes': _0x5dd808[_0x292824(_0x20c301._0x1c6cc3)]
|
|
83
102
|
};
|
|
84
103
|
}
|
|
85
|
-
function createAttachmentCache(
|
|
86
|
-
const
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
},
|
|
90
|
-
_0x2a596a: 0x26b,
|
|
91
|
-
_0x415555: 0x2b7,
|
|
92
|
-
_0x4e887e: 0x26b
|
|
93
|
-
}, _0xaf639c = { _0x459fc7: 0x200 }, _0x3fc24f = _0xbabd6a, _0x4c5171 = _0x4e9b9d[_0x3fc24f(_0x484a2f._0x58990a)] ?? _0x1c47dc[_0x3fc24f(0x1d4)](homedir(), _0x3fc24f(_0x484a2f._0x1c9957), 'attachments');
|
|
104
|
+
function createAttachmentCache(_0x4e2d37 = {}) {
|
|
105
|
+
const _0x1b5194 = { _0x537922: 0x146 }, _0x2a6219 = {
|
|
106
|
+
_0x52c966: 0x132,
|
|
107
|
+
_0x94ceb2: 0x19a
|
|
108
|
+
}, _0x17a4c6 = { _0x3df2af: 0x132 }, _0xd70e6b = _0x11a45e, _0x88b617 = _0x4e2d37[_0xd70e6b(0x13f)] ?? _0x2ece06[_0xd70e6b(0x132)](homedir(), _0xd70e6b(_0x1b5194._0x537922), _0xd70e6b(0x169));
|
|
94
109
|
return {
|
|
95
|
-
'cacheDir':
|
|
96
|
-
async 'findCachedPath'(
|
|
97
|
-
const
|
|
98
|
-
await mkdir(
|
|
99
|
-
const
|
|
100
|
-
return
|
|
110
|
+
'cacheDir': _0x88b617,
|
|
111
|
+
async 'findCachedPath'(_0x5c75cb) {
|
|
112
|
+
const _0x55137d = _0xd70e6b;
|
|
113
|
+
await mkdir(_0x88b617, { 'recursive': !![] });
|
|
114
|
+
const _0x23fd67 = await readdir(_0x88b617), _0x1a2f13 = _0x23fd67[_0x55137d(0x124)](_0x4fec0b => _0x4fec0b['startsWith'](_0x5c75cb + '-') || _0x4fec0b[_0x55137d(0x180)](_0x5c75cb));
|
|
115
|
+
return _0x1a2f13 ? _0x2ece06[_0x55137d(_0x17a4c6._0x3df2af)](_0x88b617, _0x1a2f13) : null;
|
|
101
116
|
},
|
|
102
|
-
async 'save'(
|
|
103
|
-
const
|
|
104
|
-
await mkdir(
|
|
105
|
-
const
|
|
106
|
-
return await writeFile(
|
|
117
|
+
async 'save'(_0x2df608) {
|
|
118
|
+
const _0x15f98c = _0xd70e6b;
|
|
119
|
+
await mkdir(_0x88b617, { 'recursive': !![] });
|
|
120
|
+
const _0x32aa47 = _0x2df608[_0x15f98c(0x198)]?.[_0x15f98c(0xd0)]() ? safeFilename(_0x2df608[_0x15f98c(0x198)]) : '' + _0x2df608[_0x15f98c(0x1cc)] + extensionFor(_0x2df608[_0x15f98c(0x12d)]), _0x1836f8 = _0x2ece06[_0x15f98c(_0x2a6219._0x52c966)](_0x88b617, _0x2df608['attachmentId'] + '-' + _0x32aa47);
|
|
121
|
+
return await writeFile(_0x1836f8, _0x2df608[_0x15f98c(_0x2a6219._0x94ceb2)]), _0x1836f8;
|
|
107
122
|
}
|
|
108
123
|
};
|
|
109
124
|
}
|
|
@@ -111,2224 +126,2226 @@ import {
|
|
|
111
126
|
createHash,
|
|
112
127
|
randomUUID
|
|
113
128
|
} from 'node:crypto';
|
|
114
|
-
var UNSUPPORTED_TARGET_MESSAGE =
|
|
115
|
-
function
|
|
116
|
-
const
|
|
117
|
-
|
|
118
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
119
|
-
return _0x74105b;
|
|
120
|
-
}
|
|
121
|
-
function parseThreadParts(_0x3d22f9) {
|
|
122
|
-
const _0x168cd3 = { _0x220c02: 0x18c }, _0x156649 = _0xbabd6a, _0x5e0b16 = _0x3d22f9['split'](':');
|
|
123
|
-
if (_0x5e0b16[_0x156649(0x18c)] < 0x1 || _0x5e0b16[_0x156649(_0x168cd3._0x220c02)] > 0x2)
|
|
124
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
125
|
-
return {
|
|
126
|
-
'channelName': ensureSegment(_0x5e0b16[0x0] ?? ''),
|
|
127
|
-
'threadShortId': _0x5e0b16[0x1] ? ensureSegment(_0x5e0b16[0x1]) : null
|
|
128
|
-
};
|
|
129
|
-
}
|
|
130
|
-
function parseTarget(_0x31edee) {
|
|
131
|
-
const _0x476311 = {
|
|
132
|
-
_0x27f462: 0x2ae,
|
|
133
|
-
_0x32dbf2: 0x228,
|
|
134
|
-
_0x451a61: 0x1d5,
|
|
135
|
-
_0x213426: 0x1e3,
|
|
136
|
-
_0x2b1aa4: 0x230,
|
|
137
|
-
_0x4f07e5: 0x1e8,
|
|
138
|
-
_0x233cd0: 0x1f4,
|
|
139
|
-
_0x396b66: 0x1e3,
|
|
140
|
-
_0x4be103: 0x28f,
|
|
141
|
-
_0x3f9782: 0x230,
|
|
142
|
-
_0x455eba: 0x1f4
|
|
143
|
-
}, _0x1dd7b5 = _0xbabd6a, _0xf1a068 = _0x31edee[_0x1dd7b5(_0x476311._0x27f462)]();
|
|
144
|
-
if (!_0xf1a068)
|
|
145
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
146
|
-
if (_0xf1a068['startsWith']('#')) {
|
|
147
|
-
const _0x4a71cc = parseThreadParts(_0xf1a068['slice'](0x1)), _0xada33 = '#' + _0x4a71cc[_0x1dd7b5(0x1f4)];
|
|
148
|
-
if (!_0x4a71cc[_0x1dd7b5(0x1d5)])
|
|
149
|
-
return {
|
|
150
|
-
'channelName': _0x4a71cc['channelName'],
|
|
151
|
-
'channelTarget': _0xada33,
|
|
152
|
-
'kind': _0x1dd7b5(0x280),
|
|
153
|
-
'target': _0xada33
|
|
154
|
-
};
|
|
155
|
-
return {
|
|
156
|
-
'channelName': _0x4a71cc[_0x1dd7b5(0x1f4)],
|
|
157
|
-
'channelTarget': _0xada33,
|
|
158
|
-
'kind': _0x1dd7b5(_0x476311._0x32dbf2),
|
|
159
|
-
'target': _0xada33 + ':' + _0x4a71cc['threadShortId'],
|
|
160
|
-
'threadShortId': _0x4a71cc[_0x1dd7b5(_0x476311._0x451a61)]
|
|
161
|
-
};
|
|
162
|
-
}
|
|
163
|
-
if (_0xf1a068[_0x1dd7b5(_0x476311._0x213426)](_0x1dd7b5(_0x476311._0x2b1aa4))) {
|
|
164
|
-
const _0x5197d9 = parseThreadParts(_0xf1a068[_0x1dd7b5(_0x476311._0x4f07e5)](0x3));
|
|
165
|
-
if (!_0x5197d9[_0x1dd7b5(_0x476311._0x233cd0)][_0x1dd7b5(_0x476311._0x396b66)](_0x1dd7b5(_0x476311._0x4be103)))
|
|
166
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
167
|
-
const _0x30ebdf = _0x1dd7b5(_0x476311._0x3f9782) + _0x5197d9[_0x1dd7b5(0x1f4)];
|
|
168
|
-
if (!_0x5197d9[_0x1dd7b5(0x1d5)])
|
|
169
|
-
return {
|
|
170
|
-
'channelName': _0x5197d9['channelName'],
|
|
171
|
-
'channelTarget': _0x30ebdf,
|
|
172
|
-
'kind': 'channel',
|
|
173
|
-
'target': _0x30ebdf
|
|
174
|
-
};
|
|
175
|
-
return {
|
|
176
|
-
'channelName': _0x5197d9[_0x1dd7b5(_0x476311._0x455eba)],
|
|
177
|
-
'channelTarget': _0x30ebdf,
|
|
178
|
-
'kind': _0x1dd7b5(0x228),
|
|
179
|
-
'target': _0x30ebdf + ':' + _0x5197d9[_0x1dd7b5(0x1d5)],
|
|
180
|
-
'threadShortId': _0x5197d9[_0x1dd7b5(0x1d5)]
|
|
181
|
-
};
|
|
182
|
-
}
|
|
183
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
184
|
-
}
|
|
185
|
-
function asErrorMessage(_0x2ff313, _0x5d4755) {
|
|
186
|
-
const _0x14ff47 = { _0x16f91f: 0x1ff }, _0x5d786e = _0xbabd6a;
|
|
187
|
-
if (typeof _0x2ff313 === _0x5d786e(_0x14ff47._0x16f91f) && _0x2ff313[_0x5d786e(0x2ae)]())
|
|
188
|
-
return _0x2ff313;
|
|
189
|
-
return _0x5d4755;
|
|
190
|
-
}
|
|
191
|
-
function asRecord(_0x2219f8) {
|
|
192
|
-
const _0x109d65 = _0xbabd6a;
|
|
193
|
-
return typeof _0x2219f8 === _0x109d65(0x25e) && _0x2219f8 !== null ? _0x2219f8 : {};
|
|
194
|
-
}
|
|
195
|
-
function stableStringify(_0x1ec4fa) {
|
|
196
|
-
const _0x521710 = {
|
|
197
|
-
_0x2802bb: 0x1d4,
|
|
198
|
-
_0xbe70: 0x1d9,
|
|
199
|
-
_0x2aaf6d: 0x2e9,
|
|
200
|
-
_0x1283b1: 0x1c9,
|
|
201
|
-
_0xba580d: 0x1d4
|
|
202
|
-
}, _0x49518f = _0xbabd6a;
|
|
203
|
-
if (_0x1ec4fa === null || typeof _0x1ec4fa !== 'object')
|
|
204
|
-
return JSON[_0x49518f(0x176)](_0x1ec4fa);
|
|
205
|
-
if (Array['isArray'](_0x1ec4fa))
|
|
206
|
-
return '[' + _0x1ec4fa['map'](_0x62ea76 => stableStringify(_0x62ea76))[_0x49518f(_0x521710._0x2802bb)](',') + ']';
|
|
207
|
-
const _0x4284a8 = Object[_0x49518f(_0x521710._0xbe70)](_0x1ec4fa)[_0x49518f(_0x521710._0x2aaf6d)](([, _0x3f1584]) => _0x3f1584 !== void 0x0)[_0x49518f(_0x521710._0x1283b1)](([_0x4965dd], [_0x12d763]) => _0x4965dd['localeCompare'](_0x12d763))[_0x49518f(0x258)](([_0x6ce211, _0x263913]) => JSON[_0x49518f(0x176)](_0x6ce211) + ':' + stableStringify(_0x263913));
|
|
208
|
-
return '{' + _0x4284a8[_0x49518f(_0x521710._0xba580d)](',') + '}';
|
|
209
|
-
}
|
|
210
|
-
function createHeaders(_0x8061cc) {
|
|
211
|
-
const _0x5a74fe = _0xbabd6a;
|
|
212
|
-
return {
|
|
213
|
-
'Content-Type': _0x5a74fe(0x2e2),
|
|
214
|
-
'x-daemon-api-key': _0x8061cc
|
|
215
|
-
};
|
|
216
|
-
}
|
|
217
|
-
function toHttpBaseUrl(_0x59bc85) {
|
|
218
|
-
const _0x25a3be = {
|
|
219
|
-
_0xca16f2: 0x196,
|
|
220
|
-
_0x55c353: 0x1e2,
|
|
221
|
-
_0x916d6e: 0x1a2
|
|
222
|
-
}, _0x3e5b07 = _0xbabd6a, _0x376e0c = new URL(_0x59bc85);
|
|
223
|
-
if (_0x376e0c[_0x3e5b07(0x196)] === _0x3e5b07(0x246))
|
|
224
|
-
_0x376e0c[_0x3e5b07(_0x25a3be._0xca16f2)] = _0x3e5b07(_0x25a3be._0x55c353);
|
|
225
|
-
else
|
|
226
|
-
_0x376e0c[_0x3e5b07(_0x25a3be._0xca16f2)] === _0x3e5b07(_0x25a3be._0x916d6e) && (_0x376e0c['protocol'] = _0x3e5b07(0x28e));
|
|
227
|
-
return _0x376e0c['toString']()['replace'](/\/$/, '');
|
|
228
|
-
}
|
|
229
|
-
function _0x275c() {
|
|
230
|
-
const _0x33316c = [
|
|
231
|
-
'DxbKyxrLvgfZA1n0yxr1CW',
|
|
129
|
+
var UNSUPPORTED_TARGET_MESSAGE = _0x11a45e(0x18e);
|
|
130
|
+
function _0x2d07() {
|
|
131
|
+
const _0x2bce7f = [
|
|
132
|
+
'AhvTyw4',
|
|
232
133
|
'ihr5Cgu9ywDLBNq',
|
|
233
|
-
'
|
|
234
|
-
'
|
|
235
|
-
'
|
|
236
|
-
'
|
|
237
|
-
'
|
|
238
|
-
'
|
|
239
|
-
'
|
|
240
|
-
'y2HHDa',
|
|
241
|
-
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
242
|
-
'iokaLcb1C2uGDMLLD19MAwXLihrVihnLzv0',
|
|
243
|
-
'y29UDgvUDc10ExbL',
|
|
244
|
-
'Dw5JBgfPBvrHC2S',
|
|
245
|
-
'nJaZnJy0nKLmA1HswG',
|
|
246
|
-
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
247
|
-
'zxHLy3v0Aw9Utw9Kzq',
|
|
248
|
-
'B3jPz2LUywXgAwXLBMfTzq',
|
|
249
|
-
'vxbKyxrLihrHC2SGC3rHDhvZigj5ignOyw5UzwWGyw5KihrHC2SGBNvTyMvYlG',
|
|
250
|
-
'y3vYC29Y',
|
|
251
|
-
'iYmJiefNzw50CW',
|
|
252
|
-
'C2vUzgvYvhLWzq',
|
|
253
|
-
'CMvZB2X2zvrHCMDLDa',
|
|
134
|
+
'zgvJAxnPB25Z',
|
|
135
|
+
'DgHYzwfKswq',
|
|
136
|
+
'zgvZDhjVEwvK',
|
|
137
|
+
'y29TCgXLDgvK',
|
|
138
|
+
'zMLSDgvY',
|
|
139
|
+
'mJe2qwz2DwfH',
|
|
140
|
+
'y2f0y2G',
|
|
254
141
|
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
255
|
-
'
|
|
256
|
-
'
|
|
257
|
-
'
|
|
258
|
-
'ig1LC3nHz2u9',
|
|
259
|
-
'z2v0twLUDxrLCW',
|
|
260
|
-
'B3bLBL9PC3n1zxm',
|
|
261
|
-
'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
|
|
262
|
-
'kgXLz2fJEsK',
|
|
263
|
-
'ChvZAa',
|
|
264
|
-
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
265
|
-
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
266
|
-
'C29YDa',
|
|
267
|
-
'zxnJywXHDgvFDg9FBwfPBG',
|
|
268
|
-
'oty4uMresg5H',
|
|
269
|
-
'C2L6zuj5DgvZ',
|
|
270
|
-
'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
|
|
271
|
-
'twfYAYb0AguGy3vYCMvUDcb3B3jRzxiGyxmGD2fPDgLUzYbMB3iGAhvTyw4GAw5WDxqUifbHDxnLCYb0AguGAwrSzsbuveWGDgLTzxiGDw50AwWGysbUzxCGBwvZC2fNzsbHCNjPDMvZlG',
|
|
272
|
-
'CM9VDe1LC3nHz2vjza',
|
|
273
|
-
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
274
|
-
'l3rHC2TZpW',
|
|
275
|
-
'zMLUAxnOx3DVCMTLCIbMywLSzwq',
|
|
276
|
-
'CMvHzf9OAxn0B3j5',
|
|
277
|
-
'AM9PBG',
|
|
278
|
-
'DgHYzwfKu2HVCNrjza',
|
|
279
|
-
'yxbWBgLJyxrPB24VEg1S',
|
|
280
|
-
'Dg9ju09tDhjPBMC',
|
|
281
|
-
'CxvLDwvK',
|
|
282
|
-
'zw50CMLLCW',
|
|
283
|
-
'igTPBMq9',
|
|
284
|
-
'Dg9VBa',
|
|
285
|
-
'z2v0vgLTzq',
|
|
286
|
-
'z2v0sg91CNm',
|
|
287
|
-
'uM9VDcb0yxnRig1LC3nHz2uGAwq6ia',
|
|
288
|
-
'zMLUAxnOx3DVCMTLCG',
|
|
289
|
-
'AxnjBNrLz2vY',
|
|
290
|
-
'vgfZAYa',
|
|
291
|
-
'Ahr0CdO',
|
|
292
|
-
'C3rHCNrZv2L0Aa',
|
|
293
|
-
'D29YA2vYrgLZCg9ZAxrPB249',
|
|
294
|
-
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
295
|
-
'DgL0Bgu',
|
|
296
|
-
'AwrSzq',
|
|
297
|
-
'C2XPy2u',
|
|
298
|
-
'CgfKu3rHCNq',
|
|
299
|
-
'C2vUze1LC3nHz2u',
|
|
300
|
-
'odm2ntG2nu5IwKrruq',
|
|
301
|
-
'C2vYDMvYvxjS',
|
|
302
|
-
'l3vWBg9Hza',
|
|
303
|
-
'lsba',
|
|
304
|
-
'zgLZCg9ZAxrPB24',
|
|
305
|
-
'ywjVCNq',
|
|
306
|
-
'ihrPBwu9',
|
|
142
|
+
'C2vUzgvYvhLWzq',
|
|
143
|
+
'DgfZA0LK',
|
|
144
|
+
'zMLSzxnFy2HHBMDLza',
|
|
307
145
|
'AxngAw5PDgu',
|
|
308
|
-
'
|
|
309
|
-
'
|
|
310
|
-
'
|
|
311
|
-
'
|
|
312
|
-
'
|
|
313
|
-
'
|
|
314
|
-
'
|
|
315
|
-
'
|
|
316
|
-
'
|
|
317
|
-
'
|
|
318
|
-
'
|
|
319
|
-
'
|
|
146
|
+
'ig1LC3nHz2vZihnOB3DUlIbvC2uGyMvMB3jLpq',
|
|
147
|
+
'kg5VBMuP',
|
|
148
|
+
'DgfZAY0',
|
|
149
|
+
'cUkAOo+4JYbxt1jlrviGqunusvzbveveiokaLcbtDg9Wiefmtcb3B3jRig9UihrOAxmGDgfZAYbPBw1LzgLHDgvSEs4Gv29YA2vYigHHBMrSzxmGzxHLy3v0Aw9UigvUzc10BY1LBMqU',
|
|
150
|
+
'y29UDgvUDc10ExbL',
|
|
151
|
+
'Dg9tDhjPBMC',
|
|
152
|
+
'C2vUzgvYtMfTzq',
|
|
153
|
+
'r0vu',
|
|
154
|
+
'vgfZAYa',
|
|
155
|
+
'mZKZmtiZy1fYDwPx',
|
|
156
|
+
'DxnLCG',
|
|
157
|
+
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
158
|
+
'l2zPBMLZAa',
|
|
320
159
|
'C3rYAw5N',
|
|
321
|
-
'
|
|
322
|
-
'
|
|
323
|
-
'
|
|
324
|
-
'
|
|
325
|
-
'
|
|
160
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
161
|
+
'ig1ZzZ0',
|
|
162
|
+
'DgfZA19Pza',
|
|
163
|
+
'zgfLBw9UqxbPs2v5',
|
|
164
|
+
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
165
|
+
'D29YA2vYCW',
|
|
166
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxm',
|
|
167
|
+
'Dw5RBM93BG',
|
|
168
|
+
'BgLZDfrHC2TZ',
|
|
169
|
+
'xsba',
|
|
170
|
+
'C2vUzf9TzxnZywDL',
|
|
171
|
+
'mta3nte3nxnzEhLrCG',
|
|
172
|
+
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
173
|
+
'CMvZCg9UC2u',
|
|
174
|
+
'yxjNDG',
|
|
326
175
|
'BgLZDfnLCNzLCG',
|
|
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
|
-
'CNvUBMLUzW',
|
|
363
|
-
'zxHLy3v0Aw9Utw9Kzt0',
|
|
364
|
-
'yxjYyxK',
|
|
365
|
-
'CgfYDgLJAxbHBNq',
|
|
366
|
-
'Bwf0y2Hoyw1Ltg93zxi',
|
|
367
|
-
'Agv4',
|
|
368
|
-
'Aw1Hz2uVANbLzW',
|
|
369
|
-
'zg06',
|
|
176
|
+
'l3nLCNzLCG',
|
|
177
|
+
'DgHYzwfKx3rHCMDLDa',
|
|
178
|
+
'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
|
|
179
|
+
'ywjVCNq',
|
|
180
|
+
'AhvTyw5Z',
|
|
181
|
+
'Bwv0yq',
|
|
182
|
+
'l3nLBMq',
|
|
183
|
+
'Dg9ju09tDhjPBMC',
|
|
184
|
+
'C3rVCe1HAw4',
|
|
185
|
+
'CgfYC2u',
|
|
186
|
+
'mJG3otr6AuTfDuu',
|
|
187
|
+
'iYmJieH1BwfUCW',
|
|
188
|
+
'C2vYDMvYtMfTzq',
|
|
189
|
+
'DgfZA051BwjLCG',
|
|
190
|
+
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
191
|
+
'l3DVCMTLCNmVD2fPDgLUz19PBNb1Da',
|
|
192
|
+
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
193
|
+
'Ahr0CdOVl2XVy2fSAg9ZDdO4mtiX',
|
|
194
|
+
'BgLTAxq',
|
|
195
|
+
'DgHYzwfKtNvTyMvY',
|
|
196
|
+
'mJfVtMnMCfG',
|
|
197
|
+
'D29YA2vYtw9KzuvUywjSzwq',
|
|
198
|
+
'DhjPBq',
|
|
199
|
+
'zMLUAxnOx3DVCMTLCIbMywLSzwq',
|
|
200
|
+
'C2vYDMvY',
|
|
201
|
+
'twvZC2fNzsbZzw50ihrVia',
|
|
202
|
+
'yxbWBgLJyxrPB24VCgrM',
|
|
203
|
+
'vgfZAZOG',
|
|
204
|
+
'sgfUzg9MzIb0BYb3B3jRzxiGzM9YihrHC2SG',
|
|
205
|
+
'y2HLy2TFBwvZC2fNzxm',
|
|
206
|
+
'zg9Uzq',
|
|
207
|
+
'ls13B3jRzxiTDgHYzwfKlxrHCMDLDa',
|
|
208
|
+
'C3bSAxq',
|
|
209
|
+
'Dgv4Da',
|
|
210
|
+
'mZyYnJeXmhLys1HOCG',
|
|
370
211
|
'DgfYz2v0zwruyxnR',
|
|
371
|
-
'
|
|
372
|
-
'
|
|
373
|
-
'
|
|
374
|
-
'uM9VDcb0yxnRig1LC3nHz2u6cG',
|
|
375
|
-
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
376
|
-
'C2nOzwr1BgvKrM9Y',
|
|
377
|
-
'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlG',
|
|
378
|
-
'yxbWBgLJyxrPB24VEMLW',
|
|
379
|
-
'u2vUzcbHig1LC3nHz2uUieLMihzPC2LIAwXPDhKGAxmGB21PDhrLzcWGDgHLig1LC3nHz2uGAxmGChvIBgLJlIbjBIb0yxnRihrOCMvHzhmSihnLDcb2AxnPyMLSAxr5oIbHC2LKzsbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Gt3v0C2LKzsb0AhjLywrZlcbKBYbUB3qGC2v0ihzPC2LIAwXPDhKUifjLDxnLihrOzsbLEgfJDcb0yxjNzxqGC3rYAw5NigzYB20GAw5JB21PBMCGBwvZC2fNzxmU',
|
|
380
|
-
'khvUA25VD24P',
|
|
212
|
+
'zw50zxiTAgfUzg9MzIbMywLSzwq',
|
|
213
|
+
'CNvUBMLUzW',
|
|
214
|
+
'DgHYzwfKu2HVCNrjza',
|
|
381
215
|
'yxr0ywnOBwvUDeLKCW',
|
|
382
|
-
'
|
|
383
|
-
'
|
|
384
|
-
'
|
|
385
|
-
'
|
|
386
|
-
'w3nLCt0',
|
|
387
|
-
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
388
|
-
'zxH0BMfTzq',
|
|
389
|
-
'igLUia',
|
|
390
|
-
'C3vJy2vZCW',
|
|
391
|
-
'D3m6',
|
|
392
|
-
'cUkAOo+4JYbxt1jlrviGqunusvzbveveiokaLcbtDg9Wiefmtcb3B3jRig9UihrOAxmGDgfZAYbPBw1LzgLHDgvSEs4Gv29YA2vYigHHBMrSzxmGzxHLy3v0Aw9UigvUzc10BY1LBMqU',
|
|
393
|
-
'BwvTyMvYCW',
|
|
394
|
-
'tM8GDgfZA3mGzM91BMqU',
|
|
395
|
-
'DgvZDa',
|
|
216
|
+
'ChvIBgLJ',
|
|
217
|
+
'l3DVCMTLCNmVCMvZDwX0p3DVCMTFA2v5pq',
|
|
218
|
+
'icHPzdO',
|
|
219
|
+
'l3jLy2vPDMu',
|
|
396
220
|
'iIbUB3qGzM91BMq',
|
|
397
|
-
'
|
|
398
|
-
'
|
|
399
|
-
'
|
|
400
|
-
'
|
|
401
|
-
'
|
|
402
|
-
'
|
|
403
|
-
'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
|
|
404
|
-
'Aw5JBhvKzxm',
|
|
405
|
-
'CMvZDw1Lx3bHy2TLDa',
|
|
406
|
-
'yM9KEvrLEhq',
|
|
407
|
-
'D29YA2vY',
|
|
221
|
+
'C29Tzq',
|
|
222
|
+
'AwrLBxbVDgvUy3LFA2v5',
|
|
223
|
+
'lIbZDg9WtwfPBJ10CNvLigv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
224
|
+
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4',
|
|
225
|
+
'u2vUzcbHig1LC3nHz2uUieLMihzPC2LIAwXPDhKGAxmGB21PDhrLzcWGDgHLig1LC3nHz2uGAxmGChvIBgLJlIbjBIb0yxnRihrOCMvHzhmSihnLDcb2AxnPyMLSAxr5oIbHC2LKzsbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Gt3v0C2LKzsb0AhjLywrZlcbKBYbUB3qGC2v0ihzPC2LIAwXPDhKUifjLDxnLihrOzsbLEgfJDcb0yxjNzxqGC3rYAw5NigzYB20GAw5JB21PBMCGBwvZC2fNzxmU',
|
|
226
|
+
'mtC2mdvVCwPesNe',
|
|
408
227
|
'yxr0ywnOBwvUDf9Pza',
|
|
409
|
-
'BwfW',
|
|
410
|
-
'Dg9KBW',
|
|
411
|
-
'C2vZC2LVBKLK',
|
|
412
|
-
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4',
|
|
413
|
-
'Cgf5Bg9HzePZB24',
|
|
414
|
-
'CMvZDwX0CW',
|
|
415
|
-
'B2jQzwn0',
|
|
416
|
-
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
417
|
-
'zxHWAxjLC0f0',
|
|
418
228
|
'y3jLyxrLzef0',
|
|
419
|
-
'
|
|
420
|
-
'
|
|
421
|
-
'
|
|
422
|
-
'
|
|
423
|
-
'
|
|
424
|
-
'
|
|
425
|
-
'
|
|
426
|
-
'
|
|
427
|
-
'
|
|
428
|
-
'
|
|
429
|
-
'
|
|
430
|
-
'
|
|
431
|
-
'
|
|
432
|
-
'
|
|
433
|
-
'igzHAwXLzdOG',
|
|
434
|
-
'BgLZDf90yxnRCW',
|
|
435
|
-
'BgLZDf9Zzxj2zxi',
|
|
436
|
-
'DMLLD19MAwXLigzHAwXLza',
|
|
437
|
-
'D29YA2vYu2vZC2LVBKLK',
|
|
438
|
-
'z2v0x3DVCMTLCL9ZDgf0DxmGzMfPBgvK',
|
|
439
|
-
'BwvKAxvT',
|
|
440
|
-
'yxr0ywnOBwvUDenHy2HL',
|
|
229
|
+
'y3jLyxrLx3rHC2TZ',
|
|
230
|
+
'C2f2zq',
|
|
231
|
+
'yM9KEu1HCMTKB3DU',
|
|
232
|
+
'ls1PBML0AwfSlwXHC3qTC2vLBI1Zzxe',
|
|
233
|
+
'CgfYDgLJAxbHBNq',
|
|
234
|
+
'D29YA2vYsgfUzg9MzJ10CNvL',
|
|
235
|
+
'yxjYyxLcDwzMzxi',
|
|
236
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
237
|
+
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
238
|
+
'DgHYzwfKvgfYz2v0',
|
|
239
|
+
'ue9tva',
|
|
240
|
+
'AxnbCNjHEq',
|
|
241
|
+
'zxHLy3v0Aw9Utw9Kzq',
|
|
242
|
+
'Dw5JBgfPBv90yxnR',
|
|
441
243
|
'zNjVBq',
|
|
442
|
-
'
|
|
443
|
-
'
|
|
444
|
-
'
|
|
244
|
+
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
245
|
+
'BwvTyMvY',
|
|
246
|
+
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4',
|
|
247
|
+
'CMvHzeHPC3rVCNK',
|
|
248
|
+
'CMvHzf9OAxn0B3j5',
|
|
249
|
+
'ANnVBG',
|
|
250
|
+
'DxrMoa',
|
|
251
|
+
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
252
|
+
'C2v0',
|
|
253
|
+
'C2vUze1LC3nHz2u',
|
|
254
|
+
'zxH0BMfTzq',
|
|
255
|
+
'ywz0zxjtzxe',
|
|
256
|
+
'l3DVCMTLCNmVzMLUAxnO',
|
|
257
|
+
'CgfYDgLJAxbHBNrjza',
|
|
258
|
+
'ls1KywvTB24TyxbPlwTLEq',
|
|
259
|
+
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
260
|
+
'yxnPzgu',
|
|
261
|
+
'zxnJywXHDgvFDg9FBwfPBG',
|
|
262
|
+
'ignSywLTzwq',
|
|
263
|
+
'DxbKyxrLvgfZA1n0yxr1CW',
|
|
264
|
+
'uM9VDcb0yxnRig1LC3nHz2uGAwq6ia',
|
|
265
|
+
'Aw1Hz2uVC3zNk3HTBa',
|
|
266
|
+
'v29YA2vYia',
|
|
267
|
+
'Aw5JBhvKzxm',
|
|
268
|
+
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
269
|
+
'rg93BMXVywrLzcb0BZOG',
|
|
270
|
+
'D29YA2vYtw9Kzq',
|
|
445
271
|
'CMvJB3jK',
|
|
446
|
-
'
|
|
447
|
-
'
|
|
448
|
-
'
|
|
272
|
+
'ywrKrxzLBNrmAxn0zw5LCG',
|
|
273
|
+
'C2vX',
|
|
274
|
+
'zMLSzw5HBwu',
|
|
275
|
+
'DMfSDwvZ',
|
|
276
|
+
'yMvMB3jL',
|
|
277
|
+
'BgLZDf9Zzxj2zxi',
|
|
278
|
+
'AgfZ',
|
|
279
|
+
'y2HHBM5LBhm',
|
|
280
|
+
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
281
|
+
'DgL0Bgu',
|
|
282
|
+
'zMLUza',
|
|
283
|
+
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
284
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
285
|
+
'BMv4Df9ZDgvWCW',
|
|
286
|
+
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
287
|
+
'Cgf5Bg9HzePZB24',
|
|
288
|
+
'C2L6zq',
|
|
289
|
+
'lcbWCMv2Awv3pq',
|
|
290
|
+
'CMvZDwX0',
|
|
291
|
+
'y29UDgvUDfr5Cgu',
|
|
292
|
+
'z2v0x3DVCMTLCL9Yzxn1Bhq',
|
|
293
|
+
'CMvWBgfJzq',
|
|
294
|
+
'Bwf4',
|
|
295
|
+
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
296
|
+
'AM9PBG',
|
|
297
|
+
'Dgv4Dc9JC3y',
|
|
298
|
+
'C2LNBMfS',
|
|
299
|
+
'Bwf0y2Hoyw1L',
|
|
300
|
+
'ChvZAa',
|
|
301
|
+
'BgLZDf90yxnRCW',
|
|
302
|
+
'z2v0',
|
|
303
|
+
'CMvHC29U',
|
|
304
|
+
'C2HHmJu2',
|
|
305
|
+
'C2vYDMvYvxjS',
|
|
449
306
|
'y2HHBM5LBa',
|
|
450
|
-
'
|
|
307
|
+
'DxbSB2fKrMLSzq',
|
|
308
|
+
'l2nVBNrLBNq',
|
|
309
|
+
'y2fJAgveAxi',
|
|
310
|
+
'yMfZzty0',
|
|
311
|
+
'DxbSB2fKuhjLCgfYzxi',
|
|
312
|
+
'AwrSzq',
|
|
313
|
+
'yM9KEvrLEhq',
|
|
314
|
+
'BwvZC2fNzxm',
|
|
315
|
+
'rMLSzsbUB3qGzM91BMq6ia',
|
|
316
|
+
'lNnSB2nR',
|
|
317
|
+
'C3vJy2vZCW',
|
|
318
|
+
'zw51Bq',
|
|
319
|
+
'DxbKyxrL',
|
|
451
320
|
'C3rHDhvZ',
|
|
452
|
-
'
|
|
453
|
-
'
|
|
454
|
-
'
|
|
455
|
-
'
|
|
456
|
-
'
|
|
457
|
-
'
|
|
458
|
-
'
|
|
459
|
-
'
|
|
460
|
-
'
|
|
461
|
-
'
|
|
462
|
-
'
|
|
463
|
-
'
|
|
464
|
-
'
|
|
465
|
-
'DhLWzq',
|
|
321
|
+
'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
|
|
322
|
+
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
323
|
+
'ywDLBNrjza',
|
|
324
|
+
'igf0DgfJAg1LBNq',
|
|
325
|
+
'AxngAwXL',
|
|
326
|
+
'D29YA2vYsgfUzg9MzKvYCM9Y',
|
|
327
|
+
'igfSCMvHzhKGAgfZigfUigfJDgL2zsb3B3jRzxiUihn0B3bnywLUpxrYDwuGzxHLy3v0Aw9Utw9Kzt13B3jRzxi',
|
|
328
|
+
'BwLU',
|
|
329
|
+
'ls13B3jRzxiTBw9Kzq',
|
|
330
|
+
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
331
|
+
'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
|
|
332
|
+
'ywDNCMvNyxrLvhLWzq',
|
|
333
|
+
'z2v0u2vJB25KCW',
|
|
466
334
|
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
467
|
-
'
|
|
468
|
-
'
|
|
469
|
-
'
|
|
470
|
-
'
|
|
471
|
-
'yxbWBgLJyxrPB24VCgrM',
|
|
472
|
-
'yMvMB3jL',
|
|
473
|
-
'y2HLy2TFBwvZC2fNzxm',
|
|
335
|
+
'lsba',
|
|
336
|
+
'CxvLDwvK',
|
|
337
|
+
'Dg9gAxHLza',
|
|
338
|
+
'kgXLz2fJEsK',
|
|
474
339
|
'BwvZC2fNzuLK',
|
|
475
|
-
'
|
|
340
|
+
'zMLSzv9WyxrO',
|
|
341
|
+
't3jPz2LUywWGBwvZC2fNztOG',
|
|
342
|
+
'w3rHCMDLDd0',
|
|
343
|
+
'yxr0ywnOBwvUDenHy2HL',
|
|
344
|
+
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
345
|
+
'y2HHDa',
|
|
346
|
+
'CgfYC2vjBNq',
|
|
347
|
+
'zgfLBw9Utg9JywXvCMW',
|
|
348
|
+
'sfruuca',
|
|
349
|
+
'Bwf0y2Hoyw1Ltg93zxi',
|
|
350
|
+
'ls13B3jRzxiTC2vZC2LVBI1Pza',
|
|
351
|
+
'yxr0ywnOBwvUDhm',
|
|
352
|
+
'ywDNCMvNyxrLswq',
|
|
353
|
+
'zMfPBgvK',
|
|
354
|
+
'y2XPzw50',
|
|
355
|
+
'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlG',
|
|
356
|
+
'lMjPBG',
|
|
357
|
+
'uMv0CMLLDMuGDgHLihjLC3vSDcaOCMvZDw1LihbHy2TLDcKGB2yGysbJB21WBgv0zwqGD29YA2vYlG',
|
|
358
|
+
'ls1Zzxj2zxiTDxjS',
|
|
359
|
+
'CMvZDwX0sNnVBG',
|
|
360
|
+
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
361
|
+
'Aw5FCMv2Awv3',
|
|
362
|
+
'yxr0ywnOBwvUDf9Pzhm',
|
|
363
|
+
'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
|
|
364
|
+
'lcbJB250zw50lxr5Cgu9',
|
|
365
|
+
'tM8GDgfZA3mGy2XHAw1Lzc4',
|
|
366
|
+
'AgfZtw9Yzq',
|
|
367
|
+
'C3rHCNrLza',
|
|
368
|
+
'DgfYz2v0zwq',
|
|
369
|
+
'C2nOzwr1BgvKrM9Y',
|
|
370
|
+
'zxjYB3i',
|
|
371
|
+
'z2v0rgf0zq',
|
|
372
|
+
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
373
|
+
'l3vWBg9Hza',
|
|
374
|
+
'C3rHCNrZv2L0Aa',
|
|
375
|
+
'zMLUAxnOx3DVCMTLCG',
|
|
376
|
+
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
377
|
+
'iYmGu2vYDMvYoIa',
|
|
378
|
+
'ywDLBNrZ',
|
|
379
|
+
'Dg9KBW',
|
|
476
380
|
'ywz0zxi',
|
|
477
|
-
'
|
|
478
|
-
'
|
|
479
|
-
'
|
|
480
|
-
'
|
|
481
|
-
'
|
|
381
|
+
'rg8GBM90ihnLBMqGzNvYDgHLCIbTzxnZywDLCYb0BYb0AgLZihrOCMvHzcdIGjqGDgHLihDVCMTLCIbPCYbOyw5KBgLUzYbPDc4',
|
|
382
|
+
'DMLLD19MAwXLigzHAwXLza',
|
|
383
|
+
'DhLWzq',
|
|
384
|
+
'AgLNAa',
|
|
385
|
+
'twLZC2LUzYaTlwfNzw50lwLK',
|
|
386
|
+
'D29YA2vYx3nLC3nPB25FAwq',
|
|
387
|
+
'zgvZy3jPChrPB24',
|
|
388
|
+
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
389
|
+
'ow9jyvvcDa',
|
|
390
|
+
'iJOGC3rHDhvZpq',
|
|
391
|
+
'BwvTyMvYCW',
|
|
392
|
+
'y2XHAw1FDgfZA3m',
|
|
393
|
+
'y2HLy2TFBwvZC2fNzxmGzMfPBgvK',
|
|
394
|
+
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
395
|
+
'BwfW',
|
|
396
|
+
'yxv0BZO',
|
|
397
|
+
'z2v0tw9UDgG',
|
|
398
|
+
'B3jPz2LUywXgAwXLBMfTzq',
|
|
399
|
+
'sw52ywXPzcaTlwLUAxrPywWTBgfZDc1ZzwvUlxnLCq',
|
|
482
400
|
'zgf0yq',
|
|
483
|
-
'z2v0u2vJB25KCW',
|
|
484
|
-
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
485
|
-
'y29UDgvUDa',
|
|
486
|
-
'C2v0',
|
|
487
|
-
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWU',
|
|
488
|
-
'Dw5JBgfPBv90yxnR',
|
|
489
|
-
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
490
|
-
'Dg9mB3DLCKnHC2u',
|
|
491
401
|
'lsaJ',
|
|
492
|
-
'
|
|
493
|
-
'
|
|
494
|
-
'
|
|
495
|
-
'DhjPBq',
|
|
496
|
-
'y2XHAw1FDgfZA3m',
|
|
497
|
-
'ANnVBG',
|
|
402
|
+
'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
|
|
403
|
+
'B2jQzwn0',
|
|
404
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
498
405
|
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
406
|
+
'Dw5JBgfPBvrHC2S',
|
|
407
|
+
'EM9K',
|
|
408
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
409
|
+
'DgfZA3m',
|
|
410
|
+
'DMLZAwjPBgL0Eq',
|
|
411
|
+
'ChjVDg9JB2W',
|
|
412
|
+
'C2XPy2u',
|
|
413
|
+
'D29YA2vYsgfUzg9MzG',
|
|
414
|
+
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWU',
|
|
415
|
+
'z2v0rNvSBfLLyxi',
|
|
499
416
|
'y2HHBM5LBeLK',
|
|
500
|
-
'
|
|
501
|
-
'
|
|
417
|
+
'zgvZy3jPyMu',
|
|
418
|
+
'tM8GCMvZDwX0ihLLDcbMB3iGD29YA2vYici',
|
|
419
|
+
'Aw5FChjVz3jLC3m',
|
|
420
|
+
'yMfZzw5HBwu',
|
|
421
|
+
'CgfKu3rHCNq',
|
|
422
|
+
'C29YDa',
|
|
423
|
+
'y2XHAw1FDgfZA3mGzMfPBgvK',
|
|
502
424
|
'y3jLyxrLx3rHC2TZigzHAwXLza',
|
|
503
|
-
'
|
|
504
|
-
'
|
|
505
|
-
'
|
|
506
|
-
'
|
|
507
|
-
'
|
|
508
|
-
'
|
|
509
|
-
'
|
|
510
|
-
'
|
|
511
|
-
'
|
|
512
|
-
'
|
|
513
|
-
'rMLSzsb1CgXVywrLzdOG',
|
|
514
|
-
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmVy2XHAw0',
|
|
425
|
+
'A2LUza',
|
|
426
|
+
'Bg9JywXLq29TCgfYzq',
|
|
427
|
+
'zMv0y2HjBxbS',
|
|
428
|
+
'u2LNBMfSihrOyxqGDgHLign1CNjLBNqGD29YA2vYihnLC3nPB24GAxmGzMLUAxnOzwqGyw5KihbYB3zPzguGysbYzxn1BhqGC3vTBwfYEs4',
|
|
429
|
+
'DgHYzwfKvgfYz2v0pq',
|
|
430
|
+
'y2HLy2TnzxnZywDLCW',
|
|
431
|
+
'DgfZAW',
|
|
432
|
+
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
433
|
+
'zxHWAxjLC0f0',
|
|
434
|
+
'y3vYC29Y',
|
|
515
435
|
'D29YA19RzxK',
|
|
516
|
-
'
|
|
517
|
-
'
|
|
518
|
-
'
|
|
519
|
-
'lNnSB2nR',
|
|
520
|
-
'DgfZA051BwjLCG',
|
|
521
|
-
'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
|
|
522
|
-
'zMLSzv9WyxrO',
|
|
523
|
-
'iIbMAw5PC2HLzcb3AxrOihjLC3vSDdOG',
|
|
524
|
-
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
525
|
-
'DgfZA3m',
|
|
526
|
-
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
527
|
-
'CgfYDgLJAxbHBNrjza',
|
|
528
|
-
'iJOGC3rHDhvZpq',
|
|
529
|
-
'l3nLCNzLCG',
|
|
530
|
-
'ihn0yxr1CZ0',
|
|
531
|
-
'AhvTyw4',
|
|
532
|
-
'zMLUzenHy2HLzfbHDgG',
|
|
533
|
-
'y2XHAw0GzMfPBgvK',
|
|
534
|
-
'vgfZAZOG',
|
|
535
|
-
'DxbSB2fKx2zPBgu',
|
|
536
|
-
'mJuWmZKYnZH1v2PVyLO',
|
|
537
|
-
'BwvTyMvY',
|
|
538
|
-
'Aw1Hz2uVD2vICa',
|
|
539
|
-
'lcbJB250zw50lxr5Cgu9',
|
|
540
|
-
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVC3rKAw8UANm',
|
|
541
|
-
'C2vYDMvY',
|
|
542
|
-
'yMXVy2TLza',
|
|
543
|
-
'z2v0x3DVCMTLCL9Yzxn1Bhq',
|
|
544
|
-
'C2f2zq',
|
|
545
|
-
'DgHYzwfKx3rHCMDLDa',
|
|
546
|
-
'mtqXmde3mwj1v0jeCG',
|
|
547
|
-
'yxbWBgLJyxrPB24VANnVBG',
|
|
548
|
-
'yxnPzgu',
|
|
549
|
-
'AgfZ',
|
|
550
|
-
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
551
|
-
'DxrMoa',
|
|
552
|
-
'ig1LC3nHz2vZihnOB3DUlIbvC2uGyMvMB3jLpq',
|
|
553
|
-
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
554
|
-
'zMLSDgvY',
|
|
555
|
-
'ywDNCMvNyxrLswq',
|
|
556
|
-
'sfruuca',
|
|
557
|
-
'Bwf4',
|
|
558
|
-
'pgvTChr5pG',
|
|
559
|
-
'CgfYC2u',
|
|
560
|
-
'yxv0BZO',
|
|
561
|
-
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4',
|
|
562
|
-
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
563
|
-
'l2zPBMLZAa',
|
|
564
|
-
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
565
|
-
'AwrLBxbVDgvUy3LFA2v5',
|
|
566
|
-
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
567
|
-
'zxjYB3i',
|
|
436
|
+
'iokaLca',
|
|
437
|
+
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
|
|
438
|
+
'BM93',
|
|
568
439
|
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
569
|
-
'
|
|
570
|
-
'
|
|
571
|
-
'
|
|
440
|
+
'odK4ntqWufHlAgn6',
|
|
441
|
+
'ls1KywvTB24TBg9JywWTDxjS',
|
|
442
|
+
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
443
|
+
'Aw1Hz2uVD2vICa',
|
|
444
|
+
'C2vZC2LVBKLK',
|
|
445
|
+
'vgHYzwfKihrHCMDLDdOG',
|
|
572
446
|
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
573
|
-
'
|
|
574
|
-
'
|
|
575
|
-
'ls13B3jRzxiTBw9Kzq',
|
|
576
|
-
'ywDLBNrZ',
|
|
577
|
-
'C3rYAw5NAwz5',
|
|
578
|
-
'DgfYz2v0zwq',
|
|
579
|
-
'Bg93',
|
|
580
|
-
'l3DVCMTLCNmVD2fPDgLUz19PBNb1Da',
|
|
581
|
-
'DgHYzwfKvgfYz2v0',
|
|
582
|
-
'z2v0rgf0zq',
|
|
583
|
-
'l3rHC2TZ',
|
|
584
|
-
'DxjNzw50',
|
|
585
|
-
'Dw5RBM93BG',
|
|
586
|
-
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
587
|
-
'z2v0x3DVCMTLCL9Yzxn1BhqGzMfPBgvK',
|
|
588
|
-
'DgfZAW',
|
|
589
|
-
'CMvHC29U',
|
|
590
|
-
'ls13B3jRzxiTC2vZC2LVBI1Pza',
|
|
447
|
+
'v29YA2vYici',
|
|
448
|
+
'BwvZC2fNzq',
|
|
591
449
|
'ls1ZzxnZAw9UlwLK',
|
|
592
|
-
'
|
|
593
|
-
'
|
|
450
|
+
'yxr0ywnOBwvUDeLK',
|
|
451
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
|
|
452
|
+
'uMvHzcb0AhjLywqGAgLZDg9YEsbIzwzVCMuGDgfRAw5NigfJDgLVBI4Grg8GBM90igvJAg8GDgHPCYbTzxnZywDLihrVihrOzsb0AhjLywqU',
|
|
453
|
+
'iYmJiefNzw50CW',
|
|
454
|
+
'zxzLBNrtzxe',
|
|
594
455
|
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
595
|
-
'
|
|
596
|
-
'
|
|
597
|
-
'
|
|
598
|
-
'
|
|
456
|
+
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxjYB3i9',
|
|
457
|
+
'xsbaC3LZDgvToIbBy2XHAw0TAgfUzg9MzL0G',
|
|
458
|
+
'DgHYzwfK',
|
|
459
|
+
'tM8GDgfZA3mGzM91BMqU',
|
|
460
|
+
'Dgv4Dc9WBgfPBG',
|
|
461
|
+
'CMvXDwvZDfvYBa',
|
|
462
|
+
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
463
|
+
'CNvUswq',
|
|
464
|
+
'Aw1Hz2uVANbLzW',
|
|
465
|
+
'Dg9VBa',
|
|
466
|
+
'DxbSB2fKx2zPBguGzMfPBgvK',
|
|
467
|
+
'y2HHBM5LBfrHCMDLDa',
|
|
468
|
+
'D3nZoG',
|
|
469
|
+
'BMv4Den1CNnVCG',
|
|
470
|
+
'pgvTChr5pG',
|
|
471
|
+
'C3rYAw5NAwz5',
|
|
472
|
+
'yxbWBgLJyxrPB24VANnVBG',
|
|
473
|
+
'ig1LC3nHz2vZkqOk',
|
|
474
|
+
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
475
|
+
'B3bLBL9PC3n1zxm',
|
|
476
|
+
'y2HHBM5LBe5HBwu',
|
|
477
|
+
'AgvHzgvYCW',
|
|
478
|
+
'BMfTzq',
|
|
479
|
+
'DxbSB2fKx2zPBgu',
|
|
480
|
+
'6k+35Rgcia',
|
|
481
|
+
'DMLLD19MAwXL',
|
|
482
|
+
'l2LUDgvYBMfSl2fNzw50lW',
|
|
483
|
+
'yxjYyxK',
|
|
484
|
+
'ig1LC3nHz2u9',
|
|
485
|
+
'y29UDgvUDa',
|
|
486
|
+
'zMLUzenHy2HLzfbHDgG',
|
|
487
|
+
'zw50CMLLCW',
|
|
488
|
+
'CM9VDe1LC3nHz2vjza',
|
|
489
|
+
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
490
|
+
'B3b0Aw9UywW',
|
|
491
|
+
'D2fPDgLUz19PBNb1Da',
|
|
492
|
+
'zxHLy3v0Aw9Utw9Kzt0',
|
|
493
|
+
'igLUia',
|
|
494
|
+
'twLZC2LUzYaTlwrHzw1VBI1HCgKTA2v5',
|
|
495
|
+
'C2L6zuj5DgvZ',
|
|
496
|
+
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
497
|
+
'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
|
|
498
|
+
'y2XHAw1uyxnRCW',
|
|
599
499
|
'BgvUz3rO',
|
|
600
|
-
'
|
|
500
|
+
'igzHAwXLzdOG',
|
|
501
|
+
'ywrK',
|
|
502
|
+
'zgLZCg9ZAxrPB24',
|
|
503
|
+
'zgvSzxrL',
|
|
504
|
+
'cGOTls0G',
|
|
505
|
+
'CMvZDw1Lx3bHy2TLDa',
|
|
506
|
+
'mJa1mJu2ng1RwKXvrW',
|
|
507
|
+
'DMfSDwu',
|
|
508
|
+
'iokaLcb1C2uGDMLLD19MAwXLihrVihnLzv0',
|
|
509
|
+
'ywDLBNq',
|
|
510
|
+
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
511
|
+
'zg06',
|
|
512
|
+
'igTPBMq9',
|
|
601
513
|
'C2vUzf9TzxnZywDLigzHAwXLza',
|
|
602
|
-
'
|
|
603
|
-
'
|
|
604
|
-
'
|
|
514
|
+
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
515
|
+
'BNvTyMvY',
|
|
516
|
+
'l2HPC3rVCNK/',
|
|
605
517
|
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
606
|
-
'
|
|
607
|
-
'
|
|
608
|
-
'
|
|
609
|
-
'ChjVDg9JB2W',
|
|
610
|
-
'ywDNCMvNyxrLvhLWzq',
|
|
611
|
-
'mtG4mZDHrKrpAMG',
|
|
612
|
-
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
613
|
-
'yxr0ywnOBwvUDhm',
|
|
614
|
-
'ywXS',
|
|
615
|
-
'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
|
|
616
|
-
'zw51Bq',
|
|
617
|
-
'l3nLBMq',
|
|
618
|
-
'uMvHzcb0AhjLywqGAgLZDg9YEsbIzwzVCMuGDgfRAw5NigfJDgLVBI4Grg8GBM90igvJAg8GDgHPCYbTzxnZywDLihrVihrOzsb0AhjLywqU',
|
|
619
|
-
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
620
|
-
'Ahr0CdOVl2XVy2fSAg9ZDdO4mtiX',
|
|
621
|
-
'D3nZoG',
|
|
622
|
-
'Axnoyu4',
|
|
623
|
-
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
624
|
-
'yxjYyxLcDwzMzxi'
|
|
518
|
+
'DgfYz2v0',
|
|
519
|
+
'ywDNCMvNyxrLswrZ',
|
|
520
|
+
'uefuq0G'
|
|
625
521
|
];
|
|
626
|
-
|
|
627
|
-
return
|
|
522
|
+
_0x2d07 = function () {
|
|
523
|
+
return _0x2bce7f;
|
|
524
|
+
};
|
|
525
|
+
return _0x2d07();
|
|
526
|
+
}
|
|
527
|
+
function ensureSegment(_0x457113) {
|
|
528
|
+
const _0x2d4c7f = _0x11a45e, _0x10e695 = _0x457113['trim']();
|
|
529
|
+
if (!_0x10e695 || _0x10e695[_0x2d4c7f(0x115)](':'))
|
|
530
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
531
|
+
return _0x10e695;
|
|
532
|
+
}
|
|
533
|
+
function parseThreadParts(_0x499027) {
|
|
534
|
+
const _0x3b3c43 = {
|
|
535
|
+
_0x72606b: 0xda,
|
|
536
|
+
_0xc6b0b5: 0x78
|
|
537
|
+
}, _0x5ed821 = _0x11a45e, _0x58e204 = _0x499027[_0x5ed821(_0x3b3c43._0x72606b)](':');
|
|
538
|
+
if (_0x58e204['length'] < 0x1 || _0x58e204[_0x5ed821(_0x3b3c43._0xc6b0b5)] > 0x2)
|
|
539
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
540
|
+
return {
|
|
541
|
+
'channelName': ensureSegment(_0x58e204[0x0] ?? ''),
|
|
542
|
+
'threadShortId': _0x58e204[0x1] ? ensureSegment(_0x58e204[0x1]) : null
|
|
543
|
+
};
|
|
544
|
+
}
|
|
545
|
+
function parseTarget(_0x8b3151) {
|
|
546
|
+
const _0x4a0634 = {
|
|
547
|
+
_0x22a740: 0x1a6,
|
|
548
|
+
_0x30be87: 0x1e6,
|
|
549
|
+
_0x434245: 0x13c,
|
|
550
|
+
_0x2def7a: 0x1e6,
|
|
551
|
+
_0x21a965: 0xe0,
|
|
552
|
+
_0x4bed39: 0x84,
|
|
553
|
+
_0x383918: 0x1a6,
|
|
554
|
+
_0x49d1c8: 0x1e6,
|
|
555
|
+
_0x488a43: 0x180,
|
|
556
|
+
_0x103547: 0x1d4
|
|
557
|
+
}, _0xe0f8d8 = _0x11a45e, _0x2caf35 = _0x8b3151[_0xe0f8d8(0xd0)]();
|
|
558
|
+
if (!_0x2caf35)
|
|
559
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
560
|
+
if (_0x2caf35[_0xe0f8d8(0x180)]('#')) {
|
|
561
|
+
const _0x4624ab = parseThreadParts(_0x2caf35[_0xe0f8d8(_0x4a0634._0x22a740)](0x1)), _0x1db8ab = '#' + _0x4624ab['channelName'];
|
|
562
|
+
if (!_0x4624ab['threadShortId'])
|
|
563
|
+
return {
|
|
564
|
+
'channelName': _0x4624ab[_0xe0f8d8(_0x4a0634._0x30be87)],
|
|
565
|
+
'channelTarget': _0x1db8ab,
|
|
566
|
+
'kind': _0xe0f8d8(_0x4a0634._0x434245),
|
|
567
|
+
'target': _0x1db8ab
|
|
568
|
+
};
|
|
569
|
+
return {
|
|
570
|
+
'channelName': _0x4624ab[_0xe0f8d8(_0x4a0634._0x2def7a)],
|
|
571
|
+
'channelTarget': _0x1db8ab,
|
|
572
|
+
'kind': _0xe0f8d8(0x1d4),
|
|
573
|
+
'target': _0x1db8ab + ':' + _0x4624ab['threadShortId'],
|
|
574
|
+
'threadShortId': _0x4624ab[_0xe0f8d8(_0x4a0634._0x21a965)]
|
|
575
|
+
};
|
|
576
|
+
}
|
|
577
|
+
if (_0x2caf35['startsWith'](_0xe0f8d8(_0x4a0634._0x4bed39))) {
|
|
578
|
+
const _0x4fbef4 = parseThreadParts(_0x2caf35[_0xe0f8d8(_0x4a0634._0x383918)](0x3));
|
|
579
|
+
if (!_0x4fbef4[_0xe0f8d8(_0x4a0634._0x49d1c8)][_0xe0f8d8(_0x4a0634._0x488a43)]('dm-'))
|
|
580
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
581
|
+
const _0xaf94cc = _0xe0f8d8(_0x4a0634._0x4bed39) + _0x4fbef4['channelName'];
|
|
582
|
+
if (!_0x4fbef4[_0xe0f8d8(0xe0)])
|
|
583
|
+
return {
|
|
584
|
+
'channelName': _0x4fbef4[_0xe0f8d8(0x1e6)],
|
|
585
|
+
'channelTarget': _0xaf94cc,
|
|
586
|
+
'kind': _0xe0f8d8(_0x4a0634._0x434245),
|
|
587
|
+
'target': _0xaf94cc
|
|
588
|
+
};
|
|
589
|
+
return {
|
|
590
|
+
'channelName': _0x4fbef4[_0xe0f8d8(0x1e6)],
|
|
591
|
+
'channelTarget': _0xaf94cc,
|
|
592
|
+
'kind': _0xe0f8d8(_0x4a0634._0x103547),
|
|
593
|
+
'target': _0xaf94cc + ':' + _0x4fbef4[_0xe0f8d8(0xe0)],
|
|
594
|
+
'threadShortId': _0x4fbef4[_0xe0f8d8(_0x4a0634._0x21a965)]
|
|
595
|
+
};
|
|
596
|
+
}
|
|
597
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
598
|
+
}
|
|
599
|
+
function asErrorMessage(_0x2970cf, _0x2ed55b) {
|
|
600
|
+
const _0x33920c = {
|
|
601
|
+
_0x2c2ea6: 0xa9,
|
|
602
|
+
_0x2eb693: 0xd0
|
|
603
|
+
}, _0x446570 = _0x11a45e;
|
|
604
|
+
if (typeof _0x2970cf === _0x446570(_0x33920c._0x2c2ea6) && _0x2970cf[_0x446570(_0x33920c._0x2eb693)]())
|
|
605
|
+
return _0x2970cf;
|
|
606
|
+
return _0x2ed55b;
|
|
607
|
+
}
|
|
608
|
+
function asRecord(_0x12abbb) {
|
|
609
|
+
return typeof _0x12abbb === 'object' && _0x12abbb !== null ? _0x12abbb : {};
|
|
610
|
+
}
|
|
611
|
+
function stableStringify(_0x1a6238) {
|
|
612
|
+
const _0x5d282f = {
|
|
613
|
+
_0xefa25f: 0x195,
|
|
614
|
+
_0x2fb5c4: 0x132,
|
|
615
|
+
_0x1da052: 0x132
|
|
616
|
+
}, _0x4fde57 = _0x11a45e;
|
|
617
|
+
if (_0x1a6238 === null || typeof _0x1a6238 !== _0x4fde57(0x19d))
|
|
618
|
+
return JSON[_0x4fde57(0x1e1)](_0x1a6238);
|
|
619
|
+
if (Array[_0x4fde57(0xfa)](_0x1a6238))
|
|
620
|
+
return '[' + _0x1a6238[_0x4fde57(_0x5d282f._0xefa25f)](_0x49d137 => stableStringify(_0x49d137))[_0x4fde57(_0x5d282f._0x2fb5c4)](',') + ']';
|
|
621
|
+
const _0x5e9645 = Object[_0x4fde57(0x1f1)](_0x1a6238)[_0x4fde57(0x94)](([, _0x4608f5]) => _0x4608f5 !== void 0x0)['sort'](([_0x421195], [_0x2292ae]) => _0x421195[_0x4fde57(0x1b4)](_0x2292ae))['map'](([_0x3b033a, _0x2dd7a8]) => JSON[_0x4fde57(0x1e1)](_0x3b033a) + ':' + stableStringify(_0x2dd7a8));
|
|
622
|
+
return '{' + _0x5e9645[_0x4fde57(_0x5d282f._0x1da052)](',') + '}';
|
|
623
|
+
}
|
|
624
|
+
function createHeaders(_0x2ece52) {
|
|
625
|
+
const _0x47afaa = { _0x3a5c5f: 0x1e2 }, _0x4e3a38 = _0x11a45e;
|
|
626
|
+
return {
|
|
627
|
+
'Content-Type': _0x4e3a38(_0x47afaa._0x3a5c5f),
|
|
628
|
+
'x-daemon-api-key': _0x2ece52
|
|
628
629
|
};
|
|
629
|
-
return _0x275c();
|
|
630
630
|
}
|
|
631
|
-
function
|
|
632
|
-
const
|
|
633
|
-
|
|
631
|
+
function toHttpBaseUrl(_0x1e4f2d) {
|
|
632
|
+
const _0x42d1fb = {
|
|
633
|
+
_0x1be282: 0x1a5,
|
|
634
|
+
_0x651897: 0x1de,
|
|
635
|
+
_0x36f36e: 0x12f
|
|
636
|
+
}, _0x42b87b = _0x11a45e, _0x43446f = new URL(_0x1e4f2d);
|
|
637
|
+
if (_0x43446f[_0x42b87b(_0x42d1fb._0x1be282)] === 'ws:')
|
|
638
|
+
_0x43446f['protocol'] = 'http:';
|
|
639
|
+
else
|
|
640
|
+
_0x43446f['protocol'] === _0x42b87b(_0x42d1fb._0x651897) && (_0x43446f[_0x42b87b(_0x42d1fb._0x1be282)] = 'https:');
|
|
641
|
+
return _0x43446f['toString']()[_0x42b87b(_0x42d1fb._0x36f36e)](/\/$/, '');
|
|
642
|
+
}
|
|
643
|
+
function isMentionBoundary(_0x42e561) {
|
|
644
|
+
return !_0x42e561 || /\s|[([{'",。!?、:;]/['test'](_0x42e561);
|
|
634
645
|
}
|
|
635
|
-
function isMentionTerminal(
|
|
636
|
-
|
|
637
|
-
return !_0x3487c6 || /\s|[)\]}'",。!?、:;,.!?]/[_0x58119b(_0x8e3eef._0x44b498)](_0x3487c6);
|
|
646
|
+
function isMentionTerminal(_0x48ce9b) {
|
|
647
|
+
return !_0x48ce9b || /\s|[)\]}'",。!?、:;,.!?]/['test'](_0x48ce9b);
|
|
638
648
|
}
|
|
639
|
-
function buildMatchableEntries(
|
|
640
|
-
const
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
...
|
|
649
|
+
function buildMatchableEntries(_0x1bd96a) {
|
|
650
|
+
const _0x364b12 = {
|
|
651
|
+
_0x28e176: 0x1e8,
|
|
652
|
+
_0x5288b2: 0x162,
|
|
653
|
+
_0x5d7a40: 0x162
|
|
654
|
+
}, _0x3be34d = _0x11a45e, _0x2ef336 = [];
|
|
655
|
+
for (const _0x266ccc of [
|
|
656
|
+
..._0x1bd96a['agents'],
|
|
657
|
+
..._0x1bd96a['humans']
|
|
647
658
|
]) {
|
|
648
|
-
|
|
649
|
-
'matchName':
|
|
650
|
-
'matchNameLower':
|
|
651
|
-
'participantId':
|
|
652
|
-
}),
|
|
653
|
-
'matchName':
|
|
654
|
-
'matchNameLower':
|
|
655
|
-
'participantId':
|
|
659
|
+
_0x2ef336['push']({
|
|
660
|
+
'matchName': _0x266ccc[_0x3be34d(_0x364b12._0x28e176)],
|
|
661
|
+
'matchNameLower': _0x266ccc[_0x3be34d(0x1e8)][_0x3be34d(_0x364b12._0x5288b2)](),
|
|
662
|
+
'participantId': _0x266ccc['id']
|
|
663
|
+
}), _0x266ccc['id'] !== _0x266ccc[_0x3be34d(_0x364b12._0x28e176)] && _0x2ef336[_0x3be34d(0x136)]({
|
|
664
|
+
'matchName': _0x266ccc['id'],
|
|
665
|
+
'matchNameLower': _0x266ccc['id'][_0x3be34d(_0x364b12._0x5d7a40)](),
|
|
666
|
+
'participantId': _0x266ccc['id']
|
|
656
667
|
});
|
|
657
668
|
}
|
|
658
|
-
return
|
|
669
|
+
return _0x2ef336;
|
|
659
670
|
}
|
|
660
|
-
function extractMentionedParticipantIds(
|
|
661
|
-
const
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
for (let _0x397159 = 0x0; _0x397159 < _0xe539f2['length']; _0x397159 += 0x1) {
|
|
673
|
-
if (_0xe539f2[_0x397159] !== '@' || !isMentionBoundary(_0xe539f2[_0x397159 - 0x1]))
|
|
671
|
+
function extractMentionedParticipantIds(_0x187bfa, _0x5e410a) {
|
|
672
|
+
const _0x2a43e2 = {
|
|
673
|
+
_0x45edc2: 0x1b0,
|
|
674
|
+
_0x39154e: 0x78,
|
|
675
|
+
_0x4fc024: 0x136,
|
|
676
|
+
_0x2689b9: 0x10b
|
|
677
|
+
}, _0xecaaed = {
|
|
678
|
+
_0x5c053b: 0x167,
|
|
679
|
+
_0x5e56d1: 0x135
|
|
680
|
+
}, _0x2d7e46 = _0x11a45e, _0x68ec45 = buildMatchableEntries(_0x5e410a)[_0x2d7e46(_0x2a43e2._0x45edc2)]((_0x16269c, _0x31d063) => _0x31d063[_0x2d7e46(0x135)][_0x2d7e46(0x78)] - _0x16269c[_0x2d7e46(0x135)][_0x2d7e46(0x78)]), _0x22c268 = [], _0x1cc8e2 = new Set();
|
|
681
|
+
for (let _0x2acced = 0x0; _0x2acced < _0x187bfa[_0x2d7e46(_0x2a43e2._0x39154e)]; _0x2acced += 0x1) {
|
|
682
|
+
if (_0x187bfa[_0x2acced] !== '@' || !isMentionBoundary(_0x187bfa[_0x2acced - 0x1]))
|
|
674
683
|
continue;
|
|
675
|
-
const
|
|
676
|
-
const
|
|
677
|
-
if (!
|
|
684
|
+
const _0x1f942a = _0x187bfa[_0x2d7e46(0x1a6)](_0x2acced + 0x1), _0x4d9d9f = _0x1f942a[_0x2d7e46(0x162)](), _0xaacb7b = _0x68ec45['find'](_0xcaa7db => {
|
|
685
|
+
const _0x2b9c8a = _0x2d7e46;
|
|
686
|
+
if (!_0x4d9d9f[_0x2b9c8a(0x180)](_0xcaa7db[_0x2b9c8a(_0xecaaed._0x5c053b)]))
|
|
678
687
|
return ![];
|
|
679
|
-
return isMentionTerminal(
|
|
688
|
+
return isMentionTerminal(_0x1f942a[_0xcaa7db[_0x2b9c8a(_0xecaaed._0x5e56d1)]['length']]);
|
|
680
689
|
});
|
|
681
|
-
if (!
|
|
690
|
+
if (!_0xaacb7b || _0x1cc8e2[_0x2d7e46(0x120)](_0xaacb7b[_0x2d7e46(0x10b)]))
|
|
682
691
|
continue;
|
|
683
|
-
|
|
692
|
+
_0x1cc8e2['add'](_0xaacb7b['participantId']), _0x22c268[_0x2d7e46(_0x2a43e2._0x4fc024)](_0xaacb7b[_0x2d7e46(_0x2a43e2._0x2689b9)]), _0x2acced += _0xaacb7b[_0x2d7e46(0x135)][_0x2d7e46(0x78)];
|
|
684
693
|
}
|
|
685
|
-
return
|
|
694
|
+
return _0x22c268;
|
|
686
695
|
}
|
|
687
696
|
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
688
|
-
function anySignal(...
|
|
689
|
-
const
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
_0x285442[_0xfd0568(0x218)](_0xfd0568(_0x5615f8._0x19d3c0), () => _0x413af9[_0xfd0568(0x1f0)](_0x285442['reason']), {
|
|
697
|
+
function anySignal(..._0x3e7f67) {
|
|
698
|
+
const _0x502a0b = {
|
|
699
|
+
_0x59c646: 0x11a,
|
|
700
|
+
_0x28853b: 0x134
|
|
701
|
+
}, _0x359011 = _0x11a45e, _0x3065ac = new AbortController();
|
|
702
|
+
for (const _0xe07cf4 of _0x3e7f67) {
|
|
703
|
+
if (_0xe07cf4['aborted'])
|
|
704
|
+
return _0x3065ac[_0x359011(0xbd)](_0xe07cf4['reason']), _0x3065ac['signal'];
|
|
705
|
+
_0xe07cf4[_0x359011(_0x502a0b._0x59c646)](_0x359011(0xbd), () => _0x3065ac[_0x359011(0xbd)](_0xe07cf4['reason']), {
|
|
698
706
|
'once': !![],
|
|
699
|
-
'signal':
|
|
707
|
+
'signal': _0x3065ac[_0x359011(0x134)]
|
|
700
708
|
});
|
|
701
709
|
}
|
|
702
|
-
return
|
|
710
|
+
return _0x3065ac[_0x359011(_0x502a0b._0x28853b)];
|
|
703
711
|
}
|
|
704
|
-
function createInternalAgentClient(
|
|
705
|
-
const
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
},
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
},
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
},
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
712
|
+
function createInternalAgentClient(_0x2d61d) {
|
|
713
|
+
const _0x4991be = {
|
|
714
|
+
_0xe84182: 0x75,
|
|
715
|
+
_0x1be1e5: 0x75,
|
|
716
|
+
_0x570ea5: 0x165,
|
|
717
|
+
_0x230816: 0xd0,
|
|
718
|
+
_0x81b948: 0x13b
|
|
719
|
+
}, _0x3811b3 = {
|
|
720
|
+
_0x59d34b: 0x14d,
|
|
721
|
+
_0x25c01c: 0xbf,
|
|
722
|
+
_0x3cef49: 0x121,
|
|
723
|
+
_0x2e1914: 0x121,
|
|
724
|
+
_0x5e05d0: 0x91,
|
|
725
|
+
_0x380085: 0x6d,
|
|
726
|
+
_0x3021bd: 0x16a,
|
|
727
|
+
_0x171d9e: 0xcd,
|
|
728
|
+
_0x1d0c54: 0x6d,
|
|
729
|
+
_0x13545a: 0x8c,
|
|
730
|
+
_0x540154: 0x11b,
|
|
731
|
+
_0x5ca790: 0x106,
|
|
732
|
+
_0x3c2314: 0x138,
|
|
733
|
+
_0x5a115a: 0x1e8,
|
|
734
|
+
_0x119c55: 0x130,
|
|
735
|
+
_0x10df3d: 0x144,
|
|
736
|
+
_0x1f6d24: 0x17a,
|
|
737
|
+
_0xfa0b79: 0x136,
|
|
738
|
+
_0x89e986: 0x1ef,
|
|
739
|
+
_0x5146db: 0x1b3,
|
|
740
|
+
_0x4f69a3: 0x15d,
|
|
741
|
+
_0x367d26: 0x98,
|
|
742
|
+
_0x36846a: 0x97,
|
|
743
|
+
_0x2097dd: 0x97,
|
|
744
|
+
_0x3dc14c: 0xa9
|
|
745
|
+
}, _0x3a8b76 = {
|
|
746
|
+
_0x2f0883: 0x129,
|
|
747
|
+
_0x22d7d2: 0x1aa,
|
|
748
|
+
_0x38acaa: 0x120
|
|
749
|
+
}, _0x181661 = { _0x113ddf: 0x1aa }, _0x21c65f = {
|
|
750
|
+
_0x2318a6: 0x182,
|
|
751
|
+
_0x4dc413: 0x182,
|
|
752
|
+
_0x222883: 0x14a,
|
|
753
|
+
_0x46dbd7: 0x12d,
|
|
754
|
+
_0x50c7bb: 0xb6,
|
|
755
|
+
_0x5e0228: 0xfd,
|
|
756
|
+
_0x292d57: 0xf5,
|
|
757
|
+
_0x460ba3: 0x198
|
|
758
|
+
}, _0x857809 = {
|
|
759
|
+
_0x37dbba: 0x91,
|
|
760
|
+
_0x30678e: 0x1e4,
|
|
761
|
+
_0x165b7a: 0x1ec,
|
|
762
|
+
_0x54d2a5: 0x17f,
|
|
763
|
+
_0x5218b8: 0x1e1,
|
|
764
|
+
_0x52918b: 0x8b,
|
|
765
|
+
_0x137daa: 0x12d,
|
|
766
|
+
_0x2321a2: 0x11c,
|
|
767
|
+
_0x3eb755: 0xf9,
|
|
768
|
+
_0x4e1a0a: 0x19a,
|
|
769
|
+
_0x3b034d: 0x198
|
|
770
|
+
}, _0x4d137c = { _0x2d41ae: 0x10d }, _0x531142 = {
|
|
771
|
+
_0x4f437d: 0x14d,
|
|
772
|
+
_0x254534: 0xf9
|
|
773
|
+
}, _0x3232d0 = {
|
|
774
|
+
_0x2c10a2: 0x1ec,
|
|
775
|
+
_0x19a0db: 0xf9
|
|
776
|
+
}, _0x119907 = {
|
|
777
|
+
_0x14f105: 0x14d,
|
|
778
|
+
_0x4e3554: 0x1e1,
|
|
779
|
+
_0x463d9f: 0xef
|
|
780
|
+
}, _0x560933 = {
|
|
781
|
+
_0x1cbd0c: 0x13c,
|
|
782
|
+
_0x14ff4e: 0x14a,
|
|
783
|
+
_0x197479: 0xa1,
|
|
784
|
+
_0x187e01: 0xa3
|
|
785
|
+
}, _0x5b2bbd = {
|
|
786
|
+
_0x285035: 0xa8,
|
|
787
|
+
_0xd13873: 0x14a
|
|
788
|
+
}, _0x45f48e = {
|
|
789
|
+
_0x52ba67: 0x126,
|
|
790
|
+
_0xc0d9fb: 0xf9,
|
|
791
|
+
_0x5489f1: 0x19a,
|
|
792
|
+
_0x15c5af: 0xdf
|
|
793
|
+
}, _0x124125 = { _0x1d201d: 0x17b }, _0x5eab25 = { _0x3ceebb: 0x19a }, _0x333481 = {
|
|
794
|
+
_0x10dc80: 0x115,
|
|
795
|
+
_0x19a9e4: 0x1ef,
|
|
796
|
+
_0x52d817: 0x1ec,
|
|
797
|
+
_0x4511ff: 0x14d,
|
|
798
|
+
_0x4ded13: 0xc0,
|
|
799
|
+
_0x2e2a38: 0x1e1,
|
|
800
|
+
_0x31180d: 0x1aa,
|
|
801
|
+
_0x21f2e6: 0x78,
|
|
802
|
+
_0x1f1008: 0x1a4,
|
|
803
|
+
_0x448f4c: 0x19a
|
|
804
|
+
}, _0x2c871d = {
|
|
805
|
+
_0x1617b7: 0x152,
|
|
806
|
+
_0x1f9a0f: 0xcc,
|
|
807
|
+
_0x5e47c7: 0x91,
|
|
808
|
+
_0x52916a: 0x106,
|
|
809
|
+
_0x3a384e: 0x1aa,
|
|
810
|
+
_0x3dbfbd: 0x106,
|
|
811
|
+
_0x4b422b: 0x1bc,
|
|
812
|
+
_0x27c9b1: 0x11e,
|
|
813
|
+
_0x1369f9: 0x186,
|
|
814
|
+
_0x12d3a6: 0x1ec,
|
|
815
|
+
_0x5b7880: 0x14d,
|
|
816
|
+
_0x50ce8e: 0xa3
|
|
817
|
+
}, _0x119b28 = {
|
|
818
|
+
_0x1b1958: 0xf3,
|
|
819
|
+
_0xa1d8e3: 0x1e8
|
|
820
|
+
}, _0x1ff513 = {
|
|
821
|
+
_0x2431bc: 0xff,
|
|
822
|
+
_0x32d6cf: 0xf3,
|
|
823
|
+
_0x299d37: 0x10b
|
|
824
|
+
}, _0x79097c = {
|
|
825
|
+
_0x20fece: 0x1b3,
|
|
826
|
+
_0x4cdfd5: 0x1d4,
|
|
827
|
+
_0x510189: 0xcd,
|
|
828
|
+
_0x5d42ac: 0xe0,
|
|
829
|
+
_0x1d20dc: 0x91,
|
|
830
|
+
_0x3d9f0f: 0x91,
|
|
831
|
+
_0xefc6a5: 0x180
|
|
832
|
+
}, _0x37442d = {
|
|
833
|
+
_0x3669f5: 0xcd,
|
|
834
|
+
_0x15ef9b: 0x6d,
|
|
835
|
+
_0x4ec64e: 0x1dd,
|
|
836
|
+
_0x24b2a4: 0x91,
|
|
837
|
+
_0x589ef4: 0x91
|
|
838
|
+
}, _0x1310e7 = {
|
|
839
|
+
_0x3411c3: 0x184,
|
|
840
|
+
_0x1962f9: 0x82,
|
|
841
|
+
_0x5d4589: 0x8e
|
|
842
|
+
}, _0x515b7f = {
|
|
843
|
+
_0x47b0a7: 0x1ec,
|
|
844
|
+
_0x5191bf: 0x14d,
|
|
845
|
+
_0x4cd143: 0x1e1,
|
|
846
|
+
_0x4557c1: 0xf9,
|
|
847
|
+
_0x34f735: 0x1dd,
|
|
848
|
+
_0x34ac2d: 0x19a,
|
|
849
|
+
_0x292e53: 0x91,
|
|
850
|
+
_0xdf7995: 0xcd
|
|
851
|
+
}, _0x283c3c = { _0x21d8c7: 0x76 }, _0x2bab8c = { _0x5ce8fa: 0x1e1 }, _0x3f02ab = {
|
|
852
|
+
_0x357417: 0x134,
|
|
853
|
+
_0x26f3df: 0x14a
|
|
854
|
+
}, _0x1d9ef9 = {
|
|
855
|
+
_0x48f1b3: 0x134,
|
|
856
|
+
_0x1289ad: 0x134,
|
|
857
|
+
_0x571115: 0x147,
|
|
858
|
+
_0x6d9f5a: 0x17c
|
|
859
|
+
}, _0x590811 = {
|
|
860
|
+
_0x15ed49: 0xa9,
|
|
861
|
+
_0x22eb06: 0xd0,
|
|
862
|
+
_0x449901: 0x1c0,
|
|
863
|
+
_0x5c6f9f: 0x7c,
|
|
864
|
+
_0x13ab8d: 0x80,
|
|
865
|
+
_0x323649: 0x106
|
|
866
|
+
}, _0x16347e = {
|
|
867
|
+
_0x1a349f: 0xf5,
|
|
868
|
+
_0xdcd427: 0xa1,
|
|
869
|
+
_0x2fa32c: 0x104,
|
|
870
|
+
_0x59b597: 0xd0
|
|
871
|
+
}, _0x2a9de7 = {
|
|
872
|
+
_0x49dd3c: 0x138,
|
|
873
|
+
_0x9db187: 0xd0,
|
|
874
|
+
_0x308f0c: 0x1e0,
|
|
875
|
+
_0x5e8fdd: 0xb7
|
|
876
|
+
}, _0x350fad = _0x11a45e, _0x57fdb4 = _0x2d61d[_0x350fad(0x1b5)] ?? fetch, _0x36fcd1 = _0x2d61d['fetchTimeoutMs'] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x1a4f43 = typeof _0x2d61d[_0x350fad(_0x4991be._0xe84182)] === 'number' && _0x2d61d[_0x350fad(_0x4991be._0x1be1e5)] > 0x0 ? _0x2d61d[_0x350fad(_0x4991be._0xe84182)] : 0x0, _0x4c4eb0 = _0x2d61d[_0x350fad(_0x4991be._0x570ea5)]?.['trim']() || void 0x0, _0x33bae2 = _0x2d61d[_0x350fad(0x1c6)]?.[_0x350fad(_0x4991be._0x230816)]() || void 0x0, _0x5f3585 = _0x2d61d[_0x350fad(0xcf)] === !![], _0x3ec2fb = _0x2d61d['workerSessionId']?.['trim']() || void 0x0, _0x1c82b0 = _0x2d61d[_0x350fad(0x105)]?.['trim']() || void 0x0, _0x5538b3 = createHeaders(_0x2d61d[_0x350fad(0xad)]), _0x273846 = toHttpBaseUrl(_0x2d61d[_0x350fad(_0x4991be._0x81b948)]);
|
|
877
|
+
let _0x3d302f = null;
|
|
878
|
+
const _0x469458 = new Map();
|
|
879
|
+
let _0x1ba400 = _0x1a4f43, _0x1d552c = _0x1a4f43;
|
|
880
|
+
function _0x7707ce(_0x5c7b7a) {
|
|
881
|
+
const _0x241e5a = _0x350fad, _0x1c15a7 = _0x5c7b7a['response'][_0x241e5a(0x1e7)][_0x241e5a(_0x2a9de7._0x49dd3c)]('content-type') ?? _0x241e5a(0xb1), _0x1a2724 = _0x5c7b7a[_0x241e5a(0x143)][_0x241e5a(_0x2a9de7._0x9db187)]()[_0x241e5a(0x12f)](/\s+/g, '\x20')[_0x241e5a(0x1a6)](0x0, 0x78) || _0x241e5a(_0x2a9de7._0x308f0c);
|
|
882
|
+
return _0x241e5a(0x1ea) + _0x5c7b7a[_0x241e5a(0x1d7)] + _0x241e5a(0x6e) + _0x5c7b7a[_0x241e5a(_0x2a9de7._0x5e8fdd)]['status'] + _0x241e5a(0x176) + _0x1c15a7 + _0x241e5a(0x12b) + _0x1a2724 + _0x241e5a(0xc8);
|
|
842
883
|
}
|
|
843
|
-
async function
|
|
844
|
-
const
|
|
845
|
-
if (!
|
|
884
|
+
async function _0x3359c5(_0x258ea5, _0x6eace4) {
|
|
885
|
+
const _0x570bed = _0x350fad, _0x2ea431 = Buffer[_0x570bed(0xfd)](await _0x6eace4[_0x570bed(_0x16347e._0x1a349f)]())[_0x570bed(_0x16347e._0xdcd427)](_0x570bed(_0x16347e._0x2fa32c));
|
|
886
|
+
if (!_0x2ea431[_0x570bed(_0x16347e._0x59b597)]())
|
|
846
887
|
return {};
|
|
847
888
|
try {
|
|
848
|
-
return JSON[
|
|
889
|
+
return JSON[_0x570bed(0xc3)](_0x2ea431);
|
|
849
890
|
} catch {
|
|
850
|
-
throw new Error(
|
|
851
|
-
'bodyText':
|
|
852
|
-
'requestUrl':
|
|
853
|
-
'response':
|
|
891
|
+
throw new Error(_0x7707ce({
|
|
892
|
+
'bodyText': _0x2ea431,
|
|
893
|
+
'requestUrl': _0x258ea5,
|
|
894
|
+
'response': _0x6eace4
|
|
854
895
|
}));
|
|
855
896
|
}
|
|
856
897
|
}
|
|
857
|
-
function
|
|
858
|
-
const
|
|
859
|
-
if (
|
|
860
|
-
return
|
|
861
|
-
const
|
|
862
|
-
for (const [
|
|
863
|
-
|
|
898
|
+
function _0x667ea7(_0x4e270a, _0x31e9c1) {
|
|
899
|
+
const _0x3245f6 = _0x350fad, _0x2b1c4b = typeof _0x31e9c1[_0x3245f6(0xe8)] === _0x3245f6(_0x590811._0x15ed49) ? _0x31e9c1['idempotency_key'][_0x3245f6(_0x590811._0x22eb06)]() : '';
|
|
900
|
+
if (_0x2b1c4b)
|
|
901
|
+
return _0x2b1c4b;
|
|
902
|
+
const _0x34b65f = Date[_0x3245f6(_0x590811._0x449901)]();
|
|
903
|
+
for (const [_0x2ca832, _0x1a6744] of _0x469458) {
|
|
904
|
+
_0x1a6744[_0x3245f6(0x1bb)] <= _0x34b65f && _0x469458[_0x3245f6(_0x590811._0x5c6f9f)](_0x2ca832);
|
|
864
905
|
}
|
|
865
|
-
const
|
|
866
|
-
...
|
|
906
|
+
const _0x590511 = {
|
|
907
|
+
..._0x31e9c1,
|
|
867
908
|
'idempotency_key': void 0x0
|
|
868
|
-
},
|
|
869
|
-
if (
|
|
870
|
-
return
|
|
871
|
-
const
|
|
872
|
-
return
|
|
873
|
-
'expiresAt':
|
|
874
|
-
'value':
|
|
875
|
-
}),
|
|
909
|
+
}, _0x2800ee = createHash(_0x3245f6(0x13a))[_0x3245f6(0x149)](_0x4e270a + ':' + stableStringify(_0x590511))['digest']('hex'), _0x179724 = _0x4e270a + ':' + _0x2800ee, _0x18abca = _0x469458[_0x3245f6(0x138)](_0x179724);
|
|
910
|
+
if (_0x18abca)
|
|
911
|
+
return _0x18abca[_0x3245f6(_0x590811._0x13ab8d)];
|
|
912
|
+
const _0xad0fc4 = _0x3245f6(0x196) + _0x4e270a + ':' + randomUUID();
|
|
913
|
+
return _0x469458[_0x3245f6(_0x590811._0x323649)](_0x179724, {
|
|
914
|
+
'expiresAt': _0x34b65f + 0x5 * 0x3c * 0x3e8,
|
|
915
|
+
'value': _0xad0fc4
|
|
916
|
+
}), _0xad0fc4;
|
|
876
917
|
}
|
|
877
|
-
async function
|
|
878
|
-
const
|
|
918
|
+
async function _0xf753d2(_0x284fe5, _0x1fb7c1) {
|
|
919
|
+
const _0x8fadd0 = _0x350fad, _0x36d18b = new AbortController(), _0x2699e3 = setTimeout(() => _0x36d18b['abort'](), _0x36fcd1), _0x1bb990 = _0x1fb7c1?.[_0x8fadd0(0x134)] ? anySignal(_0x1fb7c1[_0x8fadd0(0x134)], _0x36d18b[_0x8fadd0(_0x1d9ef9._0x48f1b3)]) : _0x36d18b[_0x8fadd0(_0x1d9ef9._0x1289ad)], _0x152cb5 = '' + _0x273846 + _0x284fe5;
|
|
879
920
|
try {
|
|
880
|
-
const
|
|
881
|
-
...
|
|
882
|
-
'signal':
|
|
883
|
-
}),
|
|
884
|
-
if (!
|
|
885
|
-
throw new Error(asErrorMessage(
|
|
886
|
-
return
|
|
921
|
+
const _0x3ce121 = await _0x57fdb4(_0x152cb5, {
|
|
922
|
+
..._0x1fb7c1,
|
|
923
|
+
'signal': _0x1bb990
|
|
924
|
+
}), _0x279393 = await _0x3359c5(_0x152cb5, _0x3ce121);
|
|
925
|
+
if (!_0x3ce121['ok'] || _0x279393[_0x8fadd0(_0x1d9ef9._0x571115)] === ![])
|
|
926
|
+
throw new Error(asErrorMessage(_0x279393[_0x8fadd0(_0x1d9ef9._0x6d9f5a)], 'HTTP\x20' + _0x3ce121['status']));
|
|
927
|
+
return _0x279393;
|
|
887
928
|
} finally {
|
|
888
|
-
clearTimeout(
|
|
929
|
+
clearTimeout(_0x2699e3);
|
|
889
930
|
}
|
|
890
931
|
}
|
|
891
|
-
async function
|
|
892
|
-
const
|
|
932
|
+
async function _0x143a96(_0x44f5ba, _0x36c6dd) {
|
|
933
|
+
const _0x5e1269 = _0x350fad, _0x2da525 = new AbortController(), _0x5ae105 = setTimeout(() => _0x2da525[_0x5e1269(0xbd)](), _0x36fcd1), _0x584035 = _0x36c6dd?.[_0x5e1269(0x134)] ? anySignal(_0x36c6dd[_0x5e1269(0x134)], _0x2da525[_0x5e1269(_0x3f02ab._0x357417)]) : _0x2da525[_0x5e1269(_0x3f02ab._0x357417)], _0x5dcf73 = '' + _0x273846 + _0x44f5ba;
|
|
893
934
|
try {
|
|
894
|
-
const
|
|
895
|
-
...
|
|
896
|
-
'signal':
|
|
897
|
-
}),
|
|
898
|
-
if (!
|
|
899
|
-
throw new Error(asErrorMessage(
|
|
900
|
-
return
|
|
935
|
+
const _0x3364a6 = await _0x57fdb4(_0x5dcf73, {
|
|
936
|
+
..._0x36c6dd,
|
|
937
|
+
'signal': _0x584035
|
|
938
|
+
}), _0x1dd33e = await _0x3359c5(_0x5dcf73, _0x3364a6);
|
|
939
|
+
if (!_0x3364a6['ok'])
|
|
940
|
+
throw new Error(asErrorMessage(_0x1dd33e[_0x5e1269(0x17c)], _0x5e1269(0x166) + _0x3364a6[_0x5e1269(_0x3f02ab._0x26f3df)]));
|
|
941
|
+
return _0x1dd33e;
|
|
901
942
|
} finally {
|
|
902
|
-
clearTimeout(
|
|
943
|
+
clearTimeout(_0x5ae105);
|
|
903
944
|
}
|
|
904
945
|
}
|
|
905
|
-
async function
|
|
906
|
-
const
|
|
907
|
-
if (!
|
|
946
|
+
async function _0x47f052(_0xe1713c) {
|
|
947
|
+
const _0x1e143b = _0x350fad;
|
|
948
|
+
if (!_0x33bae2 || _0xe1713c <= _0x1d552c)
|
|
908
949
|
return;
|
|
909
|
-
await
|
|
910
|
-
'body': JSON[
|
|
911
|
-
'headers':
|
|
912
|
-
'method':
|
|
913
|
-
}),
|
|
950
|
+
await _0xf753d2('/api/agent-sessions/' + encodeURIComponent(_0x33bae2) + _0x1e143b(0x154), {
|
|
951
|
+
'body': JSON[_0x1e143b(_0x2bab8c._0x5ce8fa)]({ 'lastSeenSeq': _0xe1713c }),
|
|
952
|
+
'headers': _0x5538b3,
|
|
953
|
+
'method': _0x1e143b(0x8d)
|
|
954
|
+
}), _0x1d552c = _0xe1713c;
|
|
914
955
|
}
|
|
915
|
-
async function
|
|
916
|
-
const
|
|
917
|
-
if (!
|
|
956
|
+
async function _0x5345dd(_0x1b2c94) {
|
|
957
|
+
const _0x5bfba4 = _0x350fad;
|
|
958
|
+
if (!_0x4c4eb0 || !_0x3ec2fb || _0x1b2c94 <= _0x1d552c)
|
|
918
959
|
return;
|
|
919
|
-
const
|
|
920
|
-
'body': JSON[
|
|
921
|
-
'last_seen_seq':
|
|
922
|
-
'worker_session_id':
|
|
960
|
+
const _0x2895a8 = await _0x57fdb4(_0x4c4eb0 + _0x5bfba4(_0x283c3c._0x21d8c7), {
|
|
961
|
+
'body': JSON['stringify']({
|
|
962
|
+
'last_seen_seq': _0x1b2c94,
|
|
963
|
+
'worker_session_id': _0x3ec2fb
|
|
923
964
|
}),
|
|
924
|
-
'headers': { 'Content-Type':
|
|
965
|
+
'headers': { 'Content-Type': _0x5bfba4(0x1e2) },
|
|
925
966
|
'method': 'POST'
|
|
926
967
|
});
|
|
927
|
-
if (!
|
|
928
|
-
throw new Error(
|
|
929
|
-
|
|
968
|
+
if (!_0x2895a8['ok'])
|
|
969
|
+
throw new Error(_0x5bfba4(0x166) + _0x2895a8['status']);
|
|
970
|
+
_0x1d552c = _0x1b2c94;
|
|
930
971
|
}
|
|
931
|
-
async function
|
|
932
|
-
const
|
|
933
|
-
'body': JSON[
|
|
934
|
-
'headers':
|
|
935
|
-
'method':
|
|
972
|
+
async function _0x5d2e30(_0x2e8c9e) {
|
|
973
|
+
const _0x5b2bb2 = _0x350fad, _0x2ae029 = parseTarget(_0x2e8c9e), _0x23c896 = await _0xf753d2(_0x5b2bb2(_0x515b7f._0x47b0a7) + _0x2d61d[_0x5b2bb2(_0x515b7f._0x5191bf)] + '/resolve-channel', {
|
|
974
|
+
'body': JSON[_0x5b2bb2(_0x515b7f._0x4cd143)]({ 'target': _0x2ae029['target'] }),
|
|
975
|
+
'headers': _0x5538b3,
|
|
976
|
+
'method': _0x5b2bb2(_0x515b7f._0x4557c1)
|
|
936
977
|
});
|
|
937
978
|
return {
|
|
938
|
-
'channelId':
|
|
939
|
-
'target':
|
|
940
|
-
'task':
|
|
941
|
-
'threadId':
|
|
942
|
-
'threadNumber':
|
|
979
|
+
'channelId': _0x23c896['data']?.[_0x5b2bb2(0x1aa)] ?? '',
|
|
980
|
+
'target': _0x2ae029[_0x5b2bb2(_0x515b7f._0x34f735)],
|
|
981
|
+
'task': _0x23c896[_0x5b2bb2(_0x515b7f._0x34ac2d)]?.[_0x5b2bb2(0x1b9)],
|
|
982
|
+
'threadId': _0x23c896[_0x5b2bb2(0x19a)]?.[_0x5b2bb2(_0x515b7f._0x292e53)],
|
|
983
|
+
'threadNumber': _0x23c896[_0x5b2bb2(0x19a)]?.[_0x5b2bb2(_0x515b7f._0xdf7995)]
|
|
943
984
|
};
|
|
944
985
|
}
|
|
945
|
-
async function
|
|
946
|
-
const
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
'headers': _0x3af291,
|
|
986
|
+
async function _0x3eb5b4(_0x2ae8d4 = {}) {
|
|
987
|
+
const _0x59a265 = {
|
|
988
|
+
_0x363736: 0x191,
|
|
989
|
+
_0x166f59: 0x94,
|
|
990
|
+
_0x5b65d5: 0x195,
|
|
991
|
+
_0x4ace78: 0x94,
|
|
992
|
+
_0x2ae34e: 0x121,
|
|
993
|
+
_0x5b08f1: 0x1e8
|
|
994
|
+
};
|
|
995
|
+
if (!_0x2ae8d4['forceRefresh'] && _0x3d302f)
|
|
996
|
+
return _0x3d302f;
|
|
997
|
+
return _0x3d302f = (async () => {
|
|
998
|
+
const _0x2d65dc = _0xcc9b, _0x1ec0a6 = await _0xf753d2(_0x2d65dc(0x1ec) + _0x2d61d['agentId'] + _0x2d65dc(0xba), {
|
|
999
|
+
'headers': _0x5538b3,
|
|
960
1000
|
'method': 'GET'
|
|
961
|
-
}),
|
|
962
|
-
'id':
|
|
963
|
-
'name':
|
|
964
|
-
}))[
|
|
965
|
-
'id':
|
|
966
|
-
'name':
|
|
967
|
-
}))[
|
|
1001
|
+
}), _0x5737ef = _0x1ec0a6['data']?.[_0x2d65dc(_0x59a265._0x363736)] ?? [], _0x165a38 = _0x5737ef[_0x2d65dc(_0x59a265._0x166f59)](_0xde6242 => _0xde6242[_0x2d65dc(0xf3)]?.['type'] === _0x2d65dc(0x82))[_0x2d65dc(_0x59a265._0x5b65d5)](_0x4ae244 => ({
|
|
1002
|
+
'id': _0x25293a(_0x4ae244),
|
|
1003
|
+
'name': _0xcebf33(_0x4ae244)
|
|
1004
|
+
}))['filter'](_0x86d036 => _0x86d036['id']), _0x25414e = _0x5737ef[_0x2d65dc(0x94)](_0x2f63e6 => _0x2f63e6['participant']?.[_0x2d65dc(0x189)] !== _0x2d65dc(0x82))[_0x2d65dc(0x195)](_0x2d4144 => ({
|
|
1005
|
+
'id': _0x25293a(_0x2d4144),
|
|
1006
|
+
'name': _0xcebf33(_0x2d4144)
|
|
1007
|
+
}))[_0x2d65dc(_0x59a265._0x4ace78)](_0xbeb06b => _0xbeb06b['id']), _0x95b902 = _0x1ec0a6['data']?.[_0x2d65dc(0xd2)]['id'] ?? '';
|
|
968
1008
|
return {
|
|
969
|
-
'agents':
|
|
970
|
-
'channels':
|
|
971
|
-
'humans':
|
|
972
|
-
'serverId':
|
|
973
|
-
'serverName':
|
|
1009
|
+
'agents': _0x165a38,
|
|
1010
|
+
'channels': _0x1ec0a6[_0x2d65dc(0x19a)]?.[_0x2d65dc(_0x59a265._0x2ae34e)] ?? [],
|
|
1011
|
+
'humans': _0x25414e,
|
|
1012
|
+
'serverId': _0x95b902,
|
|
1013
|
+
'serverName': _0x1ec0a6['data']?.[_0x2d65dc(0xd2)][_0x2d65dc(_0x59a265._0x5b08f1)] ?? _0x95b902
|
|
974
1014
|
};
|
|
975
|
-
})()[
|
|
976
|
-
|
|
977
|
-
throw
|
|
978
|
-
}),
|
|
1015
|
+
})()['catch'](_0x4192cd => {
|
|
1016
|
+
_0x3d302f = null;
|
|
1017
|
+
throw _0x4192cd;
|
|
1018
|
+
}), _0x3d302f;
|
|
979
1019
|
}
|
|
980
|
-
function
|
|
981
|
-
const
|
|
982
|
-
return
|
|
1020
|
+
function _0x131c90(_0x2291ba, _0xf4f4da) {
|
|
1021
|
+
const _0x3428f9 = _0x350fad;
|
|
1022
|
+
return _0xf4f4da[_0x3428f9(_0x1310e7._0x3411c3)][_0x3428f9(0xe7)](_0x50a300 => _0x50a300['id'] === _0x2291ba || _0x50a300['name'] === _0x2291ba) ? _0x3428f9(_0x1310e7._0x1962f9) : _0x3428f9(_0x1310e7._0x5d4589);
|
|
983
1023
|
}
|
|
984
|
-
function
|
|
985
|
-
const
|
|
986
|
-
if (
|
|
987
|
-
return
|
|
988
|
-
if (
|
|
989
|
-
return
|
|
990
|
-
if (
|
|
991
|
-
return
|
|
992
|
-
return
|
|
1024
|
+
function _0x11b16e(_0x17518) {
|
|
1025
|
+
const _0x5ef966 = _0x350fad;
|
|
1026
|
+
if (_0x17518['threadNumber'] != null)
|
|
1027
|
+
return _0x17518['channelTarget'] + ':t' + _0x17518[_0x5ef966(_0x37442d._0x3669f5)];
|
|
1028
|
+
if (_0x17518[_0x5ef966(_0x37442d._0x15ef9b)])
|
|
1029
|
+
return _0x17518[_0x5ef966(_0x37442d._0x4ec64e)] + ':' + _0x17518[_0x5ef966(0x6d)];
|
|
1030
|
+
if (_0x17518[_0x5ef966(_0x37442d._0x24b2a4)])
|
|
1031
|
+
return _0x17518[_0x5ef966(_0x37442d._0x4ec64e)] + ':' + _0x17518[_0x5ef966(_0x37442d._0x589ef4)]['slice'](0x0, 0x8);
|
|
1032
|
+
return _0x17518[_0x5ef966(0x1dd)];
|
|
993
1033
|
}
|
|
994
|
-
function
|
|
995
|
-
const
|
|
1034
|
+
function _0x2e5e27(_0x898951, _0x587cf5) {
|
|
1035
|
+
const _0xd20cad = _0x350fad;
|
|
996
1036
|
try {
|
|
997
|
-
const
|
|
998
|
-
if (
|
|
1037
|
+
const _0x516558 = parseTarget(_0x898951);
|
|
1038
|
+
if (_0x516558[_0xd20cad(_0x79097c._0x20fece)] !== _0xd20cad(_0x79097c._0x4cdfd5) || _0x516558[_0xd20cad(0x1dd)] !== _0x587cf5[_0xd20cad(0x1dd)])
|
|
999
1039
|
return ![];
|
|
1000
|
-
if (
|
|
1040
|
+
if (_0x587cf5['threadNumber'] != null && _0x516558[_0xd20cad(0xe0)] === 't' + _0x587cf5[_0xd20cad(_0x79097c._0x510189)])
|
|
1001
1041
|
return !![];
|
|
1002
|
-
if (
|
|
1003
|
-
return
|
|
1004
|
-
if (
|
|
1005
|
-
return
|
|
1042
|
+
if (_0x587cf5[_0xd20cad(0x6d)])
|
|
1043
|
+
return _0x516558[_0xd20cad(_0x79097c._0x5d42ac)] === _0x587cf5['rootMessageId'] || _0x587cf5[_0xd20cad(0x6d)][_0xd20cad(0x180)](_0x516558[_0xd20cad(0xe0)]);
|
|
1044
|
+
if (_0x587cf5[_0xd20cad(_0x79097c._0x1d20dc)])
|
|
1045
|
+
return _0x516558['threadShortId'] === _0x587cf5['threadId'] || _0x587cf5[_0xd20cad(_0x79097c._0x3d9f0f)][_0xd20cad(_0x79097c._0xefc6a5)](_0x516558['threadShortId']);
|
|
1006
1046
|
return ![];
|
|
1007
1047
|
} catch {
|
|
1008
1048
|
return ![];
|
|
1009
1049
|
}
|
|
1010
1050
|
}
|
|
1011
|
-
function
|
|
1012
|
-
const
|
|
1013
|
-
return
|
|
1051
|
+
function _0x25293a(_0xe4f56) {
|
|
1052
|
+
const _0x55f56 = _0x350fad;
|
|
1053
|
+
return _0xe4f56[_0x55f56(_0x1ff513._0x2431bc)]?.['participantId'] ?? _0xe4f56[_0x55f56(_0x1ff513._0x32d6cf)]?.['id'] ?? _0xe4f56[_0x55f56(_0x1ff513._0x299d37)] ?? '';
|
|
1014
1054
|
}
|
|
1015
|
-
function
|
|
1016
|
-
const
|
|
1017
|
-
return
|
|
1055
|
+
function _0xcebf33(_0x34f176) {
|
|
1056
|
+
const _0x245407 = _0x350fad;
|
|
1057
|
+
return _0x34f176[_0x245407(_0x119b28._0x1b1958)]?.[_0x245407(_0x119b28._0xa1d8e3)] ?? _0x25293a(_0x34f176);
|
|
1018
1058
|
}
|
|
1019
|
-
async function
|
|
1020
|
-
const
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
const
|
|
1026
|
-
'headers':
|
|
1027
|
-
'method':
|
|
1028
|
-
}),
|
|
1029
|
-
'attachments': (
|
|
1030
|
-
'filename':
|
|
1031
|
-
'id':
|
|
1059
|
+
async function _0x4bfcfe(_0x288919) {
|
|
1060
|
+
const _0x25436c = _0x350fad, _0x4db205 = Math[_0x25436c(_0x2c871d._0x1617b7)](_0x288919[_0x25436c(_0x2c871d._0x1f9a0f)] ?? 0x32, 0x64), _0x3c0bab = await _0x3eb5b4(), _0x202d3b = new URLSearchParams();
|
|
1061
|
+
_0x202d3b[_0x25436c(0x106)](_0x25436c(_0x2c871d._0x1f9a0f), String(_0x4db205));
|
|
1062
|
+
_0x288919[_0x25436c(_0x2c871d._0x5e47c7)] ? (_0x202d3b[_0x25436c(_0x2c871d._0x52916a)](_0x25436c(_0x2c871d._0x5e47c7), _0x288919[_0x25436c(0x91)]), _0x202d3b[_0x25436c(0x106)](_0x25436c(_0x2c871d._0x3a384e), _0x288919[_0x25436c(0x1aa)])) : _0x202d3b[_0x25436c(_0x2c871d._0x52916a)](_0x25436c(0x1aa), _0x288919['channelId']);
|
|
1063
|
+
_0x288919[_0x25436c(0x11e)] && _0x202d3b[_0x25436c(_0x2c871d._0x3dbfbd)](_0x25436c(_0x2c871d._0x4b422b), String(_0x288919[_0x25436c(_0x2c871d._0x27c9b1)]));
|
|
1064
|
+
_0x288919[_0x25436c(_0x2c871d._0x1369f9)] !== void 0x0 && _0x202d3b[_0x25436c(_0x2c871d._0x52916a)](_0x25436c(0x186), String(_0x288919[_0x25436c(0x186)]));
|
|
1065
|
+
const _0x1aa970 = await _0xf753d2(_0x25436c(_0x2c871d._0x12d3a6) + _0x2d61d[_0x25436c(_0x2c871d._0x5b7880)] + _0x25436c(0x89) + _0x202d3b['toString'](), {
|
|
1066
|
+
'headers': _0x5538b3,
|
|
1067
|
+
'method': _0x25436c(_0x2c871d._0x50ce8e)
|
|
1068
|
+
}), _0x87efbd = (_0x1aa970[_0x25436c(0x19a)] ?? [])[_0x25436c(0x195)](_0x3fa158 => ({
|
|
1069
|
+
'attachments': (_0x3fa158[_0x25436c(0x169)] ?? [])[_0x25436c(0x195)](_0x5e1d7b => ({
|
|
1070
|
+
'filename': _0x5e1d7b[_0x25436c(0x11c)] ?? _0x5e1d7b['id'],
|
|
1071
|
+
'id': _0x5e1d7b['id']
|
|
1032
1072
|
})),
|
|
1033
|
-
'content':
|
|
1034
|
-
'createdAt':
|
|
1035
|
-
...
|
|
1036
|
-
'messageId':
|
|
1037
|
-
'senderName':
|
|
1038
|
-
'senderType':
|
|
1039
|
-
'seq':
|
|
1073
|
+
'content': _0x3fa158['bodyMarkdown'] ?? '',
|
|
1074
|
+
'createdAt': _0x3fa158[_0x25436c(0xee)],
|
|
1075
|
+
..._0x3fa158[_0x25436c(0x1b3)] && _0x3fa158['kind'] !== _0x25436c(0x163) ? { 'kind': _0x3fa158[_0x25436c(0x1b3)] } : {},
|
|
1076
|
+
'messageId': _0x3fa158['id'],
|
|
1077
|
+
'senderName': _0x3fa158[_0x25436c(0x97)],
|
|
1078
|
+
'senderType': _0x131c90(_0x3fa158['senderParticipantId'], _0x3c0bab),
|
|
1079
|
+
'seq': _0x3fa158[_0x25436c(0x1d0)] ?? 0x0
|
|
1040
1080
|
}));
|
|
1041
1081
|
return {
|
|
1042
|
-
'channel':
|
|
1043
|
-
'hasMore':
|
|
1044
|
-
'messages':
|
|
1045
|
-
'nextCursor':
|
|
1082
|
+
'channel': _0x288919[_0x25436c(0x1dd)],
|
|
1083
|
+
'hasMore': _0x1aa970[_0x25436c(0xbf)]?.[_0x25436c(0x178)] ?? ![],
|
|
1084
|
+
'messages': _0x87efbd,
|
|
1085
|
+
'nextCursor': _0x1aa970['meta']?.[_0x25436c(0x1bc)]
|
|
1046
1086
|
};
|
|
1047
1087
|
}
|
|
1048
1088
|
return {
|
|
1049
|
-
async 'sendMessage'(
|
|
1050
|
-
const
|
|
1051
|
-
'body': JSON[
|
|
1052
|
-
'attachment_ids':
|
|
1053
|
-
'bodyMarkdown':
|
|
1054
|
-
'channelId':
|
|
1055
|
-
...
|
|
1056
|
-
'threadId':
|
|
1057
|
-
...
|
|
1089
|
+
async 'sendMessage'(_0x11deca) {
|
|
1090
|
+
const _0x34bae0 = _0x350fad, _0x5b594c = await _0x5d2e30(_0x11deca[_0x34bae0(0x8b)]), _0x4266a6 = _0x11deca['content'][_0x34bae0(_0x333481._0x10dc80)]('@') ? extractMentionedParticipantIds(_0x11deca[_0x34bae0(_0x333481._0x19a9e4)], await _0x3eb5b4()) : [], _0x195d0a = await _0xf753d2(_0x34bae0(_0x333481._0x52d817) + _0x2d61d[_0x34bae0(_0x333481._0x4511ff)] + _0x34bae0(_0x333481._0x4ded13), {
|
|
1091
|
+
'body': JSON[_0x34bae0(_0x333481._0x2e2a38)]({
|
|
1092
|
+
'attachment_ids': _0x11deca[_0x34bae0(0xe1)],
|
|
1093
|
+
'bodyMarkdown': _0x11deca[_0x34bae0(0x1ef)],
|
|
1094
|
+
'channelId': _0x5b594c[_0x34bae0(_0x333481._0x31180d)],
|
|
1095
|
+
..._0x4266a6[_0x34bae0(_0x333481._0x21f2e6)] > 0x0 ? { 'mentionedParticipantIds': _0x4266a6 } : {},
|
|
1096
|
+
'threadId': _0x5b594c[_0x34bae0(0x91)],
|
|
1097
|
+
..._0x11deca[_0x34bae0(0x1a4)] ? { 'visibility': _0x11deca[_0x34bae0(_0x333481._0x1f1008)] } : {}
|
|
1058
1098
|
}),
|
|
1059
|
-
'headers':
|
|
1060
|
-
'method':
|
|
1099
|
+
'headers': _0x5538b3,
|
|
1100
|
+
'method': _0x34bae0(0xf9)
|
|
1061
1101
|
});
|
|
1062
|
-
return { 'messageId':
|
|
1102
|
+
return { 'messageId': _0x195d0a[_0x34bae0(_0x333481._0x448f4c)]?.['id'] ?? '' };
|
|
1063
1103
|
},
|
|
1064
1104
|
async 'listSchedules'() {
|
|
1065
|
-
const
|
|
1066
|
-
'headers':
|
|
1067
|
-
'method':
|
|
1105
|
+
const _0x276ce2 = _0x350fad, _0x369dd6 = await _0xf753d2(_0x276ce2(0xb0), {
|
|
1106
|
+
'headers': _0x5538b3,
|
|
1107
|
+
'method': _0x276ce2(0xa3)
|
|
1068
1108
|
});
|
|
1069
|
-
return
|
|
1109
|
+
return _0x369dd6[_0x276ce2(_0x5eab25._0x3ceebb)] ?? [];
|
|
1070
1110
|
},
|
|
1071
|
-
async 'claimScheduleRun'(
|
|
1072
|
-
const
|
|
1073
|
-
'body': JSON['stringify'](
|
|
1074
|
-
'headers':
|
|
1075
|
-
'method':
|
|
1111
|
+
async 'claimScheduleRun'(_0x42c54f) {
|
|
1112
|
+
const _0x49c669 = _0x350fad, _0x1556f6 = await _0xf753d2('/api/internal/schedules/claim', {
|
|
1113
|
+
'body': JSON['stringify'](_0x42c54f),
|
|
1114
|
+
'headers': _0x5538b3,
|
|
1115
|
+
'method': 'POST'
|
|
1076
1116
|
});
|
|
1077
|
-
return
|
|
1117
|
+
return _0x1556f6[_0x49c669(0x19a)] ?? {
|
|
1078
1118
|
'granted': ![],
|
|
1079
1119
|
'runId': null,
|
|
1080
1120
|
'schedule': null,
|
|
1081
|
-
'scheduledFor':
|
|
1121
|
+
'scheduledFor': _0x42c54f[_0x49c669(_0x124125._0x1d201d)]
|
|
1082
1122
|
};
|
|
1083
1123
|
},
|
|
1084
|
-
async 'startScheduleRun'(
|
|
1085
|
-
const
|
|
1086
|
-
'body': JSON[
|
|
1087
|
-
'headers':
|
|
1088
|
-
'method':
|
|
1124
|
+
async 'startScheduleRun'(_0x4aa938) {
|
|
1125
|
+
const _0xa39b6b = _0x350fad, _0x4c5944 = await _0xf753d2(_0xa39b6b(_0x45f48e._0x52ba67) + encodeURIComponent(_0x4aa938[_0xa39b6b(0x1d9)]) + '/start', {
|
|
1126
|
+
'body': JSON[_0xa39b6b(0x1e1)]({}),
|
|
1127
|
+
'headers': _0x5538b3,
|
|
1128
|
+
'method': _0xa39b6b(_0x45f48e._0xc0d9fb)
|
|
1089
1129
|
});
|
|
1090
|
-
return
|
|
1130
|
+
return _0x4c5944[_0xa39b6b(_0x45f48e._0x5489f1)] ?? {
|
|
1091
1131
|
'claimedByDaemonId': '',
|
|
1092
|
-
'id':
|
|
1132
|
+
'id': _0x4aa938['runId'],
|
|
1093
1133
|
'scheduleId': '',
|
|
1094
|
-
'status':
|
|
1134
|
+
'status': _0xa39b6b(_0x45f48e._0x15c5af)
|
|
1095
1135
|
};
|
|
1096
1136
|
},
|
|
1097
|
-
async 'finishScheduleRun'(
|
|
1098
|
-
const
|
|
1099
|
-
'body': JSON[
|
|
1100
|
-
'error':
|
|
1101
|
-
'resultJson':
|
|
1102
|
-
'status':
|
|
1137
|
+
async 'finishScheduleRun'(_0x16012a) {
|
|
1138
|
+
const _0x211c9f = _0x350fad, _0x4711d0 = await _0xf753d2(_0x211c9f(0x126) + encodeURIComponent(_0x16012a[_0x211c9f(0x1d9)]) + _0x211c9f(_0x5b2bbd._0x285035), {
|
|
1139
|
+
'body': JSON[_0x211c9f(0x1e1)]({
|
|
1140
|
+
'error': _0x16012a[_0x211c9f(0x17c)],
|
|
1141
|
+
'resultJson': _0x16012a[_0x211c9f(0x171)],
|
|
1142
|
+
'status': _0x16012a[_0x211c9f(0x14a)]
|
|
1103
1143
|
}),
|
|
1104
|
-
'headers':
|
|
1144
|
+
'headers': _0x5538b3,
|
|
1105
1145
|
'method': 'POST'
|
|
1106
1146
|
});
|
|
1107
|
-
return
|
|
1147
|
+
return _0x4711d0['data'] ?? {
|
|
1108
1148
|
'nextRunAt': null,
|
|
1109
1149
|
'run': {
|
|
1110
1150
|
'claimedByDaemonId': '',
|
|
1111
|
-
'id':
|
|
1151
|
+
'id': _0x16012a[_0x211c9f(0x1d9)],
|
|
1112
1152
|
'scheduleId': '',
|
|
1113
|
-
'status':
|
|
1153
|
+
'status': _0x16012a[_0x211c9f(_0x5b2bbd._0xd13873)]
|
|
1114
1154
|
}
|
|
1115
1155
|
};
|
|
1116
1156
|
},
|
|
1117
|
-
async 'listTasks'(
|
|
1118
|
-
const
|
|
1119
|
-
return
|
|
1120
|
-
'headers':
|
|
1121
|
-
'method':
|
|
1157
|
+
async 'listTasks'(_0x5b769a) {
|
|
1158
|
+
const _0xbbe5c8 = _0x350fad, _0x21feb7 = new URLSearchParams();
|
|
1159
|
+
return _0x21feb7['set'](_0xbbe5c8(_0x560933._0x1cbd0c), _0x5b769a[_0xbbe5c8(_0x560933._0x1cbd0c)]), _0x5b769a[_0xbbe5c8(_0x560933._0x14ff4e)] && _0x21feb7[_0xbbe5c8(0x106)](_0xbbe5c8(0x14a), _0x5b769a[_0xbbe5c8(0x14a)]), _0x143a96(_0xbbe5c8(0x1ec) + _0x2d61d['agentId'] + '/tasks?' + _0x21feb7[_0xbbe5c8(_0x560933._0x197479)](), {
|
|
1160
|
+
'headers': _0x5538b3,
|
|
1161
|
+
'method': _0xbbe5c8(_0x560933._0x187e01)
|
|
1122
1162
|
});
|
|
1123
1163
|
},
|
|
1124
|
-
async 'createTasks'(
|
|
1125
|
-
const
|
|
1126
|
-
return
|
|
1127
|
-
'body': JSON[
|
|
1128
|
-
...
|
|
1129
|
-
'idempotency_key':
|
|
1164
|
+
async 'createTasks'(_0x4c9ccf) {
|
|
1165
|
+
const _0x265c99 = _0x350fad;
|
|
1166
|
+
return _0x143a96('/internal/agent/' + _0x2d61d[_0x265c99(_0x119907._0x14f105)] + '/tasks', {
|
|
1167
|
+
'body': JSON[_0x265c99(_0x119907._0x4e3554)]({
|
|
1168
|
+
..._0x4c9ccf,
|
|
1169
|
+
'idempotency_key': _0x667ea7(_0x265c99(_0x119907._0x463d9f), _0x4c9ccf)
|
|
1130
1170
|
}),
|
|
1131
|
-
'headers':
|
|
1132
|
-
'method':
|
|
1171
|
+
'headers': _0x5538b3,
|
|
1172
|
+
'method': _0x265c99(0xf9)
|
|
1133
1173
|
});
|
|
1134
1174
|
},
|
|
1135
|
-
async 'claimTasks'(
|
|
1136
|
-
const
|
|
1137
|
-
return
|
|
1138
|
-
'body': JSON[
|
|
1139
|
-
...
|
|
1140
|
-
'idempotency_key':
|
|
1175
|
+
async 'claimTasks'(_0x2f6d4b) {
|
|
1176
|
+
const _0x41560e = _0x350fad;
|
|
1177
|
+
return _0x143a96(_0x41560e(_0x3232d0._0x2c10a2) + _0x2d61d['agentId'] + '/tasks/claim', {
|
|
1178
|
+
'body': JSON[_0x41560e(0x1e1)]({
|
|
1179
|
+
..._0x2f6d4b,
|
|
1180
|
+
'idempotency_key': _0x667ea7(_0x41560e(0x192), _0x2f6d4b)
|
|
1141
1181
|
}),
|
|
1142
|
-
'headers':
|
|
1143
|
-
'method':
|
|
1182
|
+
'headers': _0x5538b3,
|
|
1183
|
+
'method': _0x41560e(_0x3232d0._0x19a0db)
|
|
1144
1184
|
});
|
|
1145
1185
|
},
|
|
1146
|
-
async 'unclaimTask'(
|
|
1147
|
-
const
|
|
1148
|
-
return
|
|
1149
|
-
'body': JSON[
|
|
1150
|
-
...
|
|
1151
|
-
'idempotency_key':
|
|
1186
|
+
async 'unclaimTask'(_0x58effd) {
|
|
1187
|
+
const _0x397cdb = _0x350fad;
|
|
1188
|
+
return _0x143a96('/internal/agent/' + _0x2d61d[_0x397cdb(_0x531142._0x4f437d)] + '/tasks/unclaim', {
|
|
1189
|
+
'body': JSON[_0x397cdb(0x1e1)]({
|
|
1190
|
+
..._0x58effd,
|
|
1191
|
+
'idempotency_key': _0x667ea7(_0x397cdb(0xfc), _0x58effd)
|
|
1152
1192
|
}),
|
|
1153
|
-
'headers':
|
|
1154
|
-
'method':
|
|
1193
|
+
'headers': _0x5538b3,
|
|
1194
|
+
'method': _0x397cdb(_0x531142._0x254534)
|
|
1155
1195
|
});
|
|
1156
1196
|
},
|
|
1157
|
-
async 'updateTaskStatus'(
|
|
1158
|
-
const
|
|
1159
|
-
return
|
|
1160
|
-
'body': JSON[
|
|
1161
|
-
...
|
|
1162
|
-
'idempotency_key':
|
|
1197
|
+
async 'updateTaskStatus'(_0x1189b1) {
|
|
1198
|
+
const _0x375b4e = _0x350fad;
|
|
1199
|
+
return _0x143a96('/internal/agent/' + _0x2d61d['agentId'] + _0x375b4e(_0x4d137c._0x2d41ae), {
|
|
1200
|
+
'body': JSON[_0x375b4e(0x1e1)]({
|
|
1201
|
+
..._0x1189b1,
|
|
1202
|
+
'idempotency_key': _0x667ea7('update_task_status', _0x1189b1)
|
|
1163
1203
|
}),
|
|
1164
|
-
'headers':
|
|
1165
|
-
'method':
|
|
1204
|
+
'headers': _0x5538b3,
|
|
1205
|
+
'method': 'POST'
|
|
1166
1206
|
});
|
|
1167
1207
|
},
|
|
1168
|
-
async 'uploadFile'(
|
|
1169
|
-
const
|
|
1170
|
-
if (
|
|
1171
|
-
throw new Error(
|
|
1172
|
-
const
|
|
1173
|
-
'body': JSON[
|
|
1174
|
-
'channel':
|
|
1175
|
-
'contentBase64':
|
|
1176
|
-
'contentType':
|
|
1177
|
-
'originalFilename':
|
|
1208
|
+
async 'uploadFile'(_0x555a8a) {
|
|
1209
|
+
const _0x46f358 = _0x350fad, _0x3f2090 = await _0x5d2e30(_0x555a8a[_0x46f358(0x13c)]);
|
|
1210
|
+
if (_0x3f2090[_0x46f358(_0x857809._0x37dbba)])
|
|
1211
|
+
throw new Error(_0x46f358(_0x857809._0x30678e));
|
|
1212
|
+
const _0x4a0c48 = await _0xf753d2(_0x46f358(_0x857809._0x165b7a) + _0x2d61d[_0x46f358(0x14d)] + _0x46f358(_0x857809._0x54d2a5), {
|
|
1213
|
+
'body': JSON[_0x46f358(_0x857809._0x5218b8)]({
|
|
1214
|
+
'channel': _0x3f2090[_0x46f358(_0x857809._0x52918b)],
|
|
1215
|
+
'contentBase64': _0x555a8a['contentBase64'],
|
|
1216
|
+
'contentType': _0x555a8a[_0x46f358(_0x857809._0x137daa)],
|
|
1217
|
+
'originalFilename': _0x555a8a[_0x46f358(_0x857809._0x2321a2)]
|
|
1178
1218
|
}),
|
|
1179
|
-
'headers':
|
|
1180
|
-
'method':
|
|
1219
|
+
'headers': _0x5538b3,
|
|
1220
|
+
'method': _0x46f358(_0x857809._0x3eb755)
|
|
1181
1221
|
});
|
|
1182
1222
|
return {
|
|
1183
|
-
'attachmentId':
|
|
1184
|
-
'filename':
|
|
1185
|
-
'sizeBytes':
|
|
1223
|
+
'attachmentId': _0x4a0c48[_0x46f358(0x19a)]?.['id'] ?? '',
|
|
1224
|
+
'filename': _0x4a0c48[_0x46f358(_0x857809._0x4e1a0a)]?.[_0x46f358(_0x857809._0x3b034d)] ?? _0x555a8a[_0x46f358(0x11c)],
|
|
1225
|
+
'sizeBytes': _0x4a0c48[_0x46f358(0x19a)]?.['sizeBytes'] ?? 0x0
|
|
1186
1226
|
};
|
|
1187
1227
|
},
|
|
1188
|
-
async 'downloadAttachment'(
|
|
1189
|
-
const
|
|
1190
|
-
'headers':
|
|
1191
|
-
'method':
|
|
1192
|
-
}),
|
|
1228
|
+
async 'downloadAttachment'(_0x4b32c4) {
|
|
1229
|
+
const _0x371f91 = _0x350fad, _0x37472c = await _0xf753d2(_0x371f91(_0x21c65f._0x2318a6) + _0x4b32c4, {
|
|
1230
|
+
'headers': _0x5538b3,
|
|
1231
|
+
'method': _0x371f91(0xa3)
|
|
1232
|
+
}), _0x5844b4 = new AbortController(), _0x98e7e7 = setTimeout(() => _0x5844b4[_0x371f91(0xbd)](), _0x36fcd1);
|
|
1193
1233
|
try {
|
|
1194
|
-
const
|
|
1195
|
-
'headers':
|
|
1234
|
+
const _0x12add8 = await _0x57fdb4(_0x273846 + _0x371f91(_0x21c65f._0x4dc413) + _0x4b32c4 + _0x371f91(0x13e), {
|
|
1235
|
+
'headers': _0x5538b3,
|
|
1196
1236
|
'method': 'GET',
|
|
1197
|
-
'signal':
|
|
1237
|
+
'signal': _0x5844b4[_0x371f91(0x134)]
|
|
1198
1238
|
});
|
|
1199
|
-
if (!
|
|
1200
|
-
throw new Error(
|
|
1239
|
+
if (!_0x12add8['ok'])
|
|
1240
|
+
throw new Error('HTTP\x20' + _0x12add8[_0x371f91(_0x21c65f._0x222883)]);
|
|
1201
1241
|
return {
|
|
1202
|
-
'contentType':
|
|
1203
|
-
'data': Buffer[
|
|
1204
|
-
'originalFilename':
|
|
1242
|
+
'contentType': _0x37472c['data']?.[_0x371f91(_0x21c65f._0x46dbd7)] ?? _0x12add8['headers'][_0x371f91(0x138)](_0x371f91(0xa0)) ?? _0x371f91(_0x21c65f._0x50c7bb),
|
|
1243
|
+
'data': Buffer[_0x371f91(_0x21c65f._0x5e0228)](await _0x12add8[_0x371f91(_0x21c65f._0x292d57)]()),
|
|
1244
|
+
'originalFilename': _0x37472c['data']?.[_0x371f91(_0x21c65f._0x460ba3)]
|
|
1205
1245
|
};
|
|
1206
1246
|
} finally {
|
|
1207
|
-
clearTimeout(
|
|
1247
|
+
clearTimeout(_0x98e7e7);
|
|
1208
1248
|
}
|
|
1209
1249
|
},
|
|
1210
1250
|
async 'listServer'() {
|
|
1211
|
-
return
|
|
1251
|
+
return _0x3eb5b4({ 'forceRefresh': !![] });
|
|
1212
1252
|
},
|
|
1213
|
-
async 'readHistory'(
|
|
1214
|
-
const
|
|
1215
|
-
return
|
|
1216
|
-
'after':
|
|
1217
|
-
'before':
|
|
1218
|
-
'channelId':
|
|
1219
|
-
'channelTarget':
|
|
1220
|
-
'limit':
|
|
1221
|
-
'threadId':
|
|
1253
|
+
async 'readHistory'(_0x3b4b93) {
|
|
1254
|
+
const _0x11f9b3 = _0x350fad, _0x3db5e1 = await _0x5d2e30(_0x3b4b93['channel']);
|
|
1255
|
+
return _0x4bfcfe({
|
|
1256
|
+
'after': _0x3b4b93['after'],
|
|
1257
|
+
'before': _0x3b4b93['before'],
|
|
1258
|
+
'channelId': _0x3db5e1[_0x11f9b3(_0x181661._0x113ddf)],
|
|
1259
|
+
'channelTarget': _0x3db5e1[_0x11f9b3(0x8b)],
|
|
1260
|
+
'limit': _0x3b4b93[_0x11f9b3(0xcc)],
|
|
1261
|
+
'threadId': _0x3db5e1[_0x11f9b3(0x91)]
|
|
1222
1262
|
});
|
|
1223
1263
|
},
|
|
1224
|
-
'resolveTarget':
|
|
1264
|
+
'resolveTarget': _0x5d2e30,
|
|
1225
1265
|
async 'checkMessages'() {
|
|
1226
|
-
const
|
|
1227
|
-
|
|
1228
|
-
const
|
|
1229
|
-
'headers':
|
|
1230
|
-
'method':
|
|
1231
|
-
}),
|
|
1232
|
-
let
|
|
1233
|
-
|
|
1234
|
-
|
|
1266
|
+
const _0x14f231 = _0x350fad, _0x5403f9 = new URLSearchParams();
|
|
1267
|
+
_0x5403f9[_0x14f231(0x106)](_0x14f231(0x109), String(_0x1ba400));
|
|
1268
|
+
const _0x44bf30 = _0x5403f9['toString'](), _0x36e2ce = await _0xf753d2('/internal/agent/' + _0x2d61d[_0x14f231(_0x3811b3._0x59d34b)] + _0x14f231(0xe5) + (_0x44bf30 ? '?' + _0x44bf30 : ''), {
|
|
1269
|
+
'headers': _0x5538b3,
|
|
1270
|
+
'method': 'GET'
|
|
1271
|
+
}), _0x1bf6f3 = _0x36e2ce['data'] ?? [], _0x20ba8e = _0x36e2ce[_0x14f231(_0x3811b3._0x25c01c)]?.[_0x14f231(0x1bc)], _0x8539a1 = _0x20ba8e !== void 0x0 ? Math[_0x14f231(0x130)](_0x1ba400, _0x20ba8e) : _0x1bf6f3[_0x14f231(0x78)] > 0x0 ? Math[_0x14f231(0x130)](_0x1ba400, _0x1bf6f3[_0x1bf6f3[_0x14f231(0x78)] - 0x1]['seq']) : _0x1ba400, _0x1b5203 = _0x1bf6f3['filter'](_0x1106a1 => _0x1106a1[_0x14f231(0x156)] === 'message'), _0x300c83 = _0x1c82b0 === void 0x0 && _0x5f3585;
|
|
1272
|
+
let _0x38130b = await _0x3eb5b4(), _0x313b4a = new Map(_0x38130b[_0x14f231(_0x3811b3._0x3cef49)]['map'](_0x19ca46 => [
|
|
1273
|
+
_0x19ca46['id'],
|
|
1274
|
+
_0x19ca46
|
|
1235
1275
|
]));
|
|
1236
|
-
const
|
|
1237
|
-
const
|
|
1238
|
-
return Boolean(
|
|
1276
|
+
const _0x227ceb = _0x1b5203[_0x14f231(0xe7)](_0x42c956 => {
|
|
1277
|
+
const _0x23c960 = _0x14f231, _0x46c160 = asRecord(_0x42c956[_0x23c960(_0x3a8b76._0x2f0883)]), _0x5ccfa1 = typeof _0x46c160?.[_0x23c960(_0x3a8b76._0x22d7d2)] === _0x23c960(0xa9) ? _0x46c160[_0x23c960(0x1aa)] : '';
|
|
1278
|
+
return Boolean(_0x5ccfa1) && !_0x313b4a[_0x23c960(_0x3a8b76._0x38acaa)](_0x5ccfa1);
|
|
1239
1279
|
});
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1280
|
+
_0x227ceb && (_0x38130b = await _0x3eb5b4({ 'forceRefresh': !![] }), _0x313b4a = new Map(_0x38130b[_0x14f231(_0x3811b3._0x2e1914)]['map'](_0x16150d => [
|
|
1281
|
+
_0x16150d['id'],
|
|
1282
|
+
_0x16150d
|
|
1243
1283
|
])));
|
|
1244
|
-
const
|
|
1245
|
-
for (const
|
|
1246
|
-
const
|
|
1247
|
-
if (!
|
|
1284
|
+
const _0x132dea = new Map();
|
|
1285
|
+
for (const _0x5e4dd3 of _0x1b5203) {
|
|
1286
|
+
const _0x57d479 = asRecord(_0x5e4dd3['payloadJson']), _0x476cdc = typeof _0x57d479['channelId'] === 'string' ? _0x57d479['channelId'] : '';
|
|
1287
|
+
if (!_0x476cdc)
|
|
1248
1288
|
continue;
|
|
1249
|
-
const
|
|
1289
|
+
const _0x50249b = typeof _0x57d479['threadId'] === _0x14f231(0xa9) ? _0x57d479[_0x14f231(_0x3811b3._0x5e05d0)] : void 0x0, _0x4011b2 = typeof _0x57d479[_0x14f231(_0x3811b3._0x380085)] === _0x14f231(0xa9) ? _0x57d479['rootMessageId'] : void 0x0, _0x114122 = typeof _0x57d479[_0x14f231(0xcd)] === _0x14f231(0x88) && Number['isInteger'](_0x57d479[_0x14f231(0xcd)]) ? _0x57d479[_0x14f231(0xcd)] : void 0x0, _0x530679 = Boolean(_0x50249b && (!_0x4011b2 || _0x5e4dd3[_0x14f231(_0x3811b3._0x3021bd)] !== _0x4011b2)), _0x2b5cca = _0x530679 ? _0x476cdc + ':' + _0x50249b : _0x476cdc, _0x136976 = _0x132dea[_0x14f231(0x138)](_0x2b5cca) ?? {
|
|
1250
1290
|
'aggregateIds': [],
|
|
1251
|
-
'channelId':
|
|
1291
|
+
'channelId': _0x476cdc,
|
|
1252
1292
|
'entries': new Map(),
|
|
1253
|
-
'isThreadReply':
|
|
1254
|
-
'rootMessageId':
|
|
1255
|
-
'threadNumber':
|
|
1256
|
-
'threadId':
|
|
1293
|
+
'isThreadReply': _0x530679,
|
|
1294
|
+
'rootMessageId': _0x4011b2,
|
|
1295
|
+
'threadNumber': _0x114122,
|
|
1296
|
+
'threadId': _0x530679 ? _0x50249b : void 0x0
|
|
1257
1297
|
};
|
|
1258
|
-
|
|
1259
|
-
'payloadJson':
|
|
1260
|
-
'seq':
|
|
1261
|
-
}),
|
|
1298
|
+
_0x136976[_0x14f231(0xcd)] == null && _0x114122 != null && (_0x136976[_0x14f231(_0x3811b3._0x171d9e)] = _0x114122), !_0x136976[_0x14f231(_0x3811b3._0x1d0c54)] && _0x4011b2 && (_0x136976[_0x14f231(0x6d)] = _0x4011b2), _0x136976[_0x14f231(_0x3811b3._0x13545a)]['push'](_0x5e4dd3[_0x14f231(_0x3811b3._0x3021bd)]), _0x136976[_0x14f231(0x1f1)][_0x14f231(0x106)](_0x5e4dd3[_0x14f231(0x16a)], {
|
|
1299
|
+
'payloadJson': _0x5e4dd3['payloadJson'],
|
|
1300
|
+
'seq': _0x5e4dd3[_0x14f231(_0x3811b3._0x540154)]
|
|
1301
|
+
}), _0x132dea[_0x14f231(_0x3811b3._0x5ca790)](_0x2b5cca, _0x136976);
|
|
1262
1302
|
}
|
|
1263
|
-
const
|
|
1264
|
-
for (const
|
|
1303
|
+
const _0x22b750 = [];
|
|
1304
|
+
for (const _0x5d8ed6 of _0x132dea[_0x14f231(0x11d)]()) {
|
|
1265
1305
|
const {
|
|
1266
|
-
channelId:
|
|
1267
|
-
threadId:
|
|
1268
|
-
rootMessageId:
|
|
1269
|
-
threadNumber:
|
|
1270
|
-
aggregateIds:
|
|
1271
|
-
isThreadReply:
|
|
1272
|
-
entries:
|
|
1273
|
-
} =
|
|
1274
|
-
'channelTarget':
|
|
1275
|
-
'rootMessageId':
|
|
1276
|
-
'threadId':
|
|
1277
|
-
'threadNumber':
|
|
1278
|
-
},
|
|
1279
|
-
'channelId':
|
|
1280
|
-
'channelTarget':
|
|
1281
|
-
'limit': Math[
|
|
1282
|
-
'threadId':
|
|
1283
|
-
}),
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
])),
|
|
1287
|
-
for (const
|
|
1288
|
-
if (!
|
|
1306
|
+
channelId: _0x5db738,
|
|
1307
|
+
threadId: _0x49607c,
|
|
1308
|
+
rootMessageId: _0x53bd76,
|
|
1309
|
+
threadNumber: _0x2c981b,
|
|
1310
|
+
aggregateIds: _0x58f24c,
|
|
1311
|
+
isThreadReply: _0x265e10,
|
|
1312
|
+
entries: _0x1134a8
|
|
1313
|
+
} = _0x5d8ed6, _0x5c29d7 = _0x313b4a[_0x14f231(_0x3811b3._0x3c2314)](_0x5db738), _0x294f0d = _0x5c29d7?.[_0x14f231(_0x3811b3._0x5a115a)] ?? _0x5db738, _0x3c964d = _0x5c29d7?.['kind'] === 'dm' ? _0x14f231(0x84) + _0x294f0d : '#' + _0x294f0d, _0x45baa8 = {
|
|
1314
|
+
'channelTarget': _0x3c964d,
|
|
1315
|
+
'rootMessageId': _0x53bd76,
|
|
1316
|
+
'threadId': _0x49607c,
|
|
1317
|
+
'threadNumber': _0x2c981b
|
|
1318
|
+
}, _0x583580 = await _0x4bfcfe({
|
|
1319
|
+
'channelId': _0x5db738,
|
|
1320
|
+
'channelTarget': _0x3c964d,
|
|
1321
|
+
'limit': Math[_0x14f231(_0x3811b3._0x119c55)](_0x58f24c['length'], 0x32),
|
|
1322
|
+
'threadId': _0x49607c
|
|
1323
|
+
}), _0x3250a2 = new Map(_0x583580[_0x14f231(_0x3811b3._0x10df3d)]['map'](_0x5c7092 => [
|
|
1324
|
+
_0x5c7092[_0x14f231(0x15d)],
|
|
1325
|
+
_0x5c7092
|
|
1326
|
+
])), _0x1b4b72 = _0x49607c ? _0x11b16e(_0x45baa8) : _0x3c964d, _0x5e702f = _0x1c82b0 ? _0x265e10 && _0x2e5e27(_0x1c82b0, _0x45baa8) : !![], _0x94a235 = _0x265e10 ? _0x5e702f && _0x1c82b0 ? _0x1c82b0 : _0x1b4b72 : _0x3c964d;
|
|
1327
|
+
for (const _0x26b05e of _0x58f24c) {
|
|
1328
|
+
if (!_0x5e702f)
|
|
1289
1329
|
continue;
|
|
1290
|
-
const
|
|
1291
|
-
if (
|
|
1330
|
+
const _0x59634e = _0x1134a8[_0x14f231(0x138)](_0x26b05e), _0x34b8c4 = _0x59634e ? asRecord(_0x59634e[_0x14f231(0x129)]) : void 0x0, _0x32e724 = _0x34b8c4?.[_0x14f231(0x131)] === _0x14f231(_0x3811b3._0x1f6d24);
|
|
1331
|
+
if (_0x300c83 && _0x32e724)
|
|
1292
1332
|
continue;
|
|
1293
|
-
const
|
|
1294
|
-
if (
|
|
1295
|
-
|
|
1296
|
-
'attachments':
|
|
1297
|
-
'content':
|
|
1298
|
-
'createdAt':
|
|
1299
|
-
...
|
|
1300
|
-
'messageId':
|
|
1301
|
-
'senderName':
|
|
1302
|
-
'senderType':
|
|
1303
|
-
'target':
|
|
1304
|
-
...
|
|
1333
|
+
const _0x26f41c = _0x3250a2['get'](_0x26b05e);
|
|
1334
|
+
if (_0x26f41c) {
|
|
1335
|
+
_0x22b750[_0x14f231(_0x3811b3._0xfa0b79)]({
|
|
1336
|
+
'attachments': _0x26f41c['attachments'],
|
|
1337
|
+
'content': _0x26f41c[_0x14f231(_0x3811b3._0x89e986)],
|
|
1338
|
+
'createdAt': _0x26f41c['createdAt'],
|
|
1339
|
+
..._0x26f41c[_0x14f231(0x1b3)] ? { 'kind': _0x26f41c[_0x14f231(_0x3811b3._0x5146db)] } : {},
|
|
1340
|
+
'messageId': _0x26f41c[_0x14f231(_0x3811b3._0x4f69a3)],
|
|
1341
|
+
'senderName': _0x26f41c[_0x14f231(0xa2)],
|
|
1342
|
+
'senderType': _0x26f41c[_0x14f231(_0x3811b3._0x367d26)],
|
|
1343
|
+
'target': _0x94a235,
|
|
1344
|
+
..._0x32e724 ? { 'targetedTask': !![] } : {}
|
|
1305
1345
|
});
|
|
1306
1346
|
continue;
|
|
1307
1347
|
}
|
|
1308
|
-
if (
|
|
1309
|
-
const
|
|
1310
|
-
|
|
1348
|
+
if (_0x59634e) {
|
|
1349
|
+
const _0x1cf2a8 = typeof _0x34b8c4?.[_0x14f231(_0x3811b3._0x36846a)] === _0x14f231(0xa9) ? _0x34b8c4[_0x14f231(_0x3811b3._0x2097dd)] : '', _0xe3591d = typeof _0x34b8c4?.['bodyMarkdown'] === _0x14f231(_0x3811b3._0x3dc14c) ? _0x34b8c4[_0x14f231(0xf1)] : '', _0x1e53ab = typeof _0x34b8c4?.[_0x14f231(0x1b3)] === _0x14f231(0xa9) && _0x34b8c4[_0x14f231(0x1b3)] !== _0x14f231(0x163) ? _0x34b8c4['kind'] : void 0x0;
|
|
1350
|
+
_0x1cf2a8 && _0xe3591d && _0x22b750[_0x14f231(_0x3811b3._0xfa0b79)]({
|
|
1311
1351
|
'attachments': [],
|
|
1312
|
-
'content':
|
|
1313
|
-
'createdAt': new Date()[
|
|
1314
|
-
...
|
|
1315
|
-
'messageId':
|
|
1316
|
-
'senderName':
|
|
1317
|
-
'senderType':
|
|
1318
|
-
'target':
|
|
1319
|
-
...
|
|
1352
|
+
'content': _0xe3591d,
|
|
1353
|
+
'createdAt': new Date()['toISOString'](),
|
|
1354
|
+
..._0x1e53ab ? { 'kind': _0x1e53ab } : {},
|
|
1355
|
+
'messageId': _0x26b05e,
|
|
1356
|
+
'senderName': _0x1cf2a8,
|
|
1357
|
+
'senderType': _0x131c90(_0x1cf2a8, _0x38130b),
|
|
1358
|
+
'target': _0x94a235,
|
|
1359
|
+
..._0x32e724 ? { 'targetedTask': !![] } : {}
|
|
1320
1360
|
});
|
|
1321
1361
|
}
|
|
1322
1362
|
}
|
|
1323
1363
|
}
|
|
1324
|
-
if (
|
|
1325
|
-
if (
|
|
1326
|
-
await
|
|
1364
|
+
if (_0x8539a1 > 0x0) {
|
|
1365
|
+
if (_0x33bae2)
|
|
1366
|
+
await _0x47f052(_0x8539a1);
|
|
1327
1367
|
else
|
|
1328
|
-
|
|
1368
|
+
_0x3ec2fb && await _0x5345dd(_0x8539a1);
|
|
1329
1369
|
}
|
|
1330
|
-
return
|
|
1370
|
+
return _0x8539a1 > _0x1ba400 && (_0x1ba400 = _0x8539a1), { 'messages': _0x1c82b0 ? _0x22b750 : _0x300c83 ? _0x22b750[_0x14f231(0x94)](_0x1dbec1 => _0x1dbec1[_0x14f231(0xdd)] !== !![]) : _0x22b750 };
|
|
1331
1371
|
}
|
|
1332
1372
|
};
|
|
1333
1373
|
}
|
|
1334
|
-
function toLocalTime(
|
|
1335
|
-
const
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
return _0x4be313['getFullYear']() + '-' + _0x851b87(_0x4be313[_0x505ae7(0x2c3)]() + 0x1) + '-' + _0x851b87(_0x4be313[_0x505ae7(_0x20dddb._0x1bb532)]()) + '\x20' + _0x851b87(_0x4be313[_0x505ae7(0x1dd)]()) + ':' + _0x851b87(_0x4be313[_0x505ae7(0x1c2)]()) + ':' + _0x851b87(_0x4be313[_0x505ae7(_0x20dddb._0xbb6c7b)]());
|
|
1374
|
+
function toLocalTime(_0x1e2d72) {
|
|
1375
|
+
const _0x176be7 = {
|
|
1376
|
+
_0x3b9b5c: 0x197,
|
|
1377
|
+
_0x1385d0: 0x157
|
|
1378
|
+
}, _0x36cb3d = _0x11a45e, _0x5ebe5e = new Date(_0x1e2d72);
|
|
1379
|
+
if (Number['isNaN'](_0x5ebe5e['getTime']()))
|
|
1380
|
+
return _0x1e2d72;
|
|
1381
|
+
const _0x3e92bb = _0x2232a9 => String(_0x2232a9)[_0x36cb3d(0x1af)](0x2, '0');
|
|
1382
|
+
return _0x5ebe5e[_0x36cb3d(0x1a9)]() + '-' + _0x3e92bb(_0x5ebe5e[_0x36cb3d(_0x176be7._0x3b9b5c)]() + 0x1) + '-' + _0x3e92bb(_0x5ebe5e[_0x36cb3d(0x17d)]()) + '\x20' + _0x3e92bb(_0x5ebe5e['getHours']()) + ':' + _0x3e92bb(_0x5ebe5e['getMinutes']()) + ':' + _0x3e92bb(_0x5ebe5e[_0x36cb3d(_0x176be7._0x1385d0)]());
|
|
1344
1383
|
}
|
|
1345
|
-
function formatAttachmentSuffix(
|
|
1346
|
-
const
|
|
1347
|
-
|
|
1384
|
+
function formatAttachmentSuffix(_0x14d6d9) {
|
|
1385
|
+
const _0x2131de = {
|
|
1386
|
+
_0x34b7b0: 0x78,
|
|
1387
|
+
_0x3fa001: 0x14e,
|
|
1388
|
+
_0x3e90ac: 0x78,
|
|
1389
|
+
_0x72ef9: 0x132
|
|
1390
|
+
}, _0x3c930e = _0x11a45e;
|
|
1391
|
+
if (!_0x14d6d9 || _0x14d6d9[_0x3c930e(_0x2131de._0x34b7b0)] === 0x0)
|
|
1348
1392
|
return '';
|
|
1349
|
-
return '\x20[' +
|
|
1393
|
+
return '\x20[' + _0x14d6d9['length'] + _0x3c930e(_0x2131de._0x3fa001) + (_0x14d6d9[_0x3c930e(_0x2131de._0x3e90ac)] > 0x1 ? 's' : '') + ':\x20' + _0x14d6d9[_0x3c930e(0x195)](_0x1ee007 => _0x1ee007[_0x3c930e(0x11c)] + _0x3c930e(0xe4) + _0x1ee007['id'] + ')')[_0x3c930e(_0x2131de._0x72ef9)](',\x20') + _0x3c930e(0x81);
|
|
1350
1394
|
}
|
|
1351
|
-
function formatCheckMessages(
|
|
1352
|
-
const
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1395
|
+
function formatCheckMessages(_0x1d23b0) {
|
|
1396
|
+
const _0x27826f = {
|
|
1397
|
+
_0x3fc2d8: 0xae,
|
|
1398
|
+
_0x4b0f03: 0x195
|
|
1399
|
+
}, _0x309d19 = {
|
|
1400
|
+
_0x333f4f: 0x163,
|
|
1401
|
+
_0x516c14: 0x1b3,
|
|
1402
|
+
_0x1c1df5: 0x160,
|
|
1403
|
+
_0x27483a: 0x1a6,
|
|
1404
|
+
_0xd6bb8c: 0xb3
|
|
1405
|
+
}, _0x38317d = _0x11a45e;
|
|
1406
|
+
if (_0x1d23b0[_0x38317d(0x78)] === 0x0)
|
|
1407
|
+
return _0x38317d(_0x27826f._0x3fc2d8);
|
|
1408
|
+
return _0x1d23b0[_0x38317d(_0x27826f._0x4b0f03)](_0x4148b4 => {
|
|
1409
|
+
const _0x117e75 = _0x38317d, _0x4fdaaf = _0x4148b4[_0x117e75(0x98)] === 'agent' ? '\x20type=agent' : '', _0x4fa351 = _0x4148b4[_0x117e75(0x1b3)] && _0x4148b4[_0x117e75(0x1b3)] !== _0x117e75(_0x309d19._0x333f4f) ? _0x117e75(0x85) + _0x4148b4[_0x117e75(_0x309d19._0x516c14)] : '';
|
|
1410
|
+
return _0x117e75(_0x309d19._0x1c1df5) + _0x4148b4[_0x117e75(0x8b)] + '\x20msg=' + _0x4148b4['messageId'][_0x117e75(_0x309d19._0x27483a)](0x0, 0x8) + '\x20time=' + toLocalTime(_0x4148b4['createdAt']) + _0x4fdaaf + _0x4fa351 + _0x117e75(_0x309d19._0xd6bb8c) + _0x4148b4['senderName'] + ':\x20' + _0x4148b4[_0x117e75(0x1ef)] + formatAttachmentSuffix(_0x4148b4['attachments']);
|
|
1366
1411
|
})['join']('\x0a');
|
|
1367
1412
|
}
|
|
1368
|
-
function formatHistory(
|
|
1369
|
-
const
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
}, _0x5ec938 = _0xbabd6a;
|
|
1388
|
-
if (_0x2a8560[_0x5ec938(0x219)][_0x5ec938(0x18c)] === 0x0)
|
|
1389
|
-
return '##\x20Message\x20History\x20for\x20' + _0x2a8560['channel'] + _0x5ec938(_0x17bcab._0x32de45);
|
|
1390
|
-
const _0x2547fa = _0x2a8560[_0x5ec938(0x219)][_0x5ec938(_0x17bcab._0x3282c1)](_0x65e140 => {
|
|
1391
|
-
const _0x37e654 = _0x5ec938, _0x301e83 = _0x65e140[_0x37e654(0x1bb)] === 'agent' ? _0x37e654(_0x2a89a8._0xc6138d) : '', _0xd490c0 = _0x65e140[_0x37e654(_0x2a89a8._0x5f49c1)] && _0x65e140['kind'] !== _0x37e654(_0x2a89a8._0x149940) ? '\x20kind=' + _0x65e140[_0x37e654(_0x2a89a8._0x6e127e)] : '';
|
|
1392
|
-
return _0x37e654(_0x2a89a8._0x1d560a) + _0x65e140[_0x37e654(0x268)] + '\x20msg=' + _0x65e140[_0x37e654(_0x2a89a8._0x240cdd)] + _0x37e654(_0x2a89a8._0x3bf0af) + toLocalTime(_0x65e140['createdAt']) + _0x301e83 + _0xd490c0 + ']\x20@' + _0x65e140[_0x37e654(0x251)] + ':\x20' + _0x65e140[_0x37e654(0x2a4)] + formatAttachmentSuffix(_0x65e140[_0x37e654(_0x2a89a8._0x10652c)]);
|
|
1393
|
-
})[_0x5ec938(0x1d4)]('\x0a'), _0x265fd7 = _0x2a8560[_0x5ec938(0x226)] && _0x2a8560[_0x5ec938(0x213)] ? _0x5ec938(_0x17bcab._0x1e61ad) + _0x2a8560['messages'][_0x5ec938(_0x17bcab._0x2e1192)] + _0x5ec938(_0x17bcab._0x368da6) + _0x2a8560[_0x5ec938(_0x17bcab._0x267fdb)] + _0x5ec938(0x2f5) : '';
|
|
1394
|
-
return _0x5ec938(_0x17bcab._0x277109) + _0x2a8560[_0x5ec938(0x280)] + '\x20(' + _0x2a8560[_0x5ec938(_0x17bcab._0x5ba165)]['length'] + _0x5ec938(0x222) + _0x2547fa + _0x265fd7;
|
|
1413
|
+
function formatHistory(_0x562707) {
|
|
1414
|
+
const _0x54aeba = {
|
|
1415
|
+
_0x5ad8c0: 0x1df,
|
|
1416
|
+
_0x24ef0a: 0x144,
|
|
1417
|
+
_0x5bc1d6: 0x78
|
|
1418
|
+
}, _0x2b1131 = {
|
|
1419
|
+
_0x2dadd6: 0x82,
|
|
1420
|
+
_0x45f7e7: 0x8f,
|
|
1421
|
+
_0x491ff9: 0x11b,
|
|
1422
|
+
_0x4baa6d: 0x15d,
|
|
1423
|
+
_0x58b105: 0xa2
|
|
1424
|
+
}, _0x396b2e = _0x11a45e;
|
|
1425
|
+
if (_0x562707['messages'][_0x396b2e(0x78)] === 0x0)
|
|
1426
|
+
return _0x396b2e(0xf7) + _0x562707[_0x396b2e(0x13c)] + _0x396b2e(0x19f);
|
|
1427
|
+
const _0x4c86db = _0x562707['messages'][_0x396b2e(0x195)](_0x48af0a => {
|
|
1428
|
+
const _0x47f5ce = _0x396b2e, _0x37f77a = _0x48af0a[_0x47f5ce(0x98)] === _0x47f5ce(_0x2b1131._0x2dadd6) ? _0x47f5ce(_0x2b1131._0x45f7e7) : '', _0x35998b = _0x48af0a['kind'] && _0x48af0a['kind'] !== 'chat' ? _0x47f5ce(0x85) + _0x48af0a['kind'] : '';
|
|
1429
|
+
return '[seq=' + _0x48af0a[_0x47f5ce(_0x2b1131._0x491ff9)] + _0x47f5ce(0xab) + _0x48af0a[_0x47f5ce(_0x2b1131._0x4baa6d)] + '\x20time=' + toLocalTime(_0x48af0a[_0x47f5ce(0xee)]) + _0x37f77a + _0x35998b + _0x47f5ce(0xb3) + _0x48af0a[_0x47f5ce(_0x2b1131._0x58b105)] + ':\x20' + _0x48af0a[_0x47f5ce(0x1ef)] + formatAttachmentSuffix(_0x48af0a[_0x47f5ce(0x169)]);
|
|
1430
|
+
})['join']('\x0a'), _0x11f745 = _0x562707[_0x396b2e(0x178)] && _0x562707[_0x396b2e(_0x54aeba._0x5ad8c0)] ? _0x396b2e(0x7d) + _0x562707[_0x396b2e(_0x54aeba._0x24ef0a)][_0x396b2e(_0x54aeba._0x5bc1d6)] + _0x396b2e(0x9c) + _0x562707['nextCursor'] + '\x20to\x20load\x20older\x20messages.\x20---' : '';
|
|
1431
|
+
return '##\x20Message\x20History\x20for\x20' + _0x562707['channel'] + '\x20(' + _0x562707[_0x396b2e(0x144)][_0x396b2e(0x78)] + _0x396b2e(0x1e3) + _0x4c86db + _0x11f745;
|
|
1395
1432
|
}
|
|
1396
|
-
function formatServerDirectory(
|
|
1397
|
-
const
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1433
|
+
function formatServerDirectory(_0x445758) {
|
|
1434
|
+
const _0x4bd74e = {
|
|
1435
|
+
_0x53c0b2: 0x195,
|
|
1436
|
+
_0x9ff4e6: 0x132,
|
|
1437
|
+
_0x1e4e49: 0x195,
|
|
1438
|
+
_0x38bef0: 0x132,
|
|
1439
|
+
_0x3236de: 0xbe,
|
|
1440
|
+
_0x145ecc: 0x78,
|
|
1441
|
+
_0x312bee: 0x9d,
|
|
1442
|
+
_0x1b53af: 0x183,
|
|
1443
|
+
_0x1183e8: 0xc6,
|
|
1444
|
+
_0xc6b5c9: 0x132
|
|
1445
|
+
}, _0x130f62 = _0x11a45e, _0xb77d6d = _0x445758['channels']['length'] > 0x0 ? _0x445758['channels'][_0x130f62(_0x4bd74e._0x53c0b2)](_0x4545c3 => _0x4545c3[_0x130f62(0x18d)] ? _0x130f62(0x19b) + _0x4545c3['name'] + _0x130f62(0x1be) + _0x4545c3['description'] : _0x130f62(0x19b) + _0x4545c3[_0x130f62(0x1e8)])[_0x130f62(_0x4bd74e._0x9ff4e6)]('\x0a') : _0x130f62(0x9d), _0x15c664 = _0x445758['agents']['length'] > 0x0 ? _0x445758[_0x130f62(0x184)][_0x130f62(_0x4bd74e._0x1e4e49)](_0x4ca53b => _0x130f62(0x159) + _0x4ca53b[_0x130f62(0x1e8)])[_0x130f62(_0x4bd74e._0x38bef0)]('\x0a') : _0x130f62(0x9d), _0x86cc2d = _0x445758[_0x130f62(_0x4bd74e._0x3236de)][_0x130f62(_0x4bd74e._0x145ecc)] > 0x0 ? _0x445758['humans'][_0x130f62(_0x4bd74e._0x53c0b2)](_0x95c0a => '-\x20@' + _0x95c0a[_0x130f62(0x1e8)])[_0x130f62(_0x4bd74e._0x38bef0)]('\x0a') : _0x130f62(_0x4bd74e._0x312bee);
|
|
1408
1446
|
return [
|
|
1409
|
-
|
|
1447
|
+
_0x130f62(_0x4bd74e._0x1b53af) + _0x445758[_0x130f62(_0x4bd74e._0x1183e8)],
|
|
1410
1448
|
'',
|
|
1411
|
-
|
|
1412
|
-
|
|
1449
|
+
'###\x20Channels',
|
|
1450
|
+
_0xb77d6d,
|
|
1413
1451
|
'',
|
|
1414
|
-
|
|
1415
|
-
|
|
1452
|
+
_0x130f62(0x1cf),
|
|
1453
|
+
_0x15c664,
|
|
1416
1454
|
'',
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
][
|
|
1455
|
+
_0x130f62(0xc5),
|
|
1456
|
+
_0x86cc2d
|
|
1457
|
+
][_0x130f62(_0x4bd74e._0xc6b5c9)]('\x0a');
|
|
1420
1458
|
}
|
|
1421
|
-
function formatUploadResult(
|
|
1422
|
-
const
|
|
1423
|
-
|
|
1424
|
-
_0xdad5aa: 0x1cc,
|
|
1425
|
-
_0x267c6d: 0x26b
|
|
1426
|
-
}, _0x3d727b = _0xbabd6a;
|
|
1427
|
-
return _0x3d727b(0x2c0) + _0x2f0364[_0x3d727b(_0x24910d._0x2755df)] + '\x20(' + (_0x2f0364[_0x3d727b(_0x24910d._0xdad5aa)] / 0x400)[_0x3d727b(0x188)](0x1) + 'KB)\x0aAttachment\x20ID:\x20' + _0x2f0364[_0x3d727b(_0x24910d._0x267c6d)] + _0x3d727b(0x2a8);
|
|
1459
|
+
function formatUploadResult(_0x56c0f4) {
|
|
1460
|
+
const _0x12623f = { _0x951d13: 0x15b }, _0x5c3f41 = _0x11a45e;
|
|
1461
|
+
return 'File\x20uploaded:\x20' + _0x56c0f4[_0x5c3f41(0x11c)] + '\x20(' + (_0x56c0f4[_0x5c3f41(0x74)] / 0x400)[_0x5c3f41(_0x12623f._0x951d13)](0x1) + 'KB)\x0aAttachment\x20ID:\x20' + _0x56c0f4[_0x5c3f41(0x1cc)] + _0x5c3f41(0x87);
|
|
1428
1462
|
}
|
|
1429
|
-
function formatViewFileResult(
|
|
1430
|
-
const
|
|
1431
|
-
|
|
1463
|
+
function formatViewFileResult(_0x38d643, _0x28e7ac) {
|
|
1464
|
+
const _0x5f340e = {
|
|
1465
|
+
_0x495e38: 0xa7,
|
|
1466
|
+
_0x53785a: 0x117
|
|
1467
|
+
}, _0x18242c = _0x11a45e;
|
|
1468
|
+
return _0x28e7ac ? _0x18242c(_0x5f340e._0x495e38) + _0x38d643 : _0x18242c(_0x5f340e._0x53785a) + _0x38d643;
|
|
1432
1469
|
}
|
|
1433
|
-
function formatTaskList(
|
|
1434
|
-
const
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1470
|
+
function formatTaskList(_0x254678, _0x21eaf2) {
|
|
1471
|
+
const _0x5a0bf1 = { _0x1896dd: 0x78 }, _0x3b5db7 = {
|
|
1472
|
+
_0x20fc84: 0xc7,
|
|
1473
|
+
_0x32cc03: 0x15c,
|
|
1474
|
+
_0xcb7c2a: 0xc7,
|
|
1475
|
+
_0x4aa6a7: 0x1ee,
|
|
1476
|
+
_0x737a1c: 0x14a
|
|
1477
|
+
}, _0x434b60 = _0x11a45e;
|
|
1478
|
+
if (_0x254678[_0x434b60(_0x5a0bf1._0x1896dd)] === 0x0)
|
|
1479
|
+
return _0x434b60(0x1d5);
|
|
1480
|
+
return _0x254678['map'](_0x5ad08e => {
|
|
1481
|
+
const _0x140c72 = _0x434b60, _0x3512ec = _0x5ad08e[_0x140c72(_0x3b5db7._0x20fc84)] == null ? _0x140c72(_0x3b5db7._0x32cc03) : '#' + _0x5ad08e[_0x140c72(_0x3b5db7._0xcb7c2a)], _0x46253e = _0x5ad08e['messageId'] ? _0x140c72(_0x3b5db7._0x4aa6a7) + _0x5ad08e[_0x140c72(0x15d)] : '', _0x3caa65 = _0x21eaf2 && _0x5ad08e['taskNumber'] != null && _0x21eaf2['has'](_0x5ad08e['taskNumber']) ? _0x140c72(0x116) : '';
|
|
1482
|
+
return _0x3512ec + '\x20[' + _0x5ad08e[_0x140c72(_0x3b5db7._0x737a1c)] + ']\x20' + _0x5ad08e[_0x140c72(0x123)] + _0x46253e + _0x3caa65;
|
|
1483
|
+
})[_0x434b60(0x132)]('\x0a');
|
|
1445
1484
|
}
|
|
1446
|
-
function formatCreatedTasks(
|
|
1447
|
-
const
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1485
|
+
function formatCreatedTasks(_0x51036a) {
|
|
1486
|
+
const _0x49a624 = {
|
|
1487
|
+
_0x2d2776: 0x78,
|
|
1488
|
+
_0x3ae3ae: 0x195,
|
|
1489
|
+
_0xc94838: 0x132
|
|
1490
|
+
}, _0xdbc442 = {
|
|
1491
|
+
_0x435712: 0xc7,
|
|
1492
|
+
_0x1e003d: 0x1ee,
|
|
1493
|
+
_0x4057d7: 0x15d
|
|
1494
|
+
}, _0x183ace = _0x11a45e;
|
|
1495
|
+
if (_0x51036a[_0x183ace(_0x49a624._0x2d2776)] === 0x0)
|
|
1496
|
+
return 'No\x20tasks\x20created.';
|
|
1497
|
+
return _0x51036a[_0x183ace(_0x49a624._0x3ae3ae)](_0x270709 => {
|
|
1498
|
+
const _0x15ca29 = _0x183ace, _0xb57db5 = _0x270709[_0x15ca29(0xc7)] == null ? '(legacy)' : '#' + _0x270709[_0x15ca29(_0xdbc442._0x435712)];
|
|
1499
|
+
return _0xb57db5 + '\x20' + _0x270709[_0x15ca29(0x123)] + _0x15ca29(_0xdbc442._0x1e003d) + _0x270709[_0x15ca29(_0xdbc442._0x4057d7)];
|
|
1500
|
+
})[_0x183ace(_0x49a624._0xc94838)]('\x0a');
|
|
1457
1501
|
}
|
|
1458
|
-
function formatClaimTaskResults(
|
|
1459
|
-
const
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1502
|
+
function formatClaimTaskResults(_0x1db9b6) {
|
|
1503
|
+
const _0x46dbba = {
|
|
1504
|
+
_0x20c636: 0x78,
|
|
1505
|
+
_0x1758fb: 0x177,
|
|
1506
|
+
_0x3e1906: 0x195
|
|
1507
|
+
}, _0xff862f = {
|
|
1508
|
+
_0xf8fa2c: 0x15c,
|
|
1509
|
+
_0x38a6ae: 0xc7,
|
|
1510
|
+
_0x268837: 0xfb,
|
|
1511
|
+
_0x2f5a2a: 0x1b7,
|
|
1512
|
+
_0x5c8d14: 0xf8,
|
|
1513
|
+
_0x490362: 0x122,
|
|
1514
|
+
_0xae7e47: 0x122,
|
|
1515
|
+
_0xadd2f3: 0x110,
|
|
1516
|
+
_0x2b8d23: 0x150,
|
|
1517
|
+
_0x39d4af: 0x1d2,
|
|
1518
|
+
_0x5735fc: 0xc7,
|
|
1519
|
+
_0x45f015: 0xc7,
|
|
1520
|
+
_0x5c6a59: 0x79
|
|
1521
|
+
}, _0x5dbea = _0x11a45e;
|
|
1522
|
+
if (_0x1db9b6[_0x5dbea(_0x46dbba._0x20c636)] === 0x0)
|
|
1523
|
+
return _0x5dbea(_0x46dbba._0x1758fb);
|
|
1524
|
+
return _0x1db9b6[_0x5dbea(_0x46dbba._0x3e1906)](_0x14836b => {
|
|
1525
|
+
const _0x4eb8a7 = _0x5dbea;
|
|
1526
|
+
if (_0x14836b[_0x4eb8a7(0x147)]) {
|
|
1527
|
+
const _0x594c79 = _0x14836b[_0x4eb8a7(0xc7)] == null ? _0x4eb8a7(_0xff862f._0xf8fa2c) : '#' + _0x14836b[_0x4eb8a7(_0xff862f._0x38a6ae)], _0x527066 = _0x14836b['messageId'] ? _0x4eb8a7(0x1ee) + _0x14836b[_0x4eb8a7(0x15d)] : '';
|
|
1528
|
+
if (_0x14836b[_0x4eb8a7(0x1a7)]) {
|
|
1529
|
+
const _0x2b1971 = [
|
|
1530
|
+
_0x4eb8a7(0xf4),
|
|
1531
|
+
_0x14836b[_0x4eb8a7(0xc2)] ? 'stopMain=true' : null,
|
|
1532
|
+
_0x14836b[_0x4eb8a7(0xfb)] ? _0x4eb8a7(0x71) + _0x14836b[_0x4eb8a7(_0xff862f._0x268837)] : null,
|
|
1533
|
+
_0x14836b[_0x4eb8a7(0xf8)] ? _0x4eb8a7(_0xff862f._0x2f5a2a) + _0x14836b[_0x4eb8a7(_0xff862f._0x5c8d14)] : null,
|
|
1534
|
+
_0x14836b[_0x4eb8a7(_0xff862f._0x490362)] ? 'workerDisposition=' + _0x14836b[_0x4eb8a7(_0xff862f._0xae7e47)] : null
|
|
1535
|
+
]['filter'](Boolean)[_0x4eb8a7(0x132)]('\x20');
|
|
1536
|
+
return _0x594c79 + _0x4eb8a7(_0xff862f._0xadd2f3) + _0x527066 + '\x20' + _0x2b1971 + _0x4eb8a7(0x9f);
|
|
1489
1537
|
}
|
|
1490
|
-
const
|
|
1491
|
-
return
|
|
1538
|
+
const _0x2b9272 = _0x14836b[_0x4eb8a7(_0xff862f._0x2b8d23)] ? _0x4eb8a7(_0xff862f._0x39d4af) + _0x14836b['workerHandoffError'] : '';
|
|
1539
|
+
return _0x594c79 + '\x20claimed' + _0x527066 + _0x2b9272;
|
|
1492
1540
|
}
|
|
1493
|
-
const
|
|
1494
|
-
return
|
|
1495
|
-
})[
|
|
1541
|
+
const _0x5b6a96 = _0x14836b[_0x4eb8a7(_0xff862f._0x5735fc)] == null ? _0x14836b[_0x4eb8a7(0x15d)] ?? '(unknown)' : '#' + _0x14836b[_0x4eb8a7(_0xff862f._0x45f015)];
|
|
1542
|
+
return _0x5b6a96 + _0x4eb8a7(_0xff862f._0x5c6a59) + (_0x14836b[_0x4eb8a7(0x139)] ?? 'claim\x20failed');
|
|
1543
|
+
})[_0x5dbea(0x132)]('\x0a');
|
|
1496
1544
|
}
|
|
1497
|
-
function formatUnclaimTaskResult(
|
|
1498
|
-
const
|
|
1499
|
-
return
|
|
1545
|
+
function formatUnclaimTaskResult(_0x746195) {
|
|
1546
|
+
const _0x4026e1 = { _0x12033b: 0xc7 }, _0x43985b = _0x11a45e, _0x569ab7 = _0x746195[_0x43985b(_0x4026e1._0x12033b)] == null ? _0x43985b(0x15c) : '#' + _0x746195[_0x43985b(0xc7)];
|
|
1547
|
+
return _0x569ab7 + '\x20status=' + _0x746195['status'];
|
|
1500
1548
|
}
|
|
1501
|
-
function formatUpdateTaskStatusResult(
|
|
1502
|
-
const
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1549
|
+
function formatUpdateTaskStatusResult(_0x5df59b) {
|
|
1550
|
+
const _0x471196 = {
|
|
1551
|
+
_0x480ac3: 0xc7,
|
|
1552
|
+
_0x14ff9d: 0x15c,
|
|
1553
|
+
_0x243c76: 0x14a
|
|
1554
|
+
}, _0x51f466 = _0x11a45e, _0x21c014 = _0x5df59b[_0x51f466(_0x471196._0x480ac3)] == null ? _0x51f466(_0x471196._0x14ff9d) : '#' + _0x5df59b['taskNumber'];
|
|
1555
|
+
return _0x21c014 + '\x20status=' + _0x5df59b[_0x51f466(_0x471196._0x243c76)];
|
|
1507
1556
|
}
|
|
1508
1557
|
function getChatBridgeToolDefinitions() {
|
|
1509
|
-
const
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1558
|
+
const _0x3dd0a1 = {
|
|
1559
|
+
_0x20eca0: 0x102,
|
|
1560
|
+
_0x4b6004: 0x11f,
|
|
1561
|
+
_0x378833: 0x1e9,
|
|
1562
|
+
_0x299b51: 0x137,
|
|
1563
|
+
_0x3a1299: 0xef,
|
|
1564
|
+
_0x1bb2b0: 0x12e,
|
|
1565
|
+
_0x34f343: 0x10f
|
|
1566
|
+
}, _0x1f9342 = _0x11a45e;
|
|
1517
1567
|
return [
|
|
1518
1568
|
{ 'name': 'send_message' },
|
|
1519
|
-
{ 'name':
|
|
1520
|
-
{ 'name':
|
|
1521
|
-
{ 'name':
|
|
1522
|
-
{ 'name':
|
|
1523
|
-
{ 'name':
|
|
1524
|
-
{ 'name':
|
|
1525
|
-
{ 'name':
|
|
1526
|
-
{ 'name':
|
|
1527
|
-
{ 'name':
|
|
1528
|
-
{ 'name':
|
|
1529
|
-
{ 'name':
|
|
1530
|
-
{ 'name':
|
|
1531
|
-
{ 'name':
|
|
1532
|
-
{ 'name':
|
|
1533
|
-
{ 'name':
|
|
1569
|
+
{ 'name': _0x1f9342(0xd7) },
|
|
1570
|
+
{ 'name': _0x1f9342(_0x3dd0a1._0x20eca0) },
|
|
1571
|
+
{ 'name': _0x1f9342(_0x3dd0a1._0x4b6004) },
|
|
1572
|
+
{ 'name': _0x1f9342(_0x3dd0a1._0x378833) },
|
|
1573
|
+
{ 'name': _0x1f9342(0x1eb) },
|
|
1574
|
+
{ 'name': _0x1f9342(_0x3dd0a1._0x299b51) },
|
|
1575
|
+
{ 'name': _0x1f9342(_0x3dd0a1._0x3a1299) },
|
|
1576
|
+
{ 'name': _0x1f9342(0x192) },
|
|
1577
|
+
{ 'name': 'unclaim_task' },
|
|
1578
|
+
{ 'name': _0x1f9342(0xf6) },
|
|
1579
|
+
{ 'name': _0x1f9342(0x17e) },
|
|
1580
|
+
{ 'name': _0x1f9342(_0x3dd0a1._0x1bb2b0) },
|
|
1581
|
+
{ 'name': _0x1f9342(0x181) },
|
|
1582
|
+
{ 'name': _0x1f9342(_0x3dd0a1._0x34f343) },
|
|
1583
|
+
{ 'name': 'mark_waiting_input' }
|
|
1534
1584
|
];
|
|
1535
1585
|
}
|
|
1536
|
-
function createChatBridgeHandlers(
|
|
1537
|
-
const
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
},
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
},
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
_0x2d105c: 0x29e,
|
|
1653
|
-
_0x3d7117: 0x176,
|
|
1654
|
-
_0x8f4836: 0x216,
|
|
1655
|
-
_0x432411: 0x2c7,
|
|
1656
|
-
_0x43921d: 0x2f6,
|
|
1657
|
-
_0x58939a: 0x1d8,
|
|
1658
|
-
_0x5384fd: 0x2b8
|
|
1659
|
-
}, _0x3beca6 = _0xbabd6a;
|
|
1660
|
-
async function _0x25752f(_0x16d714) {
|
|
1661
|
-
const _0x5891de = _0x5296;
|
|
1662
|
-
if (!_0x5a5f87[_0x5891de(_0x4e9aed._0x3a0999)] || !_0x5a5f87[_0x5891de(0x18b)] || _0x5a5f87[_0x5891de(_0x4e9aed._0x2ba4f8)] || _0x5a5f87[_0x5891de(0x1fd)] !== !![])
|
|
1586
|
+
function createChatBridgeHandlers(_0x34dd85) {
|
|
1587
|
+
const _0x440f98 = {
|
|
1588
|
+
_0x30568f: 0x142,
|
|
1589
|
+
_0x5f4e2b: 0x70
|
|
1590
|
+
}, _0x5bdefc = {
|
|
1591
|
+
_0x2327fe: 0x165,
|
|
1592
|
+
_0x36c60f: 0x19e,
|
|
1593
|
+
_0x5d1c82: 0x165,
|
|
1594
|
+
_0xa60c6b: 0x128,
|
|
1595
|
+
_0x2a7889: 0x1e1,
|
|
1596
|
+
_0x319f82: 0x103,
|
|
1597
|
+
_0xc7e553: 0x139
|
|
1598
|
+
}, _0x49b294 = {
|
|
1599
|
+
_0x4feac2: 0x165,
|
|
1600
|
+
_0x59e0a7: 0x165,
|
|
1601
|
+
_0x41e4e5: 0x103,
|
|
1602
|
+
_0x21985d: 0x1bd
|
|
1603
|
+
}, _0x8e805e = {
|
|
1604
|
+
_0x4716ac: 0x165,
|
|
1605
|
+
_0x2c50e0: 0xf9,
|
|
1606
|
+
_0x14ad5f: 0x1e1,
|
|
1607
|
+
_0x2c60ce: 0x12c,
|
|
1608
|
+
_0x2f6f0c: 0x9a,
|
|
1609
|
+
_0x4c3587: 0x127,
|
|
1610
|
+
_0x3adeff: 0x12c
|
|
1611
|
+
}, _0x28435c = {
|
|
1612
|
+
_0x560508: 0x165,
|
|
1613
|
+
_0x3d0f91: 0x19e,
|
|
1614
|
+
_0x1bc15e: 0x1bd,
|
|
1615
|
+
_0x3e0f80: 0x103,
|
|
1616
|
+
_0x1fca45: 0x7e
|
|
1617
|
+
}, _0x220b75 = {
|
|
1618
|
+
_0x528209: 0x165,
|
|
1619
|
+
_0x40fc58: 0x165,
|
|
1620
|
+
_0x330247: 0x103,
|
|
1621
|
+
_0x23c3b2: 0x1c9,
|
|
1622
|
+
_0xa90a1e: 0xe6,
|
|
1623
|
+
_0x4a5a96: 0x1bd,
|
|
1624
|
+
_0x262d33: 0x190
|
|
1625
|
+
}, _0x46f248 = {
|
|
1626
|
+
_0x45377f: 0xf0,
|
|
1627
|
+
_0x465d7f: 0xed,
|
|
1628
|
+
_0x1566dc: 0x19a
|
|
1629
|
+
}, _0x190613 = {
|
|
1630
|
+
_0x24d235: 0x15e,
|
|
1631
|
+
_0x1e2cbc: 0x13d
|
|
1632
|
+
}, _0x303e88 = { _0x4505e0: 0x1a0 }, _0x239e56 = {
|
|
1633
|
+
_0x20d659: 0x77,
|
|
1634
|
+
_0x242a3f: 0x195
|
|
1635
|
+
}, _0x4f604b = { _0x20ffcb: 0x16c }, _0x254bcc = {
|
|
1636
|
+
_0x3a362f: 0x16c,
|
|
1637
|
+
_0x400387: 0xb2,
|
|
1638
|
+
_0x3a1896: 0x165,
|
|
1639
|
+
_0x5826ee: 0x14d,
|
|
1640
|
+
_0x4755e4: 0x13c,
|
|
1641
|
+
_0x4c8b83: 0xbb,
|
|
1642
|
+
_0x2127a9: 0x124,
|
|
1643
|
+
_0x1394e1: 0x7a,
|
|
1644
|
+
_0x53e137: 0x1a3
|
|
1645
|
+
}, _0x234aad = { _0x37ae5d: 0xb9 }, _0x6d745 = { _0x1784d3: 0x16c }, _0x57ac12 = {
|
|
1646
|
+
_0x17a549: 0x16c,
|
|
1647
|
+
_0x4fc81f: 0x94
|
|
1648
|
+
}, _0x59d496 = {
|
|
1649
|
+
_0x179b2b: 0xc7,
|
|
1650
|
+
_0x55184a: 0x1a6,
|
|
1651
|
+
_0x4952d7: 0x72,
|
|
1652
|
+
_0x420754: 0x187,
|
|
1653
|
+
_0x55bd3a: 0x132,
|
|
1654
|
+
_0x2d8642: 0xc1,
|
|
1655
|
+
_0x2d3745: 0x1ef,
|
|
1656
|
+
_0x2313fe: 0x1b9,
|
|
1657
|
+
_0x21655e: 0x132,
|
|
1658
|
+
_0xb1a0f3: 0x14c,
|
|
1659
|
+
_0x5191b3: 0x14d,
|
|
1660
|
+
_0x566879: 0x1b9,
|
|
1661
|
+
_0xeab192: 0xa6,
|
|
1662
|
+
_0x181450: 0xe9,
|
|
1663
|
+
_0x26d8b7: 0x1ef,
|
|
1664
|
+
_0x13431b: 0xd3
|
|
1665
|
+
}, _0x501035 = {
|
|
1666
|
+
_0xf2efe5: 0x14d,
|
|
1667
|
+
_0x522c6d: 0xaf,
|
|
1668
|
+
_0x349835: 0x120,
|
|
1669
|
+
_0x4860b5: 0xbb,
|
|
1670
|
+
_0xceb331: 0x7a
|
|
1671
|
+
}, _0x362117 = {
|
|
1672
|
+
_0x104e37: 0x165,
|
|
1673
|
+
_0x53fcb7: 0x118,
|
|
1674
|
+
_0x3f60f1: 0x103,
|
|
1675
|
+
_0x55a2a9: 0xbb,
|
|
1676
|
+
_0x16d39d: 0x12a
|
|
1677
|
+
}, _0x18acbb = {
|
|
1678
|
+
_0x42fa57: 0x118,
|
|
1679
|
+
_0x4384af: 0x13c,
|
|
1680
|
+
_0x1eb7e1: 0x1b3,
|
|
1681
|
+
_0xdc2bf8: 0xcd,
|
|
1682
|
+
_0x1f88b6: 0x1dd,
|
|
1683
|
+
_0x14cd35: 0x16c,
|
|
1684
|
+
_0x4d8d8a: 0x101,
|
|
1685
|
+
_0x2852b0: 0xc7,
|
|
1686
|
+
_0x53031b: 0x15d,
|
|
1687
|
+
_0x450575: 0x1a6,
|
|
1688
|
+
_0x19aa27: 0x125,
|
|
1689
|
+
_0x2b2460: 0x1c7,
|
|
1690
|
+
_0x2b5748: 0x1e2,
|
|
1691
|
+
_0x147eaa: 0x1e1,
|
|
1692
|
+
_0x46431e: 0x14d,
|
|
1693
|
+
_0x5e5c9a: 0x99,
|
|
1694
|
+
_0x15b614: 0xc7,
|
|
1695
|
+
_0x2d49b2: 0xc7,
|
|
1696
|
+
_0x2d0cc2: 0x15a,
|
|
1697
|
+
_0x28e875: 0x179
|
|
1698
|
+
}, _0x21edcf = _0x11a45e;
|
|
1699
|
+
async function _0x446f82(_0x73ed0e) {
|
|
1700
|
+
const _0x4a475a = _0xcc9b;
|
|
1701
|
+
if (!_0x34dd85[_0x4a475a(0x165)] || !_0x34dd85[_0x4a475a(0x14d)] || _0x34dd85[_0x4a475a(_0x18acbb._0x42fa57)] || _0x34dd85['workerModeEnabled'] !== !![])
|
|
1663
1702
|
return null;
|
|
1664
|
-
const
|
|
1665
|
-
if (
|
|
1703
|
+
const _0x2ba13 = parseTarget(_0x73ed0e[_0x4a475a(_0x18acbb._0x4384af)]);
|
|
1704
|
+
if (_0x2ba13[_0x4a475a(_0x18acbb._0x1eb7e1)] !== _0x4a475a(0x13c))
|
|
1666
1705
|
return null;
|
|
1667
|
-
const
|
|
1668
|
-
let
|
|
1706
|
+
const _0x10e3ff = _0x73ed0e[_0x4a475a(_0x18acbb._0xdc2bf8)] != null ? _0x2ba13['channelTarget'] + ':t' + _0x73ed0e['threadNumber'] : _0x2ba13[_0x4a475a(_0x18acbb._0x1f88b6)] + ':' + _0x73ed0e['messageId'];
|
|
1707
|
+
let _0x5a015c;
|
|
1669
1708
|
try {
|
|
1670
|
-
const
|
|
1671
|
-
'channel':
|
|
1709
|
+
const _0x430b68 = await _0x34dd85[_0x4a475a(_0x18acbb._0x14cd35)][_0x4a475a(_0x18acbb._0x4d8d8a)]({
|
|
1710
|
+
'channel': _0x10e3ff,
|
|
1672
1711
|
'limit': 0x14
|
|
1673
1712
|
});
|
|
1674
|
-
|
|
1713
|
+
_0x5a015c = _0x430b68[_0x4a475a(0x144)][_0x4a475a(0x124)](_0x29b88d => _0x29b88d[_0x4a475a(0x15d)] === _0x73ed0e[_0x4a475a(0x15d)]);
|
|
1675
1714
|
} catch {
|
|
1676
|
-
|
|
1715
|
+
_0x5a015c = void 0x0;
|
|
1677
1716
|
}
|
|
1678
|
-
const
|
|
1679
|
-
|
|
1717
|
+
const _0x1ea1c3 = _0x73ed0e[_0x4a475a(_0x18acbb._0x2852b0)] == null ? _0x4a475a(0x15c) : '#' + _0x73ed0e[_0x4a475a(0xc7)], _0x53ed0a = [
|
|
1718
|
+
_0x4a475a(0x160) + _0x10e3ff + '\x20msg=' + _0x73ed0e[_0x4a475a(_0x18acbb._0x53031b)][_0x4a475a(_0x18acbb._0x450575)](0x0, 0x8) + '\x20time=' + new Date()[_0x4a475a(0xc1)]() + _0x4a475a(0x1d3) + _0x1ea1c3 + _0x4a475a(_0x18acbb._0x19aa27),
|
|
1680
1719
|
'',
|
|
1681
|
-
|
|
1720
|
+
_0x5a015c ? 'Root\x20task\x20message:\x0a' + _0x5a015c['content'] : _0x4a475a(0x112) + _0x73ed0e['messageId'],
|
|
1682
1721
|
'',
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
]['join']('\x0a'),
|
|
1686
|
-
'method':
|
|
1687
|
-
'headers': { 'Content-Type':
|
|
1688
|
-
'body': JSON[
|
|
1689
|
-
'agent_id':
|
|
1690
|
-
'thread_target':
|
|
1722
|
+
_0x4a475a(_0x18acbb._0x2b2460) + _0x10e3ff,
|
|
1723
|
+
'Continue\x20execution\x20in\x20this\x20thread.\x20Use\x20read_history\x20if\x20you\x20need\x20more\x20context.'
|
|
1724
|
+
]['join']('\x0a'), _0x48a077 = await fetch(_0x34dd85['daemonLocalUrl'] + '/workers/deliver', {
|
|
1725
|
+
'method': 'POST',
|
|
1726
|
+
'headers': { 'Content-Type': _0x4a475a(_0x18acbb._0x2b5748) },
|
|
1727
|
+
'body': JSON[_0x4a475a(_0x18acbb._0x147eaa)]({
|
|
1728
|
+
'agent_id': _0x34dd85[_0x4a475a(_0x18acbb._0x46431e)],
|
|
1729
|
+
'thread_target': _0x10e3ff,
|
|
1691
1730
|
'spawn_packet': {
|
|
1692
|
-
'replyTarget':
|
|
1693
|
-
...
|
|
1731
|
+
'replyTarget': _0x10e3ff,
|
|
1732
|
+
..._0x73ed0e[_0x4a475a(_0x18acbb._0x5e5c9a)] ? { 'taskId': _0x73ed0e[_0x4a475a(0x99)] } : _0x73ed0e[_0x4a475a(_0x18acbb._0x15b614)] != null ? { 'taskId': _0x4a475a(0x9e) + _0x73ed0e[_0x4a475a(_0x18acbb._0x2d49b2)] } : {}
|
|
1694
1733
|
},
|
|
1695
1734
|
'payload': {
|
|
1696
1735
|
'mode': 'user',
|
|
1697
|
-
'text':
|
|
1736
|
+
'text': _0x53ed0a
|
|
1698
1737
|
}
|
|
1699
1738
|
})
|
|
1700
|
-
}),
|
|
1701
|
-
if (!
|
|
1702
|
-
throw new Error(
|
|
1739
|
+
}), _0x54c262 = await _0x48a077[_0x4a475a(0x103)]();
|
|
1740
|
+
if (!_0x54c262['ok'])
|
|
1741
|
+
throw new Error(_0x54c262['error'] ?? 'worker\x20handoff\x20failed');
|
|
1703
1742
|
return {
|
|
1704
1743
|
'stopMain': !![],
|
|
1705
|
-
'threadTarget':
|
|
1706
|
-
'workerDisposition':
|
|
1744
|
+
'threadTarget': _0x10e3ff,
|
|
1745
|
+
'workerDisposition': _0x54c262[_0x4a475a(0x7b)] === _0x4a475a(_0x18acbb._0x2d0cc2) ? _0x4a475a(0x15a) : _0x4a475a(_0x18acbb._0x28e875),
|
|
1707
1746
|
'workerHandoff': !![],
|
|
1708
|
-
'workerSessionId':
|
|
1709
|
-
'executionMode':
|
|
1747
|
+
'workerSessionId': _0x54c262[_0x4a475a(0x18c)] ?? '',
|
|
1748
|
+
'executionMode': 'worker'
|
|
1710
1749
|
};
|
|
1711
1750
|
}
|
|
1712
|
-
async function
|
|
1713
|
-
const
|
|
1714
|
-
if (!
|
|
1751
|
+
async function _0x4a97e5() {
|
|
1752
|
+
const _0x3fa444 = _0xcc9b;
|
|
1753
|
+
if (!_0x34dd85[_0x3fa444(_0x362117._0x104e37)] || !_0x34dd85['agentId'] || _0x34dd85[_0x3fa444(_0x362117._0x53fcb7)])
|
|
1715
1754
|
return null;
|
|
1716
1755
|
try {
|
|
1717
|
-
const
|
|
1718
|
-
if (!
|
|
1756
|
+
const _0x138784 = await fetch(_0x34dd85['daemonLocalUrl'] + _0x3fa444(0x1ba) + encodeURIComponent(_0x34dd85[_0x3fa444(0x14d)])), _0x844f66 = await _0x138784[_0x3fa444(_0x362117._0x3f60f1)]();
|
|
1757
|
+
if (!_0x844f66['ok'])
|
|
1719
1758
|
return null;
|
|
1720
|
-
const
|
|
1721
|
-
for (const
|
|
1722
|
-
|
|
1759
|
+
const _0x5703c1 = new Set();
|
|
1760
|
+
for (const _0x30d2b9 of _0x844f66[_0x3fa444(0xaf)]) {
|
|
1761
|
+
_0x30d2b9[_0x3fa444(0x14a)] !== _0x3fa444(0x92) && _0x30d2b9['thread_target'] && _0x5703c1[_0x3fa444(0x7a)](_0x30d2b9[_0x3fa444(_0x362117._0x55a2a9)]);
|
|
1723
1762
|
}
|
|
1724
|
-
return
|
|
1763
|
+
return _0x5703c1[_0x3fa444(_0x362117._0x16d39d)] > 0x0 ? _0x5703c1 : null;
|
|
1725
1764
|
} catch {
|
|
1726
1765
|
return null;
|
|
1727
1766
|
}
|
|
1728
1767
|
}
|
|
1729
|
-
const
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1768
|
+
const _0xdc2dfc = new Set([
|
|
1769
|
+
_0x21edcf(0xdf),
|
|
1770
|
+
_0x21edcf(_0x440f98._0x30568f),
|
|
1771
|
+
_0x21edcf(_0x440f98._0x5f4e2b)
|
|
1733
1772
|
]);
|
|
1734
|
-
async function
|
|
1735
|
-
const
|
|
1736
|
-
if (!
|
|
1773
|
+
async function _0x398b11() {
|
|
1774
|
+
const _0x3f8ba3 = _0x21edcf;
|
|
1775
|
+
if (!_0x34dd85[_0x3f8ba3(0x165)] || !_0x34dd85[_0x3f8ba3(_0x501035._0xf2efe5)] || _0x34dd85['workerMode'])
|
|
1737
1776
|
return null;
|
|
1738
1777
|
try {
|
|
1739
|
-
const
|
|
1740
|
-
if (!
|
|
1778
|
+
const _0x17470e = await fetch(_0x34dd85['daemonLocalUrl'] + _0x3f8ba3(0x1ba) + encodeURIComponent(_0x34dd85[_0x3f8ba3(_0x501035._0xf2efe5)])), _0x3fe73d = await _0x17470e['json']();
|
|
1779
|
+
if (!_0x3fe73d['ok'])
|
|
1741
1780
|
return null;
|
|
1742
|
-
const
|
|
1743
|
-
for (const
|
|
1744
|
-
|
|
1781
|
+
const _0x3cac3b = new Set();
|
|
1782
|
+
for (const _0x37c01e of _0x3fe73d[_0x3f8ba3(_0x501035._0x522c6d)]) {
|
|
1783
|
+
_0xdc2dfc[_0x3f8ba3(_0x501035._0x349835)](_0x37c01e[_0x3f8ba3(0x14a)]) && _0x37c01e[_0x3f8ba3(_0x501035._0x4860b5)] && _0x3cac3b[_0x3f8ba3(_0x501035._0xceb331)](_0x37c01e['thread_target']);
|
|
1745
1784
|
}
|
|
1746
|
-
return
|
|
1785
|
+
return _0x3cac3b[_0x3f8ba3(0x12a)] > 0x0 ? _0x3cac3b : null;
|
|
1747
1786
|
} catch {
|
|
1748
1787
|
return null;
|
|
1749
1788
|
}
|
|
1750
1789
|
}
|
|
1751
1790
|
return {
|
|
1752
|
-
async 'send_message'(
|
|
1753
|
-
const
|
|
1754
|
-
if (!
|
|
1755
|
-
const
|
|
1756
|
-
if (
|
|
1757
|
-
const
|
|
1758
|
-
if (
|
|
1791
|
+
async 'send_message'(_0x426a2c) {
|
|
1792
|
+
const _0x334629 = _0x21edcf;
|
|
1793
|
+
if (!_0x34dd85['workerMode'] && _0x34dd85[_0x334629(0xcf)] && _0x34dd85[_0x334629(0x165)] && _0x34dd85[_0x334629(0x14d)]) {
|
|
1794
|
+
const _0x4a2bc3 = await _0x34dd85['client']['resolveTarget'](_0x426a2c[_0x334629(0x8b)]);
|
|
1795
|
+
if (_0x4a2bc3[_0x334629(0x1b9)] && _0x4a2bc3['threadId']) {
|
|
1796
|
+
const _0xedc4ba = _0x4a2bc3['task'][_0x334629(0xc7)] != null ? '#' + _0x4a2bc3[_0x334629(0x1b9)][_0x334629(_0x59d496._0x179b2b)] : _0x334629(0x15c), _0x2f7f49 = _0x4a2bc3[_0x334629(0xcd)] != null ? _0x4a2bc3['target'] + ':t' + _0x4a2bc3[_0x334629(0xcd)] : _0x4a2bc3['target'] + ':' + _0x4a2bc3[_0x334629(0x91)][_0x334629(_0x59d496._0x55184a)](0x0, 0x8), _0x36a764 = await _0x398b11();
|
|
1797
|
+
if (_0x36a764?.['has'](_0x2f7f49))
|
|
1759
1798
|
return [
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
][
|
|
1763
|
-
const
|
|
1764
|
-
|
|
1799
|
+
_0x334629(0xa4) + _0xedc4ba + _0x334629(_0x59d496._0x4952d7) + _0x2f7f49 + _0x334629(0x151),
|
|
1800
|
+
_0x334629(_0x59d496._0x420754)
|
|
1801
|
+
][_0x334629(_0x59d496._0x55bd3a)]('\x0a');
|
|
1802
|
+
const _0x4f2db0 = [
|
|
1803
|
+
'[target=' + _0x2f7f49 + _0x334629(0x172) + new Date()[_0x334629(_0x59d496._0x2d8642)]() + _0x334629(0x1c1),
|
|
1765
1804
|
'',
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
'Thread\x20target:\x20' +
|
|
1769
|
-
|
|
1770
|
-
][
|
|
1771
|
-
'method':
|
|
1772
|
-
'headers': { 'Content-Type':
|
|
1773
|
-
'body': JSON[
|
|
1774
|
-
'agent_id':
|
|
1775
|
-
'thread_target':
|
|
1805
|
+
_0x334629(0x15f) + _0x426a2c[_0x334629(_0x59d496._0x2d3745)],
|
|
1806
|
+
_0x334629(0xd5) + _0xedc4ba + '\x20(' + _0x4a2bc3[_0x334629(_0x59d496._0x2313fe)]['taskId'] + ')',
|
|
1807
|
+
'Thread\x20target:\x20' + _0x2f7f49,
|
|
1808
|
+
_0x334629(0x1ce)
|
|
1809
|
+
][_0x334629(_0x59d496._0x21655e)]('\x0a'), _0x4479aa = await fetch(_0x34dd85['daemonLocalUrl'] + _0x334629(_0x59d496._0xb1a0f3), {
|
|
1810
|
+
'method': _0x334629(0xf9),
|
|
1811
|
+
'headers': { 'Content-Type': _0x334629(0x1e2) },
|
|
1812
|
+
'body': JSON[_0x334629(0x1e1)]({
|
|
1813
|
+
'agent_id': _0x34dd85[_0x334629(_0x59d496._0x5191b3)],
|
|
1814
|
+
'thread_target': _0x2f7f49,
|
|
1776
1815
|
'spawn_packet': {
|
|
1777
|
-
'replyTarget':
|
|
1778
|
-
'taskId':
|
|
1816
|
+
'replyTarget': _0x2f7f49,
|
|
1817
|
+
'taskId': _0x4a2bc3[_0x334629(_0x59d496._0x566879)][_0x334629(0x99)]
|
|
1779
1818
|
},
|
|
1780
1819
|
'payload': {
|
|
1781
|
-
'mode':
|
|
1782
|
-
'text':
|
|
1820
|
+
'mode': _0x334629(_0x59d496._0xeab192),
|
|
1821
|
+
'text': _0x4f2db0
|
|
1783
1822
|
}
|
|
1784
1823
|
})
|
|
1785
|
-
}),
|
|
1786
|
-
if (!
|
|
1787
|
-
throw new Error(
|
|
1824
|
+
}), _0x27939c = await _0x4479aa[_0x334629(0x103)]();
|
|
1825
|
+
if (!_0x27939c['ok'])
|
|
1826
|
+
throw new Error(_0x27939c[_0x334629(0x17c)] ?? _0x334629(0xde));
|
|
1788
1827
|
return [
|
|
1789
|
-
|
|
1790
|
-
|
|
1828
|
+
_0x334629(0xd6) + _0xedc4ba + _0x334629(0x72) + _0x2f7f49 + _0x334629(_0x59d496._0x181450),
|
|
1829
|
+
_0x334629(0x114) + (_0x27939c[_0x334629(0x7b)] === _0x334629(0x15a) ? _0x334629(0x15a) : _0x334629(0x179)) + '.',
|
|
1791
1830
|
'⚠️\x20WORKER\x20ACTIVATED\x20—\x20Stop\x20ALL\x20work\x20on\x20this\x20task\x20immediately.\x20Do\x20not\x20send\x20further\x20messages\x20to\x20this\x20thread.'
|
|
1792
|
-
][
|
|
1831
|
+
]['join']('\x0a');
|
|
1793
1832
|
}
|
|
1794
1833
|
}
|
|
1795
|
-
const
|
|
1796
|
-
'attachmentIds':
|
|
1797
|
-
'content':
|
|
1798
|
-
'target':
|
|
1799
|
-
'visibility':
|
|
1834
|
+
const _0x13f5b5 = await _0x34dd85[_0x334629(0x16c)][_0x334629(0x107)]({
|
|
1835
|
+
'attachmentIds': _0x426a2c[_0x334629(0x174)],
|
|
1836
|
+
'content': _0x426a2c[_0x334629(_0x59d496._0x26d8b7)],
|
|
1837
|
+
'target': _0x426a2c[_0x334629(0x8b)],
|
|
1838
|
+
'visibility': _0x426a2c['visibility']
|
|
1800
1839
|
});
|
|
1801
|
-
return
|
|
1840
|
+
return _0x334629(_0x59d496._0x13431b) + _0x426a2c['target'] + '.\x20Message\x20ID:\x20' + _0x13f5b5[_0x334629(0x15d)];
|
|
1802
1841
|
},
|
|
1803
1842
|
async 'check_messages'() {
|
|
1804
|
-
const
|
|
1805
|
-
if (!
|
|
1806
|
-
const
|
|
1807
|
-
if (
|
|
1808
|
-
return formatCheckMessages(
|
|
1843
|
+
const _0x141cbf = _0x21edcf, _0x4c989c = await _0x34dd85[_0x141cbf(_0x57ac12._0x17a549)][_0x141cbf(0x1b8)]();
|
|
1844
|
+
if (!_0x34dd85[_0x141cbf(0x118)]) {
|
|
1845
|
+
const _0x3a77c0 = await _0x4a97e5();
|
|
1846
|
+
if (_0x3a77c0)
|
|
1847
|
+
return formatCheckMessages(_0x4c989c['messages'][_0x141cbf(_0x57ac12._0x4fc81f)](_0x30ab31 => !_0x3a77c0[_0x141cbf(0x120)](_0x30ab31[_0x141cbf(0x8b)])));
|
|
1809
1848
|
}
|
|
1810
|
-
return formatCheckMessages(
|
|
1849
|
+
return formatCheckMessages(_0x4c989c['messages']);
|
|
1811
1850
|
},
|
|
1812
|
-
async 'read_history'(
|
|
1813
|
-
const
|
|
1814
|
-
return formatHistory(
|
|
1851
|
+
async 'read_history'(_0x5b314c) {
|
|
1852
|
+
const _0x4c624a = _0x21edcf, _0x2d68a0 = await _0x34dd85[_0x4c624a(_0x6d745._0x1784d3)][_0x4c624a(0x101)](_0x5b314c);
|
|
1853
|
+
return formatHistory(_0x2d68a0);
|
|
1815
1854
|
},
|
|
1816
1855
|
async 'list_server'() {
|
|
1817
|
-
const
|
|
1818
|
-
return formatServerDirectory(
|
|
1856
|
+
const _0x5b3a18 = _0x21edcf, _0x1ab5c2 = await _0x34dd85['client'][_0x5b3a18(_0x234aad._0x37ae5d)]();
|
|
1857
|
+
return formatServerDirectory(_0x1ab5c2);
|
|
1819
1858
|
},
|
|
1820
|
-
async 'list_tasks'(
|
|
1821
|
-
const
|
|
1822
|
-
let
|
|
1823
|
-
if (
|
|
1859
|
+
async 'list_tasks'(_0x5da18d) {
|
|
1860
|
+
const _0x46df3f = _0x21edcf, _0x44c06a = await _0x34dd85[_0x46df3f(_0x254bcc._0x3a362f)][_0x46df3f(_0x254bcc._0x400387)](_0x5da18d);
|
|
1861
|
+
let _0x489a9e;
|
|
1862
|
+
if (_0x34dd85[_0x46df3f(_0x254bcc._0x3a1896)] && _0x34dd85['agentId'])
|
|
1824
1863
|
try {
|
|
1825
|
-
const
|
|
1826
|
-
if (
|
|
1827
|
-
const
|
|
1828
|
-
|
|
1829
|
-
for (const
|
|
1830
|
-
if (
|
|
1864
|
+
const _0x31212c = await fetch(_0x34dd85[_0x46df3f(0x165)] + '/workers/list?agent_id=' + encodeURIComponent(_0x34dd85[_0x46df3f(_0x254bcc._0x5826ee)])), _0x88b42e = await _0x31212c['json']();
|
|
1865
|
+
if (_0x88b42e['ok']) {
|
|
1866
|
+
const _0x43354d = _0x5da18d[_0x46df3f(_0x254bcc._0x4755e4)] + ':';
|
|
1867
|
+
_0x489a9e = new Set();
|
|
1868
|
+
for (const _0x144ad7 of _0x88b42e['workers']) {
|
|
1869
|
+
if (_0x144ad7[_0x46df3f(0x14a)] === 'destroyed')
|
|
1831
1870
|
continue;
|
|
1832
|
-
if (
|
|
1833
|
-
const
|
|
1834
|
-
if (
|
|
1835
|
-
|
|
1871
|
+
if (_0x144ad7[_0x46df3f(_0x254bcc._0x4c8b83)]?.[_0x46df3f(0x180)](_0x43354d)) {
|
|
1872
|
+
const _0x26d33d = _0x144ad7['thread_target'][_0x46df3f(0x1a6)](_0x43354d[_0x46df3f(0x78)]), _0x113dd1 = _0x44c06a['tasks'][_0x46df3f(_0x254bcc._0x2127a9)](_0x2b7a21 => _0x2b7a21['messageId']?.['startsWith'](_0x26d33d) === !![]);
|
|
1873
|
+
if (_0x113dd1?.[_0x46df3f(0xc7)] != null) {
|
|
1874
|
+
_0x489a9e[_0x46df3f(_0x254bcc._0x1394e1)](_0x113dd1[_0x46df3f(0xc7)]);
|
|
1836
1875
|
continue;
|
|
1837
1876
|
}
|
|
1838
1877
|
}
|
|
1839
|
-
if (
|
|
1840
|
-
const
|
|
1841
|
-
|
|
1878
|
+
if (_0x144ad7[_0x46df3f(0xac)]) {
|
|
1879
|
+
const _0xf4e858 = _0x44c06a['tasks']['find'](_0x4cffda => _0x4cffda[_0x46df3f(0x99)] === _0x144ad7[_0x46df3f(0xac)]);
|
|
1880
|
+
_0xf4e858?.[_0x46df3f(0xc7)] != null && _0x489a9e[_0x46df3f(_0x254bcc._0x1394e1)](_0xf4e858[_0x46df3f(0xc7)]);
|
|
1842
1881
|
}
|
|
1843
1882
|
}
|
|
1844
1883
|
}
|
|
1845
1884
|
} catch {
|
|
1846
1885
|
}
|
|
1847
|
-
return formatTaskList(
|
|
1886
|
+
return formatTaskList(_0x44c06a[_0x46df3f(_0x254bcc._0x53e137)], _0x489a9e);
|
|
1848
1887
|
},
|
|
1849
|
-
async 'create_tasks'(
|
|
1850
|
-
const
|
|
1851
|
-
return formatCreatedTasks(
|
|
1888
|
+
async 'create_tasks'(_0x25b882) {
|
|
1889
|
+
const _0x418239 = _0x21edcf, _0x18803b = await _0x34dd85[_0x418239(_0x4f604b._0x20ffcb)]['createTasks'](_0x25b882);
|
|
1890
|
+
return formatCreatedTasks(_0x18803b['tasks']);
|
|
1852
1891
|
},
|
|
1853
|
-
async 'claim_tasks'(
|
|
1854
|
-
const
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1892
|
+
async 'claim_tasks'(_0x14964b) {
|
|
1893
|
+
const _0x57e985 = {
|
|
1894
|
+
_0x150505: 0x13c,
|
|
1895
|
+
_0x380feb: 0x15d,
|
|
1896
|
+
_0x4acb32: 0xc7,
|
|
1897
|
+
_0x2536e1: 0xcd,
|
|
1898
|
+
_0x284410: 0x1ca
|
|
1899
|
+
}, _0x918123 = _0x21edcf, _0x19decc = await _0x34dd85[_0x918123(0x16c)][_0x918123(_0x239e56._0x20d659)](_0x14964b), _0x28ae69 = await Promise['all'](_0x19decc['results'][_0x918123(_0x239e56._0x242a3f)](async _0x371893 => {
|
|
1900
|
+
const _0x3abf81 = _0x918123;
|
|
1901
|
+
if (!_0x371893['success'] || !_0x371893[_0x3abf81(0x15d)])
|
|
1902
|
+
return _0x371893;
|
|
1858
1903
|
try {
|
|
1859
|
-
const
|
|
1860
|
-
'channel':
|
|
1861
|
-
'messageId':
|
|
1862
|
-
'taskId':
|
|
1863
|
-
'taskNumber':
|
|
1864
|
-
'threadNumber':
|
|
1904
|
+
const _0x3bccf6 = await _0x446f82({
|
|
1905
|
+
'channel': _0x14964b[_0x3abf81(_0x57e985._0x150505)],
|
|
1906
|
+
'messageId': _0x371893[_0x3abf81(_0x57e985._0x380feb)],
|
|
1907
|
+
'taskId': _0x371893[_0x3abf81(0x99)],
|
|
1908
|
+
'taskNumber': _0x371893[_0x3abf81(_0x57e985._0x4acb32)],
|
|
1909
|
+
'threadNumber': _0x371893[_0x3abf81(_0x57e985._0x2536e1)]
|
|
1865
1910
|
});
|
|
1866
|
-
return
|
|
1867
|
-
...
|
|
1868
|
-
...
|
|
1869
|
-
} :
|
|
1870
|
-
} catch (
|
|
1911
|
+
return _0x3bccf6 ? {
|
|
1912
|
+
..._0x371893,
|
|
1913
|
+
..._0x3bccf6
|
|
1914
|
+
} : _0x371893;
|
|
1915
|
+
} catch (_0x3b65e9) {
|
|
1871
1916
|
return {
|
|
1872
|
-
...
|
|
1873
|
-
'workerHandoffError':
|
|
1917
|
+
..._0x371893,
|
|
1918
|
+
'workerHandoffError': _0x3b65e9 instanceof Error ? _0x3b65e9[_0x3abf81(_0x57e985._0x284410)] : 'worker\x20handoff\x20failed'
|
|
1874
1919
|
};
|
|
1875
1920
|
}
|
|
1876
1921
|
}));
|
|
1877
|
-
return formatClaimTaskResults(
|
|
1922
|
+
return formatClaimTaskResults(_0x28ae69);
|
|
1878
1923
|
},
|
|
1879
|
-
async 'unclaim_task'(
|
|
1880
|
-
const
|
|
1881
|
-
return formatUnclaimTaskResult(
|
|
1924
|
+
async 'unclaim_task'(_0x27345f) {
|
|
1925
|
+
const _0xff451d = _0x21edcf, _0x47ef4b = await _0x34dd85['client'][_0xff451d(_0x303e88._0x4505e0)](_0x27345f);
|
|
1926
|
+
return formatUnclaimTaskResult(_0x47ef4b);
|
|
1882
1927
|
},
|
|
1883
|
-
async 'update_task_status'(
|
|
1884
|
-
const
|
|
1885
|
-
return formatUpdateTaskStatusResult(
|
|
1928
|
+
async 'update_task_status'(_0x2ab8be) {
|
|
1929
|
+
const _0x33dcf4 = _0x21edcf, _0x2c8d91 = await _0x34dd85['client'][_0x33dcf4(0x111)](_0x2ab8be);
|
|
1930
|
+
return formatUpdateTaskStatusResult(_0x2c8d91);
|
|
1886
1931
|
},
|
|
1887
|
-
async 'upload_file'(
|
|
1888
|
-
const
|
|
1889
|
-
sizeBytes:
|
|
1890
|
-
...
|
|
1891
|
-
} =
|
|
1892
|
-
'channel':
|
|
1893
|
-
...
|
|
1932
|
+
async 'upload_file'(_0x5b0581) {
|
|
1933
|
+
const _0x4e7ef7 = _0x21edcf, _0x2ddc8a = await _0x34dd85[_0x4e7ef7(0x141)](_0x5b0581[_0x4e7ef7(_0x190613._0x24d235)]), {
|
|
1934
|
+
sizeBytes: _0x25c24e,
|
|
1935
|
+
..._0x4a2a0f
|
|
1936
|
+
} = _0x2ddc8a, _0x1acaf2 = await _0x34dd85['client'][_0x4e7ef7(_0x190613._0x1e2cbc)]({
|
|
1937
|
+
'channel': _0x5b0581[_0x4e7ef7(0x13c)],
|
|
1938
|
+
..._0x4a2a0f
|
|
1894
1939
|
});
|
|
1895
|
-
return formatUploadResult(
|
|
1940
|
+
return formatUploadResult(_0x1acaf2);
|
|
1896
1941
|
},
|
|
1897
|
-
async 'view_file'(
|
|
1898
|
-
const
|
|
1899
|
-
if (
|
|
1900
|
-
return formatViewFileResult(
|
|
1901
|
-
const
|
|
1902
|
-
'attachmentId':
|
|
1903
|
-
'contentType':
|
|
1904
|
-
'data':
|
|
1905
|
-
'originalFilename':
|
|
1942
|
+
async 'view_file'(_0x3a86ae) {
|
|
1943
|
+
const _0x23006d = _0x21edcf, _0x350b24 = await _0x34dd85[_0x23006d(0x161)][_0x23006d(0x1f0)](_0x3a86ae[_0x23006d(0xed)]);
|
|
1944
|
+
if (_0x350b24)
|
|
1945
|
+
return formatViewFileResult(_0x350b24, !![]);
|
|
1946
|
+
const _0x28ea04 = await _0x34dd85[_0x23006d(0x16c)]['downloadAttachment'](_0x3a86ae[_0x23006d(0xed)]), _0x51a8c8 = await _0x34dd85[_0x23006d(0x161)][_0x23006d(_0x46f248._0x45377f)]({
|
|
1947
|
+
'attachmentId': _0x3a86ae[_0x23006d(_0x46f248._0x465d7f)],
|
|
1948
|
+
'contentType': _0x28ea04['contentType'],
|
|
1949
|
+
'data': _0x28ea04[_0x23006d(_0x46f248._0x1566dc)],
|
|
1950
|
+
'originalFilename': _0x28ea04['originalFilename']
|
|
1906
1951
|
});
|
|
1907
|
-
return formatViewFileResult(
|
|
1952
|
+
return formatViewFileResult(_0x51a8c8, ![]);
|
|
1908
1953
|
},
|
|
1909
|
-
async 'get_worker_status'(
|
|
1910
|
-
const
|
|
1911
|
-
if (!
|
|
1912
|
-
return
|
|
1913
|
-
const
|
|
1914
|
-
if (!
|
|
1915
|
-
return
|
|
1916
|
-
return
|
|
1954
|
+
async 'get_worker_status'(_0x4d8909) {
|
|
1955
|
+
const _0x4bd435 = _0x21edcf;
|
|
1956
|
+
if (!_0x34dd85[_0x4bd435(_0x220b75._0x528209)])
|
|
1957
|
+
return _0x4bd435(0x19e);
|
|
1958
|
+
const _0x4e8323 = await fetch(_0x34dd85[_0x4bd435(_0x220b75._0x40fc58)] + _0x4bd435(0x14b) + encodeURIComponent(_0x4d8909['work_key'])), _0x1fca01 = await _0x4e8323[_0x4bd435(_0x220b75._0x330247)]();
|
|
1959
|
+
if (!_0x1fca01['ok'])
|
|
1960
|
+
return _0x4bd435(_0x220b75._0x23c3b2) + _0x4d8909[_0x4bd435(0x1bd)] + _0x4bd435(_0x220b75._0xa90a1e);
|
|
1961
|
+
return _0x4bd435(0x1c9) + _0x4d8909[_0x4bd435(_0x220b75._0x4a5a96)] + _0x4bd435(_0x220b75._0x262d33) + _0x1fca01[_0x4bd435(0x14a)];
|
|
1917
1962
|
},
|
|
1918
|
-
async 'get_worker_result'(
|
|
1919
|
-
const
|
|
1920
|
-
if (!
|
|
1921
|
-
return
|
|
1922
|
-
const
|
|
1923
|
-
if (!
|
|
1924
|
-
return
|
|
1925
|
-
return JSON['stringify'](
|
|
1963
|
+
async 'get_worker_result'(_0x404624) {
|
|
1964
|
+
const _0x43d73f = _0x21edcf;
|
|
1965
|
+
if (!_0x34dd85[_0x43d73f(_0x28435c._0x560508)])
|
|
1966
|
+
return _0x43d73f(_0x28435c._0x3d0f91);
|
|
1967
|
+
const _0x50399c = await fetch(_0x34dd85[_0x43d73f(0x165)] + _0x43d73f(0xe3) + encodeURIComponent(_0x404624[_0x43d73f(_0x28435c._0x1bc15e)])), _0x23e005 = await _0x50399c[_0x43d73f(_0x28435c._0x3e0f80)]();
|
|
1968
|
+
if (!_0x23e005[_0x43d73f(_0x28435c._0x1fca45)])
|
|
1969
|
+
return _0x43d73f(0x1ac) + _0x404624['work_key'] + '\x22';
|
|
1970
|
+
return JSON['stringify'](_0x23e005[_0x43d73f(_0x28435c._0x1fca45)], null, 0x2);
|
|
1926
1971
|
},
|
|
1927
|
-
async 'finish_worker'(
|
|
1928
|
-
const
|
|
1929
|
-
if (!
|
|
1930
|
-
return
|
|
1931
|
-
const
|
|
1932
|
-
'method':
|
|
1933
|
-
'headers': { 'Content-Type':
|
|
1934
|
-
'body': JSON[
|
|
1935
|
-
'work_key':
|
|
1972
|
+
async 'finish_worker'(_0x29e00b) {
|
|
1973
|
+
const _0x58c6bb = _0x21edcf;
|
|
1974
|
+
if (!_0x34dd85[_0x58c6bb(_0x8e805e._0x4716ac)])
|
|
1975
|
+
return _0x58c6bb(0x19e);
|
|
1976
|
+
const _0x391e7c = await fetch(_0x34dd85[_0x58c6bb(_0x8e805e._0x4716ac)] + _0x58c6bb(0x10a), {
|
|
1977
|
+
'method': _0x58c6bb(_0x8e805e._0x2c50e0),
|
|
1978
|
+
'headers': { 'Content-Type': _0x58c6bb(0x1e2) },
|
|
1979
|
+
'body': JSON[_0x58c6bb(_0x8e805e._0x14ad5f)]({
|
|
1980
|
+
'work_key': _0x29e00b[_0x58c6bb(0x1bd)],
|
|
1936
1981
|
'resume_packet': {
|
|
1937
1982
|
'objective': '',
|
|
1938
|
-
'result':
|
|
1939
|
-
'summary':
|
|
1940
|
-
'decisions':
|
|
1941
|
-
'filesChanged':
|
|
1942
|
-
'openIssues':
|
|
1943
|
-
'nextSteps':
|
|
1983
|
+
'result': _0x29e00b[_0x58c6bb(_0x8e805e._0x2c60ce)],
|
|
1984
|
+
'summary': _0x29e00b['summary'],
|
|
1985
|
+
'decisions': _0x29e00b[_0x58c6bb(0x90)] ?? [],
|
|
1986
|
+
'filesChanged': _0x29e00b[_0x58c6bb(_0x8e805e._0x2f6f0c)] ?? [],
|
|
1987
|
+
'openIssues': _0x29e00b[_0x58c6bb(0x1e5)] ?? [],
|
|
1988
|
+
'nextSteps': _0x29e00b[_0x58c6bb(_0x8e805e._0x4c3587)] ?? []
|
|
1944
1989
|
}
|
|
1945
1990
|
})
|
|
1946
|
-
}),
|
|
1947
|
-
if (!
|
|
1948
|
-
throw new Error(
|
|
1949
|
-
return
|
|
1991
|
+
}), _0x306d79 = await _0x391e7c[_0x58c6bb(0x103)]();
|
|
1992
|
+
if (!_0x306d79['ok'])
|
|
1993
|
+
throw new Error(_0x306d79['error'] ?? 'finish_worker\x20failed');
|
|
1994
|
+
return 'Worker\x20\x22' + _0x29e00b[_0x58c6bb(0x1bd)] + '\x22\x20finished\x20with\x20result:\x20' + _0x29e00b[_0x58c6bb(_0x8e805e._0x3adeff)];
|
|
1950
1995
|
},
|
|
1951
|
-
async 'mark_waiting_input'(
|
|
1952
|
-
const
|
|
1953
|
-
if (!
|
|
1954
|
-
return
|
|
1955
|
-
const
|
|
1956
|
-
'method':
|
|
1957
|
-
'headers': { 'Content-Type':
|
|
1958
|
-
'body': JSON[
|
|
1959
|
-
'work_key':
|
|
1960
|
-
'agent_id':
|
|
1996
|
+
async 'mark_waiting_input'(_0x5598c6) {
|
|
1997
|
+
const _0x566a53 = _0x21edcf;
|
|
1998
|
+
if (!_0x34dd85[_0x566a53(_0x49b294._0x4feac2)] || !_0x34dd85[_0x566a53(0x14d)])
|
|
1999
|
+
return _0x566a53(0x1a2);
|
|
2000
|
+
const _0x33781d = await fetch(_0x34dd85[_0x566a53(_0x49b294._0x59e0a7)] + _0x566a53(0xc9), {
|
|
2001
|
+
'method': _0x566a53(0xf9),
|
|
2002
|
+
'headers': { 'Content-Type': _0x566a53(0x1e2) },
|
|
2003
|
+
'body': JSON[_0x566a53(0x1e1)]({
|
|
2004
|
+
'work_key': _0x5598c6[_0x566a53(0x1bd)],
|
|
2005
|
+
'agent_id': _0x34dd85['agentId']
|
|
1961
2006
|
})
|
|
1962
|
-
}),
|
|
1963
|
-
if (!
|
|
1964
|
-
throw new Error(
|
|
1965
|
-
return
|
|
2007
|
+
}), _0x4a3eee = await _0x33781d[_0x566a53(_0x49b294._0x41e4e5)]();
|
|
2008
|
+
if (!_0x4a3eee['ok'])
|
|
2009
|
+
throw new Error(_0x4a3eee[_0x566a53(0x17c)] ?? _0x566a53(0x1c4));
|
|
2010
|
+
return _0x566a53(0x1c9) + _0x5598c6[_0x566a53(_0x49b294._0x21985d)] + _0x566a53(0xbc);
|
|
1966
2011
|
},
|
|
1967
|
-
async 'escalate_to_main'(
|
|
1968
|
-
const
|
|
1969
|
-
if (!
|
|
1970
|
-
return
|
|
1971
|
-
const
|
|
1972
|
-
'method':
|
|
1973
|
-
'headers': { 'Content-Type':
|
|
1974
|
-
'body': JSON[
|
|
1975
|
-
'work_key':
|
|
1976
|
-
'reason':
|
|
2012
|
+
async 'escalate_to_main'(_0x572309) {
|
|
2013
|
+
const _0x3ed566 = _0x21edcf;
|
|
2014
|
+
if (!_0x34dd85[_0x3ed566(_0x5bdefc._0x2327fe)])
|
|
2015
|
+
return _0x3ed566(_0x5bdefc._0x36c60f);
|
|
2016
|
+
const _0x5f4fd8 = await fetch(_0x34dd85[_0x3ed566(_0x5bdefc._0x5d1c82)] + _0x3ed566(_0x5bdefc._0xa60c6b), {
|
|
2017
|
+
'method': 'POST',
|
|
2018
|
+
'headers': { 'Content-Type': _0x3ed566(0x1e2) },
|
|
2019
|
+
'body': JSON[_0x3ed566(_0x5bdefc._0x2a7889)]({
|
|
2020
|
+
'work_key': _0x572309[_0x3ed566(0x1bd)],
|
|
2021
|
+
'reason': _0x572309['reason']
|
|
1977
2022
|
})
|
|
1978
|
-
}),
|
|
1979
|
-
if (!
|
|
1980
|
-
throw new Error(
|
|
1981
|
-
return
|
|
2023
|
+
}), _0x28f254 = await _0x5f4fd8[_0x3ed566(_0x5bdefc._0x319f82)]();
|
|
2024
|
+
if (!_0x28f254['ok'])
|
|
2025
|
+
throw new Error(_0x28f254[_0x3ed566(0x17c)] ?? _0x3ed566(0xfe));
|
|
2026
|
+
return _0x3ed566(0x83) + _0x572309[_0x3ed566(_0x5bdefc._0xc7e553)];
|
|
1982
2027
|
}
|
|
1983
2028
|
};
|
|
1984
2029
|
}
|
|
1985
|
-
function
|
|
1986
|
-
|
|
1987
|
-
const _0x275caf = _0x275c();
|
|
1988
|
-
let _0x52961a = _0x275caf[_0x121998];
|
|
1989
|
-
if (_0x5296['AnSzTd'] === undefined) {
|
|
1990
|
-
var _0xe14edd = function (_0x9834e2) {
|
|
1991
|
-
const _0x55af66 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
1992
|
-
let _0x1c47dc = '', _0x3042f6 = '';
|
|
1993
|
-
for (let _0x14e72f = 0x0, _0x58069d, _0x4a7b04, _0x574648 = 0x0; _0x4a7b04 = _0x9834e2['charAt'](_0x574648++); ~_0x4a7b04 && (_0x58069d = _0x14e72f % 0x4 ? _0x58069d * 0x40 + _0x4a7b04 : _0x4a7b04, _0x14e72f++ % 0x4) ? _0x1c47dc += String['fromCharCode'](0xff & _0x58069d >> (-0x2 * _0x14e72f & 0x6)) : 0x0) {
|
|
1994
|
-
_0x4a7b04 = _0x55af66['indexOf'](_0x4a7b04);
|
|
1995
|
-
}
|
|
1996
|
-
for (let _0x3a0c05 = 0x0, _0xd37dda = _0x1c47dc['length']; _0x3a0c05 < _0xd37dda; _0x3a0c05++) {
|
|
1997
|
-
_0x3042f6 += '%' + ('00' + _0x1c47dc['charCodeAt'](_0x3a0c05)['toString'](0x10))['slice'](-0x2);
|
|
1998
|
-
}
|
|
1999
|
-
return decodeURIComponent(_0x3042f6);
|
|
2000
|
-
};
|
|
2001
|
-
_0x5296['VjePkv'] = _0xe14edd, _0x5296['bVxFAr'] = {}, _0x5296['AnSzTd'] = !![];
|
|
2002
|
-
}
|
|
2003
|
-
const _0x171c85 = _0x275caf[0x0], _0x58b0fe = _0x121998 + _0x171c85, _0x9ae12f = _0x5296['bVxFAr'][_0x58b0fe];
|
|
2004
|
-
return !_0x9ae12f ? (_0x52961a = _0x5296['VjePkv'](_0x52961a), _0x5296['bVxFAr'][_0x58b0fe] = _0x52961a) : _0x52961a = _0x9ae12f, _0x52961a;
|
|
2005
|
-
}
|
|
2006
|
-
function textResult(_0x573e10, _0x4969de = ![]) {
|
|
2030
|
+
function textResult(_0x48f6d8, _0x3114e3 = ![]) {
|
|
2031
|
+
const _0x203e1c = _0x11a45e;
|
|
2007
2032
|
return {
|
|
2008
2033
|
'content': [{
|
|
2009
|
-
'type':
|
|
2010
|
-
'text':
|
|
2034
|
+
'type': _0x203e1c(0xdb),
|
|
2035
|
+
'text': _0x48f6d8
|
|
2011
2036
|
}],
|
|
2012
|
-
...
|
|
2037
|
+
..._0x3114e3 ? { 'isError': !![] } : {}
|
|
2013
2038
|
};
|
|
2014
2039
|
}
|
|
2015
|
-
async function registerChatBridgeTools(
|
|
2016
|
-
const
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
},
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
},
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
'visibility': _0x2600e9[_0x1923b8(_0x48334c._0x161918)]([
|
|
2085
|
-
_0x1923b8(_0x48334c._0x5099b3),
|
|
2086
|
-
_0x1923b8(_0x48334c._0x2560ad)
|
|
2087
|
-
])[_0x1923b8(0x16f)]()['describe'](_0x1923b8(_0x48334c._0x357f92))
|
|
2088
|
-
}, async _0xb609d4 => {
|
|
2089
|
-
const _0x3e4078 = _0x1923b8;
|
|
2040
|
+
async function registerChatBridgeTools(_0x40f69e, _0x542e52, _0x2d0520) {
|
|
2041
|
+
const _0x1de387 = {
|
|
2042
|
+
_0x59eff9: 0x1db,
|
|
2043
|
+
_0x167805: 0xeb,
|
|
2044
|
+
_0x2e05a3: 0xa9,
|
|
2045
|
+
_0x3ff4d9: 0xe2,
|
|
2046
|
+
_0x527bcb: 0x102,
|
|
2047
|
+
_0x341185: 0x88,
|
|
2048
|
+
_0x58cded: 0x1bf,
|
|
2049
|
+
_0xb66a27: 0x137,
|
|
2050
|
+
_0x5ca3e3: 0x173,
|
|
2051
|
+
_0x454d48: 0xd8,
|
|
2052
|
+
_0x375d03: 0x100,
|
|
2053
|
+
_0x654e08: 0x6f,
|
|
2054
|
+
_0x1d9fe4: 0x19d,
|
|
2055
|
+
_0x2d2069: 0x148,
|
|
2056
|
+
_0x427b97: 0x18a,
|
|
2057
|
+
_0x1b7409: 0x192,
|
|
2058
|
+
_0x54256f: 0x16d,
|
|
2059
|
+
_0x4814ff: 0x88,
|
|
2060
|
+
_0x163656: 0x1ed,
|
|
2061
|
+
_0x18b167: 0xa9,
|
|
2062
|
+
_0x269be3: 0xb1,
|
|
2063
|
+
_0x162386: 0x6f,
|
|
2064
|
+
_0x21e7c7: 0xfc,
|
|
2065
|
+
_0x341f51: 0xea,
|
|
2066
|
+
_0x16cd73: 0x1db,
|
|
2067
|
+
_0x68db79: 0xf6,
|
|
2068
|
+
_0x3e3b43: 0x1e9,
|
|
2069
|
+
_0x30dafb: 0x1c8,
|
|
2070
|
+
_0x32ce4d: 0x1db,
|
|
2071
|
+
_0x37c06d: 0x155,
|
|
2072
|
+
_0x137763: 0x17e,
|
|
2073
|
+
_0x3baa54: 0x19c,
|
|
2074
|
+
_0x4b5e66: 0x1b6,
|
|
2075
|
+
_0x160bed: 0xa9,
|
|
2076
|
+
_0x3bb084: 0xa9,
|
|
2077
|
+
_0x10ece9: 0xa9,
|
|
2078
|
+
_0xee0859: 0x1ed,
|
|
2079
|
+
_0x667398: 0xa9,
|
|
2080
|
+
_0xf880f1: 0x10f,
|
|
2081
|
+
_0x54558f: 0x118
|
|
2082
|
+
}, _0x1e8531 = { _0x120774: 0xca }, _0x698892 = {
|
|
2083
|
+
_0x48e066: 0x10f,
|
|
2084
|
+
_0x385875: 0x1ca
|
|
2085
|
+
}, _0x284336 = { _0x4854e8: 0x1ca }, _0x5af47c = {
|
|
2086
|
+
_0x17a940: 0x12e,
|
|
2087
|
+
_0x3e61fa: 0x1ca
|
|
2088
|
+
}, _0x3f8e74 = { _0x227367: 0x1ca }, _0x447f43 = { _0x1b429e: 0x188 }, _0xfd2ef1 = { _0x592385: 0x1dc }, _0x2d9c53 = {
|
|
2089
|
+
_0xa57af7: 0x1ca,
|
|
2090
|
+
_0x35f27f: 0x1cd
|
|
2091
|
+
}, _0x192a5e = {
|
|
2092
|
+
_0x4b9c2d: 0xfc,
|
|
2093
|
+
_0xcc95c8: 0x1ca,
|
|
2094
|
+
_0x3246fc: 0x1d1
|
|
2095
|
+
}, _0x247e7c = {
|
|
2096
|
+
_0x45f9bf: 0x192,
|
|
2097
|
+
_0x38d461: 0x1b1
|
|
2098
|
+
}, _0x105a83 = { _0x51fb41: 0xef }, _0x194f41 = { _0x4837b1: 0x137 }, _0x1288d7 = { _0x469996: 0x158 }, _0x5b22ff = { _0x4e67d7: 0x1ca }, _0x454f00 = _0x11a45e, {z: _0x65f079} = await import(_0x454f00(0x1a1));
|
|
2099
|
+
_0x40f69e[_0x454f00(_0x1de387._0x59eff9)]('send_message', _0x454f00(_0x1de387._0x167805), {
|
|
2100
|
+
'target': _0x65f079[_0x454f00(_0x1de387._0x2e05a3)](),
|
|
2101
|
+
'content': _0x65f079[_0x454f00(0xa9)](),
|
|
2102
|
+
'attachment_ids': _0x65f079[_0x454f00(0x1ed)](_0x65f079[_0x454f00(_0x1de387._0x2e05a3)]())[_0x454f00(0x6f)](),
|
|
2103
|
+
'visibility': _0x65f079[_0x454f00(0x148)]([
|
|
2104
|
+
_0x454f00(_0x1de387._0x3ff4d9),
|
|
2105
|
+
_0x454f00(0x10e)
|
|
2106
|
+
])['optional']()[_0x454f00(0x1ab)]('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.')
|
|
2107
|
+
}, async _0x2e15a1 => {
|
|
2108
|
+
const _0x1c0ca5 = _0x454f00;
|
|
2090
2109
|
try {
|
|
2091
|
-
return textResult(await
|
|
2092
|
-
} catch (
|
|
2093
|
-
return textResult(
|
|
2110
|
+
return textResult(await _0x542e52[_0x1c0ca5(0xb4)](_0x2e15a1));
|
|
2111
|
+
} catch (_0x45c831) {
|
|
2112
|
+
return textResult(_0x45c831 instanceof Error ? _0x45c831[_0x1c0ca5(_0x5b22ff._0x4e67d7)] : _0x1c0ca5(0x86), !![]);
|
|
2094
2113
|
}
|
|
2095
|
-
}),
|
|
2096
|
-
const
|
|
2114
|
+
}), _0x40f69e[_0x454f00(_0x1de387._0x59eff9)](_0x454f00(0xd7), 'Check\x20for\x20new\x20messages\x20without\x20waiting.', {}, async () => {
|
|
2115
|
+
const _0x31e040 = _0x454f00;
|
|
2097
2116
|
try {
|
|
2098
|
-
return textResult(await
|
|
2099
|
-
} catch (
|
|
2100
|
-
return textResult(
|
|
2117
|
+
return textResult(await _0x542e52['check_messages']());
|
|
2118
|
+
} catch (_0x1de598) {
|
|
2119
|
+
return textResult(_0x1de598 instanceof Error ? _0x1de598['message'] : _0x31e040(0x193), !![]);
|
|
2101
2120
|
}
|
|
2102
|
-
}),
|
|
2103
|
-
'channel':
|
|
2104
|
-
'limit':
|
|
2105
|
-
'before':
|
|
2106
|
-
'after':
|
|
2107
|
-
}, async
|
|
2108
|
-
const
|
|
2121
|
+
}), _0x40f69e['tool'](_0x454f00(_0x1de387._0x527bcb), 'Read\x20message\x20history\x20for\x20a\x20channel,\x20DM,\x20or\x20thread\x20target.', {
|
|
2122
|
+
'channel': _0x65f079[_0x454f00(0xa9)](),
|
|
2123
|
+
'limit': _0x65f079[_0x454f00(0x88)]()[_0x454f00(0x6f)](),
|
|
2124
|
+
'before': _0x65f079[_0x454f00(_0x1de387._0x341185)]()['optional'](),
|
|
2125
|
+
'after': _0x65f079[_0x454f00(0x88)]()['optional']()
|
|
2126
|
+
}, async _0x488607 => {
|
|
2127
|
+
const _0x17a7b4 = _0x454f00;
|
|
2109
2128
|
try {
|
|
2110
|
-
return textResult(await
|
|
2111
|
-
} catch (
|
|
2112
|
-
return textResult(
|
|
2129
|
+
return textResult(await _0x542e52[_0x17a7b4(0x102)](_0x488607));
|
|
2130
|
+
} catch (_0x15a4d6) {
|
|
2131
|
+
return textResult(_0x15a4d6 instanceof Error ? _0x15a4d6[_0x17a7b4(0x1ca)] : _0x17a7b4(0x1d8), !![]);
|
|
2113
2132
|
}
|
|
2114
|
-
}),
|
|
2115
|
-
const
|
|
2133
|
+
}), _0x40f69e[_0x454f00(0x1db)](_0x454f00(0x11f), _0x454f00(_0x1de387._0x58cded), {}, async () => {
|
|
2134
|
+
const _0x76e5d2 = _0x454f00;
|
|
2116
2135
|
try {
|
|
2117
|
-
return textResult(await
|
|
2118
|
-
} catch (
|
|
2119
|
-
return textResult(
|
|
2136
|
+
return textResult(await _0x542e52[_0x76e5d2(0x11f)]());
|
|
2137
|
+
} catch (_0x36cc1f) {
|
|
2138
|
+
return textResult(_0x36cc1f instanceof Error ? _0x36cc1f[_0x76e5d2(0x1ca)] : _0x76e5d2(_0x1288d7._0x469996), !![]);
|
|
2120
2139
|
}
|
|
2121
|
-
}),
|
|
2122
|
-
'channel':
|
|
2123
|
-
'status':
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
])[
|
|
2129
|
-
}, async
|
|
2130
|
-
const
|
|
2140
|
+
}), _0x40f69e[_0x454f00(0x1db)](_0x454f00(_0x1de387._0xb66a27), _0x454f00(0x1a8), {
|
|
2141
|
+
'channel': _0x65f079[_0x454f00(0xa9)](),
|
|
2142
|
+
'status': _0x65f079['enum']([
|
|
2143
|
+
_0x454f00(0x185),
|
|
2144
|
+
_0x454f00(0x1ad),
|
|
2145
|
+
_0x454f00(_0x1de387._0x5ca3e3),
|
|
2146
|
+
_0x454f00(_0x1de387._0x454d48)
|
|
2147
|
+
])[_0x454f00(0x6f)]()
|
|
2148
|
+
}, async _0x10577d => {
|
|
2149
|
+
const _0x506fb3 = _0x454f00;
|
|
2131
2150
|
try {
|
|
2132
|
-
return textResult(await
|
|
2133
|
-
} catch (
|
|
2134
|
-
return textResult(
|
|
2151
|
+
return textResult(await _0x542e52[_0x506fb3(_0x194f41._0x4837b1)](_0x10577d));
|
|
2152
|
+
} catch (_0x86a668) {
|
|
2153
|
+
return textResult(_0x86a668 instanceof Error ? _0x86a668[_0x506fb3(0x1ca)] : 'list_tasks\x20failed', !![]);
|
|
2135
2154
|
}
|
|
2136
|
-
}),
|
|
2137
|
-
'channel':
|
|
2138
|
-
'idempotency_key':
|
|
2139
|
-
'tasks':
|
|
2140
|
-
'title':
|
|
2141
|
-
'description':
|
|
2142
|
-
'priority':
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
])[
|
|
2155
|
+
}), _0x40f69e[_0x454f00(0x1db)]('create_tasks', _0x454f00(_0x1de387._0x375d03), {
|
|
2156
|
+
'channel': _0x65f079[_0x454f00(0xa9)](),
|
|
2157
|
+
'idempotency_key': _0x65f079['string']()[_0x454f00(_0x1de387._0x654e08)](),
|
|
2158
|
+
'tasks': _0x65f079[_0x454f00(0x1ed)](_0x65f079[_0x454f00(_0x1de387._0x1d9fe4)]({
|
|
2159
|
+
'title': _0x65f079[_0x454f00(0xa9)](),
|
|
2160
|
+
'description': _0x65f079['string']()['optional'](),
|
|
2161
|
+
'priority': _0x65f079[_0x454f00(_0x1de387._0x2d2069)]([
|
|
2162
|
+
'low',
|
|
2163
|
+
'medium',
|
|
2164
|
+
_0x454f00(_0x1de387._0x427b97),
|
|
2165
|
+
'urgent'
|
|
2166
|
+
])[_0x454f00(_0x1de387._0x654e08)]()
|
|
2148
2167
|
}))
|
|
2149
|
-
}, async
|
|
2150
|
-
const
|
|
2168
|
+
}, async _0x352bd8 => {
|
|
2169
|
+
const _0x2e195b = _0x454f00;
|
|
2151
2170
|
try {
|
|
2152
|
-
return textResult(await
|
|
2153
|
-
} catch (
|
|
2154
|
-
return textResult(
|
|
2171
|
+
return textResult(await _0x542e52[_0x2e195b(_0x105a83._0x51fb41)](_0x352bd8));
|
|
2172
|
+
} catch (_0x401daf) {
|
|
2173
|
+
return textResult(_0x401daf instanceof Error ? _0x401daf[_0x2e195b(0x1ca)] : _0x2e195b(0x1b2), !![]);
|
|
2155
2174
|
}
|
|
2156
|
-
}),
|
|
2157
|
-
'channel':
|
|
2158
|
-
'task_numbers':
|
|
2159
|
-
'message_ids':
|
|
2160
|
-
'evidence':
|
|
2161
|
-
'create_thread':
|
|
2162
|
-
'create_task':
|
|
2163
|
-
}))[
|
|
2164
|
-
'idempotency_key':
|
|
2165
|
-
}, async
|
|
2166
|
-
const
|
|
2175
|
+
}), _0x40f69e[_0x454f00(0x1db)](_0x454f00(_0x1de387._0x1b7409), _0x454f00(_0x1de387._0x54256f), {
|
|
2176
|
+
'channel': _0x65f079[_0x454f00(0xa9)](),
|
|
2177
|
+
'task_numbers': _0x65f079['array'](_0x65f079[_0x454f00(_0x1de387._0x4814ff)]())[_0x454f00(_0x1de387._0x654e08)](),
|
|
2178
|
+
'message_ids': _0x65f079[_0x454f00(_0x1de387._0x163656)](_0x65f079[_0x454f00(_0x1de387._0x18b167)]())['optional'](),
|
|
2179
|
+
'evidence': _0x65f079[_0x454f00(0x119)](_0x65f079[_0x454f00(0xa9)](), _0x65f079[_0x454f00(_0x1de387._0x1d9fe4)]({
|
|
2180
|
+
'create_thread': _0x65f079[_0x454f00(_0x1de387._0x269be3)]()[_0x454f00(0x6f)](),
|
|
2181
|
+
'create_task': _0x65f079[_0x454f00(0xb1)]()[_0x454f00(_0x1de387._0x162386)]()
|
|
2182
|
+
}))[_0x454f00(0x6f)](),
|
|
2183
|
+
'idempotency_key': _0x65f079[_0x454f00(0xa9)]()[_0x454f00(0x6f)]()
|
|
2184
|
+
}, async _0x5bc012 => {
|
|
2185
|
+
const _0x211bba = _0x454f00;
|
|
2167
2186
|
try {
|
|
2168
|
-
return textResult(await
|
|
2169
|
-
} catch (
|
|
2170
|
-
return textResult(
|
|
2187
|
+
return textResult(await _0x542e52[_0x211bba(_0x247e7c._0x45f9bf)](_0x5bc012));
|
|
2188
|
+
} catch (_0x45e4fd) {
|
|
2189
|
+
return textResult(_0x45e4fd instanceof Error ? _0x45e4fd[_0x211bba(0x1ca)] : _0x211bba(_0x247e7c._0x38d461), !![]);
|
|
2171
2190
|
}
|
|
2172
|
-
}),
|
|
2173
|
-
'channel':
|
|
2174
|
-
'task_number':
|
|
2175
|
-
'idempotency_key':
|
|
2176
|
-
}, async
|
|
2177
|
-
const
|
|
2191
|
+
}), _0x40f69e[_0x454f00(0x1db)](_0x454f00(_0x1de387._0x21e7c7), _0x454f00(_0x1de387._0x341f51), {
|
|
2192
|
+
'channel': _0x65f079[_0x454f00(_0x1de387._0x18b167)](),
|
|
2193
|
+
'task_number': _0x65f079['number'](),
|
|
2194
|
+
'idempotency_key': _0x65f079[_0x454f00(0xa9)]()['optional']()
|
|
2195
|
+
}, async _0x367d50 => {
|
|
2196
|
+
const _0x28e17a = _0x454f00;
|
|
2178
2197
|
try {
|
|
2179
|
-
return textResult(await
|
|
2180
|
-
} catch (
|
|
2181
|
-
return textResult(
|
|
2198
|
+
return textResult(await _0x542e52[_0x28e17a(_0x192a5e._0x4b9c2d)](_0x367d50));
|
|
2199
|
+
} catch (_0x37ede1) {
|
|
2200
|
+
return textResult(_0x37ede1 instanceof Error ? _0x37ede1[_0x28e17a(_0x192a5e._0xcc95c8)] : _0x28e17a(_0x192a5e._0x3246fc), !![]);
|
|
2182
2201
|
}
|
|
2183
|
-
}),
|
|
2184
|
-
'channel':
|
|
2185
|
-
'task_number':
|
|
2186
|
-
'status':
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2202
|
+
}), _0x40f69e[_0x454f00(_0x1de387._0x16cd73)](_0x454f00(_0x1de387._0x68db79), 'Update\x20task\x20status\x20by\x20channel\x20and\x20task\x20number.', {
|
|
2203
|
+
'channel': _0x65f079[_0x454f00(0xa9)](),
|
|
2204
|
+
'task_number': _0x65f079['number'](),
|
|
2205
|
+
'status': _0x65f079[_0x454f00(0x148)]([
|
|
2206
|
+
_0x454f00(0x185),
|
|
2207
|
+
'in_progress',
|
|
2208
|
+
_0x454f00(0x173),
|
|
2209
|
+
_0x454f00(_0x1de387._0x454d48)
|
|
2191
2210
|
]),
|
|
2192
|
-
'idempotency_key':
|
|
2193
|
-
}, async
|
|
2194
|
-
const
|
|
2211
|
+
'idempotency_key': _0x65f079[_0x454f00(_0x1de387._0x18b167)]()[_0x454f00(0x6f)]()
|
|
2212
|
+
}, async _0x200a6e => {
|
|
2213
|
+
const _0x539aac = _0x454f00;
|
|
2195
2214
|
try {
|
|
2196
|
-
return textResult(await
|
|
2197
|
-
} catch (
|
|
2198
|
-
return textResult(
|
|
2215
|
+
return textResult(await _0x542e52['update_task_status'](_0x200a6e));
|
|
2216
|
+
} catch (_0x4f0507) {
|
|
2217
|
+
return textResult(_0x4f0507 instanceof Error ? _0x4f0507[_0x539aac(_0x2d9c53._0xa57af7)] : _0x539aac(_0x2d9c53._0x35f27f), !![]);
|
|
2199
2218
|
}
|
|
2200
|
-
}),
|
|
2201
|
-
'channel':
|
|
2202
|
-
'file_path':
|
|
2203
|
-
}, async
|
|
2204
|
-
const
|
|
2219
|
+
}), _0x40f69e['tool'](_0x454f00(_0x1de387._0x3e3b43), _0x454f00(_0x1de387._0x30dafb), {
|
|
2220
|
+
'channel': _0x65f079['string'](),
|
|
2221
|
+
'file_path': _0x65f079[_0x454f00(0xa9)]()
|
|
2222
|
+
}, async _0x4104e9 => {
|
|
2223
|
+
const _0xb7aac3 = _0x454f00;
|
|
2205
2224
|
try {
|
|
2206
|
-
return textResult(await
|
|
2207
|
-
} catch (
|
|
2208
|
-
return textResult(
|
|
2225
|
+
return textResult(await _0x542e52['upload_file'](_0x4104e9));
|
|
2226
|
+
} catch (_0x25ae63) {
|
|
2227
|
+
return textResult(_0x25ae63 instanceof Error ? _0x25ae63['message'] : _0xb7aac3(_0xfd2ef1._0x592385), !![]);
|
|
2209
2228
|
}
|
|
2210
|
-
}),
|
|
2211
|
-
const
|
|
2229
|
+
}), _0x40f69e[_0x454f00(_0x1de387._0x32ce4d)](_0x454f00(0x1eb), _0x454f00(_0x1de387._0x37c06d), { 'attachment_id': _0x65f079['string']() }, async _0x4d671c => {
|
|
2230
|
+
const _0x26a6ed = _0x454f00;
|
|
2212
2231
|
try {
|
|
2213
|
-
return textResult(await
|
|
2214
|
-
} catch (
|
|
2215
|
-
return textResult(
|
|
2232
|
+
return textResult(await _0x542e52[_0x26a6ed(0x1eb)](_0x4d671c));
|
|
2233
|
+
} catch (_0x5520e3) {
|
|
2234
|
+
return textResult(_0x5520e3 instanceof Error ? _0x5520e3[_0x26a6ed(0x1ca)] : _0x26a6ed(_0x447f43._0x1b429e), !![]);
|
|
2216
2235
|
}
|
|
2217
|
-
}),
|
|
2218
|
-
const
|
|
2236
|
+
}), _0x40f69e[_0x454f00(_0x1de387._0x59eff9)](_0x454f00(_0x1de387._0x137763), _0x454f00(_0x1de387._0x3baa54), { 'work_key': _0x65f079['string']() }, async _0x2a7e5d => {
|
|
2237
|
+
const _0x5de789 = _0x454f00;
|
|
2219
2238
|
try {
|
|
2220
|
-
return textResult(await
|
|
2221
|
-
} catch (
|
|
2222
|
-
return textResult(
|
|
2239
|
+
return textResult(await _0x542e52['get_worker_status'](_0x2a7e5d));
|
|
2240
|
+
} catch (_0x57b8c9) {
|
|
2241
|
+
return textResult(_0x57b8c9 instanceof Error ? _0x57b8c9[_0x5de789(_0x3f8e74._0x227367)] : 'get_worker_status\x20failed', !![]);
|
|
2223
2242
|
}
|
|
2224
|
-
}),
|
|
2225
|
-
const
|
|
2243
|
+
}), _0x40f69e[_0x454f00(_0x1de387._0x32ce4d)](_0x454f00(0x12e), _0x454f00(0x16f), { 'work_key': _0x65f079[_0x454f00(0xa9)]() }, async _0x21e7a9 => {
|
|
2244
|
+
const _0x12c645 = _0x454f00;
|
|
2226
2245
|
try {
|
|
2227
|
-
return textResult(await
|
|
2228
|
-
} catch (
|
|
2229
|
-
return textResult(
|
|
2246
|
+
return textResult(await _0x542e52[_0x12c645(_0x5af47c._0x17a940)](_0x21e7a9));
|
|
2247
|
+
} catch (_0x34eb9d) {
|
|
2248
|
+
return textResult(_0x34eb9d instanceof Error ? _0x34eb9d[_0x12c645(_0x5af47c._0x3e61fa)] : 'get_worker_result\x20failed', !![]);
|
|
2230
2249
|
}
|
|
2231
|
-
}),
|
|
2232
|
-
'work_key':
|
|
2233
|
-
'result':
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2250
|
+
}), _0x40f69e['tool'](_0x454f00(0x181), _0x454f00(_0x1de387._0x4b5e66), {
|
|
2251
|
+
'work_key': _0x65f079[_0x454f00(_0x1de387._0x160bed)](),
|
|
2252
|
+
'result': _0x65f079[_0x454f00(0x148)]([
|
|
2253
|
+
_0x454f00(0x93),
|
|
2254
|
+
'blocked',
|
|
2255
|
+
_0x454f00(0x16b)
|
|
2237
2256
|
]),
|
|
2238
|
-
'summary':
|
|
2239
|
-
'decisions':
|
|
2240
|
-
'files_changed':
|
|
2241
|
-
'open_issues':
|
|
2242
|
-
'next_steps':
|
|
2243
|
-
}, async
|
|
2244
|
-
const
|
|
2257
|
+
'summary': _0x65f079['string'](),
|
|
2258
|
+
'decisions': _0x65f079[_0x454f00(_0x1de387._0x163656)](_0x65f079[_0x454f00(_0x1de387._0x3bb084)]())['optional'](),
|
|
2259
|
+
'files_changed': _0x65f079['array'](_0x65f079[_0x454f00(_0x1de387._0x10ece9)]())[_0x454f00(_0x1de387._0x162386)](),
|
|
2260
|
+
'open_issues': _0x65f079['array'](_0x65f079[_0x454f00(0xa9)]())['optional'](),
|
|
2261
|
+
'next_steps': _0x65f079[_0x454f00(_0x1de387._0xee0859)](_0x65f079[_0x454f00(_0x1de387._0x667398)]())['optional']()
|
|
2262
|
+
}, async _0x1ee27d => {
|
|
2263
|
+
const _0x22e10c = _0x454f00;
|
|
2245
2264
|
try {
|
|
2246
|
-
return textResult(await
|
|
2247
|
-
} catch (
|
|
2248
|
-
return textResult(
|
|
2265
|
+
return textResult(await _0x542e52[_0x22e10c(0x181)](_0x1ee27d));
|
|
2266
|
+
} catch (_0x5503a9) {
|
|
2267
|
+
return textResult(_0x5503a9 instanceof Error ? _0x5503a9[_0x22e10c(_0x284336._0x4854e8)] : _0x22e10c(0xd1), !![]);
|
|
2249
2268
|
}
|
|
2250
|
-
}),
|
|
2251
|
-
'work_key':
|
|
2252
|
-
'reason':
|
|
2253
|
-
}, async
|
|
2254
|
-
const
|
|
2269
|
+
}), _0x40f69e[_0x454f00(_0x1de387._0x59eff9)](_0x454f00(_0x1de387._0xf880f1), _0x454f00(0x8a), {
|
|
2270
|
+
'work_key': _0x65f079[_0x454f00(_0x1de387._0x2e05a3)](),
|
|
2271
|
+
'reason': _0x65f079['string']()
|
|
2272
|
+
}, async _0x51885f => {
|
|
2273
|
+
const _0x58ceb1 = _0x454f00;
|
|
2255
2274
|
try {
|
|
2256
|
-
return textResult(await
|
|
2257
|
-
} catch (
|
|
2258
|
-
return textResult(
|
|
2275
|
+
return textResult(await _0x542e52[_0x58ceb1(_0x698892._0x48e066)](_0x51885f));
|
|
2276
|
+
} catch (_0x1ef87f) {
|
|
2277
|
+
return textResult(_0x1ef87f instanceof Error ? _0x1ef87f[_0x58ceb1(_0x698892._0x385875)] : _0x58ceb1(0xfe), !![]);
|
|
2259
2278
|
}
|
|
2260
|
-
}),
|
|
2261
|
-
const
|
|
2279
|
+
}), _0x2d0520?.[_0x454f00(_0x1de387._0x54558f)] && _0x40f69e['tool'](_0x454f00(0xca), 'Mark\x20the\x20current\x20worker\x20as\x20waiting\x20for\x20human\x20input.\x20Pauses\x20the\x20idle\x20TTL\x20timer\x20until\x20a\x20new\x20message\x20arrives.', { 'work_key': _0x65f079[_0x454f00(0xa9)]() }, async _0x3f651d => {
|
|
2280
|
+
const _0x39749c = _0x454f00;
|
|
2262
2281
|
try {
|
|
2263
|
-
return textResult(await
|
|
2264
|
-
} catch (
|
|
2265
|
-
return textResult(
|
|
2282
|
+
return textResult(await _0x542e52[_0x39749c(_0x1e8531._0x120774)](_0x3f651d));
|
|
2283
|
+
} catch (_0x28c3c2) {
|
|
2284
|
+
return textResult(_0x28c3c2 instanceof Error ? _0x28c3c2[_0x39749c(0x1ca)] : _0x39749c(0x1c4), !![]);
|
|
2266
2285
|
}
|
|
2267
2286
|
});
|
|
2268
2287
|
}
|
|
2269
|
-
async function createChatBridgeServer(
|
|
2270
|
-
const
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
}),
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2288
|
+
async function createChatBridgeServer(_0x522471) {
|
|
2289
|
+
const _0x191138 = {
|
|
2290
|
+
_0x486fb2: 0xaa,
|
|
2291
|
+
_0x176520: 0x163
|
|
2292
|
+
}, _0x317d14 = _0x11a45e, {McpServer: _0x533cb1} = await import(_0x317d14(_0x191138._0x486fb2)), _0x5db35d = new _0x533cb1({
|
|
2293
|
+
'name': _0x317d14(_0x191138._0x176520),
|
|
2294
|
+
'version': '0.0.0'
|
|
2295
|
+
}), _0x361fba = createChatBridgeHandlers(_0x522471);
|
|
2296
|
+
return await registerChatBridgeTools(_0x5db35d, _0x361fba, { 'workerMode': _0x522471['workerMode'] }), {
|
|
2297
|
+
'handlers': _0x361fba,
|
|
2298
|
+
'server': _0x5db35d
|
|
2277
2299
|
};
|
|
2278
2300
|
}
|
|
2279
|
-
function readFlag(
|
|
2280
|
-
const
|
|
2281
|
-
if (
|
|
2301
|
+
function readFlag(_0x455447, _0x5d4817) {
|
|
2302
|
+
const _0x27793c = _0x455447['indexOf'](_0x5d4817);
|
|
2303
|
+
if (_0x27793c === -0x1)
|
|
2282
2304
|
return void 0x0;
|
|
2283
|
-
return
|
|
2305
|
+
return _0x455447[_0x27793c + 0x1];
|
|
2284
2306
|
}
|
|
2285
|
-
function parseChatBridgeArgs(
|
|
2286
|
-
const
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
throw new Error(_0x2b10ed(0x26d));
|
|
2307
|
+
function parseChatBridgeArgs(_0x2d9708) {
|
|
2308
|
+
const _0x47d7aa = {
|
|
2309
|
+
_0x25a3dd: 0xcb,
|
|
2310
|
+
_0x221270: 0x1c3,
|
|
2311
|
+
_0x15eace: 0xd9,
|
|
2312
|
+
_0x3a93ab: 0x115,
|
|
2313
|
+
_0x1be5a5: 0x18b,
|
|
2314
|
+
_0x4fa718: 0x73
|
|
2315
|
+
}, _0x5ebac7 = _0x11a45e, _0x587178 = readFlag(_0x2d9708, '--agent-id'), _0x422a21 = readFlag(_0x2d9708, _0x5ebac7(0x10c)), _0x239587 = readFlag(_0x2d9708, _0x5ebac7(0xf2)), _0x1cec38 = readFlag(_0x2d9708, _0x5ebac7(0x170)) ?? _0x5ebac7(_0x47d7aa._0x25a3dd), _0x598523 = readFlag(_0x2d9708, _0x5ebac7(_0x47d7aa._0x221270)), _0x576d1b = readFlag(_0x2d9708, _0x5ebac7(0x1cb)), _0x2d2d54 = readFlag(_0x2d9708, _0x5ebac7(0x175)), _0x4326ee = readFlag(_0x2d9708, _0x5ebac7(0x168)), _0x539c02 = readFlag(_0x2d9708, _0x5ebac7(_0x47d7aa._0x15eace)), _0x3ab3d6 = _0x2d9708[_0x5ebac7(_0x47d7aa._0x3a93ab)](_0x5ebac7(0x153)), _0x204ed8 = _0x239587 === void 0x0 ? void 0x0 : Number[_0x5ebac7(0x164)](_0x239587, 0xa);
|
|
2316
|
+
if (!_0x587178)
|
|
2317
|
+
throw new Error(_0x5ebac7(_0x47d7aa._0x1be5a5));
|
|
2318
|
+
if (!_0x422a21)
|
|
2319
|
+
throw new Error(_0x5ebac7(_0x47d7aa._0x4fa718));
|
|
2320
|
+
if (_0x239587 !== void 0x0 && (_0x204ed8 === void 0x0 || !Number[_0x5ebac7(0x9b)](_0x204ed8) || _0x204ed8 < 0x0))
|
|
2321
|
+
throw new Error(_0x5ebac7(0x199));
|
|
2301
2322
|
return {
|
|
2302
|
-
'agentId':
|
|
2303
|
-
'daemonApiKey':
|
|
2304
|
-
'daemonLocalUrl':
|
|
2305
|
-
'initialLastSeenSeq':
|
|
2306
|
-
'sessionId':
|
|
2307
|
-
'serverUrl':
|
|
2308
|
-
'workerModeEnabled':
|
|
2309
|
-
'workerSessionId':
|
|
2310
|
-
'workerThreadTarget':
|
|
2311
|
-
'workerMode':
|
|
2323
|
+
'agentId': _0x587178,
|
|
2324
|
+
'daemonApiKey': _0x422a21,
|
|
2325
|
+
'daemonLocalUrl': _0x598523,
|
|
2326
|
+
'initialLastSeenSeq': _0x204ed8,
|
|
2327
|
+
'sessionId': _0x576d1b,
|
|
2328
|
+
'serverUrl': _0x1cec38,
|
|
2329
|
+
'workerModeEnabled': _0x2d2d54 === void 0x0 ? void 0x0 : _0x2d2d54 !== 'false',
|
|
2330
|
+
'workerSessionId': _0x4326ee,
|
|
2331
|
+
'workerThreadTarget': _0x539c02,
|
|
2332
|
+
'workerMode': _0x3ab3d6
|
|
2312
2333
|
};
|
|
2313
2334
|
}
|
|
2314
|
-
async function runChatBridgeCli(
|
|
2315
|
-
const
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
'agentId': _0x8a907c[_0x184c99(0x18b)],
|
|
2321
|
-
'attachmentCache': _0xe7fca8,
|
|
2322
|
-
'client': _0x435148,
|
|
2323
|
-
'daemonLocalUrl': _0x8a907c[_0x184c99(_0x407b24._0x2c4e9f)],
|
|
2335
|
+
async function runChatBridgeCli(_0x3ac6d4) {
|
|
2336
|
+
const _0x16378b = { _0x305ff9: 0xd2 }, _0x9d9716 = _0x11a45e, _0x175ef0 = parseChatBridgeArgs(_0x3ac6d4), {StdioServerTransport: _0x519666} = await import('@modelcontextprotocol/sdk/server/stdio.js'), _0x127fbe = createInternalAgentClient(_0x175ef0), _0x2db70e = createAttachmentCache(), _0x47cadb = await createChatBridgeServer({
|
|
2337
|
+
'agentId': _0x175ef0[_0x9d9716(0x14d)],
|
|
2338
|
+
'attachmentCache': _0x2db70e,
|
|
2339
|
+
'client': _0x127fbe,
|
|
2340
|
+
'daemonLocalUrl': _0x175ef0['daemonLocalUrl'],
|
|
2324
2341
|
'uploadPreparer': prepareUploadFile,
|
|
2325
|
-
'workerModeEnabled':
|
|
2326
|
-
'workerMode':
|
|
2342
|
+
'workerModeEnabled': _0x175ef0[_0x9d9716(0xcf)],
|
|
2343
|
+
'workerMode': _0x175ef0[_0x9d9716(0x118)]
|
|
2327
2344
|
});
|
|
2328
|
-
await
|
|
2345
|
+
await _0x47cadb[_0x9d9716(_0x16378b._0x305ff9)]['connect'](new _0x519666());
|
|
2329
2346
|
}
|
|
2330
|
-
var executedAsEntry = process[
|
|
2331
|
-
executedAsEntry && await runChatBridgeCli(process[
|
|
2347
|
+
var executedAsEntry = process[_0x11a45e(0xb8)][0x1] ? import.meta.url === pathToFileURL(process[_0x11a45e(0xb8)][0x1])['href'] : ![];
|
|
2348
|
+
executedAsEntry && await runChatBridgeCli(process[_0x11a45e(0xb8)][_0x11a45e(0x1a6)](0x2));
|
|
2332
2349
|
export {
|
|
2333
2350
|
createChatBridgeHandlers,
|
|
2334
2351
|
createChatBridgeServer,
|