@x-edu/live-player 0.0.20 → 0.0.22
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 +158 -158
- package/dist/XEduLivePlayerPre.common.js +400 -389
- package/package.json +1 -1
- package/src/list/ListItem/index.jsx +119 -119
- package/src/list/ListItem/index.module.less +6 -4
|
@@ -12616,7 +12616,7 @@ ___CSS_LOADER_EXPORT___.locals = {
|
|
|
12616
12616
|
|
|
12617
12617
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
|
|
12618
12618
|
// 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:#
|
|
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:#999;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:14px;font-weight:400;line-height:22px;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:16px;height:16px;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
12620
|
// Exports
|
|
12621
12621
|
___CSS_LOADER_EXPORT___.locals = {
|
|
12622
12622
|
"container": "index-module_container_2HydZ",
|
|
@@ -36060,7 +36060,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
36060
36060
|
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
36061
36061
|
/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(9337);
|
|
36062
36062
|
/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
36063
|
-
/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
36063
|
+
/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(6514);
|
|
36064
36064
|
/* harmony import */ var _ncet_xedu__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(2852);
|
|
36065
36065
|
|
|
36066
36066
|
|
|
@@ -37219,6 +37219,30 @@ function _defineProperty(obj, key, value) {
|
|
|
37219
37219
|
|
|
37220
37220
|
/***/ }),
|
|
37221
37221
|
|
|
37222
|
+
/***/ 6514:
|
|
37223
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
37224
|
+
|
|
37225
|
+
"use strict";
|
|
37226
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
37227
|
+
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
37228
|
+
/* harmony export */ });
|
|
37229
|
+
function _defineProperty(obj, key, value) {
|
|
37230
|
+
if (key in obj) {
|
|
37231
|
+
Object.defineProperty(obj, key, {
|
|
37232
|
+
value: value,
|
|
37233
|
+
enumerable: true,
|
|
37234
|
+
configurable: true,
|
|
37235
|
+
writable: true
|
|
37236
|
+
});
|
|
37237
|
+
} else {
|
|
37238
|
+
obj[key] = value;
|
|
37239
|
+
}
|
|
37240
|
+
|
|
37241
|
+
return obj;
|
|
37242
|
+
}
|
|
37243
|
+
|
|
37244
|
+
/***/ }),
|
|
37245
|
+
|
|
37222
37246
|
/***/ 8593:
|
|
37223
37247
|
/***/ (function(module) {
|
|
37224
37248
|
|
|
@@ -40322,79 +40346,93 @@ var es_array_includes = __webpack_require__(6699);
|
|
|
40322
40346
|
var es_string_includes = __webpack_require__(2023);
|
|
40323
40347
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
|
|
40324
40348
|
var es_object_assign = __webpack_require__(9601);
|
|
40325
|
-
// EXTERNAL MODULE: ./node_modules/
|
|
40326
|
-
var
|
|
40327
|
-
|
|
40328
|
-
var es_promise = __webpack_require__(8674);
|
|
40329
|
-
// EXTERNAL MODULE: ./node_modules/axios/index.js
|
|
40330
|
-
var axios = __webpack_require__(9669);
|
|
40331
|
-
var axios_default = /*#__PURE__*/__webpack_require__.n(axios);
|
|
40332
|
-
// EXTERNAL MODULE: ./src/config/env/index.js
|
|
40333
|
-
var env = __webpack_require__(6032);
|
|
40334
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.description.js
|
|
40335
|
-
var es_symbol_description = __webpack_require__(1817);
|
|
40336
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.iterator.js
|
|
40337
|
-
var es_symbol_iterator = __webpack_require__(2165);
|
|
40338
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
40339
|
-
|
|
40349
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
40350
|
+
var esm_defineProperty = __webpack_require__(6514);
|
|
40351
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
|
40340
40352
|
|
|
40353
|
+
function objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(source, excluded) {
|
|
40354
|
+
if (source == null) return {};
|
|
40355
|
+
var target = {};
|
|
40356
|
+
var sourceKeys = Object.keys(source);
|
|
40357
|
+
var key, i;
|
|
40341
40358
|
|
|
40359
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
40360
|
+
key = sourceKeys[i];
|
|
40361
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
40362
|
+
target[key] = source[key];
|
|
40363
|
+
}
|
|
40342
40364
|
|
|
40365
|
+
return target;
|
|
40366
|
+
}
|
|
40367
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
|
40343
40368
|
|
|
40344
40369
|
|
|
40370
|
+
function esm_objectWithoutProperties_objectWithoutProperties(source, excluded) {
|
|
40371
|
+
if (source == null) return {};
|
|
40372
|
+
var target = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(source, excluded);
|
|
40373
|
+
var key, i;
|
|
40345
40374
|
|
|
40346
|
-
|
|
40347
|
-
|
|
40375
|
+
if (Object.getOwnPropertySymbols) {
|
|
40376
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
40348
40377
|
|
|
40349
|
-
|
|
40350
|
-
|
|
40351
|
-
|
|
40352
|
-
|
|
40353
|
-
|
|
40354
|
-
|
|
40355
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
40356
|
-
};
|
|
40378
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
40379
|
+
key = sourceSymbolKeys[i];
|
|
40380
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
40381
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
40382
|
+
target[key] = source[key];
|
|
40383
|
+
}
|
|
40357
40384
|
}
|
|
40358
40385
|
|
|
40359
|
-
return
|
|
40386
|
+
return target;
|
|
40360
40387
|
}
|
|
40361
|
-
|
|
40362
|
-
|
|
40363
|
-
|
|
40364
|
-
Object.defineProperty(obj, key, {
|
|
40365
|
-
value: value,
|
|
40366
|
-
enumerable: true,
|
|
40367
|
-
configurable: true,
|
|
40368
|
-
writable: true
|
|
40369
|
-
});
|
|
40370
|
-
} else {
|
|
40371
|
-
obj[key] = value;
|
|
40372
|
-
}
|
|
40388
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
40389
|
+
var es_promise = __webpack_require__(8674);
|
|
40390
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
40373
40391
|
|
|
40374
|
-
|
|
40375
|
-
|
|
40376
|
-
|
|
40377
|
-
|
|
40378
|
-
|
|
40379
|
-
|
|
40392
|
+
|
|
40393
|
+
|
|
40394
|
+
function asyncToGenerator_asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
40395
|
+
try {
|
|
40396
|
+
var info = gen[key](arg);
|
|
40397
|
+
var value = info.value;
|
|
40398
|
+
} catch (error) {
|
|
40399
|
+
reject(error);
|
|
40400
|
+
return;
|
|
40380
40401
|
}
|
|
40381
|
-
|
|
40382
|
-
|
|
40383
|
-
|
|
40384
|
-
|
|
40385
|
-
|
|
40386
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
40387
|
-
descriptor.configurable = true;
|
|
40388
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
40389
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
40402
|
+
|
|
40403
|
+
if (info.done) {
|
|
40404
|
+
resolve(value);
|
|
40405
|
+
} else {
|
|
40406
|
+
Promise.resolve(value).then(_next, _throw);
|
|
40390
40407
|
}
|
|
40391
40408
|
}
|
|
40392
40409
|
|
|
40393
|
-
function
|
|
40394
|
-
|
|
40395
|
-
|
|
40396
|
-
|
|
40410
|
+
function esm_asyncToGenerator_asyncToGenerator(fn) {
|
|
40411
|
+
return function () {
|
|
40412
|
+
var self = this,
|
|
40413
|
+
args = arguments;
|
|
40414
|
+
return new Promise(function (resolve, reject) {
|
|
40415
|
+
var gen = fn.apply(self, args);
|
|
40416
|
+
|
|
40417
|
+
function _next(value) {
|
|
40418
|
+
asyncToGenerator_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
40419
|
+
}
|
|
40420
|
+
|
|
40421
|
+
function _throw(err) {
|
|
40422
|
+
asyncToGenerator_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
40423
|
+
}
|
|
40424
|
+
|
|
40425
|
+
_next(undefined);
|
|
40426
|
+
});
|
|
40427
|
+
};
|
|
40397
40428
|
}
|
|
40429
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
|
40430
|
+
var es_array_map = __webpack_require__(1249);
|
|
40431
|
+
// EXTERNAL MODULE: ./node_modules/axios/index.js
|
|
40432
|
+
var axios = __webpack_require__(9669);
|
|
40433
|
+
var axios_default = /*#__PURE__*/__webpack_require__.n(axios);
|
|
40434
|
+
// EXTERNAL MODULE: ./src/config/env/index.js
|
|
40435
|
+
var env = __webpack_require__(6032);
|
|
40398
40436
|
// EXTERNAL MODULE: ./node_modules/query-string/index.js
|
|
40399
40437
|
var query_string = __webpack_require__(7563);
|
|
40400
40438
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.match.js
|
|
@@ -40431,7 +40469,7 @@ function isH5() {
|
|
|
40431
40469
|
|
|
40432
40470
|
function request_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; }
|
|
40433
40471
|
|
|
40434
|
-
function request_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { request_ownKeys(Object(source), true).forEach(function (key) {
|
|
40472
|
+
function request_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { request_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 { request_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
40435
40473
|
|
|
40436
40474
|
|
|
40437
40475
|
|
|
@@ -40444,10 +40482,10 @@ var STATUS = {
|
|
|
40444
40482
|
|
|
40445
40483
|
var Request = /*#__PURE__*/function () {
|
|
40446
40484
|
function Request() {
|
|
40447
|
-
|
|
40485
|
+
_classCallCheck(this, Request);
|
|
40448
40486
|
}
|
|
40449
40487
|
|
|
40450
|
-
|
|
40488
|
+
_createClass(Request, null, [{
|
|
40451
40489
|
key: "create",
|
|
40452
40490
|
value: function create(config) {
|
|
40453
40491
|
var cache = {};
|
|
@@ -40482,7 +40520,7 @@ var Request = /*#__PURE__*/function () {
|
|
|
40482
40520
|
if (isFunction(c.failover)) {
|
|
40483
40521
|
var newConfig = c.failover(error, c);
|
|
40484
40522
|
|
|
40485
|
-
if (
|
|
40523
|
+
if (typeof_typeof(newConfig) === 'object') {
|
|
40486
40524
|
return instance.request(request_objectSpread(request_objectSpread({}, newConfig), {}, {
|
|
40487
40525
|
failover: false
|
|
40488
40526
|
}));
|
|
@@ -41222,7 +41260,7 @@ function getServiceConfig(_x) {
|
|
|
41222
41260
|
}
|
|
41223
41261
|
|
|
41224
41262
|
function _getServiceConfig() {
|
|
41225
|
-
_getServiceConfig =
|
|
41263
|
+
_getServiceConfig = esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(serviceName) {
|
|
41226
41264
|
var sdpAppId,
|
|
41227
41265
|
env,
|
|
41228
41266
|
key,
|
|
@@ -41494,7 +41532,7 @@ function withOnce(fn) {
|
|
|
41494
41532
|
var lockPool = createLockPool();
|
|
41495
41533
|
|
|
41496
41534
|
var newFn = /*#__PURE__*/function () {
|
|
41497
|
-
var _ref3 =
|
|
41535
|
+
var _ref3 = esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
|
41498
41536
|
var key,
|
|
41499
41537
|
lock,
|
|
41500
41538
|
lockId,
|
|
@@ -41663,7 +41701,7 @@ var live_excluded = (/* unused pure expression or super */ null && (["liveDateSt
|
|
|
41663
41701
|
|
|
41664
41702
|
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; }
|
|
41665
41703
|
|
|
41666
|
-
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,
|
|
41704
|
+
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,esm_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; }
|
|
41667
41705
|
|
|
41668
41706
|
|
|
41669
41707
|
|
|
@@ -42012,7 +42050,7 @@ function _getLiveAPICache() {
|
|
|
42012
42050
|
}
|
|
42013
42051
|
|
|
42014
42052
|
function _getLiveAPICache2() {
|
|
42015
|
-
_getLiveAPICache2 =
|
|
42053
|
+
_getLiveAPICache2 = esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee11() {
|
|
42016
42054
|
var url, result, serverTime;
|
|
42017
42055
|
return regeneratorRuntime.wrap(function _callee11$(_context11) {
|
|
42018
42056
|
while (1) {
|
|
@@ -42054,7 +42092,7 @@ function getOpenClassWithCache(_x11) {
|
|
|
42054
42092
|
} // 公开直播详情变化部分,失败要降级处理
|
|
42055
42093
|
|
|
42056
42094
|
function _getOpenClassWithCache() {
|
|
42057
|
-
_getOpenClassWithCache =
|
|
42095
|
+
_getOpenClassWithCache = esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee12(url) {
|
|
42058
42096
|
var fullUrl, cacheInfo, cacheData, result, serverTime;
|
|
42059
42097
|
return regeneratorRuntime.wrap(function _callee12$(_context12) {
|
|
42060
42098
|
while (1) {
|
|
@@ -42128,7 +42166,7 @@ function getOpenClassLiveSimple(_x12) {
|
|
|
42128
42166
|
} // 公开直播详情拆分成两个接口
|
|
42129
42167
|
|
|
42130
42168
|
function _getOpenClassLiveSimple() {
|
|
42131
|
-
_getOpenClassLiveSimple =
|
|
42169
|
+
_getOpenClassLiveSimple = esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee13(liveInfo) {
|
|
42132
42170
|
var url, data;
|
|
42133
42171
|
return regeneratorRuntime.wrap(function _callee13$(_context13) {
|
|
42134
42172
|
while (1) {
|
|
@@ -42169,7 +42207,7 @@ function getOpenClassLiveBase(_x13) {
|
|
|
42169
42207
|
} // 公开实时直播-发起直播-公共直播邀请页使用,适配为班级直播数据
|
|
42170
42208
|
|
|
42171
42209
|
function _getOpenClassLiveBase() {
|
|
42172
|
-
_getOpenClassLiveBase =
|
|
42210
|
+
_getOpenClassLiveBase = esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee14(id) {
|
|
42173
42211
|
var url, data, subType, dynamicInfo;
|
|
42174
42212
|
return regeneratorRuntime.wrap(function _callee14$(_context14) {
|
|
42175
42213
|
while (1) {
|
|
@@ -42251,7 +42289,7 @@ function getOpenClassLive(_x15) {
|
|
|
42251
42289
|
}
|
|
42252
42290
|
|
|
42253
42291
|
function _getOpenClassLive() {
|
|
42254
|
-
_getOpenClassLive =
|
|
42292
|
+
_getOpenClassLive = esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee16(id) {
|
|
42255
42293
|
var serviceConfig, liveCloseLogin, data;
|
|
42256
42294
|
return regeneratorRuntime.wrap(function _callee16$(_context16) {
|
|
42257
42295
|
while (1) {
|
|
@@ -42366,7 +42404,7 @@ function OpenLiveSearchFront(_x18) {
|
|
|
42366
42404
|
*/
|
|
42367
42405
|
|
|
42368
42406
|
function _OpenLiveSearchFront() {
|
|
42369
|
-
_OpenLiveSearchFront =
|
|
42407
|
+
_OpenLiveSearchFront = esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee19(_ref2) {
|
|
42370
42408
|
var status, scopeType, scopeId, offset, limit, url, response;
|
|
42371
42409
|
return regeneratorRuntime.wrap(function _callee19$(_context19) {
|
|
42372
42410
|
while (1) {
|
|
@@ -42419,7 +42457,7 @@ function getSubscription() {
|
|
|
42419
42457
|
*/
|
|
42420
42458
|
|
|
42421
42459
|
function _getSubscription() {
|
|
42422
|
-
_getSubscription =
|
|
42460
|
+
_getSubscription = esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee20() {
|
|
42423
42461
|
var url, response;
|
|
42424
42462
|
return regeneratorRuntime.wrap(function _callee20$(_context20) {
|
|
42425
42463
|
while (1) {
|
|
@@ -42454,7 +42492,7 @@ function openLiveSubscribe(_x19) {
|
|
|
42454
42492
|
}
|
|
42455
42493
|
|
|
42456
42494
|
function _openLiveSubscribe() {
|
|
42457
|
-
_openLiveSubscribe =
|
|
42495
|
+
_openLiveSubscribe = esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee21(_ref3) {
|
|
42458
42496
|
var liveId, url, response;
|
|
42459
42497
|
return regeneratorRuntime.wrap(function _callee21$(_context21) {
|
|
42460
42498
|
while (1) {
|
|
@@ -42494,7 +42532,7 @@ var staticAPI = generateCommonAPI({
|
|
|
42494
42532
|
// 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
|
|
42495
42533
|
|
|
42496
42534
|
var getIMLiveInfo = /*#__PURE__*/function () {
|
|
42497
|
-
var _ref =
|
|
42535
|
+
var _ref = esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(roomId) {
|
|
42498
42536
|
var url, response;
|
|
42499
42537
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
42500
42538
|
while (1) {
|
|
@@ -42529,7 +42567,7 @@ var getIMLiveInfo = /*#__PURE__*/function () {
|
|
|
42529
42567
|
*/
|
|
42530
42568
|
|
|
42531
42569
|
var getGuestIMLiveInfoStatic = /*#__PURE__*/function () {
|
|
42532
|
-
var _ref2 =
|
|
42570
|
+
var _ref2 = esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(bId) {
|
|
42533
42571
|
var _yield$imBroadcastsSt, data;
|
|
42534
42572
|
|
|
42535
42573
|
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
@@ -42559,7 +42597,7 @@ var getGuestIMLiveInfoStatic = /*#__PURE__*/function () {
|
|
|
42559
42597
|
// 访客获取直播接口
|
|
42560
42598
|
|
|
42561
42599
|
var getGuestIMLiveInfo = /*#__PURE__*/function () {
|
|
42562
|
-
var _ref3 =
|
|
42600
|
+
var _ref3 = esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(bId) {
|
|
42563
42601
|
var _yield$imBroadcastsAP, data;
|
|
42564
42602
|
|
|
42565
42603
|
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
@@ -42630,6 +42668,166 @@ var spin_style_update = injectStylesIntoStyleTag_default()(spin_style/* default
|
|
|
42630
42668
|
;// CONCATENATED MODULE: ./node_modules/@sdp.nd/fish/es/spin/style/index.js
|
|
42631
42669
|
|
|
42632
42670
|
|
|
42671
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
|
|
42672
|
+
|
|
42673
|
+
function esm_extends_extends() {
|
|
42674
|
+
esm_extends_extends = Object.assign || function (target) {
|
|
42675
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
42676
|
+
var source = arguments[i];
|
|
42677
|
+
|
|
42678
|
+
for (var key in source) {
|
|
42679
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
42680
|
+
target[key] = source[key];
|
|
42681
|
+
}
|
|
42682
|
+
}
|
|
42683
|
+
}
|
|
42684
|
+
|
|
42685
|
+
return target;
|
|
42686
|
+
};
|
|
42687
|
+
|
|
42688
|
+
return esm_extends_extends.apply(this, arguments);
|
|
42689
|
+
}
|
|
42690
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
|
42691
|
+
function classCallCheck_classCallCheck(instance, Constructor) {
|
|
42692
|
+
if (!(instance instanceof Constructor)) {
|
|
42693
|
+
throw new TypeError("Cannot call a class as a function");
|
|
42694
|
+
}
|
|
42695
|
+
}
|
|
42696
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
|
|
42697
|
+
function createClass_defineProperties(target, props) {
|
|
42698
|
+
for (var i = 0; i < props.length; i++) {
|
|
42699
|
+
var descriptor = props[i];
|
|
42700
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
42701
|
+
descriptor.configurable = true;
|
|
42702
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
42703
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
42704
|
+
}
|
|
42705
|
+
}
|
|
42706
|
+
|
|
42707
|
+
function createClass_createClass(Constructor, protoProps, staticProps) {
|
|
42708
|
+
if (protoProps) createClass_defineProperties(Constructor.prototype, protoProps);
|
|
42709
|
+
if (staticProps) createClass_defineProperties(Constructor, staticProps);
|
|
42710
|
+
return Constructor;
|
|
42711
|
+
}
|
|
42712
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
|
|
42713
|
+
function setPrototypeOf_setPrototypeOf(o, p) {
|
|
42714
|
+
setPrototypeOf_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
42715
|
+
o.__proto__ = p;
|
|
42716
|
+
return o;
|
|
42717
|
+
};
|
|
42718
|
+
|
|
42719
|
+
return setPrototypeOf_setPrototypeOf(o, p);
|
|
42720
|
+
}
|
|
42721
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js
|
|
42722
|
+
|
|
42723
|
+
function inherits_inherits(subClass, superClass) {
|
|
42724
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
42725
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
42726
|
+
}
|
|
42727
|
+
|
|
42728
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
42729
|
+
constructor: {
|
|
42730
|
+
value: subClass,
|
|
42731
|
+
writable: true,
|
|
42732
|
+
configurable: true
|
|
42733
|
+
}
|
|
42734
|
+
});
|
|
42735
|
+
if (superClass) setPrototypeOf_setPrototypeOf(subClass, superClass);
|
|
42736
|
+
}
|
|
42737
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.reflect.construct.js
|
|
42738
|
+
var es_reflect_construct = __webpack_require__(2419);
|
|
42739
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.get-prototype-of.js
|
|
42740
|
+
var es_object_get_prototype_of = __webpack_require__(489);
|
|
42741
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
|
|
42742
|
+
|
|
42743
|
+
function getPrototypeOf_getPrototypeOf(o) {
|
|
42744
|
+
getPrototypeOf_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
42745
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
42746
|
+
};
|
|
42747
|
+
return getPrototypeOf_getPrototypeOf(o);
|
|
42748
|
+
}
|
|
42749
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
|
|
42750
|
+
|
|
42751
|
+
function isNativeReflectConstruct_isNativeReflectConstruct() {
|
|
42752
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
42753
|
+
if (Reflect.construct.sham) return false;
|
|
42754
|
+
if (typeof Proxy === "function") return true;
|
|
42755
|
+
|
|
42756
|
+
try {
|
|
42757
|
+
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
42758
|
+
return true;
|
|
42759
|
+
} catch (e) {
|
|
42760
|
+
return false;
|
|
42761
|
+
}
|
|
42762
|
+
}
|
|
42763
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.description.js
|
|
42764
|
+
var es_symbol_description = __webpack_require__(1817);
|
|
42765
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.iterator.js
|
|
42766
|
+
var es_symbol_iterator = __webpack_require__(2165);
|
|
42767
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
42768
|
+
|
|
42769
|
+
|
|
42770
|
+
|
|
42771
|
+
|
|
42772
|
+
|
|
42773
|
+
|
|
42774
|
+
|
|
42775
|
+
function esm_typeof_typeof(obj) {
|
|
42776
|
+
"@babel/helpers - typeof";
|
|
42777
|
+
|
|
42778
|
+
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
42779
|
+
esm_typeof_typeof = function _typeof(obj) {
|
|
42780
|
+
return typeof obj;
|
|
42781
|
+
};
|
|
42782
|
+
} else {
|
|
42783
|
+
esm_typeof_typeof = function _typeof(obj) {
|
|
42784
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
42785
|
+
};
|
|
42786
|
+
}
|
|
42787
|
+
|
|
42788
|
+
return esm_typeof_typeof(obj);
|
|
42789
|
+
}
|
|
42790
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
|
42791
|
+
function assertThisInitialized_assertThisInitialized(self) {
|
|
42792
|
+
if (self === void 0) {
|
|
42793
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
42794
|
+
}
|
|
42795
|
+
|
|
42796
|
+
return self;
|
|
42797
|
+
}
|
|
42798
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
|
|
42799
|
+
|
|
42800
|
+
|
|
42801
|
+
function possibleConstructorReturn_possibleConstructorReturn(self, call) {
|
|
42802
|
+
if (call && (esm_typeof_typeof(call) === "object" || typeof call === "function")) {
|
|
42803
|
+
return call;
|
|
42804
|
+
} else if (call !== void 0) {
|
|
42805
|
+
throw new TypeError("Derived constructors may only return object or undefined");
|
|
42806
|
+
}
|
|
42807
|
+
|
|
42808
|
+
return assertThisInitialized_assertThisInitialized(self);
|
|
42809
|
+
}
|
|
42810
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js
|
|
42811
|
+
|
|
42812
|
+
|
|
42813
|
+
|
|
42814
|
+
|
|
42815
|
+
function createSuper_createSuper(Derived) {
|
|
42816
|
+
var hasNativeReflectConstruct = isNativeReflectConstruct_isNativeReflectConstruct();
|
|
42817
|
+
return function _createSuperInternal() {
|
|
42818
|
+
var Super = getPrototypeOf_getPrototypeOf(Derived),
|
|
42819
|
+
result;
|
|
42820
|
+
|
|
42821
|
+
if (hasNativeReflectConstruct) {
|
|
42822
|
+
var NewTarget = getPrototypeOf_getPrototypeOf(this).constructor;
|
|
42823
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
42824
|
+
} else {
|
|
42825
|
+
result = Super.apply(this, arguments);
|
|
42826
|
+
}
|
|
42827
|
+
|
|
42828
|
+
return possibleConstructorReturn_possibleConstructorReturn(this, result);
|
|
42829
|
+
};
|
|
42830
|
+
}
|
|
42633
42831
|
// EXTERNAL MODULE: ./node_modules/lodash/debounce.js
|
|
42634
42832
|
var debounce = __webpack_require__(3279);
|
|
42635
42833
|
var debounce_default = /*#__PURE__*/__webpack_require__.n(debounce);
|
|
@@ -42738,14 +42936,14 @@ function shouldDelay(spinning, delay) {
|
|
|
42738
42936
|
}
|
|
42739
42937
|
|
|
42740
42938
|
var Spin = /*#__PURE__*/function (_React$Component) {
|
|
42741
|
-
|
|
42939
|
+
inherits_inherits(Spin, _React$Component);
|
|
42742
42940
|
|
|
42743
|
-
var _super =
|
|
42941
|
+
var _super = createSuper_createSuper(Spin);
|
|
42744
42942
|
|
|
42745
42943
|
function Spin(props) {
|
|
42746
42944
|
var _this;
|
|
42747
42945
|
|
|
42748
|
-
|
|
42946
|
+
classCallCheck_classCallCheck(this, Spin);
|
|
42749
42947
|
|
|
42750
42948
|
_this = _super.call(this, props);
|
|
42751
42949
|
|
|
@@ -42788,10 +42986,10 @@ var Spin = /*#__PURE__*/function (_React$Component) {
|
|
|
42788
42986
|
|
|
42789
42987
|
var spinning = _this.state.spinning;
|
|
42790
42988
|
var prefixCls = getPrefixCls('spin', customizePrefixCls);
|
|
42791
|
-
var spinClassName = classnames_default()(prefixCls, (_classNames = {}, (0,
|
|
42989
|
+
var spinClassName = classnames_default()(prefixCls, (_classNames = {}, (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-sm"), size === 'small'), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-lg"), size === 'large'), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-spinning"), spinning), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-show-text"), !!tip), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className); // fix https://fb.me/react-unknown-prop
|
|
42792
42990
|
|
|
42793
42991
|
var divProps = omit(restProps, ['spinning', 'delay', 'indicator']);
|
|
42794
|
-
var spinElement = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div",
|
|
42992
|
+
var spinElement = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({}, divProps, {
|
|
42795
42993
|
style: style,
|
|
42796
42994
|
className: spinClassName
|
|
42797
42995
|
}), renderIndicator(prefixCls, _this.props), tip ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
@@ -42799,8 +42997,8 @@ var Spin = /*#__PURE__*/function (_React$Component) {
|
|
|
42799
42997
|
}, tip) : null);
|
|
42800
42998
|
|
|
42801
42999
|
if (_this.isNestedPattern()) {
|
|
42802
|
-
var containerClassName = classnames_default()("".concat(prefixCls, "-container"), (0,
|
|
42803
|
-
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div",
|
|
43000
|
+
var containerClassName = classnames_default()("".concat(prefixCls, "-container"), (0,esm_defineProperty/* default */.Z)({}, "".concat(prefixCls, "-blur"), spinning));
|
|
43001
|
+
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({}, divProps, {
|
|
42804
43002
|
className: classnames_default()("".concat(prefixCls, "-nested-loading"), wrapperClassName)
|
|
42805
43003
|
}), spinning && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
42806
43004
|
key: "loading"
|
|
@@ -42826,7 +43024,7 @@ var Spin = /*#__PURE__*/function (_React$Component) {
|
|
|
42826
43024
|
return _this;
|
|
42827
43025
|
}
|
|
42828
43026
|
|
|
42829
|
-
|
|
43027
|
+
createClass_createClass(Spin, [{
|
|
42830
43028
|
key: "componentDidMount",
|
|
42831
43029
|
value: function componentDidMount() {
|
|
42832
43030
|
this.updateSpinning();
|
|
@@ -42995,117 +43193,6 @@ var video_style_update = injectStylesIntoStyleTag_default()(video_style/* defaul
|
|
|
42995
43193
|
;// CONCATENATED MODULE: ./node_modules/@sdp.nd/fish/es/video/style/index.js
|
|
42996
43194
|
|
|
42997
43195
|
|
|
42998
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
|
|
42999
|
-
|
|
43000
|
-
function esm_extends_extends() {
|
|
43001
|
-
esm_extends_extends = Object.assign || function (target) {
|
|
43002
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
43003
|
-
var source = arguments[i];
|
|
43004
|
-
|
|
43005
|
-
for (var key in source) {
|
|
43006
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
43007
|
-
target[key] = source[key];
|
|
43008
|
-
}
|
|
43009
|
-
}
|
|
43010
|
-
}
|
|
43011
|
-
|
|
43012
|
-
return target;
|
|
43013
|
-
};
|
|
43014
|
-
|
|
43015
|
-
return esm_extends_extends.apply(this, arguments);
|
|
43016
|
-
}
|
|
43017
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
|
43018
|
-
function assertThisInitialized_assertThisInitialized(self) {
|
|
43019
|
-
if (self === void 0) {
|
|
43020
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
43021
|
-
}
|
|
43022
|
-
|
|
43023
|
-
return self;
|
|
43024
|
-
}
|
|
43025
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
|
|
43026
|
-
function setPrototypeOf_setPrototypeOf(o, p) {
|
|
43027
|
-
setPrototypeOf_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
43028
|
-
o.__proto__ = p;
|
|
43029
|
-
return o;
|
|
43030
|
-
};
|
|
43031
|
-
|
|
43032
|
-
return setPrototypeOf_setPrototypeOf(o, p);
|
|
43033
|
-
}
|
|
43034
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js
|
|
43035
|
-
|
|
43036
|
-
function inherits_inherits(subClass, superClass) {
|
|
43037
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
43038
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
43039
|
-
}
|
|
43040
|
-
|
|
43041
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
43042
|
-
constructor: {
|
|
43043
|
-
value: subClass,
|
|
43044
|
-
writable: true,
|
|
43045
|
-
configurable: true
|
|
43046
|
-
}
|
|
43047
|
-
});
|
|
43048
|
-
if (superClass) setPrototypeOf_setPrototypeOf(subClass, superClass);
|
|
43049
|
-
}
|
|
43050
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.reflect.construct.js
|
|
43051
|
-
var es_reflect_construct = __webpack_require__(2419);
|
|
43052
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.get-prototype-of.js
|
|
43053
|
-
var es_object_get_prototype_of = __webpack_require__(489);
|
|
43054
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
|
|
43055
|
-
|
|
43056
|
-
function getPrototypeOf_getPrototypeOf(o) {
|
|
43057
|
-
getPrototypeOf_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
43058
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
43059
|
-
};
|
|
43060
|
-
return getPrototypeOf_getPrototypeOf(o);
|
|
43061
|
-
}
|
|
43062
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
|
|
43063
|
-
|
|
43064
|
-
function isNativeReflectConstruct_isNativeReflectConstruct() {
|
|
43065
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
43066
|
-
if (Reflect.construct.sham) return false;
|
|
43067
|
-
if (typeof Proxy === "function") return true;
|
|
43068
|
-
|
|
43069
|
-
try {
|
|
43070
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
43071
|
-
return true;
|
|
43072
|
-
} catch (e) {
|
|
43073
|
-
return false;
|
|
43074
|
-
}
|
|
43075
|
-
}
|
|
43076
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
|
|
43077
|
-
|
|
43078
|
-
|
|
43079
|
-
function possibleConstructorReturn_possibleConstructorReturn(self, call) {
|
|
43080
|
-
if (call && (esm_typeof_typeof(call) === "object" || typeof call === "function")) {
|
|
43081
|
-
return call;
|
|
43082
|
-
} else if (call !== void 0) {
|
|
43083
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
43084
|
-
}
|
|
43085
|
-
|
|
43086
|
-
return assertThisInitialized_assertThisInitialized(self);
|
|
43087
|
-
}
|
|
43088
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js
|
|
43089
|
-
|
|
43090
|
-
|
|
43091
|
-
|
|
43092
|
-
|
|
43093
|
-
function createSuper_createSuper(Derived) {
|
|
43094
|
-
var hasNativeReflectConstruct = isNativeReflectConstruct_isNativeReflectConstruct();
|
|
43095
|
-
return function _createSuperInternal() {
|
|
43096
|
-
var Super = getPrototypeOf_getPrototypeOf(Derived),
|
|
43097
|
-
result;
|
|
43098
|
-
|
|
43099
|
-
if (hasNativeReflectConstruct) {
|
|
43100
|
-
var NewTarget = getPrototypeOf_getPrototypeOf(this).constructor;
|
|
43101
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
43102
|
-
} else {
|
|
43103
|
-
result = Super.apply(this, arguments);
|
|
43104
|
-
}
|
|
43105
|
-
|
|
43106
|
-
return possibleConstructorReturn_possibleConstructorReturn(this, result);
|
|
43107
|
-
};
|
|
43108
|
-
}
|
|
43109
43196
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
|
|
43110
43197
|
var regenerator = __webpack_require__(5273);
|
|
43111
43198
|
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
|
@@ -43345,37 +43432,6 @@ Video.defaultProps = {
|
|
|
43345
43432
|
mediaType: 'video'
|
|
43346
43433
|
};
|
|
43347
43434
|
Video.url = {};
|
|
43348
|
-
;// CONCATENATED MODULE: ./src/util/video.js
|
|
43349
|
-
|
|
43350
|
-
|
|
43351
|
-
// 获取类型
|
|
43352
|
-
|
|
43353
|
-
var getType = function getType(type) {
|
|
43354
|
-
if (['mp3', 'wav', 'ogg'].includes(type)) {
|
|
43355
|
-
return "audio/".concat(type);
|
|
43356
|
-
}
|
|
43357
|
-
|
|
43358
|
-
if (type === 'm3u8') {
|
|
43359
|
-
return 'application/x-mpegURL';
|
|
43360
|
-
}
|
|
43361
|
-
|
|
43362
|
-
return "video/".concat(type);
|
|
43363
|
-
}; // 获取资源 url 的类型
|
|
43364
|
-
|
|
43365
|
-
var getUrlType = function getUrlType(url) {
|
|
43366
|
-
var video = /.*\.(mp4|mp3|wav|webm|ogg|m3u8)/i.exec(url);
|
|
43367
|
-
var type = '';
|
|
43368
|
-
|
|
43369
|
-
if (video !== null && video !== void 0 && video[1]) {
|
|
43370
|
-
type = video[1].toLowerCase();
|
|
43371
|
-
}
|
|
43372
|
-
|
|
43373
|
-
return type;
|
|
43374
|
-
}; // win7-ie11下播放m3u8,提示用户视频无法播放
|
|
43375
|
-
|
|
43376
|
-
var showPlayerTip = function showPlayerTip(url) {
|
|
43377
|
-
return isIE() && isWin7() && getUrlType(url) === 'm3u8';
|
|
43378
|
-
};
|
|
43379
43435
|
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
|
43380
43436
|
function arrayWithHoles_arrayWithHoles(arr) {
|
|
43381
43437
|
if (Array.isArray(arr)) return arr;
|
|
@@ -43458,6 +43514,37 @@ function nonIterableRest_nonIterableRest() {
|
|
|
43458
43514
|
function slicedToArray_slicedToArray(arr, i) {
|
|
43459
43515
|
return arrayWithHoles_arrayWithHoles(arr) || iterableToArrayLimit_iterableToArrayLimit(arr, i) || unsupportedIterableToArray_unsupportedIterableToArray(arr, i) || nonIterableRest_nonIterableRest();
|
|
43460
43516
|
}
|
|
43517
|
+
;// CONCATENATED MODULE: ./src/util/video.js
|
|
43518
|
+
|
|
43519
|
+
|
|
43520
|
+
// 获取类型
|
|
43521
|
+
|
|
43522
|
+
var getType = function getType(type) {
|
|
43523
|
+
if (['mp3', 'wav', 'ogg'].includes(type)) {
|
|
43524
|
+
return "audio/".concat(type);
|
|
43525
|
+
}
|
|
43526
|
+
|
|
43527
|
+
if (type === 'm3u8') {
|
|
43528
|
+
return 'application/x-mpegURL';
|
|
43529
|
+
}
|
|
43530
|
+
|
|
43531
|
+
return "video/".concat(type);
|
|
43532
|
+
}; // 获取资源 url 的类型
|
|
43533
|
+
|
|
43534
|
+
var getUrlType = function getUrlType(url) {
|
|
43535
|
+
var video = /.*\.(mp4|mp3|wav|webm|ogg|m3u8)/i.exec(url);
|
|
43536
|
+
var type = '';
|
|
43537
|
+
|
|
43538
|
+
if (video !== null && video !== void 0 && video[1]) {
|
|
43539
|
+
type = video[1].toLowerCase();
|
|
43540
|
+
}
|
|
43541
|
+
|
|
43542
|
+
return type;
|
|
43543
|
+
}; // win7-ie11下播放m3u8,提示用户视频无法播放
|
|
43544
|
+
|
|
43545
|
+
var showPlayerTip = function showPlayerTip(url) {
|
|
43546
|
+
return isIE() && isWin7() && getUrlType(url) === 'm3u8';
|
|
43547
|
+
};
|
|
43461
43548
|
;// CONCATENATED MODULE: ./node_modules/ahooks/es/usePersistFn/index.js
|
|
43462
43549
|
|
|
43463
43550
|
|
|
@@ -43621,45 +43708,6 @@ var index_module_update = injectStylesIntoStyleTag_default()(index_module/* defa
|
|
|
43621
43708
|
|
|
43622
43709
|
/* harmony default export */ var LiveCountDown_index_module = (index_module/* default */.Z && index_module/* default.locals */.Z.locals ? index_module/* default.locals */.Z.locals : undefined);
|
|
43623
43710
|
|
|
43624
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
43625
|
-
|
|
43626
|
-
|
|
43627
|
-
|
|
43628
|
-
function asyncToGenerator_asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
43629
|
-
try {
|
|
43630
|
-
var info = gen[key](arg);
|
|
43631
|
-
var value = info.value;
|
|
43632
|
-
} catch (error) {
|
|
43633
|
-
reject(error);
|
|
43634
|
-
return;
|
|
43635
|
-
}
|
|
43636
|
-
|
|
43637
|
-
if (info.done) {
|
|
43638
|
-
resolve(value);
|
|
43639
|
-
} else {
|
|
43640
|
-
Promise.resolve(value).then(_next, _throw);
|
|
43641
|
-
}
|
|
43642
|
-
}
|
|
43643
|
-
|
|
43644
|
-
function esm_asyncToGenerator_asyncToGenerator(fn) {
|
|
43645
|
-
return function () {
|
|
43646
|
-
var self = this,
|
|
43647
|
-
args = arguments;
|
|
43648
|
-
return new Promise(function (resolve, reject) {
|
|
43649
|
-
var gen = fn.apply(self, args);
|
|
43650
|
-
|
|
43651
|
-
function _next(value) {
|
|
43652
|
-
asyncToGenerator_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
43653
|
-
}
|
|
43654
|
-
|
|
43655
|
-
function _throw(err) {
|
|
43656
|
-
asyncToGenerator_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
43657
|
-
}
|
|
43658
|
-
|
|
43659
|
-
_next(undefined);
|
|
43660
|
-
});
|
|
43661
|
-
};
|
|
43662
|
-
}
|
|
43663
43711
|
;// CONCATENATED MODULE: ./src/hook/useIsMounted.js
|
|
43664
43712
|
|
|
43665
43713
|
|
|
@@ -44326,12 +44374,12 @@ function RecordVideo(_ref) {
|
|
|
44326
44374
|
var isFullScreenRef = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useRef)(false);
|
|
44327
44375
|
|
|
44328
44376
|
var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(false),
|
|
44329
|
-
_useState2 =
|
|
44377
|
+
_useState2 = slicedToArray_slicedToArray(_useState, 2),
|
|
44330
44378
|
isLiveLoading = _useState2[0],
|
|
44331
44379
|
setIsLiveLoading = _useState2[1];
|
|
44332
44380
|
|
|
44333
44381
|
var _useState3 = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(false),
|
|
44334
|
-
_useState4 =
|
|
44382
|
+
_useState4 = slicedToArray_slicedToArray(_useState3, 2),
|
|
44335
44383
|
isLiveLoadError = _useState4[0],
|
|
44336
44384
|
setIsLiveLoadError = _useState4[1];
|
|
44337
44385
|
|
|
@@ -44481,7 +44529,7 @@ var loader_style = __webpack_require__(4646);
|
|
|
44481
44529
|
|
|
44482
44530
|
function AliPlayer_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; }
|
|
44483
44531
|
|
|
44484
|
-
function AliPlayer_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { AliPlayer_ownKeys(Object(source), true).forEach(function (key) {
|
|
44532
|
+
function AliPlayer_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { AliPlayer_ownKeys(Object(source), true).forEach(function (key) { (0,esm_defineProperty/* default */.Z)(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { AliPlayer_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
44485
44533
|
|
|
44486
44534
|
|
|
44487
44535
|
var AliPlayer_loadCSS = loader.loadCSS,
|
|
@@ -45354,7 +45402,7 @@ function objectSpread2_objectSpread2(target) {
|
|
|
45354
45402
|
|
|
45355
45403
|
if (i % 2) {
|
|
45356
45404
|
objectSpread2_ownKeys(Object(source), true).forEach(function (key) {
|
|
45357
|
-
|
|
45405
|
+
(0,esm_defineProperty/* default */.Z)(target, key, source[key]);
|
|
45358
45406
|
});
|
|
45359
45407
|
} else if (Object.getOwnPropertyDescriptors) {
|
|
45360
45408
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
@@ -46478,13 +46526,13 @@ function useStatus(supportMotion, visible, getElement, _ref) {
|
|
|
46478
46526
|
|
|
46479
46527
|
switch (status) {
|
|
46480
46528
|
case 'appear':
|
|
46481
|
-
return _ref2 = {},
|
|
46529
|
+
return _ref2 = {}, (0,esm_defineProperty/* default */.Z)(_ref2, STEP_PREPARE, onAppearPrepare), (0,esm_defineProperty/* default */.Z)(_ref2, STEP_START, onAppearStart), (0,esm_defineProperty/* default */.Z)(_ref2, STEP_ACTIVE, onAppearActive), _ref2;
|
|
46482
46530
|
|
|
46483
46531
|
case 'enter':
|
|
46484
|
-
return _ref3 = {},
|
|
46532
|
+
return _ref3 = {}, (0,esm_defineProperty/* default */.Z)(_ref3, STEP_PREPARE, onEnterPrepare), (0,esm_defineProperty/* default */.Z)(_ref3, STEP_START, onEnterStart), (0,esm_defineProperty/* default */.Z)(_ref3, STEP_ACTIVE, onEnterActive), _ref3;
|
|
46485
46533
|
|
|
46486
46534
|
case 'leave':
|
|
46487
|
-
return _ref4 = {},
|
|
46535
|
+
return _ref4 = {}, (0,esm_defineProperty/* default */.Z)(_ref4, STEP_PREPARE, onLeavePrepare), (0,esm_defineProperty/* default */.Z)(_ref4, STEP_START, onLeaveStart), (0,esm_defineProperty/* default */.Z)(_ref4, STEP_ACTIVE, onLeaveActive), _ref4;
|
|
46488
46536
|
|
|
46489
46537
|
default:
|
|
46490
46538
|
return {};
|
|
@@ -46750,7 +46798,7 @@ function genCSSMotion(config) {
|
|
|
46750
46798
|
}
|
|
46751
46799
|
|
|
46752
46800
|
motionChildren = children(objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, mergedProps), {}, {
|
|
46753
|
-
className: classnames_default()(getTransitionName(motionName, status), (_classNames = {},
|
|
46801
|
+
className: classnames_default()(getTransitionName(motionName, status), (_classNames = {}, (0,esm_defineProperty/* default */.Z)(_classNames, getTransitionName(motionName, "".concat(status, "-").concat(statusSuffix)), statusSuffix), (0,esm_defineProperty/* default */.Z)(_classNames, motionName, typeof motionName === 'string'), _classNames)),
|
|
46754
46802
|
style: statusStyle
|
|
46755
46803
|
}), setNodeRef);
|
|
46756
46804
|
}
|
|
@@ -46763,43 +46811,6 @@ function genCSSMotion(config) {
|
|
|
46763
46811
|
return CSSMotion;
|
|
46764
46812
|
}
|
|
46765
46813
|
/* harmony default export */ var es_CSSMotion = (genCSSMotion(supportTransition));
|
|
46766
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
|
46767
|
-
|
|
46768
|
-
function objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(source, excluded) {
|
|
46769
|
-
if (source == null) return {};
|
|
46770
|
-
var target = {};
|
|
46771
|
-
var sourceKeys = Object.keys(source);
|
|
46772
|
-
var key, i;
|
|
46773
|
-
|
|
46774
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
46775
|
-
key = sourceKeys[i];
|
|
46776
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
46777
|
-
target[key] = source[key];
|
|
46778
|
-
}
|
|
46779
|
-
|
|
46780
|
-
return target;
|
|
46781
|
-
}
|
|
46782
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
|
46783
|
-
|
|
46784
|
-
|
|
46785
|
-
function esm_objectWithoutProperties_objectWithoutProperties(source, excluded) {
|
|
46786
|
-
if (source == null) return {};
|
|
46787
|
-
var target = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(source, excluded);
|
|
46788
|
-
var key, i;
|
|
46789
|
-
|
|
46790
|
-
if (Object.getOwnPropertySymbols) {
|
|
46791
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
46792
|
-
|
|
46793
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
46794
|
-
key = sourceSymbolKeys[i];
|
|
46795
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
46796
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
46797
|
-
target[key] = source[key];
|
|
46798
|
-
}
|
|
46799
|
-
}
|
|
46800
|
-
|
|
46801
|
-
return target;
|
|
46802
|
-
}
|
|
46803
46814
|
;// CONCATENATED MODULE: ./node_modules/rc-motion/es/util/diff.js
|
|
46804
46815
|
|
|
46805
46816
|
|
|
@@ -47638,7 +47649,7 @@ var ButtonGroup = function ButtonGroup(props) {
|
|
|
47638
47649
|
console.warn(new UnreachableException(size).error);
|
|
47639
47650
|
}
|
|
47640
47651
|
|
|
47641
|
-
var classes = classnames_default()(prefixCls, (_classNames = {},
|
|
47652
|
+
var classes = classnames_default()(prefixCls, (_classNames = {}, (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(sizeCls), sizeCls), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className);
|
|
47642
47653
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({}, others, {
|
|
47643
47654
|
className: classes
|
|
47644
47655
|
}));
|
|
@@ -48211,7 +48222,7 @@ var InternalButton = function InternalButton(props, ref) {
|
|
|
48211
48222
|
var sizeFullname = customizeSize || size;
|
|
48212
48223
|
var sizeCls = sizeFullname ? sizeClassNameMap[sizeFullname] || '' : '';
|
|
48213
48224
|
var iconType = innerLoading ? 'loading' : icon;
|
|
48214
|
-
var classes = classnames_default()(prefixCls, (_classNames = {},
|
|
48225
|
+
var classes = classnames_default()(prefixCls, (_classNames = {}, (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(type), type), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(shape), shape !== 'default' && shape), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(sizeCls), sizeCls), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-icon-only"), !children && children !== 0 && !!iconType), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-background-ghost"), ghost && !isUnborderedButtonType(type)), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-loading"), innerLoading), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-two-chinese-chars"), hasTwoCNChar && autoInsertSpace), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-block"), block), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-dangerous"), !!danger), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className);
|
|
48215
48226
|
var iconNode;
|
|
48216
48227
|
|
|
48217
48228
|
if (typeof iconType === 'string' && iconType !== 'loading') {
|
|
@@ -48452,7 +48463,7 @@ var Modal = function Modal(props) {
|
|
|
48452
48463
|
type: "close",
|
|
48453
48464
|
className: "".concat(prefixCls, "-close-icon")
|
|
48454
48465
|
}));
|
|
48455
|
-
var wrapClassNameExtended = classnames_default()(wrapClassName, (_classNames = {},
|
|
48466
|
+
var wrapClassNameExtended = classnames_default()(wrapClassName, (_classNames = {}, (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-centered"), !!centered), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrap-rtl"), direction === 'rtl'), _classNames));
|
|
48456
48467
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(rc_dialog_es, esm_extends_extends({}, restProps, {
|
|
48457
48468
|
getContainer: getContainer === undefined ? getContextPopupContainer : getContainer,
|
|
48458
48469
|
prefixCls: prefixCls,
|
|
@@ -50317,13 +50328,13 @@ function _validateRule() {
|
|
|
50317
50328
|
delete cloneRule.defaultField;
|
|
50318
50329
|
}
|
|
50319
50330
|
|
|
50320
|
-
validator = new AsyncValidator(
|
|
50331
|
+
validator = new AsyncValidator((0,esm_defineProperty/* default */.Z)({}, name, [cloneRule]));
|
|
50321
50332
|
messages = setValues({}, defaultValidateMessages, options.validateMessages);
|
|
50322
50333
|
validator.messages(messages);
|
|
50323
50334
|
result = [];
|
|
50324
50335
|
_context2.prev = 8;
|
|
50325
50336
|
_context2.next = 11;
|
|
50326
|
-
return Promise.resolve(validator.validate(
|
|
50337
|
+
return Promise.resolve(validator.validate((0,esm_defineProperty/* default */.Z)({}, name, value), objectSpread2_objectSpread2({}, options)));
|
|
50327
50338
|
|
|
50328
50339
|
case 11:
|
|
50329
50340
|
_context2.next = 16;
|
|
@@ -51059,7 +51070,7 @@ var Field = /*#__PURE__*/function (_React$Component) {
|
|
|
51059
51070
|
var value = _this.getValue();
|
|
51060
51071
|
|
|
51061
51072
|
var mergedGetValueProps = getValueProps || function (val) {
|
|
51062
|
-
return
|
|
51073
|
+
return (0,esm_defineProperty/* default */.Z)({}, valuePropName, val);
|
|
51063
51074
|
}; // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
51064
51075
|
|
|
51065
51076
|
|
|
@@ -52422,7 +52433,7 @@ var FormProvider = function FormProvider(_ref) {
|
|
|
52422
52433
|
},
|
|
52423
52434
|
registerForm: function registerForm(name, form) {
|
|
52424
52435
|
if (name) {
|
|
52425
|
-
formsRef.current = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, formsRef.current), {},
|
|
52436
|
+
formsRef.current = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, formsRef.current), {}, (0,esm_defineProperty/* default */.Z)({}, name, form));
|
|
52426
52437
|
}
|
|
52427
52438
|
|
|
52428
52439
|
formContext.registerForm(name, form);
|
|
@@ -52840,7 +52851,7 @@ var Notice = /*#__PURE__*/function (_Component) {
|
|
|
52840
52851
|
return acc;
|
|
52841
52852
|
}, {});
|
|
52842
52853
|
var node = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({
|
|
52843
|
-
className: classnames_default()(componentClass, className,
|
|
52854
|
+
className: classnames_default()(componentClass, className, (0,esm_defineProperty/* default */.Z)({}, "".concat(componentClass, "-closable"), closable)),
|
|
52844
52855
|
style: style,
|
|
52845
52856
|
onMouseEnter: this.clearCloseTimer,
|
|
52846
52857
|
onMouseLeave: this.startCloseTimer,
|
|
@@ -52881,7 +52892,7 @@ function useNotification_useNotification(notificationInstance) {
|
|
|
52881
52892
|
var createdRef = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useRef({});
|
|
52882
52893
|
|
|
52883
52894
|
var _React$useState = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState([]),
|
|
52884
|
-
_React$useState2 =
|
|
52895
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
52885
52896
|
elements = _React$useState2[0],
|
|
52886
52897
|
setElements = _React$useState2[1];
|
|
52887
52898
|
|
|
@@ -52891,7 +52902,7 @@ function useNotification_useNotification(notificationInstance) {
|
|
|
52891
52902
|
var key = props.key;
|
|
52892
52903
|
|
|
52893
52904
|
if (div && (!createdRef.current[key] || firstMount)) {
|
|
52894
|
-
var noticeEle = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Notice,
|
|
52905
|
+
var noticeEle = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Notice, extends_extends({}, props, {
|
|
52895
52906
|
holder: div
|
|
52896
52907
|
}));
|
|
52897
52908
|
createdRef.current[key] = noticeEle;
|
|
@@ -52901,10 +52912,10 @@ function useNotification_useNotification(notificationInstance) {
|
|
|
52901
52912
|
});
|
|
52902
52913
|
|
|
52903
52914
|
if (index === -1) {
|
|
52904
|
-
return [].concat(
|
|
52915
|
+
return [].concat(_toConsumableArray(originElements), [noticeEle]);
|
|
52905
52916
|
}
|
|
52906
52917
|
|
|
52907
|
-
var cloneList =
|
|
52918
|
+
var cloneList = _toConsumableArray(originElements);
|
|
52908
52919
|
|
|
52909
52920
|
cloneList[index] = noticeEle;
|
|
52910
52921
|
return cloneList;
|
|
@@ -54189,7 +54200,7 @@ var ConfirmDialog = function ConfirmDialog(props) {
|
|
|
54189
54200
|
|
|
54190
54201
|
var maskClosable = props.maskClosable === undefined ? false : props.maskClosable;
|
|
54191
54202
|
var autoFocusButton = props.autoFocusButton === null ? false : props.autoFocusButton || 'ok';
|
|
54192
|
-
var classString = classnames_default()(contentPrefixCls, "".concat(contentPrefixCls, "-").concat(props.type),
|
|
54203
|
+
var classString = classnames_default()(contentPrefixCls, "".concat(contentPrefixCls, "-").concat(props.type), (0,esm_defineProperty/* default */.Z)({}, "".concat(contentPrefixCls, "-rtl"), direction === 'rtl'), props.className);
|
|
54193
54204
|
var cancelButton = okCancel && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(_util_ActionButton, {
|
|
54194
54205
|
actionFn: onCancel,
|
|
54195
54206
|
close: close,
|
|
@@ -54207,7 +54218,7 @@ var ConfirmDialog = function ConfirmDialog(props) {
|
|
|
54207
54218
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(modal_Modal, {
|
|
54208
54219
|
prefixCls: prefixCls,
|
|
54209
54220
|
className: classString,
|
|
54210
|
-
wrapClassName: classnames_default()(
|
|
54221
|
+
wrapClassName: classnames_default()((0,esm_defineProperty/* default */.Z)({}, "".concat(contentPrefixCls, "-centered"), !!props.centered)),
|
|
54211
54222
|
onCancel: function onCancel() {
|
|
54212
54223
|
return close({
|
|
54213
54224
|
triggerCancel: true
|
|
@@ -54713,7 +54724,7 @@ var updateUrl = 'https://basic.smartedu.cn/upgrade.html';
|
|
|
54713
54724
|
|
|
54714
54725
|
function PlayerTip_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; }
|
|
54715
54726
|
|
|
54716
|
-
function PlayerTip_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { PlayerTip_ownKeys(Object(source), true).forEach(function (key) {
|
|
54727
|
+
function PlayerTip_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { PlayerTip_ownKeys(Object(source), true).forEach(function (key) { (0,esm_defineProperty/* default */.Z)(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { PlayerTip_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
54717
54728
|
|
|
54718
54729
|
|
|
54719
54730
|
// 播放不支持的视频类型时,提示用户
|
|
@@ -54812,7 +54823,7 @@ var LiveVideo_index_module_update = injectStylesIntoStyleTag_default()(LiveVideo
|
|
|
54812
54823
|
|
|
54813
54824
|
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; }
|
|
54814
54825
|
|
|
54815
|
-
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,
|
|
54826
|
+
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,esm_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; }
|
|
54816
54827
|
|
|
54817
54828
|
|
|
54818
54829
|
|
|
@@ -54871,7 +54882,7 @@ function LiveVideo(_ref) {
|
|
|
54871
54882
|
onRequestFullScreen = _ref$onRequestFullScr === void 0 ? function () {} : _ref$onRequestFullScr;
|
|
54872
54883
|
|
|
54873
54884
|
var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(false),
|
|
54874
|
-
_useState2 =
|
|
54885
|
+
_useState2 = slicedToArray_slicedToArray(_useState, 2),
|
|
54875
54886
|
isLiveLoading = _useState2[0],
|
|
54876
54887
|
setIsLiveLoadingHook = _useState2[1];
|
|
54877
54888
|
|
|
@@ -54884,12 +54895,12 @@ function LiveVideo(_ref) {
|
|
|
54884
54895
|
};
|
|
54885
54896
|
|
|
54886
54897
|
var _useState3 = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(false),
|
|
54887
|
-
_useState4 =
|
|
54898
|
+
_useState4 = slicedToArray_slicedToArray(_useState3, 2),
|
|
54888
54899
|
isLiveException = _useState4[0],
|
|
54889
54900
|
setIsLiveException = _useState4[1];
|
|
54890
54901
|
|
|
54891
54902
|
var _useState5 = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(false),
|
|
54892
|
-
_useState6 =
|
|
54903
|
+
_useState6 = slicedToArray_slicedToArray(_useState5, 2),
|
|
54893
54904
|
isLiveLoadError = _useState6[0],
|
|
54894
54905
|
setIsLiveLoadError = _useState6[1];
|
|
54895
54906
|
|
|
@@ -54987,7 +54998,7 @@ function LiveVideo(_ref) {
|
|
|
54987
54998
|
}
|
|
54988
54999
|
}, [showAliPlayer]);
|
|
54989
55000
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
|
|
54990
|
-
className: classnames_default()(detail_LiveVideo_index_module["live-video"], (0,
|
|
55001
|
+
className: classnames_default()(detail_LiveVideo_index_module["live-video"], (0,esm_defineProperty/* default */.Z)({}, detail_LiveVideo_index_module["hide-play-btn"], !canWatch))
|
|
54991
55002
|
}, showAliPlayer && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(AliPlayer, {
|
|
54992
55003
|
options: options,
|
|
54993
55004
|
onReady: handleVideoReady
|
|
@@ -55144,7 +55155,7 @@ function _toPropertyKey(arg) {
|
|
|
55144
55155
|
}
|
|
55145
55156
|
;// CONCATENATED MODULE: ./node_modules/rc-virtual-list/node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
55146
55157
|
|
|
55147
|
-
function
|
|
55158
|
+
function _defineProperty(obj, key, value) {
|
|
55148
55159
|
key = _toPropertyKey(key);
|
|
55149
55160
|
|
|
55150
55161
|
if (key in obj) {
|
|
@@ -55186,7 +55197,7 @@ function esm_objectSpread2_objectSpread2(target) {
|
|
|
55186
55197
|
for (var i = 1; i < arguments.length; i++) {
|
|
55187
55198
|
var source = null != arguments[i] ? arguments[i] : {};
|
|
55188
55199
|
i % 2 ? esm_objectSpread2_ownKeys(Object(source), !0).forEach(function (key) {
|
|
55189
|
-
|
|
55200
|
+
_defineProperty(target, key, source[key]);
|
|
55190
55201
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : esm_objectSpread2_ownKeys(Object(source)).forEach(function (key) {
|
|
55191
55202
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
55192
55203
|
});
|
|
@@ -56464,7 +56475,7 @@ var Filler = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_nam
|
|
|
56464
56475
|
}
|
|
56465
56476
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", helpers_esm_extends_extends({
|
|
56466
56477
|
style: innerStyle,
|
|
56467
|
-
className: classnames_default()(
|
|
56478
|
+
className: classnames_default()(_defineProperty({}, "".concat(prefixCls, "-holder-inner"), prefixCls)),
|
|
56468
56479
|
ref: ref
|
|
56469
56480
|
}, innerProps), children)));
|
|
56470
56481
|
});
|
|
@@ -56831,7 +56842,7 @@ var ScrollBar = /*#__PURE__*/function (_React$Component) {
|
|
|
56831
56842
|
var mergedVisible = canScroll && visible;
|
|
56832
56843
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
56833
56844
|
ref: this.scrollbarRef,
|
|
56834
|
-
className: classnames_default()("".concat(prefixCls, "-scrollbar"),
|
|
56845
|
+
className: classnames_default()("".concat(prefixCls, "-scrollbar"), _defineProperty({}, "".concat(prefixCls, "-scrollbar-show"), canScroll)),
|
|
56835
56846
|
style: {
|
|
56836
56847
|
width: 8,
|
|
56837
56848
|
top: 0,
|
|
@@ -56844,7 +56855,7 @@ var ScrollBar = /*#__PURE__*/function (_React$Component) {
|
|
|
56844
56855
|
onMouseMove: this.delayHidden
|
|
56845
56856
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
56846
56857
|
ref: this.thumbRef,
|
|
56847
|
-
className: classnames_default()("".concat(prefixCls, "-scrollbar-thumb"),
|
|
56858
|
+
className: classnames_default()("".concat(prefixCls, "-scrollbar-thumb"), _defineProperty({}, "".concat(prefixCls, "-scrollbar-thumb-moving"), dragging)),
|
|
56848
56859
|
style: {
|
|
56849
56860
|
width: '100%',
|
|
56850
56861
|
height: spinHeight,
|
|
@@ -57625,7 +57636,7 @@ function RawList(props, ref) {
|
|
|
57625
57636
|
var listChildren = useChildren(mergedData, start, end, setInstanceRef, children, sharedConfig);
|
|
57626
57637
|
var componentStyle = null;
|
|
57627
57638
|
if (height) {
|
|
57628
|
-
componentStyle = esm_objectSpread2_objectSpread2(
|
|
57639
|
+
componentStyle = esm_objectSpread2_objectSpread2(_defineProperty({}, fullHeight ? 'height' : 'maxHeight', height), ScrollStyle);
|
|
57629
57640
|
if (useVirtual) {
|
|
57630
57641
|
componentStyle.overflowY = 'hidden';
|
|
57631
57642
|
if (scrollMoving) {
|
|
@@ -58113,7 +58124,7 @@ function fillOptionsWithMissingValue(options, value, optionLabelProp, labelInVal
|
|
|
58113
58124
|
if (!optionValues.has(val)) {
|
|
58114
58125
|
var _ref9;
|
|
58115
58126
|
|
|
58116
|
-
cloneOptions.push(labelInValue ? (_ref9 = {},
|
|
58127
|
+
cloneOptions.push(labelInValue ? (_ref9 = {}, (0,esm_defineProperty/* default */.Z)(_ref9, optionLabelProp, item.label), (0,esm_defineProperty/* default */.Z)(_ref9, "value", val), _ref9) : {
|
|
58117
58128
|
value: val
|
|
58118
58129
|
});
|
|
58119
58130
|
}
|
|
@@ -58435,7 +58446,7 @@ var OptionList = function OptionList(_ref, ref) {
|
|
|
58435
58446
|
|
|
58436
58447
|
var selected = values.has(value);
|
|
58437
58448
|
var optionPrefixCls = "".concat(itemPrefixCls, "-option");
|
|
58438
|
-
var optionClassName = classnames_default()(itemPrefixCls, optionPrefixCls, className, (_classNames = {},
|
|
58449
|
+
var optionClassName = classnames_default()(itemPrefixCls, optionPrefixCls, className, (_classNames = {}, (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(optionPrefixCls, "-grouped"), groupOption), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(optionPrefixCls, "-active"), activeIndex === itemIndex && !disabled), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(optionPrefixCls, "-disabled"), disabled), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(optionPrefixCls, "-selected"), selected), _classNames));
|
|
58439
58450
|
var mergedLabel = childrenAsData ? children : label;
|
|
58440
58451
|
var iconVisible = !menuItemSelectedIcon || typeof menuItemSelectedIcon === 'function' || selected;
|
|
58441
58452
|
var content = mergedLabel || value; // https://github.com/ant-design/ant-design/issues/26717
|
|
@@ -59296,7 +59307,7 @@ var SelectSelector = function SelectSelector(props) {
|
|
|
59296
59307
|
|
|
59297
59308
|
function defaultRenderSelector(title, content, itemDisabled, closable, onClose) {
|
|
59298
59309
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("span", {
|
|
59299
|
-
className: classnames_default()("".concat(selectionPrefixCls, "-item"),
|
|
59310
|
+
className: classnames_default()("".concat(selectionPrefixCls, "-item"), (0,esm_defineProperty/* default */.Z)({}, "".concat(selectionPrefixCls, "-item-disabled"), itemDisabled)),
|
|
59300
59311
|
title: typeof title === 'string' || typeof title === 'number' ? title.toString() : undefined
|
|
59301
59312
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("span", {
|
|
59302
59313
|
className: "".concat(selectionPrefixCls, "-item-content")
|
|
@@ -62861,7 +62872,7 @@ var SelectTrigger = function SelectTrigger(props, ref) {
|
|
|
62861
62872
|
popupAlign: dropdownAlign,
|
|
62862
62873
|
popupVisible: visible,
|
|
62863
62874
|
getPopupContainer: getPopupContainer,
|
|
62864
|
-
popupClassName: classnames_default()(dropdownClassName,
|
|
62875
|
+
popupClassName: classnames_default()(dropdownClassName, (0,esm_defineProperty/* default */.Z)({}, "".concat(dropdownPrefixCls, "-empty"), empty)),
|
|
62865
62876
|
popupStyle: popupStyle,
|
|
62866
62877
|
getTriggerDOMNode: getTriggerDOMNode,
|
|
62867
62878
|
onPopupVisibleChange: onPopupVisibleChange
|
|
@@ -63848,7 +63859,7 @@ function generateSelector(config) {
|
|
|
63848
63859
|
|
|
63849
63860
|
if (mergedShowArrow) {
|
|
63850
63861
|
arrowNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_TransBtn, {
|
|
63851
|
-
className: classnames_default()("".concat(prefixCls, "-arrow"),
|
|
63862
|
+
className: classnames_default()("".concat(prefixCls, "-arrow"), (0,esm_defineProperty/* default */.Z)({}, "".concat(prefixCls, "-arrow-loading"), loading)),
|
|
63852
63863
|
customizeIcon: inputIcon,
|
|
63853
63864
|
customizeIconProps: {
|
|
63854
63865
|
loading: loading,
|
|
@@ -63864,7 +63875,7 @@ function generateSelector(config) {
|
|
|
63864
63875
|
if (false) {} // ============================= Render =============================
|
|
63865
63876
|
|
|
63866
63877
|
|
|
63867
|
-
var mergedClassName = classnames_default()(prefixCls, className, (_classNames2 = {},
|
|
63878
|
+
var mergedClassName = classnames_default()(prefixCls, className, (_classNames2 = {}, (0,esm_defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-focused"), mockFocused), (0,esm_defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-multiple"), isMultiple), (0,esm_defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-single"), !isMultiple), (0,esm_defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-allow-clear"), allowClear), (0,esm_defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-show-arrow"), mergedShowArrow), (0,esm_defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-disabled"), disabled), (0,esm_defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-loading"), loading), (0,esm_defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-open"), mergedOpen), (0,esm_defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-customize-input"), customizeInputElement), (0,esm_defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-show-search"), mergedShowSearch), _classNames2));
|
|
63868
63879
|
var selectorNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_SelectTrigger, {
|
|
63869
63880
|
ref: triggerRef,
|
|
63870
63881
|
disabled: disabled,
|
|
@@ -64337,9 +64348,9 @@ var InternalSelect = function InternalSelect(_a, ref) {
|
|
|
64337
64348
|
clearIcon = _getIcons.clearIcon;
|
|
64338
64349
|
|
|
64339
64350
|
var selectProps = omit(props, ['suffixIcon', 'itemIcon']);
|
|
64340
|
-
var rcSelectRtlDropDownClassName = classnames_default()(dropdownClassName,
|
|
64351
|
+
var rcSelectRtlDropDownClassName = classnames_default()(dropdownClassName, (0,esm_defineProperty/* default */.Z)({}, "".concat(prefixCls, "-dropdown-").concat(direction), direction === 'rtl'));
|
|
64341
64352
|
var mergedSize = customizeSize || size;
|
|
64342
|
-
var mergedClassName = classnames_default()((_classNames2 = {},
|
|
64353
|
+
var mergedClassName = classnames_default()((_classNames2 = {}, (0,esm_defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-lg"), mergedSize === 'large'), (0,esm_defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-sm"), mergedSize === 'small'), (0,esm_defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,esm_defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-borderless"), !bordered), _classNames2), className);
|
|
64343
64354
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_select_es, esm_extends_extends({
|
|
64344
64355
|
ref: ref,
|
|
64345
64356
|
virtual: virtual,
|
|
@@ -64435,7 +64446,7 @@ function LineSwitch(_ref) {
|
|
|
64435
64446
|
}, [liveInfo]);
|
|
64436
64447
|
|
|
64437
64448
|
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'),
|
|
64438
|
-
_useState2 =
|
|
64449
|
+
_useState2 = slicedToArray_slicedToArray(_useState, 2),
|
|
64439
64450
|
lineName = _useState2[0],
|
|
64440
64451
|
setLineName = _useState2[1];
|
|
64441
64452
|
|
|
@@ -64683,7 +64694,7 @@ var VideoBase_excluded = ["options", "onReady", "onTimeUpdate", "onReload", "onP
|
|
|
64683
64694
|
|
|
64684
64695
|
function VideoBase_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; }
|
|
64685
64696
|
|
|
64686
|
-
function VideoBase_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { VideoBase_ownKeys(Object(source), true).forEach(function (key) {
|
|
64697
|
+
function VideoBase_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { VideoBase_ownKeys(Object(source), true).forEach(function (key) { (0,esm_defineProperty/* default */.Z)(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { VideoBase_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
64687
64698
|
|
|
64688
64699
|
|
|
64689
64700
|
|
|
@@ -65078,7 +65089,7 @@ function ReplayVideo(_ref) {
|
|
|
65078
65089
|
}
|
|
65079
65090
|
}, []);
|
|
65080
65091
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
|
|
65081
|
-
className: classnames_default()(detail_ReplayVideo_index_module["replay-video"], (0,
|
|
65092
|
+
className: classnames_default()(detail_ReplayVideo_index_module["replay-video"], (0,esm_defineProperty/* default */.Z)({}, detail_ReplayVideo_index_module["video-autoplay"], autoplay))
|
|
65082
65093
|
}, needLogin && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
|
|
65083
65094
|
className: detail_ReplayVideo_index_module["replay-tip-wrapper"]
|
|
65084
65095
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("img", {
|
|
@@ -65704,7 +65715,7 @@ function LiveOnlineCount(_ref) {
|
|
|
65704
65715
|
if (!resId) return null;
|
|
65705
65716
|
|
|
65706
65717
|
var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(0),
|
|
65707
|
-
_useState2 =
|
|
65718
|
+
_useState2 = slicedToArray_slicedToArray(_useState, 2),
|
|
65708
65719
|
onlineCount = _useState2[0],
|
|
65709
65720
|
setOnlineCount = _useState2[1];
|
|
65710
65721
|
|
|
@@ -65718,7 +65729,7 @@ function LiveOnlineCount(_ref) {
|
|
|
65718
65729
|
};
|
|
65719
65730
|
|
|
65720
65731
|
(0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useEffect)(function () {
|
|
65721
|
-
|
|
65732
|
+
esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
65722
65733
|
var count, likesData, currentCount;
|
|
65723
65734
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
65724
65735
|
while (1) {
|
|
@@ -65793,8 +65804,8 @@ var USER_IDENTITY = {
|
|
|
65793
65804
|
SOCIAL_LEARNER: 'SOCIAL_LEARNER' // 社会学习者
|
|
65794
65805
|
|
|
65795
65806
|
};
|
|
65796
|
-
var USER_IDENTITY_NAME = (_USER_IDENTITY_NAME = {}, (0,
|
|
65797
|
-
var USER_IDENTITY_TEXT = (_USER_IDENTITY_TEXT = {}, (0,
|
|
65807
|
+
var USER_IDENTITY_NAME = (_USER_IDENTITY_NAME = {}, (0,esm_defineProperty/* default */.Z)(_USER_IDENTITY_NAME, USER_IDENTITY.TEACHER, '老师'), (0,esm_defineProperty/* default */.Z)(_USER_IDENTITY_NAME, USER_IDENTITY.STUDENT, '学生'), (0,esm_defineProperty/* default */.Z)(_USER_IDENTITY_NAME, USER_IDENTITY.GUARDIAN, '家长'), (0,esm_defineProperty/* default */.Z)(_USER_IDENTITY_NAME, USER_IDENTITY.ACADEMIC_STAFF, '教研员'), (0,esm_defineProperty/* default */.Z)(_USER_IDENTITY_NAME, USER_IDENTITY.ELECTRIC_TEACHER, '电教人员'), (0,esm_defineProperty/* default */.Z)(_USER_IDENTITY_NAME, USER_IDENTITY.EDU_ADMIN, '管理人员'), (0,esm_defineProperty/* default */.Z)(_USER_IDENTITY_NAME, USER_IDENTITY.SOCIAL_LEARNER, '社会学习者'), _USER_IDENTITY_NAME);
|
|
65808
|
+
var USER_IDENTITY_TEXT = (_USER_IDENTITY_TEXT = {}, (0,esm_defineProperty/* default */.Z)(_USER_IDENTITY_TEXT, USER_IDENTITY.TEACHER, '我是老师'), (0,esm_defineProperty/* default */.Z)(_USER_IDENTITY_TEXT, USER_IDENTITY.STUDENT, '我是学生'), (0,esm_defineProperty/* default */.Z)(_USER_IDENTITY_TEXT, USER_IDENTITY.GUARDIAN, '我是家长'), (0,esm_defineProperty/* default */.Z)(_USER_IDENTITY_TEXT, USER_IDENTITY.ACADEMIC_STAFF, '我是教研员'), (0,esm_defineProperty/* default */.Z)(_USER_IDENTITY_TEXT, USER_IDENTITY.ELECTRIC_TEACHER, '我是电教人员'), (0,esm_defineProperty/* default */.Z)(_USER_IDENTITY_TEXT, USER_IDENTITY.EDU_ADMIN, '我是管理人员'), (0,esm_defineProperty/* default */.Z)(_USER_IDENTITY_TEXT, USER_IDENTITY.SOCIAL_LEARNER, '我是社会学习者'), _USER_IDENTITY_TEXT);
|
|
65798
65809
|
var SELECTED_TAB_TYPE = {
|
|
65799
65810
|
MYLIVE: 'MYLIVE',
|
|
65800
65811
|
ALLLIVE: 'ALLLIVE'
|
|
@@ -65809,7 +65820,7 @@ var LIVE_STATUS_TYPE = {
|
|
|
65809
65820
|
COMPLETED: 2 // 已结束
|
|
65810
65821
|
|
|
65811
65822
|
};
|
|
65812
|
-
var LIVE_STATUS_TEXT = (_LIVE_STATUS_TEXT = {}, (0,
|
|
65823
|
+
var LIVE_STATUS_TEXT = (_LIVE_STATUS_TEXT = {}, (0,esm_defineProperty/* default */.Z)(_LIVE_STATUS_TEXT, LIVE_STATUS_TYPE.ALLSTATUS, '全部状态'), (0,esm_defineProperty/* default */.Z)(_LIVE_STATUS_TEXT, LIVE_STATUS_TYPE.NOSTARTED, '未开始'), (0,esm_defineProperty/* default */.Z)(_LIVE_STATUS_TEXT, LIVE_STATUS_TYPE.LIVING, '上课中'), (0,esm_defineProperty/* default */.Z)(_LIVE_STATUS_TEXT, LIVE_STATUS_TYPE.COMPLETED, '已结束'), _LIVE_STATUS_TEXT);
|
|
65813
65824
|
var AUDIT_STATUS_TYPE = {
|
|
65814
65825
|
PENDING: 0,
|
|
65815
65826
|
// 全部
|
|
@@ -66531,7 +66542,7 @@ function TabNode(_ref, ref) {
|
|
|
66531
66542
|
var node = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
66532
66543
|
key: key,
|
|
66533
66544
|
ref: ref,
|
|
66534
|
-
className: classnames_default()(tabPrefix, (_classNames = {},
|
|
66545
|
+
className: classnames_default()(tabPrefix, (_classNames = {}, (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(tabPrefix, "-with-remove"), removable), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(tabPrefix, "-active"), active), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(tabPrefix, "-disabled"), disabled), _classNames)),
|
|
66535
66546
|
style: style,
|
|
66536
66547
|
onClick: onInternalClick
|
|
66537
66548
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
@@ -67025,7 +67036,7 @@ var InternalMenuItem = function InternalMenuItem(props) {
|
|
|
67025
67036
|
component: "li",
|
|
67026
67037
|
"aria-disabled": disabled,
|
|
67027
67038
|
style: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, directionStyle), style),
|
|
67028
|
-
className: classnames_default()(itemCls, (_classNames = {},
|
|
67039
|
+
className: classnames_default()(itemCls, (_classNames = {}, (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(itemCls, "-active"), active), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(itemCls, "-selected"), selected), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(itemCls, "-disabled"), mergedDisabled), _classNames), className),
|
|
67029
67040
|
onClick: onInternalClick,
|
|
67030
67041
|
onKeyDown: onInternalKeyDown,
|
|
67031
67042
|
onFocus: onInternalFocus
|
|
@@ -67277,7 +67288,7 @@ function PopupTrigger(_ref) {
|
|
|
67277
67288
|
}, [visible]);
|
|
67278
67289
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_trigger_es, {
|
|
67279
67290
|
prefixCls: prefixCls,
|
|
67280
|
-
popupClassName: classnames_default()("".concat(prefixCls, "-popup"),
|
|
67291
|
+
popupClassName: classnames_default()("".concat(prefixCls, "-popup"), (0,esm_defineProperty/* default */.Z)({}, "".concat(prefixCls, "-rtl"), rtl), popupClassName),
|
|
67281
67292
|
stretch: mode === 'horizontal' ? 'minWidth' : null,
|
|
67282
67293
|
getPopupContainer: getPopupContainer,
|
|
67283
67294
|
builtinPlacements: placement,
|
|
@@ -67612,7 +67623,7 @@ var InternalSubMenu = function InternalSubMenu(props) {
|
|
|
67612
67623
|
}, restProps, {
|
|
67613
67624
|
component: "li",
|
|
67614
67625
|
style: style,
|
|
67615
|
-
className: classnames_default()(subMenuPrefixCls, "".concat(subMenuPrefixCls, "-").concat(mode), className, (_classNames = {},
|
|
67626
|
+
className: classnames_default()(subMenuPrefixCls, "".concat(subMenuPrefixCls, "-").concat(mode), className, (_classNames = {}, (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(subMenuPrefixCls, "-open"), open), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(subMenuPrefixCls, "-active"), mergedActive), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(subMenuPrefixCls, "-selected"), childrenSelected), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(subMenuPrefixCls, "-disabled"), mergedDisabled), _classNames)),
|
|
67616
67627
|
onMouseEnter: onInternalMouseEnter,
|
|
67617
67628
|
onMouseLeave: onInternalMouseLeave
|
|
67618
67629
|
}), titleNode, !overflowDisabled && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(InlineSubMenuList, {
|
|
@@ -67789,9 +67800,9 @@ function useAccessibility_getOffset(mode, isRootLevel, isRtl, which) {
|
|
|
67789
67800
|
};
|
|
67790
67801
|
}
|
|
67791
67802
|
|
|
67792
|
-
var inline = (_inline = {},
|
|
67793
|
-
var horizontal = (_horizontal = {},
|
|
67794
|
-
var vertical = (_vertical = {},
|
|
67803
|
+
var inline = (_inline = {}, (0,esm_defineProperty/* default */.Z)(_inline, UP, prev), (0,esm_defineProperty/* default */.Z)(_inline, DOWN, next), _inline);
|
|
67804
|
+
var horizontal = (_horizontal = {}, (0,esm_defineProperty/* default */.Z)(_horizontal, useAccessibility_LEFT, isRtl ? next : prev), (0,esm_defineProperty/* default */.Z)(_horizontal, RIGHT, isRtl ? prev : next), (0,esm_defineProperty/* default */.Z)(_horizontal, DOWN, children), (0,esm_defineProperty/* default */.Z)(_horizontal, ENTER, children), _horizontal);
|
|
67805
|
+
var vertical = (_vertical = {}, (0,esm_defineProperty/* default */.Z)(_vertical, UP, prev), (0,esm_defineProperty/* default */.Z)(_vertical, DOWN, next), (0,esm_defineProperty/* default */.Z)(_vertical, ENTER, children), (0,esm_defineProperty/* default */.Z)(_vertical, ESC, parent), (0,esm_defineProperty/* default */.Z)(_vertical, useAccessibility_LEFT, isRtl ? children : parent), (0,esm_defineProperty/* default */.Z)(_vertical, RIGHT, isRtl ? parent : children), _vertical);
|
|
67795
67806
|
var offsets = {
|
|
67796
67807
|
inline: inline,
|
|
67797
67808
|
horizontal: horizontal,
|
|
@@ -68539,7 +68550,7 @@ var Menu = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_names
|
|
|
68539
68550
|
prefixCls: "".concat(prefixCls, "-overflow"),
|
|
68540
68551
|
component: "ul",
|
|
68541
68552
|
itemComponent: es_MenuItem,
|
|
68542
|
-
className: classnames_default()(prefixCls, "".concat(prefixCls, "-root"), "".concat(prefixCls, "-").concat(mergedMode), className, (_classNames = {},
|
|
68553
|
+
className: classnames_default()(prefixCls, "".concat(prefixCls, "-root"), "".concat(prefixCls, "-").concat(mergedMode), className, (_classNames = {}, (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-inline-collapsed"), mergedInlineCollapsed), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), isRtl), _classNames)),
|
|
68543
68554
|
dir: direction,
|
|
68544
68555
|
style: style,
|
|
68545
68556
|
role: "menu",
|
|
@@ -68898,7 +68909,7 @@ function Dropdown(props, ref) {
|
|
|
68898
68909
|
}, otherProps), {}, {
|
|
68899
68910
|
prefixCls: prefixCls,
|
|
68900
68911
|
ref: triggerRef,
|
|
68901
|
-
popupClassName: classnames_default()(overlayClassName,
|
|
68912
|
+
popupClassName: classnames_default()(overlayClassName, (0,esm_defineProperty/* default */.Z)({}, "".concat(prefixCls, "-show-arrow"), arrow)),
|
|
68902
68913
|
popupStyle: overlayStyle,
|
|
68903
68914
|
action: trigger,
|
|
68904
68915
|
showAction: showAction,
|
|
@@ -69102,14 +69113,14 @@ function OperationNode(_ref, ref) {
|
|
|
69102
69113
|
}
|
|
69103
69114
|
}, [open]); // ========================= Render =========================
|
|
69104
69115
|
|
|
69105
|
-
var moreStyle =
|
|
69116
|
+
var moreStyle = (0,esm_defineProperty/* default */.Z)({}, rtl ? 'marginRight' : 'marginLeft', tabBarGutter);
|
|
69106
69117
|
|
|
69107
69118
|
if (!tabs.length) {
|
|
69108
69119
|
moreStyle.visibility = 'hidden';
|
|
69109
69120
|
moreStyle.order = 1;
|
|
69110
69121
|
}
|
|
69111
69122
|
|
|
69112
|
-
var overlayClassName = classnames_default()(
|
|
69123
|
+
var overlayClassName = classnames_default()((0,esm_defineProperty/* default */.Z)({}, "".concat(dropdownPrefix, "-rtl"), rtl));
|
|
69113
69124
|
var moreNode = mobile ? null : /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_dropdown_es, {
|
|
69114
69125
|
prefixCls: dropdownPrefix,
|
|
69115
69126
|
overlay: menu,
|
|
@@ -69816,7 +69827,7 @@ function TabNavList(props, ref) {
|
|
|
69816
69827
|
}), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_resize_observer_es, {
|
|
69817
69828
|
onResize: onListHolderResize
|
|
69818
69829
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
69819
|
-
className: classnames_default()(wrapPrefix, (_classNames = {},
|
|
69830
|
+
className: classnames_default()(wrapPrefix, (_classNames = {}, (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(wrapPrefix, "-ping-left"), pingLeft), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(wrapPrefix, "-ping-right"), pingRight), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(wrapPrefix, "-ping-top"), pingTop), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(wrapPrefix, "-ping-bottom"), pingBottom), _classNames)),
|
|
69820
69831
|
ref: tabsWrapperRef
|
|
69821
69832
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_resize_observer_es, {
|
|
69822
69833
|
onResize: onListHolderResize
|
|
@@ -69836,7 +69847,7 @@ function TabNavList(props, ref) {
|
|
|
69836
69847
|
visibility: hasDropdown ? 'hidden' : null
|
|
69837
69848
|
})
|
|
69838
69849
|
}), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
69839
|
-
className: classnames_default()("".concat(prefixCls, "-ink-bar"),
|
|
69850
|
+
className: classnames_default()("".concat(prefixCls, "-ink-bar"), (0,esm_defineProperty/* default */.Z)({}, "".concat(prefixCls, "-ink-bar-animated"), animated.inkBar)),
|
|
69840
69851
|
style: inkStyle
|
|
69841
69852
|
}))))), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(TabNavList_OperationNode, esm_extends_extends({}, props, {
|
|
69842
69853
|
removeAriaLabel: locale === null || locale === void 0 ? void 0 : locale.removeAriaLabel,
|
|
@@ -69878,8 +69889,8 @@ function TabPanelList(_ref) {
|
|
|
69878
69889
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
69879
69890
|
className: classnames_default()("".concat(prefixCls, "-content-holder"))
|
|
69880
69891
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
69881
|
-
className: classnames_default()("".concat(prefixCls, "-content"), "".concat(prefixCls, "-content-").concat(tabPosition),
|
|
69882
|
-
style: activeIndex && tabPaneAnimated ?
|
|
69892
|
+
className: classnames_default()("".concat(prefixCls, "-content"), "".concat(prefixCls, "-content-").concat(tabPosition), (0,esm_defineProperty/* default */.Z)({}, "".concat(prefixCls, "-content-animated"), tabPaneAnimated)),
|
|
69893
|
+
style: activeIndex && tabPaneAnimated ? (0,esm_defineProperty/* default */.Z)({}, rtl ? 'marginRight' : 'marginLeft', "-".concat(activeIndex, "00%")) : null
|
|
69883
69894
|
}, tabs.map(function (tab) {
|
|
69884
69895
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.cloneElement(tab.node, {
|
|
69885
69896
|
key: tab.key,
|
|
@@ -70164,7 +70175,7 @@ function Tabs(_ref, ref) {
|
|
|
70164
70175
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({
|
|
70165
70176
|
ref: ref,
|
|
70166
70177
|
id: id,
|
|
70167
|
-
className: classnames_default()(prefixCls, "".concat(prefixCls, "-").concat(mergedTabPosition), (_classNames = {},
|
|
70178
|
+
className: classnames_default()(prefixCls, "".concat(prefixCls, "-").concat(mergedTabPosition), (_classNames = {}, (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-mobile"), mobile), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-editable"), editable), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), rtl), _classNames), className)
|
|
70168
70179
|
}, restProps), tabNavBar, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(TabPanelList, esm_extends_extends({
|
|
70169
70180
|
destroyInactiveTabPane: destroyInactiveTabPane
|
|
70170
70181
|
}, sharedProps, {
|
|
@@ -70251,11 +70262,11 @@ function tabs_Tabs(_a) {
|
|
|
70251
70262
|
var _classNames;
|
|
70252
70263
|
|
|
70253
70264
|
var size = propSize !== undefined ? propSize : contextSize;
|
|
70254
|
-
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_tabs_es,
|
|
70265
|
+
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_tabs_es, esm_extends_extends({
|
|
70255
70266
|
direction: direction,
|
|
70256
70267
|
moreTransitionName: "".concat(rootPrefixCls, "-slide-up")
|
|
70257
70268
|
}, props, {
|
|
70258
|
-
className: classnames_default()((_classNames = {}, (0,
|
|
70269
|
+
className: classnames_default()((_classNames = {}, (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(size), size), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-card"), ['card', 'editable-card'].includes(type)), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-editable-card"), type === 'editable-card'), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-centered"), centered), _classNames), className),
|
|
70259
70270
|
editable: editable,
|
|
70260
70271
|
moreIcon: moreIcon,
|
|
70261
70272
|
prefixCls: prefixCls
|
|
@@ -70363,7 +70374,7 @@ var Pager = function Pager(props) {
|
|
|
70363
70374
|
var _classNames;
|
|
70364
70375
|
|
|
70365
70376
|
var prefixCls = "".concat(props.rootPrefixCls, "-item");
|
|
70366
|
-
var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-").concat(props.page), (_classNames = {},
|
|
70377
|
+
var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-").concat(props.page), (_classNames = {}, (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-active"), props.active), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-disabled"), !props.page), (0,esm_defineProperty/* default */.Z)(_classNames, props.className, !!props.className), _classNames));
|
|
70367
70378
|
|
|
70368
70379
|
var handleClick = function handleClick() {
|
|
70369
70380
|
props.onClick(props.page);
|
|
@@ -71037,7 +71048,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
71037
71048
|
}
|
|
71038
71049
|
|
|
71039
71050
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("ul", esm_extends_extends({
|
|
71040
|
-
className: classnames_default()(prefixCls, "".concat(prefixCls, "-simple"),
|
|
71051
|
+
className: classnames_default()(prefixCls, "".concat(prefixCls, "-simple"), (0,esm_defineProperty/* default */.Z)({}, "".concat(prefixCls, "-disabled"), disabled), className),
|
|
71041
71052
|
style: style,
|
|
71042
71053
|
ref: this.savePaginationNode
|
|
71043
71054
|
}, dataOrAriaAttributeProps), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("li", {
|
|
@@ -71045,7 +71056,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
71045
71056
|
onClick: this.prev,
|
|
71046
71057
|
tabIndex: this.hasPrev() ? 0 : null,
|
|
71047
71058
|
onKeyPress: this.runIfEnterPrev,
|
|
71048
|
-
className: classnames_default()("".concat(prefixCls, "-prev"),
|
|
71059
|
+
className: classnames_default()("".concat(prefixCls, "-prev"), (0,esm_defineProperty/* default */.Z)({}, "".concat(prefixCls, "-disabled"), !this.hasPrev())),
|
|
71049
71060
|
"aria-disabled": !this.hasPrev()
|
|
71050
71061
|
}, this.renderPrev(prevPage)), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("li", {
|
|
71051
71062
|
title: showTitle ? "".concat(current, "/").concat(allPages) : null,
|
|
@@ -71066,7 +71077,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
71066
71077
|
onClick: this.next,
|
|
71067
71078
|
tabIndex: this.hasPrev() ? 0 : null,
|
|
71068
71079
|
onKeyPress: this.runIfEnterNext,
|
|
71069
|
-
className: classnames_default()("".concat(prefixCls, "-next"),
|
|
71080
|
+
className: classnames_default()("".concat(prefixCls, "-next"), (0,esm_defineProperty/* default */.Z)({}, "".concat(prefixCls, "-disabled"), !this.hasNext())),
|
|
71070
71081
|
"aria-disabled": !this.hasNext()
|
|
71071
71082
|
}, this.renderNext(nextPage)), gotoButton);
|
|
71072
71083
|
}
|
|
@@ -71108,7 +71119,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
71108
71119
|
onClick: this.jumpPrev,
|
|
71109
71120
|
tabIndex: "0",
|
|
71110
71121
|
onKeyPress: this.runIfEnterJumpPrev,
|
|
71111
|
-
className: classnames_default()("".concat(prefixCls, "-jump-prev"),
|
|
71122
|
+
className: classnames_default()("".concat(prefixCls, "-jump-prev"), (0,esm_defineProperty/* default */.Z)({}, "".concat(prefixCls, "-jump-prev-custom-icon"), !!jumpPrevIcon))
|
|
71112
71123
|
}, itemRender(this.getJumpPrevPage(), 'jump-prev', this.getItemIcon(jumpPrevIcon, 'prev page')));
|
|
71113
71124
|
jumpNext = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("li", {
|
|
71114
71125
|
title: showTitle ? nextItemTitle : null,
|
|
@@ -71116,7 +71127,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
71116
71127
|
tabIndex: "0",
|
|
71117
71128
|
onClick: this.jumpNext,
|
|
71118
71129
|
onKeyPress: this.runIfEnterJumpNext,
|
|
71119
|
-
className: classnames_default()("".concat(prefixCls, "-jump-next"),
|
|
71130
|
+
className: classnames_default()("".concat(prefixCls, "-jump-next"), (0,esm_defineProperty/* default */.Z)({}, "".concat(prefixCls, "-jump-next-custom-icon"), !!jumpNextIcon))
|
|
71120
71131
|
}, itemRender(this.getJumpNextPage(), 'jump-next', this.getItemIcon(jumpNextIcon, 'next page')));
|
|
71121
71132
|
}
|
|
71122
71133
|
|
|
@@ -71204,7 +71215,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
71204
71215
|
var prevDisabled = !this.hasPrev() || !allPages;
|
|
71205
71216
|
var nextDisabled = !this.hasNext() || !allPages;
|
|
71206
71217
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("ul", esm_extends_extends({
|
|
71207
|
-
className: classnames_default()(prefixCls, className,
|
|
71218
|
+
className: classnames_default()(prefixCls, className, (0,esm_defineProperty/* default */.Z)({}, "".concat(prefixCls, "-disabled"), disabled)),
|
|
71208
71219
|
style: style,
|
|
71209
71220
|
unselectable: "unselectable",
|
|
71210
71221
|
ref: this.savePaginationNode
|
|
@@ -71213,14 +71224,14 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
71213
71224
|
onClick: this.prev,
|
|
71214
71225
|
tabIndex: prevDisabled ? null : 0,
|
|
71215
71226
|
onKeyPress: this.runIfEnterPrev,
|
|
71216
|
-
className: classnames_default()("".concat(prefixCls, "-prev"),
|
|
71227
|
+
className: classnames_default()("".concat(prefixCls, "-prev"), (0,esm_defineProperty/* default */.Z)({}, "".concat(prefixCls, "-disabled"), prevDisabled)),
|
|
71217
71228
|
"aria-disabled": prevDisabled
|
|
71218
71229
|
}, this.renderPrev(prevPage)), pagerList, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("li", {
|
|
71219
71230
|
title: showTitle ? locale.next_page : null,
|
|
71220
71231
|
onClick: this.next,
|
|
71221
71232
|
tabIndex: nextDisabled ? null : 0,
|
|
71222
71233
|
onKeyPress: this.runIfEnterNext,
|
|
71223
|
-
className: classnames_default()("".concat(prefixCls, "-next"),
|
|
71234
|
+
className: classnames_default()("".concat(prefixCls, "-next"), (0,esm_defineProperty/* default */.Z)({}, "".concat(prefixCls, "-disabled"), nextDisabled)),
|
|
71224
71235
|
"aria-disabled": nextDisabled
|
|
71225
71236
|
}, this.renderNext(nextPage)), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(es_Options, {
|
|
71226
71237
|
disabled: disabled,
|
|
@@ -71298,7 +71309,7 @@ Pagination.defaultProps = {
|
|
|
71298
71309
|
|
|
71299
71310
|
|
|
71300
71311
|
var MiniSelect = function MiniSelect(props) {
|
|
71301
|
-
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_select,
|
|
71312
|
+
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_select, esm_extends_extends({
|
|
71302
71313
|
size: "small"
|
|
71303
71314
|
}, props));
|
|
71304
71315
|
};
|
|
@@ -71359,7 +71370,7 @@ var responsiveObserve = {
|
|
|
71359
71370
|
var listener = function listener(_ref) {
|
|
71360
71371
|
var matches = _ref.matches;
|
|
71361
71372
|
|
|
71362
|
-
_this2.dispatch(esm_extends_extends(esm_extends_extends({}, screens),
|
|
71373
|
+
_this2.dispatch(esm_extends_extends(esm_extends_extends({}, screens), (0,esm_defineProperty/* default */.Z)({}, screen, matches)));
|
|
71363
71374
|
};
|
|
71364
71375
|
|
|
71365
71376
|
var mql = window.matchMedia(matchMediaQuery);
|
|
@@ -71500,13 +71511,13 @@ var Pagination_Pagination = function Pagination(_a) {
|
|
|
71500
71511
|
var renderPagination = function renderPagination(contextLocale) {
|
|
71501
71512
|
var _classNames;
|
|
71502
71513
|
|
|
71503
|
-
var locale =
|
|
71514
|
+
var locale = esm_extends_extends(esm_extends_extends({}, contextLocale), customLocale);
|
|
71504
71515
|
|
|
71505
71516
|
var isSmall = size === 'small' || !!(xs && !size && restProps.responsive);
|
|
71506
71517
|
var selectPrefixCls = getPrefixCls('select', customizeSelectPrefixCls);
|
|
71507
71518
|
var extendedClassName = classnames_default()((_classNames = {
|
|
71508
71519
|
mini: isSmall
|
|
71509
|
-
}, (0,
|
|
71520
|
+
}, (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,esm_defineProperty/* default */.Z)(_classNames, "minimalistic", minimalistic), _classNames), className); // 文本式分页
|
|
71510
71521
|
|
|
71511
71522
|
if (minimalistic) {
|
|
71512
71523
|
paginationProps.itemRender = function (_current, type, originalElement) {
|
|
@@ -71543,7 +71554,7 @@ var Pagination_Pagination = function Pagination(_a) {
|
|
|
71543
71554
|
paginationProps.showQuickJumper = showQuickJumper;
|
|
71544
71555
|
}
|
|
71545
71556
|
|
|
71546
|
-
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_Pagination,
|
|
71557
|
+
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_Pagination, esm_extends_extends({}, paginationProps, getIconsProps(), restProps, {
|
|
71547
71558
|
prefixCls: prefixCls,
|
|
71548
71559
|
selectPrefixCls: selectPrefixCls,
|
|
71549
71560
|
className: extendedClassName,
|
|
@@ -71960,7 +71971,7 @@ function Action(_ref) {
|
|
|
71960
71971
|
}();
|
|
71961
71972
|
|
|
71962
71973
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
|
|
71963
|
-
className: classnames_default()(ListItem_Action_index_module.action, (_classNames = {},
|
|
71974
|
+
className: classnames_default()(ListItem_Action_index_module.action, (_classNames = {}, (0,esm_defineProperty/* default */.Z)(_classNames, ListItem_Action_index_module["action-subscribe"], curAction === 3), (0,esm_defineProperty/* default */.Z)(_classNames, ListItem_Action_index_module["action-has-subscribe"], curAction === 4), _classNames)),
|
|
71964
71975
|
onClick: handleBtnClick
|
|
71965
71976
|
}, Actions[curAction]);
|
|
71966
71977
|
}
|
|
@@ -72176,12 +72187,12 @@ function ListItem(_ref) {
|
|
|
72176
72187
|
status = data.status;
|
|
72177
72188
|
|
|
72178
72189
|
var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)({}),
|
|
72179
|
-
_useState2 =
|
|
72190
|
+
_useState2 = slicedToArray_slicedToArray(_useState, 2),
|
|
72180
72191
|
liveExt = _useState2[0],
|
|
72181
72192
|
setLiveExt = _useState2[1];
|
|
72182
72193
|
|
|
72183
72194
|
(0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useEffect)(function () {
|
|
72184
|
-
|
|
72195
|
+
esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
72185
72196
|
var res;
|
|
72186
72197
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
72187
72198
|
while (1) {
|
|
@@ -72204,7 +72215,7 @@ function ListItem(_ref) {
|
|
|
72204
72215
|
}, []);
|
|
72205
72216
|
|
|
72206
72217
|
var handleDetailClick = /*#__PURE__*/function () {
|
|
72207
|
-
var _ref3 =
|
|
72218
|
+
var _ref3 = esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
|
72208
72219
|
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
72209
72220
|
while (1) {
|
|
72210
72221
|
switch (_context2.prev = _context2.next) {
|