@x-edu/live-player 0.0.20 → 0.0.21
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 +428 -432
- package/dist/XEduLivePlayerPre.common.js +196 -196
- package/package.json +1 -1
- package/src/list/ListItem/index.module.less +2 -2
|
@@ -1,6 +1,88 @@
|
|
|
1
1
|
/******/ (function() { // webpackBootstrap
|
|
2
2
|
/******/ var __webpack_modules__ = ({
|
|
3
3
|
|
|
4
|
+
/***/ 8926:
|
|
5
|
+
/***/ (function(module) {
|
|
6
|
+
|
|
7
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
8
|
+
try {
|
|
9
|
+
var info = gen[key](arg);
|
|
10
|
+
var value = info.value;
|
|
11
|
+
} catch (error) {
|
|
12
|
+
reject(error);
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
if (info.done) {
|
|
17
|
+
resolve(value);
|
|
18
|
+
} else {
|
|
19
|
+
Promise.resolve(value).then(_next, _throw);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
function _asyncToGenerator(fn) {
|
|
24
|
+
return function () {
|
|
25
|
+
var self = this,
|
|
26
|
+
args = arguments;
|
|
27
|
+
return new Promise(function (resolve, reject) {
|
|
28
|
+
var gen = fn.apply(self, args);
|
|
29
|
+
|
|
30
|
+
function _next(value) {
|
|
31
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
function _throw(err) {
|
|
35
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
_next(undefined);
|
|
39
|
+
});
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
module.exports = _asyncToGenerator;
|
|
44
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
45
|
+
|
|
46
|
+
/***/ }),
|
|
47
|
+
|
|
48
|
+
/***/ 4575:
|
|
49
|
+
/***/ (function(module) {
|
|
50
|
+
|
|
51
|
+
function _classCallCheck(instance, Constructor) {
|
|
52
|
+
if (!(instance instanceof Constructor)) {
|
|
53
|
+
throw new TypeError("Cannot call a class as a function");
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
module.exports = _classCallCheck;
|
|
58
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
59
|
+
|
|
60
|
+
/***/ }),
|
|
61
|
+
|
|
62
|
+
/***/ 3913:
|
|
63
|
+
/***/ (function(module) {
|
|
64
|
+
|
|
65
|
+
function _defineProperties(target, props) {
|
|
66
|
+
for (var i = 0; i < props.length; i++) {
|
|
67
|
+
var descriptor = props[i];
|
|
68
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
69
|
+
descriptor.configurable = true;
|
|
70
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
71
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
function _createClass(Constructor, protoProps, staticProps) {
|
|
76
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
77
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
78
|
+
return Constructor;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
module.exports = _createClass;
|
|
82
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
83
|
+
|
|
84
|
+
/***/ }),
|
|
85
|
+
|
|
4
86
|
/***/ 7757:
|
|
5
87
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6
88
|
|
|
@@ -12616,7 +12698,7 @@ ___CSS_LOADER_EXPORT___.locals = {
|
|
|
12616
12698
|
|
|
12617
12699
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
|
|
12618
12700
|
// Module
|
|
12619
|
-
___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_container_2HydZ .index-module_right-bottom_ZCIxf .index-module_like_sty_Z780C{color:#ccc;display:flex;align-items:center;margin-left:40px}.index-module_container_2HydZ .index-module_right-bottom_ZCIxf .index-module_like_sty_Z780C .index-module_icon_bottom_jcWZ1{margin-right:30px;font-family:PingFang SC;font-size:12px;font-weight:400;letter-spacing:0;text-align:left;display:flex;align-items:center}.index-module_container_2HydZ .index-module_right-bottom_ZCIxf .index-module_like_sty_Z780C .index-module_icon_bottom_jcWZ1 img{width:
|
|
12701
|
+
___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_container_2HydZ .index-module_right-bottom_ZCIxf .index-module_like_sty_Z780C{color:#ccc;display:flex;align-items:center;margin-left:40px}.index-module_container_2HydZ .index-module_right-bottom_ZCIxf .index-module_like_sty_Z780C .index-module_icon_bottom_jcWZ1{margin-right:30px;font-family:PingFang SC;font-size:12px;font-weight:400;letter-spacing:0;text-align:left;display:flex;align-items:center}.index-module_container_2HydZ .index-module_right-bottom_ZCIxf .index-module_like_sty_Z780C .index-module_icon_bottom_jcWZ1 img{width:14px;height:14px;margin-right:5px;color:#ccc}.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}", ""]);
|
|
12620
12702
|
// Exports
|
|
12621
12703
|
___CSS_LOADER_EXPORT___.locals = {
|
|
12622
12704
|
"container": "index-module_container_2HydZ",
|
|
@@ -35811,92 +35893,6 @@ module.exports = styleTagTransform;
|
|
|
35811
35893
|
|
|
35812
35894
|
/***/ }),
|
|
35813
35895
|
|
|
35814
|
-
/***/ 6094:
|
|
35815
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
35816
|
-
|
|
35817
|
-
__webpack_require__(1539);
|
|
35818
|
-
|
|
35819
|
-
__webpack_require__(8674);
|
|
35820
|
-
|
|
35821
|
-
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
35822
|
-
try {
|
|
35823
|
-
var info = gen[key](arg);
|
|
35824
|
-
var value = info.value;
|
|
35825
|
-
} catch (error) {
|
|
35826
|
-
reject(error);
|
|
35827
|
-
return;
|
|
35828
|
-
}
|
|
35829
|
-
|
|
35830
|
-
if (info.done) {
|
|
35831
|
-
resolve(value);
|
|
35832
|
-
} else {
|
|
35833
|
-
Promise.resolve(value).then(_next, _throw);
|
|
35834
|
-
}
|
|
35835
|
-
}
|
|
35836
|
-
|
|
35837
|
-
function _asyncToGenerator(fn) {
|
|
35838
|
-
return function () {
|
|
35839
|
-
var self = this,
|
|
35840
|
-
args = arguments;
|
|
35841
|
-
return new Promise(function (resolve, reject) {
|
|
35842
|
-
var gen = fn.apply(self, args);
|
|
35843
|
-
|
|
35844
|
-
function _next(value) {
|
|
35845
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
35846
|
-
}
|
|
35847
|
-
|
|
35848
|
-
function _throw(err) {
|
|
35849
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
35850
|
-
}
|
|
35851
|
-
|
|
35852
|
-
_next(undefined);
|
|
35853
|
-
});
|
|
35854
|
-
};
|
|
35855
|
-
}
|
|
35856
|
-
|
|
35857
|
-
module.exports = _asyncToGenerator;
|
|
35858
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
35859
|
-
|
|
35860
|
-
/***/ }),
|
|
35861
|
-
|
|
35862
|
-
/***/ 3021:
|
|
35863
|
-
/***/ (function(module) {
|
|
35864
|
-
|
|
35865
|
-
function _classCallCheck(instance, Constructor) {
|
|
35866
|
-
if (!(instance instanceof Constructor)) {
|
|
35867
|
-
throw new TypeError("Cannot call a class as a function");
|
|
35868
|
-
}
|
|
35869
|
-
}
|
|
35870
|
-
|
|
35871
|
-
module.exports = _classCallCheck;
|
|
35872
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
35873
|
-
|
|
35874
|
-
/***/ }),
|
|
35875
|
-
|
|
35876
|
-
/***/ 4966:
|
|
35877
|
-
/***/ (function(module) {
|
|
35878
|
-
|
|
35879
|
-
function _defineProperties(target, props) {
|
|
35880
|
-
for (var i = 0; i < props.length; i++) {
|
|
35881
|
-
var descriptor = props[i];
|
|
35882
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
35883
|
-
descriptor.configurable = true;
|
|
35884
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
35885
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
35886
|
-
}
|
|
35887
|
-
}
|
|
35888
|
-
|
|
35889
|
-
function _createClass(Constructor, protoProps, staticProps) {
|
|
35890
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
35891
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
35892
|
-
return Constructor;
|
|
35893
|
-
}
|
|
35894
|
-
|
|
35895
|
-
module.exports = _createClass;
|
|
35896
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
35897
|
-
|
|
35898
|
-
/***/ }),
|
|
35899
|
-
|
|
35900
35896
|
/***/ 5273:
|
|
35901
35897
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
35902
35898
|
|
|
@@ -35907,11 +35903,11 @@ module.exports = __webpack_require__(5666);
|
|
|
35907
35903
|
/***/ 3006:
|
|
35908
35904
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
35909
35905
|
|
|
35910
|
-
var _asyncToGenerator = __webpack_require__(
|
|
35906
|
+
var _asyncToGenerator = __webpack_require__(8926);
|
|
35911
35907
|
|
|
35912
|
-
var _classCallCheck = __webpack_require__(
|
|
35908
|
+
var _classCallCheck = __webpack_require__(4575);
|
|
35913
35909
|
|
|
35914
|
-
var _createClass = __webpack_require__(
|
|
35910
|
+
var _createClass = __webpack_require__(3913);
|
|
35915
35911
|
|
|
35916
35912
|
__webpack_require__(5666);
|
|
35917
35913
|
|
|
@@ -40322,101 +40318,10 @@ var es_array_includes = __webpack_require__(6699);
|
|
|
40322
40318
|
var es_string_includes = __webpack_require__(2023);
|
|
40323
40319
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
|
|
40324
40320
|
var es_object_assign = __webpack_require__(9601);
|
|
40325
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
40326
|
-
function _defineProperty(obj, key, value) {
|
|
40327
|
-
if (key in obj) {
|
|
40328
|
-
Object.defineProperty(obj, key, {
|
|
40329
|
-
value: value,
|
|
40330
|
-
enumerable: true,
|
|
40331
|
-
configurable: true,
|
|
40332
|
-
writable: true
|
|
40333
|
-
});
|
|
40334
|
-
} else {
|
|
40335
|
-
obj[key] = value;
|
|
40336
|
-
}
|
|
40337
|
-
|
|
40338
|
-
return obj;
|
|
40339
|
-
}
|
|
40340
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
|
40341
|
-
|
|
40342
|
-
function objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(source, excluded) {
|
|
40343
|
-
if (source == null) return {};
|
|
40344
|
-
var target = {};
|
|
40345
|
-
var sourceKeys = Object.keys(source);
|
|
40346
|
-
var key, i;
|
|
40347
|
-
|
|
40348
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
40349
|
-
key = sourceKeys[i];
|
|
40350
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
40351
|
-
target[key] = source[key];
|
|
40352
|
-
}
|
|
40353
|
-
|
|
40354
|
-
return target;
|
|
40355
|
-
}
|
|
40356
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
|
40357
|
-
|
|
40358
|
-
|
|
40359
|
-
function esm_objectWithoutProperties_objectWithoutProperties(source, excluded) {
|
|
40360
|
-
if (source == null) return {};
|
|
40361
|
-
var target = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(source, excluded);
|
|
40362
|
-
var key, i;
|
|
40363
|
-
|
|
40364
|
-
if (Object.getOwnPropertySymbols) {
|
|
40365
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
40366
|
-
|
|
40367
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
40368
|
-
key = sourceSymbolKeys[i];
|
|
40369
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
40370
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
40371
|
-
target[key] = source[key];
|
|
40372
|
-
}
|
|
40373
|
-
}
|
|
40374
|
-
|
|
40375
|
-
return target;
|
|
40376
|
-
}
|
|
40377
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
40378
|
-
var es_promise = __webpack_require__(8674);
|
|
40379
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
40380
|
-
|
|
40381
|
-
|
|
40382
|
-
|
|
40383
|
-
function asyncToGenerator_asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
40384
|
-
try {
|
|
40385
|
-
var info = gen[key](arg);
|
|
40386
|
-
var value = info.value;
|
|
40387
|
-
} catch (error) {
|
|
40388
|
-
reject(error);
|
|
40389
|
-
return;
|
|
40390
|
-
}
|
|
40391
|
-
|
|
40392
|
-
if (info.done) {
|
|
40393
|
-
resolve(value);
|
|
40394
|
-
} else {
|
|
40395
|
-
Promise.resolve(value).then(_next, _throw);
|
|
40396
|
-
}
|
|
40397
|
-
}
|
|
40398
|
-
|
|
40399
|
-
function esm_asyncToGenerator_asyncToGenerator(fn) {
|
|
40400
|
-
return function () {
|
|
40401
|
-
var self = this,
|
|
40402
|
-
args = arguments;
|
|
40403
|
-
return new Promise(function (resolve, reject) {
|
|
40404
|
-
var gen = fn.apply(self, args);
|
|
40405
|
-
|
|
40406
|
-
function _next(value) {
|
|
40407
|
-
asyncToGenerator_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
40408
|
-
}
|
|
40409
|
-
|
|
40410
|
-
function _throw(err) {
|
|
40411
|
-
asyncToGenerator_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
40412
|
-
}
|
|
40413
|
-
|
|
40414
|
-
_next(undefined);
|
|
40415
|
-
});
|
|
40416
|
-
};
|
|
40417
|
-
}
|
|
40418
40321
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
|
40419
40322
|
var es_array_map = __webpack_require__(1249);
|
|
40323
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
40324
|
+
var es_promise = __webpack_require__(8674);
|
|
40420
40325
|
// EXTERNAL MODULE: ./node_modules/axios/index.js
|
|
40421
40326
|
var axios = __webpack_require__(9669);
|
|
40422
40327
|
var axios_default = /*#__PURE__*/__webpack_require__.n(axios);
|
|
@@ -41233,7 +41138,7 @@ function getServiceConfig(_x) {
|
|
|
41233
41138
|
}
|
|
41234
41139
|
|
|
41235
41140
|
function _getServiceConfig() {
|
|
41236
|
-
_getServiceConfig =
|
|
41141
|
+
_getServiceConfig = asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(serviceName) {
|
|
41237
41142
|
var sdpAppId,
|
|
41238
41143
|
env,
|
|
41239
41144
|
key,
|
|
@@ -41505,7 +41410,7 @@ function withOnce(fn) {
|
|
|
41505
41410
|
var lockPool = createLockPool();
|
|
41506
41411
|
|
|
41507
41412
|
var newFn = /*#__PURE__*/function () {
|
|
41508
|
-
var _ref3 =
|
|
41413
|
+
var _ref3 = asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
|
41509
41414
|
var key,
|
|
41510
41415
|
lock,
|
|
41511
41416
|
lockId,
|
|
@@ -41674,7 +41579,7 @@ var live_excluded = (/* unused pure expression or super */ null && (["liveDateSt
|
|
|
41674
41579
|
|
|
41675
41580
|
function live_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
41676
41581
|
|
|
41677
|
-
function live_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { live_ownKeys(Object(source), true).forEach(function (key) {
|
|
41582
|
+
function live_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { live_ownKeys(Object(source), true).forEach(function (key) { (0,defineProperty/* default */.Z)(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { live_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
41678
41583
|
|
|
41679
41584
|
|
|
41680
41585
|
|
|
@@ -42023,7 +41928,7 @@ function _getLiveAPICache() {
|
|
|
42023
41928
|
}
|
|
42024
41929
|
|
|
42025
41930
|
function _getLiveAPICache2() {
|
|
42026
|
-
_getLiveAPICache2 =
|
|
41931
|
+
_getLiveAPICache2 = asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee11() {
|
|
42027
41932
|
var url, result, serverTime;
|
|
42028
41933
|
return regeneratorRuntime.wrap(function _callee11$(_context11) {
|
|
42029
41934
|
while (1) {
|
|
@@ -42065,7 +41970,7 @@ function getOpenClassWithCache(_x11) {
|
|
|
42065
41970
|
} // 公开直播详情变化部分,失败要降级处理
|
|
42066
41971
|
|
|
42067
41972
|
function _getOpenClassWithCache() {
|
|
42068
|
-
_getOpenClassWithCache =
|
|
41973
|
+
_getOpenClassWithCache = asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee12(url) {
|
|
42069
41974
|
var fullUrl, cacheInfo, cacheData, result, serverTime;
|
|
42070
41975
|
return regeneratorRuntime.wrap(function _callee12$(_context12) {
|
|
42071
41976
|
while (1) {
|
|
@@ -42139,7 +42044,7 @@ function getOpenClassLiveSimple(_x12) {
|
|
|
42139
42044
|
} // 公开直播详情拆分成两个接口
|
|
42140
42045
|
|
|
42141
42046
|
function _getOpenClassLiveSimple() {
|
|
42142
|
-
_getOpenClassLiveSimple =
|
|
42047
|
+
_getOpenClassLiveSimple = asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee13(liveInfo) {
|
|
42143
42048
|
var url, data;
|
|
42144
42049
|
return regeneratorRuntime.wrap(function _callee13$(_context13) {
|
|
42145
42050
|
while (1) {
|
|
@@ -42180,7 +42085,7 @@ function getOpenClassLiveBase(_x13) {
|
|
|
42180
42085
|
} // 公开实时直播-发起直播-公共直播邀请页使用,适配为班级直播数据
|
|
42181
42086
|
|
|
42182
42087
|
function _getOpenClassLiveBase() {
|
|
42183
|
-
_getOpenClassLiveBase =
|
|
42088
|
+
_getOpenClassLiveBase = asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee14(id) {
|
|
42184
42089
|
var url, data, subType, dynamicInfo;
|
|
42185
42090
|
return regeneratorRuntime.wrap(function _callee14$(_context14) {
|
|
42186
42091
|
while (1) {
|
|
@@ -42262,7 +42167,7 @@ function getOpenClassLive(_x15) {
|
|
|
42262
42167
|
}
|
|
42263
42168
|
|
|
42264
42169
|
function _getOpenClassLive() {
|
|
42265
|
-
_getOpenClassLive =
|
|
42170
|
+
_getOpenClassLive = asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee16(id) {
|
|
42266
42171
|
var serviceConfig, liveCloseLogin, data;
|
|
42267
42172
|
return regeneratorRuntime.wrap(function _callee16$(_context16) {
|
|
42268
42173
|
while (1) {
|
|
@@ -42377,7 +42282,7 @@ function OpenLiveSearchFront(_x18) {
|
|
|
42377
42282
|
*/
|
|
42378
42283
|
|
|
42379
42284
|
function _OpenLiveSearchFront() {
|
|
42380
|
-
_OpenLiveSearchFront =
|
|
42285
|
+
_OpenLiveSearchFront = asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee19(_ref2) {
|
|
42381
42286
|
var status, scopeType, scopeId, offset, limit, url, response;
|
|
42382
42287
|
return regeneratorRuntime.wrap(function _callee19$(_context19) {
|
|
42383
42288
|
while (1) {
|
|
@@ -42430,7 +42335,7 @@ function getSubscription() {
|
|
|
42430
42335
|
*/
|
|
42431
42336
|
|
|
42432
42337
|
function _getSubscription() {
|
|
42433
|
-
_getSubscription =
|
|
42338
|
+
_getSubscription = asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee20() {
|
|
42434
42339
|
var url, response;
|
|
42435
42340
|
return regeneratorRuntime.wrap(function _callee20$(_context20) {
|
|
42436
42341
|
while (1) {
|
|
@@ -42465,7 +42370,7 @@ function openLiveSubscribe(_x19) {
|
|
|
42465
42370
|
}
|
|
42466
42371
|
|
|
42467
42372
|
function _openLiveSubscribe() {
|
|
42468
|
-
_openLiveSubscribe =
|
|
42373
|
+
_openLiveSubscribe = asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee21(_ref3) {
|
|
42469
42374
|
var liveId, url, response;
|
|
42470
42375
|
return regeneratorRuntime.wrap(function _callee21$(_context21) {
|
|
42471
42376
|
while (1) {
|
|
@@ -42505,7 +42410,7 @@ var staticAPI = generateCommonAPI({
|
|
|
42505
42410
|
// 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
|
|
42506
42411
|
|
|
42507
42412
|
var getIMLiveInfo = /*#__PURE__*/function () {
|
|
42508
|
-
var _ref =
|
|
42413
|
+
var _ref = asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(roomId) {
|
|
42509
42414
|
var url, response;
|
|
42510
42415
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
42511
42416
|
while (1) {
|
|
@@ -42540,7 +42445,7 @@ var getIMLiveInfo = /*#__PURE__*/function () {
|
|
|
42540
42445
|
*/
|
|
42541
42446
|
|
|
42542
42447
|
var getGuestIMLiveInfoStatic = /*#__PURE__*/function () {
|
|
42543
|
-
var _ref2 =
|
|
42448
|
+
var _ref2 = asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(bId) {
|
|
42544
42449
|
var _yield$imBroadcastsSt, data;
|
|
42545
42450
|
|
|
42546
42451
|
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
@@ -42570,7 +42475,7 @@ var getGuestIMLiveInfoStatic = /*#__PURE__*/function () {
|
|
|
42570
42475
|
// 访客获取直播接口
|
|
42571
42476
|
|
|
42572
42477
|
var getGuestIMLiveInfo = /*#__PURE__*/function () {
|
|
42573
|
-
var _ref3 =
|
|
42478
|
+
var _ref3 = asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(bId) {
|
|
42574
42479
|
var _yield$imBroadcastsAP, data;
|
|
42575
42480
|
|
|
42576
42481
|
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
@@ -42641,166 +42546,6 @@ var spin_style_update = injectStylesIntoStyleTag_default()(spin_style/* default
|
|
|
42641
42546
|
;// CONCATENATED MODULE: ./node_modules/@sdp.nd/fish/es/spin/style/index.js
|
|
42642
42547
|
|
|
42643
42548
|
|
|
42644
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
|
|
42645
|
-
|
|
42646
|
-
function esm_extends_extends() {
|
|
42647
|
-
esm_extends_extends = Object.assign || function (target) {
|
|
42648
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
42649
|
-
var source = arguments[i];
|
|
42650
|
-
|
|
42651
|
-
for (var key in source) {
|
|
42652
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
42653
|
-
target[key] = source[key];
|
|
42654
|
-
}
|
|
42655
|
-
}
|
|
42656
|
-
}
|
|
42657
|
-
|
|
42658
|
-
return target;
|
|
42659
|
-
};
|
|
42660
|
-
|
|
42661
|
-
return esm_extends_extends.apply(this, arguments);
|
|
42662
|
-
}
|
|
42663
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
|
42664
|
-
function classCallCheck_classCallCheck(instance, Constructor) {
|
|
42665
|
-
if (!(instance instanceof Constructor)) {
|
|
42666
|
-
throw new TypeError("Cannot call a class as a function");
|
|
42667
|
-
}
|
|
42668
|
-
}
|
|
42669
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
|
|
42670
|
-
function createClass_defineProperties(target, props) {
|
|
42671
|
-
for (var i = 0; i < props.length; i++) {
|
|
42672
|
-
var descriptor = props[i];
|
|
42673
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
42674
|
-
descriptor.configurable = true;
|
|
42675
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
42676
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
42677
|
-
}
|
|
42678
|
-
}
|
|
42679
|
-
|
|
42680
|
-
function createClass_createClass(Constructor, protoProps, staticProps) {
|
|
42681
|
-
if (protoProps) createClass_defineProperties(Constructor.prototype, protoProps);
|
|
42682
|
-
if (staticProps) createClass_defineProperties(Constructor, staticProps);
|
|
42683
|
-
return Constructor;
|
|
42684
|
-
}
|
|
42685
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
|
|
42686
|
-
function setPrototypeOf_setPrototypeOf(o, p) {
|
|
42687
|
-
setPrototypeOf_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
42688
|
-
o.__proto__ = p;
|
|
42689
|
-
return o;
|
|
42690
|
-
};
|
|
42691
|
-
|
|
42692
|
-
return setPrototypeOf_setPrototypeOf(o, p);
|
|
42693
|
-
}
|
|
42694
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js
|
|
42695
|
-
|
|
42696
|
-
function inherits_inherits(subClass, superClass) {
|
|
42697
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
42698
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
42699
|
-
}
|
|
42700
|
-
|
|
42701
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
42702
|
-
constructor: {
|
|
42703
|
-
value: subClass,
|
|
42704
|
-
writable: true,
|
|
42705
|
-
configurable: true
|
|
42706
|
-
}
|
|
42707
|
-
});
|
|
42708
|
-
if (superClass) setPrototypeOf_setPrototypeOf(subClass, superClass);
|
|
42709
|
-
}
|
|
42710
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.reflect.construct.js
|
|
42711
|
-
var es_reflect_construct = __webpack_require__(2419);
|
|
42712
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.get-prototype-of.js
|
|
42713
|
-
var es_object_get_prototype_of = __webpack_require__(489);
|
|
42714
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
|
|
42715
|
-
|
|
42716
|
-
function getPrototypeOf_getPrototypeOf(o) {
|
|
42717
|
-
getPrototypeOf_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
42718
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
42719
|
-
};
|
|
42720
|
-
return getPrototypeOf_getPrototypeOf(o);
|
|
42721
|
-
}
|
|
42722
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
|
|
42723
|
-
|
|
42724
|
-
function isNativeReflectConstruct_isNativeReflectConstruct() {
|
|
42725
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
42726
|
-
if (Reflect.construct.sham) return false;
|
|
42727
|
-
if (typeof Proxy === "function") return true;
|
|
42728
|
-
|
|
42729
|
-
try {
|
|
42730
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
42731
|
-
return true;
|
|
42732
|
-
} catch (e) {
|
|
42733
|
-
return false;
|
|
42734
|
-
}
|
|
42735
|
-
}
|
|
42736
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.description.js
|
|
42737
|
-
var es_symbol_description = __webpack_require__(1817);
|
|
42738
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.iterator.js
|
|
42739
|
-
var es_symbol_iterator = __webpack_require__(2165);
|
|
42740
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
42741
|
-
|
|
42742
|
-
|
|
42743
|
-
|
|
42744
|
-
|
|
42745
|
-
|
|
42746
|
-
|
|
42747
|
-
|
|
42748
|
-
function esm_typeof_typeof(obj) {
|
|
42749
|
-
"@babel/helpers - typeof";
|
|
42750
|
-
|
|
42751
|
-
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
42752
|
-
esm_typeof_typeof = function _typeof(obj) {
|
|
42753
|
-
return typeof obj;
|
|
42754
|
-
};
|
|
42755
|
-
} else {
|
|
42756
|
-
esm_typeof_typeof = function _typeof(obj) {
|
|
42757
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
42758
|
-
};
|
|
42759
|
-
}
|
|
42760
|
-
|
|
42761
|
-
return esm_typeof_typeof(obj);
|
|
42762
|
-
}
|
|
42763
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
|
42764
|
-
function assertThisInitialized_assertThisInitialized(self) {
|
|
42765
|
-
if (self === void 0) {
|
|
42766
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
42767
|
-
}
|
|
42768
|
-
|
|
42769
|
-
return self;
|
|
42770
|
-
}
|
|
42771
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
|
|
42772
|
-
|
|
42773
|
-
|
|
42774
|
-
function possibleConstructorReturn_possibleConstructorReturn(self, call) {
|
|
42775
|
-
if (call && (esm_typeof_typeof(call) === "object" || typeof call === "function")) {
|
|
42776
|
-
return call;
|
|
42777
|
-
} else if (call !== void 0) {
|
|
42778
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
42779
|
-
}
|
|
42780
|
-
|
|
42781
|
-
return assertThisInitialized_assertThisInitialized(self);
|
|
42782
|
-
}
|
|
42783
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js
|
|
42784
|
-
|
|
42785
|
-
|
|
42786
|
-
|
|
42787
|
-
|
|
42788
|
-
function createSuper_createSuper(Derived) {
|
|
42789
|
-
var hasNativeReflectConstruct = isNativeReflectConstruct_isNativeReflectConstruct();
|
|
42790
|
-
return function _createSuperInternal() {
|
|
42791
|
-
var Super = getPrototypeOf_getPrototypeOf(Derived),
|
|
42792
|
-
result;
|
|
42793
|
-
|
|
42794
|
-
if (hasNativeReflectConstruct) {
|
|
42795
|
-
var NewTarget = getPrototypeOf_getPrototypeOf(this).constructor;
|
|
42796
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
42797
|
-
} else {
|
|
42798
|
-
result = Super.apply(this, arguments);
|
|
42799
|
-
}
|
|
42800
|
-
|
|
42801
|
-
return possibleConstructorReturn_possibleConstructorReturn(this, result);
|
|
42802
|
-
};
|
|
42803
|
-
}
|
|
42804
42549
|
// EXTERNAL MODULE: ./node_modules/lodash/debounce.js
|
|
42805
42550
|
var debounce = __webpack_require__(3279);
|
|
42806
42551
|
var debounce_default = /*#__PURE__*/__webpack_require__.n(debounce);
|
|
@@ -42909,14 +42654,14 @@ function shouldDelay(spinning, delay) {
|
|
|
42909
42654
|
}
|
|
42910
42655
|
|
|
42911
42656
|
var Spin = /*#__PURE__*/function (_React$Component) {
|
|
42912
|
-
|
|
42657
|
+
_inherits(Spin, _React$Component);
|
|
42913
42658
|
|
|
42914
|
-
var _super =
|
|
42659
|
+
var _super = _createSuper(Spin);
|
|
42915
42660
|
|
|
42916
42661
|
function Spin(props) {
|
|
42917
42662
|
var _this;
|
|
42918
42663
|
|
|
42919
|
-
|
|
42664
|
+
_classCallCheck(this, Spin);
|
|
42920
42665
|
|
|
42921
42666
|
_this = _super.call(this, props);
|
|
42922
42667
|
|
|
@@ -42959,10 +42704,10 @@ var Spin = /*#__PURE__*/function (_React$Component) {
|
|
|
42959
42704
|
|
|
42960
42705
|
var spinning = _this.state.spinning;
|
|
42961
42706
|
var prefixCls = getPrefixCls('spin', customizePrefixCls);
|
|
42962
|
-
var spinClassName = classnames_default()(prefixCls, (_classNames = {},
|
|
42707
|
+
var spinClassName = classnames_default()(prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-sm"), size === 'small'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-lg"), size === 'large'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-spinning"), spinning), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-show-text"), !!tip), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className); // fix https://fb.me/react-unknown-prop
|
|
42963
42708
|
|
|
42964
42709
|
var divProps = omit(restProps, ['spinning', 'delay', 'indicator']);
|
|
42965
|
-
var spinElement = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div",
|
|
42710
|
+
var spinElement = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", extends_extends({}, divProps, {
|
|
42966
42711
|
style: style,
|
|
42967
42712
|
className: spinClassName
|
|
42968
42713
|
}), renderIndicator(prefixCls, _this.props), tip ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
@@ -42970,8 +42715,8 @@ var Spin = /*#__PURE__*/function (_React$Component) {
|
|
|
42970
42715
|
}, tip) : null);
|
|
42971
42716
|
|
|
42972
42717
|
if (_this.isNestedPattern()) {
|
|
42973
|
-
var containerClassName = classnames_default()("".concat(prefixCls, "-container"),
|
|
42974
|
-
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div",
|
|
42718
|
+
var containerClassName = classnames_default()("".concat(prefixCls, "-container"), (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-blur"), spinning));
|
|
42719
|
+
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", extends_extends({}, divProps, {
|
|
42975
42720
|
className: classnames_default()("".concat(prefixCls, "-nested-loading"), wrapperClassName)
|
|
42976
42721
|
}), spinning && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
42977
42722
|
key: "loading"
|
|
@@ -42997,7 +42742,7 @@ var Spin = /*#__PURE__*/function (_React$Component) {
|
|
|
42997
42742
|
return _this;
|
|
42998
42743
|
}
|
|
42999
42744
|
|
|
43000
|
-
|
|
42745
|
+
_createClass(Spin, [{
|
|
43001
42746
|
key: "componentDidMount",
|
|
43002
42747
|
value: function componentDidMount() {
|
|
43003
42748
|
this.updateSpinning();
|
|
@@ -43166,6 +42911,166 @@ var video_style_update = injectStylesIntoStyleTag_default()(video_style/* defaul
|
|
|
43166
42911
|
;// CONCATENATED MODULE: ./node_modules/@sdp.nd/fish/es/video/style/index.js
|
|
43167
42912
|
|
|
43168
42913
|
|
|
42914
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
|
|
42915
|
+
|
|
42916
|
+
function esm_extends_extends() {
|
|
42917
|
+
esm_extends_extends = Object.assign || function (target) {
|
|
42918
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
42919
|
+
var source = arguments[i];
|
|
42920
|
+
|
|
42921
|
+
for (var key in source) {
|
|
42922
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
42923
|
+
target[key] = source[key];
|
|
42924
|
+
}
|
|
42925
|
+
}
|
|
42926
|
+
}
|
|
42927
|
+
|
|
42928
|
+
return target;
|
|
42929
|
+
};
|
|
42930
|
+
|
|
42931
|
+
return esm_extends_extends.apply(this, arguments);
|
|
42932
|
+
}
|
|
42933
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
|
42934
|
+
function classCallCheck_classCallCheck(instance, Constructor) {
|
|
42935
|
+
if (!(instance instanceof Constructor)) {
|
|
42936
|
+
throw new TypeError("Cannot call a class as a function");
|
|
42937
|
+
}
|
|
42938
|
+
}
|
|
42939
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
|
|
42940
|
+
function createClass_defineProperties(target, props) {
|
|
42941
|
+
for (var i = 0; i < props.length; i++) {
|
|
42942
|
+
var descriptor = props[i];
|
|
42943
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
42944
|
+
descriptor.configurable = true;
|
|
42945
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
42946
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
42947
|
+
}
|
|
42948
|
+
}
|
|
42949
|
+
|
|
42950
|
+
function createClass_createClass(Constructor, protoProps, staticProps) {
|
|
42951
|
+
if (protoProps) createClass_defineProperties(Constructor.prototype, protoProps);
|
|
42952
|
+
if (staticProps) createClass_defineProperties(Constructor, staticProps);
|
|
42953
|
+
return Constructor;
|
|
42954
|
+
}
|
|
42955
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
|
42956
|
+
function assertThisInitialized_assertThisInitialized(self) {
|
|
42957
|
+
if (self === void 0) {
|
|
42958
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
42959
|
+
}
|
|
42960
|
+
|
|
42961
|
+
return self;
|
|
42962
|
+
}
|
|
42963
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
|
|
42964
|
+
function setPrototypeOf_setPrototypeOf(o, p) {
|
|
42965
|
+
setPrototypeOf_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
42966
|
+
o.__proto__ = p;
|
|
42967
|
+
return o;
|
|
42968
|
+
};
|
|
42969
|
+
|
|
42970
|
+
return setPrototypeOf_setPrototypeOf(o, p);
|
|
42971
|
+
}
|
|
42972
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js
|
|
42973
|
+
|
|
42974
|
+
function inherits_inherits(subClass, superClass) {
|
|
42975
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
42976
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
42977
|
+
}
|
|
42978
|
+
|
|
42979
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
42980
|
+
constructor: {
|
|
42981
|
+
value: subClass,
|
|
42982
|
+
writable: true,
|
|
42983
|
+
configurable: true
|
|
42984
|
+
}
|
|
42985
|
+
});
|
|
42986
|
+
if (superClass) setPrototypeOf_setPrototypeOf(subClass, superClass);
|
|
42987
|
+
}
|
|
42988
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.reflect.construct.js
|
|
42989
|
+
var es_reflect_construct = __webpack_require__(2419);
|
|
42990
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.get-prototype-of.js
|
|
42991
|
+
var es_object_get_prototype_of = __webpack_require__(489);
|
|
42992
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
|
|
42993
|
+
|
|
42994
|
+
function getPrototypeOf_getPrototypeOf(o) {
|
|
42995
|
+
getPrototypeOf_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
42996
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
42997
|
+
};
|
|
42998
|
+
return getPrototypeOf_getPrototypeOf(o);
|
|
42999
|
+
}
|
|
43000
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
|
|
43001
|
+
|
|
43002
|
+
function isNativeReflectConstruct_isNativeReflectConstruct() {
|
|
43003
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
43004
|
+
if (Reflect.construct.sham) return false;
|
|
43005
|
+
if (typeof Proxy === "function") return true;
|
|
43006
|
+
|
|
43007
|
+
try {
|
|
43008
|
+
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
43009
|
+
return true;
|
|
43010
|
+
} catch (e) {
|
|
43011
|
+
return false;
|
|
43012
|
+
}
|
|
43013
|
+
}
|
|
43014
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.description.js
|
|
43015
|
+
var es_symbol_description = __webpack_require__(1817);
|
|
43016
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.iterator.js
|
|
43017
|
+
var es_symbol_iterator = __webpack_require__(2165);
|
|
43018
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
43019
|
+
|
|
43020
|
+
|
|
43021
|
+
|
|
43022
|
+
|
|
43023
|
+
|
|
43024
|
+
|
|
43025
|
+
|
|
43026
|
+
function esm_typeof_typeof(obj) {
|
|
43027
|
+
"@babel/helpers - typeof";
|
|
43028
|
+
|
|
43029
|
+
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
43030
|
+
esm_typeof_typeof = function _typeof(obj) {
|
|
43031
|
+
return typeof obj;
|
|
43032
|
+
};
|
|
43033
|
+
} else {
|
|
43034
|
+
esm_typeof_typeof = function _typeof(obj) {
|
|
43035
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
43036
|
+
};
|
|
43037
|
+
}
|
|
43038
|
+
|
|
43039
|
+
return esm_typeof_typeof(obj);
|
|
43040
|
+
}
|
|
43041
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
|
|
43042
|
+
|
|
43043
|
+
|
|
43044
|
+
function possibleConstructorReturn_possibleConstructorReturn(self, call) {
|
|
43045
|
+
if (call && (esm_typeof_typeof(call) === "object" || typeof call === "function")) {
|
|
43046
|
+
return call;
|
|
43047
|
+
} else if (call !== void 0) {
|
|
43048
|
+
throw new TypeError("Derived constructors may only return object or undefined");
|
|
43049
|
+
}
|
|
43050
|
+
|
|
43051
|
+
return assertThisInitialized_assertThisInitialized(self);
|
|
43052
|
+
}
|
|
43053
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js
|
|
43054
|
+
|
|
43055
|
+
|
|
43056
|
+
|
|
43057
|
+
|
|
43058
|
+
function createSuper_createSuper(Derived) {
|
|
43059
|
+
var hasNativeReflectConstruct = isNativeReflectConstruct_isNativeReflectConstruct();
|
|
43060
|
+
return function _createSuperInternal() {
|
|
43061
|
+
var Super = getPrototypeOf_getPrototypeOf(Derived),
|
|
43062
|
+
result;
|
|
43063
|
+
|
|
43064
|
+
if (hasNativeReflectConstruct) {
|
|
43065
|
+
var NewTarget = getPrototypeOf_getPrototypeOf(this).constructor;
|
|
43066
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
43067
|
+
} else {
|
|
43068
|
+
result = Super.apply(this, arguments);
|
|
43069
|
+
}
|
|
43070
|
+
|
|
43071
|
+
return possibleConstructorReturn_possibleConstructorReturn(this, result);
|
|
43072
|
+
};
|
|
43073
|
+
}
|
|
43169
43074
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
|
|
43170
43075
|
var regenerator = __webpack_require__(5273);
|
|
43171
43076
|
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
|
@@ -43405,6 +43310,37 @@ Video.defaultProps = {
|
|
|
43405
43310
|
mediaType: 'video'
|
|
43406
43311
|
};
|
|
43407
43312
|
Video.url = {};
|
|
43313
|
+
;// CONCATENATED MODULE: ./src/util/video.js
|
|
43314
|
+
|
|
43315
|
+
|
|
43316
|
+
// 获取类型
|
|
43317
|
+
|
|
43318
|
+
var getType = function getType(type) {
|
|
43319
|
+
if (['mp3', 'wav', 'ogg'].includes(type)) {
|
|
43320
|
+
return "audio/".concat(type);
|
|
43321
|
+
}
|
|
43322
|
+
|
|
43323
|
+
if (type === 'm3u8') {
|
|
43324
|
+
return 'application/x-mpegURL';
|
|
43325
|
+
}
|
|
43326
|
+
|
|
43327
|
+
return "video/".concat(type);
|
|
43328
|
+
}; // 获取资源 url 的类型
|
|
43329
|
+
|
|
43330
|
+
var getUrlType = function getUrlType(url) {
|
|
43331
|
+
var video = /.*\.(mp4|mp3|wav|webm|ogg|m3u8)/i.exec(url);
|
|
43332
|
+
var type = '';
|
|
43333
|
+
|
|
43334
|
+
if (video !== null && video !== void 0 && video[1]) {
|
|
43335
|
+
type = video[1].toLowerCase();
|
|
43336
|
+
}
|
|
43337
|
+
|
|
43338
|
+
return type;
|
|
43339
|
+
}; // win7-ie11下播放m3u8,提示用户视频无法播放
|
|
43340
|
+
|
|
43341
|
+
var showPlayerTip = function showPlayerTip(url) {
|
|
43342
|
+
return isIE() && isWin7() && getUrlType(url) === 'm3u8';
|
|
43343
|
+
};
|
|
43408
43344
|
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
|
43409
43345
|
function arrayWithHoles_arrayWithHoles(arr) {
|
|
43410
43346
|
if (Array.isArray(arr)) return arr;
|
|
@@ -43487,37 +43423,6 @@ function nonIterableRest_nonIterableRest() {
|
|
|
43487
43423
|
function slicedToArray_slicedToArray(arr, i) {
|
|
43488
43424
|
return arrayWithHoles_arrayWithHoles(arr) || iterableToArrayLimit_iterableToArrayLimit(arr, i) || unsupportedIterableToArray_unsupportedIterableToArray(arr, i) || nonIterableRest_nonIterableRest();
|
|
43489
43425
|
}
|
|
43490
|
-
;// CONCATENATED MODULE: ./src/util/video.js
|
|
43491
|
-
|
|
43492
|
-
|
|
43493
|
-
// 获取类型
|
|
43494
|
-
|
|
43495
|
-
var getType = function getType(type) {
|
|
43496
|
-
if (['mp3', 'wav', 'ogg'].includes(type)) {
|
|
43497
|
-
return "audio/".concat(type);
|
|
43498
|
-
}
|
|
43499
|
-
|
|
43500
|
-
if (type === 'm3u8') {
|
|
43501
|
-
return 'application/x-mpegURL';
|
|
43502
|
-
}
|
|
43503
|
-
|
|
43504
|
-
return "video/".concat(type);
|
|
43505
|
-
}; // 获取资源 url 的类型
|
|
43506
|
-
|
|
43507
|
-
var getUrlType = function getUrlType(url) {
|
|
43508
|
-
var video = /.*\.(mp4|mp3|wav|webm|ogg|m3u8)/i.exec(url);
|
|
43509
|
-
var type = '';
|
|
43510
|
-
|
|
43511
|
-
if (video !== null && video !== void 0 && video[1]) {
|
|
43512
|
-
type = video[1].toLowerCase();
|
|
43513
|
-
}
|
|
43514
|
-
|
|
43515
|
-
return type;
|
|
43516
|
-
}; // win7-ie11下播放m3u8,提示用户视频无法播放
|
|
43517
|
-
|
|
43518
|
-
var showPlayerTip = function showPlayerTip(url) {
|
|
43519
|
-
return isIE() && isWin7() && getUrlType(url) === 'm3u8';
|
|
43520
|
-
};
|
|
43521
43426
|
;// CONCATENATED MODULE: ./node_modules/ahooks/es/usePersistFn/index.js
|
|
43522
43427
|
|
|
43523
43428
|
|
|
@@ -43681,6 +43586,45 @@ var index_module_update = injectStylesIntoStyleTag_default()(index_module/* defa
|
|
|
43681
43586
|
|
|
43682
43587
|
/* harmony default export */ var LiveCountDown_index_module = (index_module/* default */.Z && index_module/* default.locals */.Z.locals ? index_module/* default.locals */.Z.locals : undefined);
|
|
43683
43588
|
|
|
43589
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
43590
|
+
|
|
43591
|
+
|
|
43592
|
+
|
|
43593
|
+
function asyncToGenerator_asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
43594
|
+
try {
|
|
43595
|
+
var info = gen[key](arg);
|
|
43596
|
+
var value = info.value;
|
|
43597
|
+
} catch (error) {
|
|
43598
|
+
reject(error);
|
|
43599
|
+
return;
|
|
43600
|
+
}
|
|
43601
|
+
|
|
43602
|
+
if (info.done) {
|
|
43603
|
+
resolve(value);
|
|
43604
|
+
} else {
|
|
43605
|
+
Promise.resolve(value).then(_next, _throw);
|
|
43606
|
+
}
|
|
43607
|
+
}
|
|
43608
|
+
|
|
43609
|
+
function esm_asyncToGenerator_asyncToGenerator(fn) {
|
|
43610
|
+
return function () {
|
|
43611
|
+
var self = this,
|
|
43612
|
+
args = arguments;
|
|
43613
|
+
return new Promise(function (resolve, reject) {
|
|
43614
|
+
var gen = fn.apply(self, args);
|
|
43615
|
+
|
|
43616
|
+
function _next(value) {
|
|
43617
|
+
asyncToGenerator_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
43618
|
+
}
|
|
43619
|
+
|
|
43620
|
+
function _throw(err) {
|
|
43621
|
+
asyncToGenerator_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
43622
|
+
}
|
|
43623
|
+
|
|
43624
|
+
_next(undefined);
|
|
43625
|
+
});
|
|
43626
|
+
};
|
|
43627
|
+
}
|
|
43684
43628
|
;// CONCATENATED MODULE: ./src/hook/useIsMounted.js
|
|
43685
43629
|
|
|
43686
43630
|
|
|
@@ -44347,12 +44291,12 @@ function RecordVideo(_ref) {
|
|
|
44347
44291
|
var isFullScreenRef = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useRef)(false);
|
|
44348
44292
|
|
|
44349
44293
|
var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(false),
|
|
44350
|
-
_useState2 =
|
|
44294
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
44351
44295
|
isLiveLoading = _useState2[0],
|
|
44352
44296
|
setIsLiveLoading = _useState2[1];
|
|
44353
44297
|
|
|
44354
44298
|
var _useState3 = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(false),
|
|
44355
|
-
_useState4 =
|
|
44299
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
44356
44300
|
isLiveLoadError = _useState4[0],
|
|
44357
44301
|
setIsLiveLoadError = _useState4[1];
|
|
44358
44302
|
|
|
@@ -44483,6 +44427,21 @@ function RecordVideo(_ref) {
|
|
|
44483
44427
|
onReloadLive: handleVideoReload
|
|
44484
44428
|
}));
|
|
44485
44429
|
}
|
|
44430
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
44431
|
+
function _defineProperty(obj, key, value) {
|
|
44432
|
+
if (key in obj) {
|
|
44433
|
+
Object.defineProperty(obj, key, {
|
|
44434
|
+
value: value,
|
|
44435
|
+
enumerable: true,
|
|
44436
|
+
configurable: true,
|
|
44437
|
+
writable: true
|
|
44438
|
+
});
|
|
44439
|
+
} else {
|
|
44440
|
+
obj[key] = value;
|
|
44441
|
+
}
|
|
44442
|
+
|
|
44443
|
+
return obj;
|
|
44444
|
+
}
|
|
44486
44445
|
// EXTERNAL MODULE: ./node_modules/@sdp.nd/fish/es/loader/style/index.js
|
|
44487
44446
|
var loader_style = __webpack_require__(4646);
|
|
44488
44447
|
;// CONCATENATED MODULE: ./src/component/AliPlayer/index.jsx
|
|
@@ -46784,6 +46743,43 @@ function genCSSMotion(config) {
|
|
|
46784
46743
|
return CSSMotion;
|
|
46785
46744
|
}
|
|
46786
46745
|
/* harmony default export */ var es_CSSMotion = (genCSSMotion(supportTransition));
|
|
46746
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
|
46747
|
+
|
|
46748
|
+
function objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(source, excluded) {
|
|
46749
|
+
if (source == null) return {};
|
|
46750
|
+
var target = {};
|
|
46751
|
+
var sourceKeys = Object.keys(source);
|
|
46752
|
+
var key, i;
|
|
46753
|
+
|
|
46754
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
46755
|
+
key = sourceKeys[i];
|
|
46756
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
46757
|
+
target[key] = source[key];
|
|
46758
|
+
}
|
|
46759
|
+
|
|
46760
|
+
return target;
|
|
46761
|
+
}
|
|
46762
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
|
46763
|
+
|
|
46764
|
+
|
|
46765
|
+
function esm_objectWithoutProperties_objectWithoutProperties(source, excluded) {
|
|
46766
|
+
if (source == null) return {};
|
|
46767
|
+
var target = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(source, excluded);
|
|
46768
|
+
var key, i;
|
|
46769
|
+
|
|
46770
|
+
if (Object.getOwnPropertySymbols) {
|
|
46771
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
46772
|
+
|
|
46773
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
46774
|
+
key = sourceSymbolKeys[i];
|
|
46775
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
46776
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
46777
|
+
target[key] = source[key];
|
|
46778
|
+
}
|
|
46779
|
+
}
|
|
46780
|
+
|
|
46781
|
+
return target;
|
|
46782
|
+
}
|
|
46787
46783
|
;// CONCATENATED MODULE: ./node_modules/rc-motion/es/util/diff.js
|
|
46788
46784
|
|
|
46789
46785
|
|
|
@@ -52865,7 +52861,7 @@ function useNotification_useNotification(notificationInstance) {
|
|
|
52865
52861
|
var createdRef = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useRef({});
|
|
52866
52862
|
|
|
52867
52863
|
var _React$useState = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState([]),
|
|
52868
|
-
_React$useState2 =
|
|
52864
|
+
_React$useState2 = slicedToArray_slicedToArray(_React$useState, 2),
|
|
52869
52865
|
elements = _React$useState2[0],
|
|
52870
52866
|
setElements = _React$useState2[1];
|
|
52871
52867
|
|
|
@@ -52875,7 +52871,7 @@ function useNotification_useNotification(notificationInstance) {
|
|
|
52875
52871
|
var key = props.key;
|
|
52876
52872
|
|
|
52877
52873
|
if (div && (!createdRef.current[key] || firstMount)) {
|
|
52878
|
-
var noticeEle = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Notice,
|
|
52874
|
+
var noticeEle = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Notice, esm_extends_extends({}, props, {
|
|
52879
52875
|
holder: div
|
|
52880
52876
|
}));
|
|
52881
52877
|
createdRef.current[key] = noticeEle;
|
|
@@ -52885,10 +52881,10 @@ function useNotification_useNotification(notificationInstance) {
|
|
|
52885
52881
|
});
|
|
52886
52882
|
|
|
52887
52883
|
if (index === -1) {
|
|
52888
|
-
return [].concat(
|
|
52884
|
+
return [].concat(toConsumableArray_toConsumableArray(originElements), [noticeEle]);
|
|
52889
52885
|
}
|
|
52890
52886
|
|
|
52891
|
-
var cloneList =
|
|
52887
|
+
var cloneList = toConsumableArray_toConsumableArray(originElements);
|
|
52892
52888
|
|
|
52893
52889
|
cloneList[index] = noticeEle;
|
|
52894
52890
|
return cloneList;
|
|
@@ -54796,7 +54792,7 @@ var LiveVideo_index_module_update = injectStylesIntoStyleTag_default()(LiveVideo
|
|
|
54796
54792
|
|
|
54797
54793
|
function LiveVideo_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
54798
54794
|
|
|
54799
|
-
function LiveVideo_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { LiveVideo_ownKeys(Object(source), true).forEach(function (key) {
|
|
54795
|
+
function LiveVideo_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { LiveVideo_ownKeys(Object(source), true).forEach(function (key) { (0,defineProperty/* default */.Z)(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { LiveVideo_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
54800
54796
|
|
|
54801
54797
|
|
|
54802
54798
|
|
|
@@ -54855,7 +54851,7 @@ function LiveVideo(_ref) {
|
|
|
54855
54851
|
onRequestFullScreen = _ref$onRequestFullScr === void 0 ? function () {} : _ref$onRequestFullScr;
|
|
54856
54852
|
|
|
54857
54853
|
var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(false),
|
|
54858
|
-
_useState2 =
|
|
54854
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
54859
54855
|
isLiveLoading = _useState2[0],
|
|
54860
54856
|
setIsLiveLoadingHook = _useState2[1];
|
|
54861
54857
|
|
|
@@ -54868,12 +54864,12 @@ function LiveVideo(_ref) {
|
|
|
54868
54864
|
};
|
|
54869
54865
|
|
|
54870
54866
|
var _useState3 = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(false),
|
|
54871
|
-
_useState4 =
|
|
54867
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
54872
54868
|
isLiveException = _useState4[0],
|
|
54873
54869
|
setIsLiveException = _useState4[1];
|
|
54874
54870
|
|
|
54875
54871
|
var _useState5 = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(false),
|
|
54876
|
-
_useState6 =
|
|
54872
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
54877
54873
|
isLiveLoadError = _useState6[0],
|
|
54878
54874
|
setIsLiveLoadError = _useState6[1];
|
|
54879
54875
|
|
|
@@ -54971,7 +54967,7 @@ function LiveVideo(_ref) {
|
|
|
54971
54967
|
}
|
|
54972
54968
|
}, [showAliPlayer]);
|
|
54973
54969
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
|
|
54974
|
-
className: classnames_default()(detail_LiveVideo_index_module["live-video"],
|
|
54970
|
+
className: classnames_default()(detail_LiveVideo_index_module["live-video"], (0,defineProperty/* default */.Z)({}, detail_LiveVideo_index_module["hide-play-btn"], !canWatch))
|
|
54975
54971
|
}, showAliPlayer && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(AliPlayer, {
|
|
54976
54972
|
options: options,
|
|
54977
54973
|
onReady: handleVideoReady
|
|
@@ -64419,7 +64415,7 @@ function LineSwitch(_ref) {
|
|
|
64419
64415
|
}, [liveInfo]);
|
|
64420
64416
|
|
|
64421
64417
|
var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)((lines === null || lines === void 0 ? void 0 : (_lines$ = lines[0]) === null || _lines$ === void 0 ? void 0 : _lines$.name) || '线路1'),
|
|
64422
|
-
_useState2 =
|
|
64418
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
64423
64419
|
lineName = _useState2[0],
|
|
64424
64420
|
setLineName = _useState2[1];
|
|
64425
64421
|
|
|
@@ -65062,7 +65058,7 @@ function ReplayVideo(_ref) {
|
|
|
65062
65058
|
}
|
|
65063
65059
|
}, []);
|
|
65064
65060
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
|
|
65065
|
-
className: classnames_default()(detail_ReplayVideo_index_module["replay-video"],
|
|
65061
|
+
className: classnames_default()(detail_ReplayVideo_index_module["replay-video"], (0,defineProperty/* default */.Z)({}, detail_ReplayVideo_index_module["video-autoplay"], autoplay))
|
|
65066
65062
|
}, needLogin && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
|
|
65067
65063
|
className: detail_ReplayVideo_index_module["replay-tip-wrapper"]
|
|
65068
65064
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("img", {
|
|
@@ -65688,7 +65684,7 @@ function LiveOnlineCount(_ref) {
|
|
|
65688
65684
|
if (!resId) return null;
|
|
65689
65685
|
|
|
65690
65686
|
var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(0),
|
|
65691
|
-
_useState2 =
|
|
65687
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
65692
65688
|
onlineCount = _useState2[0],
|
|
65693
65689
|
setOnlineCount = _useState2[1];
|
|
65694
65690
|
|
|
@@ -65702,7 +65698,7 @@ function LiveOnlineCount(_ref) {
|
|
|
65702
65698
|
};
|
|
65703
65699
|
|
|
65704
65700
|
(0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useEffect)(function () {
|
|
65705
|
-
|
|
65701
|
+
asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
65706
65702
|
var count, likesData, currentCount;
|
|
65707
65703
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
65708
65704
|
while (1) {
|
|
@@ -65777,8 +65773,8 @@ var USER_IDENTITY = {
|
|
|
65777
65773
|
SOCIAL_LEARNER: 'SOCIAL_LEARNER' // 社会学习者
|
|
65778
65774
|
|
|
65779
65775
|
};
|
|
65780
|
-
var USER_IDENTITY_NAME = (_USER_IDENTITY_NAME = {},
|
|
65781
|
-
var USER_IDENTITY_TEXT = (_USER_IDENTITY_TEXT = {},
|
|
65776
|
+
var USER_IDENTITY_NAME = (_USER_IDENTITY_NAME = {}, (0,defineProperty/* default */.Z)(_USER_IDENTITY_NAME, USER_IDENTITY.TEACHER, '老师'), (0,defineProperty/* default */.Z)(_USER_IDENTITY_NAME, USER_IDENTITY.STUDENT, '学生'), (0,defineProperty/* default */.Z)(_USER_IDENTITY_NAME, USER_IDENTITY.GUARDIAN, '家长'), (0,defineProperty/* default */.Z)(_USER_IDENTITY_NAME, USER_IDENTITY.ACADEMIC_STAFF, '教研员'), (0,defineProperty/* default */.Z)(_USER_IDENTITY_NAME, USER_IDENTITY.ELECTRIC_TEACHER, '电教人员'), (0,defineProperty/* default */.Z)(_USER_IDENTITY_NAME, USER_IDENTITY.EDU_ADMIN, '管理人员'), (0,defineProperty/* default */.Z)(_USER_IDENTITY_NAME, USER_IDENTITY.SOCIAL_LEARNER, '社会学习者'), _USER_IDENTITY_NAME);
|
|
65777
|
+
var USER_IDENTITY_TEXT = (_USER_IDENTITY_TEXT = {}, (0,defineProperty/* default */.Z)(_USER_IDENTITY_TEXT, USER_IDENTITY.TEACHER, '我是老师'), (0,defineProperty/* default */.Z)(_USER_IDENTITY_TEXT, USER_IDENTITY.STUDENT, '我是学生'), (0,defineProperty/* default */.Z)(_USER_IDENTITY_TEXT, USER_IDENTITY.GUARDIAN, '我是家长'), (0,defineProperty/* default */.Z)(_USER_IDENTITY_TEXT, USER_IDENTITY.ACADEMIC_STAFF, '我是教研员'), (0,defineProperty/* default */.Z)(_USER_IDENTITY_TEXT, USER_IDENTITY.ELECTRIC_TEACHER, '我是电教人员'), (0,defineProperty/* default */.Z)(_USER_IDENTITY_TEXT, USER_IDENTITY.EDU_ADMIN, '我是管理人员'), (0,defineProperty/* default */.Z)(_USER_IDENTITY_TEXT, USER_IDENTITY.SOCIAL_LEARNER, '我是社会学习者'), _USER_IDENTITY_TEXT);
|
|
65782
65778
|
var SELECTED_TAB_TYPE = {
|
|
65783
65779
|
MYLIVE: 'MYLIVE',
|
|
65784
65780
|
ALLLIVE: 'ALLLIVE'
|
|
@@ -65793,7 +65789,7 @@ var LIVE_STATUS_TYPE = {
|
|
|
65793
65789
|
COMPLETED: 2 // 已结束
|
|
65794
65790
|
|
|
65795
65791
|
};
|
|
65796
|
-
var LIVE_STATUS_TEXT = (_LIVE_STATUS_TEXT = {},
|
|
65792
|
+
var LIVE_STATUS_TEXT = (_LIVE_STATUS_TEXT = {}, (0,defineProperty/* default */.Z)(_LIVE_STATUS_TEXT, LIVE_STATUS_TYPE.ALLSTATUS, '全部状态'), (0,defineProperty/* default */.Z)(_LIVE_STATUS_TEXT, LIVE_STATUS_TYPE.NOSTARTED, '未开始'), (0,defineProperty/* default */.Z)(_LIVE_STATUS_TEXT, LIVE_STATUS_TYPE.LIVING, '上课中'), (0,defineProperty/* default */.Z)(_LIVE_STATUS_TEXT, LIVE_STATUS_TYPE.COMPLETED, '已结束'), _LIVE_STATUS_TEXT);
|
|
65797
65793
|
var AUDIT_STATUS_TYPE = {
|
|
65798
65794
|
PENDING: 0,
|
|
65799
65795
|
// 全部
|
|
@@ -70235,11 +70231,11 @@ function tabs_Tabs(_a) {
|
|
|
70235
70231
|
var _classNames;
|
|
70236
70232
|
|
|
70237
70233
|
var size = propSize !== undefined ? propSize : contextSize;
|
|
70238
|
-
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_tabs_es,
|
|
70234
|
+
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_tabs_es, extends_extends({
|
|
70239
70235
|
direction: direction,
|
|
70240
70236
|
moreTransitionName: "".concat(rootPrefixCls, "-slide-up")
|
|
70241
70237
|
}, props, {
|
|
70242
|
-
className: classnames_default()((_classNames = {},
|
|
70238
|
+
className: classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(size), size), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-card"), ['card', 'editable-card'].includes(type)), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-editable-card"), type === 'editable-card'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-centered"), centered), _classNames), className),
|
|
70243
70239
|
editable: editable,
|
|
70244
70240
|
moreIcon: moreIcon,
|
|
70245
70241
|
prefixCls: prefixCls
|
|
@@ -71282,7 +71278,7 @@ Pagination.defaultProps = {
|
|
|
71282
71278
|
|
|
71283
71279
|
|
|
71284
71280
|
var MiniSelect = function MiniSelect(props) {
|
|
71285
|
-
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_select,
|
|
71281
|
+
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_select, extends_extends({
|
|
71286
71282
|
size: "small"
|
|
71287
71283
|
}, props));
|
|
71288
71284
|
};
|
|
@@ -71364,7 +71360,7 @@ var responsiveObserve = {
|
|
|
71364
71360
|
|
|
71365
71361
|
function useBreakpoint() {
|
|
71366
71362
|
var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)({}),
|
|
71367
|
-
_useState2 =
|
|
71363
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
71368
71364
|
screens = _useState2[0],
|
|
71369
71365
|
setScreens = _useState2[1];
|
|
71370
71366
|
|
|
@@ -71484,13 +71480,13 @@ var Pagination_Pagination = function Pagination(_a) {
|
|
|
71484
71480
|
var renderPagination = function renderPagination(contextLocale) {
|
|
71485
71481
|
var _classNames;
|
|
71486
71482
|
|
|
71487
|
-
var locale =
|
|
71483
|
+
var locale = extends_extends(extends_extends({}, contextLocale), customLocale);
|
|
71488
71484
|
|
|
71489
71485
|
var isSmall = size === 'small' || !!(xs && !size && restProps.responsive);
|
|
71490
71486
|
var selectPrefixCls = getPrefixCls('select', customizeSelectPrefixCls);
|
|
71491
71487
|
var extendedClassName = classnames_default()((_classNames = {
|
|
71492
71488
|
mini: isSmall
|
|
71493
|
-
},
|
|
71489
|
+
}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "minimalistic", minimalistic), _classNames), className); // 文本式分页
|
|
71494
71490
|
|
|
71495
71491
|
if (minimalistic) {
|
|
71496
71492
|
paginationProps.itemRender = function (_current, type, originalElement) {
|
|
@@ -71527,7 +71523,7 @@ var Pagination_Pagination = function Pagination(_a) {
|
|
|
71527
71523
|
paginationProps.showQuickJumper = showQuickJumper;
|
|
71528
71524
|
}
|
|
71529
71525
|
|
|
71530
|
-
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_Pagination,
|
|
71526
|
+
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_Pagination, extends_extends({}, paginationProps, getIconsProps(), restProps, {
|
|
71531
71527
|
prefixCls: prefixCls,
|
|
71532
71528
|
selectPrefixCls: selectPrefixCls,
|
|
71533
71529
|
className: extendedClassName,
|
|
@@ -71631,15 +71627,15 @@ function Avatar(_ref) {
|
|
|
71631
71627
|
errorImg = _ref.errorImg,
|
|
71632
71628
|
title = _ref.title,
|
|
71633
71629
|
titleCls = _ref.titleCls,
|
|
71634
|
-
restProps =
|
|
71630
|
+
restProps = objectWithoutProperties_objectWithoutProperties(_ref, Avatar_excluded);
|
|
71635
71631
|
|
|
71636
71632
|
var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(false),
|
|
71637
|
-
_useState2 =
|
|
71633
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
71638
71634
|
isError = _useState2[0],
|
|
71639
71635
|
setIsError = _useState2[1];
|
|
71640
71636
|
|
|
71641
71637
|
var _useState3 = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(false),
|
|
71642
|
-
_useState4 =
|
|
71638
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
71643
71639
|
titleVisible = _useState4[0],
|
|
71644
71640
|
setTitleVisible = _useState4[1];
|
|
71645
71641
|
|
|
@@ -71658,7 +71654,7 @@ function Avatar(_ref) {
|
|
|
71658
71654
|
if (title && titleVisible || title && restProps.src === errorImg) {
|
|
71659
71655
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement((external_commonjs_react_commonjs2_react_root_React_default()).Fragment, null, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
|
|
71660
71656
|
className: titleCls
|
|
71661
|
-
}, title), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("img",
|
|
71657
|
+
}, title), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("img", extends_extends({}, restProps, {
|
|
71662
71658
|
className: classnames_default()(restProps.className, {
|
|
71663
71659
|
'image-error': isError
|
|
71664
71660
|
}),
|
|
@@ -71666,7 +71662,7 @@ function Avatar(_ref) {
|
|
|
71666
71662
|
})));
|
|
71667
71663
|
}
|
|
71668
71664
|
|
|
71669
|
-
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("img",
|
|
71665
|
+
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("img", extends_extends({}, restProps, {
|
|
71670
71666
|
className: classnames_default()(restProps.className, {
|
|
71671
71667
|
'image-error': isError
|
|
71672
71668
|
}),
|
|
@@ -71862,12 +71858,12 @@ function Action(_ref) {
|
|
|
71862
71858
|
|
|
71863
71859
|
return actionNum;
|
|
71864
71860
|
}),
|
|
71865
|
-
_useState2 =
|
|
71861
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
71866
71862
|
curAction = _useState2[0],
|
|
71867
71863
|
setCurAction = _useState2[1];
|
|
71868
71864
|
|
|
71869
71865
|
var handleBtnClick = /*#__PURE__*/function () {
|
|
71870
|
-
var _ref2 =
|
|
71866
|
+
var _ref2 = asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(e) {
|
|
71871
71867
|
var now, begin, _error$response, _error$response$data, _error$response2, _error$response2$data;
|
|
71872
71868
|
|
|
71873
71869
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
@@ -71944,7 +71940,7 @@ function Action(_ref) {
|
|
|
71944
71940
|
}();
|
|
71945
71941
|
|
|
71946
71942
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
|
|
71947
|
-
className: classnames_default()(ListItem_Action_index_module.action, (_classNames = {},
|
|
71943
|
+
className: classnames_default()(ListItem_Action_index_module.action, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, ListItem_Action_index_module["action-subscribe"], curAction === 3), (0,defineProperty/* default */.Z)(_classNames, ListItem_Action_index_module["action-has-subscribe"], curAction === 4), _classNames)),
|
|
71948
71944
|
onClick: handleBtnClick
|
|
71949
71945
|
}, Actions[curAction]);
|
|
71950
71946
|
}
|
|
@@ -72160,12 +72156,12 @@ function ListItem(_ref) {
|
|
|
72160
72156
|
status = data.status;
|
|
72161
72157
|
|
|
72162
72158
|
var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)({}),
|
|
72163
|
-
_useState2 =
|
|
72159
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
72164
72160
|
liveExt = _useState2[0],
|
|
72165
72161
|
setLiveExt = _useState2[1];
|
|
72166
72162
|
|
|
72167
72163
|
(0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useEffect)(function () {
|
|
72168
|
-
|
|
72164
|
+
asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
72169
72165
|
var res;
|
|
72170
72166
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
72171
72167
|
while (1) {
|
|
@@ -72188,7 +72184,7 @@ function ListItem(_ref) {
|
|
|
72188
72184
|
}, []);
|
|
72189
72185
|
|
|
72190
72186
|
var handleDetailClick = /*#__PURE__*/function () {
|
|
72191
|
-
var _ref3 =
|
|
72187
|
+
var _ref3 = asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
|
72192
72188
|
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
72193
72189
|
while (1) {
|
|
72194
72190
|
switch (_context2.prev = _context2.next) {
|