@iflyrpa/actions 1.2.10 → 1.2.11-beta.1
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/actions/common/FansTool/index.d.ts +19 -0
- package/dist/actions/toutiaoPublish/index.d.ts +1 -0
- package/dist/bundle.js +1269 -22
- package/dist/bundle.js.map +1 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +4061 -2801
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1281 -22
- package/dist/index.mjs.map +1 -1
- package/dist/types.d.ts +21 -5
- package/dist/utils/index.d.ts +9 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -9,6 +9,1110 @@ import * as __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__ from "@iflyrpa/s
|
|
|
9
9
|
import * as __WEBPACK_EXTERNAL_MODULE_form_data_cf000082__ from "form-data";
|
|
10
10
|
import * as __WEBPACK_EXTERNAL_MODULE_node_buffer_fb286294__ from "node:buffer";
|
|
11
11
|
import * as __WEBPACK_EXTERNAL_MODULE_node_crypto_9ba42079__ from "node:crypto";
|
|
12
|
+
var __webpack_modules__ = {
|
|
13
|
+
"./src/utils/ttABEncrypt.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
14
|
+
module = __webpack_require__.nmd(module);
|
|
15
|
+
const a0_0x45db08 = a0_0x4b0d;
|
|
16
|
+
function a0_0x4b0d(_0x2bd218, _0x316d6) {
|
|
17
|
+
const _0x165410 = a0_0x1654();
|
|
18
|
+
return a0_0x4b0d = function(_0x4b0d73, _0x5794db) {
|
|
19
|
+
_0x4b0d73 -= 0x84;
|
|
20
|
+
let _0x1859e3 = _0x165410[_0x4b0d73];
|
|
21
|
+
return _0x1859e3;
|
|
22
|
+
}, a0_0x4b0d(_0x2bd218, _0x316d6);
|
|
23
|
+
}
|
|
24
|
+
(function(_0x1b2596, _0x16c0e0) {
|
|
25
|
+
const _0x1227f1 = a0_0x4b0d, _0x46fb59 = _0x1b2596();
|
|
26
|
+
while(true)try {
|
|
27
|
+
const _0x383dd4 = parseInt(_0x1227f1(0x85)) / 0x1 + -parseInt(_0x1227f1(0xb0)) / 0x2 * (-parseInt(_0x1227f1(0x9b)) / 0x3) + parseInt(_0x1227f1(0xaa)) / 0x4 + -parseInt(_0x1227f1(0xa0)) / 0x5 * (parseInt(_0x1227f1(0x9d)) / 0x6) + parseInt(_0x1227f1(0x86)) / 0x7 + -parseInt(_0x1227f1(0xab)) / 0x8 * (parseInt(_0x1227f1(0x8d)) / 0x9) + parseInt(_0x1227f1(0x91)) / 0xa;
|
|
28
|
+
if (_0x383dd4 === _0x16c0e0) break;
|
|
29
|
+
_0x46fb59['push'](_0x46fb59['shift']());
|
|
30
|
+
} catch (_0x4fc071) {
|
|
31
|
+
_0x46fb59['push'](_0x46fb59['shift']());
|
|
32
|
+
}
|
|
33
|
+
})(a0_0x1654, 0x807f8);
|
|
34
|
+
const Random = Math['random'](), Ts = Date['now'](), Sm3DoneTs = Ts + 0x30, xhrParaDoneTs = Ts + 0x109, xhrReqDoneTs = Ts + 0x10af0;
|
|
35
|
+
function a0_0x1654() {
|
|
36
|
+
const _0x46e031 = [
|
|
37
|
+
'floor',
|
|
38
|
+
'dhzx',
|
|
39
|
+
'map',
|
|
40
|
+
'_compress',
|
|
41
|
+
'charCodeAt',
|
|
42
|
+
'min',
|
|
43
|
+
'invalid\x20j\x20for\x20constant\x20Tj',
|
|
44
|
+
'reset',
|
|
45
|
+
'662|856|1920|977|1920|977|1920|1080|Linux\x20x86_64',
|
|
46
|
+
'6GqxJwW',
|
|
47
|
+
'error',
|
|
48
|
+
'1578UVUSyW',
|
|
49
|
+
'fromCharCode',
|
|
50
|
+
'replace',
|
|
51
|
+
'17445vhaSjq',
|
|
52
|
+
'isNaN',
|
|
53
|
+
'toString',
|
|
54
|
+
'push',
|
|
55
|
+
'length',
|
|
56
|
+
'write',
|
|
57
|
+
'reduce',
|
|
58
|
+
'charAt',
|
|
59
|
+
'reg',
|
|
60
|
+
'split',
|
|
61
|
+
'2475936ufrFMu',
|
|
62
|
+
'2137592VTpBSF',
|
|
63
|
+
'join',
|
|
64
|
+
'Dkdpgh2ZmsQB80/MfvV36XI1R45-WUAlEixNLwoqYTOPuzKFjJnry79HbGcaStCe',
|
|
65
|
+
'exports',
|
|
66
|
+
'fmUmtNjj1OfTrR716RULEyQaLPrOG1jpZz0/4Tyzr7/IbcOXs8PxVxHmrAIsIMm6IfTserj+JgCbPHUssUmedGKwCrIziubgSU0FT1MmqPOZXcPDGB3xUyq+vaM7HZyYgJtKyMR=',
|
|
67
|
+
'48064qVwnFy',
|
|
68
|
+
'concat',
|
|
69
|
+
'prototype',
|
|
70
|
+
'167524mhzzJE',
|
|
71
|
+
'5968354Oyyfma',
|
|
72
|
+
'chunk',
|
|
73
|
+
'string',
|
|
74
|
+
'forEach',
|
|
75
|
+
'size',
|
|
76
|
+
'slice',
|
|
77
|
+
'sort',
|
|
78
|
+
'9BjSPrC',
|
|
79
|
+
'sum',
|
|
80
|
+
'repeat',
|
|
81
|
+
'splice',
|
|
82
|
+
'239400JtRPVl'
|
|
83
|
+
];
|
|
84
|
+
a0_0x1654 = function() {
|
|
85
|
+
return _0x46e031;
|
|
86
|
+
};
|
|
87
|
+
return a0_0x1654();
|
|
88
|
+
}
|
|
89
|
+
class SM3Hasher {
|
|
90
|
+
constructor(){
|
|
91
|
+
const _0x468533 = a0_0x4b0d;
|
|
92
|
+
this[_0x468533(0xa8)] = new Array(0x8), this[_0x468533(0x87)] = [], this[_0x468533(0x8a)] = 0x0, this[_0x468533(0x99)]();
|
|
93
|
+
}
|
|
94
|
+
[a0_0x45db08(0x99)]() {
|
|
95
|
+
const _0x11e792 = a0_0x45db08;
|
|
96
|
+
this[_0x11e792(0xa8)][0x0] = 0x7380166f, this[_0x11e792(0xa8)][0x1] = 0x4914b2b9, this['reg'][0x2] = 0x172442d7, this[_0x11e792(0xa8)][0x3] = 0xda8a0600, this['reg'][0x4] = 0xa96f30bc, this[_0x11e792(0xa8)][0x5] = 0x163138aa, this[_0x11e792(0xa8)][0x6] = 0xe38dee4d, this[_0x11e792(0xa8)][0x7] = 0xb0fb0e4e, this[_0x11e792(0x87)] = [], this[_0x11e792(0x8a)] = 0x0;
|
|
97
|
+
}
|
|
98
|
+
[a0_0x45db08(0xa5)](_0x22d1ef) {
|
|
99
|
+
const _0x182388 = a0_0x45db08;
|
|
100
|
+
var _0x2ded18 = _0x182388(0x88) == typeof _0x22d1ef ? function(_0x5e491d) {
|
|
101
|
+
const _0x12d911 = _0x182388;
|
|
102
|
+
var _0x5795ab = encodeURIComponent(_0x5e491d)[_0x12d911(0x9f)](/%([0-9A-F]{2})/g, function(_0x22d98b, _0x5659da) {
|
|
103
|
+
const _0x357908 = _0x12d911;
|
|
104
|
+
return String[_0x357908(0x9e)]('0x' + _0x5659da);
|
|
105
|
+
}), _0x5c0d1c = new Array(_0x5795ab['length']);
|
|
106
|
+
return Array[_0x12d911(0x84)][_0x12d911(0x89)]['call'](_0x5795ab, function(_0x2e8583, _0x28f42f) {
|
|
107
|
+
const _0x4b2a85 = _0x12d911;
|
|
108
|
+
_0x5c0d1c[_0x28f42f] = _0x2e8583[_0x4b2a85(0x96)](0x0);
|
|
109
|
+
}), _0x5c0d1c;
|
|
110
|
+
}(_0x22d1ef) : _0x22d1ef;
|
|
111
|
+
this['size'] += _0x2ded18['length'];
|
|
112
|
+
var _0xffe4ea = 0x40 - this[_0x182388(0x87)][_0x182388(0xa4)];
|
|
113
|
+
if (_0x2ded18[_0x182388(0xa4)] < _0xffe4ea) this['chunk'] = this[_0x182388(0x87)][_0x182388(0xb1)](_0x2ded18);
|
|
114
|
+
else for(this['chunk'] = this[_0x182388(0x87)][_0x182388(0xb1)](_0x2ded18[_0x182388(0x8b)](0x0, _0xffe4ea)); this[_0x182388(0x87)]['length'] >= 0x40;)this['_compress'](this[_0x182388(0x87)]), _0xffe4ea < _0x2ded18[_0x182388(0xa4)] ? this['chunk'] = _0x2ded18[_0x182388(0x8b)](_0xffe4ea, Math[_0x182388(0x97)](_0xffe4ea + 0x40, _0x2ded18['length'])) : this[_0x182388(0x87)] = [], _0xffe4ea += 0x40;
|
|
115
|
+
}
|
|
116
|
+
[a0_0x45db08(0x8e)](_0x34ff8d, _0xecf9f6) {
|
|
117
|
+
const _0x3ddb20 = a0_0x45db08;
|
|
118
|
+
_0x34ff8d && (this[_0x3ddb20(0x99)](), this[_0x3ddb20(0xa5)](_0x34ff8d)), this['_fill']();
|
|
119
|
+
for(var _0x28ac8a = 0x0; _0x28ac8a < this[_0x3ddb20(0x87)][_0x3ddb20(0xa4)]; _0x28ac8a += 0x40)this[_0x3ddb20(0x95)](this[_0x3ddb20(0x87)]['slice'](_0x28ac8a, _0x28ac8a + 0x40));
|
|
120
|
+
var _0x117621, _0x335539, _0x450e58, _0x5b1ad8 = null;
|
|
121
|
+
if ('hex' == _0xecf9f6) {
|
|
122
|
+
_0x5b1ad8 = '';
|
|
123
|
+
for(_0x28ac8a = 0x0; _0x28ac8a < 0x8; _0x28ac8a++)_0x5b1ad8 += (_0x117621 = this[_0x3ddb20(0xa8)][_0x28ac8a][_0x3ddb20(0xa2)](0x10), _0x335539 = 0x8, _0x450e58 = '0', _0x117621[_0x3ddb20(0xa4)] >= _0x335539 ? _0x117621 : _0x450e58[_0x3ddb20(0x8f)](_0x335539 - _0x117621[_0x3ddb20(0xa4)]) + _0x117621);
|
|
124
|
+
} else for(_0x5b1ad8 = new Array(0x20), _0x28ac8a = 0x0; _0x28ac8a < 0x8; _0x28ac8a++){
|
|
125
|
+
var _0x46ad66 = this[_0x3ddb20(0xa8)][_0x28ac8a];
|
|
126
|
+
_0x5b1ad8[0x4 * _0x28ac8a + 0x3] = (0xff & _0x46ad66) >>> 0x0, _0x46ad66 >>>= 0x8, _0x5b1ad8[0x4 * _0x28ac8a + 0x2] = (0xff & _0x46ad66) >>> 0x0, _0x46ad66 >>>= 0x8, _0x5b1ad8[0x4 * _0x28ac8a + 0x1] = (0xff & _0x46ad66) >>> 0x0, _0x46ad66 >>>= 0x8, _0x5b1ad8[0x4 * _0x28ac8a] = (0xff & _0x46ad66) >>> 0x0;
|
|
127
|
+
}
|
|
128
|
+
return this[_0x3ddb20(0x99)](), _0x5b1ad8;
|
|
129
|
+
}
|
|
130
|
+
['_fill']() {
|
|
131
|
+
const _0xa844a0 = a0_0x45db08;
|
|
132
|
+
var _0x15bc36 = 0x8 * this[_0xa844a0(0x8a)], _0x4a32f3 = this['chunk'][_0xa844a0(0xa3)](0x80) % 0x40;
|
|
133
|
+
for(0x40 - _0x4a32f3 < 0x8 && (_0x4a32f3 -= 0x40); _0x4a32f3 < 0x38; _0x4a32f3++)this[_0xa844a0(0x87)][_0xa844a0(0xa3)](0x0);
|
|
134
|
+
for(var _0x36cc0b = 0x0; _0x36cc0b < 0x4; _0x36cc0b++){
|
|
135
|
+
var _0xd7dcfe = Math[_0xa844a0(0x92)](_0x15bc36 / 0x100000000);
|
|
136
|
+
this['chunk'][_0xa844a0(0xa3)](_0xd7dcfe >>> 0x8 * (0x3 - _0x36cc0b) & 0xff);
|
|
137
|
+
}
|
|
138
|
+
for(_0x36cc0b = 0x0; _0x36cc0b < 0x4; _0x36cc0b++)this[_0xa844a0(0x87)][_0xa844a0(0xa3)](_0x15bc36 >>> 0x8 * (0x3 - _0x36cc0b) & 0xff);
|
|
139
|
+
}
|
|
140
|
+
[a0_0x45db08(0x95)](_0x1e530c) {
|
|
141
|
+
const _0x3c50af = a0_0x45db08;
|
|
142
|
+
function _0x3da582(_0x14b06e, _0x4ec82e) {
|
|
143
|
+
return (_0x14b06e << (_0x4ec82e %= 0x20) | _0x14b06e >>> 0x20 - _0x4ec82e) >>> 0x0;
|
|
144
|
+
}
|
|
145
|
+
function _0x489962(_0x5dd43e) {
|
|
146
|
+
const _0x744660 = a0_0x4b0d;
|
|
147
|
+
return 0x0 <= _0x5dd43e && _0x5dd43e < 0x10 ? 0x79cc4519 : 0x10 <= _0x5dd43e && _0x5dd43e < 0x40 ? 0x7a879d8a : void console[_0x744660(0x9c)](_0x744660(0x98));
|
|
148
|
+
}
|
|
149
|
+
function _0x197f71(_0x5e22dd, _0xfc800b, _0x1300f1, _0xed8891) {
|
|
150
|
+
const _0x3414cb = a0_0x4b0d;
|
|
151
|
+
return 0x0 <= _0x5e22dd && _0x5e22dd < 0x10 ? (_0xfc800b ^ _0x1300f1 ^ _0xed8891) >>> 0x0 : 0x10 <= _0x5e22dd && _0x5e22dd < 0x40 ? (_0xfc800b & _0x1300f1 | _0xfc800b & _0xed8891 | _0x1300f1 & _0xed8891) >>> 0x0 : (console[_0x3414cb(0x9c)]('invalid\x20j\x20for\x20bool\x20function\x20FF'), 0x0);
|
|
152
|
+
}
|
|
153
|
+
function _0x2f42fb(_0x326645, _0x2c63af, _0x558c0d, _0x4a902b) {
|
|
154
|
+
const _0x493bba = a0_0x4b0d;
|
|
155
|
+
return 0x0 <= _0x326645 && _0x326645 < 0x10 ? (_0x2c63af ^ _0x558c0d ^ _0x4a902b) >>> 0x0 : 0x10 <= _0x326645 && _0x326645 < 0x40 ? (_0x2c63af & _0x558c0d | ~_0x2c63af & _0x4a902b) >>> 0x0 : (console[_0x493bba(0x9c)]('invalid\x20j\x20for\x20bool\x20function\x20GG'), 0x0);
|
|
156
|
+
}
|
|
157
|
+
if (_0x1e530c[_0x3c50af(0xa4)] < 0x40) {
|
|
158
|
+
console[_0x3c50af(0x9c)]('compress\x20error:\x20not\x20enough\x20data');
|
|
159
|
+
return;
|
|
160
|
+
}
|
|
161
|
+
for(var _0x23a9bd = function(_0x7114f5) {
|
|
162
|
+
for(var _0x49cf1f = new Array(0x84), _0x698c70 = 0x0; _0x698c70 < 0x10; _0x698c70++)_0x49cf1f[_0x698c70] = _0x7114f5[0x4 * _0x698c70] << 0x18, _0x49cf1f[_0x698c70] |= _0x7114f5[0x4 * _0x698c70 + 0x1] << 0x10, _0x49cf1f[_0x698c70] |= _0x7114f5[0x4 * _0x698c70 + 0x2] << 0x8, _0x49cf1f[_0x698c70] |= _0x7114f5[0x4 * _0x698c70 + 0x3], _0x49cf1f[_0x698c70] >>>= 0x0;
|
|
163
|
+
for(var _0xe5328 = 0x10; _0xe5328 < 0x44; _0xe5328++){
|
|
164
|
+
var _0x2b58f2 = _0x49cf1f[_0xe5328 - 0x10] ^ _0x49cf1f[_0xe5328 - 0x9] ^ _0x3da582(_0x49cf1f[_0xe5328 - 0x3], 0xf);
|
|
165
|
+
_0x2b58f2 = _0x2b58f2 ^ _0x3da582(_0x2b58f2, 0xf) ^ _0x3da582(_0x2b58f2, 0x17), _0x49cf1f[_0xe5328] = (_0x2b58f2 ^ _0x3da582(_0x49cf1f[_0xe5328 - 0xd], 0x7) ^ _0x49cf1f[_0xe5328 - 0x6]) >>> 0x0;
|
|
166
|
+
}
|
|
167
|
+
for(_0xe5328 = 0x0; _0xe5328 < 0x40; _0xe5328++)_0x49cf1f[_0xe5328 + 0x44] = (_0x49cf1f[_0xe5328] ^ _0x49cf1f[_0xe5328 + 0x4]) >>> 0x0;
|
|
168
|
+
return _0x49cf1f;
|
|
169
|
+
}(_0x1e530c), _0x17c086 = this[_0x3c50af(0xa8)][_0x3c50af(0x8b)](0x0), _0x3621a2 = 0x0; _0x3621a2 < 0x40; _0x3621a2++){
|
|
170
|
+
var _0x5959b9 = _0x3da582(_0x17c086[0x0], 0xc) + _0x17c086[0x4] + _0x3da582(_0x489962(_0x3621a2), _0x3621a2), _0x3b42ff = ((_0x5959b9 = _0x3da582(_0x5959b9 = (0xffffffff & _0x5959b9) >>> 0x0, 0x7)) ^ _0x3da582(_0x17c086[0x0], 0xc)) >>> 0x0, _0x50d411 = _0x197f71(_0x3621a2, _0x17c086[0x0], _0x17c086[0x1], _0x17c086[0x2]);
|
|
171
|
+
_0x50d411 = (0xffffffff & (_0x50d411 = _0x50d411 + _0x17c086[0x3] + _0x3b42ff + _0x23a9bd[_0x3621a2 + 0x44])) >>> 0x0;
|
|
172
|
+
var _0x910e21 = _0x2f42fb(_0x3621a2, _0x17c086[0x4], _0x17c086[0x5], _0x17c086[0x6]);
|
|
173
|
+
_0x910e21 = (0xffffffff & (_0x910e21 = _0x910e21 + _0x17c086[0x7] + _0x5959b9 + _0x23a9bd[_0x3621a2])) >>> 0x0, _0x17c086[0x3] = _0x17c086[0x2], _0x17c086[0x2] = _0x3da582(_0x17c086[0x1], 0x9), _0x17c086[0x1] = _0x17c086[0x0], _0x17c086[0x0] = _0x50d411, _0x17c086[0x7] = _0x17c086[0x6], _0x17c086[0x6] = _0x3da582(_0x17c086[0x5], 0x13), _0x17c086[0x5] = _0x17c086[0x4], _0x17c086[0x4] = (_0x910e21 ^ _0x3da582(_0x910e21, 0x9) ^ _0x3da582(_0x910e21, 0x11)) >>> 0x0;
|
|
174
|
+
}
|
|
175
|
+
for(var _0x459622 = 0x0; _0x459622 < 0x8; _0x459622++)this['reg'][_0x459622] = (this[_0x3c50af(0xa8)][_0x459622] ^ _0x17c086[_0x459622]) >>> 0x0;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
function EnvData2CharCode(_0x58cd97, _0x23e1e0, _0x3ca6b2) {
|
|
179
|
+
const _0x56cb93 = a0_0x45db08;
|
|
180
|
+
let _0x2d49d4 = 0xf0 * Random >> 0x0 > 0x6d ? (0xf0 * Random >> 0x0) + 0x2 : 0xf0 * Random >> 0x0, _0x3f2013 = 0xff * Random >> 0x0 & 0x4d | 178, _0x4b8ded = [
|
|
181
|
+
0xffff * Random & 170 | 0x55 & [
|
|
182
|
+
0x1,
|
|
183
|
+
0x0,
|
|
184
|
+
0x1,
|
|
185
|
+
0xf
|
|
186
|
+
][_0x56cb93(0x8b)](0x0, 0x2)[0x0],
|
|
187
|
+
0xffff * Random & 85 | 0xaa & [
|
|
188
|
+
0x1,
|
|
189
|
+
0x0,
|
|
190
|
+
0x1,
|
|
191
|
+
0xf
|
|
192
|
+
][_0x56cb93(0x8b)](0x0, 0x2)[0x0],
|
|
193
|
+
0xffff * Random >> 0x8 & 0xaa | 0x55 & [
|
|
194
|
+
0x1,
|
|
195
|
+
0x0,
|
|
196
|
+
0x1,
|
|
197
|
+
0xf
|
|
198
|
+
]['slice'](0x0, 0x2)[0x1],
|
|
199
|
+
0xffff * Random >> 0x8 & 0x55 | 0xaa & [
|
|
200
|
+
0x1,
|
|
201
|
+
0x0,
|
|
202
|
+
0x1,
|
|
203
|
+
0xf
|
|
204
|
+
][_0x56cb93(0x8b)](0x0, 0x2)[0x1],
|
|
205
|
+
0xaa & _0x2d49d4 | 0x55 & [
|
|
206
|
+
0x1,
|
|
207
|
+
0x0,
|
|
208
|
+
0x1,
|
|
209
|
+
0xf
|
|
210
|
+
][_0x56cb93(0x8b)](0x2, 0x4)[0x0],
|
|
211
|
+
0x55 & _0x2d49d4 | 0xaa & [
|
|
212
|
+
0x1,
|
|
213
|
+
0x0,
|
|
214
|
+
0x1,
|
|
215
|
+
0xf
|
|
216
|
+
][_0x56cb93(0x8b)](0x2, 0x4)[0x0],
|
|
217
|
+
0xaa & _0x3f2013 | 0x55 & [
|
|
218
|
+
0x1,
|
|
219
|
+
0x0,
|
|
220
|
+
0x1,
|
|
221
|
+
0xf
|
|
222
|
+
][_0x56cb93(0x8b)](0x2, 0x4)[0x1],
|
|
223
|
+
0x55 & _0x3f2013 | 0xaa & [
|
|
224
|
+
0x1,
|
|
225
|
+
0x0,
|
|
226
|
+
0x1,
|
|
227
|
+
0xf
|
|
228
|
+
][_0x56cb93(0x8b)](0x2, 0x4)[0x1]
|
|
229
|
+
], _0x5bb315 = _0x56cb93(0x9a)['split']('')[_0x56cb93(0x94)]((_0x42b4c4)=>_0x42b4c4[_0x56cb93(0x96)](0x0)), _0x1cdc95 = ((0xff & String(xhrParaDoneTs + 0x3)) + ',')[_0x56cb93(0xa9)]('')[_0x56cb93(0x94)]((_0x58aa5d)=>_0x58aa5d[_0x56cb93(0x96)](0x0));
|
|
230
|
+
const _0x26ee7a = new SM3Hasher(), _0xe2d586 = _0x26ee7a[_0x56cb93(0x8e)](_0x26ee7a['sum'](_0x58cd97 + _0x56cb93(0x93))), _0x571095 = _0x26ee7a[_0x56cb93(0x8e)](_0x26ee7a[_0x56cb93(0x8e)](_0x23e1e0 + 'dhzx')), _0x4dabdb = _0x26ee7a[_0x56cb93(0x8e)](_0x3ca6b2);
|
|
231
|
+
let _0x4139e6 = [
|
|
232
|
+
0x29,
|
|
233
|
+
(xhrReqDoneTs - 0x190e5788800) / 0x3e8 / 0x3c / 0x3c / 0x18 / 0xe >> 0x0,
|
|
234
|
+
0x6,
|
|
235
|
+
xhrParaDoneTs - Ts + 0x3 & 0xff,
|
|
236
|
+
0xff & xhrParaDoneTs,
|
|
237
|
+
xhrParaDoneTs >> 0x8 & 0xff,
|
|
238
|
+
xhrParaDoneTs >> 0x10 & 0xff,
|
|
239
|
+
xhrParaDoneTs >> 0x18 & 0xff,
|
|
240
|
+
xhrParaDoneTs / 0x100 / 0x100 / 0x100 / 0x100 & 0xff,
|
|
241
|
+
xhrParaDoneTs / 0x100 / 0x100 / 0x100 / 0x100 / 0x100 & 0xff,
|
|
242
|
+
xhrParaDoneTs / 0x100 / 0x100 / 0x100 / 0x100 / 0x100 & 255,
|
|
243
|
+
xhrParaDoneTs / 0x100 / 0x100 / 0x100 / 0x100 / 0x100 & 0,
|
|
244
|
+
1,
|
|
245
|
+
0,
|
|
246
|
+
0xa,
|
|
247
|
+
0x4,
|
|
248
|
+
0x4,
|
|
249
|
+
0x0,
|
|
250
|
+
8,
|
|
251
|
+
0,
|
|
252
|
+
0,
|
|
253
|
+
0,
|
|
254
|
+
_0xe2d586[0x9],
|
|
255
|
+
_0xe2d586[0x12],
|
|
256
|
+
0x3,
|
|
257
|
+
_0xe2d586[0x3],
|
|
258
|
+
_0x571095[0xa],
|
|
259
|
+
_0x571095[0x13],
|
|
260
|
+
0x4,
|
|
261
|
+
_0x571095[0x4],
|
|
262
|
+
_0x4dabdb[0xb],
|
|
263
|
+
_0x4dabdb[0x15],
|
|
264
|
+
0x5,
|
|
265
|
+
_0x4dabdb[0x5],
|
|
266
|
+
0xff & Sm3DoneTs,
|
|
267
|
+
Sm3DoneTs >> 0x8 & 0xff,
|
|
268
|
+
Sm3DoneTs >> 0x10 & 0xff,
|
|
269
|
+
Sm3DoneTs >> 0x18 & 0xff,
|
|
270
|
+
Sm3DoneTs / 0x100 / 0x100 / 0x100 / 0x100 & 0xff,
|
|
271
|
+
Sm3DoneTs / 0x100 / 0x100 / 0x100 / 0x100 / 0x100 & 0xff,
|
|
272
|
+
0x3,
|
|
273
|
+
41,
|
|
274
|
+
101,
|
|
275
|
+
0,
|
|
276
|
+
0,
|
|
277
|
+
207,
|
|
278
|
+
4,
|
|
279
|
+
0,
|
|
280
|
+
0,
|
|
281
|
+
_0x5bb315['length'],
|
|
282
|
+
_0x5bb315['length'],
|
|
283
|
+
0x0,
|
|
284
|
+
_0x1cdc95[_0x56cb93(0xa4)],
|
|
285
|
+
_0x1cdc95[_0x56cb93(0xa4)],
|
|
286
|
+
0x0
|
|
287
|
+
], _0x339170 = [
|
|
288
|
+
_0x4139e6[0x9],
|
|
289
|
+
_0x4139e6[0x12],
|
|
290
|
+
_0x4139e6[0x1e],
|
|
291
|
+
_0x4139e6[0x23],
|
|
292
|
+
_0x4139e6[0x2f],
|
|
293
|
+
_0x4139e6[0x4],
|
|
294
|
+
_0x4139e6[0x2c],
|
|
295
|
+
_0x4139e6[0x13],
|
|
296
|
+
_0x4139e6[0xa],
|
|
297
|
+
_0x4139e6[0x17],
|
|
298
|
+
_0x4139e6[0xc],
|
|
299
|
+
_0x4139e6[0x28],
|
|
300
|
+
_0x4139e6[0x19],
|
|
301
|
+
_0x4139e6[0x2a],
|
|
302
|
+
_0x4139e6[0x3],
|
|
303
|
+
_0x4139e6[0x16],
|
|
304
|
+
_0x4139e6[0x26],
|
|
305
|
+
_0x4139e6[0x15],
|
|
306
|
+
_0x4139e6[0x5],
|
|
307
|
+
_0x4139e6[0x2d],
|
|
308
|
+
_0x4139e6[0x1],
|
|
309
|
+
_0x4139e6[0x1d],
|
|
310
|
+
_0x4139e6[0x6],
|
|
311
|
+
_0x4139e6[0x2b],
|
|
312
|
+
_0x4139e6[0x21],
|
|
313
|
+
_0x4139e6[0xe],
|
|
314
|
+
_0x4139e6[0x24],
|
|
315
|
+
_0x4139e6[0x25],
|
|
316
|
+
_0x4139e6[0x2],
|
|
317
|
+
_0x4139e6[0x2e],
|
|
318
|
+
_0x4139e6[0xf],
|
|
319
|
+
_0x4139e6[0x30],
|
|
320
|
+
_0x4139e6[0x1f],
|
|
321
|
+
_0x4139e6[0x1a],
|
|
322
|
+
_0x4139e6[0x10],
|
|
323
|
+
_0x4139e6[0xd],
|
|
324
|
+
_0x4139e6[0x8],
|
|
325
|
+
_0x4139e6[0x29],
|
|
326
|
+
_0x4139e6[0x1b],
|
|
327
|
+
_0x4139e6[0x11],
|
|
328
|
+
_0x4139e6[0x27],
|
|
329
|
+
_0x4139e6[0x14],
|
|
330
|
+
_0x4139e6[0xb],
|
|
331
|
+
_0x4139e6[0x0],
|
|
332
|
+
_0x4139e6[0x22],
|
|
333
|
+
_0x4139e6[0x7],
|
|
334
|
+
_0x4139e6[0x32],
|
|
335
|
+
_0x4139e6[0x33],
|
|
336
|
+
_0x4139e6[0x35],
|
|
337
|
+
_0x4139e6[0x36]
|
|
338
|
+
];
|
|
339
|
+
function _0x56e1cd(_0x24b6d5, _0x196cf7) {
|
|
340
|
+
const _0x2eb1f3 = _0x56cb93;
|
|
341
|
+
return _0x196cf7[_0x2eb1f3(0x8c)]((_0x2171ba, _0x925e58)=>_0x925e58 - _0x2171ba)[_0x2eb1f3(0x89)]((_0x540dbd)=>{
|
|
342
|
+
const _0x2fbb10 = _0x2eb1f3;
|
|
343
|
+
_0x540dbd >= 0x0 && _0x540dbd < _0x24b6d5[_0x2fbb10(0xa4)] && _0x24b6d5[_0x2fbb10(0x90)](_0x540dbd, 0x1);
|
|
344
|
+
}), _0x24b6d5;
|
|
345
|
+
}
|
|
346
|
+
let _0x41ebdd = _0x4b8ded[_0x56cb93(0xb1)](_0x56e1cd(_0x4139e6, [
|
|
347
|
+
0x18,
|
|
348
|
+
0x1c,
|
|
349
|
+
0x20,
|
|
350
|
+
0x31,
|
|
351
|
+
0x34
|
|
352
|
+
])), _0x42a240 = _0x41ebdd[_0x56cb93(0xa6)]((_0x49ec53, _0x3d9ba0)=>_0x49ec53 ^ _0x3d9ba0), _0xeaa831 = _0x339170['concat'](_0x5bb315, _0x1cdc95, _0x42a240), _0x477e24 = [], _0x3bd924 = 0x0;
|
|
353
|
+
for(let _0xa7bf19 = 0x0; _0xa7bf19 + 0x2 < _0xeaa831[_0x56cb93(0xa4)];)_0x477e24[_0x56cb93(0xa3)](0x3e8 * Random & 145 | 0x6e & _0xeaa831[_0xa7bf19++]), _0x477e24['push'](0x3e8 * Random & 66 | 0xbd & _0xeaa831[_0xa7bf19++]), _0x477e24[_0x56cb93(0xa3)](0x3e8 * Random & 44 | 0xd3 & _0xeaa831[_0xa7bf19++]), _0x477e24[_0x56cb93(0xa3)](0x91 & _0xeaa831[_0xa7bf19 - 0x3] | 0x42 & _0xeaa831[_0xa7bf19 - 0x2] | 0x2c & _0xeaa831[_0xa7bf19 - 0x1]), _0x3bd924 += 0x3;
|
|
354
|
+
let _0x23c273 = _0x4b8ded[_0x56cb93(0xb1)](_0x477e24, _0xeaa831[_0x56cb93(0x8b)](_0x3bd924, _0xeaa831[_0x56cb93(0xa4)]));
|
|
355
|
+
return _0x23c273[_0x56cb93(0x94)]((_0x4d13ab)=>String['fromCharCode'](_0x4d13ab))[_0x56cb93(0xac)]('');
|
|
356
|
+
}
|
|
357
|
+
function Base2Data(_0x348aa6) {
|
|
358
|
+
const _0x2bc7c7 = a0_0x45db08;
|
|
359
|
+
let _0x874207 = [
|
|
360
|
+
0xffff * Random & 170 | 0x55 & [
|
|
361
|
+
0x3,
|
|
362
|
+
0x52
|
|
363
|
+
][0x0],
|
|
364
|
+
0xffff * Random & 85 | 0xaa & [
|
|
365
|
+
0x3,
|
|
366
|
+
0x52
|
|
367
|
+
][0x0],
|
|
368
|
+
0x28 * Random >> 0x0 & 0xaa | 0x55 & [
|
|
369
|
+
0x3,
|
|
370
|
+
0x52
|
|
371
|
+
][0x1],
|
|
372
|
+
0x28 * Random >> 0x0 & 0x55 | 0xaa & [
|
|
373
|
+
0x3,
|
|
374
|
+
0x52
|
|
375
|
+
][0x1]
|
|
376
|
+
][_0x2bc7c7(0x94)]((_0x224d00)=>{
|
|
377
|
+
const _0x31697c = _0x2bc7c7;
|
|
378
|
+
return String[_0x31697c(0x9e)](_0x224d00);
|
|
379
|
+
})[_0x2bc7c7(0xac)](''), _0x235e4f = [
|
|
380
|
+
0xff,
|
|
381
|
+
0xfe,
|
|
382
|
+
0xfd,
|
|
383
|
+
0xfc,
|
|
384
|
+
0xfb,
|
|
385
|
+
0xfa,
|
|
386
|
+
0xf9,
|
|
387
|
+
0xf8,
|
|
388
|
+
0xf7,
|
|
389
|
+
0xf6,
|
|
390
|
+
0xf5,
|
|
391
|
+
0xf4,
|
|
392
|
+
0xf3,
|
|
393
|
+
0xf2,
|
|
394
|
+
0xf1,
|
|
395
|
+
0xf0,
|
|
396
|
+
0xef,
|
|
397
|
+
0xee,
|
|
398
|
+
0xed,
|
|
399
|
+
0xec,
|
|
400
|
+
0xeb,
|
|
401
|
+
0xea,
|
|
402
|
+
0xe9,
|
|
403
|
+
0xe8,
|
|
404
|
+
0xe7,
|
|
405
|
+
0xe6,
|
|
406
|
+
0xe5,
|
|
407
|
+
0xe4,
|
|
408
|
+
0xe3,
|
|
409
|
+
0xe2,
|
|
410
|
+
0xe1,
|
|
411
|
+
0xe0,
|
|
412
|
+
0xdf,
|
|
413
|
+
0xde,
|
|
414
|
+
0xdd,
|
|
415
|
+
0xdc,
|
|
416
|
+
0xdb,
|
|
417
|
+
0xda,
|
|
418
|
+
0xd9,
|
|
419
|
+
0xd8,
|
|
420
|
+
0xd7,
|
|
421
|
+
0xd6,
|
|
422
|
+
0xd5,
|
|
423
|
+
0xd4,
|
|
424
|
+
0xd3,
|
|
425
|
+
0xd2,
|
|
426
|
+
0xd1,
|
|
427
|
+
0xd0,
|
|
428
|
+
0xcf,
|
|
429
|
+
0xce,
|
|
430
|
+
0xcd,
|
|
431
|
+
0xcc,
|
|
432
|
+
0xcb,
|
|
433
|
+
0xca,
|
|
434
|
+
0xc9,
|
|
435
|
+
0xc8,
|
|
436
|
+
0xc7,
|
|
437
|
+
0xc6,
|
|
438
|
+
0xc5,
|
|
439
|
+
0xc4,
|
|
440
|
+
0xc3,
|
|
441
|
+
0xc2,
|
|
442
|
+
0xc1,
|
|
443
|
+
0xc0,
|
|
444
|
+
0xbf,
|
|
445
|
+
0xbe,
|
|
446
|
+
0xbd,
|
|
447
|
+
0xbc,
|
|
448
|
+
0xbb,
|
|
449
|
+
0xba,
|
|
450
|
+
0xb9,
|
|
451
|
+
0xb8,
|
|
452
|
+
0xb7,
|
|
453
|
+
0xb6,
|
|
454
|
+
0xb5,
|
|
455
|
+
0xb4,
|
|
456
|
+
0xb3,
|
|
457
|
+
0xb2,
|
|
458
|
+
0xb1,
|
|
459
|
+
0xb0,
|
|
460
|
+
0xaf,
|
|
461
|
+
0xae,
|
|
462
|
+
0xad,
|
|
463
|
+
0xac,
|
|
464
|
+
0xab,
|
|
465
|
+
0xaa,
|
|
466
|
+
0xa9,
|
|
467
|
+
0xa8,
|
|
468
|
+
0xa7,
|
|
469
|
+
0xa6,
|
|
470
|
+
0xa5,
|
|
471
|
+
0xa4,
|
|
472
|
+
0xa3,
|
|
473
|
+
0xa2,
|
|
474
|
+
0xa1,
|
|
475
|
+
0xa0,
|
|
476
|
+
0x9f,
|
|
477
|
+
0x9e,
|
|
478
|
+
0x9d,
|
|
479
|
+
0x9c,
|
|
480
|
+
0x9b,
|
|
481
|
+
0x9a,
|
|
482
|
+
0x99,
|
|
483
|
+
0x98,
|
|
484
|
+
0x97,
|
|
485
|
+
0x96,
|
|
486
|
+
0x95,
|
|
487
|
+
0x94,
|
|
488
|
+
0x93,
|
|
489
|
+
0x92,
|
|
490
|
+
0x91,
|
|
491
|
+
0x90,
|
|
492
|
+
0x8f,
|
|
493
|
+
0x8e,
|
|
494
|
+
0x8d,
|
|
495
|
+
0x8c,
|
|
496
|
+
0x8b,
|
|
497
|
+
0x8a,
|
|
498
|
+
0x89,
|
|
499
|
+
0x88,
|
|
500
|
+
0x87,
|
|
501
|
+
0x86,
|
|
502
|
+
0x85,
|
|
503
|
+
0x84,
|
|
504
|
+
0x83,
|
|
505
|
+
0x82,
|
|
506
|
+
0x81,
|
|
507
|
+
0x80,
|
|
508
|
+
0x7f,
|
|
509
|
+
0x7e,
|
|
510
|
+
0x7d,
|
|
511
|
+
0x7c,
|
|
512
|
+
0x7b,
|
|
513
|
+
0x7a,
|
|
514
|
+
0x79,
|
|
515
|
+
0x78,
|
|
516
|
+
0x77,
|
|
517
|
+
0x76,
|
|
518
|
+
0x75,
|
|
519
|
+
0x74,
|
|
520
|
+
0x73,
|
|
521
|
+
0x72,
|
|
522
|
+
0x71,
|
|
523
|
+
0x70,
|
|
524
|
+
0x6f,
|
|
525
|
+
0x6e,
|
|
526
|
+
0x6d,
|
|
527
|
+
0x6c,
|
|
528
|
+
0x6b,
|
|
529
|
+
0x6a,
|
|
530
|
+
0x69,
|
|
531
|
+
0x68,
|
|
532
|
+
0x67,
|
|
533
|
+
0x66,
|
|
534
|
+
0x65,
|
|
535
|
+
0x64,
|
|
536
|
+
0x63,
|
|
537
|
+
0x62,
|
|
538
|
+
0x61,
|
|
539
|
+
0x60,
|
|
540
|
+
0x5f,
|
|
541
|
+
0x5e,
|
|
542
|
+
0x5d,
|
|
543
|
+
0x5c,
|
|
544
|
+
0x5b,
|
|
545
|
+
0x5a,
|
|
546
|
+
0x59,
|
|
547
|
+
0x58,
|
|
548
|
+
0x57,
|
|
549
|
+
0x56,
|
|
550
|
+
0x55,
|
|
551
|
+
0x54,
|
|
552
|
+
0x53,
|
|
553
|
+
0x52,
|
|
554
|
+
0x51,
|
|
555
|
+
0x50,
|
|
556
|
+
0x4f,
|
|
557
|
+
0x4e,
|
|
558
|
+
0x4d,
|
|
559
|
+
0x4c,
|
|
560
|
+
0x4b,
|
|
561
|
+
0x4a,
|
|
562
|
+
0x49,
|
|
563
|
+
0x48,
|
|
564
|
+
0x47,
|
|
565
|
+
0x46,
|
|
566
|
+
0x45,
|
|
567
|
+
0x44,
|
|
568
|
+
0x43,
|
|
569
|
+
0x42,
|
|
570
|
+
0x41,
|
|
571
|
+
0x40,
|
|
572
|
+
0x3f,
|
|
573
|
+
0x3e,
|
|
574
|
+
0x3d,
|
|
575
|
+
0x3c,
|
|
576
|
+
0x3b,
|
|
577
|
+
0x3a,
|
|
578
|
+
0x39,
|
|
579
|
+
0x38,
|
|
580
|
+
0x37,
|
|
581
|
+
0x36,
|
|
582
|
+
0x35,
|
|
583
|
+
0x34,
|
|
584
|
+
0x33,
|
|
585
|
+
0x32,
|
|
586
|
+
0x31,
|
|
587
|
+
0x30,
|
|
588
|
+
0x2f,
|
|
589
|
+
0x2e,
|
|
590
|
+
0x2d,
|
|
591
|
+
0x2c,
|
|
592
|
+
0x2b,
|
|
593
|
+
0x2a,
|
|
594
|
+
0x29,
|
|
595
|
+
0x28,
|
|
596
|
+
0x27,
|
|
597
|
+
0x26,
|
|
598
|
+
0x25,
|
|
599
|
+
0x24,
|
|
600
|
+
0x23,
|
|
601
|
+
0x22,
|
|
602
|
+
0x21,
|
|
603
|
+
0x20,
|
|
604
|
+
0x1f,
|
|
605
|
+
0x1e,
|
|
606
|
+
0x1d,
|
|
607
|
+
0x1c,
|
|
608
|
+
0x1b,
|
|
609
|
+
0x1a,
|
|
610
|
+
0x19,
|
|
611
|
+
0x18,
|
|
612
|
+
0x17,
|
|
613
|
+
0x16,
|
|
614
|
+
0x15,
|
|
615
|
+
0x14,
|
|
616
|
+
0x13,
|
|
617
|
+
0x12,
|
|
618
|
+
0x11,
|
|
619
|
+
0x10,
|
|
620
|
+
0xf,
|
|
621
|
+
0xe,
|
|
622
|
+
0xd,
|
|
623
|
+
0xc,
|
|
624
|
+
0xb,
|
|
625
|
+
0xa,
|
|
626
|
+
0x9,
|
|
627
|
+
0x8,
|
|
628
|
+
0x7,
|
|
629
|
+
0x6,
|
|
630
|
+
0x5,
|
|
631
|
+
0x4,
|
|
632
|
+
0x3,
|
|
633
|
+
0x2,
|
|
634
|
+
0x1,
|
|
635
|
+
0x0
|
|
636
|
+
];
|
|
637
|
+
const _0x29dde1 = 'Ó'[_0x2bc7c7(0x96)](0x0);
|
|
638
|
+
let _0x4a74f1 = 0x0;
|
|
639
|
+
for(let _0xef36c2 = 0x0; _0xef36c2 < _0x235e4f[_0x2bc7c7(0xa4)]; _0xef36c2++){
|
|
640
|
+
let _0x4120e4 = _0x235e4f[_0xef36c2];
|
|
641
|
+
_0x4a74f1 = (_0x4a74f1 * _0x4120e4 + _0x4a74f1 + _0x29dde1) % 0x100, [_0x235e4f[_0xef36c2], _0x235e4f[_0x4a74f1]] = [
|
|
642
|
+
_0x235e4f[_0x4a74f1],
|
|
643
|
+
_0x235e4f[_0xef36c2]
|
|
644
|
+
];
|
|
645
|
+
}
|
|
646
|
+
let _0x39cb62 = 0x0, _0x5cbaf6 = '';
|
|
647
|
+
for(let _0x29a672 = 0x0; _0x29a672 < _0x348aa6[_0x2bc7c7(0xa4)]; _0x29a672++){
|
|
648
|
+
let _0x96c5ae = _0x348aa6[_0x2bc7c7(0x96)](_0x29a672), _0x46c34b = _0x29a672 + 0x1, _0x5d4cb4 = _0x235e4f[_0x46c34b];
|
|
649
|
+
[_0x235e4f[_0x46c34b], _0x235e4f[(_0x39cb62 + _0x5d4cb4) % 0x100]] = [
|
|
650
|
+
_0x235e4f[(_0x39cb62 + _0x5d4cb4) % 0x100],
|
|
651
|
+
_0x235e4f[_0x46c34b]
|
|
652
|
+
];
|
|
653
|
+
let _0x506f4f = _0x235e4f[(_0x235e4f[_0x46c34b] + _0x5d4cb4) % 0x100];
|
|
654
|
+
_0x39cb62 = (_0x39cb62 + _0x5d4cb4) % 0x100, _0x5cbaf6 += String['fromCharCode'](_0x96c5ae ^ _0x506f4f);
|
|
655
|
+
}
|
|
656
|
+
return _0x874207 + _0x5cbaf6;
|
|
657
|
+
}
|
|
658
|
+
function Data2A_B(_0x19ca6d) {
|
|
659
|
+
const _0x5d8d72 = a0_0x45db08;
|
|
660
|
+
let _0x225e7d = _0x5d8d72(0xad), _0x4f0a28 = '', _0x251d62 = [
|
|
661
|
+
0x3e,
|
|
662
|
+
0x12a,
|
|
663
|
+
0x10,
|
|
664
|
+
0x0,
|
|
665
|
+
0x4,
|
|
666
|
+
0x9,
|
|
667
|
+
0x10,
|
|
668
|
+
0x0,
|
|
669
|
+
0x5,
|
|
670
|
+
0x36,
|
|
671
|
+
0x0,
|
|
672
|
+
0x5,
|
|
673
|
+
0x3e,
|
|
674
|
+
0x12b,
|
|
675
|
+
0x1a,
|
|
676
|
+
0x12c,
|
|
677
|
+
0x36,
|
|
678
|
+
0x0,
|
|
679
|
+
0x5,
|
|
680
|
+
0x3e,
|
|
681
|
+
0x12d,
|
|
682
|
+
0x1a,
|
|
683
|
+
0x12e,
|
|
684
|
+
0x36,
|
|
685
|
+
0x0,
|
|
686
|
+
0x5,
|
|
687
|
+
0x3e,
|
|
688
|
+
0x12f,
|
|
689
|
+
0x1a,
|
|
690
|
+
0x130,
|
|
691
|
+
0x36,
|
|
692
|
+
0x0,
|
|
693
|
+
0x5,
|
|
694
|
+
0x3e,
|
|
695
|
+
0x131,
|
|
696
|
+
0x1a,
|
|
697
|
+
0x10c,
|
|
698
|
+
0x36,
|
|
699
|
+
0x0,
|
|
700
|
+
0x5,
|
|
701
|
+
0x3e,
|
|
702
|
+
0x132,
|
|
703
|
+
0x1a,
|
|
704
|
+
0x128,
|
|
705
|
+
0x36,
|
|
706
|
+
0x0,
|
|
707
|
+
0x5,
|
|
708
|
+
0x36,
|
|
709
|
+
0x0,
|
|
710
|
+
0x3,
|
|
711
|
+
0x4c,
|
|
712
|
+
0x10,
|
|
713
|
+
0x0,
|
|
714
|
+
0x6,
|
|
715
|
+
0x3e,
|
|
716
|
+
0x24,
|
|
717
|
+
0x10,
|
|
718
|
+
0x0,
|
|
719
|
+
0x7,
|
|
720
|
+
0x17,
|
|
721
|
+
0x0,
|
|
722
|
+
0x10,
|
|
723
|
+
0x0,
|
|
724
|
+
0x9,
|
|
725
|
+
0x36,
|
|
726
|
+
0x0,
|
|
727
|
+
0x2,
|
|
728
|
+
0x4,
|
|
729
|
+
0x19,
|
|
730
|
+
0x36,
|
|
731
|
+
0x0,
|
|
732
|
+
0x9,
|
|
733
|
+
0x17,
|
|
734
|
+
0x3,
|
|
735
|
+
0x31,
|
|
736
|
+
0x43,
|
|
737
|
+
0xe,
|
|
738
|
+
0x9f,
|
|
739
|
+
0x36,
|
|
740
|
+
0x0,
|
|
741
|
+
0x2,
|
|
742
|
+
0x16,
|
|
743
|
+
0x4,
|
|
744
|
+
0xf7,
|
|
745
|
+
0x22,
|
|
746
|
+
0x0,
|
|
747
|
+
0x9,
|
|
748
|
+
0x3c,
|
|
749
|
+
0xc,
|
|
750
|
+
0x1,
|
|
751
|
+
0x17,
|
|
752
|
+
0xff,
|
|
753
|
+
0x32,
|
|
754
|
+
0x17,
|
|
755
|
+
0x10,
|
|
756
|
+
0x1f,
|
|
757
|
+
0x36,
|
|
758
|
+
0x0,
|
|
759
|
+
0x2,
|
|
760
|
+
0x16,
|
|
761
|
+
0x4,
|
|
762
|
+
0xf7,
|
|
763
|
+
0x22,
|
|
764
|
+
0x0,
|
|
765
|
+
0x9,
|
|
766
|
+
0x3c,
|
|
767
|
+
0xc,
|
|
768
|
+
0x1,
|
|
769
|
+
0x17,
|
|
770
|
+
0xff,
|
|
771
|
+
0x32,
|
|
772
|
+
0x17,
|
|
773
|
+
0x8,
|
|
774
|
+
0x1f,
|
|
775
|
+
0x20,
|
|
776
|
+
0x36,
|
|
777
|
+
0x0,
|
|
778
|
+
0x2,
|
|
779
|
+
0x16,
|
|
780
|
+
0x4,
|
|
781
|
+
0xf7,
|
|
782
|
+
0x22,
|
|
783
|
+
0x0,
|
|
784
|
+
0x9,
|
|
785
|
+
0x3c,
|
|
786
|
+
0xc,
|
|
787
|
+
0x1,
|
|
788
|
+
0x17,
|
|
789
|
+
0xff,
|
|
790
|
+
0x32,
|
|
791
|
+
0x20,
|
|
792
|
+
0x10,
|
|
793
|
+
0x0,
|
|
794
|
+
0x8,
|
|
795
|
+
0x36,
|
|
796
|
+
0x0,
|
|
797
|
+
0x7,
|
|
798
|
+
0x36,
|
|
799
|
+
0x0,
|
|
800
|
+
0x6,
|
|
801
|
+
0x16,
|
|
802
|
+
0x4,
|
|
803
|
+
0x67,
|
|
804
|
+
0x36,
|
|
805
|
+
0x0,
|
|
806
|
+
0x8,
|
|
807
|
+
0x17,
|
|
808
|
+
0xfc0000,
|
|
809
|
+
0x32,
|
|
810
|
+
0x17,
|
|
811
|
+
0x12,
|
|
812
|
+
0x33,
|
|
813
|
+
0xc,
|
|
814
|
+
0x1,
|
|
815
|
+
0x31,
|
|
816
|
+
0x22,
|
|
817
|
+
0x0,
|
|
818
|
+
0x7,
|
|
819
|
+
0x48,
|
|
820
|
+
0x2b,
|
|
821
|
+
0x36,
|
|
822
|
+
0x0,
|
|
823
|
+
0x7,
|
|
824
|
+
0x36,
|
|
825
|
+
0x0,
|
|
826
|
+
0x6,
|
|
827
|
+
0x16,
|
|
828
|
+
0x4,
|
|
829
|
+
0x67,
|
|
830
|
+
0x36,
|
|
831
|
+
0x0,
|
|
832
|
+
0x8,
|
|
833
|
+
0x17,
|
|
834
|
+
0x3f000,
|
|
835
|
+
0x32,
|
|
836
|
+
0x17,
|
|
837
|
+
0xc,
|
|
838
|
+
0x33,
|
|
839
|
+
0xc,
|
|
840
|
+
0x1,
|
|
841
|
+
0x31,
|
|
842
|
+
0x22,
|
|
843
|
+
0x0,
|
|
844
|
+
0x7,
|
|
845
|
+
0x48,
|
|
846
|
+
0x2b,
|
|
847
|
+
0x36,
|
|
848
|
+
0x0,
|
|
849
|
+
0x7,
|
|
850
|
+
0x36,
|
|
851
|
+
0x0,
|
|
852
|
+
0x6,
|
|
853
|
+
0x16,
|
|
854
|
+
0x4,
|
|
855
|
+
0x67,
|
|
856
|
+
0x36,
|
|
857
|
+
0x0,
|
|
858
|
+
0x8,
|
|
859
|
+
0x17,
|
|
860
|
+
0xfc0,
|
|
861
|
+
0x32,
|
|
862
|
+
0x17,
|
|
863
|
+
0x6,
|
|
864
|
+
0x33,
|
|
865
|
+
0xc,
|
|
866
|
+
0x1,
|
|
867
|
+
0x31,
|
|
868
|
+
0x22,
|
|
869
|
+
0x0,
|
|
870
|
+
0x7,
|
|
871
|
+
0x48,
|
|
872
|
+
0x2b,
|
|
873
|
+
0x36,
|
|
874
|
+
0x0,
|
|
875
|
+
0x7,
|
|
876
|
+
0x36,
|
|
877
|
+
0x0,
|
|
878
|
+
0x6,
|
|
879
|
+
0x16,
|
|
880
|
+
0x4,
|
|
881
|
+
0x67,
|
|
882
|
+
0x36,
|
|
883
|
+
0x0,
|
|
884
|
+
0x8,
|
|
885
|
+
0x17,
|
|
886
|
+
0x3f,
|
|
887
|
+
0x32,
|
|
888
|
+
0xc,
|
|
889
|
+
0x1,
|
|
890
|
+
0x31,
|
|
891
|
+
0x22,
|
|
892
|
+
0x0,
|
|
893
|
+
0x7,
|
|
894
|
+
0x48,
|
|
895
|
+
0x2b,
|
|
896
|
+
0x12,
|
|
897
|
+
-173,
|
|
898
|
+
0x36,
|
|
899
|
+
0x0,
|
|
900
|
+
0x2,
|
|
901
|
+
0x4,
|
|
902
|
+
0x19,
|
|
903
|
+
0x36,
|
|
904
|
+
0x0,
|
|
905
|
+
0x9,
|
|
906
|
+
0x0,
|
|
907
|
+
0x17,
|
|
908
|
+
0x0,
|
|
909
|
+
0x13,
|
|
910
|
+
0xe,
|
|
911
|
+
0xa0,
|
|
912
|
+
0x36,
|
|
913
|
+
0x0,
|
|
914
|
+
0x2,
|
|
915
|
+
0x16,
|
|
916
|
+
0x4,
|
|
917
|
+
0xf7,
|
|
918
|
+
0x22,
|
|
919
|
+
0x0,
|
|
920
|
+
0x9,
|
|
921
|
+
0x3c,
|
|
922
|
+
0xc,
|
|
923
|
+
0x1,
|
|
924
|
+
0x17,
|
|
925
|
+
0xff,
|
|
926
|
+
0x32,
|
|
927
|
+
0x17,
|
|
928
|
+
0x10,
|
|
929
|
+
0x1f,
|
|
930
|
+
0x36,
|
|
931
|
+
0x0,
|
|
932
|
+
0x2,
|
|
933
|
+
0x4,
|
|
934
|
+
0x19,
|
|
935
|
+
0x36,
|
|
936
|
+
0x0,
|
|
937
|
+
0x9,
|
|
938
|
+
0x13,
|
|
939
|
+
0xe,
|
|
940
|
+
0x13,
|
|
941
|
+
0x36,
|
|
942
|
+
0x0,
|
|
943
|
+
0x2,
|
|
944
|
+
0x16,
|
|
945
|
+
0x4,
|
|
946
|
+
0xf7,
|
|
947
|
+
0x36,
|
|
948
|
+
0x0,
|
|
949
|
+
0x9,
|
|
950
|
+
0xc,
|
|
951
|
+
0x1,
|
|
952
|
+
0x17,
|
|
953
|
+
0xff,
|
|
954
|
+
0x32,
|
|
955
|
+
0x17,
|
|
956
|
+
0x8,
|
|
957
|
+
0x1f,
|
|
958
|
+
0x12,
|
|
959
|
+
0x2,
|
|
960
|
+
0x17,
|
|
961
|
+
0x0,
|
|
962
|
+
0x20,
|
|
963
|
+
0x10,
|
|
964
|
+
0x0,
|
|
965
|
+
0x8,
|
|
966
|
+
0x36,
|
|
967
|
+
0x0,
|
|
968
|
+
0x7,
|
|
969
|
+
0x36,
|
|
970
|
+
0x0,
|
|
971
|
+
0x6,
|
|
972
|
+
0x16,
|
|
973
|
+
0x4,
|
|
974
|
+
0x67,
|
|
975
|
+
0x36,
|
|
976
|
+
0x0,
|
|
977
|
+
0x8,
|
|
978
|
+
0x17,
|
|
979
|
+
0xfc0000,
|
|
980
|
+
0x32,
|
|
981
|
+
0x17,
|
|
982
|
+
0x12,
|
|
983
|
+
0x33,
|
|
984
|
+
0xc,
|
|
985
|
+
0x1,
|
|
986
|
+
0x31,
|
|
987
|
+
0x22,
|
|
988
|
+
0x0,
|
|
989
|
+
0x7,
|
|
990
|
+
0x48,
|
|
991
|
+
0x2b,
|
|
992
|
+
0x36,
|
|
993
|
+
0x0,
|
|
994
|
+
0x7,
|
|
995
|
+
0x36,
|
|
996
|
+
0x0,
|
|
997
|
+
0x6,
|
|
998
|
+
0x16,
|
|
999
|
+
0x4,
|
|
1000
|
+
0x67,
|
|
1001
|
+
0x36,
|
|
1002
|
+
0x0,
|
|
1003
|
+
0x8,
|
|
1004
|
+
0x17,
|
|
1005
|
+
0x3f000,
|
|
1006
|
+
0x32,
|
|
1007
|
+
0x17,
|
|
1008
|
+
0xc,
|
|
1009
|
+
0x33,
|
|
1010
|
+
0xc,
|
|
1011
|
+
0x1,
|
|
1012
|
+
0x31,
|
|
1013
|
+
0x22,
|
|
1014
|
+
0x0,
|
|
1015
|
+
0x7,
|
|
1016
|
+
0x48,
|
|
1017
|
+
0x2b,
|
|
1018
|
+
0x36,
|
|
1019
|
+
0x0,
|
|
1020
|
+
0x7,
|
|
1021
|
+
0x36,
|
|
1022
|
+
0x0,
|
|
1023
|
+
0x2,
|
|
1024
|
+
0x4,
|
|
1025
|
+
0x19,
|
|
1026
|
+
0x36,
|
|
1027
|
+
0x0,
|
|
1028
|
+
0x9,
|
|
1029
|
+
0x13,
|
|
1030
|
+
0xe,
|
|
1031
|
+
0x13,
|
|
1032
|
+
0x36,
|
|
1033
|
+
0x0,
|
|
1034
|
+
0x6,
|
|
1035
|
+
0x16,
|
|
1036
|
+
0x4,
|
|
1037
|
+
0x67,
|
|
1038
|
+
0x36,
|
|
1039
|
+
0x0,
|
|
1040
|
+
0x8,
|
|
1041
|
+
0x17,
|
|
1042
|
+
0xfc0,
|
|
1043
|
+
0x32,
|
|
1044
|
+
0x17,
|
|
1045
|
+
0x6,
|
|
1046
|
+
0x33,
|
|
1047
|
+
0xc,
|
|
1048
|
+
0x1,
|
|
1049
|
+
0x12,
|
|
1050
|
+
0x3,
|
|
1051
|
+
0x36,
|
|
1052
|
+
0x0,
|
|
1053
|
+
0x4,
|
|
1054
|
+
0x31,
|
|
1055
|
+
0x22,
|
|
1056
|
+
0x0,
|
|
1057
|
+
0x7,
|
|
1058
|
+
0x48,
|
|
1059
|
+
0x2b,
|
|
1060
|
+
0x36,
|
|
1061
|
+
0x0,
|
|
1062
|
+
0x7,
|
|
1063
|
+
0x36,
|
|
1064
|
+
0x0,
|
|
1065
|
+
0x4,
|
|
1066
|
+
0x31,
|
|
1067
|
+
0x22,
|
|
1068
|
+
0x0,
|
|
1069
|
+
0x7,
|
|
1070
|
+
0x48,
|
|
1071
|
+
0x2b,
|
|
1072
|
+
0x36,
|
|
1073
|
+
0x0,
|
|
1074
|
+
0x7,
|
|
1075
|
+
0x41
|
|
1076
|
+
];
|
|
1077
|
+
for(let _0x2b8eea = 0x0; _0x2b8eea < _0x19ca6d['length']; _0x2b8eea += 0x3){
|
|
1078
|
+
const _0x3fca04 = _0x19ca6d[_0x5d8d72(0x96)](_0x2b8eea), _0xb85a46 = _0x19ca6d[_0x5d8d72(0x96)](_0x2b8eea + 0x1), _0x4e702d = _0x19ca6d[_0x5d8d72(0x96)](_0x2b8eea + 0x2), _0x4382e1 = _0x3fca04 << _0x251d62[0x5e] | _0xb85a46 << _0x251d62[0x70] | _0x4e702d, _0x225aa0 = (_0x4382e1 & _0x251d62[0x93]) >> _0x251d62[0x96];
|
|
1079
|
+
_0x4f0a28 += _0x225e7d[_0x5d8d72(0xa7)](_0x225aa0);
|
|
1080
|
+
const _0x5607b9 = (_0x4382e1 & _0x251d62[0xad]) >> _0x251d62[0xb0];
|
|
1081
|
+
_0x4f0a28 += Number[_0x5d8d72(0xa1)](_0x3fca04) ? '=' : _0x225e7d[_0x5d8d72(0xa7)](_0x5607b9);
|
|
1082
|
+
const _0x3fb7b7 = (_0x4382e1 & _0x251d62[0xc7]) >> _0x251d62[0xca];
|
|
1083
|
+
_0x4f0a28 += Number[_0x5d8d72(0xa1)](_0xb85a46) ? '=' : _0x225e7d[_0x5d8d72(0xa7)](_0x3fb7b7);
|
|
1084
|
+
const _0x425784 = _0x4382e1 & _0x251d62[0xe1];
|
|
1085
|
+
_0x4f0a28 += Number[_0x5d8d72(0xa1)](_0x4e702d) ? '=' : _0x225e7d[_0x5d8d72(0xa7)](_0x425784);
|
|
1086
|
+
}
|
|
1087
|
+
return _0x4f0a28;
|
|
1088
|
+
}
|
|
1089
|
+
function GenAB(_0x315138, _0x1c32b3) {
|
|
1090
|
+
const _0x206982 = a0_0x45db08, _0x56536b = _0x206982(0xaf);
|
|
1091
|
+
return Data2A_B(Base2Data(EnvData2CharCode(_0x315138, _0x1c32b3, _0x56536b)));
|
|
1092
|
+
}
|
|
1093
|
+
module[a0_0x45db08(0xae)] = GenAB;
|
|
1094
|
+
}
|
|
1095
|
+
};
|
|
1096
|
+
var __webpack_module_cache__ = {};
|
|
1097
|
+
function __webpack_require__(moduleId) {
|
|
1098
|
+
var cachedModule = __webpack_module_cache__[moduleId];
|
|
1099
|
+
if (void 0 !== cachedModule) return cachedModule.exports;
|
|
1100
|
+
var module = __webpack_module_cache__[moduleId] = {
|
|
1101
|
+
id: moduleId,
|
|
1102
|
+
loaded: false,
|
|
1103
|
+
exports: {}
|
|
1104
|
+
};
|
|
1105
|
+
__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
1106
|
+
module.loaded = true;
|
|
1107
|
+
return module.exports;
|
|
1108
|
+
}
|
|
1109
|
+
(()=>{
|
|
1110
|
+
__webpack_require__.nmd = function(module) {
|
|
1111
|
+
module.paths = [];
|
|
1112
|
+
if (!module.children) module.children = [];
|
|
1113
|
+
return module;
|
|
1114
|
+
};
|
|
1115
|
+
})();
|
|
12
1116
|
class Http {
|
|
13
1117
|
static handleApiError(error) {
|
|
14
1118
|
if (error && "object" == typeof error && "code" in error && "message" in error) return error;
|
|
@@ -109,6 +1213,22 @@ const extractImgTag = (html)=>{
|
|
|
109
1213
|
parser.end();
|
|
110
1214
|
return srcList;
|
|
111
1215
|
};
|
|
1216
|
+
class TimeFormatter {
|
|
1217
|
+
static format(timestamp, formatStr = 'yyyy-MM-dd hh:mm') {
|
|
1218
|
+
if ('number' == typeof timestamp && 10 === timestamp.toString().length) timestamp *= 1000;
|
|
1219
|
+
const date = new Date(timestamp);
|
|
1220
|
+
const map = {
|
|
1221
|
+
yyyy: String(date.getFullYear()),
|
|
1222
|
+
yy: String(date.getFullYear()).slice(-2),
|
|
1223
|
+
MM: String(date.getMonth() + 1).padStart(2, '0'),
|
|
1224
|
+
dd: String(date.getDate()).padStart(2, '0'),
|
|
1225
|
+
hh: String(date.getHours()).padStart(2, '0'),
|
|
1226
|
+
mm: String(date.getMinutes()).padStart(2, '0'),
|
|
1227
|
+
ss: String(date.getSeconds()).padStart(2, '0')
|
|
1228
|
+
};
|
|
1229
|
+
return formatStr.replace(/yyyy|yy|MM|dd|hh|mm|ss/g, (key)=>map[key]);
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
112
1232
|
const replaceImgSrc = (html, callback)=>{
|
|
113
1233
|
let lastedHtml = html;
|
|
114
1234
|
const isImageTag = (node)=>"tag" === node.type && "img" === node.name;
|
|
@@ -678,6 +1798,7 @@ const searchXiaohongshuTopicList = async (_task, params)=>{
|
|
|
678
1798
|
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)([]);
|
|
679
1799
|
}
|
|
680
1800
|
};
|
|
1801
|
+
const GenAB = __webpack_require__("./src/utils/ttABEncrypt.js");
|
|
681
1802
|
const mock_errnoMap = {
|
|
682
1803
|
20004020: "图片上传异常,请重新绑定账号后同步。",
|
|
683
1804
|
7115: "正文图片和封面图片推荐jpg、png格式。",
|
|
@@ -694,6 +1815,11 @@ const mock_errnoMap = {
|
|
|
694
1815
|
2005: "账号无【申明原创】权限,请关闭申明后重试。",
|
|
695
1816
|
100004: "用户未登录或登陆已过期,请重新登陆后重试。"
|
|
696
1817
|
};
|
|
1818
|
+
const generatorFormData = (data)=>Object.entries(data).map(([key, value])=>{
|
|
1819
|
+
const encodedKey = encodeURIComponent(key);
|
|
1820
|
+
const encodedValue = encodeURIComponent(String(value));
|
|
1821
|
+
return `${encodedKey}=${encodedValue}`;
|
|
1822
|
+
}).join('&');
|
|
697
1823
|
const get3101DetailError = (errorList, message, saveType)=>{
|
|
698
1824
|
let error = "";
|
|
699
1825
|
if (message?.includes("当日发文")) error = errorList[0];
|
|
@@ -813,8 +1939,8 @@ const mock_mockAction = async (task, params)=>{
|
|
|
813
1939
|
trends_writing_tag: 0,
|
|
814
1940
|
is_refute_rumor: 0,
|
|
815
1941
|
save: "publish" === params.saveType ? 1 : 0,
|
|
816
|
-
timer_status: 0,
|
|
817
|
-
timer_time: "",
|
|
1942
|
+
timer_status: params.settingInfo.timer ? 1 : 0,
|
|
1943
|
+
timer_time: params.settingInfo.timer ? TimeFormatter.format(params.settingInfo.timer) : "",
|
|
818
1944
|
title: params.title,
|
|
819
1945
|
content: content + topicContent,
|
|
820
1946
|
extra: JSON.stringify(extraData),
|
|
@@ -838,7 +1964,29 @@ const mock_mockAction = async (task, params)=>{
|
|
|
838
1964
|
claim_origin: toutiaoOriginal.includes("original") ? 1 : 0,
|
|
839
1965
|
claim_exclusive: toutiaoOriginal.includes("exclusive") ? 1 : 0
|
|
840
1966
|
};
|
|
841
|
-
const
|
|
1967
|
+
const msToken = params.cookies.find((it)=>"msToken" === it.name)?.value;
|
|
1968
|
+
let publishOption = {};
|
|
1969
|
+
if (msToken) {
|
|
1970
|
+
const postHeaders = generatorFormData({
|
|
1971
|
+
source: "mp",
|
|
1972
|
+
type: "article",
|
|
1973
|
+
aid: 1231,
|
|
1974
|
+
mp_publish_ab_val: 0,
|
|
1975
|
+
msToken: msToken
|
|
1976
|
+
});
|
|
1977
|
+
const postData = generatorFormData(publishData);
|
|
1978
|
+
let a_bogus = GenAB(postHeaders, postData);
|
|
1979
|
+
publishOption = {
|
|
1980
|
+
method: "post",
|
|
1981
|
+
url: `https://mp.toutiao.com/mp/agw/article/publish?${postHeaders}&a_bogus=${a_bogus}`,
|
|
1982
|
+
data: postData,
|
|
1983
|
+
headers: {
|
|
1984
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
1985
|
+
"user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36"
|
|
1986
|
+
},
|
|
1987
|
+
defaultErrorMsg: "draft" === params.saveType ? "文章同步异常,请稍后重试。" : "文章发布异常,请稍后重试。"
|
|
1988
|
+
};
|
|
1989
|
+
} else publishOption = {
|
|
842
1990
|
method: "post",
|
|
843
1991
|
url: "https://mp.toutiao.com/mp/agw/article/publish?source=mp&type=article&aid=1",
|
|
844
1992
|
data: publishData,
|
|
@@ -846,7 +1994,8 @@ const mock_mockAction = async (task, params)=>{
|
|
|
846
1994
|
"content-type": "application/x-www-form-urlencoded"
|
|
847
1995
|
},
|
|
848
1996
|
defaultErrorMsg: "draft" === params.saveType ? "文章同步异常,请稍后重试。" : "文章发布异常,请稍后重试。"
|
|
849
|
-
}
|
|
1997
|
+
};
|
|
1998
|
+
const publishResult = await http.api(publishOption);
|
|
850
1999
|
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)(publishResult.data.pgc_id);
|
|
851
2000
|
};
|
|
852
2001
|
const rpa_rpaAction = async (task, params)=>{
|
|
@@ -1010,6 +2159,106 @@ const toutiaoPublish = async (task, params)=>{
|
|
|
1010
2159
|
if ("mockApi" === params.actionType) return mock_mockAction(task, params);
|
|
1011
2160
|
return executeAction(mock_mockAction, rpa_rpaAction)(task, params);
|
|
1012
2161
|
};
|
|
2162
|
+
const TTFansExport = async (_task, params)=>{
|
|
2163
|
+
const http = new Http({
|
|
2164
|
+
headers: {
|
|
2165
|
+
cookie: params.cookies.map((it)=>`${it.name}=${it.value}`).join(";"),
|
|
2166
|
+
referer: "https://mp.toutiao.com/profile_v4/graphic/publish"
|
|
2167
|
+
}
|
|
2168
|
+
});
|
|
2169
|
+
try {
|
|
2170
|
+
const res = await http.api({
|
|
2171
|
+
method: "get",
|
|
2172
|
+
url: "https://mp.toutiao.com/mp/agw/creator_center/user_info?app_id=1231",
|
|
2173
|
+
params: {
|
|
2174
|
+
app_id: 1231
|
|
2175
|
+
}
|
|
2176
|
+
});
|
|
2177
|
+
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)(0 === res.code ? {
|
|
2178
|
+
fans_count: res.total_fans_count
|
|
2179
|
+
} : {
|
|
2180
|
+
fans_count: null
|
|
2181
|
+
}, "获取粉丝数成功!");
|
|
2182
|
+
} catch (error) {
|
|
2183
|
+
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)({
|
|
2184
|
+
fans_count: null
|
|
2185
|
+
}, "获取粉丝数失败,请检查登陆有效性!");
|
|
2186
|
+
}
|
|
2187
|
+
};
|
|
2188
|
+
const XhsFansExport = async (_task, params)=>{
|
|
2189
|
+
const http = new Http({
|
|
2190
|
+
headers: {
|
|
2191
|
+
cookie: params.cookies.map((it)=>`${it.name}=${it.value}`).join(";"),
|
|
2192
|
+
referer: "https://creator.xiaohongshu.com/new/home?source=official"
|
|
2193
|
+
}
|
|
2194
|
+
});
|
|
2195
|
+
try {
|
|
2196
|
+
const res = await http.api({
|
|
2197
|
+
method: "get",
|
|
2198
|
+
url: "https://creator.xiaohongshu.com/api/galaxy/creator/home/personal_info"
|
|
2199
|
+
});
|
|
2200
|
+
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)(0 === res.result ? {
|
|
2201
|
+
fans_count: res.data.fans_count
|
|
2202
|
+
} : {
|
|
2203
|
+
fans_count: null
|
|
2204
|
+
}, "获取粉丝数成功!");
|
|
2205
|
+
} catch (error) {
|
|
2206
|
+
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)({
|
|
2207
|
+
fans_count: null
|
|
2208
|
+
}, "获取粉丝数失败,请检查登陆有效性!");
|
|
2209
|
+
}
|
|
2210
|
+
};
|
|
2211
|
+
const WxFansExport = async (_task, params)=>{
|
|
2212
|
+
const http = new Http({
|
|
2213
|
+
headers: {
|
|
2214
|
+
cookie: params.cookies.map((it)=>`${it.name}=${it.value}`).join(";")
|
|
2215
|
+
}
|
|
2216
|
+
});
|
|
2217
|
+
try {
|
|
2218
|
+
const htmlStr = await http.api({
|
|
2219
|
+
method: "get",
|
|
2220
|
+
url: "https://mp.weixin.qq.com/cgi-bin/home",
|
|
2221
|
+
params: {
|
|
2222
|
+
t: "home/index",
|
|
2223
|
+
token: params.token,
|
|
2224
|
+
lang: "zh_CN"
|
|
2225
|
+
}
|
|
2226
|
+
});
|
|
2227
|
+
const match = htmlStr.match(/总用户数[\s\S]*?<mp-thousandth>(\d+)<\/mp-thousandth>/);
|
|
2228
|
+
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)(match ? {
|
|
2229
|
+
fans_count: Number(match[1])
|
|
2230
|
+
} : {
|
|
2231
|
+
fans_count: null
|
|
2232
|
+
}, "获取粉丝数成功!");
|
|
2233
|
+
} catch (error) {
|
|
2234
|
+
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)({
|
|
2235
|
+
fans_count: null
|
|
2236
|
+
}, "获取粉丝数失败,请检查登陆有效性!");
|
|
2237
|
+
}
|
|
2238
|
+
};
|
|
2239
|
+
const BjhFansExport = async (_task, params)=>{
|
|
2240
|
+
const http = new Http({
|
|
2241
|
+
headers: {
|
|
2242
|
+
cookie: params.cookies.map((it)=>`${it.name}=${it.value}`).join(";"),
|
|
2243
|
+
referer: "https://baijiahao.baidu.com/builder/rc/home"
|
|
2244
|
+
}
|
|
2245
|
+
});
|
|
2246
|
+
try {
|
|
2247
|
+
const res = await http.api({
|
|
2248
|
+
method: "get",
|
|
2249
|
+
url: "https://baijiahao.baidu.com/cms-ui/rights/growth/get_info"
|
|
2250
|
+
});
|
|
2251
|
+
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)(0 === res.errno ? {
|
|
2252
|
+
fans_count: res.data.total_fans
|
|
2253
|
+
} : {
|
|
2254
|
+
fans_count: null
|
|
2255
|
+
}, "获取粉丝数成功!");
|
|
2256
|
+
} catch (error) {
|
|
2257
|
+
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)({
|
|
2258
|
+
fans_count: null
|
|
2259
|
+
}, "获取粉丝数失败,请检查登陆有效性!");
|
|
2260
|
+
}
|
|
2261
|
+
};
|
|
1013
2262
|
const weitoutiaoPublish_mock_mockAction = async (task, params)=>{
|
|
1014
2263
|
const tmpCachePath = task.getTmpPath();
|
|
1015
2264
|
const http = new Http({
|
|
@@ -1178,7 +2427,7 @@ const userTypeMap = {
|
|
|
1178
2427
|
已关注的用户: 2,
|
|
1179
2428
|
已关注7天及以上的用户: 3
|
|
1180
2429
|
};
|
|
1181
|
-
const
|
|
2430
|
+
const mock_generatorFormData = (data)=>{
|
|
1182
2431
|
const formData = new URLSearchParams();
|
|
1183
2432
|
for (const [key, value] of Object.entries(data))formData.append(key, String(value));
|
|
1184
2433
|
return formData.toString();
|
|
@@ -1194,7 +2443,7 @@ const checkCopyrightStat = async (http, params, data)=>{
|
|
|
1194
2443
|
token: params.token,
|
|
1195
2444
|
lang: "zh_CN"
|
|
1196
2445
|
},
|
|
1197
|
-
data:
|
|
2446
|
+
data: mock_generatorFormData(data)
|
|
1198
2447
|
});
|
|
1199
2448
|
} catch (error) {
|
|
1200
2449
|
resData = error?.data;
|
|
@@ -1308,7 +2557,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
|
|
|
1308
2557
|
params: {
|
|
1309
2558
|
action: "searchacct"
|
|
1310
2559
|
},
|
|
1311
|
-
data:
|
|
2560
|
+
data: mock_generatorFormData({
|
|
1312
2561
|
lang: "zh_CN",
|
|
1313
2562
|
f: "json",
|
|
1314
2563
|
ajax: 1,
|
|
@@ -1437,7 +2686,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
|
|
|
1437
2686
|
params: {
|
|
1438
2687
|
action: 'addautoreply'
|
|
1439
2688
|
},
|
|
1440
|
-
data:
|
|
2689
|
+
data: mock_generatorFormData({
|
|
1441
2690
|
type: 1,
|
|
1442
2691
|
fingerprint,
|
|
1443
2692
|
token: params.token,
|
|
@@ -1559,7 +2808,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
|
|
|
1559
2808
|
type: 77,
|
|
1560
2809
|
lang: "zh_CN"
|
|
1561
2810
|
},
|
|
1562
|
-
data:
|
|
2811
|
+
data: mock_generatorFormData(draftData),
|
|
1563
2812
|
defaultErrorMsg: "创建草稿失败,请稍后重试发布。"
|
|
1564
2813
|
});
|
|
1565
2814
|
if ("draft" === params.saveType) return {
|
|
@@ -1592,7 +2841,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
|
|
|
1592
2841
|
lang: "zh_CN",
|
|
1593
2842
|
token: params.token
|
|
1594
2843
|
},
|
|
1595
|
-
data:
|
|
2844
|
+
data: mock_generatorFormData({
|
|
1596
2845
|
token: params.token,
|
|
1597
2846
|
lang: "zh_CN",
|
|
1598
2847
|
f: "json",
|
|
@@ -1623,7 +2872,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
|
|
|
1623
2872
|
token: params.token,
|
|
1624
2873
|
lang: "zh_CN"
|
|
1625
2874
|
},
|
|
1626
|
-
data:
|
|
2875
|
+
data: mock_generatorFormData({
|
|
1627
2876
|
appmsgid: appMsgId,
|
|
1628
2877
|
fingerprint,
|
|
1629
2878
|
token: params.token,
|
|
@@ -1635,7 +2884,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
|
|
|
1635
2884
|
await http.api({
|
|
1636
2885
|
method: "post",
|
|
1637
2886
|
url: "https://mp.weixin.qq.com/cgi-bin/masssend?action=check_same_material",
|
|
1638
|
-
data:
|
|
2887
|
+
data: mock_generatorFormData({
|
|
1639
2888
|
msgid: appMsgId,
|
|
1640
2889
|
fingerprint,
|
|
1641
2890
|
token: params.token,
|
|
@@ -1674,7 +2923,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
|
|
|
1674
2923
|
token: params.token,
|
|
1675
2924
|
lang: "zh_CN"
|
|
1676
2925
|
},
|
|
1677
|
-
data:
|
|
2926
|
+
data: mock_generatorFormData({
|
|
1678
2927
|
appmsg_id: appMsgId,
|
|
1679
2928
|
fingerprint,
|
|
1680
2929
|
token: params.token,
|
|
@@ -1693,7 +2942,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
|
|
|
1693
2942
|
params: {
|
|
1694
2943
|
action: "check_music"
|
|
1695
2944
|
},
|
|
1696
|
-
data:
|
|
2945
|
+
data: mock_generatorFormData({
|
|
1697
2946
|
appmsgid: appMsgId,
|
|
1698
2947
|
masssend_check: 1,
|
|
1699
2948
|
fingerprint,
|
|
@@ -1713,7 +2962,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
|
|
|
1713
2962
|
lang: "zh_CN",
|
|
1714
2963
|
1: 1
|
|
1715
2964
|
},
|
|
1716
|
-
data:
|
|
2965
|
+
data: mock_generatorFormData({
|
|
1717
2966
|
token: params.token,
|
|
1718
2967
|
lang: "zh_CN",
|
|
1719
2968
|
f: "json",
|
|
@@ -1733,7 +2982,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
|
|
|
1733
2982
|
lang: "zh_CN",
|
|
1734
2983
|
1: 1
|
|
1735
2984
|
},
|
|
1736
|
-
data:
|
|
2985
|
+
data: mock_generatorFormData({
|
|
1737
2986
|
token: params.token,
|
|
1738
2987
|
lang: "zh_CN",
|
|
1739
2988
|
f: "json",
|
|
@@ -1787,7 +3036,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
|
|
|
1787
3036
|
lang: "zh_CN",
|
|
1788
3037
|
timespam: Date.now()
|
|
1789
3038
|
},
|
|
1790
|
-
data:
|
|
3039
|
+
data: mock_generatorFormData({
|
|
1791
3040
|
token: params.token,
|
|
1792
3041
|
lang: "zh_CN",
|
|
1793
3042
|
f: "json",
|
|
@@ -1817,7 +3066,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
|
|
|
1817
3066
|
lang: "zh_CN",
|
|
1818
3067
|
1: 1
|
|
1819
3068
|
},
|
|
1820
|
-
data:
|
|
3069
|
+
data: mock_generatorFormData({
|
|
1821
3070
|
token: params.token,
|
|
1822
3071
|
lang: "zh_CN",
|
|
1823
3072
|
f: "json",
|
|
@@ -1839,7 +3088,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
|
|
|
1839
3088
|
is_release_publish_page: 1
|
|
1840
3089
|
}
|
|
1841
3090
|
},
|
|
1842
|
-
data:
|
|
3091
|
+
data: mock_generatorFormData({
|
|
1843
3092
|
token: params.token,
|
|
1844
3093
|
lang: "zh_CN",
|
|
1845
3094
|
f: "json",
|
|
@@ -2940,9 +4189,7 @@ const xiaohongshuPublish = async (task, params)=>{
|
|
|
2940
4189
|
if ("mockApi" === params.actionType) return xiaohongshuPublish_mock_mockAction(task, params);
|
|
2941
4190
|
return executeAction(xiaohongshuPublish_mock_mockAction, xiaohongshuPublish_rpa_rpaAction)(task, params);
|
|
2942
4191
|
};
|
|
2943
|
-
var package_namespaceObject = {
|
|
2944
|
-
i8: "1.2.9"
|
|
2945
|
-
};
|
|
4192
|
+
var package_namespaceObject = JSON.parse('{"i8":"1.2.11-beta.0"}');
|
|
2946
4193
|
class Action {
|
|
2947
4194
|
constructor(task){
|
|
2948
4195
|
this.task = task;
|
|
@@ -2966,6 +4213,18 @@ class Action {
|
|
|
2966
4213
|
searchToutiaoTopicList(params) {
|
|
2967
4214
|
return this.bindTask(searchToutiaoTopicList, params);
|
|
2968
4215
|
}
|
|
4216
|
+
TTFansExport(params) {
|
|
4217
|
+
return this.bindTask(TTFansExport, params);
|
|
4218
|
+
}
|
|
4219
|
+
XhsFansExport(params) {
|
|
4220
|
+
return this.bindTask(XhsFansExport, params);
|
|
4221
|
+
}
|
|
4222
|
+
WxFansExport(params) {
|
|
4223
|
+
return this.bindTask(WxFansExport, params);
|
|
4224
|
+
}
|
|
4225
|
+
BjhFansExport(params) {
|
|
4226
|
+
return this.bindTask(BjhFansExport, params);
|
|
4227
|
+
}
|
|
2969
4228
|
getToutiaoConfig(params) {
|
|
2970
4229
|
return this.bindTask(getToutiaoConfig, params);
|
|
2971
4230
|
}
|