iking-web-ui-pro 0.2.44 → 0.2.45

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