iking-web-ui-pro 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/IkApprovalProcessDetail/ik.index.es.js +406 -391
- package/dist/IkApprovalProcessDetail/iking-web-ui-pro.css +1 -1
- package/dist/IkDescription/ik.index.es.js +368 -353
- package/dist/IkDescription/iking-web-ui-pro.css +1 -1
- package/dist/IkDetailPreviewFiles/ik.index.es.js +364 -349
- package/dist/IkDetailPreviewFiles/iking-web-ui-pro.css +1 -1
- package/dist/IkPreviewFile/ik.index.es.js +106 -91
- package/dist/IkPreviewFile/iking-web-ui-pro.css +1 -1
- package/dist/IkUploadFile/ik.index.es.js +26 -23
- package/dist/IkUploadFile/iking-web-ui-pro.css +1 -1
- package/dist/iking-web-ui-pro.css +1 -1
- package/dist/index.es.js +420 -402
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as ee, computed as Z, openBlock as k, createElementBlock as w, createElementVNode as b, inject as ft, ref as
|
|
1
|
+
import { defineComponent as ee, computed as Z, openBlock as k, createElementBlock as w, createElementVNode as b, inject as ft, ref as ve, Fragment as ne, createCommentVNode as I, renderList as xe, normalizeStyle as he, toDisplayString as K, unref as P, normalizeClass as Y, createBlock as ce, withModifiers as We, renderSlot as Be, createVNode as $, mergeModels as Tt, useModel as pi, reactive as Pn, watch as at, nextTick as gt, withCtx as re, resolveComponent as ot, mergeProps as vi, createTextVNode as Ke, h as dr, createSlots as gr, getCurrentScope as pr, onScopeDispose as vr, markRaw as Bi, effectScope as mr, shallowRef as yr, onMounted as An, Teleport as Ln, Transition as Dn, resolveDynamicComponent as _r, withDirectives as kr, vShow as Cr } from "vue";
|
|
2
2
|
import { paramType as oi, ikFile as wr, buildUUID as On, ikColor as br, _ as jt, ikDate as Tr } from "iking-utils-pro";
|
|
3
3
|
import { useLocale as Er, useNamespace as Rn, useZIndex as Sr, ElIcon as Re, EVENT_CODE as Je } from "element-plus";
|
|
4
4
|
const Le = (o, a) => (o.install = (r) => {
|
|
@@ -932,15 +932,18 @@ const Ft = (o, a) => {
|
|
|
932
932
|
const r = ["B", "KB", "MB", "GB", "TB"], t = Math.floor(Math.log(o) / Math.log(1024));
|
|
933
933
|
let e = o / Math.pow(1024, t);
|
|
934
934
|
return (e % 1 === 0 ? e.toFixed(a || 0) : e.toFixed(a)) + " " + r[t];
|
|
935
|
-
}, lt = (o, a) => a ? a.startsWith("http") ? a : `${o || location.origin}${a}` : "", os = ["onClick"], ls = {
|
|
935
|
+
}, lt = (o, a) => a ? a.startsWith("http") ? a : `${o || location.origin}${a}` : "", os = ["onClick"], ls = {
|
|
936
|
+
class: "flex",
|
|
937
|
+
style: { width: "100%" }
|
|
938
|
+
}, us = { class: "fileName simple" }, cs = {
|
|
936
939
|
key: 0,
|
|
937
940
|
class: "size",
|
|
938
941
|
style: { "padding-right": "20px" }
|
|
939
|
-
}, fs = ["onClick"], hs = { class: "file-list" }, ds = { class: "
|
|
942
|
+
}, fs = ["onClick"], hs = { class: "file-list" }, ds = { class: "fileName simple" }, gs = {
|
|
940
943
|
key: 0,
|
|
941
944
|
class: "size",
|
|
942
945
|
style: { "padding-right": "20px" }
|
|
943
|
-
},
|
|
946
|
+
}, ps = ["onClick"], vs = { class: "text" }, ms = { class: "fileName" }, ys = { class: "size" }, _s = /* @__PURE__ */ ee({
|
|
944
947
|
__name: "IkPreviewFile",
|
|
945
948
|
props: {
|
|
946
949
|
list: {
|
|
@@ -1042,7 +1045,7 @@ const Ft = (o, a) => {
|
|
|
1042
1045
|
suffix: "suffix",
|
|
1043
1046
|
size: "size",
|
|
1044
1047
|
...r.field
|
|
1045
|
-
})), u =
|
|
1048
|
+
})), u = ve({}), c = ve(!1), f = (v) => {
|
|
1046
1049
|
var m, C;
|
|
1047
1050
|
u.value = {
|
|
1048
1051
|
...v,
|
|
@@ -1088,7 +1091,7 @@ const Ft = (o, a) => {
|
|
|
1088
1091
|
class: "iking-privew-annex simple",
|
|
1089
1092
|
key: O,
|
|
1090
1093
|
onClick: (H) => f(x),
|
|
1091
|
-
style:
|
|
1094
|
+
style: he({ width: p.value })
|
|
1092
1095
|
}, [
|
|
1093
1096
|
b("div", ls, [
|
|
1094
1097
|
b(
|
|
@@ -1146,32 +1149,44 @@ const Ft = (o, a) => {
|
|
|
1146
1149
|
class: "iking-privew-annex simple-icon",
|
|
1147
1150
|
key: O,
|
|
1148
1151
|
onClick: (H) => f(x),
|
|
1149
|
-
style:
|
|
1152
|
+
style: he({ width: p.value })
|
|
1150
1153
|
}, [
|
|
1151
1154
|
b("div", hs, [
|
|
1152
1155
|
I(" 若为默认40,则simple-icon设置为20,否则设置为iconSize "),
|
|
1153
1156
|
$(P(Ui), {
|
|
1154
1157
|
file: x,
|
|
1155
|
-
style:
|
|
1158
|
+
style: he({
|
|
1159
|
+
height: `${o.iconSize === 40 ? 20 : o.iconSize}px`,
|
|
1160
|
+
marginRight: "10px"
|
|
1161
|
+
}),
|
|
1156
1162
|
class: "ikui-w-auto",
|
|
1157
1163
|
fields: l.value
|
|
1158
1164
|
}, null, 8, ["file", "style", "fields"]),
|
|
1159
|
-
b(
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1165
|
+
b(
|
|
1166
|
+
"div",
|
|
1167
|
+
{
|
|
1168
|
+
class: "flex",
|
|
1169
|
+
style: he({ width: `calc(100% - ${o.iconSize + 10}px)` })
|
|
1170
|
+
},
|
|
1171
|
+
[
|
|
1172
|
+
b(
|
|
1173
|
+
"p",
|
|
1174
|
+
ds,
|
|
1175
|
+
K(x.name),
|
|
1176
|
+
1
|
|
1177
|
+
/* TEXT */
|
|
1178
|
+
),
|
|
1179
|
+
o.showFileSize ? (k(), w(
|
|
1180
|
+
"p",
|
|
1181
|
+
gs,
|
|
1182
|
+
K(x.size ? `(${P(Wt)(x.size)})` : ""),
|
|
1183
|
+
1
|
|
1184
|
+
/* TEXT */
|
|
1185
|
+
)) : I("v-if", !0)
|
|
1186
|
+
],
|
|
1187
|
+
4
|
|
1188
|
+
/* STYLE */
|
|
1189
|
+
)
|
|
1175
1190
|
]),
|
|
1176
1191
|
o.showDownloadBtn ? (k(), ce(P(Ge), {
|
|
1177
1192
|
key: 0,
|
|
@@ -1209,7 +1224,7 @@ const Ft = (o, a) => {
|
|
|
1209
1224
|
{
|
|
1210
1225
|
class: Y(["iking-privew-annex", { "is-bg": o.showBg }]),
|
|
1211
1226
|
key: O,
|
|
1212
|
-
style:
|
|
1227
|
+
style: he({
|
|
1213
1228
|
marginBottom: O == ((H = o.list) == null ? void 0 : H.length) - 1 ? "0" : "10px",
|
|
1214
1229
|
width: p.value
|
|
1215
1230
|
})
|
|
@@ -1221,21 +1236,21 @@ const Ft = (o, a) => {
|
|
|
1221
1236
|
}, [
|
|
1222
1237
|
$(P(Ui), {
|
|
1223
1238
|
file: x,
|
|
1224
|
-
style:
|
|
1239
|
+
style: he({ height: `${o.iconSize}px` }),
|
|
1225
1240
|
class: "ikui-w-auto",
|
|
1226
1241
|
fields: l.value
|
|
1227
1242
|
}, null, 8, ["file", "style", "fields"]),
|
|
1228
|
-
b("div",
|
|
1243
|
+
b("div", vs, [
|
|
1229
1244
|
b(
|
|
1230
1245
|
"div",
|
|
1231
|
-
|
|
1246
|
+
ms,
|
|
1232
1247
|
K(x.name),
|
|
1233
1248
|
1
|
|
1234
1249
|
/* TEXT */
|
|
1235
1250
|
),
|
|
1236
1251
|
b(
|
|
1237
1252
|
"div",
|
|
1238
|
-
|
|
1253
|
+
ys,
|
|
1239
1254
|
K(P(Wt)(x.size)),
|
|
1240
1255
|
1
|
|
1241
1256
|
/* TEXT */
|
|
@@ -1270,7 +1285,7 @@ const Ft = (o, a) => {
|
|
|
1270
1285
|
2
|
|
1271
1286
|
/* CLASS */
|
|
1272
1287
|
)
|
|
1273
|
-
], 8,
|
|
1288
|
+
], 8, ps)
|
|
1274
1289
|
],
|
|
1275
1290
|
6
|
|
1276
1291
|
/* CLASS, STYLE */
|
|
@@ -1287,7 +1302,7 @@ const Ft = (o, a) => {
|
|
|
1287
1302
|
64
|
|
1288
1303
|
/* STABLE_FRAGMENT */
|
|
1289
1304
|
)) : I("v-if", !0),
|
|
1290
|
-
$(P(
|
|
1305
|
+
$(P(ws), {
|
|
1291
1306
|
show: c.value,
|
|
1292
1307
|
"onUpdate:show": m[0] || (m[0] = (x) => c.value = x),
|
|
1293
1308
|
loadUrl: P(e),
|
|
@@ -1302,7 +1317,7 @@ const Ft = (o, a) => {
|
|
|
1302
1317
|
);
|
|
1303
1318
|
};
|
|
1304
1319
|
}
|
|
1305
|
-
}),
|
|
1320
|
+
}), ks = Le(_s), Cs = /* @__PURE__ */ ee({
|
|
1306
1321
|
__name: "IkPreviewFileDialog",
|
|
1307
1322
|
props: /* @__PURE__ */ Tt({
|
|
1308
1323
|
file: {
|
|
@@ -1345,7 +1360,7 @@ const Ft = (o, a) => {
|
|
|
1345
1360
|
suffix: "suffix",
|
|
1346
1361
|
size: "fileSize",
|
|
1347
1362
|
...a.field
|
|
1348
|
-
})), e =
|
|
1363
|
+
})), e = ve(null), i = ve(null), n = Pn({
|
|
1349
1364
|
image: !1,
|
|
1350
1365
|
office: !1,
|
|
1351
1366
|
video: !1
|
|
@@ -1405,7 +1420,7 @@ const Ft = (o, a) => {
|
|
|
1405
1420
|
ne,
|
|
1406
1421
|
{ key: 0 },
|
|
1407
1422
|
[
|
|
1408
|
-
(f = i.value) != null && f.url && n.image ? (k(), ce(P(
|
|
1423
|
+
(f = i.value) != null && f.url && n.image ? (k(), ce(P(ra), {
|
|
1409
1424
|
key: 0,
|
|
1410
1425
|
onClose: c[0] || (c[0] = (d) => l()),
|
|
1411
1426
|
ref: "previewImgRef",
|
|
@@ -1415,12 +1430,12 @@ const Ft = (o, a) => {
|
|
|
1415
1430
|
}, null, 8, ["url-list"])) : I("v-if", !0),
|
|
1416
1431
|
I(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
|
|
1417
1432
|
I(" 文档类 "),
|
|
1418
|
-
$(P(
|
|
1433
|
+
$(P(kl), {
|
|
1419
1434
|
modelValue: n.video,
|
|
1420
1435
|
"onUpdate:modelValue": c[1] || (c[1] = (d) => n.video = d),
|
|
1421
1436
|
url: (p = i.value) == null ? void 0 : p.url
|
|
1422
1437
|
}, null, 8, ["modelValue", "url"]),
|
|
1423
|
-
$(P(
|
|
1438
|
+
$(P(Fs), {
|
|
1424
1439
|
modelValue: n.office,
|
|
1425
1440
|
"onUpdate:modelValue": c[2] || (c[2] = (d) => n.office = d),
|
|
1426
1441
|
draggable: "",
|
|
@@ -1438,7 +1453,7 @@ const Ft = (o, a) => {
|
|
|
1438
1453
|
default: re(() => {
|
|
1439
1454
|
var d;
|
|
1440
1455
|
return [
|
|
1441
|
-
$(P(
|
|
1456
|
+
$(P(Vs), {
|
|
1442
1457
|
"config-options": e.value,
|
|
1443
1458
|
"document-server-url": ((d = o.onlyOfficeConfig) == null ? void 0 : d.serverUrl) || o.onlyofficeServer
|
|
1444
1459
|
}, null, 8, ["config-options", "document-server-url"])
|
|
@@ -1453,15 +1468,15 @@ const Ft = (o, a) => {
|
|
|
1453
1468
|
)) : I("v-if", !0);
|
|
1454
1469
|
};
|
|
1455
1470
|
}
|
|
1456
|
-
}),
|
|
1471
|
+
}), ws = Le(Cs), bs = {
|
|
1457
1472
|
key: 1,
|
|
1458
1473
|
class: "h-[1em] w-[1em]",
|
|
1459
1474
|
"aria-hidden": "true"
|
|
1460
|
-
},
|
|
1475
|
+
}, Ts = ["xlink:href"], Es = ["src"], Ss = {
|
|
1461
1476
|
key: 1,
|
|
1462
1477
|
class: "h-[1em] w-[1em]",
|
|
1463
1478
|
"aria-hidden": "true"
|
|
1464
|
-
},
|
|
1479
|
+
}, xs = ["xlink:href"], Is = ["src"], Ps = /* @__PURE__ */ ee({
|
|
1465
1480
|
name: "IkSvgIcon",
|
|
1466
1481
|
__name: "index",
|
|
1467
1482
|
props: {
|
|
@@ -1547,7 +1562,7 @@ const Ft = (o, a) => {
|
|
|
1547
1562
|
active: t.value.active,
|
|
1548
1563
|
disabled: t.value.disabled
|
|
1549
1564
|
}]),
|
|
1550
|
-
style:
|
|
1565
|
+
style: he(i.value),
|
|
1551
1566
|
onClick: s,
|
|
1552
1567
|
onDblclick: c,
|
|
1553
1568
|
onMouseenter: l,
|
|
@@ -1571,15 +1586,15 @@ const Ft = (o, a) => {
|
|
|
1571
1586
|
null,
|
|
1572
1587
|
2
|
|
1573
1588
|
/* CLASS */
|
|
1574
|
-
)) : e.value === "svg" ? (k(), w("svg",
|
|
1589
|
+
)) : e.value === "svg" ? (k(), w("svg", bs, [
|
|
1575
1590
|
b("use", {
|
|
1576
1591
|
"xlink:href": `#${t.value.name}`
|
|
1577
|
-
}, null, 8,
|
|
1592
|
+
}, null, 8, Ts)
|
|
1578
1593
|
])) : e.value === "img" ? (k(), w("img", {
|
|
1579
1594
|
key: 2,
|
|
1580
1595
|
src: t.value.name,
|
|
1581
1596
|
class: "h-[1em] w-[1em]"
|
|
1582
|
-
}, null, 8,
|
|
1597
|
+
}, null, 8, Es)) : (k(), w(
|
|
1583
1598
|
"i",
|
|
1584
1599
|
{
|
|
1585
1600
|
key: 3,
|
|
@@ -1609,15 +1624,15 @@ const Ft = (o, a) => {
|
|
|
1609
1624
|
null,
|
|
1610
1625
|
2
|
|
1611
1626
|
/* CLASS */
|
|
1612
|
-
)) : e.value === "svg" ? (k(), w("svg",
|
|
1627
|
+
)) : e.value === "svg" ? (k(), w("svg", Ss, [
|
|
1613
1628
|
b("use", {
|
|
1614
1629
|
"xlink:href": `#${t.value.name}`
|
|
1615
|
-
}, null, 8,
|
|
1630
|
+
}, null, 8, xs)
|
|
1616
1631
|
])) : e.value === "img" ? (k(), w("img", {
|
|
1617
1632
|
key: 2,
|
|
1618
1633
|
src: t.value.name,
|
|
1619
1634
|
class: "h-[1em] w-[1em]"
|
|
1620
|
-
}, null, 8,
|
|
1635
|
+
}, null, 8, Is)) : (k(), w(
|
|
1621
1636
|
"i",
|
|
1622
1637
|
{
|
|
1623
1638
|
key: 3,
|
|
@@ -1653,11 +1668,11 @@ const Ft = (o, a) => {
|
|
|
1653
1668
|
);
|
|
1654
1669
|
};
|
|
1655
1670
|
}
|
|
1656
|
-
}),
|
|
1671
|
+
}), As = /* @__PURE__ */ Ft(Ps, [["__scopeId", "data-v-d5c74053"]]), Ge = Le(As);
|
|
1657
1672
|
function yi(o) {
|
|
1658
1673
|
return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
|
|
1659
1674
|
}
|
|
1660
|
-
const
|
|
1675
|
+
const Ls = /* @__PURE__ */ ee({
|
|
1661
1676
|
__name: "CloseIcon",
|
|
1662
1677
|
props: {
|
|
1663
1678
|
showBg: {
|
|
@@ -1687,7 +1702,7 @@ const Ds = /* @__PURE__ */ ee({
|
|
|
1687
1702
|
/* CLASS */
|
|
1688
1703
|
));
|
|
1689
1704
|
}
|
|
1690
|
-
}),
|
|
1705
|
+
}), Ds = /* @__PURE__ */ Ft(Ls, [["__scopeId", "data-v-22f2afe8"]]), Os = { class: "base-header" }, Rs = /* @__PURE__ */ ee({
|
|
1691
1706
|
__name: "IkBaseDialog",
|
|
1692
1707
|
props: /* @__PURE__ */ Tt({
|
|
1693
1708
|
title: { default: "" },
|
|
@@ -1708,9 +1723,9 @@ const Ds = /* @__PURE__ */ ee({
|
|
|
1708
1723
|
}),
|
|
1709
1724
|
emits: ["update:modelValue"],
|
|
1710
1725
|
setup(o) {
|
|
1711
|
-
const a = o, r = pi(o, "modelValue"), t =
|
|
1726
|
+
const a = o, r = pi(o, "modelValue"), t = ve(a.fullscreen), e = ee({
|
|
1712
1727
|
setup() {
|
|
1713
|
-
return () => dr(
|
|
1728
|
+
return () => dr(Ds, {
|
|
1714
1729
|
showBg: a.showCloseBg,
|
|
1715
1730
|
fullscreen: a.fullscreen
|
|
1716
1731
|
});
|
|
@@ -1738,7 +1753,7 @@ const Ds = /* @__PURE__ */ ee({
|
|
|
1738
1753
|
])
|
|
1739
1754
|
]),
|
|
1740
1755
|
header: re(() => [
|
|
1741
|
-
b("div",
|
|
1756
|
+
b("div", Os, [
|
|
1742
1757
|
Be(i.$slots, "header", {}, () => [
|
|
1743
1758
|
Ke(
|
|
1744
1759
|
K(i.title),
|
|
@@ -1767,8 +1782,8 @@ const Ds = /* @__PURE__ */ ee({
|
|
|
1767
1782
|
]), 1040, ["modelValue", "close-icon", "class", "fullscreen"]);
|
|
1768
1783
|
};
|
|
1769
1784
|
}
|
|
1770
|
-
}),
|
|
1771
|
-
function
|
|
1785
|
+
}), Fs = Le(Rs);
|
|
1786
|
+
function Ms(o, a, r, t) {
|
|
1772
1787
|
function e(i) {
|
|
1773
1788
|
return i instanceof r ? i : new r(function(n) {
|
|
1774
1789
|
n(i);
|
|
@@ -1795,7 +1810,7 @@ function Ns(o, a, r, t) {
|
|
|
1795
1810
|
u((t = t.apply(o, [])).next());
|
|
1796
1811
|
});
|
|
1797
1812
|
}
|
|
1798
|
-
function
|
|
1813
|
+
function Ns(o, a) {
|
|
1799
1814
|
var r = { label: 0, sent: function() {
|
|
1800
1815
|
if (i[0] & 1) throw i[1];
|
|
1801
1816
|
return i[1];
|
|
@@ -1855,9 +1870,9 @@ function Bs(o, a) {
|
|
|
1855
1870
|
return { value: u[0] ? u[1] : void 0, done: !0 };
|
|
1856
1871
|
}
|
|
1857
1872
|
}
|
|
1858
|
-
var
|
|
1859
|
-
return
|
|
1860
|
-
return
|
|
1873
|
+
var Bs = function(o, a) {
|
|
1874
|
+
return Ms(void 0, void 0, void 0, function() {
|
|
1875
|
+
return Ns(this, function(r) {
|
|
1861
1876
|
return [2, new Promise(function(t, e) {
|
|
1862
1877
|
try {
|
|
1863
1878
|
if (window.DocsAPI)
|
|
@@ -1945,7 +1960,7 @@ var Hs = function(o, a) {
|
|
|
1945
1960
|
var o = this, a = this.documentServerUrl;
|
|
1946
1961
|
a.endsWith("/") || (a += "/");
|
|
1947
1962
|
var r = "".concat(a, "web-apps/apps/api/documents/api.js");
|
|
1948
|
-
|
|
1963
|
+
Bs(r, "onlyoffice-api-script").then(function() {
|
|
1949
1964
|
return o.onLoad();
|
|
1950
1965
|
}).catch(function() {
|
|
1951
1966
|
o.onError(-2);
|
|
@@ -2059,13 +2074,13 @@ var Hs = function(o, a) {
|
|
|
2059
2074
|
}
|
|
2060
2075
|
}
|
|
2061
2076
|
});
|
|
2062
|
-
const
|
|
2063
|
-
function
|
|
2064
|
-
return k(), w("div", { id: o.id }, null, 8,
|
|
2077
|
+
const Hs = ["id"];
|
|
2078
|
+
function Us(o, a, r, t, e, i) {
|
|
2079
|
+
return k(), w("div", { id: o.id }, null, 8, Hs);
|
|
2065
2080
|
}
|
|
2066
|
-
_i.render =
|
|
2081
|
+
_i.render = Us;
|
|
2067
2082
|
_i.__file = "src/components/DocumentEditor.vue";
|
|
2068
|
-
const
|
|
2083
|
+
const zs = /* @__PURE__ */ ee({
|
|
2069
2084
|
__name: "IkOnlyOffice",
|
|
2070
2085
|
props: {
|
|
2071
2086
|
// 文件服务器的服务的地址
|
|
@@ -2086,7 +2101,7 @@ const Vs = /* @__PURE__ */ ee({
|
|
|
2086
2101
|
}
|
|
2087
2102
|
},
|
|
2088
2103
|
setup(o) {
|
|
2089
|
-
const a = o, r =
|
|
2104
|
+
const a = o, r = ve({
|
|
2090
2105
|
width: "100%",
|
|
2091
2106
|
height: "100%",
|
|
2092
2107
|
...a.configOptions || {},
|
|
@@ -2097,7 +2112,7 @@ const Vs = /* @__PURE__ */ ee({
|
|
|
2097
2112
|
return (e, i) => (k(), w(
|
|
2098
2113
|
"div",
|
|
2099
2114
|
{
|
|
2100
|
-
style:
|
|
2115
|
+
style: he({ height: a.officeHeight })
|
|
2101
2116
|
},
|
|
2102
2117
|
[
|
|
2103
2118
|
$(P(_i), {
|
|
@@ -2112,39 +2127,39 @@ const Vs = /* @__PURE__ */ ee({
|
|
|
2112
2127
|
/* STYLE */
|
|
2113
2128
|
));
|
|
2114
2129
|
}
|
|
2115
|
-
}),
|
|
2130
|
+
}), Vs = Le(zs);
|
|
2116
2131
|
var ji;
|
|
2117
|
-
const Mn = typeof window < "u",
|
|
2132
|
+
const Mn = typeof window < "u", js = (o) => typeof o == "string", Ws = () => {
|
|
2118
2133
|
};
|
|
2119
2134
|
Mn && ((ji = window == null ? void 0 : window.navigator) != null && ji.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
2120
2135
|
function Nn(o) {
|
|
2121
2136
|
return typeof o == "function" ? o() : P(o);
|
|
2122
2137
|
}
|
|
2123
|
-
function
|
|
2138
|
+
function Gs(o) {
|
|
2124
2139
|
return o;
|
|
2125
2140
|
}
|
|
2126
|
-
function
|
|
2141
|
+
function $s(o) {
|
|
2127
2142
|
return pr() ? (vr(o), !0) : !1;
|
|
2128
2143
|
}
|
|
2129
|
-
function
|
|
2144
|
+
function Ks(o) {
|
|
2130
2145
|
var a;
|
|
2131
2146
|
const r = Nn(o);
|
|
2132
2147
|
return (a = r == null ? void 0 : r.$el) != null ? a : r;
|
|
2133
2148
|
}
|
|
2134
|
-
const
|
|
2149
|
+
const Ys = Mn ? window : void 0;
|
|
2135
2150
|
function yt(...o) {
|
|
2136
2151
|
let a, r, t, e;
|
|
2137
|
-
if (
|
|
2138
|
-
return
|
|
2152
|
+
if (js(o[0]) || Array.isArray(o[0]) ? ([r, t, e] = o, a = Ys) : [a, r, t, e] = o, !a)
|
|
2153
|
+
return Ws;
|
|
2139
2154
|
Array.isArray(r) || (r = [r]), Array.isArray(t) || (t = [t]);
|
|
2140
2155
|
const i = [], n = () => {
|
|
2141
2156
|
i.forEach((c) => c()), i.length = 0;
|
|
2142
|
-
}, s = (c, f, g, p) => (c.addEventListener(f, g, p), () => c.removeEventListener(f, g, p)), l = at(() => [
|
|
2157
|
+
}, s = (c, f, g, p) => (c.addEventListener(f, g, p), () => c.removeEventListener(f, g, p)), l = at(() => [Ks(a), Nn(e)], ([c, f]) => {
|
|
2143
2158
|
n(), c && i.push(...r.flatMap((g) => t.map((p) => s(c, g, p, f))));
|
|
2144
2159
|
}, { immediate: !0, flush: "post" }), u = () => {
|
|
2145
2160
|
l(), n();
|
|
2146
2161
|
};
|
|
2147
|
-
return
|
|
2162
|
+
return $s(u), u;
|
|
2148
2163
|
}
|
|
2149
2164
|
const Wi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Gi = "__vueuse_ssr_handlers__";
|
|
2150
2165
|
Wi[Gi] = Wi[Gi] || {};
|
|
@@ -2152,15 +2167,15 @@ var $i;
|
|
|
2152
2167
|
(function(o) {
|
|
2153
2168
|
o.UP = "UP", o.RIGHT = "RIGHT", o.DOWN = "DOWN", o.LEFT = "LEFT", o.NONE = "NONE";
|
|
2154
2169
|
})($i || ($i = {}));
|
|
2155
|
-
var
|
|
2170
|
+
var Xs = Object.defineProperty, Ki = Object.getOwnPropertySymbols, qs = Object.prototype.hasOwnProperty, Zs = Object.prototype.propertyIsEnumerable, Yi = (o, a, r) => a in o ? Xs(o, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : o[a] = r, Js = (o, a) => {
|
|
2156
2171
|
for (var r in a)
|
|
2157
|
-
|
|
2172
|
+
qs.call(a, r) && Yi(o, r, a[r]);
|
|
2158
2173
|
if (Ki)
|
|
2159
2174
|
for (var r of Ki(a))
|
|
2160
|
-
|
|
2175
|
+
Zs.call(a, r) && Yi(o, r, a[r]);
|
|
2161
2176
|
return o;
|
|
2162
2177
|
};
|
|
2163
|
-
const
|
|
2178
|
+
const Qs = {
|
|
2164
2179
|
easeInSine: [0.12, 0, 0.39, 0],
|
|
2165
2180
|
easeOutSine: [0.61, 1, 0.88, 1],
|
|
2166
2181
|
easeInOutSine: [0.37, 0, 0.63, 1],
|
|
@@ -2186,10 +2201,10 @@ const ea = {
|
|
|
2186
2201
|
easeOutBack: [0.34, 1.56, 0.64, 1],
|
|
2187
2202
|
easeInOutBack: [0.68, -0.6, 0.32, 1.6]
|
|
2188
2203
|
};
|
|
2189
|
-
|
|
2190
|
-
linear:
|
|
2191
|
-
},
|
|
2192
|
-
const
|
|
2204
|
+
Js({
|
|
2205
|
+
linear: Gs
|
|
2206
|
+
}, Qs);
|
|
2207
|
+
const ea = {
|
|
2193
2208
|
/**
|
|
2194
2209
|
* @description preview link list.
|
|
2195
2210
|
*/
|
|
@@ -2259,15 +2274,15 @@ const ta = {
|
|
|
2259
2274
|
crossorigin: {
|
|
2260
2275
|
type: ["anonymous", "use-credentials", ""]
|
|
2261
2276
|
}
|
|
2262
|
-
},
|
|
2277
|
+
}, ta = {
|
|
2263
2278
|
close: () => !0,
|
|
2264
2279
|
switch: (o) => oi.isNumber(o),
|
|
2265
2280
|
rotate: (o) => oi.isNumber(o)
|
|
2266
|
-
},
|
|
2281
|
+
}, ia = ["src", "crossorigin"], na = /* @__PURE__ */ ee({
|
|
2267
2282
|
name: "ElImageViewer",
|
|
2268
2283
|
__name: "IkImageViewer",
|
|
2269
|
-
props:
|
|
2270
|
-
emits:
|
|
2284
|
+
props: ea,
|
|
2285
|
+
emits: ta,
|
|
2271
2286
|
setup(o, { expose: a, emit: r }) {
|
|
2272
2287
|
const t = (U) => Object.keys(U), e = {
|
|
2273
2288
|
CONTAIN: {
|
|
@@ -2278,13 +2293,13 @@ const ta = {
|
|
|
2278
2293
|
name: "original",
|
|
2279
2294
|
icon: Bi(es)
|
|
2280
2295
|
}
|
|
2281
|
-
}, i = o, n = r, { t: s } = Er(), l = Rn("image-viewer"), { nextZIndex: u } = Sr(), c =
|
|
2296
|
+
}, i = o, n = r, { t: s } = Er(), l = Rn("image-viewer"), { nextZIndex: u } = Sr(), c = ve(), f = ve([]), g = mr(), p = ve(!0), d = ve(i.initialIndex), v = yr(e.CONTAIN), m = ve({
|
|
2282
2297
|
scale: 1,
|
|
2283
2298
|
deg: 0,
|
|
2284
2299
|
offsetX: 0,
|
|
2285
2300
|
offsetY: 0,
|
|
2286
2301
|
enableTransition: !1
|
|
2287
|
-
}), C =
|
|
2302
|
+
}), C = ve(i.zIndex ?? u()), T = Z(() => {
|
|
2288
2303
|
const { urlList: U } = i;
|
|
2289
2304
|
return U.length <= 1;
|
|
2290
2305
|
}), E = Z(() => d.value === 0), x = Z(() => d.value === i.urlList.length - 1), O = Z(() => i.urlList[d.value]), H = Z(() => [
|
|
@@ -2451,7 +2466,7 @@ const ta = {
|
|
|
2451
2466
|
ref: c,
|
|
2452
2467
|
tabindex: -1,
|
|
2453
2468
|
class: Y(P(l).e("wrapper")),
|
|
2454
|
-
style:
|
|
2469
|
+
style: he({ zIndex: C.value })
|
|
2455
2470
|
},
|
|
2456
2471
|
[
|
|
2457
2472
|
b(
|
|
@@ -2625,13 +2640,13 @@ const ta = {
|
|
|
2625
2640
|
ref: (ke) => f.value[me] = ke,
|
|
2626
2641
|
key: J,
|
|
2627
2642
|
src: J,
|
|
2628
|
-
style:
|
|
2643
|
+
style: he(te.value),
|
|
2629
2644
|
class: Y(P(l).e("img")),
|
|
2630
2645
|
crossorigin: U.crossorigin,
|
|
2631
2646
|
onLoad: ae,
|
|
2632
2647
|
onError: fe,
|
|
2633
2648
|
onMousedown: Ee
|
|
2634
|
-
}, null, 46,
|
|
2649
|
+
}, null, 46, ia)), [
|
|
2635
2650
|
[Cr, me === d.value]
|
|
2636
2651
|
])),
|
|
2637
2652
|
128
|
|
@@ -2652,7 +2667,7 @@ const ta = {
|
|
|
2652
2667
|
})
|
|
2653
2668
|
]));
|
|
2654
2669
|
}
|
|
2655
|
-
}),
|
|
2670
|
+
}), ra = Le(na);
|
|
2656
2671
|
function Xi(o, a) {
|
|
2657
2672
|
var r = Object.keys(o);
|
|
2658
2673
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -2728,7 +2743,7 @@ function ui(o, a) {
|
|
|
2728
2743
|
return t.__proto__ = e, t;
|
|
2729
2744
|
}, ui(o, a);
|
|
2730
2745
|
}
|
|
2731
|
-
function
|
|
2746
|
+
function sa() {
|
|
2732
2747
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
2733
2748
|
return !1;
|
|
2734
2749
|
if (typeof Proxy == "function")
|
|
@@ -2753,7 +2768,7 @@ function ki(o, a) {
|
|
|
2753
2768
|
return y(o);
|
|
2754
2769
|
}
|
|
2755
2770
|
function M(o) {
|
|
2756
|
-
var a =
|
|
2771
|
+
var a = sa();
|
|
2757
2772
|
return function() {
|
|
2758
2773
|
var t = N(o), e;
|
|
2759
2774
|
if (a) {
|
|
@@ -2764,14 +2779,14 @@ function M(o) {
|
|
|
2764
2779
|
return ki(this, e);
|
|
2765
2780
|
};
|
|
2766
2781
|
}
|
|
2767
|
-
function
|
|
2782
|
+
function aa(o, a) {
|
|
2768
2783
|
for (; !Object.prototype.hasOwnProperty.call(o, a) && (o = N(o), o !== null); )
|
|
2769
2784
|
;
|
|
2770
2785
|
return o;
|
|
2771
2786
|
}
|
|
2772
2787
|
function B() {
|
|
2773
2788
|
return typeof Reflect < "u" && Reflect.get ? B = Reflect.get.bind() : B = function(a, r, t) {
|
|
2774
|
-
var e =
|
|
2789
|
+
var e = aa(a, r);
|
|
2775
2790
|
if (e) {
|
|
2776
2791
|
var i = Object.getOwnPropertyDescriptor(e, r);
|
|
2777
2792
|
return i.get ? i.get.call(arguments.length < 3 ? a : t) : i.value;
|
|
@@ -2779,17 +2794,17 @@ function B() {
|
|
|
2779
2794
|
}, B.apply(this, arguments);
|
|
2780
2795
|
}
|
|
2781
2796
|
function ye(o) {
|
|
2782
|
-
return
|
|
2797
|
+
return oa(o) || la(o) || ua(o) || ca();
|
|
2783
2798
|
}
|
|
2784
|
-
function
|
|
2799
|
+
function oa(o) {
|
|
2785
2800
|
if (Array.isArray(o))
|
|
2786
2801
|
return ci(o);
|
|
2787
2802
|
}
|
|
2788
|
-
function
|
|
2803
|
+
function la(o) {
|
|
2789
2804
|
if (typeof Symbol < "u" && o[Symbol.iterator] != null || o["@@iterator"] != null)
|
|
2790
2805
|
return Array.from(o);
|
|
2791
2806
|
}
|
|
2792
|
-
function
|
|
2807
|
+
function ua(o, a) {
|
|
2793
2808
|
if (o) {
|
|
2794
2809
|
if (typeof o == "string")
|
|
2795
2810
|
return ci(o, a);
|
|
@@ -2806,11 +2821,11 @@ function ci(o, a) {
|
|
|
2806
2821
|
t[r] = o[r];
|
|
2807
2822
|
return t;
|
|
2808
2823
|
}
|
|
2809
|
-
function
|
|
2824
|
+
function ca() {
|
|
2810
2825
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2811
2826
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2812
2827
|
}
|
|
2813
|
-
function
|
|
2828
|
+
function fa(o, a) {
|
|
2814
2829
|
if (typeof o != "object" || o === null)
|
|
2815
2830
|
return o;
|
|
2816
2831
|
var r = o[Symbol.toPrimitive];
|
|
@@ -2823,11 +2838,11 @@ function ha(o, a) {
|
|
|
2823
2838
|
return (a === "string" ? String : Number)(o);
|
|
2824
2839
|
}
|
|
2825
2840
|
function Bn(o) {
|
|
2826
|
-
var a =
|
|
2841
|
+
var a = fa(o, "string");
|
|
2827
2842
|
return typeof a == "symbol" ? a : String(a);
|
|
2828
2843
|
}
|
|
2829
2844
|
var Gt = { exports: {} }, Zi;
|
|
2830
|
-
function
|
|
2845
|
+
function ha() {
|
|
2831
2846
|
return Zi || (Zi = 1, function(o) {
|
|
2832
2847
|
var a = Object.prototype.hasOwnProperty, r = "~";
|
|
2833
2848
|
function t() {
|
|
@@ -2933,15 +2948,15 @@ function da() {
|
|
|
2933
2948
|
}, s.prototype.off = s.prototype.removeListener, s.prototype.addListener = s.prototype.on, s.prefixed = r, s.EventEmitter = s, o.exports = s;
|
|
2934
2949
|
}(Gt)), Gt.exports;
|
|
2935
2950
|
}
|
|
2936
|
-
var Hn =
|
|
2951
|
+
var Hn = ha();
|
|
2937
2952
|
const Un = /* @__PURE__ */ yi(Hn);
|
|
2938
|
-
var
|
|
2953
|
+
var da = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, $t = {
|
|
2939
2954
|
info: "color: #525252; background-color: #90ee90;",
|
|
2940
2955
|
error: "color: #525252; background-color: red;",
|
|
2941
2956
|
warn: "color: #525252; background-color: yellow; "
|
|
2942
2957
|
}, Kt = "%c[xgplayer]", V = {
|
|
2943
2958
|
config: {
|
|
2944
|
-
debug:
|
|
2959
|
+
debug: da ? 3 : 0
|
|
2945
2960
|
},
|
|
2946
2961
|
logInfo: function(a) {
|
|
2947
2962
|
for (var r, t = arguments.length, e = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
|
|
@@ -2962,10 +2977,10 @@ var ga = typeof window < "u" && window.location && window.location.href.indexOf(
|
|
|
2962
2977
|
}
|
|
2963
2978
|
}
|
|
2964
2979
|
};
|
|
2965
|
-
function
|
|
2980
|
+
function ga(o) {
|
|
2966
2981
|
o.logInfo = V.logInfo.bind(o), o.logWarn = V.logWarn.bind(o), o.logError = V.logError.bind(o);
|
|
2967
2982
|
}
|
|
2968
|
-
var
|
|
2983
|
+
var pa = /* @__PURE__ */ function() {
|
|
2969
2984
|
function o(a) {
|
|
2970
2985
|
L(this, o), this.bufferedList = a;
|
|
2971
2986
|
}
|
|
@@ -3210,7 +3225,7 @@ h.setStyleFromCsstext = function(o, a) {
|
|
|
3210
3225
|
o.style[t] = a[t];
|
|
3211
3226
|
});
|
|
3212
3227
|
};
|
|
3213
|
-
function
|
|
3228
|
+
function va(o, a) {
|
|
3214
3229
|
for (var r = 0, t = a.length; r < t; r++)
|
|
3215
3230
|
if (o.indexOf(a[r]) > -1)
|
|
3216
3231
|
return !0;
|
|
@@ -3224,7 +3239,7 @@ h.filterStyleFromText = function(o) {
|
|
|
3224
3239
|
return t.map(function(n) {
|
|
3225
3240
|
if (n) {
|
|
3226
3241
|
var s = n.split(":");
|
|
3227
|
-
s.length > 1 && (
|
|
3242
|
+
s.length > 1 && (va(s[0], a) ? e[s[0]] = s[1] : i[s[0]] = s[1]);
|
|
3228
3243
|
}
|
|
3229
3244
|
}), o.setAttribute("style", ""), Object.keys(i).map(function(n) {
|
|
3230
3245
|
o.style[n] = i[n];
|
|
@@ -3289,7 +3304,7 @@ h.getBuffered2 = function(o) {
|
|
|
3289
3304
|
}
|
|
3290
3305
|
else
|
|
3291
3306
|
e = r;
|
|
3292
|
-
return new
|
|
3307
|
+
return new pa(e);
|
|
3293
3308
|
};
|
|
3294
3309
|
h.getEventPos = function(o) {
|
|
3295
3310
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
|
|
@@ -3413,7 +3428,7 @@ function zn(o) {
|
|
|
3413
3428
|
var a = le(o);
|
|
3414
3429
|
return o !== null && (a === "object" || a === "function");
|
|
3415
3430
|
}
|
|
3416
|
-
function
|
|
3431
|
+
function ma(o, a, r) {
|
|
3417
3432
|
var t, e, i, n, s, l, u = 0, c = !1, f = !1, g = !0, p = !a && a !== 0 && typeof window.requestAnimationFrame == "function";
|
|
3418
3433
|
if (typeof o != "function")
|
|
3419
3434
|
throw new TypeError("Expected a function");
|
|
@@ -3472,21 +3487,21 @@ function ya(o, a, r) {
|
|
|
3472
3487
|
}
|
|
3473
3488
|
return q.cancel = H, q.flush = R, q.pending = te, q;
|
|
3474
3489
|
}
|
|
3475
|
-
function
|
|
3490
|
+
function ya(o, a, r) {
|
|
3476
3491
|
var t = !0, e = !0;
|
|
3477
3492
|
if (typeof o != "function")
|
|
3478
3493
|
throw new TypeError("Expected a function");
|
|
3479
|
-
return zn(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e),
|
|
3494
|
+
return zn(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e), ma(o, a, {
|
|
3480
3495
|
leading: t,
|
|
3481
3496
|
trailing: e,
|
|
3482
3497
|
maxWait: a
|
|
3483
3498
|
});
|
|
3484
3499
|
}
|
|
3485
|
-
function
|
|
3500
|
+
function _a() {
|
|
3486
3501
|
var o = (document.documentElement.getAttribute("lang") || navigator.language || "zh-cn").toLocaleLowerCase();
|
|
3487
3502
|
return o === "zh-cn" && (o = "zh"), o;
|
|
3488
3503
|
}
|
|
3489
|
-
function
|
|
3504
|
+
function ka(o, a, r) {
|
|
3490
3505
|
if (o) {
|
|
3491
3506
|
var t = o.getAttribute(r);
|
|
3492
3507
|
return !!(t && t === a && (o.tagName === "VIDEO" || o.tagName === "AUDIO"));
|
|
@@ -3495,7 +3510,7 @@ function Ca(o, a, r) {
|
|
|
3495
3510
|
var Ji = {
|
|
3496
3511
|
android: /(Android)\s([\d.]+)/,
|
|
3497
3512
|
ios: /(Version)\/([\d.]+)/
|
|
3498
|
-
},
|
|
3513
|
+
}, Ca = ["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"], z = {
|
|
3499
3514
|
get device() {
|
|
3500
3515
|
var o = z.os;
|
|
3501
3516
|
return o.isPc ? "pc" : "mobile";
|
|
@@ -3558,7 +3573,7 @@ var Ji = {
|
|
|
3558
3573
|
if (this.supportResult)
|
|
3559
3574
|
return this.supportResult;
|
|
3560
3575
|
var r = document.createElement("video");
|
|
3561
|
-
return typeof r.canPlayType == "function" &&
|
|
3576
|
+
return typeof r.canPlayType == "function" && Ca.map(function(t) {
|
|
3562
3577
|
r.canPlayType('video/mp4; codecs="'.concat(t, '"')) === "probably" && (a.isSupport = !0, a.mime += "||".concat(t));
|
|
3563
3578
|
}), this.supportResult = a, r = null, a;
|
|
3564
3579
|
},
|
|
@@ -3653,21 +3668,21 @@ var Ji = {
|
|
|
3653
3668
|
return v.ex = t ? (t[arguments[0]] || {}).msg : "", v;
|
|
3654
3669
|
}
|
|
3655
3670
|
}
|
|
3656
|
-
),
|
|
3671
|
+
), pe = "play", Ci = "playing", Xe = "ended", ut = "pause", vt = "error", Mt = "seeking", Pe = "seeked", ge = "timeupdate", mt = "waiting", Ie = "canplay", wa = "canplaythrough", De = "durationchange", Vn = "volumechange", Ae = "loadeddata", ba = "loadedmetadata", jn = "ratechange", Wn = "progress", wi = "loadstart", qe = "emptied", Ta = "stalled", Ea = "suspend", Sa = "abort", xa = "bufferedChange", bi = "focus", Gn = "blur", Ti = "ready", $n = "urlNull", Ye = "autoplay_started", Ei = "autoplay_was_prevented", Nt = "complete", St = "replay", Si = "destroy", Bt = "urlchange", hi = "download_speed_change", Kn = "leaveplayer", Yn = "enterplayer", Xn = "loading", Se = "fullscreen_change", xt = "cssFullscreen_change", It = "mini_state_change", xi = "definition_change", Ia = "before_definition_change", di = "after_definition_change", Pa = "SEI_PARSED", Aa = "retry", He = "video_resize", gi = "pip_change", qn = "rotate", Zn = "screenShot", Pt = "playnext", Jn = "shortcut", Qn = "xglog", At = "user_action", Ht = "reset", er = "source_error", tr = "source_success", La = "switch_subtitle", ir = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], nr = {
|
|
3657
3672
|
STATS_INFO: "stats_info",
|
|
3658
3673
|
STATS_DOWNLOAD: "stats_download",
|
|
3659
3674
|
STATS_RESET: "stats_reset"
|
|
3660
3675
|
}, rr = "fps_stuck";
|
|
3661
|
-
const
|
|
3676
|
+
const Da = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3662
3677
|
__proto__: null,
|
|
3663
|
-
ABORT:
|
|
3678
|
+
ABORT: Sa,
|
|
3664
3679
|
AFTER_DEFINITION_CHANGE: di,
|
|
3665
3680
|
AUTOPLAY_PREVENTED: Ei,
|
|
3666
3681
|
AUTOPLAY_STARTED: Ye,
|
|
3667
|
-
BEFORE_DEFINITION_CHANGE:
|
|
3668
|
-
BUFFER_CHANGE:
|
|
3682
|
+
BEFORE_DEFINITION_CHANGE: Ia,
|
|
3683
|
+
BUFFER_CHANGE: xa,
|
|
3669
3684
|
CANPLAY: Ie,
|
|
3670
|
-
CANPLAY_THROUGH:
|
|
3685
|
+
CANPLAY_THROUGH: wa,
|
|
3671
3686
|
COMPLETE: Nt,
|
|
3672
3687
|
CSS_FULLSCREEN_CHANGE: xt,
|
|
3673
3688
|
DEFINITION_CHANGE: xi,
|
|
@@ -3682,13 +3697,13 @@ const Oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3682
3697
|
FULLSCREEN_CHANGE: Se,
|
|
3683
3698
|
LEAVE_PLAYER: Kn,
|
|
3684
3699
|
LOADED_DATA: Ae,
|
|
3685
|
-
LOADED_METADATA:
|
|
3700
|
+
LOADED_METADATA: ba,
|
|
3686
3701
|
LOADING: Xn,
|
|
3687
3702
|
LOAD_START: wi,
|
|
3688
3703
|
MINI_STATE_CHANGE: It,
|
|
3689
3704
|
PAUSE: ut,
|
|
3690
3705
|
PIP_CHANGE: gi,
|
|
3691
|
-
PLAY:
|
|
3706
|
+
PLAY: pe,
|
|
3692
3707
|
PLAYER_BLUR: Gn,
|
|
3693
3708
|
PLAYER_FOCUS: bi,
|
|
3694
3709
|
PLAYING: Ci,
|
|
@@ -3698,20 +3713,20 @@ const Oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3698
3713
|
READY: Ti,
|
|
3699
3714
|
REPLAY: St,
|
|
3700
3715
|
RESET: Ht,
|
|
3701
|
-
RETRY:
|
|
3716
|
+
RETRY: Aa,
|
|
3702
3717
|
ROTATE: qn,
|
|
3703
3718
|
SCREEN_SHOT: Zn,
|
|
3704
3719
|
SEEKED: Pe,
|
|
3705
3720
|
SEEKING: Mt,
|
|
3706
|
-
SEI_PARSED:
|
|
3721
|
+
SEI_PARSED: Pa,
|
|
3707
3722
|
SHORTCUT: Jn,
|
|
3708
3723
|
SOURCE_ERROR: er,
|
|
3709
3724
|
SOURCE_SUCCESS: tr,
|
|
3710
|
-
STALLED:
|
|
3725
|
+
STALLED: Ta,
|
|
3711
3726
|
STATS_EVENTS: nr,
|
|
3712
|
-
SUSPEND:
|
|
3713
|
-
SWITCH_SUBTITLE:
|
|
3714
|
-
TIME_UPDATE:
|
|
3727
|
+
SUSPEND: Ea,
|
|
3728
|
+
SWITCH_SUBTITLE: La,
|
|
3729
|
+
TIME_UPDATE: ge,
|
|
3715
3730
|
URL_CHANGE: Bt,
|
|
3716
3731
|
URL_NULL: $n,
|
|
3717
3732
|
USER_ACTION: At,
|
|
@@ -3724,7 +3739,7 @@ const Oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3724
3739
|
function Yt(o, a) {
|
|
3725
3740
|
!this || !this.emit || (o === "error" ? this.errorHandler(o, a.error) : this.emit(o, a));
|
|
3726
3741
|
}
|
|
3727
|
-
function
|
|
3742
|
+
function Oa(o, a) {
|
|
3728
3743
|
return function(r, t) {
|
|
3729
3744
|
var e = {
|
|
3730
3745
|
player: a,
|
|
@@ -3759,7 +3774,7 @@ function Ra(o, a) {
|
|
|
3759
3774
|
Yt.call(a, o, e);
|
|
3760
3775
|
};
|
|
3761
3776
|
}
|
|
3762
|
-
var
|
|
3777
|
+
var Ra = /* @__PURE__ */ function(o) {
|
|
3763
3778
|
F(r, o);
|
|
3764
3779
|
var a = M(r);
|
|
3765
3780
|
function r(t) {
|
|
@@ -3803,7 +3818,7 @@ var Fa = /* @__PURE__ */ function(o) {
|
|
|
3803
3818
|
var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.media;
|
|
3804
3819
|
this._evHandlers || (this._evHandlers = ir.map(function(n) {
|
|
3805
3820
|
var s = "on".concat(n.charAt(0).toUpperCase()).concat(n.slice(1));
|
|
3806
|
-
return typeof e[s] == "function" && e.on(n, e[s]), _({}, n,
|
|
3821
|
+
return typeof e[s] == "function" && e.on(n, e[s]), _({}, n, Oa(n, e));
|
|
3807
3822
|
})), this._evHandlers.forEach(function(n) {
|
|
3808
3823
|
var s = Object.keys(n)[0];
|
|
3809
3824
|
i.addEventListener(s, n[s], !1);
|
|
@@ -4177,7 +4192,7 @@ var Fa = /* @__PURE__ */ function(o) {
|
|
|
4177
4192
|
B(N(r.prototype), "removeAllListeners", this).call(this);
|
|
4178
4193
|
}
|
|
4179
4194
|
}]), r;
|
|
4180
|
-
}(Un),
|
|
4195
|
+
}(Un), Fa = /* @__PURE__ */ function() {
|
|
4181
4196
|
function o() {
|
|
4182
4197
|
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
|
4183
4198
|
name: "xgplayer",
|
|
@@ -4573,7 +4588,7 @@ var Ue = /* @__PURE__ */ function() {
|
|
|
4573
4588
|
}
|
|
4574
4589
|
}]), o;
|
|
4575
4590
|
}(), qt, on;
|
|
4576
|
-
function
|
|
4591
|
+
function Ma() {
|
|
4577
4592
|
if (on) return qt;
|
|
4578
4593
|
on = 1;
|
|
4579
4594
|
var o = 9;
|
|
@@ -4591,10 +4606,10 @@ function Na() {
|
|
|
4591
4606
|
return qt = r, qt;
|
|
4592
4607
|
}
|
|
4593
4608
|
var Zt, ln;
|
|
4594
|
-
function
|
|
4609
|
+
function Na() {
|
|
4595
4610
|
if (ln) return Zt;
|
|
4596
4611
|
ln = 1;
|
|
4597
|
-
var o =
|
|
4612
|
+
var o = Ma();
|
|
4598
4613
|
function a(e, i, n, s, l) {
|
|
4599
4614
|
var u = t.apply(this, arguments);
|
|
4600
4615
|
return e.addEventListener(n, u, l), {
|
|
@@ -4615,9 +4630,9 @@ function Ba() {
|
|
|
4615
4630
|
}
|
|
4616
4631
|
return Zt = r, Zt;
|
|
4617
4632
|
}
|
|
4618
|
-
var
|
|
4619
|
-
const un = /* @__PURE__ */ yi(
|
|
4620
|
-
var
|
|
4633
|
+
var Ba = Na();
|
|
4634
|
+
const un = /* @__PURE__ */ yi(Ba);
|
|
4635
|
+
var Ha = {
|
|
4621
4636
|
CONTROLS: "controls",
|
|
4622
4637
|
ROOT: "root"
|
|
4623
4638
|
}, X = {
|
|
@@ -4637,10 +4652,10 @@ var Ua = {
|
|
|
4637
4652
|
function Jt(o) {
|
|
4638
4653
|
return o ? o.indexOf && /^(?:http|data:|\/)/.test(o) : !1;
|
|
4639
4654
|
}
|
|
4640
|
-
function
|
|
4655
|
+
function Ua(o, a) {
|
|
4641
4656
|
return le(o) === "object" && o.class && typeof o.class == "string" ? "".concat(a, " ").concat(o.class) : a;
|
|
4642
4657
|
}
|
|
4643
|
-
function
|
|
4658
|
+
function za(o, a) {
|
|
4644
4659
|
return le(o) === "object" && o.attr && le(o.attr) === "object" && Object.keys(o.attr).map(function(r) {
|
|
4645
4660
|
a[r] = o.attr[r];
|
|
4646
4661
|
}), a;
|
|
@@ -4663,14 +4678,14 @@ function fn(o, a) {
|
|
|
4663
4678
|
}
|
|
4664
4679
|
return typeof o == "string" ? h.createDomFromHtml(o, t, r) : (V.logWarn("warn>>icons.".concat(a, " in config of plugin named [").concat(e, "] is invalid")), null);
|
|
4665
4680
|
}
|
|
4666
|
-
function
|
|
4681
|
+
function Va(o, a) {
|
|
4667
4682
|
var r = a.config.icons || a.playerConfig.icons;
|
|
4668
4683
|
Object.keys(o).map(function(t) {
|
|
4669
4684
|
var e = o[t], i = e && e.class ? e.class : "", n = e && e.attr ? e.attr : {}, s = null;
|
|
4670
|
-
r && r[t] && (i =
|
|
4685
|
+
r && r[t] && (i = Ua(r[t], i), n = za(r[t], n), s = fn(r[t], t, i, n, a.pluginName)), !s && e && (s = fn(e.icon ? e.icon : e, n, i, {}, a.pluginName)), a.icons[t] = s;
|
|
4671
4686
|
});
|
|
4672
4687
|
}
|
|
4673
|
-
function
|
|
4688
|
+
function ja(o, a) {
|
|
4674
4689
|
Object.keys(o).map(function(r) {
|
|
4675
4690
|
Object.defineProperty(a.langText, r, {
|
|
4676
4691
|
get: function() {
|
|
@@ -4694,9 +4709,9 @@ var W = /* @__PURE__ */ function(o) {
|
|
|
4694
4709
|
var i = e.root, n = null;
|
|
4695
4710
|
this.icons = {}, this.root = null, this.parent = null;
|
|
4696
4711
|
var s = this.registerIcons() || {};
|
|
4697
|
-
|
|
4712
|
+
Va(s, this), this.langText = {};
|
|
4698
4713
|
var l = this.registerLanguageTexts() || {};
|
|
4699
|
-
|
|
4714
|
+
ja(l, this);
|
|
4700
4715
|
var u = "";
|
|
4701
4716
|
try {
|
|
4702
4717
|
u = this.render();
|
|
@@ -4964,7 +4979,7 @@ var W = /* @__PURE__ */ function(o) {
|
|
|
4964
4979
|
}, {
|
|
4965
4980
|
key: "ROOT_TYPES",
|
|
4966
4981
|
get: function() {
|
|
4967
|
-
return
|
|
4982
|
+
return Ha;
|
|
4968
4983
|
}
|
|
4969
4984
|
}, {
|
|
4970
4985
|
key: "POSITIONS",
|
|
@@ -4972,7 +4987,7 @@ var W = /* @__PURE__ */ function(o) {
|
|
|
4972
4987
|
return X;
|
|
4973
4988
|
}
|
|
4974
4989
|
}]), r;
|
|
4975
|
-
}(Ue),
|
|
4990
|
+
}(Ue), Wa = /* @__PURE__ */ function() {
|
|
4976
4991
|
function o() {
|
|
4977
4992
|
var a = this;
|
|
4978
4993
|
if (L(this, o), _(this, "__trigger", function(r) {
|
|
@@ -4982,7 +4997,7 @@ var W = /* @__PURE__ */ function(o) {
|
|
|
4982
4997
|
a.__runHandler(r[e].target);
|
|
4983
4998
|
}), this.__handlers = [], this.timeStamp = 0, this.observer = null, !!window.ResizeObserver)
|
|
4984
4999
|
try {
|
|
4985
|
-
this.observer = new window.ResizeObserver(
|
|
5000
|
+
this.observer = new window.ResizeObserver(ya(this.__trigger, 100, {
|
|
4986
5001
|
trailing: !0
|
|
4987
5002
|
})), this.timeStamp = (/* @__PURE__ */ new Date()).getTime();
|
|
4988
5003
|
} catch (r) {
|
|
@@ -5039,10 +5054,10 @@ var W = /* @__PURE__ */ function(o) {
|
|
|
5039
5054
|
}
|
|
5040
5055
|
}]), o;
|
|
5041
5056
|
}(), dt = null;
|
|
5042
|
-
function
|
|
5043
|
-
return dt || (dt = new
|
|
5057
|
+
function Ga(o, a) {
|
|
5058
|
+
return dt || (dt = new Wa()), dt.addObserver(o, a), dt;
|
|
5044
5059
|
}
|
|
5045
|
-
function
|
|
5060
|
+
function $a(o, a) {
|
|
5046
5061
|
var r;
|
|
5047
5062
|
(r = dt) === null || r === void 0 || r.unObserver(o, a);
|
|
5048
5063
|
}
|
|
@@ -5050,7 +5065,7 @@ var se = {
|
|
|
5050
5065
|
pluginGroup: {},
|
|
5051
5066
|
init: function(a) {
|
|
5052
5067
|
var r = a._pluginInfoId;
|
|
5053
|
-
r || (r = (/* @__PURE__ */ new Date()).getTime(), a._pluginInfoId = r), !a.config.closeResizeObserver &&
|
|
5068
|
+
r || (r = (/* @__PURE__ */ new Date()).getTime(), a._pluginInfoId = r), !a.config.closeResizeObserver && Ga(a.root, function() {
|
|
5054
5069
|
a.resize();
|
|
5055
5070
|
}), this.pluginGroup[r] = {
|
|
5056
5071
|
_originalOptions: a.config || {},
|
|
@@ -5236,7 +5251,7 @@ var se = {
|
|
|
5236
5251
|
destroy: function(a) {
|
|
5237
5252
|
var r = a._pluginInfoId;
|
|
5238
5253
|
if (this.pluginGroup[r]) {
|
|
5239
|
-
|
|
5254
|
+
$a(a.root);
|
|
5240
5255
|
for (var t = this.pluginGroup[r]._plugins, e = 0, i = Object.keys(t); e < i.length; e++) {
|
|
5241
5256
|
var n = i[e];
|
|
5242
5257
|
this.unRegister(r, n);
|
|
@@ -5322,7 +5337,7 @@ function hn() {
|
|
|
5322
5337
|
ignores: [],
|
|
5323
5338
|
whitelist: [],
|
|
5324
5339
|
inactive: 3e3,
|
|
5325
|
-
lang:
|
|
5340
|
+
lang: _a(),
|
|
5326
5341
|
controls: !0,
|
|
5327
5342
|
marginControls: !1,
|
|
5328
5343
|
fullscreenTarget: null,
|
|
@@ -5358,7 +5373,7 @@ function hn() {
|
|
|
5358
5373
|
}
|
|
5359
5374
|
};
|
|
5360
5375
|
}
|
|
5361
|
-
var
|
|
5376
|
+
var Ka = function(a, r) {
|
|
5362
5377
|
var t, e, i;
|
|
5363
5378
|
r.preset && r.options ? i = new r.preset(r.options, a.config) : i = new r({}, a.config);
|
|
5364
5379
|
var n = i, s = n.plugins, l = s === void 0 ? [] : s, u = n.ignores, c = u === void 0 ? [] : u, f = n.icons, g = f === void 0 ? {} : f, p = n.i18n, d = p === void 0 ? [] : p;
|
|
@@ -5367,7 +5382,7 @@ var Ya = function(a, r) {
|
|
|
5367
5382
|
});
|
|
5368
5383
|
var v = a.config.i18n || [];
|
|
5369
5384
|
d.push.apply(d, ye(v)), a.config.i18n = d;
|
|
5370
|
-
},
|
|
5385
|
+
}, Ya = /* @__PURE__ */ function(o) {
|
|
5371
5386
|
F(r, o);
|
|
5372
5387
|
var a = M(r);
|
|
5373
5388
|
function r() {
|
|
@@ -5528,7 +5543,7 @@ var Ya = function(a, r) {
|
|
|
5528
5543
|
};
|
|
5529
5544
|
}
|
|
5530
5545
|
}]), r;
|
|
5531
|
-
}(W),
|
|
5546
|
+
}(W), Xa = {
|
|
5532
5547
|
LANG: "en",
|
|
5533
5548
|
TEXT: {
|
|
5534
5549
|
ERROR_TYPES: {
|
|
@@ -5603,7 +5618,7 @@ var Ya = function(a, r) {
|
|
|
5603
5618
|
FORWARD: "forward",
|
|
5604
5619
|
LIVE_TIP: "Live"
|
|
5605
5620
|
}
|
|
5606
|
-
},
|
|
5621
|
+
}, de = {
|
|
5607
5622
|
lang: {},
|
|
5608
5623
|
langKeys: [],
|
|
5609
5624
|
textKeys: []
|
|
@@ -5618,13 +5633,13 @@ function pt(o, a) {
|
|
|
5618
5633
|
}), o;
|
|
5619
5634
|
}
|
|
5620
5635
|
function lr() {
|
|
5621
|
-
Object.keys(
|
|
5622
|
-
|
|
5636
|
+
Object.keys(de.lang.en).map(function(o) {
|
|
5637
|
+
de.textKeys[o] = o;
|
|
5623
5638
|
});
|
|
5624
5639
|
}
|
|
5625
|
-
function
|
|
5640
|
+
function qa(o, a) {
|
|
5626
5641
|
var r = [];
|
|
5627
|
-
if (a || (a =
|
|
5642
|
+
if (a || (a = de), !!a.lang) {
|
|
5628
5643
|
h.typeOf(o) !== "Array" ? r = Object.keys(o).map(function(i) {
|
|
5629
5644
|
var n = i === "zh" ? "zh-cn" : i;
|
|
5630
5645
|
return {
|
|
@@ -5640,37 +5655,37 @@ function Za(o, a) {
|
|
|
5640
5655
|
}
|
|
5641
5656
|
function Ii(o, a) {
|
|
5642
5657
|
var r = o.LANG;
|
|
5643
|
-
if (a || (a =
|
|
5658
|
+
if (a || (a = de), !!a.lang) {
|
|
5644
5659
|
var t = o.TEXT || {};
|
|
5645
5660
|
r === "zh" && (r = "zh-cn"), a.lang[r] ? pt(a.lang[r], t) : (a.langKeys.push(r), a.lang[r] = t), lr();
|
|
5646
5661
|
}
|
|
5647
5662
|
}
|
|
5648
|
-
function
|
|
5663
|
+
function Za(o) {
|
|
5649
5664
|
var a, r = {
|
|
5650
5665
|
lang: {},
|
|
5651
5666
|
langKeys: [],
|
|
5652
5667
|
textKeys: {},
|
|
5653
5668
|
pId: o
|
|
5654
5669
|
};
|
|
5655
|
-
return pt(r.lang,
|
|
5670
|
+
return pt(r.lang, de.lang), (a = r.langKeys).push.apply(a, ye(de.langKeys)), pt(r.textKeys, de.textKeys), r;
|
|
5656
5671
|
}
|
|
5657
|
-
Ii(
|
|
5672
|
+
Ii(Xa);
|
|
5658
5673
|
var st = {
|
|
5659
5674
|
get textKeys() {
|
|
5660
|
-
return
|
|
5675
|
+
return de.textKeys;
|
|
5661
5676
|
},
|
|
5662
5677
|
get langKeys() {
|
|
5663
|
-
return
|
|
5678
|
+
return de.langKeys;
|
|
5664
5679
|
},
|
|
5665
5680
|
get lang() {
|
|
5666
5681
|
var o = {};
|
|
5667
|
-
return
|
|
5668
|
-
o[a] =
|
|
5669
|
-
}),
|
|
5682
|
+
return de.langKeys.map(function(a) {
|
|
5683
|
+
o[a] = de.lang[a];
|
|
5684
|
+
}), de.lang["zh-cn"] && (o.zh = de.lang["zh-cn"] || {}), o;
|
|
5670
5685
|
},
|
|
5671
|
-
extend:
|
|
5686
|
+
extend: qa,
|
|
5672
5687
|
use: Ii,
|
|
5673
|
-
init:
|
|
5688
|
+
init: Za
|
|
5674
5689
|
}, j = {
|
|
5675
5690
|
INITIAL: 1,
|
|
5676
5691
|
READY: 2,
|
|
@@ -5767,7 +5782,7 @@ var st = {
|
|
|
5767
5782
|
}
|
|
5768
5783
|
}]), r;
|
|
5769
5784
|
}(Hn.EventEmitter);
|
|
5770
|
-
function
|
|
5785
|
+
function Ja(o) {
|
|
5771
5786
|
for (var a = Object.keys(ue), r = 0; r < a.length; r++) {
|
|
5772
5787
|
var t = ue[a[r]];
|
|
5773
5788
|
if (t.root === o)
|
|
@@ -5775,7 +5790,7 @@ function Qa(o) {
|
|
|
5775
5790
|
}
|
|
5776
5791
|
return null;
|
|
5777
5792
|
}
|
|
5778
|
-
var
|
|
5793
|
+
var Qa = ["play", "pause", "replay", "retry"], gn = 0, pn = 0, Fe = null, Ut = /* @__PURE__ */ function(o) {
|
|
5779
5794
|
F(r, o);
|
|
5780
5795
|
var a = M(r);
|
|
5781
5796
|
function r(t) {
|
|
@@ -5805,7 +5820,7 @@ var eo = ["play", "pause", "replay", "retry"], gn = 0, pn = 0, Fe = null, Ut = /
|
|
|
5805
5820
|
to: !1
|
|
5806
5821
|
}]
|
|
5807
5822
|
});
|
|
5808
|
-
var T =
|
|
5823
|
+
var T = ka(C, e.playerId, $e);
|
|
5809
5824
|
if (v || C && (C === e._fullscreenEl || T))
|
|
5810
5825
|
m(), !e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !0, e.changeFullStyle(e.root, C, S.FULLSCREEN), e.emit(Se, !0, e._fullScreenOffset), e.cssfullscreen && e.exitCssFullscreen();
|
|
5811
5826
|
else if (e.fullscreen) {
|
|
@@ -5825,7 +5840,7 @@ var eo = ["play", "pause", "replay", "retry"], gn = 0, pn = 0, Fe = null, Ut = /
|
|
|
5825
5840
|
e._fullscreenEl = e.media, e.onFullscreenChange(d, !0);
|
|
5826
5841
|
}), _(y(e), "_onWebkitendfullscreen", function(d) {
|
|
5827
5842
|
e.onFullscreenChange(d, !1);
|
|
5828
|
-
}), ar(y(e),
|
|
5843
|
+
}), ar(y(e), Qa), e.config = i, e._pluginInfoId = h.generateSessionId(), ga(y(e));
|
|
5829
5844
|
var n = e.constructor.defaultPreset;
|
|
5830
5845
|
if (e.config.presets.length) {
|
|
5831
5846
|
var s = e.config.presets.indexOf("default");
|
|
@@ -5853,7 +5868,7 @@ var eo = ["play", "pause", "replay", "retry"], gn = 0, pn = 0, Fe = null, Ut = /
|
|
|
5853
5868
|
}, e._offsetInfo = {
|
|
5854
5869
|
currentTime: -1,
|
|
5855
5870
|
duration: 0
|
|
5856
|
-
}, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = st.init(e._pluginInfoId), z.os.isAndroid && z.osVersion > 0 && z.osVersion < 6 && (e.config.autoplay = !1), e.database = new
|
|
5871
|
+
}, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = st.init(e._pluginInfoId), z.os.isAndroid && z.osVersion > 0 && z.osVersion < 6 && (e.config.autoplay = !1), e.database = new Fa(), e.isUserActive = !1, e._onceSeekCanplay = null, e._isPauseBeforeSeek = 0, e.innerStates = {
|
|
5857
5872
|
isActiveLocked: !1
|
|
5858
5873
|
}, e.instManager = Fe;
|
|
5859
5874
|
var l = e._initDOM();
|
|
@@ -5885,7 +5900,7 @@ var eo = ["play", "pause", "replay", "retry"], gn = 0, pn = 0, Fe = null, Ut = /
|
|
|
5885
5900
|
msg: "container id can't be empty"
|
|
5886
5901
|
})), console.error("this.confg.id or this.config.el can't be empty"), !1;
|
|
5887
5902
|
}
|
|
5888
|
-
var s =
|
|
5903
|
+
var s = Ja(this.root);
|
|
5889
5904
|
s && (V.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), s.destroy()), this.root.setAttribute($e, this.playerId), (e = Fe) === null || e === void 0 || e.add(this), se.init(this), this._initBaseDoms();
|
|
5890
5905
|
var l = this.constructor.XgVideoProxy;
|
|
5891
5906
|
if (l && this.mediaConfig.mediaType === l.mediaType) {
|
|
@@ -5895,7 +5910,7 @@ var eo = ["play", "pause", "replay", "retry"], gn = 0, pn = 0, Fe = null, Ut = /
|
|
|
5895
5910
|
this.attachVideoEvents(c), this.media = c;
|
|
5896
5911
|
}
|
|
5897
5912
|
if (this.media.setAttribute($e, this.playerId), this.config.controls) {
|
|
5898
|
-
var f = this.config.controls.root || null, g = se.register(this,
|
|
5913
|
+
var f = this.config.controls.root || null, g = se.register(this, Ya, {
|
|
5899
5914
|
root: f
|
|
5900
5915
|
});
|
|
5901
5916
|
this.controls = g;
|
|
@@ -5937,7 +5952,7 @@ var eo = ["play", "pause", "replay", "retry"], gn = 0, pn = 0, Fe = null, Ut = /
|
|
|
5937
5952
|
document && document.addEventListener(i, e.onFullscreenChange);
|
|
5938
5953
|
}), z.os.isIos && (this.media.addEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.addEventListener("webkitendfullscreen", this._onWebkitendfullscreen)), this.once(Ae, this.resize), this.playFunc = function() {
|
|
5939
5954
|
e.config.closeFocusVideoFocus || e.media.focus();
|
|
5940
|
-
}, this.once(
|
|
5955
|
+
}, this.once(pe, this.playFunc);
|
|
5941
5956
|
}
|
|
5942
5957
|
}, {
|
|
5943
5958
|
key: "_unbindEvents",
|
|
@@ -5945,7 +5960,7 @@ var eo = ["play", "pause", "replay", "retry"], gn = 0, pn = 0, Fe = null, Ut = /
|
|
|
5945
5960
|
var e = this;
|
|
5946
5961
|
this.root.removeEventListener("mousemove", this.mousemoveFunc), tn.forEach(function(i) {
|
|
5947
5962
|
document.removeEventListener(i, e.onFullscreenChange);
|
|
5948
|
-
}), this.playFunc && this.off(
|
|
5963
|
+
}), this.playFunc && this.off(pe, this.playFunc), this.off(Ie, this.canPlayFunc), this.media.removeEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.removeEventListener("webkitendfullscreen", this._onWebkitendfullscreen);
|
|
5949
5964
|
}
|
|
5950
5965
|
}, {
|
|
5951
5966
|
key: "_clearUserTimer",
|
|
@@ -6003,7 +6018,7 @@ var eo = ["play", "pause", "replay", "retry"], gn = 0, pn = 0, Fe = null, Ut = /
|
|
|
6003
6018
|
value: function() {
|
|
6004
6019
|
var e = this;
|
|
6005
6020
|
this.config.presets.forEach(function(i) {
|
|
6006
|
-
|
|
6021
|
+
Ka(e, i);
|
|
6007
6022
|
});
|
|
6008
6023
|
}
|
|
6009
6024
|
}, {
|
|
@@ -6977,7 +6992,7 @@ var eo = ["play", "pause", "replay", "retry"], gn = 0, pn = 0, Fe = null, Ut = /
|
|
|
6977
6992
|
r.plugins || (r.plugins = {}), r.plugins[e] = i;
|
|
6978
6993
|
}
|
|
6979
6994
|
}]), r;
|
|
6980
|
-
}(
|
|
6995
|
+
}(Ra);
|
|
6981
6996
|
_(Ut, "defaultPreset", null);
|
|
6982
6997
|
_(Ut, "XgVideoProxy", null);
|
|
6983
6998
|
Ut.instManager = ur.getInstance();
|
|
@@ -6992,7 +7007,7 @@ var Me = {
|
|
|
6992
7007
|
WAIT_END: "waitingEnd",
|
|
6993
7008
|
SEEK_START: "seekStart",
|
|
6994
7009
|
SEEK_END: "seekEnd"
|
|
6995
|
-
},
|
|
7010
|
+
}, eo = /* @__PURE__ */ function(o) {
|
|
6996
7011
|
F(r, o);
|
|
6997
7012
|
var a = M(r);
|
|
6998
7013
|
function r() {
|
|
@@ -7062,7 +7077,7 @@ var Me = {
|
|
|
7062
7077
|
}, {
|
|
7063
7078
|
key: "_initOnceEvents",
|
|
7064
7079
|
value: function() {
|
|
7065
|
-
this.off(Ye, this._onAutoplayStart), this.off(
|
|
7080
|
+
this.off(Ye, this._onAutoplayStart), this.off(ge, this._onTimeupdate), this.once(Ye, this._onAutoplayStart), this.once(ge, this._onTimeupdate);
|
|
7066
7081
|
}
|
|
7067
7082
|
}, {
|
|
7068
7083
|
key: "_sendFF",
|
|
@@ -7143,13 +7158,13 @@ var Me = {
|
|
|
7143
7158
|
}
|
|
7144
7159
|
}]), r;
|
|
7145
7160
|
}(W);
|
|
7146
|
-
function
|
|
7161
|
+
function to() {
|
|
7147
7162
|
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">
|
|
7148
7163
|
<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>
|
|
7149
7164
|
</svg>
|
|
7150
7165
|
`, "image/svg+xml").firstChild;
|
|
7151
7166
|
}
|
|
7152
|
-
var
|
|
7167
|
+
var io = /* @__PURE__ */ function(o) {
|
|
7153
7168
|
F(r, o);
|
|
7154
7169
|
var a = M(r);
|
|
7155
7170
|
function r() {
|
|
@@ -7159,7 +7174,7 @@ var no = /* @__PURE__ */ function(o) {
|
|
|
7159
7174
|
key: "registerIcons",
|
|
7160
7175
|
value: function() {
|
|
7161
7176
|
return {
|
|
7162
|
-
replay:
|
|
7177
|
+
replay: to
|
|
7163
7178
|
};
|
|
7164
7179
|
}
|
|
7165
7180
|
}, {
|
|
@@ -7183,7 +7198,7 @@ var no = /* @__PURE__ */ function(o) {
|
|
|
7183
7198
|
i.setAttribute("transform", n);
|
|
7184
7199
|
}
|
|
7185
7200
|
}
|
|
7186
|
-
}), this.on(
|
|
7201
|
+
}), this.on(pe, function() {
|
|
7187
7202
|
e.hide();
|
|
7188
7203
|
});
|
|
7189
7204
|
}
|
|
@@ -7232,7 +7247,7 @@ var no = /* @__PURE__ */ function(o) {
|
|
|
7232
7247
|
};
|
|
7233
7248
|
}
|
|
7234
7249
|
}]), r;
|
|
7235
|
-
}(W),
|
|
7250
|
+
}(W), no = /* @__PURE__ */ function(o) {
|
|
7236
7251
|
F(r, o);
|
|
7237
7252
|
var a = M(r);
|
|
7238
7253
|
function r() {
|
|
@@ -7267,13 +7282,13 @@ var no = /* @__PURE__ */ function(o) {
|
|
|
7267
7282
|
var e = this;
|
|
7268
7283
|
this.on(Xe, function() {
|
|
7269
7284
|
e.isEndedShow && h.removeClass(e.root, "hide");
|
|
7270
|
-
}), this.config.hideCanplay ? (this.once(
|
|
7285
|
+
}), this.config.hideCanplay ? (this.once(ge, function() {
|
|
7271
7286
|
e.onTimeUpdate();
|
|
7272
7287
|
}), this.on(Bt, function() {
|
|
7273
|
-
h.removeClass(e.root, "hide"), h.addClass(e.root, "xg-showplay"), e.once(
|
|
7288
|
+
h.removeClass(e.root, "hide"), h.addClass(e.root, "xg-showplay"), e.once(ge, function() {
|
|
7274
7289
|
e.onTimeUpdate();
|
|
7275
7290
|
});
|
|
7276
|
-
})) : this.on(
|
|
7291
|
+
})) : this.on(pe, function() {
|
|
7277
7292
|
h.addClass(e.root, "hide");
|
|
7278
7293
|
});
|
|
7279
7294
|
}
|
|
@@ -7291,7 +7306,7 @@ var no = /* @__PURE__ */ function(o) {
|
|
|
7291
7306
|
key: "onTimeUpdate",
|
|
7292
7307
|
value: function() {
|
|
7293
7308
|
var e = this;
|
|
7294
|
-
this.player.currentTime ? h.removeClass(this.root, "xg-showplay") : this.once(
|
|
7309
|
+
this.player.currentTime ? h.removeClass(this.root, "xg-showplay") : this.once(ge, function() {
|
|
7295
7310
|
e.onTimeUpdate();
|
|
7296
7311
|
});
|
|
7297
7312
|
}
|
|
@@ -7357,7 +7372,7 @@ function Ai() {
|
|
|
7357
7372
|
`, "image/svg+xml").firstChild;
|
|
7358
7373
|
}
|
|
7359
7374
|
var be = {};
|
|
7360
|
-
function
|
|
7375
|
+
function ro(o, a) {
|
|
7361
7376
|
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
7362
7377
|
start: null,
|
|
7363
7378
|
end: null
|
|
@@ -7375,7 +7390,7 @@ function vn(o) {
|
|
|
7375
7390
|
window.clearTimeout(be[a].id), delete be[a];
|
|
7376
7391
|
});
|
|
7377
7392
|
}
|
|
7378
|
-
var
|
|
7393
|
+
var so = /* @__PURE__ */ function(o) {
|
|
7379
7394
|
F(r, o);
|
|
7380
7395
|
var a = M(r);
|
|
7381
7396
|
function r(t) {
|
|
@@ -7406,7 +7421,7 @@ var ao = /* @__PURE__ */ function(o) {
|
|
|
7406
7421
|
}), this.on(Ye, this.onAutoplayStart), this.on(Ei, function() {
|
|
7407
7422
|
var s = e.config.mode === "auto" ? "auto-hide" : "hide";
|
|
7408
7423
|
e.setAttr("data-state", "play"), h.removeClass(e.root, s), e.show();
|
|
7409
|
-
}), this.on(
|
|
7424
|
+
}), this.on(pe, function() {
|
|
7410
7425
|
e.toggleTo("play");
|
|
7411
7426
|
}), this.on(ut, function() {
|
|
7412
7427
|
e.toggleTo("pause");
|
|
@@ -7479,7 +7494,7 @@ var ao = /* @__PURE__ */ function(o) {
|
|
|
7479
7494
|
key: "animate",
|
|
7480
7495
|
value: function(e) {
|
|
7481
7496
|
var i = this;
|
|
7482
|
-
this._animateId =
|
|
7497
|
+
this._animateId = ro("pauseplay", 400, {
|
|
7483
7498
|
start: function() {
|
|
7484
7499
|
h.addClass(i.root, "interact"), i.show(), i.switchStatus(!0);
|
|
7485
7500
|
},
|
|
@@ -7567,7 +7582,7 @@ var ao = /* @__PURE__ */ function(o) {
|
|
|
7567
7582
|
};
|
|
7568
7583
|
}
|
|
7569
7584
|
}]), r;
|
|
7570
|
-
}(W),
|
|
7585
|
+
}(W), ao = /* @__PURE__ */ function(o) {
|
|
7571
7586
|
F(r, o);
|
|
7572
7587
|
var a = M(r);
|
|
7573
7588
|
function r() {
|
|
@@ -7667,7 +7682,7 @@ function yn(o) {
|
|
|
7667
7682
|
return r && a;
|
|
7668
7683
|
}
|
|
7669
7684
|
var Li = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"], cr = Li.length;
|
|
7670
|
-
function
|
|
7685
|
+
function oo() {
|
|
7671
7686
|
for (var o = {
|
|
7672
7687
|
width: 0,
|
|
7673
7688
|
height: 0,
|
|
@@ -7681,15 +7696,15 @@ function lo() {
|
|
|
7681
7696
|
}
|
|
7682
7697
|
return o;
|
|
7683
7698
|
}
|
|
7684
|
-
function
|
|
7699
|
+
function lo(o) {
|
|
7685
7700
|
var a = window.getComputedStyle(o);
|
|
7686
7701
|
return a;
|
|
7687
7702
|
}
|
|
7688
7703
|
function _n(o) {
|
|
7689
7704
|
if (typeof o == "string" && (o = document.querySelector(o)), !(!o || le(o) !== "object" || !o.nodeType)) {
|
|
7690
|
-
var a =
|
|
7705
|
+
var a = lo(o);
|
|
7691
7706
|
if (a.display === "none")
|
|
7692
|
-
return
|
|
7707
|
+
return oo();
|
|
7693
7708
|
var r = {};
|
|
7694
7709
|
r.width = o.offsetWidth, r.height = o.offsetHeight;
|
|
7695
7710
|
for (var t = r.isBorderBox = a.boxSizing === "border-box", e = 0; e < cr; e++) {
|
|
@@ -7717,7 +7732,7 @@ var ti = {
|
|
|
7717
7732
|
mousedown: ["mousemove", "mouseup"],
|
|
7718
7733
|
touchstart: ["touchmove", "touchend", "touchcancel"],
|
|
7719
7734
|
pointerdown: ["pointermove", "pointerup", "pointercancel"]
|
|
7720
|
-
},
|
|
7735
|
+
}, uo = /* @__PURE__ */ function(o) {
|
|
7721
7736
|
F(r, o);
|
|
7722
7737
|
var a = M(r);
|
|
7723
7738
|
function r(t) {
|
|
@@ -7927,7 +7942,7 @@ var ti = {
|
|
|
7927
7942
|
return parseInt(e, 10);
|
|
7928
7943
|
}
|
|
7929
7944
|
}]), r;
|
|
7930
|
-
}(Un),
|
|
7945
|
+
}(Un), co = /* @__PURE__ */ function(o) {
|
|
7931
7946
|
F(r, o);
|
|
7932
7947
|
var a = M(r);
|
|
7933
7948
|
function r(t) {
|
|
@@ -7963,7 +7978,7 @@ var ti = {
|
|
|
7963
7978
|
var e = this;
|
|
7964
7979
|
this.initIcons(), this.on(ut, function() {
|
|
7965
7980
|
e.setAttr("data-state", "pause");
|
|
7966
|
-
}), this.on(
|
|
7981
|
+
}), this.on(pe, function() {
|
|
7967
7982
|
e.setAttr("data-state", "play");
|
|
7968
7983
|
});
|
|
7969
7984
|
}
|
|
@@ -7983,7 +7998,7 @@ var ti = {
|
|
|
7983
7998
|
i.controls.registerPlugin(mn, s, mn.pluginName);
|
|
7984
7999
|
}
|
|
7985
8000
|
var l = h.checkTouchSupport() ? "touchend" : "click";
|
|
7986
|
-
this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new
|
|
8001
|
+
this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new uo(this.player.root, {
|
|
7987
8002
|
handle: this.root
|
|
7988
8003
|
})), this.config.isScrollSwitch && window.addEventListener("scroll", this.onScroll);
|
|
7989
8004
|
}
|
|
@@ -8197,12 +8212,12 @@ var ti = {
|
|
|
8197
8212
|
TOUCH_MOVE: "touchmove",
|
|
8198
8213
|
TOUCH_START: "touchstart",
|
|
8199
8214
|
TOUCH_END: "touchend"
|
|
8200
|
-
},
|
|
8215
|
+
}, fo = {
|
|
8201
8216
|
start: "touchstart",
|
|
8202
8217
|
end: "touchend",
|
|
8203
8218
|
move: "touchmove",
|
|
8204
8219
|
cancel: "touchcancel"
|
|
8205
|
-
},
|
|
8220
|
+
}, ho = {
|
|
8206
8221
|
start: "mousedown",
|
|
8207
8222
|
end: "mouseup",
|
|
8208
8223
|
move: "mousemove",
|
|
@@ -8211,7 +8226,7 @@ var ti = {
|
|
|
8211
8226
|
function Cn(o) {
|
|
8212
8227
|
return o && o.length > 0 ? o[o.length - 1] : null;
|
|
8213
8228
|
}
|
|
8214
|
-
function
|
|
8229
|
+
function go() {
|
|
8215
8230
|
return {
|
|
8216
8231
|
pressDelay: 600,
|
|
8217
8232
|
dbClickDelay: 200,
|
|
@@ -8221,7 +8236,7 @@ function po() {
|
|
|
8221
8236
|
needPreventDefault: !0
|
|
8222
8237
|
};
|
|
8223
8238
|
}
|
|
8224
|
-
var
|
|
8239
|
+
var po = /* @__PURE__ */ function() {
|
|
8225
8240
|
function o(a) {
|
|
8226
8241
|
var r = this, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
8227
8242
|
eventType: "touch"
|
|
@@ -8242,9 +8257,9 @@ var vo = /* @__PURE__ */ function() {
|
|
|
8242
8257
|
start: !1,
|
|
8243
8258
|
x: 0,
|
|
8244
8259
|
y: 0
|
|
8245
|
-
}, this.config =
|
|
8260
|
+
}, this.config = go(), Object.keys(t).map(function(e) {
|
|
8246
8261
|
r.config[e] = t[e];
|
|
8247
|
-
}), this.root = a, this.events = t.eventType === "mouse" ?
|
|
8262
|
+
}), this.root = a, this.events = t.eventType === "mouse" ? ho : fo, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
|
|
8248
8263
|
}
|
|
8249
8264
|
return D(o, [{
|
|
8250
8265
|
key: "_initEvent",
|
|
@@ -8323,7 +8338,7 @@ var vo = /* @__PURE__ */ function() {
|
|
|
8323
8338
|
}
|
|
8324
8339
|
}]), o;
|
|
8325
8340
|
}();
|
|
8326
|
-
function
|
|
8341
|
+
function vo() {
|
|
8327
8342
|
return new DOMParser().parseFromString(`<svg width="20" height="9" viewBox="0 0 8 9" fill="none" xmlns="http://www.w3.org/2000/svg"
|
|
8328
8343
|
xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
8329
8344
|
<path opacity="0.54"
|
|
@@ -8337,7 +8352,7 @@ var Qe = {
|
|
|
8337
8352
|
SEEKING: "seeking",
|
|
8338
8353
|
PLAYBACK: "playbackrate",
|
|
8339
8354
|
LIGHT: ""
|
|
8340
|
-
}, ri = ["videoClick", "videoDbClick"],
|
|
8355
|
+
}, ri = ["videoClick", "videoDbClick"], mo = /* @__PURE__ */ function(o) {
|
|
8341
8356
|
F(r, o);
|
|
8342
8357
|
var a = M(r);
|
|
8343
8358
|
function r(t) {
|
|
@@ -8409,7 +8424,7 @@ var Qe = {
|
|
|
8409
8424
|
value: function() {
|
|
8410
8425
|
return {
|
|
8411
8426
|
seekTipIcon: {
|
|
8412
|
-
icon:
|
|
8427
|
+
icon: vo,
|
|
8413
8428
|
class: "xg-seek-pre"
|
|
8414
8429
|
}
|
|
8415
8430
|
};
|
|
@@ -8424,7 +8439,7 @@ var Qe = {
|
|
|
8424
8439
|
var i = this.playerConfig, n = this.config, s = this.player;
|
|
8425
8440
|
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"), s.root.appendChild(this.xgMask), this.initCustomStyle(), this.registerThumbnail();
|
|
8426
8441
|
var l = this.domEventType === "mouse" ? "mouse" : "touch";
|
|
8427
|
-
this.touch = new
|
|
8442
|
+
this.touch = new po(this.root, {
|
|
8428
8443
|
eventType: l,
|
|
8429
8444
|
needPreventDefault: !this.config.disableGesture
|
|
8430
8445
|
}), this.root.addEventListener("contextmenu", function(g) {
|
|
@@ -8769,7 +8784,7 @@ var Qe = {
|
|
|
8769
8784
|
}
|
|
8770
8785
|
}]), r;
|
|
8771
8786
|
}(W);
|
|
8772
|
-
function
|
|
8787
|
+
function yo(o) {
|
|
8773
8788
|
o.preventDefault(), o.returnValue = !1;
|
|
8774
8789
|
}
|
|
8775
8790
|
function wn(o) {
|
|
@@ -9018,7 +9033,7 @@ var bn = /* @__PURE__ */ function(o) {
|
|
|
9018
9033
|
isPress: n
|
|
9019
9034
|
}, this.keyCodeMap[s[l]]));
|
|
9020
9035
|
}
|
|
9021
|
-
|
|
9036
|
+
yo(i), i.stopPropagation();
|
|
9022
9037
|
break;
|
|
9023
9038
|
}
|
|
9024
9039
|
}
|
|
@@ -9060,13 +9075,13 @@ var bn = /* @__PURE__ */ function(o) {
|
|
|
9060
9075
|
}
|
|
9061
9076
|
}]), r;
|
|
9062
9077
|
}(Ue);
|
|
9063
|
-
function
|
|
9078
|
+
function _o() {
|
|
9064
9079
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="-5 -5 110 110">
|
|
9065
9080
|
<path d="M100,50A50,50,0,1,1,50,0" stroke-width="5" stroke="#ddd" stroke-dasharray="236" fill="none"></path>
|
|
9066
9081
|
</svg>
|
|
9067
9082
|
`, "image/svg+xml").firstChild;
|
|
9068
9083
|
}
|
|
9069
|
-
var
|
|
9084
|
+
var ko = /* @__PURE__ */ function(o) {
|
|
9070
9085
|
F(r, o);
|
|
9071
9086
|
var a = M(r);
|
|
9072
9087
|
function r() {
|
|
@@ -9076,7 +9091,7 @@ var Co = /* @__PURE__ */ function(o) {
|
|
|
9076
9091
|
key: "registerIcons",
|
|
9077
9092
|
value: function() {
|
|
9078
9093
|
return {
|
|
9079
|
-
loadingIcon:
|
|
9094
|
+
loadingIcon: _o
|
|
9080
9095
|
};
|
|
9081
9096
|
}
|
|
9082
9097
|
}, {
|
|
@@ -9105,7 +9120,7 @@ var Co = /* @__PURE__ */ function(o) {
|
|
|
9105
9120
|
};
|
|
9106
9121
|
}
|
|
9107
9122
|
}]), r;
|
|
9108
|
-
}(W),
|
|
9123
|
+
}(W), Co = [{
|
|
9109
9124
|
tag: "xg-cache",
|
|
9110
9125
|
className: "xgplayer-progress-cache",
|
|
9111
9126
|
styleKey: "cachedColor"
|
|
@@ -9113,7 +9128,7 @@ var Co = /* @__PURE__ */ function(o) {
|
|
|
9113
9128
|
tag: "xg-played",
|
|
9114
9129
|
className: "xgplayer-progress-played",
|
|
9115
9130
|
styleKey: "playedColor"
|
|
9116
|
-
}],
|
|
9131
|
+
}], wo = /* @__PURE__ */ function() {
|
|
9117
9132
|
function o(a) {
|
|
9118
9133
|
L(this, o), this.fragments = a.fragments || [], this.fragments.length === 0 && this.fragments.push({
|
|
9119
9134
|
percent: 1
|
|
@@ -9300,7 +9315,7 @@ var Co = /* @__PURE__ */ function(o) {
|
|
|
9300
9315
|
var l = h.createDom("xg-inner", "", {
|
|
9301
9316
|
style: t ? "background:".concat(t, "; flex: ").concat(s.percent) : "flex: ".concat(s.percent)
|
|
9302
9317
|
}, "".concat(s.isFocus ? n : "", " xgplayer-progress-inner ").concat(i));
|
|
9303
|
-
return r.root.appendChild(l),
|
|
9318
|
+
return r.root.appendChild(l), Co.forEach(function(u) {
|
|
9304
9319
|
l.appendChild(h.createDom(u.tag, "", {
|
|
9305
9320
|
style: u.styleKey ? "background: ".concat(r.style[u.styleKey], "; width:0;") : "width:0;"
|
|
9306
9321
|
}, u.className));
|
|
@@ -9316,7 +9331,7 @@ var Co = /* @__PURE__ */ function(o) {
|
|
|
9316
9331
|
}(), Tn = {
|
|
9317
9332
|
POINT: "inner-focus-point",
|
|
9318
9333
|
HIGHLIGHT: "inner-focus-highlight"
|
|
9319
|
-
},
|
|
9334
|
+
}, bo = /* @__PURE__ */ function(o) {
|
|
9320
9335
|
F(r, o);
|
|
9321
9336
|
var a = M(r);
|
|
9322
9337
|
function r(t) {
|
|
@@ -9446,7 +9461,7 @@ var Co = /* @__PURE__ */ function(o) {
|
|
|
9446
9461
|
e.emitUserAction("fragment_focus", "fragment_focus", u);
|
|
9447
9462
|
}
|
|
9448
9463
|
});
|
|
9449
|
-
this.innerList ? this.innerList.reset(s) : (this.innerList = new
|
|
9464
|
+
this.innerList ? this.innerList.reset(s) : (this.innerList = new wo(s), this.outer.insertBefore(this.innerList.render(), this.outer.children[0]), ["findHightLight", "unHightLight", "setHightLight", "findFragment"].map(function(l) {
|
|
9450
9465
|
e[l] = e.innerList[l].bind(e.innerList);
|
|
9451
9466
|
}));
|
|
9452
9467
|
}
|
|
@@ -9482,7 +9497,7 @@ var Co = /* @__PURE__ */ function(o) {
|
|
|
9482
9497
|
var e = this;
|
|
9483
9498
|
this.on(De, function() {
|
|
9484
9499
|
e.onMouseLeave();
|
|
9485
|
-
}), this.on(
|
|
9500
|
+
}), this.on(ge, function() {
|
|
9486
9501
|
e.onTimeupdate();
|
|
9487
9502
|
}), this.on(Pe, function() {
|
|
9488
9503
|
e.onTimeupdate(), e.onCacheUpdate();
|
|
@@ -9761,7 +9776,7 @@ var Co = /* @__PURE__ */ function(o) {
|
|
|
9761
9776
|
this.unbind("mouseenter", this._onMouseenter), this.unbind("mouseleave", this._onMouseLeave);
|
|
9762
9777
|
}
|
|
9763
9778
|
}]), r;
|
|
9764
|
-
}(W),
|
|
9779
|
+
}(W), To = /* @__PURE__ */ function(o) {
|
|
9765
9780
|
F(r, o);
|
|
9766
9781
|
var a = M(r);
|
|
9767
9782
|
function r() {
|
|
@@ -9790,7 +9805,7 @@ var Co = /* @__PURE__ */ function(o) {
|
|
|
9790
9805
|
key: "listenEvents",
|
|
9791
9806
|
value: function() {
|
|
9792
9807
|
var e = this, i = this.player;
|
|
9793
|
-
this.on([
|
|
9808
|
+
this.on([pe, ut, vt, qe], function() {
|
|
9794
9809
|
e.animate(i.paused);
|
|
9795
9810
|
});
|
|
9796
9811
|
}
|
|
@@ -9853,14 +9868,14 @@ var Co = /* @__PURE__ */ function(o) {
|
|
|
9853
9868
|
}
|
|
9854
9869
|
}]), r;
|
|
9855
9870
|
}(Ze);
|
|
9856
|
-
function
|
|
9871
|
+
function Eo() {
|
|
9857
9872
|
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">
|
|
9858
9873
|
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
9859
9874
|
<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>
|
|
9860
9875
|
</g>
|
|
9861
9876
|
</svg>`, "image/svg+xml").firstChild;
|
|
9862
9877
|
}
|
|
9863
|
-
var
|
|
9878
|
+
var So = /* @__PURE__ */ function(o) {
|
|
9864
9879
|
F(r, o);
|
|
9865
9880
|
var a = M(r);
|
|
9866
9881
|
function r() {
|
|
@@ -9879,7 +9894,7 @@ var xo = /* @__PURE__ */ function(o) {
|
|
|
9879
9894
|
value: function() {
|
|
9880
9895
|
return {
|
|
9881
9896
|
screenBack: {
|
|
9882
|
-
icon:
|
|
9897
|
+
icon: Eo,
|
|
9883
9898
|
class: "xg-fullscreen-back"
|
|
9884
9899
|
}
|
|
9885
9900
|
};
|
|
@@ -9921,19 +9936,19 @@ var xo = /* @__PURE__ */ function(o) {
|
|
|
9921
9936
|
}
|
|
9922
9937
|
}]), r;
|
|
9923
9938
|
}(W);
|
|
9924
|
-
function
|
|
9939
|
+
function xo() {
|
|
9925
9940
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
|
|
9926
9941
|
<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>
|
|
9927
9942
|
</svg>
|
|
9928
9943
|
`, "image/svg+xml").firstChild;
|
|
9929
9944
|
}
|
|
9930
|
-
function
|
|
9945
|
+
function Io() {
|
|
9931
9946
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
|
|
9932
9947
|
<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>
|
|
9933
9948
|
</svg>
|
|
9934
9949
|
`, "image/svg+xml").firstChild;
|
|
9935
9950
|
}
|
|
9936
|
-
var
|
|
9951
|
+
var Po = /* @__PURE__ */ function(o) {
|
|
9937
9952
|
F(r, o);
|
|
9938
9953
|
var a = M(r);
|
|
9939
9954
|
function r() {
|
|
@@ -9968,7 +9983,7 @@ var Ao = /* @__PURE__ */ function(o) {
|
|
|
9968
9983
|
var u = e.find(".xg-tips");
|
|
9969
9984
|
u && e.changeLangTextKey(u, l ? e.i18nKeys.EXITFULLSCREEN_TIPS : e.i18nKeys.FULLSCREEN_TIPS), e.animate(l);
|
|
9970
9985
|
}), this.config.needBackIcon && (this.topBackIcon = this.player.registerPlugin({
|
|
9971
|
-
plugin:
|
|
9986
|
+
plugin: So,
|
|
9972
9987
|
options: {
|
|
9973
9988
|
config: {
|
|
9974
9989
|
onClick: function(u) {
|
|
@@ -9984,11 +9999,11 @@ var Ao = /* @__PURE__ */ function(o) {
|
|
|
9984
9999
|
value: function() {
|
|
9985
10000
|
return {
|
|
9986
10001
|
fullscreen: {
|
|
9987
|
-
icon:
|
|
10002
|
+
icon: xo,
|
|
9988
10003
|
class: "xg-get-fullscreen"
|
|
9989
10004
|
},
|
|
9990
10005
|
exitFullscreen: {
|
|
9991
|
-
icon:
|
|
10006
|
+
icon: Io,
|
|
9992
10007
|
class: "xg-exit-fullscreen"
|
|
9993
10008
|
}
|
|
9994
10009
|
};
|
|
@@ -10069,7 +10084,7 @@ var Ao = /* @__PURE__ */ function(o) {
|
|
|
10069
10084
|
};
|
|
10070
10085
|
}
|
|
10071
10086
|
}]), r;
|
|
10072
|
-
}(Ze),
|
|
10087
|
+
}(Ze), Ao = /* @__PURE__ */ function(o) {
|
|
10073
10088
|
F(r, o);
|
|
10074
10089
|
var a = M(r);
|
|
10075
10090
|
function r(t) {
|
|
@@ -10103,7 +10118,7 @@ var Ao = /* @__PURE__ */ function(o) {
|
|
|
10103
10118
|
key: "listenEvents",
|
|
10104
10119
|
value: function() {
|
|
10105
10120
|
var e = this;
|
|
10106
|
-
this.on([De, Pe,
|
|
10121
|
+
this.on([De, Pe, ge], function(i) {
|
|
10107
10122
|
i.eventName === "durationchange" && (e.isActiving = !1), e.onTimeUpdate();
|
|
10108
10123
|
}), this.on(Xe, function() {
|
|
10109
10124
|
e.onTimeUpdate(!0);
|
|
@@ -10225,7 +10240,7 @@ var Ao = /* @__PURE__ */ function(o) {
|
|
|
10225
10240
|
};
|
|
10226
10241
|
}
|
|
10227
10242
|
}]), r;
|
|
10228
|
-
}(W),
|
|
10243
|
+
}(W), Lo = /* @__PURE__ */ function(o) {
|
|
10229
10244
|
F(r, o);
|
|
10230
10245
|
var a = M(r);
|
|
10231
10246
|
function r() {
|
|
@@ -10281,7 +10296,7 @@ var Ao = /* @__PURE__ */ function(o) {
|
|
|
10281
10296
|
return D(r, [{
|
|
10282
10297
|
key: "afterCreate",
|
|
10283
10298
|
value: function() {
|
|
10284
|
-
this.curIndex = -1, this.curPos = null, this.lastCurrentTime = 0, this.updateSegments(), this.on(De, this._onDurationChange), this.on(Ae, this._onLoadedData), this.on(
|
|
10299
|
+
this.curIndex = -1, this.curPos = null, this.lastCurrentTime = 0, this.updateSegments(), this.on(De, this._onDurationChange), this.on(Ae, this._onLoadedData), this.on(ge, this._onTimeupdate), this.on(Mt, this._onSeeking), this.on(pe, this._onPlay);
|
|
10285
10300
|
}
|
|
10286
10301
|
}, {
|
|
10287
10302
|
key: "setConfig",
|
|
@@ -10363,28 +10378,28 @@ var Ao = /* @__PURE__ */ function(o) {
|
|
|
10363
10378
|
}
|
|
10364
10379
|
}]), r;
|
|
10365
10380
|
}(Ue);
|
|
10366
|
-
function
|
|
10381
|
+
function Do() {
|
|
10367
10382
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
10368
10383
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
10369
10384
|
<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>
|
|
10370
10385
|
</svg>
|
|
10371
10386
|
`, "image/svg+xml").firstChild;
|
|
10372
10387
|
}
|
|
10373
|
-
function
|
|
10388
|
+
function Oo() {
|
|
10374
10389
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
10375
10390
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
10376
10391
|
<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>
|
|
10377
10392
|
</svg>
|
|
10378
10393
|
`, "image/svg+xml").firstChild;
|
|
10379
10394
|
}
|
|
10380
|
-
function
|
|
10395
|
+
function Ro() {
|
|
10381
10396
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
10382
10397
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
10383
10398
|
<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>
|
|
10384
10399
|
</svg>
|
|
10385
10400
|
`, "image/svg+xml").firstChild;
|
|
10386
10401
|
}
|
|
10387
|
-
var
|
|
10402
|
+
var Fo = /* @__PURE__ */ function(o) {
|
|
10388
10403
|
F(r, o);
|
|
10389
10404
|
var a = M(r);
|
|
10390
10405
|
function r() {
|
|
@@ -10432,15 +10447,15 @@ var Mo = /* @__PURE__ */ function(o) {
|
|
|
10432
10447
|
value: function() {
|
|
10433
10448
|
return {
|
|
10434
10449
|
volumeSmall: {
|
|
10435
|
-
icon:
|
|
10450
|
+
icon: Oo,
|
|
10436
10451
|
class: "xg-volume-small"
|
|
10437
10452
|
},
|
|
10438
10453
|
volumeLarge: {
|
|
10439
|
-
icon:
|
|
10454
|
+
icon: Do,
|
|
10440
10455
|
class: "xg-volume"
|
|
10441
10456
|
},
|
|
10442
10457
|
volumeMuted: {
|
|
10443
|
-
icon:
|
|
10458
|
+
icon: Ro,
|
|
10444
10459
|
class: "xg-volume-mute"
|
|
10445
10460
|
}
|
|
10446
10461
|
};
|
|
@@ -10579,7 +10594,7 @@ var Mo = /* @__PURE__ */ function(o) {
|
|
|
10579
10594
|
}
|
|
10580
10595
|
}]), r;
|
|
10581
10596
|
}(W);
|
|
10582
|
-
function
|
|
10597
|
+
function Mo() {
|
|
10583
10598
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="-4 -6 40 40" fill="none">
|
|
10584
10599
|
<g>
|
|
10585
10600
|
<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"/>
|
|
@@ -10593,7 +10608,7 @@ function No() {
|
|
|
10593
10608
|
</svg>
|
|
10594
10609
|
`, "image/svg+xml").firstChild;
|
|
10595
10610
|
}
|
|
10596
|
-
var
|
|
10611
|
+
var No = /* @__PURE__ */ function(o) {
|
|
10597
10612
|
F(r, o);
|
|
10598
10613
|
var a = M(r);
|
|
10599
10614
|
function r(t) {
|
|
@@ -10656,7 +10671,7 @@ var Bo = /* @__PURE__ */ function(o) {
|
|
|
10656
10671
|
key: "registerIcons",
|
|
10657
10672
|
value: function() {
|
|
10658
10673
|
return {
|
|
10659
|
-
rotate:
|
|
10674
|
+
rotate: Mo
|
|
10660
10675
|
};
|
|
10661
10676
|
}
|
|
10662
10677
|
}, {
|
|
@@ -10689,14 +10704,14 @@ var Bo = /* @__PURE__ */ function(o) {
|
|
|
10689
10704
|
}
|
|
10690
10705
|
}]), r;
|
|
10691
10706
|
}(Ze);
|
|
10692
|
-
function
|
|
10707
|
+
function Bo() {
|
|
10693
10708
|
return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
10694
10709
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
10695
10710
|
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"
|
|
10696
10711
|
fill="white" />
|
|
10697
10712
|
</svg>`, "image/svg+xml").firstChild;
|
|
10698
10713
|
}
|
|
10699
|
-
function
|
|
10714
|
+
function Ho() {
|
|
10700
10715
|
return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
10701
10716
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
10702
10717
|
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"
|
|
@@ -10710,7 +10725,7 @@ var et = {
|
|
|
10710
10725
|
PIP: "picture-in-picture",
|
|
10711
10726
|
INLINE: "inline",
|
|
10712
10727
|
FULLSCREEN: "fullscreen"
|
|
10713
|
-
},
|
|
10728
|
+
}, Uo = /* @__PURE__ */ function(o) {
|
|
10714
10729
|
F(r, o);
|
|
10715
10730
|
var a = M(r);
|
|
10716
10731
|
function r() {
|
|
@@ -10750,11 +10765,11 @@ var et = {
|
|
|
10750
10765
|
value: function() {
|
|
10751
10766
|
return {
|
|
10752
10767
|
pipIcon: {
|
|
10753
|
-
icon:
|
|
10768
|
+
icon: Bo,
|
|
10754
10769
|
class: "xg-get-pip"
|
|
10755
10770
|
},
|
|
10756
10771
|
pipIconExit: {
|
|
10757
|
-
icon:
|
|
10772
|
+
icon: Ho,
|
|
10758
10773
|
class: "xg-exit-pip"
|
|
10759
10774
|
}
|
|
10760
10775
|
};
|
|
@@ -10911,13 +10926,13 @@ var et = {
|
|
|
10911
10926
|
}
|
|
10912
10927
|
}]), r;
|
|
10913
10928
|
}(Ze);
|
|
10914
|
-
function
|
|
10929
|
+
function zo() {
|
|
10915
10930
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="40" viewBox="10 0 24 40">
|
|
10916
10931
|
<path transform="scale(0.038 0.028)" d="M800 380v768h-128v-352l-320 320v-704l320 320v-352z"></path>
|
|
10917
10932
|
</svg>
|
|
10918
10933
|
`, "image/svg+xml").firstChild;
|
|
10919
10934
|
}
|
|
10920
|
-
var
|
|
10935
|
+
var Vo = /* @__PURE__ */ function(o) {
|
|
10921
10936
|
F(r, o);
|
|
10922
10937
|
var a = M(r);
|
|
10923
10938
|
function r(t) {
|
|
@@ -10936,7 +10951,7 @@ var jo = /* @__PURE__ */ function(o) {
|
|
|
10936
10951
|
key: "registerIcons",
|
|
10937
10952
|
value: function() {
|
|
10938
10953
|
return {
|
|
10939
|
-
playNext:
|
|
10954
|
+
playNext: zo
|
|
10940
10955
|
};
|
|
10941
10956
|
}
|
|
10942
10957
|
}, {
|
|
@@ -10985,12 +11000,12 @@ var jo = /* @__PURE__ */ function(o) {
|
|
|
10985
11000
|
};
|
|
10986
11001
|
}
|
|
10987
11002
|
}]), r;
|
|
10988
|
-
}(W), bt = { exports: {} },
|
|
10989
|
-
function
|
|
11003
|
+
}(W), bt = { exports: {} }, jo = bt.exports, En;
|
|
11004
|
+
function Wo() {
|
|
10990
11005
|
return En || (En = 1, function(o, a) {
|
|
10991
11006
|
(function(r, t) {
|
|
10992
11007
|
o.exports = t();
|
|
10993
|
-
})(
|
|
11008
|
+
})(jo, function() {
|
|
10994
11009
|
return function r(t, e, i) {
|
|
10995
11010
|
var n = window, s = "application/octet-stream", l = i || s, u = t, c = !e && !i && u, f = document.createElement("a"), g = function(R) {
|
|
10996
11011
|
return String(R);
|
|
@@ -11058,9 +11073,9 @@ Use Save As... to download, then click back to return to this page.`) && (locati
|
|
|
11058
11073
|
});
|
|
11059
11074
|
}(bt)), bt.exports;
|
|
11060
11075
|
}
|
|
11061
|
-
var
|
|
11062
|
-
const
|
|
11063
|
-
function
|
|
11076
|
+
var Go = Wo();
|
|
11077
|
+
const $o = /* @__PURE__ */ yi(Go);
|
|
11078
|
+
function Ko() {
|
|
11064
11079
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24">
|
|
11065
11080
|
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
11066
11081
|
<g transform="translate(-488.000000, -340.000000)" fill="#FFFFFF">
|
|
@@ -11077,7 +11092,7 @@ function Yo() {
|
|
|
11077
11092
|
</svg>
|
|
11078
11093
|
`, "image/svg+xml").firstChild;
|
|
11079
11094
|
}
|
|
11080
|
-
var
|
|
11095
|
+
var Yo = /* @__PURE__ */ function(o) {
|
|
11081
11096
|
F(r, o);
|
|
11082
11097
|
var a = M(r);
|
|
11083
11098
|
function r(t) {
|
|
@@ -11088,7 +11103,7 @@ var Xo = /* @__PURE__ */ function(o) {
|
|
|
11088
11103
|
var n = e.playerConfig.url, s = "";
|
|
11089
11104
|
h.typeOf(n) === "String" ? s = n : h.typeOf(n) === "Array" && n.length > 0 && (s = n[0].src);
|
|
11090
11105
|
var l = e.getAbsoluteURL(s);
|
|
11091
|
-
|
|
11106
|
+
$o(l), e.isLock = !0, e.timer = window.setTimeout(function() {
|
|
11092
11107
|
e.isLock = !1, window.clearTimeout(e.timer), e.timer = null;
|
|
11093
11108
|
}, 300);
|
|
11094
11109
|
}
|
|
@@ -11107,7 +11122,7 @@ var Xo = /* @__PURE__ */ function(o) {
|
|
|
11107
11122
|
key: "registerIcons",
|
|
11108
11123
|
value: function() {
|
|
11109
11124
|
return {
|
|
11110
|
-
download:
|
|
11125
|
+
download: Ko
|
|
11111
11126
|
};
|
|
11112
11127
|
}
|
|
11113
11128
|
}, {
|
|
@@ -11149,7 +11164,7 @@ var Xo = /* @__PURE__ */ function(o) {
|
|
|
11149
11164
|
};
|
|
11150
11165
|
}
|
|
11151
11166
|
}]), r;
|
|
11152
|
-
}(Ze),
|
|
11167
|
+
}(Ze), Xo = /* @__PURE__ */ function(o) {
|
|
11153
11168
|
F(r, o);
|
|
11154
11169
|
var a = M(r);
|
|
11155
11170
|
function r() {
|
|
@@ -11275,7 +11290,7 @@ var Xo = /* @__PURE__ */ function(o) {
|
|
|
11275
11290
|
};
|
|
11276
11291
|
}
|
|
11277
11292
|
}]), r;
|
|
11278
|
-
}(Ze),
|
|
11293
|
+
}(Ze), qo = /* @__PURE__ */ function() {
|
|
11279
11294
|
function o(a) {
|
|
11280
11295
|
L(this, o), this.config = a.config, this.parent = a.root, this.root = h.createDom("ul", "", {}, "xg-options-list xg-list-slide-scroll ".concat(this.config.className)), a.root.appendChild(this.root);
|
|
11281
11296
|
var r = this.config.maxHeight;
|
|
@@ -11355,7 +11370,7 @@ var Xo = /* @__PURE__ */ function(o) {
|
|
|
11355
11370
|
CLICK: "click",
|
|
11356
11371
|
HOVER: "hover"
|
|
11357
11372
|
};
|
|
11358
|
-
function
|
|
11373
|
+
function Zo(o, a) {
|
|
11359
11374
|
return o === we.SIDE ? a === X.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
|
|
11360
11375
|
}
|
|
11361
11376
|
var je = z.device === "mobile", Rt = /* @__PURE__ */ function(o) {
|
|
@@ -11469,7 +11484,7 @@ var je = z.device === "mobile", Rt = /* @__PURE__ */ function(o) {
|
|
|
11469
11484
|
var c = {
|
|
11470
11485
|
config: {
|
|
11471
11486
|
data: e || [],
|
|
11472
|
-
className:
|
|
11487
|
+
className: Zo(s.listType, s.position),
|
|
11473
11488
|
onItemClick: function(v, m) {
|
|
11474
11489
|
n.onItemClick(v, m);
|
|
11475
11490
|
},
|
|
@@ -11479,7 +11494,7 @@ var je = z.device === "mobile", Rt = /* @__PURE__ */ function(o) {
|
|
|
11479
11494
|
};
|
|
11480
11495
|
if (this.config.isShowIcon) {
|
|
11481
11496
|
var f = this.player.root.getBoundingClientRect(), g = f.height, p = s.listType === we.MIDDLE ? g - 50 : g;
|
|
11482
|
-
p && s.heightLimit && (c.config.maxHeight = "".concat(p, "px")), this.optionsList = new
|
|
11497
|
+
p && s.heightLimit && (c.config.maxHeight = "".concat(p, "px")), this.optionsList = new qo(c), this.changeCurrentText(), this.show();
|
|
11483
11498
|
}
|
|
11484
11499
|
this._resizeList();
|
|
11485
11500
|
}
|
|
@@ -11530,7 +11545,7 @@ var je = z.device === "mobile", Rt = /* @__PURE__ */ function(o) {
|
|
|
11530
11545
|
};
|
|
11531
11546
|
}
|
|
11532
11547
|
}]), r;
|
|
11533
|
-
}(W),
|
|
11548
|
+
}(W), Jo = /* @__PURE__ */ function(o) {
|
|
11534
11549
|
F(r, o);
|
|
11535
11550
|
var a = M(r);
|
|
11536
11551
|
function r(t) {
|
|
@@ -11631,7 +11646,7 @@ var je = z.device === "mobile", Rt = /* @__PURE__ */ function(o) {
|
|
|
11631
11646
|
});
|
|
11632
11647
|
}
|
|
11633
11648
|
}]), r;
|
|
11634
|
-
}(Rt),
|
|
11649
|
+
}(Rt), Qo = /* @__PURE__ */ function(o) {
|
|
11635
11650
|
F(r, o);
|
|
11636
11651
|
var a = M(r);
|
|
11637
11652
|
function r(t) {
|
|
@@ -11724,13 +11739,13 @@ var je = z.device === "mobile", Rt = /* @__PURE__ */ function(o) {
|
|
|
11724
11739
|
}
|
|
11725
11740
|
}]), r;
|
|
11726
11741
|
}(Rt);
|
|
11727
|
-
function
|
|
11742
|
+
function el() {
|
|
11728
11743
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
|
|
11729
11744
|
<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>
|
|
11730
11745
|
</svg>
|
|
11731
11746
|
`, "image/svg+xml").firstChild;
|
|
11732
11747
|
}
|
|
11733
|
-
function
|
|
11748
|
+
function tl() {
|
|
11734
11749
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
|
|
11735
11750
|
<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>
|
|
11736
11751
|
</svg>
|
|
@@ -11790,11 +11805,11 @@ var Sn = /* @__PURE__ */ function(o) {
|
|
|
11790
11805
|
value: function() {
|
|
11791
11806
|
return {
|
|
11792
11807
|
cssFullscreen: {
|
|
11793
|
-
icon:
|
|
11808
|
+
icon: el,
|
|
11794
11809
|
class: "xg-get-cssfull"
|
|
11795
11810
|
},
|
|
11796
11811
|
exitCssFullscreen: {
|
|
11797
|
-
icon:
|
|
11812
|
+
icon: tl,
|
|
11798
11813
|
class: "xg-exit-cssfull"
|
|
11799
11814
|
}
|
|
11800
11815
|
};
|
|
@@ -11830,7 +11845,7 @@ var Sn = /* @__PURE__ */ function(o) {
|
|
|
11830
11845
|
};
|
|
11831
11846
|
}
|
|
11832
11847
|
}]), r;
|
|
11833
|
-
}(Ze),
|
|
11848
|
+
}(Ze), il = /* @__PURE__ */ function(o) {
|
|
11834
11849
|
F(r, o);
|
|
11835
11850
|
var a = M(r);
|
|
11836
11851
|
function r() {
|
|
@@ -11891,7 +11906,7 @@ var Sn = /* @__PURE__ */ function(o) {
|
|
|
11891
11906
|
return "error";
|
|
11892
11907
|
}
|
|
11893
11908
|
}]), r;
|
|
11894
|
-
}(W),
|
|
11909
|
+
}(W), nl = /* @__PURE__ */ function(o) {
|
|
11895
11910
|
F(r, o);
|
|
11896
11911
|
var a = M(r);
|
|
11897
11912
|
function r() {
|
|
@@ -12121,7 +12136,7 @@ var In = {
|
|
|
12121
12136
|
return r.find('xg-spot[data-id="'.concat(a, '"]'));
|
|
12122
12137
|
}
|
|
12123
12138
|
};
|
|
12124
|
-
function
|
|
12139
|
+
function rl(o) {
|
|
12125
12140
|
var a = o.config, r = o.player;
|
|
12126
12141
|
Object.keys(In).map(function(e) {
|
|
12127
12142
|
o[e] = In[e].bind(o);
|
|
@@ -12145,7 +12160,7 @@ var it = {
|
|
|
12145
12160
|
click: "onProgressClick",
|
|
12146
12161
|
mouseover: "onProgressMouseOver",
|
|
12147
12162
|
mouseenter: "onProgressMouseOver"
|
|
12148
|
-
},
|
|
12163
|
+
}, sl = /* @__PURE__ */ function(o) {
|
|
12149
12164
|
F(r, o);
|
|
12150
12165
|
var a = M(r);
|
|
12151
12166
|
function r(t) {
|
|
@@ -12196,7 +12211,7 @@ var it = {
|
|
|
12196
12211
|
n.seekTime && e.player.seek(n.seekTime);
|
|
12197
12212
|
}), this.transformTimeHook = this.hook("transformTime", function(i) {
|
|
12198
12213
|
e.setTimeContent(h.format(i));
|
|
12199
|
-
}),
|
|
12214
|
+
}), rl(this), this.on(De, function() {
|
|
12200
12215
|
e.show();
|
|
12201
12216
|
}), this.config.disable && this.disable(), this.extTextRoot = this.find(".xg-spot-ext-text");
|
|
12202
12217
|
}
|
|
@@ -12420,7 +12435,7 @@ var it = {
|
|
|
12420
12435
|
};
|
|
12421
12436
|
}
|
|
12422
12437
|
}]), r;
|
|
12423
|
-
}(W),
|
|
12438
|
+
}(W), al = /* @__PURE__ */ function(o) {
|
|
12424
12439
|
F(r, o);
|
|
12425
12440
|
var a = M(r);
|
|
12426
12441
|
function r(t) {
|
|
@@ -12557,7 +12572,7 @@ var it = {
|
|
|
12557
12572
|
function si(o) {
|
|
12558
12573
|
return o ? "background:".concat(o, ";") : "";
|
|
12559
12574
|
}
|
|
12560
|
-
var
|
|
12575
|
+
var ol = /* @__PURE__ */ function(o) {
|
|
12561
12576
|
F(r, o);
|
|
12562
12577
|
var a = M(r);
|
|
12563
12578
|
function r() {
|
|
@@ -12587,7 +12602,7 @@ var ll = /* @__PURE__ */ function(o) {
|
|
|
12587
12602
|
key: "afterCreate",
|
|
12588
12603
|
value: function() {
|
|
12589
12604
|
var e = this;
|
|
12590
|
-
this.root && (this.on(
|
|
12605
|
+
this.root && (this.on(ge, this.onTimeupdate), this.on(qe, function() {
|
|
12591
12606
|
e.reset();
|
|
12592
12607
|
}));
|
|
12593
12608
|
}
|
|
@@ -12645,14 +12660,14 @@ var ll = /* @__PURE__ */ function(o) {
|
|
|
12645
12660
|
FRAME_RATE: "framerate",
|
|
12646
12661
|
POSTER: "poster"
|
|
12647
12662
|
};
|
|
12648
|
-
function
|
|
12663
|
+
function ll() {
|
|
12649
12664
|
try {
|
|
12650
12665
|
return parseInt(window.performance.now(), 10);
|
|
12651
12666
|
} catch {
|
|
12652
12667
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
12653
12668
|
}
|
|
12654
12669
|
}
|
|
12655
|
-
function
|
|
12670
|
+
function ul() {
|
|
12656
12671
|
try {
|
|
12657
12672
|
var o = document.createElement("canvas").getContext;
|
|
12658
12673
|
return !!o;
|
|
@@ -12660,7 +12675,7 @@ function cl() {
|
|
|
12660
12675
|
return !1;
|
|
12661
12676
|
}
|
|
12662
12677
|
}
|
|
12663
|
-
var Ct = null,
|
|
12678
|
+
var Ct = null, cl = /* @__PURE__ */ function(o) {
|
|
12664
12679
|
F(r, o);
|
|
12665
12680
|
var a = M(r);
|
|
12666
12681
|
function r() {
|
|
@@ -12669,19 +12684,19 @@ var Ct = null, fl = /* @__PURE__ */ function(o) {
|
|
|
12669
12684
|
for (var e = arguments.length, i = new Array(e), n = 0; n < e; n++)
|
|
12670
12685
|
i[n] = arguments[n];
|
|
12671
12686
|
return t = a.call.apply(a, [this].concat(i)), _(y(t), "onLoadedData", function(s) {
|
|
12672
|
-
t.player && (t._frameCount = t.config.startFrameCount, t.stop(), t.renderOnTimeupdate(s), t.off(
|
|
12687
|
+
t.player && (t._frameCount = t.config.startFrameCount, t.stop(), t.renderOnTimeupdate(s), t.off(ge, t.renderOnTimeupdate), t.on(ge, t.renderOnTimeupdate));
|
|
12673
12688
|
}), _(y(t), "onVisibilitychange", function(s) {
|
|
12674
12689
|
document.visibilityState === "visible" ? t._checkIfCanStart() && t.start() : document.visibilityState === "hidden" && t.stop();
|
|
12675
12690
|
}), _(y(t), "renderOnTimeupdate", function(s) {
|
|
12676
12691
|
if (t._frameCount > 0)
|
|
12677
12692
|
t.renderOnce(), t._frameCount--;
|
|
12678
12693
|
else {
|
|
12679
|
-
t._isLoaded = !0, t.off(
|
|
12694
|
+
t._isLoaded = !0, t.off(ge, t.renderOnTimeupdate);
|
|
12680
12695
|
var l = t.config.startInterval;
|
|
12681
12696
|
!t.player.paused && t._checkIfCanStart() && t.start(0, l);
|
|
12682
12697
|
}
|
|
12683
12698
|
}), _(y(t), "start", function(s, l) {
|
|
12684
|
-
var u = t.player.video, c =
|
|
12699
|
+
var u = t.player.video, c = ll(), f = t.checkVideoIsSupport(u);
|
|
12685
12700
|
!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 === nt.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));
|
|
12686
12701
|
}), _(y(t), "stop", function() {
|
|
12687
12702
|
t.frameId && (t._loopType === "timer" ? h.clearTimeout(y(t), t.frameId) : h.cancelAnimationFrame(t.frameId), t.frameId = null);
|
|
@@ -12705,7 +12720,7 @@ var Ct = null, fl = /* @__PURE__ */ function(o) {
|
|
|
12705
12720
|
e.player && (e.init(), e.renderByPoster(), e.player.paused || e.start());
|
|
12706
12721
|
}), s !== nt.POSTER && (s !== nt.FIRST_FRAME && (this.on(qe, function() {
|
|
12707
12722
|
e.stop();
|
|
12708
|
-
}), this.on(
|
|
12723
|
+
}), this.on(pe, function() {
|
|
12709
12724
|
var u = e.config.startInterval;
|
|
12710
12725
|
e._checkIfCanStart() && e.start(0, u);
|
|
12711
12726
|
}), this.on(ut, function() {
|
|
@@ -12854,7 +12869,7 @@ var Ct = null, fl = /* @__PURE__ */ function(o) {
|
|
|
12854
12869
|
}, {
|
|
12855
12870
|
key: "isSupport",
|
|
12856
12871
|
get: function() {
|
|
12857
|
-
return typeof Ct == "boolean" || (Ct =
|
|
12872
|
+
return typeof Ct == "boolean" || (Ct = ul()), Ct;
|
|
12858
12873
|
}
|
|
12859
12874
|
}, {
|
|
12860
12875
|
key: "supportCanvasFilter",
|
|
@@ -12862,7 +12877,7 @@ var Ct = null, fl = /* @__PURE__ */ function(o) {
|
|
|
12862
12877
|
return !(z.browser === "safari" || z.browser === "firefox");
|
|
12863
12878
|
}
|
|
12864
12879
|
}]), r;
|
|
12865
|
-
}(W),
|
|
12880
|
+
}(W), fl = {
|
|
12866
12881
|
LANG: "zh-cn",
|
|
12867
12882
|
TEXT: {
|
|
12868
12883
|
ERROR_TYPES: {
|
|
@@ -12937,7 +12952,7 @@ var Ct = null, fl = /* @__PURE__ */ function(o) {
|
|
|
12937
12952
|
FORWARD: "快进中",
|
|
12938
12953
|
LIVE_TIP: "直播"
|
|
12939
12954
|
}
|
|
12940
|
-
}, ht = "info", ai = nr,
|
|
12955
|
+
}, ht = "info", ai = nr, hl = /* @__PURE__ */ function(o) {
|
|
12941
12956
|
F(r, o);
|
|
12942
12957
|
var a = M(r);
|
|
12943
12958
|
function r() {
|
|
@@ -13122,7 +13137,7 @@ var Ct = null, fl = /* @__PURE__ */ function(o) {
|
|
|
13122
13137
|
key: "afterCreate",
|
|
13123
13138
|
value: function() {
|
|
13124
13139
|
var e = this, i = this.config.useGapJump;
|
|
13125
|
-
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(mt, this.onGapJump), this.on(
|
|
13140
|
+
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(mt, this.onGapJump), this.on(pe, function() {
|
|
13126
13141
|
e.hasPlayed = !0;
|
|
13127
13142
|
}), this.on(Mt, function() {
|
|
13128
13143
|
e.seekingEventReceived = !0;
|
|
@@ -13171,7 +13186,7 @@ var Ct = null, fl = /* @__PURE__ */ function(o) {
|
|
|
13171
13186
|
}]), r;
|
|
13172
13187
|
}(W);
|
|
13173
13188
|
hr.BROWSER_GAP_TOLERANCE = 1e-3;
|
|
13174
|
-
var
|
|
13189
|
+
var dl = /* @__PURE__ */ function(o) {
|
|
13175
13190
|
F(r, o);
|
|
13176
13191
|
var a = M(r);
|
|
13177
13192
|
function r() {
|
|
@@ -13197,7 +13212,7 @@ var gl = /* @__PURE__ */ function(o) {
|
|
|
13197
13212
|
var e = this, i = this.config, n = i.useWaitingTimeoutJump, s = i.jumpSize;
|
|
13198
13213
|
n !== !1 && (this.hasPlayed = !1, this.jumpCnt = 0, this.timer = null, this.jumpSize = s, this.on(mt, this.onWaiting), this.on([Ci, Ie], function() {
|
|
13199
13214
|
clearTimeout(e.timer), e.timer = null, e.jumpSize = e.config.jumpSize;
|
|
13200
|
-
}), this.on(
|
|
13215
|
+
}), this.on(pe, function() {
|
|
13201
13216
|
e.hasPlayed = !0;
|
|
13202
13217
|
}));
|
|
13203
13218
|
}
|
|
@@ -13217,7 +13232,7 @@ var gl = /* @__PURE__ */ function(o) {
|
|
|
13217
13232
|
};
|
|
13218
13233
|
}
|
|
13219
13234
|
}]), r;
|
|
13220
|
-
}(W), rt = "cdn", wt = ["cdn"],
|
|
13235
|
+
}(W), rt = "cdn", wt = ["cdn"], gl = /* @__PURE__ */ function(o) {
|
|
13221
13236
|
F(r, o);
|
|
13222
13237
|
var a = M(r);
|
|
13223
13238
|
function r() {
|
|
@@ -13343,7 +13358,7 @@ var gl = /* @__PURE__ */ function(o) {
|
|
|
13343
13358
|
};
|
|
13344
13359
|
}
|
|
13345
13360
|
}]), r;
|
|
13346
|
-
}(W),
|
|
13361
|
+
}(W), pl = /* @__PURE__ */ function(o) {
|
|
13347
13362
|
F(r, o);
|
|
13348
13363
|
var a = M(r);
|
|
13349
13364
|
function r() {
|
|
@@ -13355,7 +13370,7 @@ var gl = /* @__PURE__ */ function(o) {
|
|
|
13355
13370
|
var e = this, i = this.player, n = this.config, s = i.media || i.video;
|
|
13356
13371
|
if (this.timer = null, this._lastDecodedFrames = 0, this._currentStuckCount = 0, this._lastCheckPoint = null, this._payload = [], !n.disabled) {
|
|
13357
13372
|
var l = s.getVideoPlaybackQuality;
|
|
13358
|
-
l && (this.on(
|
|
13373
|
+
l && (this.on(pe, function() {
|
|
13359
13374
|
e._startTick();
|
|
13360
13375
|
}), this.on(ut, function() {
|
|
13361
13376
|
e._stopTick();
|
|
@@ -13453,24 +13468,24 @@ var gl = /* @__PURE__ */ function(o) {
|
|
|
13453
13468
|
}
|
|
13454
13469
|
}]), r;
|
|
13455
13470
|
}(W);
|
|
13456
|
-
st.use(
|
|
13457
|
-
var
|
|
13471
|
+
st.use(fl);
|
|
13472
|
+
var vl = /* @__PURE__ */ D(function o(a, r) {
|
|
13458
13473
|
var t, e, i;
|
|
13459
13474
|
L(this, o);
|
|
13460
|
-
var n = r && r.isMobileSimulateMode === "mobile", s = r.isLive, l = s ? [] : [
|
|
13461
|
-
this.plugins = [
|
|
13475
|
+
var n = r && r.isMobileSimulateMode === "mobile", s = r.isLive, l = s ? [] : [Lo, bo, ol, sl, Ao], u = [].concat(l, [To, Po, No, Vo, Jo, Qo, Yo, Xo, Fo, Uo]), c = [io, no, so, ko, ao, il, nl, al, co];
|
|
13476
|
+
this.plugins = [hl, eo].concat(ye(u), c, [hr, dl]);
|
|
13462
13477
|
var f = n ? "mobile" : z.device;
|
|
13463
13478
|
switch (f) {
|
|
13464
13479
|
case "pc":
|
|
13465
|
-
(t = this.plugins).push.apply(t, [bn, ni, Sn,
|
|
13480
|
+
(t = this.plugins).push.apply(t, [bn, ni, Sn, gl, pl]);
|
|
13466
13481
|
break;
|
|
13467
13482
|
case "mobile":
|
|
13468
|
-
(e = this.plugins).push.apply(e, [
|
|
13483
|
+
(e = this.plugins).push.apply(e, [mo]);
|
|
13469
13484
|
break;
|
|
13470
13485
|
default:
|
|
13471
13486
|
(i = this.plugins).push.apply(i, [bn, ni, Sn]);
|
|
13472
13487
|
}
|
|
13473
|
-
(z.os.isIpad || f === "pc") && this.plugins.push(
|
|
13488
|
+
(z.os.isIpad || f === "pc") && this.plugins.push(cl), z.os.isIpad && this.plugins.push(ni), this.ignores = [], this.i18n = [];
|
|
13474
13489
|
}), _e = /* @__PURE__ */ function(o) {
|
|
13475
13490
|
F(r, o);
|
|
13476
13491
|
var a = M(r);
|
|
@@ -13479,17 +13494,17 @@ var ml = /* @__PURE__ */ D(function o(a, r) {
|
|
|
13479
13494
|
}
|
|
13480
13495
|
return D(r);
|
|
13481
13496
|
}(Ut);
|
|
13482
|
-
_(_e, "defaultPreset",
|
|
13497
|
+
_(_e, "defaultPreset", vl);
|
|
13483
13498
|
_(_e, "Util", h);
|
|
13484
13499
|
_(_e, "Sniffer", z);
|
|
13485
13500
|
_(_e, "Errors", Et);
|
|
13486
|
-
_(_e, "Events",
|
|
13501
|
+
_(_e, "Events", Da);
|
|
13487
13502
|
_(_e, "Plugin", W);
|
|
13488
13503
|
_(_e, "BasePlugin", Ue);
|
|
13489
13504
|
_(_e, "I18N", st);
|
|
13490
13505
|
_(_e, "STATE_CLASS", S);
|
|
13491
13506
|
_(_e, "InstManager", ur);
|
|
13492
|
-
const
|
|
13507
|
+
const ml = ["id"], yl = /* @__PURE__ */ ee({
|
|
13493
13508
|
name: "ElImageViewer",
|
|
13494
13509
|
__name: "Player",
|
|
13495
13510
|
props: /* @__PURE__ */ Tt({
|
|
@@ -13568,7 +13583,7 @@ const yl = ["id"], _l = /* @__PURE__ */ ee({
|
|
|
13568
13583
|
ref: "wrapper",
|
|
13569
13584
|
tabindex: -1,
|
|
13570
13585
|
class: Y(P(f).e("wrapper")),
|
|
13571
|
-
style:
|
|
13586
|
+
style: he({ zIndex: o.zIndex })
|
|
13572
13587
|
},
|
|
13573
13588
|
[
|
|
13574
13589
|
b(
|
|
@@ -13587,7 +13602,7 @@ const yl = ["id"], _l = /* @__PURE__ */ ee({
|
|
|
13587
13602
|
class: Y(P(f).e("canvas"))
|
|
13588
13603
|
},
|
|
13589
13604
|
[
|
|
13590
|
-
b("div", { id: P(c) }, null, 8,
|
|
13605
|
+
b("div", { id: P(c) }, null, 8, ml),
|
|
13591
13606
|
I(" CLOSE "),
|
|
13592
13607
|
b(
|
|
13593
13608
|
"span",
|
|
@@ -13623,46 +13638,46 @@ const yl = ["id"], _l = /* @__PURE__ */ ee({
|
|
|
13623
13638
|
])) : I("v-if", !0);
|
|
13624
13639
|
};
|
|
13625
13640
|
}
|
|
13626
|
-
}),
|
|
13641
|
+
}), _l = /* @__PURE__ */ Ft(yl, [["__scopeId", "data-v-b301aa7d"]]), kl = Le(_l), Cl = {
|
|
13627
13642
|
class: "approveProcess",
|
|
13628
13643
|
id: "approveProcess"
|
|
13629
|
-
},
|
|
13644
|
+
}, wl = ["id"], bl = { class: "topBlock" }, Tl = { class: "left" }, El = { class: "nodeBg" }, Sl = ["src"], xl = { class: "right" }, Il = { class: "topInfo" }, Pl = { key: 0 }, Al = {
|
|
13630
13645
|
key: 0,
|
|
13631
13646
|
class: "main-text"
|
|
13632
|
-
},
|
|
13647
|
+
}, Ll = { class: "name" }, Dl = { key: 0 }, Ol = { key: 0 }, Rl = { key: 1 }, Fl = { key: 0 }, Ml = { key: 0 }, Nl = { key: 1 }, Bl = { key: 1 }, Hl = { class: "name" }, Ul = { key: 0 }, zl = { style: { color: "#000" } }, Vl = {
|
|
13633
13648
|
class: "blue",
|
|
13634
13649
|
style: { "margin-left": "5px", "font-size": "12px" }
|
|
13635
|
-
},
|
|
13650
|
+
}, jl = { key: 1 }, Wl = {
|
|
13636
13651
|
key: 0,
|
|
13637
13652
|
class: "blue",
|
|
13638
13653
|
style: { "font-size": "12px" }
|
|
13639
|
-
},
|
|
13654
|
+
}, Gl = { key: 1 }, $l = {
|
|
13640
13655
|
key: 0,
|
|
13641
13656
|
class: "blue",
|
|
13642
13657
|
style: { "font-size": "12px" }
|
|
13643
|
-
},
|
|
13658
|
+
}, Kl = {
|
|
13644
13659
|
key: 1,
|
|
13645
13660
|
class: "blue",
|
|
13646
13661
|
style: { "font-size": "12px" }
|
|
13647
|
-
},
|
|
13662
|
+
}, Yl = { class: "time" }, Xl = { key: 0 }, ql = { key: 1 }, Zl = ["onClick"], Jl = ["onClick"], Ql = {
|
|
13648
13663
|
key: 0,
|
|
13649
13664
|
class: "opinion"
|
|
13650
|
-
},
|
|
13665
|
+
}, eu = { key: 0 }, tu = { key: 1 }, iu = { style: { color: "var(--el-text-color-primary)", "margin-left": "8px" } }, nu = {
|
|
13651
13666
|
key: 2,
|
|
13652
13667
|
class: "annexImage"
|
|
13653
|
-
},
|
|
13668
|
+
}, ru = {
|
|
13654
13669
|
key: 3,
|
|
13655
13670
|
class: "approveList"
|
|
13656
|
-
},
|
|
13671
|
+
}, su = { class: "nodeBg-list" }, au = ["src"], ou = { key: 1 }, lu = {
|
|
13657
13672
|
key: 2,
|
|
13658
13673
|
class: "ikapprove ikapprove-duihao2 green read"
|
|
13659
|
-
},
|
|
13674
|
+
}, uu = ["title"], cu = {
|
|
13660
13675
|
key: 0,
|
|
13661
13676
|
class: "branch"
|
|
13662
|
-
},
|
|
13677
|
+
}, fu = { class: "branch-card" }, hu = { class: "branch-name" }, du = {
|
|
13663
13678
|
name: "IkingApprovalProcessDetail"
|
|
13664
|
-
},
|
|
13665
|
-
...
|
|
13679
|
+
}, gu = /* @__PURE__ */ ee({
|
|
13680
|
+
...du,
|
|
13666
13681
|
props: {
|
|
13667
13682
|
// 是否本地打开
|
|
13668
13683
|
local: {
|
|
@@ -13796,7 +13811,7 @@ const yl = ["id"], _l = /* @__PURE__ */ ee({
|
|
|
13796
13811
|
}, u = (c) => lt(t.value, c);
|
|
13797
13812
|
return (c, f) => {
|
|
13798
13813
|
const g = ot("el-image"), p = ot("IkingApprovalProcessDetail");
|
|
13799
|
-
return k(), w("div",
|
|
13814
|
+
return k(), w("div", Cl, [
|
|
13800
13815
|
(k(!0), w(
|
|
13801
13816
|
ne,
|
|
13802
13817
|
null,
|
|
@@ -13807,9 +13822,9 @@ const yl = ["id"], _l = /* @__PURE__ */ ee({
|
|
|
13807
13822
|
id: d[e.defaultFile.nodeId],
|
|
13808
13823
|
key: d[e.defaultFile.nodeId]
|
|
13809
13824
|
}, [
|
|
13810
|
-
b("div",
|
|
13811
|
-
b("div",
|
|
13812
|
-
b("span",
|
|
13825
|
+
b("div", bl, [
|
|
13826
|
+
b("div", Tl, [
|
|
13827
|
+
b("span", El, [
|
|
13813
13828
|
I(' 用户列表长度等于1, :src="formatUrl(it)"并且存在头像 '),
|
|
13814
13829
|
((m = d[e.defaultFile.approvePersonList]) == null ? void 0 : m.length) == 1 && d[e.defaultFile.approvePersonList][0].userAvatar ? (k(), w("img", {
|
|
13815
13830
|
key: 0,
|
|
@@ -13818,7 +13833,7 @@ const yl = ["id"], _l = /* @__PURE__ */ ee({
|
|
|
13818
13833
|
d[e.defaultFile.approvePersonList][0].userAvatar
|
|
13819
13834
|
),
|
|
13820
13835
|
alt: ""
|
|
13821
|
-
}, null, 8,
|
|
13836
|
+
}, null, 8, Sl)) : (k(), w(
|
|
13822
13837
|
ne,
|
|
13823
13838
|
{ key: 1 },
|
|
13824
13839
|
[
|
|
@@ -13856,27 +13871,27 @@ const yl = ["id"], _l = /* @__PURE__ */ ee({
|
|
|
13856
13871
|
)
|
|
13857
13872
|
])
|
|
13858
13873
|
]),
|
|
13859
|
-
b("div",
|
|
13860
|
-
b("div",
|
|
13874
|
+
b("div", xl, [
|
|
13875
|
+
b("div", Il, [
|
|
13861
13876
|
b("div", null, [
|
|
13862
13877
|
I(" 不是抄送节点 "),
|
|
13863
|
-
e.nodeType.抄送节点 !== d[e.defaultFile.nodeType] ? (k(), w("div",
|
|
13878
|
+
e.nodeType.抄送节点 !== d[e.defaultFile.nodeType] ? (k(), w("div", Pl, [
|
|
13864
13879
|
I(" 撤销,评论不显示节点名称 "),
|
|
13865
13880
|
d[e.defaultFile.approveStatus] != e.statusOption.撤销 && d[e.defaultFile.approveStatus] != e.statusOption.评论 && d[e.defaultFile.nodeType] !== e.nodeType.并行分支 ? (k(), w(
|
|
13866
13881
|
"div",
|
|
13867
|
-
|
|
13882
|
+
Al,
|
|
13868
13883
|
K(d[e.defaultFile.nodeTypeName]),
|
|
13869
13884
|
1
|
|
13870
13885
|
/* TEXT */
|
|
13871
13886
|
)) : I("v-if", !0),
|
|
13872
13887
|
I(" 名字+审批状态 "),
|
|
13873
|
-
b("div",
|
|
13888
|
+
b("div", Ll, [
|
|
13874
13889
|
I(" 已审批节点文本 "),
|
|
13875
|
-
d[e.defaultFile.lineType] == "solid" ? (k(), w("div",
|
|
13890
|
+
d[e.defaultFile.lineType] == "solid" ? (k(), w("div", Dl, [
|
|
13876
13891
|
b(
|
|
13877
13892
|
"span",
|
|
13878
13893
|
{
|
|
13879
|
-
style:
|
|
13894
|
+
style: he({
|
|
13880
13895
|
color: d[e.defaultFile.approveStatus] == e.statusOption.评论 ? "#000" : ""
|
|
13881
13896
|
})
|
|
13882
13897
|
},
|
|
@@ -13887,13 +13902,13 @@ const yl = ["id"], _l = /* @__PURE__ */ ee({
|
|
|
13887
13902
|
I(" 发起,退回不显示状态 "),
|
|
13888
13903
|
d[e.defaultFile.approveStatusName] && d[e.defaultFile.approveStatus] != e.statusOption.发起 && d[e.defaultFile.approveStatus] != e.statusOption.退回 ? (k(), w(
|
|
13889
13904
|
"span",
|
|
13890
|
-
|
|
13905
|
+
Ol,
|
|
13891
13906
|
K(d[e.defaultFile.approveStatus] == e.statusOption.评论 ? " 添加了评论" : d != null && d.nodeActionAliasName ? `(已${d.nodeActionAliasName})` : `(${d[e.defaultFile.approveStatusName]})`),
|
|
13892
13907
|
1
|
|
13893
13908
|
/* TEXT */
|
|
13894
13909
|
)) : I("v-if", !0),
|
|
13895
13910
|
I(" 退回状态显示 "),
|
|
13896
|
-
d[e.defaultFile.approveStatus] == e.statusOption.退回 ? (k(), w("span",
|
|
13911
|
+
d[e.defaultFile.approveStatus] == e.statusOption.退回 ? (k(), w("span", Rl, [
|
|
13897
13912
|
f[0] || (f[0] = b(
|
|
13898
13913
|
"span",
|
|
13899
13914
|
{
|
|
@@ -13916,7 +13931,7 @@ const yl = ["id"], _l = /* @__PURE__ */ ee({
|
|
|
13916
13931
|
[
|
|
13917
13932
|
I(" 待审批节点 "),
|
|
13918
13933
|
b("div", null, [
|
|
13919
|
-
((C = d[e.defaultFile.approvePersonList]) == null ? void 0 : C.length) == 1 ? (k(), w("span",
|
|
13934
|
+
((C = d[e.defaultFile.approvePersonList]) == null ? void 0 : C.length) == 1 ? (k(), w("span", Fl, [
|
|
13920
13935
|
Ke(
|
|
13921
13936
|
K(d[e.defaultFile.originator]) + " ",
|
|
13922
13937
|
1
|
|
@@ -13924,14 +13939,14 @@ const yl = ["id"], _l = /* @__PURE__ */ ee({
|
|
|
13924
13939
|
),
|
|
13925
13940
|
d[e.defaultFile.approveStatus] == e.statusOption.等待 ? (k(), w(
|
|
13926
13941
|
"span",
|
|
13927
|
-
|
|
13942
|
+
Ml,
|
|
13928
13943
|
K(d != null && d.nodeActionAliasName ? `(已${d.nodeActionAliasName})` : `(${d[e.defaultFile.approveStatusName]})`),
|
|
13929
13944
|
1
|
|
13930
13945
|
/* TEXT */
|
|
13931
13946
|
)) : I("v-if", !0)
|
|
13932
13947
|
])) : d[e.defaultFile.approvePersonList] ? (k(), w(
|
|
13933
13948
|
"span",
|
|
13934
|
-
|
|
13949
|
+
Nl,
|
|
13935
13950
|
K(`${(T = d[e.defaultFile.approvePersonList]) == null ? void 0 : T.length}人${d[e.defaultFile.approveTypeName]}`),
|
|
13936
13951
|
1
|
|
13937
13952
|
/* TEXT */
|
|
@@ -13942,7 +13957,7 @@ const yl = ["id"], _l = /* @__PURE__ */ ee({
|
|
|
13942
13957
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
13943
13958
|
))
|
|
13944
13959
|
])
|
|
13945
|
-
])) : (k(), w("div",
|
|
13960
|
+
])) : (k(), w("div", Bl, [
|
|
13946
13961
|
f[2] || (f[2] = b(
|
|
13947
13962
|
"div",
|
|
13948
13963
|
{ class: "main-text" },
|
|
@@ -13950,14 +13965,14 @@ const yl = ["id"], _l = /* @__PURE__ */ ee({
|
|
|
13950
13965
|
-1
|
|
13951
13966
|
/* HOISTED */
|
|
13952
13967
|
)),
|
|
13953
|
-
b("div",
|
|
13968
|
+
b("div", Hl, [
|
|
13954
13969
|
I(" 抄送一人时 "),
|
|
13955
|
-
((E = d[e.defaultFile.approvePersonList]) == null ? void 0 : E.length) == 1 ? (k(), w("span",
|
|
13970
|
+
((E = d[e.defaultFile.approvePersonList]) == null ? void 0 : E.length) == 1 ? (k(), w("span", Ul, [
|
|
13956
13971
|
b("span", null, [
|
|
13957
13972
|
f[1] || (f[1] = Ke("已抄送给 ")),
|
|
13958
13973
|
b(
|
|
13959
13974
|
"span",
|
|
13960
|
-
|
|
13975
|
+
zl,
|
|
13961
13976
|
K(d[e.defaultFile.approvePersonList][0].userName),
|
|
13962
13977
|
1
|
|
13963
13978
|
/* TEXT */
|
|
@@ -13965,24 +13980,24 @@ const yl = ["id"], _l = /* @__PURE__ */ ee({
|
|
|
13965
13980
|
]),
|
|
13966
13981
|
b(
|
|
13967
13982
|
"span",
|
|
13968
|
-
|
|
13983
|
+
Vl,
|
|
13969
13984
|
K(d[e.defaultFile.approvePersonList][0].status === "END" ? "已读" : "未读"),
|
|
13970
13985
|
1
|
|
13971
13986
|
/* TEXT */
|
|
13972
13987
|
)
|
|
13973
13988
|
])) : I("v-if", !0),
|
|
13974
13989
|
I(" 抄送多人时 "),
|
|
13975
|
-
((x = d[e.defaultFile.approvePersonList]) == null ? void 0 : x.length) > 1 ? (k(), w("span",
|
|
13990
|
+
((x = d[e.defaultFile.approvePersonList]) == null ? void 0 : x.length) > 1 ? (k(), w("span", jl, [
|
|
13976
13991
|
Ke(
|
|
13977
13992
|
K(`已抄送${(O = d[e.defaultFile.approvePersonList]) == null ? void 0 : O.length}人`) + " ",
|
|
13978
13993
|
1
|
|
13979
13994
|
/* TEXT */
|
|
13980
13995
|
),
|
|
13981
|
-
d[e.defaultFile.allRead] ? (k(), w("span",
|
|
13982
|
-
d[e.defaultFile.read] ? I("v-if", !0) : (k(), w("span",
|
|
13996
|
+
d[e.defaultFile.allRead] ? (k(), w("span", Wl, " 全部已读 ")) : (k(), w("span", Gl, [
|
|
13997
|
+
d[e.defaultFile.read] ? I("v-if", !0) : (k(), w("span", $l, " 全部未读 ")),
|
|
13983
13998
|
d[e.defaultFile.read] ? (k(), w(
|
|
13984
13999
|
"span",
|
|
13985
|
-
|
|
14000
|
+
Kl,
|
|
13986
14001
|
K(d[e.defaultFile.read]) + "人已读 ",
|
|
13987
14002
|
1
|
|
13988
14003
|
/* TEXT */
|
|
@@ -13992,11 +14007,11 @@ const yl = ["id"], _l = /* @__PURE__ */ ee({
|
|
|
13992
14007
|
])
|
|
13993
14008
|
]))
|
|
13994
14009
|
]),
|
|
13995
|
-
b("div",
|
|
14010
|
+
b("div", Yl, [
|
|
13996
14011
|
I(" 不是抄送节点,展示时间 "),
|
|
13997
14012
|
d[e.defaultFile.nodeType] != e.nodeType.抄送节点 && d[e.defaultFile.approveStatus] !== e.statusOption.等待 ? (k(), w(
|
|
13998
14013
|
"span",
|
|
13999
|
-
|
|
14014
|
+
Xl,
|
|
14000
14015
|
K(P(Tr).toDateTime(
|
|
14001
14016
|
d[e.defaultFile.operationTime],
|
|
14002
14017
|
"MM/DD HH:mm"
|
|
@@ -14005,16 +14020,16 @@ const yl = ["id"], _l = /* @__PURE__ */ ee({
|
|
|
14005
14020
|
/* TEXT */
|
|
14006
14021
|
)) : I("v-if", !0),
|
|
14007
14022
|
I(" 是抄送节点,并且抄送人员大于1时,展示图标 "),
|
|
14008
|
-
d[e.defaultFile.nodeType] == e.nodeType.抄送节点 && ((H = d[e.defaultFile.approvePersonList]) == null ? void 0 : H.length) > 1 ? (k(), w("span",
|
|
14023
|
+
d[e.defaultFile.nodeType] == e.nodeType.抄送节点 && ((H = d[e.defaultFile.approvePersonList]) == null ? void 0 : H.length) > 1 ? (k(), w("span", ql, [
|
|
14009
14024
|
d != null && d.show ? (k(), w("i", {
|
|
14010
14025
|
key: 0,
|
|
14011
14026
|
class: "ikapprove ikapprove-a-putongjiantouzhankai",
|
|
14012
14027
|
onClick: (A) => l(d, "grid")
|
|
14013
|
-
}, null, 8,
|
|
14028
|
+
}, null, 8, Zl)) : (k(), w("i", {
|
|
14014
14029
|
key: 1,
|
|
14015
14030
|
onClick: (A) => l(d, "none"),
|
|
14016
14031
|
class: "ikapprove ikapprove-a-putongjiantoushouqi"
|
|
14017
|
-
}, null, 8,
|
|
14032
|
+
}, null, 8, Jl))
|
|
14018
14033
|
])) : I("v-if", !0)
|
|
14019
14034
|
])
|
|
14020
14035
|
])
|
|
@@ -14024,21 +14039,21 @@ const yl = ["id"], _l = /* @__PURE__ */ ee({
|
|
|
14024
14039
|
"div",
|
|
14025
14040
|
{
|
|
14026
14041
|
class: "bottomBlock",
|
|
14027
|
-
style:
|
|
14042
|
+
style: he({
|
|
14028
14043
|
borderLeft: v == e.listData.length - 1 ? "" : `2px ${d[e.defaultFile.lineType] || "dashed"} var(--el-border-color)`
|
|
14029
14044
|
})
|
|
14030
14045
|
},
|
|
14031
14046
|
[
|
|
14032
14047
|
I(" 审批意见 "),
|
|
14033
|
-
d[e.defaultFile.approveOpinion] || d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), w("div",
|
|
14048
|
+
d[e.defaultFile.approveOpinion] || d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), w("div", Ql, [
|
|
14034
14049
|
d[e.defaultFile.approveOpinion] ? (k(), w(
|
|
14035
14050
|
"span",
|
|
14036
|
-
|
|
14051
|
+
eu,
|
|
14037
14052
|
K(d[e.defaultFile.approveOpinion]),
|
|
14038
14053
|
1
|
|
14039
14054
|
/* TEXT */
|
|
14040
14055
|
)) : I("v-if", !0),
|
|
14041
|
-
d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), w("span",
|
|
14056
|
+
d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), w("span", tu, [
|
|
14042
14057
|
f[3] || (f[3] = b(
|
|
14043
14058
|
"span",
|
|
14044
14059
|
{ class: "ik-text-primary" },
|
|
@@ -14051,7 +14066,7 @@ const yl = ["id"], _l = /* @__PURE__ */ ee({
|
|
|
14051
14066
|
null,
|
|
14052
14067
|
xe(d[e.defaultFile.countersignPer], (A, ie) => (k(), w(
|
|
14053
14068
|
"span",
|
|
14054
|
-
|
|
14069
|
+
iu,
|
|
14055
14070
|
K(A == null ? void 0 : A.userName) + K(ie < d[e.defaultFile.countersignPer].length - 1 ? "、" : ""),
|
|
14056
14071
|
1
|
|
14057
14072
|
/* TEXT */
|
|
@@ -14062,12 +14077,12 @@ const yl = ["id"], _l = /* @__PURE__ */ ee({
|
|
|
14062
14077
|
])) : I("v-if", !0)
|
|
14063
14078
|
])) : I("v-if", !0),
|
|
14064
14079
|
I(" 附件 "),
|
|
14065
|
-
(R = d[e.defaultFile.attachment]) != null && R.length ? (k(), ce(P(
|
|
14080
|
+
(R = d[e.defaultFile.attachment]) != null && R.length ? (k(), ce(P(ks), {
|
|
14066
14081
|
key: 1,
|
|
14067
14082
|
list: d[e.defaultFile.attachment]
|
|
14068
14083
|
}, null, 8, ["list"])) : I("v-if", !0),
|
|
14069
14084
|
I(" 附件图片 "),
|
|
14070
|
-
(te = d[e.defaultFile.attachmentImg]) != null && te.length ? (k(), w("div",
|
|
14085
|
+
(te = d[e.defaultFile.attachmentImg]) != null && te.length ? (k(), w("div", nu, [
|
|
14071
14086
|
(k(!0), w(
|
|
14072
14087
|
ne,
|
|
14073
14088
|
null,
|
|
@@ -14089,7 +14104,7 @@ const yl = ["id"], _l = /* @__PURE__ */ ee({
|
|
|
14089
14104
|
))
|
|
14090
14105
|
])) : I("v-if", !0),
|
|
14091
14106
|
I(" 抄送节点或是等待审批状态并且列表长度大于1 "),
|
|
14092
|
-
(d[e.defaultFile.nodeType] == e.nodeType.抄送节点 || d[e.defaultFile.approveStatus] == e.statusOption.等待) && ((q = d[e.defaultFile.approvePersonList]) == null ? void 0 : q.length) > 1 ? (k(), w("div",
|
|
14107
|
+
(d[e.defaultFile.nodeType] == e.nodeType.抄送节点 || d[e.defaultFile.approveStatus] == e.statusOption.等待) && ((q = d[e.defaultFile.approvePersonList]) == null ? void 0 : q.length) > 1 ? (k(), w("div", ru, [
|
|
14093
14108
|
(k(!0), w(
|
|
14094
14109
|
ne,
|
|
14095
14110
|
null,
|
|
@@ -14097,25 +14112,25 @@ const yl = ["id"], _l = /* @__PURE__ */ ee({
|
|
|
14097
14112
|
class: "perBlock",
|
|
14098
14113
|
key: A.userName
|
|
14099
14114
|
}, [
|
|
14100
|
-
b("span",
|
|
14115
|
+
b("span", su, [
|
|
14101
14116
|
A.userAvatar ? (k(), w("img", {
|
|
14102
14117
|
key: 0,
|
|
14103
14118
|
style: { width: "100%", height: "100%", "border-radius": "50%" },
|
|
14104
14119
|
src: u(A.userAvatar),
|
|
14105
14120
|
alt: ""
|
|
14106
|
-
}, null, 8,
|
|
14121
|
+
}, null, 8, au)) : (k(), w(
|
|
14107
14122
|
"span",
|
|
14108
|
-
|
|
14123
|
+
ou,
|
|
14109
14124
|
K(A.userName.slice(-2)),
|
|
14110
14125
|
1
|
|
14111
14126
|
/* TEXT */
|
|
14112
14127
|
)),
|
|
14113
|
-
A.status === "END" ? (k(), w("i",
|
|
14128
|
+
A.status === "END" ? (k(), w("i", lu)) : I("v-if", !0)
|
|
14114
14129
|
]),
|
|
14115
14130
|
b("div", {
|
|
14116
14131
|
class: "main-text",
|
|
14117
14132
|
title: A.userName
|
|
14118
|
-
}, K(A.userName), 9,
|
|
14133
|
+
}, K(A.userName), 9, uu)
|
|
14119
14134
|
]))),
|
|
14120
14135
|
128
|
|
14121
14136
|
/* KEYED_FRAGMENT */
|
|
@@ -14125,14 +14140,14 @@ const yl = ["id"], _l = /* @__PURE__ */ ee({
|
|
|
14125
14140
|
4
|
|
14126
14141
|
/* STYLE */
|
|
14127
14142
|
),
|
|
14128
|
-
d[e.defaultFile.nodeType] === e.nodeType.并行分支 ? (k(), w("div",
|
|
14143
|
+
d[e.defaultFile.nodeType] === e.nodeType.并行分支 ? (k(), w("div", cu, [
|
|
14129
14144
|
(k(!0), w(
|
|
14130
14145
|
ne,
|
|
14131
14146
|
null,
|
|
14132
|
-
xe(d[e.defaultFile.parallelInstances], (A) => (k(), w("div",
|
|
14147
|
+
xe(d[e.defaultFile.parallelInstances], (A) => (k(), w("div", fu, [
|
|
14133
14148
|
b(
|
|
14134
14149
|
"div",
|
|
14135
|
-
|
|
14150
|
+
hu,
|
|
14136
14151
|
K(A.name),
|
|
14137
14152
|
1
|
|
14138
14153
|
/* TEXT */
|
|
@@ -14145,7 +14160,7 @@ const yl = ["id"], _l = /* @__PURE__ */ ee({
|
|
|
14145
14160
|
/* UNKEYED_FRAGMENT */
|
|
14146
14161
|
))
|
|
14147
14162
|
])) : I("v-if", !0)
|
|
14148
|
-
], 8,
|
|
14163
|
+
], 8, wl);
|
|
14149
14164
|
}),
|
|
14150
14165
|
128
|
|
14151
14166
|
/* KEYED_FRAGMENT */
|
|
@@ -14153,8 +14168,8 @@ const yl = ["id"], _l = /* @__PURE__ */ ee({
|
|
|
14153
14168
|
]);
|
|
14154
14169
|
};
|
|
14155
14170
|
}
|
|
14156
|
-
}),
|
|
14171
|
+
}), pu = /* @__PURE__ */ Ft(gu, [["__scopeId", "data-v-08d2843d"]]), _u = Le(pu);
|
|
14157
14172
|
export {
|
|
14158
|
-
|
|
14159
|
-
|
|
14173
|
+
_u as IkApprovalProcessDetail,
|
|
14174
|
+
_u as default
|
|
14160
14175
|
};
|