iking-web-ui-pro 0.2.43 → 0.2.44
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/IKPreviewFile/ik.index.es.js +352 -354
- package/dist/IKPreviewFile/ik.index.umd.js +44 -44
- package/dist/IKSearch/ik.index.es.js +111 -109
- package/dist/IKSearch/ik.index.umd.js +2 -2
- package/dist/IkApprovalProcess/ik.index.es.js +167 -158
- package/dist/IkApprovalProcess/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcess/style.css +1 -1
- package/dist/IkApprovalProcessDetail/ik.index.es.js +359 -361
- package/dist/IkApprovalProcessDetail/ik.index.umd.js +44 -44
- package/dist/IkCalendar/ik.index.es.js +355 -353
- package/dist/IkCalendar/ik.index.umd.js +1 -1
- package/dist/IkDescription/ik.index.es.js +299 -301
- package/dist/IkDescription/ik.index.umd.js +44 -44
- package/dist/IkDetailPreviewFiles/ik.index.es.js +307 -309
- package/dist/IkDetailPreviewFiles/ik.index.umd.js +44 -44
- package/dist/IkOnlyOffice/ik.index.es.js +13 -19
- package/dist/IkOnlyOffice/ik.index.umd.js +1 -1
- package/dist/IkPageFull/ik.index.es.js +154 -152
- package/dist/IkPageFull/ik.index.umd.js +2 -2
- package/dist/IkPickerUser/ik.index.es.js +119 -117
- package/dist/IkPickerUser/ik.index.umd.js +1 -1
- package/dist/IkPreviewFileDialog/ik.index.es.js +343 -345
- package/dist/IkPreviewFileDialog/ik.index.umd.js +44 -44
- package/dist/IkTemplateOfficeConfig/ik.index.es.js +77 -78
- package/dist/IkTemplateOfficeConfig/ik.index.umd.js +1 -1
- package/dist/IkTinymce/ik.index.es.js +8803 -8741
- package/dist/IkTinymce/ik.index.umd.js +38 -38
- package/dist/IkTinymce/style.css +1 -1
- package/dist/IkUploadFile/ik.index.es.js +333 -335
- package/dist/IkUploadFile/ik.index.umd.js +46 -46
- package/dist/index.es.js +6738 -6729
- package/dist/index.umd.js +106 -106
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/IkOnlyOffice/style.css +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as ee, computed as Z, openBlock as k, createElementBlock as S, createElementVNode as b, inject as ft, ref as pe, resolveComponent as Ke, Fragment as ce, renderList as Me, normalizeStyle as oe, toDisplayString as X, normalizeClass as K, createVNode as $, unref as x, withModifiers as ni, createBlock as ve, createCommentVNode as L, renderSlot as Ne, withCtx as ne, mergeModels as
|
|
1
|
+
import { defineComponent as ee, computed as Z, openBlock as k, createElementBlock as S, createElementVNode as b, inject as ft, ref as pe, resolveComponent as Ke, Fragment as ce, renderList as Me, normalizeStyle as oe, toDisplayString as X, normalizeClass as K, createVNode as $, unref as x, withModifiers as ni, createBlock as ve, createCommentVNode as L, renderSlot as Ne, withCtx as ne, mergeModels as bt, useModel as hi, reactive as Cn, watch as ot, nextTick as gt, createTextVNode as We, h as or, mergeProps as wn, createSlots as lr, getCurrentScope as ur, onScopeDispose as cr, markRaw as Fi, effectScope as fr, shallowRef as hr, onMounted as bn, Teleport as Tn, Transition as En, resolveDynamicComponent as dr, withDirectives as gr, vShow as pr, pushScopeId as vr, popScopeId as mr } from "vue";
|
|
2
2
|
import { paramType as ri, ikFile as yr, buildUUID as Sn, ikColor as _r, _ as Vt, ikDate as kr } from "iking-utils-pro";
|
|
3
3
|
import { useLocale as Cr, useNamespace as xn, useZIndex as wr, ElIcon as De, EVENT_CODE as Ze } from "element-plus";
|
|
4
4
|
const Ae = (o, a) => {
|
|
@@ -751,7 +751,7 @@ var Is = /* @__PURE__ */ ee({
|
|
|
751
751
|
]));
|
|
752
752
|
}
|
|
753
753
|
}), $s = js;
|
|
754
|
-
const
|
|
754
|
+
const Rt = (o, a) => {
|
|
755
755
|
const r = o.__vccOpts || o;
|
|
756
756
|
for (const [t, e] of a)
|
|
757
757
|
r[t] = e;
|
|
@@ -1209,7 +1209,7 @@ const vt = (o, a) => {
|
|
|
1209
1209
|
});
|
|
1210
1210
|
const ta = Ae(ea), ia = /* @__PURE__ */ ee({
|
|
1211
1211
|
__name: "IkPreviewFileDialog",
|
|
1212
|
-
props: /* @__PURE__ */
|
|
1212
|
+
props: /* @__PURE__ */ bt({
|
|
1213
1213
|
file: {
|
|
1214
1214
|
type: Object,
|
|
1215
1215
|
default: () => []
|
|
@@ -1258,7 +1258,6 @@ const ta = Ae(ea), ia = /* @__PURE__ */ ee({
|
|
|
1258
1258
|
var c, h, g, p, d, v, m;
|
|
1259
1259
|
try {
|
|
1260
1260
|
const C = ((c = u == null ? void 0 : u.response) == null ? void 0 : c.data) || u, E = C[t.value.url] || (C == null ? void 0 : C.id) || C.attachmentId, w = (h = C[t.value.suffix] || C.attachmentSuffix) == null ? void 0 : h.toLowerCase(), D = C[t.value.name] || (C == null ? void 0 : C.attachmentName) || (C == null ? void 0 : C.originName);
|
|
1261
|
-
debugger;
|
|
1262
1261
|
if (i.value = {
|
|
1263
1262
|
...u,
|
|
1264
1263
|
name: u[t.value.name],
|
|
@@ -1311,7 +1310,7 @@ const ta = Ae(ea), ia = /* @__PURE__ */ ee({
|
|
|
1311
1310
|
ce,
|
|
1312
1311
|
{ key: 0 },
|
|
1313
1312
|
[
|
|
1314
|
-
(h = i.value) != null && h.url && n.image ? (k(), ve(x(
|
|
1313
|
+
(h = i.value) != null && h.url && n.image ? (k(), ve(x(za), {
|
|
1315
1314
|
key: 0,
|
|
1316
1315
|
onClose: c[0] || (c[0] = (d) => l()),
|
|
1317
1316
|
ref: "previewImgRef",
|
|
@@ -1319,9 +1318,9 @@ const ta = Ae(ea), ia = /* @__PURE__ */ ee({
|
|
|
1319
1318
|
teleported: "",
|
|
1320
1319
|
"z-index": 9999
|
|
1321
1320
|
}, null, 8, ["url-list"])) : L("v-if", !0),
|
|
1322
|
-
L('
|
|
1321
|
+
L(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
|
|
1323
1322
|
L(" 文档类 "),
|
|
1324
|
-
$(x(
|
|
1323
|
+
$(x(ru), {
|
|
1325
1324
|
modelValue: n.video,
|
|
1326
1325
|
"onUpdate:modelValue": c[1] || (c[1] = (d) => n.video = d),
|
|
1327
1326
|
url: (p = i.value) == null ? void 0 : p.url
|
|
@@ -1344,7 +1343,7 @@ const ta = Ae(ea), ia = /* @__PURE__ */ ee({
|
|
|
1344
1343
|
default: ne(() => {
|
|
1345
1344
|
var d;
|
|
1346
1345
|
return [
|
|
1347
|
-
$(x(
|
|
1346
|
+
$(x(Ea), {
|
|
1348
1347
|
"config-options": e.value,
|
|
1349
1348
|
"document-server-url": ((d = o.onlyOfficeConfig) == null ? void 0 : d.serverUrl) || o.onlyofficeServer
|
|
1350
1349
|
}, null, 8, ["config-options", "document-server-url"])
|
|
@@ -1563,7 +1562,7 @@ const na = Ae(ia), ra = {
|
|
|
1563
1562
|
};
|
|
1564
1563
|
}
|
|
1565
1564
|
});
|
|
1566
|
-
const ha = /* @__PURE__ */
|
|
1565
|
+
const ha = /* @__PURE__ */ Rt(fa, [["__scopeId", "data-v-52806adf"]]), st = Ae(ha), da = /* @__PURE__ */ ee({
|
|
1567
1566
|
__name: "CloseIcon",
|
|
1568
1567
|
props: {
|
|
1569
1568
|
showBg: {
|
|
@@ -1594,9 +1593,9 @@ const ha = /* @__PURE__ */ vt(fa, [["__scopeId", "data-v-52806adf"]]), st = Ae(h
|
|
|
1594
1593
|
));
|
|
1595
1594
|
}
|
|
1596
1595
|
});
|
|
1597
|
-
const ga = /* @__PURE__ */
|
|
1596
|
+
const ga = /* @__PURE__ */ Rt(da, [["__scopeId", "data-v-da39e979"]]), pa = { class: "base-header" }, va = /* @__PURE__ */ ee({
|
|
1598
1597
|
__name: "IkBaseDialog",
|
|
1599
|
-
props: /* @__PURE__ */
|
|
1598
|
+
props: /* @__PURE__ */ bt({
|
|
1600
1599
|
title: { default: "" },
|
|
1601
1600
|
cancelText: { default: "取消" },
|
|
1602
1601
|
confirmText: { default: "确认" },
|
|
@@ -2035,40 +2034,39 @@ const Ta = /* @__PURE__ */ ee({
|
|
|
2035
2034
|
/* STYLE */
|
|
2036
2035
|
));
|
|
2037
2036
|
}
|
|
2038
|
-
});
|
|
2039
|
-
const Ea = /* @__PURE__ */ vt(Ta, [["__scopeId", "data-v-98d51ef9"]]), Sa = Ae(Ea);
|
|
2037
|
+
}), Ea = Ae(Ta);
|
|
2040
2038
|
var Hi;
|
|
2041
|
-
const Pn = typeof window < "u",
|
|
2039
|
+
const Pn = typeof window < "u", Sa = (o) => typeof o == "string", xa = () => {
|
|
2042
2040
|
};
|
|
2043
2041
|
Pn && ((Hi = window == null ? void 0 : window.navigator) != null && Hi.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
2044
2042
|
function An(o) {
|
|
2045
2043
|
return typeof o == "function" ? o() : x(o);
|
|
2046
2044
|
}
|
|
2047
|
-
function
|
|
2045
|
+
function Ia(o) {
|
|
2048
2046
|
return o;
|
|
2049
2047
|
}
|
|
2050
|
-
function
|
|
2048
|
+
function Pa(o) {
|
|
2051
2049
|
return ur() ? (cr(o), !0) : !1;
|
|
2052
2050
|
}
|
|
2053
|
-
function
|
|
2051
|
+
function Aa(o) {
|
|
2054
2052
|
var a;
|
|
2055
2053
|
const r = An(o);
|
|
2056
2054
|
return (a = r == null ? void 0 : r.$el) != null ? a : r;
|
|
2057
2055
|
}
|
|
2058
|
-
const
|
|
2059
|
-
function
|
|
2056
|
+
const La = Pn ? window : void 0;
|
|
2057
|
+
function yt(...o) {
|
|
2060
2058
|
let a, r, t, e;
|
|
2061
|
-
if (
|
|
2062
|
-
return
|
|
2059
|
+
if (Sa(o[0]) || Array.isArray(o[0]) ? ([r, t, e] = o, a = La) : [a, r, t, e] = o, !a)
|
|
2060
|
+
return xa;
|
|
2063
2061
|
Array.isArray(r) || (r = [r]), Array.isArray(t) || (t = [t]);
|
|
2064
2062
|
const i = [], n = () => {
|
|
2065
2063
|
i.forEach((c) => c()), i.length = 0;
|
|
2066
|
-
}, s = (c, h, g, p) => (c.addEventListener(h, g, p), () => c.removeEventListener(h, g, p)), l = ot(() => [
|
|
2064
|
+
}, s = (c, h, g, p) => (c.addEventListener(h, g, p), () => c.removeEventListener(h, g, p)), l = ot(() => [Aa(a), An(e)], ([c, h]) => {
|
|
2067
2065
|
n(), c && i.push(...r.flatMap((g) => t.map((p) => s(c, g, p, h))));
|
|
2068
2066
|
}, { immediate: !0, flush: "post" }), u = () => {
|
|
2069
2067
|
l(), n();
|
|
2070
2068
|
};
|
|
2071
|
-
return
|
|
2069
|
+
return Pa(u), u;
|
|
2072
2070
|
}
|
|
2073
2071
|
const Ui = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, zi = "__vueuse_ssr_handlers__";
|
|
2074
2072
|
Ui[zi] = Ui[zi] || {};
|
|
@@ -2076,15 +2074,15 @@ var Vi;
|
|
|
2076
2074
|
(function(o) {
|
|
2077
2075
|
o.UP = "UP", o.RIGHT = "RIGHT", o.DOWN = "DOWN", o.LEFT = "LEFT", o.NONE = "NONE";
|
|
2078
2076
|
})(Vi || (Vi = {}));
|
|
2079
|
-
var
|
|
2077
|
+
var Da = Object.defineProperty, ji = Object.getOwnPropertySymbols, Oa = Object.prototype.hasOwnProperty, Ra = Object.prototype.propertyIsEnumerable, $i = (o, a, r) => a in o ? Da(o, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : o[a] = r, Fa = (o, a) => {
|
|
2080
2078
|
for (var r in a || (a = {}))
|
|
2081
|
-
|
|
2079
|
+
Oa.call(a, r) && $i(o, r, a[r]);
|
|
2082
2080
|
if (ji)
|
|
2083
2081
|
for (var r of ji(a))
|
|
2084
|
-
|
|
2082
|
+
Ra.call(a, r) && $i(o, r, a[r]);
|
|
2085
2083
|
return o;
|
|
2086
2084
|
};
|
|
2087
|
-
const
|
|
2085
|
+
const Ma = {
|
|
2088
2086
|
easeInSine: [0.12, 0, 0.39, 0],
|
|
2089
2087
|
easeOutSine: [0.61, 1, 0.88, 1],
|
|
2090
2088
|
easeInOutSine: [0.37, 0, 0.63, 1],
|
|
@@ -2110,10 +2108,10 @@ const Na = {
|
|
|
2110
2108
|
easeOutBack: [0.34, 1.56, 0.64, 1],
|
|
2111
2109
|
easeInOutBack: [0.68, -0.6, 0.32, 1.6]
|
|
2112
2110
|
};
|
|
2113
|
-
|
|
2114
|
-
linear:
|
|
2115
|
-
},
|
|
2116
|
-
const
|
|
2111
|
+
Fa({
|
|
2112
|
+
linear: Ia
|
|
2113
|
+
}, Ma);
|
|
2114
|
+
const Na = {
|
|
2117
2115
|
/**
|
|
2118
2116
|
* @description preview link list.
|
|
2119
2117
|
*/
|
|
@@ -2183,15 +2181,15 @@ const Ba = {
|
|
|
2183
2181
|
crossorigin: {
|
|
2184
2182
|
type: ["anonymous", "use-credentials", ""]
|
|
2185
2183
|
}
|
|
2186
|
-
},
|
|
2184
|
+
}, Ba = {
|
|
2187
2185
|
close: () => !0,
|
|
2188
2186
|
switch: (o) => ri.isNumber(o),
|
|
2189
2187
|
rotate: (o) => ri.isNumber(o)
|
|
2190
|
-
},
|
|
2188
|
+
}, Ha = ["src", "crossorigin"], Ua = /* @__PURE__ */ ee({
|
|
2191
2189
|
name: "ElImageViewer",
|
|
2192
2190
|
__name: "IkImageViewer",
|
|
2193
|
-
props:
|
|
2194
|
-
emits:
|
|
2191
|
+
props: Na,
|
|
2192
|
+
emits: Ba,
|
|
2195
2193
|
setup(o, { expose: a, emit: r }) {
|
|
2196
2194
|
const t = (H) => Object.keys(H), e = {
|
|
2197
2195
|
CONTAIN: {
|
|
@@ -2263,7 +2261,7 @@ const Ba = {
|
|
|
2263
2261
|
});
|
|
2264
2262
|
});
|
|
2265
2263
|
g.run(() => {
|
|
2266
|
-
|
|
2264
|
+
yt(document, "keydown", H), yt(document, "wheel", G);
|
|
2267
2265
|
});
|
|
2268
2266
|
}
|
|
2269
2267
|
function ie() {
|
|
@@ -2285,8 +2283,8 @@ const Ba = {
|
|
|
2285
2283
|
offsetX: G + ct.pageX - me,
|
|
2286
2284
|
offsetY: J + ct.pageY - ke
|
|
2287
2285
|
};
|
|
2288
|
-
}), Le =
|
|
2289
|
-
|
|
2286
|
+
}), Le = yt(document, "mousemove", Ce);
|
|
2287
|
+
yt(document, "mouseup", () => {
|
|
2290
2288
|
Le();
|
|
2291
2289
|
}), H.preventDefault();
|
|
2292
2290
|
}
|
|
@@ -2552,7 +2550,7 @@ const Ba = {
|
|
|
2552
2550
|
onLoad: se,
|
|
2553
2551
|
onError: fe,
|
|
2554
2552
|
onMousedown: Te
|
|
2555
|
-
}, null, 46,
|
|
2553
|
+
}, null, 46, Ha)), [
|
|
2556
2554
|
[pr, me === d.value]
|
|
2557
2555
|
])),
|
|
2558
2556
|
128
|
|
@@ -2573,7 +2571,7 @@ const Ba = {
|
|
|
2573
2571
|
})
|
|
2574
2572
|
]));
|
|
2575
2573
|
}
|
|
2576
|
-
}),
|
|
2574
|
+
}), za = Ae(Ua);
|
|
2577
2575
|
function Wi(o, a) {
|
|
2578
2576
|
var r = Object.keys(o);
|
|
2579
2577
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -2649,7 +2647,7 @@ function ai(o, a) {
|
|
|
2649
2647
|
return t.__proto__ = e, t;
|
|
2650
2648
|
}, ai(o, a);
|
|
2651
2649
|
}
|
|
2652
|
-
function
|
|
2650
|
+
function Va() {
|
|
2653
2651
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
2654
2652
|
return !1;
|
|
2655
2653
|
if (typeof Proxy == "function")
|
|
@@ -2674,7 +2672,7 @@ function vi(o, a) {
|
|
|
2674
2672
|
return y(o);
|
|
2675
2673
|
}
|
|
2676
2674
|
function M(o) {
|
|
2677
|
-
var a =
|
|
2675
|
+
var a = Va();
|
|
2678
2676
|
return function() {
|
|
2679
2677
|
var t = N(o), e;
|
|
2680
2678
|
if (a) {
|
|
@@ -2685,14 +2683,14 @@ function M(o) {
|
|
|
2685
2683
|
return vi(this, e);
|
|
2686
2684
|
};
|
|
2687
2685
|
}
|
|
2688
|
-
function
|
|
2686
|
+
function ja(o, a) {
|
|
2689
2687
|
for (; !Object.prototype.hasOwnProperty.call(o, a) && (o = N(o), o !== null); )
|
|
2690
2688
|
;
|
|
2691
2689
|
return o;
|
|
2692
2690
|
}
|
|
2693
2691
|
function B() {
|
|
2694
2692
|
return typeof Reflect < "u" && Reflect.get ? B = Reflect.get.bind() : B = function(a, r, t) {
|
|
2695
|
-
var e =
|
|
2693
|
+
var e = ja(a, r);
|
|
2696
2694
|
if (e) {
|
|
2697
2695
|
var i = Object.getOwnPropertyDescriptor(e, r);
|
|
2698
2696
|
return i.get ? i.get.call(arguments.length < 3 ? a : t) : i.value;
|
|
@@ -2700,17 +2698,17 @@ function B() {
|
|
|
2700
2698
|
}, B.apply(this, arguments);
|
|
2701
2699
|
}
|
|
2702
2700
|
function ye(o) {
|
|
2703
|
-
return
|
|
2701
|
+
return $a(o) || Wa(o) || Ga(o) || Ka();
|
|
2704
2702
|
}
|
|
2705
|
-
function
|
|
2703
|
+
function $a(o) {
|
|
2706
2704
|
if (Array.isArray(o))
|
|
2707
2705
|
return oi(o);
|
|
2708
2706
|
}
|
|
2709
|
-
function
|
|
2707
|
+
function Wa(o) {
|
|
2710
2708
|
if (typeof Symbol < "u" && o[Symbol.iterator] != null || o["@@iterator"] != null)
|
|
2711
2709
|
return Array.from(o);
|
|
2712
2710
|
}
|
|
2713
|
-
function
|
|
2711
|
+
function Ga(o, a) {
|
|
2714
2712
|
if (o) {
|
|
2715
2713
|
if (typeof o == "string")
|
|
2716
2714
|
return oi(o, a);
|
|
@@ -2727,11 +2725,11 @@ function oi(o, a) {
|
|
|
2727
2725
|
t[r] = o[r];
|
|
2728
2726
|
return t;
|
|
2729
2727
|
}
|
|
2730
|
-
function
|
|
2728
|
+
function Ka() {
|
|
2731
2729
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2732
2730
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2733
2731
|
}
|
|
2734
|
-
function
|
|
2732
|
+
function Ya(o, a) {
|
|
2735
2733
|
if (typeof o != "object" || o === null)
|
|
2736
2734
|
return o;
|
|
2737
2735
|
var r = o[Symbol.toPrimitive];
|
|
@@ -2744,7 +2742,7 @@ function Xa(o, a) {
|
|
|
2744
2742
|
return (a === "string" ? String : Number)(o);
|
|
2745
2743
|
}
|
|
2746
2744
|
function Ln(o) {
|
|
2747
|
-
var a =
|
|
2745
|
+
var a = Ya(o, "string");
|
|
2748
2746
|
return typeof a == "symbol" ? a : String(a);
|
|
2749
2747
|
}
|
|
2750
2748
|
var Dn = { exports: {} };
|
|
@@ -2860,13 +2858,13 @@ var Dn = { exports: {} };
|
|
|
2860
2858
|
})(Dn);
|
|
2861
2859
|
var On = Dn.exports;
|
|
2862
2860
|
const Rn = /* @__PURE__ */ gi(On);
|
|
2863
|
-
var
|
|
2861
|
+
var Xa = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, jt = {
|
|
2864
2862
|
info: "color: #525252; background-color: #90ee90;",
|
|
2865
2863
|
error: "color: #525252; background-color: red;",
|
|
2866
2864
|
warn: "color: #525252; background-color: yellow; "
|
|
2867
2865
|
}, $t = "%c[xgplayer]", V = {
|
|
2868
2866
|
config: {
|
|
2869
|
-
debug:
|
|
2867
|
+
debug: Xa ? 3 : 0
|
|
2870
2868
|
},
|
|
2871
2869
|
logInfo: function(a) {
|
|
2872
2870
|
for (var r, t = arguments.length, e = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
|
|
@@ -2887,10 +2885,10 @@ var qa = typeof window < "u" && window.location && window.location.href.indexOf(
|
|
|
2887
2885
|
}
|
|
2888
2886
|
}
|
|
2889
2887
|
};
|
|
2890
|
-
function
|
|
2888
|
+
function qa(o) {
|
|
2891
2889
|
o.logInfo = V.logInfo.bind(o), o.logWarn = V.logWarn.bind(o), o.logError = V.logError.bind(o);
|
|
2892
2890
|
}
|
|
2893
|
-
var
|
|
2891
|
+
var Za = /* @__PURE__ */ function() {
|
|
2894
2892
|
function o(a) {
|
|
2895
2893
|
P(this, o), this.bufferedList = a;
|
|
2896
2894
|
}
|
|
@@ -3136,7 +3134,7 @@ f.setStyleFromCsstext = function(o, a) {
|
|
|
3136
3134
|
o.style[t] = a[t];
|
|
3137
3135
|
});
|
|
3138
3136
|
};
|
|
3139
|
-
function
|
|
3137
|
+
function Ja(o, a) {
|
|
3140
3138
|
for (var r = 0, t = a.length; r < t; r++)
|
|
3141
3139
|
if (o.indexOf(a[r]) > -1)
|
|
3142
3140
|
return !0;
|
|
@@ -3150,7 +3148,7 @@ f.filterStyleFromText = function(o) {
|
|
|
3150
3148
|
return t.map(function(n) {
|
|
3151
3149
|
if (n) {
|
|
3152
3150
|
var s = n.split(":");
|
|
3153
|
-
s.length > 1 && (
|
|
3151
|
+
s.length > 1 && (Ja(s[0], a) ? e[s[0]] = s[1] : i[s[0]] = s[1]);
|
|
3154
3152
|
}
|
|
3155
3153
|
}), o.setAttribute("style", ""), Object.keys(i).map(function(n) {
|
|
3156
3154
|
o.style[n] = i[n];
|
|
@@ -3215,7 +3213,7 @@ f.getBuffered2 = function(o) {
|
|
|
3215
3213
|
}
|
|
3216
3214
|
else
|
|
3217
3215
|
e = r;
|
|
3218
|
-
return new
|
|
3216
|
+
return new Za(e);
|
|
3219
3217
|
};
|
|
3220
3218
|
f.getEventPos = function(o) {
|
|
3221
3219
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
|
|
@@ -3339,7 +3337,7 @@ function Fn(o) {
|
|
|
3339
3337
|
var a = le(o);
|
|
3340
3338
|
return o !== null && (a === "object" || a === "function");
|
|
3341
3339
|
}
|
|
3342
|
-
function
|
|
3340
|
+
function Qa(o, a, r) {
|
|
3343
3341
|
var t, e, i, n, s, l, u = 0, c = !1, h = !1, g = !0, p = !a && a !== 0 && typeof window.requestAnimationFrame == "function";
|
|
3344
3342
|
if (typeof o != "function")
|
|
3345
3343
|
throw new TypeError("Expected a function");
|
|
@@ -3398,21 +3396,21 @@ function eo(o, a, r) {
|
|
|
3398
3396
|
}
|
|
3399
3397
|
return q.cancel = z, q.flush = R, q.pending = te, q;
|
|
3400
3398
|
}
|
|
3401
|
-
function
|
|
3399
|
+
function eo(o, a, r) {
|
|
3402
3400
|
var t = !0, e = !0;
|
|
3403
3401
|
if (typeof o != "function")
|
|
3404
3402
|
throw new TypeError("Expected a function");
|
|
3405
|
-
return Fn(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e),
|
|
3403
|
+
return Fn(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e), Qa(o, a, {
|
|
3406
3404
|
leading: t,
|
|
3407
3405
|
trailing: e,
|
|
3408
3406
|
maxWait: a
|
|
3409
3407
|
});
|
|
3410
3408
|
}
|
|
3411
|
-
function
|
|
3409
|
+
function to() {
|
|
3412
3410
|
var o = (document.documentElement.getAttribute("lang") || navigator.language || "zh-cn").toLocaleLowerCase();
|
|
3413
3411
|
return o === "zh-cn" && (o = "zh"), o;
|
|
3414
3412
|
}
|
|
3415
|
-
function
|
|
3413
|
+
function io(o, a, r) {
|
|
3416
3414
|
if (o) {
|
|
3417
3415
|
var t = o.getAttribute(r);
|
|
3418
3416
|
return !!(t && t === a && (o.tagName === "VIDEO" || o.tagName === "AUDIO"));
|
|
@@ -3421,7 +3419,7 @@ function no(o, a, r) {
|
|
|
3421
3419
|
var Ki = {
|
|
3422
3420
|
android: /(Android)\s([\d.]+)/,
|
|
3423
3421
|
ios: /(Version)\/([\d.]+)/
|
|
3424
|
-
},
|
|
3422
|
+
}, no = ["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", "avc1.42E01E, mp4a.40.2", "avc1.58A01E, mp4a.40.2", "avc1.4D401E, mp4a.40.2", "avc1.64001E, mp4a.40.2", "mp4v.20.8, mp4a.40.2", "mp4v.20.240, mp4a.40.2"], U = {
|
|
3425
3423
|
get device() {
|
|
3426
3424
|
var o = U.os;
|
|
3427
3425
|
return o.isPc ? "pc" : "mobile";
|
|
@@ -3484,7 +3482,7 @@ var Ki = {
|
|
|
3484
3482
|
if (this.supportResult)
|
|
3485
3483
|
return this.supportResult;
|
|
3486
3484
|
var r = document.createElement("video");
|
|
3487
|
-
return typeof r.canPlayType == "function" &&
|
|
3485
|
+
return typeof r.canPlayType == "function" && no.map(function(t) {
|
|
3488
3486
|
r.canPlayType('video/mp4; codecs="'.concat(t, '"')) === "probably" && (a.isSupport = !0, a.mime += "||".concat(t));
|
|
3489
3487
|
}), this.supportResult = a, r = null, a;
|
|
3490
3488
|
},
|
|
@@ -3537,7 +3535,7 @@ var Ki = {
|
|
|
3537
3535
|
4: 5104,
|
|
3538
3536
|
5: 5105,
|
|
3539
3537
|
6: 5106
|
|
3540
|
-
},
|
|
3538
|
+
}, Tt = /* @__PURE__ */ A(
|
|
3541
3539
|
function o(a) {
|
|
3542
3540
|
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
3543
3541
|
errorType: "",
|
|
@@ -3579,23 +3577,23 @@ var Ki = {
|
|
|
3579
3577
|
return v.ex = t ? (t[arguments[0]] || {}).msg : "", v;
|
|
3580
3578
|
}
|
|
3581
3579
|
}
|
|
3582
|
-
), ge = "play", mi = "playing", Ye = "ended", ut = "pause",
|
|
3580
|
+
), ge = "play", mi = "playing", Ye = "ended", ut = "pause", vt = "error", Ft = "seeking", Ie = "seeked", de = "timeupdate", mt = "waiting", xe = "canplay", ro = "canplaythrough", Ue = "durationchange", Mn = "volumechange", Pe = "loadeddata", so = "loadedmetadata", Nn = "ratechange", Bn = "progress", yi = "loadstart", Xe = "emptied", ao = "stalled", oo = "suspend", lo = "abort", uo = "bufferedChange", _i = "focus", Hn = "blur", ki = "ready", Un = "urlNull", Ge = "autoplay_started", Ci = "autoplay_was_prevented", Mt = "complete", Et = "replay", wi = "destroy", Nt = "urlchange", ui = "download_speed_change", zn = "leaveplayer", Vn = "enterplayer", jn = "loading", Ee = "fullscreen_change", St = "cssFullscreen_change", xt = "mini_state_change", bi = "definition_change", co = "before_definition_change", ci = "after_definition_change", fo = "SEI_PARSED", ho = "retry", Be = "video_resize", fi = "pip_change", $n = "rotate", Wn = "screenShot", It = "playnext", Gn = "shortcut", Kn = "xglog", Pt = "user_action", Bt = "reset", Yn = "source_error", Xn = "source_success", go = "switch_subtitle", qn = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], Zn = {
|
|
3583
3581
|
STATS_INFO: "stats_info",
|
|
3584
3582
|
STATS_DOWNLOAD: "stats_download",
|
|
3585
3583
|
STATS_RESET: "stats_reset"
|
|
3586
3584
|
}, Jn = "fps_stuck";
|
|
3587
|
-
const
|
|
3585
|
+
const po = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3588
3586
|
__proto__: null,
|
|
3589
|
-
ABORT:
|
|
3587
|
+
ABORT: lo,
|
|
3590
3588
|
AFTER_DEFINITION_CHANGE: ci,
|
|
3591
3589
|
AUTOPLAY_PREVENTED: Ci,
|
|
3592
3590
|
AUTOPLAY_STARTED: Ge,
|
|
3593
|
-
BEFORE_DEFINITION_CHANGE:
|
|
3594
|
-
BUFFER_CHANGE:
|
|
3591
|
+
BEFORE_DEFINITION_CHANGE: co,
|
|
3592
|
+
BUFFER_CHANGE: uo,
|
|
3595
3593
|
CANPLAY: xe,
|
|
3596
|
-
CANPLAY_THROUGH:
|
|
3594
|
+
CANPLAY_THROUGH: ro,
|
|
3597
3595
|
COMPLETE: Mt,
|
|
3598
|
-
CSS_FULLSCREEN_CHANGE:
|
|
3596
|
+
CSS_FULLSCREEN_CHANGE: St,
|
|
3599
3597
|
DEFINITION_CHANGE: bi,
|
|
3600
3598
|
DESTROY: wi,
|
|
3601
3599
|
DOWNLOAD_SPEED_CHANGE: ui,
|
|
@@ -3603,54 +3601,54 @@ const vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3603
3601
|
EMPTIED: Xe,
|
|
3604
3602
|
ENDED: Ye,
|
|
3605
3603
|
ENTER_PLAYER: Vn,
|
|
3606
|
-
ERROR:
|
|
3604
|
+
ERROR: vt,
|
|
3607
3605
|
FPS_STUCK: Jn,
|
|
3608
3606
|
FULLSCREEN_CHANGE: Ee,
|
|
3609
3607
|
LEAVE_PLAYER: zn,
|
|
3610
3608
|
LOADED_DATA: Pe,
|
|
3611
|
-
LOADED_METADATA:
|
|
3609
|
+
LOADED_METADATA: so,
|
|
3612
3610
|
LOADING: jn,
|
|
3613
3611
|
LOAD_START: yi,
|
|
3614
|
-
MINI_STATE_CHANGE:
|
|
3612
|
+
MINI_STATE_CHANGE: xt,
|
|
3615
3613
|
PAUSE: ut,
|
|
3616
3614
|
PIP_CHANGE: fi,
|
|
3617
3615
|
PLAY: ge,
|
|
3618
3616
|
PLAYER_BLUR: Hn,
|
|
3619
3617
|
PLAYER_FOCUS: _i,
|
|
3620
3618
|
PLAYING: mi,
|
|
3621
|
-
PLAYNEXT:
|
|
3619
|
+
PLAYNEXT: It,
|
|
3622
3620
|
PROGRESS: Bn,
|
|
3623
3621
|
RATE_CHANGE: Nn,
|
|
3624
3622
|
READY: ki,
|
|
3625
|
-
REPLAY:
|
|
3623
|
+
REPLAY: Et,
|
|
3626
3624
|
RESET: Bt,
|
|
3627
|
-
RETRY:
|
|
3625
|
+
RETRY: ho,
|
|
3628
3626
|
ROTATE: $n,
|
|
3629
3627
|
SCREEN_SHOT: Wn,
|
|
3630
3628
|
SEEKED: Ie,
|
|
3631
3629
|
SEEKING: Ft,
|
|
3632
|
-
SEI_PARSED:
|
|
3630
|
+
SEI_PARSED: fo,
|
|
3633
3631
|
SHORTCUT: Gn,
|
|
3634
3632
|
SOURCE_ERROR: Yn,
|
|
3635
3633
|
SOURCE_SUCCESS: Xn,
|
|
3636
|
-
STALLED:
|
|
3634
|
+
STALLED: ao,
|
|
3637
3635
|
STATS_EVENTS: Zn,
|
|
3638
|
-
SUSPEND:
|
|
3639
|
-
SWITCH_SUBTITLE:
|
|
3636
|
+
SUSPEND: oo,
|
|
3637
|
+
SWITCH_SUBTITLE: go,
|
|
3640
3638
|
TIME_UPDATE: de,
|
|
3641
3639
|
URL_CHANGE: Nt,
|
|
3642
3640
|
URL_NULL: Un,
|
|
3643
|
-
USER_ACTION:
|
|
3641
|
+
USER_ACTION: Pt,
|
|
3644
3642
|
VIDEO_EVENTS: qn,
|
|
3645
3643
|
VIDEO_RESIZE: Be,
|
|
3646
3644
|
VOLUME_CHANGE: Mn,
|
|
3647
|
-
WAITING:
|
|
3645
|
+
WAITING: mt,
|
|
3648
3646
|
XGLOG: Kn
|
|
3649
3647
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3650
3648
|
function Wt(o, a) {
|
|
3651
3649
|
!this || !this.emit || (o === "error" ? this.errorHandler(o, a.error) : this.emit(o, a));
|
|
3652
3650
|
}
|
|
3653
|
-
function
|
|
3651
|
+
function vo(o, a) {
|
|
3654
3652
|
return function(r, t) {
|
|
3655
3653
|
var e = {
|
|
3656
3654
|
player: a,
|
|
@@ -3685,7 +3683,7 @@ function mo(o, a) {
|
|
|
3685
3683
|
Wt.call(a, o, e);
|
|
3686
3684
|
};
|
|
3687
3685
|
}
|
|
3688
|
-
var
|
|
3686
|
+
var mo = /* @__PURE__ */ function(o) {
|
|
3689
3687
|
F(r, o);
|
|
3690
3688
|
var a = M(r);
|
|
3691
3689
|
function r(t) {
|
|
@@ -3729,7 +3727,7 @@ var yo = /* @__PURE__ */ function(o) {
|
|
|
3729
3727
|
var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.media;
|
|
3730
3728
|
this._evHandlers || (this._evHandlers = qn.map(function(n) {
|
|
3731
3729
|
var s = "on".concat(n.charAt(0).toUpperCase()).concat(n.slice(1));
|
|
3732
|
-
return typeof e[s] == "function" && e.on(n, e[s]), _({}, n,
|
|
3730
|
+
return typeof e[s] == "function" && e.on(n, e[s]), _({}, n, vo(n, e));
|
|
3733
3731
|
})), this._evHandlers.forEach(function(n) {
|
|
3734
3732
|
var s = Object.keys(n)[0];
|
|
3735
3733
|
i.addEventListener(s, n[s], !1);
|
|
@@ -3781,7 +3779,7 @@ var yo = /* @__PURE__ */ function(o) {
|
|
|
3781
3779
|
l ? l.error(h, p) : n.errorHandler("error", p);
|
|
3782
3780
|
}
|
|
3783
3781
|
var d = Yi[4];
|
|
3784
|
-
n.emit(Yn, new
|
|
3782
|
+
n.emit(Yn, new Tt(n, {
|
|
3785
3783
|
errorType: d,
|
|
3786
3784
|
errorCode: 4,
|
|
3787
3785
|
errorMessage: "sources_load_error",
|
|
@@ -3818,7 +3816,7 @@ var yo = /* @__PURE__ */ function(o) {
|
|
|
3818
3816
|
this.media.currentSrc || (l = "empty_src", n = {
|
|
3819
3817
|
code: 6,
|
|
3820
3818
|
message: l
|
|
3821
|
-
}), this.emit(e, new
|
|
3819
|
+
}), this.emit(e, new Tt(this, {
|
|
3822
3820
|
errorType: s,
|
|
3823
3821
|
errorCode: n.code,
|
|
3824
3822
|
errorMessage: n.message || "",
|
|
@@ -4039,7 +4037,7 @@ var yo = /* @__PURE__ */ function(o) {
|
|
|
4039
4037
|
},
|
|
4040
4038
|
set: function(e) {
|
|
4041
4039
|
if (this.media) {
|
|
4042
|
-
if (this.emit(Nt, e), this.emit(
|
|
4040
|
+
if (this.emit(Nt, e), this.emit(mt), this._currentTime = 0, this._duration = 0, f.isMSE(this.media)) {
|
|
4043
4041
|
this.onWaiting();
|
|
4044
4042
|
return;
|
|
4045
4043
|
}
|
|
@@ -4103,7 +4101,7 @@ var yo = /* @__PURE__ */ function(o) {
|
|
|
4103
4101
|
B(N(r.prototype), "removeAllListeners", this).call(this);
|
|
4104
4102
|
}
|
|
4105
4103
|
}]), r;
|
|
4106
|
-
}(Rn),
|
|
4104
|
+
}(Rn), yo = /* @__PURE__ */ function() {
|
|
4107
4105
|
function o() {
|
|
4108
4106
|
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
|
4109
4107
|
name: "xgplayer",
|
|
@@ -4182,7 +4180,7 @@ var yo = /* @__PURE__ */ function(o) {
|
|
|
4182
4180
|
}
|
|
4183
4181
|
}]), o;
|
|
4184
4182
|
}(), qi = ["fullscreenchange", "webkitfullscreenchange", "mozfullscreenchange", "MSFullscreenChange"], Zi = ["requestFullscreen", "webkitRequestFullscreen", "mozRequestFullScreen", "msRequestFullscreen"], Ji = ["exitFullscreen", "webkitExitFullscreen", "mozCancelFullScreen", "msExitFullscreen"], $e = "data-xgplayerid";
|
|
4185
|
-
function
|
|
4183
|
+
function _t(o, a, r) {
|
|
4186
4184
|
for (var t = arguments.length, e = new Array(t > 3 ? t - 3 : 0), i = 3; i < t; i++)
|
|
4187
4185
|
e[i - 3] = arguments[i];
|
|
4188
4186
|
var n = a.call.apply(a, [o].concat(e));
|
|
@@ -4192,7 +4190,7 @@ function kt(o, a, r) {
|
|
|
4192
4190
|
r.call.apply(r, [o].concat(l));
|
|
4193
4191
|
}) : r.call.apply(r, [o].concat(e)));
|
|
4194
4192
|
}
|
|
4195
|
-
function
|
|
4193
|
+
function At(o, a) {
|
|
4196
4194
|
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
4197
4195
|
pre: null,
|
|
4198
4196
|
next: null
|
|
@@ -4210,23 +4208,23 @@ function Lt(o, a) {
|
|
|
4210
4208
|
try {
|
|
4211
4209
|
var n, s = (n = this.__hooks[o]).call.apply(n, [this, this].concat(Array.prototype.slice.call(arguments)));
|
|
4212
4210
|
s ? s.then ? s.then(function(l) {
|
|
4213
|
-
l !== !1 &&
|
|
4211
|
+
l !== !1 && _t.apply(void 0, [e, a, r.next].concat(ye(t)));
|
|
4214
4212
|
}).catch(function(l) {
|
|
4215
4213
|
throw l;
|
|
4216
|
-
}) :
|
|
4214
|
+
}) : _t.apply(void 0, [this, a, r.next].concat(Array.prototype.slice.call(arguments))) : s === void 0 && _t.apply(void 0, [this, a, r.next].concat(Array.prototype.slice.call(arguments)));
|
|
4217
4215
|
} catch (l) {
|
|
4218
4216
|
throw l.message = "[pluginName: ".concat(this.pluginName, ":").concat(o, "] >> ").concat(l.message), l;
|
|
4219
4217
|
}
|
|
4220
4218
|
else
|
|
4221
|
-
|
|
4219
|
+
_t.apply(void 0, [this, a, r.next].concat(Array.prototype.slice.call(arguments)));
|
|
4222
4220
|
}).bind(this);
|
|
4223
4221
|
}
|
|
4224
|
-
function
|
|
4222
|
+
function Lt(o, a) {
|
|
4225
4223
|
var r = this.__hooks;
|
|
4226
4224
|
if (r)
|
|
4227
4225
|
return r.hasOwnProperty(o) ? (r && (r[o] = a), !0) : (console.warn("has no supported hook which name [".concat(o, "]")), !1);
|
|
4228
4226
|
}
|
|
4229
|
-
function
|
|
4227
|
+
function Dt(o, a) {
|
|
4230
4228
|
var r = this.__hooks;
|
|
4231
4229
|
r && delete r[o];
|
|
4232
4230
|
}
|
|
@@ -4411,21 +4409,21 @@ var He = /* @__PURE__ */ function() {
|
|
|
4411
4409
|
}, {
|
|
4412
4410
|
key: "hook",
|
|
4413
4411
|
value: function(r, t) {
|
|
4414
|
-
return
|
|
4412
|
+
return At.call.apply(At, [this].concat(Array.prototype.slice.call(arguments)));
|
|
4415
4413
|
}
|
|
4416
4414
|
}, {
|
|
4417
4415
|
key: "useHooks",
|
|
4418
4416
|
value: function(r, t) {
|
|
4419
4417
|
for (var e = arguments.length, i = new Array(e > 2 ? e - 2 : 0), n = 2; n < e; n++)
|
|
4420
4418
|
i[n - 2] = arguments[n];
|
|
4421
|
-
return
|
|
4419
|
+
return Lt.call.apply(Lt, [this].concat(Array.prototype.slice.call(arguments)));
|
|
4422
4420
|
}
|
|
4423
4421
|
}, {
|
|
4424
4422
|
key: "removeHooks",
|
|
4425
4423
|
value: function(r, t) {
|
|
4426
4424
|
for (var e = arguments.length, i = new Array(e > 2 ? e - 2 : 0), n = 2; n < e; n++)
|
|
4427
4425
|
i[n - 2] = arguments[n];
|
|
4428
|
-
return
|
|
4426
|
+
return Dt.call.apply(Dt, [this].concat(Array.prototype.slice.call(arguments)));
|
|
4429
4427
|
}
|
|
4430
4428
|
}, {
|
|
4431
4429
|
key: "registerPlugin",
|
|
@@ -4467,40 +4465,40 @@ var He = /* @__PURE__ */ function() {
|
|
|
4467
4465
|
return "pluginName";
|
|
4468
4466
|
}
|
|
4469
4467
|
}]), o;
|
|
4470
|
-
}(),
|
|
4468
|
+
}(), _o = 9;
|
|
4471
4469
|
if (typeof Element < "u" && !Element.prototype.matches) {
|
|
4472
4470
|
var Je = Element.prototype;
|
|
4473
4471
|
Je.matches = Je.matchesSelector || Je.mozMatchesSelector || Je.msMatchesSelector || Je.oMatchesSelector || Je.webkitMatchesSelector;
|
|
4474
4472
|
}
|
|
4475
|
-
function
|
|
4476
|
-
for (; o && o.nodeType !==
|
|
4473
|
+
function ko(o, a) {
|
|
4474
|
+
for (; o && o.nodeType !== _o; ) {
|
|
4477
4475
|
if (typeof o.matches == "function" && o.matches(a))
|
|
4478
4476
|
return o;
|
|
4479
4477
|
o = o.parentNode;
|
|
4480
4478
|
}
|
|
4481
4479
|
}
|
|
4482
|
-
var
|
|
4480
|
+
var Co = ko, wo = Co;
|
|
4483
4481
|
function Kt(o, a, r, t, e) {
|
|
4484
|
-
var i =
|
|
4482
|
+
var i = To.apply(this, arguments);
|
|
4485
4483
|
return o.addEventListener(r, i, e), {
|
|
4486
4484
|
destroy: function() {
|
|
4487
4485
|
o.removeEventListener(r, i, e);
|
|
4488
4486
|
}
|
|
4489
4487
|
};
|
|
4490
4488
|
}
|
|
4491
|
-
function
|
|
4489
|
+
function bo(o, a, r, t, e) {
|
|
4492
4490
|
return typeof o.addEventListener == "function" ? Kt.apply(null, arguments) : typeof r == "function" ? Kt.bind(null, document).apply(null, arguments) : (typeof o == "string" && (o = document.querySelectorAll(o)), Array.prototype.map.call(o, function(i) {
|
|
4493
4491
|
return Kt(i, a, r, t, e);
|
|
4494
4492
|
}));
|
|
4495
4493
|
}
|
|
4496
|
-
function
|
|
4494
|
+
function To(o, a, r, t) {
|
|
4497
4495
|
return function(e) {
|
|
4498
|
-
e.delegateTarget =
|
|
4496
|
+
e.delegateTarget = wo(e.target, a), e.delegateTarget && t.call(o, e);
|
|
4499
4497
|
};
|
|
4500
4498
|
}
|
|
4501
|
-
var
|
|
4502
|
-
const tn = /* @__PURE__ */ gi(
|
|
4503
|
-
var
|
|
4499
|
+
var Eo = bo;
|
|
4500
|
+
const tn = /* @__PURE__ */ gi(Eo);
|
|
4501
|
+
var So = {
|
|
4504
4502
|
CONTROLS: "controls",
|
|
4505
4503
|
ROOT: "root"
|
|
4506
4504
|
}, Y = {
|
|
@@ -4520,10 +4518,10 @@ var xo = {
|
|
|
4520
4518
|
function Yt(o) {
|
|
4521
4519
|
return o ? o.indexOf && /^(?:http|data:|\/)/.test(o) : !1;
|
|
4522
4520
|
}
|
|
4523
|
-
function
|
|
4521
|
+
function xo(o, a) {
|
|
4524
4522
|
return le(o) === "object" && o.class && typeof o.class == "string" ? "".concat(a, " ").concat(o.class) : a;
|
|
4525
4523
|
}
|
|
4526
|
-
function
|
|
4524
|
+
function Io(o, a) {
|
|
4527
4525
|
return le(o) === "object" && o.attr && le(o.attr) === "object" && Object.keys(o.attr).map(function(r) {
|
|
4528
4526
|
a[r] = o.attr[r];
|
|
4529
4527
|
}), a;
|
|
@@ -4546,14 +4544,14 @@ function rn(o, a) {
|
|
|
4546
4544
|
}
|
|
4547
4545
|
return typeof o == "string" ? f.createDomFromHtml(o, t, r) : (V.logWarn("warn>>icons.".concat(a, " in config of plugin named [").concat(e, "] is invalid")), null);
|
|
4548
4546
|
}
|
|
4549
|
-
function
|
|
4547
|
+
function Po(o, a) {
|
|
4550
4548
|
var r = a.config.icons || a.playerConfig.icons;
|
|
4551
4549
|
Object.keys(o).map(function(t) {
|
|
4552
4550
|
var e = o[t], i = e && e.class ? e.class : "", n = e && e.attr ? e.attr : {}, s = null;
|
|
4553
|
-
r && r[t] && (i =
|
|
4551
|
+
r && r[t] && (i = xo(r[t], i), n = Io(r[t], n), s = rn(r[t], t, i, n, a.pluginName)), !s && e && (s = rn(e.icon ? e.icon : e, n, i, {}, a.pluginName)), a.icons[t] = s;
|
|
4554
4552
|
});
|
|
4555
4553
|
}
|
|
4556
|
-
function
|
|
4554
|
+
function Ao(o, a) {
|
|
4557
4555
|
Object.keys(o).map(function(r) {
|
|
4558
4556
|
Object.defineProperty(a.langText, r, {
|
|
4559
4557
|
get: function() {
|
|
@@ -4577,9 +4575,9 @@ var W = /* @__PURE__ */ function(o) {
|
|
|
4577
4575
|
var i = e.root, n = null;
|
|
4578
4576
|
this.icons = {}, this.root = null, this.parent = null;
|
|
4579
4577
|
var s = this.registerIcons() || {};
|
|
4580
|
-
|
|
4578
|
+
Po(s, this), this.langText = {};
|
|
4581
4579
|
var l = this.registerLanguageTexts() || {};
|
|
4582
|
-
|
|
4580
|
+
Ao(l, this);
|
|
4583
4581
|
var u = "";
|
|
4584
4582
|
try {
|
|
4585
4583
|
u = this.render();
|
|
@@ -4848,7 +4846,7 @@ var W = /* @__PURE__ */ function(o) {
|
|
|
4848
4846
|
}, {
|
|
4849
4847
|
key: "ROOT_TYPES",
|
|
4850
4848
|
get: function() {
|
|
4851
|
-
return
|
|
4849
|
+
return So;
|
|
4852
4850
|
}
|
|
4853
4851
|
}, {
|
|
4854
4852
|
key: "POSITIONS",
|
|
@@ -4856,7 +4854,7 @@ var W = /* @__PURE__ */ function(o) {
|
|
|
4856
4854
|
return Y;
|
|
4857
4855
|
}
|
|
4858
4856
|
}]), r;
|
|
4859
|
-
}(He),
|
|
4857
|
+
}(He), Lo = /* @__PURE__ */ function() {
|
|
4860
4858
|
function o() {
|
|
4861
4859
|
var a = this;
|
|
4862
4860
|
if (P(this, o), _(this, "__trigger", function(r) {
|
|
@@ -4866,7 +4864,7 @@ var W = /* @__PURE__ */ function(o) {
|
|
|
4866
4864
|
a.__runHandler(r[e].target);
|
|
4867
4865
|
}), this.__handlers = [], this.timeStamp = 0, this.observer = null, !!window.ResizeObserver)
|
|
4868
4866
|
try {
|
|
4869
|
-
this.observer = new window.ResizeObserver(
|
|
4867
|
+
this.observer = new window.ResizeObserver(eo(this.__trigger, 100, {
|
|
4870
4868
|
trailing: !0
|
|
4871
4869
|
})), this.timeStamp = (/* @__PURE__ */ new Date()).getTime();
|
|
4872
4870
|
} catch (r) {
|
|
@@ -4921,17 +4919,17 @@ var W = /* @__PURE__ */ function(o) {
|
|
|
4921
4919
|
}
|
|
4922
4920
|
}]), o;
|
|
4923
4921
|
}(), dt = null;
|
|
4924
|
-
function
|
|
4925
|
-
return dt || (dt = new
|
|
4922
|
+
function Do(o, a) {
|
|
4923
|
+
return dt || (dt = new Lo()), dt.addObserver(o, a), dt;
|
|
4926
4924
|
}
|
|
4927
|
-
function
|
|
4925
|
+
function Oo(o, a) {
|
|
4928
4926
|
dt.unObserver(o, a);
|
|
4929
4927
|
}
|
|
4930
4928
|
var re = {
|
|
4931
4929
|
pluginGroup: {},
|
|
4932
4930
|
init: function(a) {
|
|
4933
4931
|
var r = a._pluginInfoId;
|
|
4934
|
-
r || (r = (/* @__PURE__ */ new Date()).getTime(), a._pluginInfoId = r), !a.config.closeResizeObserver &&
|
|
4932
|
+
r || (r = (/* @__PURE__ */ new Date()).getTime(), a._pluginInfoId = r), !a.config.closeResizeObserver && Do(a.root, function() {
|
|
4935
4933
|
a.resize();
|
|
4936
4934
|
}), this.pluginGroup[r] = {
|
|
4937
4935
|
_originalOptions: a.config || {},
|
|
@@ -5117,7 +5115,7 @@ var re = {
|
|
|
5117
5115
|
destroy: function(a) {
|
|
5118
5116
|
var r = a._pluginInfoId;
|
|
5119
5117
|
if (this.pluginGroup[r]) {
|
|
5120
|
-
|
|
5118
|
+
Oo(a.root);
|
|
5121
5119
|
for (var t = this.pluginGroup[r]._plugins, e = 0, i = Object.keys(t); e < i.length; e++) {
|
|
5122
5120
|
var n = i[e];
|
|
5123
5121
|
this.unRegister(r, n);
|
|
@@ -5203,7 +5201,7 @@ function sn() {
|
|
|
5203
5201
|
ignores: [],
|
|
5204
5202
|
whitelist: [],
|
|
5205
5203
|
inactive: 3e3,
|
|
5206
|
-
lang:
|
|
5204
|
+
lang: to(),
|
|
5207
5205
|
controls: !0,
|
|
5208
5206
|
marginControls: !1,
|
|
5209
5207
|
fullscreenTarget: null,
|
|
@@ -5239,7 +5237,7 @@ function sn() {
|
|
|
5239
5237
|
}
|
|
5240
5238
|
};
|
|
5241
5239
|
}
|
|
5242
|
-
var
|
|
5240
|
+
var Ro = function(a, r) {
|
|
5243
5241
|
var t, e, i;
|
|
5244
5242
|
r.preset && r.options ? i = new r.preset(r.options, a.config) : i = new r({}, a.config);
|
|
5245
5243
|
var n = i, s = n.plugins, l = s === void 0 ? [] : s, u = n.ignores, c = u === void 0 ? [] : u, h = n.icons, g = h === void 0 ? {} : h, p = n.i18n, d = p === void 0 ? [] : p;
|
|
@@ -5248,7 +5246,7 @@ var Fo = function(a, r) {
|
|
|
5248
5246
|
});
|
|
5249
5247
|
var v = a.config.i18n || [];
|
|
5250
5248
|
d.push.apply(d, ye(v)), a.config.i18n = d;
|
|
5251
|
-
},
|
|
5249
|
+
}, Fo = /* @__PURE__ */ function(o) {
|
|
5252
5250
|
F(r, o);
|
|
5253
5251
|
var a = M(r);
|
|
5254
5252
|
function r() {
|
|
@@ -5282,7 +5280,7 @@ var Fo = function(a, r) {
|
|
|
5282
5280
|
};
|
|
5283
5281
|
Object.keys(u).map(function(h) {
|
|
5284
5282
|
e.root.style[h] = u[h];
|
|
5285
|
-
}), this.left = this.find("xg-left-grid"), this.center = this.find("xg-center-grid"), this.right = this.find("xg-right-grid"), this.innerRoot = this.find("xg-inner-controls"), this.on(
|
|
5283
|
+
}), this.left = this.find("xg-left-grid"), this.center = this.find("xg-center-grid"), this.right = this.find("xg-right-grid"), this.innerRoot = this.find("xg-inner-controls"), this.on(xt, function(h) {
|
|
5286
5284
|
h ? f.addClass(e.root, "mini-controls") : f.removeClass(e.root, "mini-controls");
|
|
5287
5285
|
});
|
|
5288
5286
|
var c = this.playerConfig.isMobileSimulateMode;
|
|
@@ -5409,7 +5407,7 @@ var Fo = function(a, r) {
|
|
|
5409
5407
|
};
|
|
5410
5408
|
}
|
|
5411
5409
|
}]), r;
|
|
5412
|
-
}(W),
|
|
5410
|
+
}(W), Mo = {
|
|
5413
5411
|
LANG: "en",
|
|
5414
5412
|
TEXT: {
|
|
5415
5413
|
ERROR_TYPES: {
|
|
@@ -5504,7 +5502,7 @@ function tr() {
|
|
|
5504
5502
|
he.textKeys[o] = o;
|
|
5505
5503
|
});
|
|
5506
5504
|
}
|
|
5507
|
-
function
|
|
5505
|
+
function No(o, a) {
|
|
5508
5506
|
var r = [];
|
|
5509
5507
|
if (a || (a = he), !!a.lang) {
|
|
5510
5508
|
f.typeOf(o) !== "Array" ? r = Object.keys(o).map(function(i) {
|
|
@@ -5527,7 +5525,7 @@ function Ti(o, a) {
|
|
|
5527
5525
|
r === "zh" && (r = "zh-cn"), a.lang[r] ? pt(a.lang[r], t) : (a.langKeys.push(r), a.lang[r] = t), tr();
|
|
5528
5526
|
}
|
|
5529
5527
|
}
|
|
5530
|
-
function
|
|
5528
|
+
function Bo(o) {
|
|
5531
5529
|
var a, r = {
|
|
5532
5530
|
lang: {},
|
|
5533
5531
|
langKeys: [],
|
|
@@ -5536,7 +5534,7 @@ function Ho(o) {
|
|
|
5536
5534
|
};
|
|
5537
5535
|
return pt(r.lang, he.lang), (a = r.langKeys).push.apply(a, ye(he.langKeys)), pt(r.textKeys, he.textKeys), r;
|
|
5538
5536
|
}
|
|
5539
|
-
Ti(
|
|
5537
|
+
Ti(Mo);
|
|
5540
5538
|
var at = {
|
|
5541
5539
|
get textKeys() {
|
|
5542
5540
|
return he.textKeys;
|
|
@@ -5550,9 +5548,9 @@ var at = {
|
|
|
5550
5548
|
o[a] = he.lang[a];
|
|
5551
5549
|
}), he.lang["zh-cn"] && (o.zh = he.lang["zh-cn"] || {}), o;
|
|
5552
5550
|
},
|
|
5553
|
-
extend:
|
|
5551
|
+
extend: No,
|
|
5554
5552
|
use: Ti,
|
|
5555
|
-
init:
|
|
5553
|
+
init: Bo
|
|
5556
5554
|
}, j = {
|
|
5557
5555
|
INITIAL: 1,
|
|
5558
5556
|
READY: 2,
|
|
@@ -5649,7 +5647,7 @@ var at = {
|
|
|
5649
5647
|
}
|
|
5650
5648
|
}]), r;
|
|
5651
5649
|
}(On.EventEmitter);
|
|
5652
|
-
function
|
|
5650
|
+
function Ho(o) {
|
|
5653
5651
|
for (var a = Object.keys(ue), r = 0; r < a.length; r++) {
|
|
5654
5652
|
var t = ue[a[r]];
|
|
5655
5653
|
if (t.root === o)
|
|
@@ -5657,7 +5655,7 @@ function Uo(o) {
|
|
|
5657
5655
|
}
|
|
5658
5656
|
return null;
|
|
5659
5657
|
}
|
|
5660
|
-
var
|
|
5658
|
+
var Uo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /* @__PURE__ */ function(o) {
|
|
5661
5659
|
F(r, o);
|
|
5662
5660
|
var a = M(r);
|
|
5663
5661
|
function r(t) {
|
|
@@ -5675,7 +5673,7 @@ var zo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /
|
|
|
5675
5673
|
e.resize();
|
|
5676
5674
|
}, 100);
|
|
5677
5675
|
}, C = f.getFullScreenEl();
|
|
5678
|
-
e._fullActionFrom ? e._fullActionFrom = "" : e.emit(
|
|
5676
|
+
e._fullActionFrom ? e._fullActionFrom = "" : e.emit(Pt, {
|
|
5679
5677
|
eventType: "system",
|
|
5680
5678
|
action: "switch_fullscreen",
|
|
5681
5679
|
pluginName: "player",
|
|
@@ -5687,7 +5685,7 @@ var zo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /
|
|
|
5687
5685
|
to: !1
|
|
5688
5686
|
}]
|
|
5689
5687
|
});
|
|
5690
|
-
var E =
|
|
5688
|
+
var E = io(C, e.playerId, $e);
|
|
5691
5689
|
if (v || C && (C === e._fullscreenEl || E))
|
|
5692
5690
|
m(), !e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !0, e.changeFullStyle(e.root, C, T.FULLSCREEN), e.emit(Ee, !0, e._fullScreenOffset), e.cssfullscreen && e.exitCssFullscreen();
|
|
5693
5691
|
else if (e.fullscreen) {
|
|
@@ -5707,7 +5705,7 @@ var zo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /
|
|
|
5707
5705
|
e._fullscreenEl = e.media, e.onFullscreenChange(d, !0);
|
|
5708
5706
|
}), _(y(e), "_onWebkitendfullscreen", function(d) {
|
|
5709
5707
|
e.onFullscreenChange(d, !1);
|
|
5710
|
-
}), Qn(y(e),
|
|
5708
|
+
}), Qn(y(e), Uo), e.config = i, e._pluginInfoId = f.generateSessionId(), qa(y(e));
|
|
5711
5709
|
var n = e.constructor.defaultPreset;
|
|
5712
5710
|
if (e.config.presets.length) {
|
|
5713
5711
|
var s = e.config.presets.indexOf("default");
|
|
@@ -5736,7 +5734,7 @@ var zo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /
|
|
|
5736
5734
|
}, e._offsetInfo = {
|
|
5737
5735
|
currentTime: -1,
|
|
5738
5736
|
duration: 0
|
|
5739
|
-
}, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = at.init(e._pluginInfoId), U.os.isAndroid && U.osVersion > 0 && U.osVersion < 6 && (e.config.autoplay = !1), e.database = new
|
|
5737
|
+
}, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = at.init(e._pluginInfoId), U.os.isAndroid && U.osVersion > 0 && U.osVersion < 6 && (e.config.autoplay = !1), e.database = new yo(), e.isUserActive = !1, e._onceSeekCanplay = null, e._isPauseBeforeSeek = 0, e.innerStates = {
|
|
5740
5738
|
isActiveLocked: !1
|
|
5741
5739
|
}, e.instManager = Oe;
|
|
5742
5740
|
var l = e._initDOM();
|
|
@@ -5762,13 +5760,13 @@ var zo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /
|
|
|
5762
5760
|
if (n && n.nodeType === 1)
|
|
5763
5761
|
this.root = n;
|
|
5764
5762
|
else
|
|
5765
|
-
return this.emit(
|
|
5763
|
+
return this.emit(vt, new Tt("use", this.config.vid, {
|
|
5766
5764
|
line: 32,
|
|
5767
5765
|
handle: "Constructor",
|
|
5768
5766
|
msg: "container id can't be empty"
|
|
5769
5767
|
})), console.error("this.confg.id or this.config.el can't be empty"), !1;
|
|
5770
5768
|
}
|
|
5771
|
-
var s =
|
|
5769
|
+
var s = Ho(this.root);
|
|
5772
5770
|
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 = Oe) === null || e === void 0 || e.add(this), re.init(this), this._initBaseDoms();
|
|
5773
5771
|
var l = this.constructor.XgVideoProxy;
|
|
5774
5772
|
if (l && this.mediaConfig.mediaType === l.mediaType) {
|
|
@@ -5778,7 +5776,7 @@ var zo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /
|
|
|
5778
5776
|
this.attachVideoEvents(c), this.media = c;
|
|
5779
5777
|
}
|
|
5780
5778
|
if (this.media.setAttribute($e, this.playerId), this.config.controls) {
|
|
5781
|
-
var h = this.config.controls.root || null, g = re.register(this,
|
|
5779
|
+
var h = this.config.controls.root || null, g = re.register(this, Fo, {
|
|
5782
5780
|
root: h
|
|
5783
5781
|
});
|
|
5784
5782
|
this.controls = g;
|
|
@@ -5886,7 +5884,7 @@ var zo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /
|
|
|
5886
5884
|
value: function() {
|
|
5887
5885
|
var e = this;
|
|
5888
5886
|
this.config.presets.forEach(function(i) {
|
|
5889
|
-
|
|
5887
|
+
Ro(e, i);
|
|
5890
5888
|
});
|
|
5891
5889
|
}
|
|
5892
5890
|
}, {
|
|
@@ -6186,7 +6184,7 @@ var zo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /
|
|
|
6186
6184
|
i && i.catch && i.catch(function(n) {
|
|
6187
6185
|
console.log(n);
|
|
6188
6186
|
});
|
|
6189
|
-
}), e.emit(
|
|
6187
|
+
}), e.emit(Et), e.onPlay();
|
|
6190
6188
|
});
|
|
6191
6189
|
}
|
|
6192
6190
|
}, {
|
|
@@ -6265,7 +6263,7 @@ var zo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /
|
|
|
6265
6263
|
var i = e ? "".concat(T.INNER_FULLSCREEN, " ").concat(T.CSS_FULLSCREEN) : T.CSS_FULLSCREEN;
|
|
6266
6264
|
this.changeFullStyle(this.root, e, i);
|
|
6267
6265
|
var n = this.config.fullscreen, s = n === void 0 ? {} : n, l = s.useCssFullscreen === !0 || typeof s.useCssFullscreen == "function" && s.useCssFullscreen();
|
|
6268
|
-
l && (this.fullscreen = !0, this.emit(Ee, !0)), this._cssfullscreenEl = e, this.cssfullscreen = !0, this.emit(
|
|
6266
|
+
l && (this.fullscreen = !0, this.emit(Ee, !0)), this._cssfullscreenEl = e, this.cssfullscreen = !0, this.emit(St, !0);
|
|
6269
6267
|
}
|
|
6270
6268
|
}, {
|
|
6271
6269
|
key: "exitCssFullscreen",
|
|
@@ -6277,7 +6275,7 @@ var zo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /
|
|
|
6277
6275
|
var i = this.config.fullscreen, n = i === void 0 ? {} : i, s = n.useCssFullscreen === !0 || typeof n.useCssFullscreen == "function" && n.useCssFullscreen();
|
|
6278
6276
|
s ? (this.recoverFullStyle(this.root, this._cssfullscreenEl, e), this.fullscreen = !1, this.emit(Ee, !1)) : this.removeClass(e);
|
|
6279
6277
|
}
|
|
6280
|
-
this._cssfullscreenEl = null, this.cssfullscreen = !1, this.emit(
|
|
6278
|
+
this._cssfullscreenEl = null, this.cssfullscreen = !1, this.emit(St, !1);
|
|
6281
6279
|
}
|
|
6282
6280
|
}, {
|
|
6283
6281
|
key: "getRotateFullscreen",
|
|
@@ -6442,7 +6440,7 @@ var zo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /
|
|
|
6442
6440
|
value: function(e, i, n) {
|
|
6443
6441
|
if (!(!this.media || !i || !e)) {
|
|
6444
6442
|
var s = f.typeOf(e) === "String" ? e : e.type || "";
|
|
6445
|
-
n.props && f.typeOf(n.props) !== "Array" && (n.props = [n.props]), this.emit(
|
|
6443
|
+
n.props && f.typeOf(n.props) !== "Array" && (n.props = [n.props]), this.emit(Pt, Q({
|
|
6446
6444
|
eventType: s,
|
|
6447
6445
|
action: i,
|
|
6448
6446
|
currentTime: this.currentTime,
|
|
@@ -6528,7 +6526,7 @@ var zo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /
|
|
|
6528
6526
|
value: function(e) {
|
|
6529
6527
|
var i = this;
|
|
6530
6528
|
this.resetState(), this.setConfig(e), this._currentTime = 0, this._duration = 0, Se(this, "playnext", function() {
|
|
6531
|
-
i.start(), i.emit(
|
|
6529
|
+
i.start(), i.emit(It, e);
|
|
6532
6530
|
});
|
|
6533
6531
|
}
|
|
6534
6532
|
}, {
|
|
@@ -6767,17 +6765,17 @@ var zo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /
|
|
|
6767
6765
|
}, {
|
|
6768
6766
|
key: "hook",
|
|
6769
6767
|
value: function(e, i) {
|
|
6770
|
-
return
|
|
6768
|
+
return At.call.apply(At, [this].concat(Array.prototype.slice.call(arguments)));
|
|
6771
6769
|
}
|
|
6772
6770
|
}, {
|
|
6773
6771
|
key: "useHooks",
|
|
6774
6772
|
value: function(e, i) {
|
|
6775
|
-
return
|
|
6773
|
+
return Lt.call.apply(Lt, [this].concat(Array.prototype.slice.call(arguments)));
|
|
6776
6774
|
}
|
|
6777
6775
|
}, {
|
|
6778
6776
|
key: "removeHooks",
|
|
6779
6777
|
value: function(e, i) {
|
|
6780
|
-
return
|
|
6778
|
+
return Dt.call.apply(Dt, [this].concat(Array.prototype.slice.call(arguments)));
|
|
6781
6779
|
}
|
|
6782
6780
|
}, {
|
|
6783
6781
|
key: "usePluginHooks",
|
|
@@ -6848,7 +6846,7 @@ var zo = ["play", "pause", "replay", "retry"], on = 0, ln = 0, Oe = null, Ht = /
|
|
|
6848
6846
|
r.plugins || (r.plugins = {}), r.plugins[e] = i;
|
|
6849
6847
|
}
|
|
6850
6848
|
}]), r;
|
|
6851
|
-
}(
|
|
6849
|
+
}(mo);
|
|
6852
6850
|
_(Ht, "defaultPreset", null);
|
|
6853
6851
|
_(Ht, "XgVideoProxy", null);
|
|
6854
6852
|
Ht.instManager = ir.getInstance();
|
|
@@ -6863,7 +6861,7 @@ var Re = {
|
|
|
6863
6861
|
WAIT_END: "waitingEnd",
|
|
6864
6862
|
SEEK_START: "seekStart",
|
|
6865
6863
|
SEEK_END: "seekEnd"
|
|
6866
|
-
},
|
|
6864
|
+
}, zo = /* @__PURE__ */ function(o) {
|
|
6867
6865
|
F(r, o);
|
|
6868
6866
|
var a = M(r);
|
|
6869
6867
|
function r() {
|
|
@@ -6926,7 +6924,7 @@ var Re = {
|
|
|
6926
6924
|
e.endState("destroy");
|
|
6927
6925
|
}), this.on(Nt, function() {
|
|
6928
6926
|
e.endState("urlChange"), V.logInfo("[xgLogger]".concat(e.player.playerId, " URL_CHANGE")), e._state.isFFSend && e._onReset();
|
|
6929
|
-
}), this.on([mi, xe], this._onPlaying), this.on(
|
|
6927
|
+
}), this.on([mi, xe], this._onPlaying), this.on(mt, this._onWaiting), this.on(vt, this._onError), this.on(Bt, function() {
|
|
6930
6928
|
V.logInfo("[xgLogger]".concat(e.player.playerId, " RESET")), e.endState("reset"), e._initOnceEvents(), e._onReset();
|
|
6931
6929
|
});
|
|
6932
6930
|
}
|
|
@@ -7014,13 +7012,13 @@ var Re = {
|
|
|
7014
7012
|
}
|
|
7015
7013
|
}]), r;
|
|
7016
7014
|
}(W);
|
|
7017
|
-
function
|
|
7015
|
+
function Vo() {
|
|
7018
7016
|
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">
|
|
7019
7017
|
<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>
|
|
7020
7018
|
</svg>
|
|
7021
7019
|
`, "image/svg+xml").firstChild;
|
|
7022
7020
|
}
|
|
7023
|
-
var
|
|
7021
|
+
var jo = /* @__PURE__ */ function(o) {
|
|
7024
7022
|
F(r, o);
|
|
7025
7023
|
var a = M(r);
|
|
7026
7024
|
function r() {
|
|
@@ -7030,7 +7028,7 @@ var $o = /* @__PURE__ */ function(o) {
|
|
|
7030
7028
|
key: "registerIcons",
|
|
7031
7029
|
value: function() {
|
|
7032
7030
|
return {
|
|
7033
|
-
replay:
|
|
7031
|
+
replay: Vo
|
|
7034
7032
|
};
|
|
7035
7033
|
}
|
|
7036
7034
|
}, {
|
|
@@ -7103,7 +7101,7 @@ var $o = /* @__PURE__ */ function(o) {
|
|
|
7103
7101
|
};
|
|
7104
7102
|
}
|
|
7105
7103
|
}]), r;
|
|
7106
|
-
}(W),
|
|
7104
|
+
}(W), $o = /* @__PURE__ */ function(o) {
|
|
7107
7105
|
F(r, o);
|
|
7108
7106
|
var a = M(r);
|
|
7109
7107
|
function r() {
|
|
@@ -7228,7 +7226,7 @@ function Si() {
|
|
|
7228
7226
|
`, "image/svg+xml").firstChild;
|
|
7229
7227
|
}
|
|
7230
7228
|
var be = {};
|
|
7231
|
-
function
|
|
7229
|
+
function Wo(o, a) {
|
|
7232
7230
|
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
7233
7231
|
start: null,
|
|
7234
7232
|
end: null
|
|
@@ -7246,7 +7244,7 @@ function un(o) {
|
|
|
7246
7244
|
window.clearTimeout(be[a].id), delete be[a];
|
|
7247
7245
|
});
|
|
7248
7246
|
}
|
|
7249
|
-
var
|
|
7247
|
+
var Go = /* @__PURE__ */ function(o) {
|
|
7250
7248
|
F(r, o);
|
|
7251
7249
|
var a = M(r);
|
|
7252
7250
|
function r(t) {
|
|
@@ -7338,7 +7336,7 @@ var Ko = /* @__PURE__ */ function(o) {
|
|
|
7338
7336
|
key: "animate",
|
|
7339
7337
|
value: function(e) {
|
|
7340
7338
|
var i = this;
|
|
7341
|
-
this._animateId =
|
|
7339
|
+
this._animateId = Wo("pauseplay", 400, {
|
|
7342
7340
|
start: function() {
|
|
7343
7341
|
f.addClass(i.root, "interact"), i.show(), i.switchStatus(!0);
|
|
7344
7342
|
},
|
|
@@ -7421,7 +7419,7 @@ var Ko = /* @__PURE__ */ function(o) {
|
|
|
7421
7419
|
};
|
|
7422
7420
|
}
|
|
7423
7421
|
}]), r;
|
|
7424
|
-
}(W),
|
|
7422
|
+
}(W), Ko = /* @__PURE__ */ function(o) {
|
|
7425
7423
|
F(r, o);
|
|
7426
7424
|
var a = M(r);
|
|
7427
7425
|
function r() {
|
|
@@ -7521,7 +7519,7 @@ function fn(o) {
|
|
|
7521
7519
|
return r && a;
|
|
7522
7520
|
}
|
|
7523
7521
|
var xi = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"], nr = xi.length;
|
|
7524
|
-
function
|
|
7522
|
+
function Yo() {
|
|
7525
7523
|
for (var o = {
|
|
7526
7524
|
width: 0,
|
|
7527
7525
|
height: 0,
|
|
@@ -7535,15 +7533,15 @@ function Xo() {
|
|
|
7535
7533
|
}
|
|
7536
7534
|
return o;
|
|
7537
7535
|
}
|
|
7538
|
-
function
|
|
7536
|
+
function Xo(o) {
|
|
7539
7537
|
var a = window.getComputedStyle(o);
|
|
7540
7538
|
return a;
|
|
7541
7539
|
}
|
|
7542
7540
|
function hn(o) {
|
|
7543
7541
|
if (typeof o == "string" && (o = document.querySelector(o)), !(!o || le(o) !== "object" || !o.nodeType)) {
|
|
7544
|
-
var a =
|
|
7542
|
+
var a = Xo(o);
|
|
7545
7543
|
if (a.display === "none")
|
|
7546
|
-
return
|
|
7544
|
+
return Yo();
|
|
7547
7545
|
var r = {};
|
|
7548
7546
|
r.width = o.offsetWidth, r.height = o.offsetHeight;
|
|
7549
7547
|
for (var t = r.isBorderBox = a.boxSizing === "border-box", e = 0; e < nr; e++) {
|
|
@@ -7571,7 +7569,7 @@ var Zt = {
|
|
|
7571
7569
|
mousedown: ["mousemove", "mouseup"],
|
|
7572
7570
|
touchstart: ["touchmove", "touchend", "touchcancel"],
|
|
7573
7571
|
pointerdown: ["pointermove", "pointerup", "pointercancel"]
|
|
7574
|
-
},
|
|
7572
|
+
}, qo = /* @__PURE__ */ function(o) {
|
|
7575
7573
|
F(r, o);
|
|
7576
7574
|
var a = M(r);
|
|
7577
7575
|
function r(t) {
|
|
@@ -7781,7 +7779,7 @@ var Zt = {
|
|
|
7781
7779
|
return parseInt(e, 10);
|
|
7782
7780
|
}
|
|
7783
7781
|
}]), r;
|
|
7784
|
-
}(Rn),
|
|
7782
|
+
}(Rn), Zo = /* @__PURE__ */ function(o) {
|
|
7785
7783
|
F(r, o);
|
|
7786
7784
|
var a = M(r);
|
|
7787
7785
|
function r(t) {
|
|
@@ -7837,7 +7835,7 @@ var Zt = {
|
|
|
7837
7835
|
i.controls.registerPlugin(cn, s, cn.pluginName);
|
|
7838
7836
|
}
|
|
7839
7837
|
var l = f.checkTouchSupport() ? "touchend" : "click";
|
|
7840
|
-
this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new
|
|
7838
|
+
this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new qo(this.player.root, {
|
|
7841
7839
|
handle: this.root
|
|
7842
7840
|
})), this.config.isScrollSwitch && window.addEventListener("scroll", this.onScroll);
|
|
7843
7841
|
}
|
|
@@ -7870,7 +7868,7 @@ var Zt = {
|
|
|
7870
7868
|
var i = this.player, n = this.playerConfig, s = this.config.target || this.player.root;
|
|
7871
7869
|
this.lastStyle = {}, f.addClass(i.root, "xgplayer-mini"), ["width", "height", "top", "left"].map(function(l) {
|
|
7872
7870
|
e.lastStyle[l] = s.style[l], s.style[l] = "".concat(e.pos[l], "px");
|
|
7873
|
-
}), n.fluid && (s.style["padding-top"] = ""), this.emit(
|
|
7871
|
+
}), n.fluid && (s.style["padding-top"] = ""), this.emit(xt, !0), i.isMini = this.isMini = !0;
|
|
7874
7872
|
}
|
|
7875
7873
|
}
|
|
7876
7874
|
}, {
|
|
@@ -7882,7 +7880,7 @@ var Zt = {
|
|
|
7882
7880
|
var i = this.player, n = this.playerConfig, s = this.config.target || this.player.root;
|
|
7883
7881
|
f.removeClass(i.root, "xgplayer-mini"), this.lastStyle && Object.keys(this.lastStyle).map(function(l) {
|
|
7884
7882
|
s.style[l] = e.lastStyle[l];
|
|
7885
|
-
}), this.lastStyle = null, n.fluid && (i.root.style.width = "100%", i.root.style.height = "0", i.root.style["padding-top"] = "".concat(n.height * 100 / n.width, "%")), this.emit(
|
|
7883
|
+
}), this.lastStyle = null, n.fluid && (i.root.style.width = "100%", i.root.style.height = "0", i.root.style["padding-top"] = "".concat(n.height * 100 / n.width, "%")), this.emit(xt, !1), this.isMini = i.isMini = !1;
|
|
7886
7884
|
}
|
|
7887
7885
|
}, {
|
|
7888
7886
|
key: "destroy",
|
|
@@ -7931,7 +7929,7 @@ var Zt = {
|
|
|
7931
7929
|
};
|
|
7932
7930
|
}
|
|
7933
7931
|
}]), r;
|
|
7934
|
-
}(W),
|
|
7932
|
+
}(W), kt = {
|
|
7935
7933
|
mouseenter: "onMouseEnter",
|
|
7936
7934
|
mouseleave: "onMouseLeave",
|
|
7937
7935
|
mousemove: "onMouseMove"
|
|
@@ -8005,8 +8003,8 @@ var Zt = {
|
|
|
8005
8003
|
key: "initEvents",
|
|
8006
8004
|
value: function() {
|
|
8007
8005
|
var e = this, i = this.player, n = i.media, s = i.root, l = this.playerConfig.enableContextmenu;
|
|
8008
|
-
s && s.addEventListener("click", this.onVideoClick, !1), s && s.addEventListener("dblclick", this.onVideoDblClick, !1), Object.keys(
|
|
8009
|
-
s.addEventListener(u, e[
|
|
8006
|
+
s && s.addEventListener("click", this.onVideoClick, !1), s && s.addEventListener("dblclick", this.onVideoDblClick, !1), Object.keys(kt).map(function(u) {
|
|
8007
|
+
s.addEventListener(u, e[kt[u]], !1);
|
|
8010
8008
|
}), !l && n && n.addEventListener("contextmenu", this.onContextmenu, !1);
|
|
8011
8009
|
}
|
|
8012
8010
|
}, {
|
|
@@ -8028,8 +8026,8 @@ var Zt = {
|
|
|
8028
8026
|
key: "destroy",
|
|
8029
8027
|
value: function() {
|
|
8030
8028
|
var e = this, i = this.player, n = i.video, s = i.root;
|
|
8031
|
-
this.clickTimer && clearTimeout(this.clickTimer), s.removeEventListener("click", this.onVideoClick, !1), s.removeEventListener("dblclick", this.onVideoDblClick, !1), n.removeEventListener("contextmenu", this.onContextmenu, !1), Object.keys(
|
|
8032
|
-
s.removeEventListener(l, e[
|
|
8029
|
+
this.clickTimer && clearTimeout(this.clickTimer), s.removeEventListener("click", this.onVideoClick, !1), s.removeEventListener("dblclick", this.onVideoDblClick, !1), n.removeEventListener("contextmenu", this.onContextmenu, !1), Object.keys(kt).map(function(l) {
|
|
8030
|
+
s.removeEventListener(l, e[kt[l]], !1);
|
|
8033
8031
|
});
|
|
8034
8032
|
}
|
|
8035
8033
|
}], [{
|
|
@@ -8051,12 +8049,12 @@ var Zt = {
|
|
|
8051
8049
|
TOUCH_MOVE: "touchmove",
|
|
8052
8050
|
TOUCH_START: "touchstart",
|
|
8053
8051
|
TOUCH_END: "touchend"
|
|
8054
|
-
},
|
|
8052
|
+
}, Jo = {
|
|
8055
8053
|
start: "touchstart",
|
|
8056
8054
|
end: "touchend",
|
|
8057
8055
|
move: "touchmove",
|
|
8058
8056
|
cancel: "touchcancel"
|
|
8059
|
-
},
|
|
8057
|
+
}, Qo = {
|
|
8060
8058
|
start: "mousedown",
|
|
8061
8059
|
end: "mouseup",
|
|
8062
8060
|
move: "mousemove",
|
|
@@ -8065,7 +8063,7 @@ var Zt = {
|
|
|
8065
8063
|
function gn(o) {
|
|
8066
8064
|
return o && o.length > 0 ? o[o.length - 1] : null;
|
|
8067
8065
|
}
|
|
8068
|
-
function
|
|
8066
|
+
function el() {
|
|
8069
8067
|
return {
|
|
8070
8068
|
pressDelay: 600,
|
|
8071
8069
|
dbClickDelay: 200,
|
|
@@ -8075,7 +8073,7 @@ function tl() {
|
|
|
8075
8073
|
needPreventDefault: !0
|
|
8076
8074
|
};
|
|
8077
8075
|
}
|
|
8078
|
-
var
|
|
8076
|
+
var tl = /* @__PURE__ */ function() {
|
|
8079
8077
|
function o(a) {
|
|
8080
8078
|
var r = this, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
8081
8079
|
eventType: "touch"
|
|
@@ -8096,9 +8094,9 @@ var il = /* @__PURE__ */ function() {
|
|
|
8096
8094
|
start: !1,
|
|
8097
8095
|
x: 0,
|
|
8098
8096
|
y: 0
|
|
8099
|
-
}, this.config =
|
|
8097
|
+
}, this.config = el(), Object.keys(t).map(function(e) {
|
|
8100
8098
|
r.config[e] = t[e];
|
|
8101
|
-
}), this.root = a, this.events = t.eventType === "mouse" ?
|
|
8099
|
+
}), this.root = a, this.events = t.eventType === "mouse" ? Qo : Jo, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
|
|
8102
8100
|
}
|
|
8103
8101
|
return A(o, [{
|
|
8104
8102
|
key: "_initEvent",
|
|
@@ -8177,7 +8175,7 @@ var il = /* @__PURE__ */ function() {
|
|
|
8177
8175
|
}
|
|
8178
8176
|
}]), o;
|
|
8179
8177
|
}();
|
|
8180
|
-
function
|
|
8178
|
+
function il() {
|
|
8181
8179
|
return new DOMParser().parseFromString(`<svg width="20" height="9" viewBox="0 0 8 9" fill="none" xmlns="http://www.w3.org/2000/svg"
|
|
8182
8180
|
xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
8183
8181
|
<path opacity="0.54"
|
|
@@ -8191,7 +8189,7 @@ var Qe = {
|
|
|
8191
8189
|
SEEKING: "seeking",
|
|
8192
8190
|
PLAYBACK: "playbackrate",
|
|
8193
8191
|
LIGHT: ""
|
|
8194
|
-
}, ei = ["videoClick", "videoDbClick"],
|
|
8192
|
+
}, ei = ["videoClick", "videoDbClick"], nl = /* @__PURE__ */ function(o) {
|
|
8195
8193
|
F(r, o);
|
|
8196
8194
|
var a = M(r);
|
|
8197
8195
|
function r(t) {
|
|
@@ -8263,7 +8261,7 @@ var Qe = {
|
|
|
8263
8261
|
value: function() {
|
|
8264
8262
|
return {
|
|
8265
8263
|
seekTipIcon: {
|
|
8266
|
-
icon:
|
|
8264
|
+
icon: il,
|
|
8267
8265
|
class: "xg-seek-pre"
|
|
8268
8266
|
}
|
|
8269
8267
|
};
|
|
@@ -8278,7 +8276,7 @@ var Qe = {
|
|
|
8278
8276
|
var i = this.playerConfig, n = this.config, s = this.player;
|
|
8279
8277
|
i.closeVideoDblclick === !0 && (n.closedbClick = !0), this.resetPos(), f.isUndefined(i.disableGesture) || (n.disableGesture = !!i.disableGesture), this.appendChild(".xg-seek-icon", this.icons.seekTipIcon), this.xgMask = f.createDom("xg-mask", "", {}, "xgmask"), s.root.appendChild(this.xgMask), this.initCustomStyle(), this.registerThumbnail();
|
|
8280
8278
|
var l = this.domEventType === "mouse" ? "mouse" : "touch";
|
|
8281
|
-
this.touch = new
|
|
8279
|
+
this.touch = new tl(this.root, {
|
|
8282
8280
|
eventType: l,
|
|
8283
8281
|
needPreventDefault: !this.config.disableGesture
|
|
8284
8282
|
}), this.root.addEventListener("contextmenu", function(g) {
|
|
@@ -8620,7 +8618,7 @@ var Qe = {
|
|
|
8620
8618
|
}
|
|
8621
8619
|
}]), r;
|
|
8622
8620
|
}(W);
|
|
8623
|
-
function
|
|
8621
|
+
function rl(o) {
|
|
8624
8622
|
o.preventDefault(), o.returnValue = !1;
|
|
8625
8623
|
}
|
|
8626
8624
|
function pn(o) {
|
|
@@ -8869,7 +8867,7 @@ var vn = /* @__PURE__ */ function(o) {
|
|
|
8869
8867
|
isPress: n
|
|
8870
8868
|
}, this.keyCodeMap[s[l]]));
|
|
8871
8869
|
}
|
|
8872
|
-
|
|
8870
|
+
rl(i), i.stopPropagation();
|
|
8873
8871
|
break;
|
|
8874
8872
|
}
|
|
8875
8873
|
}
|
|
@@ -8911,13 +8909,13 @@ var vn = /* @__PURE__ */ function(o) {
|
|
|
8911
8909
|
}
|
|
8912
8910
|
}]), r;
|
|
8913
8911
|
}(He);
|
|
8914
|
-
function
|
|
8912
|
+
function sl() {
|
|
8915
8913
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="-5 -5 110 110">
|
|
8916
8914
|
<path d="M100,50A50,50,0,1,1,50,0" stroke-width="5" stroke="#ddd" stroke-dasharray="236" fill="none"></path>
|
|
8917
8915
|
</svg>
|
|
8918
8916
|
`, "image/svg+xml").firstChild;
|
|
8919
8917
|
}
|
|
8920
|
-
var
|
|
8918
|
+
var al = /* @__PURE__ */ function(o) {
|
|
8921
8919
|
F(r, o);
|
|
8922
8920
|
var a = M(r);
|
|
8923
8921
|
function r() {
|
|
@@ -8927,7 +8925,7 @@ var ol = /* @__PURE__ */ function(o) {
|
|
|
8927
8925
|
key: "registerIcons",
|
|
8928
8926
|
value: function() {
|
|
8929
8927
|
return {
|
|
8930
|
-
loadingIcon:
|
|
8928
|
+
loadingIcon: sl
|
|
8931
8929
|
};
|
|
8932
8930
|
}
|
|
8933
8931
|
}, {
|
|
@@ -8956,7 +8954,7 @@ var ol = /* @__PURE__ */ function(o) {
|
|
|
8956
8954
|
};
|
|
8957
8955
|
}
|
|
8958
8956
|
}]), r;
|
|
8959
|
-
}(W),
|
|
8957
|
+
}(W), ol = [{
|
|
8960
8958
|
tag: "xg-cache",
|
|
8961
8959
|
className: "xgplayer-progress-cache",
|
|
8962
8960
|
styleKey: "cachedColor"
|
|
@@ -8964,7 +8962,7 @@ var ol = /* @__PURE__ */ function(o) {
|
|
|
8964
8962
|
tag: "xg-played",
|
|
8965
8963
|
className: "xgplayer-progress-played",
|
|
8966
8964
|
styleKey: "playedColor"
|
|
8967
|
-
}],
|
|
8965
|
+
}], ll = /* @__PURE__ */ function() {
|
|
8968
8966
|
function o(a) {
|
|
8969
8967
|
P(this, o), this.fragments = a.fragments || [], this.fragments.length === 0 && this.fragments.push({
|
|
8970
8968
|
percent: 1
|
|
@@ -9151,7 +9149,7 @@ var ol = /* @__PURE__ */ function(o) {
|
|
|
9151
9149
|
var l = f.createDom("xg-inner", "", {
|
|
9152
9150
|
style: t ? "background:".concat(t, "; flex: ").concat(s.percent) : "flex: ".concat(s.percent)
|
|
9153
9151
|
}, "".concat(s.isFocus ? n : "", " xgplayer-progress-inner ").concat(i));
|
|
9154
|
-
return r.root.appendChild(l),
|
|
9152
|
+
return r.root.appendChild(l), ol.forEach(function(u) {
|
|
9155
9153
|
l.appendChild(f.createDom(u.tag, "", {
|
|
9156
9154
|
style: u.styleKey ? "background: ".concat(r.style[u.styleKey], "; width:0;") : "width:0;"
|
|
9157
9155
|
}, u.className));
|
|
@@ -9167,7 +9165,7 @@ var ol = /* @__PURE__ */ function(o) {
|
|
|
9167
9165
|
}(), mn = {
|
|
9168
9166
|
POINT: "inner-focus-point",
|
|
9169
9167
|
HIGHLIGHT: "inner-focus-highlight"
|
|
9170
|
-
},
|
|
9168
|
+
}, ul = /* @__PURE__ */ function(o) {
|
|
9171
9169
|
F(r, o);
|
|
9172
9170
|
var a = M(r);
|
|
9173
9171
|
function r(t) {
|
|
@@ -9297,7 +9295,7 @@ var ol = /* @__PURE__ */ function(o) {
|
|
|
9297
9295
|
e.emitUserAction("fragment_focus", "fragment_focus", u);
|
|
9298
9296
|
}
|
|
9299
9297
|
});
|
|
9300
|
-
this.innerList ? this.innerList.reset(s) : (this.innerList = new
|
|
9298
|
+
this.innerList ? this.innerList.reset(s) : (this.innerList = new ll(s), this.outer.insertBefore(this.innerList.render(), this.outer.children[0]), ["findHightLight", "unHightLight", "setHightLight", "findFragment"].map(function(l) {
|
|
9301
9299
|
e[l] = e.innerList[l].bind(e.innerList);
|
|
9302
9300
|
}));
|
|
9303
9301
|
}
|
|
@@ -9607,7 +9605,7 @@ var ol = /* @__PURE__ */ function(o) {
|
|
|
9607
9605
|
this.unbind("mouseenter", this._onMouseenter), this.unbind("mouseleave", this._onMouseLeave);
|
|
9608
9606
|
}
|
|
9609
9607
|
}]), r;
|
|
9610
|
-
}(W),
|
|
9608
|
+
}(W), cl = /* @__PURE__ */ function(o) {
|
|
9611
9609
|
F(r, o);
|
|
9612
9610
|
var a = M(r);
|
|
9613
9611
|
function r() {
|
|
@@ -9619,7 +9617,7 @@ var ol = /* @__PURE__ */ function(o) {
|
|
|
9619
9617
|
var e = this;
|
|
9620
9618
|
B(N(r.prototype), "afterCreate", this).call(this);
|
|
9621
9619
|
var i = this.player, n = this.config;
|
|
9622
|
-
n.disable || (this.initIcons(), this.btnClick = this.btnClick.bind(this), this.bind(["touchend", "click"], this.btnClick), this.on([ut,
|
|
9620
|
+
n.disable || (this.initIcons(), this.btnClick = this.btnClick.bind(this), this.bind(["touchend", "click"], this.btnClick), this.on([ut, vt, Xe], function() {
|
|
9623
9621
|
e.animate(i.paused);
|
|
9624
9622
|
}), this.on(ge, function() {
|
|
9625
9623
|
e.animate(i.paused);
|
|
@@ -9695,14 +9693,14 @@ var ol = /* @__PURE__ */ function(o) {
|
|
|
9695
9693
|
}
|
|
9696
9694
|
}]), r;
|
|
9697
9695
|
}(qe);
|
|
9698
|
-
function
|
|
9696
|
+
function fl() {
|
|
9699
9697
|
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">
|
|
9700
9698
|
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
9701
9699
|
<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>
|
|
9702
9700
|
</g>
|
|
9703
9701
|
</svg>`, "image/svg+xml").firstChild;
|
|
9704
9702
|
}
|
|
9705
|
-
var
|
|
9703
|
+
var hl = /* @__PURE__ */ function(o) {
|
|
9706
9704
|
F(r, o);
|
|
9707
9705
|
var a = M(r);
|
|
9708
9706
|
function r() {
|
|
@@ -9721,7 +9719,7 @@ var dl = /* @__PURE__ */ function(o) {
|
|
|
9721
9719
|
value: function() {
|
|
9722
9720
|
return {
|
|
9723
9721
|
screenBack: {
|
|
9724
|
-
icon:
|
|
9722
|
+
icon: fl,
|
|
9725
9723
|
class: "xg-fullscreen-back"
|
|
9726
9724
|
}
|
|
9727
9725
|
};
|
|
@@ -9763,19 +9761,19 @@ var dl = /* @__PURE__ */ function(o) {
|
|
|
9763
9761
|
}
|
|
9764
9762
|
}]), r;
|
|
9765
9763
|
}(W);
|
|
9766
|
-
function
|
|
9764
|
+
function dl() {
|
|
9767
9765
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
|
|
9768
9766
|
<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>
|
|
9769
9767
|
</svg>
|
|
9770
9768
|
`, "image/svg+xml").firstChild;
|
|
9771
9769
|
}
|
|
9772
|
-
function
|
|
9770
|
+
function gl() {
|
|
9773
9771
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
|
|
9774
9772
|
<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>
|
|
9775
9773
|
</svg>
|
|
9776
9774
|
`, "image/svg+xml").firstChild;
|
|
9777
9775
|
}
|
|
9778
|
-
var
|
|
9776
|
+
var pl = /* @__PURE__ */ function(o) {
|
|
9779
9777
|
F(r, o);
|
|
9780
9778
|
var a = M(r);
|
|
9781
9779
|
function r() {
|
|
@@ -9810,7 +9808,7 @@ var vl = /* @__PURE__ */ function(o) {
|
|
|
9810
9808
|
var u = e.find(".xg-tips");
|
|
9811
9809
|
u && e.changeLangTextKey(u, l ? e.i18nKeys.EXITFULLSCREEN_TIPS : e.i18nKeys.FULLSCREEN_TIPS), e.animate(l);
|
|
9812
9810
|
}), this.config.needBackIcon && (this.topBackIcon = this.player.registerPlugin({
|
|
9813
|
-
plugin:
|
|
9811
|
+
plugin: hl,
|
|
9814
9812
|
options: {
|
|
9815
9813
|
config: {
|
|
9816
9814
|
onClick: function(u) {
|
|
@@ -9826,11 +9824,11 @@ var vl = /* @__PURE__ */ function(o) {
|
|
|
9826
9824
|
value: function() {
|
|
9827
9825
|
return {
|
|
9828
9826
|
fullscreen: {
|
|
9829
|
-
icon:
|
|
9827
|
+
icon: dl,
|
|
9830
9828
|
class: "xg-get-fullscreen"
|
|
9831
9829
|
},
|
|
9832
9830
|
exitFullscreen: {
|
|
9833
|
-
icon:
|
|
9831
|
+
icon: gl,
|
|
9834
9832
|
class: "xg-exit-fullscreen"
|
|
9835
9833
|
}
|
|
9836
9834
|
};
|
|
@@ -9911,7 +9909,7 @@ var vl = /* @__PURE__ */ function(o) {
|
|
|
9911
9909
|
};
|
|
9912
9910
|
}
|
|
9913
9911
|
}]), r;
|
|
9914
|
-
}(qe),
|
|
9912
|
+
}(qe), vl = /* @__PURE__ */ function(o) {
|
|
9915
9913
|
F(r, o);
|
|
9916
9914
|
var a = M(r);
|
|
9917
9915
|
function r(t) {
|
|
@@ -10061,7 +10059,7 @@ var vl = /* @__PURE__ */ function(o) {
|
|
|
10061
10059
|
};
|
|
10062
10060
|
}
|
|
10063
10061
|
}]), r;
|
|
10064
|
-
}(W),
|
|
10062
|
+
}(W), ml = /* @__PURE__ */ function(o) {
|
|
10065
10063
|
F(r, o);
|
|
10066
10064
|
var a = M(r);
|
|
10067
10065
|
function r() {
|
|
@@ -10199,28 +10197,28 @@ var vl = /* @__PURE__ */ function(o) {
|
|
|
10199
10197
|
}
|
|
10200
10198
|
}]), r;
|
|
10201
10199
|
}(He);
|
|
10202
|
-
function
|
|
10200
|
+
function yl() {
|
|
10203
10201
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
10204
10202
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
10205
10203
|
<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>
|
|
10206
10204
|
</svg>
|
|
10207
10205
|
`, "image/svg+xml").firstChild;
|
|
10208
10206
|
}
|
|
10209
|
-
function
|
|
10207
|
+
function _l() {
|
|
10210
10208
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
10211
10209
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
10212
10210
|
<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>
|
|
10213
10211
|
</svg>
|
|
10214
10212
|
`, "image/svg+xml").firstChild;
|
|
10215
10213
|
}
|
|
10216
|
-
function
|
|
10214
|
+
function kl() {
|
|
10217
10215
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
10218
10216
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
10219
10217
|
<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>
|
|
10220
10218
|
</svg>
|
|
10221
10219
|
`, "image/svg+xml").firstChild;
|
|
10222
10220
|
}
|
|
10223
|
-
var
|
|
10221
|
+
var Cl = /* @__PURE__ */ function(o) {
|
|
10224
10222
|
F(r, o);
|
|
10225
10223
|
var a = M(r);
|
|
10226
10224
|
function r() {
|
|
@@ -10268,15 +10266,15 @@ var wl = /* @__PURE__ */ function(o) {
|
|
|
10268
10266
|
value: function() {
|
|
10269
10267
|
return {
|
|
10270
10268
|
volumeSmall: {
|
|
10271
|
-
icon:
|
|
10269
|
+
icon: _l,
|
|
10272
10270
|
class: "xg-volume-small"
|
|
10273
10271
|
},
|
|
10274
10272
|
volumeLarge: {
|
|
10275
|
-
icon:
|
|
10273
|
+
icon: yl,
|
|
10276
10274
|
class: "xg-volume"
|
|
10277
10275
|
},
|
|
10278
10276
|
volumeMuted: {
|
|
10279
|
-
icon:
|
|
10277
|
+
icon: kl,
|
|
10280
10278
|
class: "xg-volume-mute"
|
|
10281
10279
|
}
|
|
10282
10280
|
};
|
|
@@ -10415,7 +10413,7 @@ var wl = /* @__PURE__ */ function(o) {
|
|
|
10415
10413
|
}
|
|
10416
10414
|
}]), r;
|
|
10417
10415
|
}(W);
|
|
10418
|
-
function
|
|
10416
|
+
function wl() {
|
|
10419
10417
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="-4 -6 40 40" fill="none">
|
|
10420
10418
|
<g clip-path="url(#clip0)">
|
|
10421
10419
|
<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"/>
|
|
@@ -10429,7 +10427,7 @@ function bl() {
|
|
|
10429
10427
|
</svg>
|
|
10430
10428
|
`, "image/svg+xml").firstChild;
|
|
10431
10429
|
}
|
|
10432
|
-
var
|
|
10430
|
+
var bl = /* @__PURE__ */ function(o) {
|
|
10433
10431
|
F(r, o);
|
|
10434
10432
|
var a = M(r);
|
|
10435
10433
|
function r(t) {
|
|
@@ -10492,7 +10490,7 @@ var Tl = /* @__PURE__ */ function(o) {
|
|
|
10492
10490
|
key: "registerIcons",
|
|
10493
10491
|
value: function() {
|
|
10494
10492
|
return {
|
|
10495
|
-
rotate:
|
|
10493
|
+
rotate: wl
|
|
10496
10494
|
};
|
|
10497
10495
|
}
|
|
10498
10496
|
}, {
|
|
@@ -10525,14 +10523,14 @@ var Tl = /* @__PURE__ */ function(o) {
|
|
|
10525
10523
|
}
|
|
10526
10524
|
}]), r;
|
|
10527
10525
|
}(qe);
|
|
10528
|
-
function
|
|
10526
|
+
function Tl() {
|
|
10529
10527
|
return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
10530
10528
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
10531
10529
|
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"
|
|
10532
10530
|
fill="white" />
|
|
10533
10531
|
</svg>`, "image/svg+xml").firstChild;
|
|
10534
10532
|
}
|
|
10535
|
-
function
|
|
10533
|
+
function El() {
|
|
10536
10534
|
return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
10537
10535
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
10538
10536
|
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"
|
|
@@ -10546,7 +10544,7 @@ var et = {
|
|
|
10546
10544
|
PIP: "picture-in-picture",
|
|
10547
10545
|
INLINE: "inline",
|
|
10548
10546
|
FULLSCREEN: "fullscreen"
|
|
10549
|
-
},
|
|
10547
|
+
}, Sl = /* @__PURE__ */ function(o) {
|
|
10550
10548
|
F(r, o);
|
|
10551
10549
|
var a = M(r);
|
|
10552
10550
|
function r() {
|
|
@@ -10586,11 +10584,11 @@ var et = {
|
|
|
10586
10584
|
value: function() {
|
|
10587
10585
|
return {
|
|
10588
10586
|
pipIcon: {
|
|
10589
|
-
icon:
|
|
10587
|
+
icon: Tl,
|
|
10590
10588
|
class: "xg-get-pip"
|
|
10591
10589
|
},
|
|
10592
10590
|
pipIconExit: {
|
|
10593
|
-
icon:
|
|
10591
|
+
icon: El,
|
|
10594
10592
|
class: "xg-exit-pip"
|
|
10595
10593
|
}
|
|
10596
10594
|
};
|
|
@@ -10749,20 +10747,20 @@ var et = {
|
|
|
10749
10747
|
}
|
|
10750
10748
|
}]), r;
|
|
10751
10749
|
}(qe);
|
|
10752
|
-
function
|
|
10750
|
+
function xl() {
|
|
10753
10751
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="40" viewBox="10 0 24 40">
|
|
10754
10752
|
<path transform="scale(0.038 0.028)" d="M800 380v768h-128v-352l-320 320v-704l320 320v-352z"></path>
|
|
10755
10753
|
</svg>
|
|
10756
10754
|
`, "image/svg+xml").firstChild;
|
|
10757
10755
|
}
|
|
10758
|
-
var
|
|
10756
|
+
var Il = /* @__PURE__ */ function(o) {
|
|
10759
10757
|
F(r, o);
|
|
10760
10758
|
var a = M(r);
|
|
10761
10759
|
function r(t) {
|
|
10762
10760
|
var e;
|
|
10763
10761
|
return P(this, r), e = a.call(this, t), _(y(e), "playNext", function(i) {
|
|
10764
10762
|
var n = y(e), s = n.player;
|
|
10765
|
-
i.preventDefault(), i.stopPropagation(), e.idx + 1 < e.config.urlList.length ? (e.idx++, e.nextHandler(e.config.urlList[e.idx], e.idx), s.emit(
|
|
10763
|
+
i.preventDefault(), i.stopPropagation(), e.idx + 1 < e.config.urlList.length ? (e.idx++, e.nextHandler(e.config.urlList[e.idx], e.idx), s.emit(It, e.idx + 1)) : (e.nextHandler(), s.emit(It));
|
|
10766
10764
|
}), e.idx = -1, e;
|
|
10767
10765
|
}
|
|
10768
10766
|
return A(r, [{
|
|
@@ -10774,7 +10772,7 @@ var Pl = /* @__PURE__ */ function(o) {
|
|
|
10774
10772
|
key: "registerIcons",
|
|
10775
10773
|
value: function() {
|
|
10776
10774
|
return {
|
|
10777
|
-
playNext:
|
|
10775
|
+
playNext: xl
|
|
10778
10776
|
};
|
|
10779
10777
|
}
|
|
10780
10778
|
}, {
|
|
@@ -10896,9 +10894,9 @@ Use Save As... to download, then click back to return to this page.`) && (locati
|
|
|
10896
10894
|
};
|
|
10897
10895
|
});
|
|
10898
10896
|
})(rr);
|
|
10899
|
-
var
|
|
10900
|
-
const
|
|
10901
|
-
function
|
|
10897
|
+
var Pl = rr.exports;
|
|
10898
|
+
const Al = /* @__PURE__ */ gi(Pl);
|
|
10899
|
+
function Ll() {
|
|
10902
10900
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24">
|
|
10903
10901
|
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
10904
10902
|
<g transform="translate(-488.000000, -340.000000)" fill="#FFFFFF">
|
|
@@ -10915,7 +10913,7 @@ function Dl() {
|
|
|
10915
10913
|
</svg>
|
|
10916
10914
|
`, "image/svg+xml").firstChild;
|
|
10917
10915
|
}
|
|
10918
|
-
var
|
|
10916
|
+
var Dl = /* @__PURE__ */ function(o) {
|
|
10919
10917
|
F(r, o);
|
|
10920
10918
|
var a = M(r);
|
|
10921
10919
|
function r(t) {
|
|
@@ -10926,7 +10924,7 @@ var Ol = /* @__PURE__ */ function(o) {
|
|
|
10926
10924
|
var n = e.playerConfig.url, s = "";
|
|
10927
10925
|
f.typeOf(n) === "String" ? s = n : f.typeOf(n) === "Array" && n.length > 0 && (s = n[0].src);
|
|
10928
10926
|
var l = e.getAbsoluteURL(s);
|
|
10929
|
-
|
|
10927
|
+
Al(l), e.isLock = !0, e.timer = window.setTimeout(function() {
|
|
10930
10928
|
e.isLock = !1, window.clearTimeout(e.timer), e.timer = null;
|
|
10931
10929
|
}, 300);
|
|
10932
10930
|
}
|
|
@@ -10945,7 +10943,7 @@ var Ol = /* @__PURE__ */ function(o) {
|
|
|
10945
10943
|
key: "registerIcons",
|
|
10946
10944
|
value: function() {
|
|
10947
10945
|
return {
|
|
10948
|
-
download:
|
|
10946
|
+
download: Ll
|
|
10949
10947
|
};
|
|
10950
10948
|
}
|
|
10951
10949
|
}, {
|
|
@@ -10987,7 +10985,7 @@ var Ol = /* @__PURE__ */ function(o) {
|
|
|
10987
10985
|
};
|
|
10988
10986
|
}
|
|
10989
10987
|
}]), r;
|
|
10990
|
-
}(qe),
|
|
10988
|
+
}(qe), Ol = /* @__PURE__ */ function(o) {
|
|
10991
10989
|
F(r, o);
|
|
10992
10990
|
var a = M(r);
|
|
10993
10991
|
function r() {
|
|
@@ -11113,7 +11111,7 @@ var Ol = /* @__PURE__ */ function(o) {
|
|
|
11113
11111
|
};
|
|
11114
11112
|
}
|
|
11115
11113
|
}]), r;
|
|
11116
|
-
}(qe),
|
|
11114
|
+
}(qe), Rl = /* @__PURE__ */ function() {
|
|
11117
11115
|
function o(a) {
|
|
11118
11116
|
P(this, o), this.config = a.config, this.parent = a.root, this.root = f.createDom("ul", "", {}, "xg-options-list xg-list-slide-scroll ".concat(this.config.className)), a.root.appendChild(this.root);
|
|
11119
11117
|
var r = this.config.maxHeight;
|
|
@@ -11193,10 +11191,10 @@ var Ol = /* @__PURE__ */ function(o) {
|
|
|
11193
11191
|
CLICK: "click",
|
|
11194
11192
|
HOVER: "hover"
|
|
11195
11193
|
};
|
|
11196
|
-
function
|
|
11194
|
+
function Fl(o, a) {
|
|
11197
11195
|
return o === we.SIDE ? a === Y.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
|
|
11198
11196
|
}
|
|
11199
|
-
var je = U.device === "mobile",
|
|
11197
|
+
var je = U.device === "mobile", Ot = /* @__PURE__ */ function(o) {
|
|
11200
11198
|
F(r, o);
|
|
11201
11199
|
var a = M(r);
|
|
11202
11200
|
function r(t) {
|
|
@@ -11307,7 +11305,7 @@ var je = U.device === "mobile", Rt = /* @__PURE__ */ function(o) {
|
|
|
11307
11305
|
var c = {
|
|
11308
11306
|
config: {
|
|
11309
11307
|
data: e || [],
|
|
11310
|
-
className:
|
|
11308
|
+
className: Fl(s.listType, s.position),
|
|
11311
11309
|
onItemClick: function(v, m) {
|
|
11312
11310
|
n.onItemClick(v, m);
|
|
11313
11311
|
},
|
|
@@ -11317,7 +11315,7 @@ var je = U.device === "mobile", Rt = /* @__PURE__ */ function(o) {
|
|
|
11317
11315
|
};
|
|
11318
11316
|
if (this.config.isShowIcon) {
|
|
11319
11317
|
var h = this.player.root.getBoundingClientRect(), g = h.height, p = s.listType === we.MIDDLE ? g - 50 : g;
|
|
11320
|
-
p && s.heightLimit && (c.config.maxHeight = "".concat(p, "px")), this.optionsList = new
|
|
11318
|
+
p && s.heightLimit && (c.config.maxHeight = "".concat(p, "px")), this.optionsList = new Rl(c), this.changeCurrentText(), this.show();
|
|
11321
11319
|
}
|
|
11322
11320
|
this._resizeList();
|
|
11323
11321
|
}
|
|
@@ -11368,7 +11366,7 @@ var je = U.device === "mobile", Rt = /* @__PURE__ */ function(o) {
|
|
|
11368
11366
|
};
|
|
11369
11367
|
}
|
|
11370
11368
|
}]), r;
|
|
11371
|
-
}(W),
|
|
11369
|
+
}(W), Ml = /* @__PURE__ */ function(o) {
|
|
11372
11370
|
F(r, o);
|
|
11373
11371
|
var a = M(r);
|
|
11374
11372
|
function r(t) {
|
|
@@ -11457,7 +11455,7 @@ var je = U.device === "mobile", Rt = /* @__PURE__ */ function(o) {
|
|
|
11457
11455
|
}, {
|
|
11458
11456
|
key: "defaultConfig",
|
|
11459
11457
|
get: function() {
|
|
11460
|
-
return Q(Q({},
|
|
11458
|
+
return Q(Q({}, Ot.defaultConfig), {}, {
|
|
11461
11459
|
position: Y.CONTROLS_RIGHT,
|
|
11462
11460
|
index: 3,
|
|
11463
11461
|
list: [],
|
|
@@ -11469,7 +11467,7 @@ var je = U.device === "mobile", Rt = /* @__PURE__ */ function(o) {
|
|
|
11469
11467
|
});
|
|
11470
11468
|
}
|
|
11471
11469
|
}]), r;
|
|
11472
|
-
}(
|
|
11470
|
+
}(Ot), Nl = /* @__PURE__ */ function(o) {
|
|
11473
11471
|
F(r, o);
|
|
11474
11472
|
var a = M(r);
|
|
11475
11473
|
function r(t) {
|
|
@@ -11551,7 +11549,7 @@ var je = U.device === "mobile", Rt = /* @__PURE__ */ function(o) {
|
|
|
11551
11549
|
}, {
|
|
11552
11550
|
key: "defaultConfig",
|
|
11553
11551
|
get: function() {
|
|
11554
|
-
return Q(Q({},
|
|
11552
|
+
return Q(Q({}, Ot.defaultConfig), {}, {
|
|
11555
11553
|
position: Y.CONTROLS_RIGHT,
|
|
11556
11554
|
index: 4,
|
|
11557
11555
|
list: [2, 1.5, 1, 0.75, 0.5],
|
|
@@ -11561,14 +11559,14 @@ var je = U.device === "mobile", Rt = /* @__PURE__ */ function(o) {
|
|
|
11561
11559
|
});
|
|
11562
11560
|
}
|
|
11563
11561
|
}]), r;
|
|
11564
|
-
}(
|
|
11565
|
-
function
|
|
11562
|
+
}(Ot);
|
|
11563
|
+
function Bl() {
|
|
11566
11564
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
|
|
11567
11565
|
<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>
|
|
11568
11566
|
</svg>
|
|
11569
11567
|
`, "image/svg+xml").firstChild;
|
|
11570
11568
|
}
|
|
11571
|
-
function
|
|
11569
|
+
function Hl() {
|
|
11572
11570
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
|
|
11573
11571
|
<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>
|
|
11574
11572
|
</svg>
|
|
@@ -11589,7 +11587,7 @@ var yn = /* @__PURE__ */ function(o) {
|
|
|
11589
11587
|
key: "afterCreate",
|
|
11590
11588
|
value: function() {
|
|
11591
11589
|
var e = this;
|
|
11592
|
-
B(N(r.prototype), "afterCreate", this).call(this), !this.config.disable && (this.config.target && (this.playerConfig.fullscreenTarget = this.config.target), this.initIcons(), this.on(
|
|
11590
|
+
B(N(r.prototype), "afterCreate", this).call(this), !this.config.disable && (this.config.target && (this.playerConfig.fullscreenTarget = this.config.target), this.initIcons(), this.on(St, function(i) {
|
|
11593
11591
|
e.animate(i);
|
|
11594
11592
|
}), this.btnClick = this.btnClick.bind(this), this.handleCssFullscreen = this.hook("cssFullscreen_change", this.btnClick, {
|
|
11595
11593
|
pre: function(n) {
|
|
@@ -11628,11 +11626,11 @@ var yn = /* @__PURE__ */ function(o) {
|
|
|
11628
11626
|
value: function() {
|
|
11629
11627
|
return {
|
|
11630
11628
|
cssFullscreen: {
|
|
11631
|
-
icon:
|
|
11629
|
+
icon: Bl,
|
|
11632
11630
|
class: "xg-get-cssfull"
|
|
11633
11631
|
},
|
|
11634
11632
|
exitCssFullscreen: {
|
|
11635
|
-
icon:
|
|
11633
|
+
icon: Hl,
|
|
11636
11634
|
class: "xg-exit-cssfull"
|
|
11637
11635
|
}
|
|
11638
11636
|
};
|
|
@@ -11668,7 +11666,7 @@ var yn = /* @__PURE__ */ function(o) {
|
|
|
11668
11666
|
};
|
|
11669
11667
|
}
|
|
11670
11668
|
}]), r;
|
|
11671
|
-
}(qe),
|
|
11669
|
+
}(qe), Ul = /* @__PURE__ */ function(o) {
|
|
11672
11670
|
F(r, o);
|
|
11673
11671
|
var a = M(r);
|
|
11674
11672
|
function r() {
|
|
@@ -11682,7 +11680,7 @@ var yn = /* @__PURE__ */ function(o) {
|
|
|
11682
11680
|
pre: function(n) {
|
|
11683
11681
|
n.preventDefault(), n.stopPropagation();
|
|
11684
11682
|
}
|
|
11685
|
-
}), this.onError = this.hook("showError", this.handleError), this.bind(".xgplayer-error-refresh", "click", this.clickHandler), this.on(
|
|
11683
|
+
}), this.onError = this.hook("showError", this.handleError), this.bind(".xgplayer-error-refresh", "click", this.clickHandler), this.on(vt, function(i) {
|
|
11686
11684
|
e.onError(i);
|
|
11687
11685
|
});
|
|
11688
11686
|
}
|
|
@@ -11729,7 +11727,7 @@ var yn = /* @__PURE__ */ function(o) {
|
|
|
11729
11727
|
return "error";
|
|
11730
11728
|
}
|
|
11731
11729
|
}]), r;
|
|
11732
|
-
}(W),
|
|
11730
|
+
}(W), zl = /* @__PURE__ */ function(o) {
|
|
11733
11731
|
F(r, o);
|
|
11734
11732
|
var a = M(r);
|
|
11735
11733
|
function r() {
|
|
@@ -11959,7 +11957,7 @@ var kn = {
|
|
|
11959
11957
|
return r.find('xg-spot[data-id="'.concat(a, '"]'));
|
|
11960
11958
|
}
|
|
11961
11959
|
};
|
|
11962
|
-
function
|
|
11960
|
+
function Vl(o) {
|
|
11963
11961
|
var a = o.config, r = o.player;
|
|
11964
11962
|
Object.keys(kn).map(function(e) {
|
|
11965
11963
|
o[e] = kn[e].bind(o);
|
|
@@ -11983,7 +11981,7 @@ var it = {
|
|
|
11983
11981
|
click: "onProgressClick",
|
|
11984
11982
|
mouseover: "onProgressMouseOver",
|
|
11985
11983
|
mouseenter: "onProgressMouseOver"
|
|
11986
|
-
},
|
|
11984
|
+
}, jl = /* @__PURE__ */ function(o) {
|
|
11987
11985
|
F(r, o);
|
|
11988
11986
|
var a = M(r);
|
|
11989
11987
|
function r(t) {
|
|
@@ -12034,7 +12032,7 @@ var it = {
|
|
|
12034
12032
|
n.seekTime && e.player.seek(n.seekTime);
|
|
12035
12033
|
}), this.transformTimeHook = this.hook("transformTime", function(i) {
|
|
12036
12034
|
e.setTimeContent(f.format(i));
|
|
12037
|
-
}),
|
|
12035
|
+
}), Vl(this), this.on(Ue, function() {
|
|
12038
12036
|
e.show();
|
|
12039
12037
|
}), this.config.disable && this.disable(), this.extTextRoot = this.find(".xg-spot-ext-text");
|
|
12040
12038
|
}
|
|
@@ -12258,7 +12256,7 @@ var it = {
|
|
|
12258
12256
|
};
|
|
12259
12257
|
}
|
|
12260
12258
|
}]), r;
|
|
12261
|
-
}(W),
|
|
12259
|
+
}(W), $l = /* @__PURE__ */ function(o) {
|
|
12262
12260
|
F(r, o);
|
|
12263
12261
|
var a = M(r);
|
|
12264
12262
|
function r(t) {
|
|
@@ -12396,7 +12394,7 @@ var it = {
|
|
|
12396
12394
|
function ti(o) {
|
|
12397
12395
|
return o ? "background:".concat(o, ";") : "";
|
|
12398
12396
|
}
|
|
12399
|
-
var
|
|
12397
|
+
var Wl = /* @__PURE__ */ function(o) {
|
|
12400
12398
|
F(r, o);
|
|
12401
12399
|
var a = M(r);
|
|
12402
12400
|
function r() {
|
|
@@ -12484,14 +12482,14 @@ var Gl = /* @__PURE__ */ function(o) {
|
|
|
12484
12482
|
FRAME_RATE: "framerate",
|
|
12485
12483
|
POSTER: "poster"
|
|
12486
12484
|
};
|
|
12487
|
-
function
|
|
12485
|
+
function Gl() {
|
|
12488
12486
|
try {
|
|
12489
12487
|
return parseInt(window.performance.now(), 10);
|
|
12490
12488
|
} catch {
|
|
12491
12489
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
12492
12490
|
}
|
|
12493
12491
|
}
|
|
12494
|
-
function
|
|
12492
|
+
function Kl() {
|
|
12495
12493
|
try {
|
|
12496
12494
|
var o = document.createElement("canvas").getContext;
|
|
12497
12495
|
return !!o;
|
|
@@ -12499,7 +12497,7 @@ function Yl() {
|
|
|
12499
12497
|
return !1;
|
|
12500
12498
|
}
|
|
12501
12499
|
}
|
|
12502
|
-
var
|
|
12500
|
+
var Ct = null, Yl = /* @__PURE__ */ function(o) {
|
|
12503
12501
|
F(r, o);
|
|
12504
12502
|
var a = M(r);
|
|
12505
12503
|
function r() {
|
|
@@ -12520,7 +12518,7 @@ var wt = null, Xl = /* @__PURE__ */ function(o) {
|
|
|
12520
12518
|
!t.player.paused && t._checkIfCanStart() && t.start(0, l);
|
|
12521
12519
|
}
|
|
12522
12520
|
}), _(y(t), "start", function(s, l) {
|
|
12523
|
-
var u = t.player.video, c =
|
|
12521
|
+
var u = t.player.video, c = Gl(), h = t.checkVideoIsSupport(u);
|
|
12524
12522
|
!h || !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(h, t.videoPI), t.preTime = c)), t.frameId = t._loopType === "timer" ? f.setTimeout(y(t), t.start, l) : f.requestAnimationFrame(t.start));
|
|
12525
12523
|
}), _(y(t), "stop", function() {
|
|
12526
12524
|
t.frameId && (t._loopType === "timer" ? f.clearTimeout(y(t), t.frameId) : f.cancelAnimationFrame(t.frameId), t.frameId = null);
|
|
@@ -12693,7 +12691,7 @@ var wt = null, Xl = /* @__PURE__ */ function(o) {
|
|
|
12693
12691
|
}, {
|
|
12694
12692
|
key: "isSupport",
|
|
12695
12693
|
get: function() {
|
|
12696
|
-
return typeof
|
|
12694
|
+
return typeof Ct == "boolean" || (Ct = Kl()), Ct;
|
|
12697
12695
|
}
|
|
12698
12696
|
}, {
|
|
12699
12697
|
key: "supportCanvasFilter",
|
|
@@ -12701,7 +12699,7 @@ var wt = null, Xl = /* @__PURE__ */ function(o) {
|
|
|
12701
12699
|
return !(U.browser === "safari" || U.browser === "firefox");
|
|
12702
12700
|
}
|
|
12703
12701
|
}]), r;
|
|
12704
|
-
}(W),
|
|
12702
|
+
}(W), Xl = {
|
|
12705
12703
|
LANG: "zh-cn",
|
|
12706
12704
|
TEXT: {
|
|
12707
12705
|
ERROR_TYPES: {
|
|
@@ -12776,7 +12774,7 @@ var wt = null, Xl = /* @__PURE__ */ function(o) {
|
|
|
12776
12774
|
FORWARD: "快进中",
|
|
12777
12775
|
LIVE_TIP: "直播"
|
|
12778
12776
|
}
|
|
12779
|
-
}, ht = "info", ii = Zn,
|
|
12777
|
+
}, ht = "info", ii = Zn, ql = /* @__PURE__ */ function(o) {
|
|
12780
12778
|
F(r, o);
|
|
12781
12779
|
var a = M(r);
|
|
12782
12780
|
function r() {
|
|
@@ -12815,7 +12813,7 @@ var wt = null, Xl = /* @__PURE__ */ function(o) {
|
|
|
12815
12813
|
}, {
|
|
12816
12814
|
key: "afterCreate",
|
|
12817
12815
|
value: function() {
|
|
12818
|
-
this.reset(), this.on(
|
|
12816
|
+
this.reset(), this.on(Pt, this._recordUserActions), this.on(ii.STATS_INFO, this._recordInfo), this.on(ii.STATS_DOWNLOAD, this._downloadStats), this.on(ii.STATS_RESET, this._onReset);
|
|
12819
12817
|
}
|
|
12820
12818
|
}, {
|
|
12821
12819
|
key: "destroy",
|
|
@@ -12961,7 +12959,7 @@ var wt = null, Xl = /* @__PURE__ */ function(o) {
|
|
|
12961
12959
|
key: "afterCreate",
|
|
12962
12960
|
value: function() {
|
|
12963
12961
|
var e = this, i = this.config.useGapJump;
|
|
12964
|
-
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(
|
|
12962
|
+
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(ge, function() {
|
|
12965
12963
|
e.hasPlayed = !0;
|
|
12966
12964
|
}), this.on(Ft, function() {
|
|
12967
12965
|
e.seekingEventReceived = !0;
|
|
@@ -13010,7 +13008,7 @@ var wt = null, Xl = /* @__PURE__ */ function(o) {
|
|
|
13010
13008
|
}]), r;
|
|
13011
13009
|
}(W);
|
|
13012
13010
|
ar.BROWSER_GAP_TOLERANCE = 1e-3;
|
|
13013
|
-
var
|
|
13011
|
+
var Zl = /* @__PURE__ */ function(o) {
|
|
13014
13012
|
F(r, o);
|
|
13015
13013
|
var a = M(r);
|
|
13016
13014
|
function r() {
|
|
@@ -13034,7 +13032,7 @@ var Jl = /* @__PURE__ */ function(o) {
|
|
|
13034
13032
|
key: "afterCreate",
|
|
13035
13033
|
value: function() {
|
|
13036
13034
|
var e = this, i = this.config, n = i.useWaitingTimeoutJump, s = i.jumpSize;
|
|
13037
|
-
n !== !1 && (this.hasPlayed = !1, this.jumpCnt = 0, this.timer = null, this.jumpSize = s, this.on(
|
|
13035
|
+
n !== !1 && (this.hasPlayed = !1, this.jumpCnt = 0, this.timer = null, this.jumpSize = s, this.on(mt, this.onWaiting), this.on([mi, xe], function() {
|
|
13038
13036
|
clearTimeout(e.timer), e.timer = null, e.jumpSize = e.config.jumpSize;
|
|
13039
13037
|
}), this.on(ge, function() {
|
|
13040
13038
|
e.hasPlayed = !0;
|
|
@@ -13056,7 +13054,7 @@ var Jl = /* @__PURE__ */ function(o) {
|
|
|
13056
13054
|
};
|
|
13057
13055
|
}
|
|
13058
13056
|
}]), r;
|
|
13059
|
-
}(W), rt = "cdn",
|
|
13057
|
+
}(W), rt = "cdn", wt = ["cdn"], Jl = /* @__PURE__ */ function(o) {
|
|
13060
13058
|
F(r, o);
|
|
13061
13059
|
var a = M(r);
|
|
13062
13060
|
function r() {
|
|
@@ -13075,7 +13073,7 @@ var Jl = /* @__PURE__ */ function(o) {
|
|
|
13075
13073
|
}), _(y(t), "startTimer", function() {
|
|
13076
13074
|
f.isMSE(t.player.video) || (t.initSpeedList(), t.cnt = 0, t.timer = setTimeout(t.testSpeed, t.config.testTimeStep));
|
|
13077
13075
|
}), _(y(t), "initSpeedList", function() {
|
|
13078
|
-
t.speedListCache = {},
|
|
13076
|
+
t.speedListCache = {}, wt.forEach(function(s) {
|
|
13079
13077
|
t.speedListCache[s] = [];
|
|
13080
13078
|
});
|
|
13081
13079
|
}), _(y(t), "_onRealSpeedChange", function(s) {
|
|
@@ -13132,7 +13130,7 @@ var Jl = /* @__PURE__ */ function(o) {
|
|
|
13132
13130
|
key: "afterCreate",
|
|
13133
13131
|
value: function() {
|
|
13134
13132
|
var e = this.config, i = e.openSpeed, n = e.addSpeedTypeList;
|
|
13135
|
-
(n == null ? void 0 : n.length) > 0 &&
|
|
13133
|
+
(n == null ? void 0 : n.length) > 0 && wt.push.apply(wt, ye(n)), this.initSpeedList(), this.on("real_time_speed", this._onRealSpeedChange), this.timer = null, this.cnt = 0, this.xhr = null, i && this.on([Pe, Et], this.startTimer);
|
|
13136
13134
|
}
|
|
13137
13135
|
}, {
|
|
13138
13136
|
key: "getSpeedName",
|
|
@@ -13159,7 +13157,7 @@ var Jl = /* @__PURE__ */ function(o) {
|
|
|
13159
13157
|
key: "destroy",
|
|
13160
13158
|
value: function() {
|
|
13161
13159
|
var e = this;
|
|
13162
|
-
this.off("real_time_speed", this._onRealSpeedChange), this.off([Pe,
|
|
13160
|
+
this.off("real_time_speed", this._onRealSpeedChange), this.off([Pe, Et], this.startTimer), wt.forEach(function(i) {
|
|
13163
13161
|
e.speedListCache && e.speedListCache[i] && (e.speedListCache[i] = []);
|
|
13164
13162
|
}), this.speedListCache && (this.speedListCache = {}), clearTimeout(this.timer), this.timer = null, this.xhr && this.xhr.readyState !== 4 && (this.xhr.cancel && this.xhr.cancel(), this.xhr = null);
|
|
13165
13163
|
}
|
|
@@ -13182,7 +13180,7 @@ var Jl = /* @__PURE__ */ function(o) {
|
|
|
13182
13180
|
};
|
|
13183
13181
|
}
|
|
13184
13182
|
}]), r;
|
|
13185
|
-
}(W),
|
|
13183
|
+
}(W), Ql = /* @__PURE__ */ function(o) {
|
|
13186
13184
|
F(r, o);
|
|
13187
13185
|
var a = M(r);
|
|
13188
13186
|
function r() {
|
|
@@ -13292,24 +13290,24 @@ var Jl = /* @__PURE__ */ function(o) {
|
|
|
13292
13290
|
}
|
|
13293
13291
|
}]), r;
|
|
13294
13292
|
}(W);
|
|
13295
|
-
at.use(
|
|
13296
|
-
var
|
|
13293
|
+
at.use(Xl);
|
|
13294
|
+
var eu = /* @__PURE__ */ A(function o(a, r) {
|
|
13297
13295
|
var t, e, i;
|
|
13298
13296
|
P(this, o);
|
|
13299
|
-
var n = r && r.isMobileSimulateMode === "mobile", s = r.isLive, l = s ? [] : [
|
|
13300
|
-
this.plugins = [
|
|
13297
|
+
var n = r && r.isMobileSimulateMode === "mobile", s = r.isLive, l = s ? [] : [ml, ul, Wl, jl, vl], u = [].concat(l, [cl, pl, bl, Il, Ml, Nl, Dl, Ol, Cl, Sl]), c = [jo, $o, Go, al, Ko, Ul, zl, $l, Zo];
|
|
13298
|
+
this.plugins = [ql, zo].concat(ye(u), c, [ar, Zl]);
|
|
13301
13299
|
var h = n ? "mobile" : U.device;
|
|
13302
13300
|
switch (h) {
|
|
13303
13301
|
case "pc":
|
|
13304
|
-
(t = this.plugins).push.apply(t, [vn, Qt, yn,
|
|
13302
|
+
(t = this.plugins).push.apply(t, [vn, Qt, yn, Jl, Ql]);
|
|
13305
13303
|
break;
|
|
13306
13304
|
case "mobile":
|
|
13307
|
-
(e = this.plugins).push.apply(e, [
|
|
13305
|
+
(e = this.plugins).push.apply(e, [nl]);
|
|
13308
13306
|
break;
|
|
13309
13307
|
default:
|
|
13310
13308
|
(i = this.plugins).push.apply(i, [vn, Qt, yn]);
|
|
13311
13309
|
}
|
|
13312
|
-
(U.os.isIpad || h === "pc") && this.plugins.push(
|
|
13310
|
+
(U.os.isIpad || h === "pc") && this.plugins.push(Yl), U.os.isIpad && this.plugins.push(Qt), this.ignores = [], this.i18n = [];
|
|
13313
13311
|
}), _e = /* @__PURE__ */ function(o) {
|
|
13314
13312
|
F(r, o);
|
|
13315
13313
|
var a = M(r);
|
|
@@ -13318,20 +13316,20 @@ var tu = /* @__PURE__ */ A(function o(a, r) {
|
|
|
13318
13316
|
}
|
|
13319
13317
|
return A(r);
|
|
13320
13318
|
}(Ht);
|
|
13321
|
-
_(_e, "defaultPreset",
|
|
13319
|
+
_(_e, "defaultPreset", eu);
|
|
13322
13320
|
_(_e, "Util", f);
|
|
13323
13321
|
_(_e, "Sniffer", U);
|
|
13324
|
-
_(_e, "Errors",
|
|
13325
|
-
_(_e, "Events",
|
|
13322
|
+
_(_e, "Errors", Tt);
|
|
13323
|
+
_(_e, "Events", po);
|
|
13326
13324
|
_(_e, "Plugin", W);
|
|
13327
13325
|
_(_e, "BasePlugin", He);
|
|
13328
13326
|
_(_e, "I18N", at);
|
|
13329
13327
|
_(_e, "STATE_CLASS", T);
|
|
13330
13328
|
_(_e, "InstManager", ir);
|
|
13331
|
-
const
|
|
13329
|
+
const tu = ["id"], iu = /* @__PURE__ */ ee({
|
|
13332
13330
|
name: "ElImageViewer",
|
|
13333
13331
|
__name: "Player",
|
|
13334
|
-
props: /* @__PURE__ */
|
|
13332
|
+
props: /* @__PURE__ */ bt({
|
|
13335
13333
|
url: {
|
|
13336
13334
|
type: String,
|
|
13337
13335
|
default: ""
|
|
@@ -13352,7 +13350,7 @@ const iu = ["id"], nu = /* @__PURE__ */ ee({
|
|
|
13352
13350
|
},
|
|
13353
13351
|
modelModifiers: {}
|
|
13354
13352
|
}),
|
|
13355
|
-
emits: /* @__PURE__ */
|
|
13353
|
+
emits: /* @__PURE__ */ bt({
|
|
13356
13354
|
close: () => !0
|
|
13357
13355
|
}, ["update:modelValue"]),
|
|
13358
13356
|
setup(o, { emit: a }) {
|
|
@@ -13426,7 +13424,7 @@ const iu = ["id"], nu = /* @__PURE__ */ ee({
|
|
|
13426
13424
|
class: K(x(h).e("canvas"))
|
|
13427
13425
|
},
|
|
13428
13426
|
[
|
|
13429
|
-
b("div", { id: x(c) }, null, 8,
|
|
13427
|
+
b("div", { id: x(c) }, null, 8, tu),
|
|
13430
13428
|
L(" CLOSE "),
|
|
13431
13429
|
b(
|
|
13432
13430
|
"span",
|
|
@@ -13463,13 +13461,13 @@ const iu = ["id"], nu = /* @__PURE__ */ ee({
|
|
|
13463
13461
|
};
|
|
13464
13462
|
}
|
|
13465
13463
|
});
|
|
13466
|
-
const
|
|
13464
|
+
const nu = /* @__PURE__ */ Rt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(nu), Ii = (o) => (vr("data-v-48f27627"), o = o(), mr(), o), su = {
|
|
13467
13465
|
class: "approveProcess",
|
|
13468
13466
|
id: "approveProcess"
|
|
13469
|
-
},
|
|
13467
|
+
}, au = ["id"], ou = { class: "topBlock" }, lu = { class: "left" }, uu = { class: "nodeBg" }, cu = ["src"], fu = { class: "right" }, hu = { class: "topInfo" }, du = { key: 0 }, gu = {
|
|
13470
13468
|
key: 0,
|
|
13471
13469
|
class: "main-text"
|
|
13472
|
-
},
|
|
13470
|
+
}, pu = { class: "name" }, vu = { key: 0 }, mu = { key: 0 }, yu = { key: 1 }, _u = /* @__PURE__ */ Ii(() => /* @__PURE__ */ b(
|
|
13473
13471
|
"span",
|
|
13474
13472
|
{
|
|
13475
13473
|
class: "red",
|
|
@@ -13478,52 +13476,52 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
|
|
|
13478
13476
|
" 退回至",
|
|
13479
13477
|
-1
|
|
13480
13478
|
/* HOISTED */
|
|
13481
|
-
)),
|
|
13479
|
+
)), ku = { key: 0 }, Cu = { key: 0 }, wu = { key: 1 }, bu = { key: 1 }, Tu = /* @__PURE__ */ Ii(() => /* @__PURE__ */ b(
|
|
13482
13480
|
"div",
|
|
13483
13481
|
{ class: "main-text" },
|
|
13484
13482
|
"抄送人员",
|
|
13485
13483
|
-1
|
|
13486
13484
|
/* HOISTED */
|
|
13487
|
-
)),
|
|
13485
|
+
)), Eu = { class: "name" }, Su = { key: 0 }, xu = { style: { color: "#000" } }, Iu = {
|
|
13488
13486
|
class: "blue",
|
|
13489
13487
|
style: { "margin-left": "5px", "font-size": "12px" }
|
|
13490
|
-
},
|
|
13488
|
+
}, Pu = { key: 1 }, Au = {
|
|
13491
13489
|
key: 0,
|
|
13492
13490
|
class: "blue",
|
|
13493
13491
|
style: { "font-size": "12px" }
|
|
13494
|
-
},
|
|
13492
|
+
}, Lu = { key: 1 }, Du = {
|
|
13495
13493
|
key: 0,
|
|
13496
13494
|
class: "blue",
|
|
13497
13495
|
style: { "font-size": "12px" }
|
|
13498
|
-
},
|
|
13496
|
+
}, Ou = {
|
|
13499
13497
|
key: 1,
|
|
13500
13498
|
class: "blue",
|
|
13501
13499
|
style: { "font-size": "12px" }
|
|
13502
|
-
},
|
|
13500
|
+
}, Ru = { class: "time" }, Fu = { key: 0 }, Mu = { key: 1 }, Nu = ["onClick"], Bu = ["onClick"], Hu = {
|
|
13503
13501
|
key: 0,
|
|
13504
13502
|
class: "opinion"
|
|
13505
|
-
},
|
|
13503
|
+
}, Uu = { key: 0 }, zu = { key: 1 }, Vu = /* @__PURE__ */ Ii(() => /* @__PURE__ */ b(
|
|
13506
13504
|
"span",
|
|
13507
13505
|
{ class: "ik-text-primary" },
|
|
13508
13506
|
"添加审批人",
|
|
13509
13507
|
-1
|
|
13510
13508
|
/* HOISTED */
|
|
13511
|
-
)),
|
|
13509
|
+
)), ju = { style: { color: "var(--el-text-color-primary)", "margin-left": "8px" } }, $u = {
|
|
13512
13510
|
key: 2,
|
|
13513
13511
|
class: "annexImage"
|
|
13514
|
-
},
|
|
13512
|
+
}, Wu = {
|
|
13515
13513
|
key: 3,
|
|
13516
13514
|
class: "approveList"
|
|
13517
|
-
},
|
|
13515
|
+
}, Gu = { class: "nodeBg-list" }, Ku = ["src"], Yu = { key: 1 }, Xu = {
|
|
13518
13516
|
key: 2,
|
|
13519
13517
|
class: "ikapprove ikapprove-duihao2 green read"
|
|
13520
|
-
},
|
|
13518
|
+
}, qu = ["title"], Zu = {
|
|
13521
13519
|
key: 0,
|
|
13522
13520
|
class: "branch"
|
|
13523
|
-
},
|
|
13521
|
+
}, Ju = { class: "branch-card" }, Qu = { class: "branch-name" }, ec = {
|
|
13524
13522
|
name: "IkingApprovalProcessDetail"
|
|
13525
|
-
},
|
|
13526
|
-
...
|
|
13523
|
+
}, tc = /* @__PURE__ */ ee({
|
|
13524
|
+
...ec,
|
|
13527
13525
|
props: {
|
|
13528
13526
|
// 是否本地打开
|
|
13529
13527
|
local: {
|
|
@@ -13658,7 +13656,7 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
|
|
|
13658
13656
|
}, u = (c) => lt(t.value, c);
|
|
13659
13657
|
return (c, h) => {
|
|
13660
13658
|
const g = Ke("el-image"), p = Ke("IkingApprovalProcessDetail");
|
|
13661
|
-
return k(), S("div",
|
|
13659
|
+
return k(), S("div", su, [
|
|
13662
13660
|
(k(!0), S(
|
|
13663
13661
|
ce,
|
|
13664
13662
|
null,
|
|
@@ -13669,9 +13667,9 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
|
|
|
13669
13667
|
id: d[e.defaultFile.nodeId],
|
|
13670
13668
|
key: d[e.defaultFile.nodeId]
|
|
13671
13669
|
}, [
|
|
13672
|
-
b("div",
|
|
13673
|
-
b("div",
|
|
13674
|
-
b("span",
|
|
13670
|
+
b("div", ou, [
|
|
13671
|
+
b("div", lu, [
|
|
13672
|
+
b("span", uu, [
|
|
13675
13673
|
L(' 用户列表长度等于1, :src="formatUrl(it)"并且存在头像 '),
|
|
13676
13674
|
((m = d[e.defaultFile.approvePersonList]) == null ? void 0 : m.length) == 1 && d[e.defaultFile.approvePersonList][0].userAvatar ? (k(), S("img", {
|
|
13677
13675
|
key: 0,
|
|
@@ -13680,7 +13678,7 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
|
|
|
13680
13678
|
d[e.defaultFile.approvePersonList][0].userAvatar
|
|
13681
13679
|
),
|
|
13682
13680
|
alt: ""
|
|
13683
|
-
}, null, 8,
|
|
13681
|
+
}, null, 8, cu)) : (k(), S(
|
|
13684
13682
|
ce,
|
|
13685
13683
|
{ key: 1 },
|
|
13686
13684
|
[
|
|
@@ -13718,23 +13716,23 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
|
|
|
13718
13716
|
)
|
|
13719
13717
|
])
|
|
13720
13718
|
]),
|
|
13721
|
-
b("div",
|
|
13722
|
-
b("div",
|
|
13719
|
+
b("div", fu, [
|
|
13720
|
+
b("div", hu, [
|
|
13723
13721
|
b("div", null, [
|
|
13724
13722
|
L(" 不是抄送节点 "),
|
|
13725
|
-
e.nodeType.抄送节点 !== d[e.defaultFile.nodeType] ? (k(), S("div",
|
|
13723
|
+
e.nodeType.抄送节点 !== d[e.defaultFile.nodeType] ? (k(), S("div", du, [
|
|
13726
13724
|
L(" 撤销,评论不显示节点名称 "),
|
|
13727
13725
|
d[e.defaultFile.approveStatus] != e.statusOption.撤销 && d[e.defaultFile.approveStatus] != e.statusOption.评论 && d[e.defaultFile.nodeType] !== e.nodeType.并行分支 ? (k(), S(
|
|
13728
13726
|
"div",
|
|
13729
|
-
|
|
13727
|
+
gu,
|
|
13730
13728
|
X(d[e.defaultFile.nodeTypeName]),
|
|
13731
13729
|
1
|
|
13732
13730
|
/* TEXT */
|
|
13733
13731
|
)) : L("v-if", !0),
|
|
13734
13732
|
L(" 名字+审批状态 "),
|
|
13735
|
-
b("div",
|
|
13733
|
+
b("div", pu, [
|
|
13736
13734
|
L(" 已审批节点文本 "),
|
|
13737
|
-
d[e.defaultFile.lineType] == "solid" ? (k(), S("div",
|
|
13735
|
+
d[e.defaultFile.lineType] == "solid" ? (k(), S("div", vu, [
|
|
13738
13736
|
b(
|
|
13739
13737
|
"span",
|
|
13740
13738
|
{
|
|
@@ -13749,14 +13747,14 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
|
|
|
13749
13747
|
L(" 发起,退回不显示状态 "),
|
|
13750
13748
|
d[e.defaultFile.approveStatusName] && d[e.defaultFile.approveStatus] != e.statusOption.发起 && d[e.defaultFile.approveStatus] != e.statusOption.退回 ? (k(), S(
|
|
13751
13749
|
"span",
|
|
13752
|
-
|
|
13750
|
+
mu,
|
|
13753
13751
|
X(d[e.defaultFile.approveStatus] == e.statusOption.评论 ? " 添加了评论" : d != null && d.nodeActionAliasName ? `(已${d.nodeActionAliasName})` : `(${d[e.defaultFile.approveStatusName]})`),
|
|
13754
13752
|
1
|
|
13755
13753
|
/* TEXT */
|
|
13756
13754
|
)) : L("v-if", !0),
|
|
13757
13755
|
L(" 退回状态显示 "),
|
|
13758
|
-
d[e.defaultFile.approveStatus] == e.statusOption.退回 ? (k(), S("span",
|
|
13759
|
-
|
|
13756
|
+
d[e.defaultFile.approveStatus] == e.statusOption.退回 ? (k(), S("span", yu, [
|
|
13757
|
+
_u,
|
|
13760
13758
|
We(
|
|
13761
13759
|
" " + X(d[e.defaultFile.backToInstanceNodeName] || d[e.defaultFile.backToRecordNodeName]),
|
|
13762
13760
|
1
|
|
@@ -13769,7 +13767,7 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
|
|
|
13769
13767
|
[
|
|
13770
13768
|
L(" 待审批节点 "),
|
|
13771
13769
|
b("div", null, [
|
|
13772
|
-
((C = d[e.defaultFile.approvePersonList]) == null ? void 0 : C.length) == 1 ? (k(), S("span",
|
|
13770
|
+
((C = d[e.defaultFile.approvePersonList]) == null ? void 0 : C.length) == 1 ? (k(), S("span", ku, [
|
|
13773
13771
|
We(
|
|
13774
13772
|
X(d[e.defaultFile.originator]) + " ",
|
|
13775
13773
|
1
|
|
@@ -13777,14 +13775,14 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
|
|
|
13777
13775
|
),
|
|
13778
13776
|
d[e.defaultFile.approveStatus] == e.statusOption.等待 ? (k(), S(
|
|
13779
13777
|
"span",
|
|
13780
|
-
|
|
13778
|
+
Cu,
|
|
13781
13779
|
X(d != null && d.nodeActionAliasName ? `(已${d.nodeActionAliasName})` : `(${d[e.defaultFile.approveStatusName]})`),
|
|
13782
13780
|
1
|
|
13783
13781
|
/* TEXT */
|
|
13784
13782
|
)) : L("v-if", !0)
|
|
13785
13783
|
])) : d[e.defaultFile.approvePersonList] ? (k(), S(
|
|
13786
13784
|
"span",
|
|
13787
|
-
|
|
13785
|
+
wu,
|
|
13788
13786
|
X(`${(E = d[e.defaultFile.approvePersonList]) == null ? void 0 : E.length}人${d[e.defaultFile.approveTypeName]}`),
|
|
13789
13787
|
1
|
|
13790
13788
|
/* TEXT */
|
|
@@ -13795,16 +13793,16 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
|
|
|
13795
13793
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
13796
13794
|
))
|
|
13797
13795
|
])
|
|
13798
|
-
])) : (k(), S("div",
|
|
13799
|
-
|
|
13800
|
-
b("div",
|
|
13796
|
+
])) : (k(), S("div", bu, [
|
|
13797
|
+
Tu,
|
|
13798
|
+
b("div", Eu, [
|
|
13801
13799
|
L(" 抄送一人时 "),
|
|
13802
|
-
((w = d[e.defaultFile.approvePersonList]) == null ? void 0 : w.length) == 1 ? (k(), S("span",
|
|
13800
|
+
((w = d[e.defaultFile.approvePersonList]) == null ? void 0 : w.length) == 1 ? (k(), S("span", Su, [
|
|
13803
13801
|
b("span", null, [
|
|
13804
13802
|
We("已抄送给 "),
|
|
13805
13803
|
b(
|
|
13806
13804
|
"span",
|
|
13807
|
-
|
|
13805
|
+
xu,
|
|
13808
13806
|
X(d[e.defaultFile.approvePersonList][0].userName),
|
|
13809
13807
|
1
|
|
13810
13808
|
/* TEXT */
|
|
@@ -13812,24 +13810,24 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
|
|
|
13812
13810
|
]),
|
|
13813
13811
|
b(
|
|
13814
13812
|
"span",
|
|
13815
|
-
|
|
13813
|
+
Iu,
|
|
13816
13814
|
X(d[e.defaultFile.approvePersonList][0].status === "END" ? "已读" : "未读"),
|
|
13817
13815
|
1
|
|
13818
13816
|
/* TEXT */
|
|
13819
13817
|
)
|
|
13820
13818
|
])) : L("v-if", !0),
|
|
13821
13819
|
L(" 抄送多人时 "),
|
|
13822
|
-
((D = d[e.defaultFile.approvePersonList]) == null ? void 0 : D.length) > 1 ? (k(), S("span",
|
|
13820
|
+
((D = d[e.defaultFile.approvePersonList]) == null ? void 0 : D.length) > 1 ? (k(), S("span", Pu, [
|
|
13823
13821
|
We(
|
|
13824
13822
|
X(`已抄送${(O = d[e.defaultFile.approvePersonList]) == null ? void 0 : O.length}人`) + " ",
|
|
13825
13823
|
1
|
|
13826
13824
|
/* TEXT */
|
|
13827
13825
|
),
|
|
13828
|
-
d[e.defaultFile.allRead] ? (k(), S("span",
|
|
13829
|
-
d[e.defaultFile.read] ? L("v-if", !0) : (k(), S("span",
|
|
13826
|
+
d[e.defaultFile.allRead] ? (k(), S("span", Au, " 全部已读 ")) : (k(), S("span", Lu, [
|
|
13827
|
+
d[e.defaultFile.read] ? L("v-if", !0) : (k(), S("span", Du, " 全部未读 ")),
|
|
13830
13828
|
d[e.defaultFile.read] ? (k(), S(
|
|
13831
13829
|
"span",
|
|
13832
|
-
|
|
13830
|
+
Ou,
|
|
13833
13831
|
X(d[e.defaultFile.read]) + "人已读 ",
|
|
13834
13832
|
1
|
|
13835
13833
|
/* TEXT */
|
|
@@ -13839,11 +13837,11 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
|
|
|
13839
13837
|
])
|
|
13840
13838
|
]))
|
|
13841
13839
|
]),
|
|
13842
|
-
b("div",
|
|
13840
|
+
b("div", Ru, [
|
|
13843
13841
|
L(" 不是抄送节点,展示时间 "),
|
|
13844
13842
|
d[e.defaultFile.nodeType] != e.nodeType.抄送节点 && d[e.defaultFile.approveStatus] !== e.statusOption.等待 ? (k(), S(
|
|
13845
13843
|
"span",
|
|
13846
|
-
|
|
13844
|
+
Fu,
|
|
13847
13845
|
X(x(kr).toDateTime(
|
|
13848
13846
|
d[e.defaultFile.operationTime],
|
|
13849
13847
|
"MM/DD HH:mm"
|
|
@@ -13852,16 +13850,16 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
|
|
|
13852
13850
|
/* TEXT */
|
|
13853
13851
|
)) : L("v-if", !0),
|
|
13854
13852
|
L(" 是抄送节点,并且抄送人员大于1时,展示图标 "),
|
|
13855
|
-
d[e.defaultFile.nodeType] == e.nodeType.抄送节点 && ((z = d[e.defaultFile.approvePersonList]) == null ? void 0 : z.length) > 1 ? (k(), S("span",
|
|
13853
|
+
d[e.defaultFile.nodeType] == e.nodeType.抄送节点 && ((z = d[e.defaultFile.approvePersonList]) == null ? void 0 : z.length) > 1 ? (k(), S("span", Mu, [
|
|
13856
13854
|
d != null && d.show ? (k(), S("i", {
|
|
13857
13855
|
key: 0,
|
|
13858
13856
|
class: "ikapprove ikapprove-a-putongjiantouzhankai",
|
|
13859
13857
|
onClick: (I) => l(d, "grid")
|
|
13860
|
-
}, null, 8,
|
|
13858
|
+
}, null, 8, Nu)) : (k(), S("i", {
|
|
13861
13859
|
key: 1,
|
|
13862
13860
|
onClick: (I) => l(d, "none"),
|
|
13863
13861
|
class: "ikapprove ikapprove-a-putongjiantoushouqi"
|
|
13864
|
-
}, null, 8,
|
|
13862
|
+
}, null, 8, Bu))
|
|
13865
13863
|
])) : L("v-if", !0)
|
|
13866
13864
|
])
|
|
13867
13865
|
])
|
|
@@ -13877,22 +13875,22 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
|
|
|
13877
13875
|
},
|
|
13878
13876
|
[
|
|
13879
13877
|
L(" 审批意见 "),
|
|
13880
|
-
d[e.defaultFile.approveOpinion] || d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), S("div",
|
|
13878
|
+
d[e.defaultFile.approveOpinion] || d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), S("div", Hu, [
|
|
13881
13879
|
d[e.defaultFile.approveOpinion] ? (k(), S(
|
|
13882
13880
|
"span",
|
|
13883
|
-
|
|
13881
|
+
Uu,
|
|
13884
13882
|
X(d[e.defaultFile.approveOpinion]),
|
|
13885
13883
|
1
|
|
13886
13884
|
/* TEXT */
|
|
13887
13885
|
)) : L("v-if", !0),
|
|
13888
|
-
d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), S("span",
|
|
13889
|
-
|
|
13886
|
+
d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), S("span", zu, [
|
|
13887
|
+
Vu,
|
|
13890
13888
|
(k(!0), S(
|
|
13891
13889
|
ce,
|
|
13892
13890
|
null,
|
|
13893
13891
|
Me(d[e.defaultFile.countersignPer], (I, ie) => (k(), S(
|
|
13894
13892
|
"span",
|
|
13895
|
-
|
|
13893
|
+
ju,
|
|
13896
13894
|
X(I == null ? void 0 : I.userName) + X(ie < d[e.defaultFile.countersignPer].length - 1 ? "、" : ""),
|
|
13897
13895
|
1
|
|
13898
13896
|
/* TEXT */
|
|
@@ -13908,7 +13906,7 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
|
|
|
13908
13906
|
list: d[e.defaultFile.attachment]
|
|
13909
13907
|
}, null, 8, ["list"])) : L("v-if", !0),
|
|
13910
13908
|
L(" 附件图片 "),
|
|
13911
|
-
(te = d[e.defaultFile.attachmentImg]) != null && te.length ? (k(), S("div",
|
|
13909
|
+
(te = d[e.defaultFile.attachmentImg]) != null && te.length ? (k(), S("div", $u, [
|
|
13912
13910
|
(k(!0), S(
|
|
13913
13911
|
ce,
|
|
13914
13912
|
null,
|
|
@@ -13930,7 +13928,7 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
|
|
|
13930
13928
|
))
|
|
13931
13929
|
])) : L("v-if", !0),
|
|
13932
13930
|
L(" 抄送节点或是等待审批状态并且列表长度大于1 "),
|
|
13933
|
-
(d[e.defaultFile.nodeType] == e.nodeType.抄送节点 || d[e.defaultFile.approveStatus] == e.statusOption.等待) && ((q = d[e.defaultFile.approvePersonList]) == null ? void 0 : q.length) > 1 ? (k(), S("div",
|
|
13931
|
+
(d[e.defaultFile.nodeType] == e.nodeType.抄送节点 || d[e.defaultFile.approveStatus] == e.statusOption.等待) && ((q = d[e.defaultFile.approvePersonList]) == null ? void 0 : q.length) > 1 ? (k(), S("div", Wu, [
|
|
13934
13932
|
(k(!0), S(
|
|
13935
13933
|
ce,
|
|
13936
13934
|
null,
|
|
@@ -13938,25 +13936,25 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
|
|
|
13938
13936
|
class: "perBlock",
|
|
13939
13937
|
key: I.userName
|
|
13940
13938
|
}, [
|
|
13941
|
-
b("span",
|
|
13939
|
+
b("span", Gu, [
|
|
13942
13940
|
I.userAvatar ? (k(), S("img", {
|
|
13943
13941
|
key: 0,
|
|
13944
13942
|
style: { width: "100%", height: "100%", "border-radius": "50%" },
|
|
13945
13943
|
src: u(I.userAvatar),
|
|
13946
13944
|
alt: ""
|
|
13947
|
-
}, null, 8,
|
|
13945
|
+
}, null, 8, Ku)) : (k(), S(
|
|
13948
13946
|
"span",
|
|
13949
|
-
|
|
13947
|
+
Yu,
|
|
13950
13948
|
X(I.userName.slice(-2)),
|
|
13951
13949
|
1
|
|
13952
13950
|
/* TEXT */
|
|
13953
13951
|
)),
|
|
13954
|
-
I.status === "END" ? (k(), S("i",
|
|
13952
|
+
I.status === "END" ? (k(), S("i", Xu)) : L("v-if", !0)
|
|
13955
13953
|
]),
|
|
13956
13954
|
b("div", {
|
|
13957
13955
|
class: "main-text",
|
|
13958
13956
|
title: I.userName
|
|
13959
|
-
}, X(I.userName), 9,
|
|
13957
|
+
}, X(I.userName), 9, qu)
|
|
13960
13958
|
]))),
|
|
13961
13959
|
128
|
|
13962
13960
|
/* KEYED_FRAGMENT */
|
|
@@ -13966,14 +13964,14 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
|
|
|
13966
13964
|
4
|
|
13967
13965
|
/* STYLE */
|
|
13968
13966
|
),
|
|
13969
|
-
d[e.defaultFile.nodeType] === e.nodeType.并行分支 ? (k(), S("div",
|
|
13967
|
+
d[e.defaultFile.nodeType] === e.nodeType.并行分支 ? (k(), S("div", Zu, [
|
|
13970
13968
|
(k(!0), S(
|
|
13971
13969
|
ce,
|
|
13972
13970
|
null,
|
|
13973
|
-
Me(d[e.defaultFile.parallelInstances], (I) => (k(), S("div",
|
|
13971
|
+
Me(d[e.defaultFile.parallelInstances], (I) => (k(), S("div", Ju, [
|
|
13974
13972
|
b(
|
|
13975
13973
|
"div",
|
|
13976
|
-
|
|
13974
|
+
Qu,
|
|
13977
13975
|
X(I.name),
|
|
13978
13976
|
1
|
|
13979
13977
|
/* TEXT */
|
|
@@ -13986,7 +13984,7 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
|
|
|
13986
13984
|
/* UNKEYED_FRAGMENT */
|
|
13987
13985
|
))
|
|
13988
13986
|
])) : L("v-if", !0)
|
|
13989
|
-
], 8,
|
|
13987
|
+
], 8, au);
|
|
13990
13988
|
}),
|
|
13991
13989
|
128
|
|
13992
13990
|
/* KEYED_FRAGMENT */
|
|
@@ -13995,8 +13993,8 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
|
|
|
13995
13993
|
};
|
|
13996
13994
|
}
|
|
13997
13995
|
});
|
|
13998
|
-
const
|
|
13996
|
+
const ic = /* @__PURE__ */ Rt(tc, [["__scopeId", "data-v-48f27627"]]), ac = Ae(ic);
|
|
13999
13997
|
export {
|
|
14000
|
-
|
|
14001
|
-
|
|
13998
|
+
ac as IKApprovalProcessDetail,
|
|
13999
|
+
ac as default
|
|
14002
14000
|
};
|