@dscord/daemon 0.1.85 → 0.1.86
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 +2020 -2011
- package/dist/index.js +10657 -10631
- package/package.json +1 -1
package/dist/chat-bridge.js
CHANGED
|
@@ -1,24 +1,26 @@
|
|
|
1
|
-
const
|
|
2
|
-
(function (
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
const _0x3b2449 = _0x24f4;
|
|
2
|
+
(function (_0xb9c993, _0x5206f0) {
|
|
3
|
+
const _0x161dd8 = {
|
|
4
|
+
_0x5d4202: 0xda,
|
|
5
|
+
_0x5cfd05: 0x14a,
|
|
6
|
+
_0x57de80: 0x15f,
|
|
7
|
+
_0x3c4c46: 0xf1,
|
|
8
|
+
_0x106874: 0x170,
|
|
9
|
+
_0x762f7: 0x1b8,
|
|
10
|
+
_0x55d2b7: 0x175
|
|
11
|
+
}, _0x2b6c20 = _0x24f4, _0x167a8d = _0xb9c993();
|
|
10
12
|
while (!![]) {
|
|
11
13
|
try {
|
|
12
|
-
const
|
|
13
|
-
if (
|
|
14
|
+
const _0x126865 = -parseInt(_0x2b6c20(_0x161dd8._0x5d4202)) / 0x1 + parseInt(_0x2b6c20(_0x161dd8._0x5cfd05)) / 0x2 * (parseInt(_0x2b6c20(_0x161dd8._0x57de80)) / 0x3) + -parseInt(_0x2b6c20(0x1a5)) / 0x4 + parseInt(_0x2b6c20(0x1d4)) / 0x5 + parseInt(_0x2b6c20(_0x161dd8._0x3c4c46)) / 0x6 + parseInt(_0x2b6c20(_0x161dd8._0x106874)) / 0x7 * (parseInt(_0x2b6c20(_0x161dd8._0x762f7)) / 0x8) + -parseInt(_0x2b6c20(_0x161dd8._0x55d2b7)) / 0x9;
|
|
15
|
+
if (_0x126865 === _0x5206f0)
|
|
14
16
|
break;
|
|
15
17
|
else
|
|
16
|
-
|
|
17
|
-
} catch (
|
|
18
|
-
|
|
18
|
+
_0x167a8d['push'](_0x167a8d['shift']());
|
|
19
|
+
} catch (_0x76f515) {
|
|
20
|
+
_0x167a8d['push'](_0x167a8d['shift']());
|
|
19
21
|
}
|
|
20
22
|
}
|
|
21
|
-
}(
|
|
23
|
+
}(_0x56dc, 0x5cd2e));
|
|
22
24
|
import { pathToFileURL } from 'node:url';
|
|
23
25
|
import {
|
|
24
26
|
mkdir,
|
|
@@ -28,102 +30,83 @@ import {
|
|
|
28
30
|
writeFile
|
|
29
31
|
} from 'node:fs/promises';
|
|
30
32
|
import { homedir } from 'node:os';
|
|
31
|
-
import
|
|
33
|
+
import _0x21802 from 'node:path';
|
|
32
34
|
var DEFAULT_MAX_FILE_SIZE = 0x64 * 0x400 * 0x400, MIME_BY_EXTENSION = {
|
|
33
|
-
'.csv':
|
|
34
|
-
'.gif':
|
|
35
|
-
'.jpeg':
|
|
36
|
-
'.jpg':
|
|
37
|
-
'.json':
|
|
38
|
-
'.md':
|
|
35
|
+
'.csv': _0x3b2449(0x102),
|
|
36
|
+
'.gif': 'image/gif',
|
|
37
|
+
'.jpeg': _0x3b2449(0xd3),
|
|
38
|
+
'.jpg': _0x3b2449(0xd3),
|
|
39
|
+
'.json': _0x3b2449(0x18d),
|
|
40
|
+
'.md': _0x3b2449(0x205),
|
|
39
41
|
'.pdf': 'application/pdf',
|
|
40
|
-
'.png':
|
|
41
|
-
'.svg':
|
|
42
|
-
'.txt':
|
|
43
|
-
'.webp':
|
|
44
|
-
'.xml':
|
|
45
|
-
'.zip':
|
|
42
|
+
'.png': _0x3b2449(0xe7),
|
|
43
|
+
'.svg': _0x3b2449(0x22c),
|
|
44
|
+
'.txt': _0x3b2449(0x137),
|
|
45
|
+
'.webp': _0x3b2449(0x215),
|
|
46
|
+
'.xml': _0x3b2449(0x1c0),
|
|
47
|
+
'.zip': _0x3b2449(0x207)
|
|
46
48
|
};
|
|
47
|
-
function guessContentType(
|
|
48
|
-
const
|
|
49
|
-
return MIME_BY_EXTENSION[
|
|
49
|
+
function guessContentType(_0x149805) {
|
|
50
|
+
const _0x146a60 = { _0x38adf1: 0x195 }, _0x2df75a = _0x3b2449;
|
|
51
|
+
return MIME_BY_EXTENSION[_0x21802[_0x2df75a(0xef)](_0x149805)[_0x2df75a(_0x146a60._0x38adf1)]()] ?? _0x2df75a(0x1e4);
|
|
50
52
|
}
|
|
51
|
-
function safeFilename(
|
|
52
|
-
const
|
|
53
|
-
return
|
|
53
|
+
function safeFilename(_0x191c9b) {
|
|
54
|
+
const _0x2c586b = { _0x419efd: 0xe6 }, _0x184f5f = _0x3b2449;
|
|
55
|
+
return _0x191c9b[_0x184f5f(_0x2c586b._0x419efd)](/[\\/]/g, '-');
|
|
54
56
|
}
|
|
55
|
-
function extensionFor(
|
|
56
|
-
const
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
return _0xcfa76e?.[0x0] ?? _0x1bf834(_0x1a0ce8._0x300477);
|
|
57
|
+
function extensionFor(_0x1f6b11) {
|
|
58
|
+
const _0x23b6d1 = {
|
|
59
|
+
_0x5e33d6: 0x1bb,
|
|
60
|
+
_0x45b50e: 0x191
|
|
61
|
+
}, _0x1efe5a = _0x3b2449, _0x406981 = Object[_0x1efe5a(_0x23b6d1._0x5e33d6)](MIME_BY_EXTENSION)[_0x1efe5a(0x10f)](([, _0x1ca50e]) => _0x1ca50e === _0x1f6b11);
|
|
62
|
+
return _0x406981?.[0x0] ?? _0x1efe5a(_0x23b6d1._0x45b50e);
|
|
62
63
|
}
|
|
63
|
-
function
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
81
|
-
const _0x1581c0 = _0x570700[0x0], _0x1f8b6e = _0x74c515 + _0x1581c0, _0x340f58 = _0x3280['hUjmwo'][_0x1f8b6e];
|
|
82
|
-
return !_0x340f58 ? (_0x3280c8 = _0x3280['wlrOdb'](_0x3280c8), _0x3280['hUjmwo'][_0x1f8b6e] = _0x3280c8) : _0x3280c8 = _0x340f58, _0x3280c8;
|
|
83
|
-
}
|
|
84
|
-
async function prepareUploadFile(_0x43cae4, _0x27eedd = {}) {
|
|
85
|
-
const _0x1e6216 = {
|
|
86
|
-
_0x1f9268: 0x240,
|
|
87
|
-
_0x479386: 0x194,
|
|
88
|
-
_0xd5c7ff: 0x2bd,
|
|
89
|
-
_0xd238ca: 0x2e5
|
|
90
|
-
}, _0x163667 = _0x5e54a5;
|
|
91
|
-
if (!_0x36a60c['isAbsolute'](_0x43cae4))
|
|
92
|
-
throw new Error(_0x163667(0x165));
|
|
93
|
-
const _0x7c1e43 = await stat(_0x43cae4)['catch'](() => null);
|
|
94
|
-
if (!_0x7c1e43 || !_0x7c1e43[_0x163667(0x206)]())
|
|
95
|
-
throw new Error(_0x163667(_0x1e6216._0x1f9268) + _0x43cae4);
|
|
96
|
-
const _0x4a48bf = _0x27eedd[_0x163667(0x2b3)] ?? DEFAULT_MAX_FILE_SIZE;
|
|
97
|
-
if (_0x7c1e43['size'] > _0x4a48bf)
|
|
98
|
-
throw new Error(_0x163667(_0x1e6216._0x479386) + _0x7c1e43['size']);
|
|
99
|
-
const _0x5cf995 = await readFile(_0x43cae4), _0x157073 = _0x36a60c[_0x163667(_0x1e6216._0xd5c7ff)](_0x43cae4);
|
|
64
|
+
async function prepareUploadFile(_0x22e7f9, _0x2b24df = {}) {
|
|
65
|
+
const _0x4911b1 = {
|
|
66
|
+
_0x3d4478: 0x23b,
|
|
67
|
+
_0x3bffca: 0x232,
|
|
68
|
+
_0x4d1612: 0xed,
|
|
69
|
+
_0x1bb4b0: 0x13c,
|
|
70
|
+
_0x16f1d3: 0x253
|
|
71
|
+
}, _0x5a0d31 = _0x3b2449;
|
|
72
|
+
if (!_0x21802[_0x5a0d31(0x104)](_0x22e7f9))
|
|
73
|
+
throw new Error(_0x5a0d31(0x1fe));
|
|
74
|
+
const _0x50ac67 = await stat(_0x22e7f9)[_0x5a0d31(0xf7)](() => null);
|
|
75
|
+
if (!_0x50ac67 || !_0x50ac67[_0x5a0d31(_0x4911b1._0x3d4478)]())
|
|
76
|
+
throw new Error(_0x5a0d31(_0x4911b1._0x3bffca) + _0x22e7f9);
|
|
77
|
+
const _0x6e9c78 = _0x2b24df[_0x5a0d31(0xff)] ?? DEFAULT_MAX_FILE_SIZE;
|
|
78
|
+
if (_0x50ac67[_0x5a0d31(0x253)] > _0x6e9c78)
|
|
79
|
+
throw new Error('File\x20size\x20exceeds\x20limit:\x20' + _0x50ac67[_0x5a0d31(0x253)]);
|
|
80
|
+
const _0x14da1d = await readFile(_0x22e7f9), _0x56d6f9 = _0x21802[_0x5a0d31(_0x4911b1._0x4d1612)](_0x22e7f9);
|
|
100
81
|
return {
|
|
101
|
-
'contentBase64':
|
|
102
|
-
'contentType': guessContentType(
|
|
103
|
-
'filename':
|
|
104
|
-
'sizeBytes':
|
|
82
|
+
'contentBase64': _0x14da1d[_0x5a0d31(0x17a)](_0x5a0d31(_0x4911b1._0x1bb4b0)),
|
|
83
|
+
'contentType': guessContentType(_0x56d6f9),
|
|
84
|
+
'filename': _0x56d6f9,
|
|
85
|
+
'sizeBytes': _0x50ac67[_0x5a0d31(_0x4911b1._0x16f1d3)]
|
|
105
86
|
};
|
|
106
87
|
}
|
|
107
|
-
function createAttachmentCache(
|
|
108
|
-
const
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
88
|
+
function createAttachmentCache(_0x11c09c = {}) {
|
|
89
|
+
const _0x8c27d = {
|
|
90
|
+
_0x16e75f: 0x1c9,
|
|
91
|
+
_0x517de8: 0x14f,
|
|
92
|
+
_0x3bad5e: 0x24c
|
|
93
|
+
}, _0x20fb7b = {
|
|
94
|
+
_0x44a80a: 0x1b1,
|
|
95
|
+
_0x59b1b7: 0x24a
|
|
96
|
+
}, _0x1d745a = _0x3b2449, _0x327547 = _0x11c09c[_0x1d745a(_0x8c27d._0x16e75f)] ?? _0x21802[_0x1d745a(_0x8c27d._0x517de8)](homedir(), '.dscord', _0x1d745a(_0x8c27d._0x3bad5e));
|
|
114
97
|
return {
|
|
115
|
-
'cacheDir':
|
|
116
|
-
async 'findCachedPath'(
|
|
117
|
-
const
|
|
118
|
-
await mkdir(
|
|
119
|
-
const
|
|
120
|
-
return
|
|
98
|
+
'cacheDir': _0x327547,
|
|
99
|
+
async 'findCachedPath'(_0x29197c) {
|
|
100
|
+
const _0x5eb7bc = _0x1d745a;
|
|
101
|
+
await mkdir(_0x327547, { 'recursive': !![] });
|
|
102
|
+
const _0x3bed8b = await readdir(_0x327547), _0xdf3d0 = _0x3bed8b['find'](_0x47bd26 => _0x47bd26['startsWith'](_0x29197c + '-') || _0x47bd26[_0x5eb7bc(0x229)](_0x29197c));
|
|
103
|
+
return _0xdf3d0 ? _0x21802[_0x5eb7bc(0x14f)](_0x327547, _0xdf3d0) : null;
|
|
121
104
|
},
|
|
122
|
-
async 'save'(
|
|
123
|
-
const
|
|
124
|
-
await mkdir(
|
|
125
|
-
const
|
|
126
|
-
return await writeFile(
|
|
105
|
+
async 'save'(_0x3c4676) {
|
|
106
|
+
const _0xd1aef6 = _0x1d745a;
|
|
107
|
+
await mkdir(_0x327547, { 'recursive': !![] });
|
|
108
|
+
const _0xe30036 = _0x3c4676['originalFilename']?.[_0xd1aef6(0x17f)]() ? safeFilename(_0x3c4676[_0xd1aef6(0x1e9)]) : '' + _0x3c4676[_0xd1aef6(0x18e)] + extensionFor(_0x3c4676[_0xd1aef6(_0x20fb7b._0x44a80a)]), _0x17c262 = _0x21802['join'](_0x327547, _0x3c4676[_0xd1aef6(0x18e)] + '-' + _0xe30036);
|
|
109
|
+
return await writeFile(_0x17c262, _0x3c4676[_0xd1aef6(_0x20fb7b._0x59b1b7)]), _0x17c262;
|
|
127
110
|
}
|
|
128
111
|
};
|
|
129
112
|
}
|
|
@@ -131,2310 +114,2336 @@ import {
|
|
|
131
114
|
createHash,
|
|
132
115
|
randomUUID
|
|
133
116
|
} from 'node:crypto';
|
|
134
|
-
var UNSUPPORTED_TARGET_MESSAGE =
|
|
135
|
-
function ensureSegment(
|
|
136
|
-
const
|
|
137
|
-
if (!
|
|
117
|
+
var UNSUPPORTED_TARGET_MESSAGE = _0x3b2449(0x1c5);
|
|
118
|
+
function ensureSegment(_0x530043) {
|
|
119
|
+
const _0x156d9c = { _0x471cb4: 0x17f }, _0x219543 = _0x3b2449, _0x994e36 = _0x530043[_0x219543(_0x156d9c._0x471cb4)]();
|
|
120
|
+
if (!_0x994e36 || _0x994e36[_0x219543(0x181)](':'))
|
|
138
121
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
139
|
-
return
|
|
122
|
+
return _0x994e36;
|
|
140
123
|
}
|
|
141
|
-
function parseThreadParts(
|
|
142
|
-
const
|
|
143
|
-
|
|
124
|
+
function parseThreadParts(_0x402b01) {
|
|
125
|
+
const _0x4b257c = {
|
|
126
|
+
_0x308441: 0x208,
|
|
127
|
+
_0x1a082a: 0x13b
|
|
128
|
+
}, _0x26150c = _0x3b2449, _0x19aaba = _0x402b01[_0x26150c(_0x4b257c._0x308441)](':');
|
|
129
|
+
if (_0x19aaba[_0x26150c(_0x4b257c._0x1a082a)] < 0x1 || _0x19aaba[_0x26150c(_0x4b257c._0x1a082a)] > 0x2)
|
|
144
130
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
145
131
|
return {
|
|
146
|
-
'channelName': ensureSegment(
|
|
147
|
-
'threadShortId':
|
|
132
|
+
'channelName': ensureSegment(_0x19aaba[0x0] ?? ''),
|
|
133
|
+
'threadShortId': _0x19aaba[0x1] ? ensureSegment(_0x19aaba[0x1]) : null
|
|
148
134
|
};
|
|
149
135
|
}
|
|
150
|
-
function parseTarget(
|
|
151
|
-
const
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
_0x317886: 0x1e4
|
|
160
|
-
}, _0xd6a3f2 = _0x5e54a5, _0x37b44d = _0x3596a8[_0xd6a3f2(_0x35d5d6._0x4e9865)]();
|
|
161
|
-
if (!_0x37b44d)
|
|
136
|
+
function parseTarget(_0x1ef250) {
|
|
137
|
+
const _0xeab989 = {
|
|
138
|
+
_0x40a921: 0x229,
|
|
139
|
+
_0x176487: 0x18b,
|
|
140
|
+
_0x1d9357: 0x1e1,
|
|
141
|
+
_0xfc4651: 0x1d8,
|
|
142
|
+
_0x5639d0: 0x1ac
|
|
143
|
+
}, _0x567694 = _0x3b2449, _0x1804b5 = _0x1ef250[_0x567694(0x17f)]();
|
|
144
|
+
if (!_0x1804b5)
|
|
162
145
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
163
|
-
if (
|
|
164
|
-
const
|
|
165
|
-
if (!
|
|
146
|
+
if (_0x1804b5[_0x567694(_0xeab989._0x40a921)]('#')) {
|
|
147
|
+
const _0x47ffcb = parseThreadParts(_0x1804b5['slice'](0x1)), _0x5e4abe = '#' + _0x47ffcb['channelName'];
|
|
148
|
+
if (!_0x47ffcb[_0x567694(0x1e1)])
|
|
166
149
|
return {
|
|
167
|
-
'channelName':
|
|
168
|
-
'channelTarget':
|
|
169
|
-
'kind':
|
|
170
|
-
'target':
|
|
150
|
+
'channelName': _0x47ffcb['channelName'],
|
|
151
|
+
'channelTarget': _0x5e4abe,
|
|
152
|
+
'kind': 'channel',
|
|
153
|
+
'target': _0x5e4abe
|
|
171
154
|
};
|
|
172
155
|
return {
|
|
173
|
-
'channelName':
|
|
174
|
-
'channelTarget':
|
|
175
|
-
'kind':
|
|
176
|
-
'target':
|
|
177
|
-
'threadShortId':
|
|
156
|
+
'channelName': _0x47ffcb['channelName'],
|
|
157
|
+
'channelTarget': _0x5e4abe,
|
|
158
|
+
'kind': _0x567694(0x16b),
|
|
159
|
+
'target': _0x5e4abe + ':' + _0x47ffcb['threadShortId'],
|
|
160
|
+
'threadShortId': _0x47ffcb[_0x567694(0x1e1)]
|
|
178
161
|
};
|
|
179
162
|
}
|
|
180
|
-
if (
|
|
181
|
-
const
|
|
182
|
-
if (!
|
|
163
|
+
if (_0x1804b5[_0x567694(_0xeab989._0x40a921)](_0x567694(0x18b))) {
|
|
164
|
+
const _0x4f046d = parseThreadParts(_0x1804b5['slice'](0x3));
|
|
165
|
+
if (!_0x4f046d['channelName']['startsWith']('dm-'))
|
|
183
166
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
184
|
-
const
|
|
185
|
-
if (!
|
|
167
|
+
const _0x5e2fe7 = _0x567694(_0xeab989._0x176487) + _0x4f046d['channelName'];
|
|
168
|
+
if (!_0x4f046d[_0x567694(_0xeab989._0x1d9357)])
|
|
186
169
|
return {
|
|
187
|
-
'channelName':
|
|
188
|
-
'channelTarget':
|
|
189
|
-
'kind':
|
|
190
|
-
'target':
|
|
170
|
+
'channelName': _0x4f046d[_0x567694(_0xeab989._0xfc4651)],
|
|
171
|
+
'channelTarget': _0x5e2fe7,
|
|
172
|
+
'kind': _0x567694(_0xeab989._0x5639d0),
|
|
173
|
+
'target': _0x5e2fe7
|
|
191
174
|
};
|
|
192
175
|
return {
|
|
193
|
-
'channelName':
|
|
194
|
-
'channelTarget':
|
|
195
|
-
'kind':
|
|
196
|
-
'target':
|
|
197
|
-
'threadShortId':
|
|
176
|
+
'channelName': _0x4f046d['channelName'],
|
|
177
|
+
'channelTarget': _0x5e2fe7,
|
|
178
|
+
'kind': _0x567694(0x16b),
|
|
179
|
+
'target': _0x5e2fe7 + ':' + _0x4f046d['threadShortId'],
|
|
180
|
+
'threadShortId': _0x4f046d[_0x567694(0x1e1)]
|
|
198
181
|
};
|
|
199
182
|
}
|
|
200
183
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
201
184
|
}
|
|
202
|
-
function asErrorMessage(
|
|
203
|
-
const
|
|
204
|
-
if (typeof
|
|
205
|
-
return
|
|
206
|
-
return
|
|
185
|
+
function asErrorMessage(_0x48c3d0, _0x5a5ec8) {
|
|
186
|
+
const _0x534525 = { _0x38a1b3: 0x222 }, _0x597b94 = _0x3b2449;
|
|
187
|
+
if (typeof _0x48c3d0 === _0x597b94(_0x534525._0x38a1b3) && _0x48c3d0[_0x597b94(0x17f)]())
|
|
188
|
+
return _0x48c3d0;
|
|
189
|
+
return _0x5a5ec8;
|
|
207
190
|
}
|
|
208
|
-
function asRecord(
|
|
209
|
-
const
|
|
210
|
-
return typeof
|
|
191
|
+
function asRecord(_0x2b1839) {
|
|
192
|
+
const _0x4f14c9 = _0x3b2449;
|
|
193
|
+
return typeof _0x2b1839 === _0x4f14c9(0x226) && _0x2b1839 !== null ? _0x2b1839 : {};
|
|
211
194
|
}
|
|
212
|
-
function stableStringify(
|
|
213
|
-
const
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
if (
|
|
220
|
-
return
|
|
221
|
-
|
|
222
|
-
|
|
195
|
+
function stableStringify(_0x1ee461) {
|
|
196
|
+
const _0x419972 = {
|
|
197
|
+
_0x164a5a: 0x1ab,
|
|
198
|
+
_0x32a60c: 0x1bb,
|
|
199
|
+
_0x4c2fc2: 0x188,
|
|
200
|
+
_0x2ff321: 0x1b9
|
|
201
|
+
}, _0x54c915 = _0x3b2449;
|
|
202
|
+
if (_0x1ee461 === null || typeof _0x1ee461 !== 'object')
|
|
203
|
+
return JSON[_0x54c915(_0x419972._0x164a5a)](_0x1ee461);
|
|
204
|
+
if (Array[_0x54c915(0x178)](_0x1ee461))
|
|
205
|
+
return '[' + _0x1ee461[_0x54c915(0x182)](_0x18e797 => stableStringify(_0x18e797))['join'](',') + ']';
|
|
206
|
+
const _0x11f76b = Object[_0x54c915(_0x419972._0x32a60c)](_0x1ee461)[_0x54c915(_0x419972._0x4c2fc2)](([, _0x12707f]) => _0x12707f !== void 0x0)[_0x54c915(_0x419972._0x2ff321)](([_0xc23a9f], [_0x333cb6]) => _0xc23a9f[_0x54c915(0x136)](_0x333cb6))['map'](([_0x356a31, _0x2b2397]) => JSON[_0x54c915(0x1ab)](_0x356a31) + ':' + stableStringify(_0x2b2397));
|
|
207
|
+
return '{' + _0x11f76b[_0x54c915(0x14f)](',') + '}';
|
|
223
208
|
}
|
|
224
|
-
function createHeaders(
|
|
225
|
-
const _0x35f395 = _0x5e54a5;
|
|
209
|
+
function createHeaders(_0x2d01b8) {
|
|
226
210
|
return {
|
|
227
|
-
'Content-Type':
|
|
228
|
-
'x-daemon-api-key':
|
|
211
|
+
'Content-Type': 'application/json',
|
|
212
|
+
'x-daemon-api-key': _0x2d01b8
|
|
229
213
|
};
|
|
230
214
|
}
|
|
231
|
-
function toHttpBaseUrl(
|
|
232
|
-
const
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
if (_0x5eef70[_0x1adea7(0x1e3)] === _0x1adea7(_0x22749a._0x2137d3))
|
|
240
|
-
_0x5eef70[_0x1adea7(0x1e3)] = _0x1adea7(_0x22749a._0x29448a);
|
|
215
|
+
function toHttpBaseUrl(_0x5d1e83) {
|
|
216
|
+
const _0x2d4813 = {
|
|
217
|
+
_0x2ad133: 0x218,
|
|
218
|
+
_0x4266b3: 0x218,
|
|
219
|
+
_0x5ce51e: 0x107
|
|
220
|
+
}, _0xbf0062 = _0x3b2449, _0x2f71dc = new URL(_0x5d1e83);
|
|
221
|
+
if (_0x2f71dc[_0xbf0062(_0x2d4813._0x2ad133)] === _0xbf0062(0x176))
|
|
222
|
+
_0x2f71dc[_0xbf0062(_0x2d4813._0x4266b3)] = _0xbf0062(0x118);
|
|
241
223
|
else
|
|
242
|
-
|
|
243
|
-
return
|
|
224
|
+
_0x2f71dc[_0xbf0062(_0x2d4813._0x4266b3)] === 'wss:' && (_0x2f71dc[_0xbf0062(_0x2d4813._0x2ad133)] = _0xbf0062(_0x2d4813._0x5ce51e));
|
|
225
|
+
return _0x2f71dc[_0xbf0062(0x17a)]()['replace'](/\/$/, '');
|
|
244
226
|
}
|
|
245
|
-
function isMentionBoundary(
|
|
246
|
-
|
|
227
|
+
function isMentionBoundary(_0x4af374) {
|
|
228
|
+
const _0xc9941b = _0x3b2449;
|
|
229
|
+
return !_0x4af374 || /\s|[([{'",。!?、:;]/[_0xc9941b(0x206)](_0x4af374);
|
|
247
230
|
}
|
|
248
|
-
function isMentionTerminal(
|
|
249
|
-
const
|
|
250
|
-
return !
|
|
231
|
+
function isMentionTerminal(_0x28c7dc) {
|
|
232
|
+
const _0x765799 = { _0x59cfa3: 0x206 }, _0x12a4ff = _0x3b2449;
|
|
233
|
+
return !_0x28c7dc || /\s|[)\]}'",。!?、:;,.!?]/[_0x12a4ff(_0x765799._0x59cfa3)](_0x28c7dc);
|
|
251
234
|
}
|
|
252
|
-
function buildMatchableEntries(
|
|
253
|
-
const
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
}, _0x3b21b8 = _0x5e54a5, _0x5cf4c1 = [];
|
|
258
|
-
for (const _0x1ad302 of [
|
|
259
|
-
..._0x4fa2b7[_0x3b21b8(_0x2d3f80._0x3b282e)],
|
|
260
|
-
..._0x4fa2b7[_0x3b21b8(0x183)]
|
|
235
|
+
function buildMatchableEntries(_0x4c1bff) {
|
|
236
|
+
const _0x2c1be0 = { _0xeef21e: 0xf8 }, _0x2936c6 = _0x3b2449, _0x3a68f5 = [];
|
|
237
|
+
for (const _0x5b9543 of [
|
|
238
|
+
..._0x4c1bff[_0x2936c6(0x21d)],
|
|
239
|
+
..._0x4c1bff[_0x2936c6(0x10a)]
|
|
261
240
|
]) {
|
|
262
|
-
|
|
263
|
-
'matchName':
|
|
264
|
-
'matchNameLower':
|
|
265
|
-
'participantId':
|
|
266
|
-
}),
|
|
267
|
-
'matchName':
|
|
268
|
-
'matchNameLower':
|
|
269
|
-
'participantId':
|
|
241
|
+
_0x3a68f5[_0x2936c6(_0x2c1be0._0xeef21e)]({
|
|
242
|
+
'matchName': _0x5b9543[_0x2936c6(0x1fa)],
|
|
243
|
+
'matchNameLower': _0x5b9543['name']['toLocaleLowerCase'](),
|
|
244
|
+
'participantId': _0x5b9543['id']
|
|
245
|
+
}), _0x5b9543['id'] !== _0x5b9543[_0x2936c6(0x1fa)] && _0x3a68f5[_0x2936c6(0xf8)]({
|
|
246
|
+
'matchName': _0x5b9543['id'],
|
|
247
|
+
'matchNameLower': _0x5b9543['id'][_0x2936c6(0x10d)](),
|
|
248
|
+
'participantId': _0x5b9543['id']
|
|
270
249
|
});
|
|
271
250
|
}
|
|
272
|
-
return
|
|
251
|
+
return _0x3a68f5;
|
|
273
252
|
}
|
|
274
|
-
function extractMentionedParticipantIds(
|
|
275
|
-
const
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
},
|
|
282
|
-
|
|
283
|
-
|
|
253
|
+
function extractMentionedParticipantIds(_0x129b8f, _0x4c28cc) {
|
|
254
|
+
const _0x1251ba = {
|
|
255
|
+
_0x1b5a83: 0x10d,
|
|
256
|
+
_0x3b16e0: 0x10f,
|
|
257
|
+
_0x1e2bb2: 0x115,
|
|
258
|
+
_0x5bff6c: 0x150,
|
|
259
|
+
_0x359111: 0x13b
|
|
260
|
+
}, _0x81090d = {
|
|
261
|
+
_0x1409d4: 0x229,
|
|
262
|
+
_0x90609b: 0x11c,
|
|
263
|
+
_0x2b6ae9: 0x1ce
|
|
264
|
+
}, _0x2b0a67 = _0x3b2449, _0x82bc01 = buildMatchableEntries(_0x4c28cc)[_0x2b0a67(0x1b9)]((_0x1aa5ad, _0x48c232) => _0x48c232[_0x2b0a67(0x1ce)][_0x2b0a67(0x13b)] - _0x1aa5ad[_0x2b0a67(0x1ce)][_0x2b0a67(0x13b)]), _0x143653 = [], _0x28d487 = new Set();
|
|
265
|
+
for (let _0x46fbc9 = 0x0; _0x46fbc9 < _0x129b8f['length']; _0x46fbc9 += 0x1) {
|
|
266
|
+
if (_0x129b8f[_0x46fbc9] !== '@' || !isMentionBoundary(_0x129b8f[_0x46fbc9 - 0x1]))
|
|
284
267
|
continue;
|
|
285
|
-
const
|
|
286
|
-
const
|
|
287
|
-
if (!
|
|
268
|
+
const _0x391f42 = _0x129b8f[_0x2b0a67(0x180)](_0x46fbc9 + 0x1), _0x4541bd = _0x391f42[_0x2b0a67(_0x1251ba._0x1b5a83)](), _0x336ada = _0x82bc01[_0x2b0a67(_0x1251ba._0x3b16e0)](_0x515329 => {
|
|
269
|
+
const _0x5ae283 = _0x2b0a67;
|
|
270
|
+
if (!_0x4541bd[_0x5ae283(_0x81090d._0x1409d4)](_0x515329[_0x5ae283(_0x81090d._0x90609b)]))
|
|
288
271
|
return ![];
|
|
289
|
-
return isMentionTerminal(
|
|
272
|
+
return isMentionTerminal(_0x391f42[_0x515329[_0x5ae283(_0x81090d._0x2b6ae9)]['length']]);
|
|
290
273
|
});
|
|
291
|
-
if (!
|
|
274
|
+
if (!_0x336ada || _0x28d487[_0x2b0a67(_0x1251ba._0x1e2bb2)](_0x336ada[_0x2b0a67(0x150)]))
|
|
292
275
|
continue;
|
|
293
|
-
|
|
276
|
+
_0x28d487['add'](_0x336ada['participantId']), _0x143653[_0x2b0a67(0xf8)](_0x336ada[_0x2b0a67(_0x1251ba._0x5bff6c)]), _0x46fbc9 += _0x336ada[_0x2b0a67(0x1ce)][_0x2b0a67(_0x1251ba._0x359111)];
|
|
294
277
|
}
|
|
295
|
-
return
|
|
278
|
+
return _0x143653;
|
|
296
279
|
}
|
|
297
280
|
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
298
|
-
function anySignal(...
|
|
299
|
-
const
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
281
|
+
function anySignal(..._0x1d79d2) {
|
|
282
|
+
const _0x5e6f3c = {
|
|
283
|
+
_0xbb7192: 0x216,
|
|
284
|
+
_0x53b19b: 0x1f7,
|
|
285
|
+
_0x1d2cab: 0x1fd,
|
|
286
|
+
_0x3b9623: 0x1f7,
|
|
287
|
+
_0x1b1eda: 0x20b
|
|
288
|
+
}, _0x288ad6 = _0x3b2449, _0x443afe = new AbortController();
|
|
289
|
+
for (const _0x1a99df of _0x1d79d2) {
|
|
290
|
+
if (_0x1a99df[_0x288ad6(_0x5e6f3c._0xbb7192)])
|
|
291
|
+
return _0x443afe[_0x288ad6(_0x5e6f3c._0x53b19b)](_0x1a99df[_0x288ad6(_0x5e6f3c._0x1d2cab)]), _0x443afe[_0x288ad6(0x20b)];
|
|
292
|
+
_0x1a99df['addEventListener'](_0x288ad6(_0x5e6f3c._0x3b9623), () => _0x443afe[_0x288ad6(0x1f7)](_0x1a99df[_0x288ad6(0x1fd)]), {
|
|
304
293
|
'once': !![],
|
|
305
|
-
'signal':
|
|
294
|
+
'signal': _0x443afe[_0x288ad6(_0x5e6f3c._0x1b1eda)]
|
|
306
295
|
});
|
|
307
296
|
}
|
|
308
|
-
return
|
|
297
|
+
return _0x443afe[_0x288ad6(_0x5e6f3c._0x1b1eda)];
|
|
309
298
|
}
|
|
310
|
-
function createInternalAgentClient(
|
|
311
|
-
const
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
},
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
},
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
},
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
},
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
_0x1c2560: 0x171
|
|
483
|
-
}, _0x2bf35a = _0x5e54a5, _0x51c4fc = _0x1786d1['fetchImpl'] ?? fetch, _0x1e54d7 = _0x1786d1['fetchTimeoutMs'] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x3956f6 = typeof _0x1786d1[_0x2bf35a(0x2a8)] === _0x2bf35a(_0x326003._0x471757) && _0x1786d1['initialLastSeenSeq'] > 0x0 ? _0x1786d1['initialLastSeenSeq'] : 0x0, _0x2895f3 = _0x1786d1[_0x2bf35a(_0x326003._0x4aa39d)]?.['trim']() || void 0x0, _0x5df0ea = _0x1786d1['sessionId']?.[_0x2bf35a(_0x326003._0x528d4f)]() || void 0x0, _0x1e6d67 = _0x1786d1['workerModeEnabled'] === !![], _0x28a5fe = _0x1786d1[_0x2bf35a(_0x326003._0x284793)]?.[_0x2bf35a(_0x326003._0x528d4f)]() || void 0x0, _0x1d06a1 = _0x1786d1[_0x2bf35a(_0x326003._0x38c636)]?.[_0x2bf35a(0x1c8)]() || void 0x0, _0xd8cb6f = createHeaders(_0x1786d1[_0x2bf35a(_0x326003._0xf6477b)]), _0x4e14a2 = toHttpBaseUrl(_0x1786d1['serverUrl']);
|
|
484
|
-
let _0x5ed55f = null;
|
|
485
|
-
const _0x52699e = new Map();
|
|
486
|
-
let _0x24a660 = _0x3956f6, _0x5b4179 = _0x3956f6;
|
|
487
|
-
function _0x20a533(_0x472de7) {
|
|
488
|
-
const _0xe9a112 = _0x2bf35a, _0x20739d = _0x472de7[_0xe9a112(_0x5d250f._0x44e2d4)]['headers'][_0xe9a112(_0x5d250f._0x4876b4)](_0xe9a112(0x17d)) ?? _0xe9a112(0x1c4), _0x462a89 = _0x472de7['bodyText'][_0xe9a112(0x1c8)]()[_0xe9a112(_0x5d250f._0x1aa41d)](/\s+/g, '\x20')[_0xe9a112(_0x5d250f._0x7278d9)](0x0, 0x78) || _0xe9a112(0x1aa);
|
|
489
|
-
return '请求\x20' + _0x472de7[_0xe9a112(_0x5d250f._0x6a88d5)] + _0xe9a112(0x287) + _0x472de7[_0xe9a112(0x2c7)][_0xe9a112(0x1f3)] + _0xe9a112(_0x5d250f._0x221113) + _0x20739d + _0xe9a112(0x1b4) + _0x462a89 + _0xe9a112(_0x5d250f._0x1c2560);
|
|
299
|
+
function createInternalAgentClient(_0x23c4c5) {
|
|
300
|
+
const _0x451600 = {
|
|
301
|
+
_0x176143: 0x200,
|
|
302
|
+
_0x1c7288: 0x139,
|
|
303
|
+
_0x5163c9: 0x17f,
|
|
304
|
+
_0xce036d: 0x1a3,
|
|
305
|
+
_0x3605d2: 0x211,
|
|
306
|
+
_0x497bc0: 0x1a0
|
|
307
|
+
}, _0x4d7552 = {
|
|
308
|
+
_0x4f6e12: 0x1ea,
|
|
309
|
+
_0x37d69e: 0xf5,
|
|
310
|
+
_0x17f38a: 0x188,
|
|
311
|
+
_0x2411bb: 0x1a9,
|
|
312
|
+
_0x3404eb: 0x13b,
|
|
313
|
+
_0x1c4bd8: 0x109,
|
|
314
|
+
_0x328426: 0x1a9,
|
|
315
|
+
_0x34ed8a: 0x13b,
|
|
316
|
+
_0x260fcf: 0x109,
|
|
317
|
+
_0x15436c: 0x182,
|
|
318
|
+
_0x7ebb75: 0x235,
|
|
319
|
+
_0xcece1f: 0x1a7,
|
|
320
|
+
_0x1ad25c: 0x173,
|
|
321
|
+
_0x1043db: 0x1dc,
|
|
322
|
+
_0x2fc08a: 0x1dc,
|
|
323
|
+
_0x480ae7: 0x125,
|
|
324
|
+
_0x44f6ac: 0x236,
|
|
325
|
+
_0x302491: 0x21a,
|
|
326
|
+
_0x138981: 0x247,
|
|
327
|
+
_0x24a052: 0x149,
|
|
328
|
+
_0x5f3e5c: 0x1bb,
|
|
329
|
+
_0x2f45b3: 0x247,
|
|
330
|
+
_0x36f8b0: 0x213,
|
|
331
|
+
_0x251160: 0x1fa,
|
|
332
|
+
_0x6c3b28: 0x23a,
|
|
333
|
+
_0x2bf453: 0x1a9,
|
|
334
|
+
_0x34035a: 0x1a7,
|
|
335
|
+
_0x361344: 0x193,
|
|
336
|
+
_0x3b2f49: 0xf8,
|
|
337
|
+
_0x2ba6f6: 0x24c,
|
|
338
|
+
_0x35a8d6: 0x19f,
|
|
339
|
+
_0x5ab6a2: 0x222,
|
|
340
|
+
_0x102e1c: 0x1b6,
|
|
341
|
+
_0x324622: 0x23a,
|
|
342
|
+
_0x537287: 0xf8,
|
|
343
|
+
_0x1c0f92: 0x223
|
|
344
|
+
}, _0x5e5561 = { _0x3becba: 0x1a7 }, _0x36e1d7 = { _0x3e2961: 0x123 }, _0x540134 = {
|
|
345
|
+
_0xc4ffdc: 0x17a,
|
|
346
|
+
_0x3176ea: 0x1ea,
|
|
347
|
+
_0xb389bf: 0x1cc
|
|
348
|
+
}, _0x225e59 = {
|
|
349
|
+
_0xdfaea9: 0x250,
|
|
350
|
+
_0x20d970: 0x1c3,
|
|
351
|
+
_0x33e866: 0x1ea,
|
|
352
|
+
_0x267fbb: 0x1d2,
|
|
353
|
+
_0x26abdc: 0x24a,
|
|
354
|
+
_0x4f49c6: 0x1b1,
|
|
355
|
+
_0x2b3d98: 0x1e4
|
|
356
|
+
}, _0x4a70d4 = {
|
|
357
|
+
_0x2e8c73: 0x1dc,
|
|
358
|
+
_0x2b2a87: 0x220,
|
|
359
|
+
_0x1cf627: 0x199,
|
|
360
|
+
_0x3e71e8: 0x1b3,
|
|
361
|
+
_0x4dcc66: 0x237,
|
|
362
|
+
_0xb26fe9: 0x148,
|
|
363
|
+
_0x4d0f1f: 0x24a
|
|
364
|
+
}, _0x1635ed = {
|
|
365
|
+
_0x55c711: 0x19d,
|
|
366
|
+
_0x42699e: 0x22a,
|
|
367
|
+
_0x1eaa2b: 0x1ab
|
|
368
|
+
}, _0xd4e2e0 = {
|
|
369
|
+
_0x3a2df8: 0x19d,
|
|
370
|
+
_0x3ee13d: 0x1ab
|
|
371
|
+
}, _0x5cd9d0 = {
|
|
372
|
+
_0x4a59fb: 0x19d,
|
|
373
|
+
_0x3717aa: 0x1c7
|
|
374
|
+
}, _0x376c4c = {
|
|
375
|
+
_0x1672f5: 0xf9,
|
|
376
|
+
_0x1bd090: 0x1ab,
|
|
377
|
+
_0x514d83: 0x148
|
|
378
|
+
}, _0x15ff05 = {
|
|
379
|
+
_0x4626a3: 0x1ac,
|
|
380
|
+
_0x55c063: 0x1d5,
|
|
381
|
+
_0x2d8818: 0x1d9
|
|
382
|
+
}, _0x278b5d = {
|
|
383
|
+
_0x3c5561: 0x126,
|
|
384
|
+
_0x11b7ce: 0x132,
|
|
385
|
+
_0x231f58: 0x24a
|
|
386
|
+
}, _0x179e25 = { _0x524a7b: 0x24a }, _0x218cb8 = { _0x2e89a2: 0x203 }, _0x285286 = {
|
|
387
|
+
_0x4f3cf0: 0x123,
|
|
388
|
+
_0x1aecdd: 0x127,
|
|
389
|
+
_0x317389: 0xf0,
|
|
390
|
+
_0x3bdde7: 0x1dc
|
|
391
|
+
}, _0x20d569 = {
|
|
392
|
+
_0x450733: 0x157,
|
|
393
|
+
_0x3d2e10: 0x228,
|
|
394
|
+
_0x35bd03: 0x1dc,
|
|
395
|
+
_0x44e3ee: 0x173,
|
|
396
|
+
_0xa721bf: 0x1ca,
|
|
397
|
+
_0x4ae566: 0x187,
|
|
398
|
+
_0x511ede: 0x17a,
|
|
399
|
+
_0x217a60: 0x1ea,
|
|
400
|
+
_0xdcf060: 0x1ad
|
|
401
|
+
}, _0x343ca8 = { _0x44616e: 0x1ef }, _0x1d1f77 = { _0x5d6070: 0x1ef }, _0x10b0e8 = {
|
|
402
|
+
_0x38670a: 0x21a,
|
|
403
|
+
_0x27728f: 0x200,
|
|
404
|
+
_0x547a22: 0x236,
|
|
405
|
+
_0x45a0e4: 0x21a,
|
|
406
|
+
_0x3f6d1c: 0x125,
|
|
407
|
+
_0x52843e: 0x222,
|
|
408
|
+
_0x445293: 0x125,
|
|
409
|
+
_0x1442f1: 0x1dc,
|
|
410
|
+
_0x252e44: 0x229
|
|
411
|
+
}, _0x5670c9 = {
|
|
412
|
+
_0x17857e: 0x16b,
|
|
413
|
+
_0x50e80d: 0x100,
|
|
414
|
+
_0x5d9986: 0x21a,
|
|
415
|
+
_0x384ebe: 0x125,
|
|
416
|
+
_0x39a091: 0x125,
|
|
417
|
+
_0xc8ea83: 0x229,
|
|
418
|
+
_0x4ae8b4: 0x1e1,
|
|
419
|
+
_0x395618: 0x1dc
|
|
420
|
+
}, _0x9dd58b = {
|
|
421
|
+
_0x103195: 0x100,
|
|
422
|
+
_0x36145e: 0x125,
|
|
423
|
+
_0x2815f8: 0x1dc
|
|
424
|
+
}, _0x77d9de = {
|
|
425
|
+
_0x531a33: 0x21d,
|
|
426
|
+
_0x47767f: 0x10a,
|
|
427
|
+
_0x1e018f: 0x10f
|
|
428
|
+
}, _0x329395 = {
|
|
429
|
+
_0x2fe960: 0x21d,
|
|
430
|
+
_0x5c2fb6: 0x1eb
|
|
431
|
+
}, _0x4ca2d0 = { _0x14723b: 0xf7 }, _0x4794b3 = {
|
|
432
|
+
_0xe1df0a: 0x19d,
|
|
433
|
+
_0x464c9a: 0x1ab,
|
|
434
|
+
_0x5c147a: 0x24a,
|
|
435
|
+
_0x590071: 0x173,
|
|
436
|
+
_0x241be5: 0x100,
|
|
437
|
+
_0x55684d: 0x1dc
|
|
438
|
+
}, _0x138454 = {
|
|
439
|
+
_0x1ce86d: 0x1ab,
|
|
440
|
+
_0x3bed9e: 0x18d,
|
|
441
|
+
_0x1fb54d: 0x148
|
|
442
|
+
}, _0x85e16c = {
|
|
443
|
+
_0x16b499: 0x20b,
|
|
444
|
+
_0x4049dd: 0x20b,
|
|
445
|
+
_0x299a8f: 0x259
|
|
446
|
+
}, _0x354df8 = {
|
|
447
|
+
_0x41a0c7: 0x20b,
|
|
448
|
+
_0x4694a6: 0x259
|
|
449
|
+
}, _0x4ae3fb = {
|
|
450
|
+
_0x533b4a: 0x225,
|
|
451
|
+
_0x16d8f2: 0x222,
|
|
452
|
+
_0x169422: 0x17f,
|
|
453
|
+
_0x15eacf: 0x128,
|
|
454
|
+
_0x640cf3: 0xe3,
|
|
455
|
+
_0x431386: 0x1f3,
|
|
456
|
+
_0x231906: 0x119
|
|
457
|
+
}, _0x518c37 = {
|
|
458
|
+
_0x408d68: 0x121,
|
|
459
|
+
_0x69b144: 0xe6,
|
|
460
|
+
_0x58453d: 0x121,
|
|
461
|
+
_0x24ca20: 0xea,
|
|
462
|
+
_0x2dd2da: 0x165,
|
|
463
|
+
_0x3c5a56: 0xe4
|
|
464
|
+
}, _0x18d4d9 = _0x3b2449, _0x31a1dd = _0x23c4c5[_0x18d4d9(0x1a6)] ?? fetch, _0x52a517 = _0x23c4c5[_0x18d4d9(0x19c)] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x4cb948 = typeof _0x23c4c5['initialLastSeenSeq'] === _0x18d4d9(_0x451600._0x176143) && _0x23c4c5['initialLastSeenSeq'] > 0x0 ? _0x23c4c5[_0x18d4d9(0x1dd)] : 0x0, _0x3d049b = _0x23c4c5[_0x18d4d9(_0x451600._0x1c7288)]?.[_0x18d4d9(_0x451600._0x5163c9)]() || void 0x0, _0x19c708 = _0x23c4c5[_0x18d4d9(_0x451600._0xce036d)]?.[_0x18d4d9(0x17f)]() || void 0x0, _0x5dec46 = _0x23c4c5[_0x18d4d9(_0x451600._0x3605d2)] === !![], _0x32317c = _0x23c4c5[_0x18d4d9(_0x451600._0x497bc0)]?.['trim']() || void 0x0, _0x2abba7 = _0x23c4c5[_0x18d4d9(0x1e8)]?.['trim']() || void 0x0, _0x35d170 = createHeaders(_0x23c4c5['daemonApiKey']), _0x206b2d = toHttpBaseUrl(_0x23c4c5[_0x18d4d9(0xd4)]);
|
|
465
|
+
let _0xf5c400 = null;
|
|
466
|
+
const _0x160e5b = new Map();
|
|
467
|
+
let _0x4d1bf5 = _0x4cb948, _0x25e91f = _0x4cb948;
|
|
468
|
+
function _0x354d90(_0x4bcba7) {
|
|
469
|
+
const _0x58ae34 = _0x18d4d9, _0x7f90a4 = _0x4bcba7[_0x58ae34(_0x518c37._0x408d68)][_0x58ae34(0x10e)][_0x58ae34(0x149)](_0x58ae34(0xe5)) ?? _0x58ae34(0x17b), _0x313b38 = _0x4bcba7['bodyText'][_0x58ae34(0x17f)]()[_0x58ae34(_0x518c37._0x69b144)](/\s+/g, '\x20')[_0x58ae34(0x180)](0x0, 0x78) || '<empty>';
|
|
470
|
+
return _0x58ae34(0x1f2) + _0x4bcba7['requestUrl'] + '\x20返回了非\x20JSON\x20响应(status=' + _0x4bcba7[_0x58ae34(_0x518c37._0x58453d)]['status'] + _0x58ae34(_0x518c37._0x24ca20) + _0x7f90a4 + _0x58ae34(_0x518c37._0x2dd2da) + _0x313b38 + _0x58ae34(_0x518c37._0x3c5a56);
|
|
490
471
|
}
|
|
491
|
-
async function
|
|
492
|
-
const
|
|
493
|
-
if (!
|
|
472
|
+
async function _0x38b090(_0x132946, _0x1df62e) {
|
|
473
|
+
const _0x4d2267 = _0x18d4d9, _0x4a5c8b = Buffer['from'](await _0x1df62e[_0x4d2267(0x194)]())['toString'](_0x4d2267(0xd2));
|
|
474
|
+
if (!_0x4a5c8b[_0x4d2267(0x17f)]())
|
|
494
475
|
return {};
|
|
495
476
|
try {
|
|
496
|
-
return JSON[
|
|
477
|
+
return JSON['parse'](_0x4a5c8b);
|
|
497
478
|
} catch {
|
|
498
|
-
throw new Error(
|
|
499
|
-
'bodyText':
|
|
500
|
-
'requestUrl':
|
|
501
|
-
'response':
|
|
479
|
+
throw new Error(_0x354d90({
|
|
480
|
+
'bodyText': _0x4a5c8b,
|
|
481
|
+
'requestUrl': _0x132946,
|
|
482
|
+
'response': _0x1df62e
|
|
502
483
|
}));
|
|
503
484
|
}
|
|
504
485
|
}
|
|
505
|
-
function
|
|
506
|
-
const
|
|
507
|
-
if (
|
|
508
|
-
return
|
|
509
|
-
const
|
|
510
|
-
for (const [
|
|
511
|
-
|
|
486
|
+
function _0x5b5032(_0x3e46a9, _0x281673) {
|
|
487
|
+
const _0x407808 = _0x18d4d9, _0x4d8644 = typeof _0x281673[_0x407808(_0x4ae3fb._0x533b4a)] === _0x407808(_0x4ae3fb._0x16d8f2) ? _0x281673[_0x407808(0x225)][_0x407808(_0x4ae3fb._0x169422)]() : '';
|
|
488
|
+
if (_0x4d8644)
|
|
489
|
+
return _0x4d8644;
|
|
490
|
+
const _0x49340e = Date[_0x407808(0x105)]();
|
|
491
|
+
for (const [_0x551ed2, _0x5ed1a0] of _0x160e5b) {
|
|
492
|
+
_0x5ed1a0[_0x407808(_0x4ae3fb._0x15eacf)] <= _0x49340e && _0x160e5b[_0x407808(_0x4ae3fb._0x640cf3)](_0x551ed2);
|
|
512
493
|
}
|
|
513
|
-
const
|
|
514
|
-
...
|
|
494
|
+
const _0x1515a0 = {
|
|
495
|
+
..._0x281673,
|
|
515
496
|
'idempotency_key': void 0x0
|
|
516
|
-
},
|
|
517
|
-
if (
|
|
518
|
-
return
|
|
519
|
-
const
|
|
520
|
-
return
|
|
521
|
-
'expiresAt':
|
|
522
|
-
'value':
|
|
523
|
-
}),
|
|
497
|
+
}, _0x12e942 = createHash(_0x407808(0x12d))['update'](_0x3e46a9 + ':' + stableStringify(_0x1515a0))['digest'](_0x407808(_0x4ae3fb._0x431386)), _0x389ae4 = _0x3e46a9 + ':' + _0x12e942, _0x1f941f = _0x160e5b[_0x407808(0x149)](_0x389ae4);
|
|
498
|
+
if (_0x1f941f)
|
|
499
|
+
return _0x1f941f[_0x407808(_0x4ae3fb._0x231906)];
|
|
500
|
+
const _0x37436a = _0x407808(0xe1) + _0x3e46a9 + ':' + randomUUID();
|
|
501
|
+
return _0x160e5b[_0x407808(0x1d9)](_0x389ae4, {
|
|
502
|
+
'expiresAt': _0x49340e + 0x5 * 0x3c * 0x3e8,
|
|
503
|
+
'value': _0x37436a
|
|
504
|
+
}), _0x37436a;
|
|
524
505
|
}
|
|
525
|
-
async function
|
|
526
|
-
const
|
|
506
|
+
async function _0x4da1de(_0x499db9, _0x4d03f5) {
|
|
507
|
+
const _0x23319e = _0x18d4d9, _0x2b741c = new AbortController(), _0xd92b1f = setTimeout(() => _0x2b741c[_0x23319e(0x1f7)](), _0x52a517), _0x5a9067 = _0x4d03f5?.['signal'] ? anySignal(_0x4d03f5['signal'], _0x2b741c[_0x23319e(0x20b)]) : _0x2b741c[_0x23319e(_0x354df8._0x41a0c7)], _0x5893b3 = '' + _0x206b2d + _0x499db9;
|
|
527
508
|
try {
|
|
528
|
-
const
|
|
529
|
-
...
|
|
530
|
-
'signal':
|
|
531
|
-
}),
|
|
532
|
-
if (!
|
|
533
|
-
throw new Error(asErrorMessage(
|
|
534
|
-
return
|
|
509
|
+
const _0x424990 = await _0x31a1dd(_0x5893b3, {
|
|
510
|
+
..._0x4d03f5,
|
|
511
|
+
'signal': _0x5a9067
|
|
512
|
+
}), _0x53f4bd = await _0x38b090(_0x5893b3, _0x424990);
|
|
513
|
+
if (!_0x424990['ok'] || _0x53f4bd['success'] === ![])
|
|
514
|
+
throw new Error(asErrorMessage(_0x53f4bd[_0x23319e(_0x354df8._0x4694a6)], 'HTTP\x20' + _0x424990[_0x23319e(0x1d5)]));
|
|
515
|
+
return _0x53f4bd;
|
|
535
516
|
} finally {
|
|
536
|
-
clearTimeout(
|
|
517
|
+
clearTimeout(_0xd92b1f);
|
|
537
518
|
}
|
|
538
519
|
}
|
|
539
|
-
async function
|
|
540
|
-
const
|
|
520
|
+
async function _0x145182(_0x1e2024, _0x543d37) {
|
|
521
|
+
const _0x5a281f = _0x18d4d9, _0x4c8080 = new AbortController(), _0x43764a = setTimeout(() => _0x4c8080[_0x5a281f(0x1f7)](), _0x52a517), _0xd8da38 = _0x543d37?.[_0x5a281f(_0x85e16c._0x16b499)] ? anySignal(_0x543d37['signal'], _0x4c8080[_0x5a281f(0x20b)]) : _0x4c8080[_0x5a281f(_0x85e16c._0x4049dd)], _0x55b8e0 = '' + _0x206b2d + _0x1e2024;
|
|
541
522
|
try {
|
|
542
|
-
const
|
|
543
|
-
...
|
|
544
|
-
'signal':
|
|
545
|
-
}),
|
|
546
|
-
if (!
|
|
547
|
-
throw new Error(asErrorMessage(
|
|
548
|
-
return
|
|
523
|
+
const _0x175911 = await _0x31a1dd(_0x55b8e0, {
|
|
524
|
+
..._0x543d37,
|
|
525
|
+
'signal': _0xd8da38
|
|
526
|
+
}), _0x53d299 = await _0x38b090(_0x55b8e0, _0x175911);
|
|
527
|
+
if (!_0x175911['ok'])
|
|
528
|
+
throw new Error(asErrorMessage(_0x53d299[_0x5a281f(_0x85e16c._0x299a8f)], _0x5a281f(0x1d2) + _0x175911['status']));
|
|
529
|
+
return _0x53d299;
|
|
549
530
|
} finally {
|
|
550
|
-
clearTimeout(
|
|
531
|
+
clearTimeout(_0x43764a);
|
|
551
532
|
}
|
|
552
533
|
}
|
|
553
|
-
async function
|
|
554
|
-
const
|
|
555
|
-
if (!
|
|
534
|
+
async function _0x806ef2(_0x1c73b1) {
|
|
535
|
+
const _0x2fbca1 = _0x18d4d9;
|
|
536
|
+
if (!_0x19c708 || _0x1c73b1 <= _0x25e91f)
|
|
556
537
|
return;
|
|
557
|
-
await
|
|
558
|
-
'body': JSON['stringify']({ 'lastSeenSeq':
|
|
559
|
-
'headers':
|
|
560
|
-
'method':
|
|
561
|
-
}),
|
|
538
|
+
await _0x4da1de(_0x2fbca1(0x21b) + encodeURIComponent(_0x19c708) + _0x2fbca1(0x189), {
|
|
539
|
+
'body': JSON['stringify']({ 'lastSeenSeq': _0x1c73b1 }),
|
|
540
|
+
'headers': _0x35d170,
|
|
541
|
+
'method': _0x2fbca1(0x230)
|
|
542
|
+
}), _0x25e91f = _0x1c73b1;
|
|
562
543
|
}
|
|
563
|
-
async function
|
|
564
|
-
const
|
|
565
|
-
if (!
|
|
544
|
+
async function _0x405553(_0x3aade9) {
|
|
545
|
+
const _0x1c93ec = _0x18d4d9;
|
|
546
|
+
if (!_0x3d049b || !_0x32317c || _0x3aade9 <= _0x25e91f)
|
|
566
547
|
return;
|
|
567
|
-
const
|
|
568
|
-
'body': JSON[
|
|
569
|
-
'last_seen_seq':
|
|
570
|
-
'worker_session_id':
|
|
548
|
+
const _0x459987 = await _0x31a1dd(_0x3d049b + _0x1c93ec(0x112), {
|
|
549
|
+
'body': JSON[_0x1c93ec(_0x138454._0x1ce86d)]({
|
|
550
|
+
'last_seen_seq': _0x3aade9,
|
|
551
|
+
'worker_session_id': _0x32317c
|
|
571
552
|
}),
|
|
572
|
-
'headers': { 'Content-Type':
|
|
573
|
-
'method':
|
|
553
|
+
'headers': { 'Content-Type': _0x1c93ec(_0x138454._0x3bed9e) },
|
|
554
|
+
'method': _0x1c93ec(_0x138454._0x1fb54d)
|
|
574
555
|
});
|
|
575
|
-
if (!
|
|
576
|
-
throw new Error(
|
|
577
|
-
|
|
556
|
+
if (!_0x459987['ok'])
|
|
557
|
+
throw new Error(_0x1c93ec(0x1d2) + _0x459987[_0x1c93ec(0x1d5)]);
|
|
558
|
+
_0x25e91f = _0x3aade9;
|
|
578
559
|
}
|
|
579
|
-
async function
|
|
580
|
-
const
|
|
581
|
-
'body': JSON[
|
|
582
|
-
'headers':
|
|
583
|
-
'method':
|
|
560
|
+
async function _0x1fce9f(_0x2b81d8) {
|
|
561
|
+
const _0xef4836 = _0x18d4d9, _0x42689a = parseTarget(_0x2b81d8), _0x286d88 = await _0x4da1de(_0xef4836(0x220) + _0x23c4c5[_0xef4836(_0x4794b3._0xe1df0a)] + _0xef4836(0x11a), {
|
|
562
|
+
'body': JSON[_0xef4836(_0x4794b3._0x464c9a)]({ 'target': _0x42689a['target'] }),
|
|
563
|
+
'headers': _0x35d170,
|
|
564
|
+
'method': 'POST'
|
|
584
565
|
});
|
|
585
566
|
return {
|
|
586
|
-
'channelId':
|
|
587
|
-
'target':
|
|
588
|
-
'task':
|
|
589
|
-
'threadId':
|
|
590
|
-
'threadNumber':
|
|
567
|
+
'channelId': _0x286d88[_0xef4836(_0x4794b3._0x5c147a)]?.[_0xef4836(_0x4794b3._0x590071)] ?? '',
|
|
568
|
+
'target': _0x42689a[_0xef4836(_0x4794b3._0x241be5)],
|
|
569
|
+
'task': _0x286d88['data']?.[_0xef4836(0x22d)],
|
|
570
|
+
'threadId': _0x286d88['data']?.[_0xef4836(_0x4794b3._0x55684d)],
|
|
571
|
+
'threadNumber': _0x286d88[_0xef4836(0x24a)]?.[_0xef4836(0x21a)]
|
|
591
572
|
};
|
|
592
573
|
}
|
|
593
|
-
async function
|
|
594
|
-
const
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
'
|
|
606
|
-
|
|
607
|
-
|
|
574
|
+
async function _0xf77908(_0x27f121 = {}) {
|
|
575
|
+
const _0x25aaed = {
|
|
576
|
+
_0x769c30: 0x188,
|
|
577
|
+
_0x1dce45: 0x182,
|
|
578
|
+
_0x19e030: 0xd9,
|
|
579
|
+
_0x176826: 0x24a
|
|
580
|
+
}, _0x417fbd = _0x18d4d9;
|
|
581
|
+
if (!_0x27f121['forceRefresh'] && _0xf5c400)
|
|
582
|
+
return _0xf5c400;
|
|
583
|
+
return _0xf5c400 = (async () => {
|
|
584
|
+
const _0x301c5b = _0x24f4, _0x3aa5bd = await _0x4da1de(_0x301c5b(0x220) + _0x23c4c5['agentId'] + '/server', {
|
|
585
|
+
'headers': _0x35d170,
|
|
586
|
+
'method': _0x301c5b(0x1ea)
|
|
587
|
+
}), _0x11df5f = _0x3aa5bd['data']?.[_0x301c5b(0x15a)] ?? [], _0x3a61d0 = _0x11df5f[_0x301c5b(0x188)](_0x53d452 => _0x53d452[_0x301c5b(0x1ef)]?.[_0x301c5b(0xd7)] === _0x301c5b(0x179))[_0x301c5b(0x182)](_0x17b292 => ({
|
|
588
|
+
'id': _0x2a6b5c(_0x17b292),
|
|
589
|
+
'name': _0x48f48d(_0x17b292)
|
|
590
|
+
}))[_0x301c5b(0x188)](_0x43ca30 => _0x43ca30['id']), _0x22d0aa = _0x11df5f[_0x301c5b(_0x25aaed._0x769c30)](_0x2bcbee => _0x2bcbee[_0x301c5b(0x1ef)]?.['type'] !== _0x301c5b(0x179))[_0x301c5b(_0x25aaed._0x1dce45)](_0x4f6538 => ({
|
|
591
|
+
'id': _0x2a6b5c(_0x4f6538),
|
|
592
|
+
'name': _0x48f48d(_0x4f6538)
|
|
593
|
+
}))['filter'](_0x3bfd99 => _0x3bfd99['id']), _0x437465 = _0x3aa5bd['data']?.[_0x301c5b(_0x25aaed._0x19e030)]['id'] ?? '';
|
|
608
594
|
return {
|
|
609
|
-
'agents':
|
|
610
|
-
'channels':
|
|
611
|
-
'humans':
|
|
612
|
-
'serverId':
|
|
613
|
-
'serverName':
|
|
595
|
+
'agents': _0x3a61d0,
|
|
596
|
+
'channels': _0x3aa5bd[_0x301c5b(_0x25aaed._0x176826)]?.[_0x301c5b(0x235)] ?? [],
|
|
597
|
+
'humans': _0x22d0aa,
|
|
598
|
+
'serverId': _0x437465,
|
|
599
|
+
'serverName': _0x3aa5bd['data']?.[_0x301c5b(0xd9)][_0x301c5b(0x1fa)] ?? _0x437465
|
|
614
600
|
};
|
|
615
|
-
})()[
|
|
616
|
-
|
|
617
|
-
throw
|
|
618
|
-
}),
|
|
601
|
+
})()[_0x417fbd(_0x4ca2d0._0x14723b)](_0x205dad => {
|
|
602
|
+
_0xf5c400 = null;
|
|
603
|
+
throw _0x205dad;
|
|
604
|
+
}), _0xf5c400;
|
|
619
605
|
}
|
|
620
|
-
function
|
|
621
|
-
const
|
|
622
|
-
return
|
|
606
|
+
function _0x3d6587(_0x962d18, _0x4d2500) {
|
|
607
|
+
const _0x497eaa = _0x18d4d9;
|
|
608
|
+
return _0x4d2500[_0x497eaa(_0x329395._0x2fe960)]['some'](_0x5b72bb => _0x5b72bb['id'] === _0x962d18 || _0x5b72bb['name'] === _0x962d18) ? _0x497eaa(0x179) : _0x497eaa(_0x329395._0x5c2fb6);
|
|
623
609
|
}
|
|
624
|
-
function
|
|
625
|
-
const
|
|
626
|
-
...
|
|
627
|
-
...
|
|
628
|
-
][
|
|
629
|
-
return
|
|
610
|
+
function _0xce9ed8(_0x896f62, _0x44b728) {
|
|
611
|
+
const _0x5d74af = _0x18d4d9, _0x450a63 = [
|
|
612
|
+
..._0x44b728[_0x5d74af(_0x77d9de._0x531a33)],
|
|
613
|
+
..._0x44b728[_0x5d74af(_0x77d9de._0x47767f)]
|
|
614
|
+
][_0x5d74af(_0x77d9de._0x1e018f)](_0xfc34e7 => _0xfc34e7['id'] === _0x896f62);
|
|
615
|
+
return _0x450a63?.['name'] ?? _0x896f62;
|
|
630
616
|
}
|
|
631
|
-
function
|
|
632
|
-
const
|
|
633
|
-
if (
|
|
634
|
-
return
|
|
635
|
-
if (
|
|
636
|
-
return
|
|
637
|
-
if (
|
|
638
|
-
return
|
|
639
|
-
return
|
|
617
|
+
function _0x21c9a1(_0x340b04) {
|
|
618
|
+
const _0x185dab = _0x18d4d9;
|
|
619
|
+
if (_0x340b04['threadNumber'] != null)
|
|
620
|
+
return _0x340b04[_0x185dab(_0x9dd58b._0x103195)] + ':t' + _0x340b04['threadNumber'];
|
|
621
|
+
if (_0x340b04[_0x185dab(0x125)])
|
|
622
|
+
return _0x340b04[_0x185dab(0x100)] + ':' + _0x340b04[_0x185dab(_0x9dd58b._0x36145e)];
|
|
623
|
+
if (_0x340b04[_0x185dab(_0x9dd58b._0x2815f8)])
|
|
624
|
+
return _0x340b04[_0x185dab(0x100)] + ':' + _0x340b04['threadId'][_0x185dab(0x180)](0x0, 0x8);
|
|
625
|
+
return _0x340b04[_0x185dab(0x100)];
|
|
640
626
|
}
|
|
641
|
-
function
|
|
642
|
-
const
|
|
627
|
+
function _0x27f662(_0x241362, _0x2eee3a) {
|
|
628
|
+
const _0x77af1b = _0x18d4d9;
|
|
643
629
|
try {
|
|
644
|
-
const
|
|
645
|
-
if (
|
|
630
|
+
const _0x1d36a9 = parseTarget(_0x241362);
|
|
631
|
+
if (_0x1d36a9['kind'] !== _0x77af1b(_0x5670c9._0x17857e) || _0x1d36a9['channelTarget'] !== _0x2eee3a[_0x77af1b(_0x5670c9._0x50e80d)])
|
|
646
632
|
return ![];
|
|
647
|
-
if (
|
|
633
|
+
if (_0x2eee3a[_0x77af1b(0x21a)] != null && _0x1d36a9[_0x77af1b(0x1e1)] === 't' + _0x2eee3a[_0x77af1b(_0x5670c9._0x5d9986)])
|
|
648
634
|
return !![];
|
|
649
|
-
if (
|
|
650
|
-
return
|
|
651
|
-
if (
|
|
652
|
-
return
|
|
635
|
+
if (_0x2eee3a[_0x77af1b(_0x5670c9._0x384ebe)])
|
|
636
|
+
return _0x1d36a9[_0x77af1b(0x1e1)] === _0x2eee3a[_0x77af1b(_0x5670c9._0x39a091)] || _0x2eee3a[_0x77af1b(0x125)][_0x77af1b(_0x5670c9._0xc8ea83)](_0x1d36a9[_0x77af1b(_0x5670c9._0x4ae8b4)]);
|
|
637
|
+
if (_0x2eee3a[_0x77af1b(0x1dc)])
|
|
638
|
+
return _0x1d36a9[_0x77af1b(0x1e1)] === _0x2eee3a[_0x77af1b(_0x5670c9._0x395618)] || _0x2eee3a['threadId'][_0x77af1b(0x229)](_0x1d36a9[_0x77af1b(_0x5670c9._0x4ae8b4)]);
|
|
653
639
|
return ![];
|
|
654
640
|
} catch {
|
|
655
641
|
return ![];
|
|
656
642
|
}
|
|
657
643
|
}
|
|
658
|
-
function
|
|
659
|
-
const
|
|
644
|
+
function _0x3c4aef(_0x489a55, _0x13138c) {
|
|
645
|
+
const _0x1565c5 = _0x18d4d9;
|
|
660
646
|
try {
|
|
661
|
-
const
|
|
662
|
-
if (
|
|
647
|
+
const _0x1e04f7 = parseTarget(_0x489a55);
|
|
648
|
+
if (_0x1e04f7[_0x1565c5(0x23a)] !== _0x1565c5(0x16b))
|
|
663
649
|
return ![];
|
|
664
|
-
const
|
|
665
|
-
if (
|
|
650
|
+
const _0x4746a6 = typeof _0x13138c[_0x1565c5(_0x10b0e8._0x38670a)] === _0x1565c5(_0x10b0e8._0x27728f) && Number[_0x1565c5(_0x10b0e8._0x547a22)](_0x13138c[_0x1565c5(_0x10b0e8._0x45a0e4)]) ? _0x13138c[_0x1565c5(0x21a)] : void 0x0;
|
|
651
|
+
if (_0x4746a6 != null && _0x1e04f7['threadShortId'] === 't' + _0x4746a6)
|
|
666
652
|
return !![];
|
|
667
|
-
const
|
|
668
|
-
if (
|
|
669
|
-
return
|
|
670
|
-
const
|
|
671
|
-
return Boolean(
|
|
653
|
+
const _0x16b884 = typeof _0x13138c[_0x1565c5(_0x10b0e8._0x3f6d1c)] === _0x1565c5(_0x10b0e8._0x52843e) ? _0x13138c[_0x1565c5(_0x10b0e8._0x445293)] : void 0x0;
|
|
654
|
+
if (_0x16b884)
|
|
655
|
+
return _0x1e04f7['threadShortId'] === _0x16b884 || _0x16b884[_0x1565c5(0x229)](_0x1e04f7['threadShortId']);
|
|
656
|
+
const _0x5628c8 = typeof _0x13138c['threadId'] === _0x1565c5(_0x10b0e8._0x52843e) ? _0x13138c[_0x1565c5(_0x10b0e8._0x1442f1)] : void 0x0;
|
|
657
|
+
return Boolean(_0x5628c8) && (_0x1e04f7['threadShortId'] === _0x5628c8 || _0x5628c8[_0x1565c5(_0x10b0e8._0x252e44)](_0x1e04f7['threadShortId']));
|
|
672
658
|
} catch {
|
|
673
659
|
return ![];
|
|
674
660
|
}
|
|
675
661
|
}
|
|
676
|
-
function
|
|
677
|
-
const
|
|
678
|
-
return
|
|
662
|
+
function _0x2a6b5c(_0x1a31d0) {
|
|
663
|
+
const _0x1c675e = _0x18d4d9;
|
|
664
|
+
return _0x1a31d0['member']?.['participantId'] ?? _0x1a31d0[_0x1c675e(_0x1d1f77._0x5d6070)]?.['id'] ?? _0x1a31d0['participantId'] ?? '';
|
|
679
665
|
}
|
|
680
|
-
function
|
|
681
|
-
|
|
666
|
+
function _0x48f48d(_0x437322) {
|
|
667
|
+
const _0x1d233b = _0x18d4d9;
|
|
668
|
+
return _0x437322[_0x1d233b(_0x343ca8._0x44616e)]?.[_0x1d233b(0x1fa)] ?? _0x2a6b5c(_0x437322);
|
|
682
669
|
}
|
|
683
|
-
async function
|
|
684
|
-
const
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
const
|
|
690
|
-
'headers':
|
|
691
|
-
'method':
|
|
692
|
-
}),
|
|
693
|
-
'attachments': (
|
|
694
|
-
'filename':
|
|
695
|
-
'id':
|
|
670
|
+
async function _0x40290f(_0x4745ac) {
|
|
671
|
+
const _0x5942b9 = _0x18d4d9, _0x33b07b = Math[_0x5942b9(_0x20d569._0x450733)](_0x4745ac[_0x5942b9(0x228)] ?? 0x32, 0x64), _0x569e9e = await _0xf77908(), _0x13c2f3 = new URLSearchParams();
|
|
672
|
+
_0x13c2f3[_0x5942b9(0x1d9)](_0x5942b9(_0x20d569._0x3d2e10), String(_0x33b07b));
|
|
673
|
+
_0x4745ac[_0x5942b9(0x1dc)] ? (_0x13c2f3[_0x5942b9(0x1d9)](_0x5942b9(_0x20d569._0x35bd03), _0x4745ac[_0x5942b9(_0x20d569._0x35bd03)]), _0x13c2f3['set'](_0x5942b9(_0x20d569._0x44e3ee), _0x4745ac[_0x5942b9(0x173)])) : _0x13c2f3[_0x5942b9(0x1d9)](_0x5942b9(_0x20d569._0x44e3ee), _0x4745ac[_0x5942b9(0x173)]);
|
|
674
|
+
_0x4745ac[_0x5942b9(_0x20d569._0xa721bf)] && _0x13c2f3['set']('cursor', String(_0x4745ac['before']));
|
|
675
|
+
_0x4745ac[_0x5942b9(0x14e)] !== void 0x0 && _0x13c2f3['set'](_0x5942b9(0x14e), String(_0x4745ac['after']));
|
|
676
|
+
const _0x52af35 = await _0x4da1de('/internal/agent/' + _0x23c4c5['agentId'] + _0x5942b9(_0x20d569._0x4ae566) + _0x13c2f3[_0x5942b9(_0x20d569._0x511ede)](), {
|
|
677
|
+
'headers': _0x35d170,
|
|
678
|
+
'method': _0x5942b9(_0x20d569._0x217a60)
|
|
679
|
+
}), _0x4fcb09 = (_0x52af35[_0x5942b9(0x24a)] ?? [])['map'](_0x2af9ec => ({
|
|
680
|
+
'attachments': (_0x2af9ec['attachments'] ?? [])[_0x5942b9(0x182)](_0x29113e => ({
|
|
681
|
+
'filename': _0x29113e[_0x5942b9(0x237)] ?? _0x29113e['id'],
|
|
682
|
+
'id': _0x29113e['id']
|
|
696
683
|
})),
|
|
697
|
-
'content':
|
|
698
|
-
'createdAt':
|
|
699
|
-
...
|
|
700
|
-
'messageId':
|
|
701
|
-
'senderName':
|
|
702
|
-
'senderType':
|
|
703
|
-
'seq':
|
|
684
|
+
'content': _0x2af9ec[_0x5942b9(0x1b6)] ?? '',
|
|
685
|
+
'createdAt': _0x2af9ec[_0x5942b9(0x1f0)],
|
|
686
|
+
..._0x2af9ec[_0x5942b9(0x23a)] && _0x2af9ec['kind'] !== _0x5942b9(0x13f) ? { 'kind': _0x2af9ec[_0x5942b9(0x23a)] } : {},
|
|
687
|
+
'messageId': _0x2af9ec['id'],
|
|
688
|
+
'senderName': _0xce9ed8(_0x2af9ec[_0x5942b9(0x133)], _0x569e9e),
|
|
689
|
+
'senderType': _0x3d6587(_0x2af9ec['senderParticipantId'], _0x569e9e),
|
|
690
|
+
'seq': _0x2af9ec[_0x5942b9(0x1f8)] ?? 0x0
|
|
704
691
|
}));
|
|
705
692
|
return {
|
|
706
|
-
'channel':
|
|
707
|
-
'hasMore':
|
|
708
|
-
'messages':
|
|
709
|
-
'nextCursor':
|
|
693
|
+
'channel': _0x4745ac['channelTarget'],
|
|
694
|
+
'hasMore': _0x52af35['meta']?.[_0x5942b9(_0x20d569._0xdcf060)] ?? ![],
|
|
695
|
+
'messages': _0x4fcb09,
|
|
696
|
+
'nextCursor': _0x52af35['meta']?.[_0x5942b9(0xf5)]
|
|
710
697
|
};
|
|
711
698
|
}
|
|
712
699
|
return {
|
|
713
|
-
async 'sendMessage'(
|
|
714
|
-
const
|
|
715
|
-
'body': JSON[
|
|
716
|
-
'attachment_ids':
|
|
717
|
-
'bodyMarkdown':
|
|
718
|
-
'channelId':
|
|
719
|
-
...
|
|
720
|
-
'threadId':
|
|
721
|
-
...
|
|
700
|
+
async 'sendMessage'(_0x35cc8b) {
|
|
701
|
+
const _0x1339f6 = _0x18d4d9, _0x540274 = await _0x1fce9f(_0x35cc8b[_0x1339f6(_0x285286._0x4f3cf0)]), _0x2aa0e4 = _0x35cc8b['content']['includes']('@') ? extractMentionedParticipantIds(_0x35cc8b[_0x1339f6(_0x285286._0x1aecdd)], await _0xf77908()) : [], _0x57c368 = await _0x4da1de('/internal/agent/' + _0x23c4c5[_0x1339f6(0x19d)] + _0x1339f6(_0x285286._0x317389), {
|
|
702
|
+
'body': JSON[_0x1339f6(0x1ab)]({
|
|
703
|
+
'attachment_ids': _0x35cc8b['attachmentIds'],
|
|
704
|
+
'bodyMarkdown': _0x35cc8b[_0x1339f6(0x127)],
|
|
705
|
+
'channelId': _0x540274[_0x1339f6(0x173)],
|
|
706
|
+
..._0x2aa0e4[_0x1339f6(0x13b)] > 0x0 ? { 'mentionedParticipantIds': _0x2aa0e4 } : {},
|
|
707
|
+
'threadId': _0x540274[_0x1339f6(_0x285286._0x3bdde7)],
|
|
708
|
+
..._0x35cc8b[_0x1339f6(0x214)] ? { 'visibility': _0x35cc8b[_0x1339f6(0x214)] } : {}
|
|
722
709
|
}),
|
|
723
|
-
'headers':
|
|
724
|
-
'method':
|
|
710
|
+
'headers': _0x35d170,
|
|
711
|
+
'method': _0x1339f6(0x148)
|
|
725
712
|
});
|
|
726
|
-
return { 'messageId':
|
|
713
|
+
return { 'messageId': _0x57c368[_0x1339f6(0x24a)]?.['id'] ?? '' };
|
|
727
714
|
},
|
|
728
715
|
async 'listSchedules'() {
|
|
729
|
-
const
|
|
730
|
-
'headers':
|
|
731
|
-
'method':
|
|
716
|
+
const _0x15651d = _0x18d4d9, _0x46f40e = await _0x4da1de(_0x15651d(0x15d), {
|
|
717
|
+
'headers': _0x35d170,
|
|
718
|
+
'method': _0x15651d(0x1ea)
|
|
732
719
|
});
|
|
733
|
-
return
|
|
720
|
+
return _0x46f40e[_0x15651d(0x24a)] ?? [];
|
|
734
721
|
},
|
|
735
|
-
async 'claimScheduleRun'(
|
|
736
|
-
const
|
|
737
|
-
'body': JSON[
|
|
738
|
-
'headers':
|
|
739
|
-
'method':
|
|
722
|
+
async 'claimScheduleRun'(_0xb56b04) {
|
|
723
|
+
const _0x222cb = _0x18d4d9, _0x1a8b95 = await _0x4da1de(_0x222cb(_0x218cb8._0x2e89a2), {
|
|
724
|
+
'body': JSON[_0x222cb(0x1ab)](_0xb56b04),
|
|
725
|
+
'headers': _0x35d170,
|
|
726
|
+
'method': 'POST'
|
|
740
727
|
});
|
|
741
|
-
return
|
|
728
|
+
return _0x1a8b95[_0x222cb(0x24a)] ?? {
|
|
742
729
|
'granted': ![],
|
|
743
730
|
'runId': null,
|
|
744
731
|
'schedule': null,
|
|
745
|
-
'scheduledFor':
|
|
732
|
+
'scheduledFor': _0xb56b04['scheduledFor']
|
|
746
733
|
};
|
|
747
734
|
},
|
|
748
|
-
async 'startScheduleRun'(
|
|
749
|
-
const
|
|
750
|
-
'body': JSON[
|
|
751
|
-
'headers':
|
|
752
|
-
'method':
|
|
735
|
+
async 'startScheduleRun'(_0x5a2010) {
|
|
736
|
+
const _0x4a6837 = _0x18d4d9, _0x1ccc1f = await _0x4da1de('/api/internal/schedules/' + encodeURIComponent(_0x5a2010[_0x4a6837(0x126)]) + _0x4a6837(0xfb), {
|
|
737
|
+
'body': JSON[_0x4a6837(0x1ab)]({}),
|
|
738
|
+
'headers': _0x35d170,
|
|
739
|
+
'method': _0x4a6837(0x148)
|
|
753
740
|
});
|
|
754
|
-
return
|
|
741
|
+
return _0x1ccc1f[_0x4a6837(_0x179e25._0x524a7b)] ?? {
|
|
755
742
|
'claimedByDaemonId': '',
|
|
756
|
-
'id':
|
|
743
|
+
'id': _0x5a2010[_0x4a6837(0x126)],
|
|
757
744
|
'scheduleId': '',
|
|
758
|
-
'status':
|
|
745
|
+
'status': _0x4a6837(0x18c)
|
|
759
746
|
};
|
|
760
747
|
},
|
|
761
|
-
async 'finishScheduleRun'(
|
|
762
|
-
const
|
|
748
|
+
async 'finishScheduleRun'(_0x102630) {
|
|
749
|
+
const _0x91397e = _0x18d4d9, _0xe88eb4 = await _0x4da1de('/api/internal/schedules/' + encodeURIComponent(_0x102630[_0x91397e(_0x278b5d._0x3c5561)]) + _0x91397e(_0x278b5d._0x11b7ce), {
|
|
763
750
|
'body': JSON['stringify']({
|
|
764
|
-
'error':
|
|
765
|
-
'resultJson':
|
|
766
|
-
'status':
|
|
751
|
+
'error': _0x102630['error'],
|
|
752
|
+
'resultJson': _0x102630['resultJson'],
|
|
753
|
+
'status': _0x102630['status']
|
|
767
754
|
}),
|
|
768
|
-
'headers':
|
|
769
|
-
'method':
|
|
755
|
+
'headers': _0x35d170,
|
|
756
|
+
'method': 'POST'
|
|
770
757
|
});
|
|
771
|
-
return
|
|
758
|
+
return _0xe88eb4[_0x91397e(_0x278b5d._0x231f58)] ?? {
|
|
772
759
|
'nextRunAt': null,
|
|
773
760
|
'run': {
|
|
774
761
|
'claimedByDaemonId': '',
|
|
775
|
-
'id':
|
|
762
|
+
'id': _0x102630['runId'],
|
|
776
763
|
'scheduleId': '',
|
|
777
|
-
'status':
|
|
764
|
+
'status': _0x102630['status']
|
|
778
765
|
}
|
|
779
766
|
};
|
|
780
767
|
},
|
|
781
|
-
async 'listTasks'(
|
|
782
|
-
const
|
|
783
|
-
return
|
|
784
|
-
'headers':
|
|
785
|
-
'method':
|
|
768
|
+
async 'listTasks'(_0x466c86) {
|
|
769
|
+
const _0x3fc820 = _0x18d4d9, _0x28c1aa = new URLSearchParams();
|
|
770
|
+
return _0x28c1aa['set'](_0x3fc820(0x1ac), _0x466c86[_0x3fc820(_0x15ff05._0x4626a3)]), _0x466c86[_0x3fc820(_0x15ff05._0x55c063)] && _0x28c1aa[_0x3fc820(_0x15ff05._0x2d8818)]('status', _0x466c86[_0x3fc820(_0x15ff05._0x55c063)]), _0x145182(_0x3fc820(0x220) + _0x23c4c5[_0x3fc820(0x19d)] + _0x3fc820(0x1fc) + _0x28c1aa[_0x3fc820(0x17a)](), {
|
|
771
|
+
'headers': _0x35d170,
|
|
772
|
+
'method': 'GET'
|
|
786
773
|
});
|
|
787
774
|
},
|
|
788
|
-
async 'createTasks'(
|
|
789
|
-
const
|
|
790
|
-
return
|
|
791
|
-
'body': JSON[
|
|
792
|
-
...
|
|
793
|
-
'idempotency_key':
|
|
775
|
+
async 'createTasks'(_0x2fd5e8) {
|
|
776
|
+
const _0x45ac2b = _0x18d4d9;
|
|
777
|
+
return _0x145182('/internal/agent/' + _0x23c4c5[_0x45ac2b(0x19d)] + _0x45ac2b(_0x376c4c._0x1672f5), {
|
|
778
|
+
'body': JSON[_0x45ac2b(_0x376c4c._0x1bd090)]({
|
|
779
|
+
..._0x2fd5e8,
|
|
780
|
+
'idempotency_key': _0x5b5032(_0x45ac2b(0x246), _0x2fd5e8)
|
|
794
781
|
}),
|
|
795
|
-
'headers':
|
|
796
|
-
'method':
|
|
782
|
+
'headers': _0x35d170,
|
|
783
|
+
'method': _0x45ac2b(_0x376c4c._0x514d83)
|
|
797
784
|
});
|
|
798
785
|
},
|
|
799
|
-
async 'claimTasks'(
|
|
800
|
-
const
|
|
801
|
-
return
|
|
802
|
-
'body': JSON[
|
|
803
|
-
...
|
|
804
|
-
'idempotency_key':
|
|
786
|
+
async 'claimTasks'(_0x27114c) {
|
|
787
|
+
const _0x3937b2 = _0x18d4d9;
|
|
788
|
+
return _0x145182('/internal/agent/' + _0x23c4c5[_0x3937b2(_0x5cd9d0._0x4a59fb)] + _0x3937b2(_0x5cd9d0._0x3717aa), {
|
|
789
|
+
'body': JSON['stringify']({
|
|
790
|
+
..._0x27114c,
|
|
791
|
+
'idempotency_key': _0x5b5032('claim_tasks', _0x27114c)
|
|
805
792
|
}),
|
|
806
|
-
'headers':
|
|
807
|
-
'method':
|
|
793
|
+
'headers': _0x35d170,
|
|
794
|
+
'method': 'POST'
|
|
808
795
|
});
|
|
809
796
|
},
|
|
810
|
-
async 'unclaimTask'(
|
|
811
|
-
const
|
|
812
|
-
return
|
|
813
|
-
'body': JSON[
|
|
814
|
-
...
|
|
815
|
-
'idempotency_key':
|
|
797
|
+
async 'unclaimTask'(_0x24ed43) {
|
|
798
|
+
const _0x5f2971 = _0x18d4d9;
|
|
799
|
+
return _0x145182('/internal/agent/' + _0x23c4c5[_0x5f2971(_0xd4e2e0._0x3a2df8)] + '/tasks/unclaim', {
|
|
800
|
+
'body': JSON[_0x5f2971(_0xd4e2e0._0x3ee13d)]({
|
|
801
|
+
..._0x24ed43,
|
|
802
|
+
'idempotency_key': _0x5b5032(_0x5f2971(0x24f), _0x24ed43)
|
|
816
803
|
}),
|
|
817
|
-
'headers':
|
|
818
|
-
'method':
|
|
804
|
+
'headers': _0x35d170,
|
|
805
|
+
'method': _0x5f2971(0x148)
|
|
819
806
|
});
|
|
820
807
|
},
|
|
821
|
-
async 'updateTaskStatus'(
|
|
822
|
-
const
|
|
823
|
-
return
|
|
824
|
-
'body': JSON[
|
|
825
|
-
...
|
|
826
|
-
'idempotency_key':
|
|
808
|
+
async 'updateTaskStatus'(_0x2e5bcc) {
|
|
809
|
+
const _0x29e9ef = _0x18d4d9;
|
|
810
|
+
return _0x145182('/internal/agent/' + _0x23c4c5[_0x29e9ef(_0x1635ed._0x55c711)] + _0x29e9ef(_0x1635ed._0x42699e), {
|
|
811
|
+
'body': JSON[_0x29e9ef(_0x1635ed._0x1eaa2b)]({
|
|
812
|
+
..._0x2e5bcc,
|
|
813
|
+
'idempotency_key': _0x5b5032(_0x29e9ef(0x1e6), _0x2e5bcc)
|
|
827
814
|
}),
|
|
828
|
-
'headers':
|
|
829
|
-
'method':
|
|
815
|
+
'headers': _0x35d170,
|
|
816
|
+
'method': 'POST'
|
|
830
817
|
});
|
|
831
818
|
},
|
|
832
|
-
async 'uploadFile'(
|
|
833
|
-
const
|
|
834
|
-
if (
|
|
835
|
-
throw new Error(
|
|
836
|
-
const
|
|
837
|
-
'body': JSON[
|
|
838
|
-
'channel':
|
|
839
|
-
'contentBase64':
|
|
840
|
-
'contentType':
|
|
841
|
-
'originalFilename':
|
|
819
|
+
async 'uploadFile'(_0x176dc0) {
|
|
820
|
+
const _0x390f8c = _0x18d4d9, _0x434082 = await _0x1fce9f(_0x176dc0[_0x390f8c(0x1ac)]);
|
|
821
|
+
if (_0x434082[_0x390f8c(_0x4a70d4._0x2e8c73)])
|
|
822
|
+
throw new Error('upload_file\x20only\x20supports\x20channel\x20or\x20DM\x20targets,\x20not\x20thread\x20targets');
|
|
823
|
+
const _0x33d96c = await _0x4da1de(_0x390f8c(_0x4a70d4._0x2b2a87) + _0x23c4c5['agentId'] + _0x390f8c(_0x4a70d4._0x1cf627), {
|
|
824
|
+
'body': JSON['stringify']({
|
|
825
|
+
'channel': _0x434082[_0x390f8c(0x123)],
|
|
826
|
+
'contentBase64': _0x176dc0[_0x390f8c(_0x4a70d4._0x3e71e8)],
|
|
827
|
+
'contentType': _0x176dc0[_0x390f8c(0x1b1)],
|
|
828
|
+
'originalFilename': _0x176dc0[_0x390f8c(_0x4a70d4._0x4dcc66)]
|
|
842
829
|
}),
|
|
843
|
-
'headers':
|
|
844
|
-
'method':
|
|
830
|
+
'headers': _0x35d170,
|
|
831
|
+
'method': _0x390f8c(_0x4a70d4._0xb26fe9)
|
|
845
832
|
});
|
|
846
833
|
return {
|
|
847
|
-
'attachmentId':
|
|
848
|
-
'filename':
|
|
849
|
-
'sizeBytes':
|
|
834
|
+
'attachmentId': _0x33d96c[_0x390f8c(_0x4a70d4._0x4d0f1f)]?.['id'] ?? '',
|
|
835
|
+
'filename': _0x33d96c[_0x390f8c(0x24a)]?.['originalFilename'] ?? _0x176dc0[_0x390f8c(0x237)],
|
|
836
|
+
'sizeBytes': _0x33d96c[_0x390f8c(_0x4a70d4._0x4d0f1f)]?.[_0x390f8c(0x256)] ?? 0x0
|
|
850
837
|
};
|
|
851
838
|
},
|
|
852
|
-
async 'downloadAttachment'(
|
|
853
|
-
const
|
|
854
|
-
'headers':
|
|
855
|
-
'method':
|
|
856
|
-
}),
|
|
839
|
+
async 'downloadAttachment'(_0x14f135) {
|
|
840
|
+
const _0x1a35be = _0x18d4d9, _0x305620 = await _0x4da1de('/api/attachments/' + _0x14f135, {
|
|
841
|
+
'headers': _0x35d170,
|
|
842
|
+
'method': _0x1a35be(0x1ea)
|
|
843
|
+
}), _0xe9d863 = new AbortController(), _0x340dcc = setTimeout(() => _0xe9d863[_0x1a35be(0x1f7)](), _0x52a517);
|
|
857
844
|
try {
|
|
858
|
-
const
|
|
859
|
-
'headers':
|
|
860
|
-
'method':
|
|
861
|
-
'signal':
|
|
845
|
+
const _0x5786bf = await _0x31a1dd(_0x206b2d + _0x1a35be(_0x225e59._0xdfaea9) + _0x14f135 + _0x1a35be(_0x225e59._0x20d970), {
|
|
846
|
+
'headers': _0x35d170,
|
|
847
|
+
'method': _0x1a35be(_0x225e59._0x33e866),
|
|
848
|
+
'signal': _0xe9d863[_0x1a35be(0x20b)]
|
|
862
849
|
});
|
|
863
|
-
if (!
|
|
864
|
-
throw new Error(
|
|
850
|
+
if (!_0x5786bf['ok'])
|
|
851
|
+
throw new Error(_0x1a35be(_0x225e59._0x267fbb) + _0x5786bf['status']);
|
|
865
852
|
return {
|
|
866
|
-
'contentType':
|
|
867
|
-
'data': Buffer[
|
|
868
|
-
'originalFilename':
|
|
853
|
+
'contentType': _0x305620[_0x1a35be(_0x225e59._0x26abdc)]?.[_0x1a35be(_0x225e59._0x4f49c6)] ?? _0x5786bf['headers'][_0x1a35be(0x149)]('content-type') ?? _0x1a35be(_0x225e59._0x2b3d98),
|
|
854
|
+
'data': Buffer[_0x1a35be(0x1a2)](await _0x5786bf[_0x1a35be(0x194)]()),
|
|
855
|
+
'originalFilename': _0x305620[_0x1a35be(0x24a)]?.[_0x1a35be(0x1e9)]
|
|
869
856
|
};
|
|
870
857
|
} finally {
|
|
871
|
-
clearTimeout(
|
|
858
|
+
clearTimeout(_0x340dcc);
|
|
872
859
|
}
|
|
873
860
|
},
|
|
874
861
|
async 'listServer'() {
|
|
875
|
-
return
|
|
862
|
+
return _0xf77908({ 'forceRefresh': !![] });
|
|
876
863
|
},
|
|
877
864
|
async 'getLatestEventSeq'() {
|
|
878
|
-
const
|
|
879
|
-
|
|
880
|
-
const
|
|
881
|
-
'headers':
|
|
882
|
-
'method':
|
|
883
|
-
}),
|
|
884
|
-
return typeof
|
|
865
|
+
const _0x513cb1 = _0x18d4d9, _0x427b19 = new URLSearchParams();
|
|
866
|
+
_0x427b19['set']('afterSeq', '0'), _0x427b19[_0x513cb1(0x1d9)]('limit', '1');
|
|
867
|
+
const _0x1ab55d = await _0x4da1de(_0x513cb1(0x220) + _0x23c4c5['agentId'] + '/receive?' + _0x427b19[_0x513cb1(_0x540134._0xc4ffdc)](), {
|
|
868
|
+
'headers': _0x35d170,
|
|
869
|
+
'method': _0x513cb1(_0x540134._0x3176ea)
|
|
870
|
+
}), _0x890be6 = _0x1ab55d[_0x513cb1(_0x540134._0xb389bf)]?.['latestSeq'];
|
|
871
|
+
return typeof _0x890be6 === 'number' && _0x890be6 > 0x0 ? _0x890be6 : 0x0;
|
|
885
872
|
},
|
|
886
|
-
async 'readHistory'(
|
|
887
|
-
const
|
|
888
|
-
return
|
|
889
|
-
'after':
|
|
890
|
-
'before':
|
|
891
|
-
'channelId':
|
|
892
|
-
'channelTarget':
|
|
893
|
-
'limit':
|
|
894
|
-
'threadId':
|
|
873
|
+
async 'readHistory'(_0x520f3c) {
|
|
874
|
+
const _0x45eac6 = _0x18d4d9, _0xc312c0 = await _0x1fce9f(_0x520f3c['channel']);
|
|
875
|
+
return _0x40290f({
|
|
876
|
+
'after': _0x520f3c['after'],
|
|
877
|
+
'before': _0x520f3c['before'],
|
|
878
|
+
'channelId': _0xc312c0[_0x45eac6(0x173)],
|
|
879
|
+
'channelTarget': _0xc312c0[_0x45eac6(_0x36e1d7._0x3e2961)],
|
|
880
|
+
'limit': _0x520f3c['limit'],
|
|
881
|
+
'threadId': _0xc312c0[_0x45eac6(0x1dc)]
|
|
895
882
|
});
|
|
896
883
|
},
|
|
897
|
-
'resolveTarget':
|
|
884
|
+
'resolveTarget': _0x1fce9f,
|
|
898
885
|
async 'checkMessages'() {
|
|
899
|
-
const
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
}), _0x337ce7 = _0x2b826f[_0xdcb3e1(_0x3e0a30._0x53154e)] ?? [], _0x5c78a4 = _0x2b826f[_0xdcb3e1(0x20d)]?.[_0xdcb3e1(0x255)], _0x398634 = _0x1d06a1 ? _0x337ce7[_0xdcb3e1(0x2de)](_0x5a8c4a => {
|
|
908
|
-
const _0x1562f8 = _0xdcb3e1;
|
|
909
|
-
if (_0x5a8c4a['aggregateType'] !== _0x1562f8(_0x43071d._0x58eb64))
|
|
886
|
+
const _0xf7dcdc = { _0x35f818: 0x1a7 }, _0x43971f = _0x18d4d9, _0x555021 = new URLSearchParams();
|
|
887
|
+
_0x555021[_0x43971f(0x1d9)](_0x43971f(0x111), String(_0x4d1bf5));
|
|
888
|
+
const _0x395d56 = _0x555021[_0x43971f(0x17a)](), _0x63cde3 = await _0x4da1de(_0x43971f(0x220) + _0x23c4c5['agentId'] + '/receive' + (_0x395d56 ? '?' + _0x395d56 : ''), {
|
|
889
|
+
'headers': _0x35d170,
|
|
890
|
+
'method': _0x43971f(_0x4d7552._0x4f6e12)
|
|
891
|
+
}), _0x39d36e = _0x63cde3[_0x43971f(0x24a)] ?? [], _0x573bb5 = _0x63cde3[_0x43971f(0x1cc)]?.[_0x43971f(_0x4d7552._0x37d69e)], _0x280873 = _0x2abba7 ? _0x39d36e[_0x43971f(_0x4d7552._0x17f38a)](_0x5ca136 => {
|
|
892
|
+
const _0x38ba34 = _0x43971f;
|
|
893
|
+
if (_0x5ca136[_0x38ba34(0x12f)] !== _0x38ba34(0x174))
|
|
910
894
|
return ![];
|
|
911
|
-
return
|
|
912
|
-
}) :
|
|
913
|
-
let
|
|
914
|
-
|
|
915
|
-
|
|
895
|
+
return _0x3c4aef(_0x2abba7, asRecord(_0x5ca136[_0x38ba34(_0x5e5561._0x3becba)]));
|
|
896
|
+
}) : _0x39d36e, _0x4cdac1 = _0x573bb5 !== void 0x0 ? _0x2abba7 ? Math[_0x43971f(_0x4d7552._0x2411bb)](_0x4d1bf5, _0x280873['length'] > 0x0 ? _0x280873[_0x280873[_0x43971f(_0x4d7552._0x3404eb)] - 0x1][_0x43971f(_0x4d7552._0x1c4bd8)] : _0x4d1bf5) : Math[_0x43971f(_0x4d7552._0x328426)](_0x4d1bf5, _0x573bb5) : _0x280873[_0x43971f(_0x4d7552._0x34ed8a)] > 0x0 ? Math[_0x43971f(_0x4d7552._0x328426)](_0x4d1bf5, _0x280873[_0x280873[_0x43971f(0x13b)] - 0x1][_0x43971f(_0x4d7552._0x260fcf)]) : _0x4d1bf5, _0x5d659f = (_0x2abba7 ? _0x280873 : _0x39d36e)[_0x43971f(0x188)](_0x293813 => _0x293813['aggregateType'] === 'message');
|
|
897
|
+
let _0x5445a2 = await _0xf77908(), _0x2cce68 = new Map(_0x5445a2[_0x43971f(0x235)][_0x43971f(_0x4d7552._0x15436c)](_0x4a0ce4 => [
|
|
898
|
+
_0x4a0ce4['id'],
|
|
899
|
+
_0x4a0ce4
|
|
916
900
|
]));
|
|
917
|
-
const
|
|
918
|
-
const
|
|
919
|
-
return Boolean(
|
|
901
|
+
const _0x403ee1 = _0x5d659f['some'](_0x550912 => {
|
|
902
|
+
const _0x426c29 = _0x43971f, _0x47802d = asRecord(_0x550912[_0x426c29(_0xf7dcdc._0x35f818)]), _0x57cb14 = typeof _0x47802d?.[_0x426c29(0x173)] === 'string' ? _0x47802d[_0x426c29(0x173)] : '';
|
|
903
|
+
return Boolean(_0x57cb14) && !_0x2cce68[_0x426c29(0x115)](_0x57cb14);
|
|
920
904
|
});
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
905
|
+
_0x403ee1 && (_0x5445a2 = await _0xf77908({ 'forceRefresh': !![] }), _0x2cce68 = new Map(_0x5445a2[_0x43971f(_0x4d7552._0x7ebb75)][_0x43971f(0x182)](_0x2eb73e => [
|
|
906
|
+
_0x2eb73e['id'],
|
|
907
|
+
_0x2eb73e
|
|
924
908
|
])));
|
|
925
|
-
const
|
|
926
|
-
for (const
|
|
927
|
-
const
|
|
928
|
-
if (!
|
|
909
|
+
const _0xbf3df3 = new Map();
|
|
910
|
+
for (const _0x3f6667 of _0x5d659f) {
|
|
911
|
+
const _0x458efa = asRecord(_0x3f6667[_0x43971f(_0x4d7552._0xcece1f)]), _0x541932 = typeof _0x458efa[_0x43971f(_0x4d7552._0x1ad25c)] === 'string' ? _0x458efa[_0x43971f(0x173)] : '';
|
|
912
|
+
if (!_0x541932)
|
|
929
913
|
continue;
|
|
930
|
-
const
|
|
914
|
+
const _0x19a3ed = typeof _0x458efa[_0x43971f(_0x4d7552._0x1043db)] === _0x43971f(0x222) ? _0x458efa[_0x43971f(_0x4d7552._0x2fc08a)] : void 0x0, _0x2ccdb9 = typeof _0x458efa[_0x43971f(_0x4d7552._0x480ae7)] === 'string' ? _0x458efa[_0x43971f(0x125)] : void 0x0, _0x832448 = typeof _0x458efa['threadNumber'] === 'number' && Number[_0x43971f(_0x4d7552._0x44f6ac)](_0x458efa[_0x43971f(_0x4d7552._0x302491)]) ? _0x458efa[_0x43971f(0x21a)] : void 0x0, _0x134c7d = Boolean(_0x19a3ed && (!_0x2ccdb9 || _0x3f6667[_0x43971f(_0x4d7552._0x138981)] !== _0x2ccdb9)), _0x159b46 = _0x134c7d ? _0x541932 + ':' + _0x19a3ed : _0x541932, _0x3fb1ba = _0xbf3df3[_0x43971f(_0x4d7552._0x24a052)](_0x159b46) ?? {
|
|
931
915
|
'aggregateIds': [],
|
|
932
|
-
'channelId':
|
|
916
|
+
'channelId': _0x541932,
|
|
933
917
|
'entries': new Map(),
|
|
934
|
-
'isThreadReply':
|
|
935
|
-
'rootMessageId':
|
|
936
|
-
'threadNumber':
|
|
937
|
-
'threadId':
|
|
918
|
+
'isThreadReply': _0x134c7d,
|
|
919
|
+
'rootMessageId': _0x2ccdb9,
|
|
920
|
+
'threadNumber': _0x832448,
|
|
921
|
+
'threadId': _0x134c7d ? _0x19a3ed : void 0x0
|
|
938
922
|
};
|
|
939
|
-
|
|
940
|
-
'payloadJson':
|
|
941
|
-
'seq':
|
|
942
|
-
}),
|
|
923
|
+
_0x3fb1ba[_0x43971f(_0x4d7552._0x302491)] == null && _0x832448 != null && (_0x3fb1ba[_0x43971f(0x21a)] = _0x832448), !_0x3fb1ba[_0x43971f(0x125)] && _0x2ccdb9 && (_0x3fb1ba[_0x43971f(_0x4d7552._0x480ae7)] = _0x2ccdb9), _0x3fb1ba[_0x43971f(0x183)][_0x43971f(0xf8)](_0x3f6667[_0x43971f(0x247)]), _0x3fb1ba[_0x43971f(_0x4d7552._0x5f3e5c)]['set'](_0x3f6667[_0x43971f(_0x4d7552._0x2f45b3)], {
|
|
924
|
+
'payloadJson': _0x3f6667['payloadJson'],
|
|
925
|
+
'seq': _0x3f6667['seq']
|
|
926
|
+
}), _0xbf3df3[_0x43971f(0x1d9)](_0x159b46, _0x3fb1ba);
|
|
943
927
|
}
|
|
944
|
-
const
|
|
945
|
-
for (const
|
|
928
|
+
const _0x226714 = [];
|
|
929
|
+
for (const _0x56ebbd of _0xbf3df3[_0x43971f(_0x4d7552._0x36f8b0)]()) {
|
|
946
930
|
const {
|
|
947
|
-
channelId:
|
|
948
|
-
threadId:
|
|
949
|
-
rootMessageId:
|
|
950
|
-
threadNumber:
|
|
951
|
-
aggregateIds:
|
|
952
|
-
isThreadReply:
|
|
953
|
-
entries:
|
|
954
|
-
} =
|
|
955
|
-
'channelTarget':
|
|
956
|
-
'rootMessageId':
|
|
957
|
-
'threadId':
|
|
958
|
-
'threadNumber':
|
|
959
|
-
},
|
|
960
|
-
'channelId':
|
|
961
|
-
'channelTarget':
|
|
962
|
-
'limit': Math[
|
|
963
|
-
'threadId':
|
|
964
|
-
}),
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
])),
|
|
968
|
-
for (const
|
|
969
|
-
if (!
|
|
931
|
+
channelId: _0x36304c,
|
|
932
|
+
threadId: _0x387ea1,
|
|
933
|
+
rootMessageId: _0x53aaaa,
|
|
934
|
+
threadNumber: _0x30bcae,
|
|
935
|
+
aggregateIds: _0x37b719,
|
|
936
|
+
isThreadReply: _0x12aa21,
|
|
937
|
+
entries: _0x133b3f
|
|
938
|
+
} = _0x56ebbd, _0x26fbc3 = _0x2cce68['get'](_0x36304c), _0x15f58f = _0x26fbc3?.[_0x43971f(_0x4d7552._0x251160)] ?? _0x36304c, _0xdc5d63 = _0x26fbc3?.[_0x43971f(_0x4d7552._0x6c3b28)] === 'dm' ? 'dm:' + _0x15f58f : '#' + _0x15f58f, _0x60510 = {
|
|
939
|
+
'channelTarget': _0xdc5d63,
|
|
940
|
+
'rootMessageId': _0x53aaaa,
|
|
941
|
+
'threadId': _0x387ea1,
|
|
942
|
+
'threadNumber': _0x30bcae
|
|
943
|
+
}, _0x15abfe = await _0x40290f({
|
|
944
|
+
'channelId': _0x36304c,
|
|
945
|
+
'channelTarget': _0xdc5d63,
|
|
946
|
+
'limit': Math[_0x43971f(_0x4d7552._0x2bf453)](_0x37b719[_0x43971f(0x13b)], 0x32),
|
|
947
|
+
'threadId': _0x387ea1
|
|
948
|
+
}), _0x18d76e = new Map(_0x15abfe[_0x43971f(0x20e)][_0x43971f(_0x4d7552._0x15436c)](_0x482454 => [
|
|
949
|
+
_0x482454[_0x43971f(0x106)],
|
|
950
|
+
_0x482454
|
|
951
|
+
])), _0x2625b4 = _0x387ea1 ? _0x21c9a1(_0x60510) : _0xdc5d63, _0x52e577 = _0x2abba7 ? _0x12aa21 && _0x27f662(_0x2abba7, _0x60510) : !![], _0x2533bd = _0x12aa21 ? _0x52e577 && _0x2abba7 ? _0x2abba7 : _0x2625b4 : _0xdc5d63;
|
|
952
|
+
for (const _0x294ee1 of _0x37b719) {
|
|
953
|
+
if (!_0x52e577)
|
|
970
954
|
continue;
|
|
971
|
-
const
|
|
972
|
-
if (
|
|
973
|
-
|
|
974
|
-
'attachments':
|
|
975
|
-
'content':
|
|
976
|
-
'createdAt':
|
|
977
|
-
...
|
|
978
|
-
'messageId':
|
|
979
|
-
'senderName':
|
|
980
|
-
'senderType':
|
|
981
|
-
'target':
|
|
982
|
-
...
|
|
955
|
+
const _0x452bc8 = _0x133b3f['get'](_0x294ee1), _0x16eb8c = _0x452bc8 ? asRecord(_0x452bc8[_0x43971f(_0x4d7552._0x34035a)]) : void 0x0, _0x446652 = _0x16eb8c?.[_0x43971f(_0x4d7552._0x361344)] === 'targeted', _0x22c454 = _0x18d76e[_0x43971f(_0x4d7552._0x24a052)](_0x294ee1);
|
|
956
|
+
if (_0x22c454) {
|
|
957
|
+
_0x226714[_0x43971f(_0x4d7552._0x3b2f49)]({
|
|
958
|
+
'attachments': _0x22c454[_0x43971f(_0x4d7552._0x2ba6f6)],
|
|
959
|
+
'content': _0x22c454[_0x43971f(0x127)],
|
|
960
|
+
'createdAt': _0x22c454['createdAt'],
|
|
961
|
+
..._0x22c454[_0x43971f(0x23a)] ? { 'kind': _0x22c454[_0x43971f(0x23a)] } : {},
|
|
962
|
+
'messageId': _0x22c454[_0x43971f(0x106)],
|
|
963
|
+
'senderName': _0x22c454[_0x43971f(_0x4d7552._0x35a8d6)],
|
|
964
|
+
'senderType': _0x22c454[_0x43971f(0x1e0)],
|
|
965
|
+
'target': _0x2533bd,
|
|
966
|
+
..._0x446652 ? { 'targetedTask': !![] } : {}
|
|
983
967
|
});
|
|
984
968
|
continue;
|
|
985
969
|
}
|
|
986
|
-
if (
|
|
987
|
-
const
|
|
988
|
-
|
|
970
|
+
if (_0x452bc8) {
|
|
971
|
+
const _0x51cd7c = typeof _0x16eb8c?.[_0x43971f(0x133)] === _0x43971f(_0x4d7552._0x5ab6a2) ? _0x16eb8c['senderParticipantId'] : '', _0x25d2b7 = typeof _0x16eb8c?.[_0x43971f(0x1b6)] === 'string' ? _0x16eb8c[_0x43971f(_0x4d7552._0x102e1c)] : '', _0x270f2e = typeof _0x16eb8c?.[_0x43971f(0x23a)] === _0x43971f(0x222) && _0x16eb8c[_0x43971f(_0x4d7552._0x324622)] !== 'chat' ? _0x16eb8c[_0x43971f(0x23a)] : void 0x0;
|
|
972
|
+
_0x51cd7c && _0x25d2b7 && _0x226714[_0x43971f(_0x4d7552._0x537287)]({
|
|
989
973
|
'attachments': [],
|
|
990
|
-
'content':
|
|
991
|
-
'createdAt': new Date()[
|
|
992
|
-
...
|
|
993
|
-
'messageId':
|
|
994
|
-
'senderName':
|
|
995
|
-
'senderType':
|
|
996
|
-
'target':
|
|
997
|
-
...
|
|
974
|
+
'content': _0x25d2b7,
|
|
975
|
+
'createdAt': new Date()[_0x43971f(_0x4d7552._0x1c0f92)](),
|
|
976
|
+
..._0x270f2e ? { 'kind': _0x270f2e } : {},
|
|
977
|
+
'messageId': _0x294ee1,
|
|
978
|
+
'senderName': _0xce9ed8(_0x51cd7c, _0x5445a2),
|
|
979
|
+
'senderType': _0x3d6587(_0x51cd7c, _0x5445a2),
|
|
980
|
+
'target': _0x2533bd,
|
|
981
|
+
..._0x446652 ? { 'targetedTask': !![] } : {}
|
|
998
982
|
});
|
|
999
983
|
}
|
|
1000
984
|
}
|
|
1001
985
|
}
|
|
1002
|
-
if (
|
|
1003
|
-
if (
|
|
1004
|
-
await
|
|
986
|
+
if (_0x4cdac1 > 0x0) {
|
|
987
|
+
if (_0x19c708)
|
|
988
|
+
await _0x806ef2(_0x4cdac1);
|
|
1005
989
|
else
|
|
1006
|
-
|
|
990
|
+
_0x32317c && await _0x405553(_0x4cdac1);
|
|
1007
991
|
}
|
|
1008
|
-
return
|
|
992
|
+
return _0x4cdac1 > _0x4d1bf5 && (_0x4d1bf5 = _0x4cdac1), { 'messages': _0x226714 };
|
|
1009
993
|
}
|
|
1010
994
|
};
|
|
1011
995
|
}
|
|
1012
|
-
function
|
|
1013
|
-
const
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
'
|
|
1027
|
-
|
|
1028
|
-
|
|
996
|
+
function toLocalTime(_0x4a7f13) {
|
|
997
|
+
const _0x33cc08 = {
|
|
998
|
+
_0x523cce: 0x1db,
|
|
999
|
+
_0x18f2de: 0xeb,
|
|
1000
|
+
_0x28eb93: 0xdc
|
|
1001
|
+
}, _0x4555a1 = _0x3b2449, _0x1af1d9 = new Date(_0x4a7f13);
|
|
1002
|
+
if (Number['isNaN'](_0x1af1d9['getTime']()))
|
|
1003
|
+
return _0x4a7f13;
|
|
1004
|
+
const _0x16755a = _0x55472a => String(_0x55472a)[_0x4555a1(0x155)](0x2, '0');
|
|
1005
|
+
return _0x1af1d9[_0x4555a1(_0x33cc08._0x523cce)]() + '-' + _0x16755a(_0x1af1d9[_0x4555a1(0xfd)]() + 0x1) + '-' + _0x16755a(_0x1af1d9['getDate']()) + '\x20' + _0x16755a(_0x1af1d9[_0x4555a1(_0x33cc08._0x18f2de)]()) + ':' + _0x16755a(_0x1af1d9[_0x4555a1(0x242)]()) + ':' + _0x16755a(_0x1af1d9[_0x4555a1(_0x33cc08._0x28eb93)]());
|
|
1006
|
+
}
|
|
1007
|
+
function formatAttachmentSuffix(_0x44e5aa) {
|
|
1008
|
+
const _0x1f1876 = { _0x1a84cc: 0x182 }, _0x5ab09e = _0x3b2449;
|
|
1009
|
+
if (!_0x44e5aa || _0x44e5aa[_0x5ab09e(0x13b)] === 0x0)
|
|
1010
|
+
return '';
|
|
1011
|
+
return '\x20[' + _0x44e5aa['length'] + _0x5ab09e(0x1be) + (_0x44e5aa['length'] > 0x1 ? 's' : '') + ':\x20' + _0x44e5aa[_0x5ab09e(_0x1f1876._0x1a84cc)](_0x3cf97b => _0x3cf97b['filename'] + _0x5ab09e(0x1d1) + _0x3cf97b['id'] + ')')[_0x5ab09e(0x14f)](',\x20') + '\x20—\x20use\x20view_file\x20to\x20see]';
|
|
1012
|
+
}
|
|
1013
|
+
function formatCheckMessages(_0x1b86d7) {
|
|
1014
|
+
const _0x139661 = { _0x3dcd61: 0x182 }, _0xdb7d54 = {
|
|
1015
|
+
_0x2646d0: 0x1e0,
|
|
1016
|
+
_0x43db33: 0x1cb,
|
|
1017
|
+
_0x524291: 0x23a,
|
|
1018
|
+
_0x1593fc: 0x23a,
|
|
1019
|
+
_0x4c753e: 0x161,
|
|
1020
|
+
_0x3a1959: 0x123,
|
|
1021
|
+
_0x2abb54: 0x168,
|
|
1022
|
+
_0x1f2bd2: 0x106,
|
|
1023
|
+
_0x17606e: 0x1f0,
|
|
1024
|
+
_0x359f78: 0x1af
|
|
1025
|
+
}, _0x543818 = _0x3b2449;
|
|
1026
|
+
if (_0x1b86d7[_0x543818(0x13b)] === 0x0)
|
|
1027
|
+
return 'No\x20new\x20messages.';
|
|
1028
|
+
return _0x1b86d7[_0x543818(_0x139661._0x3dcd61)](_0x5c6479 => {
|
|
1029
|
+
const _0x8ae246 = _0x543818, _0x47d4de = _0x5c6479[_0x8ae246(_0xdb7d54._0x2646d0)] === 'agent' ? _0x8ae246(_0xdb7d54._0x43db33) : '', _0x443d4b = _0x5c6479[_0x8ae246(_0xdb7d54._0x524291)] && _0x5c6479[_0x8ae246(_0xdb7d54._0x1593fc)] !== _0x8ae246(0x13f) ? _0x8ae246(0x160) + _0x5c6479[_0x8ae246(0x23a)] : '';
|
|
1030
|
+
return _0x8ae246(_0xdb7d54._0x4c753e) + _0x5c6479[_0x8ae246(_0xdb7d54._0x3a1959)] + _0x8ae246(_0xdb7d54._0x2abb54) + _0x5c6479[_0x8ae246(_0xdb7d54._0x1f2bd2)]['slice'](0x0, 0x8) + _0x8ae246(0x143) + toLocalTime(_0x5c6479[_0x8ae246(_0xdb7d54._0x17606e)]) + _0x47d4de + _0x443d4b + _0x8ae246(_0xdb7d54._0x359f78) + _0x5c6479['senderName'] + ':\x20' + _0x5c6479[_0x8ae246(0x127)] + formatAttachmentSuffix(_0x5c6479['attachments']);
|
|
1031
|
+
})[_0x543818(0x14f)]('\x0a');
|
|
1032
|
+
}
|
|
1033
|
+
function formatHistory(_0x38b7b4) {
|
|
1034
|
+
const _0x3cb90c = {
|
|
1035
|
+
_0x571dff: 0x20e,
|
|
1036
|
+
_0x61b3b6: 0x182,
|
|
1037
|
+
_0x434020: 0x249,
|
|
1038
|
+
_0x260cce: 0x15c,
|
|
1039
|
+
_0x1aef05: 0x249,
|
|
1040
|
+
_0x1a2aea: 0x166
|
|
1041
|
+
}, _0x430e89 = {
|
|
1042
|
+
_0x37ff2d: 0x23a,
|
|
1043
|
+
_0x5912f9: 0x23a,
|
|
1044
|
+
_0x280bd0: 0x1a4,
|
|
1045
|
+
_0x5656a0: 0x1f0,
|
|
1046
|
+
_0x5e9e85: 0x1af,
|
|
1047
|
+
_0x5531f4: 0x19f,
|
|
1048
|
+
_0x39b802: 0x24c
|
|
1049
|
+
}, _0x349ce9 = _0x3b2449;
|
|
1050
|
+
if (_0x38b7b4[_0x349ce9(0x20e)][_0x349ce9(0x13b)] === 0x0)
|
|
1051
|
+
return '##\x20Message\x20History\x20for\x20' + _0x38b7b4[_0x349ce9(0x1ac)] + _0x349ce9(0x171);
|
|
1052
|
+
const _0x582038 = _0x38b7b4[_0x349ce9(_0x3cb90c._0x571dff)][_0x349ce9(_0x3cb90c._0x61b3b6)](_0x2255fa => {
|
|
1053
|
+
const _0x4f1b9f = _0x349ce9, _0x56f710 = _0x2255fa[_0x4f1b9f(0x1e0)] === 'agent' ? '\x20type=agent' : '', _0x13c925 = _0x2255fa[_0x4f1b9f(_0x430e89._0x37ff2d)] && _0x2255fa[_0x4f1b9f(_0x430e89._0x5912f9)] !== _0x4f1b9f(0x13f) ? _0x4f1b9f(0x160) + _0x2255fa['kind'] : '';
|
|
1054
|
+
return _0x4f1b9f(_0x430e89._0x280bd0) + _0x2255fa['seq'] + _0x4f1b9f(0x168) + _0x2255fa[_0x4f1b9f(0x106)] + _0x4f1b9f(0x143) + toLocalTime(_0x2255fa[_0x4f1b9f(_0x430e89._0x5656a0)]) + _0x56f710 + _0x13c925 + _0x4f1b9f(_0x430e89._0x5e9e85) + _0x2255fa[_0x4f1b9f(_0x430e89._0x5531f4)] + ':\x20' + _0x2255fa[_0x4f1b9f(0x127)] + formatAttachmentSuffix(_0x2255fa[_0x4f1b9f(_0x430e89._0x39b802)]);
|
|
1055
|
+
})['join']('\x0a'), _0x18a61b = _0x38b7b4[_0x349ce9(0x1ad)] && _0x38b7b4[_0x349ce9(_0x3cb90c._0x434020)] ? _0x349ce9(0x135) + _0x38b7b4[_0x349ce9(0x20e)]['length'] + _0x349ce9(_0x3cb90c._0x260cce) + _0x38b7b4[_0x349ce9(_0x3cb90c._0x1aef05)] + '\x20to\x20load\x20older\x20messages.\x20---' : '';
|
|
1056
|
+
return _0x349ce9(_0x3cb90c._0x1a2aea) + _0x38b7b4[_0x349ce9(0x1ac)] + '\x20(' + _0x38b7b4[_0x349ce9(0x20e)]['length'] + '\x20messages)\x0a\x0a' + _0x582038 + _0x18a61b;
|
|
1057
|
+
}
|
|
1058
|
+
function _0x56dc() {
|
|
1059
|
+
const _0x27543e = [
|
|
1060
|
+
'y2HHDa',
|
|
1061
|
+
'C2vUze1LC3nHz2u',
|
|
1062
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVC3rKAw8UANm',
|
|
1063
|
+
'DxbSB2fKx2zPBgu',
|
|
1064
|
+
'ihrPBwu9',
|
|
1065
|
+
'igfZC2LNBMvLpua',
|
|
1029
1066
|
'yxjNDG',
|
|
1030
|
-
'
|
|
1031
|
-
'
|
|
1032
|
-
'
|
|
1033
|
-
'
|
|
1034
|
-
'
|
|
1035
|
-
'
|
|
1036
|
-
'nZq0mJi2nKnXtKvnCa',
|
|
1037
|
-
'Axnoyu4',
|
|
1038
|
-
'CgfYDgLJAxbHBNrjza',
|
|
1067
|
+
'DgfZA051BwjLCG',
|
|
1068
|
+
'vgfZAZOG',
|
|
1069
|
+
'ue9tva',
|
|
1070
|
+
'z2v0',
|
|
1071
|
+
'nZGWmJe4qLjsugjz',
|
|
1072
|
+
'iokaLca',
|
|
1039
1073
|
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
1040
|
-
'
|
|
1041
|
-
'
|
|
1042
|
-
'
|
|
1074
|
+
'zg93BMXVywrbDhrHy2HTzw50',
|
|
1075
|
+
'ywz0zxi',
|
|
1076
|
+
'AM9PBG',
|
|
1077
|
+
'CgfYDgLJAxbHBNrjza',
|
|
1078
|
+
'lsaJ',
|
|
1043
1079
|
'C2vUzf9TzxnZywDL',
|
|
1044
|
-
'
|
|
1045
|
-
'ls1Zzxj2zxiTDxjS',
|
|
1046
|
-
'tM8GDgfZA3mGy3jLyxrLzc4',
|
|
1047
|
-
'zgvZDhjVEwvK',
|
|
1048
|
-
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
1049
|
-
'u2vUzcbHig1LC3nHz2uUieLMihzPC2LIAwXPDhKGAxmGB21PDhrLzcWGDgHLig1LC3nHz2uGAxmGChvIBgLJlIbjBIb0yxnRihrOCMvHzhmSihnLDcb2AxnPyMLSAxr5oIbHC2LKzsbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Gt3v0C2LKzsb0AhjLywrZlcbKBYbUB3qGC2v0ihzPC2LIAwXPDhKUifjLDxnLihrOzsbLEgfJDcb0yxjNzxqGC3rYAw5NigzYB20GAw5JB21PBMCGBwvZC2fNzxmU',
|
|
1050
|
-
'lsba',
|
|
1051
|
-
'mJmWnJi4mfbzBKzAqW',
|
|
1052
|
-
'Agv4',
|
|
1053
|
-
'Bg9JywXLq29TCgfYzq',
|
|
1054
|
-
'y2XPzw50',
|
|
1055
|
-
'B3b0Aw9UywW',
|
|
1056
|
-
'l3rHC2TZl3vUy2XHAw0',
|
|
1057
|
-
'zgLZCg9ZAxrPB24',
|
|
1058
|
-
'iIbWyxjRzwqUifnHBwuTDgHYzwfKigzVBgXVDY11Ccb3AwXSihjLC3vTzsb0AgLZigXHBMuU',
|
|
1059
|
-
'B3jPz2LUywXgAwXLBMfTzq',
|
|
1060
|
-
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
1061
|
-
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
1062
|
-
'y3jLyxrLx3rHC2TZ',
|
|
1063
|
-
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
1064
|
-
'ue9tva',
|
|
1065
|
-
'l2LUDgvYBMfSl2fNzw50lW',
|
|
1066
|
-
'CMvZDwX0CW',
|
|
1067
|
-
'lcbJB250zw50lxr5Cgu9',
|
|
1068
|
-
'DxbSB2fKx2zPBguGzMfPBgvK',
|
|
1069
|
-
'ls13B3jRzxiTDgHYzwfKlxrHCMDLDa',
|
|
1070
|
-
'ls13B3jRzxiTC2vZC2LVBI1Pza',
|
|
1071
|
-
'l3jLC29SDMuTy2HHBM5LBa',
|
|
1072
|
-
'y29UDgvUDc10ExbL',
|
|
1073
|
-
'ywrK',
|
|
1074
|
-
'C29Tzq',
|
|
1075
|
-
'C3vIDgfZA19UDw1IzxjZ',
|
|
1076
|
-
'ig1LC3nHz2vZkqOk',
|
|
1077
|
-
'l3jLy2vPDMu/',
|
|
1078
|
-
'AhvTyw5Z',
|
|
1079
|
-
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
1080
|
-
'sfruuca',
|
|
1081
|
-
'yxr0ywnOBwvUDeLKCW',
|
|
1080
|
+
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
|
|
1082
1081
|
'AwrSzq',
|
|
1083
|
-
'
|
|
1084
|
-
'
|
|
1085
|
-
'
|
|
1086
|
-
'
|
|
1087
|
-
'z2v0u2vJB25KCW',
|
|
1088
|
-
'DgHYzwfKvgfYz2v0',
|
|
1089
|
-
'CNvUBMLUzW',
|
|
1090
|
-
'kg5VBMuP',
|
|
1082
|
+
'CgfKu3rHCNq',
|
|
1083
|
+
'D29YA2vYsgfUzg9MzKvYCM9Y',
|
|
1084
|
+
'BwLU',
|
|
1085
|
+
'BgLZDfrHC2TZ',
|
|
1091
1086
|
'l3DVCMTLCNmVD2fPDgLUz19PBNb1Da',
|
|
1092
|
-
'
|
|
1093
|
-
'
|
|
1094
|
-
'
|
|
1095
|
-
'
|
|
1096
|
-
'
|
|
1097
|
-
'
|
|
1098
|
-
'
|
|
1099
|
-
'
|
|
1100
|
-
'khvUA25VD24P',
|
|
1101
|
-
'cGOTls0G',
|
|
1102
|
-
'Dgv4Dc9JC3y',
|
|
1103
|
-
'CM9VDe1LC3nHz2vjza',
|
|
1104
|
-
'CMvXDwvZDfvYBa',
|
|
1105
|
-
'C3vIDgfZA051BwjLCG',
|
|
1106
|
-
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
1107
|
-
'Dw5JBgfPBvrHC2S',
|
|
1108
|
-
'BgvUz3rO',
|
|
1109
|
-
'DgHYzwfKswq',
|
|
1110
|
-
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
1111
|
-
'BMfTzq',
|
|
1112
|
-
'tM8GDgfZA3mGzM91BMqU',
|
|
1113
|
-
'icHPzdO',
|
|
1114
|
-
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxjYB3i9',
|
|
1115
|
-
'uM9VDcb0yxnRig1LC3nHz2uGAwq6ia',
|
|
1116
|
-
'C3rYAw5NAwz5',
|
|
1117
|
-
'pgvTChr5pG',
|
|
1118
|
-
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
1119
|
-
'ls1KywvTB24TBg9JywWTDxjS',
|
|
1120
|
-
'zxzLBNrtzxe',
|
|
1121
|
-
'ANnVBG',
|
|
1122
|
-
'BwvZC2fNzv9Pzhm',
|
|
1123
|
-
'C2L6zuj5DgvZ',
|
|
1124
|
-
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
1087
|
+
'BwvTyMvYCW',
|
|
1088
|
+
'zgvZy3jPChrPB24',
|
|
1089
|
+
'ig1LC3nHz2vZihnOB3DUlIbvC2uGyMvMB3jLpq',
|
|
1090
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxm',
|
|
1091
|
+
'tM8GDgfZA3mGy2XHAw1Lzc4',
|
|
1092
|
+
'm3rZzerVwq',
|
|
1093
|
+
'igTPBMq9',
|
|
1094
|
+
'w3rHCMDLDd0',
|
|
1125
1095
|
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
1126
|
-
'
|
|
1096
|
+
'DgfZAYa',
|
|
1097
|
+
'y2XPzw50',
|
|
1127
1098
|
'lcbWCMv2Awv3pq',
|
|
1128
|
-
'
|
|
1129
|
-
'
|
|
1130
|
-
'
|
|
1131
|
-
'
|
|
1132
|
-
'
|
|
1133
|
-
'
|
|
1134
|
-
'
|
|
1135
|
-
'
|
|
1136
|
-
'
|
|
1137
|
-
'
|
|
1138
|
-
'
|
|
1139
|
-
'
|
|
1140
|
-
'
|
|
1141
|
-
'
|
|
1142
|
-
'
|
|
1099
|
+
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
1100
|
+
'uM9VDcb0yxnRig1LC3nHz2u6cG',
|
|
1101
|
+
'ig1ZzZ0',
|
|
1102
|
+
'DgfZA3m',
|
|
1103
|
+
'sgfUzg9MzIb0BYb3B3jRzxiGzM9YihrHC2SG',
|
|
1104
|
+
'DgHYzwfK',
|
|
1105
|
+
'ls1KywvTB24TBg9JywWTDxjS',
|
|
1106
|
+
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw5UB3qGy2XHAw0GyNKGBwvZC2fNzv9PzhmGkhrVCc1SzxzLBcbTzxnZywDLihbYB21VDgLVBIbPCYbTywLUlwfNzw50ig9UBhKPoYb1C2uGC3vIDgfZA19UDw1IzxjZigLUC2LKzsb5B3vYig93BIb0yxnRihrOCMvHzc4',
|
|
1107
|
+
'lsba',
|
|
1108
|
+
'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
|
|
1109
|
+
'mZy2muPlr0LJtq',
|
|
1110
|
+
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
1111
|
+
'ls13B3jRzxiTDgHYzwfKlxrHCMDLDa',
|
|
1112
|
+
'y2HHBM5LBeLK',
|
|
1113
|
+
'BwvZC2fNzq',
|
|
1114
|
+
'mZm4ode3nMvjvuzyCq',
|
|
1115
|
+
'D3m6',
|
|
1116
|
+
'yxr0ywnOBwvUDf9Pza',
|
|
1117
|
+
'AxnbCNjHEq',
|
|
1118
|
+
'ywDLBNq',
|
|
1119
|
+
'Dg9tDhjPBMC',
|
|
1143
1120
|
'Dw5RBM93BG',
|
|
1144
|
-
'
|
|
1145
|
-
'
|
|
1146
|
-
'
|
|
1121
|
+
'y3jLyxrLx3rHC2TZigzHAwXLza',
|
|
1122
|
+
'ANnVBG',
|
|
1123
|
+
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
1147
1124
|
'DhjPBq',
|
|
1148
|
-
'
|
|
1149
|
-
'
|
|
1150
|
-
'
|
|
1151
|
-
'
|
|
1152
|
-
'
|
|
1153
|
-
'
|
|
1154
|
-
'
|
|
1125
|
+
'C2XPy2u',
|
|
1126
|
+
'Aw5JBhvKzxm',
|
|
1127
|
+
'BwfW',
|
|
1128
|
+
'ywDNCMvNyxrLswrZ',
|
|
1129
|
+
'D29YA2vY',
|
|
1130
|
+
'DxjNzw50',
|
|
1131
|
+
'DMLLD19MAwXLigzHAwXLza',
|
|
1132
|
+
'l2HPC3rVCNK/',
|
|
1133
|
+
'zMLSDgvY',
|
|
1134
|
+
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
1135
|
+
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxjYB3i9',
|
|
1136
|
+
'zg06',
|
|
1137
|
+
'CNvUBMLUzW',
|
|
1138
|
+
'yxbWBgLJyxrPB24VANnVBG',
|
|
1139
|
+
'yxr0ywnOBwvUDeLK',
|
|
1140
|
+
'y2HLy2TFBwvZC2fNzxm',
|
|
1141
|
+
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
1142
|
+
'lMjPBG',
|
|
1143
|
+
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
1144
|
+
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
1145
|
+
'yxjYyxLcDwzMzxi',
|
|
1146
|
+
'Dg9mB3DLCKnHC2u',
|
|
1147
|
+
'ywrK',
|
|
1155
1148
|
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
1156
|
-
'
|
|
1157
|
-
'z2v0',
|
|
1158
|
-
'DMLLD19MAwXL',
|
|
1159
|
-
'Bwf0y2Hoyw1Ltg93zxi',
|
|
1160
|
-
'DMfSDwu',
|
|
1161
|
-
'C2vUzgvYvhLWzq',
|
|
1162
|
-
'D2fPDgLUz19PBNb1Da',
|
|
1163
|
-
'twfYAYb0AguGy3vYCMvUDcb3B3jRzxiGyxmGD2fPDgLUzYbMB3iGAhvTyw4GAw5WDxqUifbHDxnLCYb0AguGAwrSzsbuveWGDgLTzxiGDw50AwWGysbUzxCGBwvZC2fNzsbHCNjPDMvZlG',
|
|
1164
|
-
'zM9Yy2vszwzYzxnO',
|
|
1165
|
-
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw5UB3qGy2XHAw0GyNKGBwvZC2fNzv9PzhmGkhrVCc1SzxzLBcbTzxnZywDLihbYB21VDgLVBIbPCYbTywLUlwfNzw50ig9UBhKPoYb1C2uGC3vIDgfZA19UDw1IzxjZigLUC2LKzsb5B3vYig93BIb0yxnRihrOCMvHzc4',
|
|
1166
|
-
'yxjYyxK',
|
|
1149
|
+
'CgfYA193B3jRzxiGzMfPBgvK',
|
|
1167
1150
|
'l3vWBg9Hza',
|
|
1168
|
-
'
|
|
1169
|
-
'
|
|
1170
|
-
'
|
|
1171
|
-
'
|
|
1172
|
-
'
|
|
1173
|
-
'BgLZDf90yxnRCW',
|
|
1174
|
-
'ChjVDg9JB2W',
|
|
1175
|
-
'DgHYzwfK',
|
|
1176
|
-
'vgfZAYa',
|
|
1177
|
-
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
1151
|
+
'C3rVCe1HAw49Dhj1zq',
|
|
1152
|
+
'CMvHzeHPC3rVCNK',
|
|
1153
|
+
'zMv0y2HuAw1LB3v0txm',
|
|
1154
|
+
'ywDLBNrjza',
|
|
1155
|
+
't3b0Aw9UywWUieLMig9TAxr0zwqSihrOzsbTzxnZywDLigLZihb1yMXPyY4Gsw4GDgfZAYb0AhjLywrZlcbZzxqGiMfZAwrLiIbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Grg8GBM90ihnLDcbVDxrZAwrLihrOCMvHzhmU',
|
|
1178
1156
|
'C2vUzgvYtMfTzq',
|
|
1179
|
-
'
|
|
1180
|
-
'
|
|
1181
|
-
'
|
|
1157
|
+
'D29YA2vYu2vZC2LVBKLK',
|
|
1158
|
+
'zw51Bq',
|
|
1159
|
+
'zNjVBq',
|
|
1160
|
+
'C2vZC2LVBKLK',
|
|
1161
|
+
'w3nLCt0',
|
|
1162
|
+
'nZiYmdi4tNDvCxbK',
|
|
1163
|
+
'zMv0y2HjBxbS',
|
|
1164
|
+
'Cgf5Bg9HzePZB24',
|
|
1165
|
+
'D29YA2vYrgLZCg9ZAxrPB249',
|
|
1166
|
+
'Bwf4',
|
|
1167
|
+
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4Gsw4Gysb0AhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPlcbJCMvHDgvZihn1yNrHC2TZihvUzgvYihrOzsbLEgLZDgLUzYbWyxjLBNqGDgfZAY4',
|
|
1168
|
+
'C3rYAw5NAwz5',
|
|
1169
|
+
'y2HHBM5LBa',
|
|
1170
|
+
'AgfZtw9Yzq',
|
|
1171
|
+
'igfSCMvHzhKGAgfZigfUigfJDgL2zsb3B3jRzxiUihn0B3bnywLUpxrYDwuGzxHLy3v0Aw9Utw9Kzt13B3jRzxi',
|
|
1172
|
+
'xsba',
|
|
1173
|
+
'BgLZDfnLCNzLCG',
|
|
1174
|
+
'y29UDgvUDfr5Cgu',
|
|
1175
|
+
'v29YA2vYici',
|
|
1176
|
+
'y29UDgvUDejHC2u2na',
|
|
1177
|
+
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
1178
|
+
'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlIbgB3iGC3vIDgfZA3mGAw4Gysb0AhjLywqSihvZzsbZDwj0yxnRx251BwjLCNmGD2L0AcbHihnPBMDSzsb0yxnRx251BwjLCNmGzw50CNKU',
|
|
1179
|
+
'yM9KEu1HCMTKB3DU',
|
|
1180
|
+
'DgfZA19Pza',
|
|
1181
|
+
'ndqWB1P4Afji',
|
|
1182
|
+
'C29YDa',
|
|
1183
|
+
'BgLZDf9Zzxj2zxi',
|
|
1184
|
+
'zw50CMLLCW',
|
|
1185
|
+
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
1186
|
+
'CgfYA193B3jRzxi',
|
|
1187
|
+
'igf0DgfJAg1LBNq',
|
|
1188
|
+
'DgHYzwfKvgfYz2v0',
|
|
1189
|
+
'yxbWBgLJyxrPB24VEg1S',
|
|
1190
|
+
'DgfZAY0',
|
|
1182
1191
|
'y2XHAw1FDgfZA3m',
|
|
1192
|
+
'l2nVBNrLBNq',
|
|
1193
|
+
'khvUA25VD24P',
|
|
1194
|
+
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
1195
|
+
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
1196
|
+
'l3rHC2TZl2nSywLT',
|
|
1197
|
+
'y2HLy2TFBwvZC2fNzxmGzMfPBgvK',
|
|
1198
|
+
'y2fJAgveAxi',
|
|
1199
|
+
'yMvMB3jL',
|
|
1200
|
+
'ihr5Cgu9ywDLBNq',
|
|
1201
|
+
'Bwv0yq',
|
|
1202
|
+
'y2HPBgrYzw5uB3rHBa',
|
|
1203
|
+
'Bwf0y2Hoyw1L',
|
|
1204
|
+
'ig1LC3nHz2u9',
|
|
1205
|
+
'twLZC2LUzYaTlwfNzw50lwLK',
|
|
1206
|
+
'icHPzdO',
|
|
1207
|
+
'sfruuca',
|
|
1208
|
+
'iJOGC3rHDhvZpq',
|
|
1209
|
+
'mtG1ndmWmePlAgX0sG',
|
|
1210
|
+
'C3rHDhvZ',
|
|
1183
1211
|
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWGB3iGDgHYzwfKlIbuAhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPihjLDhvYBNmGDgHLihbHCMvUDcb0yxnRihbSDxmGAxrZihn1yNrHC2TZihDPDgGGywDNCMvNyxrPB24GzMLLBgrZicHJAgLSzhjLBLrVDgfSlcbJAgLSzhjLBKrVBMuSignOAwXKCMvUsw5qCM9NCMvZCYKUienOyw5UzwWGDgfYz2v0ihjLDhvYBNmGB25SEsbWyxjLBNqGDgfZA3mGkg5Vihn1yNrHC2TZks4',
|
|
1184
|
-
'
|
|
1185
|
-
'
|
|
1186
|
-
'
|
|
1187
|
-
'
|
|
1188
|
-
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
1189
|
-
'z2v0rgf0zq',
|
|
1190
|
-
'C3rHDhvZ',
|
|
1191
|
-
'D29YA2vYsgfUzg9MzJ10CNvL',
|
|
1192
|
-
'C2vX',
|
|
1193
|
-
'Dgv4Dc9WBgfPBG',
|
|
1194
|
-
'C29YDa',
|
|
1195
|
-
'nM56rKzoua',
|
|
1196
|
-
'BwvKAxvT',
|
|
1197
|
-
'iYmJienOyw5UzwXZ',
|
|
1198
|
-
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
1199
|
-
'ignSywLTzwq',
|
|
1200
|
-
'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
|
|
1201
|
-
'Dg9ju09tDhjPBMC',
|
|
1202
|
-
'zg06',
|
|
1203
|
-
'CgfYC2u',
|
|
1204
|
-
'D29YA2vYCW',
|
|
1205
|
-
'DgfZA19Pza',
|
|
1206
|
-
'DxbKyxrLvgfZA1n0yxr1CW',
|
|
1207
|
-
'ywDNCMvNyxrLvhLWzq',
|
|
1208
|
-
'C2vYDMvY',
|
|
1209
|
-
'AxngAwXL',
|
|
1210
|
-
'oIb3B3jRzxiGy2fUig9UBhKGB3bLCMf0zsbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcaO',
|
|
1211
|
-
'yxv0BZO',
|
|
1212
|
-
'BwfW',
|
|
1213
|
-
'odm1nJHlBw9hr0m',
|
|
1214
|
-
'yxr0ywnOBwvUDhm',
|
|
1215
|
-
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
1216
|
-
'Bwv0yq',
|
|
1217
|
-
'iYmGu2vYDMvYoIa',
|
|
1218
|
-
'DxbSB2fKuhjLCgfYzxi',
|
|
1219
|
-
'BwvZC2fNzuLK',
|
|
1220
|
-
'sgfUzg9MzIb0BYb3B3jRzxiGzM9YihrHC2SG',
|
|
1221
|
-
'zg0T',
|
|
1222
|
-
'yxbWBgLJyxrPB24VANnVBG',
|
|
1223
|
-
'Bwf0y2Hoyw1L',
|
|
1224
|
-
'BgLZDfrHC2TZ',
|
|
1225
|
-
'C3rYAw5N',
|
|
1226
|
-
'CMvWBgfJzq',
|
|
1227
|
-
'v29YA2vYici',
|
|
1228
|
-
'lMrZy29Yza',
|
|
1229
|
-
'D29YA2vY',
|
|
1230
|
-
'ywz0zxi',
|
|
1231
|
-
'ywrKrxzLBNrmAxn0zw5LCG',
|
|
1232
|
-
'Aw1Hz2uVCg5N',
|
|
1233
|
-
'nda4wgDvDM12',
|
|
1212
|
+
'y2XHAw0GzMfPBgvK',
|
|
1213
|
+
'y2HHBM5LBe5HBwu',
|
|
1214
|
+
'C2v0',
|
|
1215
|
+
'v29YA2vYlw9UBhKUifbHCMSGDgHLign1CNjLBNqGD29YA2vYigXHBMuGywz0zxiGEw91igHHDMuGywXYzwfKEsbYzxbVCNrLzcbYzxn1BhrZigLUihrOAxmGDgHYzwfKlIbuAgLZigrVzxmGBM90igvUzcb0AguGC2vZC2LVBJSGC2fTzs10AhjLywqGzM9SBg93lxvWihDPBgWGCMvZDw1LihrOAxmGBgfUzs4',
|
|
1234
1216
|
'z2v0rNvSBfLLyxi',
|
|
1235
|
-
'
|
|
1236
|
-
'
|
|
1237
|
-
'
|
|
1238
|
-
'
|
|
1239
|
-
'
|
|
1240
|
-
'
|
|
1241
|
-
'
|
|
1242
|
-
'
|
|
1243
|
-
'
|
|
1244
|
-
'
|
|
1217
|
+
'DgHYzwfKswq',
|
|
1218
|
+
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
1219
|
+
'DgHYzwfKx3rHCMDLDa',
|
|
1220
|
+
'ls1Hz2vUDc1Pza',
|
|
1221
|
+
'C2vUzgvYvhLWzq',
|
|
1222
|
+
'DgHYzwfKu2HVCNrjza',
|
|
1223
|
+
'DxnLCG',
|
|
1224
|
+
'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
|
|
1225
|
+
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
1226
|
+
'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
|
|
1227
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
1228
|
+
'Dw5JBgfPBvrHC2S',
|
|
1229
|
+
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
1230
|
+
'B3jPz2LUywXgAwXLBMfTzq',
|
|
1245
1231
|
'r0vu',
|
|
1246
|
-
'
|
|
1247
|
-
'
|
|
1248
|
-
'
|
|
1249
|
-
'
|
|
1250
|
-
'
|
|
1232
|
+
'AhvTyw4',
|
|
1233
|
+
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
1234
|
+
'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
|
|
1235
|
+
'C3vIDgfZA19UDw1IzxjZ',
|
|
1236
|
+
'CgfYDgLJAxbHBNq',
|
|
1237
|
+
'y3jLyxrLzef0',
|
|
1238
|
+
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
1239
|
+
'6k+35Rgcia',
|
|
1240
|
+
'Agv4',
|
|
1241
|
+
'twfYAYb0AguGy3vYCMvUDcb3B3jRzxiGyxmGD2fPDgLUzYbMB3iGAhvTyw4GAw5WDxqUifbHDxnLCYb0AguGAwrSzsbuveWGDgLTzxiGDw50AwWGysbUzxCGBwvZC2fNzsbHCNjPDMvZlG',
|
|
1242
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
|
|
1243
|
+
'kg5VBMuP',
|
|
1244
|
+
'ywjVCNq',
|
|
1245
|
+
'zxzLBNrtzxe',
|
|
1246
|
+
'igLUia',
|
|
1247
|
+
'BMfTzq',
|
|
1251
1248
|
'DgfZA0LK',
|
|
1252
|
-
'
|
|
1253
|
-
'
|
|
1254
|
-
'
|
|
1255
|
-
'
|
|
1256
|
-
'yxr0ywnOBwvUDenHy2HL',
|
|
1257
|
-
'yxnZAwDUzwvoyw1L',
|
|
1258
|
-
'kgXLz2fJEsK',
|
|
1259
|
-
'Aw1Hz2uVANbLzW',
|
|
1260
|
-
'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
|
|
1261
|
-
'zgLNzxn0',
|
|
1262
|
-
'yxnPzgu',
|
|
1249
|
+
'l3rHC2TZpW',
|
|
1250
|
+
'CMvHC29U',
|
|
1251
|
+
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
1252
|
+
't3jPz2LUywWGBwvZC2fNztOG',
|
|
1263
1253
|
'BNvTyMvY',
|
|
1264
|
-
'
|
|
1265
|
-
'
|
|
1266
|
-
'
|
|
1267
|
-
'
|
|
1268
|
-
'
|
|
1269
|
-
'
|
|
1270
|
-
'
|
|
1271
|
-
'
|
|
1272
|
-
'
|
|
1254
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
1255
|
+
'Bg93',
|
|
1256
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmVy2XHAw0',
|
|
1257
|
+
'BgLZDf90yxnRCW',
|
|
1258
|
+
'Dgv4Dc9TyxjRzg93BG',
|
|
1259
|
+
'DgvZDa',
|
|
1260
|
+
'yxbWBgLJyxrPB24VEMLW',
|
|
1261
|
+
'C3bSAxq',
|
|
1262
|
+
'iIbUB3qGzM91BMq',
|
|
1263
|
+
'4PQG77IpifDpuKTfuIbbq1rjvKfuruqG4Ocuifn0B3aGquXmihDVCMSGB24GDgHPCYb0yxnRigLTBwvKAwf0zwX5lIbeBYbUB3qGC2vUzcbMDxj0AgvYig1LC3nHz2vZihrVihrOAxmGDgHYzwfKlG',
|
|
1264
|
+
'C2LNBMfS',
|
|
1265
|
+
'AgLNAa',
|
|
1266
|
+
'B3b0Aw9UywW',
|
|
1267
|
+
'BwvZC2fNzxm',
|
|
1268
|
+
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxHLy3v0Aw9Utw9Kzt1TywLUcLn0yxKGAw4GBwfPBIbZzxnZAw9UoIbYzwfKihrOzsbYzwzLCMvUy2vKihbSyw4Vzg9JDw1LBNqGyw5KignHBgWGy3jLyxrLx3rHC2TZigLUihrOzsbWyxjLBNqGy2HHBM5LBcb0BYbICMvHAYbPDcbPBNrVihrVCc1SzxzLBcb0yxnRCYaOB3iGB3rOzxj3AxnLigfKDMfUy2uGDgHLihrHC2SGAw4GBwfPBIb3AxrOB3v0igHHBMrPBMCGB2zMihrVigeGD29YA2vYks4',
|
|
1269
|
+
'iYmJieH1BwfUCW',
|
|
1270
|
+
'D29YA2vYtw9KzuvUywjSzwq',
|
|
1271
|
+
'cUkAOo+4JYbxt1jlrviGqunusvzbveveiokaLcbtDg9Wiefmtcb3B3jRig9UihrOAxmGDgfZAYbPBw1LzgLHDgvSEs4Gv29YA2vYigHHBMrSzxmGzxHLy3v0Aw9UigvUzc10BY1LBMqU',
|
|
1272
|
+
'DMfSDwvZ',
|
|
1273
|
+
'DMLZAwjPBgL0Eq',
|
|
1274
|
+
'Aw1Hz2uVD2vICa',
|
|
1275
|
+
'ywjVCNrLza',
|
|
1276
|
+
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
1277
|
+
'ChjVDg9JB2W',
|
|
1278
|
+
'iYmGu2vYDMvYoIa',
|
|
1279
|
+
'DgHYzwfKtNvTyMvY',
|
|
1273
1280
|
'l2fWAs9Hz2vUDc1ZzxnZAw9UCY8',
|
|
1274
|
-
'
|
|
1275
|
-
'BwfPBG',
|
|
1276
|
-
'Aw1Hz2uVz2LM',
|
|
1277
|
-
'Dw5JBgfPBv90yxnR',
|
|
1278
|
-
'D29YA2vYsgfUzg9MzG',
|
|
1279
|
-
'BgLZDf90yxnRCYbMywLSzwq',
|
|
1281
|
+
'yxjYyxK',
|
|
1280
1282
|
'ywDLBNrZ',
|
|
1281
|
-
'
|
|
1282
|
-
'
|
|
1283
|
-
'
|
|
1284
|
-
'
|
|
1285
|
-
'
|
|
1286
|
-
'
|
|
1287
|
-
'
|
|
1288
|
-
'
|
|
1289
|
-
'
|
|
1290
|
-
'
|
|
1283
|
+
'iYmJiefNzw50CW',
|
|
1284
|
+
'yxr0ywnOBwvUDenHy2HLrgLY',
|
|
1285
|
+
'l2LUDgvYBMfSl2fNzw50lW',
|
|
1286
|
+
'Dg9VBa',
|
|
1287
|
+
'C3rYAw5N',
|
|
1288
|
+
'Dg9ju09tDhjPBMC',
|
|
1289
|
+
'u2vUzcbHig1LC3nHz2uUieLMihzPC2LIAwXPDhKGAxmGB21PDhrLzcWGDgHLig1LC3nHz2uGAxmGChvIBgLJlIbjBIb0yxnRihrOCMvHzhmSihnLDcb2AxnPyMLSAxr5oIbHC2LKzsbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Gt3v0C2LKzsb0AhjLywrZlcbKBYbUB3qGC2v0ihzPC2LIAwXPDhKUifjLDxnLihrOzsbLEgfJDcb0yxjNzxqGC3rYAw5NigzYB20GAw5JB21PBMCGBwvZC2fNzxmU',
|
|
1290
|
+
'AwrLBxbVDgvUy3LFA2v5',
|
|
1291
|
+
'B2jQzwn0',
|
|
1292
|
+
'zgLZCg9ZAxrPB24',
|
|
1293
|
+
'BgLTAxq',
|
|
1294
|
+
'C3rHCNrZv2L0Aa',
|
|
1295
|
+
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
1296
|
+
'ignSywLTzwq',
|
|
1297
|
+
'Aw1Hz2uVC3zNk3HTBa',
|
|
1298
|
+
'DgfZAW',
|
|
1299
|
+
'cKLMihLVDxiGBwvTB3j5ig9YignOyw5UzwWGCNvSzxmGCMvXDwLYzsbYzxzPzxCSihnLBMqGysbTzxnZywDLig1LBNrPB25PBMCGDgHLihjLDMLLD2vYigjLzM9YzsbWyxjRAw5NlG',
|
|
1291
1300
|
'yxr0ywnOBwvUDf9Pzhm',
|
|
1292
|
-
'
|
|
1293
|
-
'
|
|
1294
|
-
'
|
|
1295
|
-
'
|
|
1296
|
-
'
|
|
1301
|
+
'uefuq0G',
|
|
1302
|
+
'Aw5FCMv2Awv3',
|
|
1303
|
+
'rMLSzsbUB3qGzM91BMq6ia',
|
|
1304
|
+
'CMvZDwX0CW',
|
|
1305
|
+
'CMvZB2X2zvrHCMDLDa',
|
|
1306
|
+
'y2HHBM5LBhm',
|
|
1307
|
+
'AxnjBNrLz2vY',
|
|
1308
|
+
'zMLSzw5HBwu',
|
|
1309
|
+
'y3jLyxrLvgfZA3m',
|
|
1310
|
+
'tM8GDgfZA3mGzM91BMqU',
|
|
1311
|
+
'A2LUza',
|
|
1312
|
+
'AxngAwXL',
|
|
1313
|
+
'DMLLD19MAwXL',
|
|
1314
|
+
'z2v0x3DVCMTLCL9ZDgf0DxmGzMfPBgvK',
|
|
1315
|
+
'ihn0yxLZigLUig1HAw4GC2vZC2LVBIaOzxHLy3v0Aw9Utw9Kzt1TywLUktSGCMvTywLUigHLCMuSihjLywqGDgHLihjLzMvYzw5JzwqGCgXHBI9KB2n1BwvUDcWGyw5KignHBgWGy3jLyxrLx3rHC2TZigLUihrOzsbWyxjLBNqGy2HHBM5LBcb0BYbICMvHAYbPDcbPBNrVihrVCc1SzxzLBcb0yxnRCYbPzIb0Agf0igLZihrOzsbPBNrLBNqU',
|
|
1316
|
+
'DxbSB2fKuhjLCgfYzxi',
|
|
1317
|
+
'C3vIDgfZA051BwjLCG',
|
|
1318
|
+
'D29YA2vYCW',
|
|
1319
|
+
'z2v0twLUDxrLCW',
|
|
1320
|
+
'zxnJywXHDgvFDg9FBwfPBG',
|
|
1297
1321
|
'CMvJB3jK',
|
|
1322
|
+
'vgHYzwfKihrHCMDLDdOG',
|
|
1323
|
+
'y3jLyxrLx3rHC2TZ',
|
|
1298
1324
|
'ywDNCMvNyxrLswq',
|
|
1299
|
-
'
|
|
1325
|
+
'ihn0yxr1CZ0',
|
|
1326
|
+
'BMv4Den1CNnVCG',
|
|
1327
|
+
'zgf0yq',
|
|
1328
|
+
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4GrM9Yihn1yNrHC2TZlcbHBhnVihbHC3mGC3vIDgfZA19UDw1IzxiU',
|
|
1329
|
+
'yxr0ywnOBwvUDhm',
|
|
1330
|
+
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
1331
|
+
'zgvZy3jPyMu',
|
|
1332
|
+
'Dw5JBgfPBv90yxnR',
|
|
1333
|
+
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
1334
|
+
'D29YA19RzxK',
|
|
1335
|
+
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
1336
|
+
'C2L6zq',
|
|
1337
|
+
'D2fPDgLUz19PBNb1Da',
|
|
1338
|
+
'C3rVCe1HAw4',
|
|
1339
|
+
'C2L6zuj5DgvZ',
|
|
1340
|
+
'kgXLz2fJEsK',
|
|
1300
1341
|
'zxHLy3v0Aw9Utw9Kzt0',
|
|
1301
|
-
'
|
|
1302
|
-
'vgHYzwfKihrHCMDLDdOG',
|
|
1303
|
-
'BwvZC2fNzxm',
|
|
1304
|
-
'DgfZAY0',
|
|
1305
|
-
'rg93BMXVywrLzcb0BZOG',
|
|
1306
|
-
'D29YA2vYtw9Kzq',
|
|
1307
|
-
'ywz0zxjtzxe',
|
|
1308
|
-
'l3rHC2TZpW',
|
|
1309
|
-
'oIb3B3jRzxiGCNvUDgLTzsbTAxnZAw5NihDVCMTLCLrOCMvHzfrHCMDLDdSGy2fUBM90ihzHBgLKyxrLihnJB3bL',
|
|
1310
|
-
'Dg9KBW',
|
|
1311
|
-
'mte1v3HZqvzq',
|
|
1312
|
-
'ChvZAa',
|
|
1313
|
-
'Cgf5Bg9HzePZB24',
|
|
1314
|
-
'CMvHzeHPC3rVCNK',
|
|
1342
|
+
'zxjYB3i',
|
|
1315
1343
|
'Dw5JBgfPBv90yxnRoIb3B3jRzxiGy2fUig9UBhKGDw5JBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCI4',
|
|
1316
|
-
'lsaJ',
|
|
1317
|
-
'C3bSAxq',
|
|
1318
|
-
'DgfYz2v0zwq',
|
|
1319
|
-
'D29YA2vYu2vZC2LVBKLK',
|
|
1320
|
-
'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
|
|
1321
|
-
'y2XHAw1uyxnRCW',
|
|
1322
|
-
'ihrPBwu9',
|
|
1323
|
-
'ywXS',
|
|
1324
|
-
'AxnjBNrLz2vY',
|
|
1325
|
-
'vxbKyxrLihrHC2SGC3rHDhvZigj5ignOyw5UzwWGyw5KihrHC2SGBNvTyMvYlIbgB3iGC3vIDgfZA3mSigfSC28GCgfZCYbZDwj0yxnRx251BwjLCI4GqxnZAwDUzwuGCNvSzxm6igfUihvUy2XHAw1Lzcb0yxnRl3n1yNrHC2SGAxmGyxv0B21HDgLJywXSEsbJBgfPBwvKigj5ihLVDsbPBIb0AguGC2fTzsbJywXSicHJywXSzxiGyMvJB21LCYb0AguGyxnZAwDUzwuPoYbPzIb0AguGDgfZAYbPCYbHBhjLywr5ignSywLTzwqGyNKGyw5VDgHLCIbWyxj0AwnPCgfUDcWGDgHLihnLCNzLCIbYzxr1CM5ZidqWmYb3AxrOihrOzsbJDxjYzw50ignSywLTzxiNCYbUyw1LigfUzcb5B3uGBxvZDcbot1qGCMv0CNKG4OcuigXLDcb0AguGyxnZAwDUzwuGzMLUAxnOig9YigfZAYb0AgvTihrVihjLBgvHC2uGDgHLihrHC2SUifDOzw4GBw92Aw5NihDVCMSGDg8GAw5FCMv2Awv3lcbJAgvJAYb5B3vYig1LBw9YEsbVCIbJAgfUBMvSihj1BgvZigfUzcbZzw5KigeGCMv2Awv3zxiGBwvUDgLVBIb5B3vYC2vSzIb3AgvUigfWChjVChjPyxrLlG',
|
|
1326
|
-
'Aw5FCMv2Awv3',
|
|
1327
|
-
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
1328
|
-
'iokaLca',
|
|
1329
|
-
'igTPBMq9',
|
|
1330
|
-
'AM9PBG',
|
|
1331
|
-
'C3rVCe1HAw49Dhj1zq',
|
|
1332
|
-
'zgvZy3jPChrPB24',
|
|
1333
|
-
'zMLUza',
|
|
1334
|
-
'DgHYzwfKtNvTyMvY',
|
|
1335
|
-
'y2HLy2TFBwvZC2fNzxm',
|
|
1336
|
-
'C3rHCNrZv2L0Aa',
|
|
1337
|
-
'DgfZAW',
|
|
1338
|
-
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
1339
1344
|
'zg9Uzq',
|
|
1340
|
-
'
|
|
1341
|
-
'
|
|
1342
|
-
'
|
|
1343
|
-
'
|
|
1344
|
-
'
|
|
1345
|
-
'
|
|
1346
|
-
'
|
|
1347
|
-
'
|
|
1348
|
-
'
|
|
1349
|
-
'
|
|
1350
|
-
'
|
|
1351
|
-
'
|
|
1352
|
-
'
|
|
1353
|
-
'
|
|
1354
|
-
'
|
|
1355
|
-
'y2HHBM5LBa',
|
|
1356
|
-
'y3jLyxrLvgfZA3m',
|
|
1357
|
-
'mZu3u1P6zgvN',
|
|
1358
|
-
'BgLZDfnLCNzLCG',
|
|
1359
|
-
'BwvTyMvY',
|
|
1345
|
+
'CMvHzf9OAxn0B3j5',
|
|
1346
|
+
'DxrMoa',
|
|
1347
|
+
'Aw1Hz2uVANbLzW',
|
|
1348
|
+
'C2vYDMvYvxjS',
|
|
1349
|
+
'D29YA2vYtw9Kzq',
|
|
1350
|
+
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
1351
|
+
'DhLWzq',
|
|
1352
|
+
'rMLSzsb1CgXVywrLzdOG',
|
|
1353
|
+
'C2vYDMvY',
|
|
1354
|
+
'mZqZnJK3BNvnBwT0',
|
|
1355
|
+
'BwfPBG',
|
|
1356
|
+
'z2v0u2vJB25KCW',
|
|
1357
|
+
'CxvLDwvK',
|
|
1358
|
+
'C2f2zq',
|
|
1359
|
+
'Dg9gAxHLza',
|
|
1360
1360
|
'y29UBMvJDa',
|
|
1361
|
-
'
|
|
1362
|
-
'
|
|
1363
|
-
'
|
|
1364
|
-
'
|
|
1365
|
-
'
|
|
1366
|
-
'
|
|
1367
|
-
'
|
|
1368
|
-
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
1369
|
-
'uefuq0G',
|
|
1361
|
+
'yxv0BZO',
|
|
1362
|
+
'y2XHAw1uyxnRCW',
|
|
1363
|
+
'zgvSzxrL',
|
|
1364
|
+
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
1365
|
+
'y29UDgvUDc10ExbL',
|
|
1366
|
+
'CMvWBgfJzq',
|
|
1367
|
+
'Aw1Hz2uVCg5N',
|
|
1370
1368
|
'uMvHzcb0AhjLywqGAgLZDg9YEsbIzwzVCMuGDgfRAw5NigfJDgLVBI4Grg8GBM90igvJAg8GDgHPCYbTzxnZywDLihrVihrOzsb0AhjLywqU',
|
|
1371
|
-
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
1372
|
-
'igzHAwXLzdOG',
|
|
1373
|
-
'z2v0vgLTzq',
|
|
1374
|
-
'C2XPy2u',
|
|
1375
|
-
'EM9K',
|
|
1376
|
-
'DgL0Bgu',
|
|
1377
|
-
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
1378
|
-
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
1379
1369
|
'zMLUzenHy2HLzfbHDgG',
|
|
1380
|
-
'
|
|
1381
|
-
'
|
|
1382
|
-
'
|
|
1383
|
-
'D3m6',
|
|
1384
|
-
'yMvMB3jL',
|
|
1385
|
-
'zxnJywXHDgvFDg9FBwfPBG',
|
|
1386
|
-
'yxr0ywnOBwvUDeLK',
|
|
1387
|
-
'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
|
|
1388
|
-
'DxbSB2fKx2zPBgu',
|
|
1389
|
-
'CMvZB2X2zvrHCMDLDa',
|
|
1390
|
-
'CMvHzf9OAxn0B3j5',
|
|
1391
|
-
'ihn0yxr1CZ0',
|
|
1370
|
+
'lcbJB250zw50lxr5Cgu9',
|
|
1371
|
+
'z2v0sg91CNm',
|
|
1372
|
+
'zMfSC2u',
|
|
1392
1373
|
'yMfZzw5HBwu',
|
|
1393
|
-
'
|
|
1374
|
+
'C2vYDMvYtMfTzq',
|
|
1375
|
+
'zxH0BMfTzq',
|
|
1376
|
+
'l3nLBMq',
|
|
1377
|
+
'mJK0nJG0mfLODfbzDG',
|
|
1378
|
+
'D29YA2vYx3nLC3nPB25FAwq',
|
|
1394
1379
|
'Aw5FChjVz3jLC3m',
|
|
1395
|
-
'
|
|
1396
|
-
'
|
|
1397
|
-
'
|
|
1398
|
-
'
|
|
1399
|
-
'
|
|
1400
|
-
'
|
|
1401
|
-
'
|
|
1402
|
-
'
|
|
1403
|
-
'
|
|
1404
|
-
'
|
|
1380
|
+
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
1381
|
+
'y3vYC29Y',
|
|
1382
|
+
'ls1HDhrHy2HTzw50lwnHy2HLlwrPCG',
|
|
1383
|
+
'y2f0y2G',
|
|
1384
|
+
'ChvZAa',
|
|
1385
|
+
'l3rHC2TZ',
|
|
1386
|
+
'ls1PBML0AwfSlwXHC3qTC2vLBI1Zzxe',
|
|
1387
|
+
'l3n0yxj0',
|
|
1388
|
+
'iYmJienOyw5UzwXZ',
|
|
1389
|
+
'z2v0tw9UDgG',
|
|
1390
|
+
'CgfYC2vjBNq',
|
|
1391
|
+
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
1392
|
+
'y2HHBM5LBfrHCMDLDa',
|
|
1393
|
+
'C3vJy2vZCW',
|
|
1394
|
+
'Dgv4Dc9JC3y',
|
|
1405
1395
|
'DgHYzwfKvgfYz2v0pq',
|
|
1406
|
-
'
|
|
1407
|
-
'
|
|
1408
|
-
'
|
|
1409
|
-
'
|
|
1410
|
-
'
|
|
1411
|
-
'
|
|
1412
|
-
'
|
|
1413
|
-
'
|
|
1414
|
-
'
|
|
1415
|
-
'
|
|
1396
|
+
'AxnbyNnVBhv0zq',
|
|
1397
|
+
'BM93',
|
|
1398
|
+
'BwvZC2fNzuLK',
|
|
1399
|
+
'Ahr0Chm6',
|
|
1400
|
+
'y2HLy2TnzxnZywDLCW',
|
|
1401
|
+
'C2vX',
|
|
1402
|
+
'AhvTyw5Z',
|
|
1403
|
+
'zgvZDhjVEwvK',
|
|
1404
|
+
'C2vUzf9TzxnZywDLigzHAwXLza',
|
|
1405
|
+
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
1406
|
+
'AgvHzgvYCW',
|
|
1407
|
+
'zMLUza',
|
|
1408
|
+
'C3rHCNrLza',
|
|
1409
|
+
'ywz0zxjtzxe',
|
|
1410
|
+
'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
|
|
1411
|
+
'yxr0ywnOBwvUDenHy2HL',
|
|
1412
|
+
'ls13B3jRzxiTC2vZC2LVBI1Pza',
|
|
1413
|
+
'AgfZ',
|
|
1414
|
+
'sw52ywXPzcaTlwLUAxrPywWTBgfZDc1ZzwvUlxnLCq',
|
|
1415
|
+
'uM9VDcb0yxnRig1LC3nHz2uGAwq6ia',
|
|
1416
|
+
'Ahr0CdO',
|
|
1417
|
+
'DMfSDwu',
|
|
1418
|
+
'l3jLC29SDMuTy2HHBM5LBa',
|
|
1419
|
+
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
1420
|
+
'Bwf0y2Hoyw1Ltg93zxi',
|
|
1421
|
+
'iIbWyxjRzwqUifnHBwuTDgHYzwfKigzVBgXVDY11Ccb3AwXSihjLC3vTzsb0AgLZigXHBMuU',
|
|
1422
|
+
'DxbKyxrLvgfZA1n0yxr1CW',
|
|
1423
|
+
'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
|
|
1424
|
+
'oIb3B3jRzxiGy2fUig9UBhKGB3bLCMf0zsbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcaO',
|
|
1425
|
+
'CMvZCg9UC2u',
|
|
1426
|
+
'vgfZAYa',
|
|
1427
|
+
'DgfYz2v0',
|
|
1428
|
+
'BwvZC2fNzv9Pzhm',
|
|
1429
|
+
'CM9VDe1LC3nHz2vjza',
|
|
1430
|
+
'CNvUswq',
|
|
1431
|
+
'y29UDgvUDa',
|
|
1432
|
+
'zxHWAxjLC0f0',
|
|
1433
|
+
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
1434
|
+
'rg8GBM90ihnLBMqGzNvYDgHLCIbTzxnZywDLCYb0BYb0AgLZihrOCMvHzcdIGjqGDgHLihDVCMTLCIbPCYbOyw5KBgLUzYbPDc4',
|
|
1435
|
+
'igrVBMuP',
|
|
1436
|
+
'Dg9KBW',
|
|
1437
|
+
'C2HHmJu2',
|
|
1438
|
+
'DgL0Bgu',
|
|
1439
|
+
'ywDNCMvNyxrLvhLWzq',
|
|
1440
|
+
'ls13B3jRzxiTBw9Kzq',
|
|
1441
|
+
'EM9K',
|
|
1442
|
+
'l2zPBMLZAa',
|
|
1443
|
+
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
1444
|
+
'ls1KywvTB24TyxbPlwTLEq',
|
|
1445
|
+
'cGOTls0G',
|
|
1446
|
+
'Bg9JywXLq29TCgfYzq',
|
|
1447
|
+
'Dgv4Dc9WBgfPBG',
|
|
1448
|
+
'zxHLy3v0Aw9Utw9Kzq',
|
|
1449
|
+
'zgfLBw9Utg9JywXvCMW',
|
|
1450
|
+
'lIbZDg9WtwfPBJ10CNvLigv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
1451
|
+
'BgvUz3rO',
|
|
1452
|
+
'yMfZzty0',
|
|
1453
|
+
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
1454
|
+
'D29YA2vYrgLZCg9ZAxrPB24'
|
|
1416
1455
|
];
|
|
1417
|
-
|
|
1418
|
-
return
|
|
1456
|
+
_0x56dc = function () {
|
|
1457
|
+
return _0x27543e;
|
|
1419
1458
|
};
|
|
1420
|
-
return
|
|
1421
|
-
}
|
|
1422
|
-
function toLocalTime(_0xb6ccdb) {
|
|
1423
|
-
const _0x53f00a = {
|
|
1424
|
-
_0x340c53: 0x2aa,
|
|
1425
|
-
_0x47f679: 0x21f,
|
|
1426
|
-
_0x744d62: 0x18c
|
|
1427
|
-
}, _0x18d881 = _0x5e54a5, _0x405ea1 = new Date(_0xb6ccdb);
|
|
1428
|
-
if (Number[_0x18d881(0x2ec)](_0x405ea1[_0x18d881(_0x53f00a._0x340c53)]()))
|
|
1429
|
-
return _0xb6ccdb;
|
|
1430
|
-
const _0x161fff = _0x1a945e => String(_0x1a945e)['padStart'](0x2, '0');
|
|
1431
|
-
return _0x405ea1[_0x18d881(_0x53f00a._0x47f679)]() + '-' + _0x161fff(_0x405ea1['getMonth']() + 0x1) + '-' + _0x161fff(_0x405ea1[_0x18d881(0x1f2)]()) + '\x20' + _0x161fff(_0x405ea1['getHours']()) + ':' + _0x161fff(_0x405ea1['getMinutes']()) + ':' + _0x161fff(_0x405ea1[_0x18d881(_0x53f00a._0x744d62)]());
|
|
1432
|
-
}
|
|
1433
|
-
function formatAttachmentSuffix(_0x35ddfc) {
|
|
1434
|
-
const _0x91bcdf = { _0x28c197: 0x1a1 }, _0x160eab = _0x5e54a5;
|
|
1435
|
-
if (!_0x35ddfc || _0x35ddfc['length'] === 0x0)
|
|
1436
|
-
return '';
|
|
1437
|
-
return '\x20[' + _0x35ddfc[_0x160eab(_0x91bcdf._0x28c197)] + _0x160eab(0x295) + (_0x35ddfc[_0x160eab(0x1a1)] > 0x1 ? 's' : '') + ':\x20' + _0x35ddfc['map'](_0x2f914f => _0x2f914f[_0x160eab(0x289)] + _0x160eab(0x1a6) + _0x2f914f['id'] + ')')['join'](',\x20') + '\x20—\x20use\x20view_file\x20to\x20see]';
|
|
1438
|
-
}
|
|
1439
|
-
function formatCheckMessages(_0x34b143) {
|
|
1440
|
-
const _0x2eb3b9 = {
|
|
1441
|
-
_0x48baee: 0x1a1,
|
|
1442
|
-
_0x324a7d: 0x172,
|
|
1443
|
-
_0x3e1efc: 0x209,
|
|
1444
|
-
_0x26cad7: 0x27f
|
|
1445
|
-
}, _0x394fd3 = {
|
|
1446
|
-
_0x18d701: 0x189,
|
|
1447
|
-
_0x42659f: 0x189,
|
|
1448
|
-
_0x411740: 0x27e,
|
|
1449
|
-
_0x23e4c9: 0x1b8,
|
|
1450
|
-
_0x419281: 0x24f,
|
|
1451
|
-
_0x3a947e: 0x277,
|
|
1452
|
-
_0x15442e: 0x29f,
|
|
1453
|
-
_0x27f65f: 0x243
|
|
1454
|
-
}, _0x312604 = _0x5e54a5;
|
|
1455
|
-
if (_0x34b143[_0x312604(_0x2eb3b9._0x48baee)] === 0x0)
|
|
1456
|
-
return _0x312604(_0x2eb3b9._0x324a7d);
|
|
1457
|
-
return _0x34b143[_0x312604(_0x2eb3b9._0x3e1efc)](_0xd73486 => {
|
|
1458
|
-
const _0x1478c0 = _0x312604, _0x4e5f4d = _0xd73486['senderType'] === 'agent' ? _0x1478c0(0x2d6) : '', _0x1d1144 = _0xd73486[_0x1478c0(_0x394fd3._0x18d701)] && _0xd73486[_0x1478c0(_0x394fd3._0x42659f)] !== 'chat' ? _0x1478c0(_0x394fd3._0x411740) + _0xd73486[_0x1478c0(0x189)] : '';
|
|
1459
|
-
return _0x1478c0(_0x394fd3._0x23e4c9) + _0xd73486['target'] + _0x1478c0(_0x394fd3._0x419281) + _0xd73486['messageId'][_0x1478c0(0x2ab)](0x0, 0x8) + _0x1478c0(_0x394fd3._0x3a947e) + toLocalTime(_0xd73486[_0x1478c0(_0x394fd3._0x15442e)]) + _0x4e5f4d + _0x1d1144 + _0x1478c0(_0x394fd3._0x27f65f) + _0xd73486[_0x1478c0(0x1e7)] + ':\x20' + _0xd73486['content'] + formatAttachmentSuffix(_0xd73486[_0x1478c0(0x20b)]);
|
|
1460
|
-
})[_0x312604(_0x2eb3b9._0x26cad7)]('\x0a');
|
|
1461
|
-
}
|
|
1462
|
-
function formatHistory(_0xb81bde) {
|
|
1463
|
-
const _0x47ec0b = {
|
|
1464
|
-
_0x4b7c02: 0x264,
|
|
1465
|
-
_0x315d43: 0x19a,
|
|
1466
|
-
_0x3806a6: 0x298,
|
|
1467
|
-
_0x41e3e0: 0x1a1
|
|
1468
|
-
}, _0x4163e6 = {
|
|
1469
|
-
_0x3b18f7: 0x1d6,
|
|
1470
|
-
_0x3cb114: 0x2d1,
|
|
1471
|
-
_0x4d3b6d: 0x2d6,
|
|
1472
|
-
_0x1af0a8: 0x189,
|
|
1473
|
-
_0x4cc131: 0x189,
|
|
1474
|
-
_0x4cd8c6: 0x27e,
|
|
1475
|
-
_0xcd5f02: 0x24f,
|
|
1476
|
-
_0x433048: 0x277,
|
|
1477
|
-
_0x339cab: 0x1e7,
|
|
1478
|
-
_0x32c6d7: 0x22f,
|
|
1479
|
-
_0x37831e: 0x20b
|
|
1480
|
-
}, _0x239665 = _0x5e54a5;
|
|
1481
|
-
if (_0xb81bde[_0x239665(_0x47ec0b._0x4b7c02)]['length'] === 0x0)
|
|
1482
|
-
return '##\x20Message\x20History\x20for\x20' + _0xb81bde[_0x239665(0x298)] + '\x20(0\x20messages)\x0a\x0aNo\x20messages\x20in\x20this\x20channel.';
|
|
1483
|
-
const _0x31a54b = _0xb81bde['messages'][_0x239665(0x209)](_0x2c4631 => {
|
|
1484
|
-
const _0x579053 = _0x239665, _0x1b77fc = _0x2c4631[_0x579053(_0x4163e6._0x3b18f7)] === _0x579053(_0x4163e6._0x3cb114) ? _0x579053(_0x4163e6._0x4d3b6d) : '', _0x30dd40 = _0x2c4631[_0x579053(_0x4163e6._0x1af0a8)] && _0x2c4631[_0x579053(_0x4163e6._0x4cc131)] !== _0x579053(0x28f) ? _0x579053(_0x4163e6._0x4cd8c6) + _0x2c4631['kind'] : '';
|
|
1485
|
-
return '[seq=' + _0x2c4631['seq'] + _0x579053(_0x4163e6._0xcd5f02) + _0x2c4631[_0x579053(0x210)] + _0x579053(_0x4163e6._0x433048) + toLocalTime(_0x2c4631[_0x579053(0x29f)]) + _0x1b77fc + _0x30dd40 + _0x579053(0x243) + _0x2c4631[_0x579053(_0x4163e6._0x339cab)] + ':\x20' + _0x2c4631[_0x579053(_0x4163e6._0x32c6d7)] + formatAttachmentSuffix(_0x2c4631[_0x579053(_0x4163e6._0x37831e)]);
|
|
1486
|
-
})['join']('\x0a'), _0x4be725 = _0xb81bde['hasMore'] && _0xb81bde['nextCursor'] ? _0x239665(_0x47ec0b._0x315d43) + _0xb81bde['messages']['length'] + '\x20messages\x20shown.\x20Use\x20before=' + _0xb81bde[_0x239665(0x1ee)] + _0x239665(0x1ab) : '';
|
|
1487
|
-
return _0x239665(0x1b1) + _0xb81bde[_0x239665(_0x47ec0b._0x3806a6)] + '\x20(' + _0xb81bde['messages'][_0x239665(_0x47ec0b._0x41e3e0)] + _0x239665(0x181) + _0x31a54b + _0x4be725;
|
|
1459
|
+
return _0x56dc();
|
|
1488
1460
|
}
|
|
1489
|
-
function formatServerDirectory(
|
|
1490
|
-
const
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1461
|
+
function formatServerDirectory(_0x583817) {
|
|
1462
|
+
const _0x41b454 = {
|
|
1463
|
+
_0x458069: 0x13b,
|
|
1464
|
+
_0x51c1af: 0x235,
|
|
1465
|
+
_0x561fbe: 0x182,
|
|
1466
|
+
_0xf7bcce: 0x14f,
|
|
1467
|
+
_0x1cd76e: 0x1f6,
|
|
1468
|
+
_0x1392cd: 0x21d,
|
|
1469
|
+
_0x12a57c: 0x14f,
|
|
1470
|
+
_0x872bf4: 0x10a,
|
|
1471
|
+
_0x3b32a8: 0xee,
|
|
1472
|
+
_0x5ac680: 0xfc,
|
|
1473
|
+
_0x4aae56: 0x21e
|
|
1474
|
+
}, _0x2c55da = _0x3b2449, _0x964531 = _0x583817['channels'][_0x2c55da(_0x41b454._0x458069)] > 0x0 ? _0x583817[_0x2c55da(_0x41b454._0x51c1af)][_0x2c55da(_0x41b454._0x561fbe)](_0x5615be => _0x5615be[_0x2c55da(0x15b)] ? _0x2c55da(0x151) + _0x5615be[_0x2c55da(0x1fa)] + _0x2c55da(0x14b) + _0x5615be[_0x2c55da(0x15b)] : _0x2c55da(0x151) + _0x5615be[_0x2c55da(0x1fa)])[_0x2c55da(_0x41b454._0xf7bcce)]('\x0a') : _0x2c55da(_0x41b454._0x1cd76e), _0x37a3c5 = _0x583817[_0x2c55da(_0x41b454._0x1392cd)]['length'] > 0x0 ? _0x583817[_0x2c55da(0x21d)][_0x2c55da(0x182)](_0x35a285 => _0x2c55da(0x16e) + _0x35a285['name'])[_0x2c55da(_0x41b454._0x12a57c)]('\x0a') : '(none)', _0x48b948 = _0x583817[_0x2c55da(0x10a)]['length'] > 0x0 ? _0x583817[_0x2c55da(_0x41b454._0x872bf4)][_0x2c55da(_0x41b454._0x561fbe)](_0x556d47 => '-\x20@' + _0x556d47['name'])[_0x2c55da(0x14f)]('\x0a') : '(none)';
|
|
1495
1475
|
return [
|
|
1496
|
-
|
|
1476
|
+
_0x2c55da(0x219) + _0x583817[_0x2c55da(_0x41b454._0x3b32a8)],
|
|
1497
1477
|
'',
|
|
1498
|
-
|
|
1499
|
-
|
|
1478
|
+
_0x2c55da(_0x41b454._0x5ac680),
|
|
1479
|
+
_0x964531,
|
|
1500
1480
|
'',
|
|
1501
|
-
|
|
1502
|
-
|
|
1481
|
+
_0x2c55da(_0x41b454._0x4aae56),
|
|
1482
|
+
_0x37a3c5,
|
|
1503
1483
|
'',
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
][
|
|
1484
|
+
_0x2c55da(0x210),
|
|
1485
|
+
_0x48b948
|
|
1486
|
+
][_0x2c55da(_0x41b454._0x12a57c)]('\x0a');
|
|
1507
1487
|
}
|
|
1508
|
-
function formatUploadResult(
|
|
1509
|
-
const
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1488
|
+
function formatUploadResult(_0x4cc468) {
|
|
1489
|
+
const _0x1ecb60 = {
|
|
1490
|
+
_0x6b8853: 0xd8,
|
|
1491
|
+
_0x32af88: 0x237,
|
|
1492
|
+
_0x45e2ba: 0x256,
|
|
1493
|
+
_0x4566d8: 0xdf,
|
|
1494
|
+
_0x1ec7b8: 0x18e
|
|
1495
|
+
}, _0x4dcda8 = _0x3b2449;
|
|
1496
|
+
return _0x4dcda8(_0x1ecb60._0x6b8853) + _0x4cc468[_0x4dcda8(_0x1ecb60._0x32af88)] + '\x20(' + (_0x4cc468[_0x4dcda8(_0x1ecb60._0x45e2ba)] / 0x400)[_0x4dcda8(_0x1ecb60._0x4566d8)](0x1) + 'KB)\x0aAttachment\x20ID:\x20' + _0x4cc468[_0x4dcda8(_0x1ecb60._0x1ec7b8)] + '\x0a\x0aUse\x20this\x20ID\x20in\x20send_message\x27s\x20attachment_ids\x20parameter\x20to\x20include\x20it\x20in\x20a\x20message.';
|
|
1514
1497
|
}
|
|
1515
|
-
function formatViewFileResult(
|
|
1516
|
-
const
|
|
1517
|
-
return
|
|
1498
|
+
function formatViewFileResult(_0x2b29a2, _0x32d3c4) {
|
|
1499
|
+
const _0x5154a8 = { _0x50f41e: 0x217 }, _0x39f013 = _0x3b2449;
|
|
1500
|
+
return _0x32d3c4 ? _0x39f013(_0x5154a8._0x50f41e) + _0x2b29a2 : 'Downloaded\x20to:\x20' + _0x2b29a2;
|
|
1518
1501
|
}
|
|
1519
|
-
function formatTaskList(
|
|
1520
|
-
const
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
},
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1502
|
+
function formatTaskList(_0x2b1b09, _0x150534) {
|
|
1503
|
+
const _0x4a8237 = {
|
|
1504
|
+
_0x32ba71: 0x239,
|
|
1505
|
+
_0x3cbf4c: 0x14f
|
|
1506
|
+
}, _0x17bc11 = {
|
|
1507
|
+
_0x4887c4: 0x257,
|
|
1508
|
+
_0xa85eb7: 0x146,
|
|
1509
|
+
_0x329f61: 0x1cf,
|
|
1510
|
+
_0xc914ec: 0x106,
|
|
1511
|
+
_0x4ab419: 0x146,
|
|
1512
|
+
_0x12cc8c: 0x240,
|
|
1513
|
+
_0x368812: 0x115,
|
|
1514
|
+
_0xde3386: 0x146,
|
|
1515
|
+
_0x12e403: 0x1cd,
|
|
1516
|
+
_0xfe473c: 0x144,
|
|
1517
|
+
_0x1ee261: 0x1d5
|
|
1518
|
+
}, _0x566524 = _0x3b2449;
|
|
1519
|
+
if (_0x2b1b09[_0x566524(0x13b)] === 0x0)
|
|
1520
|
+
return _0x566524(_0x4a8237._0x32ba71);
|
|
1521
|
+
return _0x2b1b09['map'](_0x1f6bd0 => {
|
|
1522
|
+
const _0xd23321 = _0x566524, _0x3fa762 = _0x1f6bd0[_0xd23321(0x146)] == null ? _0xd23321(_0x17bc11._0x4887c4) : _0x1f6bd0[_0xd23321(0x240)] != null ? '#' + _0x1f6bd0[_0xd23321(0x146)] + '.' + _0x1f6bd0[_0xd23321(0x240)] : '#' + _0x1f6bd0[_0xd23321(_0x17bc11._0xa85eb7)], _0x17047c = _0x1f6bd0['messageId'] ? _0xd23321(_0x17bc11._0x329f61) + _0x1f6bd0[_0xd23321(_0x17bc11._0xc914ec)] : '', _0x308baf = _0x150534 && _0x1f6bd0[_0xd23321(_0x17bc11._0x4ab419)] != null && !_0x1f6bd0[_0xd23321(_0x17bc11._0x12cc8c)] && _0x150534[_0xd23321(_0x17bc11._0x368812)](_0x1f6bd0[_0xd23321(_0x17bc11._0xde3386)]) ? _0xd23321(0x1bc) : '', _0x4efc43 = _0x1f6bd0[_0xd23321(_0x17bc11._0x12e403)] != null && _0x1f6bd0['childrenTotal'] > 0x0 ? '\x20(' + (_0x1f6bd0['childrenDone'] ?? 0x0) + '/' + _0x1f6bd0[_0xd23321(0x1cd)] + _0xd23321(0x12b) : '', _0x2df640 = _0x1f6bd0['assigneeName'] ? _0xd23321(_0x17bc11._0xfe473c) + _0x1f6bd0['assigneeName'] : '';
|
|
1523
|
+
return _0x3fa762 + '\x20[' + _0x1f6bd0[_0xd23321(_0x17bc11._0x1ee261)] + ']\x20' + _0x1f6bd0[_0xd23321(0x12e)] + _0x4efc43 + _0x2df640 + _0x17047c + _0x308baf;
|
|
1524
|
+
})[_0x566524(_0x4a8237._0x3cbf4c)]('\x0a');
|
|
1534
1525
|
}
|
|
1535
|
-
function formatCreatedTasks(
|
|
1536
|
-
const
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1526
|
+
function formatCreatedTasks(_0xe93216) {
|
|
1527
|
+
const _0x222d2b = {
|
|
1528
|
+
_0x2e9521: 0x13b,
|
|
1529
|
+
_0x43423f: 0x182,
|
|
1530
|
+
_0x3a9ab4: 0x14f
|
|
1531
|
+
}, _0x4a7dac = {
|
|
1532
|
+
_0x1d764d: 0x257,
|
|
1533
|
+
_0x34827a: 0x240,
|
|
1534
|
+
_0x2cd2eb: 0x1cf
|
|
1535
|
+
}, _0x4c00b0 = _0x3b2449;
|
|
1536
|
+
if (_0xe93216[_0x4c00b0(_0x222d2b._0x2e9521)] === 0x0)
|
|
1537
|
+
return 'No\x20tasks\x20created.';
|
|
1538
|
+
return _0xe93216[_0x4c00b0(_0x222d2b._0x43423f)](_0x4622b5 => {
|
|
1539
|
+
const _0x528c55 = _0x4c00b0, _0x11b804 = _0x4622b5[_0x528c55(0x146)] == null ? _0x528c55(_0x4a7dac._0x1d764d) : _0x4622b5[_0x528c55(0x240)] != null ? '#' + _0x4622b5['taskNumber'] + '.' + _0x4622b5[_0x528c55(_0x4a7dac._0x34827a)] : '#' + _0x4622b5[_0x528c55(0x146)], _0x4a6535 = _0x4622b5['messageId'] ? _0x528c55(_0x4a7dac._0x2cd2eb) + _0x4622b5[_0x528c55(0x106)] : '';
|
|
1540
|
+
return _0x11b804 + '\x20' + _0x4622b5[_0x528c55(0x12e)] + _0x4a6535;
|
|
1541
|
+
})[_0x4c00b0(_0x222d2b._0x3a9ab4)]('\x0a');
|
|
1546
1542
|
}
|
|
1547
|
-
function formatClaimTaskLabel(
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
return _0x4087b2 != null ? '#' + _0x51ae5d + '.' + _0x4087b2 : '#' + _0x51ae5d;
|
|
1543
|
+
function formatClaimTaskLabel(_0x288361, _0x29bed7) {
|
|
1544
|
+
if (_0x288361 == null)
|
|
1545
|
+
return '(legacy)';
|
|
1546
|
+
return _0x29bed7 != null ? '#' + _0x288361 + '.' + _0x29bed7 : '#' + _0x288361;
|
|
1552
1547
|
}
|
|
1553
|
-
function formatClaimTaskResults(
|
|
1554
|
-
const
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
_0x4b91ac[_0x2b8119(0x2c2)] ? _0x2b8119(_0x35b613._0x3e746e) + _0x4b91ac['executionMode'] : null,
|
|
1586
|
-
_0x4b91ac[_0x2b8119(0x18d)] ? _0x2b8119(_0x35b613._0x4541cf) + _0x4b91ac[_0x2b8119(0x18d)] : null,
|
|
1587
|
-
_0x4b91ac['workerDisposition'] ? _0x2b8119(_0x35b613._0x3d3aff) + _0x4b91ac[_0x2b8119(0x20c)] : null
|
|
1588
|
-
][_0x2b8119(0x2de)](Boolean)[_0x2b8119(_0x35b613._0x55b643)]('\x20');
|
|
1589
|
-
return _0x192aca + _0x2b8119(0x1fc) + _0x2ac57b + '\x20' + _0x31a59b + _0x2b8119(_0x35b613._0x2847b6);
|
|
1548
|
+
function formatClaimTaskResults(_0x359f63) {
|
|
1549
|
+
const _0x1fef7c = { _0x34f03e: 0x14f }, _0x472a6a = {
|
|
1550
|
+
_0x5d8f6f: 0x101,
|
|
1551
|
+
_0x5680d9: 0x106,
|
|
1552
|
+
_0x36ae7b: 0x19a,
|
|
1553
|
+
_0xa2def8: 0x138,
|
|
1554
|
+
_0x367636: 0x258,
|
|
1555
|
+
_0x12a3fc: 0x103,
|
|
1556
|
+
_0x2b0a6a: 0x1a8,
|
|
1557
|
+
_0x22b7c8: 0x22b,
|
|
1558
|
+
_0x2f1d0a: 0x18a,
|
|
1559
|
+
_0x1b66ad: 0x106,
|
|
1560
|
+
_0x56aa0b: 0x1c4,
|
|
1561
|
+
_0x40355e: 0x146,
|
|
1562
|
+
_0x45bda6: 0x1fd,
|
|
1563
|
+
_0x22ef52: 0x1d7
|
|
1564
|
+
}, _0x139f0f = _0x3b2449;
|
|
1565
|
+
if (_0x359f63['length'] === 0x0)
|
|
1566
|
+
return _0x139f0f(0x15e);
|
|
1567
|
+
return _0x359f63[_0x139f0f(0x182)](_0x2978a2 => {
|
|
1568
|
+
const _0x339b36 = _0x139f0f;
|
|
1569
|
+
if (_0x2978a2[_0x339b36(_0x472a6a._0x5d8f6f)]) {
|
|
1570
|
+
const _0x2de05c = formatClaimTaskLabel(_0x2978a2['taskNumber'], _0x2978a2[_0x339b36(0x240)]), _0x148195 = _0x2978a2[_0x339b36(_0x472a6a._0x5680d9)] ? '\x20message=' + _0x2978a2[_0x339b36(0x106)] : '';
|
|
1571
|
+
if (_0x2978a2['workerHandoff']) {
|
|
1572
|
+
const _0x3f8b7d = [
|
|
1573
|
+
'workerHandoff=true',
|
|
1574
|
+
_0x2978a2[_0x339b36(0x255)] ? _0x339b36(_0x472a6a._0x36ae7b) : null,
|
|
1575
|
+
_0x2978a2[_0x339b36(_0x472a6a._0xa2def8)] ? _0x339b36(_0x472a6a._0x367636) + _0x2978a2[_0x339b36(0x138)] : null,
|
|
1576
|
+
_0x2978a2['threadTarget'] ? _0x339b36(_0x472a6a._0x12a3fc) + _0x2978a2[_0x339b36(0x1bf)] : null,
|
|
1577
|
+
_0x2978a2['workerDisposition'] ? _0x339b36(_0x472a6a._0x2b0a6a) + _0x2978a2[_0x339b36(0x13e)] : null
|
|
1578
|
+
][_0x339b36(0x188)](Boolean)[_0x339b36(0x14f)]('\x20');
|
|
1579
|
+
return _0x2de05c + _0x339b36(_0x472a6a._0x22b7c8) + _0x148195 + '\x20' + _0x3f8b7d + _0x339b36(0x212);
|
|
1590
1580
|
}
|
|
1591
|
-
if (
|
|
1592
|
-
return
|
|
1593
|
-
const
|
|
1594
|
-
return
|
|
1581
|
+
if (_0x2978a2['executionMode'] === _0x339b36(0xdb))
|
|
1582
|
+
return _0x2de05c + '\x20claimed' + _0x148195 + _0x339b36(0x20f);
|
|
1583
|
+
const _0x15346b = _0x2978a2[_0x339b36(0x156)] ? _0x339b36(_0x472a6a._0x2f1d0a) + _0x2978a2[_0x339b36(0x156)] : '';
|
|
1584
|
+
return _0x2de05c + '\x20claimed' + _0x148195 + _0x15346b;
|
|
1595
1585
|
}
|
|
1596
|
-
const
|
|
1597
|
-
return
|
|
1598
|
-
})[
|
|
1586
|
+
const _0x4233ca = _0x2978a2[_0x339b36(0x146)] == null ? _0x2978a2[_0x339b36(_0x472a6a._0x1b66ad)] ?? _0x339b36(_0x472a6a._0x56aa0b) : formatClaimTaskLabel(_0x2978a2[_0x339b36(_0x472a6a._0x40355e)], _0x2978a2[_0x339b36(0x240)]);
|
|
1587
|
+
return _0x4233ca + '\x20failed:\x20' + (_0x2978a2[_0x339b36(_0x472a6a._0x45bda6)] ?? _0x339b36(_0x472a6a._0x22ef52));
|
|
1588
|
+
})[_0x139f0f(_0x1fef7c._0x34f03e)]('\x0a');
|
|
1599
1589
|
}
|
|
1600
|
-
function formatUnclaimTaskResult(
|
|
1601
|
-
const
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
},
|
|
1606
|
-
return
|
|
1590
|
+
function formatUnclaimTaskResult(_0x32ab8a) {
|
|
1591
|
+
const _0x496c50 = {
|
|
1592
|
+
_0x105cd3: 0x146,
|
|
1593
|
+
_0x42a292: 0x257,
|
|
1594
|
+
_0x375bfb: 0x1d5
|
|
1595
|
+
}, _0x323d33 = _0x3b2449, _0x5e86d4 = _0x32ab8a[_0x323d33(_0x496c50._0x105cd3)] == null ? _0x323d33(_0x496c50._0x42a292) : _0x32ab8a[_0x323d33(0x240)] != null ? '#' + _0x32ab8a[_0x323d33(_0x496c50._0x105cd3)] + '.' + _0x32ab8a['subtaskNumber'] : '#' + _0x32ab8a[_0x323d33(0x146)];
|
|
1596
|
+
return _0x5e86d4 + _0x323d33(0x248) + _0x32ab8a[_0x323d33(_0x496c50._0x375bfb)];
|
|
1607
1597
|
}
|
|
1608
|
-
function formatUpdateTaskStatusResult(
|
|
1609
|
-
const
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
},
|
|
1617
|
-
if (
|
|
1618
|
-
return
|
|
1619
|
-
return
|
|
1598
|
+
function formatUpdateTaskStatusResult(_0x2c0400) {
|
|
1599
|
+
const _0x4aa881 = {
|
|
1600
|
+
_0x379523: 0x257,
|
|
1601
|
+
_0x463815: 0x240,
|
|
1602
|
+
_0x544170: 0x146,
|
|
1603
|
+
_0x5aadcf: 0x1d5,
|
|
1604
|
+
_0x1785ce: 0x231,
|
|
1605
|
+
_0x19e7aa: 0x22e
|
|
1606
|
+
}, _0x4f1778 = _0x3b2449, _0x43614b = _0x2c0400['taskNumber'] == null ? _0x4f1778(_0x4aa881._0x379523) : _0x2c0400[_0x4f1778(_0x4aa881._0x463815)] != null ? '#' + _0x2c0400[_0x4f1778(_0x4aa881._0x544170)] + '.' + _0x2c0400['subtaskNumber'] : '#' + _0x2c0400[_0x4f1778(0x146)], _0x244f2a = _0x43614b + _0x4f1778(0x248) + _0x2c0400[_0x4f1778(0x1d5)];
|
|
1607
|
+
if (_0x2c0400[_0x4f1778(_0x4aa881._0x5aadcf)] !== _0x4f1778(_0x4aa881._0x1785ce))
|
|
1608
|
+
return _0x244f2a;
|
|
1609
|
+
return _0x244f2a + _0x4f1778(_0x4aa881._0x19e7aa);
|
|
1620
1610
|
}
|
|
1621
1611
|
function getChatBridgeToolDefinitions() {
|
|
1622
|
-
const
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
_0x42385f: 0x1cd,
|
|
1629
|
-
_0x3975b8: 0x2b6,
|
|
1630
|
-
_0x3ebacf: 0x2ee
|
|
1631
|
-
}, _0x211862 = _0x5e54a5;
|
|
1612
|
+
const _0x2c8649 = {
|
|
1613
|
+
_0x2dafc8: 0xd1,
|
|
1614
|
+
_0xef9164: 0x1ba,
|
|
1615
|
+
_0x2fa7ac: 0x23c,
|
|
1616
|
+
_0x4a0aa9: 0x1c2
|
|
1617
|
+
}, _0x1c1aa7 = _0x3b2449;
|
|
1632
1618
|
return [
|
|
1633
|
-
{ 'name':
|
|
1634
|
-
{ 'name':
|
|
1635
|
-
{ 'name':
|
|
1636
|
-
{ 'name':
|
|
1637
|
-
{ 'name':
|
|
1638
|
-
{ 'name':
|
|
1639
|
-
{ 'name':
|
|
1640
|
-
{ 'name':
|
|
1641
|
-
{ 'name':
|
|
1642
|
-
{ 'name':
|
|
1619
|
+
{ 'name': 'send_message' },
|
|
1620
|
+
{ 'name': 'check_messages' },
|
|
1621
|
+
{ 'name': _0x1c1aa7(_0x2c8649._0x2dafc8) },
|
|
1622
|
+
{ 'name': _0x1c1aa7(_0x2c8649._0xef9164) },
|
|
1623
|
+
{ 'name': _0x1c1aa7(0x142) },
|
|
1624
|
+
{ 'name': _0x1c1aa7(_0x2c8649._0x2fa7ac) },
|
|
1625
|
+
{ 'name': _0x1c1aa7(0x204) },
|
|
1626
|
+
{ 'name': 'create_tasks' },
|
|
1627
|
+
{ 'name': _0x1c1aa7(_0x2c8649._0x4a0aa9) },
|
|
1628
|
+
{ 'name': 'unclaim_task' },
|
|
1643
1629
|
{ 'name': 'update_task_status' },
|
|
1644
|
-
{ 'name':
|
|
1645
|
-
{ 'name':
|
|
1646
|
-
{ 'name':
|
|
1647
|
-
{ 'name':
|
|
1630
|
+
{ 'name': _0x1c1aa7(0x1c6) },
|
|
1631
|
+
{ 'name': 'park_worker' },
|
|
1632
|
+
{ 'name': 'escalate_to_main' },
|
|
1633
|
+
{ 'name': _0x1c1aa7(0x14c) }
|
|
1648
1634
|
];
|
|
1649
1635
|
}
|
|
1650
|
-
function createChatBridgeHandlers(
|
|
1651
|
-
const
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
_0x16902f: 0x1c0,
|
|
1779
|
-
_0x2441ca: 0x21a
|
|
1780
|
-
}, _0x393a47 = {
|
|
1781
|
-
_0x7711a1: 0x26a,
|
|
1782
|
-
_0xb32849: 0x1c5
|
|
1783
|
-
}, _0x28f47a = _0x5e54a5;
|
|
1784
|
-
function _0x5d7ba3(_0x2892c1, _0x4fe838) {
|
|
1785
|
-
const _0x423fbd = _0x3280;
|
|
1786
|
-
if (!_0x2aabed[_0x423fbd(0x267)])
|
|
1636
|
+
function createChatBridgeHandlers(_0x29d686) {
|
|
1637
|
+
const _0x4c7f42 = { _0x11c50a: 0x18c }, _0x2d09f2 = {
|
|
1638
|
+
_0x2afaba: 0x201,
|
|
1639
|
+
_0x2b00e6: 0x1b4,
|
|
1640
|
+
_0x20065b: 0x251,
|
|
1641
|
+
_0x43861e: 0x1fd,
|
|
1642
|
+
_0x1d359d: 0x197
|
|
1643
|
+
}, _0x4d77e8 = {
|
|
1644
|
+
_0x3b151b: 0x139,
|
|
1645
|
+
_0xfe08ae: 0x139,
|
|
1646
|
+
_0x3b32d4: 0x148,
|
|
1647
|
+
_0x4358bc: 0x24d,
|
|
1648
|
+
_0x3c25cf: 0x251
|
|
1649
|
+
}, _0x4ef5db = {
|
|
1650
|
+
_0x2bbc7b: 0x251,
|
|
1651
|
+
_0x33ec62: 0x198,
|
|
1652
|
+
_0x28400f: 0x251
|
|
1653
|
+
}, _0x94e9b1 = {
|
|
1654
|
+
_0x31f231: 0x139,
|
|
1655
|
+
_0x4ef4af: 0x201,
|
|
1656
|
+
_0x48d88b: 0x16f,
|
|
1657
|
+
_0x9615ca: 0x251,
|
|
1658
|
+
_0x424133: 0x1b2,
|
|
1659
|
+
_0x3cfbbd: 0x209,
|
|
1660
|
+
_0x3f2c72: 0x251,
|
|
1661
|
+
_0x3ff84d: 0x1d5
|
|
1662
|
+
}, _0x4adf19 = {
|
|
1663
|
+
_0x28df79: 0xe9,
|
|
1664
|
+
_0x3f6853: 0x14d,
|
|
1665
|
+
_0x55f889: 0x177
|
|
1666
|
+
}, _0x201a22 = {
|
|
1667
|
+
_0x3db4f0: 0x23f,
|
|
1668
|
+
_0xea62ed: 0x164,
|
|
1669
|
+
_0x5d7aaf: 0x1ac
|
|
1670
|
+
}, _0x2da306 = { _0x1ec14a: 0x11e }, _0x31e873 = { _0x1d7ed7: 0x1e7 }, _0x1fb41d = {
|
|
1671
|
+
_0x5d5ec4: 0x1c2,
|
|
1672
|
+
_0x20547b: 0x1ac,
|
|
1673
|
+
_0x259c1f: 0x124,
|
|
1674
|
+
_0x39611b: 0x16d,
|
|
1675
|
+
_0x3c9635: 0x1ee,
|
|
1676
|
+
_0x1c85bb: 0x1ee,
|
|
1677
|
+
_0xc46ceb: 0x13b,
|
|
1678
|
+
_0x4e15ca: 0x164,
|
|
1679
|
+
_0xdf7d00: 0x233
|
|
1680
|
+
}, _0xb680a2 = {
|
|
1681
|
+
_0x337d25: 0x1ac,
|
|
1682
|
+
_0x1d8957: 0x1fb
|
|
1683
|
+
}, _0x1b6897 = {
|
|
1684
|
+
_0x960a13: 0x164,
|
|
1685
|
+
_0x1520d5: 0x169
|
|
1686
|
+
}, _0x40cee8 = {
|
|
1687
|
+
_0x259c4e: 0x164,
|
|
1688
|
+
_0x5b5e94: 0x158,
|
|
1689
|
+
_0x406d49: 0x17d,
|
|
1690
|
+
_0x5c75b9: 0x241,
|
|
1691
|
+
_0x198d21: 0x1d5,
|
|
1692
|
+
_0x2cf0c3: 0x169,
|
|
1693
|
+
_0x6b344f: 0x146,
|
|
1694
|
+
_0x276076: 0x196,
|
|
1695
|
+
_0x5bc254: 0x1b7,
|
|
1696
|
+
_0x2020bf: 0x169,
|
|
1697
|
+
_0x409cac: 0x10f,
|
|
1698
|
+
_0x32bfc1: 0x146
|
|
1699
|
+
}, _0x332117 = { _0x1a6717: 0x19b }, _0x5969f3 = {
|
|
1700
|
+
_0x555c7b: 0x108,
|
|
1701
|
+
_0xcc05d7: 0xd5
|
|
1702
|
+
}, _0x318372 = {
|
|
1703
|
+
_0x5804f2: 0x211,
|
|
1704
|
+
_0x4818ac: 0x19d,
|
|
1705
|
+
_0xd13348: 0x234,
|
|
1706
|
+
_0x364a41: 0x123,
|
|
1707
|
+
_0x22c59b: 0x22d,
|
|
1708
|
+
_0x2f19fe: 0x214,
|
|
1709
|
+
_0x4e6753: 0x123,
|
|
1710
|
+
_0x57bdd8: 0x146,
|
|
1711
|
+
_0x12c43e: 0x123,
|
|
1712
|
+
_0x5221a5: 0x1dc,
|
|
1713
|
+
_0x48f4b4: 0x1f9,
|
|
1714
|
+
_0x144c31: 0x1ae,
|
|
1715
|
+
_0x13bbeb: 0x12a,
|
|
1716
|
+
_0x1a5b30: 0x190,
|
|
1717
|
+
_0x124083: 0x162,
|
|
1718
|
+
_0x53e04a: 0x1fb,
|
|
1719
|
+
_0x326e34: 0x14f,
|
|
1720
|
+
_0x25dfd5: 0x18d,
|
|
1721
|
+
_0x1fc8f7: 0x1f9,
|
|
1722
|
+
_0x1f9be9: 0x13a,
|
|
1723
|
+
_0x3309d9: 0x227,
|
|
1724
|
+
_0x186bb8: 0x110,
|
|
1725
|
+
_0xd81509: 0x140,
|
|
1726
|
+
_0x18ef3b: 0x214,
|
|
1727
|
+
_0x406507: 0x123,
|
|
1728
|
+
_0x489c79: 0x106
|
|
1729
|
+
}, _0x532a3 = {
|
|
1730
|
+
_0xe5fb69: 0x19d,
|
|
1731
|
+
_0x33ae28: 0x139,
|
|
1732
|
+
_0x308363: 0x1f1,
|
|
1733
|
+
_0x64bf83: 0x1d5,
|
|
1734
|
+
_0xb4d324: 0x1de
|
|
1735
|
+
}, _0x1a8185 = {
|
|
1736
|
+
_0x34465a: 0x1f1,
|
|
1737
|
+
_0x3b7d59: 0x17d,
|
|
1738
|
+
_0x59d34d: 0x10b,
|
|
1739
|
+
_0x2c91f1: 0x196
|
|
1740
|
+
}, _0x1df01c = {
|
|
1741
|
+
_0x1cd6ae: 0x1ac,
|
|
1742
|
+
_0x2425a0: 0x23a,
|
|
1743
|
+
_0x55fd05: 0x1ac,
|
|
1744
|
+
_0x124435: 0x257,
|
|
1745
|
+
_0x46499b: 0x163,
|
|
1746
|
+
_0x2cdca9: 0x164,
|
|
1747
|
+
_0x577516: 0x19b,
|
|
1748
|
+
_0x28fe5d: 0x146,
|
|
1749
|
+
_0x326855: 0x106,
|
|
1750
|
+
_0x209952: 0x252,
|
|
1751
|
+
_0x4b3aeb: 0x14f,
|
|
1752
|
+
_0x28f4af: 0x139,
|
|
1753
|
+
_0x4f2a6a: 0x18d,
|
|
1754
|
+
_0x517793: 0x1ab,
|
|
1755
|
+
_0x39f0a5: 0x19d,
|
|
1756
|
+
_0x517866: 0x1fb,
|
|
1757
|
+
_0x54cf3b: 0x259,
|
|
1758
|
+
_0x50c32b: 0x11b,
|
|
1759
|
+
_0x32f5ab: 0x227
|
|
1760
|
+
}, _0x131fa8 = { _0x641651: 0x120 }, _0x545f49 = _0x3b2449;
|
|
1761
|
+
function _0x366b57(_0xafdd6d, _0x4fee08) {
|
|
1762
|
+
const _0x158c0e = _0x24f4;
|
|
1763
|
+
if (!_0x29d686[_0x158c0e(0xd5)])
|
|
1787
1764
|
return;
|
|
1788
|
-
if (!
|
|
1789
|
-
throw new Error(
|
|
1790
|
-
if (
|
|
1791
|
-
throw new Error(
|
|
1765
|
+
if (!_0x29d686[_0x158c0e(0x1e8)])
|
|
1766
|
+
throw new Error(_0xafdd6d + ':\x20worker\x20runtime\x20missing\x20workerThreadTarget;\x20cannot\x20validate\x20scope');
|
|
1767
|
+
if (_0x4fee08 !== _0x29d686[_0x158c0e(0x1e8)])
|
|
1768
|
+
throw new Error(_0xafdd6d + _0x158c0e(_0x131fa8._0x641651) + _0x29d686[_0x158c0e(0x1e8)] + ');\x20got\x20channel=' + _0x4fee08);
|
|
1792
1769
|
}
|
|
1793
|
-
async function
|
|
1794
|
-
const
|
|
1795
|
-
if (!
|
|
1770
|
+
async function _0x462d78(_0x1022d2) {
|
|
1771
|
+
const _0x571433 = _0x24f4;
|
|
1772
|
+
if (!_0x29d686[_0x571433(0x139)] || !_0x29d686['agentId'] || _0x29d686[_0x571433(0xd5)] || _0x29d686['workerModeEnabled'] !== !![])
|
|
1796
1773
|
return null;
|
|
1797
|
-
const
|
|
1798
|
-
if (
|
|
1774
|
+
const _0x5bd0bc = parseTarget(_0x1022d2[_0x571433(_0x1df01c._0x1cd6ae)]);
|
|
1775
|
+
if (_0x5bd0bc[_0x571433(_0x1df01c._0x2425a0)] !== _0x571433(_0x1df01c._0x55fd05))
|
|
1799
1776
|
return null;
|
|
1800
|
-
if (
|
|
1801
|
-
const
|
|
1777
|
+
if (_0x1022d2[_0x571433(0x138)] === _0x571433(0xdb)) {
|
|
1778
|
+
const _0x3c40d5 = _0x1022d2[_0x571433(0x146)] == null ? _0x571433(_0x1df01c._0x124435) : '#' + _0x1022d2[_0x571433(0x146)];
|
|
1802
1779
|
return {
|
|
1803
|
-
'executionMode':
|
|
1780
|
+
'executionMode': _0x571433(0xdb),
|
|
1804
1781
|
'stopMain': ![],
|
|
1805
1782
|
'workerHandoff': ![],
|
|
1806
|
-
'workerHandoffError':
|
|
1783
|
+
'workerHandoffError': _0x571433(_0x1df01c._0x46499b) + _0x3c40d5 + _0x571433(0x23e)
|
|
1807
1784
|
};
|
|
1808
1785
|
}
|
|
1809
|
-
const
|
|
1810
|
-
let
|
|
1786
|
+
const _0x1ccd1d = _0x1022d2['threadNumber'] != null ? _0x5bd0bc['channelTarget'] + ':t' + _0x1022d2[_0x571433(0x21a)] : _0x5bd0bc['channelTarget'] + ':' + _0x1022d2[_0x571433(0x106)];
|
|
1787
|
+
let _0x590875;
|
|
1811
1788
|
try {
|
|
1812
|
-
const
|
|
1813
|
-
'channel':
|
|
1789
|
+
const _0x26a572 = await _0x29d686[_0x571433(_0x1df01c._0x2cdca9)][_0x571433(_0x1df01c._0x577516)]({
|
|
1790
|
+
'channel': _0x1ccd1d,
|
|
1814
1791
|
'limit': 0x14
|
|
1815
1792
|
});
|
|
1816
|
-
|
|
1793
|
+
_0x590875 = _0x26a572['messages']['find'](_0xfee576 => _0xfee576[_0x571433(0x106)] === _0x1022d2[_0x571433(0x106)]);
|
|
1817
1794
|
} catch {
|
|
1818
|
-
|
|
1795
|
+
_0x590875 = void 0x0;
|
|
1819
1796
|
}
|
|
1820
|
-
const
|
|
1821
|
-
'[target=' +
|
|
1797
|
+
const _0x2fb58a = _0x1022d2['taskNumber'] == null ? '(legacy)' : '#' + _0x1022d2[_0x571433(_0x1df01c._0x28fe5d)], _0x5b66c1 = [
|
|
1798
|
+
'[target=' + _0x1ccd1d + '\x20msg=' + _0x1022d2[_0x571433(_0x1df01c._0x326855)][_0x571433(0x180)](0x0, 0x8) + _0x571433(0x143) + new Date()[_0x571433(0x223)]() + ']\x20@system:\x20[claim-handoff]\x20' + _0x2fb58a + '\x20已切换到\x20worker\x20执行',
|
|
1822
1799
|
'',
|
|
1823
|
-
|
|
1800
|
+
_0x590875 ? _0x571433(0x167) + _0x590875[_0x571433(0x127)] : _0x571433(0x117) + _0x1022d2[_0x571433(0x106)],
|
|
1824
1801
|
'',
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
][
|
|
1828
|
-
'method':
|
|
1829
|
-
'headers': { 'Content-Type':
|
|
1830
|
-
'body': JSON[
|
|
1831
|
-
'agent_id':
|
|
1832
|
-
'thread_target':
|
|
1802
|
+
'Thread\x20target:\x20' + _0x1ccd1d,
|
|
1803
|
+
_0x571433(_0x1df01c._0x209952)
|
|
1804
|
+
][_0x571433(_0x1df01c._0x4b3aeb)]('\x0a'), _0x4f2e69 = await fetch(_0x29d686[_0x571433(_0x1df01c._0x28f4af)] + _0x571433(0x1ec), {
|
|
1805
|
+
'method': 'POST',
|
|
1806
|
+
'headers': { 'Content-Type': _0x571433(_0x1df01c._0x4f2a6a) },
|
|
1807
|
+
'body': JSON[_0x571433(_0x1df01c._0x517793)]({
|
|
1808
|
+
'agent_id': _0x29d686[_0x571433(_0x1df01c._0x39f0a5)],
|
|
1809
|
+
'thread_target': _0x1ccd1d,
|
|
1833
1810
|
'spawn_packet': {
|
|
1834
|
-
'replyTarget':
|
|
1835
|
-
...
|
|
1811
|
+
'replyTarget': _0x1ccd1d,
|
|
1812
|
+
..._0x1022d2[_0x571433(0x1fb)] ? { 'taskId': _0x1022d2[_0x571433(_0x1df01c._0x517866)] } : _0x1022d2[_0x571433(0x146)] != null ? { 'taskId': _0x571433(0x1c1) + _0x1022d2[_0x571433(0x146)] } : {}
|
|
1836
1813
|
},
|
|
1837
1814
|
'payload': {
|
|
1838
1815
|
'mode': 'user',
|
|
1839
|
-
'text':
|
|
1816
|
+
'text': _0x5b66c1
|
|
1840
1817
|
}
|
|
1841
1818
|
})
|
|
1842
|
-
}),
|
|
1843
|
-
if (!
|
|
1844
|
-
throw new Error(
|
|
1819
|
+
}), _0x2c06c6 = await _0x4f2e69[_0x571433(0x17d)]();
|
|
1820
|
+
if (!_0x2c06c6['ok'])
|
|
1821
|
+
throw new Error(_0x2c06c6[_0x571433(_0x1df01c._0x54cf3b)] ?? _0x571433(_0x1df01c._0x50c32b));
|
|
1845
1822
|
return {
|
|
1846
1823
|
'stopMain': !![],
|
|
1847
|
-
'threadTarget':
|
|
1848
|
-
'workerDisposition':
|
|
1824
|
+
'threadTarget': _0x1ccd1d,
|
|
1825
|
+
'workerDisposition': _0x2c06c6[_0x571433(_0x1df01c._0x32f5ab)] === _0x571433(0xdd) ? 'queued' : _0x571433(0x110),
|
|
1849
1826
|
'workerHandoff': !![],
|
|
1850
|
-
'workerSessionId':
|
|
1851
|
-
'executionMode':
|
|
1827
|
+
'workerSessionId': _0x2c06c6[_0x571433(0xf2)] ?? '',
|
|
1828
|
+
'executionMode': _0x571433(0x184)
|
|
1852
1829
|
};
|
|
1853
1830
|
}
|
|
1854
|
-
async function
|
|
1855
|
-
const
|
|
1856
|
-
if (!
|
|
1831
|
+
async function _0x18f3ce() {
|
|
1832
|
+
const _0x541d12 = _0x24f4;
|
|
1833
|
+
if (!_0x29d686[_0x541d12(0x139)] || !_0x29d686[_0x541d12(0x19d)] || _0x29d686[_0x541d12(0xd5)])
|
|
1857
1834
|
return null;
|
|
1858
1835
|
try {
|
|
1859
|
-
const
|
|
1860
|
-
if (!
|
|
1836
|
+
const _0x4adf75 = await fetch(_0x29d686[_0x541d12(0x139)] + _0x541d12(_0x1a8185._0x34465a) + encodeURIComponent(_0x29d686[_0x541d12(0x19d)])), _0x300a55 = await _0x4adf75[_0x541d12(_0x1a8185._0x3b7d59)]();
|
|
1837
|
+
if (!_0x300a55['ok'])
|
|
1861
1838
|
return null;
|
|
1862
|
-
const
|
|
1863
|
-
for (const
|
|
1864
|
-
|
|
1839
|
+
const _0xc743cb = new Set();
|
|
1840
|
+
for (const _0x3752da of _0x300a55['workers']) {
|
|
1841
|
+
_0x3752da['status'] !== _0x541d12(_0x1a8185._0x59d34d) && _0x3752da[_0x541d12(0x1de)] && _0xc743cb[_0x541d12(_0x1a8185._0x2c91f1)](_0x3752da[_0x541d12(0x1de)]);
|
|
1865
1842
|
}
|
|
1866
|
-
return
|
|
1843
|
+
return _0xc743cb[_0x541d12(0x253)] > 0x0 ? _0xc743cb : null;
|
|
1867
1844
|
} catch {
|
|
1868
1845
|
return null;
|
|
1869
1846
|
}
|
|
1870
1847
|
}
|
|
1871
|
-
const
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1848
|
+
const _0x210a9d = new Set([
|
|
1849
|
+
_0x545f49(_0x4c7f42._0x11c50a),
|
|
1850
|
+
_0x545f49(0x154),
|
|
1851
|
+
_0x545f49(0x254)
|
|
1875
1852
|
]);
|
|
1876
|
-
async function
|
|
1877
|
-
const
|
|
1878
|
-
if (!
|
|
1853
|
+
async function _0x63decf() {
|
|
1854
|
+
const _0x51a52e = _0x545f49;
|
|
1855
|
+
if (!_0x29d686[_0x51a52e(0x139)] || !_0x29d686[_0x51a52e(_0x532a3._0xe5fb69)] || _0x29d686['workerMode'])
|
|
1879
1856
|
return null;
|
|
1880
1857
|
try {
|
|
1881
|
-
const
|
|
1882
|
-
if (!
|
|
1858
|
+
const _0x3242d2 = await fetch(_0x29d686[_0x51a52e(_0x532a3._0x33ae28)] + _0x51a52e(_0x532a3._0x308363) + encodeURIComponent(_0x29d686[_0x51a52e(0x19d)])), _0x3af3ec = await _0x3242d2[_0x51a52e(0x17d)]();
|
|
1859
|
+
if (!_0x3af3ec['ok'])
|
|
1883
1860
|
return null;
|
|
1884
|
-
const
|
|
1885
|
-
for (const
|
|
1886
|
-
|
|
1861
|
+
const _0x3b5ffa = new Set();
|
|
1862
|
+
for (const _0x135753 of _0x3af3ec[_0x51a52e(0x241)]) {
|
|
1863
|
+
_0x210a9d[_0x51a52e(0x115)](_0x135753[_0x51a52e(_0x532a3._0x64bf83)]) && _0x135753['thread_target'] && _0x3b5ffa['add'](_0x135753[_0x51a52e(_0x532a3._0xb4d324)]);
|
|
1887
1864
|
}
|
|
1888
|
-
return
|
|
1865
|
+
return _0x3b5ffa['size'] > 0x0 ? _0x3b5ffa : null;
|
|
1889
1866
|
} catch {
|
|
1890
1867
|
return null;
|
|
1891
1868
|
}
|
|
1892
1869
|
}
|
|
1893
1870
|
return {
|
|
1894
|
-
async 'send_message'(
|
|
1895
|
-
const
|
|
1896
|
-
if (!
|
|
1897
|
-
const
|
|
1898
|
-
if (
|
|
1899
|
-
if (
|
|
1900
|
-
const
|
|
1901
|
-
'attachmentIds':
|
|
1902
|
-
'content':
|
|
1903
|
-
'target':
|
|
1904
|
-
'visibility':
|
|
1871
|
+
async 'send_message'(_0x56d64b) {
|
|
1872
|
+
const _0x5980df = _0x545f49;
|
|
1873
|
+
if (!_0x29d686[_0x5980df(0xd5)] && _0x29d686[_0x5980df(_0x318372._0x5804f2)] && _0x29d686[_0x5980df(0x139)] && _0x29d686[_0x5980df(_0x318372._0x4818ac)]) {
|
|
1874
|
+
const _0x5e549e = await _0x29d686[_0x5980df(0x164)][_0x5980df(_0x318372._0xd13348)](_0x56d64b[_0x5980df(_0x318372._0x364a41)]);
|
|
1875
|
+
if (_0x5e549e[_0x5980df(_0x318372._0x22c59b)] && _0x5e549e[_0x5980df(0x1dc)]) {
|
|
1876
|
+
if (_0x5e549e[_0x5980df(0x22d)][_0x5980df(0x138)] === _0x5980df(0xdb)) {
|
|
1877
|
+
const _0x1a8ef1 = await _0x29d686[_0x5980df(0x164)][_0x5980df(0x140)]({
|
|
1878
|
+
'attachmentIds': _0x56d64b[_0x5980df(0x22f)],
|
|
1879
|
+
'content': _0x56d64b[_0x5980df(0x127)],
|
|
1880
|
+
'target': _0x56d64b[_0x5980df(0x123)],
|
|
1881
|
+
'visibility': _0x56d64b[_0x5980df(_0x318372._0x2f19fe)]
|
|
1905
1882
|
});
|
|
1906
|
-
return 'Message\x20sent\x20to\x20' +
|
|
1883
|
+
return 'Message\x20sent\x20to\x20' + _0x56d64b[_0x5980df(_0x318372._0x4e6753)] + '.\x20Message\x20ID:\x20' + _0x1a8ef1['messageId'];
|
|
1907
1884
|
}
|
|
1908
|
-
const
|
|
1909
|
-
if (
|
|
1885
|
+
const _0xabbe24 = _0x5e549e['task'][_0x5980df(0x146)] != null ? '#' + _0x5e549e['task'][_0x5980df(_0x318372._0x57bdd8)] : '(legacy)', _0x554138 = _0x5e549e['threadNumber'] != null ? _0x5e549e[_0x5980df(_0x318372._0x12c43e)] + ':t' + _0x5e549e['threadNumber'] : _0x5e549e[_0x5980df(_0x318372._0x364a41)] + ':' + _0x5e549e[_0x5980df(_0x318372._0x5221a5)][_0x5980df(0x180)](0x0, 0x8), _0x53e9cf = await _0x63decf();
|
|
1886
|
+
if (_0x53e9cf?.[_0x5980df(0x115)](_0x554138))
|
|
1910
1887
|
return [
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
][
|
|
1914
|
-
const
|
|
1915
|
-
'[target=' +
|
|
1888
|
+
_0x5980df(0x122) + _0xabbe24 + _0x5980df(_0x318372._0x48f4b4) + _0x554138 + _0x5980df(_0x318372._0x144c31),
|
|
1889
|
+
_0x5980df(_0x318372._0x13bbeb)
|
|
1890
|
+
]['join']('\x0a');
|
|
1891
|
+
const _0x4ff786 = [
|
|
1892
|
+
'[target=' + _0x554138 + _0x5980df(_0x318372._0x1a5b30) + new Date()['toISOString']() + _0x5980df(_0x318372._0x124083),
|
|
1916
1893
|
'',
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
][
|
|
1922
|
-
'method':
|
|
1923
|
-
'headers': { 'Content-Type':
|
|
1924
|
-
'body': JSON[
|
|
1925
|
-
'agent_id':
|
|
1926
|
-
'thread_target':
|
|
1894
|
+
_0x5980df(0x1ff) + _0x56d64b[_0x5980df(0x127)],
|
|
1895
|
+
_0x5980df(0x147) + _0xabbe24 + '\x20(' + _0x5e549e[_0x5980df(0x22d)][_0x5980df(_0x318372._0x53e04a)] + ')',
|
|
1896
|
+
_0x5980df(0x245) + _0x554138,
|
|
1897
|
+
_0x5980df(0xe8)
|
|
1898
|
+
][_0x5980df(_0x318372._0x326e34)]('\x0a'), _0x32c099 = await fetch(_0x29d686[_0x5980df(0x139)] + '/workers/deliver', {
|
|
1899
|
+
'method': 'POST',
|
|
1900
|
+
'headers': { 'Content-Type': _0x5980df(_0x318372._0x25dfd5) },
|
|
1901
|
+
'body': JSON[_0x5980df(0x1ab)]({
|
|
1902
|
+
'agent_id': _0x29d686[_0x5980df(0x19d)],
|
|
1903
|
+
'thread_target': _0x554138,
|
|
1927
1904
|
'spawn_packet': {
|
|
1928
|
-
'replyTarget':
|
|
1929
|
-
'taskId':
|
|
1905
|
+
'replyTarget': _0x554138,
|
|
1906
|
+
'taskId': _0x5e549e['task']['taskId']
|
|
1930
1907
|
},
|
|
1931
1908
|
'payload': {
|
|
1932
|
-
'mode':
|
|
1933
|
-
'text':
|
|
1909
|
+
'mode': _0x5980df(0x1e2),
|
|
1910
|
+
'text': _0x4ff786
|
|
1934
1911
|
}
|
|
1935
1912
|
})
|
|
1936
|
-
}),
|
|
1937
|
-
if (!
|
|
1938
|
-
throw new Error(
|
|
1913
|
+
}), _0x57261a = await _0x32c099[_0x5980df(0x17d)]();
|
|
1914
|
+
if (!_0x57261a['ok'])
|
|
1915
|
+
throw new Error(_0x57261a['error'] ?? 'enter-handoff\x20failed');
|
|
1939
1916
|
return [
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
][
|
|
1917
|
+
_0x5980df(0x16a) + _0xabbe24 + _0x5980df(_0x318372._0x1fc8f7) + _0x554138 + _0x5980df(_0x318372._0x1f9be9),
|
|
1918
|
+
'Worker\x20' + (_0x57261a[_0x5980df(_0x318372._0x3309d9)] === 'queued' ? _0x5980df(0xdd) : _0x5980df(_0x318372._0x186bb8)) + '.',
|
|
1919
|
+
_0x5980df(0x20a)
|
|
1920
|
+
]['join']('\x0a');
|
|
1944
1921
|
}
|
|
1945
1922
|
}
|
|
1946
|
-
const
|
|
1947
|
-
'attachmentIds':
|
|
1948
|
-
'content':
|
|
1949
|
-
'target':
|
|
1950
|
-
'visibility':
|
|
1923
|
+
const _0x413d01 = await _0x29d686['client'][_0x5980df(_0x318372._0xd81509)]({
|
|
1924
|
+
'attachmentIds': _0x56d64b[_0x5980df(0x22f)],
|
|
1925
|
+
'content': _0x56d64b[_0x5980df(0x127)],
|
|
1926
|
+
'target': _0x56d64b[_0x5980df(0x123)],
|
|
1927
|
+
'visibility': _0x56d64b[_0x5980df(_0x318372._0x18ef3b)]
|
|
1951
1928
|
});
|
|
1952
|
-
return 'Message\x20sent\x20to\x20' +
|
|
1929
|
+
return 'Message\x20sent\x20to\x20' + _0x56d64b[_0x5980df(_0x318372._0x406507)] + '.\x20Message\x20ID:\x20' + _0x413d01[_0x5980df(_0x318372._0x489c79)];
|
|
1953
1930
|
},
|
|
1954
1931
|
async 'check_messages'() {
|
|
1955
|
-
const
|
|
1956
|
-
if (!
|
|
1957
|
-
const
|
|
1958
|
-
if (
|
|
1959
|
-
return formatCheckMessages(
|
|
1932
|
+
const _0x16857c = _0x545f49, _0xfe924d = await _0x29d686['client'][_0x16857c(_0x5969f3._0x555c7b)]();
|
|
1933
|
+
if (!_0x29d686[_0x16857c(_0x5969f3._0xcc05d7)]) {
|
|
1934
|
+
const _0x5a88d5 = await _0x18f3ce();
|
|
1935
|
+
if (_0x5a88d5)
|
|
1936
|
+
return formatCheckMessages(_0xfe924d['messages']['filter'](_0x5ab9c7 => !_0x5a88d5[_0x16857c(0x115)](_0x5ab9c7['target'])));
|
|
1960
1937
|
}
|
|
1961
|
-
return formatCheckMessages(
|
|
1938
|
+
return formatCheckMessages(_0xfe924d['messages']);
|
|
1962
1939
|
},
|
|
1963
|
-
async 'read_history'(
|
|
1964
|
-
const
|
|
1965
|
-
return formatHistory(
|
|
1940
|
+
async 'read_history'(_0x4e164d) {
|
|
1941
|
+
const _0x3c2e1f = _0x545f49, _0x25514e = await _0x29d686['client'][_0x3c2e1f(_0x332117._0x1a6717)](_0x4e164d);
|
|
1942
|
+
return formatHistory(_0x25514e);
|
|
1966
1943
|
},
|
|
1967
1944
|
async 'list_server'() {
|
|
1968
|
-
const
|
|
1969
|
-
return formatServerDirectory(
|
|
1945
|
+
const _0xcb26ff = _0x545f49, _0x1a9b98 = await _0x29d686[_0xcb26ff(0x164)][_0xcb26ff(0x1b0)]();
|
|
1946
|
+
return formatServerDirectory(_0x1a9b98);
|
|
1970
1947
|
},
|
|
1971
|
-
async 'list_tasks'(
|
|
1972
|
-
const
|
|
1973
|
-
let
|
|
1974
|
-
if (
|
|
1948
|
+
async 'list_tasks'(_0x3189af) {
|
|
1949
|
+
const _0x53bc0e = _0x545f49, _0x528ab0 = await _0x29d686[_0x53bc0e(_0x40cee8._0x259c4e)][_0x53bc0e(_0x40cee8._0x5b5e94)](_0x3189af);
|
|
1950
|
+
let _0x19548c;
|
|
1951
|
+
if (_0x29d686[_0x53bc0e(0x139)] && _0x29d686['agentId'])
|
|
1975
1952
|
try {
|
|
1976
|
-
const
|
|
1977
|
-
if (
|
|
1978
|
-
const
|
|
1979
|
-
|
|
1980
|
-
for (const
|
|
1981
|
-
if (
|
|
1953
|
+
const _0x30da18 = await fetch(_0x29d686[_0x53bc0e(0x139)] + '/workers/list?agent_id=' + encodeURIComponent(_0x29d686[_0x53bc0e(0x19d)])), _0x44c1cd = await _0x30da18[_0x53bc0e(_0x40cee8._0x406d49)]();
|
|
1954
|
+
if (_0x44c1cd['ok']) {
|
|
1955
|
+
const _0x535162 = _0x3189af[_0x53bc0e(0x1ac)] + ':';
|
|
1956
|
+
_0x19548c = new Set();
|
|
1957
|
+
for (const _0xa9befe of _0x44c1cd[_0x53bc0e(_0x40cee8._0x5c75b9)]) {
|
|
1958
|
+
if (_0xa9befe[_0x53bc0e(_0x40cee8._0x198d21)] === _0x53bc0e(0x10b))
|
|
1982
1959
|
continue;
|
|
1983
|
-
if (
|
|
1984
|
-
const
|
|
1985
|
-
if (
|
|
1986
|
-
|
|
1960
|
+
if (_0xa9befe['thread_target']?.[_0x53bc0e(0x229)](_0x535162)) {
|
|
1961
|
+
const _0x21747e = _0xa9befe['thread_target'][_0x53bc0e(0x180)](_0x535162[_0x53bc0e(0x13b)]), _0x112e6d = _0x528ab0[_0x53bc0e(_0x40cee8._0x2cf0c3)]['find'](_0x2105a7 => _0x2105a7[_0x53bc0e(0x106)]?.['startsWith'](_0x21747e) === !![]);
|
|
1962
|
+
if (_0x112e6d?.[_0x53bc0e(_0x40cee8._0x6b344f)] != null) {
|
|
1963
|
+
_0x19548c[_0x53bc0e(_0x40cee8._0x276076)](_0x112e6d['taskNumber']);
|
|
1987
1964
|
continue;
|
|
1988
1965
|
}
|
|
1989
1966
|
}
|
|
1990
|
-
if (
|
|
1991
|
-
const
|
|
1992
|
-
|
|
1967
|
+
if (_0xa9befe[_0x53bc0e(_0x40cee8._0x5bc254)]) {
|
|
1968
|
+
const _0x59e8b5 = _0x528ab0[_0x53bc0e(_0x40cee8._0x2020bf)][_0x53bc0e(_0x40cee8._0x409cac)](_0x19c056 => _0x19c056[_0x53bc0e(0x1fb)] === _0xa9befe[_0x53bc0e(0x1b7)]);
|
|
1969
|
+
_0x59e8b5?.[_0x53bc0e(_0x40cee8._0x32bfc1)] != null && _0x19548c[_0x53bc0e(0x196)](_0x59e8b5['taskNumber']);
|
|
1993
1970
|
}
|
|
1994
1971
|
}
|
|
1995
1972
|
}
|
|
1996
1973
|
} catch {
|
|
1997
1974
|
}
|
|
1998
|
-
return formatTaskList(
|
|
1975
|
+
return formatTaskList(_0x528ab0[_0x53bc0e(0x169)], _0x19548c);
|
|
1999
1976
|
},
|
|
2000
|
-
async 'create_tasks'(
|
|
2001
|
-
const
|
|
2002
|
-
|
|
2003
|
-
const
|
|
2004
|
-
return formatCreatedTasks(
|
|
1977
|
+
async 'create_tasks'(_0x5700f0) {
|
|
1978
|
+
const _0x3534da = _0x545f49;
|
|
1979
|
+
_0x366b57('create_tasks', _0x5700f0['channel']);
|
|
1980
|
+
const _0x1d676c = await _0x29d686[_0x3534da(_0x1b6897._0x960a13)][_0x3534da(0x238)](_0x5700f0);
|
|
1981
|
+
return formatCreatedTasks(_0x1d676c[_0x3534da(_0x1b6897._0x1520d5)]);
|
|
2005
1982
|
},
|
|
2006
|
-
async 'claim_tasks'(
|
|
2007
|
-
const
|
|
2008
|
-
if (
|
|
2009
|
-
|
|
2010
|
-
if (
|
|
2011
|
-
throw new Error(
|
|
2012
|
-
if (!
|
|
1983
|
+
async 'claim_tasks'(_0x1c6849) {
|
|
1984
|
+
const _0x573fcf = _0x545f49;
|
|
1985
|
+
if (_0x29d686[_0x573fcf(0xd5)]) {
|
|
1986
|
+
_0x366b57(_0x573fcf(_0x1fb41d._0x5d5ec4), _0x1c6849[_0x573fcf(_0x1fb41d._0x20547b)]);
|
|
1987
|
+
if (_0x1c6849[_0x573fcf(0x124)] && _0x1c6849[_0x573fcf(_0x1fb41d._0x259c1f)]['length'] > 0x0)
|
|
1988
|
+
throw new Error(_0x573fcf(_0x1fb41d._0x39611b));
|
|
1989
|
+
if (!_0x1c6849[_0x573fcf(_0x1fb41d._0x3c9635)] || _0x1c6849[_0x573fcf(_0x1fb41d._0x1c85bb)][_0x573fcf(_0x1fb41d._0xc46ceb)] === 0x0)
|
|
2013
1990
|
throw new Error('claim_tasks:\x20worker\x20can\x20only\x20claim\x20subtasks\x20inside\x20its\x20own\x20task\x20thread\x20—\x20provide\x20subtask_numbers.');
|
|
2014
1991
|
}
|
|
2015
|
-
const
|
|
2016
|
-
const
|
|
2017
|
-
if (!
|
|
2018
|
-
return
|
|
1992
|
+
const _0x50f8e8 = await _0x29d686[_0x573fcf(_0x1fb41d._0x4e15ca)][_0x573fcf(0xe2)](_0x1c6849), _0x2fb896 = await Promise['all'](_0x50f8e8[_0x573fcf(_0x1fb41d._0xdf7d00)][_0x573fcf(0x182)](async _0x558001 => {
|
|
1993
|
+
const _0x562f73 = _0x573fcf;
|
|
1994
|
+
if (!_0x558001[_0x562f73(0x101)] || !_0x558001[_0x562f73(0x106)])
|
|
1995
|
+
return _0x558001;
|
|
2019
1996
|
try {
|
|
2020
|
-
const
|
|
2021
|
-
'channel':
|
|
2022
|
-
'executionMode':
|
|
2023
|
-
'messageId':
|
|
2024
|
-
'taskId':
|
|
2025
|
-
'taskNumber':
|
|
2026
|
-
'threadNumber':
|
|
1997
|
+
const _0x59eae5 = await _0x462d78({
|
|
1998
|
+
'channel': _0x1c6849[_0x562f73(_0xb680a2._0x337d25)],
|
|
1999
|
+
'executionMode': _0x558001[_0x562f73(0x138)],
|
|
2000
|
+
'messageId': _0x558001['messageId'],
|
|
2001
|
+
'taskId': _0x558001[_0x562f73(_0xb680a2._0x1d8957)],
|
|
2002
|
+
'taskNumber': _0x558001[_0x562f73(0x146)],
|
|
2003
|
+
'threadNumber': _0x558001[_0x562f73(0x21a)]
|
|
2027
2004
|
});
|
|
2028
|
-
return
|
|
2029
|
-
...
|
|
2030
|
-
...
|
|
2031
|
-
} :
|
|
2032
|
-
} catch (
|
|
2005
|
+
return _0x59eae5 ? {
|
|
2006
|
+
..._0x558001,
|
|
2007
|
+
..._0x59eae5
|
|
2008
|
+
} : _0x558001;
|
|
2009
|
+
} catch (_0x38e515) {
|
|
2033
2010
|
return {
|
|
2034
|
-
...
|
|
2035
|
-
'workerHandoffError':
|
|
2011
|
+
..._0x558001,
|
|
2012
|
+
'workerHandoffError': _0x38e515 instanceof Error ? _0x38e515[_0x562f73(0x174)] : _0x562f73(0x11b)
|
|
2036
2013
|
};
|
|
2037
2014
|
}
|
|
2038
2015
|
}));
|
|
2039
|
-
return formatClaimTaskResults(
|
|
2016
|
+
return formatClaimTaskResults(_0x2fb896);
|
|
2040
2017
|
},
|
|
2041
|
-
async 'unclaim_task'(
|
|
2042
|
-
const
|
|
2043
|
-
if (
|
|
2044
|
-
|
|
2045
|
-
if (
|
|
2046
|
-
throw new Error(
|
|
2018
|
+
async 'unclaim_task'(_0x3e5888) {
|
|
2019
|
+
const _0x58afcb = _0x545f49;
|
|
2020
|
+
if (_0x29d686[_0x58afcb(0xd5)]) {
|
|
2021
|
+
_0x366b57(_0x58afcb(0x24f), _0x3e5888['channel']);
|
|
2022
|
+
if (_0x3e5888['subtask_number'] == null)
|
|
2023
|
+
throw new Error(_0x58afcb(0x25a));
|
|
2047
2024
|
}
|
|
2048
|
-
const
|
|
2049
|
-
return formatUnclaimTaskResult(
|
|
2025
|
+
const _0x1463f4 = await _0x29d686['client'][_0x58afcb(_0x31e873._0x1d7ed7)](_0x3e5888);
|
|
2026
|
+
return formatUnclaimTaskResult(_0x1463f4);
|
|
2050
2027
|
},
|
|
2051
|
-
async 'update_task_status'(
|
|
2052
|
-
const
|
|
2053
|
-
|
|
2054
|
-
const
|
|
2055
|
-
return formatUpdateTaskStatusResult(
|
|
2028
|
+
async 'update_task_status'(_0x1bd7e3) {
|
|
2029
|
+
const _0x279a9e = _0x545f49;
|
|
2030
|
+
_0x366b57('update_task_status', _0x1bd7e3['channel']);
|
|
2031
|
+
const _0x2d1872 = await _0x29d686[_0x279a9e(0x164)][_0x279a9e(_0x2da306._0x1ec14a)](_0x1bd7e3);
|
|
2032
|
+
return formatUpdateTaskStatusResult(_0x2d1872);
|
|
2056
2033
|
},
|
|
2057
|
-
async 'upload_file'(
|
|
2058
|
-
const
|
|
2059
|
-
sizeBytes:
|
|
2060
|
-
...
|
|
2061
|
-
} =
|
|
2062
|
-
'channel':
|
|
2063
|
-
...
|
|
2034
|
+
async 'upload_file'(_0x1abac9) {
|
|
2035
|
+
const _0x43ebb4 = _0x545f49, _0x17d854 = await _0x29d686[_0x43ebb4(_0x201a22._0x3db4f0)](_0x1abac9['file_path']), {
|
|
2036
|
+
sizeBytes: _0x156b0a,
|
|
2037
|
+
..._0x1bf105
|
|
2038
|
+
} = _0x17d854, _0xaa3eef = await _0x29d686[_0x43ebb4(_0x201a22._0xea62ed)]['uploadFile']({
|
|
2039
|
+
'channel': _0x1abac9[_0x43ebb4(_0x201a22._0x5d7aaf)],
|
|
2040
|
+
..._0x1bf105
|
|
2064
2041
|
});
|
|
2065
|
-
return formatUploadResult(
|
|
2042
|
+
return formatUploadResult(_0xaa3eef);
|
|
2066
2043
|
},
|
|
2067
|
-
async 'view_file'(
|
|
2068
|
-
const
|
|
2069
|
-
if (
|
|
2070
|
-
return formatViewFileResult(
|
|
2071
|
-
const
|
|
2072
|
-
'attachmentId':
|
|
2073
|
-
'contentType':
|
|
2074
|
-
'data':
|
|
2075
|
-
'originalFilename':
|
|
2044
|
+
async 'view_file'(_0x4abbe6) {
|
|
2045
|
+
const _0x111aa3 = _0x545f49, _0xe1ba5e = await _0x29d686[_0x111aa3(0x113)][_0x111aa3(_0x4adf19._0x28df79)](_0x4abbe6['attachment_id']);
|
|
2046
|
+
if (_0xe1ba5e)
|
|
2047
|
+
return formatViewFileResult(_0xe1ba5e, !![]);
|
|
2048
|
+
const _0x10994f = await _0x29d686[_0x111aa3(0x164)][_0x111aa3(_0x4adf19._0x3f6853)](_0x4abbe6[_0x111aa3(0x177)]), _0xe41cfc = await _0x29d686['attachmentCache'][_0x111aa3(0xde)]({
|
|
2049
|
+
'attachmentId': _0x4abbe6[_0x111aa3(_0x4adf19._0x55f889)],
|
|
2050
|
+
'contentType': _0x10994f['contentType'],
|
|
2051
|
+
'data': _0x10994f[_0x111aa3(0x24a)],
|
|
2052
|
+
'originalFilename': _0x10994f[_0x111aa3(0x1e9)]
|
|
2076
2053
|
});
|
|
2077
|
-
return formatViewFileResult(
|
|
2054
|
+
return formatViewFileResult(_0xe41cfc, ![]);
|
|
2078
2055
|
},
|
|
2079
|
-
async 'get_worker_status'(
|
|
2080
|
-
const
|
|
2081
|
-
if (!
|
|
2082
|
-
return
|
|
2083
|
-
const
|
|
2084
|
-
if (!
|
|
2085
|
-
return
|
|
2086
|
-
return
|
|
2056
|
+
async 'get_worker_status'(_0x484ee7) {
|
|
2057
|
+
const _0xa4ac0c = _0x545f49;
|
|
2058
|
+
if (!_0x29d686[_0xa4ac0c(_0x94e9b1._0x31f231)])
|
|
2059
|
+
return _0xa4ac0c(_0x94e9b1._0x4ef4af);
|
|
2060
|
+
const _0x28ede9 = await fetch(_0x29d686['daemonLocalUrl'] + _0xa4ac0c(_0x94e9b1._0x48d88b) + encodeURIComponent(_0x484ee7[_0xa4ac0c(_0x94e9b1._0x9615ca)])), _0x310d67 = await _0x28ede9['json']();
|
|
2061
|
+
if (!_0x310d67['ok'])
|
|
2062
|
+
return _0xa4ac0c(_0x94e9b1._0x424133) + _0x484ee7[_0xa4ac0c(_0x94e9b1._0x9615ca)] + _0xa4ac0c(_0x94e9b1._0x3cfbbd);
|
|
2063
|
+
return _0xa4ac0c(0x1b2) + _0x484ee7[_0xa4ac0c(_0x94e9b1._0x3f2c72)] + _0xa4ac0c(0x1d3) + _0x310d67[_0xa4ac0c(_0x94e9b1._0x3ff84d)];
|
|
2087
2064
|
},
|
|
2088
|
-
async 'park_worker'(
|
|
2089
|
-
const
|
|
2090
|
-
if (!
|
|
2091
|
-
return
|
|
2092
|
-
const
|
|
2093
|
-
'method':
|
|
2094
|
-
'headers': { 'Content-Type':
|
|
2095
|
-
'body': JSON[
|
|
2096
|
-
}),
|
|
2097
|
-
if (!
|
|
2098
|
-
throw new Error(
|
|
2099
|
-
return
|
|
2065
|
+
async 'park_worker'(_0x2f3cfc) {
|
|
2066
|
+
const _0x33242a = _0x545f49;
|
|
2067
|
+
if (!_0x29d686['daemonLocalUrl'])
|
|
2068
|
+
return 'Worker\x20features\x20not\x20available';
|
|
2069
|
+
const _0x1e1d20 = await fetch(_0x29d686[_0x33242a(0x139)] + '/workers/park', {
|
|
2070
|
+
'method': _0x33242a(0x148),
|
|
2071
|
+
'headers': { 'Content-Type': 'application/json' },
|
|
2072
|
+
'body': JSON[_0x33242a(0x1ab)]({ 'work_key': _0x2f3cfc[_0x33242a(_0x4ef5db._0x2bbc7b)] })
|
|
2073
|
+
}), _0x164bb8 = await _0x1e1d20[_0x33242a(0x17d)]();
|
|
2074
|
+
if (!_0x164bb8['ok'])
|
|
2075
|
+
throw new Error(_0x164bb8['error'] ?? _0x33242a(_0x4ef5db._0x33ec62));
|
|
2076
|
+
return _0x33242a(0x1b2) + _0x2f3cfc[_0x33242a(_0x4ef5db._0x28400f)] + _0x33242a(0x11d);
|
|
2100
2077
|
},
|
|
2101
|
-
async 'mark_waiting_input'(
|
|
2102
|
-
const
|
|
2103
|
-
if (!
|
|
2104
|
-
return
|
|
2105
|
-
const
|
|
2106
|
-
'method':
|
|
2078
|
+
async 'mark_waiting_input'(_0x2948b1) {
|
|
2079
|
+
const _0x43825a = _0x545f49;
|
|
2080
|
+
if (!_0x29d686[_0x43825a(_0x4d77e8._0x3b151b)] || !_0x29d686['agentId'])
|
|
2081
|
+
return 'Worker\x20features\x20not\x20available\x20(daemon\x20local\x20URL\x20or\x20agent\x20ID\x20not\x20configured)';
|
|
2082
|
+
const _0x4ab130 = await fetch(_0x29d686[_0x43825a(_0x4d77e8._0xfe08ae)] + _0x43825a(0x159), {
|
|
2083
|
+
'method': _0x43825a(_0x4d77e8._0x3b32d4),
|
|
2107
2084
|
'headers': { 'Content-Type': 'application/json' },
|
|
2108
|
-
'body': JSON[
|
|
2109
|
-
'work_key':
|
|
2110
|
-
'agent_id':
|
|
2085
|
+
'body': JSON['stringify']({
|
|
2086
|
+
'work_key': _0x2948b1['work_key'],
|
|
2087
|
+
'agent_id': _0x29d686[_0x43825a(0x19d)]
|
|
2111
2088
|
})
|
|
2112
|
-
}),
|
|
2113
|
-
if (!
|
|
2114
|
-
throw new Error(
|
|
2115
|
-
return
|
|
2089
|
+
}), _0x370243 = await _0x4ab130['json']();
|
|
2090
|
+
if (!_0x370243['ok'])
|
|
2091
|
+
throw new Error(_0x370243[_0x43825a(0x259)] ?? _0x43825a(_0x4d77e8._0x4358bc));
|
|
2092
|
+
return _0x43825a(0x1b2) + _0x2948b1[_0x43825a(_0x4d77e8._0x3c25cf)] + _0x43825a(0x11f);
|
|
2116
2093
|
},
|
|
2117
|
-
async 'escalate_to_main'(
|
|
2118
|
-
const
|
|
2119
|
-
if (!
|
|
2120
|
-
return
|
|
2121
|
-
const
|
|
2122
|
-
'method':
|
|
2123
|
-
'headers': { 'Content-Type':
|
|
2124
|
-
'body': JSON[
|
|
2125
|
-
'work_key':
|
|
2126
|
-
'reason':
|
|
2094
|
+
async 'escalate_to_main'(_0x55e292) {
|
|
2095
|
+
const _0x146a9c = _0x545f49;
|
|
2096
|
+
if (!_0x29d686['daemonLocalUrl'])
|
|
2097
|
+
return _0x146a9c(_0x2d09f2._0x2afaba);
|
|
2098
|
+
const _0x56f44b = await fetch(_0x29d686[_0x146a9c(0x139)] + _0x146a9c(_0x2d09f2._0x2b00e6), {
|
|
2099
|
+
'method': _0x146a9c(0x148),
|
|
2100
|
+
'headers': { 'Content-Type': 'application/json' },
|
|
2101
|
+
'body': JSON['stringify']({
|
|
2102
|
+
'work_key': _0x55e292[_0x146a9c(_0x2d09f2._0x20065b)],
|
|
2103
|
+
'reason': _0x55e292[_0x146a9c(_0x2d09f2._0x43861e)]
|
|
2127
2104
|
})
|
|
2128
|
-
}),
|
|
2129
|
-
if (!
|
|
2130
|
-
throw new Error(
|
|
2131
|
-
return
|
|
2105
|
+
}), _0x5be92e = await _0x56f44b[_0x146a9c(0x17d)]();
|
|
2106
|
+
if (!_0x5be92e['ok'])
|
|
2107
|
+
throw new Error(_0x5be92e['error'] ?? _0x146a9c(_0x2d09f2._0x1d359d));
|
|
2108
|
+
return _0x146a9c(0x17e) + _0x55e292[_0x146a9c(_0x2d09f2._0x43861e)];
|
|
2132
2109
|
}
|
|
2133
2110
|
};
|
|
2134
2111
|
}
|
|
2135
|
-
function textResult(
|
|
2136
|
-
const _0x16cea0 = { _0x52831b: 0x1bd }, _0x4786db = _0x5e54a5;
|
|
2112
|
+
function textResult(_0x2f3b3c, _0x135277 = ![]) {
|
|
2137
2113
|
return {
|
|
2138
2114
|
'content': [{
|
|
2139
|
-
'type':
|
|
2140
|
-
'text':
|
|
2115
|
+
'type': 'text',
|
|
2116
|
+
'text': _0x2f3b3c
|
|
2141
2117
|
}],
|
|
2142
|
-
...
|
|
2118
|
+
..._0x135277 ? { 'isError': !![] } : {}
|
|
2143
2119
|
};
|
|
2144
2120
|
}
|
|
2145
|
-
async function registerChatBridgeTools(
|
|
2146
|
-
const
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
},
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
},
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2121
|
+
async function registerChatBridgeTools(_0x570a2b, _0x2b0b21, _0x11ee93) {
|
|
2122
|
+
const _0x3150b3 = {
|
|
2123
|
+
_0x229449: 0x152,
|
|
2124
|
+
_0x5bad27: 0x222,
|
|
2125
|
+
_0x2aac82: 0x21c,
|
|
2126
|
+
_0x238a93: 0x20d,
|
|
2127
|
+
_0x4e4fb9: 0x1a1,
|
|
2128
|
+
_0x6fee: 0x24e,
|
|
2129
|
+
_0x3dea10: 0x221,
|
|
2130
|
+
_0x4d257f: 0xd6,
|
|
2131
|
+
_0x3709ac: 0x200,
|
|
2132
|
+
_0x2b89ef: 0x20d,
|
|
2133
|
+
_0x3d7df5: 0x221,
|
|
2134
|
+
_0x2bf71b: 0x1ba,
|
|
2135
|
+
_0x5cbb33: 0x1d6,
|
|
2136
|
+
_0x51a1e1: 0x222,
|
|
2137
|
+
_0x2a9eec: 0xf3,
|
|
2138
|
+
_0x41d6b7: 0x231,
|
|
2139
|
+
_0x29af7c: 0x20d,
|
|
2140
|
+
_0xb1ed63: 0x1aa,
|
|
2141
|
+
_0x3aaa48: 0x20d,
|
|
2142
|
+
_0x4cfff7: 0x222,
|
|
2143
|
+
_0x15eb0b: 0x222,
|
|
2144
|
+
_0x557fe7: 0x20d,
|
|
2145
|
+
_0x3b8fbd: 0x1a1,
|
|
2146
|
+
_0x67f168: 0x202,
|
|
2147
|
+
_0x52e9ee: 0x1c2,
|
|
2148
|
+
_0x1a9d6a: 0x200,
|
|
2149
|
+
_0x2106c4: 0x21c,
|
|
2150
|
+
_0x2cd696: 0x244,
|
|
2151
|
+
_0x2edeac: 0x222,
|
|
2152
|
+
_0x206abc: 0x222,
|
|
2153
|
+
_0x64477f: 0x20d,
|
|
2154
|
+
_0x49b797: 0x24f,
|
|
2155
|
+
_0xb6a4ca: 0x24b,
|
|
2156
|
+
_0x2907b9: 0x200,
|
|
2157
|
+
_0x12f989: 0x200,
|
|
2158
|
+
_0x5a313c: 0x1e6,
|
|
2159
|
+
_0x186c10: 0x222,
|
|
2160
|
+
_0x12a2ca: 0x200,
|
|
2161
|
+
_0x4bd576: 0x221,
|
|
2162
|
+
_0x3f1df5: 0x192,
|
|
2163
|
+
_0x327bb0: 0x221,
|
|
2164
|
+
_0x27e680: 0x1ed,
|
|
2165
|
+
_0x214d7f: 0x1c6,
|
|
2166
|
+
_0x399b70: 0x1e5,
|
|
2167
|
+
_0x4e5e28: 0xd5
|
|
2168
|
+
}, _0x5e3598 = { _0x200a9a: 0x14c }, _0x4c975c = {
|
|
2169
|
+
_0x165bdb: 0x243,
|
|
2170
|
+
_0x55c1bb: 0x174,
|
|
2171
|
+
_0x121998: 0x197
|
|
2172
|
+
}, _0x143c9f = { _0x57033c: 0x198 }, _0xbdceee = { _0x266313: 0x1c6 }, _0x4a5cc3 = {
|
|
2173
|
+
_0x3a8ca9: 0x174,
|
|
2174
|
+
_0x295ff6: 0x186
|
|
2175
|
+
}, _0x476baa = { _0x4f25f1: 0x1f5 }, _0x54bb0d = { _0x496b13: 0x174 }, _0x151bf0 = { _0x2907b3: 0x1c2 }, _0x896bbd = {
|
|
2176
|
+
_0x1dc7b6: 0x246,
|
|
2177
|
+
_0x13a3c8: 0x174
|
|
2178
|
+
}, _0x43bc1b = {
|
|
2179
|
+
_0x217641: 0x204,
|
|
2180
|
+
_0x44b5b4: 0x174
|
|
2181
|
+
}, _0x125032 = { _0x48c701: 0x174 }, _0x407ece = {
|
|
2182
|
+
_0x213b93: 0xd1,
|
|
2183
|
+
_0x328db4: 0x174
|
|
2184
|
+
}, _0x248ed9 = {
|
|
2185
|
+
_0x4d355f: 0x174,
|
|
2186
|
+
_0x443b9c: 0x1c8
|
|
2187
|
+
}, _0x2cdefa = {
|
|
2188
|
+
_0x56c84a: 0x174,
|
|
2189
|
+
_0x5f086b: 0x10c
|
|
2190
|
+
}, _0x305878 = _0x3b2449, {z: _0x5b63ef} = await import(_0x305878(0x131));
|
|
2191
|
+
_0x570a2b['tool'](_0x305878(_0x3150b3._0x229449), _0x305878(0x224), {
|
|
2192
|
+
'target': _0x5b63ef[_0x305878(0x222)](),
|
|
2193
|
+
'content': _0x5b63ef[_0x305878(_0x3150b3._0x5bad27)](),
|
|
2194
|
+
'attachment_ids': _0x5b63ef[_0x305878(_0x3150b3._0x2aac82)](_0x5b63ef[_0x305878(0x222)]())[_0x305878(_0x3150b3._0x238a93)](),
|
|
2195
|
+
'visibility': _0x5b63ef[_0x305878(_0x3150b3._0x4e4fb9)]([
|
|
2196
|
+
'public',
|
|
2197
|
+
'aside'
|
|
2198
|
+
])[_0x305878(0x20d)]()[_0x305878(_0x3150b3._0x6fee)](_0x305878(0x19e))
|
|
2199
|
+
}, async _0x1179e9 => {
|
|
2200
|
+
const _0x577494 = _0x305878;
|
|
2214
2201
|
try {
|
|
2215
|
-
return textResult(await
|
|
2216
|
-
} catch (
|
|
2217
|
-
return textResult(
|
|
2202
|
+
return textResult(await _0x2b0b21['send_message'](_0x1179e9));
|
|
2203
|
+
} catch (_0x19dbe8) {
|
|
2204
|
+
return textResult(_0x19dbe8 instanceof Error ? _0x19dbe8[_0x577494(_0x2cdefa._0x56c84a)] : _0x577494(_0x2cdefa._0x5f086b), !![]);
|
|
2218
2205
|
}
|
|
2219
|
-
}),
|
|
2220
|
-
const
|
|
2206
|
+
}), _0x570a2b['tool'](_0x305878(0x18f), _0x305878(0x129), {}, async () => {
|
|
2207
|
+
const _0xde1dfd = _0x305878;
|
|
2221
2208
|
try {
|
|
2222
|
-
return textResult(await
|
|
2223
|
-
} catch (
|
|
2224
|
-
return textResult(
|
|
2209
|
+
return textResult(await _0x2b0b21[_0xde1dfd(0x18f)]());
|
|
2210
|
+
} catch (_0x49ee3c) {
|
|
2211
|
+
return textResult(_0x49ee3c instanceof Error ? _0x49ee3c[_0xde1dfd(_0x248ed9._0x4d355f)] : _0xde1dfd(_0x248ed9._0x443b9c), !![]);
|
|
2225
2212
|
}
|
|
2226
|
-
}),
|
|
2227
|
-
'channel':
|
|
2228
|
-
'limit':
|
|
2229
|
-
'before':
|
|
2230
|
-
'after':
|
|
2231
|
-
}, async
|
|
2232
|
-
const
|
|
2213
|
+
}), _0x570a2b[_0x305878(_0x3150b3._0x3dea10)](_0x305878(0xd1), _0x305878(_0x3150b3._0x4d257f), {
|
|
2214
|
+
'channel': _0x5b63ef[_0x305878(0x222)](),
|
|
2215
|
+
'limit': _0x5b63ef[_0x305878(_0x3150b3._0x3709ac)]()[_0x305878(_0x3150b3._0x2b89ef)](),
|
|
2216
|
+
'before': _0x5b63ef[_0x305878(_0x3150b3._0x3709ac)]()[_0x305878(_0x3150b3._0x238a93)](),
|
|
2217
|
+
'after': _0x5b63ef[_0x305878(0x200)]()[_0x305878(0x20d)]()
|
|
2218
|
+
}, async _0x1c5c00 => {
|
|
2219
|
+
const _0x51a880 = _0x305878;
|
|
2233
2220
|
try {
|
|
2234
|
-
return textResult(await
|
|
2235
|
-
} catch (
|
|
2236
|
-
return textResult(
|
|
2221
|
+
return textResult(await _0x2b0b21[_0x51a880(_0x407ece._0x213b93)](_0x1c5c00));
|
|
2222
|
+
} catch (_0x2ed143) {
|
|
2223
|
+
return textResult(_0x2ed143 instanceof Error ? _0x2ed143[_0x51a880(_0x407ece._0x328db4)] : 'read_history\x20failed', !![]);
|
|
2237
2224
|
}
|
|
2238
|
-
}),
|
|
2239
|
-
const
|
|
2225
|
+
}), _0x570a2b[_0x305878(_0x3150b3._0x3d7df5)](_0x305878(_0x3150b3._0x2bf71b), _0x305878(0x153), {}, async () => {
|
|
2226
|
+
const _0x4d55a8 = _0x305878;
|
|
2240
2227
|
try {
|
|
2241
|
-
return textResult(await
|
|
2242
|
-
} catch (
|
|
2243
|
-
return textResult(
|
|
2228
|
+
return textResult(await _0x2b0b21[_0x4d55a8(0x1ba)]());
|
|
2229
|
+
} catch (_0x430a07) {
|
|
2230
|
+
return textResult(_0x430a07 instanceof Error ? _0x430a07[_0x4d55a8(_0x125032._0x48c701)] : 'list_server\x20failed', !![]);
|
|
2244
2231
|
}
|
|
2245
|
-
}),
|
|
2246
|
-
'channel':
|
|
2247
|
-
'status':
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
])[
|
|
2253
|
-
}, async
|
|
2254
|
-
const
|
|
2232
|
+
}), _0x570a2b[_0x305878(0x221)](_0x305878(0x204), _0x305878(_0x3150b3._0x5cbb33), {
|
|
2233
|
+
'channel': _0x5b63ef[_0x305878(_0x3150b3._0x51a1e1)](),
|
|
2234
|
+
'status': _0x5b63ef[_0x305878(_0x3150b3._0x4e4fb9)]([
|
|
2235
|
+
'todo',
|
|
2236
|
+
_0x305878(_0x3150b3._0x2a9eec),
|
|
2237
|
+
_0x305878(_0x3150b3._0x41d6b7),
|
|
2238
|
+
_0x305878(0x25b)
|
|
2239
|
+
])[_0x305878(_0x3150b3._0x29af7c)]()
|
|
2240
|
+
}, async _0x732373 => {
|
|
2241
|
+
const _0x22b058 = _0x305878;
|
|
2255
2242
|
try {
|
|
2256
|
-
return textResult(await
|
|
2257
|
-
} catch (
|
|
2258
|
-
return textResult(
|
|
2243
|
+
return textResult(await _0x2b0b21[_0x22b058(_0x43bc1b._0x217641)](_0x732373));
|
|
2244
|
+
} catch (_0x5435a7) {
|
|
2245
|
+
return textResult(_0x5435a7 instanceof Error ? _0x5435a7[_0x22b058(_0x43bc1b._0x44b5b4)] : 'list_tasks\x20failed', !![]);
|
|
2259
2246
|
}
|
|
2260
|
-
}),
|
|
2261
|
-
'channel':
|
|
2262
|
-
'idempotency_key':
|
|
2263
|
-
'tasks':
|
|
2264
|
-
'title':
|
|
2265
|
-
'description':
|
|
2266
|
-
'priority':
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
])[
|
|
2247
|
+
}), _0x570a2b[_0x305878(_0x3150b3._0x3dea10)]('create_tasks', _0x305878(_0x3150b3._0xb1ed63), {
|
|
2248
|
+
'channel': _0x5b63ef[_0x305878(_0x3150b3._0x51a1e1)](),
|
|
2249
|
+
'idempotency_key': _0x5b63ef['string']()[_0x305878(_0x3150b3._0x3aaa48)](),
|
|
2250
|
+
'tasks': _0x5b63ef[_0x305878(0x21c)](_0x5b63ef[_0x305878(0x226)]({
|
|
2251
|
+
'title': _0x5b63ef[_0x305878(_0x3150b3._0x4cfff7)](),
|
|
2252
|
+
'description': _0x5b63ef[_0x305878(_0x3150b3._0x15eb0b)]()[_0x305878(_0x3150b3._0x557fe7)](),
|
|
2253
|
+
'priority': _0x5b63ef[_0x305878(_0x3150b3._0x3b8fbd)]([
|
|
2254
|
+
_0x305878(_0x3150b3._0x67f168),
|
|
2255
|
+
'medium',
|
|
2256
|
+
_0x305878(0x20c),
|
|
2257
|
+
_0x305878(0x185)
|
|
2258
|
+
])[_0x305878(0x20d)]()
|
|
2272
2259
|
}))
|
|
2273
|
-
}, async
|
|
2274
|
-
const
|
|
2260
|
+
}, async _0x218712 => {
|
|
2261
|
+
const _0x23953c = _0x305878;
|
|
2275
2262
|
try {
|
|
2276
|
-
return textResult(await
|
|
2277
|
-
} catch (
|
|
2278
|
-
return textResult(
|
|
2263
|
+
return textResult(await _0x2b0b21[_0x23953c(_0x896bbd._0x1dc7b6)](_0x218712));
|
|
2264
|
+
} catch (_0x18d7b1) {
|
|
2265
|
+
return textResult(_0x18d7b1 instanceof Error ? _0x18d7b1[_0x23953c(_0x896bbd._0x13a3c8)] : _0x23953c(0x17c), !![]);
|
|
2279
2266
|
}
|
|
2280
|
-
}),
|
|
2281
|
-
'channel':
|
|
2282
|
-
'task_numbers':
|
|
2283
|
-
'subtask_numbers':
|
|
2284
|
-
'message_ids':
|
|
2285
|
-
'evidence':
|
|
2286
|
-
'create_thread':
|
|
2287
|
-
'create_task':
|
|
2288
|
-
}))[
|
|
2289
|
-
'idempotency_key':
|
|
2290
|
-
}, async
|
|
2291
|
-
const
|
|
2267
|
+
}), _0x570a2b[_0x305878(0x221)](_0x305878(_0x3150b3._0x52e9ee), _0x305878(0x1b5), {
|
|
2268
|
+
'channel': _0x5b63ef['string'](),
|
|
2269
|
+
'task_numbers': _0x5b63ef['array'](_0x5b63ef[_0x305878(_0x3150b3._0x1a9d6a)]())[_0x305878(0x20d)](),
|
|
2270
|
+
'subtask_numbers': _0x5b63ef[_0x305878(_0x3150b3._0x2106c4)](_0x5b63ef[_0x305878(0x200)]())[_0x305878(_0x3150b3._0x29af7c)](),
|
|
2271
|
+
'message_ids': _0x5b63ef[_0x305878(0x21c)](_0x5b63ef[_0x305878(0x222)]())[_0x305878(0x20d)](),
|
|
2272
|
+
'evidence': _0x5b63ef[_0x305878(_0x3150b3._0x2cd696)](_0x5b63ef[_0x305878(_0x3150b3._0x2edeac)](), _0x5b63ef['object']({
|
|
2273
|
+
'create_thread': _0x5b63ef[_0x305878(0x17b)]()['optional'](),
|
|
2274
|
+
'create_task': _0x5b63ef[_0x305878(0x17b)]()[_0x305878(0x20d)]()
|
|
2275
|
+
}))['optional'](),
|
|
2276
|
+
'idempotency_key': _0x5b63ef[_0x305878(_0x3150b3._0x206abc)]()[_0x305878(_0x3150b3._0x64477f)]()
|
|
2277
|
+
}, async _0x4e28fb => {
|
|
2278
|
+
const _0x1a5f06 = _0x305878;
|
|
2292
2279
|
try {
|
|
2293
|
-
return textResult(await
|
|
2294
|
-
} catch (
|
|
2295
|
-
return textResult(
|
|
2280
|
+
return textResult(await _0x2b0b21[_0x1a5f06(_0x151bf0._0x2907b3)](_0x4e28fb));
|
|
2281
|
+
} catch (_0x2f2bf9) {
|
|
2282
|
+
return textResult(_0x2f2bf9 instanceof Error ? _0x2f2bf9['message'] : 'claim_tasks\x20failed', !![]);
|
|
2296
2283
|
}
|
|
2297
|
-
}),
|
|
2298
|
-
'channel':
|
|
2299
|
-
'task_number':
|
|
2300
|
-
'subtask_number':
|
|
2301
|
-
'idempotency_key':
|
|
2302
|
-
}, async
|
|
2303
|
-
const
|
|
2284
|
+
}), _0x570a2b[_0x305878(0x221)](_0x305878(_0x3150b3._0x49b797), _0x305878(_0x3150b3._0xb6a4ca), {
|
|
2285
|
+
'channel': _0x5b63ef[_0x305878(_0x3150b3._0x5bad27)](),
|
|
2286
|
+
'task_number': _0x5b63ef[_0x305878(_0x3150b3._0x2907b9)](),
|
|
2287
|
+
'subtask_number': _0x5b63ef[_0x305878(_0x3150b3._0x12f989)]()[_0x305878(0x20d)](),
|
|
2288
|
+
'idempotency_key': _0x5b63ef[_0x305878(0x222)]()[_0x305878(0x20d)]()
|
|
2289
|
+
}, async _0x159d03 => {
|
|
2290
|
+
const _0x27fda3 = _0x305878;
|
|
2304
2291
|
try {
|
|
2305
|
-
return textResult(await
|
|
2306
|
-
} catch (
|
|
2307
|
-
return textResult(
|
|
2292
|
+
return textResult(await _0x2b0b21['unclaim_task'](_0x159d03));
|
|
2293
|
+
} catch (_0x55c271) {
|
|
2294
|
+
return textResult(_0x55c271 instanceof Error ? _0x55c271[_0x27fda3(_0x54bb0d._0x496b13)] : _0x27fda3(0xf4), !![]);
|
|
2308
2295
|
}
|
|
2309
|
-
}),
|
|
2310
|
-
'channel':
|
|
2311
|
-
'task_number':
|
|
2312
|
-
'subtask_number':
|
|
2313
|
-
'status':
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2296
|
+
}), _0x570a2b[_0x305878(0x221)](_0x305878(_0x3150b3._0x5a313c), 'Update\x20task\x20status\x20by\x20channel\x20and\x20task\x20number.\x20For\x20subtasks,\x20also\x20pass\x20subtask_number.\x20Assignee\x20rules:\x20an\x20unclaimed\x20task/subtask\x20is\x20automatically\x20claimed\x20by\x20you\x20in\x20the\x20same\x20call\x20(caller\x20becomes\x20the\x20assignee);\x20if\x20the\x20task\x20is\x20already\x20claimed\x20by\x20another\x20participant,\x20the\x20server\x20returns\x20403\x20with\x20the\x20current\x20claimer\x27s\x20name\x20and\x20you\x20must\x20NOT\x20retry\x20—\x20let\x20the\x20assignee\x20finish\x20or\x20ask\x20them\x20to\x20release\x20the\x20task.\x20When\x20moving\x20work\x20to\x20in_review,\x20check\x20your\x20memory\x20or\x20channel\x20rules\x20and\x20send\x20a\x20reviewer\x20mention\x20yourself\x20when\x20appropriate.', {
|
|
2297
|
+
'channel': _0x5b63ef[_0x305878(_0x3150b3._0x186c10)](),
|
|
2298
|
+
'task_number': _0x5b63ef[_0x305878(_0x3150b3._0x12a2ca)](),
|
|
2299
|
+
'subtask_number': _0x5b63ef[_0x305878(0x200)]()['optional'](),
|
|
2300
|
+
'status': _0x5b63ef[_0x305878(_0x3150b3._0x3b8fbd)]([
|
|
2301
|
+
_0x305878(0x12c),
|
|
2302
|
+
_0x305878(0xf3),
|
|
2303
|
+
'in_review',
|
|
2304
|
+
'done'
|
|
2318
2305
|
]),
|
|
2319
|
-
'idempotency_key':
|
|
2320
|
-
}, async
|
|
2321
|
-
const
|
|
2306
|
+
'idempotency_key': _0x5b63ef[_0x305878(_0x3150b3._0x4cfff7)]()[_0x305878(0x20d)]()
|
|
2307
|
+
}, async _0x34c92c => {
|
|
2308
|
+
const _0x15009b = _0x305878;
|
|
2322
2309
|
try {
|
|
2323
|
-
return textResult(await
|
|
2324
|
-
} catch (
|
|
2325
|
-
return textResult(
|
|
2310
|
+
return textResult(await _0x2b0b21[_0x15009b(0x1e6)](_0x34c92c));
|
|
2311
|
+
} catch (_0x3d9c45) {
|
|
2312
|
+
return textResult(_0x3d9c45 instanceof Error ? _0x3d9c45[_0x15009b(0x174)] : _0x15009b(_0x476baa._0x4f25f1), !![]);
|
|
2326
2313
|
}
|
|
2327
|
-
}),
|
|
2328
|
-
'channel':
|
|
2329
|
-
'file_path':
|
|
2330
|
-
}, async
|
|
2331
|
-
const
|
|
2314
|
+
}), _0x570a2b[_0x305878(_0x3150b3._0x4bd576)](_0x305878(0x142), _0x305878(_0x3150b3._0x3f1df5), {
|
|
2315
|
+
'channel': _0x5b63ef[_0x305878(_0x3150b3._0x5bad27)](),
|
|
2316
|
+
'file_path': _0x5b63ef['string']()
|
|
2317
|
+
}, async _0x117321 => {
|
|
2318
|
+
const _0x5aa3b5 = _0x305878;
|
|
2332
2319
|
try {
|
|
2333
|
-
return textResult(await
|
|
2334
|
-
} catch (
|
|
2335
|
-
return textResult(
|
|
2320
|
+
return textResult(await _0x2b0b21[_0x5aa3b5(0x142)](_0x117321));
|
|
2321
|
+
} catch (_0x3c2cbf) {
|
|
2322
|
+
return textResult(_0x3c2cbf instanceof Error ? _0x3c2cbf[_0x5aa3b5(0x174)] : 'upload_file\x20failed', !![]);
|
|
2336
2323
|
}
|
|
2337
|
-
}),
|
|
2338
|
-
const
|
|
2324
|
+
}), _0x570a2b[_0x305878(_0x3150b3._0x327bb0)]('view_file', _0x305878(_0x3150b3._0x27e680), { 'attachment_id': _0x5b63ef[_0x305878(_0x3150b3._0x2edeac)]() }, async _0x2115bb => {
|
|
2325
|
+
const _0x49d3ab = _0x305878;
|
|
2339
2326
|
try {
|
|
2340
|
-
return textResult(await
|
|
2341
|
-
} catch (
|
|
2342
|
-
return textResult(
|
|
2327
|
+
return textResult(await _0x2b0b21[_0x49d3ab(0x23c)](_0x2115bb));
|
|
2328
|
+
} catch (_0x2e8905) {
|
|
2329
|
+
return textResult(_0x2e8905 instanceof Error ? _0x2e8905[_0x49d3ab(_0x4a5cc3._0x3a8ca9)] : _0x49d3ab(_0x4a5cc3._0x295ff6), !![]);
|
|
2343
2330
|
}
|
|
2344
|
-
}),
|
|
2345
|
-
const
|
|
2331
|
+
}), _0x570a2b[_0x305878(0x221)](_0x305878(_0x3150b3._0x214d7f), _0x305878(_0x3150b3._0x399b70), { 'work_key': _0x5b63ef['string']() }, async _0x11a605 => {
|
|
2332
|
+
const _0x46113a = _0x305878;
|
|
2346
2333
|
try {
|
|
2347
|
-
return textResult(await
|
|
2348
|
-
} catch (
|
|
2349
|
-
return textResult(
|
|
2334
|
+
return textResult(await _0x2b0b21[_0x46113a(_0xbdceee._0x266313)](_0x11a605));
|
|
2335
|
+
} catch (_0x15efb0) {
|
|
2336
|
+
return textResult(_0x15efb0 instanceof Error ? _0x15efb0[_0x46113a(0x174)] : _0x46113a(0x23d), !![]);
|
|
2350
2337
|
}
|
|
2351
|
-
}),
|
|
2352
|
-
const
|
|
2338
|
+
}), _0x570a2b[_0x305878(0x221)]('park_worker', _0x305878(0x1da), { 'work_key': _0x5b63ef[_0x305878(_0x3150b3._0x186c10)]() }, async _0x32abf6 => {
|
|
2339
|
+
const _0x2dd9ae = _0x305878;
|
|
2353
2340
|
try {
|
|
2354
|
-
return textResult(await
|
|
2355
|
-
} catch (
|
|
2356
|
-
return textResult(
|
|
2341
|
+
return textResult(await _0x2b0b21[_0x2dd9ae(0x1bd)](_0x32abf6));
|
|
2342
|
+
} catch (_0x4005fb) {
|
|
2343
|
+
return textResult(_0x4005fb instanceof Error ? _0x4005fb[_0x2dd9ae(0x174)] : _0x2dd9ae(_0x143c9f._0x57033c), !![]);
|
|
2357
2344
|
}
|
|
2358
|
-
}), !
|
|
2359
|
-
'work_key':
|
|
2360
|
-
'reason':
|
|
2361
|
-
}, async
|
|
2362
|
-
const
|
|
2345
|
+
}), !_0x11ee93?.[_0x305878(_0x3150b3._0x4e5e28)] && _0x570a2b[_0x305878(0x221)](_0x305878(0x243), _0x305878(0x13d), {
|
|
2346
|
+
'work_key': _0x5b63ef[_0x305878(0x222)](),
|
|
2347
|
+
'reason': _0x5b63ef['string']()
|
|
2348
|
+
}, async _0x29090a => {
|
|
2349
|
+
const _0x19961b = _0x305878;
|
|
2363
2350
|
try {
|
|
2364
|
-
return textResult(await
|
|
2365
|
-
} catch (
|
|
2366
|
-
return textResult(
|
|
2351
|
+
return textResult(await _0x2b0b21[_0x19961b(_0x4c975c._0x165bdb)](_0x29090a));
|
|
2352
|
+
} catch (_0x8228fd) {
|
|
2353
|
+
return textResult(_0x8228fd instanceof Error ? _0x8228fd[_0x19961b(_0x4c975c._0x55c1bb)] : _0x19961b(_0x4c975c._0x121998), !![]);
|
|
2367
2354
|
}
|
|
2368
|
-
}),
|
|
2369
|
-
const
|
|
2355
|
+
}), _0x11ee93?.[_0x305878(0xd5)] && _0x570a2b[_0x305878(0x221)]('mark_waiting_input', _0x305878(0x1f4), { 'work_key': _0x5b63ef['string']() }, async _0x532542 => {
|
|
2356
|
+
const _0x257910 = _0x305878;
|
|
2370
2357
|
try {
|
|
2371
|
-
return textResult(await
|
|
2372
|
-
} catch (
|
|
2373
|
-
return textResult(
|
|
2358
|
+
return textResult(await _0x2b0b21[_0x257910(_0x5e3598._0x200a9a)](_0x532542));
|
|
2359
|
+
} catch (_0x4f8ce6) {
|
|
2360
|
+
return textResult(_0x4f8ce6 instanceof Error ? _0x4f8ce6[_0x257910(0x174)] : 'mark_waiting_input\x20failed', !![]);
|
|
2374
2361
|
}
|
|
2375
2362
|
});
|
|
2376
2363
|
}
|
|
2377
|
-
async function createChatBridgeServer(
|
|
2378
|
-
const
|
|
2379
|
-
'name':
|
|
2380
|
-
'version':
|
|
2381
|
-
}),
|
|
2382
|
-
return await registerChatBridgeTools(
|
|
2383
|
-
'handlers':
|
|
2384
|
-
'server':
|
|
2364
|
+
async function createChatBridgeServer(_0x3434f3) {
|
|
2365
|
+
const _0x100c43 = { _0x3fb820: 0xd5 }, _0x16d026 = _0x3b2449, {McpServer: _0x56d390} = await import('@modelcontextprotocol/sdk/server/mcp.js'), _0x2212f8 = new _0x56d390({
|
|
2366
|
+
'name': _0x16d026(0x13f),
|
|
2367
|
+
'version': '0.0.0'
|
|
2368
|
+
}), _0xb76bd0 = createChatBridgeHandlers(_0x3434f3);
|
|
2369
|
+
return await registerChatBridgeTools(_0x2212f8, _0xb76bd0, { 'workerMode': _0x3434f3[_0x16d026(_0x100c43._0x3fb820)] }), {
|
|
2370
|
+
'handlers': _0xb76bd0,
|
|
2371
|
+
'server': _0x2212f8
|
|
2385
2372
|
};
|
|
2386
2373
|
}
|
|
2387
|
-
function readFlag(
|
|
2388
|
-
const
|
|
2389
|
-
if (
|
|
2374
|
+
function readFlag(_0x4e3e4b, _0x17d438) {
|
|
2375
|
+
const _0x49df74 = _0x4e3e4b['indexOf'](_0x17d438);
|
|
2376
|
+
if (_0x49df74 === -0x1)
|
|
2390
2377
|
return void 0x0;
|
|
2391
|
-
return
|
|
2378
|
+
return _0x4e3e4b[_0x49df74 + 0x1];
|
|
2392
2379
|
}
|
|
2393
|
-
function parseChatBridgeArgs(
|
|
2394
|
-
const
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2380
|
+
function parseChatBridgeArgs(_0x5dfdef) {
|
|
2381
|
+
const _0x5ac459 = {
|
|
2382
|
+
_0x1c4e70: 0x1df,
|
|
2383
|
+
_0x6a8e2: 0xf6,
|
|
2384
|
+
_0x15bd6c: 0xfa,
|
|
2385
|
+
_0x359fd5: 0x130,
|
|
2386
|
+
_0x47c284: 0x116
|
|
2387
|
+
}, _0x44c96a = _0x3b2449, _0x26b730 = readFlag(_0x5dfdef, _0x44c96a(_0x5ac459._0x1c4e70)), _0x54e399 = readFlag(_0x5dfdef, _0x44c96a(_0x5ac459._0x6a8e2)), _0x2d72ca = readFlag(_0x5dfdef, _0x44c96a(0x134)), _0x343e5d = readFlag(_0x5dfdef, _0x44c96a(_0x5ac459._0x15bd6c)), _0x1e01e6 = readFlag(_0x5dfdef, '--server-url') ?? 'http://localhost:8121', _0x1cf27e = readFlag(_0x5dfdef, _0x44c96a(0x16c)), _0x29da66 = readFlag(_0x5dfdef, '--session-id'), _0x22bc06 = readFlag(_0x5dfdef, _0x44c96a(0x1e3)), _0x17ccfe = readFlag(_0x5dfdef, _0x44c96a(0x114)), _0x5c350d = readFlag(_0x5dfdef, _0x44c96a(0x172)), _0x174017 = _0x5dfdef[_0x44c96a(0x181)](_0x44c96a(_0x5ac459._0x359fd5)), _0x3d5523 = _0x343e5d === void 0x0 ? void 0x0 : Number[_0x44c96a(0xfe)](_0x343e5d, 0xa);
|
|
2388
|
+
if (!_0x26b730)
|
|
2389
|
+
throw new Error(_0x44c96a(0x1d0));
|
|
2390
|
+
if (!_0x2d72ca)
|
|
2403
2391
|
throw new Error('Missing\x20--daemon-api-key');
|
|
2404
|
-
if (
|
|
2405
|
-
throw new Error(
|
|
2392
|
+
if (_0x343e5d !== void 0x0 && (_0x3d5523 === void 0x0 || !Number['isFinite'](_0x3d5523) || _0x3d5523 < 0x0))
|
|
2393
|
+
throw new Error(_0x44c96a(_0x5ac459._0x47c284));
|
|
2406
2394
|
return {
|
|
2407
|
-
'agentId':
|
|
2408
|
-
'attachmentCacheDir':
|
|
2409
|
-
'daemonApiKey':
|
|
2410
|
-
'daemonLocalUrl':
|
|
2411
|
-
'initialLastSeenSeq':
|
|
2412
|
-
'sessionId':
|
|
2413
|
-
'serverUrl':
|
|
2414
|
-
'workerModeEnabled':
|
|
2415
|
-
'workerSessionId':
|
|
2416
|
-
'workerThreadTarget':
|
|
2417
|
-
'workerMode':
|
|
2395
|
+
'agentId': _0x26b730,
|
|
2396
|
+
'attachmentCacheDir': _0x54e399,
|
|
2397
|
+
'daemonApiKey': _0x2d72ca,
|
|
2398
|
+
'daemonLocalUrl': _0x1cf27e,
|
|
2399
|
+
'initialLastSeenSeq': _0x3d5523,
|
|
2400
|
+
'sessionId': _0x29da66,
|
|
2401
|
+
'serverUrl': _0x1e01e6,
|
|
2402
|
+
'workerModeEnabled': _0x22bc06 === void 0x0 ? void 0x0 : _0x22bc06 !== _0x44c96a(0xec),
|
|
2403
|
+
'workerSessionId': _0x17ccfe,
|
|
2404
|
+
'workerThreadTarget': _0x5c350d,
|
|
2405
|
+
'workerMode': _0x174017
|
|
2418
2406
|
};
|
|
2419
2407
|
}
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
'
|
|
2427
|
-
'
|
|
2428
|
-
'
|
|
2408
|
+
function _0x24f4(_0x513b2e, _0x5c8a43) {
|
|
2409
|
+
_0x513b2e = _0x513b2e - 0xd1;
|
|
2410
|
+
const _0x56dcdb = _0x56dc();
|
|
2411
|
+
let _0x24f425 = _0x56dcdb[_0x513b2e];
|
|
2412
|
+
if (_0x24f4['FQYBqd'] === undefined) {
|
|
2413
|
+
var _0x2a099a = function (_0x1b0a4d) {
|
|
2414
|
+
const _0x43b908 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
2415
|
+
let _0x21802 = '', _0x149805 = '';
|
|
2416
|
+
for (let _0x191c9b = 0x0, _0x1f6b11, _0x406981, _0x1ca50e = 0x0; _0x406981 = _0x1b0a4d['charAt'](_0x1ca50e++); ~_0x406981 && (_0x1f6b11 = _0x191c9b % 0x4 ? _0x1f6b11 * 0x40 + _0x406981 : _0x406981, _0x191c9b++ % 0x4) ? _0x21802 += String['fromCharCode'](0xff & _0x1f6b11 >> (-0x2 * _0x191c9b & 0x6)) : 0x0) {
|
|
2417
|
+
_0x406981 = _0x43b908['indexOf'](_0x406981);
|
|
2418
|
+
}
|
|
2419
|
+
for (let _0x22e7f9 = 0x0, _0x2b24df = _0x21802['length']; _0x22e7f9 < _0x2b24df; _0x22e7f9++) {
|
|
2420
|
+
_0x149805 += '%' + ('00' + _0x21802['charCodeAt'](_0x22e7f9)['toString'](0x10))['slice'](-0x2);
|
|
2421
|
+
}
|
|
2422
|
+
return decodeURIComponent(_0x149805);
|
|
2423
|
+
};
|
|
2424
|
+
_0x24f4['Rvihqq'] = _0x2a099a, _0x24f4['eRmbFq'] = {}, _0x24f4['FQYBqd'] = !![];
|
|
2425
|
+
}
|
|
2426
|
+
const _0xb415f2 = _0x56dcdb[0x0], _0x592dff = _0x513b2e + _0xb415f2, _0x2ea1ba = _0x24f4['eRmbFq'][_0x592dff];
|
|
2427
|
+
return !_0x2ea1ba ? (_0x24f425 = _0x24f4['Rvihqq'](_0x24f425), _0x24f4['eRmbFq'][_0x592dff] = _0x24f425) : _0x24f425 = _0x2ea1ba, _0x24f425;
|
|
2428
|
+
}
|
|
2429
|
+
async function runChatBridgeCli(_0x43c729) {
|
|
2430
|
+
const _0x240030 = {
|
|
2431
|
+
_0x50c429: 0x21f,
|
|
2432
|
+
_0x2d4e1c: 0x1e8
|
|
2433
|
+
}, _0xcf0c7d = _0x3b2449, _0x483b77 = parseChatBridgeArgs(_0x43c729), {StdioServerTransport: _0xdfd381} = await import(_0xcf0c7d(0x141)), _0x132c81 = createInternalAgentClient(_0x483b77), _0x26447d = createAttachmentCache({ 'cacheDir': _0x483b77[_0xcf0c7d(_0x240030._0x50c429)] }), _0x3a19be = await createChatBridgeServer({
|
|
2434
|
+
'agentId': _0x483b77[_0xcf0c7d(0x19d)],
|
|
2435
|
+
'attachmentCache': _0x26447d,
|
|
2436
|
+
'client': _0x132c81,
|
|
2437
|
+
'daemonLocalUrl': _0x483b77[_0xcf0c7d(0x139)],
|
|
2429
2438
|
'uploadPreparer': prepareUploadFile,
|
|
2430
|
-
'workerModeEnabled':
|
|
2431
|
-
'workerMode':
|
|
2432
|
-
'workerThreadTarget':
|
|
2439
|
+
'workerModeEnabled': _0x483b77[_0xcf0c7d(0x211)],
|
|
2440
|
+
'workerMode': _0x483b77[_0xcf0c7d(0xd5)],
|
|
2441
|
+
'workerThreadTarget': _0x483b77[_0xcf0c7d(_0x240030._0x2d4e1c)]
|
|
2433
2442
|
});
|
|
2434
|
-
await
|
|
2443
|
+
await _0x3a19be[_0xcf0c7d(0xd9)][_0xcf0c7d(0xe0)](new _0xdfd381());
|
|
2435
2444
|
}
|
|
2436
|
-
var executedAsEntry = process[
|
|
2437
|
-
executedAsEntry && await runChatBridgeCli(process[
|
|
2445
|
+
var executedAsEntry = process[_0x3b2449(0x145)][0x1] ? import.meta.url === pathToFileURL(process[_0x3b2449(0x145)][0x1])['href'] : ![];
|
|
2446
|
+
executedAsEntry && await runChatBridgeCli(process[_0x3b2449(0x145)]['slice'](0x2));
|
|
2438
2447
|
export {
|
|
2439
2448
|
createChatBridgeHandlers,
|
|
2440
2449
|
createChatBridgeServer,
|