@dscord/daemon 0.1.43 → 0.1.44
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 +2057 -2077
- package/dist/index.js +8608 -8601
- package/package.json +1 -1
package/dist/chat-bridge.js
CHANGED
|
@@ -1,46 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
for (let _0x24ab4e = 0x0, _0x3fcd39, _0x52091d, _0x77189c = 0x0; _0x52091d = _0x596030['charAt'](_0x77189c++); ~_0x52091d && (_0x3fcd39 = _0x24ab4e % 0x4 ? _0x3fcd39 * 0x40 + _0x52091d : _0x52091d, _0x24ab4e++ % 0x4) ? _0x55c6fc += String['fromCharCode'](0xff & _0x3fcd39 >> (-0x2 * _0x24ab4e & 0x6)) : 0x0) {
|
|
10
|
-
_0x52091d = _0x2cd77d['indexOf'](_0x52091d);
|
|
11
|
-
}
|
|
12
|
-
for (let _0x52024a = 0x0, _0x1bcc69 = _0x55c6fc['length']; _0x52024a < _0x1bcc69; _0x52024a++) {
|
|
13
|
-
_0x5da96b += '%' + ('00' + _0x55c6fc['charCodeAt'](_0x52024a)['toString'](0x10))['slice'](-0x2);
|
|
14
|
-
}
|
|
15
|
-
return decodeURIComponent(_0x5da96b);
|
|
16
|
-
};
|
|
17
|
-
_0x4754['LmbUqo'] = _0x321fbd, _0x4754['WXYPfn'] = {}, _0x4754['mOANpg'] = !![];
|
|
18
|
-
}
|
|
19
|
-
const _0x2eb491 = _0x4cbf2b[0x0], _0x3e78e2 = _0x1a992b + _0x2eb491, _0x4bfd19 = _0x4754['WXYPfn'][_0x3e78e2];
|
|
20
|
-
return !_0x4bfd19 ? (_0x475477 = _0x4754['LmbUqo'](_0x475477), _0x4754['WXYPfn'][_0x3e78e2] = _0x475477) : _0x475477 = _0x4bfd19, _0x475477;
|
|
21
|
-
}
|
|
22
|
-
const _0x27ce1c = _0x4754;
|
|
23
|
-
(function (_0x4e403d, _0x3d80f6) {
|
|
24
|
-
const _0x3569b1 = {
|
|
25
|
-
_0x4ba8b0: 0x1cb,
|
|
26
|
-
_0x24c73c: 0x135,
|
|
27
|
-
_0x585230: 0x17e,
|
|
28
|
-
_0x65b7a7: 0x13a,
|
|
29
|
-
_0x133f0d: 0xd7,
|
|
30
|
-
_0x588695: 0x1c9
|
|
31
|
-
}, _0x3c078a = _0x4754, _0x2ed3e5 = _0x4e403d();
|
|
1
|
+
const _0xbabd6a = _0x5296;
|
|
2
|
+
(function (_0x39c19b, _0x37b511) {
|
|
3
|
+
const _0x1bfad2 = {
|
|
4
|
+
_0x1ddb43: 0x20f,
|
|
5
|
+
_0x38b958: 0x20c,
|
|
6
|
+
_0x854fee: 0x198,
|
|
7
|
+
_0x161b86: 0x265
|
|
8
|
+
}, _0x1a5e3c = _0x5296, _0x1e4d39 = _0x39c19b();
|
|
32
9
|
while (!![]) {
|
|
33
10
|
try {
|
|
34
|
-
const
|
|
35
|
-
if (
|
|
11
|
+
const _0x5e92ed = -parseInt(_0x1a5e3c(0x2e1)) / 0x1 * (parseInt(_0x1a5e3c(_0x1bfad2._0x1ddb43)) / 0x2) + -parseInt(_0x1a5e3c(0x170)) / 0x3 * (parseInt(_0x1a5e3c(_0x1bfad2._0x38b958)) / 0x4) + -parseInt(_0x1a5e3c(0x1eb)) / 0x5 + -parseInt(_0x1a5e3c(0x250)) / 0x6 * (-parseInt(_0x1a5e3c(0x1b4)) / 0x7) + parseInt(_0x1a5e3c(0x1cb)) / 0x8 * (-parseInt(_0x1a5e3c(_0x1bfad2._0x854fee)) / 0x9) + parseInt(_0x1a5e3c(_0x1bfad2._0x161b86)) / 0xa + parseInt(_0x1a5e3c(0x2d7)) / 0xb;
|
|
12
|
+
if (_0x5e92ed === _0x37b511)
|
|
36
13
|
break;
|
|
37
14
|
else
|
|
38
|
-
|
|
39
|
-
} catch (
|
|
40
|
-
|
|
15
|
+
_0x1e4d39['push'](_0x1e4d39['shift']());
|
|
16
|
+
} catch (_0x3a6a1a) {
|
|
17
|
+
_0x1e4d39['push'](_0x1e4d39['shift']());
|
|
41
18
|
}
|
|
42
19
|
}
|
|
43
|
-
}(
|
|
20
|
+
}(_0x275c, 0xd7680));
|
|
44
21
|
import { pathToFileURL } from 'node:url';
|
|
45
22
|
import {
|
|
46
23
|
mkdir,
|
|
@@ -50,77 +27,83 @@ import {
|
|
|
50
27
|
writeFile
|
|
51
28
|
} from 'node:fs/promises';
|
|
52
29
|
import { homedir } from 'node:os';
|
|
53
|
-
import
|
|
30
|
+
import _0x1c47dc from 'node:path';
|
|
54
31
|
var DEFAULT_MAX_FILE_SIZE = 0x64 * 0x400 * 0x400, MIME_BY_EXTENSION = {
|
|
55
|
-
'.csv':
|
|
56
|
-
'.gif':
|
|
57
|
-
'.jpeg':
|
|
58
|
-
'.jpg':
|
|
59
|
-
'.json':
|
|
60
|
-
'.md':
|
|
61
|
-
'.pdf':
|
|
32
|
+
'.csv': _0xbabd6a(0x21b),
|
|
33
|
+
'.gif': _0xbabd6a(0x281),
|
|
34
|
+
'.jpeg': 'image/jpeg',
|
|
35
|
+
'.jpg': _0xbabd6a(0x22f),
|
|
36
|
+
'.json': _0xbabd6a(0x2e2),
|
|
37
|
+
'.md': 'text/markdown',
|
|
38
|
+
'.pdf': _0xbabd6a(0x296),
|
|
62
39
|
'.png': 'image/png',
|
|
63
40
|
'.svg': 'image/svg+xml',
|
|
64
|
-
'.txt':
|
|
65
|
-
'.webp':
|
|
66
|
-
'.xml':
|
|
67
|
-
'.zip':
|
|
41
|
+
'.txt': 'text/plain',
|
|
42
|
+
'.webp': _0xbabd6a(0x2d9),
|
|
43
|
+
'.xml': _0xbabd6a(0x1d6),
|
|
44
|
+
'.zip': _0xbabd6a(0x239)
|
|
68
45
|
};
|
|
69
|
-
function guessContentType(
|
|
70
|
-
const
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
return MIME_BY_EXTENSION[_0x55c6fc[_0x4e15d9(_0xf5a365._0x53becf)](_0x5da96b)[_0x4e15d9(_0xf5a365._0x516573)]()] ?? _0x4e15d9(_0xf5a365._0x24f7dd);
|
|
46
|
+
function guessContentType(_0x3042f6) {
|
|
47
|
+
const _0x4dd2a0 = {
|
|
48
|
+
_0x51ffd9: 0x243,
|
|
49
|
+
_0xe4fe41: 0x2a9
|
|
50
|
+
}, _0x2b497a = _0xbabd6a;
|
|
51
|
+
return MIME_BY_EXTENSION[_0x1c47dc[_0x2b497a(_0x4dd2a0._0x51ffd9)](_0x3042f6)[_0x2b497a(_0x4dd2a0._0xe4fe41)]()] ?? 'application/octet-stream';
|
|
76
52
|
}
|
|
77
|
-
function safeFilename(
|
|
78
|
-
return
|
|
53
|
+
function safeFilename(_0x14e72f) {
|
|
54
|
+
return _0x14e72f['replace'](/[\\/]/g, '-');
|
|
79
55
|
}
|
|
80
|
-
function extensionFor(
|
|
81
|
-
const
|
|
82
|
-
|
|
56
|
+
function extensionFor(_0x58069d) {
|
|
57
|
+
const _0x45f7b1 = {
|
|
58
|
+
_0x39a820: 0x1d9,
|
|
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);
|
|
83
62
|
}
|
|
84
|
-
async function prepareUploadFile(
|
|
85
|
-
const
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
},
|
|
90
|
-
if (!
|
|
91
|
-
throw new Error(
|
|
92
|
-
const
|
|
93
|
-
if (!
|
|
94
|
-
throw new Error(
|
|
95
|
-
const
|
|
96
|
-
if (
|
|
97
|
-
throw new Error('File\x20size\x20exceeds\x20limit:\x20' +
|
|
98
|
-
const
|
|
63
|
+
async function prepareUploadFile(_0x3a0c05, _0xd37dda = {}) {
|
|
64
|
+
const _0x4d0093 = {
|
|
65
|
+
_0x38744f: 0x2b9,
|
|
66
|
+
_0x453015: 0x285,
|
|
67
|
+
_0x322009: 0x263
|
|
68
|
+
}, _0x7eee5a = _0xbabd6a;
|
|
69
|
+
if (!_0x1c47dc['isAbsolute'](_0x3a0c05))
|
|
70
|
+
throw new Error(_0x7eee5a(0x2a0));
|
|
71
|
+
const _0x4fc2c4 = await stat(_0x3a0c05)[_0x7eee5a(_0x4d0093._0x38744f)](() => null);
|
|
72
|
+
if (!_0x4fc2c4 || !_0x4fc2c4['isFile']())
|
|
73
|
+
throw new Error('File\x20not\x20found:\x20' + _0x3a0c05);
|
|
74
|
+
const _0x40cecc = _0xd37dda[_0x7eee5a(_0x4d0093._0x453015)] ?? DEFAULT_MAX_FILE_SIZE;
|
|
75
|
+
if (_0x4fc2c4[_0x7eee5a(0x221)] > _0x40cecc)
|
|
76
|
+
throw new Error('File\x20size\x20exceeds\x20limit:\x20' + _0x4fc2c4['size']);
|
|
77
|
+
const _0x49b8eb = await readFile(_0x3a0c05), _0x589243 = _0x1c47dc['basename'](_0x3a0c05);
|
|
99
78
|
return {
|
|
100
|
-
'contentBase64':
|
|
101
|
-
'contentType': guessContentType(
|
|
102
|
-
'filename':
|
|
103
|
-
'sizeBytes':
|
|
79
|
+
'contentBase64': _0x49b8eb[_0x7eee5a(_0x4d0093._0x322009)](_0x7eee5a(0x2b3)),
|
|
80
|
+
'contentType': guessContentType(_0x589243),
|
|
81
|
+
'filename': _0x589243,
|
|
82
|
+
'sizeBytes': _0x4fc2c4['size']
|
|
104
83
|
};
|
|
105
84
|
}
|
|
106
|
-
function createAttachmentCache(
|
|
107
|
-
const
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
},
|
|
85
|
+
function createAttachmentCache(_0x4e9b9d = {}) {
|
|
86
|
+
const _0x484a2f = {
|
|
87
|
+
_0x58990a: 0x1fb,
|
|
88
|
+
_0x1c9957: 0x2c6
|
|
89
|
+
}, _0x10ee83 = {
|
|
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');
|
|
111
94
|
return {
|
|
112
|
-
'cacheDir':
|
|
113
|
-
async 'findCachedPath'(
|
|
114
|
-
const
|
|
115
|
-
await mkdir(
|
|
116
|
-
const
|
|
117
|
-
return
|
|
95
|
+
'cacheDir': _0x4c5171,
|
|
96
|
+
async 'findCachedPath'(_0x3b2b57) {
|
|
97
|
+
const _0x4b418a = _0x3fc24f;
|
|
98
|
+
await mkdir(_0x4c5171, { 'recursive': !![] });
|
|
99
|
+
const _0x1a520e = await readdir(_0x4c5171), _0x5f56bb = _0x1a520e[_0x4b418a(_0xaf639c._0x459fc7)](_0xa2466b => _0xa2466b[_0x4b418a(0x1e3)](_0x3b2b57 + '-') || _0xa2466b['startsWith'](_0x3b2b57));
|
|
100
|
+
return _0x5f56bb ? _0x1c47dc[_0x4b418a(0x1d4)](_0x4c5171, _0x5f56bb) : null;
|
|
118
101
|
},
|
|
119
|
-
async 'save'(
|
|
120
|
-
const
|
|
121
|
-
await mkdir(
|
|
122
|
-
const
|
|
123
|
-
return await writeFile(
|
|
102
|
+
async 'save'(_0x57148f) {
|
|
103
|
+
const _0x21de18 = _0x3fc24f;
|
|
104
|
+
await mkdir(_0x4c5171, { 'recursive': !![] });
|
|
105
|
+
const _0x287146 = _0x57148f[_0x21de18(0x1b7)]?.['trim']() ? safeFilename(_0x57148f[_0x21de18(0x1b7)]) : '' + _0x57148f[_0x21de18(_0x10ee83._0x2a596a)] + extensionFor(_0x57148f[_0x21de18(_0x10ee83._0x415555)]), _0x34fbd1 = _0x1c47dc['join'](_0x4c5171, _0x57148f[_0x21de18(_0x10ee83._0x4e887e)] + '-' + _0x287146);
|
|
106
|
+
return await writeFile(_0x34fbd1, _0x57148f['data']), _0x34fbd1;
|
|
124
107
|
}
|
|
125
108
|
};
|
|
126
109
|
}
|
|
@@ -128,2227 +111,2224 @@ import {
|
|
|
128
111
|
createHash,
|
|
129
112
|
randomUUID
|
|
130
113
|
} from 'node:crypto';
|
|
131
|
-
var UNSUPPORTED_TARGET_MESSAGE =
|
|
132
|
-
function ensureSegment(
|
|
133
|
-
const
|
|
134
|
-
if (!
|
|
114
|
+
var UNSUPPORTED_TARGET_MESSAGE = 'Unsupported\x20target\x20format.\x20Supported\x20values\x20are\x20#channel,\x20dm:dm-<name>,\x20and\x20their\x20thread\x20targets.';
|
|
115
|
+
function ensureSegment(_0x3d150b) {
|
|
116
|
+
const _0x1ac146 = { _0x5cdd27: 0x253 }, _0x2c43fe = _0xbabd6a, _0x74105b = _0x3d150b[_0x2c43fe(0x2ae)]();
|
|
117
|
+
if (!_0x74105b || _0x74105b[_0x2c43fe(_0x1ac146._0x5cdd27)](':'))
|
|
135
118
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
136
|
-
return
|
|
119
|
+
return _0x74105b;
|
|
137
120
|
}
|
|
138
|
-
function parseThreadParts(
|
|
139
|
-
const
|
|
140
|
-
if (
|
|
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)
|
|
141
124
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
142
125
|
return {
|
|
143
|
-
'channelName': ensureSegment(
|
|
144
|
-
'threadShortId':
|
|
126
|
+
'channelName': ensureSegment(_0x5e0b16[0x0] ?? ''),
|
|
127
|
+
'threadShortId': _0x5e0b16[0x1] ? ensureSegment(_0x5e0b16[0x1]) : null
|
|
145
128
|
};
|
|
146
129
|
}
|
|
147
|
-
function parseTarget(
|
|
148
|
-
const
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
}, _0x97f0d2 = _0x27ce1c, _0xe0dce6 = _0x21451a[_0x97f0d2(_0x25bbe._0x1ef932)]();
|
|
163
|
-
if (!_0xe0dce6)
|
|
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)
|
|
164
145
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
165
|
-
if (
|
|
166
|
-
const
|
|
167
|
-
if (!
|
|
146
|
+
if (_0xf1a068['startsWith']('#')) {
|
|
147
|
+
const _0x4a71cc = parseThreadParts(_0xf1a068['slice'](0x1)), _0xada33 = '#' + _0x4a71cc[_0x1dd7b5(0x1f4)];
|
|
148
|
+
if (!_0x4a71cc[_0x1dd7b5(0x1d5)])
|
|
168
149
|
return {
|
|
169
|
-
'channelName':
|
|
170
|
-
'channelTarget':
|
|
171
|
-
'kind':
|
|
172
|
-
'target':
|
|
150
|
+
'channelName': _0x4a71cc['channelName'],
|
|
151
|
+
'channelTarget': _0xada33,
|
|
152
|
+
'kind': _0x1dd7b5(0x280),
|
|
153
|
+
'target': _0xada33
|
|
173
154
|
};
|
|
174
155
|
return {
|
|
175
|
-
'channelName':
|
|
176
|
-
'channelTarget':
|
|
177
|
-
'kind':
|
|
178
|
-
'target':
|
|
179
|
-
'threadShortId':
|
|
156
|
+
'channelName': _0x4a71cc[_0x1dd7b5(0x1f4)],
|
|
157
|
+
'channelTarget': _0xada33,
|
|
158
|
+
'kind': _0x1dd7b5(_0x476311._0x32dbf2),
|
|
159
|
+
'target': _0xada33 + ':' + _0x4a71cc['threadShortId'],
|
|
160
|
+
'threadShortId': _0x4a71cc[_0x1dd7b5(_0x476311._0x451a61)]
|
|
180
161
|
};
|
|
181
162
|
}
|
|
182
|
-
if (
|
|
183
|
-
const
|
|
184
|
-
if (!
|
|
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)))
|
|
185
166
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
186
|
-
const
|
|
187
|
-
if (!
|
|
167
|
+
const _0x30ebdf = _0x1dd7b5(_0x476311._0x3f9782) + _0x5197d9[_0x1dd7b5(0x1f4)];
|
|
168
|
+
if (!_0x5197d9[_0x1dd7b5(0x1d5)])
|
|
188
169
|
return {
|
|
189
|
-
'channelName':
|
|
190
|
-
'channelTarget':
|
|
170
|
+
'channelName': _0x5197d9['channelName'],
|
|
171
|
+
'channelTarget': _0x30ebdf,
|
|
191
172
|
'kind': 'channel',
|
|
192
|
-
'target':
|
|
173
|
+
'target': _0x30ebdf
|
|
193
174
|
};
|
|
194
175
|
return {
|
|
195
|
-
'channelName':
|
|
196
|
-
'channelTarget':
|
|
197
|
-
'kind':
|
|
198
|
-
'target':
|
|
199
|
-
'threadShortId':
|
|
176
|
+
'channelName': _0x5197d9[_0x1dd7b5(_0x476311._0x455eba)],
|
|
177
|
+
'channelTarget': _0x30ebdf,
|
|
178
|
+
'kind': _0x1dd7b5(0x228),
|
|
179
|
+
'target': _0x30ebdf + ':' + _0x5197d9[_0x1dd7b5(0x1d5)],
|
|
180
|
+
'threadShortId': _0x5197d9[_0x1dd7b5(0x1d5)]
|
|
200
181
|
};
|
|
201
182
|
}
|
|
202
183
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
203
184
|
}
|
|
204
|
-
function asErrorMessage(
|
|
205
|
-
const
|
|
206
|
-
if (typeof
|
|
207
|
-
return
|
|
208
|
-
return
|
|
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;
|
|
209
190
|
}
|
|
210
|
-
function asRecord(
|
|
211
|
-
const
|
|
212
|
-
return typeof
|
|
191
|
+
function asRecord(_0x2219f8) {
|
|
192
|
+
const _0x109d65 = _0xbabd6a;
|
|
193
|
+
return typeof _0x2219f8 === _0x109d65(0x25e) && _0x2219f8 !== null ? _0x2219f8 : {};
|
|
213
194
|
}
|
|
214
|
-
function stableStringify(
|
|
215
|
-
const
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
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)](',') + '}';
|
|
222
209
|
}
|
|
223
|
-
function createHeaders(
|
|
224
|
-
const
|
|
210
|
+
function createHeaders(_0x8061cc) {
|
|
211
|
+
const _0x5a74fe = _0xbabd6a;
|
|
225
212
|
return {
|
|
226
|
-
'Content-Type':
|
|
227
|
-
'x-daemon-api-key':
|
|
213
|
+
'Content-Type': _0x5a74fe(0x2e2),
|
|
214
|
+
'x-daemon-api-key': _0x8061cc
|
|
228
215
|
};
|
|
229
216
|
}
|
|
230
|
-
function toHttpBaseUrl(
|
|
231
|
-
const
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
},
|
|
236
|
-
if (
|
|
237
|
-
|
|
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);
|
|
238
225
|
else
|
|
239
|
-
|
|
240
|
-
return
|
|
241
|
-
}
|
|
242
|
-
function isMentionBoundary(_0x532780) {
|
|
243
|
-
const _0x2e9669 = _0x27ce1c;
|
|
244
|
-
return !_0x532780 || /\s|[([{'",。!?、:;]/[_0x2e9669(0x147)](_0x532780);
|
|
245
|
-
}
|
|
246
|
-
function isMentionTerminal(_0x2360ad) {
|
|
247
|
-
const _0x2e3c30 = _0x27ce1c;
|
|
248
|
-
return !_0x2360ad || /\s|[)\]}'",。!?、:;,.!?]/[_0x2e3c30(0x147)](_0x2360ad);
|
|
249
|
-
}
|
|
250
|
-
function buildMatchableEntries(_0x2d95e6) {
|
|
251
|
-
const _0x43a654 = {
|
|
252
|
-
_0x57ccd0: 0x22e,
|
|
253
|
-
_0x520deb: 0x1ac
|
|
254
|
-
}, _0x39061f = _0x27ce1c, _0x5b567c = [];
|
|
255
|
-
for (const _0x51543b of [
|
|
256
|
-
..._0x2d95e6[_0x39061f(_0x43a654._0x57ccd0)],
|
|
257
|
-
..._0x2d95e6[_0x39061f(0x1e0)]
|
|
258
|
-
]) {
|
|
259
|
-
_0x5b567c['push']({
|
|
260
|
-
'matchName': _0x51543b['name'],
|
|
261
|
-
'matchNameLower': _0x51543b[_0x39061f(0x1c5)][_0x39061f(_0x43a654._0x520deb)](),
|
|
262
|
-
'participantId': _0x51543b['id']
|
|
263
|
-
}), _0x51543b['id'] !== _0x51543b['name'] && _0x5b567c['push']({
|
|
264
|
-
'matchName': _0x51543b['id'],
|
|
265
|
-
'matchNameLower': _0x51543b['id'][_0x39061f(_0x43a654._0x520deb)](),
|
|
266
|
-
'participantId': _0x51543b['id']
|
|
267
|
-
});
|
|
268
|
-
}
|
|
269
|
-
return _0x5b567c;
|
|
270
|
-
}
|
|
271
|
-
function extractMentionedParticipantIds(_0x2bd934, _0x1e692b) {
|
|
272
|
-
const _0x36128a = {
|
|
273
|
-
_0x23689d: 0x255,
|
|
274
|
-
_0x5d5b6d: 0x187,
|
|
275
|
-
_0x1f6feb: 0x125,
|
|
276
|
-
_0x9e5f69: 0x18f,
|
|
277
|
-
_0x262dcd: 0xdf
|
|
278
|
-
}, _0x412144 = {
|
|
279
|
-
_0x4c7355: 0x1cc,
|
|
280
|
-
_0x599392: 0xdf
|
|
281
|
-
}, _0x5dddf2 = _0x27ce1c, _0x23c057 = buildMatchableEntries(_0x1e692b)['sort']((_0x550322, _0x1557a3) => _0x1557a3['matchName'][_0x5dddf2(0x255)] - _0x550322['matchName'][_0x5dddf2(0x255)]), _0x565c79 = [], _0x3bd457 = new Set();
|
|
282
|
-
for (let _0x3dc237 = 0x0; _0x3dc237 < _0x2bd934[_0x5dddf2(_0x36128a._0x23689d)]; _0x3dc237 += 0x1) {
|
|
283
|
-
if (_0x2bd934[_0x3dc237] !== '@' || !isMentionBoundary(_0x2bd934[_0x3dc237 - 0x1]))
|
|
284
|
-
continue;
|
|
285
|
-
const _0x2d24fc = _0x2bd934['slice'](_0x3dc237 + 0x1), _0x466ade = _0x2d24fc[_0x5dddf2(0x1ac)](), _0x33b9bf = _0x23c057[_0x5dddf2(_0x36128a._0x5d5b6d)](_0x4e5dc5 => {
|
|
286
|
-
const _0x133e02 = _0x5dddf2;
|
|
287
|
-
if (!_0x466ade[_0x133e02(_0x412144._0x4c7355)](_0x4e5dc5['matchNameLower']))
|
|
288
|
-
return ![];
|
|
289
|
-
return isMentionTerminal(_0x2d24fc[_0x4e5dc5[_0x133e02(_0x412144._0x599392)][_0x133e02(0x255)]]);
|
|
290
|
-
});
|
|
291
|
-
if (!_0x33b9bf || _0x3bd457[_0x5dddf2(0x129)](_0x33b9bf[_0x5dddf2(_0x36128a._0x1f6feb)]))
|
|
292
|
-
continue;
|
|
293
|
-
_0x3bd457[_0x5dddf2(_0x36128a._0x9e5f69)](_0x33b9bf[_0x5dddf2(_0x36128a._0x1f6feb)]), _0x565c79[_0x5dddf2(0x1fb)](_0x33b9bf[_0x5dddf2(0x125)]), _0x3dc237 += _0x33b9bf[_0x5dddf2(_0x36128a._0x262dcd)][_0x5dddf2(0x255)];
|
|
294
|
-
}
|
|
295
|
-
return _0x565c79;
|
|
296
|
-
}
|
|
297
|
-
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
298
|
-
function anySignal(..._0xa53121) {
|
|
299
|
-
const _0xca843b = {
|
|
300
|
-
_0x2da2fb: 0xcf,
|
|
301
|
-
_0x10a598: 0x1b7,
|
|
302
|
-
_0x200623: 0x182
|
|
303
|
-
}, _0x544140 = _0x27ce1c, _0x5bbf31 = new AbortController();
|
|
304
|
-
for (const _0x366def of _0xa53121) {
|
|
305
|
-
if (_0x366def[_0x544140(0x11e)])
|
|
306
|
-
return _0x5bbf31[_0x544140(_0xca843b._0x2da2fb)](_0x366def[_0x544140(_0xca843b._0x10a598)]), _0x5bbf31[_0x544140(_0xca843b._0x200623)];
|
|
307
|
-
_0x366def[_0x544140(0x10e)](_0x544140(0xcf), () => _0x5bbf31[_0x544140(0xcf)](_0x366def[_0x544140(0x1b7)]), {
|
|
308
|
-
'once': !![],
|
|
309
|
-
'signal': _0x5bbf31[_0x544140(_0xca843b._0x200623)]
|
|
310
|
-
});
|
|
311
|
-
}
|
|
312
|
-
return _0x5bbf31[_0x544140(_0xca843b._0x200623)];
|
|
313
|
-
}
|
|
314
|
-
function createInternalAgentClient(_0x6a4cfc) {
|
|
315
|
-
const _0x443555 = {
|
|
316
|
-
_0x549365: 0x13d,
|
|
317
|
-
_0x26ffae: 0x1fd
|
|
318
|
-
}, _0x551076 = {
|
|
319
|
-
_0x3fc951: 0x102,
|
|
320
|
-
_0x2d8afa: 0x1a6,
|
|
321
|
-
_0x2b62bd: 0xeb,
|
|
322
|
-
_0x4f580a: 0x1c7,
|
|
323
|
-
_0x44fded: 0x1ca,
|
|
324
|
-
_0x4934f5: 0xe5,
|
|
325
|
-
_0x3b88dc: 0x230,
|
|
326
|
-
_0x15d1a7: 0x156,
|
|
327
|
-
_0x59ad90: 0x252,
|
|
328
|
-
_0x9442b4: 0x252,
|
|
329
|
-
_0x32d96f: 0x236,
|
|
330
|
-
_0xb2e733: 0x204,
|
|
331
|
-
_0x589c0f: 0xea,
|
|
332
|
-
_0x45caa3: 0x1cf,
|
|
333
|
-
_0x1e498e: 0x104,
|
|
334
|
-
_0x1959dd: 0x1b9,
|
|
335
|
-
_0x125564: 0x102,
|
|
336
|
-
_0x567c6c: 0x1c5,
|
|
337
|
-
_0xd4a0d0: 0x1dd,
|
|
338
|
-
_0x2230b2: 0x101,
|
|
339
|
-
_0x18f43c: 0x215,
|
|
340
|
-
_0x200d3c: 0x150,
|
|
341
|
-
_0x4f5eea: 0x208,
|
|
342
|
-
_0x63cd7f: 0xfe,
|
|
343
|
-
_0x2d4a71: 0x1fb
|
|
344
|
-
}, _0x2a4651 = { _0x5f6f7: 0x207 }, _0xb831af = {
|
|
345
|
-
_0x124476: 0xf3,
|
|
346
|
-
_0x2a8e75: 0x15b,
|
|
347
|
-
_0x395a59: 0x252
|
|
348
|
-
}, _0x19dcad = {
|
|
349
|
-
_0x136584: 0x158,
|
|
350
|
-
_0x2d3c12: 0xeb,
|
|
351
|
-
_0x46aa36: 0x196,
|
|
352
|
-
_0x1dd3b2: 0x1c7,
|
|
353
|
-
_0x27c70e: 0x15f,
|
|
354
|
-
_0x1e693c: 0x223
|
|
355
|
-
}, _0x23d865 = {
|
|
356
|
-
_0x59f2f1: 0x1b5,
|
|
357
|
-
_0x5166b1: 0x219,
|
|
358
|
-
_0x31c645: 0x14f,
|
|
359
|
-
_0x15bb47: 0xe1,
|
|
360
|
-
_0x2e8c2c: 0x1c4,
|
|
361
|
-
_0x3a9f44: 0x1c7,
|
|
362
|
-
_0xbbf33e: 0x1c7,
|
|
363
|
-
_0x4be844: 0x223
|
|
364
|
-
}, _0x1d0822 = {
|
|
365
|
-
_0x1b58a0: 0x1f1,
|
|
366
|
-
_0x341813: 0x1bb
|
|
367
|
-
}, _0x434471 = {
|
|
368
|
-
_0x5ea0a7: 0x142,
|
|
369
|
-
_0x344455: 0x19f,
|
|
370
|
-
_0x3e200a: 0x1bb
|
|
371
|
-
}, _0xf970d4 = {
|
|
372
|
-
_0x3a2ae8: 0x18b,
|
|
373
|
-
_0x4b6aab: 0x195,
|
|
374
|
-
_0x480eb3: 0x1bb
|
|
375
|
-
}, _0x198b78 = {
|
|
376
|
-
_0xff391: 0x195,
|
|
377
|
-
_0x53b579: 0x117,
|
|
378
|
-
_0x2f7abf: 0x192,
|
|
379
|
-
_0x3301e8: 0x1bb
|
|
380
|
-
}, _0x1a21d5 = {
|
|
381
|
-
_0x399573: 0xf3,
|
|
382
|
-
_0x586483: 0x18b,
|
|
383
|
-
_0x594d51: 0x195
|
|
384
|
-
}, _0x2e4ccd = {
|
|
385
|
-
_0x41aad0: 0x16e,
|
|
386
|
-
_0x510391: 0x142,
|
|
387
|
-
_0x3d71e0: 0x1bb
|
|
388
|
-
}, _0xa2065e = {
|
|
389
|
-
_0xeaf51a: 0x108,
|
|
390
|
-
_0x5b32c4: 0x142
|
|
391
|
-
}, _0x58c0cb = {
|
|
392
|
-
_0xf8215f: 0x246,
|
|
393
|
-
_0x192550: 0x202
|
|
394
|
-
}, _0xd7145f = {
|
|
395
|
-
_0x1ee543: 0xe1,
|
|
396
|
-
_0x111f95: 0x157,
|
|
397
|
-
_0x5e57ab: 0x142,
|
|
398
|
-
_0x5b917d: 0x252,
|
|
399
|
-
_0x189379: 0x21b,
|
|
400
|
-
_0x29851b: 0x21b,
|
|
401
|
-
_0x2aaf20: 0x1c7
|
|
402
|
-
}, _0x4d379d = {
|
|
403
|
-
_0x3812f6: 0xf9,
|
|
404
|
-
_0x868186: 0x1b5,
|
|
405
|
-
_0xa8dd3c: 0x102,
|
|
406
|
-
_0x1648c0: 0x252,
|
|
407
|
-
_0x504812: 0x209,
|
|
408
|
-
_0x29f2a2: 0x15b,
|
|
409
|
-
_0x1b1c01: 0x248,
|
|
410
|
-
_0x583935: 0x13f,
|
|
411
|
-
_0x288ca3: 0xeb,
|
|
412
|
-
_0x1c9919: 0x1ca,
|
|
413
|
-
_0x3aac13: 0x130,
|
|
414
|
-
_0x3db26a: 0x1ca
|
|
415
|
-
}, _0x2e447b = {
|
|
416
|
-
_0x543ca7: 0x118,
|
|
417
|
-
_0x4900bf: 0x125,
|
|
418
|
-
_0x5dac02: 0x23a,
|
|
419
|
-
_0x110812: 0x125
|
|
420
|
-
}, _0x5dba3f = {
|
|
421
|
-
_0x29a607: 0x12b,
|
|
422
|
-
_0x552e1f: 0x1cf,
|
|
423
|
-
_0x2e7c7c: 0x236,
|
|
424
|
-
_0x57181c: 0x115
|
|
425
|
-
}, _0x3d5e5d = {
|
|
426
|
-
_0x2f2a2f: 0x12f,
|
|
427
|
-
_0x27e5a4: 0x236,
|
|
428
|
-
_0x2283cb: 0x12f,
|
|
429
|
-
_0x565d4a: 0x1b5,
|
|
430
|
-
_0x3bc153: 0xd0
|
|
431
|
-
}, _0x593033 = { _0x1d4dfd: 0x1e5 }, _0x1f4a7a = { _0xaabfec: 0x226 }, _0x264efb = {
|
|
432
|
-
_0x413c95: 0x18b,
|
|
433
|
-
_0x763db9: 0xe1,
|
|
434
|
-
_0x39c8aa: 0x1bb,
|
|
435
|
-
_0x330c7f: 0x1c7,
|
|
436
|
-
_0x530a06: 0x1c7
|
|
437
|
-
}, _0x2e3207 = { _0x26bfb5: 0x1aa }, _0x2ea52e = {
|
|
438
|
-
_0x39877f: 0x142,
|
|
439
|
-
_0x52212c: 0x1c8
|
|
440
|
-
}, _0x32bc42 = {
|
|
441
|
-
_0x4c2904: 0x182,
|
|
442
|
-
_0x51c2eb: 0x155,
|
|
443
|
-
_0x134961: 0x1aa
|
|
444
|
-
}, _0x3f8bfb = {
|
|
445
|
-
_0x196f32: 0x1be,
|
|
446
|
-
_0x389d0e: 0x1d7,
|
|
447
|
-
_0x2d5c84: 0x20a,
|
|
448
|
-
_0x2a48db: 0xed,
|
|
449
|
-
_0x104b58: 0x102
|
|
450
|
-
}, _0x2b1a5e = {
|
|
451
|
-
_0xc2de1c: 0x21c,
|
|
452
|
-
_0x4bb27b: 0x13f
|
|
453
|
-
}, _0x25ea65 = {
|
|
454
|
-
_0x46f9a5: 0x231,
|
|
455
|
-
_0x5c2b2f: 0x174,
|
|
456
|
-
_0x20e676: 0x19c,
|
|
457
|
-
_0x59a94e: 0x24c,
|
|
458
|
-
_0x44371d: 0x1d7,
|
|
459
|
-
_0x347b65: 0x21d,
|
|
460
|
-
_0x380fec: 0xd0,
|
|
461
|
-
_0x425e70: 0xff,
|
|
462
|
-
_0x501227: 0x1bf,
|
|
463
|
-
_0x5a8989: 0x1aa,
|
|
464
|
-
_0x56b56a: 0x17d
|
|
465
|
-
}, _0x4621fb = _0x27ce1c, _0x34531b = _0x6a4cfc[_0x4621fb(_0x443555._0x549365)] ?? fetch, _0x49738b = _0x6a4cfc[_0x4621fb(0x1f2)] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x589311 = typeof _0x6a4cfc[_0x4621fb(0x229)] === _0x4621fb(0x204) && _0x6a4cfc[_0x4621fb(0x229)] > 0x0 ? _0x6a4cfc[_0x4621fb(0x229)] : 0x0, _0x2acb95 = _0x6a4cfc[_0x4621fb(0xdc)]?.['trim']() || void 0x0, _0x505c02 = _0x6a4cfc[_0x4621fb(0x14c)]?.['trim']() || void 0x0, _0x538a73 = _0x6a4cfc[_0x4621fb(0x179)] === !![], _0x3b3722 = _0x6a4cfc['workerSessionId']?.[_0x4621fb(0x1d7)]() || void 0x0, _0x267aba = _0x6a4cfc[_0x4621fb(0x1fa)]?.[_0x4621fb(0x1d7)]() || void 0x0, _0x4b9d76 = createHeaders(_0x6a4cfc[_0x4621fb(0xe7)]), _0x222fb8 = toHttpBaseUrl(_0x6a4cfc[_0x4621fb(_0x443555._0x26ffae)]);
|
|
466
|
-
let _0x4ca346 = null;
|
|
467
|
-
const _0x26564e = new Map();
|
|
468
|
-
let _0x19d497 = _0x589311, _0x512667 = _0x589311;
|
|
469
|
-
function _0x1042f7(_0x114cc4) {
|
|
470
|
-
const _0x2e0ba7 = _0x4621fb, _0x197701 = _0x114cc4['response'][_0x2e0ba7(_0x25ea65._0x46f9a5)][_0x2e0ba7(0x1b6)](_0x2e0ba7(_0x25ea65._0x5c2b2f)) ?? _0x2e0ba7(_0x25ea65._0x20e676), _0x3a640f = _0x114cc4[_0x2e0ba7(_0x25ea65._0x59a94e)][_0x2e0ba7(_0x25ea65._0x44371d)]()[_0x2e0ba7(_0x25ea65._0x347b65)](/\s+/g, '\x20')[_0x2e0ba7(_0x25ea65._0x380fec)](0x0, 0x78) || _0x2e0ba7(0x1d5);
|
|
471
|
-
return _0x2e0ba7(0x132) + _0x114cc4[_0x2e0ba7(_0x25ea65._0x425e70)] + _0x2e0ba7(_0x25ea65._0x501227) + _0x114cc4[_0x2e0ba7(0x1bd)][_0x2e0ba7(_0x25ea65._0x5a8989)] + _0x2e0ba7(0x11b) + _0x197701 + ',\x20preview=' + _0x3a640f + _0x2e0ba7(_0x25ea65._0x56b56a);
|
|
472
|
-
}
|
|
473
|
-
async function _0x11cd42(_0x443ad1, _0x475d06) {
|
|
474
|
-
const _0x454696 = _0x4621fb, _0x1d516d = Buffer[_0x454696(_0x2b1a5e._0xc2de1c)](await _0x475d06['arrayBuffer']())[_0x454696(_0x2b1a5e._0x4bb27b)]('utf8');
|
|
475
|
-
if (!_0x1d516d['trim']())
|
|
476
|
-
return {};
|
|
477
|
-
try {
|
|
478
|
-
return JSON[_0x454696(0x169)](_0x1d516d);
|
|
479
|
-
} catch {
|
|
480
|
-
throw new Error(_0x1042f7({
|
|
481
|
-
'bodyText': _0x1d516d,
|
|
482
|
-
'requestUrl': _0x443ad1,
|
|
483
|
-
'response': _0x475d06
|
|
484
|
-
}));
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
function _0x438753(_0x4c260f, _0x4be24a) {
|
|
488
|
-
const _0x144bf0 = _0x4621fb, _0x2c1367 = typeof _0x4be24a[_0x144bf0(0x1be)] === 'string' ? _0x4be24a[_0x144bf0(_0x3f8bfb._0x196f32)][_0x144bf0(_0x3f8bfb._0x389d0e)]() : '';
|
|
489
|
-
if (_0x2c1367)
|
|
490
|
-
return _0x2c1367;
|
|
491
|
-
const _0x5cc80e = Date[_0x144bf0(0x214)]();
|
|
492
|
-
for (const [_0x241c9d, _0x1b0835] of _0x26564e) {
|
|
493
|
-
_0x1b0835[_0x144bf0(_0x3f8bfb._0x2d5c84)] <= _0x5cc80e && _0x26564e[_0x144bf0(0x193)](_0x241c9d);
|
|
494
|
-
}
|
|
495
|
-
const _0x13904e = {
|
|
496
|
-
..._0x4be24a,
|
|
497
|
-
'idempotency_key': void 0x0
|
|
498
|
-
}, _0x1e2126 = createHash(_0x144bf0(0x16c))[_0x144bf0(_0x3f8bfb._0x2a48db)](_0x4c260f + ':' + stableStringify(_0x13904e))[_0x144bf0(0x23e)](_0x144bf0(0x105)), _0x45e796 = _0x4c260f + ':' + _0x1e2126, _0x12cc28 = _0x26564e['get'](_0x45e796);
|
|
499
|
-
if (_0x12cc28)
|
|
500
|
-
return _0x12cc28['value'];
|
|
501
|
-
const _0x2cca0e = _0x144bf0(0xf7) + _0x4c260f + ':' + randomUUID();
|
|
502
|
-
return _0x26564e[_0x144bf0(_0x3f8bfb._0x104b58)](_0x45e796, {
|
|
503
|
-
'expiresAt': _0x5cc80e + 0x5 * 0x3c * 0x3e8,
|
|
504
|
-
'value': _0x2cca0e
|
|
505
|
-
}), _0x2cca0e;
|
|
506
|
-
}
|
|
507
|
-
async function _0x44de4d(_0x2d9f67, _0x596076) {
|
|
508
|
-
const _0x4d60f1 = _0x4621fb, _0x1fea45 = new AbortController(), _0x5d58bc = setTimeout(() => _0x1fea45[_0x4d60f1(0xcf)](), _0x49738b), _0x32c6d8 = _0x596076?.[_0x4d60f1(0x182)] ? anySignal(_0x596076[_0x4d60f1(0x182)], _0x1fea45['signal']) : _0x1fea45[_0x4d60f1(0x182)], _0x4f9147 = '' + _0x222fb8 + _0x2d9f67;
|
|
509
|
-
try {
|
|
510
|
-
const _0x460d23 = await _0x34531b(_0x4f9147, {
|
|
511
|
-
..._0x596076,
|
|
512
|
-
'signal': _0x32c6d8
|
|
513
|
-
}), _0x3c5089 = await _0x11cd42(_0x4f9147, _0x460d23);
|
|
514
|
-
if (!_0x460d23['ok'] || _0x3c5089[_0x4d60f1(0x1db)] === ![])
|
|
515
|
-
throw new Error(asErrorMessage(_0x3c5089['error'], _0x4d60f1(0x196) + _0x460d23['status']));
|
|
516
|
-
return _0x3c5089;
|
|
517
|
-
} finally {
|
|
518
|
-
clearTimeout(_0x5d58bc);
|
|
519
|
-
}
|
|
520
|
-
}
|
|
521
|
-
async function _0x378f05(_0x38fdcb, _0x5037e0) {
|
|
522
|
-
const _0x1b3db8 = _0x4621fb, _0x2587c7 = new AbortController(), _0x24e7f4 = setTimeout(() => _0x2587c7[_0x1b3db8(0xcf)](), _0x49738b), _0x423878 = _0x5037e0?.['signal'] ? anySignal(_0x5037e0[_0x1b3db8(0x182)], _0x2587c7['signal']) : _0x2587c7[_0x1b3db8(_0x32bc42._0x4c2904)], _0x390fb0 = '' + _0x222fb8 + _0x38fdcb;
|
|
523
|
-
try {
|
|
524
|
-
const _0x4d332c = await _0x34531b(_0x390fb0, {
|
|
525
|
-
..._0x5037e0,
|
|
526
|
-
'signal': _0x423878
|
|
527
|
-
}), _0x5b6dc6 = await _0x11cd42(_0x390fb0, _0x4d332c);
|
|
528
|
-
if (!_0x4d332c['ok'])
|
|
529
|
-
throw new Error(asErrorMessage(_0x5b6dc6[_0x1b3db8(_0x32bc42._0x51c2eb)], _0x1b3db8(0x196) + _0x4d332c[_0x1b3db8(_0x32bc42._0x134961)]));
|
|
530
|
-
return _0x5b6dc6;
|
|
531
|
-
} finally {
|
|
532
|
-
clearTimeout(_0x24e7f4);
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
async function _0x140aa8(_0x1d57a5) {
|
|
536
|
-
const _0x3c56cf = _0x4621fb;
|
|
537
|
-
if (!_0x505c02 || _0x1d57a5 <= _0x512667)
|
|
538
|
-
return;
|
|
539
|
-
await _0x44de4d('/api/agent-sessions/' + encodeURIComponent(_0x505c02) + _0x3c56cf(0x123), {
|
|
540
|
-
'body': JSON[_0x3c56cf(_0x2ea52e._0x39877f)]({ 'lastSeenSeq': _0x1d57a5 }),
|
|
541
|
-
'headers': _0x4b9d76,
|
|
542
|
-
'method': _0x3c56cf(_0x2ea52e._0x52212c)
|
|
543
|
-
}), _0x512667 = _0x1d57a5;
|
|
544
|
-
}
|
|
545
|
-
async function _0x53d021(_0x234b38) {
|
|
546
|
-
const _0x261381 = _0x4621fb;
|
|
547
|
-
if (!_0x2acb95 || !_0x3b3722 || _0x234b38 <= _0x512667)
|
|
548
|
-
return;
|
|
549
|
-
const _0x5cfe17 = await _0x34531b(_0x2acb95 + '/workers/context-metrics', {
|
|
550
|
-
'body': JSON[_0x261381(0x142)]({
|
|
551
|
-
'last_seen_seq': _0x234b38,
|
|
552
|
-
'worker_session_id': _0x3b3722
|
|
553
|
-
}),
|
|
554
|
-
'headers': { 'Content-Type': 'application/json' },
|
|
555
|
-
'method': 'POST'
|
|
556
|
-
});
|
|
557
|
-
if (!_0x5cfe17['ok'])
|
|
558
|
-
throw new Error(_0x261381(0x196) + _0x5cfe17[_0x261381(_0x2e3207._0x26bfb5)]);
|
|
559
|
-
_0x512667 = _0x234b38;
|
|
560
|
-
}
|
|
561
|
-
async function _0x2cc5dd(_0x388022) {
|
|
562
|
-
const _0xe7ab0a = _0x4621fb, _0x5411d1 = parseTarget(_0x388022), _0x29c69a = await _0x44de4d(_0xe7ab0a(_0x264efb._0x413c95) + _0x6a4cfc['agentId'] + '/resolve-channel', {
|
|
563
|
-
'body': JSON[_0xe7ab0a(0x142)]({ 'target': _0x5411d1[_0xe7ab0a(_0x264efb._0x763db9)] }),
|
|
564
|
-
'headers': _0x4b9d76,
|
|
565
|
-
'method': _0xe7ab0a(_0x264efb._0x39c8aa)
|
|
566
|
-
});
|
|
567
|
-
return {
|
|
568
|
-
'channelId': _0x29c69a[_0xe7ab0a(_0x264efb._0x330c7f)]?.['channelId'] ?? '',
|
|
569
|
-
'target': _0x5411d1['channelTarget'],
|
|
570
|
-
'task': _0x29c69a[_0xe7ab0a(_0x264efb._0x330c7f)]?.[_0xe7ab0a(0xf5)],
|
|
571
|
-
'threadId': _0x29c69a[_0xe7ab0a(_0x264efb._0x330c7f)]?.[_0xe7ab0a(0x1b5)],
|
|
572
|
-
'threadNumber': _0x29c69a[_0xe7ab0a(_0x264efb._0x530a06)]?.['threadNumber']
|
|
573
|
-
};
|
|
574
|
-
}
|
|
575
|
-
async function _0x52bbc5(_0xd9160e = {}) {
|
|
576
|
-
const _0x51cc46 = {
|
|
577
|
-
_0x32fd98: 0x18b,
|
|
578
|
-
_0x12bb17: 0x1c7,
|
|
579
|
-
_0x4fa4d5: 0x1ae,
|
|
580
|
-
_0x1c72e9: 0x14e,
|
|
581
|
-
_0x317bb5: 0x1c5
|
|
582
|
-
}, _0x4699a3 = _0x4621fb;
|
|
583
|
-
if (!_0xd9160e[_0x4699a3(_0x1f4a7a._0xaabfec)] && _0x4ca346)
|
|
584
|
-
return _0x4ca346;
|
|
585
|
-
return _0x4ca346 = (async () => {
|
|
586
|
-
const _0x49059f = _0x4699a3, _0x396c72 = await _0x44de4d(_0x49059f(_0x51cc46._0x32fd98) + _0x6a4cfc[_0x49059f(0x195)] + _0x49059f(0x143), {
|
|
587
|
-
'headers': _0x4b9d76,
|
|
588
|
-
'method': _0x49059f(0xeb)
|
|
589
|
-
}), _0x379ea4 = _0x396c72[_0x49059f(_0x51cc46._0x12bb17)]?.[_0x49059f(_0x51cc46._0x4fa4d5)] ?? [], _0x302611 = _0x379ea4['filter'](_0xa5749e => _0xa5749e[_0x49059f(0x23a)]?.[_0x49059f(0xd4)] === _0x49059f(0x1e5))[_0x49059f(_0x51cc46._0x1c72e9)](_0x2f2e29 => ({
|
|
590
|
-
'id': _0x45c277(_0x2f2e29),
|
|
591
|
-
'name': _0x137263(_0x2f2e29)
|
|
592
|
-
}))['filter'](_0xfe30d0 => _0xfe30d0['id']), _0x4f3af1 = _0x379ea4[_0x49059f(0x15c)](_0x32cc03 => _0x32cc03['participant']?.[_0x49059f(0xd4)] !== _0x49059f(0x1e5))[_0x49059f(0x14e)](_0x25de18 => ({
|
|
593
|
-
'id': _0x45c277(_0x25de18),
|
|
594
|
-
'name': _0x137263(_0x25de18)
|
|
595
|
-
}))['filter'](_0x1f1bad => _0x1f1bad['id']), _0x473452 = _0x396c72[_0x49059f(0x1c7)]?.[_0x49059f(0x18c)]['id'] ?? '';
|
|
596
|
-
return {
|
|
597
|
-
'agents': _0x302611,
|
|
598
|
-
'channels': _0x396c72[_0x49059f(0x1c7)]?.['channels'] ?? [],
|
|
599
|
-
'humans': _0x4f3af1,
|
|
600
|
-
'serverId': _0x473452,
|
|
601
|
-
'serverName': _0x396c72[_0x49059f(0x1c7)]?.[_0x49059f(0x18c)][_0x49059f(_0x51cc46._0x317bb5)] ?? _0x473452
|
|
602
|
-
};
|
|
603
|
-
})()[_0x4699a3(0x23f)](_0x2c0e5d => {
|
|
604
|
-
_0x4ca346 = null;
|
|
605
|
-
throw _0x2c0e5d;
|
|
606
|
-
}), _0x4ca346;
|
|
607
|
-
}
|
|
608
|
-
function _0x1ea2c2(_0x5db21c, _0x88ea2c) {
|
|
609
|
-
const _0x3719fb = _0x4621fb;
|
|
610
|
-
return _0x88ea2c['agents'][_0x3719fb(0x230)](_0x511d20 => _0x511d20['id'] === _0x5db21c || _0x511d20[_0x3719fb(0x1c5)] === _0x5db21c) ? _0x3719fb(_0x593033._0x1d4dfd) : _0x3719fb(0x197);
|
|
611
|
-
}
|
|
612
|
-
function _0x38340d(_0x331622) {
|
|
613
|
-
const _0x505b59 = _0x4621fb;
|
|
614
|
-
if (_0x331622[_0x505b59(0x1cf)] != null)
|
|
615
|
-
return _0x331622[_0x505b59(0x12f)] + ':t' + _0x331622[_0x505b59(0x1cf)];
|
|
616
|
-
if (_0x331622[_0x505b59(0x236)])
|
|
617
|
-
return _0x331622[_0x505b59(_0x3d5e5d._0x2f2a2f)] + ':' + _0x331622[_0x505b59(_0x3d5e5d._0x27e5a4)];
|
|
618
|
-
if (_0x331622['threadId'])
|
|
619
|
-
return _0x331622[_0x505b59(_0x3d5e5d._0x2283cb)] + ':' + _0x331622[_0x505b59(_0x3d5e5d._0x565d4a)][_0x505b59(_0x3d5e5d._0x3bc153)](0x0, 0x8);
|
|
620
|
-
return _0x331622['channelTarget'];
|
|
621
|
-
}
|
|
622
|
-
function _0x595abf(_0x510c97, _0x3082a8) {
|
|
623
|
-
const _0x58d99d = _0x4621fb;
|
|
624
|
-
try {
|
|
625
|
-
const _0x24205f = parseTarget(_0x510c97);
|
|
626
|
-
if (_0x24205f['kind'] !== _0x58d99d(_0x5dba3f._0x29a607) || _0x24205f['channelTarget'] !== _0x3082a8[_0x58d99d(0x12f)])
|
|
627
|
-
return ![];
|
|
628
|
-
if (_0x3082a8['threadNumber'] != null && _0x24205f[_0x58d99d(0x115)] === 't' + _0x3082a8[_0x58d99d(_0x5dba3f._0x552e1f)])
|
|
629
|
-
return !![];
|
|
630
|
-
if (_0x3082a8[_0x58d99d(_0x5dba3f._0x2e7c7c)])
|
|
631
|
-
return _0x24205f[_0x58d99d(0x115)] === _0x3082a8['rootMessageId'] || _0x3082a8[_0x58d99d(0x236)][_0x58d99d(0x1cc)](_0x24205f[_0x58d99d(0x115)]);
|
|
632
|
-
if (_0x3082a8['threadId'])
|
|
633
|
-
return _0x24205f[_0x58d99d(_0x5dba3f._0x57181c)] === _0x3082a8[_0x58d99d(0x1b5)] || _0x3082a8[_0x58d99d(0x1b5)]['startsWith'](_0x24205f[_0x58d99d(0x115)]);
|
|
634
|
-
return ![];
|
|
635
|
-
} catch {
|
|
636
|
-
return ![];
|
|
637
|
-
}
|
|
638
|
-
}
|
|
639
|
-
function _0x45c277(_0xcf851c) {
|
|
640
|
-
const _0x5d8e06 = _0x4621fb;
|
|
641
|
-
return _0xcf851c[_0x5d8e06(_0x2e447b._0x543ca7)]?.[_0x5d8e06(_0x2e447b._0x4900bf)] ?? _0xcf851c[_0x5d8e06(_0x2e447b._0x5dac02)]?.['id'] ?? _0xcf851c[_0x5d8e06(_0x2e447b._0x110812)] ?? '';
|
|
642
|
-
}
|
|
643
|
-
function _0x137263(_0x1b45ad) {
|
|
644
|
-
const _0x11092f = _0x4621fb;
|
|
645
|
-
return _0x1b45ad[_0x11092f(0x23a)]?.['name'] ?? _0x45c277(_0x1b45ad);
|
|
646
|
-
}
|
|
647
|
-
async function _0x8b961e(_0x46ea20) {
|
|
648
|
-
const _0x528b58 = _0x4621fb, _0x28780d = Math['min'](_0x46ea20[_0x528b58(_0x4d379d._0x3812f6)] ?? 0x32, 0x64), _0x93e272 = await _0x52bbc5(), _0x31ccbf = new URLSearchParams();
|
|
649
|
-
_0x31ccbf[_0x528b58(0x102)]('limit', String(_0x28780d));
|
|
650
|
-
_0x46ea20['threadId'] ? (_0x31ccbf['set'](_0x528b58(_0x4d379d._0x868186), _0x46ea20[_0x528b58(0x1b5)]), _0x31ccbf[_0x528b58(_0x4d379d._0xa8dd3c)](_0x528b58(_0x4d379d._0x1648c0), _0x46ea20['channelId'])) : _0x31ccbf['set'](_0x528b58(_0x4d379d._0x1648c0), _0x46ea20[_0x528b58(0x252)]);
|
|
651
|
-
_0x46ea20[_0x528b58(_0x4d379d._0x504812)] && _0x31ccbf[_0x528b58(_0x4d379d._0xa8dd3c)]('cursor', String(_0x46ea20[_0x528b58(0x209)]));
|
|
652
|
-
_0x46ea20[_0x528b58(_0x4d379d._0x29f2a2)] !== void 0x0 && _0x31ccbf[_0x528b58(0x102)](_0x528b58(0x15b), String(_0x46ea20[_0x528b58(0x15b)]));
|
|
653
|
-
const _0xf73d4b = await _0x44de4d('/internal/agent/' + _0x6a4cfc[_0x528b58(0x195)] + _0x528b58(_0x4d379d._0x1b1c01) + _0x31ccbf[_0x528b58(_0x4d379d._0x583935)](), {
|
|
654
|
-
'headers': _0x4b9d76,
|
|
655
|
-
'method': _0x528b58(_0x4d379d._0x288ca3)
|
|
656
|
-
}), _0x411e11 = (_0xf73d4b[_0x528b58(0x1c7)] ?? [])[_0x528b58(0x14e)](_0x144651 => ({
|
|
657
|
-
'attachments': (_0x144651[_0x528b58(0x101)] ?? [])[_0x528b58(0x14e)](_0x1d7826 => ({
|
|
658
|
-
'filename': _0x1d7826[_0x528b58(0x1c4)] ?? _0x1d7826['id'],
|
|
659
|
-
'id': _0x1d7826['id']
|
|
660
|
-
})),
|
|
661
|
-
'content': _0x144651[_0x528b58(0x200)] ?? '',
|
|
662
|
-
'createdAt': _0x144651['createdAt'],
|
|
663
|
-
..._0x144651[_0x528b58(0x215)] && _0x144651['kind'] !== _0x528b58(0xfe) ? { 'kind': _0x144651[_0x528b58(0x215)] } : {},
|
|
664
|
-
'messageId': _0x144651['id'],
|
|
665
|
-
'senderName': _0x144651[_0x528b58(0x208)],
|
|
666
|
-
'senderType': _0x1ea2c2(_0x144651[_0x528b58(0x208)], _0x93e272),
|
|
667
|
-
'seq': _0x144651[_0x528b58(0x119)] ?? 0x0
|
|
668
|
-
}));
|
|
669
|
-
return {
|
|
670
|
-
'channel': _0x46ea20[_0x528b58(0x12f)],
|
|
671
|
-
'hasMore': _0xf73d4b[_0x528b58(_0x4d379d._0x1c9919)]?.[_0x528b58(_0x4d379d._0x3aac13)] ?? ![],
|
|
672
|
-
'messages': _0x411e11,
|
|
673
|
-
'nextCursor': _0xf73d4b[_0x528b58(_0x4d379d._0x3db26a)]?.[_0x528b58(0x225)]
|
|
674
|
-
};
|
|
675
|
-
}
|
|
676
|
-
return {
|
|
677
|
-
async 'sendMessage'(_0x25fd2f) {
|
|
678
|
-
const _0x13230d = _0x4621fb, _0x144db7 = await _0x2cc5dd(_0x25fd2f[_0x13230d(_0xd7145f._0x1ee543)]), _0x410388 = _0x25fd2f['content']['includes']('@') ? extractMentionedParticipantIds(_0x25fd2f[_0x13230d(_0xd7145f._0x111f95)], await _0x52bbc5()) : [], _0x5d1be6 = await _0x44de4d(_0x13230d(0x18b) + _0x6a4cfc['agentId'] + _0x13230d(0x107), {
|
|
679
|
-
'body': JSON[_0x13230d(_0xd7145f._0x5e57ab)]({
|
|
680
|
-
'attachment_ids': _0x25fd2f[_0x13230d(0x240)],
|
|
681
|
-
'bodyMarkdown': _0x25fd2f[_0x13230d(0x157)],
|
|
682
|
-
'channelId': _0x144db7[_0x13230d(_0xd7145f._0x5b917d)],
|
|
683
|
-
..._0x410388[_0x13230d(0x255)] > 0x0 ? { 'mentionedParticipantIds': _0x410388 } : {},
|
|
684
|
-
'threadId': _0x144db7[_0x13230d(0x1b5)],
|
|
685
|
-
..._0x25fd2f[_0x13230d(_0xd7145f._0x189379)] ? { 'visibility': _0x25fd2f[_0x13230d(_0xd7145f._0x29851b)] } : {}
|
|
686
|
-
}),
|
|
687
|
-
'headers': _0x4b9d76,
|
|
688
|
-
'method': _0x13230d(0x1bb)
|
|
689
|
-
});
|
|
690
|
-
return { 'messageId': _0x5d1be6[_0x13230d(_0xd7145f._0x2aaf20)]?.['id'] ?? '' };
|
|
691
|
-
},
|
|
692
|
-
async 'listSchedules'() {
|
|
693
|
-
const _0x48bb12 = _0x4621fb, _0x3f030c = await _0x44de4d('/api/internal/schedules', {
|
|
694
|
-
'headers': _0x4b9d76,
|
|
695
|
-
'method': _0x48bb12(0xeb)
|
|
696
|
-
});
|
|
697
|
-
return _0x3f030c[_0x48bb12(0x1c7)] ?? [];
|
|
698
|
-
},
|
|
699
|
-
async 'claimScheduleRun'(_0x1857d9) {
|
|
700
|
-
const _0x278149 = _0x4621fb, _0x113145 = await _0x44de4d(_0x278149(_0x58c0cb._0xf8215f), {
|
|
701
|
-
'body': JSON[_0x278149(0x142)](_0x1857d9),
|
|
702
|
-
'headers': _0x4b9d76,
|
|
703
|
-
'method': 'POST'
|
|
704
|
-
});
|
|
705
|
-
return _0x113145['data'] ?? {
|
|
706
|
-
'granted': ![],
|
|
707
|
-
'runId': null,
|
|
708
|
-
'schedule': null,
|
|
709
|
-
'scheduledFor': _0x1857d9[_0x278149(_0x58c0cb._0x192550)]
|
|
710
|
-
};
|
|
711
|
-
},
|
|
712
|
-
async 'startScheduleRun'(_0x736c0b) {
|
|
713
|
-
const _0x460ac3 = _0x4621fb, _0x236c00 = await _0x44de4d(_0x460ac3(_0xa2065e._0xeaf51a) + encodeURIComponent(_0x736c0b[_0x460ac3(0x16e)]) + '/start', {
|
|
714
|
-
'body': JSON[_0x460ac3(_0xa2065e._0x5b32c4)]({}),
|
|
715
|
-
'headers': _0x4b9d76,
|
|
716
|
-
'method': _0x460ac3(0x1bb)
|
|
717
|
-
});
|
|
718
|
-
return _0x236c00[_0x460ac3(0x1c7)] ?? {
|
|
719
|
-
'claimedByDaemonId': '',
|
|
720
|
-
'id': _0x736c0b[_0x460ac3(0x16e)],
|
|
721
|
-
'scheduleId': '',
|
|
722
|
-
'status': _0x460ac3(0x113)
|
|
723
|
-
};
|
|
724
|
-
},
|
|
725
|
-
async 'finishScheduleRun'(_0x3f77db) {
|
|
726
|
-
const _0x3ddb44 = _0x4621fb, _0x316bde = await _0x44de4d('/api/internal/schedules/' + encodeURIComponent(_0x3f77db[_0x3ddb44(_0x2e4ccd._0x41aad0)]) + '/finish', {
|
|
727
|
-
'body': JSON[_0x3ddb44(_0x2e4ccd._0x510391)]({
|
|
728
|
-
'error': _0x3f77db['error'],
|
|
729
|
-
'resultJson': _0x3f77db[_0x3ddb44(0x241)],
|
|
730
|
-
'status': _0x3f77db[_0x3ddb44(0x1aa)]
|
|
731
|
-
}),
|
|
732
|
-
'headers': _0x4b9d76,
|
|
733
|
-
'method': _0x3ddb44(_0x2e4ccd._0x3d71e0)
|
|
734
|
-
});
|
|
735
|
-
return _0x316bde[_0x3ddb44(0x1c7)] ?? {
|
|
736
|
-
'nextRunAt': null,
|
|
737
|
-
'run': {
|
|
738
|
-
'claimedByDaemonId': '',
|
|
739
|
-
'id': _0x3f77db[_0x3ddb44(0x16e)],
|
|
740
|
-
'scheduleId': '',
|
|
741
|
-
'status': _0x3f77db[_0x3ddb44(0x1aa)]
|
|
742
|
-
}
|
|
743
|
-
};
|
|
744
|
-
},
|
|
745
|
-
async 'listTasks'(_0x4ec2f8) {
|
|
746
|
-
const _0x1455c4 = _0x4621fb, _0x2c8ae3 = new URLSearchParams();
|
|
747
|
-
return _0x2c8ae3[_0x1455c4(0x102)](_0x1455c4(0xf3), _0x4ec2f8[_0x1455c4(_0x1a21d5._0x399573)]), _0x4ec2f8['status'] && _0x2c8ae3[_0x1455c4(0x102)]('status', _0x4ec2f8['status']), _0x378f05(_0x1455c4(_0x1a21d5._0x586483) + _0x6a4cfc[_0x1455c4(_0x1a21d5._0x594d51)] + _0x1455c4(0x232) + _0x2c8ae3[_0x1455c4(0x13f)](), {
|
|
748
|
-
'headers': _0x4b9d76,
|
|
749
|
-
'method': _0x1455c4(0xeb)
|
|
750
|
-
});
|
|
751
|
-
},
|
|
752
|
-
async 'createTasks'(_0x565e1a) {
|
|
753
|
-
const _0x5982d6 = _0x4621fb;
|
|
754
|
-
return _0x378f05(_0x5982d6(0x18b) + _0x6a4cfc[_0x5982d6(_0x198b78._0xff391)] + _0x5982d6(_0x198b78._0x53b579), {
|
|
755
|
-
'body': JSON['stringify']({
|
|
756
|
-
..._0x565e1a,
|
|
757
|
-
'idempotency_key': _0x438753(_0x5982d6(_0x198b78._0x2f7abf), _0x565e1a)
|
|
758
|
-
}),
|
|
759
|
-
'headers': _0x4b9d76,
|
|
760
|
-
'method': _0x5982d6(_0x198b78._0x3301e8)
|
|
761
|
-
});
|
|
762
|
-
},
|
|
763
|
-
async 'claimTasks'(_0x3548a0) {
|
|
764
|
-
const _0x4e32df = _0x4621fb;
|
|
765
|
-
return _0x378f05(_0x4e32df(_0xf970d4._0x3a2ae8) + _0x6a4cfc[_0x4e32df(_0xf970d4._0x4b6aab)] + _0x4e32df(0x111), {
|
|
766
|
-
'body': JSON['stringify']({
|
|
767
|
-
..._0x3548a0,
|
|
768
|
-
'idempotency_key': _0x438753(_0x4e32df(0x23b), _0x3548a0)
|
|
769
|
-
}),
|
|
770
|
-
'headers': _0x4b9d76,
|
|
771
|
-
'method': _0x4e32df(_0xf970d4._0x480eb3)
|
|
772
|
-
});
|
|
773
|
-
},
|
|
774
|
-
async 'unclaimTask'(_0x199c9c) {
|
|
775
|
-
const _0x359bb2 = _0x4621fb;
|
|
776
|
-
return _0x378f05('/internal/agent/' + _0x6a4cfc[_0x359bb2(0x195)] + _0x359bb2(0xfa), {
|
|
777
|
-
'body': JSON[_0x359bb2(_0x434471._0x5ea0a7)]({
|
|
778
|
-
..._0x199c9c,
|
|
779
|
-
'idempotency_key': _0x438753(_0x359bb2(_0x434471._0x344455), _0x199c9c)
|
|
780
|
-
}),
|
|
781
|
-
'headers': _0x4b9d76,
|
|
782
|
-
'method': _0x359bb2(_0x434471._0x3e200a)
|
|
783
|
-
});
|
|
784
|
-
},
|
|
785
|
-
async 'updateTaskStatus'(_0x44ba09) {
|
|
786
|
-
const _0xdb17e5 = _0x4621fb;
|
|
787
|
-
return _0x378f05(_0xdb17e5(0x18b) + _0x6a4cfc[_0xdb17e5(0x195)] + _0xdb17e5(0x25a), {
|
|
788
|
-
'body': JSON[_0xdb17e5(0x142)]({
|
|
789
|
-
..._0x44ba09,
|
|
790
|
-
'idempotency_key': _0x438753(_0xdb17e5(_0x1d0822._0x1b58a0), _0x44ba09)
|
|
791
|
-
}),
|
|
792
|
-
'headers': _0x4b9d76,
|
|
793
|
-
'method': _0xdb17e5(_0x1d0822._0x341813)
|
|
794
|
-
});
|
|
795
|
-
},
|
|
796
|
-
async 'uploadFile'(_0x54c19b) {
|
|
797
|
-
const _0x551178 = _0x4621fb, _0x3f093e = await _0x2cc5dd(_0x54c19b['channel']);
|
|
798
|
-
if (_0x3f093e[_0x551178(_0x23d865._0x59f2f1)])
|
|
799
|
-
throw new Error(_0x551178(_0x23d865._0x5166b1));
|
|
800
|
-
const _0x19d81f = await _0x44de4d(_0x551178(0x18b) + _0x6a4cfc[_0x551178(0x195)] + _0x551178(_0x23d865._0x31c645), {
|
|
801
|
-
'body': JSON[_0x551178(0x142)]({
|
|
802
|
-
'channel': _0x3f093e[_0x551178(_0x23d865._0x15bb47)],
|
|
803
|
-
'contentBase64': _0x54c19b[_0x551178(0x1d2)],
|
|
804
|
-
'contentType': _0x54c19b[_0x551178(0x15f)],
|
|
805
|
-
'originalFilename': _0x54c19b[_0x551178(_0x23d865._0x2e8c2c)]
|
|
806
|
-
}),
|
|
807
|
-
'headers': _0x4b9d76,
|
|
808
|
-
'method': _0x551178(0x1bb)
|
|
809
|
-
});
|
|
810
|
-
return {
|
|
811
|
-
'attachmentId': _0x19d81f[_0x551178(_0x23d865._0x3a9f44)]?.['id'] ?? '',
|
|
812
|
-
'filename': _0x19d81f[_0x551178(_0x23d865._0xbbf33e)]?.[_0x551178(_0x23d865._0x4be844)] ?? _0x54c19b[_0x551178(_0x23d865._0x2e8c2c)],
|
|
813
|
-
'sizeBytes': _0x19d81f[_0x551178(0x1c7)]?.[_0x551178(0x189)] ?? 0x0
|
|
814
|
-
};
|
|
815
|
-
},
|
|
816
|
-
async 'downloadAttachment'(_0x4b61d9) {
|
|
817
|
-
const _0x1c6686 = _0x4621fb, _0xbd7f3b = await _0x44de4d(_0x1c6686(_0x19dcad._0x136584) + _0x4b61d9, {
|
|
818
|
-
'headers': _0x4b9d76,
|
|
819
|
-
'method': _0x1c6686(_0x19dcad._0x2d3c12)
|
|
820
|
-
}), _0x7c6521 = new AbortController(), _0x5c48f8 = setTimeout(() => _0x7c6521[_0x1c6686(0xcf)](), _0x49738b);
|
|
821
|
-
try {
|
|
822
|
-
const _0x1a725b = await _0x34531b(_0x222fb8 + _0x1c6686(0x158) + _0x4b61d9 + '/content', {
|
|
823
|
-
'headers': _0x4b9d76,
|
|
824
|
-
'method': _0x1c6686(_0x19dcad._0x2d3c12),
|
|
825
|
-
'signal': _0x7c6521[_0x1c6686(0x182)]
|
|
826
|
-
});
|
|
827
|
-
if (!_0x1a725b['ok'])
|
|
828
|
-
throw new Error(_0x1c6686(_0x19dcad._0x46aa36) + _0x1a725b[_0x1c6686(0x1aa)]);
|
|
829
|
-
return {
|
|
830
|
-
'contentType': _0xbd7f3b[_0x1c6686(_0x19dcad._0x1dd3b2)]?.[_0x1c6686(_0x19dcad._0x27c70e)] ?? _0x1a725b['headers'][_0x1c6686(0x1b6)](_0x1c6686(0x174)) ?? _0x1c6686(0x124),
|
|
831
|
-
'data': Buffer[_0x1c6686(0x21c)](await _0x1a725b[_0x1c6686(0x12c)]()),
|
|
832
|
-
'originalFilename': _0xbd7f3b[_0x1c6686(_0x19dcad._0x1dd3b2)]?.[_0x1c6686(_0x19dcad._0x1e693c)]
|
|
833
|
-
};
|
|
834
|
-
} finally {
|
|
835
|
-
clearTimeout(_0x5c48f8);
|
|
836
|
-
}
|
|
837
|
-
},
|
|
838
|
-
async 'listServer'() {
|
|
839
|
-
return _0x52bbc5({ 'forceRefresh': !![] });
|
|
840
|
-
},
|
|
841
|
-
async 'readHistory'(_0x4382a1) {
|
|
842
|
-
const _0x4db98a = _0x4621fb, _0x1fd0fd = await _0x2cc5dd(_0x4382a1[_0x4db98a(_0xb831af._0x124476)]);
|
|
843
|
-
return _0x8b961e({
|
|
844
|
-
'after': _0x4382a1[_0x4db98a(_0xb831af._0x2a8e75)],
|
|
845
|
-
'before': _0x4382a1['before'],
|
|
846
|
-
'channelId': _0x1fd0fd[_0x4db98a(_0xb831af._0x395a59)],
|
|
847
|
-
'channelTarget': _0x1fd0fd['target'],
|
|
848
|
-
'limit': _0x4382a1[_0x4db98a(0xf9)],
|
|
849
|
-
'threadId': _0x1fd0fd[_0x4db98a(0x1b5)]
|
|
850
|
-
});
|
|
851
|
-
},
|
|
852
|
-
'resolveTarget': _0x2cc5dd,
|
|
853
|
-
async 'checkMessages'() {
|
|
854
|
-
const _0x5befba = _0x4621fb, _0x573cda = new URLSearchParams();
|
|
855
|
-
_0x573cda[_0x5befba(_0x551076._0x3fc951)](_0x5befba(0x149), String(_0x19d497));
|
|
856
|
-
const _0x19e491 = _0x573cda['toString'](), _0x2209d7 = await _0x44de4d(_0x5befba(0x18b) + _0x6a4cfc[_0x5befba(0x195)] + _0x5befba(_0x551076._0x2d8afa) + (_0x19e491 ? '?' + _0x19e491 : ''), {
|
|
857
|
-
'headers': _0x4b9d76,
|
|
858
|
-
'method': _0x5befba(_0x551076._0x2b62bd)
|
|
859
|
-
}), _0x519fa9 = _0x2209d7[_0x5befba(_0x551076._0x4f580a)] ?? [], _0x87401e = _0x2209d7[_0x5befba(_0x551076._0x44fded)]?.[_0x5befba(0x225)], _0xbc8188 = _0x87401e !== void 0x0 ? Math[_0x5befba(0xe5)](_0x19d497, _0x87401e) : _0x519fa9[_0x5befba(0x255)] > 0x0 ? Math[_0x5befba(_0x551076._0x4934f5)](_0x19d497, _0x519fa9[_0x519fa9['length'] - 0x1][_0x5befba(0x185)]) : _0x19d497, _0x5a83a4 = _0x519fa9['filter'](_0x192b49 => _0x192b49[_0x5befba(0xe4)] === _0x5befba(0x1c3)), _0x5159be = _0x267aba === void 0x0 && _0x538a73;
|
|
860
|
-
let _0x701325 = await _0x52bbc5(), _0xc78ac0 = new Map(_0x701325[_0x5befba(0x156)][_0x5befba(0x14e)](_0x1cc92e => [
|
|
861
|
-
_0x1cc92e['id'],
|
|
862
|
-
_0x1cc92e
|
|
863
|
-
]));
|
|
864
|
-
const _0x1bcadc = _0x5a83a4[_0x5befba(_0x551076._0x3b88dc)](_0x521450 => {
|
|
865
|
-
const _0x1a66d8 = _0x5befba, _0x7c6716 = asRecord(_0x521450['payloadJson']), _0x5bab99 = typeof _0x7c6716?.[_0x1a66d8(0x252)] === _0x1a66d8(_0x2a4651._0x5f6f7) ? _0x7c6716['channelId'] : '';
|
|
866
|
-
return Boolean(_0x5bab99) && !_0xc78ac0['has'](_0x5bab99);
|
|
867
|
-
});
|
|
868
|
-
_0x1bcadc && (_0x701325 = await _0x52bbc5({ 'forceRefresh': !![] }), _0xc78ac0 = new Map(_0x701325[_0x5befba(_0x551076._0x15d1a7)]['map'](_0x3ef69b => [
|
|
869
|
-
_0x3ef69b['id'],
|
|
870
|
-
_0x3ef69b
|
|
871
|
-
])));
|
|
872
|
-
const _0x2e56b2 = new Map();
|
|
873
|
-
for (const _0x252aee of _0x5a83a4) {
|
|
874
|
-
const _0x6fd130 = asRecord(_0x252aee[_0x5befba(0x203)]), _0x4bd5ac = typeof _0x6fd130[_0x5befba(_0x551076._0x59ad90)] === 'string' ? _0x6fd130[_0x5befba(_0x551076._0x9442b4)] : '';
|
|
875
|
-
if (!_0x4bd5ac)
|
|
876
|
-
continue;
|
|
877
|
-
const _0x1d224c = typeof _0x6fd130[_0x5befba(0x1b5)] === _0x5befba(0x207) ? _0x6fd130['threadId'] : void 0x0, _0x13fd06 = typeof _0x6fd130[_0x5befba(_0x551076._0x32d96f)] === 'string' ? _0x6fd130['rootMessageId'] : void 0x0, _0x4b77a7 = typeof _0x6fd130['threadNumber'] === _0x5befba(_0x551076._0xb2e733) && Number[_0x5befba(_0x551076._0x589c0f)](_0x6fd130[_0x5befba(0x1cf)]) ? _0x6fd130[_0x5befba(0x1cf)] : void 0x0, _0xa05b1b = Boolean(_0x1d224c && (!_0x13fd06 || _0x252aee[_0x5befba(0x104)] !== _0x13fd06)), _0x9f67e8 = _0xa05b1b ? _0x4bd5ac + ':' + _0x1d224c : _0x4bd5ac, _0x472b44 = _0x2e56b2['get'](_0x9f67e8) ?? {
|
|
878
|
-
'aggregateIds': [],
|
|
879
|
-
'channelId': _0x4bd5ac,
|
|
880
|
-
'entries': new Map(),
|
|
881
|
-
'isThreadReply': _0xa05b1b,
|
|
882
|
-
'rootMessageId': _0x13fd06,
|
|
883
|
-
'threadNumber': _0x4b77a7,
|
|
884
|
-
'threadId': _0xa05b1b ? _0x1d224c : void 0x0
|
|
885
|
-
};
|
|
886
|
-
_0x472b44[_0x5befba(0x1cf)] == null && _0x4b77a7 != null && (_0x472b44[_0x5befba(_0x551076._0x45caa3)] = _0x4b77a7), !_0x472b44[_0x5befba(0x236)] && _0x13fd06 && (_0x472b44[_0x5befba(_0x551076._0x32d96f)] = _0x13fd06), _0x472b44['aggregateIds']['push'](_0x252aee[_0x5befba(_0x551076._0x1e498e)]), _0x472b44[_0x5befba(_0x551076._0x1959dd)][_0x5befba(_0x551076._0x3fc951)](_0x252aee[_0x5befba(_0x551076._0x1e498e)], {
|
|
887
|
-
'payloadJson': _0x252aee[_0x5befba(0x203)],
|
|
888
|
-
'seq': _0x252aee['seq']
|
|
889
|
-
}), _0x2e56b2[_0x5befba(_0x551076._0x125564)](_0x9f67e8, _0x472b44);
|
|
890
|
-
}
|
|
891
|
-
const _0x146882 = [];
|
|
892
|
-
for (const _0x47a398 of _0x2e56b2[_0x5befba(0x239)]()) {
|
|
893
|
-
const {
|
|
894
|
-
channelId: _0x559fa1,
|
|
895
|
-
threadId: _0x168838,
|
|
896
|
-
rootMessageId: _0x4dfa8d,
|
|
897
|
-
threadNumber: _0x4317eb,
|
|
898
|
-
aggregateIds: _0x3f4f3a,
|
|
899
|
-
isThreadReply: _0x4d4402,
|
|
900
|
-
entries: _0x511cdb
|
|
901
|
-
} = _0x47a398, _0x382ae4 = _0xc78ac0[_0x5befba(0x1b6)](_0x559fa1), _0x3e5170 = _0x382ae4?.[_0x5befba(_0x551076._0x567c6c)] ?? _0x559fa1, _0x317445 = _0x382ae4?.['kind'] === 'dm' ? _0x5befba(0x138) + _0x3e5170 : '#' + _0x3e5170, _0x5c3451 = {
|
|
902
|
-
'channelTarget': _0x317445,
|
|
903
|
-
'rootMessageId': _0x4dfa8d,
|
|
904
|
-
'threadId': _0x168838,
|
|
905
|
-
'threadNumber': _0x4317eb
|
|
906
|
-
}, _0x5f3839 = await _0x8b961e({
|
|
907
|
-
'channelId': _0x559fa1,
|
|
908
|
-
'channelTarget': _0x317445,
|
|
909
|
-
'limit': Math[_0x5befba(0xe5)](_0x3f4f3a['length'], 0x32),
|
|
910
|
-
'threadId': _0x168838
|
|
911
|
-
}), _0x57cacb = new Map(_0x5f3839['messages']['map'](_0x1bb599 => [
|
|
912
|
-
_0x1bb599[_0x5befba(0x139)],
|
|
913
|
-
_0x1bb599
|
|
914
|
-
])), _0x33c726 = _0x168838 ? _0x38340d(_0x5c3451) : _0x317445, _0x48eff4 = _0x267aba ? _0x4d4402 && _0x595abf(_0x267aba, _0x5c3451) : !![], _0x45f7a5 = _0x4d4402 ? _0x48eff4 && _0x267aba ? _0x267aba : _0x33c726 : _0x317445;
|
|
915
|
-
for (const _0x3dcce1 of _0x3f4f3a) {
|
|
916
|
-
if (!_0x48eff4)
|
|
917
|
-
continue;
|
|
918
|
-
const _0x48f389 = _0x511cdb[_0x5befba(0x1b6)](_0x3dcce1), _0x3fe429 = _0x48f389 ? asRecord(_0x48f389['payloadJson']) : void 0x0, _0x26c2be = _0x3fe429?.['taskDeliveryMode'] === _0x5befba(_0x551076._0xd4a0d0);
|
|
919
|
-
if (_0x5159be && _0x26c2be)
|
|
920
|
-
continue;
|
|
921
|
-
const _0x410cc7 = _0x57cacb[_0x5befba(0x1b6)](_0x3dcce1);
|
|
922
|
-
if (_0x410cc7) {
|
|
923
|
-
_0x146882[_0x5befba(0x1fb)]({
|
|
924
|
-
'attachments': _0x410cc7[_0x5befba(_0x551076._0x2230b2)],
|
|
925
|
-
'content': _0x410cc7[_0x5befba(0x157)],
|
|
926
|
-
'createdAt': _0x410cc7['createdAt'],
|
|
927
|
-
..._0x410cc7['kind'] ? { 'kind': _0x410cc7[_0x5befba(_0x551076._0x18f43c)] } : {},
|
|
928
|
-
'messageId': _0x410cc7[_0x5befba(0x139)],
|
|
929
|
-
'senderName': _0x410cc7[_0x5befba(_0x551076._0x200d3c)],
|
|
930
|
-
'senderType': _0x410cc7[_0x5befba(0x1a7)],
|
|
931
|
-
'target': _0x45f7a5,
|
|
932
|
-
..._0x26c2be ? { 'targetedTask': !![] } : {}
|
|
933
|
-
});
|
|
934
|
-
continue;
|
|
935
|
-
}
|
|
936
|
-
if (_0x48f389) {
|
|
937
|
-
const _0x5b4524 = typeof _0x3fe429?.[_0x5befba(_0x551076._0x4f5eea)] === _0x5befba(0x207) ? _0x3fe429[_0x5befba(0x208)] : '', _0x11ec6f = typeof _0x3fe429?.[_0x5befba(0x200)] === 'string' ? _0x3fe429[_0x5befba(0x200)] : '', _0x11dbc4 = typeof _0x3fe429?.[_0x5befba(_0x551076._0x18f43c)] === _0x5befba(0x207) && _0x3fe429[_0x5befba(0x215)] !== _0x5befba(_0x551076._0x63cd7f) ? _0x3fe429[_0x5befba(_0x551076._0x18f43c)] : void 0x0;
|
|
938
|
-
_0x5b4524 && _0x11ec6f && _0x146882[_0x5befba(_0x551076._0x2d4a71)]({
|
|
939
|
-
'attachments': [],
|
|
940
|
-
'content': _0x11ec6f,
|
|
941
|
-
'createdAt': new Date()[_0x5befba(0x161)](),
|
|
942
|
-
..._0x11dbc4 ? { 'kind': _0x11dbc4 } : {},
|
|
943
|
-
'messageId': _0x3dcce1,
|
|
944
|
-
'senderName': _0x5b4524,
|
|
945
|
-
'senderType': _0x1ea2c2(_0x5b4524, _0x701325),
|
|
946
|
-
'target': _0x45f7a5,
|
|
947
|
-
..._0x26c2be ? { 'targetedTask': !![] } : {}
|
|
948
|
-
});
|
|
949
|
-
}
|
|
950
|
-
}
|
|
951
|
-
}
|
|
952
|
-
if (_0xbc8188 > 0x0) {
|
|
953
|
-
if (_0x505c02)
|
|
954
|
-
await _0x140aa8(_0xbc8188);
|
|
955
|
-
else
|
|
956
|
-
_0x3b3722 && await _0x53d021(_0xbc8188);
|
|
957
|
-
}
|
|
958
|
-
return _0xbc8188 > _0x19d497 && (_0x19d497 = _0xbc8188), { 'messages': _0x267aba ? _0x146882 : _0x5159be ? _0x146882['filter'](_0x2f8c77 => _0x2f8c77['targetedTask'] !== !![]) : _0x146882 };
|
|
959
|
-
}
|
|
960
|
-
};
|
|
961
|
-
}
|
|
962
|
-
function toLocalTime(_0x3cc81e) {
|
|
963
|
-
const _0x4c7f4e = {
|
|
964
|
-
_0x586581: 0x257,
|
|
965
|
-
_0x127550: 0xd6,
|
|
966
|
-
_0xba1e6a: 0x12a,
|
|
967
|
-
_0xccf87d: 0x22c
|
|
968
|
-
}, _0x2bcf77 = _0x27ce1c, _0x474eb5 = new Date(_0x3cc81e);
|
|
969
|
-
if (Number[_0x2bcf77(0x1ef)](_0x474eb5[_0x2bcf77(_0x4c7f4e._0x586581)]()))
|
|
970
|
-
return _0x3cc81e;
|
|
971
|
-
const _0x323b09 = _0x16b847 => String(_0x16b847)[_0x2bcf77(0x120)](0x2, '0');
|
|
972
|
-
return _0x474eb5[_0x2bcf77(_0x4c7f4e._0x127550)]() + '-' + _0x323b09(_0x474eb5[_0x2bcf77(_0x4c7f4e._0xba1e6a)]() + 0x1) + '-' + _0x323b09(_0x474eb5[_0x2bcf77(0x244)]()) + '\x20' + _0x323b09(_0x474eb5['getHours']()) + ':' + _0x323b09(_0x474eb5[_0x2bcf77(_0x4c7f4e._0xccf87d)]()) + ':' + _0x323b09(_0x474eb5[_0x2bcf77(0x18a)]());
|
|
973
|
-
}
|
|
974
|
-
function formatAttachmentSuffix(_0x5a9a6c) {
|
|
975
|
-
const _0x289290 = {
|
|
976
|
-
_0x26fdf3: 0x255,
|
|
977
|
-
_0x3018bd: 0x255
|
|
978
|
-
}, _0x2dbb3b = _0x27ce1c;
|
|
979
|
-
if (!_0x5a9a6c || _0x5a9a6c[_0x2dbb3b(_0x289290._0x26fdf3)] === 0x0)
|
|
980
|
-
return '';
|
|
981
|
-
return '\x20[' + _0x5a9a6c[_0x2dbb3b(_0x289290._0x3018bd)] + '\x20attachment' + (_0x5a9a6c['length'] > 0x1 ? 's' : '') + ':\x20' + _0x5a9a6c[_0x2dbb3b(0x14e)](_0x44a2eb => _0x44a2eb['filename'] + _0x2dbb3b(0x233) + _0x44a2eb['id'] + ')')[_0x2dbb3b(0x172)](',\x20') + '\x20—\x20use\x20view_file\x20to\x20see]';
|
|
982
|
-
}
|
|
983
|
-
function formatCheckMessages(_0x4660a9) {
|
|
984
|
-
const _0x442a2c = {
|
|
985
|
-
_0x2e88a0: 0x255,
|
|
986
|
-
_0x24dc48: 0x14e
|
|
987
|
-
}, _0x23c641 = {
|
|
988
|
-
_0x3c7351: 0x1a7,
|
|
989
|
-
_0x4311ad: 0x1e5,
|
|
990
|
-
_0x80fd8c: 0xfe,
|
|
991
|
-
_0x1a9e2f: 0x12e,
|
|
992
|
-
_0x56a66c: 0x139,
|
|
993
|
-
_0xe5bb54: 0xd0,
|
|
994
|
-
_0x3b6837: 0x21f,
|
|
995
|
-
_0x5d70a4: 0x10b,
|
|
996
|
-
_0x2541b6: 0x157
|
|
997
|
-
}, _0x122826 = _0x27ce1c;
|
|
998
|
-
if (_0x4660a9[_0x122826(_0x442a2c._0x2e88a0)] === 0x0)
|
|
999
|
-
return _0x122826(0x1d6);
|
|
1000
|
-
return _0x4660a9[_0x122826(_0x442a2c._0x24dc48)](_0x147050 => {
|
|
1001
|
-
const _0x14a8c4 = _0x122826, _0x5826bd = _0x147050[_0x14a8c4(_0x23c641._0x3c7351)] === _0x14a8c4(_0x23c641._0x4311ad) ? _0x14a8c4(0x128) : '', _0x18c95d = _0x147050['kind'] && _0x147050['kind'] !== _0x14a8c4(_0x23c641._0x80fd8c) ? _0x14a8c4(_0x23c641._0x1a9e2f) + _0x147050[_0x14a8c4(0x215)] : '';
|
|
1002
|
-
return _0x14a8c4(0x1fe) + _0x147050['target'] + _0x14a8c4(0x20e) + _0x147050[_0x14a8c4(_0x23c641._0x56a66c)][_0x14a8c4(_0x23c641._0xe5bb54)](0x0, 0x8) + _0x14a8c4(_0x23c641._0x3b6837) + toLocalTime(_0x147050[_0x14a8c4(_0x23c641._0x5d70a4)]) + _0x5826bd + _0x18c95d + _0x14a8c4(0x165) + _0x147050[_0x14a8c4(0x150)] + ':\x20' + _0x147050[_0x14a8c4(_0x23c641._0x2541b6)] + formatAttachmentSuffix(_0x147050['attachments']);
|
|
1003
|
-
})[_0x122826(0x172)]('\x0a');
|
|
226
|
+
_0x376e0c[_0x3e5b07(_0x25a3be._0xca16f2)] === _0x3e5b07(_0x25a3be._0x916d6e) && (_0x376e0c['protocol'] = _0x3e5b07(0x28e));
|
|
227
|
+
return _0x376e0c['toString']()['replace'](/\/$/, '');
|
|
1004
228
|
}
|
|
1005
|
-
function
|
|
1006
|
-
const
|
|
1007
|
-
'
|
|
1008
|
-
'lcbJB250zw50lxr5Cgu9',
|
|
1009
|
-
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
1010
|
-
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
1011
|
-
'ywjVCNrLza',
|
|
1012
|
-
'iYmJiefNzw50CW',
|
|
1013
|
-
'CgfKu3rHCNq',
|
|
1014
|
-
'AxnbCNjHEq',
|
|
1015
|
-
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
1016
|
-
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
1017
|
-
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
1018
|
-
'CgfYDgLJAxbHBNrjza',
|
|
1019
|
-
'Aw1Hz2uVANbLzW',
|
|
1020
|
-
'C2vUzf9TzxnZywDL',
|
|
229
|
+
function _0x275c() {
|
|
230
|
+
const _0x33316c = [
|
|
231
|
+
'DxbKyxrLvgfZA1n0yxr1CW',
|
|
1021
232
|
'ihr5Cgu9ywDLBNq',
|
|
1022
|
-
'
|
|
1023
|
-
'
|
|
1024
|
-
'
|
|
1025
|
-
'
|
|
1026
|
-
'
|
|
1027
|
-
'
|
|
1028
|
-
'
|
|
1029
|
-
'
|
|
1030
|
-
'
|
|
1031
|
-
'
|
|
1032
|
-
'
|
|
1033
|
-
'
|
|
1034
|
-
'
|
|
233
|
+
'l3DVCMTLCNmVCMvZDwX0p3DVCMTFA2v5pq',
|
|
234
|
+
'l3jLC29SDMuTy2HHBM5LBa',
|
|
235
|
+
'zMfPBgvK',
|
|
236
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
237
|
+
'mc4WlJa',
|
|
238
|
+
'twvZC2fNzsbZzw50ihrVia',
|
|
239
|
+
't3b0Aw9UywWUieLMig9TAxr0zwqSihrOzsbTzxnZywDLigLZihb1yMXPyY4Gsw4GDgfZAYb0AhjLywrZlcbZzxqGiMfZAwrLiIbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Grg8GBM90ihnLDcbVDxrZAwrLihrOCMvHzhmU',
|
|
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',
|
|
1035
253
|
'CMvZB2X2zvrHCMDLDa',
|
|
1036
|
-
'
|
|
1037
|
-
'zg06',
|
|
1038
|
-
'BwvZC2fNzuLK',
|
|
1039
|
-
'oti1mJKWv2T6qNDN',
|
|
1040
|
-
'tM8GDgfZA3mGy2XHAw1Lzc4',
|
|
1041
|
-
'vgfZAZOG',
|
|
1042
|
-
'zMv0y2HjBxbS',
|
|
1043
|
-
'ig1LC3nHz2vZihnOB3DUlIbvC2uGyMvMB3jLpq',
|
|
1044
|
-
'Dg9tDhjPBMC',
|
|
1045
|
-
'ANnVBG',
|
|
1046
|
-
'yxr0ywnOBwvUDeLK',
|
|
1047
|
-
'C3rYAw5NAwz5',
|
|
1048
|
-
'l3nLCNzLCG',
|
|
1049
|
-
'B3b0Aw9UywW',
|
|
1050
|
-
'lNnSB2nR',
|
|
1051
|
-
'zxnJywXHDgvFDg9FBwfPBG',
|
|
1052
|
-
'DgvZDa',
|
|
254
|
+
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
1053
255
|
'zg9Uzq',
|
|
1054
|
-
'
|
|
1055
|
-
'ig1LC3nHz2vZkqOk',
|
|
1056
|
-
'zMLUzenHy2HLzfbHDgG',
|
|
1057
|
-
'C2vZC2LVBKLK',
|
|
1058
|
-
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
1059
|
-
'BwfW',
|
|
1060
|
-
'l3vWBg9Hza',
|
|
1061
|
-
'C2vUzgvYtMfTzq',
|
|
1062
|
-
'lsba',
|
|
1063
|
-
'zxH0BMfTzq',
|
|
1064
|
-
'Dgv4Dc9WBgfPBG',
|
|
1065
|
-
'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
|
|
1066
|
-
'zxjYB3i',
|
|
1067
|
-
'y2HHBM5LBhm',
|
|
1068
|
-
'y29UDgvUDa',
|
|
1069
|
-
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
256
|
+
'Bwv0yq',
|
|
1070
257
|
'ls1Hz2vUDc1Pza',
|
|
1071
|
-
'
|
|
1072
|
-
'
|
|
1073
|
-
'
|
|
1074
|
-
'
|
|
1075
|
-
'
|
|
1076
|
-
'
|
|
1077
|
-
'
|
|
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',
|
|
1078
280
|
'Dg9ju09tDhjPBMC',
|
|
1079
|
-
'
|
|
1080
|
-
'
|
|
1081
|
-
'
|
|
1082
|
-
'
|
|
1083
|
-
'
|
|
1084
|
-
'
|
|
1085
|
-
'
|
|
1086
|
-
'
|
|
281
|
+
'CxvLDwvK',
|
|
282
|
+
'zw50CMLLCW',
|
|
283
|
+
'igTPBMq9',
|
|
284
|
+
'Dg9VBa',
|
|
285
|
+
'z2v0vgLTzq',
|
|
286
|
+
'z2v0sg91CNm',
|
|
287
|
+
'uM9VDcb0yxnRig1LC3nHz2uGAwq6ia',
|
|
288
|
+
'zMLUAxnOx3DVCMTLCG',
|
|
289
|
+
'AxnjBNrLz2vY',
|
|
290
|
+
'vgfZAYa',
|
|
291
|
+
'Ahr0CdO',
|
|
292
|
+
'C3rHCNrZv2L0Aa',
|
|
1087
293
|
'D29YA2vYrgLZCg9ZAxrPB249',
|
|
1088
|
-
'
|
|
1089
|
-
'
|
|
294
|
+
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
295
|
+
'DgL0Bgu',
|
|
296
|
+
'AwrSzq',
|
|
297
|
+
'C2XPy2u',
|
|
298
|
+
'CgfKu3rHCNq',
|
|
299
|
+
'C2vUze1LC3nHz2u',
|
|
300
|
+
'odm2ntG2nu5IwKrruq',
|
|
301
|
+
'C2vYDMvYvxjS',
|
|
302
|
+
'l3vWBg9Hza',
|
|
303
|
+
'lsba',
|
|
1090
304
|
'zgLZCg9ZAxrPB24',
|
|
1091
|
-
'
|
|
1092
|
-
'
|
|
1093
|
-
'
|
|
1094
|
-
'
|
|
1095
|
-
'
|
|
1096
|
-
'
|
|
1097
|
-
'
|
|
1098
|
-
'
|
|
1099
|
-
'
|
|
1100
|
-
'
|
|
1101
|
-
'
|
|
305
|
+
'ywjVCNq',
|
|
306
|
+
'ihrPBwu9',
|
|
307
|
+
'AxngAw5PDgu',
|
|
308
|
+
'D2fPDgLUz19PBNb1Da',
|
|
309
|
+
'y2HHBM5LBe5HBwu',
|
|
310
|
+
'cGOTls0G',
|
|
311
|
+
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
312
|
+
'AhjLzG',
|
|
313
|
+
'DgHYzwfKswq',
|
|
314
|
+
'A2LUza',
|
|
315
|
+
'lMjPBG',
|
|
316
|
+
'y2fJAgveAxi',
|
|
317
|
+
'ywDNCMvNyxrLswrZ',
|
|
1102
318
|
'D29YA2vYtw9KzuvUywjSzwq',
|
|
1103
|
-
'
|
|
1104
|
-
'
|
|
1105
|
-
'nJi1ntCWmNrhyLPjEG',
|
|
1106
|
-
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
1107
|
-
'nda1mJiWC0LHt2Pp',
|
|
1108
|
-
'C2vUze1LC3nHz2u',
|
|
1109
|
-
'Aw1Hz2uVz2LM',
|
|
1110
|
-
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
1111
|
-
'C2LNBMfS',
|
|
1112
|
-
'u2LNBMfSihrOyxqGDgHLign1CNjLBNqGD29YA2vYihnLC3nPB24GAxmGzMLUAxnOzwqGyw5KihbYB3zPzguGysbYzxn1BhqGC3vTBwfYEs4',
|
|
1113
|
-
'4PQG77IpifDpuKTfuIbbq1rjvKfuruqG4Ocuifn0B3aGquXmihDVCMSGB24GDgHPCYb0yxnRigLTBwvKAwf0zwX5lIbeBYbUB3qGC2vUzcbMDxj0AgvYig1LC3nHz2vZihrVihrOAxmGDgHYzwfKlG',
|
|
1114
|
-
'C2vX',
|
|
1115
|
-
'ig1LC3nHz2u9',
|
|
319
|
+
'vgHYzwfKihrHCMDLDdOG',
|
|
320
|
+
'C3rYAw5N',
|
|
1116
321
|
'zMLUza',
|
|
1117
|
-
'
|
|
1118
|
-
'
|
|
1119
|
-
'
|
|
1120
|
-
'
|
|
1121
|
-
'
|
|
1122
|
-
'
|
|
322
|
+
'l3rHC2TZl2nSywLT',
|
|
323
|
+
'iYmJienOyw5UzwXZ',
|
|
324
|
+
'ls1Zzxj2zxiTDxjS',
|
|
325
|
+
'zMLSzw5HBwu',
|
|
326
|
+
'BgLZDfnLCNzLCG',
|
|
327
|
+
'xsbaC3LZDgvToIbBy2XHAw0TAgfUzg9MzL0G',
|
|
328
|
+
'DgfZAY0',
|
|
329
|
+
'y2HLy2TFBwvZC2fNzxmGzMfPBgvK',
|
|
330
|
+
'y3jLyxrLvgfZA3m',
|
|
331
|
+
'BNvTyMvY',
|
|
332
|
+
'v29YA2vYici',
|
|
333
|
+
'mtjdzvrXyw0',
|
|
334
|
+
'y2XPzw50',
|
|
335
|
+
'ls1KywvTB24TBg9JywWTDxjS',
|
|
336
|
+
'mNbnCvjHtW',
|
|
337
|
+
'Aw5FChjVz3jLC3m',
|
|
338
|
+
'icHPzdO',
|
|
339
|
+
'tM8GDgfZA3mGy3jLyxrLzc4',
|
|
1123
340
|
'BMv4Den1CNnVCG',
|
|
1124
|
-
'
|
|
1125
|
-
'
|
|
1126
|
-
'
|
|
341
|
+
'l3n0yxj0',
|
|
342
|
+
'zgvZy3jPChrPB24',
|
|
343
|
+
'DgfZA0LK',
|
|
344
|
+
'iYmGu2vYDMvYoIa',
|
|
345
|
+
'ywrKrxzLBNrmAxn0zw5LCG',
|
|
346
|
+
'BwvZC2fNzxm',
|
|
347
|
+
'y29UBMvJDa',
|
|
348
|
+
'Dgv4Dc9JC3y',
|
|
349
|
+
'kg5VBMuP',
|
|
350
|
+
'igfSCMvHzhKGAgfZigfUigfJDgL2zsb3B3jRzxiUihn0B3bnywLUpxrYDwuGzxHLy3v0Aw9Utw9Kzt13B3jRzxi',
|
|
1127
351
|
'y3jLyxrLx3rHC2TZ',
|
|
1128
|
-
'
|
|
1129
|
-
'
|
|
1130
|
-
'
|
|
1131
|
-
'
|
|
1132
|
-
'
|
|
1133
|
-
'
|
|
1134
|
-
'Dg9VBa',
|
|
1135
|
-
'xsbaC3LZDgvToIbBy2XHAw0TAgfUzg9MzL0G',
|
|
352
|
+
'DMLLD19MAwXL',
|
|
353
|
+
'l2HPC3rVCNK/',
|
|
354
|
+
'C2L6zq',
|
|
355
|
+
'ig1LC3nHz2vZkqOk',
|
|
356
|
+
'CNvUswq',
|
|
357
|
+
'CMvHzeHPC3rVCNK',
|
|
1136
358
|
'Aw5FCMv2Awv3',
|
|
1137
|
-
'
|
|
1138
|
-
'
|
|
359
|
+
'AgfZtw9Yzq',
|
|
360
|
+
'DxbSB2fKx2zPBguGzMfPBgvK',
|
|
361
|
+
'DgHYzwfK',
|
|
362
|
+
'CNvUBMLUzW',
|
|
363
|
+
'zxHLy3v0Aw9Utw9Kzt0',
|
|
364
|
+
'yxjYyxK',
|
|
365
|
+
'CgfYDgLJAxbHBNq',
|
|
366
|
+
'Bwf0y2Hoyw1Ltg93zxi',
|
|
367
|
+
'Agv4',
|
|
368
|
+
'Aw1Hz2uVANbLzW',
|
|
369
|
+
'zg06',
|
|
370
|
+
'DgfYz2v0zwruyxnR',
|
|
371
|
+
'uMv0CMLLDMuGDgHLihjLC3vSDcaOCMvZDw1LihbHy2TLDcKGB2yGysbJB21WBgv0zwqGD29YA2vYlG',
|
|
372
|
+
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
373
|
+
'yM9KEu1HCMTKB3DU',
|
|
374
|
+
'uM9VDcb0yxnRig1LC3nHz2u6cG',
|
|
375
|
+
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
376
|
+
'C2nOzwr1BgvKrM9Y',
|
|
377
|
+
'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlG',
|
|
378
|
+
'yxbWBgLJyxrPB24VEMLW',
|
|
379
|
+
'u2vUzcbHig1LC3nHz2uUieLMihzPC2LIAwXPDhKGAxmGB21PDhrLzcWGDgHLig1LC3nHz2uGAxmGChvIBgLJlIbjBIb0yxnRihrOCMvHzhmSihnLDcb2AxnPyMLSAxr5oIbHC2LKzsbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Gt3v0C2LKzsb0AhjLywrZlcbKBYbUB3qGC2v0ihzPC2LIAwXPDhKUifjLDxnLihrOzsbLEgfJDcb0yxjNzxqGC3rYAw5NigzYB20GAw5JB21PBMCGBwvZC2fNzxmU',
|
|
380
|
+
'khvUA25VD24P',
|
|
381
|
+
'yxr0ywnOBwvUDeLKCW',
|
|
382
|
+
'ignSywLTzwq',
|
|
383
|
+
'xsba',
|
|
384
|
+
'DgHYzwfKvgfYz2v0pq',
|
|
385
|
+
'DgfZA19Pza',
|
|
386
|
+
'w3nLCt0',
|
|
387
|
+
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
388
|
+
'zxH0BMfTzq',
|
|
389
|
+
'igLUia',
|
|
390
|
+
'C3vJy2vZCW',
|
|
391
|
+
'D3m6',
|
|
392
|
+
'cUkAOo+4JYbxt1jlrviGqunusvzbveveiokaLcbtDg9Wiefmtcb3B3jRig9UihrOAxmGDgfZAYbPBw1LzgLHDgvSEs4Gv29YA2vYigHHBMrSzxmGzxHLy3v0Aw9UigvUzc10BY1LBMqU',
|
|
393
|
+
'BwvTyMvYCW',
|
|
394
|
+
'tM8GDgfZA3mGzM91BMqU',
|
|
395
|
+
'DgvZDa',
|
|
396
|
+
'iIbUB3qGzM91BMq',
|
|
397
|
+
'CMvZDwX0sNnVBG',
|
|
398
|
+
'CMvZCg9UC2u',
|
|
399
|
+
'DgHYzwfKtNvTyMvY',
|
|
400
|
+
'r0vu',
|
|
401
|
+
'mtjuyK5SEgq',
|
|
402
|
+
'C2vUzgvYtMfTzq',
|
|
403
|
+
'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
|
|
1139
404
|
'Aw5JBhvKzxm',
|
|
1140
|
-
'
|
|
1141
|
-
'
|
|
1142
|
-
'
|
|
1143
|
-
'
|
|
1144
|
-
'
|
|
1145
|
-
'
|
|
1146
|
-
'
|
|
1147
|
-
'
|
|
1148
|
-
'
|
|
405
|
+
'CMvZDw1Lx3bHy2TLDa',
|
|
406
|
+
'yM9KEvrLEhq',
|
|
407
|
+
'D29YA2vY',
|
|
408
|
+
'yxr0ywnOBwvUDf9Pza',
|
|
409
|
+
'BwfW',
|
|
410
|
+
'Dg9KBW',
|
|
411
|
+
'C2vZC2LVBKLK',
|
|
412
|
+
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4',
|
|
413
|
+
'Cgf5Bg9HzePZB24',
|
|
1149
414
|
'CMvZDwX0CW',
|
|
1150
|
-
'
|
|
1151
|
-
'C3rHDhvZ',
|
|
1152
|
-
'zMLSzxnFy2HHBMDLza',
|
|
415
|
+
'B2jQzwn0',
|
|
1153
416
|
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
1154
|
-
'
|
|
1155
|
-
'
|
|
1156
|
-
'
|
|
1157
|
-
'
|
|
1158
|
-
'
|
|
1159
|
-
'
|
|
1160
|
-
'
|
|
417
|
+
'zxHWAxjLC0f0',
|
|
418
|
+
'y3jLyxrLzef0',
|
|
419
|
+
'zgvSzxrL',
|
|
420
|
+
'Dg9tDhjPBMC',
|
|
421
|
+
'DMLZAwjPBgL0Eq',
|
|
422
|
+
'mtuXmZyZnZbKrKjHrvC',
|
|
423
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
424
|
+
'zM9Yy2vszwzYzxnO',
|
|
425
|
+
'C2vX',
|
|
426
|
+
'BgLTAxq',
|
|
427
|
+
'zgfLBw9Utg9JywXvCMW',
|
|
428
|
+
'yxr0ywnOBwvUDeLK',
|
|
429
|
+
'CMvXDwvZDfvYBa',
|
|
1161
430
|
'sw52ywXPzcaTlwLUAxrPywWTBgfZDc1ZzwvUlxnLCq',
|
|
1162
|
-
'
|
|
1163
|
-
'
|
|
1164
|
-
'
|
|
1165
|
-
'
|
|
1166
|
-
'
|
|
1167
|
-
'
|
|
1168
|
-
'
|
|
1169
|
-
'
|
|
1170
|
-
'
|
|
1171
|
-
'
|
|
1172
|
-
'
|
|
1173
|
-
'
|
|
1174
|
-
'
|
|
1175
|
-
'
|
|
431
|
+
'y2HHBM5LBfrHCMDLDa',
|
|
432
|
+
'iYmJieH1BwfUCW',
|
|
433
|
+
'igzHAwXLzdOG',
|
|
434
|
+
'BgLZDf90yxnRCW',
|
|
435
|
+
'BgLZDf9Zzxj2zxi',
|
|
436
|
+
'DMLLD19MAwXLigzHAwXLza',
|
|
437
|
+
'D29YA2vYu2vZC2LVBKLK',
|
|
438
|
+
'z2v0x3DVCMTLCL9ZDgf0DxmGzMfPBgvK',
|
|
439
|
+
'BwvKAxvT',
|
|
440
|
+
'yxr0ywnOBwvUDenHy2HL',
|
|
441
|
+
'zNjVBq',
|
|
442
|
+
'y2XHAw1FDgfZA3mGzMfPBgvK',
|
|
443
|
+
'zxzLBNrtzxe',
|
|
444
|
+
'C3rVCe1HAw4',
|
|
445
|
+
'CMvJB3jK',
|
|
446
|
+
'C3rVCe1HAw49Dhj1zq',
|
|
447
|
+
'zw50zxiTAgfUzg9MzIbMywLSzwq',
|
|
448
|
+
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
449
|
+
'y2HHBM5LBa',
|
|
450
|
+
'Aw1Hz2uVz2LM',
|
|
451
|
+
'C3rHDhvZ',
|
|
452
|
+
'C2HHmJu2',
|
|
1176
453
|
'BwvZC2fNzq',
|
|
1177
|
-
'zMLSzw5HBwu',
|
|
1178
|
-
'BMfTzq',
|
|
1179
|
-
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
1180
|
-
'zgf0yq',
|
|
1181
|
-
'uefuq0G',
|
|
1182
|
-
'mtbIBvfutgi',
|
|
1183
|
-
'Bwv0yq',
|
|
1184
|
-
'mJDgCxrsqvK',
|
|
1185
|
-
'C3rHCNrZv2L0Aa',
|
|
1186
|
-
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
1187
|
-
'ihn0yxr1CZ0',
|
|
1188
|
-
'DgHYzwfKtNvTyMvY',
|
|
1189
|
-
'mZvAthb0zeG',
|
|
1190
|
-
'Dg9mB3DLCKnHC2u',
|
|
1191
|
-
'y29UDgvUDejHC2u2na',
|
|
1192
|
-
'yxjNDG',
|
|
1193
|
-
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWU',
|
|
1194
|
-
'pgvTChr5pG',
|
|
1195
|
-
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
1196
|
-
'DhjPBq',
|
|
1197
|
-
'y2HLy2TnzxnZywDLCW',
|
|
1198
|
-
'igLUia',
|
|
1199
|
-
'Dgv4Dc9JC3y',
|
|
1200
|
-
'C3vJy2vZCW',
|
|
1201
|
-
'DgL0Bgu',
|
|
1202
|
-
'DgfYz2v0zwq',
|
|
1203
|
-
'w3nLCt0',
|
|
1204
|
-
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVC3rKAw8UANm',
|
|
1205
|
-
'AhvTyw5Z',
|
|
1206
|
-
'zgvJAxnPB25Z',
|
|
1207
|
-
'ls13B3jRzxiTDgHYzwfKlxrHCMDLDa',
|
|
1208
|
-
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
1209
|
-
'cGOTls0G',
|
|
1210
|
-
'ywDLBNq',
|
|
1211
|
-
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
1212
|
-
'ignSywLTzwq',
|
|
1213
|
-
'Ahr0CdOVl2XVy2fSAg9ZDdO4mtiX',
|
|
1214
|
-
'y29TCgXLDgvK',
|
|
1215
|
-
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
1216
|
-
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
1217
|
-
'D29YA2vYx3nLC3nPB25FAwq',
|
|
1218
|
-
'ls1Zzxj2zxiTDxjS',
|
|
1219
|
-
'twfYAYb0AguGy3vYCMvUDcb3B3jRzxiGyxmGD2fPDgLUzYbMB3iGAhvTyw4GAw5WDxqUifbHDxnLCYb0AguGAwrSzsbuveWGDgLTzxiGDw50AwWGysbUzxCGBwvZC2fNzsbHCNjPDMvZlG',
|
|
1220
|
-
'Axnoyu4',
|
|
1221
|
-
'y2XHAw0GzMfPBgvK',
|
|
1222
|
-
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
1223
|
-
'zMv0y2HuAw1LB3v0txm',
|
|
1224
|
-
'iokaLca',
|
|
1225
|
-
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
1226
|
-
'D2fPDgLUz19PBNb1Da',
|
|
1227
|
-
'y2HLy2TFBwvZC2fNzxm',
|
|
1228
|
-
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
1229
|
-
'yMfZzw5HBwu',
|
|
1230
|
-
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
1231
|
-
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
1232
|
-
'ChvZAa',
|
|
1233
|
-
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
1234
|
-
'C2vYDMvYvxjS',
|
|
1235
|
-
'w3rHCMDLDd0',
|
|
1236
|
-
'C29YDa',
|
|
1237
|
-
'yM9KEu1HCMTKB3DU',
|
|
1238
454
|
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
1239
|
-
'
|
|
1240
|
-
'
|
|
1241
|
-
'
|
|
455
|
+
't3jPz2LUywWGBwvZC2fNztOG',
|
|
456
|
+
'ChvIBgLJ',
|
|
457
|
+
'D29YA2vYCW',
|
|
458
|
+
'sgfUzg9MzIb0BYb3B3jRzxiGzM9YihrHC2SG',
|
|
459
|
+
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
460
|
+
'tM8GCMvZDwX0ihLLDcbMB3iGD29YA2vYici',
|
|
461
|
+
'y2HHBM5LBhm',
|
|
462
|
+
'zgvZDhjVEwvK',
|
|
463
|
+
'Ahr0Chm6',
|
|
464
|
+
'zg0T',
|
|
465
|
+
'DhLWzq',
|
|
466
|
+
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
467
|
+
'DxbKyxrL',
|
|
468
|
+
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
469
|
+
'yxjNDG',
|
|
1242
470
|
'zg93BMXVywrbDhrHy2HTzw50',
|
|
1243
|
-
'
|
|
1244
|
-
'C3rYAw5N',
|
|
1245
|
-
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
471
|
+
'yxbWBgLJyxrPB24VCgrM',
|
|
1246
472
|
'yMvMB3jL',
|
|
1247
|
-
'
|
|
1248
|
-
'
|
|
1249
|
-
'
|
|
1250
|
-
'
|
|
1251
|
-
'ig1ZzZ0',
|
|
1252
|
-
'u2vUzcbHig1LC3nHz2uUieLMihzPC2LIAwXPDhKGAxmGB21PDhrLzcWGDgHLig1LC3nHz2uGAxmGChvIBgLJlIbjBIb0yxnRihrOCMvHzhmSihnLDcb2AxnPyMLSAxr5oIbHC2LKzsbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Gt3v0C2LKzsb0AhjLywrZlcbKBYbUB3qGC2v0ihzPC2LIAwXPDhKUifjLDxnLihrOzsbLEgfJDcb0yxjNzxqGC3rYAw5NigzYB20GAw5JB21PBMCGBwvZC2fNzxmU',
|
|
1253
|
-
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
1254
|
-
'yxnPzgu',
|
|
1255
|
-
'y2XHAw1uyxnRCW',
|
|
1256
|
-
'D29YA2vYCW',
|
|
473
|
+
'y2HLy2TFBwvZC2fNzxm',
|
|
474
|
+
'BwvZC2fNzuLK',
|
|
475
|
+
'AhvTyw5Z',
|
|
476
|
+
'ywz0zxi',
|
|
1257
477
|
'BM93',
|
|
1258
|
-
'A2LUza',
|
|
1259
|
-
'D29YA2vYsgfUzg9MzJ10CNvL',
|
|
1260
|
-
'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
|
|
1261
|
-
'zgvZy3jPChrPB24',
|
|
1262
|
-
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
1263
|
-
'yxbWBgLJyxrPB24VEg1S',
|
|
1264
|
-
'DMLZAwjPBgL0Eq',
|
|
1265
|
-
'zNjVBq',
|
|
1266
|
-
'CMvWBgfJzq',
|
|
1267
|
-
'DMLLD19MAwXL',
|
|
1268
|
-
'ihrPBwu9',
|
|
1269
|
-
'z2v0x3DVCMTLCL9Yzxn1Bhq',
|
|
1270
|
-
'zxHLy3v0Aw9Utw9Kzt0',
|
|
1271
|
-
'ls13B3jRzxiTBw9Kzq',
|
|
1272
|
-
'B3jPz2LUywXgAwXLBMfTzq',
|
|
1273
|
-
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
1274
|
-
'y3vYC29Y',
|
|
1275
|
-
'zM9Yy2vszwzYzxnO',
|
|
1276
|
-
'rMLSzsbUB3qGzM91BMq6ia',
|
|
1277
|
-
'uM9VDcb0yxnRig1LC3nHz2u6cG',
|
|
1278
478
|
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
1279
|
-
'
|
|
1280
|
-
'
|
|
1281
|
-
'
|
|
1282
|
-
'
|
|
1283
|
-
'
|
|
1284
|
-
'
|
|
479
|
+
'ue9tva',
|
|
480
|
+
'DgfYz2v0',
|
|
481
|
+
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
482
|
+
'zgf0yq',
|
|
483
|
+
'z2v0u2vJB25KCW',
|
|
484
|
+
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
485
|
+
'y29UDgvUDa',
|
|
486
|
+
'C2v0',
|
|
487
|
+
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWU',
|
|
488
|
+
'Dw5JBgfPBv90yxnR',
|
|
489
|
+
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
490
|
+
'Dg9mB3DLCKnHC2u',
|
|
491
|
+
'lsaJ',
|
|
492
|
+
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
493
|
+
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxjYB3i9',
|
|
1285
494
|
'C29Tzq',
|
|
1286
|
-
'
|
|
1287
|
-
'l3rHC2TZpW',
|
|
1288
|
-
'icHPzdO',
|
|
1289
|
-
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
1290
|
-
'uM9VDcb0yxnRig1LC3nHz2uGAwq6ia',
|
|
1291
|
-
'CM9VDe1LC3nHz2vjza',
|
|
1292
|
-
'igfSCMvHzhKGAgfZigfUigfJDgL2zsb3B3jRzxiUihn0B3bnywLUpxrYDwuGzxHLy3v0Aw9Utw9Kzt13B3jRzxi',
|
|
1293
|
-
'BwvZC2fNzxm',
|
|
1294
|
-
'DMfSDwvZ',
|
|
1295
|
-
'CgfYDgLJAxbHBNq',
|
|
495
|
+
'DhjPBq',
|
|
1296
496
|
'y2XHAw1FDgfZA3m',
|
|
1297
|
-
'
|
|
1298
|
-
'
|
|
1299
|
-
'
|
|
497
|
+
'ANnVBG',
|
|
498
|
+
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
499
|
+
'y2HHBM5LBeLK',
|
|
500
|
+
'yMfZzty0',
|
|
501
|
+
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
502
|
+
'y3jLyxrLx3rHC2TZigzHAwXLza',
|
|
503
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxm',
|
|
504
|
+
'y29UDgvUDfr5Cgu',
|
|
505
|
+
'C3rHCNrLza',
|
|
1300
506
|
'y2f0y2G',
|
|
1301
|
-
'
|
|
1302
|
-
'
|
|
1303
|
-
'
|
|
1304
|
-
'
|
|
1305
|
-
'
|
|
1306
|
-
'
|
|
1307
|
-
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmVy2XHAw0',
|
|
1308
|
-
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
1309
|
-
'l2HPC3rVCNK/',
|
|
1310
|
-
'ntCXmdC2mtzXvxL4Bvq',
|
|
507
|
+
'ls1PBML0AwfSlwXHC3qTC2vLBI1Zzxe',
|
|
508
|
+
'C3vTBwfYEq',
|
|
509
|
+
'BMfTzq',
|
|
510
|
+
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
511
|
+
'ls1KywvTB24TyxbPlwTLEq',
|
|
512
|
+
'w3rHCMDLDd0',
|
|
1311
513
|
'rMLSzsb1CgXVywrLzdOG',
|
|
1312
|
-
'
|
|
1313
|
-
'
|
|
514
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmVy2XHAw0',
|
|
515
|
+
'D29YA19RzxK',
|
|
516
|
+
'z2v0tw9UDgG',
|
|
517
|
+
'C2LNBMfS',
|
|
518
|
+
'ywrK',
|
|
519
|
+
'lNnSB2nR',
|
|
520
|
+
'DgfZA051BwjLCG',
|
|
521
|
+
'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
|
|
522
|
+
'zMLSzv9WyxrO',
|
|
1314
523
|
'iIbMAw5PC2HLzcb3AxrOihjLC3vSDdOG',
|
|
1315
|
-
'
|
|
1316
|
-
'
|
|
1317
|
-
'
|
|
1318
|
-
'
|
|
1319
|
-
'y2HHBM5LBeLK',
|
|
1320
|
-
'BgLZDfrHC2TZ',
|
|
1321
|
-
'CMvHzf9OAxn0B3j5',
|
|
1322
|
-
'BgvUz3rO',
|
|
1323
|
-
'y2HHBM5LBe5HBwu',
|
|
1324
|
-
'z2v0vgLTzq',
|
|
1325
|
-
'EM9K',
|
|
1326
|
-
'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
|
|
1327
|
-
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
1328
|
-
'DgHYzwfKvgfYz2v0pq',
|
|
1329
|
-
'ywjVCNq',
|
|
1330
|
-
'C2XPy2u',
|
|
1331
|
-
'DxnLCG',
|
|
1332
|
-
'BgLZDf9Zzxj2zxi',
|
|
1333
|
-
'D3m6',
|
|
1334
|
-
'DhLWzq',
|
|
1335
|
-
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
1336
|
-
'z2v0rNvSBfLLyxi',
|
|
1337
|
-
'ogPUEfnYwG',
|
|
1338
|
-
'D29YA2vYtw9Kzq',
|
|
1339
|
-
'Dw5JBgfPBvrHC2S',
|
|
1340
|
-
'B3bLBL9PC3n1zxm',
|
|
1341
|
-
'C3rHCNrLza',
|
|
1342
|
-
'zgfLBw9Utg9JywXvCMW',
|
|
1343
|
-
't3jPz2LUywWGBwvZC2fNztOG',
|
|
1344
|
-
'yMXVy2TLza',
|
|
1345
|
-
'Bwf0y2Hoyw1L',
|
|
1346
|
-
'mc4WlJa',
|
|
1347
|
-
'DgfYz2v0',
|
|
524
|
+
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
525
|
+
'DgfZA3m',
|
|
526
|
+
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
527
|
+
'CgfYDgLJAxbHBNrjza',
|
|
1348
528
|
'iJOGC3rHDhvZpq',
|
|
1349
|
-
'
|
|
1350
|
-
'
|
|
1351
|
-
'
|
|
1352
|
-
'
|
|
1353
|
-
'
|
|
1354
|
-
'
|
|
1355
|
-
'
|
|
1356
|
-
'
|
|
1357
|
-
'
|
|
1358
|
-
'
|
|
1359
|
-
'
|
|
1360
|
-
'
|
|
1361
|
-
'
|
|
1362
|
-
'
|
|
1363
|
-
'
|
|
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',
|
|
1364
544
|
'C2f2zq',
|
|
1365
|
-
'
|
|
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',
|
|
1366
568
|
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
569
|
+
'l2LUDgvYBMfSl2fNzw50lW',
|
|
570
|
+
'B3b0Aw9UywW',
|
|
571
|
+
'mti5ntC5mhH0sM9XtG',
|
|
572
|
+
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
573
|
+
'D29YA2vYtw9Kzq',
|
|
574
|
+
'DxbSB2fKrMLSzq',
|
|
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',
|
|
1367
588
|
'DgfZAW',
|
|
1368
|
-
'
|
|
1369
|
-
'
|
|
1370
|
-
'
|
|
1371
|
-
'
|
|
1372
|
-
'
|
|
1373
|
-
'
|
|
589
|
+
'CMvHC29U',
|
|
590
|
+
'ls13B3jRzxiTC2vZC2LVBI1Pza',
|
|
591
|
+
'ls1ZzxnZAw9UlwLK',
|
|
592
|
+
'z2v0',
|
|
593
|
+
'Bwf0y2Hoyw1L',
|
|
594
|
+
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
1374
595
|
'Dg9gAxHLza',
|
|
1375
|
-
'
|
|
1376
|
-
'
|
|
1377
|
-
'
|
|
1378
|
-
'
|
|
1379
|
-
'
|
|
1380
|
-
'
|
|
1381
|
-
'AxngAw5PDgu',
|
|
1382
|
-
'ywDNCMvNyxrLswq',
|
|
1383
|
-
'Agv4',
|
|
1384
|
-
'tM8GCMvZDwX0ihLLDcbMB3iGD29YA2vYici',
|
|
1385
|
-
'l3nLBMq',
|
|
1386
|
-
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
1387
|
-
'BgLZDf90yxnRCW',
|
|
596
|
+
'ywDLBNq',
|
|
597
|
+
'l3DVCMTLCNmVzMLUAxnO',
|
|
598
|
+
'ywDLBNrjza',
|
|
599
|
+
'BgvUz3rO',
|
|
600
|
+
'u2LNBMfSihrOyxqGDgHLign1CNjLBNqGD29YA2vYihnLC3nPB24GAxmGzMLUAxnOzwqGyw5KihbYB3zPzguGysbYzxn1BhqGC3vTBwfYEs4',
|
|
601
|
+
'C2vUzf9TzxnZywDLigzHAwXLza',
|
|
1388
602
|
'CMvZDwX0',
|
|
1389
|
-
'
|
|
1390
|
-
'
|
|
1391
|
-
'
|
|
1392
|
-
'
|
|
603
|
+
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
604
|
+
'iokaLca',
|
|
605
|
+
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
606
|
+
'D29YA2vYsgfUzg9MzKvYCM9Y',
|
|
607
|
+
'l3jLy2vPDMu',
|
|
608
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
1393
609
|
'ChjVDg9JB2W',
|
|
1394
|
-
'
|
|
1395
|
-
'
|
|
1396
|
-
'
|
|
1397
|
-
'
|
|
1398
|
-
'
|
|
1399
|
-
'
|
|
610
|
+
'ywDNCMvNyxrLvhLWzq',
|
|
611
|
+
'mtG4mZDHrKrpAMG',
|
|
612
|
+
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
613
|
+
'yxr0ywnOBwvUDhm',
|
|
614
|
+
'ywXS',
|
|
615
|
+
'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
|
|
616
|
+
'zw51Bq',
|
|
617
|
+
'l3nLBMq',
|
|
1400
618
|
'uMvHzcb0AhjLywqGAgLZDg9YEsbIzwzVCMuGDgfRAw5NigfJDgLVBI4Grg8GBM90igvJAg8GDgHPCYbTzxnZywDLihrVihrOzsb0AhjLywqU',
|
|
1401
|
-
'
|
|
1402
|
-
'
|
|
1403
|
-
'
|
|
619
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
620
|
+
'Ahr0CdOVl2XVy2fSAg9ZDdO4mtiX',
|
|
621
|
+
'D3nZoG',
|
|
622
|
+
'Axnoyu4',
|
|
623
|
+
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
624
|
+
'yxjYyxLcDwzMzxi'
|
|
1404
625
|
];
|
|
1405
|
-
|
|
1406
|
-
return
|
|
626
|
+
_0x275c = function () {
|
|
627
|
+
return _0x33316c;
|
|
628
|
+
};
|
|
629
|
+
return _0x275c();
|
|
630
|
+
}
|
|
631
|
+
function isMentionBoundary(_0x1830fb) {
|
|
632
|
+
const _0x11a376 = { _0x7ce433: 0x24a }, _0x3f0b24 = _0xbabd6a;
|
|
633
|
+
return !_0x1830fb || /\s|[([{'",。!?、:;]/[_0x3f0b24(_0x11a376._0x7ce433)](_0x1830fb);
|
|
634
|
+
}
|
|
635
|
+
function isMentionTerminal(_0x3487c6) {
|
|
636
|
+
const _0x8e3eef = { _0x44b498: 0x24a }, _0x58119b = _0xbabd6a;
|
|
637
|
+
return !_0x3487c6 || /\s|[)\]}'",。!?、:;,.!?]/[_0x58119b(_0x8e3eef._0x44b498)](_0x3487c6);
|
|
638
|
+
}
|
|
639
|
+
function buildMatchableEntries(_0x21588f) {
|
|
640
|
+
const _0x4c7065 = {
|
|
641
|
+
_0x2e342d: 0x175,
|
|
642
|
+
_0x1eb02d: 0x25f
|
|
643
|
+
}, _0x40efb2 = _0xbabd6a, _0x20ba10 = [];
|
|
644
|
+
for (const _0x24865a of [
|
|
645
|
+
..._0x21588f[_0x40efb2(_0x4c7065._0x2e342d)],
|
|
646
|
+
..._0x21588f[_0x40efb2(0x29a)]
|
|
647
|
+
]) {
|
|
648
|
+
_0x20ba10[_0x40efb2(0x1c6)]({
|
|
649
|
+
'matchName': _0x24865a[_0x40efb2(0x2bc)],
|
|
650
|
+
'matchNameLower': _0x24865a[_0x40efb2(0x2bc)][_0x40efb2(_0x4c7065._0x1eb02d)](),
|
|
651
|
+
'participantId': _0x24865a['id']
|
|
652
|
+
}), _0x24865a['id'] !== _0x24865a['name'] && _0x20ba10[_0x40efb2(0x1c6)]({
|
|
653
|
+
'matchName': _0x24865a['id'],
|
|
654
|
+
'matchNameLower': _0x24865a['id']['toLocaleLowerCase'](),
|
|
655
|
+
'participantId': _0x24865a['id']
|
|
656
|
+
});
|
|
657
|
+
}
|
|
658
|
+
return _0x20ba10;
|
|
659
|
+
}
|
|
660
|
+
function extractMentionedParticipantIds(_0xe539f2, _0x545adf) {
|
|
661
|
+
const _0x4f877f = {
|
|
662
|
+
_0x195244: 0x25f,
|
|
663
|
+
_0x133d27: 0x2e4,
|
|
664
|
+
_0x5a3a51: 0x2ce,
|
|
665
|
+
_0x2e7345: 0x2c5,
|
|
666
|
+
_0x8890e: 0x186,
|
|
667
|
+
_0x40ca8c: 0x18c
|
|
668
|
+
}, _0x1dbbc2 = {
|
|
669
|
+
_0x23a754: 0x1e3,
|
|
670
|
+
_0x524220: 0x22d
|
|
671
|
+
}, _0x4774f6 = _0xbabd6a, _0x44d726 = buildMatchableEntries(_0x545adf)[_0x4774f6(0x1c9)]((_0x16d2bc, _0x4c98bd) => _0x4c98bd[_0x4774f6(0x186)][_0x4774f6(0x18c)] - _0x16d2bc['matchName']['length']), _0x237307 = [], _0x3b424a = new Set();
|
|
672
|
+
for (let _0x397159 = 0x0; _0x397159 < _0xe539f2['length']; _0x397159 += 0x1) {
|
|
673
|
+
if (_0xe539f2[_0x397159] !== '@' || !isMentionBoundary(_0xe539f2[_0x397159 - 0x1]))
|
|
674
|
+
continue;
|
|
675
|
+
const _0x3e62d1 = _0xe539f2['slice'](_0x397159 + 0x1), _0x1ee43e = _0x3e62d1[_0x4774f6(_0x4f877f._0x195244)](), _0x5009af = _0x44d726['find'](_0x4b4597 => {
|
|
676
|
+
const _0x405030 = _0x4774f6;
|
|
677
|
+
if (!_0x1ee43e[_0x405030(_0x1dbbc2._0x23a754)](_0x4b4597[_0x405030(_0x1dbbc2._0x524220)]))
|
|
678
|
+
return ![];
|
|
679
|
+
return isMentionTerminal(_0x3e62d1[_0x4b4597['matchName'][_0x405030(0x18c)]]);
|
|
680
|
+
});
|
|
681
|
+
if (!_0x5009af || _0x3b424a[_0x4774f6(_0x4f877f._0x133d27)](_0x5009af[_0x4774f6(_0x4f877f._0x5a3a51)]))
|
|
682
|
+
continue;
|
|
683
|
+
_0x3b424a[_0x4774f6(_0x4f877f._0x2e7345)](_0x5009af[_0x4774f6(0x2ce)]), _0x237307[_0x4774f6(0x1c6)](_0x5009af[_0x4774f6(0x2ce)]), _0x397159 += _0x5009af[_0x4774f6(_0x4f877f._0x8890e)][_0x4774f6(_0x4f877f._0x40ca8c)];
|
|
684
|
+
}
|
|
685
|
+
return _0x237307;
|
|
686
|
+
}
|
|
687
|
+
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
688
|
+
function anySignal(..._0x3e5551) {
|
|
689
|
+
const _0x5615f8 = {
|
|
690
|
+
_0x5d2964: 0x182,
|
|
691
|
+
_0x19d3c0: 0x1f0,
|
|
692
|
+
_0x2c8d22: 0x2c4
|
|
693
|
+
}, _0xfd0568 = _0xbabd6a, _0x413af9 = new AbortController();
|
|
694
|
+
for (const _0x285442 of _0x3e5551) {
|
|
695
|
+
if (_0x285442['aborted'])
|
|
696
|
+
return _0x413af9[_0xfd0568(0x1f0)](_0x285442[_0xfd0568(_0x5615f8._0x5d2964)]), _0x413af9[_0xfd0568(0x2c4)];
|
|
697
|
+
_0x285442[_0xfd0568(0x218)](_0xfd0568(_0x5615f8._0x19d3c0), () => _0x413af9[_0xfd0568(0x1f0)](_0x285442['reason']), {
|
|
698
|
+
'once': !![],
|
|
699
|
+
'signal': _0x413af9['signal']
|
|
700
|
+
});
|
|
701
|
+
}
|
|
702
|
+
return _0x413af9[_0xfd0568(_0x5615f8._0x2c8d22)];
|
|
703
|
+
}
|
|
704
|
+
function createInternalAgentClient(_0x53d82c) {
|
|
705
|
+
const _0x81f02d = {
|
|
706
|
+
_0xf0ee59: 0x20a,
|
|
707
|
+
_0x41c37f: 0x29d,
|
|
708
|
+
_0x53fa4f: 0x26a,
|
|
709
|
+
_0x490d7c: 0x25a,
|
|
710
|
+
_0xf38a48: 0x2ae,
|
|
711
|
+
_0x5ed691: 0x274,
|
|
712
|
+
_0x2f4c42: 0x2ae,
|
|
713
|
+
_0x174cc1: 0x2e5,
|
|
714
|
+
_0x2839ad: 0x1ec
|
|
715
|
+
}, _0x157e73 = {
|
|
716
|
+
_0x16ac0c: 0x2a5,
|
|
717
|
+
_0x1f5f72: 0x194,
|
|
718
|
+
_0x332779: 0x2a1,
|
|
719
|
+
_0x354b35: 0x1bf,
|
|
720
|
+
_0x552646: 0x18c,
|
|
721
|
+
_0xb08ce1: 0x268,
|
|
722
|
+
_0x21196a: 0x2e9,
|
|
723
|
+
_0x45fd23: 0x258,
|
|
724
|
+
_0x35764d: 0x25c,
|
|
725
|
+
_0x4e7498: 0x1ff,
|
|
726
|
+
_0x1c8c72: 0x24e,
|
|
727
|
+
_0x2a93f6: 0x20a,
|
|
728
|
+
_0xe82216: 0x1e0,
|
|
729
|
+
_0x3ee79c: 0x2ea,
|
|
730
|
+
_0x11a1b0: 0x24e,
|
|
731
|
+
_0x51246: 0x24e,
|
|
732
|
+
_0x567d8b: 0x1fc,
|
|
733
|
+
_0x2f1a75: 0x1c6,
|
|
734
|
+
_0x4b22dc: 0x2a5,
|
|
735
|
+
_0x571a70: 0x185,
|
|
736
|
+
_0x555772: 0x1f9,
|
|
737
|
+
_0x4f9ba2: 0x219,
|
|
738
|
+
_0x357f8d: 0x236,
|
|
739
|
+
_0x3b9d12: 0x177,
|
|
740
|
+
_0x3b4dd6: 0x261,
|
|
741
|
+
_0x576c4b: 0x299,
|
|
742
|
+
_0x47a572: 0x234,
|
|
743
|
+
_0xd9a9: 0x1d7
|
|
744
|
+
}, _0x5265ec = { _0x81cba4: 0x29b }, _0x103cce = {
|
|
745
|
+
_0x468dbb: 0x2c4,
|
|
746
|
+
_0x170d1f: 0x2eb,
|
|
747
|
+
_0x2cdd81: 0x1a4,
|
|
748
|
+
_0x2d65c2: 0x2a1
|
|
749
|
+
}, _0x408d14 = {
|
|
750
|
+
_0x1d519a: 0x29f,
|
|
751
|
+
_0x4d09d: 0x29e,
|
|
752
|
+
_0x351481: 0x2a1
|
|
753
|
+
}, _0xe4f289 = {
|
|
754
|
+
_0x27696f: 0x18b,
|
|
755
|
+
_0x22e930: 0x1ab,
|
|
756
|
+
_0x4701fa: 0x29e
|
|
757
|
+
}, _0x69dd89 = { _0x3243db: 0x29e }, _0xf1496e = { _0xadf524: 0x201 }, _0x95af6b = { _0x1075b2: 0x29e }, _0x4bd307 = {
|
|
758
|
+
_0x29bb12: 0x280,
|
|
759
|
+
_0x4a20d9: 0x282,
|
|
760
|
+
_0x16b108: 0x16e,
|
|
761
|
+
_0x51d2c5: 0x1d1,
|
|
762
|
+
_0x28b315: 0x263
|
|
763
|
+
}, _0x4caccf = {
|
|
764
|
+
_0x481761: 0x1c7,
|
|
765
|
+
_0x42de35: 0x223,
|
|
766
|
+
_0x4b57ae: 0x2f2,
|
|
767
|
+
_0x33669e: 0x24c,
|
|
768
|
+
_0x10c817: 0x282,
|
|
769
|
+
_0x13fd4a: 0x2a1,
|
|
770
|
+
_0x3f415a: 0x223
|
|
771
|
+
}, _0x2636d0 = {
|
|
772
|
+
_0x4e7d16: 0x1c7,
|
|
773
|
+
_0x51b16d: 0x176,
|
|
774
|
+
_0x3828b3: 0x29e
|
|
775
|
+
}, _0x551a78 = { _0x55cb6f: 0x2c1 }, _0x539570 = { _0x18a682: 0x2b6 }, _0x22bed0 = {
|
|
776
|
+
_0x4406f0: 0x2a4,
|
|
777
|
+
_0x19aea2: 0x2a4,
|
|
778
|
+
_0x1da0ab: 0x16e,
|
|
779
|
+
_0xe31487: 0x264
|
|
780
|
+
}, _0x547dae = {
|
|
781
|
+
_0x21f3bd: 0x2a5,
|
|
782
|
+
_0x50b30b: 0x1f8,
|
|
783
|
+
_0x11ec60: 0x2b2,
|
|
784
|
+
_0x5ba62b: 0x2b2,
|
|
785
|
+
_0x46de91: 0x297,
|
|
786
|
+
_0x452667: 0x1b9,
|
|
787
|
+
_0x1212e9: 0x29b
|
|
788
|
+
}, _0x238314 = { _0x34db76: 0x22c }, _0x1872e0 = { _0x3101f2: 0x2d8 }, _0x60ea7b = {
|
|
789
|
+
_0x2ffa7b: 0x228,
|
|
790
|
+
_0x5cd965: 0x26e,
|
|
791
|
+
_0x498b47: 0x24e,
|
|
792
|
+
_0x5882e7: 0x1cf,
|
|
793
|
+
_0x1dde19: 0x1d5,
|
|
794
|
+
_0x47f87c: 0x1e3,
|
|
795
|
+
_0x561c05: 0x1f8
|
|
796
|
+
}, _0x5e0393 = {
|
|
797
|
+
_0x2baf17: 0x26e,
|
|
798
|
+
_0x1b6233: 0x1cf,
|
|
799
|
+
_0x4aa2cb: 0x1f8,
|
|
800
|
+
_0x3f33ed: 0x26e
|
|
801
|
+
}, _0x3492f3 = {
|
|
802
|
+
_0x28f3bb: 0x2ad,
|
|
803
|
+
_0x2d5e11: 0x2d2
|
|
804
|
+
}, _0x4e1fdf = {
|
|
805
|
+
_0x43be80: 0x267,
|
|
806
|
+
_0x34cf50: 0x2b9
|
|
807
|
+
}, _0x132164 = {
|
|
808
|
+
_0x1ac1de: 0x16e,
|
|
809
|
+
_0x3bd48e: 0x18b,
|
|
810
|
+
_0x5d9cec: 0x2a1
|
|
811
|
+
}, _0x4e929c = { _0x5b03a4: 0x282 }, _0xd7ea04 = { _0x2c0146: 0x176 }, _0x570958 = {
|
|
812
|
+
_0x134464: 0x2c4,
|
|
813
|
+
_0x308602: 0x2f6,
|
|
814
|
+
_0x899b97: 0x2eb
|
|
815
|
+
}, _0x5ee7f4 = {
|
|
816
|
+
_0x628aff: 0x2c4,
|
|
817
|
+
_0xb0bae8: 0x2c4,
|
|
818
|
+
_0xc7d29d: 0x245,
|
|
819
|
+
_0x349621: 0x2f6
|
|
820
|
+
}, _0x55f9f6 = {
|
|
821
|
+
_0x48a939: 0x260,
|
|
822
|
+
_0x2465c1: 0x262,
|
|
823
|
+
_0x16896e: 0x283,
|
|
824
|
+
_0x1a2d81: 0x2ef,
|
|
825
|
+
_0x4852cb: 0x2a5
|
|
826
|
+
}, _0x574e3e = {
|
|
827
|
+
_0x3b72b3: 0x1a5,
|
|
828
|
+
_0x1646d0: 0x2e6,
|
|
829
|
+
_0x1b02f8: 0x2ee
|
|
830
|
+
}, _0x3ad4a7 = {
|
|
831
|
+
_0x29b5a0: 0x24d,
|
|
832
|
+
_0x4a3415: 0x255,
|
|
833
|
+
_0x11dce1: 0x26c,
|
|
834
|
+
_0x2a3078: 0x2cd
|
|
835
|
+
}, _0x594dee = _0xbabd6a, _0x53f07d = _0x53d82c['fetchImpl'] ?? fetch, _0x53ec68 = _0x53d82c['fetchTimeoutMs'] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x210b35 = typeof _0x53d82c[_0x594dee(0x29d)] === _0x594dee(_0x81f02d._0xf0ee59) && _0x53d82c[_0x594dee(_0x81f02d._0x41c37f)] > 0x0 ? _0x53d82c['initialLastSeenSeq'] : 0x0, _0x2f0a62 = _0x53d82c[_0x594dee(_0x81f02d._0x53fa4f)]?.[_0x594dee(0x2ae)]() || void 0x0, _0x4ac62d = _0x53d82c[_0x594dee(_0x81f02d._0x490d7c)]?.[_0x594dee(_0x81f02d._0xf38a48)]() || void 0x0, _0x1f49fe = _0x53d82c[_0x594dee(0x1fd)] === !![], _0x1a319c = _0x53d82c[_0x594dee(_0x81f02d._0x5ed691)]?.[_0x594dee(_0x81f02d._0x2f4c42)]() || void 0x0, _0x4ed3a6 = _0x53d82c[_0x594dee(_0x81f02d._0x174cc1)]?.[_0x594dee(0x2ae)]() || void 0x0, _0x3af291 = createHeaders(_0x53d82c['daemonApiKey']), _0x6fad2a = toHttpBaseUrl(_0x53d82c[_0x594dee(_0x81f02d._0x2839ad)]);
|
|
836
|
+
let _0x34040d = null;
|
|
837
|
+
const _0xf64c0 = new Map();
|
|
838
|
+
let _0x6231ff = _0x210b35, _0x56a44e = _0x210b35;
|
|
839
|
+
function _0x6f9ae(_0x25296a) {
|
|
840
|
+
const _0x3f0805 = _0x594dee, _0x3766aa = _0x25296a[_0x3f0805(_0x3ad4a7._0x29b5a0)]['headers']['get'](_0x3f0805(0x1b2)) ?? 'unknown', _0x5b0cbd = _0x25296a[_0x3f0805(_0x3ad4a7._0x4a3415)][_0x3f0805(0x2ae)]()['replace'](/\s+/g, '\x20')[_0x3f0805(0x1e8)](0x0, 0x78) || _0x3f0805(0x2ed);
|
|
841
|
+
return '请求\x20' + _0x25296a[_0x3f0805(_0x3ad4a7._0x11dce1)] + _0x3f0805(_0x3ad4a7._0x2a3078) + _0x25296a[_0x3f0805(0x24d)][_0x3f0805(0x282)] + _0x3f0805(0x2da) + _0x3766aa + ',\x20preview=' + _0x5b0cbd + _0x3f0805(0x2f1);
|
|
842
|
+
}
|
|
843
|
+
async function _0x499f05(_0x4f8d87, _0x400b12) {
|
|
844
|
+
const _0xc2a2f2 = _0x594dee, _0x1d9ce3 = Buffer['from'](await _0x400b12[_0xc2a2f2(_0x574e3e._0x3b72b3)]())[_0xc2a2f2(0x263)](_0xc2a2f2(_0x574e3e._0x1646d0));
|
|
845
|
+
if (!_0x1d9ce3[_0xc2a2f2(0x2ae)]())
|
|
846
|
+
return {};
|
|
847
|
+
try {
|
|
848
|
+
return JSON[_0xc2a2f2(_0x574e3e._0x1b02f8)](_0x1d9ce3);
|
|
849
|
+
} catch {
|
|
850
|
+
throw new Error(_0x6f9ae({
|
|
851
|
+
'bodyText': _0x1d9ce3,
|
|
852
|
+
'requestUrl': _0x4f8d87,
|
|
853
|
+
'response': _0x400b12
|
|
854
|
+
}));
|
|
855
|
+
}
|
|
856
|
+
}
|
|
857
|
+
function _0x2127af(_0x59b15b, _0x2ec368) {
|
|
858
|
+
const _0x581fef = _0x594dee, _0x489f58 = typeof _0x2ec368[_0x581fef(0x2f4)] === _0x581fef(0x1ff) ? _0x2ec368[_0x581fef(0x2f4)][_0x581fef(0x2ae)]() : '';
|
|
859
|
+
if (_0x489f58)
|
|
860
|
+
return _0x489f58;
|
|
861
|
+
const _0x27db11 = Date[_0x581fef(0x29c)]();
|
|
862
|
+
for (const [_0x282f3d, _0x305a43] of _0xf64c0) {
|
|
863
|
+
_0x305a43[_0x581fef(_0x55f9f6._0x48a939)] <= _0x27db11 && _0xf64c0[_0x581fef(_0x55f9f6._0x2465c1)](_0x282f3d);
|
|
864
|
+
}
|
|
865
|
+
const _0x1eca1b = {
|
|
866
|
+
..._0x2ec368,
|
|
867
|
+
'idempotency_key': void 0x0
|
|
868
|
+
}, _0x4c3457 = createHash(_0x581fef(_0x55f9f6._0x16896e))[_0x581fef(0x292)](_0x59b15b + ':' + stableStringify(_0x1eca1b))['digest'](_0x581fef(0x22e)), _0x2b003f = _0x59b15b + ':' + _0x4c3457, _0x2dd098 = _0xf64c0[_0x581fef(0x185)](_0x2b003f);
|
|
869
|
+
if (_0x2dd098)
|
|
870
|
+
return _0x2dd098['value'];
|
|
871
|
+
const _0x1894e8 = _0x581fef(_0x55f9f6._0x1a2d81) + _0x59b15b + ':' + randomUUID();
|
|
872
|
+
return _0xf64c0[_0x581fef(_0x55f9f6._0x4852cb)](_0x2b003f, {
|
|
873
|
+
'expiresAt': _0x27db11 + 0x5 * 0x3c * 0x3e8,
|
|
874
|
+
'value': _0x1894e8
|
|
875
|
+
}), _0x1894e8;
|
|
876
|
+
}
|
|
877
|
+
async function _0x42dc25(_0x43e8f1, _0x2615c6) {
|
|
878
|
+
const _0x4817c2 = _0x594dee, _0x1757b3 = new AbortController(), _0x12c02e = setTimeout(() => _0x1757b3['abort'](), _0x53ec68), _0x33f644 = _0x2615c6?.['signal'] ? anySignal(_0x2615c6[_0x4817c2(_0x5ee7f4._0x628aff)], _0x1757b3[_0x4817c2(_0x5ee7f4._0x628aff)]) : _0x1757b3[_0x4817c2(_0x5ee7f4._0xb0bae8)], _0x595fbd = '' + _0x6fad2a + _0x43e8f1;
|
|
879
|
+
try {
|
|
880
|
+
const _0x27c921 = await _0x53f07d(_0x595fbd, {
|
|
881
|
+
..._0x2615c6,
|
|
882
|
+
'signal': _0x33f644
|
|
883
|
+
}), _0x100879 = await _0x499f05(_0x595fbd, _0x27c921);
|
|
884
|
+
if (!_0x27c921['ok'] || _0x100879[_0x4817c2(_0x5ee7f4._0xc7d29d)] === ![])
|
|
885
|
+
throw new Error(asErrorMessage(_0x100879[_0x4817c2(_0x5ee7f4._0x349621)], _0x4817c2(0x2eb) + _0x27c921[_0x4817c2(0x282)]));
|
|
886
|
+
return _0x100879;
|
|
887
|
+
} finally {
|
|
888
|
+
clearTimeout(_0x12c02e);
|
|
889
|
+
}
|
|
890
|
+
}
|
|
891
|
+
async function _0x115120(_0x16aa50, _0x5b69a2) {
|
|
892
|
+
const _0x385579 = _0x594dee, _0x45018f = new AbortController(), _0x4cd14f = setTimeout(() => _0x45018f[_0x385579(0x1f0)](), _0x53ec68), _0x4937f8 = _0x5b69a2?.['signal'] ? anySignal(_0x5b69a2[_0x385579(0x2c4)], _0x45018f[_0x385579(_0x570958._0x134464)]) : _0x45018f[_0x385579(_0x570958._0x134464)], _0x4d085a = '' + _0x6fad2a + _0x16aa50;
|
|
893
|
+
try {
|
|
894
|
+
const _0x57831d = await _0x53f07d(_0x4d085a, {
|
|
895
|
+
..._0x5b69a2,
|
|
896
|
+
'signal': _0x4937f8
|
|
897
|
+
}), _0x4618f7 = await _0x499f05(_0x4d085a, _0x57831d);
|
|
898
|
+
if (!_0x57831d['ok'])
|
|
899
|
+
throw new Error(asErrorMessage(_0x4618f7[_0x385579(_0x570958._0x308602)], _0x385579(_0x570958._0x899b97) + _0x57831d['status']));
|
|
900
|
+
return _0x4618f7;
|
|
901
|
+
} finally {
|
|
902
|
+
clearTimeout(_0x4cd14f);
|
|
903
|
+
}
|
|
904
|
+
}
|
|
905
|
+
async function _0x2cae15(_0x489e51) {
|
|
906
|
+
const _0x4253d4 = _0x594dee;
|
|
907
|
+
if (!_0x4ac62d || _0x489e51 <= _0x56a44e)
|
|
908
|
+
return;
|
|
909
|
+
await _0x42dc25('/api/agent-sessions/' + encodeURIComponent(_0x4ac62d) + _0x4253d4(0x2f3), {
|
|
910
|
+
'body': JSON[_0x4253d4(_0xd7ea04._0x2c0146)]({ 'lastSeenSeq': _0x489e51 }),
|
|
911
|
+
'headers': _0x3af291,
|
|
912
|
+
'method': 'PATCH'
|
|
913
|
+
}), _0x56a44e = _0x489e51;
|
|
914
|
+
}
|
|
915
|
+
async function _0xfabbf7(_0x5e5e17) {
|
|
916
|
+
const _0x42c2a5 = _0x594dee;
|
|
917
|
+
if (!_0x2f0a62 || !_0x1a319c || _0x5e5e17 <= _0x56a44e)
|
|
918
|
+
return;
|
|
919
|
+
const _0x18afd1 = await _0x53f07d(_0x2f0a62 + _0x42c2a5(0x2c8), {
|
|
920
|
+
'body': JSON[_0x42c2a5(0x176)]({
|
|
921
|
+
'last_seen_seq': _0x5e5e17,
|
|
922
|
+
'worker_session_id': _0x1a319c
|
|
923
|
+
}),
|
|
924
|
+
'headers': { 'Content-Type': _0x42c2a5(0x2e2) },
|
|
925
|
+
'method': 'POST'
|
|
926
|
+
});
|
|
927
|
+
if (!_0x18afd1['ok'])
|
|
928
|
+
throw new Error(_0x42c2a5(0x2eb) + _0x18afd1[_0x42c2a5(_0x4e929c._0x5b03a4)]);
|
|
929
|
+
_0x56a44e = _0x5e5e17;
|
|
930
|
+
}
|
|
931
|
+
async function _0x4fc7d4(_0x1828ac) {
|
|
932
|
+
const _0x59d1dd = _0x594dee, _0x5a32c6 = parseTarget(_0x1828ac), _0x4c7cf8 = await _0x42dc25(_0x59d1dd(_0x132164._0x1ac1de) + _0x53d82c[_0x59d1dd(_0x132164._0x3bd48e)] + _0x59d1dd(0x1a9), {
|
|
933
|
+
'body': JSON[_0x59d1dd(0x176)]({ 'target': _0x5a32c6[_0x59d1dd(0x29f)] }),
|
|
934
|
+
'headers': _0x3af291,
|
|
935
|
+
'method': 'POST'
|
|
936
|
+
});
|
|
937
|
+
return {
|
|
938
|
+
'channelId': _0x4c7cf8[_0x59d1dd(_0x132164._0x5d9cec)]?.['channelId'] ?? '',
|
|
939
|
+
'target': _0x5a32c6['channelTarget'],
|
|
940
|
+
'task': _0x4c7cf8[_0x59d1dd(_0x132164._0x5d9cec)]?.['task'],
|
|
941
|
+
'threadId': _0x4c7cf8['data']?.[_0x59d1dd(0x1f8)],
|
|
942
|
+
'threadNumber': _0x4c7cf8[_0x59d1dd(0x2a1)]?.[_0x59d1dd(0x24e)]
|
|
943
|
+
};
|
|
944
|
+
}
|
|
945
|
+
async function _0x22fc67(_0x14cd46 = {}) {
|
|
946
|
+
const _0x7625b4 = {
|
|
947
|
+
_0x116dcf: 0x16e,
|
|
948
|
+
_0x6100bd: 0x2e9,
|
|
949
|
+
_0x288020: 0x2e9,
|
|
950
|
+
_0x43b4a7: 0x2a1,
|
|
951
|
+
_0x3458b7: 0x28c,
|
|
952
|
+
_0x337475: 0x2dc,
|
|
953
|
+
_0x545a37: 0x2bc
|
|
954
|
+
}, _0x2d1e10 = _0x594dee;
|
|
955
|
+
if (!_0x14cd46[_0x2d1e10(_0x4e1fdf._0x43be80)] && _0x34040d)
|
|
956
|
+
return _0x34040d;
|
|
957
|
+
return _0x34040d = (async () => {
|
|
958
|
+
const _0x2beaaa = _0x2d1e10, _0x10ac43 = await _0x42dc25(_0x2beaaa(_0x7625b4._0x116dcf) + _0x53d82c[_0x2beaaa(0x18b)] + _0x2beaaa(0x2d0), {
|
|
959
|
+
'headers': _0x3af291,
|
|
960
|
+
'method': 'GET'
|
|
961
|
+
}), _0x6c3bf = _0x10ac43[_0x2beaaa(0x2a1)]?.[_0x2beaaa(0x248)] ?? [], _0x20f32b = _0x6c3bf['filter'](_0x52fb4b => _0x52fb4b[_0x2beaaa(0x22c)]?.[_0x2beaaa(0x290)] === 'agent')[_0x2beaaa(0x258)](_0x1782af => ({
|
|
962
|
+
'id': _0x2113fa(_0x1782af),
|
|
963
|
+
'name': _0x48ea83(_0x1782af)
|
|
964
|
+
}))[_0x2beaaa(0x2e9)](_0x325f2d => _0x325f2d['id']), _0x119185 = _0x6c3bf[_0x2beaaa(_0x7625b4._0x6100bd)](_0x3e2d0d => _0x3e2d0d[_0x2beaaa(0x22c)]?.['type'] !== _0x2beaaa(0x189))[_0x2beaaa(0x258)](_0xb11093 => ({
|
|
965
|
+
'id': _0x2113fa(_0xb11093),
|
|
966
|
+
'name': _0x48ea83(_0xb11093)
|
|
967
|
+
}))[_0x2beaaa(_0x7625b4._0x288020)](_0x28f960 => _0x28f960['id']), _0x47b7f9 = _0x10ac43[_0x2beaaa(_0x7625b4._0x43b4a7)]?.['server']['id'] ?? '';
|
|
968
|
+
return {
|
|
969
|
+
'agents': _0x20f32b,
|
|
970
|
+
'channels': _0x10ac43[_0x2beaaa(0x2a1)]?.[_0x2beaaa(_0x7625b4._0x3458b7)] ?? [],
|
|
971
|
+
'humans': _0x119185,
|
|
972
|
+
'serverId': _0x47b7f9,
|
|
973
|
+
'serverName': _0x10ac43[_0x2beaaa(0x2a1)]?.[_0x2beaaa(_0x7625b4._0x337475)][_0x2beaaa(_0x7625b4._0x545a37)] ?? _0x47b7f9
|
|
974
|
+
};
|
|
975
|
+
})()[_0x2d1e10(_0x4e1fdf._0x34cf50)](_0x44119d => {
|
|
976
|
+
_0x34040d = null;
|
|
977
|
+
throw _0x44119d;
|
|
978
|
+
}), _0x34040d;
|
|
979
|
+
}
|
|
980
|
+
function _0x2d71ec(_0x1b0dd9, _0x37bcef) {
|
|
981
|
+
const _0x38b01f = _0x594dee;
|
|
982
|
+
return _0x37bcef[_0x38b01f(0x175)][_0x38b01f(_0x3492f3._0x28f3bb)](_0x49f5c6 => _0x49f5c6['id'] === _0x1b0dd9 || _0x49f5c6['name'] === _0x1b0dd9) ? 'agent' : _0x38b01f(_0x3492f3._0x2d5e11);
|
|
983
|
+
}
|
|
984
|
+
function _0x12983f(_0x385e8b) {
|
|
985
|
+
const _0x267fdd = _0x594dee;
|
|
986
|
+
if (_0x385e8b[_0x267fdd(0x24e)] != null)
|
|
987
|
+
return _0x385e8b['channelTarget'] + ':t' + _0x385e8b[_0x267fdd(0x24e)];
|
|
988
|
+
if (_0x385e8b[_0x267fdd(0x1cf)])
|
|
989
|
+
return _0x385e8b[_0x267fdd(_0x5e0393._0x2baf17)] + ':' + _0x385e8b[_0x267fdd(_0x5e0393._0x1b6233)];
|
|
990
|
+
if (_0x385e8b[_0x267fdd(_0x5e0393._0x4aa2cb)])
|
|
991
|
+
return _0x385e8b[_0x267fdd(_0x5e0393._0x3f33ed)] + ':' + _0x385e8b[_0x267fdd(0x1f8)][_0x267fdd(0x1e8)](0x0, 0x8);
|
|
992
|
+
return _0x385e8b[_0x267fdd(_0x5e0393._0x3f33ed)];
|
|
993
|
+
}
|
|
994
|
+
function _0x56affa(_0x1d89d8, _0x395153) {
|
|
995
|
+
const _0x482ae4 = _0x594dee;
|
|
996
|
+
try {
|
|
997
|
+
const _0x2ae812 = parseTarget(_0x1d89d8);
|
|
998
|
+
if (_0x2ae812[_0x482ae4(0x1f9)] !== _0x482ae4(_0x60ea7b._0x2ffa7b) || _0x2ae812[_0x482ae4(_0x60ea7b._0x5cd965)] !== _0x395153[_0x482ae4(_0x60ea7b._0x5cd965)])
|
|
999
|
+
return ![];
|
|
1000
|
+
if (_0x395153[_0x482ae4(0x24e)] != null && _0x2ae812['threadShortId'] === 't' + _0x395153[_0x482ae4(_0x60ea7b._0x498b47)])
|
|
1001
|
+
return !![];
|
|
1002
|
+
if (_0x395153[_0x482ae4(_0x60ea7b._0x5882e7)])
|
|
1003
|
+
return _0x2ae812[_0x482ae4(_0x60ea7b._0x1dde19)] === _0x395153[_0x482ae4(0x1cf)] || _0x395153['rootMessageId'][_0x482ae4(_0x60ea7b._0x47f87c)](_0x2ae812[_0x482ae4(_0x60ea7b._0x1dde19)]);
|
|
1004
|
+
if (_0x395153[_0x482ae4(_0x60ea7b._0x561c05)])
|
|
1005
|
+
return _0x2ae812['threadShortId'] === _0x395153[_0x482ae4(0x1f8)] || _0x395153[_0x482ae4(0x1f8)]['startsWith'](_0x2ae812[_0x482ae4(_0x60ea7b._0x1dde19)]);
|
|
1006
|
+
return ![];
|
|
1007
|
+
} catch {
|
|
1008
|
+
return ![];
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
function _0x2113fa(_0x2e98e5) {
|
|
1012
|
+
const _0x38771d = _0x594dee;
|
|
1013
|
+
return _0x2e98e5[_0x38771d(_0x1872e0._0x3101f2)]?.['participantId'] ?? _0x2e98e5[_0x38771d(0x22c)]?.['id'] ?? _0x2e98e5[_0x38771d(0x2ce)] ?? '';
|
|
1014
|
+
}
|
|
1015
|
+
function _0x48ea83(_0xff530) {
|
|
1016
|
+
const _0x3b4b1c = _0x594dee;
|
|
1017
|
+
return _0xff530[_0x3b4b1c(_0x238314._0x34db76)]?.['name'] ?? _0x2113fa(_0xff530);
|
|
1018
|
+
}
|
|
1019
|
+
async function _0xcbf84e(_0x58a059) {
|
|
1020
|
+
const _0x4392f7 = _0x594dee, _0x3ab3a0 = Math['min'](_0x58a059[_0x4392f7(0x269)] ?? 0x32, 0x64), _0x5c20d3 = await _0x22fc67(), _0x5e9ae2 = new URLSearchParams();
|
|
1021
|
+
_0x5e9ae2[_0x4392f7(0x2a5)](_0x4392f7(0x269), String(_0x3ab3a0));
|
|
1022
|
+
_0x58a059[_0x4392f7(0x1f8)] ? (_0x5e9ae2[_0x4392f7(_0x547dae._0x21f3bd)](_0x4392f7(_0x547dae._0x50b30b), _0x58a059[_0x4392f7(0x1f8)]), _0x5e9ae2[_0x4392f7(0x2a5)](_0x4392f7(_0x547dae._0x11ec60), _0x58a059['channelId'])) : _0x5e9ae2[_0x4392f7(0x2a5)](_0x4392f7(_0x547dae._0x5ba62b), _0x58a059[_0x4392f7(0x2b2)]);
|
|
1023
|
+
_0x58a059[_0x4392f7(_0x547dae._0x46de91)] && _0x5e9ae2['set'](_0x4392f7(_0x547dae._0x452667), String(_0x58a059[_0x4392f7(0x297)]));
|
|
1024
|
+
_0x58a059[_0x4392f7(0x29b)] !== void 0x0 && _0x5e9ae2['set'](_0x4392f7(_0x547dae._0x1212e9), String(_0x58a059[_0x4392f7(0x29b)]));
|
|
1025
|
+
const _0x5f3dd4 = await _0x42dc25('/internal/agent/' + _0x53d82c[_0x4392f7(0x18b)] + _0x4392f7(0x220) + _0x5e9ae2[_0x4392f7(0x263)](), {
|
|
1026
|
+
'headers': _0x3af291,
|
|
1027
|
+
'method': 'GET'
|
|
1028
|
+
}), _0x3e0bf8 = (_0x5f3dd4[_0x4392f7(0x2a1)] ?? [])[_0x4392f7(0x258)](_0x1acb2e => ({
|
|
1029
|
+
'attachments': (_0x1acb2e[_0x4392f7(0x19a)] ?? [])['map'](_0x3776fc => ({
|
|
1030
|
+
'filename': _0x3776fc[_0x4392f7(0x204)] ?? _0x3776fc['id'],
|
|
1031
|
+
'id': _0x3776fc['id']
|
|
1032
|
+
})),
|
|
1033
|
+
'content': _0x1acb2e[_0x4392f7(0x234)] ?? '',
|
|
1034
|
+
'createdAt': _0x1acb2e[_0x4392f7(0x261)],
|
|
1035
|
+
..._0x1acb2e[_0x4392f7(0x1f9)] && _0x1acb2e[_0x4392f7(0x1f9)] !== _0x4392f7(0x1af) ? { 'kind': _0x1acb2e[_0x4392f7(0x1f9)] } : {},
|
|
1036
|
+
'messageId': _0x1acb2e['id'],
|
|
1037
|
+
'senderName': _0x1acb2e[_0x4392f7(0x1bd)],
|
|
1038
|
+
'senderType': _0x2d71ec(_0x1acb2e[_0x4392f7(0x1bd)], _0x5c20d3),
|
|
1039
|
+
'seq': _0x1acb2e[_0x4392f7(0x27a)] ?? 0x0
|
|
1040
|
+
}));
|
|
1041
|
+
return {
|
|
1042
|
+
'channel': _0x58a059['channelTarget'],
|
|
1043
|
+
'hasMore': _0x5f3dd4[_0x4392f7(0x1bf)]?.['hasMore'] ?? ![],
|
|
1044
|
+
'messages': _0x3e0bf8,
|
|
1045
|
+
'nextCursor': _0x5f3dd4['meta']?.[_0x4392f7(0x1b9)]
|
|
1046
|
+
};
|
|
1047
|
+
}
|
|
1048
|
+
return {
|
|
1049
|
+
async 'sendMessage'(_0x28649d) {
|
|
1050
|
+
const _0x1aed86 = _0x594dee, _0x4622d0 = await _0x4fc7d4(_0x28649d[_0x1aed86(0x29f)]), _0x469151 = _0x28649d[_0x1aed86(_0x22bed0._0x4406f0)][_0x1aed86(0x253)]('@') ? extractMentionedParticipantIds(_0x28649d[_0x1aed86(_0x22bed0._0x19aea2)], await _0x22fc67()) : [], _0xb48061 = await _0x42dc25(_0x1aed86(_0x22bed0._0x1da0ab) + _0x53d82c[_0x1aed86(0x18b)] + _0x1aed86(0x19e), {
|
|
1051
|
+
'body': JSON['stringify']({
|
|
1052
|
+
'attachment_ids': _0x28649d[_0x1aed86(0x23c)],
|
|
1053
|
+
'bodyMarkdown': _0x28649d[_0x1aed86(0x2a4)],
|
|
1054
|
+
'channelId': _0x4622d0[_0x1aed86(0x2b2)],
|
|
1055
|
+
..._0x469151[_0x1aed86(0x18c)] > 0x0 ? { 'mentionedParticipantIds': _0x469151 } : {},
|
|
1056
|
+
'threadId': _0x4622d0[_0x1aed86(0x1f8)],
|
|
1057
|
+
..._0x28649d['visibility'] ? { 'visibility': _0x28649d[_0x1aed86(_0x22bed0._0xe31487)] } : {}
|
|
1058
|
+
}),
|
|
1059
|
+
'headers': _0x3af291,
|
|
1060
|
+
'method': _0x1aed86(0x29e)
|
|
1061
|
+
});
|
|
1062
|
+
return { 'messageId': _0xb48061[_0x1aed86(0x2a1)]?.['id'] ?? '' };
|
|
1063
|
+
},
|
|
1064
|
+
async 'listSchedules'() {
|
|
1065
|
+
const _0x3be937 = _0x594dee, _0x2e0188 = await _0x42dc25(_0x3be937(_0x539570._0x18a682), {
|
|
1066
|
+
'headers': _0x3af291,
|
|
1067
|
+
'method': 'GET'
|
|
1068
|
+
});
|
|
1069
|
+
return _0x2e0188[_0x3be937(0x2a1)] ?? [];
|
|
1070
|
+
},
|
|
1071
|
+
async 'claimScheduleRun'(_0x27bf9c) {
|
|
1072
|
+
const _0x4647fa = _0x594dee, _0x7da4b8 = await _0x42dc25(_0x4647fa(_0x551a78._0x55cb6f), {
|
|
1073
|
+
'body': JSON['stringify'](_0x27bf9c),
|
|
1074
|
+
'headers': _0x3af291,
|
|
1075
|
+
'method': _0x4647fa(0x29e)
|
|
1076
|
+
});
|
|
1077
|
+
return _0x7da4b8['data'] ?? {
|
|
1078
|
+
'granted': ![],
|
|
1079
|
+
'runId': null,
|
|
1080
|
+
'schedule': null,
|
|
1081
|
+
'scheduledFor': _0x27bf9c[_0x4647fa(0x237)]
|
|
1082
|
+
};
|
|
1083
|
+
},
|
|
1084
|
+
async 'startScheduleRun'(_0x3ef557) {
|
|
1085
|
+
const _0x486ebe = _0x594dee, _0x39ea20 = await _0x42dc25(_0x486ebe(_0x2636d0._0x4e7d16) + encodeURIComponent(_0x3ef557[_0x486ebe(0x223)]) + _0x486ebe(0x214), {
|
|
1086
|
+
'body': JSON[_0x486ebe(_0x2636d0._0x51b16d)]({}),
|
|
1087
|
+
'headers': _0x3af291,
|
|
1088
|
+
'method': _0x486ebe(_0x2636d0._0x3828b3)
|
|
1089
|
+
});
|
|
1090
|
+
return _0x39ea20['data'] ?? {
|
|
1091
|
+
'claimedByDaemonId': '',
|
|
1092
|
+
'id': _0x3ef557[_0x486ebe(0x223)],
|
|
1093
|
+
'scheduleId': '',
|
|
1094
|
+
'status': _0x486ebe(0x229)
|
|
1095
|
+
};
|
|
1096
|
+
},
|
|
1097
|
+
async 'finishScheduleRun'(_0x184675) {
|
|
1098
|
+
const _0x32cf8c = _0x594dee, _0x4534a3 = await _0x42dc25(_0x32cf8c(_0x4caccf._0x481761) + encodeURIComponent(_0x184675[_0x32cf8c(_0x4caccf._0x42de35)]) + _0x32cf8c(_0x4caccf._0x4b57ae), {
|
|
1099
|
+
'body': JSON[_0x32cf8c(0x176)]({
|
|
1100
|
+
'error': _0x184675[_0x32cf8c(0x2f6)],
|
|
1101
|
+
'resultJson': _0x184675[_0x32cf8c(_0x4caccf._0x33669e)],
|
|
1102
|
+
'status': _0x184675[_0x32cf8c(_0x4caccf._0x10c817)]
|
|
1103
|
+
}),
|
|
1104
|
+
'headers': _0x3af291,
|
|
1105
|
+
'method': 'POST'
|
|
1106
|
+
});
|
|
1107
|
+
return _0x4534a3[_0x32cf8c(_0x4caccf._0x13fd4a)] ?? {
|
|
1108
|
+
'nextRunAt': null,
|
|
1109
|
+
'run': {
|
|
1110
|
+
'claimedByDaemonId': '',
|
|
1111
|
+
'id': _0x184675[_0x32cf8c(_0x4caccf._0x3f415a)],
|
|
1112
|
+
'scheduleId': '',
|
|
1113
|
+
'status': _0x184675[_0x32cf8c(0x282)]
|
|
1114
|
+
}
|
|
1115
|
+
};
|
|
1116
|
+
},
|
|
1117
|
+
async 'listTasks'(_0x505935) {
|
|
1118
|
+
const _0x27d17d = _0x594dee, _0x7a661e = new URLSearchParams();
|
|
1119
|
+
return _0x7a661e['set'](_0x27d17d(_0x4bd307._0x29bb12), _0x505935[_0x27d17d(0x280)]), _0x505935[_0x27d17d(0x282)] && _0x7a661e['set'](_0x27d17d(_0x4bd307._0x4a20d9), _0x505935['status']), _0x115120(_0x27d17d(_0x4bd307._0x16b108) + _0x53d82c[_0x27d17d(0x18b)] + _0x27d17d(_0x4bd307._0x51d2c5) + _0x7a661e[_0x27d17d(_0x4bd307._0x28b315)](), {
|
|
1120
|
+
'headers': _0x3af291,
|
|
1121
|
+
'method': 'GET'
|
|
1122
|
+
});
|
|
1123
|
+
},
|
|
1124
|
+
async 'createTasks'(_0x81edf9) {
|
|
1125
|
+
const _0x1a2ea9 = _0x594dee;
|
|
1126
|
+
return _0x115120(_0x1a2ea9(0x16e) + _0x53d82c[_0x1a2ea9(0x18b)] + _0x1a2ea9(0x17c), {
|
|
1127
|
+
'body': JSON['stringify']({
|
|
1128
|
+
..._0x81edf9,
|
|
1129
|
+
'idempotency_key': _0x2127af(_0x1a2ea9(0x21e), _0x81edf9)
|
|
1130
|
+
}),
|
|
1131
|
+
'headers': _0x3af291,
|
|
1132
|
+
'method': _0x1a2ea9(_0x95af6b._0x1075b2)
|
|
1133
|
+
});
|
|
1134
|
+
},
|
|
1135
|
+
async 'claimTasks'(_0x42074e) {
|
|
1136
|
+
const _0x2ee5cf = _0x594dee;
|
|
1137
|
+
return _0x115120(_0x2ee5cf(0x16e) + _0x53d82c[_0x2ee5cf(0x18b)] + _0x2ee5cf(_0xf1496e._0xadf524), {
|
|
1138
|
+
'body': JSON['stringify']({
|
|
1139
|
+
..._0x42074e,
|
|
1140
|
+
'idempotency_key': _0x2127af(_0x2ee5cf(0x2af), _0x42074e)
|
|
1141
|
+
}),
|
|
1142
|
+
'headers': _0x3af291,
|
|
1143
|
+
'method': _0x2ee5cf(0x29e)
|
|
1144
|
+
});
|
|
1145
|
+
},
|
|
1146
|
+
async 'unclaimTask'(_0x391f56) {
|
|
1147
|
+
const _0x3db989 = _0x594dee;
|
|
1148
|
+
return _0x115120(_0x3db989(0x16e) + _0x53d82c[_0x3db989(0x18b)] + '/tasks/unclaim', {
|
|
1149
|
+
'body': JSON[_0x3db989(0x176)]({
|
|
1150
|
+
..._0x391f56,
|
|
1151
|
+
'idempotency_key': _0x2127af(_0x3db989(0x2a7), _0x391f56)
|
|
1152
|
+
}),
|
|
1153
|
+
'headers': _0x3af291,
|
|
1154
|
+
'method': _0x3db989(_0x69dd89._0x3243db)
|
|
1155
|
+
});
|
|
1156
|
+
},
|
|
1157
|
+
async 'updateTaskStatus'(_0x2b4b00) {
|
|
1158
|
+
const _0xacb699 = _0x594dee;
|
|
1159
|
+
return _0x115120('/internal/agent/' + _0x53d82c[_0xacb699(_0xe4f289._0x27696f)] + '/tasks/update-status', {
|
|
1160
|
+
'body': JSON['stringify']({
|
|
1161
|
+
..._0x2b4b00,
|
|
1162
|
+
'idempotency_key': _0x2127af(_0xacb699(_0xe4f289._0x22e930), _0x2b4b00)
|
|
1163
|
+
}),
|
|
1164
|
+
'headers': _0x3af291,
|
|
1165
|
+
'method': _0xacb699(_0xe4f289._0x4701fa)
|
|
1166
|
+
});
|
|
1167
|
+
},
|
|
1168
|
+
async 'uploadFile'(_0x5e009a) {
|
|
1169
|
+
const _0xaa419c = _0x594dee, _0xed3041 = await _0x4fc7d4(_0x5e009a[_0xaa419c(0x280)]);
|
|
1170
|
+
if (_0xed3041['threadId'])
|
|
1171
|
+
throw new Error('upload_file\x20only\x20supports\x20channel\x20or\x20DM\x20targets,\x20not\x20thread\x20targets');
|
|
1172
|
+
const _0x50058d = await _0x42dc25('/internal/agent/' + _0x53d82c['agentId'] + _0xaa419c(0x1ed), {
|
|
1173
|
+
'body': JSON[_0xaa419c(0x176)]({
|
|
1174
|
+
'channel': _0xed3041[_0xaa419c(_0x408d14._0x1d519a)],
|
|
1175
|
+
'contentBase64': _0x5e009a['contentBase64'],
|
|
1176
|
+
'contentType': _0x5e009a[_0xaa419c(0x2b7)],
|
|
1177
|
+
'originalFilename': _0x5e009a[_0xaa419c(0x204)]
|
|
1178
|
+
}),
|
|
1179
|
+
'headers': _0x3af291,
|
|
1180
|
+
'method': _0xaa419c(_0x408d14._0x4d09d)
|
|
1181
|
+
});
|
|
1182
|
+
return {
|
|
1183
|
+
'attachmentId': _0x50058d['data']?.['id'] ?? '',
|
|
1184
|
+
'filename': _0x50058d['data']?.['originalFilename'] ?? _0x5e009a[_0xaa419c(0x204)],
|
|
1185
|
+
'sizeBytes': _0x50058d[_0xaa419c(_0x408d14._0x351481)]?.[_0xaa419c(0x1cc)] ?? 0x0
|
|
1186
|
+
};
|
|
1187
|
+
},
|
|
1188
|
+
async 'downloadAttachment'(_0x333752) {
|
|
1189
|
+
const _0x467cd2 = _0x594dee, _0x993ede = await _0x42dc25('/api/attachments/' + _0x333752, {
|
|
1190
|
+
'headers': _0x3af291,
|
|
1191
|
+
'method': _0x467cd2(0x24f)
|
|
1192
|
+
}), _0x3753c4 = new AbortController(), _0x30d686 = setTimeout(() => _0x3753c4[_0x467cd2(0x1f0)](), _0x53ec68);
|
|
1193
|
+
try {
|
|
1194
|
+
const _0x149392 = await _0x53f07d(_0x6fad2a + _0x467cd2(0x2a3) + _0x333752 + '/content', {
|
|
1195
|
+
'headers': _0x3af291,
|
|
1196
|
+
'method': 'GET',
|
|
1197
|
+
'signal': _0x3753c4[_0x467cd2(_0x103cce._0x468dbb)]
|
|
1198
|
+
});
|
|
1199
|
+
if (!_0x149392['ok'])
|
|
1200
|
+
throw new Error(_0x467cd2(_0x103cce._0x170d1f) + _0x149392['status']);
|
|
1201
|
+
return {
|
|
1202
|
+
'contentType': _0x993ede['data']?.['contentType'] ?? _0x149392['headers'][_0x467cd2(0x185)]('content-type') ?? _0x467cd2(_0x103cce._0x2cdd81),
|
|
1203
|
+
'data': Buffer[_0x467cd2(0x278)](await _0x149392['arrayBuffer']()),
|
|
1204
|
+
'originalFilename': _0x993ede[_0x467cd2(_0x103cce._0x2d65c2)]?.['originalFilename']
|
|
1205
|
+
};
|
|
1206
|
+
} finally {
|
|
1207
|
+
clearTimeout(_0x30d686);
|
|
1208
|
+
}
|
|
1209
|
+
},
|
|
1210
|
+
async 'listServer'() {
|
|
1211
|
+
return _0x22fc67({ 'forceRefresh': !![] });
|
|
1212
|
+
},
|
|
1213
|
+
async 'readHistory'(_0xa8c4c3) {
|
|
1214
|
+
const _0x4a9d18 = _0x594dee, _0x3dbba4 = await _0x4fc7d4(_0xa8c4c3['channel']);
|
|
1215
|
+
return _0xcbf84e({
|
|
1216
|
+
'after': _0xa8c4c3[_0x4a9d18(_0x5265ec._0x81cba4)],
|
|
1217
|
+
'before': _0xa8c4c3[_0x4a9d18(0x297)],
|
|
1218
|
+
'channelId': _0x3dbba4[_0x4a9d18(0x2b2)],
|
|
1219
|
+
'channelTarget': _0x3dbba4[_0x4a9d18(0x29f)],
|
|
1220
|
+
'limit': _0xa8c4c3['limit'],
|
|
1221
|
+
'threadId': _0x3dbba4[_0x4a9d18(0x1f8)]
|
|
1222
|
+
});
|
|
1223
|
+
},
|
|
1224
|
+
'resolveTarget': _0x4fc7d4,
|
|
1225
|
+
async 'checkMessages'() {
|
|
1226
|
+
const _0x556b3f = _0x594dee, _0x1fc16b = new URLSearchParams();
|
|
1227
|
+
_0x1fc16b[_0x556b3f(_0x157e73._0x16ac0c)]('afterSeq', String(_0x6231ff));
|
|
1228
|
+
const _0x5355b8 = _0x1fc16b['toString'](), _0x23cb02 = await _0x42dc25(_0x556b3f(0x16e) + _0x53d82c['agentId'] + _0x556b3f(_0x157e73._0x1f5f72) + (_0x5355b8 ? '?' + _0x5355b8 : ''), {
|
|
1229
|
+
'headers': _0x3af291,
|
|
1230
|
+
'method': _0x556b3f(0x24f)
|
|
1231
|
+
}), _0xfc1f5a = _0x23cb02[_0x556b3f(_0x157e73._0x332779)] ?? [], _0xdc44f2 = _0x23cb02[_0x556b3f(_0x157e73._0x354b35)]?.['cursor'], _0x1d8743 = _0xdc44f2 !== void 0x0 ? Math['max'](_0x6231ff, _0xdc44f2) : _0xfc1f5a[_0x556b3f(_0x157e73._0x552646)] > 0x0 ? Math[_0x556b3f(0x2ec)](_0x6231ff, _0xfc1f5a[_0xfc1f5a[_0x556b3f(_0x157e73._0x552646)] - 0x1][_0x556b3f(_0x157e73._0xb08ce1)]) : _0x6231ff, _0x193414 = _0xfc1f5a[_0x556b3f(_0x157e73._0x21196a)](_0x4dd86c => _0x4dd86c[_0x556b3f(0x197)] === _0x556b3f(0x284)), _0x126917 = _0x4ed3a6 === void 0x0 && _0x1f49fe;
|
|
1232
|
+
let _0x630001 = await _0x22fc67(), _0x522446 = new Map(_0x630001[_0x556b3f(0x28c)][_0x556b3f(_0x157e73._0x45fd23)](_0x47b1bd => [
|
|
1233
|
+
_0x47b1bd['id'],
|
|
1234
|
+
_0x47b1bd
|
|
1235
|
+
]));
|
|
1236
|
+
const _0x5ca6d2 = _0x193414[_0x556b3f(0x2ad)](_0x16d312 => {
|
|
1237
|
+
const _0x781835 = _0x556b3f, _0x1eecae = asRecord(_0x16d312[_0x781835(0x25c)]), _0x53f2af = typeof _0x1eecae?.[_0x781835(0x2b2)] === _0x781835(0x1ff) ? _0x1eecae[_0x781835(0x2b2)] : '';
|
|
1238
|
+
return Boolean(_0x53f2af) && !_0x522446[_0x781835(0x2e4)](_0x53f2af);
|
|
1239
|
+
});
|
|
1240
|
+
_0x5ca6d2 && (_0x630001 = await _0x22fc67({ 'forceRefresh': !![] }), _0x522446 = new Map(_0x630001[_0x556b3f(0x28c)][_0x556b3f(0x258)](_0x1ea4a0 => [
|
|
1241
|
+
_0x1ea4a0['id'],
|
|
1242
|
+
_0x1ea4a0
|
|
1243
|
+
])));
|
|
1244
|
+
const _0x346564 = new Map();
|
|
1245
|
+
for (const _0x187596 of _0x193414) {
|
|
1246
|
+
const _0x3d72df = asRecord(_0x187596[_0x556b3f(_0x157e73._0x35764d)]), _0xd91e7 = typeof _0x3d72df[_0x556b3f(0x2b2)] === _0x556b3f(0x1ff) ? _0x3d72df['channelId'] : '';
|
|
1247
|
+
if (!_0xd91e7)
|
|
1248
|
+
continue;
|
|
1249
|
+
const _0x3bec8f = typeof _0x3d72df['threadId'] === _0x556b3f(_0x157e73._0x4e7498) ? _0x3d72df[_0x556b3f(0x1f8)] : void 0x0, _0x34080a = typeof _0x3d72df['rootMessageId'] === _0x556b3f(_0x157e73._0x4e7498) ? _0x3d72df[_0x556b3f(0x1cf)] : void 0x0, _0x4e09dc = typeof _0x3d72df[_0x556b3f(_0x157e73._0x1c8c72)] === _0x556b3f(_0x157e73._0x2a93f6) && Number[_0x556b3f(_0x157e73._0xe82216)](_0x3d72df['threadNumber']) ? _0x3d72df[_0x556b3f(_0x157e73._0x1c8c72)] : void 0x0, _0xb16f91 = Boolean(_0x3bec8f && (!_0x34080a || _0x187596[_0x556b3f(_0x157e73._0x3ee79c)] !== _0x34080a)), _0x38d09f = _0xb16f91 ? _0xd91e7 + ':' + _0x3bec8f : _0xd91e7, _0x3cd393 = _0x346564[_0x556b3f(0x185)](_0x38d09f) ?? {
|
|
1250
|
+
'aggregateIds': [],
|
|
1251
|
+
'channelId': _0xd91e7,
|
|
1252
|
+
'entries': new Map(),
|
|
1253
|
+
'isThreadReply': _0xb16f91,
|
|
1254
|
+
'rootMessageId': _0x34080a,
|
|
1255
|
+
'threadNumber': _0x4e09dc,
|
|
1256
|
+
'threadId': _0xb16f91 ? _0x3bec8f : void 0x0
|
|
1257
|
+
};
|
|
1258
|
+
_0x3cd393[_0x556b3f(_0x157e73._0x11a1b0)] == null && _0x4e09dc != null && (_0x3cd393[_0x556b3f(_0x157e73._0x51246)] = _0x4e09dc), !_0x3cd393['rootMessageId'] && _0x34080a && (_0x3cd393[_0x556b3f(0x1cf)] = _0x34080a), _0x3cd393[_0x556b3f(_0x157e73._0x567d8b)][_0x556b3f(_0x157e73._0x2f1a75)](_0x187596['aggregateId']), _0x3cd393[_0x556b3f(0x1d9)][_0x556b3f(_0x157e73._0x4b22dc)](_0x187596[_0x556b3f(0x2ea)], {
|
|
1259
|
+
'payloadJson': _0x187596[_0x556b3f(0x25c)],
|
|
1260
|
+
'seq': _0x187596[_0x556b3f(0x268)]
|
|
1261
|
+
}), _0x346564['set'](_0x38d09f, _0x3cd393);
|
|
1262
|
+
}
|
|
1263
|
+
const _0x3f46e2 = [];
|
|
1264
|
+
for (const _0x5502e7 of _0x346564['values']()) {
|
|
1265
|
+
const {
|
|
1266
|
+
channelId: _0x1177d5,
|
|
1267
|
+
threadId: _0x4e1740,
|
|
1268
|
+
rootMessageId: _0x150cec,
|
|
1269
|
+
threadNumber: _0x2067ca,
|
|
1270
|
+
aggregateIds: _0x1f7bf1,
|
|
1271
|
+
isThreadReply: _0x155341,
|
|
1272
|
+
entries: _0xa958b
|
|
1273
|
+
} = _0x5502e7, _0x35196f = _0x522446[_0x556b3f(_0x157e73._0x571a70)](_0x1177d5), _0x52b22a = _0x35196f?.[_0x556b3f(0x2bc)] ?? _0x1177d5, _0x45aa23 = _0x35196f?.[_0x556b3f(_0x157e73._0x555772)] === 'dm' ? _0x556b3f(0x230) + _0x52b22a : '#' + _0x52b22a, _0x146314 = {
|
|
1274
|
+
'channelTarget': _0x45aa23,
|
|
1275
|
+
'rootMessageId': _0x150cec,
|
|
1276
|
+
'threadId': _0x4e1740,
|
|
1277
|
+
'threadNumber': _0x2067ca
|
|
1278
|
+
}, _0x1a0b0e = await _0xcbf84e({
|
|
1279
|
+
'channelId': _0x1177d5,
|
|
1280
|
+
'channelTarget': _0x45aa23,
|
|
1281
|
+
'limit': Math['max'](_0x1f7bf1['length'], 0x32),
|
|
1282
|
+
'threadId': _0x4e1740
|
|
1283
|
+
}), _0x35e654 = new Map(_0x1a0b0e[_0x556b3f(_0x157e73._0x4f9ba2)]['map'](_0x6d27b5 => [
|
|
1284
|
+
_0x6d27b5[_0x556b3f(0x299)],
|
|
1285
|
+
_0x6d27b5
|
|
1286
|
+
])), _0x3dd4e7 = _0x4e1740 ? _0x12983f(_0x146314) : _0x45aa23, _0x4d88da = _0x4ed3a6 ? _0x155341 && _0x56affa(_0x4ed3a6, _0x146314) : !![], _0x102691 = _0x155341 ? _0x4d88da && _0x4ed3a6 ? _0x4ed3a6 : _0x3dd4e7 : _0x45aa23;
|
|
1287
|
+
for (const _0x55658b of _0x1f7bf1) {
|
|
1288
|
+
if (!_0x4d88da)
|
|
1289
|
+
continue;
|
|
1290
|
+
const _0x51ed5c = _0xa958b[_0x556b3f(0x185)](_0x55658b), _0x5af44e = _0x51ed5c ? asRecord(_0x51ed5c[_0x556b3f(_0x157e73._0x35764d)]) : void 0x0, _0x159829 = _0x5af44e?.[_0x556b3f(_0x157e73._0x357f8d)] === _0x556b3f(_0x157e73._0x3b9d12);
|
|
1291
|
+
if (_0x126917 && _0x159829)
|
|
1292
|
+
continue;
|
|
1293
|
+
const _0x258059 = _0x35e654['get'](_0x55658b);
|
|
1294
|
+
if (_0x258059) {
|
|
1295
|
+
_0x3f46e2['push']({
|
|
1296
|
+
'attachments': _0x258059[_0x556b3f(0x19a)],
|
|
1297
|
+
'content': _0x258059[_0x556b3f(0x2a4)],
|
|
1298
|
+
'createdAt': _0x258059[_0x556b3f(_0x157e73._0x3b4dd6)],
|
|
1299
|
+
..._0x258059[_0x556b3f(0x1f9)] ? { 'kind': _0x258059['kind'] } : {},
|
|
1300
|
+
'messageId': _0x258059[_0x556b3f(_0x157e73._0x576c4b)],
|
|
1301
|
+
'senderName': _0x258059['senderName'],
|
|
1302
|
+
'senderType': _0x258059['senderType'],
|
|
1303
|
+
'target': _0x102691,
|
|
1304
|
+
..._0x159829 ? { 'targetedTask': !![] } : {}
|
|
1305
|
+
});
|
|
1306
|
+
continue;
|
|
1307
|
+
}
|
|
1308
|
+
if (_0x51ed5c) {
|
|
1309
|
+
const _0x5adbc5 = typeof _0x5af44e?.[_0x556b3f(0x1bd)] === _0x556b3f(_0x157e73._0x4e7498) ? _0x5af44e[_0x556b3f(0x1bd)] : '', _0x467406 = typeof _0x5af44e?.[_0x556b3f(0x234)] === _0x556b3f(_0x157e73._0x4e7498) ? _0x5af44e[_0x556b3f(_0x157e73._0x47a572)] : '', _0x3ce5bd = typeof _0x5af44e?.['kind'] === 'string' && _0x5af44e['kind'] !== 'chat' ? _0x5af44e[_0x556b3f(0x1f9)] : void 0x0;
|
|
1310
|
+
_0x5adbc5 && _0x467406 && _0x3f46e2['push']({
|
|
1311
|
+
'attachments': [],
|
|
1312
|
+
'content': _0x467406,
|
|
1313
|
+
'createdAt': new Date()[_0x556b3f(_0x157e73._0xd9a9)](),
|
|
1314
|
+
..._0x3ce5bd ? { 'kind': _0x3ce5bd } : {},
|
|
1315
|
+
'messageId': _0x55658b,
|
|
1316
|
+
'senderName': _0x5adbc5,
|
|
1317
|
+
'senderType': _0x2d71ec(_0x5adbc5, _0x630001),
|
|
1318
|
+
'target': _0x102691,
|
|
1319
|
+
..._0x159829 ? { 'targetedTask': !![] } : {}
|
|
1320
|
+
});
|
|
1321
|
+
}
|
|
1322
|
+
}
|
|
1323
|
+
}
|
|
1324
|
+
if (_0x1d8743 > 0x0) {
|
|
1325
|
+
if (_0x4ac62d)
|
|
1326
|
+
await _0x2cae15(_0x1d8743);
|
|
1327
|
+
else
|
|
1328
|
+
_0x1a319c && await _0xfabbf7(_0x1d8743);
|
|
1329
|
+
}
|
|
1330
|
+
return _0x1d8743 > _0x6231ff && (_0x6231ff = _0x1d8743), { 'messages': _0x4ed3a6 ? _0x3f46e2 : _0x126917 ? _0x3f46e2['filter'](_0xebf9b3 => _0xebf9b3[_0x556b3f(0x231)] !== !![]) : _0x3f46e2 };
|
|
1331
|
+
}
|
|
1407
1332
|
};
|
|
1408
|
-
return _0x4cbf();
|
|
1409
1333
|
}
|
|
1410
|
-
function
|
|
1411
|
-
const
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
const
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1334
|
+
function toLocalTime(_0x347ba6) {
|
|
1335
|
+
const _0x20dddb = {
|
|
1336
|
+
_0x151c01: 0x1a3,
|
|
1337
|
+
_0x1bb532: 0x17b,
|
|
1338
|
+
_0xbb6c7b: 0x2a2
|
|
1339
|
+
}, _0x505ae7 = _0xbabd6a, _0x4be313 = new Date(_0x347ba6);
|
|
1340
|
+
if (Number[_0x505ae7(_0x20dddb._0x151c01)](_0x4be313[_0x505ae7(0x1dc)]()))
|
|
1341
|
+
return _0x347ba6;
|
|
1342
|
+
const _0x851b87 = _0x494df7 => String(_0x494df7)[_0x505ae7(0x1e9)](0x2, '0');
|
|
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)]());
|
|
1344
|
+
}
|
|
1345
|
+
function formatAttachmentSuffix(_0x4a72fb) {
|
|
1346
|
+
const _0x49f332 = { _0x6318e1: 0x18c }, _0xe284c8 = _0xbabd6a;
|
|
1347
|
+
if (!_0x4a72fb || _0x4a72fb['length'] === 0x0)
|
|
1348
|
+
return '';
|
|
1349
|
+
return '\x20[' + _0x4a72fb[_0xe284c8(0x18c)] + '\x20attachment' + (_0x4a72fb[_0xe284c8(_0x49f332._0x6318e1)] > 0x1 ? 's' : '') + ':\x20' + _0x4a72fb[_0xe284c8(0x258)](_0x35a2b9 => _0x35a2b9[_0xe284c8(0x204)] + _0xe284c8(0x211) + _0x35a2b9['id'] + ')')[_0xe284c8(0x1d4)](',\x20') + _0xe284c8(0x1b1);
|
|
1350
|
+
}
|
|
1351
|
+
function formatCheckMessages(_0x12b2d5) {
|
|
1352
|
+
const _0x3ae296 = { _0x36eb78: 0x1c8 }, _0x16f73f = {
|
|
1353
|
+
_0x2f33ba: 0x1bb,
|
|
1354
|
+
_0x319fc0: 0x189,
|
|
1355
|
+
_0x168504: 0x1f9,
|
|
1356
|
+
_0x5d78cb: 0x1af,
|
|
1357
|
+
_0x1d4f09: 0x1da,
|
|
1358
|
+
_0x20d0b4: 0x1e8,
|
|
1359
|
+
_0x281c60: 0x19a
|
|
1360
|
+
}, _0x2cccb5 = _0xbabd6a;
|
|
1361
|
+
if (_0x12b2d5[_0x2cccb5(0x18c)] === 0x0)
|
|
1362
|
+
return _0x2cccb5(_0x3ae296._0x36eb78);
|
|
1363
|
+
return _0x12b2d5['map'](_0x40e7bc => {
|
|
1364
|
+
const _0x454497 = _0x2cccb5, _0x27344b = _0x40e7bc[_0x454497(_0x16f73f._0x2f33ba)] === _0x454497(_0x16f73f._0x319fc0) ? '\x20type=agent' : '', _0x4144ae = _0x40e7bc['kind'] && _0x40e7bc[_0x454497(_0x16f73f._0x168504)] !== _0x454497(_0x16f73f._0x5d78cb) ? _0x454497(_0x16f73f._0x1d4f09) + _0x40e7bc['kind'] : '';
|
|
1365
|
+
return _0x454497(0x2bf) + _0x40e7bc['target'] + '\x20msg=' + _0x40e7bc['messageId'][_0x454497(_0x16f73f._0x20d0b4)](0x0, 0x8) + _0x454497(0x1f1) + toLocalTime(_0x40e7bc[_0x454497(0x261)]) + _0x27344b + _0x4144ae + _0x454497(0x23e) + _0x40e7bc[_0x454497(0x251)] + ':\x20' + _0x40e7bc[_0x454497(0x2a4)] + formatAttachmentSuffix(_0x40e7bc[_0x454497(_0x16f73f._0x281c60)]);
|
|
1366
|
+
})['join']('\x0a');
|
|
1367
|
+
}
|
|
1368
|
+
function formatHistory(_0x2a8560) {
|
|
1369
|
+
const _0x17bcab = {
|
|
1370
|
+
_0x32de45: 0x2b1,
|
|
1371
|
+
_0x3282c1: 0x258,
|
|
1372
|
+
_0x1e61ad: 0x1f5,
|
|
1373
|
+
_0x2e1192: 0x18c,
|
|
1374
|
+
_0x368da6: 0x2e7,
|
|
1375
|
+
_0x267fdb: 0x213,
|
|
1376
|
+
_0x277109: 0x27f,
|
|
1377
|
+
_0x5ba165: 0x219
|
|
1378
|
+
}, _0x2a89a8 = {
|
|
1379
|
+
_0xc6138d: 0x1a7,
|
|
1380
|
+
_0x5f49c1: 0x1f9,
|
|
1381
|
+
_0x149940: 0x1af,
|
|
1382
|
+
_0x6e127e: 0x1f9,
|
|
1383
|
+
_0x1d560a: 0x241,
|
|
1384
|
+
_0x240cdd: 0x299,
|
|
1385
|
+
_0x3bf0af: 0x1f1,
|
|
1386
|
+
_0x10652c: 0x19a
|
|
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;
|
|
1433
1395
|
}
|
|
1434
|
-
function formatServerDirectory(
|
|
1435
|
-
const
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
},
|
|
1396
|
+
function formatServerDirectory(_0x2b9a6f) {
|
|
1397
|
+
const _0x562ef3 = {
|
|
1398
|
+
_0x1a15e0: 0x28c,
|
|
1399
|
+
_0x5134b9: 0x18c,
|
|
1400
|
+
_0x43b7ac: 0x21c,
|
|
1401
|
+
_0x1f21b3: 0x258,
|
|
1402
|
+
_0x1285e4: 0x18c,
|
|
1403
|
+
_0x1b9366: 0x29a,
|
|
1404
|
+
_0x4a16db: 0x217,
|
|
1405
|
+
_0x718158: 0x202,
|
|
1406
|
+
_0xf201eb: 0x26f
|
|
1407
|
+
}, _0x154c47 = _0xbabd6a, _0x1c141a = _0x2b9a6f[_0x154c47(_0x562ef3._0x1a15e0)][_0x154c47(_0x562ef3._0x5134b9)] > 0x0 ? _0x2b9a6f[_0x154c47(_0x562ef3._0x1a15e0)][_0x154c47(0x258)](_0x24fc43 => _0x24fc43[_0x154c47(0x215)] ? _0x154c47(0x2aa) + _0x24fc43['name'] + _0x154c47(0x191) + _0x24fc43[_0x154c47(0x215)] : '-\x20#' + _0x24fc43[_0x154c47(0x2bc)])['join']('\x0a') : _0x154c47(_0x562ef3._0x43b7ac), _0x386b38 = _0x2b9a6f[_0x154c47(0x175)][_0x154c47(0x18c)] > 0x0 ? _0x2b9a6f['agents'][_0x154c47(_0x562ef3._0x1f21b3)](_0x2261df => '-\x20@' + _0x2261df[_0x154c47(0x2bc)])['join']('\x0a') : _0x154c47(_0x562ef3._0x43b7ac), _0x2d36ad = _0x2b9a6f[_0x154c47(0x29a)][_0x154c47(_0x562ef3._0x1285e4)] > 0x0 ? _0x2b9a6f[_0x154c47(_0x562ef3._0x1b9366)]['map'](_0x411db3 => _0x154c47(0x1ee) + _0x411db3[_0x154c47(0x2bc)])[_0x154c47(0x1d4)]('\x0a') : _0x154c47(_0x562ef3._0x43b7ac);
|
|
1446
1408
|
return [
|
|
1447
|
-
|
|
1409
|
+
_0x154c47(_0x562ef3._0x4a16db) + _0x2b9a6f['serverName'],
|
|
1448
1410
|
'',
|
|
1449
|
-
|
|
1450
|
-
|
|
1411
|
+
_0x154c47(_0x562ef3._0x718158),
|
|
1412
|
+
_0x1c141a,
|
|
1451
1413
|
'',
|
|
1452
|
-
|
|
1453
|
-
|
|
1414
|
+
_0x154c47(0x1ba),
|
|
1415
|
+
_0x386b38,
|
|
1454
1416
|
'',
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
][
|
|
1417
|
+
_0x154c47(_0x562ef3._0xf201eb),
|
|
1418
|
+
_0x2d36ad
|
|
1419
|
+
][_0x154c47(0x1d4)]('\x0a');
|
|
1458
1420
|
}
|
|
1459
|
-
function formatUploadResult(
|
|
1460
|
-
const
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
}, _0x20a3da = _0x27ce1c;
|
|
1467
|
-
return _0x20a3da(_0x431f2c._0x2b4ab6) + _0x1f4730[_0x20a3da(0x1c4)] + '\x20(' + (_0x1f4730[_0x20a3da(_0x431f2c._0x44bbad)] / 0x400)[_0x20a3da(_0x431f2c._0x48d88d)](0x1) + 'KB)\x0aAttachment\x20ID:\x20' + _0x1f4730[_0x20a3da(_0x431f2c._0x41b356)] + _0x20a3da(_0x431f2c._0x1e0d52);
|
|
1421
|
+
function formatUploadResult(_0x2f0364) {
|
|
1422
|
+
const _0x24910d = {
|
|
1423
|
+
_0x2755df: 0x204,
|
|
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);
|
|
1468
1428
|
}
|
|
1469
|
-
function formatViewFileResult(
|
|
1470
|
-
const
|
|
1471
|
-
return
|
|
1429
|
+
function formatViewFileResult(_0x23f561, _0x567b92) {
|
|
1430
|
+
const _0x3c4840 = _0xbabd6a;
|
|
1431
|
+
return _0x567b92 ? _0x3c4840(0x1b0) + _0x23f561 : 'Downloaded\x20to:\x20' + _0x23f561;
|
|
1472
1432
|
}
|
|
1473
|
-
function formatTaskList(
|
|
1474
|
-
const
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
return 'No\x20tasks\x20found.';
|
|
1486
|
-
return _0x3efaea[_0x5ec371(0x14e)](_0xde3ec2 => {
|
|
1487
|
-
const _0x528ad3 = _0x5ec371, _0x5e3457 = _0xde3ec2[_0x528ad3(_0x34fafd._0x7fd243)] == null ? '(legacy)' : '#' + _0xde3ec2['taskNumber'], _0x1d1914 = _0xde3ec2[_0x528ad3(0x139)] ? _0x528ad3(_0x34fafd._0x2c7239) + _0xde3ec2[_0x528ad3(_0x34fafd._0x4f4d44)] : '', _0x2ab2f4 = _0x50b469 && _0xde3ec2[_0x528ad3(0x1b8)] != null && _0x50b469[_0x528ad3(_0x34fafd._0x36e603)](_0xde3ec2[_0x528ad3(_0x34fafd._0x10b4cd)]) ? _0x528ad3(_0x34fafd._0x41ee1d) : '';
|
|
1488
|
-
return _0x5e3457 + '\x20[' + _0xde3ec2[_0x528ad3(_0x34fafd._0x2af3d0)] + ']\x20' + _0xde3ec2[_0x528ad3(_0x34fafd._0x2e5fb4)] + _0x1d1914 + _0x2ab2f4;
|
|
1489
|
-
})[_0x5ec371(0x172)]('\x0a');
|
|
1433
|
+
function formatTaskList(_0x30343b, _0x4be083) {
|
|
1434
|
+
const _0x18ab24 = { _0x5c7360: 0x258 }, _0x4b0ca3 = {
|
|
1435
|
+
_0x5b021e: 0x2c7,
|
|
1436
|
+
_0x6639d: 0x2c7,
|
|
1437
|
+
_0x3a1d17: 0x233
|
|
1438
|
+
}, _0x2e391b = _0xbabd6a;
|
|
1439
|
+
if (_0x30343b[_0x2e391b(0x18c)] === 0x0)
|
|
1440
|
+
return _0x2e391b(0x249);
|
|
1441
|
+
return _0x30343b[_0x2e391b(_0x18ab24._0x5c7360)](_0x115aa7 => {
|
|
1442
|
+
const _0x106eeb = _0x2e391b, _0x5e4d57 = _0x115aa7['taskNumber'] == null ? '(legacy)' : '#' + _0x115aa7[_0x106eeb(_0x4b0ca3._0x5b021e)], _0x2b5dd6 = _0x115aa7[_0x106eeb(0x299)] ? _0x106eeb(0x1c1) + _0x115aa7[_0x106eeb(0x299)] : '', _0x22252f = _0x4be083 && _0x115aa7[_0x106eeb(_0x4b0ca3._0x6639d)] != null && _0x4be083['has'](_0x115aa7['taskNumber']) ? _0x106eeb(_0x4b0ca3._0x3a1d17) : '';
|
|
1443
|
+
return _0x5e4d57 + '\x20[' + _0x115aa7[_0x106eeb(0x282)] + ']\x20' + _0x115aa7[_0x106eeb(0x1e6)] + _0x2b5dd6 + _0x22252f;
|
|
1444
|
+
})['join']('\x0a');
|
|
1490
1445
|
}
|
|
1491
|
-
function formatCreatedTasks(
|
|
1492
|
-
const
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
return _0x4aab22 + '\x20' + _0x1be1cd[_0xab97c5(0x1dc)] + _0xab97c5(_0x1ee9cd._0x49e8b0) + _0x1be1cd[_0xab97c5(_0x1ee9cd._0x27bfe6)];
|
|
1503
|
-
})[_0x281aea(0x172)]('\x0a');
|
|
1446
|
+
function formatCreatedTasks(_0x391a9c) {
|
|
1447
|
+
const _0x9ecc30 = {
|
|
1448
|
+
_0x6558ad: 0x212,
|
|
1449
|
+
_0x52a575: 0x1d4
|
|
1450
|
+
}, _0x251be4 = { _0x2d77a3: 0x1c5 }, _0x4f791c = _0xbabd6a;
|
|
1451
|
+
if (_0x391a9c['length'] === 0x0)
|
|
1452
|
+
return _0x4f791c(_0x9ecc30._0x6558ad);
|
|
1453
|
+
return _0x391a9c['map'](_0x4f7e66 => {
|
|
1454
|
+
const _0x5ad26b = _0x4f791c, _0x8b25dc = _0x4f7e66[_0x5ad26b(0x2c7)] == null ? _0x5ad26b(_0x251be4._0x2d77a3) : '#' + _0x4f7e66[_0x5ad26b(0x2c7)];
|
|
1455
|
+
return _0x8b25dc + '\x20' + _0x4f7e66['title'] + '\x20message=' + _0x4f7e66['messageId'];
|
|
1456
|
+
})[_0x4f791c(_0x9ecc30._0x52a575)]('\x0a');
|
|
1504
1457
|
}
|
|
1505
|
-
function formatClaimTaskResults(
|
|
1506
|
-
const
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
_0x250e78[_0x576306(_0x17af06._0xe60bec)] ? _0x576306(_0x17af06._0x5e2199) + _0x250e78['workerDisposition'] : null
|
|
1537
|
-
][_0x576306(_0x17af06._0x321aec)](Boolean)[_0x576306(0x172)]('\x20');
|
|
1538
|
-
return _0x36cf2f + _0x576306(_0x17af06._0x1d5c7c) + _0x29be57 + '\x20' + _0x13a0be + '\x0a⚠️\x20WORKER\x20ACTIVATED\x20—\x20Stop\x20ALL\x20work\x20on\x20this\x20task\x20immediately.\x20Worker\x20handles\x20execution\x20end-to-end.';
|
|
1458
|
+
function formatClaimTaskResults(_0x194d92) {
|
|
1459
|
+
const _0x4e394d = { _0x44a2fb: 0x1d4 }, _0x8bfb75 = {
|
|
1460
|
+
_0x321fe9: 0x299,
|
|
1461
|
+
_0x4111ea: 0x27d,
|
|
1462
|
+
_0x143713: 0x22a,
|
|
1463
|
+
_0x3b4c00: 0x17a,
|
|
1464
|
+
_0x3512ef: 0x23f,
|
|
1465
|
+
_0x49c558: 0x1e4,
|
|
1466
|
+
_0x41e009: 0x2e9,
|
|
1467
|
+
_0x1b5488: 0x23d,
|
|
1468
|
+
_0x1df91a: 0x247,
|
|
1469
|
+
_0x46d463: 0x2c7,
|
|
1470
|
+
_0x465190: 0x299,
|
|
1471
|
+
_0x1f7203: 0x23b,
|
|
1472
|
+
_0x1d0219: 0x270
|
|
1473
|
+
}, _0x6df03a = _0xbabd6a;
|
|
1474
|
+
if (_0x194d92[_0x6df03a(0x18c)] === 0x0)
|
|
1475
|
+
return 'No\x20tasks\x20claimed.';
|
|
1476
|
+
return _0x194d92['map'](_0x517abc => {
|
|
1477
|
+
const _0x187d94 = _0x6df03a;
|
|
1478
|
+
if (_0x517abc['success']) {
|
|
1479
|
+
const _0xb9d1d0 = _0x517abc['taskNumber'] == null ? _0x187d94(0x1c5) : '#' + _0x517abc['taskNumber'], _0x1ded1a = _0x517abc['messageId'] ? _0x187d94(0x1c1) + _0x517abc[_0x187d94(_0x8bfb75._0x321fe9)] : '';
|
|
1480
|
+
if (_0x517abc['workerHandoff']) {
|
|
1481
|
+
const _0x45326 = [
|
|
1482
|
+
'workerHandoff=true',
|
|
1483
|
+
_0x517abc[_0x187d94(0x27b)] ? _0x187d94(_0x8bfb75._0x4111ea) : null,
|
|
1484
|
+
_0x517abc[_0x187d94(0x1b6)] ? _0x187d94(_0x8bfb75._0x143713) + _0x517abc['executionMode'] : null,
|
|
1485
|
+
_0x517abc[_0x187d94(_0x8bfb75._0x3b4c00)] ? _0x187d94(_0x8bfb75._0x3512ef) + _0x517abc[_0x187d94(0x17a)] : null,
|
|
1486
|
+
_0x517abc[_0x187d94(0x17f)] ? _0x187d94(_0x8bfb75._0x49c558) + _0x517abc['workerDisposition'] : null
|
|
1487
|
+
][_0x187d94(_0x8bfb75._0x41e009)](Boolean)[_0x187d94(0x1d4)]('\x20');
|
|
1488
|
+
return _0xb9d1d0 + _0x187d94(_0x8bfb75._0x1b5488) + _0x1ded1a + '\x20' + _0x45326 + _0x187d94(_0x8bfb75._0x1df91a);
|
|
1539
1489
|
}
|
|
1540
|
-
const
|
|
1541
|
-
return
|
|
1490
|
+
const _0x3a9e63 = _0x517abc[_0x187d94(0x193)] ? _0x187d94(0x2ac) + _0x517abc[_0x187d94(0x193)] : '';
|
|
1491
|
+
return _0xb9d1d0 + '\x20claimed' + _0x1ded1a + _0x3a9e63;
|
|
1542
1492
|
}
|
|
1543
|
-
const
|
|
1544
|
-
return
|
|
1545
|
-
})[
|
|
1493
|
+
const _0x3d03ab = _0x517abc[_0x187d94(_0x8bfb75._0x46d463)] == null ? _0x517abc[_0x187d94(_0x8bfb75._0x465190)] ?? _0x187d94(_0x8bfb75._0x1f7203) : '#' + _0x517abc[_0x187d94(_0x8bfb75._0x46d463)];
|
|
1494
|
+
return _0x3d03ab + _0x187d94(_0x8bfb75._0x1d0219) + (_0x517abc['reason'] ?? _0x187d94(0x2d4));
|
|
1495
|
+
})[_0x6df03a(_0x4e394d._0x44a2fb)]('\x0a');
|
|
1546
1496
|
}
|
|
1547
|
-
function formatUnclaimTaskResult(
|
|
1548
|
-
const
|
|
1549
|
-
|
|
1550
|
-
_0x203832: 0x1b8,
|
|
1551
|
-
_0x4e6b6a: 0x1aa
|
|
1552
|
-
}, _0x2eaa5e = _0x27ce1c, _0x269f69 = _0xb30b41['taskNumber'] == null ? _0x2eaa5e(_0x4dc034._0x41b1cf) : '#' + _0xb30b41[_0x2eaa5e(_0x4dc034._0x203832)];
|
|
1553
|
-
return _0x269f69 + '\x20status=' + _0xb30b41[_0x2eaa5e(_0x4dc034._0x4e6b6a)];
|
|
1497
|
+
function formatUnclaimTaskResult(_0x30ac65) {
|
|
1498
|
+
const _0x157078 = _0xbabd6a, _0x148592 = _0x30ac65['taskNumber'] == null ? '(legacy)' : '#' + _0x30ac65['taskNumber'];
|
|
1499
|
+
return _0x148592 + _0x157078(0x2d1) + _0x30ac65['status'];
|
|
1554
1500
|
}
|
|
1555
|
-
function formatUpdateTaskStatusResult(
|
|
1556
|
-
const
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
return _0x30c33b + _0x13e208(_0x1f06d5._0x17ccf0) + _0x154fb4[_0x13e208(_0x1f06d5._0x3e01f0)];
|
|
1501
|
+
function formatUpdateTaskStatusResult(_0xfa3d22) {
|
|
1502
|
+
const _0x1c24d8 = {
|
|
1503
|
+
_0x1217af: 0x1c5,
|
|
1504
|
+
_0x351a02: 0x2d1
|
|
1505
|
+
}, _0x543fb9 = _0xbabd6a, _0x3d287d = _0xfa3d22[_0x543fb9(0x2c7)] == null ? _0x543fb9(_0x1c24d8._0x1217af) : '#' + _0xfa3d22[_0x543fb9(0x2c7)];
|
|
1506
|
+
return _0x3d287d + _0x543fb9(_0x1c24d8._0x351a02) + _0xfa3d22['status'];
|
|
1562
1507
|
}
|
|
1563
1508
|
function getChatBridgeToolDefinitions() {
|
|
1564
|
-
const
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1509
|
+
const _0x59660d = {
|
|
1510
|
+
_0x414a3e: 0x21f,
|
|
1511
|
+
_0x476183: 0x21e,
|
|
1512
|
+
_0x164f16: 0x2a7,
|
|
1513
|
+
_0x4120b0: 0x1ab,
|
|
1514
|
+
_0x20ecd1: 0x1ca,
|
|
1515
|
+
_0x27a775: 0x242
|
|
1516
|
+
}, _0x28be33 = _0xbabd6a;
|
|
1571
1517
|
return [
|
|
1572
1518
|
{ 'name': 'send_message' },
|
|
1573
|
-
{ 'name':
|
|
1574
|
-
{ 'name':
|
|
1575
|
-
{ 'name':
|
|
1576
|
-
{ 'name':
|
|
1577
|
-
{ 'name':
|
|
1578
|
-
{ 'name':
|
|
1579
|
-
{ 'name':
|
|
1519
|
+
{ 'name': _0x28be33(0x298) },
|
|
1520
|
+
{ 'name': _0x28be33(0x1d3) },
|
|
1521
|
+
{ 'name': 'list_server' },
|
|
1522
|
+
{ 'name': _0x28be33(0x2d6) },
|
|
1523
|
+
{ 'name': _0x28be33(_0x59660d._0x414a3e) },
|
|
1524
|
+
{ 'name': _0x28be33(0x271) },
|
|
1525
|
+
{ 'name': _0x28be33(_0x59660d._0x476183) },
|
|
1580
1526
|
{ 'name': 'claim_tasks' },
|
|
1581
|
-
{ 'name':
|
|
1582
|
-
{ 'name':
|
|
1583
|
-
{ 'name':
|
|
1527
|
+
{ 'name': _0x28be33(_0x59660d._0x164f16) },
|
|
1528
|
+
{ 'name': _0x28be33(_0x59660d._0x4120b0) },
|
|
1529
|
+
{ 'name': _0x28be33(0x2b4) },
|
|
1584
1530
|
{ 'name': 'get_worker_result' },
|
|
1585
|
-
{ 'name':
|
|
1586
|
-
{ 'name':
|
|
1587
|
-
{ 'name':
|
|
1531
|
+
{ 'name': _0x28be33(0x1df) },
|
|
1532
|
+
{ 'name': _0x28be33(_0x59660d._0x20ecd1) },
|
|
1533
|
+
{ 'name': _0x28be33(_0x59660d._0x27a775) }
|
|
1588
1534
|
];
|
|
1589
1535
|
}
|
|
1590
|
-
function createChatBridgeHandlers(
|
|
1591
|
-
const
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
},
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
},
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
},
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1536
|
+
function createChatBridgeHandlers(_0x5a5f87) {
|
|
1537
|
+
const _0x2cacc7 = {
|
|
1538
|
+
_0x199fd4: 0x1e7,
|
|
1539
|
+
_0x5acfda: 0x1f3
|
|
1540
|
+
}, _0x1f62e5 = {
|
|
1541
|
+
_0x2f9673: 0x26a,
|
|
1542
|
+
_0x1e85fc: 0x29e,
|
|
1543
|
+
_0x245aa8: 0x2b0,
|
|
1544
|
+
_0x248876: 0x293,
|
|
1545
|
+
_0x3585cf: 0x1b5
|
|
1546
|
+
}, _0x3af99a = {
|
|
1547
|
+
_0x1dd35f: 0x18b,
|
|
1548
|
+
_0x24b50b: 0x195,
|
|
1549
|
+
_0x220f86: 0x179,
|
|
1550
|
+
_0x427f75: 0x176,
|
|
1551
|
+
_0x3ce968: 0x2c2,
|
|
1552
|
+
_0x49a7cd: 0x2b0,
|
|
1553
|
+
_0x44e9d3: 0x2f6,
|
|
1554
|
+
_0x455bc6: 0x1f6,
|
|
1555
|
+
_0x307d70: 0x19c
|
|
1556
|
+
}, _0x416848 = {
|
|
1557
|
+
_0x2a2c2e: 0x18a,
|
|
1558
|
+
_0x46c229: 0x2c2,
|
|
1559
|
+
_0x3b7cf5: 0x2bb,
|
|
1560
|
+
_0x324039: 0x1c3,
|
|
1561
|
+
_0x25cdac: 0x1d2,
|
|
1562
|
+
_0x192a30: 0x20b,
|
|
1563
|
+
_0x5009b4: 0x2ca
|
|
1564
|
+
}, _0x3f5959 = {
|
|
1565
|
+
_0x53b3a8: 0x26a,
|
|
1566
|
+
_0x2ab9e0: 0x2c2,
|
|
1567
|
+
_0x9065ca: 0x28b,
|
|
1568
|
+
_0x5e449d: 0x254
|
|
1569
|
+
}, _0x33af32 = {
|
|
1570
|
+
_0x59660f: 0x26a,
|
|
1571
|
+
_0x3fcb12: 0x26a,
|
|
1572
|
+
_0x54dc9a: 0x2b0,
|
|
1573
|
+
_0x5a979f: 0x2c2
|
|
1574
|
+
}, _0x1174df = {
|
|
1575
|
+
_0x5f476d: 0x277,
|
|
1576
|
+
_0x1405f2: 0x2d3,
|
|
1577
|
+
_0xef516b: 0x257,
|
|
1578
|
+
_0x7fbe66: 0x2df
|
|
1579
|
+
}, _0x395646 = { _0x49280b: 0x280 }, _0x43991b = { _0x4947ef: 0x20d }, _0x519fc2 = { _0x4e8933: 0x1b3 }, _0x5a71f6 = {
|
|
1580
|
+
_0x5a7cec: 0x20d,
|
|
1581
|
+
_0x42c449: 0x25d,
|
|
1582
|
+
_0x204528: 0x258
|
|
1583
|
+
}, _0x20260e = {
|
|
1584
|
+
_0xb366a5: 0x299,
|
|
1585
|
+
_0x19cbfc: 0x280,
|
|
1586
|
+
_0x51f6d0: 0x2cb
|
|
1587
|
+
}, _0x4de968 = { _0x199c15: 0x20d }, _0x5ac52f = {
|
|
1588
|
+
_0x2976e3: 0x26a,
|
|
1589
|
+
_0x247090: 0x2ab,
|
|
1590
|
+
_0x4029da: 0x18b,
|
|
1591
|
+
_0x2d84ea: 0x1e3,
|
|
1592
|
+
_0x1fd24: 0x2e0,
|
|
1593
|
+
_0x247f70: 0x200,
|
|
1594
|
+
_0x490f3c: 0x2c7,
|
|
1595
|
+
_0x2ad056: 0x2cc,
|
|
1596
|
+
_0x3ea4ef: 0x2c5
|
|
1597
|
+
}, _0x4b85cc = {
|
|
1598
|
+
_0x40a136: 0x20d,
|
|
1599
|
+
_0xe1eef: 0x224
|
|
1600
|
+
}, _0x19c467 = {
|
|
1601
|
+
_0x29a50c: 0x172,
|
|
1602
|
+
_0x2bbd12: 0x219
|
|
1603
|
+
}, _0x2584fe = {
|
|
1604
|
+
_0x151751: 0x1fd,
|
|
1605
|
+
_0x22f99b: 0x26a,
|
|
1606
|
+
_0x2aaafe: 0x18b,
|
|
1607
|
+
_0x586a0d: 0x181,
|
|
1608
|
+
_0x444b21: 0x181,
|
|
1609
|
+
_0x4d6853: 0x181,
|
|
1610
|
+
_0xaebfb7: 0x24e,
|
|
1611
|
+
_0xb3ccf5: 0x29f,
|
|
1612
|
+
_0x477c85: 0x1f8,
|
|
1613
|
+
_0x54ea8f: 0x2e4,
|
|
1614
|
+
_0x2fddb3: 0x2bf,
|
|
1615
|
+
_0xe3f2e1: 0x190,
|
|
1616
|
+
_0x39c4c3: 0x286,
|
|
1617
|
+
_0x577c15: 0x216,
|
|
1618
|
+
_0x1f9deb: 0x27e,
|
|
1619
|
+
_0x41150f: 0x244,
|
|
1620
|
+
_0x6bc2d7: 0x1d8,
|
|
1621
|
+
_0x58655f: 0x1ea,
|
|
1622
|
+
_0xc3b69c: 0x29f,
|
|
1623
|
+
_0x11d3ae: 0x1ad
|
|
1624
|
+
}, _0x178998 = {
|
|
1625
|
+
_0x29f2df: 0x18b,
|
|
1626
|
+
_0x384ac8: 0x26a,
|
|
1627
|
+
_0x312ca3: 0x2ab,
|
|
1628
|
+
_0x33fb6d: 0x288,
|
|
1629
|
+
_0x509456: 0x2e4,
|
|
1630
|
+
_0x263ce5: 0x2e0,
|
|
1631
|
+
_0x552e19: 0x221
|
|
1632
|
+
}, _0x8a71d6 = {
|
|
1633
|
+
_0x1d461c: 0x26a,
|
|
1634
|
+
_0x1c96b7: 0x18b,
|
|
1635
|
+
_0xfce34d: 0x172,
|
|
1636
|
+
_0x4d2938: 0x2ab,
|
|
1637
|
+
_0x374cbd: 0x221
|
|
1638
|
+
}, _0x4e9aed = {
|
|
1639
|
+
_0x3a0999: 0x26a,
|
|
1640
|
+
_0x2ba4f8: 0x172,
|
|
1641
|
+
_0x1e54e0: 0x1f9,
|
|
1642
|
+
_0x2e6f95: 0x24e,
|
|
1643
|
+
_0x1981aa: 0x26e,
|
|
1644
|
+
_0x54a355: 0x299,
|
|
1645
|
+
_0x3f6455: 0x224,
|
|
1646
|
+
_0x141413: 0x219,
|
|
1647
|
+
_0x369d5f: 0x1c5,
|
|
1648
|
+
_0x44f27d: 0x1f1,
|
|
1649
|
+
_0x287922: 0x206,
|
|
1650
|
+
_0xa40a2e: 0x235,
|
|
1651
|
+
_0x237aab: 0x26a,
|
|
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)] !== !![])
|
|
1708
1663
|
return null;
|
|
1709
|
-
const
|
|
1710
|
-
if (
|
|
1664
|
+
const _0x447348 = parseTarget(_0x16d714[_0x5891de(0x280)]);
|
|
1665
|
+
if (_0x447348[_0x5891de(_0x4e9aed._0x1e54e0)] !== 'channel')
|
|
1711
1666
|
return null;
|
|
1712
|
-
const
|
|
1713
|
-
let
|
|
1667
|
+
const _0x37afb7 = _0x16d714[_0x5891de(_0x4e9aed._0x2e6f95)] != null ? _0x447348[_0x5891de(_0x4e9aed._0x1981aa)] + ':t' + _0x16d714[_0x5891de(0x24e)] : _0x447348[_0x5891de(0x26e)] + ':' + _0x16d714[_0x5891de(_0x4e9aed._0x54a355)];
|
|
1668
|
+
let _0x377969;
|
|
1714
1669
|
try {
|
|
1715
|
-
const
|
|
1716
|
-
'channel':
|
|
1670
|
+
const _0x14ed40 = await _0x5a5f87[_0x5891de(0x20d)][_0x5891de(_0x4e9aed._0x3f6455)]({
|
|
1671
|
+
'channel': _0x37afb7,
|
|
1717
1672
|
'limit': 0x14
|
|
1718
1673
|
});
|
|
1719
|
-
|
|
1674
|
+
_0x377969 = _0x14ed40[_0x5891de(_0x4e9aed._0x141413)][_0x5891de(0x200)](_0x4680b3 => _0x4680b3[_0x5891de(0x299)] === _0x16d714[_0x5891de(0x299)]);
|
|
1720
1675
|
} catch {
|
|
1721
|
-
|
|
1676
|
+
_0x377969 = void 0x0;
|
|
1722
1677
|
}
|
|
1723
|
-
const
|
|
1724
|
-
|
|
1678
|
+
const _0x16587e = _0x16d714['taskNumber'] == null ? _0x5891de(_0x4e9aed._0x369d5f) : '#' + _0x16d714[_0x5891de(0x2c7)], _0x2134ae = [
|
|
1679
|
+
_0x5891de(0x2bf) + _0x37afb7 + '\x20msg=' + _0x16d714[_0x5891de(0x299)][_0x5891de(0x1e8)](0x0, 0x8) + _0x5891de(_0x4e9aed._0x44f27d) + new Date()[_0x5891de(0x1d7)]() + _0x5891de(_0x4e9aed._0x287922) + _0x16587e + _0x5891de(0x2bd),
|
|
1725
1680
|
'',
|
|
1726
|
-
|
|
1681
|
+
_0x377969 ? _0x5891de(_0x4e9aed._0xa40a2e) + _0x377969['content'] : _0x5891de(0x1de) + _0x16d714['messageId'],
|
|
1727
1682
|
'',
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
][
|
|
1731
|
-
'method':
|
|
1732
|
-
'headers': { 'Content-Type':
|
|
1733
|
-
'body': JSON[
|
|
1734
|
-
'agent_id':
|
|
1735
|
-
'thread_target':
|
|
1683
|
+
_0x5891de(0x1fe) + _0x37afb7,
|
|
1684
|
+
_0x5891de(0x199)
|
|
1685
|
+
]['join']('\x0a'), _0x5aa9f4 = await fetch(_0x5a5f87[_0x5891de(_0x4e9aed._0x237aab)] + '/workers/deliver', {
|
|
1686
|
+
'method': _0x5891de(_0x4e9aed._0x2d105c),
|
|
1687
|
+
'headers': { 'Content-Type': 'application/json' },
|
|
1688
|
+
'body': JSON[_0x5891de(_0x4e9aed._0x3d7117)]({
|
|
1689
|
+
'agent_id': _0x5a5f87[_0x5891de(0x18b)],
|
|
1690
|
+
'thread_target': _0x37afb7,
|
|
1736
1691
|
'spawn_packet': {
|
|
1737
|
-
'replyTarget':
|
|
1738
|
-
...
|
|
1692
|
+
'replyTarget': _0x37afb7,
|
|
1693
|
+
..._0x16d714[_0x5891de(_0x4e9aed._0x8f4836)] ? { 'taskId': _0x16d714[_0x5891de(0x216)] } : _0x16d714[_0x5891de(_0x4e9aed._0x432411)] != null ? { 'taskId': _0x5891de(0x207) + _0x16d714[_0x5891de(_0x4e9aed._0x432411)] } : {}
|
|
1739
1694
|
},
|
|
1740
1695
|
'payload': {
|
|
1741
1696
|
'mode': 'user',
|
|
1742
|
-
'text':
|
|
1697
|
+
'text': _0x2134ae
|
|
1743
1698
|
}
|
|
1744
1699
|
})
|
|
1745
|
-
}),
|
|
1746
|
-
if (!
|
|
1747
|
-
throw new Error(
|
|
1700
|
+
}), _0x46689b = await _0x5aa9f4[_0x5891de(0x2b0)]();
|
|
1701
|
+
if (!_0x46689b['ok'])
|
|
1702
|
+
throw new Error(_0x46689b[_0x5891de(_0x4e9aed._0x43921d)] ?? _0x5891de(0x2cb));
|
|
1748
1703
|
return {
|
|
1749
1704
|
'stopMain': !![],
|
|
1750
|
-
'threadTarget':
|
|
1751
|
-
'workerDisposition':
|
|
1705
|
+
'threadTarget': _0x37afb7,
|
|
1706
|
+
'workerDisposition': _0x46689b['disposition'] === _0x5891de(_0x4e9aed._0x58939a) ? _0x5891de(0x1d8) : _0x5891de(_0x4e9aed._0x5384fd),
|
|
1752
1707
|
'workerHandoff': !![],
|
|
1753
|
-
'workerSessionId':
|
|
1754
|
-
'executionMode':
|
|
1708
|
+
'workerSessionId': _0x46689b['worker_session_id'] ?? '',
|
|
1709
|
+
'executionMode': _0x5891de(0x256)
|
|
1755
1710
|
};
|
|
1756
1711
|
}
|
|
1757
|
-
async function
|
|
1758
|
-
const
|
|
1759
|
-
if (!
|
|
1712
|
+
async function _0x4d5ef() {
|
|
1713
|
+
const _0x58ea89 = _0x5296;
|
|
1714
|
+
if (!_0x5a5f87[_0x58ea89(_0x8a71d6._0x1d461c)] || !_0x5a5f87[_0x58ea89(_0x8a71d6._0x1c96b7)] || _0x5a5f87[_0x58ea89(_0x8a71d6._0xfce34d)])
|
|
1760
1715
|
return null;
|
|
1761
1716
|
try {
|
|
1762
|
-
const
|
|
1763
|
-
if (!
|
|
1717
|
+
const _0x282917 = await fetch(_0x5a5f87[_0x58ea89(_0x8a71d6._0x1d461c)] + _0x58ea89(_0x8a71d6._0x4d2938) + encodeURIComponent(_0x5a5f87[_0x58ea89(0x18b)])), _0x33f020 = await _0x282917[_0x58ea89(0x2b0)]();
|
|
1718
|
+
if (!_0x33f020['ok'])
|
|
1764
1719
|
return null;
|
|
1765
|
-
const
|
|
1766
|
-
for (const
|
|
1767
|
-
|
|
1720
|
+
const _0x56c3bb = new Set();
|
|
1721
|
+
for (const _0x4c7844 of _0x33f020[_0x58ea89(0x288)]) {
|
|
1722
|
+
_0x4c7844[_0x58ea89(0x282)] !== _0x58ea89(0x28d) && _0x4c7844['thread_target'] && _0x56c3bb[_0x58ea89(0x2c5)](_0x4c7844[_0x58ea89(0x2e0)]);
|
|
1768
1723
|
}
|
|
1769
|
-
return
|
|
1724
|
+
return _0x56c3bb[_0x58ea89(_0x8a71d6._0x374cbd)] > 0x0 ? _0x56c3bb : null;
|
|
1770
1725
|
} catch {
|
|
1771
1726
|
return null;
|
|
1772
1727
|
}
|
|
1773
1728
|
}
|
|
1774
|
-
const
|
|
1729
|
+
const _0x11ff3c = new Set([
|
|
1775
1730
|
'running',
|
|
1776
|
-
|
|
1777
|
-
|
|
1731
|
+
_0x3beca6(_0x2cacc7._0x199fd4),
|
|
1732
|
+
_0x3beca6(_0x2cacc7._0x5acfda)
|
|
1778
1733
|
]);
|
|
1779
|
-
async function
|
|
1780
|
-
const
|
|
1781
|
-
if (!
|
|
1734
|
+
async function _0xb0a4cc() {
|
|
1735
|
+
const _0x50c404 = _0x3beca6;
|
|
1736
|
+
if (!_0x5a5f87[_0x50c404(0x26a)] || !_0x5a5f87[_0x50c404(_0x178998._0x29f2df)] || _0x5a5f87['workerMode'])
|
|
1782
1737
|
return null;
|
|
1783
1738
|
try {
|
|
1784
|
-
const
|
|
1785
|
-
if (!
|
|
1739
|
+
const _0x27cf74 = await fetch(_0x5a5f87[_0x50c404(_0x178998._0x384ac8)] + _0x50c404(_0x178998._0x312ca3) + encodeURIComponent(_0x5a5f87[_0x50c404(_0x178998._0x29f2df)])), _0x33178a = await _0x27cf74[_0x50c404(0x2b0)]();
|
|
1740
|
+
if (!_0x33178a['ok'])
|
|
1786
1741
|
return null;
|
|
1787
|
-
const
|
|
1788
|
-
for (const
|
|
1789
|
-
|
|
1742
|
+
const _0x3723a9 = new Set();
|
|
1743
|
+
for (const _0x357dda of _0x33178a[_0x50c404(_0x178998._0x33fb6d)]) {
|
|
1744
|
+
_0x11ff3c[_0x50c404(_0x178998._0x509456)](_0x357dda['status']) && _0x357dda['thread_target'] && _0x3723a9['add'](_0x357dda[_0x50c404(_0x178998._0x263ce5)]);
|
|
1790
1745
|
}
|
|
1791
|
-
return
|
|
1746
|
+
return _0x3723a9[_0x50c404(_0x178998._0x552e19)] > 0x0 ? _0x3723a9 : null;
|
|
1792
1747
|
} catch {
|
|
1793
1748
|
return null;
|
|
1794
1749
|
}
|
|
1795
1750
|
}
|
|
1796
1751
|
return {
|
|
1797
|
-
async 'send_message'(
|
|
1798
|
-
const
|
|
1799
|
-
if (!
|
|
1800
|
-
const
|
|
1801
|
-
if (
|
|
1802
|
-
const
|
|
1803
|
-
if (
|
|
1752
|
+
async 'send_message'(_0x398cad) {
|
|
1753
|
+
const _0x46c6d4 = _0x3beca6;
|
|
1754
|
+
if (!_0x5a5f87[_0x46c6d4(0x172)] && _0x5a5f87[_0x46c6d4(_0x2584fe._0x151751)] && _0x5a5f87[_0x46c6d4(_0x2584fe._0x22f99b)] && _0x5a5f87[_0x46c6d4(_0x2584fe._0x2aaafe)]) {
|
|
1755
|
+
const _0xfda371 = await _0x5a5f87['client'][_0x46c6d4(0x1bc)](_0x398cad[_0x46c6d4(0x29f)]);
|
|
1756
|
+
if (_0xfda371[_0x46c6d4(_0x2584fe._0x586a0d)] && _0xfda371[_0x46c6d4(0x1f8)]) {
|
|
1757
|
+
const _0x470bba = _0xfda371[_0x46c6d4(_0x2584fe._0x444b21)][_0x46c6d4(0x2c7)] != null ? '#' + _0xfda371[_0x46c6d4(_0x2584fe._0x4d6853)]['taskNumber'] : '(legacy)', _0xe3c0e9 = _0xfda371[_0x46c6d4(_0x2584fe._0xaebfb7)] != null ? _0xfda371['target'] + ':t' + _0xfda371['threadNumber'] : _0xfda371[_0x46c6d4(_0x2584fe._0xb3ccf5)] + ':' + _0xfda371[_0x46c6d4(_0x2584fe._0x477c85)][_0x46c6d4(0x1e8)](0x0, 0x8), _0x3dd6e = await _0xb0a4cc();
|
|
1758
|
+
if (_0x3dd6e?.[_0x46c6d4(_0x2584fe._0x54ea8f)](_0xe3c0e9))
|
|
1804
1759
|
return [
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
][
|
|
1808
|
-
const
|
|
1809
|
-
|
|
1760
|
+
_0x46c6d4(0x1e1) + _0x470bba + '\x20in\x20' + _0xe3c0e9 + _0x46c6d4(0x21d),
|
|
1761
|
+
'Do\x20not\x20send\x20further\x20messages\x20to\x20this\x20thread\x20—\x20the\x20worker\x20is\x20handling\x20it.'
|
|
1762
|
+
][_0x46c6d4(0x1d4)]('\x0a');
|
|
1763
|
+
const _0x43e7a3 = [
|
|
1764
|
+
_0x46c6d4(_0x2584fe._0x2fddb3) + _0xe3c0e9 + _0x46c6d4(_0x2584fe._0xe3f2e1) + new Date()[_0x46c6d4(0x1d7)]() + _0x46c6d4(0x16d),
|
|
1810
1765
|
'',
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
][
|
|
1816
|
-
'method':
|
|
1817
|
-
'headers': { 'Content-Type':
|
|
1818
|
-
'body': JSON[
|
|
1819
|
-
'agent_id':
|
|
1820
|
-
'thread_target':
|
|
1766
|
+
_0x46c6d4(_0x2584fe._0x39c4c3) + _0x398cad['content'],
|
|
1767
|
+
_0x46c6d4(0x2d5) + _0x470bba + '\x20(' + _0xfda371['task'][_0x46c6d4(0x216)] + ')',
|
|
1768
|
+
'Thread\x20target:\x20' + _0xe3c0e9,
|
|
1769
|
+
_0x46c6d4(0x19f)
|
|
1770
|
+
][_0x46c6d4(0x1d4)]('\x0a'), _0x16a32c = await fetch(_0x5a5f87['daemonLocalUrl'] + _0x46c6d4(0x2e8), {
|
|
1771
|
+
'method': _0x46c6d4(0x29e),
|
|
1772
|
+
'headers': { 'Content-Type': _0x46c6d4(0x2e2) },
|
|
1773
|
+
'body': JSON[_0x46c6d4(0x176)]({
|
|
1774
|
+
'agent_id': _0x5a5f87[_0x46c6d4(0x18b)],
|
|
1775
|
+
'thread_target': _0xe3c0e9,
|
|
1821
1776
|
'spawn_packet': {
|
|
1822
|
-
'replyTarget':
|
|
1823
|
-
'taskId':
|
|
1777
|
+
'replyTarget': _0xe3c0e9,
|
|
1778
|
+
'taskId': _0xfda371['task'][_0x46c6d4(_0x2584fe._0x577c15)]
|
|
1824
1779
|
},
|
|
1825
1780
|
'payload': {
|
|
1826
|
-
'mode':
|
|
1827
|
-
'text':
|
|
1781
|
+
'mode': 'user',
|
|
1782
|
+
'text': _0x43e7a3
|
|
1828
1783
|
}
|
|
1829
1784
|
})
|
|
1830
|
-
}),
|
|
1831
|
-
if (!
|
|
1832
|
-
throw new Error(
|
|
1785
|
+
}), _0x277ae9 = await _0x16a32c[_0x46c6d4(0x2b0)]();
|
|
1786
|
+
if (!_0x277ae9['ok'])
|
|
1787
|
+
throw new Error(_0x277ae9['error'] ?? _0x46c6d4(_0x2584fe._0x1f9deb));
|
|
1833
1788
|
return [
|
|
1834
|
-
|
|
1835
|
-
'Worker\x20' + (
|
|
1836
|
-
|
|
1837
|
-
][
|
|
1789
|
+
_0x46c6d4(0x289) + _0x470bba + _0x46c6d4(_0x2584fe._0x41150f) + _0xe3c0e9 + '.\x20stopMain=true\x20executionMode=worker',
|
|
1790
|
+
'Worker\x20' + (_0x277ae9[_0x46c6d4(0x1ef)] === _0x46c6d4(_0x2584fe._0x6bc2d7) ? _0x46c6d4(0x1d8) : _0x46c6d4(0x2b8)) + '.',
|
|
1791
|
+
'⚠️\x20WORKER\x20ACTIVATED\x20—\x20Stop\x20ALL\x20work\x20on\x20this\x20task\x20immediately.\x20Do\x20not\x20send\x20further\x20messages\x20to\x20this\x20thread.'
|
|
1792
|
+
][_0x46c6d4(0x1d4)]('\x0a');
|
|
1838
1793
|
}
|
|
1839
1794
|
}
|
|
1840
|
-
const
|
|
1841
|
-
'attachmentIds':
|
|
1842
|
-
'content':
|
|
1843
|
-
'target':
|
|
1844
|
-
'visibility':
|
|
1795
|
+
const _0x323421 = await _0x5a5f87['client'][_0x46c6d4(_0x2584fe._0x58655f)]({
|
|
1796
|
+
'attachmentIds': _0x398cad['attachment_ids'],
|
|
1797
|
+
'content': _0x398cad[_0x46c6d4(0x2a4)],
|
|
1798
|
+
'target': _0x398cad[_0x46c6d4(_0x2584fe._0xc3b69c)],
|
|
1799
|
+
'visibility': _0x398cad[_0x46c6d4(0x264)]
|
|
1845
1800
|
});
|
|
1846
|
-
return
|
|
1801
|
+
return _0x46c6d4(_0x2584fe._0x11d3ae) + _0x398cad[_0x46c6d4(0x29f)] + '.\x20Message\x20ID:\x20' + _0x323421[_0x46c6d4(0x299)];
|
|
1847
1802
|
},
|
|
1848
1803
|
async 'check_messages'() {
|
|
1849
|
-
const
|
|
1850
|
-
if (!
|
|
1851
|
-
const
|
|
1852
|
-
if (
|
|
1853
|
-
return formatCheckMessages(
|
|
1804
|
+
const _0x52edec = _0x3beca6, _0x3b70c6 = await _0x5a5f87['client']['checkMessages']();
|
|
1805
|
+
if (!_0x5a5f87[_0x52edec(_0x19c467._0x29a50c)]) {
|
|
1806
|
+
const _0xbd85fd = await _0x4d5ef();
|
|
1807
|
+
if (_0xbd85fd)
|
|
1808
|
+
return formatCheckMessages(_0x3b70c6['messages']['filter'](_0x2aafaa => !_0xbd85fd[_0x52edec(0x2e4)](_0x2aafaa[_0x52edec(0x29f)])));
|
|
1854
1809
|
}
|
|
1855
|
-
return formatCheckMessages(
|
|
1810
|
+
return formatCheckMessages(_0x3b70c6[_0x52edec(_0x19c467._0x2bbd12)]);
|
|
1856
1811
|
},
|
|
1857
|
-
async 'read_history'(
|
|
1858
|
-
const
|
|
1859
|
-
return formatHistory(
|
|
1812
|
+
async 'read_history'(_0x2454c9) {
|
|
1813
|
+
const _0x135fb6 = _0x3beca6, _0x2358e9 = await _0x5a5f87[_0x135fb6(_0x4b85cc._0x40a136)][_0x135fb6(_0x4b85cc._0xe1eef)](_0x2454c9);
|
|
1814
|
+
return formatHistory(_0x2358e9);
|
|
1860
1815
|
},
|
|
1861
1816
|
async 'list_server'() {
|
|
1862
|
-
const
|
|
1863
|
-
return formatServerDirectory(
|
|
1817
|
+
const _0x248531 = _0x3beca6, _0x472fa2 = await _0x5a5f87['client'][_0x248531(0x205)]();
|
|
1818
|
+
return formatServerDirectory(_0x472fa2);
|
|
1864
1819
|
},
|
|
1865
|
-
async 'list_tasks'(
|
|
1866
|
-
const
|
|
1867
|
-
let
|
|
1868
|
-
if (
|
|
1820
|
+
async 'list_tasks'(_0x407029) {
|
|
1821
|
+
const _0x381577 = _0x3beca6, _0x2ad5c5 = await _0x5a5f87[_0x381577(0x20d)]['listTasks'](_0x407029);
|
|
1822
|
+
let _0x65553;
|
|
1823
|
+
if (_0x5a5f87['daemonLocalUrl'] && _0x5a5f87['agentId'])
|
|
1869
1824
|
try {
|
|
1870
|
-
const
|
|
1871
|
-
if (
|
|
1872
|
-
const
|
|
1873
|
-
|
|
1874
|
-
for (const
|
|
1875
|
-
if (
|
|
1825
|
+
const _0x21167d = await fetch(_0x5a5f87[_0x381577(_0x5ac52f._0x2976e3)] + _0x381577(_0x5ac52f._0x247090) + encodeURIComponent(_0x5a5f87[_0x381577(_0x5ac52f._0x4029da)])), _0x313792 = await _0x21167d[_0x381577(0x2b0)]();
|
|
1826
|
+
if (_0x313792['ok']) {
|
|
1827
|
+
const _0x1bf6c3 = _0x407029[_0x381577(0x280)] + ':';
|
|
1828
|
+
_0x65553 = new Set();
|
|
1829
|
+
for (const _0x1b4090 of _0x313792[_0x381577(0x288)]) {
|
|
1830
|
+
if (_0x1b4090['status'] === _0x381577(0x28d))
|
|
1876
1831
|
continue;
|
|
1877
|
-
if (
|
|
1878
|
-
const
|
|
1879
|
-
if (
|
|
1880
|
-
|
|
1832
|
+
if (_0x1b4090[_0x381577(0x2e0)]?.[_0x381577(_0x5ac52f._0x2d84ea)](_0x1bf6c3)) {
|
|
1833
|
+
const _0x493d2b = _0x1b4090[_0x381577(_0x5ac52f._0x1fd24)]['slice'](_0x1bf6c3['length']), _0x2a00d5 = _0x2ad5c5[_0x381577(0x2cc)][_0x381577(_0x5ac52f._0x247f70)](_0x5d859c => _0x5d859c['messageId']?.[_0x381577(0x1e3)](_0x493d2b) === !![]);
|
|
1834
|
+
if (_0x2a00d5?.[_0x381577(0x2c7)] != null) {
|
|
1835
|
+
_0x65553['add'](_0x2a00d5[_0x381577(_0x5ac52f._0x490f3c)]);
|
|
1881
1836
|
continue;
|
|
1882
1837
|
}
|
|
1883
1838
|
}
|
|
1884
|
-
if (
|
|
1885
|
-
const
|
|
1886
|
-
|
|
1839
|
+
if (_0x1b4090['task_id']) {
|
|
1840
|
+
const _0x125bb2 = _0x2ad5c5[_0x381577(_0x5ac52f._0x2ad056)][_0x381577(_0x5ac52f._0x247f70)](_0x3576ed => _0x3576ed[_0x381577(0x216)] === _0x1b4090[_0x381577(0x240)]);
|
|
1841
|
+
_0x125bb2?.[_0x381577(0x2c7)] != null && _0x65553[_0x381577(_0x5ac52f._0x3ea4ef)](_0x125bb2[_0x381577(0x2c7)]);
|
|
1887
1842
|
}
|
|
1888
1843
|
}
|
|
1889
1844
|
}
|
|
1890
1845
|
} catch {
|
|
1891
1846
|
}
|
|
1892
|
-
return formatTaskList(
|
|
1847
|
+
return formatTaskList(_0x2ad5c5[_0x381577(_0x5ac52f._0x2ad056)], _0x65553);
|
|
1893
1848
|
},
|
|
1894
|
-
async 'create_tasks'(
|
|
1895
|
-
const
|
|
1896
|
-
return formatCreatedTasks(
|
|
1849
|
+
async 'create_tasks'(_0x30fdfd) {
|
|
1850
|
+
const _0x3cfd97 = _0x3beca6, _0x3f3354 = await _0x5a5f87[_0x3cfd97(_0x4de968._0x199c15)][_0x3cfd97(0x209)](_0x30fdfd);
|
|
1851
|
+
return formatCreatedTasks(_0x3f3354[_0x3cfd97(0x2cc)]);
|
|
1897
1852
|
},
|
|
1898
|
-
async 'claim_tasks'(
|
|
1899
|
-
const
|
|
1900
|
-
const
|
|
1901
|
-
if (!
|
|
1902
|
-
return
|
|
1853
|
+
async 'claim_tasks'(_0x226da5) {
|
|
1854
|
+
const _0x2c6155 = _0x3beca6, _0x24b1f7 = await _0x5a5f87[_0x2c6155(_0x5a71f6._0x5a7cec)]['claimTasks'](_0x226da5), _0xb95a28 = await Promise[_0x2c6155(0x19b)](_0x24b1f7[_0x2c6155(_0x5a71f6._0x42c449)][_0x2c6155(_0x5a71f6._0x204528)](async _0x2898f0 => {
|
|
1855
|
+
const _0x3a7c04 = _0x2c6155;
|
|
1856
|
+
if (!_0x2898f0[_0x3a7c04(0x245)] || !_0x2898f0[_0x3a7c04(_0x20260e._0xb366a5)])
|
|
1857
|
+
return _0x2898f0;
|
|
1903
1858
|
try {
|
|
1904
|
-
const
|
|
1905
|
-
'channel':
|
|
1906
|
-
'messageId':
|
|
1907
|
-
'taskId':
|
|
1908
|
-
'taskNumber':
|
|
1909
|
-
'threadNumber':
|
|
1859
|
+
const _0x4336c8 = await _0x25752f({
|
|
1860
|
+
'channel': _0x226da5[_0x3a7c04(_0x20260e._0x19cbfc)],
|
|
1861
|
+
'messageId': _0x2898f0['messageId'],
|
|
1862
|
+
'taskId': _0x2898f0['taskId'],
|
|
1863
|
+
'taskNumber': _0x2898f0[_0x3a7c04(0x2c7)],
|
|
1864
|
+
'threadNumber': _0x2898f0['threadNumber']
|
|
1910
1865
|
});
|
|
1911
|
-
return
|
|
1912
|
-
...
|
|
1913
|
-
...
|
|
1914
|
-
} :
|
|
1915
|
-
} catch (
|
|
1866
|
+
return _0x4336c8 ? {
|
|
1867
|
+
..._0x2898f0,
|
|
1868
|
+
..._0x4336c8
|
|
1869
|
+
} : _0x2898f0;
|
|
1870
|
+
} catch (_0x39b7a0) {
|
|
1916
1871
|
return {
|
|
1917
|
-
...
|
|
1918
|
-
'workerHandoffError':
|
|
1872
|
+
..._0x2898f0,
|
|
1873
|
+
'workerHandoffError': _0x39b7a0 instanceof Error ? _0x39b7a0[_0x3a7c04(0x284)] : _0x3a7c04(_0x20260e._0x51f6d0)
|
|
1919
1874
|
};
|
|
1920
1875
|
}
|
|
1921
1876
|
}));
|
|
1922
|
-
return formatClaimTaskResults(
|
|
1877
|
+
return formatClaimTaskResults(_0xb95a28);
|
|
1923
1878
|
},
|
|
1924
|
-
async 'unclaim_task'(
|
|
1925
|
-
const
|
|
1926
|
-
return formatUnclaimTaskResult(
|
|
1879
|
+
async 'unclaim_task'(_0x116f88) {
|
|
1880
|
+
const _0x4b3f5e = _0x3beca6, _0x59c916 = await _0x5a5f87[_0x4b3f5e(0x20d)][_0x4b3f5e(_0x519fc2._0x4e8933)](_0x116f88);
|
|
1881
|
+
return formatUnclaimTaskResult(_0x59c916);
|
|
1927
1882
|
},
|
|
1928
|
-
async 'update_task_status'(
|
|
1929
|
-
const
|
|
1930
|
-
return formatUpdateTaskStatusResult(
|
|
1883
|
+
async 'update_task_status'(_0x5aad25) {
|
|
1884
|
+
const _0x53c623 = _0x3beca6, _0x364721 = await _0x5a5f87[_0x53c623(_0x43991b._0x4947ef)][_0x53c623(0x1a6)](_0x5aad25);
|
|
1885
|
+
return formatUpdateTaskStatusResult(_0x364721);
|
|
1931
1886
|
},
|
|
1932
|
-
async 'upload_file'(
|
|
1933
|
-
const
|
|
1934
|
-
sizeBytes:
|
|
1935
|
-
...
|
|
1936
|
-
} =
|
|
1937
|
-
'channel':
|
|
1938
|
-
...
|
|
1887
|
+
async 'upload_file'(_0x3e5951) {
|
|
1888
|
+
const _0xf6923c = _0x3beca6, _0x5874e4 = await _0x5a5f87['uploadPreparer'](_0x3e5951[_0xf6923c(0x2c9)]), {
|
|
1889
|
+
sizeBytes: _0x408f9e,
|
|
1890
|
+
..._0x2c20ac
|
|
1891
|
+
} = _0x5874e4, _0x22c7ee = await _0x5a5f87[_0xf6923c(0x20d)][_0xf6923c(0x173)]({
|
|
1892
|
+
'channel': _0x3e5951[_0xf6923c(_0x395646._0x49280b)],
|
|
1893
|
+
..._0x2c20ac
|
|
1939
1894
|
});
|
|
1940
|
-
return formatUploadResult(
|
|
1895
|
+
return formatUploadResult(_0x22c7ee);
|
|
1941
1896
|
},
|
|
1942
|
-
async 'view_file'(
|
|
1943
|
-
const
|
|
1944
|
-
if (
|
|
1945
|
-
return formatViewFileResult(
|
|
1946
|
-
const
|
|
1947
|
-
'attachmentId':
|
|
1948
|
-
'contentType':
|
|
1949
|
-
'data':
|
|
1950
|
-
'originalFilename':
|
|
1897
|
+
async 'view_file'(_0x11d81f) {
|
|
1898
|
+
const _0x40b7fb = _0x3beca6, _0x24f9dc = await _0x5a5f87[_0x40b7fb(_0x1174df._0x5f476d)][_0x40b7fb(_0x1174df._0x1405f2)](_0x11d81f[_0x40b7fb(0x257)]);
|
|
1899
|
+
if (_0x24f9dc)
|
|
1900
|
+
return formatViewFileResult(_0x24f9dc, !![]);
|
|
1901
|
+
const _0x47b844 = await _0x5a5f87[_0x40b7fb(0x20d)][_0x40b7fb(0x295)](_0x11d81f[_0x40b7fb(_0x1174df._0xef516b)]), _0x32c164 = await _0x5a5f87[_0x40b7fb(0x277)][_0x40b7fb(_0x1174df._0x7fbe66)]({
|
|
1902
|
+
'attachmentId': _0x11d81f['attachment_id'],
|
|
1903
|
+
'contentType': _0x47b844[_0x40b7fb(0x2b7)],
|
|
1904
|
+
'data': _0x47b844[_0x40b7fb(0x2a1)],
|
|
1905
|
+
'originalFilename': _0x47b844[_0x40b7fb(0x1b7)]
|
|
1951
1906
|
});
|
|
1952
|
-
return formatViewFileResult(
|
|
1907
|
+
return formatViewFileResult(_0x32c164, ![]);
|
|
1953
1908
|
},
|
|
1954
|
-
async 'get_worker_status'(
|
|
1955
|
-
const
|
|
1956
|
-
if (!
|
|
1957
|
-
return
|
|
1958
|
-
const
|
|
1959
|
-
if (!
|
|
1960
|
-
return
|
|
1961
|
-
return
|
|
1909
|
+
async 'get_worker_status'(_0x2a6e5a) {
|
|
1910
|
+
const _0x5f49e6 = _0x3beca6;
|
|
1911
|
+
if (!_0x5a5f87[_0x5f49e6(_0x33af32._0x59660f)])
|
|
1912
|
+
return 'Worker\x20features\x20not\x20available';
|
|
1913
|
+
const _0x15ea1b = await fetch(_0x5a5f87[_0x5f49e6(_0x33af32._0x3fcb12)] + _0x5f49e6(0x1c4) + encodeURIComponent(_0x2a6e5a[_0x5f49e6(0x2c2)])), _0x3df294 = await _0x15ea1b[_0x5f49e6(_0x33af32._0x54dc9a)]();
|
|
1914
|
+
if (!_0x3df294['ok'])
|
|
1915
|
+
return _0x5f49e6(0x20b) + _0x2a6e5a[_0x5f49e6(0x2c2)] + _0x5f49e6(0x24b);
|
|
1916
|
+
return _0x5f49e6(0x20b) + _0x2a6e5a[_0x5f49e6(_0x33af32._0x5a979f)] + _0x5f49e6(0x2cf) + _0x3df294[_0x5f49e6(0x282)];
|
|
1962
1917
|
},
|
|
1963
|
-
async 'get_worker_result'(
|
|
1964
|
-
const
|
|
1965
|
-
if (!
|
|
1966
|
-
return
|
|
1967
|
-
const
|
|
1968
|
-
if (!
|
|
1969
|
-
return
|
|
1970
|
-
return JSON[
|
|
1918
|
+
async 'get_worker_result'(_0x160145) {
|
|
1919
|
+
const _0x13a236 = _0x3beca6;
|
|
1920
|
+
if (!_0x5a5f87[_0x13a236(0x26a)])
|
|
1921
|
+
return _0x13a236(0x1a0);
|
|
1922
|
+
const _0x12a44d = await fetch(_0x5a5f87[_0x13a236(_0x3f5959._0x53b3a8)] + _0x13a236(0x1a8) + encodeURIComponent(_0x160145[_0x13a236(_0x3f5959._0x2ab9e0)])), _0x47a189 = await _0x12a44d['json']();
|
|
1923
|
+
if (!_0x47a189['resume_packet'])
|
|
1924
|
+
return _0x13a236(_0x3f5959._0x9065ca) + _0x160145['work_key'] + '\x22';
|
|
1925
|
+
return JSON['stringify'](_0x47a189[_0x13a236(_0x3f5959._0x5e449d)], null, 0x2);
|
|
1971
1926
|
},
|
|
1972
|
-
async 'finish_worker'(
|
|
1973
|
-
const
|
|
1974
|
-
if (!
|
|
1975
|
-
return
|
|
1976
|
-
const
|
|
1977
|
-
'method':
|
|
1978
|
-
'headers': { 'Content-Type':
|
|
1979
|
-
'body': JSON[
|
|
1980
|
-
'work_key':
|
|
1927
|
+
async 'finish_worker'(_0x4253dd) {
|
|
1928
|
+
const _0x4a0ef4 = _0x3beca6;
|
|
1929
|
+
if (!_0x5a5f87['daemonLocalUrl'])
|
|
1930
|
+
return 'Worker\x20features\x20not\x20available';
|
|
1931
|
+
const _0xd2f505 = await fetch(_0x5a5f87[_0x4a0ef4(0x26a)] + _0x4a0ef4(_0x416848._0x2a2c2e), {
|
|
1932
|
+
'method': _0x4a0ef4(0x29e),
|
|
1933
|
+
'headers': { 'Content-Type': 'application/json' },
|
|
1934
|
+
'body': JSON[_0x4a0ef4(0x176)]({
|
|
1935
|
+
'work_key': _0x4253dd[_0x4a0ef4(_0x416848._0x46c229)],
|
|
1981
1936
|
'resume_packet': {
|
|
1982
1937
|
'objective': '',
|
|
1983
|
-
'result':
|
|
1984
|
-
'summary':
|
|
1985
|
-
'decisions':
|
|
1986
|
-
'filesChanged':
|
|
1987
|
-
'openIssues':
|
|
1988
|
-
'nextSteps':
|
|
1938
|
+
'result': _0x4253dd[_0x4a0ef4(0x18f)],
|
|
1939
|
+
'summary': _0x4253dd[_0x4a0ef4(_0x416848._0x3b7cf5)],
|
|
1940
|
+
'decisions': _0x4253dd['decisions'] ?? [],
|
|
1941
|
+
'filesChanged': _0x4253dd['files_changed'] ?? [],
|
|
1942
|
+
'openIssues': _0x4253dd[_0x4a0ef4(_0x416848._0x324039)] ?? [],
|
|
1943
|
+
'nextSteps': _0x4253dd['next_steps'] ?? []
|
|
1989
1944
|
}
|
|
1990
1945
|
})
|
|
1991
|
-
}),
|
|
1992
|
-
if (!
|
|
1993
|
-
throw new Error(
|
|
1994
|
-
return
|
|
1946
|
+
}), _0x1c15f6 = await _0xd2f505[_0x4a0ef4(0x2b0)]();
|
|
1947
|
+
if (!_0x1c15f6['ok'])
|
|
1948
|
+
throw new Error(_0x1c15f6['error'] ?? _0x4a0ef4(_0x416848._0x25cdac));
|
|
1949
|
+
return _0x4a0ef4(_0x416848._0x192a30) + _0x4253dd[_0x4a0ef4(_0x416848._0x46c229)] + _0x4a0ef4(_0x416848._0x5009b4) + _0x4253dd['result'];
|
|
1995
1950
|
},
|
|
1996
|
-
async 'mark_waiting_input'(
|
|
1997
|
-
const
|
|
1998
|
-
if (!
|
|
1999
|
-
return
|
|
2000
|
-
const
|
|
2001
|
-
'method':
|
|
1951
|
+
async 'mark_waiting_input'(_0x42ba7b) {
|
|
1952
|
+
const _0x97e5ba = _0x3beca6;
|
|
1953
|
+
if (!_0x5a5f87['daemonLocalUrl'] || !_0x5a5f87[_0x97e5ba(_0x3af99a._0x1dd35f)])
|
|
1954
|
+
return _0x97e5ba(_0x3af99a._0x24b50b);
|
|
1955
|
+
const _0x480acd = await fetch(_0x5a5f87['daemonLocalUrl'] + _0x97e5ba(_0x3af99a._0x220f86), {
|
|
1956
|
+
'method': 'POST',
|
|
2002
1957
|
'headers': { 'Content-Type': 'application/json' },
|
|
2003
|
-
'body': JSON[
|
|
2004
|
-
'work_key':
|
|
2005
|
-
'agent_id':
|
|
1958
|
+
'body': JSON[_0x97e5ba(_0x3af99a._0x427f75)]({
|
|
1959
|
+
'work_key': _0x42ba7b[_0x97e5ba(_0x3af99a._0x3ce968)],
|
|
1960
|
+
'agent_id': _0x5a5f87[_0x97e5ba(0x18b)]
|
|
2006
1961
|
})
|
|
2007
|
-
}),
|
|
2008
|
-
if (!
|
|
2009
|
-
throw new Error(
|
|
2010
|
-
return
|
|
1962
|
+
}), _0x4efdce = await _0x480acd[_0x97e5ba(_0x3af99a._0x49a7cd)]();
|
|
1963
|
+
if (!_0x4efdce['ok'])
|
|
1964
|
+
throw new Error(_0x4efdce[_0x97e5ba(_0x3af99a._0x44e9d3)] ?? _0x97e5ba(_0x3af99a._0x455bc6));
|
|
1965
|
+
return _0x97e5ba(0x20b) + _0x42ba7b['work_key'] + _0x97e5ba(_0x3af99a._0x307d70);
|
|
2011
1966
|
},
|
|
2012
|
-
async 'escalate_to_main'(
|
|
2013
|
-
const
|
|
2014
|
-
if (!
|
|
1967
|
+
async 'escalate_to_main'(_0x3b851c) {
|
|
1968
|
+
const _0x509da1 = _0x3beca6;
|
|
1969
|
+
if (!_0x5a5f87[_0x509da1(0x26a)])
|
|
2015
1970
|
return 'Worker\x20features\x20not\x20available';
|
|
2016
|
-
const
|
|
2017
|
-
'method':
|
|
2018
|
-
'headers': { 'Content-Type':
|
|
2019
|
-
'body': JSON[
|
|
2020
|
-
'work_key':
|
|
2021
|
-
'reason':
|
|
1971
|
+
const _0x2c1dbd = await fetch(_0x5a5f87[_0x509da1(_0x1f62e5._0x2f9673)] + '/workers/escalate', {
|
|
1972
|
+
'method': _0x509da1(_0x1f62e5._0x1e85fc),
|
|
1973
|
+
'headers': { 'Content-Type': _0x509da1(0x2e2) },
|
|
1974
|
+
'body': JSON[_0x509da1(0x176)]({
|
|
1975
|
+
'work_key': _0x3b851c['work_key'],
|
|
1976
|
+
'reason': _0x3b851c['reason']
|
|
2022
1977
|
})
|
|
2023
|
-
}),
|
|
2024
|
-
if (!
|
|
2025
|
-
throw new Error(
|
|
2026
|
-
return
|
|
1978
|
+
}), _0x2c69e9 = await _0x2c1dbd[_0x509da1(_0x1f62e5._0x245aa8)]();
|
|
1979
|
+
if (!_0x2c69e9['ok'])
|
|
1980
|
+
throw new Error(_0x2c69e9[_0x509da1(0x2f6)] ?? _0x509da1(_0x1f62e5._0x248876));
|
|
1981
|
+
return _0x509da1(_0x1f62e5._0x3585cf) + _0x3b851c[_0x509da1(0x182)];
|
|
2027
1982
|
}
|
|
2028
1983
|
};
|
|
2029
1984
|
}
|
|
2030
|
-
function
|
|
1985
|
+
function _0x5296(_0x121998, _0x1b4995) {
|
|
1986
|
+
_0x121998 = _0x121998 - 0x16d;
|
|
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 = ![]) {
|
|
2031
2007
|
return {
|
|
2032
2008
|
'content': [{
|
|
2033
2009
|
'type': 'text',
|
|
2034
|
-
'text':
|
|
2010
|
+
'text': _0x573e10
|
|
2035
2011
|
}],
|
|
2036
|
-
...
|
|
2012
|
+
..._0x4969de ? { 'isError': !![] } : {}
|
|
2037
2013
|
};
|
|
2038
2014
|
}
|
|
2039
|
-
async function registerChatBridgeTools(
|
|
2040
|
-
const
|
|
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
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
},
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
},
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2015
|
+
async function registerChatBridgeTools(_0x349d75, _0x4977f7, _0x5e09db) {
|
|
2016
|
+
const _0x48334c = {
|
|
2017
|
+
_0x5577d7: 0x23a,
|
|
2018
|
+
_0x3f741d: 0x1ff,
|
|
2019
|
+
_0x161918: 0x19d,
|
|
2020
|
+
_0x5099b3: 0x287,
|
|
2021
|
+
_0x2560ad: 0x2e3,
|
|
2022
|
+
_0x357f92: 0x1ae,
|
|
2023
|
+
_0x1d80e6: 0x1e5,
|
|
2024
|
+
_0x5717fd: 0x1d0,
|
|
2025
|
+
_0x2df2a3: 0x20a,
|
|
2026
|
+
_0x51a0d2: 0x20a,
|
|
2027
|
+
_0x3b9d1d: 0x1db,
|
|
2028
|
+
_0x276dca: 0x272,
|
|
2029
|
+
_0x13d3cb: 0x2a6,
|
|
2030
|
+
_0x1565b3: 0x210,
|
|
2031
|
+
_0x4e4215: 0x21e,
|
|
2032
|
+
_0x341d1: 0x16f,
|
|
2033
|
+
_0x3f91af: 0x178,
|
|
2034
|
+
_0x410480: 0x17d,
|
|
2035
|
+
_0x3f4202: 0x2af,
|
|
2036
|
+
_0x53c1cf: 0x238,
|
|
2037
|
+
_0x46e74b: 0x22b,
|
|
2038
|
+
_0xffbfd8: 0x20a,
|
|
2039
|
+
_0x5baebc: 0x16f,
|
|
2040
|
+
_0x507ad5: 0x25e,
|
|
2041
|
+
_0x3c8d80: 0x2a7,
|
|
2042
|
+
_0x11df6c: 0x2f0,
|
|
2043
|
+
_0x342497: 0x1ff,
|
|
2044
|
+
_0x4eb138: 0x20a,
|
|
2045
|
+
_0x533c44: 0x1db,
|
|
2046
|
+
_0x497aa5: 0x1b8,
|
|
2047
|
+
_0x160346: 0x20a,
|
|
2048
|
+
_0x1547a4: 0x225,
|
|
2049
|
+
_0x2742a7: 0x1db,
|
|
2050
|
+
_0x199428: 0x2d6,
|
|
2051
|
+
_0x7d341a: 0x21f,
|
|
2052
|
+
_0x9f5f65: 0x252,
|
|
2053
|
+
_0x4eed39: 0x2de,
|
|
2054
|
+
_0x5b8815: 0x232,
|
|
2055
|
+
_0x17b7a2: 0x1ff,
|
|
2056
|
+
_0x5897b1: 0x1df,
|
|
2057
|
+
_0x419506: 0x18d,
|
|
2058
|
+
_0x5f4092: 0x1ff,
|
|
2059
|
+
_0x1f3872: 0x2dd,
|
|
2060
|
+
_0x1ec359: 0x1aa,
|
|
2061
|
+
_0x2f939b: 0x1ff,
|
|
2062
|
+
_0x42381f: 0x22b,
|
|
2063
|
+
_0xeacbe5: 0x16f,
|
|
2064
|
+
_0x538d91: 0x172,
|
|
2065
|
+
_0x3a0901: 0x1ce
|
|
2066
|
+
}, _0x447d89 = { _0x51b8f0: 0x293 }, _0x27745d = { _0x5b0a25: 0x284 }, _0x4e85f2 = { _0x55d97c: 0x284 }, _0x28271c = { _0x56b24c: 0x275 }, _0x2df29a = { _0xe005b1: 0x284 }, _0x50a837 = { _0x38ac89: 0x2d6 }, _0x517687 = {
|
|
2067
|
+
_0x317346: 0x2a7,
|
|
2068
|
+
_0x4b089b: 0x187
|
|
2069
|
+
}, _0x4da96c = {
|
|
2070
|
+
_0x2c2aec: 0x21e,
|
|
2071
|
+
_0x574b34: 0x284,
|
|
2072
|
+
_0x48116e: 0x2b5
|
|
2073
|
+
}, _0xbeabe7 = { _0x13e45e: 0x284 }, _0x425a17 = {
|
|
2074
|
+
_0x24c700: 0x284,
|
|
2075
|
+
_0x532d90: 0x28a
|
|
2076
|
+
}, _0xccd9bc = { _0x2b0786: 0x208 }, _0xed3186 = {
|
|
2077
|
+
_0x16a679: 0x284,
|
|
2078
|
+
_0x434643: 0x18e
|
|
2079
|
+
}, _0x1923b8 = _0xbabd6a, {z: _0x2600e9} = await import('zod');
|
|
2080
|
+
_0x349d75[_0x1923b8(0x1db)]('send_message', _0x1923b8(_0x48334c._0x5577d7), {
|
|
2081
|
+
'target': _0x2600e9['string'](),
|
|
2082
|
+
'content': _0x2600e9[_0x1923b8(_0x48334c._0x3f741d)](),
|
|
2083
|
+
'attachment_ids': _0x2600e9['array'](_0x2600e9[_0x1923b8(0x1ff)]())[_0x1923b8(0x16f)](),
|
|
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;
|
|
2107
2090
|
try {
|
|
2108
|
-
return textResult(await
|
|
2109
|
-
} catch (
|
|
2110
|
-
return textResult(
|
|
2091
|
+
return textResult(await _0x4977f7['send_message'](_0xb609d4));
|
|
2092
|
+
} catch (_0xeecb90) {
|
|
2093
|
+
return textResult(_0xeecb90 instanceof Error ? _0xeecb90[_0x3e4078(_0xed3186._0x16a679)] : _0x3e4078(_0xed3186._0x434643), !![]);
|
|
2111
2094
|
}
|
|
2112
|
-
}),
|
|
2113
|
-
const
|
|
2095
|
+
}), _0x349d75['tool'](_0x1923b8(0x298), _0x1923b8(_0x48334c._0x1d80e6), {}, async () => {
|
|
2096
|
+
const _0x8da69c = _0x1923b8;
|
|
2114
2097
|
try {
|
|
2115
|
-
return textResult(await
|
|
2116
|
-
} catch (
|
|
2117
|
-
return textResult(
|
|
2098
|
+
return textResult(await _0x4977f7['check_messages']());
|
|
2099
|
+
} catch (_0x1a98cf) {
|
|
2100
|
+
return textResult(_0x1a98cf instanceof Error ? _0x1a98cf[_0x8da69c(0x284)] : _0x8da69c(_0xccd9bc._0x2b0786), !![]);
|
|
2118
2101
|
}
|
|
2119
|
-
}),
|
|
2120
|
-
'channel':
|
|
2121
|
-
'limit':
|
|
2122
|
-
'before':
|
|
2123
|
-
'after':
|
|
2124
|
-
}, async
|
|
2125
|
-
const
|
|
2102
|
+
}), _0x349d75['tool'](_0x1923b8(0x1d3), _0x1923b8(_0x48334c._0x5717fd), {
|
|
2103
|
+
'channel': _0x2600e9[_0x1923b8(0x1ff)](),
|
|
2104
|
+
'limit': _0x2600e9[_0x1923b8(_0x48334c._0x2df2a3)]()[_0x1923b8(0x16f)](),
|
|
2105
|
+
'before': _0x2600e9[_0x1923b8(_0x48334c._0x51a0d2)]()['optional'](),
|
|
2106
|
+
'after': _0x2600e9[_0x1923b8(_0x48334c._0x51a0d2)]()[_0x1923b8(0x16f)]()
|
|
2107
|
+
}, async _0x56a27a => {
|
|
2108
|
+
const _0x11bfe4 = _0x1923b8;
|
|
2126
2109
|
try {
|
|
2127
|
-
return textResult(await
|
|
2128
|
-
} catch (
|
|
2129
|
-
return textResult(
|
|
2110
|
+
return textResult(await _0x4977f7[_0x11bfe4(0x1d3)](_0x56a27a));
|
|
2111
|
+
} catch (_0x5bd702) {
|
|
2112
|
+
return textResult(_0x5bd702 instanceof Error ? _0x5bd702[_0x11bfe4(_0x425a17._0x24c700)] : _0x11bfe4(_0x425a17._0x532d90), !![]);
|
|
2130
2113
|
}
|
|
2131
|
-
}),
|
|
2132
|
-
const
|
|
2114
|
+
}), _0x349d75[_0x1923b8(_0x48334c._0x3b9d1d)](_0x1923b8(_0x48334c._0x276dca), 'List\x20channels,\x20agents,\x20and\x20humans\x20in\x20the\x20current\x20server.', {}, async () => {
|
|
2115
|
+
const _0x32cc2d = _0x1923b8;
|
|
2133
2116
|
try {
|
|
2134
|
-
return textResult(await
|
|
2135
|
-
} catch (
|
|
2136
|
-
return textResult(
|
|
2117
|
+
return textResult(await _0x4977f7['list_server']());
|
|
2118
|
+
} catch (_0x1aff74) {
|
|
2119
|
+
return textResult(_0x1aff74 instanceof Error ? _0x1aff74['message'] : _0x32cc2d(0x291), !![]);
|
|
2137
2120
|
}
|
|
2138
|
-
}),
|
|
2139
|
-
'channel':
|
|
2140
|
-
'status':
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
])[
|
|
2146
|
-
}, async
|
|
2147
|
-
const
|
|
2121
|
+
}), _0x349d75['tool'](_0x1923b8(0x271), _0x1923b8(_0x48334c._0x13d3cb), {
|
|
2122
|
+
'channel': _0x2600e9[_0x1923b8(0x1ff)](),
|
|
2123
|
+
'status': _0x2600e9[_0x1923b8(0x19d)]([
|
|
2124
|
+
'todo',
|
|
2125
|
+
_0x1923b8(_0x48334c._0x1565b3),
|
|
2126
|
+
_0x1923b8(0x225),
|
|
2127
|
+
_0x1923b8(0x1be)
|
|
2128
|
+
])['optional']()
|
|
2129
|
+
}, async _0x1ec1b3 => {
|
|
2130
|
+
const _0xd3a8dc = _0x1923b8;
|
|
2148
2131
|
try {
|
|
2149
|
-
return textResult(await
|
|
2150
|
-
} catch (
|
|
2151
|
-
return textResult(
|
|
2132
|
+
return textResult(await _0x4977f7['list_tasks'](_0x1ec1b3));
|
|
2133
|
+
} catch (_0x5592b5) {
|
|
2134
|
+
return textResult(_0x5592b5 instanceof Error ? _0x5592b5[_0xd3a8dc(_0xbeabe7._0x13e45e)] : 'list_tasks\x20failed', !![]);
|
|
2152
2135
|
}
|
|
2153
|
-
}),
|
|
2154
|
-
'channel':
|
|
2155
|
-
'idempotency_key':
|
|
2156
|
-
'tasks':
|
|
2157
|
-
'title':
|
|
2158
|
-
'description':
|
|
2159
|
-
'priority':
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
])[
|
|
2136
|
+
}), _0x349d75[_0x1923b8(_0x48334c._0x3b9d1d)](_0x1923b8(_0x48334c._0x4e4215), _0x1923b8(0x25b), {
|
|
2137
|
+
'channel': _0x2600e9[_0x1923b8(0x1ff)](),
|
|
2138
|
+
'idempotency_key': _0x2600e9[_0x1923b8(0x1ff)]()[_0x1923b8(_0x48334c._0x341d1)](),
|
|
2139
|
+
'tasks': _0x2600e9['array'](_0x2600e9[_0x1923b8(0x25e)]({
|
|
2140
|
+
'title': _0x2600e9['string'](),
|
|
2141
|
+
'description': _0x2600e9['string']()[_0x1923b8(_0x48334c._0x341d1)](),
|
|
2142
|
+
'priority': _0x2600e9[_0x1923b8(0x19d)]([
|
|
2143
|
+
_0x1923b8(_0x48334c._0x3f91af),
|
|
2144
|
+
_0x1923b8(0x276),
|
|
2145
|
+
'high',
|
|
2146
|
+
_0x1923b8(_0x48334c._0x410480)
|
|
2147
|
+
])['optional']()
|
|
2165
2148
|
}))
|
|
2166
|
-
}, async
|
|
2167
|
-
const
|
|
2149
|
+
}, async _0x1569f3 => {
|
|
2150
|
+
const _0x312940 = _0x1923b8;
|
|
2168
2151
|
try {
|
|
2169
|
-
return textResult(await
|
|
2170
|
-
} catch (
|
|
2171
|
-
return textResult(
|
|
2152
|
+
return textResult(await _0x4977f7[_0x312940(_0x4da96c._0x2c2aec)](_0x1569f3));
|
|
2153
|
+
} catch (_0x20f9f9) {
|
|
2154
|
+
return textResult(_0x20f9f9 instanceof Error ? _0x20f9f9[_0x312940(_0x4da96c._0x574b34)] : _0x312940(_0x4da96c._0x48116e), !![]);
|
|
2172
2155
|
}
|
|
2173
|
-
}),
|
|
2174
|
-
'channel':
|
|
2175
|
-
'task_numbers':
|
|
2176
|
-
'message_ids':
|
|
2177
|
-
'evidence':
|
|
2178
|
-
'create_thread':
|
|
2179
|
-
'create_task':
|
|
2180
|
-
}))[
|
|
2181
|
-
'idempotency_key':
|
|
2182
|
-
}, async
|
|
2183
|
-
const
|
|
2156
|
+
}), _0x349d75[_0x1923b8(0x1db)](_0x1923b8(_0x48334c._0x3f4202), _0x1923b8(_0x48334c._0x53c1cf), {
|
|
2157
|
+
'channel': _0x2600e9[_0x1923b8(_0x48334c._0x3f741d)](),
|
|
2158
|
+
'task_numbers': _0x2600e9[_0x1923b8(_0x48334c._0x46e74b)](_0x2600e9[_0x1923b8(_0x48334c._0xffbfd8)]())[_0x1923b8(_0x48334c._0x5baebc)](),
|
|
2159
|
+
'message_ids': _0x2600e9['array'](_0x2600e9['string']())[_0x1923b8(0x16f)](),
|
|
2160
|
+
'evidence': _0x2600e9[_0x1923b8(0x27c)](_0x2600e9[_0x1923b8(0x1ff)](), _0x2600e9[_0x1923b8(_0x48334c._0x507ad5)]({
|
|
2161
|
+
'create_thread': _0x2600e9['unknown']()[_0x1923b8(0x16f)](),
|
|
2162
|
+
'create_task': _0x2600e9[_0x1923b8(0x17e)]()['optional']()
|
|
2163
|
+
}))[_0x1923b8(0x16f)](),
|
|
2164
|
+
'idempotency_key': _0x2600e9[_0x1923b8(0x1ff)]()['optional']()
|
|
2165
|
+
}, async _0x3de24b => {
|
|
2166
|
+
const _0xe59d7d = _0x1923b8;
|
|
2184
2167
|
try {
|
|
2185
|
-
return textResult(await
|
|
2186
|
-
} catch (
|
|
2187
|
-
return textResult(
|
|
2168
|
+
return textResult(await _0x4977f7[_0xe59d7d(0x2af)](_0x3de24b));
|
|
2169
|
+
} catch (_0x4f0184) {
|
|
2170
|
+
return textResult(_0x4f0184 instanceof Error ? _0x4f0184[_0xe59d7d(0x284)] : _0xe59d7d(0x279), !![]);
|
|
2188
2171
|
}
|
|
2189
|
-
}),
|
|
2190
|
-
'channel':
|
|
2191
|
-
'task_number':
|
|
2192
|
-
'idempotency_key':
|
|
2193
|
-
}, async
|
|
2194
|
-
const
|
|
2172
|
+
}), _0x349d75[_0x1923b8(0x1db)](_0x1923b8(_0x48334c._0x3c8d80), _0x1923b8(_0x48334c._0x11df6c), {
|
|
2173
|
+
'channel': _0x2600e9[_0x1923b8(_0x48334c._0x342497)](),
|
|
2174
|
+
'task_number': _0x2600e9[_0x1923b8(_0x48334c._0x4eb138)](),
|
|
2175
|
+
'idempotency_key': _0x2600e9[_0x1923b8(0x1ff)]()[_0x1923b8(_0x48334c._0x5baebc)]()
|
|
2176
|
+
}, async _0x314378 => {
|
|
2177
|
+
const _0x244430 = _0x1923b8;
|
|
2195
2178
|
try {
|
|
2196
|
-
return textResult(await
|
|
2197
|
-
} catch (
|
|
2198
|
-
return textResult(
|
|
2179
|
+
return textResult(await _0x4977f7[_0x244430(_0x517687._0x317346)](_0x314378));
|
|
2180
|
+
} catch (_0x2800e7) {
|
|
2181
|
+
return textResult(_0x2800e7 instanceof Error ? _0x2800e7['message'] : _0x244430(_0x517687._0x4b089b), !![]);
|
|
2199
2182
|
}
|
|
2200
|
-
}),
|
|
2201
|
-
'channel':
|
|
2202
|
-
'task_number':
|
|
2203
|
-
'status':
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2183
|
+
}), _0x349d75[_0x1923b8(_0x48334c._0x533c44)](_0x1923b8(0x1ab), _0x1923b8(_0x48334c._0x497aa5), {
|
|
2184
|
+
'channel': _0x2600e9['string'](),
|
|
2185
|
+
'task_number': _0x2600e9[_0x1923b8(_0x48334c._0x160346)](),
|
|
2186
|
+
'status': _0x2600e9['enum']([
|
|
2187
|
+
_0x1923b8(0x259),
|
|
2188
|
+
_0x1923b8(0x210),
|
|
2189
|
+
_0x1923b8(_0x48334c._0x1547a4),
|
|
2190
|
+
_0x1923b8(0x1be)
|
|
2208
2191
|
]),
|
|
2209
|
-
'idempotency_key':
|
|
2210
|
-
}, async
|
|
2211
|
-
const
|
|
2192
|
+
'idempotency_key': _0x2600e9[_0x1923b8(0x1ff)]()['optional']()
|
|
2193
|
+
}, async _0x47e998 => {
|
|
2194
|
+
const _0xdd0c92 = _0x1923b8;
|
|
2212
2195
|
try {
|
|
2213
|
-
return textResult(await
|
|
2214
|
-
} catch (
|
|
2215
|
-
return textResult(
|
|
2196
|
+
return textResult(await _0x4977f7['update_task_status'](_0x47e998));
|
|
2197
|
+
} catch (_0x1abe3c) {
|
|
2198
|
+
return textResult(_0x1abe3c instanceof Error ? _0x1abe3c[_0xdd0c92(0x284)] : _0xdd0c92(0x1cd), !![]);
|
|
2216
2199
|
}
|
|
2217
|
-
}),
|
|
2218
|
-
'channel':
|
|
2219
|
-
'file_path':
|
|
2220
|
-
}, async
|
|
2221
|
-
const
|
|
2200
|
+
}), _0x349d75[_0x1923b8(_0x48334c._0x2742a7)](_0x1923b8(_0x48334c._0x199428), _0x1923b8(0x171), {
|
|
2201
|
+
'channel': _0x2600e9[_0x1923b8(0x1ff)](),
|
|
2202
|
+
'file_path': _0x2600e9['string']()
|
|
2203
|
+
}, async _0x4a7026 => {
|
|
2204
|
+
const _0x4919d0 = _0x1923b8;
|
|
2222
2205
|
try {
|
|
2223
|
-
return textResult(await
|
|
2224
|
-
} catch (
|
|
2225
|
-
return textResult(
|
|
2206
|
+
return textResult(await _0x4977f7[_0x4919d0(_0x50a837._0x38ac89)](_0x4a7026));
|
|
2207
|
+
} catch (_0x4cd25c) {
|
|
2208
|
+
return textResult(_0x4cd25c instanceof Error ? _0x4cd25c[_0x4919d0(0x284)] : _0x4919d0(0x227), !![]);
|
|
2226
2209
|
}
|
|
2227
|
-
}),
|
|
2228
|
-
const
|
|
2210
|
+
}), _0x349d75['tool'](_0x1923b8(_0x48334c._0x7d341a), _0x1923b8(_0x48334c._0x9f5f65), { 'attachment_id': _0x2600e9['string']() }, async _0x32232b => {
|
|
2211
|
+
const _0x2bdaa7 = _0x1923b8;
|
|
2229
2212
|
try {
|
|
2230
|
-
return textResult(await
|
|
2231
|
-
} catch (
|
|
2232
|
-
return textResult(
|
|
2213
|
+
return textResult(await _0x4977f7[_0x2bdaa7(0x21f)](_0x32232b));
|
|
2214
|
+
} catch (_0x9c83c6) {
|
|
2215
|
+
return textResult(_0x9c83c6 instanceof Error ? _0x9c83c6[_0x2bdaa7(_0x2df29a._0xe005b1)] : _0x2bdaa7(0x273), !![]);
|
|
2233
2216
|
}
|
|
2234
|
-
}),
|
|
2235
|
-
const
|
|
2217
|
+
}), _0x349d75['tool']('get_worker_status', 'Check\x20the\x20current\x20status\x20of\x20a\x20spawned\x20worker\x20by\x20its\x20work\x20key.', { 'work_key': _0x2600e9[_0x1923b8(_0x48334c._0x342497)]() }, async _0x29234b => {
|
|
2218
|
+
const _0x5b82ff = _0x1923b8;
|
|
2236
2219
|
try {
|
|
2237
|
-
return textResult(await
|
|
2238
|
-
} catch (
|
|
2239
|
-
return textResult(
|
|
2220
|
+
return textResult(await _0x4977f7[_0x5b82ff(0x2b4)](_0x29234b));
|
|
2221
|
+
} catch (_0x178b9c) {
|
|
2222
|
+
return textResult(_0x178b9c instanceof Error ? _0x178b9c['message'] : _0x5b82ff(_0x28271c._0x56b24c), !![]);
|
|
2240
2223
|
}
|
|
2241
|
-
}),
|
|
2242
|
-
const
|
|
2224
|
+
}), _0x349d75[_0x1923b8(0x1db)](_0x1923b8(_0x48334c._0x4eed39), _0x1923b8(_0x48334c._0x5b8815), { 'work_key': _0x2600e9[_0x1923b8(_0x48334c._0x17b7a2)]() }, async _0x25bd80 => {
|
|
2225
|
+
const _0x4445ed = _0x1923b8;
|
|
2243
2226
|
try {
|
|
2244
|
-
return textResult(await
|
|
2245
|
-
} catch (
|
|
2246
|
-
return textResult(
|
|
2227
|
+
return textResult(await _0x4977f7['get_worker_result'](_0x25bd80));
|
|
2228
|
+
} catch (_0x6ba860) {
|
|
2229
|
+
return textResult(_0x6ba860 instanceof Error ? _0x6ba860[_0x4445ed(_0x4e85f2._0x55d97c)] : _0x4445ed(0x180), !![]);
|
|
2247
2230
|
}
|
|
2248
|
-
}),
|
|
2249
|
-
'work_key':
|
|
2250
|
-
'result':
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2231
|
+
}), _0x349d75['tool'](_0x1923b8(_0x48334c._0x5897b1), _0x1923b8(_0x48334c._0x419506), {
|
|
2232
|
+
'work_key': _0x2600e9[_0x1923b8(_0x48334c._0x5f4092)](),
|
|
2233
|
+
'result': _0x2600e9[_0x1923b8(0x19d)]([
|
|
2234
|
+
'completed',
|
|
2235
|
+
_0x1923b8(_0x48334c._0x1f3872),
|
|
2236
|
+
_0x1923b8(_0x48334c._0x1ec359)
|
|
2254
2237
|
]),
|
|
2255
|
-
'summary':
|
|
2256
|
-
'decisions':
|
|
2257
|
-
'files_changed':
|
|
2258
|
-
'open_issues':
|
|
2259
|
-
'next_steps':
|
|
2260
|
-
}, async
|
|
2261
|
-
const
|
|
2238
|
+
'summary': _0x2600e9[_0x1923b8(_0x48334c._0x2f939b)](),
|
|
2239
|
+
'decisions': _0x2600e9['array'](_0x2600e9[_0x1923b8(_0x48334c._0x3f741d)]())['optional'](),
|
|
2240
|
+
'files_changed': _0x2600e9[_0x1923b8(0x22b)](_0x2600e9[_0x1923b8(0x1ff)]())[_0x1923b8(_0x48334c._0x341d1)](),
|
|
2241
|
+
'open_issues': _0x2600e9['array'](_0x2600e9[_0x1923b8(0x1ff)]())[_0x1923b8(0x16f)](),
|
|
2242
|
+
'next_steps': _0x2600e9[_0x1923b8(_0x48334c._0x42381f)](_0x2600e9[_0x1923b8(0x1ff)]())[_0x1923b8(_0x48334c._0xeacbe5)]()
|
|
2243
|
+
}, async _0x4b3668 => {
|
|
2244
|
+
const _0x6e4951 = _0x1923b8;
|
|
2262
2245
|
try {
|
|
2263
|
-
return textResult(await
|
|
2264
|
-
} catch (
|
|
2265
|
-
return textResult(
|
|
2246
|
+
return textResult(await _0x4977f7[_0x6e4951(0x1df)](_0x4b3668));
|
|
2247
|
+
} catch (_0x3c1188) {
|
|
2248
|
+
return textResult(_0x3c1188 instanceof Error ? _0x3c1188[_0x6e4951(_0x27745d._0x5b0a25)] : _0x6e4951(0x1d2), !![]);
|
|
2266
2249
|
}
|
|
2267
|
-
}),
|
|
2268
|
-
'work_key':
|
|
2269
|
-
'reason':
|
|
2270
|
-
}, async
|
|
2271
|
-
const
|
|
2250
|
+
}), _0x349d75[_0x1923b8(0x1db)]('escalate_to_main', _0x1923b8(0x192), {
|
|
2251
|
+
'work_key': _0x2600e9['string'](),
|
|
2252
|
+
'reason': _0x2600e9[_0x1923b8(0x1ff)]()
|
|
2253
|
+
}, async _0x20cae6 => {
|
|
2254
|
+
const _0x259769 = _0x1923b8;
|
|
2272
2255
|
try {
|
|
2273
|
-
return textResult(await
|
|
2274
|
-
} catch (
|
|
2275
|
-
return textResult(
|
|
2256
|
+
return textResult(await _0x4977f7[_0x259769(0x1ca)](_0x20cae6));
|
|
2257
|
+
} catch (_0x1ab6a4) {
|
|
2258
|
+
return textResult(_0x1ab6a4 instanceof Error ? _0x1ab6a4[_0x259769(0x284)] : _0x259769(_0x447d89._0x51b8f0), !![]);
|
|
2276
2259
|
}
|
|
2277
|
-
}),
|
|
2278
|
-
const
|
|
2260
|
+
}), _0x5e09db?.[_0x1923b8(_0x48334c._0x538d91)] && _0x349d75['tool']('mark_waiting_input', _0x1923b8(_0x48334c._0x3a0901), { 'work_key': _0x2600e9['string']() }, async _0x1f9689 => {
|
|
2261
|
+
const _0x4735b4 = _0x1923b8;
|
|
2279
2262
|
try {
|
|
2280
|
-
return textResult(await
|
|
2281
|
-
} catch (
|
|
2282
|
-
return textResult(
|
|
2263
|
+
return textResult(await _0x4977f7[_0x4735b4(0x242)](_0x1f9689));
|
|
2264
|
+
} catch (_0x4c728f) {
|
|
2265
|
+
return textResult(_0x4c728f instanceof Error ? _0x4c728f[_0x4735b4(0x284)] : _0x4735b4(0x1f6), !![]);
|
|
2283
2266
|
}
|
|
2284
2267
|
});
|
|
2285
2268
|
}
|
|
2286
|
-
async function createChatBridgeServer(
|
|
2287
|
-
const
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
}), _0x16b0e9 = createChatBridgeHandlers(_0x530a49);
|
|
2295
|
-
return await registerChatBridgeTools(_0x1be01, _0x16b0e9, { 'workerMode': _0x530a49[_0x2ff288(_0x450bf7._0x3363cb)] }), {
|
|
2296
|
-
'handlers': _0x16b0e9,
|
|
2297
|
-
'server': _0x1be01
|
|
2269
|
+
async function createChatBridgeServer(_0x472abd) {
|
|
2270
|
+
const _0x3c04cc = { _0xf5dd1e: 0x172 }, _0x267e64 = _0xbabd6a, {McpServer: _0x153bf3} = await import(_0x267e64(0x266)), _0x541219 = new _0x153bf3({
|
|
2271
|
+
'name': 'chat',
|
|
2272
|
+
'version': _0x267e64(0x1ac)
|
|
2273
|
+
}), _0xf353d0 = createChatBridgeHandlers(_0x472abd);
|
|
2274
|
+
return await registerChatBridgeTools(_0x541219, _0xf353d0, { 'workerMode': _0x472abd[_0x267e64(_0x3c04cc._0xf5dd1e)] }), {
|
|
2275
|
+
'handlers': _0xf353d0,
|
|
2276
|
+
'server': _0x541219
|
|
2298
2277
|
};
|
|
2299
2278
|
}
|
|
2300
|
-
function readFlag(
|
|
2301
|
-
const
|
|
2302
|
-
if (
|
|
2279
|
+
function readFlag(_0xc95707, _0x4592b4) {
|
|
2280
|
+
const _0x48bd28 = _0xc95707['indexOf'](_0x4592b4);
|
|
2281
|
+
if (_0x48bd28 === -0x1)
|
|
2303
2282
|
return void 0x0;
|
|
2304
|
-
return
|
|
2283
|
+
return _0xc95707[_0x48bd28 + 0x1];
|
|
2305
2284
|
}
|
|
2306
|
-
function parseChatBridgeArgs(
|
|
2307
|
-
const
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
},
|
|
2316
|
-
if (!
|
|
2317
|
-
throw new Error(
|
|
2318
|
-
if (!
|
|
2285
|
+
function parseChatBridgeArgs(_0x36eeaa) {
|
|
2286
|
+
const _0xc94b72 = {
|
|
2287
|
+
_0x3d1db9: 0x1c0,
|
|
2288
|
+
_0x4b1bc9: 0x2be,
|
|
2289
|
+
_0x17cb86: 0x203,
|
|
2290
|
+
_0x4314b5: 0x20e,
|
|
2291
|
+
_0x1f9315: 0x184,
|
|
2292
|
+
_0x13f9f4: 0x174,
|
|
2293
|
+
_0xc73852: 0x1f2
|
|
2294
|
+
}, _0x2b10ed = _0xbabd6a, _0x5c5c35 = readFlag(_0x36eeaa, _0x2b10ed(_0xc94b72._0x3d1db9)), _0x252965 = readFlag(_0x36eeaa, _0x2b10ed(_0xc94b72._0x4b1bc9)), _0x240023 = readFlag(_0x36eeaa, _0x2b10ed(0x2ba)), _0x290eeb = readFlag(_0x36eeaa, _0x2b10ed(_0xc94b72._0x17cb86)) ?? _0x2b10ed(0x1a1), _0x18692d = readFlag(_0x36eeaa, _0x2b10ed(_0xc94b72._0x4314b5)), _0x201e37 = readFlag(_0x36eeaa, _0x2b10ed(_0xc94b72._0x1f9315)), _0x479a85 = readFlag(_0x36eeaa, '--worker-mode-enabled'), _0x1f12fd = readFlag(_0x36eeaa, _0x2b10ed(0x183)), _0xb394ef = readFlag(_0x36eeaa, '--worker-thread-target'), _0x1d445d = _0x36eeaa['includes'](_0x2b10ed(_0xc94b72._0x13f9f4)), _0x144e36 = _0x240023 === void 0x0 ? void 0x0 : Number['parseInt'](_0x240023, 0xa);
|
|
2295
|
+
if (!_0x5c5c35)
|
|
2296
|
+
throw new Error('Missing\x20--agent-id');
|
|
2297
|
+
if (!_0x252965)
|
|
2319
2298
|
throw new Error('Missing\x20--daemon-api-key');
|
|
2320
|
-
if (
|
|
2321
|
-
throw new Error(
|
|
2299
|
+
if (_0x240023 !== void 0x0 && (_0x144e36 === void 0x0 || !Number[_0x2b10ed(_0xc94b72._0xc73852)](_0x144e36) || _0x144e36 < 0x0))
|
|
2300
|
+
throw new Error(_0x2b10ed(0x26d));
|
|
2322
2301
|
return {
|
|
2323
|
-
'agentId':
|
|
2324
|
-
'daemonApiKey':
|
|
2325
|
-
'daemonLocalUrl':
|
|
2326
|
-
'initialLastSeenSeq':
|
|
2327
|
-
'sessionId':
|
|
2328
|
-
'serverUrl':
|
|
2329
|
-
'workerModeEnabled':
|
|
2330
|
-
'workerSessionId':
|
|
2331
|
-
'workerThreadTarget':
|
|
2332
|
-
'workerMode':
|
|
2302
|
+
'agentId': _0x5c5c35,
|
|
2303
|
+
'daemonApiKey': _0x252965,
|
|
2304
|
+
'daemonLocalUrl': _0x18692d,
|
|
2305
|
+
'initialLastSeenSeq': _0x144e36,
|
|
2306
|
+
'sessionId': _0x201e37,
|
|
2307
|
+
'serverUrl': _0x290eeb,
|
|
2308
|
+
'workerModeEnabled': _0x479a85 === void 0x0 ? void 0x0 : _0x479a85 !== 'false',
|
|
2309
|
+
'workerSessionId': _0x1f12fd,
|
|
2310
|
+
'workerThreadTarget': _0xb394ef,
|
|
2311
|
+
'workerMode': _0x1d445d
|
|
2333
2312
|
};
|
|
2334
2313
|
}
|
|
2335
|
-
async function runChatBridgeCli(
|
|
2336
|
-
const
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
'
|
|
2342
|
-
'
|
|
2343
|
-
'
|
|
2314
|
+
async function runChatBridgeCli(_0x23944a) {
|
|
2315
|
+
const _0x407b24 = {
|
|
2316
|
+
_0x2c4e9f: 0x26a,
|
|
2317
|
+
_0x4f5135: 0x172,
|
|
2318
|
+
_0x5c22a9: 0x2dc
|
|
2319
|
+
}, _0x184c99 = _0xbabd6a, _0x8a907c = parseChatBridgeArgs(_0x23944a), {StdioServerTransport: _0x521dc1} = await import(_0x184c99(0x2db)), _0x435148 = createInternalAgentClient(_0x8a907c), _0xe7fca8 = createAttachmentCache(), _0x4e6aec = await createChatBridgeServer({
|
|
2320
|
+
'agentId': _0x8a907c[_0x184c99(0x18b)],
|
|
2321
|
+
'attachmentCache': _0xe7fca8,
|
|
2322
|
+
'client': _0x435148,
|
|
2323
|
+
'daemonLocalUrl': _0x8a907c[_0x184c99(_0x407b24._0x2c4e9f)],
|
|
2344
2324
|
'uploadPreparer': prepareUploadFile,
|
|
2345
|
-
'workerModeEnabled':
|
|
2346
|
-
'workerMode':
|
|
2325
|
+
'workerModeEnabled': _0x8a907c['workerModeEnabled'],
|
|
2326
|
+
'workerMode': _0x8a907c[_0x184c99(_0x407b24._0x4f5135)]
|
|
2347
2327
|
});
|
|
2348
|
-
await
|
|
2328
|
+
await _0x4e6aec[_0x184c99(_0x407b24._0x5c22a9)][_0x184c99(0x21a)](new _0x521dc1());
|
|
2349
2329
|
}
|
|
2350
|
-
var executedAsEntry = process[
|
|
2351
|
-
executedAsEntry && await runChatBridgeCli(process[
|
|
2330
|
+
var executedAsEntry = process[_0xbabd6a(0x294)][0x1] ? import.meta.url === pathToFileURL(process[_0xbabd6a(0x294)][0x1])[_0xbabd6a(0x1f7)] : ![];
|
|
2331
|
+
executedAsEntry && await runChatBridgeCli(process['argv'][_0xbabd6a(0x1e8)](0x2));
|
|
2352
2332
|
export {
|
|
2353
2333
|
createChatBridgeHandlers,
|
|
2354
2334
|
createChatBridgeServer,
|