imeik-imui 2.2.1 → 2.2.4
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/imeik-imui.common.js +2404 -135
- package/dist/imeik-imui.common.js.gz +0 -0
- package/dist/imeik-imui.css +1 -1
- package/dist/imeik-imui.css.gz +0 -0
- package/dist/imeik-imui.umd.js +2404 -135
- package/dist/imeik-imui.umd.js.gz +0 -0
- package/dist/imeik-imui.umd.min.js +50 -22
- package/dist/imeik-imui.umd.min.js.gz +0 -0
- package/package.json +3 -1
|
@@ -224,6 +224,13 @@ module.exports = function (object, names) {
|
|
|
224
224
|
};
|
|
225
225
|
|
|
226
226
|
|
|
227
|
+
/***/ }),
|
|
228
|
+
|
|
229
|
+
/***/ "03f3":
|
|
230
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
231
|
+
|
|
232
|
+
// extracted by mini-css-extract-plugin
|
|
233
|
+
|
|
227
234
|
/***/ }),
|
|
228
235
|
|
|
229
236
|
/***/ "04f8":
|
|
@@ -1049,7 +1056,7 @@ module.exports = function repeat(count) {
|
|
|
1049
1056
|
// ESM COMPAT FLAG
|
|
1050
1057
|
__webpack_require__.r(__webpack_exports__);
|
|
1051
1058
|
|
|
1052
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1059
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/upload/ImMultiVideoUpload.vue?vue&type=template&id=4c7306f8&scoped=true
|
|
1053
1060
|
var render = function render() {
|
|
1054
1061
|
var _vm = this,
|
|
1055
1062
|
_c = _vm._self._c;
|
|
@@ -1061,12 +1068,17 @@ var render = function render() {
|
|
|
1061
1068
|
return _c('div', {
|
|
1062
1069
|
key: index,
|
|
1063
1070
|
staticClass: "preview-item"
|
|
1064
|
-
}, [recordingUrl ? _c('
|
|
1071
|
+
}, [recordingUrl ? [_vm.isJSON(recordingUrl.url) ? _c('img', {
|
|
1065
1072
|
staticClass: "video-preview",
|
|
1066
1073
|
attrs: {
|
|
1067
|
-
"src":
|
|
1074
|
+
"src": "https://udstatic.imeik.com/pcUploads/1733198986155/icon_recording_recording.png"
|
|
1068
1075
|
}
|
|
1069
|
-
}) : _c('
|
|
1076
|
+
}) : _c('img', {
|
|
1077
|
+
staticClass: "video-preview",
|
|
1078
|
+
attrs: {
|
|
1079
|
+
"src": "".concat(recordingUrl.url, "?x-oss-process=video/snapshot,t_1000,f_jpg,w_1140,h_640")
|
|
1080
|
+
}
|
|
1081
|
+
})] : _c('ImLoading'), recordingUrl ? _c('div', {
|
|
1070
1082
|
staticClass: "play-btn",
|
|
1071
1083
|
on: {
|
|
1072
1084
|
"click": function click($event) {
|
|
@@ -1092,7 +1104,7 @@ var render = function render() {
|
|
|
1092
1104
|
"src": "https://udstatic.imeik.com/pcUploads/1732247355378/delete-icon.png",
|
|
1093
1105
|
"alt": "删除"
|
|
1094
1106
|
}
|
|
1095
|
-
})])]) : _vm._e()],
|
|
1107
|
+
})])]) : _vm._e()], 2);
|
|
1096
1108
|
}), !_vm.isView && _vm.fileList.length < _vm.maxfileList ? _c('el-upload', _vm._g({
|
|
1097
1109
|
class: {
|
|
1098
1110
|
hide: _vm.hideUpload
|
|
@@ -1143,21 +1155,15 @@ var render = function render() {
|
|
|
1143
1155
|
_vm.dialogVisible = $event;
|
|
1144
1156
|
}
|
|
1145
1157
|
}
|
|
1146
|
-
}, [
|
|
1147
|
-
staticStyle: {
|
|
1148
|
-
"width": "100%",
|
|
1149
|
-
"max-height": "70vh"
|
|
1150
|
-
},
|
|
1158
|
+
}, [_c('RecordPreview', {
|
|
1151
1159
|
attrs: {
|
|
1152
|
-
"src": _vm.currentVideoUrl
|
|
1153
|
-
"controls": "",
|
|
1154
|
-
"autoplay": ""
|
|
1160
|
+
"src": _vm.currentVideoUrl
|
|
1155
1161
|
}
|
|
1156
|
-
})
|
|
1162
|
+
})], 1)], 1);
|
|
1157
1163
|
};
|
|
1158
1164
|
var staticRenderFns = [];
|
|
1159
1165
|
|
|
1160
|
-
// CONCATENATED MODULE: ./src/imui/src/FormComponents/upload/ImMultiVideoUpload.vue?vue&type=template&id=
|
|
1166
|
+
// CONCATENATED MODULE: ./src/imui/src/FormComponents/upload/ImMultiVideoUpload.vue?vue&type=template&id=4c7306f8&scoped=true
|
|
1161
1167
|
|
|
1162
1168
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js
|
|
1163
1169
|
var regeneratorRuntime = __webpack_require__("c7eb");
|
|
@@ -1198,6 +1204,9 @@ var es_object_keys = __webpack_require__("b64b");
|
|
|
1198
1204
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
|
|
1199
1205
|
var es_object_to_string = __webpack_require__("d3b7");
|
|
1200
1206
|
|
|
1207
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.ends-with.js
|
|
1208
|
+
var es_string_ends_with = __webpack_require__("8a79");
|
|
1209
|
+
|
|
1201
1210
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.iterator.js
|
|
1202
1211
|
var es_string_iterator = __webpack_require__("3ca3");
|
|
1203
1212
|
|
|
@@ -1222,6 +1231,172 @@ var web_url_search_params_size = __webpack_require__("5494");
|
|
|
1222
1231
|
// EXTERNAL MODULE: ./src/imui/src/FormComponents/upload/upload.js
|
|
1223
1232
|
var upload = __webpack_require__("3f24");
|
|
1224
1233
|
|
|
1234
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/upload/widgets/RecordPreview.vue?vue&type=template&id=598823ea&scoped=true
|
|
1235
|
+
var RecordPreviewvue_type_template_id_598823ea_scoped_true_render = function render() {
|
|
1236
|
+
var _vm = this,
|
|
1237
|
+
_c = _vm._self._c;
|
|
1238
|
+
return _c('div', {
|
|
1239
|
+
ref: "previewContainer",
|
|
1240
|
+
staticClass: "preview-container"
|
|
1241
|
+
});
|
|
1242
|
+
};
|
|
1243
|
+
var RecordPreviewvue_type_template_id_598823ea_scoped_true_staticRenderFns = [];
|
|
1244
|
+
|
|
1245
|
+
// CONCATENATED MODULE: ./src/imui/src/FormComponents/upload/widgets/RecordPreview.vue?vue&type=template&id=598823ea&scoped=true
|
|
1246
|
+
|
|
1247
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
1248
|
+
var es_promise = __webpack_require__("e6cf");
|
|
1249
|
+
|
|
1250
|
+
// EXTERNAL MODULE: ./node_modules/rrweb-player/dist/index.mjs
|
|
1251
|
+
var dist = __webpack_require__("c1c8");
|
|
1252
|
+
|
|
1253
|
+
// EXTERNAL MODULE: ./node_modules/rrweb-player/dist/style.css
|
|
1254
|
+
var style = __webpack_require__("2a00");
|
|
1255
|
+
|
|
1256
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/upload/widgets/RecordPreview.vue?vue&type=script&lang=js
|
|
1257
|
+
|
|
1258
|
+
|
|
1259
|
+
|
|
1260
|
+
|
|
1261
|
+
|
|
1262
|
+
|
|
1263
|
+
|
|
1264
|
+
/* harmony default export */ var RecordPreviewvue_type_script_lang_js = ({
|
|
1265
|
+
name: 'RrwebPlayer',
|
|
1266
|
+
props: {
|
|
1267
|
+
src: {
|
|
1268
|
+
type: String,
|
|
1269
|
+
required: true
|
|
1270
|
+
}
|
|
1271
|
+
},
|
|
1272
|
+
data: function data() {
|
|
1273
|
+
return {
|
|
1274
|
+
events: []
|
|
1275
|
+
};
|
|
1276
|
+
},
|
|
1277
|
+
computed: {
|
|
1278
|
+
isNormalVideo: function isNormalVideo() {
|
|
1279
|
+
var _this = this;
|
|
1280
|
+
var videoExtensions = ['.mp4', '.webm', '.ogg', '.mov'];
|
|
1281
|
+
return videoExtensions.some(function (ext) {
|
|
1282
|
+
return _this.src.toLowerCase().endsWith(ext);
|
|
1283
|
+
});
|
|
1284
|
+
}
|
|
1285
|
+
},
|
|
1286
|
+
watch: {
|
|
1287
|
+
src: {
|
|
1288
|
+
handler: function handler(newVal) {
|
|
1289
|
+
console.log('src--', newVal);
|
|
1290
|
+
if (this.isNormalVideo) {
|
|
1291
|
+
this.initNormalVideo(newVal);
|
|
1292
|
+
} else {
|
|
1293
|
+
this.initRrwebPlayer(newVal);
|
|
1294
|
+
}
|
|
1295
|
+
}
|
|
1296
|
+
}
|
|
1297
|
+
},
|
|
1298
|
+
mounted: function mounted() {
|
|
1299
|
+
var _this2 = this;
|
|
1300
|
+
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee() {
|
|
1301
|
+
var response;
|
|
1302
|
+
return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee$(_context) {
|
|
1303
|
+
while (1) switch (_context.prev = _context.next) {
|
|
1304
|
+
case 0:
|
|
1305
|
+
_context.prev = 0;
|
|
1306
|
+
_context.next = 3;
|
|
1307
|
+
return fetch(_this2.src);
|
|
1308
|
+
case 3:
|
|
1309
|
+
response = _context.sent;
|
|
1310
|
+
_context.next = 6;
|
|
1311
|
+
return response.json();
|
|
1312
|
+
case 6:
|
|
1313
|
+
_this2.events = _context.sent;
|
|
1314
|
+
_context.next = 12;
|
|
1315
|
+
break;
|
|
1316
|
+
case 9:
|
|
1317
|
+
_context.prev = 9;
|
|
1318
|
+
_context.t0 = _context["catch"](0);
|
|
1319
|
+
console.error('加载录屏数据失败:', _context.t0);
|
|
1320
|
+
case 12:
|
|
1321
|
+
case "end":
|
|
1322
|
+
return _context.stop();
|
|
1323
|
+
}
|
|
1324
|
+
}, _callee, null, [[0, 9]]);
|
|
1325
|
+
}))();
|
|
1326
|
+
},
|
|
1327
|
+
methods: {
|
|
1328
|
+
initNormalVideo: function initNormalVideo(url) {
|
|
1329
|
+
var container = this.$refs.previewContainer;
|
|
1330
|
+
if (!container) return;
|
|
1331
|
+
container.innerHTML = '';
|
|
1332
|
+
var video = document.createElement('video');
|
|
1333
|
+
video.src = url;
|
|
1334
|
+
video.autoplay = true;
|
|
1335
|
+
video.controls = true;
|
|
1336
|
+
video.style.width = '100%';
|
|
1337
|
+
video.style.height = '100%';
|
|
1338
|
+
video.style.objectFit = 'contain';
|
|
1339
|
+
this.$refs.previewContainer.appendChild(video);
|
|
1340
|
+
},
|
|
1341
|
+
initRrwebPlayer: function initRrwebPlayer() {
|
|
1342
|
+
var _this3 = this;
|
|
1343
|
+
var container = this.$refs.previewContainer;
|
|
1344
|
+
if (!container) return;
|
|
1345
|
+
container.innerHTML = '';
|
|
1346
|
+
|
|
1347
|
+
// 获取容器的实际尺寸
|
|
1348
|
+
var containerWidth = container.clientWidth;
|
|
1349
|
+
var containerHeight = Math.min(window.innerHeight, containerWidth * 0.5625); // 16:9 比例
|
|
1350
|
+
|
|
1351
|
+
// 获取视频数据并播放
|
|
1352
|
+
fetch(this.src).then(function (response) {
|
|
1353
|
+
return response.json();
|
|
1354
|
+
}).then(function (events) {
|
|
1355
|
+
_this3.currentReplayer = new dist["a" /* default */]({
|
|
1356
|
+
target: container,
|
|
1357
|
+
props: {
|
|
1358
|
+
events: events,
|
|
1359
|
+
width: containerWidth,
|
|
1360
|
+
height: containerHeight
|
|
1361
|
+
}
|
|
1362
|
+
});
|
|
1363
|
+
_this3.currentReplayer.play();
|
|
1364
|
+
}).catch(function (err) {
|
|
1365
|
+
console.error('预览失败:', err);
|
|
1366
|
+
_this3.previewVisible = false;
|
|
1367
|
+
});
|
|
1368
|
+
}
|
|
1369
|
+
}
|
|
1370
|
+
});
|
|
1371
|
+
// CONCATENATED MODULE: ./src/imui/src/FormComponents/upload/widgets/RecordPreview.vue?vue&type=script&lang=js
|
|
1372
|
+
/* harmony default export */ var widgets_RecordPreviewvue_type_script_lang_js = (RecordPreviewvue_type_script_lang_js);
|
|
1373
|
+
// EXTERNAL MODULE: ./src/imui/src/FormComponents/upload/widgets/RecordPreview.vue?vue&type=style&index=0&id=598823ea&prod&scoped=true&lang=css
|
|
1374
|
+
var RecordPreviewvue_type_style_index_0_id_598823ea_prod_scoped_true_lang_css = __webpack_require__("a640b");
|
|
1375
|
+
|
|
1376
|
+
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
1377
|
+
var componentNormalizer = __webpack_require__("2877");
|
|
1378
|
+
|
|
1379
|
+
// CONCATENATED MODULE: ./src/imui/src/FormComponents/upload/widgets/RecordPreview.vue
|
|
1380
|
+
|
|
1381
|
+
|
|
1382
|
+
|
|
1383
|
+
|
|
1384
|
+
|
|
1385
|
+
|
|
1386
|
+
/* normalize component */
|
|
1387
|
+
|
|
1388
|
+
var component = Object(componentNormalizer["a" /* default */])(
|
|
1389
|
+
widgets_RecordPreviewvue_type_script_lang_js,
|
|
1390
|
+
RecordPreviewvue_type_template_id_598823ea_scoped_true_render,
|
|
1391
|
+
RecordPreviewvue_type_template_id_598823ea_scoped_true_staticRenderFns,
|
|
1392
|
+
false,
|
|
1393
|
+
null,
|
|
1394
|
+
"598823ea",
|
|
1395
|
+
null
|
|
1396
|
+
|
|
1397
|
+
)
|
|
1398
|
+
|
|
1399
|
+
/* harmony default export */ var RecordPreview = (component.exports);
|
|
1225
1400
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/upload/ImMultiVideoUpload.vue?vue&type=script&lang=js
|
|
1226
1401
|
|
|
1227
1402
|
|
|
@@ -1241,11 +1416,16 @@ var upload = __webpack_require__("3f24");
|
|
|
1241
1416
|
|
|
1242
1417
|
|
|
1243
1418
|
|
|
1419
|
+
|
|
1420
|
+
|
|
1244
1421
|
|
|
1245
1422
|
|
|
1246
1423
|
|
|
1247
1424
|
/* harmony default export */ var ImMultiVideoUploadvue_type_script_lang_js = ({
|
|
1248
1425
|
name: 'RecordScreen',
|
|
1426
|
+
components: {
|
|
1427
|
+
RecordPreview: RecordPreview
|
|
1428
|
+
},
|
|
1249
1429
|
// 组件属性定义
|
|
1250
1430
|
props: {
|
|
1251
1431
|
value: {
|
|
@@ -1322,6 +1502,10 @@ var upload = __webpack_require__("3f24");
|
|
|
1322
1502
|
}
|
|
1323
1503
|
},
|
|
1324
1504
|
methods: {
|
|
1505
|
+
// 添加判断是否为 JSON 录屏文件的方法
|
|
1506
|
+
isJSON: function isJSON(url) {
|
|
1507
|
+
return url && url.endsWith('.json');
|
|
1508
|
+
},
|
|
1325
1509
|
// 设置组件内部的fileList值
|
|
1326
1510
|
setMyValue: function setMyValue(newVal) {
|
|
1327
1511
|
try {
|
|
@@ -1390,8 +1574,11 @@ var upload = __webpack_require__("3f24");
|
|
|
1390
1574
|
},
|
|
1391
1575
|
// 播放视频
|
|
1392
1576
|
playVideo: function playVideo(videoUrl) {
|
|
1393
|
-
|
|
1577
|
+
var _this2 = this;
|
|
1394
1578
|
this.dialogVisible = true;
|
|
1579
|
+
this.$nextTick(function () {
|
|
1580
|
+
_this2.currentVideoUrl = videoUrl;
|
|
1581
|
+
});
|
|
1395
1582
|
},
|
|
1396
1583
|
// 关闭视频播放弹窗
|
|
1397
1584
|
handleClose: function handleClose() {
|
|
@@ -1454,11 +1641,8 @@ var upload = __webpack_require__("3f24");
|
|
|
1454
1641
|
});
|
|
1455
1642
|
// CONCATENATED MODULE: ./src/imui/src/FormComponents/upload/ImMultiVideoUpload.vue?vue&type=script&lang=js
|
|
1456
1643
|
/* harmony default export */ var upload_ImMultiVideoUploadvue_type_script_lang_js = (ImMultiVideoUploadvue_type_script_lang_js);
|
|
1457
|
-
// EXTERNAL MODULE: ./src/imui/src/FormComponents/upload/ImMultiVideoUpload.vue?vue&type=style&index=0&id=
|
|
1458
|
-
var
|
|
1459
|
-
|
|
1460
|
-
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
1461
|
-
var componentNormalizer = __webpack_require__("2877");
|
|
1644
|
+
// EXTERNAL MODULE: ./src/imui/src/FormComponents/upload/ImMultiVideoUpload.vue?vue&type=style&index=0&id=4c7306f8&prod&scoped=true&lang=scss
|
|
1645
|
+
var ImMultiVideoUploadvue_type_style_index_0_id_4c7306f8_prod_scoped_true_lang_scss = __webpack_require__("baad");
|
|
1462
1646
|
|
|
1463
1647
|
// CONCATENATED MODULE: ./src/imui/src/FormComponents/upload/ImMultiVideoUpload.vue
|
|
1464
1648
|
|
|
@@ -1469,18 +1653,18 @@ var componentNormalizer = __webpack_require__("2877");
|
|
|
1469
1653
|
|
|
1470
1654
|
/* normalize component */
|
|
1471
1655
|
|
|
1472
|
-
var
|
|
1656
|
+
var ImMultiVideoUpload_component = Object(componentNormalizer["a" /* default */])(
|
|
1473
1657
|
upload_ImMultiVideoUploadvue_type_script_lang_js,
|
|
1474
1658
|
render,
|
|
1475
1659
|
staticRenderFns,
|
|
1476
1660
|
false,
|
|
1477
1661
|
null,
|
|
1478
|
-
"
|
|
1662
|
+
"4c7306f8",
|
|
1479
1663
|
null
|
|
1480
1664
|
|
|
1481
1665
|
)
|
|
1482
1666
|
|
|
1483
|
-
/* harmony default export */ var ImMultiVideoUpload = __webpack_exports__["default"] = (
|
|
1667
|
+
/* harmony default export */ var ImMultiVideoUpload = __webpack_exports__["default"] = (ImMultiVideoUpload_component.exports);
|
|
1484
1668
|
|
|
1485
1669
|
/***/ }),
|
|
1486
1670
|
|
|
@@ -2642,13 +2826,6 @@ module.exports = function (METHOD_NAME) {
|
|
|
2642
2826
|
};
|
|
2643
2827
|
|
|
2644
2828
|
|
|
2645
|
-
/***/ }),
|
|
2646
|
-
|
|
2647
|
-
/***/ "1e6e":
|
|
2648
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2649
|
-
|
|
2650
|
-
// extracted by mini-css-extract-plugin
|
|
2651
|
-
|
|
2652
2829
|
/***/ }),
|
|
2653
2830
|
|
|
2654
2831
|
/***/ "1f68":
|
|
@@ -3203,7 +3380,7 @@ $({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') },
|
|
|
3203
3380
|
// ESM COMPAT FLAG
|
|
3204
3381
|
__webpack_require__.r(__webpack_exports__);
|
|
3205
3382
|
|
|
3206
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3383
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImBr.vue?vue&type=template&id=c7fbbe86
|
|
3207
3384
|
var render = function render() {
|
|
3208
3385
|
var _vm = this,
|
|
3209
3386
|
_c = _vm._self._c;
|
|
@@ -3922,6 +4099,13 @@ module.exports = __webpack_require__("8bbf");
|
|
|
3922
4099
|
|
|
3923
4100
|
/***/ }),
|
|
3924
4101
|
|
|
4102
|
+
/***/ "2a00":
|
|
4103
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4104
|
+
|
|
4105
|
+
// extracted by mini-css-extract-plugin
|
|
4106
|
+
|
|
4107
|
+
/***/ }),
|
|
4108
|
+
|
|
3925
4109
|
/***/ "2a5e":
|
|
3926
4110
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3927
4111
|
|
|
@@ -4326,7 +4510,7 @@ module.exports = function isCancel(value) {
|
|
|
4326
4510
|
// ESM COMPAT FLAG
|
|
4327
4511
|
__webpack_require__.r(__webpack_exports__);
|
|
4328
4512
|
|
|
4329
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4513
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImServerCascader.vue?vue&type=template&id=a30b4482
|
|
4330
4514
|
var render = function render() {
|
|
4331
4515
|
var _vm = this,
|
|
4332
4516
|
_c = _vm._self._c;
|
|
@@ -5930,7 +6114,7 @@ module.exports = function () { /* empty */ };
|
|
|
5930
6114
|
// ESM COMPAT FLAG
|
|
5931
6115
|
__webpack_require__.r(__webpack_exports__);
|
|
5932
6116
|
|
|
5933
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6117
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImNumberInput.vue?vue&type=template&id=3f4f2e4b&scoped=true
|
|
5934
6118
|
var render = function render() {
|
|
5935
6119
|
var _vm$placeholder;
|
|
5936
6120
|
var _vm = this,
|
|
@@ -7193,7 +7377,7 @@ var service = Object(_requestTemplate__WEBPACK_IMPORTED_MODULE_0__[/* getService
|
|
|
7193
7377
|
// ESM COMPAT FLAG
|
|
7194
7378
|
__webpack_require__.r(__webpack_exports__);
|
|
7195
7379
|
|
|
7196
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
7380
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/upload/ImFieldFileUpload.vue?vue&type=template&id=6d90a31c&scoped=true
|
|
7197
7381
|
var render = function render() {
|
|
7198
7382
|
var _vm = this,
|
|
7199
7383
|
_c = _vm._self._c;
|
|
@@ -7301,7 +7485,7 @@ var upload = __webpack_require__("3f24");
|
|
|
7301
7485
|
// EXTERNAL MODULE: ./node_modules/element-ui/src/mixins/emitter.js
|
|
7302
7486
|
var emitter = __webpack_require__("f6f4");
|
|
7303
7487
|
|
|
7304
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
7488
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/upload/widgets/FileLinePreview.vue?vue&type=template&id=5ec1d9b8&scoped=true
|
|
7305
7489
|
var FileLinePreviewvue_type_template_id_5ec1d9b8_scoped_true_render = function render() {
|
|
7306
7490
|
var _vm = this,
|
|
7307
7491
|
_c = _vm._self._c;
|
|
@@ -7680,7 +7864,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
7680
7864
|
)
|
|
7681
7865
|
|
|
7682
7866
|
/* harmony default export */ var FileLinePreview = (component.exports);
|
|
7683
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
7867
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/upload/widgets/PdfPreviewDialog.vue?vue&type=template&id=3ca8baa0&scoped=true
|
|
7684
7868
|
var PdfPreviewDialogvue_type_template_id_3ca8baa0_scoped_true_render = function render() {
|
|
7685
7869
|
var _vm = this,
|
|
7686
7870
|
_c = _vm._self._c;
|
|
@@ -8052,7 +8236,9 @@ function _fnUploadRequest() {
|
|
|
8052
8236
|
// 你的 OSS bucket 名称
|
|
8053
8237
|
region: 'oss-cn-beijing',
|
|
8054
8238
|
// bucket 所在地址,我的是 华北2 北京
|
|
8055
|
-
endpoint: 'oss-cn-beijing.aliyuncs.com'
|
|
8239
|
+
endpoint: 'oss-cn-beijing.aliyuncs.com',
|
|
8240
|
+
// 自己的域名
|
|
8241
|
+
timeout: 600000
|
|
8056
8242
|
// cname: 'udstatic.imeik.com'
|
|
8057
8243
|
});
|
|
8058
8244
|
file = options.file; // 拿到 file
|
|
@@ -9664,13 +9850,6 @@ module.exports = function (fn) {
|
|
|
9664
9850
|
|
|
9665
9851
|
/***/ }),
|
|
9666
9852
|
|
|
9667
|
-
/***/ "4653":
|
|
9668
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9669
|
-
|
|
9670
|
-
// extracted by mini-css-extract-plugin
|
|
9671
|
-
|
|
9672
|
-
/***/ }),
|
|
9673
|
-
|
|
9674
9853
|
/***/ "467f":
|
|
9675
9854
|
/***/ (function(module, exports, __webpack_require__) {
|
|
9676
9855
|
|
|
@@ -14171,7 +14350,7 @@ module.exports = Array.isArray || function isArray(arg) {
|
|
|
14171
14350
|
// ESM COMPAT FLAG
|
|
14172
14351
|
__webpack_require__.r(__webpack_exports__);
|
|
14173
14352
|
|
|
14174
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14353
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImGroupSelect.vue?vue&type=template&id=7d92665e
|
|
14175
14354
|
var render = function render() {
|
|
14176
14355
|
var _vm = this,
|
|
14177
14356
|
_c = _vm._self._c;
|
|
@@ -15443,7 +15622,7 @@ function _typeof(o) {
|
|
|
15443
15622
|
// ESM COMPAT FLAG
|
|
15444
15623
|
__webpack_require__.r(__webpack_exports__);
|
|
15445
15624
|
|
|
15446
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15625
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImSlot.vue?vue&type=template&id=67e1336e
|
|
15447
15626
|
var render = function render() {
|
|
15448
15627
|
var _vm = this,
|
|
15449
15628
|
_c = _vm._self._c;
|
|
@@ -70128,7 +70307,7 @@ module.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(func
|
|
|
70128
70307
|
// ESM COMPAT FLAG
|
|
70129
70308
|
__webpack_require__.r(__webpack_exports__);
|
|
70130
70309
|
|
|
70131
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
70310
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImOneLineDot.vue?vue&type=template&id=5614931a&scoped=true
|
|
70132
70311
|
var render = function render() {
|
|
70133
70312
|
var _vm = this,
|
|
70134
70313
|
_c = _vm._self._c;
|
|
@@ -70500,17 +70679,6 @@ var classof = __webpack_require__("c6b6");
|
|
|
70500
70679
|
module.exports = classof(global.process) === 'process';
|
|
70501
70680
|
|
|
70502
70681
|
|
|
70503
|
-
/***/ }),
|
|
70504
|
-
|
|
70505
|
-
/***/ "6061":
|
|
70506
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
70507
|
-
|
|
70508
|
-
"use strict";
|
|
70509
|
-
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImMultiVideoUpload_vue_vue_type_style_index_0_id_2ee2a434_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4653");
|
|
70510
|
-
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImMultiVideoUpload_vue_vue_type_style_index_0_id_2ee2a434_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImMultiVideoUpload_vue_vue_type_style_index_0_id_2ee2a434_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
70511
|
-
/* unused harmony reexport * */
|
|
70512
|
-
|
|
70513
|
-
|
|
70514
70682
|
/***/ }),
|
|
70515
70683
|
|
|
70516
70684
|
/***/ "6062":
|
|
@@ -77158,7 +77326,7 @@ module.exports = function (CONSTRUCTOR_NAME, wrapper, common) {
|
|
|
77158
77326
|
// ESM COMPAT FLAG
|
|
77159
77327
|
__webpack_require__.r(__webpack_exports__);
|
|
77160
77328
|
|
|
77161
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
77329
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImNumberRange.vue?vue&type=template&id=5b7f0434&scoped=true
|
|
77162
77330
|
var render = function render() {
|
|
77163
77331
|
var _vm = this,
|
|
77164
77332
|
_c = _vm._self._c;
|
|
@@ -78616,6 +78784,17 @@ module.exports = function (object, key, method) {
|
|
|
78616
78784
|
/* unused harmony reexport * */
|
|
78617
78785
|
|
|
78618
78786
|
|
|
78787
|
+
/***/ }),
|
|
78788
|
+
|
|
78789
|
+
/***/ "733c":
|
|
78790
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
78791
|
+
|
|
78792
|
+
"use strict";
|
|
78793
|
+
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImMultiImgUploadList_vue_vue_type_style_index_0_id_5109f95b_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("03f3");
|
|
78794
|
+
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImMultiImgUploadList_vue_vue_type_style_index_0_id_5109f95b_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImMultiImgUploadList_vue_vue_type_style_index_0_id_5109f95b_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
78795
|
+
/* unused harmony reexport * */
|
|
78796
|
+
|
|
78797
|
+
|
|
78619
78798
|
/***/ }),
|
|
78620
78799
|
|
|
78621
78800
|
/***/ "7418":
|
|
@@ -78744,17 +78923,6 @@ Cancel.prototype.__CANCEL__ = true;
|
|
|
78744
78923
|
module.exports = Cancel;
|
|
78745
78924
|
|
|
78746
78925
|
|
|
78747
|
-
/***/ }),
|
|
78748
|
-
|
|
78749
|
-
/***/ "7a91":
|
|
78750
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
78751
|
-
|
|
78752
|
-
"use strict";
|
|
78753
|
-
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImMultiImgUploadList_vue_vue_type_style_index_0_id_39615df0_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1e6e");
|
|
78754
|
-
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImMultiImgUploadList_vue_vue_type_style_index_0_id_39615df0_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImMultiImgUploadList_vue_vue_type_style_index_0_id_39615df0_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
78755
|
-
/* unused harmony reexport * */
|
|
78756
|
-
|
|
78757
|
-
|
|
78758
78926
|
/***/ }),
|
|
78759
78927
|
|
|
78760
78928
|
/***/ "7aac":
|
|
@@ -78825,7 +78993,7 @@ module.exports = (
|
|
|
78825
78993
|
// ESM COMPAT FLAG
|
|
78826
78994
|
__webpack_require__.r(__webpack_exports__);
|
|
78827
78995
|
|
|
78828
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
78996
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/upload/ImMultiImgUploadList.vue?vue&type=template&id=5109f95b&scoped=true
|
|
78829
78997
|
var render = function render() {
|
|
78830
78998
|
var _vm = this,
|
|
78831
78999
|
_c = _vm._self._c;
|
|
@@ -78840,7 +79008,14 @@ var render = function render() {
|
|
|
78840
79008
|
return _c('div', {
|
|
78841
79009
|
key: index,
|
|
78842
79010
|
staticClass: "item-view"
|
|
78843
|
-
}, [_c('
|
|
79011
|
+
}, [_vm.isSnapshotData(item) ? _c('div', {
|
|
79012
|
+
staticClass: "file-img-view"
|
|
79013
|
+
}, [_c('img', {
|
|
79014
|
+
attrs: {
|
|
79015
|
+
"src": "https://udstatic.imeik.com/pcUploads/1733198986155/icon_recording_recording.png",
|
|
79016
|
+
"alt": "快照预览"
|
|
79017
|
+
}
|
|
79018
|
+
})]) : _c('el-image', {
|
|
78844
79019
|
staticClass: "file-img-view",
|
|
78845
79020
|
attrs: {
|
|
78846
79021
|
"src": item,
|
|
@@ -78848,7 +79023,14 @@ var render = function render() {
|
|
|
78848
79023
|
}
|
|
78849
79024
|
}), _c('div', {
|
|
78850
79025
|
staticClass: "operate"
|
|
78851
|
-
}, [_c('i', {
|
|
79026
|
+
}, [_vm.isSnapshotData(item) ? _c('i', {
|
|
79027
|
+
staticClass: "el-icon-view",
|
|
79028
|
+
on: {
|
|
79029
|
+
"click": function click($event) {
|
|
79030
|
+
return _vm.showSnapshotView(item);
|
|
79031
|
+
}
|
|
79032
|
+
}
|
|
79033
|
+
}) : _c('i', {
|
|
78852
79034
|
staticClass: "el-icon-view",
|
|
78853
79035
|
on: {
|
|
78854
79036
|
"click": function click($event) {
|
|
@@ -78858,7 +79040,23 @@ var render = function render() {
|
|
|
78858
79040
|
}
|
|
78859
79041
|
}
|
|
78860
79042
|
})])], 1);
|
|
78861
|
-
}), 0)
|
|
79043
|
+
}), 0), _c('el-dialog', {
|
|
79044
|
+
attrs: {
|
|
79045
|
+
"title": "快照预览",
|
|
79046
|
+
"visible": _vm.snapshotDialogVisible,
|
|
79047
|
+
"width": "60%",
|
|
79048
|
+
"before-close": _vm.handleSnapshotDialogClose,
|
|
79049
|
+
"custom-class": "snapshot-dialog"
|
|
79050
|
+
},
|
|
79051
|
+
on: {
|
|
79052
|
+
"update:visible": function updateVisible($event) {
|
|
79053
|
+
_vm.snapshotDialogVisible = $event;
|
|
79054
|
+
}
|
|
79055
|
+
}
|
|
79056
|
+
}, [_c('div', {
|
|
79057
|
+
ref: "snapshotContainer",
|
|
79058
|
+
staticClass: "snapshot-container"
|
|
79059
|
+
})])], 1) : _c('el-upload', _vm._g(_vm._b({
|
|
78862
79060
|
ref: "upload",
|
|
78863
79061
|
class: {
|
|
78864
79062
|
hide: _vm.hideUpload
|
|
@@ -78886,29 +79084,1895 @@ var render = function render() {
|
|
|
78886
79084
|
};
|
|
78887
79085
|
var staticRenderFns = [];
|
|
78888
79086
|
|
|
78889
|
-
// CONCATENATED MODULE: ./src/imui/src/FormComponents/upload/ImMultiImgUploadList.vue?vue&type=template&id=
|
|
79087
|
+
// CONCATENATED MODULE: ./src/imui/src/FormComponents/upload/ImMultiImgUploadList.vue?vue&type=template&id=5109f95b&scoped=true
|
|
79088
|
+
|
|
79089
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js
|
|
79090
|
+
var regeneratorRuntime = __webpack_require__("c7eb");
|
|
79091
|
+
|
|
79092
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
79093
|
+
var asyncToGenerator = __webpack_require__("1da1");
|
|
79094
|
+
|
|
79095
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
|
|
79096
|
+
var es_array_filter = __webpack_require__("4de4");
|
|
78890
79097
|
|
|
78891
79098
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find-index.js
|
|
78892
79099
|
var es_array_find_index = __webpack_require__("c740");
|
|
78893
79100
|
|
|
79101
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
|
79102
|
+
var es_array_includes = __webpack_require__("caad");
|
|
79103
|
+
|
|
78894
79104
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
78895
79105
|
var es_array_push = __webpack_require__("14d9");
|
|
78896
79106
|
|
|
78897
79107
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.splice.js
|
|
78898
79108
|
var es_array_splice = __webpack_require__("a434");
|
|
78899
79109
|
|
|
79110
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
|
|
79111
|
+
var es_object_to_string = __webpack_require__("d3b7");
|
|
79112
|
+
|
|
79113
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
79114
|
+
var es_promise = __webpack_require__("e6cf");
|
|
79115
|
+
|
|
79116
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.ends-with.js
|
|
79117
|
+
var es_string_ends_with = __webpack_require__("8a79");
|
|
79118
|
+
|
|
79119
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
|
|
79120
|
+
var es_string_includes = __webpack_require__("2532");
|
|
79121
|
+
|
|
78900
79122
|
// EXTERNAL MODULE: ./src/imui/src/FormComponents/upload/upload.js
|
|
78901
79123
|
var upload = __webpack_require__("3f24");
|
|
78902
79124
|
|
|
78903
79125
|
// EXTERNAL MODULE: ./node_modules/element-ui/src/mixins/emitter.js
|
|
78904
79126
|
var emitter = __webpack_require__("f6f4");
|
|
78905
79127
|
|
|
79128
|
+
// CONCATENATED MODULE: ./node_modules/rrweb-snapshot/es/rrweb-snapshot.js
|
|
79129
|
+
var NodeType;
|
|
79130
|
+
(function (NodeType) {
|
|
79131
|
+
NodeType[NodeType["Document"] = 0] = "Document";
|
|
79132
|
+
NodeType[NodeType["DocumentType"] = 1] = "DocumentType";
|
|
79133
|
+
NodeType[NodeType["Element"] = 2] = "Element";
|
|
79134
|
+
NodeType[NodeType["Text"] = 3] = "Text";
|
|
79135
|
+
NodeType[NodeType["CDATA"] = 4] = "CDATA";
|
|
79136
|
+
NodeType[NodeType["Comment"] = 5] = "Comment";
|
|
79137
|
+
})(NodeType || (NodeType = {}));
|
|
79138
|
+
|
|
79139
|
+
function isElement(n) {
|
|
79140
|
+
return n.nodeType === n.ELEMENT_NODE;
|
|
79141
|
+
}
|
|
79142
|
+
function isShadowRoot(n) {
|
|
79143
|
+
var host = n === null || n === void 0 ? void 0 : n.host;
|
|
79144
|
+
return Boolean((host === null || host === void 0 ? void 0 : host.shadowRoot) === n);
|
|
79145
|
+
}
|
|
79146
|
+
function isNativeShadowDom(shadowRoot) {
|
|
79147
|
+
return Object.prototype.toString.call(shadowRoot) === '[object ShadowRoot]';
|
|
79148
|
+
}
|
|
79149
|
+
function fixBrowserCompatibilityIssuesInCSS(cssText) {
|
|
79150
|
+
if (cssText.includes(' background-clip: text;') &&
|
|
79151
|
+
!cssText.includes(' -webkit-background-clip: text;')) {
|
|
79152
|
+
cssText = cssText.replace(' background-clip: text;', ' -webkit-background-clip: text; background-clip: text;');
|
|
79153
|
+
}
|
|
79154
|
+
return cssText;
|
|
79155
|
+
}
|
|
79156
|
+
function getCssRulesString(s) {
|
|
79157
|
+
try {
|
|
79158
|
+
var rules = s.rules || s.cssRules;
|
|
79159
|
+
return rules
|
|
79160
|
+
? fixBrowserCompatibilityIssuesInCSS(Array.from(rules).map(getCssRuleString).join(''))
|
|
79161
|
+
: null;
|
|
79162
|
+
}
|
|
79163
|
+
catch (error) {
|
|
79164
|
+
return null;
|
|
79165
|
+
}
|
|
79166
|
+
}
|
|
79167
|
+
function getCssRuleString(rule) {
|
|
79168
|
+
var cssStringified = rule.cssText;
|
|
79169
|
+
if (isCSSImportRule(rule)) {
|
|
79170
|
+
try {
|
|
79171
|
+
cssStringified = getCssRulesString(rule.styleSheet) || cssStringified;
|
|
79172
|
+
}
|
|
79173
|
+
catch (_a) {
|
|
79174
|
+
}
|
|
79175
|
+
}
|
|
79176
|
+
return cssStringified;
|
|
79177
|
+
}
|
|
79178
|
+
function isCSSImportRule(rule) {
|
|
79179
|
+
return 'styleSheet' in rule;
|
|
79180
|
+
}
|
|
79181
|
+
var Mirror = (function () {
|
|
79182
|
+
function Mirror() {
|
|
79183
|
+
this.idNodeMap = new Map();
|
|
79184
|
+
this.nodeMetaMap = new WeakMap();
|
|
79185
|
+
}
|
|
79186
|
+
Mirror.prototype.getId = function (n) {
|
|
79187
|
+
var _a;
|
|
79188
|
+
if (!n)
|
|
79189
|
+
return -1;
|
|
79190
|
+
var id = (_a = this.getMeta(n)) === null || _a === void 0 ? void 0 : _a.id;
|
|
79191
|
+
return id !== null && id !== void 0 ? id : -1;
|
|
79192
|
+
};
|
|
79193
|
+
Mirror.prototype.getNode = function (id) {
|
|
79194
|
+
return this.idNodeMap.get(id) || null;
|
|
79195
|
+
};
|
|
79196
|
+
Mirror.prototype.getIds = function () {
|
|
79197
|
+
return Array.from(this.idNodeMap.keys());
|
|
79198
|
+
};
|
|
79199
|
+
Mirror.prototype.getMeta = function (n) {
|
|
79200
|
+
return this.nodeMetaMap.get(n) || null;
|
|
79201
|
+
};
|
|
79202
|
+
Mirror.prototype.removeNodeFromMap = function (n) {
|
|
79203
|
+
var _this = this;
|
|
79204
|
+
var id = this.getId(n);
|
|
79205
|
+
this.idNodeMap["delete"](id);
|
|
79206
|
+
if (n.childNodes) {
|
|
79207
|
+
n.childNodes.forEach(function (childNode) {
|
|
79208
|
+
return _this.removeNodeFromMap(childNode);
|
|
79209
|
+
});
|
|
79210
|
+
}
|
|
79211
|
+
};
|
|
79212
|
+
Mirror.prototype.has = function (id) {
|
|
79213
|
+
return this.idNodeMap.has(id);
|
|
79214
|
+
};
|
|
79215
|
+
Mirror.prototype.hasNode = function (node) {
|
|
79216
|
+
return this.nodeMetaMap.has(node);
|
|
79217
|
+
};
|
|
79218
|
+
Mirror.prototype.add = function (n, meta) {
|
|
79219
|
+
var id = meta.id;
|
|
79220
|
+
this.idNodeMap.set(id, n);
|
|
79221
|
+
this.nodeMetaMap.set(n, meta);
|
|
79222
|
+
};
|
|
79223
|
+
Mirror.prototype.replace = function (id, n) {
|
|
79224
|
+
var oldNode = this.getNode(id);
|
|
79225
|
+
if (oldNode) {
|
|
79226
|
+
var meta = this.nodeMetaMap.get(oldNode);
|
|
79227
|
+
if (meta)
|
|
79228
|
+
this.nodeMetaMap.set(n, meta);
|
|
79229
|
+
}
|
|
79230
|
+
this.idNodeMap.set(id, n);
|
|
79231
|
+
};
|
|
79232
|
+
Mirror.prototype.reset = function () {
|
|
79233
|
+
this.idNodeMap = new Map();
|
|
79234
|
+
this.nodeMetaMap = new WeakMap();
|
|
79235
|
+
};
|
|
79236
|
+
return Mirror;
|
|
79237
|
+
}());
|
|
79238
|
+
function createMirror() {
|
|
79239
|
+
return new Mirror();
|
|
79240
|
+
}
|
|
79241
|
+
function maskInputValue(_a) {
|
|
79242
|
+
var maskInputOptions = _a.maskInputOptions, tagName = _a.tagName, type = _a.type, value = _a.value, maskInputFn = _a.maskInputFn;
|
|
79243
|
+
var text = value || '';
|
|
79244
|
+
if (maskInputOptions[tagName.toLowerCase()] ||
|
|
79245
|
+
maskInputOptions[type]) {
|
|
79246
|
+
if (maskInputFn) {
|
|
79247
|
+
text = maskInputFn(text);
|
|
79248
|
+
}
|
|
79249
|
+
else {
|
|
79250
|
+
text = '*'.repeat(text.length);
|
|
79251
|
+
}
|
|
79252
|
+
}
|
|
79253
|
+
return text;
|
|
79254
|
+
}
|
|
79255
|
+
var ORIGINAL_ATTRIBUTE_NAME = '__rrweb_original__';
|
|
79256
|
+
function is2DCanvasBlank(canvas) {
|
|
79257
|
+
var ctx = canvas.getContext('2d');
|
|
79258
|
+
if (!ctx)
|
|
79259
|
+
return true;
|
|
79260
|
+
var chunkSize = 50;
|
|
79261
|
+
for (var x = 0; x < canvas.width; x += chunkSize) {
|
|
79262
|
+
for (var y = 0; y < canvas.height; y += chunkSize) {
|
|
79263
|
+
var getImageData = ctx.getImageData;
|
|
79264
|
+
var originalGetImageData = ORIGINAL_ATTRIBUTE_NAME in getImageData
|
|
79265
|
+
? getImageData[ORIGINAL_ATTRIBUTE_NAME]
|
|
79266
|
+
: getImageData;
|
|
79267
|
+
var pixelBuffer = new Uint32Array(originalGetImageData.call(ctx, x, y, Math.min(chunkSize, canvas.width - x), Math.min(chunkSize, canvas.height - y)).data.buffer);
|
|
79268
|
+
if (pixelBuffer.some(function (pixel) { return pixel !== 0; }))
|
|
79269
|
+
return false;
|
|
79270
|
+
}
|
|
79271
|
+
}
|
|
79272
|
+
return true;
|
|
79273
|
+
}
|
|
79274
|
+
|
|
79275
|
+
var _id = 1;
|
|
79276
|
+
var tagNameRegex = new RegExp('[^a-z0-9-_:]');
|
|
79277
|
+
var IGNORED_NODE = -2;
|
|
79278
|
+
function genId() {
|
|
79279
|
+
return _id++;
|
|
79280
|
+
}
|
|
79281
|
+
function getValidTagName(element) {
|
|
79282
|
+
if (element instanceof HTMLFormElement) {
|
|
79283
|
+
return 'form';
|
|
79284
|
+
}
|
|
79285
|
+
var processedTagName = element.tagName.toLowerCase().trim();
|
|
79286
|
+
if (tagNameRegex.test(processedTagName)) {
|
|
79287
|
+
return 'div';
|
|
79288
|
+
}
|
|
79289
|
+
return processedTagName;
|
|
79290
|
+
}
|
|
79291
|
+
function stringifyStyleSheet(sheet) {
|
|
79292
|
+
return sheet.cssRules
|
|
79293
|
+
? Array.from(sheet.cssRules)
|
|
79294
|
+
.map(function (rule) { return rule.cssText || ''; })
|
|
79295
|
+
.join('')
|
|
79296
|
+
: '';
|
|
79297
|
+
}
|
|
79298
|
+
function extractOrigin(url) {
|
|
79299
|
+
var origin = '';
|
|
79300
|
+
if (url.indexOf('//') > -1) {
|
|
79301
|
+
origin = url.split('/').slice(0, 3).join('/');
|
|
79302
|
+
}
|
|
79303
|
+
else {
|
|
79304
|
+
origin = url.split('/')[0];
|
|
79305
|
+
}
|
|
79306
|
+
origin = origin.split('?')[0];
|
|
79307
|
+
return origin;
|
|
79308
|
+
}
|
|
79309
|
+
var canvasService;
|
|
79310
|
+
var canvasCtx;
|
|
79311
|
+
var URL_IN_CSS_REF = /url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm;
|
|
79312
|
+
var RELATIVE_PATH = /^(?!www\.|(?:http|ftp)s?:\/\/|[A-Za-z]:\\|\/\/|#).*/;
|
|
79313
|
+
var DATA_URI = /^(data:)([^,]*),(.*)/i;
|
|
79314
|
+
function absoluteToStylesheet(cssText, href) {
|
|
79315
|
+
return (cssText || '').replace(URL_IN_CSS_REF, function (origin, quote1, path1, quote2, path2, path3) {
|
|
79316
|
+
var filePath = path1 || path2 || path3;
|
|
79317
|
+
var maybeQuote = quote1 || quote2 || '';
|
|
79318
|
+
if (!filePath) {
|
|
79319
|
+
return origin;
|
|
79320
|
+
}
|
|
79321
|
+
if (!RELATIVE_PATH.test(filePath)) {
|
|
79322
|
+
return "url(".concat(maybeQuote).concat(filePath).concat(maybeQuote, ")");
|
|
79323
|
+
}
|
|
79324
|
+
if (DATA_URI.test(filePath)) {
|
|
79325
|
+
return "url(".concat(maybeQuote).concat(filePath).concat(maybeQuote, ")");
|
|
79326
|
+
}
|
|
79327
|
+
if (filePath[0] === '/') {
|
|
79328
|
+
return "url(".concat(maybeQuote).concat(extractOrigin(href) + filePath).concat(maybeQuote, ")");
|
|
79329
|
+
}
|
|
79330
|
+
var stack = href.split('/');
|
|
79331
|
+
var parts = filePath.split('/');
|
|
79332
|
+
stack.pop();
|
|
79333
|
+
for (var _i = 0, parts_1 = parts; _i < parts_1.length; _i++) {
|
|
79334
|
+
var part = parts_1[_i];
|
|
79335
|
+
if (part === '.') {
|
|
79336
|
+
continue;
|
|
79337
|
+
}
|
|
79338
|
+
else if (part === '..') {
|
|
79339
|
+
stack.pop();
|
|
79340
|
+
}
|
|
79341
|
+
else {
|
|
79342
|
+
stack.push(part);
|
|
79343
|
+
}
|
|
79344
|
+
}
|
|
79345
|
+
return "url(".concat(maybeQuote).concat(stack.join('/')).concat(maybeQuote, ")");
|
|
79346
|
+
});
|
|
79347
|
+
}
|
|
79348
|
+
var SRCSET_NOT_SPACES = /^[^ \t\n\r\u000c]+/;
|
|
79349
|
+
var SRCSET_COMMAS_OR_SPACES = /^[, \t\n\r\u000c]+/;
|
|
79350
|
+
function getAbsoluteSrcsetString(doc, attributeValue) {
|
|
79351
|
+
if (attributeValue.trim() === '') {
|
|
79352
|
+
return attributeValue;
|
|
79353
|
+
}
|
|
79354
|
+
var pos = 0;
|
|
79355
|
+
function collectCharacters(regEx) {
|
|
79356
|
+
var chars;
|
|
79357
|
+
var match = regEx.exec(attributeValue.substring(pos));
|
|
79358
|
+
if (match) {
|
|
79359
|
+
chars = match[0];
|
|
79360
|
+
pos += chars.length;
|
|
79361
|
+
return chars;
|
|
79362
|
+
}
|
|
79363
|
+
return '';
|
|
79364
|
+
}
|
|
79365
|
+
var output = [];
|
|
79366
|
+
while (true) {
|
|
79367
|
+
collectCharacters(SRCSET_COMMAS_OR_SPACES);
|
|
79368
|
+
if (pos >= attributeValue.length) {
|
|
79369
|
+
break;
|
|
79370
|
+
}
|
|
79371
|
+
var url = collectCharacters(SRCSET_NOT_SPACES);
|
|
79372
|
+
if (url.slice(-1) === ',') {
|
|
79373
|
+
url = absoluteToDoc(doc, url.substring(0, url.length - 1));
|
|
79374
|
+
output.push(url);
|
|
79375
|
+
}
|
|
79376
|
+
else {
|
|
79377
|
+
var descriptorsStr = '';
|
|
79378
|
+
url = absoluteToDoc(doc, url);
|
|
79379
|
+
var inParens = false;
|
|
79380
|
+
while (true) {
|
|
79381
|
+
var c = attributeValue.charAt(pos);
|
|
79382
|
+
if (c === '') {
|
|
79383
|
+
output.push((url + descriptorsStr).trim());
|
|
79384
|
+
break;
|
|
79385
|
+
}
|
|
79386
|
+
else if (!inParens) {
|
|
79387
|
+
if (c === ',') {
|
|
79388
|
+
pos += 1;
|
|
79389
|
+
output.push((url + descriptorsStr).trim());
|
|
79390
|
+
break;
|
|
79391
|
+
}
|
|
79392
|
+
else if (c === '(') {
|
|
79393
|
+
inParens = true;
|
|
79394
|
+
}
|
|
79395
|
+
}
|
|
79396
|
+
else {
|
|
79397
|
+
if (c === ')') {
|
|
79398
|
+
inParens = false;
|
|
79399
|
+
}
|
|
79400
|
+
}
|
|
79401
|
+
descriptorsStr += c;
|
|
79402
|
+
pos += 1;
|
|
79403
|
+
}
|
|
79404
|
+
}
|
|
79405
|
+
}
|
|
79406
|
+
return output.join(', ');
|
|
79407
|
+
}
|
|
79408
|
+
function absoluteToDoc(doc, attributeValue) {
|
|
79409
|
+
if (!attributeValue || attributeValue.trim() === '') {
|
|
79410
|
+
return attributeValue;
|
|
79411
|
+
}
|
|
79412
|
+
var a = doc.createElement('a');
|
|
79413
|
+
a.href = attributeValue;
|
|
79414
|
+
return a.href;
|
|
79415
|
+
}
|
|
79416
|
+
function isSVGElement(el) {
|
|
79417
|
+
return Boolean(el.tagName === 'svg' || el.ownerSVGElement);
|
|
79418
|
+
}
|
|
79419
|
+
function getHref() {
|
|
79420
|
+
var a = document.createElement('a');
|
|
79421
|
+
a.href = '';
|
|
79422
|
+
return a.href;
|
|
79423
|
+
}
|
|
79424
|
+
function transformAttribute(doc, tagName, name, value) {
|
|
79425
|
+
if (name === 'src' ||
|
|
79426
|
+
(name === 'href' && value && !(tagName === 'use' && value[0] === '#'))) {
|
|
79427
|
+
return absoluteToDoc(doc, value);
|
|
79428
|
+
}
|
|
79429
|
+
else if (name === 'xlink:href' && value && value[0] !== '#') {
|
|
79430
|
+
return absoluteToDoc(doc, value);
|
|
79431
|
+
}
|
|
79432
|
+
else if (name === 'background' &&
|
|
79433
|
+
value &&
|
|
79434
|
+
(tagName === 'table' || tagName === 'td' || tagName === 'th')) {
|
|
79435
|
+
return absoluteToDoc(doc, value);
|
|
79436
|
+
}
|
|
79437
|
+
else if (name === 'srcset' && value) {
|
|
79438
|
+
return getAbsoluteSrcsetString(doc, value);
|
|
79439
|
+
}
|
|
79440
|
+
else if (name === 'style' && value) {
|
|
79441
|
+
return absoluteToStylesheet(value, getHref());
|
|
79442
|
+
}
|
|
79443
|
+
else if (tagName === 'object' && name === 'data' && value) {
|
|
79444
|
+
return absoluteToDoc(doc, value);
|
|
79445
|
+
}
|
|
79446
|
+
else {
|
|
79447
|
+
return value;
|
|
79448
|
+
}
|
|
79449
|
+
}
|
|
79450
|
+
function _isBlockedElement(element, blockClass, blockSelector) {
|
|
79451
|
+
if (typeof blockClass === 'string') {
|
|
79452
|
+
if (element.classList.contains(blockClass)) {
|
|
79453
|
+
return true;
|
|
79454
|
+
}
|
|
79455
|
+
}
|
|
79456
|
+
else {
|
|
79457
|
+
for (var eIndex = element.classList.length; eIndex--;) {
|
|
79458
|
+
var className = element.classList[eIndex];
|
|
79459
|
+
if (blockClass.test(className)) {
|
|
79460
|
+
return true;
|
|
79461
|
+
}
|
|
79462
|
+
}
|
|
79463
|
+
}
|
|
79464
|
+
if (blockSelector) {
|
|
79465
|
+
return element.matches(blockSelector);
|
|
79466
|
+
}
|
|
79467
|
+
return false;
|
|
79468
|
+
}
|
|
79469
|
+
function classMatchesRegex(node, regex, checkAncestors) {
|
|
79470
|
+
if (!node)
|
|
79471
|
+
return false;
|
|
79472
|
+
if (node.nodeType !== node.ELEMENT_NODE) {
|
|
79473
|
+
if (!checkAncestors)
|
|
79474
|
+
return false;
|
|
79475
|
+
return classMatchesRegex(node.parentNode, regex, checkAncestors);
|
|
79476
|
+
}
|
|
79477
|
+
for (var eIndex = node.classList.length; eIndex--;) {
|
|
79478
|
+
var className = node.classList[eIndex];
|
|
79479
|
+
if (regex.test(className)) {
|
|
79480
|
+
return true;
|
|
79481
|
+
}
|
|
79482
|
+
}
|
|
79483
|
+
if (!checkAncestors)
|
|
79484
|
+
return false;
|
|
79485
|
+
return classMatchesRegex(node.parentNode, regex, checkAncestors);
|
|
79486
|
+
}
|
|
79487
|
+
function needMaskingText(node, maskTextClass, maskTextSelector) {
|
|
79488
|
+
var el = node.nodeType === node.ELEMENT_NODE
|
|
79489
|
+
? node
|
|
79490
|
+
: node.parentElement;
|
|
79491
|
+
if (el === null)
|
|
79492
|
+
return false;
|
|
79493
|
+
if (typeof maskTextClass === 'string') {
|
|
79494
|
+
if (el.classList.contains(maskTextClass))
|
|
79495
|
+
return true;
|
|
79496
|
+
if (el.closest(".".concat(maskTextClass)))
|
|
79497
|
+
return true;
|
|
79498
|
+
}
|
|
79499
|
+
else {
|
|
79500
|
+
if (classMatchesRegex(el, maskTextClass, true))
|
|
79501
|
+
return true;
|
|
79502
|
+
}
|
|
79503
|
+
if (maskTextSelector) {
|
|
79504
|
+
if (el.matches(maskTextSelector))
|
|
79505
|
+
return true;
|
|
79506
|
+
if (el.closest(maskTextSelector))
|
|
79507
|
+
return true;
|
|
79508
|
+
}
|
|
79509
|
+
return false;
|
|
79510
|
+
}
|
|
79511
|
+
function onceIframeLoaded(iframeEl, listener, iframeLoadTimeout) {
|
|
79512
|
+
var win = iframeEl.contentWindow;
|
|
79513
|
+
if (!win) {
|
|
79514
|
+
return;
|
|
79515
|
+
}
|
|
79516
|
+
var fired = false;
|
|
79517
|
+
var readyState;
|
|
79518
|
+
try {
|
|
79519
|
+
readyState = win.document.readyState;
|
|
79520
|
+
}
|
|
79521
|
+
catch (error) {
|
|
79522
|
+
return;
|
|
79523
|
+
}
|
|
79524
|
+
if (readyState !== 'complete') {
|
|
79525
|
+
var timer_1 = setTimeout(function () {
|
|
79526
|
+
if (!fired) {
|
|
79527
|
+
listener();
|
|
79528
|
+
fired = true;
|
|
79529
|
+
}
|
|
79530
|
+
}, iframeLoadTimeout);
|
|
79531
|
+
iframeEl.addEventListener('load', function () {
|
|
79532
|
+
clearTimeout(timer_1);
|
|
79533
|
+
fired = true;
|
|
79534
|
+
listener();
|
|
79535
|
+
});
|
|
79536
|
+
return;
|
|
79537
|
+
}
|
|
79538
|
+
var blankUrl = 'about:blank';
|
|
79539
|
+
if (win.location.href !== blankUrl ||
|
|
79540
|
+
iframeEl.src === blankUrl ||
|
|
79541
|
+
iframeEl.src === '') {
|
|
79542
|
+
setTimeout(listener, 0);
|
|
79543
|
+
return iframeEl.addEventListener('load', listener);
|
|
79544
|
+
}
|
|
79545
|
+
iframeEl.addEventListener('load', listener);
|
|
79546
|
+
}
|
|
79547
|
+
function onceStylesheetLoaded(link, listener, styleSheetLoadTimeout) {
|
|
79548
|
+
var fired = false;
|
|
79549
|
+
var styleSheetLoaded;
|
|
79550
|
+
try {
|
|
79551
|
+
styleSheetLoaded = link.sheet;
|
|
79552
|
+
}
|
|
79553
|
+
catch (error) {
|
|
79554
|
+
return;
|
|
79555
|
+
}
|
|
79556
|
+
if (styleSheetLoaded)
|
|
79557
|
+
return;
|
|
79558
|
+
var timer = setTimeout(function () {
|
|
79559
|
+
if (!fired) {
|
|
79560
|
+
listener();
|
|
79561
|
+
fired = true;
|
|
79562
|
+
}
|
|
79563
|
+
}, styleSheetLoadTimeout);
|
|
79564
|
+
link.addEventListener('load', function () {
|
|
79565
|
+
clearTimeout(timer);
|
|
79566
|
+
fired = true;
|
|
79567
|
+
listener();
|
|
79568
|
+
});
|
|
79569
|
+
}
|
|
79570
|
+
function serializeNode(n, options) {
|
|
79571
|
+
var doc = options.doc, mirror = options.mirror, blockClass = options.blockClass, blockSelector = options.blockSelector, maskTextClass = options.maskTextClass, maskTextSelector = options.maskTextSelector, inlineStylesheet = options.inlineStylesheet, _a = options.maskInputOptions, maskInputOptions = _a === void 0 ? {} : _a, maskTextFn = options.maskTextFn, maskInputFn = options.maskInputFn, _b = options.dataURLOptions, dataURLOptions = _b === void 0 ? {} : _b, inlineImages = options.inlineImages, recordCanvas = options.recordCanvas, keepIframeSrcFn = options.keepIframeSrcFn, _c = options.newlyAddedElement, newlyAddedElement = _c === void 0 ? false : _c;
|
|
79572
|
+
var rootId = getRootId(doc, mirror);
|
|
79573
|
+
switch (n.nodeType) {
|
|
79574
|
+
case n.DOCUMENT_NODE:
|
|
79575
|
+
if (n.compatMode !== 'CSS1Compat') {
|
|
79576
|
+
return {
|
|
79577
|
+
type: NodeType.Document,
|
|
79578
|
+
childNodes: [],
|
|
79579
|
+
compatMode: n.compatMode
|
|
79580
|
+
};
|
|
79581
|
+
}
|
|
79582
|
+
else {
|
|
79583
|
+
return {
|
|
79584
|
+
type: NodeType.Document,
|
|
79585
|
+
childNodes: []
|
|
79586
|
+
};
|
|
79587
|
+
}
|
|
79588
|
+
case n.DOCUMENT_TYPE_NODE:
|
|
79589
|
+
return {
|
|
79590
|
+
type: NodeType.DocumentType,
|
|
79591
|
+
name: n.name,
|
|
79592
|
+
publicId: n.publicId,
|
|
79593
|
+
systemId: n.systemId,
|
|
79594
|
+
rootId: rootId
|
|
79595
|
+
};
|
|
79596
|
+
case n.ELEMENT_NODE:
|
|
79597
|
+
return serializeElementNode(n, {
|
|
79598
|
+
doc: doc,
|
|
79599
|
+
blockClass: blockClass,
|
|
79600
|
+
blockSelector: blockSelector,
|
|
79601
|
+
inlineStylesheet: inlineStylesheet,
|
|
79602
|
+
maskInputOptions: maskInputOptions,
|
|
79603
|
+
maskInputFn: maskInputFn,
|
|
79604
|
+
dataURLOptions: dataURLOptions,
|
|
79605
|
+
inlineImages: inlineImages,
|
|
79606
|
+
recordCanvas: recordCanvas,
|
|
79607
|
+
keepIframeSrcFn: keepIframeSrcFn,
|
|
79608
|
+
newlyAddedElement: newlyAddedElement,
|
|
79609
|
+
rootId: rootId
|
|
79610
|
+
});
|
|
79611
|
+
case n.TEXT_NODE:
|
|
79612
|
+
return serializeTextNode(n, {
|
|
79613
|
+
maskTextClass: maskTextClass,
|
|
79614
|
+
maskTextSelector: maskTextSelector,
|
|
79615
|
+
maskTextFn: maskTextFn,
|
|
79616
|
+
rootId: rootId
|
|
79617
|
+
});
|
|
79618
|
+
case n.CDATA_SECTION_NODE:
|
|
79619
|
+
return {
|
|
79620
|
+
type: NodeType.CDATA,
|
|
79621
|
+
textContent: '',
|
|
79622
|
+
rootId: rootId
|
|
79623
|
+
};
|
|
79624
|
+
case n.COMMENT_NODE:
|
|
79625
|
+
return {
|
|
79626
|
+
type: NodeType.Comment,
|
|
79627
|
+
textContent: n.textContent || '',
|
|
79628
|
+
rootId: rootId
|
|
79629
|
+
};
|
|
79630
|
+
default:
|
|
79631
|
+
return false;
|
|
79632
|
+
}
|
|
79633
|
+
}
|
|
79634
|
+
function getRootId(doc, mirror) {
|
|
79635
|
+
if (!mirror.hasNode(doc))
|
|
79636
|
+
return undefined;
|
|
79637
|
+
var docId = mirror.getId(doc);
|
|
79638
|
+
return docId === 1 ? undefined : docId;
|
|
79639
|
+
}
|
|
79640
|
+
function serializeTextNode(n, options) {
|
|
79641
|
+
var _a;
|
|
79642
|
+
var maskTextClass = options.maskTextClass, maskTextSelector = options.maskTextSelector, maskTextFn = options.maskTextFn, rootId = options.rootId;
|
|
79643
|
+
var parentTagName = n.parentNode && n.parentNode.tagName;
|
|
79644
|
+
var textContent = n.textContent;
|
|
79645
|
+
var isStyle = parentTagName === 'STYLE' ? true : undefined;
|
|
79646
|
+
var isScript = parentTagName === 'SCRIPT' ? true : undefined;
|
|
79647
|
+
if (isStyle && textContent) {
|
|
79648
|
+
try {
|
|
79649
|
+
if (n.nextSibling || n.previousSibling) {
|
|
79650
|
+
}
|
|
79651
|
+
else if ((_a = n.parentNode.sheet) === null || _a === void 0 ? void 0 : _a.cssRules) {
|
|
79652
|
+
textContent = stringifyStyleSheet(n.parentNode.sheet);
|
|
79653
|
+
}
|
|
79654
|
+
}
|
|
79655
|
+
catch (err) {
|
|
79656
|
+
console.warn("Cannot get CSS styles from text's parentNode. Error: ".concat(err), n);
|
|
79657
|
+
}
|
|
79658
|
+
textContent = absoluteToStylesheet(textContent, getHref());
|
|
79659
|
+
}
|
|
79660
|
+
if (isScript) {
|
|
79661
|
+
textContent = 'SCRIPT_PLACEHOLDER';
|
|
79662
|
+
}
|
|
79663
|
+
if (!isStyle &&
|
|
79664
|
+
!isScript &&
|
|
79665
|
+
textContent &&
|
|
79666
|
+
needMaskingText(n, maskTextClass, maskTextSelector)) {
|
|
79667
|
+
textContent = maskTextFn
|
|
79668
|
+
? maskTextFn(textContent)
|
|
79669
|
+
: textContent.replace(/[\S]/g, '*');
|
|
79670
|
+
}
|
|
79671
|
+
return {
|
|
79672
|
+
type: NodeType.Text,
|
|
79673
|
+
textContent: textContent || '',
|
|
79674
|
+
isStyle: isStyle,
|
|
79675
|
+
rootId: rootId
|
|
79676
|
+
};
|
|
79677
|
+
}
|
|
79678
|
+
function serializeElementNode(n, options) {
|
|
79679
|
+
var doc = options.doc, blockClass = options.blockClass, blockSelector = options.blockSelector, inlineStylesheet = options.inlineStylesheet, _a = options.maskInputOptions, maskInputOptions = _a === void 0 ? {} : _a, maskInputFn = options.maskInputFn, _b = options.dataURLOptions, dataURLOptions = _b === void 0 ? {} : _b, inlineImages = options.inlineImages, recordCanvas = options.recordCanvas, keepIframeSrcFn = options.keepIframeSrcFn, _c = options.newlyAddedElement, newlyAddedElement = _c === void 0 ? false : _c, rootId = options.rootId;
|
|
79680
|
+
var needBlock = _isBlockedElement(n, blockClass, blockSelector);
|
|
79681
|
+
var tagName = getValidTagName(n);
|
|
79682
|
+
var attributes = {};
|
|
79683
|
+
var len = n.attributes.length;
|
|
79684
|
+
for (var i = 0; i < len; i++) {
|
|
79685
|
+
var attr = n.attributes[i];
|
|
79686
|
+
attributes[attr.name] = transformAttribute(doc, tagName, attr.name, attr.value);
|
|
79687
|
+
}
|
|
79688
|
+
if (tagName === 'link' && inlineStylesheet) {
|
|
79689
|
+
var stylesheet = Array.from(doc.styleSheets).find(function (s) {
|
|
79690
|
+
return s.href === n.href;
|
|
79691
|
+
});
|
|
79692
|
+
var cssText = null;
|
|
79693
|
+
if (stylesheet) {
|
|
79694
|
+
cssText = getCssRulesString(stylesheet);
|
|
79695
|
+
}
|
|
79696
|
+
if (cssText) {
|
|
79697
|
+
delete attributes.rel;
|
|
79698
|
+
delete attributes.href;
|
|
79699
|
+
attributes._cssText = absoluteToStylesheet(cssText, stylesheet.href);
|
|
79700
|
+
}
|
|
79701
|
+
}
|
|
79702
|
+
if (tagName === 'style' &&
|
|
79703
|
+
n.sheet &&
|
|
79704
|
+
!(n.innerText || n.textContent || '').trim().length) {
|
|
79705
|
+
var cssText = getCssRulesString(n.sheet);
|
|
79706
|
+
if (cssText) {
|
|
79707
|
+
attributes._cssText = absoluteToStylesheet(cssText, getHref());
|
|
79708
|
+
}
|
|
79709
|
+
}
|
|
79710
|
+
if (tagName === 'input' || tagName === 'textarea' || tagName === 'select') {
|
|
79711
|
+
var value = n.value;
|
|
79712
|
+
var checked = n.checked;
|
|
79713
|
+
if (attributes.type !== 'radio' &&
|
|
79714
|
+
attributes.type !== 'checkbox' &&
|
|
79715
|
+
attributes.type !== 'submit' &&
|
|
79716
|
+
attributes.type !== 'button' &&
|
|
79717
|
+
value) {
|
|
79718
|
+
attributes.value = maskInputValue({
|
|
79719
|
+
type: attributes.type,
|
|
79720
|
+
tagName: tagName,
|
|
79721
|
+
value: value,
|
|
79722
|
+
maskInputOptions: maskInputOptions,
|
|
79723
|
+
maskInputFn: maskInputFn
|
|
79724
|
+
});
|
|
79725
|
+
}
|
|
79726
|
+
else if (checked) {
|
|
79727
|
+
attributes.checked = checked;
|
|
79728
|
+
}
|
|
79729
|
+
}
|
|
79730
|
+
if (tagName === 'option') {
|
|
79731
|
+
if (n.selected && !maskInputOptions['select']) {
|
|
79732
|
+
attributes.selected = true;
|
|
79733
|
+
}
|
|
79734
|
+
else {
|
|
79735
|
+
delete attributes.selected;
|
|
79736
|
+
}
|
|
79737
|
+
}
|
|
79738
|
+
if (tagName === 'canvas' && recordCanvas) {
|
|
79739
|
+
if (n.__context === '2d') {
|
|
79740
|
+
if (!is2DCanvasBlank(n)) {
|
|
79741
|
+
attributes.rr_dataURL = n.toDataURL(dataURLOptions.type, dataURLOptions.quality);
|
|
79742
|
+
}
|
|
79743
|
+
}
|
|
79744
|
+
else if (!('__context' in n)) {
|
|
79745
|
+
var canvasDataURL = n.toDataURL(dataURLOptions.type, dataURLOptions.quality);
|
|
79746
|
+
var blankCanvas = document.createElement('canvas');
|
|
79747
|
+
blankCanvas.width = n.width;
|
|
79748
|
+
blankCanvas.height = n.height;
|
|
79749
|
+
var blankCanvasDataURL = blankCanvas.toDataURL(dataURLOptions.type, dataURLOptions.quality);
|
|
79750
|
+
if (canvasDataURL !== blankCanvasDataURL) {
|
|
79751
|
+
attributes.rr_dataURL = canvasDataURL;
|
|
79752
|
+
}
|
|
79753
|
+
}
|
|
79754
|
+
}
|
|
79755
|
+
if (tagName === 'img' && inlineImages) {
|
|
79756
|
+
if (!canvasService) {
|
|
79757
|
+
canvasService = doc.createElement('canvas');
|
|
79758
|
+
canvasCtx = canvasService.getContext('2d');
|
|
79759
|
+
}
|
|
79760
|
+
var image_1 = n;
|
|
79761
|
+
var oldValue_1 = image_1.crossOrigin;
|
|
79762
|
+
image_1.crossOrigin = 'anonymous';
|
|
79763
|
+
var recordInlineImage = function () {
|
|
79764
|
+
try {
|
|
79765
|
+
canvasService.width = image_1.naturalWidth;
|
|
79766
|
+
canvasService.height = image_1.naturalHeight;
|
|
79767
|
+
canvasCtx.drawImage(image_1, 0, 0);
|
|
79768
|
+
attributes.rr_dataURL = canvasService.toDataURL(dataURLOptions.type, dataURLOptions.quality);
|
|
79769
|
+
}
|
|
79770
|
+
catch (err) {
|
|
79771
|
+
console.warn("Cannot inline img src=".concat(image_1.currentSrc, "! Error: ").concat(err));
|
|
79772
|
+
}
|
|
79773
|
+
oldValue_1
|
|
79774
|
+
? (attributes.crossOrigin = oldValue_1)
|
|
79775
|
+
: image_1.removeAttribute('crossorigin');
|
|
79776
|
+
};
|
|
79777
|
+
if (image_1.complete && image_1.naturalWidth !== 0)
|
|
79778
|
+
recordInlineImage();
|
|
79779
|
+
else
|
|
79780
|
+
image_1.onload = recordInlineImage;
|
|
79781
|
+
}
|
|
79782
|
+
if (tagName === 'audio' || tagName === 'video') {
|
|
79783
|
+
attributes.rr_mediaState = n.paused
|
|
79784
|
+
? 'paused'
|
|
79785
|
+
: 'played';
|
|
79786
|
+
attributes.rr_mediaCurrentTime = n.currentTime;
|
|
79787
|
+
}
|
|
79788
|
+
if (!newlyAddedElement) {
|
|
79789
|
+
if (n.scrollLeft) {
|
|
79790
|
+
attributes.rr_scrollLeft = n.scrollLeft;
|
|
79791
|
+
}
|
|
79792
|
+
if (n.scrollTop) {
|
|
79793
|
+
attributes.rr_scrollTop = n.scrollTop;
|
|
79794
|
+
}
|
|
79795
|
+
}
|
|
79796
|
+
if (needBlock) {
|
|
79797
|
+
var _d = n.getBoundingClientRect(), width = _d.width, height = _d.height;
|
|
79798
|
+
attributes = {
|
|
79799
|
+
"class": attributes["class"],
|
|
79800
|
+
rr_width: "".concat(width, "px"),
|
|
79801
|
+
rr_height: "".concat(height, "px")
|
|
79802
|
+
};
|
|
79803
|
+
}
|
|
79804
|
+
if (tagName === 'iframe' && !keepIframeSrcFn(attributes.src)) {
|
|
79805
|
+
if (!n.contentDocument) {
|
|
79806
|
+
attributes.rr_src = attributes.src;
|
|
79807
|
+
}
|
|
79808
|
+
delete attributes.src;
|
|
79809
|
+
}
|
|
79810
|
+
return {
|
|
79811
|
+
type: NodeType.Element,
|
|
79812
|
+
tagName: tagName,
|
|
79813
|
+
attributes: attributes,
|
|
79814
|
+
childNodes: [],
|
|
79815
|
+
isSVG: isSVGElement(n) || undefined,
|
|
79816
|
+
needBlock: needBlock,
|
|
79817
|
+
rootId: rootId
|
|
79818
|
+
};
|
|
79819
|
+
}
|
|
79820
|
+
function lowerIfExists(maybeAttr) {
|
|
79821
|
+
if (maybeAttr === undefined) {
|
|
79822
|
+
return '';
|
|
79823
|
+
}
|
|
79824
|
+
else {
|
|
79825
|
+
return maybeAttr.toLowerCase();
|
|
79826
|
+
}
|
|
79827
|
+
}
|
|
79828
|
+
function slimDOMExcluded(sn, slimDOMOptions) {
|
|
79829
|
+
if (slimDOMOptions.comment && sn.type === NodeType.Comment) {
|
|
79830
|
+
return true;
|
|
79831
|
+
}
|
|
79832
|
+
else if (sn.type === NodeType.Element) {
|
|
79833
|
+
if (slimDOMOptions.script &&
|
|
79834
|
+
(sn.tagName === 'script' ||
|
|
79835
|
+
(sn.tagName === 'link' &&
|
|
79836
|
+
sn.attributes.rel === 'preload' &&
|
|
79837
|
+
sn.attributes.as === 'script') ||
|
|
79838
|
+
(sn.tagName === 'link' &&
|
|
79839
|
+
sn.attributes.rel === 'prefetch' &&
|
|
79840
|
+
typeof sn.attributes.href === 'string' &&
|
|
79841
|
+
sn.attributes.href.endsWith('.js')))) {
|
|
79842
|
+
return true;
|
|
79843
|
+
}
|
|
79844
|
+
else if (slimDOMOptions.headFavicon &&
|
|
79845
|
+
((sn.tagName === 'link' && sn.attributes.rel === 'shortcut icon') ||
|
|
79846
|
+
(sn.tagName === 'meta' &&
|
|
79847
|
+
(lowerIfExists(sn.attributes.name).match(/^msapplication-tile(image|color)$/) ||
|
|
79848
|
+
lowerIfExists(sn.attributes.name) === 'application-name' ||
|
|
79849
|
+
lowerIfExists(sn.attributes.rel) === 'icon' ||
|
|
79850
|
+
lowerIfExists(sn.attributes.rel) === 'apple-touch-icon' ||
|
|
79851
|
+
lowerIfExists(sn.attributes.rel) === 'shortcut icon')))) {
|
|
79852
|
+
return true;
|
|
79853
|
+
}
|
|
79854
|
+
else if (sn.tagName === 'meta') {
|
|
79855
|
+
if (slimDOMOptions.headMetaDescKeywords &&
|
|
79856
|
+
lowerIfExists(sn.attributes.name).match(/^description|keywords$/)) {
|
|
79857
|
+
return true;
|
|
79858
|
+
}
|
|
79859
|
+
else if (slimDOMOptions.headMetaSocial &&
|
|
79860
|
+
(lowerIfExists(sn.attributes.property).match(/^(og|twitter|fb):/) ||
|
|
79861
|
+
lowerIfExists(sn.attributes.name).match(/^(og|twitter):/) ||
|
|
79862
|
+
lowerIfExists(sn.attributes.name) === 'pinterest')) {
|
|
79863
|
+
return true;
|
|
79864
|
+
}
|
|
79865
|
+
else if (slimDOMOptions.headMetaRobots &&
|
|
79866
|
+
(lowerIfExists(sn.attributes.name) === 'robots' ||
|
|
79867
|
+
lowerIfExists(sn.attributes.name) === 'googlebot' ||
|
|
79868
|
+
lowerIfExists(sn.attributes.name) === 'bingbot')) {
|
|
79869
|
+
return true;
|
|
79870
|
+
}
|
|
79871
|
+
else if (slimDOMOptions.headMetaHttpEquiv &&
|
|
79872
|
+
sn.attributes['http-equiv'] !== undefined) {
|
|
79873
|
+
return true;
|
|
79874
|
+
}
|
|
79875
|
+
else if (slimDOMOptions.headMetaAuthorship &&
|
|
79876
|
+
(lowerIfExists(sn.attributes.name) === 'author' ||
|
|
79877
|
+
lowerIfExists(sn.attributes.name) === 'generator' ||
|
|
79878
|
+
lowerIfExists(sn.attributes.name) === 'framework' ||
|
|
79879
|
+
lowerIfExists(sn.attributes.name) === 'publisher' ||
|
|
79880
|
+
lowerIfExists(sn.attributes.name) === 'progid' ||
|
|
79881
|
+
lowerIfExists(sn.attributes.property).match(/^article:/) ||
|
|
79882
|
+
lowerIfExists(sn.attributes.property).match(/^product:/))) {
|
|
79883
|
+
return true;
|
|
79884
|
+
}
|
|
79885
|
+
else if (slimDOMOptions.headMetaVerification &&
|
|
79886
|
+
(lowerIfExists(sn.attributes.name) === 'google-site-verification' ||
|
|
79887
|
+
lowerIfExists(sn.attributes.name) === 'yandex-verification' ||
|
|
79888
|
+
lowerIfExists(sn.attributes.name) === 'csrf-token' ||
|
|
79889
|
+
lowerIfExists(sn.attributes.name) === 'p:domain_verify' ||
|
|
79890
|
+
lowerIfExists(sn.attributes.name) === 'verify-v1' ||
|
|
79891
|
+
lowerIfExists(sn.attributes.name) === 'verification' ||
|
|
79892
|
+
lowerIfExists(sn.attributes.name) === 'shopify-checkout-api-token')) {
|
|
79893
|
+
return true;
|
|
79894
|
+
}
|
|
79895
|
+
}
|
|
79896
|
+
}
|
|
79897
|
+
return false;
|
|
79898
|
+
}
|
|
79899
|
+
function serializeNodeWithId(n, options) {
|
|
79900
|
+
var doc = options.doc, mirror = options.mirror, blockClass = options.blockClass, blockSelector = options.blockSelector, maskTextClass = options.maskTextClass, maskTextSelector = options.maskTextSelector, _a = options.skipChild, skipChild = _a === void 0 ? false : _a, _b = options.inlineStylesheet, inlineStylesheet = _b === void 0 ? true : _b, _c = options.maskInputOptions, maskInputOptions = _c === void 0 ? {} : _c, maskTextFn = options.maskTextFn, maskInputFn = options.maskInputFn, slimDOMOptions = options.slimDOMOptions, _d = options.dataURLOptions, dataURLOptions = _d === void 0 ? {} : _d, _e = options.inlineImages, inlineImages = _e === void 0 ? false : _e, _f = options.recordCanvas, recordCanvas = _f === void 0 ? false : _f, onSerialize = options.onSerialize, onIframeLoad = options.onIframeLoad, _g = options.iframeLoadTimeout, iframeLoadTimeout = _g === void 0 ? 5000 : _g, onStylesheetLoad = options.onStylesheetLoad, _h = options.stylesheetLoadTimeout, stylesheetLoadTimeout = _h === void 0 ? 5000 : _h, _j = options.keepIframeSrcFn, keepIframeSrcFn = _j === void 0 ? function () { return false; } : _j, _k = options.newlyAddedElement, newlyAddedElement = _k === void 0 ? false : _k;
|
|
79901
|
+
var _l = options.preserveWhiteSpace, preserveWhiteSpace = _l === void 0 ? true : _l;
|
|
79902
|
+
var _serializedNode = serializeNode(n, {
|
|
79903
|
+
doc: doc,
|
|
79904
|
+
mirror: mirror,
|
|
79905
|
+
blockClass: blockClass,
|
|
79906
|
+
blockSelector: blockSelector,
|
|
79907
|
+
maskTextClass: maskTextClass,
|
|
79908
|
+
maskTextSelector: maskTextSelector,
|
|
79909
|
+
inlineStylesheet: inlineStylesheet,
|
|
79910
|
+
maskInputOptions: maskInputOptions,
|
|
79911
|
+
maskTextFn: maskTextFn,
|
|
79912
|
+
maskInputFn: maskInputFn,
|
|
79913
|
+
dataURLOptions: dataURLOptions,
|
|
79914
|
+
inlineImages: inlineImages,
|
|
79915
|
+
recordCanvas: recordCanvas,
|
|
79916
|
+
keepIframeSrcFn: keepIframeSrcFn,
|
|
79917
|
+
newlyAddedElement: newlyAddedElement
|
|
79918
|
+
});
|
|
79919
|
+
if (!_serializedNode) {
|
|
79920
|
+
console.warn(n, 'not serialized');
|
|
79921
|
+
return null;
|
|
79922
|
+
}
|
|
79923
|
+
var id;
|
|
79924
|
+
if (mirror.hasNode(n)) {
|
|
79925
|
+
id = mirror.getId(n);
|
|
79926
|
+
}
|
|
79927
|
+
else if (slimDOMExcluded(_serializedNode, slimDOMOptions) ||
|
|
79928
|
+
(!preserveWhiteSpace &&
|
|
79929
|
+
_serializedNode.type === NodeType.Text &&
|
|
79930
|
+
!_serializedNode.isStyle &&
|
|
79931
|
+
!_serializedNode.textContent.replace(/^\s+|\s+$/gm, '').length)) {
|
|
79932
|
+
id = IGNORED_NODE;
|
|
79933
|
+
}
|
|
79934
|
+
else {
|
|
79935
|
+
id = genId();
|
|
79936
|
+
}
|
|
79937
|
+
var serializedNode = Object.assign(_serializedNode, { id: id });
|
|
79938
|
+
mirror.add(n, serializedNode);
|
|
79939
|
+
if (id === IGNORED_NODE) {
|
|
79940
|
+
return null;
|
|
79941
|
+
}
|
|
79942
|
+
if (onSerialize) {
|
|
79943
|
+
onSerialize(n);
|
|
79944
|
+
}
|
|
79945
|
+
var recordChild = !skipChild;
|
|
79946
|
+
if (serializedNode.type === NodeType.Element) {
|
|
79947
|
+
recordChild = recordChild && !serializedNode.needBlock;
|
|
79948
|
+
delete serializedNode.needBlock;
|
|
79949
|
+
var shadowRoot = n.shadowRoot;
|
|
79950
|
+
if (shadowRoot && isNativeShadowDom(shadowRoot))
|
|
79951
|
+
serializedNode.isShadowHost = true;
|
|
79952
|
+
}
|
|
79953
|
+
if ((serializedNode.type === NodeType.Document ||
|
|
79954
|
+
serializedNode.type === NodeType.Element) &&
|
|
79955
|
+
recordChild) {
|
|
79956
|
+
if (slimDOMOptions.headWhitespace &&
|
|
79957
|
+
serializedNode.type === NodeType.Element &&
|
|
79958
|
+
serializedNode.tagName === 'head') {
|
|
79959
|
+
preserveWhiteSpace = false;
|
|
79960
|
+
}
|
|
79961
|
+
var bypassOptions = {
|
|
79962
|
+
doc: doc,
|
|
79963
|
+
mirror: mirror,
|
|
79964
|
+
blockClass: blockClass,
|
|
79965
|
+
blockSelector: blockSelector,
|
|
79966
|
+
maskTextClass: maskTextClass,
|
|
79967
|
+
maskTextSelector: maskTextSelector,
|
|
79968
|
+
skipChild: skipChild,
|
|
79969
|
+
inlineStylesheet: inlineStylesheet,
|
|
79970
|
+
maskInputOptions: maskInputOptions,
|
|
79971
|
+
maskTextFn: maskTextFn,
|
|
79972
|
+
maskInputFn: maskInputFn,
|
|
79973
|
+
slimDOMOptions: slimDOMOptions,
|
|
79974
|
+
dataURLOptions: dataURLOptions,
|
|
79975
|
+
inlineImages: inlineImages,
|
|
79976
|
+
recordCanvas: recordCanvas,
|
|
79977
|
+
preserveWhiteSpace: preserveWhiteSpace,
|
|
79978
|
+
onSerialize: onSerialize,
|
|
79979
|
+
onIframeLoad: onIframeLoad,
|
|
79980
|
+
iframeLoadTimeout: iframeLoadTimeout,
|
|
79981
|
+
onStylesheetLoad: onStylesheetLoad,
|
|
79982
|
+
stylesheetLoadTimeout: stylesheetLoadTimeout,
|
|
79983
|
+
keepIframeSrcFn: keepIframeSrcFn
|
|
79984
|
+
};
|
|
79985
|
+
for (var _i = 0, _m = Array.from(n.childNodes); _i < _m.length; _i++) {
|
|
79986
|
+
var childN = _m[_i];
|
|
79987
|
+
var serializedChildNode = serializeNodeWithId(childN, bypassOptions);
|
|
79988
|
+
if (serializedChildNode) {
|
|
79989
|
+
serializedNode.childNodes.push(serializedChildNode);
|
|
79990
|
+
}
|
|
79991
|
+
}
|
|
79992
|
+
if (isElement(n) && n.shadowRoot) {
|
|
79993
|
+
for (var _o = 0, _p = Array.from(n.shadowRoot.childNodes); _o < _p.length; _o++) {
|
|
79994
|
+
var childN = _p[_o];
|
|
79995
|
+
var serializedChildNode = serializeNodeWithId(childN, bypassOptions);
|
|
79996
|
+
if (serializedChildNode) {
|
|
79997
|
+
isNativeShadowDom(n.shadowRoot) &&
|
|
79998
|
+
(serializedChildNode.isShadow = true);
|
|
79999
|
+
serializedNode.childNodes.push(serializedChildNode);
|
|
80000
|
+
}
|
|
80001
|
+
}
|
|
80002
|
+
}
|
|
80003
|
+
}
|
|
80004
|
+
if (n.parentNode &&
|
|
80005
|
+
isShadowRoot(n.parentNode) &&
|
|
80006
|
+
isNativeShadowDom(n.parentNode)) {
|
|
80007
|
+
serializedNode.isShadow = true;
|
|
80008
|
+
}
|
|
80009
|
+
if (serializedNode.type === NodeType.Element &&
|
|
80010
|
+
serializedNode.tagName === 'iframe') {
|
|
80011
|
+
onceIframeLoaded(n, function () {
|
|
80012
|
+
var iframeDoc = n.contentDocument;
|
|
80013
|
+
if (iframeDoc && onIframeLoad) {
|
|
80014
|
+
var serializedIframeNode = serializeNodeWithId(iframeDoc, {
|
|
80015
|
+
doc: iframeDoc,
|
|
80016
|
+
mirror: mirror,
|
|
80017
|
+
blockClass: blockClass,
|
|
80018
|
+
blockSelector: blockSelector,
|
|
80019
|
+
maskTextClass: maskTextClass,
|
|
80020
|
+
maskTextSelector: maskTextSelector,
|
|
80021
|
+
skipChild: false,
|
|
80022
|
+
inlineStylesheet: inlineStylesheet,
|
|
80023
|
+
maskInputOptions: maskInputOptions,
|
|
80024
|
+
maskTextFn: maskTextFn,
|
|
80025
|
+
maskInputFn: maskInputFn,
|
|
80026
|
+
slimDOMOptions: slimDOMOptions,
|
|
80027
|
+
dataURLOptions: dataURLOptions,
|
|
80028
|
+
inlineImages: inlineImages,
|
|
80029
|
+
recordCanvas: recordCanvas,
|
|
80030
|
+
preserveWhiteSpace: preserveWhiteSpace,
|
|
80031
|
+
onSerialize: onSerialize,
|
|
80032
|
+
onIframeLoad: onIframeLoad,
|
|
80033
|
+
iframeLoadTimeout: iframeLoadTimeout,
|
|
80034
|
+
onStylesheetLoad: onStylesheetLoad,
|
|
80035
|
+
stylesheetLoadTimeout: stylesheetLoadTimeout,
|
|
80036
|
+
keepIframeSrcFn: keepIframeSrcFn
|
|
80037
|
+
});
|
|
80038
|
+
if (serializedIframeNode) {
|
|
80039
|
+
onIframeLoad(n, serializedIframeNode);
|
|
80040
|
+
}
|
|
80041
|
+
}
|
|
80042
|
+
}, iframeLoadTimeout);
|
|
80043
|
+
}
|
|
80044
|
+
if (serializedNode.type === NodeType.Element &&
|
|
80045
|
+
serializedNode.tagName === 'link' &&
|
|
80046
|
+
serializedNode.attributes.rel === 'stylesheet') {
|
|
80047
|
+
onceStylesheetLoaded(n, function () {
|
|
80048
|
+
if (onStylesheetLoad) {
|
|
80049
|
+
var serializedLinkNode = serializeNodeWithId(n, {
|
|
80050
|
+
doc: doc,
|
|
80051
|
+
mirror: mirror,
|
|
80052
|
+
blockClass: blockClass,
|
|
80053
|
+
blockSelector: blockSelector,
|
|
80054
|
+
maskTextClass: maskTextClass,
|
|
80055
|
+
maskTextSelector: maskTextSelector,
|
|
80056
|
+
skipChild: false,
|
|
80057
|
+
inlineStylesheet: inlineStylesheet,
|
|
80058
|
+
maskInputOptions: maskInputOptions,
|
|
80059
|
+
maskTextFn: maskTextFn,
|
|
80060
|
+
maskInputFn: maskInputFn,
|
|
80061
|
+
slimDOMOptions: slimDOMOptions,
|
|
80062
|
+
dataURLOptions: dataURLOptions,
|
|
80063
|
+
inlineImages: inlineImages,
|
|
80064
|
+
recordCanvas: recordCanvas,
|
|
80065
|
+
preserveWhiteSpace: preserveWhiteSpace,
|
|
80066
|
+
onSerialize: onSerialize,
|
|
80067
|
+
onIframeLoad: onIframeLoad,
|
|
80068
|
+
iframeLoadTimeout: iframeLoadTimeout,
|
|
80069
|
+
onStylesheetLoad: onStylesheetLoad,
|
|
80070
|
+
stylesheetLoadTimeout: stylesheetLoadTimeout,
|
|
80071
|
+
keepIframeSrcFn: keepIframeSrcFn
|
|
80072
|
+
});
|
|
80073
|
+
if (serializedLinkNode) {
|
|
80074
|
+
onStylesheetLoad(n, serializedLinkNode);
|
|
80075
|
+
}
|
|
80076
|
+
}
|
|
80077
|
+
}, stylesheetLoadTimeout);
|
|
80078
|
+
}
|
|
80079
|
+
return serializedNode;
|
|
80080
|
+
}
|
|
80081
|
+
function snapshot(n, options) {
|
|
80082
|
+
var _a = options || {}, _b = _a.mirror, mirror = _b === void 0 ? new Mirror() : _b, _c = _a.blockClass, blockClass = _c === void 0 ? 'rr-block' : _c, _d = _a.blockSelector, blockSelector = _d === void 0 ? null : _d, _e = _a.maskTextClass, maskTextClass = _e === void 0 ? 'rr-mask' : _e, _f = _a.maskTextSelector, maskTextSelector = _f === void 0 ? null : _f, _g = _a.inlineStylesheet, inlineStylesheet = _g === void 0 ? true : _g, _h = _a.inlineImages, inlineImages = _h === void 0 ? false : _h, _j = _a.recordCanvas, recordCanvas = _j === void 0 ? false : _j, _k = _a.maskAllInputs, maskAllInputs = _k === void 0 ? false : _k, maskTextFn = _a.maskTextFn, maskInputFn = _a.maskInputFn, _l = _a.slimDOM, slimDOM = _l === void 0 ? false : _l, dataURLOptions = _a.dataURLOptions, preserveWhiteSpace = _a.preserveWhiteSpace, onSerialize = _a.onSerialize, onIframeLoad = _a.onIframeLoad, iframeLoadTimeout = _a.iframeLoadTimeout, onStylesheetLoad = _a.onStylesheetLoad, stylesheetLoadTimeout = _a.stylesheetLoadTimeout, _m = _a.keepIframeSrcFn, keepIframeSrcFn = _m === void 0 ? function () { return false; } : _m;
|
|
80083
|
+
var maskInputOptions = maskAllInputs === true
|
|
80084
|
+
? {
|
|
80085
|
+
color: true,
|
|
80086
|
+
date: true,
|
|
80087
|
+
'datetime-local': true,
|
|
80088
|
+
email: true,
|
|
80089
|
+
month: true,
|
|
80090
|
+
number: true,
|
|
80091
|
+
range: true,
|
|
80092
|
+
search: true,
|
|
80093
|
+
tel: true,
|
|
80094
|
+
text: true,
|
|
80095
|
+
time: true,
|
|
80096
|
+
url: true,
|
|
80097
|
+
week: true,
|
|
80098
|
+
textarea: true,
|
|
80099
|
+
select: true,
|
|
80100
|
+
password: true
|
|
80101
|
+
}
|
|
80102
|
+
: maskAllInputs === false
|
|
80103
|
+
? {
|
|
80104
|
+
password: true
|
|
80105
|
+
}
|
|
80106
|
+
: maskAllInputs;
|
|
80107
|
+
var slimDOMOptions = slimDOM === true || slimDOM === 'all'
|
|
80108
|
+
?
|
|
80109
|
+
{
|
|
80110
|
+
script: true,
|
|
80111
|
+
comment: true,
|
|
80112
|
+
headFavicon: true,
|
|
80113
|
+
headWhitespace: true,
|
|
80114
|
+
headMetaDescKeywords: slimDOM === 'all',
|
|
80115
|
+
headMetaSocial: true,
|
|
80116
|
+
headMetaRobots: true,
|
|
80117
|
+
headMetaHttpEquiv: true,
|
|
80118
|
+
headMetaAuthorship: true,
|
|
80119
|
+
headMetaVerification: true
|
|
80120
|
+
}
|
|
80121
|
+
: slimDOM === false
|
|
80122
|
+
? {}
|
|
80123
|
+
: slimDOM;
|
|
80124
|
+
return serializeNodeWithId(n, {
|
|
80125
|
+
doc: n,
|
|
80126
|
+
mirror: mirror,
|
|
80127
|
+
blockClass: blockClass,
|
|
80128
|
+
blockSelector: blockSelector,
|
|
80129
|
+
maskTextClass: maskTextClass,
|
|
80130
|
+
maskTextSelector: maskTextSelector,
|
|
80131
|
+
skipChild: false,
|
|
80132
|
+
inlineStylesheet: inlineStylesheet,
|
|
80133
|
+
maskInputOptions: maskInputOptions,
|
|
80134
|
+
maskTextFn: maskTextFn,
|
|
80135
|
+
maskInputFn: maskInputFn,
|
|
80136
|
+
slimDOMOptions: slimDOMOptions,
|
|
80137
|
+
dataURLOptions: dataURLOptions,
|
|
80138
|
+
inlineImages: inlineImages,
|
|
80139
|
+
recordCanvas: recordCanvas,
|
|
80140
|
+
preserveWhiteSpace: preserveWhiteSpace,
|
|
80141
|
+
onSerialize: onSerialize,
|
|
80142
|
+
onIframeLoad: onIframeLoad,
|
|
80143
|
+
iframeLoadTimeout: iframeLoadTimeout,
|
|
80144
|
+
onStylesheetLoad: onStylesheetLoad,
|
|
80145
|
+
stylesheetLoadTimeout: stylesheetLoadTimeout,
|
|
80146
|
+
keepIframeSrcFn: keepIframeSrcFn,
|
|
80147
|
+
newlyAddedElement: false
|
|
80148
|
+
});
|
|
80149
|
+
}
|
|
80150
|
+
function visitSnapshot(node, onVisit) {
|
|
80151
|
+
function walk(current) {
|
|
80152
|
+
onVisit(current);
|
|
80153
|
+
if (current.type === NodeType.Document ||
|
|
80154
|
+
current.type === NodeType.Element) {
|
|
80155
|
+
current.childNodes.forEach(walk);
|
|
80156
|
+
}
|
|
80157
|
+
}
|
|
80158
|
+
walk(node);
|
|
80159
|
+
}
|
|
80160
|
+
function cleanupSnapshot() {
|
|
80161
|
+
_id = 1;
|
|
80162
|
+
}
|
|
80163
|
+
|
|
80164
|
+
var commentre = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;
|
|
80165
|
+
function parse(css, options) {
|
|
80166
|
+
if (options === void 0) { options = {}; }
|
|
80167
|
+
var lineno = 1;
|
|
80168
|
+
var column = 1;
|
|
80169
|
+
function updatePosition(str) {
|
|
80170
|
+
var lines = str.match(/\n/g);
|
|
80171
|
+
if (lines) {
|
|
80172
|
+
lineno += lines.length;
|
|
80173
|
+
}
|
|
80174
|
+
var i = str.lastIndexOf('\n');
|
|
80175
|
+
column = i === -1 ? column + str.length : str.length - i;
|
|
80176
|
+
}
|
|
80177
|
+
function position() {
|
|
80178
|
+
var start = { line: lineno, column: column };
|
|
80179
|
+
return function (node) {
|
|
80180
|
+
node.position = new Position(start);
|
|
80181
|
+
whitespace();
|
|
80182
|
+
return node;
|
|
80183
|
+
};
|
|
80184
|
+
}
|
|
80185
|
+
var Position = (function () {
|
|
80186
|
+
function Position(start) {
|
|
80187
|
+
this.start = start;
|
|
80188
|
+
this.end = { line: lineno, column: column };
|
|
80189
|
+
this.source = options.source;
|
|
80190
|
+
}
|
|
80191
|
+
return Position;
|
|
80192
|
+
}());
|
|
80193
|
+
Position.prototype.content = css;
|
|
80194
|
+
var errorsList = [];
|
|
80195
|
+
function error(msg) {
|
|
80196
|
+
var err = new Error("".concat(options.source || '', ":").concat(lineno, ":").concat(column, ": ").concat(msg));
|
|
80197
|
+
err.reason = msg;
|
|
80198
|
+
err.filename = options.source;
|
|
80199
|
+
err.line = lineno;
|
|
80200
|
+
err.column = column;
|
|
80201
|
+
err.source = css;
|
|
80202
|
+
if (options.silent) {
|
|
80203
|
+
errorsList.push(err);
|
|
80204
|
+
}
|
|
80205
|
+
else {
|
|
80206
|
+
throw err;
|
|
80207
|
+
}
|
|
80208
|
+
}
|
|
80209
|
+
function stylesheet() {
|
|
80210
|
+
var rulesList = rules();
|
|
80211
|
+
return {
|
|
80212
|
+
type: 'stylesheet',
|
|
80213
|
+
stylesheet: {
|
|
80214
|
+
source: options.source,
|
|
80215
|
+
rules: rulesList,
|
|
80216
|
+
parsingErrors: errorsList
|
|
80217
|
+
}
|
|
80218
|
+
};
|
|
80219
|
+
}
|
|
80220
|
+
function open() {
|
|
80221
|
+
return match(/^{\s*/);
|
|
80222
|
+
}
|
|
80223
|
+
function close() {
|
|
80224
|
+
return match(/^}/);
|
|
80225
|
+
}
|
|
80226
|
+
function rules() {
|
|
80227
|
+
var node;
|
|
80228
|
+
var rules = [];
|
|
80229
|
+
whitespace();
|
|
80230
|
+
comments(rules);
|
|
80231
|
+
while (css.length && css.charAt(0) !== '}' && (node = atrule() || rule())) {
|
|
80232
|
+
if (node !== false) {
|
|
80233
|
+
rules.push(node);
|
|
80234
|
+
comments(rules);
|
|
80235
|
+
}
|
|
80236
|
+
}
|
|
80237
|
+
return rules;
|
|
80238
|
+
}
|
|
80239
|
+
function match(re) {
|
|
80240
|
+
var m = re.exec(css);
|
|
80241
|
+
if (!m) {
|
|
80242
|
+
return;
|
|
80243
|
+
}
|
|
80244
|
+
var str = m[0];
|
|
80245
|
+
updatePosition(str);
|
|
80246
|
+
css = css.slice(str.length);
|
|
80247
|
+
return m;
|
|
80248
|
+
}
|
|
80249
|
+
function whitespace() {
|
|
80250
|
+
match(/^\s*/);
|
|
80251
|
+
}
|
|
80252
|
+
function comments(rules) {
|
|
80253
|
+
if (rules === void 0) { rules = []; }
|
|
80254
|
+
var c;
|
|
80255
|
+
while ((c = comment())) {
|
|
80256
|
+
if (c !== false) {
|
|
80257
|
+
rules.push(c);
|
|
80258
|
+
}
|
|
80259
|
+
c = comment();
|
|
80260
|
+
}
|
|
80261
|
+
return rules;
|
|
80262
|
+
}
|
|
80263
|
+
function comment() {
|
|
80264
|
+
var pos = position();
|
|
80265
|
+
if ('/' !== css.charAt(0) || '*' !== css.charAt(1)) {
|
|
80266
|
+
return;
|
|
80267
|
+
}
|
|
80268
|
+
var i = 2;
|
|
80269
|
+
while ('' !== css.charAt(i) &&
|
|
80270
|
+
('*' !== css.charAt(i) || '/' !== css.charAt(i + 1))) {
|
|
80271
|
+
++i;
|
|
80272
|
+
}
|
|
80273
|
+
i += 2;
|
|
80274
|
+
if ('' === css.charAt(i - 1)) {
|
|
80275
|
+
return error('End of comment missing');
|
|
80276
|
+
}
|
|
80277
|
+
var str = css.slice(2, i - 2);
|
|
80278
|
+
column += 2;
|
|
80279
|
+
updatePosition(str);
|
|
80280
|
+
css = css.slice(i);
|
|
80281
|
+
column += 2;
|
|
80282
|
+
return pos({
|
|
80283
|
+
type: 'comment',
|
|
80284
|
+
comment: str
|
|
80285
|
+
});
|
|
80286
|
+
}
|
|
80287
|
+
function selector() {
|
|
80288
|
+
var m = match(/^([^{]+)/);
|
|
80289
|
+
if (!m) {
|
|
80290
|
+
return;
|
|
80291
|
+
}
|
|
80292
|
+
return trim(m[0])
|
|
80293
|
+
.replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g, '')
|
|
80294
|
+
.replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g, function (m) {
|
|
80295
|
+
return m.replace(/,/g, '\u200C');
|
|
80296
|
+
})
|
|
80297
|
+
.split(/\s*(?![^(]*\)),\s*/)
|
|
80298
|
+
.map(function (s) {
|
|
80299
|
+
return s.replace(/\u200C/g, ',');
|
|
80300
|
+
});
|
|
80301
|
+
}
|
|
80302
|
+
function declaration() {
|
|
80303
|
+
var pos = position();
|
|
80304
|
+
var propMatch = match(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);
|
|
80305
|
+
if (!propMatch) {
|
|
80306
|
+
return;
|
|
80307
|
+
}
|
|
80308
|
+
var prop = trim(propMatch[0]);
|
|
80309
|
+
if (!match(/^:\s*/)) {
|
|
80310
|
+
return error("property missing ':'");
|
|
80311
|
+
}
|
|
80312
|
+
var val = match(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/);
|
|
80313
|
+
var ret = pos({
|
|
80314
|
+
type: 'declaration',
|
|
80315
|
+
property: prop.replace(commentre, ''),
|
|
80316
|
+
value: val ? trim(val[0]).replace(commentre, '') : ''
|
|
80317
|
+
});
|
|
80318
|
+
match(/^[;\s]*/);
|
|
80319
|
+
return ret;
|
|
80320
|
+
}
|
|
80321
|
+
function declarations() {
|
|
80322
|
+
var decls = [];
|
|
80323
|
+
if (!open()) {
|
|
80324
|
+
return error("missing '{'");
|
|
80325
|
+
}
|
|
80326
|
+
comments(decls);
|
|
80327
|
+
var decl;
|
|
80328
|
+
while ((decl = declaration())) {
|
|
80329
|
+
if (decl !== false) {
|
|
80330
|
+
decls.push(decl);
|
|
80331
|
+
comments(decls);
|
|
80332
|
+
}
|
|
80333
|
+
decl = declaration();
|
|
80334
|
+
}
|
|
80335
|
+
if (!close()) {
|
|
80336
|
+
return error("missing '}'");
|
|
80337
|
+
}
|
|
80338
|
+
return decls;
|
|
80339
|
+
}
|
|
80340
|
+
function keyframe() {
|
|
80341
|
+
var m;
|
|
80342
|
+
var vals = [];
|
|
80343
|
+
var pos = position();
|
|
80344
|
+
while ((m = match(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/))) {
|
|
80345
|
+
vals.push(m[1]);
|
|
80346
|
+
match(/^,\s*/);
|
|
80347
|
+
}
|
|
80348
|
+
if (!vals.length) {
|
|
80349
|
+
return;
|
|
80350
|
+
}
|
|
80351
|
+
return pos({
|
|
80352
|
+
type: 'keyframe',
|
|
80353
|
+
values: vals,
|
|
80354
|
+
declarations: declarations()
|
|
80355
|
+
});
|
|
80356
|
+
}
|
|
80357
|
+
function atkeyframes() {
|
|
80358
|
+
var pos = position();
|
|
80359
|
+
var m = match(/^@([-\w]+)?keyframes\s*/);
|
|
80360
|
+
if (!m) {
|
|
80361
|
+
return;
|
|
80362
|
+
}
|
|
80363
|
+
var vendor = m[1];
|
|
80364
|
+
m = match(/^([-\w]+)\s*/);
|
|
80365
|
+
if (!m) {
|
|
80366
|
+
return error('@keyframes missing name');
|
|
80367
|
+
}
|
|
80368
|
+
var name = m[1];
|
|
80369
|
+
if (!open()) {
|
|
80370
|
+
return error("@keyframes missing '{'");
|
|
80371
|
+
}
|
|
80372
|
+
var frame;
|
|
80373
|
+
var frames = comments();
|
|
80374
|
+
while ((frame = keyframe())) {
|
|
80375
|
+
frames.push(frame);
|
|
80376
|
+
frames = frames.concat(comments());
|
|
80377
|
+
}
|
|
80378
|
+
if (!close()) {
|
|
80379
|
+
return error("@keyframes missing '}'");
|
|
80380
|
+
}
|
|
80381
|
+
return pos({
|
|
80382
|
+
type: 'keyframes',
|
|
80383
|
+
name: name,
|
|
80384
|
+
vendor: vendor,
|
|
80385
|
+
keyframes: frames
|
|
80386
|
+
});
|
|
80387
|
+
}
|
|
80388
|
+
function atsupports() {
|
|
80389
|
+
var pos = position();
|
|
80390
|
+
var m = match(/^@supports *([^{]+)/);
|
|
80391
|
+
if (!m) {
|
|
80392
|
+
return;
|
|
80393
|
+
}
|
|
80394
|
+
var supports = trim(m[1]);
|
|
80395
|
+
if (!open()) {
|
|
80396
|
+
return error("@supports missing '{'");
|
|
80397
|
+
}
|
|
80398
|
+
var style = comments().concat(rules());
|
|
80399
|
+
if (!close()) {
|
|
80400
|
+
return error("@supports missing '}'");
|
|
80401
|
+
}
|
|
80402
|
+
return pos({
|
|
80403
|
+
type: 'supports',
|
|
80404
|
+
supports: supports,
|
|
80405
|
+
rules: style
|
|
80406
|
+
});
|
|
80407
|
+
}
|
|
80408
|
+
function athost() {
|
|
80409
|
+
var pos = position();
|
|
80410
|
+
var m = match(/^@host\s*/);
|
|
80411
|
+
if (!m) {
|
|
80412
|
+
return;
|
|
80413
|
+
}
|
|
80414
|
+
if (!open()) {
|
|
80415
|
+
return error("@host missing '{'");
|
|
80416
|
+
}
|
|
80417
|
+
var style = comments().concat(rules());
|
|
80418
|
+
if (!close()) {
|
|
80419
|
+
return error("@host missing '}'");
|
|
80420
|
+
}
|
|
80421
|
+
return pos({
|
|
80422
|
+
type: 'host',
|
|
80423
|
+
rules: style
|
|
80424
|
+
});
|
|
80425
|
+
}
|
|
80426
|
+
function atmedia() {
|
|
80427
|
+
var pos = position();
|
|
80428
|
+
var m = match(/^@media *([^{]+)/);
|
|
80429
|
+
if (!m) {
|
|
80430
|
+
return;
|
|
80431
|
+
}
|
|
80432
|
+
var media = trim(m[1]);
|
|
80433
|
+
if (!open()) {
|
|
80434
|
+
return error("@media missing '{'");
|
|
80435
|
+
}
|
|
80436
|
+
var style = comments().concat(rules());
|
|
80437
|
+
if (!close()) {
|
|
80438
|
+
return error("@media missing '}'");
|
|
80439
|
+
}
|
|
80440
|
+
return pos({
|
|
80441
|
+
type: 'media',
|
|
80442
|
+
media: media,
|
|
80443
|
+
rules: style
|
|
80444
|
+
});
|
|
80445
|
+
}
|
|
80446
|
+
function atcustommedia() {
|
|
80447
|
+
var pos = position();
|
|
80448
|
+
var m = match(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);
|
|
80449
|
+
if (!m) {
|
|
80450
|
+
return;
|
|
80451
|
+
}
|
|
80452
|
+
return pos({
|
|
80453
|
+
type: 'custom-media',
|
|
80454
|
+
name: trim(m[1]),
|
|
80455
|
+
media: trim(m[2])
|
|
80456
|
+
});
|
|
80457
|
+
}
|
|
80458
|
+
function atpage() {
|
|
80459
|
+
var pos = position();
|
|
80460
|
+
var m = match(/^@page */);
|
|
80461
|
+
if (!m) {
|
|
80462
|
+
return;
|
|
80463
|
+
}
|
|
80464
|
+
var sel = selector() || [];
|
|
80465
|
+
if (!open()) {
|
|
80466
|
+
return error("@page missing '{'");
|
|
80467
|
+
}
|
|
80468
|
+
var decls = comments();
|
|
80469
|
+
var decl;
|
|
80470
|
+
while ((decl = declaration())) {
|
|
80471
|
+
decls.push(decl);
|
|
80472
|
+
decls = decls.concat(comments());
|
|
80473
|
+
}
|
|
80474
|
+
if (!close()) {
|
|
80475
|
+
return error("@page missing '}'");
|
|
80476
|
+
}
|
|
80477
|
+
return pos({
|
|
80478
|
+
type: 'page',
|
|
80479
|
+
selectors: sel,
|
|
80480
|
+
declarations: decls
|
|
80481
|
+
});
|
|
80482
|
+
}
|
|
80483
|
+
function atdocument() {
|
|
80484
|
+
var pos = position();
|
|
80485
|
+
var m = match(/^@([-\w]+)?document *([^{]+)/);
|
|
80486
|
+
if (!m) {
|
|
80487
|
+
return;
|
|
80488
|
+
}
|
|
80489
|
+
var vendor = trim(m[1]);
|
|
80490
|
+
var doc = trim(m[2]);
|
|
80491
|
+
if (!open()) {
|
|
80492
|
+
return error("@document missing '{'");
|
|
80493
|
+
}
|
|
80494
|
+
var style = comments().concat(rules());
|
|
80495
|
+
if (!close()) {
|
|
80496
|
+
return error("@document missing '}'");
|
|
80497
|
+
}
|
|
80498
|
+
return pos({
|
|
80499
|
+
type: 'document',
|
|
80500
|
+
document: doc,
|
|
80501
|
+
vendor: vendor,
|
|
80502
|
+
rules: style
|
|
80503
|
+
});
|
|
80504
|
+
}
|
|
80505
|
+
function atfontface() {
|
|
80506
|
+
var pos = position();
|
|
80507
|
+
var m = match(/^@font-face\s*/);
|
|
80508
|
+
if (!m) {
|
|
80509
|
+
return;
|
|
80510
|
+
}
|
|
80511
|
+
if (!open()) {
|
|
80512
|
+
return error("@font-face missing '{'");
|
|
80513
|
+
}
|
|
80514
|
+
var decls = comments();
|
|
80515
|
+
var decl;
|
|
80516
|
+
while ((decl = declaration())) {
|
|
80517
|
+
decls.push(decl);
|
|
80518
|
+
decls = decls.concat(comments());
|
|
80519
|
+
}
|
|
80520
|
+
if (!close()) {
|
|
80521
|
+
return error("@font-face missing '}'");
|
|
80522
|
+
}
|
|
80523
|
+
return pos({
|
|
80524
|
+
type: 'font-face',
|
|
80525
|
+
declarations: decls
|
|
80526
|
+
});
|
|
80527
|
+
}
|
|
80528
|
+
var atimport = _compileAtrule('import');
|
|
80529
|
+
var atcharset = _compileAtrule('charset');
|
|
80530
|
+
var atnamespace = _compileAtrule('namespace');
|
|
80531
|
+
function _compileAtrule(name) {
|
|
80532
|
+
var re = new RegExp('^@' + name + '\\s*([^;]+);');
|
|
80533
|
+
return function () {
|
|
80534
|
+
var pos = position();
|
|
80535
|
+
var m = match(re);
|
|
80536
|
+
if (!m) {
|
|
80537
|
+
return;
|
|
80538
|
+
}
|
|
80539
|
+
var ret = { type: name };
|
|
80540
|
+
ret[name] = m[1].trim();
|
|
80541
|
+
return pos(ret);
|
|
80542
|
+
};
|
|
80543
|
+
}
|
|
80544
|
+
function atrule() {
|
|
80545
|
+
if (css[0] !== '@') {
|
|
80546
|
+
return;
|
|
80547
|
+
}
|
|
80548
|
+
return (atkeyframes() ||
|
|
80549
|
+
atmedia() ||
|
|
80550
|
+
atcustommedia() ||
|
|
80551
|
+
atsupports() ||
|
|
80552
|
+
atimport() ||
|
|
80553
|
+
atcharset() ||
|
|
80554
|
+
atnamespace() ||
|
|
80555
|
+
atdocument() ||
|
|
80556
|
+
atpage() ||
|
|
80557
|
+
athost() ||
|
|
80558
|
+
atfontface());
|
|
80559
|
+
}
|
|
80560
|
+
function rule() {
|
|
80561
|
+
var pos = position();
|
|
80562
|
+
var sel = selector();
|
|
80563
|
+
if (!sel) {
|
|
80564
|
+
return error('selector missing');
|
|
80565
|
+
}
|
|
80566
|
+
comments();
|
|
80567
|
+
return pos({
|
|
80568
|
+
type: 'rule',
|
|
80569
|
+
selectors: sel,
|
|
80570
|
+
declarations: declarations()
|
|
80571
|
+
});
|
|
80572
|
+
}
|
|
80573
|
+
return addParent(stylesheet());
|
|
80574
|
+
}
|
|
80575
|
+
function trim(str) {
|
|
80576
|
+
return str ? str.replace(/^\s+|\s+$/g, '') : '';
|
|
80577
|
+
}
|
|
80578
|
+
function addParent(obj, parent) {
|
|
80579
|
+
var isNode = obj && typeof obj.type === 'string';
|
|
80580
|
+
var childParent = isNode ? obj : parent;
|
|
80581
|
+
for (var _i = 0, _a = Object.keys(obj); _i < _a.length; _i++) {
|
|
80582
|
+
var k = _a[_i];
|
|
80583
|
+
var value = obj[k];
|
|
80584
|
+
if (Array.isArray(value)) {
|
|
80585
|
+
value.forEach(function (v) {
|
|
80586
|
+
addParent(v, childParent);
|
|
80587
|
+
});
|
|
80588
|
+
}
|
|
80589
|
+
else if (value && typeof value === 'object') {
|
|
80590
|
+
addParent(value, childParent);
|
|
80591
|
+
}
|
|
80592
|
+
}
|
|
80593
|
+
if (isNode) {
|
|
80594
|
+
Object.defineProperty(obj, 'parent', {
|
|
80595
|
+
configurable: true,
|
|
80596
|
+
writable: true,
|
|
80597
|
+
enumerable: false,
|
|
80598
|
+
value: parent || null
|
|
80599
|
+
});
|
|
80600
|
+
}
|
|
80601
|
+
return obj;
|
|
80602
|
+
}
|
|
80603
|
+
|
|
80604
|
+
var tagMap = {
|
|
80605
|
+
script: 'noscript',
|
|
80606
|
+
altglyph: 'altGlyph',
|
|
80607
|
+
altglyphdef: 'altGlyphDef',
|
|
80608
|
+
altglyphitem: 'altGlyphItem',
|
|
80609
|
+
animatecolor: 'animateColor',
|
|
80610
|
+
animatemotion: 'animateMotion',
|
|
80611
|
+
animatetransform: 'animateTransform',
|
|
80612
|
+
clippath: 'clipPath',
|
|
80613
|
+
feblend: 'feBlend',
|
|
80614
|
+
fecolormatrix: 'feColorMatrix',
|
|
80615
|
+
fecomponenttransfer: 'feComponentTransfer',
|
|
80616
|
+
fecomposite: 'feComposite',
|
|
80617
|
+
feconvolvematrix: 'feConvolveMatrix',
|
|
80618
|
+
fediffuselighting: 'feDiffuseLighting',
|
|
80619
|
+
fedisplacementmap: 'feDisplacementMap',
|
|
80620
|
+
fedistantlight: 'feDistantLight',
|
|
80621
|
+
fedropshadow: 'feDropShadow',
|
|
80622
|
+
feflood: 'feFlood',
|
|
80623
|
+
fefunca: 'feFuncA',
|
|
80624
|
+
fefuncb: 'feFuncB',
|
|
80625
|
+
fefuncg: 'feFuncG',
|
|
80626
|
+
fefuncr: 'feFuncR',
|
|
80627
|
+
fegaussianblur: 'feGaussianBlur',
|
|
80628
|
+
feimage: 'feImage',
|
|
80629
|
+
femerge: 'feMerge',
|
|
80630
|
+
femergenode: 'feMergeNode',
|
|
80631
|
+
femorphology: 'feMorphology',
|
|
80632
|
+
feoffset: 'feOffset',
|
|
80633
|
+
fepointlight: 'fePointLight',
|
|
80634
|
+
fespecularlighting: 'feSpecularLighting',
|
|
80635
|
+
fespotlight: 'feSpotLight',
|
|
80636
|
+
fetile: 'feTile',
|
|
80637
|
+
feturbulence: 'feTurbulence',
|
|
80638
|
+
foreignobject: 'foreignObject',
|
|
80639
|
+
glyphref: 'glyphRef',
|
|
80640
|
+
lineargradient: 'linearGradient',
|
|
80641
|
+
radialgradient: 'radialGradient'
|
|
80642
|
+
};
|
|
80643
|
+
function getTagName(n) {
|
|
80644
|
+
var tagName = tagMap[n.tagName] ? tagMap[n.tagName] : n.tagName;
|
|
80645
|
+
if (tagName === 'link' && n.attributes._cssText) {
|
|
80646
|
+
tagName = 'style';
|
|
80647
|
+
}
|
|
80648
|
+
return tagName;
|
|
80649
|
+
}
|
|
80650
|
+
function escapeRegExp(str) {
|
|
80651
|
+
return str.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
80652
|
+
}
|
|
80653
|
+
var HOVER_SELECTOR = /([^\\]):hover/;
|
|
80654
|
+
var HOVER_SELECTOR_GLOBAL = new RegExp(HOVER_SELECTOR.source, 'g');
|
|
80655
|
+
function addHoverClass(cssText, cache) {
|
|
80656
|
+
var cachedStyle = cache === null || cache === void 0 ? void 0 : cache.stylesWithHoverClass.get(cssText);
|
|
80657
|
+
if (cachedStyle)
|
|
80658
|
+
return cachedStyle;
|
|
80659
|
+
var ast = parse(cssText, {
|
|
80660
|
+
silent: true
|
|
80661
|
+
});
|
|
80662
|
+
if (!ast.stylesheet) {
|
|
80663
|
+
return cssText;
|
|
80664
|
+
}
|
|
80665
|
+
var selectors = [];
|
|
80666
|
+
ast.stylesheet.rules.forEach(function (rule) {
|
|
80667
|
+
if ('selectors' in rule) {
|
|
80668
|
+
(rule.selectors || []).forEach(function (selector) {
|
|
80669
|
+
if (HOVER_SELECTOR.test(selector)) {
|
|
80670
|
+
selectors.push(selector);
|
|
80671
|
+
}
|
|
80672
|
+
});
|
|
80673
|
+
}
|
|
80674
|
+
});
|
|
80675
|
+
if (selectors.length === 0) {
|
|
80676
|
+
return cssText;
|
|
80677
|
+
}
|
|
80678
|
+
var selectorMatcher = new RegExp(selectors
|
|
80679
|
+
.filter(function (selector, index) { return selectors.indexOf(selector) === index; })
|
|
80680
|
+
.sort(function (a, b) { return b.length - a.length; })
|
|
80681
|
+
.map(function (selector) {
|
|
80682
|
+
return escapeRegExp(selector);
|
|
80683
|
+
})
|
|
80684
|
+
.join('|'), 'g');
|
|
80685
|
+
var result = cssText.replace(selectorMatcher, function (selector) {
|
|
80686
|
+
var newSelector = selector.replace(HOVER_SELECTOR_GLOBAL, '$1.\\:hover');
|
|
80687
|
+
return "".concat(selector, ", ").concat(newSelector);
|
|
80688
|
+
});
|
|
80689
|
+
cache === null || cache === void 0 ? void 0 : cache.stylesWithHoverClass.set(cssText, result);
|
|
80690
|
+
return result;
|
|
80691
|
+
}
|
|
80692
|
+
function createCache() {
|
|
80693
|
+
var stylesWithHoverClass = new Map();
|
|
80694
|
+
return {
|
|
80695
|
+
stylesWithHoverClass: stylesWithHoverClass
|
|
80696
|
+
};
|
|
80697
|
+
}
|
|
80698
|
+
function buildNode(n, options) {
|
|
80699
|
+
var doc = options.doc, hackCss = options.hackCss, cache = options.cache;
|
|
80700
|
+
switch (n.type) {
|
|
80701
|
+
case NodeType.Document:
|
|
80702
|
+
return doc.implementation.createDocument(null, '', null);
|
|
80703
|
+
case NodeType.DocumentType:
|
|
80704
|
+
return doc.implementation.createDocumentType(n.name || 'html', n.publicId, n.systemId);
|
|
80705
|
+
case NodeType.Element: {
|
|
80706
|
+
var tagName = getTagName(n);
|
|
80707
|
+
var node_1;
|
|
80708
|
+
if (n.isSVG) {
|
|
80709
|
+
node_1 = doc.createElementNS('http://www.w3.org/2000/svg', tagName);
|
|
80710
|
+
}
|
|
80711
|
+
else {
|
|
80712
|
+
node_1 = doc.createElement(tagName);
|
|
80713
|
+
}
|
|
80714
|
+
var specialAttributes = {};
|
|
80715
|
+
for (var name_1 in n.attributes) {
|
|
80716
|
+
if (!Object.prototype.hasOwnProperty.call(n.attributes, name_1)) {
|
|
80717
|
+
continue;
|
|
80718
|
+
}
|
|
80719
|
+
var value = n.attributes[name_1];
|
|
80720
|
+
if (tagName === 'option' &&
|
|
80721
|
+
name_1 === 'selected' &&
|
|
80722
|
+
value === false) {
|
|
80723
|
+
continue;
|
|
80724
|
+
}
|
|
80725
|
+
if (value === true)
|
|
80726
|
+
value = '';
|
|
80727
|
+
if (name_1.startsWith('rr_')) {
|
|
80728
|
+
specialAttributes[name_1] = value;
|
|
80729
|
+
continue;
|
|
80730
|
+
}
|
|
80731
|
+
var isTextarea = tagName === 'textarea' && name_1 === 'value';
|
|
80732
|
+
var isRemoteOrDynamicCss = tagName === 'style' && name_1 === '_cssText';
|
|
80733
|
+
if (isRemoteOrDynamicCss && hackCss && typeof value === 'string') {
|
|
80734
|
+
value = addHoverClass(value, cache);
|
|
80735
|
+
}
|
|
80736
|
+
if ((isTextarea || isRemoteOrDynamicCss) && typeof value === 'string') {
|
|
80737
|
+
var child = doc.createTextNode(value);
|
|
80738
|
+
for (var _i = 0, _a = Array.from(node_1.childNodes); _i < _a.length; _i++) {
|
|
80739
|
+
var c = _a[_i];
|
|
80740
|
+
if (c.nodeType === node_1.TEXT_NODE) {
|
|
80741
|
+
node_1.removeChild(c);
|
|
80742
|
+
}
|
|
80743
|
+
}
|
|
80744
|
+
node_1.appendChild(child);
|
|
80745
|
+
continue;
|
|
80746
|
+
}
|
|
80747
|
+
try {
|
|
80748
|
+
if (n.isSVG && name_1 === 'xlink:href') {
|
|
80749
|
+
node_1.setAttributeNS('http://www.w3.org/1999/xlink', name_1, value.toString());
|
|
80750
|
+
}
|
|
80751
|
+
else if (name_1 === 'onload' ||
|
|
80752
|
+
name_1 === 'onclick' ||
|
|
80753
|
+
name_1.substring(0, 7) === 'onmouse') {
|
|
80754
|
+
node_1.setAttribute('_' + name_1, value.toString());
|
|
80755
|
+
}
|
|
80756
|
+
else if (tagName === 'meta' &&
|
|
80757
|
+
n.attributes['http-equiv'] === 'Content-Security-Policy' &&
|
|
80758
|
+
name_1 === 'content') {
|
|
80759
|
+
node_1.setAttribute('csp-content', value.toString());
|
|
80760
|
+
continue;
|
|
80761
|
+
}
|
|
80762
|
+
else if (tagName === 'link' &&
|
|
80763
|
+
n.attributes.rel === 'preload' &&
|
|
80764
|
+
n.attributes.as === 'script') {
|
|
80765
|
+
}
|
|
80766
|
+
else if (tagName === 'link' &&
|
|
80767
|
+
n.attributes.rel === 'prefetch' &&
|
|
80768
|
+
typeof n.attributes.href === 'string' &&
|
|
80769
|
+
n.attributes.href.endsWith('.js')) {
|
|
80770
|
+
}
|
|
80771
|
+
else if (tagName === 'img' &&
|
|
80772
|
+
n.attributes.srcset &&
|
|
80773
|
+
n.attributes.rr_dataURL) {
|
|
80774
|
+
node_1.setAttribute('rrweb-original-srcset', n.attributes.srcset);
|
|
80775
|
+
}
|
|
80776
|
+
else {
|
|
80777
|
+
node_1.setAttribute(name_1, value.toString());
|
|
80778
|
+
}
|
|
80779
|
+
}
|
|
80780
|
+
catch (error) {
|
|
80781
|
+
}
|
|
80782
|
+
}
|
|
80783
|
+
var _loop_1 = function (name_2) {
|
|
80784
|
+
var value = specialAttributes[name_2];
|
|
80785
|
+
if (tagName === 'canvas' && name_2 === 'rr_dataURL') {
|
|
80786
|
+
var image_1 = document.createElement('img');
|
|
80787
|
+
image_1.onload = function () {
|
|
80788
|
+
var ctx = node_1.getContext('2d');
|
|
80789
|
+
if (ctx) {
|
|
80790
|
+
ctx.drawImage(image_1, 0, 0, image_1.width, image_1.height);
|
|
80791
|
+
}
|
|
80792
|
+
};
|
|
80793
|
+
image_1.src = value.toString();
|
|
80794
|
+
if (node_1.RRNodeType)
|
|
80795
|
+
node_1.rr_dataURL = value.toString();
|
|
80796
|
+
}
|
|
80797
|
+
else if (tagName === 'img' && name_2 === 'rr_dataURL') {
|
|
80798
|
+
var image = node_1;
|
|
80799
|
+
if (!image.currentSrc.startsWith('data:')) {
|
|
80800
|
+
image.setAttribute('rrweb-original-src', n.attributes.src);
|
|
80801
|
+
image.src = value.toString();
|
|
80802
|
+
}
|
|
80803
|
+
}
|
|
80804
|
+
if (name_2 === 'rr_width') {
|
|
80805
|
+
node_1.style.width = value.toString();
|
|
80806
|
+
}
|
|
80807
|
+
else if (name_2 === 'rr_height') {
|
|
80808
|
+
node_1.style.height = value.toString();
|
|
80809
|
+
}
|
|
80810
|
+
else if (name_2 === 'rr_mediaCurrentTime' &&
|
|
80811
|
+
typeof value === 'number') {
|
|
80812
|
+
node_1.currentTime = value;
|
|
80813
|
+
}
|
|
80814
|
+
else if (name_2 === 'rr_mediaState') {
|
|
80815
|
+
switch (value) {
|
|
80816
|
+
case 'played':
|
|
80817
|
+
node_1
|
|
80818
|
+
.play()["catch"](function (e) { return console.warn('media playback error', e); });
|
|
80819
|
+
break;
|
|
80820
|
+
case 'paused':
|
|
80821
|
+
node_1.pause();
|
|
80822
|
+
break;
|
|
80823
|
+
}
|
|
80824
|
+
}
|
|
80825
|
+
};
|
|
80826
|
+
for (var name_2 in specialAttributes) {
|
|
80827
|
+
_loop_1(name_2);
|
|
80828
|
+
}
|
|
80829
|
+
if (n.isShadowHost) {
|
|
80830
|
+
if (!node_1.shadowRoot) {
|
|
80831
|
+
node_1.attachShadow({ mode: 'open' });
|
|
80832
|
+
}
|
|
80833
|
+
else {
|
|
80834
|
+
while (node_1.shadowRoot.firstChild) {
|
|
80835
|
+
node_1.shadowRoot.removeChild(node_1.shadowRoot.firstChild);
|
|
80836
|
+
}
|
|
80837
|
+
}
|
|
80838
|
+
}
|
|
80839
|
+
return node_1;
|
|
80840
|
+
}
|
|
80841
|
+
case NodeType.Text:
|
|
80842
|
+
return doc.createTextNode(n.isStyle && hackCss
|
|
80843
|
+
? addHoverClass(n.textContent, cache)
|
|
80844
|
+
: n.textContent);
|
|
80845
|
+
case NodeType.CDATA:
|
|
80846
|
+
return doc.createCDATASection(n.textContent);
|
|
80847
|
+
case NodeType.Comment:
|
|
80848
|
+
return doc.createComment(n.textContent);
|
|
80849
|
+
default:
|
|
80850
|
+
return null;
|
|
80851
|
+
}
|
|
80852
|
+
}
|
|
80853
|
+
function buildNodeWithSN(n, options) {
|
|
80854
|
+
var doc = options.doc, mirror = options.mirror, _a = options.skipChild, skipChild = _a === void 0 ? false : _a, _b = options.hackCss, hackCss = _b === void 0 ? true : _b, afterAppend = options.afterAppend, cache = options.cache;
|
|
80855
|
+
var node = buildNode(n, { doc: doc, hackCss: hackCss, cache: cache });
|
|
80856
|
+
if (!node) {
|
|
80857
|
+
return null;
|
|
80858
|
+
}
|
|
80859
|
+
if (n.rootId && mirror.getNode(n.rootId) !== doc) {
|
|
80860
|
+
mirror.replace(n.rootId, doc);
|
|
80861
|
+
}
|
|
80862
|
+
if (n.type === NodeType.Document) {
|
|
80863
|
+
doc.close();
|
|
80864
|
+
doc.open();
|
|
80865
|
+
if (n.compatMode === 'BackCompat' &&
|
|
80866
|
+
n.childNodes &&
|
|
80867
|
+
n.childNodes[0].type !== NodeType.DocumentType) {
|
|
80868
|
+
if (n.childNodes[0].type === NodeType.Element &&
|
|
80869
|
+
'xmlns' in n.childNodes[0].attributes &&
|
|
80870
|
+
n.childNodes[0].attributes.xmlns === 'http://www.w3.org/1999/xhtml') {
|
|
80871
|
+
doc.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">');
|
|
80872
|
+
}
|
|
80873
|
+
else {
|
|
80874
|
+
doc.write('<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "">');
|
|
80875
|
+
}
|
|
80876
|
+
}
|
|
80877
|
+
node = doc;
|
|
80878
|
+
}
|
|
80879
|
+
mirror.add(node, n);
|
|
80880
|
+
if ((n.type === NodeType.Document || n.type === NodeType.Element) &&
|
|
80881
|
+
!skipChild) {
|
|
80882
|
+
for (var _i = 0, _c = n.childNodes; _i < _c.length; _i++) {
|
|
80883
|
+
var childN = _c[_i];
|
|
80884
|
+
var childNode = buildNodeWithSN(childN, {
|
|
80885
|
+
doc: doc,
|
|
80886
|
+
mirror: mirror,
|
|
80887
|
+
skipChild: false,
|
|
80888
|
+
hackCss: hackCss,
|
|
80889
|
+
afterAppend: afterAppend,
|
|
80890
|
+
cache: cache
|
|
80891
|
+
});
|
|
80892
|
+
if (!childNode) {
|
|
80893
|
+
console.warn('Failed to rebuild', childN);
|
|
80894
|
+
continue;
|
|
80895
|
+
}
|
|
80896
|
+
if (childN.isShadow && isElement(node) && node.shadowRoot) {
|
|
80897
|
+
node.shadowRoot.appendChild(childNode);
|
|
80898
|
+
}
|
|
80899
|
+
else {
|
|
80900
|
+
node.appendChild(childNode);
|
|
80901
|
+
}
|
|
80902
|
+
if (afterAppend) {
|
|
80903
|
+
afterAppend(childNode, childN.id);
|
|
80904
|
+
}
|
|
80905
|
+
}
|
|
80906
|
+
}
|
|
80907
|
+
return node;
|
|
80908
|
+
}
|
|
80909
|
+
function visit(mirror, onVisit) {
|
|
80910
|
+
function walk(node) {
|
|
80911
|
+
onVisit(node);
|
|
80912
|
+
}
|
|
80913
|
+
for (var _i = 0, _a = mirror.getIds(); _i < _a.length; _i++) {
|
|
80914
|
+
var id = _a[_i];
|
|
80915
|
+
if (mirror.has(id)) {
|
|
80916
|
+
walk(mirror.getNode(id));
|
|
80917
|
+
}
|
|
80918
|
+
}
|
|
80919
|
+
}
|
|
80920
|
+
function handleScroll(node, mirror) {
|
|
80921
|
+
var n = mirror.getMeta(node);
|
|
80922
|
+
if ((n === null || n === void 0 ? void 0 : n.type) !== NodeType.Element) {
|
|
80923
|
+
return;
|
|
80924
|
+
}
|
|
80925
|
+
var el = node;
|
|
80926
|
+
for (var name_3 in n.attributes) {
|
|
80927
|
+
if (!(Object.prototype.hasOwnProperty.call(n.attributes, name_3) &&
|
|
80928
|
+
name_3.startsWith('rr_'))) {
|
|
80929
|
+
continue;
|
|
80930
|
+
}
|
|
80931
|
+
var value = n.attributes[name_3];
|
|
80932
|
+
if (name_3 === 'rr_scrollLeft') {
|
|
80933
|
+
el.scrollLeft = value;
|
|
80934
|
+
}
|
|
80935
|
+
if (name_3 === 'rr_scrollTop') {
|
|
80936
|
+
el.scrollTop = value;
|
|
80937
|
+
}
|
|
80938
|
+
}
|
|
80939
|
+
}
|
|
80940
|
+
function rebuild(n, options) {
|
|
80941
|
+
var doc = options.doc, onVisit = options.onVisit, _a = options.hackCss, hackCss = _a === void 0 ? true : _a, afterAppend = options.afterAppend, cache = options.cache, _b = options.mirror, mirror = _b === void 0 ? new Mirror() : _b;
|
|
80942
|
+
var node = buildNodeWithSN(n, {
|
|
80943
|
+
doc: doc,
|
|
80944
|
+
mirror: mirror,
|
|
80945
|
+
skipChild: false,
|
|
80946
|
+
hackCss: hackCss,
|
|
80947
|
+
afterAppend: afterAppend,
|
|
80948
|
+
cache: cache
|
|
80949
|
+
});
|
|
80950
|
+
visit(mirror, function (visitedNode) {
|
|
80951
|
+
if (onVisit) {
|
|
80952
|
+
onVisit(visitedNode);
|
|
80953
|
+
}
|
|
80954
|
+
handleScroll(visitedNode, mirror);
|
|
80955
|
+
});
|
|
80956
|
+
return node;
|
|
80957
|
+
}
|
|
80958
|
+
|
|
80959
|
+
|
|
80960
|
+
|
|
78906
80961
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/upload/ImMultiImgUploadList.vue?vue&type=script&lang=js
|
|
78907
80962
|
|
|
78908
80963
|
|
|
78909
80964
|
|
|
78910
80965
|
|
|
78911
80966
|
|
|
80967
|
+
|
|
80968
|
+
|
|
80969
|
+
|
|
80970
|
+
|
|
80971
|
+
|
|
80972
|
+
|
|
80973
|
+
|
|
80974
|
+
|
|
80975
|
+
|
|
78912
80976
|
/* harmony default export */ var ImMultiImgUploadListvue_type_script_lang_js = ({
|
|
78913
80977
|
name: 'ImMultiImgUpload',
|
|
78914
80978
|
mixins: [emitter["a" /* default */]],
|
|
@@ -78940,7 +81004,8 @@ var emitter = __webpack_require__("f6f4");
|
|
|
78940
81004
|
},
|
|
78941
81005
|
data: function data() {
|
|
78942
81006
|
return {
|
|
78943
|
-
uploadedImageList: []
|
|
81007
|
+
uploadedImageList: [],
|
|
81008
|
+
snapshotDialogVisible: false
|
|
78944
81009
|
};
|
|
78945
81010
|
},
|
|
78946
81011
|
computed: {
|
|
@@ -78967,15 +81032,22 @@ var emitter = __webpack_require__("f6f4");
|
|
|
78967
81032
|
}
|
|
78968
81033
|
},
|
|
78969
81034
|
methods: {
|
|
78970
|
-
|
|
78971
|
-
|
|
81035
|
+
// 判断是否为rrweb快照数据
|
|
81036
|
+
isSnapshotData: function isSnapshotData(url) {
|
|
81037
|
+
return url && url.endsWith('.json');
|
|
78972
81038
|
},
|
|
78973
81039
|
showImgView: function showImgView(res) {
|
|
81040
|
+
var _this = this;
|
|
78974
81041
|
var file = res;
|
|
78975
81042
|
if (res.response) {
|
|
78976
81043
|
file = res.response;
|
|
78977
81044
|
}
|
|
78978
|
-
|
|
81045
|
+
// 图片只预览非isSnapshotData的数据
|
|
81046
|
+
var previewList = this.uploadedImageList.filter(function (i) {
|
|
81047
|
+
return !_this.isSnapshotData(i);
|
|
81048
|
+
});
|
|
81049
|
+
console.log('previewList', previewList);
|
|
81050
|
+
var index = previewList.findIndex(function (i) {
|
|
78979
81051
|
return i === file.url;
|
|
78980
81052
|
});
|
|
78981
81053
|
this.$viewerApi({
|
|
@@ -78983,9 +81055,87 @@ var emitter = __webpack_require__("f6f4");
|
|
|
78983
81055
|
navbar: false,
|
|
78984
81056
|
initialViewIndex: index
|
|
78985
81057
|
},
|
|
78986
|
-
images:
|
|
81058
|
+
images: previewList
|
|
78987
81059
|
});
|
|
78988
81060
|
},
|
|
81061
|
+
showSnapshotView: function showSnapshotView(url) {
|
|
81062
|
+
var _this2 = this;
|
|
81063
|
+
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee2() {
|
|
81064
|
+
return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee2$(_context2) {
|
|
81065
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
81066
|
+
case 0:
|
|
81067
|
+
_this2.snapshotDialogVisible = true;
|
|
81068
|
+
try {
|
|
81069
|
+
_this2.$nextTick( /*#__PURE__*/Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee() {
|
|
81070
|
+
var response, snapshotData, container, _snapshotData$childNo, iframe, isMobileSnapshot, iframeDoc, meta;
|
|
81071
|
+
return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee$(_context) {
|
|
81072
|
+
while (1) switch (_context.prev = _context.next) {
|
|
81073
|
+
case 0:
|
|
81074
|
+
_context.next = 2;
|
|
81075
|
+
return fetch(url);
|
|
81076
|
+
case 2:
|
|
81077
|
+
response = _context.sent;
|
|
81078
|
+
_context.next = 5;
|
|
81079
|
+
return response.json();
|
|
81080
|
+
case 5:
|
|
81081
|
+
snapshotData = _context.sent;
|
|
81082
|
+
container = _this2.$refs.snapshotContainer;
|
|
81083
|
+
if (!container) {
|
|
81084
|
+
_context.next = 21;
|
|
81085
|
+
break;
|
|
81086
|
+
}
|
|
81087
|
+
iframe = document.createElement('iframe'); // 检查是否为移动端截屏
|
|
81088
|
+
isMobileSnapshot = (_snapshotData$childNo = snapshotData.childNodes) === null || _snapshotData$childNo === void 0 ? void 0 : _snapshotData$childNo.some(function (node) {
|
|
81089
|
+
var _node$attributes;
|
|
81090
|
+
return node.type === 2 && node.tagName === 'html' && ((_node$attributes = node.attributes) === null || _node$attributes === void 0 || (_node$attributes = _node$attributes.class) === null || _node$attributes === void 0 ? void 0 : _node$attributes.includes('mobile'));
|
|
81091
|
+
}); // 根据是否是移动端设置不同的样式
|
|
81092
|
+
iframe.style.cssText = isMobileSnapshot ? 'width: 375px; height: 100%; border: none; margin: 0 auto; display: block;' : 'max-width: 100%; height: 100%; border: none; margin: 0 auto; display: block;';
|
|
81093
|
+
container.innerHTML = '';
|
|
81094
|
+
container.appendChild(iframe);
|
|
81095
|
+
_context.next = 15;
|
|
81096
|
+
return new Promise(function (resolve) {
|
|
81097
|
+
iframe.onload = resolve;
|
|
81098
|
+
iframe.src = 'about:blank';
|
|
81099
|
+
});
|
|
81100
|
+
case 15:
|
|
81101
|
+
iframeDoc = iframe.contentDocument;
|
|
81102
|
+
meta = iframeDoc.createElement('meta');
|
|
81103
|
+
meta.setAttribute('name', 'viewport');
|
|
81104
|
+
meta.setAttribute('content', 'width=device-width, initial-scale=1');
|
|
81105
|
+
iframeDoc.head.appendChild(meta);
|
|
81106
|
+
rebuild(snapshotData, {
|
|
81107
|
+
doc: iframeDoc,
|
|
81108
|
+
afterAppend: function afterAppend(node) {
|
|
81109
|
+
if (node.tagName === 'STYLE' || node.tagName === 'SCRIPT') {
|
|
81110
|
+
node.setAttribute('data-snapshot', 'true');
|
|
81111
|
+
}
|
|
81112
|
+
}
|
|
81113
|
+
});
|
|
81114
|
+
case 21:
|
|
81115
|
+
case "end":
|
|
81116
|
+
return _context.stop();
|
|
81117
|
+
}
|
|
81118
|
+
}, _callee);
|
|
81119
|
+
})));
|
|
81120
|
+
} catch (err) {
|
|
81121
|
+
console.error('预览快照失败:', err);
|
|
81122
|
+
_this2.error = '预览快照失败';
|
|
81123
|
+
_this2.dialogVisible = false;
|
|
81124
|
+
}
|
|
81125
|
+
case 2:
|
|
81126
|
+
case "end":
|
|
81127
|
+
return _context2.stop();
|
|
81128
|
+
}
|
|
81129
|
+
}, _callee2);
|
|
81130
|
+
}))();
|
|
81131
|
+
},
|
|
81132
|
+
handleSnapshotDialogClose: function handleSnapshotDialogClose() {
|
|
81133
|
+
this.snapshotDialogVisible = false;
|
|
81134
|
+
this.currentSnapshotUrl = null;
|
|
81135
|
+
if (this.$refs.snapshotContainer) {
|
|
81136
|
+
this.$refs.snapshotContainer.innerHTML = '';
|
|
81137
|
+
}
|
|
81138
|
+
},
|
|
78989
81139
|
setMyValue: function setMyValue() {
|
|
78990
81140
|
try {
|
|
78991
81141
|
if ((!this.value || this.value.length === 0) && this.$refs.upload) {
|
|
@@ -79026,8 +81176,8 @@ var emitter = __webpack_require__("f6f4");
|
|
|
79026
81176
|
});
|
|
79027
81177
|
// CONCATENATED MODULE: ./src/imui/src/FormComponents/upload/ImMultiImgUploadList.vue?vue&type=script&lang=js
|
|
79028
81178
|
/* harmony default export */ var upload_ImMultiImgUploadListvue_type_script_lang_js = (ImMultiImgUploadListvue_type_script_lang_js);
|
|
79029
|
-
// EXTERNAL MODULE: ./src/imui/src/FormComponents/upload/ImMultiImgUploadList.vue?vue&type=style&index=0&id=
|
|
79030
|
-
var
|
|
81179
|
+
// EXTERNAL MODULE: ./src/imui/src/FormComponents/upload/ImMultiImgUploadList.vue?vue&type=style&index=0&id=5109f95b&prod&lang=scss&scoped=true
|
|
81180
|
+
var ImMultiImgUploadListvue_type_style_index_0_id_5109f95b_prod_lang_scss_scoped_true = __webpack_require__("733c");
|
|
79031
81181
|
|
|
79032
81182
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
79033
81183
|
var componentNormalizer = __webpack_require__("2877");
|
|
@@ -79047,7 +81197,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
79047
81197
|
staticRenderFns,
|
|
79048
81198
|
false,
|
|
79049
81199
|
null,
|
|
79050
|
-
"
|
|
81200
|
+
"5109f95b",
|
|
79051
81201
|
null
|
|
79052
81202
|
|
|
79053
81203
|
)
|
|
@@ -79642,7 +81792,7 @@ checkbox_group.install = function (Vue) {
|
|
|
79642
81792
|
// ESM COMPAT FLAG
|
|
79643
81793
|
__webpack_require__.r(__webpack_exports__);
|
|
79644
81794
|
|
|
79645
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
81795
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImTimePicker.vue?vue&type=template&id=da9d169e
|
|
79646
81796
|
var render = function render() {
|
|
79647
81797
|
var _vm = this,
|
|
79648
81798
|
_c = _vm._self._c;
|
|
@@ -80487,7 +82637,7 @@ module.exports = function (it) {
|
|
|
80487
82637
|
// ESM COMPAT FLAG
|
|
80488
82638
|
__webpack_require__.r(__webpack_exports__);
|
|
80489
82639
|
|
|
80490
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
82640
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImCheckbox.vue?vue&type=template&id=110925f2
|
|
80491
82641
|
var render = function render() {
|
|
80492
82642
|
var _vm = this,
|
|
80493
82643
|
_c = _vm._self._c;
|
|
@@ -80847,7 +82997,7 @@ module.exports = store.inspectSource;
|
|
|
80847
82997
|
// ESM COMPAT FLAG
|
|
80848
82998
|
__webpack_require__.r(__webpack_exports__);
|
|
80849
82999
|
|
|
80850
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
83000
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImDatePicker.vue?vue&type=template&id=194776d8&scoped=true
|
|
80851
83001
|
var render = function render() {
|
|
80852
83002
|
var _vm = this,
|
|
80853
83003
|
_c = _vm._self._c;
|
|
@@ -81036,6 +83186,48 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
81036
83186
|
module.exports = {};
|
|
81037
83187
|
|
|
81038
83188
|
|
|
83189
|
+
/***/ }),
|
|
83190
|
+
|
|
83191
|
+
/***/ "8a79":
|
|
83192
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
83193
|
+
|
|
83194
|
+
"use strict";
|
|
83195
|
+
|
|
83196
|
+
var $ = __webpack_require__("23e7");
|
|
83197
|
+
var uncurryThis = __webpack_require__("4625");
|
|
83198
|
+
var getOwnPropertyDescriptor = __webpack_require__("06cf").f;
|
|
83199
|
+
var toLength = __webpack_require__("50c4");
|
|
83200
|
+
var toString = __webpack_require__("577e");
|
|
83201
|
+
var notARegExp = __webpack_require__("5a34");
|
|
83202
|
+
var requireObjectCoercible = __webpack_require__("1d80");
|
|
83203
|
+
var correctIsRegExpLogic = __webpack_require__("ab13");
|
|
83204
|
+
var IS_PURE = __webpack_require__("c430");
|
|
83205
|
+
|
|
83206
|
+
var slice = uncurryThis(''.slice);
|
|
83207
|
+
var min = Math.min;
|
|
83208
|
+
|
|
83209
|
+
var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith');
|
|
83210
|
+
// https://github.com/zloirock/core-js/pull/702
|
|
83211
|
+
var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {
|
|
83212
|
+
var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith');
|
|
83213
|
+
return descriptor && !descriptor.writable;
|
|
83214
|
+
}();
|
|
83215
|
+
|
|
83216
|
+
// `String.prototype.endsWith` method
|
|
83217
|
+
// https://tc39.es/ecma262/#sec-string.prototype.endswith
|
|
83218
|
+
$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
|
|
83219
|
+
endsWith: function endsWith(searchString /* , endPosition = @length */) {
|
|
83220
|
+
var that = toString(requireObjectCoercible(this));
|
|
83221
|
+
notARegExp(searchString);
|
|
83222
|
+
var endPosition = arguments.length > 1 ? arguments[1] : undefined;
|
|
83223
|
+
var len = that.length;
|
|
83224
|
+
var end = endPosition === undefined ? len : min(toLength(endPosition), len);
|
|
83225
|
+
var search = toString(searchString);
|
|
83226
|
+
return slice(that, end - search.length, end) === search;
|
|
83227
|
+
}
|
|
83228
|
+
});
|
|
83229
|
+
|
|
83230
|
+
|
|
81039
83231
|
/***/ }),
|
|
81040
83232
|
|
|
81041
83233
|
/***/ "8a98":
|
|
@@ -81439,7 +83631,7 @@ module.exports = require("vue");
|
|
|
81439
83631
|
// ESM COMPAT FLAG
|
|
81440
83632
|
__webpack_require__.r(__webpack_exports__);
|
|
81441
83633
|
|
|
81442
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
83634
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/upload/ImVideoUpload.vue?vue&type=template&id=0dac940a&scoped=true
|
|
81443
83635
|
var render = function render() {
|
|
81444
83636
|
var _vm = this,
|
|
81445
83637
|
_c = _vm._self._c;
|
|
@@ -81765,7 +83957,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
81765
83957
|
// ESM COMPAT FLAG
|
|
81766
83958
|
__webpack_require__.r(__webpack_exports__);
|
|
81767
83959
|
|
|
81768
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
83960
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/upload/ImImgUpload.vue?vue&type=template&id=22b1a1b7&scoped=true
|
|
81769
83961
|
var render = function render() {
|
|
81770
83962
|
var _vm = this,
|
|
81771
83963
|
_c = _vm._self._c;
|
|
@@ -82336,7 +84528,7 @@ module.exports = UserAgent_DEPRECATED;
|
|
|
82336
84528
|
|
|
82337
84529
|
"use strict";
|
|
82338
84530
|
|
|
82339
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
84531
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/widgets/SelectShape.vue?vue&type=template&id=73d52be2
|
|
82340
84532
|
var render = function render() {
|
|
82341
84533
|
var _vm = this,
|
|
82342
84534
|
_c = _vm._self._c;
|
|
@@ -82472,7 +84664,7 @@ var es_array_includes = __webpack_require__("caad");
|
|
|
82472
84664
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
|
|
82473
84665
|
var es_string_includes = __webpack_require__("2532");
|
|
82474
84666
|
|
|
82475
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
84667
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImSelect.vue?vue&type=template&id=7d424400
|
|
82476
84668
|
|
|
82477
84669
|
|
|
82478
84670
|
var render = function render() {
|
|
@@ -83086,7 +85278,7 @@ function mergeFn (a, b) {
|
|
|
83086
85278
|
// ESM COMPAT FLAG
|
|
83087
85279
|
__webpack_require__.r(__webpack_exports__);
|
|
83088
85280
|
|
|
83089
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
85281
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImEnumCheckboxGroup.vue?vue&type=template&id=36c46656
|
|
83090
85282
|
var render = function render() {
|
|
83091
85283
|
var _vm = this,
|
|
83092
85284
|
_c = _vm._self._c;
|
|
@@ -129198,7 +131390,7 @@ __webpack_require__("5a47");
|
|
|
129198
131390
|
// ESM COMPAT FLAG
|
|
129199
131391
|
__webpack_require__.r(__webpack_exports__);
|
|
129200
131392
|
|
|
129201
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
131393
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImInputNumber.vue?vue&type=template&id=2eb1554a&scoped=true
|
|
129202
131394
|
var render = function render() {
|
|
129203
131395
|
var _vm = this,
|
|
129204
131396
|
_c = _vm._self._c;
|
|
@@ -129353,6 +131545,17 @@ module.exports = function (METHOD_NAME, argument) {
|
|
|
129353
131545
|
};
|
|
129354
131546
|
|
|
129355
131547
|
|
|
131548
|
+
/***/ }),
|
|
131549
|
+
|
|
131550
|
+
/***/ "a640b":
|
|
131551
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
131552
|
+
|
|
131553
|
+
"use strict";
|
|
131554
|
+
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_RecordPreview_vue_vue_type_style_index_0_id_598823ea_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f3c7");
|
|
131555
|
+
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_RecordPreview_vue_vue_type_style_index_0_id_598823ea_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_RecordPreview_vue_vue_type_style_index_0_id_598823ea_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
131556
|
+
/* unused harmony reexport * */
|
|
131557
|
+
|
|
131558
|
+
|
|
129356
131559
|
/***/ }),
|
|
129357
131560
|
|
|
129358
131561
|
/***/ "a742":
|
|
@@ -129472,7 +131675,7 @@ if (!IS_PURE && isCallable(NativePromiseConstructor)) {
|
|
|
129472
131675
|
// ESM COMPAT FLAG
|
|
129473
131676
|
__webpack_require__.r(__webpack_exports__);
|
|
129474
131677
|
|
|
129475
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
131678
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImColorPicker.vue?vue&type=template&id=68f4415e&scoped=true
|
|
129476
131679
|
var render = function render() {
|
|
129477
131680
|
var _vm = this,
|
|
129478
131681
|
_c = _vm._self._c;
|
|
@@ -129595,7 +131798,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
129595
131798
|
// ESM COMPAT FLAG
|
|
129596
131799
|
__webpack_require__.r(__webpack_exports__);
|
|
129597
131800
|
|
|
129598
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
131801
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImRadio.vue?vue&type=template&id=747c97b0
|
|
129599
131802
|
var render = function render() {
|
|
129600
131803
|
var _vm = this,
|
|
129601
131804
|
_c = _vm._self._c;
|
|
@@ -129858,6 +132061,13 @@ if (IS_PURE && PureNumberNamespace) copyConstructorProperties(path[NUMBER], Pure
|
|
|
129858
132061
|
if (FORCED || IS_PURE) copyConstructorProperties(path[NUMBER], NativeNumber);
|
|
129859
132062
|
|
|
129860
132063
|
|
|
132064
|
+
/***/ }),
|
|
132065
|
+
|
|
132066
|
+
/***/ "aa42":
|
|
132067
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
132068
|
+
|
|
132069
|
+
// extracted by mini-css-extract-plugin
|
|
132070
|
+
|
|
129861
132071
|
/***/ }),
|
|
129862
132072
|
|
|
129863
132073
|
/***/ "aa47":
|
|
@@ -133645,7 +135855,7 @@ $({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
|
|
|
133645
135855
|
// ESM COMPAT FLAG
|
|
133646
135856
|
__webpack_require__.r(__webpack_exports__);
|
|
133647
135857
|
|
|
133648
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
135858
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImInput.vue?vue&type=template&id=6878bf9e
|
|
133649
135859
|
var render = function render() {
|
|
133650
135860
|
var _vm = this,
|
|
133651
135861
|
_c = _vm._self._c;
|
|
@@ -136452,7 +138662,7 @@ var es_array_includes = __webpack_require__("caad");
|
|
|
136452
138662
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
|
|
136453
138663
|
var es_string_includes = __webpack_require__("2532");
|
|
136454
138664
|
|
|
136455
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
138665
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImServerSelect.vue?vue&type=template&id=5ebc8274
|
|
136456
138666
|
|
|
136457
138667
|
|
|
136458
138668
|
var render = function render() {
|
|
@@ -142202,6 +144412,17 @@ module.exports = __webpack_require__("5524").Object.assign;
|
|
|
142202
144412
|
module.exports = __webpack_require__("051b");
|
|
142203
144413
|
|
|
142204
144414
|
|
|
144415
|
+
/***/ }),
|
|
144416
|
+
|
|
144417
|
+
/***/ "baad":
|
|
144418
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
144419
|
+
|
|
144420
|
+
"use strict";
|
|
144421
|
+
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImMultiVideoUpload_vue_vue_type_style_index_0_id_4c7306f8_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("aa42");
|
|
144422
|
+
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImMultiVideoUpload_vue_vue_type_style_index_0_id_4c7306f8_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImMultiVideoUpload_vue_vue_type_style_index_0_id_4c7306f8_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
144423
|
+
/* unused harmony reexport * */
|
|
144424
|
+
|
|
144425
|
+
|
|
142205
144426
|
/***/ }),
|
|
142206
144427
|
|
|
142207
144428
|
/***/ "bb16":
|
|
@@ -142322,6 +144543,47 @@ module.exports = function (input, pref) {
|
|
|
142322
144543
|
module.exports = __webpack_require__("d4af");
|
|
142323
144544
|
|
|
142324
144545
|
|
|
144546
|
+
/***/ }),
|
|
144547
|
+
|
|
144548
|
+
/***/ "c1c8":
|
|
144549
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
144550
|
+
|
|
144551
|
+
"use strict";
|
|
144552
|
+
/* WEBPACK VAR INJECTION */(function(module, Buffer, process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Qn; });
|
|
144553
|
+
function e(){}function t(e,t){for(const n in t)e[n]=t[n];return e}function n(e){return e()}function i(){return Object.create(null)}function o(e){e.forEach(n)}function r(e){return"function"==typeof e}function s(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function a(e){const t={};for(const n in e)"$"!==n[0]&&(t[n]=e[n]);return t}function l(e,t){e.appendChild(t)}function c(e,t,n){e.insertBefore(t,n||null)}function d(e){e.parentNode.removeChild(e)}function u(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function h(e){return document.createElement(e)}function p(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function g(e){return document.createTextNode(e)}function m(){return g(" ")}function f(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function y(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function v(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function C(e,t,n,i){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,i?"important":"")}function I(e,t,n){e.classList[n?"add":"remove"](t)}let A;function b(e){A=e}function w(){if(!A)throw new Error("Function called outside component initialization");return A}function N(e){w().$$.on_mount.push(e)}function E(e){w().$$.on_destroy.push(e)}function S(){const e=w();return(t,n,{cancelable:i=!1}={})=>{const o=e.$$.callbacks[t];if(o){const r=function(e,t,{bubbles:n=!1,cancelable:i=!1}={}){const o=document.createEvent("CustomEvent");return o.initCustomEvent(e,n,i,t),o}(t,n,{cancelable:i});return o.slice().forEach((t=>{t.call(e,r)})),!r.defaultPrevented}return!0}}const T=[],D=[],M=[],R=[],x=Promise.resolve();let k=!1;function F(e){M.push(e)}const O=new Set;let B=0;function L(){const e=A;do{for(;B<T.length;){const e=T[B];B++,b(e),V(e.$$)}for(b(null),T.length=0,B=0;D.length;)D.pop()();for(let e=0;e<M.length;e+=1){const t=M[e];O.has(t)||(O.add(t),t())}M.length=0}while(T.length);for(;R.length;)R.pop()();k=!1,O.clear(),b(e)}function V(e){if(null!==e.fragment){e.update(),o(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(F)}}const _=new Set;let G;function W(){G={r:0,c:[],p:G}}function U(){G.r||o(G.c),G=G.p}function Z(e,t){e&&e.i&&(_.delete(e),e.i(t))}function $(e,t,n,i){if(e&&e.o){if(_.has(e))return;_.add(e),G.c.push((()=>{_.delete(e),i&&(n&&e.d(1),i())})),e.o(t)}else i&&i()}function K(e){e&&e.c()}function Y(e,t,i,s){const{fragment:a,on_mount:l,on_destroy:c,after_update:d}=e.$$;a&&a.m(t,i),s||F((()=>{const t=l.map(n).filter(r);c?c.push(...t):o(t),e.$$.on_mount=[]})),d.forEach(F)}function P(e,t){const n=e.$$;null!==n.fragment&&(o(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Q(e,t){-1===e.$$.dirty[0]&&(T.push(e),k||(k=!0,x.then(L)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function z(t,n,r,s,a,l,c,u=[-1]){const h=A;b(t);const p=t.$$={fragment:null,ctx:null,props:l,update:e,not_equal:a,bound:i(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(n.context||(h?h.$$.context:[])),callbacks:i(),dirty:u,skip_bound:!1,root:n.target||h.$$.root};c&&c(p.root);let g=!1;if(p.ctx=r?r(t,n.props||{},((e,n,...i)=>{const o=i.length?i[0]:n;return p.ctx&&a(p.ctx[e],p.ctx[e]=o)&&(!p.skip_bound&&p.bound[e]&&p.bound[e](o),g&&Q(t,e)),n})):[],p.update(),g=!0,o(p.before_update),p.fragment=!!s&&s(p.ctx),n.target){if(n.hydrate){const e=function(e){return Array.from(e.childNodes)}(n.target);p.fragment&&p.fragment.l(e),e.forEach(d)}else p.fragment&&p.fragment.c();n.intro&&Z(t.$$.fragment),Y(t,n.target,n.anchor,n.customElement),L()}b(h)}class J{$destroy(){P(this,1),this.$destroy=e}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}var X;function H(e){return e.nodeType===e.ELEMENT_NODE}!function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(X||(X={}));var j=function(){function e(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}return e.prototype.getId=function(e){var t;if(!e)return-1;var n=null===(t=this.getMeta(e))||void 0===t?void 0:t.id;return null!=n?n:-1},e.prototype.getNode=function(e){return this.idNodeMap.get(e)||null},e.prototype.getIds=function(){return Array.from(this.idNodeMap.keys())},e.prototype.getMeta=function(e){return this.nodeMetaMap.get(e)||null},e.prototype.removeNodeFromMap=function(e){var t=this,n=this.getId(e);this.idNodeMap.delete(n),e.childNodes&&e.childNodes.forEach((function(e){return t.removeNodeFromMap(e)}))},e.prototype.has=function(e){return this.idNodeMap.has(e)},e.prototype.hasNode=function(e){return this.nodeMetaMap.has(e)},e.prototype.add=function(e,t){var n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)},e.prototype.replace=function(e,t){var n=this.getNode(e);if(n){var i=this.nodeMetaMap.get(n);i&&this.nodeMetaMap.set(t,i)}this.idNodeMap.set(e,t)},e.prototype.reset=function(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap},e}();function q(){return new j}var ee=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;function te(e,t){void 0===t&&(t={});var n=1,i=1;function o(e){var t=e.match(/\n/g);t&&(n+=t.length);var o=e.lastIndexOf("\n");i=-1===o?i+e.length:e.length-o}function r(){var e={line:n,column:i};return function(t){return t.position=new s(e),p(),t}}var s=function(e){this.start=e,this.end={line:n,column:i},this.source=t.source};s.prototype.content=e;var a=[];function l(o){var r=new Error("".concat(t.source||"",":").concat(n,":").concat(i,": ").concat(o));if(r.reason=o,r.filename=t.source,r.line=n,r.column=i,r.source=e,!t.silent)throw r;a.push(r)}function c(){return h(/^{\s*/)}function d(){return h(/^}/)}function u(){var t,n=[];for(p(),g(n);e.length&&"}"!==e.charAt(0)&&(t=E()||S());)!1!==t&&(n.push(t),g(n));return n}function h(t){var n=t.exec(e);if(n){var i=n[0];return o(i),e=e.slice(i.length),n}}function p(){h(/^\s*/)}function g(e){var t;for(void 0===e&&(e=[]);t=m();)!1!==t&&e.push(t),t=m();return e}function m(){var t=r();if("/"===e.charAt(0)&&"*"===e.charAt(1)){for(var n=2;""!==e.charAt(n)&&("*"!==e.charAt(n)||"/"!==e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return l("End of comment missing");var s=e.slice(2,n-2);return i+=2,o(s),e=e.slice(n),i+=2,t({type:"comment",comment:s})}}function f(){var e=h(/^([^{]+)/);if(e)return ne(e[0]).replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,(function(e){return e.replace(/,/g,"")})).split(/\s*(?![^(]*\)),\s*/).map((function(e){return e.replace(/\u200C/g,",")}))}function y(){var e=r(),t=h(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(t){var n=ne(t[0]);if(!h(/^:\s*/))return l("property missing ':'");var i=h(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),o=e({type:"declaration",property:n.replace(ee,""),value:i?ne(i[0]).replace(ee,""):""});return h(/^[;\s]*/),o}}function v(){var e,t=[];if(!c())return l("missing '{'");for(g(t);e=y();)!1!==e&&(t.push(e),g(t)),e=y();return d()?t:l("missing '}'")}function C(){for(var e,t=[],n=r();e=h(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),h(/^,\s*/);if(t.length)return n({type:"keyframe",values:t,declarations:v()})}var I,A=N("import"),b=N("charset"),w=N("namespace");function N(e){var t=new RegExp("^@"+e+"\\s*([^;]+);");return function(){var n=r(),i=h(t);if(i){var o={type:e};return o[e]=i[1].trim(),n(o)}}}function E(){if("@"===e[0])return function(){var e=r(),t=h(/^@([-\w]+)?keyframes\s*/);if(t){var n=t[1];if(!(t=h(/^([-\w]+)\s*/)))return l("@keyframes missing name");var i,o=t[1];if(!c())return l("@keyframes missing '{'");for(var s=g();i=C();)s.push(i),s=s.concat(g());return d()?e({type:"keyframes",name:o,vendor:n,keyframes:s}):l("@keyframes missing '}'")}}()||function(){var e=r(),t=h(/^@media *([^{]+)/);if(t){var n=ne(t[1]);if(!c())return l("@media missing '{'");var i=g().concat(u());return d()?e({type:"media",media:n,rules:i}):l("@media missing '}'")}}()||function(){var e=r(),t=h(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(t)return e({type:"custom-media",name:ne(t[1]),media:ne(t[2])})}()||function(){var e=r(),t=h(/^@supports *([^{]+)/);if(t){var n=ne(t[1]);if(!c())return l("@supports missing '{'");var i=g().concat(u());return d()?e({type:"supports",supports:n,rules:i}):l("@supports missing '}'")}}()||A()||b()||w()||function(){var e=r(),t=h(/^@([-\w]+)?document *([^{]+)/);if(t){var n=ne(t[1]),i=ne(t[2]);if(!c())return l("@document missing '{'");var o=g().concat(u());return d()?e({type:"document",document:i,vendor:n,rules:o}):l("@document missing '}'")}}()||function(){var e=r();if(h(/^@page */)){var t=f()||[];if(!c())return l("@page missing '{'");for(var n,i=g();n=y();)i.push(n),i=i.concat(g());return d()?e({type:"page",selectors:t,declarations:i}):l("@page missing '}'")}}()||function(){var e=r();if(h(/^@host\s*/)){if(!c())return l("@host missing '{'");var t=g().concat(u());return d()?e({type:"host",rules:t}):l("@host missing '}'")}}()||function(){var e=r();if(h(/^@font-face\s*/)){if(!c())return l("@font-face missing '{'");for(var t,n=g();t=y();)n.push(t),n=n.concat(g());return d()?e({type:"font-face",declarations:n}):l("@font-face missing '}'")}}()}function S(){var e=r(),t=f();return t?(g(),e({type:"rule",selectors:t,declarations:v()})):l("selector missing")}return ie((I=u(),{type:"stylesheet",stylesheet:{source:t.source,rules:I,parsingErrors:a}}))}function ne(e){return e?e.replace(/^\s+|\s+$/g,""):""}function ie(e,t){for(var n=e&&"string"==typeof e.type,i=n?e:t,o=0,r=Object.keys(e);o<r.length;o++){var s=e[r[o]];Array.isArray(s)?s.forEach((function(e){ie(e,i)})):s&&"object"==typeof s&&ie(s,i)}return n&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var oe={script:"noscript",altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",fedropshadow:"feDropShadow",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient"};var re=/([^\\]):hover/,se=new RegExp(re.source,"g");function ae(e,t){var n=null==t?void 0:t.stylesWithHoverClass.get(e);if(n)return n;var i=te(e,{silent:!0});if(!i.stylesheet)return e;var o=[];if(i.stylesheet.rules.forEach((function(e){"selectors"in e&&(e.selectors||[]).forEach((function(e){re.test(e)&&o.push(e)}))})),0===o.length)return e;var r=new RegExp(o.filter((function(e,t){return o.indexOf(e)===t})).sort((function(e,t){return t.length-e.length})).map((function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")})).join("|"),"g"),s=e.replace(r,(function(e){var t=e.replace(se,"$1.\\:hover");return"".concat(e,", ").concat(t)}));return null==t||t.stylesWithHoverClass.set(e,s),s}function le(){return{stylesWithHoverClass:new Map}}function ce(e,t){var n=t.doc,i=t.hackCss,o=t.cache;switch(e.type){case X.Document:return n.implementation.createDocument(null,"",null);case X.DocumentType:return n.implementation.createDocumentType(e.name||"html",e.publicId,e.systemId);case X.Element:var r,s=function(e){var t=oe[e.tagName]?oe[e.tagName]:e.tagName;return"link"===t&&e.attributes._cssText&&(t="style"),t}(e);r=e.isSVG?n.createElementNS("http://www.w3.org/2000/svg",s):n.createElement(s);var a={};for(var l in e.attributes)if(Object.prototype.hasOwnProperty.call(e.attributes,l)){var c=e.attributes[l];if("option"!==s||"selected"!==l||!1!==c)if(!0===c&&(c=""),l.startsWith("rr_"))a[l]=c;else{var d="textarea"===s&&"value"===l,u="style"===s&&"_cssText"===l;if(u&&i&&"string"==typeof c&&(c=ae(c,o)),!d&&!u||"string"!=typeof c)try{if(e.isSVG&&"xlink:href"===l)r.setAttributeNS("http://www.w3.org/1999/xlink",l,c.toString());else if("onload"===l||"onclick"===l||"onmouse"===l.substring(0,7))r.setAttribute("_"+l,c.toString());else{if("meta"===s&&"Content-Security-Policy"===e.attributes["http-equiv"]&&"content"===l){r.setAttribute("csp-content",c.toString());continue}"link"===s&&"preload"===e.attributes.rel&&"script"===e.attributes.as||"link"===s&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&e.attributes.href.endsWith(".js")||("img"===s&&e.attributes.srcset&&e.attributes.rr_dataURL?r.setAttribute("rrweb-original-srcset",e.attributes.srcset):r.setAttribute(l,c.toString()))}}catch(e){}else{for(var h=n.createTextNode(c),p=0,g=Array.from(r.childNodes);p<g.length;p++){var m=g[p];m.nodeType===r.TEXT_NODE&&r.removeChild(m)}r.appendChild(h)}}}var f=function(t){var n=a[t];if("canvas"===s&&"rr_dataURL"===t){var i=document.createElement("img");i.onload=function(){var e=r.getContext("2d");e&&e.drawImage(i,0,0,i.width,i.height)},i.src=n.toString(),r.RRNodeType&&(r.rr_dataURL=n.toString())}else if("img"===s&&"rr_dataURL"===t){var o=r;o.currentSrc.startsWith("data:")||(o.setAttribute("rrweb-original-src",e.attributes.src),o.src=n.toString())}if("rr_width"===t)r.style.width=n.toString();else if("rr_height"===t)r.style.height=n.toString();else if("rr_mediaCurrentTime"===t&&"number"==typeof n)r.currentTime=n;else if("rr_mediaState"===t)switch(n){case"played":r.play().catch((function(e){return console.warn("media playback error",e)}));break;case"paused":r.pause()}};for(var y in a)f(y);if(e.isShadowHost)if(r.shadowRoot)for(;r.shadowRoot.firstChild;)r.shadowRoot.removeChild(r.shadowRoot.firstChild);else r.attachShadow({mode:"open"});return r;case X.Text:return n.createTextNode(e.isStyle&&i?ae(e.textContent,o):e.textContent);case X.CDATA:return n.createCDATASection(e.textContent);case X.Comment:return n.createComment(e.textContent);default:return null}}function de(e,t){var n=t.doc,i=t.mirror,o=t.skipChild,r=void 0!==o&&o,s=t.hackCss,a=void 0===s||s,l=t.afterAppend,c=t.cache,d=ce(e,{doc:n,hackCss:a,cache:c});if(!d)return null;if(e.rootId&&i.getNode(e.rootId)!==n&&i.replace(e.rootId,n),e.type===X.Document&&(n.close(),n.open(),"BackCompat"===e.compatMode&&e.childNodes&&e.childNodes[0].type!==X.DocumentType&&(e.childNodes[0].type===X.Element&&"xmlns"in e.childNodes[0].attributes&&"http://www.w3.org/1999/xhtml"===e.childNodes[0].attributes.xmlns?n.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">'):n.write('<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "">')),d=n),i.add(d,e),(e.type===X.Document||e.type===X.Element)&&!r)for(var u=0,h=e.childNodes;u<h.length;u++){var p=h[u],g=de(p,{doc:n,mirror:i,skipChild:!1,hackCss:a,afterAppend:l,cache:c});g?(p.isShadow&&H(d)&&d.shadowRoot?d.shadowRoot.appendChild(g):d.appendChild(g),l&&l(g,p.id)):console.warn("Failed to rebuild",p)}return d}function ue(e,t){var n=t.doc,i=t.onVisit,o=t.hackCss,r=void 0===o||o,s=t.afterAppend,a=t.cache,l=t.mirror,c=void 0===l?new j:l,d=de(e,{doc:n,mirror:c,skipChild:!1,hackCss:r,afterAppend:s,cache:a});return function(e,t){for(var n=0,i=e.getIds();n<i.length;n++){var o=i[n];e.has(o)&&t(e.getNode(o))}}(c,(function(e){i&&i(e),function(e,t){var n=t.getMeta(e);if((null==n?void 0:n.type)===X.Element){var i=e;for(var o in n.attributes)if(Object.prototype.hasOwnProperty.call(n.attributes,o)&&o.startsWith("rr_")){var r=n.attributes[o];"rr_scrollLeft"===o&&(i.scrollLeft=r),"rr_scrollTop"===o&&(i.scrollTop=r)}}}(e,c)})),d}const he="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.";let pe={map:{},getId:()=>(console.error(he),-1),getNode:()=>(console.error(he),null),removeNodeFromMap(){console.error(he)},has:()=>(console.error(he),!1),reset(){console.error(he)}};function ge(e){const t={},n=(e,n)=>{const i={value:e,parent:n,children:[]};return t[e.node.id]=i,i},i=[];for(const o of e){const{nextId:e,parentId:r}=o;if(e&&e in t){const r=t[e];if(r.parent){const e=r.parent.children.indexOf(r);r.parent.children.splice(e,0,n(o,r.parent))}else{const e=i.indexOf(r);i.splice(e,0,n(o,null))}}else if(r in t){const e=t[r];e.children.push(n(o,e))}else i.push(n(o,null))}return i}function me(e,t){t(e.value);for(let n=e.children.length-1;n>=0;n--)me(e.children[n],t)}function fe(e,t){return Boolean("IFRAME"===e.nodeName&&t.getMeta(e))}function ye(e,t){var n,i;const o=null===(i=null===(n=e.ownerDocument)||void 0===n?void 0:n.defaultView)||void 0===i?void 0:i.frameElement;if(!o||o===t)return{x:0,y:0,relativeScale:1,absoluteScale:1};const r=o.getBoundingClientRect(),s=ye(o,t),a=r.height/o.clientHeight;return{x:r.x*s.relativeScale+s.x,y:r.y*s.relativeScale+s.y,relativeScale:a,absoluteScale:s.absoluteScale*a}}function ve(e){return Boolean(null==e?void 0:e.shadowRoot)}function Ce(e,t){const n=e[t[0]];return 1===t.length?n:Ce(n.cssRules[t[1]].cssRules,t.slice(2))}function Ie(e){const t=[...e],n=t.pop();return{positions:t,index:n}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(pe=new Proxy(pe,{get:(e,t,n)=>("map"===t&&console.error(he),Reflect.get(e,t,n))}));class Ae{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){var t;return null!==(t=this.styleIDMap.get(e))&&void 0!==t?t:-1}has(e){return this.styleIDMap.has(e)}add(e,t){if(this.has(e))return this.getId(e);let n;return n=void 0===t?this.id++:t,this.styleIDMap.set(e,n),this.idStyleMap.set(n,e),n}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}var be=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(be||{}),we=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e))(we||{}),Ne=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(Ne||{}),Ee=(e=>(e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e))(Ee||{}),Se=(e=>(e.Start="start",e.Pause="pause",e.Resume="resume",e.Resize="resize",e.Finish="finish",e.FullsnapshotRebuilded="fullsnapshot-rebuilded",e.LoadStylesheetStart="load-stylesheet-start",e.LoadStylesheetEnd="load-stylesheet-end",e.SkipStart="skip-start",e.SkipEnd="skip-end",e.MouseInteraction="mouse-interaction",e.EventCast="event-cast",e.CustomEvent="custom-event",e.Flush="flush",e.StateChange="state-change",e.PlayBack="play-back",e.Destroy="destroy",e))(Se||{});
|
|
144554
|
+
/*! *****************************************************************************
|
|
144555
|
+
Copyright (c) Microsoft Corporation.
|
|
144556
|
+
|
|
144557
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
144558
|
+
purpose with or without fee is hereby granted.
|
|
144559
|
+
|
|
144560
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
144561
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
144562
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
144563
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
144564
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
144565
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
144566
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
144567
|
+
***************************************************************************** */
|
|
144568
|
+
function Te(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))}for(var De="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Me="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Re=0;Re<De.length;Re++)Me[De.charCodeAt(Re)]=Re;var xe=null;try{var ke= true&&"function"==typeof module.require&&__webpack_require__(!(function webpackMissingModule() { var e = new Error("Cannot find module 'worker_threads'"); e.code = 'MODULE_NOT_FOUND'; throw e; }()))||"function"==typeof require&&require("worker_threads")|| true&&__webpack_require__(!(function webpackMissingModule() { var e = new Error("Cannot find module 'worker_threads'"); e.code = 'MODULE_NOT_FOUND'; throw e; }()));xe=ke.Worker}catch(Ht){}function Fe(e,t,n){var i=void 0===t?null:t,o=function(e,t){return Buffer.from(e,"base64").toString(t?"utf16":"utf8")}(e,void 0!==n&&n),r=o.indexOf("\n",10)+1,s=o.substring(r)+(i?"//# sourceMappingURL="+i:"");return function(e){return new xe(s,Object.assign({},e,{eval:!0}))}}var Oe,Be,Le,Ve,_e="[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0);Oe="Lyogcm9sbHVwLXBsdWdpbi13ZWItd29ya2VyLWxvYWRlciAqLwooZnVuY3Rpb24gKCkgewogICAgJ3VzZSBzdHJpY3QnOwoKICAgIC8qISAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKg0KICAgIENvcHlyaWdodCAoYykgTWljcm9zb2Z0IENvcnBvcmF0aW9uLg0KDQogICAgUGVybWlzc2lvbiB0byB1c2UsIGNvcHksIG1vZGlmeSwgYW5kL29yIGRpc3RyaWJ1dGUgdGhpcyBzb2Z0d2FyZSBmb3IgYW55DQogICAgcHVycG9zZSB3aXRoIG9yIHdpdGhvdXQgZmVlIGlzIGhlcmVieSBncmFudGVkLg0KDQogICAgVEhFIFNPRlRXQVJFIElTIFBST1ZJREVEICJBUyBJUyIgQU5EIFRIRSBBVVRIT1IgRElTQ0xBSU1TIEFMTCBXQVJSQU5USUVTIFdJVEgNCiAgICBSRUdBUkQgVE8gVEhJUyBTT0ZUV0FSRSBJTkNMVURJTkcgQUxMIElNUExJRUQgV0FSUkFOVElFUyBPRiBNRVJDSEFOVEFCSUxJVFkNCiAgICBBTkQgRklUTkVTUy4gSU4gTk8gRVZFTlQgU0hBTEwgVEhFIEFVVEhPUiBCRSBMSUFCTEUgRk9SIEFOWSBTUEVDSUFMLCBESVJFQ1QsDQogICAgSU5ESVJFQ1QsIE9SIENPTlNFUVVFTlRJQUwgREFNQUdFUyBPUiBBTlkgREFNQUdFUyBXSEFUU09FVkVSIFJFU1VMVElORyBGUk9NDQogICAgTE9TUyBPRiBVU0UsIERBVEEgT1IgUFJPRklUUywgV0hFVEhFUiBJTiBBTiBBQ1RJT04gT0YgQ09OVFJBQ1QsIE5FR0xJR0VOQ0UgT1INCiAgICBPVEhFUiBUT1JUSU9VUyBBQ1RJT04sIEFSSVNJTkcgT1VUIE9GIE9SIElOIENPTk5FQ1RJT04gV0lUSCBUSEUgVVNFIE9SDQogICAgUEVSRk9STUFOQ0UgT0YgVEhJUyBTT0ZUV0FSRS4NCiAgICAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqLw0KDQogICAgZnVuY3Rpb24gX19hd2FpdGVyKHRoaXNBcmcsIF9hcmd1bWVudHMsIFAsIGdlbmVyYXRvcikgew0KICAgICAgICBmdW5jdGlvbiBhZG9wdCh2YWx1ZSkgeyByZXR1cm4gdmFsdWUgaW5zdGFuY2VvZiBQID8gdmFsdWUgOiBuZXcgUChmdW5jdGlvbiAocmVzb2x2ZSkgeyByZXNvbHZlKHZhbHVlKTsgfSk7IH0NCiAgICAgICAgcmV0dXJuIG5ldyAoUCB8fCAoUCA9IFByb21pc2UpKShmdW5jdGlvbiAocmVzb2x2ZSwgcmVqZWN0KSB7DQogICAgICAgICAgICBmdW5jdGlvbiBmdWxmaWxsZWQodmFsdWUpIHsgdHJ5IHsgc3RlcChnZW5lcmF0b3IubmV4dCh2YWx1ZSkpOyB9IGNhdGNoIChlKSB7IHJlamVjdChlKTsgfSB9DQogICAgICAgICAgICBmdW5jdGlvbiByZWplY3RlZCh2YWx1ZSkgeyB0cnkgeyBzdGVwKGdlbmVyYXRvclsidGhyb3ciXSh2YWx1ZSkpOyB9IGNhdGNoIChlKSB7IHJlamVjdChlKTsgfSB9DQogICAgICAgICAgICBmdW5jdGlvbiBzdGVwKHJlc3VsdCkgeyByZXN1bHQuZG9uZSA/IHJlc29sdmUocmVzdWx0LnZhbHVlKSA6IGFkb3B0KHJlc3VsdC52YWx1ZSkudGhlbihmdWxmaWxsZWQsIHJlamVjdGVkKTsgfQ0KICAgICAgICAgICAgc3RlcCgoZ2VuZXJhdG9yID0gZ2VuZXJhdG9yLmFwcGx5KHRoaXNBcmcsIF9hcmd1bWVudHMgfHwgW10pKS5uZXh0KCkpOw0KICAgICAgICB9KTsNCiAgICB9CgogICAgLyoKICAgICAqIGJhc2U2NC1hcnJheWJ1ZmZlciAxLjAuMSA8aHR0cHM6Ly9naXRodWIuY29tL25pa2xhc3ZoL2Jhc2U2NC1hcnJheWJ1ZmZlcj4KICAgICAqIENvcHlyaWdodCAoYykgMjAyMSBOaWtsYXMgdm9uIEhlcnR6ZW4gPGh0dHBzOi8vaGVydHplbi5jb20+CiAgICAgKiBSZWxlYXNlZCB1bmRlciBNSVQgTGljZW5zZQogICAgICovCiAgICB2YXIgY2hhcnMgPSAnQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyc7CiAgICAvLyBVc2UgYSBsb29rdXAgdGFibGUgdG8gZmluZCB0aGUgaW5kZXguCiAgICB2YXIgbG9va3VwID0gdHlwZW9mIFVpbnQ4QXJyYXkgPT09ICd1bmRlZmluZWQnID8gW10gOiBuZXcgVWludDhBcnJheSgyNTYpOwogICAgZm9yICh2YXIgaSA9IDA7IGkgPCBjaGFycy5sZW5ndGg7IGkrKykgewogICAgICAgIGxvb2t1cFtjaGFycy5jaGFyQ29kZUF0KGkpXSA9IGk7CiAgICB9CiAgICB2YXIgZW5jb2RlID0gZnVuY3Rpb24gKGFycmF5YnVmZmVyKSB7CiAgICAgICAgdmFyIGJ5dGVzID0gbmV3IFVpbnQ4QXJyYXkoYXJyYXlidWZmZXIpLCBpLCBsZW4gPSBieXRlcy5sZW5ndGgsIGJhc2U2NCA9ICcnOwogICAgICAgIGZvciAoaSA9IDA7IGkgPCBsZW47IGkgKz0gMykgewogICAgICAgICAgICBiYXNlNjQgKz0gY2hhcnNbYnl0ZXNbaV0gPj4gMl07CiAgICAgICAgICAgIGJhc2U2NCArPSBjaGFyc1soKGJ5dGVzW2ldICYgMykgPDwgNCkgfCAoYnl0ZXNbaSArIDFdID4+IDQpXTsKICAgICAgICAgICAgYmFzZTY0ICs9IGNoYXJzWygoYnl0ZXNbaSArIDFdICYgMTUpIDw8IDIpIHwgKGJ5dGVzW2kgKyAyXSA+PiA2KV07CiAgICAgICAgICAgIGJhc2U2NCArPSBjaGFyc1tieXRlc1tpICsgMl0gJiA2M107CiAgICAgICAgfQogICAgICAgIGlmIChsZW4gJSAzID09PSAyKSB7CiAgICAgICAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDEpICsgJz0nOwogICAgICAgIH0KICAgICAgICBlbHNlIGlmIChsZW4gJSAzID09PSAxKSB7CiAgICAgICAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDIpICsgJz09JzsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIGJhc2U2NDsKICAgIH07CgogICAgY29uc3QgbGFzdEJsb2JNYXAgPSBuZXcgTWFwKCk7DQogICAgY29uc3QgdHJhbnNwYXJlbnRCbG9iTWFwID0gbmV3IE1hcCgpOw0KICAgIGZ1bmN0aW9uIGdldFRyYW5zcGFyZW50QmxvYkZvcih3aWR0aCwgaGVpZ2h0LCBkYXRhVVJMT3B0aW9ucykgew0KICAgICAgICByZXR1cm4gX19hd2FpdGVyKHRoaXMsIHZvaWQgMCwgdm9pZCAwLCBmdW5jdGlvbiogKCkgew0KICAgICAgICAgICAgY29uc3QgaWQgPSBgJHt3aWR0aH0tJHtoZWlnaHR9YDsNCiAgICAgICAgICAgIGlmICgnT2Zmc2NyZWVuQ2FudmFzJyBpbiBnbG9iYWxUaGlzKSB7DQogICAgICAgICAgICAgICAgaWYgKHRyYW5zcGFyZW50QmxvYk1hcC5oYXMoaWQpKQ0KICAgICAgICAgICAgICAgICAgICByZXR1cm4gdHJhbnNwYXJlbnRCbG9iTWFwLmdldChpZCk7DQogICAgICAgICAgICAgICAgY29uc3Qgb2Zmc2NyZWVuID0gbmV3IE9mZnNjcmVlbkNhbnZhcyh3aWR0aCwgaGVpZ2h0KTsNCiAgICAgICAgICAgICAgICBvZmZzY3JlZW4uZ2V0Q29udGV4dCgnMmQnKTsNCiAgICAgICAgICAgICAgICBjb25zdCBibG9iID0geWllbGQgb2Zmc2NyZWVuLmNvbnZlcnRUb0Jsb2IoZGF0YVVSTE9wdGlvbnMpOw0KICAgICAgICAgICAgICAgIGNvbnN0IGFycmF5QnVmZmVyID0geWllbGQgYmxvYi5hcnJheUJ1ZmZlcigpOw0KICAgICAgICAgICAgICAgIGNvbnN0IGJhc2U2NCA9IGVuY29kZShhcnJheUJ1ZmZlcik7DQogICAgICAgICAgICAgICAgdHJhbnNwYXJlbnRCbG9iTWFwLnNldChpZCwgYmFzZTY0KTsNCiAgICAgICAgICAgICAgICByZXR1cm4gYmFzZTY0Ow0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgZWxzZSB7DQogICAgICAgICAgICAgICAgcmV0dXJuICcnOw0KICAgICAgICAgICAgfQ0KICAgICAgICB9KTsNCiAgICB9DQogICAgY29uc3Qgd29ya2VyID0gc2VsZjsNCiAgICB3b3JrZXIub25tZXNzYWdlID0gZnVuY3Rpb24gKGUpIHsNCiAgICAgICAgcmV0dXJuIF9fYXdhaXRlcih0aGlzLCB2b2lkIDAsIHZvaWQgMCwgZnVuY3Rpb24qICgpIHsNCiAgICAgICAgICAgIGlmICgnT2Zmc2NyZWVuQ2FudmFzJyBpbiBnbG9iYWxUaGlzKSB7DQogICAgICAgICAgICAgICAgY29uc3QgeyBpZCwgYml0bWFwLCB3aWR0aCwgaGVpZ2h0LCBkYXRhVVJMT3B0aW9ucyB9ID0gZS5kYXRhOw0KICAgICAgICAgICAgICAgIGNvbnN0IHRyYW5zcGFyZW50QmFzZTY0ID0gZ2V0VHJhbnNwYXJlbnRCbG9iRm9yKHdpZHRoLCBoZWlnaHQsIGRhdGFVUkxPcHRpb25zKTsNCiAgICAgICAgICAgICAgICBjb25zdCBvZmZzY3JlZW4gPSBuZXcgT2Zmc2NyZWVuQ2FudmFzKHdpZHRoLCBoZWlnaHQpOw0KICAgICAgICAgICAgICAgIGNvbnN0IGN0eCA9IG9mZnNjcmVlbi5nZXRDb250ZXh0KCcyZCcpOw0KICAgICAgICAgICAgICAgIGN0eC5kcmF3SW1hZ2UoYml0bWFwLCAwLCAwKTsNCiAgICAgICAgICAgICAgICBiaXRtYXAuY2xvc2UoKTsNCiAgICAgICAgICAgICAgICBjb25zdCBibG9iID0geWllbGQgb2Zmc2NyZWVuLmNvbnZlcnRUb0Jsb2IoZGF0YVVSTE9wdGlvbnMpOw0KICAgICAgICAgICAgICAgIGNvbnN0IHR5cGUgPSBibG9iLnR5cGU7DQogICAgICAgICAgICAgICAgY29uc3QgYXJyYXlCdWZmZXIgPSB5aWVsZCBibG9iLmFycmF5QnVmZmVyKCk7DQogICAgICAgICAgICAgICAgY29uc3QgYmFzZTY0ID0gZW5jb2RlKGFycmF5QnVmZmVyKTsNCiAgICAgICAgICAgICAgICBpZiAoIWxhc3RCbG9iTWFwLmhhcyhpZCkgJiYgKHlpZWxkIHRyYW5zcGFyZW50QmFzZTY0KSA9PT0gYmFzZTY0KSB7DQogICAgICAgICAgICAgICAgICAgIGxhc3RCbG9iTWFwLnNldChpZCwgYmFzZTY0KTsNCiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHdvcmtlci5wb3N0TWVzc2FnZSh7IGlkIH0pOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICBpZiAobGFzdEJsb2JNYXAuZ2V0KGlkKSA9PT0gYmFzZTY0KQ0KICAgICAgICAgICAgICAgICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQgfSk7DQogICAgICAgICAgICAgICAgd29ya2VyLnBvc3RNZXNzYWdlKHsNCiAgICAgICAgICAgICAgICAgICAgaWQsDQogICAgICAgICAgICAgICAgICAgIHR5cGUsDQogICAgICAgICAgICAgICAgICAgIGJhc2U2NCwNCiAgICAgICAgICAgICAgICAgICAgd2lkdGgsDQogICAgICAgICAgICAgICAgICAgIGhlaWdodCwNCiAgICAgICAgICAgICAgICB9KTsNCiAgICAgICAgICAgICAgICBsYXN0QmxvYk1hcC5zZXQoaWQsIGJhc2U2NCk7DQogICAgICAgICAgICB9DQogICAgICAgICAgICBlbHNlIHsNCiAgICAgICAgICAgICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQ6IGUuZGF0YS5pZCB9KTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgfSk7DQogICAgfTsKCn0pKCk7Cgo=",Be=null,Le=!1,_e?Fe(Oe,Be,Le):function(e,t,n){var i}(Oe,Be,Le),q(),function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(Ve||(Ve={}));var Ge=function(){function e(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}return e.prototype.getId=function(e){var t;if(!e)return-1;var n=null===(t=this.getMeta(e))||void 0===t?void 0:t.id;return null!=n?n:-1},e.prototype.getNode=function(e){return this.idNodeMap.get(e)||null},e.prototype.getIds=function(){return Array.from(this.idNodeMap.keys())},e.prototype.getMeta=function(e){return this.nodeMetaMap.get(e)||null},e.prototype.removeNodeFromMap=function(e){var t=this,n=this.getId(e);this.idNodeMap.delete(n),e.childNodes&&e.childNodes.forEach((function(e){return t.removeNodeFromMap(e)}))},e.prototype.has=function(e){return this.idNodeMap.has(e)},e.prototype.hasNode=function(e){return this.nodeMetaMap.has(e)},e.prototype.add=function(e,t){var n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)},e.prototype.replace=function(e,t){var n=this.getNode(e);if(n){var i=this.nodeMetaMap.get(n);i&&this.nodeMetaMap.set(t,i)}this.idNodeMap.set(e,t)},e.prototype.reset=function(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap},e}();function We(e){const t=[];for(const n in e){const i=e[n];if("string"!=typeof i)continue;const o=Ye(n);t.push(`${o}: ${i};`)}return t.join(" ")}const Ue=/-([a-z])/g,Ze=/^--[a-zA-Z0-9-]+$/,$e=e=>Ze.test(e)?e:e.replace(Ue,((e,t)=>t?t.toUpperCase():"")),Ke=/\B([A-Z])/g,Ye=e=>e.replace(Ke,"-$1").toLowerCase();class Pe{constructor(...e){this.childNodes=[],this.parentElement=null,this.parentNode=null,this.ELEMENT_NODE=qe.ELEMENT_NODE,this.TEXT_NODE=qe.TEXT_NODE}get firstChild(){return this.childNodes[0]||null}get lastChild(){return this.childNodes[this.childNodes.length-1]||null}get nextSibling(){const e=this.parentNode;if(!e)return null;const t=e.childNodes,n=t.indexOf(this);return t[n+1]||null}contains(e){if(e===this)return!0;for(const t of this.childNodes)if(t.contains(e))return!0;return!1}appendChild(e){throw new Error("RRDomException: Failed to execute 'appendChild' on 'RRNode': This RRNode type does not support this method.")}insertBefore(e,t){throw new Error("RRDomException: Failed to execute 'insertBefore' on 'RRNode': This RRNode type does not support this method.")}removeChild(e){throw new Error("RRDomException: Failed to execute 'removeChild' on 'RRNode': This RRNode type does not support this method.")}toString(){return"RRNode"}}function Qe(e){return class extends e{constructor(e,t,n){super(),this.nodeType=qe.DOCUMENT_TYPE_NODE,this.RRNodeType=Ve.DocumentType,this.textContent=null,this.name=e,this.publicId=t,this.systemId=n,this.nodeName=e}toString(){return"RRDocumentType"}}}function ze(e){return class extends e{constructor(e){super(),this.nodeType=qe.ELEMENT_NODE,this.RRNodeType=Ve.Element,this.attributes={},this.shadowRoot=null,this.tagName=e.toUpperCase(),this.nodeName=e.toUpperCase()}get textContent(){let e="";return this.childNodes.forEach((t=>e+=t.textContent)),e}set textContent(e){this.childNodes=[this.ownerDocument.createTextNode(e)]}get classList(){return new je(this.attributes.class,(e=>{this.attributes.class=e}))}get id(){return this.attributes.id||""}get className(){return this.attributes.class||""}get style(){const e=this.attributes.style?function(e){const t={},n=/:(.+)/;return e.replace(/\/\*.*?\*\//g,"").split(/;(?![^(]*\))/g).forEach((function(e){if(e){const i=e.split(n);i.length>1&&(t[$e(i[0].trim())]=i[1].trim())}})),t}(this.attributes.style):{},t=/\B([A-Z])/g;return e.setProperty=(n,i,o)=>{if(t.test(n))return;const r=$e(n);i?e[r]=i:delete e[r],"important"===o&&(e[r]+=" !important"),this.attributes.style=We(e)},e.removeProperty=n=>{if(t.test(n))return"";const i=$e(n),o=e[i]||"";return delete e[i],this.attributes.style=We(e),o},e}getAttribute(e){return this.attributes[e]||null}setAttribute(e,t){this.attributes[e]=t}setAttributeNS(e,t,n){this.setAttribute(t,n)}removeAttribute(e){delete this.attributes[e]}appendChild(e){return this.childNodes.push(e),e.parentNode=this,e.parentElement=this,e}insertBefore(e,t){if(null===t)return this.appendChild(e);const n=this.childNodes.indexOf(t);if(-1==n)throw new Error("Failed to execute 'insertBefore' on 'RRNode': The RRNode before which the new node is to be inserted is not a child of this RRNode.");return this.childNodes.splice(n,0,e),e.parentElement=this,e.parentNode=this,e}removeChild(e){const t=this.childNodes.indexOf(e);if(-1===t)throw new Error("Failed to execute 'removeChild' on 'RRElement': The RRNode to be removed is not a child of this RRNode.");return this.childNodes.splice(t,1),e.parentElement=null,e.parentNode=null,e}attachShadow(e){const t=this.ownerDocument.createElement("SHADOWROOT");return this.shadowRoot=t,t}dispatchEvent(e){return!0}toString(){let e="";for(const t in this.attributes)e+=`${t}="${this.attributes[t]}" `;return`${this.tagName} ${e}`}}}function Je(e){return class extends e{constructor(e){super(),this.nodeType=qe.TEXT_NODE,this.nodeName="#text",this.RRNodeType=Ve.Text,this.data=e}get textContent(){return this.data}set textContent(e){this.data=e}toString(){return`RRText text=${JSON.stringify(this.data)}`}}}function Xe(e){return class extends e{constructor(e){super(),this.nodeType=qe.COMMENT_NODE,this.nodeName="#comment",this.RRNodeType=Ve.Comment,this.data=e}get textContent(){return this.data}set textContent(e){this.data=e}toString(){return`RRComment text=${JSON.stringify(this.data)}`}}}function He(e){return class extends e{constructor(e){super(),this.nodeName="#cdata-section",this.nodeType=qe.CDATA_SECTION_NODE,this.RRNodeType=Ve.CDATA,this.data=e}get textContent(){return this.data}set textContent(e){this.data=e}toString(){return`RRCDATASection data=${JSON.stringify(this.data)}`}}}class je{constructor(e,t){if(this.classes=[],this.add=(...e)=>{for(const t of e){const e=String(t);this.classes.indexOf(e)>=0||this.classes.push(e)}this.onChange&&this.onChange(this.classes.join(" "))},this.remove=(...e)=>{this.classes=this.classes.filter((t=>-1===e.indexOf(t))),this.onChange&&this.onChange(this.classes.join(" "))},e){const t=e.trim().split(/\s+/);this.classes.push(...t)}this.onChange=t}}var qe;!function(e){e[e.PLACEHOLDER=0]="PLACEHOLDER",e[e.ELEMENT_NODE=1]="ELEMENT_NODE",e[e.ATTRIBUTE_NODE=2]="ATTRIBUTE_NODE",e[e.TEXT_NODE=3]="TEXT_NODE",e[e.CDATA_SECTION_NODE=4]="CDATA_SECTION_NODE",e[e.ENTITY_REFERENCE_NODE=5]="ENTITY_REFERENCE_NODE",e[e.ENTITY_NODE=6]="ENTITY_NODE",e[e.PROCESSING_INSTRUCTION_NODE=7]="PROCESSING_INSTRUCTION_NODE",e[e.COMMENT_NODE=8]="COMMENT_NODE",e[e.DOCUMENT_NODE=9]="DOCUMENT_NODE",e[e.DOCUMENT_TYPE_NODE=10]="DOCUMENT_TYPE_NODE",e[e.DOCUMENT_FRAGMENT_NODE=11]="DOCUMENT_FRAGMENT_NODE"}(qe||(qe={}));const et={svg:"http://www.w3.org/2000/svg","xlink:href":"http://www.w3.org/1999/xlink",xmlns:"http://www.w3.org/2000/xmlns/"},tt={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",fedropshadow:"feDropShadow",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient"};function nt(e,t,n,i){const o=e.childNodes,r=t.childNodes;i=i||t.mirror||t.ownerDocument.mirror,(o.length>0||r.length>0)&&it(Array.from(o),r,e,n,i);let s=null,a=null;switch(t.RRNodeType){case Ve.Document:a=t.scrollData;break;case Ve.Element:{const o=e,r=t;switch(function(e,t,n){const i=e.attributes,o=t.attributes;for(const i in o){const r=o[i],s=n.getMeta(t);if(s&&"isSVG"in s&&s.isSVG&&et[i])e.setAttributeNS(et[i],i,r);else if("CANVAS"===t.tagName&&"rr_dataURL"===i){const t=document.createElement("img");t.src=r,t.onload=()=>{const n=e.getContext("2d");n&&n.drawImage(t,0,0,t.width,t.height)}}else e.setAttribute(i,r)}for(const{name:t}of Array.from(i))t in o||e.removeAttribute(t);t.scrollLeft&&(e.scrollLeft=t.scrollLeft),t.scrollTop&&(e.scrollTop=t.scrollTop)}(o,r,i),a=r.scrollData,s=r.inputData,r.tagName){case"AUDIO":case"VIDEO":{const t=e,n=r;void 0!==n.paused&&(n.paused?t.pause():t.play()),void 0!==n.muted&&(t.muted=n.muted),void 0!==n.volume&&(t.volume=n.volume),void 0!==n.currentTime&&(t.currentTime=n.currentTime),void 0!==n.playbackRate&&(t.playbackRate=n.playbackRate);break}case"CANVAS":{const i=t;if(null!==i.rr_dataURL){const e=document.createElement("img");e.onload=()=>{const t=o.getContext("2d");t&&t.drawImage(e,0,0,e.width,e.height)},e.src=i.rr_dataURL}i.canvasMutations.forEach((t=>n.applyCanvas(t.event,t.mutation,e)))}break;case"STYLE":{const e=o.sheet;e&&t.rules.forEach((t=>n.applyStyleSheetMutation(t,e)))}}if(r.shadowRoot){o.shadowRoot||o.attachShadow({mode:"open"});const e=o.shadowRoot.childNodes,t=r.shadowRoot.childNodes;(e.length>0||t.length>0)&&it(Array.from(e),t,o.shadowRoot,n,i)}break}case Ve.Text:case Ve.Comment:case Ve.CDATA:e.textContent!==t.data&&(e.textContent=t.data)}if(a&&n.applyScroll(a,!0),s&&n.applyInput(s),"IFRAME"===t.nodeName){const o=e.contentDocument,r=t;if(o){const e=i.getMeta(r.contentDocument);e&&n.mirror.add(o,Object.assign({},e)),nt(o,r.contentDocument,n,i)}}}function it(e,t,n,i,o){var r;let s,a,l=0,c=e.length-1,d=0,u=t.length-1,h=e[l],p=e[c],g=t[d],m=t[u];for(;l<=c&&d<=u;){const f=i.mirror.getId(h),y=i.mirror.getId(p),v=o.getId(g),C=o.getId(m);if(void 0===h)h=e[++l];else if(void 0===p)p=e[--c];else if(-1!==f&&f===v)nt(h,g,i,o),h=e[++l],g=t[++d];else if(-1!==y&&y===C)nt(p,m,i,o),p=e[--c],m=t[--u];else if(-1!==f&&f===C)n.insertBefore(h,p.nextSibling),nt(h,m,i,o),h=e[++l],m=t[--u];else if(-1!==y&&y===v)n.insertBefore(p,h),nt(p,g,i,o),p=e[--c],g=t[++d];else{if(!s){s={};for(let t=l;t<=c;t++){const n=e[t];n&&i.mirror.hasNode(n)&&(s[i.mirror.getId(n)]=t)}}if(a=s[o.getId(g)],a){const t=e[a];n.insertBefore(t,h),nt(t,g,i,o),e[a]=void 0}else{const t=ot(g,i.mirror,o);"#document"===n.nodeName&&(null===(r=i.mirror.getMeta(t))||void 0===r?void 0:r.type)===Ve.Element&&n.documentElement&&(n.removeChild(n.documentElement),e[l]=void 0,h=void 0),n.insertBefore(t,h||null),nt(t,g,i,o)}g=t[++d]}}if(l>c){const e=t[u+1];let r=null;for(e&&n.childNodes.forEach((t=>{i.mirror.getId(t)===o.getId(e)&&(r=t)}));d<=u;++d){const e=ot(t[d],i.mirror,o);n.insertBefore(e,r),nt(e,t[d],i,o)}}else if(d>u)for(;l<=c;l++){const t=e[l];t&&(n.removeChild(t),i.mirror.removeNodeFromMap(t))}}function ot(e,t,n){const i=n.getId(e),o=n.getMeta(e);let r=null;if(i>-1&&(r=t.getNode(i)),null!==r)return r;switch(e.RRNodeType){case Ve.Document:r=new Document;break;case Ve.DocumentType:r=document.implementation.createDocumentType(e.name,e.publicId,e.systemId);break;case Ve.Element:{let t=e.tagName.toLowerCase();t=tt[t]||t,r=o&&"isSVG"in o&&(null==o?void 0:o.isSVG)?document.createElementNS(et.svg,t):document.createElement(e.tagName);break}case Ve.Text:r=document.createTextNode(e.data);break;case Ve.Comment:r=document.createComment(e.data);break;case Ve.CDATA:r=document.createCDATASection(e.data)}return o&&t.add(r,Object.assign({},o)),r}class rt extends(function(e){return class t extends e{constructor(){super(...arguments),this.nodeType=qe.DOCUMENT_NODE,this.nodeName="#document",this.compatMode="CSS1Compat",this.RRNodeType=Ve.Document,this.textContent=null}get documentElement(){return this.childNodes.find((e=>e.RRNodeType===Ve.Element&&"HTML"===e.tagName))||null}get body(){var e;return(null===(e=this.documentElement)||void 0===e?void 0:e.childNodes.find((e=>e.RRNodeType===Ve.Element&&"BODY"===e.tagName)))||null}get head(){var e;return(null===(e=this.documentElement)||void 0===e?void 0:e.childNodes.find((e=>e.RRNodeType===Ve.Element&&"HEAD"===e.tagName)))||null}get implementation(){return this}get firstElementChild(){return this.documentElement}appendChild(e){const t=e.RRNodeType;if((t===Ve.Element||t===Ve.DocumentType)&&this.childNodes.some((e=>e.RRNodeType===t)))throw new Error(`RRDomException: Failed to execute 'appendChild' on 'RRNode': Only one ${t===Ve.Element?"RRElement":"RRDoctype"} on RRDocument allowed.`);return e.parentElement=null,e.parentNode=this,this.childNodes.push(e),e}insertBefore(e,t){const n=e.RRNodeType;if((n===Ve.Element||n===Ve.DocumentType)&&this.childNodes.some((e=>e.RRNodeType===n)))throw new Error(`RRDomException: Failed to execute 'insertBefore' on 'RRNode': Only one ${n===Ve.Element?"RRElement":"RRDoctype"} on RRDocument allowed.`);if(null===t)return this.appendChild(e);const i=this.childNodes.indexOf(t);if(-1==i)throw new Error("Failed to execute 'insertBefore' on 'RRNode': The RRNode before which the new node is to be inserted is not a child of this RRNode.");return this.childNodes.splice(i,0,e),e.parentElement=null,e.parentNode=this,e}removeChild(e){const t=this.childNodes.indexOf(e);if(-1===t)throw new Error("Failed to execute 'removeChild' on 'RRDocument': The RRNode to be removed is not a child of this RRNode.");return this.childNodes.splice(t,1),e.parentElement=null,e.parentNode=null,e}open(){this.childNodes=[]}close(){}write(e){let t;if('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">'===e?t="-//W3C//DTD XHTML 1.0 Transitional//EN":'<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "">'===e&&(t="-//W3C//DTD HTML 4.0 Transitional//EN"),t){const e=this.createDocumentType("html",t,"");this.open(),this.appendChild(e)}}createDocument(e,n,i){return new t}createDocumentType(e,t,n){const i=new(Qe(Pe))(e,t,n);return i.ownerDocument=this,i}createElement(e){const t=new(ze(Pe))(e);return t.ownerDocument=this,t}createElementNS(e,t){return this.createElement(t)}createTextNode(e){const t=new(Je(Pe))(e);return t.ownerDocument=this,t}createComment(e){const t=new(Xe(Pe))(e);return t.ownerDocument=this,t}createCDATASection(e){const t=new(He(Pe))(e);return t.ownerDocument=this,t}toString(){return"RRDocument"}}}(Pe)){constructor(e){super(),this.UNSERIALIZED_STARTING_ID=-2,this._unserializedId=this.UNSERIALIZED_STARTING_ID,this.mirror=new yt,this.scrollData=null,e&&(this.mirror=e)}get unserializedId(){return this._unserializedId--}createDocument(e,t,n){return new rt}createDocumentType(e,t,n){const i=new st(e,t,n);return i.ownerDocument=this,i}createElement(e){const t=e.toUpperCase();let n;switch(t){case"AUDIO":case"VIDEO":n=new lt(t);break;case"IFRAME":n=new ut(t,this.mirror);break;case"CANVAS":n=new ct(t);break;case"STYLE":n=new dt(t);break;default:n=new at(t)}return n.ownerDocument=this,n}createComment(e){const t=new pt(e);return t.ownerDocument=this,t}createCDATASection(e){const t=new gt(e);return t.ownerDocument=this,t}createTextNode(e){const t=new ht(e);return t.ownerDocument=this,t}destroyTree(){this.childNodes=[],this.mirror.reset()}open(){super.open(),this._unserializedId=this.UNSERIALIZED_STARTING_ID}}const st=Qe(Pe);class at extends(ze(Pe)){constructor(){super(...arguments),this.inputData=null,this.scrollData=null}}class lt extends(function(e){return class extends e{attachShadow(e){throw new Error("RRDomException: Failed to execute 'attachShadow' on 'RRElement': This RRElement does not support attachShadow")}play(){this.paused=!1}pause(){this.paused=!0}}}(at)){}class ct extends at{constructor(){super(...arguments),this.rr_dataURL=null,this.canvasMutations=[]}getContext(){return null}}class dt extends at{constructor(){super(...arguments),this.rules=[]}}class ut extends at{constructor(e,t){super(e),this.contentDocument=new rt,this.contentDocument.mirror=t}}const ht=Je(Pe),pt=Xe(Pe),gt=He(Pe);function mt(e,t,n,i){let o;switch(e.nodeType){case qe.DOCUMENT_NODE:i&&"IFRAME"===i.nodeName?o=i.contentDocument:(o=t,o.compatMode=e.compatMode);break;case qe.DOCUMENT_TYPE_NODE:{const n=e;o=t.createDocumentType(n.name,n.publicId,n.systemId);break}case qe.ELEMENT_NODE:{const n=e,i=function(e){return e instanceof HTMLFormElement?"FORM":e.tagName.toUpperCase()}(n);o=t.createElement(i);const r=o;for(const{name:e,value:t}of Array.from(n.attributes))r.attributes[e]=t;n.scrollLeft&&(r.scrollLeft=n.scrollLeft),n.scrollTop&&(r.scrollTop=n.scrollTop);break}case qe.TEXT_NODE:o=t.createTextNode(e.textContent||"");break;case qe.CDATA_SECTION_NODE:o=t.createCDATASection(e.data);break;case qe.COMMENT_NODE:o=t.createComment(e.textContent||"");break;case qe.DOCUMENT_FRAGMENT_NODE:o=i.attachShadow({mode:"open"});break;default:return null}let r=n.getMeta(e);return t instanceof rt&&(r||(r=vt(o,t.unserializedId),n.add(e,r)),t.mirror.add(o,Object.assign({},r))),o}function ft(e,t=function(){return new Ge}(),n=new rt){return function e(i,o){const r=mt(i,n,t,o);if(null!==r)if("IFRAME"!==(null==o?void 0:o.nodeName)&&i.nodeType!==qe.DOCUMENT_FRAGMENT_NODE&&(null==o||o.appendChild(r),r.parentNode=o,r.parentElement=o),"IFRAME"===i.nodeName){const t=i.contentDocument;t&&e(t,r)}else i.nodeType!==qe.DOCUMENT_NODE&&i.nodeType!==qe.ELEMENT_NODE&&i.nodeType!==qe.DOCUMENT_FRAGMENT_NODE||(i.nodeType===qe.ELEMENT_NODE&&i.shadowRoot&&e(i.shadowRoot,r),i.childNodes.forEach((t=>e(t,r))))}(e,null),n}class yt{constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}getId(e){var t;if(!e)return-1;const n=null===(t=this.getMeta(e))||void 0===t?void 0:t.id;return null!=n?n:-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){const t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach((e=>this.removeNodeFromMap(e)))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){const n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)}replace(e,t){const n=this.getNode(e);if(n){const e=this.nodeMetaMap.get(n);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function vt(e,t){switch(e.RRNodeType){case Ve.Document:return{id:t,type:e.RRNodeType,childNodes:[]};case Ve.DocumentType:{const n=e;return{id:t,type:e.RRNodeType,name:n.name,publicId:n.publicId,systemId:n.systemId}}case Ve.Element:return{id:t,type:e.RRNodeType,tagName:e.tagName.toLowerCase(),attributes:{},childNodes:[]};case Ve.Text:case Ve.Comment:return{id:t,type:e.RRNodeType,textContent:e.textContent||""};case Ve.CDATA:return{id:t,type:e.RRNodeType,textContent:""}}}var Ct=Uint8Array,It=Uint16Array,At=Uint32Array,bt=new Ct([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),wt=new Ct([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Nt=new Ct([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Et=function(e,t){for(var n=new It(31),i=0;i<31;++i)n[i]=t+=1<<e[i-1];var o=new At(n[30]);for(i=1;i<30;++i)for(var r=n[i];r<n[i+1];++r)o[r]=r-n[i]<<5|i;return[n,o]},St=Et(bt,2),Tt=St[0],Dt=St[1];Tt[28]=258,Dt[258]=28;for(var Mt=Et(wt,0)[0],Rt=new It(32768),xt=0;xt<32768;++xt){var kt=(43690&xt)>>>1|(21845&xt)<<1;kt=(61680&(kt=(52428&kt)>>>2|(13107&kt)<<2))>>>4|(3855&kt)<<4,Rt[xt]=((65280&kt)>>>8|(255&kt)<<8)>>>1}var Ft=function(e,t,n){for(var i=e.length,o=0,r=new It(t);o<i;++o)++r[e[o]-1];var s,a=new It(t);for(o=0;o<t;++o)a[o]=a[o-1]+r[o-1]<<1;if(n){s=new It(1<<t);var l=15-t;for(o=0;o<i;++o)if(e[o])for(var c=o<<4|e[o],d=t-e[o],u=a[e[o]-1]++<<d,h=u|(1<<d)-1;u<=h;++u)s[Rt[u]>>>l]=c}else for(s=new It(i),o=0;o<i;++o)s[o]=Rt[a[e[o]-1]++]>>>15-e[o];return s},Ot=new Ct(288);for(xt=0;xt<144;++xt)Ot[xt]=8;for(xt=144;xt<256;++xt)Ot[xt]=9;for(xt=256;xt<280;++xt)Ot[xt]=7;for(xt=280;xt<288;++xt)Ot[xt]=8;var Bt=new Ct(32);for(xt=0;xt<32;++xt)Bt[xt]=5;var Lt=Ft(Ot,9,1),Vt=Ft(Bt,5,1),_t=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},Gt=function(e,t,n){var i=t/8>>0;return(e[i]|e[i+1]<<8)>>>(7&t)&n},Wt=function(e,t){var n=t/8>>0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>>(7&t)},Ut=function(e,t,n){(null==t||t<0)&&(t=0),(null==n||n>e.length)&&(n=e.length);var i=new(e instanceof It?It:e instanceof At?At:Ct)(n-t);return i.set(e.subarray(t,n)),i};function Zt(e,t){return function(e,t,n){var i=e.length,o=!t||n,r=!n||n.i;n||(n={}),t||(t=new Ct(3*i));var s,a=function(e){var n=t.length;if(e>n){var i=new Ct(Math.max(2*n,e));i.set(t),t=i}},l=n.f||0,c=n.p||0,d=n.b||0,u=n.l,h=n.d,p=n.m,g=n.n,m=8*i;do{if(!u){n.f=l=Gt(e,c,1);var f=Gt(e,c+1,3);if(c+=3,!f){var y=e[(D=((s=c)/8>>0)+(7&s&&1)+4)-4]|e[D-3]<<8,v=D+y;if(v>i){if(r)throw"unexpected EOF";break}o&&a(d+y),t.set(e.subarray(D,v),d),n.b=d+=y,n.p=c=8*v;continue}if(1==f)u=Lt,h=Vt,p=9,g=5;else{if(2!=f)throw"invalid block type";var C=Gt(e,c,31)+257,I=Gt(e,c+10,15)+4,A=C+Gt(e,c+5,31)+1;c+=14;for(var b=new Ct(A),w=new Ct(19),N=0;N<I;++N)w[Nt[N]]=Gt(e,c+3*N,7);c+=3*I;var E=_t(w),S=(1<<E)-1;if(!r&&c+A*(E+7)>m)break;var T=Ft(w,E,1);for(N=0;N<A;){var D,M=T[Gt(e,c,S)];if(c+=15&M,(D=M>>>4)<16)b[N++]=D;else{var R=0,x=0;for(16==D?(x=3+Gt(e,c,3),c+=2,R=b[N-1]):17==D?(x=3+Gt(e,c,7),c+=3):18==D&&(x=11+Gt(e,c,127),c+=7);x--;)b[N++]=R}}var k=b.subarray(0,C),F=b.subarray(C);p=_t(k),g=_t(F),u=Ft(k,p,1),h=Ft(F,g,1)}if(c>m)throw"unexpected EOF"}o&&a(d+131072);for(var O=(1<<p)-1,B=(1<<g)-1,L=p+g+18;r||c+L<m;){var V=(R=u[Wt(e,c)&O])>>>4;if((c+=15&R)>m)throw"unexpected EOF";if(!R)throw"invalid length/literal";if(V<256)t[d++]=V;else{if(256==V){u=null;break}var _=V-254;if(V>264){var G=bt[N=V-257];_=Gt(e,c,(1<<G)-1)+Tt[N],c+=G}var W=h[Wt(e,c)&B],U=W>>>4;if(!W)throw"invalid distance";if(c+=15&W,F=Mt[U],U>3&&(G=wt[U],F+=Wt(e,c)&(1<<G)-1,c+=G),c>m)throw"unexpected EOF";o&&a(d+131072);for(var Z=d+_;d<Z;d+=4)t[d]=t[d-F],t[d+1]=t[d+1-F],t[d+2]=t[d+2-F],t[d+3]=t[d+3-F];d=Z}}n.l=u,n.p=c,n.b=d,u&&(l=1,n.m=p,n.d=h,n.n=g)}while(!l);return d==t.length?t:Ut(t,0,d)}((function(e){if(8!=(15&e[0])||e[0]>>>4>7||(e[0]<<8|e[1])%31)throw"invalid zlib data";if(32&e[1])throw"invalid zlib data: preset dictionaries not supported"}(e),e.subarray(2,-4)),t)}const $t=e=>{if("string"!=typeof e)return e;try{const t=JSON.parse(e);if(t.timestamp)return t}catch(e){}try{const t=JSON.parse(function(e,t){var n="";if(!t&&"undefined"!=typeof TextDecoder)return(new TextDecoder).decode(e);for(var i=0;i<e.length;){var o=e[i++];o<128||t?n+=String.fromCharCode(o):o<224?n+=String.fromCharCode((31&o)<<6|63&e[i++]):o<240?n+=String.fromCharCode((15&o)<<12|(63&e[i++])<<6|63&e[i++]):(o=((15&o)<<18|(63&e[i++])<<12|(63&e[i++])<<6|63&e[i++])-65536,n+=String.fromCharCode(55296|o>>10,56320|1023&o))}return n}(Zt(function(e,t){var n=e.length;if(!t&&"undefined"!=typeof TextEncoder)return(new TextEncoder).encode(e);for(var i=new Ct(e.length+(e.length>>>1)),o=0,r=function(e){i[o++]=e},s=0;s<n;++s){if(o+5>i.length){var a=new Ct(o+8+(n-s<<1));a.set(i),i=a}var l=e.charCodeAt(s);l<128||t?r(l):l<2048?(r(192|l>>>6),r(128|63&l)):l>55295&&l<57344?(r(240|(l=65536+(1047552&l)|1023&e.charCodeAt(++s))>>>18),r(128|l>>>12&63),r(128|l>>>6&63),r(128|63&l)):(r(224|l>>>12),r(128|l>>>6&63),r(128|63&l))}return Ut(i,0,o)}(e,!0))));if("v1"===t.v)return t;throw new Error(`These events were packed with packer ${t.v} which is incompatible with current packer v1.`)}catch(e){throw console.error(e),new Error("Unknown data format.")}};function Kt(e){return{all:e=e||new Map,on:function(t,n){var i=e.get(t);i?i.push(n):e.set(t,[n])},off:function(t,n){var i=e.get(t);i&&(n?i.splice(i.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var i=e.get(t);i&&i.slice().map((function(e){e(n)})),(i=e.get("*"))&&i.slice().map((function(e){e(t,n)}))}}}var Yt,Pt=Object.freeze({__proto__:null,default:Kt});function Qt(e=window,t=document){if("scrollBehavior"in t.documentElement.style&&!0!==e.__forceSmoothScrollPolyfill__)return;const n=e.HTMLElement||e.Element,i={scroll:e.scroll||e.scrollTo,scrollBy:e.scrollBy,elementScroll:n.prototype.scroll||a,scrollIntoView:n.prototype.scrollIntoView},o=e.performance&&e.performance.now?e.performance.now.bind(e.performance):Date.now;const r=(s=e.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(s)?1:0);var s;function a(e,t){this.scrollLeft=e,this.scrollTop=t}function l(e){if(null===e||"object"!=typeof e||void 0===e.behavior||"auto"===e.behavior||"instant"===e.behavior)return!0;if("object"==typeof e&&"smooth"===e.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+e.behavior+" is not a valid value for enumeration ScrollBehavior.")}function c(e,t){return"Y"===t?e.clientHeight+r<e.scrollHeight:"X"===t?e.clientWidth+r<e.scrollWidth:void 0}function d(t,n){const i=e.getComputedStyle(t,null)["overflow"+n];return"auto"===i||"scroll"===i}function u(e){const t=c(e,"Y")&&d(e,"Y"),n=c(e,"X")&&d(e,"X");return t||n}function h(e){for(;e!==t.body&&!1===u(e);)e=e.parentNode||e.host;return e}function p(t){let n,i,r,s=(o()-t.startTime)/468;var a;s=s>1?1:s,a=s,n=.5*(1-Math.cos(Math.PI*a)),i=t.startX+(t.x-t.startX)*n,r=t.startY+(t.y-t.startY)*n,t.method.call(t.scrollable,i,r),i===t.x&&r===t.y||e.requestAnimationFrame(p.bind(e,t))}function g(n,r,s){let l,c,d,u;const h=o();n===t.body?(l=e,c=e.scrollX||e.pageXOffset,d=e.scrollY||e.pageYOffset,u=i.scroll):(l=n,c=n.scrollLeft,d=n.scrollTop,u=a),p({scrollable:l,method:u,startTime:h,startX:c,startY:d,x:r,y:s})}e.scroll=e.scrollTo=function(){void 0!==arguments[0]&&(!0!==l(arguments[0])?g.call(e,t.body,void 0!==arguments[0].left?~~arguments[0].left:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:e.scrollY||e.pageYOffset):i.scroll.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:e.scrollY||e.pageYOffset))},e.scrollBy=function(){void 0!==arguments[0]&&(l(arguments[0])?i.scrollBy.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):g.call(e,t.body,~~arguments[0].left+(e.scrollX||e.pageXOffset),~~arguments[0].top+(e.scrollY||e.pageYOffset)))},n.prototype.scroll=n.prototype.scrollTo=function(){if(void 0===arguments[0])return;if(!0===l(arguments[0])){if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");return void i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}const e=arguments[0].left,t=arguments[0].top;g.call(this,this,void 0===e?this.scrollLeft:~~e,void 0===t?this.scrollTop:~~t)},n.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==l(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},n.prototype.scrollIntoView=function(){if(!0===l(arguments[0]))return void i.scrollIntoView.call(this,void 0===arguments[0]||arguments[0]);const n=h(this),o=n.getBoundingClientRect(),r=this.getBoundingClientRect();n!==t.body?(g.call(this,n,n.scrollLeft+r.left-o.left,n.scrollTop+r.top-o.top),"fixed"!==e.getComputedStyle(n).position&&e.scrollBy({left:o.left,top:o.top,behavior:"smooth"})):e.scrollBy({left:r.left,top:r.top,behavior:"smooth"})}}class zt{constructor(e=[],t){this.timeOffset=0,this.raf=null,this.actions=e,this.speed=t.speed,this.liveMode=t.liveMode}addAction(e){if(!this.actions.length||this.actions[this.actions.length-1].delay<=e.delay)return void this.actions.push(e);const t=this.findActionIndex(e);this.actions.splice(t,0,e)}start(){this.timeOffset=0;let e=performance.now();const t=()=>{const n=performance.now();for(this.timeOffset+=(n-e)*this.speed,e=n;this.actions.length;){const e=this.actions[0];if(!(this.timeOffset>=e.delay))break;this.actions.shift(),e.doAction()}(this.actions.length>0||this.liveMode)&&(this.raf=requestAnimationFrame(t))};this.raf=requestAnimationFrame(t)}clear(){this.raf&&(cancelAnimationFrame(this.raf),this.raf=null),this.actions.length=0}setSpeed(e){this.speed=e}toggleLiveMode(e){this.liveMode=e}isActive(){return null!==this.raf}findActionIndex(e){let t=0,n=this.actions.length-1;for(;t<=n;){const i=Math.floor((t+n)/2);if(this.actions[i].delay<e.delay)t=i+1;else{if(!(this.actions[i].delay>e.delay))return i+1;n=i-1}}return t}}function Jt(e,t){if(e.type===be.IncrementalSnapshot&&e.data.source===we.MouseMove&&e.data.positions&&e.data.positions.length){const n=e.data.positions[0].timeOffset,i=e.timestamp+n;return e.delay=i-t,i-t}return e.delay=e.timestamp-t,e.delay}
|
|
144569
|
+
/*! *****************************************************************************
|
|
144570
|
+
Copyright (c) Microsoft Corporation.
|
|
144571
|
+
|
|
144572
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
144573
|
+
purpose with or without fee is hereby granted.
|
|
144574
|
+
|
|
144575
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
144576
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
144577
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
144578
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
144579
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
144580
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
144581
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
144582
|
+
***************************************************************************** */function Xt(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)s.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return s}!function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"}(Yt||(Yt={}));var Ht={type:"xstate.init"};function jt(e){return void 0===e?[]:[].concat(e)}function qt(e){return{type:"xstate.assign",assignment:e}}function en(e,t){return"string"==typeof(e="string"==typeof e&&t&&t[e]?t[e]:e)?{type:e}:"function"==typeof e?{type:e.name,exec:e}:e}function tn(e){return function(t){return e===t}}function nn(e){return"string"==typeof e?{type:e}:e}function on(e,t){return{value:e,context:t,actions:[],changed:!1,matches:tn(e)}}function rn(e,t,n){var i=t,o=!1;return[e.filter((function(e){if("xstate.assign"===e.type){o=!0;var t=Object.assign({},i);return"function"==typeof e.assignment?t=e.assignment(i,n):Object.keys(e.assignment).forEach((function(o){t[o]="function"==typeof e.assignment[o]?e.assignment[o](i,n):e.assignment[o]})),i=t,!1}return!0})),i,o]}function sn(e,t){void 0===t&&(t={});var n=Xt(rn(jt(e.states[e.initial].entry).map((function(e){return en(e,t.actions)})),e.context,Ht),2),i=n[0],o=n[1],r={config:e,_options:t,initialState:{value:e.initial,actions:i,context:o,matches:tn(e.initial)},transition:function(t,n){var i,o,s="string"==typeof t?{value:t,context:e.context}:t,a=s.value,l=s.context,c=nn(n),d=e.states[a];if(d.on){var u=jt(d.on[c.type]);try{for(var h=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(u),p=h.next();!p.done;p=h.next()){var g=p.value;if(void 0===g)return on(a,l);var m="string"==typeof g?{target:g}:g,f=m.target,y=m.actions,v=void 0===y?[]:y,C=m.cond,I=void 0===C?function(){return!0}:C,A=void 0===f,b=null!=f?f:a,w=e.states[b];if(I(l,c)){var N=Xt(rn((A?jt(v):[].concat(d.exit,v,w.entry).filter((function(e){return e}))).map((function(e){return en(e,r._options.actions)})),l,c),3),E=N[0],S=N[1],T=N[2],D=null!=f?f:a;return{value:D,context:S,actions:E,changed:f!==a||E.length>0||T,matches:tn(D)}}}}catch(e){i={error:e}}finally{try{p&&!p.done&&(o=h.return)&&o.call(h)}finally{if(i)throw i.error}}}return on(a,l)}};return r}var an=function(e,t){return e.actions.forEach((function(n){var i=n.exec;return i&&i(e.context,t)}))};function ln(e){var t=e.initialState,n=Yt.NotStarted,i=new Set,o={_machine:e,send:function(o){n===Yt.Running&&(t=e.transition(t,o),an(t,nn(o)),i.forEach((function(e){return e(t)})))},subscribe:function(e){return i.add(e),e(t),{unsubscribe:function(){return i.delete(e)}}},start:function(i){if(i){var r="object"==typeof i?i:{context:e.config.context,value:i};t={value:r.value,actions:[],context:r.context,matches:tn(r.value)}}return n=Yt.Running,an(t,Ht),o},stop:function(){return n=Yt.Stopped,i.clear(),o},get state(){return t},get status(){return n}};return o}function cn(e,{getCastFn:t,applyEventsSynchronously:n,emitter:i}){const o=sn({id:"player",context:e,initial:"paused",states:{playing:{on:{PAUSE:{target:"paused",actions:["pause"]},CAST_EVENT:{target:"playing",actions:"castEvent"},END:{target:"paused",actions:["resetLastPlayedEvent","pause"]},ADD_EVENT:{target:"playing",actions:["addEvent"]}}},paused:{on:{PLAY:{target:"playing",actions:["recordTimeOffset","play"]},CAST_EVENT:{target:"paused",actions:"castEvent"},TO_LIVE:{target:"live",actions:["startLive"]},ADD_EVENT:{target:"paused",actions:["addEvent"]}}},live:{on:{ADD_EVENT:{target:"live",actions:["addEvent"]},CAST_EVENT:{target:"live",actions:["castEvent"]}}}}},{actions:{castEvent:qt({lastPlayedEvent:(e,t)=>"CAST_EVENT"===t.type?t.payload.event:e.lastPlayedEvent}),recordTimeOffset:qt(((e,t)=>{let n=e.timeOffset;return"payload"in t&&"timeOffset"in t.payload&&(n=t.payload.timeOffset),Object.assign(Object.assign({},e),{timeOffset:n,baselineTime:e.events[0].timestamp+n})})),play(e){var o;const{timer:r,events:s,baselineTime:a,lastPlayedEvent:l}=e;r.clear();for(const e of s)Jt(e,a);const c=function(e,t){for(let n=e.length-1;n>=0;n--){const i=e[n];if(i.type===be.Meta&&i.timestamp<=t)return e.slice(n)}return e}(s,a);let d=null==l?void 0:l.timestamp;(null==l?void 0:l.type)===be.IncrementalSnapshot&&l.data.source===we.MouseMove&&(d=l.timestamp+(null===(o=l.data.positions[0])||void 0===o?void 0:o.timeOffset)),a<(d||0)&&i.emit(Se.PlayBack);const u=new Array;for(const e of c)if(!(d&&d<a&&(e.timestamp<=d||e===l)))if(e.timestamp<a)u.push(e);else{const n=t(e,!1);r.addAction({doAction:()=>{n()},delay:e.delay})}n(u),i.emit(Se.Flush),r.start()},pause(e){e.timer.clear()},resetLastPlayedEvent:qt((e=>Object.assign(Object.assign({},e),{lastPlayedEvent:null}))),startLive:qt({baselineTime:(e,t)=>(e.timer.toggleLiveMode(!0),e.timer.start(),"TO_LIVE"===t.type&&t.payload.baselineTime?t.payload.baselineTime:Date.now())}),addEvent:qt(((e,n)=>{const{baselineTime:i,timer:o,events:r}=e;if("ADD_EVENT"===n.type){const{event:e}=n.payload;Jt(e,i);let s=r.length-1;if(!r[s]||r[s].timestamp<=e.timestamp)r.push(e);else{let t=-1,n=0;for(;n<=s;){const t=Math.floor((n+s)/2);r[t].timestamp<=e.timestamp?n=t+1:s=t-1}-1===t&&(t=n),r.splice(t,0,e)}const a=e.timestamp<i,l=t(e,a);a?l():o.isActive()&&o.addAction({doAction:()=>{l()},delay:e.delay})}return Object.assign(Object.assign({},e),{events:r})}))}});return ln(o)}const dn=new Map;function un(e,t){let n=dn.get(e);return n||(n=new Map,dn.set(e,n)),n.has(t)||n.set(t,[]),n.get(t)}function hn(e,t,n){return i=>Te(this,void 0,void 0,(function*(){if(i&&"object"==typeof i&&"rr_type"in i){if(n&&(n.isUnchanged=!1),"ImageBitmap"===i.rr_type&&"args"in i){const o=yield hn(e,t,n)(i.args);return yield createImageBitmap.apply(null,o)}if("index"in i){if(n||null===t)return i;const{rr_type:e,index:o}=i;return un(t,e)[o]}if("args"in i){const{rr_type:o,args:r}=i;return new(0,window[o])(...yield Promise.all(r.map(hn(e,t,n))))}if("base64"in i)return function(e){var t,n,i,o,r,s=.75*e.length,a=e.length,l=0;"="===e[e.length-1]&&(s--,"="===e[e.length-2]&&s--);var c=new ArrayBuffer(s),d=new Uint8Array(c);for(t=0;t<a;t+=4)n=Me[e.charCodeAt(t)],i=Me[e.charCodeAt(t+1)],o=Me[e.charCodeAt(t+2)],r=Me[e.charCodeAt(t+3)],d[l++]=n<<2|i>>4,d[l++]=(15&i)<<4|o>>2,d[l++]=(3&o)<<6|63&r;return c}(i.base64);if("src"in i){const t=e.get(i.src);if(t)return t;{const t=new Image;return t.src=i.src,e.set(i.src,t),t}}if("data"in i&&"Blob"===i.rr_type){const o=yield Promise.all(i.data.map(hn(e,t,n)));return new Blob(o,{type:i.type})}}else if(Array.isArray(i)){return yield Promise.all(i.map(hn(e,t,n)))}return i}))}const pn=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject"];function gn({mutation:e,target:t,type:n,imageMap:i,errorHandler:o}){return Te(this,void 0,void 0,(function*(){try{const o=function(e,t){try{return t===Ee.WebGL?e.getContext("webgl")||e.getContext("experimental-webgl"):e.getContext("webgl2")}catch(e){return null}}(t,n);if(!o)return;if(e.setter)return void(o[e.property]=e.args[0]);const r=o[e.property],s=yield Promise.all(e.args.map(hn(i,o)));!function(e,t){if(!(null==t?void 0:t.constructor))return;const{name:n}=t.constructor;if(!pn.includes(n))return;const i=un(e,n);i.includes(t)||i.push(t)}(o,r.apply(o,s))}catch(t){o(e,t)}}))}function mn({event:e,mutation:t,target:n,imageMap:i,errorHandler:o}){return Te(this,void 0,void 0,(function*(){try{const o=n.getContext("2d");if(t.setter)return void(o[t.property]=t.args[0]);const r=o[t.property];if("drawImage"===t.property&&"string"==typeof t.args[0])i.get(e),r.apply(o,t.args);else{const e=yield Promise.all(t.args.map(hn(i,o)));r.apply(o,e)}}catch(e){o(t,e)}}))}function fn({event:e,mutation:t,target:n,imageMap:i,canvasEventMap:o,errorHandler:r}){return Te(this,void 0,void 0,(function*(){try{const s=o.get(e)||t,a="commands"in s?s.commands:[s];if([Ee.WebGL,Ee.WebGL2].includes(t.type)){for(let e=0;e<a.length;e++){const o=a[e];yield gn({mutation:o,type:t.type,target:n,imageMap:i,errorHandler:r})}return}for(let t=0;t<a.length;t++){const o=a[t];yield mn({event:e,mutation:o,target:n,imageMap:i,errorHandler:r})}}catch(e){r(t,e)}}))}const yn=Kt||Pt,vn={duration:500,lineCap:"round",lineWidth:3,strokeStyle:"red"};function Cn(e){return e.type==be.IncrementalSnapshot&&(e.data.source==we.TouchMove||e.data.source==we.MouseInteraction&&e.data.type==Ne.TouchStart)}class In{constructor(e,t){if(this.usingVirtualDom=!1,this.virtualDom=new rt,this.mouseTail=null,this.tailPositions=[],this.emitter=yn(),this.legacy_missingNodeRetryMap={},this.cache=le(),this.imageMap=new Map,this.canvasEventMap=new Map,this.mirror=q(),this.styleMirror=new Ae,this.firstFullSnapshot=null,this.newDocumentQueue=[],this.mousePos=null,this.touchActive=null,this.lastSelectionData=null,this.constructedStyleMutations=[],this.adoptedStyleSheets=[],this.handleResize=e=>{this.iframe.style.display="inherit";for(const t of[this.mouseTail,this.iframe])t&&(t.setAttribute("width",String(e.width)),t.setAttribute("height",String(e.height)))},this.applyEventsSynchronously=e=>{for(const t of e){switch(t.type){case be.DomContentLoaded:case be.Load:case be.Custom:continue;case be.FullSnapshot:case be.Meta:case be.Plugin:case be.IncrementalSnapshot:}this.getCastFn(t,!0)()}!0===this.touchActive?this.mouse.classList.add("touch-active"):!1===this.touchActive&&this.mouse.classList.remove("touch-active"),this.touchActive=null},this.getCastFn=(e,t=!1)=>{let n;switch(e.type){case be.DomContentLoaded:case be.Load:break;case be.Custom:n=()=>{this.emitter.emit(Se.CustomEvent,e)};break;case be.Meta:n=()=>this.emitter.emit(Se.Resize,{width:e.data.width,height:e.data.height});break;case be.FullSnapshot:n=()=>{var n;if(this.firstFullSnapshot){if(this.firstFullSnapshot===e)return void(this.firstFullSnapshot=!0)}else this.firstFullSnapshot=!0;this.rebuildFullSnapshot(e,t),null===(n=this.iframe.contentWindow)||void 0===n||n.scrollTo(e.data.initialOffset),this.styleMirror.reset()};break;case be.IncrementalSnapshot:n=()=>{if(this.applyIncremental(e,t),!t&&(e===this.nextUserInteractionEvent&&(this.nextUserInteractionEvent=null,this.backToNormal()),this.config.skipInactive&&!this.nextUserInteractionEvent)){for(const t of this.service.state.context.events)if(!(t.timestamp<=e.timestamp)&&this.isUserInteraction(t)){t.delay-e.delay>1e4*this.speedService.state.context.timer.speed&&(this.nextUserInteractionEvent=t);break}if(this.nextUserInteractionEvent){const t=this.nextUserInteractionEvent.delay-e.delay,n={speed:Math.min(Math.round(t/5e3),this.config.maxSpeed)};this.speedService.send({type:"FAST_FORWARD",payload:n}),this.emitter.emit(Se.SkipStart,n)}}}}return()=>{n&&n();for(const n of this.config.plugins||[])n.handler&&n.handler(e,t,{replayer:this});this.service.send({type:"CAST_EVENT",payload:{event:e}});const i=this.service.state.context.events.length-1;if(e===this.service.state.context.events[i]){const t=()=>{i<this.service.state.context.events.length-1||(this.backToNormal(),this.service.send("END"),this.emitter.emit(Se.Finish))};e.type===be.IncrementalSnapshot&&e.data.source===we.MouseMove&&e.data.positions.length?setTimeout((()=>{t()}),Math.max(0,50-e.data.positions[0].timeOffset)):t()}this.emitter.emit(Se.EventCast,e)}},!(null==t?void 0:t.liveMode)&&e.length<2)throw new Error("Replayer need at least 2 events.");const n={speed:1,maxSpeed:360,root:document.body,loadTimeout:0,skipInactive:!1,showWarning:!0,showDebug:!1,blockClass:"rr-block",liveMode:!1,insertStyleRules:[],triggerFocus:!0,UNSAFE_replayCanvas:!1,pauseAnimation:!0,mouseTail:vn,useVirtualDom:!0};this.config=Object.assign({},n,t),this.handleResize=this.handleResize.bind(this),this.getCastFn=this.getCastFn.bind(this),this.applyEventsSynchronously=this.applyEventsSynchronously.bind(this),this.emitter.on(Se.Resize,this.handleResize),this.setupDom();for(const e of this.config.plugins||[])e.getMirror&&e.getMirror({nodeMirror:this.mirror});this.emitter.on(Se.Flush,(()=>{if(this.usingVirtualDom){const e={mirror:this.mirror,applyCanvas:(e,t,n)=>{fn({event:e,mutation:t,target:n,imageMap:this.imageMap,canvasEventMap:this.canvasEventMap,errorHandler:this.warnCanvasMutationFailed.bind(this)})},applyInput:this.applyInput.bind(this),applyScroll:this.applyScroll.bind(this),applyStyleSheetMutation:(e,t)=>{e.source===we.StyleSheetRule?this.applyStyleSheetRule(e,t):e.source===we.StyleDeclaration&&this.applyStyleDeclaration(e,t)}};if(this.iframe.contentDocument&&nt(this.iframe.contentDocument,this.virtualDom,e,this.virtualDom.mirror),this.virtualDom.destroyTree(),this.usingVirtualDom=!1,Object.keys(this.legacy_missingNodeRetryMap).length)for(const t in this.legacy_missingNodeRetryMap)try{const n=this.legacy_missingNodeRetryMap[t],i=ot(n.node,this.mirror,this.virtualDom.mirror);nt(i,n.node,e,this.virtualDom.mirror),n.node=i}catch(e){this.config.showWarning&&console.warn(e)}this.constructedStyleMutations.forEach((e=>{this.applyStyleSheetMutation(e)})),this.constructedStyleMutations=[],this.adoptedStyleSheets.forEach((e=>{this.applyAdoptedStyleSheet(e)})),this.adoptedStyleSheets=[]}this.mousePos&&(this.moveAndHover(this.mousePos.x,this.mousePos.y,this.mousePos.id,!0,this.mousePos.debugData),this.mousePos=null),this.lastSelectionData&&(this.applySelection(this.lastSelectionData),this.lastSelectionData=null)})),this.emitter.on(Se.PlayBack,(()=>{this.firstFullSnapshot=null,this.mirror.reset(),this.styleMirror.reset()}));const i=new zt([],{speed:this.config.speed,liveMode:this.config.liveMode});this.service=cn({events:e.map((e=>t&&t.unpackFn?t.unpackFn(e):e)).sort(((e,t)=>e.timestamp-t.timestamp)),timer:i,timeOffset:0,baselineTime:0,lastPlayedEvent:null},{getCastFn:this.getCastFn,applyEventsSynchronously:this.applyEventsSynchronously,emitter:this.emitter}),this.service.start(),this.service.subscribe((e=>{this.emitter.emit(Se.StateChange,{player:e})})),this.speedService=ln(sn({id:"speed",context:{normalSpeed:-1,timer:i},initial:"normal",states:{normal:{on:{FAST_FORWARD:{target:"skipping",actions:["recordSpeed","setSpeed"]},SET_SPEED:{target:"normal",actions:["setSpeed"]}}},skipping:{on:{BACK_TO_NORMAL:{target:"normal",actions:["restoreSpeed"]},SET_SPEED:{target:"normal",actions:["setSpeed"]}}}}},{actions:{setSpeed:(e,t)=>{"payload"in t&&e.timer.setSpeed(t.payload.speed)},recordSpeed:qt({normalSpeed:e=>e.timer.speed}),restoreSpeed:e=>{e.timer.setSpeed(e.normalSpeed)}}})),this.speedService.start(),this.speedService.subscribe((e=>{this.emitter.emit(Se.StateChange,{speed:e})}));const o=this.service.state.context.events.find((e=>e.type===be.Meta)),r=this.service.state.context.events.find((e=>e.type===be.FullSnapshot));if(o){const{width:e,height:t}=o.data;setTimeout((()=>{this.emitter.emit(Se.Resize,{width:e,height:t})}),0)}r&&setTimeout((()=>{var e;this.firstFullSnapshot||(this.firstFullSnapshot=r,this.rebuildFullSnapshot(r),null===(e=this.iframe.contentWindow)||void 0===e||e.scrollTo(r.data.initialOffset))}),1),this.service.state.context.events.find(Cn)&&this.mouse.classList.add("touch-device")}get timer(){return this.service.state.context.timer}on(e,t){return this.emitter.on(e,t),this}off(e,t){return this.emitter.off(e,t),this}setConfig(e){Object.keys(e).forEach((t=>{e[t],this.config[t]=e[t]})),this.config.skipInactive||this.backToNormal(),void 0!==e.speed&&this.speedService.send({type:"SET_SPEED",payload:{speed:e.speed}}),void 0!==e.mouseTail&&(!1===e.mouseTail?this.mouseTail&&(this.mouseTail.style.display="none"):(this.mouseTail||(this.mouseTail=document.createElement("canvas"),this.mouseTail.width=Number.parseFloat(this.iframe.width),this.mouseTail.height=Number.parseFloat(this.iframe.height),this.mouseTail.classList.add("replayer-mouse-tail"),this.wrapper.insertBefore(this.mouseTail,this.iframe)),this.mouseTail.style.display="inherit"))}getMetaData(){const e=this.service.state.context.events[0],t=this.service.state.context.events[this.service.state.context.events.length-1];return{startTime:e.timestamp,endTime:t.timestamp,totalTime:t.timestamp-e.timestamp}}getCurrentTime(){return this.timer.timeOffset+this.getTimeOffset()}getTimeOffset(){const{baselineTime:e,events:t}=this.service.state.context;return e-t[0].timestamp}getMirror(){return this.mirror}play(e=0){var t,n;this.service.state.matches("paused")||this.service.send({type:"PAUSE"}),this.service.send({type:"PLAY",payload:{timeOffset:e}}),null===(n=null===(t=this.iframe.contentDocument)||void 0===t?void 0:t.getElementsByTagName("html")[0])||void 0===n||n.classList.remove("rrweb-paused"),this.emitter.emit(Se.Start)}pause(e){var t,n;void 0===e&&this.service.state.matches("playing")&&this.service.send({type:"PAUSE"}),"number"==typeof e&&(this.play(e),this.service.send({type:"PAUSE"})),null===(n=null===(t=this.iframe.contentDocument)||void 0===t?void 0:t.getElementsByTagName("html")[0])||void 0===n||n.classList.add("rrweb-paused"),this.emitter.emit(Se.Pause)}resume(e=0){console.warn("The 'resume' was deprecated in 1.0. Please use 'play' method which has the same interface."),this.play(e),this.emitter.emit(Se.Resume)}destroy(){this.pause(),this.config.root.removeChild(this.wrapper),this.emitter.emit(Se.Destroy)}startLive(e){this.service.send({type:"TO_LIVE",payload:{baselineTime:e}})}addEvent(e){const t=this.config.unpackFn?this.config.unpackFn(e):e;Cn(t)&&this.mouse.classList.add("touch-device"),Promise.resolve().then((()=>this.service.send({type:"ADD_EVENT",payload:{event:t}})))}enableInteract(){this.iframe.setAttribute("scrolling","auto"),this.iframe.style.pointerEvents="auto"}disableInteract(){this.iframe.setAttribute("scrolling","no"),this.iframe.style.pointerEvents="none"}resetCache(){this.cache=le()}setupDom(){this.wrapper=document.createElement("div"),this.wrapper.classList.add("replayer-wrapper"),this.config.root.appendChild(this.wrapper),this.mouse=document.createElement("div"),this.mouse.classList.add("replayer-mouse"),this.wrapper.appendChild(this.mouse),!1!==this.config.mouseTail&&(this.mouseTail=document.createElement("canvas"),this.mouseTail.classList.add("replayer-mouse-tail"),this.mouseTail.style.display="inherit",this.wrapper.appendChild(this.mouseTail)),this.iframe=document.createElement("iframe");const e=["allow-same-origin"];this.config.UNSAFE_replayCanvas&&e.push("allow-scripts"),this.iframe.style.display="none",this.iframe.setAttribute("sandbox",e.join(" ")),this.disableInteract(),this.wrapper.appendChild(this.iframe),this.iframe.contentWindow&&this.iframe.contentDocument&&(Qt(this.iframe.contentWindow,this.iframe.contentDocument),function(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...e)=>{let t=e[0];if(!(0 in e))throw new TypeError("1 argument is required");do{if(this===t)return!0}while(t=t&&t.parentNode);return!1})}(this.iframe.contentWindow))}rebuildFullSnapshot(e,t=!1){if(!this.iframe.contentDocument)return console.warn("Looks like your replayer has been destroyed.");Object.keys(this.legacy_missingNodeRetryMap).length&&console.warn("Found unresolved missing node map",this.legacy_missingNodeRetryMap),this.legacy_missingNodeRetryMap={};const n=[],i=(e,t)=>{this.collectIframeAndAttachDocument(n,e);for(const n of this.config.plugins||[])n.onBuild&&n.onBuild(e,{id:t,replayer:this})};ue(e.data.node,{doc:this.iframe.contentDocument,afterAppend:i,cache:this.cache,mirror:this.mirror}),i(this.iframe.contentDocument,e.data.node.id);for(const{mutationInQueue:e,builtNode:t}of n)this.attachDocumentToIframe(e,t),this.newDocumentQueue=this.newDocumentQueue.filter((t=>t!==e));const{documentElement:o,head:r}=this.iframe.contentDocument;this.insertStyleRules(o,r),this.service.state.matches("playing")||this.iframe.contentDocument.getElementsByTagName("html")[0].classList.add("rrweb-paused"),this.emitter.emit(Se.FullsnapshotRebuilded,e),t||this.waitForStylesheetLoad(),this.config.UNSAFE_replayCanvas&&this.preloadAllImages()}insertStyleRules(e,t){var n;const i=(o=this.config.blockClass,[`.${o} { background: currentColor }`,"noscript { display: none !important; }"]).concat(this.config.insertStyleRules);var o;if(this.config.pauseAnimation&&i.push("html.rrweb-paused *, html.rrweb-paused *:before, html.rrweb-paused *:after { animation-play-state: paused !important; }"),this.usingVirtualDom){const n=this.virtualDom.createElement("style");this.virtualDom.mirror.add(n,vt(n,this.virtualDom.unserializedId)),e.insertBefore(n,t),n.rules.push({source:we.StyleSheetRule,adds:i.map(((e,t)=>({rule:e,index:t})))})}else{const o=document.createElement("style");e.insertBefore(o,t);for(let e=0;e<i.length;e++)null===(n=o.sheet)||void 0===n||n.insertRule(i[e],e)}}attachDocumentToIframe(e,t){const n=this.usingVirtualDom?this.virtualDom.mirror:this.mirror,i=[],o=(e,o)=>{this.collectIframeAndAttachDocument(i,e);const r=n.getMeta(e);if((null==r?void 0:r.type)===X.Element&&"HTML"===(null==r?void 0:r.tagName.toUpperCase())){const{documentElement:e,head:n}=t.contentDocument;this.insertStyleRules(e,n)}for(const t of this.config.plugins||[])t.onBuild&&t.onBuild(e,{id:o,replayer:this})};de(e.node,{doc:t.contentDocument,mirror:n,hackCss:!0,skipChild:!1,afterAppend:o,cache:this.cache}),o(t.contentDocument,e.node.id);for(const{mutationInQueue:e,builtNode:t}of i)this.attachDocumentToIframe(e,t),this.newDocumentQueue=this.newDocumentQueue.filter((t=>t!==e))}collectIframeAndAttachDocument(e,t){if(fe(t,this.mirror)){const n=this.newDocumentQueue.find((e=>e.parentId===this.mirror.getId(t)));n&&e.push({mutationInQueue:n,builtNode:t})}}waitForStylesheetLoad(){var e;const t=null===(e=this.iframe.contentDocument)||void 0===e?void 0:e.head;if(t){const e=new Set;let n,i=this.service.state;const o=()=>{i=this.service.state};this.emitter.on(Se.Start,o),this.emitter.on(Se.Pause,o);const r=()=>{this.emitter.off(Se.Start,o),this.emitter.off(Se.Pause,o)};t.querySelectorAll('link[rel="stylesheet"]').forEach((t=>{t.sheet||(e.add(t),t.addEventListener("load",(()=>{e.delete(t),0===e.size&&-1!==n&&(i.matches("playing")&&this.play(this.getCurrentTime()),this.emitter.emit(Se.LoadStylesheetEnd),n&&clearTimeout(n),r())})))})),e.size>0&&(this.service.send({type:"PAUSE"}),this.emitter.emit(Se.LoadStylesheetStart),n=setTimeout((()=>{i.matches("playing")&&this.play(this.getCurrentTime()),n=-1,r()}),this.config.loadTimeout))}}preloadAllImages(){return Te(this,void 0,void 0,(function*(){this.service.state;const e=()=>{this.service.state};this.emitter.on(Se.Start,e),this.emitter.on(Se.Pause,e);const t=[];for(const e of this.service.state.context.events)if(e.type===be.IncrementalSnapshot&&e.data.source===we.CanvasMutation){t.push(this.deserializeAndPreloadCanvasEvents(e.data,e));("commands"in e.data?e.data.commands:[e.data]).forEach((t=>{this.preloadImages(t,e)}))}return Promise.all(t)}))}preloadImages(e,t){if("drawImage"===e.property&&"string"==typeof e.args[0]&&!this.imageMap.has(t)){const t=document.createElement("canvas"),n=t.getContext("2d"),i=null==n?void 0:n.createImageData(t.width,t.height);null==i||i.data,JSON.parse(e.args[0]),null==n||n.putImageData(i,0,0)}}deserializeAndPreloadCanvasEvents(e,t){return Te(this,void 0,void 0,(function*(){if(!this.canvasEventMap.has(t)){const n={isUnchanged:!0};if("commands"in e){const i=yield Promise.all(e.commands.map((e=>Te(this,void 0,void 0,(function*(){const t=yield Promise.all(e.args.map(hn(this.imageMap,null,n)));return Object.assign(Object.assign({},e),{args:t})})))));!1===n.isUnchanged&&this.canvasEventMap.set(t,Object.assign(Object.assign({},e),{commands:i}))}else{const i=yield Promise.all(e.args.map(hn(this.imageMap,null,n)));!1===n.isUnchanged&&this.canvasEventMap.set(t,Object.assign(Object.assign({},e),{args:i}))}}}))}applyIncremental(e,t){var n,i,o;const{data:r}=e;switch(r.source){case we.Mutation:try{this.applyMutation(r,t)}catch(e){this.warn(`Exception in mutation ${e.message||e}`,r)}break;case we.Drag:case we.TouchMove:case we.MouseMove:if(t){const e=r.positions[r.positions.length-1];this.mousePos={x:e.x,y:e.y,id:e.id,debugData:r}}else r.positions.forEach((n=>{const i={doAction:()=>{this.moveAndHover(n.x,n.y,n.id,t,r)},delay:n.timeOffset+e.timestamp-this.service.state.context.baselineTime};this.timer.addAction(i)})),this.timer.addAction({doAction(){},delay:e.delay-(null===(n=r.positions[0])||void 0===n?void 0:n.timeOffset)});break;case we.MouseInteraction:{if(-1===r.id||t)break;const e=new Event(Ne[r.type].toLowerCase()),n=this.mirror.getNode(r.id);if(!n)return this.debugNodeNotFound(r,r.id);this.emitter.emit(Se.MouseInteraction,{type:r.type,target:n});const{triggerFocus:i}=this.config;switch(r.type){case Ne.Blur:"blur"in n&&n.blur();break;case Ne.Focus:i&&n.focus&&n.focus({preventScroll:!0});break;case Ne.Click:case Ne.TouchStart:case Ne.TouchEnd:t?(r.type===Ne.TouchStart?this.touchActive=!0:r.type===Ne.TouchEnd&&(this.touchActive=!1),this.mousePos={x:r.x,y:r.y,id:r.id,debugData:r}):(r.type===Ne.TouchStart&&(this.tailPositions.length=0),this.moveAndHover(r.x,r.y,r.id,t,r),r.type===Ne.Click?(this.mouse.classList.remove("active"),this.mouse.offsetWidth,this.mouse.classList.add("active")):r.type===Ne.TouchStart?(this.mouse.offsetWidth,this.mouse.classList.add("touch-active")):r.type===Ne.TouchEnd&&this.mouse.classList.remove("touch-active"));break;case Ne.TouchCancel:t?this.touchActive=!1:this.mouse.classList.remove("touch-active");break;default:n.dispatchEvent(e)}break}case we.Scroll:if(-1===r.id)break;if(this.usingVirtualDom){const e=this.virtualDom.mirror.getNode(r.id);if(!e)return this.debugNodeNotFound(r,r.id);e.scrollData=r;break}this.applyScroll(r,t);break;case we.ViewportResize:this.emitter.emit(Se.Resize,{width:r.width,height:r.height});break;case we.Input:if(-1===r.id)break;if(this.usingVirtualDom){const e=this.virtualDom.mirror.getNode(r.id);if(!e)return this.debugNodeNotFound(r,r.id);e.inputData=r;break}this.applyInput(r);break;case we.MediaInteraction:{const e=this.usingVirtualDom?this.virtualDom.mirror.getNode(r.id):this.mirror.getNode(r.id);if(!e)return this.debugNodeNotFound(r,r.id);const t=e;try{r.currentTime&&(t.currentTime=r.currentTime),r.volume&&(t.volume=r.volume),r.muted&&(t.muted=r.muted),1===r.type&&t.pause(),0===r.type&&t.play(),4===r.type&&(t.playbackRate=r.playbackRate)}catch(e){this.config.showWarning&&console.warn(`Failed to replay media interactions: ${e.message||e}`)}break}case we.StyleSheetRule:case we.StyleDeclaration:this.usingVirtualDom?r.styleId?this.constructedStyleMutations.push(r):r.id&&(null===(i=this.virtualDom.mirror.getNode(r.id))||void 0===i||i.rules.push(r)):this.applyStyleSheetMutation(r);break;case we.CanvasMutation:if(!this.config.UNSAFE_replayCanvas)return;if(this.usingVirtualDom){const t=this.virtualDom.mirror.getNode(r.id);if(!t)return this.debugNodeNotFound(r,r.id);t.canvasMutations.push({event:e,mutation:r})}else{const t=this.mirror.getNode(r.id);if(!t)return this.debugNodeNotFound(r,r.id);fn({event:e,mutation:r,target:t,imageMap:this.imageMap,canvasEventMap:this.canvasEventMap,errorHandler:this.warnCanvasMutationFailed.bind(this)})}break;case we.Font:try{const e=new FontFace(r.family,r.buffer?new Uint8Array(JSON.parse(r.fontSource)):r.fontSource,r.descriptors);null===(o=this.iframe.contentDocument)||void 0===o||o.fonts.add(e)}catch(e){this.config.showWarning&&console.warn(e)}break;case we.Selection:if(t){this.lastSelectionData=r;break}this.applySelection(r);break;case we.AdoptedStyleSheet:this.usingVirtualDom?this.adoptedStyleSheets.push(r):this.applyAdoptedStyleSheet(r)}}applyMutation(e,t){if(this.config.useVirtualDom&&!this.usingVirtualDom&&t&&(this.usingVirtualDom=!0,ft(this.iframe.contentDocument,this.mirror,this.virtualDom),Object.keys(this.legacy_missingNodeRetryMap).length))for(const e in this.legacy_missingNodeRetryMap)try{const t=this.legacy_missingNodeRetryMap[e],n=mt(t.node,this.virtualDom,this.mirror);n&&(t.node=n)}catch(e){this.config.showWarning&&console.warn(e)}const n=this.usingVirtualDom?this.virtualDom.mirror:this.mirror;e.removes.forEach((t=>{var i;const o=n.getNode(t.id);if(!o){if(e.removes.find((e=>e.id===t.parentId)))return;return this.warnNodeNotFound(e,t.id)}let r=n.getNode(t.parentId);if(!r)return this.warnNodeNotFound(e,t.parentId);if(t.isShadow&&ve(r)&&(r=r.shadowRoot),n.removeNodeFromMap(o),r)try{r.removeChild(o),this.usingVirtualDom&&"#text"===o.nodeName&&"STYLE"===r.nodeName&&(null===(i=r.rules)||void 0===i?void 0:i.length)>0&&(r.rules=[])}catch(t){if(!(t instanceof DOMException))throw t;this.warn("parent could not remove child in mutation",r,o,e)}}));const i=Object.assign({},this.legacy_missingNodeRetryMap),o=[],r=e=>{var t;if(!this.iframe.contentDocument)return console.warn("Looks like your replayer has been destroyed.");let r=n.getNode(e.parentId);if(!r)return e.node.type===X.Document?this.newDocumentQueue.push(e):o.push(e);e.node.isShadow&&(ve(r)||r.attachShadow({mode:"open"}),r=r.shadowRoot);let s=null,a=null;if(e.previousId&&(s=n.getNode(e.previousId)),e.nextId&&(a=n.getNode(e.nextId)),(e=>{let t=null;return e.nextId&&(t=n.getNode(e.nextId)),null!==e.nextId&&void 0!==e.nextId&&-1!==e.nextId&&!t})(e))return o.push(e);if(e.node.rootId&&!n.getNode(e.node.rootId))return;const l=e.node.rootId?n.getNode(e.node.rootId):this.usingVirtualDom?this.virtualDom:this.iframe.contentDocument;if(fe(r,n))return void this.attachDocumentToIframe(e,r);const c=(e,t)=>{for(const n of this.config.plugins||[])n.onBuild&&n.onBuild(e,{id:t,replayer:this})},d=de(e.node,{doc:l,mirror:n,skipChild:!0,hackCss:!0,cache:this.cache,afterAppend:c});if(-1===e.previousId||-1===e.nextId)return void(i[e.node.id]={node:d,mutation:e});const u=n.getMeta(r);if(u&&u.type===X.Element&&"textarea"===u.tagName&&e.node.type===X.Text){const e=Array.isArray(r.childNodes)?r.childNodes:Array.from(r.childNodes);for(const t of e)t.nodeType===r.TEXT_NODE&&r.removeChild(t)}if(s&&s.nextSibling&&s.nextSibling.parentNode)r.insertBefore(d,s.nextSibling);else if(a&&a.parentNode)r.contains(a)?r.insertBefore(d,a):r.insertBefore(d,null);else{if(r===l)for(;l.firstChild;)l.removeChild(l.firstChild);r.appendChild(d)}if(c(d,e.node.id),this.usingVirtualDom&&"#text"===d.nodeName&&"STYLE"===r.nodeName&&(null===(t=r.rules)||void 0===t?void 0:t.length)>0&&(r.rules=[]),fe(d,this.mirror)){const e=this.mirror.getId(d),t=this.newDocumentQueue.find((t=>t.parentId===e));t&&(this.attachDocumentToIframe(t,d),this.newDocumentQueue=this.newDocumentQueue.filter((e=>e!==t)))}(e.previousId||e.nextId)&&this.legacy_resolveMissingNode(i,r,d,e)};e.adds.forEach((e=>{r(e)}));const s=Date.now();for(;o.length;){const e=ge(o);if(o.length=0,Date.now()-s>500){this.warn("Timeout in the loop, please check the resolve tree data:",e);break}for(const t of e){n.getNode(t.value.parentId)?me(t,(e=>{r(e)})):this.debug("Drop resolve tree since there is no parent for the root node.",t)}}Object.keys(i).length&&Object.assign(this.legacy_missingNodeRetryMap,i),function(e){const t=new Set,n=[];for(let i=e.length;i--;){const o=e[i];t.has(o.id)||(n.push(o),t.add(o.id))}return n}(e.texts).forEach((t=>{var i;const o=n.getNode(t.id);if(!o){if(e.removes.find((e=>e.id===t.id)))return;return this.warnNodeNotFound(e,t.id)}if(o.textContent=t.value,this.usingVirtualDom){const e=o.parentNode;(null===(i=null==e?void 0:e.rules)||void 0===i?void 0:i.length)>0&&(e.rules=[])}})),e.attributes.forEach((t=>{const i=n.getNode(t.id);if(!i){if(e.removes.find((e=>e.id===t.id)))return;return this.warnNodeNotFound(e,t.id)}for(const e in t.attributes)if("string"==typeof e){const o=t.attributes[e];if(null===o)i.removeAttribute(e);else if("string"==typeof o)try{if("_cssText"===e&&("LINK"===i.nodeName||"STYLE"===i.nodeName))try{const e=n.getMeta(i);Object.assign(e.attributes,t.attributes);const o=de(e,{doc:i.ownerDocument,mirror:n,skipChild:!0,hackCss:!0,cache:this.cache}),r=i.nextSibling,s=i.parentNode;if(o&&s){s.removeChild(i),s.insertBefore(o,r),n.replace(t.id,o);break}}catch(e){}i.setAttribute(e,o)}catch(e){this.config.showWarning&&console.warn("An error occurred may due to the checkout feature.",e)}else if("style"===e){const e=o,t=i;for(const n in e)if(!1===e[n])t.style.removeProperty(n);else if(e[n]instanceof Array){const i=e[n];t.style.setProperty(n,i[0],i[1])}else{const i=e[n];t.style.setProperty(n,i)}}}}))}applyScroll(e,t){var n,i;const o=this.mirror.getNode(e.id);if(!o)return this.debugNodeNotFound(e,e.id);const r=this.mirror.getMeta(o);if(o===this.iframe.contentDocument)null===(n=this.iframe.contentWindow)||void 0===n||n.scrollTo({top:e.y,left:e.x,behavior:t?"auto":"smooth"});else if((null==r?void 0:r.type)===X.Document)null===(i=o.defaultView)||void 0===i||i.scrollTo({top:e.y,left:e.x,behavior:t?"auto":"smooth"});else try{o.scrollTo({top:e.y,left:e.x,behavior:t?"auto":"smooth"})}catch(e){}}applyInput(e){const t=this.mirror.getNode(e.id);if(!t)return this.debugNodeNotFound(e,e.id);try{t.checked=e.isChecked,t.value=e.text}catch(e){}}applySelection(e){try{const t=new Set,n=e.ranges.map((({start:e,startOffset:n,end:i,endOffset:o})=>{const r=this.mirror.getNode(e),s=this.mirror.getNode(i);if(!r||!s)return;const a=new Range;a.setStart(r,n),a.setEnd(s,o);const l=r.ownerDocument,c=null==l?void 0:l.getSelection();return c&&t.add(c),{range:a,selection:c}}));t.forEach((e=>e.removeAllRanges())),n.forEach((e=>{var t;return e&&(null===(t=e.selection)||void 0===t?void 0:t.addRange(e.range))}))}catch(e){}}applyStyleSheetMutation(e){var t;let n=null;e.styleId?n=this.styleMirror.getStyle(e.styleId):e.id&&(n=(null===(t=this.mirror.getNode(e.id))||void 0===t?void 0:t.sheet)||null),n&&(e.source===we.StyleSheetRule?this.applyStyleSheetRule(e,n):e.source===we.StyleDeclaration&&this.applyStyleDeclaration(e,n))}applyStyleSheetRule(e,t){var n,i,o,r;if(null===(n=e.adds)||void 0===n||n.forEach((({rule:e,index:n})=>{try{if(Array.isArray(n)){const{positions:i,index:o}=Ie(n);Ce(t.cssRules,i).insertRule(e,o)}else{const i=void 0===n?void 0:Math.min(n,t.cssRules.length);null==t||t.insertRule(e,i)}}catch(e){}})),null===(i=e.removes)||void 0===i||i.forEach((({index:e})=>{try{if(Array.isArray(e)){const{positions:n,index:i}=Ie(e);Ce(t.cssRules,n).deleteRule(i||0)}else null==t||t.deleteRule(e)}catch(e){}})),e.replace)try{null===(o=t.replace)||void 0===o||o.call(t,e.replace)}catch(e){}if(e.replaceSync)try{null===(r=t.replaceSync)||void 0===r||r.call(t,e.replaceSync)}catch(e){}}applyStyleDeclaration(e,t){if(e.set){Ce(t.rules,e.index).style.setProperty(e.set.property,e.set.value,e.set.priority)}if(e.remove){Ce(t.rules,e.index).style.removeProperty(e.remove.property)}}applyAdoptedStyleSheet(e){var t;const n=this.mirror.getNode(e.id);if(!n)return;null===(t=e.styles)||void 0===t||t.forEach((e=>{var t;let i=null,o=null;if(ve(n)?o=(null===(t=n.ownerDocument)||void 0===t?void 0:t.defaultView)||null:"#document"===n.nodeName&&(o=n.defaultView),o)try{i=new o.CSSStyleSheet,this.styleMirror.add(i,e.styleId),this.applyStyleSheetRule({source:we.StyleSheetRule,adds:e.rules},i)}catch(e){}}));let i=0;const o=(e,t)=>{const n=t.map((e=>this.styleMirror.getStyle(e))).filter((e=>null!==e));ve(e)?e.shadowRoot.adoptedStyleSheets=n:"#document"===e.nodeName&&(e.adoptedStyleSheets=n),n.length!==t.length&&i<10&&(setTimeout((()=>o(e,t)),0+100*i),i++)};o(n,e.styleIds)}legacy_resolveMissingNode(e,t,n,i){const{previousId:o,nextId:r}=i,s=o&&e[o],a=r&&e[r];if(s){const{node:i,mutation:o}=s;t.insertBefore(i,n),delete e[o.node.id],delete this.legacy_missingNodeRetryMap[o.node.id],(o.previousId||o.nextId)&&this.legacy_resolveMissingNode(e,t,i,o)}if(a){const{node:i,mutation:o}=a;t.insertBefore(i,n.nextSibling),delete e[o.node.id],delete this.legacy_missingNodeRetryMap[o.node.id],(o.previousId||o.nextId)&&this.legacy_resolveMissingNode(e,t,i,o)}}moveAndHover(e,t,n,i,o){const r=this.mirror.getNode(n);if(!r)return this.debugNodeNotFound(o,n);const s=ye(r,this.iframe),a=e*s.absoluteScale+s.x,l=t*s.absoluteScale+s.y;this.mouse.style.left=`${a}px`,this.mouse.style.top=`${l}px`,i||this.drawMouseTail({x:a,y:l}),this.hoverElements(r)}drawMouseTail(e){if(!this.mouseTail)return;const{lineCap:t,lineWidth:n,strokeStyle:i,duration:o}=!0===this.config.mouseTail?vn:Object.assign({},vn,this.config.mouseTail),r=()=>{if(!this.mouseTail)return;const e=this.mouseTail.getContext("2d");e&&this.tailPositions.length&&(e.clearRect(0,0,this.mouseTail.width,this.mouseTail.height),e.beginPath(),e.lineWidth=n,e.lineCap=t,e.strokeStyle=i,e.moveTo(this.tailPositions[0].x,this.tailPositions[0].y),this.tailPositions.forEach((t=>e.lineTo(t.x,t.y))),e.stroke())};this.tailPositions.push(e),r(),setTimeout((()=>{this.tailPositions=this.tailPositions.filter((t=>t!==e)),r()}),o/this.speedService.state.context.timer.speed)}hoverElements(e){var t;null===(t=this.iframe.contentDocument)||void 0===t||t.querySelectorAll(".\\:hover").forEach((e=>{e.classList.remove(":hover")}));let n=e;for(;n;)n.classList&&n.classList.add(":hover"),n=n.parentElement}isUserInteraction(e){return e.type===be.IncrementalSnapshot&&(e.data.source>we.Mutation&&e.data.source<=we.Input)}backToNormal(){this.nextUserInteractionEvent=null,this.speedService.state.matches("normal")||(this.speedService.send({type:"BACK_TO_NORMAL"}),this.emitter.emit(Se.SkipEnd,{speed:this.speedService.state.context.normalSpeed}))}warnNodeNotFound(e,t){this.warn(`Node with id '${t}' not found. `,e)}warnCanvasMutationFailed(e,t){this.warn("Has error on canvas update",t,"canvas mutation:",e)}debugNodeNotFound(e,t){this.debug("[replayer]",`Node with id '${t}' not found. `,e)}warn(...e){this.config.showWarning&&console.warn("[replayer]",...e)}debug(...e){this.config.showDebug&&console.log("[replayer]",...e)}}function An(e){let t="";return Object.keys(e).forEach((n=>{t+=`${n}: ${e[n]};`})),t}function bn(e,t=2){let n=String(e);const i=Math.pow(10,t-1);if(e<i)for(;String(i).length>n.length;)n=`0${e}`;return n}function wn(e){if(e<=0)return"00:00";const t=Math.floor(e/36e5);e%=36e5;const n=Math.floor(e/6e4);e%=6e4;const i=Math.floor(e/1e3);return t?`${bn(t)}:${bn(n)}:${bn(i)}`:`${bn(n)}:${bn(i)}`}function Nn(){let e=!1;return["fullscreen","webkitIsFullScreen","mozFullScreen","msFullscreenElement"].forEach((t=>{t in document&&(e=e||Boolean(document[t]))})),e}function En(e){return{"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regExp","[object Undefined]":"undefined","[object Null]":"null","[object Object]":"object"}[Object.prototype.toString.call(e)]}function Sn(e){return e.type===be.IncrementalSnapshot&&(e.data.source>we.Mutation&&e.data.source<=we.Input)}function Tn(t){let n,i,o,r,s,a,u,p,C;return{c(){n=h("div"),i=h("input"),o=m(),r=h("label"),s=m(),a=h("span"),u=g(t[3]),y(i,"type","checkbox"),y(i,"id",t[2]),i.disabled=t[1],y(i,"class","svelte-9brlez"),y(r,"for",t[2]),y(r,"class","svelte-9brlez"),y(a,"class","label svelte-9brlez"),y(n,"class","switch svelte-9brlez"),I(n,"disabled",t[1])},m(e,d){c(e,n,d),l(n,i),i.checked=t[0],l(n,o),l(n,r),l(n,s),l(n,a),l(a,u),p||(C=f(i,"change",t[4]),p=!0)},p(e,[t]){4&t&&y(i,"id",e[2]),2&t&&(i.disabled=e[1]),1&t&&(i.checked=e[0]),4&t&&y(r,"for",e[2]),8&t&&v(u,e[3]),2&t&&I(n,"disabled",e[1])},i:e,o:e,d(e){e&&d(n),p=!1,C()}}}function Dn(e,t,n){let{disabled:i}=t,{checked:o}=t,{id:r}=t,{label:s}=t;return e.$$set=e=>{"disabled"in e&&n(1,i=e.disabled),"checked"in e&&n(0,o=e.checked),"id"in e&&n(2,r=e.id),"label"in e&&n(3,s=e.label)},[o,i,r,s,function(){o=this.checked,n(0,o)}]}class Mn extends J{constructor(e){super(),z(this,e,Dn,Tn,s,{disabled:1,checked:0,id:2,label:3})}}function Rn(e,t,n){const i=e.slice();return i[39]=t[n],i}function xn(e,t,n){const i=e.slice();return i[42]=t[n],i}function kn(e,t,n){const i=e.slice();return i[45]=t[n],i}function Fn(e){let t,n,i,r,s,a,p,A,b,w,N,E,S,T,M,x,k,F,O,B,L,V,_,G,W,U,Q=wn(e[6])+"",z=wn(e[8].totalTime)+"",J=e[14],X=[];for(let t=0;t<J.length;t+=1)X[t]=On(kn(e,J,t));let H=e[9],j=[];for(let t=0;t<H.length;t+=1)j[t]=Bn(xn(e,H,t));function q(e,t){return"playing"===e[7]?Vn:Ln}let ee=q(e),te=ee(e),ne=e[3],ie=[];for(let t=0;t<ne.length;t+=1)ie[t]=_n(Rn(e,ne,t));function oe(t){e[30](t)}let re={id:"skip",disabled:"skipping"===e[10],label:"skip inactive"};return void 0!==e[0]&&(re.checked=e[0]),B=new Mn({props:re}),D.push((()=>function(e,t,n){const i=e.$$.props[t];void 0!==i&&(e.$$.bound[i]=n,n(e.$$.ctx[i]))}(B,"checked",oe))),{c(){t=h("div"),n=h("div"),i=h("span"),r=g(Q),s=m(),a=h("div"),p=h("div"),A=m();for(let e=0;e<X.length;e+=1)X[e].c();b=m();for(let e=0;e<j.length;e+=1)j[e].c();w=m(),N=h("div"),E=m(),S=h("span"),T=g(z),M=m(),x=h("div"),k=h("button"),te.c(),F=m();for(let e=0;e<ie.length;e+=1)ie[e].c();O=m(),K(B.$$.fragment),V=m(),_=h("button"),_.innerHTML='<svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16"><defs><style type="text/css"></style></defs><path d="M916 380c-26.4 0-48-21.6-48-48L868 223.2 613.6 477.6c-18.4\n 18.4-48.8 18.4-68 0-18.4-18.4-18.4-48.8 0-68L800 156 692 156c-26.4\n 0-48-21.6-48-48 0-26.4 21.6-48 48-48l224 0c26.4 0 48 21.6 48 48l0\n 224C964 358.4 942.4 380 916 380zM231.2 860l108.8 0c26.4 0 48 21.6 48\n 48s-21.6 48-48 48l-224 0c-26.4 0-48-21.6-48-48l0-224c0-26.4 21.6-48\n 48-48 26.4 0 48 21.6 48 48L164 792l253.6-253.6c18.4-18.4 48.8-18.4\n 68 0 18.4 18.4 18.4 48.8 0 68L231.2 860z" p-id="1286"></path></svg>',y(i,"class","rr-timeline__time svelte-19ke1iv"),y(p,"class","rr-progress__step svelte-19ke1iv"),C(p,"width",e[13]),y(N,"class","rr-progress__handler svelte-19ke1iv"),C(N,"left",e[13]),y(a,"class","rr-progress svelte-19ke1iv"),I(a,"disabled","skipping"===e[10]),y(S,"class","rr-timeline__time svelte-19ke1iv"),y(n,"class","rr-timeline svelte-19ke1iv"),y(k,"class","svelte-19ke1iv"),y(_,"class","svelte-19ke1iv"),y(x,"class","rr-controller__btns svelte-19ke1iv"),y(t,"class","rr-controller svelte-19ke1iv")},m(o,d){c(o,t,d),l(t,n),l(n,i),l(i,r),l(n,s),l(n,a),l(a,p),e[27](p),l(a,A);for(let e=0;e<X.length;e+=1)X[e].m(a,null);l(a,b);for(let e=0;e<j.length;e+=1)j[e].m(a,null);l(a,w),l(a,N),e[28](a),l(n,E),l(n,S),l(S,T),l(t,M),l(t,x),l(x,k),te.m(k,null),l(x,F);for(let e=0;e<ie.length;e+=1)ie[e].m(x,null);l(x,O),Y(B,x,null),l(x,V),l(x,_),G=!0,W||(U=[f(a,"click",e[16]),f(k,"click",e[4]),f(_,"click",e[31])],W=!0)},p(e,t){if((!G||64&t[0])&&Q!==(Q=wn(e[6])+"")&&v(r,Q),(!G||8192&t[0])&&C(p,"width",e[13]),16384&t[0]){let n;for(J=e[14],n=0;n<J.length;n+=1){const i=kn(e,J,n);X[n]?X[n].p(i,t):(X[n]=On(i),X[n].c(),X[n].m(a,b))}for(;n<X.length;n+=1)X[n].d(1);X.length=J.length}if(512&t[0]){let n;for(H=e[9],n=0;n<H.length;n+=1){const i=xn(e,H,n);j[n]?j[n].p(i,t):(j[n]=Bn(i),j[n].c(),j[n].m(a,w))}for(;n<j.length;n+=1)j[n].d(1);j.length=H.length}if((!G||8192&t[0])&&C(N,"left",e[13]),1024&t[0]&&I(a,"disabled","skipping"===e[10]),(!G||256&t[0])&&z!==(z=wn(e[8].totalTime)+"")&&v(T,z),ee!==(ee=q(e))&&(te.d(1),te=ee(e),te&&(te.c(),te.m(k,null))),1066&t[0]){let n;for(ne=e[3],n=0;n<ne.length;n+=1){const i=Rn(e,ne,n);ie[n]?ie[n].p(i,t):(ie[n]=_n(i),ie[n].c(),ie[n].m(x,O))}for(;n<ie.length;n+=1)ie[n].d(1);ie.length=ne.length}const n={};var i;1024&t[0]&&(n.disabled="skipping"===e[10]),!L&&1&t[0]&&(L=!0,n.checked=e[0],i=()=>L=!1,R.push(i)),B.$set(n)},i(e){G||(Z(B.$$.fragment,e),G=!0)},o(e){$(B.$$.fragment,e),G=!1},d(n){n&&d(t),e[27](null),u(X,n),u(j,n),e[28](null),te.d(),u(ie,n),P(B),W=!1,o(U)}}}function On(e){let t,n;return{c(){t=h("div"),y(t,"title",n=e[45].name),C(t,"width",e[45].width),C(t,"height","4px"),C(t,"position","absolute"),C(t,"background",e[45].background),C(t,"left",e[45].position)},m(e,n){c(e,t,n)},p(e,i){16384&i[0]&&n!==(n=e[45].name)&&y(t,"title",n),16384&i[0]&&C(t,"width",e[45].width),16384&i[0]&&C(t,"background",e[45].background),16384&i[0]&&C(t,"left",e[45].position)},d(e){e&&d(t)}}}function Bn(e){let t,n;return{c(){t=h("div"),y(t,"title",n=e[42].name),C(t,"width","10px"),C(t,"height","5px"),C(t,"position","absolute"),C(t,"top","2px"),C(t,"transform","translate(-50%, -50%)"),C(t,"background",e[42].background),C(t,"left",e[42].position)},m(e,n){c(e,t,n)},p(e,i){512&i[0]&&n!==(n=e[42].name)&&y(t,"title",n),512&i[0]&&C(t,"background",e[42].background),512&i[0]&&C(t,"left",e[42].position)},d(e){e&&d(t)}}}function Ln(e){let t,n;return{c(){t=p("svg"),n=p("path"),y(n,"d","M170.65984 896l0-768 640 384zM644.66944\n 512l-388.66944-233.32864 0 466.65728z"),y(t,"class","icon"),y(t,"viewBox","0 0 1024 1024"),y(t,"version","1.1"),y(t,"xmlns","http://www.w3.org/2000/svg"),y(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),y(t,"width","16"),y(t,"height","16")},m(e,i){c(e,t,i),l(t,n)},d(e){e&&d(t)}}}function Vn(e){let t,n;return{c(){t=p("svg"),n=p("path"),y(n,"d","M682.65984 128q53.00224 0 90.50112 37.49888t37.49888 90.50112l0\n 512q0 53.00224-37.49888 90.50112t-90.50112\n 37.49888-90.50112-37.49888-37.49888-90.50112l0-512q0-53.00224\n 37.49888-90.50112t90.50112-37.49888zM341.34016 128q53.00224 0\n 90.50112 37.49888t37.49888 90.50112l0 512q0 53.00224-37.49888\n 90.50112t-90.50112\n 37.49888-90.50112-37.49888-37.49888-90.50112l0-512q0-53.00224\n 37.49888-90.50112t90.50112-37.49888zM341.34016 213.34016q-17.67424\n 0-30.16704 12.4928t-12.4928 30.16704l0 512q0 17.67424 12.4928\n 30.16704t30.16704 12.4928 30.16704-12.4928\n 12.4928-30.16704l0-512q0-17.67424-12.4928-30.16704t-30.16704-12.4928zM682.65984\n 213.34016q-17.67424 0-30.16704 12.4928t-12.4928 30.16704l0 512q0\n 17.67424 12.4928 30.16704t30.16704 12.4928 30.16704-12.4928\n 12.4928-30.16704l0-512q0-17.67424-12.4928-30.16704t-30.16704-12.4928z"),y(t,"class","icon"),y(t,"viewBox","0 0 1024 1024"),y(t,"version","1.1"),y(t,"xmlns","http://www.w3.org/2000/svg"),y(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),y(t,"width","16"),y(t,"height","16")},m(e,i){c(e,t,i),l(t,n)},d(e){e&&d(t)}}}function _n(e){let t,n,i,o,r,s,a=e[39]+"";function u(){return e[29](e[39])}return{c(){t=h("button"),n=g(a),i=g("x"),t.disabled=o="skipping"===e[10],y(t,"class","svelte-19ke1iv"),I(t,"active",e[39]===e[1]&&"skipping"!==e[10])},m(e,o){c(e,t,o),l(t,n),l(t,i),r||(s=f(t,"click",u),r=!0)},p(i,r){e=i,8&r[0]&&a!==(a=e[39]+"")&&v(n,a),1024&r[0]&&o!==(o="skipping"===e[10])&&(t.disabled=o),1034&r[0]&&I(t,"active",e[39]===e[1]&&"skipping"!==e[10])},d(e){e&&d(t),r=!1,s()}}}function Gn(e){let t,n,i=e[2]&&Fn(e);return{c(){i&&i.c(),t=g("")},m(e,o){i&&i.m(e,o),c(e,t,o),n=!0},p(e,n){e[2]?i?(i.p(e,n),4&n[0]&&Z(i,1)):(i=Fn(e),i.c(),Z(i,1),i.m(t.parentNode,t)):i&&(W(),$(i,1,1,(()=>{i=null})),U())},i(e){n||(Z(i),n=!0)},o(e){$(i),n=!1},d(e){i&&i.d(e),e&&d(t)}}}function Wn(e,t,n){return(100-(t-n)/(t-e)*100).toFixed(2)}function Un(e,t,n){const i=S();let o,r,s,a,l,c,d,u,h,p,{replayer:g}=t,{showController:m}=t,{autoPlay:f}=t,{skipInactive:y}=t,{speedOption:v}=t,{speed:C=(v.length?v[0]:1)}=t,{tags:I={}}=t,{inactiveColor:A}=t,b=0,T=null,M=!1,R=null;const x=()=>{T&&(cancelAnimationFrame(T),T=null)},k=()=>{"paused"===o&&(l?(g.play(),l=!1):g.play(b))},F=()=>{"playing"===o&&(g.pause(),M=!1)},O=(e,t)=>{n(6,b=e),M=!1;("boolean"==typeof t?t:"playing"===o)?g.play(e):g.pause(e)},B=(e,t,i=!1,o)=>{R=i?{start:e,end:t}:null,n(6,b=e),M=t,c=o,g.play(e)},L=e=>{let t="playing"===o;n(1,C=e),t&&g.pause(),g.setConfig({speed:C}),t&&g.play(b)};var V;N((()=>{n(7,o=g.service.state.value),n(10,r=g.speedService.state.value),g.on("state-change",(e=>{const{player:t,speed:i}=e;if((null==t?void 0:t.value)&&o!==t.value)switch(n(7,o=t.value),o){case"playing":x(),T=requestAnimationFrame((function e(){n(6,b=g.getCurrentTime()),M&&b>=M&&(R?B(R.start,R.end,!0,void 0):(g.pause(),c&&(c(),c=null))),b<d.totalTime&&(T=requestAnimationFrame(e))}));break;case"paused":x()}(null==i?void 0:i.value)&&r!==i.value&&n(10,r=i.value)})),g.on("finish",(()=>{l=!0,c&&(c(),c=null)})),f&&g.play()})),V=()=>{y!==g.config.skipInactive&&g.setConfig({skipInactive:y})},w().$$.after_update.push(V),E((()=>{g.pause(),x()}));return e.$$set=e=>{"replayer"in e&&n(17,g=e.replayer),"showController"in e&&n(2,m=e.showController),"autoPlay"in e&&n(18,f=e.autoPlay),"skipInactive"in e&&n(0,y=e.skipInactive),"speedOption"in e&&n(3,v=e.speedOption),"speed"in e&&n(1,C=e.speed),"tags"in e&&n(19,I=e.tags),"inactiveColor"in e&&n(20,A=e.inactiveColor)},e.$$.update=()=>{if(64&e.$$.dirty[0]&&i("ui-update-current-time",{payload:b}),128&e.$$.dirty[0]&&i("ui-update-player-state",{payload:o}),131072&e.$$.dirty[0]&&n(8,d=g.getMetaData()),320&e.$$.dirty[0]){const e=Math.min(1,b/d.totalTime);n(13,u=100*e+"%"),i("ui-update-progress",{payload:e})}655360&e.$$.dirty[0]&&n(9,h=(()=>{const{context:e}=g.service.state,t=e.events.length,n=e.events[0].timestamp,i=e.events[t-1].timestamp,o=[];return e.events.forEach((e=>{if(e.type===be.Custom){const t={name:e.data.tag,background:I[e.data.tag]||"rgb(73, 80, 246)",position:`${Wn(n,i,e.timestamp)}%`};o.push(t)}})),o})()),1179648&e.$$.dirty[0]&&n(14,p=(()=>{try{const{context:e}=g.service.state,t=e.events.length,n=e.events[0].timestamp,i=e.events[t-1].timestamp,o=function(e){const t=[];let n=e[0].timestamp;for(const i of e)Sn(i)&&(i.timestamp-n>1e4&&t.push([n,i.timestamp]),n=i.timestamp);return t}(e.events),r=(e,t,n,i)=>((i-n)/(t-e)*100).toFixed(2);return o.map((e=>({name:"inactive period",background:A,position:`${Wn(n,i,e[0])}%`,width:`${r(n,i,e[0],e[1])}%`})))}catch(e){return[]}})())},[y,C,m,v,()=>{switch(o){case"playing":F();break;case"paused":k()}},L,b,o,d,h,r,s,a,u,p,i,e=>{if("skipping"===r)return;const t=s.getBoundingClientRect();let n=(e.clientX-t.left)/t.width;n<0?n=0:n>1&&(n=1);const i=d.totalTime*n;l=!1,O(i)},g,f,I,A,k,F,O,B,()=>{n(0,y=!y)},()=>Promise.resolve().then((()=>{n(8,d=g.getMetaData())})),function(e){D[e?"unshift":"push"]((()=>{a=e,n(12,a)}))},function(e){D[e?"unshift":"push"]((()=>{s=e,n(11,s)}))},e=>L(e),function(e){y=e,n(0,y)},()=>i("fullscreen")]}class Zn extends J{constructor(e){super(),z(this,e,Un,Gn,s,{replayer:17,showController:2,autoPlay:18,skipInactive:0,speedOption:3,speed:1,tags:19,inactiveColor:20,toggle:4,play:21,pause:22,goto:23,playRange:24,setSpeed:5,toggleSkipInactive:25,triggerUpdateMeta:26},null,[-1,-1])}get toggle(){return this.$$.ctx[4]}get play(){return this.$$.ctx[21]}get pause(){return this.$$.ctx[22]}get goto(){return this.$$.ctx[23]}get playRange(){return this.$$.ctx[24]}get setSpeed(){return this.$$.ctx[5]}get toggleSkipInactive(){return this.$$.ctx[25]}get triggerUpdateMeta(){return this.$$.ctx[26]}}function $n(e){let t,n,i={replayer:e[7],showController:e[3],autoPlay:e[1],speedOption:e[2],skipInactive:e[0],tags:e[4],inactiveColor:e[5]};return t=new Zn({props:i}),e[32](t),t.$on("fullscreen",e[33]),{c(){K(t.$$.fragment)},m(e,i){Y(t,e,i),n=!0},p(e,n){const i={};128&n[0]&&(i.replayer=e[7]),8&n[0]&&(i.showController=e[3]),2&n[0]&&(i.autoPlay=e[1]),4&n[0]&&(i.speedOption=e[2]),1&n[0]&&(i.skipInactive=e[0]),16&n[0]&&(i.tags=e[4]),32&n[0]&&(i.inactiveColor=e[5]),t.$set(i)},i(e){n||(Z(t.$$.fragment,e),n=!0)},o(e){$(t.$$.fragment,e),n=!1},d(n){e[32](null),P(t,n)}}}function Kn(e){let t,n,i,o,r=e[7]&&$n(e);return{c(){t=h("div"),n=h("div"),i=m(),r&&r.c(),y(n,"class","rr-player__frame"),y(n,"style",e[11]),y(t,"class","rr-player"),y(t,"style",e[12])},m(s,a){c(s,t,a),l(t,n),e[31](n),l(t,i),r&&r.m(t,null),e[34](t),o=!0},p(e,i){(!o||2048&i[0])&&y(n,"style",e[11]),e[7]?r?(r.p(e,i),128&i[0]&&Z(r,1)):(r=$n(e),r.c(),Z(r,1),r.m(t,null)):r&&(W(),$(r,1,1,(()=>{r=null})),U()),(!o||4096&i[0])&&y(t,"style",e[12])},i(e){o||(Z(r),o=!0)},o(e){$(r),o=!1},d(n){n&&d(t),e[31](null),r&&r.d(),e[34](null)}}}function Yn(e,n,i){let o,{width:r=1024}=n,{height:s=576}=n,{maxScale:l=1}=n,{events:c=[]}=n,{skipInactive:d=!0}=n,{autoPlay:u=!0}=n,{speedOption:h=[1,2,4,8]}=n,{speed:p=1}=n,{showController:g=!0}=n,{tags:m={}}=n,{inactiveColor:f="#D4D4D4"}=n;let y,v,C,I,A,b,w=r,S=s;const T=(e,t)=>{const n=[r/t.width,s/t.height];l&&n.push(l),e.style.transform=`scale(${Math.min(...n)})translate(-50%, -50%)`},M=()=>{var e;y&&(Nn()?document.exitFullscreen?document.exitFullscreen():document.mozExitFullscreen?document.mozExitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen():(e=y).requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen&&e.msRequestFullscreen())};N((()=>{if(void 0!==h&&"array"!==En(h))throw new Error("speedOption must be array");if(h.forEach((e=>{if("number"!==En(e))throw new Error("item of speedOption must be number")})),h.indexOf(p)<0)throw new Error(`speed must be one of speedOption,\n current config:\n {\n ...\n speed: ${p},\n speedOption: [${h.toString()}]\n ...\n }\n `);var e;i(7,o=new In(c,Object.assign({speed:p,root:v,unpackFn:$t},n))),o.on("resize",(e=>{T(o.wrapper,e)})),e=()=>{Nn()?setTimeout((()=>{w=r,S=s,i(13,r=y.offsetWidth),i(14,s=y.offsetHeight-(g?80:0)),T(o.wrapper,{width:o.iframe.offsetWidth,height:o.iframe.offsetHeight})}),0):(i(13,r=w),i(14,s=S),T(o.wrapper,{width:o.iframe.offsetWidth,height:o.iframe.offsetHeight}))},document.addEventListener("fullscreenchange",e),document.addEventListener("webkitfullscreenchange",e),document.addEventListener("mozfullscreenchange",e),document.addEventListener("MSFullscreenChange",e),C=()=>{document.removeEventListener("fullscreenchange",e),document.removeEventListener("webkitfullscreenchange",e),document.removeEventListener("mozfullscreenchange",e),document.removeEventListener("MSFullscreenChange",e)}})),E((()=>{C&&C()}));return e.$$set=e=>{i(39,n=t(t({},n),a(e))),"width"in e&&i(13,r=e.width),"height"in e&&i(14,s=e.height),"maxScale"in e&&i(15,l=e.maxScale),"events"in e&&i(16,c=e.events),"skipInactive"in e&&i(0,d=e.skipInactive),"autoPlay"in e&&i(1,u=e.autoPlay),"speedOption"in e&&i(2,h=e.speedOption),"speed"in e&&i(17,p=e.speed),"showController"in e&&i(3,g=e.showController),"tags"in e&&i(4,m=e.tags),"inactiveColor"in e&&i(5,f=e.inactiveColor)},e.$$.update=()=>{24576&e.$$.dirty[0]&&i(11,A=An({width:`${r}px`,height:`${s}px`})),24584&e.$$.dirty[0]&&i(12,b=An({width:`${r}px`,height:`${s+(g?80:0)}px`}))},n=a(n),[d,u,h,g,m,f,M,o,y,v,I,A,b,r,s,l,c,p,()=>o.getMirror(),()=>{T(o.wrapper,{width:o.iframe.offsetWidth,height:o.iframe.offsetHeight})},(e,t)=>{switch(o.on(e,t),e){case"ui-update-current-time":case"ui-update-progress":case"ui-update-player-state":I.$on(e,(({detail:e})=>t(e)))}},e=>{o.addEvent(e),I.triggerUpdateMeta()},()=>o.getMetaData(),()=>o,()=>{I.toggle()},e=>{I.setSpeed(e)},()=>{I.toggleSkipInactive()},()=>{I.play()},()=>{I.pause()},(e,t)=>{I.goto(e,t)},(e,t,n=!1,i)=>{I.playRange(e,t,n,i)},function(e){D[e?"unshift":"push"]((()=>{v=e,i(9,v)}))},function(e){D[e?"unshift":"push"]((()=>{I=e,i(10,I)}))},()=>M(),function(e){D[e?"unshift":"push"]((()=>{y=e,i(8,y)}))}]}class Pn extends J{constructor(e){super(),z(this,e,Yn,Kn,s,{width:13,height:14,maxScale:15,events:16,skipInactive:0,autoPlay:1,speedOption:2,speed:17,showController:3,tags:4,inactiveColor:5,getMirror:18,triggerResize:19,toggleFullscreen:6,addEventListener:20,addEvent:21,getMetaData:22,getReplayer:23,toggle:24,setSpeed:25,toggleSkipInactive:26,play:27,pause:28,goto:29,playRange:30},null,[-1,-1])}get getMirror(){return this.$$.ctx[18]}get triggerResize(){return this.$$.ctx[19]}get toggleFullscreen(){return this.$$.ctx[6]}get addEventListener(){return this.$$.ctx[20]}get addEvent(){return this.$$.ctx[21]}get getMetaData(){return this.$$.ctx[22]}get getReplayer(){return this.$$.ctx[23]}get toggle(){return this.$$.ctx[24]}get setSpeed(){return this.$$.ctx[25]}get toggleSkipInactive(){return this.$$.ctx[26]}get play(){return this.$$.ctx[27]}get pause(){return this.$$.ctx[28]}get goto(){return this.$$.ctx[29]}get playRange(){return this.$$.ctx[30]}}class Qn extends Pn{constructor(e){super({target:e.target,props:e.data||e.props})}}
|
|
144583
|
+
//# sourceMappingURL=index.mjs.map
|
|
144584
|
+
|
|
144585
|
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("dd40")(module), __webpack_require__("b639").Buffer, __webpack_require__("4362")))
|
|
144586
|
+
|
|
142325
144587
|
/***/ }),
|
|
142326
144588
|
|
|
142327
144589
|
/***/ "c1df":
|
|
@@ -154773,7 +157035,7 @@ module.exports = function (passed, required) {
|
|
|
154773
157035
|
// ESM COMPAT FLAG
|
|
154774
157036
|
__webpack_require__.r(__webpack_exports__);
|
|
154775
157037
|
|
|
154776
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
157038
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImTree.vue?vue&type=template&id=4db1f357&scoped=true
|
|
154777
157039
|
var render = function render() {
|
|
154778
157040
|
var _vm = this,
|
|
154779
157041
|
_c = _vm._self._c;
|
|
@@ -155755,7 +158017,7 @@ var validateRangeInOneMonth = exports.validateRangeInOneMonth = function validat
|
|
|
155755
158017
|
// ESM COMPAT FLAG
|
|
155756
158018
|
__webpack_require__.r(__webpack_exports__);
|
|
155757
158019
|
|
|
155758
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
158020
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImCascader.vue?vue&type=template&id=53cd3903
|
|
155759
158021
|
var render = function render() {
|
|
155760
158022
|
var _vm = this,
|
|
155761
158023
|
_c = _vm._self._c;
|
|
@@ -156390,7 +158652,7 @@ module.exports =
|
|
|
156390
158652
|
// ESM COMPAT FLAG
|
|
156391
158653
|
__webpack_require__.r(__webpack_exports__);
|
|
156392
158654
|
|
|
156393
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
158655
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/upload/ImMultiImgUpload.vue?vue&type=template&id=56df7e15&scoped=true
|
|
156394
158656
|
var render = function render() {
|
|
156395
158657
|
var _vm = this,
|
|
156396
158658
|
_c = _vm._self._c;
|
|
@@ -196600,7 +198862,7 @@ module.exports = function (target, name, descriptor) {
|
|
|
196600
198862
|
// ESM COMPAT FLAG
|
|
196601
198863
|
__webpack_require__.r(__webpack_exports__);
|
|
196602
198864
|
|
|
196603
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
198865
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImButton.vue?vue&type=template&id=1b6e4273
|
|
196604
198866
|
var render = function render() {
|
|
196605
198867
|
var _vm = this,
|
|
196606
198868
|
_c = _vm._self._c;
|
|
@@ -198433,6 +200695,13 @@ module.exports = __webpack_require__("7f4d");
|
|
|
198433
200695
|
|
|
198434
200696
|
/***/ }),
|
|
198435
200697
|
|
|
200698
|
+
/***/ "f3c7":
|
|
200699
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
200700
|
+
|
|
200701
|
+
// extracted by mini-css-extract-plugin
|
|
200702
|
+
|
|
200703
|
+
/***/ }),
|
|
200704
|
+
|
|
198436
200705
|
/***/ "f477":
|
|
198437
200706
|
/***/ (function(module, exports, __webpack_require__) {
|
|
198438
200707
|
|
|
@@ -199167,7 +201436,7 @@ var virtual_windi = __webpack_require__("5a4b");
|
|
|
199167
201436
|
// EXTERNAL MODULE: ./node_modules/viewerjs/dist/viewer.css
|
|
199168
201437
|
var viewer = __webpack_require__("0808");
|
|
199169
201438
|
|
|
199170
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
201439
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImCard/index.vue?vue&type=template&id=11ff4f58&scoped=true
|
|
199171
201440
|
var render = function render() {
|
|
199172
201441
|
var _vm = this,
|
|
199173
201442
|
_c = _vm._self._c;
|
|
@@ -199225,7 +201494,7 @@ var ImCard_component = Object(componentNormalizer["a" /* default */])(
|
|
|
199225
201494
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
|
|
199226
201495
|
var es_array_concat = __webpack_require__("99af");
|
|
199227
201496
|
|
|
199228
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
201497
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImDialog/index.vue?vue&type=template&id=285f8cb1&scoped=true
|
|
199229
201498
|
|
|
199230
201499
|
var ImDialogvue_type_template_id_285f8cb1_scoped_true_render = function render() {
|
|
199231
201500
|
var _vm = this,
|
|
@@ -199369,7 +201638,7 @@ var ImDialog_component = Object(componentNormalizer["a" /* default */])(
|
|
|
199369
201638
|
)
|
|
199370
201639
|
|
|
199371
201640
|
/* harmony default export */ var ImDialog = (ImDialog_component.exports);
|
|
199372
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
201641
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImDrawer/index.vue?vue&type=template&id=29483507&scoped=true
|
|
199373
201642
|
var ImDrawervue_type_template_id_29483507_scoped_true_render = function render() {
|
|
199374
201643
|
var _vm = this,
|
|
199375
201644
|
_c = _vm._self._c;
|
|
@@ -199487,7 +201756,7 @@ var ImDrawer_component = Object(componentNormalizer["a" /* default */])(
|
|
|
199487
201756
|
)
|
|
199488
201757
|
|
|
199489
201758
|
/* harmony default export */ var ImDrawer = (ImDrawer_component.exports);
|
|
199490
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
201759
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImForm/index.vue?vue&type=template&id=35e9de13&scoped=true
|
|
199491
201760
|
var ImFormvue_type_template_id_35e9de13_scoped_true_render = function render() {
|
|
199492
201761
|
var _vm = this,
|
|
199493
201762
|
_c = _vm._self._c;
|
|
@@ -199758,7 +202027,7 @@ var es_object_keys = __webpack_require__("b64b");
|
|
|
199758
202027
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
|
|
199759
202028
|
var es_regexp_to_string = __webpack_require__("25f0");
|
|
199760
202029
|
|
|
199761
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
202030
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImForm/FormComponents.vue?vue&type=template&id=356304c0
|
|
199762
202031
|
var FormComponentsvue_type_template_id_356304c0_render = function render() {
|
|
199763
202032
|
var _vm = this,
|
|
199764
202033
|
_c = _vm._self._c;
|
|
@@ -199849,7 +202118,7 @@ var es_array_includes = __webpack_require__("caad");
|
|
|
199849
202118
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
|
|
199850
202119
|
var es_string_includes = __webpack_require__("2532");
|
|
199851
202120
|
|
|
199852
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
202121
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImForm/components/FilterCustomSettingModal.vue?vue&type=template&id=61feb7a8&scoped=true
|
|
199853
202122
|
|
|
199854
202123
|
|
|
199855
202124
|
var FilterCustomSettingModalvue_type_template_id_61feb7a8_scoped_true_render = function render() {
|
|
@@ -200639,7 +202908,7 @@ var ImForm_component = Object(componentNormalizer["a" /* default */])(
|
|
|
200639
202908
|
)
|
|
200640
202909
|
|
|
200641
202910
|
/* harmony default export */ var ImForm = (ImForm_component.exports);
|
|
200642
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
202911
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImPagination/index.vue?vue&type=template&id=6f76a067
|
|
200643
202912
|
var ImPaginationvue_type_template_id_6f76a067_render = function render() {
|
|
200644
202913
|
var _vm = this,
|
|
200645
202914
|
_c = _vm._self._c;
|
|
@@ -200776,7 +203045,7 @@ var ImPagination_component = Object(componentNormalizer["a" /* default */])(
|
|
|
200776
203045
|
)
|
|
200777
203046
|
|
|
200778
203047
|
/* harmony default export */ var ImPagination = (ImPagination_component.exports);
|
|
200779
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203048
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImSearchArea/index.vue?vue&type=template&id=1b4f9e72&scoped=true
|
|
200780
203049
|
var ImSearchAreavue_type_template_id_1b4f9e72_scoped_true_render = function render() {
|
|
200781
203050
|
var _vm = this,
|
|
200782
203051
|
_c = _vm._self._c;
|
|
@@ -200884,7 +203153,7 @@ var ImSearchArea_component = Object(componentNormalizer["a" /* default */])(
|
|
|
200884
203153
|
)
|
|
200885
203154
|
|
|
200886
203155
|
/* harmony default export */ var ImSearchArea = (ImSearchArea_component.exports);
|
|
200887
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203156
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImTable/index.vue?vue&type=template&id=9d34b7e8&scoped=true
|
|
200888
203157
|
var ImTablevue_type_template_id_9d34b7e8_scoped_true_render = function render() {
|
|
200889
203158
|
var _vm = this,
|
|
200890
203159
|
_c = _vm._self._c;
|
|
@@ -200974,7 +203243,7 @@ var ImTablevue_type_template_id_9d34b7e8_scoped_true_staticRenderFns = [];
|
|
|
200974
203243
|
|
|
200975
203244
|
// CONCATENATED MODULE: ./src/imui/src/ImTable/index.vue?vue&type=template&id=9d34b7e8&scoped=true
|
|
200976
203245
|
|
|
200977
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203246
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImTable/AffixedTable.vue?vue&type=template&id=fbf8607a
|
|
200978
203247
|
var AffixedTablevue_type_template_id_fbf8607a_render = function render() {
|
|
200979
203248
|
var _vm = this,
|
|
200980
203249
|
_c = _vm._self._c;
|
|
@@ -201129,7 +203398,7 @@ var AffixedTable_component = Object(componentNormalizer["a" /* default */])(
|
|
|
201129
203398
|
)
|
|
201130
203399
|
|
|
201131
203400
|
/* harmony default export */ var AffixedTable = (AffixedTable_component.exports);
|
|
201132
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203401
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImTable/VirtualScroll.vue?vue&type=template&id=4fed4559
|
|
201133
203402
|
var VirtualScrollvue_type_template_id_4fed4559_render = function render() {
|
|
201134
203403
|
var _vm = this,
|
|
201135
203404
|
_c = _vm._self._c;
|
|
@@ -201233,7 +203502,7 @@ var VirtualScroll_component = Object(componentNormalizer["a" /* default */])(
|
|
|
201233
203502
|
)
|
|
201234
203503
|
|
|
201235
203504
|
/* harmony default export */ var VirtualScroll = (VirtualScroll_component.exports);
|
|
201236
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203505
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImTable/components/ImTableColumn.vue?vue&type=template&id=a30c0c32
|
|
201237
203506
|
var ImTableColumnvue_type_template_id_a30c0c32_render = function render() {
|
|
201238
203507
|
var _vm = this,
|
|
201239
203508
|
_c = _vm._self._c;
|
|
@@ -201354,7 +203623,7 @@ var ImTableColumn_component = Object(componentNormalizer["a" /* default */])(
|
|
|
201354
203623
|
)
|
|
201355
203624
|
|
|
201356
203625
|
/* harmony default export */ var ImTableColumn = (ImTableColumn_component.exports);
|
|
201357
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203626
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImTable/components/TableCustomSettingModal.vue?vue&type=template&id=966c0fa2
|
|
201358
203627
|
var TableCustomSettingModalvue_type_template_id_966c0fa2_render = function render() {
|
|
201359
203628
|
var _vm = this,
|
|
201360
203629
|
_c = _vm._self._c;
|
|
@@ -201379,7 +203648,7 @@ var TableCustomSettingModalvue_type_template_id_966c0fa2_staticRenderFns = [];
|
|
|
201379
203648
|
|
|
201380
203649
|
// CONCATENATED MODULE: ./src/imui/src/ImTable/components/TableCustomSettingModal.vue?vue&type=template&id=966c0fa2
|
|
201381
203650
|
|
|
201382
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203651
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImTable/components/ImFieldsEditor/index.vue?vue&type=template&id=2967d530&scoped=true
|
|
201383
203652
|
|
|
201384
203653
|
|
|
201385
203654
|
var ImFieldsEditorvue_type_template_id_2967d530_scoped_true_render = function render() {
|
|
@@ -201518,7 +203787,7 @@ var regeneratorRuntime = __webpack_require__("c7eb");
|
|
|
201518
203787
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
201519
203788
|
var asyncToGenerator = __webpack_require__("1da1");
|
|
201520
203789
|
|
|
201521
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203790
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImTable/components/ImFieldsEditor/widget/ExcelEditor.vue?vue&type=template&id=91b0abec&scoped=true
|
|
201522
203791
|
var ExcelEditorvue_type_template_id_91b0abec_scoped_true_render = function render() {
|
|
201523
203792
|
var _vm = this,
|
|
201524
203793
|
_c = _vm._self._c;
|
|
@@ -202376,7 +204645,7 @@ var ImTable_component = Object(componentNormalizer["a" /* default */])(
|
|
|
202376
204645
|
)
|
|
202377
204646
|
|
|
202378
204647
|
/* harmony default export */ var ImTable = (ImTable_component.exports);
|
|
202379
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
204648
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImTableArea/index.vue?vue&type=template&id=7bf010fa
|
|
202380
204649
|
var ImTableAreavue_type_template_id_7bf010fa_render = function render() {
|
|
202381
204650
|
var _vm = this,
|
|
202382
204651
|
_c = _vm._self._c;
|
|
@@ -202407,7 +204676,7 @@ var ImTableArea_component = Object(componentNormalizer["a" /* default */])(
|
|
|
202407
204676
|
)
|
|
202408
204677
|
|
|
202409
204678
|
/* harmony default export */ var ImTableArea = (ImTableArea_component.exports);
|
|
202410
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
204679
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImWrapper/index.vue?vue&type=template&id=7441841e
|
|
202411
204680
|
var ImWrappervue_type_template_id_7441841e_render = function render() {
|
|
202412
204681
|
var _vm = this,
|
|
202413
204682
|
_c = _vm._self._c;
|
|
@@ -202462,7 +204731,7 @@ var ImWrapper_component = Object(componentNormalizer["a" /* default */])(
|
|
|
202462
204731
|
)
|
|
202463
204732
|
|
|
202464
204733
|
/* harmony default export */ var ImWrapper = (ImWrapper_component.exports);
|
|
202465
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
204734
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImTableCellWithBorder/index.vue?vue&type=template&id=49945022&scoped=true
|
|
202466
204735
|
var ImTableCellWithBordervue_type_template_id_49945022_scoped_true_render = function render() {
|
|
202467
204736
|
var _vm = this,
|
|
202468
204737
|
_c = _vm._self._c;
|
|
@@ -202536,7 +204805,7 @@ var ImTableCellWithBorder_component = Object(componentNormalizer["a" /* default
|
|
|
202536
204805
|
)
|
|
202537
204806
|
|
|
202538
204807
|
/* harmony default export */ var ImTableCellWithBorder = (ImTableCellWithBorder_component.exports);
|
|
202539
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
204808
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImLoading/index.vue?vue&type=template&id=26a57fc3
|
|
202540
204809
|
var ImLoadingvue_type_template_id_26a57fc3_render = function render() {
|
|
202541
204810
|
var _vm = this,
|
|
202542
204811
|
_c = _vm._self._c;
|
|
@@ -202589,7 +204858,7 @@ var ImLoading_component = Object(componentNormalizer["a" /* default */])(
|
|
|
202589
204858
|
)
|
|
202590
204859
|
|
|
202591
204860
|
/* harmony default export */ var ImLoading = (ImLoading_component.exports);
|
|
202592
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
204861
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormWidgets/CardHeader.vue?vue&type=template&id=67efff71&scoped=true
|
|
202593
204862
|
var CardHeadervue_type_template_id_67efff71_scoped_true_render = function render() {
|
|
202594
204863
|
var _vm = this,
|
|
202595
204864
|
_c = _vm._self._c;
|
|
@@ -202639,7 +204908,7 @@ var CardHeader_component = Object(componentNormalizer["a" /* default */])(
|
|
|
202639
204908
|
)
|
|
202640
204909
|
|
|
202641
204910
|
/* harmony default export */ var CardHeader = (CardHeader_component.exports);
|
|
202642
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
204911
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormWidgets/FormSplit.vue?vue&type=template&id=9a4f854c&scoped=true
|
|
202643
204912
|
var FormSplitvue_type_template_id_9a4f854c_scoped_true_render = function render() {
|
|
202644
204913
|
var _vm = this,
|
|
202645
204914
|
_c = _vm._self._c;
|
|
@@ -202691,7 +204960,7 @@ var FormSplit_component = Object(componentNormalizer["a" /* default */])(
|
|
|
202691
204960
|
)
|
|
202692
204961
|
|
|
202693
204962
|
/* harmony default export */ var FormSplit = (FormSplit_component.exports);
|
|
202694
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
204963
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormWidgets/FixedBottom.vue?vue&type=template&id=ad1f3b18&scoped=true
|
|
202695
204964
|
var FixedBottomvue_type_template_id_ad1f3b18_scoped_true_render = function render() {
|
|
202696
204965
|
var _vm = this,
|
|
202697
204966
|
_c = _vm._self._c;
|
|
@@ -202786,7 +205055,7 @@ uploadComponent.keys().forEach(function (fileName) {
|
|
|
202786
205055
|
defaultObj[componentName] = componentConfig.default || componentConfig;
|
|
202787
205056
|
});
|
|
202788
205057
|
/* harmony default export */ var src_FormComponents = (defaultObj);
|
|
202789
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
205058
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/pages/FormConfigPage/index.vue?vue&type=template&id=f3b8846c&scoped=true
|
|
202790
205059
|
var FormConfigPagevue_type_template_id_f3b8846c_scoped_true_render = function render() {
|
|
202791
205060
|
var _vm = this,
|
|
202792
205061
|
_c = _vm._self._c;
|
|
@@ -202832,7 +205101,7 @@ var FormConfigPagevue_type_template_id_f3b8846c_scoped_true_staticRenderFns = []
|
|
|
202832
205101
|
|
|
202833
205102
|
// CONCATENATED MODULE: ./src/imui/pages/FormConfigPage/index.vue?vue&type=template&id=f3b8846c&scoped=true
|
|
202834
205103
|
|
|
202835
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
205104
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/pages/FormConfigPage/components/ConfigHeader.vue?vue&type=template&id=3d363a68&scoped=true
|
|
202836
205105
|
var ConfigHeadervue_type_template_id_3d363a68_scoped_true_render = function render() {
|
|
202837
205106
|
var _vm = this,
|
|
202838
205107
|
_c = _vm._self._c;
|
|
@@ -202959,7 +205228,7 @@ var ConfigHeader_component = Object(componentNormalizer["a" /* default */])(
|
|
|
202959
205228
|
)
|
|
202960
205229
|
|
|
202961
205230
|
/* harmony default export */ var ConfigHeader = (ConfigHeader_component.exports);
|
|
202962
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
205231
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/pages/FormConfigPage/FormConfiguration/index.vue?vue&type=template&id=6e73dcb8&scoped=true
|
|
202963
205232
|
var FormConfigurationvue_type_template_id_6e73dcb8_scoped_true_render = function render() {
|
|
202964
205233
|
var _vm = this,
|
|
202965
205234
|
_c = _vm._self._c;
|
|
@@ -203057,7 +205326,7 @@ function getDaysBetweenDates(date) {
|
|
|
203057
205326
|
return '';
|
|
203058
205327
|
}
|
|
203059
205328
|
}
|
|
203060
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
205329
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/pages/FormConfigPage/FormConfiguration/FieldListToDrag.vue?vue&type=template&id=6b49dbef&scoped=true
|
|
203061
205330
|
var FieldListToDragvue_type_template_id_6b49dbef_scoped_true_render = function render() {
|
|
203062
205331
|
var _vm = this,
|
|
203063
205332
|
_c = _vm._self._c;
|
|
@@ -203537,7 +205806,7 @@ var FieldListToDrag_component = Object(componentNormalizer["a" /* default */])(
|
|
|
203537
205806
|
)
|
|
203538
205807
|
|
|
203539
205808
|
/* harmony default export */ var FieldListToDrag = (FieldListToDrag_component.exports);
|
|
203540
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
205809
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/pages/FormConfigPage/FieldConfigurate/FieldConfigs.vue?vue&type=template&id=f605c1be&scoped=true
|
|
203541
205810
|
|
|
203542
205811
|
var FieldConfigsvue_type_template_id_f605c1be_scoped_true_render = function render() {
|
|
203543
205812
|
var _vm = this,
|
|
@@ -203872,7 +206141,7 @@ var FieldConfigsvue_type_template_id_f605c1be_scoped_true_staticRenderFns = [];
|
|
|
203872
206141
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
203873
206142
|
var es_function_name = __webpack_require__("b0c0");
|
|
203874
206143
|
|
|
203875
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
206144
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/pages/FormConfigPage/FieldConfigurate/widgets/RadioSelect.vue?vue&type=template&id=caf18b06&scoped=true
|
|
203876
206145
|
var RadioSelectvue_type_template_id_caf18b06_scoped_true_render = function render() {
|
|
203877
206146
|
var _vm = this,
|
|
203878
206147
|
_c = _vm._self._c;
|
|
@@ -203982,7 +206251,7 @@ var RadioSelect_component = Object(componentNormalizer["a" /* default */])(
|
|
|
203982
206251
|
)
|
|
203983
206252
|
|
|
203984
206253
|
/* harmony default export */ var RadioSelect = (RadioSelect_component.exports);
|
|
203985
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
206254
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/pages/FormConfigPage/FieldConfigurate/widgets/OptionsSetting.vue?vue&type=template&id=c1c234e6&scoped=true
|
|
203986
206255
|
var OptionsSettingvue_type_template_id_c1c234e6_scoped_true_render = function render() {
|
|
203987
206256
|
var _vm = this,
|
|
203988
206257
|
_c = _vm._self._c;
|
|
@@ -204310,7 +206579,7 @@ var OptionsSetting_component = Object(componentNormalizer["a" /* default */])(
|
|
|
204310
206579
|
)
|
|
204311
206580
|
|
|
204312
206581
|
/* harmony default export */ var OptionsSetting = (OptionsSetting_component.exports);
|
|
204313
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
206582
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/pages/FormConfigPage/FieldConfigurate/widgets/DefaultSetting.vue?vue&type=template&id=50f667ba&scoped=true
|
|
204314
206583
|
var DefaultSettingvue_type_template_id_50f667ba_scoped_true_render = function render() {
|
|
204315
206584
|
var _vm = this,
|
|
204316
206585
|
_c = _vm._self._c;
|
|
@@ -204654,7 +206923,7 @@ var DefaultSetting_component = Object(componentNormalizer["a" /* default */])(
|
|
|
204654
206923
|
)
|
|
204655
206924
|
|
|
204656
206925
|
/* harmony default export */ var DefaultSetting = (DefaultSetting_component.exports);
|
|
204657
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
206926
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/pages/FormConfigPage/FieldConfigurate/widgets/TagCodeSelect.vue?vue&type=template&id=1b0dd909
|
|
204658
206927
|
|
|
204659
206928
|
|
|
204660
206929
|
var TagCodeSelectvue_type_template_id_1b0dd909_render = function render() {
|
|
@@ -205310,7 +207579,7 @@ var FieldConfigs_component = Object(componentNormalizer["a" /* default */])(
|
|
|
205310
207579
|
)
|
|
205311
207580
|
|
|
205312
207581
|
/* harmony default export */ var FieldConfigs = (FieldConfigs_component.exports);
|
|
205313
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
207582
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/pages/FormConfigPage/FormConfiguration/FormRender.vue?vue&type=template&id=22847edb&scoped=true
|
|
205314
207583
|
var FormRendervue_type_template_id_22847edb_scoped_true_render = function render() {
|
|
205315
207584
|
var _vm = this,
|
|
205316
207585
|
_c = _vm._self._c;
|
|
@@ -205707,7 +207976,7 @@ var FormConfiguration_component = Object(componentNormalizer["a" /* default */])
|
|
|
205707
207976
|
)
|
|
205708
207977
|
|
|
205709
207978
|
/* harmony default export */ var FormConfiguration = (FormConfiguration_component.exports);
|
|
205710
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
207979
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/pages/FormConfigPage/components/ViewConfigDialog.vue?vue&type=template&id=0dc2e9b2&scoped=true
|
|
205711
207980
|
var ViewConfigDialogvue_type_template_id_0dc2e9b2_scoped_true_render = function render() {
|
|
205712
207981
|
var _vm = this,
|
|
205713
207982
|
_c = _vm._self._c;
|
|
@@ -205745,7 +208014,7 @@ var ViewConfigDialogvue_type_template_id_0dc2e9b2_scoped_true_staticRenderFns =
|
|
|
205745
208014
|
|
|
205746
208015
|
// CONCATENATED MODULE: ./src/imui/pages/FormConfigPage/components/ViewConfigDialog.vue?vue&type=template&id=0dc2e9b2&scoped=true
|
|
205747
208016
|
|
|
205748
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
208017
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/vue-json-editor/vue-json-editor.vue?vue&type=template&id=9b72cb1a&scoped=true
|
|
205749
208018
|
var vue_json_editorvue_type_template_id_9b72cb1a_scoped_true_render = function render() {
|
|
205750
208019
|
var _vm = this,
|
|
205751
208020
|
_c = _vm._self._c;
|