@iflyrpa/actions 1.2.11-beta.2 → 1.2.11
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/baijiahaoPublish/index.d.ts +0 -1
- package/dist/actions/toutiaoPublish/index.d.ts +0 -1
- package/dist/actions/weixinPublish/index.d.ts +0 -1
- package/dist/bundle.js +36 -1442
- package/dist/bundle.js.map +1 -1
- package/dist/index.d.ts +1 -9
- package/dist/index.js +2808 -4227
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +36 -1454
- package/dist/index.mjs.map +1 -1
- package/dist/types.d.ts +5 -21
- package/dist/utils/index.d.ts +0 -9
- package/package.json +1 -1
- package/dist/actions/common/FansTool/index.d.ts +0 -19
package/dist/bundle.js
CHANGED
|
@@ -1818,1088 +1818,6 @@ var __webpack_modules__ = {
|
|
|
1818
1818
|
})
|
|
1819
1819
|
};
|
|
1820
1820
|
},
|
|
1821
|
-
"./src/utils/ttABEncrypt.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1822
|
-
module = __webpack_require__.nmd(module);
|
|
1823
|
-
const a0_0x45db08 = a0_0x4b0d;
|
|
1824
|
-
function a0_0x4b0d(_0x2bd218, _0x316d6) {
|
|
1825
|
-
const _0x165410 = a0_0x1654();
|
|
1826
|
-
return a0_0x4b0d = function(_0x4b0d73, _0x5794db) {
|
|
1827
|
-
_0x4b0d73 -= 0x84;
|
|
1828
|
-
let _0x1859e3 = _0x165410[_0x4b0d73];
|
|
1829
|
-
return _0x1859e3;
|
|
1830
|
-
}, a0_0x4b0d(_0x2bd218, _0x316d6);
|
|
1831
|
-
}
|
|
1832
|
-
(function(_0x1b2596, _0x16c0e0) {
|
|
1833
|
-
const _0x1227f1 = a0_0x4b0d, _0x46fb59 = _0x1b2596();
|
|
1834
|
-
while(true)try {
|
|
1835
|
-
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;
|
|
1836
|
-
if (_0x383dd4 === _0x16c0e0) break;
|
|
1837
|
-
_0x46fb59['push'](_0x46fb59['shift']());
|
|
1838
|
-
} catch (_0x4fc071) {
|
|
1839
|
-
_0x46fb59['push'](_0x46fb59['shift']());
|
|
1840
|
-
}
|
|
1841
|
-
})(a0_0x1654, 0x807f8);
|
|
1842
|
-
const Random = Math['random'](), Ts = Date['now'](), Sm3DoneTs = Ts + 0x30, xhrParaDoneTs = Ts + 0x109, xhrReqDoneTs = Ts + 0x10af0;
|
|
1843
|
-
function a0_0x1654() {
|
|
1844
|
-
const _0x46e031 = [
|
|
1845
|
-
'floor',
|
|
1846
|
-
'dhzx',
|
|
1847
|
-
'map',
|
|
1848
|
-
'_compress',
|
|
1849
|
-
'charCodeAt',
|
|
1850
|
-
'min',
|
|
1851
|
-
'invalid\x20j\x20for\x20constant\x20Tj',
|
|
1852
|
-
'reset',
|
|
1853
|
-
'662|856|1920|977|1920|977|1920|1080|Linux\x20x86_64',
|
|
1854
|
-
'6GqxJwW',
|
|
1855
|
-
'error',
|
|
1856
|
-
'1578UVUSyW',
|
|
1857
|
-
'fromCharCode',
|
|
1858
|
-
'replace',
|
|
1859
|
-
'17445vhaSjq',
|
|
1860
|
-
'isNaN',
|
|
1861
|
-
'toString',
|
|
1862
|
-
'push',
|
|
1863
|
-
'length',
|
|
1864
|
-
'write',
|
|
1865
|
-
'reduce',
|
|
1866
|
-
'charAt',
|
|
1867
|
-
'reg',
|
|
1868
|
-
'split',
|
|
1869
|
-
'2475936ufrFMu',
|
|
1870
|
-
'2137592VTpBSF',
|
|
1871
|
-
'join',
|
|
1872
|
-
'Dkdpgh2ZmsQB80/MfvV36XI1R45-WUAlEixNLwoqYTOPuzKFjJnry79HbGcaStCe',
|
|
1873
|
-
'exports',
|
|
1874
|
-
'fmUmtNjj1OfTrR716RULEyQaLPrOG1jpZz0/4Tyzr7/IbcOXs8PxVxHmrAIsIMm6IfTserj+JgCbPHUssUmedGKwCrIziubgSU0FT1MmqPOZXcPDGB3xUyq+vaM7HZyYgJtKyMR=',
|
|
1875
|
-
'48064qVwnFy',
|
|
1876
|
-
'concat',
|
|
1877
|
-
'prototype',
|
|
1878
|
-
'167524mhzzJE',
|
|
1879
|
-
'5968354Oyyfma',
|
|
1880
|
-
'chunk',
|
|
1881
|
-
'string',
|
|
1882
|
-
'forEach',
|
|
1883
|
-
'size',
|
|
1884
|
-
'slice',
|
|
1885
|
-
'sort',
|
|
1886
|
-
'9BjSPrC',
|
|
1887
|
-
'sum',
|
|
1888
|
-
'repeat',
|
|
1889
|
-
'splice',
|
|
1890
|
-
'239400JtRPVl'
|
|
1891
|
-
];
|
|
1892
|
-
a0_0x1654 = function() {
|
|
1893
|
-
return _0x46e031;
|
|
1894
|
-
};
|
|
1895
|
-
return a0_0x1654();
|
|
1896
|
-
}
|
|
1897
|
-
class SM3Hasher {
|
|
1898
|
-
constructor(){
|
|
1899
|
-
const _0x468533 = a0_0x4b0d;
|
|
1900
|
-
this[_0x468533(0xa8)] = new Array(0x8), this[_0x468533(0x87)] = [], this[_0x468533(0x8a)] = 0x0, this[_0x468533(0x99)]();
|
|
1901
|
-
}
|
|
1902
|
-
[a0_0x45db08(0x99)]() {
|
|
1903
|
-
const _0x11e792 = a0_0x45db08;
|
|
1904
|
-
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;
|
|
1905
|
-
}
|
|
1906
|
-
[a0_0x45db08(0xa5)](_0x22d1ef) {
|
|
1907
|
-
const _0x182388 = a0_0x45db08;
|
|
1908
|
-
var _0x2ded18 = _0x182388(0x88) == typeof _0x22d1ef ? function(_0x5e491d) {
|
|
1909
|
-
const _0x12d911 = _0x182388;
|
|
1910
|
-
var _0x5795ab = encodeURIComponent(_0x5e491d)[_0x12d911(0x9f)](/%([0-9A-F]{2})/g, function(_0x22d98b, _0x5659da) {
|
|
1911
|
-
const _0x357908 = _0x12d911;
|
|
1912
|
-
return String[_0x357908(0x9e)]('0x' + _0x5659da);
|
|
1913
|
-
}), _0x5c0d1c = new Array(_0x5795ab['length']);
|
|
1914
|
-
return Array[_0x12d911(0x84)][_0x12d911(0x89)]['call'](_0x5795ab, function(_0x2e8583, _0x28f42f) {
|
|
1915
|
-
const _0x4b2a85 = _0x12d911;
|
|
1916
|
-
_0x5c0d1c[_0x28f42f] = _0x2e8583[_0x4b2a85(0x96)](0x0);
|
|
1917
|
-
}), _0x5c0d1c;
|
|
1918
|
-
}(_0x22d1ef) : _0x22d1ef;
|
|
1919
|
-
this['size'] += _0x2ded18['length'];
|
|
1920
|
-
var _0xffe4ea = 0x40 - this[_0x182388(0x87)][_0x182388(0xa4)];
|
|
1921
|
-
if (_0x2ded18[_0x182388(0xa4)] < _0xffe4ea) this['chunk'] = this[_0x182388(0x87)][_0x182388(0xb1)](_0x2ded18);
|
|
1922
|
-
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;
|
|
1923
|
-
}
|
|
1924
|
-
[a0_0x45db08(0x8e)](_0x34ff8d, _0xecf9f6) {
|
|
1925
|
-
const _0x3ddb20 = a0_0x45db08;
|
|
1926
|
-
_0x34ff8d && (this[_0x3ddb20(0x99)](), this[_0x3ddb20(0xa5)](_0x34ff8d)), this['_fill']();
|
|
1927
|
-
for(var _0x28ac8a = 0x0; _0x28ac8a < this[_0x3ddb20(0x87)][_0x3ddb20(0xa4)]; _0x28ac8a += 0x40)this[_0x3ddb20(0x95)](this[_0x3ddb20(0x87)]['slice'](_0x28ac8a, _0x28ac8a + 0x40));
|
|
1928
|
-
var _0x117621, _0x335539, _0x450e58, _0x5b1ad8 = null;
|
|
1929
|
-
if ('hex' == _0xecf9f6) {
|
|
1930
|
-
_0x5b1ad8 = '';
|
|
1931
|
-
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);
|
|
1932
|
-
} else for(_0x5b1ad8 = new Array(0x20), _0x28ac8a = 0x0; _0x28ac8a < 0x8; _0x28ac8a++){
|
|
1933
|
-
var _0x46ad66 = this[_0x3ddb20(0xa8)][_0x28ac8a];
|
|
1934
|
-
_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;
|
|
1935
|
-
}
|
|
1936
|
-
return this[_0x3ddb20(0x99)](), _0x5b1ad8;
|
|
1937
|
-
}
|
|
1938
|
-
['_fill']() {
|
|
1939
|
-
const _0xa844a0 = a0_0x45db08;
|
|
1940
|
-
var _0x15bc36 = 0x8 * this[_0xa844a0(0x8a)], _0x4a32f3 = this['chunk'][_0xa844a0(0xa3)](0x80) % 0x40;
|
|
1941
|
-
for(0x40 - _0x4a32f3 < 0x8 && (_0x4a32f3 -= 0x40); _0x4a32f3 < 0x38; _0x4a32f3++)this[_0xa844a0(0x87)][_0xa844a0(0xa3)](0x0);
|
|
1942
|
-
for(var _0x36cc0b = 0x0; _0x36cc0b < 0x4; _0x36cc0b++){
|
|
1943
|
-
var _0xd7dcfe = Math[_0xa844a0(0x92)](_0x15bc36 / 0x100000000);
|
|
1944
|
-
this['chunk'][_0xa844a0(0xa3)](_0xd7dcfe >>> 0x8 * (0x3 - _0x36cc0b) & 0xff);
|
|
1945
|
-
}
|
|
1946
|
-
for(_0x36cc0b = 0x0; _0x36cc0b < 0x4; _0x36cc0b++)this[_0xa844a0(0x87)][_0xa844a0(0xa3)](_0x15bc36 >>> 0x8 * (0x3 - _0x36cc0b) & 0xff);
|
|
1947
|
-
}
|
|
1948
|
-
[a0_0x45db08(0x95)](_0x1e530c) {
|
|
1949
|
-
const _0x3c50af = a0_0x45db08;
|
|
1950
|
-
function _0x3da582(_0x14b06e, _0x4ec82e) {
|
|
1951
|
-
return (_0x14b06e << (_0x4ec82e %= 0x20) | _0x14b06e >>> 0x20 - _0x4ec82e) >>> 0x0;
|
|
1952
|
-
}
|
|
1953
|
-
function _0x489962(_0x5dd43e) {
|
|
1954
|
-
const _0x744660 = a0_0x4b0d;
|
|
1955
|
-
return 0x0 <= _0x5dd43e && _0x5dd43e < 0x10 ? 0x79cc4519 : 0x10 <= _0x5dd43e && _0x5dd43e < 0x40 ? 0x7a879d8a : void console[_0x744660(0x9c)](_0x744660(0x98));
|
|
1956
|
-
}
|
|
1957
|
-
function _0x197f71(_0x5e22dd, _0xfc800b, _0x1300f1, _0xed8891) {
|
|
1958
|
-
const _0x3414cb = a0_0x4b0d;
|
|
1959
|
-
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);
|
|
1960
|
-
}
|
|
1961
|
-
function _0x2f42fb(_0x326645, _0x2c63af, _0x558c0d, _0x4a902b) {
|
|
1962
|
-
const _0x493bba = a0_0x4b0d;
|
|
1963
|
-
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);
|
|
1964
|
-
}
|
|
1965
|
-
if (_0x1e530c[_0x3c50af(0xa4)] < 0x40) {
|
|
1966
|
-
console[_0x3c50af(0x9c)]('compress\x20error:\x20not\x20enough\x20data');
|
|
1967
|
-
return;
|
|
1968
|
-
}
|
|
1969
|
-
for(var _0x23a9bd = function(_0x7114f5) {
|
|
1970
|
-
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;
|
|
1971
|
-
for(var _0xe5328 = 0x10; _0xe5328 < 0x44; _0xe5328++){
|
|
1972
|
-
var _0x2b58f2 = _0x49cf1f[_0xe5328 - 0x10] ^ _0x49cf1f[_0xe5328 - 0x9] ^ _0x3da582(_0x49cf1f[_0xe5328 - 0x3], 0xf);
|
|
1973
|
-
_0x2b58f2 = _0x2b58f2 ^ _0x3da582(_0x2b58f2, 0xf) ^ _0x3da582(_0x2b58f2, 0x17), _0x49cf1f[_0xe5328] = (_0x2b58f2 ^ _0x3da582(_0x49cf1f[_0xe5328 - 0xd], 0x7) ^ _0x49cf1f[_0xe5328 - 0x6]) >>> 0x0;
|
|
1974
|
-
}
|
|
1975
|
-
for(_0xe5328 = 0x0; _0xe5328 < 0x40; _0xe5328++)_0x49cf1f[_0xe5328 + 0x44] = (_0x49cf1f[_0xe5328] ^ _0x49cf1f[_0xe5328 + 0x4]) >>> 0x0;
|
|
1976
|
-
return _0x49cf1f;
|
|
1977
|
-
}(_0x1e530c), _0x17c086 = this[_0x3c50af(0xa8)][_0x3c50af(0x8b)](0x0), _0x3621a2 = 0x0; _0x3621a2 < 0x40; _0x3621a2++){
|
|
1978
|
-
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]);
|
|
1979
|
-
_0x50d411 = (0xffffffff & (_0x50d411 = _0x50d411 + _0x17c086[0x3] + _0x3b42ff + _0x23a9bd[_0x3621a2 + 0x44])) >>> 0x0;
|
|
1980
|
-
var _0x910e21 = _0x2f42fb(_0x3621a2, _0x17c086[0x4], _0x17c086[0x5], _0x17c086[0x6]);
|
|
1981
|
-
_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;
|
|
1982
|
-
}
|
|
1983
|
-
for(var _0x459622 = 0x0; _0x459622 < 0x8; _0x459622++)this['reg'][_0x459622] = (this[_0x3c50af(0xa8)][_0x459622] ^ _0x17c086[_0x459622]) >>> 0x0;
|
|
1984
|
-
}
|
|
1985
|
-
}
|
|
1986
|
-
function EnvData2CharCode(_0x58cd97, _0x23e1e0, _0x3ca6b2) {
|
|
1987
|
-
const _0x56cb93 = a0_0x45db08;
|
|
1988
|
-
let _0x2d49d4 = 0xf0 * Random >> 0x0 > 0x6d ? (0xf0 * Random >> 0x0) + 0x2 : 0xf0 * Random >> 0x0, _0x3f2013 = 0xff * Random >> 0x0 & 0x4d | 178, _0x4b8ded = [
|
|
1989
|
-
0xffff * Random & 170 | 0x55 & [
|
|
1990
|
-
0x1,
|
|
1991
|
-
0x0,
|
|
1992
|
-
0x1,
|
|
1993
|
-
0xf
|
|
1994
|
-
][_0x56cb93(0x8b)](0x0, 0x2)[0x0],
|
|
1995
|
-
0xffff * Random & 85 | 0xaa & [
|
|
1996
|
-
0x1,
|
|
1997
|
-
0x0,
|
|
1998
|
-
0x1,
|
|
1999
|
-
0xf
|
|
2000
|
-
][_0x56cb93(0x8b)](0x0, 0x2)[0x0],
|
|
2001
|
-
0xffff * Random >> 0x8 & 0xaa | 0x55 & [
|
|
2002
|
-
0x1,
|
|
2003
|
-
0x0,
|
|
2004
|
-
0x1,
|
|
2005
|
-
0xf
|
|
2006
|
-
]['slice'](0x0, 0x2)[0x1],
|
|
2007
|
-
0xffff * Random >> 0x8 & 0x55 | 0xaa & [
|
|
2008
|
-
0x1,
|
|
2009
|
-
0x0,
|
|
2010
|
-
0x1,
|
|
2011
|
-
0xf
|
|
2012
|
-
][_0x56cb93(0x8b)](0x0, 0x2)[0x1],
|
|
2013
|
-
0xaa & _0x2d49d4 | 0x55 & [
|
|
2014
|
-
0x1,
|
|
2015
|
-
0x0,
|
|
2016
|
-
0x1,
|
|
2017
|
-
0xf
|
|
2018
|
-
][_0x56cb93(0x8b)](0x2, 0x4)[0x0],
|
|
2019
|
-
0x55 & _0x2d49d4 | 0xaa & [
|
|
2020
|
-
0x1,
|
|
2021
|
-
0x0,
|
|
2022
|
-
0x1,
|
|
2023
|
-
0xf
|
|
2024
|
-
][_0x56cb93(0x8b)](0x2, 0x4)[0x0],
|
|
2025
|
-
0xaa & _0x3f2013 | 0x55 & [
|
|
2026
|
-
0x1,
|
|
2027
|
-
0x0,
|
|
2028
|
-
0x1,
|
|
2029
|
-
0xf
|
|
2030
|
-
][_0x56cb93(0x8b)](0x2, 0x4)[0x1],
|
|
2031
|
-
0x55 & _0x3f2013 | 0xaa & [
|
|
2032
|
-
0x1,
|
|
2033
|
-
0x0,
|
|
2034
|
-
0x1,
|
|
2035
|
-
0xf
|
|
2036
|
-
][_0x56cb93(0x8b)](0x2, 0x4)[0x1]
|
|
2037
|
-
], _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));
|
|
2038
|
-
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);
|
|
2039
|
-
let _0x4139e6 = [
|
|
2040
|
-
0x29,
|
|
2041
|
-
(xhrReqDoneTs - 0x190e5788800) / 0x3e8 / 0x3c / 0x3c / 0x18 / 0xe >> 0x0,
|
|
2042
|
-
0x6,
|
|
2043
|
-
xhrParaDoneTs - Ts + 0x3 & 0xff,
|
|
2044
|
-
0xff & xhrParaDoneTs,
|
|
2045
|
-
xhrParaDoneTs >> 0x8 & 0xff,
|
|
2046
|
-
xhrParaDoneTs >> 0x10 & 0xff,
|
|
2047
|
-
xhrParaDoneTs >> 0x18 & 0xff,
|
|
2048
|
-
xhrParaDoneTs / 0x100 / 0x100 / 0x100 / 0x100 & 0xff,
|
|
2049
|
-
xhrParaDoneTs / 0x100 / 0x100 / 0x100 / 0x100 / 0x100 & 0xff,
|
|
2050
|
-
xhrParaDoneTs / 0x100 / 0x100 / 0x100 / 0x100 / 0x100 & 255,
|
|
2051
|
-
xhrParaDoneTs / 0x100 / 0x100 / 0x100 / 0x100 / 0x100 & 0,
|
|
2052
|
-
1,
|
|
2053
|
-
0,
|
|
2054
|
-
0xa,
|
|
2055
|
-
0x4,
|
|
2056
|
-
0x4,
|
|
2057
|
-
0x0,
|
|
2058
|
-
8,
|
|
2059
|
-
0,
|
|
2060
|
-
0,
|
|
2061
|
-
0,
|
|
2062
|
-
_0xe2d586[0x9],
|
|
2063
|
-
_0xe2d586[0x12],
|
|
2064
|
-
0x3,
|
|
2065
|
-
_0xe2d586[0x3],
|
|
2066
|
-
_0x571095[0xa],
|
|
2067
|
-
_0x571095[0x13],
|
|
2068
|
-
0x4,
|
|
2069
|
-
_0x571095[0x4],
|
|
2070
|
-
_0x4dabdb[0xb],
|
|
2071
|
-
_0x4dabdb[0x15],
|
|
2072
|
-
0x5,
|
|
2073
|
-
_0x4dabdb[0x5],
|
|
2074
|
-
0xff & Sm3DoneTs,
|
|
2075
|
-
Sm3DoneTs >> 0x8 & 0xff,
|
|
2076
|
-
Sm3DoneTs >> 0x10 & 0xff,
|
|
2077
|
-
Sm3DoneTs >> 0x18 & 0xff,
|
|
2078
|
-
Sm3DoneTs / 0x100 / 0x100 / 0x100 / 0x100 & 0xff,
|
|
2079
|
-
Sm3DoneTs / 0x100 / 0x100 / 0x100 / 0x100 / 0x100 & 0xff,
|
|
2080
|
-
0x3,
|
|
2081
|
-
41,
|
|
2082
|
-
101,
|
|
2083
|
-
0,
|
|
2084
|
-
0,
|
|
2085
|
-
207,
|
|
2086
|
-
4,
|
|
2087
|
-
0,
|
|
2088
|
-
0,
|
|
2089
|
-
_0x5bb315['length'],
|
|
2090
|
-
_0x5bb315['length'],
|
|
2091
|
-
0x0,
|
|
2092
|
-
_0x1cdc95[_0x56cb93(0xa4)],
|
|
2093
|
-
_0x1cdc95[_0x56cb93(0xa4)],
|
|
2094
|
-
0x0
|
|
2095
|
-
], _0x339170 = [
|
|
2096
|
-
_0x4139e6[0x9],
|
|
2097
|
-
_0x4139e6[0x12],
|
|
2098
|
-
_0x4139e6[0x1e],
|
|
2099
|
-
_0x4139e6[0x23],
|
|
2100
|
-
_0x4139e6[0x2f],
|
|
2101
|
-
_0x4139e6[0x4],
|
|
2102
|
-
_0x4139e6[0x2c],
|
|
2103
|
-
_0x4139e6[0x13],
|
|
2104
|
-
_0x4139e6[0xa],
|
|
2105
|
-
_0x4139e6[0x17],
|
|
2106
|
-
_0x4139e6[0xc],
|
|
2107
|
-
_0x4139e6[0x28],
|
|
2108
|
-
_0x4139e6[0x19],
|
|
2109
|
-
_0x4139e6[0x2a],
|
|
2110
|
-
_0x4139e6[0x3],
|
|
2111
|
-
_0x4139e6[0x16],
|
|
2112
|
-
_0x4139e6[0x26],
|
|
2113
|
-
_0x4139e6[0x15],
|
|
2114
|
-
_0x4139e6[0x5],
|
|
2115
|
-
_0x4139e6[0x2d],
|
|
2116
|
-
_0x4139e6[0x1],
|
|
2117
|
-
_0x4139e6[0x1d],
|
|
2118
|
-
_0x4139e6[0x6],
|
|
2119
|
-
_0x4139e6[0x2b],
|
|
2120
|
-
_0x4139e6[0x21],
|
|
2121
|
-
_0x4139e6[0xe],
|
|
2122
|
-
_0x4139e6[0x24],
|
|
2123
|
-
_0x4139e6[0x25],
|
|
2124
|
-
_0x4139e6[0x2],
|
|
2125
|
-
_0x4139e6[0x2e],
|
|
2126
|
-
_0x4139e6[0xf],
|
|
2127
|
-
_0x4139e6[0x30],
|
|
2128
|
-
_0x4139e6[0x1f],
|
|
2129
|
-
_0x4139e6[0x1a],
|
|
2130
|
-
_0x4139e6[0x10],
|
|
2131
|
-
_0x4139e6[0xd],
|
|
2132
|
-
_0x4139e6[0x8],
|
|
2133
|
-
_0x4139e6[0x29],
|
|
2134
|
-
_0x4139e6[0x1b],
|
|
2135
|
-
_0x4139e6[0x11],
|
|
2136
|
-
_0x4139e6[0x27],
|
|
2137
|
-
_0x4139e6[0x14],
|
|
2138
|
-
_0x4139e6[0xb],
|
|
2139
|
-
_0x4139e6[0x0],
|
|
2140
|
-
_0x4139e6[0x22],
|
|
2141
|
-
_0x4139e6[0x7],
|
|
2142
|
-
_0x4139e6[0x32],
|
|
2143
|
-
_0x4139e6[0x33],
|
|
2144
|
-
_0x4139e6[0x35],
|
|
2145
|
-
_0x4139e6[0x36]
|
|
2146
|
-
];
|
|
2147
|
-
function _0x56e1cd(_0x24b6d5, _0x196cf7) {
|
|
2148
|
-
const _0x2eb1f3 = _0x56cb93;
|
|
2149
|
-
return _0x196cf7[_0x2eb1f3(0x8c)]((_0x2171ba, _0x925e58)=>_0x925e58 - _0x2171ba)[_0x2eb1f3(0x89)]((_0x540dbd)=>{
|
|
2150
|
-
const _0x2fbb10 = _0x2eb1f3;
|
|
2151
|
-
_0x540dbd >= 0x0 && _0x540dbd < _0x24b6d5[_0x2fbb10(0xa4)] && _0x24b6d5[_0x2fbb10(0x90)](_0x540dbd, 0x1);
|
|
2152
|
-
}), _0x24b6d5;
|
|
2153
|
-
}
|
|
2154
|
-
let _0x41ebdd = _0x4b8ded[_0x56cb93(0xb1)](_0x56e1cd(_0x4139e6, [
|
|
2155
|
-
0x18,
|
|
2156
|
-
0x1c,
|
|
2157
|
-
0x20,
|
|
2158
|
-
0x31,
|
|
2159
|
-
0x34
|
|
2160
|
-
])), _0x42a240 = _0x41ebdd[_0x56cb93(0xa6)]((_0x49ec53, _0x3d9ba0)=>_0x49ec53 ^ _0x3d9ba0), _0xeaa831 = _0x339170['concat'](_0x5bb315, _0x1cdc95, _0x42a240), _0x477e24 = [], _0x3bd924 = 0x0;
|
|
2161
|
-
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;
|
|
2162
|
-
let _0x23c273 = _0x4b8ded[_0x56cb93(0xb1)](_0x477e24, _0xeaa831[_0x56cb93(0x8b)](_0x3bd924, _0xeaa831[_0x56cb93(0xa4)]));
|
|
2163
|
-
return _0x23c273[_0x56cb93(0x94)]((_0x4d13ab)=>String['fromCharCode'](_0x4d13ab))[_0x56cb93(0xac)]('');
|
|
2164
|
-
}
|
|
2165
|
-
function Base2Data(_0x348aa6) {
|
|
2166
|
-
const _0x2bc7c7 = a0_0x45db08;
|
|
2167
|
-
let _0x874207 = [
|
|
2168
|
-
0xffff * Random & 170 | 0x55 & [
|
|
2169
|
-
0x3,
|
|
2170
|
-
0x52
|
|
2171
|
-
][0x0],
|
|
2172
|
-
0xffff * Random & 85 | 0xaa & [
|
|
2173
|
-
0x3,
|
|
2174
|
-
0x52
|
|
2175
|
-
][0x0],
|
|
2176
|
-
0x28 * Random >> 0x0 & 0xaa | 0x55 & [
|
|
2177
|
-
0x3,
|
|
2178
|
-
0x52
|
|
2179
|
-
][0x1],
|
|
2180
|
-
0x28 * Random >> 0x0 & 0x55 | 0xaa & [
|
|
2181
|
-
0x3,
|
|
2182
|
-
0x52
|
|
2183
|
-
][0x1]
|
|
2184
|
-
][_0x2bc7c7(0x94)]((_0x224d00)=>{
|
|
2185
|
-
const _0x31697c = _0x2bc7c7;
|
|
2186
|
-
return String[_0x31697c(0x9e)](_0x224d00);
|
|
2187
|
-
})[_0x2bc7c7(0xac)](''), _0x235e4f = [
|
|
2188
|
-
0xff,
|
|
2189
|
-
0xfe,
|
|
2190
|
-
0xfd,
|
|
2191
|
-
0xfc,
|
|
2192
|
-
0xfb,
|
|
2193
|
-
0xfa,
|
|
2194
|
-
0xf9,
|
|
2195
|
-
0xf8,
|
|
2196
|
-
0xf7,
|
|
2197
|
-
0xf6,
|
|
2198
|
-
0xf5,
|
|
2199
|
-
0xf4,
|
|
2200
|
-
0xf3,
|
|
2201
|
-
0xf2,
|
|
2202
|
-
0xf1,
|
|
2203
|
-
0xf0,
|
|
2204
|
-
0xef,
|
|
2205
|
-
0xee,
|
|
2206
|
-
0xed,
|
|
2207
|
-
0xec,
|
|
2208
|
-
0xeb,
|
|
2209
|
-
0xea,
|
|
2210
|
-
0xe9,
|
|
2211
|
-
0xe8,
|
|
2212
|
-
0xe7,
|
|
2213
|
-
0xe6,
|
|
2214
|
-
0xe5,
|
|
2215
|
-
0xe4,
|
|
2216
|
-
0xe3,
|
|
2217
|
-
0xe2,
|
|
2218
|
-
0xe1,
|
|
2219
|
-
0xe0,
|
|
2220
|
-
0xdf,
|
|
2221
|
-
0xde,
|
|
2222
|
-
0xdd,
|
|
2223
|
-
0xdc,
|
|
2224
|
-
0xdb,
|
|
2225
|
-
0xda,
|
|
2226
|
-
0xd9,
|
|
2227
|
-
0xd8,
|
|
2228
|
-
0xd7,
|
|
2229
|
-
0xd6,
|
|
2230
|
-
0xd5,
|
|
2231
|
-
0xd4,
|
|
2232
|
-
0xd3,
|
|
2233
|
-
0xd2,
|
|
2234
|
-
0xd1,
|
|
2235
|
-
0xd0,
|
|
2236
|
-
0xcf,
|
|
2237
|
-
0xce,
|
|
2238
|
-
0xcd,
|
|
2239
|
-
0xcc,
|
|
2240
|
-
0xcb,
|
|
2241
|
-
0xca,
|
|
2242
|
-
0xc9,
|
|
2243
|
-
0xc8,
|
|
2244
|
-
0xc7,
|
|
2245
|
-
0xc6,
|
|
2246
|
-
0xc5,
|
|
2247
|
-
0xc4,
|
|
2248
|
-
0xc3,
|
|
2249
|
-
0xc2,
|
|
2250
|
-
0xc1,
|
|
2251
|
-
0xc0,
|
|
2252
|
-
0xbf,
|
|
2253
|
-
0xbe,
|
|
2254
|
-
0xbd,
|
|
2255
|
-
0xbc,
|
|
2256
|
-
0xbb,
|
|
2257
|
-
0xba,
|
|
2258
|
-
0xb9,
|
|
2259
|
-
0xb8,
|
|
2260
|
-
0xb7,
|
|
2261
|
-
0xb6,
|
|
2262
|
-
0xb5,
|
|
2263
|
-
0xb4,
|
|
2264
|
-
0xb3,
|
|
2265
|
-
0xb2,
|
|
2266
|
-
0xb1,
|
|
2267
|
-
0xb0,
|
|
2268
|
-
0xaf,
|
|
2269
|
-
0xae,
|
|
2270
|
-
0xad,
|
|
2271
|
-
0xac,
|
|
2272
|
-
0xab,
|
|
2273
|
-
0xaa,
|
|
2274
|
-
0xa9,
|
|
2275
|
-
0xa8,
|
|
2276
|
-
0xa7,
|
|
2277
|
-
0xa6,
|
|
2278
|
-
0xa5,
|
|
2279
|
-
0xa4,
|
|
2280
|
-
0xa3,
|
|
2281
|
-
0xa2,
|
|
2282
|
-
0xa1,
|
|
2283
|
-
0xa0,
|
|
2284
|
-
0x9f,
|
|
2285
|
-
0x9e,
|
|
2286
|
-
0x9d,
|
|
2287
|
-
0x9c,
|
|
2288
|
-
0x9b,
|
|
2289
|
-
0x9a,
|
|
2290
|
-
0x99,
|
|
2291
|
-
0x98,
|
|
2292
|
-
0x97,
|
|
2293
|
-
0x96,
|
|
2294
|
-
0x95,
|
|
2295
|
-
0x94,
|
|
2296
|
-
0x93,
|
|
2297
|
-
0x92,
|
|
2298
|
-
0x91,
|
|
2299
|
-
0x90,
|
|
2300
|
-
0x8f,
|
|
2301
|
-
0x8e,
|
|
2302
|
-
0x8d,
|
|
2303
|
-
0x8c,
|
|
2304
|
-
0x8b,
|
|
2305
|
-
0x8a,
|
|
2306
|
-
0x89,
|
|
2307
|
-
0x88,
|
|
2308
|
-
0x87,
|
|
2309
|
-
0x86,
|
|
2310
|
-
0x85,
|
|
2311
|
-
0x84,
|
|
2312
|
-
0x83,
|
|
2313
|
-
0x82,
|
|
2314
|
-
0x81,
|
|
2315
|
-
0x80,
|
|
2316
|
-
0x7f,
|
|
2317
|
-
0x7e,
|
|
2318
|
-
0x7d,
|
|
2319
|
-
0x7c,
|
|
2320
|
-
0x7b,
|
|
2321
|
-
0x7a,
|
|
2322
|
-
0x79,
|
|
2323
|
-
0x78,
|
|
2324
|
-
0x77,
|
|
2325
|
-
0x76,
|
|
2326
|
-
0x75,
|
|
2327
|
-
0x74,
|
|
2328
|
-
0x73,
|
|
2329
|
-
0x72,
|
|
2330
|
-
0x71,
|
|
2331
|
-
0x70,
|
|
2332
|
-
0x6f,
|
|
2333
|
-
0x6e,
|
|
2334
|
-
0x6d,
|
|
2335
|
-
0x6c,
|
|
2336
|
-
0x6b,
|
|
2337
|
-
0x6a,
|
|
2338
|
-
0x69,
|
|
2339
|
-
0x68,
|
|
2340
|
-
0x67,
|
|
2341
|
-
0x66,
|
|
2342
|
-
0x65,
|
|
2343
|
-
0x64,
|
|
2344
|
-
0x63,
|
|
2345
|
-
0x62,
|
|
2346
|
-
0x61,
|
|
2347
|
-
0x60,
|
|
2348
|
-
0x5f,
|
|
2349
|
-
0x5e,
|
|
2350
|
-
0x5d,
|
|
2351
|
-
0x5c,
|
|
2352
|
-
0x5b,
|
|
2353
|
-
0x5a,
|
|
2354
|
-
0x59,
|
|
2355
|
-
0x58,
|
|
2356
|
-
0x57,
|
|
2357
|
-
0x56,
|
|
2358
|
-
0x55,
|
|
2359
|
-
0x54,
|
|
2360
|
-
0x53,
|
|
2361
|
-
0x52,
|
|
2362
|
-
0x51,
|
|
2363
|
-
0x50,
|
|
2364
|
-
0x4f,
|
|
2365
|
-
0x4e,
|
|
2366
|
-
0x4d,
|
|
2367
|
-
0x4c,
|
|
2368
|
-
0x4b,
|
|
2369
|
-
0x4a,
|
|
2370
|
-
0x49,
|
|
2371
|
-
0x48,
|
|
2372
|
-
0x47,
|
|
2373
|
-
0x46,
|
|
2374
|
-
0x45,
|
|
2375
|
-
0x44,
|
|
2376
|
-
0x43,
|
|
2377
|
-
0x42,
|
|
2378
|
-
0x41,
|
|
2379
|
-
0x40,
|
|
2380
|
-
0x3f,
|
|
2381
|
-
0x3e,
|
|
2382
|
-
0x3d,
|
|
2383
|
-
0x3c,
|
|
2384
|
-
0x3b,
|
|
2385
|
-
0x3a,
|
|
2386
|
-
0x39,
|
|
2387
|
-
0x38,
|
|
2388
|
-
0x37,
|
|
2389
|
-
0x36,
|
|
2390
|
-
0x35,
|
|
2391
|
-
0x34,
|
|
2392
|
-
0x33,
|
|
2393
|
-
0x32,
|
|
2394
|
-
0x31,
|
|
2395
|
-
0x30,
|
|
2396
|
-
0x2f,
|
|
2397
|
-
0x2e,
|
|
2398
|
-
0x2d,
|
|
2399
|
-
0x2c,
|
|
2400
|
-
0x2b,
|
|
2401
|
-
0x2a,
|
|
2402
|
-
0x29,
|
|
2403
|
-
0x28,
|
|
2404
|
-
0x27,
|
|
2405
|
-
0x26,
|
|
2406
|
-
0x25,
|
|
2407
|
-
0x24,
|
|
2408
|
-
0x23,
|
|
2409
|
-
0x22,
|
|
2410
|
-
0x21,
|
|
2411
|
-
0x20,
|
|
2412
|
-
0x1f,
|
|
2413
|
-
0x1e,
|
|
2414
|
-
0x1d,
|
|
2415
|
-
0x1c,
|
|
2416
|
-
0x1b,
|
|
2417
|
-
0x1a,
|
|
2418
|
-
0x19,
|
|
2419
|
-
0x18,
|
|
2420
|
-
0x17,
|
|
2421
|
-
0x16,
|
|
2422
|
-
0x15,
|
|
2423
|
-
0x14,
|
|
2424
|
-
0x13,
|
|
2425
|
-
0x12,
|
|
2426
|
-
0x11,
|
|
2427
|
-
0x10,
|
|
2428
|
-
0xf,
|
|
2429
|
-
0xe,
|
|
2430
|
-
0xd,
|
|
2431
|
-
0xc,
|
|
2432
|
-
0xb,
|
|
2433
|
-
0xa,
|
|
2434
|
-
0x9,
|
|
2435
|
-
0x8,
|
|
2436
|
-
0x7,
|
|
2437
|
-
0x6,
|
|
2438
|
-
0x5,
|
|
2439
|
-
0x4,
|
|
2440
|
-
0x3,
|
|
2441
|
-
0x2,
|
|
2442
|
-
0x1,
|
|
2443
|
-
0x0
|
|
2444
|
-
];
|
|
2445
|
-
const _0x29dde1 = 'Ó'[_0x2bc7c7(0x96)](0x0);
|
|
2446
|
-
let _0x4a74f1 = 0x0;
|
|
2447
|
-
for(let _0xef36c2 = 0x0; _0xef36c2 < _0x235e4f[_0x2bc7c7(0xa4)]; _0xef36c2++){
|
|
2448
|
-
let _0x4120e4 = _0x235e4f[_0xef36c2];
|
|
2449
|
-
_0x4a74f1 = (_0x4a74f1 * _0x4120e4 + _0x4a74f1 + _0x29dde1) % 0x100, [_0x235e4f[_0xef36c2], _0x235e4f[_0x4a74f1]] = [
|
|
2450
|
-
_0x235e4f[_0x4a74f1],
|
|
2451
|
-
_0x235e4f[_0xef36c2]
|
|
2452
|
-
];
|
|
2453
|
-
}
|
|
2454
|
-
let _0x39cb62 = 0x0, _0x5cbaf6 = '';
|
|
2455
|
-
for(let _0x29a672 = 0x0; _0x29a672 < _0x348aa6[_0x2bc7c7(0xa4)]; _0x29a672++){
|
|
2456
|
-
let _0x96c5ae = _0x348aa6[_0x2bc7c7(0x96)](_0x29a672), _0x46c34b = _0x29a672 + 0x1, _0x5d4cb4 = _0x235e4f[_0x46c34b];
|
|
2457
|
-
[_0x235e4f[_0x46c34b], _0x235e4f[(_0x39cb62 + _0x5d4cb4) % 0x100]] = [
|
|
2458
|
-
_0x235e4f[(_0x39cb62 + _0x5d4cb4) % 0x100],
|
|
2459
|
-
_0x235e4f[_0x46c34b]
|
|
2460
|
-
];
|
|
2461
|
-
let _0x506f4f = _0x235e4f[(_0x235e4f[_0x46c34b] + _0x5d4cb4) % 0x100];
|
|
2462
|
-
_0x39cb62 = (_0x39cb62 + _0x5d4cb4) % 0x100, _0x5cbaf6 += String['fromCharCode'](_0x96c5ae ^ _0x506f4f);
|
|
2463
|
-
}
|
|
2464
|
-
return _0x874207 + _0x5cbaf6;
|
|
2465
|
-
}
|
|
2466
|
-
function Data2A_B(_0x19ca6d) {
|
|
2467
|
-
const _0x5d8d72 = a0_0x45db08;
|
|
2468
|
-
let _0x225e7d = _0x5d8d72(0xad), _0x4f0a28 = '', _0x251d62 = [
|
|
2469
|
-
0x3e,
|
|
2470
|
-
0x12a,
|
|
2471
|
-
0x10,
|
|
2472
|
-
0x0,
|
|
2473
|
-
0x4,
|
|
2474
|
-
0x9,
|
|
2475
|
-
0x10,
|
|
2476
|
-
0x0,
|
|
2477
|
-
0x5,
|
|
2478
|
-
0x36,
|
|
2479
|
-
0x0,
|
|
2480
|
-
0x5,
|
|
2481
|
-
0x3e,
|
|
2482
|
-
0x12b,
|
|
2483
|
-
0x1a,
|
|
2484
|
-
0x12c,
|
|
2485
|
-
0x36,
|
|
2486
|
-
0x0,
|
|
2487
|
-
0x5,
|
|
2488
|
-
0x3e,
|
|
2489
|
-
0x12d,
|
|
2490
|
-
0x1a,
|
|
2491
|
-
0x12e,
|
|
2492
|
-
0x36,
|
|
2493
|
-
0x0,
|
|
2494
|
-
0x5,
|
|
2495
|
-
0x3e,
|
|
2496
|
-
0x12f,
|
|
2497
|
-
0x1a,
|
|
2498
|
-
0x130,
|
|
2499
|
-
0x36,
|
|
2500
|
-
0x0,
|
|
2501
|
-
0x5,
|
|
2502
|
-
0x3e,
|
|
2503
|
-
0x131,
|
|
2504
|
-
0x1a,
|
|
2505
|
-
0x10c,
|
|
2506
|
-
0x36,
|
|
2507
|
-
0x0,
|
|
2508
|
-
0x5,
|
|
2509
|
-
0x3e,
|
|
2510
|
-
0x132,
|
|
2511
|
-
0x1a,
|
|
2512
|
-
0x128,
|
|
2513
|
-
0x36,
|
|
2514
|
-
0x0,
|
|
2515
|
-
0x5,
|
|
2516
|
-
0x36,
|
|
2517
|
-
0x0,
|
|
2518
|
-
0x3,
|
|
2519
|
-
0x4c,
|
|
2520
|
-
0x10,
|
|
2521
|
-
0x0,
|
|
2522
|
-
0x6,
|
|
2523
|
-
0x3e,
|
|
2524
|
-
0x24,
|
|
2525
|
-
0x10,
|
|
2526
|
-
0x0,
|
|
2527
|
-
0x7,
|
|
2528
|
-
0x17,
|
|
2529
|
-
0x0,
|
|
2530
|
-
0x10,
|
|
2531
|
-
0x0,
|
|
2532
|
-
0x9,
|
|
2533
|
-
0x36,
|
|
2534
|
-
0x0,
|
|
2535
|
-
0x2,
|
|
2536
|
-
0x4,
|
|
2537
|
-
0x19,
|
|
2538
|
-
0x36,
|
|
2539
|
-
0x0,
|
|
2540
|
-
0x9,
|
|
2541
|
-
0x17,
|
|
2542
|
-
0x3,
|
|
2543
|
-
0x31,
|
|
2544
|
-
0x43,
|
|
2545
|
-
0xe,
|
|
2546
|
-
0x9f,
|
|
2547
|
-
0x36,
|
|
2548
|
-
0x0,
|
|
2549
|
-
0x2,
|
|
2550
|
-
0x16,
|
|
2551
|
-
0x4,
|
|
2552
|
-
0xf7,
|
|
2553
|
-
0x22,
|
|
2554
|
-
0x0,
|
|
2555
|
-
0x9,
|
|
2556
|
-
0x3c,
|
|
2557
|
-
0xc,
|
|
2558
|
-
0x1,
|
|
2559
|
-
0x17,
|
|
2560
|
-
0xff,
|
|
2561
|
-
0x32,
|
|
2562
|
-
0x17,
|
|
2563
|
-
0x10,
|
|
2564
|
-
0x1f,
|
|
2565
|
-
0x36,
|
|
2566
|
-
0x0,
|
|
2567
|
-
0x2,
|
|
2568
|
-
0x16,
|
|
2569
|
-
0x4,
|
|
2570
|
-
0xf7,
|
|
2571
|
-
0x22,
|
|
2572
|
-
0x0,
|
|
2573
|
-
0x9,
|
|
2574
|
-
0x3c,
|
|
2575
|
-
0xc,
|
|
2576
|
-
0x1,
|
|
2577
|
-
0x17,
|
|
2578
|
-
0xff,
|
|
2579
|
-
0x32,
|
|
2580
|
-
0x17,
|
|
2581
|
-
0x8,
|
|
2582
|
-
0x1f,
|
|
2583
|
-
0x20,
|
|
2584
|
-
0x36,
|
|
2585
|
-
0x0,
|
|
2586
|
-
0x2,
|
|
2587
|
-
0x16,
|
|
2588
|
-
0x4,
|
|
2589
|
-
0xf7,
|
|
2590
|
-
0x22,
|
|
2591
|
-
0x0,
|
|
2592
|
-
0x9,
|
|
2593
|
-
0x3c,
|
|
2594
|
-
0xc,
|
|
2595
|
-
0x1,
|
|
2596
|
-
0x17,
|
|
2597
|
-
0xff,
|
|
2598
|
-
0x32,
|
|
2599
|
-
0x20,
|
|
2600
|
-
0x10,
|
|
2601
|
-
0x0,
|
|
2602
|
-
0x8,
|
|
2603
|
-
0x36,
|
|
2604
|
-
0x0,
|
|
2605
|
-
0x7,
|
|
2606
|
-
0x36,
|
|
2607
|
-
0x0,
|
|
2608
|
-
0x6,
|
|
2609
|
-
0x16,
|
|
2610
|
-
0x4,
|
|
2611
|
-
0x67,
|
|
2612
|
-
0x36,
|
|
2613
|
-
0x0,
|
|
2614
|
-
0x8,
|
|
2615
|
-
0x17,
|
|
2616
|
-
0xfc0000,
|
|
2617
|
-
0x32,
|
|
2618
|
-
0x17,
|
|
2619
|
-
0x12,
|
|
2620
|
-
0x33,
|
|
2621
|
-
0xc,
|
|
2622
|
-
0x1,
|
|
2623
|
-
0x31,
|
|
2624
|
-
0x22,
|
|
2625
|
-
0x0,
|
|
2626
|
-
0x7,
|
|
2627
|
-
0x48,
|
|
2628
|
-
0x2b,
|
|
2629
|
-
0x36,
|
|
2630
|
-
0x0,
|
|
2631
|
-
0x7,
|
|
2632
|
-
0x36,
|
|
2633
|
-
0x0,
|
|
2634
|
-
0x6,
|
|
2635
|
-
0x16,
|
|
2636
|
-
0x4,
|
|
2637
|
-
0x67,
|
|
2638
|
-
0x36,
|
|
2639
|
-
0x0,
|
|
2640
|
-
0x8,
|
|
2641
|
-
0x17,
|
|
2642
|
-
0x3f000,
|
|
2643
|
-
0x32,
|
|
2644
|
-
0x17,
|
|
2645
|
-
0xc,
|
|
2646
|
-
0x33,
|
|
2647
|
-
0xc,
|
|
2648
|
-
0x1,
|
|
2649
|
-
0x31,
|
|
2650
|
-
0x22,
|
|
2651
|
-
0x0,
|
|
2652
|
-
0x7,
|
|
2653
|
-
0x48,
|
|
2654
|
-
0x2b,
|
|
2655
|
-
0x36,
|
|
2656
|
-
0x0,
|
|
2657
|
-
0x7,
|
|
2658
|
-
0x36,
|
|
2659
|
-
0x0,
|
|
2660
|
-
0x6,
|
|
2661
|
-
0x16,
|
|
2662
|
-
0x4,
|
|
2663
|
-
0x67,
|
|
2664
|
-
0x36,
|
|
2665
|
-
0x0,
|
|
2666
|
-
0x8,
|
|
2667
|
-
0x17,
|
|
2668
|
-
0xfc0,
|
|
2669
|
-
0x32,
|
|
2670
|
-
0x17,
|
|
2671
|
-
0x6,
|
|
2672
|
-
0x33,
|
|
2673
|
-
0xc,
|
|
2674
|
-
0x1,
|
|
2675
|
-
0x31,
|
|
2676
|
-
0x22,
|
|
2677
|
-
0x0,
|
|
2678
|
-
0x7,
|
|
2679
|
-
0x48,
|
|
2680
|
-
0x2b,
|
|
2681
|
-
0x36,
|
|
2682
|
-
0x0,
|
|
2683
|
-
0x7,
|
|
2684
|
-
0x36,
|
|
2685
|
-
0x0,
|
|
2686
|
-
0x6,
|
|
2687
|
-
0x16,
|
|
2688
|
-
0x4,
|
|
2689
|
-
0x67,
|
|
2690
|
-
0x36,
|
|
2691
|
-
0x0,
|
|
2692
|
-
0x8,
|
|
2693
|
-
0x17,
|
|
2694
|
-
0x3f,
|
|
2695
|
-
0x32,
|
|
2696
|
-
0xc,
|
|
2697
|
-
0x1,
|
|
2698
|
-
0x31,
|
|
2699
|
-
0x22,
|
|
2700
|
-
0x0,
|
|
2701
|
-
0x7,
|
|
2702
|
-
0x48,
|
|
2703
|
-
0x2b,
|
|
2704
|
-
0x12,
|
|
2705
|
-
-173,
|
|
2706
|
-
0x36,
|
|
2707
|
-
0x0,
|
|
2708
|
-
0x2,
|
|
2709
|
-
0x4,
|
|
2710
|
-
0x19,
|
|
2711
|
-
0x36,
|
|
2712
|
-
0x0,
|
|
2713
|
-
0x9,
|
|
2714
|
-
0x0,
|
|
2715
|
-
0x17,
|
|
2716
|
-
0x0,
|
|
2717
|
-
0x13,
|
|
2718
|
-
0xe,
|
|
2719
|
-
0xa0,
|
|
2720
|
-
0x36,
|
|
2721
|
-
0x0,
|
|
2722
|
-
0x2,
|
|
2723
|
-
0x16,
|
|
2724
|
-
0x4,
|
|
2725
|
-
0xf7,
|
|
2726
|
-
0x22,
|
|
2727
|
-
0x0,
|
|
2728
|
-
0x9,
|
|
2729
|
-
0x3c,
|
|
2730
|
-
0xc,
|
|
2731
|
-
0x1,
|
|
2732
|
-
0x17,
|
|
2733
|
-
0xff,
|
|
2734
|
-
0x32,
|
|
2735
|
-
0x17,
|
|
2736
|
-
0x10,
|
|
2737
|
-
0x1f,
|
|
2738
|
-
0x36,
|
|
2739
|
-
0x0,
|
|
2740
|
-
0x2,
|
|
2741
|
-
0x4,
|
|
2742
|
-
0x19,
|
|
2743
|
-
0x36,
|
|
2744
|
-
0x0,
|
|
2745
|
-
0x9,
|
|
2746
|
-
0x13,
|
|
2747
|
-
0xe,
|
|
2748
|
-
0x13,
|
|
2749
|
-
0x36,
|
|
2750
|
-
0x0,
|
|
2751
|
-
0x2,
|
|
2752
|
-
0x16,
|
|
2753
|
-
0x4,
|
|
2754
|
-
0xf7,
|
|
2755
|
-
0x36,
|
|
2756
|
-
0x0,
|
|
2757
|
-
0x9,
|
|
2758
|
-
0xc,
|
|
2759
|
-
0x1,
|
|
2760
|
-
0x17,
|
|
2761
|
-
0xff,
|
|
2762
|
-
0x32,
|
|
2763
|
-
0x17,
|
|
2764
|
-
0x8,
|
|
2765
|
-
0x1f,
|
|
2766
|
-
0x12,
|
|
2767
|
-
0x2,
|
|
2768
|
-
0x17,
|
|
2769
|
-
0x0,
|
|
2770
|
-
0x20,
|
|
2771
|
-
0x10,
|
|
2772
|
-
0x0,
|
|
2773
|
-
0x8,
|
|
2774
|
-
0x36,
|
|
2775
|
-
0x0,
|
|
2776
|
-
0x7,
|
|
2777
|
-
0x36,
|
|
2778
|
-
0x0,
|
|
2779
|
-
0x6,
|
|
2780
|
-
0x16,
|
|
2781
|
-
0x4,
|
|
2782
|
-
0x67,
|
|
2783
|
-
0x36,
|
|
2784
|
-
0x0,
|
|
2785
|
-
0x8,
|
|
2786
|
-
0x17,
|
|
2787
|
-
0xfc0000,
|
|
2788
|
-
0x32,
|
|
2789
|
-
0x17,
|
|
2790
|
-
0x12,
|
|
2791
|
-
0x33,
|
|
2792
|
-
0xc,
|
|
2793
|
-
0x1,
|
|
2794
|
-
0x31,
|
|
2795
|
-
0x22,
|
|
2796
|
-
0x0,
|
|
2797
|
-
0x7,
|
|
2798
|
-
0x48,
|
|
2799
|
-
0x2b,
|
|
2800
|
-
0x36,
|
|
2801
|
-
0x0,
|
|
2802
|
-
0x7,
|
|
2803
|
-
0x36,
|
|
2804
|
-
0x0,
|
|
2805
|
-
0x6,
|
|
2806
|
-
0x16,
|
|
2807
|
-
0x4,
|
|
2808
|
-
0x67,
|
|
2809
|
-
0x36,
|
|
2810
|
-
0x0,
|
|
2811
|
-
0x8,
|
|
2812
|
-
0x17,
|
|
2813
|
-
0x3f000,
|
|
2814
|
-
0x32,
|
|
2815
|
-
0x17,
|
|
2816
|
-
0xc,
|
|
2817
|
-
0x33,
|
|
2818
|
-
0xc,
|
|
2819
|
-
0x1,
|
|
2820
|
-
0x31,
|
|
2821
|
-
0x22,
|
|
2822
|
-
0x0,
|
|
2823
|
-
0x7,
|
|
2824
|
-
0x48,
|
|
2825
|
-
0x2b,
|
|
2826
|
-
0x36,
|
|
2827
|
-
0x0,
|
|
2828
|
-
0x7,
|
|
2829
|
-
0x36,
|
|
2830
|
-
0x0,
|
|
2831
|
-
0x2,
|
|
2832
|
-
0x4,
|
|
2833
|
-
0x19,
|
|
2834
|
-
0x36,
|
|
2835
|
-
0x0,
|
|
2836
|
-
0x9,
|
|
2837
|
-
0x13,
|
|
2838
|
-
0xe,
|
|
2839
|
-
0x13,
|
|
2840
|
-
0x36,
|
|
2841
|
-
0x0,
|
|
2842
|
-
0x6,
|
|
2843
|
-
0x16,
|
|
2844
|
-
0x4,
|
|
2845
|
-
0x67,
|
|
2846
|
-
0x36,
|
|
2847
|
-
0x0,
|
|
2848
|
-
0x8,
|
|
2849
|
-
0x17,
|
|
2850
|
-
0xfc0,
|
|
2851
|
-
0x32,
|
|
2852
|
-
0x17,
|
|
2853
|
-
0x6,
|
|
2854
|
-
0x33,
|
|
2855
|
-
0xc,
|
|
2856
|
-
0x1,
|
|
2857
|
-
0x12,
|
|
2858
|
-
0x3,
|
|
2859
|
-
0x36,
|
|
2860
|
-
0x0,
|
|
2861
|
-
0x4,
|
|
2862
|
-
0x31,
|
|
2863
|
-
0x22,
|
|
2864
|
-
0x0,
|
|
2865
|
-
0x7,
|
|
2866
|
-
0x48,
|
|
2867
|
-
0x2b,
|
|
2868
|
-
0x36,
|
|
2869
|
-
0x0,
|
|
2870
|
-
0x7,
|
|
2871
|
-
0x36,
|
|
2872
|
-
0x0,
|
|
2873
|
-
0x4,
|
|
2874
|
-
0x31,
|
|
2875
|
-
0x22,
|
|
2876
|
-
0x0,
|
|
2877
|
-
0x7,
|
|
2878
|
-
0x48,
|
|
2879
|
-
0x2b,
|
|
2880
|
-
0x36,
|
|
2881
|
-
0x0,
|
|
2882
|
-
0x7,
|
|
2883
|
-
0x41
|
|
2884
|
-
];
|
|
2885
|
-
for(let _0x2b8eea = 0x0; _0x2b8eea < _0x19ca6d['length']; _0x2b8eea += 0x3){
|
|
2886
|
-
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];
|
|
2887
|
-
_0x4f0a28 += _0x225e7d[_0x5d8d72(0xa7)](_0x225aa0);
|
|
2888
|
-
const _0x5607b9 = (_0x4382e1 & _0x251d62[0xad]) >> _0x251d62[0xb0];
|
|
2889
|
-
_0x4f0a28 += Number[_0x5d8d72(0xa1)](_0x3fca04) ? '=' : _0x225e7d[_0x5d8d72(0xa7)](_0x5607b9);
|
|
2890
|
-
const _0x3fb7b7 = (_0x4382e1 & _0x251d62[0xc7]) >> _0x251d62[0xca];
|
|
2891
|
-
_0x4f0a28 += Number[_0x5d8d72(0xa1)](_0xb85a46) ? '=' : _0x225e7d[_0x5d8d72(0xa7)](_0x3fb7b7);
|
|
2892
|
-
const _0x425784 = _0x4382e1 & _0x251d62[0xe1];
|
|
2893
|
-
_0x4f0a28 += Number[_0x5d8d72(0xa1)](_0x4e702d) ? '=' : _0x225e7d[_0x5d8d72(0xa7)](_0x425784);
|
|
2894
|
-
}
|
|
2895
|
-
return _0x4f0a28;
|
|
2896
|
-
}
|
|
2897
|
-
function GenAB(_0x315138, _0x1c32b3) {
|
|
2898
|
-
const _0x206982 = a0_0x45db08, _0x56536b = _0x206982(0xaf);
|
|
2899
|
-
return Data2A_B(Base2Data(EnvData2CharCode(_0x315138, _0x1c32b3, _0x56536b)));
|
|
2900
|
-
}
|
|
2901
|
-
module[a0_0x45db08(0xae)] = GenAB;
|
|
2902
|
-
},
|
|
2903
1821
|
assert: function(module) {
|
|
2904
1822
|
"use strict";
|
|
2905
1823
|
module.exports = require("assert");
|
|
@@ -2950,12 +1868,9 @@ function __webpack_require__(moduleId) {
|
|
|
2950
1868
|
var cachedModule = __webpack_module_cache__[moduleId];
|
|
2951
1869
|
if (void 0 !== cachedModule) return cachedModule.exports;
|
|
2952
1870
|
var module = __webpack_module_cache__[moduleId] = {
|
|
2953
|
-
id: moduleId,
|
|
2954
|
-
loaded: false,
|
|
2955
1871
|
exports: {}
|
|
2956
1872
|
};
|
|
2957
1873
|
__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
2958
|
-
module.loaded = true;
|
|
2959
1874
|
return module.exports;
|
|
2960
1875
|
}
|
|
2961
1876
|
(()=>{
|
|
@@ -2994,13 +1909,6 @@ function __webpack_require__(moduleId) {
|
|
|
2994
1909
|
});
|
|
2995
1910
|
};
|
|
2996
1911
|
})();
|
|
2997
|
-
(()=>{
|
|
2998
|
-
__webpack_require__.nmd = function(module) {
|
|
2999
|
-
module.paths = [];
|
|
3000
|
-
if (!module.children) module.children = [];
|
|
3001
|
-
return module;
|
|
3002
|
-
};
|
|
3003
|
-
})();
|
|
3004
1912
|
var __webpack_exports__ = {};
|
|
3005
1913
|
(()=>{
|
|
3006
1914
|
"use strict";
|
|
@@ -14064,27 +12972,6 @@ var __webpack_exports__ = {};
|
|
|
14064
12972
|
parser.end();
|
|
14065
12973
|
return srcList;
|
|
14066
12974
|
};
|
|
14067
|
-
class TimeFormatter {
|
|
14068
|
-
static format(timestamp, formatStr = 'yyyy-MM-dd hh:mm') {
|
|
14069
|
-
if ('number' == typeof timestamp && 10 === timestamp.toString().length) timestamp *= 1000;
|
|
14070
|
-
const date = new Date(timestamp);
|
|
14071
|
-
const map = {
|
|
14072
|
-
yyyy: String(date.getFullYear()),
|
|
14073
|
-
yy: String(date.getFullYear()).slice(-2),
|
|
14074
|
-
MM: String(date.getMonth() + 1).padStart(2, '0'),
|
|
14075
|
-
dd: String(date.getDate()).padStart(2, '0'),
|
|
14076
|
-
hh: String(date.getHours()).padStart(2, '0'),
|
|
14077
|
-
mm: String(date.getMinutes()).padStart(2, '0'),
|
|
14078
|
-
ss: String(date.getSeconds()).padStart(2, '0'),
|
|
14079
|
-
M: String(date.getMonth() + 1),
|
|
14080
|
-
d: String(date.getDate()),
|
|
14081
|
-
h: String(date.getHours()),
|
|
14082
|
-
m: String(date.getMinutes()),
|
|
14083
|
-
s: String(date.getSeconds())
|
|
14084
|
-
};
|
|
14085
|
-
return formatStr.replace(/yyyy|yy|MM|dd|hh|mm|ss|M|d|h|m|s/g, (key)=>map[key]);
|
|
14086
|
-
}
|
|
14087
|
-
}
|
|
14088
12975
|
const replaceImgSrc = (html, callback)=>{
|
|
14089
12976
|
let lastedHtml = html;
|
|
14090
12977
|
const isImageTag = (node)=>"tag" === node.type && "img" === node.name;
|
|
@@ -14422,7 +13309,6 @@ var __webpack_exports__ = {};
|
|
|
14422
13309
|
cover_source: "upload",
|
|
14423
13310
|
activity_list
|
|
14424
13311
|
};
|
|
14425
|
-
params.settingInfo.timer && (publishData['timer_time'] = params.settingInfo.timer);
|
|
14426
13312
|
const isDraft = "draft" === params.saveType;
|
|
14427
13313
|
const saveUrl = isDraft ? "https://baijiahao.baidu.com/pcui/article/save?callback=bjhdraft" : "https://baijiahao.baidu.com/pcui/article/publish?callback=bjhpublish";
|
|
14428
13314
|
const res = await http.api({
|
|
@@ -14544,16 +13430,13 @@ var __webpack_exports__ = {};
|
|
|
14544
13430
|
if (await findActivity.count() > 0) findActivity.first().locator("..").click();
|
|
14545
13431
|
}
|
|
14546
13432
|
}
|
|
14547
|
-
const
|
|
13433
|
+
const articleId = await new Promise((resolve)=>{
|
|
14548
13434
|
const handleResponse = async (response)=>{
|
|
14549
13435
|
const url = response.url();
|
|
14550
13436
|
if (url.includes("/pcui/article/save") || url.includes("/pcui/article/publish")) {
|
|
14551
13437
|
const jsonResponse = await response.json();
|
|
14552
13438
|
page.off("response", handleResponse);
|
|
14553
|
-
resolve(
|
|
14554
|
-
articleId: jsonResponse?.ret?.article_id,
|
|
14555
|
-
message: jsonResponse?.errmsg
|
|
14556
|
-
});
|
|
13439
|
+
resolve(jsonResponse?.ret?.article_id);
|
|
14557
13440
|
}
|
|
14558
13441
|
};
|
|
14559
13442
|
page.on("response", handleResponse);
|
|
@@ -14561,74 +13444,12 @@ var __webpack_exports__ = {};
|
|
|
14561
13444
|
if ("draft" === params.saveType) operatorContainer.locator(".op-btn-outter-content").filter({
|
|
14562
13445
|
hasText: "存草稿"
|
|
14563
13446
|
}).locator("button").click();
|
|
14564
|
-
else
|
|
14565
|
-
|
|
14566
|
-
hasText: "定时发布"
|
|
14567
|
-
}).locator("button").click();
|
|
14568
|
-
await page.locator(".timepublish-wrap-select .select-wrap", {
|
|
14569
|
-
hasText: "日"
|
|
14570
|
-
}).click();
|
|
14571
|
-
await page.locator('#select-date_list + * .cheetah-select-item-option', {
|
|
14572
|
-
hasText: TimeFormatter.format(params.settingInfo.timer, "M月dd日")
|
|
14573
|
-
}).click();
|
|
14574
|
-
await page.waitForTimeout(200);
|
|
14575
|
-
await page.locator(".timepublish-wrap-select .select-wrap", {
|
|
14576
|
-
hasText: "点"
|
|
14577
|
-
}).click();
|
|
14578
|
-
await page.locator('#select-hour_list +div.rc-virtual-list').hover();
|
|
14579
|
-
const scrollHourInfo = await page.evaluate(()=>{
|
|
14580
|
-
const hourInner = document.querySelector('#select-hour_list + * .rc-virtual-list-holder-inner');
|
|
14581
|
-
const hourElementHeight = hourInner?.children[0].clientHeight || 36;
|
|
14582
|
-
const hourMapsElem = Array.from(document.querySelectorAll('#select-hour_list + * .cheetah-select-item-option .cheetah-select-item-option-content'));
|
|
14583
|
-
const hourMap = hourMapsElem.map((item)=>item.textContent?.trim());
|
|
14584
|
-
return {
|
|
14585
|
-
elementHeight: hourElementHeight,
|
|
14586
|
-
elementItem: hourMap
|
|
14587
|
-
};
|
|
14588
|
-
});
|
|
14589
|
-
const fistHourElem = scrollHourInfo.elementItem[0];
|
|
14590
|
-
let fistHourElemH = Number(fistHourElem?.split("点")[0]);
|
|
14591
|
-
const lastHourElem = scrollHourInfo.elementItem[scrollHourInfo.elementItem.length - 1];
|
|
14592
|
-
let lastHourElemH = Number(lastHourElem?.split("点")[0]);
|
|
14593
|
-
let targetTimeH = Number(TimeFormatter.format(params.settingInfo.timer, 'h'));
|
|
14594
|
-
await page.mouse.wheel(0, targetTimeH > lastHourElemH ? (targetTimeH - lastHourElemH) * scrollHourInfo.elementHeight : targetTimeH < fistHourElemH ? -(fistHourElemH - targetTimeH) * scrollHourInfo.elementHeight : 0);
|
|
14595
|
-
await page.locator("#select-hour_list + * .cheetah-select-item-option ", {
|
|
14596
|
-
hasText: targetTimeH + "点"
|
|
14597
|
-
}).click();
|
|
14598
|
-
await page.waitForTimeout(200);
|
|
14599
|
-
await page.locator(".timepublish-wrap-select .select-wrap", {
|
|
14600
|
-
hasText: "分"
|
|
14601
|
-
}).click();
|
|
14602
|
-
await page.locator('#select-minute_list +div.rc-virtual-list').hover();
|
|
14603
|
-
const scrollMinuteInfo = await page.evaluate(()=>{
|
|
14604
|
-
const hourInner = document.querySelector('#select-minute_list + * .rc-virtual-list-holder-inner');
|
|
14605
|
-
const hourElementHeight = hourInner?.children[0].clientHeight || 36;
|
|
14606
|
-
const hourMapsElem = Array.from(document.querySelectorAll('#select-minute_list + * .cheetah-select-item-option .cheetah-select-item-option-content'));
|
|
14607
|
-
const hourMap = hourMapsElem.map((item)=>item.textContent?.trim());
|
|
14608
|
-
return {
|
|
14609
|
-
elementHeight: hourElementHeight,
|
|
14610
|
-
elementItem: hourMap
|
|
14611
|
-
};
|
|
14612
|
-
});
|
|
14613
|
-
const fistMinuteElem = scrollMinuteInfo.elementItem[0];
|
|
14614
|
-
let fistMinuteElemH = Number(fistMinuteElem?.split("分")[0]);
|
|
14615
|
-
const lastMinuteElem = scrollMinuteInfo.elementItem[scrollMinuteInfo.elementItem.length - 1];
|
|
14616
|
-
let lastMinuteElemH = Number(lastMinuteElem?.split("分")[0]);
|
|
14617
|
-
let targetTimeM = Number(TimeFormatter.format(params.settingInfo.timer, 'm'));
|
|
14618
|
-
await page.mouse.wheel(0, targetTimeM > lastMinuteElemH ? (targetTimeM - lastMinuteElemH) * scrollMinuteInfo.elementHeight : targetTimeM < fistMinuteElemH ? -(fistMinuteElemH - targetTimeM) * scrollMinuteInfo.elementHeight : 0);
|
|
14619
|
-
await page.locator("#select-minute_list + * .cheetah-select-item-option ", {
|
|
14620
|
-
hasText: targetTimeM + "分"
|
|
14621
|
-
}).click();
|
|
14622
|
-
await page.waitForTimeout(200);
|
|
14623
|
-
await page.locator(".cheetah-modal-confirm-btns button").filter({
|
|
14624
|
-
hasText: "定时发布"
|
|
14625
|
-
}).click();
|
|
14626
|
-
} else operatorContainer.locator(".op-btn-outter-content").filter({
|
|
14627
|
-
hasText: /^发布/
|
|
13447
|
+
else operatorContainer.locator(".op-btn-outter-content").filter({
|
|
13448
|
+
hasText: "发布"
|
|
14628
13449
|
}).locator("button").click();
|
|
14629
13450
|
});
|
|
14630
13451
|
await page.close();
|
|
14631
|
-
return success(articleId
|
|
13452
|
+
return success(articleId);
|
|
14632
13453
|
};
|
|
14633
13454
|
const baijiahaoPublish = async (task, params)=>{
|
|
14634
13455
|
if ("rpa" === params.actionType) return rpaAction(task, params);
|
|
@@ -14792,7 +13613,6 @@ var __webpack_exports__ = {};
|
|
|
14792
13613
|
return success([]);
|
|
14793
13614
|
}
|
|
14794
13615
|
};
|
|
14795
|
-
const GenAB = __webpack_require__("./src/utils/ttABEncrypt.js");
|
|
14796
13616
|
const mock_errnoMap = {
|
|
14797
13617
|
20004020: "图片上传异常,请重新绑定账号后同步。",
|
|
14798
13618
|
7115: "正文图片和封面图片推荐jpg、png格式。",
|
|
@@ -14809,11 +13629,6 @@ var __webpack_exports__ = {};
|
|
|
14809
13629
|
2005: "账号无【申明原创】权限,请关闭申明后重试。",
|
|
14810
13630
|
100004: "用户未登录或登陆已过期,请重新登陆后重试。"
|
|
14811
13631
|
};
|
|
14812
|
-
const mock_generatorFormData = (data)=>Object.entries(data).map(([key, value])=>{
|
|
14813
|
-
const encodedKey = encodeURIComponent(key);
|
|
14814
|
-
const encodedValue = encodeURIComponent(String(value));
|
|
14815
|
-
return `${encodedKey}=${encodedValue}`;
|
|
14816
|
-
}).join('&');
|
|
14817
13632
|
const get3101DetailError = (errorList, message, saveType)=>{
|
|
14818
13633
|
let error = "";
|
|
14819
13634
|
if (message?.includes("当日发文")) error = errorList[0];
|
|
@@ -14933,8 +13748,8 @@ var __webpack_exports__ = {};
|
|
|
14933
13748
|
trends_writing_tag: 0,
|
|
14934
13749
|
is_refute_rumor: 0,
|
|
14935
13750
|
save: "publish" === params.saveType ? 1 : 0,
|
|
14936
|
-
timer_status:
|
|
14937
|
-
timer_time:
|
|
13751
|
+
timer_status: 0,
|
|
13752
|
+
timer_time: "",
|
|
14938
13753
|
title: params.title,
|
|
14939
13754
|
content: content + topicContent,
|
|
14940
13755
|
extra: JSON.stringify(extraData),
|
|
@@ -14958,29 +13773,7 @@ var __webpack_exports__ = {};
|
|
|
14958
13773
|
claim_origin: toutiaoOriginal.includes("original") ? 1 : 0,
|
|
14959
13774
|
claim_exclusive: toutiaoOriginal.includes("exclusive") ? 1 : 0
|
|
14960
13775
|
};
|
|
14961
|
-
const
|
|
14962
|
-
let publishOption = {};
|
|
14963
|
-
if (msToken) {
|
|
14964
|
-
const postHeaders = mock_generatorFormData({
|
|
14965
|
-
source: "mp",
|
|
14966
|
-
type: "article",
|
|
14967
|
-
aid: 1231,
|
|
14968
|
-
mp_publish_ab_val: 0,
|
|
14969
|
-
msToken: msToken
|
|
14970
|
-
});
|
|
14971
|
-
const postData = mock_generatorFormData(publishData);
|
|
14972
|
-
let a_bogus = GenAB(postHeaders, postData);
|
|
14973
|
-
publishOption = {
|
|
14974
|
-
method: "post",
|
|
14975
|
-
url: `https://mp.toutiao.com/mp/agw/article/publish?${postHeaders}&a_bogus=${a_bogus}`,
|
|
14976
|
-
data: postData,
|
|
14977
|
-
headers: {
|
|
14978
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
14979
|
-
"user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36"
|
|
14980
|
-
},
|
|
14981
|
-
defaultErrorMsg: "draft" === params.saveType ? "文章同步异常,请稍后重试。" : "文章发布异常,请稍后重试。"
|
|
14982
|
-
};
|
|
14983
|
-
} else publishOption = {
|
|
13776
|
+
const publishResult = await http.api({
|
|
14984
13777
|
method: "post",
|
|
14985
13778
|
url: "https://mp.toutiao.com/mp/agw/article/publish?source=mp&type=article&aid=1",
|
|
14986
13779
|
data: publishData,
|
|
@@ -14988,11 +13781,9 @@ var __webpack_exports__ = {};
|
|
|
14988
13781
|
"content-type": "application/x-www-form-urlencoded"
|
|
14989
13782
|
},
|
|
14990
13783
|
defaultErrorMsg: "draft" === params.saveType ? "文章同步异常,请稍后重试。" : "文章发布异常,请稍后重试。"
|
|
14991
|
-
};
|
|
14992
|
-
const publishResult = await http.api(publishOption);
|
|
13784
|
+
});
|
|
14993
13785
|
return success(publishResult.data.pgc_id);
|
|
14994
13786
|
};
|
|
14995
|
-
const rpa_GenAB = __webpack_require__("./src/utils/ttABEncrypt.js");
|
|
14996
13787
|
const rpa_rpaAction = async (task, params)=>{
|
|
14997
13788
|
const tmpCachePath = task.getTmpPath();
|
|
14998
13789
|
const commonCookies = {
|
|
@@ -15027,30 +13818,9 @@ var __webpack_exports__ = {};
|
|
|
15027
13818
|
await page.route('**', async (route, request)=>{
|
|
15028
13819
|
const url = new URL(request.url());
|
|
15029
13820
|
if (interceptUrls.some((pattern)=>url.pathname.includes(pattern))) {
|
|
15030
|
-
|
|
15031
|
-
...request.headers(),
|
|
15032
|
-
"user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36"
|
|
15033
|
-
};
|
|
15034
|
-
const generatorFormData = (data)=>Object.entries(data).map(([key, value])=>{
|
|
15035
|
-
const encodedKey = encodeURIComponent(key);
|
|
15036
|
-
const encodedValue = encodeURIComponent(String(value));
|
|
15037
|
-
return `${encodedKey}=${encodedValue}`;
|
|
15038
|
-
}).join('&');
|
|
15039
|
-
const postHeaders = generatorFormData({
|
|
15040
|
-
source: "mp",
|
|
15041
|
-
type: "article",
|
|
15042
|
-
aid: 1231,
|
|
15043
|
-
mp_publish_ab_val: 0,
|
|
15044
|
-
msToken: url.searchParams.get('msToken')
|
|
15045
|
-
});
|
|
15046
|
-
const postData = request.postData() || "";
|
|
15047
|
-
let a_bogus = rpa_GenAB(postHeaders, postData);
|
|
15048
|
-
url.searchParams.set('aid', "1231");
|
|
15049
|
-
url.searchParams.set('mp_publish_ab_val', "0");
|
|
15050
|
-
url.searchParams.set('a_bogus', a_bogus);
|
|
13821
|
+
url.searchParams.set('aid', '1');
|
|
15051
13822
|
await route.continue({
|
|
15052
|
-
url: url.toString()
|
|
15053
|
-
headers: headers
|
|
13823
|
+
url: url.toString()
|
|
15054
13824
|
});
|
|
15055
13825
|
} else await route.continue();
|
|
15056
13826
|
});
|
|
@@ -15131,7 +13901,7 @@ var __webpack_exports__ = {};
|
|
|
15131
13901
|
}).locator("xpath=..");
|
|
15132
13902
|
exclusiveContainer.locator(".exclusive .exclusive-checkbox-wraper .byte-checkbox").click();
|
|
15133
13903
|
}
|
|
15134
|
-
const articleId = await new Promise(
|
|
13904
|
+
const articleId = await new Promise((resolve)=>{
|
|
15135
13905
|
const handleResponse = async (response)=>{
|
|
15136
13906
|
const url = response.url();
|
|
15137
13907
|
if (url.includes("/mp/agw/article/publish")) {
|
|
@@ -15141,32 +13911,7 @@ var __webpack_exports__ = {};
|
|
|
15141
13911
|
}
|
|
15142
13912
|
};
|
|
15143
13913
|
page.on("response", handleResponse);
|
|
15144
|
-
|
|
15145
|
-
await page.locator(".publish-footer button").filter({
|
|
15146
|
-
hasText: "定时发布"
|
|
15147
|
-
}).click();
|
|
15148
|
-
await page.waitForSelector('button.publish-btn:not(.byte-btn-loading) >> nth=1', {
|
|
15149
|
-
state: 'attached'
|
|
15150
|
-
});
|
|
15151
|
-
await page.locator(".byte-modal-content .day-select .byte-select-view-value").click();
|
|
15152
|
-
await page.locator('li.byte-select-option', {
|
|
15153
|
-
hasText: TimeFormatter.format(params.settingInfo.timer, "MM月dd日")
|
|
15154
|
-
}).click();
|
|
15155
|
-
await page.waitForTimeout(200);
|
|
15156
|
-
await page.locator(".byte-modal-content .hour-select .byte-select-view-value").click();
|
|
15157
|
-
await page.locator('li.byte-select-option', {
|
|
15158
|
-
hasText: TimeFormatter.format(params.settingInfo.timer, "h")
|
|
15159
|
-
}).click();
|
|
15160
|
-
await page.waitForTimeout(200);
|
|
15161
|
-
await page.locator(".byte-modal-content .minute-select .byte-select-view-value").click();
|
|
15162
|
-
await page.locator('li.byte-select-option', {
|
|
15163
|
-
hasText: TimeFormatter.format(params.settingInfo.timer, "m")
|
|
15164
|
-
}).click();
|
|
15165
|
-
await page.waitForTimeout(200);
|
|
15166
|
-
await page.locator(".byte-modal-footer button").filter({
|
|
15167
|
-
hasText: "预览并定时发布"
|
|
15168
|
-
}).click();
|
|
15169
|
-
} else await page.locator(".publish-footer button").filter({
|
|
13914
|
+
page.locator(".publish-footer button").filter({
|
|
15170
13915
|
hasText: "预览并发布"
|
|
15171
13916
|
}).click();
|
|
15172
13917
|
});
|
|
@@ -15177,13 +13922,13 @@ var __webpack_exports__ = {};
|
|
|
15177
13922
|
}
|
|
15178
13923
|
if ("publish" === params.saveType) {
|
|
15179
13924
|
await page.locator(".publish-footer button").filter({
|
|
15180
|
-
hasText:
|
|
13925
|
+
hasText: "确认发布"
|
|
15181
13926
|
}).waitFor({
|
|
15182
13927
|
state: "visible"
|
|
15183
13928
|
});
|
|
15184
13929
|
await page.waitForTimeout(200);
|
|
15185
13930
|
await page.locator(".publish-footer button").filter({
|
|
15186
|
-
hasText:
|
|
13931
|
+
hasText: "确认发布"
|
|
15187
13932
|
}).click();
|
|
15188
13933
|
}
|
|
15189
13934
|
await page.close();
|
|
@@ -15200,106 +13945,6 @@ var __webpack_exports__ = {};
|
|
|
15200
13945
|
if ("mockApi" === params.actionType) return mock_mockAction(task, params);
|
|
15201
13946
|
return executeAction(mock_mockAction, rpa_rpaAction)(task, params);
|
|
15202
13947
|
};
|
|
15203
|
-
const TTFansExport = async (_task, params)=>{
|
|
15204
|
-
const http = new Http({
|
|
15205
|
-
headers: {
|
|
15206
|
-
cookie: params.cookies.map((it)=>`${it.name}=${it.value}`).join(";"),
|
|
15207
|
-
referer: "https://mp.toutiao.com/profile_v4/graphic/publish"
|
|
15208
|
-
}
|
|
15209
|
-
});
|
|
15210
|
-
try {
|
|
15211
|
-
const res = await http.api({
|
|
15212
|
-
method: "get",
|
|
15213
|
-
url: "https://mp.toutiao.com/mp/agw/creator_center/user_info?app_id=1231",
|
|
15214
|
-
params: {
|
|
15215
|
-
app_id: 1231
|
|
15216
|
-
}
|
|
15217
|
-
});
|
|
15218
|
-
return success(0 === res.code ? {
|
|
15219
|
-
fans_count: res.total_fans_count
|
|
15220
|
-
} : {
|
|
15221
|
-
fans_count: null
|
|
15222
|
-
}, "获取粉丝数成功!");
|
|
15223
|
-
} catch (error) {
|
|
15224
|
-
return success({
|
|
15225
|
-
fans_count: null
|
|
15226
|
-
}, "获取粉丝数失败,请检查登陆有效性!");
|
|
15227
|
-
}
|
|
15228
|
-
};
|
|
15229
|
-
const XhsFansExport = async (_task, params)=>{
|
|
15230
|
-
const http = new Http({
|
|
15231
|
-
headers: {
|
|
15232
|
-
cookie: params.cookies.map((it)=>`${it.name}=${it.value}`).join(";"),
|
|
15233
|
-
referer: "https://creator.xiaohongshu.com/new/home?source=official"
|
|
15234
|
-
}
|
|
15235
|
-
});
|
|
15236
|
-
try {
|
|
15237
|
-
const res = await http.api({
|
|
15238
|
-
method: "get",
|
|
15239
|
-
url: "https://creator.xiaohongshu.com/api/galaxy/creator/home/personal_info"
|
|
15240
|
-
});
|
|
15241
|
-
return success(0 === res.result ? {
|
|
15242
|
-
fans_count: res.data.fans_count
|
|
15243
|
-
} : {
|
|
15244
|
-
fans_count: null
|
|
15245
|
-
}, "获取粉丝数成功!");
|
|
15246
|
-
} catch (error) {
|
|
15247
|
-
return success({
|
|
15248
|
-
fans_count: null
|
|
15249
|
-
}, "获取粉丝数失败,请检查登陆有效性!");
|
|
15250
|
-
}
|
|
15251
|
-
};
|
|
15252
|
-
const WxFansExport = async (_task, params)=>{
|
|
15253
|
-
const http = new Http({
|
|
15254
|
-
headers: {
|
|
15255
|
-
cookie: params.cookies.map((it)=>`${it.name}=${it.value}`).join(";")
|
|
15256
|
-
}
|
|
15257
|
-
});
|
|
15258
|
-
try {
|
|
15259
|
-
const htmlStr = await http.api({
|
|
15260
|
-
method: "get",
|
|
15261
|
-
url: "https://mp.weixin.qq.com/cgi-bin/home",
|
|
15262
|
-
params: {
|
|
15263
|
-
t: "home/index",
|
|
15264
|
-
token: params.token,
|
|
15265
|
-
lang: "zh_CN"
|
|
15266
|
-
}
|
|
15267
|
-
});
|
|
15268
|
-
const match = htmlStr.match(/总用户数[\s\S]*?<mp-thousandth>(\d+)<\/mp-thousandth>/);
|
|
15269
|
-
return success(match ? {
|
|
15270
|
-
fans_count: Number(match[1])
|
|
15271
|
-
} : {
|
|
15272
|
-
fans_count: null
|
|
15273
|
-
}, "获取粉丝数成功!");
|
|
15274
|
-
} catch (error) {
|
|
15275
|
-
return success({
|
|
15276
|
-
fans_count: null
|
|
15277
|
-
}, "获取粉丝数失败,请检查登陆有效性!");
|
|
15278
|
-
}
|
|
15279
|
-
};
|
|
15280
|
-
const BjhFansExport = async (_task, params)=>{
|
|
15281
|
-
const http = new Http({
|
|
15282
|
-
headers: {
|
|
15283
|
-
cookie: params.cookies.map((it)=>`${it.name}=${it.value}`).join(";"),
|
|
15284
|
-
referer: "https://baijiahao.baidu.com/builder/rc/home"
|
|
15285
|
-
}
|
|
15286
|
-
});
|
|
15287
|
-
try {
|
|
15288
|
-
const res = await http.api({
|
|
15289
|
-
method: "get",
|
|
15290
|
-
url: "https://baijiahao.baidu.com/cms-ui/rights/growth/get_info"
|
|
15291
|
-
});
|
|
15292
|
-
return success(0 === res.errno ? {
|
|
15293
|
-
fans_count: res.data.total_fans
|
|
15294
|
-
} : {
|
|
15295
|
-
fans_count: null
|
|
15296
|
-
}, "获取粉丝数成功!");
|
|
15297
|
-
} catch (error) {
|
|
15298
|
-
return success({
|
|
15299
|
-
fans_count: null
|
|
15300
|
-
}, "获取粉丝数失败,请检查登陆有效性!");
|
|
15301
|
-
}
|
|
15302
|
-
};
|
|
15303
13948
|
const weitoutiaoPublish_mock_mockAction = async (task, params)=>{
|
|
15304
13949
|
const tmpCachePath = task.getTmpPath();
|
|
15305
13950
|
const http = new Http({
|
|
@@ -15469,7 +14114,7 @@ var __webpack_exports__ = {};
|
|
|
15469
14114
|
已关注的用户: 2,
|
|
15470
14115
|
已关注7天及以上的用户: 3
|
|
15471
14116
|
};
|
|
15472
|
-
const
|
|
14117
|
+
const generatorFormData = (data)=>{
|
|
15473
14118
|
const formData = new URLSearchParams();
|
|
15474
14119
|
for (const [key, value] of Object.entries(data))formData.append(key, String(value));
|
|
15475
14120
|
return formData.toString();
|
|
@@ -15485,7 +14130,7 @@ var __webpack_exports__ = {};
|
|
|
15485
14130
|
token: params.token,
|
|
15486
14131
|
lang: "zh_CN"
|
|
15487
14132
|
},
|
|
15488
|
-
data:
|
|
14133
|
+
data: generatorFormData(data)
|
|
15489
14134
|
});
|
|
15490
14135
|
} catch (error) {
|
|
15491
14136
|
resData = error?.data;
|
|
@@ -15599,7 +14244,7 @@ var __webpack_exports__ = {};
|
|
|
15599
14244
|
params: {
|
|
15600
14245
|
action: "searchacct"
|
|
15601
14246
|
},
|
|
15602
|
-
data:
|
|
14247
|
+
data: generatorFormData({
|
|
15603
14248
|
lang: "zh_CN",
|
|
15604
14249
|
f: "json",
|
|
15605
14250
|
ajax: 1,
|
|
@@ -15728,7 +14373,7 @@ var __webpack_exports__ = {};
|
|
|
15728
14373
|
params: {
|
|
15729
14374
|
action: 'addautoreply'
|
|
15730
14375
|
},
|
|
15731
|
-
data:
|
|
14376
|
+
data: generatorFormData({
|
|
15732
14377
|
type: 1,
|
|
15733
14378
|
fingerprint,
|
|
15734
14379
|
token: params.token,
|
|
@@ -15850,7 +14495,7 @@ var __webpack_exports__ = {};
|
|
|
15850
14495
|
type: 77,
|
|
15851
14496
|
lang: "zh_CN"
|
|
15852
14497
|
},
|
|
15853
|
-
data:
|
|
14498
|
+
data: generatorFormData(draftData),
|
|
15854
14499
|
defaultErrorMsg: "创建草稿失败,请稍后重试发布。"
|
|
15855
14500
|
});
|
|
15856
14501
|
if ("draft" === params.saveType) return {
|
|
@@ -15883,7 +14528,7 @@ var __webpack_exports__ = {};
|
|
|
15883
14528
|
lang: "zh_CN",
|
|
15884
14529
|
token: params.token
|
|
15885
14530
|
},
|
|
15886
|
-
data:
|
|
14531
|
+
data: generatorFormData({
|
|
15887
14532
|
token: params.token,
|
|
15888
14533
|
lang: "zh_CN",
|
|
15889
14534
|
f: "json",
|
|
@@ -15914,7 +14559,7 @@ var __webpack_exports__ = {};
|
|
|
15914
14559
|
token: params.token,
|
|
15915
14560
|
lang: "zh_CN"
|
|
15916
14561
|
},
|
|
15917
|
-
data:
|
|
14562
|
+
data: generatorFormData({
|
|
15918
14563
|
appmsgid: appMsgId,
|
|
15919
14564
|
fingerprint,
|
|
15920
14565
|
token: params.token,
|
|
@@ -15926,7 +14571,7 @@ var __webpack_exports__ = {};
|
|
|
15926
14571
|
await http.api({
|
|
15927
14572
|
method: "post",
|
|
15928
14573
|
url: "https://mp.weixin.qq.com/cgi-bin/masssend?action=check_same_material",
|
|
15929
|
-
data:
|
|
14574
|
+
data: generatorFormData({
|
|
15930
14575
|
msgid: appMsgId,
|
|
15931
14576
|
fingerprint,
|
|
15932
14577
|
token: params.token,
|
|
@@ -15965,7 +14610,7 @@ var __webpack_exports__ = {};
|
|
|
15965
14610
|
token: params.token,
|
|
15966
14611
|
lang: "zh_CN"
|
|
15967
14612
|
},
|
|
15968
|
-
data:
|
|
14613
|
+
data: generatorFormData({
|
|
15969
14614
|
appmsg_id: appMsgId,
|
|
15970
14615
|
fingerprint,
|
|
15971
14616
|
token: params.token,
|
|
@@ -15984,7 +14629,7 @@ var __webpack_exports__ = {};
|
|
|
15984
14629
|
params: {
|
|
15985
14630
|
action: "check_music"
|
|
15986
14631
|
},
|
|
15987
|
-
data:
|
|
14632
|
+
data: generatorFormData({
|
|
15988
14633
|
appmsgid: appMsgId,
|
|
15989
14634
|
masssend_check: 1,
|
|
15990
14635
|
fingerprint,
|
|
@@ -16004,7 +14649,7 @@ var __webpack_exports__ = {};
|
|
|
16004
14649
|
lang: "zh_CN",
|
|
16005
14650
|
1: 1
|
|
16006
14651
|
},
|
|
16007
|
-
data:
|
|
14652
|
+
data: generatorFormData({
|
|
16008
14653
|
token: params.token,
|
|
16009
14654
|
lang: "zh_CN",
|
|
16010
14655
|
f: "json",
|
|
@@ -16024,7 +14669,7 @@ var __webpack_exports__ = {};
|
|
|
16024
14669
|
lang: "zh_CN",
|
|
16025
14670
|
1: 1
|
|
16026
14671
|
},
|
|
16027
|
-
data:
|
|
14672
|
+
data: generatorFormData({
|
|
16028
14673
|
token: params.token,
|
|
16029
14674
|
lang: "zh_CN",
|
|
16030
14675
|
f: "json",
|
|
@@ -16056,7 +14701,6 @@ var __webpack_exports__ = {};
|
|
|
16056
14701
|
ticket: getTicketResult.ticket,
|
|
16057
14702
|
uuid,
|
|
16058
14703
|
msgid: operation_seq,
|
|
16059
|
-
open_email: !!params.settingInfo.timer,
|
|
16060
14704
|
...params.masssend ? {} : {
|
|
16061
14705
|
publish_type: 1
|
|
16062
14706
|
}
|
|
@@ -16079,7 +14723,7 @@ var __webpack_exports__ = {};
|
|
|
16079
14723
|
lang: "zh_CN",
|
|
16080
14724
|
timespam: Date.now()
|
|
16081
14725
|
},
|
|
16082
|
-
data:
|
|
14726
|
+
data: generatorFormData({
|
|
16083
14727
|
token: params.token,
|
|
16084
14728
|
lang: "zh_CN",
|
|
16085
14729
|
f: "json",
|
|
@@ -16109,7 +14753,7 @@ var __webpack_exports__ = {};
|
|
|
16109
14753
|
lang: "zh_CN",
|
|
16110
14754
|
1: 1
|
|
16111
14755
|
},
|
|
16112
|
-
data:
|
|
14756
|
+
data: generatorFormData({
|
|
16113
14757
|
token: params.token,
|
|
16114
14758
|
lang: "zh_CN",
|
|
16115
14759
|
f: "json",
|
|
@@ -16131,7 +14775,7 @@ var __webpack_exports__ = {};
|
|
|
16131
14775
|
is_release_publish_page: 1
|
|
16132
14776
|
}
|
|
16133
14777
|
},
|
|
16134
|
-
data:
|
|
14778
|
+
data: generatorFormData({
|
|
16135
14779
|
token: params.token,
|
|
16136
14780
|
lang: "zh_CN",
|
|
16137
14781
|
f: "json",
|
|
@@ -16148,7 +14792,7 @@ var __webpack_exports__ = {};
|
|
|
16148
14792
|
country: "",
|
|
16149
14793
|
province: "",
|
|
16150
14794
|
city: "",
|
|
16151
|
-
send_time:
|
|
14795
|
+
send_time: "0",
|
|
16152
14796
|
type: "10",
|
|
16153
14797
|
share_page: "1",
|
|
16154
14798
|
synctxweibo: "0",
|
|
@@ -16165,7 +14809,7 @@ var __webpack_exports__ = {};
|
|
|
16165
14809
|
}),
|
|
16166
14810
|
defaultErrorMsg: params.masssend ? "文章群发异常,请尝试关闭群发或稍后重试。" : "文章发布异常,请稍后重试。"
|
|
16167
14811
|
});
|
|
16168
|
-
return success(appMsgId,
|
|
14812
|
+
return success(appMsgId, "微信公众号发布完成。");
|
|
16169
14813
|
};
|
|
16170
14814
|
const waitQrcodeResultMaxTime = 2000 * scanRetryMaxCount;
|
|
16171
14815
|
const weixinPublish_rpa_rpaAction = async (task, params)=>{
|
|
@@ -16492,7 +15136,7 @@ var __webpack_exports__ = {};
|
|
|
16492
15136
|
await poperInstance.locator('.frm_radio_item label[for="not_recomment_0"]').click();
|
|
16493
15137
|
}
|
|
16494
15138
|
await page.waitForTimeout(1000);
|
|
16495
|
-
const articleId = await new Promise(
|
|
15139
|
+
const articleId = await new Promise((resolve)=>{
|
|
16496
15140
|
const handleResponse = async (response)=>{
|
|
16497
15141
|
const url = response.url();
|
|
16498
15142
|
const query = parseUrlQueryString(url);
|
|
@@ -16504,34 +15148,7 @@ var __webpack_exports__ = {};
|
|
|
16504
15148
|
};
|
|
16505
15149
|
page.on("response", handleResponse);
|
|
16506
15150
|
page.locator("#editor_pannel #bottom_main #js_button_area #js_send button").click();
|
|
16507
|
-
await page.waitForTimeout(200);
|
|
16508
|
-
if (params.settingInfo.timer) {
|
|
16509
|
-
await page.locator(".mass-send .mass-send__td-setting", {
|
|
16510
|
-
hasText: "定时发表"
|
|
16511
|
-
}).locator(".weui-desktop-switch__box").check();
|
|
16512
|
-
let dateD = Number(TimeFormatter.format(params.settingInfo.timer, "d"));
|
|
16513
|
-
let nowD = Number(TimeFormatter.format(Date.now(), "d"));
|
|
16514
|
-
await page.locator(".mass-send__timer .weui-desktop-form__dropdown__dt").click();
|
|
16515
|
-
const dropMenu = page.locator(".mass-send__timer .weui-desktop-dropdown-menu").locator(".weui-desktop-dropdown__list-ele");
|
|
16516
|
-
await dropMenu.filter({
|
|
16517
|
-
hasText: dateD == nowD ? "今天" : dateD == nowD + 1 ? "明天" : TimeFormatter.format(params.settingInfo.timer, "M月d日")
|
|
16518
|
-
}).click();
|
|
16519
|
-
const timeDropMenu = page.locator(".mass-send__timer .weui-desktop-picker__time:visible");
|
|
16520
|
-
await timeDropMenu.locator(".weui-desktop-form__input").fill(TimeFormatter.format(params.settingInfo.timer, "hh:mm"));
|
|
16521
|
-
await timeDropMenu.locator("i.weui-desktop-icon__time").click();
|
|
16522
|
-
}
|
|
16523
15151
|
});
|
|
16524
|
-
await page.waitForTimeout(200);
|
|
16525
|
-
if (params.masssend) {
|
|
16526
|
-
const times = Number(await page.locator(".mass-send .multi-sent__notice_time").locator('div[style="display: none;"] div:not([style*="display: none"]) span').textContent());
|
|
16527
|
-
if (0 == times) return {
|
|
16528
|
-
code: 200,
|
|
16529
|
-
message: "今日群发次数用尽,请明天再试。",
|
|
16530
|
-
data: ""
|
|
16531
|
-
};
|
|
16532
|
-
await page.locator(".mass-send .mass_send__notify").locator(".weui-desktop-switch__box").check();
|
|
16533
|
-
} else await page.locator(".mass-send .mass_send__notify").locator(".weui-desktop-switch__box").uncheck();
|
|
16534
|
-
await page.waitForTimeout(200);
|
|
16535
15152
|
await page.waitForSelector('.new_mass_send_dialog .weui-desktop-dialog__wrp:not([style*="display: none"])', {
|
|
16536
15153
|
state: "visible"
|
|
16537
15154
|
});
|
|
@@ -16540,19 +15157,6 @@ var __webpack_exports__ = {};
|
|
|
16540
15157
|
state: "visible"
|
|
16541
15158
|
});
|
|
16542
15159
|
await page.locator(".double_check_dialog .weui-desktop-dialog .weui-desktop-dialog__ft button.weui-desktop-btn_primary").click();
|
|
16543
|
-
await page.waitForTimeout(2000);
|
|
16544
|
-
const originalCheckDialog = page.locator('div[data-transfer="true"][width\\.number="800"][height\\.number="800"] .weui-desktop-dialog__title');
|
|
16545
|
-
if (await originalCheckDialog.count() > 0) {
|
|
16546
|
-
if (await originalCheckDialog.textContent() === "原创校验") {
|
|
16547
|
-
const popMassend = page.locator('div[data-transfer="true"][width\\.number="800"][height\\.number="800"]');
|
|
16548
|
-
await popMassend.locator(".weui-desktop-btn_primary", {
|
|
16549
|
-
hasText: "下一步"
|
|
16550
|
-
}).click();
|
|
16551
|
-
await popMassend.locator(".weui-desktop-btn_primary", {
|
|
16552
|
-
hasText: "继续"
|
|
16553
|
-
}).click();
|
|
16554
|
-
}
|
|
16555
|
-
}
|
|
16556
15160
|
try {
|
|
16557
15161
|
const startTime = Date.now();
|
|
16558
15162
|
await new Promise(async (resolve, reject)=>{
|
|
@@ -17279,7 +15883,9 @@ var __webpack_exports__ = {};
|
|
|
17279
15883
|
if ("mockApi" === params.actionType) return xiaohongshuPublish_mock_mockAction(task, params);
|
|
17280
15884
|
return executeAction(xiaohongshuPublish_mock_mockAction, xiaohongshuPublish_rpa_rpaAction)(task, params);
|
|
17281
15885
|
};
|
|
17282
|
-
var package_namespaceObject =
|
|
15886
|
+
var package_namespaceObject = {
|
|
15887
|
+
i8: "1.2.10"
|
|
15888
|
+
};
|
|
17283
15889
|
class Action {
|
|
17284
15890
|
constructor(task){
|
|
17285
15891
|
this.task = task;
|
|
@@ -17303,18 +15909,6 @@ var __webpack_exports__ = {};
|
|
|
17303
15909
|
searchToutiaoTopicList(params) {
|
|
17304
15910
|
return this.bindTask(searchToutiaoTopicList, params);
|
|
17305
15911
|
}
|
|
17306
|
-
TTFansExport(params) {
|
|
17307
|
-
return this.bindTask(TTFansExport, params);
|
|
17308
|
-
}
|
|
17309
|
-
XhsFansExport(params) {
|
|
17310
|
-
return this.bindTask(XhsFansExport, params);
|
|
17311
|
-
}
|
|
17312
|
-
WxFansExport(params) {
|
|
17313
|
-
return this.bindTask(WxFansExport, params);
|
|
17314
|
-
}
|
|
17315
|
-
BjhFansExport(params) {
|
|
17316
|
-
return this.bindTask(BjhFansExport, params);
|
|
17317
|
-
}
|
|
17318
15912
|
getToutiaoConfig(params) {
|
|
17319
15913
|
return this.bindTask(getToutiaoConfig, params);
|
|
17320
15914
|
}
|