@x-edu/live-player 0.0.13 → 0.0.15
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/XEduLivePlayer.common.js +232 -229
- package/dist/XEduLivePlayerPre.common.js +528 -886
- package/package.json +1 -1
- package/src/demo/List.jsx +16 -14
- package/src/detail/LiveStatus/index.jsx +186 -186
- package/src/detail/index.jsx +501 -501
- package/src/list/ListItem/Action/index.jsx +1 -1
- package/src/list/ListItem/index.jsx +3 -2
- package/src/list/ListItem/index.module.less +1 -1
- package/src/list/index.jsx +1 -1
|
@@ -2615,7 +2615,7 @@ ___CSS_LOADER_EXPORT___.locals = {
|
|
|
2615
2615
|
|
|
2616
2616
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
|
|
2617
2617
|
// Module
|
|
2618
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".index-module_container_2HydZ{padding:24px 0;margin:0 24px;display:flex;justify-content:flex-start;border-top:1px solid #eee;cursor:pointer}.index-module_container_2HydZ:first-child{border-top:none}.index-module_container_2HydZ .index-module_left_qKfes{margin-right:24px;border-radius:8px;position:relative}.index-module_container_2HydZ .index-module_left_qKfes .index-module_avatar_kO\\+gr{width:204px;height:120px;border-radius:4px;object-fit:cover}.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag_6g0Vd{position:absolute;top:0;border-radius:4px 0;font-size:12px;line-height:12px;height:20px;padding:0 8px;display:flex;align-items:center;color:#fff}.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag0_L-uaW{background-color:#ff7826}.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag1_1Mqse{background-color:#1e62ec;padding:0 5px}.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag1_1Mqse img{transform:rotate(180deg);height:10px;width:10px;margin-right:5px}.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag2_sEPZA{background-color:rgba(0,0,0,.6)}.index-module_container_2HydZ .index-module_right_LjXan{display:flex;flex-direction:column;justify-content:space-between;width:calc(100% - 228px)}.index-module_container_2HydZ .index-module_right-top_4Ry90 .index-module_title_\\+g0nw{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;word-wrap:break-word;line-height:28px;-webkit-line-clamp:2;font-size:20px;font-weight:600;color:#333}.index-module_container_2HydZ .index-module_right-bottom_ZCIxf{display:flex;justify-content:space-between;align-items:center}.index-module_container_2HydZ .index-module_right-bottom_ZCIxf .index-module_time_sEG7-{font-size:14px;color:#999;display:flex;align-items:center}.index-module_container_2HydZ .index-module_right-bottom_ZCIxf .index-module_time-icon_Rg1x0{width:16px;height:16px;color:#ccc;margin-right:4px}.index-module_action_MHhqt,.index-module_container_2HydZ:hover .index-module_title_\\+g0nw{color:#1e62ec}.index-module_action_MHhqt{font-size:14px;line-height:22px;border-radius:144.889px;border:1px solid #1e62ec;width:88px;height:32px;display:flex;align-items:center;justify-content:center}.index-module_action-subscribe_CvlKL{background:#1e62ec;color:#fff}", ""]);
|
|
2618
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".index-module_container_2HydZ{padding:24px 0;margin:0 24px;display:flex;justify-content:flex-start;border-top:1px solid #eee;cursor:pointer}.index-module_container_2HydZ:first-child{border-top:none}.index-module_container_2HydZ .index-module_left_qKfes{margin-right:24px;border-radius:8px;position:relative}.index-module_container_2HydZ .index-module_left_qKfes .index-module_avatar_kO\\+gr{width:204px;height:120px;border-radius:4px;object-fit:cover}.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag_6g0Vd{position:absolute;top:0;border-radius:4px 0;font-size:12px;line-height:12px;height:20px;padding:0 8px;display:flex;align-items:center;color:#fff}.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag0_L-uaW{background-color:#ff7826}.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag1_1Mqse,.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag3_8NDod{background-color:#1e62ec;padding:0 5px}.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag1_1Mqse img,.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag3_8NDod img{transform:rotate(180deg);height:10px;width:10px;margin-right:5px}.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag2_sEPZA{background-color:rgba(0,0,0,.6)}.index-module_container_2HydZ .index-module_right_LjXan{display:flex;flex-direction:column;justify-content:space-between;width:calc(100% - 228px)}.index-module_container_2HydZ .index-module_right-top_4Ry90 .index-module_title_\\+g0nw{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;word-wrap:break-word;line-height:28px;-webkit-line-clamp:2;font-size:20px;font-weight:600;color:#333}.index-module_container_2HydZ .index-module_right-bottom_ZCIxf{display:flex;justify-content:space-between;align-items:center}.index-module_container_2HydZ .index-module_right-bottom_ZCIxf .index-module_time_sEG7-{font-size:14px;color:#999;display:flex;align-items:center}.index-module_container_2HydZ .index-module_right-bottom_ZCIxf .index-module_time-icon_Rg1x0{width:16px;height:16px;color:#ccc;margin-right:4px}.index-module_action_MHhqt,.index-module_container_2HydZ:hover .index-module_title_\\+g0nw{color:#1e62ec}.index-module_action_MHhqt{font-size:14px;line-height:22px;border-radius:144.889px;border:1px solid #1e62ec;width:88px;height:32px;display:flex;align-items:center;justify-content:center}.index-module_action-subscribe_CvlKL{background:#1e62ec;color:#fff}", ""]);
|
|
2619
2619
|
// Exports
|
|
2620
2620
|
___CSS_LOADER_EXPORT___.locals = {
|
|
2621
2621
|
"container": "index-module_container_2HydZ",
|
|
@@ -2624,6 +2624,7 @@ ___CSS_LOADER_EXPORT___.locals = {
|
|
|
2624
2624
|
"tag": "index-module_tag_6g0Vd",
|
|
2625
2625
|
"tag0": "index-module_tag0_L-uaW",
|
|
2626
2626
|
"tag1": "index-module_tag1_1Mqse",
|
|
2627
|
+
"tag3": "index-module_tag3_8NDod",
|
|
2627
2628
|
"tag2": "index-module_tag2_sEPZA",
|
|
2628
2629
|
"right": "index-module_right_LjXan",
|
|
2629
2630
|
"right-top": "index-module_right-top_4Ry90",
|
|
@@ -29994,6 +29995,9 @@ var parseAdapter = function parseAdapter(option, dayjsClass) {
|
|
|
29994
29995
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
|
|
29995
29996
|
var regenerator = __webpack_require__(7757);
|
|
29996
29997
|
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
|
29998
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
|
|
29999
|
+
var runtime_regenerator = __webpack_require__(5273);
|
|
30000
|
+
var runtime_regenerator_default = /*#__PURE__*/__webpack_require__.n(runtime_regenerator);
|
|
29997
30001
|
// EXTERNAL MODULE: ./node_modules/axios/index.js
|
|
29998
30002
|
var axios = __webpack_require__(9669);
|
|
29999
30003
|
var axios_default = /*#__PURE__*/__webpack_require__.n(axios);
|
|
@@ -30746,7 +30750,7 @@ var LIVING_CLOSE_LOGIN = {
|
|
|
30746
30750
|
CLOSE: '1'
|
|
30747
30751
|
}; // 子类型 1 网龙会议 2 外部推流 3 转播
|
|
30748
30752
|
|
|
30749
|
-
var
|
|
30753
|
+
var SUB_TYPE = {
|
|
30750
30754
|
NET_DRAGON: 1,
|
|
30751
30755
|
OUTSIDE: 2,
|
|
30752
30756
|
REBROADCAST: 3
|
|
@@ -30803,7 +30807,7 @@ function getServiceConfig(_x) {
|
|
|
30803
30807
|
}
|
|
30804
30808
|
|
|
30805
30809
|
function _getServiceConfig() {
|
|
30806
|
-
_getServiceConfig = getServiceConfig_asyncToGenerator( /*#__PURE__*/
|
|
30810
|
+
_getServiceConfig = getServiceConfig_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee(serviceName) {
|
|
30807
30811
|
var sdpAppId,
|
|
30808
30812
|
env,
|
|
30809
30813
|
key,
|
|
@@ -30815,7 +30819,7 @@ function _getServiceConfig() {
|
|
|
30815
30819
|
result,
|
|
30816
30820
|
ttl,
|
|
30817
30821
|
_args = arguments;
|
|
30818
|
-
return
|
|
30822
|
+
return runtime_regenerator_default().wrap(function _callee$(_context) {
|
|
30819
30823
|
while (1) {
|
|
30820
30824
|
switch (_context.prev = _context.next) {
|
|
30821
30825
|
case 0:
|
|
@@ -31079,13 +31083,13 @@ function withOnce(fn) {
|
|
|
31079
31083
|
var lockPool = createLockPool();
|
|
31080
31084
|
|
|
31081
31085
|
var newFn = /*#__PURE__*/function () {
|
|
31082
|
-
var _ref3 = hof_asyncToGenerator( /*#__PURE__*/
|
|
31086
|
+
var _ref3 = hof_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee2() {
|
|
31083
31087
|
var key,
|
|
31084
31088
|
lock,
|
|
31085
31089
|
lockId,
|
|
31086
31090
|
result,
|
|
31087
31091
|
_args2 = arguments;
|
|
31088
|
-
return
|
|
31092
|
+
return runtime_regenerator_default().wrap(function _callee2$(_context2) {
|
|
31089
31093
|
while (1) {
|
|
31090
31094
|
switch (_context2.prev = _context2.next) {
|
|
31091
31095
|
case 0:
|
|
@@ -31591,9 +31595,9 @@ function _getLiveAPICache() {
|
|
|
31591
31595
|
}
|
|
31592
31596
|
|
|
31593
31597
|
function _getLiveAPICache2() {
|
|
31594
|
-
_getLiveAPICache2 = live_asyncToGenerator( /*#__PURE__*/
|
|
31598
|
+
_getLiveAPICache2 = live_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee11() {
|
|
31595
31599
|
var url, result, serverTime;
|
|
31596
|
-
return
|
|
31600
|
+
return runtime_regenerator_default().wrap(function _callee11$(_context11) {
|
|
31597
31601
|
while (1) {
|
|
31598
31602
|
switch (_context11.prev = _context11.next) {
|
|
31599
31603
|
case 0:
|
|
@@ -31633,9 +31637,9 @@ function getOpenClassWithCache(_x11) {
|
|
|
31633
31637
|
} // 公开直播详情变化部分,失败要降级处理
|
|
31634
31638
|
|
|
31635
31639
|
function _getOpenClassWithCache() {
|
|
31636
|
-
_getOpenClassWithCache = live_asyncToGenerator( /*#__PURE__*/
|
|
31640
|
+
_getOpenClassWithCache = live_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee12(url) {
|
|
31637
31641
|
var fullUrl, cacheInfo, cacheData, result, serverTime;
|
|
31638
|
-
return
|
|
31642
|
+
return runtime_regenerator_default().wrap(function _callee12$(_context12) {
|
|
31639
31643
|
while (1) {
|
|
31640
31644
|
switch (_context12.prev = _context12.next) {
|
|
31641
31645
|
case 0:
|
|
@@ -31707,9 +31711,9 @@ function getOpenClassLiveSimple(_x12) {
|
|
|
31707
31711
|
} // 公开直播详情拆分成两个接口
|
|
31708
31712
|
|
|
31709
31713
|
function _getOpenClassLiveSimple() {
|
|
31710
|
-
_getOpenClassLiveSimple = live_asyncToGenerator( /*#__PURE__*/
|
|
31714
|
+
_getOpenClassLiveSimple = live_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee13(liveInfo) {
|
|
31711
31715
|
var url, data;
|
|
31712
|
-
return
|
|
31716
|
+
return runtime_regenerator_default().wrap(function _callee13$(_context13) {
|
|
31713
31717
|
while (1) {
|
|
31714
31718
|
switch (_context13.prev = _context13.next) {
|
|
31715
31719
|
case 0:
|
|
@@ -31748,9 +31752,9 @@ function getOpenClassLiveBase(_x13) {
|
|
|
31748
31752
|
} // 公开实时直播-发起直播-公共直播邀请页使用,适配为班级直播数据
|
|
31749
31753
|
|
|
31750
31754
|
function _getOpenClassLiveBase() {
|
|
31751
|
-
_getOpenClassLiveBase = live_asyncToGenerator( /*#__PURE__*/
|
|
31755
|
+
_getOpenClassLiveBase = live_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee14(id) {
|
|
31752
31756
|
var url, data, subType, dynamicInfo;
|
|
31753
|
-
return
|
|
31757
|
+
return runtime_regenerator_default().wrap(function _callee14$(_context14) {
|
|
31754
31758
|
while (1) {
|
|
31755
31759
|
switch (_context14.prev = _context14.next) {
|
|
31756
31760
|
case 0:
|
|
@@ -31762,7 +31766,7 @@ function _getOpenClassLiveBase() {
|
|
|
31762
31766
|
data = _context14.sent;
|
|
31763
31767
|
subType = data.sub_type; // 外部推流则直接返回, 不去请求兼容接口
|
|
31764
31768
|
|
|
31765
|
-
if (!(subType ===
|
|
31769
|
+
if (!(subType === SUB_TYPE.OUTSIDE)) {
|
|
31766
31770
|
_context14.next = 7;
|
|
31767
31771
|
break;
|
|
31768
31772
|
}
|
|
@@ -31830,9 +31834,9 @@ function getOpenClassLive(_x15) {
|
|
|
31830
31834
|
}
|
|
31831
31835
|
|
|
31832
31836
|
function _getOpenClassLive() {
|
|
31833
|
-
_getOpenClassLive = live_asyncToGenerator( /*#__PURE__*/
|
|
31837
|
+
_getOpenClassLive = live_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee16(id) {
|
|
31834
31838
|
var serviceConfig, liveCloseLogin, data;
|
|
31835
|
-
return
|
|
31839
|
+
return runtime_regenerator_default().wrap(function _callee16$(_context16) {
|
|
31836
31840
|
while (1) {
|
|
31837
31841
|
switch (_context16.prev = _context16.next) {
|
|
31838
31842
|
case 0:
|
|
@@ -31945,9 +31949,9 @@ function OpenLiveSearchFront(_x18) {
|
|
|
31945
31949
|
*/
|
|
31946
31950
|
|
|
31947
31951
|
function _OpenLiveSearchFront() {
|
|
31948
|
-
_OpenLiveSearchFront = live_asyncToGenerator( /*#__PURE__*/
|
|
31952
|
+
_OpenLiveSearchFront = live_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee19(_ref2) {
|
|
31949
31953
|
var status, scopeType, scopeId, offset, limit, url, response;
|
|
31950
|
-
return
|
|
31954
|
+
return runtime_regenerator_default().wrap(function _callee19$(_context19) {
|
|
31951
31955
|
while (1) {
|
|
31952
31956
|
switch (_context19.prev = _context19.next) {
|
|
31953
31957
|
case 0:
|
|
@@ -31998,9 +32002,9 @@ function getSubscription() {
|
|
|
31998
32002
|
*/
|
|
31999
32003
|
|
|
32000
32004
|
function _getSubscription() {
|
|
32001
|
-
_getSubscription = live_asyncToGenerator( /*#__PURE__*/
|
|
32005
|
+
_getSubscription = live_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee20() {
|
|
32002
32006
|
var url, response;
|
|
32003
|
-
return
|
|
32007
|
+
return runtime_regenerator_default().wrap(function _callee20$(_context20) {
|
|
32004
32008
|
while (1) {
|
|
32005
32009
|
switch (_context20.prev = _context20.next) {
|
|
32006
32010
|
case 0:
|
|
@@ -32033,9 +32037,9 @@ function openLiveSubscribe(_x19) {
|
|
|
32033
32037
|
}
|
|
32034
32038
|
|
|
32035
32039
|
function _openLiveSubscribe() {
|
|
32036
|
-
_openLiveSubscribe = live_asyncToGenerator( /*#__PURE__*/
|
|
32040
|
+
_openLiveSubscribe = live_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee21(_ref3) {
|
|
32037
32041
|
var liveId, url, response;
|
|
32038
|
-
return
|
|
32042
|
+
return runtime_regenerator_default().wrap(function _callee21$(_context21) {
|
|
32039
32043
|
while (1) {
|
|
32040
32044
|
switch (_context21.prev = _context21.next) {
|
|
32041
32045
|
case 0:
|
|
@@ -32077,9 +32081,9 @@ function imBroadcasts_asyncToGenerator(fn) { return function () { var self = thi
|
|
|
32077
32081
|
// https://wiki.doc.101.com/index.php?title=IM%E7%9B%B4%E6%92%ADv2#.5BGET.5D_.2Fapis.2Fbroadcasts.2F.7BroomId.7D_.E6.A0.B9.E6.8D.AEroomId_.E8.8E.B7.E5.8F.96.E7.9B.B4.E6.92.AD.E4.BF.A1.E6.81.AF
|
|
32078
32082
|
|
|
32079
32083
|
var getIMLiveInfo = /*#__PURE__*/function () {
|
|
32080
|
-
var _ref = imBroadcasts_asyncToGenerator( /*#__PURE__*/
|
|
32084
|
+
var _ref = imBroadcasts_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee(roomId) {
|
|
32081
32085
|
var url, response;
|
|
32082
|
-
return
|
|
32086
|
+
return runtime_regenerator_default().wrap(function _callee$(_context) {
|
|
32083
32087
|
while (1) {
|
|
32084
32088
|
switch (_context.prev = _context.next) {
|
|
32085
32089
|
case 0:
|
|
@@ -32112,10 +32116,10 @@ var getIMLiveInfo = /*#__PURE__*/function () {
|
|
|
32112
32116
|
*/
|
|
32113
32117
|
|
|
32114
32118
|
var getGuestIMLiveInfoStatic = /*#__PURE__*/function () {
|
|
32115
|
-
var _ref2 = imBroadcasts_asyncToGenerator( /*#__PURE__*/
|
|
32119
|
+
var _ref2 = imBroadcasts_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee2(bId) {
|
|
32116
32120
|
var _yield$imBroadcastsSt, data;
|
|
32117
32121
|
|
|
32118
|
-
return
|
|
32122
|
+
return runtime_regenerator_default().wrap(function _callee2$(_context2) {
|
|
32119
32123
|
while (1) {
|
|
32120
32124
|
switch (_context2.prev = _context2.next) {
|
|
32121
32125
|
case 0:
|
|
@@ -32142,10 +32146,10 @@ var getGuestIMLiveInfoStatic = /*#__PURE__*/function () {
|
|
|
32142
32146
|
// 访客获取直播接口
|
|
32143
32147
|
|
|
32144
32148
|
var getGuestIMLiveInfo = /*#__PURE__*/function () {
|
|
32145
|
-
var _ref3 = imBroadcasts_asyncToGenerator( /*#__PURE__*/
|
|
32149
|
+
var _ref3 = imBroadcasts_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee3(bId) {
|
|
32146
32150
|
var _yield$imBroadcastsAP, data;
|
|
32147
32151
|
|
|
32148
|
-
return
|
|
32152
|
+
return runtime_regenerator_default().wrap(function _callee3$(_context3) {
|
|
32149
32153
|
while (1) {
|
|
32150
32154
|
switch (_context3.prev = _context3.next) {
|
|
32151
32155
|
case 0:
|
|
@@ -32213,6 +32217,162 @@ var spin_style_update = injectStylesIntoStyleTag_default()(spin_style/* default
|
|
|
32213
32217
|
;// CONCATENATED MODULE: ./node_modules/@sdp.nd/fish/es/spin/style/index.js
|
|
32214
32218
|
|
|
32215
32219
|
|
|
32220
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
|
|
32221
|
+
function esm_extends_extends() {
|
|
32222
|
+
esm_extends_extends = Object.assign || function (target) {
|
|
32223
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
32224
|
+
var source = arguments[i];
|
|
32225
|
+
|
|
32226
|
+
for (var key in source) {
|
|
32227
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
32228
|
+
target[key] = source[key];
|
|
32229
|
+
}
|
|
32230
|
+
}
|
|
32231
|
+
}
|
|
32232
|
+
|
|
32233
|
+
return target;
|
|
32234
|
+
};
|
|
32235
|
+
|
|
32236
|
+
return esm_extends_extends.apply(this, arguments);
|
|
32237
|
+
}
|
|
32238
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
32239
|
+
function defineProperty_defineProperty(obj, key, value) {
|
|
32240
|
+
if (key in obj) {
|
|
32241
|
+
Object.defineProperty(obj, key, {
|
|
32242
|
+
value: value,
|
|
32243
|
+
enumerable: true,
|
|
32244
|
+
configurable: true,
|
|
32245
|
+
writable: true
|
|
32246
|
+
});
|
|
32247
|
+
} else {
|
|
32248
|
+
obj[key] = value;
|
|
32249
|
+
}
|
|
32250
|
+
|
|
32251
|
+
return obj;
|
|
32252
|
+
}
|
|
32253
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
|
32254
|
+
function classCallCheck_classCallCheck(instance, Constructor) {
|
|
32255
|
+
if (!(instance instanceof Constructor)) {
|
|
32256
|
+
throw new TypeError("Cannot call a class as a function");
|
|
32257
|
+
}
|
|
32258
|
+
}
|
|
32259
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
|
|
32260
|
+
function createClass_defineProperties(target, props) {
|
|
32261
|
+
for (var i = 0; i < props.length; i++) {
|
|
32262
|
+
var descriptor = props[i];
|
|
32263
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
32264
|
+
descriptor.configurable = true;
|
|
32265
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
32266
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
32267
|
+
}
|
|
32268
|
+
}
|
|
32269
|
+
|
|
32270
|
+
function createClass_createClass(Constructor, protoProps, staticProps) {
|
|
32271
|
+
if (protoProps) createClass_defineProperties(Constructor.prototype, protoProps);
|
|
32272
|
+
if (staticProps) createClass_defineProperties(Constructor, staticProps);
|
|
32273
|
+
return Constructor;
|
|
32274
|
+
}
|
|
32275
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
|
|
32276
|
+
function setPrototypeOf_setPrototypeOf(o, p) {
|
|
32277
|
+
setPrototypeOf_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
32278
|
+
o.__proto__ = p;
|
|
32279
|
+
return o;
|
|
32280
|
+
};
|
|
32281
|
+
|
|
32282
|
+
return setPrototypeOf_setPrototypeOf(o, p);
|
|
32283
|
+
}
|
|
32284
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js
|
|
32285
|
+
|
|
32286
|
+
function inherits_inherits(subClass, superClass) {
|
|
32287
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
32288
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
32289
|
+
}
|
|
32290
|
+
|
|
32291
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
32292
|
+
constructor: {
|
|
32293
|
+
value: subClass,
|
|
32294
|
+
writable: true,
|
|
32295
|
+
configurable: true
|
|
32296
|
+
}
|
|
32297
|
+
});
|
|
32298
|
+
if (superClass) setPrototypeOf_setPrototypeOf(subClass, superClass);
|
|
32299
|
+
}
|
|
32300
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
|
|
32301
|
+
function getPrototypeOf_getPrototypeOf(o) {
|
|
32302
|
+
getPrototypeOf_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
32303
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
32304
|
+
};
|
|
32305
|
+
return getPrototypeOf_getPrototypeOf(o);
|
|
32306
|
+
}
|
|
32307
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
|
|
32308
|
+
function isNativeReflectConstruct_isNativeReflectConstruct() {
|
|
32309
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
32310
|
+
if (Reflect.construct.sham) return false;
|
|
32311
|
+
if (typeof Proxy === "function") return true;
|
|
32312
|
+
|
|
32313
|
+
try {
|
|
32314
|
+
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
32315
|
+
return true;
|
|
32316
|
+
} catch (e) {
|
|
32317
|
+
return false;
|
|
32318
|
+
}
|
|
32319
|
+
}
|
|
32320
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
32321
|
+
function esm_typeof_typeof(obj) {
|
|
32322
|
+
"@babel/helpers - typeof";
|
|
32323
|
+
|
|
32324
|
+
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
32325
|
+
esm_typeof_typeof = function _typeof(obj) {
|
|
32326
|
+
return typeof obj;
|
|
32327
|
+
};
|
|
32328
|
+
} else {
|
|
32329
|
+
esm_typeof_typeof = function _typeof(obj) {
|
|
32330
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
32331
|
+
};
|
|
32332
|
+
}
|
|
32333
|
+
|
|
32334
|
+
return esm_typeof_typeof(obj);
|
|
32335
|
+
}
|
|
32336
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
|
32337
|
+
function assertThisInitialized_assertThisInitialized(self) {
|
|
32338
|
+
if (self === void 0) {
|
|
32339
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
32340
|
+
}
|
|
32341
|
+
|
|
32342
|
+
return self;
|
|
32343
|
+
}
|
|
32344
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
|
|
32345
|
+
|
|
32346
|
+
|
|
32347
|
+
function possibleConstructorReturn_possibleConstructorReturn(self, call) {
|
|
32348
|
+
if (call && (esm_typeof_typeof(call) === "object" || typeof call === "function")) {
|
|
32349
|
+
return call;
|
|
32350
|
+
} else if (call !== void 0) {
|
|
32351
|
+
throw new TypeError("Derived constructors may only return object or undefined");
|
|
32352
|
+
}
|
|
32353
|
+
|
|
32354
|
+
return assertThisInitialized_assertThisInitialized(self);
|
|
32355
|
+
}
|
|
32356
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js
|
|
32357
|
+
|
|
32358
|
+
|
|
32359
|
+
|
|
32360
|
+
function createSuper_createSuper(Derived) {
|
|
32361
|
+
var hasNativeReflectConstruct = isNativeReflectConstruct_isNativeReflectConstruct();
|
|
32362
|
+
return function _createSuperInternal() {
|
|
32363
|
+
var Super = getPrototypeOf_getPrototypeOf(Derived),
|
|
32364
|
+
result;
|
|
32365
|
+
|
|
32366
|
+
if (hasNativeReflectConstruct) {
|
|
32367
|
+
var NewTarget = getPrototypeOf_getPrototypeOf(this).constructor;
|
|
32368
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
32369
|
+
} else {
|
|
32370
|
+
result = Super.apply(this, arguments);
|
|
32371
|
+
}
|
|
32372
|
+
|
|
32373
|
+
return possibleConstructorReturn_possibleConstructorReturn(this, result);
|
|
32374
|
+
};
|
|
32375
|
+
}
|
|
32216
32376
|
// EXTERNAL MODULE: ./node_modules/lodash/debounce.js
|
|
32217
32377
|
var debounce = __webpack_require__(3279);
|
|
32218
32378
|
var debounce_default = /*#__PURE__*/__webpack_require__.n(debounce);
|
|
@@ -32321,14 +32481,14 @@ function shouldDelay(spinning, delay) {
|
|
|
32321
32481
|
}
|
|
32322
32482
|
|
|
32323
32483
|
var Spin = /*#__PURE__*/function (_React$Component) {
|
|
32324
|
-
|
|
32484
|
+
inherits_inherits(Spin, _React$Component);
|
|
32325
32485
|
|
|
32326
|
-
var _super =
|
|
32486
|
+
var _super = createSuper_createSuper(Spin);
|
|
32327
32487
|
|
|
32328
32488
|
function Spin(props) {
|
|
32329
32489
|
var _this;
|
|
32330
32490
|
|
|
32331
|
-
|
|
32491
|
+
classCallCheck_classCallCheck(this, Spin);
|
|
32332
32492
|
|
|
32333
32493
|
_this = _super.call(this, props);
|
|
32334
32494
|
|
|
@@ -32371,10 +32531,10 @@ var Spin = /*#__PURE__*/function (_React$Component) {
|
|
|
32371
32531
|
|
|
32372
32532
|
var spinning = _this.state.spinning;
|
|
32373
32533
|
var prefixCls = getPrefixCls('spin', customizePrefixCls);
|
|
32374
|
-
var spinClassName = classnames_default()(prefixCls, (_classNames = {},
|
|
32534
|
+
var spinClassName = classnames_default()(prefixCls, (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-sm"), size === 'small'), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-lg"), size === 'large'), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-spinning"), spinning), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-show-text"), !!tip), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className); // fix https://fb.me/react-unknown-prop
|
|
32375
32535
|
|
|
32376
32536
|
var divProps = omit(restProps, ['spinning', 'delay', 'indicator']);
|
|
32377
|
-
var spinElement = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div",
|
|
32537
|
+
var spinElement = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({}, divProps, {
|
|
32378
32538
|
style: style,
|
|
32379
32539
|
className: spinClassName
|
|
32380
32540
|
}), renderIndicator(prefixCls, _this.props), tip ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
@@ -32382,8 +32542,8 @@ var Spin = /*#__PURE__*/function (_React$Component) {
|
|
|
32382
32542
|
}, tip) : null);
|
|
32383
32543
|
|
|
32384
32544
|
if (_this.isNestedPattern()) {
|
|
32385
|
-
var containerClassName = classnames_default()("".concat(prefixCls, "-container"),
|
|
32386
|
-
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div",
|
|
32545
|
+
var containerClassName = classnames_default()("".concat(prefixCls, "-container"), defineProperty_defineProperty({}, "".concat(prefixCls, "-blur"), spinning));
|
|
32546
|
+
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({}, divProps, {
|
|
32387
32547
|
className: classnames_default()("".concat(prefixCls, "-nested-loading"), wrapperClassName)
|
|
32388
32548
|
}), spinning && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
32389
32549
|
key: "loading"
|
|
@@ -32409,7 +32569,7 @@ var Spin = /*#__PURE__*/function (_React$Component) {
|
|
|
32409
32569
|
return _this;
|
|
32410
32570
|
}
|
|
32411
32571
|
|
|
32412
|
-
|
|
32572
|
+
createClass_createClass(Spin, [{
|
|
32413
32573
|
key: "componentDidMount",
|
|
32414
32574
|
value: function componentDidMount() {
|
|
32415
32575
|
this.updateSpinning();
|
|
@@ -32555,8 +32715,8 @@ var ImPush = /*#__PURE__*/function () {
|
|
|
32555
32715
|
push_createClass(ImPush, [{
|
|
32556
32716
|
key: "init",
|
|
32557
32717
|
value: function () {
|
|
32558
|
-
var _init = push_asyncToGenerator( /*#__PURE__*/
|
|
32559
|
-
return
|
|
32718
|
+
var _init = push_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee() {
|
|
32719
|
+
return runtime_regenerator_default().wrap(function _callee$(_context) {
|
|
32560
32720
|
while (1) {
|
|
32561
32721
|
switch (_context.prev = _context.next) {
|
|
32562
32722
|
case 0:
|
|
@@ -32762,14 +32922,14 @@ var videoCdnPrefix = '//gcdncs.101.com/v0.1/static/share/fish/videoplayer';
|
|
|
32762
32922
|
var defaultVideoUrl = getVideoUrl(videoCdnPrefix, video_version);
|
|
32763
32923
|
|
|
32764
32924
|
var Video = /*#__PURE__*/function (_React$Component) {
|
|
32765
|
-
|
|
32925
|
+
inherits_inherits(Video, _React$Component);
|
|
32766
32926
|
|
|
32767
|
-
var _super =
|
|
32927
|
+
var _super = createSuper_createSuper(Video);
|
|
32768
32928
|
|
|
32769
32929
|
function Video() {
|
|
32770
32930
|
var _this;
|
|
32771
32931
|
|
|
32772
|
-
|
|
32932
|
+
classCallCheck_classCallCheck(this, Video);
|
|
32773
32933
|
|
|
32774
32934
|
_this = _super.apply(this, arguments);
|
|
32775
32935
|
_this.videoUrl = {}; // eslint-disable-next-line class-methods-use-this
|
|
@@ -32782,12 +32942,12 @@ var Video = /*#__PURE__*/function (_React$Component) {
|
|
|
32782
32942
|
csOriginUrl = getVideoUrl(cdnPrefix, video_version);
|
|
32783
32943
|
}
|
|
32784
32944
|
|
|
32785
|
-
return
|
|
32945
|
+
return esm_extends_extends(esm_extends_extends({}, csOriginUrl), Video.url);
|
|
32786
32946
|
};
|
|
32787
32947
|
|
|
32788
32948
|
_this.loadVideoPlayer = function () {
|
|
32789
|
-
return __awaiter(
|
|
32790
|
-
return
|
|
32949
|
+
return __awaiter(assertThisInitialized_assertThisInitialized(_this), void 0, void 0, /*#__PURE__*/runtime_regenerator_default().mark(function _callee() {
|
|
32950
|
+
return runtime_regenerator_default().wrap(function _callee$(_context) {
|
|
32791
32951
|
while (1) {
|
|
32792
32952
|
switch (_context.prev = _context.next) {
|
|
32793
32953
|
case 0:
|
|
@@ -32837,7 +32997,7 @@ var Video = /*#__PURE__*/function (_React$Component) {
|
|
|
32837
32997
|
return _this;
|
|
32838
32998
|
}
|
|
32839
32999
|
|
|
32840
|
-
|
|
33000
|
+
createClass_createClass(Video, [{
|
|
32841
33001
|
key: "componentDidMount",
|
|
32842
33002
|
value: function componentDidMount() {
|
|
32843
33003
|
var _this2 = this;
|
|
@@ -33115,9 +33275,6 @@ var index_module_update = injectStylesIntoStyleTag_default()(index_module/* defa
|
|
|
33115
33275
|
|
|
33116
33276
|
/* harmony default export */ var LiveCountDown_index_module = (index_module/* default */.Z && index_module/* default.locals */.Z.locals ? index_module/* default.locals */.Z.locals : undefined);
|
|
33117
33277
|
|
|
33118
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
|
|
33119
|
-
var runtime_regenerator = __webpack_require__(5273);
|
|
33120
|
-
var runtime_regenerator_default = /*#__PURE__*/__webpack_require__.n(runtime_regenerator);
|
|
33121
33278
|
;// CONCATENATED MODULE: ./src/hook/useIsMounted.js
|
|
33122
33279
|
|
|
33123
33280
|
|
|
@@ -33377,8 +33534,8 @@ function usePullSource_isSourceReady(_x) {
|
|
|
33377
33534
|
}
|
|
33378
33535
|
|
|
33379
33536
|
function hook_usePullSource_isSourceReady() {
|
|
33380
|
-
hook_usePullSource_isSourceReady = usePullSource_asyncToGenerator( /*#__PURE__*/
|
|
33381
|
-
return
|
|
33537
|
+
hook_usePullSource_isSourceReady = usePullSource_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee(url) {
|
|
33538
|
+
return runtime_regenerator_default().wrap(function _callee$(_context) {
|
|
33382
33539
|
while (1) {
|
|
33383
33540
|
switch (_context.prev = _context.next) {
|
|
33384
33541
|
case 0:
|
|
@@ -33885,8 +34042,8 @@ function AliPlayer(_ref) {
|
|
|
33885
34042
|
var aliPlayer;
|
|
33886
34043
|
|
|
33887
34044
|
var init = /*#__PURE__*/function () {
|
|
33888
|
-
var _ref2 = AliPlayer_asyncToGenerator( /*#__PURE__*/
|
|
33889
|
-
return
|
|
34045
|
+
var _ref2 = AliPlayer_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee() {
|
|
34046
|
+
return runtime_regenerator_default().wrap(function _callee$(_context) {
|
|
33890
34047
|
while (1) {
|
|
33891
34048
|
switch (_context.prev = _context.next) {
|
|
33892
34049
|
case 0:
|
|
@@ -34011,39 +34168,6 @@ var button_style_update = injectStylesIntoStyleTag_default()(button_style/* defa
|
|
|
34011
34168
|
// style dependencies
|
|
34012
34169
|
|
|
34013
34170
|
|
|
34014
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
34015
|
-
function defineProperty_defineProperty(obj, key, value) {
|
|
34016
|
-
if (key in obj) {
|
|
34017
|
-
Object.defineProperty(obj, key, {
|
|
34018
|
-
value: value,
|
|
34019
|
-
enumerable: true,
|
|
34020
|
-
configurable: true,
|
|
34021
|
-
writable: true
|
|
34022
|
-
});
|
|
34023
|
-
} else {
|
|
34024
|
-
obj[key] = value;
|
|
34025
|
-
}
|
|
34026
|
-
|
|
34027
|
-
return obj;
|
|
34028
|
-
}
|
|
34029
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
|
|
34030
|
-
function esm_extends_extends() {
|
|
34031
|
-
esm_extends_extends = Object.assign || function (target) {
|
|
34032
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
34033
|
-
var source = arguments[i];
|
|
34034
|
-
|
|
34035
|
-
for (var key in source) {
|
|
34036
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
34037
|
-
target[key] = source[key];
|
|
34038
|
-
}
|
|
34039
|
-
}
|
|
34040
|
-
}
|
|
34041
|
-
|
|
34042
|
-
return target;
|
|
34043
|
-
};
|
|
34044
|
-
|
|
34045
|
-
return esm_extends_extends.apply(this, arguments);
|
|
34046
|
-
}
|
|
34047
34171
|
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
|
34048
34172
|
function arrayWithHoles_arrayWithHoles(arr) {
|
|
34049
34173
|
if (Array.isArray(arr)) return arr;
|
|
@@ -34110,129 +34234,6 @@ function nonIterableRest_nonIterableRest() {
|
|
|
34110
34234
|
function slicedToArray_slicedToArray(arr, i) {
|
|
34111
34235
|
return arrayWithHoles_arrayWithHoles(arr) || iterableToArrayLimit_iterableToArrayLimit(arr, i) || unsupportedIterableToArray_unsupportedIterableToArray(arr, i) || nonIterableRest_nonIterableRest();
|
|
34112
34236
|
}
|
|
34113
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
|
34114
|
-
function classCallCheck_classCallCheck(instance, Constructor) {
|
|
34115
|
-
if (!(instance instanceof Constructor)) {
|
|
34116
|
-
throw new TypeError("Cannot call a class as a function");
|
|
34117
|
-
}
|
|
34118
|
-
}
|
|
34119
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
|
|
34120
|
-
function createClass_defineProperties(target, props) {
|
|
34121
|
-
for (var i = 0; i < props.length; i++) {
|
|
34122
|
-
var descriptor = props[i];
|
|
34123
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
34124
|
-
descriptor.configurable = true;
|
|
34125
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
34126
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
34127
|
-
}
|
|
34128
|
-
}
|
|
34129
|
-
|
|
34130
|
-
function createClass_createClass(Constructor, protoProps, staticProps) {
|
|
34131
|
-
if (protoProps) createClass_defineProperties(Constructor.prototype, protoProps);
|
|
34132
|
-
if (staticProps) createClass_defineProperties(Constructor, staticProps);
|
|
34133
|
-
return Constructor;
|
|
34134
|
-
}
|
|
34135
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
|
|
34136
|
-
function setPrototypeOf_setPrototypeOf(o, p) {
|
|
34137
|
-
setPrototypeOf_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
34138
|
-
o.__proto__ = p;
|
|
34139
|
-
return o;
|
|
34140
|
-
};
|
|
34141
|
-
|
|
34142
|
-
return setPrototypeOf_setPrototypeOf(o, p);
|
|
34143
|
-
}
|
|
34144
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js
|
|
34145
|
-
|
|
34146
|
-
function inherits_inherits(subClass, superClass) {
|
|
34147
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
34148
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
34149
|
-
}
|
|
34150
|
-
|
|
34151
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
34152
|
-
constructor: {
|
|
34153
|
-
value: subClass,
|
|
34154
|
-
writable: true,
|
|
34155
|
-
configurable: true
|
|
34156
|
-
}
|
|
34157
|
-
});
|
|
34158
|
-
if (superClass) setPrototypeOf_setPrototypeOf(subClass, superClass);
|
|
34159
|
-
}
|
|
34160
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
|
|
34161
|
-
function getPrototypeOf_getPrototypeOf(o) {
|
|
34162
|
-
getPrototypeOf_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
34163
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
34164
|
-
};
|
|
34165
|
-
return getPrototypeOf_getPrototypeOf(o);
|
|
34166
|
-
}
|
|
34167
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
|
|
34168
|
-
function isNativeReflectConstruct_isNativeReflectConstruct() {
|
|
34169
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
34170
|
-
if (Reflect.construct.sham) return false;
|
|
34171
|
-
if (typeof Proxy === "function") return true;
|
|
34172
|
-
|
|
34173
|
-
try {
|
|
34174
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
34175
|
-
return true;
|
|
34176
|
-
} catch (e) {
|
|
34177
|
-
return false;
|
|
34178
|
-
}
|
|
34179
|
-
}
|
|
34180
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
34181
|
-
function esm_typeof_typeof(obj) {
|
|
34182
|
-
"@babel/helpers - typeof";
|
|
34183
|
-
|
|
34184
|
-
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
34185
|
-
esm_typeof_typeof = function _typeof(obj) {
|
|
34186
|
-
return typeof obj;
|
|
34187
|
-
};
|
|
34188
|
-
} else {
|
|
34189
|
-
esm_typeof_typeof = function _typeof(obj) {
|
|
34190
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
34191
|
-
};
|
|
34192
|
-
}
|
|
34193
|
-
|
|
34194
|
-
return esm_typeof_typeof(obj);
|
|
34195
|
-
}
|
|
34196
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
|
34197
|
-
function assertThisInitialized_assertThisInitialized(self) {
|
|
34198
|
-
if (self === void 0) {
|
|
34199
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
34200
|
-
}
|
|
34201
|
-
|
|
34202
|
-
return self;
|
|
34203
|
-
}
|
|
34204
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
|
|
34205
|
-
|
|
34206
|
-
|
|
34207
|
-
function possibleConstructorReturn_possibleConstructorReturn(self, call) {
|
|
34208
|
-
if (call && (esm_typeof_typeof(call) === "object" || typeof call === "function")) {
|
|
34209
|
-
return call;
|
|
34210
|
-
} else if (call !== void 0) {
|
|
34211
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
34212
|
-
}
|
|
34213
|
-
|
|
34214
|
-
return assertThisInitialized_assertThisInitialized(self);
|
|
34215
|
-
}
|
|
34216
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js
|
|
34217
|
-
|
|
34218
|
-
|
|
34219
|
-
|
|
34220
|
-
function createSuper_createSuper(Derived) {
|
|
34221
|
-
var hasNativeReflectConstruct = isNativeReflectConstruct_isNativeReflectConstruct();
|
|
34222
|
-
return function _createSuperInternal() {
|
|
34223
|
-
var Super = getPrototypeOf_getPrototypeOf(Derived),
|
|
34224
|
-
result;
|
|
34225
|
-
|
|
34226
|
-
if (hasNativeReflectConstruct) {
|
|
34227
|
-
var NewTarget = getPrototypeOf_getPrototypeOf(this).constructor;
|
|
34228
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
34229
|
-
} else {
|
|
34230
|
-
result = Super.apply(this, arguments);
|
|
34231
|
-
}
|
|
34232
|
-
|
|
34233
|
-
return possibleConstructorReturn_possibleConstructorReturn(this, result);
|
|
34234
|
-
};
|
|
34235
|
-
}
|
|
34236
34237
|
;// CONCATENATED MODULE: ./node_modules/rc-util/es/raf.js
|
|
34237
34238
|
var raf = function raf(callback) {
|
|
34238
34239
|
return +setTimeout(callback, 16);
|
|
@@ -53886,7 +53887,7 @@ var InternalSelect = function InternalSelect(_a, ref) {
|
|
|
53886
53887
|
} // ===================== Icons =====================
|
|
53887
53888
|
|
|
53888
53889
|
|
|
53889
|
-
var _getIcons = getIcons(
|
|
53890
|
+
var _getIcons = getIcons(esm_extends_extends(esm_extends_extends({}, props), {
|
|
53890
53891
|
multiple: isMultiple,
|
|
53891
53892
|
prefixCls: prefixCls
|
|
53892
53893
|
})),
|
|
@@ -53896,10 +53897,10 @@ var InternalSelect = function InternalSelect(_a, ref) {
|
|
|
53896
53897
|
clearIcon = _getIcons.clearIcon;
|
|
53897
53898
|
|
|
53898
53899
|
var selectProps = omit(props, ['suffixIcon', 'itemIcon']);
|
|
53899
|
-
var rcSelectRtlDropDownClassName = classnames_default()(dropdownClassName,
|
|
53900
|
+
var rcSelectRtlDropDownClassName = classnames_default()(dropdownClassName, defineProperty_defineProperty({}, "".concat(prefixCls, "-dropdown-").concat(direction), direction === 'rtl'));
|
|
53900
53901
|
var mergedSize = customizeSize || size;
|
|
53901
|
-
var mergedClassName = classnames_default()((_classNames2 = {},
|
|
53902
|
-
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_select_es,
|
|
53902
|
+
var mergedClassName = classnames_default()((_classNames2 = {}, defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-lg"), mergedSize === 'large'), defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-sm"), mergedSize === 'small'), defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-rtl"), direction === 'rtl'), defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-borderless"), !bordered), _classNames2), className);
|
|
53903
|
+
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_select_es, esm_extends_extends({
|
|
53903
53904
|
ref: ref,
|
|
53904
53905
|
virtual: virtual,
|
|
53905
53906
|
dropdownMatchSelectWidth: dropdownMatchSelectWidth
|
|
@@ -55191,9 +55192,9 @@ function LiveOnlineCount(_ref) {
|
|
|
55191
55192
|
};
|
|
55192
55193
|
|
|
55193
55194
|
(0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useEffect)(function () {
|
|
55194
|
-
LiveOnlineCount_asyncToGenerator( /*#__PURE__*/
|
|
55195
|
+
LiveOnlineCount_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee() {
|
|
55195
55196
|
var count, likesData, currentCount;
|
|
55196
|
-
return
|
|
55197
|
+
return runtime_regenerator_default().wrap(function _callee$(_context) {
|
|
55197
55198
|
while (1) {
|
|
55198
55199
|
switch (_context.prev = _context.next) {
|
|
55199
55200
|
case 0:
|
|
@@ -55460,7 +55461,7 @@ function PublicLiveDetail(_ref) {
|
|
|
55460
55461
|
userRole = loginInfo.userRole,
|
|
55461
55462
|
loginStatus = loginInfo.loginStatus;
|
|
55462
55463
|
var isLiveToReplay = !replay;
|
|
55463
|
-
var isStreamLive = liveInfo && liveInfo.type === PUBLIC_LIVE_MODE.LIVING && (liveInfo.sub_type ===
|
|
55464
|
+
var isStreamLive = liveInfo && liveInfo.type === PUBLIC_LIVE_MODE.LIVING && (liveInfo.sub_type === SUB_TYPE.OUTSIDE || liveInfo.sub_type === SUB_TYPE.REBROADCAST);
|
|
55464
55465
|
|
|
55465
55466
|
var handleStatusChange = /*#__PURE__*/function () {
|
|
55466
55467
|
var _ref2 = detail_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee(status) {
|
|
@@ -55485,7 +55486,7 @@ function PublicLiveDetail(_ref) {
|
|
|
55485
55486
|
subType = liveInfo.sub_type, bid = liveInfo.bid, roomId = liveInfo.room_id;
|
|
55486
55487
|
imLiveInfoResp = {}; // 如果类型为外部推流, 则去请求新的直播详情接口
|
|
55487
55488
|
|
|
55488
|
-
if (!(subType ===
|
|
55489
|
+
if (!(subType === SUB_TYPE.OUTSIDE || subType === SUB_TYPE.REBROADCAST)) {
|
|
55489
55490
|
_context.next = 14;
|
|
55490
55491
|
break;
|
|
55491
55492
|
}
|
|
@@ -55606,7 +55607,7 @@ function PublicLiveDetail(_ref) {
|
|
|
55606
55607
|
subType = data.sub_type, bid = data.bid, roomId = data.room_id;
|
|
55607
55608
|
imLiveInfoResp = {}; // 如果类型为外部推流, 则去请求新的直播详情接口
|
|
55608
55609
|
|
|
55609
|
-
if (!(subType ===
|
|
55610
|
+
if (!(subType === SUB_TYPE.OUTSIDE || subType === SUB_TYPE.REBROADCAST)) {
|
|
55610
55611
|
_context2.next = 26;
|
|
55611
55612
|
break;
|
|
55612
55613
|
}
|
|
@@ -55643,7 +55644,7 @@ function PublicLiveDetail(_ref) {
|
|
|
55643
55644
|
data.imInfo = imLiveInfoResp;
|
|
55644
55645
|
|
|
55645
55646
|
case 31:
|
|
55646
|
-
if (!(data.type === PUBLIC_LIVE_MODE.LIVING && data.sub_type ===
|
|
55647
|
+
if (!(data.type === PUBLIC_LIVE_MODE.LIVING && data.sub_type === SUB_TYPE.OUTSIDE)) {
|
|
55647
55648
|
_context2.next = 34;
|
|
55648
55649
|
break;
|
|
55649
55650
|
}
|
|
@@ -55680,7 +55681,7 @@ function PublicLiveDetail(_ref) {
|
|
|
55680
55681
|
init();
|
|
55681
55682
|
}, []);
|
|
55682
55683
|
(0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useEffect)(function () {
|
|
55683
|
-
if (!liveInfo || liveInfo.sub_type ===
|
|
55684
|
+
if (!liveInfo || liveInfo.sub_type === SUB_TYPE.OUTSIDE) {
|
|
55684
55685
|
return;
|
|
55685
55686
|
}
|
|
55686
55687
|
|
|
@@ -55697,7 +55698,7 @@ function PublicLiveDetail(_ref) {
|
|
|
55697
55698
|
|
|
55698
55699
|
push.addTopicListener("".concat(PUBLIC_LIVE_PUSH_TOPIC, "_").concat(liveId), handler);
|
|
55699
55700
|
return function () {
|
|
55700
|
-
if (!liveInfo || liveInfo.sub_type ===
|
|
55701
|
+
if (!liveInfo || liveInfo.sub_type === SUB_TYPE.OUTSIDE) {
|
|
55701
55702
|
return;
|
|
55702
55703
|
}
|
|
55703
55704
|
|
|
@@ -59765,11 +59766,11 @@ function tabs_Tabs(_a) {
|
|
|
59765
59766
|
var _classNames;
|
|
59766
59767
|
|
|
59767
59768
|
var size = propSize !== undefined ? propSize : contextSize;
|
|
59768
|
-
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_tabs_es,
|
|
59769
|
+
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_tabs_es, esm_extends_extends({
|
|
59769
59770
|
direction: direction,
|
|
59770
59771
|
moreTransitionName: "".concat(rootPrefixCls, "-slide-up")
|
|
59771
59772
|
}, props, {
|
|
59772
|
-
className: classnames_default()((_classNames = {},
|
|
59773
|
+
className: classnames_default()((_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-").concat(size), size), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-card"), ['card', 'editable-card'].includes(type)), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-editable-card"), type === 'editable-card'), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-centered"), centered), _classNames), className),
|
|
59773
59774
|
editable: editable,
|
|
59774
59775
|
moreIcon: moreIcon,
|
|
59775
59776
|
prefixCls: prefixCls
|
|
@@ -61385,7 +61386,7 @@ function Action(_ref) {
|
|
|
61385
61386
|
var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(function () {
|
|
61386
61387
|
var actionNum;
|
|
61387
61388
|
|
|
61388
|
-
if (status === 1) {
|
|
61389
|
+
if (status === 1 || status === 3) {
|
|
61389
61390
|
actionNum = 1;
|
|
61390
61391
|
} else if (status === 2) {
|
|
61391
61392
|
actionNum = 2;
|
|
@@ -61612,7 +61613,9 @@ function ListItem_asyncToGenerator(fn) { return function () { var self = this, a
|
|
|
61612
61613
|
var TagName = {
|
|
61613
61614
|
0: '预告',
|
|
61614
61615
|
1: '直播中',
|
|
61615
|
-
2: '回放'
|
|
61616
|
+
2: '回放',
|
|
61617
|
+
3: '直播中' // 实际是暂停
|
|
61618
|
+
|
|
61616
61619
|
};
|
|
61617
61620
|
function ListItem(_ref) {
|
|
61618
61621
|
var data = _ref.data,
|
|
@@ -61629,8 +61632,8 @@ function ListItem(_ref) {
|
|
|
61629
61632
|
status = data.status;
|
|
61630
61633
|
|
|
61631
61634
|
var handleDetailClick = /*#__PURE__*/function () {
|
|
61632
|
-
var _ref2 = ListItem_asyncToGenerator( /*#__PURE__*/
|
|
61633
|
-
return
|
|
61635
|
+
var _ref2 = ListItem_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee() {
|
|
61636
|
+
return runtime_regenerator_default().wrap(function _callee$(_context) {
|
|
61634
61637
|
while (1) {
|
|
61635
61638
|
switch (_context.prev = _context.next) {
|
|
61636
61639
|
case 0:
|
|
@@ -61674,7 +61677,7 @@ function ListItem(_ref) {
|
|
|
61674
61677
|
className: list_ListItem_index_module.avatar
|
|
61675
61678
|
}), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
|
|
61676
61679
|
className: classnames_default()(list_ListItem_index_module.tag, list_ListItem_index_module["tag".concat(status)])
|
|
61677
|
-
}, status === 1 ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("img", {
|
|
61680
|
+
}, status === 1 || status === 3 ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("img", {
|
|
61678
61681
|
src: play,
|
|
61679
61682
|
alt: ""
|
|
61680
61683
|
}) : null, TagName[status])), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
|
|
@@ -61767,7 +61770,7 @@ var StatusEnum = [{
|
|
|
61767
61770
|
value: 'all'
|
|
61768
61771
|
}, {
|
|
61769
61772
|
label: '直播中',
|
|
61770
|
-
value: 1
|
|
61773
|
+
value: '1,3'
|
|
61771
61774
|
}, {
|
|
61772
61775
|
label: '预告',
|
|
61773
61776
|
value: 0
|