iking-web-ui-pro 1.2.3 → 1.2.5

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 (86) hide show
  1. package/dist/IkApprovalProcess/ik.index.es.js +378 -374
  2. package/dist/IkApprovalProcess/iking-web-ui-pro.css +1 -1
  3. package/dist/IkApprovalProcessDetail/ik.index.es.js +126 -123
  4. package/dist/IkApprovalProcessDetail/iking-web-ui-pro.css +1 -1
  5. package/dist/IkBaseDialog/ik.index.es.js +4 -4
  6. package/dist/IkBaseDialog/iking-web-ui-pro.css +1 -1
  7. package/dist/IkBtnSetting/ik.index.es.js +3 -3
  8. package/dist/IkBtnSetting/iking-web-ui-pro.css +1 -1
  9. package/dist/IkCalendar/ik.index.es.js +1043 -1039
  10. package/dist/IkCalendar/iking-web-ui-pro.css +1 -1
  11. package/dist/IkCollapseCard/ik.index.es.js +2 -2
  12. package/dist/IkCollapseCard/iking-web-ui-pro.css +1 -1
  13. package/dist/IkDescription/ik.index.es.js +122 -119
  14. package/dist/IkDescription/iking-web-ui-pro.css +1 -1
  15. package/dist/IkDetailPreviewFiles/ik.index.es.js +121 -118
  16. package/dist/IkDetailPreviewFiles/iking-web-ui-pro.css +1 -1
  17. package/dist/IkDragList/ik.index.es.js +1 -1
  18. package/dist/IkDragList/iking-web-ui-pro.css +1 -1
  19. package/dist/IkEmpty/ik.index.es.js +6 -6
  20. package/dist/IkEmpty/iking-web-ui-pro.css +1 -1
  21. package/dist/IkExpandCollapse/ik.index.es.js +11 -11
  22. package/dist/IkExpandCollapse/iking-web-ui-pro.css +1 -1
  23. package/dist/IkHorizontalStepBar/ik.index.es.js +1 -1
  24. package/dist/IkHorizontalStepBar/iking-web-ui-pro.css +1 -1
  25. package/dist/IkIconPicker/ik.index.es.js +1 -1
  26. package/dist/IkIconPicker/iking-web-ui-pro.css +1 -1
  27. package/dist/IkImageUploadEditor/ik.index.es.js +127 -124
  28. package/dist/IkImageUploadEditor/iking-web-ui-pro.css +1 -1
  29. package/dist/IkMonacoEditor/ik.index.es.js +1 -1
  30. package/dist/IkMonacoEditor/iking-web-ui-pro.css +1 -1
  31. package/dist/IkPageFull/ik.index.es.js +441 -437
  32. package/dist/IkPageFull/iking-web-ui-pro.css +1 -1
  33. package/dist/IkPageTabs/ik.index.es.js +1 -1
  34. package/dist/IkPageTabs/iking-web-ui-pro.css +1 -1
  35. package/dist/IkPickerUser/ik.index.es.js +416 -412
  36. package/dist/IkPickerUser/iking-web-ui-pro.css +1 -1
  37. package/dist/IkPlayer/ik.index.es.js +103 -100
  38. package/dist/IkPreviewFile/ik.index.es.js +110 -107
  39. package/dist/IkPreviewFile/iking-web-ui-pro.css +1 -1
  40. package/dist/IkPreviewFileDialog/ik.index.es.js +90 -87
  41. package/dist/IkPreviewFileDialog/iking-web-ui-pro.css +1 -1
  42. package/dist/IkPrint/ik.index.es.js +1 -1
  43. package/dist/IkPrint/iking-web-ui-pro.css +1 -1
  44. package/dist/IkRadioGroup/ik.index.es.js +2 -2
  45. package/dist/IkRadioGroup/iking-web-ui-pro.css +1 -1
  46. package/dist/IkSearch/ik.index.es.js +397 -393
  47. package/dist/IkSearch/iking-web-ui-pro.css +1 -1
  48. package/dist/IkSearchHead/ik.index.es.js +1 -1
  49. package/dist/IkSearchHead/iking-web-ui-pro.css +1 -1
  50. package/dist/IkSelectTag/ik.index.es.js +22 -22
  51. package/dist/IkSelectTag/iking-web-ui-pro.css +1 -1
  52. package/dist/IkSideText/ik.index.es.js +42 -39
  53. package/dist/IkSideText/iking-web-ui-pro.css +1 -1
  54. package/dist/IkStatu/ik.index.es.js +4 -4
  55. package/dist/IkStatu/iking-web-ui-pro.css +1 -1
  56. package/dist/IkStatuOver/ik.index.es.js +2 -2
  57. package/dist/IkStatuOver/iking-web-ui-pro.css +1 -1
  58. package/dist/IkSvgIcon/ik.index.es.js +16 -16
  59. package/dist/IkSvgIcon/iking-web-ui-pro.css +1 -1
  60. package/dist/IkTinymce/ik.index.es.js +9005 -9004
  61. package/dist/IkTinymce/iking-web-ui-pro.css +1 -1
  62. package/dist/IkTree/ik.index.es.js +13 -13
  63. package/dist/IkTree/iking-web-ui-pro.css +1 -1
  64. package/dist/IkUploadFile/ik.index.es.js +1419 -1416
  65. package/dist/IkUploadFile/iking-web-ui-pro.css +1 -1
  66. package/dist/IkUploadImage/ik.index.es.js +423 -421
  67. package/dist/IkUploadImage/iking-web-ui-pro.css +1 -1
  68. package/dist/IkVerticalStepBar/ik.index.es.js +2 -2
  69. package/dist/IkVerticalStepBar/iking-web-ui-pro.css +1 -1
  70. package/dist/Provider/ik.index.es.js +14 -10
  71. package/dist/iking-web-ui-pro.css +2 -2
  72. package/dist/{index-DzZt3b9I.mjs → index-DTIv4saG.mjs} +16667 -16662
  73. package/dist/{index.es-BGemUek4.mjs → index.es-DJTszikI.mjs} +2 -2
  74. package/dist/index.es.js +1 -1
  75. package/dist/index.umd.js +169 -169
  76. package/dist/{jspdf.es.min-BVrfmj8U.mjs → jspdf.es.min-CB6UoKKF.mjs} +1 -1
  77. package/dist/src/components/IkTinymce/index.d.ts +2 -2
  78. package/dist/src/components/IkTinymce/src/index.vue.d.ts +2 -2
  79. package/dist/src/components/IkUploadFile/index.d.ts +3 -3
  80. package/dist/src/components/IkUploadFile/src/index.vue.d.ts +2 -2
  81. package/dist/src/components/IkUploadImage/index.d.ts +3 -3
  82. package/dist/src/components/IkUploadImage/src/index.vue.d.ts +2 -2
  83. package/dist/src/components/Provider/ProviderConfig.vue.d.ts +9 -0
  84. package/dist/src/components/Provider/index.d.ts +15 -0
  85. package/dist/src/utils/use-provider.d.ts +1 -0
  86. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { defineComponent as Si, createElementBlock as un, openBlock as wi, createElementVNode as Ae, inject as Re, computed as _e, mergeModels as Gt, useModel as ln, watch as cn, nextTick as fn, resolveComponent as hn, createBlock as dn, createCommentVNode as at, Teleport as gn, createVNode as ot, Transition as pn, withCtx as zt, normalizeStyle as vn, normalizeClass as He, unref as me, renderSlot as mn } from "vue";
