@iflyrpa/actions 1.2.11-beta.3 → 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 -6
- package/dist/actions/toutiaoPublish/index.d.ts +0 -16
- package/dist/actions/weixinPublish/index.d.ts +0 -1
- package/dist/bundle.js +75 -1615
- package/dist/bundle.js.map +1 -1
- package/dist/index.d.ts +1 -15
- package/dist/index.js +2805 -4358
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +75 -1627
- package/dist/index.mjs.map +1 -1
- package/dist/types.d.ts +5 -35
- 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/actions/getBaijiaohaoConfig/index.d.ts +0 -13
- package/dist/actions/searchToutiaoLocation/index.d.ts +0 -7
- package/dist/actions/searchToutiaoUserID/index.d.ts +0 -7
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;
|
|
@@ -14398,15 +13285,13 @@ var __webpack_exports__ = {};
|
|
|
14398
13285
|
is_checked: 1
|
|
14399
13286
|
}
|
|
14400
13287
|
] : [],
|
|
14401
|
-
...
|
|
14402
|
-
|
|
14403
|
-
|
|
14404
|
-
|
|
13288
|
+
...isAi ? [
|
|
13289
|
+
{
|
|
13290
|
+
id: "aigc_bjh_status",
|
|
13291
|
+
is_checked: 1
|
|
13292
|
+
}
|
|
13293
|
+
] : []
|
|
14405
13294
|
];
|
|
14406
|
-
if (isAi && !activity_list.some((item)=>'aigc_bjh_status' in item)) activity_list.push({
|
|
14407
|
-
id: 'aigc_bjh_status',
|
|
14408
|
-
is_checked: 1
|
|
14409
|
-
});
|
|
14410
13295
|
const publishData = {
|
|
14411
13296
|
title: params.settingInfo.baijiahaoTitle,
|
|
14412
13297
|
content,
|
|
@@ -14422,10 +13307,8 @@ var __webpack_exports__ = {};
|
|
|
14422
13307
|
usingImgFilter: "false",
|
|
14423
13308
|
source: "upload",
|
|
14424
13309
|
cover_source: "upload",
|
|
14425
|
-
event2news: params.settingInfo?.baijiahaoEvent2News ? 2 : 0,
|
|
14426
13310
|
activity_list
|
|
14427
13311
|
};
|
|
14428
|
-
params.settingInfo.timer && (publishData['timer_time'] = params.settingInfo.timer);
|
|
14429
13312
|
const isDraft = "draft" === params.saveType;
|
|
14430
13313
|
const saveUrl = isDraft ? "https://baijiahao.baidu.com/pcui/article/save?callback=bjhdraft" : "https://baijiahao.baidu.com/pcui/article/publish?callback=bjhpublish";
|
|
14431
13314
|
const res = await http.api({
|
|
@@ -14530,17 +13413,12 @@ var __webpack_exports__ = {};
|
|
|
14530
13413
|
await abstractFormItem.click();
|
|
14531
13414
|
await abstractFormItem.fill(params.settingInfo.baijiahaoAbstract);
|
|
14532
13415
|
const isAi = params.settingInfo.baijiahaoIsAi.includes("isAi");
|
|
14533
|
-
|
|
14534
|
-
|
|
14535
|
-
|
|
14536
|
-
|
|
14537
|
-
|
|
14538
|
-
const _settingFormItem = settingFormItem.locator("label.cheetah-checkbox-wrapper").locator(`span.${item.confName}`);
|
|
14539
|
-
if (await _settingFormItem.isChecked() !== item.isChecked) await _settingFormItem.click();
|
|
14540
|
-
await page.waitForTimeout(200);
|
|
13416
|
+
if (isAi) {
|
|
13417
|
+
const settingFormItem = page.locator(".bjh-edit-wrap-set .cheetah-form-item").nth(5);
|
|
13418
|
+
await settingFormItem.locator("label.cheetah-checkbox-wrapper").filter({
|
|
13419
|
+
hasText: "AI创作声明"
|
|
13420
|
+
}).click();
|
|
14541
13421
|
}
|
|
14542
|
-
const enent2NewsBtn = page.locator("input#event2news");
|
|
14543
|
-
if (await enent2NewsBtn.isVisible() && params.settingInfo.baijiahaoEvent2News) await enent2NewsBtn.click();
|
|
14544
13422
|
if (params.settingInfo.baijiahaoActivity.length > 0 && params.settingInfo.baijiahaoSelectActivityCache.length > 0) {
|
|
14545
13423
|
const activity = params.settingInfo.baijiahaoActivity.filter((it)=>params.settingInfo.baijiahaoSelectActivityCache.includes(it.id));
|
|
14546
13424
|
if (activity.length > 0) {
|
|
@@ -14552,16 +13430,13 @@ var __webpack_exports__ = {};
|
|
|
14552
13430
|
if (await findActivity.count() > 0) findActivity.first().locator("..").click();
|
|
14553
13431
|
}
|
|
14554
13432
|
}
|
|
14555
|
-
const
|
|
13433
|
+
const articleId = await new Promise((resolve)=>{
|
|
14556
13434
|
const handleResponse = async (response)=>{
|
|
14557
13435
|
const url = response.url();
|
|
14558
13436
|
if (url.includes("/pcui/article/save") || url.includes("/pcui/article/publish")) {
|
|
14559
13437
|
const jsonResponse = await response.json();
|
|
14560
13438
|
page.off("response", handleResponse);
|
|
14561
|
-
resolve(
|
|
14562
|
-
articleId: jsonResponse?.ret?.article_id,
|
|
14563
|
-
message: jsonResponse?.errmsg
|
|
14564
|
-
});
|
|
13439
|
+
resolve(jsonResponse?.ret?.article_id);
|
|
14565
13440
|
}
|
|
14566
13441
|
};
|
|
14567
13442
|
page.on("response", handleResponse);
|
|
@@ -14569,75 +13444,12 @@ var __webpack_exports__ = {};
|
|
|
14569
13444
|
if ("draft" === params.saveType) operatorContainer.locator(".op-btn-outter-content").filter({
|
|
14570
13445
|
hasText: "存草稿"
|
|
14571
13446
|
}).locator("button").click();
|
|
14572
|
-
else
|
|
14573
|
-
|
|
14574
|
-
hasText: "定时发布"
|
|
14575
|
-
}).locator("button").click();
|
|
14576
|
-
await page.locator(".timepublish-wrap-select .select-wrap", {
|
|
14577
|
-
hasText: "日"
|
|
14578
|
-
}).click();
|
|
14579
|
-
await page.locator('#select-date_list + * .cheetah-select-item-option', {
|
|
14580
|
-
hasText: TimeFormatter.format(params.settingInfo.timer, "M月dd日")
|
|
14581
|
-
}).click();
|
|
14582
|
-
await page.waitForTimeout(200);
|
|
14583
|
-
await page.locator(".timepublish-wrap-select .select-wrap", {
|
|
14584
|
-
hasText: "点"
|
|
14585
|
-
}).click();
|
|
14586
|
-
await page.locator('#select-hour_list +div.rc-virtual-list').hover();
|
|
14587
|
-
const scrollHourInfo = await page.evaluate(()=>{
|
|
14588
|
-
const hourInner = document.querySelector('#select-hour_list + * .rc-virtual-list-holder-inner');
|
|
14589
|
-
const hourElementHeight = hourInner?.children[0].clientHeight || 36;
|
|
14590
|
-
const hourMapsElem = Array.from(document.querySelectorAll('#select-hour_list + * .cheetah-select-item-option .cheetah-select-item-option-content'));
|
|
14591
|
-
const hourMap = hourMapsElem.map((item)=>item.textContent?.trim());
|
|
14592
|
-
return {
|
|
14593
|
-
elementHeight: hourElementHeight,
|
|
14594
|
-
elementItem: hourMap
|
|
14595
|
-
};
|
|
14596
|
-
});
|
|
14597
|
-
const fistHourElem = scrollHourInfo.elementItem[0];
|
|
14598
|
-
let fistHourElemH = Number(fistHourElem?.split("点")[0]);
|
|
14599
|
-
const lastHourElem = scrollHourInfo.elementItem[scrollHourInfo.elementItem.length - 1];
|
|
14600
|
-
let lastHourElemH = Number(lastHourElem?.split("点")[0]);
|
|
14601
|
-
let targetTimeH = Number(TimeFormatter.format(params.settingInfo.timer, 'h'));
|
|
14602
|
-
await page.mouse.wheel(0, targetTimeH > lastHourElemH ? (targetTimeH - lastHourElemH) * scrollHourInfo.elementHeight : targetTimeH < fistHourElemH ? -(fistHourElemH - targetTimeH) * scrollHourInfo.elementHeight : 0);
|
|
14603
|
-
await page.locator("#select-hour_list + * .cheetah-select-item-option ", {
|
|
14604
|
-
hasText: targetTimeH + "点"
|
|
14605
|
-
}).click();
|
|
14606
|
-
await page.waitForTimeout(200);
|
|
14607
|
-
await page.locator(".timepublish-wrap-select .select-wrap", {
|
|
14608
|
-
hasText: "分"
|
|
14609
|
-
}).click();
|
|
14610
|
-
await page.locator('#select-minute_list +div.rc-virtual-list').hover();
|
|
14611
|
-
const scrollMinuteInfo = await page.evaluate(()=>{
|
|
14612
|
-
const hourInner = document.querySelector('#select-minute_list + * .rc-virtual-list-holder-inner');
|
|
14613
|
-
const hourElementHeight = hourInner?.children[0].clientHeight || 36;
|
|
14614
|
-
const hourMapsElem = Array.from(document.querySelectorAll('#select-minute_list + * .cheetah-select-item-option .cheetah-select-item-option-content'));
|
|
14615
|
-
const hourMap = hourMapsElem.map((item)=>item.textContent?.trim());
|
|
14616
|
-
return {
|
|
14617
|
-
elementHeight: hourElementHeight,
|
|
14618
|
-
elementItem: hourMap
|
|
14619
|
-
};
|
|
14620
|
-
});
|
|
14621
|
-
const fistMinuteElem = scrollMinuteInfo.elementItem[0];
|
|
14622
|
-
let fistMinuteElemH = Number(fistMinuteElem?.split("分")[0]);
|
|
14623
|
-
const lastMinuteElem = scrollMinuteInfo.elementItem[scrollMinuteInfo.elementItem.length - 1];
|
|
14624
|
-
let lastMinuteElemH = Number(lastMinuteElem?.split("分")[0]);
|
|
14625
|
-
let targetTimeM = Number(TimeFormatter.format(params.settingInfo.timer, 'm'));
|
|
14626
|
-
await page.mouse.wheel(0, targetTimeM > lastMinuteElemH ? (targetTimeM - lastMinuteElemH) * scrollMinuteInfo.elementHeight : targetTimeM < fistMinuteElemH ? -(fistMinuteElemH - targetTimeM) * scrollMinuteInfo.elementHeight : 0);
|
|
14627
|
-
await page.locator("#select-minute_list + * .cheetah-select-item-option ", {
|
|
14628
|
-
hasText: targetTimeM + "分"
|
|
14629
|
-
}).click();
|
|
14630
|
-
await page.waitForTimeout(200);
|
|
14631
|
-
await page.locator(".cheetah-modal-confirm-btns button").filter({
|
|
14632
|
-
hasText: "定时发布"
|
|
14633
|
-
}).click();
|
|
14634
|
-
} else operatorContainer.locator(".op-btn-outter-content").filter({
|
|
14635
|
-
hasText: /^发布/
|
|
13447
|
+
else operatorContainer.locator(".op-btn-outter-content").filter({
|
|
13448
|
+
hasText: "发布"
|
|
14636
13449
|
}).locator("button").click();
|
|
14637
13450
|
});
|
|
14638
|
-
await page.waitForTimeout(200000);
|
|
14639
13451
|
await page.close();
|
|
14640
|
-
return success(articleId
|
|
13452
|
+
return success(articleId);
|
|
14641
13453
|
};
|
|
14642
13454
|
const baijiahaoPublish = async (task, params)=>{
|
|
14643
13455
|
if ("rpa" === params.actionType) return rpaAction(task, params);
|
|
@@ -14722,28 +13534,6 @@ var __webpack_exports__ = {};
|
|
|
14722
13534
|
userRights
|
|
14723
13535
|
});
|
|
14724
13536
|
};
|
|
14725
|
-
const getBaijiahaoConfig = async (_task, params)=>{
|
|
14726
|
-
const cookies = params.cookies ?? [];
|
|
14727
|
-
const http = new Http({
|
|
14728
|
-
headers: {
|
|
14729
|
-
cookie: cookies.map((it)=>`${it.name}=${it.value}`).join(";"),
|
|
14730
|
-
token: params.token
|
|
14731
|
-
}
|
|
14732
|
-
});
|
|
14733
|
-
const res = await http.api({
|
|
14734
|
-
method: "get",
|
|
14735
|
-
url: "https://baijiahao.baidu.com/pcui/article/edit",
|
|
14736
|
-
params: {
|
|
14737
|
-
type: "news"
|
|
14738
|
-
}
|
|
14739
|
-
});
|
|
14740
|
-
return success(res?.data?.article.activity_list.map((_item)=>({
|
|
14741
|
-
id: _item.id,
|
|
14742
|
-
name: _item.name,
|
|
14743
|
-
detail: _item.detail,
|
|
14744
|
-
is_enable: _item.is_enable
|
|
14745
|
-
})) ?? [], "获取头条发布配置项成功");
|
|
14746
|
-
};
|
|
14747
13537
|
const searchToutiaoTopicList = async (_task, params)=>{
|
|
14748
13538
|
const http = new Http({
|
|
14749
13539
|
headers: {
|
|
@@ -14766,72 +13556,6 @@ var __webpack_exports__ = {};
|
|
|
14766
13556
|
return success([]);
|
|
14767
13557
|
}
|
|
14768
13558
|
};
|
|
14769
|
-
const searchToutiaoLocation = async (_task, params)=>{
|
|
14770
|
-
const http = new Http({
|
|
14771
|
-
headers: {
|
|
14772
|
-
cookie: params.cookies.map((it)=>`${it.name}=${it.value}`).join(";"),
|
|
14773
|
-
referer: "https://mp.toutiao.com/profile_v4/graphic/publish",
|
|
14774
|
-
biz: 1231
|
|
14775
|
-
}
|
|
14776
|
-
});
|
|
14777
|
-
try {
|
|
14778
|
-
const res = await http.api({
|
|
14779
|
-
method: "post",
|
|
14780
|
-
url: "https://mp.toutiao.com/poi/api/searchplace",
|
|
14781
|
-
data: {
|
|
14782
|
-
appid: 1231,
|
|
14783
|
-
device: 2,
|
|
14784
|
-
keywords: params.placeName,
|
|
14785
|
-
language: "zh-CN",
|
|
14786
|
-
location: "-1,-1",
|
|
14787
|
-
offset: 20,
|
|
14788
|
-
page: 1,
|
|
14789
|
-
region: "CN",
|
|
14790
|
-
scenario: "TIPS",
|
|
14791
|
-
timestamp: Math.floor(Date.now() / 1000)
|
|
14792
|
-
}
|
|
14793
|
-
});
|
|
14794
|
-
if (200 === res.code) return success(res.data.poi.map((item)=>({
|
|
14795
|
-
position: item.name,
|
|
14796
|
-
city: item.city,
|
|
14797
|
-
longitude: item.longitude,
|
|
14798
|
-
latitude: item.latitude,
|
|
14799
|
-
type_code: item.type_code,
|
|
14800
|
-
poi_id: item.id
|
|
14801
|
-
})));
|
|
14802
|
-
return success([]);
|
|
14803
|
-
} catch (error) {
|
|
14804
|
-
return success([]);
|
|
14805
|
-
}
|
|
14806
|
-
};
|
|
14807
|
-
const searchToutiaoUserInfo = async (_task, params)=>{
|
|
14808
|
-
const http = new Http({
|
|
14809
|
-
headers: {
|
|
14810
|
-
cookie: params.cookies.map((it)=>`${it.name}=${it.value}`).join(";"),
|
|
14811
|
-
referer: "https://mp.toutiao.com/profile_v4/graphic/publish"
|
|
14812
|
-
}
|
|
14813
|
-
});
|
|
14814
|
-
try {
|
|
14815
|
-
const res = await http.api({
|
|
14816
|
-
method: "get",
|
|
14817
|
-
url: "https://mp.toutiao.com/ugc/publish/post/v1/suggest/",
|
|
14818
|
-
params: {
|
|
14819
|
-
words: params.UserName,
|
|
14820
|
-
language: "zh",
|
|
14821
|
-
app_name: "toutiao_mp"
|
|
14822
|
-
}
|
|
14823
|
-
});
|
|
14824
|
-
if (0 === res.err_no) return success(res.data.suggest.map((item)=>({
|
|
14825
|
-
user_id: item.user.info.user_id,
|
|
14826
|
-
name: item.user.info.name,
|
|
14827
|
-
avatar_url: item.user.info.avatar_url,
|
|
14828
|
-
followers_count: item.user.relation_count.followers_count
|
|
14829
|
-
})), '搜索成功');
|
|
14830
|
-
return success([]);
|
|
14831
|
-
} catch (error) {
|
|
14832
|
-
return success([]);
|
|
14833
|
-
}
|
|
14834
|
-
};
|
|
14835
13559
|
const searchXiaohongshuLocation = async (_task, params)=>{
|
|
14836
13560
|
const http = new Http({
|
|
14837
13561
|
headers: {
|
|
@@ -14889,7 +13613,6 @@ var __webpack_exports__ = {};
|
|
|
14889
13613
|
return success([]);
|
|
14890
13614
|
}
|
|
14891
13615
|
};
|
|
14892
|
-
const GenAB = __webpack_require__("./src/utils/ttABEncrypt.js");
|
|
14893
13616
|
const mock_errnoMap = {
|
|
14894
13617
|
20004020: "图片上传异常,请重新绑定账号后同步。",
|
|
14895
13618
|
7115: "正文图片和封面图片推荐jpg、png格式。",
|
|
@@ -14906,11 +13629,6 @@ var __webpack_exports__ = {};
|
|
|
14906
13629
|
2005: "账号无【申明原创】权限,请关闭申明后重试。",
|
|
14907
13630
|
100004: "用户未登录或登陆已过期,请重新登陆后重试。"
|
|
14908
13631
|
};
|
|
14909
|
-
const mock_generatorFormData = (data)=>Object.entries(data).map(([key, value])=>{
|
|
14910
|
-
const encodedKey = encodeURIComponent(key);
|
|
14911
|
-
const encodedValue = encodeURIComponent(String(value));
|
|
14912
|
-
return `${encodedKey}=${encodedValue}`;
|
|
14913
|
-
}).join('&');
|
|
14914
13632
|
const get3101DetailError = (errorList, message, saveType)=>{
|
|
14915
13633
|
let error = "";
|
|
14916
13634
|
if (message?.includes("当日发文")) error = errorList[0];
|
|
@@ -14919,7 +13637,7 @@ var __webpack_exports__ = {};
|
|
|
14919
13637
|
return error || ("draft" === saveType ? "文章同步异常,请稍后重试。" : "文章发布异常,请稍后重试。");
|
|
14920
13638
|
};
|
|
14921
13639
|
const mock_mockAction = async (task, params)=>{
|
|
14922
|
-
const { toutiaoSingleCover, toutiaoMultCover, toutiaoCoverType, toutiaoOriginal
|
|
13640
|
+
const { toutiaoSingleCover, toutiaoMultCover, toutiaoCoverType, toutiaoOriginal } = params.settingInfo;
|
|
14923
13641
|
const tmpCachePath = task.getTmpPath();
|
|
14924
13642
|
const http = new Http({
|
|
14925
13643
|
headers: {
|
|
@@ -14975,27 +13693,23 @@ var __webpack_exports__ = {};
|
|
|
14975
13693
|
toutiaoSingleCover
|
|
14976
13694
|
] : "multiple" === toutiaoCoverType ? toutiaoMultCover : [];
|
|
14977
13695
|
const coverRes = await uploadImages(coverUrl);
|
|
13696
|
+
const isSingleTitle = "single" === params.settingInfo.toutiaoTitleType;
|
|
14978
13697
|
const location = params.settingInfo.toutiaoLocation;
|
|
14979
13698
|
const topics = params.settingInfo.toutiaoTopic || [];
|
|
13699
|
+
const multiTitleData = params.settingInfo.subTitles.map((title)=>({
|
|
13700
|
+
id: "0",
|
|
13701
|
+
visibility_level: 0,
|
|
13702
|
+
source: "author",
|
|
13703
|
+
old_source: "author",
|
|
13704
|
+
text: title,
|
|
13705
|
+
version: "author",
|
|
13706
|
+
ai_title: ""
|
|
13707
|
+
}));
|
|
14980
13708
|
const topicContent = topics.map((topic)=>`<p><a class="tteditor-forum" data-name="${topic.word}" data-id="${topic.id}" data-concern-id="${topic.id}">#${topic.word}#</a ></p >`).join("");
|
|
14981
|
-
let sourceData = {
|
|
14982
|
-
source_type: toutiaoClaim ? toutiaoClaim.type : 5
|
|
14983
|
-
};
|
|
14984
|
-
if (toutiaoClaim && 1 === toutiaoClaim.type) {
|
|
14985
|
-
if (!toutiaoClaim?.source_author_uid) return {
|
|
14986
|
-
code: 500,
|
|
14987
|
-
message: "请填写作者ID",
|
|
14988
|
-
data: ""
|
|
14989
|
-
};
|
|
14990
|
-
sourceData = {
|
|
14991
|
-
...sourceData,
|
|
14992
|
-
source_author_uid: toutiaoClaim.source_author_uid,
|
|
14993
|
-
time_format: toutiaoClaim.time_format,
|
|
14994
|
-
position: toutiaoClaim.position
|
|
14995
|
-
};
|
|
14996
|
-
}
|
|
14997
13709
|
const extraData = {
|
|
14998
13710
|
content_word_cnt: params.settingInfo.cntWord,
|
|
13711
|
+
is_multi_title: isSingleTitle ? 0 : 1,
|
|
13712
|
+
sub_titles: isSingleTitle ? [] : multiTitleData,
|
|
14999
13713
|
gd_ext: {
|
|
15000
13714
|
entrance: "",
|
|
15001
13715
|
from_page: "publisher_mp",
|
|
@@ -15004,7 +13718,12 @@ var __webpack_exports__ = {};
|
|
|
15004
13718
|
is_message: 0
|
|
15005
13719
|
},
|
|
15006
13720
|
tuwen_wtt_trans_flag: "0",
|
|
15007
|
-
info_source:
|
|
13721
|
+
info_source: {
|
|
13722
|
+
source_type: 5,
|
|
13723
|
+
source_link: "",
|
|
13724
|
+
time_format: "",
|
|
13725
|
+
position: {}
|
|
13726
|
+
},
|
|
15008
13727
|
...location ? {
|
|
15009
13728
|
city: location.label,
|
|
15010
13729
|
city_code: location.value
|
|
@@ -15029,8 +13748,8 @@ var __webpack_exports__ = {};
|
|
|
15029
13748
|
trends_writing_tag: 0,
|
|
15030
13749
|
is_refute_rumor: 0,
|
|
15031
13750
|
save: "publish" === params.saveType ? 1 : 0,
|
|
15032
|
-
timer_status:
|
|
15033
|
-
timer_time:
|
|
13751
|
+
timer_status: 0,
|
|
13752
|
+
timer_time: "",
|
|
15034
13753
|
title: params.title,
|
|
15035
13754
|
content: content + topicContent,
|
|
15036
13755
|
extra: JSON.stringify(extraData),
|
|
@@ -15051,31 +13770,10 @@ var __webpack_exports__ = {};
|
|
|
15051
13770
|
}
|
|
15052
13771
|
}))),
|
|
15053
13772
|
article_ad_type: getAddTypeValue(params.settingInfo.toutiaoAd),
|
|
15054
|
-
|
|
13773
|
+
claim_origin: toutiaoOriginal.includes("original") ? 1 : 0,
|
|
13774
|
+
claim_exclusive: toutiaoOriginal.includes("exclusive") ? 1 : 0
|
|
15055
13775
|
};
|
|
15056
|
-
const
|
|
15057
|
-
let publishOption = {};
|
|
15058
|
-
if (msToken) {
|
|
15059
|
-
const postHeaders = mock_generatorFormData({
|
|
15060
|
-
source: "mp",
|
|
15061
|
-
type: "article",
|
|
15062
|
-
aid: 1231,
|
|
15063
|
-
mp_publish_ab_val: 0,
|
|
15064
|
-
msToken: msToken
|
|
15065
|
-
});
|
|
15066
|
-
const postData = mock_generatorFormData(publishData);
|
|
15067
|
-
let a_bogus = GenAB(postHeaders, postData);
|
|
15068
|
-
publishOption = {
|
|
15069
|
-
method: "post",
|
|
15070
|
-
url: `https://mp.toutiao.com/mp/agw/article/publish?${postHeaders}&a_bogus=${a_bogus}`,
|
|
15071
|
-
data: postData,
|
|
15072
|
-
headers: {
|
|
15073
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
15074
|
-
"user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36"
|
|
15075
|
-
},
|
|
15076
|
-
defaultErrorMsg: "draft" === params.saveType ? "文章同步异常,请稍后重试。" : "文章发布异常,请稍后重试。"
|
|
15077
|
-
};
|
|
15078
|
-
} else publishOption = {
|
|
13776
|
+
const publishResult = await http.api({
|
|
15079
13777
|
method: "post",
|
|
15080
13778
|
url: "https://mp.toutiao.com/mp/agw/article/publish?source=mp&type=article&aid=1",
|
|
15081
13779
|
data: publishData,
|
|
@@ -15083,11 +13781,9 @@ var __webpack_exports__ = {};
|
|
|
15083
13781
|
"content-type": "application/x-www-form-urlencoded"
|
|
15084
13782
|
},
|
|
15085
13783
|
defaultErrorMsg: "draft" === params.saveType ? "文章同步异常,请稍后重试。" : "文章发布异常,请稍后重试。"
|
|
15086
|
-
};
|
|
15087
|
-
const publishResult = await http.api(publishOption);
|
|
13784
|
+
});
|
|
15088
13785
|
return success(publishResult.data.pgc_id);
|
|
15089
13786
|
};
|
|
15090
|
-
const rpa_GenAB = __webpack_require__("./src/utils/ttABEncrypt.js");
|
|
15091
13787
|
const rpa_rpaAction = async (task, params)=>{
|
|
15092
13788
|
const tmpCachePath = task.getTmpPath();
|
|
15093
13789
|
const commonCookies = {
|
|
@@ -15122,30 +13818,9 @@ var __webpack_exports__ = {};
|
|
|
15122
13818
|
await page.route('**', async (route, request)=>{
|
|
15123
13819
|
const url = new URL(request.url());
|
|
15124
13820
|
if (interceptUrls.some((pattern)=>url.pathname.includes(pattern))) {
|
|
15125
|
-
|
|
15126
|
-
...request.headers(),
|
|
15127
|
-
"user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36"
|
|
15128
|
-
};
|
|
15129
|
-
const generatorFormData = (data)=>Object.entries(data).map(([key, value])=>{
|
|
15130
|
-
const encodedKey = encodeURIComponent(key);
|
|
15131
|
-
const encodedValue = encodeURIComponent(String(value));
|
|
15132
|
-
return `${encodedKey}=${encodedValue}`;
|
|
15133
|
-
}).join('&');
|
|
15134
|
-
const postHeaders = generatorFormData({
|
|
15135
|
-
source: "mp",
|
|
15136
|
-
type: "article",
|
|
15137
|
-
aid: 1231,
|
|
15138
|
-
mp_publish_ab_val: 0,
|
|
15139
|
-
msToken: url.searchParams.get('msToken')
|
|
15140
|
-
});
|
|
15141
|
-
const postData = request.postData() || "";
|
|
15142
|
-
let a_bogus = rpa_GenAB(postHeaders, postData);
|
|
15143
|
-
url.searchParams.set('aid', "1231");
|
|
15144
|
-
url.searchParams.set('mp_publish_ab_val', "0");
|
|
15145
|
-
url.searchParams.set('a_bogus', a_bogus);
|
|
13821
|
+
url.searchParams.set('aid', '1');
|
|
15146
13822
|
await route.continue({
|
|
15147
|
-
url: url.toString()
|
|
15148
|
-
headers: headers
|
|
13823
|
+
url: url.toString()
|
|
15149
13824
|
});
|
|
15150
13825
|
} else await route.continue();
|
|
15151
13826
|
});
|
|
@@ -15220,40 +13895,13 @@ var __webpack_exports__ = {};
|
|
|
15220
13895
|
}).locator("xpath=..");
|
|
15221
13896
|
const isAdOptionVisible = await adContainer.isVisible();
|
|
15222
13897
|
if (isAdOptionVisible) await adContainer.locator(`label.byte-radio:has(input[value="${getAddTypeValue(params.settingInfo.toutiaoAd)}"])`).click();
|
|
15223
|
-
|
|
15224
|
-
|
|
15225
|
-
|
|
15226
|
-
|
|
15227
|
-
|
|
15228
|
-
let claim = params.settingInfo.toutiaoClaim ? params.settingInfo.toutiaoClaim.type : 5;
|
|
15229
|
-
switch(claim){
|
|
15230
|
-
case 3:
|
|
15231
|
-
await page.locator(".source-wrap .byte-checkbox", {
|
|
15232
|
-
hasText: "引用AI"
|
|
15233
|
-
}).locator(".byte-checkbox-mask").check();
|
|
15234
|
-
break;
|
|
15235
|
-
case 4:
|
|
15236
|
-
await page.locator(".source-wrap .byte-checkbox", {
|
|
15237
|
-
hasText: "取材网络"
|
|
15238
|
-
}).locator(".byte-checkbox-mask").check();
|
|
15239
|
-
break;
|
|
15240
|
-
case 5:
|
|
15241
|
-
await page.locator(".source-wrap .byte-checkbox", {
|
|
15242
|
-
hasText: "个人观点,仅供参考"
|
|
15243
|
-
}).locator(".byte-checkbox-mask").check();
|
|
15244
|
-
break;
|
|
15245
|
-
case 6:
|
|
15246
|
-
await page.locator(".source-wrap .byte-checkbox", {
|
|
15247
|
-
hasText: "虚构演绎,故事经历"
|
|
15248
|
-
}).locator(".byte-checkbox-mask").check();
|
|
15249
|
-
break;
|
|
15250
|
-
default:
|
|
15251
|
-
await page.locator(".source-wrap .byte-checkbox", {
|
|
15252
|
-
hasText: "个人观点,仅供参考"
|
|
15253
|
-
}).locator(".byte-checkbox-mask").check();
|
|
15254
|
-
break;
|
|
13898
|
+
if (params.settingInfo.toutiaoOriginal.includes("exclusive")) {
|
|
13899
|
+
const exclusiveContainer = page.locator(".form-container .edit-cell .edit-label").filter({
|
|
13900
|
+
hasText: "声明首发"
|
|
13901
|
+
}).locator("xpath=..");
|
|
13902
|
+
exclusiveContainer.locator(".exclusive .exclusive-checkbox-wraper .byte-checkbox").click();
|
|
15255
13903
|
}
|
|
15256
|
-
const articleId = await new Promise(
|
|
13904
|
+
const articleId = await new Promise((resolve)=>{
|
|
15257
13905
|
const handleResponse = async (response)=>{
|
|
15258
13906
|
const url = response.url();
|
|
15259
13907
|
if (url.includes("/mp/agw/article/publish")) {
|
|
@@ -15263,32 +13911,7 @@ var __webpack_exports__ = {};
|
|
|
15263
13911
|
}
|
|
15264
13912
|
};
|
|
15265
13913
|
page.on("response", handleResponse);
|
|
15266
|
-
|
|
15267
|
-
await page.locator(".publish-footer button").filter({
|
|
15268
|
-
hasText: "定时发布"
|
|
15269
|
-
}).click();
|
|
15270
|
-
await page.waitForSelector('button.publish-btn:not(.byte-btn-loading) >> nth=1', {
|
|
15271
|
-
state: 'attached'
|
|
15272
|
-
});
|
|
15273
|
-
await page.locator(".byte-modal-content .day-select .byte-select-view-value").click();
|
|
15274
|
-
await page.locator('li.byte-select-option', {
|
|
15275
|
-
hasText: TimeFormatter.format(params.settingInfo.timer, "MM月dd日")
|
|
15276
|
-
}).click();
|
|
15277
|
-
await page.waitForTimeout(200);
|
|
15278
|
-
await page.locator(".byte-modal-content .hour-select .byte-select-view-value").click();
|
|
15279
|
-
await page.locator('li.byte-select-option', {
|
|
15280
|
-
hasText: TimeFormatter.format(params.settingInfo.timer, "h")
|
|
15281
|
-
}).click();
|
|
15282
|
-
await page.waitForTimeout(200);
|
|
15283
|
-
await page.locator(".byte-modal-content .minute-select .byte-select-view-value").click();
|
|
15284
|
-
await page.locator('li.byte-select-option', {
|
|
15285
|
-
hasText: TimeFormatter.format(params.settingInfo.timer, "m")
|
|
15286
|
-
}).click();
|
|
15287
|
-
await page.waitForTimeout(200);
|
|
15288
|
-
await page.locator(".byte-modal-footer button").filter({
|
|
15289
|
-
hasText: "预览并定时发布"
|
|
15290
|
-
}).click();
|
|
15291
|
-
} else await page.locator(".publish-footer button").filter({
|
|
13914
|
+
page.locator(".publish-footer button").filter({
|
|
15292
13915
|
hasText: "预览并发布"
|
|
15293
13916
|
}).click();
|
|
15294
13917
|
});
|
|
@@ -15299,17 +13922,17 @@ var __webpack_exports__ = {};
|
|
|
15299
13922
|
}
|
|
15300
13923
|
if ("publish" === params.saveType) {
|
|
15301
13924
|
await page.locator(".publish-footer button").filter({
|
|
15302
|
-
hasText:
|
|
13925
|
+
hasText: "确认发布"
|
|
15303
13926
|
}).waitFor({
|
|
15304
13927
|
state: "visible"
|
|
15305
13928
|
});
|
|
15306
13929
|
await page.waitForTimeout(200);
|
|
15307
13930
|
await page.locator(".publish-footer button").filter({
|
|
15308
|
-
hasText:
|
|
13931
|
+
hasText: "确认发布"
|
|
15309
13932
|
}).click();
|
|
15310
13933
|
}
|
|
15311
13934
|
await page.close();
|
|
15312
|
-
return success(articleId
|
|
13935
|
+
return success(articleId);
|
|
15313
13936
|
};
|
|
15314
13937
|
const COVER_TYPE = {
|
|
15315
13938
|
no: 1,
|
|
@@ -15322,106 +13945,6 @@ var __webpack_exports__ = {};
|
|
|
15322
13945
|
if ("mockApi" === params.actionType) return mock_mockAction(task, params);
|
|
15323
13946
|
return executeAction(mock_mockAction, rpa_rpaAction)(task, params);
|
|
15324
13947
|
};
|
|
15325
|
-
const TTFansExport = async (_task, params)=>{
|
|
15326
|
-
const http = new Http({
|
|
15327
|
-
headers: {
|
|
15328
|
-
cookie: params.cookies.map((it)=>`${it.name}=${it.value}`).join(";"),
|
|
15329
|
-
referer: "https://mp.toutiao.com/profile_v4/graphic/publish"
|
|
15330
|
-
}
|
|
15331
|
-
});
|
|
15332
|
-
try {
|
|
15333
|
-
const res = await http.api({
|
|
15334
|
-
method: "get",
|
|
15335
|
-
url: "https://mp.toutiao.com/mp/agw/creator_center/user_info?app_id=1231",
|
|
15336
|
-
params: {
|
|
15337
|
-
app_id: 1231
|
|
15338
|
-
}
|
|
15339
|
-
});
|
|
15340
|
-
return success(0 === res.code ? {
|
|
15341
|
-
fans_count: res.total_fans_count
|
|
15342
|
-
} : {
|
|
15343
|
-
fans_count: null
|
|
15344
|
-
}, "获取粉丝数成功!");
|
|
15345
|
-
} catch (error) {
|
|
15346
|
-
return success({
|
|
15347
|
-
fans_count: null
|
|
15348
|
-
}, "获取粉丝数失败,请检查登陆有效性!");
|
|
15349
|
-
}
|
|
15350
|
-
};
|
|
15351
|
-
const XhsFansExport = async (_task, params)=>{
|
|
15352
|
-
const http = new Http({
|
|
15353
|
-
headers: {
|
|
15354
|
-
cookie: params.cookies.map((it)=>`${it.name}=${it.value}`).join(";"),
|
|
15355
|
-
referer: "https://creator.xiaohongshu.com/new/home?source=official"
|
|
15356
|
-
}
|
|
15357
|
-
});
|
|
15358
|
-
try {
|
|
15359
|
-
const res = await http.api({
|
|
15360
|
-
method: "get",
|
|
15361
|
-
url: "https://creator.xiaohongshu.com/api/galaxy/creator/home/personal_info"
|
|
15362
|
-
});
|
|
15363
|
-
return success(0 === res.result ? {
|
|
15364
|
-
fans_count: res.data.fans_count
|
|
15365
|
-
} : {
|
|
15366
|
-
fans_count: null
|
|
15367
|
-
}, "获取粉丝数成功!");
|
|
15368
|
-
} catch (error) {
|
|
15369
|
-
return success({
|
|
15370
|
-
fans_count: null
|
|
15371
|
-
}, "获取粉丝数失败,请检查登陆有效性!");
|
|
15372
|
-
}
|
|
15373
|
-
};
|
|
15374
|
-
const WxFansExport = async (_task, params)=>{
|
|
15375
|
-
const http = new Http({
|
|
15376
|
-
headers: {
|
|
15377
|
-
cookie: params.cookies.map((it)=>`${it.name}=${it.value}`).join(";")
|
|
15378
|
-
}
|
|
15379
|
-
});
|
|
15380
|
-
try {
|
|
15381
|
-
const htmlStr = await http.api({
|
|
15382
|
-
method: "get",
|
|
15383
|
-
url: "https://mp.weixin.qq.com/cgi-bin/home",
|
|
15384
|
-
params: {
|
|
15385
|
-
t: "home/index",
|
|
15386
|
-
token: params.token,
|
|
15387
|
-
lang: "zh_CN"
|
|
15388
|
-
}
|
|
15389
|
-
});
|
|
15390
|
-
const match = htmlStr.match(/总用户数[\s\S]*?<mp-thousandth>(\d+)<\/mp-thousandth>/);
|
|
15391
|
-
return success(match ? {
|
|
15392
|
-
fans_count: Number(match[1])
|
|
15393
|
-
} : {
|
|
15394
|
-
fans_count: null
|
|
15395
|
-
}, "获取粉丝数成功!");
|
|
15396
|
-
} catch (error) {
|
|
15397
|
-
return success({
|
|
15398
|
-
fans_count: null
|
|
15399
|
-
}, "获取粉丝数失败,请检查登陆有效性!");
|
|
15400
|
-
}
|
|
15401
|
-
};
|
|
15402
|
-
const BjhFansExport = async (_task, params)=>{
|
|
15403
|
-
const http = new Http({
|
|
15404
|
-
headers: {
|
|
15405
|
-
cookie: params.cookies.map((it)=>`${it.name}=${it.value}`).join(";"),
|
|
15406
|
-
referer: "https://baijiahao.baidu.com/builder/rc/home"
|
|
15407
|
-
}
|
|
15408
|
-
});
|
|
15409
|
-
try {
|
|
15410
|
-
const res = await http.api({
|
|
15411
|
-
method: "get",
|
|
15412
|
-
url: "https://baijiahao.baidu.com/cms-ui/rights/growth/get_info"
|
|
15413
|
-
});
|
|
15414
|
-
return success(0 === res.errno ? {
|
|
15415
|
-
fans_count: res.data.total_fans
|
|
15416
|
-
} : {
|
|
15417
|
-
fans_count: null
|
|
15418
|
-
}, "获取粉丝数成功!");
|
|
15419
|
-
} catch (error) {
|
|
15420
|
-
return success({
|
|
15421
|
-
fans_count: null
|
|
15422
|
-
}, "获取粉丝数失败,请检查登陆有效性!");
|
|
15423
|
-
}
|
|
15424
|
-
};
|
|
15425
13948
|
const weitoutiaoPublish_mock_mockAction = async (task, params)=>{
|
|
15426
13949
|
const tmpCachePath = task.getTmpPath();
|
|
15427
13950
|
const http = new Http({
|
|
@@ -15591,7 +14114,7 @@ var __webpack_exports__ = {};
|
|
|
15591
14114
|
已关注的用户: 2,
|
|
15592
14115
|
已关注7天及以上的用户: 3
|
|
15593
14116
|
};
|
|
15594
|
-
const
|
|
14117
|
+
const generatorFormData = (data)=>{
|
|
15595
14118
|
const formData = new URLSearchParams();
|
|
15596
14119
|
for (const [key, value] of Object.entries(data))formData.append(key, String(value));
|
|
15597
14120
|
return formData.toString();
|
|
@@ -15607,7 +14130,7 @@ var __webpack_exports__ = {};
|
|
|
15607
14130
|
token: params.token,
|
|
15608
14131
|
lang: "zh_CN"
|
|
15609
14132
|
},
|
|
15610
|
-
data:
|
|
14133
|
+
data: generatorFormData(data)
|
|
15611
14134
|
});
|
|
15612
14135
|
} catch (error) {
|
|
15613
14136
|
resData = error?.data;
|
|
@@ -15721,7 +14244,7 @@ var __webpack_exports__ = {};
|
|
|
15721
14244
|
params: {
|
|
15722
14245
|
action: "searchacct"
|
|
15723
14246
|
},
|
|
15724
|
-
data:
|
|
14247
|
+
data: generatorFormData({
|
|
15725
14248
|
lang: "zh_CN",
|
|
15726
14249
|
f: "json",
|
|
15727
14250
|
ajax: 1,
|
|
@@ -15850,7 +14373,7 @@ var __webpack_exports__ = {};
|
|
|
15850
14373
|
params: {
|
|
15851
14374
|
action: 'addautoreply'
|
|
15852
14375
|
},
|
|
15853
|
-
data:
|
|
14376
|
+
data: generatorFormData({
|
|
15854
14377
|
type: 1,
|
|
15855
14378
|
fingerprint,
|
|
15856
14379
|
token: params.token,
|
|
@@ -15972,7 +14495,7 @@ var __webpack_exports__ = {};
|
|
|
15972
14495
|
type: 77,
|
|
15973
14496
|
lang: "zh_CN"
|
|
15974
14497
|
},
|
|
15975
|
-
data:
|
|
14498
|
+
data: generatorFormData(draftData),
|
|
15976
14499
|
defaultErrorMsg: "创建草稿失败,请稍后重试发布。"
|
|
15977
14500
|
});
|
|
15978
14501
|
if ("draft" === params.saveType) return {
|
|
@@ -16005,7 +14528,7 @@ var __webpack_exports__ = {};
|
|
|
16005
14528
|
lang: "zh_CN",
|
|
16006
14529
|
token: params.token
|
|
16007
14530
|
},
|
|
16008
|
-
data:
|
|
14531
|
+
data: generatorFormData({
|
|
16009
14532
|
token: params.token,
|
|
16010
14533
|
lang: "zh_CN",
|
|
16011
14534
|
f: "json",
|
|
@@ -16036,7 +14559,7 @@ var __webpack_exports__ = {};
|
|
|
16036
14559
|
token: params.token,
|
|
16037
14560
|
lang: "zh_CN"
|
|
16038
14561
|
},
|
|
16039
|
-
data:
|
|
14562
|
+
data: generatorFormData({
|
|
16040
14563
|
appmsgid: appMsgId,
|
|
16041
14564
|
fingerprint,
|
|
16042
14565
|
token: params.token,
|
|
@@ -16048,7 +14571,7 @@ var __webpack_exports__ = {};
|
|
|
16048
14571
|
await http.api({
|
|
16049
14572
|
method: "post",
|
|
16050
14573
|
url: "https://mp.weixin.qq.com/cgi-bin/masssend?action=check_same_material",
|
|
16051
|
-
data:
|
|
14574
|
+
data: generatorFormData({
|
|
16052
14575
|
msgid: appMsgId,
|
|
16053
14576
|
fingerprint,
|
|
16054
14577
|
token: params.token,
|
|
@@ -16087,7 +14610,7 @@ var __webpack_exports__ = {};
|
|
|
16087
14610
|
token: params.token,
|
|
16088
14611
|
lang: "zh_CN"
|
|
16089
14612
|
},
|
|
16090
|
-
data:
|
|
14613
|
+
data: generatorFormData({
|
|
16091
14614
|
appmsg_id: appMsgId,
|
|
16092
14615
|
fingerprint,
|
|
16093
14616
|
token: params.token,
|
|
@@ -16095,7 +14618,7 @@ var __webpack_exports__ = {};
|
|
|
16095
14618
|
f: "json",
|
|
16096
14619
|
ajax: 1,
|
|
16097
14620
|
is_release_publish_page: params.masssend ? 0 : 1,
|
|
16098
|
-
send_time:
|
|
14621
|
+
send_time: 0,
|
|
16099
14622
|
random: Math.random().toString()
|
|
16100
14623
|
})
|
|
16101
14624
|
});
|
|
@@ -16106,7 +14629,7 @@ var __webpack_exports__ = {};
|
|
|
16106
14629
|
params: {
|
|
16107
14630
|
action: "check_music"
|
|
16108
14631
|
},
|
|
16109
|
-
data:
|
|
14632
|
+
data: generatorFormData({
|
|
16110
14633
|
appmsgid: appMsgId,
|
|
16111
14634
|
masssend_check: 1,
|
|
16112
14635
|
fingerprint,
|
|
@@ -16126,7 +14649,7 @@ var __webpack_exports__ = {};
|
|
|
16126
14649
|
lang: "zh_CN",
|
|
16127
14650
|
1: 1
|
|
16128
14651
|
},
|
|
16129
|
-
data:
|
|
14652
|
+
data: generatorFormData({
|
|
16130
14653
|
token: params.token,
|
|
16131
14654
|
lang: "zh_CN",
|
|
16132
14655
|
f: "json",
|
|
@@ -16146,7 +14669,7 @@ var __webpack_exports__ = {};
|
|
|
16146
14669
|
lang: "zh_CN",
|
|
16147
14670
|
1: 1
|
|
16148
14671
|
},
|
|
16149
|
-
data:
|
|
14672
|
+
data: generatorFormData({
|
|
16150
14673
|
token: params.token,
|
|
16151
14674
|
lang: "zh_CN",
|
|
16152
14675
|
f: "json",
|
|
@@ -16178,7 +14701,6 @@ var __webpack_exports__ = {};
|
|
|
16178
14701
|
ticket: getTicketResult.ticket,
|
|
16179
14702
|
uuid,
|
|
16180
14703
|
msgid: operation_seq,
|
|
16181
|
-
open_email: !!params.settingInfo.timer,
|
|
16182
14704
|
...params.masssend ? {} : {
|
|
16183
14705
|
publish_type: 1
|
|
16184
14706
|
}
|
|
@@ -16201,7 +14723,7 @@ var __webpack_exports__ = {};
|
|
|
16201
14723
|
lang: "zh_CN",
|
|
16202
14724
|
timespam: Date.now()
|
|
16203
14725
|
},
|
|
16204
|
-
data:
|
|
14726
|
+
data: generatorFormData({
|
|
16205
14727
|
token: params.token,
|
|
16206
14728
|
lang: "zh_CN",
|
|
16207
14729
|
f: "json",
|
|
@@ -16231,7 +14753,7 @@ var __webpack_exports__ = {};
|
|
|
16231
14753
|
lang: "zh_CN",
|
|
16232
14754
|
1: 1
|
|
16233
14755
|
},
|
|
16234
|
-
data:
|
|
14756
|
+
data: generatorFormData({
|
|
16235
14757
|
token: params.token,
|
|
16236
14758
|
lang: "zh_CN",
|
|
16237
14759
|
f: "json",
|
|
@@ -16249,14 +14771,11 @@ var __webpack_exports__ = {};
|
|
|
16249
14771
|
t: "ajax-response",
|
|
16250
14772
|
token: params.token,
|
|
16251
14773
|
lang: "zh_CN",
|
|
16252
|
-
...params.settingInfo.timer ? {
|
|
16253
|
-
action: "time_send"
|
|
16254
|
-
} : {},
|
|
16255
14774
|
...params.masssend ? {} : {
|
|
16256
14775
|
is_release_publish_page: 1
|
|
16257
14776
|
}
|
|
16258
14777
|
},
|
|
16259
|
-
data:
|
|
14778
|
+
data: generatorFormData({
|
|
16260
14779
|
token: params.token,
|
|
16261
14780
|
lang: "zh_CN",
|
|
16262
14781
|
f: "json",
|
|
@@ -16273,7 +14792,7 @@ var __webpack_exports__ = {};
|
|
|
16273
14792
|
country: "",
|
|
16274
14793
|
province: "",
|
|
16275
14794
|
city: "",
|
|
16276
|
-
send_time:
|
|
14795
|
+
send_time: "0",
|
|
16277
14796
|
type: "10",
|
|
16278
14797
|
share_page: "1",
|
|
16279
14798
|
synctxweibo: "0",
|
|
@@ -16290,7 +14809,7 @@ var __webpack_exports__ = {};
|
|
|
16290
14809
|
}),
|
|
16291
14810
|
defaultErrorMsg: params.masssend ? "文章群发异常,请尝试关闭群发或稍后重试。" : "文章发布异常,请稍后重试。"
|
|
16292
14811
|
});
|
|
16293
|
-
return success(appMsgId,
|
|
14812
|
+
return success(appMsgId, "微信公众号发布完成。");
|
|
16294
14813
|
};
|
|
16295
14814
|
const waitQrcodeResultMaxTime = 2000 * scanRetryMaxCount;
|
|
16296
14815
|
const weixinPublish_rpa_rpaAction = async (task, params)=>{
|
|
@@ -16617,7 +15136,7 @@ var __webpack_exports__ = {};
|
|
|
16617
15136
|
await poperInstance.locator('.frm_radio_item label[for="not_recomment_0"]').click();
|
|
16618
15137
|
}
|
|
16619
15138
|
await page.waitForTimeout(1000);
|
|
16620
|
-
const articleId = await new Promise(
|
|
15139
|
+
const articleId = await new Promise((resolve)=>{
|
|
16621
15140
|
const handleResponse = async (response)=>{
|
|
16622
15141
|
const url = response.url();
|
|
16623
15142
|
const query = parseUrlQueryString(url);
|
|
@@ -16629,34 +15148,7 @@ var __webpack_exports__ = {};
|
|
|
16629
15148
|
};
|
|
16630
15149
|
page.on("response", handleResponse);
|
|
16631
15150
|
page.locator("#editor_pannel #bottom_main #js_button_area #js_send button").click();
|
|
16632
|
-
await page.waitForTimeout(200);
|
|
16633
|
-
if (params.settingInfo.timer) {
|
|
16634
|
-
await page.locator(".mass-send .mass-send__td-setting", {
|
|
16635
|
-
hasText: "定时发表"
|
|
16636
|
-
}).locator(".weui-desktop-switch__box").check();
|
|
16637
|
-
let dateD = Number(TimeFormatter.format(params.settingInfo.timer, "d"));
|
|
16638
|
-
let nowD = Number(TimeFormatter.format(Date.now(), "d"));
|
|
16639
|
-
await page.locator(".mass-send__timer .weui-desktop-form__dropdown__dt").click();
|
|
16640
|
-
const dropMenu = page.locator(".mass-send__timer .weui-desktop-dropdown-menu").locator(".weui-desktop-dropdown__list-ele");
|
|
16641
|
-
await dropMenu.filter({
|
|
16642
|
-
hasText: dateD == nowD ? "今天" : dateD == nowD + 1 ? "明天" : TimeFormatter.format(params.settingInfo.timer, "M月d日")
|
|
16643
|
-
}).click();
|
|
16644
|
-
const timeDropMenu = page.locator(".mass-send__timer .weui-desktop-picker__time:visible");
|
|
16645
|
-
await timeDropMenu.locator(".weui-desktop-form__input").fill(TimeFormatter.format(params.settingInfo.timer, "hh:mm"));
|
|
16646
|
-
await timeDropMenu.locator("i.weui-desktop-icon__time").click();
|
|
16647
|
-
}
|
|
16648
15151
|
});
|
|
16649
|
-
await page.waitForTimeout(200);
|
|
16650
|
-
if (params.masssend) {
|
|
16651
|
-
const times = Number(await page.locator(".mass-send .multi-sent__notice_time").locator('div[style="display: none;"] div:not([style*="display: none"]) span').textContent());
|
|
16652
|
-
if (0 == times) return {
|
|
16653
|
-
code: 200,
|
|
16654
|
-
message: "今日群发次数用尽,请明天再试。",
|
|
16655
|
-
data: ""
|
|
16656
|
-
};
|
|
16657
|
-
await page.locator(".mass-send .mass_send__notify").locator(".weui-desktop-switch__box").check();
|
|
16658
|
-
} else await page.locator(".mass-send .mass_send__notify").locator(".weui-desktop-switch__box").uncheck();
|
|
16659
|
-
await page.waitForTimeout(200);
|
|
16660
15152
|
await page.waitForSelector('.new_mass_send_dialog .weui-desktop-dialog__wrp:not([style*="display: none"])', {
|
|
16661
15153
|
state: "visible"
|
|
16662
15154
|
});
|
|
@@ -16665,19 +15157,6 @@ var __webpack_exports__ = {};
|
|
|
16665
15157
|
state: "visible"
|
|
16666
15158
|
});
|
|
16667
15159
|
await page.locator(".double_check_dialog .weui-desktop-dialog .weui-desktop-dialog__ft button.weui-desktop-btn_primary").click();
|
|
16668
|
-
await page.waitForTimeout(2000);
|
|
16669
|
-
const originalCheckDialog = page.locator('div[data-transfer="true"][width\\.number="800"][height\\.number="800"] .weui-desktop-dialog__title');
|
|
16670
|
-
if (await originalCheckDialog.count() > 0) {
|
|
16671
|
-
if (await originalCheckDialog.textContent() === "原创校验") {
|
|
16672
|
-
const popMassend = page.locator('div[data-transfer="true"][width\\.number="800"][height\\.number="800"]');
|
|
16673
|
-
await popMassend.locator(".weui-desktop-btn_primary", {
|
|
16674
|
-
hasText: "下一步"
|
|
16675
|
-
}).click();
|
|
16676
|
-
await popMassend.locator(".weui-desktop-btn_primary", {
|
|
16677
|
-
hasText: "继续"
|
|
16678
|
-
}).click();
|
|
16679
|
-
}
|
|
16680
|
-
}
|
|
16681
15160
|
try {
|
|
16682
15161
|
const startTime = Date.now();
|
|
16683
15162
|
await new Promise(async (resolve, reject)=>{
|
|
@@ -17404,7 +15883,9 @@ var __webpack_exports__ = {};
|
|
|
17404
15883
|
if ("mockApi" === params.actionType) return xiaohongshuPublish_mock_mockAction(task, params);
|
|
17405
15884
|
return executeAction(xiaohongshuPublish_mock_mockAction, xiaohongshuPublish_rpa_rpaAction)(task, params);
|
|
17406
15885
|
};
|
|
17407
|
-
var package_namespaceObject =
|
|
15886
|
+
var package_namespaceObject = {
|
|
15887
|
+
i8: "1.2.10"
|
|
15888
|
+
};
|
|
17408
15889
|
class Action {
|
|
17409
15890
|
constructor(task){
|
|
17410
15891
|
this.task = task;
|
|
@@ -17428,30 +15909,9 @@ var __webpack_exports__ = {};
|
|
|
17428
15909
|
searchToutiaoTopicList(params) {
|
|
17429
15910
|
return this.bindTask(searchToutiaoTopicList, params);
|
|
17430
15911
|
}
|
|
17431
|
-
TTFansExport(params) {
|
|
17432
|
-
return this.bindTask(TTFansExport, params);
|
|
17433
|
-
}
|
|
17434
|
-
XhsFansExport(params) {
|
|
17435
|
-
return this.bindTask(XhsFansExport, params);
|
|
17436
|
-
}
|
|
17437
|
-
WxFansExport(params) {
|
|
17438
|
-
return this.bindTask(WxFansExport, params);
|
|
17439
|
-
}
|
|
17440
|
-
BjhFansExport(params) {
|
|
17441
|
-
return this.bindTask(BjhFansExport, params);
|
|
17442
|
-
}
|
|
17443
|
-
searchToutiaoUserID(params) {
|
|
17444
|
-
return this.bindTask(searchToutiaoUserInfo, params);
|
|
17445
|
-
}
|
|
17446
|
-
searchToutiaoLocation(params) {
|
|
17447
|
-
return this.bindTask(searchToutiaoLocation, params);
|
|
17448
|
-
}
|
|
17449
15912
|
getToutiaoConfig(params) {
|
|
17450
15913
|
return this.bindTask(getToutiaoConfig, params);
|
|
17451
15914
|
}
|
|
17452
|
-
getBaijiahaoConfig(params) {
|
|
17453
|
-
return this.bindTask(getBaijiahaoConfig, params);
|
|
17454
|
-
}
|
|
17455
15915
|
baijiahaoPublish(params) {
|
|
17456
15916
|
return this.bindTask(baijiahaoPublish, params);
|
|
17457
15917
|
}
|