ik-next-ui 0.0.13 → 0.0.14
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/IkApprovalProcess/ik-next-ui.css +1 -1
- package/dist/IkApprovalProcess/ik.index.es.js +1 -1
- package/dist/IkApprovalProcessDetail/ik-next-ui.css +1 -1
- package/dist/IkApprovalProcessDetail/ik.index.es.js +694 -656
- package/dist/IkBaseDialog/ik-next-ui.css +1 -1
- package/dist/IkBaseDialog/ik.index.es.js +154 -116
- package/dist/IkCollapseCard/ik-next-ui.css +1 -1
- package/dist/IkCollapseCard/ik.index.es.js +163 -125
- package/dist/IkDescription/ik-next-ui.css +1 -1
- package/dist/IkDescription/ik.index.es.js +506 -468
- package/dist/IkDetailPreviewFiles/ik-next-ui.css +1 -1
- package/dist/IkDetailPreviewFiles/ik.index.es.js +709 -671
- package/dist/IkIconPicker/ik-next-ui.css +1 -1
- package/dist/IkIconPicker/ik.index.es.js +180 -142
- package/dist/IkMonacoEditor/ik-next-ui.css +1 -1
- package/dist/IkMonacoEditor/ik.index.es.js +418 -380
- package/dist/IkPickerUser/ik-next-ui.css +1 -1
- package/dist/IkPreviewFile/ik-next-ui.css +1 -1
- package/dist/IkPreviewFile/ik.index.es.js +644 -606
- package/dist/IkPreviewFileDialog/ik-next-ui.css +1 -1
- package/dist/IkPreviewFileDialog/ik.index.es.js +658 -620
- package/dist/IkRadioGroup/ik-next-ui.css +1 -1
- package/dist/IkRadioGroup/ik.index.es.js +140 -102
- package/dist/IkSideText/ik-next-ui.css +1 -1
- package/dist/IkSideText/ik.index.es.js +131 -93
- package/dist/IkSvgIcon/ik-next-ui.css +1 -1
- package/dist/IkSvgIcon/ik.index.es.js +139 -101
- package/dist/IkUploadFile/ik-next-ui.css +1 -1
- package/dist/IkUploadFile/ik.index.es.js +776 -736
- package/dist/IkUploadImage/ik-next-ui.css +1 -1
- package/dist/IkUploadImage/ik.index.es.js +261 -223
- package/dist/IkVerticalStepBar/ik-next-ui.css +1 -1
- package/dist/IkVerticalStepBar/ik.index.es.js +140 -102
- package/dist/Provider/ik.index.es.js +1 -1
- package/dist/build/version.json.d.ts +1 -1
- package/dist/ik-next-ui.css +2 -2
- package/dist/index.es.js +3044 -3043
- package/dist/index.umd.js +67 -67
- package/dist/src/components/IkUploadFile/src/hooks/useFileInfo.d.ts +1 -0
- package/dist/src/iking-ui/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as be, computed as J, openBlock as x, createElementBlock as H, createElementVNode as S, inject as wt, ref as de, Fragment as Te, createCommentVNode as X, renderList as At, normalizeStyle as ce, toDisplayString as me, unref as E, normalizeClass as ne, createBlock as re, withModifiers as et, renderSlot as Ee, createVNode as Y, useModel as ea, reactive as Eu, watch as ii, nextTick as vi, withCtx as Z, mergeModels as Rt, resolveComponent as Lt, h as xu, mergeProps as ei, createSlots as Iu, createTextVNode as ni, markRaw as Ia, effectScope as Pu, shallowRef as Au, onMounted as dl, Teleport as gl, Transition as vl, resolveDynamicComponent as Ru, withDirectives as Lu, vShow as Du, useCssVars as Ou, useAttrs as Mu, onUpdated as Fu } from "vue";
|
|
2
2
|
import { useLocale as Nu, useNamespace as pl, useZIndex as Bu, ElIcon as Ve, EVENT_CODE as ft, ElTag as Hu } from "element-plus";
|
|
3
3
|
import { paramType as Gr, ikFile as Uu, buildUUID as ml, _ as Pi } from "iking-utils-pro";
|
|
4
4
|
import { Icon as Pa } from "@iconify/vue";
|
|
5
5
|
import { UseImage as Aa } from "@vueuse/components";
|
|
6
6
|
import { useEventListener as $t } from "@vueuse/core";
|
|
7
7
|
import { ScaleToOriginal as ju, FullScreen as zu, Close as yl, ArrowLeft as Vu, ArrowRight as qu, ZoomOut as Wu, ZoomIn as Gu, RefreshLeft as Ku, RefreshRight as $u } from "@element-plus/icons-vue";
|
|
8
|
-
const
|
|
8
|
+
const Re = (a, s) => (a.install = (r) => {
|
|
9
9
|
for (const t of [a, ...Object.values({})])
|
|
10
10
|
r.component(t.name, t);
|
|
11
11
|
}, a);
|
|
@@ -257,7 +257,7 @@ const ti = (a, s) => {
|
|
|
257
257
|
"p-id": "7515",
|
|
258
258
|
width: "200",
|
|
259
259
|
height: "200"
|
|
260
|
-
}, uc = /* @__PURE__ */
|
|
260
|
+
}, uc = /* @__PURE__ */ be({
|
|
261
261
|
__name: "IkFileIcon",
|
|
262
262
|
props: {
|
|
263
263
|
type: {
|
|
@@ -637,7 +637,7 @@ const ti = (a, s) => {
|
|
|
637
637
|
)
|
|
638
638
|
])]));
|
|
639
639
|
}
|
|
640
|
-
}), La =
|
|
640
|
+
}), La = Re(uc), pi = (a, s) => {
|
|
641
641
|
const r = a.__vccOpts || a;
|
|
642
642
|
for (const [t, e] of s)
|
|
643
643
|
r[t] = e;
|
|
@@ -731,7 +731,7 @@ const ti = (a, s) => {
|
|
|
731
731
|
key: 0,
|
|
732
732
|
class: "size",
|
|
733
733
|
style: { "padding-right": "20px", "white-space": "nowrap" }
|
|
734
|
-
}, yc = ["onClick"], _c = { class: "text" }, bc = { class: "fileName" }, Cc = { class: "size" }, kc = /* @__PURE__ */
|
|
734
|
+
}, yc = ["onClick"], _c = { class: "text" }, bc = { class: "fileName" }, Cc = { class: "size" }, kc = /* @__PURE__ */ be({
|
|
735
735
|
__name: "IkPreviewFile",
|
|
736
736
|
props: {
|
|
737
737
|
list: {
|
|
@@ -871,16 +871,16 @@ const ti = (a, s) => {
|
|
|
871
871
|
return (p, k) => {
|
|
872
872
|
var b, C, R;
|
|
873
873
|
return x(), H(
|
|
874
|
-
|
|
874
|
+
Te,
|
|
875
875
|
null,
|
|
876
876
|
[
|
|
877
877
|
(b = a.list) != null && b.length ? (x(), H(
|
|
878
|
-
|
|
878
|
+
Te,
|
|
879
879
|
{ key: 0 },
|
|
880
880
|
[
|
|
881
881
|
X(" 简单模式 "),
|
|
882
882
|
t.value === "simple" ? (x(!0), H(
|
|
883
|
-
|
|
883
|
+
Te,
|
|
884
884
|
{ key: 0 },
|
|
885
885
|
At(m.value, (T, I) => (x(), H("div", {
|
|
886
886
|
class: "iking-privew-annex simple",
|
|
@@ -933,12 +933,12 @@ const ti = (a, s) => {
|
|
|
933
933
|
128
|
|
934
934
|
/* KEYED_FRAGMENT */
|
|
935
935
|
)) : t.value === "simple-icon" ? (x(), H(
|
|
936
|
-
|
|
936
|
+
Te,
|
|
937
937
|
{ key: 1 },
|
|
938
938
|
[
|
|
939
939
|
X(" 简单图标模式 "),
|
|
940
940
|
(x(!0), H(
|
|
941
|
-
|
|
941
|
+
Te,
|
|
942
942
|
null,
|
|
943
943
|
At(m.value, (T, I) => (x(), H("div", {
|
|
944
944
|
class: "iking-privew-annex simple-icon",
|
|
@@ -1005,12 +1005,12 @@ const ti = (a, s) => {
|
|
|
1005
1005
|
64
|
|
1006
1006
|
/* STABLE_FRAGMENT */
|
|
1007
1007
|
)) : (x(), H(
|
|
1008
|
-
|
|
1008
|
+
Te,
|
|
1009
1009
|
{ key: 2 },
|
|
1010
1010
|
[
|
|
1011
1011
|
X(" 默认模式 "),
|
|
1012
1012
|
(x(!0), H(
|
|
1013
|
-
|
|
1013
|
+
Te,
|
|
1014
1014
|
null,
|
|
1015
1015
|
At(m.value, (T, I) => {
|
|
1016
1016
|
var j;
|
|
@@ -1113,7 +1113,7 @@ const ti = (a, s) => {
|
|
|
1113
1113
|
);
|
|
1114
1114
|
};
|
|
1115
1115
|
}
|
|
1116
|
-
}), wc =
|
|
1116
|
+
}), wc = Re(kc), Tc = { class: "head-logo" }, Sc = ["src"], Ec = { class: "text-preview-container" }, xc = { class: "text-preview-header" }, Ic = { class: "file-name" }, Pc = { class: "text-preview-content" }, Ac = /* @__PURE__ */ be({
|
|
1117
1117
|
__name: "IkPreviewFileDialog",
|
|
1118
1118
|
props: /* @__PURE__ */ Rt({
|
|
1119
1119
|
file: {
|
|
@@ -1230,10 +1230,10 @@ const ti = (a, s) => {
|
|
|
1230
1230
|
return (v, m) => {
|
|
1231
1231
|
var p, k, b;
|
|
1232
1232
|
return e.value ? (x(), H(
|
|
1233
|
-
|
|
1233
|
+
Te,
|
|
1234
1234
|
{ key: 0 },
|
|
1235
1235
|
[
|
|
1236
|
-
(p = o.value) != null && p.url && u.image ? (x(), re(E(
|
|
1236
|
+
(p = o.value) != null && p.url && u.image ? (x(), re(E(Th), {
|
|
1237
1237
|
key: 0,
|
|
1238
1238
|
onClose: m[0] || (m[0] = (C) => d()),
|
|
1239
1239
|
ref: "previewImgRef",
|
|
@@ -1243,7 +1243,7 @@ const ti = (a, s) => {
|
|
|
1243
1243
|
}, null, 8, ["url-list"])) : X("v-if", !0),
|
|
1244
1244
|
X(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
|
|
1245
1245
|
X(" 文档类 "),
|
|
1246
|
-
Y(E(
|
|
1246
|
+
Y(E(Og), {
|
|
1247
1247
|
modelValue: u.video,
|
|
1248
1248
|
"onUpdate:modelValue": m[1] || (m[1] = (C) => u.video = C),
|
|
1249
1249
|
url: (b = o.value) == null ? void 0 : b.url,
|
|
@@ -1274,7 +1274,7 @@ const ti = (a, s) => {
|
|
|
1274
1274
|
alt: ""
|
|
1275
1275
|
}, null, 8, Sc)
|
|
1276
1276
|
]),
|
|
1277
|
-
Y(E(
|
|
1277
|
+
Y(E(_h), {
|
|
1278
1278
|
"config-options": n.value,
|
|
1279
1279
|
"document-server-url": ((T = a.onlyOfficeConfig) == null ? void 0 : T.serverUrl) || a.onlyofficeServer
|
|
1280
1280
|
}, null, 8, ["config-options", "document-server-url"])
|
|
@@ -1331,15 +1331,54 @@ const ti = (a, s) => {
|
|
|
1331
1331
|
)) : X("v-if", !0);
|
|
1332
1332
|
};
|
|
1333
1333
|
}
|
|
1334
|
-
}), Rc =
|
|
1334
|
+
}), Rc = Re(Ac);
|
|
1335
1335
|
function Cl(a) {
|
|
1336
1336
|
return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
|
|
1337
1337
|
}
|
|
1338
|
-
const Lc = {
|
|
1338
|
+
const Lc = /* @__PURE__ */ be({
|
|
1339
|
+
__name: "index",
|
|
1340
|
+
props: {
|
|
1341
|
+
effect: {
|
|
1342
|
+
type: String,
|
|
1343
|
+
default: "dark"
|
|
1344
|
+
},
|
|
1345
|
+
content: {
|
|
1346
|
+
type: String,
|
|
1347
|
+
default: ""
|
|
1348
|
+
},
|
|
1349
|
+
text: {
|
|
1350
|
+
type: String,
|
|
1351
|
+
default: ""
|
|
1352
|
+
},
|
|
1353
|
+
placement: {
|
|
1354
|
+
type: String,
|
|
1355
|
+
default: "top"
|
|
1356
|
+
}
|
|
1357
|
+
},
|
|
1358
|
+
setup(a) {
|
|
1359
|
+
const s = a, r = J(() => s.effect);
|
|
1360
|
+
return (t, e) => {
|
|
1361
|
+
const i = Lt("el-tooltip");
|
|
1362
|
+
return x(), re(i, {
|
|
1363
|
+
class: "gl-tooltip",
|
|
1364
|
+
effect: r.value,
|
|
1365
|
+
content: a.text || a.content,
|
|
1366
|
+
placement: a.placement,
|
|
1367
|
+
enterable: !1
|
|
1368
|
+
}, {
|
|
1369
|
+
default: Z(() => [
|
|
1370
|
+
Ee(t.$slots, "default")
|
|
1371
|
+
]),
|
|
1372
|
+
_: 3
|
|
1373
|
+
/* FORWARDED */
|
|
1374
|
+
}, 8, ["effect", "content", "placement"]);
|
|
1375
|
+
};
|
|
1376
|
+
}
|
|
1377
|
+
}), Dc = Re(Lc), Oc = {
|
|
1339
1378
|
key: 2,
|
|
1340
1379
|
class: "shrink-0 size-inherit",
|
|
1341
1380
|
"aria-hidden": "true"
|
|
1342
|
-
},
|
|
1381
|
+
}, Mc = ["xlink:href"], Fc = ["xlink:href"], Nc = ["size"], Bc = ["xlink:href"], Hc = ["xlink:href"], Uc = /* @__PURE__ */ be({
|
|
1343
1382
|
name: "IkSvgIcon",
|
|
1344
1383
|
__name: "index",
|
|
1345
1384
|
props: {
|
|
@@ -1413,8 +1452,7 @@ const Lc = {
|
|
|
1413
1452
|
return r.active && e.value !== "default" && !r.deepColor && !r.shallowColor && r.colorMode === "auto" && (d["--ik-icon-deep-color"] = `var(--ik-icon-${e.value}-deep-active)`, d["--ik-icon-shallow-color"] = `var(--ik-icon-${e.value}-shallow-active)`), d;
|
|
1414
1453
|
});
|
|
1415
1454
|
return (d, g) => {
|
|
1416
|
-
var
|
|
1417
|
-
const v = Lt("IkTooltip");
|
|
1455
|
+
var v;
|
|
1418
1456
|
return x(), H(
|
|
1419
1457
|
"i",
|
|
1420
1458
|
{
|
|
@@ -1432,18 +1470,18 @@ const Lc = {
|
|
|
1432
1470
|
onClick: c
|
|
1433
1471
|
},
|
|
1434
1472
|
[
|
|
1435
|
-
a.title ? (x(), re(
|
|
1473
|
+
a.title ? (x(), re(E(Dc), {
|
|
1436
1474
|
key: 0,
|
|
1437
1475
|
text: a.title
|
|
1438
1476
|
}, {
|
|
1439
1477
|
default: Z(() => {
|
|
1440
|
-
var
|
|
1478
|
+
var m;
|
|
1441
1479
|
return [
|
|
1442
1480
|
i.value === "unocss" ? (x(), H(
|
|
1443
1481
|
"i",
|
|
1444
1482
|
{
|
|
1445
1483
|
key: 0,
|
|
1446
|
-
class: ne(["iconfont shrink-0 size-inherit", `${a.name} ${(
|
|
1484
|
+
class: ne(["iconfont shrink-0 size-inherit", `${a.name} ${(m = a.name) == null ? void 0 : m.split("_")[0]}`]),
|
|
1447
1485
|
style: ce({ ...f.value, ...a.showBg ? l.value : {} })
|
|
1448
1486
|
},
|
|
1449
1487
|
null,
|
|
@@ -1453,10 +1491,10 @@ const Lc = {
|
|
|
1453
1491
|
key: 1,
|
|
1454
1492
|
icon: a.name,
|
|
1455
1493
|
class: "shrink-0 size-inherit"
|
|
1456
|
-
}, null, 8, ["icon"])) : i.value === "svg" ? (x(), H("svg",
|
|
1494
|
+
}, null, 8, ["icon"])) : i.value === "svg" ? (x(), H("svg", Oc, [
|
|
1457
1495
|
S("use", {
|
|
1458
1496
|
"xlink:href": `#icon-${a.name}`
|
|
1459
|
-
}, null, 8,
|
|
1497
|
+
}, null, 8, Mc)
|
|
1460
1498
|
])) : i.value === "two-color-svg" ? (x(), H(
|
|
1461
1499
|
"svg",
|
|
1462
1500
|
{
|
|
@@ -1468,7 +1506,7 @@ const Lc = {
|
|
|
1468
1506
|
[
|
|
1469
1507
|
S("use", {
|
|
1470
1508
|
"xlink:href": `#${a.name}`
|
|
1471
|
-
}, null, 8,
|
|
1509
|
+
}, null, 8, Fc)
|
|
1472
1510
|
],
|
|
1473
1511
|
4
|
|
1474
1512
|
/* STYLE */
|
|
@@ -1503,14 +1541,14 @@ const Lc = {
|
|
|
1503
1541
|
_: 1
|
|
1504
1542
|
/* STABLE */
|
|
1505
1543
|
}, 8, ["text"])) : (x(), H(
|
|
1506
|
-
|
|
1544
|
+
Te,
|
|
1507
1545
|
{ key: 1 },
|
|
1508
1546
|
[
|
|
1509
1547
|
i.value === "unocss" ? (x(), H(
|
|
1510
1548
|
"i",
|
|
1511
1549
|
{
|
|
1512
1550
|
key: 0,
|
|
1513
|
-
class: ne(["iconfont shrink-0 size-inherit", `${a.name} ${(
|
|
1551
|
+
class: ne(["iconfont shrink-0 size-inherit", `${a.name} ${(v = a.name) == null ? void 0 : v.split("_")[0]}`]),
|
|
1514
1552
|
style: ce({ ...f.value, ...a.showBg ? l.value : {} })
|
|
1515
1553
|
},
|
|
1516
1554
|
null,
|
|
@@ -1528,8 +1566,8 @@ const Lc = {
|
|
|
1528
1566
|
}, [
|
|
1529
1567
|
S("use", {
|
|
1530
1568
|
"xlink:href": `#icon-${a.name}`
|
|
1531
|
-
}, null, 8,
|
|
1532
|
-
], 8,
|
|
1569
|
+
}, null, 8, Bc)
|
|
1570
|
+
], 8, Nc)) : i.value === "two-color-svg" ? (x(), H(
|
|
1533
1571
|
"svg",
|
|
1534
1572
|
{
|
|
1535
1573
|
key: 3,
|
|
@@ -1540,7 +1578,7 @@ const Lc = {
|
|
|
1540
1578
|
[
|
|
1541
1579
|
S("use", {
|
|
1542
1580
|
"xlink:href": `#${a.name}`
|
|
1543
|
-
}, null, 8,
|
|
1581
|
+
}, null, 8, Hc)
|
|
1544
1582
|
],
|
|
1545
1583
|
4
|
|
1546
1584
|
/* STYLE */
|
|
@@ -1580,7 +1618,7 @@ const Lc = {
|
|
|
1580
1618
|
);
|
|
1581
1619
|
};
|
|
1582
1620
|
}
|
|
1583
|
-
}),
|
|
1621
|
+
}), jc = /* @__PURE__ */ pi(Uc, [["__scopeId", "data-v-c202da9d"]]), tt = Re(jc), zc = /* @__PURE__ */ be({
|
|
1584
1622
|
__name: "CloseIcon",
|
|
1585
1623
|
props: {
|
|
1586
1624
|
showBg: {
|
|
@@ -1610,7 +1648,7 @@ const Lc = {
|
|
|
1610
1648
|
/* CLASS */
|
|
1611
1649
|
));
|
|
1612
1650
|
}
|
|
1613
|
-
}),
|
|
1651
|
+
}), Vc = /* @__PURE__ */ pi(zc, [["__scopeId", "data-v-739899b1"]]), qc = { class: "base-header" }, Wc = /* @__PURE__ */ be({
|
|
1614
1652
|
__name: "IkBaseDialog",
|
|
1615
1653
|
props: /* @__PURE__ */ Rt({
|
|
1616
1654
|
title: { default: "" },
|
|
@@ -1632,9 +1670,9 @@ const Lc = {
|
|
|
1632
1670
|
}),
|
|
1633
1671
|
emits: ["update:modelValue"],
|
|
1634
1672
|
setup(a) {
|
|
1635
|
-
const s = a, r = ea(a, "modelValue"), t = de(s.fullscreen), e =
|
|
1673
|
+
const s = a, r = ea(a, "modelValue"), t = de(s.fullscreen), e = be({
|
|
1636
1674
|
setup() {
|
|
1637
|
-
return () => xu(
|
|
1675
|
+
return () => xu(Vc, {
|
|
1638
1676
|
showBg: s.showCloseBg,
|
|
1639
1677
|
fullscreen: s.fullscreen
|
|
1640
1678
|
});
|
|
@@ -1663,7 +1701,7 @@ const Lc = {
|
|
|
1663
1701
|
])
|
|
1664
1702
|
]),
|
|
1665
1703
|
header: Z(() => [
|
|
1666
|
-
S("div",
|
|
1704
|
+
S("div", qc, [
|
|
1667
1705
|
Ee(i.$slots, "header", {}, () => [
|
|
1668
1706
|
ni(
|
|
1669
1707
|
me(a.title),
|
|
@@ -1689,8 +1727,8 @@ const Lc = {
|
|
|
1689
1727
|
]), 1040, ["modelValue", "close-icon", "class", "fullscreen"]);
|
|
1690
1728
|
};
|
|
1691
1729
|
}
|
|
1692
|
-
}), Oa =
|
|
1693
|
-
function
|
|
1730
|
+
}), Oa = Re(Wc);
|
|
1731
|
+
function Gc(a, s, r, t) {
|
|
1694
1732
|
function e(i) {
|
|
1695
1733
|
return i instanceof r ? i : new r(function(n) {
|
|
1696
1734
|
n(i);
|
|
@@ -1717,7 +1755,7 @@ function qc(a, s, r, t) {
|
|
|
1717
1755
|
u((t = t.apply(a, [])).next());
|
|
1718
1756
|
});
|
|
1719
1757
|
}
|
|
1720
|
-
function
|
|
1758
|
+
function Kc(a, s) {
|
|
1721
1759
|
var r = { label: 0, sent: function() {
|
|
1722
1760
|
if (i[0] & 1) throw i[1];
|
|
1723
1761
|
return i[1];
|
|
@@ -1777,9 +1815,9 @@ function Wc(a, s) {
|
|
|
1777
1815
|
return { value: u[0] ? u[1] : void 0, done: !0 };
|
|
1778
1816
|
}
|
|
1779
1817
|
}
|
|
1780
|
-
var
|
|
1781
|
-
return
|
|
1782
|
-
return
|
|
1818
|
+
var $c = function(a, s) {
|
|
1819
|
+
return Gc(void 0, void 0, void 0, function() {
|
|
1820
|
+
return Kc(this, function(r) {
|
|
1783
1821
|
return [2, new Promise(function(t, e) {
|
|
1784
1822
|
try {
|
|
1785
1823
|
if (window.DocsAPI)
|
|
@@ -1813,11 +1851,11 @@ var Gc = function(a, s) {
|
|
|
1813
1851
|
e.removeAttribute("loading"), t(i);
|
|
1814
1852
|
}, e.setAttribute("loading", ""), e;
|
|
1815
1853
|
}, Yt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1816
|
-
function
|
|
1854
|
+
function Yc(a) {
|
|
1817
1855
|
return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
|
|
1818
1856
|
}
|
|
1819
1857
|
var Ri, Fa;
|
|
1820
|
-
function
|
|
1858
|
+
function Xc() {
|
|
1821
1859
|
if (Fa) return Ri;
|
|
1822
1860
|
Fa = 1;
|
|
1823
1861
|
function a() {
|
|
@@ -1848,7 +1886,7 @@ function mi() {
|
|
|
1848
1886
|
return Di = s, Di;
|
|
1849
1887
|
}
|
|
1850
1888
|
var Oi, Ha;
|
|
1851
|
-
function
|
|
1889
|
+
function Zc() {
|
|
1852
1890
|
if (Ha) return Oi;
|
|
1853
1891
|
Ha = 1;
|
|
1854
1892
|
var a = mi(), s = Array.prototype, r = s.splice;
|
|
@@ -1862,7 +1900,7 @@ function Yc() {
|
|
|
1862
1900
|
return Oi = t, Oi;
|
|
1863
1901
|
}
|
|
1864
1902
|
var Mi, Ua;
|
|
1865
|
-
function
|
|
1903
|
+
function Jc() {
|
|
1866
1904
|
if (Ua) return Mi;
|
|
1867
1905
|
Ua = 1;
|
|
1868
1906
|
var a = mi();
|
|
@@ -1873,7 +1911,7 @@ function Xc() {
|
|
|
1873
1911
|
return Mi = s, Mi;
|
|
1874
1912
|
}
|
|
1875
1913
|
var Fi, ja;
|
|
1876
|
-
function
|
|
1914
|
+
function Qc() {
|
|
1877
1915
|
if (ja) return Fi;
|
|
1878
1916
|
ja = 1;
|
|
1879
1917
|
var a = mi();
|
|
@@ -1883,7 +1921,7 @@ function Zc() {
|
|
|
1883
1921
|
return Fi = s, Fi;
|
|
1884
1922
|
}
|
|
1885
1923
|
var Ni, za;
|
|
1886
|
-
function
|
|
1924
|
+
function ef() {
|
|
1887
1925
|
if (za) return Ni;
|
|
1888
1926
|
za = 1;
|
|
1889
1927
|
var a = mi();
|
|
@@ -1897,7 +1935,7 @@ var Bi, Va;
|
|
|
1897
1935
|
function yi() {
|
|
1898
1936
|
if (Va) return Bi;
|
|
1899
1937
|
Va = 1;
|
|
1900
|
-
var a =
|
|
1938
|
+
var a = Xc(), s = Zc(), r = Jc(), t = Qc(), e = ef();
|
|
1901
1939
|
function i(n) {
|
|
1902
1940
|
var o = -1, l = n == null ? 0 : n.length;
|
|
1903
1941
|
for (this.clear(); ++o < l; ) {
|
|
@@ -1908,7 +1946,7 @@ function yi() {
|
|
|
1908
1946
|
return i.prototype.clear = a, i.prototype.delete = s, i.prototype.get = r, i.prototype.has = t, i.prototype.set = e, Bi = i, Bi;
|
|
1909
1947
|
}
|
|
1910
1948
|
var Hi, qa;
|
|
1911
|
-
function
|
|
1949
|
+
function tf() {
|
|
1912
1950
|
if (qa) return Hi;
|
|
1913
1951
|
qa = 1;
|
|
1914
1952
|
var a = yi();
|
|
@@ -1918,7 +1956,7 @@ function Qc() {
|
|
|
1918
1956
|
return Hi = s, Hi;
|
|
1919
1957
|
}
|
|
1920
1958
|
var Ui, Wa;
|
|
1921
|
-
function
|
|
1959
|
+
function nf() {
|
|
1922
1960
|
if (Wa) return Ui;
|
|
1923
1961
|
Wa = 1;
|
|
1924
1962
|
function a(s) {
|
|
@@ -1928,7 +1966,7 @@ function ef() {
|
|
|
1928
1966
|
return Ui = a, Ui;
|
|
1929
1967
|
}
|
|
1930
1968
|
var ji, Ga;
|
|
1931
|
-
function
|
|
1969
|
+
function rf() {
|
|
1932
1970
|
if (Ga) return ji;
|
|
1933
1971
|
Ga = 1;
|
|
1934
1972
|
function a(s) {
|
|
@@ -1937,7 +1975,7 @@ function tf() {
|
|
|
1937
1975
|
return ji = a, ji;
|
|
1938
1976
|
}
|
|
1939
1977
|
var zi, Ka;
|
|
1940
|
-
function
|
|
1978
|
+
function af() {
|
|
1941
1979
|
if (Ka) return zi;
|
|
1942
1980
|
Ka = 1;
|
|
1943
1981
|
function a(s) {
|
|
@@ -1953,7 +1991,7 @@ function wl() {
|
|
|
1953
1991
|
return Vi = a, Vi;
|
|
1954
1992
|
}
|
|
1955
1993
|
var qi, Ya;
|
|
1956
|
-
function
|
|
1994
|
+
function Le() {
|
|
1957
1995
|
if (Ya) return qi;
|
|
1958
1996
|
Ya = 1;
|
|
1959
1997
|
var a = wl(), s = typeof self == "object" && self && self.Object === Object && self, r = a || s || Function("return this")();
|
|
@@ -1963,11 +2001,11 @@ var Wi, Xa;
|
|
|
1963
2001
|
function ta() {
|
|
1964
2002
|
if (Xa) return Wi;
|
|
1965
2003
|
Xa = 1;
|
|
1966
|
-
var a =
|
|
2004
|
+
var a = Le(), s = a.Symbol;
|
|
1967
2005
|
return Wi = s, Wi;
|
|
1968
2006
|
}
|
|
1969
2007
|
var Gi, Za;
|
|
1970
|
-
function
|
|
2008
|
+
function sf() {
|
|
1971
2009
|
if (Za) return Gi;
|
|
1972
2010
|
Za = 1;
|
|
1973
2011
|
var a = ta(), s = Object.prototype, r = s.hasOwnProperty, t = s.toString, e = a ? a.toStringTag : void 0;
|
|
@@ -1984,7 +2022,7 @@ function rf() {
|
|
|
1984
2022
|
return Gi = i, Gi;
|
|
1985
2023
|
}
|
|
1986
2024
|
var Ki, Ja;
|
|
1987
|
-
function
|
|
2025
|
+
function of() {
|
|
1988
2026
|
if (Ja) return Ki;
|
|
1989
2027
|
Ja = 1;
|
|
1990
2028
|
var a = Object.prototype, s = a.toString;
|
|
@@ -1997,7 +2035,7 @@ var $i, Qa;
|
|
|
1997
2035
|
function _i() {
|
|
1998
2036
|
if (Qa) return $i;
|
|
1999
2037
|
Qa = 1;
|
|
2000
|
-
var a = ta(), s =
|
|
2038
|
+
var a = ta(), s = sf(), r = of(), t = "[object Null]", e = "[object Undefined]", i = a ? a.toStringTag : void 0;
|
|
2001
2039
|
function n(o) {
|
|
2002
2040
|
return o == null ? o === void 0 ? e : t : i && i in Object(o) ? s(o) : r(o);
|
|
2003
2041
|
}
|
|
@@ -2027,17 +2065,17 @@ function Tl() {
|
|
|
2027
2065
|
return Xi = n, Xi;
|
|
2028
2066
|
}
|
|
2029
2067
|
var Zi, is;
|
|
2030
|
-
function
|
|
2068
|
+
function lf() {
|
|
2031
2069
|
if (is) return Zi;
|
|
2032
2070
|
is = 1;
|
|
2033
|
-
var a =
|
|
2071
|
+
var a = Le(), s = a["__core-js_shared__"];
|
|
2034
2072
|
return Zi = s, Zi;
|
|
2035
2073
|
}
|
|
2036
2074
|
var Ji, ns;
|
|
2037
|
-
function
|
|
2075
|
+
function uf() {
|
|
2038
2076
|
if (ns) return Ji;
|
|
2039
2077
|
ns = 1;
|
|
2040
|
-
var a =
|
|
2078
|
+
var a = lf(), s = (function() {
|
|
2041
2079
|
var t = /[^.]+$/.exec(a && a.keys && a.keys.IE_PROTO || "");
|
|
2042
2080
|
return t ? "Symbol(src)_1." + t : "";
|
|
2043
2081
|
})();
|
|
@@ -2067,10 +2105,10 @@ function Sl() {
|
|
|
2067
2105
|
return Qi = r, Qi;
|
|
2068
2106
|
}
|
|
2069
2107
|
var en, as;
|
|
2070
|
-
function
|
|
2108
|
+
function cf() {
|
|
2071
2109
|
if (as) return en;
|
|
2072
2110
|
as = 1;
|
|
2073
|
-
var a = Tl(), s =
|
|
2111
|
+
var a = Tl(), s = uf(), r = Mt(), t = Sl(), e = /[\\^$.*+?()[\]{}|]/g, i = /^\[object .+?Constructor\]$/, n = Function.prototype, o = Object.prototype, l = n.toString, u = o.hasOwnProperty, c = RegExp(
|
|
2074
2112
|
"^" + l.call(u).replace(e, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
2075
2113
|
);
|
|
2076
2114
|
function f(d) {
|
|
@@ -2082,7 +2120,7 @@ function lf() {
|
|
|
2082
2120
|
return en = f, en;
|
|
2083
2121
|
}
|
|
2084
2122
|
var tn, ss;
|
|
2085
|
-
function
|
|
2123
|
+
function ff() {
|
|
2086
2124
|
if (ss) return tn;
|
|
2087
2125
|
ss = 1;
|
|
2088
2126
|
function a(s, r) {
|
|
@@ -2094,7 +2132,7 @@ var nn, os;
|
|
|
2094
2132
|
function rt() {
|
|
2095
2133
|
if (os) return nn;
|
|
2096
2134
|
os = 1;
|
|
2097
|
-
var a =
|
|
2135
|
+
var a = cf(), s = ff();
|
|
2098
2136
|
function r(t, e) {
|
|
2099
2137
|
var i = s(t, e);
|
|
2100
2138
|
return a(i) ? i : void 0;
|
|
@@ -2105,7 +2143,7 @@ var rn, ls;
|
|
|
2105
2143
|
function ia() {
|
|
2106
2144
|
if (ls) return rn;
|
|
2107
2145
|
ls = 1;
|
|
2108
|
-
var a = rt(), s =
|
|
2146
|
+
var a = rt(), s = Le(), r = a(s, "Map");
|
|
2109
2147
|
return rn = r, rn;
|
|
2110
2148
|
}
|
|
2111
2149
|
var an, us;
|
|
@@ -2116,7 +2154,7 @@ function bi() {
|
|
|
2116
2154
|
return an = s, an;
|
|
2117
2155
|
}
|
|
2118
2156
|
var sn, cs;
|
|
2119
|
-
function
|
|
2157
|
+
function hf() {
|
|
2120
2158
|
if (cs) return sn;
|
|
2121
2159
|
cs = 1;
|
|
2122
2160
|
var a = bi();
|
|
@@ -2126,7 +2164,7 @@ function cf() {
|
|
|
2126
2164
|
return sn = s, sn;
|
|
2127
2165
|
}
|
|
2128
2166
|
var on, fs;
|
|
2129
|
-
function
|
|
2167
|
+
function df() {
|
|
2130
2168
|
if (fs) return on;
|
|
2131
2169
|
fs = 1;
|
|
2132
2170
|
function a(s) {
|
|
@@ -2136,7 +2174,7 @@ function ff() {
|
|
|
2136
2174
|
return on = a, on;
|
|
2137
2175
|
}
|
|
2138
2176
|
var ln, hs;
|
|
2139
|
-
function
|
|
2177
|
+
function gf() {
|
|
2140
2178
|
if (hs) return ln;
|
|
2141
2179
|
hs = 1;
|
|
2142
2180
|
var a = bi(), s = "__lodash_hash_undefined__", r = Object.prototype, t = r.hasOwnProperty;
|
|
@@ -2151,7 +2189,7 @@ function hf() {
|
|
|
2151
2189
|
return ln = e, ln;
|
|
2152
2190
|
}
|
|
2153
2191
|
var un, ds;
|
|
2154
|
-
function
|
|
2192
|
+
function vf() {
|
|
2155
2193
|
if (ds) return un;
|
|
2156
2194
|
ds = 1;
|
|
2157
2195
|
var a = bi(), s = Object.prototype, r = s.hasOwnProperty;
|
|
@@ -2162,7 +2200,7 @@ function df() {
|
|
|
2162
2200
|
return un = t, un;
|
|
2163
2201
|
}
|
|
2164
2202
|
var cn, gs;
|
|
2165
|
-
function
|
|
2203
|
+
function pf() {
|
|
2166
2204
|
if (gs) return cn;
|
|
2167
2205
|
gs = 1;
|
|
2168
2206
|
var a = bi(), s = "__lodash_hash_undefined__";
|
|
@@ -2173,10 +2211,10 @@ function gf() {
|
|
|
2173
2211
|
return cn = r, cn;
|
|
2174
2212
|
}
|
|
2175
2213
|
var fn, vs;
|
|
2176
|
-
function
|
|
2214
|
+
function mf() {
|
|
2177
2215
|
if (vs) return fn;
|
|
2178
2216
|
vs = 1;
|
|
2179
|
-
var a =
|
|
2217
|
+
var a = hf(), s = df(), r = gf(), t = vf(), e = pf();
|
|
2180
2218
|
function i(n) {
|
|
2181
2219
|
var o = -1, l = n == null ? 0 : n.length;
|
|
2182
2220
|
for (this.clear(); ++o < l; ) {
|
|
@@ -2187,10 +2225,10 @@ function vf() {
|
|
|
2187
2225
|
return i.prototype.clear = a, i.prototype.delete = s, i.prototype.get = r, i.prototype.has = t, i.prototype.set = e, fn = i, fn;
|
|
2188
2226
|
}
|
|
2189
2227
|
var hn, ps;
|
|
2190
|
-
function
|
|
2228
|
+
function yf() {
|
|
2191
2229
|
if (ps) return hn;
|
|
2192
2230
|
ps = 1;
|
|
2193
|
-
var a =
|
|
2231
|
+
var a = mf(), s = yi(), r = ia();
|
|
2194
2232
|
function t() {
|
|
2195
2233
|
this.size = 0, this.__data__ = {
|
|
2196
2234
|
hash: new a(),
|
|
@@ -2201,7 +2239,7 @@ function pf() {
|
|
|
2201
2239
|
return hn = t, hn;
|
|
2202
2240
|
}
|
|
2203
2241
|
var dn, ms;
|
|
2204
|
-
function
|
|
2242
|
+
function _f() {
|
|
2205
2243
|
if (ms) return dn;
|
|
2206
2244
|
ms = 1;
|
|
2207
2245
|
function a(s) {
|
|
@@ -2214,7 +2252,7 @@ var gn, ys;
|
|
|
2214
2252
|
function Ci() {
|
|
2215
2253
|
if (ys) return gn;
|
|
2216
2254
|
ys = 1;
|
|
2217
|
-
var a =
|
|
2255
|
+
var a = _f();
|
|
2218
2256
|
function s(r, t) {
|
|
2219
2257
|
var e = r.__data__;
|
|
2220
2258
|
return a(t) ? e[typeof t == "string" ? "string" : "hash"] : e.map;
|
|
@@ -2222,7 +2260,7 @@ function Ci() {
|
|
|
2222
2260
|
return gn = s, gn;
|
|
2223
2261
|
}
|
|
2224
2262
|
var vn, _s;
|
|
2225
|
-
function
|
|
2263
|
+
function bf() {
|
|
2226
2264
|
if (_s) return vn;
|
|
2227
2265
|
_s = 1;
|
|
2228
2266
|
var a = Ci();
|
|
@@ -2233,7 +2271,7 @@ function yf() {
|
|
|
2233
2271
|
return vn = s, vn;
|
|
2234
2272
|
}
|
|
2235
2273
|
var pn, bs;
|
|
2236
|
-
function
|
|
2274
|
+
function Cf() {
|
|
2237
2275
|
if (bs) return pn;
|
|
2238
2276
|
bs = 1;
|
|
2239
2277
|
var a = Ci();
|
|
@@ -2243,7 +2281,7 @@ function _f() {
|
|
|
2243
2281
|
return pn = s, pn;
|
|
2244
2282
|
}
|
|
2245
2283
|
var mn, Cs;
|
|
2246
|
-
function
|
|
2284
|
+
function kf() {
|
|
2247
2285
|
if (Cs) return mn;
|
|
2248
2286
|
Cs = 1;
|
|
2249
2287
|
var a = Ci();
|
|
@@ -2253,7 +2291,7 @@ function bf() {
|
|
|
2253
2291
|
return mn = s, mn;
|
|
2254
2292
|
}
|
|
2255
2293
|
var yn, ks;
|
|
2256
|
-
function
|
|
2294
|
+
function wf() {
|
|
2257
2295
|
if (ks) return yn;
|
|
2258
2296
|
ks = 1;
|
|
2259
2297
|
var a = Ci();
|
|
@@ -2264,10 +2302,10 @@ function Cf() {
|
|
|
2264
2302
|
return yn = s, yn;
|
|
2265
2303
|
}
|
|
2266
2304
|
var _n, ws;
|
|
2267
|
-
function
|
|
2305
|
+
function Tf() {
|
|
2268
2306
|
if (ws) return _n;
|
|
2269
2307
|
ws = 1;
|
|
2270
|
-
var a =
|
|
2308
|
+
var a = yf(), s = bf(), r = Cf(), t = kf(), e = wf();
|
|
2271
2309
|
function i(n) {
|
|
2272
2310
|
var o = -1, l = n == null ? 0 : n.length;
|
|
2273
2311
|
for (this.clear(); ++o < l; ) {
|
|
@@ -2278,10 +2316,10 @@ function kf() {
|
|
|
2278
2316
|
return i.prototype.clear = a, i.prototype.delete = s, i.prototype.get = r, i.prototype.has = t, i.prototype.set = e, _n = i, _n;
|
|
2279
2317
|
}
|
|
2280
2318
|
var bn, Ts;
|
|
2281
|
-
function
|
|
2319
|
+
function Sf() {
|
|
2282
2320
|
if (Ts) return bn;
|
|
2283
2321
|
Ts = 1;
|
|
2284
|
-
var a = yi(), s = ia(), r =
|
|
2322
|
+
var a = yi(), s = ia(), r = Tf(), t = 200;
|
|
2285
2323
|
function e(i, n) {
|
|
2286
2324
|
var o = this.__data__;
|
|
2287
2325
|
if (o instanceof a) {
|
|
@@ -2295,10 +2333,10 @@ function wf() {
|
|
|
2295
2333
|
return bn = e, bn;
|
|
2296
2334
|
}
|
|
2297
2335
|
var Cn, Ss;
|
|
2298
|
-
function
|
|
2336
|
+
function Ef() {
|
|
2299
2337
|
if (Ss) return Cn;
|
|
2300
2338
|
Ss = 1;
|
|
2301
|
-
var a = yi(), s =
|
|
2339
|
+
var a = yi(), s = tf(), r = nf(), t = rf(), e = af(), i = Sf();
|
|
2302
2340
|
function n(o) {
|
|
2303
2341
|
var l = this.__data__ = new a(o);
|
|
2304
2342
|
this.size = l.size;
|
|
@@ -2306,7 +2344,7 @@ function Tf() {
|
|
|
2306
2344
|
return n.prototype.clear = s, n.prototype.delete = r, n.prototype.get = t, n.prototype.has = e, n.prototype.set = i, Cn = n, Cn;
|
|
2307
2345
|
}
|
|
2308
2346
|
var kn, Es;
|
|
2309
|
-
function
|
|
2347
|
+
function xf() {
|
|
2310
2348
|
if (Es) return kn;
|
|
2311
2349
|
Es = 1;
|
|
2312
2350
|
function a(s, r) {
|
|
@@ -2317,7 +2355,7 @@ function Sf() {
|
|
|
2317
2355
|
return kn = a, kn;
|
|
2318
2356
|
}
|
|
2319
2357
|
var wn, xs;
|
|
2320
|
-
function
|
|
2358
|
+
function If() {
|
|
2321
2359
|
if (xs) return wn;
|
|
2322
2360
|
xs = 1;
|
|
2323
2361
|
var a = rt(), s = (function() {
|
|
@@ -2333,7 +2371,7 @@ var Tn, Is;
|
|
|
2333
2371
|
function El() {
|
|
2334
2372
|
if (Is) return Tn;
|
|
2335
2373
|
Is = 1;
|
|
2336
|
-
var a =
|
|
2374
|
+
var a = If();
|
|
2337
2375
|
function s(r, t, e) {
|
|
2338
2376
|
t == "__proto__" && a ? a(r, t, {
|
|
2339
2377
|
configurable: !0,
|
|
@@ -2372,7 +2410,7 @@ function ki() {
|
|
|
2372
2410
|
return En = r, En;
|
|
2373
2411
|
}
|
|
2374
2412
|
var xn, Rs;
|
|
2375
|
-
function
|
|
2413
|
+
function Pf() {
|
|
2376
2414
|
if (Rs) return xn;
|
|
2377
2415
|
Rs = 1;
|
|
2378
2416
|
function a(s, r) {
|
|
@@ -2392,7 +2430,7 @@ function Ft() {
|
|
|
2392
2430
|
return In = a, In;
|
|
2393
2431
|
}
|
|
2394
2432
|
var Pn, Ds;
|
|
2395
|
-
function
|
|
2433
|
+
function Af() {
|
|
2396
2434
|
if (Ds) return Pn;
|
|
2397
2435
|
Ds = 1;
|
|
2398
2436
|
var a = _i(), s = Ft(), r = "[object Arguments]";
|
|
@@ -2402,10 +2440,10 @@ function If() {
|
|
|
2402
2440
|
return Pn = t, Pn;
|
|
2403
2441
|
}
|
|
2404
2442
|
var An, Os;
|
|
2405
|
-
function
|
|
2443
|
+
function Rf() {
|
|
2406
2444
|
if (Os) return An;
|
|
2407
2445
|
Os = 1;
|
|
2408
|
-
var a =
|
|
2446
|
+
var a = Af(), s = Ft(), r = Object.prototype, t = r.hasOwnProperty, e = r.propertyIsEnumerable, i = a(/* @__PURE__ */ (function() {
|
|
2409
2447
|
return arguments;
|
|
2410
2448
|
})()) ? a : function(n) {
|
|
2411
2449
|
return s(n) && t.call(n, "callee") && !e.call(n, "callee");
|
|
@@ -2420,7 +2458,7 @@ function na() {
|
|
|
2420
2458
|
return Rn = a, Rn;
|
|
2421
2459
|
}
|
|
2422
2460
|
var Et = { exports: {} }, Ln, Fs;
|
|
2423
|
-
function
|
|
2461
|
+
function Lf() {
|
|
2424
2462
|
if (Fs) return Ln;
|
|
2425
2463
|
Fs = 1;
|
|
2426
2464
|
function a() {
|
|
@@ -2432,12 +2470,12 @@ Et.exports;
|
|
|
2432
2470
|
var Ns;
|
|
2433
2471
|
function Il() {
|
|
2434
2472
|
return Ns || (Ns = 1, (function(a, s) {
|
|
2435
|
-
var r =
|
|
2473
|
+
var r = Le(), t = Lf(), e = s && !s.nodeType && s, i = e && !0 && a && !a.nodeType && a, n = i && i.exports === e, o = n ? r.Buffer : void 0, l = o ? o.isBuffer : void 0, u = l || t;
|
|
2436
2474
|
a.exports = u;
|
|
2437
2475
|
})(Et, Et.exports)), Et.exports;
|
|
2438
2476
|
}
|
|
2439
2477
|
var Dn, Bs;
|
|
2440
|
-
function
|
|
2478
|
+
function Df() {
|
|
2441
2479
|
if (Bs) return Dn;
|
|
2442
2480
|
Bs = 1;
|
|
2443
2481
|
var a = 9007199254740991, s = /^(?:0|[1-9]\d*)$/;
|
|
@@ -2458,7 +2496,7 @@ function Pl() {
|
|
|
2458
2496
|
return On = s, On;
|
|
2459
2497
|
}
|
|
2460
2498
|
var Mn, Us;
|
|
2461
|
-
function
|
|
2499
|
+
function Of() {
|
|
2462
2500
|
if (Us) return Mn;
|
|
2463
2501
|
Us = 1;
|
|
2464
2502
|
var a = _i(), s = Pl(), r = Ft(), t = "[object Arguments]", e = "[object Array]", i = "[object Boolean]", n = "[object Date]", o = "[object Error]", l = "[object Function]", u = "[object Map]", c = "[object Number]", f = "[object Object]", d = "[object RegExp]", g = "[object Set]", v = "[object String]", m = "[object WeakMap]", p = "[object ArrayBuffer]", k = "[object DataView]", b = "[object Float32Array]", C = "[object Float64Array]", R = "[object Int8Array]", T = "[object Int16Array]", I = "[object Int32Array]", j = "[object Uint8Array]", K = "[object Uint8ClampedArray]", z = "[object Uint16Array]", B = "[object Uint32Array]", M = {};
|
|
@@ -2495,17 +2533,17 @@ function aa() {
|
|
|
2495
2533
|
})(xt, xt.exports)), xt.exports;
|
|
2496
2534
|
}
|
|
2497
2535
|
var Nn, Vs;
|
|
2498
|
-
function
|
|
2536
|
+
function Mf() {
|
|
2499
2537
|
if (Vs) return Nn;
|
|
2500
2538
|
Vs = 1;
|
|
2501
|
-
var a =
|
|
2539
|
+
var a = Of(), s = ra(), r = aa(), t = r && r.isTypedArray, e = t ? s(t) : a;
|
|
2502
2540
|
return Nn = e, Nn;
|
|
2503
2541
|
}
|
|
2504
2542
|
var Bn, qs;
|
|
2505
2543
|
function Al() {
|
|
2506
2544
|
if (qs) return Bn;
|
|
2507
2545
|
qs = 1;
|
|
2508
|
-
var a =
|
|
2546
|
+
var a = Pf(), s = Rf(), r = na(), t = Il(), e = Df(), i = Mf(), n = Object.prototype, o = n.hasOwnProperty;
|
|
2509
2547
|
function l(u, c) {
|
|
2510
2548
|
var f = r(u), d = !f && s(u), g = !f && !d && t(u), v = !f && !d && !g && i(u), m = f || d || g || v, p = m ? a(u.length, String) : [], k = p.length;
|
|
2511
2549
|
for (var b in u)
|
|
@@ -2541,17 +2579,17 @@ function Rl() {
|
|
|
2541
2579
|
return Un = a, Un;
|
|
2542
2580
|
}
|
|
2543
2581
|
var jn, Ks;
|
|
2544
|
-
function
|
|
2582
|
+
function Ff() {
|
|
2545
2583
|
if (Ks) return jn;
|
|
2546
2584
|
Ks = 1;
|
|
2547
2585
|
var a = Rl(), s = a(Object.keys, Object);
|
|
2548
2586
|
return jn = s, jn;
|
|
2549
2587
|
}
|
|
2550
2588
|
var zn, $s;
|
|
2551
|
-
function
|
|
2589
|
+
function Nf() {
|
|
2552
2590
|
if ($s) return zn;
|
|
2553
2591
|
$s = 1;
|
|
2554
|
-
var a = sa(), s =
|
|
2592
|
+
var a = sa(), s = Ff(), r = Object.prototype, t = r.hasOwnProperty;
|
|
2555
2593
|
function e(i) {
|
|
2556
2594
|
if (!a(i))
|
|
2557
2595
|
return s(i);
|
|
@@ -2576,14 +2614,14 @@ var qn, Xs;
|
|
|
2576
2614
|
function oa() {
|
|
2577
2615
|
if (Xs) return qn;
|
|
2578
2616
|
Xs = 1;
|
|
2579
|
-
var a = Al(), s =
|
|
2617
|
+
var a = Al(), s = Nf(), r = Ll();
|
|
2580
2618
|
function t(e) {
|
|
2581
2619
|
return r(e) ? a(e) : s(e);
|
|
2582
2620
|
}
|
|
2583
2621
|
return qn = t, qn;
|
|
2584
2622
|
}
|
|
2585
2623
|
var Wn, Zs;
|
|
2586
|
-
function
|
|
2624
|
+
function Bf() {
|
|
2587
2625
|
if (Zs) return Wn;
|
|
2588
2626
|
Zs = 1;
|
|
2589
2627
|
var a = ki(), s = oa();
|
|
@@ -2593,7 +2631,7 @@ function Ff() {
|
|
|
2593
2631
|
return Wn = r, Wn;
|
|
2594
2632
|
}
|
|
2595
2633
|
var Gn, Js;
|
|
2596
|
-
function
|
|
2634
|
+
function Hf() {
|
|
2597
2635
|
if (Js) return Gn;
|
|
2598
2636
|
Js = 1;
|
|
2599
2637
|
function a(s) {
|
|
@@ -2606,10 +2644,10 @@ function Nf() {
|
|
|
2606
2644
|
return Gn = a, Gn;
|
|
2607
2645
|
}
|
|
2608
2646
|
var Kn, Qs;
|
|
2609
|
-
function
|
|
2647
|
+
function Uf() {
|
|
2610
2648
|
if (Qs) return Kn;
|
|
2611
2649
|
Qs = 1;
|
|
2612
|
-
var a = Mt(), s = sa(), r =
|
|
2650
|
+
var a = Mt(), s = sa(), r = Hf(), t = Object.prototype, e = t.hasOwnProperty;
|
|
2613
2651
|
function i(n) {
|
|
2614
2652
|
if (!a(n))
|
|
2615
2653
|
return r(n);
|
|
@@ -2624,14 +2662,14 @@ var $n, eo;
|
|
|
2624
2662
|
function la() {
|
|
2625
2663
|
if (eo) return $n;
|
|
2626
2664
|
eo = 1;
|
|
2627
|
-
var a = Al(), s =
|
|
2665
|
+
var a = Al(), s = Uf(), r = Ll();
|
|
2628
2666
|
function t(e) {
|
|
2629
2667
|
return r(e) ? a(e, !0) : s(e);
|
|
2630
2668
|
}
|
|
2631
2669
|
return $n = t, $n;
|
|
2632
2670
|
}
|
|
2633
2671
|
var Yn, to;
|
|
2634
|
-
function
|
|
2672
|
+
function jf() {
|
|
2635
2673
|
if (to) return Yn;
|
|
2636
2674
|
to = 1;
|
|
2637
2675
|
var a = ki(), s = la();
|
|
@@ -2643,9 +2681,9 @@ function Hf() {
|
|
|
2643
2681
|
var It = { exports: {} };
|
|
2644
2682
|
It.exports;
|
|
2645
2683
|
var io;
|
|
2646
|
-
function
|
|
2684
|
+
function zf() {
|
|
2647
2685
|
return io || (io = 1, (function(a, s) {
|
|
2648
|
-
var r =
|
|
2686
|
+
var r = Le(), t = s && !s.nodeType && s, e = t && !0 && a && !a.nodeType && a, i = e && e.exports === t, n = i ? r.Buffer : void 0, o = n ? n.allocUnsafe : void 0;
|
|
2649
2687
|
function l(u, c) {
|
|
2650
2688
|
if (c)
|
|
2651
2689
|
return u.slice();
|
|
@@ -2656,7 +2694,7 @@ function Uf() {
|
|
|
2656
2694
|
})(It, It.exports)), It.exports;
|
|
2657
2695
|
}
|
|
2658
2696
|
var Xn, no;
|
|
2659
|
-
function
|
|
2697
|
+
function Vf() {
|
|
2660
2698
|
if (no) return Xn;
|
|
2661
2699
|
no = 1;
|
|
2662
2700
|
function a(s, r) {
|
|
@@ -2668,7 +2706,7 @@ function jf() {
|
|
|
2668
2706
|
return Xn = a, Xn;
|
|
2669
2707
|
}
|
|
2670
2708
|
var Zn, ro;
|
|
2671
|
-
function
|
|
2709
|
+
function qf() {
|
|
2672
2710
|
if (ro) return Zn;
|
|
2673
2711
|
ro = 1;
|
|
2674
2712
|
function a(s, r) {
|
|
@@ -2693,7 +2731,7 @@ var Qn, so;
|
|
|
2693
2731
|
function ua() {
|
|
2694
2732
|
if (so) return Qn;
|
|
2695
2733
|
so = 1;
|
|
2696
|
-
var a =
|
|
2734
|
+
var a = qf(), s = Dl(), r = Object.prototype, t = r.propertyIsEnumerable, e = Object.getOwnPropertySymbols, i = e ? function(n) {
|
|
2697
2735
|
return n == null ? [] : (n = Object(n), a(e(n), function(o) {
|
|
2698
2736
|
return t.call(n, o);
|
|
2699
2737
|
}));
|
|
@@ -2701,7 +2739,7 @@ function ua() {
|
|
|
2701
2739
|
return Qn = i, Qn;
|
|
2702
2740
|
}
|
|
2703
2741
|
var er, oo;
|
|
2704
|
-
function
|
|
2742
|
+
function Wf() {
|
|
2705
2743
|
if (oo) return er;
|
|
2706
2744
|
oo = 1;
|
|
2707
2745
|
var a = ki(), s = ua();
|
|
@@ -2740,7 +2778,7 @@ function Fl() {
|
|
|
2740
2778
|
return nr = i, nr;
|
|
2741
2779
|
}
|
|
2742
2780
|
var rr, fo;
|
|
2743
|
-
function
|
|
2781
|
+
function Gf() {
|
|
2744
2782
|
if (fo) return rr;
|
|
2745
2783
|
fo = 1;
|
|
2746
2784
|
var a = ki(), s = Fl();
|
|
@@ -2761,7 +2799,7 @@ function Nl() {
|
|
|
2761
2799
|
return ar = r, ar;
|
|
2762
2800
|
}
|
|
2763
2801
|
var sr, go;
|
|
2764
|
-
function
|
|
2802
|
+
function Kf() {
|
|
2765
2803
|
if (go) return sr;
|
|
2766
2804
|
go = 1;
|
|
2767
2805
|
var a = Nl(), s = ua(), r = oa();
|
|
@@ -2771,7 +2809,7 @@ function Wf() {
|
|
|
2771
2809
|
return sr = t, sr;
|
|
2772
2810
|
}
|
|
2773
2811
|
var or, vo;
|
|
2774
|
-
function
|
|
2812
|
+
function $f() {
|
|
2775
2813
|
if (vo) return or;
|
|
2776
2814
|
vo = 1;
|
|
2777
2815
|
var a = Nl(), s = Fl(), r = la();
|
|
@@ -2781,38 +2819,38 @@ function Gf() {
|
|
|
2781
2819
|
return or = t, or;
|
|
2782
2820
|
}
|
|
2783
2821
|
var lr, po;
|
|
2784
|
-
function
|
|
2822
|
+
function Yf() {
|
|
2785
2823
|
if (po) return lr;
|
|
2786
2824
|
po = 1;
|
|
2787
|
-
var a = rt(), s =
|
|
2825
|
+
var a = rt(), s = Le(), r = a(s, "DataView");
|
|
2788
2826
|
return lr = r, lr;
|
|
2789
2827
|
}
|
|
2790
2828
|
var ur, mo;
|
|
2791
|
-
function
|
|
2829
|
+
function Xf() {
|
|
2792
2830
|
if (mo) return ur;
|
|
2793
2831
|
mo = 1;
|
|
2794
|
-
var a = rt(), s =
|
|
2832
|
+
var a = rt(), s = Le(), r = a(s, "Promise");
|
|
2795
2833
|
return ur = r, ur;
|
|
2796
2834
|
}
|
|
2797
2835
|
var cr, yo;
|
|
2798
|
-
function
|
|
2836
|
+
function Zf() {
|
|
2799
2837
|
if (yo) return cr;
|
|
2800
2838
|
yo = 1;
|
|
2801
|
-
var a = rt(), s =
|
|
2839
|
+
var a = rt(), s = Le(), r = a(s, "Set");
|
|
2802
2840
|
return cr = r, cr;
|
|
2803
2841
|
}
|
|
2804
2842
|
var fr, _o;
|
|
2805
|
-
function
|
|
2843
|
+
function Jf() {
|
|
2806
2844
|
if (_o) return fr;
|
|
2807
2845
|
_o = 1;
|
|
2808
|
-
var a = rt(), s =
|
|
2846
|
+
var a = rt(), s = Le(), r = a(s, "WeakMap");
|
|
2809
2847
|
return fr = r, fr;
|
|
2810
2848
|
}
|
|
2811
2849
|
var hr, bo;
|
|
2812
2850
|
function ca() {
|
|
2813
2851
|
if (bo) return hr;
|
|
2814
2852
|
bo = 1;
|
|
2815
|
-
var a =
|
|
2853
|
+
var a = Yf(), s = ia(), r = Xf(), t = Zf(), e = Jf(), i = _i(), n = Sl(), o = "[object Map]", l = "[object Object]", u = "[object Promise]", c = "[object Set]", f = "[object WeakMap]", d = "[object DataView]", g = n(a), v = n(s), m = n(r), p = n(t), k = n(e), b = i;
|
|
2816
2854
|
return (a && b(new a(new ArrayBuffer(1))) != d || s && b(new s()) != o || r && b(r.resolve()) != u || t && b(new t()) != c || e && b(new e()) != f) && (b = function(C) {
|
|
2817
2855
|
var R = i(C), T = R == l ? C.constructor : void 0, I = T ? n(T) : "";
|
|
2818
2856
|
if (I)
|
|
@@ -2832,7 +2870,7 @@ function ca() {
|
|
|
2832
2870
|
}), hr = b, hr;
|
|
2833
2871
|
}
|
|
2834
2872
|
var dr, Co;
|
|
2835
|
-
function
|
|
2873
|
+
function Qf() {
|
|
2836
2874
|
if (Co) return dr;
|
|
2837
2875
|
Co = 1;
|
|
2838
2876
|
var a = Object.prototype, s = a.hasOwnProperty;
|
|
@@ -2843,17 +2881,17 @@ function Zf() {
|
|
|
2843
2881
|
return dr = r, dr;
|
|
2844
2882
|
}
|
|
2845
2883
|
var gr, ko;
|
|
2846
|
-
function
|
|
2884
|
+
function eh() {
|
|
2847
2885
|
if (ko) return gr;
|
|
2848
2886
|
ko = 1;
|
|
2849
|
-
var a =
|
|
2887
|
+
var a = Le(), s = a.Uint8Array;
|
|
2850
2888
|
return gr = s, gr;
|
|
2851
2889
|
}
|
|
2852
2890
|
var vr, wo;
|
|
2853
2891
|
function fa() {
|
|
2854
2892
|
if (wo) return vr;
|
|
2855
2893
|
wo = 1;
|
|
2856
|
-
var a =
|
|
2894
|
+
var a = eh();
|
|
2857
2895
|
function s(r) {
|
|
2858
2896
|
var t = new r.constructor(r.byteLength);
|
|
2859
2897
|
return new a(t).set(new a(r)), t;
|
|
@@ -2861,7 +2899,7 @@ function fa() {
|
|
|
2861
2899
|
return vr = s, vr;
|
|
2862
2900
|
}
|
|
2863
2901
|
var pr, To;
|
|
2864
|
-
function
|
|
2902
|
+
function th() {
|
|
2865
2903
|
if (To) return pr;
|
|
2866
2904
|
To = 1;
|
|
2867
2905
|
var a = fa();
|
|
@@ -2872,7 +2910,7 @@ function Qf() {
|
|
|
2872
2910
|
return pr = s, pr;
|
|
2873
2911
|
}
|
|
2874
2912
|
var mr, So;
|
|
2875
|
-
function
|
|
2913
|
+
function ih() {
|
|
2876
2914
|
if (So) return mr;
|
|
2877
2915
|
So = 1;
|
|
2878
2916
|
var a = /\w*$/;
|
|
@@ -2883,7 +2921,7 @@ function eh() {
|
|
|
2883
2921
|
return mr = s, mr;
|
|
2884
2922
|
}
|
|
2885
2923
|
var yr, Eo;
|
|
2886
|
-
function
|
|
2924
|
+
function nh() {
|
|
2887
2925
|
if (Eo) return yr;
|
|
2888
2926
|
Eo = 1;
|
|
2889
2927
|
var a = ta(), s = a ? a.prototype : void 0, r = s ? s.valueOf : void 0;
|
|
@@ -2893,7 +2931,7 @@ function th() {
|
|
|
2893
2931
|
return yr = t, yr;
|
|
2894
2932
|
}
|
|
2895
2933
|
var _r, xo;
|
|
2896
|
-
function
|
|
2934
|
+
function rh() {
|
|
2897
2935
|
if (xo) return _r;
|
|
2898
2936
|
xo = 1;
|
|
2899
2937
|
var a = fa();
|
|
@@ -2904,10 +2942,10 @@ function ih() {
|
|
|
2904
2942
|
return _r = s, _r;
|
|
2905
2943
|
}
|
|
2906
2944
|
var br, Io;
|
|
2907
|
-
function
|
|
2945
|
+
function ah() {
|
|
2908
2946
|
if (Io) return br;
|
|
2909
2947
|
Io = 1;
|
|
2910
|
-
var a = fa(), s =
|
|
2948
|
+
var a = fa(), s = th(), r = ih(), t = nh(), e = rh(), i = "[object Boolean]", n = "[object Date]", o = "[object Map]", l = "[object Number]", u = "[object RegExp]", c = "[object Set]", f = "[object String]", d = "[object Symbol]", g = "[object ArrayBuffer]", v = "[object DataView]", m = "[object Float32Array]", p = "[object Float64Array]", k = "[object Int8Array]", b = "[object Int16Array]", C = "[object Int32Array]", R = "[object Uint8Array]", T = "[object Uint8ClampedArray]", I = "[object Uint16Array]", j = "[object Uint32Array]";
|
|
2911
2949
|
function K(z, B, M) {
|
|
2912
2950
|
var ae = z.constructor;
|
|
2913
2951
|
switch (B) {
|
|
@@ -2944,7 +2982,7 @@ function nh() {
|
|
|
2944
2982
|
return br = K, br;
|
|
2945
2983
|
}
|
|
2946
2984
|
var Cr, Po;
|
|
2947
|
-
function
|
|
2985
|
+
function sh() {
|
|
2948
2986
|
if (Po) return Cr;
|
|
2949
2987
|
Po = 1;
|
|
2950
2988
|
var a = Mt(), s = Object.create, r = /* @__PURE__ */ (function() {
|
|
@@ -2963,17 +3001,17 @@ function rh() {
|
|
|
2963
3001
|
return Cr = r, Cr;
|
|
2964
3002
|
}
|
|
2965
3003
|
var kr, Ao;
|
|
2966
|
-
function
|
|
3004
|
+
function oh() {
|
|
2967
3005
|
if (Ao) return kr;
|
|
2968
3006
|
Ao = 1;
|
|
2969
|
-
var a =
|
|
3007
|
+
var a = sh(), s = Ml(), r = sa();
|
|
2970
3008
|
function t(e) {
|
|
2971
3009
|
return typeof e.constructor == "function" && !r(e) ? a(s(e)) : {};
|
|
2972
3010
|
}
|
|
2973
3011
|
return kr = t, kr;
|
|
2974
3012
|
}
|
|
2975
3013
|
var wr, Ro;
|
|
2976
|
-
function
|
|
3014
|
+
function lh() {
|
|
2977
3015
|
if (Ro) return wr;
|
|
2978
3016
|
Ro = 1;
|
|
2979
3017
|
var a = ca(), s = Ft(), r = "[object Map]";
|
|
@@ -2983,14 +3021,14 @@ function sh() {
|
|
|
2983
3021
|
return wr = t, wr;
|
|
2984
3022
|
}
|
|
2985
3023
|
var Tr, Lo;
|
|
2986
|
-
function
|
|
3024
|
+
function uh() {
|
|
2987
3025
|
if (Lo) return Tr;
|
|
2988
3026
|
Lo = 1;
|
|
2989
|
-
var a =
|
|
3027
|
+
var a = lh(), s = ra(), r = aa(), t = r && r.isMap, e = t ? s(t) : a;
|
|
2990
3028
|
return Tr = e, Tr;
|
|
2991
3029
|
}
|
|
2992
3030
|
var Sr, Do;
|
|
2993
|
-
function
|
|
3031
|
+
function ch() {
|
|
2994
3032
|
if (Do) return Sr;
|
|
2995
3033
|
Do = 1;
|
|
2996
3034
|
var a = ca(), s = Ft(), r = "[object Set]";
|
|
@@ -3000,18 +3038,18 @@ function lh() {
|
|
|
3000
3038
|
return Sr = t, Sr;
|
|
3001
3039
|
}
|
|
3002
3040
|
var Er, Oo;
|
|
3003
|
-
function
|
|
3041
|
+
function fh() {
|
|
3004
3042
|
if (Oo) return Er;
|
|
3005
3043
|
Oo = 1;
|
|
3006
|
-
var a =
|
|
3044
|
+
var a = ch(), s = ra(), r = aa(), t = r && r.isSet, e = t ? s(t) : a;
|
|
3007
3045
|
return Er = e, Er;
|
|
3008
3046
|
}
|
|
3009
3047
|
var xr, Mo;
|
|
3010
|
-
function
|
|
3048
|
+
function hh() {
|
|
3011
3049
|
if (Mo) return xr;
|
|
3012
3050
|
Mo = 1;
|
|
3013
|
-
var a =
|
|
3014
|
-
Q[z] = Q[B] = Q[ve] = Q[
|
|
3051
|
+
var a = Ef(), s = xf(), r = xl(), t = Bf(), e = jf(), i = zf(), n = Vf(), o = Wf(), l = Gf(), u = Kf(), c = $f(), f = ca(), d = Qf(), g = ah(), v = oh(), m = na(), p = Il(), k = uh(), b = Mt(), C = fh(), R = oa(), T = la(), I = 1, j = 2, K = 4, z = "[object Arguments]", B = "[object Array]", M = "[object Boolean]", ae = "[object Date]", ge = "[object Error]", De = "[object Function]", Ht = "[object GeneratorFunction]", Ut = "[object Map]", bt = "[object Number]", Ct = "[object Object]", jt = "[object RegExp]", Oe = "[object Set]", F = "[object String]", W = "[object Symbol]", ie = "[object WeakMap]", ve = "[object ArrayBuffer]", ke = "[object DataView]", we = "[object Float32Array]", Ie = "[object Float64Array]", Ze = "[object Int8Array]", zt = "[object Int16Array]", Vt = "[object Int32Array]", kt = "[object Uint8Array]", bu = "[object Uint8ClampedArray]", Cu = "[object Uint16Array]", ku = "[object Uint32Array]", Q = {};
|
|
3052
|
+
Q[z] = Q[B] = Q[ve] = Q[ke] = Q[M] = Q[ae] = Q[we] = Q[Ie] = Q[Ze] = Q[zt] = Q[Vt] = Q[Ut] = Q[bt] = Q[Ct] = Q[jt] = Q[Oe] = Q[F] = Q[W] = Q[kt] = Q[bu] = Q[Cu] = Q[ku] = !0, Q[ge] = Q[De] = Q[ie] = !1;
|
|
3015
3053
|
function qt($, lt, ut, wu, Wt, je) {
|
|
3016
3054
|
var fe, Gt = lt & I, Kt = lt & j, Tu = lt & K;
|
|
3017
3055
|
if (ut && (fe = Wt ? ut($, wu, Wt, je) : ut($)), fe !== void 0)
|
|
@@ -3023,7 +3061,7 @@ function ch() {
|
|
|
3023
3061
|
if (fe = d($), !Gt)
|
|
3024
3062
|
return n($, fe);
|
|
3025
3063
|
} else {
|
|
3026
|
-
var ct = f($), Sa = ct ==
|
|
3064
|
+
var ct = f($), Sa = ct == De || ct == Ht;
|
|
3027
3065
|
if (p($))
|
|
3028
3066
|
return i($, Gt);
|
|
3029
3067
|
if (ct == Ct || ct == z || Sa && !Wt) {
|
|
@@ -3052,16 +3090,16 @@ function ch() {
|
|
|
3052
3090
|
return xr = qt, xr;
|
|
3053
3091
|
}
|
|
3054
3092
|
var Ir, Fo;
|
|
3055
|
-
function
|
|
3093
|
+
function dh() {
|
|
3056
3094
|
if (Fo) return Ir;
|
|
3057
3095
|
Fo = 1;
|
|
3058
|
-
var a =
|
|
3096
|
+
var a = hh(), s = 1, r = 4;
|
|
3059
3097
|
function t(e) {
|
|
3060
3098
|
return a(e, s | r);
|
|
3061
3099
|
}
|
|
3062
3100
|
return Ir = t, Ir;
|
|
3063
3101
|
}
|
|
3064
|
-
var
|
|
3102
|
+
var gh = dh(), vh = /* @__PURE__ */ Yc(gh), ha = be({
|
|
3065
3103
|
name: "DocumentEditor",
|
|
3066
3104
|
props: {
|
|
3067
3105
|
id: {
|
|
@@ -3121,7 +3159,7 @@ var hh = fh(), dh = /* @__PURE__ */ Kc(hh), ha = Se({
|
|
|
3121
3159
|
var a = this, s, r = this.documentServerUrl;
|
|
3122
3160
|
r.endsWith("/") || (r += "/");
|
|
3123
3161
|
var t = "".concat(r, "web-apps/apps/api/documents/api.js");
|
|
3124
|
-
this.shardkey && (typeof this.shardkey == "boolean" ? t += "?shardkey=".concat((s = this.config.document) === null || s === void 0 ? void 0 : s.key) : t += "?shardkey=".concat(this.shardkey)),
|
|
3162
|
+
this.shardkey && (typeof this.shardkey == "boolean" ? t += "?shardkey=".concat((s = this.config.document) === null || s === void 0 ? void 0 : s.key) : t += "?shardkey=".concat(this.shardkey)), $c(t, "onlyoffice-api-script").then(function() {
|
|
3125
3163
|
return a.onLoad();
|
|
3126
3164
|
}).catch(function() {
|
|
3127
3165
|
a.onError(-2);
|
|
@@ -3170,7 +3208,7 @@ var hh = fh(), dh = /* @__PURE__ */ Kc(hh), ha = Se({
|
|
|
3170
3208
|
return;
|
|
3171
3209
|
}
|
|
3172
3210
|
!((s = window == null ? void 0 : window.DocEditor) === null || s === void 0) && s.instances || (window.DocEditor = { instances: {} });
|
|
3173
|
-
var t =
|
|
3211
|
+
var t = vh(this.config), e = {
|
|
3174
3212
|
documentType: this.documentType,
|
|
3175
3213
|
events: {
|
|
3176
3214
|
onAppReady: this.onAppReady,
|
|
@@ -3239,13 +3277,13 @@ var hh = fh(), dh = /* @__PURE__ */ Kc(hh), ha = Se({
|
|
|
3239
3277
|
}
|
|
3240
3278
|
}
|
|
3241
3279
|
});
|
|
3242
|
-
const
|
|
3243
|
-
function
|
|
3244
|
-
return x(), H("div", { id: a.id }, null, 8,
|
|
3280
|
+
const ph = ["id"];
|
|
3281
|
+
function mh(a, s, r, t, e, i) {
|
|
3282
|
+
return x(), H("div", { id: a.id }, null, 8, ph);
|
|
3245
3283
|
}
|
|
3246
|
-
ha.render =
|
|
3284
|
+
ha.render = mh;
|
|
3247
3285
|
ha.__file = "src/components/DocumentEditor.vue";
|
|
3248
|
-
const
|
|
3286
|
+
const yh = /* @__PURE__ */ be({
|
|
3249
3287
|
__name: "IkOnlyOffice",
|
|
3250
3288
|
props: {
|
|
3251
3289
|
// 文件服务器的服务的地址
|
|
@@ -3292,7 +3330,7 @@ const ph = /* @__PURE__ */ Se({
|
|
|
3292
3330
|
/* STYLE */
|
|
3293
3331
|
));
|
|
3294
3332
|
}
|
|
3295
|
-
}),
|
|
3333
|
+
}), _h = Re(yh), bh = {
|
|
3296
3334
|
/**
|
|
3297
3335
|
* @description preview link list.
|
|
3298
3336
|
*/
|
|
@@ -3362,15 +3400,15 @@ const ph = /* @__PURE__ */ Se({
|
|
|
3362
3400
|
crossorigin: {
|
|
3363
3401
|
type: ["anonymous", "use-credentials", ""]
|
|
3364
3402
|
}
|
|
3365
|
-
},
|
|
3403
|
+
}, Ch = {
|
|
3366
3404
|
close: () => !0,
|
|
3367
3405
|
switch: (a) => Gr.isNumber(a),
|
|
3368
3406
|
rotate: (a) => Gr.isNumber(a)
|
|
3369
|
-
},
|
|
3407
|
+
}, kh = ["src", "crossorigin"], wh = /* @__PURE__ */ be({
|
|
3370
3408
|
name: "ElImageViewer",
|
|
3371
3409
|
__name: "IkImageViewer",
|
|
3372
|
-
props:
|
|
3373
|
-
emits:
|
|
3410
|
+
props: bh,
|
|
3411
|
+
emits: Ch,
|
|
3374
3412
|
setup(a, { expose: s, emit: r }) {
|
|
3375
3413
|
const t = (F) => Object.keys(F), e = {
|
|
3376
3414
|
CONTAIN: {
|
|
@@ -3399,13 +3437,13 @@ const ph = /* @__PURE__ */ Se({
|
|
|
3399
3437
|
l.e("next"),
|
|
3400
3438
|
l.is("disabled", !i.infinite && R.value)
|
|
3401
3439
|
]), K = J(() => {
|
|
3402
|
-
const { scale: F, deg: W, offsetX: ie, offsetY: ve, enableTransition:
|
|
3403
|
-
let
|
|
3440
|
+
const { scale: F, deg: W, offsetX: ie, offsetY: ve, enableTransition: ke } = p.value;
|
|
3441
|
+
let we = ie / F, Ie = ve / F;
|
|
3404
3442
|
const Ze = W * Math.PI / 180, zt = Math.cos(Ze), Vt = Math.sin(Ze);
|
|
3405
|
-
|
|
3443
|
+
we = we * zt + Ie * Vt, Ie = Ie * zt - ie / F * Vt;
|
|
3406
3444
|
const kt = {
|
|
3407
|
-
transform: `scale(${F}) rotate(${W}deg) translate(${
|
|
3408
|
-
transition:
|
|
3445
|
+
transform: `scale(${F}) rotate(${W}deg) translate(${we}px, ${Ie}px)`,
|
|
3446
|
+
transition: ke ? "transform .3s" : ""
|
|
3409
3447
|
};
|
|
3410
3448
|
return m.value.name === e.CONTAIN.name && (kt.maxWidth = kt.maxHeight = "100%"), kt;
|
|
3411
3449
|
});
|
|
@@ -3429,7 +3467,7 @@ const ph = /* @__PURE__ */ Se({
|
|
|
3429
3467
|
break;
|
|
3430
3468
|
// UP_ARROW
|
|
3431
3469
|
case ft.up:
|
|
3432
|
-
|
|
3470
|
+
Oe("zoomIn");
|
|
3433
3471
|
break;
|
|
3434
3472
|
// RIGHT_ARROW
|
|
3435
3473
|
case ft.right:
|
|
@@ -3437,12 +3475,12 @@ const ph = /* @__PURE__ */ Se({
|
|
|
3437
3475
|
break;
|
|
3438
3476
|
// DOWN_ARROW
|
|
3439
3477
|
case ft.down:
|
|
3440
|
-
|
|
3478
|
+
Oe("zoomOut");
|
|
3441
3479
|
break;
|
|
3442
3480
|
}
|
|
3443
3481
|
}), W = Pi.throttle((ie) => {
|
|
3444
3482
|
const ve = ie.deltaY || ie.deltaX;
|
|
3445
|
-
|
|
3483
|
+
Oe(ve < 0 ? "zoomIn" : "zoomOut", {
|
|
3446
3484
|
zoomRate: i.zoomRate,
|
|
3447
3485
|
enableTransition: !1
|
|
3448
3486
|
});
|
|
@@ -3460,16 +3498,16 @@ const ph = /* @__PURE__ */ Se({
|
|
|
3460
3498
|
function ge(F) {
|
|
3461
3499
|
g.value = !1, F.target.alt = o("el.image.error");
|
|
3462
3500
|
}
|
|
3463
|
-
function
|
|
3501
|
+
function De(F) {
|
|
3464
3502
|
if (g.value || F.button !== 0 || !c.value) return;
|
|
3465
3503
|
p.value.enableTransition = !1;
|
|
3466
|
-
const { offsetX: W, offsetY: ie } = p.value, ve = F.pageX,
|
|
3504
|
+
const { offsetX: W, offsetY: ie } = p.value, ve = F.pageX, ke = F.pageY, we = Pi.throttle((Ze) => {
|
|
3467
3505
|
p.value = {
|
|
3468
3506
|
...p.value,
|
|
3469
3507
|
offsetX: W + Ze.pageX - ve,
|
|
3470
|
-
offsetY: ie + Ze.pageY -
|
|
3508
|
+
offsetY: ie + Ze.pageY - ke
|
|
3471
3509
|
};
|
|
3472
|
-
}), Ie = $t(document, "mousemove",
|
|
3510
|
+
}), Ie = $t(document, "mousemove", we);
|
|
3473
3511
|
$t(document, "mouseup", () => {
|
|
3474
3512
|
Ie();
|
|
3475
3513
|
}), F.preventDefault();
|
|
@@ -3485,8 +3523,8 @@ const ph = /* @__PURE__ */ Se({
|
|
|
3485
3523
|
}
|
|
3486
3524
|
function Ut() {
|
|
3487
3525
|
if (g.value) return;
|
|
3488
|
-
const F = t(e), W = Object.values(e), ie = m.value.name,
|
|
3489
|
-
m.value = e[F[
|
|
3526
|
+
const F = t(e), W = Object.values(e), ie = m.value.name, ke = ((W == null ? void 0 : W.findIndex((we) => we.name === ie)) + 1) % F.length;
|
|
3527
|
+
m.value = e[F[ke]], Ht();
|
|
3490
3528
|
}
|
|
3491
3529
|
function bt(F) {
|
|
3492
3530
|
const W = i.urlList.length;
|
|
@@ -3498,9 +3536,9 @@ const ph = /* @__PURE__ */ Se({
|
|
|
3498
3536
|
function jt() {
|
|
3499
3537
|
R.value && !i.infinite || bt(v.value + 1);
|
|
3500
3538
|
}
|
|
3501
|
-
function
|
|
3539
|
+
function Oe(F, W = {}) {
|
|
3502
3540
|
if (g.value) return;
|
|
3503
|
-
const { minScale: ie, maxScale: ve } = i, { zoomRate:
|
|
3541
|
+
const { minScale: ie, maxScale: ve } = i, { zoomRate: ke, rotateDeg: we, enableTransition: Ie } = {
|
|
3504
3542
|
zoomRate: i.zoomRate,
|
|
3505
3543
|
rotateDeg: 90,
|
|
3506
3544
|
enableTransition: !0,
|
|
@@ -3509,19 +3547,19 @@ const ph = /* @__PURE__ */ Se({
|
|
|
3509
3547
|
switch (F) {
|
|
3510
3548
|
case "zoomOut":
|
|
3511
3549
|
p.value.scale > ie && (p.value.scale = Number.parseFloat(
|
|
3512
|
-
(p.value.scale /
|
|
3550
|
+
(p.value.scale / ke).toFixed(3)
|
|
3513
3551
|
));
|
|
3514
3552
|
break;
|
|
3515
3553
|
case "zoomIn":
|
|
3516
3554
|
p.value.scale < ve && (p.value.scale = Number.parseFloat(
|
|
3517
|
-
(p.value.scale *
|
|
3555
|
+
(p.value.scale * ke).toFixed(3)
|
|
3518
3556
|
));
|
|
3519
3557
|
break;
|
|
3520
3558
|
case "clockwise":
|
|
3521
|
-
p.value.deg +=
|
|
3559
|
+
p.value.deg += we, n("rotate", p.value.deg);
|
|
3522
3560
|
break;
|
|
3523
3561
|
case "anticlockwise":
|
|
3524
|
-
p.value.deg -=
|
|
3562
|
+
p.value.deg -= we, n("rotate", p.value.deg);
|
|
3525
3563
|
break;
|
|
3526
3564
|
}
|
|
3527
3565
|
p.value.enableTransition = Ie;
|
|
@@ -3588,7 +3626,7 @@ const ph = /* @__PURE__ */ Se({
|
|
|
3588
3626
|
),
|
|
3589
3627
|
X(" ARROW "),
|
|
3590
3628
|
b.value ? X("v-if", !0) : (x(), H(
|
|
3591
|
-
|
|
3629
|
+
Te,
|
|
3592
3630
|
{ key: 0 },
|
|
3593
3631
|
[
|
|
3594
3632
|
S(
|
|
@@ -3645,7 +3683,7 @@ const ph = /* @__PURE__ */ Se({
|
|
|
3645
3683
|
},
|
|
3646
3684
|
[
|
|
3647
3685
|
Y(E(Ve), {
|
|
3648
|
-
onClick: W[1] || (W[1] = (ie) =>
|
|
3686
|
+
onClick: W[1] || (W[1] = (ie) => Oe("zoomOut"))
|
|
3649
3687
|
}, {
|
|
3650
3688
|
default: Z(() => [
|
|
3651
3689
|
Y(E(Wu))
|
|
@@ -3654,7 +3692,7 @@ const ph = /* @__PURE__ */ Se({
|
|
|
3654
3692
|
/* STABLE */
|
|
3655
3693
|
}),
|
|
3656
3694
|
Y(E(Ve), {
|
|
3657
|
-
onClick: W[2] || (W[2] = (ie) =>
|
|
3695
|
+
onClick: W[2] || (W[2] = (ie) => Oe("zoomIn"))
|
|
3658
3696
|
}, {
|
|
3659
3697
|
default: Z(() => [
|
|
3660
3698
|
Y(E(Gu))
|
|
@@ -3688,7 +3726,7 @@ const ph = /* @__PURE__ */ Se({
|
|
|
3688
3726
|
/* CLASS */
|
|
3689
3727
|
),
|
|
3690
3728
|
Y(E(Ve), {
|
|
3691
|
-
onClick: W[3] || (W[3] = (ie) =>
|
|
3729
|
+
onClick: W[3] || (W[3] = (ie) => Oe("anticlockwise"))
|
|
3692
3730
|
}, {
|
|
3693
3731
|
default: Z(() => [
|
|
3694
3732
|
Y(E(Ku))
|
|
@@ -3697,7 +3735,7 @@ const ph = /* @__PURE__ */ Se({
|
|
|
3697
3735
|
/* STABLE */
|
|
3698
3736
|
}),
|
|
3699
3737
|
Y(E(Ve), {
|
|
3700
|
-
onClick: W[4] || (W[4] = (ie) =>
|
|
3738
|
+
onClick: W[4] || (W[4] = (ie) => Oe("clockwise"))
|
|
3701
3739
|
}, {
|
|
3702
3740
|
default: Z(() => [
|
|
3703
3741
|
Y(E($u))
|
|
@@ -3721,11 +3759,11 @@ const ph = /* @__PURE__ */ Se({
|
|
|
3721
3759
|
},
|
|
3722
3760
|
[
|
|
3723
3761
|
(x(!0), H(
|
|
3724
|
-
|
|
3762
|
+
Te,
|
|
3725
3763
|
null,
|
|
3726
3764
|
At(F.urlList, (ie, ve) => Lu((x(), H("img", {
|
|
3727
3765
|
ref_for: !0,
|
|
3728
|
-
ref: (
|
|
3766
|
+
ref: (ke) => f.value[ve] = ke,
|
|
3729
3767
|
key: ie,
|
|
3730
3768
|
src: ie,
|
|
3731
3769
|
style: ce(K.value),
|
|
@@ -3733,8 +3771,8 @@ const ph = /* @__PURE__ */ Se({
|
|
|
3733
3771
|
crossorigin: F.crossorigin,
|
|
3734
3772
|
onLoad: ae,
|
|
3735
3773
|
onError: ge,
|
|
3736
|
-
onMousedown:
|
|
3737
|
-
}, null, 46,
|
|
3774
|
+
onMousedown: De
|
|
3775
|
+
}, null, 46, kh)), [
|
|
3738
3776
|
[Du, ve === v.value]
|
|
3739
3777
|
])),
|
|
3740
3778
|
128
|
|
@@ -3755,8 +3793,8 @@ const ph = /* @__PURE__ */ Se({
|
|
|
3755
3793
|
})
|
|
3756
3794
|
]));
|
|
3757
3795
|
}
|
|
3758
|
-
}),
|
|
3759
|
-
function
|
|
3796
|
+
}), Th = Re(wh);
|
|
3797
|
+
function Sh(a, s) {
|
|
3760
3798
|
var r = a == null ? null : typeof Symbol < "u" && a[Symbol.iterator] || a["@@iterator"];
|
|
3761
3799
|
if (r != null) {
|
|
3762
3800
|
var t, e, i, n, o = [], l = !0, u = !1;
|
|
@@ -3852,7 +3890,7 @@ function Kr(a, s) {
|
|
|
3852
3890
|
return t.__proto__ = e, t;
|
|
3853
3891
|
}, Kr(a, s);
|
|
3854
3892
|
}
|
|
3855
|
-
function
|
|
3893
|
+
function Eh() {
|
|
3856
3894
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
3857
3895
|
return !1;
|
|
3858
3896
|
if (typeof Proxy == "function")
|
|
@@ -3877,7 +3915,7 @@ function da(a, s) {
|
|
|
3877
3915
|
return y(a);
|
|
3878
3916
|
}
|
|
3879
3917
|
function D(a) {
|
|
3880
|
-
var s =
|
|
3918
|
+
var s = Eh();
|
|
3881
3919
|
return function() {
|
|
3882
3920
|
var t = O(a), e;
|
|
3883
3921
|
if (s) {
|
|
@@ -3888,35 +3926,35 @@ function D(a) {
|
|
|
3888
3926
|
return da(this, e);
|
|
3889
3927
|
};
|
|
3890
3928
|
}
|
|
3891
|
-
function
|
|
3929
|
+
function xh(a, s) {
|
|
3892
3930
|
for (; !Object.prototype.hasOwnProperty.call(a, s) && (a = O(a), a !== null); )
|
|
3893
3931
|
;
|
|
3894
3932
|
return a;
|
|
3895
3933
|
}
|
|
3896
3934
|
function N() {
|
|
3897
3935
|
return typeof Reflect < "u" && Reflect.get ? N = Reflect.get.bind() : N = function(s, r, t) {
|
|
3898
|
-
var e =
|
|
3936
|
+
var e = xh(s, r);
|
|
3899
3937
|
if (e) {
|
|
3900
3938
|
var i = Object.getOwnPropertyDescriptor(e, r);
|
|
3901
3939
|
return i.get ? i.get.call(arguments.length < 3 ? s : t) : i.value;
|
|
3902
3940
|
}
|
|
3903
3941
|
}, N.apply(this, arguments);
|
|
3904
3942
|
}
|
|
3905
|
-
function
|
|
3906
|
-
return
|
|
3943
|
+
function Ih(a, s) {
|
|
3944
|
+
return Ah(a) || Sh(a, s) || Bl(a, s) || Dh();
|
|
3907
3945
|
}
|
|
3908
3946
|
function xe(a) {
|
|
3909
|
-
return
|
|
3947
|
+
return Ph(a) || Rh(a) || Bl(a) || Lh();
|
|
3910
3948
|
}
|
|
3911
|
-
function
|
|
3949
|
+
function Ph(a) {
|
|
3912
3950
|
if (Array.isArray(a))
|
|
3913
3951
|
return $r(a);
|
|
3914
3952
|
}
|
|
3915
|
-
function
|
|
3953
|
+
function Ah(a) {
|
|
3916
3954
|
if (Array.isArray(a))
|
|
3917
3955
|
return a;
|
|
3918
3956
|
}
|
|
3919
|
-
function
|
|
3957
|
+
function Rh(a) {
|
|
3920
3958
|
if (typeof Symbol < "u" && a[Symbol.iterator] != null || a["@@iterator"] != null)
|
|
3921
3959
|
return Array.from(a);
|
|
3922
3960
|
}
|
|
@@ -3937,15 +3975,15 @@ function $r(a, s) {
|
|
|
3937
3975
|
t[r] = a[r];
|
|
3938
3976
|
return t;
|
|
3939
3977
|
}
|
|
3940
|
-
function
|
|
3978
|
+
function Lh() {
|
|
3941
3979
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
3942
3980
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
3943
3981
|
}
|
|
3944
|
-
function
|
|
3982
|
+
function Dh() {
|
|
3945
3983
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3946
3984
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
3947
3985
|
}
|
|
3948
|
-
function
|
|
3986
|
+
function Oh(a, s) {
|
|
3949
3987
|
if (typeof a != "object" || a === null)
|
|
3950
3988
|
return a;
|
|
3951
3989
|
var r = a[Symbol.toPrimitive];
|
|
@@ -3958,11 +3996,11 @@ function Lh(a, s) {
|
|
|
3958
3996
|
return (s === "string" ? String : Number)(a);
|
|
3959
3997
|
}
|
|
3960
3998
|
function Hl(a) {
|
|
3961
|
-
var s =
|
|
3999
|
+
var s = Oh(a, "string");
|
|
3962
4000
|
return typeof s == "symbol" ? s : String(s);
|
|
3963
4001
|
}
|
|
3964
4002
|
var Pr = { exports: {} }, Ho;
|
|
3965
|
-
function
|
|
4003
|
+
function Mh() {
|
|
3966
4004
|
return Ho || (Ho = 1, (function(a) {
|
|
3967
4005
|
var s = Object.prototype.hasOwnProperty, r = "~";
|
|
3968
4006
|
function t() {
|
|
@@ -4068,15 +4106,15 @@ function Dh() {
|
|
|
4068
4106
|
}, o.prototype.off = o.prototype.removeListener, o.prototype.addListener = o.prototype.on, o.prefixed = r, o.EventEmitter = o, a.exports = o;
|
|
4069
4107
|
})(Pr)), Pr.exports;
|
|
4070
4108
|
}
|
|
4071
|
-
var Ul =
|
|
4109
|
+
var Ul = Mh();
|
|
4072
4110
|
const jl = /* @__PURE__ */ Cl(Ul);
|
|
4073
|
-
var
|
|
4111
|
+
var Fh = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, Ar = {
|
|
4074
4112
|
info: "color: #525252; background-color: #90ee90;",
|
|
4075
4113
|
error: "color: #525252; background-color: red;",
|
|
4076
4114
|
warn: "color: #525252; background-color: yellow; "
|
|
4077
4115
|
}, Rr = "%c[xgplayer]", V = {
|
|
4078
4116
|
config: {
|
|
4079
|
-
debug:
|
|
4117
|
+
debug: Fh ? 3 : 0
|
|
4080
4118
|
},
|
|
4081
4119
|
logInfo: function(s) {
|
|
4082
4120
|
for (var r, t = arguments.length, e = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
|
|
@@ -4097,10 +4135,10 @@ var Oh = typeof window < "u" && window.location && window.location.href.indexOf(
|
|
|
4097
4135
|
}
|
|
4098
4136
|
}
|
|
4099
4137
|
};
|
|
4100
|
-
function
|
|
4138
|
+
function Nh(a) {
|
|
4101
4139
|
a.logInfo = V.logInfo.bind(a), a.logWarn = V.logWarn.bind(a), a.logError = V.logError.bind(a);
|
|
4102
4140
|
}
|
|
4103
|
-
var
|
|
4141
|
+
var Bh = /* @__PURE__ */ (function() {
|
|
4104
4142
|
function a(s) {
|
|
4105
4143
|
P(this, a), this.bufferedList = s;
|
|
4106
4144
|
}
|
|
@@ -4345,7 +4383,7 @@ h.setStyleFromCsstext = function(a, s) {
|
|
|
4345
4383
|
a.style[t] = s[t];
|
|
4346
4384
|
});
|
|
4347
4385
|
};
|
|
4348
|
-
function
|
|
4386
|
+
function Hh(a, s) {
|
|
4349
4387
|
for (var r = 0, t = s.length; r < t; r++)
|
|
4350
4388
|
if (a.indexOf(s[r]) > -1)
|
|
4351
4389
|
return !0;
|
|
@@ -4359,7 +4397,7 @@ h.filterStyleFromText = function(a) {
|
|
|
4359
4397
|
return t.map(function(n) {
|
|
4360
4398
|
if (n) {
|
|
4361
4399
|
var o = n.split(":");
|
|
4362
|
-
o.length > 1 && (
|
|
4400
|
+
o.length > 1 && (Hh(o[0], s) ? e[o[0]] = o[1] : i[o[0]] = o[1]);
|
|
4363
4401
|
}
|
|
4364
4402
|
}), a.setAttribute("style", ""), Object.keys(i).map(function(n) {
|
|
4365
4403
|
a.style[n] = i[n];
|
|
@@ -4424,7 +4462,7 @@ h.getBuffered2 = function(a) {
|
|
|
4424
4462
|
}
|
|
4425
4463
|
else
|
|
4426
4464
|
e = r;
|
|
4427
|
-
return new
|
|
4465
|
+
return new Bh(e);
|
|
4428
4466
|
};
|
|
4429
4467
|
h.getEventPos = function(a) {
|
|
4430
4468
|
var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
|
|
@@ -4548,7 +4586,7 @@ function zl(a) {
|
|
|
4548
4586
|
var s = le(a);
|
|
4549
4587
|
return a !== null && (s === "object" || s === "function");
|
|
4550
4588
|
}
|
|
4551
|
-
function
|
|
4589
|
+
function Uh(a, s, r) {
|
|
4552
4590
|
var t, e, i, n, o, l, u = 0, c = !1, f = !1, d = !0, g = !s && s !== 0 && typeof window.requestAnimationFrame == "function";
|
|
4553
4591
|
if (typeof a != "function")
|
|
4554
4592
|
throw new TypeError("Expected a function");
|
|
@@ -4595,8 +4633,8 @@ function Bh(a, s, r) {
|
|
|
4595
4633
|
return o !== void 0;
|
|
4596
4634
|
}
|
|
4597
4635
|
function z() {
|
|
4598
|
-
for (var B = Date.now(), M = C(B), ae = arguments.length, ge = new Array(ae),
|
|
4599
|
-
ge[
|
|
4636
|
+
for (var B = Date.now(), M = C(B), ae = arguments.length, ge = new Array(ae), De = 0; De < ae; De++)
|
|
4637
|
+
ge[De] = arguments[De];
|
|
4600
4638
|
if (t = ge, e = this, l = B, M) {
|
|
4601
4639
|
if (o === void 0)
|
|
4602
4640
|
return k(l);
|
|
@@ -4607,21 +4645,21 @@ function Bh(a, s, r) {
|
|
|
4607
4645
|
}
|
|
4608
4646
|
return z.cancel = I, z.flush = j, z.pending = K, z;
|
|
4609
4647
|
}
|
|
4610
|
-
function
|
|
4648
|
+
function jh(a, s, r) {
|
|
4611
4649
|
var t = !0, e = !0;
|
|
4612
4650
|
if (typeof a != "function")
|
|
4613
4651
|
throw new TypeError("Expected a function");
|
|
4614
|
-
return zl(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e),
|
|
4652
|
+
return zl(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e), Uh(a, s, {
|
|
4615
4653
|
leading: t,
|
|
4616
4654
|
trailing: e,
|
|
4617
4655
|
maxWait: s
|
|
4618
4656
|
});
|
|
4619
4657
|
}
|
|
4620
|
-
function
|
|
4658
|
+
function zh() {
|
|
4621
4659
|
var a = (document.documentElement.getAttribute("lang") || navigator.language || "zh-cn").toLocaleLowerCase();
|
|
4622
4660
|
return a === "zh-cn" && (a = "zh"), a;
|
|
4623
4661
|
}
|
|
4624
|
-
function
|
|
4662
|
+
function Vh(a, s, r) {
|
|
4625
4663
|
if (a) {
|
|
4626
4664
|
var t = a.getAttribute(r);
|
|
4627
4665
|
return !!(t && t === s && (a.tagName === "VIDEO" || a.tagName === "AUDIO"));
|
|
@@ -4631,7 +4669,7 @@ var Lr = {
|
|
|
4631
4669
|
android: /(Android)\s([\d.]+)/,
|
|
4632
4670
|
harmony: /(OpenHarmony|HarmonyOS)\s([\d.]+)/,
|
|
4633
4671
|
ios: /(Version)\/([\d.]+)/
|
|
4634
|
-
},
|
|
4672
|
+
}, qh = ["avc1.42E01E, mp4a.40.2", "avc1.58A01E, mp4a.40.2", "avc1.4D401E, mp4a.40.2", "avc1.64001E, mp4a.40.2", "avc1.42E01E", "mp4v.20.8", "mp4v.20.8, mp4a.40.2", "mp4v.20.240, mp4a.40.2"], U = {
|
|
4635
4673
|
get device() {
|
|
4636
4674
|
var a = U.os;
|
|
4637
4675
|
return a.isPc ? "pc" : "mobile";
|
|
@@ -4697,7 +4735,7 @@ var Lr = {
|
|
|
4697
4735
|
if (this.supportResult)
|
|
4698
4736
|
return this.supportResult;
|
|
4699
4737
|
var r = document.createElement("video");
|
|
4700
|
-
return typeof r.canPlayType == "function" &&
|
|
4738
|
+
return typeof r.canPlayType == "function" && qh.map(function(t) {
|
|
4701
4739
|
r.canPlayType('video/mp4; codecs="'.concat(t, '"')) === "probably" && (s.isSupport = !0, s.mime += "||".concat(t));
|
|
4702
4740
|
}), this.supportResult = s, r = null, s;
|
|
4703
4741
|
},
|
|
@@ -4792,21 +4830,21 @@ var Lr = {
|
|
|
4792
4830
|
return m.ex = t ? (t[arguments[0]] || {}).msg : "", m;
|
|
4793
4831
|
}
|
|
4794
4832
|
}
|
|
4795
|
-
),
|
|
4833
|
+
), Ce = "play", wi = "playing", at = "ended", _t = "pause", Nt = "error", Ti = "seeking", Be = "seeked", _e = "timeupdate", Bt = "waiting", Ne = "canplay", Wh = "canplaythrough", Ue = "durationchange", Vl = "volumechange", He = "loadeddata", Gh = "loadedmetadata", ql = "ratechange", Wl = "progress", ga = "loadstart", st = "emptied", Kh = "stalled", $h = "suspend", Yh = "abort", Xh = "bufferedChange", va = "focus", Gl = "blur", pa = "ready", Kl = "urlNull", nt = "autoplay_started", ma = "autoplay_was_prevented", Si = "complete", ai = "replay", ya = "destroy", Ei = "urlchange", Xr = "download_speed_change", $l = "leaveplayer", Yl = "enterplayer", Xl = "loading", Fe = "fullscreen_change", si = "cssFullscreen_change", oi = "mini_state_change", _a = "definition_change", Zh = "before_definition_change", Zr = "after_definition_change", Jh = "SEI_PARSED", Qh = "retry", $e = "video_resize", Jr = "pip_change", Zl = "rotate", Jl = "screenShot", li = "playnext", Ql = "shortcut", eu = "xglog", ui = "user_action", xi = "reset", tu = "source_error", iu = "source_success", ed = "switch_subtitle", nu = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], ru = {
|
|
4796
4834
|
STATS_INFO: "stats_info",
|
|
4797
4835
|
STATS_DOWNLOAD: "stats_download",
|
|
4798
4836
|
STATS_RESET: "stats_reset"
|
|
4799
4837
|
}, au = "fps_stuck";
|
|
4800
|
-
const
|
|
4838
|
+
const td = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4801
4839
|
__proto__: null,
|
|
4802
|
-
ABORT:
|
|
4840
|
+
ABORT: Yh,
|
|
4803
4841
|
AFTER_DEFINITION_CHANGE: Zr,
|
|
4804
4842
|
AUTOPLAY_PREVENTED: ma,
|
|
4805
4843
|
AUTOPLAY_STARTED: nt,
|
|
4806
|
-
BEFORE_DEFINITION_CHANGE:
|
|
4807
|
-
BUFFER_CHANGE:
|
|
4808
|
-
CANPLAY:
|
|
4809
|
-
CANPLAY_THROUGH:
|
|
4844
|
+
BEFORE_DEFINITION_CHANGE: Zh,
|
|
4845
|
+
BUFFER_CHANGE: Xh,
|
|
4846
|
+
CANPLAY: Ne,
|
|
4847
|
+
CANPLAY_THROUGH: Wh,
|
|
4810
4848
|
COMPLETE: Si,
|
|
4811
4849
|
CSS_FULLSCREEN_CHANGE: si,
|
|
4812
4850
|
DEFINITION_CHANGE: _a,
|
|
@@ -4818,16 +4856,16 @@ const Qh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4818
4856
|
ENTER_PLAYER: Yl,
|
|
4819
4857
|
ERROR: Nt,
|
|
4820
4858
|
FPS_STUCK: au,
|
|
4821
|
-
FULLSCREEN_CHANGE:
|
|
4859
|
+
FULLSCREEN_CHANGE: Fe,
|
|
4822
4860
|
LEAVE_PLAYER: $l,
|
|
4823
|
-
LOADED_DATA:
|
|
4824
|
-
LOADED_METADATA:
|
|
4861
|
+
LOADED_DATA: He,
|
|
4862
|
+
LOADED_METADATA: Gh,
|
|
4825
4863
|
LOADING: Xl,
|
|
4826
4864
|
LOAD_START: ga,
|
|
4827
4865
|
MINI_STATE_CHANGE: oi,
|
|
4828
4866
|
PAUSE: _t,
|
|
4829
4867
|
PIP_CHANGE: Jr,
|
|
4830
|
-
PLAY:
|
|
4868
|
+
PLAY: Ce,
|
|
4831
4869
|
PLAYER_BLUR: Gl,
|
|
4832
4870
|
PLAYER_FOCUS: va,
|
|
4833
4871
|
PLAYING: wi,
|
|
@@ -4837,19 +4875,19 @@ const Qh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4837
4875
|
READY: pa,
|
|
4838
4876
|
REPLAY: ai,
|
|
4839
4877
|
RESET: xi,
|
|
4840
|
-
RETRY:
|
|
4878
|
+
RETRY: Qh,
|
|
4841
4879
|
ROTATE: Zl,
|
|
4842
4880
|
SCREEN_SHOT: Jl,
|
|
4843
|
-
SEEKED:
|
|
4881
|
+
SEEKED: Be,
|
|
4844
4882
|
SEEKING: Ti,
|
|
4845
|
-
SEI_PARSED:
|
|
4883
|
+
SEI_PARSED: Jh,
|
|
4846
4884
|
SHORTCUT: Ql,
|
|
4847
4885
|
SOURCE_ERROR: tu,
|
|
4848
4886
|
SOURCE_SUCCESS: iu,
|
|
4849
|
-
STALLED:
|
|
4887
|
+
STALLED: Kh,
|
|
4850
4888
|
STATS_EVENTS: ru,
|
|
4851
|
-
SUSPEND:
|
|
4852
|
-
SWITCH_SUBTITLE:
|
|
4889
|
+
SUSPEND: $h,
|
|
4890
|
+
SWITCH_SUBTITLE: ed,
|
|
4853
4891
|
TIME_UPDATE: _e,
|
|
4854
4892
|
URL_CHANGE: Ei,
|
|
4855
4893
|
URL_NULL: Kl,
|
|
@@ -4863,7 +4901,7 @@ const Qh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4863
4901
|
function Dr(a, s) {
|
|
4864
4902
|
!this || !this.emit || (a === "error" ? this.errorHandler(a, s.error) : this.emit(a, s));
|
|
4865
4903
|
}
|
|
4866
|
-
function
|
|
4904
|
+
function id(a, s) {
|
|
4867
4905
|
return function(r, t) {
|
|
4868
4906
|
var e = {
|
|
4869
4907
|
player: s,
|
|
@@ -4898,7 +4936,7 @@ function ed(a, s) {
|
|
|
4898
4936
|
Dr.call(s, a, e);
|
|
4899
4937
|
};
|
|
4900
4938
|
}
|
|
4901
|
-
var
|
|
4939
|
+
var nd = /* @__PURE__ */ (function(a) {
|
|
4902
4940
|
L(r, a);
|
|
4903
4941
|
var s = D(r);
|
|
4904
4942
|
function r(t) {
|
|
@@ -4942,7 +4980,7 @@ var td = /* @__PURE__ */ (function(a) {
|
|
|
4942
4980
|
var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.media;
|
|
4943
4981
|
this._evHandlers || (this._evHandlers = nu.map(function(n) {
|
|
4944
4982
|
var o = "on".concat(n.charAt(0).toUpperCase()).concat(n.slice(1));
|
|
4945
|
-
return typeof e[o] == "function" && e.on(n, e[o]), _({}, n,
|
|
4983
|
+
return typeof e[o] == "function" && e.on(n, e[o]), _({}, n, id(n, e));
|
|
4946
4984
|
})), this._evHandlers.forEach(function(n) {
|
|
4947
4985
|
var o = Object.keys(n)[0];
|
|
4948
4986
|
i.addEventListener(o, n[o], !1);
|
|
@@ -5316,7 +5354,7 @@ var td = /* @__PURE__ */ (function(a) {
|
|
|
5316
5354
|
N(O(r.prototype), "removeAllListeners", this).call(this);
|
|
5317
5355
|
}
|
|
5318
5356
|
}]), r;
|
|
5319
|
-
})(jl),
|
|
5357
|
+
})(jl), rd = /* @__PURE__ */ (function() {
|
|
5320
5358
|
function a() {
|
|
5321
5359
|
var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
|
5322
5360
|
name: "xgplayer",
|
|
@@ -5421,7 +5459,7 @@ function ci(a, s) {
|
|
|
5421
5459
|
}
|
|
5422
5460
|
if (this.__hooks && this.__hooks[a])
|
|
5423
5461
|
try {
|
|
5424
|
-
var n =
|
|
5462
|
+
var n = Se.apply(void 0, [this, a, s].concat(Array.prototype.slice.call(arguments)));
|
|
5425
5463
|
n ? n.then ? n.then(function(o) {
|
|
5426
5464
|
o !== !1 && Xt.apply(void 0, [e, s, r.next].concat(xe(t)));
|
|
5427
5465
|
}).catch(function(o) {
|
|
@@ -5489,7 +5527,7 @@ function ou(a) {
|
|
|
5489
5527
|
function lu(a) {
|
|
5490
5528
|
a.__hooks = null;
|
|
5491
5529
|
}
|
|
5492
|
-
function
|
|
5530
|
+
function Se(a, s, r) {
|
|
5493
5531
|
for (var t = arguments.length, e = new Array(t > 3 ? t - 3 : 0), i = 3; i < t; i++)
|
|
5494
5532
|
e[i - 3] = arguments[i];
|
|
5495
5533
|
if (a.__hooks && Array.isArray(a.__hooks[s])) {
|
|
@@ -5712,7 +5750,7 @@ var Ye = /* @__PURE__ */ (function() {
|
|
|
5712
5750
|
}
|
|
5713
5751
|
}]), a;
|
|
5714
5752
|
})(), Mr, Ko;
|
|
5715
|
-
function
|
|
5753
|
+
function ad() {
|
|
5716
5754
|
if (Ko) return Mr;
|
|
5717
5755
|
Ko = 1;
|
|
5718
5756
|
var a = 9;
|
|
@@ -5730,10 +5768,10 @@ function nd() {
|
|
|
5730
5768
|
return Mr = r, Mr;
|
|
5731
5769
|
}
|
|
5732
5770
|
var Fr, $o;
|
|
5733
|
-
function
|
|
5771
|
+
function sd() {
|
|
5734
5772
|
if ($o) return Fr;
|
|
5735
5773
|
$o = 1;
|
|
5736
|
-
var a =
|
|
5774
|
+
var a = ad();
|
|
5737
5775
|
function s(e, i, n, o, l) {
|
|
5738
5776
|
var u = t.apply(this, arguments);
|
|
5739
5777
|
return e.addEventListener(n, u, l), {
|
|
@@ -5754,9 +5792,9 @@ function rd() {
|
|
|
5754
5792
|
}
|
|
5755
5793
|
return Fr = r, Fr;
|
|
5756
5794
|
}
|
|
5757
|
-
var
|
|
5758
|
-
const Yo = /* @__PURE__ */ Cl(
|
|
5759
|
-
var
|
|
5795
|
+
var od = sd();
|
|
5796
|
+
const Yo = /* @__PURE__ */ Cl(od);
|
|
5797
|
+
var ld = {
|
|
5760
5798
|
CONTROLS: "controls",
|
|
5761
5799
|
ROOT: "root"
|
|
5762
5800
|
}, ee = {
|
|
@@ -5775,10 +5813,10 @@ var sd = {
|
|
|
5775
5813
|
function Nr(a) {
|
|
5776
5814
|
return a ? a.indexOf && /^(?:http|data:|\/)/.test(a) : !1;
|
|
5777
5815
|
}
|
|
5778
|
-
function
|
|
5816
|
+
function ud(a, s) {
|
|
5779
5817
|
return le(a) === "object" && a.class && typeof a.class == "string" ? "".concat(s, " ").concat(a.class) : s;
|
|
5780
5818
|
}
|
|
5781
|
-
function
|
|
5819
|
+
function cd(a, s) {
|
|
5782
5820
|
return le(a) === "object" && a.attr && le(a.attr) === "object" && Object.keys(a.attr).map(function(r) {
|
|
5783
5821
|
s[r] = a.attr[r];
|
|
5784
5822
|
}), s;
|
|
@@ -5801,14 +5839,14 @@ function Zo(a, s) {
|
|
|
5801
5839
|
}
|
|
5802
5840
|
return typeof a == "string" ? h.createDomFromHtml(a, t, r) : (V.logWarn("warn>>icons.".concat(s, " in config of plugin named [").concat(e, "] is invalid")), null);
|
|
5803
5841
|
}
|
|
5804
|
-
function
|
|
5842
|
+
function fd(a, s) {
|
|
5805
5843
|
var r = s.config.icons || s.playerConfig.icons;
|
|
5806
5844
|
Object.keys(a).map(function(t) {
|
|
5807
5845
|
var e = a[t], i = e && e.class ? e.class : "", n = e && e.attr ? e.attr : {}, o = null;
|
|
5808
|
-
r && r[t] && (i =
|
|
5846
|
+
r && r[t] && (i = ud(r[t], i), n = cd(r[t], n), o = Zo(r[t], t, i, n, s.pluginName)), !o && e && (o = Zo(e.icon ? e.icon : e, n, i, {}, s.pluginName)), s.icons[t] = o;
|
|
5809
5847
|
});
|
|
5810
5848
|
}
|
|
5811
|
-
function
|
|
5849
|
+
function hd(a, s) {
|
|
5812
5850
|
Object.keys(a).map(function(r) {
|
|
5813
5851
|
Object.defineProperty(s.langText, r, {
|
|
5814
5852
|
get: function() {
|
|
@@ -5832,9 +5870,9 @@ var G = /* @__PURE__ */ (function(a) {
|
|
|
5832
5870
|
var i = e.root, n = null;
|
|
5833
5871
|
this.icons = {}, this.root = null, this.parent = null, this.extraEls = [];
|
|
5834
5872
|
var o = this.registerIcons() || {};
|
|
5835
|
-
|
|
5873
|
+
fd(o, this), this.langText = {};
|
|
5836
5874
|
var l = this.registerLanguageTexts() || {};
|
|
5837
|
-
|
|
5875
|
+
hd(l, this);
|
|
5838
5876
|
var u = "";
|
|
5839
5877
|
try {
|
|
5840
5878
|
u = this.render();
|
|
@@ -6102,7 +6140,7 @@ var G = /* @__PURE__ */ (function(a) {
|
|
|
6102
6140
|
}, {
|
|
6103
6141
|
key: "ROOT_TYPES",
|
|
6104
6142
|
get: function() {
|
|
6105
|
-
return
|
|
6143
|
+
return ld;
|
|
6106
6144
|
}
|
|
6107
6145
|
}, {
|
|
6108
6146
|
key: "POSITIONS",
|
|
@@ -6110,7 +6148,7 @@ var G = /* @__PURE__ */ (function(a) {
|
|
|
6110
6148
|
return ee;
|
|
6111
6149
|
}
|
|
6112
6150
|
}]), r;
|
|
6113
|
-
})(Ye),
|
|
6151
|
+
})(Ye), dd = /* @__PURE__ */ (function() {
|
|
6114
6152
|
function a() {
|
|
6115
6153
|
var s = this;
|
|
6116
6154
|
if (P(this, a), _(this, "__trigger", function(r) {
|
|
@@ -6120,7 +6158,7 @@ var G = /* @__PURE__ */ (function(a) {
|
|
|
6120
6158
|
s.__runHandler(r[e].target);
|
|
6121
6159
|
}), this.__handlers = [], this.timeStamp = 0, this.observer = null, !!window.ResizeObserver)
|
|
6122
6160
|
try {
|
|
6123
|
-
this.observer = new window.ResizeObserver(
|
|
6161
|
+
this.observer = new window.ResizeObserver(jh(this.__trigger, 100, {
|
|
6124
6162
|
trailing: !0
|
|
6125
6163
|
})), this.timeStamp = (/* @__PURE__ */ new Date()).getTime();
|
|
6126
6164
|
} catch (r) {
|
|
@@ -6177,10 +6215,10 @@ var G = /* @__PURE__ */ (function(a) {
|
|
|
6177
6215
|
}
|
|
6178
6216
|
}]), a;
|
|
6179
6217
|
})(), Pt = null;
|
|
6180
|
-
function
|
|
6181
|
-
return Pt || (Pt = new
|
|
6218
|
+
function gd(a, s) {
|
|
6219
|
+
return Pt || (Pt = new dd()), Pt.addObserver(a, s), Pt;
|
|
6182
6220
|
}
|
|
6183
|
-
function
|
|
6221
|
+
function vd(a, s) {
|
|
6184
6222
|
var r;
|
|
6185
6223
|
(r = Pt) === null || r === void 0 || r.unObserver(a, s);
|
|
6186
6224
|
}
|
|
@@ -6188,7 +6226,7 @@ var oe = {
|
|
|
6188
6226
|
pluginGroup: {},
|
|
6189
6227
|
init: function(s) {
|
|
6190
6228
|
var r = s._pluginInfoId;
|
|
6191
|
-
r || (r = (/* @__PURE__ */ new Date()).getTime(), s._pluginInfoId = r), !s.config.closeResizeObserver &&
|
|
6229
|
+
r || (r = (/* @__PURE__ */ new Date()).getTime(), s._pluginInfoId = r), !s.config.closeResizeObserver && gd(s.root, function() {
|
|
6192
6230
|
s.resize();
|
|
6193
6231
|
}), this.pluginGroup[r] = {
|
|
6194
6232
|
_originalOptions: s.config || {},
|
|
@@ -6374,7 +6412,7 @@ var oe = {
|
|
|
6374
6412
|
destroy: function(s) {
|
|
6375
6413
|
var r = s._pluginInfoId;
|
|
6376
6414
|
if (this.pluginGroup[r]) {
|
|
6377
|
-
|
|
6415
|
+
vd(s.root);
|
|
6378
6416
|
for (var t = this.pluginGroup[r]._plugins, e = 0, i = Object.keys(t); e < i.length; e++) {
|
|
6379
6417
|
var n = i[e];
|
|
6380
6418
|
this.unRegister(r, n);
|
|
@@ -6460,7 +6498,7 @@ function Jo() {
|
|
|
6460
6498
|
ignores: [],
|
|
6461
6499
|
whitelist: [],
|
|
6462
6500
|
inactive: 3e3,
|
|
6463
|
-
lang:
|
|
6501
|
+
lang: zh(),
|
|
6464
6502
|
controls: !0,
|
|
6465
6503
|
marginControls: !1,
|
|
6466
6504
|
fullscreenTarget: null,
|
|
@@ -6496,7 +6534,7 @@ function Jo() {
|
|
|
6496
6534
|
}
|
|
6497
6535
|
};
|
|
6498
6536
|
}
|
|
6499
|
-
var
|
|
6537
|
+
var pd = function(s, r) {
|
|
6500
6538
|
var t, e, i;
|
|
6501
6539
|
r.preset && r.options ? i = new r.preset(r.options, s.config) : i = new r({}, s.config);
|
|
6502
6540
|
var n = i, o = n.plugins, l = o === void 0 ? [] : o, u = n.ignores, c = u === void 0 ? [] : u, f = n.icons, d = f === void 0 ? {} : f, g = n.i18n, v = g === void 0 ? [] : g;
|
|
@@ -6505,7 +6543,7 @@ var gd = function(s, r) {
|
|
|
6505
6543
|
});
|
|
6506
6544
|
var m = s.config.i18n || [];
|
|
6507
6545
|
v.push.apply(v, xe(m)), s.config.i18n = v;
|
|
6508
|
-
},
|
|
6546
|
+
}, md = /* @__PURE__ */ (function(a) {
|
|
6509
6547
|
L(r, a);
|
|
6510
6548
|
var s = D(r);
|
|
6511
6549
|
function r() {
|
|
@@ -6666,7 +6704,7 @@ var gd = function(s, r) {
|
|
|
6666
6704
|
};
|
|
6667
6705
|
}
|
|
6668
6706
|
}]), r;
|
|
6669
|
-
})(G),
|
|
6707
|
+
})(G), yd = {
|
|
6670
6708
|
LANG: "en",
|
|
6671
6709
|
TEXT: {
|
|
6672
6710
|
ERROR_TYPES: {
|
|
@@ -6761,7 +6799,7 @@ function uu() {
|
|
|
6761
6799
|
ye.textKeys[a] = a;
|
|
6762
6800
|
});
|
|
6763
6801
|
}
|
|
6764
|
-
function
|
|
6802
|
+
function _d(a, s) {
|
|
6765
6803
|
var r = [];
|
|
6766
6804
|
if (s || (s = ye), !!s.lang) {
|
|
6767
6805
|
h.typeOf(a) !== "Array" ? r = Object.keys(a).map(function(i) {
|
|
@@ -6784,7 +6822,7 @@ function ba(a, s) {
|
|
|
6784
6822
|
r === "zh" && (r = "zh-cn"), s.lang[r] ? Ot(s.lang[r], t) : (s.langKeys.push(r), s.lang[r] = t), uu();
|
|
6785
6823
|
}
|
|
6786
6824
|
}
|
|
6787
|
-
function
|
|
6825
|
+
function bd(a) {
|
|
6788
6826
|
var s, r = {
|
|
6789
6827
|
lang: {},
|
|
6790
6828
|
langKeys: [],
|
|
@@ -6793,7 +6831,7 @@ function yd(a) {
|
|
|
6793
6831
|
};
|
|
6794
6832
|
return Ot(r.lang, ye.lang), (s = r.langKeys).push.apply(s, xe(ye.langKeys)), Ot(r.textKeys, ye.textKeys), r;
|
|
6795
6833
|
}
|
|
6796
|
-
ba(
|
|
6834
|
+
ba(yd);
|
|
6797
6835
|
var yt = {
|
|
6798
6836
|
get textKeys() {
|
|
6799
6837
|
return ye.textKeys;
|
|
@@ -6807,9 +6845,9 @@ var yt = {
|
|
|
6807
6845
|
a[s] = ye.lang[s];
|
|
6808
6846
|
}), ye.lang["zh-cn"] && (a.zh = ye.lang["zh-cn"] || {}), a;
|
|
6809
6847
|
},
|
|
6810
|
-
extend:
|
|
6848
|
+
extend: _d,
|
|
6811
6849
|
use: ba,
|
|
6812
|
-
init:
|
|
6850
|
+
init: bd
|
|
6813
6851
|
}, q = {
|
|
6814
6852
|
INITIAL: 1,
|
|
6815
6853
|
READY: 2,
|
|
@@ -6905,7 +6943,7 @@ var yt = {
|
|
|
6905
6943
|
}
|
|
6906
6944
|
}]), r;
|
|
6907
6945
|
})(Ul.EventEmitter);
|
|
6908
|
-
function
|
|
6946
|
+
function Cd(a) {
|
|
6909
6947
|
for (var s = Object.keys(he), r = 0; r < s.length; r++) {
|
|
6910
6948
|
var t = he[s[r]];
|
|
6911
6949
|
if (t.root === a)
|
|
@@ -6913,7 +6951,7 @@ function _d(a) {
|
|
|
6913
6951
|
}
|
|
6914
6952
|
return null;
|
|
6915
6953
|
}
|
|
6916
|
-
var
|
|
6954
|
+
var kd = ["play", "pause", "replay", "retry"], el = 0, tl = 0, qe = null, Ii = /* @__PURE__ */ (function(a) {
|
|
6917
6955
|
L(r, a);
|
|
6918
6956
|
var s = D(r);
|
|
6919
6957
|
function r(t) {
|
|
@@ -6923,7 +6961,7 @@ var bd = ["play", "pause", "replay", "retry"], el = 0, tl = 0, qe = null, Ii = /
|
|
|
6923
6961
|
n = s.call(this, o), _(y(n), "canPlayFunc", function() {
|
|
6924
6962
|
if (n.config) {
|
|
6925
6963
|
var p = n.config, k = p.autoplay, b = p.defaultPlaybackRate;
|
|
6926
|
-
V.logInfo("player", "canPlayFunc, startTime", n.__startTime), n._seekToStartTime(), n.playbackRate = b, (k || n._useAutoplay) && n.mediaPlay(), n.off(
|
|
6964
|
+
V.logInfo("player", "canPlayFunc, startTime", n.__startTime), n._seekToStartTime(), n.playbackRate = b, (k || n._useAutoplay) && n.mediaPlay(), n.off(Ne, n.canPlayFunc), n.removeClass(w.ENTER);
|
|
6927
6965
|
}
|
|
6928
6966
|
}), _(y(n), "onFullscreenChange", function(p, k) {
|
|
6929
6967
|
var b = function() {
|
|
@@ -6943,9 +6981,9 @@ var bd = ["play", "pause", "replay", "retry"], el = 0, tl = 0, qe = null, Ii = /
|
|
|
6943
6981
|
to: !1
|
|
6944
6982
|
}]
|
|
6945
6983
|
});
|
|
6946
|
-
var R =
|
|
6984
|
+
var R = Vh(C, n.playerId, Ke);
|
|
6947
6985
|
if (k || C && (C === n._fullscreenEl || R))
|
|
6948
|
-
b(), !n.config.closeFocusVideoFocus && n.media.focus(), n.fullscreen = !0, n.changeFullStyle(n.root, C, w.FULLSCREEN), n.emit(
|
|
6986
|
+
b(), !n.config.closeFocusVideoFocus && n.media.focus(), n.fullscreen = !0, n.changeFullStyle(n.root, C, w.FULLSCREEN), n.emit(Fe, !0, n._fullScreenOffset), n.cssfullscreen && n.exitCssFullscreen();
|
|
6949
6987
|
else if (n.fullscreen) {
|
|
6950
6988
|
b();
|
|
6951
6989
|
var T = y(n), I = T._fullScreenOffset, j = T.config;
|
|
@@ -6957,13 +6995,13 @@ var bd = ["play", "pause", "replay", "retry"], el = 0, tl = 0, qe = null, Ii = /
|
|
|
6957
6995
|
var K = n._fullscreenEl;
|
|
6958
6996
|
!K && (n.root.contains(p.target) || p.target === n.root) && (K = p.target), n.recoverFullStyle(n.root, K, w.FULLSCREEN);
|
|
6959
6997
|
}
|
|
6960
|
-
n._fullscreenEl = null, n.emit(
|
|
6998
|
+
n._fullscreenEl = null, n.emit(Fe, !1);
|
|
6961
6999
|
}
|
|
6962
7000
|
}), _(y(n), "_onWebkitbeginfullscreen", function(p) {
|
|
6963
7001
|
n._fullscreenEl = n.media, n.onFullscreenChange(p, !0);
|
|
6964
7002
|
}), _(y(n), "_onWebkitendfullscreen", function(p) {
|
|
6965
7003
|
n.onFullscreenChange(p, !1);
|
|
6966
|
-
}), ou(y(n),
|
|
7004
|
+
}), ou(y(n), kd), n.config = o, n._pluginInfoId = h.generateSessionId(), Nh(y(n));
|
|
6967
7005
|
var l = n.constructor.defaultPreset;
|
|
6968
7006
|
if (n.config.presets.length) {
|
|
6969
7007
|
var u = n.config.presets.indexOf("default");
|
|
@@ -6991,7 +7029,7 @@ var bd = ["play", "pause", "replay", "retry"], el = 0, tl = 0, qe = null, Ii = /
|
|
|
6991
7029
|
}, n._offsetInfo = {
|
|
6992
7030
|
currentTime: -1,
|
|
6993
7031
|
duration: 0
|
|
6994
|
-
}, n.innerContainer = null, n.controls = null, n.topBar = null, n.root = null, n.__i18n = yt.init(n._pluginInfoId), U.os.isAndroid && U.osVersion > 0 && U.osVersion < 6 && (n.config.autoplay = !1), n.database = new
|
|
7032
|
+
}, n.innerContainer = null, n.controls = null, n.topBar = null, n.root = null, n.__i18n = yt.init(n._pluginInfoId), U.os.isAndroid && U.osVersion > 0 && U.osVersion < 6 && (n.config.autoplay = !1), n.database = new rd(), n.isUserActive = !1, n._onceSeekCanplay = null, n._isPauseBeforeSeek = 0, n.innerStates = {
|
|
6995
7033
|
isActiveLocked: !1
|
|
6996
7034
|
}, n.instManager = qe;
|
|
6997
7035
|
var c = n._initDOM();
|
|
@@ -7023,9 +7061,9 @@ var bd = ["play", "pause", "replay", "retry"], el = 0, tl = 0, qe = null, Ii = /
|
|
|
7023
7061
|
msg: "container id can't be empty"
|
|
7024
7062
|
})), console.error("this.confg.id or this.config.el can't be empty"), !1;
|
|
7025
7063
|
}
|
|
7026
|
-
var o =
|
|
7064
|
+
var o = Cd(this.root);
|
|
7027
7065
|
if (o && (V.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), o.destroy()), this.root.setAttribute(Ke, this.playerId), this.media.setAttribute(Ke, this.playerId), (e = qe) === null || e === void 0 || e.add(this), oe.init(this), this._initBaseDoms(), this.config.controls) {
|
|
7028
|
-
var l = this.config.controls.root || null, u = oe.register(this,
|
|
7066
|
+
var l = this.config.controls.root || null, u = oe.register(this, md, {
|
|
7029
7067
|
root: l
|
|
7030
7068
|
});
|
|
7031
7069
|
this.controls = u;
|
|
@@ -7065,9 +7103,9 @@ var bd = ["play", "pause", "replay", "retry"], el = 0, tl = 0, qe = null, Ii = /
|
|
|
7065
7103
|
e.on(i, e["on" + i.charAt(0).toUpperCase() + i.slice(1)]);
|
|
7066
7104
|
}), zo.forEach(function(i) {
|
|
7067
7105
|
document && document.addEventListener(i, e.onFullscreenChange);
|
|
7068
|
-
}), U.os.isIos && (this.media.addEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.addEventListener("webkitendfullscreen", this._onWebkitendfullscreen)), this.once(
|
|
7106
|
+
}), U.os.isIos && (this.media.addEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.addEventListener("webkitendfullscreen", this._onWebkitendfullscreen)), this.once(He, this.resize), this.playFunc = function() {
|
|
7069
7107
|
e.config.closeFocusVideoFocus || e.media.focus();
|
|
7070
|
-
}, this.once(
|
|
7108
|
+
}, this.once(Ce, this.playFunc);
|
|
7071
7109
|
}
|
|
7072
7110
|
}, {
|
|
7073
7111
|
key: "_unbindEvents",
|
|
@@ -7075,7 +7113,7 @@ var bd = ["play", "pause", "replay", "retry"], el = 0, tl = 0, qe = null, Ii = /
|
|
|
7075
7113
|
var e = this;
|
|
7076
7114
|
this.root.removeEventListener("mousemove", this.mousemoveFunc), zo.forEach(function(i) {
|
|
7077
7115
|
document.removeEventListener(i, e.onFullscreenChange);
|
|
7078
|
-
}), this.playFunc && this.off(
|
|
7116
|
+
}), this.playFunc && this.off(Ce, this.playFunc), this.off(Ne, this.canPlayFunc), this.media.removeEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.removeEventListener("webkitendfullscreen", this._onWebkitendfullscreen);
|
|
7079
7117
|
}
|
|
7080
7118
|
}, {
|
|
7081
7119
|
key: "_clearUserTimer",
|
|
@@ -7093,7 +7131,7 @@ var bd = ["play", "pause", "replay", "retry"], el = 0, tl = 0, qe = null, Ii = /
|
|
|
7093
7131
|
var l = this.media.readyState;
|
|
7094
7132
|
V.logInfo("_startInit readyState", l), this.config.autoplay && (!h.isMSE(this.media) && this.load(), (U.os.isIpad || U.os.isPhone) && this.mediaPlay());
|
|
7095
7133
|
var u = this.config.startTime;
|
|
7096
|
-
this.__startTime = u > 0 ? u : -1, this.config.startTime = 0, l >= 2 && this.duration > 0 ? this.canPlayFunc() : this.on(
|
|
7134
|
+
this.__startTime = u > 0 ? u : -1, this.config.startTime = 0, l >= 2 && this.duration > 0 ? this.canPlayFunc() : this.on(Ne, this.canPlayFunc), (!this.hasStart || this.state < q.ATTACHED) && oe.afterInit(this), this.hasStart = !0, this.setState(q.ATTACHED), h.setTimeout(this, function() {
|
|
7097
7135
|
i.emit(Si);
|
|
7098
7136
|
}, 0);
|
|
7099
7137
|
}
|
|
@@ -7133,7 +7171,7 @@ var bd = ["play", "pause", "replay", "retry"], el = 0, tl = 0, qe = null, Ii = /
|
|
|
7133
7171
|
value: function() {
|
|
7134
7172
|
var e = this;
|
|
7135
7173
|
this.config.presets.forEach(function(i) {
|
|
7136
|
-
|
|
7174
|
+
pd(e, i);
|
|
7137
7175
|
});
|
|
7138
7176
|
}
|
|
7139
7177
|
}, {
|
|
@@ -7315,7 +7353,7 @@ var bd = ["play", "pause", "replay", "retry"], el = 0, tl = 0, qe = null, Ii = /
|
|
|
7315
7353
|
key: "play",
|
|
7316
7354
|
value: function() {
|
|
7317
7355
|
var e = this;
|
|
7318
|
-
return this.removeClass(w.PAUSED),
|
|
7356
|
+
return this.removeClass(w.PAUSED), Se(this, "play", function() {
|
|
7319
7357
|
return e.mediaPlay();
|
|
7320
7358
|
});
|
|
7321
7359
|
}
|
|
@@ -7323,7 +7361,7 @@ var bd = ["play", "pause", "replay", "retry"], el = 0, tl = 0, qe = null, Ii = /
|
|
|
7323
7361
|
key: "pause",
|
|
7324
7362
|
value: function() {
|
|
7325
7363
|
var e = this;
|
|
7326
|
-
|
|
7364
|
+
Se(this, "pause", function() {
|
|
7327
7365
|
N(O(r.prototype), "pause", e).call(e);
|
|
7328
7366
|
});
|
|
7329
7367
|
}
|
|
@@ -7333,7 +7371,7 @@ var bd = ["play", "pause", "replay", "retry"], el = 0, tl = 0, qe = null, Ii = /
|
|
|
7333
7371
|
var n = this;
|
|
7334
7372
|
if (!(!this.media || Number.isNaN(Number(e)) || !this.hasStart)) {
|
|
7335
7373
|
var o = this.config, l = o.isSeekedPlay, u = o.seekedStatus, c = i || (l ? "play" : u);
|
|
7336
|
-
e = e < 0 ? 0 : e > this.duration ? parseInt(this.duration, 10) : e, !this._isPauseBeforeSeek && (this._isPauseBeforeSeek = this.paused ? 2 : 1), this._onceSeekCanplay && this.off(
|
|
7374
|
+
e = e < 0 ? 0 : e > this.duration ? parseInt(this.duration, 10) : e, !this._isPauseBeforeSeek && (this._isPauseBeforeSeek = this.paused ? 2 : 1), this._onceSeekCanplay && this.off(Be, this._onceSeekCanplay), this._onceSeekCanplay = function() {
|
|
7337
7375
|
switch (n.removeClass(w.ENTER), n.isSeeking = !1, c) {
|
|
7338
7376
|
case "play":
|
|
7339
7377
|
n.play();
|
|
@@ -7345,7 +7383,7 @@ var bd = ["play", "pause", "replay", "retry"], el = 0, tl = 0, qe = null, Ii = /
|
|
|
7345
7383
|
n._isPauseBeforeSeek > 1 || n.paused ? n.pause() : n.play();
|
|
7346
7384
|
}
|
|
7347
7385
|
n._isPauseBeforeSeek = 0, n._onceSeekCanplay = null;
|
|
7348
|
-
}, this.once(
|
|
7386
|
+
}, this.once(Be, this._onceSeekCanplay), this.state < q.RUNNING ? (this.removeClass(w.NO_START), this.currentTime = e, this.play()) : this.currentTime = e;
|
|
7349
7387
|
}
|
|
7350
7388
|
}
|
|
7351
7389
|
}, {
|
|
@@ -7387,7 +7425,7 @@ var bd = ["play", "pause", "replay", "retry"], el = 0, tl = 0, qe = null, Ii = /
|
|
|
7387
7425
|
value: function() {
|
|
7388
7426
|
this.load(), this.reloadFunc = function() {
|
|
7389
7427
|
this.play();
|
|
7390
|
-
}, this.once(
|
|
7428
|
+
}, this.once(He, this.reloadFunc);
|
|
7391
7429
|
}
|
|
7392
7430
|
}, {
|
|
7393
7431
|
key: "resetState",
|
|
@@ -7435,8 +7473,8 @@ var bd = ["play", "pause", "replay", "retry"], el = 0, tl = 0, qe = null, Ii = /
|
|
|
7435
7473
|
key: "replay",
|
|
7436
7474
|
value: function() {
|
|
7437
7475
|
var e = this;
|
|
7438
|
-
this.removeClass(w.ENDED), this.currentTime = 0, this.isSeeking = !1,
|
|
7439
|
-
e.once(
|
|
7476
|
+
this.removeClass(w.ENDED), this.currentTime = 0, this.isSeeking = !1, Se(this, "replay", function() {
|
|
7477
|
+
e.once(Be, function() {
|
|
7440
7478
|
var i = e.mediaPlay();
|
|
7441
7479
|
i && i.catch && i.catch(function(n) {
|
|
7442
7480
|
console.log(n);
|
|
@@ -7448,11 +7486,11 @@ var bd = ["play", "pause", "replay", "retry"], el = 0, tl = 0, qe = null, Ii = /
|
|
|
7448
7486
|
key: "retry",
|
|
7449
7487
|
value: function() {
|
|
7450
7488
|
var e = this;
|
|
7451
|
-
this.removeClass(w.ERROR), this.addClass(w.LOADING),
|
|
7489
|
+
this.removeClass(w.ERROR), this.addClass(w.LOADING), Se(this, "retry", function() {
|
|
7452
7490
|
var i = e.currentTime, n = e.config.url, o = h.isMSE(e.media) ? {
|
|
7453
7491
|
url: n
|
|
7454
7492
|
} : e.preProcessUrl(n);
|
|
7455
|
-
e.src = o.url, !e.config.isLive && (e.currentTime = i), e.once(
|
|
7493
|
+
e.src = o.url, !e.config.isLive && (e.currentTime = i), e.once(Ne, function() {
|
|
7456
7494
|
e.mediaPlay();
|
|
7457
7495
|
});
|
|
7458
7496
|
});
|
|
@@ -7526,7 +7564,7 @@ var bd = ["play", "pause", "replay", "retry"], el = 0, tl = 0, qe = null, Ii = /
|
|
|
7526
7564
|
var i = e ? "".concat(w.INNER_FULLSCREEN, " ").concat(w.CSS_FULLSCREEN) : w.CSS_FULLSCREEN;
|
|
7527
7565
|
this.changeFullStyle(this.root, e, i);
|
|
7528
7566
|
var n = this.config.fullscreen, o = n === void 0 ? {} : n, l = o.useCssFullscreen === !0 || typeof o.useCssFullscreen == "function" && o.useCssFullscreen();
|
|
7529
|
-
l && (this.fullscreen = !0, this.emit(
|
|
7567
|
+
l && (this.fullscreen = !0, this.emit(Fe, !0)), this._cssfullscreenEl = e, this.cssfullscreen = !0, this.emit(si, !0);
|
|
7530
7568
|
}
|
|
7531
7569
|
}, {
|
|
7532
7570
|
key: "exitCssFullscreen",
|
|
@@ -7536,7 +7574,7 @@ var bd = ["play", "pause", "replay", "retry"], el = 0, tl = 0, qe = null, Ii = /
|
|
|
7536
7574
|
this.recoverFullStyle(this.root, this._cssfullscreenEl, e);
|
|
7537
7575
|
else {
|
|
7538
7576
|
var i = this.config.fullscreen, n = i === void 0 ? {} : i, o = n.useCssFullscreen === !0 || typeof n.useCssFullscreen == "function" && n.useCssFullscreen();
|
|
7539
|
-
o ? (this.recoverFullStyle(this.root, this._cssfullscreenEl, e), this.fullscreen = !1, this.emit(
|
|
7577
|
+
o ? (this.recoverFullStyle(this.root, this._cssfullscreenEl, e), this.fullscreen = !1, this.emit(Fe, !1)) : this.removeClass(e);
|
|
7540
7578
|
}
|
|
7541
7579
|
this._cssfullscreenEl = null, this.cssfullscreen = !1, this.emit(si, !1);
|
|
7542
7580
|
}
|
|
@@ -7548,13 +7586,13 @@ var bd = ["play", "pause", "replay", "retry"], el = 0, tl = 0, qe = null, Ii = /
|
|
|
7548
7586
|
var i = e ? "".concat(w.INNER_FULLSCREEN, " ").concat(w.ROTATE_FULLSCREEN) : w.ROTATE_FULLSCREEN;
|
|
7549
7587
|
this._fullscreenEl = e || this.root, this.changeFullStyle(this.root, e, i, w.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !0, this.fullscreen = !0, this.setRotateDeg(90), this._rootStyle = this.root.getAttribute("style");
|
|
7550
7588
|
var n = Math.abs(window.orientation) === 90 || Math.abs(screen.orientation.angle) === 90;
|
|
7551
|
-
this.root.style.width = n ? "".concat(window.innerWidth, "px") : "".concat(window.innerHeight, "px"), this.emit(
|
|
7589
|
+
this.root.style.width = n ? "".concat(window.innerWidth, "px") : "".concat(window.innerHeight, "px"), this.emit(Fe, !0);
|
|
7552
7590
|
}
|
|
7553
7591
|
}, {
|
|
7554
7592
|
key: "exitRotateFullscreen",
|
|
7555
7593
|
value: function(e) {
|
|
7556
7594
|
var i = this._fullscreenEl !== this.root ? "".concat(w.INNER_FULLSCREEN, " ").concat(w.ROTATE_FULLSCREEN) : w.ROTATE_FULLSCREEN;
|
|
7557
|
-
this.recoverFullStyle(this.root, this._fullscreenEl, i, w.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !1, this.fullscreen = !1, this.setRotateDeg(0), this.emit(
|
|
7595
|
+
this.recoverFullStyle(this.root, this._fullscreenEl, i, w.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !1, this.fullscreen = !1, this.setRotateDeg(0), this.emit(Fe, !1), this._rootStyle && (this.root.style.style = this._rootStyle, this._rootStyle = !1);
|
|
7558
7596
|
}
|
|
7559
7597
|
}, {
|
|
7560
7598
|
key: "setRotateDeg",
|
|
@@ -7795,7 +7833,7 @@ var bd = ["play", "pause", "replay", "retry"], el = 0, tl = 0, qe = null, Ii = /
|
|
|
7795
7833
|
key: "playNext",
|
|
7796
7834
|
value: function(e) {
|
|
7797
7835
|
var i = this;
|
|
7798
|
-
this.resetState(), this.setConfig(e), this._currentTime = 0, this._duration = 0,
|
|
7836
|
+
this.resetState(), this.setConfig(e), this._currentTime = 0, this._duration = 0, Se(this, "playnext", function() {
|
|
7799
7837
|
i.start(), i.emit(li, e);
|
|
7800
7838
|
});
|
|
7801
7839
|
}
|
|
@@ -8047,7 +8085,7 @@ var bd = ["play", "pause", "replay", "retry"], el = 0, tl = 0, qe = null, Ii = /
|
|
|
8047
8085
|
value: function() {
|
|
8048
8086
|
for (var e = arguments.length, i = new Array(e), n = 0; n < e; n++)
|
|
8049
8087
|
i[n] = arguments[n];
|
|
8050
|
-
return
|
|
8088
|
+
return Se.call.apply(Se, [this].concat(Array.prototype.slice.call(arguments)));
|
|
8051
8089
|
}
|
|
8052
8090
|
}, {
|
|
8053
8091
|
key: "useHooks",
|
|
@@ -8128,7 +8166,7 @@ var bd = ["play", "pause", "replay", "retry"], el = 0, tl = 0, qe = null, Ii = /
|
|
|
8128
8166
|
r.plugins || (r.plugins = {}), r.plugins[e] = i;
|
|
8129
8167
|
}
|
|
8130
8168
|
}]), r;
|
|
8131
|
-
})(
|
|
8169
|
+
})(nd);
|
|
8132
8170
|
_(Ii, "defaultPreset", null);
|
|
8133
8171
|
_(Ii, "XgVideoProxy", null);
|
|
8134
8172
|
Ii.instManager = cu.getInstance();
|
|
@@ -8171,13 +8209,13 @@ var ot = /* @__PURE__ */ (function(a) {
|
|
|
8171
8209
|
}
|
|
8172
8210
|
}]), r;
|
|
8173
8211
|
})(G);
|
|
8174
|
-
function
|
|
8212
|
+
function wd() {
|
|
8175
8213
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
|
|
8176
8214
|
<path fill="#fff" transform="scale(1.3, 1.3)" class='path_full' d="M9,10v1a.9.9,0,0,1-1,1,.9.9,0,0,1-1-1V9A.9.9,0,0,1,8,8h2a.9.9,0,0,1,1,1,.9.9,0,0,1-1,1Zm6,4V13a1,1,0,0,1,2,0v2a.9.9,0,0,1-1,1H14a1,1,0,0,1,0-2Zm3-7H6V17H18Zm2,0V17a2,2,0,0,1-2,2H6a2,2,0,0,1-2-2V7A2,2,0,0,1,6,5H18A2,2,0,0,1,20,7Z"></path>
|
|
8177
8215
|
</svg>
|
|
8178
8216
|
`, "image/svg+xml").firstChild;
|
|
8179
8217
|
}
|
|
8180
|
-
function
|
|
8218
|
+
function Td() {
|
|
8181
8219
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
|
|
8182
8220
|
<path fill="#fff" transform="scale(1.3, 1.3)" d="M9,10V9a.9.9,0,0,1,1-1,.9.9,0,0,1,1,1v2a.9.9,0,0,1-1,1H8a.9.9,0,0,1-1-1,.9.9,0,0,1,1-1Zm6,4v1a1,1,0,0,1-2,0V13a.9.9,0,0,1,1-1h2a1,1,0,0,1,0,2Zm3-7H6V17H18Zm2,0V17a2,2,0,0,1-2,2H6a2,2,0,0,1-2-2V7A2,2,0,0,1,6,5H18A2,2,0,0,1,20,7Z"></path>
|
|
8183
8221
|
</svg>
|
|
@@ -8237,11 +8275,11 @@ var Qr = /* @__PURE__ */ (function(a) {
|
|
|
8237
8275
|
value: function() {
|
|
8238
8276
|
return {
|
|
8239
8277
|
cssFullscreen: {
|
|
8240
|
-
icon:
|
|
8278
|
+
icon: wd,
|
|
8241
8279
|
class: "xg-get-cssfull"
|
|
8242
8280
|
},
|
|
8243
8281
|
exitCssFullscreen: {
|
|
8244
|
-
icon:
|
|
8282
|
+
icon: Td,
|
|
8245
8283
|
class: "xg-exit-cssfull"
|
|
8246
8284
|
}
|
|
8247
8285
|
};
|
|
@@ -8278,14 +8316,14 @@ var Qr = /* @__PURE__ */ (function(a) {
|
|
|
8278
8316
|
}
|
|
8279
8317
|
}]), r;
|
|
8280
8318
|
})(ot);
|
|
8281
|
-
function
|
|
8319
|
+
function Sd() {
|
|
8282
8320
|
return new DOMParser().parseFromString(`<svg width="32px" height="40px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
8283
8321
|
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
8284
8322
|
<path d="M11.2374369,14 L17.6187184,7.61871843 C17.9604272,7.27700968 17.9604272,6.72299032 17.6187184,6.38128157 C17.2770097,6.03957281 16.7229903,6.03957281 16.3812816,6.38128157 L9.38128157,13.3812816 C9.03957281,13.7229903 9.03957281,14.2770097 9.38128157,14.6187184 L16.3812816,21.6187184 C16.7229903,21.9604272 17.2770097,21.9604272 17.6187184,21.6187184 C17.9604272,21.2770097 17.9604272,20.7229903 17.6187184,20.3812816 L11.2374369,14 L11.2374369,14 Z" fill="#FFFFFF"></path>
|
|
8285
8323
|
</g>
|
|
8286
8324
|
</svg>`, "image/svg+xml").firstChild;
|
|
8287
8325
|
}
|
|
8288
|
-
var
|
|
8326
|
+
var Ed = /* @__PURE__ */ (function(a) {
|
|
8289
8327
|
L(r, a);
|
|
8290
8328
|
var s = D(r);
|
|
8291
8329
|
function r() {
|
|
@@ -8304,7 +8342,7 @@ var Td = /* @__PURE__ */ (function(a) {
|
|
|
8304
8342
|
value: function() {
|
|
8305
8343
|
return {
|
|
8306
8344
|
screenBack: {
|
|
8307
|
-
icon:
|
|
8345
|
+
icon: Sd,
|
|
8308
8346
|
class: "xg-fullscreen-back"
|
|
8309
8347
|
}
|
|
8310
8348
|
};
|
|
@@ -8346,13 +8384,13 @@ var Td = /* @__PURE__ */ (function(a) {
|
|
|
8346
8384
|
}
|
|
8347
8385
|
}]), r;
|
|
8348
8386
|
})(G);
|
|
8349
|
-
function
|
|
8387
|
+
function xd() {
|
|
8350
8388
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
|
|
8351
8389
|
<path fill="#fff" transform="scale(0.0320625 0.0320625)" d="M598 214h212v212h-84v-128h-128v-84zM726 726v-128h84v212h-212v-84h128zM214 426v-212h212v84h-128v128h-84zM298 598v128h128v84h-212v-212h84z"></path>
|
|
8352
8390
|
</svg>
|
|
8353
8391
|
`, "image/svg+xml").firstChild;
|
|
8354
8392
|
}
|
|
8355
|
-
function
|
|
8393
|
+
function Id() {
|
|
8356
8394
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
|
|
8357
8395
|
<path fill="#fff" transform="scale(0.0320625 0.0320625)" d="M682 342h128v84h-212v-212h84v128zM598 810v-212h212v84h-128v128h-84zM342 342v-128h84v212h-212v-84h128zM214 682v-84h212v212h-84v-128h-128z"></path>
|
|
8358
8396
|
</svg>
|
|
@@ -8389,11 +8427,11 @@ var fu = /* @__PURE__ */ (function(a) {
|
|
|
8389
8427
|
to: !c
|
|
8390
8428
|
});
|
|
8391
8429
|
}
|
|
8392
|
-
}), this.bind(".xgplayer-fullscreen", ["touchend", "click"], this.handleFullscreen), this.on(
|
|
8430
|
+
}), this.bind(".xgplayer-fullscreen", ["touchend", "click"], this.handleFullscreen), this.on(Fe, function(l) {
|
|
8393
8431
|
var u = e.find(".xg-tips");
|
|
8394
8432
|
u && e.changeLangTextKey(u, l ? e.i18nKeys.EXITFULLSCREEN_TIPS : e.i18nKeys.FULLSCREEN_TIPS), e.animate(l);
|
|
8395
8433
|
}), this.config.needBackIcon && (this.topBackIcon = this.player.registerPlugin({
|
|
8396
|
-
plugin:
|
|
8434
|
+
plugin: Ed,
|
|
8397
8435
|
options: {
|
|
8398
8436
|
config: {
|
|
8399
8437
|
onClick: function(u) {
|
|
@@ -8409,11 +8447,11 @@ var fu = /* @__PURE__ */ (function(a) {
|
|
|
8409
8447
|
value: function() {
|
|
8410
8448
|
return {
|
|
8411
8449
|
fullscreen: {
|
|
8412
|
-
icon:
|
|
8450
|
+
icon: xd,
|
|
8413
8451
|
class: "xg-get-fullscreen"
|
|
8414
8452
|
},
|
|
8415
8453
|
exitFullscreen: {
|
|
8416
|
-
icon:
|
|
8454
|
+
icon: Id,
|
|
8417
8455
|
class: "xg-exit-fullscreen"
|
|
8418
8456
|
}
|
|
8419
8457
|
};
|
|
@@ -8536,7 +8574,7 @@ var hu = /* @__PURE__ */ (function(a) {
|
|
|
8536
8574
|
key: "listenEvents",
|
|
8537
8575
|
value: function() {
|
|
8538
8576
|
var e = this, i = this.player;
|
|
8539
|
-
this.on([
|
|
8577
|
+
this.on([Ce, _t, Nt, st], function() {
|
|
8540
8578
|
e.animate(i.paused);
|
|
8541
8579
|
});
|
|
8542
8580
|
}
|
|
@@ -8598,7 +8636,7 @@ var hu = /* @__PURE__ */ (function(a) {
|
|
|
8598
8636
|
};
|
|
8599
8637
|
}
|
|
8600
8638
|
}]), r;
|
|
8601
|
-
})(ot),
|
|
8639
|
+
})(ot), Pd = [{
|
|
8602
8640
|
tag: "xg-cache",
|
|
8603
8641
|
className: "xgplayer-progress-cache",
|
|
8604
8642
|
styleKey: "cachedColor"
|
|
@@ -8606,7 +8644,7 @@ var hu = /* @__PURE__ */ (function(a) {
|
|
|
8606
8644
|
tag: "xg-played",
|
|
8607
8645
|
className: "xgplayer-progress-played",
|
|
8608
8646
|
styleKey: "playedColor"
|
|
8609
|
-
}],
|
|
8647
|
+
}], Ad = /* @__PURE__ */ (function() {
|
|
8610
8648
|
function a(s) {
|
|
8611
8649
|
P(this, a), this.fragments = s.fragments || [], this.fragments.length === 0 && this.fragments.push({
|
|
8612
8650
|
percent: 1
|
|
@@ -8793,7 +8831,7 @@ var hu = /* @__PURE__ */ (function(a) {
|
|
|
8793
8831
|
var l = h.createDom("xg-inner", "", {
|
|
8794
8832
|
style: t ? "background:".concat(t, "; flex: ").concat(o.percent) : "flex: ".concat(o.percent)
|
|
8795
8833
|
}, "".concat(o.isFocus ? n : "", " xgplayer-progress-inner ").concat(i));
|
|
8796
|
-
return r.root.appendChild(l),
|
|
8834
|
+
return r.root.appendChild(l), Pd.forEach(function(u) {
|
|
8797
8835
|
l.appendChild(h.createDom(u.tag, "", {
|
|
8798
8836
|
style: u.styleKey ? "background: ".concat(r.style[u.styleKey], "; width:0;") : "width:0;"
|
|
8799
8837
|
}, u.className));
|
|
@@ -8941,7 +8979,7 @@ var hu = /* @__PURE__ */ (function(a) {
|
|
|
8941
8979
|
e.emitUserAction("fragment_focus", "fragment_focus", u);
|
|
8942
8980
|
}
|
|
8943
8981
|
});
|
|
8944
|
-
this.innerList ? this.innerList.reset(o) : (this.innerList = new
|
|
8982
|
+
this.innerList ? this.innerList.reset(o) : (this.innerList = new Ad(o), this.outer.insertBefore(this.innerList.render(), this.outer.children[0]), ["findHightLight", "unHightLight", "setHightLight", "findFragment"].map(function(l) {
|
|
8945
8983
|
e[l] = e.innerList[l].bind(e.innerList);
|
|
8946
8984
|
}));
|
|
8947
8985
|
}
|
|
@@ -8979,7 +9017,7 @@ var hu = /* @__PURE__ */ (function(a) {
|
|
|
8979
9017
|
e.onMouseLeave();
|
|
8980
9018
|
}), this.on(_e, function() {
|
|
8981
9019
|
e.onTimeupdate();
|
|
8982
|
-
}), this.on(
|
|
9020
|
+
}), this.on(Be, function() {
|
|
8983
9021
|
e.onTimeupdate(), e.onCacheUpdate();
|
|
8984
9022
|
}), this.on(Wl, function() {
|
|
8985
9023
|
e.onCacheUpdate();
|
|
@@ -9261,7 +9299,7 @@ var hu = /* @__PURE__ */ (function(a) {
|
|
|
9261
9299
|
key: "listenEvents",
|
|
9262
9300
|
value: function() {
|
|
9263
9301
|
var e = this;
|
|
9264
|
-
this.on([Ue,
|
|
9302
|
+
this.on([Ue, Be, _e], function(i) {
|
|
9265
9303
|
i.eventName === "durationchange" && (e.isActiving = !1), e.onTimeUpdate();
|
|
9266
9304
|
}), this.on(at, function() {
|
|
9267
9305
|
e.onTimeUpdate(!0);
|
|
@@ -9349,7 +9387,7 @@ var hu = /* @__PURE__ */ (function(a) {
|
|
|
9349
9387
|
var e = this, i = this.player, n = function() {
|
|
9350
9388
|
e.isActiving = !1;
|
|
9351
9389
|
};
|
|
9352
|
-
this.off(
|
|
9390
|
+
this.off(Be, n), i.isSeeking && i.media.seeking ? this.once(Be, n) : this.isActiving = !1;
|
|
9353
9391
|
}
|
|
9354
9392
|
}, {
|
|
9355
9393
|
key: "destroy",
|
|
@@ -9384,21 +9422,21 @@ var hu = /* @__PURE__ */ (function(a) {
|
|
|
9384
9422
|
}
|
|
9385
9423
|
}]), r;
|
|
9386
9424
|
})(G);
|
|
9387
|
-
function
|
|
9425
|
+
function Rd() {
|
|
9388
9426
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
9389
9427
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
9390
9428
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M940.632 837.632l-72.192-72.192c65.114-64.745 105.412-154.386 105.412-253.44s-40.299-188.695-105.396-253.424l-0.016-0.016 72.192-72.192c83.639 83.197 135.401 198.37 135.401 325.632s-51.762 242.434-135.381 325.612l-0.020 0.020zM795.648 693.248l-72.704-72.704c27.756-27.789 44.921-66.162 44.921-108.544s-17.165-80.755-44.922-108.546l0.002 0.002 72.704-72.704c46.713 46.235 75.639 110.363 75.639 181.248s-28.926 135.013-75.617 181.227l-0.021 0.021z"></path>
|
|
9391
9429
|
</svg>
|
|
9392
9430
|
`, "image/svg+xml").firstChild;
|
|
9393
9431
|
}
|
|
9394
|
-
function
|
|
9432
|
+
function Ld() {
|
|
9395
9433
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
9396
9434
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
9397
9435
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M795.648 693.248l-72.704-72.704c27.756-27.789 44.921-66.162 44.921-108.544s-17.165-80.755-44.922-108.546l0.002 0.002 72.704-72.704c46.713 46.235 75.639 110.363 75.639 181.248s-28.926 135.013-75.617 181.227l-0.021 0.021zM795.648 693.248l-72.704-72.704c27.756-27.789 44.921-66.162 44.921-108.544s-17.165-80.755-44.922-108.546l0.002 0.002 72.704-72.704c46.713 46.235 75.639 110.363 75.639 181.248s-28.926 135.013-75.617 181.227l-0.021 0.021z"></path>
|
|
9398
9436
|
</svg>
|
|
9399
9437
|
`, "image/svg+xml").firstChild;
|
|
9400
9438
|
}
|
|
9401
|
-
function
|
|
9439
|
+
function Dd() {
|
|
9402
9440
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
9403
9441
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
9404
9442
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M920.4 439.808l-108.544-109.056-72.704 72.704 109.568 108.544-109.056 108.544 72.704 72.704 108.032-109.568 108.544 109.056 72.704-72.704-109.568-108.032 109.056-108.544-72.704-72.704-108.032 109.568z"></path>
|
|
@@ -9453,15 +9491,15 @@ var vu = /* @__PURE__ */ (function(a) {
|
|
|
9453
9491
|
value: function() {
|
|
9454
9492
|
return {
|
|
9455
9493
|
volumeSmall: {
|
|
9456
|
-
icon:
|
|
9494
|
+
icon: Ld,
|
|
9457
9495
|
class: "xg-volume-small"
|
|
9458
9496
|
},
|
|
9459
9497
|
volumeLarge: {
|
|
9460
|
-
icon:
|
|
9498
|
+
icon: Rd,
|
|
9461
9499
|
class: "xg-volume"
|
|
9462
9500
|
},
|
|
9463
9501
|
volumeMuted: {
|
|
9464
|
-
icon:
|
|
9502
|
+
icon: Dd,
|
|
9465
9503
|
class: "xg-volume-mute"
|
|
9466
9504
|
}
|
|
9467
9505
|
};
|
|
@@ -9483,7 +9521,7 @@ var vu = /* @__PURE__ */ (function(a) {
|
|
|
9483
9521
|
pre: function(u) {
|
|
9484
9522
|
u.preventDefault(), u.stopPropagation();
|
|
9485
9523
|
}
|
|
9486
|
-
}), this._onMouseenterHandler = this.hook("mouseenter", this.onMouseenter), this._onMouseleaveHandler = this.hook("mouseleave", this.onMouseleave), U.device !== "mobile" && this.playerConfig.isMobileSimulateMode !== "mobile" && (this.bind("mouseenter", this._onMouseenterHandler), this.bind(["blur", "mouseleave"], this._onMouseleaveHandler), this.bind(".xgplayer-slider", "mousedown", this.onBarMousedown), this.bind(".xgplayer-slider", "mousemove", this.onBarMouseMove), this.bind(".xgplayer-slider", "mouseup", this.onBarMouseUp)), this.bind(".xgplayer-icon", ["touchend", "click"], this.changeMutedHandler), this.on(Vl, this.onVolumeChange), this.once(
|
|
9524
|
+
}), this._onMouseenterHandler = this.hook("mouseenter", this.onMouseenter), this._onMouseleaveHandler = this.hook("mouseleave", this.onMouseleave), U.device !== "mobile" && this.playerConfig.isMobileSimulateMode !== "mobile" && (this.bind("mouseenter", this._onMouseenterHandler), this.bind(["blur", "mouseleave"], this._onMouseleaveHandler), this.bind(".xgplayer-slider", "mousedown", this.onBarMousedown), this.bind(".xgplayer-slider", "mousemove", this.onBarMouseMove), this.bind(".xgplayer-slider", "mouseup", this.onBarMouseUp)), this.bind(".xgplayer-icon", ["touchend", "click"], this.changeMutedHandler), this.on(Vl, this.onVolumeChange), this.once(He, this.onVolumeChange), h.typeOf(o) !== "Number" && (this.player.volume = this.config.default), this.onVolumeChange();
|
|
9487
9525
|
}
|
|
9488
9526
|
}
|
|
9489
9527
|
}, {
|
|
@@ -9611,7 +9649,7 @@ var We = {
|
|
|
9611
9649
|
WAIT_END: "waitingEnd",
|
|
9612
9650
|
SEEK_START: "seekStart",
|
|
9613
9651
|
SEEK_END: "seekEnd"
|
|
9614
|
-
},
|
|
9652
|
+
}, Od = /* @__PURE__ */ (function(a) {
|
|
9615
9653
|
L(r, a);
|
|
9616
9654
|
var s = D(r);
|
|
9617
9655
|
function r() {
|
|
@@ -9666,15 +9704,15 @@ var We = {
|
|
|
9666
9704
|
this._onReset(), this._waitType = "firstFrame", this._initOnceEvents(), this.newPointTime = ue(), this.loadedCostTime = 0, this.startCostTime = 0, this.on(ga, function() {
|
|
9667
9705
|
var i = e._state, n = i.autoplayStart, o = i.isFFSend;
|
|
9668
9706
|
e.startCostTime = ue() - e.newPointTime, V.logInfo("[xgLogger]".concat(e.player.playerId, " LOAD_START"), "autoplayStart:".concat(n, " isFFSend:").concat(o, " startCostTime:").concat(e.startCostTime, " newPointTime").concat(e.newPointTime)), !o && (!i.isLs && e.emitLog(We.LOAD_START, {}), i.isLs = !0, i.isTimeUpdate = !1, i.isFFLoading = !0, e.pt = ue(), e.vt = 0, e.fvt = 0, e._initOnceEvents(), e._onWaitingLoadStart());
|
|
9669
|
-
}), this.on(
|
|
9707
|
+
}), this.on(He, function() {
|
|
9670
9708
|
e.vt = ue(), e.fvt = e.vt - e.pt, e.loadedCostTime = e.vt - e.newPointTime;
|
|
9671
9709
|
var i = e._state, n = i.isTimeUpdate, o = i.isFFSend, l = i.autoplayStart;
|
|
9672
9710
|
V.logInfo("[xgLogger]".concat(e.player.playerId, " LOADED_DATA"), "fvt:".concat(e.fvt, " isTimeUpdate:").concat(e._state.isTimeUpdate, " loadedCostTime:").concat(e.loadedCostTime)), (n || l) && e._sendFF("loadedData"), o || e.emitLog(We.LOADED_DATA, {}), e.suspendWaitingStatus("loadeddata");
|
|
9673
|
-
}), this.on(Ti, this._onSeeking), this.on(
|
|
9711
|
+
}), this.on(Ti, this._onSeeking), this.on(Be, this._onSeeked), this.on(ya, function() {
|
|
9674
9712
|
e.endState("destroy");
|
|
9675
9713
|
}), this.on(Ei, function() {
|
|
9676
9714
|
e.endState("urlChange"), V.logInfo("[xgLogger]".concat(e.player.playerId, " URL_CHANGE")), e._state.isFFSend && e._onReset();
|
|
9677
|
-
}), this.on([wi,
|
|
9715
|
+
}), this.on([wi, Ne], this._onPlaying), this.on(Bt, this._onWaiting), this.on(Nt, this._onError), this.on(xi, function() {
|
|
9678
9716
|
V.logInfo("[xgLogger]".concat(e.player.playerId, " RESET")), e.endState("reset"), e._initOnceEvents(), e._onReset();
|
|
9679
9717
|
});
|
|
9680
9718
|
}
|
|
@@ -9762,13 +9800,13 @@ var We = {
|
|
|
9762
9800
|
}
|
|
9763
9801
|
}]), r;
|
|
9764
9802
|
})(G);
|
|
9765
|
-
function
|
|
9803
|
+
function Md() {
|
|
9766
9804
|
return new DOMParser().parseFromString(`<svg class="xgplayer-replay-svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 78 78" width="78" height="78">
|
|
9767
9805
|
<path fill="#fff" transform="translate(20, 20)" d="M8.22708362,13.8757234 L11.2677371,12.6472196 C11.7798067,12.4403301 12.3626381,12.6877273 12.5695276,13.1997969 L12.9441342,14.1269807 C13.1510237,14.6390502 12.9036264,15.2218816 12.3915569,15.4287712 L6.8284538,17.6764107 L5.90126995,18.0510173 C5.38920044,18.2579068 4.80636901,18.0105096 4.5994795,17.49844 L1.97723335,11.0081531 C1.77034384,10.4960836 2.0177411,9.91325213 2.52981061,9.70636262 L3.45699446,9.33175602 C3.96906396,9.12486652 4.5518954,9.37226378 4.75878491,9.88433329 L5.67885163,12.1615783 C7.99551726,6.6766934 13.3983951,3 19.5,3 C27.7842712,3 34.5,9.71572875 34.5,18 C34.5,26.2842712 27.7842712,33 19.5,33 C15.4573596,33 11.6658607,31.3912946 8.87004692,28.5831991 C8.28554571,27.9961303 8.28762719,27.0463851 8.87469603,26.4618839 C9.46176488,25.8773827 10.4115101,25.8794641 10.9960113,26.466533 C13.2344327,28.7147875 16.263503,30 19.5,30 C26.127417,30 31.5,24.627417 31.5,18 C31.5,11.372583 26.127417,6 19.5,6 C14.4183772,6 9.94214483,9.18783811 8.22708362,13.8757234 Z"></path>
|
|
9768
9806
|
</svg>
|
|
9769
9807
|
`, "image/svg+xml").firstChild;
|
|
9770
9808
|
}
|
|
9771
|
-
var
|
|
9809
|
+
var Fd = /* @__PURE__ */ (function(a) {
|
|
9772
9810
|
L(r, a);
|
|
9773
9811
|
var s = D(r);
|
|
9774
9812
|
function r() {
|
|
@@ -9778,7 +9816,7 @@ var Od = /* @__PURE__ */ (function(a) {
|
|
|
9778
9816
|
key: "registerIcons",
|
|
9779
9817
|
value: function() {
|
|
9780
9818
|
return {
|
|
9781
|
-
replay:
|
|
9819
|
+
replay: Md
|
|
9782
9820
|
};
|
|
9783
9821
|
}
|
|
9784
9822
|
}, {
|
|
@@ -9802,7 +9840,7 @@ var Od = /* @__PURE__ */ (function(a) {
|
|
|
9802
9840
|
i.setAttribute("transform", n);
|
|
9803
9841
|
}
|
|
9804
9842
|
}
|
|
9805
|
-
}), this.on(
|
|
9843
|
+
}), this.on(Ce, function() {
|
|
9806
9844
|
e.hide();
|
|
9807
9845
|
});
|
|
9808
9846
|
}
|
|
@@ -9851,7 +9889,7 @@ var Od = /* @__PURE__ */ (function(a) {
|
|
|
9851
9889
|
};
|
|
9852
9890
|
}
|
|
9853
9891
|
}]), r;
|
|
9854
|
-
})(G),
|
|
9892
|
+
})(G), Nd = /* @__PURE__ */ (function(a) {
|
|
9855
9893
|
L(r, a);
|
|
9856
9894
|
var s = D(r);
|
|
9857
9895
|
function r() {
|
|
@@ -9894,7 +9932,7 @@ var Od = /* @__PURE__ */ (function(a) {
|
|
|
9894
9932
|
e.show(), e.config.useVideoPoster || h.addClass(e.root, "xg-showplay"), e.once(_e, function() {
|
|
9895
9933
|
e.onTimeUpdate();
|
|
9896
9934
|
});
|
|
9897
|
-
})) : this.on(
|
|
9935
|
+
})) : this.on(Ce, function() {
|
|
9898
9936
|
e.hide();
|
|
9899
9937
|
});
|
|
9900
9938
|
}
|
|
@@ -9969,7 +10007,7 @@ var Od = /* @__PURE__ */ (function(a) {
|
|
|
9969
10007
|
}
|
|
9970
10008
|
}]), r;
|
|
9971
10009
|
})(G), Ae = {};
|
|
9972
|
-
function
|
|
10010
|
+
function Bd(a, s) {
|
|
9973
10011
|
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
9974
10012
|
start: null,
|
|
9975
10013
|
end: null
|
|
@@ -9987,7 +10025,7 @@ function nl(a) {
|
|
|
9987
10025
|
window.clearTimeout(Ae[s].id), delete Ae[s];
|
|
9988
10026
|
});
|
|
9989
10027
|
}
|
|
9990
|
-
var
|
|
10028
|
+
var Hd = /* @__PURE__ */ (function(a) {
|
|
9991
10029
|
L(r, a);
|
|
9992
10030
|
var s = D(r);
|
|
9993
10031
|
function r(t) {
|
|
@@ -10018,7 +10056,7 @@ var Nd = /* @__PURE__ */ (function(a) {
|
|
|
10018
10056
|
}), this.on(nt, this.onAutoplayStart), this.on(ma, function() {
|
|
10019
10057
|
var o = e.config.mode === "auto" ? "auto-hide" : "hide";
|
|
10020
10058
|
e.setAttr("data-state", "play"), h.removeClass(e.root, o), e.show();
|
|
10021
|
-
}), this.on(
|
|
10059
|
+
}), this.on(Ce, function() {
|
|
10022
10060
|
e.toggleTo("play");
|
|
10023
10061
|
}), this.on(_t, function() {
|
|
10024
10062
|
e.toggleTo("pause");
|
|
@@ -10091,7 +10129,7 @@ var Nd = /* @__PURE__ */ (function(a) {
|
|
|
10091
10129
|
key: "animate",
|
|
10092
10130
|
value: function(e) {
|
|
10093
10131
|
var i = this;
|
|
10094
|
-
this._animateId =
|
|
10132
|
+
this._animateId = Bd("pauseplay", 400, {
|
|
10095
10133
|
start: function() {
|
|
10096
10134
|
h.addClass(i.root, "interact"), i.show(), i.switchStatus(!0);
|
|
10097
10135
|
},
|
|
@@ -10179,7 +10217,7 @@ var Nd = /* @__PURE__ */ (function(a) {
|
|
|
10179
10217
|
};
|
|
10180
10218
|
}
|
|
10181
10219
|
}]), r;
|
|
10182
|
-
})(G),
|
|
10220
|
+
})(G), Ud = /* @__PURE__ */ (function(a) {
|
|
10183
10221
|
L(r, a);
|
|
10184
10222
|
var s = D(r);
|
|
10185
10223
|
function r() {
|
|
@@ -10269,7 +10307,7 @@ function al(a) {
|
|
|
10269
10307
|
return r && s;
|
|
10270
10308
|
}
|
|
10271
10309
|
var wa = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"], pu = wa.length;
|
|
10272
|
-
function
|
|
10310
|
+
function jd() {
|
|
10273
10311
|
for (var a = {
|
|
10274
10312
|
width: 0,
|
|
10275
10313
|
height: 0,
|
|
@@ -10283,15 +10321,15 @@ function Hd() {
|
|
|
10283
10321
|
}
|
|
10284
10322
|
return a;
|
|
10285
10323
|
}
|
|
10286
|
-
function
|
|
10324
|
+
function zd(a) {
|
|
10287
10325
|
var s = window.getComputedStyle(a);
|
|
10288
10326
|
return s;
|
|
10289
10327
|
}
|
|
10290
10328
|
function sl(a) {
|
|
10291
10329
|
if (typeof a == "string" && (a = document.querySelector(a)), !(!a || le(a) !== "object" || !a.nodeType)) {
|
|
10292
|
-
var s =
|
|
10330
|
+
var s = zd(a);
|
|
10293
10331
|
if (s.display === "none")
|
|
10294
|
-
return
|
|
10332
|
+
return jd();
|
|
10295
10333
|
var r = {};
|
|
10296
10334
|
r.width = a.offsetWidth, r.height = a.offsetHeight;
|
|
10297
10335
|
for (var t = r.isBorderBox = s.boxSizing === "border-box", e = 0; e < pu; e++) {
|
|
@@ -10319,7 +10357,7 @@ var Ur = {
|
|
|
10319
10357
|
mousedown: ["mousemove", "mouseup"],
|
|
10320
10358
|
touchstart: ["touchmove", "touchend", "touchcancel"],
|
|
10321
10359
|
pointerdown: ["pointermove", "pointerup", "pointercancel"]
|
|
10322
|
-
},
|
|
10360
|
+
}, Vd = /* @__PURE__ */ (function(a) {
|
|
10323
10361
|
L(r, a);
|
|
10324
10362
|
var s = D(r);
|
|
10325
10363
|
function r(t) {
|
|
@@ -10529,7 +10567,7 @@ var Ur = {
|
|
|
10529
10567
|
return parseInt(e, 10);
|
|
10530
10568
|
}
|
|
10531
10569
|
}]), r;
|
|
10532
|
-
})(jl),
|
|
10570
|
+
})(jl), qd = /* @__PURE__ */ (function(a) {
|
|
10533
10571
|
L(r, a);
|
|
10534
10572
|
var s = D(r);
|
|
10535
10573
|
function r(t) {
|
|
@@ -10565,7 +10603,7 @@ var Ur = {
|
|
|
10565
10603
|
var e = this;
|
|
10566
10604
|
this.initIcons(), this.on(_t, function() {
|
|
10567
10605
|
e.setAttr("data-state", "pause");
|
|
10568
|
-
}), this.on(
|
|
10606
|
+
}), this.on(Ce, function() {
|
|
10569
10607
|
e.setAttr("data-state", "play");
|
|
10570
10608
|
});
|
|
10571
10609
|
}
|
|
@@ -10585,7 +10623,7 @@ var Ur = {
|
|
|
10585
10623
|
i.controls.registerPlugin(rl, o, rl.pluginName);
|
|
10586
10624
|
}
|
|
10587
10625
|
var l = h.checkTouchSupport() ? "touchend" : "click";
|
|
10588
|
-
this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new
|
|
10626
|
+
this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new Vd(this.player.root, {
|
|
10589
10627
|
handle: this.root
|
|
10590
10628
|
})), this.config.isScrollSwitch && window.addEventListener("scroll", this.onScroll);
|
|
10591
10629
|
}
|
|
@@ -10729,7 +10767,7 @@ var Ur = {
|
|
|
10729
10767
|
}), _(y(t), "onVideoClick", function(o) {
|
|
10730
10768
|
var l = y(t), u = l.player, c = l.playerConfig;
|
|
10731
10769
|
o.target && c.closeVideoClick || (o.target === u.root || o.target === u.media || o.target === u.innerContainer || o.target === u.media.__canvas) && (o.preventDefault(), c.closeVideoStopPropagation || o.stopPropagation(), t._clickCount++, t.clickTimer && (clearTimeout(t.clickTimer), t.clickTimer = null), t.clickTimer = setTimeout(function() {
|
|
10732
|
-
t._clickCount && (t._clickCount--,
|
|
10770
|
+
t._clickCount && (t._clickCount--, Se(y(t), jr[0], function(f, d) {
|
|
10733
10771
|
t.switchPlayPause(d.e);
|
|
10734
10772
|
}, {
|
|
10735
10773
|
e: o,
|
|
@@ -10743,7 +10781,7 @@ var Ur = {
|
|
|
10743
10781
|
t._clickCount = 0;
|
|
10744
10782
|
return;
|
|
10745
10783
|
}
|
|
10746
|
-
t._clickCount = 0, t.clickTimer && (clearTimeout(t.clickTimer), t.clickTimer = null), o.preventDefault(), o.stopPropagation(),
|
|
10784
|
+
t._clickCount = 0, t.clickTimer && (clearTimeout(t.clickTimer), t.clickTimer = null), o.preventDefault(), o.stopPropagation(), Se(y(t), jr[1], function(f, d) {
|
|
10747
10785
|
t.emitUserAction(d.e, "switch_fullscreen", {
|
|
10748
10786
|
props: "fullscreen",
|
|
10749
10787
|
from: u.fullscreen,
|
|
@@ -10822,12 +10860,12 @@ var Ur = {
|
|
|
10822
10860
|
TOUCH_MOVE: "touchmove",
|
|
10823
10861
|
TOUCH_START: "touchstart",
|
|
10824
10862
|
TOUCH_END: "touchend"
|
|
10825
|
-
},
|
|
10863
|
+
}, Wd = {
|
|
10826
10864
|
start: "touchstart",
|
|
10827
10865
|
end: "touchend",
|
|
10828
10866
|
move: "touchmove",
|
|
10829
10867
|
cancel: "touchcancel"
|
|
10830
|
-
},
|
|
10868
|
+
}, Gd = {
|
|
10831
10869
|
start: "mousedown",
|
|
10832
10870
|
end: "mouseup",
|
|
10833
10871
|
move: "mousemove",
|
|
@@ -10836,7 +10874,7 @@ var Ur = {
|
|
|
10836
10874
|
function ll(a) {
|
|
10837
10875
|
return a && a.length > 0 ? a[a.length - 1] : null;
|
|
10838
10876
|
}
|
|
10839
|
-
function
|
|
10877
|
+
function Kd() {
|
|
10840
10878
|
return {
|
|
10841
10879
|
pressDelay: 600,
|
|
10842
10880
|
dbClickDelay: 200,
|
|
@@ -10846,7 +10884,7 @@ function Wd() {
|
|
|
10846
10884
|
needPreventDefault: !0
|
|
10847
10885
|
};
|
|
10848
10886
|
}
|
|
10849
|
-
var
|
|
10887
|
+
var $d = /* @__PURE__ */ (function() {
|
|
10850
10888
|
function a(s) {
|
|
10851
10889
|
var r = this, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
10852
10890
|
eventType: "touch"
|
|
@@ -10867,9 +10905,9 @@ var Gd = /* @__PURE__ */ (function() {
|
|
|
10867
10905
|
start: !1,
|
|
10868
10906
|
x: 0,
|
|
10869
10907
|
y: 0
|
|
10870
|
-
}, this.config =
|
|
10908
|
+
}, this.config = Kd(), Object.keys(t).map(function(e) {
|
|
10871
10909
|
r.config[e] = t[e];
|
|
10872
|
-
}), this.root = s, this.events = t.eventType === "mouse" ?
|
|
10910
|
+
}), this.root = s, this.events = t.eventType === "mouse" ? Gd : Wd, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
|
|
10873
10911
|
}
|
|
10874
10912
|
return A(a, [{
|
|
10875
10913
|
key: "_initEvent",
|
|
@@ -10948,7 +10986,7 @@ var Gd = /* @__PURE__ */ (function() {
|
|
|
10948
10986
|
}
|
|
10949
10987
|
}]), a;
|
|
10950
10988
|
})();
|
|
10951
|
-
function
|
|
10989
|
+
function Yd() {
|
|
10952
10990
|
return new DOMParser().parseFromString(`<svg width="20" height="9" viewBox="0 0 8 9" fill="none" xmlns="http://www.w3.org/2000/svg"
|
|
10953
10991
|
xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
10954
10992
|
<path opacity="0.54"
|
|
@@ -10961,7 +10999,7 @@ var ht = {
|
|
|
10961
10999
|
AUTO: "auto",
|
|
10962
11000
|
SEEKING: "seeking",
|
|
10963
11001
|
PLAYBACK: "playbackrate"
|
|
10964
|
-
}, Vr = ["videoClick", "videoDbClick"],
|
|
11002
|
+
}, Vr = ["videoClick", "videoDbClick"], Xd = /* @__PURE__ */ (function(a) {
|
|
10965
11003
|
L(r, a);
|
|
10966
11004
|
var s = D(r);
|
|
10967
11005
|
function r(t) {
|
|
@@ -11035,7 +11073,7 @@ var ht = {
|
|
|
11035
11073
|
value: function() {
|
|
11036
11074
|
return {
|
|
11037
11075
|
seekTipIcon: {
|
|
11038
|
-
icon:
|
|
11076
|
+
icon: Yd,
|
|
11039
11077
|
class: "xg-seek-pre"
|
|
11040
11078
|
}
|
|
11041
11079
|
};
|
|
@@ -11050,7 +11088,7 @@ var ht = {
|
|
|
11050
11088
|
var i = this.playerConfig, n = this.config, o = this.player;
|
|
11051
11089
|
i.closeVideoDblclick === !0 && (n.closedbClick = !0), this.resetPos(), h.isUndefined(i.disableGesture) || (n.disableGesture = !!i.disableGesture), this.appendChild(".xg-seek-icon", this.icons.seekTipIcon), this.xgMask = h.createDom("xg-mask", "", {}, "xgmask"), o.root.appendChild(this.xgMask), this.initCustomStyle(), this.registerThumbnail();
|
|
11052
11090
|
var l = this.domEventType === "mouse" ? "mouse" : "touch";
|
|
11053
|
-
this.touch = new
|
|
11091
|
+
this.touch = new $d(this.root, {
|
|
11054
11092
|
eventType: l,
|
|
11055
11093
|
needPreventDefault: !this.config.disableGesture
|
|
11056
11094
|
}), this.root.addEventListener("contextmenu", function(d) {
|
|
@@ -11060,7 +11098,7 @@ var ht = {
|
|
|
11060
11098
|
u && u.center && (u.center.addEventListener("touchmove", this.onRootTouchMove, !0), u.center.addEventListener("touchend", this.onRootTouchEnd, !0), u.center.addEventListener("touchcancel", this.onRootTouchEnd, !0)), this.on(Ue, function() {
|
|
11061
11099
|
var d = e.player, g = e.config;
|
|
11062
11100
|
d.duration > 0 && d.duration * 1e3 < g.moveDuration && (g.moveDuration = d.duration * 1e3);
|
|
11063
|
-
}), this.on([
|
|
11101
|
+
}), this.on([Ne, at], function() {
|
|
11064
11102
|
var d = e.pos, g = d.time, v = d.isStart;
|
|
11065
11103
|
!v && g > 0 && (e.pos.time = 0);
|
|
11066
11104
|
});
|
|
@@ -11227,7 +11265,7 @@ var ht = {
|
|
|
11227
11265
|
key: "onClick",
|
|
11228
11266
|
value: function(e) {
|
|
11229
11267
|
var i = this, n = this.player;
|
|
11230
|
-
|
|
11268
|
+
Se(this, Vr[0], function(o, l) {
|
|
11231
11269
|
i.clickHandler(l.e);
|
|
11232
11270
|
}, {
|
|
11233
11271
|
e,
|
|
@@ -11238,7 +11276,7 @@ var ht = {
|
|
|
11238
11276
|
key: "onDbClick",
|
|
11239
11277
|
value: function(e) {
|
|
11240
11278
|
var i = this, n = this.player;
|
|
11241
|
-
|
|
11279
|
+
Se(this, Vr[1], function(o, l) {
|
|
11242
11280
|
i.dbClickHandler(l.e);
|
|
11243
11281
|
}, {
|
|
11244
11282
|
e,
|
|
@@ -11395,7 +11433,7 @@ var ht = {
|
|
|
11395
11433
|
}
|
|
11396
11434
|
}]), r;
|
|
11397
11435
|
})(G);
|
|
11398
|
-
function
|
|
11436
|
+
function Zd(a) {
|
|
11399
11437
|
a.preventDefault(), a.returnValue = !1;
|
|
11400
11438
|
}
|
|
11401
11439
|
function ul(a) {
|
|
@@ -11644,7 +11682,7 @@ var cl = /* @__PURE__ */ (function(a) {
|
|
|
11644
11682
|
isPress: n
|
|
11645
11683
|
}, this.keyCodeMap[o[l]]));
|
|
11646
11684
|
}
|
|
11647
|
-
|
|
11685
|
+
Zd(i), i.stopPropagation();
|
|
11648
11686
|
break;
|
|
11649
11687
|
}
|
|
11650
11688
|
}
|
|
@@ -11686,13 +11724,13 @@ var cl = /* @__PURE__ */ (function(a) {
|
|
|
11686
11724
|
}
|
|
11687
11725
|
}]), r;
|
|
11688
11726
|
})(Ye);
|
|
11689
|
-
function
|
|
11727
|
+
function Jd() {
|
|
11690
11728
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="-5 -5 110 110">
|
|
11691
11729
|
<path d="M100,50A50,50,0,1,1,50,0" stroke-width="5" stroke="#ddd" stroke-dasharray="236" fill="none"></path>
|
|
11692
11730
|
</svg>
|
|
11693
11731
|
`, "image/svg+xml").firstChild;
|
|
11694
11732
|
}
|
|
11695
|
-
var
|
|
11733
|
+
var Qd = /* @__PURE__ */ (function(a) {
|
|
11696
11734
|
L(r, a);
|
|
11697
11735
|
var s = D(r);
|
|
11698
11736
|
function r() {
|
|
@@ -11702,7 +11740,7 @@ var Zd = /* @__PURE__ */ (function(a) {
|
|
|
11702
11740
|
key: "registerIcons",
|
|
11703
11741
|
value: function() {
|
|
11704
11742
|
return {
|
|
11705
|
-
loadingIcon:
|
|
11743
|
+
loadingIcon: Jd
|
|
11706
11744
|
};
|
|
11707
11745
|
}
|
|
11708
11746
|
}, {
|
|
@@ -11731,7 +11769,7 @@ var Zd = /* @__PURE__ */ (function(a) {
|
|
|
11731
11769
|
};
|
|
11732
11770
|
}
|
|
11733
11771
|
}]), r;
|
|
11734
|
-
})(G),
|
|
11772
|
+
})(G), eg = /* @__PURE__ */ (function(a) {
|
|
11735
11773
|
L(r, a);
|
|
11736
11774
|
var s = D(r);
|
|
11737
11775
|
function r() {
|
|
@@ -11787,7 +11825,7 @@ var Zd = /* @__PURE__ */ (function(a) {
|
|
|
11787
11825
|
return A(r, [{
|
|
11788
11826
|
key: "afterCreate",
|
|
11789
11827
|
value: function() {
|
|
11790
|
-
this.curIndex = -1, this.curPos = null, this.lastCurrentTime = 0, this.updateSegments(), this.on(Ue, this._onDurationChange), this.on(
|
|
11828
|
+
this.curIndex = -1, this.curPos = null, this.lastCurrentTime = 0, this.updateSegments(), this.on(Ue, this._onDurationChange), this.on(He, this._onLoadedData), this.on(_e, this._onTimeupdate), this.on(Ti, this._onSeeking), this.on(Ce, this._onPlay);
|
|
11791
11829
|
}
|
|
11792
11830
|
}, {
|
|
11793
11831
|
key: "setConfig",
|
|
@@ -11869,7 +11907,7 @@ var Zd = /* @__PURE__ */ (function(a) {
|
|
|
11869
11907
|
}
|
|
11870
11908
|
}]), r;
|
|
11871
11909
|
})(Ye);
|
|
11872
|
-
function
|
|
11910
|
+
function tg() {
|
|
11873
11911
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="-4 -6 40 40" fill="none">
|
|
11874
11912
|
<g>
|
|
11875
11913
|
<path transform="scale(1.5 1.5)" d="M11.6665 9.16663H4.1665C2.78579 9.16663 1.6665 10.2859 1.6665 11.6666V15.8333C1.6665 17.214 2.78579 18.3333 4.1665 18.3333H11.6665C13.0472 18.3333 14.1665 17.214 14.1665 15.8333V11.6666C14.1665 10.2859 13.0472 9.16663 11.6665 9.16663Z" fill="white"/>
|
|
@@ -11883,7 +11921,7 @@ function Qd() {
|
|
|
11883
11921
|
</svg>
|
|
11884
11922
|
`, "image/svg+xml").firstChild;
|
|
11885
11923
|
}
|
|
11886
|
-
var
|
|
11924
|
+
var ig = /* @__PURE__ */ (function(a) {
|
|
11887
11925
|
L(r, a);
|
|
11888
11926
|
var s = D(r);
|
|
11889
11927
|
function r(t) {
|
|
@@ -11946,7 +11984,7 @@ var eg = /* @__PURE__ */ (function(a) {
|
|
|
11946
11984
|
key: "registerIcons",
|
|
11947
11985
|
value: function() {
|
|
11948
11986
|
return {
|
|
11949
|
-
rotate:
|
|
11987
|
+
rotate: tg
|
|
11950
11988
|
};
|
|
11951
11989
|
}
|
|
11952
11990
|
}, {
|
|
@@ -11979,14 +12017,14 @@ var eg = /* @__PURE__ */ (function(a) {
|
|
|
11979
12017
|
}
|
|
11980
12018
|
}]), r;
|
|
11981
12019
|
})(ot);
|
|
11982
|
-
function
|
|
12020
|
+
function ng() {
|
|
11983
12021
|
return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
11984
12022
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
11985
12023
|
d="M16.5 4.3H3.5C3.38954 4.3 3.3 4.38954 3.3 4.5V15.5C3.3 15.6105 3.38954 15.7 3.5 15.7H8.50005L8.50006 17.5H3.5C2.39543 17.5 1.5 16.6046 1.5 15.5V4.5C1.5 3.39543 2.39543 2.5 3.5 2.5H16.5C17.6046 2.5 18.5 3.39543 18.5 4.5V8.5H16.7V4.5C16.7 4.38954 16.6105 4.3 16.5 4.3ZM12 11.5C11.4477 11.5 11 11.9477 11 12.5L11 16.5C11 17.0523 11.4478 17.5 12 17.5H17.5C18.0523 17.5 18.5 17.0523 18.5 16.5L18.5 12.5C18.5 11.9477 18.0523 11.5 17.5 11.5H12Z"
|
|
11986
12024
|
fill="white" />
|
|
11987
12025
|
</svg>`, "image/svg+xml").firstChild;
|
|
11988
12026
|
}
|
|
11989
|
-
function
|
|
12027
|
+
function rg() {
|
|
11990
12028
|
return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
11991
12029
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
11992
12030
|
d="M16.5 4.3H3.5C3.38954 4.3 3.3 4.38954 3.3 4.5V15.5C3.3 15.6105 3.38954 15.7 3.5 15.7H8.50005L8.50006 17.5H3.5C2.39543 17.5 1.5 16.6046 1.5 15.5V4.5C1.5 3.39543 2.39543 2.5 3.5 2.5H16.5C17.6046 2.5 18.5 3.39543 18.5 4.5V8.5H16.7V4.5C16.7 4.38954 16.6105 4.3 16.5 4.3ZM12 11.5C11.4477 11.5 11 11.9477 11 12.5L11 16.5C11 17.0523 11.4478 17.5 12 17.5H17.5C18.0523 17.5 18.5 17.0523 18.5 16.5L18.5 12.5C18.5 11.9477 18.0523 11.5 17.5 11.5H12Z"
|
|
@@ -12000,7 +12038,7 @@ var dt = {
|
|
|
12000
12038
|
PIP: "picture-in-picture",
|
|
12001
12039
|
INLINE: "inline",
|
|
12002
12040
|
FULLSCREEN: "fullscreen"
|
|
12003
|
-
},
|
|
12041
|
+
}, ag = /* @__PURE__ */ (function(a) {
|
|
12004
12042
|
L(r, a);
|
|
12005
12043
|
var s = D(r);
|
|
12006
12044
|
function r() {
|
|
@@ -12040,11 +12078,11 @@ var dt = {
|
|
|
12040
12078
|
value: function() {
|
|
12041
12079
|
return {
|
|
12042
12080
|
pipIcon: {
|
|
12043
|
-
icon:
|
|
12081
|
+
icon: ng,
|
|
12044
12082
|
class: "xg-get-pip"
|
|
12045
12083
|
},
|
|
12046
12084
|
pipIconExit: {
|
|
12047
|
-
icon:
|
|
12085
|
+
icon: rg,
|
|
12048
12086
|
class: "xg-exit-pip"
|
|
12049
12087
|
}
|
|
12050
12088
|
};
|
|
@@ -12201,13 +12239,13 @@ var dt = {
|
|
|
12201
12239
|
}
|
|
12202
12240
|
}]), r;
|
|
12203
12241
|
})(ot);
|
|
12204
|
-
function
|
|
12242
|
+
function sg() {
|
|
12205
12243
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="40" viewBox="10 0 24 40">
|
|
12206
12244
|
<path transform="scale(0.038 0.028)" d="M800 380v768h-128v-352l-320 320v-704l320 320v-352z"></path>
|
|
12207
12245
|
</svg>
|
|
12208
12246
|
`, "image/svg+xml").firstChild;
|
|
12209
12247
|
}
|
|
12210
|
-
var
|
|
12248
|
+
var og = /* @__PURE__ */ (function(a) {
|
|
12211
12249
|
L(r, a);
|
|
12212
12250
|
var s = D(r);
|
|
12213
12251
|
function r(t) {
|
|
@@ -12226,7 +12264,7 @@ var ag = /* @__PURE__ */ (function(a) {
|
|
|
12226
12264
|
key: "registerIcons",
|
|
12227
12265
|
value: function() {
|
|
12228
12266
|
return {
|
|
12229
|
-
playNext:
|
|
12267
|
+
playNext: sg
|
|
12230
12268
|
};
|
|
12231
12269
|
}
|
|
12232
12270
|
}, {
|
|
@@ -12276,7 +12314,7 @@ var ag = /* @__PURE__ */ (function(a) {
|
|
|
12276
12314
|
}
|
|
12277
12315
|
}]), r;
|
|
12278
12316
|
})(G);
|
|
12279
|
-
function
|
|
12317
|
+
function lg() {
|
|
12280
12318
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24">
|
|
12281
12319
|
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
12282
12320
|
<g transform="translate(-488.000000, -340.000000)" fill="#FFFFFF">
|
|
@@ -12336,7 +12374,7 @@ var pe = {
|
|
|
12336
12374
|
r[t] = s.charCodeAt(t);
|
|
12337
12375
|
return r;
|
|
12338
12376
|
}
|
|
12339
|
-
},
|
|
12377
|
+
}, Me = {
|
|
12340
12378
|
downloadWithAnchor: function(s, r) {
|
|
12341
12379
|
var t = document.createElement("a");
|
|
12342
12380
|
t.href = s, t.setAttribute("download", r), t.className = "download-js-link", t.innerHTML = "downloading...", t.style.display = "none";
|
|
@@ -12354,7 +12392,7 @@ var pe = {
|
|
|
12354
12392
|
var t = new FileReader();
|
|
12355
12393
|
return t.onload = function(i) {
|
|
12356
12394
|
var n = i.target.result;
|
|
12357
|
-
|
|
12395
|
+
Me.downloadWithSafari(n, r);
|
|
12358
12396
|
}, t.readAsDataURL(s), !0;
|
|
12359
12397
|
}
|
|
12360
12398
|
if (it.isDataURL(s) && (s = "data:" + s.replace(/^data:([\w\/\-\+]+)/, pe.mimeType)), !window.open(s)) {
|
|
@@ -12370,7 +12408,7 @@ Use Save As... to download, then click back to return to this page.`);
|
|
|
12370
12408
|
var t = new FileReader();
|
|
12371
12409
|
return t.onload = function(i) {
|
|
12372
12410
|
var n = i.target.result;
|
|
12373
|
-
|
|
12411
|
+
Me.downloadWithIframe(n, r);
|
|
12374
12412
|
}, t.readAsDataURL(s), !0;
|
|
12375
12413
|
}
|
|
12376
12414
|
var e = document.createElement("iframe");
|
|
@@ -12386,7 +12424,7 @@ Use Save As... to download, then click back to return to this page.`);
|
|
|
12386
12424
|
setHeaders: function(s) {
|
|
12387
12425
|
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
12388
12426
|
Object.entries(r).forEach(function(t) {
|
|
12389
|
-
var e =
|
|
12427
|
+
var e = Ih(t, 2), i = e[0], n = e[1];
|
|
12390
12428
|
s.setRequestHeader(i, n);
|
|
12391
12429
|
});
|
|
12392
12430
|
},
|
|
@@ -12424,7 +12462,7 @@ function mu(a, s, r) {
|
|
|
12424
12462
|
var c = it.dataURLToBlob(a);
|
|
12425
12463
|
return i = c.type || i, mu(c, e, i);
|
|
12426
12464
|
} else
|
|
12427
|
-
return Tt.isIEWithMsSaveBlob() ? navigator.msSaveBlob(it.dataURLToBlob(a), e) :
|
|
12465
|
+
return Tt.isIEWithMsSaveBlob() ? navigator.msSaveBlob(it.dataURLToBlob(a), e) : Me.downloadWithAnchor(a, e);
|
|
12428
12466
|
if (typeof a == "string" && it.hasNonASCII(a)) {
|
|
12429
12467
|
var f = it.stringToUint8Array(a), d = window.Blob || window.MozBlob || window.WebKitBlob || function(C, R) {
|
|
12430
12468
|
return C;
|
|
@@ -12448,28 +12486,28 @@ function mu(a, s, r) {
|
|
|
12448
12486
|
return navigator.msSaveBlob(g, e);
|
|
12449
12487
|
if (Tt.supportsObjectURL()) {
|
|
12450
12488
|
var m = URL.createObjectURL(g);
|
|
12451
|
-
return
|
|
12489
|
+
return Me.downloadWithAnchor(m, e);
|
|
12452
12490
|
}
|
|
12453
12491
|
if (Tt.isSafari())
|
|
12454
|
-
return
|
|
12492
|
+
return Me.downloadWithSafari(g, e);
|
|
12455
12493
|
if (typeof g == "string" || g.constructor === String)
|
|
12456
12494
|
try {
|
|
12457
12495
|
var p = "data:" + i + ";base64," + btoa(g);
|
|
12458
|
-
return
|
|
12496
|
+
return Me.downloadWithAnchor(p, e);
|
|
12459
12497
|
} catch {
|
|
12460
12498
|
var k = "data:" + i + "," + encodeURIComponent(g);
|
|
12461
|
-
return
|
|
12499
|
+
return Me.downloadWithAnchor(k, e);
|
|
12462
12500
|
}
|
|
12463
12501
|
var b = new FileReader();
|
|
12464
12502
|
return b.onload = function(C) {
|
|
12465
|
-
|
|
12466
|
-
}, b.readAsDataURL(g),
|
|
12503
|
+
Me.downloadWithAnchor(C.target.result, e);
|
|
12504
|
+
}, b.readAsDataURL(g), Me.downloadWithIframe(g, e);
|
|
12467
12505
|
}
|
|
12468
|
-
function
|
|
12506
|
+
function ug(a) {
|
|
12469
12507
|
var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = te(te({}, pe), s), t = r.fileName || a.split("/").pop().split("?")[0] || "download";
|
|
12470
12508
|
return di.downloadFromURL(a, t, r);
|
|
12471
12509
|
}
|
|
12472
|
-
var
|
|
12510
|
+
var cg = /* @__PURE__ */ (function(a) {
|
|
12473
12511
|
L(r, a);
|
|
12474
12512
|
var s = D(r);
|
|
12475
12513
|
function r(t) {
|
|
@@ -12480,7 +12518,7 @@ var lg = /* @__PURE__ */ (function(a) {
|
|
|
12480
12518
|
var n = e.playerConfig.url, o = "";
|
|
12481
12519
|
h.typeOf(n) === "String" ? o = n : h.typeOf(n) === "Array" && n.length > 0 && (o = n[0].src);
|
|
12482
12520
|
var l = e.getAbsoluteURL(o);
|
|
12483
|
-
|
|
12521
|
+
ug(l, Object.assign({}, e.config.saveAsOptions || {})), e.isLock = !0, e.timer = window.setTimeout(function() {
|
|
12484
12522
|
e.isLock = !1, window.clearTimeout(e.timer), e.timer = null;
|
|
12485
12523
|
}, 300);
|
|
12486
12524
|
}
|
|
@@ -12499,7 +12537,7 @@ var lg = /* @__PURE__ */ (function(a) {
|
|
|
12499
12537
|
key: "registerIcons",
|
|
12500
12538
|
value: function() {
|
|
12501
12539
|
return {
|
|
12502
|
-
download:
|
|
12540
|
+
download: lg
|
|
12503
12541
|
};
|
|
12504
12542
|
}
|
|
12505
12543
|
}, {
|
|
@@ -12542,7 +12580,7 @@ var lg = /* @__PURE__ */ (function(a) {
|
|
|
12542
12580
|
};
|
|
12543
12581
|
}
|
|
12544
12582
|
}]), r;
|
|
12545
|
-
})(ot),
|
|
12583
|
+
})(ot), fg = /* @__PURE__ */ (function(a) {
|
|
12546
12584
|
L(r, a);
|
|
12547
12585
|
var s = D(r);
|
|
12548
12586
|
function r() {
|
|
@@ -12668,7 +12706,7 @@ var lg = /* @__PURE__ */ (function(a) {
|
|
|
12668
12706
|
};
|
|
12669
12707
|
}
|
|
12670
12708
|
}]), r;
|
|
12671
|
-
})(ot),
|
|
12709
|
+
})(ot), hg = /* @__PURE__ */ (function() {
|
|
12672
12710
|
function a(s) {
|
|
12673
12711
|
P(this, a), this.config = s.config, this.parent = s.root, this.root = h.createDom("ul", "", {}, "xg-options-list xg-list-slide-scroll ".concat(this.config.className)), s.root.appendChild(this.root);
|
|
12674
12712
|
var r = this.config.maxHeight;
|
|
@@ -12748,7 +12786,7 @@ var lg = /* @__PURE__ */ (function(a) {
|
|
|
12748
12786
|
CLICK: "click",
|
|
12749
12787
|
HOVER: "hover"
|
|
12750
12788
|
};
|
|
12751
|
-
function
|
|
12789
|
+
function dg(a, s) {
|
|
12752
12790
|
return a === Pe.SIDE ? s === ee.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
|
|
12753
12791
|
}
|
|
12754
12792
|
var Qe = U.device === "mobile", gi = /* @__PURE__ */ (function(a) {
|
|
@@ -12783,9 +12821,9 @@ var Qe = U.device === "mobile", gi = /* @__PURE__ */ (function(a) {
|
|
|
12783
12821
|
key: "afterCreate",
|
|
12784
12822
|
value: function() {
|
|
12785
12823
|
var e = this, i = this.config;
|
|
12786
|
-
this.initIcons(), Qe = Qe || this.domEventType === "touch", Qe && U.device === "mobile" && i.listType === Pe.DEFAULT && (i.listType = Pe.SIDE), i.hidePortrait && h.addClass(this.root, "portrait"), this.on([$e,
|
|
12824
|
+
this.initIcons(), Qe = Qe || this.domEventType === "touch", Qe && U.device === "mobile" && i.listType === Pe.DEFAULT && (i.listType = Pe.SIDE), i.hidePortrait && h.addClass(this.root, "portrait"), this.on([$e, Fe], function() {
|
|
12787
12825
|
e._resizeList();
|
|
12788
|
-
}), this.once(
|
|
12826
|
+
}), this.once(Ne, function() {
|
|
12789
12827
|
i.list && i.list.length > 0 && (e.renderItemList(i.list), e.show());
|
|
12790
12828
|
}), Qe && this.on(va, function() {
|
|
12791
12829
|
e.isActive && (e.optionsList && e.optionsList.hide(), e.isActive = !1);
|
|
@@ -12862,7 +12900,7 @@ var Qe = U.device === "mobile", gi = /* @__PURE__ */ (function(a) {
|
|
|
12862
12900
|
var c = {
|
|
12863
12901
|
config: {
|
|
12864
12902
|
data: e || [],
|
|
12865
|
-
className:
|
|
12903
|
+
className: dg(o.listType, o.position),
|
|
12866
12904
|
onItemClick: function(m, p) {
|
|
12867
12905
|
n.onItemClick(m, p);
|
|
12868
12906
|
},
|
|
@@ -12872,7 +12910,7 @@ var Qe = U.device === "mobile", gi = /* @__PURE__ */ (function(a) {
|
|
|
12872
12910
|
};
|
|
12873
12911
|
if (this.config.isShowIcon) {
|
|
12874
12912
|
var f = this.player.root.getBoundingClientRect(), d = f.height, g = o.listType === Pe.MIDDLE ? d - 50 : d;
|
|
12875
|
-
g && o.heightLimit && (c.config.maxHeight = "".concat(g, "px")), this.optionsList = new
|
|
12913
|
+
g && o.heightLimit && (c.config.maxHeight = "".concat(g, "px")), this.optionsList = new hg(c), this.changeCurrentText(), this.show();
|
|
12876
12914
|
}
|
|
12877
12915
|
this._resizeList();
|
|
12878
12916
|
}
|
|
@@ -12923,7 +12961,7 @@ var Qe = U.device === "mobile", gi = /* @__PURE__ */ (function(a) {
|
|
|
12923
12961
|
};
|
|
12924
12962
|
}
|
|
12925
12963
|
}]), r;
|
|
12926
|
-
})(G),
|
|
12964
|
+
})(G), gg = /* @__PURE__ */ (function(a) {
|
|
12927
12965
|
L(r, a);
|
|
12928
12966
|
var s = D(r);
|
|
12929
12967
|
function r(t) {
|
|
@@ -13024,7 +13062,7 @@ var Qe = U.device === "mobile", gi = /* @__PURE__ */ (function(a) {
|
|
|
13024
13062
|
});
|
|
13025
13063
|
}
|
|
13026
13064
|
}]), r;
|
|
13027
|
-
})(gi),
|
|
13065
|
+
})(gi), vg = /* @__PURE__ */ (function(a) {
|
|
13028
13066
|
L(r, a);
|
|
13029
13067
|
var s = D(r);
|
|
13030
13068
|
function r(t) {
|
|
@@ -13116,7 +13154,7 @@ var Qe = U.device === "mobile", gi = /* @__PURE__ */ (function(a) {
|
|
|
13116
13154
|
});
|
|
13117
13155
|
}
|
|
13118
13156
|
}]), r;
|
|
13119
|
-
})(gi),
|
|
13157
|
+
})(gi), pg = /* @__PURE__ */ (function(a) {
|
|
13120
13158
|
L(r, a);
|
|
13121
13159
|
var s = D(r);
|
|
13122
13160
|
function r() {
|
|
@@ -13177,7 +13215,7 @@ var Qe = U.device === "mobile", gi = /* @__PURE__ */ (function(a) {
|
|
|
13177
13215
|
return "error";
|
|
13178
13216
|
}
|
|
13179
13217
|
}]), r;
|
|
13180
|
-
})(G),
|
|
13218
|
+
})(G), mg = /* @__PURE__ */ (function(a) {
|
|
13181
13219
|
L(r, a);
|
|
13182
13220
|
var s = D(r);
|
|
13183
13221
|
function r() {
|
|
@@ -13407,7 +13445,7 @@ var hl = {
|
|
|
13407
13445
|
return r.find('xg-spot[data-id="'.concat(s, '"]'));
|
|
13408
13446
|
}
|
|
13409
13447
|
};
|
|
13410
|
-
function
|
|
13448
|
+
function yg(a) {
|
|
13411
13449
|
var s = a.config, r = a.player;
|
|
13412
13450
|
Object.keys(hl).map(function(e) {
|
|
13413
13451
|
a[e] = hl[e].bind(a);
|
|
@@ -13431,7 +13469,7 @@ var vt = {
|
|
|
13431
13469
|
click: "onProgressClick",
|
|
13432
13470
|
mouseover: "onProgressMouseOver",
|
|
13433
13471
|
mouseenter: "onProgressMouseOver"
|
|
13434
|
-
},
|
|
13472
|
+
}, _g = /* @__PURE__ */ (function(a) {
|
|
13435
13473
|
L(r, a);
|
|
13436
13474
|
var s = D(r);
|
|
13437
13475
|
function r(t) {
|
|
@@ -13482,7 +13520,7 @@ var vt = {
|
|
|
13482
13520
|
n.seekTime && e.player.seek(n.seekTime);
|
|
13483
13521
|
}), this.transformTimeHook = this.hook("transformTime", function(i) {
|
|
13484
13522
|
e.setTimeContent(h.format(i));
|
|
13485
|
-
}),
|
|
13523
|
+
}), yg(this), this.on(Ue, function() {
|
|
13486
13524
|
e.show();
|
|
13487
13525
|
}), this.config.disable && this.disable(), this.extTextRoot = this.find(".xg-spot-ext-text");
|
|
13488
13526
|
}
|
|
@@ -13706,7 +13744,7 @@ var vt = {
|
|
|
13706
13744
|
};
|
|
13707
13745
|
}
|
|
13708
13746
|
}]), r;
|
|
13709
|
-
})(G),
|
|
13747
|
+
})(G), bg = /* @__PURE__ */ (function(a) {
|
|
13710
13748
|
L(r, a);
|
|
13711
13749
|
var s = D(r);
|
|
13712
13750
|
function r(t) {
|
|
@@ -13843,7 +13881,7 @@ var vt = {
|
|
|
13843
13881
|
function qr(a) {
|
|
13844
13882
|
return a ? "background:".concat(a, ";") : "";
|
|
13845
13883
|
}
|
|
13846
|
-
var
|
|
13884
|
+
var Cg = /* @__PURE__ */ (function(a) {
|
|
13847
13885
|
L(r, a);
|
|
13848
13886
|
var s = D(r);
|
|
13849
13887
|
function r() {
|
|
@@ -13930,14 +13968,14 @@ var _g = /* @__PURE__ */ (function(a) {
|
|
|
13930
13968
|
FIRST_FRAME: "firstframe",
|
|
13931
13969
|
POSTER: "poster"
|
|
13932
13970
|
};
|
|
13933
|
-
function
|
|
13971
|
+
function kg() {
|
|
13934
13972
|
try {
|
|
13935
13973
|
return parseInt(window.performance.now(), 10);
|
|
13936
13974
|
} catch {
|
|
13937
13975
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
13938
13976
|
}
|
|
13939
13977
|
}
|
|
13940
|
-
function
|
|
13978
|
+
function wg() {
|
|
13941
13979
|
try {
|
|
13942
13980
|
var a = document.createElement("canvas").getContext;
|
|
13943
13981
|
return !!a;
|
|
@@ -13945,7 +13983,7 @@ function Cg() {
|
|
|
13945
13983
|
return !1;
|
|
13946
13984
|
}
|
|
13947
13985
|
}
|
|
13948
|
-
var Jt = null,
|
|
13986
|
+
var Jt = null, Tg = /* @__PURE__ */ (function(a) {
|
|
13949
13987
|
L(r, a);
|
|
13950
13988
|
var s = D(r);
|
|
13951
13989
|
function r() {
|
|
@@ -13966,7 +14004,7 @@ var Jt = null, kg = /* @__PURE__ */ (function(a) {
|
|
|
13966
14004
|
!t.player.paused && t._checkIfCanStart() && t.start(0, l);
|
|
13967
14005
|
}
|
|
13968
14006
|
}), _(y(t), "start", function(o, l) {
|
|
13969
|
-
var u = t.player.video, c =
|
|
14007
|
+
var u = t.player.video, c = kg(), f = t.checkVideoIsSupport(u);
|
|
13970
14008
|
!f || !t.canvasCtx || (l || (l = t.interval), t.stop(), u.videoWidth && u.videoHeight && (t.videoPI = u.videoHeight > 0 ? parseInt(u.videoWidth / u.videoHeight * 100, 10) : 0, (t.config.mode === pt.REAL_TIME || c - t.preTime >= l) && (u && u.videoWidth && t.update(f, t.videoPI), t.preTime = c)), t.frameId = t._loopType === "timer" ? h.setTimeout(y(t), t.start, l) : h.requestAnimationFrame(t.start));
|
|
13971
14009
|
}), _(y(t), "stop", function() {
|
|
13972
14010
|
t.frameId && (t._loopType === "timer" ? h.clearTimeout(y(t), t.frameId) : h.cancelAnimationFrame(t.frameId), t.frameId = null);
|
|
@@ -13990,12 +14028,12 @@ var Jt = null, kg = /* @__PURE__ */ (function(a) {
|
|
|
13990
14028
|
e.player && (e.init(), e.renderByPoster(), e.player.paused || e.start());
|
|
13991
14029
|
}), o !== pt.POSTER && (o !== pt.FIRST_FRAME && (this.on(st, function() {
|
|
13992
14030
|
e.stop();
|
|
13993
|
-
}), this.on(
|
|
14031
|
+
}), this.on(Ce, function() {
|
|
13994
14032
|
var u = e.config.startInterval;
|
|
13995
14033
|
e._checkIfCanStart() && e.start(0, u);
|
|
13996
14034
|
}), this.on(_t, function() {
|
|
13997
14035
|
e.stop();
|
|
13998
|
-
})), this.on(
|
|
14036
|
+
})), this.on(He, this.onLoadedData), this.on(ga, function() {
|
|
13999
14037
|
e._isLoaded = !1, e.stop();
|
|
14000
14038
|
}), document.addEventListener("visibilitychange", this.onVisibilitychange)));
|
|
14001
14039
|
}
|
|
@@ -14139,7 +14177,7 @@ var Jt = null, kg = /* @__PURE__ */ (function(a) {
|
|
|
14139
14177
|
}, {
|
|
14140
14178
|
key: "isSupport",
|
|
14141
14179
|
get: function() {
|
|
14142
|
-
return typeof Jt == "boolean" || (Jt =
|
|
14180
|
+
return typeof Jt == "boolean" || (Jt = wg()), Jt;
|
|
14143
14181
|
}
|
|
14144
14182
|
}, {
|
|
14145
14183
|
key: "supportCanvasFilter",
|
|
@@ -14147,7 +14185,7 @@ var Jt = null, kg = /* @__PURE__ */ (function(a) {
|
|
|
14147
14185
|
return !(U.browser === "safari" || U.browser === "firefox");
|
|
14148
14186
|
}
|
|
14149
14187
|
}]), r;
|
|
14150
|
-
})(G),
|
|
14188
|
+
})(G), Sg = {
|
|
14151
14189
|
LANG: "zh-cn",
|
|
14152
14190
|
TEXT: {
|
|
14153
14191
|
ERROR_TYPES: {
|
|
@@ -14223,7 +14261,7 @@ var Jt = null, kg = /* @__PURE__ */ (function(a) {
|
|
|
14223
14261
|
FORWARD: "快进中",
|
|
14224
14262
|
LIVE_TIP: "直播"
|
|
14225
14263
|
}
|
|
14226
|
-
}, St = "info", Wr = ru,
|
|
14264
|
+
}, St = "info", Wr = ru, Eg = /* @__PURE__ */ (function(a) {
|
|
14227
14265
|
L(r, a);
|
|
14228
14266
|
var s = D(r);
|
|
14229
14267
|
function r() {
|
|
@@ -14408,7 +14446,7 @@ var Jt = null, kg = /* @__PURE__ */ (function(a) {
|
|
|
14408
14446
|
key: "afterCreate",
|
|
14409
14447
|
value: function() {
|
|
14410
14448
|
var e = this, i = this.config.useGapJump;
|
|
14411
|
-
i !== !1 && (this.hasPlayed = !1, this.seekingEventReceived = !1, this.isSafari = /(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent) && !/BlackBerry/.test(navigator.platform), this.on(Bt, this.onGapJump), this.on(
|
|
14449
|
+
i !== !1 && (this.hasPlayed = !1, this.seekingEventReceived = !1, this.isSafari = /(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent) && !/BlackBerry/.test(navigator.platform), this.on(Bt, this.onGapJump), this.on(Ce, function() {
|
|
14412
14450
|
e.hasPlayed = !0;
|
|
14413
14451
|
}), this.on(Ti, function() {
|
|
14414
14452
|
e.seekingEventReceived = !0;
|
|
@@ -14457,7 +14495,7 @@ var Jt = null, kg = /* @__PURE__ */ (function(a) {
|
|
|
14457
14495
|
}]), r;
|
|
14458
14496
|
})(G);
|
|
14459
14497
|
_u.BROWSER_GAP_TOLERANCE = 1e-3;
|
|
14460
|
-
var
|
|
14498
|
+
var xg = /* @__PURE__ */ (function(a) {
|
|
14461
14499
|
L(r, a);
|
|
14462
14500
|
var s = D(r);
|
|
14463
14501
|
function r() {
|
|
@@ -14481,9 +14519,9 @@ var Sg = /* @__PURE__ */ (function(a) {
|
|
|
14481
14519
|
key: "afterCreate",
|
|
14482
14520
|
value: function() {
|
|
14483
14521
|
var e = this, i = this.config, n = i.useWaitingTimeoutJump, o = i.jumpSize;
|
|
14484
|
-
n !== !1 && (this.hasPlayed = !1, this.jumpCnt = 0, this.timer = null, this.jumpSize = o, this.on(Bt, this.onWaiting), this.on([wi,
|
|
14522
|
+
n !== !1 && (this.hasPlayed = !1, this.jumpCnt = 0, this.timer = null, this.jumpSize = o, this.on(Bt, this.onWaiting), this.on([wi, Ne], function() {
|
|
14485
14523
|
clearTimeout(e.timer), e.timer = null, e.jumpSize = e.config.jumpSize;
|
|
14486
|
-
}), this.on(
|
|
14524
|
+
}), this.on(Ce, function() {
|
|
14487
14525
|
e.hasPlayed = !0;
|
|
14488
14526
|
}));
|
|
14489
14527
|
}
|
|
@@ -14503,7 +14541,7 @@ var Sg = /* @__PURE__ */ (function(a) {
|
|
|
14503
14541
|
};
|
|
14504
14542
|
}
|
|
14505
14543
|
}]), r;
|
|
14506
|
-
})(G), mt = "cdn", Qt = ["cdn"],
|
|
14544
|
+
})(G), mt = "cdn", Qt = ["cdn"], Ig = /* @__PURE__ */ (function(a) {
|
|
14507
14545
|
L(r, a);
|
|
14508
14546
|
var s = D(r);
|
|
14509
14547
|
function r() {
|
|
@@ -14579,7 +14617,7 @@ var Sg = /* @__PURE__ */ (function(a) {
|
|
|
14579
14617
|
key: "afterCreate",
|
|
14580
14618
|
value: function() {
|
|
14581
14619
|
var e = this.config, i = e.openSpeed, n = e.addSpeedTypeList;
|
|
14582
|
-
(n == null ? void 0 : n.length) > 0 && Qt.push.apply(Qt, xe(n)), this.initSpeedList(), this.on("real_time_speed", this._onRealSpeedChange), this.timer = null, this.cnt = 0, this.xhr = null, i && this.on([
|
|
14620
|
+
(n == null ? void 0 : n.length) > 0 && Qt.push.apply(Qt, xe(n)), this.initSpeedList(), this.on("real_time_speed", this._onRealSpeedChange), this.timer = null, this.cnt = 0, this.xhr = null, i && this.on([He, ai], this.startTimer);
|
|
14583
14621
|
}
|
|
14584
14622
|
}, {
|
|
14585
14623
|
key: "getSpeedName",
|
|
@@ -14606,7 +14644,7 @@ var Sg = /* @__PURE__ */ (function(a) {
|
|
|
14606
14644
|
key: "destroy",
|
|
14607
14645
|
value: function() {
|
|
14608
14646
|
var e = this;
|
|
14609
|
-
this.off("real_time_speed", this._onRealSpeedChange), this.off([
|
|
14647
|
+
this.off("real_time_speed", this._onRealSpeedChange), this.off([He, ai], this.startTimer), Qt.forEach(function(i) {
|
|
14610
14648
|
e.speedListCache && e.speedListCache[i] && (e.speedListCache[i] = []);
|
|
14611
14649
|
}), this.speedListCache && (this.speedListCache = {}), clearTimeout(this.timer), this.timer = null, this.xhr && this.xhr.readyState !== 4 && (this.xhr.cancel && this.xhr.cancel(), this.xhr = null);
|
|
14612
14650
|
}
|
|
@@ -14629,7 +14667,7 @@ var Sg = /* @__PURE__ */ (function(a) {
|
|
|
14629
14667
|
};
|
|
14630
14668
|
}
|
|
14631
14669
|
}]), r;
|
|
14632
|
-
})(G),
|
|
14670
|
+
})(G), Pg = /* @__PURE__ */ (function(a) {
|
|
14633
14671
|
L(r, a);
|
|
14634
14672
|
var s = D(r);
|
|
14635
14673
|
function r() {
|
|
@@ -14641,7 +14679,7 @@ var Sg = /* @__PURE__ */ (function(a) {
|
|
|
14641
14679
|
var e = this, i = this.player, n = this.config, o = i.media || i.video;
|
|
14642
14680
|
if (this.timer = null, this._lastDecodedFrames = 0, this._currentStuckCount = 0, this._lastCheckPoint = null, this._payload = [], !n.disabled) {
|
|
14643
14681
|
var l = o.getVideoPlaybackQuality;
|
|
14644
|
-
l && (this.on(
|
|
14682
|
+
l && (this.on(Ce, function() {
|
|
14645
14683
|
e._startTick();
|
|
14646
14684
|
}), this.on(_t, function() {
|
|
14647
14685
|
e._stopTick();
|
|
@@ -14739,24 +14777,24 @@ var Sg = /* @__PURE__ */ (function(a) {
|
|
|
14739
14777
|
}
|
|
14740
14778
|
}]), r;
|
|
14741
14779
|
})(G);
|
|
14742
|
-
yt.use(
|
|
14743
|
-
var
|
|
14780
|
+
yt.use(Sg);
|
|
14781
|
+
var Ag = /* @__PURE__ */ A(function a(s, r) {
|
|
14744
14782
|
var t, e, i;
|
|
14745
14783
|
P(this, a);
|
|
14746
|
-
var n = r && r.isMobileSimulateMode === "mobile", o = r.isLive, l = o ? [] : [
|
|
14747
|
-
this.plugins = [
|
|
14784
|
+
var n = r && r.isMobileSimulateMode === "mobile", o = r.isLive, l = o ? [] : [eg, du, Cg, _g, gu], u = [].concat(l, [hu, fu, ig, og, gg, vg, cg, fg, vu, ag]), c = [Fd, Nd, Hd, Qd, Ud, pg, mg, bg, qd];
|
|
14785
|
+
this.plugins = [Eg, Od].concat(xe(u), c, [_u, xg]);
|
|
14748
14786
|
var f = n ? "mobile" : U.device;
|
|
14749
14787
|
switch (f) {
|
|
14750
14788
|
case "pc":
|
|
14751
|
-
(t = this.plugins).push.apply(t, [cl, zr, Qr,
|
|
14789
|
+
(t = this.plugins).push.apply(t, [cl, zr, Qr, Ig, Pg]);
|
|
14752
14790
|
break;
|
|
14753
14791
|
case "mobile":
|
|
14754
|
-
(e = this.plugins).push.apply(e, [
|
|
14792
|
+
(e = this.plugins).push.apply(e, [Xd]);
|
|
14755
14793
|
break;
|
|
14756
14794
|
default:
|
|
14757
14795
|
(i = this.plugins).push.apply(i, [cl, zr, Qr]);
|
|
14758
14796
|
}
|
|
14759
|
-
(U.os.isIpad || f === "pc") && this.plugins.push(
|
|
14797
|
+
(U.os.isIpad || f === "pc") && this.plugins.push(Tg), U.os.isIpad && this.plugins.push(zr), this.ignores = [], this.i18n = [];
|
|
14760
14798
|
}), se = /* @__PURE__ */ (function(a) {
|
|
14761
14799
|
L(r, a);
|
|
14762
14800
|
var s = D(r);
|
|
@@ -14765,11 +14803,11 @@ var Ig = /* @__PURE__ */ A(function a(s, r) {
|
|
|
14765
14803
|
}
|
|
14766
14804
|
return A(r);
|
|
14767
14805
|
})(Ii);
|
|
14768
|
-
_(se, "defaultPreset",
|
|
14806
|
+
_(se, "defaultPreset", Ag);
|
|
14769
14807
|
_(se, "Util", h);
|
|
14770
14808
|
_(se, "Sniffer", U);
|
|
14771
14809
|
_(se, "Errors", ri);
|
|
14772
|
-
_(se, "Events",
|
|
14810
|
+
_(se, "Events", td);
|
|
14773
14811
|
_(se, "Plugin", G);
|
|
14774
14812
|
_(se, "BasePlugin", Ye);
|
|
14775
14813
|
_(se, "I18N", yt);
|
|
@@ -14781,7 +14819,7 @@ _(se, "Progress", du);
|
|
|
14781
14819
|
_(se, "FullscreenIcon", fu);
|
|
14782
14820
|
_(se, "CssFullscreenIcon", Qr);
|
|
14783
14821
|
_(se, "VolumeIcon", vu);
|
|
14784
|
-
const
|
|
14822
|
+
const Rg = ["id"], Lg = /* @__PURE__ */ be({
|
|
14785
14823
|
name: "ElImageViewer",
|
|
14786
14824
|
__name: "Player",
|
|
14787
14825
|
props: /* @__PURE__ */ Rt({
|
|
@@ -14879,7 +14917,7 @@ const Pg = ["id"], Ag = /* @__PURE__ */ Se({
|
|
|
14879
14917
|
class: ne(E(f).e("canvas"))
|
|
14880
14918
|
},
|
|
14881
14919
|
[
|
|
14882
|
-
S("div", { id: E(c) }, null, 8,
|
|
14920
|
+
S("div", { id: E(c) }, null, 8, Rg),
|
|
14883
14921
|
X(" CLOSE "),
|
|
14884
14922
|
S(
|
|
14885
14923
|
"span",
|
|
@@ -14915,7 +14953,7 @@ const Pg = ["id"], Ag = /* @__PURE__ */ Se({
|
|
|
14915
14953
|
])) : X("v-if", !0);
|
|
14916
14954
|
};
|
|
14917
14955
|
}
|
|
14918
|
-
}),
|
|
14956
|
+
}), Dg = /* @__PURE__ */ pi(Lg, [["__scopeId", "data-v-b301aa7d"]]), Og = Re(Dg), Mg = { key: 2 }, Fg = /* @__PURE__ */ be({
|
|
14919
14957
|
__name: "IkDescription",
|
|
14920
14958
|
props: {
|
|
14921
14959
|
showIcon: {
|
|
@@ -15002,7 +15040,7 @@ const Pg = ["id"], Ag = /* @__PURE__ */ Se({
|
|
|
15002
15040
|
]),
|
|
15003
15041
|
default: Z(() => [
|
|
15004
15042
|
(x(!0), H(
|
|
15005
|
-
|
|
15043
|
+
Te,
|
|
15006
15044
|
null,
|
|
15007
15045
|
At(o.value, (g) => (x(), re(
|
|
15008
15046
|
f,
|
|
@@ -15052,7 +15090,7 @@ const Pg = ["id"], Ag = /* @__PURE__ */ Se({
|
|
|
15052
15090
|
"show-file-size": !0
|
|
15053
15091
|
}, { ref_for: !0 }, a.previewProps), null, 16, ["list", "field", "load-url"])) : (x(), H(
|
|
15054
15092
|
"span",
|
|
15055
|
-
|
|
15093
|
+
Mg,
|
|
15056
15094
|
me(g[r.value]),
|
|
15057
15095
|
1
|
|
15058
15096
|
/* TEXT */
|
|
@@ -15074,8 +15112,8 @@ const Pg = ["id"], Ag = /* @__PURE__ */ Se({
|
|
|
15074
15112
|
}, 16, ["id"]);
|
|
15075
15113
|
};
|
|
15076
15114
|
}
|
|
15077
|
-
}),
|
|
15115
|
+
}), Ng = /* @__PURE__ */ pi(Fg, [["__scopeId", "data-v-e9542f99"]]), Wg = Re(Ng);
|
|
15078
15116
|
export {
|
|
15079
|
-
|
|
15080
|
-
|
|
15117
|
+
Wg as IkDescriptions,
|
|
15118
|
+
Wg as default
|
|
15081
15119
|
};
|