iking-web-ui-pro 0.2.34 → 0.2.36

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 (39) hide show
  1. package/dist/IKPreviewFile/ik.index.es.js +612 -605
  2. package/dist/IKPreviewFile/ik.index.umd.js +46 -46
  3. package/dist/IKSearch/ik.index.es.js +623 -623
  4. package/dist/IKSearch/ik.index.umd.js +2 -2
  5. package/dist/IKSearch/style.css +1 -1
  6. package/dist/IkApprovalProcess/ik.index.es.js +463 -463
  7. package/dist/IkApprovalProcess/ik.index.umd.js +1 -1
  8. package/dist/IkApprovalProcess/style.css +1 -1
  9. package/dist/IkApprovalProcessDetail/ik.index.es.js +683 -676
  10. package/dist/IkApprovalProcessDetail/ik.index.umd.js +46 -46
  11. package/dist/IkCalendar/ik.index.es.js +1583 -1583
  12. package/dist/IkCalendar/ik.index.umd.js +1 -1
  13. package/dist/IkCalendar/style.css +1 -1
  14. package/dist/IkDescription/ik.index.es.js +835 -852
  15. package/dist/IkDescription/ik.index.umd.js +46 -46
  16. package/dist/IkDescription/style.css +1 -1
  17. package/dist/IkDetailPreviewFiles/ik.index.es.js +864 -857
  18. package/dist/IkDetailPreviewFiles/ik.index.umd.js +46 -46
  19. package/dist/IkPageFull/ik.index.es.js +689 -689
  20. package/dist/IkPageFull/ik.index.umd.js +3 -3
  21. package/dist/IkPageFull/style.css +1 -1
  22. package/dist/IkPickerUser/ik.index.es.js +317 -317
  23. package/dist/IkPickerUser/ik.index.umd.js +1 -1
  24. package/dist/IkPickerUser/style.css +1 -1
  25. package/dist/IkPlayer/ik.index.es.js +342 -339
  26. package/dist/IkPlayer/ik.index.umd.js +45 -45
  27. package/dist/IkPreviewFileDialog/ik.index.es.js +509 -506
  28. package/dist/IkPreviewFileDialog/ik.index.umd.js +46 -46
  29. package/dist/IkUploadFile/ik.index.es.js +1719 -1718
  30. package/dist/IkUploadFile/ik.index.umd.js +56 -56
  31. package/dist/IkUploadFile/style.css +1 -1
  32. package/dist/IkUploadImage/ik.index.es.js +273 -270
  33. package/dist/IkUploadImage/ik.index.umd.js +1 -1
  34. package/dist/index.es.js +13879 -13901
  35. package/dist/index.umd.js +106 -106
  36. package/dist/src/components/IkDescription/index.d.ts +0 -76
  37. package/dist/src/components/IkDescription/src/IkDescription.vue.d.ts +0 -36
  38. package/dist/style.css +1 -1
  39. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
