@dscord/daemon 0.1.68 → 0.1.69
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 +1992 -2004
- package/dist/index.js +9893 -9936
- package/package.json +1 -1
package/dist/chat-bridge.js
CHANGED
|
@@ -1,519 +1,533 @@
|
|
|
1
|
-
const
|
|
2
|
-
function
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
const _0x10d6b5 = _0x35b1;
|
|
2
|
+
(function (_0x4f542f, _0x131633) {
|
|
3
|
+
const _0x52b50b = {
|
|
4
|
+
_0x18f83d: 0x192,
|
|
5
|
+
_0x5c34f2: 0x1f0,
|
|
6
|
+
_0x380e55: 0x127,
|
|
7
|
+
_0x3a26e0: 0x2a3
|
|
8
|
+
}, _0x4a87f0 = _0x35b1, _0x4c6ce3 = _0x4f542f();
|
|
9
|
+
while (!![]) {
|
|
10
|
+
try {
|
|
11
|
+
const _0x8e02e5 = parseInt(_0x4a87f0(_0x52b50b._0x18f83d)) / 0x1 + -parseInt(_0x4a87f0(_0x52b50b._0x5c34f2)) / 0x2 * (parseInt(_0x4a87f0(0x2ae)) / 0x3) + -parseInt(_0x4a87f0(0x263)) / 0x4 + -parseInt(_0x4a87f0(0x22c)) / 0x5 * (parseInt(_0x4a87f0(0x26d)) / 0x6) + -parseInt(_0x4a87f0(_0x52b50b._0x380e55)) / 0x7 + parseInt(_0x4a87f0(0x16c)) / 0x8 * (-parseInt(_0x4a87f0(_0x52b50b._0x3a26e0)) / 0x9) + parseInt(_0x4a87f0(0x123)) / 0xa;
|
|
12
|
+
if (_0x8e02e5 === _0x131633)
|
|
13
|
+
break;
|
|
14
|
+
else
|
|
15
|
+
_0x4c6ce3['push'](_0x4c6ce3['shift']());
|
|
16
|
+
} catch (_0x356106) {
|
|
17
|
+
_0x4c6ce3['push'](_0x4c6ce3['shift']());
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}(_0xdbc3, 0xdf124));
|
|
21
|
+
import { pathToFileURL } from 'node:url';
|
|
22
|
+
import {
|
|
23
|
+
mkdir,
|
|
24
|
+
readFile,
|
|
25
|
+
readdir,
|
|
26
|
+
stat,
|
|
27
|
+
writeFile
|
|
28
|
+
} from 'node:fs/promises';
|
|
29
|
+
function _0x35b1(_0x25d2f7, _0x42d6f9) {
|
|
30
|
+
_0x25d2f7 = _0x25d2f7 - 0x123;
|
|
31
|
+
const _0xdbc3f1 = _0xdbc3();
|
|
32
|
+
let _0x35b16 = _0xdbc3f1[_0x25d2f7];
|
|
33
|
+
if (_0x35b1['LFfwkS'] === undefined) {
|
|
34
|
+
var _0x59037e = function (_0x475388) {
|
|
35
|
+
const _0x2e067d = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
36
|
+
let _0x5b4675 = '', _0x985aa9 = '';
|
|
37
|
+
for (let _0x4eaa38 = 0x0, _0x3414fe, _0x8ff712, _0x16da02 = 0x0; _0x8ff712 = _0x475388['charAt'](_0x16da02++); ~_0x8ff712 && (_0x3414fe = _0x4eaa38 % 0x4 ? _0x3414fe * 0x40 + _0x8ff712 : _0x8ff712, _0x4eaa38++ % 0x4) ? _0x5b4675 += String['fromCharCode'](0xff & _0x3414fe >> (-0x2 * _0x4eaa38 & 0x6)) : 0x0) {
|
|
38
|
+
_0x8ff712 = _0x2e067d['indexOf'](_0x8ff712);
|
|
39
|
+
}
|
|
40
|
+
for (let _0x537c0a = 0x0, _0x23cab0 = _0x5b4675['length']; _0x537c0a < _0x23cab0; _0x537c0a++) {
|
|
41
|
+
_0x985aa9 += '%' + ('00' + _0x5b4675['charCodeAt'](_0x537c0a)['toString'](0x10))['slice'](-0x2);
|
|
42
|
+
}
|
|
43
|
+
return decodeURIComponent(_0x985aa9);
|
|
44
|
+
};
|
|
45
|
+
_0x35b1['ClFfcR'] = _0x59037e, _0x35b1['aXMnUm'] = {}, _0x35b1['LFfwkS'] = !![];
|
|
46
|
+
}
|
|
47
|
+
const _0x463234 = _0xdbc3f1[0x0], _0x43ce6b = _0x25d2f7 + _0x463234, _0x5d4ee6 = _0x35b1['aXMnUm'][_0x43ce6b];
|
|
48
|
+
return !_0x5d4ee6 ? (_0x35b16 = _0x35b1['ClFfcR'](_0x35b16), _0x35b1['aXMnUm'][_0x43ce6b] = _0x35b16) : _0x35b16 = _0x5d4ee6, _0x35b16;
|
|
49
|
+
}
|
|
50
|
+
import { homedir } from 'node:os';
|
|
51
|
+
import _0x5b4675 from 'node:path';
|
|
52
|
+
var DEFAULT_MAX_FILE_SIZE = 0x64 * 0x400 * 0x400, MIME_BY_EXTENSION = {
|
|
53
|
+
'.csv': _0x10d6b5(0x17a),
|
|
54
|
+
'.gif': _0x10d6b5(0x17d),
|
|
55
|
+
'.jpeg': _0x10d6b5(0x158),
|
|
56
|
+
'.jpg': 'image/jpeg',
|
|
57
|
+
'.json': 'application/json',
|
|
58
|
+
'.md': 'text/markdown',
|
|
59
|
+
'.pdf': _0x10d6b5(0x2ad),
|
|
60
|
+
'.png': 'image/png',
|
|
61
|
+
'.svg': _0x10d6b5(0x27f),
|
|
62
|
+
'.txt': _0x10d6b5(0x22a),
|
|
63
|
+
'.webp': _0x10d6b5(0x16d),
|
|
64
|
+
'.xml': _0x10d6b5(0x28e),
|
|
65
|
+
'.zip': 'application/zip'
|
|
66
|
+
};
|
|
67
|
+
function guessContentType(_0x985aa9) {
|
|
68
|
+
const _0x33debb = {
|
|
69
|
+
_0x27e14b: 0x1df,
|
|
70
|
+
_0x5d7b96: 0x1f4
|
|
71
|
+
}, _0x2dc375 = _0x10d6b5;
|
|
72
|
+
return MIME_BY_EXTENSION[_0x5b4675[_0x2dc375(_0x33debb._0x27e14b)](_0x985aa9)[_0x2dc375(0x1c5)]()] ?? _0x2dc375(_0x33debb._0x5d7b96);
|
|
73
|
+
}
|
|
74
|
+
function _0xdbc3() {
|
|
75
|
+
const _0xf559c0 = [
|
|
17
76
|
'CgfYDgLJAxbHBNq',
|
|
18
|
-
'
|
|
19
|
-
'
|
|
20
|
-
'
|
|
77
|
+
'otyXmJm1r09bqNbm',
|
|
78
|
+
'BMv4Den1CNnVCG',
|
|
79
|
+
'ls1HDhrHy2HTzw50lwnHy2HLlwrPCG',
|
|
80
|
+
'ywDNCMvNyxrLswrZ',
|
|
21
81
|
'C2XPy2u',
|
|
22
|
-
'
|
|
23
|
-
'
|
|
24
|
-
'
|
|
25
|
-
'
|
|
26
|
-
'
|
|
27
|
-
'
|
|
28
|
-
'
|
|
29
|
-
'
|
|
30
|
-
'
|
|
31
|
-
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
32
|
-
'Dg9tDhjPBMC',
|
|
33
|
-
'DhLWzq',
|
|
34
|
-
'l3nLCNzLCG',
|
|
35
|
-
'ywz0zxi',
|
|
36
|
-
'B3b0Aw9UywW',
|
|
37
|
-
'yM9KEvrLEhq',
|
|
38
|
-
'DgfZA051BwjLCG',
|
|
39
|
-
'igzHAwXLzdOG',
|
|
40
|
-
'D29YA2vY',
|
|
41
|
-
'CMvZDwX0CW',
|
|
42
|
-
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
43
|
-
'yxr0ywnOBwvUDenHy2HL',
|
|
44
|
-
'y29UDgvUDa',
|
|
45
|
-
'kgXLz2fJEsK',
|
|
46
|
-
'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlIbgB3iGC3vIDgfZA3mGAw4Gysb0AhjLywqSihvZzsbZDwj0yxnRx251BwjLCNmGD2L0AcbHihnPBMDSzsb0yxnRx251BwjLCNmGzw50CNKU',
|
|
47
|
-
'lcbWCMv2Awv3pq',
|
|
48
|
-
'y2HLy2TnzxnZywDLCW',
|
|
82
|
+
'CgfKu3rHCNq',
|
|
83
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
84
|
+
'AxnbCNjHEq',
|
|
85
|
+
'Agv4',
|
|
86
|
+
'yxjYyxLcDwzMzxi',
|
|
87
|
+
'yMfZzw5HBwu',
|
|
88
|
+
'C3vIDgfZA19UDw1IzxjZ',
|
|
89
|
+
'Bwv0yq',
|
|
90
|
+
'Cgf5Bg9HzePZB24',
|
|
49
91
|
'BgLZDf90yxnRCW',
|
|
50
|
-
'
|
|
51
|
-
'
|
|
52
|
-
'
|
|
53
|
-
'
|
|
54
|
-
'
|
|
55
|
-
'C2vYDMvY',
|
|
56
|
-
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxm',
|
|
57
|
-
'Dgv4Dc9JC3y',
|
|
58
|
-
'zxnJywXHDgvFDg9FBwfPBG',
|
|
59
|
-
'DgHYzwfKvgfYz2v0',
|
|
92
|
+
'zgf0yq',
|
|
93
|
+
'zgLZCg9ZAxrPB24',
|
|
94
|
+
'lcbWCMv2Awv3pq',
|
|
95
|
+
'y3jLyxrLvgfZA3m',
|
|
96
|
+
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
60
97
|
'Bgf0zxn0u2vX',
|
|
61
|
-
'
|
|
62
|
-
'
|
|
63
|
-
'
|
|
64
|
-
'
|
|
65
|
-
'
|
|
66
|
-
'
|
|
67
|
-
'
|
|
68
|
-
'
|
|
69
|
-
'
|
|
70
|
-
'ig1ZzZ0',
|
|
71
|
-
'zgvZy3jPChrPB24',
|
|
72
|
-
'D29YA2vYu2vZC2LVBKLK',
|
|
73
|
-
'mtbZzeXQuuK',
|
|
74
|
-
'D29YA2vYCW',
|
|
75
|
-
'lMrZy29Yza',
|
|
76
|
-
'y2HHBM5LBa',
|
|
77
|
-
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWGB3iGDgHYzwfKlIbuAhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPihjLDhvYBNmGDgHLihbHCMvUDcb0yxnRihbSDxmGAxrZihn1yNrHC2TZihDPDgGGywDNCMvNyxrPB24GzMLLBgrZicHJAgLSzhjLBLrVDgfSlcbJAgLSzhjLBKrVBMuSignOAwXKCMvUsw5qCM9NCMvZCYKUienOyw5UzwWGDgfYz2v0ihjLDhvYBNmGB25SEsbWyxjLBNqGDgfZA3mGkg5Vihn1yNrHC2TZks4',
|
|
78
|
-
'4PQG77IpifDpuKTfuIbbq1rjvKfuruqG4Ocuifn0B3aGquXmihDVCMSGB24GDgHPCYb0yxnRigLTBwvKAwf0zwX5lIbeBYbUB3qGC2vUzcbMDxj0AgvYig1LC3nHz2vZihrVihrOAxmGDgHYzwfKlG',
|
|
79
|
-
'v29YA2vYici',
|
|
80
|
-
'yxr0ywnOBwvUDf9Pza',
|
|
81
|
-
'DxbSB2fKx2zPBgu',
|
|
82
|
-
'Axnoyu4',
|
|
83
|
-
'xsba',
|
|
84
|
-
'l3n0yxj0',
|
|
85
|
-
'Dg9mB3DLCKnHC2u',
|
|
86
|
-
'ls1Hz2vUDc1Pza',
|
|
87
|
-
'oIb3B3jRzxiGy2fUig9UBhKGB3bLCMf0zsbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcaO',
|
|
88
|
-
'AgvHzgvYCW',
|
|
89
|
-
'lIbZDg9WtwfPBJ10CNvLigv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
90
|
-
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
91
|
-
'z2v0rNvSBfLLyxi',
|
|
92
|
-
'CMvZCg9UC2u',
|
|
93
|
-
'C3rHCNrLza',
|
|
94
|
-
'z2v0tw9UDgG',
|
|
95
|
-
'BwvTyMvYCW',
|
|
98
|
+
'ANnVBG',
|
|
99
|
+
'twLZC2LUzYaTlwrHzw1VBI1HCgKTA2v5',
|
|
100
|
+
'z2v0u2vJB25KCW',
|
|
101
|
+
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
102
|
+
'lMjPBG',
|
|
103
|
+
'DxnLCG',
|
|
104
|
+
'zMv0y2HjBxbS',
|
|
105
|
+
'icHPzdO',
|
|
106
|
+
'Dw5JBgfPBv90yxnRoIb3B3jRzxiGy2fUig9UBhKGDw5JBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCI4',
|
|
96
107
|
'DgHYzwfKx3rHCMDLDa',
|
|
97
|
-
'
|
|
108
|
+
'DxbKyxrL',
|
|
109
|
+
'ywDLBNq',
|
|
110
|
+
'Dgv4Da',
|
|
111
|
+
'DgHYzwfKvgfYz2v0pq',
|
|
112
|
+
'4PQG77IpifDpuKTfuIbbq1rjvKfuruqG4Ocuifn0B3aGquXmihDVCMSGB24GDgHPCYb0yxnRigLTBwvKAwf0zwX5lIbeBYbUB3qGC2vUzcbMDxj0AgvYig1LC3nHz2vZihrVihrOAxmGDgHYzwfKlG',
|
|
113
|
+
'igLUia',
|
|
114
|
+
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
115
|
+
'vgfZAZOG',
|
|
116
|
+
'Ahr0Chm6',
|
|
117
|
+
'l3rHC2TZ',
|
|
118
|
+
'uM9VDcb0yxnRig1LC3nHz2uGAwq6ia',
|
|
119
|
+
'DgfZA19Pza',
|
|
120
|
+
'cUkAOo+4JYbxt1jlrviGqunusvzbveveiokaLcbtDg9Wiefmtcb3B3jRig9UihrOAxmGDgfZAYbPBw1LzgLHDgvSEs4Gv29YA2vYigHHBMrSzxmGzxHLy3v0Aw9UigvUzc10BY1LBMqU',
|
|
121
|
+
'DgHYzwfK',
|
|
122
|
+
'z2v0vgLTzq',
|
|
123
|
+
'ywrK',
|
|
124
|
+
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
125
|
+
'DgfYz2v0zwruyxnR',
|
|
126
|
+
'CMvZDwX0sNnVBG',
|
|
127
|
+
'Dg9ju09tDhjPBMC',
|
|
128
|
+
'BgLZDfnLCNzLCG',
|
|
129
|
+
'l3DVCMTLCNmVCgfYAW',
|
|
130
|
+
'zxHWAxjLC0f0',
|
|
131
|
+
'BwvKAxvT',
|
|
132
|
+
'nda3mteXnKDUAhvyua',
|
|
133
|
+
'ue9tva',
|
|
134
|
+
'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
|
|
135
|
+
'DgHYzwfKswq',
|
|
136
|
+
'DxjNzw50',
|
|
137
|
+
'Ahr0CdOVl2XVy2fSAg9ZDdO4mtiX',
|
|
138
|
+
'yxr0ywnOBwvUDeLKCW',
|
|
139
|
+
'AhvTyw4',
|
|
140
|
+
'CMvHzeHPC3rVCNK',
|
|
141
|
+
'y2HHBM5LBa',
|
|
142
|
+
'ndj0qNjYwu4',
|
|
143
|
+
'Aw5FChjVz3jLC3m',
|
|
98
144
|
'CgfYA193B3jRzxi',
|
|
99
|
-
'
|
|
145
|
+
'zg93BMXVywrbDhrHy2HTzw50',
|
|
146
|
+
'zgvZy3jPyMu',
|
|
147
|
+
'CM9VDe1LC3nHz2vjza',
|
|
148
|
+
'AhvTyw5Z',
|
|
149
|
+
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
150
|
+
'ig1LC3nHz2vZkqOk',
|
|
151
|
+
'rMLSzsbZAxPLigv4y2vLzhmGBgLTAxq6ia',
|
|
152
|
+
'u2vUzcbHig1LC3nHz2uUieLMihzPC2LIAwXPDhKGAxmGB21PDhrLzcWGDgHLig1LC3nHz2uGAxmGChvIBgLJlIbjBIb0yxnRihrOCMvHzhmSihnLDcb2AxnPyMLSAxr5oIbHC2LKzsbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Gt3v0C2LKzsb0AhjLywrZlcbKBYbUB3qGC2v0ihzPC2LIAwXPDhKUifjLDxnLihrOzsbLEgfJDcb0yxjNzxqGC3rYAw5NigzYB20GAw5JB21PBMCGBwvZC2fNzxmU',
|
|
153
|
+
'ywDNCMvNyxrLswq',
|
|
154
|
+
'Dg9KBW',
|
|
155
|
+
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
156
|
+
'y29UBMvJDa',
|
|
157
|
+
'ls1KywvTB24TBg9JywWTDxjS',
|
|
158
|
+
'kg5VBMuP',
|
|
159
|
+
'AhjLzG',
|
|
160
|
+
'Aw1Hz2uVC3zNk3HTBa',
|
|
161
|
+
'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
|
|
162
|
+
'AM9PBG',
|
|
163
|
+
'ls13B3jRzxiTDgHYzwfKlxrHCMDLDa',
|
|
164
|
+
'C2L6zuj5DgvZ',
|
|
165
|
+
'DgfYz2v0',
|
|
100
166
|
'ihrPBwu9',
|
|
101
|
-
'
|
|
167
|
+
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
168
|
+
'Dw5JBgfPBv90yxnR',
|
|
169
|
+
'l3nLCNzLCG',
|
|
102
170
|
'l3nLBMq',
|
|
171
|
+
'CMvJB3jK',
|
|
172
|
+
'Bg9JywXLq29TCgfYzq',
|
|
173
|
+
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
174
|
+
'Dw5RBM93BG',
|
|
175
|
+
'yxbWBgLJyxrPB24VEg1S',
|
|
176
|
+
'C3rHCNrZv2L0Aa',
|
|
177
|
+
'C2vYDMvYvxjS',
|
|
178
|
+
'zMLSzw5HBwu',
|
|
179
|
+
'igTPBMq9',
|
|
180
|
+
'BMfTzq',
|
|
181
|
+
'BwvTyMvYCW',
|
|
182
|
+
'v29YA2vYici',
|
|
183
|
+
'l2fWAs9Hz2vUDc1ZzxnZAw9UCY8',
|
|
103
184
|
'BgLZDf9Zzxj2zxi',
|
|
104
|
-
'
|
|
105
|
-
'
|
|
106
|
-
'
|
|
107
|
-
'
|
|
108
|
-
'AgfZ',
|
|
109
|
-
'DgL0Bgu',
|
|
110
|
-
'oIb3B3jRzxiGCNvUDgLTzsbTAxnZAw5NihDVCMTLCLrOCMvHzfrHCMDLDdSGy2fUBM90ihzHBgLKyxrLihnJB3bL',
|
|
111
|
-
'zMv0y2HjBxbS',
|
|
112
|
-
'yMfZzty0',
|
|
113
|
-
'mtG3nZy3ovPSAuTHuW',
|
|
114
|
-
'D29YA2vYsgfUzg9MzG',
|
|
115
|
-
'y3vYC29Y',
|
|
116
|
-
'pgvTChr5pG',
|
|
185
|
+
'C3rYAw5N',
|
|
186
|
+
'y3jLyxrLx3rHC2TZ',
|
|
187
|
+
'zxzLBNrtzxe',
|
|
188
|
+
'BwfPBG',
|
|
117
189
|
'z2v0twLUDxrLCW',
|
|
118
|
-
'
|
|
119
|
-
'
|
|
120
|
-
'
|
|
121
|
-
'
|
|
122
|
-
'Agv4',
|
|
123
|
-
'DxbSB2fKx2zPBguGzMfPBgvK',
|
|
124
|
-
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
125
|
-
'BwvZC2fNzuLK',
|
|
126
|
-
'yxjYyxLcDwzMzxi',
|
|
127
|
-
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
128
|
-
'yxbWBgLJyxrPB24VANnVBG',
|
|
129
|
-
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
130
|
-
'l3rHC2TZpW',
|
|
131
|
-
'CMvHC29U',
|
|
132
|
-
'zg0T',
|
|
133
|
-
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
134
|
-
'iYmJiefNzw50CW',
|
|
135
|
-
'A2LUza',
|
|
136
|
-
'l3rHC2TZl3vUy2XHAw0',
|
|
137
|
-
'mtK3otq4mu1TBe9Zta',
|
|
138
|
-
'D29YA2vYsgfUzg9MzKvYCM9Y',
|
|
139
|
-
'C2L6zuj5DgvZ',
|
|
140
|
-
'ywrKrxzLBNrmAxn0zw5LCG',
|
|
141
|
-
'C3rYAw5NAwz5',
|
|
142
|
-
'BgLZDf90yxnRCYbMywLSzwq',
|
|
143
|
-
'tM8GDgfZA3mGy3jLyxrLzc4',
|
|
144
|
-
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
145
|
-
'ihr5Cgu9ywDLBNq',
|
|
190
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
191
|
+
'rMLSzsbUB3qGzM91BMq6ia',
|
|
192
|
+
'B3jPz2LUywXgAwXLBMfTzq',
|
|
193
|
+
'D29YA2vY',
|
|
146
194
|
'BwfW',
|
|
147
|
-
'
|
|
148
|
-
'
|
|
149
|
-
'
|
|
195
|
+
'D29YA19RzxK',
|
|
196
|
+
'mtq1nJGZCLvkA2Hg',
|
|
197
|
+
'Bwf0y2Hoyw1L',
|
|
150
198
|
'ChvZAa',
|
|
151
|
-
'
|
|
152
|
-
'
|
|
153
|
-
'
|
|
154
|
-
'
|
|
155
|
-
'
|
|
156
|
-
'
|
|
157
|
-
'
|
|
158
|
-
'
|
|
159
|
-
'
|
|
160
|
-
'
|
|
161
|
-
'nZi0DKn0v1LS',
|
|
162
|
-
'C2vUzgvYvhLWzq',
|
|
163
|
-
'rMLSzsb1CgXVywrLzdOG',
|
|
164
|
-
'sfruuca',
|
|
199
|
+
'AxnjBNrLz2vY',
|
|
200
|
+
'lIbZDg9WtwfPBJ10CNvLigv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
201
|
+
'BgLTAxq',
|
|
202
|
+
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
203
|
+
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
204
|
+
'AgvHzgvYCW',
|
|
205
|
+
'Bwf0y2Hoyw1Ltg93zxi',
|
|
206
|
+
'yxbWBgLJyxrPB24VCgrM',
|
|
207
|
+
'mtv6sgL5C0y',
|
|
208
|
+
'AgfZ',
|
|
165
209
|
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
166
|
-
'
|
|
210
|
+
'w3rHCMDLDd0',
|
|
211
|
+
'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
|
|
212
|
+
'nteZntiYmJbqrhLlweK',
|
|
167
213
|
'twfYAYb0AguGy3vYCMvUDcb3B3jRzxiGyxmGD2fPDgLUzYbMB3iGAhvTyw4GAw5WDxqUifbHDxnLCYb0AguGAwrSzsbuveWGDgLTzxiGDw50AwWGysbUzxCGBwvZC2fNzsbHCNjPDMvZlG',
|
|
168
|
-
'
|
|
169
|
-
'
|
|
170
|
-
'
|
|
171
|
-
'
|
|
172
|
-
'
|
|
173
|
-
'
|
|
174
|
-
'
|
|
175
|
-
'
|
|
176
|
-
'
|
|
177
|
-
'
|
|
178
|
-
'
|
|
179
|
-
'
|
|
180
|
-
'
|
|
181
|
-
'
|
|
182
|
-
'
|
|
183
|
-
'
|
|
184
|
-
'
|
|
185
|
-
'
|
|
186
|
-
'
|
|
214
|
+
'A2LUza',
|
|
215
|
+
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
216
|
+
'nZG2nJu4nLrzEgvdqq',
|
|
217
|
+
'DgfZA051BwjLCG',
|
|
218
|
+
'xsba',
|
|
219
|
+
'y3jLyxrLzef0',
|
|
220
|
+
'zg0T',
|
|
221
|
+
'y2XPzw50',
|
|
222
|
+
'D3m6',
|
|
223
|
+
'iYmJienOyw5UzwXZ',
|
|
224
|
+
'yxv0BZO',
|
|
225
|
+
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
226
|
+
'l2LUDgvYBMfSl2fNzw50lW',
|
|
227
|
+
'C2vYDMvYtMfTzq',
|
|
228
|
+
'DgfZA3m',
|
|
229
|
+
'uMvHzcb0AhjLywqGAgLZDg9YEsbIzwzVCMuGDgfRAw5NigfJDgLVBI4Grg8GBM90igvJAg8GDgHPCYbTzxnZywDLihrVihrOzsb0AhjLywqU',
|
|
230
|
+
'CgfYDgLJAxbHBNrjza',
|
|
231
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxm',
|
|
232
|
+
'ChvIBgLJ',
|
|
233
|
+
'DMLLD19MAwXL',
|
|
234
|
+
'C2L6zq',
|
|
235
|
+
'ls1Hz2vUDc1Pza',
|
|
236
|
+
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
187
237
|
'C2v0',
|
|
188
|
-
'l2zPBMLZAa',
|
|
189
|
-
'CxvLDwvK',
|
|
190
238
|
'AgfZtw9Yzq',
|
|
191
|
-
'
|
|
192
|
-
'
|
|
193
|
-
'
|
|
194
|
-
'
|
|
195
|
-
'
|
|
239
|
+
'sgfUzg9MzIb0BYb3B3jRzxiGzM9YihrHC2SG',
|
|
240
|
+
'C2HHmJu2',
|
|
241
|
+
'Aw5JBhvKzxm',
|
|
242
|
+
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
|
|
243
|
+
'y2HHBM5LBe5HBwu',
|
|
244
|
+
'zg06',
|
|
245
|
+
'yxjYyxK',
|
|
246
|
+
'cGOTls0G',
|
|
247
|
+
'DMLZAwjPBgL0Eq',
|
|
248
|
+
'BwvZC2fNzv9Pzhm',
|
|
249
|
+
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
250
|
+
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
251
|
+
'yM9KEu1HCMTKB3DU',
|
|
252
|
+
'ywDNCMvNyxrLvhLWzq',
|
|
253
|
+
'y29UDgvUDa',
|
|
254
|
+
'Axnoyu4',
|
|
255
|
+
'l3n0yxj0',
|
|
256
|
+
's0iPcKf0DgfJAg1LBNqGsuq6ia',
|
|
257
|
+
'yxr0ywnOBwvUDf9Pzhm',
|
|
258
|
+
'lcbJB250zw50lxr5Cgu9',
|
|
259
|
+
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
260
|
+
't3jPz2LUywWGBwvZC2fNztOG',
|
|
261
|
+
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw5UB3qGy2XHAw0GyNKGBwvZC2fNzv9PzhmGkhrVCc1SzxzLBcbTzxnZywDLihbYB21VDgLVBIbPCYbTywLUlwfNzw50ig9UBhKPoYb1C2uGC3vIDgfZA19UDw1IzxjZigLUC2LKzsb5B3vYig93BIb0yxnRihrOCMvHzc4',
|
|
262
|
+
'CMvHzf9OAxn0B3j5',
|
|
263
|
+
'l3rHC2TZl2nSywLT',
|
|
264
|
+
'C2LNBMfS',
|
|
265
|
+
'Aw1Hz2uVANbLzW',
|
|
266
|
+
'AwrLBxbVDgvUy3LFA2v5',
|
|
267
|
+
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4Gsw4Gysb0AhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPlcbJCMvHDgvZihn1yNrHC2TZihvUzgvYihrOzsbLEgLZDgLUzYbWyxjLBNqGDgfZAY4',
|
|
268
|
+
'l3rHC2TZpW',
|
|
196
269
|
'C2vUze1LC3nHz2u',
|
|
197
|
-
'
|
|
198
|
-
'
|
|
199
|
-
'
|
|
200
|
-
'
|
|
201
|
-
'
|
|
202
|
-
'
|
|
203
|
-
'
|
|
204
|
-
'
|
|
205
|
-
'
|
|
206
|
-
'
|
|
207
|
-
'
|
|
208
|
-
'iYmJieH1BwfUCW',
|
|
209
|
-
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
210
|
-
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
211
|
-
'BNvTyMvY',
|
|
212
|
-
'C3rHCNrZv2L0Aa',
|
|
213
|
-
'Ahr0Chm6',
|
|
270
|
+
'C3rVCe1HAw49Dhj1zq',
|
|
271
|
+
'C3vJy2vZCW',
|
|
272
|
+
'y2HPBgrYzw5uB3rHBa',
|
|
273
|
+
'C3vIDgfZA19UDw1Izxi',
|
|
274
|
+
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
275
|
+
'y3jLyxrLx3rHC2TZigzHAwXLza',
|
|
276
|
+
'DgfZA0LK',
|
|
277
|
+
'DhLWzq',
|
|
278
|
+
'yM9KEvrLEhq',
|
|
279
|
+
't3b0Aw9UywWUieLMig9TAxr0zwqSihrOzsbTzxnZywDLigLZihb1yMXPyY4Gsw4GDgfZAYb0AhjLywrZlcbZzxqGiMfZAwrLiIbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Grg8GBM90ihnLDcbVDxrZAwrLihrOCMvHzhmU',
|
|
280
|
+
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
214
281
|
'xsbaC3LZDgvToIbBy2XHAw0TAgfUzg9MzL0G',
|
|
215
|
-
'
|
|
216
|
-
'
|
|
217
|
-
'CMvHzeHPC3rVCNK',
|
|
218
|
-
'iYmGu2vYDMvYoIa',
|
|
219
|
-
'vgHYzwfKihrHCMDLDdOG',
|
|
220
|
-
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
282
|
+
'D29YA2vYCW',
|
|
283
|
+
'zMLSDgvY',
|
|
221
284
|
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxHLy3v0Aw9Utw9Kzt1TywLUcLn0yxKGAw4GBwfPBIbZzxnZAw9UoIbYzwfKihrOzsbYzwzLCMvUy2vKihbSyw4Vzg9JDw1LBNqGyw5KignHBgWGy3jLyxrLx3rHC2TZigLUihrOzsbWyxjLBNqGy2HHBM5LBcb0BYbICMvHAYbPDcbPBNrVihrVCc1SzxzLBcb0yxnRCYaOB3iGB3rOzxj3AxnLigfKDMfUy2uGDgHLihrHC2SGAw4GBwfPBIb3AxrOB3v0igHHBMrPBMCGB2zMihrVigeGD29YA2vYks4',
|
|
222
|
-
'
|
|
285
|
+
'nJi0A2n1Bfnj',
|
|
286
|
+
'Aw1Hz2uVD2vICa',
|
|
287
|
+
'zgvZy3jPChrPB24',
|
|
288
|
+
'BwvZC2fNzq',
|
|
289
|
+
'ihr5Cgu9ywDLBNq',
|
|
290
|
+
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
291
|
+
'D29YA2vYu2vZC2LVBKLK',
|
|
292
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
293
|
+
'DgfYz2v0zwq',
|
|
294
|
+
'C29Tzq',
|
|
295
|
+
'khvUA25VD24P',
|
|
296
|
+
'DgL0Bgu',
|
|
297
|
+
'ChjVDg9JB2W',
|
|
298
|
+
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
299
|
+
'Dgv4Dc9JC3y',
|
|
300
|
+
'D29YA2vYtw9Kzq',
|
|
301
|
+
'BwvZC2fNzxm',
|
|
302
|
+
'Aw1Hz2uVz2LM',
|
|
223
303
|
'l3jLy2vPDMu/',
|
|
224
|
-
'
|
|
304
|
+
'twLZC2LUzYaTlwfNzw50lwLK',
|
|
305
|
+
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWGB3iGDgHYzwfKlIbuAhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPihjLDhvYBNmGDgHLihbHCMvUDcb0yxnRihbSDxmGAxrZihn1yNrHC2TZihDPDgGGywDNCMvNyxrPB24GzMLLBgrZicHJAgLSzhjLBLrVDgfSlcbJAgLSzhjLBKrVBMuSignOAwXKCMvUsw5qCM9NCMvZCYKUienOyw5UzwWGDgfYz2v0ihjLDhvYBNmGB25SEsbWyxjLBNqGDgfZA3mGkg5Vihn1yNrHC2TZks4',
|
|
306
|
+
'ig1LC3nHz2vZihnOB3DUlIbvC2uGyMvMB3jLpq',
|
|
307
|
+
'r0vu',
|
|
308
|
+
'yxr0ywnOBwvUDeLK',
|
|
309
|
+
'zw51Bq',
|
|
310
|
+
'y2HHBM5LBfrHCMDLDa',
|
|
311
|
+
'z2v0',
|
|
312
|
+
'DxbSB2fKx2zPBguGzMfPBgvK',
|
|
313
|
+
'C3rVCe1HAw4',
|
|
314
|
+
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
315
|
+
'rg93BMXVywrLzcb0BZOG',
|
|
316
|
+
'Bg93',
|
|
317
|
+
'sw52ywXPzcaTlwLUAxrPywWTBgfZDc1ZzwvUlxnLCq',
|
|
318
|
+
'ignSywLTzwq',
|
|
319
|
+
'ihn0yxr1CZ0',
|
|
320
|
+
'CNvUBMLUzW',
|
|
321
|
+
'lsaJ',
|
|
322
|
+
'C3rYAw5NAwz5',
|
|
323
|
+
'mtiWmZa0nvbIuLvIAG',
|
|
324
|
+
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4GrM9Yihn1yNrHC2TZlcbHBhnVihbHC3mGC3vIDgfZA19UDw1IzxiU',
|
|
325
|
+
'D29YA2vYsgfUzg9MzJ10CNvL',
|
|
326
|
+
'C2vUzgvYtMfTzq',
|
|
327
|
+
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
328
|
+
'yxr0ywnOBwvUDf9Pza',
|
|
329
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
330
|
+
'zNjVBq',
|
|
331
|
+
'C2vUzgvYvhLWzq',
|
|
332
|
+
'CMvZCg9UC2u',
|
|
333
|
+
'D29YA2vYsgfUzg9MzKvYCM9Y',
|
|
334
|
+
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
335
|
+
'B3b0Aw9UywW',
|
|
336
|
+
'ywz0zxi',
|
|
337
|
+
'DgfZAY0',
|
|
338
|
+
'C2vUzf9TzxnZywDL',
|
|
339
|
+
'y2XHAw1FDgfZA3m',
|
|
340
|
+
'ihn0yxLZigLUig1HAw4GC2vZC2LVBIaOzxHLy3v0Aw9Utw9Kzt1TywLUktSGCMvTywLUigHLCMuSihjLywqGDgHLihjLzMvYzw5JzwqGCgXHBI9KB2n1BwvUDcWGyw5KignHBgWGy3jLyxrLx3rHC2TZigLUihrOzsbWyxjLBNqGy2HHBM5LBcb0BYbICMvHAYbPDcbPBNrVihrVCc1SzxzLBcb0yxnRCYbPzIb0Agf0igLZihrOzsbPBNrLBNqU',
|
|
341
|
+
'ywXS',
|
|
342
|
+
'l3vWBg9Hza',
|
|
343
|
+
'z2v0sg91CNm',
|
|
344
|
+
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
345
|
+
'kgXLz2fJEsK',
|
|
346
|
+
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
347
|
+
'ywjVCNq',
|
|
348
|
+
'AxngAw5PDgu',
|
|
349
|
+
'Aw5FCMv2Awv3',
|
|
350
|
+
'BgvUz3rO',
|
|
351
|
+
'y2HLy2TnzxnZywDLCW',
|
|
352
|
+
'Ahr0CdO',
|
|
225
353
|
'ls13B3jRzxiTC2vZC2LVBI1Pza',
|
|
226
|
-
'C29Tzq',
|
|
227
|
-
'y3jLyxrLzef0',
|
|
228
354
|
'C3rHDhvZ',
|
|
229
|
-
'ignSywLTzwq',
|
|
230
|
-
'zMv0y2HuAw1LB3v0txm',
|
|
231
|
-
'D29YA2vYx3nLC3nPB25FAwq',
|
|
232
|
-
'sw52ywXPzcaTlwLUAxrPywWTBgfZDc1ZzwvUlxnLCq',
|
|
233
|
-
'BMfTzq',
|
|
234
|
-
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
235
|
-
'vgfZAZOG',
|
|
236
|
-
'Dgv4Dc9TyxjRzg93BG',
|
|
237
355
|
'DhjPBq',
|
|
238
|
-
'
|
|
239
|
-
'
|
|
240
|
-
'
|
|
241
|
-
'
|
|
242
|
-
'
|
|
243
|
-
'
|
|
244
|
-
'
|
|
245
|
-
'
|
|
246
|
-
'
|
|
247
|
-
'
|
|
248
|
-
'
|
|
249
|
-
'
|
|
250
|
-
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
251
|
-
'C3rVCe1HAw4',
|
|
252
|
-
'ChjVDg9JB2W',
|
|
253
|
-
'CNvUswq',
|
|
254
|
-
'zgfLBw9Utg9JywXvCMW',
|
|
255
|
-
'AwrLBxbVDgvUy3LFA2v5',
|
|
256
|
-
'C2HHmJu2',
|
|
257
|
-
'iokaLca',
|
|
258
|
-
'yMvMB3jL',
|
|
259
|
-
'DMLLD19MAwXLigzHAwXLza',
|
|
260
|
-
'Cgf5Bg9HzePZB24',
|
|
356
|
+
'y29UDgvUDfr5Cgu',
|
|
357
|
+
'zMLUza',
|
|
358
|
+
'l2nVBNrLBNq',
|
|
359
|
+
'ig1LC3nHz2u9',
|
|
360
|
+
'Dg9gAxHLza',
|
|
361
|
+
'l3rHC2TZl3vUy2XHAw0',
|
|
362
|
+
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw4GB25SEsbJBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCNmU',
|
|
363
|
+
'y2HPBgrYzw5eB25L',
|
|
364
|
+
'zw50CMLLCW',
|
|
365
|
+
'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
|
|
366
|
+
'BgLZDf90yxnRCYbMywLSzwq',
|
|
367
|
+
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
261
368
|
'DgHYzwfKu2HVCNrjza',
|
|
262
|
-
'
|
|
369
|
+
'C2f2zq',
|
|
370
|
+
'oIb3B3jRzxiGy2fUig9UBhKGB3bLCMf0zsbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcaO',
|
|
263
371
|
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
264
|
-
'y2HHBM5LBeLK',
|
|
265
|
-
'rMLSzsbZAxPLigv4y2vLzhmGBgLTAxq6ia',
|
|
266
|
-
'zg9Uzq',
|
|
267
|
-
'Aw1Hz2uVCg5N',
|
|
268
|
-
'Bwf4',
|
|
269
|
-
'Ahr0CdO',
|
|
270
|
-
'z2v0x3DVCMTLCL9ZDgf0DxmGzMfPBgvK',
|
|
271
|
-
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
272
|
-
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
273
372
|
'ls1Zzxj2zxiTDxjS',
|
|
274
|
-
'
|
|
275
|
-
'
|
|
276
|
-
'
|
|
277
|
-
'
|
|
278
|
-
'
|
|
279
|
-
'C3vIDgfZA19UDw1IzxjZ',
|
|
280
|
-
'CMvXDwvZDfvYBa',
|
|
281
|
-
'ig1LC3nHz2vZkqOk',
|
|
282
|
-
'sgfUzg9MzIb0BYb3B3jRzxiGzM9YihrHC2SG',
|
|
283
|
-
'6k+35Rgcia',
|
|
284
|
-
'ANnVBG',
|
|
285
|
-
'y2HLy2TFBwvZC2fNzxmGzMfPBgvK',
|
|
373
|
+
'D29YA2vYx3nLC3nPB25FAwq',
|
|
374
|
+
'Dg9mB3DLCKnHC2u',
|
|
375
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
|
|
376
|
+
'zxnJywXHDgvFDg9FBwfPBG',
|
|
377
|
+
'DgfZAW',
|
|
286
378
|
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxjYB3i9',
|
|
379
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVC3rKAw8UANm',
|
|
380
|
+
'ls1KywvTB24TyxbPlwTLEq',
|
|
381
|
+
'C2vYDMvY',
|
|
382
|
+
'lsba',
|
|
383
|
+
'iYmJieH1BwfUCW',
|
|
384
|
+
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
385
|
+
'oIb3B3jRzxiGCNvUDgLTzsbTAxnZAw5NihDVCMTLCLrOCMvHzfrHCMDLDdSGy2fUBM90ihzHBgLKyxrLihnJB3bL',
|
|
386
|
+
'CMvWBgfJzq',
|
|
387
|
+
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
388
|
+
'v29YA2vYlw9UBhKUifbHCMSGDgHLign1CNjLBNqGD29YA2vYigXHBMuGywz0zxiGEw91igHHDMuGywXYzwfKEsbYzxbVCNrLzcbYzxn1BhrZigLUihrOAxmGDgHYzwfKlIbuAgLZigrVzxmGBM90igvUzcb0AguGC2vZC2LVBJSGC2fTzs10AhjLywqGzM9SBg93lxvWihDPBgWGCMvZDw1LihrOAxmGBgfUzs4',
|
|
389
|
+
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
390
|
+
'z2v0x3DVCMTLCL9ZDgf0DxmGzMfPBgvK',
|
|
391
|
+
'D29YA2vYrgLZCg9ZAxrPB249',
|
|
392
|
+
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
393
|
+
'D3nZoG',
|
|
394
|
+
'yxbWBgLJyxrPB24VANnVBG',
|
|
395
|
+
'y29UDgvUDc10ExbL',
|
|
396
|
+
'ywz0zxjtzxe',
|
|
397
|
+
'zxjYB3i',
|
|
398
|
+
'C29YDa',
|
|
399
|
+
'CMvHC29U',
|
|
400
|
+
'zxH0BMfTzq',
|
|
401
|
+
'C2vZC2LVBKLK',
|
|
402
|
+
'sfruuca',
|
|
403
|
+
'ig1ZzZ0',
|
|
404
|
+
'BNvTyMvY',
|
|
405
|
+
'DgHYzwfKtNvTyMvY',
|
|
406
|
+
'ywDLBNrZ',
|
|
287
407
|
'B2jQzwn0',
|
|
288
|
-
'
|
|
289
|
-
'
|
|
290
|
-
'
|
|
291
|
-
'
|
|
292
|
-
'
|
|
293
|
-
'
|
|
408
|
+
'y3vYC29Y',
|
|
409
|
+
'y2XHAw1uyxnRCW',
|
|
410
|
+
'iYmJiefNzw50CW',
|
|
411
|
+
'C3vIDgfZA051BwjLCG',
|
|
412
|
+
'DxbSB2fKx2zPBgu',
|
|
413
|
+
'y2HHBM5LBeLK',
|
|
414
|
+
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
415
|
+
'zxHLy3v0Aw9Utw9Kzt0',
|
|
416
|
+
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
417
|
+
'mJy5odCWwLLOuePr',
|
|
418
|
+
'Dg9VBa',
|
|
419
|
+
'CxvLDwvK',
|
|
420
|
+
'yxjNDG',
|
|
421
|
+
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
422
|
+
'vgHYzwfKihrHCMDLDdOG',
|
|
423
|
+
'tM8GDgfZA3mGy2XHAw1Lzc4',
|
|
424
|
+
'CgfYC2u',
|
|
425
|
+
'y2HHDa',
|
|
426
|
+
'DMfSDwu',
|
|
427
|
+
'cKLMihLVDxiGBwvTB3j5ig9YignOyw5UzwWGCNvSzxmGCMvXDwLYzsbYzxzPzxCSihnLBMqGysbTzxnZywDLig1LBNrPB25PBMCGDgHLihjLDMLLD2vYigjLzM9YzsbWyxjRAw5NlG',
|
|
428
|
+
'BwvZC2fNzuLK',
|
|
429
|
+
'Bwf4',
|
|
430
|
+
'CMvXDwvZDfvYBa',
|
|
431
|
+
'y2HLy2TFBwvZC2fNzxm',
|
|
432
|
+
'mc4WlJa',
|
|
433
|
+
'D29YA2vYtw9KzuvUywjSzwq',
|
|
434
|
+
'zMLSzv9WyxrO',
|
|
435
|
+
'ywDLBNrjza',
|
|
294
436
|
'DxrMoa',
|
|
295
|
-
'igLUia',
|
|
296
|
-
'AhvTyw4',
|
|
297
|
-
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
298
|
-
'Dw5JBgfPBv90yxnRoIb3B3jRzxiGy2fUig9UBhKGDw5JBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCI4',
|
|
299
|
-
'CMvHzf9OAxn0B3j5',
|
|
300
|
-
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
301
|
-
'zgLZCg9ZAxrPB24',
|
|
302
437
|
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
303
|
-
'
|
|
304
|
-
'
|
|
305
|
-
'
|
|
306
|
-
'
|
|
307
|
-
'
|
|
308
|
-
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
309
|
-
'zw50CMLLCW',
|
|
310
|
-
'AM9PBG',
|
|
311
|
-
'yxbWBgLJyxrPB24VCgrM',
|
|
312
|
-
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
313
|
-
'Dw5RBM93BG',
|
|
314
|
-
'zgfLBw9UqxbPs2v5',
|
|
315
|
-
'ywDLBNq',
|
|
316
|
-
'Aw5FCMv2Awv3',
|
|
317
|
-
'yM9KEu1HCMTKB3DU',
|
|
318
|
-
'mJu1mtm5mMnbD2jcyq',
|
|
319
|
-
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
320
|
-
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
321
|
-
'Aw5FChjVz3jLC3m',
|
|
322
|
-
'C3vJy2vZCW',
|
|
323
|
-
'rg8GBM90ihnLBMqGzNvYDgHLCIbTzxnZywDLCYb0BYb0AgLZihrOCMvHzcdIGjqGDgHLihDVCMTLCIbPCYbOyw5KBgLUzYbPDc4',
|
|
324
|
-
'ig1LC3nHz2u9',
|
|
325
|
-
'C2LNBMfS',
|
|
326
|
-
'DMfSDwu',
|
|
327
|
-
'yxr0ywnOBwvUDf9Pzhm',
|
|
328
|
-
'y2XHAw1uyxnRCW',
|
|
329
|
-
'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
|
|
330
|
-
's0iPcKf0DgfJAg1LBNqGsuq6ia',
|
|
331
|
-
'r0vu',
|
|
332
|
-
'C2vYDMvYtMfTzq',
|
|
333
|
-
'ywDNCMvNyxrLswq',
|
|
334
|
-
'ywz0zxjtzxe',
|
|
335
|
-
'uMvHzcb0AhjLywqGAgLZDg9YEsbIzwzVCMuGDgfRAw5NigfJDgLVBI4Grg8GBM90igvJAg8GDgHPCYbTzxnZywDLihrVihrOzsb0AhjLywqU',
|
|
438
|
+
'zg9Uzq',
|
|
439
|
+
'DxbSB2fKuhjLCgfYzxi',
|
|
440
|
+
'DgvZDa',
|
|
441
|
+
'vxbKyxrLihrHC2SGC3rHDhvZigj5ignOyw5UzwWGyw5KihrHC2SGBNvTyMvYlIbgB3iGC3vIDgfZA3mSigfSC28GCgfZCYbZDwj0yxnRx251BwjLCI4Gv2HLBIbTB3zPBMCGD29YAYb0BYbPBL9YzxzPzxCSignOzwnRihLVDxiGBwvTB3j5ig9YignOyw5UzwWGCNvSzxmGyw5KihnLBMqGysbYzxzPzxDLCIbTzw50Aw9UihLVDxjZzwXMihDOzw4GyxbWCM9WCMLHDguU',
|
|
442
|
+
'zw50zxiTAgfUzg9MzIbMywLSzwq',
|
|
336
443
|
'zxHLy3v0Aw9Utw9Kzq',
|
|
337
444
|
'DxbKyxrLvgfZA1n0yxr1CW',
|
|
338
|
-
'
|
|
339
|
-
'
|
|
340
|
-
'
|
|
341
|
-
'
|
|
342
|
-
'
|
|
343
|
-
'
|
|
344
|
-
'
|
|
345
|
-
'
|
|
346
|
-
'
|
|
347
|
-
'AhvTyw5Z',
|
|
348
|
-
'Ahr0CdOVl2XVy2fSAg9ZDdO4mtiX',
|
|
349
|
-
'l3jLy2vPDMu',
|
|
350
|
-
'AxngAw5PDgu',
|
|
351
|
-
'DMLZAwjPBgL0Eq',
|
|
352
|
-
'ls1ZzxnZAw9UlwLK',
|
|
353
|
-
'C2nOzwr1BgvKrM9Y',
|
|
354
|
-
'cGOTls0G',
|
|
355
|
-
'DgfZA0LK',
|
|
356
|
-
'khvUA25VD24P',
|
|
357
|
-
'v29YA2vYia',
|
|
358
|
-
'Dw5JBgfPBvrHC2S',
|
|
359
|
-
'ktSGz290ignOyw5UzwW9',
|
|
360
|
-
'CgfYC2u',
|
|
361
|
-
'DMfSDwvZ',
|
|
362
|
-
'CgfYA193B3jRzxiGzMfPBgvK',
|
|
363
|
-
'DgfYz2v0zwruyxnR',
|
|
364
|
-
'zMLSDgvY',
|
|
365
|
-
'ywrK',
|
|
366
|
-
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
367
|
-
'z2v0vgLTzq',
|
|
368
|
-
'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
|
|
369
|
-
'CgfKu3rHCNq',
|
|
370
|
-
'ywDLBNrZ',
|
|
371
|
-
'DgHYzwfKswq',
|
|
372
|
-
'y29UDgvUDfr5Cgu',
|
|
373
|
-
'lIbnzxnZywDLieLeoIa',
|
|
374
|
-
'zxHWAxjLC0f0',
|
|
375
|
-
'Bg9JywXLq29TCgfYzq',
|
|
376
|
-
'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
|
|
377
|
-
'DgHYzwfKvgfYz2v0pq',
|
|
378
|
-
'mc4WlJa',
|
|
379
|
-
'yxjYyxK',
|
|
380
|
-
'AxngAwXL',
|
|
381
|
-
'Dg9ju09tDhjPBMC',
|
|
382
|
-
'D29YA2vYtw9Kzq',
|
|
383
|
-
'l3DVCMTLCNmVCgfYAW',
|
|
384
|
-
'ywDNCMvNyxrLswrZ',
|
|
385
|
-
'DxbKyxrL',
|
|
386
|
-
'Dg9VBa',
|
|
387
|
-
'C2vZC2LVBKLK',
|
|
388
|
-
'Aw5JBhvKzxm',
|
|
389
|
-
'z2v0',
|
|
390
|
-
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVC3rKAw8UANm',
|
|
391
|
-
'lsba',
|
|
392
|
-
'y2HPBgrYzw5uB3rHBa',
|
|
393
|
-
'zgvZDhjVEwvK',
|
|
394
|
-
'zMLUzenHy2HLzfbHDgG',
|
|
395
|
-
'Bwf0y2Hoyw1L',
|
|
396
|
-
'y2f0y2G',
|
|
397
|
-
'igTPBMq9',
|
|
398
|
-
't3jPz2LUywWGBwvZC2fNztOG',
|
|
399
|
-
'C2f2zq',
|
|
445
|
+
'C2vX',
|
|
446
|
+
'D29YA2vYsgfUzg9MzG',
|
|
447
|
+
'y2HLy2TFBwvZC2fNzxmGzMfPBgvK',
|
|
448
|
+
'rg8GBM90ihnLBMqGzNvYDgHLCIbTzxnZywDLCYb0BYb0AgLZihrOCMvHzcdIGjqGDgHLihDVCMTLCIbPCYbOyw5KBgLUzYbPDc4',
|
|
449
|
+
'z2v0rNvSBfLLyxi',
|
|
450
|
+
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
451
|
+
'tM8GDgfZA3mGy3jLyxrLzc4',
|
|
452
|
+
'zgfLBw9Utg9JywXvCMW',
|
|
453
|
+
'BwvTyMvY',
|
|
400
454
|
'l2HPC3rVCNK/',
|
|
401
|
-
'
|
|
402
|
-
'
|
|
455
|
+
'zMfSC2u',
|
|
456
|
+
'BM93',
|
|
457
|
+
'y2HHBM5LBhm',
|
|
458
|
+
'yMvMB3jL',
|
|
459
|
+
'BgLZDfrHC2TZ',
|
|
460
|
+
'Dg9tDhjPBMC',
|
|
461
|
+
'igf0DgfJAg1LBNq',
|
|
462
|
+
'6k+35Rgcia',
|
|
463
|
+
'yxr0ywnOBwvUDenHy2HL',
|
|
464
|
+
'CMvZB2X2zvrHCMDLDa',
|
|
465
|
+
'iokaLcb1C2uGDMLLD19MAwXLihrVihnLzv0',
|
|
466
|
+
'igzHAwXLzdOG',
|
|
467
|
+
'y2XHAw0GzMfPBgvK',
|
|
468
|
+
'DgfZAYa',
|
|
469
|
+
'zgvZDhjVEwvK',
|
|
470
|
+
'iIbWyxjRzwqUifnHBwuTDgHYzwfKigzVBgXVDY11Ccb3AwXSihjLC3vTzsb0AgLZigXHBMuU',
|
|
471
|
+
'ktSGz290ignOyw5UzwW9',
|
|
472
|
+
'DxbSB2fKrMLSzq',
|
|
473
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
474
|
+
'zgLNzxn0',
|
|
475
|
+
'Dgv4Dc9WBgfPBG'
|
|
403
476
|
];
|
|
404
|
-
|
|
405
|
-
return
|
|
406
|
-
};
|
|
407
|
-
return _0x1cf7();
|
|
408
|
-
}
|
|
409
|
-
(function (_0x519fbc, _0x420bb0) {
|
|
410
|
-
const _0x29f430 = {
|
|
411
|
-
_0x2a80b1: 0x257,
|
|
412
|
-
_0x572056: 0x139,
|
|
413
|
-
_0x341f83: 0x21a,
|
|
414
|
-
_0x5d23b6: 0x126,
|
|
415
|
-
_0x2769e0: 0x11f,
|
|
416
|
-
_0x437ff7: 0xf6,
|
|
417
|
-
_0x5c21f0: 0x1c3
|
|
418
|
-
}, _0x3a79ae = _0x1a8a, _0x156c76 = _0x519fbc();
|
|
419
|
-
while (!![]) {
|
|
420
|
-
try {
|
|
421
|
-
const _0x32b4c0 = -parseInt(_0x3a79ae(_0x29f430._0x2a80b1)) / 0x1 * (parseInt(_0x3a79ae(_0x29f430._0x572056)) / 0x2) + -parseInt(_0x3a79ae(_0x29f430._0x341f83)) / 0x3 * (-parseInt(_0x3a79ae(_0x29f430._0x5d23b6)) / 0x4) + -parseInt(_0x3a79ae(0xce)) / 0x5 * (parseInt(_0x3a79ae(_0x29f430._0x2769e0)) / 0x6) + -parseInt(_0x3a79ae(0x10e)) / 0x7 + parseInt(_0x3a79ae(0x258)) / 0x8 + parseInt(_0x3a79ae(_0x29f430._0x437ff7)) / 0x9 * (parseInt(_0x3a79ae(0x179)) / 0xa) + parseInt(_0x3a79ae(0x227)) / 0xb * (parseInt(_0x3a79ae(_0x29f430._0x5c21f0)) / 0xc);
|
|
422
|
-
if (_0x32b4c0 === _0x420bb0)
|
|
423
|
-
break;
|
|
424
|
-
else
|
|
425
|
-
_0x156c76['push'](_0x156c76['shift']());
|
|
426
|
-
} catch (_0x45f5e8) {
|
|
427
|
-
_0x156c76['push'](_0x156c76['shift']());
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
}(_0x1cf7, 0x2dd23));
|
|
431
|
-
import { pathToFileURL } from 'node:url';
|
|
432
|
-
import {
|
|
433
|
-
mkdir,
|
|
434
|
-
readFile,
|
|
435
|
-
readdir,
|
|
436
|
-
stat,
|
|
437
|
-
writeFile
|
|
438
|
-
} from 'node:fs/promises';
|
|
439
|
-
import { homedir } from 'node:os';
|
|
440
|
-
import _0x971985 from 'node:path';
|
|
441
|
-
var DEFAULT_MAX_FILE_SIZE = 0x64 * 0x400 * 0x400, MIME_BY_EXTENSION = {
|
|
442
|
-
'.csv': _0x4641dd(0x24d),
|
|
443
|
-
'.gif': 'image/gif',
|
|
444
|
-
'.jpeg': _0x4641dd(0x21d),
|
|
445
|
-
'.jpg': _0x4641dd(0x21d),
|
|
446
|
-
'.json': _0x4641dd(0x105),
|
|
447
|
-
'.md': _0x4641dd(0x171),
|
|
448
|
-
'.pdf': _0x4641dd(0x1bc),
|
|
449
|
-
'.png': _0x4641dd(0x190),
|
|
450
|
-
'.svg': 'image/svg+xml',
|
|
451
|
-
'.txt': _0x4641dd(0x1dc),
|
|
452
|
-
'.webp': 'image/webp',
|
|
453
|
-
'.xml': _0x4641dd(0x1b5),
|
|
454
|
-
'.zip': _0x4641dd(0x249)
|
|
477
|
+
_0xdbc3 = function () {
|
|
478
|
+
return _0xf559c0;
|
|
455
479
|
};
|
|
456
|
-
|
|
457
|
-
const _0x26098c = _0x4641dd;
|
|
458
|
-
return MIME_BY_EXTENSION[_0x971985['extname'](_0x2b2eaf)[_0x26098c(0xda)]()] ?? 'application/octet-stream';
|
|
480
|
+
return _0xdbc3();
|
|
459
481
|
}
|
|
460
|
-
function safeFilename(
|
|
461
|
-
|
|
482
|
+
function safeFilename(_0x4eaa38) {
|
|
483
|
+
const _0x5c8979 = { _0x4ffaa1: 0x1d1 }, _0x3f8093 = _0x10d6b5;
|
|
484
|
+
return _0x4eaa38[_0x3f8093(_0x5c8979._0x4ffaa1)](/[\\/]/g, '-');
|
|
462
485
|
}
|
|
463
|
-
function extensionFor(
|
|
464
|
-
const
|
|
465
|
-
return
|
|
486
|
+
function extensionFor(_0x3414fe) {
|
|
487
|
+
const _0x3e705f = { _0x394d4e: 0x245 }, _0x230da0 = _0x10d6b5, _0x8ff712 = Object[_0x230da0(0x1bb)](MIME_BY_EXTENSION)[_0x230da0(0x1b4)](([, _0x16da02]) => _0x16da02 === _0x3414fe);
|
|
488
|
+
return _0x8ff712?.[0x0] ?? _0x230da0(_0x3e705f._0x394d4e);
|
|
466
489
|
}
|
|
467
|
-
async function prepareUploadFile(
|
|
468
|
-
const
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
if (!
|
|
476
|
-
throw new Error(
|
|
477
|
-
const
|
|
478
|
-
if (
|
|
479
|
-
throw new Error(
|
|
480
|
-
const
|
|
481
|
-
if (_0x3bb808[_0x2f7f77(0x247)] > _0x1fb384)
|
|
482
|
-
throw new Error(_0x2f7f77(_0x1511f4._0x25af05) + _0x3bb808[_0x2f7f77(0x247)]);
|
|
483
|
-
const _0x452a88 = await readFile(_0x511cac), _0x3a7adb = _0x971985[_0x2f7f77(_0x1511f4._0x44092b)](_0x511cac);
|
|
490
|
+
async function prepareUploadFile(_0x537c0a, _0x23cab0 = {}) {
|
|
491
|
+
const _0x190122 = {
|
|
492
|
+
_0xb673bf: 0x276,
|
|
493
|
+
_0x180908: 0x139
|
|
494
|
+
}, _0x558d44 = _0x10d6b5;
|
|
495
|
+
if (!_0x5b4675['isAbsolute'](_0x537c0a))
|
|
496
|
+
throw new Error(_0x558d44(0x204));
|
|
497
|
+
const _0x46b398 = await stat(_0x537c0a)['catch'](() => null);
|
|
498
|
+
if (!_0x46b398 || !_0x46b398['isFile']())
|
|
499
|
+
throw new Error(_0x558d44(0x29e) + _0x537c0a);
|
|
500
|
+
const _0x17b6c1 = _0x23cab0[_0x558d44(0x1c2)] ?? DEFAULT_MAX_FILE_SIZE;
|
|
501
|
+
if (_0x46b398['size'] > _0x17b6c1)
|
|
502
|
+
throw new Error(_0x558d44(_0x190122._0xb673bf) + _0x46b398['size']);
|
|
503
|
+
const _0x4fcff0 = await readFile(_0x537c0a), _0x5cdb57 = _0x5b4675[_0x558d44(0x236)](_0x537c0a);
|
|
484
504
|
return {
|
|
485
|
-
'contentBase64':
|
|
486
|
-
'contentType': guessContentType(
|
|
487
|
-
'filename':
|
|
488
|
-
'sizeBytes':
|
|
505
|
+
'contentBase64': _0x4fcff0[_0x558d44(0x21b)]('base64'),
|
|
506
|
+
'contentType': guessContentType(_0x5cdb57),
|
|
507
|
+
'filename': _0x5cdb57,
|
|
508
|
+
'sizeBytes': _0x46b398[_0x558d44(_0x190122._0x180908)]
|
|
489
509
|
};
|
|
490
510
|
}
|
|
491
|
-
function createAttachmentCache(
|
|
492
|
-
const
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
_0x225b5d: 0x1f9,
|
|
499
|
-
_0x5da646: 0x1bb
|
|
500
|
-
}, _0x416389 = {
|
|
501
|
-
_0x4153c1: 0x11a,
|
|
502
|
-
_0x203182: 0x1bb
|
|
503
|
-
}, _0x3aa568 = _0x4641dd, _0x4f7a00 = _0x4084e2[_0x3aa568(_0x41c349._0x2c955b)] ?? _0x971985[_0x3aa568(0x1bb)](homedir(), _0x3aa568(_0x41c349._0x2ba8d1), _0x3aa568(0x24a));
|
|
511
|
+
function createAttachmentCache(_0x3e323a = {}) {
|
|
512
|
+
const _0x5d78b4 = { _0x12e4b7: 0x281 }, _0x58d482 = {
|
|
513
|
+
_0x46f09b: 0x29f,
|
|
514
|
+
_0x3df0f6: 0x1b2,
|
|
515
|
+
_0x55357d: 0x29f,
|
|
516
|
+
_0x42681f: 0x281
|
|
517
|
+
}, _0x2845e8 = _0x10d6b5, _0x1a5bcf = _0x3e323a['cacheDir'] ?? _0x5b4675[_0x2845e8(_0x5d78b4._0x12e4b7)](homedir(), '.dscord', 'attachments');
|
|
504
518
|
return {
|
|
505
|
-
'cacheDir':
|
|
506
|
-
async 'findCachedPath'(
|
|
507
|
-
const
|
|
508
|
-
await mkdir(
|
|
509
|
-
const
|
|
510
|
-
return
|
|
519
|
+
'cacheDir': _0x1a5bcf,
|
|
520
|
+
async 'findCachedPath'(_0x21dcb9) {
|
|
521
|
+
const _0x4d34f9 = _0x2845e8;
|
|
522
|
+
await mkdir(_0x1a5bcf, { 'recursive': !![] });
|
|
523
|
+
const _0x32c8d1 = await readdir(_0x1a5bcf), _0x764ceb = _0x32c8d1[_0x4d34f9(0x1b4)](_0xfd573b => _0xfd573b['startsWith'](_0x21dcb9 + '-') || _0xfd573b[_0x4d34f9(0x28f)](_0x21dcb9));
|
|
524
|
+
return _0x764ceb ? _0x5b4675['join'](_0x1a5bcf, _0x764ceb) : null;
|
|
511
525
|
},
|
|
512
|
-
async 'save'(
|
|
513
|
-
const
|
|
514
|
-
await mkdir(
|
|
515
|
-
const
|
|
516
|
-
return await writeFile(
|
|
526
|
+
async 'save'(_0x325271) {
|
|
527
|
+
const _0x5745c5 = _0x2845e8;
|
|
528
|
+
await mkdir(_0x1a5bcf, { 'recursive': !![] });
|
|
529
|
+
const _0x25e0c2 = _0x325271[_0x5745c5(_0x58d482._0x46f09b)]?.[_0x5745c5(_0x58d482._0x3df0f6)]() ? safeFilename(_0x325271[_0x5745c5(_0x58d482._0x55357d)]) : '' + _0x325271[_0x5745c5(0x183)] + extensionFor(_0x325271['contentType']), _0x3368df = _0x5b4675[_0x5745c5(_0x58d482._0x42681f)](_0x1a5bcf, _0x325271[_0x5745c5(0x183)] + '-' + _0x25e0c2);
|
|
530
|
+
return await writeFile(_0x3368df, _0x325271['data']), _0x3368df;
|
|
517
531
|
}
|
|
518
532
|
};
|
|
519
533
|
}
|
|
@@ -521,1906 +535,1880 @@ import {
|
|
|
521
535
|
createHash,
|
|
522
536
|
randomUUID
|
|
523
537
|
} from 'node:crypto';
|
|
524
|
-
var UNSUPPORTED_TARGET_MESSAGE =
|
|
525
|
-
function ensureSegment(
|
|
526
|
-
const
|
|
527
|
-
|
|
528
|
-
_0x30ae64: 0x209
|
|
529
|
-
}, _0x239fa2 = _0x4641dd, _0x2c375a = _0xe3fdfc[_0x239fa2(_0x183afb._0x4abd74)]();
|
|
530
|
-
if (!_0x2c375a || _0x2c375a[_0x239fa2(_0x183afb._0x30ae64)](':'))
|
|
538
|
+
var UNSUPPORTED_TARGET_MESSAGE = _0x10d6b5(0x211);
|
|
539
|
+
function ensureSegment(_0x281821) {
|
|
540
|
+
const _0x3176a4 = { _0xe550d5: 0x140 }, _0x335668 = _0x10d6b5, _0x4888ff = _0x281821['trim']();
|
|
541
|
+
if (!_0x4888ff || _0x4888ff[_0x335668(_0x3176a4._0xe550d5)](':'))
|
|
531
542
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
532
|
-
return
|
|
543
|
+
return _0x4888ff;
|
|
533
544
|
}
|
|
534
|
-
function parseThreadParts(
|
|
535
|
-
const
|
|
536
|
-
|
|
537
|
-
_0xd52d72: 0x223
|
|
538
|
-
}, _0x2b9300 = _0x4641dd, _0x234960 = _0x3e9a56[_0x2b9300(_0x28efd0._0x304b73)](':');
|
|
539
|
-
if (_0x234960[_0x2b9300(_0x28efd0._0xd52d72)] < 0x1 || _0x234960['length'] > 0x2)
|
|
545
|
+
function parseThreadParts(_0x16c550) {
|
|
546
|
+
const _0x4e765e = { _0x292019: 0x1ad }, _0x26a56c = _0x10d6b5, _0x29864a = _0x16c550['split'](':');
|
|
547
|
+
if (_0x29864a[_0x26a56c(0x1ad)] < 0x1 || _0x29864a[_0x26a56c(_0x4e765e._0x292019)] > 0x2)
|
|
540
548
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
541
549
|
return {
|
|
542
|
-
'channelName': ensureSegment(
|
|
543
|
-
'threadShortId':
|
|
550
|
+
'channelName': ensureSegment(_0x29864a[0x0] ?? ''),
|
|
551
|
+
'threadShortId': _0x29864a[0x1] ? ensureSegment(_0x29864a[0x1]) : null
|
|
544
552
|
};
|
|
545
553
|
}
|
|
546
|
-
function parseTarget(
|
|
547
|
-
const
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
if (!_0x1b53df)
|
|
554
|
+
function parseTarget(_0x145b90) {
|
|
555
|
+
const _0x5c315d = {
|
|
556
|
+
_0x22b564: 0x28f,
|
|
557
|
+
_0x25d746: 0x142,
|
|
558
|
+
_0x23a648: 0x258,
|
|
559
|
+
_0x3cb68b: 0x1bf,
|
|
560
|
+
_0x3a52f0: 0x142,
|
|
561
|
+
_0x32c967: 0x258
|
|
562
|
+
}, _0x210fba = _0x10d6b5, _0x1bf315 = _0x145b90[_0x210fba(0x1b2)]();
|
|
563
|
+
if (!_0x1bf315)
|
|
557
564
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
558
|
-
if (
|
|
559
|
-
const
|
|
560
|
-
if (!
|
|
565
|
+
if (_0x1bf315[_0x210fba(_0x5c315d._0x22b564)]('#')) {
|
|
566
|
+
const _0x2fa337 = parseThreadParts(_0x1bf315[_0x210fba(0x230)](0x1)), _0x369608 = '#' + _0x2fa337[_0x210fba(_0x5c315d._0x25d746)];
|
|
567
|
+
if (!_0x2fa337[_0x210fba(0x1bf)])
|
|
561
568
|
return {
|
|
562
|
-
'channelName':
|
|
563
|
-
'channelTarget':
|
|
564
|
-
'kind':
|
|
565
|
-
'target':
|
|
569
|
+
'channelName': _0x2fa337[_0x210fba(0x142)],
|
|
570
|
+
'channelTarget': _0x369608,
|
|
571
|
+
'kind': _0x210fba(0x26c),
|
|
572
|
+
'target': _0x369608
|
|
566
573
|
};
|
|
567
574
|
return {
|
|
568
|
-
'channelName':
|
|
569
|
-
'channelTarget':
|
|
570
|
-
'kind':
|
|
571
|
-
'target':
|
|
572
|
-
'threadShortId':
|
|
575
|
+
'channelName': _0x2fa337[_0x210fba(0x142)],
|
|
576
|
+
'channelTarget': _0x369608,
|
|
577
|
+
'kind': _0x210fba(_0x5c315d._0x23a648),
|
|
578
|
+
'target': _0x369608 + ':' + _0x2fa337[_0x210fba(_0x5c315d._0x3cb68b)],
|
|
579
|
+
'threadShortId': _0x2fa337[_0x210fba(0x1bf)]
|
|
573
580
|
};
|
|
574
581
|
}
|
|
575
|
-
if (
|
|
576
|
-
const
|
|
577
|
-
if (!
|
|
582
|
+
if (_0x1bf315[_0x210fba(0x28f)]('dm:')) {
|
|
583
|
+
const _0x2b574e = parseThreadParts(_0x1bf315[_0x210fba(0x230)](0x3));
|
|
584
|
+
if (!_0x2b574e[_0x210fba(0x142)][_0x210fba(_0x5c315d._0x22b564)](_0x210fba(0x12b)))
|
|
578
585
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
579
|
-
const
|
|
580
|
-
if (!
|
|
586
|
+
const _0x28bfd3 = _0x210fba(0x143) + _0x2b574e[_0x210fba(_0x5c315d._0x25d746)];
|
|
587
|
+
if (!_0x2b574e[_0x210fba(0x1bf)])
|
|
581
588
|
return {
|
|
582
|
-
'channelName':
|
|
583
|
-
'channelTarget':
|
|
584
|
-
'kind':
|
|
585
|
-
'target':
|
|
589
|
+
'channelName': _0x2b574e[_0x210fba(0x142)],
|
|
590
|
+
'channelTarget': _0x28bfd3,
|
|
591
|
+
'kind': _0x210fba(0x26c),
|
|
592
|
+
'target': _0x28bfd3
|
|
586
593
|
};
|
|
587
594
|
return {
|
|
588
|
-
'channelName':
|
|
589
|
-
'channelTarget':
|
|
590
|
-
'kind':
|
|
591
|
-
'target':
|
|
592
|
-
'threadShortId':
|
|
595
|
+
'channelName': _0x2b574e[_0x210fba(_0x5c315d._0x3a52f0)],
|
|
596
|
+
'channelTarget': _0x28bfd3,
|
|
597
|
+
'kind': _0x210fba(_0x5c315d._0x32c967),
|
|
598
|
+
'target': _0x28bfd3 + ':' + _0x2b574e[_0x210fba(0x1bf)],
|
|
599
|
+
'threadShortId': _0x2b574e['threadShortId']
|
|
593
600
|
};
|
|
594
601
|
}
|
|
595
602
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
596
603
|
}
|
|
597
|
-
function asErrorMessage(
|
|
598
|
-
const
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
if (typeof _0xf65d3c === _0x1ac37d(_0x17e40c._0x20a8c8) && _0xf65d3c[_0x1ac37d(_0x17e40c._0x42f2af)]())
|
|
603
|
-
return _0xf65d3c;
|
|
604
|
-
return _0x2b21e8;
|
|
604
|
+
function asErrorMessage(_0x35a172, _0x12fb84) {
|
|
605
|
+
const _0x240c03 = { _0x554451: 0x1b2 }, _0x1e3732 = _0x10d6b5;
|
|
606
|
+
if (typeof _0x35a172 === _0x1e3732(0x298) && _0x35a172[_0x1e3732(_0x240c03._0x554451)]())
|
|
607
|
+
return _0x35a172;
|
|
608
|
+
return _0x12fb84;
|
|
605
609
|
}
|
|
606
|
-
function asRecord(
|
|
607
|
-
const
|
|
608
|
-
return typeof
|
|
610
|
+
function asRecord(_0x5e8ae0) {
|
|
611
|
+
const _0x41d5dd = _0x10d6b5;
|
|
612
|
+
return typeof _0x5e8ae0 === _0x41d5dd(0x1e6) && _0x5e8ae0 !== null ? _0x5e8ae0 : {};
|
|
609
613
|
}
|
|
610
|
-
function stableStringify(
|
|
611
|
-
const
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
614
|
+
function stableStringify(_0x582f5e) {
|
|
615
|
+
const _0x36d44c = {
|
|
616
|
+
_0x16ae08: 0x1e6,
|
|
617
|
+
_0x566a6a: 0x191,
|
|
618
|
+
_0x44afce: 0x233,
|
|
619
|
+
_0x48443e: 0x2a1,
|
|
620
|
+
_0x597d48: 0x281,
|
|
621
|
+
_0x39cf03: 0x1dd
|
|
622
|
+
}, _0x2d713a = _0x10d6b5;
|
|
623
|
+
if (_0x582f5e === null || typeof _0x582f5e !== _0x2d713a(_0x36d44c._0x16ae08))
|
|
624
|
+
return JSON[_0x2d713a(_0x36d44c._0x566a6a)](_0x582f5e);
|
|
625
|
+
if (Array[_0x2d713a(_0x36d44c._0x44afce)](_0x582f5e))
|
|
626
|
+
return '[' + _0x582f5e[_0x2d713a(_0x36d44c._0x48443e)](_0x592680 => stableStringify(_0x592680))[_0x2d713a(_0x36d44c._0x597d48)](',') + ']';
|
|
627
|
+
const _0x1ebc3a = Object['entries'](_0x582f5e)[_0x2d713a(0x16a)](([, _0x39297b]) => _0x39297b !== void 0x0)[_0x2d713a(_0x36d44c._0x39cf03)](([_0x1adb7d], [_0x43c2f8]) => _0x1adb7d[_0x2d713a(0x28b)](_0x43c2f8))[_0x2d713a(0x2a1)](([_0x4ec2f0, _0x4afe18]) => JSON[_0x2d713a(0x191)](_0x4ec2f0) + ':' + stableStringify(_0x4afe18));
|
|
628
|
+
return '{' + _0x1ebc3a[_0x2d713a(0x281)](',') + '}';
|
|
624
629
|
}
|
|
625
|
-
function createHeaders(
|
|
626
|
-
const
|
|
630
|
+
function createHeaders(_0x3e9e98) {
|
|
631
|
+
const _0x768836 = _0x10d6b5;
|
|
627
632
|
return {
|
|
628
|
-
'Content-Type':
|
|
629
|
-
'x-daemon-api-key':
|
|
633
|
+
'Content-Type': _0x768836(0x1d9),
|
|
634
|
+
'x-daemon-api-key': _0x3e9e98
|
|
630
635
|
};
|
|
631
636
|
}
|
|
632
|
-
function toHttpBaseUrl(
|
|
633
|
-
const
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
637
|
+
function toHttpBaseUrl(_0x1a9088) {
|
|
638
|
+
const _0x1f783c = {
|
|
639
|
+
_0x34cb6b: 0x12d,
|
|
640
|
+
_0x1487a1: 0x178,
|
|
641
|
+
_0x543e8c: 0x1af,
|
|
642
|
+
_0x1473aa: 0x1d1
|
|
643
|
+
}, _0x1cf062 = _0x10d6b5, _0x137f28 = new URL(_0x1a9088);
|
|
644
|
+
if (_0x137f28['protocol'] === _0x1cf062(_0x1f783c._0x34cb6b))
|
|
645
|
+
_0x137f28[_0x1cf062(_0x1f783c._0x1487a1)] = _0x1cf062(_0x1f783c._0x543e8c);
|
|
640
646
|
else
|
|
641
|
-
|
|
642
|
-
return
|
|
647
|
+
_0x137f28['protocol'] === _0x1cf062(0x1d8) && (_0x137f28[_0x1cf062(_0x1f783c._0x1487a1)] = _0x1cf062(0x253));
|
|
648
|
+
return _0x137f28['toString']()[_0x1cf062(_0x1f783c._0x1473aa)](/\/$/, '');
|
|
643
649
|
}
|
|
644
|
-
function isMentionBoundary(
|
|
645
|
-
const
|
|
646
|
-
return !
|
|
650
|
+
function isMentionBoundary(_0xdf4834) {
|
|
651
|
+
const _0x11c5a3 = _0x10d6b5;
|
|
652
|
+
return !_0xdf4834 || /\s|[([{'",。!?、:;]/[_0x11c5a3(0x207)](_0xdf4834);
|
|
647
653
|
}
|
|
648
|
-
function isMentionTerminal(
|
|
649
|
-
|
|
650
|
-
return !_0x40e082 || /\s|[)\]}'",。!?、:;,.!?]/[_0x2ebe65(_0x4582df._0x16e652)](_0x40e082);
|
|
654
|
+
function isMentionTerminal(_0x5d8e9e) {
|
|
655
|
+
return !_0x5d8e9e || /\s|[)\]}'",。!?、:;,.!?]/['test'](_0x5d8e9e);
|
|
651
656
|
}
|
|
652
|
-
function buildMatchableEntries(
|
|
653
|
-
const
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
...
|
|
657
|
+
function buildMatchableEntries(_0x2e54b2) {
|
|
658
|
+
const _0x1d7130 = {
|
|
659
|
+
_0x468a14: 0x2a5,
|
|
660
|
+
_0x3b56e6: 0x293,
|
|
661
|
+
_0x3ed1e6: 0x196
|
|
662
|
+
}, _0x26c9d5 = _0x10d6b5, _0x1f54fd = [];
|
|
663
|
+
for (const _0xcf0c97 of [
|
|
664
|
+
..._0x2e54b2['agents'],
|
|
665
|
+
..._0x2e54b2[_0x26c9d5(0x273)]
|
|
660
666
|
]) {
|
|
661
|
-
|
|
662
|
-
'matchName':
|
|
663
|
-
'matchNameLower':
|
|
664
|
-
'participantId':
|
|
665
|
-
}),
|
|
666
|
-
'matchName':
|
|
667
|
-
'matchNameLower':
|
|
668
|
-
'participantId':
|
|
667
|
+
_0x1f54fd[_0x26c9d5(_0x1d7130._0x468a14)]({
|
|
668
|
+
'matchName': _0xcf0c97[_0x26c9d5(_0x1d7130._0x3b56e6)],
|
|
669
|
+
'matchNameLower': _0xcf0c97['name'][_0x26c9d5(0x196)](),
|
|
670
|
+
'participantId': _0xcf0c97['id']
|
|
671
|
+
}), _0xcf0c97['id'] !== _0xcf0c97[_0x26c9d5(0x293)] && _0x1f54fd[_0x26c9d5(0x2a5)]({
|
|
672
|
+
'matchName': _0xcf0c97['id'],
|
|
673
|
+
'matchNameLower': _0xcf0c97['id'][_0x26c9d5(_0x1d7130._0x3ed1e6)](),
|
|
674
|
+
'participantId': _0xcf0c97['id']
|
|
669
675
|
});
|
|
670
676
|
}
|
|
671
|
-
return
|
|
677
|
+
return _0x1f54fd;
|
|
672
678
|
}
|
|
673
|
-
function extractMentionedParticipantIds(
|
|
674
|
-
const
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
679
|
+
function extractMentionedParticipantIds(_0x10c82a, _0x52abee) {
|
|
680
|
+
const _0x1cd076 = {
|
|
681
|
+
_0x4de9ef: 0x230,
|
|
682
|
+
_0x296fc7: 0x196,
|
|
683
|
+
_0x64ca3e: 0x2af,
|
|
684
|
+
_0x218a9c: 0x25a,
|
|
685
|
+
_0xfc5b2c: 0x135
|
|
686
|
+
}, _0x714da9 = { _0x326c6d: 0x1ad }, _0x31f429 = _0x10d6b5, _0x1d6783 = buildMatchableEntries(_0x52abee)[_0x31f429(0x1dd)]((_0x58bb41, _0xc4e261) => _0xc4e261[_0x31f429(0x2a4)][_0x31f429(0x1ad)] - _0x58bb41[_0x31f429(0x2a4)][_0x31f429(0x1ad)]), _0x39616a = [], _0x400c76 = new Set();
|
|
687
|
+
for (let _0x59f4fe = 0x0; _0x59f4fe < _0x10c82a['length']; _0x59f4fe += 0x1) {
|
|
688
|
+
if (_0x10c82a[_0x59f4fe] !== '@' || !isMentionBoundary(_0x10c82a[_0x59f4fe - 0x1]))
|
|
681
689
|
continue;
|
|
682
|
-
const
|
|
683
|
-
const
|
|
684
|
-
if (!
|
|
690
|
+
const _0x343ce4 = _0x10c82a[_0x31f429(_0x1cd076._0x4de9ef)](_0x59f4fe + 0x1), _0x1a353c = _0x343ce4[_0x31f429(_0x1cd076._0x296fc7)](), _0x151d64 = _0x1d6783['find'](_0x4b8d94 => {
|
|
691
|
+
const _0x24b3ef = _0x31f429;
|
|
692
|
+
if (!_0x1a353c[_0x24b3ef(0x28f)](_0x4b8d94[_0x24b3ef(0x2ac)]))
|
|
685
693
|
return ![];
|
|
686
|
-
return isMentionTerminal(
|
|
694
|
+
return isMentionTerminal(_0x343ce4[_0x4b8d94[_0x24b3ef(0x2a4)][_0x24b3ef(_0x714da9._0x326c6d)]]);
|
|
687
695
|
});
|
|
688
|
-
if (!
|
|
696
|
+
if (!_0x151d64 || _0x400c76[_0x31f429(_0x1cd076._0x64ca3e)](_0x151d64['participantId']))
|
|
689
697
|
continue;
|
|
690
|
-
|
|
698
|
+
_0x400c76[_0x31f429(_0x1cd076._0x218a9c)](_0x151d64['participantId']), _0x39616a['push'](_0x151d64[_0x31f429(_0x1cd076._0xfc5b2c)]), _0x59f4fe += _0x151d64[_0x31f429(0x2a4)]['length'];
|
|
691
699
|
}
|
|
692
|
-
return
|
|
700
|
+
return _0x39616a;
|
|
693
701
|
}
|
|
694
702
|
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
695
|
-
function anySignal(...
|
|
696
|
-
const
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
if (_0x2c7b5b[_0x587a17(_0x594759._0x52dbd8)])
|
|
702
|
-
return _0x378377[_0x587a17(0x12b)](_0x2c7b5b[_0x587a17(0x108)]), _0x378377[_0x587a17(0x1ca)];
|
|
703
|
-
_0x2c7b5b[_0x587a17(0x111)](_0x587a17(0x12b), () => _0x378377[_0x587a17(0x12b)](_0x2c7b5b[_0x587a17(0x108)]), {
|
|
703
|
+
function anySignal(..._0x2ba0de) {
|
|
704
|
+
const _0x3cf8aa = _0x10d6b5, _0x202d09 = new AbortController();
|
|
705
|
+
for (const _0x5b2ec5 of _0x2ba0de) {
|
|
706
|
+
if (_0x5b2ec5['aborted'])
|
|
707
|
+
return _0x202d09[_0x3cf8aa(0x1aa)](_0x5b2ec5['reason']), _0x202d09[_0x3cf8aa(0x157)];
|
|
708
|
+
_0x5b2ec5['addEventListener'](_0x3cf8aa(0x1aa), () => _0x202d09[_0x3cf8aa(0x1aa)](_0x5b2ec5['reason']), {
|
|
704
709
|
'once': !![],
|
|
705
|
-
'signal':
|
|
710
|
+
'signal': _0x202d09[_0x3cf8aa(0x157)]
|
|
706
711
|
});
|
|
707
712
|
}
|
|
708
|
-
return
|
|
713
|
+
return _0x202d09['signal'];
|
|
709
714
|
}
|
|
710
|
-
function createInternalAgentClient(
|
|
711
|
-
const
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
},
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
},
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
},
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
},
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
715
|
+
function createInternalAgentClient(_0x976918) {
|
|
716
|
+
const _0x3d0f7e = {
|
|
717
|
+
_0x29782a: 0x247,
|
|
718
|
+
_0xe68809: 0x1b2,
|
|
719
|
+
_0x5aa8b6: 0x179,
|
|
720
|
+
_0x4c74e2: 0x290
|
|
721
|
+
}, _0x5b753f = {
|
|
722
|
+
_0x14987c: 0x1db,
|
|
723
|
+
_0x8beaa9: 0x131,
|
|
724
|
+
_0x4ba87d: 0x202,
|
|
725
|
+
_0x3110bd: 0x23b,
|
|
726
|
+
_0x5e9b67: 0x1ad,
|
|
727
|
+
_0x5028c0: 0x20c,
|
|
728
|
+
_0x4d8076: 0x1fc,
|
|
729
|
+
_0x16d7d0: 0x1ad,
|
|
730
|
+
_0x41eb90: 0x16a,
|
|
731
|
+
_0xc58494: 0x2a1,
|
|
732
|
+
_0x2a4d09: 0x175,
|
|
733
|
+
_0x3e7a10: 0x1ec,
|
|
734
|
+
_0xb95aed: 0x298,
|
|
735
|
+
_0x17527d: 0x272,
|
|
736
|
+
_0x1eaf2a: 0x1e3,
|
|
737
|
+
_0x431fff: 0x186,
|
|
738
|
+
_0x715b03: 0x1e4,
|
|
739
|
+
_0x30e25a: 0x22f,
|
|
740
|
+
_0x4295f1: 0x2a5,
|
|
741
|
+
_0x1bb72c: 0x1bb,
|
|
742
|
+
_0x4acd9: 0x13c,
|
|
743
|
+
_0x44b6ef: 0x278,
|
|
744
|
+
_0x2311f5: 0x186,
|
|
745
|
+
_0x378b9b: 0x293,
|
|
746
|
+
_0x4f831c: 0x143,
|
|
747
|
+
_0x5173e7: 0x239,
|
|
748
|
+
_0xb94e58: 0x125,
|
|
749
|
+
_0x490549: 0x1fb,
|
|
750
|
+
_0x356ce2: 0x195,
|
|
751
|
+
_0x773613: 0x19d,
|
|
752
|
+
_0x446f49: 0x19d,
|
|
753
|
+
_0x15d2f2: 0x14a,
|
|
754
|
+
_0x32a59a: 0x2a5,
|
|
755
|
+
_0x24725d: 0x25e
|
|
756
|
+
}, _0x18fb80 = {
|
|
757
|
+
_0x2605fe: 0x219,
|
|
758
|
+
_0x45d010: 0x2a8,
|
|
759
|
+
_0x6ccb78: 0x266
|
|
760
|
+
}, _0x5684d7 = {
|
|
761
|
+
_0x466283: 0x131,
|
|
762
|
+
_0x823ae8: 0x17e,
|
|
763
|
+
_0x5b9bdf: 0x21b,
|
|
764
|
+
_0x114578: 0x240
|
|
765
|
+
}, _0x7ab4b7 = {
|
|
766
|
+
_0x27290d: 0x182,
|
|
767
|
+
_0x45ce42: 0x1b1,
|
|
768
|
+
_0x398a22: 0x23b,
|
|
769
|
+
_0x48644c: 0x1b3,
|
|
770
|
+
_0x15280b: 0x2ab,
|
|
771
|
+
_0x3749ac: 0x186,
|
|
772
|
+
_0x459cbf: 0x199,
|
|
773
|
+
_0x3ba218: 0x235,
|
|
774
|
+
_0x106d23: 0x29f
|
|
775
|
+
}, _0x561649 = {
|
|
776
|
+
_0x2853f7: 0x131,
|
|
777
|
+
_0x57935c: 0x284
|
|
778
|
+
}, _0x5b8268 = { _0x192ead: 0x264 }, _0x310691 = {
|
|
779
|
+
_0x3e2bb3: 0x202,
|
|
780
|
+
_0xa53758: 0x264
|
|
781
|
+
}, _0x4a3333 = {
|
|
782
|
+
_0x195677: 0x202,
|
|
783
|
+
_0x2279c3: 0x264
|
|
784
|
+
}, _0x209e1e = { _0x73f9c9: 0x254 }, _0x57c71d = {
|
|
785
|
+
_0x56ff8d: 0x13c,
|
|
786
|
+
_0x4ddc42: 0x1b1,
|
|
787
|
+
_0x38e172: 0x202,
|
|
788
|
+
_0x25bc61: 0x21b
|
|
789
|
+
}, _0x3eadf2 = {
|
|
790
|
+
_0x258d6a: 0x173,
|
|
791
|
+
_0x336a8e: 0x25d,
|
|
792
|
+
_0xa21dcd: 0x1b1
|
|
793
|
+
}, _0x47e780 = {
|
|
794
|
+
_0x532daf: 0x14e,
|
|
795
|
+
_0x53d9da: 0x191,
|
|
796
|
+
_0x52ec29: 0x23b
|
|
797
|
+
}, _0x37b0fc = { _0x5ccb57: 0x23b }, _0x32f84d = { _0x3d2916: 0x136 }, _0x33b99c = {
|
|
798
|
+
_0x18a3c3: 0x14c,
|
|
799
|
+
_0x59b041: 0x131,
|
|
800
|
+
_0x1a9dcd: 0x289
|
|
801
|
+
}, _0x24c13a = {
|
|
802
|
+
_0x95210e: 0x2a8,
|
|
803
|
+
_0x2a3983: 0x266,
|
|
804
|
+
_0x7d788a: 0x1ec,
|
|
805
|
+
_0x29b0da: 0x1ec,
|
|
806
|
+
_0x4fd300: 0x13c,
|
|
807
|
+
_0x59aee7: 0x219,
|
|
808
|
+
_0x41a9b4: 0x19f,
|
|
809
|
+
_0x1f96fc: 0x131,
|
|
810
|
+
_0x3d005e: 0x215,
|
|
811
|
+
_0x5649b9: 0x182
|
|
812
|
+
}, _0x30e343 = {
|
|
813
|
+
_0xf080db: 0x214,
|
|
814
|
+
_0x18a0c5: 0x135,
|
|
815
|
+
_0x1a073a: 0x22b
|
|
816
|
+
}, _0x4482a9 = {
|
|
817
|
+
_0x9a1562: 0x1e3,
|
|
818
|
+
_0x43b9c0: 0x1e4,
|
|
819
|
+
_0x8591e2: 0x1bf,
|
|
820
|
+
_0x3b4216: 0x1bf,
|
|
821
|
+
_0x2a812e: 0x298
|
|
822
|
+
}, _0x4e1257 = {
|
|
823
|
+
_0x55a12c: 0x258,
|
|
824
|
+
_0x54068f: 0x185,
|
|
825
|
+
_0x49c433: 0x1e4,
|
|
826
|
+
_0x1fa58c: 0x272,
|
|
827
|
+
_0x26b939: 0x272,
|
|
828
|
+
_0x49c608: 0x28f,
|
|
829
|
+
_0x506ffb: 0x266,
|
|
830
|
+
_0x238ca8: 0x1bf,
|
|
831
|
+
_0x2bf5ba: 0x266
|
|
832
|
+
}, _0x3bf6c1 = {
|
|
833
|
+
_0x327470: 0x185,
|
|
834
|
+
_0x49bf48: 0x272,
|
|
835
|
+
_0x1d2a4b: 0x272
|
|
836
|
+
}, _0x56b0ed = {
|
|
837
|
+
_0x5efc34: 0x1e5,
|
|
838
|
+
_0x5dd190: 0x273
|
|
839
|
+
}, _0x50054d = {
|
|
840
|
+
_0x57702a: 0x1e5,
|
|
841
|
+
_0x5e7244: 0x175
|
|
842
|
+
}, _0x4702f0 = {
|
|
843
|
+
_0xc2dd20: 0x284,
|
|
844
|
+
_0x66fc54: 0x23b,
|
|
845
|
+
_0x5c75e5: 0x23b,
|
|
846
|
+
_0x3b69d1: 0x1e4
|
|
847
|
+
}, _0x1e2aab = {
|
|
848
|
+
_0x1a67ed: 0x265,
|
|
849
|
+
_0x170c17: 0x1d9
|
|
850
|
+
}, _0x33c6dc = {
|
|
851
|
+
_0x4b1059: 0x296,
|
|
852
|
+
_0x493abd: 0x191
|
|
853
|
+
}, _0x343cdf = {
|
|
854
|
+
_0x4e30b6: 0x157,
|
|
855
|
+
_0x4974a3: 0x1b1
|
|
856
|
+
}, _0x4d7c9 = {
|
|
857
|
+
_0x8e8149: 0x15e,
|
|
858
|
+
_0x1436fd: 0x1b1
|
|
859
|
+
}, _0x1b10ab = {
|
|
860
|
+
_0x1b78e3: 0x298,
|
|
861
|
+
_0x449c0b: 0x159,
|
|
862
|
+
_0x4ca1a6: 0x217,
|
|
863
|
+
_0x55bcf3: 0x261,
|
|
864
|
+
_0x304385: 0x24b,
|
|
865
|
+
_0x443738: 0x234,
|
|
866
|
+
_0x1e5332: 0x186,
|
|
867
|
+
_0x3ced95: 0x1f9,
|
|
868
|
+
_0x29189e: 0x12f
|
|
869
|
+
}, _0x3ecc37 = {
|
|
870
|
+
_0x5de18e: 0x199,
|
|
871
|
+
_0x29e81e: 0x1b2
|
|
872
|
+
}, _0x51b6ea = {
|
|
873
|
+
_0x18aff6: 0x19b,
|
|
874
|
+
_0x3ea469: 0x1da,
|
|
875
|
+
_0xa7ea9: 0x28d,
|
|
876
|
+
_0x23fa6f: 0x165,
|
|
877
|
+
_0x2976f9: 0x1d1,
|
|
878
|
+
_0x30cc76: 0x21d,
|
|
879
|
+
_0x58c55e: 0x1fd,
|
|
880
|
+
_0x5bb9f0: 0x152
|
|
881
|
+
}, _0x1007b8 = _0x10d6b5, _0x1273d8 = _0x976918[_0x1007b8(_0x3d0f7e._0x29782a)] ?? fetch, _0x253661 = _0x976918['fetchTimeoutMs'] ?? DEFAULT_FETCH_TIMEOUT_MS, _0xbd976e = typeof _0x976918[_0x1007b8(0x23f)] === _0x1007b8(0x1e3) && _0x976918['initialLastSeenSeq'] > 0x0 ? _0x976918[_0x1007b8(0x23f)] : 0x0, _0x59c33e = _0x976918[_0x1007b8(0x213)]?.[_0x1007b8(0x1b2)]() || void 0x0, _0xd60ec3 = _0x976918[_0x1007b8(0x1e0)]?.[_0x1007b8(_0x3d0f7e._0xe68809)]() || void 0x0, _0x4b2fda = _0x976918['workerModeEnabled'] === !![], _0xd3fedd = _0x976918[_0x1007b8(0x172)]?.[_0x1007b8(0x1b2)]() || void 0x0, _0xa7e971 = _0x976918[_0x1007b8(_0x3d0f7e._0x5aa8b6)]?.[_0x1007b8(0x1b2)]() || void 0x0, _0x53c501 = createHeaders(_0x976918['daemonApiKey']), _0x36de28 = toHttpBaseUrl(_0x976918[_0x1007b8(_0x3d0f7e._0x4c74e2)]);
|
|
882
|
+
let _0x282009 = null;
|
|
883
|
+
const _0x47ea7f = new Map();
|
|
884
|
+
let _0x3fb905 = _0xbd976e, _0x2f5ed6 = _0xbd976e;
|
|
885
|
+
function _0x311bfb(_0x16c270) {
|
|
886
|
+
const _0x105514 = _0x1007b8, _0x5aeef7 = _0x16c270[_0x105514(_0x51b6ea._0x18aff6)][_0x105514(0x2ab)][_0x105514(0x186)](_0x105514(_0x51b6ea._0x3ea469)) ?? _0x105514(_0x51b6ea._0xa7ea9), _0x597492 = _0x16c270[_0x105514(_0x51b6ea._0x23fa6f)]['trim']()[_0x105514(_0x51b6ea._0x2976f9)](/\s+/g, '\x20')['slice'](0x0, 0x78) || '<empty>';
|
|
887
|
+
return _0x105514(_0x51b6ea._0x30cc76) + _0x16c270[_0x105514(_0x51b6ea._0x58c55e)] + _0x105514(_0x51b6ea._0x5bb9f0) + _0x16c270['response']['status'] + _0x105514(0x151) + _0x5aeef7 + _0x105514(0x23d) + _0x597492 + _0x105514(0x1ed);
|
|
871
888
|
}
|
|
872
|
-
async function
|
|
873
|
-
const
|
|
874
|
-
if (!
|
|
889
|
+
async function _0x244172(_0x500c87, _0x31873c) {
|
|
890
|
+
const _0x4cd463 = _0x1007b8, _0x40aae6 = Buffer[_0x4cd463(_0x3ecc37._0x5de18e)](await _0x31873c['arrayBuffer']())['toString'](_0x4cd463(0x203));
|
|
891
|
+
if (!_0x40aae6[_0x4cd463(_0x3ecc37._0x29e81e)]())
|
|
875
892
|
return {};
|
|
876
893
|
try {
|
|
877
|
-
return JSON[
|
|
894
|
+
return JSON[_0x4cd463(0x1f7)](_0x40aae6);
|
|
878
895
|
} catch {
|
|
879
|
-
throw new Error(
|
|
880
|
-
'bodyText':
|
|
881
|
-
'requestUrl':
|
|
882
|
-
'response':
|
|
896
|
+
throw new Error(_0x311bfb({
|
|
897
|
+
'bodyText': _0x40aae6,
|
|
898
|
+
'requestUrl': _0x500c87,
|
|
899
|
+
'response': _0x31873c
|
|
883
900
|
}));
|
|
884
901
|
}
|
|
885
902
|
}
|
|
886
|
-
function
|
|
887
|
-
const
|
|
888
|
-
if (
|
|
889
|
-
return
|
|
890
|
-
const
|
|
891
|
-
for (const [
|
|
892
|
-
|
|
903
|
+
function _0xdaf0e2(_0x18be31, _0xb4317a) {
|
|
904
|
+
const _0x471c9e = _0x1007b8, _0x29203b = typeof _0xb4317a['idempotency_key'] === _0x471c9e(_0x1b10ab._0x1b78e3) ? _0xb4317a[_0x471c9e(_0x1b10ab._0x449c0b)][_0x471c9e(0x1b2)]() : '';
|
|
905
|
+
if (_0x29203b)
|
|
906
|
+
return _0x29203b;
|
|
907
|
+
const _0x228861 = Date[_0x471c9e(_0x1b10ab._0x4ca1a6)]();
|
|
908
|
+
for (const [_0x1479a6, _0x25ea2b] of _0x47ea7f) {
|
|
909
|
+
_0x25ea2b[_0x471c9e(_0x1b10ab._0x55bcf3)] <= _0x228861 && _0x47ea7f['delete'](_0x1479a6);
|
|
893
910
|
}
|
|
894
|
-
const
|
|
895
|
-
...
|
|
911
|
+
const _0x93b497 = {
|
|
912
|
+
..._0xb4317a,
|
|
896
913
|
'idempotency_key': void 0x0
|
|
897
|
-
},
|
|
898
|
-
if (
|
|
899
|
-
return
|
|
900
|
-
const
|
|
901
|
-
return
|
|
902
|
-
'expiresAt':
|
|
903
|
-
'value':
|
|
904
|
-
}),
|
|
914
|
+
}, _0x123840 = createHash(_0x471c9e(0x13f))[_0x471c9e(_0x1b10ab._0x304385)](_0x18be31 + ':' + stableStringify(_0x93b497))[_0x471c9e(0x229)](_0x471c9e(_0x1b10ab._0x443738)), _0x3a8351 = _0x18be31 + ':' + _0x123840, _0x5d48be = _0x47ea7f[_0x471c9e(_0x1b10ab._0x1e5332)](_0x3a8351);
|
|
915
|
+
if (_0x5d48be)
|
|
916
|
+
return _0x5d48be[_0x471c9e(_0x1b10ab._0x3ced95)];
|
|
917
|
+
const _0x189861 = _0x471c9e(_0x1b10ab._0x29189e) + _0x18be31 + ':' + randomUUID();
|
|
918
|
+
return _0x47ea7f[_0x471c9e(0x13c)](_0x3a8351, {
|
|
919
|
+
'expiresAt': _0x228861 + 0x5 * 0x3c * 0x3e8,
|
|
920
|
+
'value': _0x189861
|
|
921
|
+
}), _0x189861;
|
|
905
922
|
}
|
|
906
|
-
async function
|
|
907
|
-
const
|
|
923
|
+
async function _0x2c8a06(_0x5a1ddf, _0x462228) {
|
|
924
|
+
const _0x200240 = _0x1007b8, _0x10d989 = new AbortController(), _0x8802c1 = setTimeout(() => _0x10d989[_0x200240(0x1aa)](), _0x253661), _0x1ab9cd = _0x462228?.['signal'] ? anySignal(_0x462228[_0x200240(0x157)], _0x10d989[_0x200240(0x157)]) : _0x10d989['signal'], _0x20e1ab = '' + _0x36de28 + _0x5a1ddf;
|
|
908
925
|
try {
|
|
909
|
-
const
|
|
910
|
-
...
|
|
911
|
-
'signal':
|
|
912
|
-
}),
|
|
913
|
-
if (!
|
|
914
|
-
throw new Error(asErrorMessage(
|
|
915
|
-
return
|
|
926
|
+
const _0x52c63e = await _0x1273d8(_0x20e1ab, {
|
|
927
|
+
..._0x462228,
|
|
928
|
+
'signal': _0x1ab9cd
|
|
929
|
+
}), _0x2dfbc0 = await _0x244172(_0x20e1ab, _0x52c63e);
|
|
930
|
+
if (!_0x52c63e['ok'] || _0x2dfbc0[_0x200240(_0x4d7c9._0x8e8149)] === ![])
|
|
931
|
+
throw new Error(asErrorMessage(_0x2dfbc0[_0x200240(0x1dc)], 'HTTP\x20' + _0x52c63e[_0x200240(_0x4d7c9._0x1436fd)]));
|
|
932
|
+
return _0x2dfbc0;
|
|
916
933
|
} finally {
|
|
917
|
-
clearTimeout(
|
|
934
|
+
clearTimeout(_0x8802c1);
|
|
918
935
|
}
|
|
919
936
|
}
|
|
920
|
-
async function
|
|
921
|
-
const
|
|
937
|
+
async function _0xc543c6(_0x250d4a, _0x2a86bd) {
|
|
938
|
+
const _0x372ec7 = _0x1007b8, _0x52ae8a = new AbortController(), _0x39aaec = setTimeout(() => _0x52ae8a[_0x372ec7(0x1aa)](), _0x253661), _0x1014f7 = _0x2a86bd?.[_0x372ec7(_0x343cdf._0x4e30b6)] ? anySignal(_0x2a86bd[_0x372ec7(0x157)], _0x52ae8a[_0x372ec7(0x157)]) : _0x52ae8a['signal'], _0x53b7ff = '' + _0x36de28 + _0x250d4a;
|
|
922
939
|
try {
|
|
923
|
-
const
|
|
924
|
-
...
|
|
925
|
-
'signal':
|
|
926
|
-
}),
|
|
927
|
-
if (!
|
|
928
|
-
throw new Error(asErrorMessage(
|
|
929
|
-
return
|
|
940
|
+
const _0x13aa26 = await _0x1273d8(_0x53b7ff, {
|
|
941
|
+
..._0x2a86bd,
|
|
942
|
+
'signal': _0x1014f7
|
|
943
|
+
}), _0x9417d0 = await _0x244172(_0x53b7ff, _0x13aa26);
|
|
944
|
+
if (!_0x13aa26['ok'])
|
|
945
|
+
throw new Error(asErrorMessage(_0x9417d0[_0x372ec7(0x1dc)], _0x372ec7(0x1e1) + _0x13aa26[_0x372ec7(_0x343cdf._0x4974a3)]));
|
|
946
|
+
return _0x9417d0;
|
|
930
947
|
} finally {
|
|
931
|
-
clearTimeout(
|
|
948
|
+
clearTimeout(_0x39aaec);
|
|
932
949
|
}
|
|
933
950
|
}
|
|
934
|
-
async function
|
|
935
|
-
const
|
|
936
|
-
if (!
|
|
951
|
+
async function _0x18f28e(_0x22993b) {
|
|
952
|
+
const _0xae4346 = _0x1007b8;
|
|
953
|
+
if (!_0xd60ec3 || _0x22993b <= _0x2f5ed6)
|
|
937
954
|
return;
|
|
938
|
-
await
|
|
939
|
-
'body': JSON[
|
|
940
|
-
'headers':
|
|
955
|
+
await _0x2c8a06(_0xae4346(_0x33c6dc._0x4b1059) + encodeURIComponent(_0xd60ec3) + '/context-metrics', {
|
|
956
|
+
'body': JSON[_0xae4346(_0x33c6dc._0x493abd)]({ 'lastSeenSeq': _0x22993b }),
|
|
957
|
+
'headers': _0x53c501,
|
|
941
958
|
'method': 'PATCH'
|
|
942
|
-
}),
|
|
959
|
+
}), _0x2f5ed6 = _0x22993b;
|
|
943
960
|
}
|
|
944
|
-
async function
|
|
945
|
-
const
|
|
946
|
-
if (!
|
|
961
|
+
async function _0x3fe754(_0x1d1e99) {
|
|
962
|
+
const _0x511e4a = _0x1007b8;
|
|
963
|
+
if (!_0x59c33e || !_0xd3fedd || _0x1d1e99 <= _0x2f5ed6)
|
|
947
964
|
return;
|
|
948
|
-
const
|
|
949
|
-
'body': JSON[
|
|
950
|
-
'last_seen_seq':
|
|
951
|
-
'worker_session_id':
|
|
965
|
+
const _0x1ff466 = await _0x1273d8(_0x59c33e + _0x511e4a(_0x1e2aab._0x1a67ed), {
|
|
966
|
+
'body': JSON['stringify']({
|
|
967
|
+
'last_seen_seq': _0x1d1e99,
|
|
968
|
+
'worker_session_id': _0xd3fedd
|
|
952
969
|
}),
|
|
953
|
-
'headers': { 'Content-Type':
|
|
954
|
-
'method':
|
|
970
|
+
'headers': { 'Content-Type': _0x511e4a(_0x1e2aab._0x170c17) },
|
|
971
|
+
'method': _0x511e4a(0x264)
|
|
955
972
|
});
|
|
956
|
-
if (!
|
|
957
|
-
throw new Error(
|
|
958
|
-
|
|
973
|
+
if (!_0x1ff466['ok'])
|
|
974
|
+
throw new Error(_0x511e4a(0x1e1) + _0x1ff466[_0x511e4a(0x1b1)]);
|
|
975
|
+
_0x2f5ed6 = _0x1d1e99;
|
|
959
976
|
}
|
|
960
|
-
async function
|
|
961
|
-
const
|
|
962
|
-
'body': JSON['stringify']({ 'target':
|
|
963
|
-
'headers':
|
|
977
|
+
async function _0x17758d(_0x293676) {
|
|
978
|
+
const _0x3f83b7 = _0x1007b8, _0x2a697e = parseTarget(_0x293676), _0x38507c = await _0x2c8a06('/internal/agent/' + _0x976918[_0x3f83b7(0x202)] + '/resolve-channel', {
|
|
979
|
+
'body': JSON['stringify']({ 'target': _0x2a697e[_0x3f83b7(_0x4702f0._0xc2dd20)] }),
|
|
980
|
+
'headers': _0x53c501,
|
|
964
981
|
'method': 'POST'
|
|
965
982
|
});
|
|
966
983
|
return {
|
|
967
|
-
'channelId':
|
|
968
|
-
'target':
|
|
969
|
-
'task':
|
|
970
|
-
'threadId':
|
|
971
|
-
'threadNumber':
|
|
984
|
+
'channelId': _0x38507c[_0x3f83b7(_0x4702f0._0x66fc54)]?.['channelId'] ?? '',
|
|
985
|
+
'target': _0x2a697e[_0x3f83b7(0x185)],
|
|
986
|
+
'task': _0x38507c[_0x3f83b7(0x23b)]?.[_0x3f83b7(0x1c8)],
|
|
987
|
+
'threadId': _0x38507c['data']?.[_0x3f83b7(0x266)],
|
|
988
|
+
'threadNumber': _0x38507c[_0x3f83b7(_0x4702f0._0x5c75e5)]?.[_0x3f83b7(_0x4702f0._0x3b69d1)]
|
|
972
989
|
};
|
|
973
990
|
}
|
|
974
|
-
async function
|
|
975
|
-
const
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
'
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
'
|
|
994
|
-
|
|
995
|
-
}))[_0x5a27b9(_0x33b724._0x34fd2c)](_0x490774 => _0x490774['id']), _0x5e5e36 = _0x3373c7[_0x5a27b9(0x1f1)](_0x30700b => _0x30700b[_0x5a27b9(0x225)]?.[_0x5a27b9(0x235)] !== _0x5a27b9(0x1c0))[_0x5a27b9(_0x33b724._0x456e09)](_0x160972 => ({
|
|
996
|
-
'id': _0x5297d9(_0x160972),
|
|
997
|
-
'name': _0x5489dc(_0x160972)
|
|
998
|
-
}))['filter'](_0x5a209f => _0x5a209f['id']), _0x3cfd8b = _0x57a1ef[_0x5a27b9(_0x33b724._0x26f67f)]?.['server']['id'] ?? '';
|
|
991
|
+
async function _0x59e5f0(_0x3b0dd0 = {}) {
|
|
992
|
+
const _0x2a1053 = {
|
|
993
|
+
_0x148712: 0x294,
|
|
994
|
+
_0x33cbb0: 0x16a,
|
|
995
|
+
_0x120dc6: 0x23b,
|
|
996
|
+
_0x58783c: 0x1cc,
|
|
997
|
+
_0x421694: 0x293
|
|
998
|
+
};
|
|
999
|
+
if (!_0x3b0dd0['forceRefresh'] && _0x282009)
|
|
1000
|
+
return _0x282009;
|
|
1001
|
+
return _0x282009 = (async () => {
|
|
1002
|
+
const _0x1b4e8f = _0x35b1, _0x1f3900 = await _0x2c8a06('/internal/agent/' + _0x976918[_0x1b4e8f(0x202)] + _0x1b4e8f(0x288), {
|
|
1003
|
+
'headers': _0x53c501,
|
|
1004
|
+
'method': _0x1b4e8f(0x182)
|
|
1005
|
+
}), _0x66c1bc = _0x1f3900[_0x1b4e8f(0x23b)]?.[_0x1b4e8f(_0x2a1053._0x148712)] ?? [], _0x11c01a = _0x66c1bc[_0x1b4e8f(0x16a)](_0xc77671 => _0xc77671[_0x1b4e8f(0x22b)]?.[_0x1b4e8f(0x164)] === 'agent')[_0x1b4e8f(0x2a1)](_0x545bc6 => ({
|
|
1006
|
+
'id': _0x25321d(_0x545bc6),
|
|
1007
|
+
'name': _0x1af7d6(_0x545bc6)
|
|
1008
|
+
}))[_0x1b4e8f(0x16a)](_0x38267b => _0x38267b['id']), _0x121f49 = _0x66c1bc[_0x1b4e8f(_0x2a1053._0x33cbb0)](_0x499e6b => _0x499e6b[_0x1b4e8f(0x22b)]?.[_0x1b4e8f(0x164)] !== _0x1b4e8f(0x24c))[_0x1b4e8f(0x2a1)](_0x507d71 => ({
|
|
1009
|
+
'id': _0x25321d(_0x507d71),
|
|
1010
|
+
'name': _0x1af7d6(_0x507d71)
|
|
1011
|
+
}))[_0x1b4e8f(0x16a)](_0x2ff635 => _0x2ff635['id']), _0x3a6d8c = _0x1f3900[_0x1b4e8f(0x23b)]?.['server']['id'] ?? '';
|
|
999
1012
|
return {
|
|
1000
|
-
'agents':
|
|
1001
|
-
'channels':
|
|
1002
|
-
'humans':
|
|
1003
|
-
'serverId':
|
|
1004
|
-
'serverName':
|
|
1013
|
+
'agents': _0x11c01a,
|
|
1014
|
+
'channels': _0x1f3900[_0x1b4e8f(0x23b)]?.['channels'] ?? [],
|
|
1015
|
+
'humans': _0x121f49,
|
|
1016
|
+
'serverId': _0x3a6d8c,
|
|
1017
|
+
'serverName': _0x1f3900[_0x1b4e8f(_0x2a1053._0x120dc6)]?.[_0x1b4e8f(_0x2a1053._0x58783c)][_0x1b4e8f(_0x2a1053._0x421694)] ?? _0x3a6d8c
|
|
1005
1018
|
};
|
|
1006
|
-
})()[
|
|
1007
|
-
|
|
1008
|
-
throw
|
|
1009
|
-
}),
|
|
1019
|
+
})()['catch'](_0x44f9cb => {
|
|
1020
|
+
_0x282009 = null;
|
|
1021
|
+
throw _0x44f9cb;
|
|
1022
|
+
}), _0x282009;
|
|
1010
1023
|
}
|
|
1011
|
-
function
|
|
1012
|
-
const
|
|
1013
|
-
return
|
|
1024
|
+
function _0x5367a4(_0x1b3ec5, _0xccc9b3) {
|
|
1025
|
+
const _0x2aae57 = _0x1007b8;
|
|
1026
|
+
return _0xccc9b3[_0x2aae57(_0x50054d._0x57702a)][_0x2aae57(_0x50054d._0x5e7244)](_0x195e04 => _0x195e04['id'] === _0x1b3ec5 || _0x195e04['name'] === _0x1b3ec5) ? 'agent' : _0x2aae57(0x26a);
|
|
1014
1027
|
}
|
|
1015
|
-
function
|
|
1016
|
-
const
|
|
1017
|
-
...
|
|
1018
|
-
...
|
|
1019
|
-
][
|
|
1020
|
-
return
|
|
1028
|
+
function _0x2369d2(_0x26b3cf, _0x5a6dad) {
|
|
1029
|
+
const _0x34d18a = _0x1007b8, _0x5b7146 = [
|
|
1030
|
+
..._0x5a6dad[_0x34d18a(_0x56b0ed._0x5efc34)],
|
|
1031
|
+
..._0x5a6dad[_0x34d18a(_0x56b0ed._0x5dd190)]
|
|
1032
|
+
]['find'](_0x59443d => _0x59443d['id'] === _0x26b3cf);
|
|
1033
|
+
return _0x5b7146?.['name'] ?? _0x26b3cf;
|
|
1021
1034
|
}
|
|
1022
|
-
function
|
|
1023
|
-
const
|
|
1024
|
-
if (
|
|
1025
|
-
return
|
|
1026
|
-
if (
|
|
1027
|
-
return
|
|
1028
|
-
if (
|
|
1029
|
-
return
|
|
1030
|
-
return
|
|
1035
|
+
function _0x549730(_0x4a363b) {
|
|
1036
|
+
const _0x46aaa8 = _0x1007b8;
|
|
1037
|
+
if (_0x4a363b[_0x46aaa8(0x1e4)] != null)
|
|
1038
|
+
return _0x4a363b[_0x46aaa8(_0x3bf6c1._0x327470)] + ':t' + _0x4a363b[_0x46aaa8(0x1e4)];
|
|
1039
|
+
if (_0x4a363b[_0x46aaa8(_0x3bf6c1._0x49bf48)])
|
|
1040
|
+
return _0x4a363b[_0x46aaa8(0x185)] + ':' + _0x4a363b[_0x46aaa8(_0x3bf6c1._0x1d2a4b)];
|
|
1041
|
+
if (_0x4a363b['threadId'])
|
|
1042
|
+
return _0x4a363b['channelTarget'] + ':' + _0x4a363b[_0x46aaa8(0x266)][_0x46aaa8(0x230)](0x0, 0x8);
|
|
1043
|
+
return _0x4a363b['channelTarget'];
|
|
1031
1044
|
}
|
|
1032
|
-
function
|
|
1033
|
-
const
|
|
1045
|
+
function _0x231341(_0x2c632c, _0x2e2aec) {
|
|
1046
|
+
const _0x4ff664 = _0x1007b8;
|
|
1034
1047
|
try {
|
|
1035
|
-
const
|
|
1036
|
-
if (
|
|
1048
|
+
const _0x31f5b7 = parseTarget(_0x2c632c);
|
|
1049
|
+
if (_0x31f5b7[_0x4ff664(0x125)] !== _0x4ff664(_0x4e1257._0x55a12c) || _0x31f5b7[_0x4ff664(0x185)] !== _0x2e2aec[_0x4ff664(_0x4e1257._0x54068f)])
|
|
1037
1050
|
return ![];
|
|
1038
|
-
if (
|
|
1051
|
+
if (_0x2e2aec[_0x4ff664(0x1e4)] != null && _0x31f5b7[_0x4ff664(0x1bf)] === 't' + _0x2e2aec[_0x4ff664(_0x4e1257._0x49c433)])
|
|
1039
1052
|
return !![];
|
|
1040
|
-
if (
|
|
1041
|
-
return
|
|
1042
|
-
if (
|
|
1043
|
-
return
|
|
1053
|
+
if (_0x2e2aec[_0x4ff664(_0x4e1257._0x1fa58c)])
|
|
1054
|
+
return _0x31f5b7['threadShortId'] === _0x2e2aec[_0x4ff664(_0x4e1257._0x1fa58c)] || _0x2e2aec[_0x4ff664(_0x4e1257._0x26b939)][_0x4ff664(_0x4e1257._0x49c608)](_0x31f5b7['threadShortId']);
|
|
1055
|
+
if (_0x2e2aec[_0x4ff664(_0x4e1257._0x506ffb)])
|
|
1056
|
+
return _0x31f5b7[_0x4ff664(_0x4e1257._0x238ca8)] === _0x2e2aec[_0x4ff664(_0x4e1257._0x2bf5ba)] || _0x2e2aec[_0x4ff664(_0x4e1257._0x2bf5ba)][_0x4ff664(0x28f)](_0x31f5b7['threadShortId']);
|
|
1044
1057
|
return ![];
|
|
1045
1058
|
} catch {
|
|
1046
1059
|
return ![];
|
|
1047
1060
|
}
|
|
1048
1061
|
}
|
|
1049
|
-
function
|
|
1050
|
-
const
|
|
1062
|
+
function _0x2b7817(_0x20e0a6, _0x465a03) {
|
|
1063
|
+
const _0x46aaeb = _0x1007b8;
|
|
1051
1064
|
try {
|
|
1052
|
-
const
|
|
1053
|
-
if (
|
|
1065
|
+
const _0x2a2e7f = parseTarget(_0x20e0a6);
|
|
1066
|
+
if (_0x2a2e7f['kind'] !== 'thread')
|
|
1054
1067
|
return ![];
|
|
1055
|
-
const
|
|
1056
|
-
if (
|
|
1068
|
+
const _0x18f22 = typeof _0x465a03[_0x46aaeb(0x1e4)] === _0x46aaeb(_0x4482a9._0x9a1562) && Number[_0x46aaeb(0x2a6)](_0x465a03[_0x46aaeb(_0x4482a9._0x43b9c0)]) ? _0x465a03['threadNumber'] : void 0x0;
|
|
1069
|
+
if (_0x18f22 != null && _0x2a2e7f[_0x46aaeb(_0x4482a9._0x8591e2)] === 't' + _0x18f22)
|
|
1057
1070
|
return !![];
|
|
1058
|
-
const
|
|
1059
|
-
if (
|
|
1060
|
-
return
|
|
1061
|
-
const
|
|
1062
|
-
return Boolean(
|
|
1071
|
+
const _0x3b2db3 = typeof _0x465a03[_0x46aaeb(0x272)] === _0x46aaeb(0x298) ? _0x465a03[_0x46aaeb(0x272)] : void 0x0;
|
|
1072
|
+
if (_0x3b2db3)
|
|
1073
|
+
return _0x2a2e7f[_0x46aaeb(_0x4482a9._0x3b4216)] === _0x3b2db3 || _0x3b2db3[_0x46aaeb(0x28f)](_0x2a2e7f[_0x46aaeb(0x1bf)]);
|
|
1074
|
+
const _0xd81505 = typeof _0x465a03[_0x46aaeb(0x266)] === _0x46aaeb(_0x4482a9._0x2a812e) ? _0x465a03[_0x46aaeb(0x266)] : void 0x0;
|
|
1075
|
+
return Boolean(_0xd81505) && (_0x2a2e7f[_0x46aaeb(0x1bf)] === _0xd81505 || _0xd81505[_0x46aaeb(0x28f)](_0x2a2e7f[_0x46aaeb(0x1bf)]));
|
|
1063
1076
|
} catch {
|
|
1064
1077
|
return ![];
|
|
1065
1078
|
}
|
|
1066
1079
|
}
|
|
1067
|
-
function
|
|
1068
|
-
const
|
|
1069
|
-
return
|
|
1080
|
+
function _0x25321d(_0x4a96f7) {
|
|
1081
|
+
const _0x39bcec = _0x1007b8;
|
|
1082
|
+
return _0x4a96f7[_0x39bcec(_0x30e343._0xf080db)]?.[_0x39bcec(_0x30e343._0x18a0c5)] ?? _0x4a96f7[_0x39bcec(_0x30e343._0x1a073a)]?.['id'] ?? _0x4a96f7[_0x39bcec(_0x30e343._0x18a0c5)] ?? '';
|
|
1070
1083
|
}
|
|
1071
|
-
function
|
|
1072
|
-
const
|
|
1073
|
-
return
|
|
1084
|
+
function _0x1af7d6(_0x139853) {
|
|
1085
|
+
const _0x36b822 = _0x1007b8;
|
|
1086
|
+
return _0x139853[_0x36b822(0x22b)]?.['name'] ?? _0x25321d(_0x139853);
|
|
1074
1087
|
}
|
|
1075
|
-
async function
|
|
1076
|
-
const
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
const
|
|
1082
|
-
'headers':
|
|
1083
|
-
'method':
|
|
1084
|
-
}),
|
|
1085
|
-
'attachments': (
|
|
1086
|
-
'filename':
|
|
1087
|
-
'id':
|
|
1088
|
+
async function _0xd56448(_0x1702ae) {
|
|
1089
|
+
const _0x315b80 = _0x1007b8, _0x30d128 = Math['min'](_0x1702ae[_0x315b80(0x2a8)] ?? 0x32, 0x64), _0x34da95 = await _0x59e5f0(), _0x6201cf = new URLSearchParams();
|
|
1090
|
+
_0x6201cf[_0x315b80(0x13c)](_0x315b80(_0x24c13a._0x95210e), String(_0x30d128));
|
|
1091
|
+
_0x1702ae[_0x315b80(_0x24c13a._0x2a3983)] ? (_0x6201cf[_0x315b80(0x13c)](_0x315b80(_0x24c13a._0x2a3983), _0x1702ae[_0x315b80(0x266)]), _0x6201cf[_0x315b80(0x13c)](_0x315b80(_0x24c13a._0x7d788a), _0x1702ae['channelId'])) : _0x6201cf[_0x315b80(0x13c)](_0x315b80(_0x24c13a._0x29b0da), _0x1702ae['channelId']);
|
|
1092
|
+
_0x1702ae[_0x315b80(0x219)] && _0x6201cf[_0x315b80(_0x24c13a._0x4fd300)](_0x315b80(0x1e7), String(_0x1702ae[_0x315b80(_0x24c13a._0x59aee7)]));
|
|
1093
|
+
_0x1702ae[_0x315b80(_0x24c13a._0x41a9b4)] !== void 0x0 && _0x6201cf['set'](_0x315b80(_0x24c13a._0x41a9b4), String(_0x1702ae[_0x315b80(_0x24c13a._0x41a9b4)]));
|
|
1094
|
+
const _0x4b98b6 = await _0x2c8a06(_0x315b80(_0x24c13a._0x1f96fc) + _0x976918['agentId'] + _0x315b80(_0x24c13a._0x3d005e) + _0x6201cf['toString'](), {
|
|
1095
|
+
'headers': _0x53c501,
|
|
1096
|
+
'method': _0x315b80(_0x24c13a._0x5649b9)
|
|
1097
|
+
}), _0x544ed9 = (_0x4b98b6[_0x315b80(0x23b)] ?? [])['map'](_0x3a5c8f => ({
|
|
1098
|
+
'attachments': (_0x3a5c8f['attachments'] ?? [])[_0x315b80(0x2a1)](_0x217d68 => ({
|
|
1099
|
+
'filename': _0x217d68[_0x315b80(0x291)] ?? _0x217d68['id'],
|
|
1100
|
+
'id': _0x217d68['id']
|
|
1088
1101
|
})),
|
|
1089
|
-
'content':
|
|
1090
|
-
'createdAt':
|
|
1091
|
-
...
|
|
1092
|
-
'messageId':
|
|
1093
|
-
'senderName':
|
|
1094
|
-
'senderType':
|
|
1095
|
-
'seq':
|
|
1102
|
+
'content': _0x3a5c8f[_0x315b80(0x14a)] ?? '',
|
|
1103
|
+
'createdAt': _0x3a5c8f['createdAt'],
|
|
1104
|
+
..._0x3a5c8f[_0x315b80(0x125)] && _0x3a5c8f['kind'] !== 'chat' ? { 'kind': _0x3a5c8f[_0x315b80(0x125)] } : {},
|
|
1105
|
+
'messageId': _0x3a5c8f['id'],
|
|
1106
|
+
'senderName': _0x2369d2(_0x3a5c8f[_0x315b80(0x19d)], _0x34da95),
|
|
1107
|
+
'senderType': _0x5367a4(_0x3a5c8f[_0x315b80(0x19d)], _0x34da95),
|
|
1108
|
+
'seq': _0x3a5c8f[_0x315b80(0x29a)] ?? 0x0
|
|
1096
1109
|
}));
|
|
1097
1110
|
return {
|
|
1098
|
-
'channel':
|
|
1099
|
-
'hasMore':
|
|
1100
|
-
'messages':
|
|
1101
|
-
'nextCursor':
|
|
1111
|
+
'channel': _0x1702ae[_0x315b80(0x185)],
|
|
1112
|
+
'hasMore': _0x4b98b6['meta']?.[_0x315b80(0x13d)] ?? ![],
|
|
1113
|
+
'messages': _0x544ed9,
|
|
1114
|
+
'nextCursor': _0x4b98b6[_0x315b80(0x238)]?.[_0x315b80(0x1e7)]
|
|
1102
1115
|
};
|
|
1103
1116
|
}
|
|
1104
1117
|
return {
|
|
1105
|
-
async 'sendMessage'(
|
|
1106
|
-
const
|
|
1107
|
-
'body': JSON[
|
|
1108
|
-
'attachment_ids':
|
|
1109
|
-
'bodyMarkdown':
|
|
1110
|
-
'channelId':
|
|
1111
|
-
...
|
|
1112
|
-
'threadId':
|
|
1113
|
-
...
|
|
1118
|
+
async 'sendMessage'(_0x355115) {
|
|
1119
|
+
const _0x478fa9 = _0x1007b8, _0x52d90d = await _0x17758d(_0x355115[_0x478fa9(0x284)]), _0x3c0469 = _0x355115[_0x478fa9(_0x33b99c._0x18a3c3)][_0x478fa9(0x140)]('@') ? extractMentionedParticipantIds(_0x355115[_0x478fa9(0x14c)], await _0x59e5f0()) : [], _0x39b1e0 = await _0x2c8a06(_0x478fa9(_0x33b99c._0x59b041) + _0x976918['agentId'] + _0x478fa9(_0x33b99c._0x1a9dcd), {
|
|
1120
|
+
'body': JSON[_0x478fa9(0x191)]({
|
|
1121
|
+
'attachment_ids': _0x355115[_0x478fa9(0x269)],
|
|
1122
|
+
'bodyMarkdown': _0x355115[_0x478fa9(0x14c)],
|
|
1123
|
+
'channelId': _0x52d90d[_0x478fa9(0x1ec)],
|
|
1124
|
+
..._0x3c0469[_0x478fa9(0x1ad)] > 0x0 ? { 'mentionedParticipantIds': _0x3c0469 } : {},
|
|
1125
|
+
'threadId': _0x52d90d['threadId'],
|
|
1126
|
+
..._0x355115['visibility'] ? { 'visibility': _0x355115[_0x478fa9(0x146)] } : {}
|
|
1114
1127
|
}),
|
|
1115
|
-
'headers':
|
|
1116
|
-
'method':
|
|
1128
|
+
'headers': _0x53c501,
|
|
1129
|
+
'method': _0x478fa9(0x264)
|
|
1117
1130
|
});
|
|
1118
|
-
return { 'messageId':
|
|
1131
|
+
return { 'messageId': _0x39b1e0[_0x478fa9(0x23b)]?.['id'] ?? '' };
|
|
1119
1132
|
},
|
|
1120
1133
|
async 'listSchedules'() {
|
|
1121
|
-
const
|
|
1122
|
-
'headers':
|
|
1134
|
+
const _0x2163e8 = _0x1007b8, _0x4fb313 = await _0x2c8a06(_0x2163e8(_0x32f84d._0x3d2916), {
|
|
1135
|
+
'headers': _0x53c501,
|
|
1123
1136
|
'method': 'GET'
|
|
1124
1137
|
});
|
|
1125
|
-
return
|
|
1138
|
+
return _0x4fb313['data'] ?? [];
|
|
1126
1139
|
},
|
|
1127
|
-
async 'claimScheduleRun'(
|
|
1128
|
-
const
|
|
1129
|
-
'body': JSON['stringify'](
|
|
1130
|
-
'headers':
|
|
1131
|
-
'method':
|
|
1140
|
+
async 'claimScheduleRun'(_0x8fc85e) {
|
|
1141
|
+
const _0x68626f = _0x1007b8, _0x42e4c2 = await _0x2c8a06('/api/internal/schedules/claim', {
|
|
1142
|
+
'body': JSON['stringify'](_0x8fc85e),
|
|
1143
|
+
'headers': _0x53c501,
|
|
1144
|
+
'method': _0x68626f(0x264)
|
|
1132
1145
|
});
|
|
1133
|
-
return
|
|
1146
|
+
return _0x42e4c2[_0x68626f(_0x37b0fc._0x5ccb57)] ?? {
|
|
1134
1147
|
'granted': ![],
|
|
1135
1148
|
'runId': null,
|
|
1136
1149
|
'schedule': null,
|
|
1137
|
-
'scheduledFor':
|
|
1150
|
+
'scheduledFor': _0x8fc85e['scheduledFor']
|
|
1138
1151
|
};
|
|
1139
1152
|
},
|
|
1140
|
-
async 'startScheduleRun'(
|
|
1141
|
-
const
|
|
1142
|
-
'body': JSON[
|
|
1143
|
-
'headers':
|
|
1144
|
-
'method':
|
|
1153
|
+
async 'startScheduleRun'(_0x580a05) {
|
|
1154
|
+
const _0x315aac = _0x1007b8, _0x1a2f59 = await _0x2c8a06('/api/internal/schedules/' + encodeURIComponent(_0x580a05['runId']) + _0x315aac(_0x47e780._0x532daf), {
|
|
1155
|
+
'body': JSON[_0x315aac(_0x47e780._0x53d9da)]({}),
|
|
1156
|
+
'headers': _0x53c501,
|
|
1157
|
+
'method': _0x315aac(0x264)
|
|
1145
1158
|
});
|
|
1146
|
-
return
|
|
1159
|
+
return _0x1a2f59[_0x315aac(_0x47e780._0x52ec29)] ?? {
|
|
1147
1160
|
'claimedByDaemonId': '',
|
|
1148
|
-
'id':
|
|
1161
|
+
'id': _0x580a05['runId'],
|
|
1149
1162
|
'scheduleId': '',
|
|
1150
|
-
'status':
|
|
1163
|
+
'status': _0x315aac(0x18f)
|
|
1151
1164
|
};
|
|
1152
1165
|
},
|
|
1153
|
-
async 'finishScheduleRun'(
|
|
1154
|
-
const
|
|
1155
|
-
'body': JSON[
|
|
1156
|
-
'error':
|
|
1157
|
-
'resultJson':
|
|
1158
|
-
'status':
|
|
1166
|
+
async 'finishScheduleRun'(_0x74c21b) {
|
|
1167
|
+
const _0x451633 = _0x1007b8, _0x2731c0 = await _0x2c8a06(_0x451633(_0x3eadf2._0x258d6a) + encodeURIComponent(_0x74c21b['runId']) + '/finish', {
|
|
1168
|
+
'body': JSON[_0x451633(0x191)]({
|
|
1169
|
+
'error': _0x74c21b[_0x451633(0x1dc)],
|
|
1170
|
+
'resultJson': _0x74c21b[_0x451633(_0x3eadf2._0x336a8e)],
|
|
1171
|
+
'status': _0x74c21b['status']
|
|
1159
1172
|
}),
|
|
1160
|
-
'headers':
|
|
1161
|
-
'method':
|
|
1173
|
+
'headers': _0x53c501,
|
|
1174
|
+
'method': _0x451633(0x264)
|
|
1162
1175
|
});
|
|
1163
|
-
return
|
|
1176
|
+
return _0x2731c0[_0x451633(0x23b)] ?? {
|
|
1164
1177
|
'nextRunAt': null,
|
|
1165
1178
|
'run': {
|
|
1166
1179
|
'claimedByDaemonId': '',
|
|
1167
|
-
'id':
|
|
1180
|
+
'id': _0x74c21b['runId'],
|
|
1168
1181
|
'scheduleId': '',
|
|
1169
|
-
'status':
|
|
1182
|
+
'status': _0x74c21b[_0x451633(_0x3eadf2._0xa21dcd)]
|
|
1170
1183
|
}
|
|
1171
1184
|
};
|
|
1172
1185
|
},
|
|
1173
|
-
async 'listTasks'(
|
|
1174
|
-
const
|
|
1175
|
-
return
|
|
1176
|
-
'headers':
|
|
1177
|
-
'method':
|
|
1186
|
+
async 'listTasks'(_0x57b6f5) {
|
|
1187
|
+
const _0x2308d5 = _0x1007b8, _0x2c6e59 = new URLSearchParams();
|
|
1188
|
+
return _0x2c6e59['set']('channel', _0x57b6f5[_0x2308d5(0x26c)]), _0x57b6f5['status'] && _0x2c6e59[_0x2308d5(_0x57c71d._0x56ff8d)](_0x2308d5(0x1b1), _0x57b6f5[_0x2308d5(_0x57c71d._0x4ddc42)]), _0xc543c6(_0x2308d5(0x131) + _0x976918[_0x2308d5(_0x57c71d._0x38e172)] + _0x2308d5(0x15b) + _0x2c6e59[_0x2308d5(_0x57c71d._0x25bc61)](), {
|
|
1189
|
+
'headers': _0x53c501,
|
|
1190
|
+
'method': _0x2308d5(0x182)
|
|
1178
1191
|
});
|
|
1179
1192
|
},
|
|
1180
|
-
async 'createTasks'(
|
|
1181
|
-
const
|
|
1182
|
-
return
|
|
1183
|
-
'body': JSON[
|
|
1184
|
-
...
|
|
1185
|
-
'idempotency_key':
|
|
1193
|
+
async 'createTasks'(_0x207588) {
|
|
1194
|
+
const _0x48d842 = _0x1007b8;
|
|
1195
|
+
return _0xc543c6(_0x48d842(0x131) + _0x976918['agentId'] + _0x48d842(_0x209e1e._0x73f9c9), {
|
|
1196
|
+
'body': JSON[_0x48d842(0x191)]({
|
|
1197
|
+
..._0x207588,
|
|
1198
|
+
'idempotency_key': _0xdaf0e2('create_tasks', _0x207588)
|
|
1186
1199
|
}),
|
|
1187
|
-
'headers':
|
|
1188
|
-
'method':
|
|
1200
|
+
'headers': _0x53c501,
|
|
1201
|
+
'method': _0x48d842(0x264)
|
|
1189
1202
|
});
|
|
1190
1203
|
},
|
|
1191
|
-
async 'claimTasks'(
|
|
1192
|
-
const
|
|
1193
|
-
return
|
|
1194
|
-
'body': JSON[
|
|
1195
|
-
...
|
|
1196
|
-
'idempotency_key':
|
|
1204
|
+
async 'claimTasks'(_0x180d82) {
|
|
1205
|
+
const _0x440092 = _0x1007b8;
|
|
1206
|
+
return _0xc543c6('/internal/agent/' + _0x976918[_0x440092(_0x4a3333._0x195677)] + _0x440092(0x156), {
|
|
1207
|
+
'body': JSON['stringify']({
|
|
1208
|
+
..._0x180d82,
|
|
1209
|
+
'idempotency_key': _0xdaf0e2(_0x440092(0x1a2), _0x180d82)
|
|
1197
1210
|
}),
|
|
1198
|
-
'headers':
|
|
1199
|
-
'method':
|
|
1211
|
+
'headers': _0x53c501,
|
|
1212
|
+
'method': _0x440092(_0x4a3333._0x2279c3)
|
|
1200
1213
|
});
|
|
1201
1214
|
},
|
|
1202
|
-
async 'unclaimTask'(
|
|
1203
|
-
const
|
|
1204
|
-
return
|
|
1205
|
-
'body': JSON[
|
|
1206
|
-
...
|
|
1207
|
-
'idempotency_key':
|
|
1215
|
+
async 'unclaimTask'(_0x3b5ef6) {
|
|
1216
|
+
const _0xa3477f = _0x1007b8;
|
|
1217
|
+
return _0xc543c6(_0xa3477f(0x131) + _0x976918[_0xa3477f(_0x310691._0x3e2bb3)] + _0xa3477f(0x1b8), {
|
|
1218
|
+
'body': JSON['stringify']({
|
|
1219
|
+
..._0x3b5ef6,
|
|
1220
|
+
'idempotency_key': _0xdaf0e2(_0xa3477f(0x287), _0x3b5ef6)
|
|
1208
1221
|
}),
|
|
1209
|
-
'headers':
|
|
1210
|
-
'method':
|
|
1222
|
+
'headers': _0x53c501,
|
|
1223
|
+
'method': _0xa3477f(_0x310691._0xa53758)
|
|
1211
1224
|
});
|
|
1212
1225
|
},
|
|
1213
|
-
async 'updateTaskStatus'(
|
|
1214
|
-
const
|
|
1215
|
-
return
|
|
1216
|
-
'body': JSON[
|
|
1217
|
-
...
|
|
1218
|
-
'idempotency_key':
|
|
1226
|
+
async 'updateTaskStatus'(_0x5824e1) {
|
|
1227
|
+
const _0x569e7c = _0x1007b8;
|
|
1228
|
+
return _0xc543c6(_0x569e7c(0x131) + _0x976918[_0x569e7c(0x202)] + _0x569e7c(0x189), {
|
|
1229
|
+
'body': JSON[_0x569e7c(0x191)]({
|
|
1230
|
+
..._0x5824e1,
|
|
1231
|
+
'idempotency_key': _0xdaf0e2(_0x569e7c(0x228), _0x5824e1)
|
|
1219
1232
|
}),
|
|
1220
|
-
'headers':
|
|
1221
|
-
'method':
|
|
1233
|
+
'headers': _0x53c501,
|
|
1234
|
+
'method': _0x569e7c(_0x5b8268._0x192ead)
|
|
1222
1235
|
});
|
|
1223
1236
|
},
|
|
1224
|
-
async 'uploadFile'(
|
|
1225
|
-
const
|
|
1226
|
-
if (
|
|
1237
|
+
async 'uploadFile'(_0x53250e) {
|
|
1238
|
+
const _0x4bbc87 = _0x1007b8, _0x2f1810 = await _0x17758d(_0x53250e[_0x4bbc87(0x26c)]);
|
|
1239
|
+
if (_0x2f1810[_0x4bbc87(0x266)])
|
|
1227
1240
|
throw new Error('upload_file\x20only\x20supports\x20channel\x20or\x20DM\x20targets,\x20not\x20thread\x20targets');
|
|
1228
|
-
const
|
|
1229
|
-
'body': JSON[
|
|
1230
|
-
'channel':
|
|
1231
|
-
'contentBase64':
|
|
1232
|
-
'contentType':
|
|
1233
|
-
'originalFilename':
|
|
1241
|
+
const _0x1e383c = await _0x2c8a06(_0x4bbc87(_0x561649._0x2853f7) + _0x976918['agentId'] + _0x4bbc87(0x1a5), {
|
|
1242
|
+
'body': JSON[_0x4bbc87(0x191)]({
|
|
1243
|
+
'channel': _0x2f1810[_0x4bbc87(_0x561649._0x57935c)],
|
|
1244
|
+
'contentBase64': _0x53250e['contentBase64'],
|
|
1245
|
+
'contentType': _0x53250e['contentType'],
|
|
1246
|
+
'originalFilename': _0x53250e['filename']
|
|
1234
1247
|
}),
|
|
1235
|
-
'headers':
|
|
1236
|
-
'method':
|
|
1248
|
+
'headers': _0x53c501,
|
|
1249
|
+
'method': _0x4bbc87(0x264)
|
|
1237
1250
|
});
|
|
1238
1251
|
return {
|
|
1239
|
-
'attachmentId':
|
|
1240
|
-
'filename':
|
|
1241
|
-
'sizeBytes':
|
|
1252
|
+
'attachmentId': _0x1e383c['data']?.['id'] ?? '',
|
|
1253
|
+
'filename': _0x1e383c['data']?.['originalFilename'] ?? _0x53250e[_0x4bbc87(0x291)],
|
|
1254
|
+
'sizeBytes': _0x1e383c[_0x4bbc87(0x23b)]?.[_0x4bbc87(0x283)] ?? 0x0
|
|
1242
1255
|
};
|
|
1243
1256
|
},
|
|
1244
|
-
async 'downloadAttachment'(
|
|
1245
|
-
const
|
|
1246
|
-
'headers':
|
|
1247
|
-
'method':
|
|
1248
|
-
}),
|
|
1257
|
+
async 'downloadAttachment'(_0x15ee6f) {
|
|
1258
|
+
const _0x20ca17 = _0x1007b8, _0x27dc08 = await _0x2c8a06(_0x20ca17(0x2b0) + _0x15ee6f, {
|
|
1259
|
+
'headers': _0x53c501,
|
|
1260
|
+
'method': _0x20ca17(0x182)
|
|
1261
|
+
}), _0x3dc3a2 = new AbortController(), _0x2160af = setTimeout(() => _0x3dc3a2[_0x20ca17(0x1aa)](), _0x253661);
|
|
1249
1262
|
try {
|
|
1250
|
-
const
|
|
1251
|
-
'headers':
|
|
1252
|
-
'method':
|
|
1253
|
-
'signal':
|
|
1263
|
+
const _0x24d0a2 = await _0x1273d8(_0x36de28 + '/api/attachments/' + _0x15ee6f + _0x20ca17(0x1b5), {
|
|
1264
|
+
'headers': _0x53c501,
|
|
1265
|
+
'method': _0x20ca17(_0x7ab4b7._0x27290d),
|
|
1266
|
+
'signal': _0x3dc3a2['signal']
|
|
1254
1267
|
});
|
|
1255
|
-
if (!
|
|
1256
|
-
throw new Error(
|
|
1268
|
+
if (!_0x24d0a2['ok'])
|
|
1269
|
+
throw new Error('HTTP\x20' + _0x24d0a2[_0x20ca17(_0x7ab4b7._0x45ce42)]);
|
|
1257
1270
|
return {
|
|
1258
|
-
'contentType':
|
|
1259
|
-
'data': Buffer[
|
|
1260
|
-
'originalFilename':
|
|
1271
|
+
'contentType': _0x27dc08[_0x20ca17(_0x7ab4b7._0x398a22)]?.[_0x20ca17(_0x7ab4b7._0x48644c)] ?? _0x24d0a2[_0x20ca17(_0x7ab4b7._0x15280b)][_0x20ca17(_0x7ab4b7._0x3749ac)]('content-type') ?? _0x20ca17(0x1f4),
|
|
1272
|
+
'data': Buffer[_0x20ca17(_0x7ab4b7._0x459cbf)](await _0x24d0a2[_0x20ca17(_0x7ab4b7._0x3ba218)]()),
|
|
1273
|
+
'originalFilename': _0x27dc08[_0x20ca17(0x23b)]?.[_0x20ca17(_0x7ab4b7._0x106d23)]
|
|
1261
1274
|
};
|
|
1262
1275
|
} finally {
|
|
1263
|
-
clearTimeout(
|
|
1276
|
+
clearTimeout(_0x2160af);
|
|
1264
1277
|
}
|
|
1265
1278
|
},
|
|
1266
1279
|
async 'listServer'() {
|
|
1267
|
-
return
|
|
1280
|
+
return _0x59e5f0({ 'forceRefresh': !![] });
|
|
1268
1281
|
},
|
|
1269
1282
|
async 'getLatestEventSeq'() {
|
|
1270
|
-
const
|
|
1271
|
-
|
|
1272
|
-
const
|
|
1273
|
-
'headers':
|
|
1274
|
-
'method':
|
|
1275
|
-
}),
|
|
1276
|
-
return typeof
|
|
1283
|
+
const _0x4ac07a = _0x1007b8, _0x297343 = new URLSearchParams();
|
|
1284
|
+
_0x297343[_0x4ac07a(0x13c)]('afterSeq', '0'), _0x297343['set'](_0x4ac07a(0x2a8), '1');
|
|
1285
|
+
const _0x158a4c = await _0x2c8a06(_0x4ac07a(_0x5684d7._0x466283) + _0x976918[_0x4ac07a(0x202)] + _0x4ac07a(_0x5684d7._0x823ae8) + _0x297343[_0x4ac07a(_0x5684d7._0x5b9bdf)](), {
|
|
1286
|
+
'headers': _0x53c501,
|
|
1287
|
+
'method': _0x4ac07a(0x182)
|
|
1288
|
+
}), _0x1b4511 = _0x158a4c[_0x4ac07a(0x238)]?.[_0x4ac07a(_0x5684d7._0x114578)];
|
|
1289
|
+
return typeof _0x1b4511 === 'number' && _0x1b4511 > 0x0 ? _0x1b4511 : 0x0;
|
|
1277
1290
|
},
|
|
1278
|
-
async 'readHistory'(
|
|
1279
|
-
const
|
|
1280
|
-
return
|
|
1281
|
-
'after':
|
|
1282
|
-
'before':
|
|
1283
|
-
'channelId':
|
|
1284
|
-
'channelTarget':
|
|
1285
|
-
'limit':
|
|
1286
|
-
'threadId':
|
|
1291
|
+
async 'readHistory'(_0x4c60e9) {
|
|
1292
|
+
const _0x125ebc = _0x1007b8, _0x3f4d9c = await _0x17758d(_0x4c60e9['channel']);
|
|
1293
|
+
return _0xd56448({
|
|
1294
|
+
'after': _0x4c60e9['after'],
|
|
1295
|
+
'before': _0x4c60e9[_0x125ebc(_0x18fb80._0x2605fe)],
|
|
1296
|
+
'channelId': _0x3f4d9c['channelId'],
|
|
1297
|
+
'channelTarget': _0x3f4d9c['target'],
|
|
1298
|
+
'limit': _0x4c60e9[_0x125ebc(_0x18fb80._0x45d010)],
|
|
1299
|
+
'threadId': _0x3f4d9c[_0x125ebc(_0x18fb80._0x6ccb78)]
|
|
1287
1300
|
});
|
|
1288
1301
|
},
|
|
1289
|
-
'resolveTarget':
|
|
1302
|
+
'resolveTarget': _0x17758d,
|
|
1290
1303
|
async 'checkMessages'() {
|
|
1291
|
-
const
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1304
|
+
const _0x75558b = {
|
|
1305
|
+
_0x3026d6: 0x239,
|
|
1306
|
+
_0x448aae: 0x2af
|
|
1307
|
+
}, _0x409a70 = _0x1007b8, _0xb256d7 = new URLSearchParams();
|
|
1308
|
+
_0xb256d7[_0x409a70(0x13c)](_0x409a70(_0x5b753f._0x14987c), String(_0x3fb905));
|
|
1309
|
+
const _0x3e1550 = _0xb256d7[_0x409a70(0x21b)](), _0x5d339e = await _0x2c8a06(_0x409a70(_0x5b753f._0x8beaa9) + _0x976918[_0x409a70(_0x5b753f._0x4ba87d)] + '/receive' + (_0x3e1550 ? '?' + _0x3e1550 : ''), {
|
|
1310
|
+
'headers': _0x53c501,
|
|
1311
|
+
'method': 'GET'
|
|
1312
|
+
}), _0x3048a6 = _0x5d339e[_0x409a70(_0x5b753f._0x3110bd)] ?? [], _0x23ac9d = _0x5d339e['meta']?.[_0x409a70(0x1e7)], _0x424b93 = _0xa7e971 ? _0x3048a6[_0x409a70(0x16a)](_0x813046 => {
|
|
1313
|
+
const _0x3ea1c7 = _0x409a70;
|
|
1314
|
+
if (_0x813046[_0x3ea1c7(0x14b)] !== _0x3ea1c7(0x16f))
|
|
1299
1315
|
return ![];
|
|
1300
|
-
return
|
|
1301
|
-
}) :
|
|
1302
|
-
let
|
|
1303
|
-
|
|
1304
|
-
|
|
1316
|
+
return _0x2b7817(_0xa7e971, asRecord(_0x813046[_0x3ea1c7(0x239)]));
|
|
1317
|
+
}) : _0x3048a6, _0x57f046 = _0x23ac9d !== void 0x0 ? _0xa7e971 ? Math[_0x409a70(0x1fc)](_0x3fb905, _0x424b93[_0x409a70(0x1ad)] > 0x0 ? _0x424b93[_0x424b93[_0x409a70(_0x5b753f._0x5e9b67)] - 0x1][_0x409a70(_0x5b753f._0x5028c0)] : _0x3fb905) : Math[_0x409a70(_0x5b753f._0x4d8076)](_0x3fb905, _0x23ac9d) : _0x424b93[_0x409a70(_0x5b753f._0x16d7d0)] > 0x0 ? Math[_0x409a70(0x1fc)](_0x3fb905, _0x424b93[_0x424b93[_0x409a70(0x1ad)] - 0x1][_0x409a70(0x20c)]) : _0x3fb905, _0x5f1e29 = (_0xa7e971 ? _0x424b93 : _0x3048a6)[_0x409a70(_0x5b753f._0x41eb90)](_0x1b7928 => _0x1b7928[_0x409a70(0x14b)] === _0x409a70(0x16f)), _0x5f2e2b = _0xa7e971 === void 0x0 && _0x4b2fda;
|
|
1318
|
+
let _0x30338b = await _0x59e5f0(), _0x305ec6 = new Map(_0x30338b[_0x409a70(0x218)][_0x409a70(_0x5b753f._0xc58494)](_0x416160 => [
|
|
1319
|
+
_0x416160['id'],
|
|
1320
|
+
_0x416160
|
|
1305
1321
|
]));
|
|
1306
|
-
const
|
|
1307
|
-
const
|
|
1308
|
-
return Boolean(
|
|
1322
|
+
const _0xe6ecce = _0x5f1e29[_0x409a70(_0x5b753f._0x2a4d09)](_0x320fe9 => {
|
|
1323
|
+
const _0x236915 = _0x409a70, _0x30a503 = asRecord(_0x320fe9[_0x236915(_0x75558b._0x3026d6)]), _0x5c96c5 = typeof _0x30a503?.[_0x236915(0x1ec)] === 'string' ? _0x30a503['channelId'] : '';
|
|
1324
|
+
return Boolean(_0x5c96c5) && !_0x305ec6[_0x236915(_0x75558b._0x448aae)](_0x5c96c5);
|
|
1309
1325
|
});
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1326
|
+
_0xe6ecce && (_0x30338b = await _0x59e5f0({ 'forceRefresh': !![] }), _0x305ec6 = new Map(_0x30338b[_0x409a70(0x218)][_0x409a70(0x2a1)](_0x489d78 => [
|
|
1327
|
+
_0x489d78['id'],
|
|
1328
|
+
_0x489d78
|
|
1313
1329
|
])));
|
|
1314
|
-
const
|
|
1315
|
-
for (const
|
|
1316
|
-
const
|
|
1317
|
-
if (!
|
|
1330
|
+
const _0x240d69 = new Map();
|
|
1331
|
+
for (const _0x3ba615 of _0x5f1e29) {
|
|
1332
|
+
const _0x3f86fa = asRecord(_0x3ba615[_0x409a70(0x239)]), _0x4a8b89 = typeof _0x3f86fa[_0x409a70(_0x5b753f._0x3e7a10)] === _0x409a70(_0x5b753f._0xb95aed) ? _0x3f86fa[_0x409a70(_0x5b753f._0x3e7a10)] : '';
|
|
1333
|
+
if (!_0x4a8b89)
|
|
1318
1334
|
continue;
|
|
1319
|
-
const
|
|
1335
|
+
const _0x44eb7b = typeof _0x3f86fa[_0x409a70(0x266)] === 'string' ? _0x3f86fa['threadId'] : void 0x0, _0x5b69b4 = typeof _0x3f86fa[_0x409a70(_0x5b753f._0x17527d)] === 'string' ? _0x3f86fa[_0x409a70(0x272)] : void 0x0, _0x30109e = typeof _0x3f86fa[_0x409a70(0x1e4)] === _0x409a70(_0x5b753f._0x1eaf2a) && Number[_0x409a70(0x2a6)](_0x3f86fa['threadNumber']) ? _0x3f86fa['threadNumber'] : void 0x0, _0x482de3 = Boolean(_0x44eb7b && (!_0x5b69b4 || _0x3ba615[_0x409a70(0x278)] !== _0x5b69b4)), _0x50a109 = _0x482de3 ? _0x4a8b89 + ':' + _0x44eb7b : _0x4a8b89, _0x129217 = _0x240d69[_0x409a70(_0x5b753f._0x431fff)](_0x50a109) ?? {
|
|
1320
1336
|
'aggregateIds': [],
|
|
1321
|
-
'channelId':
|
|
1337
|
+
'channelId': _0x4a8b89,
|
|
1322
1338
|
'entries': new Map(),
|
|
1323
|
-
'isThreadReply':
|
|
1324
|
-
'rootMessageId':
|
|
1325
|
-
'threadNumber':
|
|
1326
|
-
'threadId':
|
|
1339
|
+
'isThreadReply': _0x482de3,
|
|
1340
|
+
'rootMessageId': _0x5b69b4,
|
|
1341
|
+
'threadNumber': _0x30109e,
|
|
1342
|
+
'threadId': _0x482de3 ? _0x44eb7b : void 0x0
|
|
1327
1343
|
};
|
|
1328
|
-
|
|
1329
|
-
'payloadJson':
|
|
1330
|
-
'seq':
|
|
1331
|
-
}),
|
|
1344
|
+
_0x129217[_0x409a70(_0x5b753f._0x715b03)] == null && _0x30109e != null && (_0x129217[_0x409a70(0x1e4)] = _0x30109e), !_0x129217[_0x409a70(_0x5b753f._0x17527d)] && _0x5b69b4 && (_0x129217[_0x409a70(_0x5b753f._0x17527d)] = _0x5b69b4), _0x129217[_0x409a70(_0x5b753f._0x30e25a)][_0x409a70(_0x5b753f._0x4295f1)](_0x3ba615[_0x409a70(0x278)]), _0x129217[_0x409a70(_0x5b753f._0x1bb72c)][_0x409a70(_0x5b753f._0x4acd9)](_0x3ba615[_0x409a70(_0x5b753f._0x44b6ef)], {
|
|
1345
|
+
'payloadJson': _0x3ba615[_0x409a70(0x239)],
|
|
1346
|
+
'seq': _0x3ba615[_0x409a70(0x20c)]
|
|
1347
|
+
}), _0x240d69[_0x409a70(0x13c)](_0x50a109, _0x129217);
|
|
1332
1348
|
}
|
|
1333
|
-
const
|
|
1334
|
-
for (const
|
|
1349
|
+
const _0xeca569 = [];
|
|
1350
|
+
for (const _0x332f38 of _0x240d69['values']()) {
|
|
1335
1351
|
const {
|
|
1336
|
-
channelId:
|
|
1337
|
-
threadId:
|
|
1338
|
-
rootMessageId:
|
|
1339
|
-
threadNumber:
|
|
1340
|
-
aggregateIds:
|
|
1341
|
-
isThreadReply:
|
|
1342
|
-
entries:
|
|
1343
|
-
} =
|
|
1344
|
-
'channelTarget':
|
|
1345
|
-
'rootMessageId':
|
|
1346
|
-
'threadId':
|
|
1347
|
-
'threadNumber':
|
|
1348
|
-
},
|
|
1349
|
-
'channelId':
|
|
1350
|
-
'channelTarget':
|
|
1351
|
-
'limit': Math[
|
|
1352
|
-
'threadId':
|
|
1353
|
-
}),
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
])),
|
|
1357
|
-
for (const
|
|
1358
|
-
if (!
|
|
1352
|
+
channelId: _0xf925f5,
|
|
1353
|
+
threadId: _0x2abfa8,
|
|
1354
|
+
rootMessageId: _0x152756,
|
|
1355
|
+
threadNumber: _0x53196b,
|
|
1356
|
+
aggregateIds: _0x4e1296,
|
|
1357
|
+
isThreadReply: _0xb48c14,
|
|
1358
|
+
entries: _0x145b6b
|
|
1359
|
+
} = _0x332f38, _0x4da6f8 = _0x305ec6[_0x409a70(_0x5b753f._0x2311f5)](_0xf925f5), _0x1eea1b = _0x4da6f8?.[_0x409a70(_0x5b753f._0x378b9b)] ?? _0xf925f5, _0x21c6f0 = _0x4da6f8?.['kind'] === 'dm' ? _0x409a70(_0x5b753f._0x4f831c) + _0x1eea1b : '#' + _0x1eea1b, _0x1016c9 = {
|
|
1360
|
+
'channelTarget': _0x21c6f0,
|
|
1361
|
+
'rootMessageId': _0x152756,
|
|
1362
|
+
'threadId': _0x2abfa8,
|
|
1363
|
+
'threadNumber': _0x53196b
|
|
1364
|
+
}, _0x420ac2 = await _0xd56448({
|
|
1365
|
+
'channelId': _0xf925f5,
|
|
1366
|
+
'channelTarget': _0x21c6f0,
|
|
1367
|
+
'limit': Math[_0x409a70(0x1fc)](_0x4e1296[_0x409a70(_0x5b753f._0x16d7d0)], 0x32),
|
|
1368
|
+
'threadId': _0x2abfa8
|
|
1369
|
+
}), _0x29e9bc = new Map(_0x420ac2[_0x409a70(0x17c)][_0x409a70(0x2a1)](_0x18bf04 => [
|
|
1370
|
+
_0x18bf04[_0x409a70(0x1fb)],
|
|
1371
|
+
_0x18bf04
|
|
1372
|
+
])), _0x1ce0b2 = _0x2abfa8 ? _0x549730(_0x1016c9) : _0x21c6f0, _0x24452d = _0xa7e971 ? _0xb48c14 && _0x231341(_0xa7e971, _0x1016c9) : !![], _0x4b67c7 = _0xb48c14 ? _0x24452d && _0xa7e971 ? _0xa7e971 : _0x1ce0b2 : _0x21c6f0;
|
|
1373
|
+
for (const _0x15a900 of _0x4e1296) {
|
|
1374
|
+
if (!_0x24452d)
|
|
1359
1375
|
continue;
|
|
1360
|
-
const
|
|
1361
|
-
if (
|
|
1376
|
+
const _0x14d0b3 = _0x145b6b[_0x409a70(_0x5b753f._0x2311f5)](_0x15a900), _0x5641c7 = _0x14d0b3 ? asRecord(_0x14d0b3[_0x409a70(_0x5b753f._0x5173e7)]) : void 0x0, _0x32aaec = _0x5641c7?.['taskDeliveryMode'] === _0x409a70(0x174);
|
|
1377
|
+
if (_0x5f2e2b && _0x32aaec)
|
|
1362
1378
|
continue;
|
|
1363
|
-
const
|
|
1364
|
-
if (
|
|
1365
|
-
|
|
1366
|
-
'attachments':
|
|
1367
|
-
'content':
|
|
1368
|
-
'createdAt':
|
|
1369
|
-
...
|
|
1370
|
-
'messageId':
|
|
1371
|
-
'senderName':
|
|
1372
|
-
'senderType':
|
|
1373
|
-
'target':
|
|
1374
|
-
...
|
|
1379
|
+
const _0x54b9f4 = _0x29e9bc[_0x409a70(0x186)](_0x15a900);
|
|
1380
|
+
if (_0x54b9f4) {
|
|
1381
|
+
_0xeca569[_0x409a70(0x2a5)]({
|
|
1382
|
+
'attachments': _0x54b9f4['attachments'],
|
|
1383
|
+
'content': _0x54b9f4[_0x409a70(0x14c)],
|
|
1384
|
+
'createdAt': _0x54b9f4[_0x409a70(0x12a)],
|
|
1385
|
+
..._0x54b9f4[_0x409a70(_0x5b753f._0xb94e58)] ? { 'kind': _0x54b9f4[_0x409a70(0x125)] } : {},
|
|
1386
|
+
'messageId': _0x54b9f4[_0x409a70(_0x5b753f._0x490549)],
|
|
1387
|
+
'senderName': _0x54b9f4[_0x409a70(_0x5b753f._0x356ce2)],
|
|
1388
|
+
'senderType': _0x54b9f4[_0x409a70(0x19a)],
|
|
1389
|
+
'target': _0x4b67c7,
|
|
1390
|
+
..._0x32aaec ? { 'targetedTask': !![] } : {}
|
|
1375
1391
|
});
|
|
1376
1392
|
continue;
|
|
1377
1393
|
}
|
|
1378
|
-
if (
|
|
1379
|
-
const
|
|
1380
|
-
|
|
1394
|
+
if (_0x14d0b3) {
|
|
1395
|
+
const _0x4710fb = typeof _0x5641c7?.[_0x409a70(_0x5b753f._0x773613)] === _0x409a70(_0x5b753f._0xb95aed) ? _0x5641c7[_0x409a70(_0x5b753f._0x446f49)] : '', _0x26cb9e = typeof _0x5641c7?.[_0x409a70(_0x5b753f._0x15d2f2)] === _0x409a70(_0x5b753f._0xb95aed) ? _0x5641c7[_0x409a70(0x14a)] : '', _0x13a86d = typeof _0x5641c7?.[_0x409a70(0x125)] === _0x409a70(_0x5b753f._0xb95aed) && _0x5641c7['kind'] !== 'chat' ? _0x5641c7[_0x409a70(0x125)] : void 0x0;
|
|
1396
|
+
_0x4710fb && _0x26cb9e && _0xeca569[_0x409a70(_0x5b753f._0x32a59a)]({
|
|
1381
1397
|
'attachments': [],
|
|
1382
|
-
'content':
|
|
1383
|
-
'createdAt': new Date()[
|
|
1384
|
-
...
|
|
1385
|
-
'messageId':
|
|
1386
|
-
'senderName':
|
|
1387
|
-
'senderType':
|
|
1388
|
-
'target':
|
|
1389
|
-
...
|
|
1398
|
+
'content': _0x26cb9e,
|
|
1399
|
+
'createdAt': new Date()[_0x409a70(_0x5b753f._0x24725d)](),
|
|
1400
|
+
..._0x13a86d ? { 'kind': _0x13a86d } : {},
|
|
1401
|
+
'messageId': _0x15a900,
|
|
1402
|
+
'senderName': _0x2369d2(_0x4710fb, _0x30338b),
|
|
1403
|
+
'senderType': _0x5367a4(_0x4710fb, _0x30338b),
|
|
1404
|
+
'target': _0x4b67c7,
|
|
1405
|
+
..._0x32aaec ? { 'targetedTask': !![] } : {}
|
|
1390
1406
|
});
|
|
1391
1407
|
}
|
|
1392
1408
|
}
|
|
1393
1409
|
}
|
|
1394
|
-
if (
|
|
1395
|
-
if (
|
|
1396
|
-
await
|
|
1410
|
+
if (_0x57f046 > 0x0) {
|
|
1411
|
+
if (_0xd60ec3)
|
|
1412
|
+
await _0x18f28e(_0x57f046);
|
|
1397
1413
|
else
|
|
1398
|
-
|
|
1414
|
+
_0xd3fedd && await _0x3fe754(_0x57f046);
|
|
1399
1415
|
}
|
|
1400
|
-
return
|
|
1416
|
+
return _0x57f046 > _0x3fb905 && (_0x3fb905 = _0x57f046), { 'messages': _0xa7e971 ? _0xeca569 : _0x5f2e2b ? _0xeca569[_0x409a70(0x16a)](_0x194b6c => _0x194b6c[_0x409a70(0x25c)] !== !![]) : _0xeca569 };
|
|
1401
1417
|
}
|
|
1402
1418
|
};
|
|
1403
1419
|
}
|
|
1404
|
-
function toLocalTime(
|
|
1405
|
-
const
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
const _0x1e9687 = _0x4840fa => String(_0x4840fa)[_0x1f2d81(0x1f6)](0x2, '0');
|
|
1414
|
-
return _0x4d2fcb[_0x1f2d81(_0x3cdeb1._0x50333a)]() + '-' + _0x1e9687(_0x4d2fcb[_0x1f2d81(0xe3)]() + 0x1) + '-' + _0x1e9687(_0x4d2fcb['getDate']()) + '\x20' + _0x1e9687(_0x4d2fcb[_0x1f2d81(_0x3cdeb1._0x47934b)]()) + ':' + _0x1e9687(_0x4d2fcb[_0x1f2d81(_0x3cdeb1._0x245b05)]()) + ':' + _0x1e9687(_0x4d2fcb['getSeconds']());
|
|
1420
|
+
function toLocalTime(_0x4e25c6) {
|
|
1421
|
+
const _0x3a4287 = {
|
|
1422
|
+
_0xa0b33: 0x1a6,
|
|
1423
|
+
_0x6d4540: 0x29c
|
|
1424
|
+
}, _0x39dce7 = _0x10d6b5, _0x2460c3 = new Date(_0x4e25c6);
|
|
1425
|
+
if (Number[_0x39dce7(0x14d)](_0x2460c3[_0x39dce7(0x259)]()))
|
|
1426
|
+
return _0x4e25c6;
|
|
1427
|
+
const _0x5e8cce = _0x4474bb => String(_0x4474bb)[_0x39dce7(0x231)](0x2, '0');
|
|
1428
|
+
return _0x2460c3[_0x39dce7(0x210)]() + '-' + _0x5e8cce(_0x2460c3['getMonth']() + 0x1) + '-' + _0x5e8cce(_0x2460c3['getDate']()) + '\x20' + _0x5e8cce(_0x2460c3[_0x39dce7(_0x3a4287._0xa0b33)]()) + ':' + _0x5e8cce(_0x2460c3[_0x39dce7(_0x3a4287._0x6d4540)]()) + ':' + _0x5e8cce(_0x2460c3[_0x39dce7(0x243)]());
|
|
1415
1429
|
}
|
|
1416
|
-
function formatAttachmentSuffix(
|
|
1417
|
-
const
|
|
1418
|
-
|
|
1419
|
-
_0x357c2c: 0x1bb
|
|
1420
|
-
}, _0x382dbe = _0x4641dd;
|
|
1421
|
-
if (!_0x5d2152 || _0x5d2152[_0x382dbe(0x223)] === 0x0)
|
|
1430
|
+
function formatAttachmentSuffix(_0x2da837) {
|
|
1431
|
+
const _0x56650c = { _0x530985: 0x220 }, _0x59a512 = _0x10d6b5;
|
|
1432
|
+
if (!_0x2da837 || _0x2da837['length'] === 0x0)
|
|
1422
1433
|
return '';
|
|
1423
|
-
return '\x20[' +
|
|
1434
|
+
return '\x20[' + _0x2da837[_0x59a512(0x1ad)] + _0x59a512(0x21c) + (_0x2da837[_0x59a512(0x1ad)] > 0x1 ? 's' : '') + ':\x20' + _0x2da837[_0x59a512(0x2a1)](_0x5c3e31 => _0x5c3e31[_0x59a512(0x291)] + _0x59a512(0x248) + _0x5c3e31['id'] + ')')[_0x59a512(0x281)](',\x20') + _0x59a512(_0x56650c._0x530985);
|
|
1424
1435
|
}
|
|
1425
|
-
function formatCheckMessages(
|
|
1426
|
-
const
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
},
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
}, _0x52854a = _0x4641dd;
|
|
1438
|
-
if (_0x2b4416[_0x52854a(_0x5a7b03._0x305027)] === 0x0)
|
|
1439
|
-
return _0x52854a(_0x5a7b03._0x57f6e0);
|
|
1440
|
-
return _0x2b4416['map'](_0x49d6c9 => {
|
|
1441
|
-
const _0x4aa189 = _0x52854a, _0x3eb367 = _0x49d6c9[_0x4aa189(_0x3ff158._0x1a44d7)] === 'agent' ? _0x4aa189(0x116) : '', _0x37c7a8 = _0x49d6c9[_0x4aa189(_0x3ff158._0x1903d5)] && _0x49d6c9[_0x4aa189(_0x3ff158._0x39fc2f)] !== _0x4aa189(0x197) ? _0x4aa189(0x212) + _0x49d6c9[_0x4aa189(0x10c)] : '';
|
|
1442
|
-
return _0x4aa189(_0x3ff158._0xaceada) + _0x49d6c9[_0x4aa189(0x174)] + _0x4aa189(0x25a) + _0x49d6c9[_0x4aa189(_0x3ff158._0x566166)][_0x4aa189(0x229)](0x0, 0x8) + _0x4aa189(0xe9) + toLocalTime(_0x49d6c9['createdAt']) + _0x3eb367 + _0x37c7a8 + _0x4aa189(_0x3ff158._0x33d3af) + _0x49d6c9[_0x4aa189(0x138)] + ':\x20' + _0x49d6c9['content'] + formatAttachmentSuffix(_0x49d6c9[_0x4aa189(0x24a)]);
|
|
1443
|
-
})[_0x52854a(_0x5a7b03._0x533a33)]('\x0a');
|
|
1436
|
+
function formatCheckMessages(_0x2ae29f) {
|
|
1437
|
+
const _0x1822a7 = { _0x3a0c87: 0x2a1 }, _0x2954f = {
|
|
1438
|
+
_0x2cc62e: 0x170,
|
|
1439
|
+
_0x5f52bf: 0x285,
|
|
1440
|
+
_0x51a0bb: 0x14c
|
|
1441
|
+
}, _0x371212 = _0x10d6b5;
|
|
1442
|
+
if (_0x2ae29f[_0x371212(0x1ad)] === 0x0)
|
|
1443
|
+
return _0x371212(0x167);
|
|
1444
|
+
return _0x2ae29f[_0x371212(_0x1822a7._0x3a0c87)](_0x9b167c => {
|
|
1445
|
+
const _0x598242 = _0x371212, _0x282952 = _0x9b167c['senderType'] === _0x598242(0x24c) ? _0x598242(_0x2954f._0x2cc62e) : '', _0x3fb24d = _0x9b167c[_0x598242(0x125)] && _0x9b167c[_0x598242(0x125)] !== 'chat' ? _0x598242(0x292) + _0x9b167c['kind'] : '';
|
|
1446
|
+
return '[target=' + _0x9b167c['target'] + '\x20msg=' + _0x9b167c[_0x598242(0x1fb)]['slice'](0x0, 0x8) + _0x598242(_0x2954f._0x5f52bf) + toLocalTime(_0x9b167c['createdAt']) + _0x282952 + _0x3fb24d + _0x598242(0x129) + _0x9b167c['senderName'] + ':\x20' + _0x9b167c[_0x598242(_0x2954f._0x51a0bb)] + formatAttachmentSuffix(_0x9b167c['attachments']);
|
|
1447
|
+
})['join']('\x0a');
|
|
1444
1448
|
}
|
|
1445
|
-
function formatHistory(
|
|
1446
|
-
const
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
},
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
}, _0x36de2d = _0x4641dd;
|
|
1466
|
-
if (_0x3bcd39[_0x36de2d(0x1a6)][_0x36de2d(_0x5e4fd6._0x15ef19)] === 0x0)
|
|
1467
|
-
return _0x36de2d(0x22e) + _0x3bcd39[_0x36de2d(_0x5e4fd6._0xe4604)] + '\x20(0\x20messages)\x0a\x0aNo\x20messages\x20in\x20this\x20channel.';
|
|
1468
|
-
const _0x1a604e = _0x3bcd39[_0x36de2d(_0x5e4fd6._0x4105ab)][_0x36de2d(0x117)](_0x18e9f1 => {
|
|
1469
|
-
const _0x26961e = _0x36de2d, _0x157b77 = _0x18e9f1[_0x26961e(_0x1208f8._0x254b75)] === 'agent' ? _0x26961e(_0x1208f8._0x18db08) : '', _0x5b03cf = _0x18e9f1['kind'] && _0x18e9f1[_0x26961e(_0x1208f8._0x538bbb)] !== _0x26961e(0x197) ? '\x20kind=' + _0x18e9f1['kind'] : '';
|
|
1470
|
-
return _0x26961e(0x12d) + _0x18e9f1[_0x26961e(_0x1208f8._0x5da4a1)] + _0x26961e(0x25a) + _0x18e9f1[_0x26961e(0x102)] + _0x26961e(_0x1208f8._0x4985ed) + toLocalTime(_0x18e9f1[_0x26961e(0x168)]) + _0x157b77 + _0x5b03cf + _0x26961e(_0x1208f8._0x517c95) + _0x18e9f1[_0x26961e(0x138)] + ':\x20' + _0x18e9f1[_0x26961e(_0x1208f8._0x431343)] + formatAttachmentSuffix(_0x18e9f1['attachments']);
|
|
1471
|
-
})[_0x36de2d(_0x5e4fd6._0x1f3a03)]('\x0a'), _0xae3ea3 = _0x3bcd39[_0x36de2d(0x143)] && _0x3bcd39[_0x36de2d(_0x5e4fd6._0x8a9449)] ? _0x36de2d(0x1e7) + _0x3bcd39[_0x36de2d(_0x5e4fd6._0x4105ab)][_0x36de2d(0x223)] + _0x36de2d(_0x5e4fd6._0x30c57a) + _0x3bcd39[_0x36de2d(_0x5e4fd6._0x8a9449)] + _0x36de2d(_0x5e4fd6._0x4fda58) : '';
|
|
1472
|
-
return _0x36de2d(_0x5e4fd6._0x3f5494) + _0x3bcd39[_0x36de2d(_0x5e4fd6._0x2fb2fd)] + '\x20(' + _0x3bcd39['messages'][_0x36de2d(0x223)] + _0x36de2d(_0x5e4fd6._0x27f25c) + _0x1a604e + _0xae3ea3;
|
|
1449
|
+
function formatHistory(_0x3b6cf5) {
|
|
1450
|
+
const _0x14aefe = {
|
|
1451
|
+
_0x32f1f2: 0x17c,
|
|
1452
|
+
_0x5b72e0: 0x26c
|
|
1453
|
+
}, _0x5b5357 = {
|
|
1454
|
+
_0x3147f4: 0x19a,
|
|
1455
|
+
_0x29ea33: 0x170,
|
|
1456
|
+
_0x3d95d0: 0x125,
|
|
1457
|
+
_0x4007eb: 0x1f8,
|
|
1458
|
+
_0x1cc96b: 0x1e2,
|
|
1459
|
+
_0x2f4a2f: 0x12a,
|
|
1460
|
+
_0x5c4144: 0x195
|
|
1461
|
+
}, _0x305ed1 = _0x10d6b5;
|
|
1462
|
+
if (_0x3b6cf5['messages'][_0x305ed1(0x1ad)] === 0x0)
|
|
1463
|
+
return _0x305ed1(0x171) + _0x3b6cf5[_0x305ed1(0x26c)] + _0x305ed1(0x1a7);
|
|
1464
|
+
const _0x493ce2 = _0x3b6cf5[_0x305ed1(_0x14aefe._0x32f1f2)][_0x305ed1(0x2a1)](_0x12a9d1 => {
|
|
1465
|
+
const _0x4aaaa4 = _0x305ed1, _0x204c93 = _0x12a9d1[_0x4aaaa4(_0x5b5357._0x3147f4)] === 'agent' ? _0x4aaaa4(_0x5b5357._0x29ea33) : '', _0x3ffbbb = _0x12a9d1[_0x4aaaa4(_0x5b5357._0x3d95d0)] && _0x12a9d1[_0x4aaaa4(0x125)] !== _0x4aaaa4(_0x5b5357._0x4007eb) ? _0x4aaaa4(0x292) + _0x12a9d1['kind'] : '';
|
|
1466
|
+
return '[seq=' + _0x12a9d1[_0x4aaaa4(0x20c)] + _0x4aaaa4(_0x5b5357._0x1cc96b) + _0x12a9d1[_0x4aaaa4(0x1fb)] + '\x20time=' + toLocalTime(_0x12a9d1[_0x4aaaa4(_0x5b5357._0x2f4a2f)]) + _0x204c93 + _0x3ffbbb + _0x4aaaa4(0x129) + _0x12a9d1[_0x4aaaa4(_0x5b5357._0x5c4144)] + ':\x20' + _0x12a9d1['content'] + formatAttachmentSuffix(_0x12a9d1['attachments']);
|
|
1467
|
+
})['join']('\x0a'), _0x19b678 = _0x3b6cf5['hasMore'] && _0x3b6cf5[_0x305ed1(0x22d)] ? _0x305ed1(0x145) + _0x3b6cf5['messages'][_0x305ed1(0x1ad)] + _0x305ed1(0x181) + _0x3b6cf5[_0x305ed1(0x22d)] + _0x305ed1(0x1a9) : '';
|
|
1468
|
+
return _0x305ed1(0x171) + _0x3b6cf5[_0x305ed1(_0x14aefe._0x5b72e0)] + '\x20(' + _0x3b6cf5[_0x305ed1(_0x14aefe._0x32f1f2)][_0x305ed1(0x1ad)] + _0x305ed1(0x275) + _0x493ce2 + _0x19b678;
|
|
1473
1469
|
}
|
|
1474
|
-
function formatServerDirectory(
|
|
1475
|
-
const
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
_0x226e97: 0x1d1,
|
|
1484
|
-
_0x2c4cb1: 0x10b
|
|
1485
|
-
}, _0xc22308 = _0x4641dd, _0x2bc7fa = _0x500734[_0xc22308(0x17e)][_0xc22308(_0x395206._0x529003)] > 0x0 ? _0x500734[_0xc22308(_0x395206._0x1b47a4)][_0xc22308(_0x395206._0x5ceb83)](_0x20175c => _0x20175c[_0xc22308(0xcc)] ? _0xc22308(0x123) + _0x20175c[_0xc22308(0x16e)] + _0xc22308(0x186) + _0x20175c[_0xc22308(0xcc)] : _0xc22308(0x123) + _0x20175c[_0xc22308(0x16e)])[_0xc22308(_0x395206._0x5439b4)]('\x0a') : _0xc22308(0x1d7), _0x6ca2ab = _0x500734[_0xc22308(0x1f7)][_0xc22308(_0x395206._0x529003)] > 0x0 ? _0x500734[_0xc22308(0x1f7)][_0xc22308(_0x395206._0x84ae4e)](_0x2c4f27 => _0xc22308(0x20c) + _0x2c4f27['name'])[_0xc22308(0x1bb)]('\x0a') : _0xc22308(0x1d7), _0x5916f2 = _0x500734[_0xc22308(0x1e0)]['length'] > 0x0 ? _0x500734[_0xc22308(0x1e0)][_0xc22308(0x117)](_0xb9c309 => _0xc22308(0x20c) + _0xb9c309['name'])[_0xc22308(_0x395206._0xec4380)]('\x0a') : '(none)';
|
|
1470
|
+
function formatServerDirectory(_0x18ce47) {
|
|
1471
|
+
const _0x51297f = {
|
|
1472
|
+
_0x35d0c1: 0x218,
|
|
1473
|
+
_0x4bc7a8: 0x281,
|
|
1474
|
+
_0x1ffcd0: 0x273,
|
|
1475
|
+
_0x5e53c8: 0x1ad,
|
|
1476
|
+
_0x37f0d2: 0x27d,
|
|
1477
|
+
_0xe2063a: 0x1e9
|
|
1478
|
+
}, _0x633d3d = _0x10d6b5, _0x5822a1 = _0x18ce47[_0x633d3d(_0x51297f._0x35d0c1)][_0x633d3d(0x1ad)] > 0x0 ? _0x18ce47[_0x633d3d(_0x51297f._0x35d0c1)]['map'](_0x362394 => _0x362394[_0x633d3d(0x16e)] ? '-\x20#' + _0x362394[_0x633d3d(0x293)] + '\x20—\x20' + _0x362394[_0x633d3d(0x16e)] : _0x633d3d(0x190) + _0x362394[_0x633d3d(0x293)])[_0x633d3d(0x281)]('\x0a') : _0x633d3d(0x27d), _0x14dcc3 = _0x18ce47['agents']['length'] > 0x0 ? _0x18ce47[_0x633d3d(0x1e5)]['map'](_0x311cac => _0x633d3d(0x1cd) + _0x311cac[_0x633d3d(0x293)])[_0x633d3d(_0x51297f._0x4bc7a8)]('\x0a') : _0x633d3d(0x27d), _0x5562bb = _0x18ce47[_0x633d3d(_0x51297f._0x1ffcd0)][_0x633d3d(_0x51297f._0x5e53c8)] > 0x0 ? _0x18ce47[_0x633d3d(_0x51297f._0x1ffcd0)][_0x633d3d(0x2a1)](_0x324393 => _0x633d3d(0x1cd) + _0x324393[_0x633d3d(0x293)])['join']('\x0a') : _0x633d3d(_0x51297f._0x37f0d2);
|
|
1486
1479
|
return [
|
|
1487
|
-
|
|
1480
|
+
'##\x20Server:\x20' + _0x18ce47[_0x633d3d(0x132)],
|
|
1488
1481
|
'',
|
|
1489
|
-
|
|
1490
|
-
|
|
1482
|
+
_0x633d3d(0x12e),
|
|
1483
|
+
_0x5822a1,
|
|
1491
1484
|
'',
|
|
1492
|
-
|
|
1493
|
-
|
|
1485
|
+
_0x633d3d(_0x51297f._0xe2063a),
|
|
1486
|
+
_0x14dcc3,
|
|
1494
1487
|
'',
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
][
|
|
1498
|
-
}
|
|
1499
|
-
function formatUploadResult(_0x399f04) {
|
|
1500
|
-
const _0x2a05af = {
|
|
1501
|
-
_0x2de5f1: 0x11d,
|
|
1502
|
-
_0x22ef8c: 0x1cf,
|
|
1503
|
-
_0x1f6f07: 0x134
|
|
1504
|
-
}, _0x2de8d6 = _0x4641dd;
|
|
1505
|
-
return _0x2de8d6(0x128) + _0x399f04[_0x2de8d6(_0x2a05af._0x2de5f1)] + '\x20(' + (_0x399f04[_0x2de8d6(0x110)] / 0x400)['toFixed'](0x1) + _0x2de8d6(_0x2a05af._0x22ef8c) + _0x399f04[_0x2de8d6(_0x2a05af._0x1f6f07)] + '\x0a\x0aUse\x20this\x20ID\x20in\x20send_message\x27s\x20attachment_ids\x20parameter\x20to\x20include\x20it\x20in\x20a\x20message.';
|
|
1488
|
+
_0x633d3d(0x1ce),
|
|
1489
|
+
_0x5562bb
|
|
1490
|
+
][_0x633d3d(0x281)]('\x0a');
|
|
1506
1491
|
}
|
|
1507
|
-
function
|
|
1508
|
-
const
|
|
1509
|
-
|
|
1492
|
+
function formatUploadResult(_0x160e45) {
|
|
1493
|
+
const _0x3ad140 = {
|
|
1494
|
+
_0x58ad2f: 0x291,
|
|
1495
|
+
_0x5a08b8: 0x1b7,
|
|
1496
|
+
_0x2e977f: 0x148
|
|
1497
|
+
}, _0x2fa946 = _0x10d6b5;
|
|
1498
|
+
return 'File\x20uploaded:\x20' + _0x160e45[_0x2fa946(_0x3ad140._0x58ad2f)] + '\x20(' + (_0x160e45['sizeBytes'] / 0x400)[_0x2fa946(_0x3ad140._0x5a08b8)](0x1) + _0x2fa946(0x14f) + _0x160e45[_0x2fa946(0x183)] + _0x2fa946(_0x3ad140._0x2e977f);
|
|
1510
1499
|
}
|
|
1511
|
-
function
|
|
1512
|
-
const
|
|
1513
|
-
|
|
1514
|
-
_0x4ca502: 0x259,
|
|
1515
|
-
_0x3566d2: 0x259,
|
|
1516
|
-
_0xa9a1f9: 0x23a,
|
|
1517
|
-
_0x4e1bcc: 0x102,
|
|
1518
|
-
_0x149339: 0x102,
|
|
1519
|
-
_0x935ad8: 0x23a,
|
|
1520
|
-
_0x4785fe: 0x20d,
|
|
1521
|
-
_0x167170: 0x22a,
|
|
1522
|
-
_0x25e816: 0x169
|
|
1523
|
-
}, _0x46115d = _0x4641dd;
|
|
1524
|
-
if (_0x2d22df['length'] === 0x0)
|
|
1525
|
-
return _0x46115d(_0x539920._0xc8cb59);
|
|
1526
|
-
return _0x2d22df[_0x46115d(0x117)](_0x44703c => {
|
|
1527
|
-
const _0x3a899a = _0x46115d, _0x5b5bda = _0x44703c['taskNumber'] == null ? _0x3a899a(_0x34064a._0x3174f2) : _0x44703c[_0x3a899a(_0x34064a._0x4ca502)] != null ? '#' + _0x44703c[_0x3a899a(0x23a)] + '.' + _0x44703c[_0x3a899a(_0x34064a._0x3566d2)] : '#' + _0x44703c[_0x3a899a(_0x34064a._0xa9a1f9)], _0x302512 = _0x44703c[_0x3a899a(_0x34064a._0x4e1bcc)] ? _0x3a899a(0x1c9) + _0x44703c[_0x3a899a(_0x34064a._0x149339)] : '', _0x479076 = _0x20fb1b && _0x44703c[_0x3a899a(_0x34064a._0xa9a1f9)] != null && !_0x44703c['subtaskNumber'] && _0x20fb1b[_0x3a899a(0xf1)](_0x44703c[_0x3a899a(_0x34064a._0x935ad8)]) ? _0x3a899a(0xdf) : '', _0x5db2d9 = _0x44703c[_0x3a899a(_0x34064a._0x4785fe)] != null && _0x44703c[_0x3a899a(0x20d)] > 0x0 ? '\x20(' + (_0x44703c[_0x3a899a(_0x34064a._0x167170)] ?? 0x0) + '/' + _0x44703c['childrenTotal'] + '\x20done)' : '';
|
|
1528
|
-
return _0x5b5bda + '\x20[' + _0x44703c[_0x3a899a(_0x34064a._0x25e816)] + ']\x20' + _0x44703c['title'] + _0x5db2d9 + _0x302512 + _0x479076;
|
|
1529
|
-
})['join']('\x0a');
|
|
1500
|
+
function formatViewFileResult(_0x4ebea4, _0x23d8d9) {
|
|
1501
|
+
const _0x2d189f = _0x10d6b5;
|
|
1502
|
+
return _0x23d8d9 ? _0x2d189f(0x1be) + _0x4ebea4 : _0x2d189f(0x18a) + _0x4ebea4;
|
|
1530
1503
|
}
|
|
1531
|
-
function
|
|
1532
|
-
const
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
},
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1504
|
+
function formatTaskList(_0x34b23a, _0x388037) {
|
|
1505
|
+
const _0x4768d7 = {
|
|
1506
|
+
_0x20a6d8: 0x2a1,
|
|
1507
|
+
_0x2b6db1: 0x281
|
|
1508
|
+
}, _0x1e4307 = {
|
|
1509
|
+
_0x2d6e19: 0x1ea,
|
|
1510
|
+
_0x33ba7d: 0x128,
|
|
1511
|
+
_0x1438f1: 0x1fb,
|
|
1512
|
+
_0x2cabe7: 0x1b6,
|
|
1513
|
+
_0x51a6ef: 0x1ea,
|
|
1514
|
+
_0x1f5ec3: 0x2af,
|
|
1515
|
+
_0x4b41c4: 0x15f,
|
|
1516
|
+
_0xf8167c: 0x15f,
|
|
1517
|
+
_0x3f2cad: 0x1b1,
|
|
1518
|
+
_0x1eb23e: 0x177
|
|
1519
|
+
}, _0x28f071 = _0x10d6b5;
|
|
1520
|
+
if (_0x34b23a['length'] === 0x0)
|
|
1521
|
+
return 'No\x20tasks\x20found.';
|
|
1522
|
+
return _0x34b23a[_0x28f071(_0x4768d7._0x20a6d8)](_0x24fa97 => {
|
|
1523
|
+
const _0x2a1976 = _0x28f071, _0x5129ad = _0x24fa97[_0x2a1976(0x128)] == null ? '(legacy)' : _0x24fa97[_0x2a1976(_0x1e4307._0x2d6e19)] != null ? '#' + _0x24fa97[_0x2a1976(_0x1e4307._0x33ba7d)] + '.' + _0x24fa97[_0x2a1976(0x1ea)] : '#' + _0x24fa97[_0x2a1976(_0x1e4307._0x33ba7d)], _0x1ea21e = _0x24fa97[_0x2a1976(_0x1e4307._0x1438f1)] ? _0x2a1976(_0x1e4307._0x2cabe7) + _0x24fa97[_0x2a1976(0x1fb)] : '', _0x4775c5 = _0x388037 && _0x24fa97[_0x2a1976(_0x1e4307._0x33ba7d)] != null && !_0x24fa97[_0x2a1976(_0x1e4307._0x51a6ef)] && _0x388037[_0x2a1976(_0x1e4307._0x1f5ec3)](_0x24fa97[_0x2a1976(0x128)]) ? _0x2a1976(0x286) : '', _0x1f7b8a = _0x24fa97[_0x2a1976(_0x1e4307._0x4b41c4)] != null && _0x24fa97[_0x2a1976(_0x1e4307._0xf8167c)] > 0x0 ? '\x20(' + (_0x24fa97[_0x2a1976(0x1ba)] ?? 0x0) + '/' + _0x24fa97[_0x2a1976(0x15f)] + '\x20done)' : '';
|
|
1524
|
+
return _0x5129ad + '\x20[' + _0x24fa97[_0x2a1976(_0x1e4307._0x3f2cad)] + ']\x20' + _0x24fa97[_0x2a1976(_0x1e4307._0x1eb23e)] + _0x1f7b8a + _0x1ea21e + _0x4775c5;
|
|
1525
|
+
})[_0x28f071(_0x4768d7._0x2b6db1)]('\x0a');
|
|
1547
1526
|
}
|
|
1548
|
-
function
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
};
|
|
1564
|
-
_0x1a8a['tkTqkj'] = _0x88d679, _0x1a8a['VVGHyC'] = {}, _0x1a8a['TlKfru'] = !![];
|
|
1565
|
-
}
|
|
1566
|
-
const _0x3c60bb = _0x1cf724[0x0], _0x61b1a5 = _0x399dce + _0x3c60bb, _0x2364b1 = _0x1a8a['VVGHyC'][_0x61b1a5];
|
|
1567
|
-
return !_0x2364b1 ? (_0x1a8a71 = _0x1a8a['tkTqkj'](_0x1a8a71), _0x1a8a['VVGHyC'][_0x61b1a5] = _0x1a8a71) : _0x1a8a71 = _0x2364b1, _0x1a8a71;
|
|
1527
|
+
function formatCreatedTasks(_0x303db7) {
|
|
1528
|
+
const _0x374e26 = { _0x357842: 0x212 }, _0x147172 = {
|
|
1529
|
+
_0x10a85e: 0x128,
|
|
1530
|
+
_0x536c66: 0x1a8,
|
|
1531
|
+
_0x616b97: 0x128,
|
|
1532
|
+
_0x24cf38: 0x1b6,
|
|
1533
|
+
_0x407135: 0x1fb,
|
|
1534
|
+
_0x4d9f30: 0x177
|
|
1535
|
+
}, _0x44c187 = _0x10d6b5;
|
|
1536
|
+
if (_0x303db7[_0x44c187(0x1ad)] === 0x0)
|
|
1537
|
+
return _0x44c187(_0x374e26._0x357842);
|
|
1538
|
+
return _0x303db7['map'](_0x13c85d => {
|
|
1539
|
+
const _0x296f9a = _0x44c187, _0x2e9334 = _0x13c85d[_0x296f9a(_0x147172._0x10a85e)] == null ? _0x296f9a(_0x147172._0x536c66) : _0x13c85d[_0x296f9a(0x1ea)] != null ? '#' + _0x13c85d[_0x296f9a(0x128)] + '.' + _0x13c85d[_0x296f9a(0x1ea)] : '#' + _0x13c85d[_0x296f9a(_0x147172._0x616b97)], _0x539e8e = _0x13c85d[_0x296f9a(0x1fb)] ? _0x296f9a(_0x147172._0x24cf38) + _0x13c85d[_0x296f9a(_0x147172._0x407135)] : '';
|
|
1540
|
+
return _0x2e9334 + '\x20' + _0x13c85d[_0x296f9a(_0x147172._0x4d9f30)] + _0x539e8e;
|
|
1541
|
+
})['join']('\x0a');
|
|
1568
1542
|
}
|
|
1569
|
-
function formatClaimTaskLabel(
|
|
1570
|
-
const
|
|
1571
|
-
if (
|
|
1572
|
-
return
|
|
1573
|
-
return
|
|
1543
|
+
function formatClaimTaskLabel(_0xa31ff5, _0x88c77c) {
|
|
1544
|
+
const _0xc25790 = _0x10d6b5;
|
|
1545
|
+
if (_0xa31ff5 == null)
|
|
1546
|
+
return _0xc25790(0x1a8);
|
|
1547
|
+
return _0x88c77c != null ? '#' + _0xa31ff5 + '.' + _0x88c77c : '#' + _0xa31ff5;
|
|
1574
1548
|
}
|
|
1575
|
-
function formatClaimTaskResults(
|
|
1576
|
-
const
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
'
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
_0x21dbe8[_0x478cb4(0x1f3)] ? _0x478cb4(0x14e) + _0x21dbe8[_0x478cb4(_0x5d7e68._0x42527c)] : null
|
|
1607
|
-
][_0x478cb4(_0x5d7e68._0x2c04cc)](Boolean)['join']('\x20');
|
|
1608
|
-
return _0x2aeaaf + _0x478cb4(0x16a) + _0x2a2811 + '\x20' + _0x4d296c + '\x0a⚠️\x20WORKER\x20ACTIVATED\x20—\x20Stop\x20ALL\x20work\x20on\x20this\x20task\x20immediately.\x20Worker\x20handles\x20execution\x20end-to-end.';
|
|
1549
|
+
function formatClaimTaskResults(_0x2e5dfc) {
|
|
1550
|
+
const _0x2b2ac9 = {
|
|
1551
|
+
_0x1401ac: 0x15d,
|
|
1552
|
+
_0x19c2ea: 0x1ee,
|
|
1553
|
+
_0x28561e: 0x126,
|
|
1554
|
+
_0x40bf3e: 0x18d,
|
|
1555
|
+
_0x307f0e: 0x257,
|
|
1556
|
+
_0x342e89: 0x16b,
|
|
1557
|
+
_0x2b7727: 0x19c,
|
|
1558
|
+
_0x524ef0: 0x19c,
|
|
1559
|
+
_0xcf3d26: 0x18d,
|
|
1560
|
+
_0x2e531e: 0x128,
|
|
1561
|
+
_0x2c4d35: 0x176,
|
|
1562
|
+
_0x120ca6: 0x1ea,
|
|
1563
|
+
_0x3408ac: 0x1de
|
|
1564
|
+
}, _0x28e6c3 = _0x10d6b5;
|
|
1565
|
+
if (_0x2e5dfc[_0x28e6c3(0x1ad)] === 0x0)
|
|
1566
|
+
return _0x28e6c3(0x1f6);
|
|
1567
|
+
return _0x2e5dfc['map'](_0x37e0d8 => {
|
|
1568
|
+
const _0x3918b7 = _0x28e6c3;
|
|
1569
|
+
if (_0x37e0d8[_0x3918b7(0x15e)]) {
|
|
1570
|
+
const _0x5156f4 = formatClaimTaskLabel(_0x37e0d8['taskNumber'], _0x37e0d8[_0x3918b7(0x1ea)]), _0x4eb363 = _0x37e0d8[_0x3918b7(0x1fb)] ? _0x3918b7(0x1b6) + _0x37e0d8['messageId'] : '';
|
|
1571
|
+
if (_0x37e0d8[_0x3918b7(0x20d)]) {
|
|
1572
|
+
const _0x5e6da5 = [
|
|
1573
|
+
_0x3918b7(0x194),
|
|
1574
|
+
_0x37e0d8[_0x3918b7(0x188)] ? _0x3918b7(_0x2b2ac9._0x1401ac) : null,
|
|
1575
|
+
_0x37e0d8['executionMode'] ? _0x3918b7(_0x2b2ac9._0x19c2ea) + _0x37e0d8['executionMode'] : null,
|
|
1576
|
+
_0x37e0d8['threadTarget'] ? _0x3918b7(0x24e) + _0x37e0d8['threadTarget'] : null,
|
|
1577
|
+
_0x37e0d8[_0x3918b7(_0x2b2ac9._0x28561e)] ? _0x3918b7(0x1d6) + _0x37e0d8[_0x3918b7(_0x2b2ac9._0x28561e)] : null
|
|
1578
|
+
]['filter'](Boolean)[_0x3918b7(0x281)]('\x20');
|
|
1579
|
+
return _0x5156f4 + _0x3918b7(_0x2b2ac9._0x40bf3e) + _0x4eb363 + '\x20' + _0x5e6da5 + _0x3918b7(_0x2b2ac9._0x307f0e);
|
|
1609
1580
|
}
|
|
1610
|
-
if (
|
|
1611
|
-
return
|
|
1612
|
-
const
|
|
1613
|
-
return
|
|
1581
|
+
if (_0x37e0d8[_0x3918b7(0x20a)] === 'main')
|
|
1582
|
+
return _0x5156f4 + _0x3918b7(0x18d) + _0x4eb363 + _0x3918b7(_0x2b2ac9._0x342e89);
|
|
1583
|
+
const _0x26ae7a = _0x37e0d8[_0x3918b7(_0x2b2ac9._0x2b7727)] ? _0x3918b7(0x1c9) + _0x37e0d8[_0x3918b7(_0x2b2ac9._0x524ef0)] : '';
|
|
1584
|
+
return _0x5156f4 + _0x3918b7(_0x2b2ac9._0xcf3d26) + _0x4eb363 + _0x26ae7a;
|
|
1614
1585
|
}
|
|
1615
|
-
const
|
|
1616
|
-
return
|
|
1617
|
-
})[
|
|
1586
|
+
const _0x540cc4 = _0x37e0d8[_0x3918b7(_0x2b2ac9._0x2e531e)] == null ? _0x37e0d8[_0x3918b7(0x1fb)] ?? _0x3918b7(_0x2b2ac9._0x2c4d35) : formatClaimTaskLabel(_0x37e0d8['taskNumber'], _0x37e0d8[_0x3918b7(_0x2b2ac9._0x120ca6)]);
|
|
1587
|
+
return _0x540cc4 + _0x3918b7(0x221) + (_0x37e0d8[_0x3918b7(_0x2b2ac9._0x3408ac)] ?? _0x3918b7(0x222));
|
|
1588
|
+
})['join']('\x0a');
|
|
1618
1589
|
}
|
|
1619
|
-
function formatUnclaimTaskResult(
|
|
1620
|
-
const
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1590
|
+
function formatUnclaimTaskResult(_0x363c42) {
|
|
1591
|
+
const _0x4d4ea4 = {
|
|
1592
|
+
_0x18e1c3: 0x128,
|
|
1593
|
+
_0x4d41a6: 0x18e,
|
|
1594
|
+
_0x2d1f39: 0x1b1
|
|
1595
|
+
}, _0x33a667 = _0x10d6b5, _0x4dad7b = _0x363c42['taskNumber'] == null ? '(legacy)' : _0x363c42['subtaskNumber'] != null ? '#' + _0x363c42[_0x33a667(0x128)] + '.' + _0x363c42['subtaskNumber'] : '#' + _0x363c42[_0x33a667(_0x4d4ea4._0x18e1c3)];
|
|
1596
|
+
return _0x4dad7b + _0x33a667(_0x4d4ea4._0x4d41a6) + _0x363c42[_0x33a667(_0x4d4ea4._0x2d1f39)];
|
|
1625
1597
|
}
|
|
1626
|
-
function formatUpdateTaskStatusResult(
|
|
1627
|
-
const
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1598
|
+
function formatUpdateTaskStatusResult(_0x13c48c) {
|
|
1599
|
+
const _0x3d577e = {
|
|
1600
|
+
_0x5d44e8: 0x1a8,
|
|
1601
|
+
_0x5e4d96: 0x1ea,
|
|
1602
|
+
_0x2de1f2: 0x1ea,
|
|
1603
|
+
_0x178901: 0x128,
|
|
1604
|
+
_0x14d4f0: 0x18e,
|
|
1605
|
+
_0x34928f: 0x1b1
|
|
1606
|
+
}, _0x3d906a = _0x10d6b5, _0x58dd8a = _0x13c48c[_0x3d906a(0x128)] == null ? _0x3d906a(_0x3d577e._0x5d44e8) : _0x13c48c[_0x3d906a(_0x3d577e._0x5e4d96)] != null ? '#' + _0x13c48c['taskNumber'] + '.' + _0x13c48c[_0x3d906a(_0x3d577e._0x2de1f2)] : '#' + _0x13c48c[_0x3d906a(_0x3d577e._0x178901)], _0x565ad2 = _0x58dd8a + _0x3d906a(_0x3d577e._0x14d4f0) + _0x13c48c[_0x3d906a(_0x3d577e._0x34928f)];
|
|
1607
|
+
if (_0x13c48c[_0x3d906a(0x1b1)] !== _0x3d906a(0x1ac))
|
|
1608
|
+
return _0x565ad2;
|
|
1609
|
+
return _0x565ad2 + _0x3d906a(0x1fa);
|
|
1635
1610
|
}
|
|
1636
1611
|
function getChatBridgeToolDefinitions() {
|
|
1637
|
-
const
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
}, _0x4a1c4d = _0x4641dd;
|
|
1612
|
+
const _0x4f6ee7 = {
|
|
1613
|
+
_0x5677ce: 0x297,
|
|
1614
|
+
_0x237052: 0x228,
|
|
1615
|
+
_0x210ad3: 0x26f,
|
|
1616
|
+
_0x157798: 0x244
|
|
1617
|
+
}, _0x2a49c9 = _0x10d6b5;
|
|
1644
1618
|
return [
|
|
1645
|
-
{ 'name':
|
|
1646
|
-
{ 'name':
|
|
1619
|
+
{ 'name': _0x2a49c9(0x1a1) },
|
|
1620
|
+
{ 'name': 'check_messages' },
|
|
1647
1621
|
{ 'name': 'read_history' },
|
|
1648
|
-
{ 'name':
|
|
1649
|
-
{ 'name':
|
|
1622
|
+
{ 'name': _0x2a49c9(_0x4f6ee7._0x5677ce) },
|
|
1623
|
+
{ 'name': _0x2a49c9(0x1eb) },
|
|
1650
1624
|
{ 'name': 'view_file' },
|
|
1651
1625
|
{ 'name': 'list_tasks' },
|
|
1652
|
-
{ 'name':
|
|
1653
|
-
{ 'name':
|
|
1654
|
-
{ 'name':
|
|
1655
|
-
{ 'name':
|
|
1656
|
-
{ 'name':
|
|
1657
|
-
{ 'name':
|
|
1658
|
-
{ 'name':
|
|
1659
|
-
{ 'name':
|
|
1626
|
+
{ 'name': _0x2a49c9(0x299) },
|
|
1627
|
+
{ 'name': 'claim_tasks' },
|
|
1628
|
+
{ 'name': _0x2a49c9(0x287) },
|
|
1629
|
+
{ 'name': _0x2a49c9(_0x4f6ee7._0x237052) },
|
|
1630
|
+
{ 'name': 'get_worker_status' },
|
|
1631
|
+
{ 'name': _0x2a49c9(_0x4f6ee7._0x210ad3) },
|
|
1632
|
+
{ 'name': _0x2a49c9(0x1c7) },
|
|
1633
|
+
{ 'name': _0x2a49c9(_0x4f6ee7._0x157798) }
|
|
1660
1634
|
];
|
|
1661
1635
|
}
|
|
1662
|
-
function createChatBridgeHandlers(
|
|
1663
|
-
const
|
|
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
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1636
|
+
function createChatBridgeHandlers(_0x46105a) {
|
|
1637
|
+
const _0x405a24 = {
|
|
1638
|
+
_0x2da6bc: 0x264,
|
|
1639
|
+
_0xe9bdf3: 0x1d9,
|
|
1640
|
+
_0x25362e: 0x251
|
|
1641
|
+
}, _0x21e1f8 = {
|
|
1642
|
+
_0x2ab432: 0x264,
|
|
1643
|
+
_0x19c6f0: 0x191,
|
|
1644
|
+
_0x1c00ee: 0x2a9,
|
|
1645
|
+
_0x40366a: 0x295,
|
|
1646
|
+
_0x342fba: 0x2a2
|
|
1647
|
+
}, _0x518f9d = {
|
|
1648
|
+
_0x3d3fa7: 0x232,
|
|
1649
|
+
_0x1f769f: 0x260,
|
|
1650
|
+
_0x2c7060: 0x191,
|
|
1651
|
+
_0x48d82c: 0x1dc
|
|
1652
|
+
}, _0x3ae7ab = {
|
|
1653
|
+
_0x1f0f79: 0x295,
|
|
1654
|
+
_0x316830: 0x2a2,
|
|
1655
|
+
_0xcfc593: 0x2a2,
|
|
1656
|
+
_0x4f1426: 0x1b1
|
|
1657
|
+
}, _0x526139 = {
|
|
1658
|
+
_0x5d5b76: 0x197,
|
|
1659
|
+
_0xb27457: 0x12c,
|
|
1660
|
+
_0x2ee9e2: 0x1c0,
|
|
1661
|
+
_0x96216d: 0x1b3,
|
|
1662
|
+
_0x5bb3f6: 0x23b
|
|
1663
|
+
}, _0x40b003 = {
|
|
1664
|
+
_0x263083: 0x201,
|
|
1665
|
+
_0x4ca4b5: 0x12c
|
|
1666
|
+
}, _0x23fecd = { _0x28a5fe: 0x26c }, _0xadada5 = {
|
|
1667
|
+
_0x561db3: 0x17b,
|
|
1668
|
+
_0x2a8085: 0x26c,
|
|
1669
|
+
_0x23262e: 0x160,
|
|
1670
|
+
_0xd97bc0: 0x249
|
|
1671
|
+
}, _0x1843ac = {
|
|
1672
|
+
_0x492cdc: 0x17b,
|
|
1673
|
+
_0xb54bc6: 0x1ad,
|
|
1674
|
+
_0x4c926b: 0x154,
|
|
1675
|
+
_0x18ad0a: 0x237,
|
|
1676
|
+
_0x415b64: 0x1b9,
|
|
1677
|
+
_0x45afe9: 0x12c,
|
|
1678
|
+
_0x595cc7: 0x1a4,
|
|
1679
|
+
_0x4a71f0: 0x2a1
|
|
1680
|
+
}, _0x5cbedc = {
|
|
1681
|
+
_0x2e6a32: 0x12c,
|
|
1682
|
+
_0x2581ca: 0x133
|
|
1683
|
+
}, _0x4b0f10 = {
|
|
1684
|
+
_0x2cb6eb: 0x213,
|
|
1685
|
+
_0x5460be: 0x202,
|
|
1686
|
+
_0x313e05: 0x241,
|
|
1687
|
+
_0x5bc186: 0x224,
|
|
1688
|
+
_0xff10bf: 0x24a,
|
|
1689
|
+
_0x5a907e: 0x24a,
|
|
1690
|
+
_0x5e28b2: 0x1b4,
|
|
1691
|
+
_0x260c84: 0x128
|
|
1692
|
+
}, _0x412f02 = {
|
|
1693
|
+
_0x2e60f8: 0x12c,
|
|
1694
|
+
_0x4c5254: 0x25f
|
|
1695
|
+
}, _0x5ede38 = {
|
|
1696
|
+
_0x56b136: 0x202,
|
|
1697
|
+
_0x3ffc9c: 0x1c8,
|
|
1698
|
+
_0x4018e1: 0x128,
|
|
1699
|
+
_0x2d67ee: 0x1a8,
|
|
1700
|
+
_0xe04375: 0x1e4,
|
|
1701
|
+
_0x4f00fc: 0x266,
|
|
1702
|
+
_0x16dbf3: 0x230,
|
|
1703
|
+
_0x75fef3: 0x2af,
|
|
1704
|
+
_0x3c5294: 0x252,
|
|
1705
|
+
_0x3831b6: 0x1c8,
|
|
1706
|
+
_0x2bd65f: 0x163,
|
|
1707
|
+
_0x317917: 0x1f5,
|
|
1708
|
+
_0x1482cd: 0x1d9,
|
|
1709
|
+
_0x5d0f0f: 0x191,
|
|
1710
|
+
_0x42aab3: 0x209,
|
|
1711
|
+
_0x22157a: 0x13e,
|
|
1712
|
+
_0x5e1978: 0x2a7,
|
|
1713
|
+
_0x41dec9: 0x23c,
|
|
1714
|
+
_0x187cb0: 0x1f2,
|
|
1715
|
+
_0x3b0789: 0x1f2,
|
|
1716
|
+
_0xf55ea9: 0x281,
|
|
1717
|
+
_0x22c85c: 0x12c,
|
|
1718
|
+
_0x296535: 0x15c,
|
|
1719
|
+
_0x2c9f5a: 0x150,
|
|
1720
|
+
_0x530a4e: 0x284,
|
|
1721
|
+
_0x34af8f: 0x1fb
|
|
1722
|
+
}, _0x57bcce = {
|
|
1723
|
+
_0x47d52a: 0x161,
|
|
1724
|
+
_0x2bab6c: 0x202,
|
|
1725
|
+
_0x5d77b8: 0x241,
|
|
1726
|
+
_0x5e0f5a: 0x169,
|
|
1727
|
+
_0x261e22: 0x1b1,
|
|
1728
|
+
_0x2e2833: 0x25a
|
|
1729
|
+
}, _0x1de4a5 = {
|
|
1730
|
+
_0x4a27b5: 0x213,
|
|
1731
|
+
_0x2f2ab2: 0x213,
|
|
1732
|
+
_0x1c2e61: 0x241,
|
|
1733
|
+
_0x521cd5: 0x169,
|
|
1734
|
+
_0x17679e: 0x1b1
|
|
1735
|
+
}, _0x12429a = {
|
|
1736
|
+
_0x494ec8: 0x213,
|
|
1737
|
+
_0x2b0ab1: 0x200,
|
|
1738
|
+
_0x13ea2a: 0x26c,
|
|
1739
|
+
_0x5ea53d: 0x125,
|
|
1740
|
+
_0x1e0187: 0x1a8,
|
|
1741
|
+
_0x2d4d90: 0x128,
|
|
1742
|
+
_0x42a894: 0x223,
|
|
1743
|
+
_0x40c11d: 0x185,
|
|
1744
|
+
_0x50ffeb: 0x12c,
|
|
1745
|
+
_0x13b49d: 0x26b,
|
|
1746
|
+
_0x14a6ef: 0x1b4,
|
|
1747
|
+
_0x1f36a1: 0x128,
|
|
1748
|
+
_0x3a1abb: 0x2b1,
|
|
1749
|
+
_0x446c7e: 0x1e2,
|
|
1750
|
+
_0xaef985: 0x274,
|
|
1751
|
+
_0x341eb5: 0x14c,
|
|
1752
|
+
_0x1f0ac9: 0x1f5,
|
|
1753
|
+
_0x527e93: 0x281,
|
|
1754
|
+
_0x3fa03d: 0x191,
|
|
1755
|
+
_0x379018: 0x246,
|
|
1756
|
+
_0x4465a2: 0x1dc,
|
|
1757
|
+
_0x58ba78: 0x1f2,
|
|
1758
|
+
_0x5ab86f: 0x2a0
|
|
1759
|
+
}, _0x500fe0 = {
|
|
1760
|
+
_0x5fd85a: 0x17b,
|
|
1761
|
+
_0x1ec105: 0x179,
|
|
1762
|
+
_0x207eda: 0x1c1,
|
|
1763
|
+
_0x93e6dd: 0x226
|
|
1764
|
+
};
|
|
1765
|
+
function _0x5deb9d(_0x2fbdba, _0x3638af) {
|
|
1766
|
+
const _0x3e3607 = _0x35b1;
|
|
1767
|
+
if (!_0x46105a[_0x3e3607(_0x500fe0._0x5fd85a)])
|
|
1790
1768
|
return;
|
|
1791
|
-
if (!
|
|
1792
|
-
throw new Error(
|
|
1793
|
-
if (
|
|
1794
|
-
throw new Error(
|
|
1769
|
+
if (!_0x46105a['workerThreadTarget'])
|
|
1770
|
+
throw new Error(_0x2fbdba + _0x3e3607(0x1d0));
|
|
1771
|
+
if (_0x3638af !== _0x46105a[_0x3e3607(_0x500fe0._0x1ec105)])
|
|
1772
|
+
throw new Error(_0x2fbdba + _0x3e3607(_0x500fe0._0x207eda) + _0x46105a[_0x3e3607(0x179)] + _0x3e3607(_0x500fe0._0x93e6dd) + _0x3638af);
|
|
1795
1773
|
}
|
|
1796
|
-
async function
|
|
1797
|
-
const
|
|
1798
|
-
if (!
|
|
1774
|
+
async function _0x6f0d9c(_0x2d7905) {
|
|
1775
|
+
const _0x4e444c = _0x35b1;
|
|
1776
|
+
if (!_0x46105a[_0x4e444c(_0x12429a._0x494ec8)] || !_0x46105a[_0x4e444c(0x202)] || _0x46105a['workerMode'] || _0x46105a[_0x4e444c(_0x12429a._0x2b0ab1)] !== !![])
|
|
1799
1777
|
return null;
|
|
1800
|
-
const
|
|
1801
|
-
if (
|
|
1778
|
+
const _0x2af0b3 = parseTarget(_0x2d7905[_0x4e444c(_0x12429a._0x13ea2a)]);
|
|
1779
|
+
if (_0x2af0b3[_0x4e444c(_0x12429a._0x5ea53d)] !== _0x4e444c(_0x12429a._0x13ea2a))
|
|
1802
1780
|
return null;
|
|
1803
|
-
if (
|
|
1804
|
-
const
|
|
1781
|
+
if (_0x2d7905[_0x4e444c(0x20a)] === _0x4e444c(0x29b)) {
|
|
1782
|
+
const _0x19e172 = _0x2d7905['taskNumber'] == null ? _0x4e444c(_0x12429a._0x1e0187) : '#' + _0x2d7905[_0x4e444c(_0x12429a._0x2d4d90)];
|
|
1805
1783
|
return {
|
|
1806
|
-
'executionMode':
|
|
1784
|
+
'executionMode': _0x4e444c(0x29b),
|
|
1807
1785
|
'stopMain': ![],
|
|
1808
1786
|
'workerHandoff': ![],
|
|
1809
|
-
'workerHandoffError':
|
|
1787
|
+
'workerHandoffError': _0x4e444c(_0x12429a._0x42a894) + _0x19e172 + _0x4e444c(0x1a3)
|
|
1810
1788
|
};
|
|
1811
1789
|
}
|
|
1812
|
-
const
|
|
1813
|
-
let
|
|
1790
|
+
const _0x2ace50 = _0x2d7905[_0x4e444c(0x1e4)] != null ? _0x2af0b3[_0x4e444c(_0x12429a._0x40c11d)] + ':t' + _0x2d7905[_0x4e444c(0x1e4)] : _0x2af0b3[_0x4e444c(0x185)] + ':' + _0x2d7905[_0x4e444c(0x1fb)];
|
|
1791
|
+
let _0x2eaa1d;
|
|
1814
1792
|
try {
|
|
1815
|
-
const
|
|
1816
|
-
'channel':
|
|
1793
|
+
const _0x290573 = await _0x46105a[_0x4e444c(_0x12429a._0x50ffeb)][_0x4e444c(_0x12429a._0x13b49d)]({
|
|
1794
|
+
'channel': _0x2ace50,
|
|
1817
1795
|
'limit': 0x14
|
|
1818
1796
|
});
|
|
1819
|
-
|
|
1797
|
+
_0x2eaa1d = _0x290573[_0x4e444c(0x17c)][_0x4e444c(_0x12429a._0x14a6ef)](_0x5deb35 => _0x5deb35[_0x4e444c(0x1fb)] === _0x2d7905[_0x4e444c(0x1fb)]);
|
|
1820
1798
|
} catch {
|
|
1821
|
-
|
|
1799
|
+
_0x2eaa1d = void 0x0;
|
|
1822
1800
|
}
|
|
1823
|
-
const
|
|
1824
|
-
|
|
1801
|
+
const _0x1c2c02 = _0x2d7905[_0x4e444c(_0x12429a._0x1f36a1)] == null ? '(legacy)' : '#' + _0x2d7905[_0x4e444c(0x128)], _0xa46367 = [
|
|
1802
|
+
_0x4e444c(_0x12429a._0x3a1abb) + _0x2ace50 + _0x4e444c(_0x12429a._0x446c7e) + _0x2d7905[_0x4e444c(0x1fb)]['slice'](0x0, 0x8) + _0x4e444c(0x285) + new Date()[_0x4e444c(0x25e)]() + _0x4e444c(0x168) + _0x1c2c02 + _0x4e444c(_0x12429a._0xaef985),
|
|
1825
1803
|
'',
|
|
1826
|
-
|
|
1804
|
+
_0x2eaa1d ? 'Root\x20task\x20message:\x0a' + _0x2eaa1d[_0x4e444c(_0x12429a._0x341eb5)] : _0x4e444c(0x255) + _0x2d7905[_0x4e444c(0x1fb)],
|
|
1827
1805
|
'',
|
|
1828
|
-
|
|
1806
|
+
_0x4e444c(_0x12429a._0x1f0ac9) + _0x2ace50,
|
|
1829
1807
|
'Continue\x20execution\x20in\x20this\x20thread.\x20Use\x20read_history\x20if\x20you\x20need\x20more\x20context.'
|
|
1830
|
-
][
|
|
1831
|
-
'method':
|
|
1832
|
-
'headers': { 'Content-Type':
|
|
1833
|
-
'body': JSON[
|
|
1834
|
-
'agent_id':
|
|
1835
|
-
'thread_target':
|
|
1808
|
+
][_0x4e444c(_0x12429a._0x527e93)]('\x0a'), _0x5f2bfd = await fetch(_0x46105a[_0x4e444c(0x213)] + _0x4e444c(0x25b), {
|
|
1809
|
+
'method': 'POST',
|
|
1810
|
+
'headers': { 'Content-Type': _0x4e444c(0x1d9) },
|
|
1811
|
+
'body': JSON[_0x4e444c(_0x12429a._0x3fa03d)]({
|
|
1812
|
+
'agent_id': _0x46105a[_0x4e444c(0x202)],
|
|
1813
|
+
'thread_target': _0x2ace50,
|
|
1836
1814
|
'spawn_packet': {
|
|
1837
|
-
'replyTarget':
|
|
1838
|
-
...
|
|
1815
|
+
'replyTarget': _0x2ace50,
|
|
1816
|
+
..._0x2d7905['taskId'] ? { 'taskId': _0x2d7905['taskId'] } : _0x2d7905['taskNumber'] != null ? { 'taskId': _0x4e444c(0x1a0) + _0x2d7905[_0x4e444c(_0x12429a._0x2d4d90)] } : {}
|
|
1839
1817
|
},
|
|
1840
1818
|
'payload': {
|
|
1841
|
-
'mode':
|
|
1842
|
-
'text':
|
|
1819
|
+
'mode': _0x4e444c(_0x12429a._0x379018),
|
|
1820
|
+
'text': _0xa46367
|
|
1843
1821
|
}
|
|
1844
1822
|
})
|
|
1845
|
-
}),
|
|
1846
|
-
if (!
|
|
1847
|
-
throw new Error(
|
|
1823
|
+
}), _0x3660bf = await _0x5f2bfd[_0x4e444c(0x241)]();
|
|
1824
|
+
if (!_0x3660bf['ok'])
|
|
1825
|
+
throw new Error(_0x3660bf[_0x4e444c(_0x12429a._0x4465a2)] ?? _0x4e444c(0x149));
|
|
1848
1826
|
return {
|
|
1849
1827
|
'stopMain': !![],
|
|
1850
|
-
'threadTarget':
|
|
1851
|
-
'workerDisposition':
|
|
1828
|
+
'threadTarget': _0x2ace50,
|
|
1829
|
+
'workerDisposition': _0x3660bf[_0x4e444c(0x23c)] === _0x4e444c(_0x12429a._0x58ba78) ? _0x4e444c(0x1f2) : 'started',
|
|
1852
1830
|
'workerHandoff': !![],
|
|
1853
|
-
'workerSessionId':
|
|
1854
|
-
'executionMode':
|
|
1831
|
+
'workerSessionId': _0x3660bf[_0x4e444c(0x1c4)] ?? '',
|
|
1832
|
+
'executionMode': _0x4e444c(_0x12429a._0x5ab86f)
|
|
1855
1833
|
};
|
|
1856
1834
|
}
|
|
1857
|
-
async function
|
|
1858
|
-
const
|
|
1859
|
-
if (!
|
|
1835
|
+
async function _0x299680() {
|
|
1836
|
+
const _0x63f5c8 = _0x35b1;
|
|
1837
|
+
if (!_0x46105a[_0x63f5c8(_0x1de4a5._0x4a27b5)] || !_0x46105a[_0x63f5c8(0x202)] || _0x46105a['workerMode'])
|
|
1860
1838
|
return null;
|
|
1861
1839
|
try {
|
|
1862
|
-
const
|
|
1863
|
-
if (!
|
|
1840
|
+
const _0x53529a = await fetch(_0x46105a[_0x63f5c8(_0x1de4a5._0x2f2ab2)] + _0x63f5c8(0x161) + encodeURIComponent(_0x46105a[_0x63f5c8(0x202)])), _0x5a643d = await _0x53529a[_0x63f5c8(_0x1de4a5._0x1c2e61)]();
|
|
1841
|
+
if (!_0x5a643d['ok'])
|
|
1864
1842
|
return null;
|
|
1865
|
-
const
|
|
1866
|
-
for (const
|
|
1867
|
-
|
|
1843
|
+
const _0x52d1be = new Set();
|
|
1844
|
+
for (const _0x1ad113 of _0x5a643d[_0x63f5c8(_0x1de4a5._0x521cd5)]) {
|
|
1845
|
+
_0x1ad113[_0x63f5c8(_0x1de4a5._0x17679e)] !== _0x63f5c8(0x224) && _0x1ad113[_0x63f5c8(0x24a)] && _0x52d1be['add'](_0x1ad113[_0x63f5c8(0x24a)]);
|
|
1868
1846
|
}
|
|
1869
|
-
return
|
|
1847
|
+
return _0x52d1be[_0x63f5c8(0x139)] > 0x0 ? _0x52d1be : null;
|
|
1870
1848
|
} catch {
|
|
1871
1849
|
return null;
|
|
1872
1850
|
}
|
|
1873
1851
|
}
|
|
1874
|
-
const
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1852
|
+
const _0x44eb23 = new Set([
|
|
1853
|
+
'running',
|
|
1854
|
+
'idle',
|
|
1855
|
+
'waiting_input'
|
|
1878
1856
|
]);
|
|
1879
|
-
async function
|
|
1880
|
-
const
|
|
1881
|
-
if (!
|
|
1857
|
+
async function _0x231300() {
|
|
1858
|
+
const _0x45888c = _0x35b1;
|
|
1859
|
+
if (!_0x46105a['daemonLocalUrl'] || !_0x46105a['agentId'] || _0x46105a[_0x45888c(0x17b)])
|
|
1882
1860
|
return null;
|
|
1883
1861
|
try {
|
|
1884
|
-
const
|
|
1885
|
-
if (!
|
|
1862
|
+
const _0x2d8b84 = await fetch(_0x46105a['daemonLocalUrl'] + _0x45888c(_0x57bcce._0x47d52a) + encodeURIComponent(_0x46105a[_0x45888c(_0x57bcce._0x2bab6c)])), _0x5a9410 = await _0x2d8b84[_0x45888c(_0x57bcce._0x5d77b8)]();
|
|
1863
|
+
if (!_0x5a9410['ok'])
|
|
1886
1864
|
return null;
|
|
1887
|
-
const
|
|
1888
|
-
for (const
|
|
1889
|
-
|
|
1865
|
+
const _0x29cdf1 = new Set();
|
|
1866
|
+
for (const _0x41b3ed of _0x5a9410[_0x45888c(_0x57bcce._0x5e0f5a)]) {
|
|
1867
|
+
_0x44eb23['has'](_0x41b3ed[_0x45888c(_0x57bcce._0x261e22)]) && _0x41b3ed['thread_target'] && _0x29cdf1[_0x45888c(_0x57bcce._0x2e2833)](_0x41b3ed['thread_target']);
|
|
1890
1868
|
}
|
|
1891
|
-
return
|
|
1869
|
+
return _0x29cdf1[_0x45888c(0x139)] > 0x0 ? _0x29cdf1 : null;
|
|
1892
1870
|
} catch {
|
|
1893
1871
|
return null;
|
|
1894
1872
|
}
|
|
1895
1873
|
}
|
|
1896
1874
|
return {
|
|
1897
|
-
async 'send_message'(
|
|
1898
|
-
const
|
|
1899
|
-
if (!
|
|
1900
|
-
const
|
|
1901
|
-
if (
|
|
1902
|
-
const
|
|
1903
|
-
if (
|
|
1875
|
+
async 'send_message'(_0x5437b0) {
|
|
1876
|
+
const _0x43662a = _0x35b1;
|
|
1877
|
+
if (!_0x46105a[_0x43662a(0x17b)] && _0x46105a[_0x43662a(0x200)] && _0x46105a['daemonLocalUrl'] && _0x46105a[_0x43662a(_0x5ede38._0x56b136)]) {
|
|
1878
|
+
const _0x53ccff = await _0x46105a['client'][_0x43662a(0x21f)](_0x5437b0['target']);
|
|
1879
|
+
if (_0x53ccff[_0x43662a(_0x5ede38._0x3ffc9c)] && _0x53ccff[_0x43662a(0x266)]) {
|
|
1880
|
+
const _0x54659b = _0x53ccff[_0x43662a(_0x5ede38._0x3ffc9c)]['taskNumber'] != null ? '#' + _0x53ccff[_0x43662a(0x1c8)][_0x43662a(_0x5ede38._0x4018e1)] : _0x43662a(_0x5ede38._0x2d67ee), _0x489664 = _0x53ccff[_0x43662a(0x1e4)] != null ? _0x53ccff['target'] + ':t' + _0x53ccff[_0x43662a(_0x5ede38._0xe04375)] : _0x53ccff[_0x43662a(0x284)] + ':' + _0x53ccff[_0x43662a(_0x5ede38._0x4f00fc)][_0x43662a(_0x5ede38._0x16dbf3)](0x0, 0x8), _0x405dc2 = await _0x231300();
|
|
1881
|
+
if (_0x405dc2?.[_0x43662a(_0x5ede38._0x75fef3)](_0x489664))
|
|
1904
1882
|
return [
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
][
|
|
1908
|
-
const
|
|
1909
|
-
|
|
1883
|
+
'Task\x20' + _0x54659b + _0x43662a(0x250) + _0x489664 + '\x20already\x20has\x20an\x20active\x20worker.\x20stopMain=true\x20executionMode=worker',
|
|
1884
|
+
_0x43662a(0x20f)
|
|
1885
|
+
][_0x43662a(0x281)]('\x0a');
|
|
1886
|
+
const _0x18e92f = [
|
|
1887
|
+
'[target=' + _0x489664 + _0x43662a(0x2aa) + new Date()[_0x43662a(0x25e)]() + _0x43662a(0x27a),
|
|
1910
1888
|
'',
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
][
|
|
1916
|
-
'method':
|
|
1917
|
-
'headers': { 'Content-Type':
|
|
1918
|
-
'body': JSON[
|
|
1919
|
-
'agent_id':
|
|
1920
|
-
'thread_target':
|
|
1889
|
+
_0x43662a(0x153) + _0x5437b0[_0x43662a(0x14c)],
|
|
1890
|
+
_0x43662a(_0x5ede38._0x3c5294) + _0x54659b + '\x20(' + _0x53ccff[_0x43662a(_0x5ede38._0x3831b6)][_0x43662a(_0x5ede38._0x2bd65f)] + ')',
|
|
1891
|
+
_0x43662a(_0x5ede38._0x317917) + _0x489664,
|
|
1892
|
+
_0x43662a(0x134)
|
|
1893
|
+
]['join']('\x0a'), _0x2badaa = await fetch(_0x46105a[_0x43662a(0x213)] + _0x43662a(0x25b), {
|
|
1894
|
+
'method': _0x43662a(0x264),
|
|
1895
|
+
'headers': { 'Content-Type': _0x43662a(_0x5ede38._0x1482cd) },
|
|
1896
|
+
'body': JSON[_0x43662a(_0x5ede38._0x5d0f0f)]({
|
|
1897
|
+
'agent_id': _0x46105a[_0x43662a(0x202)],
|
|
1898
|
+
'thread_target': _0x489664,
|
|
1921
1899
|
'spawn_packet': {
|
|
1922
|
-
'replyTarget':
|
|
1923
|
-
'taskId':
|
|
1900
|
+
'replyTarget': _0x489664,
|
|
1901
|
+
'taskId': _0x53ccff['task']['taskId']
|
|
1924
1902
|
},
|
|
1925
1903
|
'payload': {
|
|
1926
1904
|
'mode': 'user',
|
|
1927
|
-
'text':
|
|
1905
|
+
'text': _0x18e92f
|
|
1928
1906
|
}
|
|
1929
1907
|
})
|
|
1930
|
-
}),
|
|
1931
|
-
if (!
|
|
1932
|
-
throw new Error(
|
|
1908
|
+
}), _0x3ee015 = await _0x2badaa[_0x43662a(0x241)]();
|
|
1909
|
+
if (!_0x3ee015['ok'])
|
|
1910
|
+
throw new Error(_0x3ee015['error'] ?? _0x43662a(_0x5ede38._0x42aab3));
|
|
1933
1911
|
return [
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
][
|
|
1912
|
+
_0x43662a(_0x5ede38._0x22157a) + _0x54659b + _0x43662a(0x250) + _0x489664 + _0x43662a(_0x5ede38._0x5e1978),
|
|
1913
|
+
'Worker\x20' + (_0x3ee015[_0x43662a(_0x5ede38._0x41dec9)] === _0x43662a(_0x5ede38._0x187cb0) ? _0x43662a(_0x5ede38._0x3b0789) : 'started') + '.',
|
|
1914
|
+
_0x43662a(0x24f)
|
|
1915
|
+
][_0x43662a(_0x5ede38._0xf55ea9)]('\x0a');
|
|
1938
1916
|
}
|
|
1939
1917
|
}
|
|
1940
|
-
const
|
|
1941
|
-
'attachmentIds':
|
|
1942
|
-
'content':
|
|
1943
|
-
'target':
|
|
1944
|
-
'visibility':
|
|
1918
|
+
const _0x139360 = await _0x46105a[_0x43662a(_0x5ede38._0x22c85c)][_0x43662a(_0x5ede38._0x296535)]({
|
|
1919
|
+
'attachmentIds': _0x5437b0[_0x43662a(_0x5ede38._0x2c9f5a)],
|
|
1920
|
+
'content': _0x5437b0[_0x43662a(0x14c)],
|
|
1921
|
+
'target': _0x5437b0[_0x43662a(0x284)],
|
|
1922
|
+
'visibility': _0x5437b0[_0x43662a(0x146)]
|
|
1945
1923
|
});
|
|
1946
|
-
return
|
|
1924
|
+
return 'Message\x20sent\x20to\x20' + _0x5437b0[_0x43662a(_0x5ede38._0x530a4e)] + '.\x20Message\x20ID:\x20' + _0x139360[_0x43662a(_0x5ede38._0x34af8f)];
|
|
1947
1925
|
},
|
|
1948
1926
|
async 'check_messages'() {
|
|
1949
|
-
const
|
|
1950
|
-
if (!
|
|
1951
|
-
const
|
|
1952
|
-
if (
|
|
1953
|
-
return formatCheckMessages(
|
|
1927
|
+
const _0x7ebb65 = _0x35b1, _0x312c09 = await _0x46105a[_0x7ebb65(0x12c)][_0x7ebb65(0x1ae)]();
|
|
1928
|
+
if (!_0x46105a['workerMode']) {
|
|
1929
|
+
const _0x43eb24 = await _0x299680();
|
|
1930
|
+
if (_0x43eb24)
|
|
1931
|
+
return formatCheckMessages(_0x312c09['messages']['filter'](_0xa44c01 => !_0x43eb24[_0x7ebb65(0x2af)](_0xa44c01[_0x7ebb65(0x284)])));
|
|
1954
1932
|
}
|
|
1955
|
-
return formatCheckMessages(
|
|
1933
|
+
return formatCheckMessages(_0x312c09['messages']);
|
|
1956
1934
|
},
|
|
1957
|
-
async 'read_history'(
|
|
1958
|
-
const
|
|
1959
|
-
return formatHistory(
|
|
1935
|
+
async 'read_history'(_0x4199b3) {
|
|
1936
|
+
const _0x257440 = _0x35b1, _0x500aea = await _0x46105a['client'][_0x257440(0x26b)](_0x4199b3);
|
|
1937
|
+
return formatHistory(_0x500aea);
|
|
1960
1938
|
},
|
|
1961
1939
|
async 'list_server'() {
|
|
1962
|
-
const
|
|
1963
|
-
return formatServerDirectory(
|
|
1940
|
+
const _0x507aa0 = _0x35b1, _0x3f4d80 = await _0x46105a[_0x507aa0(_0x412f02._0x2e60f8)][_0x507aa0(_0x412f02._0x4c5254)]();
|
|
1941
|
+
return formatServerDirectory(_0x3f4d80);
|
|
1964
1942
|
},
|
|
1965
|
-
async 'list_tasks'(
|
|
1966
|
-
const
|
|
1967
|
-
let
|
|
1968
|
-
if (
|
|
1943
|
+
async 'list_tasks'(_0x2df106) {
|
|
1944
|
+
const _0x2c8801 = _0x35b1, _0x5e1d41 = await _0x46105a[_0x2c8801(0x12c)][_0x2c8801(0x21a)](_0x2df106);
|
|
1945
|
+
let _0x47f873;
|
|
1946
|
+
if (_0x46105a[_0x2c8801(_0x4b0f10._0x2cb6eb)] && _0x46105a[_0x2c8801(0x202)])
|
|
1969
1947
|
try {
|
|
1970
|
-
const
|
|
1971
|
-
if (
|
|
1972
|
-
const
|
|
1973
|
-
|
|
1974
|
-
for (const
|
|
1975
|
-
if (
|
|
1948
|
+
const _0x3bd986 = await fetch(_0x46105a['daemonLocalUrl'] + '/workers/list?agent_id=' + encodeURIComponent(_0x46105a[_0x2c8801(_0x4b0f10._0x5460be)])), _0x203ef5 = await _0x3bd986[_0x2c8801(_0x4b0f10._0x313e05)]();
|
|
1949
|
+
if (_0x203ef5['ok']) {
|
|
1950
|
+
const _0x302ee3 = _0x2df106[_0x2c8801(0x26c)] + ':';
|
|
1951
|
+
_0x47f873 = new Set();
|
|
1952
|
+
for (const _0x1564fb of _0x203ef5['workers']) {
|
|
1953
|
+
if (_0x1564fb[_0x2c8801(0x1b1)] === _0x2c8801(_0x4b0f10._0x5bc186))
|
|
1976
1954
|
continue;
|
|
1977
|
-
if (
|
|
1978
|
-
const
|
|
1979
|
-
if (
|
|
1980
|
-
|
|
1955
|
+
if (_0x1564fb[_0x2c8801(_0x4b0f10._0xff10bf)]?.['startsWith'](_0x302ee3)) {
|
|
1956
|
+
const _0x216d2d = _0x1564fb[_0x2c8801(_0x4b0f10._0x5a907e)]['slice'](_0x302ee3[_0x2c8801(0x1ad)]), _0x52e81d = _0x5e1d41[_0x2c8801(0x133)][_0x2c8801(_0x4b0f10._0x5e28b2)](_0xea73fc => _0xea73fc[_0x2c8801(0x1fb)]?.[_0x2c8801(0x28f)](_0x216d2d) === !![]);
|
|
1957
|
+
if (_0x52e81d?.[_0x2c8801(0x128)] != null) {
|
|
1958
|
+
_0x47f873[_0x2c8801(0x25a)](_0x52e81d[_0x2c8801(_0x4b0f10._0x260c84)]);
|
|
1981
1959
|
continue;
|
|
1982
1960
|
}
|
|
1983
1961
|
}
|
|
1984
|
-
if (
|
|
1985
|
-
const
|
|
1986
|
-
|
|
1962
|
+
if (_0x1564fb['task_id']) {
|
|
1963
|
+
const _0x378d5b = _0x5e1d41[_0x2c8801(0x133)][_0x2c8801(0x1b4)](_0x54fc24 => _0x54fc24[_0x2c8801(0x163)] === _0x1564fb[_0x2c8801(0x256)]);
|
|
1964
|
+
_0x378d5b?.[_0x2c8801(_0x4b0f10._0x260c84)] != null && _0x47f873[_0x2c8801(0x25a)](_0x378d5b[_0x2c8801(_0x4b0f10._0x260c84)]);
|
|
1987
1965
|
}
|
|
1988
1966
|
}
|
|
1989
1967
|
}
|
|
1990
1968
|
} catch {
|
|
1991
1969
|
}
|
|
1992
|
-
return formatTaskList(
|
|
1970
|
+
return formatTaskList(_0x5e1d41[_0x2c8801(0x133)], _0x47f873);
|
|
1993
1971
|
},
|
|
1994
|
-
async 'create_tasks'(
|
|
1995
|
-
const
|
|
1996
|
-
|
|
1997
|
-
const
|
|
1998
|
-
return formatCreatedTasks(
|
|
1972
|
+
async 'create_tasks'(_0x4f33ee) {
|
|
1973
|
+
const _0x273c47 = _0x35b1;
|
|
1974
|
+
_0x5deb9d('create_tasks', _0x4f33ee[_0x273c47(0x26c)]);
|
|
1975
|
+
const _0x1371fc = await _0x46105a[_0x273c47(_0x5cbedc._0x2e6a32)][_0x273c47(0x23e)](_0x4f33ee);
|
|
1976
|
+
return formatCreatedTasks(_0x1371fc[_0x273c47(_0x5cbedc._0x2581ca)]);
|
|
1999
1977
|
},
|
|
2000
|
-
async 'claim_tasks'(
|
|
2001
|
-
const
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
1978
|
+
async 'claim_tasks'(_0x2aa068) {
|
|
1979
|
+
const _0x388167 = {
|
|
1980
|
+
_0x159e62: 0x1fb,
|
|
1981
|
+
_0xd995af: 0x1fb,
|
|
1982
|
+
_0x25407d: 0x16f,
|
|
1983
|
+
_0x5e4581: 0x149
|
|
1984
|
+
}, _0x5a0448 = _0x35b1;
|
|
1985
|
+
if (_0x46105a[_0x5a0448(_0x1843ac._0x492cdc)]) {
|
|
1986
|
+
_0x5deb9d(_0x5a0448(0x1a2), _0x2aa068[_0x5a0448(0x26c)]);
|
|
1987
|
+
if (_0x2aa068[_0x5a0448(0x147)] && _0x2aa068['message_ids'][_0x5a0448(_0x1843ac._0xb54bc6)] > 0x0)
|
|
1988
|
+
throw new Error(_0x5a0448(_0x1843ac._0x4c926b));
|
|
1989
|
+
if (!_0x2aa068['subtask_numbers'] || _0x2aa068[_0x5a0448(_0x1843ac._0x18ad0a)][_0x5a0448(0x1ad)] === 0x0)
|
|
1990
|
+
throw new Error(_0x5a0448(_0x1843ac._0x415b64));
|
|
2008
1991
|
}
|
|
2009
|
-
const
|
|
2010
|
-
const
|
|
2011
|
-
if (!
|
|
2012
|
-
return
|
|
1992
|
+
const _0x306eff = await _0x46105a[_0x5a0448(_0x1843ac._0x45afe9)][_0x5a0448(0x1e8)](_0x2aa068), _0x2aaf71 = await Promise[_0x5a0448(_0x1843ac._0x595cc7)](_0x306eff['results'][_0x5a0448(_0x1843ac._0x4a71f0)](async _0x5f213b => {
|
|
1993
|
+
const _0x2ba6b4 = _0x5a0448;
|
|
1994
|
+
if (!_0x5f213b[_0x2ba6b4(0x15e)] || !_0x5f213b[_0x2ba6b4(_0x388167._0x159e62)])
|
|
1995
|
+
return _0x5f213b;
|
|
2013
1996
|
try {
|
|
2014
|
-
const
|
|
2015
|
-
'channel':
|
|
2016
|
-
'executionMode':
|
|
2017
|
-
'messageId':
|
|
2018
|
-
'taskId':
|
|
2019
|
-
'taskNumber':
|
|
2020
|
-
'threadNumber':
|
|
1997
|
+
const _0x25ed14 = await _0x6f0d9c({
|
|
1998
|
+
'channel': _0x2aa068['channel'],
|
|
1999
|
+
'executionMode': _0x5f213b[_0x2ba6b4(0x20a)],
|
|
2000
|
+
'messageId': _0x5f213b[_0x2ba6b4(_0x388167._0xd995af)],
|
|
2001
|
+
'taskId': _0x5f213b['taskId'],
|
|
2002
|
+
'taskNumber': _0x5f213b[_0x2ba6b4(0x128)],
|
|
2003
|
+
'threadNumber': _0x5f213b[_0x2ba6b4(0x1e4)]
|
|
2021
2004
|
});
|
|
2022
|
-
return
|
|
2023
|
-
...
|
|
2024
|
-
...
|
|
2025
|
-
} :
|
|
2026
|
-
} catch (
|
|
2005
|
+
return _0x25ed14 ? {
|
|
2006
|
+
..._0x5f213b,
|
|
2007
|
+
..._0x25ed14
|
|
2008
|
+
} : _0x5f213b;
|
|
2009
|
+
} catch (_0x5b359b) {
|
|
2027
2010
|
return {
|
|
2028
|
-
...
|
|
2029
|
-
'workerHandoffError':
|
|
2011
|
+
..._0x5f213b,
|
|
2012
|
+
'workerHandoffError': _0x5b359b instanceof Error ? _0x5b359b[_0x2ba6b4(_0x388167._0x25407d)] : _0x2ba6b4(_0x388167._0x5e4581)
|
|
2030
2013
|
};
|
|
2031
2014
|
}
|
|
2032
2015
|
}));
|
|
2033
|
-
return formatClaimTaskResults(
|
|
2016
|
+
return formatClaimTaskResults(_0x2aaf71);
|
|
2034
2017
|
},
|
|
2035
|
-
async 'unclaim_task'(
|
|
2036
|
-
const
|
|
2037
|
-
if (
|
|
2038
|
-
|
|
2039
|
-
if (
|
|
2040
|
-
throw new Error(
|
|
2018
|
+
async 'unclaim_task'(_0x4c6944) {
|
|
2019
|
+
const _0x39c3c3 = _0x35b1;
|
|
2020
|
+
if (_0x46105a[_0x39c3c3(_0xadada5._0x561db3)]) {
|
|
2021
|
+
_0x5deb9d('unclaim_task', _0x4c6944[_0x39c3c3(_0xadada5._0x2a8085)]);
|
|
2022
|
+
if (_0x4c6944[_0x39c3c3(_0xadada5._0x23262e)] == null)
|
|
2023
|
+
throw new Error(_0x39c3c3(_0xadada5._0xd97bc0));
|
|
2041
2024
|
}
|
|
2042
|
-
const
|
|
2043
|
-
return formatUnclaimTaskResult(
|
|
2025
|
+
const _0x3a89f1 = await _0x46105a[_0x39c3c3(0x12c)]['unclaimTask'](_0x4c6944);
|
|
2026
|
+
return formatUnclaimTaskResult(_0x3a89f1);
|
|
2044
2027
|
},
|
|
2045
|
-
async 'update_task_status'(
|
|
2046
|
-
const
|
|
2047
|
-
|
|
2048
|
-
const
|
|
2049
|
-
return formatUpdateTaskStatusResult(
|
|
2028
|
+
async 'update_task_status'(_0x413fb3) {
|
|
2029
|
+
const _0x3497b4 = _0x35b1;
|
|
2030
|
+
_0x5deb9d('update_task_status', _0x413fb3[_0x3497b4(_0x23fecd._0x28a5fe)]);
|
|
2031
|
+
const _0x43c76d = await _0x46105a['client'][_0x3497b4(0x20b)](_0x413fb3);
|
|
2032
|
+
return formatUpdateTaskStatusResult(_0x43c76d);
|
|
2050
2033
|
},
|
|
2051
|
-
async 'upload_file'(
|
|
2052
|
-
const
|
|
2053
|
-
sizeBytes:
|
|
2054
|
-
...
|
|
2055
|
-
} =
|
|
2056
|
-
'channel':
|
|
2057
|
-
...
|
|
2034
|
+
async 'upload_file'(_0x32da42) {
|
|
2035
|
+
const _0x532abe = _0x35b1, _0x24d130 = await _0x46105a[_0x532abe(0x206)](_0x32da42[_0x532abe(_0x40b003._0x263083)]), {
|
|
2036
|
+
sizeBytes: _0x4b19a2,
|
|
2037
|
+
..._0x2e0ac4
|
|
2038
|
+
} = _0x24d130, _0x3c5279 = await _0x46105a[_0x532abe(_0x40b003._0x4ca4b5)][_0x532abe(0x227)]({
|
|
2039
|
+
'channel': _0x32da42[_0x532abe(0x26c)],
|
|
2040
|
+
..._0x2e0ac4
|
|
2058
2041
|
});
|
|
2059
|
-
return formatUploadResult(
|
|
2042
|
+
return formatUploadResult(_0x3c5279);
|
|
2060
2043
|
},
|
|
2061
|
-
async 'view_file'(
|
|
2062
|
-
const
|
|
2063
|
-
if (
|
|
2064
|
-
return formatViewFileResult(
|
|
2065
|
-
const
|
|
2066
|
-
'attachmentId':
|
|
2067
|
-
'contentType':
|
|
2068
|
-
'data':
|
|
2069
|
-
'originalFilename':
|
|
2044
|
+
async 'view_file'(_0x555a67) {
|
|
2045
|
+
const _0x3bbc90 = _0x35b1, _0x1cd79f = await _0x46105a[_0x3bbc90(0x21e)]['findCachedPath'](_0x555a67[_0x3bbc90(_0x526139._0x5d5b76)]);
|
|
2046
|
+
if (_0x1cd79f)
|
|
2047
|
+
return formatViewFileResult(_0x1cd79f, !![]);
|
|
2048
|
+
const _0x509578 = await _0x46105a[_0x3bbc90(_0x526139._0xb27457)][_0x3bbc90(0x270)](_0x555a67[_0x3bbc90(0x197)]), _0x4454d5 = await _0x46105a[_0x3bbc90(0x21e)][_0x3bbc90(_0x526139._0x2ee9e2)]({
|
|
2049
|
+
'attachmentId': _0x555a67['attachment_id'],
|
|
2050
|
+
'contentType': _0x509578[_0x3bbc90(_0x526139._0x96216d)],
|
|
2051
|
+
'data': _0x509578[_0x3bbc90(_0x526139._0x5bb3f6)],
|
|
2052
|
+
'originalFilename': _0x509578[_0x3bbc90(0x29f)]
|
|
2070
2053
|
});
|
|
2071
|
-
return formatViewFileResult(
|
|
2054
|
+
return formatViewFileResult(_0x4454d5, ![]);
|
|
2072
2055
|
},
|
|
2073
|
-
async 'get_worker_status'(
|
|
2074
|
-
const
|
|
2075
|
-
if (!
|
|
2076
|
-
return _0x49a536(_0x179561._0x285449);
|
|
2077
|
-
const _0x15251e = await fetch(_0x4258b8[_0x49a536(0x183)] + _0x49a536(_0x179561._0x3ac1a6) + encodeURIComponent(_0x4687be['work_key'])), _0x4aafb2 = await _0x15251e[_0x49a536(_0x179561._0x5aa697)]();
|
|
2078
|
-
if (!_0x4aafb2['ok'])
|
|
2079
|
-
return _0x49a536(0xd4) + _0x4687be[_0x49a536(0x256)] + '\x22\x20not\x20found';
|
|
2080
|
-
return _0x49a536(_0x179561._0x2856ea) + _0x4687be['work_key'] + _0x49a536(0x1aa) + _0x4aafb2['status'];
|
|
2081
|
-
},
|
|
2082
|
-
async 'park_worker'(_0x591428) {
|
|
2083
|
-
const _0x1ea1a7 = _0x48533e;
|
|
2084
|
-
if (!_0x4258b8[_0x1ea1a7(0x183)])
|
|
2056
|
+
async 'get_worker_status'(_0x3429d7) {
|
|
2057
|
+
const _0x42bb7b = _0x35b1;
|
|
2058
|
+
if (!_0x46105a[_0x42bb7b(0x213)])
|
|
2085
2059
|
return 'Worker\x20features\x20not\x20available';
|
|
2086
|
-
const
|
|
2060
|
+
const _0x2f9339 = await fetch(_0x46105a[_0x42bb7b(0x213)] + '/workers/status?work_key=' + encodeURIComponent(_0x3429d7['work_key'])), _0x188d1f = await _0x2f9339['json']();
|
|
2061
|
+
if (!_0x188d1f['ok'])
|
|
2062
|
+
return _0x42bb7b(_0x3ae7ab._0x1f0f79) + _0x3429d7[_0x42bb7b(_0x3ae7ab._0x316830)] + '\x22\x20not\x20found';
|
|
2063
|
+
return _0x42bb7b(_0x3ae7ab._0x1f0f79) + _0x3429d7[_0x42bb7b(_0x3ae7ab._0xcfc593)] + '\x22:\x20status=' + _0x188d1f[_0x42bb7b(_0x3ae7ab._0x4f1426)];
|
|
2064
|
+
},
|
|
2065
|
+
async 'park_worker'(_0x59a7a1) {
|
|
2066
|
+
const _0x50a76c = _0x35b1;
|
|
2067
|
+
if (!_0x46105a['daemonLocalUrl'])
|
|
2068
|
+
return _0x50a76c(_0x518f9d._0x3d3fa7);
|
|
2069
|
+
const _0x225b3a = await fetch(_0x46105a['daemonLocalUrl'] + _0x50a76c(_0x518f9d._0x1f769f), {
|
|
2087
2070
|
'method': 'POST',
|
|
2088
|
-
'headers': { 'Content-Type':
|
|
2089
|
-
'body': JSON[
|
|
2090
|
-
}),
|
|
2091
|
-
if (!
|
|
2092
|
-
throw new Error(
|
|
2093
|
-
return
|
|
2071
|
+
'headers': { 'Content-Type': _0x50a76c(0x1d9) },
|
|
2072
|
+
'body': JSON[_0x50a76c(_0x518f9d._0x2c7060)]({ 'work_key': _0x59a7a1['work_key'] })
|
|
2073
|
+
}), _0x3efec4 = await _0x225b3a[_0x50a76c(0x241)]();
|
|
2074
|
+
if (!_0x3efec4['ok'])
|
|
2075
|
+
throw new Error(_0x3efec4[_0x50a76c(_0x518f9d._0x48d82c)] ?? 'park_worker\x20failed');
|
|
2076
|
+
return _0x50a76c(0x295) + _0x59a7a1[_0x50a76c(0x2a2)] + _0x50a76c(0x225);
|
|
2094
2077
|
},
|
|
2095
|
-
async 'mark_waiting_input'(
|
|
2096
|
-
const
|
|
2097
|
-
if (!
|
|
2098
|
-
return
|
|
2099
|
-
const
|
|
2100
|
-
'method':
|
|
2101
|
-
'headers': { 'Content-Type':
|
|
2102
|
-
'body': JSON[
|
|
2103
|
-
'work_key':
|
|
2104
|
-
'agent_id':
|
|
2078
|
+
async 'mark_waiting_input'(_0x5aa479) {
|
|
2079
|
+
const _0x1c377d = _0x35b1;
|
|
2080
|
+
if (!_0x46105a[_0x1c377d(0x213)] || !_0x46105a[_0x1c377d(0x202)])
|
|
2081
|
+
return _0x1c377d(0x29d);
|
|
2082
|
+
const _0x4aea87 = await fetch(_0x46105a['daemonLocalUrl'] + '/workers/waiting_input', {
|
|
2083
|
+
'method': _0x1c377d(_0x21e1f8._0x2ab432),
|
|
2084
|
+
'headers': { 'Content-Type': _0x1c377d(0x1d9) },
|
|
2085
|
+
'body': JSON[_0x1c377d(_0x21e1f8._0x19c6f0)]({
|
|
2086
|
+
'work_key': _0x5aa479[_0x1c377d(0x2a2)],
|
|
2087
|
+
'agent_id': _0x46105a[_0x1c377d(0x202)]
|
|
2105
2088
|
})
|
|
2106
|
-
}),
|
|
2107
|
-
if (!
|
|
2108
|
-
throw new Error(
|
|
2109
|
-
return
|
|
2089
|
+
}), _0x1fe33d = await _0x4aea87['json']();
|
|
2090
|
+
if (!_0x1fe33d['ok'])
|
|
2091
|
+
throw new Error(_0x1fe33d[_0x1c377d(0x1dc)] ?? _0x1c377d(_0x21e1f8._0x1c00ee));
|
|
2092
|
+
return _0x1c377d(_0x21e1f8._0x40366a) + _0x5aa479[_0x1c377d(_0x21e1f8._0x342fba)] + '\x22\x20marked\x20as\x20waiting_input.\x20TTL\x20timer\x20paused\x20until\x20next\x20message\x20arrives.';
|
|
2110
2093
|
},
|
|
2111
|
-
async 'escalate_to_main'(
|
|
2112
|
-
const
|
|
2113
|
-
if (!
|
|
2114
|
-
return
|
|
2115
|
-
const
|
|
2116
|
-
'method':
|
|
2117
|
-
'headers': { 'Content-Type':
|
|
2094
|
+
async 'escalate_to_main'(_0x47c390) {
|
|
2095
|
+
const _0x575b3f = _0x35b1;
|
|
2096
|
+
if (!_0x46105a['daemonLocalUrl'])
|
|
2097
|
+
return 'Worker\x20features\x20not\x20available';
|
|
2098
|
+
const _0x31bfcb = await fetch(_0x46105a['daemonLocalUrl'] + _0x575b3f(0x13b), {
|
|
2099
|
+
'method': _0x575b3f(_0x405a24._0x2da6bc),
|
|
2100
|
+
'headers': { 'Content-Type': _0x575b3f(_0x405a24._0xe9bdf3) },
|
|
2118
2101
|
'body': JSON['stringify']({
|
|
2119
|
-
'work_key':
|
|
2120
|
-
'reason':
|
|
2102
|
+
'work_key': _0x47c390[_0x575b3f(0x2a2)],
|
|
2103
|
+
'reason': _0x47c390[_0x575b3f(0x1de)]
|
|
2121
2104
|
})
|
|
2122
|
-
}),
|
|
2123
|
-
if (!
|
|
2124
|
-
throw new Error(
|
|
2125
|
-
return 'Escalation\x20sent\x20to\x20main\x20agent.\x20Reason:\x20' +
|
|
2105
|
+
}), _0x4878bf = await _0x31bfcb['json']();
|
|
2106
|
+
if (!_0x4878bf['ok'])
|
|
2107
|
+
throw new Error(_0x4878bf[_0x575b3f(0x1dc)] ?? _0x575b3f(_0x405a24._0x25362e));
|
|
2108
|
+
return 'Escalation\x20sent\x20to\x20main\x20agent.\x20Reason:\x20' + _0x47c390['reason'];
|
|
2126
2109
|
}
|
|
2127
2110
|
};
|
|
2128
2111
|
}
|
|
2129
|
-
function textResult(
|
|
2130
|
-
const
|
|
2112
|
+
function textResult(_0x2df58c, _0x448099 = ![]) {
|
|
2113
|
+
const _0x49b00a = _0x10d6b5;
|
|
2131
2114
|
return {
|
|
2132
2115
|
'content': [{
|
|
2133
|
-
'type':
|
|
2134
|
-
'text':
|
|
2116
|
+
'type': _0x49b00a(0x24d),
|
|
2117
|
+
'text': _0x2df58c
|
|
2135
2118
|
}],
|
|
2136
|
-
...
|
|
2119
|
+
..._0x448099 ? { 'isError': !![] } : {}
|
|
2137
2120
|
};
|
|
2138
2121
|
}
|
|
2139
|
-
async function registerChatBridgeTools(
|
|
2140
|
-
const
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
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
|
-
'visibility': _0x5a7501[_0x2c59dc(0x199)]([
|
|
2193
|
-
_0x2c59dc(_0x1b7d66._0x426709),
|
|
2122
|
+
async function registerChatBridgeTools(_0x3148ab, _0xe22f74, _0x29d53a) {
|
|
2123
|
+
const _0x3caa33 = {
|
|
2124
|
+
_0x537b0d: 0x144,
|
|
2125
|
+
_0x1dc09a: 0x298,
|
|
2126
|
+
_0x3d9c6f: 0x184,
|
|
2127
|
+
_0xbf3b30: 0x271,
|
|
2128
|
+
_0x21e133: 0x166,
|
|
2129
|
+
_0x55bfdb: 0x298,
|
|
2130
|
+
_0xafff6c: 0x19e,
|
|
2131
|
+
_0x476a75: 0x141,
|
|
2132
|
+
_0x38ca61: 0x1f1,
|
|
2133
|
+
_0xf2718f: 0x1ac,
|
|
2134
|
+
_0x298ef2: 0x205,
|
|
2135
|
+
_0x45e39e: 0x1f1,
|
|
2136
|
+
_0x1db883: 0x15a,
|
|
2137
|
+
_0x3a92d0: 0x18b,
|
|
2138
|
+
_0x477835: 0x267,
|
|
2139
|
+
_0x1561d9: 0x1e3,
|
|
2140
|
+
_0x290907: 0x1e3,
|
|
2141
|
+
_0x19c0b7: 0x19e,
|
|
2142
|
+
_0x5ba973: 0x144,
|
|
2143
|
+
_0x5d8cb7: 0x28a,
|
|
2144
|
+
_0x1621da: 0x1e6,
|
|
2145
|
+
_0x306813: 0x28d,
|
|
2146
|
+
_0x9bf89d: 0x298,
|
|
2147
|
+
_0x571fc9: 0x287,
|
|
2148
|
+
_0x2f2f8e: 0x1eb,
|
|
2149
|
+
_0x436b03: 0x1cf,
|
|
2150
|
+
_0x2a50c1: 0x280,
|
|
2151
|
+
_0x3f314d: 0x26f,
|
|
2152
|
+
_0x109850: 0x1d3,
|
|
2153
|
+
_0x4c3e60: 0x1d7,
|
|
2154
|
+
_0x44bc09: 0x124
|
|
2155
|
+
}, _0x28ded0 = { _0x5327e9: 0x1c7 }, _0x2b8ff8 = { _0x5b4ef8: 0x16f }, _0x2de6d0 = { _0x4f6511: 0x16f }, _0x1785af = {
|
|
2156
|
+
_0x3f0870: 0x138,
|
|
2157
|
+
_0x36485a: 0x16f
|
|
2158
|
+
}, _0x34efd9 = {
|
|
2159
|
+
_0x2cbbf4: 0x1eb,
|
|
2160
|
+
_0x39b6e5: 0x16f,
|
|
2161
|
+
_0x173e18: 0x187
|
|
2162
|
+
}, _0x59d477 = {
|
|
2163
|
+
_0x1ff951: 0x16f,
|
|
2164
|
+
_0x33507f: 0x1d2
|
|
2165
|
+
}, _0x2ca186 = {
|
|
2166
|
+
_0x5532eb: 0x1a2,
|
|
2167
|
+
_0x15a8cf: 0x16f
|
|
2168
|
+
}, _0x2dd350 = { _0x188fb2: 0x162 }, _0x35f42b = { _0x1de7f6: 0x297 }, _0x44cfbb = { _0x4ff22d: 0x16f }, _0x1e34e1 = { _0x267103: 0x1fe }, _0x22e3f6 = { _0x1912c5: 0x1a1 }, _0x176228 = _0x10d6b5, {z: _0x5a7fbd} = await import('zod');
|
|
2169
|
+
_0x3148ab[_0x176228(0x1f1)](_0x176228(0x1a1), _0x176228(0x277), {
|
|
2170
|
+
'target': _0x5a7fbd[_0x176228(0x298)](),
|
|
2171
|
+
'content': _0x5a7fbd[_0x176228(0x298)](),
|
|
2172
|
+
'attachment_ids': _0x5a7fbd[_0x176228(_0x3caa33._0x537b0d)](_0x5a7fbd[_0x176228(_0x3caa33._0x1dc09a)]())['optional'](),
|
|
2173
|
+
'visibility': _0x5a7fbd[_0x176228(_0x3caa33._0x3d9c6f)]([
|
|
2174
|
+
_0x176228(0x137),
|
|
2194
2175
|
'aside'
|
|
2195
|
-
])[
|
|
2196
|
-
}, async
|
|
2197
|
-
const
|
|
2176
|
+
])[_0x176228(0x19e)]()[_0x176228(_0x3caa33._0xbf3b30)](_0x176228(_0x3caa33._0x21e133))
|
|
2177
|
+
}, async _0x26c04d => {
|
|
2178
|
+
const _0xac494 = _0x176228;
|
|
2198
2179
|
try {
|
|
2199
|
-
return textResult(await
|
|
2200
|
-
} catch (
|
|
2201
|
-
return textResult(
|
|
2180
|
+
return textResult(await _0xe22f74[_0xac494(_0x22e3f6._0x1912c5)](_0x26c04d));
|
|
2181
|
+
} catch (_0x322c4b) {
|
|
2182
|
+
return textResult(_0x322c4b instanceof Error ? _0x322c4b[_0xac494(0x16f)] : 'send_message\x20failed', !![]);
|
|
2202
2183
|
}
|
|
2203
|
-
}),
|
|
2204
|
-
const
|
|
2184
|
+
}), _0x3148ab['tool'](_0x176228(0x1fe), _0x176228(0x28c), {}, async () => {
|
|
2185
|
+
const _0xe3a41a = _0x176228;
|
|
2205
2186
|
try {
|
|
2206
|
-
return textResult(await
|
|
2207
|
-
} catch (
|
|
2208
|
-
return textResult(
|
|
2187
|
+
return textResult(await _0xe22f74[_0xe3a41a(_0x1e34e1._0x267103)]());
|
|
2188
|
+
} catch (_0x1ce83f) {
|
|
2189
|
+
return textResult(_0x1ce83f instanceof Error ? _0x1ce83f['message'] : _0xe3a41a(0x20e), !![]);
|
|
2209
2190
|
}
|
|
2210
|
-
}),
|
|
2211
|
-
'channel':
|
|
2212
|
-
'limit':
|
|
2213
|
-
'before':
|
|
2214
|
-
'after':
|
|
2215
|
-
}, async
|
|
2216
|
-
const
|
|
2191
|
+
}), _0x3148ab[_0x176228(0x1f1)](_0x176228(0x155), 'Read\x20message\x20history\x20for\x20a\x20channel,\x20DM,\x20or\x20thread\x20target.', {
|
|
2192
|
+
'channel': _0x5a7fbd[_0x176228(_0x3caa33._0x55bfdb)](),
|
|
2193
|
+
'limit': _0x5a7fbd[_0x176228(0x1e3)]()['optional'](),
|
|
2194
|
+
'before': _0x5a7fbd[_0x176228(0x1e3)]()[_0x176228(0x19e)](),
|
|
2195
|
+
'after': _0x5a7fbd[_0x176228(0x1e3)]()[_0x176228(_0x3caa33._0xafff6c)]()
|
|
2196
|
+
}, async _0x154054 => {
|
|
2197
|
+
const _0x2b97b2 = _0x176228;
|
|
2217
2198
|
try {
|
|
2218
|
-
return textResult(await
|
|
2219
|
-
} catch (
|
|
2220
|
-
return textResult(
|
|
2199
|
+
return textResult(await _0xe22f74['read_history'](_0x154054));
|
|
2200
|
+
} catch (_0x2f691c) {
|
|
2201
|
+
return textResult(_0x2f691c instanceof Error ? _0x2f691c[_0x2b97b2(_0x44cfbb._0x4ff22d)] : _0x2b97b2(0x130), !![]);
|
|
2221
2202
|
}
|
|
2222
|
-
}),
|
|
2223
|
-
const
|
|
2203
|
+
}), _0x3148ab['tool'](_0x176228(0x297), _0x176228(_0x3caa33._0x476a75), {}, async () => {
|
|
2204
|
+
const _0x2996c0 = _0x176228;
|
|
2224
2205
|
try {
|
|
2225
|
-
return textResult(await
|
|
2226
|
-
} catch (
|
|
2227
|
-
return textResult(
|
|
2206
|
+
return textResult(await _0xe22f74[_0x2996c0(_0x35f42b._0x1de7f6)]());
|
|
2207
|
+
} catch (_0xd3eade) {
|
|
2208
|
+
return textResult(_0xd3eade instanceof Error ? _0xd3eade[_0x2996c0(0x16f)] : _0x2996c0(0x1ef), !![]);
|
|
2228
2209
|
}
|
|
2229
|
-
}),
|
|
2230
|
-
'channel':
|
|
2231
|
-
'status':
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
])[
|
|
2237
|
-
}, async
|
|
2238
|
-
const
|
|
2210
|
+
}), _0x3148ab[_0x176228(_0x3caa33._0x38ca61)](_0x176228(0x23a), _0x176228(0x180), {
|
|
2211
|
+
'channel': _0x5a7fbd[_0x176228(0x298)](),
|
|
2212
|
+
'status': _0x5a7fbd[_0x176228(0x184)]([
|
|
2213
|
+
_0x176228(0x279),
|
|
2214
|
+
_0x176228(0x26e),
|
|
2215
|
+
_0x176228(_0x3caa33._0xf2718f),
|
|
2216
|
+
_0x176228(_0x3caa33._0x298ef2)
|
|
2217
|
+
])[_0x176228(_0x3caa33._0xafff6c)]()
|
|
2218
|
+
}, async _0x21a39b => {
|
|
2219
|
+
const _0x18e576 = _0x176228;
|
|
2239
2220
|
try {
|
|
2240
|
-
return textResult(await
|
|
2241
|
-
} catch (
|
|
2242
|
-
return textResult(
|
|
2221
|
+
return textResult(await _0xe22f74['list_tasks'](_0x21a39b));
|
|
2222
|
+
} catch (_0x1deb7a) {
|
|
2223
|
+
return textResult(_0x1deb7a instanceof Error ? _0x1deb7a[_0x18e576(0x16f)] : _0x18e576(0x1bd), !![]);
|
|
2243
2224
|
}
|
|
2244
|
-
}),
|
|
2245
|
-
'channel':
|
|
2246
|
-
'idempotency_key':
|
|
2247
|
-
'tasks':
|
|
2248
|
-
'title':
|
|
2249
|
-
'description':
|
|
2250
|
-
'priority':
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
])[
|
|
2225
|
+
}), _0x3148ab[_0x176228(_0x3caa33._0x45e39e)](_0x176228(0x299), _0x176228(_0x3caa33._0x1db883), {
|
|
2226
|
+
'channel': _0x5a7fbd[_0x176228(_0x3caa33._0x55bfdb)](),
|
|
2227
|
+
'idempotency_key': _0x5a7fbd[_0x176228(0x298)]()[_0x176228(0x19e)](),
|
|
2228
|
+
'tasks': _0x5a7fbd[_0x176228(_0x3caa33._0x537b0d)](_0x5a7fbd['object']({
|
|
2229
|
+
'title': _0x5a7fbd[_0x176228(_0x3caa33._0x55bfdb)](),
|
|
2230
|
+
'description': _0x5a7fbd['string']()[_0x176228(0x19e)](),
|
|
2231
|
+
'priority': _0x5a7fbd['enum']([
|
|
2232
|
+
_0x176228(_0x3caa33._0x3a92d0),
|
|
2233
|
+
_0x176228(0x262),
|
|
2234
|
+
'high',
|
|
2235
|
+
_0x176228(_0x3caa33._0x477835)
|
|
2236
|
+
])['optional']()
|
|
2256
2237
|
}))
|
|
2257
|
-
}, async
|
|
2258
|
-
const
|
|
2238
|
+
}, async _0xf7c5ae => {
|
|
2239
|
+
const _0x2876fd = _0x176228;
|
|
2259
2240
|
try {
|
|
2260
|
-
return textResult(await
|
|
2261
|
-
} catch (
|
|
2262
|
-
return textResult(
|
|
2241
|
+
return textResult(await _0xe22f74['create_tasks'](_0xf7c5ae));
|
|
2242
|
+
} catch (_0x3201e3) {
|
|
2243
|
+
return textResult(_0x3201e3 instanceof Error ? _0x3201e3[_0x2876fd(0x16f)] : _0x2876fd(_0x2dd350._0x188fb2), !![]);
|
|
2263
2244
|
}
|
|
2264
|
-
}),
|
|
2265
|
-
'channel':
|
|
2266
|
-
'task_numbers':
|
|
2267
|
-
'subtask_numbers':
|
|
2268
|
-
'message_ids':
|
|
2269
|
-
'evidence':
|
|
2270
|
-
'create_thread':
|
|
2271
|
-
'create_task':
|
|
2272
|
-
}))[
|
|
2273
|
-
'idempotency_key':
|
|
2274
|
-
}, async
|
|
2275
|
-
const
|
|
2245
|
+
}), _0x3148ab[_0x176228(0x1f1)]('claim_tasks', 'Claim\x20tasks\x20in\x20a\x20channel\x20by\x20task\x20number\x20or\x20source\x20message.\x20For\x20subtasks\x20in\x20a\x20thread,\x20use\x20subtask_numbers\x20with\x20a\x20single\x20task_numbers\x20entry.', {
|
|
2246
|
+
'channel': _0x5a7fbd[_0x176228(0x298)](),
|
|
2247
|
+
'task_numbers': _0x5a7fbd[_0x176228(_0x3caa33._0x537b0d)](_0x5a7fbd[_0x176228(_0x3caa33._0x1561d9)]())[_0x176228(0x19e)](),
|
|
2248
|
+
'subtask_numbers': _0x5a7fbd['array'](_0x5a7fbd[_0x176228(_0x3caa33._0x290907)]())[_0x176228(_0x3caa33._0x19c0b7)](),
|
|
2249
|
+
'message_ids': _0x5a7fbd[_0x176228(_0x3caa33._0x5ba973)](_0x5a7fbd['string']())[_0x176228(0x19e)](),
|
|
2250
|
+
'evidence': _0x5a7fbd[_0x176228(_0x3caa33._0x5d8cb7)](_0x5a7fbd['string'](), _0x5a7fbd[_0x176228(_0x3caa33._0x1621da)]({
|
|
2251
|
+
'create_thread': _0x5a7fbd[_0x176228(0x28d)]()[_0x176228(0x19e)](),
|
|
2252
|
+
'create_task': _0x5a7fbd[_0x176228(_0x3caa33._0x306813)]()[_0x176228(0x19e)]()
|
|
2253
|
+
}))[_0x176228(_0x3caa33._0x19c0b7)](),
|
|
2254
|
+
'idempotency_key': _0x5a7fbd[_0x176228(_0x3caa33._0x9bf89d)]()[_0x176228(_0x3caa33._0xafff6c)]()
|
|
2255
|
+
}, async _0x1a7c9c => {
|
|
2256
|
+
const _0x4013fa = _0x176228;
|
|
2276
2257
|
try {
|
|
2277
|
-
return textResult(await
|
|
2278
|
-
} catch (
|
|
2279
|
-
return textResult(
|
|
2258
|
+
return textResult(await _0xe22f74[_0x4013fa(_0x2ca186._0x5532eb)](_0x1a7c9c));
|
|
2259
|
+
} catch (_0x4273fd) {
|
|
2260
|
+
return textResult(_0x4273fd instanceof Error ? _0x4273fd[_0x4013fa(_0x2ca186._0x15a8cf)] : 'claim_tasks\x20failed', !![]);
|
|
2280
2261
|
}
|
|
2281
|
-
}),
|
|
2282
|
-
'channel':
|
|
2283
|
-
'task_number':
|
|
2284
|
-
'subtask_number':
|
|
2285
|
-
'idempotency_key':
|
|
2286
|
-
}, async
|
|
2287
|
-
const
|
|
2262
|
+
}), _0x3148ab[_0x176228(0x1f1)](_0x176228(_0x3caa33._0x571fc9), _0x176228(0x193), {
|
|
2263
|
+
'channel': _0x5a7fbd[_0x176228(_0x3caa33._0x55bfdb)](),
|
|
2264
|
+
'task_number': _0x5a7fbd[_0x176228(0x1e3)](),
|
|
2265
|
+
'subtask_number': _0x5a7fbd[_0x176228(_0x3caa33._0x1561d9)]()[_0x176228(_0x3caa33._0xafff6c)](),
|
|
2266
|
+
'idempotency_key': _0x5a7fbd[_0x176228(0x298)]()[_0x176228(0x19e)]()
|
|
2267
|
+
}, async _0x24e6aa => {
|
|
2268
|
+
const _0x26fefb = _0x176228;
|
|
2288
2269
|
try {
|
|
2289
|
-
return textResult(await
|
|
2290
|
-
} catch (
|
|
2291
|
-
return textResult(
|
|
2270
|
+
return textResult(await _0xe22f74['unclaim_task'](_0x24e6aa));
|
|
2271
|
+
} catch (_0x189b61) {
|
|
2272
|
+
return textResult(_0x189b61 instanceof Error ? _0x189b61[_0x26fefb(_0x59d477._0x1ff951)] : _0x26fefb(_0x59d477._0x33507f), !![]);
|
|
2292
2273
|
}
|
|
2293
|
-
}),
|
|
2294
|
-
'channel':
|
|
2295
|
-
'task_number':
|
|
2296
|
-
'subtask_number':
|
|
2297
|
-
'status':
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2274
|
+
}), _0x3148ab[_0x176228(_0x3caa33._0x45e39e)](_0x176228(0x228), _0x176228(0x208), {
|
|
2275
|
+
'channel': _0x5a7fbd['string'](),
|
|
2276
|
+
'task_number': _0x5a7fbd[_0x176228(0x1e3)](),
|
|
2277
|
+
'subtask_number': _0x5a7fbd[_0x176228(_0x3caa33._0x1561d9)]()[_0x176228(0x19e)](),
|
|
2278
|
+
'status': _0x5a7fbd[_0x176228(0x184)]([
|
|
2279
|
+
_0x176228(0x279),
|
|
2280
|
+
_0x176228(0x26e),
|
|
2281
|
+
_0x176228(0x1ac),
|
|
2282
|
+
'done'
|
|
2302
2283
|
]),
|
|
2303
|
-
'idempotency_key':
|
|
2304
|
-
}, async
|
|
2305
|
-
const
|
|
2284
|
+
'idempotency_key': _0x5a7fbd[_0x176228(0x298)]()[_0x176228(_0x3caa33._0x19c0b7)]()
|
|
2285
|
+
}, async _0x174a66 => {
|
|
2286
|
+
const _0x3edbf5 = _0x176228;
|
|
2306
2287
|
try {
|
|
2307
|
-
return textResult(await
|
|
2308
|
-
} catch (
|
|
2309
|
-
return textResult(
|
|
2288
|
+
return textResult(await _0xe22f74[_0x3edbf5(0x228)](_0x174a66));
|
|
2289
|
+
} catch (_0x21d5b0) {
|
|
2290
|
+
return textResult(_0x21d5b0 instanceof Error ? _0x21d5b0[_0x3edbf5(0x16f)] : _0x3edbf5(0x1c6), !![]);
|
|
2310
2291
|
}
|
|
2311
|
-
}),
|
|
2312
|
-
'channel':
|
|
2313
|
-
'file_path':
|
|
2314
|
-
}, async
|
|
2315
|
-
const
|
|
2292
|
+
}), _0x3148ab['tool'](_0x176228(_0x3caa33._0x2f2f8e), _0x176228(_0x3caa33._0x436b03), {
|
|
2293
|
+
'channel': _0x5a7fbd['string'](),
|
|
2294
|
+
'file_path': _0x5a7fbd['string']()
|
|
2295
|
+
}, async _0x4579b4 => {
|
|
2296
|
+
const _0x1555e0 = _0x176228;
|
|
2316
2297
|
try {
|
|
2317
|
-
return textResult(await
|
|
2318
|
-
} catch (
|
|
2319
|
-
return textResult(
|
|
2298
|
+
return textResult(await _0xe22f74[_0x1555e0(_0x34efd9._0x2cbbf4)](_0x4579b4));
|
|
2299
|
+
} catch (_0x5e1b05) {
|
|
2300
|
+
return textResult(_0x5e1b05 instanceof Error ? _0x5e1b05[_0x1555e0(_0x34efd9._0x39b6e5)] : _0x1555e0(_0x34efd9._0x173e18), !![]);
|
|
2320
2301
|
}
|
|
2321
|
-
}),
|
|
2322
|
-
const
|
|
2302
|
+
}), _0x3148ab[_0x176228(0x1f1)](_0x176228(0x138), _0x176228(0x1bc), { 'attachment_id': _0x5a7fbd['string']() }, async _0x35b6b6 => {
|
|
2303
|
+
const _0x44e5bc = _0x176228;
|
|
2323
2304
|
try {
|
|
2324
|
-
return textResult(await
|
|
2325
|
-
} catch (
|
|
2326
|
-
return textResult(
|
|
2305
|
+
return textResult(await _0xe22f74[_0x44e5bc(_0x1785af._0x3f0870)](_0x35b6b6));
|
|
2306
|
+
} catch (_0xba138f) {
|
|
2307
|
+
return textResult(_0xba138f instanceof Error ? _0xba138f[_0x44e5bc(_0x1785af._0x36485a)] : 'view_file\x20failed', !![]);
|
|
2327
2308
|
}
|
|
2328
|
-
}),
|
|
2329
|
-
const
|
|
2309
|
+
}), _0x3148ab['tool'](_0x176228(0x1d4), _0x176228(_0x3caa33._0x2a50c1), { 'work_key': _0x5a7fbd[_0x176228(0x298)]() }, async _0x4145db => {
|
|
2310
|
+
const _0x28f487 = _0x176228;
|
|
2330
2311
|
try {
|
|
2331
|
-
return textResult(await
|
|
2332
|
-
} catch (
|
|
2333
|
-
return textResult(
|
|
2312
|
+
return textResult(await _0xe22f74[_0x28f487(0x1d4)](_0x4145db));
|
|
2313
|
+
} catch (_0x327837) {
|
|
2314
|
+
return textResult(_0x327837 instanceof Error ? _0x327837[_0x28f487(_0x2de6d0._0x4f6511)] : _0x28f487(0x1d5), !![]);
|
|
2334
2315
|
}
|
|
2335
|
-
}),
|
|
2336
|
-
const
|
|
2316
|
+
}), _0x3148ab['tool'](_0x176228(_0x3caa33._0x3f314d), _0x176228(_0x3caa33._0x109850), { 'work_key': _0x5a7fbd['string']() }, async _0x3b070d => {
|
|
2317
|
+
const _0x7fb7d0 = _0x176228;
|
|
2337
2318
|
try {
|
|
2338
|
-
return textResult(await
|
|
2339
|
-
} catch (
|
|
2340
|
-
return textResult(
|
|
2319
|
+
return textResult(await _0xe22f74['park_worker'](_0x3b070d));
|
|
2320
|
+
} catch (_0x2f4629) {
|
|
2321
|
+
return textResult(_0x2f4629 instanceof Error ? _0x2f4629[_0x7fb7d0(_0x2b8ff8._0x5b4ef8)] : 'park_worker\x20failed', !![]);
|
|
2341
2322
|
}
|
|
2342
|
-
}), !
|
|
2343
|
-
'work_key':
|
|
2344
|
-
'reason':
|
|
2345
|
-
}, async
|
|
2346
|
-
const
|
|
2323
|
+
}), !_0x29d53a?.['workerMode'] && _0x3148ab[_0x176228(0x1f1)]('escalate_to_main', _0x176228(_0x3caa33._0x4c3e60), {
|
|
2324
|
+
'work_key': _0x5a7fbd[_0x176228(_0x3caa33._0x9bf89d)](),
|
|
2325
|
+
'reason': _0x5a7fbd[_0x176228(_0x3caa33._0x1dc09a)]()
|
|
2326
|
+
}, async _0x29fb0a => {
|
|
2327
|
+
const _0x1e20cd = _0x176228;
|
|
2347
2328
|
try {
|
|
2348
|
-
return textResult(await
|
|
2349
|
-
} catch (
|
|
2350
|
-
return textResult(
|
|
2329
|
+
return textResult(await _0xe22f74[_0x1e20cd(_0x28ded0._0x5327e9)](_0x29fb0a));
|
|
2330
|
+
} catch (_0x16d535) {
|
|
2331
|
+
return textResult(_0x16d535 instanceof Error ? _0x16d535[_0x1e20cd(0x16f)] : 'escalate_to_main\x20failed', !![]);
|
|
2351
2332
|
}
|
|
2352
|
-
}),
|
|
2353
|
-
const
|
|
2333
|
+
}), _0x29d53a?.[_0x176228(0x17b)] && _0x3148ab[_0x176228(_0x3caa33._0x45e39e)](_0x176228(0x244), _0x176228(_0x3caa33._0x44bc09), { 'work_key': _0x5a7fbd[_0x176228(0x298)]() }, async _0x5c0edb => {
|
|
2334
|
+
const _0x1a33ec = _0x176228;
|
|
2354
2335
|
try {
|
|
2355
|
-
return textResult(await
|
|
2356
|
-
} catch (
|
|
2357
|
-
return textResult(
|
|
2336
|
+
return textResult(await _0xe22f74[_0x1a33ec(0x244)](_0x5c0edb));
|
|
2337
|
+
} catch (_0x2b3ccb) {
|
|
2338
|
+
return textResult(_0x2b3ccb instanceof Error ? _0x2b3ccb[_0x1a33ec(0x16f)] : _0x1a33ec(0x2a9), !![]);
|
|
2358
2339
|
}
|
|
2359
2340
|
});
|
|
2360
2341
|
}
|
|
2361
|
-
async function createChatBridgeServer(
|
|
2362
|
-
const
|
|
2342
|
+
async function createChatBridgeServer(_0x23824f) {
|
|
2343
|
+
const _0x5daf82 = {
|
|
2344
|
+
_0x9d0267: 0x198,
|
|
2345
|
+
_0x376997: 0x1ff
|
|
2346
|
+
}, _0x366b73 = _0x10d6b5, {McpServer: _0x26fe71} = await import(_0x366b73(_0x5daf82._0x9d0267)), _0x16ddad = new _0x26fe71({
|
|
2363
2347
|
'name': 'chat',
|
|
2364
|
-
'version':
|
|
2365
|
-
}),
|
|
2366
|
-
return await registerChatBridgeTools(
|
|
2367
|
-
'handlers':
|
|
2368
|
-
'server':
|
|
2348
|
+
'version': _0x366b73(_0x5daf82._0x376997)
|
|
2349
|
+
}), _0x1d4e14 = createChatBridgeHandlers(_0x23824f);
|
|
2350
|
+
return await registerChatBridgeTools(_0x16ddad, _0x1d4e14, { 'workerMode': _0x23824f[_0x366b73(0x17b)] }), {
|
|
2351
|
+
'handlers': _0x1d4e14,
|
|
2352
|
+
'server': _0x16ddad
|
|
2369
2353
|
};
|
|
2370
2354
|
}
|
|
2371
|
-
function readFlag(
|
|
2372
|
-
const
|
|
2373
|
-
if (
|
|
2355
|
+
function readFlag(_0x52e0ca, _0x859a5a) {
|
|
2356
|
+
const _0x2b88f7 = _0x52e0ca['indexOf'](_0x859a5a);
|
|
2357
|
+
if (_0x2b88f7 === -0x1)
|
|
2374
2358
|
return void 0x0;
|
|
2375
|
-
return
|
|
2359
|
+
return _0x52e0ca[_0x2b88f7 + 0x1];
|
|
2376
2360
|
}
|
|
2377
|
-
function parseChatBridgeArgs(
|
|
2378
|
-
const
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2361
|
+
function parseChatBridgeArgs(_0x43e773) {
|
|
2362
|
+
const _0x115544 = {
|
|
2363
|
+
_0x323993: 0x13a,
|
|
2364
|
+
_0x243424: 0x22e,
|
|
2365
|
+
_0x262521: 0x1cb,
|
|
2366
|
+
_0x3a451f: 0x1c3,
|
|
2367
|
+
_0x40e8a7: 0x2b2,
|
|
2368
|
+
_0x3a8462: 0x282,
|
|
2369
|
+
_0x4c6981: 0x17f,
|
|
2370
|
+
_0x343e09: 0x1ab,
|
|
2371
|
+
_0x546230: 0x18c
|
|
2372
|
+
}, _0xf384d3 = _0x10d6b5, _0x5a4d87 = readFlag(_0x43e773, _0xf384d3(_0x115544._0x323993)), _0x6bf70e = readFlag(_0x43e773, _0xf384d3(_0x115544._0x243424)), _0x280732 = readFlag(_0x43e773, _0xf384d3(_0x115544._0x262521)), _0x2a7f10 = readFlag(_0x43e773, '--initial-last-seen-seq'), _0x7e0855 = readFlag(_0x43e773, _0xf384d3(_0x115544._0x3a451f)) ?? _0xf384d3(0x268), _0x3bbb21 = readFlag(_0x43e773, _0xf384d3(0x27c)), _0x4db7d1 = readFlag(_0x43e773, '--session-id'), _0xeeeffd = readFlag(_0x43e773, _0xf384d3(_0x115544._0x40e8a7)), _0x26bfa7 = readFlag(_0x43e773, _0xf384d3(0x1b0)), _0x64b5b7 = readFlag(_0x43e773, _0xf384d3(_0x115544._0x3a8462)), _0x4effe8 = _0x43e773['includes']('--worker-mode'), _0x4a7827 = _0x2a7f10 === void 0x0 ? void 0x0 : Number['parseInt'](_0x2a7f10, 0xa);
|
|
2373
|
+
if (!_0x5a4d87)
|
|
2374
|
+
throw new Error(_0xf384d3(_0x115544._0x4c6981));
|
|
2375
|
+
if (!_0x280732)
|
|
2376
|
+
throw new Error(_0xf384d3(0x242));
|
|
2377
|
+
if (_0x2a7f10 !== void 0x0 && (_0x4a7827 === void 0x0 || !Number[_0xf384d3(_0x115544._0x343e09)](_0x4a7827) || _0x4a7827 < 0x0))
|
|
2378
|
+
throw new Error(_0xf384d3(_0x115544._0x546230));
|
|
2392
2379
|
return {
|
|
2393
|
-
'agentId':
|
|
2394
|
-
'attachmentCacheDir':
|
|
2395
|
-
'daemonApiKey':
|
|
2396
|
-
'daemonLocalUrl':
|
|
2397
|
-
'initialLastSeenSeq':
|
|
2398
|
-
'sessionId':
|
|
2399
|
-
'serverUrl':
|
|
2400
|
-
'workerModeEnabled':
|
|
2401
|
-
'workerSessionId':
|
|
2402
|
-
'workerThreadTarget':
|
|
2403
|
-
'workerMode':
|
|
2380
|
+
'agentId': _0x5a4d87,
|
|
2381
|
+
'attachmentCacheDir': _0x6bf70e,
|
|
2382
|
+
'daemonApiKey': _0x280732,
|
|
2383
|
+
'daemonLocalUrl': _0x3bbb21,
|
|
2384
|
+
'initialLastSeenSeq': _0x4a7827,
|
|
2385
|
+
'sessionId': _0x4db7d1,
|
|
2386
|
+
'serverUrl': _0x7e0855,
|
|
2387
|
+
'workerModeEnabled': _0xeeeffd === void 0x0 ? void 0x0 : _0xeeeffd !== _0xf384d3(0x216),
|
|
2388
|
+
'workerSessionId': _0x26bfa7,
|
|
2389
|
+
'workerThreadTarget': _0x64b5b7,
|
|
2390
|
+
'workerMode': _0x4effe8
|
|
2404
2391
|
};
|
|
2405
2392
|
}
|
|
2406
|
-
async function runChatBridgeCli(
|
|
2407
|
-
const
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
'
|
|
2413
|
-
'
|
|
2414
|
-
'
|
|
2393
|
+
async function runChatBridgeCli(_0x2168f1) {
|
|
2394
|
+
const _0x2c5981 = {
|
|
2395
|
+
_0x2272ae: 0x17b,
|
|
2396
|
+
_0x2da6e0: 0x1cc,
|
|
2397
|
+
_0x4d38bd: 0x27b
|
|
2398
|
+
}, _0x431ae9 = _0x10d6b5, _0x5bd373 = parseChatBridgeArgs(_0x2168f1), {StdioServerTransport: _0x3b0109} = await import(_0x431ae9(0x1ca)), _0x2e425c = createInternalAgentClient(_0x5bd373), _0x244cf6 = createAttachmentCache({ 'cacheDir': _0x5bd373['attachmentCacheDir'] }), _0x53cb14 = await createChatBridgeServer({
|
|
2399
|
+
'agentId': _0x5bd373[_0x431ae9(0x202)],
|
|
2400
|
+
'attachmentCache': _0x244cf6,
|
|
2401
|
+
'client': _0x2e425c,
|
|
2402
|
+
'daemonLocalUrl': _0x5bd373['daemonLocalUrl'],
|
|
2415
2403
|
'uploadPreparer': prepareUploadFile,
|
|
2416
|
-
'workerModeEnabled':
|
|
2417
|
-
'workerMode':
|
|
2418
|
-
'workerThreadTarget':
|
|
2404
|
+
'workerModeEnabled': _0x5bd373['workerModeEnabled'],
|
|
2405
|
+
'workerMode': _0x5bd373[_0x431ae9(_0x2c5981._0x2272ae)],
|
|
2406
|
+
'workerThreadTarget': _0x5bd373['workerThreadTarget']
|
|
2419
2407
|
});
|
|
2420
|
-
await
|
|
2408
|
+
await _0x53cb14[_0x431ae9(_0x2c5981._0x2da6e0)][_0x431ae9(_0x2c5981._0x4d38bd)](new _0x3b0109());
|
|
2421
2409
|
}
|
|
2422
|
-
var executedAsEntry = process[
|
|
2423
|
-
executedAsEntry && await runChatBridgeCli(process[
|
|
2410
|
+
var executedAsEntry = process[_0x10d6b5(0x1f3)][0x1] ? import.meta.url === pathToFileURL(process[_0x10d6b5(0x1f3)][0x1])[_0x10d6b5(0x27e)] : ![];
|
|
2411
|
+
executedAsEntry && await runChatBridgeCli(process[_0x10d6b5(0x1f3)][_0x10d6b5(0x230)](0x2));
|
|
2424
2412
|
export {
|
|
2425
2413
|
createChatBridgeHandlers,
|
|
2426
2414
|
createChatBridgeServer,
|