imeik-imui 2.2.2 → 2.2.5
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 +2401 -134
- 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 +2401 -134
- 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
|
@@ -1049,7 +1049,7 @@ module.exports = function repeat(count) {
|
|
|
1049
1049
|
// ESM COMPAT FLAG
|
|
1050
1050
|
__webpack_require__.r(__webpack_exports__);
|
|
1051
1051
|
|
|
1052
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1052
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"bec69a46-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=39b09fbf&scoped=true
|
|
1053
1053
|
var render = function render() {
|
|
1054
1054
|
var _vm = this,
|
|
1055
1055
|
_c = _vm._self._c;
|
|
@@ -1061,12 +1061,17 @@ var render = function render() {
|
|
|
1061
1061
|
return _c('div', {
|
|
1062
1062
|
key: index,
|
|
1063
1063
|
staticClass: "preview-item"
|
|
1064
|
-
}, [recordingUrl ? _c('
|
|
1064
|
+
}, [recordingUrl ? [_vm.isJSON(recordingUrl.url) ? _c('img', {
|
|
1065
1065
|
staticClass: "video-preview",
|
|
1066
1066
|
attrs: {
|
|
1067
|
-
"src":
|
|
1067
|
+
"src": "https://udstatic.imeik.com/pcUploads/1733389098496/video_holder.png"
|
|
1068
1068
|
}
|
|
1069
|
-
}) : _c('
|
|
1069
|
+
}) : _c('img', {
|
|
1070
|
+
staticClass: "video-preview",
|
|
1071
|
+
attrs: {
|
|
1072
|
+
"src": "".concat(recordingUrl.url, "?x-oss-process=video/snapshot,t_1000,f_jpg,w_1140,h_640")
|
|
1073
|
+
}
|
|
1074
|
+
})] : _c('ImLoading'), recordingUrl ? _c('div', {
|
|
1070
1075
|
staticClass: "play-btn",
|
|
1071
1076
|
on: {
|
|
1072
1077
|
"click": function click($event) {
|
|
@@ -1092,7 +1097,7 @@ var render = function render() {
|
|
|
1092
1097
|
"src": "https://udstatic.imeik.com/pcUploads/1732247355378/delete-icon.png",
|
|
1093
1098
|
"alt": "删除"
|
|
1094
1099
|
}
|
|
1095
|
-
})])]) : _vm._e()],
|
|
1100
|
+
})])]) : _vm._e()], 2);
|
|
1096
1101
|
}), !_vm.isView && _vm.fileList.length < _vm.maxfileList ? _c('el-upload', _vm._g({
|
|
1097
1102
|
class: {
|
|
1098
1103
|
hide: _vm.hideUpload
|
|
@@ -1143,21 +1148,15 @@ var render = function render() {
|
|
|
1143
1148
|
_vm.dialogVisible = $event;
|
|
1144
1149
|
}
|
|
1145
1150
|
}
|
|
1146
|
-
}, [
|
|
1147
|
-
staticStyle: {
|
|
1148
|
-
"width": "100%",
|
|
1149
|
-
"max-height": "70vh"
|
|
1150
|
-
},
|
|
1151
|
+
}, [_c('RecordPreview', {
|
|
1151
1152
|
attrs: {
|
|
1152
|
-
"src": _vm.currentVideoUrl
|
|
1153
|
-
"controls": "",
|
|
1154
|
-
"autoplay": ""
|
|
1153
|
+
"src": _vm.currentVideoUrl
|
|
1155
1154
|
}
|
|
1156
|
-
})
|
|
1155
|
+
})], 1)], 1);
|
|
1157
1156
|
};
|
|
1158
1157
|
var staticRenderFns = [];
|
|
1159
1158
|
|
|
1160
|
-
// CONCATENATED MODULE: ./src/imui/src/FormComponents/upload/ImMultiVideoUpload.vue?vue&type=template&id=
|
|
1159
|
+
// CONCATENATED MODULE: ./src/imui/src/FormComponents/upload/ImMultiVideoUpload.vue?vue&type=template&id=39b09fbf&scoped=true
|
|
1161
1160
|
|
|
1162
1161
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js
|
|
1163
1162
|
var regeneratorRuntime = __webpack_require__("c7eb");
|
|
@@ -1198,6 +1197,9 @@ var es_object_keys = __webpack_require__("b64b");
|
|
|
1198
1197
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
|
|
1199
1198
|
var es_object_to_string = __webpack_require__("d3b7");
|
|
1200
1199
|
|
|
1200
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.ends-with.js
|
|
1201
|
+
var es_string_ends_with = __webpack_require__("8a79");
|
|
1202
|
+
|
|
1201
1203
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.iterator.js
|
|
1202
1204
|
var es_string_iterator = __webpack_require__("3ca3");
|
|
1203
1205
|
|
|
@@ -1222,6 +1224,172 @@ var web_url_search_params_size = __webpack_require__("5494");
|
|
|
1222
1224
|
// EXTERNAL MODULE: ./src/imui/src/FormComponents/upload/upload.js
|
|
1223
1225
|
var upload = __webpack_require__("3f24");
|
|
1224
1226
|
|
|
1227
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"bec69a46-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
|
|
1228
|
+
var RecordPreviewvue_type_template_id_598823ea_scoped_true_render = function render() {
|
|
1229
|
+
var _vm = this,
|
|
1230
|
+
_c = _vm._self._c;
|
|
1231
|
+
return _c('div', {
|
|
1232
|
+
ref: "previewContainer",
|
|
1233
|
+
staticClass: "preview-container"
|
|
1234
|
+
});
|
|
1235
|
+
};
|
|
1236
|
+
var RecordPreviewvue_type_template_id_598823ea_scoped_true_staticRenderFns = [];
|
|
1237
|
+
|
|
1238
|
+
// CONCATENATED MODULE: ./src/imui/src/FormComponents/upload/widgets/RecordPreview.vue?vue&type=template&id=598823ea&scoped=true
|
|
1239
|
+
|
|
1240
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
1241
|
+
var es_promise = __webpack_require__("e6cf");
|
|
1242
|
+
|
|
1243
|
+
// EXTERNAL MODULE: ./node_modules/rrweb-player/dist/index.mjs
|
|
1244
|
+
var dist = __webpack_require__("c1c8");
|
|
1245
|
+
|
|
1246
|
+
// EXTERNAL MODULE: ./node_modules/rrweb-player/dist/style.css
|
|
1247
|
+
var style = __webpack_require__("2a00");
|
|
1248
|
+
|
|
1249
|
+
// 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
|
|
1250
|
+
|
|
1251
|
+
|
|
1252
|
+
|
|
1253
|
+
|
|
1254
|
+
|
|
1255
|
+
|
|
1256
|
+
|
|
1257
|
+
/* harmony default export */ var RecordPreviewvue_type_script_lang_js = ({
|
|
1258
|
+
name: 'RrwebPlayer',
|
|
1259
|
+
props: {
|
|
1260
|
+
src: {
|
|
1261
|
+
type: String,
|
|
1262
|
+
required: true
|
|
1263
|
+
}
|
|
1264
|
+
},
|
|
1265
|
+
data: function data() {
|
|
1266
|
+
return {
|
|
1267
|
+
events: []
|
|
1268
|
+
};
|
|
1269
|
+
},
|
|
1270
|
+
computed: {
|
|
1271
|
+
isNormalVideo: function isNormalVideo() {
|
|
1272
|
+
var _this = this;
|
|
1273
|
+
var videoExtensions = ['.mp4', '.webm', '.ogg', '.mov'];
|
|
1274
|
+
return videoExtensions.some(function (ext) {
|
|
1275
|
+
return _this.src.toLowerCase().endsWith(ext);
|
|
1276
|
+
});
|
|
1277
|
+
}
|
|
1278
|
+
},
|
|
1279
|
+
watch: {
|
|
1280
|
+
src: {
|
|
1281
|
+
handler: function handler(newVal) {
|
|
1282
|
+
console.log('src--', newVal);
|
|
1283
|
+
if (this.isNormalVideo) {
|
|
1284
|
+
this.initNormalVideo(newVal);
|
|
1285
|
+
} else {
|
|
1286
|
+
this.initRrwebPlayer(newVal);
|
|
1287
|
+
}
|
|
1288
|
+
}
|
|
1289
|
+
}
|
|
1290
|
+
},
|
|
1291
|
+
mounted: function mounted() {
|
|
1292
|
+
var _this2 = this;
|
|
1293
|
+
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee() {
|
|
1294
|
+
var response;
|
|
1295
|
+
return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee$(_context) {
|
|
1296
|
+
while (1) switch (_context.prev = _context.next) {
|
|
1297
|
+
case 0:
|
|
1298
|
+
_context.prev = 0;
|
|
1299
|
+
_context.next = 3;
|
|
1300
|
+
return fetch(_this2.src);
|
|
1301
|
+
case 3:
|
|
1302
|
+
response = _context.sent;
|
|
1303
|
+
_context.next = 6;
|
|
1304
|
+
return response.json();
|
|
1305
|
+
case 6:
|
|
1306
|
+
_this2.events = _context.sent;
|
|
1307
|
+
_context.next = 12;
|
|
1308
|
+
break;
|
|
1309
|
+
case 9:
|
|
1310
|
+
_context.prev = 9;
|
|
1311
|
+
_context.t0 = _context["catch"](0);
|
|
1312
|
+
console.error('加载录屏数据失败:', _context.t0);
|
|
1313
|
+
case 12:
|
|
1314
|
+
case "end":
|
|
1315
|
+
return _context.stop();
|
|
1316
|
+
}
|
|
1317
|
+
}, _callee, null, [[0, 9]]);
|
|
1318
|
+
}))();
|
|
1319
|
+
},
|
|
1320
|
+
methods: {
|
|
1321
|
+
initNormalVideo: function initNormalVideo(url) {
|
|
1322
|
+
var container = this.$refs.previewContainer;
|
|
1323
|
+
if (!container) return;
|
|
1324
|
+
container.innerHTML = '';
|
|
1325
|
+
var video = document.createElement('video');
|
|
1326
|
+
video.src = url;
|
|
1327
|
+
video.autoplay = true;
|
|
1328
|
+
video.controls = true;
|
|
1329
|
+
video.style.width = '100%';
|
|
1330
|
+
video.style.height = '100%';
|
|
1331
|
+
video.style.objectFit = 'contain';
|
|
1332
|
+
this.$refs.previewContainer.appendChild(video);
|
|
1333
|
+
},
|
|
1334
|
+
initRrwebPlayer: function initRrwebPlayer() {
|
|
1335
|
+
var _this3 = this;
|
|
1336
|
+
var container = this.$refs.previewContainer;
|
|
1337
|
+
if (!container) return;
|
|
1338
|
+
container.innerHTML = '';
|
|
1339
|
+
|
|
1340
|
+
// 获取容器的实际尺寸
|
|
1341
|
+
var containerWidth = container.clientWidth;
|
|
1342
|
+
var containerHeight = Math.min(window.innerHeight, containerWidth * 0.5625); // 16:9 比例
|
|
1343
|
+
|
|
1344
|
+
// 获取视频数据并播放
|
|
1345
|
+
fetch(this.src).then(function (response) {
|
|
1346
|
+
return response.json();
|
|
1347
|
+
}).then(function (events) {
|
|
1348
|
+
_this3.currentReplayer = new dist["a" /* default */]({
|
|
1349
|
+
target: container,
|
|
1350
|
+
props: {
|
|
1351
|
+
events: events,
|
|
1352
|
+
width: containerWidth,
|
|
1353
|
+
height: containerHeight
|
|
1354
|
+
}
|
|
1355
|
+
});
|
|
1356
|
+
_this3.currentReplayer.play();
|
|
1357
|
+
}).catch(function (err) {
|
|
1358
|
+
console.error('预览失败:', err);
|
|
1359
|
+
_this3.previewVisible = false;
|
|
1360
|
+
});
|
|
1361
|
+
}
|
|
1362
|
+
}
|
|
1363
|
+
});
|
|
1364
|
+
// CONCATENATED MODULE: ./src/imui/src/FormComponents/upload/widgets/RecordPreview.vue?vue&type=script&lang=js
|
|
1365
|
+
/* harmony default export */ var widgets_RecordPreviewvue_type_script_lang_js = (RecordPreviewvue_type_script_lang_js);
|
|
1366
|
+
// EXTERNAL MODULE: ./src/imui/src/FormComponents/upload/widgets/RecordPreview.vue?vue&type=style&index=0&id=598823ea&prod&scoped=true&lang=css
|
|
1367
|
+
var RecordPreviewvue_type_style_index_0_id_598823ea_prod_scoped_true_lang_css = __webpack_require__("a640b");
|
|
1368
|
+
|
|
1369
|
+
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
1370
|
+
var componentNormalizer = __webpack_require__("2877");
|
|
1371
|
+
|
|
1372
|
+
// CONCATENATED MODULE: ./src/imui/src/FormComponents/upload/widgets/RecordPreview.vue
|
|
1373
|
+
|
|
1374
|
+
|
|
1375
|
+
|
|
1376
|
+
|
|
1377
|
+
|
|
1378
|
+
|
|
1379
|
+
/* normalize component */
|
|
1380
|
+
|
|
1381
|
+
var component = Object(componentNormalizer["a" /* default */])(
|
|
1382
|
+
widgets_RecordPreviewvue_type_script_lang_js,
|
|
1383
|
+
RecordPreviewvue_type_template_id_598823ea_scoped_true_render,
|
|
1384
|
+
RecordPreviewvue_type_template_id_598823ea_scoped_true_staticRenderFns,
|
|
1385
|
+
false,
|
|
1386
|
+
null,
|
|
1387
|
+
"598823ea",
|
|
1388
|
+
null
|
|
1389
|
+
|
|
1390
|
+
)
|
|
1391
|
+
|
|
1392
|
+
/* harmony default export */ var RecordPreview = (component.exports);
|
|
1225
1393
|
// 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
1394
|
|
|
1227
1395
|
|
|
@@ -1241,11 +1409,16 @@ var upload = __webpack_require__("3f24");
|
|
|
1241
1409
|
|
|
1242
1410
|
|
|
1243
1411
|
|
|
1412
|
+
|
|
1413
|
+
|
|
1244
1414
|
|
|
1245
1415
|
|
|
1246
1416
|
|
|
1247
1417
|
/* harmony default export */ var ImMultiVideoUploadvue_type_script_lang_js = ({
|
|
1248
1418
|
name: 'RecordScreen',
|
|
1419
|
+
components: {
|
|
1420
|
+
RecordPreview: RecordPreview
|
|
1421
|
+
},
|
|
1249
1422
|
// 组件属性定义
|
|
1250
1423
|
props: {
|
|
1251
1424
|
value: {
|
|
@@ -1322,6 +1495,10 @@ var upload = __webpack_require__("3f24");
|
|
|
1322
1495
|
}
|
|
1323
1496
|
},
|
|
1324
1497
|
methods: {
|
|
1498
|
+
// 添加判断是否为 JSON 录屏文件的方法
|
|
1499
|
+
isJSON: function isJSON(url) {
|
|
1500
|
+
return url && url.endsWith('.json');
|
|
1501
|
+
},
|
|
1325
1502
|
// 设置组件内部的fileList值
|
|
1326
1503
|
setMyValue: function setMyValue(newVal) {
|
|
1327
1504
|
try {
|
|
@@ -1390,8 +1567,11 @@ var upload = __webpack_require__("3f24");
|
|
|
1390
1567
|
},
|
|
1391
1568
|
// 播放视频
|
|
1392
1569
|
playVideo: function playVideo(videoUrl) {
|
|
1393
|
-
|
|
1570
|
+
var _this2 = this;
|
|
1394
1571
|
this.dialogVisible = true;
|
|
1572
|
+
this.$nextTick(function () {
|
|
1573
|
+
_this2.currentVideoUrl = videoUrl;
|
|
1574
|
+
});
|
|
1395
1575
|
},
|
|
1396
1576
|
// 关闭视频播放弹窗
|
|
1397
1577
|
handleClose: function handleClose() {
|
|
@@ -1454,11 +1634,8 @@ var upload = __webpack_require__("3f24");
|
|
|
1454
1634
|
});
|
|
1455
1635
|
// CONCATENATED MODULE: ./src/imui/src/FormComponents/upload/ImMultiVideoUpload.vue?vue&type=script&lang=js
|
|
1456
1636
|
/* 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");
|
|
1637
|
+
// EXTERNAL MODULE: ./src/imui/src/FormComponents/upload/ImMultiVideoUpload.vue?vue&type=style&index=0&id=39b09fbf&prod&scoped=true&lang=scss
|
|
1638
|
+
var ImMultiVideoUploadvue_type_style_index_0_id_39b09fbf_prod_scoped_true_lang_scss = __webpack_require__("9726");
|
|
1462
1639
|
|
|
1463
1640
|
// CONCATENATED MODULE: ./src/imui/src/FormComponents/upload/ImMultiVideoUpload.vue
|
|
1464
1641
|
|
|
@@ -1469,18 +1646,18 @@ var componentNormalizer = __webpack_require__("2877");
|
|
|
1469
1646
|
|
|
1470
1647
|
/* normalize component */
|
|
1471
1648
|
|
|
1472
|
-
var
|
|
1649
|
+
var ImMultiVideoUpload_component = Object(componentNormalizer["a" /* default */])(
|
|
1473
1650
|
upload_ImMultiVideoUploadvue_type_script_lang_js,
|
|
1474
1651
|
render,
|
|
1475
1652
|
staticRenderFns,
|
|
1476
1653
|
false,
|
|
1477
1654
|
null,
|
|
1478
|
-
"
|
|
1655
|
+
"39b09fbf",
|
|
1479
1656
|
null
|
|
1480
1657
|
|
|
1481
1658
|
)
|
|
1482
1659
|
|
|
1483
|
-
/* harmony default export */ var ImMultiVideoUpload = __webpack_exports__["default"] = (
|
|
1660
|
+
/* harmony default export */ var ImMultiVideoUpload = __webpack_exports__["default"] = (ImMultiVideoUpload_component.exports);
|
|
1484
1661
|
|
|
1485
1662
|
/***/ }),
|
|
1486
1663
|
|
|
@@ -1530,6 +1707,13 @@ $({ target: 'Object', stat: true }, {
|
|
|
1530
1707
|
|
|
1531
1708
|
/***/ }),
|
|
1532
1709
|
|
|
1710
|
+
/***/ "1396":
|
|
1711
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1712
|
+
|
|
1713
|
+
// extracted by mini-css-extract-plugin
|
|
1714
|
+
|
|
1715
|
+
/***/ }),
|
|
1716
|
+
|
|
1533
1717
|
/***/ "13d2":
|
|
1534
1718
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1535
1719
|
|
|
@@ -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":"bec69a46-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":"bec69a46-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":"bec69a46-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":"bec69a46-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":"bec69a46-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":"bec69a46-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;
|
|
@@ -9666,13 +9850,6 @@ module.exports = function (fn) {
|
|
|
9666
9850
|
|
|
9667
9851
|
/***/ }),
|
|
9668
9852
|
|
|
9669
|
-
/***/ "4653":
|
|
9670
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9671
|
-
|
|
9672
|
-
// extracted by mini-css-extract-plugin
|
|
9673
|
-
|
|
9674
|
-
/***/ }),
|
|
9675
|
-
|
|
9676
9853
|
/***/ "467f":
|
|
9677
9854
|
/***/ (function(module, exports, __webpack_require__) {
|
|
9678
9855
|
|
|
@@ -14173,7 +14350,7 @@ module.exports = Array.isArray || function isArray(arg) {
|
|
|
14173
14350
|
// ESM COMPAT FLAG
|
|
14174
14351
|
__webpack_require__.r(__webpack_exports__);
|
|
14175
14352
|
|
|
14176
|
-
// 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":"bec69a46-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
|
|
14177
14354
|
var render = function render() {
|
|
14178
14355
|
var _vm = this,
|
|
14179
14356
|
_c = _vm._self._c;
|
|
@@ -15445,7 +15622,7 @@ function _typeof(o) {
|
|
|
15445
15622
|
// ESM COMPAT FLAG
|
|
15446
15623
|
__webpack_require__.r(__webpack_exports__);
|
|
15447
15624
|
|
|
15448
|
-
// 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":"bec69a46-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
|
|
15449
15626
|
var render = function render() {
|
|
15450
15627
|
var _vm = this,
|
|
15451
15628
|
_c = _vm._self._c;
|
|
@@ -70130,7 +70307,7 @@ module.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(func
|
|
|
70130
70307
|
// ESM COMPAT FLAG
|
|
70131
70308
|
__webpack_require__.r(__webpack_exports__);
|
|
70132
70309
|
|
|
70133
|
-
// 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":"bec69a46-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
|
|
70134
70311
|
var render = function render() {
|
|
70135
70312
|
var _vm = this,
|
|
70136
70313
|
_c = _vm._self._c;
|
|
@@ -70502,17 +70679,6 @@ var classof = __webpack_require__("c6b6");
|
|
|
70502
70679
|
module.exports = classof(global.process) === 'process';
|
|
70503
70680
|
|
|
70504
70681
|
|
|
70505
|
-
/***/ }),
|
|
70506
|
-
|
|
70507
|
-
/***/ "6061":
|
|
70508
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
70509
|
-
|
|
70510
|
-
"use strict";
|
|
70511
|
-
/* 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");
|
|
70512
|
-
/* 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__);
|
|
70513
|
-
/* unused harmony reexport * */
|
|
70514
|
-
|
|
70515
|
-
|
|
70516
70682
|
/***/ }),
|
|
70517
70683
|
|
|
70518
70684
|
/***/ "6062":
|
|
@@ -77160,7 +77326,7 @@ module.exports = function (CONSTRUCTOR_NAME, wrapper, common) {
|
|
|
77160
77326
|
// ESM COMPAT FLAG
|
|
77161
77327
|
__webpack_require__.r(__webpack_exports__);
|
|
77162
77328
|
|
|
77163
|
-
// 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":"bec69a46-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
|
|
77164
77330
|
var render = function render() {
|
|
77165
77331
|
var _vm = this,
|
|
77166
77332
|
_c = _vm._self._c;
|
|
@@ -78464,6 +78630,17 @@ module.exports = function ($this, dummy, Wrapper) {
|
|
|
78464
78630
|
};
|
|
78465
78631
|
|
|
78466
78632
|
|
|
78633
|
+
/***/ }),
|
|
78634
|
+
|
|
78635
|
+
/***/ "71ca":
|
|
78636
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
78637
|
+
|
|
78638
|
+
"use strict";
|
|
78639
|
+
/* 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_4202bce1_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1396");
|
|
78640
|
+
/* 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_4202bce1_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_4202bce1_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
78641
|
+
/* unused harmony reexport * */
|
|
78642
|
+
|
|
78643
|
+
|
|
78467
78644
|
/***/ }),
|
|
78468
78645
|
|
|
78469
78646
|
/***/ "722f":
|
|
@@ -78629,6 +78806,13 @@ module.exports = function (object, key, method) {
|
|
|
78629
78806
|
exports.f = Object.getOwnPropertySymbols;
|
|
78630
78807
|
|
|
78631
78808
|
|
|
78809
|
+
/***/ }),
|
|
78810
|
+
|
|
78811
|
+
/***/ "766a":
|
|
78812
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
78813
|
+
|
|
78814
|
+
// extracted by mini-css-extract-plugin
|
|
78815
|
+
|
|
78632
78816
|
/***/ }),
|
|
78633
78817
|
|
|
78634
78818
|
/***/ "77e9":
|
|
@@ -78746,17 +78930,6 @@ Cancel.prototype.__CANCEL__ = true;
|
|
|
78746
78930
|
module.exports = Cancel;
|
|
78747
78931
|
|
|
78748
78932
|
|
|
78749
|
-
/***/ }),
|
|
78750
|
-
|
|
78751
|
-
/***/ "7a91":
|
|
78752
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
78753
|
-
|
|
78754
|
-
"use strict";
|
|
78755
|
-
/* 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");
|
|
78756
|
-
/* 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__);
|
|
78757
|
-
/* unused harmony reexport * */
|
|
78758
|
-
|
|
78759
|
-
|
|
78760
78933
|
/***/ }),
|
|
78761
78934
|
|
|
78762
78935
|
/***/ "7aac":
|
|
@@ -78827,7 +79000,7 @@ module.exports = (
|
|
|
78827
79000
|
// ESM COMPAT FLAG
|
|
78828
79001
|
__webpack_require__.r(__webpack_exports__);
|
|
78829
79002
|
|
|
78830
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
79003
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"bec69a46-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=4202bce1&scoped=true
|
|
78831
79004
|
var render = function render() {
|
|
78832
79005
|
var _vm = this,
|
|
78833
79006
|
_c = _vm._self._c;
|
|
@@ -78842,7 +79015,14 @@ var render = function render() {
|
|
|
78842
79015
|
return _c('div', {
|
|
78843
79016
|
key: index,
|
|
78844
79017
|
staticClass: "item-view"
|
|
78845
|
-
}, [_c('
|
|
79018
|
+
}, [_vm.isSnapshotData(item) ? _c('div', {
|
|
79019
|
+
staticClass: "file-img-view"
|
|
79020
|
+
}, [_c('img', {
|
|
79021
|
+
attrs: {
|
|
79022
|
+
"src": "https://udstatic.imeik.com/pcUploads/1733389076794/image_holder.png",
|
|
79023
|
+
"alt": "快照预览"
|
|
79024
|
+
}
|
|
79025
|
+
})]) : _c('el-image', {
|
|
78846
79026
|
staticClass: "file-img-view",
|
|
78847
79027
|
attrs: {
|
|
78848
79028
|
"src": item,
|
|
@@ -78850,7 +79030,14 @@ var render = function render() {
|
|
|
78850
79030
|
}
|
|
78851
79031
|
}), _c('div', {
|
|
78852
79032
|
staticClass: "operate"
|
|
78853
|
-
}, [_c('i', {
|
|
79033
|
+
}, [_vm.isSnapshotData(item) ? _c('i', {
|
|
79034
|
+
staticClass: "el-icon-view",
|
|
79035
|
+
on: {
|
|
79036
|
+
"click": function click($event) {
|
|
79037
|
+
return _vm.showSnapshotView(item);
|
|
79038
|
+
}
|
|
79039
|
+
}
|
|
79040
|
+
}) : _c('i', {
|
|
78854
79041
|
staticClass: "el-icon-view",
|
|
78855
79042
|
on: {
|
|
78856
79043
|
"click": function click($event) {
|
|
@@ -78860,7 +79047,23 @@ var render = function render() {
|
|
|
78860
79047
|
}
|
|
78861
79048
|
}
|
|
78862
79049
|
})])], 1);
|
|
78863
|
-
}), 0)
|
|
79050
|
+
}), 0), _c('el-dialog', {
|
|
79051
|
+
attrs: {
|
|
79052
|
+
"title": "快照预览",
|
|
79053
|
+
"visible": _vm.snapshotDialogVisible,
|
|
79054
|
+
"width": "60%",
|
|
79055
|
+
"before-close": _vm.handleSnapshotDialogClose,
|
|
79056
|
+
"custom-class": "snapshot-dialog"
|
|
79057
|
+
},
|
|
79058
|
+
on: {
|
|
79059
|
+
"update:visible": function updateVisible($event) {
|
|
79060
|
+
_vm.snapshotDialogVisible = $event;
|
|
79061
|
+
}
|
|
79062
|
+
}
|
|
79063
|
+
}, [_c('div', {
|
|
79064
|
+
ref: "snapshotContainer",
|
|
79065
|
+
staticClass: "snapshot-container"
|
|
79066
|
+
})])], 1) : _c('el-upload', _vm._g(_vm._b({
|
|
78864
79067
|
ref: "upload",
|
|
78865
79068
|
class: {
|
|
78866
79069
|
hide: _vm.hideUpload
|
|
@@ -78888,29 +79091,1895 @@ var render = function render() {
|
|
|
78888
79091
|
};
|
|
78889
79092
|
var staticRenderFns = [];
|
|
78890
79093
|
|
|
78891
|
-
// CONCATENATED MODULE: ./src/imui/src/FormComponents/upload/ImMultiImgUploadList.vue?vue&type=template&id=
|
|
79094
|
+
// CONCATENATED MODULE: ./src/imui/src/FormComponents/upload/ImMultiImgUploadList.vue?vue&type=template&id=4202bce1&scoped=true
|
|
79095
|
+
|
|
79096
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js
|
|
79097
|
+
var regeneratorRuntime = __webpack_require__("c7eb");
|
|
79098
|
+
|
|
79099
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
79100
|
+
var asyncToGenerator = __webpack_require__("1da1");
|
|
79101
|
+
|
|
79102
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
|
|
79103
|
+
var es_array_filter = __webpack_require__("4de4");
|
|
78892
79104
|
|
|
78893
79105
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find-index.js
|
|
78894
79106
|
var es_array_find_index = __webpack_require__("c740");
|
|
78895
79107
|
|
|
79108
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
|
79109
|
+
var es_array_includes = __webpack_require__("caad");
|
|
79110
|
+
|
|
78896
79111
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
78897
79112
|
var es_array_push = __webpack_require__("14d9");
|
|
78898
79113
|
|
|
78899
79114
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.splice.js
|
|
78900
79115
|
var es_array_splice = __webpack_require__("a434");
|
|
78901
79116
|
|
|
79117
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
|
|
79118
|
+
var es_object_to_string = __webpack_require__("d3b7");
|
|
79119
|
+
|
|
79120
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
79121
|
+
var es_promise = __webpack_require__("e6cf");
|
|
79122
|
+
|
|
79123
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.ends-with.js
|
|
79124
|
+
var es_string_ends_with = __webpack_require__("8a79");
|
|
79125
|
+
|
|
79126
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
|
|
79127
|
+
var es_string_includes = __webpack_require__("2532");
|
|
79128
|
+
|
|
78902
79129
|
// EXTERNAL MODULE: ./src/imui/src/FormComponents/upload/upload.js
|
|
78903
79130
|
var upload = __webpack_require__("3f24");
|
|
78904
79131
|
|
|
78905
79132
|
// EXTERNAL MODULE: ./node_modules/element-ui/src/mixins/emitter.js
|
|
78906
79133
|
var emitter = __webpack_require__("f6f4");
|
|
78907
79134
|
|
|
79135
|
+
// CONCATENATED MODULE: ./node_modules/rrweb-snapshot/es/rrweb-snapshot.js
|
|
79136
|
+
var NodeType;
|
|
79137
|
+
(function (NodeType) {
|
|
79138
|
+
NodeType[NodeType["Document"] = 0] = "Document";
|
|
79139
|
+
NodeType[NodeType["DocumentType"] = 1] = "DocumentType";
|
|
79140
|
+
NodeType[NodeType["Element"] = 2] = "Element";
|
|
79141
|
+
NodeType[NodeType["Text"] = 3] = "Text";
|
|
79142
|
+
NodeType[NodeType["CDATA"] = 4] = "CDATA";
|
|
79143
|
+
NodeType[NodeType["Comment"] = 5] = "Comment";
|
|
79144
|
+
})(NodeType || (NodeType = {}));
|
|
79145
|
+
|
|
79146
|
+
function isElement(n) {
|
|
79147
|
+
return n.nodeType === n.ELEMENT_NODE;
|
|
79148
|
+
}
|
|
79149
|
+
function isShadowRoot(n) {
|
|
79150
|
+
var host = n === null || n === void 0 ? void 0 : n.host;
|
|
79151
|
+
return Boolean((host === null || host === void 0 ? void 0 : host.shadowRoot) === n);
|
|
79152
|
+
}
|
|
79153
|
+
function isNativeShadowDom(shadowRoot) {
|
|
79154
|
+
return Object.prototype.toString.call(shadowRoot) === '[object ShadowRoot]';
|
|
79155
|
+
}
|
|
79156
|
+
function fixBrowserCompatibilityIssuesInCSS(cssText) {
|
|
79157
|
+
if (cssText.includes(' background-clip: text;') &&
|
|
79158
|
+
!cssText.includes(' -webkit-background-clip: text;')) {
|
|
79159
|
+
cssText = cssText.replace(' background-clip: text;', ' -webkit-background-clip: text; background-clip: text;');
|
|
79160
|
+
}
|
|
79161
|
+
return cssText;
|
|
79162
|
+
}
|
|
79163
|
+
function getCssRulesString(s) {
|
|
79164
|
+
try {
|
|
79165
|
+
var rules = s.rules || s.cssRules;
|
|
79166
|
+
return rules
|
|
79167
|
+
? fixBrowserCompatibilityIssuesInCSS(Array.from(rules).map(getCssRuleString).join(''))
|
|
79168
|
+
: null;
|
|
79169
|
+
}
|
|
79170
|
+
catch (error) {
|
|
79171
|
+
return null;
|
|
79172
|
+
}
|
|
79173
|
+
}
|
|
79174
|
+
function getCssRuleString(rule) {
|
|
79175
|
+
var cssStringified = rule.cssText;
|
|
79176
|
+
if (isCSSImportRule(rule)) {
|
|
79177
|
+
try {
|
|
79178
|
+
cssStringified = getCssRulesString(rule.styleSheet) || cssStringified;
|
|
79179
|
+
}
|
|
79180
|
+
catch (_a) {
|
|
79181
|
+
}
|
|
79182
|
+
}
|
|
79183
|
+
return cssStringified;
|
|
79184
|
+
}
|
|
79185
|
+
function isCSSImportRule(rule) {
|
|
79186
|
+
return 'styleSheet' in rule;
|
|
79187
|
+
}
|
|
79188
|
+
var Mirror = (function () {
|
|
79189
|
+
function Mirror() {
|
|
79190
|
+
this.idNodeMap = new Map();
|
|
79191
|
+
this.nodeMetaMap = new WeakMap();
|
|
79192
|
+
}
|
|
79193
|
+
Mirror.prototype.getId = function (n) {
|
|
79194
|
+
var _a;
|
|
79195
|
+
if (!n)
|
|
79196
|
+
return -1;
|
|
79197
|
+
var id = (_a = this.getMeta(n)) === null || _a === void 0 ? void 0 : _a.id;
|
|
79198
|
+
return id !== null && id !== void 0 ? id : -1;
|
|
79199
|
+
};
|
|
79200
|
+
Mirror.prototype.getNode = function (id) {
|
|
79201
|
+
return this.idNodeMap.get(id) || null;
|
|
79202
|
+
};
|
|
79203
|
+
Mirror.prototype.getIds = function () {
|
|
79204
|
+
return Array.from(this.idNodeMap.keys());
|
|
79205
|
+
};
|
|
79206
|
+
Mirror.prototype.getMeta = function (n) {
|
|
79207
|
+
return this.nodeMetaMap.get(n) || null;
|
|
79208
|
+
};
|
|
79209
|
+
Mirror.prototype.removeNodeFromMap = function (n) {
|
|
79210
|
+
var _this = this;
|
|
79211
|
+
var id = this.getId(n);
|
|
79212
|
+
this.idNodeMap["delete"](id);
|
|
79213
|
+
if (n.childNodes) {
|
|
79214
|
+
n.childNodes.forEach(function (childNode) {
|
|
79215
|
+
return _this.removeNodeFromMap(childNode);
|
|
79216
|
+
});
|
|
79217
|
+
}
|
|
79218
|
+
};
|
|
79219
|
+
Mirror.prototype.has = function (id) {
|
|
79220
|
+
return this.idNodeMap.has(id);
|
|
79221
|
+
};
|
|
79222
|
+
Mirror.prototype.hasNode = function (node) {
|
|
79223
|
+
return this.nodeMetaMap.has(node);
|
|
79224
|
+
};
|
|
79225
|
+
Mirror.prototype.add = function (n, meta) {
|
|
79226
|
+
var id = meta.id;
|
|
79227
|
+
this.idNodeMap.set(id, n);
|
|
79228
|
+
this.nodeMetaMap.set(n, meta);
|
|
79229
|
+
};
|
|
79230
|
+
Mirror.prototype.replace = function (id, n) {
|
|
79231
|
+
var oldNode = this.getNode(id);
|
|
79232
|
+
if (oldNode) {
|
|
79233
|
+
var meta = this.nodeMetaMap.get(oldNode);
|
|
79234
|
+
if (meta)
|
|
79235
|
+
this.nodeMetaMap.set(n, meta);
|
|
79236
|
+
}
|
|
79237
|
+
this.idNodeMap.set(id, n);
|
|
79238
|
+
};
|
|
79239
|
+
Mirror.prototype.reset = function () {
|
|
79240
|
+
this.idNodeMap = new Map();
|
|
79241
|
+
this.nodeMetaMap = new WeakMap();
|
|
79242
|
+
};
|
|
79243
|
+
return Mirror;
|
|
79244
|
+
}());
|
|
79245
|
+
function createMirror() {
|
|
79246
|
+
return new Mirror();
|
|
79247
|
+
}
|
|
79248
|
+
function maskInputValue(_a) {
|
|
79249
|
+
var maskInputOptions = _a.maskInputOptions, tagName = _a.tagName, type = _a.type, value = _a.value, maskInputFn = _a.maskInputFn;
|
|
79250
|
+
var text = value || '';
|
|
79251
|
+
if (maskInputOptions[tagName.toLowerCase()] ||
|
|
79252
|
+
maskInputOptions[type]) {
|
|
79253
|
+
if (maskInputFn) {
|
|
79254
|
+
text = maskInputFn(text);
|
|
79255
|
+
}
|
|
79256
|
+
else {
|
|
79257
|
+
text = '*'.repeat(text.length);
|
|
79258
|
+
}
|
|
79259
|
+
}
|
|
79260
|
+
return text;
|
|
79261
|
+
}
|
|
79262
|
+
var ORIGINAL_ATTRIBUTE_NAME = '__rrweb_original__';
|
|
79263
|
+
function is2DCanvasBlank(canvas) {
|
|
79264
|
+
var ctx = canvas.getContext('2d');
|
|
79265
|
+
if (!ctx)
|
|
79266
|
+
return true;
|
|
79267
|
+
var chunkSize = 50;
|
|
79268
|
+
for (var x = 0; x < canvas.width; x += chunkSize) {
|
|
79269
|
+
for (var y = 0; y < canvas.height; y += chunkSize) {
|
|
79270
|
+
var getImageData = ctx.getImageData;
|
|
79271
|
+
var originalGetImageData = ORIGINAL_ATTRIBUTE_NAME in getImageData
|
|
79272
|
+
? getImageData[ORIGINAL_ATTRIBUTE_NAME]
|
|
79273
|
+
: getImageData;
|
|
79274
|
+
var pixelBuffer = new Uint32Array(originalGetImageData.call(ctx, x, y, Math.min(chunkSize, canvas.width - x), Math.min(chunkSize, canvas.height - y)).data.buffer);
|
|
79275
|
+
if (pixelBuffer.some(function (pixel) { return pixel !== 0; }))
|
|
79276
|
+
return false;
|
|
79277
|
+
}
|
|
79278
|
+
}
|
|
79279
|
+
return true;
|
|
79280
|
+
}
|
|
79281
|
+
|
|
79282
|
+
var _id = 1;
|
|
79283
|
+
var tagNameRegex = new RegExp('[^a-z0-9-_:]');
|
|
79284
|
+
var IGNORED_NODE = -2;
|
|
79285
|
+
function genId() {
|
|
79286
|
+
return _id++;
|
|
79287
|
+
}
|
|
79288
|
+
function getValidTagName(element) {
|
|
79289
|
+
if (element instanceof HTMLFormElement) {
|
|
79290
|
+
return 'form';
|
|
79291
|
+
}
|
|
79292
|
+
var processedTagName = element.tagName.toLowerCase().trim();
|
|
79293
|
+
if (tagNameRegex.test(processedTagName)) {
|
|
79294
|
+
return 'div';
|
|
79295
|
+
}
|
|
79296
|
+
return processedTagName;
|
|
79297
|
+
}
|
|
79298
|
+
function stringifyStyleSheet(sheet) {
|
|
79299
|
+
return sheet.cssRules
|
|
79300
|
+
? Array.from(sheet.cssRules)
|
|
79301
|
+
.map(function (rule) { return rule.cssText || ''; })
|
|
79302
|
+
.join('')
|
|
79303
|
+
: '';
|
|
79304
|
+
}
|
|
79305
|
+
function extractOrigin(url) {
|
|
79306
|
+
var origin = '';
|
|
79307
|
+
if (url.indexOf('//') > -1) {
|
|
79308
|
+
origin = url.split('/').slice(0, 3).join('/');
|
|
79309
|
+
}
|
|
79310
|
+
else {
|
|
79311
|
+
origin = url.split('/')[0];
|
|
79312
|
+
}
|
|
79313
|
+
origin = origin.split('?')[0];
|
|
79314
|
+
return origin;
|
|
79315
|
+
}
|
|
79316
|
+
var canvasService;
|
|
79317
|
+
var canvasCtx;
|
|
79318
|
+
var URL_IN_CSS_REF = /url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm;
|
|
79319
|
+
var RELATIVE_PATH = /^(?!www\.|(?:http|ftp)s?:\/\/|[A-Za-z]:\\|\/\/|#).*/;
|
|
79320
|
+
var DATA_URI = /^(data:)([^,]*),(.*)/i;
|
|
79321
|
+
function absoluteToStylesheet(cssText, href) {
|
|
79322
|
+
return (cssText || '').replace(URL_IN_CSS_REF, function (origin, quote1, path1, quote2, path2, path3) {
|
|
79323
|
+
var filePath = path1 || path2 || path3;
|
|
79324
|
+
var maybeQuote = quote1 || quote2 || '';
|
|
79325
|
+
if (!filePath) {
|
|
79326
|
+
return origin;
|
|
79327
|
+
}
|
|
79328
|
+
if (!RELATIVE_PATH.test(filePath)) {
|
|
79329
|
+
return "url(".concat(maybeQuote).concat(filePath).concat(maybeQuote, ")");
|
|
79330
|
+
}
|
|
79331
|
+
if (DATA_URI.test(filePath)) {
|
|
79332
|
+
return "url(".concat(maybeQuote).concat(filePath).concat(maybeQuote, ")");
|
|
79333
|
+
}
|
|
79334
|
+
if (filePath[0] === '/') {
|
|
79335
|
+
return "url(".concat(maybeQuote).concat(extractOrigin(href) + filePath).concat(maybeQuote, ")");
|
|
79336
|
+
}
|
|
79337
|
+
var stack = href.split('/');
|
|
79338
|
+
var parts = filePath.split('/');
|
|
79339
|
+
stack.pop();
|
|
79340
|
+
for (var _i = 0, parts_1 = parts; _i < parts_1.length; _i++) {
|
|
79341
|
+
var part = parts_1[_i];
|
|
79342
|
+
if (part === '.') {
|
|
79343
|
+
continue;
|
|
79344
|
+
}
|
|
79345
|
+
else if (part === '..') {
|
|
79346
|
+
stack.pop();
|
|
79347
|
+
}
|
|
79348
|
+
else {
|
|
79349
|
+
stack.push(part);
|
|
79350
|
+
}
|
|
79351
|
+
}
|
|
79352
|
+
return "url(".concat(maybeQuote).concat(stack.join('/')).concat(maybeQuote, ")");
|
|
79353
|
+
});
|
|
79354
|
+
}
|
|
79355
|
+
var SRCSET_NOT_SPACES = /^[^ \t\n\r\u000c]+/;
|
|
79356
|
+
var SRCSET_COMMAS_OR_SPACES = /^[, \t\n\r\u000c]+/;
|
|
79357
|
+
function getAbsoluteSrcsetString(doc, attributeValue) {
|
|
79358
|
+
if (attributeValue.trim() === '') {
|
|
79359
|
+
return attributeValue;
|
|
79360
|
+
}
|
|
79361
|
+
var pos = 0;
|
|
79362
|
+
function collectCharacters(regEx) {
|
|
79363
|
+
var chars;
|
|
79364
|
+
var match = regEx.exec(attributeValue.substring(pos));
|
|
79365
|
+
if (match) {
|
|
79366
|
+
chars = match[0];
|
|
79367
|
+
pos += chars.length;
|
|
79368
|
+
return chars;
|
|
79369
|
+
}
|
|
79370
|
+
return '';
|
|
79371
|
+
}
|
|
79372
|
+
var output = [];
|
|
79373
|
+
while (true) {
|
|
79374
|
+
collectCharacters(SRCSET_COMMAS_OR_SPACES);
|
|
79375
|
+
if (pos >= attributeValue.length) {
|
|
79376
|
+
break;
|
|
79377
|
+
}
|
|
79378
|
+
var url = collectCharacters(SRCSET_NOT_SPACES);
|
|
79379
|
+
if (url.slice(-1) === ',') {
|
|
79380
|
+
url = absoluteToDoc(doc, url.substring(0, url.length - 1));
|
|
79381
|
+
output.push(url);
|
|
79382
|
+
}
|
|
79383
|
+
else {
|
|
79384
|
+
var descriptorsStr = '';
|
|
79385
|
+
url = absoluteToDoc(doc, url);
|
|
79386
|
+
var inParens = false;
|
|
79387
|
+
while (true) {
|
|
79388
|
+
var c = attributeValue.charAt(pos);
|
|
79389
|
+
if (c === '') {
|
|
79390
|
+
output.push((url + descriptorsStr).trim());
|
|
79391
|
+
break;
|
|
79392
|
+
}
|
|
79393
|
+
else if (!inParens) {
|
|
79394
|
+
if (c === ',') {
|
|
79395
|
+
pos += 1;
|
|
79396
|
+
output.push((url + descriptorsStr).trim());
|
|
79397
|
+
break;
|
|
79398
|
+
}
|
|
79399
|
+
else if (c === '(') {
|
|
79400
|
+
inParens = true;
|
|
79401
|
+
}
|
|
79402
|
+
}
|
|
79403
|
+
else {
|
|
79404
|
+
if (c === ')') {
|
|
79405
|
+
inParens = false;
|
|
79406
|
+
}
|
|
79407
|
+
}
|
|
79408
|
+
descriptorsStr += c;
|
|
79409
|
+
pos += 1;
|
|
79410
|
+
}
|
|
79411
|
+
}
|
|
79412
|
+
}
|
|
79413
|
+
return output.join(', ');
|
|
79414
|
+
}
|
|
79415
|
+
function absoluteToDoc(doc, attributeValue) {
|
|
79416
|
+
if (!attributeValue || attributeValue.trim() === '') {
|
|
79417
|
+
return attributeValue;
|
|
79418
|
+
}
|
|
79419
|
+
var a = doc.createElement('a');
|
|
79420
|
+
a.href = attributeValue;
|
|
79421
|
+
return a.href;
|
|
79422
|
+
}
|
|
79423
|
+
function isSVGElement(el) {
|
|
79424
|
+
return Boolean(el.tagName === 'svg' || el.ownerSVGElement);
|
|
79425
|
+
}
|
|
79426
|
+
function getHref() {
|
|
79427
|
+
var a = document.createElement('a');
|
|
79428
|
+
a.href = '';
|
|
79429
|
+
return a.href;
|
|
79430
|
+
}
|
|
79431
|
+
function transformAttribute(doc, tagName, name, value) {
|
|
79432
|
+
if (name === 'src' ||
|
|
79433
|
+
(name === 'href' && value && !(tagName === 'use' && value[0] === '#'))) {
|
|
79434
|
+
return absoluteToDoc(doc, value);
|
|
79435
|
+
}
|
|
79436
|
+
else if (name === 'xlink:href' && value && value[0] !== '#') {
|
|
79437
|
+
return absoluteToDoc(doc, value);
|
|
79438
|
+
}
|
|
79439
|
+
else if (name === 'background' &&
|
|
79440
|
+
value &&
|
|
79441
|
+
(tagName === 'table' || tagName === 'td' || tagName === 'th')) {
|
|
79442
|
+
return absoluteToDoc(doc, value);
|
|
79443
|
+
}
|
|
79444
|
+
else if (name === 'srcset' && value) {
|
|
79445
|
+
return getAbsoluteSrcsetString(doc, value);
|
|
79446
|
+
}
|
|
79447
|
+
else if (name === 'style' && value) {
|
|
79448
|
+
return absoluteToStylesheet(value, getHref());
|
|
79449
|
+
}
|
|
79450
|
+
else if (tagName === 'object' && name === 'data' && value) {
|
|
79451
|
+
return absoluteToDoc(doc, value);
|
|
79452
|
+
}
|
|
79453
|
+
else {
|
|
79454
|
+
return value;
|
|
79455
|
+
}
|
|
79456
|
+
}
|
|
79457
|
+
function _isBlockedElement(element, blockClass, blockSelector) {
|
|
79458
|
+
if (typeof blockClass === 'string') {
|
|
79459
|
+
if (element.classList.contains(blockClass)) {
|
|
79460
|
+
return true;
|
|
79461
|
+
}
|
|
79462
|
+
}
|
|
79463
|
+
else {
|
|
79464
|
+
for (var eIndex = element.classList.length; eIndex--;) {
|
|
79465
|
+
var className = element.classList[eIndex];
|
|
79466
|
+
if (blockClass.test(className)) {
|
|
79467
|
+
return true;
|
|
79468
|
+
}
|
|
79469
|
+
}
|
|
79470
|
+
}
|
|
79471
|
+
if (blockSelector) {
|
|
79472
|
+
return element.matches(blockSelector);
|
|
79473
|
+
}
|
|
79474
|
+
return false;
|
|
79475
|
+
}
|
|
79476
|
+
function classMatchesRegex(node, regex, checkAncestors) {
|
|
79477
|
+
if (!node)
|
|
79478
|
+
return false;
|
|
79479
|
+
if (node.nodeType !== node.ELEMENT_NODE) {
|
|
79480
|
+
if (!checkAncestors)
|
|
79481
|
+
return false;
|
|
79482
|
+
return classMatchesRegex(node.parentNode, regex, checkAncestors);
|
|
79483
|
+
}
|
|
79484
|
+
for (var eIndex = node.classList.length; eIndex--;) {
|
|
79485
|
+
var className = node.classList[eIndex];
|
|
79486
|
+
if (regex.test(className)) {
|
|
79487
|
+
return true;
|
|
79488
|
+
}
|
|
79489
|
+
}
|
|
79490
|
+
if (!checkAncestors)
|
|
79491
|
+
return false;
|
|
79492
|
+
return classMatchesRegex(node.parentNode, regex, checkAncestors);
|
|
79493
|
+
}
|
|
79494
|
+
function needMaskingText(node, maskTextClass, maskTextSelector) {
|
|
79495
|
+
var el = node.nodeType === node.ELEMENT_NODE
|
|
79496
|
+
? node
|
|
79497
|
+
: node.parentElement;
|
|
79498
|
+
if (el === null)
|
|
79499
|
+
return false;
|
|
79500
|
+
if (typeof maskTextClass === 'string') {
|
|
79501
|
+
if (el.classList.contains(maskTextClass))
|
|
79502
|
+
return true;
|
|
79503
|
+
if (el.closest(".".concat(maskTextClass)))
|
|
79504
|
+
return true;
|
|
79505
|
+
}
|
|
79506
|
+
else {
|
|
79507
|
+
if (classMatchesRegex(el, maskTextClass, true))
|
|
79508
|
+
return true;
|
|
79509
|
+
}
|
|
79510
|
+
if (maskTextSelector) {
|
|
79511
|
+
if (el.matches(maskTextSelector))
|
|
79512
|
+
return true;
|
|
79513
|
+
if (el.closest(maskTextSelector))
|
|
79514
|
+
return true;
|
|
79515
|
+
}
|
|
79516
|
+
return false;
|
|
79517
|
+
}
|
|
79518
|
+
function onceIframeLoaded(iframeEl, listener, iframeLoadTimeout) {
|
|
79519
|
+
var win = iframeEl.contentWindow;
|
|
79520
|
+
if (!win) {
|
|
79521
|
+
return;
|
|
79522
|
+
}
|
|
79523
|
+
var fired = false;
|
|
79524
|
+
var readyState;
|
|
79525
|
+
try {
|
|
79526
|
+
readyState = win.document.readyState;
|
|
79527
|
+
}
|
|
79528
|
+
catch (error) {
|
|
79529
|
+
return;
|
|
79530
|
+
}
|
|
79531
|
+
if (readyState !== 'complete') {
|
|
79532
|
+
var timer_1 = setTimeout(function () {
|
|
79533
|
+
if (!fired) {
|
|
79534
|
+
listener();
|
|
79535
|
+
fired = true;
|
|
79536
|
+
}
|
|
79537
|
+
}, iframeLoadTimeout);
|
|
79538
|
+
iframeEl.addEventListener('load', function () {
|
|
79539
|
+
clearTimeout(timer_1);
|
|
79540
|
+
fired = true;
|
|
79541
|
+
listener();
|
|
79542
|
+
});
|
|
79543
|
+
return;
|
|
79544
|
+
}
|
|
79545
|
+
var blankUrl = 'about:blank';
|
|
79546
|
+
if (win.location.href !== blankUrl ||
|
|
79547
|
+
iframeEl.src === blankUrl ||
|
|
79548
|
+
iframeEl.src === '') {
|
|
79549
|
+
setTimeout(listener, 0);
|
|
79550
|
+
return iframeEl.addEventListener('load', listener);
|
|
79551
|
+
}
|
|
79552
|
+
iframeEl.addEventListener('load', listener);
|
|
79553
|
+
}
|
|
79554
|
+
function onceStylesheetLoaded(link, listener, styleSheetLoadTimeout) {
|
|
79555
|
+
var fired = false;
|
|
79556
|
+
var styleSheetLoaded;
|
|
79557
|
+
try {
|
|
79558
|
+
styleSheetLoaded = link.sheet;
|
|
79559
|
+
}
|
|
79560
|
+
catch (error) {
|
|
79561
|
+
return;
|
|
79562
|
+
}
|
|
79563
|
+
if (styleSheetLoaded)
|
|
79564
|
+
return;
|
|
79565
|
+
var timer = setTimeout(function () {
|
|
79566
|
+
if (!fired) {
|
|
79567
|
+
listener();
|
|
79568
|
+
fired = true;
|
|
79569
|
+
}
|
|
79570
|
+
}, styleSheetLoadTimeout);
|
|
79571
|
+
link.addEventListener('load', function () {
|
|
79572
|
+
clearTimeout(timer);
|
|
79573
|
+
fired = true;
|
|
79574
|
+
listener();
|
|
79575
|
+
});
|
|
79576
|
+
}
|
|
79577
|
+
function serializeNode(n, options) {
|
|
79578
|
+
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;
|
|
79579
|
+
var rootId = getRootId(doc, mirror);
|
|
79580
|
+
switch (n.nodeType) {
|
|
79581
|
+
case n.DOCUMENT_NODE:
|
|
79582
|
+
if (n.compatMode !== 'CSS1Compat') {
|
|
79583
|
+
return {
|
|
79584
|
+
type: NodeType.Document,
|
|
79585
|
+
childNodes: [],
|
|
79586
|
+
compatMode: n.compatMode
|
|
79587
|
+
};
|
|
79588
|
+
}
|
|
79589
|
+
else {
|
|
79590
|
+
return {
|
|
79591
|
+
type: NodeType.Document,
|
|
79592
|
+
childNodes: []
|
|
79593
|
+
};
|
|
79594
|
+
}
|
|
79595
|
+
case n.DOCUMENT_TYPE_NODE:
|
|
79596
|
+
return {
|
|
79597
|
+
type: NodeType.DocumentType,
|
|
79598
|
+
name: n.name,
|
|
79599
|
+
publicId: n.publicId,
|
|
79600
|
+
systemId: n.systemId,
|
|
79601
|
+
rootId: rootId
|
|
79602
|
+
};
|
|
79603
|
+
case n.ELEMENT_NODE:
|
|
79604
|
+
return serializeElementNode(n, {
|
|
79605
|
+
doc: doc,
|
|
79606
|
+
blockClass: blockClass,
|
|
79607
|
+
blockSelector: blockSelector,
|
|
79608
|
+
inlineStylesheet: inlineStylesheet,
|
|
79609
|
+
maskInputOptions: maskInputOptions,
|
|
79610
|
+
maskInputFn: maskInputFn,
|
|
79611
|
+
dataURLOptions: dataURLOptions,
|
|
79612
|
+
inlineImages: inlineImages,
|
|
79613
|
+
recordCanvas: recordCanvas,
|
|
79614
|
+
keepIframeSrcFn: keepIframeSrcFn,
|
|
79615
|
+
newlyAddedElement: newlyAddedElement,
|
|
79616
|
+
rootId: rootId
|
|
79617
|
+
});
|
|
79618
|
+
case n.TEXT_NODE:
|
|
79619
|
+
return serializeTextNode(n, {
|
|
79620
|
+
maskTextClass: maskTextClass,
|
|
79621
|
+
maskTextSelector: maskTextSelector,
|
|
79622
|
+
maskTextFn: maskTextFn,
|
|
79623
|
+
rootId: rootId
|
|
79624
|
+
});
|
|
79625
|
+
case n.CDATA_SECTION_NODE:
|
|
79626
|
+
return {
|
|
79627
|
+
type: NodeType.CDATA,
|
|
79628
|
+
textContent: '',
|
|
79629
|
+
rootId: rootId
|
|
79630
|
+
};
|
|
79631
|
+
case n.COMMENT_NODE:
|
|
79632
|
+
return {
|
|
79633
|
+
type: NodeType.Comment,
|
|
79634
|
+
textContent: n.textContent || '',
|
|
79635
|
+
rootId: rootId
|
|
79636
|
+
};
|
|
79637
|
+
default:
|
|
79638
|
+
return false;
|
|
79639
|
+
}
|
|
79640
|
+
}
|
|
79641
|
+
function getRootId(doc, mirror) {
|
|
79642
|
+
if (!mirror.hasNode(doc))
|
|
79643
|
+
return undefined;
|
|
79644
|
+
var docId = mirror.getId(doc);
|
|
79645
|
+
return docId === 1 ? undefined : docId;
|
|
79646
|
+
}
|
|
79647
|
+
function serializeTextNode(n, options) {
|
|
79648
|
+
var _a;
|
|
79649
|
+
var maskTextClass = options.maskTextClass, maskTextSelector = options.maskTextSelector, maskTextFn = options.maskTextFn, rootId = options.rootId;
|
|
79650
|
+
var parentTagName = n.parentNode && n.parentNode.tagName;
|
|
79651
|
+
var textContent = n.textContent;
|
|
79652
|
+
var isStyle = parentTagName === 'STYLE' ? true : undefined;
|
|
79653
|
+
var isScript = parentTagName === 'SCRIPT' ? true : undefined;
|
|
79654
|
+
if (isStyle && textContent) {
|
|
79655
|
+
try {
|
|
79656
|
+
if (n.nextSibling || n.previousSibling) {
|
|
79657
|
+
}
|
|
79658
|
+
else if ((_a = n.parentNode.sheet) === null || _a === void 0 ? void 0 : _a.cssRules) {
|
|
79659
|
+
textContent = stringifyStyleSheet(n.parentNode.sheet);
|
|
79660
|
+
}
|
|
79661
|
+
}
|
|
79662
|
+
catch (err) {
|
|
79663
|
+
console.warn("Cannot get CSS styles from text's parentNode. Error: ".concat(err), n);
|
|
79664
|
+
}
|
|
79665
|
+
textContent = absoluteToStylesheet(textContent, getHref());
|
|
79666
|
+
}
|
|
79667
|
+
if (isScript) {
|
|
79668
|
+
textContent = 'SCRIPT_PLACEHOLDER';
|
|
79669
|
+
}
|
|
79670
|
+
if (!isStyle &&
|
|
79671
|
+
!isScript &&
|
|
79672
|
+
textContent &&
|
|
79673
|
+
needMaskingText(n, maskTextClass, maskTextSelector)) {
|
|
79674
|
+
textContent = maskTextFn
|
|
79675
|
+
? maskTextFn(textContent)
|
|
79676
|
+
: textContent.replace(/[\S]/g, '*');
|
|
79677
|
+
}
|
|
79678
|
+
return {
|
|
79679
|
+
type: NodeType.Text,
|
|
79680
|
+
textContent: textContent || '',
|
|
79681
|
+
isStyle: isStyle,
|
|
79682
|
+
rootId: rootId
|
|
79683
|
+
};
|
|
79684
|
+
}
|
|
79685
|
+
function serializeElementNode(n, options) {
|
|
79686
|
+
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;
|
|
79687
|
+
var needBlock = _isBlockedElement(n, blockClass, blockSelector);
|
|
79688
|
+
var tagName = getValidTagName(n);
|
|
79689
|
+
var attributes = {};
|
|
79690
|
+
var len = n.attributes.length;
|
|
79691
|
+
for (var i = 0; i < len; i++) {
|
|
79692
|
+
var attr = n.attributes[i];
|
|
79693
|
+
attributes[attr.name] = transformAttribute(doc, tagName, attr.name, attr.value);
|
|
79694
|
+
}
|
|
79695
|
+
if (tagName === 'link' && inlineStylesheet) {
|
|
79696
|
+
var stylesheet = Array.from(doc.styleSheets).find(function (s) {
|
|
79697
|
+
return s.href === n.href;
|
|
79698
|
+
});
|
|
79699
|
+
var cssText = null;
|
|
79700
|
+
if (stylesheet) {
|
|
79701
|
+
cssText = getCssRulesString(stylesheet);
|
|
79702
|
+
}
|
|
79703
|
+
if (cssText) {
|
|
79704
|
+
delete attributes.rel;
|
|
79705
|
+
delete attributes.href;
|
|
79706
|
+
attributes._cssText = absoluteToStylesheet(cssText, stylesheet.href);
|
|
79707
|
+
}
|
|
79708
|
+
}
|
|
79709
|
+
if (tagName === 'style' &&
|
|
79710
|
+
n.sheet &&
|
|
79711
|
+
!(n.innerText || n.textContent || '').trim().length) {
|
|
79712
|
+
var cssText = getCssRulesString(n.sheet);
|
|
79713
|
+
if (cssText) {
|
|
79714
|
+
attributes._cssText = absoluteToStylesheet(cssText, getHref());
|
|
79715
|
+
}
|
|
79716
|
+
}
|
|
79717
|
+
if (tagName === 'input' || tagName === 'textarea' || tagName === 'select') {
|
|
79718
|
+
var value = n.value;
|
|
79719
|
+
var checked = n.checked;
|
|
79720
|
+
if (attributes.type !== 'radio' &&
|
|
79721
|
+
attributes.type !== 'checkbox' &&
|
|
79722
|
+
attributes.type !== 'submit' &&
|
|
79723
|
+
attributes.type !== 'button' &&
|
|
79724
|
+
value) {
|
|
79725
|
+
attributes.value = maskInputValue({
|
|
79726
|
+
type: attributes.type,
|
|
79727
|
+
tagName: tagName,
|
|
79728
|
+
value: value,
|
|
79729
|
+
maskInputOptions: maskInputOptions,
|
|
79730
|
+
maskInputFn: maskInputFn
|
|
79731
|
+
});
|
|
79732
|
+
}
|
|
79733
|
+
else if (checked) {
|
|
79734
|
+
attributes.checked = checked;
|
|
79735
|
+
}
|
|
79736
|
+
}
|
|
79737
|
+
if (tagName === 'option') {
|
|
79738
|
+
if (n.selected && !maskInputOptions['select']) {
|
|
79739
|
+
attributes.selected = true;
|
|
79740
|
+
}
|
|
79741
|
+
else {
|
|
79742
|
+
delete attributes.selected;
|
|
79743
|
+
}
|
|
79744
|
+
}
|
|
79745
|
+
if (tagName === 'canvas' && recordCanvas) {
|
|
79746
|
+
if (n.__context === '2d') {
|
|
79747
|
+
if (!is2DCanvasBlank(n)) {
|
|
79748
|
+
attributes.rr_dataURL = n.toDataURL(dataURLOptions.type, dataURLOptions.quality);
|
|
79749
|
+
}
|
|
79750
|
+
}
|
|
79751
|
+
else if (!('__context' in n)) {
|
|
79752
|
+
var canvasDataURL = n.toDataURL(dataURLOptions.type, dataURLOptions.quality);
|
|
79753
|
+
var blankCanvas = document.createElement('canvas');
|
|
79754
|
+
blankCanvas.width = n.width;
|
|
79755
|
+
blankCanvas.height = n.height;
|
|
79756
|
+
var blankCanvasDataURL = blankCanvas.toDataURL(dataURLOptions.type, dataURLOptions.quality);
|
|
79757
|
+
if (canvasDataURL !== blankCanvasDataURL) {
|
|
79758
|
+
attributes.rr_dataURL = canvasDataURL;
|
|
79759
|
+
}
|
|
79760
|
+
}
|
|
79761
|
+
}
|
|
79762
|
+
if (tagName === 'img' && inlineImages) {
|
|
79763
|
+
if (!canvasService) {
|
|
79764
|
+
canvasService = doc.createElement('canvas');
|
|
79765
|
+
canvasCtx = canvasService.getContext('2d');
|
|
79766
|
+
}
|
|
79767
|
+
var image_1 = n;
|
|
79768
|
+
var oldValue_1 = image_1.crossOrigin;
|
|
79769
|
+
image_1.crossOrigin = 'anonymous';
|
|
79770
|
+
var recordInlineImage = function () {
|
|
79771
|
+
try {
|
|
79772
|
+
canvasService.width = image_1.naturalWidth;
|
|
79773
|
+
canvasService.height = image_1.naturalHeight;
|
|
79774
|
+
canvasCtx.drawImage(image_1, 0, 0);
|
|
79775
|
+
attributes.rr_dataURL = canvasService.toDataURL(dataURLOptions.type, dataURLOptions.quality);
|
|
79776
|
+
}
|
|
79777
|
+
catch (err) {
|
|
79778
|
+
console.warn("Cannot inline img src=".concat(image_1.currentSrc, "! Error: ").concat(err));
|
|
79779
|
+
}
|
|
79780
|
+
oldValue_1
|
|
79781
|
+
? (attributes.crossOrigin = oldValue_1)
|
|
79782
|
+
: image_1.removeAttribute('crossorigin');
|
|
79783
|
+
};
|
|
79784
|
+
if (image_1.complete && image_1.naturalWidth !== 0)
|
|
79785
|
+
recordInlineImage();
|
|
79786
|
+
else
|
|
79787
|
+
image_1.onload = recordInlineImage;
|
|
79788
|
+
}
|
|
79789
|
+
if (tagName === 'audio' || tagName === 'video') {
|
|
79790
|
+
attributes.rr_mediaState = n.paused
|
|
79791
|
+
? 'paused'
|
|
79792
|
+
: 'played';
|
|
79793
|
+
attributes.rr_mediaCurrentTime = n.currentTime;
|
|
79794
|
+
}
|
|
79795
|
+
if (!newlyAddedElement) {
|
|
79796
|
+
if (n.scrollLeft) {
|
|
79797
|
+
attributes.rr_scrollLeft = n.scrollLeft;
|
|
79798
|
+
}
|
|
79799
|
+
if (n.scrollTop) {
|
|
79800
|
+
attributes.rr_scrollTop = n.scrollTop;
|
|
79801
|
+
}
|
|
79802
|
+
}
|
|
79803
|
+
if (needBlock) {
|
|
79804
|
+
var _d = n.getBoundingClientRect(), width = _d.width, height = _d.height;
|
|
79805
|
+
attributes = {
|
|
79806
|
+
"class": attributes["class"],
|
|
79807
|
+
rr_width: "".concat(width, "px"),
|
|
79808
|
+
rr_height: "".concat(height, "px")
|
|
79809
|
+
};
|
|
79810
|
+
}
|
|
79811
|
+
if (tagName === 'iframe' && !keepIframeSrcFn(attributes.src)) {
|
|
79812
|
+
if (!n.contentDocument) {
|
|
79813
|
+
attributes.rr_src = attributes.src;
|
|
79814
|
+
}
|
|
79815
|
+
delete attributes.src;
|
|
79816
|
+
}
|
|
79817
|
+
return {
|
|
79818
|
+
type: NodeType.Element,
|
|
79819
|
+
tagName: tagName,
|
|
79820
|
+
attributes: attributes,
|
|
79821
|
+
childNodes: [],
|
|
79822
|
+
isSVG: isSVGElement(n) || undefined,
|
|
79823
|
+
needBlock: needBlock,
|
|
79824
|
+
rootId: rootId
|
|
79825
|
+
};
|
|
79826
|
+
}
|
|
79827
|
+
function lowerIfExists(maybeAttr) {
|
|
79828
|
+
if (maybeAttr === undefined) {
|
|
79829
|
+
return '';
|
|
79830
|
+
}
|
|
79831
|
+
else {
|
|
79832
|
+
return maybeAttr.toLowerCase();
|
|
79833
|
+
}
|
|
79834
|
+
}
|
|
79835
|
+
function slimDOMExcluded(sn, slimDOMOptions) {
|
|
79836
|
+
if (slimDOMOptions.comment && sn.type === NodeType.Comment) {
|
|
79837
|
+
return true;
|
|
79838
|
+
}
|
|
79839
|
+
else if (sn.type === NodeType.Element) {
|
|
79840
|
+
if (slimDOMOptions.script &&
|
|
79841
|
+
(sn.tagName === 'script' ||
|
|
79842
|
+
(sn.tagName === 'link' &&
|
|
79843
|
+
sn.attributes.rel === 'preload' &&
|
|
79844
|
+
sn.attributes.as === 'script') ||
|
|
79845
|
+
(sn.tagName === 'link' &&
|
|
79846
|
+
sn.attributes.rel === 'prefetch' &&
|
|
79847
|
+
typeof sn.attributes.href === 'string' &&
|
|
79848
|
+
sn.attributes.href.endsWith('.js')))) {
|
|
79849
|
+
return true;
|
|
79850
|
+
}
|
|
79851
|
+
else if (slimDOMOptions.headFavicon &&
|
|
79852
|
+
((sn.tagName === 'link' && sn.attributes.rel === 'shortcut icon') ||
|
|
79853
|
+
(sn.tagName === 'meta' &&
|
|
79854
|
+
(lowerIfExists(sn.attributes.name).match(/^msapplication-tile(image|color)$/) ||
|
|
79855
|
+
lowerIfExists(sn.attributes.name) === 'application-name' ||
|
|
79856
|
+
lowerIfExists(sn.attributes.rel) === 'icon' ||
|
|
79857
|
+
lowerIfExists(sn.attributes.rel) === 'apple-touch-icon' ||
|
|
79858
|
+
lowerIfExists(sn.attributes.rel) === 'shortcut icon')))) {
|
|
79859
|
+
return true;
|
|
79860
|
+
}
|
|
79861
|
+
else if (sn.tagName === 'meta') {
|
|
79862
|
+
if (slimDOMOptions.headMetaDescKeywords &&
|
|
79863
|
+
lowerIfExists(sn.attributes.name).match(/^description|keywords$/)) {
|
|
79864
|
+
return true;
|
|
79865
|
+
}
|
|
79866
|
+
else if (slimDOMOptions.headMetaSocial &&
|
|
79867
|
+
(lowerIfExists(sn.attributes.property).match(/^(og|twitter|fb):/) ||
|
|
79868
|
+
lowerIfExists(sn.attributes.name).match(/^(og|twitter):/) ||
|
|
79869
|
+
lowerIfExists(sn.attributes.name) === 'pinterest')) {
|
|
79870
|
+
return true;
|
|
79871
|
+
}
|
|
79872
|
+
else if (slimDOMOptions.headMetaRobots &&
|
|
79873
|
+
(lowerIfExists(sn.attributes.name) === 'robots' ||
|
|
79874
|
+
lowerIfExists(sn.attributes.name) === 'googlebot' ||
|
|
79875
|
+
lowerIfExists(sn.attributes.name) === 'bingbot')) {
|
|
79876
|
+
return true;
|
|
79877
|
+
}
|
|
79878
|
+
else if (slimDOMOptions.headMetaHttpEquiv &&
|
|
79879
|
+
sn.attributes['http-equiv'] !== undefined) {
|
|
79880
|
+
return true;
|
|
79881
|
+
}
|
|
79882
|
+
else if (slimDOMOptions.headMetaAuthorship &&
|
|
79883
|
+
(lowerIfExists(sn.attributes.name) === 'author' ||
|
|
79884
|
+
lowerIfExists(sn.attributes.name) === 'generator' ||
|
|
79885
|
+
lowerIfExists(sn.attributes.name) === 'framework' ||
|
|
79886
|
+
lowerIfExists(sn.attributes.name) === 'publisher' ||
|
|
79887
|
+
lowerIfExists(sn.attributes.name) === 'progid' ||
|
|
79888
|
+
lowerIfExists(sn.attributes.property).match(/^article:/) ||
|
|
79889
|
+
lowerIfExists(sn.attributes.property).match(/^product:/))) {
|
|
79890
|
+
return true;
|
|
79891
|
+
}
|
|
79892
|
+
else if (slimDOMOptions.headMetaVerification &&
|
|
79893
|
+
(lowerIfExists(sn.attributes.name) === 'google-site-verification' ||
|
|
79894
|
+
lowerIfExists(sn.attributes.name) === 'yandex-verification' ||
|
|
79895
|
+
lowerIfExists(sn.attributes.name) === 'csrf-token' ||
|
|
79896
|
+
lowerIfExists(sn.attributes.name) === 'p:domain_verify' ||
|
|
79897
|
+
lowerIfExists(sn.attributes.name) === 'verify-v1' ||
|
|
79898
|
+
lowerIfExists(sn.attributes.name) === 'verification' ||
|
|
79899
|
+
lowerIfExists(sn.attributes.name) === 'shopify-checkout-api-token')) {
|
|
79900
|
+
return true;
|
|
79901
|
+
}
|
|
79902
|
+
}
|
|
79903
|
+
}
|
|
79904
|
+
return false;
|
|
79905
|
+
}
|
|
79906
|
+
function serializeNodeWithId(n, options) {
|
|
79907
|
+
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;
|
|
79908
|
+
var _l = options.preserveWhiteSpace, preserveWhiteSpace = _l === void 0 ? true : _l;
|
|
79909
|
+
var _serializedNode = serializeNode(n, {
|
|
79910
|
+
doc: doc,
|
|
79911
|
+
mirror: mirror,
|
|
79912
|
+
blockClass: blockClass,
|
|
79913
|
+
blockSelector: blockSelector,
|
|
79914
|
+
maskTextClass: maskTextClass,
|
|
79915
|
+
maskTextSelector: maskTextSelector,
|
|
79916
|
+
inlineStylesheet: inlineStylesheet,
|
|
79917
|
+
maskInputOptions: maskInputOptions,
|
|
79918
|
+
maskTextFn: maskTextFn,
|
|
79919
|
+
maskInputFn: maskInputFn,
|
|
79920
|
+
dataURLOptions: dataURLOptions,
|
|
79921
|
+
inlineImages: inlineImages,
|
|
79922
|
+
recordCanvas: recordCanvas,
|
|
79923
|
+
keepIframeSrcFn: keepIframeSrcFn,
|
|
79924
|
+
newlyAddedElement: newlyAddedElement
|
|
79925
|
+
});
|
|
79926
|
+
if (!_serializedNode) {
|
|
79927
|
+
console.warn(n, 'not serialized');
|
|
79928
|
+
return null;
|
|
79929
|
+
}
|
|
79930
|
+
var id;
|
|
79931
|
+
if (mirror.hasNode(n)) {
|
|
79932
|
+
id = mirror.getId(n);
|
|
79933
|
+
}
|
|
79934
|
+
else if (slimDOMExcluded(_serializedNode, slimDOMOptions) ||
|
|
79935
|
+
(!preserveWhiteSpace &&
|
|
79936
|
+
_serializedNode.type === NodeType.Text &&
|
|
79937
|
+
!_serializedNode.isStyle &&
|
|
79938
|
+
!_serializedNode.textContent.replace(/^\s+|\s+$/gm, '').length)) {
|
|
79939
|
+
id = IGNORED_NODE;
|
|
79940
|
+
}
|
|
79941
|
+
else {
|
|
79942
|
+
id = genId();
|
|
79943
|
+
}
|
|
79944
|
+
var serializedNode = Object.assign(_serializedNode, { id: id });
|
|
79945
|
+
mirror.add(n, serializedNode);
|
|
79946
|
+
if (id === IGNORED_NODE) {
|
|
79947
|
+
return null;
|
|
79948
|
+
}
|
|
79949
|
+
if (onSerialize) {
|
|
79950
|
+
onSerialize(n);
|
|
79951
|
+
}
|
|
79952
|
+
var recordChild = !skipChild;
|
|
79953
|
+
if (serializedNode.type === NodeType.Element) {
|
|
79954
|
+
recordChild = recordChild && !serializedNode.needBlock;
|
|
79955
|
+
delete serializedNode.needBlock;
|
|
79956
|
+
var shadowRoot = n.shadowRoot;
|
|
79957
|
+
if (shadowRoot && isNativeShadowDom(shadowRoot))
|
|
79958
|
+
serializedNode.isShadowHost = true;
|
|
79959
|
+
}
|
|
79960
|
+
if ((serializedNode.type === NodeType.Document ||
|
|
79961
|
+
serializedNode.type === NodeType.Element) &&
|
|
79962
|
+
recordChild) {
|
|
79963
|
+
if (slimDOMOptions.headWhitespace &&
|
|
79964
|
+
serializedNode.type === NodeType.Element &&
|
|
79965
|
+
serializedNode.tagName === 'head') {
|
|
79966
|
+
preserveWhiteSpace = false;
|
|
79967
|
+
}
|
|
79968
|
+
var bypassOptions = {
|
|
79969
|
+
doc: doc,
|
|
79970
|
+
mirror: mirror,
|
|
79971
|
+
blockClass: blockClass,
|
|
79972
|
+
blockSelector: blockSelector,
|
|
79973
|
+
maskTextClass: maskTextClass,
|
|
79974
|
+
maskTextSelector: maskTextSelector,
|
|
79975
|
+
skipChild: skipChild,
|
|
79976
|
+
inlineStylesheet: inlineStylesheet,
|
|
79977
|
+
maskInputOptions: maskInputOptions,
|
|
79978
|
+
maskTextFn: maskTextFn,
|
|
79979
|
+
maskInputFn: maskInputFn,
|
|
79980
|
+
slimDOMOptions: slimDOMOptions,
|
|
79981
|
+
dataURLOptions: dataURLOptions,
|
|
79982
|
+
inlineImages: inlineImages,
|
|
79983
|
+
recordCanvas: recordCanvas,
|
|
79984
|
+
preserveWhiteSpace: preserveWhiteSpace,
|
|
79985
|
+
onSerialize: onSerialize,
|
|
79986
|
+
onIframeLoad: onIframeLoad,
|
|
79987
|
+
iframeLoadTimeout: iframeLoadTimeout,
|
|
79988
|
+
onStylesheetLoad: onStylesheetLoad,
|
|
79989
|
+
stylesheetLoadTimeout: stylesheetLoadTimeout,
|
|
79990
|
+
keepIframeSrcFn: keepIframeSrcFn
|
|
79991
|
+
};
|
|
79992
|
+
for (var _i = 0, _m = Array.from(n.childNodes); _i < _m.length; _i++) {
|
|
79993
|
+
var childN = _m[_i];
|
|
79994
|
+
var serializedChildNode = serializeNodeWithId(childN, bypassOptions);
|
|
79995
|
+
if (serializedChildNode) {
|
|
79996
|
+
serializedNode.childNodes.push(serializedChildNode);
|
|
79997
|
+
}
|
|
79998
|
+
}
|
|
79999
|
+
if (isElement(n) && n.shadowRoot) {
|
|
80000
|
+
for (var _o = 0, _p = Array.from(n.shadowRoot.childNodes); _o < _p.length; _o++) {
|
|
80001
|
+
var childN = _p[_o];
|
|
80002
|
+
var serializedChildNode = serializeNodeWithId(childN, bypassOptions);
|
|
80003
|
+
if (serializedChildNode) {
|
|
80004
|
+
isNativeShadowDom(n.shadowRoot) &&
|
|
80005
|
+
(serializedChildNode.isShadow = true);
|
|
80006
|
+
serializedNode.childNodes.push(serializedChildNode);
|
|
80007
|
+
}
|
|
80008
|
+
}
|
|
80009
|
+
}
|
|
80010
|
+
}
|
|
80011
|
+
if (n.parentNode &&
|
|
80012
|
+
isShadowRoot(n.parentNode) &&
|
|
80013
|
+
isNativeShadowDom(n.parentNode)) {
|
|
80014
|
+
serializedNode.isShadow = true;
|
|
80015
|
+
}
|
|
80016
|
+
if (serializedNode.type === NodeType.Element &&
|
|
80017
|
+
serializedNode.tagName === 'iframe') {
|
|
80018
|
+
onceIframeLoaded(n, function () {
|
|
80019
|
+
var iframeDoc = n.contentDocument;
|
|
80020
|
+
if (iframeDoc && onIframeLoad) {
|
|
80021
|
+
var serializedIframeNode = serializeNodeWithId(iframeDoc, {
|
|
80022
|
+
doc: iframeDoc,
|
|
80023
|
+
mirror: mirror,
|
|
80024
|
+
blockClass: blockClass,
|
|
80025
|
+
blockSelector: blockSelector,
|
|
80026
|
+
maskTextClass: maskTextClass,
|
|
80027
|
+
maskTextSelector: maskTextSelector,
|
|
80028
|
+
skipChild: false,
|
|
80029
|
+
inlineStylesheet: inlineStylesheet,
|
|
80030
|
+
maskInputOptions: maskInputOptions,
|
|
80031
|
+
maskTextFn: maskTextFn,
|
|
80032
|
+
maskInputFn: maskInputFn,
|
|
80033
|
+
slimDOMOptions: slimDOMOptions,
|
|
80034
|
+
dataURLOptions: dataURLOptions,
|
|
80035
|
+
inlineImages: inlineImages,
|
|
80036
|
+
recordCanvas: recordCanvas,
|
|
80037
|
+
preserveWhiteSpace: preserveWhiteSpace,
|
|
80038
|
+
onSerialize: onSerialize,
|
|
80039
|
+
onIframeLoad: onIframeLoad,
|
|
80040
|
+
iframeLoadTimeout: iframeLoadTimeout,
|
|
80041
|
+
onStylesheetLoad: onStylesheetLoad,
|
|
80042
|
+
stylesheetLoadTimeout: stylesheetLoadTimeout,
|
|
80043
|
+
keepIframeSrcFn: keepIframeSrcFn
|
|
80044
|
+
});
|
|
80045
|
+
if (serializedIframeNode) {
|
|
80046
|
+
onIframeLoad(n, serializedIframeNode);
|
|
80047
|
+
}
|
|
80048
|
+
}
|
|
80049
|
+
}, iframeLoadTimeout);
|
|
80050
|
+
}
|
|
80051
|
+
if (serializedNode.type === NodeType.Element &&
|
|
80052
|
+
serializedNode.tagName === 'link' &&
|
|
80053
|
+
serializedNode.attributes.rel === 'stylesheet') {
|
|
80054
|
+
onceStylesheetLoaded(n, function () {
|
|
80055
|
+
if (onStylesheetLoad) {
|
|
80056
|
+
var serializedLinkNode = serializeNodeWithId(n, {
|
|
80057
|
+
doc: doc,
|
|
80058
|
+
mirror: mirror,
|
|
80059
|
+
blockClass: blockClass,
|
|
80060
|
+
blockSelector: blockSelector,
|
|
80061
|
+
maskTextClass: maskTextClass,
|
|
80062
|
+
maskTextSelector: maskTextSelector,
|
|
80063
|
+
skipChild: false,
|
|
80064
|
+
inlineStylesheet: inlineStylesheet,
|
|
80065
|
+
maskInputOptions: maskInputOptions,
|
|
80066
|
+
maskTextFn: maskTextFn,
|
|
80067
|
+
maskInputFn: maskInputFn,
|
|
80068
|
+
slimDOMOptions: slimDOMOptions,
|
|
80069
|
+
dataURLOptions: dataURLOptions,
|
|
80070
|
+
inlineImages: inlineImages,
|
|
80071
|
+
recordCanvas: recordCanvas,
|
|
80072
|
+
preserveWhiteSpace: preserveWhiteSpace,
|
|
80073
|
+
onSerialize: onSerialize,
|
|
80074
|
+
onIframeLoad: onIframeLoad,
|
|
80075
|
+
iframeLoadTimeout: iframeLoadTimeout,
|
|
80076
|
+
onStylesheetLoad: onStylesheetLoad,
|
|
80077
|
+
stylesheetLoadTimeout: stylesheetLoadTimeout,
|
|
80078
|
+
keepIframeSrcFn: keepIframeSrcFn
|
|
80079
|
+
});
|
|
80080
|
+
if (serializedLinkNode) {
|
|
80081
|
+
onStylesheetLoad(n, serializedLinkNode);
|
|
80082
|
+
}
|
|
80083
|
+
}
|
|
80084
|
+
}, stylesheetLoadTimeout);
|
|
80085
|
+
}
|
|
80086
|
+
return serializedNode;
|
|
80087
|
+
}
|
|
80088
|
+
function snapshot(n, options) {
|
|
80089
|
+
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;
|
|
80090
|
+
var maskInputOptions = maskAllInputs === true
|
|
80091
|
+
? {
|
|
80092
|
+
color: true,
|
|
80093
|
+
date: true,
|
|
80094
|
+
'datetime-local': true,
|
|
80095
|
+
email: true,
|
|
80096
|
+
month: true,
|
|
80097
|
+
number: true,
|
|
80098
|
+
range: true,
|
|
80099
|
+
search: true,
|
|
80100
|
+
tel: true,
|
|
80101
|
+
text: true,
|
|
80102
|
+
time: true,
|
|
80103
|
+
url: true,
|
|
80104
|
+
week: true,
|
|
80105
|
+
textarea: true,
|
|
80106
|
+
select: true,
|
|
80107
|
+
password: true
|
|
80108
|
+
}
|
|
80109
|
+
: maskAllInputs === false
|
|
80110
|
+
? {
|
|
80111
|
+
password: true
|
|
80112
|
+
}
|
|
80113
|
+
: maskAllInputs;
|
|
80114
|
+
var slimDOMOptions = slimDOM === true || slimDOM === 'all'
|
|
80115
|
+
?
|
|
80116
|
+
{
|
|
80117
|
+
script: true,
|
|
80118
|
+
comment: true,
|
|
80119
|
+
headFavicon: true,
|
|
80120
|
+
headWhitespace: true,
|
|
80121
|
+
headMetaDescKeywords: slimDOM === 'all',
|
|
80122
|
+
headMetaSocial: true,
|
|
80123
|
+
headMetaRobots: true,
|
|
80124
|
+
headMetaHttpEquiv: true,
|
|
80125
|
+
headMetaAuthorship: true,
|
|
80126
|
+
headMetaVerification: true
|
|
80127
|
+
}
|
|
80128
|
+
: slimDOM === false
|
|
80129
|
+
? {}
|
|
80130
|
+
: slimDOM;
|
|
80131
|
+
return serializeNodeWithId(n, {
|
|
80132
|
+
doc: n,
|
|
80133
|
+
mirror: mirror,
|
|
80134
|
+
blockClass: blockClass,
|
|
80135
|
+
blockSelector: blockSelector,
|
|
80136
|
+
maskTextClass: maskTextClass,
|
|
80137
|
+
maskTextSelector: maskTextSelector,
|
|
80138
|
+
skipChild: false,
|
|
80139
|
+
inlineStylesheet: inlineStylesheet,
|
|
80140
|
+
maskInputOptions: maskInputOptions,
|
|
80141
|
+
maskTextFn: maskTextFn,
|
|
80142
|
+
maskInputFn: maskInputFn,
|
|
80143
|
+
slimDOMOptions: slimDOMOptions,
|
|
80144
|
+
dataURLOptions: dataURLOptions,
|
|
80145
|
+
inlineImages: inlineImages,
|
|
80146
|
+
recordCanvas: recordCanvas,
|
|
80147
|
+
preserveWhiteSpace: preserveWhiteSpace,
|
|
80148
|
+
onSerialize: onSerialize,
|
|
80149
|
+
onIframeLoad: onIframeLoad,
|
|
80150
|
+
iframeLoadTimeout: iframeLoadTimeout,
|
|
80151
|
+
onStylesheetLoad: onStylesheetLoad,
|
|
80152
|
+
stylesheetLoadTimeout: stylesheetLoadTimeout,
|
|
80153
|
+
keepIframeSrcFn: keepIframeSrcFn,
|
|
80154
|
+
newlyAddedElement: false
|
|
80155
|
+
});
|
|
80156
|
+
}
|
|
80157
|
+
function visitSnapshot(node, onVisit) {
|
|
80158
|
+
function walk(current) {
|
|
80159
|
+
onVisit(current);
|
|
80160
|
+
if (current.type === NodeType.Document ||
|
|
80161
|
+
current.type === NodeType.Element) {
|
|
80162
|
+
current.childNodes.forEach(walk);
|
|
80163
|
+
}
|
|
80164
|
+
}
|
|
80165
|
+
walk(node);
|
|
80166
|
+
}
|
|
80167
|
+
function cleanupSnapshot() {
|
|
80168
|
+
_id = 1;
|
|
80169
|
+
}
|
|
80170
|
+
|
|
80171
|
+
var commentre = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;
|
|
80172
|
+
function parse(css, options) {
|
|
80173
|
+
if (options === void 0) { options = {}; }
|
|
80174
|
+
var lineno = 1;
|
|
80175
|
+
var column = 1;
|
|
80176
|
+
function updatePosition(str) {
|
|
80177
|
+
var lines = str.match(/\n/g);
|
|
80178
|
+
if (lines) {
|
|
80179
|
+
lineno += lines.length;
|
|
80180
|
+
}
|
|
80181
|
+
var i = str.lastIndexOf('\n');
|
|
80182
|
+
column = i === -1 ? column + str.length : str.length - i;
|
|
80183
|
+
}
|
|
80184
|
+
function position() {
|
|
80185
|
+
var start = { line: lineno, column: column };
|
|
80186
|
+
return function (node) {
|
|
80187
|
+
node.position = new Position(start);
|
|
80188
|
+
whitespace();
|
|
80189
|
+
return node;
|
|
80190
|
+
};
|
|
80191
|
+
}
|
|
80192
|
+
var Position = (function () {
|
|
80193
|
+
function Position(start) {
|
|
80194
|
+
this.start = start;
|
|
80195
|
+
this.end = { line: lineno, column: column };
|
|
80196
|
+
this.source = options.source;
|
|
80197
|
+
}
|
|
80198
|
+
return Position;
|
|
80199
|
+
}());
|
|
80200
|
+
Position.prototype.content = css;
|
|
80201
|
+
var errorsList = [];
|
|
80202
|
+
function error(msg) {
|
|
80203
|
+
var err = new Error("".concat(options.source || '', ":").concat(lineno, ":").concat(column, ": ").concat(msg));
|
|
80204
|
+
err.reason = msg;
|
|
80205
|
+
err.filename = options.source;
|
|
80206
|
+
err.line = lineno;
|
|
80207
|
+
err.column = column;
|
|
80208
|
+
err.source = css;
|
|
80209
|
+
if (options.silent) {
|
|
80210
|
+
errorsList.push(err);
|
|
80211
|
+
}
|
|
80212
|
+
else {
|
|
80213
|
+
throw err;
|
|
80214
|
+
}
|
|
80215
|
+
}
|
|
80216
|
+
function stylesheet() {
|
|
80217
|
+
var rulesList = rules();
|
|
80218
|
+
return {
|
|
80219
|
+
type: 'stylesheet',
|
|
80220
|
+
stylesheet: {
|
|
80221
|
+
source: options.source,
|
|
80222
|
+
rules: rulesList,
|
|
80223
|
+
parsingErrors: errorsList
|
|
80224
|
+
}
|
|
80225
|
+
};
|
|
80226
|
+
}
|
|
80227
|
+
function open() {
|
|
80228
|
+
return match(/^{\s*/);
|
|
80229
|
+
}
|
|
80230
|
+
function close() {
|
|
80231
|
+
return match(/^}/);
|
|
80232
|
+
}
|
|
80233
|
+
function rules() {
|
|
80234
|
+
var node;
|
|
80235
|
+
var rules = [];
|
|
80236
|
+
whitespace();
|
|
80237
|
+
comments(rules);
|
|
80238
|
+
while (css.length && css.charAt(0) !== '}' && (node = atrule() || rule())) {
|
|
80239
|
+
if (node !== false) {
|
|
80240
|
+
rules.push(node);
|
|
80241
|
+
comments(rules);
|
|
80242
|
+
}
|
|
80243
|
+
}
|
|
80244
|
+
return rules;
|
|
80245
|
+
}
|
|
80246
|
+
function match(re) {
|
|
80247
|
+
var m = re.exec(css);
|
|
80248
|
+
if (!m) {
|
|
80249
|
+
return;
|
|
80250
|
+
}
|
|
80251
|
+
var str = m[0];
|
|
80252
|
+
updatePosition(str);
|
|
80253
|
+
css = css.slice(str.length);
|
|
80254
|
+
return m;
|
|
80255
|
+
}
|
|
80256
|
+
function whitespace() {
|
|
80257
|
+
match(/^\s*/);
|
|
80258
|
+
}
|
|
80259
|
+
function comments(rules) {
|
|
80260
|
+
if (rules === void 0) { rules = []; }
|
|
80261
|
+
var c;
|
|
80262
|
+
while ((c = comment())) {
|
|
80263
|
+
if (c !== false) {
|
|
80264
|
+
rules.push(c);
|
|
80265
|
+
}
|
|
80266
|
+
c = comment();
|
|
80267
|
+
}
|
|
80268
|
+
return rules;
|
|
80269
|
+
}
|
|
80270
|
+
function comment() {
|
|
80271
|
+
var pos = position();
|
|
80272
|
+
if ('/' !== css.charAt(0) || '*' !== css.charAt(1)) {
|
|
80273
|
+
return;
|
|
80274
|
+
}
|
|
80275
|
+
var i = 2;
|
|
80276
|
+
while ('' !== css.charAt(i) &&
|
|
80277
|
+
('*' !== css.charAt(i) || '/' !== css.charAt(i + 1))) {
|
|
80278
|
+
++i;
|
|
80279
|
+
}
|
|
80280
|
+
i += 2;
|
|
80281
|
+
if ('' === css.charAt(i - 1)) {
|
|
80282
|
+
return error('End of comment missing');
|
|
80283
|
+
}
|
|
80284
|
+
var str = css.slice(2, i - 2);
|
|
80285
|
+
column += 2;
|
|
80286
|
+
updatePosition(str);
|
|
80287
|
+
css = css.slice(i);
|
|
80288
|
+
column += 2;
|
|
80289
|
+
return pos({
|
|
80290
|
+
type: 'comment',
|
|
80291
|
+
comment: str
|
|
80292
|
+
});
|
|
80293
|
+
}
|
|
80294
|
+
function selector() {
|
|
80295
|
+
var m = match(/^([^{]+)/);
|
|
80296
|
+
if (!m) {
|
|
80297
|
+
return;
|
|
80298
|
+
}
|
|
80299
|
+
return trim(m[0])
|
|
80300
|
+
.replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g, '')
|
|
80301
|
+
.replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g, function (m) {
|
|
80302
|
+
return m.replace(/,/g, '\u200C');
|
|
80303
|
+
})
|
|
80304
|
+
.split(/\s*(?![^(]*\)),\s*/)
|
|
80305
|
+
.map(function (s) {
|
|
80306
|
+
return s.replace(/\u200C/g, ',');
|
|
80307
|
+
});
|
|
80308
|
+
}
|
|
80309
|
+
function declaration() {
|
|
80310
|
+
var pos = position();
|
|
80311
|
+
var propMatch = match(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);
|
|
80312
|
+
if (!propMatch) {
|
|
80313
|
+
return;
|
|
80314
|
+
}
|
|
80315
|
+
var prop = trim(propMatch[0]);
|
|
80316
|
+
if (!match(/^:\s*/)) {
|
|
80317
|
+
return error("property missing ':'");
|
|
80318
|
+
}
|
|
80319
|
+
var val = match(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/);
|
|
80320
|
+
var ret = pos({
|
|
80321
|
+
type: 'declaration',
|
|
80322
|
+
property: prop.replace(commentre, ''),
|
|
80323
|
+
value: val ? trim(val[0]).replace(commentre, '') : ''
|
|
80324
|
+
});
|
|
80325
|
+
match(/^[;\s]*/);
|
|
80326
|
+
return ret;
|
|
80327
|
+
}
|
|
80328
|
+
function declarations() {
|
|
80329
|
+
var decls = [];
|
|
80330
|
+
if (!open()) {
|
|
80331
|
+
return error("missing '{'");
|
|
80332
|
+
}
|
|
80333
|
+
comments(decls);
|
|
80334
|
+
var decl;
|
|
80335
|
+
while ((decl = declaration())) {
|
|
80336
|
+
if (decl !== false) {
|
|
80337
|
+
decls.push(decl);
|
|
80338
|
+
comments(decls);
|
|
80339
|
+
}
|
|
80340
|
+
decl = declaration();
|
|
80341
|
+
}
|
|
80342
|
+
if (!close()) {
|
|
80343
|
+
return error("missing '}'");
|
|
80344
|
+
}
|
|
80345
|
+
return decls;
|
|
80346
|
+
}
|
|
80347
|
+
function keyframe() {
|
|
80348
|
+
var m;
|
|
80349
|
+
var vals = [];
|
|
80350
|
+
var pos = position();
|
|
80351
|
+
while ((m = match(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/))) {
|
|
80352
|
+
vals.push(m[1]);
|
|
80353
|
+
match(/^,\s*/);
|
|
80354
|
+
}
|
|
80355
|
+
if (!vals.length) {
|
|
80356
|
+
return;
|
|
80357
|
+
}
|
|
80358
|
+
return pos({
|
|
80359
|
+
type: 'keyframe',
|
|
80360
|
+
values: vals,
|
|
80361
|
+
declarations: declarations()
|
|
80362
|
+
});
|
|
80363
|
+
}
|
|
80364
|
+
function atkeyframes() {
|
|
80365
|
+
var pos = position();
|
|
80366
|
+
var m = match(/^@([-\w]+)?keyframes\s*/);
|
|
80367
|
+
if (!m) {
|
|
80368
|
+
return;
|
|
80369
|
+
}
|
|
80370
|
+
var vendor = m[1];
|
|
80371
|
+
m = match(/^([-\w]+)\s*/);
|
|
80372
|
+
if (!m) {
|
|
80373
|
+
return error('@keyframes missing name');
|
|
80374
|
+
}
|
|
80375
|
+
var name = m[1];
|
|
80376
|
+
if (!open()) {
|
|
80377
|
+
return error("@keyframes missing '{'");
|
|
80378
|
+
}
|
|
80379
|
+
var frame;
|
|
80380
|
+
var frames = comments();
|
|
80381
|
+
while ((frame = keyframe())) {
|
|
80382
|
+
frames.push(frame);
|
|
80383
|
+
frames = frames.concat(comments());
|
|
80384
|
+
}
|
|
80385
|
+
if (!close()) {
|
|
80386
|
+
return error("@keyframes missing '}'");
|
|
80387
|
+
}
|
|
80388
|
+
return pos({
|
|
80389
|
+
type: 'keyframes',
|
|
80390
|
+
name: name,
|
|
80391
|
+
vendor: vendor,
|
|
80392
|
+
keyframes: frames
|
|
80393
|
+
});
|
|
80394
|
+
}
|
|
80395
|
+
function atsupports() {
|
|
80396
|
+
var pos = position();
|
|
80397
|
+
var m = match(/^@supports *([^{]+)/);
|
|
80398
|
+
if (!m) {
|
|
80399
|
+
return;
|
|
80400
|
+
}
|
|
80401
|
+
var supports = trim(m[1]);
|
|
80402
|
+
if (!open()) {
|
|
80403
|
+
return error("@supports missing '{'");
|
|
80404
|
+
}
|
|
80405
|
+
var style = comments().concat(rules());
|
|
80406
|
+
if (!close()) {
|
|
80407
|
+
return error("@supports missing '}'");
|
|
80408
|
+
}
|
|
80409
|
+
return pos({
|
|
80410
|
+
type: 'supports',
|
|
80411
|
+
supports: supports,
|
|
80412
|
+
rules: style
|
|
80413
|
+
});
|
|
80414
|
+
}
|
|
80415
|
+
function athost() {
|
|
80416
|
+
var pos = position();
|
|
80417
|
+
var m = match(/^@host\s*/);
|
|
80418
|
+
if (!m) {
|
|
80419
|
+
return;
|
|
80420
|
+
}
|
|
80421
|
+
if (!open()) {
|
|
80422
|
+
return error("@host missing '{'");
|
|
80423
|
+
}
|
|
80424
|
+
var style = comments().concat(rules());
|
|
80425
|
+
if (!close()) {
|
|
80426
|
+
return error("@host missing '}'");
|
|
80427
|
+
}
|
|
80428
|
+
return pos({
|
|
80429
|
+
type: 'host',
|
|
80430
|
+
rules: style
|
|
80431
|
+
});
|
|
80432
|
+
}
|
|
80433
|
+
function atmedia() {
|
|
80434
|
+
var pos = position();
|
|
80435
|
+
var m = match(/^@media *([^{]+)/);
|
|
80436
|
+
if (!m) {
|
|
80437
|
+
return;
|
|
80438
|
+
}
|
|
80439
|
+
var media = trim(m[1]);
|
|
80440
|
+
if (!open()) {
|
|
80441
|
+
return error("@media missing '{'");
|
|
80442
|
+
}
|
|
80443
|
+
var style = comments().concat(rules());
|
|
80444
|
+
if (!close()) {
|
|
80445
|
+
return error("@media missing '}'");
|
|
80446
|
+
}
|
|
80447
|
+
return pos({
|
|
80448
|
+
type: 'media',
|
|
80449
|
+
media: media,
|
|
80450
|
+
rules: style
|
|
80451
|
+
});
|
|
80452
|
+
}
|
|
80453
|
+
function atcustommedia() {
|
|
80454
|
+
var pos = position();
|
|
80455
|
+
var m = match(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);
|
|
80456
|
+
if (!m) {
|
|
80457
|
+
return;
|
|
80458
|
+
}
|
|
80459
|
+
return pos({
|
|
80460
|
+
type: 'custom-media',
|
|
80461
|
+
name: trim(m[1]),
|
|
80462
|
+
media: trim(m[2])
|
|
80463
|
+
});
|
|
80464
|
+
}
|
|
80465
|
+
function atpage() {
|
|
80466
|
+
var pos = position();
|
|
80467
|
+
var m = match(/^@page */);
|
|
80468
|
+
if (!m) {
|
|
80469
|
+
return;
|
|
80470
|
+
}
|
|
80471
|
+
var sel = selector() || [];
|
|
80472
|
+
if (!open()) {
|
|
80473
|
+
return error("@page missing '{'");
|
|
80474
|
+
}
|
|
80475
|
+
var decls = comments();
|
|
80476
|
+
var decl;
|
|
80477
|
+
while ((decl = declaration())) {
|
|
80478
|
+
decls.push(decl);
|
|
80479
|
+
decls = decls.concat(comments());
|
|
80480
|
+
}
|
|
80481
|
+
if (!close()) {
|
|
80482
|
+
return error("@page missing '}'");
|
|
80483
|
+
}
|
|
80484
|
+
return pos({
|
|
80485
|
+
type: 'page',
|
|
80486
|
+
selectors: sel,
|
|
80487
|
+
declarations: decls
|
|
80488
|
+
});
|
|
80489
|
+
}
|
|
80490
|
+
function atdocument() {
|
|
80491
|
+
var pos = position();
|
|
80492
|
+
var m = match(/^@([-\w]+)?document *([^{]+)/);
|
|
80493
|
+
if (!m) {
|
|
80494
|
+
return;
|
|
80495
|
+
}
|
|
80496
|
+
var vendor = trim(m[1]);
|
|
80497
|
+
var doc = trim(m[2]);
|
|
80498
|
+
if (!open()) {
|
|
80499
|
+
return error("@document missing '{'");
|
|
80500
|
+
}
|
|
80501
|
+
var style = comments().concat(rules());
|
|
80502
|
+
if (!close()) {
|
|
80503
|
+
return error("@document missing '}'");
|
|
80504
|
+
}
|
|
80505
|
+
return pos({
|
|
80506
|
+
type: 'document',
|
|
80507
|
+
document: doc,
|
|
80508
|
+
vendor: vendor,
|
|
80509
|
+
rules: style
|
|
80510
|
+
});
|
|
80511
|
+
}
|
|
80512
|
+
function atfontface() {
|
|
80513
|
+
var pos = position();
|
|
80514
|
+
var m = match(/^@font-face\s*/);
|
|
80515
|
+
if (!m) {
|
|
80516
|
+
return;
|
|
80517
|
+
}
|
|
80518
|
+
if (!open()) {
|
|
80519
|
+
return error("@font-face missing '{'");
|
|
80520
|
+
}
|
|
80521
|
+
var decls = comments();
|
|
80522
|
+
var decl;
|
|
80523
|
+
while ((decl = declaration())) {
|
|
80524
|
+
decls.push(decl);
|
|
80525
|
+
decls = decls.concat(comments());
|
|
80526
|
+
}
|
|
80527
|
+
if (!close()) {
|
|
80528
|
+
return error("@font-face missing '}'");
|
|
80529
|
+
}
|
|
80530
|
+
return pos({
|
|
80531
|
+
type: 'font-face',
|
|
80532
|
+
declarations: decls
|
|
80533
|
+
});
|
|
80534
|
+
}
|
|
80535
|
+
var atimport = _compileAtrule('import');
|
|
80536
|
+
var atcharset = _compileAtrule('charset');
|
|
80537
|
+
var atnamespace = _compileAtrule('namespace');
|
|
80538
|
+
function _compileAtrule(name) {
|
|
80539
|
+
var re = new RegExp('^@' + name + '\\s*([^;]+);');
|
|
80540
|
+
return function () {
|
|
80541
|
+
var pos = position();
|
|
80542
|
+
var m = match(re);
|
|
80543
|
+
if (!m) {
|
|
80544
|
+
return;
|
|
80545
|
+
}
|
|
80546
|
+
var ret = { type: name };
|
|
80547
|
+
ret[name] = m[1].trim();
|
|
80548
|
+
return pos(ret);
|
|
80549
|
+
};
|
|
80550
|
+
}
|
|
80551
|
+
function atrule() {
|
|
80552
|
+
if (css[0] !== '@') {
|
|
80553
|
+
return;
|
|
80554
|
+
}
|
|
80555
|
+
return (atkeyframes() ||
|
|
80556
|
+
atmedia() ||
|
|
80557
|
+
atcustommedia() ||
|
|
80558
|
+
atsupports() ||
|
|
80559
|
+
atimport() ||
|
|
80560
|
+
atcharset() ||
|
|
80561
|
+
atnamespace() ||
|
|
80562
|
+
atdocument() ||
|
|
80563
|
+
atpage() ||
|
|
80564
|
+
athost() ||
|
|
80565
|
+
atfontface());
|
|
80566
|
+
}
|
|
80567
|
+
function rule() {
|
|
80568
|
+
var pos = position();
|
|
80569
|
+
var sel = selector();
|
|
80570
|
+
if (!sel) {
|
|
80571
|
+
return error('selector missing');
|
|
80572
|
+
}
|
|
80573
|
+
comments();
|
|
80574
|
+
return pos({
|
|
80575
|
+
type: 'rule',
|
|
80576
|
+
selectors: sel,
|
|
80577
|
+
declarations: declarations()
|
|
80578
|
+
});
|
|
80579
|
+
}
|
|
80580
|
+
return addParent(stylesheet());
|
|
80581
|
+
}
|
|
80582
|
+
function trim(str) {
|
|
80583
|
+
return str ? str.replace(/^\s+|\s+$/g, '') : '';
|
|
80584
|
+
}
|
|
80585
|
+
function addParent(obj, parent) {
|
|
80586
|
+
var isNode = obj && typeof obj.type === 'string';
|
|
80587
|
+
var childParent = isNode ? obj : parent;
|
|
80588
|
+
for (var _i = 0, _a = Object.keys(obj); _i < _a.length; _i++) {
|
|
80589
|
+
var k = _a[_i];
|
|
80590
|
+
var value = obj[k];
|
|
80591
|
+
if (Array.isArray(value)) {
|
|
80592
|
+
value.forEach(function (v) {
|
|
80593
|
+
addParent(v, childParent);
|
|
80594
|
+
});
|
|
80595
|
+
}
|
|
80596
|
+
else if (value && typeof value === 'object') {
|
|
80597
|
+
addParent(value, childParent);
|
|
80598
|
+
}
|
|
80599
|
+
}
|
|
80600
|
+
if (isNode) {
|
|
80601
|
+
Object.defineProperty(obj, 'parent', {
|
|
80602
|
+
configurable: true,
|
|
80603
|
+
writable: true,
|
|
80604
|
+
enumerable: false,
|
|
80605
|
+
value: parent || null
|
|
80606
|
+
});
|
|
80607
|
+
}
|
|
80608
|
+
return obj;
|
|
80609
|
+
}
|
|
80610
|
+
|
|
80611
|
+
var tagMap = {
|
|
80612
|
+
script: 'noscript',
|
|
80613
|
+
altglyph: 'altGlyph',
|
|
80614
|
+
altglyphdef: 'altGlyphDef',
|
|
80615
|
+
altglyphitem: 'altGlyphItem',
|
|
80616
|
+
animatecolor: 'animateColor',
|
|
80617
|
+
animatemotion: 'animateMotion',
|
|
80618
|
+
animatetransform: 'animateTransform',
|
|
80619
|
+
clippath: 'clipPath',
|
|
80620
|
+
feblend: 'feBlend',
|
|
80621
|
+
fecolormatrix: 'feColorMatrix',
|
|
80622
|
+
fecomponenttransfer: 'feComponentTransfer',
|
|
80623
|
+
fecomposite: 'feComposite',
|
|
80624
|
+
feconvolvematrix: 'feConvolveMatrix',
|
|
80625
|
+
fediffuselighting: 'feDiffuseLighting',
|
|
80626
|
+
fedisplacementmap: 'feDisplacementMap',
|
|
80627
|
+
fedistantlight: 'feDistantLight',
|
|
80628
|
+
fedropshadow: 'feDropShadow',
|
|
80629
|
+
feflood: 'feFlood',
|
|
80630
|
+
fefunca: 'feFuncA',
|
|
80631
|
+
fefuncb: 'feFuncB',
|
|
80632
|
+
fefuncg: 'feFuncG',
|
|
80633
|
+
fefuncr: 'feFuncR',
|
|
80634
|
+
fegaussianblur: 'feGaussianBlur',
|
|
80635
|
+
feimage: 'feImage',
|
|
80636
|
+
femerge: 'feMerge',
|
|
80637
|
+
femergenode: 'feMergeNode',
|
|
80638
|
+
femorphology: 'feMorphology',
|
|
80639
|
+
feoffset: 'feOffset',
|
|
80640
|
+
fepointlight: 'fePointLight',
|
|
80641
|
+
fespecularlighting: 'feSpecularLighting',
|
|
80642
|
+
fespotlight: 'feSpotLight',
|
|
80643
|
+
fetile: 'feTile',
|
|
80644
|
+
feturbulence: 'feTurbulence',
|
|
80645
|
+
foreignobject: 'foreignObject',
|
|
80646
|
+
glyphref: 'glyphRef',
|
|
80647
|
+
lineargradient: 'linearGradient',
|
|
80648
|
+
radialgradient: 'radialGradient'
|
|
80649
|
+
};
|
|
80650
|
+
function getTagName(n) {
|
|
80651
|
+
var tagName = tagMap[n.tagName] ? tagMap[n.tagName] : n.tagName;
|
|
80652
|
+
if (tagName === 'link' && n.attributes._cssText) {
|
|
80653
|
+
tagName = 'style';
|
|
80654
|
+
}
|
|
80655
|
+
return tagName;
|
|
80656
|
+
}
|
|
80657
|
+
function escapeRegExp(str) {
|
|
80658
|
+
return str.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
80659
|
+
}
|
|
80660
|
+
var HOVER_SELECTOR = /([^\\]):hover/;
|
|
80661
|
+
var HOVER_SELECTOR_GLOBAL = new RegExp(HOVER_SELECTOR.source, 'g');
|
|
80662
|
+
function addHoverClass(cssText, cache) {
|
|
80663
|
+
var cachedStyle = cache === null || cache === void 0 ? void 0 : cache.stylesWithHoverClass.get(cssText);
|
|
80664
|
+
if (cachedStyle)
|
|
80665
|
+
return cachedStyle;
|
|
80666
|
+
var ast = parse(cssText, {
|
|
80667
|
+
silent: true
|
|
80668
|
+
});
|
|
80669
|
+
if (!ast.stylesheet) {
|
|
80670
|
+
return cssText;
|
|
80671
|
+
}
|
|
80672
|
+
var selectors = [];
|
|
80673
|
+
ast.stylesheet.rules.forEach(function (rule) {
|
|
80674
|
+
if ('selectors' in rule) {
|
|
80675
|
+
(rule.selectors || []).forEach(function (selector) {
|
|
80676
|
+
if (HOVER_SELECTOR.test(selector)) {
|
|
80677
|
+
selectors.push(selector);
|
|
80678
|
+
}
|
|
80679
|
+
});
|
|
80680
|
+
}
|
|
80681
|
+
});
|
|
80682
|
+
if (selectors.length === 0) {
|
|
80683
|
+
return cssText;
|
|
80684
|
+
}
|
|
80685
|
+
var selectorMatcher = new RegExp(selectors
|
|
80686
|
+
.filter(function (selector, index) { return selectors.indexOf(selector) === index; })
|
|
80687
|
+
.sort(function (a, b) { return b.length - a.length; })
|
|
80688
|
+
.map(function (selector) {
|
|
80689
|
+
return escapeRegExp(selector);
|
|
80690
|
+
})
|
|
80691
|
+
.join('|'), 'g');
|
|
80692
|
+
var result = cssText.replace(selectorMatcher, function (selector) {
|
|
80693
|
+
var newSelector = selector.replace(HOVER_SELECTOR_GLOBAL, '$1.\\:hover');
|
|
80694
|
+
return "".concat(selector, ", ").concat(newSelector);
|
|
80695
|
+
});
|
|
80696
|
+
cache === null || cache === void 0 ? void 0 : cache.stylesWithHoverClass.set(cssText, result);
|
|
80697
|
+
return result;
|
|
80698
|
+
}
|
|
80699
|
+
function createCache() {
|
|
80700
|
+
var stylesWithHoverClass = new Map();
|
|
80701
|
+
return {
|
|
80702
|
+
stylesWithHoverClass: stylesWithHoverClass
|
|
80703
|
+
};
|
|
80704
|
+
}
|
|
80705
|
+
function buildNode(n, options) {
|
|
80706
|
+
var doc = options.doc, hackCss = options.hackCss, cache = options.cache;
|
|
80707
|
+
switch (n.type) {
|
|
80708
|
+
case NodeType.Document:
|
|
80709
|
+
return doc.implementation.createDocument(null, '', null);
|
|
80710
|
+
case NodeType.DocumentType:
|
|
80711
|
+
return doc.implementation.createDocumentType(n.name || 'html', n.publicId, n.systemId);
|
|
80712
|
+
case NodeType.Element: {
|
|
80713
|
+
var tagName = getTagName(n);
|
|
80714
|
+
var node_1;
|
|
80715
|
+
if (n.isSVG) {
|
|
80716
|
+
node_1 = doc.createElementNS('http://www.w3.org/2000/svg', tagName);
|
|
80717
|
+
}
|
|
80718
|
+
else {
|
|
80719
|
+
node_1 = doc.createElement(tagName);
|
|
80720
|
+
}
|
|
80721
|
+
var specialAttributes = {};
|
|
80722
|
+
for (var name_1 in n.attributes) {
|
|
80723
|
+
if (!Object.prototype.hasOwnProperty.call(n.attributes, name_1)) {
|
|
80724
|
+
continue;
|
|
80725
|
+
}
|
|
80726
|
+
var value = n.attributes[name_1];
|
|
80727
|
+
if (tagName === 'option' &&
|
|
80728
|
+
name_1 === 'selected' &&
|
|
80729
|
+
value === false) {
|
|
80730
|
+
continue;
|
|
80731
|
+
}
|
|
80732
|
+
if (value === true)
|
|
80733
|
+
value = '';
|
|
80734
|
+
if (name_1.startsWith('rr_')) {
|
|
80735
|
+
specialAttributes[name_1] = value;
|
|
80736
|
+
continue;
|
|
80737
|
+
}
|
|
80738
|
+
var isTextarea = tagName === 'textarea' && name_1 === 'value';
|
|
80739
|
+
var isRemoteOrDynamicCss = tagName === 'style' && name_1 === '_cssText';
|
|
80740
|
+
if (isRemoteOrDynamicCss && hackCss && typeof value === 'string') {
|
|
80741
|
+
value = addHoverClass(value, cache);
|
|
80742
|
+
}
|
|
80743
|
+
if ((isTextarea || isRemoteOrDynamicCss) && typeof value === 'string') {
|
|
80744
|
+
var child = doc.createTextNode(value);
|
|
80745
|
+
for (var _i = 0, _a = Array.from(node_1.childNodes); _i < _a.length; _i++) {
|
|
80746
|
+
var c = _a[_i];
|
|
80747
|
+
if (c.nodeType === node_1.TEXT_NODE) {
|
|
80748
|
+
node_1.removeChild(c);
|
|
80749
|
+
}
|
|
80750
|
+
}
|
|
80751
|
+
node_1.appendChild(child);
|
|
80752
|
+
continue;
|
|
80753
|
+
}
|
|
80754
|
+
try {
|
|
80755
|
+
if (n.isSVG && name_1 === 'xlink:href') {
|
|
80756
|
+
node_1.setAttributeNS('http://www.w3.org/1999/xlink', name_1, value.toString());
|
|
80757
|
+
}
|
|
80758
|
+
else if (name_1 === 'onload' ||
|
|
80759
|
+
name_1 === 'onclick' ||
|
|
80760
|
+
name_1.substring(0, 7) === 'onmouse') {
|
|
80761
|
+
node_1.setAttribute('_' + name_1, value.toString());
|
|
80762
|
+
}
|
|
80763
|
+
else if (tagName === 'meta' &&
|
|
80764
|
+
n.attributes['http-equiv'] === 'Content-Security-Policy' &&
|
|
80765
|
+
name_1 === 'content') {
|
|
80766
|
+
node_1.setAttribute('csp-content', value.toString());
|
|
80767
|
+
continue;
|
|
80768
|
+
}
|
|
80769
|
+
else if (tagName === 'link' &&
|
|
80770
|
+
n.attributes.rel === 'preload' &&
|
|
80771
|
+
n.attributes.as === 'script') {
|
|
80772
|
+
}
|
|
80773
|
+
else if (tagName === 'link' &&
|
|
80774
|
+
n.attributes.rel === 'prefetch' &&
|
|
80775
|
+
typeof n.attributes.href === 'string' &&
|
|
80776
|
+
n.attributes.href.endsWith('.js')) {
|
|
80777
|
+
}
|
|
80778
|
+
else if (tagName === 'img' &&
|
|
80779
|
+
n.attributes.srcset &&
|
|
80780
|
+
n.attributes.rr_dataURL) {
|
|
80781
|
+
node_1.setAttribute('rrweb-original-srcset', n.attributes.srcset);
|
|
80782
|
+
}
|
|
80783
|
+
else {
|
|
80784
|
+
node_1.setAttribute(name_1, value.toString());
|
|
80785
|
+
}
|
|
80786
|
+
}
|
|
80787
|
+
catch (error) {
|
|
80788
|
+
}
|
|
80789
|
+
}
|
|
80790
|
+
var _loop_1 = function (name_2) {
|
|
80791
|
+
var value = specialAttributes[name_2];
|
|
80792
|
+
if (tagName === 'canvas' && name_2 === 'rr_dataURL') {
|
|
80793
|
+
var image_1 = document.createElement('img');
|
|
80794
|
+
image_1.onload = function () {
|
|
80795
|
+
var ctx = node_1.getContext('2d');
|
|
80796
|
+
if (ctx) {
|
|
80797
|
+
ctx.drawImage(image_1, 0, 0, image_1.width, image_1.height);
|
|
80798
|
+
}
|
|
80799
|
+
};
|
|
80800
|
+
image_1.src = value.toString();
|
|
80801
|
+
if (node_1.RRNodeType)
|
|
80802
|
+
node_1.rr_dataURL = value.toString();
|
|
80803
|
+
}
|
|
80804
|
+
else if (tagName === 'img' && name_2 === 'rr_dataURL') {
|
|
80805
|
+
var image = node_1;
|
|
80806
|
+
if (!image.currentSrc.startsWith('data:')) {
|
|
80807
|
+
image.setAttribute('rrweb-original-src', n.attributes.src);
|
|
80808
|
+
image.src = value.toString();
|
|
80809
|
+
}
|
|
80810
|
+
}
|
|
80811
|
+
if (name_2 === 'rr_width') {
|
|
80812
|
+
node_1.style.width = value.toString();
|
|
80813
|
+
}
|
|
80814
|
+
else if (name_2 === 'rr_height') {
|
|
80815
|
+
node_1.style.height = value.toString();
|
|
80816
|
+
}
|
|
80817
|
+
else if (name_2 === 'rr_mediaCurrentTime' &&
|
|
80818
|
+
typeof value === 'number') {
|
|
80819
|
+
node_1.currentTime = value;
|
|
80820
|
+
}
|
|
80821
|
+
else if (name_2 === 'rr_mediaState') {
|
|
80822
|
+
switch (value) {
|
|
80823
|
+
case 'played':
|
|
80824
|
+
node_1
|
|
80825
|
+
.play()["catch"](function (e) { return console.warn('media playback error', e); });
|
|
80826
|
+
break;
|
|
80827
|
+
case 'paused':
|
|
80828
|
+
node_1.pause();
|
|
80829
|
+
break;
|
|
80830
|
+
}
|
|
80831
|
+
}
|
|
80832
|
+
};
|
|
80833
|
+
for (var name_2 in specialAttributes) {
|
|
80834
|
+
_loop_1(name_2);
|
|
80835
|
+
}
|
|
80836
|
+
if (n.isShadowHost) {
|
|
80837
|
+
if (!node_1.shadowRoot) {
|
|
80838
|
+
node_1.attachShadow({ mode: 'open' });
|
|
80839
|
+
}
|
|
80840
|
+
else {
|
|
80841
|
+
while (node_1.shadowRoot.firstChild) {
|
|
80842
|
+
node_1.shadowRoot.removeChild(node_1.shadowRoot.firstChild);
|
|
80843
|
+
}
|
|
80844
|
+
}
|
|
80845
|
+
}
|
|
80846
|
+
return node_1;
|
|
80847
|
+
}
|
|
80848
|
+
case NodeType.Text:
|
|
80849
|
+
return doc.createTextNode(n.isStyle && hackCss
|
|
80850
|
+
? addHoverClass(n.textContent, cache)
|
|
80851
|
+
: n.textContent);
|
|
80852
|
+
case NodeType.CDATA:
|
|
80853
|
+
return doc.createCDATASection(n.textContent);
|
|
80854
|
+
case NodeType.Comment:
|
|
80855
|
+
return doc.createComment(n.textContent);
|
|
80856
|
+
default:
|
|
80857
|
+
return null;
|
|
80858
|
+
}
|
|
80859
|
+
}
|
|
80860
|
+
function buildNodeWithSN(n, options) {
|
|
80861
|
+
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;
|
|
80862
|
+
var node = buildNode(n, { doc: doc, hackCss: hackCss, cache: cache });
|
|
80863
|
+
if (!node) {
|
|
80864
|
+
return null;
|
|
80865
|
+
}
|
|
80866
|
+
if (n.rootId && mirror.getNode(n.rootId) !== doc) {
|
|
80867
|
+
mirror.replace(n.rootId, doc);
|
|
80868
|
+
}
|
|
80869
|
+
if (n.type === NodeType.Document) {
|
|
80870
|
+
doc.close();
|
|
80871
|
+
doc.open();
|
|
80872
|
+
if (n.compatMode === 'BackCompat' &&
|
|
80873
|
+
n.childNodes &&
|
|
80874
|
+
n.childNodes[0].type !== NodeType.DocumentType) {
|
|
80875
|
+
if (n.childNodes[0].type === NodeType.Element &&
|
|
80876
|
+
'xmlns' in n.childNodes[0].attributes &&
|
|
80877
|
+
n.childNodes[0].attributes.xmlns === 'http://www.w3.org/1999/xhtml') {
|
|
80878
|
+
doc.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">');
|
|
80879
|
+
}
|
|
80880
|
+
else {
|
|
80881
|
+
doc.write('<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "">');
|
|
80882
|
+
}
|
|
80883
|
+
}
|
|
80884
|
+
node = doc;
|
|
80885
|
+
}
|
|
80886
|
+
mirror.add(node, n);
|
|
80887
|
+
if ((n.type === NodeType.Document || n.type === NodeType.Element) &&
|
|
80888
|
+
!skipChild) {
|
|
80889
|
+
for (var _i = 0, _c = n.childNodes; _i < _c.length; _i++) {
|
|
80890
|
+
var childN = _c[_i];
|
|
80891
|
+
var childNode = buildNodeWithSN(childN, {
|
|
80892
|
+
doc: doc,
|
|
80893
|
+
mirror: mirror,
|
|
80894
|
+
skipChild: false,
|
|
80895
|
+
hackCss: hackCss,
|
|
80896
|
+
afterAppend: afterAppend,
|
|
80897
|
+
cache: cache
|
|
80898
|
+
});
|
|
80899
|
+
if (!childNode) {
|
|
80900
|
+
console.warn('Failed to rebuild', childN);
|
|
80901
|
+
continue;
|
|
80902
|
+
}
|
|
80903
|
+
if (childN.isShadow && isElement(node) && node.shadowRoot) {
|
|
80904
|
+
node.shadowRoot.appendChild(childNode);
|
|
80905
|
+
}
|
|
80906
|
+
else {
|
|
80907
|
+
node.appendChild(childNode);
|
|
80908
|
+
}
|
|
80909
|
+
if (afterAppend) {
|
|
80910
|
+
afterAppend(childNode, childN.id);
|
|
80911
|
+
}
|
|
80912
|
+
}
|
|
80913
|
+
}
|
|
80914
|
+
return node;
|
|
80915
|
+
}
|
|
80916
|
+
function visit(mirror, onVisit) {
|
|
80917
|
+
function walk(node) {
|
|
80918
|
+
onVisit(node);
|
|
80919
|
+
}
|
|
80920
|
+
for (var _i = 0, _a = mirror.getIds(); _i < _a.length; _i++) {
|
|
80921
|
+
var id = _a[_i];
|
|
80922
|
+
if (mirror.has(id)) {
|
|
80923
|
+
walk(mirror.getNode(id));
|
|
80924
|
+
}
|
|
80925
|
+
}
|
|
80926
|
+
}
|
|
80927
|
+
function handleScroll(node, mirror) {
|
|
80928
|
+
var n = mirror.getMeta(node);
|
|
80929
|
+
if ((n === null || n === void 0 ? void 0 : n.type) !== NodeType.Element) {
|
|
80930
|
+
return;
|
|
80931
|
+
}
|
|
80932
|
+
var el = node;
|
|
80933
|
+
for (var name_3 in n.attributes) {
|
|
80934
|
+
if (!(Object.prototype.hasOwnProperty.call(n.attributes, name_3) &&
|
|
80935
|
+
name_3.startsWith('rr_'))) {
|
|
80936
|
+
continue;
|
|
80937
|
+
}
|
|
80938
|
+
var value = n.attributes[name_3];
|
|
80939
|
+
if (name_3 === 'rr_scrollLeft') {
|
|
80940
|
+
el.scrollLeft = value;
|
|
80941
|
+
}
|
|
80942
|
+
if (name_3 === 'rr_scrollTop') {
|
|
80943
|
+
el.scrollTop = value;
|
|
80944
|
+
}
|
|
80945
|
+
}
|
|
80946
|
+
}
|
|
80947
|
+
function rebuild(n, options) {
|
|
80948
|
+
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;
|
|
80949
|
+
var node = buildNodeWithSN(n, {
|
|
80950
|
+
doc: doc,
|
|
80951
|
+
mirror: mirror,
|
|
80952
|
+
skipChild: false,
|
|
80953
|
+
hackCss: hackCss,
|
|
80954
|
+
afterAppend: afterAppend,
|
|
80955
|
+
cache: cache
|
|
80956
|
+
});
|
|
80957
|
+
visit(mirror, function (visitedNode) {
|
|
80958
|
+
if (onVisit) {
|
|
80959
|
+
onVisit(visitedNode);
|
|
80960
|
+
}
|
|
80961
|
+
handleScroll(visitedNode, mirror);
|
|
80962
|
+
});
|
|
80963
|
+
return node;
|
|
80964
|
+
}
|
|
80965
|
+
|
|
80966
|
+
|
|
80967
|
+
|
|
78908
80968
|
// 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
|
|
78909
80969
|
|
|
78910
80970
|
|
|
78911
80971
|
|
|
78912
80972
|
|
|
78913
80973
|
|
|
80974
|
+
|
|
80975
|
+
|
|
80976
|
+
|
|
80977
|
+
|
|
80978
|
+
|
|
80979
|
+
|
|
80980
|
+
|
|
80981
|
+
|
|
80982
|
+
|
|
78914
80983
|
/* harmony default export */ var ImMultiImgUploadListvue_type_script_lang_js = ({
|
|
78915
80984
|
name: 'ImMultiImgUpload',
|
|
78916
80985
|
mixins: [emitter["a" /* default */]],
|
|
@@ -78942,7 +81011,8 @@ var emitter = __webpack_require__("f6f4");
|
|
|
78942
81011
|
},
|
|
78943
81012
|
data: function data() {
|
|
78944
81013
|
return {
|
|
78945
|
-
uploadedImageList: []
|
|
81014
|
+
uploadedImageList: [],
|
|
81015
|
+
snapshotDialogVisible: false
|
|
78946
81016
|
};
|
|
78947
81017
|
},
|
|
78948
81018
|
computed: {
|
|
@@ -78969,15 +81039,22 @@ var emitter = __webpack_require__("f6f4");
|
|
|
78969
81039
|
}
|
|
78970
81040
|
},
|
|
78971
81041
|
methods: {
|
|
78972
|
-
|
|
78973
|
-
|
|
81042
|
+
// 判断是否为rrweb快照数据
|
|
81043
|
+
isSnapshotData: function isSnapshotData(url) {
|
|
81044
|
+
return url && url.endsWith('.json');
|
|
78974
81045
|
},
|
|
78975
81046
|
showImgView: function showImgView(res) {
|
|
81047
|
+
var _this = this;
|
|
78976
81048
|
var file = res;
|
|
78977
81049
|
if (res.response) {
|
|
78978
81050
|
file = res.response;
|
|
78979
81051
|
}
|
|
78980
|
-
|
|
81052
|
+
// 图片只预览非isSnapshotData的数据
|
|
81053
|
+
var previewList = this.uploadedImageList.filter(function (i) {
|
|
81054
|
+
return !_this.isSnapshotData(i);
|
|
81055
|
+
});
|
|
81056
|
+
console.log('previewList', previewList);
|
|
81057
|
+
var index = previewList.findIndex(function (i) {
|
|
78981
81058
|
return i === file.url;
|
|
78982
81059
|
});
|
|
78983
81060
|
this.$viewerApi({
|
|
@@ -78985,9 +81062,87 @@ var emitter = __webpack_require__("f6f4");
|
|
|
78985
81062
|
navbar: false,
|
|
78986
81063
|
initialViewIndex: index
|
|
78987
81064
|
},
|
|
78988
|
-
images:
|
|
81065
|
+
images: previewList
|
|
78989
81066
|
});
|
|
78990
81067
|
},
|
|
81068
|
+
showSnapshotView: function showSnapshotView(url) {
|
|
81069
|
+
var _this2 = this;
|
|
81070
|
+
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee2() {
|
|
81071
|
+
return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee2$(_context2) {
|
|
81072
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
81073
|
+
case 0:
|
|
81074
|
+
_this2.snapshotDialogVisible = true;
|
|
81075
|
+
try {
|
|
81076
|
+
_this2.$nextTick( /*#__PURE__*/Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee() {
|
|
81077
|
+
var response, snapshotData, container, _snapshotData$childNo, iframe, isMobileSnapshot, iframeDoc, meta;
|
|
81078
|
+
return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee$(_context) {
|
|
81079
|
+
while (1) switch (_context.prev = _context.next) {
|
|
81080
|
+
case 0:
|
|
81081
|
+
_context.next = 2;
|
|
81082
|
+
return fetch(url);
|
|
81083
|
+
case 2:
|
|
81084
|
+
response = _context.sent;
|
|
81085
|
+
_context.next = 5;
|
|
81086
|
+
return response.json();
|
|
81087
|
+
case 5:
|
|
81088
|
+
snapshotData = _context.sent;
|
|
81089
|
+
container = _this2.$refs.snapshotContainer;
|
|
81090
|
+
if (!container) {
|
|
81091
|
+
_context.next = 21;
|
|
81092
|
+
break;
|
|
81093
|
+
}
|
|
81094
|
+
iframe = document.createElement('iframe'); // 检查是否为移动端截屏
|
|
81095
|
+
isMobileSnapshot = (_snapshotData$childNo = snapshotData.childNodes) === null || _snapshotData$childNo === void 0 ? void 0 : _snapshotData$childNo.some(function (node) {
|
|
81096
|
+
var _node$attributes;
|
|
81097
|
+
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'));
|
|
81098
|
+
}); // 根据是否是移动端设置不同的样式
|
|
81099
|
+
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;';
|
|
81100
|
+
container.innerHTML = '';
|
|
81101
|
+
container.appendChild(iframe);
|
|
81102
|
+
_context.next = 15;
|
|
81103
|
+
return new Promise(function (resolve) {
|
|
81104
|
+
iframe.onload = resolve;
|
|
81105
|
+
iframe.src = 'about:blank';
|
|
81106
|
+
});
|
|
81107
|
+
case 15:
|
|
81108
|
+
iframeDoc = iframe.contentDocument;
|
|
81109
|
+
meta = iframeDoc.createElement('meta');
|
|
81110
|
+
meta.setAttribute('name', 'viewport');
|
|
81111
|
+
meta.setAttribute('content', 'width=device-width, initial-scale=1');
|
|
81112
|
+
iframeDoc.head.appendChild(meta);
|
|
81113
|
+
rebuild(snapshotData, {
|
|
81114
|
+
doc: iframeDoc,
|
|
81115
|
+
afterAppend: function afterAppend(node) {
|
|
81116
|
+
if (node.tagName === 'STYLE' || node.tagName === 'SCRIPT') {
|
|
81117
|
+
node.setAttribute('data-snapshot', 'true');
|
|
81118
|
+
}
|
|
81119
|
+
}
|
|
81120
|
+
});
|
|
81121
|
+
case 21:
|
|
81122
|
+
case "end":
|
|
81123
|
+
return _context.stop();
|
|
81124
|
+
}
|
|
81125
|
+
}, _callee);
|
|
81126
|
+
})));
|
|
81127
|
+
} catch (err) {
|
|
81128
|
+
console.error('预览快照失败:', err);
|
|
81129
|
+
_this2.error = '预览快照失败';
|
|
81130
|
+
_this2.dialogVisible = false;
|
|
81131
|
+
}
|
|
81132
|
+
case 2:
|
|
81133
|
+
case "end":
|
|
81134
|
+
return _context2.stop();
|
|
81135
|
+
}
|
|
81136
|
+
}, _callee2);
|
|
81137
|
+
}))();
|
|
81138
|
+
},
|
|
81139
|
+
handleSnapshotDialogClose: function handleSnapshotDialogClose() {
|
|
81140
|
+
this.snapshotDialogVisible = false;
|
|
81141
|
+
this.currentSnapshotUrl = null;
|
|
81142
|
+
if (this.$refs.snapshotContainer) {
|
|
81143
|
+
this.$refs.snapshotContainer.innerHTML = '';
|
|
81144
|
+
}
|
|
81145
|
+
},
|
|
78991
81146
|
setMyValue: function setMyValue() {
|
|
78992
81147
|
try {
|
|
78993
81148
|
if ((!this.value || this.value.length === 0) && this.$refs.upload) {
|
|
@@ -79028,8 +81183,8 @@ var emitter = __webpack_require__("f6f4");
|
|
|
79028
81183
|
});
|
|
79029
81184
|
// CONCATENATED MODULE: ./src/imui/src/FormComponents/upload/ImMultiImgUploadList.vue?vue&type=script&lang=js
|
|
79030
81185
|
/* harmony default export */ var upload_ImMultiImgUploadListvue_type_script_lang_js = (ImMultiImgUploadListvue_type_script_lang_js);
|
|
79031
|
-
// EXTERNAL MODULE: ./src/imui/src/FormComponents/upload/ImMultiImgUploadList.vue?vue&type=style&index=0&id=
|
|
79032
|
-
var
|
|
81186
|
+
// EXTERNAL MODULE: ./src/imui/src/FormComponents/upload/ImMultiImgUploadList.vue?vue&type=style&index=0&id=4202bce1&prod&lang=scss&scoped=true
|
|
81187
|
+
var ImMultiImgUploadListvue_type_style_index_0_id_4202bce1_prod_lang_scss_scoped_true = __webpack_require__("71ca");
|
|
79033
81188
|
|
|
79034
81189
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
79035
81190
|
var componentNormalizer = __webpack_require__("2877");
|
|
@@ -79049,7 +81204,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
79049
81204
|
staticRenderFns,
|
|
79050
81205
|
false,
|
|
79051
81206
|
null,
|
|
79052
|
-
"
|
|
81207
|
+
"4202bce1",
|
|
79053
81208
|
null
|
|
79054
81209
|
|
|
79055
81210
|
)
|
|
@@ -79644,7 +81799,7 @@ checkbox_group.install = function (Vue) {
|
|
|
79644
81799
|
// ESM COMPAT FLAG
|
|
79645
81800
|
__webpack_require__.r(__webpack_exports__);
|
|
79646
81801
|
|
|
79647
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
81802
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"bec69a46-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
|
|
79648
81803
|
var render = function render() {
|
|
79649
81804
|
var _vm = this,
|
|
79650
81805
|
_c = _vm._self._c;
|
|
@@ -80489,7 +82644,7 @@ module.exports = function (it) {
|
|
|
80489
82644
|
// ESM COMPAT FLAG
|
|
80490
82645
|
__webpack_require__.r(__webpack_exports__);
|
|
80491
82646
|
|
|
80492
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
82647
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"bec69a46-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
|
|
80493
82648
|
var render = function render() {
|
|
80494
82649
|
var _vm = this,
|
|
80495
82650
|
_c = _vm._self._c;
|
|
@@ -80849,7 +83004,7 @@ module.exports = store.inspectSource;
|
|
|
80849
83004
|
// ESM COMPAT FLAG
|
|
80850
83005
|
__webpack_require__.r(__webpack_exports__);
|
|
80851
83006
|
|
|
80852
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
83007
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"bec69a46-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
|
|
80853
83008
|
var render = function render() {
|
|
80854
83009
|
var _vm = this,
|
|
80855
83010
|
_c = _vm._self._c;
|
|
@@ -81038,6 +83193,48 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
81038
83193
|
module.exports = {};
|
|
81039
83194
|
|
|
81040
83195
|
|
|
83196
|
+
/***/ }),
|
|
83197
|
+
|
|
83198
|
+
/***/ "8a79":
|
|
83199
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
83200
|
+
|
|
83201
|
+
"use strict";
|
|
83202
|
+
|
|
83203
|
+
var $ = __webpack_require__("23e7");
|
|
83204
|
+
var uncurryThis = __webpack_require__("4625");
|
|
83205
|
+
var getOwnPropertyDescriptor = __webpack_require__("06cf").f;
|
|
83206
|
+
var toLength = __webpack_require__("50c4");
|
|
83207
|
+
var toString = __webpack_require__("577e");
|
|
83208
|
+
var notARegExp = __webpack_require__("5a34");
|
|
83209
|
+
var requireObjectCoercible = __webpack_require__("1d80");
|
|
83210
|
+
var correctIsRegExpLogic = __webpack_require__("ab13");
|
|
83211
|
+
var IS_PURE = __webpack_require__("c430");
|
|
83212
|
+
|
|
83213
|
+
var slice = uncurryThis(''.slice);
|
|
83214
|
+
var min = Math.min;
|
|
83215
|
+
|
|
83216
|
+
var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith');
|
|
83217
|
+
// https://github.com/zloirock/core-js/pull/702
|
|
83218
|
+
var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {
|
|
83219
|
+
var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith');
|
|
83220
|
+
return descriptor && !descriptor.writable;
|
|
83221
|
+
}();
|
|
83222
|
+
|
|
83223
|
+
// `String.prototype.endsWith` method
|
|
83224
|
+
// https://tc39.es/ecma262/#sec-string.prototype.endswith
|
|
83225
|
+
$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
|
|
83226
|
+
endsWith: function endsWith(searchString /* , endPosition = @length */) {
|
|
83227
|
+
var that = toString(requireObjectCoercible(this));
|
|
83228
|
+
notARegExp(searchString);
|
|
83229
|
+
var endPosition = arguments.length > 1 ? arguments[1] : undefined;
|
|
83230
|
+
var len = that.length;
|
|
83231
|
+
var end = endPosition === undefined ? len : min(toLength(endPosition), len);
|
|
83232
|
+
var search = toString(searchString);
|
|
83233
|
+
return slice(that, end - search.length, end) === search;
|
|
83234
|
+
}
|
|
83235
|
+
});
|
|
83236
|
+
|
|
83237
|
+
|
|
81041
83238
|
/***/ }),
|
|
81042
83239
|
|
|
81043
83240
|
/***/ "8a98":
|
|
@@ -81441,7 +83638,7 @@ module.exports = require("vue");
|
|
|
81441
83638
|
// ESM COMPAT FLAG
|
|
81442
83639
|
__webpack_require__.r(__webpack_exports__);
|
|
81443
83640
|
|
|
81444
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
83641
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"bec69a46-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
|
|
81445
83642
|
var render = function render() {
|
|
81446
83643
|
var _vm = this,
|
|
81447
83644
|
_c = _vm._self._c;
|
|
@@ -81767,7 +83964,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
81767
83964
|
// ESM COMPAT FLAG
|
|
81768
83965
|
__webpack_require__.r(__webpack_exports__);
|
|
81769
83966
|
|
|
81770
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
83967
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"bec69a46-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
|
|
81771
83968
|
var render = function render() {
|
|
81772
83969
|
var _vm = this,
|
|
81773
83970
|
_c = _vm._self._c;
|
|
@@ -82338,7 +84535,7 @@ module.exports = UserAgent_DEPRECATED;
|
|
|
82338
84535
|
|
|
82339
84536
|
"use strict";
|
|
82340
84537
|
|
|
82341
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
84538
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"bec69a46-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
|
|
82342
84539
|
var render = function render() {
|
|
82343
84540
|
var _vm = this,
|
|
82344
84541
|
_c = _vm._self._c;
|
|
@@ -82474,7 +84671,7 @@ var es_array_includes = __webpack_require__("caad");
|
|
|
82474
84671
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
|
|
82475
84672
|
var es_string_includes = __webpack_require__("2532");
|
|
82476
84673
|
|
|
82477
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
84674
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"bec69a46-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
|
|
82478
84675
|
|
|
82479
84676
|
|
|
82480
84677
|
var render = function render() {
|
|
@@ -83088,7 +85285,7 @@ function mergeFn (a, b) {
|
|
|
83088
85285
|
// ESM COMPAT FLAG
|
|
83089
85286
|
__webpack_require__.r(__webpack_exports__);
|
|
83090
85287
|
|
|
83091
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
85288
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"bec69a46-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
|
|
83092
85289
|
var render = function render() {
|
|
83093
85290
|
var _vm = this,
|
|
83094
85291
|
_c = _vm._self._c;
|
|
@@ -83321,6 +85518,17 @@ module.exports = {
|
|
|
83321
85518
|
|
|
83322
85519
|
// extracted by mini-css-extract-plugin
|
|
83323
85520
|
|
|
85521
|
+
/***/ }),
|
|
85522
|
+
|
|
85523
|
+
/***/ "9726":
|
|
85524
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
85525
|
+
|
|
85526
|
+
"use strict";
|
|
85527
|
+
/* 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_39b09fbf_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("766a");
|
|
85528
|
+
/* 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_39b09fbf_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_39b09fbf_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
85529
|
+
/* unused harmony reexport * */
|
|
85530
|
+
|
|
85531
|
+
|
|
83324
85532
|
/***/ }),
|
|
83325
85533
|
|
|
83326
85534
|
/***/ "9742":
|
|
@@ -129200,7 +131408,7 @@ __webpack_require__("5a47");
|
|
|
129200
131408
|
// ESM COMPAT FLAG
|
|
129201
131409
|
__webpack_require__.r(__webpack_exports__);
|
|
129202
131410
|
|
|
129203
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
131411
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"bec69a46-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
|
|
129204
131412
|
var render = function render() {
|
|
129205
131413
|
var _vm = this,
|
|
129206
131414
|
_c = _vm._self._c;
|
|
@@ -129355,6 +131563,17 @@ module.exports = function (METHOD_NAME, argument) {
|
|
|
129355
131563
|
};
|
|
129356
131564
|
|
|
129357
131565
|
|
|
131566
|
+
/***/ }),
|
|
131567
|
+
|
|
131568
|
+
/***/ "a640b":
|
|
131569
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
131570
|
+
|
|
131571
|
+
"use strict";
|
|
131572
|
+
/* 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");
|
|
131573
|
+
/* 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__);
|
|
131574
|
+
/* unused harmony reexport * */
|
|
131575
|
+
|
|
131576
|
+
|
|
129358
131577
|
/***/ }),
|
|
129359
131578
|
|
|
129360
131579
|
/***/ "a742":
|
|
@@ -129474,7 +131693,7 @@ if (!IS_PURE && isCallable(NativePromiseConstructor)) {
|
|
|
129474
131693
|
// ESM COMPAT FLAG
|
|
129475
131694
|
__webpack_require__.r(__webpack_exports__);
|
|
129476
131695
|
|
|
129477
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
131696
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"bec69a46-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
|
|
129478
131697
|
var render = function render() {
|
|
129479
131698
|
var _vm = this,
|
|
129480
131699
|
_c = _vm._self._c;
|
|
@@ -129597,7 +131816,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
129597
131816
|
// ESM COMPAT FLAG
|
|
129598
131817
|
__webpack_require__.r(__webpack_exports__);
|
|
129599
131818
|
|
|
129600
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
131819
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"bec69a46-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
|
|
129601
131820
|
var render = function render() {
|
|
129602
131821
|
var _vm = this,
|
|
129603
131822
|
_c = _vm._self._c;
|
|
@@ -133647,7 +135866,7 @@ $({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
|
|
|
133647
135866
|
// ESM COMPAT FLAG
|
|
133648
135867
|
__webpack_require__.r(__webpack_exports__);
|
|
133649
135868
|
|
|
133650
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
135869
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"bec69a46-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
|
|
133651
135870
|
var render = function render() {
|
|
133652
135871
|
var _vm = this,
|
|
133653
135872
|
_c = _vm._self._c;
|
|
@@ -136454,7 +138673,7 @@ var es_array_includes = __webpack_require__("caad");
|
|
|
136454
138673
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
|
|
136455
138674
|
var es_string_includes = __webpack_require__("2532");
|
|
136456
138675
|
|
|
136457
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
138676
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"bec69a46-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
|
|
136458
138677
|
|
|
136459
138678
|
|
|
136460
138679
|
var render = function render() {
|
|
@@ -142324,6 +144543,47 @@ module.exports = function (input, pref) {
|
|
|
142324
144543
|
module.exports = __webpack_require__("d4af");
|
|
142325
144544
|
|
|
142326
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
|
+
|
|
142327
144587
|
/***/ }),
|
|
142328
144588
|
|
|
142329
144589
|
/***/ "c1df":
|
|
@@ -154775,7 +157035,7 @@ module.exports = function (passed, required) {
|
|
|
154775
157035
|
// ESM COMPAT FLAG
|
|
154776
157036
|
__webpack_require__.r(__webpack_exports__);
|
|
154777
157037
|
|
|
154778
|
-
// 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":"bec69a46-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
|
|
154779
157039
|
var render = function render() {
|
|
154780
157040
|
var _vm = this,
|
|
154781
157041
|
_c = _vm._self._c;
|
|
@@ -155757,7 +158017,7 @@ var validateRangeInOneMonth = exports.validateRangeInOneMonth = function validat
|
|
|
155757
158017
|
// ESM COMPAT FLAG
|
|
155758
158018
|
__webpack_require__.r(__webpack_exports__);
|
|
155759
158019
|
|
|
155760
|
-
// 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":"bec69a46-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
|
|
155761
158021
|
var render = function render() {
|
|
155762
158022
|
var _vm = this,
|
|
155763
158023
|
_c = _vm._self._c;
|
|
@@ -156392,7 +158652,7 @@ module.exports =
|
|
|
156392
158652
|
// ESM COMPAT FLAG
|
|
156393
158653
|
__webpack_require__.r(__webpack_exports__);
|
|
156394
158654
|
|
|
156395
|
-
// 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":"bec69a46-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
|
|
156396
158656
|
var render = function render() {
|
|
156397
158657
|
var _vm = this,
|
|
156398
158658
|
_c = _vm._self._c;
|
|
@@ -196602,7 +198862,7 @@ module.exports = function (target, name, descriptor) {
|
|
|
196602
198862
|
// ESM COMPAT FLAG
|
|
196603
198863
|
__webpack_require__.r(__webpack_exports__);
|
|
196604
198864
|
|
|
196605
|
-
// 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":"bec69a46-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
|
|
196606
198866
|
var render = function render() {
|
|
196607
198867
|
var _vm = this,
|
|
196608
198868
|
_c = _vm._self._c;
|
|
@@ -198435,6 +200695,13 @@ module.exports = __webpack_require__("7f4d");
|
|
|
198435
200695
|
|
|
198436
200696
|
/***/ }),
|
|
198437
200697
|
|
|
200698
|
+
/***/ "f3c7":
|
|
200699
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
200700
|
+
|
|
200701
|
+
// extracted by mini-css-extract-plugin
|
|
200702
|
+
|
|
200703
|
+
/***/ }),
|
|
200704
|
+
|
|
198438
200705
|
/***/ "f477":
|
|
198439
200706
|
/***/ (function(module, exports, __webpack_require__) {
|
|
198440
200707
|
|
|
@@ -199169,7 +201436,7 @@ var virtual_windi = __webpack_require__("5a4b");
|
|
|
199169
201436
|
// EXTERNAL MODULE: ./node_modules/viewerjs/dist/viewer.css
|
|
199170
201437
|
var viewer = __webpack_require__("0808");
|
|
199171
201438
|
|
|
199172
|
-
// 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":"bec69a46-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
|
|
199173
201440
|
var render = function render() {
|
|
199174
201441
|
var _vm = this,
|
|
199175
201442
|
_c = _vm._self._c;
|
|
@@ -199227,7 +201494,7 @@ var ImCard_component = Object(componentNormalizer["a" /* default */])(
|
|
|
199227
201494
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
|
|
199228
201495
|
var es_array_concat = __webpack_require__("99af");
|
|
199229
201496
|
|
|
199230
|
-
// 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":"bec69a46-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
|
|
199231
201498
|
|
|
199232
201499
|
var ImDialogvue_type_template_id_285f8cb1_scoped_true_render = function render() {
|
|
199233
201500
|
var _vm = this,
|
|
@@ -199371,7 +201638,7 @@ var ImDialog_component = Object(componentNormalizer["a" /* default */])(
|
|
|
199371
201638
|
)
|
|
199372
201639
|
|
|
199373
201640
|
/* harmony default export */ var ImDialog = (ImDialog_component.exports);
|
|
199374
|
-
// 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":"bec69a46-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
|
|
199375
201642
|
var ImDrawervue_type_template_id_29483507_scoped_true_render = function render() {
|
|
199376
201643
|
var _vm = this,
|
|
199377
201644
|
_c = _vm._self._c;
|
|
@@ -199489,7 +201756,7 @@ var ImDrawer_component = Object(componentNormalizer["a" /* default */])(
|
|
|
199489
201756
|
)
|
|
199490
201757
|
|
|
199491
201758
|
/* harmony default export */ var ImDrawer = (ImDrawer_component.exports);
|
|
199492
|
-
// 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":"bec69a46-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
|
|
199493
201760
|
var ImFormvue_type_template_id_35e9de13_scoped_true_render = function render() {
|
|
199494
201761
|
var _vm = this,
|
|
199495
201762
|
_c = _vm._self._c;
|
|
@@ -199760,7 +202027,7 @@ var es_object_keys = __webpack_require__("b64b");
|
|
|
199760
202027
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
|
|
199761
202028
|
var es_regexp_to_string = __webpack_require__("25f0");
|
|
199762
202029
|
|
|
199763
|
-
// 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":"bec69a46-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
|
|
199764
202031
|
var FormComponentsvue_type_template_id_356304c0_render = function render() {
|
|
199765
202032
|
var _vm = this,
|
|
199766
202033
|
_c = _vm._self._c;
|
|
@@ -199851,7 +202118,7 @@ var es_array_includes = __webpack_require__("caad");
|
|
|
199851
202118
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
|
|
199852
202119
|
var es_string_includes = __webpack_require__("2532");
|
|
199853
202120
|
|
|
199854
|
-
// 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":"bec69a46-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
|
|
199855
202122
|
|
|
199856
202123
|
|
|
199857
202124
|
var FilterCustomSettingModalvue_type_template_id_61feb7a8_scoped_true_render = function render() {
|
|
@@ -200641,7 +202908,7 @@ var ImForm_component = Object(componentNormalizer["a" /* default */])(
|
|
|
200641
202908
|
)
|
|
200642
202909
|
|
|
200643
202910
|
/* harmony default export */ var ImForm = (ImForm_component.exports);
|
|
200644
|
-
// 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":"bec69a46-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
|
|
200645
202912
|
var ImPaginationvue_type_template_id_6f76a067_render = function render() {
|
|
200646
202913
|
var _vm = this,
|
|
200647
202914
|
_c = _vm._self._c;
|
|
@@ -200778,7 +203045,7 @@ var ImPagination_component = Object(componentNormalizer["a" /* default */])(
|
|
|
200778
203045
|
)
|
|
200779
203046
|
|
|
200780
203047
|
/* harmony default export */ var ImPagination = (ImPagination_component.exports);
|
|
200781
|
-
// 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":"bec69a46-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
|
|
200782
203049
|
var ImSearchAreavue_type_template_id_1b4f9e72_scoped_true_render = function render() {
|
|
200783
203050
|
var _vm = this,
|
|
200784
203051
|
_c = _vm._self._c;
|
|
@@ -200886,7 +203153,7 @@ var ImSearchArea_component = Object(componentNormalizer["a" /* default */])(
|
|
|
200886
203153
|
)
|
|
200887
203154
|
|
|
200888
203155
|
/* harmony default export */ var ImSearchArea = (ImSearchArea_component.exports);
|
|
200889
|
-
// 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":"bec69a46-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
|
|
200890
203157
|
var ImTablevue_type_template_id_9d34b7e8_scoped_true_render = function render() {
|
|
200891
203158
|
var _vm = this,
|
|
200892
203159
|
_c = _vm._self._c;
|
|
@@ -200976,7 +203243,7 @@ var ImTablevue_type_template_id_9d34b7e8_scoped_true_staticRenderFns = [];
|
|
|
200976
203243
|
|
|
200977
203244
|
// CONCATENATED MODULE: ./src/imui/src/ImTable/index.vue?vue&type=template&id=9d34b7e8&scoped=true
|
|
200978
203245
|
|
|
200979
|
-
// 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":"bec69a46-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
|
|
200980
203247
|
var AffixedTablevue_type_template_id_fbf8607a_render = function render() {
|
|
200981
203248
|
var _vm = this,
|
|
200982
203249
|
_c = _vm._self._c;
|
|
@@ -201131,7 +203398,7 @@ var AffixedTable_component = Object(componentNormalizer["a" /* default */])(
|
|
|
201131
203398
|
)
|
|
201132
203399
|
|
|
201133
203400
|
/* harmony default export */ var AffixedTable = (AffixedTable_component.exports);
|
|
201134
|
-
// 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":"bec69a46-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
|
|
201135
203402
|
var VirtualScrollvue_type_template_id_4fed4559_render = function render() {
|
|
201136
203403
|
var _vm = this,
|
|
201137
203404
|
_c = _vm._self._c;
|
|
@@ -201235,7 +203502,7 @@ var VirtualScroll_component = Object(componentNormalizer["a" /* default */])(
|
|
|
201235
203502
|
)
|
|
201236
203503
|
|
|
201237
203504
|
/* harmony default export */ var VirtualScroll = (VirtualScroll_component.exports);
|
|
201238
|
-
// 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":"bec69a46-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
|
|
201239
203506
|
var ImTableColumnvue_type_template_id_a30c0c32_render = function render() {
|
|
201240
203507
|
var _vm = this,
|
|
201241
203508
|
_c = _vm._self._c;
|
|
@@ -201356,7 +203623,7 @@ var ImTableColumn_component = Object(componentNormalizer["a" /* default */])(
|
|
|
201356
203623
|
)
|
|
201357
203624
|
|
|
201358
203625
|
/* harmony default export */ var ImTableColumn = (ImTableColumn_component.exports);
|
|
201359
|
-
// 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":"bec69a46-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
|
|
201360
203627
|
var TableCustomSettingModalvue_type_template_id_966c0fa2_render = function render() {
|
|
201361
203628
|
var _vm = this,
|
|
201362
203629
|
_c = _vm._self._c;
|
|
@@ -201381,7 +203648,7 @@ var TableCustomSettingModalvue_type_template_id_966c0fa2_staticRenderFns = [];
|
|
|
201381
203648
|
|
|
201382
203649
|
// CONCATENATED MODULE: ./src/imui/src/ImTable/components/TableCustomSettingModal.vue?vue&type=template&id=966c0fa2
|
|
201383
203650
|
|
|
201384
|
-
// 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":"bec69a46-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
|
|
201385
203652
|
|
|
201386
203653
|
|
|
201387
203654
|
var ImFieldsEditorvue_type_template_id_2967d530_scoped_true_render = function render() {
|
|
@@ -201520,7 +203787,7 @@ var regeneratorRuntime = __webpack_require__("c7eb");
|
|
|
201520
203787
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
201521
203788
|
var asyncToGenerator = __webpack_require__("1da1");
|
|
201522
203789
|
|
|
201523
|
-
// 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":"bec69a46-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
|
|
201524
203791
|
var ExcelEditorvue_type_template_id_91b0abec_scoped_true_render = function render() {
|
|
201525
203792
|
var _vm = this,
|
|
201526
203793
|
_c = _vm._self._c;
|
|
@@ -202378,7 +204645,7 @@ var ImTable_component = Object(componentNormalizer["a" /* default */])(
|
|
|
202378
204645
|
)
|
|
202379
204646
|
|
|
202380
204647
|
/* harmony default export */ var ImTable = (ImTable_component.exports);
|
|
202381
|
-
// 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":"bec69a46-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
|
|
202382
204649
|
var ImTableAreavue_type_template_id_7bf010fa_render = function render() {
|
|
202383
204650
|
var _vm = this,
|
|
202384
204651
|
_c = _vm._self._c;
|
|
@@ -202409,7 +204676,7 @@ var ImTableArea_component = Object(componentNormalizer["a" /* default */])(
|
|
|
202409
204676
|
)
|
|
202410
204677
|
|
|
202411
204678
|
/* harmony default export */ var ImTableArea = (ImTableArea_component.exports);
|
|
202412
|
-
// 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":"bec69a46-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
|
|
202413
204680
|
var ImWrappervue_type_template_id_7441841e_render = function render() {
|
|
202414
204681
|
var _vm = this,
|
|
202415
204682
|
_c = _vm._self._c;
|
|
@@ -202464,7 +204731,7 @@ var ImWrapper_component = Object(componentNormalizer["a" /* default */])(
|
|
|
202464
204731
|
)
|
|
202465
204732
|
|
|
202466
204733
|
/* harmony default export */ var ImWrapper = (ImWrapper_component.exports);
|
|
202467
|
-
// 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":"bec69a46-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
|
|
202468
204735
|
var ImTableCellWithBordervue_type_template_id_49945022_scoped_true_render = function render() {
|
|
202469
204736
|
var _vm = this,
|
|
202470
204737
|
_c = _vm._self._c;
|
|
@@ -202538,7 +204805,7 @@ var ImTableCellWithBorder_component = Object(componentNormalizer["a" /* default
|
|
|
202538
204805
|
)
|
|
202539
204806
|
|
|
202540
204807
|
/* harmony default export */ var ImTableCellWithBorder = (ImTableCellWithBorder_component.exports);
|
|
202541
|
-
// 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":"bec69a46-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
|
|
202542
204809
|
var ImLoadingvue_type_template_id_26a57fc3_render = function render() {
|
|
202543
204810
|
var _vm = this,
|
|
202544
204811
|
_c = _vm._self._c;
|
|
@@ -202591,7 +204858,7 @@ var ImLoading_component = Object(componentNormalizer["a" /* default */])(
|
|
|
202591
204858
|
)
|
|
202592
204859
|
|
|
202593
204860
|
/* harmony default export */ var ImLoading = (ImLoading_component.exports);
|
|
202594
|
-
// 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":"bec69a46-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
|
|
202595
204862
|
var CardHeadervue_type_template_id_67efff71_scoped_true_render = function render() {
|
|
202596
204863
|
var _vm = this,
|
|
202597
204864
|
_c = _vm._self._c;
|
|
@@ -202641,7 +204908,7 @@ var CardHeader_component = Object(componentNormalizer["a" /* default */])(
|
|
|
202641
204908
|
)
|
|
202642
204909
|
|
|
202643
204910
|
/* harmony default export */ var CardHeader = (CardHeader_component.exports);
|
|
202644
|
-
// 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":"bec69a46-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
|
|
202645
204912
|
var FormSplitvue_type_template_id_9a4f854c_scoped_true_render = function render() {
|
|
202646
204913
|
var _vm = this,
|
|
202647
204914
|
_c = _vm._self._c;
|
|
@@ -202693,7 +204960,7 @@ var FormSplit_component = Object(componentNormalizer["a" /* default */])(
|
|
|
202693
204960
|
)
|
|
202694
204961
|
|
|
202695
204962
|
/* harmony default export */ var FormSplit = (FormSplit_component.exports);
|
|
202696
|
-
// 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":"bec69a46-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
|
|
202697
204964
|
var FixedBottomvue_type_template_id_ad1f3b18_scoped_true_render = function render() {
|
|
202698
204965
|
var _vm = this,
|
|
202699
204966
|
_c = _vm._self._c;
|
|
@@ -202788,7 +205055,7 @@ uploadComponent.keys().forEach(function (fileName) {
|
|
|
202788
205055
|
defaultObj[componentName] = componentConfig.default || componentConfig;
|
|
202789
205056
|
});
|
|
202790
205057
|
/* harmony default export */ var src_FormComponents = (defaultObj);
|
|
202791
|
-
// 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":"bec69a46-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
|
|
202792
205059
|
var FormConfigPagevue_type_template_id_f3b8846c_scoped_true_render = function render() {
|
|
202793
205060
|
var _vm = this,
|
|
202794
205061
|
_c = _vm._self._c;
|
|
@@ -202834,7 +205101,7 @@ var FormConfigPagevue_type_template_id_f3b8846c_scoped_true_staticRenderFns = []
|
|
|
202834
205101
|
|
|
202835
205102
|
// CONCATENATED MODULE: ./src/imui/pages/FormConfigPage/index.vue?vue&type=template&id=f3b8846c&scoped=true
|
|
202836
205103
|
|
|
202837
|
-
// 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":"bec69a46-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
|
|
202838
205105
|
var ConfigHeadervue_type_template_id_3d363a68_scoped_true_render = function render() {
|
|
202839
205106
|
var _vm = this,
|
|
202840
205107
|
_c = _vm._self._c;
|
|
@@ -202961,7 +205228,7 @@ var ConfigHeader_component = Object(componentNormalizer["a" /* default */])(
|
|
|
202961
205228
|
)
|
|
202962
205229
|
|
|
202963
205230
|
/* harmony default export */ var ConfigHeader = (ConfigHeader_component.exports);
|
|
202964
|
-
// 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":"bec69a46-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
|
|
202965
205232
|
var FormConfigurationvue_type_template_id_6e73dcb8_scoped_true_render = function render() {
|
|
202966
205233
|
var _vm = this,
|
|
202967
205234
|
_c = _vm._self._c;
|
|
@@ -203059,7 +205326,7 @@ function getDaysBetweenDates(date) {
|
|
|
203059
205326
|
return '';
|
|
203060
205327
|
}
|
|
203061
205328
|
}
|
|
203062
|
-
// 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":"bec69a46-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
|
|
203063
205330
|
var FieldListToDragvue_type_template_id_6b49dbef_scoped_true_render = function render() {
|
|
203064
205331
|
var _vm = this,
|
|
203065
205332
|
_c = _vm._self._c;
|
|
@@ -203539,7 +205806,7 @@ var FieldListToDrag_component = Object(componentNormalizer["a" /* default */])(
|
|
|
203539
205806
|
)
|
|
203540
205807
|
|
|
203541
205808
|
/* harmony default export */ var FieldListToDrag = (FieldListToDrag_component.exports);
|
|
203542
|
-
// 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":"bec69a46-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
|
|
203543
205810
|
|
|
203544
205811
|
var FieldConfigsvue_type_template_id_f605c1be_scoped_true_render = function render() {
|
|
203545
205812
|
var _vm = this,
|
|
@@ -203874,7 +206141,7 @@ var FieldConfigsvue_type_template_id_f605c1be_scoped_true_staticRenderFns = [];
|
|
|
203874
206141
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
203875
206142
|
var es_function_name = __webpack_require__("b0c0");
|
|
203876
206143
|
|
|
203877
|
-
// 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":"bec69a46-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
|
|
203878
206145
|
var RadioSelectvue_type_template_id_caf18b06_scoped_true_render = function render() {
|
|
203879
206146
|
var _vm = this,
|
|
203880
206147
|
_c = _vm._self._c;
|
|
@@ -203984,7 +206251,7 @@ var RadioSelect_component = Object(componentNormalizer["a" /* default */])(
|
|
|
203984
206251
|
)
|
|
203985
206252
|
|
|
203986
206253
|
/* harmony default export */ var RadioSelect = (RadioSelect_component.exports);
|
|
203987
|
-
// 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":"bec69a46-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
|
|
203988
206255
|
var OptionsSettingvue_type_template_id_c1c234e6_scoped_true_render = function render() {
|
|
203989
206256
|
var _vm = this,
|
|
203990
206257
|
_c = _vm._self._c;
|
|
@@ -204312,7 +206579,7 @@ var OptionsSetting_component = Object(componentNormalizer["a" /* default */])(
|
|
|
204312
206579
|
)
|
|
204313
206580
|
|
|
204314
206581
|
/* harmony default export */ var OptionsSetting = (OptionsSetting_component.exports);
|
|
204315
|
-
// 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":"bec69a46-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
|
|
204316
206583
|
var DefaultSettingvue_type_template_id_50f667ba_scoped_true_render = function render() {
|
|
204317
206584
|
var _vm = this,
|
|
204318
206585
|
_c = _vm._self._c;
|
|
@@ -204656,7 +206923,7 @@ var DefaultSetting_component = Object(componentNormalizer["a" /* default */])(
|
|
|
204656
206923
|
)
|
|
204657
206924
|
|
|
204658
206925
|
/* harmony default export */ var DefaultSetting = (DefaultSetting_component.exports);
|
|
204659
|
-
// 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":"bec69a46-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
|
|
204660
206927
|
|
|
204661
206928
|
|
|
204662
206929
|
var TagCodeSelectvue_type_template_id_1b0dd909_render = function render() {
|
|
@@ -205312,7 +207579,7 @@ var FieldConfigs_component = Object(componentNormalizer["a" /* default */])(
|
|
|
205312
207579
|
)
|
|
205313
207580
|
|
|
205314
207581
|
/* harmony default export */ var FieldConfigs = (FieldConfigs_component.exports);
|
|
205315
|
-
// 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":"bec69a46-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
|
|
205316
207583
|
var FormRendervue_type_template_id_22847edb_scoped_true_render = function render() {
|
|
205317
207584
|
var _vm = this,
|
|
205318
207585
|
_c = _vm._self._c;
|
|
@@ -205709,7 +207976,7 @@ var FormConfiguration_component = Object(componentNormalizer["a" /* default */])
|
|
|
205709
207976
|
)
|
|
205710
207977
|
|
|
205711
207978
|
/* harmony default export */ var FormConfiguration = (FormConfiguration_component.exports);
|
|
205712
|
-
// 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":"bec69a46-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
|
|
205713
207980
|
var ViewConfigDialogvue_type_template_id_0dc2e9b2_scoped_true_render = function render() {
|
|
205714
207981
|
var _vm = this,
|
|
205715
207982
|
_c = _vm._self._c;
|
|
@@ -205747,7 +208014,7 @@ var ViewConfigDialogvue_type_template_id_0dc2e9b2_scoped_true_staticRenderFns =
|
|
|
205747
208014
|
|
|
205748
208015
|
// CONCATENATED MODULE: ./src/imui/pages/FormConfigPage/components/ViewConfigDialog.vue?vue&type=template&id=0dc2e9b2&scoped=true
|
|
205749
208016
|
|
|
205750
|
-
// 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":"bec69a46-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
|
|
205751
208018
|
var vue_json_editorvue_type_template_id_9b72cb1a_scoped_true_render = function render() {
|
|
205752
208019
|
var _vm = this,
|
|
205753
208020
|
_c = _vm._self._c;
|