ik-next-ui 0.0.7 → 0.0.8

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.
@@ -1,4 +1,4 @@
1
- import { defineComponent as fe, computed as re, openBlock as T, createElementBlock as P, createElementVNode as S, inject as Et, useModel as fi, ref as Ce, reactive as Iu, watch as ei, nextTick as Lt, Fragment as ue, createBlock as W, unref as C, createCommentVNode as D, createVNode as B, withCtx as q, toDisplayString as ce, mergeModels as lt, resolveComponent as Zr, normalizeStyle as me, normalizeClass as te, h as Pu, mergeProps as jr, createSlots as Jr, renderSlot as de, createTextVNode as Tt, markRaw as Ia, effectScope as Du, shallowRef as Ru, onMounted as Lu, Teleport as yl, Transition as bl, withModifiers as Pe, resolveDynamicComponent as Ou, renderList as Vr, withDirectives as Fu, vShow as Mu, normalizeProps as Ti, guardReactiveProps as Si, isRef as Nu } from "vue";
1
+ import { defineComponent as he, computed as se, openBlock as T, createElementBlock as P, createElementVNode as S, inject as Et, useModel as fi, ref as Ce, reactive as Iu, watch as ei, nextTick as Lt, Fragment as ce, createBlock as W, unref as C, createCommentVNode as D, createVNode as B, withCtx as q, toDisplayString as fe, mergeModels as lt, resolveComponent as Zr, normalizeStyle as me, normalizeClass as te, h as Pu, mergeProps as jr, createSlots as Jr, renderSlot as de, createTextVNode as Tt, markRaw as Ia, effectScope as Du, shallowRef as Ru, onMounted as Lu, Teleport as yl, Transition as bl, withModifiers as Ie, resolveDynamicComponent as Ou, renderList as Vr, withDirectives as Fu, vShow as Mu, normalizeProps as Ti, guardReactiveProps as Si, isRef as Nu } from "vue";
2
2
  import { useLocale as Bu, useNamespace as Cl, useZIndex as Hu, ElIcon as Te, EVENT_CODE as pt, ElMessage as Ai, ElProgress as hi, ElButton as Uu, ElTooltip as kl, ElUpload as Pa } from "element-plus";
3
3
  import { ScaleToOriginal as zu, FullScreen as ju, Close as _l, ArrowLeft as Vu, ArrowRight as qu, ZoomOut as Gu, ZoomIn as $u, RefreshLeft as Wu, RefreshRight as Ku, WarningFilled as Yu, View as Xu, Download as Zu, QuestionFilled as wl } from "@element-plus/icons-vue";
4
4
  import { buildUUID as Tl, paramType as Da, _ as Ei, ikFile as Ju } from "iking-utils-pro";
@@ -6,7 +6,7 @@ import Qu from "axios";
6
6
  import { Icon as Ra } from "@iconify/vue";
7
7
  import { UseImage as La } from "@vueuse/components";
8
8
  import { useEventListener as Wt } from "@vueuse/core";