1
+ import { defineComponent as Si, createElementBlock as un, openBlock as wi, createElementVNode as Le, inject as Ee, computed as de, mergeModels as Gt, useModel as ln, watch as cn, nextTick as fn, resolveComponent as hn, createBlock as dn, createCommentVNode as at, Teleport as gn, createVNode as ot, Transition as pn, withCtx as zt, normalizeStyle as vn, normalizeClass as He, unref as ye, renderSlot as mn } from "vue";
2
2
  import { buildUUID as yn } from "iking-utils-pro";
3
3
  import { useNamespace as _n } from "element-plus";
4
4
  const Cn = (o, a) => (o.install = (r) => {
@@ -14,7 +14,7 @@ var kn = /* @__PURE__ */ Si({
14
14
  xmlns: "http://www.w3.org/2000/svg",
15
15
  viewBox: "0 0 1024 1024"
16
16
  }, [
17
- Ae("path", {
17
+ Le("path", {
18
18
  fill: "currentColor",
19
19
  d: "M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"
20
20
  })
@@ -831,8 +831,8 @@ function Mn(o, a, r) {
831
831
  return s !== void 0;
832
832
  }
833
833
  function V() {
834
- for (var R = Date.now(), $ = k(R), J = arguments.length, Q = new Array(J), ve = 0; ve < J; ve++)
835
- Q[ve] = arguments[ve];
834
+ for (var R = Date.now(), $ = k(R), J = arguments.length, Q = new Array(J), me = 0; me < J; me++)
835
+ Q[me] = arguments[me];
836
836
  if (t = Q, e = this, u = R, $) {
837
837
  if (s === void 0)
838
838
  return b(u);
@@ -1026,7 +1026,7 @@ var Xt = {
1026
1026
  return m.ex = t ? (t[arguments[0]] || {}).msg : "", m;
1027
1027
  }
1028
1028
  }
1029
- ), Z = "play", Rt = "playing", ke = "ended", De = "pause", Fe = "error", tt = "seeking", ae = "seeked", q = "timeupdate", Be = "waiting", se = "canplay", Un = "canplaythrough", ue = "durationchange", Li = "volumechange", oe = "loadeddata", Vn = "loadedmetadata", Di = "ratechange", Ri = "progress", Ot = "loadstart", Te = "emptied", jn = "stalled", Wn = "suspend", Gn = "abort", zn = "bufferedChange", Mt = "focus", Oi = "blur", Nt = "ready", Mi = "urlNull", Ce = "autoplay_started", Ft = "autoplay_was_prevented", it = "complete", Ke = "replay", Bt = "destroy", nt = "urlchange", xt = "download_speed_change", Ni = "leaveplayer", Fi = "enterplayer", Bi = "loading", re = "fullscreen_change", Ye = "cssFullscreen_change", $e = "mini_state_change", Ht = "definition_change", Kn = "before_definition_change", Pt = "after_definition_change", Yn = "SEI_PARSED", $n = "retry", de = "video_resize", It = "pip_change", Hi = "rotate", Ui = "screenShot", Xe = "playnext", Vi = "shortcut", ji = "xglog", qe = "user_action", rt = "reset", Wi = "source_error", Gi = "source_success", Xn = "switch_subtitle", zi = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], Ki = {
1029
+ ), Z = "play", Rt = "playing", ke = "ended", Re = "pause", Fe = "error", tt = "seeking", ae = "seeked", q = "timeupdate", Be = "waiting", se = "canplay", Un = "canplaythrough", ue = "durationchange", Li = "volumechange", oe = "loadeddata", Vn = "loadedmetadata", Di = "ratechange", Ri = "progress", Ot = "loadstart", Te = "emptied", jn = "stalled", Wn = "suspend", Gn = "abort", zn = "bufferedChange", Mt = "focus", Oi = "blur", Nt = "ready", Mi = "urlNull", Ce = "autoplay_started", Ft = "autoplay_was_prevented", it = "complete", Ke = "replay", Bt = "destroy", nt = "urlchange", xt = "download_speed_change", Ni = "leaveplayer", Fi = "enterplayer", Bi = "loading", re = "fullscreen_change", Ye = "cssFullscreen_change", $e = "mini_state_change", Ht = "definition_change", Kn = "before_definition_change", Pt = "after_definition_change", Yn = "SEI_PARSED", $n = "retry", ge = "video_resize", It = "pip_change", Hi = "rotate", Ui = "screenShot", Xe = "playnext", Vi = "shortcut", ji = "xglog", qe = "user_action", rt = "reset", Wi = "source_error", Gi = "source_success", Xn = "switch_subtitle", zi = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], Ki = {
1030
1030
  STATS_INFO: "stats_info",
1031
1031
  STATS_DOWNLOAD: "stats_download",
1032
1032
  STATS_RESET: "stats_reset"
@@ -1059,7 +1059,7 @@ const qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1059
1059
  LOADING: Bi,
1060
1060
  LOAD_START: Ot,
1061
1061
  MINI_STATE_CHANGE: $e,
1062
- PAUSE: De,
1062
+ PAUSE: Re,
1063
1063
  PIP_CHANGE: It,
1064
1064
  PLAY: Z,
1065
1065
  PLAYER_BLUR: Oi,
@@ -1089,7 +1089,7 @@ const qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1089
1089
  URL_NULL: Mi,
1090
1090
  USER_ACTION: qe,
1091
1091
  VIDEO_EVENTS: zi,
1092
- VIDEO_RESIZE: de,
1092
+ VIDEO_RESIZE: ge,
1093
1093
  VOLUME_CHANGE: Li,
1094
1094
  WAITING: Be,
1095
1095
  XGLOG: ji
@@ -1751,7 +1751,7 @@ function ne(o, a, r) {
1751
1751
  function ht(o, a) {
1752
1752
  O.logError("[".concat(o, "] event or callback cant be undefined or null when call ").concat(a));
1753
1753
  }
1754
- var ge = /* @__PURE__ */ (function() {
1754
+ var pe = /* @__PURE__ */ (function() {
1755
1755
  function o(a) {
1756
1756
  E(this, o), f.checkIsFunction(this.beforeCreate) && this.beforeCreate(a), Xi(this), this.__args = a, this.__events = {}, this.__onceEvents = {}, this.config = a.config || {}, this.player = null, this.playerConfig = {}, this.pluginName = "", this.__init(a);
1757
1757
  }
@@ -2344,7 +2344,7 @@ var F = /* @__PURE__ */ (function(o) {
2344
2344
  return H;
2345
2345
  }
2346
2346
  }]), r;
2347
- })(ge), ur = /* @__PURE__ */ (function() {
2347
+ })(pe), ur = /* @__PURE__ */ (function() {
2348
2348
  function o() {
2349
2349
  var a = this;
2350
2350
  if (E(this, o), y(this, "__trigger", function(r) {
@@ -3027,7 +3027,7 @@ function pr(o) {
3027
3027
  return Ne(r.lang, X.lang), (a = r.langKeys).push.apply(a, ee(X.langKeys)), Ne(r.textKeys, X.textKeys), r;
3028
3028
  }
3029
3029
  Ut(dr);
3030
- var Le = {
3030
+ var De = {
3031
3031
  get textKeys() {
3032
3032
  return X.textKeys;
3033
3033
  },
@@ -3224,7 +3224,7 @@ var mr = ["play", "pause", "replay", "retry"], ci = 0, fi = 0, le = null, st = /
3224
3224
  }, e._offsetInfo = {
3225
3225
  currentTime: -1,
3226
3226
  duration: 0
3227
- }, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = Le.init(e._pluginInfoId), L.os.isAndroid && L.osVersion > 0 && L.osVersion < 6 && (e.config.autoplay = !1), e.database = new Qn(), e.isUserActive = !1, e._onceSeekCanplay = null, e._isPauseBeforeSeek = 0, e.innerStates = {
3227
+ }, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = De.init(e._pluginInfoId), L.os.isAndroid && L.osVersion > 0 && L.osVersion < 6 && (e.config.autoplay = !1), e.database = new Qn(), e.isUserActive = !1, e._onceSeekCanplay = null, e._isPauseBeforeSeek = 0, e.innerStates = {
3228
3228
  isActiveLocked: !1
3229
3229
  }, e.instManager = le;
3230
3230
  var u = e._initDOM();
@@ -3337,7 +3337,7 @@ var mr = ["play", "pause", "replay", "retry"], ci = 0, fi = 0, le = null, st = /
3337
3337
  var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0;
3338
3338
  this._loadingPlugins = [];
3339
3339
  var n = this.config.ignores || [], s = this.config.plugins || [], u = this.config.i18n || [];
3340
- i && Le.extend(u, this.__i18n);
3340
+ i && De.extend(u, this.__i18n);
3341
3341
  var l = n.join("||").toLowerCase().split("||"), c = this.plugins;
3342
3342
  s.forEach(function(h) {
3343
3343
  try {
@@ -3406,7 +3406,7 @@ var mr = ["play", "pause", "replay", "retry"], ci = 0, fi = 0, le = null, st = /
3406
3406
  }, {
3407
3407
  key: "deregister",
3408
3408
  value: function(e) {
3409
- typeof e == "string" ? G.unRegister(this, e) : e instanceof ge && G.unRegister(this, e.pluginName);
3409
+ typeof e == "string" ? G.unRegister(this, e) : e instanceof pe && G.unRegister(this, e.pluginName);
3410
3410
  }
3411
3411
  }, {
3412
3412
  key: "unRegisterPlugin",
@@ -3418,7 +3418,7 @@ var mr = ["play", "pause", "replay", "retry"], ci = 0, fi = 0, le = null, st = /
3418
3418
  key: "removePluginFromConfig",
3419
3419
  value: function(e) {
3420
3420
  var i;
3421
- if (typeof e == "string" ? i = e : e instanceof ge && (i = e.pluginName), !!i)
3421
+ if (typeof e == "string" ? i = e : e instanceof pe && (i = e.pluginName), !!i)
3422
3422
  for (var n = this.config.plugins.length - 1; n > -1; n--) {
3423
3423
  var s = this.config.plugins[n];
3424
3424
  if (s.pluginName.toLowerCase() === i.toLowerCase()) {
@@ -4047,7 +4047,7 @@ var mr = ["play", "pause", "replay", "retry"], ci = 0, fi = 0, le = null, st = /
4047
4047
  cWidth: b,
4048
4048
  cHeight: T + d
4049
4049
  };
4050
- this.resizePosition(), this.emit(de, D);
4050
+ this.resizePosition(), this.emit(ge, D);
4051
4051
  }
4052
4052
  }
4053
4053
  }
@@ -4143,11 +4143,11 @@ var mr = ["play", "pause", "replay", "retry"], ci = 0, fi = 0, le = null, st = /
4143
4143
  return this.config.lang;
4144
4144
  },
4145
4145
  set: function(e) {
4146
- var i = Le.langKeys.filter(function(n) {
4146
+ var i = De.langKeys.filter(function(n) {
4147
4147
  return n === e;
4148
4148
  });
4149
4149
  if (i.length === 0 && e !== "zh") {
4150
- console.error("Sorry, set lang fail, because the language [".concat(e, "] is not supported now, list of all supported languages is [").concat(Le.langKeys.join(), "] "));
4150
+ console.error("Sorry, set lang fail, because the language [".concat(e, "] is not supported now, list of all supported languages is [").concat(De.langKeys.join(), "] "));
4151
4151
  return;
4152
4152
  }
4153
4153
  this.config.lang = e, G.setLang(e, this);
@@ -4352,7 +4352,7 @@ var mr = ["play", "pause", "replay", "retry"], ci = 0, fi = 0, le = null, st = /
4352
4352
  y(st, "defaultPreset", null);
4353
4353
  y(st, "XgVideoProxy", null);
4354
4354
  st.instManager = Ji.getInstance();
4355
- function pe(o, a, r) {
4355
+ function ve(o, a, r) {
4356
4356
  try {
4357
4357
  return ' <div class="xg-tips '.concat(r ? "hide" : " ", '" lang-key="').concat(o.i18nKeys[a], `">
4358
4358
  `).concat(o.i18n[a], `
@@ -4478,7 +4478,7 @@ var At = /* @__PURE__ */ (function(o) {
4478
4478
  return `<xg-icon class='xgplayer-cssfullscreen'>
4479
4479
  <div class="xgplayer-icon">
4480
4480
  </div>
4481
- `.concat(pe(this, "CSSFULLSCREEN_TIPS", this.playerConfig.isHideTips), `
4481
+ `.concat(ve(this, "CSSFULLSCREEN_TIPS", this.playerConfig.isHideTips), `
4482
4482
  </xg-icon>`);
4483
4483
  }
4484
4484
  }], [{
@@ -4670,7 +4670,7 @@ var Qi = /* @__PURE__ */ (function(o) {
4670
4670
  return `<xg-icon class="xgplayer-fullscreen">
4671
4671
  <div class="xgplayer-icon">
4672
4672
  </div>
4673
- `.concat(pe(this, e, this.playerConfig.isHideTips), `
4673
+ `.concat(ve(this, e, this.playerConfig.isHideTips), `
4674
4674
  </xg-icon>`);
4675
4675
  }
4676
4676
  }
@@ -4756,7 +4756,7 @@ var en = /* @__PURE__ */ (function(o) {
4756
4756
  key: "listenEvents",
4757
4757
  value: function() {
4758
4758
  var e = this, i = this.player;
4759
- this.on([Z, De, Fe, Te], function() {
4759
+ this.on([Z, Re, Fe, Te], function() {
4760
4760
  e.animate(i.paused);
4761
4761
  });
4762
4762
  }
@@ -4800,7 +4800,7 @@ var en = /* @__PURE__ */ (function(o) {
4800
4800
  return `<xg-icon class="xgplayer-play">
4801
4801
  <div class="xgplayer-icon">
4802
4802
  </div>
4803
- `.concat(pe(this, "PLAY_TIPS", this.playerConfig.isHideTips), `
4803
+ `.concat(ve(this, "PLAY_TIPS", this.playerConfig.isHideTips), `
4804
4804
  </xg-icon>`);
4805
4805
  }
4806
4806
  }], [{
@@ -5207,7 +5207,7 @@ var en = /* @__PURE__ */ (function(o) {
5207
5207
  e.onCacheUpdate(!0), e.onTimeupdate(!0), e._state.now = 0;
5208
5208
  }), this.on(Te, function() {
5209
5209
  e.onReset();
5210
- }), this.on(de, function() {
5210
+ }), this.on(ge, function() {
5211
5211
  e.onVideoResize();
5212
5212
  });
5213
5213
  }
@@ -6234,7 +6234,7 @@ var Or = /* @__PURE__ */ (function(o) {
6234
6234
  e.setAttr("data-state", "play"), f.removeClass(e.root, s), e.show();
6235
6235
  }), this.on(Z, function() {
6236
6236
  e.toggleTo("play");
6237
- }), this.on(De, function() {
6237
+ }), this.on(Re, function() {
6238
6238
  e.toggleTo("pause");
6239
6239
  }), this.on(rt, function() {
6240
6240
  e.onPlayerReset();
@@ -6777,7 +6777,7 @@ var yt = {
6777
6777
  key: "afterCreate",
6778
6778
  value: function() {
6779
6779
  var e = this;
6780
- this.initIcons(), this.on(De, function() {
6780
+ this.initIcons(), this.on(Re, function() {
6781
6781
  e.setAttr("data-state", "pause");
6782
6782
  }), this.on(Z, function() {
6783
6783
  e.setAttr("data-state", "play");
@@ -6865,7 +6865,7 @@ var yt = {
6865
6865
  return `
6866
6866
  <xg-mini-layer class="xg-mini-layer">
6867
6867
  <xg-mini-header class="xgplayer-mini-header">
6868
- `.concat(pe(this, "MINI_DRAG", this.playerConfig.isHideTips), `
6868
+ `.concat(ve(this, "MINI_DRAG", this.playerConfig.isHideTips), `
6869
6869
  </xg-mini-header>
6870
6870
  <div class="mini-cancel-btn">
6871
6871
  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
@@ -7010,7 +7010,7 @@ var yt = {
7010
7010
  return {};
7011
7011
  }
7012
7012
  }]), r;
7013
- })(ge), fe = {
7013
+ })(pe), fe = {
7014
7014
  PRESS: "press",
7015
7015
  PRESS_END: "pressend",
7016
7016
  DOUBlE_CLICK: "doubleclick",
@@ -7153,7 +7153,7 @@ function Gr() {
7153
7153
  <path transform="translate(5 0)" d="M7.5 3.63397C8.16667 4.01887 8.16667 4.98113 7.5 5.36603L1.5 8.83013C0.833334 9.21503 0 8.7339 0 7.9641L0 1.0359C0 0.266098 0.833333 -0.215027 1.5 0.169873L7.5 3.63397Z" fill="white"/>
7154
7154
  </svg>`, "image/svg+xml").firstChild;
7155
7155
  }
7156
- var Ee = {
7156
+ var Se = {
7157
7157
  AUTO: "auto",
7158
7158
  SEEKING: "seeking",
7159
7159
  PLAYBACK: "playbackrate"
@@ -7191,7 +7191,7 @@ var Ee = {
7191
7191
  }, 10), !!u.isStart) {
7192
7192
  u.scope > -1 && i.cancelable && i.preventDefault();
7193
7193
  var c = e.config, h = c.disableGesture, d = c.gestureX;
7194
- !h && d ? e.endLastMove(u.scope) : u.time = 0, u.scope = -1, e.resetPos(), f.checkIsFunction(l.enableSwipeHandler) && l.enableSwipeHandler(), e.changeAction(Ee.AUTO);
7194
+ !h && d ? e.endLastMove(u.scope) : u.time = 0, u.scope = -1, e.resetPos(), f.checkIsFunction(l.enableSwipeHandler) && l.enableSwipeHandler(), e.changeAction(Se.AUTO);
7195
7195
  }
7196
7196
  }), y(v(e), "onRootTouchMove", function(i) {
7197
7197
  e.config.disableGesture || !e.config.gestureX || e.checkIsRootTarget(i) && (i.stopPropagation(), e.pos.isStart ? e.onTouchMove(i) : e.onTouchStart(i));
@@ -7277,7 +7277,7 @@ var Ee = {
7277
7277
  e.activeSeekNote(d.currentTime, d.forward);
7278
7278
  }), ["dragend", "click"].forEach(function(d) {
7279
7279
  h.addCallBack(d, function() {
7280
- e.changeAction(Ee.AUTO);
7280
+ e.changeAction(Se.AUTO);
7281
7281
  });
7282
7282
  }));
7283
7283
  }
@@ -7383,7 +7383,7 @@ var Ee = {
7383
7383
  }, 500);
7384
7384
  break;
7385
7385
  }
7386
- this.changeAction(Ee.AUTO);
7386
+ this.changeAction(Se.AUTO);
7387
7387
  }
7388
7388
  }, {
7389
7389
  key: "checkIsRootTarget",
@@ -7447,7 +7447,7 @@ var Ee = {
7447
7447
  prop: "playbackRate",
7448
7448
  from: s.playbackRate,
7449
7449
  to: n.pressRate
7450
- }), s.playbackRate = n.pressRate, this.changeAction(Ee.PLAYBACK));
7450
+ }), s.playbackRate = n.pressRate, this.changeAction(Se.PLAYBACK));
7451
7451
  }
7452
7452
  }, {
7453
7453
  key: "onPressEnd",
@@ -7457,7 +7457,7 @@ var Ee = {
7457
7457
  prop: "playbackRate",
7458
7458
  from: s.playbackRate,
7459
7459
  to: i.rate
7460
- }), s.playbackRate = i.rate, i.rate = 1, this.changeAction(Ee.AUTO));
7460
+ }), s.playbackRate = i.rate, i.rate = 1, this.changeAction(Se.AUTO));
7461
7461
  }
7462
7462
  }, {
7463
7463
  key: "updateTime",
@@ -7492,7 +7492,7 @@ var Ee = {
7492
7492
  value: function(e) {
7493
7493
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, n = this.player, s = this.config, u = !(this.duration !== 1 / 0 && this.duration > 0);
7494
7494
  if (!(!e || typeof e != "number" || u || s.disableActive)) {
7495
- e < 0 ? e = 0 : e > n.duration && (e = n.duration - 0.2), this.changeAction(Ee.SEEKING);
7495
+ e < 0 ? e = 0 : e > n.duration && (e = n.duration - 0.2), this.changeAction(Se.SEEKING);
7496
7496
  var l = n.plugins.start;
7497
7497
  l && l.focusHide(), this.find(".xg-dur").innerHTML = f.format(this.duration), this.find(".xg-cur").innerHTML = f.format(e), this.find(".xg-curbar").style.width = "".concat(e / this.duration * 100, "%"), i ? f.removeClass(this.find(".xg-seek-show"), "xg-back") : f.addClass(this.find(".xg-seek-show"), "xg-back"), this.updateThumbnails(e);
7498
7498
  }
@@ -7879,7 +7879,7 @@ var Ci = /* @__PURE__ */ (function(o) {
7879
7879
  };
7880
7880
  }
7881
7881
  }]), r;
7882
- })(ge);
7882
+ })(pe);
7883
7883
  function Yr() {
7884
7884
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="-5 -5 110 110">
7885
7885
  <path d="M100,50A50,50,0,1,1,50,0" stroke-width="5" stroke="#ddd" stroke-dasharray="236" fill="none"></path>
@@ -8062,7 +8062,7 @@ var $r = /* @__PURE__ */ (function(o) {
8062
8062
  };
8063
8063
  }
8064
8064
  }]), r;
8065
- })(ge);
8065
+ })(pe);
8066
8066
  function qr() {
8067
8067
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="-4 -6 40 40" fill="none">
8068
8068
  <g>
@@ -8089,7 +8089,7 @@ var Zr = /* @__PURE__ */ (function(o) {
8089
8089
  value: function() {
8090
8090
  var e = this;
8091
8091
  if (!this.config.disable) {
8092
- I(P(r.prototype), "afterCreate", this).call(this), this.appendChild(".xgplayer-icon", this.icons.rotate), this.onBtnClick = this.onBtnClick.bind(this), this.bind(".xgplayer-icon", ["click", "touchend"], this.onBtnClick), this.on(de, function() {
8092
+ I(P(r.prototype), "afterCreate", this).call(this), this.appendChild(".xgplayer-icon", this.icons.rotate), this.onBtnClick = this.onBtnClick.bind(this), this.bind(".xgplayer-icon", ["click", "touchend"], this.onBtnClick), this.on(ge, function() {
8093
8093
  e.rotateDeg && e.config.innerRotate && f.setTimeout(e, function() {
8094
8094
  e.updateRotateDeg(e.rotateDeg, e.config.innerRotate);
8095
8095
  }, 100);
@@ -8151,7 +8151,7 @@ var Zr = /* @__PURE__ */ (function(o) {
8151
8151
  <xg-icon class="xgplayer-rotate">
8152
8152
  <div class="xgplayer-icon">
8153
8153
  </div>
8154
- `.concat(pe(this, "ROTATE_TIPS", this.playerConfig.isHideTips), `
8154
+ `.concat(ve(this, "ROTATE_TIPS", this.playerConfig.isHideTips), `
8155
8155
  </xg-icon>`);
8156
8156
  }
8157
8157
  }], [{
@@ -8190,7 +8190,7 @@ function Qr() {
8190
8190
  fill="white" />
8191
8191
  </svg>`, "image/svg+xml").firstChild;
8192
8192
  }
8193
- var Se = {
8193
+ var we = {
8194
8194
  PIP: "picture-in-picture",
8195
8195
  INLINE: "inline",
8196
8196
  FULLSCREEN: "fullscreen"
@@ -8225,7 +8225,7 @@ var Se = {
8225
8225
  key: "afterCreate",
8226
8226
  value: function() {
8227
8227
  var e = this;
8228
- this.isPIPAvailable() && (I(P(r.prototype), "afterCreate", this).call(this), this.pMode = Se.INLINE, this.initPipEvents(), this.config.showIcon && this.initIcons(), this.once(it, function() {
8228
+ this.isPIPAvailable() && (I(P(r.prototype), "afterCreate", this).call(this), this.pMode = we.INLINE, this.initPipEvents(), this.config.showIcon && this.initIcons(), this.once(it, function() {
8229
8229
  e.config.showIcon && (f.removeClass(e.find(".xgplayer-icon"), "xg-icon-disable"), e.bind("click", e.switchPIP));
8230
8230
  }));
8231
8231
  }
@@ -8262,7 +8262,7 @@ var Se = {
8262
8262
  i.emit(It, !0), n != null && n.pictureInPictureWindow && (e.pipWindow = n.pictureInPictureWindow), e.setAttr("data-state", "pip");
8263
8263
  }, this.onWebkitpresentationmodechanged = function(n) {
8264
8264
  var s = i.media.webkitPresentationMode;
8265
- e.pMode === Se.FULLSCREEN && s !== Se.FULLSCREEN && i.onFullscreenChange(null, !1), e.pMode = s, s === Se.PIP ? e.enterPIPCallback(n) : s === Se.INLINE && e.leavePIPCallback(n);
8265
+ e.pMode === we.FULLSCREEN && s !== we.FULLSCREEN && i.onFullscreenChange(null, !1), e.pMode = s, s === we.PIP ? e.enterPIPCallback(n) : s === we.INLINE && e.leavePIPCallback(n);
8266
8266
  }, i.media && (i.media.addEventListener("enterpictureinpicture", this.enterPIPCallback), i.media.addEventListener("leavepictureinpicture", this.leavePIPCallback), r.checkWebkitSetPresentationMode(i.media) && i.media.addEventListener("webkitpresentationmodechanged", this.onWebkitpresentationmodechanged));
8267
8267
  }
8268
8268
  }, {
@@ -8339,7 +8339,7 @@ var Se = {
8339
8339
  key: "isPip",
8340
8340
  get: function() {
8341
8341
  var e, i = this.player;
8342
- return !!(this.isDocPIPAvailable() && (e = documentPictureInPicture) !== null && e !== void 0 && e.window) || document.pictureInPictureElement && document.pictureInPictureElement === i.media || i.media.webkitPresentationMode === Se.PIP;
8342
+ return !!(this.isDocPIPAvailable() && (e = documentPictureInPicture) !== null && e !== void 0 && e.window) || document.pictureInPictureElement && document.pictureInPictureElement === i.media || i.media.webkitPresentationMode === we.PIP;
8343
8343
  }
8344
8344
  }, {
8345
8345
  key: "isPIPAvailable",
@@ -8366,7 +8366,7 @@ var Se = {
8366
8366
  return `<xg-icon class="xgplayer-pip">
8367
8367
  <div class="xgplayer-icon xg-icon-disable">
8368
8368
  </div>
8369
- `.concat(pe(this, "PIP", this.playerConfig.isHideTips), `
8369
+ `.concat(ve(this, "PIP", this.playerConfig.isHideTips), `
8370
8370
  </xg-icon>`);
8371
8371
  }
8372
8372
  }], [{
@@ -8449,7 +8449,7 @@ var is = /* @__PURE__ */ (function(o) {
8449
8449
  <xg-icon class="xgplayer-playnext">
8450
8450
  <div class="xgplayer-icon">
8451
8451
  </div>
8452
- `.concat(pe(this, "PLAYNEXT_TIPS", this.playerConfig.isHideTips), `
8452
+ `.concat(ve(this, "PLAYNEXT_TIPS", this.playerConfig.isHideTips), `
8453
8453
  </xg-icon>
8454
8454
  `);
8455
8455
  }
@@ -8502,9 +8502,9 @@ function rs() {
8502
8502
  }
8503
8503
  m = l instanceof g ? l : new g([l], { type: u });
8504
8504
  function A(M) {
8505
- var j = M.split(/[:;,]/), V = j[1], R = j[2] == "base64" ? atob : decodeURIComponent, $ = R(j.pop()), J = $.length, Q = 0, ve = new Uint8Array(J);
8506
- for (Q; Q < J; ++Q) ve[Q] = $.charCodeAt(Q);
8507
- return new g([ve], { type: V });
8505
+ var j = M.split(/[:;,]/), V = j[1], R = j[2] == "base64" ? atob : decodeURIComponent, $ = R(j.pop()), J = $.length, Q = 0, me = new Uint8Array(J);
8506
+ for (Q; Q < J; ++Q) me[Q] = $.charCodeAt(Q);
8507
+ return new g([me], { type: V });
8508
8508
  }
8509
8509
  function B(M, j) {
8510
8510
  if ("download" in h)
@@ -8615,7 +8615,7 @@ var us = /* @__PURE__ */ (function(o) {
8615
8615
  return `<xg-icon class="xgplayer-download">
8616
8616
  <div class="xgplayer-icon">
8617
8617
  </div>
8618
- `.concat(pe(this, "DOWNLOAD_TIPS", this.playerConfig.isHideTips), `
8618
+ `.concat(ve(this, "DOWNLOAD_TIPS", this.playerConfig.isHideTips), `
8619
8619
  </xg-icon>`);
8620
8620
  }
8621
8621
  }], [{
@@ -8651,7 +8651,7 @@ var us = /* @__PURE__ */ (function(o) {
8651
8651
  var e = this.config;
8652
8652
  this.initSize = function(i) {
8653
8653
  e.fitVideo && (e.width = i.vWidth, e.height = i.vHeight);
8654
- }, this.once(de, this.initSize);
8654
+ }, this.once(ge, this.initSize);
8655
8655
  }
8656
8656
  }, {
8657
8657
  key: "onPluginsReady",
@@ -8721,7 +8721,7 @@ var us = /* @__PURE__ */ (function(o) {
8721
8721
  }, {
8722
8722
  key: "destroy",
8723
8723
  value: function() {
8724
- I(P(r.prototype), "destroy", this).call(this), this.unbind(["click", "touchend"], this.onClickBtn), this.off(de, this.initSize);
8724
+ I(P(r.prototype), "destroy", this).call(this), this.unbind(["click", "touchend"], this.onClickBtn), this.off(ge, this.initSize);
8725
8725
  }
8726
8726
  }, {
8727
8727
  key: "render",
@@ -8835,14 +8835,14 @@ var us = /* @__PURE__ */ (function(o) {
8835
8835
  SIDE: "side",
8836
8836
  MIDDLE: "middle",
8837
8837
  DEFAULT: "default"
8838
- }, we = {
8838
+ }, xe = {
8839
8839
  CLICK: "click",
8840
8840
  HOVER: "hover"
8841
8841
  };
8842
8842
  function fs(o, a) {
8843
8843
  return o === te.SIDE ? a === H.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
8844
8844
  }
8845
- var ye = L.device === "mobile", et = /* @__PURE__ */ (function(o) {
8845
+ var _e = L.device === "mobile", et = /* @__PURE__ */ (function(o) {
8846
8846
  w(r, o);
8847
8847
  var a = x(r);
8848
8848
  function r(t) {
@@ -8854,7 +8854,7 @@ var ye = L.device === "mobile", et = /* @__PURE__ */ (function(o) {
8854
8854
  }), y(v(e), "switchActiveState", function(i) {
8855
8855
  i.stopPropagation();
8856
8856
  var n = e.config.toggleMode;
8857
- n === we.CLICK ? e.toggle(!e.isActive) : e.toggle(!0);
8857
+ n === xe.CLICK ? e.toggle(!e.isActive) : e.toggle(!0);
8858
8858
  }), y(v(e), "onLeave", function(i) {
8859
8859
  i.stopPropagation(), e.emit("icon_mouseleave", {
8860
8860
  pluginName: e.pluginName
@@ -8874,13 +8874,13 @@ var ye = L.device === "mobile", et = /* @__PURE__ */ (function(o) {
8874
8874
  key: "afterCreate",
8875
8875
  value: function() {
8876
8876
  var e = this, i = this.config;
8877
- this.initIcons(), ye = ye || this.domEventType === "touch", ye && L.device === "mobile" && i.listType === te.DEFAULT && (i.listType = te.SIDE), i.hidePortrait && f.addClass(this.root, "portrait"), this.on([de, re], function() {
8877
+ this.initIcons(), _e = _e || this.domEventType === "touch", _e && L.device === "mobile" && i.listType === te.DEFAULT && (i.listType = te.SIDE), i.hidePortrait && f.addClass(this.root, "portrait"), this.on([ge, re], function() {
8878
8878
  e._resizeList();
8879
8879
  }), this.once(se, function() {
8880
8880
  i.list && i.list.length > 0 && (e.renderItemList(i.list), e.show());
8881
- }), ye && this.on(Mt, function() {
8881
+ }), _e && this.on(Mt, function() {
8882
8882
  e.isActive && (e.optionsList && e.optionsList.hide(), e.isActive = !1);
8883
- }), ye ? (i.toggleMode = we.CLICK, this.activeEvent = "touchend") : this.activeEvent = i.toggleMode === we.CLICK ? "click" : "mouseenter", i.toggleMode === we.CLICK ? this.bind(this.activeEvent, this.switchActiveState) : (this.bind(this.activeEvent, this.onEnter), this.bind("mouseleave", this.onLeave)), this.isIcons && this.bind("click", this.onIconClick);
8883
+ }), _e ? (i.toggleMode = xe.CLICK, this.activeEvent = "touchend") : this.activeEvent = i.toggleMode === xe.CLICK ? "click" : "mouseenter", i.toggleMode === xe.CLICK ? this.bind(this.activeEvent, this.switchActiveState) : (this.bind(this.activeEvent, this.onEnter), this.bind("mouseleave", this.onLeave)), this.isIcons && this.bind("click", this.onIconClick);
8884
8884
  }
8885
8885
  }, {
8886
8886
  key: "initIcons",
@@ -8928,7 +8928,7 @@ var ye = L.device === "mobile", et = /* @__PURE__ */ (function(o) {
8928
8928
  var n = this.config, s = n.listType, u = n.list;
8929
8929
  this.curIndex = i.to.index, this.curItem = u[this.curIndex], this.changeCurrentText();
8930
8930
  var l = this.config.isItemClickHide;
8931
- (l || ye || s === te.SIDE) && this.toggle(!1);
8931
+ (l || _e || s === te.SIDE) && this.toggle(!1);
8932
8932
  }
8933
8933
  }, {
8934
8934
  key: "onIconClick",
@@ -8957,7 +8957,7 @@ var ye = L.device === "mobile", et = /* @__PURE__ */ (function(o) {
8957
8957
  onItemClick: function(m, _) {
8958
8958
  n.onItemClick(m, _);
8959
8959
  },
8960
- domEventType: ye ? "touch" : "mouse"
8960
+ domEventType: _e ? "touch" : "mouse"
8961
8961
  },
8962
8962
  root: s.listType === te.SIDE ? l.innerContainer || l.root : this.root
8963
8963
  };
@@ -8981,7 +8981,7 @@ var ye = L.device === "mobile", et = /* @__PURE__ */ (function(o) {
8981
8981
  key: "destroy",
8982
8982
  value: function() {
8983
8983
  var e = this.config;
8984
- e.toggleMode === we.CLICK ? this.unbind(this.activeEvent, this.switchActiveState) : (this.unbind(this.activeEvent, this.onEnter), this.unbind("mouseleave", this.onLeave)), this.isIcons && this.unbind("click", this.onIconClick), this.optionsList && (this.optionsList.destroy(), this.optionsList = null);
8984
+ e.toggleMode === xe.CLICK ? this.unbind(this.activeEvent, this.switchActiveState) : (this.unbind(this.activeEvent, this.onEnter), this.unbind("mouseleave", this.onLeave)), this.isIcons && this.unbind("click", this.onIconClick), this.optionsList && (this.optionsList.destroy(), this.optionsList = null);
8985
8985
  }
8986
8986
  }, {
8987
8987
  key: "render",
@@ -9009,7 +9009,7 @@ var ye = L.device === "mobile", et = /* @__PURE__ */ (function(o) {
9009
9009
  hidePortrait: !0,
9010
9010
  isShowIcon: !1,
9011
9011
  isItemClickHide: !0,
9012
- toggleMode: we.HOVER,
9012
+ toggleMode: xe.HOVER,
9013
9013
  heightLimit: !0
9014
9014
  };
9015
9015
  }
@@ -9511,11 +9511,11 @@ function vs(o) {
9511
9511
  width: r.sizeInfo.width
9512
9512
  }, o.on(ue, function() {
9513
9513
  o.ispotsInit ? o.updateDuration() : o.initDots();
9514
- }), o.on(de, function() {
9514
+ }), o.on(ge, function() {
9515
9515
  o.positionDots();
9516
9516
  });
9517
9517
  }
9518
- var xe = {
9518
+ var Pe = {
9519
9519
  dragmove: "onProgressMove",
9520
9520
  dragstart: "onProgressDragStart",
9521
9521
  dragend: "onProgressDragEnd",
@@ -9595,8 +9595,8 @@ var xe = {
9595
9595
  key: "bindEvents",
9596
9596
  value: function() {
9597
9597
  var e = this, i = this.player.plugins.progress;
9598
- if (i && (Object.keys(xe).map(function(s) {
9599
- e[xe[s]] = e[xe[s]].bind(e), i.addCallBack(s, e[xe[s]]);
9598
+ if (i && (Object.keys(Pe).map(function(s) {
9599
+ e[Pe[s]] = e[Pe[s]].bind(e), i.addCallBack(s, e[Pe[s]]);
9600
9600
  }), L.device !== "mobile")) {
9601
9601
  this.bind(".xg-spot-info", "mousemove", this.onMousemove), this.bind(".xg-spot-info", "mousedown", this.onMousedown), this.bind(".xg-spot-info", "mouseup", this.onMouseup);
9602
9602
  var n = this.hook("previewClick", function() {
@@ -9754,8 +9754,8 @@ var xe = {
9754
9754
  key: "destroy",
9755
9755
  value: function() {
9756
9756
  var e = this, i = this.player.plugins.progress;
9757
- i && Object.keys(xe).map(function(n) {
9758
- i.removeCallBack(n, e[xe[n]]);
9757
+ i && Object.keys(Pe).map(function(n) {
9758
+ i.removeCallBack(n, e[Pe[n]]);
9759
9759
  }), this.videothumbnail = null, this.thumbnail = null, this.videoPreview && this.player.root.removeChild(this.videoPreview), this.unbind(".xg-spot-info", "mousemove", this.onMousemove), this.unbind(".xg-spot-info", "mousedown", this.onMousedown), this.unbind(".xg-spot-info", "mouseup", this.onMouseup), this.unbind(".xg-spot-content", "mouseup", this.handlerPreviewClick);
9760
9760
  }
9761
9761
  }, {
@@ -10016,7 +10016,7 @@ var _s = /* @__PURE__ */ (function(o) {
10016
10016
  };
10017
10017
  }
10018
10018
  }]), r;
10019
- })(F), Pe = {
10019
+ })(F), Ie = {
10020
10020
  REAL_TIME: "realtime",
10021
10021
  FIRST_FRAME: "firstframe",
10022
10022
  POSTER: "poster"
@@ -10058,7 +10058,7 @@ var je = null, Ts = /* @__PURE__ */ (function(o) {
10058
10058
  }
10059
10059
  }), y(v(t), "start", function(s, u) {
10060
10060
  var l = t.player.video, c = Cs(), h = t.checkVideoIsSupport(l);
10061
- !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 === Pe.REAL_TIME || c - t.preTime >= u) && (l && l.videoWidth && t.update(h, t.videoPI), t.preTime = c)), t.frameId = t._loopType === "timer" ? f.setTimeout(v(t), t.start, u) : f.requestAnimationFrame(t.start));
10061
+ !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 || c - t.preTime >= u) && (l && l.videoWidth && t.update(h, t.videoPI), t.preTime = c)), t.frameId = t._loopType === "timer" ? f.setTimeout(v(t), t.start, u) : f.requestAnimationFrame(t.start));
10062
10062
  }), y(v(t), "stop", function() {
10063
10063
  t.frameId && (t._loopType === "timer" ? f.clearTimeout(v(t), t.frameId) : f.cancelAnimationFrame(t.frameId), t.frameId = null);
10064
10064
  }), t;
@@ -10077,14 +10077,14 @@ var je = null, Ts = /* @__PURE__ */ (function(o) {
10077
10077
  x: 0,
10078
10078
  y: 0,
10079
10079
  pi: 0
10080
- }, this.isStart = !1, this._isLoaded = !1, this.videoPI = 0, this.preTime = 0, this.interval = parseInt(1e3 / u, 10), this.canvas = null, this.canvasCtx = null, this._frameCount = 0, this._loopType = this.config.mode !== Pe.REAL_TIME && this.interval >= 1e3 ? "timer" : "animation", this.once(it, function() {
10080
+ }, this.isStart = !1, this._isLoaded = !1, this.videoPI = 0, this.preTime = 0, this.interval = parseInt(1e3 / u, 10), this.canvas = null, this.canvasCtx = null, this._frameCount = 0, this._loopType = this.config.mode !== Ie.REAL_TIME && this.interval >= 1e3 ? "timer" : "animation", this.once(it, function() {
10081
10081
  e.player && (e.init(), e.renderByPoster(), e.player.paused || e.start());
10082
- }), s !== Pe.POSTER && (s !== Pe.FIRST_FRAME && (this.on(Te, function() {
10082
+ }), s !== Ie.POSTER && (s !== Ie.FIRST_FRAME && (this.on(Te, function() {
10083
10083
  e.stop();
10084
10084
  }), this.on(Z, function() {
10085
10085
  var l = e.config.startInterval;
10086
10086
  e._checkIfCanStart() && e.start(0, l);
10087
- }), this.on(De, function() {
10087
+ }), this.on(Re, function() {
10088
10088
  e.stop();
10089
10089
  })), this.on(oe, this.onLoadedData), this.on(Ot, function() {
10090
10090
  e._isLoaded = !1, e.stop();
@@ -10151,7 +10151,7 @@ var je = null, Ts = /* @__PURE__ */ (function(o) {
10151
10151
  key: "_checkIfCanStart",
10152
10152
  value: function() {
10153
10153
  var e = this.config.mode;
10154
- return this._isLoaded && !this.player.paused && e !== Pe.FIRST_FRAME && e !== Pe.POSTER;
10154
+ return this._isLoaded && !this.player.paused && e !== Ie.FIRST_FRAME && e !== Ie.POSTER;
10155
10155
  }
10156
10156
  }, {
10157
10157
  key: "renderOnce",
@@ -10457,7 +10457,7 @@ var je = null, Ts = /* @__PURE__ */ (function(o) {
10457
10457
  return {};
10458
10458
  }
10459
10459
  }]), r;
10460
- })(ge), on = /* @__PURE__ */ (function(o) {
10460
+ })(pe), on = /* @__PURE__ */ (function(o) {
10461
10461
  w(r, o);
10462
10462
  var a = x(r);
10463
10463
  function r() {
@@ -10593,7 +10593,7 @@ var Ss = /* @__PURE__ */ (function(o) {
10593
10593
  };
10594
10594
  }
10595
10595
  }]), r;
10596
- })(F), Ie = "cdn", We = ["cdn"], ws = /* @__PURE__ */ (function(o) {
10596
+ })(F), Ae = "cdn", We = ["cdn"], ws = /* @__PURE__ */ (function(o) {
10597
10597
  w(r, o);
10598
10598
  var a = x(r);
10599
10599
  function r() {
@@ -10602,7 +10602,7 @@ var Ss = /* @__PURE__ */ (function(o) {
10602
10602
  for (var e = arguments.length, i = new Array(e), n = 0; n < e; n++)
10603
10603
  i[n] = arguments[n];
10604
10604
  return t = a.call.apply(a, [this].concat(i)), y(v(t), "getSpeed", function() {
10605
- var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ie;
10605
+ var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ae;
10606
10606
  if (!t.speedListCache || !t.speedListCache[s] || t.speedListCache[s].length <= 0)
10607
10607
  return 0;
10608
10608
  var u = 0;
@@ -10616,7 +10616,7 @@ var Ss = /* @__PURE__ */ (function(o) {
10616
10616
  t.speedListCache[s] = [];
10617
10617
  });
10618
10618
  }), y(v(t), "_onRealSpeedChange", function(s) {
10619
- s.speed && t.appendList(s.speed, s.type || Ie);
10619
+ s.speed && t.appendList(s.speed, s.type || Ae);
10620
10620
  }), y(v(t), "testSpeed", function() {
10621
10621
  if (clearTimeout(t.timer), t.timer = null, !(!t.player || !t.config.openSpeed)) {
10622
10622
  var s = t.config, u = s.url, l = s.loadSize, c = s.testCnt, h = s.testTimeStep, d = u + (u.indexOf("?") < 0 ? "?testst=" : "&testst=") + Date.now();
@@ -10641,17 +10641,17 @@ var Ss = /* @__PURE__ */ (function(o) {
10641
10641
  }
10642
10642
  }
10643
10643
  }), y(v(t), "appendList", function(s) {
10644
- var u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ie;
10644
+ var u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ae;
10645
10645
  if (!(!t.speedListCache || !t.speedListCache[u])) {
10646
10646
  var l = t.config.saveSpeedMax;
10647
10647
  t.speedListCache[u].length >= l && t.speedListCache[u].shift(), t.speedListCache[u].push(s);
10648
10648
  var c = v(t), h = c.player;
10649
- h && (u === Ie ? h.realTimeSpeed = s : h[t.getSpeedName("realTime", u)] = s), t.updateSpeed(u);
10649
+ h && (u === Ae ? h.realTimeSpeed = s : h[t.getSpeedName("realTime", u)] = s), t.updateSpeed(u);
10650
10650
  }
10651
10651
  }), y(v(t), "updateSpeed", function() {
10652
- var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ie, u = t.getSpeed(s), l = v(t), c = l.player;
10652
+ var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ae, u = t.getSpeed(s), l = v(t), c = l.player;
10653
10653
  if (c)
10654
- if (s === Ie)
10654
+ if (s === Ae)
10655
10655
  (!c.avgSpeed || u !== c.avgSpeed) && (c.avgSpeed = u, c.emit(xt, {
10656
10656
  speed: u,
10657
10657
  realTimeSpeed: c.realTimeSpeed
@@ -10733,7 +10733,7 @@ var Ss = /* @__PURE__ */ (function(o) {
10733
10733
  var u = s.getVideoPlaybackQuality;
10734
10734
  u && (this.on(Z, function() {
10735
10735
  e._startTick();
10736
- }), this.on(De, function() {
10736
+ }), this.on(Re, function() {
10737
10737
  e._stopTick();
10738
10738
  }), this.on(ke, function() {
10739
10739
  e._stopTick();
@@ -10829,7 +10829,7 @@ var Ss = /* @__PURE__ */ (function(o) {
10829
10829
  }
10830
10830
  }]), r;
10831
10831
  })(F);
10832
- Le.use(bs);
10832
+ De.use(bs);
10833
10833
  var Ps = /* @__PURE__ */ S(function o(a, r) {
10834
10834
  var t, e, i;
10835
10835
  E(this, o);
@@ -10861,8 +10861,8 @@ y(W, "Sniffer", L);
10861
10861
  y(W, "Errors", ze);
10862
10862
  y(W, "Events", qn);
10863
10863
  y(W, "Plugin", F);
10864
- y(W, "BasePlugin", ge);
10865
- y(W, "I18N", Le);
10864
+ y(W, "BasePlugin", pe);
10865
+ y(W, "I18N", De);
10866
10866
  y(W, "STATE_CLASS", C);
10867
10867
  y(W, "InstManager", Ji);
10868
10868
  y(W, "PlayIcon", en);
@@ -10927,14 +10927,17 @@ const Ei = [
10927
10927
  "flv",
10928
10928
  "tls"
10929
10929
  ], Is = (o) => {
10930
- const a = Re("loadUrl"), r = _e(() => o.loadUrl || o.fileUrl || (a == null ? void 0 : a.value)), t = Re("uploadUrl"), e = _e(() => o.action || o.uploadUrl || (t == null ? void 0 : t.value)), i = Re("token"), n = _e(() => o.token || (i == null ? void 0 : i.value)), s = Re("onlyofficeConfig"), u = _e(() => o.onlyofficeConfig || (s == null ? void 0 : s.value)), l = Re("userInfo"), c = _e(() => o.userInfo || (l == null ? void 0 : l.value)), h = [...Ei, ...Ei.map((d) => d.toLocaleUpperCase())];
10930
+ const a = Ee("loadUrl"), r = de(() => o.loadUrl || o.fileUrl || (a == null ? void 0 : a.value)), t = Ee("uploadUrl"), e = de(() => o.action || o.uploadUrl || (t == null ? void 0 : t.value)), i = Ee("token"), n = de(() => o.token || (i == null ? void 0 : i.value)), s = Ee("header"), u = de(() => o.header || (s == null ? void 0 : s.value) || {
10931
+ Authorization: n.value
10932
+ }), l = Ee("onlyofficeConfig"), c = de(() => o.onlyofficeConfig || (l == null ? void 0 : l.value)), h = Ee("userInfo"), d = de(() => o.userInfo || (h == null ? void 0 : h.value)), g = [...Ei, ...Ei.map((p) => p.toLocaleUpperCase())];
10931
10933
  return {
10932
10934
  cLoadUrl: r,
10933
10935
  cUploadUrl: e,
10934
10936
  cToken: n,
10935
- cOnlyofficeConfig: u,
10936
- cUserInfo: c,
10937
- cOnlyofficePreviewType: h
10937
+ cHeader: u,
10938
+ cOnlyofficeConfig: c,
10939
+ cUserInfo: d,
10940
+ cOnlyofficePreviewType: g
10938
10941
  };
10939
10942
  }, As = (o, a) => {
10940
10943
  if (!a) return "";
@@ -10969,7 +10972,7 @@ const Ei = [
10969
10972
  }, ["update:modelValue"]),
10970
10973
  setup(o, { emit: a }) {
10971
10974
  let r = null;
10972
- const t = o, { cLoadUrl: e } = Is(t), i = _e(() => As(e.value, t.url)), n = {
10975
+ const t = o, { cLoadUrl: e } = Is(t), i = de(() => As(e.value, t.url)), n = {
10973
10976
  width: "100%",
10974
10977
  height: "100%",
10975
10978
  // 是否自动播放
@@ -10987,7 +10990,7 @@ const Ei = [
10987
10990
  poster: "",
10988
10991
  lang: "zh-CN",
10989
10992
  screenShot: !0
10990
- }, s = _e(() => ({
10993
+ }, s = de(() => ({
10991
10994
  ...n,
10992
10995
  ...t.config
10993
10996
  })), u = a, l = ln(o, "modelValue"), c = yn(), h = _n("image-viewer");
@@ -11013,43 +11016,43 @@ const Ei = [
11013
11016
  appear: ""
11014
11017
  }, {
11015
11018
  default: zt(() => [
11016
- Ae(
11019
+ Le(
11017
11020
  "div",
11018
11021
  {
11019
11022
  ref: "wrapper",
11020
11023
  tabindex: -1,
11021
- class: He(me(h).e("wrapper")),
11024
+ class: He(ye(h).e("wrapper")),
11022
11025
  style: vn({ zIndex: o.zIndex })
11023
11026
  },
11024
11027
  [
11025
- Ae(
11028
+ Le(
11026
11029
  "div",
11027
11030
  {
11028
- class: He(me(h).e("mask"))
11031
+ class: He(ye(h).e("mask"))
11029
11032
  },
11030
11033
  null,
11031
11034
  2
11032
11035
  /* CLASS */
11033
11036
  ),
11034
11037
  at(" CANVAS "),
11035
- Ae(
11038
+ Le(
11036
11039
  "div",
11037
11040
  {
11038
- class: He(me(h).e("canvas"))
11041
+ class: He(ye(h).e("canvas"))
11039
11042
  },
11040
11043
  [
11041
- Ae("div", { id: me(c) }, null, 8, Ls),
11044
+ Le("div", { id: ye(c) }, null, 8, Ls),
11042
11045
  at(" CLOSE "),
11043
- Ae(
11046
+ Le(
11044
11047
  "span",
11045
11048
  {
11046
- class: He([me(h).e("btn"), me(h).e("close")]),
11049
+ class: He([ye(h).e("btn"), ye(h).e("close")]),
11047
11050
  onClick: d
11048
11051
  },
11049
11052
  [
11050
11053
  ot(m, { onClick: d }, {
11051
11054
  default: zt(() => [
11052
- ot(me(Tn))
11055
+ ot(ye(Tn))
11053
11056
  ]),
11054
11057
  _: 1
11055
11058
  /* STABLE */