- import { defineComponent as yi, openBlock as _i, createElementBlock as qi, createElementVNode as Ae, inject as Oe, computed as _e, mergeModels as Vt, useModel as Zi, watch as Ji, nextTick as Qi, resolveComponent as en, createBlock as tn, Teleport as nn, createVNode as at, Transition as rn, withCtx as jt, normalizeClass as Ue, unref as ve, normalizeStyle as sn, createCommentVNode as ot, renderSlot as an } from "vue";
2
- import { buildUUID as on } from "iking-utils-pro";
3
- import { useNamespace as un } from "element-plus";
4
- const ln = (o, a) => {
1
+ import { defineComponent as _i, openBlock as Ci, createElementBlock as Zi, createElementVNode as Ae, inject as Oe, computed as _e, mergeModels as Vt, useModel as Ji, watch as Qi, nextTick as en, resolveComponent as tn, createBlock as nn, Teleport as rn, createVNode as at, Transition as sn, withCtx as jt, normalizeClass as Ue, unref as ve, normalizeStyle as an, createCommentVNode as ot, renderSlot as on } from "vue";
2
+ import { buildUUID as un } from "iking-utils-pro";
3
+ import { useNamespace as ln } from "element-plus";
4
+ const cn = (o, a) => {
5
5
  if (o.install = (r) => {
6
6
  for (const t of [o, ...Object.values(a ?? {})])
7
7
  r.component(t.name, t);
@@ -11,11 +11,11 @@ const ln = (o, a) => {
11
11
  return o;
12
12
  };
13
13
  /*! Element Plus Icons Vue v2.3.1 */
14
- var cn = /* @__PURE__ */ yi({
14
+ var fn = /* @__PURE__ */ _i({
15
15
  name: "Close",
16
16
  __name: "close",
17
17
  setup(o) {
18
- return (a, r) => (_i(), qi("svg", {
18
+ return (a, r) => (Ci(), Zi("svg", {
19
19
  xmlns: "http://www.w3.org/2000/svg",
20
20
  viewBox: "0 0 1024 1024"
21
21
  }, [
@@ -25,7 +25,7 @@ var cn = /* @__PURE__ */ yi({
25
25
  })
26
26
  ]));
27
27
  }
28
- }), fn = cn;
28
+ }), hn = fn;
29
29
  function Gt(o, a) {
30
30
  var r = Object.keys(o);
31
31
  if (Object.getOwnPropertySymbols) {
@@ -62,7 +62,7 @@ function E(o, a) {
62
62
  function Wt(o, a) {
63
63
  for (var r = 0; r < a.length; r++) {
64
64
  var t = a[r];
65
- t.enumerable = t.enumerable || !1, t.configurable = !0, "value" in t && (t.writable = !0), Object.defineProperty(o, Ci(t.key), t);
65
+ t.enumerable = t.enumerable || !1, t.configurable = !0, "value" in t && (t.writable = !0), Object.defineProperty(o, ki(t.key), t);
66
66
  }
67
67
  }
68
68
  function S(o, a, r) {
@@ -71,7 +71,7 @@ function S(o, a, r) {
71
71
  }), o;
72
72
  }
73
73
  function y(o, a, r) {
74
- return a = Ci(a), a in o ? Object.defineProperty(o, a, {
74
+ return a = ki(a), a in o ? Object.defineProperty(o, a, {
75
75
  value: r,
76
76
  enumerable: !0,
77
77
  configurable: !0,
@@ -101,7 +101,7 @@ function Tt(o, a) {
101
101
  return t.__proto__ = e, t;
102
102
  }, Tt(o, a);
103
103
  }
104
- function hn() {
104
+ function dn() {
105
105
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
106
106
  return !1;
107
107
  if (typeof Proxy == "function")
@@ -126,7 +126,7 @@ function Pt(o, a) {
126
126
  return v(o);
127
127
  }
128
128
  function x(o) {
129
- var a = hn();
129
+ var a = dn();
130
130
  return function() {
131
131
  var t = P(o), e;
132
132
  if (a) {
@@ -137,14 +137,14 @@ function x(o) {
137
137
  return Pt(this, e);
138
138
  };
139
139
  }
140
- function dn(o, a) {
140
+ function gn(o, a) {
141
141
  for (; !Object.prototype.hasOwnProperty.call(o, a) && (o = P(o), o !== null); )
142
142
  ;
143
143
  return o;
144
144
  }
145
145
  function I() {
146
146
  return typeof Reflect < "u" && Reflect.get ? I = Reflect.get.bind() : I = function(a, r, t) {
147
- var e = dn(a, r);
147
+ var e = gn(a, r);
148
148
  if (e) {
149
149
  var i = Object.getOwnPropertyDescriptor(e, r);
150
150
  return i.get ? i.get.call(arguments.length < 3 ? a : t) : i.value;
@@ -152,17 +152,17 @@ function I() {
152
152
  }, I.apply(this, arguments);
153
153
  }
154
154
  function Q(o) {
155
- return gn(o) || pn(o) || vn(o) || mn();
155
+ return pn(o) || vn(o) || mn(o) || yn();
156
156
  }
157
- function gn(o) {
157
+ function pn(o) {
158
158
  if (Array.isArray(o))
159
159
  return bt(o);
160
160
  }
161
- function pn(o) {
161
+ function vn(o) {
162
162
  if (typeof Symbol < "u" && o[Symbol.iterator] != null || o["@@iterator"] != null)
163
163
  return Array.from(o);
164
164
  }
165
- function vn(o, a) {
165
+ function mn(o, a) {
166
166
  if (o) {
167
167
  if (typeof o == "string")
168
168
  return bt(o, a);
@@ -179,11 +179,11 @@ function bt(o, a) {
179
179
  t[r] = o[r];
180
180
  return t;
181
181
  }
182
- function mn() {
182
+ function yn() {
183
183
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
184
184
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
185
185
  }
186
- function yn(o, a) {
186
+ function _n(o, a) {
187
187
  if (typeof o != "object" || o === null)
188
188
  return o;
189
189
  var r = o[Symbol.toPrimitive];
@@ -195,15 +195,15 @@ function yn(o, a) {
195
195
  }
196
196
  return (a === "string" ? String : Number)(o);
197
197
  }
198
- function Ci(o) {
199
- var a = yn(o, "string");
198
+ function ki(o) {
199
+ var a = _n(o, "string");
200
200
  return typeof a == "symbol" ? a : String(a);
201
201
  }
202
- var _n = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
202
+ var Cn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
203
203
  function It(o) {
204
204
  return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
205
205
  }
206
- var ki = { exports: {} };
206
+ var Ti = { exports: {} };
207
207
  (function(o) {
208
208
  var a = Object.prototype.hasOwnProperty, r = "~";
209
209
  function t() {
@@ -313,16 +313,16 @@ var ki = { exports: {} };
313
313
  var f;
314
314
  return l ? (f = r ? r + l : l, this._events[f] && n(this, f)) : (this._events = new t(), this._eventsCount = 0), this;
315
315
  }, s.prototype.off = s.prototype.removeListener, s.prototype.addListener = s.prototype.on, s.prefixed = r, s.EventEmitter = s, o.exports = s;
316
- })(ki);
317
- var Ti = ki.exports;
318
- const bi = /* @__PURE__ */ It(Ti);
319
- var Cn = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, ut = {
316
+ })(Ti);
317
+ var bi = Ti.exports;
318
+ const Ei = /* @__PURE__ */ It(bi);
319
+ var kn = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, ut = {
320
320
  info: "color: #525252; background-color: #90ee90;",
321
321
  error: "color: #525252; background-color: red;",
322
322
  warn: "color: #525252; background-color: yellow; "
323
323
  }, lt = "%c[xgplayer]", D = {
324
324
  config: {
325
- debug: Cn ? 3 : 0
325
+ debug: kn ? 3 : 0
326
326
  },
327
327
  logInfo: function(a) {
328
328
  for (var r, t = arguments.length, e = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
@@ -343,10 +343,10 @@ var Cn = typeof window < "u" && window.location && window.location.href.indexOf(
343
343
  }
344
344
  }
345
345
  };
346
- function kn(o) {
346
+ function Tn(o) {
347
347
  o.logInfo = D.logInfo.bind(o), o.logWarn = D.logWarn.bind(o), o.logError = D.logError.bind(o);
348
348
  }
349
- var Tn = /* @__PURE__ */ function() {
349
+ var bn = /* @__PURE__ */ function() {
350
350
  function o(a) {
351
351
  E(this, o), this.bufferedList = a;
352
352
  }
@@ -592,7 +592,7 @@ c.setStyleFromCsstext = function(o, a) {
592
592
  o.style[t] = a[t];
593
593
  });
594
594
  };
595
- function bn(o, a) {
595
+ function En(o, a) {
596
596
  for (var r = 0, t = a.length; r < t; r++)
597
597
  if (o.indexOf(a[r]) > -1)
598
598
  return !0;
@@ -606,7 +606,7 @@ c.filterStyleFromText = function(o) {
606
606
  return t.map(function(n) {
607
607
  if (n) {
608
608
  var s = n.split(":");
609
- s.length > 1 && (bn(s[0], a) ? e[s[0]] = s[1] : i[s[0]] = s[1]);
609
+ s.length > 1 && (En(s[0], a) ? e[s[0]] = s[1] : i[s[0]] = s[1]);
610
610
  }
611
611
  }), o.setAttribute("style", ""), Object.keys(i).map(function(n) {
612
612
  o.style[n] = i[n];
@@ -671,7 +671,7 @@ c.getBuffered2 = function(o) {
671
671
  }
672
672
  else
673
673
  e = r;
674
- return new Tn(e);
674
+ return new bn(e);
675
675
  };
676
676
  c.getEventPos = function(o) {
677
677
  var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
@@ -791,15 +791,15 @@ c.getCurrentTimeByOffset = function(o, a) {
791
791
  }
792
792
  return o;
793
793
  };
794
- function Ei(o) {
794
+ function Si(o) {
795
795
  var a = W(o);
796
796
  return o !== null && (a === "object" || a === "function");
797
797
  }
798
- function En(o, a, r) {
798
+ function Sn(o, a, r) {
799
799
  var t, e, i, n, s, u, l = 0, f = !1, h = !1, d = !0, g = !a && a !== 0 && typeof window.requestAnimationFrame == "function";
800
800
  if (typeof o != "function")
801
801
  throw new TypeError("Expected a function");
802
- a = +a || 0, Ei(r) && (f = !!r.leading, h = "maxWait" in r, i = h ? Math.max(+r.maxWait || 0, a) : i, d = "trailing" in r ? !!r.trailing : d);
802
+ a = +a || 0, Si(r) && (f = !!r.leading, h = "maxWait" in r, i = h ? Math.max(+r.maxWait || 0, a) : i, d = "trailing" in r ? !!r.trailing : d);
803
803
  function p(M) {
804
804
  var Y = t, Z = e;
805
805
  return t = e = void 0, l = M, n = o.apply(Z, Y), n;
@@ -854,21 +854,21 @@ function En(o, a, r) {
854
854
  }
855
855
  return V.cancel = B, V.flush = L, V.pending = z, V;
856
856
  }
857
- function Sn(o, a, r) {
857
+ function wn(o, a, r) {
858
858
  var t = !0, e = !0;
859
859
  if (typeof o != "function")
860
860
  throw new TypeError("Expected a function");
861
- return Ei(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e), En(o, a, {
861
+ return Si(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e), Sn(o, a, {
862
862
  leading: t,
863
863
  trailing: e,
864
864
  maxWait: a
865
865
  });
866
866
  }
867
- function wn() {
867
+ function xn() {
868
868
  var o = (document.documentElement.getAttribute("lang") || navigator.language || "zh-cn").toLocaleLowerCase();
869
869
  return o === "zh-cn" && (o = "zh"), o;
870
870
  }
871
- function xn(o, a, r) {
871
+ function Pn(o, a, r) {
872
872
  if (o) {
873
873
  var t = o.getAttribute(r);
874
874
  return !!(t && t === a && (o.tagName === "VIDEO" || o.tagName === "AUDIO"));
@@ -877,7 +877,7 @@ function xn(o, a, r) {
877
877
  var zt = {
878
878
  android: /(Android)\s([\d.]+)/,
879
879
  ios: /(Version)\/([\d.]+)/
880
- }, Pn = ["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"], A = {
880
+ }, In = ["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"], A = {
881
881
  get device() {
882
882
  var o = A.os;
883
883
  return o.isPc ? "pc" : "mobile";
@@ -940,7 +940,7 @@ var zt = {
940
940
  if (this.supportResult)
941
941
  return this.supportResult;
942
942
  var r = document.createElement("video");
943
- return typeof r.canPlayType == "function" && Pn.map(function(t) {
943
+ return typeof r.canPlayType == "function" && In.map(function(t) {
944
944
  r.canPlayType('video/mp4; codecs="'.concat(t, '"')) === "probably" && (a.isSupport = !0, a.mime += "||".concat(t));
945
945
  }), this.supportResult = a, r = null, a;
946
946
  },
@@ -1035,21 +1035,21 @@ var zt = {
1035
1035
  return m.ex = t ? (t[arguments[0]] || {}).msg : "", m;
1036
1036
  }
1037
1037
  }
1038
- ), q = "play", Lt = "playing", ke = "ended", Re = "pause", Be = "error", tt = "seeking", ae = "seeked", X = "timeupdate", He = "waiting", se = "canplay", In = "canplaythrough", de = "durationchange", Si = "volumechange", oe = "loadeddata", Ln = "loadedmetadata", wi = "ratechange", xi = "progress", At = "loadstart", Te = "emptied", An = "stalled", Dn = "suspend", Rn = "abort", On = "bufferedChange", Dt = "focus", Pi = "blur", Rt = "ready", Ii = "urlNull", Ce = "autoplay_started", Ot = "autoplay_was_prevented", it = "complete", Ke = "replay", Mt = "destroy", nt = "urlchange", St = "download_speed_change", Li = "leaveplayer", Ai = "enterplayer", Di = "loading", ne = "fullscreen_change", Ye = "cssFullscreen_change", $e = "mini_state_change", Nt = "definition_change", Mn = "before_definition_change", wt = "after_definition_change", Nn = "SEI_PARSED", Fn = "retry", fe = "video_resize", xt = "pip_change", Ri = "rotate", Oi = "screenShot", Xe = "playnext", Mi = "shortcut", Ni = "xglog", qe = "user_action", rt = "reset", Fi = "source_error", Bi = "source_success", Bn = "switch_subtitle", Hi = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], Ui = {
1038
+ ), q = "play", Lt = "playing", ke = "ended", Re = "pause", Be = "error", tt = "seeking", ae = "seeked", X = "timeupdate", He = "waiting", se = "canplay", Ln = "canplaythrough", de = "durationchange", wi = "volumechange", oe = "loadeddata", An = "loadedmetadata", xi = "ratechange", Pi = "progress", At = "loadstart", Te = "emptied", Dn = "stalled", Rn = "suspend", On = "abort", Mn = "bufferedChange", Dt = "focus", Ii = "blur", Rt = "ready", Li = "urlNull", Ce = "autoplay_started", Ot = "autoplay_was_prevented", it = "complete", Ke = "replay", Mt = "destroy", nt = "urlchange", St = "download_speed_change", Ai = "leaveplayer", Di = "enterplayer", Ri = "loading", ne = "fullscreen_change", Ye = "cssFullscreen_change", $e = "mini_state_change", Nt = "definition_change", Nn = "before_definition_change", wt = "after_definition_change", Fn = "SEI_PARSED", Bn = "retry", fe = "video_resize", xt = "pip_change", Oi = "rotate", Mi = "screenShot", Xe = "playnext", Ni = "shortcut", Fi = "xglog", qe = "user_action", rt = "reset", Bi = "source_error", Hi = "source_success", Hn = "switch_subtitle", Ui = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], Vi = {
1039
1039
  STATS_INFO: "stats_info",
1040
1040
  STATS_DOWNLOAD: "stats_download",
1041
1041
  STATS_RESET: "stats_reset"
1042
- }, Vi = "fps_stuck";
1043
- const Hn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1042
+ }, ji = "fps_stuck";
1043
+ const Un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1044
1044
  __proto__: null,
1045
- ABORT: Rn,
1045
+ ABORT: On,
1046
1046
  AFTER_DEFINITION_CHANGE: wt,
1047
1047
  AUTOPLAY_PREVENTED: Ot,
1048
1048
  AUTOPLAY_STARTED: Ce,
1049
- BEFORE_DEFINITION_CHANGE: Mn,
1050
- BUFFER_CHANGE: On,
1049
+ BEFORE_DEFINITION_CHANGE: Nn,
1050
+ BUFFER_CHANGE: Mn,
1051
1051
  CANPLAY: se,
1052
- CANPLAY_THROUGH: In,
1052
+ CANPLAY_THROUGH: Ln,
1053
1053
  COMPLETE: it,
1054
1054
  CSS_FULLSCREEN_CHANGE: Ye,
1055
1055
  DEFINITION_CHANGE: Nt,
@@ -1058,55 +1058,55 @@ const Hn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1058
1058
  DURATION_CHANGE: de,
1059
1059
  EMPTIED: Te,
1060
1060
  ENDED: ke,
1061
- ENTER_PLAYER: Ai,
1061
+ ENTER_PLAYER: Di,
1062
1062
  ERROR: Be,
1063
- FPS_STUCK: Vi,
1063
+ FPS_STUCK: ji,
1064
1064
  FULLSCREEN_CHANGE: ne,
1065
- LEAVE_PLAYER: Li,
1065
+ LEAVE_PLAYER: Ai,
1066
1066
  LOADED_DATA: oe,
1067
- LOADED_METADATA: Ln,
1068
- LOADING: Di,
1067
+ LOADED_METADATA: An,
1068
+ LOADING: Ri,
1069
1069
  LOAD_START: At,
1070
1070
  MINI_STATE_CHANGE: $e,
1071
1071
  PAUSE: Re,
1072
1072
  PIP_CHANGE: xt,
1073
1073
  PLAY: q,
1074
- PLAYER_BLUR: Pi,
1074
+ PLAYER_BLUR: Ii,
1075
1075
  PLAYER_FOCUS: Dt,
1076
1076
  PLAYING: Lt,
1077
1077
  PLAYNEXT: Xe,
1078
- PROGRESS: xi,
1079
- RATE_CHANGE: wi,
1078
+ PROGRESS: Pi,
1079
+ RATE_CHANGE: xi,
1080
1080
  READY: Rt,
1081
1081
  REPLAY: Ke,
1082
1082
  RESET: rt,
1083
- RETRY: Fn,
1084
- ROTATE: Ri,
1085
- SCREEN_SHOT: Oi,
1083
+ RETRY: Bn,
1084
+ ROTATE: Oi,
1085
+ SCREEN_SHOT: Mi,
1086
1086
  SEEKED: ae,
1087
1087
  SEEKING: tt,
1088
- SEI_PARSED: Nn,
1089
- SHORTCUT: Mi,
1090
- SOURCE_ERROR: Fi,
1091
- SOURCE_SUCCESS: Bi,
1092
- STALLED: An,
1093
- STATS_EVENTS: Ui,
1094
- SUSPEND: Dn,
1095
- SWITCH_SUBTITLE: Bn,
1088
+ SEI_PARSED: Fn,
1089
+ SHORTCUT: Ni,
1090
+ SOURCE_ERROR: Bi,
1091
+ SOURCE_SUCCESS: Hi,
1092
+ STALLED: Dn,
1093
+ STATS_EVENTS: Vi,
1094
+ SUSPEND: Rn,
1095
+ SWITCH_SUBTITLE: Hn,
1096
1096
  TIME_UPDATE: X,
1097
1097
  URL_CHANGE: nt,
1098
- URL_NULL: Ii,
1098
+ URL_NULL: Li,
1099
1099
  USER_ACTION: qe,
1100
- VIDEO_EVENTS: Hi,
1100
+ VIDEO_EVENTS: Ui,
1101
1101
  VIDEO_RESIZE: fe,
1102
- VOLUME_CHANGE: Si,
1102
+ VOLUME_CHANGE: wi,
1103
1103
  WAITING: He,
1104
- XGLOG: Ni
1104
+ XGLOG: Fi
1105
1105
  }, Symbol.toStringTag, { value: "Module" }));
1106
1106
  function ct(o, a) {
1107
1107
  !this || !this.emit || (o === "error" ? this.errorHandler(o, a.error) : this.emit(o, a));
1108
1108
  }
1109
- function Un(o, a) {
1109
+ function Vn(o, a) {
1110
1110
  return function(r, t) {
1111
1111
  var e = {
1112
1112
  player: a,
@@ -1141,7 +1141,7 @@ function Un(o, a) {
1141
1141
  ct.call(a, o, e);
1142
1142
  };
1143
1143
  }
1144
- var Vn = /* @__PURE__ */ function(o) {
1144
+ var jn = /* @__PURE__ */ function(o) {
1145
1145
  w(r, o);
1146
1146
  var a = x(r);
1147
1147
  function r(t) {
@@ -1183,9 +1183,9 @@ var Vn = /* @__PURE__ */ function(o) {
1183
1183
  key: "attachVideoEvents",
1184
1184
  value: function() {
1185
1185
  var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.media;
1186
- this._evHandlers || (this._evHandlers = Hi.map(function(n) {
1186
+ this._evHandlers || (this._evHandlers = Ui.map(function(n) {
1187
1187
  var s = "on".concat(n.charAt(0).toUpperCase()).concat(n.slice(1));
1188
- return typeof e[s] == "function" && e.on(n, e[s]), y({}, n, Un(n, e));
1188
+ return typeof e[s] == "function" && e.on(n, e[s]), y({}, n, Vn(n, e));
1189
1189
  })), this._evHandlers.forEach(function(n) {
1190
1190
  var s = Object.keys(n)[0];
1191
1191
  i.addEventListener(s, n[s], !1);
@@ -1217,7 +1217,7 @@ var Vn = /* @__PURE__ */ function(o) {
1217
1217
  var s = e.children;
1218
1218
  if (s) {
1219
1219
  this._videoSourceCount = s.length, this._videoSourceIndex = s.length, this._vLoadeddata = function(h) {
1220
- n.emit(Bi, {
1220
+ n.emit(Hi, {
1221
1221
  src: h.target.currentSrc,
1222
1222
  host: c.getHostFromUrl(h.target.currentSrc)
1223
1223
  });
@@ -1237,7 +1237,7 @@ var Vn = /* @__PURE__ */ function(o) {
1237
1237
  u ? u.error(h, g) : n.errorHandler("error", g);
1238
1238
  }
1239
1239
  var p = Kt[4];
1240
- n.emit(Fi, new ze(n, {
1240
+ n.emit(Bi, new ze(n, {
1241
1241
  errorType: p,
1242
1242
  errorCode: 4,
1243
1243
  errorMessage: "sources_load_error",
@@ -1559,7 +1559,7 @@ var Vn = /* @__PURE__ */ function(o) {
1559
1559
  I(P(r.prototype), "removeAllListeners", this).call(this);
1560
1560
  }
1561
1561
  }]), r;
1562
- }(bi), jn = /* @__PURE__ */ function() {
1562
+ }(Ei), Gn = /* @__PURE__ */ function() {
1563
1563
  function o() {
1564
1564
  var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
1565
1565
  name: "xgplayer",
@@ -1703,7 +1703,7 @@ function Jt(o) {
1703
1703
  }
1704
1704
  }
1705
1705
  }
1706
- function ji(o) {
1706
+ function Gi(o) {
1707
1707
  var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
1708
1708
  o.__hooks = {}, a && a.map(function(r) {
1709
1709
  o.__hooks[r] = null;
@@ -1716,7 +1716,7 @@ function ji(o) {
1716
1716
  }
1717
1717
  });
1718
1718
  }
1719
- function Gi(o) {
1719
+ function Wi(o) {
1720
1720
  o.__hooks = null;
1721
1721
  }
1722
1722
  function re(o, a, r) {
@@ -1740,7 +1740,7 @@ function ft(o, a) {
1740
1740
  }
1741
1741
  var he = /* @__PURE__ */ function() {
1742
1742
  function o(a) {
1743
- E(this, o), c.checkIsFunction(this.beforeCreate) && this.beforeCreate(a), ji(this), this.__args = a, this.__events = {}, this.__onceEvents = {}, this.config = a.config || {}, this.player = null, this.playerConfig = {}, this.pluginName = "", this.__init(a);
1743
+ E(this, o), c.checkIsFunction(this.beforeCreate) && this.beforeCreate(a), Gi(this), this.__args = a, this.__events = {}, this.__onceEvents = {}, this.config = a.config || {}, this.player = null, this.playerConfig = {}, this.pluginName = "", this.__init(a);
1744
1744
  }
1745
1745
  return S(o, [{
1746
1746
  key: "beforeCreate",
@@ -1904,7 +1904,7 @@ var he = /* @__PURE__ */ function() {
1904
1904
  var r = this, t = this.player, e = this.pluginName;
1905
1905
  this.offAll(), c.clearAllTimers(this), c.checkIsFunction(this.destroy) && this.destroy(), ["player", "playerConfig", "pluginName", "logger", "__args", "__hooks"].map(function(i) {
1906
1906
  r[i] = null;
1907
- }), t.unRegisterPlugin(e), Gi(this);
1907
+ }), t.unRegisterPlugin(e), Wi(this);
1908
1908
  }
1909
1909
  }], [{
1910
1910
  key: "defineGetterOrSetter",
@@ -1923,40 +1923,40 @@ var he = /* @__PURE__ */ function() {
1923
1923
  return "pluginName";
1924
1924
  }
1925
1925
  }]), o;
1926
- }(), Gn = 9;
1926
+ }(), Wn = 9;
1927
1927
  if (typeof Element < "u" && !Element.prototype.matches) {
1928
1928
  var Ee = Element.prototype;
1929
1929
  Ee.matches = Ee.matchesSelector || Ee.mozMatchesSelector || Ee.msMatchesSelector || Ee.oMatchesSelector || Ee.webkitMatchesSelector;
1930
1930
  }
1931
- function Wn(o, a) {
1932
- for (; o && o.nodeType !== Gn; ) {
1931
+ function zn(o, a) {
1932
+ for (; o && o.nodeType !== Wn; ) {
1933
1933
  if (typeof o.matches == "function" && o.matches(a))
1934
1934
  return o;
1935
1935
  o = o.parentNode;
1936
1936
  }
1937
1937
  }
1938
- var zn = Wn, Kn = zn;
1938
+ var Kn = zn, Yn = Kn;
1939
1939
  function ht(o, a, r, t, e) {
1940
- var i = $n.apply(this, arguments);
1940
+ var i = Xn.apply(this, arguments);
1941
1941
  return o.addEventListener(r, i, e), {
1942
1942
  destroy: function() {
1943
1943
  o.removeEventListener(r, i, e);
1944
1944
  }
1945
1945
  };
1946
1946
  }
1947
- function Yn(o, a, r, t, e) {
1947
+ function $n(o, a, r, t, e) {
1948
1948
  return typeof o.addEventListener == "function" ? ht.apply(null, arguments) : typeof r == "function" ? ht.bind(null, document).apply(null, arguments) : (typeof o == "string" && (o = document.querySelectorAll(o)), Array.prototype.map.call(o, function(i) {
1949
1949
  return ht(i, a, r, t, e);
1950
1950
  }));
1951
1951
  }
1952
- function $n(o, a, r, t) {
1952
+ function Xn(o, a, r, t) {
1953
1953
  return function(e) {
1954
- e.delegateTarget = Kn(e.target, a), e.delegateTarget && t.call(o, e);
1954
+ e.delegateTarget = Yn(e.target, a), e.delegateTarget && t.call(o, e);
1955
1955
  };
1956
1956
  }
1957
- var Xn = Yn;
1958
- const Qt = /* @__PURE__ */ It(Xn);
1959
- var qn = {
1957
+ var qn = $n;
1958
+ const Qt = /* @__PURE__ */ It(qn);
1959
+ var Zn = {
1960
1960
  CONTROLS: "controls",
1961
1961
  ROOT: "root"
1962
1962
  }, H = {
@@ -1976,10 +1976,10 @@ var qn = {
1976
1976
  function dt(o) {
1977
1977
  return o ? o.indexOf && /^(?:http|data:|\/)/.test(o) : !1;
1978
1978
  }
1979
- function Zn(o, a) {
1979
+ function Jn(o, a) {
1980
1980
  return W(o) === "object" && o.class && typeof o.class == "string" ? "".concat(a, " ").concat(o.class) : a;
1981
1981
  }
1982
- function Jn(o, a) {
1982
+ function Qn(o, a) {
1983
1983
  return W(o) === "object" && o.attr && W(o.attr) === "object" && Object.keys(o.attr).map(function(r) {
1984
1984
  a[r] = o.attr[r];
1985
1985
  }), a;
@@ -2002,14 +2002,14 @@ function ti(o, a) {
2002
2002
  }
2003
2003
  return typeof o == "string" ? c.createDomFromHtml(o, t, r) : (D.logWarn("warn>>icons.".concat(a, " in config of plugin named [").concat(e, "] is invalid")), null);
2004
2004
  }
2005
- function Qn(o, a) {
2005
+ function er(o, a) {
2006
2006
  var r = a.config.icons || a.playerConfig.icons;
2007
2007
  Object.keys(o).map(function(t) {
2008
2008
  var e = o[t], i = e && e.class ? e.class : "", n = e && e.attr ? e.attr : {}, s = null;
2009
- r && r[t] && (i = Zn(r[t], i), n = Jn(r[t], n), s = ti(r[t], t, i, n, a.pluginName)), !s && e && (s = ti(e.icon ? e.icon : e, n, i, {}, a.pluginName)), a.icons[t] = s;
2009
+ r && r[t] && (i = Jn(r[t], i), n = Qn(r[t], n), s = ti(r[t], t, i, n, a.pluginName)), !s && e && (s = ti(e.icon ? e.icon : e, n, i, {}, a.pluginName)), a.icons[t] = s;
2010
2010
  });
2011
2011
  }
2012
- function er(o, a) {
2012
+ function tr(o, a) {
2013
2013
  Object.keys(o).map(function(r) {
2014
2014
  Object.defineProperty(a.langText, r, {
2015
2015
  get: function() {
@@ -2033,9 +2033,9 @@ var N = /* @__PURE__ */ function(o) {
2033
2033
  var i = e.root, n = null;
2034
2034
  this.icons = {}, this.root = null, this.parent = null;
2035
2035
  var s = this.registerIcons() || {};
2036
- Qn(s, this), this.langText = {};
2036
+ er(s, this), this.langText = {};
2037
2037
  var u = this.registerLanguageTexts() || {};
2038
- er(u, this);
2038
+ tr(u, this);
2039
2039
  var l = "";
2040
2040
  try {
2041
2041
  l = this.render();
@@ -2304,7 +2304,7 @@ var N = /* @__PURE__ */ function(o) {
2304
2304
  }, {
2305
2305
  key: "ROOT_TYPES",
2306
2306
  get: function() {
2307
- return qn;
2307
+ return Zn;
2308
2308
  }
2309
2309
  }, {
2310
2310
  key: "POSITIONS",
@@ -2312,7 +2312,7 @@ var N = /* @__PURE__ */ function(o) {
2312
2312
  return H;
2313
2313
  }
2314
2314
  }]), r;
2315
- }(he), tr = /* @__PURE__ */ function() {
2315
+ }(he), ir = /* @__PURE__ */ function() {
2316
2316
  function o() {
2317
2317
  var a = this;
2318
2318
  if (E(this, o), y(this, "__trigger", function(r) {
@@ -2322,7 +2322,7 @@ var N = /* @__PURE__ */ function(o) {
2322
2322
  a.__runHandler(r[e].target);
2323
2323
  }), this.__handlers = [], this.timeStamp = 0, this.observer = null, !!window.ResizeObserver)
2324
2324
  try {
2325
- this.observer = new window.ResizeObserver(Sn(this.__trigger, 100, {
2325
+ this.observer = new window.ResizeObserver(wn(this.__trigger, 100, {
2326
2326
  trailing: !0
2327
2327
  })), this.timeStamp = (/* @__PURE__ */ new Date()).getTime();
2328
2328
  } catch (r) {
@@ -2377,17 +2377,17 @@ var N = /* @__PURE__ */ function(o) {
2377
2377
  }
2378
2378
  }]), o;
2379
2379
  }(), Ne = null;
2380
- function ir(o, a) {
2381
- return Ne || (Ne = new tr()), Ne.addObserver(o, a), Ne;
2382
- }
2383
2380
  function nr(o, a) {
2381
+ return Ne || (Ne = new ir()), Ne.addObserver(o, a), Ne;
2382
+ }
2383
+ function rr(o, a) {
2384
2384
  Ne.unObserver(o, a);
2385
2385
  }
2386
2386
  var j = {
2387
2387
  pluginGroup: {},
2388
2388
  init: function(a) {
2389
2389
  var r = a._pluginInfoId;
2390
- r || (r = (/* @__PURE__ */ new Date()).getTime(), a._pluginInfoId = r), !a.config.closeResizeObserver && ir(a.root, function() {
2390
+ r || (r = (/* @__PURE__ */ new Date()).getTime(), a._pluginInfoId = r), !a.config.closeResizeObserver && nr(a.root, function() {
2391
2391
  a.resize();
2392
2392
  }), this.pluginGroup[r] = {
2393
2393
  _originalOptions: a.config || {},
@@ -2573,7 +2573,7 @@ var j = {
2573
2573
  destroy: function(a) {
2574
2574
  var r = a._pluginInfoId;
2575
2575
  if (this.pluginGroup[r]) {
2576
- nr(a.root);
2576
+ rr(a.root);
2577
2577
  for (var t = this.pluginGroup[r]._plugins, e = 0, i = Object.keys(t); e < i.length; e++) {
2578
2578
  var n = i[e];
2579
2579
  this.unRegister(r, n);
@@ -2659,7 +2659,7 @@ function ii() {
2659
2659
  ignores: [],
2660
2660
  whitelist: [],
2661
2661
  inactive: 3e3,
2662
- lang: wn(),
2662
+ lang: xn(),
2663
2663
  controls: !0,
2664
2664
  marginControls: !1,
2665
2665
  fullscreenTarget: null,
@@ -2695,7 +2695,7 @@ function ii() {
2695
2695
  }
2696
2696
  };
2697
2697
  }
2698
- var rr = function(a, r) {
2698
+ var sr = function(a, r) {
2699
2699
  var t, e, i;
2700
2700
  r.preset && r.options ? i = new r.preset(r.options, a.config) : i = new r({}, a.config);
2701
2701
  var n = i, s = n.plugins, u = s === void 0 ? [] : s, l = n.ignores, f = l === void 0 ? [] : l, h = n.icons, d = h === void 0 ? {} : h, g = n.i18n, p = g === void 0 ? [] : g;
@@ -2704,7 +2704,7 @@ var rr = function(a, r) {
2704
2704
  });
2705
2705
  var m = a.config.i18n || [];
2706
2706
  p.push.apply(p, Q(m)), a.config.i18n = p;
2707
- }, sr = /* @__PURE__ */ function(o) {
2707
+ }, ar = /* @__PURE__ */ function(o) {
2708
2708
  w(r, o);
2709
2709
  var a = x(r);
2710
2710
  function r() {
@@ -2865,7 +2865,7 @@ var rr = function(a, r) {
2865
2865
  };
2866
2866
  }
2867
2867
  }]), r;
2868
- }(N), ar = {
2868
+ }(N), or = {
2869
2869
  LANG: "en",
2870
2870
  TEXT: {
2871
2871
  ERROR_TYPES: {
@@ -2955,12 +2955,12 @@ function Fe(o, a) {
2955
2955
  t === "Object" ? (e !== "Object" && (o[r] = {}), Fe(o[r], a[r])) : o[r] = a[r];
2956
2956
  }), o;
2957
2957
  }
2958
- function Wi() {
2958
+ function zi() {
2959
2959
  Object.keys($.lang.en).map(function(o) {
2960
2960
  $.textKeys[o] = o;
2961
2961
  });
2962
2962
  }
2963
- function or(o, a) {
2963
+ function ur(o, a) {
2964
2964
  var r = [];
2965
2965
  if (a || (a = $), !!a.lang) {
2966
2966
  c.typeOf(o) !== "Array" ? r = Object.keys(o).map(function(i) {
@@ -2973,17 +2973,17 @@ function or(o, a) {
2973
2973
  var t = a, e = t.lang;
2974
2974
  r.map(function(i) {
2975
2975
  i.LANG === "zh" && (i.LANG = "zh-cn"), e[i.LANG] ? Fe(e[i.LANG] || {}, i.TEXT || {}) : Ft(i, a);
2976
- }), Wi();
2976
+ }), zi();
2977
2977
  }
2978
2978
  }
2979
2979
  function Ft(o, a) {
2980
2980
  var r = o.LANG;
2981
2981
  if (a || (a = $), !!a.lang) {
2982
2982
  var t = o.TEXT || {};
2983
- r === "zh" && (r = "zh-cn"), a.lang[r] ? Fe(a.lang[r], t) : (a.langKeys.push(r), a.lang[r] = t), Wi();
2983
+ r === "zh" && (r = "zh-cn"), a.lang[r] ? Fe(a.lang[r], t) : (a.langKeys.push(r), a.lang[r] = t), zi();
2984
2984
  }
2985
2985
  }
2986
- function ur(o) {
2986
+ function lr(o) {
2987
2987
  var a, r = {
2988
2988
  lang: {},
2989
2989
  langKeys: [],
@@ -2992,7 +2992,7 @@ function ur(o) {
2992
2992
  };
2993
2993
  return Fe(r.lang, $.lang), (a = r.langKeys).push.apply(a, Q($.langKeys)), Fe(r.textKeys, $.textKeys), r;
2994
2994
  }
2995
- Ft(ar);
2995
+ Ft(or);
2996
2996
  var De = {
2997
2997
  get textKeys() {
2998
2998
  return $.textKeys;
@@ -3006,9 +3006,9 @@ var De = {
3006
3006
  o[a] = $.lang[a];
3007
3007
  }), $.lang["zh-cn"] && (o.zh = $.lang["zh-cn"] || {}), o;
3008
3008
  },
3009
- extend: or,
3009
+ extend: ur,
3010
3010
  use: Ft,
3011
- init: ur
3011
+ init: lr
3012
3012
  }, O = {
3013
3013
  INITIAL: 1,
3014
3014
  READY: 2,
@@ -3018,7 +3018,7 @@ var De = {
3018
3018
  RUNNING: 6,
3019
3019
  ENDED: 7,
3020
3020
  DESTROYED: 8
3021
- }, ni = ["ERROR", "INITIAL", "READY", "ATTACHING", "ATTACHED", "NOTALLOW", "RUNNING", "ENDED", "DESTROYED"], K = {}, gt = null, zi = /* @__PURE__ */ function(o) {
3021
+ }, ni = ["ERROR", "INITIAL", "READY", "ATTACHING", "ATTACHED", "NOTALLOW", "RUNNING", "ENDED", "DESTROYED"], K = {}, gt = null, Ki = /* @__PURE__ */ function(o) {
3022
3022
  w(r, o);
3023
3023
  var a = x(r);
3024
3024
  function r() {
@@ -3104,8 +3104,8 @@ var De = {
3104
3104
  return gt || (gt = new r()), gt;
3105
3105
  }
3106
3106
  }]), r;
3107
- }(Ti.EventEmitter);
3108
- function lr(o) {
3107
+ }(bi.EventEmitter);
3108
+ function cr(o) {
3109
3109
  for (var a = Object.keys(K), r = 0; r < a.length; r++) {
3110
3110
  var t = K[a[r]];
3111
3111
  if (t.root === o)
@@ -3113,7 +3113,7 @@ function lr(o) {
3113
3113
  }
3114
3114
  return null;
3115
3115
  }
3116
- var cr = ["play", "pause", "replay", "retry"], ri = 0, si = 0, ue = null, st = /* @__PURE__ */ function(o) {
3116
+ var fr = ["play", "pause", "replay", "retry"], ri = 0, si = 0, ue = null, st = /* @__PURE__ */ function(o) {
3117
3117
  w(r, o);
3118
3118
  var a = x(r);
3119
3119
  function r(t) {
@@ -3143,7 +3143,7 @@ var cr = ["play", "pause", "replay", "retry"], ri = 0, si = 0, ue = null, st = /
3143
3143
  to: !1
3144
3144
  }]
3145
3145
  });
3146
- var T = xn(b, e.playerId, ye);
3146
+ var T = Pn(b, e.playerId, ye);
3147
3147
  if (m || b && (b === e._fullscreenEl || T))
3148
3148
  _(), !e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !0, e.changeFullStyle(e.root, b, C.FULLSCREEN), e.emit(ne, !0, e._fullScreenOffset), e.cssfullscreen && e.exitCssFullscreen();
3149
3149
  else if (e.fullscreen) {
@@ -3163,7 +3163,7 @@ var cr = ["play", "pause", "replay", "retry"], ri = 0, si = 0, ue = null, st = /
3163
3163
  e._fullscreenEl = e.media, e.onFullscreenChange(p, !0);
3164
3164
  }), y(v(e), "_onWebkitendfullscreen", function(p) {
3165
3165
  e.onFullscreenChange(p, !1);
3166
- }), ji(v(e), cr), e.config = i, e._pluginInfoId = c.generateSessionId(), kn(v(e));
3166
+ }), Gi(v(e), fr), e.config = i, e._pluginInfoId = c.generateSessionId(), Tn(v(e));
3167
3167
  var n = e.constructor.defaultPreset;
3168
3168
  if (e.config.presets.length) {
3169
3169
  var s = e.config.presets.indexOf("default");
@@ -3192,7 +3192,7 @@ var cr = ["play", "pause", "replay", "retry"], ri = 0, si = 0, ue = null, st = /
3192
3192
  }, e._offsetInfo = {
3193
3193
  currentTime: -1,
3194
3194
  duration: 0
3195
- }, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = De.init(e._pluginInfoId), A.os.isAndroid && A.osVersion > 0 && A.osVersion < 6 && (e.config.autoplay = !1), e.database = new jn(), e.isUserActive = !1, e._onceSeekCanplay = null, e._isPauseBeforeSeek = 0, e.innerStates = {
3195
+ }, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = De.init(e._pluginInfoId), A.os.isAndroid && A.osVersion > 0 && A.osVersion < 6 && (e.config.autoplay = !1), e.database = new Gn(), e.isUserActive = !1, e._onceSeekCanplay = null, e._isPauseBeforeSeek = 0, e.innerStates = {
3196
3196
  isActiveLocked: !1
3197
3197
  }, e.instManager = ue;
3198
3198
  var u = e._initDOM();
@@ -3224,7 +3224,7 @@ var cr = ["play", "pause", "replay", "retry"], ri = 0, si = 0, ue = null, st = /
3224
3224
  msg: "container id can't be empty"
3225
3225
  })), console.error("this.confg.id or this.config.el can't be empty"), !1;
3226
3226
  }
3227
- var s = lr(this.root);
3227
+ var s = cr(this.root);
3228
3228
  s && (D.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), s.destroy()), this.root.setAttribute(ye, this.playerId), (e = ue) === null || e === void 0 || e.add(this), j.init(this), this._initBaseDoms();
3229
3229
  var u = this.constructor.XgVideoProxy;
3230
3230
  if (u && this.mediaConfig.mediaType === u.mediaType) {
@@ -3234,7 +3234,7 @@ var cr = ["play", "pause", "replay", "retry"], ri = 0, si = 0, ue = null, st = /
3234
3234
  this.attachVideoEvents(f), this.media = f;
3235
3235
  }
3236
3236
  if (this.media.setAttribute(ye, this.playerId), this.config.controls) {
3237
- var h = this.config.controls.root || null, d = j.register(this, sr, {
3237
+ var h = this.config.controls.root || null, d = j.register(this, ar, {
3238
3238
  root: h
3239
3239
  });
3240
3240
  this.controls = d;
@@ -3295,7 +3295,7 @@ var cr = ["play", "pause", "replay", "retry"], ri = 0, si = 0, ue = null, st = /
3295
3295
  key: "_startInit",
3296
3296
  value: function(e) {
3297
3297
  var i = this;
3298
- if (this.media && !((!e || e === "" || c.typeOf(e) === "Array" && e.length === 0) && (e = "", this.emit(Ii), D.logWarn("config.url is null, please get url and run player._startInit(url)"), this.config.nullUrlStart))) {
3298
+ if (this.media && !((!e || e === "" || c.typeOf(e) === "Array" && e.length === 0) && (e = "", this.emit(Li), D.logWarn("config.url is null, please get url and run player._startInit(url)"), this.config.nullUrlStart))) {
3299
3299
  this.handleSource && (this._detachSourceEvents(this.media), c.typeOf(e) === "Array" && e.length > 0 ? this._attachSourceEvents(this.media, e) : !this.media.src || this.media.src !== e ? this.media.src = e : e || this.media.removeAttribute("src")), c.typeOf(this.config.volume) === "Number" && (this.volume = this.config.volume);
3300
3300
  var n = this.innerContainer ? this.innerContainer : this.root;
3301
3301
  this.media instanceof window.Element && !n.contains(this.media) && n.insertBefore(this.media, n.firstChild);
@@ -3342,7 +3342,7 @@ var cr = ["play", "pause", "replay", "retry"], ri = 0, si = 0, ue = null, st = /
3342
3342
  value: function() {
3343
3343
  var e = this;
3344
3344
  this.config.presets.forEach(function(i) {
3345
- rr(e, i);
3345
+ sr(e, i);
3346
3346
  });
3347
3347
  }
3348
3348
  }, {
@@ -3618,7 +3618,7 @@ var cr = ["play", "pause", "replay", "retry"], ri = 0, si = 0, ue = null, st = /
3618
3618
  value: function() {
3619
3619
  var e, i = this, n = this.innerContainer, s = this.root, u = this.media;
3620
3620
  if (!(!s || !u)) {
3621
- if (this.hasStart = !1, this._useAutoplay = !1, s.removeAttribute(ye), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), c.clearAllTimers(this), this.emit(Mt), (e = ue) === null || e === void 0 || e.remove(this), j.destroy(this), Gi(this), I(P(r.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), n)
3621
+ if (this.hasStart = !1, this._useAutoplay = !1, s.removeAttribute(ye), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), c.clearAllTimers(this), this.emit(Mt), (e = ue) === null || e === void 0 || e.remove(this), j.destroy(this), Wi(this), I(P(r.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), n)
3622
3622
  for (var l = n.children, f = 0; f < l.length; f++)
3623
3623
  n.removeChild(l[f]);
3624
3624
  !n && u instanceof window.Node && s.contains(u) && s.removeChild(u), ["topBar", "leftBar", "rightBar", "innerContainer"].map(function(d) {
@@ -3780,7 +3780,7 @@ var cr = ["play", "pause", "replay", "retry"], ri = 0, si = 0, ue = null, st = /
3780
3780
  this.onBlur(e);
3781
3781
  return;
3782
3782
  }
3783
- this._clearUserTimer(), this.emit(Pi, U({
3783
+ this._clearUserTimer(), this.emit(Ii, U({
3784
3784
  paused: this.paused,
3785
3785
  ended: this.ended
3786
3786
  }, e));
@@ -3865,7 +3865,7 @@ var cr = ["play", "pause", "replay", "retry"], ri = 0, si = 0, ue = null, st = /
3865
3865
  value: function() {
3866
3866
  var e = this;
3867
3867
  this.waitTimer && c.clearTimeout(this, this.waitTimer), this.updateAcc("waiting"), this.waitTimer = c.setTimeout(this, function() {
3868
- e.addClass(C.LOADING), e.emit(Di), c.clearTimeout(e, e.waitTimer), e.waitTimer = null;
3868
+ e.addClass(C.LOADING), e.emit(Ri), c.clearTimeout(e, e.waitTimer), e.waitTimer = null;
3869
3869
  }, this.config.minWaitDelay);
3870
3870
  }
3871
3871
  }, {
@@ -4304,10 +4304,10 @@ var cr = ["play", "pause", "replay", "retry"], ri = 0, si = 0, ue = null, st = /
4304
4304
  r.plugins || (r.plugins = {}), r.plugins[e] = i;
4305
4305
  }
4306
4306
  }]), r;
4307
- }(Vn);
4307
+ }(jn);
4308
4308
  y(st, "defaultPreset", null);
4309
4309
  y(st, "XgVideoProxy", null);
4310
- st.instManager = zi.getInstance();
4310
+ st.instManager = Ki.getInstance();
4311
4311
  function G() {
4312
4312
  return (/* @__PURE__ */ new Date()).getTime();
4313
4313
  }
@@ -4319,7 +4319,7 @@ var le = {
4319
4319
  WAIT_END: "waitingEnd",
4320
4320
  SEEK_START: "seekStart",
4321
4321
  SEEK_END: "seekEnd"
4322
- }, fr = /* @__PURE__ */ function(o) {
4322
+ }, hr = /* @__PURE__ */ function(o) {
4323
4323
  w(r, o);
4324
4324
  var a = x(r);
4325
4325
  function r() {
@@ -4446,7 +4446,7 @@ var le = {
4446
4446
  key: "emitLog",
4447
4447
  value: function(e, i) {
4448
4448
  var n = this.player;
4449
- this.emit(Ni, U({
4449
+ this.emit(Fi, U({
4450
4450
  t: G(),
4451
4451
  host: c.getHostFromUrl(n.currentSrc),
4452
4452
  vtype: n.vtype,
@@ -4470,13 +4470,13 @@ var le = {
4470
4470
  }
4471
4471
  }]), r;
4472
4472
  }(N);
4473
- function hr() {
4473
+ function dr() {
4474
4474
  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">
4475
4475
  <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>
4476
4476
  </svg>
4477
4477
  `, "image/svg+xml").firstChild;
4478
4478
  }
4479
- var dr = /* @__PURE__ */ function(o) {
4479
+ var gr = /* @__PURE__ */ function(o) {
4480
4480
  w(r, o);
4481
4481
  var a = x(r);
4482
4482
  function r() {
@@ -4486,7 +4486,7 @@ var dr = /* @__PURE__ */ function(o) {
4486
4486
  key: "registerIcons",
4487
4487
  value: function() {
4488
4488
  return {
4489
- replay: hr
4489
+ replay: dr
4490
4490
  };
4491
4491
  }
4492
4492
  }, {
@@ -4559,7 +4559,7 @@ var dr = /* @__PURE__ */ function(o) {
4559
4559
  };
4560
4560
  }
4561
4561
  }]), r;
4562
- }(N), gr = /* @__PURE__ */ function(o) {
4562
+ }(N), pr = /* @__PURE__ */ function(o) {
4563
4563
  w(r, o);
4564
4564
  var a = x(r);
4565
4565
  function r() {
@@ -4684,7 +4684,7 @@ function Ht() {
4684
4684
  `, "image/svg+xml").firstChild;
4685
4685
  }
4686
4686
  var ie = {};
4687
- function pr(o, a) {
4687
+ function vr(o, a) {
4688
4688
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
4689
4689
  start: null,
4690
4690
  end: null
@@ -4702,7 +4702,7 @@ function ai(o) {
4702
4702
  window.clearTimeout(ie[a].id), delete ie[a];
4703
4703
  });
4704
4704
  }
4705
- var vr = /* @__PURE__ */ function(o) {
4705
+ var mr = /* @__PURE__ */ function(o) {
4706
4706
  w(r, o);
4707
4707
  var a = x(r);
4708
4708
  function r(t) {
@@ -4794,7 +4794,7 @@ var vr = /* @__PURE__ */ function(o) {
4794
4794
  key: "animate",
4795
4795
  value: function(e) {
4796
4796
  var i = this;
4797
- this._animateId = pr("pauseplay", 400, {
4797
+ this._animateId = vr("pauseplay", 400, {
4798
4798
  start: function() {
4799
4799
  c.addClass(i.root, "interact"), i.show(), i.switchStatus(!0);
4800
4800
  },
@@ -4877,7 +4877,7 @@ var vr = /* @__PURE__ */ function(o) {
4877
4877
  };
4878
4878
  }
4879
4879
  }]), r;
4880
- }(N), mr = /* @__PURE__ */ function(o) {
4880
+ }(N), yr = /* @__PURE__ */ function(o) {
4881
4881
  w(r, o);
4882
4882
  var a = x(r);
4883
4883
  function r() {
@@ -4976,8 +4976,8 @@ function ui(o) {
4976
4976
  var a = parseFloat(o), r = o.indexOf("%") === -1 && !Number.isNaN(a);
4977
4977
  return r && a;
4978
4978
  }
4979
- var Ut = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"], Ki = Ut.length;
4980
- function yr() {
4979
+ var Ut = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"], Yi = Ut.length;
4980
+ function _r() {
4981
4981
  for (var o = {
4982
4982
  width: 0,
4983
4983
  height: 0,
@@ -4985,24 +4985,24 @@ function yr() {
4985
4985
  innerHeight: 0,
4986
4986
  outerWidth: 0,
4987
4987
  outerHeight: 0
4988
- }, a = 0; a < Ki; a++) {
4988
+ }, a = 0; a < Yi; a++) {
4989
4989
  var r = Ut[a];
4990
4990
  o[r] = 0;
4991
4991
  }
4992
4992
  return o;
4993
4993
  }
4994
- function _r(o) {
4994
+ function Cr(o) {
4995
4995
  var a = window.getComputedStyle(o);
4996
4996
  return a;
4997
4997
  }
4998
4998
  function li(o) {
4999
4999
  if (typeof o == "string" && (o = document.querySelector(o)), !(!o || W(o) !== "object" || !o.nodeType)) {
5000
- var a = _r(o);
5000
+ var a = Cr(o);
5001
5001
  if (a.display === "none")
5002
- return yr();
5002
+ return _r();
5003
5003
  var r = {};
5004
5004
  r.width = o.offsetWidth, r.height = o.offsetHeight;
5005
- for (var t = r.isBorderBox = a.boxSizing === "border-box", e = 0; e < Ki; e++) {
5005
+ for (var t = r.isBorderBox = a.boxSizing === "border-box", e = 0; e < Yi; e++) {
5006
5006
  var i = Ut[e], n = a[i], s = parseFloat(n);
5007
5007
  r[i] = Number.isNaN(s) ? 0 : s;
5008
5008
  }
@@ -5027,7 +5027,7 @@ var vt = {
5027
5027
  mousedown: ["mousemove", "mouseup"],
5028
5028
  touchstart: ["touchmove", "touchend", "touchcancel"],
5029
5029
  pointerdown: ["pointermove", "pointerup", "pointercancel"]
5030
- }, Cr = /* @__PURE__ */ function(o) {
5030
+ }, kr = /* @__PURE__ */ function(o) {
5031
5031
  w(r, o);
5032
5032
  var a = x(r);
5033
5033
  function r(t) {
@@ -5237,7 +5237,7 @@ var vt = {
5237
5237
  return parseInt(e, 10);
5238
5238
  }
5239
5239
  }]), r;
5240
- }(bi), kr = /* @__PURE__ */ function(o) {
5240
+ }(Ei), Tr = /* @__PURE__ */ function(o) {
5241
5241
  w(r, o);
5242
5242
  var a = x(r);
5243
5243
  function r(t) {
@@ -5293,7 +5293,7 @@ var vt = {
5293
5293
  i.controls.registerPlugin(oi, s, oi.pluginName);
5294
5294
  }
5295
5295
  var u = c.checkTouchSupport() ? "touchend" : "click";
5296
- this.bind(".mini-cancel-btn", u, this.onCancelClick), this.bind(".play-icon", u, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new Cr(this.player.root, {
5296
+ this.bind(".mini-cancel-btn", u, this.onCancelClick), this.bind(".play-icon", u, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new kr(this.player.root, {
5297
5297
  handle: this.root
5298
5298
  })), this.config.isScrollSwitch && window.addEventListener("scroll", this.onScroll);
5299
5299
  }
@@ -5408,7 +5408,7 @@ var vt = {
5408
5408
  var u = v(t), l = u.playerConfig, f = u.player;
5409
5409
  !l.closeFocusVideoFocus && f.media.focus(), l.closeDelayBlur ? f.focus({
5410
5410
  autoHide: !1
5411
- }) : f.focus(), t.emit(Ai);
5411
+ }) : f.focus(), t.emit(Di);
5412
5412
  }), y(v(t), "onMouseLeave", function(s) {
5413
5413
  var u = t.playerConfig, l = u.closePlayerBlur, f = u.leavePlayerTime, h = u.closeDelayBlur;
5414
5414
  !l && !h && (f ? t.player.focus({
@@ -5416,7 +5416,7 @@ var vt = {
5416
5416
  delay: f
5417
5417
  }) : t.player.blur({
5418
5418
  ignorePaused: !0
5419
- })), t.emit(Li);
5419
+ })), t.emit(Ai);
5420
5420
  }), y(v(t), "onVideoClick", function(s) {
5421
5421
  var u = v(t), l = u.player, f = u.playerConfig;
5422
5422
  s.target && f.closeVideoClick || (s.target === l.root || s.target === l.media || s.target === l.innerContainer || s.target === l.media.__canvas) && (s.preventDefault(), f.closeVideoStopPropagation || s.stopPropagation(), t._clickCount++, t.clickTimer && (clearTimeout(t.clickTimer), t.clickTimer = null), t.clickTimer = setTimeout(function() {
@@ -5507,12 +5507,12 @@ var vt = {
5507
5507
  TOUCH_MOVE: "touchmove",
5508
5508
  TOUCH_START: "touchstart",
5509
5509
  TOUCH_END: "touchend"
5510
- }, Tr = {
5510
+ }, br = {
5511
5511
  start: "touchstart",
5512
5512
  end: "touchend",
5513
5513
  move: "touchmove",
5514
5514
  cancel: "touchcancel"
5515
- }, br = {
5515
+ }, Er = {
5516
5516
  start: "mousedown",
5517
5517
  end: "mouseup",
5518
5518
  move: "mousemove",
@@ -5521,7 +5521,7 @@ var vt = {
5521
5521
  function fi(o) {
5522
5522
  return o && o.length > 0 ? o[o.length - 1] : null;
5523
5523
  }
5524
- function Er() {
5524
+ function Sr() {
5525
5525
  return {
5526
5526
  pressDelay: 600,
5527
5527
  dbClickDelay: 200,
@@ -5531,7 +5531,7 @@ function Er() {
5531
5531
  needPreventDefault: !0
5532
5532
  };
5533
5533
  }
5534
- var Sr = /* @__PURE__ */ function() {
5534
+ var wr = /* @__PURE__ */ function() {
5535
5535
  function o(a) {
5536
5536
  var r = this, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
5537
5537
  eventType: "touch"
@@ -5552,9 +5552,9 @@ var Sr = /* @__PURE__ */ function() {
5552
5552
  start: !1,
5553
5553
  x: 0,
5554
5554
  y: 0
5555
- }, this.config = Er(), Object.keys(t).map(function(e) {
5555
+ }, this.config = Sr(), Object.keys(t).map(function(e) {
5556
5556
  r.config[e] = t[e];
5557
- }), this.root = a, this.events = t.eventType === "mouse" ? br : Tr, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
5557
+ }), this.root = a, this.events = t.eventType === "mouse" ? Er : br, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
5558
5558
  }
5559
5559
  return S(o, [{
5560
5560
  key: "_initEvent",
@@ -5633,7 +5633,7 @@ var Sr = /* @__PURE__ */ function() {
5633
5633
  }
5634
5634
  }]), o;
5635
5635
  }();
5636
- function wr() {
5636
+ function xr() {
5637
5637
  return new DOMParser().parseFromString(`<svg width="20" height="9" viewBox="0 0 8 9" fill="none" xmlns="http://www.w3.org/2000/svg"
5638
5638
  xmlns:xlink="http://www.w3.org/1999/xlink">
5639
5639
  <path opacity="0.54"
@@ -5647,7 +5647,7 @@ var Se = {
5647
5647
  SEEKING: "seeking",
5648
5648
  PLAYBACK: "playbackrate",
5649
5649
  LIGHT: ""
5650
- }, _t = ["videoClick", "videoDbClick"], xr = /* @__PURE__ */ function(o) {
5650
+ }, _t = ["videoClick", "videoDbClick"], Pr = /* @__PURE__ */ function(o) {
5651
5651
  w(r, o);
5652
5652
  var a = x(r);
5653
5653
  function r(t) {
@@ -5719,7 +5719,7 @@ var Se = {
5719
5719
  value: function() {
5720
5720
  return {
5721
5721
  seekTipIcon: {
5722
- icon: wr,
5722
+ icon: xr,
5723
5723
  class: "xg-seek-pre"
5724
5724
  }
5725
5725
  };
@@ -5734,7 +5734,7 @@ var Se = {
5734
5734
  var i = this.playerConfig, n = this.config, s = this.player;
5735
5735
  i.closeVideoDblclick === !0 && (n.closedbClick = !0), this.resetPos(), c.isUndefined(i.disableGesture) || (n.disableGesture = !!i.disableGesture), this.appendChild(".xg-seek-icon", this.icons.seekTipIcon), this.xgMask = c.createDom("xg-mask", "", {}, "xgmask"), s.root.appendChild(this.xgMask), this.initCustomStyle(), this.registerThumbnail();
5736
5736
  var u = this.domEventType === "mouse" ? "mouse" : "touch";
5737
- this.touch = new Sr(this.root, {
5737
+ this.touch = new wr(this.root, {
5738
5738
  eventType: u,
5739
5739
  needPreventDefault: !this.config.disableGesture
5740
5740
  }), this.root.addEventListener("contextmenu", function(d) {
@@ -6076,7 +6076,7 @@ var Se = {
6076
6076
  }
6077
6077
  }]), r;
6078
6078
  }(N);
6079
- function Pr(o) {
6079
+ function Ir(o) {
6080
6080
  o.preventDefault(), o.returnValue = !1;
6081
6081
  }
6082
6082
  function hi(o) {
@@ -6319,13 +6319,13 @@ var di = /* @__PURE__ */ function(o) {
6319
6319
  if (h === e) {
6320
6320
  if (!d && !(n && p)) {
6321
6321
  var m = n && g || f;
6322
- typeof m == "function" ? f(i, this.player, n) : typeof m == "string" && typeof this[m] == "function" && this[m](i, this.player, n), this.emit(Mi, U({
6322
+ typeof m == "function" ? f(i, this.player, n) : typeof m == "string" && typeof this[m] == "function" && this[m](i, this.player, n), this.emit(Ni, U({
6323
6323
  key: s[u],
6324
6324
  target: i.target,
6325
6325
  isPress: n
6326
6326
  }, this.keyCodeMap[s[u]]));
6327
6327
  }
6328
- Pr(i), i.stopPropagation();
6328
+ Ir(i), i.stopPropagation();
6329
6329
  break;
6330
6330
  }
6331
6331
  }
@@ -6367,13 +6367,13 @@ var di = /* @__PURE__ */ function(o) {
6367
6367
  }
6368
6368
  }]), r;
6369
6369
  }(he);
6370
- function Ir() {
6370
+ function Lr() {
6371
6371
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="-5 -5 110 110">
6372
6372
  <path d="M100,50A50,50,0,1,1,50,0" stroke-width="5" stroke="#ddd" stroke-dasharray="236" fill="none"></path>
6373
6373
  </svg>
6374
6374
  `, "image/svg+xml").firstChild;
6375
6375
  }
6376
- var Lr = /* @__PURE__ */ function(o) {
6376
+ var Ar = /* @__PURE__ */ function(o) {
6377
6377
  w(r, o);
6378
6378
  var a = x(r);
6379
6379
  function r() {
@@ -6383,7 +6383,7 @@ var Lr = /* @__PURE__ */ function(o) {
6383
6383
  key: "registerIcons",
6384
6384
  value: function() {
6385
6385
  return {
6386
- loadingIcon: Ir
6386
+ loadingIcon: Lr
6387
6387
  };
6388
6388
  }
6389
6389
  }, {
@@ -6412,7 +6412,7 @@ var Lr = /* @__PURE__ */ function(o) {
6412
6412
  };
6413
6413
  }
6414
6414
  }]), r;
6415
- }(N), Ar = [{
6415
+ }(N), Dr = [{
6416
6416
  tag: "xg-cache",
6417
6417
  className: "xgplayer-progress-cache",
6418
6418
  styleKey: "cachedColor"
@@ -6420,7 +6420,7 @@ var Lr = /* @__PURE__ */ function(o) {
6420
6420
  tag: "xg-played",
6421
6421
  className: "xgplayer-progress-played",
6422
6422
  styleKey: "playedColor"
6423
- }], Dr = /* @__PURE__ */ function() {
6423
+ }], Rr = /* @__PURE__ */ function() {
6424
6424
  function o(a) {
6425
6425
  E(this, o), this.fragments = a.fragments || [], this.fragments.length === 0 && this.fragments.push({
6426
6426
  percent: 1
@@ -6607,7 +6607,7 @@ var Lr = /* @__PURE__ */ function(o) {
6607
6607
  var u = c.createDom("xg-inner", "", {
6608
6608
  style: t ? "background:".concat(t, "; flex: ").concat(s.percent) : "flex: ".concat(s.percent)
6609
6609
  }, "".concat(s.isFocus ? n : "", " xgplayer-progress-inner ").concat(i));
6610
- return r.root.appendChild(u), Ar.forEach(function(l) {
6610
+ return r.root.appendChild(u), Dr.forEach(function(l) {
6611
6611
  u.appendChild(c.createDom(l.tag, "", {
6612
6612
  style: l.styleKey ? "background: ".concat(r.style[l.styleKey], "; width:0;") : "width:0;"
6613
6613
  }, l.className));
@@ -6623,7 +6623,7 @@ var Lr = /* @__PURE__ */ function(o) {
6623
6623
  }(), gi = {
6624
6624
  POINT: "inner-focus-point",
6625
6625
  HIGHLIGHT: "inner-focus-highlight"
6626
- }, Rr = /* @__PURE__ */ function(o) {
6626
+ }, Or = /* @__PURE__ */ function(o) {
6627
6627
  w(r, o);
6628
6628
  var a = x(r);
6629
6629
  function r(t) {
@@ -6753,7 +6753,7 @@ var Lr = /* @__PURE__ */ function(o) {
6753
6753
  e.emitUserAction("fragment_focus", "fragment_focus", l);
6754
6754
  }
6755
6755
  });
6756
- this.innerList ? this.innerList.reset(s) : (this.innerList = new Dr(s), this.outer.insertBefore(this.innerList.render(), this.outer.children[0]), ["findHightLight", "unHightLight", "setHightLight", "findFragment"].map(function(u) {
6756
+ this.innerList ? this.innerList.reset(s) : (this.innerList = new Rr(s), this.outer.insertBefore(this.innerList.render(), this.outer.children[0]), ["findHightLight", "unHightLight", "setHightLight", "findFragment"].map(function(u) {
6757
6757
  e[u] = e.innerList[u].bind(e.innerList);
6758
6758
  }));
6759
6759
  }
@@ -6787,7 +6787,7 @@ var Lr = /* @__PURE__ */ function(o) {
6787
6787
  e.onTimeupdate();
6788
6788
  }), this.on(ae, function() {
6789
6789
  e.onTimeupdate(), e.onCacheUpdate();
6790
- }), this.on(xi, function() {
6790
+ }), this.on(Pi, function() {
6791
6791
  e.onCacheUpdate();
6792
6792
  }), this.on(ke, function() {
6793
6793
  e.onCacheUpdate(!0), e.onTimeupdate(!0), e._state.now = 0;
@@ -7063,7 +7063,7 @@ var Lr = /* @__PURE__ */ function(o) {
7063
7063
  this.unbind("mouseenter", this._onMouseenter), this.unbind("mouseleave", this._onMouseLeave);
7064
7064
  }
7065
7065
  }]), r;
7066
- }(N), Or = /* @__PURE__ */ function(o) {
7066
+ }(N), Mr = /* @__PURE__ */ function(o) {
7067
7067
  w(r, o);
7068
7068
  var a = x(r);
7069
7069
  function r() {
@@ -7151,14 +7151,14 @@ var Lr = /* @__PURE__ */ function(o) {
7151
7151
  }
7152
7152
  }]), r;
7153
7153
  }(be);
7154
- function Mr() {
7154
+ function Nr() {
7155
7155
  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">
7156
7156
  <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
7157
7157
  <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>
7158
7158
  </g>
7159
7159
  </svg>`, "image/svg+xml").firstChild;
7160
7160
  }
7161
- var Nr = /* @__PURE__ */ function(o) {
7161
+ var Fr = /* @__PURE__ */ function(o) {
7162
7162
  w(r, o);
7163
7163
  var a = x(r);
7164
7164
  function r() {
@@ -7177,7 +7177,7 @@ var Nr = /* @__PURE__ */ function(o) {
7177
7177
  value: function() {
7178
7178
  return {
7179
7179
  screenBack: {
7180
- icon: Mr,
7180
+ icon: Nr,
7181
7181
  class: "xg-fullscreen-back"
7182
7182
  }
7183
7183
  };
@@ -7219,19 +7219,19 @@ var Nr = /* @__PURE__ */ function(o) {
7219
7219
  }
7220
7220
  }]), r;
7221
7221
  }(N);
7222
- function Fr() {
7222
+ function Br() {
7223
7223
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
7224
7224
  <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>
7225
7225
  </svg>
7226
7226
  `, "image/svg+xml").firstChild;
7227
7227
  }
7228
- function Br() {
7228
+ function Hr() {
7229
7229
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
7230
7230
  <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>
7231
7231
  </svg>
7232
7232
  `, "image/svg+xml").firstChild;
7233
7233
  }
7234
- var Hr = /* @__PURE__ */ function(o) {
7234
+ var Ur = /* @__PURE__ */ function(o) {
7235
7235
  w(r, o);
7236
7236
  var a = x(r);
7237
7237
  function r() {
@@ -7266,7 +7266,7 @@ var Hr = /* @__PURE__ */ function(o) {
7266
7266
  var l = e.find(".xg-tips");
7267
7267
  l && e.changeLangTextKey(l, u ? e.i18nKeys.EXITFULLSCREEN_TIPS : e.i18nKeys.FULLSCREEN_TIPS), e.animate(u);
7268
7268
  }), this.config.needBackIcon && (this.topBackIcon = this.player.registerPlugin({
7269
- plugin: Nr,
7269
+ plugin: Fr,
7270
7270
  options: {
7271
7271
  config: {
7272
7272
  onClick: function(l) {
@@ -7282,11 +7282,11 @@ var Hr = /* @__PURE__ */ function(o) {
7282
7282
  value: function() {
7283
7283
  return {
7284
7284
  fullscreen: {
7285
- icon: Fr,
7285
+ icon: Br,
7286
7286
  class: "xg-get-fullscreen"
7287
7287
  },
7288
7288
  exitFullscreen: {
7289
- icon: Br,
7289
+ icon: Hr,
7290
7290
  class: "xg-exit-fullscreen"
7291
7291
  }
7292
7292
  };
@@ -7367,7 +7367,7 @@ var Hr = /* @__PURE__ */ function(o) {
7367
7367
  };
7368
7368
  }
7369
7369
  }]), r;
7370
- }(be), Ur = /* @__PURE__ */ function(o) {
7370
+ }(be), Vr = /* @__PURE__ */ function(o) {
7371
7371
  w(r, o);
7372
7372
  var a = x(r);
7373
7373
  function r(t) {
@@ -7517,7 +7517,7 @@ var Hr = /* @__PURE__ */ function(o) {
7517
7517
  };
7518
7518
  }
7519
7519
  }]), r;
7520
- }(N), Vr = /* @__PURE__ */ function(o) {
7520
+ }(N), jr = /* @__PURE__ */ function(o) {
7521
7521
  w(r, o);
7522
7522
  var a = x(r);
7523
7523
  function r() {
@@ -7655,28 +7655,28 @@ var Hr = /* @__PURE__ */ function(o) {
7655
7655
  }
7656
7656
  }]), r;
7657
7657
  }(he);
7658
- function jr() {
7658
+ function Gr() {
7659
7659
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
7660
7660
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
7661
7661
  <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>
7662
7662
  </svg>
7663
7663
  `, "image/svg+xml").firstChild;
7664
7664
  }
7665
- function Gr() {
7665
+ function Wr() {
7666
7666
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
7667
7667
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
7668
7668
  <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>
7669
7669
  </svg>
7670
7670
  `, "image/svg+xml").firstChild;
7671
7671
  }
7672
- function Wr() {
7672
+ function zr() {
7673
7673
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
7674
7674
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
7675
7675
  <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>
7676
7676
  </svg>
7677
7677
  `, "image/svg+xml").firstChild;
7678
7678
  }
7679
- var zr = /* @__PURE__ */ function(o) {
7679
+ var Kr = /* @__PURE__ */ function(o) {
7680
7680
  w(r, o);
7681
7681
  var a = x(r);
7682
7682
  function r() {
@@ -7724,15 +7724,15 @@ var zr = /* @__PURE__ */ function(o) {
7724
7724
  value: function() {
7725
7725
  return {
7726
7726
  volumeSmall: {
7727
- icon: Gr,
7727
+ icon: Wr,
7728
7728
  class: "xg-volume-small"
7729
7729
  },
7730
7730
  volumeLarge: {
7731
- icon: jr,
7731
+ icon: Gr,
7732
7732
  class: "xg-volume"
7733
7733
  },
7734
7734
  volumeMuted: {
7735
- icon: Wr,
7735
+ icon: zr,
7736
7736
  class: "xg-volume-mute"
7737
7737
  }
7738
7738
  };
@@ -7754,7 +7754,7 @@ var zr = /* @__PURE__ */ function(o) {
7754
7754
  pre: function(l) {
7755
7755
  l.preventDefault(), l.stopPropagation();
7756
7756
  }
7757
- }), this._onMouseenterHandler = this.hook("mouseenter", this.onMouseenter), this._onMouseleaveHandler = this.hook("mouseleave", this.onMouseleave), A.device !== "mobile" && this.playerConfig.isMobileSimulateMode !== "mobile" && (this.bind("mouseenter", this._onMouseenterHandler), this.bind(["blur", "mouseleave"], this._onMouseleaveHandler), this.bind(".xgplayer-slider", "mousedown", this.onBarMousedown), this.bind(".xgplayer-slider", "mousemove", this.onBarMouseMove), this.bind(".xgplayer-slider", "mouseup", this.onBarMouseUp)), this.bind(".xgplayer-icon", ["touchend", "click"], this.changeMutedHandler), this.on(Si, this.onVolumeChange), this.once(oe, this.onVolumeChange), c.typeOf(s) !== "Number" && (this.player.volume = this.config.default), this.onVolumeChange();
7757
+ }), this._onMouseenterHandler = this.hook("mouseenter", this.onMouseenter), this._onMouseleaveHandler = this.hook("mouseleave", this.onMouseleave), A.device !== "mobile" && this.playerConfig.isMobileSimulateMode !== "mobile" && (this.bind("mouseenter", this._onMouseenterHandler), this.bind(["blur", "mouseleave"], this._onMouseleaveHandler), this.bind(".xgplayer-slider", "mousedown", this.onBarMousedown), this.bind(".xgplayer-slider", "mousemove", this.onBarMouseMove), this.bind(".xgplayer-slider", "mouseup", this.onBarMouseUp)), this.bind(".xgplayer-icon", ["touchend", "click"], this.changeMutedHandler), this.on(wi, this.onVolumeChange), this.once(oe, this.onVolumeChange), c.typeOf(s) !== "Number" && (this.player.volume = this.config.default), this.onVolumeChange();
7758
7758
  }
7759
7759
  }
7760
7760
  }, {
@@ -7871,7 +7871,7 @@ var zr = /* @__PURE__ */ function(o) {
7871
7871
  }
7872
7872
  }]), r;
7873
7873
  }(N);
7874
- function Kr() {
7874
+ function Yr() {
7875
7875
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="-4 -6 40 40" fill="none">
7876
7876
  <g clip-path="url(#clip0)">
7877
7877
  <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"/>
@@ -7885,7 +7885,7 @@ function Kr() {
7885
7885
  </svg>
7886
7886
  `, "image/svg+xml").firstChild;
7887
7887
  }
7888
- var Yr = /* @__PURE__ */ function(o) {
7888
+ var $r = /* @__PURE__ */ function(o) {
7889
7889
  w(r, o);
7890
7890
  var a = x(r);
7891
7891
  function r(t) {
@@ -7942,13 +7942,13 @@ var Yr = /* @__PURE__ */ function(o) {
7942
7942
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 1, s = this.player;
7943
7943
  this.rotateDeg || (this.rotateDeg = 0);
7944
7944
  var u = e ? 1 : -1;
7945
- this.rotateDeg = (this.rotateDeg + 1 + u * 0.25 * n) % 1, this.updateRotateDeg(this.rotateDeg, i), s.emit(Ri, this.rotateDeg * 360);
7945
+ this.rotateDeg = (this.rotateDeg + 1 + u * 0.25 * n) % 1, this.updateRotateDeg(this.rotateDeg, i), s.emit(Oi, this.rotateDeg * 360);
7946
7946
  }
7947
7947
  }, {
7948
7948
  key: "registerIcons",
7949
7949
  value: function() {
7950
7950
  return {
7951
- rotate: Kr
7951
+ rotate: Yr
7952
7952
  };
7953
7953
  }
7954
7954
  }, {
@@ -7981,14 +7981,14 @@ var Yr = /* @__PURE__ */ function(o) {
7981
7981
  }
7982
7982
  }]), r;
7983
7983
  }(be);
7984
- function $r() {
7984
+ function Xr() {
7985
7985
  return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
7986
7986
  <path fill-rule="evenodd" clip-rule="evenodd"
7987
7987
  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"
7988
7988
  fill="white" />
7989
7989
  </svg>`, "image/svg+xml").firstChild;
7990
7990
  }
7991
- function Xr() {
7991
+ function qr() {
7992
7992
  return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
7993
7993
  <path fill-rule="evenodd" clip-rule="evenodd"
7994
7994
  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"
@@ -8002,7 +8002,7 @@ var we = {
8002
8002
  PIP: "picture-in-picture",
8003
8003
  INLINE: "inline",
8004
8004
  FULLSCREEN: "fullscreen"
8005
- }, qr = /* @__PURE__ */ function(o) {
8005
+ }, Zr = /* @__PURE__ */ function(o) {
8006
8006
  w(r, o);
8007
8007
  var a = x(r);
8008
8008
  function r() {
@@ -8042,11 +8042,11 @@ var we = {
8042
8042
  value: function() {
8043
8043
  return {
8044
8044
  pipIcon: {
8045
- icon: $r,
8045
+ icon: Xr,
8046
8046
  class: "xg-get-pip"
8047
8047
  },
8048
8048
  pipIconExit: {
8049
- icon: Xr,
8049
+ icon: qr,
8050
8050
  class: "xg-exit-pip"
8051
8051
  }
8052
8052
  };
@@ -8205,13 +8205,13 @@ var we = {
8205
8205
  }
8206
8206
  }]), r;
8207
8207
  }(be);
8208
- function Zr() {
8208
+ function Jr() {
8209
8209
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="40" viewBox="10 0 24 40">
8210
8210
  <path transform="scale(0.038 0.028)" d="M800 380v768h-128v-352l-320 320v-704l320 320v-352z"></path>
8211
8211
  </svg>
8212
8212
  `, "image/svg+xml").firstChild;
8213
8213
  }
8214
- var Jr = /* @__PURE__ */ function(o) {
8214
+ var Qr = /* @__PURE__ */ function(o) {
8215
8215
  w(r, o);
8216
8216
  var a = x(r);
8217
8217
  function r(t) {
@@ -8230,7 +8230,7 @@ var Jr = /* @__PURE__ */ function(o) {
8230
8230
  key: "registerIcons",
8231
8231
  value: function() {
8232
8232
  return {
8233
- playNext: Zr
8233
+ playNext: Jr
8234
8234
  };
8235
8235
  }
8236
8236
  }, {
@@ -8279,11 +8279,11 @@ var Jr = /* @__PURE__ */ function(o) {
8279
8279
  };
8280
8280
  }
8281
8281
  }]), r;
8282
- }(N), Yi = { exports: {} };
8282
+ }(N), $i = { exports: {} };
8283
8283
  (function(o, a) {
8284
8284
  (function(r, t) {
8285
8285
  o.exports = t();
8286
- })(_n, function() {
8286
+ })(Cn, function() {
8287
8287
  return function r(t, e, i) {
8288
8288
  var n = window, s = "application/octet-stream", u = i || s, l = t, f = !e && !i && l, h = document.createElement("a"), d = function(L) {
8289
8289
  return String(L);
@@ -8351,10 +8351,10 @@ Use Save As... to download, then click back to return to this page.`) && (locati
8351
8351
  return !0;
8352
8352
  };
8353
8353
  });
8354
- })(Yi);
8355
- var Qr = Yi.exports;
8356
- const es = /* @__PURE__ */ It(Qr);
8357
- function ts() {
8354
+ })($i);
8355
+ var es = $i.exports;
8356
+ const ts = /* @__PURE__ */ It(es);
8357
+ function is() {
8358
8358
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24">
8359
8359
  <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8360
8360
  <g transform="translate(-488.000000, -340.000000)" fill="#FFFFFF">
@@ -8371,7 +8371,7 @@ function ts() {
8371
8371
  </svg>
8372
8372
  `, "image/svg+xml").firstChild;
8373
8373
  }
8374
- var is = /* @__PURE__ */ function(o) {
8374
+ var ns = /* @__PURE__ */ function(o) {
8375
8375
  w(r, o);
8376
8376
  var a = x(r);
8377
8377
  function r(t) {
@@ -8382,7 +8382,7 @@ var is = /* @__PURE__ */ function(o) {
8382
8382
  var n = e.playerConfig.url, s = "";
8383
8383
  c.typeOf(n) === "String" ? s = n : c.typeOf(n) === "Array" && n.length > 0 && (s = n[0].src);
8384
8384
  var u = e.getAbsoluteURL(s);
8385
- es(u), e.isLock = !0, e.timer = window.setTimeout(function() {
8385
+ ts(u), e.isLock = !0, e.timer = window.setTimeout(function() {
8386
8386
  e.isLock = !1, window.clearTimeout(e.timer), e.timer = null;
8387
8387
  }, 300);
8388
8388
  }
@@ -8401,7 +8401,7 @@ var is = /* @__PURE__ */ function(o) {
8401
8401
  key: "registerIcons",
8402
8402
  value: function() {
8403
8403
  return {
8404
- download: ts
8404
+ download: is
8405
8405
  };
8406
8406
  }
8407
8407
  }, {
@@ -8443,7 +8443,7 @@ var is = /* @__PURE__ */ function(o) {
8443
8443
  };
8444
8444
  }
8445
8445
  }]), r;
8446
- }(be), ns = /* @__PURE__ */ function(o) {
8446
+ }(be), rs = /* @__PURE__ */ function(o) {
8447
8447
  w(r, o);
8448
8448
  var a = x(r);
8449
8449
  function r() {
@@ -8498,7 +8498,7 @@ var is = /* @__PURE__ */ function(o) {
8498
8498
  e.preventDefault(), e.stopPropagation(), this.emitUserAction(e, "shot");
8499
8499
  var n = this.config;
8500
8500
  this.shot(n.width, n.height).then(function(s) {
8501
- i.emit(Oi, s), n.saveImg && i.saveScreenShot(s, n.name + n.format);
8501
+ i.emit(Mi, s), n.saveImg && i.saveScreenShot(s, n.name + n.format);
8502
8502
  });
8503
8503
  }
8504
8504
  }, {
@@ -8569,7 +8569,7 @@ var is = /* @__PURE__ */ function(o) {
8569
8569
  };
8570
8570
  }
8571
8571
  }]), r;
8572
- }(be), rs = /* @__PURE__ */ function() {
8572
+ }(be), ss = /* @__PURE__ */ function() {
8573
8573
  function o(a) {
8574
8574
  E(this, o), this.config = a.config, this.parent = a.root, this.root = c.createDom("ul", "", {}, "xg-options-list xg-list-slide-scroll ".concat(this.config.className)), a.root.appendChild(this.root);
8575
8575
  var r = this.config.maxHeight;
@@ -8649,7 +8649,7 @@ var is = /* @__PURE__ */ function(o) {
8649
8649
  CLICK: "click",
8650
8650
  HOVER: "hover"
8651
8651
  };
8652
- function ss(o, a) {
8652
+ function as(o, a) {
8653
8653
  return o === te.SIDE ? a === H.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
8654
8654
  }
8655
8655
  var me = A.device === "mobile", et = /* @__PURE__ */ function(o) {
@@ -8763,7 +8763,7 @@ var me = A.device === "mobile", et = /* @__PURE__ */ function(o) {
8763
8763
  var f = {
8764
8764
  config: {
8765
8765
  data: e || [],
8766
- className: ss(s.listType, s.position),
8766
+ className: as(s.listType, s.position),
8767
8767
  onItemClick: function(m, _) {
8768
8768
  n.onItemClick(m, _);
8769
8769
  },
@@ -8773,7 +8773,7 @@ var me = A.device === "mobile", et = /* @__PURE__ */ function(o) {
8773
8773
  };
8774
8774
  if (this.config.isShowIcon) {
8775
8775
  var h = this.player.root.getBoundingClientRect(), d = h.height, g = s.listType === te.MIDDLE ? d - 50 : d;
8776
- g && s.heightLimit && (f.config.maxHeight = "".concat(g, "px")), this.optionsList = new rs(f), this.changeCurrentText(), this.show();
8776
+ g && s.heightLimit && (f.config.maxHeight = "".concat(g, "px")), this.optionsList = new ss(f), this.changeCurrentText(), this.show();
8777
8777
  }
8778
8778
  this._resizeList();
8779
8779
  }
@@ -8824,7 +8824,7 @@ var me = A.device === "mobile", et = /* @__PURE__ */ function(o) {
8824
8824
  };
8825
8825
  }
8826
8826
  }]), r;
8827
- }(N), as = /* @__PURE__ */ function(o) {
8827
+ }(N), os = /* @__PURE__ */ function(o) {
8828
8828
  w(r, o);
8829
8829
  var a = x(r);
8830
8830
  function r(t) {
@@ -8925,7 +8925,7 @@ var me = A.device === "mobile", et = /* @__PURE__ */ function(o) {
8925
8925
  });
8926
8926
  }
8927
8927
  }]), r;
8928
- }(et), os = /* @__PURE__ */ function(o) {
8928
+ }(et), us = /* @__PURE__ */ function(o) {
8929
8929
  w(r, o);
8930
8930
  var a = x(r);
8931
8931
  function r(t) {
@@ -8947,7 +8947,7 @@ var me = A.device === "mobile", et = /* @__PURE__ */ function(o) {
8947
8947
  key: "afterCreate",
8948
8948
  value: function() {
8949
8949
  var e = this;
8950
- I(P(r.prototype), "afterCreate", this).call(this), this.on(wi, function() {
8950
+ I(P(r.prototype), "afterCreate", this).call(this), this.on(xi, function() {
8951
8951
  e.curValue !== e.player.playbackRate && e.renderItemList();
8952
8952
  }), this.renderItemList();
8953
8953
  }
@@ -9018,13 +9018,13 @@ var me = A.device === "mobile", et = /* @__PURE__ */ function(o) {
9018
9018
  }
9019
9019
  }]), r;
9020
9020
  }(et);
9021
- function us() {
9021
+ function ls() {
9022
9022
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
9023
9023
  <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>
9024
9024
  </svg>
9025
9025
  `, "image/svg+xml").firstChild;
9026
9026
  }
9027
- function ls() {
9027
+ function cs() {
9028
9028
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
9029
9029
  <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>
9030
9030
  </svg>
@@ -9084,11 +9084,11 @@ var pi = /* @__PURE__ */ function(o) {
9084
9084
  value: function() {
9085
9085
  return {
9086
9086
  cssFullscreen: {
9087
- icon: us,
9087
+ icon: ls,
9088
9088
  class: "xg-get-cssfull"
9089
9089
  },
9090
9090
  exitCssFullscreen: {
9091
- icon: ls,
9091
+ icon: cs,
9092
9092
  class: "xg-exit-cssfull"
9093
9093
  }
9094
9094
  };
@@ -9124,7 +9124,7 @@ var pi = /* @__PURE__ */ function(o) {
9124
9124
  };
9125
9125
  }
9126
9126
  }]), r;
9127
- }(be), cs = /* @__PURE__ */ function(o) {
9127
+ }(be), fs = /* @__PURE__ */ function(o) {
9128
9128
  w(r, o);
9129
9129
  var a = x(r);
9130
9130
  function r() {
@@ -9185,7 +9185,7 @@ var pi = /* @__PURE__ */ function(o) {
9185
9185
  return "error";
9186
9186
  }
9187
9187
  }]), r;
9188
- }(N), fs = /* @__PURE__ */ function(o) {
9188
+ }(N), hs = /* @__PURE__ */ function(o) {
9189
9189
  w(r, o);
9190
9190
  var a = x(r);
9191
9191
  function r() {
@@ -9273,7 +9273,7 @@ var pi = /* @__PURE__ */ function(o) {
9273
9273
  width: 6,
9274
9274
  height: 6
9275
9275
  };
9276
- function $i(o) {
9276
+ function Xi(o) {
9277
9277
  Object.keys(vi).map(function(a) {
9278
9278
  o[a] === void 0 && (o[a] = vi[a]);
9279
9279
  });
@@ -9295,7 +9295,7 @@ var mi = {
9295
9295
  },
9296
9296
  createDot: function(a) {
9297
9297
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, t = this.player.plugins.progress;
9298
- if (t && (r && ($i(a), this._ispots.push(a)), !(!this.ispotsInit && r))) {
9298
+ if (t && (r && (Xi(a), this._ispots.push(a)), !(!this.ispotsInit && r))) {
9299
9299
  var e = this.calcuPosition(a.time, a.duration), i = a.style || {};
9300
9300
  i.left = "".concat(e.left, "%"), i.width = "".concat(e.width, "%");
9301
9301
  var n = "xgspot_".concat(a.id, " xgplayer-spot");
@@ -9415,14 +9415,14 @@ var mi = {
9415
9415
  return r.find('xg-spot[data-id="'.concat(a, '"]'));
9416
9416
  }
9417
9417
  };
9418
- function hs(o) {
9418
+ function ds(o) {
9419
9419
  var a = o.config, r = o.player;
9420
9420
  Object.keys(mi).map(function(e) {
9421
9421
  o[e] = mi[e].bind(o);
9422
9422
  });
9423
9423
  var t = r.config.progressDot || a.ispots || [];
9424
9424
  o._ispots = t.map(function(e) {
9425
- return $i(e), e;
9425
+ return Xi(e), e;
9426
9426
  }), o.ispotsInit = !1, o.playerSize = {
9427
9427
  left: r.sizeInfo.left,
9428
9428
  width: r.sizeInfo.width
@@ -9439,7 +9439,7 @@ var Pe = {
9439
9439
  click: "onProgressClick",
9440
9440
  mouseover: "onProgressMouseOver",
9441
9441
  mouseenter: "onProgressMouseOver"
9442
- }, ds = /* @__PURE__ */ function(o) {
9442
+ }, gs = /* @__PURE__ */ function(o) {
9443
9443
  w(r, o);
9444
9444
  var a = x(r);
9445
9445
  function r(t) {
@@ -9490,7 +9490,7 @@ var Pe = {
9490
9490
  n.seekTime && e.player.seek(n.seekTime);
9491
9491
  }), this.transformTimeHook = this.hook("transformTime", function(i) {
9492
9492
  e.setTimeContent(c.format(i));
9493
- }), hs(this), this.on(de, function() {
9493
+ }), ds(this), this.on(de, function() {
9494
9494
  e.show();
9495
9495
  }), this.config.disable && this.disable(), this.extTextRoot = this.find(".xg-spot-ext-text");
9496
9496
  }
@@ -9714,7 +9714,7 @@ var Pe = {
9714
9714
  };
9715
9715
  }
9716
9716
  }]), r;
9717
- }(N), gs = /* @__PURE__ */ function(o) {
9717
+ }(N), ps = /* @__PURE__ */ function(o) {
9718
9718
  w(r, o);
9719
9719
  var a = x(r);
9720
9720
  function r(t) {
@@ -9852,7 +9852,7 @@ var Pe = {
9852
9852
  function Ct(o) {
9853
9853
  return o ? "background:".concat(o, ";") : "";
9854
9854
  }
9855
- var ps = /* @__PURE__ */ function(o) {
9855
+ var vs = /* @__PURE__ */ function(o) {
9856
9856
  w(r, o);
9857
9857
  var a = x(r);
9858
9858
  function r() {
@@ -9940,14 +9940,14 @@ var ps = /* @__PURE__ */ function(o) {
9940
9940
  FRAME_RATE: "framerate",
9941
9941
  POSTER: "poster"
9942
9942
  };
9943
- function vs() {
9943
+ function ms() {
9944
9944
  try {
9945
9945
  return parseInt(window.performance.now(), 10);
9946
9946
  } catch {
9947
9947
  return (/* @__PURE__ */ new Date()).getTime();
9948
9948
  }
9949
9949
  }
9950
- function ms() {
9950
+ function ys() {
9951
9951
  try {
9952
9952
  var o = document.createElement("canvas").getContext;
9953
9953
  return !!o;
@@ -9955,7 +9955,7 @@ function ms() {
9955
9955
  return !1;
9956
9956
  }
9957
9957
  }
9958
- var Ge = null, ys = /* @__PURE__ */ function(o) {
9958
+ var Ge = null, _s = /* @__PURE__ */ function(o) {
9959
9959
  w(r, o);
9960
9960
  var a = x(r);
9961
9961
  function r() {
@@ -9976,7 +9976,7 @@ var Ge = null, ys = /* @__PURE__ */ function(o) {
9976
9976
  !t.player.paused && t._checkIfCanStart() && t.start(0, u);
9977
9977
  }
9978
9978
  }), y(v(t), "start", function(s, u) {
9979
- var l = t.player.video, f = vs(), h = t.checkVideoIsSupport(l);
9979
+ var l = t.player.video, f = ms(), h = t.checkVideoIsSupport(l);
9980
9980
  !h || !t.canvasCtx || (u || (u = t.interval), t.stop(), l.videoWidth && l.videoHeight && (t.videoPI = l.videoHeight > 0 ? parseInt(l.videoWidth / l.videoHeight * 100, 10) : 0, (t.config.mode === Ie.REAL_TIME || f - t.preTime >= u) && (l && l.videoWidth && t.update(h, t.videoPI), t.preTime = f)), t.frameId = t._loopType === "timer" ? c.setTimeout(v(t), t.start, u) : c.requestAnimationFrame(t.start));
9981
9981
  }), y(v(t), "stop", function() {
9982
9982
  t.frameId && (t._loopType === "timer" ? c.clearTimeout(v(t), t.frameId) : c.cancelAnimationFrame(t.frameId), t.frameId = null);
@@ -10149,7 +10149,7 @@ var Ge = null, ys = /* @__PURE__ */ function(o) {
10149
10149
  }, {
10150
10150
  key: "isSupport",
10151
10151
  get: function() {
10152
- return typeof Ge == "boolean" || (Ge = ms()), Ge;
10152
+ return typeof Ge == "boolean" || (Ge = ys()), Ge;
10153
10153
  }
10154
10154
  }, {
10155
10155
  key: "supportCanvasFilter",
@@ -10157,7 +10157,7 @@ var Ge = null, ys = /* @__PURE__ */ function(o) {
10157
10157
  return !(A.browser === "safari" || A.browser === "firefox");
10158
10158
  }
10159
10159
  }]), r;
10160
- }(N), _s = {
10160
+ }(N), Cs = {
10161
10161
  LANG: "zh-cn",
10162
10162
  TEXT: {
10163
10163
  ERROR_TYPES: {
@@ -10232,7 +10232,7 @@ var Ge = null, ys = /* @__PURE__ */ function(o) {
10232
10232
  FORWARD: "快进中",
10233
10233
  LIVE_TIP: "直播"
10234
10234
  }
10235
- }, Me = "info", kt = Ui, Cs = /* @__PURE__ */ function(o) {
10235
+ }, Me = "info", kt = Vi, ks = /* @__PURE__ */ function(o) {
10236
10236
  w(r, o);
10237
10237
  var a = x(r);
10238
10238
  function r() {
@@ -10376,7 +10376,7 @@ var Ge = null, ys = /* @__PURE__ */ function(o) {
10376
10376
  return {};
10377
10377
  }
10378
10378
  }]), r;
10379
- }(he), Xi = /* @__PURE__ */ function(o) {
10379
+ }(he), qi = /* @__PURE__ */ function(o) {
10380
10380
  w(r, o);
10381
10381
  var a = x(r);
10382
10382
  function r() {
@@ -10465,8 +10465,8 @@ var Ge = null, ys = /* @__PURE__ */ function(o) {
10465
10465
  }
10466
10466
  }]), r;
10467
10467
  }(N);
10468
- Xi.BROWSER_GAP_TOLERANCE = 1e-3;
10469
- var ks = /* @__PURE__ */ function(o) {
10468
+ qi.BROWSER_GAP_TOLERANCE = 1e-3;
10469
+ var Ts = /* @__PURE__ */ function(o) {
10470
10470
  w(r, o);
10471
10471
  var a = x(r);
10472
10472
  function r() {
@@ -10512,7 +10512,7 @@ var ks = /* @__PURE__ */ function(o) {
10512
10512
  };
10513
10513
  }
10514
10514
  }]), r;
10515
- }(N), Le = "cdn", We = ["cdn"], Ts = /* @__PURE__ */ function(o) {
10515
+ }(N), Le = "cdn", We = ["cdn"], bs = /* @__PURE__ */ function(o) {
10516
10516
  w(r, o);
10517
10517
  var a = x(r);
10518
10518
  function r() {
@@ -10638,7 +10638,7 @@ var ks = /* @__PURE__ */ function(o) {
10638
10638
  };
10639
10639
  }
10640
10640
  }]), r;
10641
- }(N), bs = /* @__PURE__ */ function(o) {
10641
+ }(N), Es = /* @__PURE__ */ function(o) {
10642
10642
  w(r, o);
10643
10643
  var a = x(r);
10644
10644
  function r() {
@@ -10705,7 +10705,7 @@ var ks = /* @__PURE__ */ function(o) {
10705
10705
  totalVideoFrames: i,
10706
10706
  droppedVideoFrames: n,
10707
10707
  checkInterval: s
10708
- }), this._currentStuckCount >= this.config.stuckCount && (this.emit(Vi, this._payload), this._reset())) : this._reset());
10708
+ }), this._currentStuckCount >= this.config.stuckCount && (this.emit(ji, this._payload), this._reset())) : this._reset());
10709
10709
  }
10710
10710
  }
10711
10711
  }, {
@@ -10748,24 +10748,24 @@ var ks = /* @__PURE__ */ function(o) {
10748
10748
  }
10749
10749
  }]), r;
10750
10750
  }(N);
10751
- De.use(_s);
10752
- var Es = /* @__PURE__ */ S(function o(a, r) {
10751
+ De.use(Cs);
10752
+ var Ss = /* @__PURE__ */ S(function o(a, r) {
10753
10753
  var t, e, i;
10754
10754
  E(this, o);
10755
- var n = r && r.isMobileSimulateMode === "mobile", s = r.isLive, u = s ? [] : [Vr, Rr, ps, ds, Ur], l = [].concat(u, [Or, Hr, Yr, Jr, as, os, is, ns, zr, qr]), f = [dr, gr, vr, Lr, mr, cs, fs, gs, kr];
10756
- this.plugins = [Cs, fr].concat(Q(l), f, [Xi, ks]);
10755
+ var n = r && r.isMobileSimulateMode === "mobile", s = r.isLive, u = s ? [] : [jr, Or, vs, gs, Vr], l = [].concat(u, [Mr, Ur, $r, Qr, os, us, ns, rs, Kr, Zr]), f = [gr, pr, mr, Ar, yr, fs, hs, ps, Tr];
10756
+ this.plugins = [ks, hr].concat(Q(l), f, [qi, Ts]);
10757
10757
  var h = n ? "mobile" : A.device;
10758
10758
  switch (h) {
10759
10759
  case "pc":
10760
- (t = this.plugins).push.apply(t, [di, yt, pi, Ts, bs]);
10760
+ (t = this.plugins).push.apply(t, [di, yt, pi, bs, Es]);
10761
10761
  break;
10762
10762
  case "mobile":
10763
- (e = this.plugins).push.apply(e, [xr]);
10763
+ (e = this.plugins).push.apply(e, [Pr]);
10764
10764
  break;
10765
10765
  default:
10766
10766
  (i = this.plugins).push.apply(i, [di, yt, pi]);
10767
10767
  }
10768
- (A.os.isIpad || h === "pc") && this.plugins.push(ys), A.os.isIpad && this.plugins.push(yt), this.ignores = [], this.i18n = [];
10768
+ (A.os.isIpad || h === "pc") && this.plugins.push(_s), A.os.isIpad && this.plugins.push(yt), this.ignores = [], this.i18n = [];
10769
10769
  }), ee = /* @__PURE__ */ function(o) {
10770
10770
  w(r, o);
10771
10771
  var a = x(r);
@@ -10774,79 +10774,82 @@ var Es = /* @__PURE__ */ S(function o(a, r) {
10774
10774
  }
10775
10775
  return S(r);
10776
10776
  }(st);
10777
- y(ee, "defaultPreset", Es);
10777
+ y(ee, "defaultPreset", Ss);
10778
10778
  y(ee, "Util", c);
10779
10779
  y(ee, "Sniffer", A);
10780
10780
  y(ee, "Errors", ze);
10781
- y(ee, "Events", Hn);
10781
+ y(ee, "Events", Un);
10782
10782
  y(ee, "Plugin", N);
10783
10783
  y(ee, "BasePlugin", he);
10784
10784
  y(ee, "I18N", De);
10785
10785
  y(ee, "STATE_CLASS", C);
10786
- y(ee, "InstManager", zi);
10787
- const Ss = (o) => {
10788
- const a = Oe("loadUrl"), r = _e(() => o.loadUrl || o.fileUrl || (a == null ? void 0 : a.value)), t = Oe("uploadUrl"), e = _e(() => o.action || o.uploadUrl || (t == null ? void 0 : t.value)), i = Oe("token"), n = _e(() => o.token || (i == null ? void 0 : i.value)), s = Oe("onlyofficeConfig"), u = _e(() => o.onlyofficeConfig || (s == null ? void 0 : s.value)), l = Oe("userInfo"), f = _e(() => o.userInfo || (l == null ? void 0 : l.value));
10786
+ y(ee, "InstManager", Ki);
10787
+ const yi = [
10788
+ "csv",
10789
+ "djvu",
10790
+ "doc",
10791
+ "docm",
10792
+ "docx",
10793
+ "docxf",
10794
+ "dot",
10795
+ "dotm",
10796
+ "dotx",
10797
+ "epub",
10798
+ "fb2",
10799
+ "fodp",
10800
+ "fods",
10801
+ "fodt",
10802
+ "htm",
10803
+ "html",
10804
+ "mht",
10805
+ "odp",
10806
+ "ods",
10807
+ "odt",
10808
+ "oform",
10809
+ "otp",
10810
+ "ots",
10811
+ "ott",
10812
+ "oxps",
10813
+ "pdf",
10814
+ "pot",
10815
+ "potm",
10816
+ "potx",
10817
+ "pps",
10818
+ "ppsm",
10819
+ "ppsx",
10820
+ "ppt",
10821
+ "pptm",
10822
+ "pptx",
10823
+ "rtf",
10824
+ "txt",
10825
+ "xls",
10826
+ "xlsb",
10827
+ "xlsm",
10828
+ "xlsx",
10829
+ "xlt",
10830
+ "xltm",
10831
+ "xltx",
10832
+ "xml",
10833
+ "xps",
10834
+ "png",
10835
+ "jpeg",
10836
+ "jpg",
10837
+ "webp",
10838
+ "video",
10839
+ "mp4",
10840
+ "flv",
10841
+ "tls"
10842
+ ], ws = (o) => {
10843
+ const a = Oe("loadUrl"), r = _e(() => o.loadUrl || o.fileUrl || (a == null ? void 0 : a.value)), t = Oe("uploadUrl"), e = _e(() => o.action || o.uploadUrl || (t == null ? void 0 : t.value)), i = Oe("token"), n = _e(() => o.token || (i == null ? void 0 : i.value)), s = Oe("onlyofficeConfig"), u = _e(() => o.onlyofficeConfig || (s == null ? void 0 : s.value)), l = Oe("userInfo"), f = _e(() => o.userInfo || (l == null ? void 0 : l.value)), h = [...yi, ...yi.map((d) => d.toLocaleUpperCase())];
10789
10844
  return {
10790
10845
  cLoadUrl: r,
10791
10846
  cUploadUrl: e,
10792
10847
  cToken: n,
10793
10848
  cOnlyofficeConfig: u,
10794
10849
  cUserInfo: f,
10795
- cOnlyofficePreviewType: [
10796
- "csv",
10797
- "djvu",
10798
- "doc",
10799
- "docm",
10800
- "docx",
10801
- "docxf",
10802
- "dot",
10803
- "dotm",
10804
- "dotx",
10805
- "epub",
10806
- "fb2",
10807
- "fodp",
10808
- "fods",
10809
- "fodt",
10810
- "htm",
10811
- "html",
10812
- "mht",
10813
- "odp",
10814
- "ods",
10815
- "odt",
10816
- "oform",
10817
- "otp",
10818
- "ots",
10819
- "ott",
10820
- "oxps",
10821
- "pdf",
10822
- "pot",
10823
- "potm",
10824
- "potx",
10825
- "pps",
10826
- "ppsm",
10827
- "ppsx",
10828
- "ppt",
10829
- "pptm",
10830
- "pptx",
10831
- "rtf",
10832
- "txt",
10833
- "xls",
10834
- "xlsb",
10835
- "xlsm",
10836
- "xlsx",
10837
- "xlt",
10838
- "xltm",
10839
- "xltx",
10840
- "xml",
10841
- "xps",
10842
- "png",
10843
- "jpeg",
10844
- "jpg",
10845
- "video",
10846
- "mp4"
10847
- ]
10850
+ cOnlyofficePreviewType: h
10848
10851
  };
10849
- }, ws = Ss, xs = (o, a) => a ? a.startsWith("http") ? a : `${o || location.origin}${a}` : "", Ps = ["id"], Is = /* @__PURE__ */ yi({
10852
+ }, xs = ws, Ps = (o, a) => a ? a.startsWith("http") ? a : `${o || location.origin}${a}` : "", Is = ["id"], Ls = /* @__PURE__ */ _i({
10850
10853
  name: "ElImageViewer",
10851
10854
  __name: "Player",
10852
10855
  props: /* @__PURE__ */ Vt({
@@ -10875,7 +10878,7 @@ const Ss = (o) => {
10875
10878
  }, ["update:modelValue"]),
10876
10879
  setup(o, { emit: a }) {
10877
10880
  let r = null;
10878
- const t = o, { cLoadUrl: e } = ws(t), i = _e(() => xs(e.value, t.url)), n = {
10881
+ const t = o, { cLoadUrl: e } = xs(t), i = _e(() => Ps(e.value, t.url)), n = {
10879
10882
  width: "100%",
10880
10883
  height: "100%",
10881
10884
  // 是否自动播放
@@ -10896,12 +10899,12 @@ const Ss = (o) => {
10896
10899
  }, s = _e(() => ({
10897
10900
  ...n,
10898
10901
  ...t.config
10899
- })), u = a, l = Zi(o, "modelValue"), f = on(), h = un("image-viewer");
10902
+ })), u = a, l = Ji(o, "modelValue"), f = un(), h = ln("image-viewer");
10900
10903
  function d() {
10901
10904
  u("close"), l.value = !1, r.destroy();
10902
10905
  }
10903
- return Ji(() => l.value, (g) => {
10904
- g && Qi(() => {
10906
+ return Qi(() => l.value, (g) => {
10907
+ g && en(() => {
10905
10908
  r = new ee({
10906
10909
  id: f,
10907
10910
  url: i.value,
@@ -10909,12 +10912,12 @@ const Ss = (o) => {
10909
10912
  });
10910
10913
  });
10911
10914
  }), (g, p) => {
10912
- const m = en("el-icon");
10913
- return l.value ? (_i(), tn(nn, {
10915
+ const m = tn("el-icon");
10916
+ return l.value ? (Ci(), nn(rn, {
10914
10917
  key: 0,
10915
10918
  to: "body"
10916
10919
  }, [
10917
- at(rn, {
10920
+ at(sn, {
10918
10921
  name: "viewer-fade",
10919
10922
  appear: ""
10920
10923
  }, {
@@ -10925,7 +10928,7 @@ const Ss = (o) => {
10925
10928
  ref: "wrapper",
10926
10929
  tabindex: -1,
10927
10930
  class: Ue(ve(h).e("wrapper")),
10928
- style: sn({ zIndex: o.zIndex })
10931
+ style: an({ zIndex: o.zIndex })
10929
10932
  },
10930
10933
  [
10931
10934
  Ae(
@@ -10944,7 +10947,7 @@ const Ss = (o) => {
10944
10947
  class: Ue(ve(h).e("canvas"))
10945
10948
  },
10946
10949
  [
10947
- Ae("div", { id: ve(f) }, null, 8, Ps),
10950
+ Ae("div", { id: ve(f) }, null, 8, Is),
10948
10951
  ot(" CLOSE "),
10949
10952
  Ae(
10950
10953
  "span",
@@ -10955,7 +10958,7 @@ const Ss = (o) => {
10955
10958
  [
10956
10959
  at(m, { onClick: d }, {
10957
10960
  default: jt(() => [
10958
- at(ve(fn))
10961
+ at(ve(hn))
10959
10962
  ]),
10960
10963
  _: 1
10961
10964
  /* STABLE */
@@ -10968,7 +10971,7 @@ const Ss = (o) => {
10968
10971
  2
10969
10972
  /* CLASS */
10970
10973
  ),
10971
- an(g.$slots, "default", {}, void 0, !0)
10974
+ on(g.$slots, "default", {}, void 0, !0)
10972
10975
  ],
10973
10976
  6
10974
10977
  /* CLASS, STYLE */
@@ -10981,13 +10984,13 @@ const Ss = (o) => {
10981
10984
  };
10982
10985
  }
10983
10986
  });
10984
- const Ls = (o, a) => {
10987
+ const As = (o, a) => {
10985
10988
  const r = o.__vccOpts || o;
10986
10989
  for (const [t, e] of a)
10987
10990
  r[t] = e;
10988
10991
  return r;
10989
- }, As = /* @__PURE__ */ Ls(Is, [["__scopeId", "data-v-b301aa7d"]]), Ms = ln(As);
10992
+ }, Ds = /* @__PURE__ */ As(Ls, [["__scopeId", "data-v-b301aa7d"]]), Ns = cn(Ds);
10990
10993
  export {
10991
- Ms as IkPlayer,
10992
- Ms as default
10994
+ Ns as IkPlayer,
10995
+ Ns as default
10993
10996
  };