9
- const tt = (a, s) => (a.install = (n) => {
9
+ const et = (a, s) => (a.install = (n) => {
10
10
  for (const t of [a, ...Object.values({})])
11
11
  n.component(t.name, t);
12
12
  }, a);
@@ -258,7 +258,7 @@ const st = (a, s) => {
258
258
  "p-id": "7515",
259
259
  width: "200",
260
260
  height: "200"
261
- }, gc = /* @__PURE__ */ fe({
261
+ }, gc = /* @__PURE__ */ he({
262
262
  __name: "IkFileIcon",
263
263
  props: {
264
264
  type: {
@@ -279,7 +279,7 @@ const st = (a, s) => {
279
279
  }
280
280
  },
281
281
  setup(a) {
282
- const s = a, n = re(() => s.file ? st(s.file, s.fields) : s.type);
282
+ const s = a, n = se(() => s.file ? st(s.file, s.fields) : s.type);
283
283
  return (t, e) => n.value === "image" ? (T(), P("svg", ic, [...e[0] || (e[0] = [
284
284
  S(
285
285
  "path",
@@ -638,7 +638,7 @@ const st = (a, s) => {
638
638
  )
639
639
  ])]));
640
640
  }
641
- }), Qr = tt(gc), Be = (a, s) => {
641
+ }), Qr = et(gc), Ne = (a, s) => {
642
642
  const n = a.__vccOpts || a;
643
643
  for (const [t, e] of s)
644
644
  n[t] = e;
@@ -709,16 +709,19 @@ const st = (a, s) => {
709
709
  "flv",
710
710
  "tls"
711
711
  ], Al = (a) => {
712
- const s = Et("loadUrl"), n = re(() => a.loadUrl || a.fileUrl || (s == null ? void 0 : s.value)), t = Et("uploadUrl"), e = re(() => a.action || a.uploadUrl || (t == null ? void 0 : t.value)), i = Et("token"), r = re(() => a.token || (i == null ? void 0 : i.value)), o = Et("onlyofficeConfig"), l = re(() => a.onlyofficeConfig || (o == null ? void 0 : o.value)), u = Et("userInfo"), c = re(() => a.userInfo || (u == null ? void 0 : u.value)), f = [...Fa, ...Fa.map((d) => d.toLocaleUpperCase())];
712
+ const s = Et("loadUrl"), n = se(() => a.loadUrl || a.fileUrl || (s == null ? void 0 : s.value)), t = Et("uploadUrl"), e = se(() => a.action || a.uploadUrl || (t == null ? void 0 : t.value)), i = Et("token"), r = se(() => a.token || (i == null ? void 0 : i.value)), o = Et("onlyofficeConfig"), l = se(() => a.onlyofficeConfig || (o == null ? void 0 : o.value)), u = Et("userInfo"), c = se(() => a.userInfo || (u == null ? void 0 : u.value)), f = [...Fa, ...Fa.map((d) => d.toLocaleUpperCase())];
713
713
  return {
714
714
  cLoadUrl: n,
715
715
  cUploadUrl: e,
716
716
  cToken: r,
717
717
  cOnlyofficeConfig: l,
718
718
  cUserInfo: c,
719
- cOnlyofficePreviewType: f
719
+ cOnlyofficePreviewType: f,
720
+ cHeaders: {
721
+ Authorization: r.value
722
+ }
720
723
  };
721
- }, vc = { class: "head-logo" }, pc = ["src"], mc = { class: "text-preview-container" }, yc = { class: "text-preview-header" }, bc = { class: "file-name" }, Cc = { class: "text-preview-content" }, kc = /* @__PURE__ */ fe({
724
+ }, vc = { class: "head-logo" }, pc = ["src"], mc = { class: "text-preview-container" }, yc = { class: "text-preview-header" }, bc = { class: "file-name" }, Cc = { class: "text-preview-content" }, kc = /* @__PURE__ */ he({
722
725
  __name: "IkPreviewFileDialog",
723
726
  props: /* @__PURE__ */ lt({
724
727
  file: {
@@ -755,7 +758,7 @@ const st = (a, s) => {
755
758
  }),
756
759
  emits: /* @__PURE__ */ lt(["close"], ["update:show"]),
757
760
  setup(a, { emit: s }) {
758
- const n = a, t = s, e = fi(a, "show"), i = re(() => ({
761
+ const n = a, t = s, e = fi(a, "show"), i = se(() => ({
759
762
  name: "name",
760
763
  url: "url",
761
764
  suffix: "suffix",
@@ -769,11 +772,11 @@ const st = (a, s) => {
769
772
  }), c = (g) => {
770
773
  var m, p, w, y, k, E, x;
771
774
  try {
772
- const I = ((m = g == null ? void 0 : g.response) == null ? void 0 : m.data) || g, M = I[i.value.url] || (I == null ? void 0 : I.id) || I.attachmentId, K = (p = I[i.value.suffix] || I.attachmentSuffix) == null ? void 0 : p.toLowerCase(), z = I[i.value.name] || (I == null ? void 0 : I.attachmentName) || (I == null ? void 0 : I.originName);
775
+ const I = ((m = g == null ? void 0 : g.response) == null ? void 0 : m.data) || g, F = I[i.value.url] || (I == null ? void 0 : I.id) || I.attachmentId, K = (p = I[i.value.suffix] || I.attachmentSuffix) == null ? void 0 : p.toLowerCase(), z = I[i.value.name] || (I == null ? void 0 : I.attachmentName) || (I == null ? void 0 : I.originName);
773
776
  if (o.value = {
774
777
  ...g,
775
778
  name: g[i.value.name],
776
- url: Ot(n.loadUrl, M)
779
+ url: Ot(n.loadUrl, F)
777
780
  }, g && st(g, i.value) === "image") {
778
781
  u.image = !0;
779
782
  return;
@@ -798,7 +801,7 @@ const st = (a, s) => {
798
801
  document: {
799
802
  key: (g == null ? void 0 : g.key) || Tl(),
800
803
  title: z,
801
- url: Ot(n.loadUrl, M),
804
+ url: Ot(n.loadUrl, F),
802
805
  fileType: K,
803
806
  ...((x = n.onlyOfficeConfig) == null ? void 0 : x.document) || {}
804
807
  },
@@ -835,7 +838,7 @@ const st = (a, s) => {
835
838
  return (g, m) => {
836
839
  var p, w, y;
837
840
  return e.value ? (T(), P(
838
- ue,
841
+ ce,
839
842
  { key: 0 },
840
843
  [
841
844
  (p = o.value) != null && p.url && u.image ? (T(), W(C(dh), {
@@ -912,7 +915,7 @@ const st = (a, s) => {
912
915
  S(
913
916
  "span",
914
917
  bc,
915
- ce((k = o.value) == null ? void 0 : k.name),
918
+ fe((k = o.value) == null ? void 0 : k.name),
916
919
  1
917
920
  /* TEXT */
918
921
  )
@@ -920,7 +923,7 @@ const st = (a, s) => {
920
923
  S(
921
924
  "pre",
922
925
  Cc,
923
- ce(l.value),
926
+ fe(l.value),
924
927
  1
925
928
  /* TEXT */
926
929
  )
@@ -936,7 +939,7 @@ const st = (a, s) => {
936
939
  )) : D("v-if", !0);
937
940
  };
938
941
  }
939
- }), _c = tt(kc);
942
+ }), _c = et(kc);
940
943
  function ea(a) {
941
944
  return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
942
945
  }
@@ -944,7 +947,7 @@ const wc = {
944
947
  key: 2,
945
948
  class: "shrink-0 size-inherit",
946
949
  "aria-hidden": "true"
947
- }, Tc = ["xlink:href"], Sc = ["xlink:href"], Ac = ["size"], Ec = ["xlink:href"], xc = ["xlink:href"], Ic = /* @__PURE__ */ fe({
950
+ }, Tc = ["xlink:href"], Sc = ["xlink:href"], Ac = ["size"], Ec = ["xlink:href"], xc = ["xlink:href"], Ic = /* @__PURE__ */ he({
948
951
  name: "IkSvgIcon",
949
952
  __name: "index",
950
953
  props: {
@@ -967,7 +970,7 @@ const wc = {
967
970
  },
968
971
  emits: ["click"],
969
972
  setup(a, { emit: s }) {
970
- const n = a, t = s, e = re(() => n.danger ? "danger" : n.error ? "error" : n.type), i = re(() => {
973
+ const n = a, t = s, e = se(() => n.danger ? "danger" : n.error ? "error" : n.type), i = se(() => {
971
974
  if (!n.name)
972
975
  return;
973
976
  const d = (v) => /^\.{1,2}\//.test(v) || v.startsWith("/") || v.includes("/");
@@ -980,14 +983,14 @@ const wc = {
980
983
  function o() {
981
984
  return n.size ? r[n.size] || n.size : 18;
982
985
  }
983
- const l = re(() => {
986
+ const l = se(() => {
984
987
  const d = o(), v = typeof d == "number" ? `${d}px` : d;
985
988
  return {
986
989
  width: v,
987
990
  height: v,
988
991
  fontSize: v
989
992
  };
990
- }), u = re(() => {
993
+ }), u = se(() => {
991
994
  const v = `${Number.parseInt(o()) + 8}px`;
992
995
  return {
993
996
  width: v,
@@ -997,7 +1000,7 @@ const wc = {
997
1000
  function c(d) {
998
1001
  n.onClick ? n.onClick(d) : t("click", d);
999
1002
  }
1000
- const f = re(() => {
1003
+ const f = se(() => {
1001
1004
  if (i.value !== "two-color-svg")
1002
1005
  return {};
1003
1006
  const d = {};
@@ -1108,7 +1111,7 @@ const wc = {
1108
1111
  _: 1
1109
1112
  /* STABLE */
1110
1113
  }, 8, ["text"])) : (T(), P(
1111
- ue,
1114
+ ce,
1112
1115
  { key: 1 },
1113
1116
  [
1114
1117
  i.value === "unocss" ? (T(), P(
@@ -1185,7 +1188,7 @@ const wc = {
1185
1188
  );
1186
1189
  };
1187
1190
  }
1188
- }), Pc = /* @__PURE__ */ Be(Ic, [["__scopeId", "data-v-701f2359"]]), le = tt(Pc), Dc = /* @__PURE__ */ fe({
1191
+ }), Pc = /* @__PURE__ */ Ne(Ic, [["__scopeId", "data-v-701f2359"]]), ue = et(Pc), Dc = /* @__PURE__ */ he({
1189
1192
  __name: "CloseIcon",
1190
1193
  props: {
1191
1194
  showBg: {
@@ -1204,7 +1207,7 @@ const wc = {
1204
1207
  class: te({ "exit-main-page-maximize": a.showBg && a.fullscreen })
1205
1208
  },
1206
1209
  [
1207
- B(C(le), {
1210
+ B(C(ue), {
1208
1211
  name: "iksvg_guanbidanchuang",
1209
1212
  danger: "",
1210
1213
  title: "关闭",
@@ -1215,7 +1218,7 @@ const wc = {
1215
1218
  /* CLASS */
1216
1219
  ));
1217
1220
  }
1218
- }), Rc = /* @__PURE__ */ Be(Dc, [["__scopeId", "data-v-66132242"]]), Lc = { class: "base-header" }, Oc = /* @__PURE__ */ fe({
1221
+ }), Rc = /* @__PURE__ */ Ne(Dc, [["__scopeId", "data-v-66132242"]]), Lc = { class: "base-header" }, Oc = /* @__PURE__ */ he({
1219
1222
  __name: "IkBaseDialog",
1220
1223
  props: /* @__PURE__ */ lt({
1221
1224
  title: { default: "" },
@@ -1237,7 +1240,7 @@ const wc = {
1237
1240
  }),
1238
1241
  emits: ["update:modelValue"],
1239
1242
  setup(a) {
1240
- const s = a, n = fi(a, "modelValue"), t = Ce(s.fullscreen), e = fe({
1243
+ const s = a, n = fi(a, "modelValue"), t = Ce(s.fullscreen), e = he({
1241
1244
  setup() {
1242
1245
  return () => Pu(Rc, {
1243
1246
  showBg: s.showCloseBg,
@@ -1261,7 +1264,7 @@ const wc = {
1261
1264
  icon: q(() => [
1262
1265
  de(i.$slots, "title", {}, () => [
1263
1266
  Tt(
1264
- ce(a.title),
1267
+ fe(a.title),
1265
1268
  1
1266
1269
  /* TEXT */
1267
1270
  )
@@ -1271,7 +1274,7 @@ const wc = {
1271
1274
  S("div", Lc, [
1272
1275
  de(i.$slots, "header", {}, () => [
1273
1276
  Tt(
1274
- ce(a.title),
1277
+ fe(a.title),
1275
1278
  1
1276
1279
  /* TEXT */
1277
1280
  )
@@ -1294,7 +1297,7 @@ const wc = {
1294
1297
  ]), 1040, ["modelValue", "close-icon", "class", "fullscreen"]);
1295
1298
  };
1296
1299
  }
1297
- }), Ma = tt(Oc);
1300
+ }), Ma = et(Oc);
1298
1301
  function Fc(a, s, n, t) {
1299
1302
  function e(i) {
1300
1303
  return i instanceof n ? i : new n(function(r) {
@@ -1558,7 +1561,7 @@ function xl() {
1558
1561
  return Ui = a, Ui;
1559
1562
  }
1560
1563
  var zi, Za;
1561
- function He() {
1564
+ function Be() {
1562
1565
  if (Za) return zi;
1563
1566
  Za = 1;
1564
1567
  var a = xl(), s = typeof self == "object" && self && self.Object === Object && self, n = a || s || Function("return this")();
@@ -1568,7 +1571,7 @@ var ji, Ja;
1568
1571
  function ta() {
1569
1572
  if (Ja) return ji;
1570
1573
  Ja = 1;
1571
- var a = He(), s = a.Symbol;
1574
+ var a = Be(), s = a.Symbol;
1572
1575
  return ji = s, ji;
1573
1576
  }
1574
1577
  var Vi, Qa;
@@ -1635,7 +1638,7 @@ var Ki, rs;
1635
1638
  function Xc() {
1636
1639
  if (rs) return Ki;
1637
1640
  rs = 1;
1638
- var a = He(), s = a["__core-js_shared__"];
1641
+ var a = Be(), s = a["__core-js_shared__"];
1639
1642
  return Ki = s, Ki;
1640
1643
  }
1641
1644
  var Yi, as;
@@ -1710,7 +1713,7 @@ var en, cs;
1710
1713
  function ia() {
1711
1714
  if (cs) return en;
1712
1715
  cs = 1;
1713
- var a = ut(), s = He(), n = a(s, "Map");
1716
+ var a = ut(), s = Be(), n = a(s, "Map");
1714
1717
  return en = n, en;
1715
1718
  }
1716
1719
  var tn, fs;
@@ -2037,7 +2040,7 @@ It.exports;
2037
2040
  var Hs;
2038
2041
  function Ll() {
2039
2042
  return Hs || (Hs = 1, (function(a, s) {
2040
- var n = He(), t = kf(), e = s && !s.nodeType && s, i = e && !0 && a && !a.nodeType && a, r = i && i.exports === e, o = r ? n.Buffer : void 0, l = o ? o.isBuffer : void 0, u = l || t;
2043
+ var n = Be(), t = kf(), e = s && !s.nodeType && s, i = e && !0 && a && !a.nodeType && a, r = i && i.exports === e, o = r ? n.Buffer : void 0, l = o ? o.isBuffer : void 0, u = l || t;
2041
2044
  a.exports = u;
2042
2045
  })(It, It.exports)), It.exports;
2043
2046
  }
@@ -2066,12 +2069,12 @@ var Rn, js;
2066
2069
  function wf() {
2067
2070
  if (js) return Rn;
2068
2071
  js = 1;
2069
- var a = vi(), s = Ol(), n = Bt(), t = "[object Arguments]", e = "[object Array]", i = "[object Boolean]", r = "[object Date]", o = "[object Error]", l = "[object Function]", u = "[object Map]", c = "[object Number]", f = "[object Object]", d = "[object RegExp]", v = "[object Set]", g = "[object String]", m = "[object WeakMap]", p = "[object ArrayBuffer]", w = "[object DataView]", y = "[object Float32Array]", k = "[object Float64Array]", E = "[object Int8Array]", x = "[object Int16Array]", I = "[object Int32Array]", M = "[object Uint8Array]", K = "[object Uint8ClampedArray]", z = "[object Uint16Array]", N = "[object Uint32Array]", F = {};
2070
- F[y] = F[k] = F[E] = F[x] = F[I] = F[M] = F[K] = F[z] = F[N] = !0, F[t] = F[e] = F[p] = F[i] = F[w] = F[r] = F[o] = F[l] = F[u] = F[c] = F[f] = F[d] = F[v] = F[g] = F[m] = !1;
2071
- function ee(se) {
2072
- return n(se) && s(se.length) && !!F[a(se)];
2072
+ var a = vi(), s = Ol(), n = Bt(), t = "[object Arguments]", e = "[object Array]", i = "[object Boolean]", r = "[object Date]", o = "[object Error]", l = "[object Function]", u = "[object Map]", c = "[object Number]", f = "[object Object]", d = "[object RegExp]", v = "[object Set]", g = "[object String]", m = "[object WeakMap]", p = "[object ArrayBuffer]", w = "[object DataView]", y = "[object Float32Array]", k = "[object Float64Array]", E = "[object Int8Array]", x = "[object Int16Array]", I = "[object Int32Array]", F = "[object Uint8Array]", K = "[object Uint8ClampedArray]", z = "[object Uint16Array]", M = "[object Uint32Array]", O = {};
2073
+ O[y] = O[k] = O[E] = O[x] = O[I] = O[F] = O[K] = O[z] = O[M] = !0, O[t] = O[e] = O[p] = O[i] = O[w] = O[r] = O[o] = O[l] = O[u] = O[c] = O[f] = O[d] = O[v] = O[g] = O[m] = !1;
2074
+ function ie(oe) {
2075
+ return n(oe) && s(oe.length) && !!O[a(oe)];
2073
2076
  }
2074
- return Rn = ee, Rn;
2077
+ return Rn = ie, Rn;
2075
2078
  }
2076
2079
  var Ln, Vs;
2077
2080
  function ra() {
@@ -2250,7 +2253,7 @@ Dt.exports;
2250
2253
  var ro;
2251
2254
  function Df() {
2252
2255
  return ro || (ro = 1, (function(a, s) {
2253
- var n = He(), t = s && !s.nodeType && s, e = t && !0 && a && !a.nodeType && a, i = e && e.exports === t, r = i ? n.Buffer : void 0, o = r ? r.allocUnsafe : void 0;
2256
+ var n = Be(), t = s && !s.nodeType && s, e = t && !0 && a && !a.nodeType && a, i = e && e.exports === t, r = i ? n.Buffer : void 0, o = r ? r.allocUnsafe : void 0;
2254
2257
  function l(u, c) {
2255
2258
  if (c)
2256
2259
  return u.slice();
@@ -2389,28 +2392,28 @@ var ar, yo;
2389
2392
  function Bf() {
2390
2393
  if (yo) return ar;
2391
2394
  yo = 1;
2392
- var a = ut(), s = He(), n = a(s, "DataView");
2395
+ var a = ut(), s = Be(), n = a(s, "DataView");
2393
2396
  return ar = n, ar;
2394
2397
  }
2395
2398
  var sr, bo;
2396
2399
  function Hf() {
2397
2400
  if (bo) return sr;
2398
2401
  bo = 1;
2399
- var a = ut(), s = He(), n = a(s, "Promise");
2402
+ var a = ut(), s = Be(), n = a(s, "Promise");
2400
2403
  return sr = n, sr;
2401
2404
  }
2402
2405
  var or, Co;
2403
2406
  function Uf() {
2404
2407
  if (Co) return or;
2405
2408
  Co = 1;
2406
- var a = ut(), s = He(), n = a(s, "Set");
2409
+ var a = ut(), s = Be(), n = a(s, "Set");
2407
2410
  return or = n, or;
2408
2411
  }
2409
2412
  var lr, ko;
2410
2413
  function zf() {
2411
2414
  if (ko) return lr;
2412
2415
  ko = 1;
2413
- var a = ut(), s = He(), n = a(s, "WeakMap");
2416
+ var a = ut(), s = Be(), n = a(s, "WeakMap");
2414
2417
  return lr = n, lr;
2415
2418
  }
2416
2419
  var ur, _o;
@@ -2451,7 +2454,7 @@ var fr, To;
2451
2454
  function Vf() {
2452
2455
  if (To) return fr;
2453
2456
  To = 1;
2454
- var a = He(), s = a.Uint8Array;
2457
+ var a = Be(), s = a.Uint8Array;
2455
2458
  return fr = s, fr;
2456
2459
  }
2457
2460
  var hr, So;
@@ -2512,17 +2515,17 @@ var mr, Po;
2512
2515
  function Kf() {
2513
2516
  if (Po) return mr;
2514
2517
  Po = 1;
2515
- var a = fa(), s = qf(), n = Gf(), t = $f(), e = Wf(), i = "[object Boolean]", r = "[object Date]", o = "[object Map]", l = "[object Number]", u = "[object RegExp]", c = "[object Set]", f = "[object String]", d = "[object Symbol]", v = "[object ArrayBuffer]", g = "[object DataView]", m = "[object Float32Array]", p = "[object Float64Array]", w = "[object Int8Array]", y = "[object Int16Array]", k = "[object Int32Array]", E = "[object Uint8Array]", x = "[object Uint8ClampedArray]", I = "[object Uint16Array]", M = "[object Uint32Array]";
2516
- function K(z, N, F) {
2517
- var ee = z.constructor;
2518
- switch (N) {
2518
+ var a = fa(), s = qf(), n = Gf(), t = $f(), e = Wf(), i = "[object Boolean]", r = "[object Date]", o = "[object Map]", l = "[object Number]", u = "[object RegExp]", c = "[object Set]", f = "[object String]", d = "[object Symbol]", v = "[object ArrayBuffer]", g = "[object DataView]", m = "[object Float32Array]", p = "[object Float64Array]", w = "[object Int8Array]", y = "[object Int16Array]", k = "[object Int32Array]", E = "[object Uint8Array]", x = "[object Uint8ClampedArray]", I = "[object Uint16Array]", F = "[object Uint32Array]";
2519
+ function K(z, M, O) {
2520
+ var ie = z.constructor;
2521
+ switch (M) {
2519
2522
  case v:
2520
2523
  return a(z);
2521
2524
  case i:
2522
2525
  case r:
2523
- return new ee(+z);
2526
+ return new ie(+z);
2524
2527
  case g:
2525
- return s(z, F);
2528
+ return s(z, O);
2526
2529
  case m:
2527
2530
  case p:
2528
2531
  case w:
@@ -2531,17 +2534,17 @@ function Kf() {
2531
2534
  case E:
2532
2535
  case x:
2533
2536
  case I:
2534
- case M:
2535
- return e(z, F);
2537
+ case F:
2538
+ return e(z, O);
2536
2539
  case o:
2537
- return new ee();
2540
+ return new ie();
2538
2541
  case l:
2539
2542
  case f:
2540
- return new ee(z);
2543
+ return new ie(z);
2541
2544
  case u:
2542
2545
  return n(z);
2543
2546
  case c:
2544
- return new ee();
2547
+ return new ie();
2545
2548
  case d:
2546
2549
  return t(z);
2547
2550
  }
@@ -2615,11 +2618,11 @@ var Tr, No;
2615
2618
  function th() {
2616
2619
  if (No) return Tr;
2617
2620
  No = 1;
2618
- var a = vf(), s = pf(), n = Rl(), t = Ef(), e = Pf(), i = Df(), r = Rf(), o = Of(), l = Ff(), u = Mf(), c = Nf(), f = ca(), d = jf(), v = Kf(), g = Xf(), m = na(), p = Ll(), w = Jf(), y = Nt(), k = eh(), E = oa(), x = la(), I = 1, M = 2, K = 4, z = "[object Arguments]", N = "[object Array]", F = "[object Boolean]", ee = "[object Date]", se = "[object Error]", ye = "[object Function]", Ue = "[object GeneratorFunction]", ze = "[object Map]", Re = "[object Number]", Le = "[object Object]", ae = "[object RegExp]", ve = "[object Set]", j = "[object String]", O = "[object Symbol]", Y = "[object WeakMap]", he = "[object ArrayBuffer]", xe = "[object DataView]", Ie = "[object Float32Array]", Oe = "[object Float64Array]", nt = "[object Int8Array]", zt = "[object Int16Array]", jt = "[object Int32Array]", At = "[object Uint8Array]", wu = "[object Uint8ClampedArray]", Tu = "[object Uint16Array]", Su = "[object Uint32Array]", ie = {};
2619
- ie[z] = ie[N] = ie[he] = ie[xe] = ie[F] = ie[ee] = ie[Ie] = ie[Oe] = ie[nt] = ie[zt] = ie[jt] = ie[ze] = ie[Re] = ie[Le] = ie[ae] = ie[ve] = ie[j] = ie[O] = ie[At] = ie[wu] = ie[Tu] = ie[Su] = !0, ie[se] = ie[ye] = ie[Y] = !1;
2620
- function Vt(Q, dt, gt, Au, qt, We) {
2621
- var _e, Gt = dt & I, $t = dt & M, Eu = dt & K;
2622
- if (gt && (_e = qt ? gt(Q, Au, qt, We) : gt(Q)), _e !== void 0)
2621
+ var a = vf(), s = pf(), n = Rl(), t = Ef(), e = Pf(), i = Df(), r = Rf(), o = Of(), l = Ff(), u = Mf(), c = Nf(), f = ca(), d = jf(), v = Kf(), g = Xf(), m = na(), p = Ll(), w = Jf(), y = Nt(), k = eh(), E = oa(), x = la(), I = 1, F = 2, K = 4, z = "[object Arguments]", M = "[object Array]", O = "[object Boolean]", ie = "[object Date]", oe = "[object Error]", ye = "[object Function]", it = "[object GeneratorFunction]", He = "[object Map]", De = "[object Number]", Re = "[object Object]", Ue = "[object RegExp]", ee = "[object Set]", N = "[object String]", Y = "[object Symbol]", j = "[object WeakMap]", ae = "[object ArrayBuffer]", ve = "[object DataView]", xe = "[object Float32Array]", Le = "[object Float64Array]", nt = "[object Int8Array]", zt = "[object Int16Array]", jt = "[object Int32Array]", At = "[object Uint8Array]", wu = "[object Uint8ClampedArray]", Tu = "[object Uint16Array]", Su = "[object Uint32Array]", ne = {};
2622
+ ne[z] = ne[M] = ne[ae] = ne[ve] = ne[O] = ne[ie] = ne[xe] = ne[Le] = ne[nt] = ne[zt] = ne[jt] = ne[He] = ne[De] = ne[Re] = ne[Ue] = ne[ee] = ne[N] = ne[Y] = ne[At] = ne[wu] = ne[Tu] = ne[Su] = !0, ne[oe] = ne[ye] = ne[j] = !1;
2623
+ function Vt(Q, dt, gt, Au, qt, $e) {
2624
+ var _e, Gt = dt & I, $t = dt & F, Eu = dt & K;
2625
+ if (gt && (_e = qt ? gt(Q, Au, qt, $e) : gt(Q)), _e !== void 0)
2623
2626
  return _e;
2624
2627
  if (!y(Q))
2625
2628
  return Q;
@@ -2628,30 +2631,30 @@ function th() {
2628
2631
  if (_e = d(Q), !Gt)
2629
2632
  return r(Q, _e);
2630
2633
  } else {
2631
- var vt = f(Q), Aa = vt == ye || vt == Ue;
2634
+ var vt = f(Q), Aa = vt == ye || vt == it;
2632
2635
  if (p(Q))
2633
2636
  return i(Q, Gt);
2634
- if (vt == Le || vt == z || Aa && !qt) {
2637
+ if (vt == Re || vt == z || Aa && !qt) {
2635
2638
  if (_e = $t || Aa ? {} : g(Q), !Gt)
2636
2639
  return $t ? l(Q, e(_e, Q)) : o(Q, t(_e, Q));
2637
2640
  } else {
2638
- if (!ie[vt])
2641
+ if (!ne[vt])
2639
2642
  return qt ? Q : {};
2640
2643
  _e = v(Q, vt, Gt);
2641
2644
  }
2642
2645
  }
2643
- We || (We = new a());
2644
- var Ea = We.get(Q);
2646
+ $e || ($e = new a());
2647
+ var Ea = $e.get(Q);
2645
2648
  if (Ea)
2646
2649
  return Ea;
2647
- We.set(Q, _e), k(Q) ? Q.forEach(function(Ke) {
2648
- _e.add(Vt(Ke, dt, gt, Ke, Q, We));
2649
- }) : w(Q) && Q.forEach(function(Ke, rt) {
2650
- _e.set(rt, Vt(Ke, dt, gt, rt, Q, We));
2650
+ $e.set(Q, _e), k(Q) ? Q.forEach(function(We) {
2651
+ _e.add(Vt(We, dt, gt, We, Q, $e));
2652
+ }) : w(Q) && Q.forEach(function(We, rt) {
2653
+ _e.set(rt, Vt(We, dt, gt, rt, Q, $e));
2651
2654
  });
2652
2655
  var xu = Eu ? $t ? c : u : $t ? x : E, xa = Sa ? void 0 : xu(Q);
2653
- return s(xa || Q, function(Ke, rt) {
2654
- xa && (rt = Ke, Ke = Q[rt]), n(_e, rt, Vt(Ke, dt, gt, rt, Q, We));
2656
+ return s(xa || Q, function(We, rt) {
2657
+ xa && (rt = We, We = Q[rt]), n(_e, rt, Vt(We, dt, gt, rt, Q, $e));
2655
2658
  }), _e;
2656
2659
  }
2657
2660
  return Tr = Vt, Tr;
@@ -2666,7 +2669,7 @@ function ih() {
2666
2669
  }
2667
2670
  return Sr = t, Sr;
2668
2671
  }
2669
- var nh = ih(), rh = /* @__PURE__ */ Bc(nh), ha = fe({
2672
+ var nh = ih(), rh = /* @__PURE__ */ Bc(nh), ha = he({
2670
2673
  name: "DocumentEditor",
2671
2674
  props: {
2672
2675
  id: {
@@ -2850,7 +2853,7 @@ function sh(a, s, n, t, e, i) {
2850
2853
  }
2851
2854
  ha.render = sh;
2852
2855
  ha.__file = "src/components/DocumentEditor.vue";
2853
- const oh = /* @__PURE__ */ fe({
2856
+ const oh = /* @__PURE__ */ he({
2854
2857
  __name: "IkOnlyOffice",
2855
2858
  props: {
2856
2859
  // 文件服务器的服务的地址
@@ -2897,7 +2900,7 @@ const oh = /* @__PURE__ */ fe({
2897
2900
  /* STYLE */
2898
2901
  ));
2899
2902
  }
2900
- }), lh = tt(oh), uh = {
2903
+ }), lh = et(oh), uh = {
2901
2904
  /**
2902
2905
  * @description preview link list.
2903
2906
  */
@@ -2971,13 +2974,13 @@ const oh = /* @__PURE__ */ fe({
2971
2974
  close: () => !0,
2972
2975
  switch: (a) => Da.isNumber(a),
2973
2976
  rotate: (a) => Da.isNumber(a)
2974
- }, fh = ["src", "crossorigin"], hh = /* @__PURE__ */ fe({
2977
+ }, fh = ["src", "crossorigin"], hh = /* @__PURE__ */ he({
2975
2978
  name: "ElImageViewer",
2976
2979
  __name: "IkImageViewer",
2977
2980
  props: uh,
2978
2981
  emits: ch,
2979
2982
  setup(a, { expose: s, emit: n }) {
2980
- const t = (j) => Object.keys(j), e = {
2983
+ const t = (N) => Object.keys(N), e = {
2981
2984
  CONTAIN: {
2982
2985
  name: "contain",
2983
2986
  icon: Ia(ju)
@@ -2992,94 +2995,94 @@ const oh = /* @__PURE__ */ fe({
2992
2995
  offsetX: 0,
2993
2996
  offsetY: 0,
2994
2997
  enableTransition: !1
2995
- }), w = Ce(i.zIndex ?? u()), y = re(() => {
2996
- const { urlList: j } = i;
2997
- return j.length <= 1;
2998
- }), k = re(() => g.value === 0), E = re(() => g.value === i.urlList.length - 1), x = re(() => i.urlList[g.value]), I = re(() => [
2998
+ }), w = Ce(i.zIndex ?? u()), y = se(() => {
2999
+ const { urlList: N } = i;
3000
+ return N.length <= 1;
3001
+ }), k = se(() => g.value === 0), E = se(() => g.value === i.urlList.length - 1), x = se(() => i.urlList[g.value]), I = se(() => [
2999
3002
  l.e("btn"),
3000
3003
  l.e("prev"),
3001
3004
  l.is("disabled", !i.infinite && k.value)
3002
- ]), M = re(() => [
3005
+ ]), F = se(() => [
3003
3006
  l.e("btn"),
3004
3007
  l.e("next"),
3005
3008
  l.is("disabled", !i.infinite && E.value)
3006
- ]), K = re(() => {
3007
- const { scale: j, deg: O, offsetX: Y, offsetY: he, enableTransition: xe } = p.value;
3008
- let Ie = Y / j, Oe = he / j;
3009
- const nt = O * Math.PI / 180, zt = Math.cos(nt), jt = Math.sin(nt);
3010
- Ie = Ie * zt + Oe * jt, Oe = Oe * zt - Y / j * jt;
3009
+ ]), K = se(() => {
3010
+ const { scale: N, deg: Y, offsetX: j, offsetY: ae, enableTransition: ve } = p.value;
3011
+ let xe = j / N, Le = ae / N;
3012
+ const nt = Y * Math.PI / 180, zt = Math.cos(nt), jt = Math.sin(nt);
3013
+ xe = xe * zt + Le * jt, Le = Le * zt - j / N * jt;
3011
3014
  const At = {
3012
- transform: `scale(${j}) rotate(${O}deg) translate(${Ie}px, ${Oe}px)`,
3013
- transition: xe ? "transform .3s" : ""
3015
+ transform: `scale(${N}) rotate(${Y}deg) translate(${xe}px, ${Le}px)`,
3016
+ transition: ve ? "transform .3s" : ""
3014
3017
  };
3015
3018
  return m.value.name === e.CONTAIN.name && (At.maxWidth = At.maxHeight = "100%"), At;
3016
3019
  });
3017
3020
  function z() {
3018
- F(), r("close");
3021
+ O(), r("close");
3019
3022
  }
3020
- function N() {
3021
- const j = Ei.throttle((Y) => {
3022
- switch (Y.code) {
3023
+ function M() {
3024
+ const N = Ei.throttle((j) => {
3025
+ switch (j.code) {
3023
3026
  // ESC
3024
3027
  case pt.esc:
3025
3028
  i.closeOnPressEscape && z();
3026
3029
  break;
3027
3030
  // SPACE
3028
3031
  case pt.space:
3029
- ze();
3032
+ He();
3030
3033
  break;
3031
3034
  // LEFT_ARROW
3032
3035
  case pt.left:
3033
- Le();
3036
+ Re();
3034
3037
  break;
3035
3038
  // UP_ARROW
3036
3039
  case pt.up:
3037
- ve("zoomIn");
3040
+ ee("zoomIn");
3038
3041
  break;
3039
3042
  // RIGHT_ARROW
3040
3043
  case pt.right:
3041
- ae();
3044
+ Ue();
3042
3045
  break;
3043
3046
  // DOWN_ARROW
3044
3047
  case pt.down:
3045
- ve("zoomOut");
3048
+ ee("zoomOut");
3046
3049
  break;
3047
3050
  }
3048
- }), O = Ei.throttle((Y) => {
3049
- const he = Y.deltaY || Y.deltaX;
3050
- ve(he < 0 ? "zoomIn" : "zoomOut", {
3051
+ }), Y = Ei.throttle((j) => {
3052
+ const ae = j.deltaY || j.deltaX;
3053
+ ee(ae < 0 ? "zoomIn" : "zoomOut", {
3051
3054
  zoomRate: i.zoomRate,
3052
3055
  enableTransition: !1
3053
3056
  });
3054
3057
  });
3055
3058
  d.run(() => {
3056
- Wt(document, "keydown", j), Wt(document, "wheel", O);
3059
+ Wt(document, "keydown", N), Wt(document, "wheel", Y);
3057
3060
  });
3058
3061
  }
3059
- function F() {
3062
+ function O() {
3060
3063
  d.stop();
3061
3064
  }
3062
- function ee() {
3065
+ function ie() {
3063
3066
  v.value = !1;
3064
3067
  }
3065
- function se(j) {
3066
- v.value = !1, j.target.alt = o("el.image.error");
3068
+ function oe(N) {
3069
+ v.value = !1, N.target.alt = o("el.image.error");
3067
3070
  }
3068
- function ye(j) {
3069
- if (v.value || j.button !== 0 || !c.value) return;
3071
+ function ye(N) {
3072
+ if (v.value || N.button !== 0 || !c.value) return;
3070
3073
  p.value.enableTransition = !1;
3071
- const { offsetX: O, offsetY: Y } = p.value, he = j.pageX, xe = j.pageY, Ie = Ei.throttle((nt) => {
3074
+ const { offsetX: Y, offsetY: j } = p.value, ae = N.pageX, ve = N.pageY, xe = Ei.throttle((nt) => {
3072
3075
  p.value = {
3073
3076
  ...p.value,
3074
- offsetX: O + nt.pageX - he,
3075
- offsetY: Y + nt.pageY - xe
3077
+ offsetX: Y + nt.pageX - ae,
3078
+ offsetY: j + nt.pageY - ve
3076
3079
  };
3077
- }), Oe = Wt(document, "mousemove", Ie);
3080
+ }), Le = Wt(document, "mousemove", xe);
3078
3081
  Wt(document, "mouseup", () => {
3079
- Oe();
3080
- }), j.preventDefault();
3082
+ Le();
3083
+ }), N.preventDefault();
3081
3084
  }
3082
- function Ue() {
3085
+ function it() {
3083
3086
  p.value = {
3084
3087
  scale: 1,
3085
3088
  deg: 0,
@@ -3088,65 +3091,65 @@ const oh = /* @__PURE__ */ fe({
3088
3091
  enableTransition: !1
3089
3092
  };
3090
3093
  }
3091
- function ze() {
3094
+ function He() {
3092
3095
  if (v.value) return;
3093
- const j = t(e), O = Object.values(e), Y = m.value.name, xe = ((O == null ? void 0 : O.findIndex((Ie) => Ie.name === Y)) + 1) % j.length;
3094
- m.value = e[j[xe]], Ue();
3096
+ const N = t(e), Y = Object.values(e), j = m.value.name, ve = ((Y == null ? void 0 : Y.findIndex((xe) => xe.name === j)) + 1) % N.length;
3097
+ m.value = e[N[ve]], it();
3095
3098
  }
3096
- function Re(j) {
3097
- const O = i.urlList.length;
3098
- g.value = (j + O) % O;
3099
+ function De(N) {
3100
+ const Y = i.urlList.length;
3101
+ g.value = (N + Y) % Y;
3099
3102
  }
3100
- function Le() {
3101
- k.value && !i.infinite || Re(g.value - 1);
3103
+ function Re() {
3104
+ k.value && !i.infinite || De(g.value - 1);
3102
3105
  }
3103
- function ae() {
3104
- E.value && !i.infinite || Re(g.value + 1);
3106
+ function Ue() {
3107
+ E.value && !i.infinite || De(g.value + 1);
3105
3108
  }
3106
- function ve(j, O = {}) {
3109
+ function ee(N, Y = {}) {
3107
3110
  if (v.value) return;
3108
- const { minScale: Y, maxScale: he } = i, { zoomRate: xe, rotateDeg: Ie, enableTransition: Oe } = {
3111
+ const { minScale: j, maxScale: ae } = i, { zoomRate: ve, rotateDeg: xe, enableTransition: Le } = {
3109
3112
  zoomRate: i.zoomRate,
3110
3113
  rotateDeg: 90,
3111
3114
  enableTransition: !0,
3112
- ...O
3115
+ ...Y
3113
3116
  };
3114
- switch (j) {
3117
+ switch (N) {
3115
3118
  case "zoomOut":
3116
- p.value.scale > Y && (p.value.scale = Number.parseFloat(
3117
- (p.value.scale / xe).toFixed(3)
3119
+ p.value.scale > j && (p.value.scale = Number.parseFloat(
3120
+ (p.value.scale / ve).toFixed(3)
3118
3121
  ));
3119
3122
  break;
3120
3123
  case "zoomIn":
3121
- p.value.scale < he && (p.value.scale = Number.parseFloat(
3122
- (p.value.scale * xe).toFixed(3)
3124
+ p.value.scale < ae && (p.value.scale = Number.parseFloat(
3125
+ (p.value.scale * ve).toFixed(3)
3123
3126
  ));
3124
3127
  break;
3125
3128
  case "clockwise":
3126
- p.value.deg += Ie, r("rotate", p.value.deg);
3129
+ p.value.deg += xe, r("rotate", p.value.deg);
3127
3130
  break;
3128
3131
  case "anticlockwise":
3129
- p.value.deg -= Ie, r("rotate", p.value.deg);
3132
+ p.value.deg -= xe, r("rotate", p.value.deg);
3130
3133
  break;
3131
3134
  }
3132
- p.value.enableTransition = Oe;
3135
+ p.value.enableTransition = Le;
3133
3136
  }
3134
3137
  return ei(x, () => {
3135
3138
  Lt(() => {
3136
- const j = f.value[0];
3137
- j != null && j.complete || (v.value = !0);
3139
+ const N = f.value[0];
3140
+ N != null && N.complete || (v.value = !0);
3138
3141
  });
3139
- }), ei(g, (j) => {
3140
- Ue(), r("switch", j);
3142
+ }), ei(g, (N) => {
3143
+ it(), r("switch", N);
3141
3144
  }), Lu(() => {
3142
- var j, O;
3143
- N(), (O = (j = c.value) == null ? void 0 : j.focus) == null || O.call(j);
3145
+ var N, Y;
3146
+ M(), (Y = (N = c.value) == null ? void 0 : N.focus) == null || Y.call(N);
3144
3147
  }), s({
3145
3148
  /**
3146
3149
  * @description manually switch image
3147
3150
  */
3148
- setActiveItem: Re
3149
- }), (j, O) => (T(), W(yl, { to: "body" }, [
3151
+ setActiveItem: De
3152
+ }), (N, Y) => (T(), W(yl, { to: "body" }, [
3150
3153
  B(bl, {
3151
3154
  name: "viewer-fade",
3152
3155
  appear: ""
@@ -3166,7 +3169,7 @@ const oh = /* @__PURE__ */ fe({
3166
3169
  "div",
3167
3170
  {
3168
3171
  class: te(C(l).e("mask")),
3169
- onClick: O[0] || (O[0] = Pe((Y) => j.hideOnClickModal && z(), ["self"]))
3172
+ onClick: Y[0] || (Y[0] = Ie((j) => N.hideOnClickModal && z(), ["self"]))
3170
3173
  },
3171
3174
  null,
3172
3175
  2
@@ -3193,14 +3196,14 @@ const oh = /* @__PURE__ */ fe({
3193
3196
  ),
3194
3197
  D(" ARROW "),
3195
3198
  y.value ? D("v-if", !0) : (T(), P(
3196
- ue,
3199
+ ce,
3197
3200
  { key: 0 },
3198
3201
  [
3199
3202
  S(
3200
3203
  "span",
3201
3204
  {
3202
3205
  class: te(I.value),
3203
- onClick: Le
3206
+ onClick: Re
3204
3207
  },
3205
3208
  [
3206
3209
  B(C(Te), null, {
@@ -3217,8 +3220,8 @@ const oh = /* @__PURE__ */ fe({
3217
3220
  S(
3218
3221
  "span",
3219
3222
  {
3220
- class: te(M.value),
3221
- onClick: ae
3223
+ class: te(F.value),
3224
+ onClick: Ue
3222
3225
  },
3223
3226
  [
3224
3227
  B(C(Te), null, {
@@ -3250,7 +3253,7 @@ const oh = /* @__PURE__ */ fe({
3250
3253
  },
3251
3254
  [
3252
3255
  B(C(Te), {
3253
- onClick: O[1] || (O[1] = (Y) => ve("zoomOut"))
3256
+ onClick: Y[1] || (Y[1] = (j) => ee("zoomOut"))
3254
3257
  }, {
3255
3258
  default: q(() => [
3256
3259
  B(C(Gu))
@@ -3259,7 +3262,7 @@ const oh = /* @__PURE__ */ fe({
3259
3262
  /* STABLE */
3260
3263
  }),
3261
3264
  B(C(Te), {
3262
- onClick: O[2] || (O[2] = (Y) => ve("zoomIn"))
3265
+ onClick: Y[2] || (Y[2] = (j) => ee("zoomIn"))
3263
3266
  }, {
3264
3267
  default: q(() => [
3265
3268
  B(C($u))
@@ -3276,7 +3279,7 @@ const oh = /* @__PURE__ */ fe({
3276
3279
  2
3277
3280
  /* CLASS */
3278
3281
  ),
3279
- B(C(Te), { onClick: ze }, {
3282
+ B(C(Te), { onClick: He }, {
3280
3283
  default: q(() => [
3281
3284
  (T(), W(Ou(m.value.icon)))
3282
3285
  ]),
@@ -3293,7 +3296,7 @@ const oh = /* @__PURE__ */ fe({
3293
3296
  /* CLASS */
3294
3297
  ),
3295
3298
  B(C(Te), {
3296
- onClick: O[3] || (O[3] = (Y) => ve("anticlockwise"))
3299
+ onClick: Y[3] || (Y[3] = (j) => ee("anticlockwise"))
3297
3300
  }, {
3298
3301
  default: q(() => [
3299
3302
  B(C(Wu))
@@ -3302,7 +3305,7 @@ const oh = /* @__PURE__ */ fe({
3302
3305
  /* STABLE */
3303
3306
  }),
3304
3307
  B(C(Te), {
3305
- onClick: O[4] || (O[4] = (Y) => ve("clockwise"))
3308
+ onClick: Y[4] || (Y[4] = (j) => ee("clockwise"))
3306
3309
  }, {
3307
3310
  default: q(() => [
3308
3311
  B(C(Ku))
@@ -3326,21 +3329,21 @@ const oh = /* @__PURE__ */ fe({
3326
3329
  },
3327
3330
  [
3328
3331
  (T(!0), P(
3329
- ue,
3332
+ ce,
3330
3333
  null,
3331
- Vr(j.urlList, (Y, he) => Fu((T(), P("img", {
3334
+ Vr(N.urlList, (j, ae) => Fu((T(), P("img", {
3332
3335
  ref_for: !0,
3333
- ref: (xe) => f.value[he] = xe,
3334
- key: Y,
3335
- src: Y,
3336
+ ref: (ve) => f.value[ae] = ve,
3337
+ key: j,
3338
+ src: j,
3336
3339
  style: me(K.value),
3337
3340
  class: te(C(l).e("img")),
3338
- crossorigin: j.crossorigin,
3339
- onLoad: ee,
3340
- onError: se,
3341
+ crossorigin: N.crossorigin,
3342
+ onLoad: ie,
3343
+ onError: oe,
3341
3344
  onMousedown: ye
3342
3345
  }, null, 46, fh)), [
3343
- [Mu, he === g.value]
3346
+ [Mu, ae === g.value]
3344
3347
  ])),
3345
3348
  128
3346
3349
  /* KEYED_FRAGMENT */
@@ -3349,7 +3352,7 @@ const oh = /* @__PURE__ */ fe({
3349
3352
  2
3350
3353
  /* CLASS */
3351
3354
  ),
3352
- de(j.$slots, "default")
3355
+ de(N.$slots, "default")
3353
3356
  ],
3354
3357
  6
3355
3358
  /* CLASS, STYLE */
@@ -3360,7 +3363,7 @@ const oh = /* @__PURE__ */ fe({
3360
3363
  })
3361
3364
  ]));
3362
3365
  }
3363
- }), dh = tt(hh);
3366
+ }), dh = et(hh);
3364
3367
  function Ho(a, s) {
3365
3368
  var n = Object.keys(a);
3366
3369
  if (Object.getOwnPropertySymbols) {
@@ -3371,7 +3374,7 @@ function Ho(a, s) {
3371
3374
  }
3372
3375
  return n;
3373
3376
  }
3374
- function oe(a) {
3377
+ function le(a) {
3375
3378
  for (var s = 1; s < arguments.length; s++) {
3376
3379
  var n = arguments[s] != null ? arguments[s] : {};
3377
3380
  s % 2 ? Ho(Object(n), !0).forEach(function(t) {
@@ -3486,7 +3489,7 @@ function G() {
3486
3489
  }
3487
3490
  }, G.apply(this, arguments);
3488
3491
  }
3489
- function De(a) {
3492
+ function Pe(a) {
3490
3493
  return ph(a) || mh(a) || yh(a) || bh();
3491
3494
  }
3492
3495
  function ph(a) {
@@ -3808,7 +3811,7 @@ h.deepMerge = function(a, s) {
3808
3811
  if (h.typeOf(s[n]) === "Array" && h.typeOf(a[n]) === "Array") {
3809
3812
  if (h.typeOf(a[n]) === "Array") {
3810
3813
  var t;
3811
- (t = a[n]).push.apply(t, De(s[n]));
3814
+ (t = a[n]).push.apply(t, Pe(s[n]));
3812
3815
  }
3813
3816
  } else h.typeOf(a[n]) === h.typeOf(s[n]) && a[n] !== null && h.typeOf(a[n]) === "Object" && !(s[n] instanceof window.Node) ? h.deepMerge(a[n], s[n]) : s[n] !== null && (a[n] = s[n]);
3814
3817
  }), a;
@@ -4126,51 +4129,51 @@ function Ah(a, s, n) {
4126
4129
  if (typeof a != "function")
4127
4130
  throw new TypeError("Expected a function");
4128
4131
  s = +s || 0, $l(n) && (c = !!n.leading, f = "maxWait" in n, i = f ? Math.max(+n.maxWait || 0, s) : i, d = "trailing" in n ? !!n.trailing : d);
4129
- function g(N) {
4130
- var F = t, ee = e;
4131
- return t = e = void 0, u = N, r = a.apply(ee, F), r;
4132
+ function g(M) {
4133
+ var O = t, ie = e;
4134
+ return t = e = void 0, u = M, r = a.apply(ie, O), r;
4132
4135
  }
4133
- function m(N, F) {
4134
- return v ? (window.cancelAnimationFrame(o), window.requestAnimationFrame(N)) : setTimeout(N, F);
4136
+ function m(M, O) {
4137
+ return v ? (window.cancelAnimationFrame(o), window.requestAnimationFrame(M)) : setTimeout(M, O);
4135
4138
  }
4136
- function p(N) {
4139
+ function p(M) {
4137
4140
  if (v)
4138
- return window.cancelAnimationFrame(N);
4139
- clearTimeout(N);
4141
+ return window.cancelAnimationFrame(M);
4142
+ clearTimeout(M);
4140
4143
  }
4141
- function w(N) {
4142
- return u = N, o = m(E, s), c ? g(N) : r;
4144
+ function w(M) {
4145
+ return u = M, o = m(E, s), c ? g(M) : r;
4143
4146
  }
4144
- function y(N) {
4145
- var F = N - l, ee = N - u, se = s - F;
4146
- return f ? Math.min(se, i - ee) : se;
4147
+ function y(M) {
4148
+ var O = M - l, ie = M - u, oe = s - O;
4149
+ return f ? Math.min(oe, i - ie) : oe;
4147
4150
  }
4148
- function k(N) {
4149
- var F = N - l, ee = N - u;
4150
- return l === void 0 || F >= s || F < 0 || f && ee >= i;
4151
+ function k(M) {
4152
+ var O = M - l, ie = M - u;
4153
+ return l === void 0 || O >= s || O < 0 || f && ie >= i;
4151
4154
  }
4152
4155
  function E() {
4153
- var N = Date.now();
4154
- if (k(N))
4155
- return x(N);
4156
- o = m(E, y(N));
4156
+ var M = Date.now();
4157
+ if (k(M))
4158
+ return x(M);
4159
+ o = m(E, y(M));
4157
4160
  }
4158
- function x(N) {
4159
- return o = void 0, d && t ? g(N) : (t = e = void 0, r);
4161
+ function x(M) {
4162
+ return o = void 0, d && t ? g(M) : (t = e = void 0, r);
4160
4163
  }
4161
4164
  function I() {
4162
4165
  o !== void 0 && p(o), u = 0, t = l = e = o = void 0;
4163
4166
  }
4164
- function M() {
4167
+ function F() {
4165
4168
  return o === void 0 ? r : x(Date.now());
4166
4169
  }
4167
4170
  function K() {
4168
4171
  return o !== void 0;
4169
4172
  }
4170
4173
  function z() {
4171
- for (var N = Date.now(), F = k(N), ee = arguments.length, se = new Array(ee), ye = 0; ye < ee; ye++)
4172
- se[ye] = arguments[ye];
4173
- if (t = se, e = this, l = N, F) {
4174
+ for (var M = Date.now(), O = k(M), ie = arguments.length, oe = new Array(ie), ye = 0; ye < ie; ye++)
4175
+ oe[ye] = arguments[ye];
4176
+ if (t = oe, e = this, l = M, O) {
4174
4177
  if (o === void 0)
4175
4178
  return w(l);
4176
4179
  if (f)
@@ -4178,7 +4181,7 @@ function Ah(a, s, n) {
4178
4181
  }
4179
4182
  return o === void 0 && (o = m(E, s)), r;
4180
4183
  }
4181
- return z.cancel = I, z.flush = M, z.pending = K, z;
4184
+ return z.cancel = I, z.flush = F, z.pending = K, z;
4182
4185
  }
4183
4186
  function Eh(a, s, n) {
4184
4187
  var t = !0, e = !0;
@@ -4363,7 +4366,7 @@ var jo = {
4363
4366
  return m.ex = t ? (t[arguments[0]] || {}).msg : "", m;
4364
4367
  }
4365
4368
  }
4366
- ), Ee = "play", ga = "playing", ct = "ended", St = "pause", Ht = "error", bi = "seeking", qe = "seeked", Ae = "timeupdate", Ut = "waiting", Ve = "canplay", Dh = "canplaythrough", $e = "durationchange", Wl = "volumechange", Ge = "loadeddata", Rh = "loadedmetadata", Kl = "ratechange", Yl = "progress", va = "loadstart", ft = "emptied", Lh = "stalled", Oh = "suspend", Fh = "abort", Mh = "bufferedChange", pa = "focus", Xl = "blur", ma = "ready", Zl = "urlNull", ot = "autoplay_started", ya = "autoplay_was_prevented", Ci = "complete", ii = "replay", ba = "destroy", ki = "urlchange", Wr = "download_speed_change", Jl = "leaveplayer", Ql = "enterplayer", eu = "loading", je = "fullscreen_change", ni = "cssFullscreen_change", ri = "mini_state_change", Ca = "definition_change", Nh = "before_definition_change", Kr = "after_definition_change", Bh = "SEI_PARSED", Hh = "retry", Qe = "video_resize", Yr = "pip_change", tu = "rotate", iu = "screenShot", ai = "playnext", nu = "shortcut", ru = "xglog", si = "user_action", _i = "reset", au = "source_error", su = "source_success", Uh = "switch_subtitle", ou = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], lu = {
4369
+ ), Ee = "play", ga = "playing", ct = "ended", St = "pause", Ht = "error", bi = "seeking", Ve = "seeked", Ae = "timeupdate", Ut = "waiting", je = "canplay", Dh = "canplaythrough", Ge = "durationchange", Wl = "volumechange", qe = "loadeddata", Rh = "loadedmetadata", Kl = "ratechange", Yl = "progress", va = "loadstart", ft = "emptied", Lh = "stalled", Oh = "suspend", Fh = "abort", Mh = "bufferedChange", pa = "focus", Xl = "blur", ma = "ready", Zl = "urlNull", ot = "autoplay_started", ya = "autoplay_was_prevented", Ci = "complete", ii = "replay", ba = "destroy", ki = "urlchange", Wr = "download_speed_change", Jl = "leaveplayer", Ql = "enterplayer", eu = "loading", ze = "fullscreen_change", ni = "cssFullscreen_change", ri = "mini_state_change", Ca = "definition_change", Nh = "before_definition_change", Kr = "after_definition_change", Bh = "SEI_PARSED", Hh = "retry", Je = "video_resize", Yr = "pip_change", tu = "rotate", iu = "screenShot", ai = "playnext", nu = "shortcut", ru = "xglog", si = "user_action", _i = "reset", au = "source_error", su = "source_success", Uh = "switch_subtitle", ou = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], lu = {
4367
4370
  STATS_INFO: "stats_info",
4368
4371
  STATS_DOWNLOAD: "stats_download",
4369
4372
  STATS_RESET: "stats_reset"
@@ -4376,22 +4379,22 @@ const zh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4376
4379
  AUTOPLAY_STARTED: ot,
4377
4380
  BEFORE_DEFINITION_CHANGE: Nh,
4378
4381
  BUFFER_CHANGE: Mh,
4379
- CANPLAY: Ve,
4382
+ CANPLAY: je,
4380
4383
  CANPLAY_THROUGH: Dh,
4381
4384
  COMPLETE: Ci,
4382
4385
  CSS_FULLSCREEN_CHANGE: ni,
4383
4386
  DEFINITION_CHANGE: Ca,
4384
4387
  DESTROY: ba,
4385
4388
  DOWNLOAD_SPEED_CHANGE: Wr,
4386
- DURATION_CHANGE: $e,
4389
+ DURATION_CHANGE: Ge,
4387
4390
  EMPTIED: ft,
4388
4391
  ENDED: ct,
4389
4392
  ENTER_PLAYER: Ql,
4390
4393
  ERROR: Ht,
4391
4394
  FPS_STUCK: uu,
4392
- FULLSCREEN_CHANGE: je,
4395
+ FULLSCREEN_CHANGE: ze,
4393
4396
  LEAVE_PLAYER: Jl,
4394
- LOADED_DATA: Ge,
4397
+ LOADED_DATA: qe,
4395
4398
  LOADED_METADATA: Rh,
4396
4399
  LOADING: eu,
4397
4400
  LOAD_START: va,
@@ -4411,7 +4414,7 @@ const zh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4411
4414
  RETRY: Hh,
4412
4415
  ROTATE: tu,
4413
4416
  SCREEN_SHOT: iu,
4414
- SEEKED: qe,
4417
+ SEEKED: Ve,
4415
4418
  SEEKING: bi,
4416
4419
  SEI_PARSED: Bh,
4417
4420
  SHORTCUT: nu,
@@ -4426,7 +4429,7 @@ const zh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4426
4429
  URL_NULL: Zl,
4427
4430
  USER_ACTION: si,
4428
4431
  VIDEO_EVENTS: ou,
4429
- VIDEO_RESIZE: Qe,
4432
+ VIDEO_RESIZE: Je,
4430
4433
  VOLUME_CHANGE: Wl,
4431
4434
  WAITING: Ut,
4432
4435
  XGLOG: ru
@@ -4965,7 +4968,7 @@ var Vh = /* @__PURE__ */ (function(a) {
4965
4968
  t.clear();
4966
4969
  }
4967
4970
  }]), a;
4968
- })(), Go = ["fullscreenchange", "webkitfullscreenchange", "mozfullscreenchange", "MSFullscreenChange"], $o = ["requestFullscreen", "webkitRequestFullscreen", "mozRequestFullScreen", "msRequestFullscreen"], Wo = ["exitFullscreen", "webkitExitFullscreen", "mozCancelFullScreen", "msExitFullscreen"], Je = "data-xgplayerid";
4971
+ })(), Go = ["fullscreenchange", "webkitfullscreenchange", "mozfullscreenchange", "MSFullscreenChange"], $o = ["requestFullscreen", "webkitRequestFullscreen", "mozRequestFullScreen", "msRequestFullscreen"], Wo = ["exitFullscreen", "webkitExitFullscreen", "mozCancelFullScreen", "msExitFullscreen"], Ze = "data-xgplayerid";
4969
4972
  function Yt(a, s, n) {
4970
4973
  for (var t = arguments.length, e = new Array(t > 3 ? t - 3 : 0), i = 3; i < t; i++)
4971
4974
  e[i - 3] = arguments[i];
@@ -4992,9 +4995,9 @@ function oi(a, s) {
4992
4995
  }
4993
4996
  if (this.__hooks && this.__hooks[a])
4994
4997
  try {
4995
- var r = Ne.apply(void 0, [this, a, s].concat(Array.prototype.slice.call(arguments)));
4998
+ var r = Me.apply(void 0, [this, a, s].concat(Array.prototype.slice.call(arguments)));
4996
4999
  r ? r.then ? r.then(function(o) {
4997
- o !== !1 && Yt.apply(void 0, [e, s, n.next].concat(De(t)));
5000
+ o !== !1 && Yt.apply(void 0, [e, s, n.next].concat(Pe(t)));
4998
5001
  }).catch(function(o) {
4999
5002
  throw o;
5000
5003
  }) : Yt.apply(void 0, [this, s, n.next].concat(Array.prototype.slice.call(arguments))) : r === void 0 && Yt.apply(void 0, [this, s, n.next].concat(Array.prototype.slice.call(arguments)));
@@ -5060,7 +5063,7 @@ function fu(a) {
5060
5063
  function hu(a) {
5061
5064
  a.__hooks = null;
5062
5065
  }
5063
- function Ne(a, s, n) {
5066
+ function Me(a, s, n) {
5064
5067
  for (var t = arguments.length, e = new Array(t > 3 ? t - 3 : 0), i = 3; i < t; i++)
5065
5068
  e[i - 3] = arguments[i];
5066
5069
  if (a.__hooks && Array.isArray(a.__hooks[s])) {
@@ -5088,7 +5091,7 @@ function Ne(a, s, n) {
5088
5091
  function Pr(a, s) {
5089
5092
  X.logError("[".concat(a, "] event or callback cant be undefined or null when call ").concat(s));
5090
5093
  }
5091
- var et = /* @__PURE__ */ (function() {
5094
+ var Qe = /* @__PURE__ */ (function() {
5092
5095
  function a(s) {
5093
5096
  R(this, a), h.checkIsFunction(this.beforeCreate) && this.beforeCreate(s), fu(this), this.__args = s, this.__events = {}, this.__onceEvents = {}, this.config = s.config || {}, this.player = null, this.playerConfig = {}, this.pluginName = "", this.__init(s);
5094
5097
  }
@@ -5208,7 +5211,7 @@ var et = /* @__PURE__ */ (function() {
5208
5211
  value: function(n, t) {
5209
5212
  var e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
5210
5213
  if (this.player) {
5211
- var i = oe(oe({}, e), {}, {
5214
+ var i = le(le({}, e), {}, {
5212
5215
  pluginName: this.pluginName
5213
5216
  });
5214
5217
  this.player.emitUserAction(n, t, i);
@@ -5330,7 +5333,7 @@ const Jo = /* @__PURE__ */ ea(Wh);
5330
5333
  var Kh = {
5331
5334
  CONTROLS: "controls",
5332
5335
  ROOT: "root"
5333
- }, ne = {
5336
+ }, re = {
5334
5337
  ROOT: "root",
5335
5338
  ROOT_LEFT: "rootLeft",
5336
5339
  ROOT_RIGHT: "rootRight",
@@ -5678,10 +5681,10 @@ var J = /* @__PURE__ */ (function(a) {
5678
5681
  }, {
5679
5682
  key: "POSITIONS",
5680
5683
  get: function() {
5681
- return ne;
5684
+ return re;
5682
5685
  }
5683
5686
  }]), n;
5684
- })(et), Qh = /* @__PURE__ */ (function() {
5687
+ })(Qe), Qh = /* @__PURE__ */ (function() {
5685
5688
  function a() {
5686
5689
  var s = this;
5687
5690
  if (R(this, a), _(this, "__trigger", function(n) {
@@ -5703,7 +5706,7 @@ var J = /* @__PURE__ */ (function(a) {
5703
5706
  value: function(n, t) {
5704
5707
  if (this.observer) {
5705
5708
  this.observer.observe(n);
5706
- for (var e = n.getAttribute(Je), i = this.__handlers, r = -1, o = 0; o < i.length; o++)
5709
+ for (var e = n.getAttribute(Ze), i = this.__handlers, r = -1, o = 0; o < i.length; o++)
5707
5710
  i[o] && n === i[o].target && (r = o);
5708
5711
  r > -1 ? this.__handlers[r].handler = t : this.__handlers.push({
5709
5712
  target: n,
@@ -6071,11 +6074,11 @@ var id = function(s, n) {
6071
6074
  var t, e, i;
6072
6075
  n.preset && n.options ? i = new n.preset(n.options, s.config) : i = new n({}, s.config);
6073
6076
  var r = i, o = r.plugins, l = o === void 0 ? [] : o, u = r.ignores, c = u === void 0 ? [] : u, f = r.icons, d = f === void 0 ? {} : f, v = r.i18n, g = v === void 0 ? [] : v;
6074
- s.config.plugins || (s.config.plugins = []), s.config.ignores || (s.config.ignores = []), (t = s.config.plugins).push.apply(t, De(l)), (e = s.config.ignores).push.apply(e, De(c)), Object.keys(d).map(function(p) {
6077
+ s.config.plugins || (s.config.plugins = []), s.config.ignores || (s.config.ignores = []), (t = s.config.plugins).push.apply(t, Pe(l)), (e = s.config.ignores).push.apply(e, Pe(c)), Object.keys(d).map(function(p) {
6075
6078
  s.config.icons[p] || (s.config.icons[p] = d[p]);
6076
6079
  });
6077
6080
  var m = s.config.i18n || [];
6078
- g.push.apply(g, De(m)), s.config.i18n = g;
6081
+ g.push.apply(g, Pe(m)), s.config.i18n = g;
6079
6082
  }, nd = /* @__PURE__ */ (function(a) {
6080
6083
  H(n, a);
6081
6084
  var s = U(n);
@@ -6172,16 +6175,16 @@ var id = function(s, n) {
6172
6175
  if (!i.root) {
6173
6176
  var l = i.position ? i.position : i.config && i.config.position ? i.config.position : o.position;
6174
6177
  switch (l) {
6175
- case ne.CONTROLS_LEFT:
6178
+ case re.CONTROLS_LEFT:
6176
6179
  i.root = this.left;
6177
6180
  break;
6178
- case ne.CONTROLS_RIGHT:
6181
+ case re.CONTROLS_RIGHT:
6179
6182
  i.root = this.right;
6180
6183
  break;
6181
- case ne.CONTROLS_CENTER:
6184
+ case re.CONTROLS_CENTER:
6182
6185
  i.root = this.center;
6183
6186
  break;
6184
- case ne.CONTROLS:
6187
+ case re.CONTROLS:
6185
6188
  i.root = this.root;
6186
6189
  break;
6187
6190
  default:
@@ -6322,7 +6325,7 @@ function Ft(a, s) {
6322
6325
  var t = h.typeOf(s[n]), e = h.typeOf(a[n]);
6323
6326
  if (t === "Array") {
6324
6327
  var i;
6325
- e !== "Array" && (a[n] = []), (i = a[n]).push.apply(i, De(s[n]));
6328
+ e !== "Array" && (a[n] = []), (i = a[n]).push.apply(i, Pe(s[n]));
6326
6329
  } else t === "Object" ? (e !== "Object" && (a[n] = {}), Ft(a[n], s[n])) : a[n] = s[n];
6327
6330
  }), a;
6328
6331
  }
@@ -6361,7 +6364,7 @@ function sd(a) {
6361
6364
  textKeys: {},
6362
6365
  pId: a
6363
6366
  };
6364
- return Ft(n.lang, Se.lang), (s = n.langKeys).push.apply(s, De(Se.langKeys)), Ft(n.textKeys, Se.textKeys), n;
6367
+ return Ft(n.lang, Se.lang), (s = n.langKeys).push.apply(s, Pe(Se.langKeys)), Ft(n.textKeys, Se.textKeys), n;
6365
6368
  }
6366
6369
  ka(rd);
6367
6370
  var wt = {
@@ -6483,7 +6486,7 @@ function od(a) {
6483
6486
  }
6484
6487
  return null;
6485
6488
  }
6486
- var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /* @__PURE__ */ (function(a) {
6489
+ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ke = null, wi = /* @__PURE__ */ (function(a) {
6487
6490
  H(n, a);
6488
6491
  var s = U(n);
6489
6492
  function n(t) {
@@ -6493,7 +6496,7 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
6493
6496
  e = s.call(this, i), _(b(e), "canPlayFunc", function() {
6494
6497
  if (e.config) {
6495
6498
  var g = e.config, m = g.autoplay, p = g.defaultPlaybackRate;
6496
- X.logInfo("player", "canPlayFunc, startTime", e.__startTime), e._seekToStartTime(), e.playbackRate = p, (m || e._useAutoplay) && e.mediaPlay(), e.off(Ve, e.canPlayFunc), e.removeClass(A.ENTER);
6499
+ X.logInfo("player", "canPlayFunc, startTime", e.__startTime), e._seekToStartTime(), e.playbackRate = p, (m || e._useAutoplay) && e.mediaPlay(), e.off(je, e.canPlayFunc), e.removeClass(A.ENTER);
6497
6500
  }
6498
6501
  }), _(b(e), "onFullscreenChange", function(g, m) {
6499
6502
  var p = function() {
@@ -6513,9 +6516,9 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
6513
6516
  to: !1
6514
6517
  }]
6515
6518
  });
6516
- var y = Ih(w, e.playerId, Je);
6519
+ var y = Ih(w, e.playerId, Ze);
6517
6520
  if (m || w && (w === e._fullscreenEl || y))
6518
- p(), !e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !0, e.changeFullStyle(e.root, w, A.FULLSCREEN), e.emit(je, !0, e._fullScreenOffset), e.cssfullscreen && e.exitCssFullscreen();
6521
+ p(), !e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !0, e.changeFullStyle(e.root, w, A.FULLSCREEN), e.emit(ze, !0, e._fullScreenOffset), e.cssfullscreen && e.exitCssFullscreen();
6519
6522
  else if (e.fullscreen) {
6520
6523
  p();
6521
6524
  var k = b(e), E = k._fullScreenOffset, x = k.config;
@@ -6527,7 +6530,7 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
6527
6530
  var I = e._fullscreenEl;
6528
6531
  !I && (e.root.contains(g.target) || g.target === e.root) && (I = g.target), e.recoverFullStyle(e.root, I, A.FULLSCREEN);
6529
6532
  }
6530
- e._fullscreenEl = null, e.emit(je, !1);
6533
+ e._fullscreenEl = null, e.emit(ze, !1);
6531
6534
  }
6532
6535
  }), _(b(e), "_onWebkitbeginfullscreen", function(g) {
6533
6536
  e._fullscreenEl = e.media, e.onFullscreenChange(g, !0);
@@ -6563,7 +6566,7 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
6563
6566
  duration: 0
6564
6567
  }, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = wt.init(e._pluginInfoId), $.os.isAndroid && $.osVersion > 0 && $.osVersion < 6 && (e.config.autoplay = !1), e.database = new qh(), e.isUserActive = !1, e._onceSeekCanplay = null, e._isPauseBeforeSeek = 0, e.innerStates = {
6565
6568
  isActiveLocked: !1
6566
- }, e.instManager = Ye;
6569
+ }, e.instManager = Ke;
6567
6570
  var l = e._initDOM();
6568
6571
  if (!l)
6569
6572
  return console.error(new Error("can't find the dom which id is ".concat(e.config.id, " or this.config.el does not exist"))), da(e);
@@ -6594,7 +6597,7 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
6594
6597
  })), console.error("this.confg.id or this.config.el can't be empty"), !1;
6595
6598
  }
6596
6599
  var o = od(this.root);
6597
- if (o && (X.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), o.destroy()), this.root.setAttribute(Je, this.playerId), this.media.setAttribute(Je, this.playerId), (e = Ye) === null || e === void 0 || e.add(this), pe.init(this), this._initBaseDoms(), this.config.controls) {
6600
+ if (o && (X.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), o.destroy()), this.root.setAttribute(Ze, this.playerId), this.media.setAttribute(Ze, this.playerId), (e = Ke) === null || e === void 0 || e.add(this), pe.init(this), this._initBaseDoms(), this.config.controls) {
6598
6601
  var l = this.config.controls.root || null, u = pe.register(this, nd, {
6599
6602
  root: l
6600
6603
  });
@@ -6635,7 +6638,7 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
6635
6638
  e.on(i, e["on" + i.charAt(0).toUpperCase() + i.slice(1)]);
6636
6639
  }), Go.forEach(function(i) {
6637
6640
  document && document.addEventListener(i, e.onFullscreenChange);
6638
- }), $.os.isIos && (this.media.addEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.addEventListener("webkitendfullscreen", this._onWebkitendfullscreen)), this.once(Ge, this.resize), this.playFunc = function() {
6641
+ }), $.os.isIos && (this.media.addEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.addEventListener("webkitendfullscreen", this._onWebkitendfullscreen)), this.once(qe, this.resize), this.playFunc = function() {
6639
6642
  e.config.closeFocusVideoFocus || e.media.focus();
6640
6643
  }, this.once(Ee, this.playFunc);
6641
6644
  }
@@ -6645,7 +6648,7 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
6645
6648
  var e = this;
6646
6649
  this.root.removeEventListener("mousemove", this.mousemoveFunc), Go.forEach(function(i) {
6647
6650
  document.removeEventListener(i, e.onFullscreenChange);
6648
- }), this.playFunc && this.off(Ee, this.playFunc), this.off(Ve, this.canPlayFunc), this.media.removeEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.removeEventListener("webkitendfullscreen", this._onWebkitendfullscreen);
6651
+ }), this.playFunc && this.off(Ee, this.playFunc), this.off(je, this.canPlayFunc), this.media.removeEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.removeEventListener("webkitendfullscreen", this._onWebkitendfullscreen);
6649
6652
  }
6650
6653
  }, {
6651
6654
  key: "_clearUserTimer",
@@ -6663,7 +6666,7 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
6663
6666
  var l = this.media.readyState;
6664
6667
  X.logInfo("_startInit readyState", l), this.config.autoplay && (!h.isMSE(this.media) && this.load(), ($.os.isIpad || $.os.isPhone) && this.mediaPlay());
6665
6668
  var u = this.config.startTime;
6666
- this.__startTime = u > 0 ? u : -1, this.config.startTime = 0, l >= 2 && this.duration > 0 ? this.canPlayFunc() : this.on(Ve, this.canPlayFunc), (!this.hasStart || this.state < Z.ATTACHED) && pe.afterInit(this), this.hasStart = !0, this.setState(Z.ATTACHED), h.setTimeout(this, function() {
6669
+ this.__startTime = u > 0 ? u : -1, this.config.startTime = 0, l >= 2 && this.duration > 0 ? this.canPlayFunc() : this.on(je, this.canPlayFunc), (!this.hasStart || this.state < Z.ATTACHED) && pe.afterInit(this), this.hasStart = !0, this.setState(Z.ATTACHED), h.setTimeout(this, function() {
6667
6670
  i.emit(Ci);
6668
6671
  }, 0);
6669
6672
  }
@@ -6711,13 +6714,13 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
6711
6714
  value: function(e) {
6712
6715
  var i = null;
6713
6716
  switch (e) {
6714
- case ne.ROOT_RIGHT:
6717
+ case re.ROOT_RIGHT:
6715
6718
  this.rightBar || (this.rightBar = h.createPositionBar("xg-right-bar", this.root)), i = this.rightBar;
6716
6719
  break;
6717
- case ne.ROOT_LEFT:
6720
+ case re.ROOT_LEFT:
6718
6721
  this.leftBar || (this.leftBar = h.createPositionBar("xg-left-bar", this.root)), i = this.leftBar;
6719
6722
  break;
6720
- case ne.ROOT_TOP:
6723
+ case re.ROOT_TOP:
6721
6724
  this.topBar || (this.topBar = h.createPositionBar("xg-top-bar", this.root), this.config.topBarAutoHide && h.addClass(this.topBar, A.TOP_BAR_AUTOHIDE)), i = this.topBar;
6722
6725
  break;
6723
6726
  default:
@@ -6743,7 +6746,7 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
6743
6746
  }, {
6744
6747
  key: "deregister",
6745
6748
  value: function(e) {
6746
- typeof e == "string" ? pe.unRegister(this, e) : e instanceof et && pe.unRegister(this, e.pluginName);
6749
+ typeof e == "string" ? pe.unRegister(this, e) : e instanceof Qe && pe.unRegister(this, e.pluginName);
6747
6750
  }
6748
6751
  }, {
6749
6752
  key: "unRegisterPlugin",
@@ -6755,7 +6758,7 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
6755
6758
  key: "removePluginFromConfig",
6756
6759
  value: function(e) {
6757
6760
  var i;
6758
- if (typeof e == "string" ? i = e : e instanceof et && (i = e.pluginName), !!i)
6761
+ if (typeof e == "string" ? i = e : e instanceof Qe && (i = e.pluginName), !!i)
6759
6762
  for (var r = this.config.plugins.length - 1; r > -1; r--) {
6760
6763
  var o = this.config.plugins[r];
6761
6764
  if (o.pluginName.toLowerCase() === i.toLowerCase()) {
@@ -6885,7 +6888,7 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
6885
6888
  key: "play",
6886
6889
  value: function() {
6887
6890
  var e = this;
6888
- return this.removeClass(A.PAUSED), Ne(this, "play", function() {
6891
+ return this.removeClass(A.PAUSED), Me(this, "play", function() {
6889
6892
  return e.mediaPlay();
6890
6893
  });
6891
6894
  }
@@ -6893,7 +6896,7 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
6893
6896
  key: "pause",
6894
6897
  value: function() {
6895
6898
  var e = this;
6896
- Ne(this, "pause", function() {
6899
+ Me(this, "pause", function() {
6897
6900
  G(V(n.prototype), "pause", e).call(e);
6898
6901
  });
6899
6902
  }
@@ -6903,7 +6906,7 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
6903
6906
  var r = this;
6904
6907
  if (!(!this.media || Number.isNaN(Number(e)) || !this.hasStart)) {
6905
6908
  var o = this.config, l = o.isSeekedPlay, u = o.seekedStatus, c = i || (l ? "play" : u);
6906
- e = e < 0 ? 0 : e > this.duration ? parseInt(this.duration, 10) : e, !this._isPauseBeforeSeek && (this._isPauseBeforeSeek = this.paused ? 2 : 1), this._onceSeekCanplay && this.off(qe, this._onceSeekCanplay), this._onceSeekCanplay = function() {
6909
+ e = e < 0 ? 0 : e > this.duration ? parseInt(this.duration, 10) : e, !this._isPauseBeforeSeek && (this._isPauseBeforeSeek = this.paused ? 2 : 1), this._onceSeekCanplay && this.off(Ve, this._onceSeekCanplay), this._onceSeekCanplay = function() {
6907
6910
  switch (r.removeClass(A.ENTER), r.isSeeking = !1, c) {
6908
6911
  case "play":
6909
6912
  r.play();
@@ -6915,7 +6918,7 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
6915
6918
  r._isPauseBeforeSeek > 1 || r.paused ? r.pause() : r.play();
6916
6919
  }
6917
6920
  r._isPauseBeforeSeek = 0, r._onceSeekCanplay = null;
6918
- }, this.once(qe, this._onceSeekCanplay), this.state < Z.RUNNING ? (this.removeClass(A.NO_START), this.currentTime = e, this.play()) : this.currentTime = e;
6921
+ }, this.once(Ve, this._onceSeekCanplay), this.state < Z.RUNNING ? (this.removeClass(A.NO_START), this.currentTime = e, this.play()) : this.currentTime = e;
6919
6922
  }
6920
6923
  }
6921
6924
  }, {
@@ -6939,7 +6942,7 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
6939
6942
  this.config.url = e.url;
6940
6943
  return;
6941
6944
  }
6942
- var l = this.switchURL(e.url, oe({
6945
+ var l = this.switchURL(e.url, le({
6943
6946
  seamless: o.seamless !== !1 && typeof MediaSource < "u" && typeof MediaSource.isTypeSupported == "function"
6944
6947
  }, e));
6945
6948
  l && l.then ? l.then(function() {
@@ -6957,7 +6960,7 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
6957
6960
  value: function() {
6958
6961
  this.load(), this.reloadFunc = function() {
6959
6962
  this.play();
6960
- }, this.once(Ge, this.reloadFunc);
6963
+ }, this.once(qe, this.reloadFunc);
6961
6964
  }
6962
6965
  }, {
6963
6966
  key: "resetState",
@@ -6987,7 +6990,7 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
6987
6990
  value: function() {
6988
6991
  var e, i = this, r = this.innerContainer, o = this.root, l = this.media;
6989
6992
  if (!(!o || !l)) {
6990
- if (this.hasStart = !1, this._useAutoplay = !1, o.removeAttribute(Je), l.removeAttribute(Je), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), h.clearAllTimers(this), this.emit(ba), (e = Ye) === null || e === void 0 || e.remove(this), pe.destroy(this), hu(this), G(V(n.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), r)
6993
+ if (this.hasStart = !1, this._useAutoplay = !1, o.removeAttribute(Ze), l.removeAttribute(Ze), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), h.clearAllTimers(this), this.emit(ba), (e = Ke) === null || e === void 0 || e.remove(this), pe.destroy(this), hu(this), G(V(n.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), r)
6991
6994
  for (var u = r.children, c = 0; c < u.length; c++)
6992
6995
  r.removeChild(u[c]);
6993
6996
  !r && l instanceof window.Node && o.contains(l) && !this.config.remainMediaAfterDestroy && o.removeChild(l), ["topBar", "leftBar", "rightBar", "innerContainer"].map(function(d) {
@@ -7005,8 +7008,8 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
7005
7008
  key: "replay",
7006
7009
  value: function() {
7007
7010
  var e = this;
7008
- this.removeClass(A.ENDED), this.currentTime = 0, this.isSeeking = !1, Ne(this, "replay", function() {
7009
- e.once(qe, function() {
7011
+ this.removeClass(A.ENDED), this.currentTime = 0, this.isSeeking = !1, Me(this, "replay", function() {
7012
+ e.once(Ve, function() {
7010
7013
  var i = e.mediaPlay();
7011
7014
  i && i.catch && i.catch(function(r) {
7012
7015
  console.log(r);
@@ -7018,11 +7021,11 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
7018
7021
  key: "retry",
7019
7022
  value: function() {
7020
7023
  var e = this;
7021
- this.removeClass(A.ERROR), this.addClass(A.LOADING), Ne(this, "retry", function() {
7024
+ this.removeClass(A.ERROR), this.addClass(A.LOADING), Me(this, "retry", function() {
7022
7025
  var i = e.currentTime, r = e.config.url, o = h.isMSE(e.media) ? {
7023
7026
  url: r
7024
7027
  } : e.preProcessUrl(r);
7025
- e.src = o.url, !e.config.isLive && (e.currentTime = i), e.once(Ve, function() {
7028
+ e.src = o.url, !e.config.isLive && (e.currentTime = i), e.once(je, function() {
7026
7029
  e.mediaPlay();
7027
7030
  });
7028
7031
  });
@@ -7030,12 +7033,12 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
7030
7033
  }, {
7031
7034
  key: "changeFullStyle",
7032
7035
  value: function(e, i, r, o) {
7033
- e && (o || (o = A.PARENT_FULLSCREEN), this._orgCss || (this._orgCss = h.filterStyleFromText(e)), h.addClass(e, r), i && i !== e && !this._orgPCss && (this._orgPCss = h.filterStyleFromText(i), h.addClass(i, o), i.setAttribute(Je, this.playerId)));
7036
+ e && (o || (o = A.PARENT_FULLSCREEN), this._orgCss || (this._orgCss = h.filterStyleFromText(e)), h.addClass(e, r), i && i !== e && !this._orgPCss && (this._orgPCss = h.filterStyleFromText(i), h.addClass(i, o), i.setAttribute(Ze, this.playerId)));
7034
7037
  }
7035
7038
  }, {
7036
7039
  key: "recoverFullStyle",
7037
7040
  value: function(e, i, r, o) {
7038
- o || (o = A.PARENT_FULLSCREEN), this._orgCss && (h.setStyleFromCsstext(e, this._orgCss), this._orgCss = ""), h.removeClass(e, r), i && i !== e && this._orgPCss && (h.setStyleFromCsstext(i, this._orgPCss), this._orgPCss = "", h.removeClass(i, o), i.removeAttribute(Je));
7041
+ o || (o = A.PARENT_FULLSCREEN), this._orgCss && (h.setStyleFromCsstext(e, this._orgCss), this._orgCss = ""), h.removeClass(e, r), i && i !== e && this._orgPCss && (h.setStyleFromCsstext(i, this._orgPCss), this._orgPCss = "", h.removeClass(i, o), i.removeAttribute(Ze));
7039
7042
  }
7040
7043
  }, {
7041
7044
  key: "getFullscreen",
@@ -7090,7 +7093,7 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
7090
7093
  var i = e ? "".concat(A.INNER_FULLSCREEN, " ").concat(A.CSS_FULLSCREEN) : A.CSS_FULLSCREEN;
7091
7094
  this.changeFullStyle(this.root, e, i);
7092
7095
  var r = this.config.fullscreen, o = r === void 0 ? {} : r, l = o.useCssFullscreen === !0 || typeof o.useCssFullscreen == "function" && o.useCssFullscreen();
7093
- l && (this.fullscreen = !0, this.emit(je, !0)), this._cssfullscreenEl = e, this.cssfullscreen = !0, this.emit(ni, !0);
7096
+ l && (this.fullscreen = !0, this.emit(ze, !0)), this._cssfullscreenEl = e, this.cssfullscreen = !0, this.emit(ni, !0);
7094
7097
  }
7095
7098
  }, {
7096
7099
  key: "exitCssFullscreen",
@@ -7100,7 +7103,7 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
7100
7103
  this.recoverFullStyle(this.root, this._cssfullscreenEl, e);
7101
7104
  else {
7102
7105
  var i = this.config.fullscreen, r = i === void 0 ? {} : i, o = r.useCssFullscreen === !0 || typeof r.useCssFullscreen == "function" && r.useCssFullscreen();
7103
- o ? (this.recoverFullStyle(this.root, this._cssfullscreenEl, e), this.fullscreen = !1, this.emit(je, !1)) : this.removeClass(e);
7106
+ o ? (this.recoverFullStyle(this.root, this._cssfullscreenEl, e), this.fullscreen = !1, this.emit(ze, !1)) : this.removeClass(e);
7104
7107
  }
7105
7108
  this._cssfullscreenEl = null, this.cssfullscreen = !1, this.emit(ni, !1);
7106
7109
  }
@@ -7112,13 +7115,13 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
7112
7115
  var i = e ? "".concat(A.INNER_FULLSCREEN, " ").concat(A.ROTATE_FULLSCREEN) : A.ROTATE_FULLSCREEN;
7113
7116
  this._fullscreenEl = e || this.root, this.changeFullStyle(this.root, e, i, A.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !0, this.fullscreen = !0, this.setRotateDeg(90), this._rootStyle = this.root.getAttribute("style");
7114
7117
  var r = Math.abs(window.orientation) === 90 || Math.abs(screen.orientation.angle) === 90;
7115
- this.root.style.width = r ? "".concat(window.innerWidth, "px") : "".concat(window.innerHeight, "px"), this.emit(je, !0);
7118
+ this.root.style.width = r ? "".concat(window.innerWidth, "px") : "".concat(window.innerHeight, "px"), this.emit(ze, !0);
7116
7119
  }
7117
7120
  }, {
7118
7121
  key: "exitRotateFullscreen",
7119
7122
  value: function(e) {
7120
7123
  var i = this._fullscreenEl !== this.root ? "".concat(A.INNER_FULLSCREEN, " ").concat(A.ROTATE_FULLSCREEN) : A.ROTATE_FULLSCREEN;
7121
- this.recoverFullStyle(this.root, this._fullscreenEl, i, A.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !1, this.fullscreen = !1, this.setRotateDeg(0), this.emit(je, !1), this._rootStyle && (this.root.style.style = this._rootStyle, this._rootStyle = !1);
7124
+ this.recoverFullStyle(this.root, this._fullscreenEl, i, A.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !1, this.fullscreen = !1, this.setRotateDeg(0), this.emit(ze, !1), this._rootStyle && (this.root.style.style = this._rootStyle, this._rootStyle = !1);
7122
7125
  }
7123
7126
  }, {
7124
7127
  key: "setRotateDeg",
@@ -7136,7 +7139,7 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
7136
7139
  this.onFocus(e);
7137
7140
  return;
7138
7141
  }
7139
- this.emit(pa, oe({
7142
+ this.emit(pa, le({
7140
7143
  paused: this.paused,
7141
7144
  ended: this.ended
7142
7145
  }, e));
@@ -7151,7 +7154,7 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
7151
7154
  this.onBlur(e);
7152
7155
  return;
7153
7156
  }
7154
- this._clearUserTimer(), this.emit(Xl, oe({
7157
+ this._clearUserTimer(), this.emit(Xl, le({
7155
7158
  paused: this.paused,
7156
7159
  ended: this.ended
7157
7160
  }, e));
@@ -7195,7 +7198,7 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
7195
7198
  key: "onLoadeddata",
7196
7199
  value: function() {
7197
7200
  var e = this;
7198
- this.isError = !1, this.isSeeking = !1, this.__startTime > 0 && (this.duration > 0 ? this._seekToStartTime() : this.once($e, function() {
7201
+ this.isError = !1, this.isSeeking = !1, this.__startTime > 0 && (this.duration > 0 ? this._seekToStartTime() : this.once(Ge, function() {
7199
7202
  e._seekToStartTime();
7200
7203
  }));
7201
7204
  }
@@ -7272,7 +7275,7 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
7272
7275
  value: function(e, i, r) {
7273
7276
  if (!(!this.media || !i || !e)) {
7274
7277
  var o = h.typeOf(e) === "String" ? e : e.type || "";
7275
- r.props && h.typeOf(r.props) !== "Array" && (r.props = [r.props]), this.emit(si, oe({
7278
+ r.props && h.typeOf(r.props) !== "Array" && (r.props = [r.props]), this.emit(si, le({
7276
7279
  eventType: o,
7277
7280
  action: i,
7278
7281
  currentTime: this.currentTime,
@@ -7314,17 +7317,17 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
7314
7317
  this.videoPos.pi = f, c = c < 0 ? 0 : c;
7315
7318
  var d = {
7316
7319
  rotate: c
7317
- }, v = 0, g = 0, m = 1, p = Math.abs(c / 90), w = this.root, y = this.innerContainer, k = w.offsetWidth, E = y ? y.offsetHeight : w.offsetHeight, x = {}, I = E, M = k;
7320
+ }, v = 0, g = 0, m = 1, p = Math.abs(c / 90), w = this.root, y = this.innerContainer, k = w.offsetWidth, E = y ? y.offsetHeight : w.offsetHeight, x = {}, I = E, F = k;
7318
7321
  if (p % 2 === 0)
7319
- m = l > 0 ? 100 / l : u > 0 ? 100 / u : 1, d.scale = m, v = r > 0 ? (100 - l) / 2 - r : 0, d.y = p === 2 ? 0 - v : v, g = o > 0 ? (100 - u) / 2 - o : 0, d.x = p === 2 ? 0 - g : g, x.width = "".concat(M, "px"), x.height = "".concat(I, "px"), x.maxWidth = "", x.maxHeight = "";
7322
+ m = l > 0 ? 100 / l : u > 0 ? 100 / u : 1, d.scale = m, v = r > 0 ? (100 - l) / 2 - r : 0, d.y = p === 2 ? 0 - v : v, g = o > 0 ? (100 - u) / 2 - o : 0, d.x = p === 2 ? 0 - g : g, x.width = "".concat(F, "px"), x.height = "".concat(I, "px"), x.maxWidth = "", x.maxHeight = "";
7320
7323
  else if (p % 2 === 1) {
7321
- M = E, I = k;
7324
+ F = E, I = k;
7322
7325
  var K = E - k;
7323
- g = -K / 2 / M * 100, d.x = p === 3 ? g + r / 2 : g - r / 2, v = K / 2 / I * 100, d.y = p === 3 ? v + o / 2 : v - o / 2, d.scale = m, x.width = "".concat(M, "px"), x.maxWidth = "".concat(M, "px"), x.height = "".concat(I, "px"), x.maxHeight = "".concat(I, "px");
7326
+ g = -K / 2 / F * 100, d.x = p === 3 ? g + r / 2 : g - r / 2, v = K / 2 / I * 100, d.y = p === 3 ? v + o / 2 : v - o / 2, d.scale = m, x.width = "".concat(F, "px"), x.maxWidth = "".concat(F, "px"), x.height = "".concat(I, "px"), x.maxHeight = "".concat(I, "px");
7324
7327
  }
7325
7328
  var z = h.getTransformStyle(d, this.media.style.transform || this.media.style.webkitTransform);
7326
- x.transform = z, x.webkitTransform = z, Object.keys(x).map(function(N) {
7327
- e.media.style[N] = x[N];
7329
+ x.transform = z, x.webkitTransform = z, Object.keys(x).map(function(M) {
7330
+ e.media.style[M] = x[M];
7328
7331
  });
7329
7332
  }
7330
7333
  }
@@ -7359,7 +7362,7 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
7359
7362
  key: "playNext",
7360
7363
  value: function(e) {
7361
7364
  var i = this;
7362
- this.resetState(), this.setConfig(e), this._currentTime = 0, this._duration = 0, Ne(this, "playnext", function() {
7365
+ this.resetState(), this.setConfig(e), this._currentTime = 0, this._duration = 0, Me(this, "playnext", function() {
7363
7366
  i.start(), i.emit(ai, e);
7364
7367
  });
7365
7368
  }
@@ -7384,7 +7387,7 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
7384
7387
  cWidth: w,
7385
7388
  cHeight: y + d
7386
7389
  };
7387
- this.resizePosition(), this.emit(Qe, E);
7390
+ this.resizePosition(), this.emit(Je, E);
7388
7391
  }
7389
7392
  }
7390
7393
  }
@@ -7634,7 +7637,7 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
7634
7637
  key: "setUserActive",
7635
7638
  value: function(e, i) {
7636
7639
  var r;
7637
- typeof i == "boolean" && i !== this.muted && (this.addInnerOP("volumechange"), h.typeOf(i) === Boolean && (this.muted = i)), (r = Ye) === null || r === void 0 || r.setActive(this.playerId, e);
7640
+ typeof i == "boolean" && i !== this.muted && (this.addInnerOP("volumechange"), h.typeOf(i) === Boolean && (this.muted = i)), (r = Ke) === null || r === void 0 || r.setActive(this.playerId, e);
7638
7641
  }
7639
7642
  }], [{
7640
7643
  key: "debugger",
@@ -7647,22 +7650,22 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
7647
7650
  }, {
7648
7651
  key: "instManager",
7649
7652
  get: function() {
7650
- return Ye;
7653
+ return Ke;
7651
7654
  },
7652
7655
  set: function(e) {
7653
- Ye = e;
7656
+ Ke = e;
7654
7657
  }
7655
7658
  }, {
7656
7659
  key: "getCurrentUserActivePlayerId",
7657
7660
  value: function() {
7658
7661
  var e;
7659
- return (e = Ye) === null || e === void 0 ? void 0 : e.getActiveId();
7662
+ return (e = Ke) === null || e === void 0 ? void 0 : e.getActiveId();
7660
7663
  }
7661
7664
  }, {
7662
7665
  key: "setCurrentUserActive",
7663
7666
  value: function(e, i) {
7664
7667
  var r;
7665
- (r = Ye) === null || r === void 0 || r.setActive(e, i);
7668
+ (r = Ke) === null || r === void 0 || r.setActive(e, i);
7666
7669
  }
7667
7670
  }, {
7668
7671
  key: "isHevcSupported",
@@ -7689,7 +7692,7 @@ var ld = ["play", "pause", "replay", "retry"], nl = 0, rl = 0, Ye = null, wi = /
7689
7692
  _(wi, "defaultPreset", null);
7690
7693
  _(wi, "XgVideoProxy", null);
7691
7694
  wi.instManager = gu.getInstance();
7692
- function it(a, s, n) {
7695
+ function tt(a, s, n) {
7693
7696
  try {
7694
7697
  return ' <div class="xg-tips '.concat(n ? "hide" : " ", '" lang-key="').concat(a.i18nKeys[s], `">
7695
7698
  `).concat(a.i18n[s], `
@@ -7815,7 +7818,7 @@ var Xr = /* @__PURE__ */ (function(a) {
7815
7818
  return `<xg-icon class='xgplayer-cssfullscreen'>
7816
7819
  <div class="xgplayer-icon">
7817
7820
  </div>
7818
- `.concat(it(this, "CSSFULLSCREEN_TIPS", this.playerConfig.isHideTips), `
7821
+ `.concat(tt(this, "CSSFULLSCREEN_TIPS", this.playerConfig.isHideTips), `
7819
7822
  </xg-icon>`);
7820
7823
  }
7821
7824
  }], [{
@@ -7827,7 +7830,7 @@ var Xr = /* @__PURE__ */ (function(a) {
7827
7830
  key: "defaultConfig",
7828
7831
  get: function() {
7829
7832
  return {
7830
- position: ne.CONTROLS_RIGHT,
7833
+ position: re.CONTROLS_RIGHT,
7831
7834
  index: 1,
7832
7835
  disable: !1,
7833
7836
  target: null
@@ -7897,7 +7900,7 @@ var hd = /* @__PURE__ */ (function(a) {
7897
7900
  key: "defaultConfig",
7898
7901
  get: function() {
7899
7902
  return {
7900
- position: ne.ROOT_TOP,
7903
+ position: re.ROOT_TOP,
7901
7904
  index: 0
7902
7905
  };
7903
7906
  }
@@ -7946,7 +7949,7 @@ var vu = /* @__PURE__ */ (function(a) {
7946
7949
  to: !c
7947
7950
  });
7948
7951
  }
7949
- }), this.bind(".xgplayer-fullscreen", ["touchend", "click"], this.handleFullscreen), this.on(je, function(l) {
7952
+ }), this.bind(".xgplayer-fullscreen", ["touchend", "click"], this.handleFullscreen), this.on(ze, function(l) {
7950
7953
  var u = e.find(".xg-tips");
7951
7954
  u && e.changeLangTextKey(u, l ? e.i18nKeys.EXITFULLSCREEN_TIPS : e.i18nKeys.FULLSCREEN_TIPS), e.animate(l);
7952
7955
  }), this.config.needBackIcon && (this.topBackIcon = this.player.registerPlugin({
@@ -8007,7 +8010,7 @@ var vu = /* @__PURE__ */ (function(a) {
8007
8010
  return `<xg-icon class="xgplayer-fullscreen">
8008
8011
  <div class="xgplayer-icon">
8009
8012
  </div>
8010
- `.concat(it(this, e, this.playerConfig.isHideTips), `
8013
+ `.concat(tt(this, e, this.playerConfig.isHideTips), `
8011
8014
  </xg-icon>`);
8012
8015
  }
8013
8016
  }
@@ -8038,7 +8041,7 @@ var vu = /* @__PURE__ */ (function(a) {
8038
8041
  key: "defaultConfig",
8039
8042
  get: function() {
8040
8043
  return {
8041
- position: ne.CONTROLS_RIGHT,
8044
+ position: re.CONTROLS_RIGHT,
8042
8045
  index: 0,
8043
8046
  useCssFullscreen: !1,
8044
8047
  rotateFullscreen: !1,
@@ -8137,7 +8140,7 @@ var pu = /* @__PURE__ */ (function(a) {
8137
8140
  return `<xg-icon class="xgplayer-play">
8138
8141
  <div class="xgplayer-icon">
8139
8142
  </div>
8140
- `.concat(it(this, "PLAY_TIPS", this.playerConfig.isHideTips), `
8143
+ `.concat(tt(this, "PLAY_TIPS", this.playerConfig.isHideTips), `
8141
8144
  </xg-icon>`);
8142
8145
  }
8143
8146
  }], [{
@@ -8149,7 +8152,7 @@ var pu = /* @__PURE__ */ (function(a) {
8149
8152
  key: "defaultConfig",
8150
8153
  get: function() {
8151
8154
  return {
8152
- position: ne.CONTROLS_LEFT,
8155
+ position: re.CONTROLS_LEFT,
8153
8156
  index: 0,
8154
8157
  disable: !1
8155
8158
  };
@@ -8491,7 +8494,7 @@ var pu = /* @__PURE__ */ (function(a) {
8491
8494
  (!i || i.length === 0) && (i = [{
8492
8495
  percent: 1
8493
8496
  }]);
8494
- var o = oe(oe({
8497
+ var o = le(le({
8495
8498
  fragments: i
8496
8499
  }, r), {}, {
8497
8500
  actionCallback: function(u) {
@@ -8532,11 +8535,11 @@ var pu = /* @__PURE__ */ (function(a) {
8532
8535
  key: "listenEvents",
8533
8536
  value: function() {
8534
8537
  var e = this;
8535
- this.on($e, function() {
8538
+ this.on(Ge, function() {
8536
8539
  e.onMouseLeave();
8537
8540
  }), this.on(Ae, function() {
8538
8541
  e.onTimeupdate();
8539
- }), this.on(qe, function() {
8542
+ }), this.on(Ve, function() {
8540
8543
  e.onTimeupdate(), e.onCacheUpdate();
8541
8544
  }), this.on(Yl, function() {
8542
8545
  e.onCacheUpdate();
@@ -8544,7 +8547,7 @@ var pu = /* @__PURE__ */ (function(a) {
8544
8547
  e.onCacheUpdate(!0), e.onTimeupdate(!0), e._state.now = 0;
8545
8548
  }), this.on(ft, function() {
8546
8549
  e.onReset();
8547
- }), this.on(Qe, function() {
8550
+ }), this.on(Je, function() {
8548
8551
  e.onVideoResize();
8549
8552
  });
8550
8553
  }
@@ -8756,7 +8759,7 @@ var pu = /* @__PURE__ */ (function(a) {
8756
8759
  key: "defaultConfig",
8757
8760
  get: function() {
8758
8761
  return {
8759
- position: ne.CONTROLS_CENTER,
8762
+ position: re.CONTROLS_CENTER,
8760
8763
  index: 0,
8761
8764
  disable: !1,
8762
8765
  isDraggingSeek: !0,
@@ -8818,7 +8821,7 @@ var pu = /* @__PURE__ */ (function(a) {
8818
8821
  key: "listenEvents",
8819
8822
  value: function() {
8820
8823
  var e = this;
8821
- this.on([$e, qe, Ae], function(i) {
8824
+ this.on([Ge, Ve, Ae], function(i) {
8822
8825
  i.eventName === "durationchange" && (e.isActiving = !1), e.onTimeUpdate();
8823
8826
  }), this.on(ct, function() {
8824
8827
  e.onTimeUpdate(!0);
@@ -8906,7 +8909,7 @@ var pu = /* @__PURE__ */ (function(a) {
8906
8909
  var e = this, i = this.player, r = function() {
8907
8910
  e.isActiving = !1;
8908
8911
  };
8909
- this.off(qe, r), i.isSeeking && i.media.seeking ? this.once(qe, r) : this.isActiving = !1;
8912
+ this.off(Ve, r), i.isSeeking && i.media.seeking ? this.once(Ve, r) : this.isActiving = !1;
8910
8913
  }
8911
8914
  }, {
8912
8915
  key: "destroy",
@@ -8934,7 +8937,7 @@ var pu = /* @__PURE__ */ (function(a) {
8934
8937
  key: "defaultConfig",
8935
8938
  get: function() {
8936
8939
  return {
8937
- position: ne.CONTROLS_LEFT,
8940
+ position: re.CONTROLS_LEFT,
8938
8941
  index: 2,
8939
8942
  disable: !1
8940
8943
  };
@@ -9040,7 +9043,7 @@ var bu = /* @__PURE__ */ (function(a) {
9040
9043
  pre: function(u) {
9041
9044
  u.preventDefault(), u.stopPropagation();
9042
9045
  }
9043
- }), this._onMouseenterHandler = this.hook("mouseenter", this.onMouseenter), this._onMouseleaveHandler = this.hook("mouseleave", this.onMouseleave), $.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(Wl, this.onVolumeChange), this.once(Ge, this.onVolumeChange), h.typeOf(o) !== "Number" && (this.player.volume = this.config.default), this.onVolumeChange();
9046
+ }), this._onMouseenterHandler = this.hook("mouseenter", this.onMouseenter), this._onMouseleaveHandler = this.hook("mouseleave", this.onMouseleave), $.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(Wl, this.onVolumeChange), this.once(qe, this.onVolumeChange), h.typeOf(o) !== "Number" && (this.player.volume = this.config.default), this.onVolumeChange();
9044
9047
  }
9045
9048
  }
9046
9049
  }, {
@@ -9147,7 +9150,7 @@ var bu = /* @__PURE__ */ (function(a) {
9147
9150
  key: "defaultConfig",
9148
9151
  get: function() {
9149
9152
  return {
9150
- position: ne.CONTROLS_RIGHT,
9153
+ position: re.CONTROLS_RIGHT,
9151
9154
  index: 1,
9152
9155
  disable: !1,
9153
9156
  showValueLabel: !1,
@@ -9160,7 +9163,7 @@ var bu = /* @__PURE__ */ (function(a) {
9160
9163
  function be() {
9161
9164
  return (/* @__PURE__ */ new Date()).getTime();
9162
9165
  }
9163
- var Xe = {
9166
+ var Ye = {
9164
9167
  LOAD_START: "loadstart",
9165
9168
  LOADED_DATA: "loadeddata",
9166
9169
  FIRST_FRAME: "firstFrame",
@@ -9189,13 +9192,13 @@ var Xe = {
9189
9192
  isLs: !1
9190
9193
  }, t.vt = 0, t.pt = 0, t.fvt = 0, t.newPointTime = be(), t.loadedCostTime = 0, t.startCostTime = 0, t._isSeeking = !1, t.seekingStart = 0, t.waitingStart = 0, t.fixedWaitingStart = 0, t._isWaiting = !1, t._waitTimer && h.clearTimeout(b(t), t._waitTimer), t._waittTimer && h.clearTimeout(b(t), t._waittTimer), t._waitTimer = null, t._waittTimer = null, t._waitType = 0;
9191
9194
  }), _(b(t), "_onSeeking", function() {
9192
- t.seekingStart || (t.suspendWaitingStatus("seek"), t.seekingStart = be(), t.emitLog(Xe.SEEK_START, {
9195
+ t.seekingStart || (t.suspendWaitingStatus("seek"), t.seekingStart = be(), t.emitLog(Ye.SEEK_START, {
9193
9196
  start: be()
9194
9197
  }));
9195
9198
  }), _(b(t), "_onSeeked", function() {
9196
9199
  t.suspendSeekingStatus("seeked");
9197
9200
  }), _(b(t), "_onWaitingLoadStart", function() {
9198
- t._isWaiting || t.vt || (t._isWaiting = !0, t.waitingStart = be(), t.fixedWaitingStart = be(), t._waitType = 1, t.emitLog(Xe.WAIT_START, {
9201
+ t._isWaiting || t.vt || (t._isWaiting = !0, t.waitingStart = be(), t.fixedWaitingStart = be(), t._waitType = 1, t.emitLog(Ye.WAIT_START, {
9199
9202
  fixedStart: t.fixedWaitingStart,
9200
9203
  start: t.waitingStart,
9201
9204
  type: 1,
@@ -9203,7 +9206,7 @@ var Xe = {
9203
9206
  }));
9204
9207
  }), _(b(t), "_onWaiting", function() {
9205
9208
  t._isWaiting || !t.vt || (t._isWaiting = !0, t.vt ? t.seekingStart ? t._waitType = 2 : t._waitType = 0 : t._waitType = 1, t.fixedWaitingStart = be(), t._waitTimer = h.setTimeout(b(t), function() {
9206
- t._isWaiting && (t.waitingStart = be(), h.clearTimeout(b(t), t._waitTimer), t._waitTimer = null, t._startWaitTimeout(), t.emitLog(Xe.WAIT_START, {
9209
+ t._isWaiting && (t.waitingStart = be(), h.clearTimeout(b(t), t._waitTimer), t._waitTimer = null, t._startWaitTimeout(), t.emitLog(Ye.WAIT_START, {
9207
9210
  fixedStart: t.fixedWaitingStart,
9208
9211
  start: t.waitingStart,
9209
9212
  type: t._waitType,
@@ -9222,16 +9225,16 @@ var Xe = {
9222
9225
  var e = this;
9223
9226
  this._onReset(), this._waitType = "firstFrame", this._initOnceEvents(), this.newPointTime = be(), this.loadedCostTime = 0, this.startCostTime = 0, this.on(va, function() {
9224
9227
  var i = e._state, r = i.autoplayStart, o = i.isFFSend;
9225
- e.startCostTime = be() - e.newPointTime, X.logInfo("[xgLogger]".concat(e.player.playerId, " LOAD_START"), "autoplayStart:".concat(r, " isFFSend:").concat(o, " startCostTime:").concat(e.startCostTime, " newPointTime").concat(e.newPointTime)), !o && (!i.isLs && e.emitLog(Xe.LOAD_START, {}), i.isLs = !0, i.isTimeUpdate = !1, i.isFFLoading = !0, e.pt = be(), e.vt = 0, e.fvt = 0, e._initOnceEvents(), e._onWaitingLoadStart());
9226
- }), this.on(Ge, function() {
9228
+ e.startCostTime = be() - e.newPointTime, X.logInfo("[xgLogger]".concat(e.player.playerId, " LOAD_START"), "autoplayStart:".concat(r, " isFFSend:").concat(o, " startCostTime:").concat(e.startCostTime, " newPointTime").concat(e.newPointTime)), !o && (!i.isLs && e.emitLog(Ye.LOAD_START, {}), i.isLs = !0, i.isTimeUpdate = !1, i.isFFLoading = !0, e.pt = be(), e.vt = 0, e.fvt = 0, e._initOnceEvents(), e._onWaitingLoadStart());
9229
+ }), this.on(qe, function() {
9227
9230
  e.vt = be(), e.fvt = e.vt - e.pt, e.loadedCostTime = e.vt - e.newPointTime;
9228
9231
  var i = e._state, r = i.isTimeUpdate, o = i.isFFSend, l = i.autoplayStart;
9229
- X.logInfo("[xgLogger]".concat(e.player.playerId, " LOADED_DATA"), "fvt:".concat(e.fvt, " isTimeUpdate:").concat(e._state.isTimeUpdate, " loadedCostTime:").concat(e.loadedCostTime)), (r || l) && e._sendFF("loadedData"), o || e.emitLog(Xe.LOADED_DATA, {}), e.suspendWaitingStatus("loadeddata");
9230
- }), this.on(bi, this._onSeeking), this.on(qe, this._onSeeked), this.on(ba, function() {
9232
+ X.logInfo("[xgLogger]".concat(e.player.playerId, " LOADED_DATA"), "fvt:".concat(e.fvt, " isTimeUpdate:").concat(e._state.isTimeUpdate, " loadedCostTime:").concat(e.loadedCostTime)), (r || l) && e._sendFF("loadedData"), o || e.emitLog(Ye.LOADED_DATA, {}), e.suspendWaitingStatus("loadeddata");
9233
+ }), this.on(bi, this._onSeeking), this.on(Ve, this._onSeeked), this.on(ba, function() {
9231
9234
  e.endState("destroy");
9232
9235
  }), this.on(ki, function() {
9233
9236
  e.endState("urlChange"), X.logInfo("[xgLogger]".concat(e.player.playerId, " URL_CHANGE")), e._state.isFFSend && e._onReset();
9234
- }), this.on([ga, Ve], this._onPlaying), this.on(Ut, this._onWaiting), this.on(Ht, this._onError), this.on(_i, function() {
9237
+ }), this.on([ga, je], this._onPlaying), this.on(Ut, this._onWaiting), this.on(Ht, this._onError), this.on(_i, function() {
9235
9238
  X.logInfo("[xgLogger]".concat(e.player.playerId, " RESET")), e.endState("reset"), e._initOnceEvents(), e._onReset();
9236
9239
  });
9237
9240
  }
@@ -9245,7 +9248,7 @@ var Xe = {
9245
9248
  value: function(e) {
9246
9249
  this.s = be();
9247
9250
  var i = this._state, r = i.isFFLoading, o = i.isFFSend;
9248
- X.logInfo("[xgLogger]".concat(this.player.playerId, " _sendFF"), "".concat(e, " fvt:").concat(this.fvt, " isFFLoading:").concat(r, " !isFFSend:").concat(!o)), this.vt > 0 && r && !o && (X.logInfo("[xgLogger]".concat(this.player.playerId, " emitLog_firstFrame"), e), this._state.isFFLoading = !1, this._state.isFFSend = !0, this.emitLog(Xe.FIRST_FRAME, {
9251
+ X.logInfo("[xgLogger]".concat(this.player.playerId, " _sendFF"), "".concat(e, " fvt:").concat(this.fvt, " isFFLoading:").concat(r, " !isFFSend:").concat(!o)), this.vt > 0 && r && !o && (X.logInfo("[xgLogger]".concat(this.player.playerId, " emitLog_firstFrame"), e), this._state.isFFLoading = !1, this._state.isFFSend = !0, this.emitLog(Ye.FIRST_FRAME, {
9249
9252
  fvt: this.fvt,
9250
9253
  costTime: this.fvt,
9251
9254
  vt: this.vt,
@@ -9271,7 +9274,7 @@ var Xe = {
9271
9274
  value: function(e) {
9272
9275
  if (this.seekingStart) {
9273
9276
  var i = be(), r = i - this.seekingStart;
9274
- this.seekingStart = 0, this.emitLog(Xe.SEEK_END, {
9277
+ this.seekingStart = 0, this.emitLog(Ye.SEEK_END, {
9275
9278
  end: i,
9276
9279
  costTime: r,
9277
9280
  endType: e
@@ -9283,7 +9286,7 @@ var Xe = {
9283
9286
  value: function(e) {
9284
9287
  if (this._waitTimer && (h.clearTimeout(this, this._waitTimer), this._waitTimer = null), this._waittTimer && (h.clearTimeout(this, this._waittTimer), this._waittTimer = null), this._isWaiting = !1, !!this.waitingStart) {
9285
9288
  var i = be(), r = i - this.waitingStart, o = i - this.fixedWaitingStart, l = this.config.waitTimeout;
9286
- this._isWaiting = !1, this.waitingStart = 0, this.fixedWaitingStart = 0, this.emitLog(Xe.WAIT_END, {
9289
+ this._isWaiting = !1, this.waitingStart = 0, this.fixedWaitingStart = 0, this.emitLog(Ye.WAIT_END, {
9287
9290
  fixedCostTime: o > l ? l : o,
9288
9291
  costTime: r > l ? l : r,
9289
9292
  type: e === "loadeddata" ? 1 : this._waitType,
@@ -9295,7 +9298,7 @@ var Xe = {
9295
9298
  key: "emitLog",
9296
9299
  value: function(e, i) {
9297
9300
  var r = this.player;
9298
- this.emit(ru, oe({
9301
+ this.emit(ru, le({
9299
9302
  t: be(),
9300
9303
  host: h.getHostFromUrl(r.currentSrc),
9301
9304
  vtype: r.vtype,
@@ -9519,23 +9522,23 @@ var _d = /* @__PURE__ */ (function(a) {
9519
9522
  };
9520
9523
  }
9521
9524
  }]), n;
9522
- })(J), Me = {};
9525
+ })(J), Fe = {};
9523
9526
  function Td(a, s) {
9524
9527
  var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
9525
9528
  start: null,
9526
9529
  end: null
9527
9530
  };
9528
- return Me[a] && window.clearTimeout(Me[a].id), Me[a] = {}, n.start && n.start(), Me[a].id = window.setTimeout(function() {
9529
- n.end && n.end(), window.clearTimeout(Me[a].id), delete Me[a];
9530
- }, s), Me[a].id;
9531
+ return Fe[a] && window.clearTimeout(Fe[a].id), Fe[a] = {}, n.start && n.start(), Fe[a].id = window.setTimeout(function() {
9532
+ n.end && n.end(), window.clearTimeout(Fe[a].id), delete Fe[a];
9533
+ }, s), Fe[a].id;
9531
9534
  }
9532
9535
  function sl(a) {
9533
9536
  if (a) {
9534
9537
  window.clearTimeout(a);
9535
9538
  return;
9536
9539
  }
9537
- Object.keys(Me).map(function(s) {
9538
- window.clearTimeout(Me[s].id), delete Me[s];
9540
+ Object.keys(Fe).map(function(s) {
9541
+ window.clearTimeout(Fe[s].id), delete Fe[s];
9539
9542
  });
9540
9543
  }
9541
9544
  var Sd = /* @__PURE__ */ (function(a) {
@@ -9809,7 +9812,7 @@ var Sd = /* @__PURE__ */ (function(a) {
9809
9812
  key: "defaultConfig",
9810
9813
  get: function() {
9811
9814
  return {
9812
- position: ne.CONTROLS_RIGHT,
9815
+ position: re.CONTROLS_RIGHT,
9813
9816
  index: 10
9814
9817
  };
9815
9818
  }
@@ -10202,7 +10205,7 @@ var Mr = {
10202
10205
  return `
10203
10206
  <xg-mini-layer class="xg-mini-layer">
10204
10207
  <xg-mini-header class="xgplayer-mini-header">
10205
- `.concat(it(this, "MINI_DRAG", this.playerConfig.isHideTips), `
10208
+ `.concat(tt(this, "MINI_DRAG", this.playerConfig.isHideTips), `
10206
10209
  </xg-mini-header>
10207
10210
  <div class="mini-cancel-btn">
10208
10211
  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
@@ -10268,7 +10271,7 @@ var Mr = {
10268
10271
  }), _(b(t), "onVideoClick", function(o) {
10269
10272
  var l = b(t), u = l.player, c = l.playerConfig;
10270
10273
  o.target && c.closeVideoClick || (o.target === u.root || o.target === u.media || o.target === u.innerContainer || o.target === u.media.__canvas) && (o.preventDefault(), c.closeVideoStopPropagation || o.stopPropagation(), t._clickCount++, t.clickTimer && (clearTimeout(t.clickTimer), t.clickTimer = null), t.clickTimer = setTimeout(function() {
10271
- t._clickCount && (t._clickCount--, Ne(b(t), Nr[0], function(f, d) {
10274
+ t._clickCount && (t._clickCount--, Me(b(t), Nr[0], function(f, d) {
10272
10275
  t.switchPlayPause(d.e);
10273
10276
  }, {
10274
10277
  e: o,
@@ -10282,7 +10285,7 @@ var Mr = {
10282
10285
  t._clickCount = 0;
10283
10286
  return;
10284
10287
  }
10285
- t._clickCount = 0, t.clickTimer && (clearTimeout(t.clickTimer), t.clickTimer = null), o.preventDefault(), o.stopPropagation(), Ne(b(t), Nr[1], function(f, d) {
10288
+ t._clickCount = 0, t.clickTimer && (clearTimeout(t.clickTimer), t.clickTimer = null), o.preventDefault(), o.stopPropagation(), Me(b(t), Nr[1], function(f, d) {
10286
10289
  t.emitUserAction(d.e, "switch_fullscreen", {
10287
10290
  props: "fullscreen",
10288
10291
  from: u.fullscreen,
@@ -10347,7 +10350,7 @@ var Mr = {
10347
10350
  return {};
10348
10351
  }
10349
10352
  }]), n;
10350
- })(et), Ze = {
10353
+ })(Qe), Xe = {
10351
10354
  PRESS: "press",
10352
10355
  PRESS_END: "pressend",
10353
10356
  DOUBlE_CLICK: "doubleclick",
@@ -10386,15 +10389,15 @@ var Od = /* @__PURE__ */ (function() {
10386
10389
  };
10387
10390
  R(this, a), _(this, "onTouchStart", function(e) {
10388
10391
  var i = n._pos, r = n.root, o = fl(e.touches);
10389
- i.x = o ? parseInt(o.pageX, 10) : e.pageX, i.y = o ? parseInt(o.pageX, 10) : e.pageX, i.start = !0, n.__setPress(e), r.addEventListener(n.events.end, n.onTouchEnd), r.addEventListener(n.events.cancel, n.onTouchCancel), r.addEventListener(n.events.move, n.onTouchMove), n.trigger(Ze.TOUCH_START, e);
10392
+ i.x = o ? parseInt(o.pageX, 10) : e.pageX, i.y = o ? parseInt(o.pageX, 10) : e.pageX, i.start = !0, n.__setPress(e), r.addEventListener(n.events.end, n.onTouchEnd), r.addEventListener(n.events.cancel, n.onTouchCancel), r.addEventListener(n.events.move, n.onTouchMove), n.trigger(Xe.TOUCH_START, e);
10390
10393
  }), _(this, "onTouchCancel", function(e) {
10391
10394
  n.onTouchEnd(e);
10392
10395
  }), _(this, "onTouchEnd", function(e) {
10393
10396
  var i = n._pos, r = n.root;
10394
- n.__clearPress(), r.removeEventListener(n.events.cancel, n.onTouchCancel), r.removeEventListener(n.events.end, n.onTouchEnd), r.removeEventListener(n.events.move, n.onTouchMove), e.moving = i.moving, e.press = i.press, i.press && n.trigger(Ze.PRESS_END, e), n.trigger(Ze.TOUCH_END, e), !i.press && !i.moving && n.__setDb(e), i.press = !1, i.start = !1, i.moving = !1;
10397
+ n.__clearPress(), r.removeEventListener(n.events.cancel, n.onTouchCancel), r.removeEventListener(n.events.end, n.onTouchEnd), r.removeEventListener(n.events.move, n.onTouchMove), e.moving = i.moving, e.press = i.press, i.press && n.trigger(Xe.PRESS_END, e), n.trigger(Xe.TOUCH_END, e), !i.press && !i.moving && n.__setDb(e), i.press = !1, i.start = !1, i.moving = !1;
10395
10398
  }), _(this, "onTouchMove", function(e) {
10396
10399
  var i = n._pos, r = n.config, o = fl(e.touches), l = o ? parseInt(o.pageX, 10) : e.pageX, u = o ? parseInt(o.pageY, 10) : e.pageX, c = l - i.x, f = u - i.y;
10397
- Math.abs(f) < r.miniStep && Math.abs(c) < r.miniStep || (n.__clearPress(), i.press && n.trigger(Ze.PRESS_END, e), i.press = !1, i.moving = !0, n.trigger(Ze.TOUCH_MOVE, e));
10400
+ Math.abs(f) < r.miniStep && Math.abs(c) < r.miniStep || (n.__clearPress(), i.press && n.trigger(Xe.PRESS_END, e), i.press = !1, i.moving = !0, n.trigger(Xe.TOUCH_MOVE, e));
10398
10401
  }), this._pos = {
10399
10402
  moving: !1,
10400
10403
  start: !1,
@@ -10414,7 +10417,7 @@ var Od = /* @__PURE__ */ (function() {
10414
10417
  value: function(n) {
10415
10418
  var t = this, e = this.config;
10416
10419
  this.pressIntrvalId && this.__clearPress(), this.pressIntrvalId = setTimeout(function() {
10417
- t.trigger(Ze.PRESS, n), t._pos.press = !0, t.__clearPress();
10420
+ t.trigger(Xe.PRESS, n), t._pos.press = !0, t.__clearPress();
10418
10421
  }, e.pressDelay);
10419
10422
  }
10420
10423
  }, {
@@ -10427,11 +10430,11 @@ var Od = /* @__PURE__ */ (function() {
10427
10430
  value: function(n) {
10428
10431
  var t = this, e = this.config;
10429
10432
  if (this.dbIntrvalId) {
10430
- this.__clearDb(), this.trigger(Ze.DOUBlE_CLICK, n);
10433
+ this.__clearDb(), this.trigger(Xe.DOUBlE_CLICK, n);
10431
10434
  return;
10432
10435
  }
10433
10436
  this.dbIntrvalId = setTimeout(function() {
10434
- t.__clearDb(), !t._pos.start && !t._pos.press && !t._pos.moving && t.trigger(Ze.CLICK, n);
10437
+ t.__clearDb(), !t._pos.start && !t._pos.press && !t._pos.moving && t.trigger(Xe.CLICK, n);
10435
10438
  }, e.dbClickDelay);
10436
10439
  }
10437
10440
  }, {
@@ -10588,10 +10591,10 @@ var mt = {
10588
10591
  d.preventDefault();
10589
10592
  }), o.root.addEventListener("touchmove", this.onRootTouchMove, !0), o.root.addEventListener("touchend", this.onRootTouchEnd, !0), o.root.addEventListener("touchcancel", this.onRootTouchEnd, !0);
10590
10593
  var u = this.player.controls;
10591
- u && u.center && (u.center.addEventListener("touchmove", this.onRootTouchMove, !0), u.center.addEventListener("touchend", this.onRootTouchEnd, !0), u.center.addEventListener("touchcancel", this.onRootTouchEnd, !0)), this.on($e, function() {
10594
+ u && u.center && (u.center.addEventListener("touchmove", this.onRootTouchMove, !0), u.center.addEventListener("touchend", this.onRootTouchEnd, !0), u.center.addEventListener("touchcancel", this.onRootTouchEnd, !0)), this.on(Ge, function() {
10592
10595
  var d = e.player, v = e.config;
10593
10596
  d.duration > 0 && d.duration * 1e3 < v.moveDuration && (v.moveDuration = d.duration * 1e3);
10594
- }), this.on([Ve, ct], function() {
10597
+ }), this.on([je, ct], function() {
10595
10598
  var d = e.pos, v = d.time, g = d.isStart;
10596
10599
  !g && v > 0 && (e.pos.time = 0);
10597
10600
  });
@@ -10758,7 +10761,7 @@ var mt = {
10758
10761
  key: "onClick",
10759
10762
  value: function(e) {
10760
10763
  var i = this, r = this.player;
10761
- Ne(this, Hr[0], function(o, l) {
10764
+ Me(this, Hr[0], function(o, l) {
10762
10765
  i.clickHandler(l.e);
10763
10766
  }, {
10764
10767
  e,
@@ -10769,7 +10772,7 @@ var mt = {
10769
10772
  key: "onDbClick",
10770
10773
  value: function(e) {
10771
10774
  var i = this, r = this.player;
10772
- Ne(this, Hr[1], function(o, l) {
10775
+ Me(this, Hr[1], function(o, l) {
10773
10776
  i.dbClickHandler(l.e);
10774
10777
  }, {
10775
10778
  e,
@@ -11169,7 +11172,7 @@ var dl = /* @__PURE__ */ (function(a) {
11169
11172
  if (f === e) {
11170
11173
  if (!d && !(r && g)) {
11171
11174
  var m = r && v || c;
11172
- typeof m == "function" ? c(i, this.player, r) : typeof m == "string" && typeof this[m] == "function" && this[m](i, this.player, r), this.emit(nu, oe({
11175
+ typeof m == "function" ? c(i, this.player, r) : typeof m == "string" && typeof this[m] == "function" && this[m](i, this.player, r), this.emit(nu, le({
11173
11176
  key: o[l],
11174
11177
  target: i.target,
11175
11178
  isPress: r
@@ -11216,7 +11219,7 @@ var dl = /* @__PURE__ */ (function(a) {
11216
11219
  };
11217
11220
  }
11218
11221
  }]), n;
11219
- })(et);
11222
+ })(Qe);
11220
11223
  function Bd() {
11221
11224
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="-5 -5 110 110">
11222
11225
  <path d="M100,50A50,50,0,1,1,50,0" stroke-width="5" stroke="#ddd" stroke-dasharray="236" fill="none"></path>
@@ -11258,7 +11261,7 @@ var Hd = /* @__PURE__ */ (function(a) {
11258
11261
  key: "defaultConfig",
11259
11262
  get: function() {
11260
11263
  return {
11261
- position: ne.ROOT
11264
+ position: re.ROOT
11262
11265
  };
11263
11266
  }
11264
11267
  }]), n;
@@ -11318,7 +11321,7 @@ var Hd = /* @__PURE__ */ (function(a) {
11318
11321
  return L(n, [{
11319
11322
  key: "afterCreate",
11320
11323
  value: function() {
11321
- this.curIndex = -1, this.curPos = null, this.lastCurrentTime = 0, this.updateSegments(), this.on($e, this._onDurationChange), this.on(Ge, this._onLoadedData), this.on(Ae, this._onTimeupdate), this.on(bi, this._onSeeking), this.on(Ee, this._onPlay);
11324
+ this.curIndex = -1, this.curPos = null, this.lastCurrentTime = 0, this.updateSegments(), this.on(Ge, this._onDurationChange), this.on(qe, this._onLoadedData), this.on(Ae, this._onTimeupdate), this.on(bi, this._onSeeking), this.on(Ee, this._onPlay);
11322
11325
  }
11323
11326
  }, {
11324
11327
  key: "setConfig",
@@ -11399,7 +11402,7 @@ var Hd = /* @__PURE__ */ (function(a) {
11399
11402
  };
11400
11403
  }
11401
11404
  }]), n;
11402
- })(et);
11405
+ })(Qe);
11403
11406
  function zd() {
11404
11407
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="-4 -6 40 40" fill="none">
11405
11408
  <g>
@@ -11426,7 +11429,7 @@ var jd = /* @__PURE__ */ (function(a) {
11426
11429
  value: function() {
11427
11430
  var e = this;
11428
11431
  if (!this.config.disable) {
11429
- G(V(n.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(Qe, function() {
11432
+ G(V(n.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(Je, function() {
11430
11433
  e.rotateDeg && e.config.innerRotate && h.setTimeout(e, function() {
11431
11434
  e.updateRotateDeg(e.rotateDeg, e.config.innerRotate);
11432
11435
  }, 100);
@@ -11488,7 +11491,7 @@ var jd = /* @__PURE__ */ (function(a) {
11488
11491
  <xg-icon class="xgplayer-rotate">
11489
11492
  <div class="xgplayer-icon">
11490
11493
  </div>
11491
- `.concat(it(this, "ROTATE_TIPS", this.playerConfig.isHideTips), `
11494
+ `.concat(tt(this, "ROTATE_TIPS", this.playerConfig.isHideTips), `
11492
11495
  </xg-icon>`);
11493
11496
  }
11494
11497
  }], [{
@@ -11500,7 +11503,7 @@ var jd = /* @__PURE__ */ (function(a) {
11500
11503
  key: "defaultConfig",
11501
11504
  get: function() {
11502
11505
  return {
11503
- position: ne.CONTROLS_RIGHT,
11506
+ position: re.CONTROLS_RIGHT,
11504
11507
  index: 6,
11505
11508
  innerRotate: !0,
11506
11509
  clockwise: !1,
@@ -11605,9 +11608,9 @@ var yt = {
11605
11608
  }, {
11606
11609
  key: "copyStyleIntoPiPWindow",
11607
11610
  value: function(e) {
11608
- var i = De(document.styleSheets).map(function(o) {
11611
+ var i = Pe(document.styleSheets).map(function(o) {
11609
11612
  try {
11610
- return De(o.cssRules).map(function(u) {
11613
+ return Pe(o.cssRules).map(function(u) {
11611
11614
  return u.cssText;
11612
11615
  }).join("");
11613
11616
  } catch {
@@ -11703,7 +11706,7 @@ var yt = {
11703
11706
  return `<xg-icon class="xgplayer-pip">
11704
11707
  <div class="xgplayer-icon xg-icon-disable">
11705
11708
  </div>
11706
- `.concat(it(this, "PIP", this.playerConfig.isHideTips), `
11709
+ `.concat(tt(this, "PIP", this.playerConfig.isHideTips), `
11707
11710
  </xg-icon>`);
11708
11711
  }
11709
11712
  }], [{
@@ -11715,7 +11718,7 @@ var yt = {
11715
11718
  key: "defaultConfig",
11716
11719
  get: function() {
11717
11720
  return {
11718
- position: ne.CONTROLS_RIGHT,
11721
+ position: re.CONTROLS_RIGHT,
11719
11722
  index: 6,
11720
11723
  showIcon: !1,
11721
11724
  preferDocument: !1,
@@ -11786,7 +11789,7 @@ var Wd = /* @__PURE__ */ (function(a) {
11786
11789
  <xg-icon class="xgplayer-playnext">
11787
11790
  <div class="xgplayer-icon">
11788
11791
  </div>
11789
- `.concat(it(this, "PLAYNEXT_TIPS", this.playerConfig.isHideTips), `
11792
+ `.concat(tt(this, "PLAYNEXT_TIPS", this.playerConfig.isHideTips), `
11790
11793
  </xg-icon>
11791
11794
  `);
11792
11795
  }
@@ -11799,7 +11802,7 @@ var Wd = /* @__PURE__ */ (function(a) {
11799
11802
  key: "defaultConfig",
11800
11803
  get: function() {
11801
11804
  return {
11802
- position: ne.CONTROLS_LEFT,
11805
+ position: re.CONTROLS_LEFT,
11803
11806
  index: 1,
11804
11807
  url: null,
11805
11808
  urlList: []
@@ -11813,13 +11816,13 @@ function Yd() {
11813
11816
  a.exports = t();
11814
11817
  })(Kd, function() {
11815
11818
  return function n(t, e, i) {
11816
- var r = window, o = "application/octet-stream", l = i || o, u = t, c = !e && !i && u, f = document.createElement("a"), d = function(M) {
11817
- return String(M);
11819
+ var r = window, o = "application/octet-stream", l = i || o, u = t, c = !e && !i && u, f = document.createElement("a"), d = function(F) {
11820
+ return String(F);
11818
11821
  }, v = r.Blob || r.MozBlob || r.WebKitBlob || d, g = e || "download", m, p;
11819
11822
  if (v = v.call ? v.bind(r) : Blob, String(this) === "true" && (u = [u, l], l = u[0], u = u[1]), c && c.length < 2048 && (g = c.split("/").pop().split("?")[0], f.href = c, f.href.indexOf(c) !== -1)) {
11820
11823
  var w = new XMLHttpRequest();
11821
- return w.open("GET", c, !0), w.responseType = "blob", w.onload = function(M) {
11822
- n(M.target.response, g, o);
11824
+ return w.open("GET", c, !0), w.responseType = "blob", w.onload = function(F) {
11825
+ n(F.target.response, g, o);
11823
11826
  }, setTimeout(function() {
11824
11827
  w.send();
11825
11828
  }, 0), w;
@@ -11838,24 +11841,24 @@ function Yd() {
11838
11841
  u = new v([k], { type: l });
11839
11842
  }
11840
11843
  m = u instanceof v ? u : new v([u], { type: l });
11841
- function x(M) {
11842
- var K = M.split(/[:;,]/), z = K[1], N = K[2] == "base64" ? atob : decodeURIComponent, F = N(K.pop()), ee = F.length, se = 0, ye = new Uint8Array(ee);
11843
- for (se; se < ee; ++se) ye[se] = F.charCodeAt(se);
11844
+ function x(F) {
11845
+ var K = F.split(/[:;,]/), z = K[1], M = K[2] == "base64" ? atob : decodeURIComponent, O = M(K.pop()), ie = O.length, oe = 0, ye = new Uint8Array(ie);
11846
+ for (oe; oe < ie; ++oe) ye[oe] = O.charCodeAt(oe);
11844
11847
  return new v([ye], { type: z });
11845
11848
  }
11846
- function I(M, K) {
11849
+ function I(F, K) {
11847
11850
  if ("download" in f)
11848
- return f.href = M, f.setAttribute("download", g), f.className = "download-js-link", f.innerHTML = "downloading...", f.style.display = "none", document.body.appendChild(f), setTimeout(function() {
11851
+ return f.href = F, f.setAttribute("download", g), f.className = "download-js-link", f.innerHTML = "downloading...", f.style.display = "none", document.body.appendChild(f), setTimeout(function() {
11849
11852
  f.click(), document.body.removeChild(f), K === !0 && setTimeout(function() {
11850
11853
  r.URL.revokeObjectURL(f.href);
11851
11854
  }, 250);
11852
11855
  }, 66), !0;
11853
11856
  if (/(Version)\/(\d+)\.(\d+)(?:\.(\d+))?.*Safari\//.test(navigator.userAgent))
11854
- return /^data:/.test(M) && (M = "data:" + M.replace(/^data:([\w\/\-\+]+)/, o)), window.open(M) || confirm(`Displaying New Document
11857
+ return /^data:/.test(F) && (F = "data:" + F.replace(/^data:([\w\/\-\+]+)/, o)), window.open(F) || confirm(`Displaying New Document
11855
11858
 
11856
- Use Save As... to download, then click back to return to this page.`) && (location.href = M), !0;
11859
+ Use Save As... to download, then click back to return to this page.`) && (location.href = F), !0;
11857
11860
  var z = document.createElement("iframe");
11858
- document.body.appendChild(z), !K && /^data:/.test(M) && (M = "data:" + M.replace(/^data:([\w\/\-\+]+)/, o)), z.src = M, setTimeout(function() {
11861
+ document.body.appendChild(z), !K && /^data:/.test(F) && (F = "data:" + F.replace(/^data:([\w\/\-\+]+)/, o)), z.src = F, setTimeout(function() {
11859
11862
  document.body.removeChild(z);
11860
11863
  }, 333);
11861
11864
  }
@@ -11870,7 +11873,7 @@ Use Save As... to download, then click back to return to this page.`) && (locati
11870
11873
  } catch {
11871
11874
  return I("data:" + l + "," + encodeURIComponent(m));
11872
11875
  }
11873
- p = new FileReader(), p.onload = function(M) {
11876
+ p = new FileReader(), p.onload = function(F) {
11874
11877
  I(this.result);
11875
11878
  }, p.readAsDataURL(m);
11876
11879
  }
@@ -11952,7 +11955,7 @@ var Qd = /* @__PURE__ */ (function(a) {
11952
11955
  return `<xg-icon class="xgplayer-download">
11953
11956
  <div class="xgplayer-icon">
11954
11957
  </div>
11955
- `.concat(it(this, "DOWNLOAD_TIPS", this.playerConfig.isHideTips), `
11958
+ `.concat(tt(this, "DOWNLOAD_TIPS", this.playerConfig.isHideTips), `
11956
11959
  </xg-icon>`);
11957
11960
  }
11958
11961
  }], [{
@@ -11964,7 +11967,7 @@ var Qd = /* @__PURE__ */ (function(a) {
11964
11967
  key: "defaultConfig",
11965
11968
  get: function() {
11966
11969
  return {
11967
- position: ne.CONTROLS_RIGHT,
11970
+ position: re.CONTROLS_RIGHT,
11968
11971
  index: 3,
11969
11972
  disable: !0
11970
11973
  };
@@ -11988,7 +11991,7 @@ var Qd = /* @__PURE__ */ (function(a) {
11988
11991
  var e = this.config;
11989
11992
  this.initSize = function(i) {
11990
11993
  e.fitVideo && (e.width = i.vWidth, e.height = i.vHeight);
11991
- }, this.once(Qe, this.initSize);
11994
+ }, this.once(Je, this.initSize);
11992
11995
  }
11993
11996
  }, {
11994
11997
  key: "onPluginsReady",
@@ -12041,11 +12044,11 @@ var Qd = /* @__PURE__ */ (function(a) {
12041
12044
  g = u.media.canvas;
12042
12045
  else {
12043
12046
  r.canvas ? (r.canvas.width = e || l.width, r.canvas.height = i || l.height) : r.createCanvas(e, i), g = r.canvas, m = r.canvasCtx;
12044
- var p = u.media.videoWidth / u.media.videoHeight, w = g.width / g.height, y = 0, k = 0, E = u.media.videoWidth, x = u.media.videoHeight, I, M, K, z;
12045
- p > w ? (K = g.width, z = g.width / p, I = 0, M = Math.round((g.height - z) / 2)) : p === w ? (K = g.width, z = g.height, I = 0, M = 0) : p < w && (K = g.height * p, z = g.height, I = Math.round((g.width - K) / 2), M = 0), m.drawImage(u.media, y, k, E, x, I, M, K, z);
12047
+ var p = u.media.videoWidth / u.media.videoHeight, w = g.width / g.height, y = 0, k = 0, E = u.media.videoWidth, x = u.media.videoHeight, I, F, K, z;
12048
+ p > w ? (K = g.width, z = g.width / p, I = 0, F = Math.round((g.height - z) / 2)) : p === w ? (K = g.width, z = g.height, I = 0, F = 0) : p < w && (K = g.height * p, z = g.height, I = Math.round((g.width - K) / 2), F = 0), m.drawImage(u.media, y, k, E, x, I, F, K, z);
12046
12049
  }
12047
- var N = g.toDataURL(f, c).replace(f, "image/octet-stream");
12048
- N = N.replace(/^data:image\/[^;]+/, "data:application/octet-stream"), d(N);
12050
+ var M = g.toDataURL(f, c).replace(f, "image/octet-stream");
12051
+ M = M.replace(/^data:image\/[^;]+/, "data:application/octet-stream"), d(M);
12049
12052
  });
12050
12053
  }
12051
12054
  }, {
@@ -12058,7 +12061,7 @@ var Qd = /* @__PURE__ */ (function(a) {
12058
12061
  }, {
12059
12062
  key: "destroy",
12060
12063
  value: function() {
12061
- G(V(n.prototype), "destroy", this).call(this), this.unbind(["click", "touchend"], this.onClickBtn), this.off(Qe, this.initSize);
12064
+ G(V(n.prototype), "destroy", this).call(this), this.unbind(["click", "touchend"], this.onClickBtn), this.off(Je, this.initSize);
12062
12065
  }
12063
12066
  }, {
12064
12067
  key: "render",
@@ -12082,7 +12085,7 @@ var Qd = /* @__PURE__ */ (function(a) {
12082
12085
  key: "defaultConfig",
12083
12086
  get: function() {
12084
12087
  return {
12085
- position: ne.CONTROLS_RIGHT,
12088
+ position: re.CONTROLS_RIGHT,
12086
12089
  index: 5,
12087
12090
  quality: 0.92,
12088
12091
  type: "image/png",
@@ -12168,7 +12171,7 @@ var Qd = /* @__PURE__ */ (function(a) {
12168
12171
  }), this._delegates = null), this.root.innerHTML = null, this.parent.removeChild(this.root), this.root = null;
12169
12172
  }
12170
12173
  }]), a;
12171
- })(), Fe = {
12174
+ })(), Oe = {
12172
12175
  SIDE: "side",
12173
12176
  MIDDLE: "middle",
12174
12177
  DEFAULT: "default"
@@ -12177,7 +12180,7 @@ var Qd = /* @__PURE__ */ (function(a) {
12177
12180
  HOVER: "hover"
12178
12181
  };
12179
12182
  function ig(a, s) {
12180
- return a === Fe.SIDE ? s === ne.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
12183
+ return a === Oe.SIDE ? s === re.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
12181
12184
  }
12182
12185
  var at = $.device === "mobile", ci = /* @__PURE__ */ (function(a) {
12183
12186
  H(n, a);
@@ -12195,7 +12198,7 @@ var at = $.device === "mobile", ci = /* @__PURE__ */ (function(a) {
12195
12198
  }), _(b(e), "onLeave", function(i) {
12196
12199
  i.stopPropagation(), e.emit("icon_mouseleave", {
12197
12200
  pluginName: e.pluginName
12198
- }), e.config.listType !== Fe.SIDE && e.isActive && e.toggle(!1);
12201
+ }), e.config.listType !== Oe.SIDE && e.isActive && e.toggle(!1);
12199
12202
  }), _(b(e), "onListEnter", function(i) {
12200
12203
  e.enterType = 2;
12201
12204
  }), _(b(e), "onListLeave", function(i) {
@@ -12211,9 +12214,9 @@ var at = $.device === "mobile", ci = /* @__PURE__ */ (function(a) {
12211
12214
  key: "afterCreate",
12212
12215
  value: function() {
12213
12216
  var e = this, i = this.config;
12214
- this.initIcons(), at = at || this.domEventType === "touch", at && $.device === "mobile" && i.listType === Fe.DEFAULT && (i.listType = Fe.SIDE), i.hidePortrait && h.addClass(this.root, "portrait"), this.on([Qe, je], function() {
12217
+ this.initIcons(), at = at || this.domEventType === "touch", at && $.device === "mobile" && i.listType === Oe.DEFAULT && (i.listType = Oe.SIDE), i.hidePortrait && h.addClass(this.root, "portrait"), this.on([Je, ze], function() {
12215
12218
  e._resizeList();
12216
- }), this.once(Ve, function() {
12219
+ }), this.once(je, function() {
12217
12220
  i.list && i.list.length > 0 && (e.renderItemList(i.list), e.show());
12218
12221
  }), at && this.on(pa, function() {
12219
12222
  e.isActive && (e.optionsList && e.optionsList.hide(), e.isActive = !1);
@@ -12255,7 +12258,7 @@ var at = $.device === "mobile", ci = /* @__PURE__ */ (function(a) {
12255
12258
  value: function(e) {
12256
12259
  if (!(e === this.isActive || this.config.disable)) {
12257
12260
  var i = this.player.controls, r = this.config.listType;
12258
- e ? (r === Fe.SIDE ? i.blur() : i.focus(), this.optionsList && this.optionsList.show()) : (r === Fe.SIDE ? i.focus() : i.focusAwhile(), this.optionsList && this.optionsList.hide()), this.isActive = e;
12261
+ e ? (r === Oe.SIDE ? i.blur() : i.focus(), this.optionsList && this.optionsList.show()) : (r === Oe.SIDE ? i.focus() : i.focusAwhile(), this.optionsList && this.optionsList.hide()), this.isActive = e;
12259
12262
  }
12260
12263
  }
12261
12264
  }, {
@@ -12265,7 +12268,7 @@ var at = $.device === "mobile", ci = /* @__PURE__ */ (function(a) {
12265
12268
  var r = this.config, o = r.listType, l = r.list;
12266
12269
  this.curIndex = i.to.index, this.curItem = l[this.curIndex], this.changeCurrentText();
12267
12270
  var u = this.config.isItemClickHide;
12268
- (u || at || o === Fe.SIDE) && this.toggle(!1);
12271
+ (u || at || o === Oe.SIDE) && this.toggle(!1);
12269
12272
  }
12270
12273
  }, {
12271
12274
  key: "onIconClick",
@@ -12296,10 +12299,10 @@ var at = $.device === "mobile", ci = /* @__PURE__ */ (function(a) {
12296
12299
  },
12297
12300
  domEventType: at ? "touch" : "mouse"
12298
12301
  },
12299
- root: o.listType === Fe.SIDE ? u.innerContainer || u.root : this.root
12302
+ root: o.listType === Oe.SIDE ? u.innerContainer || u.root : this.root
12300
12303
  };
12301
12304
  if (this.config.isShowIcon) {
12302
- var f = this.player.root.getBoundingClientRect(), d = f.height, v = o.listType === Fe.MIDDLE ? d - 50 : d;
12305
+ var f = this.player.root.getBoundingClientRect(), d = f.height, v = o.listType === Oe.MIDDLE ? d - 50 : d;
12303
12306
  v && o.heightLimit && (c.config.maxHeight = "".concat(v, "px")), this.optionsList = new tg(c), this.changeCurrentText(), this.show();
12304
12307
  }
12305
12308
  this._resizeList();
@@ -12308,7 +12311,7 @@ var at = $.device === "mobile", ci = /* @__PURE__ */ (function(a) {
12308
12311
  key: "_resizeList",
12309
12312
  value: function() {
12310
12313
  if (this.config.heightLimit) {
12311
- var e = this.player.root.getBoundingClientRect(), i = e.height, r = this.config.listType === Fe.MIDDLE ? i - 50 : i;
12314
+ var e = this.player.root.getBoundingClientRect(), i = e.height, r = this.config.listType === Oe.MIDDLE ? i - 50 : i;
12312
12315
  this.optionsList && this.optionsList.setStyle({
12313
12316
  maxHeight: "".concat(r, "px")
12314
12317
  });
@@ -12338,7 +12341,7 @@ var at = $.device === "mobile", ci = /* @__PURE__ */ (function(a) {
12338
12341
  key: "defaultConfig",
12339
12342
  get: function() {
12340
12343
  return {
12341
- position: ne.CONTROLS_RIGHT,
12344
+ position: re.CONTROLS_RIGHT,
12342
12345
  index: 100,
12343
12346
  list: [],
12344
12347
  listType: "default",
@@ -12400,7 +12403,7 @@ var at = $.device === "mobile", ci = /* @__PURE__ */ (function(a) {
12400
12403
  c.selected = !1;
12401
12404
  });
12402
12405
  var l = 0, u = i.map(function(c, f) {
12403
- var d = oe(oe({}, c), {}, {
12406
+ var d = le(le({}, c), {}, {
12404
12407
  showText: e.getTextByLang(c) || c.definition,
12405
12408
  selected: !1
12406
12409
  });
@@ -12440,8 +12443,8 @@ var at = $.device === "mobile", ci = /* @__PURE__ */ (function(a) {
12440
12443
  }, {
12441
12444
  key: "defaultConfig",
12442
12445
  get: function() {
12443
- return oe(oe({}, ci.defaultConfig), {}, {
12444
- position: ne.CONTROLS_RIGHT,
12446
+ return le(le({}, ci.defaultConfig), {}, {
12447
+ position: re.CONTROLS_RIGHT,
12445
12448
  index: 3,
12446
12449
  list: [],
12447
12450
  defaultDefinition: "",
@@ -12534,8 +12537,8 @@ var at = $.device === "mobile", ci = /* @__PURE__ */ (function(a) {
12534
12537
  }, {
12535
12538
  key: "defaultConfig",
12536
12539
  get: function() {
12537
- return oe(oe({}, ci.defaultConfig), {}, {
12538
- position: ne.CONTROLS_RIGHT,
12540
+ return le(le({}, ci.defaultConfig), {}, {
12541
+ position: re.CONTROLS_RIGHT,
12539
12542
  index: 4,
12540
12543
  list: [2, 1.5, 1, 0.75, 0.5],
12541
12544
  className: "xgplayer-playbackrate",
@@ -12846,9 +12849,9 @@ function og(a) {
12846
12849
  }), a.ispotsInit = !1, a.playerSize = {
12847
12850
  left: n.sizeInfo.left,
12848
12851
  width: n.sizeInfo.width
12849
- }, a.on($e, function() {
12852
+ }, a.on(Ge, function() {
12850
12853
  a.ispotsInit ? a.updateDuration() : a.initDots();
12851
- }), a.on(Qe, function() {
12854
+ }), a.on(Je, function() {
12852
12855
  a.positionDots();
12853
12856
  });
12854
12857
  }
@@ -12910,7 +12913,7 @@ var Ct = {
12910
12913
  r.seekTime && e.player.seek(r.seekTime);
12911
12914
  }), this.transformTimeHook = this.hook("transformTime", function(i) {
12912
12915
  e.setTimeContent(h.format(i));
12913
- }), og(this), this.on($e, function() {
12916
+ }), og(this), this.on(Ge, function() {
12914
12917
  e.show();
12915
12918
  }), this.config.disable && this.disable(), this.extTextRoot = this.find(".xg-spot-ext-text");
12916
12919
  }
@@ -13145,7 +13148,7 @@ var Ct = {
13145
13148
  key: "afterCreate",
13146
13149
  value: function() {
13147
13150
  var e = this;
13148
- this.usable && this.initThumbnail(), this.on([$e], function() {
13151
+ this.usable && this.initThumbnail(), this.on([Ge], function() {
13149
13152
  var i = e.config, r = i.pic_num, o = i.interval;
13150
13153
  e.usable && (e.interval = o > 0 ? o : Math.round(e.player.duration * 1e3 / r) / 1e3);
13151
13154
  });
@@ -13423,7 +13426,7 @@ var Zt = null, dg = /* @__PURE__ */ (function(a) {
13423
13426
  e._checkIfCanStart() && e.start(0, u);
13424
13427
  }), this.on(St, function() {
13425
13428
  e.stop();
13426
- })), this.on(Ge, this.onLoadedData), this.on(va, function() {
13429
+ })), this.on(qe, this.onLoadedData), this.on(va, function() {
13427
13430
  e._isLoaded = !1, e.stop();
13428
13431
  }), document.addEventListener("visibilitychange", this.onVisibilitychange)));
13429
13432
  }
@@ -13662,7 +13665,7 @@ var Zt = null, dg = /* @__PURE__ */ (function(a) {
13662
13665
  var l = t._getTime(), u = Object.assign({}, o, {
13663
13666
  msg: o.msg || o.action
13664
13667
  });
13665
- t._stats[xt].push(oe(oe({
13668
+ t._stats[xt].push(le(le({
13666
13669
  type: "userAction"
13667
13670
  }, l), {}, {
13668
13671
  payload: u
@@ -13710,7 +13713,7 @@ var Zt = null, dg = /* @__PURE__ */ (function(a) {
13710
13713
  key: "_info",
13711
13714
  value: function(e) {
13712
13715
  var i = this._getTime();
13713
- this._stats[xt].push(oe(oe({}, i), {}, {
13716
+ this._stats[xt].push(le(le({}, i), {}, {
13714
13717
  payload: e
13715
13718
  }));
13716
13719
  }
@@ -13718,7 +13721,7 @@ var Zt = null, dg = /* @__PURE__ */ (function(a) {
13718
13721
  key: "_infoProfile",
13719
13722
  value: function(e) {
13720
13723
  if (e && e.startMs) {
13721
- var i = Date.now(), r = i - e.startMs, o = oe({
13724
+ var i = Date.now(), r = i - e.startMs, o = le({
13722
13725
  cat: "function",
13723
13726
  dur: r,
13724
13727
  name: e.name || e.msg,
@@ -13794,7 +13797,7 @@ var Zt = null, dg = /* @__PURE__ */ (function(a) {
13794
13797
  return {};
13795
13798
  }
13796
13799
  }]), n;
13797
- })(et), _u = /* @__PURE__ */ (function(a) {
13800
+ })(Qe), _u = /* @__PURE__ */ (function(a) {
13798
13801
  H(n, a);
13799
13802
  var s = U(n);
13800
13803
  function n() {
@@ -13908,7 +13911,7 @@ var pg = /* @__PURE__ */ (function(a) {
13908
13911
  key: "afterCreate",
13909
13912
  value: function() {
13910
13913
  var e = this, i = this.config, r = i.useWaitingTimeoutJump, o = i.jumpSize;
13911
- r !== !1 && (this.hasPlayed = !1, this.jumpCnt = 0, this.timer = null, this.jumpSize = o, this.on(Ut, this.onWaiting), this.on([ga, Ve], function() {
13914
+ r !== !1 && (this.hasPlayed = !1, this.jumpCnt = 0, this.timer = null, this.jumpSize = o, this.on(Ut, this.onWaiting), this.on([ga, je], function() {
13912
13915
  clearTimeout(e.timer), e.timer = null, e.jumpSize = e.config.jumpSize;
13913
13916
  }), this.on(Ee, function() {
13914
13917
  e.hasPlayed = !0;
@@ -14006,7 +14009,7 @@ var pg = /* @__PURE__ */ (function(a) {
14006
14009
  key: "afterCreate",
14007
14010
  value: function() {
14008
14011
  var e = this.config, i = e.openSpeed, r = e.addSpeedTypeList;
14009
- (r == null ? void 0 : r.length) > 0 && Jt.push.apply(Jt, De(r)), this.initSpeedList(), this.on("real_time_speed", this._onRealSpeedChange), this.timer = null, this.cnt = 0, this.xhr = null, i && this.on([Ge, ii], this.startTimer);
14012
+ (r == null ? void 0 : r.length) > 0 && Jt.push.apply(Jt, Pe(r)), this.initSpeedList(), this.on("real_time_speed", this._onRealSpeedChange), this.timer = null, this.cnt = 0, this.xhr = null, i && this.on([qe, ii], this.startTimer);
14010
14013
  }
14011
14014
  }, {
14012
14015
  key: "getSpeedName",
@@ -14033,7 +14036,7 @@ var pg = /* @__PURE__ */ (function(a) {
14033
14036
  key: "destroy",
14034
14037
  value: function() {
14035
14038
  var e = this;
14036
- this.off("real_time_speed", this._onRealSpeedChange), this.off([Ge, ii], this.startTimer), Jt.forEach(function(i) {
14039
+ this.off("real_time_speed", this._onRealSpeedChange), this.off([qe, ii], this.startTimer), Jt.forEach(function(i) {
14037
14040
  e.speedListCache && e.speedListCache[i] && (e.speedListCache[i] = []);
14038
14041
  }), this.speedListCache && (this.speedListCache = {}), clearTimeout(this.timer), this.timer = null, this.xhr && this.xhr.readyState !== 4 && (this.xhr.cancel && this.xhr.cancel(), this.xhr = null);
14039
14042
  }
@@ -14171,7 +14174,7 @@ var bg = /* @__PURE__ */ L(function a(s, n) {
14171
14174
  var t, e, i;
14172
14175
  R(this, a);
14173
14176
  var r = n && n.isMobileSimulateMode === "mobile", o = n.isLive, l = o ? [] : [Ud, mu, cg, lg, yu], u = [].concat(l, [pu, vu, jd, Wd, ng, rg, Qd, eg, bu, Gd]), c = [_d, wd, Sd, Hd, Ad, ag, sg, ug, Pd];
14174
- this.plugins = [vg, Cd].concat(De(u), c, [_u, pg]);
14177
+ this.plugins = [vg, Cd].concat(Pe(u), c, [_u, pg]);
14175
14178
  var f = r ? "mobile" : $.device;
14176
14179
  switch (f) {
14177
14180
  case "pc":
@@ -14198,7 +14201,7 @@ _(ge, "Sniffer", $);
14198
14201
  _(ge, "Errors", ti);
14199
14202
  _(ge, "Events", zh);
14200
14203
  _(ge, "Plugin", J);
14201
- _(ge, "BasePlugin", et);
14204
+ _(ge, "BasePlugin", Qe);
14202
14205
  _(ge, "I18N", wt);
14203
14206
  _(ge, "STATE_CLASS", A);
14204
14207
  _(ge, "InstManager", gu);
@@ -14208,7 +14211,7 @@ _(ge, "Progress", mu);
14208
14211
  _(ge, "FullscreenIcon", vu);
14209
14212
  _(ge, "CssFullscreenIcon", Xr);
14210
14213
  _(ge, "VolumeIcon", bu);
14211
- const Cg = ["id"], kg = /* @__PURE__ */ fe({
14214
+ const Cg = ["id"], kg = /* @__PURE__ */ he({
14212
14215
  name: "ElImageViewer",
14213
14216
  __name: "Player",
14214
14217
  props: /* @__PURE__ */ lt({
@@ -14237,7 +14240,7 @@ const Cg = ["id"], kg = /* @__PURE__ */ fe({
14237
14240
  }, ["update:modelValue"]),
14238
14241
  setup(a, { emit: s }) {
14239
14242
  let n = null;
14240
- const t = a, { cLoadUrl: e } = Al(t), i = re(() => Ot(e.value, t.url)), r = {
14243
+ const t = a, { cLoadUrl: e } = Al(t), i = se(() => Ot(e.value, t.url)), r = {
14241
14244
  width: "100%",
14242
14245
  height: "100%",
14243
14246
  // 是否自动播放
@@ -14255,7 +14258,7 @@ const Cg = ["id"], kg = /* @__PURE__ */ fe({
14255
14258
  poster: "",
14256
14259
  lang: "zh-CN",
14257
14260
  screenShot: !0
14258
- }, o = re(() => ({
14261
+ }, o = se(() => ({
14259
14262
  ...r,
14260
14263
  ...t.config
14261
14264
  })), l = s, u = fi(a, "modelValue"), c = Tl(), f = Cl("image-viewer");
@@ -14342,14 +14345,14 @@ const Cg = ["id"], kg = /* @__PURE__ */ fe({
14342
14345
  ])) : D("v-if", !0);
14343
14346
  };
14344
14347
  }
14345
- }), _g = /* @__PURE__ */ Be(kg, [["__scopeId", "data-v-b301aa7d"]]), wg = tt(_g), Tg = {
14348
+ }), _g = /* @__PURE__ */ Ne(kg, [["__scopeId", "data-v-b301aa7d"]]), wg = et(_g), Tg = {
14346
14349
  name: "name",
14347
14350
  url: "url",
14348
14351
  suffix: "suffix",
14349
14352
  size: "size"
14350
14353
  };
14351
14354
  function Sg(a) {
14352
- const { props: s } = a, n = re(() => ({
14355
+ const { props: s } = a, n = se(() => ({
14353
14356
  ...Tg,
14354
14357
  ...s.defaultFileds
14355
14358
  })), {
@@ -14452,18 +14455,18 @@ function xg(a) {
14452
14455
  showClose: !0,
14453
14456
  duration: 5e3
14454
14457
  }), !1);
14455
- }, l = re(() => {
14458
+ }, l = se(() => {
14456
14459
  const { accept: y } = s;
14457
14460
  return y === "*" ? "*" : `${y.toLowerCase()},${y.toUpperCase()}`;
14458
14461
  }), u = (y, k) => {
14459
- var I, M, K, z, N;
14462
+ var I, F, K, z, M;
14460
14463
  if (n("change", y), y.size / 1024 / 1024 < (s.size || 50) || Lt(() => {
14461
14464
  t.value.pop();
14462
14465
  }), s.accept !== "*") {
14463
- let F = !1;
14464
- l.value.includes("/") && (F = ((M = (I = y == null ? void 0 : y.raw) == null ? void 0 : I.type) == null ? void 0 : M.split("/").shift()) === ((K = l.value) == null ? void 0 : K.split("/").shift()));
14465
- const ee = (z = l.value) == null ? void 0 : z.split(",");
14466
- !ee.includes((N = y == null ? void 0 : y.raw) == null ? void 0 : N.type) && !ee.includes(`.${y.name.split(".").pop()}`) && !F && (Ai({
14466
+ let O = !1;
14467
+ l.value.includes("/") && (O = ((F = (I = y == null ? void 0 : y.raw) == null ? void 0 : I.type) == null ? void 0 : F.split("/").shift()) === ((K = l.value) == null ? void 0 : K.split("/").shift()));
14468
+ const ie = (z = l.value) == null ? void 0 : z.split(",");
14469
+ !ie.includes((M = y == null ? void 0 : y.raw) == null ? void 0 : M.type) && !ie.includes(`.${y.name.split(".").pop()}`) && !O && (Ai({
14467
14470
  message: `不允许的文件格式(${y.name}),请重新选择`,
14468
14471
  type: "warning",
14469
14472
  showClose: !0,
@@ -14494,7 +14497,7 @@ function xg(a) {
14494
14497
  y.status = "ready", k !== void 0 && r.value.splice(k, 1), (E = e.value) == null || E.handleStart(y.raw), (x = e.value) == null || x.submit();
14495
14498
  }, p = (y, k) => {
14496
14499
  r.value.splice(k, 1);
14497
- }, w = re(
14500
+ }, w = se(
14498
14501
  () => t.value.length >= (s.limit || 1) || !1
14499
14502
  );
14500
14503
  return {
@@ -14512,7 +14515,7 @@ function xg(a) {
14512
14515
  handleRemoveError: p
14513
14516
  };
14514
14517
  }
14515
- const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class: "file-name-loading" }, Rg = { class: "file-name" }, Lg = { class: "file-size" }, Og = { class: "operate-btn" }, Fg = /* @__PURE__ */ fe({
14518
+ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class: "file-name-loading" }, Rg = { class: "file-name" }, Lg = { class: "file-size" }, Og = { class: "operate-btn" }, Fg = /* @__PURE__ */ he({
14516
14519
  __name: "ErrorFileItem",
14517
14520
  props: {
14518
14521
  file: {},
@@ -14539,29 +14542,29 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
14539
14542
  S(
14540
14543
  "p",
14541
14544
  Rg,
14542
- ce(a.file[a.fieldName] || a.file.name),
14545
+ fe(a.file[a.fieldName] || a.file.name),
14543
14546
  1
14544
14547
  /* TEXT */
14545
14548
  ),
14546
14549
  S(
14547
14550
  "p",
14548
14551
  Lg,
14549
- ce(C(Mt)(a.file.size)),
14552
+ fe(C(Mt)(a.file.size)),
14550
14553
  1
14551
14554
  /* TEXT */
14552
14555
  )
14553
14556
  ])
14554
14557
  ]),
14555
14558
  S("div", Og, [
14556
- B(C(le), {
14557
- onClick: e[0] || (e[0] = Pe((i) => n("retry", a.file, a.index), ["stop"])),
14559
+ B(C(ue), {
14560
+ onClick: e[0] || (e[0] = Ie((i) => n("retry", a.file, a.index), ["stop"])),
14558
14561
  name: "iksvg_zhongzhi",
14559
14562
  title: "重新上传",
14560
14563
  "show-bg": "",
14561
14564
  size: "default"
14562
14565
  }),
14563
- B(C(le), {
14564
- onClick: e[1] || (e[1] = Pe((i) => n("remove", a.file, a.index), ["stop"])),
14566
+ B(C(ue), {
14567
+ onClick: e[1] || (e[1] = Ie((i) => n("remove", a.file, a.index), ["stop"])),
14565
14568
  error: "",
14566
14569
  name: "iksvg_shanchu",
14567
14570
  title: "删除",
@@ -14571,14 +14574,14 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
14571
14574
  ])
14572
14575
  ]));
14573
14576
  }
14574
- }), ml = /* @__PURE__ */ Be(Fg, [["__scopeId", "data-v-cd0c1de7"]]), Mg = {
14577
+ }), ml = /* @__PURE__ */ Ne(Fg, [["__scopeId", "data-v-cd0c1de7"]]), Mg = {
14575
14578
  class: "flex align-center",
14576
14579
  style: { width: "100%" }
14577
14580
  }, Ng = { class: "fileName simple" }, Bg = {
14578
14581
  key: 0,
14579
14582
  class: "size",
14580
14583
  style: { "padding-right": "20px", "white-space": "nowrap" }
14581
- }, Hg = /* @__PURE__ */ fe({
14584
+ }, Hg = /* @__PURE__ */ he({
14582
14585
  __name: "FileItemSimple",
14583
14586
  props: {
14584
14587
  file: { type: Object, required: !0 },
@@ -14601,14 +14604,14 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
14601
14604
  S(
14602
14605
  "div",
14603
14606
  Ng,
14604
- ce(a.file[a.mixDefaultField.name] || a.file.name),
14607
+ fe(a.file[a.mixDefaultField.name] || a.file.name),
14605
14608
  1
14606
14609
  /* TEXT */
14607
14610
  ),
14608
14611
  a.showFileSize ? (T(), P(
14609
14612
  "div",
14610
14613
  Bg,
14611
- " (" + ce(C(Mt)(a.file[a.mixDefaultField.size] || a.file.size)) + ") ",
14614
+ " (" + fe(C(Mt)(a.file[a.mixDefaultField.size] || a.file.size)) + ") ",
14612
14615
  1
14613
14616
  /* TEXT */
14614
14617
  )) : D("v-if", !0)
@@ -14620,25 +14623,25 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
14620
14623
  },
14621
14624
  [
14622
14625
  a.file.status === "success" ? (T(), P(
14623
- ue,
14626
+ ce,
14624
14627
  { key: 0 },
14625
14628
  [
14626
- a.isShowDownload ? (T(), W(C(le), {
14629
+ a.isShowDownload ? (T(), W(C(ue), {
14627
14630
  key: 0,
14628
14631
  name: "iksvg_daochu",
14629
- onClick: e[0] || (e[0] = Pe((i) => n("download", a.file), ["stop"])),
14632
+ onClick: e[0] || (e[0] = Ie((i) => n("download", a.file), ["stop"])),
14630
14633
  size: 20,
14631
14634
  title: "下载"
14632
14635
  })) : D("v-if", !0),
14633
- a.canViewFile ? (T(), W(C(le), {
14636
+ a.canViewFile ? (T(), W(C(ue), {
14634
14637
  key: 1,
14635
14638
  name: "iksvg_yulan",
14636
14639
  onClick: e[1] || (e[1] = (i) => n("preview", a.file)),
14637
14640
  size: 20,
14638
14641
  title: "预览"
14639
14642
  })) : D("v-if", !0),
14640
- B(C(le), {
14641
- onClick: e[2] || (e[2] = Pe((i) => n("delete", a.file), ["stop"])),
14643
+ B(C(ue), {
14644
+ onClick: e[2] || (e[2] = Ie((i) => n("delete", a.file), ["stop"])),
14642
14645
  error: "",
14643
14646
  name: "iksvg_shanchu",
14644
14647
  size: 20,
@@ -14647,9 +14650,9 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
14647
14650
  ],
14648
14651
  64
14649
14652
  /* STABLE_FRAGMENT */
14650
- )) : (T(), W(C(le), {
14653
+ )) : (T(), W(C(ue), {
14651
14654
  key: 1,
14652
- onClick: e[3] || (e[3] = Pe((i) => n("delete", a.file), ["stop"])),
14655
+ onClick: e[3] || (e[3] = Ie((i) => n("delete", a.file), ["stop"])),
14653
14656
  error: "",
14654
14657
  name: "iksvg_guanbi",
14655
14658
  size: 20,
@@ -14671,11 +14674,11 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
14671
14674
  /* CLASS */
14672
14675
  ));
14673
14676
  }
14674
- }), Ug = /* @__PURE__ */ Be(Hg, [["__scopeId", "data-v-e7dafe45"]]), zg = { class: "file-list" }, jg = ["src"], Vg = { class: "fileName simple" }, qg = {
14677
+ }), Ug = /* @__PURE__ */ Ne(Hg, [["__scopeId", "data-v-e7dafe45"]]), zg = { class: "file-list" }, jg = ["src"], Vg = { class: "fileName simple" }, qg = {
14675
14678
  key: 0,
14676
14679
  class: "size",
14677
14680
  style: { "padding-right": "20px", "white-space": "nowrap" }
14678
- }, Gg = /* @__PURE__ */ fe({
14681
+ }, Gg = /* @__PURE__ */ he({
14679
14682
  __name: "FileItemSimpleIcon",
14680
14683
  props: {
14681
14684
  file: { type: Object, required: !0 },
@@ -14705,7 +14708,7 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
14705
14708
  style: me({ height: `${a.iconSize === 40 ? 20 : a.iconSize}px`, marginRight: "10px" }),
14706
14709
  class: "ikui-w-auto"
14707
14710
  }, null, 8, ["type", "style"])) : !i.$slots.fileIcon && a.customIconData[e(a.file)] && a.customIconData[e(a.file)][a.customIconFields.icon] ? (T(), P(
14708
- ue,
14711
+ ce,
14709
14712
  { key: 1 },
14710
14713
  [
14711
14714
  D(" 自定义图标 "),
@@ -14748,14 +14751,14 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
14748
14751
  S(
14749
14752
  "p",
14750
14753
  Vg,
14751
- ce(a.file[a.mixDefaultField.name] || a.file.name),
14754
+ fe(a.file[a.mixDefaultField.name] || a.file.name),
14752
14755
  1
14753
14756
  /* TEXT */
14754
14757
  ),
14755
14758
  a.showFileSize ? (T(), P(
14756
14759
  "p",
14757
14760
  qg,
14758
- " (" + ce(C(Mt)(a.file[a.mixDefaultField.size] || a.file.size)) + ") ",
14761
+ " (" + fe(C(Mt)(a.file[a.mixDefaultField.size] || a.file.size)) + ") ",
14759
14762
  1
14760
14763
  /* TEXT */
14761
14764
  )) : D("v-if", !0)
@@ -14778,25 +14781,25 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
14778
14781
  },
14779
14782
  [
14780
14783
  a.file.status === "success" ? (T(), P(
14781
- ue,
14784
+ ce,
14782
14785
  { key: 0 },
14783
14786
  [
14784
- a.isShowDownload ? (T(), W(C(le), {
14787
+ a.isShowDownload ? (T(), W(C(ue), {
14785
14788
  key: 0,
14786
14789
  name: "iksvg_daochu",
14787
- onClick: r[0] || (r[0] = Pe((o) => t("download", a.file), ["stop"])),
14790
+ onClick: r[0] || (r[0] = Ie((o) => t("download", a.file), ["stop"])),
14788
14791
  size: 20,
14789
14792
  title: "下载"
14790
14793
  })) : D("v-if", !0),
14791
- a.canViewFile ? (T(), W(C(le), {
14794
+ a.canViewFile ? (T(), W(C(ue), {
14792
14795
  key: 1,
14793
14796
  name: "iksvg_yulan",
14794
14797
  onClick: r[1] || (r[1] = (o) => t("preview", a.file)),
14795
14798
  size: 20,
14796
14799
  title: "预览"
14797
14800
  })) : D("v-if", !0),
14798
- B(C(le), {
14799
- onClick: r[2] || (r[2] = Pe((o) => t("delete", a.file), ["stop"])),
14801
+ B(C(ue), {
14802
+ onClick: r[2] || (r[2] = Ie((o) => t("delete", a.file), ["stop"])),
14800
14803
  error: "",
14801
14804
  name: "iksvg_shanchu",
14802
14805
  size: 20,
@@ -14805,9 +14808,9 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
14805
14808
  ],
14806
14809
  64
14807
14810
  /* STABLE_FRAGMENT */
14808
- )) : (T(), W(C(le), {
14811
+ )) : (T(), W(C(ue), {
14809
14812
  key: 1,
14810
- onClick: r[3] || (r[3] = Pe((o) => t("delete", a.file), ["stop"])),
14813
+ onClick: r[3] || (r[3] = Ie((o) => t("delete", a.file), ["stop"])),
14811
14814
  error: "",
14812
14815
  name: "iksvg_guanbi",
14813
14816
  size: 20,
@@ -14822,10 +14825,10 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
14822
14825
  /* CLASS */
14823
14826
  ));
14824
14827
  }
14825
- }), $g = /* @__PURE__ */ Be(Gg, [["__scopeId", "data-v-33fd0946"]]), Wg = { class: "file-card" }, Kg = ["src"], Yg = { class: "file-icon" }, Xg = { class: "text" }, Zg = { class: "fileName" }, Jg = { key: 0 }, Qg = {
14828
+ }), $g = /* @__PURE__ */ Ne(Gg, [["__scopeId", "data-v-33fd0946"]]), Wg = { class: "file-card" }, Kg = ["src"], Yg = { class: "file-icon" }, Xg = { class: "text" }, Zg = { class: "fileName" }, Jg = { key: 0 }, Qg = {
14826
14829
  key: 0,
14827
14830
  class: "size"
14828
- }, ev = /* @__PURE__ */ fe({
14831
+ }, ev = /* @__PURE__ */ he({
14829
14832
  __name: "FileItemDefault",
14830
14833
  props: {
14831
14834
  file: { type: Object, required: !0 },
@@ -14854,7 +14857,7 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
14854
14857
  style: me({ height: `${a.iconSize}px` }),
14855
14858
  class: "ikui-w-auto"
14856
14859
  }, null, 8, ["type", "style"])) : !i.$slots.fileIcon && a.customIconData[e(a.file)] && a.customIconData[e(a.file)][a.customIconFields.icon] ? (T(), P(
14857
- ue,
14860
+ ce,
14858
14861
  { key: 1 },
14859
14862
  [
14860
14863
  D(" 自定义图标 "),
@@ -14888,14 +14891,14 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
14888
14891
  S("div", Xg, [
14889
14892
  S("div", Zg, [
14890
14893
  Tt(
14891
- ce(a.file[a.mixDefaultField.name] || a.file.name) + " ",
14894
+ fe(a.file[a.mixDefaultField.name] || a.file.name) + " ",
14892
14895
  1
14893
14896
  /* TEXT */
14894
14897
  ),
14895
14898
  a.file.percentage && a.file.status === "uploading" ? (T(), P(
14896
14899
  "span",
14897
14900
  Jg,
14898
- "(" + ce(a.file.percentage) + "%)",
14901
+ "(" + fe(a.file.percentage) + "%)",
14899
14902
  1
14900
14903
  /* TEXT */
14901
14904
  )) : D("v-if", !0)
@@ -14903,7 +14906,7 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
14903
14906
  a.file.status === "success" ? (T(), P(
14904
14907
  "div",
14905
14908
  Qg,
14906
- ce(C(Mt)(a.file[a.mixDefaultField.size] || a.file.size)),
14909
+ fe(C(Mt)(a.file[a.mixDefaultField.size] || a.file.size)),
14907
14910
  1
14908
14911
  /* TEXT */
14909
14912
  )) : D("v-if", !0),
@@ -14923,10 +14926,10 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
14923
14926
  },
14924
14927
  [
14925
14928
  a.file.status === "success" ? (T(), P(
14926
- ue,
14929
+ ce,
14927
14930
  { key: 0 },
14928
14931
  [
14929
- a.canViewFile ? (T(), W(C(le), {
14932
+ a.canViewFile ? (T(), W(C(ue), {
14930
14933
  key: 0,
14931
14934
  onClick: r[0] || (r[0] = (o) => t("preview", a.file)),
14932
14935
  name: "iksvg_yulan",
@@ -14934,16 +14937,16 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
14934
14937
  "show-bg": "",
14935
14938
  size: a.showBg ? "default" : 20
14936
14939
  }, null, 8, ["size"])) : D("v-if", !0),
14937
- a.isShowDownload ? (T(), W(C(le), {
14940
+ a.isShowDownload ? (T(), W(C(ue), {
14938
14941
  key: 1,
14939
14942
  name: "iksvg_daochu",
14940
- onClick: r[1] || (r[1] = Pe((o) => t("download", a.file), ["stop"])),
14943
+ onClick: r[1] || (r[1] = Ie((o) => t("download", a.file), ["stop"])),
14941
14944
  "show-bg": "",
14942
14945
  size: a.showBg ? "default" : 20,
14943
14946
  title: "下载"
14944
14947
  }, null, 8, ["size"])) : D("v-if", !0),
14945
- B(C(le), {
14946
- onClick: r[2] || (r[2] = Pe((o) => t("delete", a.file), ["stop"])),
14948
+ B(C(ue), {
14949
+ onClick: r[2] || (r[2] = Ie((o) => t("delete", a.file), ["stop"])),
14947
14950
  error: "",
14948
14951
  name: "iksvg_shanchu",
14949
14952
  title: "删除",
@@ -14953,9 +14956,9 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
14953
14956
  ],
14954
14957
  64
14955
14958
  /* STABLE_FRAGMENT */
14956
- )) : (T(), W(C(le), {
14959
+ )) : (T(), W(C(ue), {
14957
14960
  key: 1,
14958
- onClick: r[3] || (r[3] = Pe((o) => t("delete", a.file), ["stop"])),
14961
+ onClick: r[3] || (r[3] = Ie((o) => t("delete", a.file), ["stop"])),
14959
14962
  error: "",
14960
14963
  name: "iksvg_guanbi",
14961
14964
  size: a.showBg ? "default" : 20,
@@ -14971,13 +14974,13 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
14971
14974
  /* CLASS */
14972
14975
  ));
14973
14976
  }
14974
- }), tv = /* @__PURE__ */ Be(ev, [["__scopeId", "data-v-554c0676"]]), iv = { class: "ik-flie-list" }, nv = { class: "name" }, rv = ["src"], av = { class: "file-icon" }, sv = { class: "file-name-loading" }, ov = { class: "file-name" }, lv = { key: 0 }, uv = {
14977
+ }), tv = /* @__PURE__ */ Ne(ev, [["__scopeId", "data-v-554c0676"]]), iv = { class: "ik-flie-list" }, nv = { class: "name" }, rv = ["src"], av = { class: "file-icon" }, sv = { class: "file-name-loading" }, ov = { class: "file-name" }, lv = { key: 0 }, uv = {
14975
14978
  key: 0,
14976
14979
  class: "file-size"
14977
14980
  }, cv = {
14978
14981
  key: 0,
14979
14982
  class: "operate-btn"
14980
- }, fv = /* @__PURE__ */ fe({
14983
+ }, fv = /* @__PURE__ */ he({
14981
14984
  __name: "FileItemCard",
14982
14985
  props: {
14983
14986
  file: { type: Object, required: !0 },
@@ -14997,7 +15000,7 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
14997
15000
  key: 0,
14998
15001
  type: e(a.file)
14999
15002
  }, null, 8, ["type"])) : !i.$slots.fileIcon && a.customIconData[e(a.file)] && a.customIconData[e(a.file)][a.customIconFields.icon] ? (T(), P(
15000
- ue,
15003
+ ce,
15001
15004
  { key: 1 },
15002
15005
  [
15003
15006
  D(" 自定义图标 "),
@@ -15029,14 +15032,14 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
15029
15032
  S("div", sv, [
15030
15033
  S("p", ov, [
15031
15034
  Tt(
15032
- ce(a.file[a.mixDefaultField.name] || a.file.name) + " ",
15035
+ fe(a.file[a.mixDefaultField.name] || a.file.name) + " ",
15033
15036
  1
15034
15037
  /* TEXT */
15035
15038
  ),
15036
15039
  a.file.percentage && a.file.status === "uploading" ? (T(), P(
15037
15040
  "span",
15038
15041
  lv,
15039
- "(" + ce(a.file.percentage) + "%)",
15042
+ "(" + fe(a.file.percentage) + "%)",
15040
15043
  1
15041
15044
  /* TEXT */
15042
15045
  )) : D("v-if", !0)
@@ -15044,7 +15047,7 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
15044
15047
  a.file.status === "success" ? (T(), P(
15045
15048
  "p",
15046
15049
  uv,
15047
- ce(C(Mt)(a.file[a.mixDefaultField.size] || a.file.size)),
15050
+ fe(C(Mt)(a.file[a.mixDefaultField.size] || a.file.size)),
15048
15051
  1
15049
15052
  /* TEXT */
15050
15053
  )) : D("v-if", !0),
@@ -15058,7 +15061,7 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
15058
15061
  ])
15059
15062
  ]),
15060
15063
  a.preview ? (T(), P(
15061
- ue,
15064
+ ce,
15062
15065
  { key: 1 },
15063
15066
  [
15064
15067
  (a.preview || a.file.percentage === 100) && a.canViewFile ? (T(), W(C(Te), {
@@ -15091,10 +15094,10 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
15091
15094
  /* STABLE_FRAGMENT */
15092
15095
  )) : (T(), P("div", cv, [
15093
15096
  a.file.status === "success" ? (T(), P(
15094
- ue,
15097
+ ce,
15095
15098
  { key: 0 },
15096
15099
  [
15097
- a.canViewFile ? (T(), W(C(le), {
15100
+ a.canViewFile ? (T(), W(C(ue), {
15098
15101
  key: 0,
15099
15102
  onClick: r[0] || (r[0] = (o) => t("preview", a.file)),
15100
15103
  name: "iksvg_yulan",
@@ -15102,7 +15105,7 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
15102
15105
  "show-bg": "",
15103
15106
  size: "default"
15104
15107
  })) : D("v-if", !0),
15105
- B(C(le), {
15108
+ B(C(ue), {
15106
15109
  onClick: r[1] || (r[1] = (o) => t("delete", a.file)),
15107
15110
  error: "",
15108
15111
  name: "iksvg_shanchu",
@@ -15113,7 +15116,7 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
15113
15116
  ],
15114
15117
  64
15115
15118
  /* STABLE_FRAGMENT */
15116
- )) : (T(), W(C(le), {
15119
+ )) : (T(), W(C(ue), {
15117
15120
  key: 1,
15118
15121
  onClick: r[2] || (r[2] = (o) => t("delete", a.file)),
15119
15122
  error: "",
@@ -15125,7 +15128,7 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
15125
15128
  ]))
15126
15129
  ]));
15127
15130
  }
15128
- }), hv = /* @__PURE__ */ Be(fv, [["__scopeId", "data-v-a502237d"]]), dv = /* @__PURE__ */ fe({
15131
+ }), hv = /* @__PURE__ */ Ne(fv, [["__scopeId", "data-v-a502237d"]]), dv = /* @__PURE__ */ he({
15129
15132
  __name: "UploadTriggerButton",
15130
15133
  props: {
15131
15134
  showIcon: { type: Boolean, default: !0 },
@@ -15139,7 +15142,7 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
15139
15142
  return (s, n) => (T(), W(C(Uu), { disabled: a.disabled }, Jr({
15140
15143
  default: q(() => [
15141
15144
  Tt(
15142
- " " + ce(a.title),
15145
+ " " + fe(a.title),
15143
15146
  1
15144
15147
  /* TEXT */
15145
15148
  )
@@ -15150,7 +15153,7 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
15150
15153
  a.showIcon ? {
15151
15154
  name: "icon",
15152
15155
  fn: q(() => [
15153
- B(C(le), {
15156
+ B(C(ue), {
15154
15157
  name: "iksvg_daoru",
15155
15158
  disabled: a.disabled
15156
15159
  }, null, 8, ["disabled"])
@@ -15162,7 +15165,7 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
15162
15165
  }), gv = "data:image/webp;base64,UklGRnoEAABXRUJQVlA4WAoAAAAwAAAALwAALwAASUNDUMgBAAAAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9YWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADZBTFBImAAAAA2AYm3bsuhFm7u72wZoTrbGIcoKaKyAROJQbQmW2IVb/WkW3ZmPd3ymRMQEwJfV56QRo5pHErkUkFdQWRJpeGW6SoL9EvaWxAdbAeiVd5gyAK5NAdOtv4uNfsT21TUukBVjgFubBOQS+Ip7G/k2LpatkF2hAuBI5siAdsL2j3DHQrJ7NKDbUIyOj3bhqADBsgNPUqUlgncLVlA4IOwBAABwDQCdASowADAAPm0yk0ckIyGhJzgMkIANiWwArDM9tzexcZ3vwYZdKHIB749Ap5gP1E/YD34/QB6AH+A9F//S+w1z2/sz/5DzdDABM7ldHg1iMkeWX8LH9T1VzicAWGJgnNq4e/5P/NObJOBUhFC8dPnhmAD+9wGzP9Zfeg5ENi90xn4awZvrlCLnfwvZX//s4u6n2Pa2TF/r8wh0GtdNNJIBMRbrMaCBwyl6z86DqQgvpixbIdOVbwZFf/7KjC+uzJ5nNRyJ1Rpab8pIf2m1+SBOfX9w7EFXUErK8NSCsePMPazMXKH5y9Wl+nfiSrmsv079Fk6NkDF3Dxr+C+Rp4UdG/f3kP8PZfd/FyRupWURiDOrAjLamuF4OPo2BylwD7ulmdgDn4BEMXuvpYCACy4yCVjgsOzqToG2rSfJOtxy6Hh1/B2gu7X1MdJpHsdHdUrlRzTLKyV3wZG5a64SKKB2/QGk8IRZT0veUdDeo579/WyTU3ujQZeKNBS9ANlv1muyN9Kf5bm1f3UoPm/KnDkqf/1f2jf6aQJ7IYNod25fVfhRX+l1u9qBzs/bVezF7ZgC2LOuuJl1Tvwgeujpg9Uc/m0A9X878DzEkgxP/sPGviOfCElM1J/Kr3TTCwCkfW+K3oZuMB7HAAAA=", vv = { class: "ik-upload-trigger-card" }, pv = { class: "card" }, mv = { class: "title" }, yv = ["src"], bv = {
15163
15166
  key: 0,
15164
15167
  class: "tip-slot"
15165
- }, Cv = /* @__PURE__ */ fe({
15168
+ }, Cv = /* @__PURE__ */ he({
15166
15169
  __name: "UploadTriggerCard",
15167
15170
  props: {
15168
15171
  showIcon: { type: Boolean, default: !0 },
@@ -15183,14 +15186,14 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
15183
15186
  src: C(gv),
15184
15187
  class: "w-[48px] h-[48px]"
15185
15188
  }, null, 8, yv)
15186
- ], !0) : a.showIcon ? (T(), W(C(le), {
15189
+ ], !0) : a.showIcon ? (T(), W(C(ue), {
15187
15190
  key: 1,
15188
15191
  name: "iksvg_img_shangchuanhetongfujianbeifen",
15189
15192
  size: 40
15190
15193
  })) : D("v-if", !0),
15191
15194
  S("span", null, [
15192
15195
  Tt(
15193
- ce(a.title) + " ",
15196
+ fe(a.title) + " ",
15194
15197
  1
15195
15198
  /* TEXT */
15196
15199
  ),
@@ -15217,7 +15220,7 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
15217
15220
  }, 8, ["content"])) : D("v-if", !0)
15218
15221
  ])
15219
15222
  ]),
15220
- B(C(le), {
15223
+ B(C(ue), {
15221
15224
  name: "iksvg_daoru",
15222
15225
  size: 24,
15223
15226
  width: 40,
@@ -15229,14 +15232,14 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
15229
15232
  ])) : D("v-if", !0)
15230
15233
  ]));
15231
15234
  }
15232
- }), kv = /* @__PURE__ */ Be(Cv, [["__scopeId", "data-v-d30615d2"]]), _v = /* @__PURE__ */ fe({
15235
+ }), kv = /* @__PURE__ */ Ne(Cv, [["__scopeId", "data-v-d30615d2"]]), _v = /* @__PURE__ */ he({
15233
15236
  __name: "index",
15234
15237
  props: /* @__PURE__ */ lt({
15235
15238
  showIcon: { type: Boolean, default: !0 },
15236
15239
  title: { type: String, default: "上传文件" },
15237
15240
  action: { type: String, default: "" },
15238
15241
  type: { type: String, default: "button" },
15239
- headers: { type: Object, default: () => ({}) },
15242
+ headers: { type: Object, default: () => null },
15240
15243
  loadUrl: { type: String, default: "" },
15241
15244
  limit: { type: Number, default: 1 },
15242
15245
  size: { type: Number, default: 150 },
@@ -15280,14 +15283,15 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
15280
15283
  cOnlyofficeConfig: u,
15281
15284
  getFileUrl: c,
15282
15285
  getFileName: f,
15283
- canView: d
15286
+ canView: d,
15287
+ cHeaders: v
15284
15288
  } = Sg({ props: n }), {
15285
- fileData: v,
15286
- officeVisible: g,
15287
- handlePreview: m,
15288
- handleDownload: p,
15289
- handleDelete: w,
15290
- removeFileFromList: y
15289
+ fileData: g,
15290
+ officeVisible: m,
15291
+ handlePreview: p,
15292
+ handleDownload: w,
15293
+ handleDelete: y,
15294
+ removeFileFromList: k
15291
15295
  } = Eg({
15292
15296
  props: n,
15293
15297
  emit: t,
@@ -15298,95 +15302,95 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
15298
15302
  getFileUrl: c,
15299
15303
  getFileName: f
15300
15304
  }), {
15301
- errorList: k,
15302
- isDisabled: E,
15303
- beforeUpload: x,
15304
- handleChange: I,
15305
- beforeRemove: M,
15306
- handleExceed: K,
15307
- handleSuccess: z,
15308
- handleError: N,
15309
- handleProgress: F,
15310
- handleRetryUpload: ee,
15311
- handleRemoveError: se
15305
+ errorList: E,
15306
+ isDisabled: x,
15307
+ beforeUpload: I,
15308
+ handleChange: F,
15309
+ beforeRemove: K,
15310
+ handleExceed: z,
15311
+ handleSuccess: M,
15312
+ handleError: O,
15313
+ handleProgress: ie,
15314
+ handleRetryUpload: oe,
15315
+ handleRemoveError: ye
15312
15316
  } = xg({
15313
15317
  props: n,
15314
15318
  emit: t,
15315
15319
  modelValue: e,
15316
15320
  refUpload: i,
15317
- removeFileFromList: y
15318
- }), ye = re(() => n.simple ? "simple" : n.showType), Ue = (ae) => {
15319
- m(ae);
15320
- }, ze = (ae) => {
15321
- p(ae);
15322
- }, Re = (ae) => {
15323
- w(ae);
15324
- }, Le = (ae) => d(ae);
15325
- return (ae, ve) => {
15326
- var j;
15321
+ removeFileFromList: k
15322
+ }), it = se(() => n.simple ? "simple" : n.showType), He = (ee) => {
15323
+ p(ee);
15324
+ }, De = (ee) => {
15325
+ w(ee);
15326
+ }, Re = (ee) => {
15327
+ y(ee);
15328
+ }, Ue = (ee) => d(ee);
15329
+ return (ee, N) => {
15330
+ var Y;
15327
15331
  return T(), P(
15328
- ue,
15332
+ ce,
15329
15333
  null,
15330
15334
  [
15331
15335
  a.preview ? D("v-if", !0) : (T(), P(
15332
- ue,
15336
+ ce,
15333
15337
  { key: 0 },
15334
15338
  [
15335
15339
  D(" button 类型上传 "),
15336
15340
  a.type === "button" ? (T(), W(C(Pa), jr({
15337
15341
  key: 0,
15338
15342
  class: "ik-file-upload"
15339
- }, ae.$attrs, {
15343
+ }, ee.$attrs, {
15340
15344
  accept: a.accept,
15341
15345
  action: C(l),
15342
15346
  "file-list": e.value,
15343
- "onUpdate:fileList": ve[0] || (ve[0] = (O) => e.value = O),
15347
+ "onUpdate:fileList": N[0] || (N[0] = (j) => e.value = j),
15344
15348
  ref_key: "refUpload",
15345
15349
  ref: i,
15346
15350
  "auto-upload": !0,
15347
- "before-upload": C(x),
15348
- "before-remove": C(M),
15349
- "on-exceed": C(K),
15350
- "on-change": C(I),
15351
+ "before-upload": C(I),
15352
+ "before-remove": C(K),
15353
+ "on-exceed": C(z),
15354
+ "on-change": C(F),
15351
15355
  multiple: a.multiple,
15352
- headers: a.headers,
15356
+ headers: a.headers || C(v),
15353
15357
  limit: a.limit,
15354
- "on-progress": C(F),
15355
- "on-success": C(z),
15356
- "on-error": C(N)
15358
+ "on-progress": C(ie),
15359
+ "on-success": C(M),
15360
+ "on-error": C(O)
15357
15361
  }), {
15358
15362
  trigger: q(() => [
15359
- de(ae.$slots, "trigger", {}, () => [
15363
+ de(ee.$slots, "trigger", {}, () => [
15360
15364
  B(dv, {
15361
15365
  "show-icon": a.showIcon,
15362
15366
  title: a.title,
15363
15367
  tip: a.tip,
15364
15368
  "tip-text": a.tipText,
15365
- disabled: C(E),
15369
+ disabled: C(x),
15366
15370
  preview: a.preview
15367
15371
  }, null, 8, ["show-icon", "title", "tip", "tip-text", "disabled", "preview"])
15368
15372
  ], !0)
15369
15373
  ]),
15370
- file: q(({ file: O }) => [
15374
+ file: q(({ file: j }) => [
15371
15375
  D(" simple 模式 "),
15372
- ye.value === "simple" ? (T(), W(Ug, {
15376
+ it.value === "simple" ? (T(), W(Ug, {
15373
15377
  key: 0,
15374
- file: O,
15378
+ file: j,
15375
15379
  "mix-default-field": C(r),
15376
15380
  "show-bg": a.showBg,
15377
15381
  "show-file-size": a.showFileSize,
15378
15382
  "is-show-download": a.isShowDownLoad,
15379
- "can-view-file": Le(O),
15380
- onPreview: Ue,
15381
- onDownload: ze,
15383
+ "can-view-file": Ue(j),
15384
+ onPreview: He,
15385
+ onDownload: De,
15382
15386
  onDelete: Re
15383
- }, null, 8, ["file", "mix-default-field", "show-bg", "show-file-size", "is-show-download", "can-view-file"])) : ye.value === "simple-icon" ? (T(), P(
15384
- ue,
15387
+ }, null, 8, ["file", "mix-default-field", "show-bg", "show-file-size", "is-show-download", "can-view-file"])) : it.value === "simple-icon" ? (T(), P(
15388
+ ce,
15385
15389
  { key: 1 },
15386
15390
  [
15387
15391
  D(" simple-icon 模式 "),
15388
15392
  B($g, {
15389
- file: O,
15393
+ file: j,
15390
15394
  "mix-default-field": C(r),
15391
15395
  "custom-icon-data": a.customIconData,
15392
15396
  "custom-icon-fields": a.customIconFields,
@@ -15394,13 +15398,13 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
15394
15398
  "show-bg": a.showBg,
15395
15399
  "show-file-size": a.showFileSize,
15396
15400
  "is-show-download": a.isShowDownLoad,
15397
- "can-view-file": Le(O),
15398
- onPreview: Ue,
15399
- onDownload: ze,
15401
+ "can-view-file": Ue(j),
15402
+ onPreview: He,
15403
+ onDownload: De,
15400
15404
  onDelete: Re
15401
15405
  }, {
15402
- fileIcon: q((Y) => [
15403
- de(ae.$slots, "fileIcon", Ti(Si(Y)), void 0, !0)
15406
+ fileIcon: q((ae) => [
15407
+ de(ee.$slots, "fileIcon", Ti(Si(ae)), void 0, !0)
15404
15408
  ]),
15405
15409
  _: 3
15406
15410
  /* FORWARDED */
@@ -15409,25 +15413,25 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
15409
15413
  2112
15410
15414
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
15411
15415
  )) : (T(), P(
15412
- ue,
15416
+ ce,
15413
15417
  { key: 2 },
15414
15418
  [
15415
15419
  D(" default 模式 "),
15416
15420
  B(tv, {
15417
- file: O,
15421
+ file: j,
15418
15422
  "mix-default-field": C(r),
15419
15423
  "custom-icon-data": a.customIconData,
15420
15424
  "custom-icon-fields": a.customIconFields,
15421
15425
  "icon-size": a.iconSize,
15422
15426
  "show-bg": a.showBg,
15423
15427
  "is-show-download": a.isShowDownLoad,
15424
- "can-view-file": Le(O),
15425
- onPreview: Ue,
15426
- onDownload: ze,
15428
+ "can-view-file": Ue(j),
15429
+ onPreview: He,
15430
+ onDownload: De,
15427
15431
  onDelete: Re
15428
15432
  }, {
15429
- fileIcon: q((Y) => [
15430
- de(ae.$slots, "fileIcon", Ti(Si(Y)), void 0, !0)
15433
+ fileIcon: q((ae) => [
15434
+ de(ee.$slots, "fileIcon", Ti(Si(ae)), void 0, !0)
15431
15435
  ]),
15432
15436
  _: 3
15433
15437
  /* FORWARDED */
@@ -15438,7 +15442,7 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
15438
15442
  ))
15439
15443
  ]),
15440
15444
  default: q(() => {
15441
- var O;
15445
+ var j;
15442
15446
  return [
15443
15447
  !a.preview && a.tip ? (T(), W(C(kl), {
15444
15448
  key: 0,
@@ -15461,16 +15465,16 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
15461
15465
  _: 1
15462
15466
  /* STABLE */
15463
15467
  }, 8, ["content"])) : D("v-if", !0),
15464
- (O = C(k)) != null && O.length ? (T(!0), P(
15465
- ue,
15468
+ (j = C(E)) != null && j.length ? (T(!0), P(
15469
+ ce,
15466
15470
  { key: 1 },
15467
- Vr(C(k), (Y, he) => (T(), W(ml, {
15468
- key: Y.uid,
15469
- file: Y,
15470
- index: he,
15471
+ Vr(C(E), (ae, ve) => (T(), W(ml, {
15472
+ key: ae.uid,
15473
+ file: ae,
15474
+ index: ve,
15471
15475
  "field-name": C(r).name,
15472
- onRetry: C(ee),
15473
- onRemove: C(se)
15476
+ onRetry: C(oe),
15477
+ onRemove: C(ye)
15474
15478
  }, null, 8, ["file", "index", "field-name", "onRetry", "onRemove"]))),
15475
15479
  128
15476
15480
  /* KEYED_FRAGMENT */
@@ -15480,30 +15484,30 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
15480
15484
  _: 3
15481
15485
  /* FORWARDED */
15482
15486
  }, 16, ["accept", "action", "file-list", "before-upload", "before-remove", "on-exceed", "on-change", "multiple", "headers", "limit", "on-progress", "on-success", "on-error"])) : (T(), P(
15483
- ue,
15487
+ ce,
15484
15488
  { key: 1 },
15485
15489
  [
15486
15490
  D(" card 类型上传 "),
15487
15491
  B(C(Pa), jr({
15488
15492
  "file-list": e.value,
15489
- "onUpdate:fileList": ve[1] || (ve[1] = (O) => e.value = O),
15493
+ "onUpdate:fileList": N[1] || (N[1] = (j) => e.value = j),
15490
15494
  class: ["ik-file-pload-card", { plain: a.plain }],
15491
15495
  "auto-upload": !0
15492
- }, ae.$attrs, {
15496
+ }, ee.$attrs, {
15493
15497
  accept: a.accept,
15494
15498
  action: C(l),
15495
- disabled: C(E),
15499
+ disabled: C(x),
15496
15500
  ref_key: "refUpload",
15497
15501
  ref: i,
15498
- "before-upload": C(x),
15499
- "before-remove": C(M),
15500
- "on-exceed": C(K),
15502
+ "before-upload": C(I),
15503
+ "before-remove": C(K),
15504
+ "on-exceed": C(z),
15501
15505
  multiple: a.multiple,
15502
- headers: a.headers,
15506
+ headers: a.headers || C(v),
15503
15507
  limit: a.limit,
15504
- "on-success": C(z),
15505
- "on-error": C(N),
15506
- "on-change": C(I)
15508
+ "on-success": C(M),
15509
+ "on-error": C(O),
15510
+ "on-change": C(F)
15507
15511
  }), {
15508
15512
  trigger: q(() => [
15509
15513
  B(kv, {
@@ -15513,60 +15517,60 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
15513
15517
  "tip-text": a.tipText,
15514
15518
  "image-mode": a.imageMode,
15515
15519
  plain: a.plain,
15516
- disabled: C(E),
15520
+ disabled: C(x),
15517
15521
  preview: a.preview
15518
15522
  }, Jr({
15519
15523
  _: 2
15520
15524
  /* DYNAMIC */
15521
15525
  }, [
15522
- ae.$slots.image ? {
15526
+ ee.$slots.image ? {
15523
15527
  name: "image",
15524
15528
  fn: q(() => [
15525
- de(ae.$slots, "image", {}, void 0, !0)
15529
+ de(ee.$slots, "image", {}, void 0, !0)
15526
15530
  ]),
15527
15531
  key: "0"
15528
15532
  } : void 0,
15529
- ae.$slots.tip ? {
15533
+ ee.$slots.tip ? {
15530
15534
  name: "tip",
15531
15535
  fn: q(() => [
15532
- de(ae.$slots, "tip", {}, void 0, !0)
15536
+ de(ee.$slots, "tip", {}, void 0, !0)
15533
15537
  ]),
15534
15538
  key: "1"
15535
15539
  } : void 0
15536
15540
  ]), 1032, ["show-icon", "title", "tip", "tip-text", "image-mode", "plain", "disabled", "preview"])
15537
15541
  ]),
15538
- file: q(({ file: O }) => [
15542
+ file: q(({ file: j }) => [
15539
15543
  B(hv, {
15540
- file: O,
15544
+ file: j,
15541
15545
  "mix-default-field": C(r),
15542
15546
  "custom-icon-data": a.customIconData,
15543
15547
  "custom-icon-fields": a.customIconFields,
15544
15548
  preview: a.preview,
15545
- "can-view-file": Le(O),
15546
- onPreview: Ue,
15547
- onDownload: ze,
15549
+ "can-view-file": Ue(j),
15550
+ onPreview: He,
15551
+ onDownload: De,
15548
15552
  onDelete: Re
15549
15553
  }, {
15550
- fileIcon: q((Y) => [
15551
- de(ae.$slots, "fileIcon", Ti(Si(Y)), void 0, !0)
15554
+ fileIcon: q((ae) => [
15555
+ de(ee.$slots, "fileIcon", Ti(Si(ae)), void 0, !0)
15552
15556
  ]),
15553
15557
  _: 3
15554
15558
  /* FORWARDED */
15555
15559
  }, 8, ["file", "mix-default-field", "custom-icon-data", "custom-icon-fields", "preview", "can-view-file"])
15556
15560
  ]),
15557
15561
  default: q(() => {
15558
- var O;
15562
+ var j;
15559
15563
  return [
15560
- (O = C(k)) != null && O.length ? (T(!0), P(
15561
- ue,
15564
+ (j = C(E)) != null && j.length ? (T(!0), P(
15565
+ ce,
15562
15566
  { key: 0 },
15563
- Vr(C(k), (Y, he) => (T(), W(ml, {
15564
- key: Y.uid,
15565
- file: Y,
15566
- index: he,
15567
+ Vr(C(E), (ae, ve) => (T(), W(ml, {
15568
+ key: ae.uid,
15569
+ file: ae,
15570
+ index: ve,
15567
15571
  "field-name": C(r).name,
15568
- onRetry: C(ee),
15569
- onRemove: C(se),
15572
+ onRetry: C(oe),
15573
+ onRemove: C(ye),
15570
15574
  class: "mt-0! mb-12px! mx-20px!"
15571
15575
  }, null, 8, ["file", "index", "field-name", "onRetry", "onRemove"]))),
15572
15576
  128
@@ -15587,11 +15591,11 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
15587
15591
  )),
15588
15592
  D(" OnlyOffice 预览对话框 "),
15589
15593
  B(C(_c), {
15590
- show: C(g),
15591
- "onUpdate:show": ve[2] || (ve[2] = (O) => Nu(g) ? g.value = O : null),
15594
+ show: C(m),
15595
+ "onUpdate:show": N[2] || (N[2] = (j) => Nu(m) ? m.value = j : null),
15592
15596
  loadUrl: C(o),
15593
- file: C(v),
15594
- onlyofficeServer: ((j = C(u)) == null ? void 0 : j.serverUrl) || a.onlyofficeServer,
15597
+ file: C(g),
15598
+ onlyofficeServer: ((Y = C(u)) == null ? void 0 : Y.serverUrl) || a.onlyofficeServer,
15595
15599
  onlyOfficeConfig: C(u) || a.onlyOfficeConfig
15596
15600
  }, null, 8, ["show", "loadUrl", "file", "onlyofficeServer", "onlyOfficeConfig"])
15597
15601
  ],
@@ -15600,7 +15604,7 @@ const Ig = { class: "ik-error-flie-list" }, Pg = { class: "name" }, Dg = { class
15600
15604
  );
15601
15605
  };
15602
15606
  }
15603
- }), wv = /* @__PURE__ */ Be(_v, [["__scopeId", "data-v-474f80bb"]]), Rv = tt(wv);
15607
+ }), wv = /* @__PURE__ */ Ne(_v, [["__scopeId", "data-v-c08ae92f"]]), Rv = et(wv);
15604
15608
  export {
15605
15609
  Rv as IkUploadFile,
15606
15610
  Rv as default