iking-web-ui-pro 0.2.21 → 0.2.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/dist/IKExpandCollapse/ik.index.es.js +79 -73
  2. package/dist/IKExpandCollapse/ik.index.umd.js +1 -1
  3. package/dist/IKExpandCollapse/style.css +1 -1
  4. package/dist/IKPreviewFile/ik.index.es.js +302 -296
  5. package/dist/IKPreviewFile/ik.index.umd.js +16 -16
  6. package/dist/IKPreviewFile/style.css +1 -1
  7. package/dist/IKVerticalStepBar/ik.index.es.js +130 -124
  8. package/dist/IKVerticalStepBar/ik.index.umd.js +3 -3
  9. package/dist/IKVerticalStepBar/style.css +1 -1
  10. package/dist/IkApprovalProcessDetail/ik.index.es.js +306 -300
  11. package/dist/IkApprovalProcessDetail/ik.index.umd.js +1 -1
  12. package/dist/IkApprovalProcessDetail/style.css +1 -1
  13. package/dist/IkBaseDialog/ik.index.es.js +117 -111
  14. package/dist/IkBaseDialog/ik.index.umd.js +1 -1
  15. package/dist/IkBaseDialog/style.css +1 -1
  16. package/dist/IkBtnSetting/ik.index.es.js +242 -236
  17. package/dist/IkBtnSetting/ik.index.umd.js +1 -1
  18. package/dist/IkBtnSetting/style.css +1 -1
  19. package/dist/IkCollapseCard/ik.index.es.js +83 -77
  20. package/dist/IkCollapseCard/ik.index.umd.js +1 -1
  21. package/dist/IkCollapseCard/style.css +1 -1
  22. package/dist/IkDescription/ik.index.es.js +434 -428
  23. package/dist/IkDescription/ik.index.umd.js +1 -1
  24. package/dist/IkDescription/style.css +1 -1
  25. package/dist/IkDetailPreviewFiles/ik.index.es.js +308 -302
  26. package/dist/IkDetailPreviewFiles/ik.index.umd.js +1 -1
  27. package/dist/IkDetailPreviewFiles/style.css +1 -1
  28. package/dist/IkIconPicker/ik.index.es.js +140 -134
  29. package/dist/IkIconPicker/ik.index.umd.js +1 -1
  30. package/dist/IkIconPicker/style.css +1 -1
  31. package/dist/IkMonacoEditor/ik.index.es.js +383 -377
  32. package/dist/IkMonacoEditor/ik.index.umd.js +3 -3
  33. package/dist/IkMonacoEditor/style.css +1 -1
  34. package/dist/IkPageFull/ik.index.es.js +1135 -1129
  35. package/dist/IkPageFull/ik.index.umd.js +2 -2
  36. package/dist/IkPageFull/style.css +1 -1
  37. package/dist/IkPreviewFileDialog/ik.index.es.js +588 -582
  38. package/dist/IkPreviewFileDialog/ik.index.umd.js +1 -1
  39. package/dist/IkPreviewFileDialog/style.css +1 -1
  40. package/dist/IkSchedule/ik.index.es.js +2960 -2954
  41. package/dist/IkSchedule/ik.index.umd.js +1 -1
  42. package/dist/IkSchedule/style.css +1 -1
  43. package/dist/IkSideText/ik.index.es.js +111 -105
  44. package/dist/IkSideText/ik.index.umd.js +1 -1
  45. package/dist/IkSideText/style.css +1 -1
  46. package/dist/IkSvgIcon/ik.index.es.js +74 -68
  47. package/dist/IkSvgIcon/ik.index.umd.js +1 -1
  48. package/dist/IkSvgIcon/style.css +1 -1
  49. package/dist/IkUploadFile/ik.index.es.js +720 -714
  50. package/dist/IkUploadFile/ik.index.umd.js +1 -1
  51. package/dist/IkUploadFile/style.css +1 -1
  52. package/dist/IkUploadImage/ik.index.es.js +223 -217
  53. package/dist/IkUploadImage/ik.index.umd.js +1 -1
  54. package/dist/IkUploadImage/style.css +1 -1
  55. package/dist/index.es.js +5502 -5496
  56. package/dist/index.umd.js +78 -78
  57. package/dist/src/components/IkSvgIcon/index.d.ts +6 -2
  58. package/dist/src/components/IkSvgIcon/src/index.vue.d.ts +6 -2
  59. package/dist/style.css +1 -1
  60. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { defineComponent as ue, computed as ee, openBlock as T, createElementBlock as E, createElementVNode as S, inject as Qe, ref as qe, resolveComponent as Ee, Fragment as le, renderList as Re, normalizeStyle as re, toDisplayString as $, normalizeClass as Q, createVNode as J, unref as j, withModifiers as hi, renderSlot as Fe, createBlock as ke, withCtx as pe, createCommentVNode as A, mergeModels as ct, useModel as Yt, reactive as Wi, watch as Xt, nextTick as ft, createTextVNode as Me, h as Tn, mergeProps as $i, createSlots as En, Teleport as Sn, Transition as xn, onMounted as In, pushScopeId as Pn, popScopeId as An } from "vue";
1
+ import { defineComponent as ue, computed as ee, openBlock as T, createElementBlock as E, createElementVNode as S, inject as Qe, ref as qe, resolveComponent as Ee, Fragment as le, renderList as Re, normalizeStyle as re, toDisplayString as $, normalizeClass as Q, createVNode as J, unref as j, withModifiers as it, renderSlot as Fe, createBlock as ke, withCtx as pe, createCommentVNode as A, mergeModels as ft, useModel as Xt, reactive as Wi, watch as qt, nextTick as ht, createTextVNode as Me, h as Tn, mergeProps as $i, createSlots as En, Teleport as Sn, Transition as xn, onMounted as In, pushScopeId as Pn, popScopeId as An } from "vue";
2
2
  import { paramType as Ln, ikFile as Dn, buildUUID as Gi, ikColor as On, ikDate as Rn } from "iking-utils-pro";
3
3
  import { useNamespace as Fn } from "element-plus";
4
4
  const Ie = (a, o) => {
@@ -9,7 +9,7 @@ const Ie = (a, o) => {
9
9
  for (const [r, t] of Object.entries(o))
10
10
  a[r] = t;
11
11
  return a;
12
- }, zt = (a, o) => {
12
+ }, Vt = (a, o) => {
13
13
  var i, n, s, l;
14
14
  const r = (i = a == null ? void 0 : a.response) != null && i.data ? di((s = (n = a == null ? void 0 : a.response) == null ? void 0 : n.data) == null ? void 0 : s.suffix) : ((l = a.raw) == null ? void 0 : l.type) || di(a[o.suffix]), t = r == null ? void 0 : r.toLowerCase(), e = {
15
15
  sheet: "excel",
@@ -619,7 +619,7 @@ const Ie = (a, o) => {
619
619
  }
620
620
  },
621
621
  setup(a) {
622
- const o = a, r = ee(() => o.file ? zt(o.file, o.fields) : o.type);
622
+ const o = a, r = ee(() => o.file ? Vt(o.file, o.fields) : o.type);
623
623
  return (t, e) => r.value === "image" ? (T(), E("svg", Bn, jn)) : r.value === "zip" ? (T(), E("svg", Wn, Kn)) : r.value === "ppt" ? (T(), E("svg", Yn, Jn)) : r.value === "word" ? (T(), E("svg", Zn, tr)) : r.value === "pdf" ? (T(), E("svg", ir, sr)) : r.value === "txt" ? (T(), E("svg", or, ur)) : r.value === "audio" ? (T(), E("svg", cr, dr)) : r.value === "video" ? (T(), E("svg", gr, mr)) : r.value === "excel" ? (T(), E("svg", yr, br)) : r.value === "exe" ? (T(), E("svg", wr, Ir)) : r.value === "json" ? (T(), E("svg", Pr, Or)) : (T(), E("svg", Rr, Br));
624
624
  }
625
625
  }), Ur = Ie(Hr);
@@ -639,7 +639,7 @@ var zr = /* @__PURE__ */ ue({
639
639
  ]));
640
640
  }
641
641
  }), Vr = zr;
642
- const nt = (a, o) => {
642
+ const rt = (a, o) => {
643
643
  const r = a.__vccOpts || a;
644
644
  for (const [t, e] of o)
645
645
  r[t] = e;
@@ -754,7 +754,7 @@ const nt = (a, o) => {
754
754
  t = "ikapprove-ziyuan";
755
755
  }
756
756
  return `ikapprove ${t}`;
757
- }, qt = (a) => {
757
+ }, Jt = (a) => {
758
758
  const o = Qe("loadUrl"), r = ee(() => a.loadUrl || a.fileUrl || (o == null ? void 0 : o.value)), t = Qe("uploadUrl"), e = ee(() => a.action || a.uploadUrl || (t == null ? void 0 : t.value)), i = Qe("token"), n = ee(() => a.token || (i == null ? void 0 : i.value)), s = Qe("onlyofficeConfig"), l = ee(() => a.onlyofficeConfig || (s == null ? void 0 : s.value)), u = Qe("userInfo"), c = ee(() => a.userInfo || (u == null ? void 0 : u.value));
759
759
  return {
760
760
  cLoadUrl: r,
@@ -846,7 +846,7 @@ const nt = (a, o) => {
846
846
  }
847
847
  },
848
848
  setup(a) {
849
- const o = a, { cLoadUrl: r, cOnlyofficeConfig: t } = qt(o), e = ee(() => ({
849
+ const o = a, { cLoadUrl: r, cOnlyofficeConfig: t } = Jt(o), e = ee(() => ({
850
850
  name: "name",
851
851
  url: "url",
852
852
  suffix: "suffix",
@@ -910,7 +910,7 @@ const nt = (a, o) => {
910
910
  [
911
911
  J(j(Ne), {
912
912
  name: "iksvg_daochu",
913
- onClick: hi((C) => l(k), ["stop"]),
913
+ onClick: it((C) => l(k), ["stop"]),
914
914
  size: 20,
915
915
  active: ""
916
916
  }, null, 8, ["onClick"]),
@@ -981,7 +981,7 @@ const nt = (a, o) => {
981
981
  [
982
982
  J(j(Ne), {
983
983
  name: "iksvg_daochu",
984
- onClick: hi((B) => l(k), ["stop"]),
984
+ onClick: it((B) => l(k), ["stop"]),
985
985
  bg: a.showBg,
986
986
  size: a.showBg ? "default" : 20,
987
987
  title: "下载"
@@ -1034,7 +1034,7 @@ const nt = (a, o) => {
1034
1034
  });
1035
1035
  const Qr = Ie(Zr), es = /* @__PURE__ */ ue({
1036
1036
  __name: "IkPreviewFileDialog",
1037
- props: /* @__PURE__ */ ct({
1037
+ props: /* @__PURE__ */ ft({
1038
1038
  file: {
1039
1039
  type: Object,
1040
1040
  default: () => []
@@ -1069,7 +1069,7 @@ const Qr = Ie(Zr), es = /* @__PURE__ */ ue({
1069
1069
  }),
1070
1070
  emits: ["update:show"],
1071
1071
  setup(a) {
1072
- const o = a, r = Yt(a, "show"), t = ee(() => ({
1072
+ const o = a, r = Xt(a, "show"), t = ee(() => ({
1073
1073
  name: "name",
1074
1074
  url: "url",
1075
1075
  suffix: "suffix",
@@ -1087,10 +1087,10 @@ const Qr = Ie(Zr), es = /* @__PURE__ */ ue({
1087
1087
  ...u,
1088
1088
  name: u[t.value.name],
1089
1089
  url: Je(o.loadUrl, b)
1090
- }, u && zt(u, t.value) === "image") {
1090
+ }, u && Vt(u, t.value) === "image") {
1091
1091
  n.image = !0;
1092
1092
  return;
1093
- } else if (u && zt(u, t.value) === "video") {
1093
+ } else if (u && Vt(u, t.value) === "video") {
1094
1094
  n.video = !0;
1095
1095
  return;
1096
1096
  } else if ((((g = o.onlyOfficeConfig) == null ? void 0 : g.accept) || o.onlyOfficeAccept).includes(C)) {
@@ -1120,8 +1120,8 @@ const Qr = Ie(Zr), es = /* @__PURE__ */ ue({
1120
1120
  console.info("预览错误: ", k);
1121
1121
  }
1122
1122
  };
1123
- Xt([r, o.file], ([u, c]) => {
1124
- u && ft(() => {
1123
+ qt([r, o.file], ([u, c]) => {
1124
+ u && ht(() => {
1125
1125
  s(o.file);
1126
1126
  });
1127
1127
  });
@@ -1220,85 +1220,89 @@ const ts = Ie(es), is = {
1220
1220
  warning: { type: Boolean },
1221
1221
  width: {}
1222
1222
  },
1223
- setup(a) {
1224
- const o = a, r = ee(() => o), t = ee(() => {
1225
- const { name: i } = r.value;
1226
- return /^http?:\/\//.test(i) ? "img" : /i-[^:]+:[^:]+/.test(i) ? "unocss" : i != null && i.startsWith("iksig") ? "iksig" : i != null && i.includes(":") ? "iconify" : i != null && i.startsWith("iksvg") ? "svg" : "i";
1227
- }), e = ee(() => {
1228
- const i = [];
1229
- if (r.value.flip)
1230
- switch (r.value.flip) {
1223
+ emits: ["click"],
1224
+ setup(a, { emit: o }) {
1225
+ const r = a, t = ee(() => r), e = ee(() => {
1226
+ const { name: l } = t.value;
1227
+ return /^http?:\/\//.test(l) ? "img" : /i-[^:]+:[^:]+/.test(l) ? "unocss" : l != null && l.startsWith("iksig") ? "iksig" : l != null && l.includes(":") ? "iconify" : l != null && l.startsWith("iksvg") ? "svg" : "i";
1228
+ }), i = ee(() => {
1229
+ const l = [];
1230
+ if (t.value.flip)
1231
+ switch (t.value.flip) {
1231
1232
  case "horizontal":
1232
- i.push("rotateY(180deg)");
1233
+ l.push("rotateY(180deg)");
1233
1234
  break;
1234
1235
  case "vertical":
1235
- i.push("rotateX(180deg)");
1236
+ l.push("rotateX(180deg)");
1236
1237
  break;
1237
1238
  case "both":
1238
- i.push("rotateX(180deg)"), i.push("rotateY(180deg)");
1239
+ l.push("rotateX(180deg)"), l.push("rotateY(180deg)");
1239
1240
  break;
1240
1241
  }
1241
- r.value.rotate && i.push(`rotate(${r.value.rotate % 360}deg)`);
1242
- const n = {
1243
- ...r.value.color && { color: r.value.color },
1244
- ...r.value.size && { fontSize: typeof r.value.size == "number" ? `${r.value.size}px` : r.value.size },
1245
- ...i.length && { transform: i.join(" ") },
1246
- padding: r.value.showBg || r.value.bg ? r.value.padding : 0,
1247
- ...r.value.color && t.value !== "iksig" ? {
1248
- "--ik-color-icon-dark": r.value.color,
1249
- "--ik-color-icon-light": r.value.colorLight || On.setOpacity(r.value.color, r.value.opacity)
1242
+ t.value.rotate && l.push(`rotate(${t.value.rotate % 360}deg)`);
1243
+ const u = {
1244
+ ...t.value.color && { color: t.value.color },
1245
+ ...t.value.size && { fontSize: typeof t.value.size == "number" ? `${t.value.size}px` : t.value.size },
1246
+ ...l.length && { transform: l.join(" ") },
1247
+ padding: t.value.showBg || t.value.bg ? t.value.padding : 0,
1248
+ ...t.value.color && e.value !== "iksig" ? {
1249
+ "--ik-color-icon-dark": t.value.color,
1250
+ "--ik-color-icon-light": t.value.colorLight || On.setOpacity(t.value.color, t.value.opacity)
1250
1251
  } : {}
1251
1252
  };
1252
- return r.value.width && (n.width = n.height = typeof r.value.width == "number" ? `${r.value.width}px` : r.value.width), n;
1253
- });
1254
- return (i, n) => {
1255
- const s = Ee("el-tooltip"), l = Ee("el-button");
1256
- return r.value.tableIconType === "icon" || !r.value.tableIconType ? (T(), E("span", is, [
1257
- r.value.notip || !r.value.title ? (T(), E(
1253
+ return t.value.width && (u.width = u.height = typeof t.value.width == "number" ? `${t.value.width}px` : t.value.width), u;
1254
+ }), n = o, s = (l) => {
1255
+ t.value.disabled || n("click", l);
1256
+ };
1257
+ return (l, u) => {
1258
+ const c = Ee("el-tooltip"), f = Ee("el-button");
1259
+ return t.value.tableIconType === "icon" || !t.value.tableIconType ? (T(), E("span", is, [
1260
+ t.value.notip || !t.value.title ? (T(), E(
1258
1261
  "i",
1259
1262
  {
1260
1263
  key: 0,
1264
+ onClick: it(s, ["stop"]),
1261
1265
  class: Q(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
1262
- [i.name]: t.value === "unocss",
1263
- "show-bg": r.value.showBg || r.value.bg,
1264
- default: r.value.size === "default",
1265
- small: r.value.size === "small",
1266
- big: r.value.size === "big",
1267
- warning: r.value.warning || r.value.type === "warning",
1268
- primary: r.value.primary || r.value.type === "primary",
1269
- success: i.success || r.value.type === "success",
1270
- error: r.value.error || r.value.type === "error",
1271
- active: r.value.active,
1272
- disabled: r.value.disabled
1266
+ [l.name]: e.value === "unocss",
1267
+ "show-bg": t.value.showBg || t.value.bg,
1268
+ default: t.value.size === "default",
1269
+ small: t.value.size === "small",
1270
+ big: t.value.size === "big",
1271
+ warning: t.value.warning || t.value.type === "warning",
1272
+ primary: t.value.primary || t.value.type === "primary",
1273
+ success: l.success || t.value.type === "success",
1274
+ error: t.value.error || t.value.type === "error",
1275
+ active: t.value.active,
1276
+ disabled: t.value.disabled
1273
1277
  }]),
1274
- style: re(e.value)
1278
+ style: re(i.value)
1275
1279
  },
1276
1280
  [
1277
1281
  A(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
1278
- t.value === "iksig" ? (T(), E(
1282
+ e.value === "iksig" ? (T(), E(
1279
1283
  "i",
1280
1284
  {
1281
1285
  key: 0,
1282
- class: Q(`iksig ${r.value.name}`),
1283
- style: re(e.value)
1286
+ class: Q(`iksig ${t.value.name}`),
1287
+ style: re(i.value)
1284
1288
  },
1285
1289
  null,
1286
1290
  6
1287
1291
  /* CLASS, STYLE */
1288
- )) : t.value === "svg" ? (T(), E("svg", ns, [
1292
+ )) : e.value === "svg" ? (T(), E("svg", ns, [
1289
1293
  S("use", {
1290
- "xlink:href": `#${r.value.name}`
1294
+ "xlink:href": `#${t.value.name}`
1291
1295
  }, null, 8, rs)
1292
- ])) : t.value === "img" ? (T(), E("img", {
1296
+ ])) : e.value === "img" ? (T(), E("img", {
1293
1297
  key: 2,
1294
- src: r.value.name,
1298
+ src: t.value.name,
1295
1299
  class: "h-[1em] w-[1em]"
1296
1300
  }, null, 8, ss)) : (T(), E(
1297
1301
  "i",
1298
1302
  {
1299
1303
  key: 3,
1300
- class: Q(r.value.name),
1301
- style: re(e.value)
1304
+ class: Q(t.value.name),
1305
+ style: re(i.value)
1302
1306
  },
1303
1307
  null,
1304
1308
  6
@@ -1307,9 +1311,9 @@ const ts = Ie(es), is = {
1307
1311
  ],
1308
1312
  6
1309
1313
  /* CLASS, STYLE */
1310
- )) : (T(), ke(s, {
1314
+ )) : (T(), ke(c, {
1311
1315
  key: 1,
1312
- content: r.value.title,
1316
+ content: t.value.title,
1313
1317
  placement: "top"
1314
1318
  }, {
1315
1319
  default: pe(() => [
@@ -1317,44 +1321,45 @@ const ts = Ie(es), is = {
1317
1321
  "i",
1318
1322
  {
1319
1323
  class: Q(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
1320
- [i.name]: t.value === "unocss",
1321
- "show-bg": r.value.showBg || r.value.bg,
1322
- default: r.value.size === "default",
1323
- small: r.value.size === "small",
1324
- big: r.value.size === "big",
1325
- warning: r.value.warning || r.value.type === "warning",
1326
- primary: i.primary || r.value.type === "primary",
1327
- success: i.success || r.value.type === "success",
1328
- error: r.value.error || r.value.type === "error",
1329
- active: r.value.active
1324
+ [l.name]: e.value === "unocss",
1325
+ "show-bg": t.value.showBg || t.value.bg,
1326
+ default: t.value.size === "default",
1327
+ small: t.value.size === "small",
1328
+ big: t.value.size === "big",
1329
+ warning: t.value.warning || t.value.type === "warning",
1330
+ primary: l.primary || t.value.type === "primary",
1331
+ success: l.success || t.value.type === "success",
1332
+ error: t.value.error || t.value.type === "error",
1333
+ active: t.value.active
1330
1334
  }]),
1331
- style: re(e.value)
1335
+ onClick: it(s, ["stop"]),
1336
+ style: re(i.value)
1332
1337
  },
1333
1338
  [
1334
- t.value === "iksig" ? (T(), E(
1339
+ e.value === "iksig" ? (T(), E(
1335
1340
  "i",
1336
1341
  {
1337
1342
  key: 0,
1338
- class: Q(`iksig ${r.value.name}`),
1339
- style: re(e.value)
1343
+ class: Q(`iksig ${t.value.name}`),
1344
+ style: re(i.value)
1340
1345
  },
1341
1346
  null,
1342
1347
  6
1343
1348
  /* CLASS, STYLE */
1344
- )) : t.value === "svg" ? (T(), E("svg", os, [
1349
+ )) : e.value === "svg" ? (T(), E("svg", os, [
1345
1350
  S("use", {
1346
- "xlink:href": `#${r.value.name}`
1351
+ "xlink:href": `#${t.value.name}`
1347
1352
  }, null, 8, as)
1348
- ])) : t.value === "img" ? (T(), E("img", {
1353
+ ])) : e.value === "img" ? (T(), E("img", {
1349
1354
  key: 2,
1350
- src: r.value.name,
1355
+ src: t.value.name,
1351
1356
  class: "h-[1em] w-[1em]"
1352
1357
  }, null, 8, ls)) : (T(), E(
1353
1358
  "i",
1354
1359
  {
1355
1360
  key: 3,
1356
- class: Q(r.value.name),
1357
- style: re(e.value)
1361
+ class: Q(t.value.name),
1362
+ style: re(i.value)
1358
1363
  },
1359
1364
  null,
1360
1365
  6
@@ -1368,13 +1373,14 @@ const ts = Ie(es), is = {
1368
1373
  _: 1
1369
1374
  /* STABLE */
1370
1375
  }, 8, ["content"]))
1371
- ])) : (T(), ke(l, {
1376
+ ])) : (T(), ke(f, {
1372
1377
  key: 1,
1373
- type: ["warning", "error"].includes(r.value.type) ? "danger" : ""
1378
+ type: ["warning", "error"].includes(t.value.type) ? "danger" : "",
1379
+ onClick: it(s, ["stop"])
1374
1380
  }, {
1375
1381
  default: pe(() => [
1376
1382
  Me(
1377
- $(r.value.title),
1383
+ $(t.value.title),
1378
1384
  1
1379
1385
  /* TEXT */
1380
1386
  )
@@ -1385,7 +1391,7 @@ const ts = Ie(es), is = {
1385
1391
  };
1386
1392
  }
1387
1393
  });
1388
- const cs = /* @__PURE__ */ nt(us, [["__scopeId", "data-v-a7ec508a"]]), Ne = Ie(cs), fs = {
1394
+ const cs = /* @__PURE__ */ rt(us, [["__scopeId", "data-v-4a1004b9"]]), Ne = Ie(cs), fs = {
1389
1395
  key: 0,
1390
1396
  class: "exit-main-page-maximize"
1391
1397
  }, hs = /* @__PURE__ */ ue({
@@ -1419,9 +1425,9 @@ const cs = /* @__PURE__ */ nt(us, [["__scopeId", "data-v-a7ec508a"]]), Ne = Ie(c
1419
1425
  ]));
1420
1426
  }
1421
1427
  });
1422
- const ds = /* @__PURE__ */ nt(hs, [["__scopeId", "data-v-79f49df8"]]), gs = { class: "base-header" }, ps = /* @__PURE__ */ ue({
1428
+ const ds = /* @__PURE__ */ rt(hs, [["__scopeId", "data-v-79f49df8"]]), gs = { class: "base-header" }, ps = /* @__PURE__ */ ue({
1423
1429
  __name: "IkBaseDialog",
1424
- props: /* @__PURE__ */ ct({
1430
+ props: /* @__PURE__ */ ft({
1425
1431
  title: { default: "" },
1426
1432
  cancelText: { default: "取消" },
1427
1433
  confirmText: { default: "确认" },
@@ -1440,7 +1446,7 @@ const ds = /* @__PURE__ */ nt(hs, [["__scopeId", "data-v-79f49df8"]]), gs = { cl
1440
1446
  }),
1441
1447
  emits: ["update:modelValue"],
1442
1448
  setup(a) {
1443
- const o = a, r = Yt(a, "modelValue"), t = qe(o.fullscreen), e = () => {
1449
+ const o = a, r = Xt(a, "modelValue"), t = qe(o.fullscreen), e = () => {
1444
1450
  t.value = !t.value;
1445
1451
  }, i = ue({
1446
1452
  setup() {
@@ -1507,7 +1513,7 @@ const ds = /* @__PURE__ */ nt(hs, [["__scopeId", "data-v-79f49df8"]]), gs = { cl
1507
1513
  });
1508
1514
  const vs = Ie(ps);
1509
1515
  var ms = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1510
- function Jt(a) {
1516
+ function Zt(a) {
1511
1517
  return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
1512
1518
  }
1513
1519
  function ys(a, o, r, t) {
@@ -1637,7 +1643,7 @@ var ks = function(a, o) {
1637
1643
  }, e.onerror = function(i) {
1638
1644
  e.removeAttribute("loading"), t(i);
1639
1645
  }, e.setAttribute("loading", ""), e;
1640
- }, Zt = ue({
1646
+ }, Qt = ue({
1641
1647
  name: "DocumentEditor",
1642
1648
  props: {
1643
1649
  id: {
@@ -1810,8 +1816,8 @@ const Cs = ["id"];
1810
1816
  function bs(a, o, r, t, e, i) {
1811
1817
  return T(), E("div", { id: a.id }, null, 8, Cs);
1812
1818
  }
1813
- Zt.render = bs;
1814
- Zt.__file = "src/components/DocumentEditor.vue";
1819
+ Qt.render = bs;
1820
+ Qt.__file = "src/components/DocumentEditor.vue";
1815
1821
  const ws = /* @__PURE__ */ ue({
1816
1822
  __name: "IkOnlyOffice",
1817
1823
  props: {
@@ -1847,7 +1853,7 @@ const ws = /* @__PURE__ */ ue({
1847
1853
  style: re({ height: o.officeHeight })
1848
1854
  },
1849
1855
  [
1850
- J(j(Zt), {
1856
+ J(j(Qt), {
1851
1857
  id: `${(/* @__PURE__ */ new Date()).getTime()}`,
1852
1858
  ref: "editorRef",
1853
1859
  "document-server-url": a.documentServerUrl,
@@ -1860,7 +1866,7 @@ const ws = /* @__PURE__ */ ue({
1860
1866
  ));
1861
1867
  }
1862
1868
  });
1863
- const Ts = /* @__PURE__ */ nt(ws, [["__scopeId", "data-v-98d51ef9"]]), Es = Ie(Ts);
1869
+ const Ts = /* @__PURE__ */ rt(ws, [["__scopeId", "data-v-98d51ef9"]]), Es = Ie(Ts);
1864
1870
  function pi(a, o) {
1865
1871
  var r = Object.keys(a);
1866
1872
  if (Object.getOwnPropertySymbols) {
@@ -1924,17 +1930,17 @@ function L(a, o) {
1924
1930
  }
1925
1931
  }), Object.defineProperty(a, "prototype", {
1926
1932
  writable: !1
1927
- }), o && Vt(a, o);
1933
+ }), o && jt(a, o);
1928
1934
  }
1929
1935
  function O(a) {
1930
1936
  return O = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(r) {
1931
1937
  return r.__proto__ || Object.getPrototypeOf(r);
1932
1938
  }, O(a);
1933
1939
  }
1934
- function Vt(a, o) {
1935
- return Vt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
1940
+ function jt(a, o) {
1941
+ return jt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
1936
1942
  return t.__proto__ = e, t;
1937
- }, Vt(a, o);
1943
+ }, jt(a, o);
1938
1944
  }
1939
1945
  function Ss() {
1940
1946
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
@@ -1953,7 +1959,7 @@ function m(a) {
1953
1959
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1954
1960
  return a;
1955
1961
  }
1956
- function Qt(a, o) {
1962
+ function ei(a, o) {
1957
1963
  if (o && (typeof o == "object" || typeof o == "function"))
1958
1964
  return o;
1959
1965
  if (o !== void 0)
@@ -1969,7 +1975,7 @@ function D(a) {
1969
1975
  e = Reflect.construct(t, arguments, i);
1970
1976
  } else
1971
1977
  e = t.apply(this, arguments);
1972
- return Qt(this, e);
1978
+ return ei(this, e);
1973
1979
  };
1974
1980
  }
1975
1981
  function xs(a, o) {
@@ -1991,7 +1997,7 @@ function fe(a) {
1991
1997
  }
1992
1998
  function Is(a) {
1993
1999
  if (Array.isArray(a))
1994
- return jt(a);
2000
+ return Wt(a);
1995
2001
  }
1996
2002
  function Ps(a) {
1997
2003
  if (typeof Symbol < "u" && a[Symbol.iterator] != null || a["@@iterator"] != null)
@@ -2000,15 +2006,15 @@ function Ps(a) {
2000
2006
  function As(a, o) {
2001
2007
  if (a) {
2002
2008
  if (typeof a == "string")
2003
- return jt(a, o);
2009
+ return Wt(a, o);
2004
2010
  var r = Object.prototype.toString.call(a).slice(8, -1);
2005
2011
  if (r === "Object" && a.constructor && (r = a.constructor.name), r === "Map" || r === "Set")
2006
2012
  return Array.from(a);
2007
2013
  if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))
2008
- return jt(a, o);
2014
+ return Wt(a, o);
2009
2015
  }
2010
2016
  }
2011
- function jt(a, o) {
2017
+ function Wt(a, o) {
2012
2018
  (o == null || o > a.length) && (o = a.length);
2013
2019
  for (var r = 0, t = new Array(o); r < o; r++)
2014
2020
  t[r] = a[r];
@@ -2146,31 +2152,31 @@ var Yi = { exports: {} };
2146
2152
  }, s.prototype.off = s.prototype.removeListener, s.prototype.addListener = s.prototype.on, s.prefixed = r, s.EventEmitter = s, a.exports = s;
2147
2153
  })(Yi);
2148
2154
  var Xi = Yi.exports;
2149
- const qi = /* @__PURE__ */ Jt(Xi);
2150
- var Os = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, xt = {
2155
+ const qi = /* @__PURE__ */ Zt(Xi);
2156
+ var Os = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, It = {
2151
2157
  info: "color: #525252; background-color: #90ee90;",
2152
2158
  error: "color: #525252; background-color: red;",
2153
2159
  warn: "color: #525252; background-color: yellow; "
2154
- }, It = "%c[xgplayer]", H = {
2160
+ }, Pt = "%c[xgplayer]", H = {
2155
2161
  config: {
2156
2162
  debug: Os ? 3 : 0
2157
2163
  },
2158
2164
  logInfo: function(o) {
2159
2165
  for (var r, t = arguments.length, e = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
2160
2166
  e[i - 1] = arguments[i];
2161
- this.config.debug >= 3 && (r = console).log.apply(r, [It, xt.info, o].concat(e));
2167
+ this.config.debug >= 3 && (r = console).log.apply(r, [Pt, It.info, o].concat(e));
2162
2168
  },
2163
2169
  logWarn: function(o) {
2164
2170
  for (var r, t = arguments.length, e = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
2165
2171
  e[i - 1] = arguments[i];
2166
- this.config.debug >= 1 && (r = console).warn.apply(r, [It, xt.warn, o].concat(e));
2172
+ this.config.debug >= 1 && (r = console).warn.apply(r, [Pt, It.warn, o].concat(e));
2167
2173
  },
2168
2174
  logError: function(o) {
2169
2175
  var r;
2170
2176
  if (!(this.config.debug < 1)) {
2171
2177
  for (var t = this.config.debug >= 2 ? "trace" : "error", e = arguments.length, i = new Array(e > 1 ? e - 1 : 0), n = 1; n < e; n++)
2172
2178
  i[n - 1] = arguments[n];
2173
- (r = console)[t].apply(r, [It, xt.error, o].concat(i));
2179
+ (r = console)[t].apply(r, [Pt, It.error, o].concat(i));
2174
2180
  }
2175
2181
  }
2176
2182
  };
@@ -2810,7 +2816,7 @@ var mi = {
2810
2816
  return Promise.resolve(r);
2811
2817
  }
2812
2818
  }
2813
- }, Wt = "3.0.18", yi = {
2819
+ }, $t = "3.0.18", yi = {
2814
2820
  1: "media",
2815
2821
  2: "media",
2816
2822
  3: "media",
@@ -2824,7 +2830,7 @@ var mi = {
2824
2830
  4: 5104,
2825
2831
  5: 5105,
2826
2832
  6: 5106
2827
- }, ht = /* @__PURE__ */ I(
2833
+ }, dt = /* @__PURE__ */ I(
2828
2834
  function a(o) {
2829
2835
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
2830
2836
  errorType: "",
@@ -2840,7 +2846,7 @@ var mi = {
2840
2846
  var e = r.mediaError ? r.mediaError : o.media.error || {}, i = o.duration, n = o.currentTime, s = o.ended, l = o.src, u = o.currentSrc, c = o.media, f = c.readyState, g = c.networkState, p = r.errorCode || e.code;
2841
2847
  _i[p] && (p = _i[p]);
2842
2848
  var d = {
2843
- playerVersion: Wt,
2849
+ playerVersion: $t,
2844
2850
  currentTime: n,
2845
2851
  duration: i,
2846
2852
  ended: s,
@@ -2859,14 +2865,14 @@ var mi = {
2859
2865
  }), d;
2860
2866
  } else if (arguments.length > 1) {
2861
2867
  for (var v = {
2862
- playerVersion: Wt,
2868
+ playerVersion: $t,
2863
2869
  domain: document.domain
2864
2870
  }, y = ["errorType", "currentTime", "duration", "networkState", "readyState", "src", "currentSrc", "ended", "errd", "errorCode", "mediaError"], k = 0; k < arguments.length; k++)
2865
2871
  v[y[k]] = arguments[k];
2866
2872
  return v.ex = t ? (t[arguments[0]] || {}).msg : "", v;
2867
2873
  }
2868
2874
  }
2869
- ), ae = "play", ei = "playing", He = "ended", Ze = "pause", rt = "error", bt = "seeking", _e = "seeked", oe = "timeupdate", st = "waiting", ye = "canplay", Vs = "canplaythrough", Pe = "durationchange", Zi = "volumechange", Ce = "loadeddata", js = "loadedmetadata", Qi = "ratechange", en = "progress", ti = "loadstart", Ue = "emptied", Ws = "stalled", $s = "suspend", Gs = "abort", Ks = "bufferedChange", ii = "focus", tn = "blur", ni = "ready", nn = "urlNull", Be = "autoplay_started", ri = "autoplay_was_prevented", wt = "complete", dt = "replay", si = "destroy", Tt = "urlchange", $t = "download_speed_change", rn = "leaveplayer", sn = "enterplayer", on = "loading", ve = "fullscreen_change", gt = "cssFullscreen_change", pt = "mini_state_change", oi = "definition_change", Ys = "before_definition_change", Gt = "after_definition_change", Xs = "SEI_PARSED", qs = "retry", Se = "video_resize", Kt = "pip_change", an = "rotate", ln = "screenShot", vt = "playnext", un = "shortcut", cn = "xglog", mt = "user_action", Et = "reset", fn = "source_error", hn = "source_success", Js = "switch_subtitle", dn = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], gn = {
2875
+ ), ae = "play", ti = "playing", He = "ended", Ze = "pause", st = "error", wt = "seeking", _e = "seeked", oe = "timeupdate", ot = "waiting", ye = "canplay", Vs = "canplaythrough", Pe = "durationchange", Zi = "volumechange", Ce = "loadeddata", js = "loadedmetadata", Qi = "ratechange", en = "progress", ii = "loadstart", Ue = "emptied", Ws = "stalled", $s = "suspend", Gs = "abort", Ks = "bufferedChange", ni = "focus", tn = "blur", ri = "ready", nn = "urlNull", Be = "autoplay_started", si = "autoplay_was_prevented", Tt = "complete", gt = "replay", oi = "destroy", Et = "urlchange", Gt = "download_speed_change", rn = "leaveplayer", sn = "enterplayer", on = "loading", ve = "fullscreen_change", pt = "cssFullscreen_change", vt = "mini_state_change", ai = "definition_change", Ys = "before_definition_change", Kt = "after_definition_change", Xs = "SEI_PARSED", qs = "retry", Se = "video_resize", Yt = "pip_change", an = "rotate", ln = "screenShot", mt = "playnext", un = "shortcut", cn = "xglog", yt = "user_action", St = "reset", fn = "source_error", hn = "source_success", Js = "switch_subtitle", dn = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], gn = {
2870
2876
  STATS_INFO: "stats_info",
2871
2877
  STATS_DOWNLOAD: "stats_download",
2872
2878
  STATS_RESET: "stats_reset"
@@ -2874,48 +2880,48 @@ var mi = {
2874
2880
  const Zs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2875
2881
  __proto__: null,
2876
2882
  ABORT: Gs,
2877
- AFTER_DEFINITION_CHANGE: Gt,
2878
- AUTOPLAY_PREVENTED: ri,
2883
+ AFTER_DEFINITION_CHANGE: Kt,
2884
+ AUTOPLAY_PREVENTED: si,
2879
2885
  AUTOPLAY_STARTED: Be,
2880
2886
  BEFORE_DEFINITION_CHANGE: Ys,
2881
2887
  BUFFER_CHANGE: Ks,
2882
2888
  CANPLAY: ye,
2883
2889
  CANPLAY_THROUGH: Vs,
2884
- COMPLETE: wt,
2885
- CSS_FULLSCREEN_CHANGE: gt,
2886
- DEFINITION_CHANGE: oi,
2887
- DESTROY: si,
2888
- DOWNLOAD_SPEED_CHANGE: $t,
2890
+ COMPLETE: Tt,
2891
+ CSS_FULLSCREEN_CHANGE: pt,
2892
+ DEFINITION_CHANGE: ai,
2893
+ DESTROY: oi,
2894
+ DOWNLOAD_SPEED_CHANGE: Gt,
2889
2895
  DURATION_CHANGE: Pe,
2890
2896
  EMPTIED: Ue,
2891
2897
  ENDED: He,
2892
2898
  ENTER_PLAYER: sn,
2893
- ERROR: rt,
2899
+ ERROR: st,
2894
2900
  FPS_STUCK: pn,
2895
2901
  FULLSCREEN_CHANGE: ve,
2896
2902
  LEAVE_PLAYER: rn,
2897
2903
  LOADED_DATA: Ce,
2898
2904
  LOADED_METADATA: js,
2899
2905
  LOADING: on,
2900
- LOAD_START: ti,
2901
- MINI_STATE_CHANGE: pt,
2906
+ LOAD_START: ii,
2907
+ MINI_STATE_CHANGE: vt,
2902
2908
  PAUSE: Ze,
2903
- PIP_CHANGE: Kt,
2909
+ PIP_CHANGE: Yt,
2904
2910
  PLAY: ae,
2905
2911
  PLAYER_BLUR: tn,
2906
- PLAYER_FOCUS: ii,
2907
- PLAYING: ei,
2908
- PLAYNEXT: vt,
2912
+ PLAYER_FOCUS: ni,
2913
+ PLAYING: ti,
2914
+ PLAYNEXT: mt,
2909
2915
  PROGRESS: en,
2910
2916
  RATE_CHANGE: Qi,
2911
- READY: ni,
2912
- REPLAY: dt,
2913
- RESET: Et,
2917
+ READY: ri,
2918
+ REPLAY: gt,
2919
+ RESET: St,
2914
2920
  RETRY: qs,
2915
2921
  ROTATE: an,
2916
2922
  SCREEN_SHOT: ln,
2917
2923
  SEEKED: _e,
2918
- SEEKING: bt,
2924
+ SEEKING: wt,
2919
2925
  SEI_PARSED: Xs,
2920
2926
  SHORTCUT: un,
2921
2927
  SOURCE_ERROR: fn,
@@ -2925,16 +2931,16 @@ const Zs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2925
2931
  SUSPEND: $s,
2926
2932
  SWITCH_SUBTITLE: Js,
2927
2933
  TIME_UPDATE: oe,
2928
- URL_CHANGE: Tt,
2934
+ URL_CHANGE: Et,
2929
2935
  URL_NULL: nn,
2930
- USER_ACTION: mt,
2936
+ USER_ACTION: yt,
2931
2937
  VIDEO_EVENTS: dn,
2932
2938
  VIDEO_RESIZE: Se,
2933
2939
  VOLUME_CHANGE: Zi,
2934
- WAITING: st,
2940
+ WAITING: ot,
2935
2941
  XGLOG: cn
2936
2942
  }, Symbol.toStringTag, { value: "Module" }));
2937
- function Pt(a, o) {
2943
+ function At(a, o) {
2938
2944
  !this || !this.emit || (a === "error" ? this.errorHandler(a, o.error) : this.emit(a, o));
2939
2945
  }
2940
2946
  function Qs(a, o) {
@@ -2962,14 +2968,14 @@ function Qs(a, o) {
2962
2968
  o._rate = o.media && o.media.playbackRate;
2963
2969
  }
2964
2970
  if (a === "durationchange" && (o._duration = o.media.duration), a === "volumechange" && (e.isMutedChange = o._lastMuted !== o.muted, o._lastMuted = o.muted), a === "error" && (e.error = t || o.video.error), o.mediaEventMiddleware[a]) {
2965
- var n = Pt.bind(o, a, e);
2971
+ var n = At.bind(o, a, e);
2966
2972
  try {
2967
2973
  o.mediaEventMiddleware[a].call(o, e, n);
2968
2974
  } catch (s) {
2969
- throw Pt.call(o, a, e), s;
2975
+ throw At.call(o, a, e), s;
2970
2976
  }
2971
2977
  } else
2972
- Pt.call(o, a, e);
2978
+ At.call(o, a, e);
2973
2979
  };
2974
2980
  }
2975
2981
  var eo = /* @__PURE__ */ function(a) {
@@ -3068,7 +3074,7 @@ var eo = /* @__PURE__ */ function(a) {
3068
3074
  l ? l.error(f, p) : n.errorHandler("error", p);
3069
3075
  }
3070
3076
  var d = yi[4];
3071
- n.emit(fn, new ht(n, {
3077
+ n.emit(fn, new dt(n, {
3072
3078
  errorType: d,
3073
3079
  errorCode: 4,
3074
3080
  errorMessage: "sources_load_error",
@@ -3105,7 +3111,7 @@ var eo = /* @__PURE__ */ function(a) {
3105
3111
  this.media.currentSrc || (l = "empty_src", n = {
3106
3112
  code: 6,
3107
3113
  message: l
3108
- }), this.emit(e, new ht(this, {
3114
+ }), this.emit(e, new dt(this, {
3109
3115
  errorType: s,
3110
3116
  errorCode: n.code,
3111
3117
  errorMessage: n.message || "",
@@ -3326,7 +3332,7 @@ var eo = /* @__PURE__ */ function(a) {
3326
3332
  },
3327
3333
  set: function(e) {
3328
3334
  if (this.media) {
3329
- if (this.emit(Tt, e), this.emit(st), this._currentTime = 0, this._duration = 0, h.isMSE(this.media)) {
3335
+ if (this.emit(Et, e), this.emit(ot), this._currentTime = 0, this._duration = 0, h.isMSE(this.media)) {
3330
3336
  this.onWaiting();
3331
3337
  return;
3332
3338
  }
@@ -3469,7 +3475,7 @@ var eo = /* @__PURE__ */ function(a) {
3469
3475
  }
3470
3476
  }]), a;
3471
3477
  }(), ki = ["fullscreenchange", "webkitfullscreenchange", "mozfullscreenchange", "MSFullscreenChange"], Ci = ["requestFullscreen", "webkitRequestFullscreen", "mozRequestFullScreen", "msRequestFullscreen"], bi = ["exitFullscreen", "webkitExitFullscreen", "mozCancelFullScreen", "msExitFullscreen"], Oe = "data-xgplayerid";
3472
- function ot(a, o, r) {
3478
+ function at(a, o, r) {
3473
3479
  for (var t = arguments.length, e = new Array(t > 3 ? t - 3 : 0), i = 3; i < t; i++)
3474
3480
  e[i - 3] = arguments[i];
3475
3481
  var n = o.call.apply(o, [a].concat(e));
@@ -3479,7 +3485,7 @@ function ot(a, o, r) {
3479
3485
  r.call.apply(r, [a].concat(l));
3480
3486
  }) : r.call.apply(r, [a].concat(e)));
3481
3487
  }
3482
- function yt(a, o) {
3488
+ function _t(a, o) {
3483
3489
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
3484
3490
  pre: null,
3485
3491
  next: null
@@ -3497,23 +3503,23 @@ function yt(a, o) {
3497
3503
  try {
3498
3504
  var n, s = (n = this.__hooks[a]).call.apply(n, [this, this].concat(Array.prototype.slice.call(arguments)));
3499
3505
  s ? s.then ? s.then(function(l) {
3500
- l !== !1 && ot.apply(void 0, [e, o, r.next].concat(fe(t)));
3506
+ l !== !1 && at.apply(void 0, [e, o, r.next].concat(fe(t)));
3501
3507
  }).catch(function(l) {
3502
3508
  throw l;
3503
- }) : ot.apply(void 0, [this, o, r.next].concat(Array.prototype.slice.call(arguments))) : s === void 0 && ot.apply(void 0, [this, o, r.next].concat(Array.prototype.slice.call(arguments)));
3509
+ }) : at.apply(void 0, [this, o, r.next].concat(Array.prototype.slice.call(arguments))) : s === void 0 && at.apply(void 0, [this, o, r.next].concat(Array.prototype.slice.call(arguments)));
3504
3510
  } catch (l) {
3505
3511
  throw l.message = "[pluginName: ".concat(this.pluginName, ":").concat(a, "] >> ").concat(l.message), l;
3506
3512
  }
3507
3513
  else
3508
- ot.apply(void 0, [this, o, r.next].concat(Array.prototype.slice.call(arguments)));
3514
+ at.apply(void 0, [this, o, r.next].concat(Array.prototype.slice.call(arguments)));
3509
3515
  }).bind(this);
3510
3516
  }
3511
- function _t(a, o) {
3517
+ function kt(a, o) {
3512
3518
  var r = this.__hooks;
3513
3519
  if (r)
3514
3520
  return r.hasOwnProperty(a) ? (r && (r[a] = o), !0) : (console.warn("has no supported hook which name [".concat(a, "]")), !1);
3515
3521
  }
3516
- function kt(a, o) {
3522
+ function Ct(a, o) {
3517
3523
  var r = this.__hooks;
3518
3524
  r && delete r[a];
3519
3525
  }
@@ -3566,7 +3572,7 @@ function me(a, o, r) {
3566
3572
  } else
3567
3573
  return r.call.apply(r, [a, a].concat(e));
3568
3574
  }
3569
- function At(a, o) {
3575
+ function Lt(a, o) {
3570
3576
  H.logError("[".concat(a, "] event or callback cant be undefined or null when call ").concat(o));
3571
3577
  }
3572
3578
  var xe = /* @__PURE__ */ function() {
@@ -3633,7 +3639,7 @@ var xe = /* @__PURE__ */ function() {
3633
3639
  value: function(r, t) {
3634
3640
  var e = this;
3635
3641
  if (!r || !t || !this.player) {
3636
- At(this.pluginName, "plugin.on(event, callback)");
3642
+ Lt(this.pluginName, "plugin.on(event, callback)");
3637
3643
  return;
3638
3644
  }
3639
3645
  typeof r == "string" ? (this.__events[r] = t, this.player.on(r, t)) : Array.isArray(r) && r.forEach(function(i) {
@@ -3645,7 +3651,7 @@ var xe = /* @__PURE__ */ function() {
3645
3651
  value: function(r, t) {
3646
3652
  var e = this;
3647
3653
  if (!r || !t || !this.player) {
3648
- At(this.pluginName, "plugin.once(event, callback)");
3654
+ Lt(this.pluginName, "plugin.once(event, callback)");
3649
3655
  return;
3650
3656
  }
3651
3657
  typeof r == "string" ? (this.__onceEvents[r] = t, this.player.once(r, t)) : Array.isArray(r) && r.forEach(function(i) {
@@ -3657,7 +3663,7 @@ var xe = /* @__PURE__ */ function() {
3657
3663
  value: function(r, t) {
3658
3664
  var e = this;
3659
3665
  if (!r || !t || !this.player) {
3660
- At(this.pluginName, "plugin.off(event, callback)");
3666
+ Lt(this.pluginName, "plugin.off(event, callback)");
3661
3667
  return;
3662
3668
  }
3663
3669
  typeof r == "string" ? (delete this.__events[r], this.player.off(r, t)) : Array.isArray(r) && r.forEach(function(i) {
@@ -3698,21 +3704,21 @@ var xe = /* @__PURE__ */ function() {
3698
3704
  }, {
3699
3705
  key: "hook",
3700
3706
  value: function(r, t) {
3701
- return yt.call.apply(yt, [this].concat(Array.prototype.slice.call(arguments)));
3707
+ return _t.call.apply(_t, [this].concat(Array.prototype.slice.call(arguments)));
3702
3708
  }
3703
3709
  }, {
3704
3710
  key: "useHooks",
3705
3711
  value: function(r, t) {
3706
3712
  for (var e = arguments.length, i = new Array(e > 2 ? e - 2 : 0), n = 2; n < e; n++)
3707
3713
  i[n - 2] = arguments[n];
3708
- return _t.call.apply(_t, [this].concat(Array.prototype.slice.call(arguments)));
3714
+ return kt.call.apply(kt, [this].concat(Array.prototype.slice.call(arguments)));
3709
3715
  }
3710
3716
  }, {
3711
3717
  key: "removeHooks",
3712
3718
  value: function(r, t) {
3713
3719
  for (var e = arguments.length, i = new Array(e > 2 ? e - 2 : 0), n = 2; n < e; n++)
3714
3720
  i[n - 2] = arguments[n];
3715
- return kt.call.apply(kt, [this].concat(Array.prototype.slice.call(arguments)));
3721
+ return Ct.call.apply(Ct, [this].concat(Array.prototype.slice.call(arguments)));
3716
3722
  }
3717
3723
  }, {
3718
3724
  key: "registerPlugin",
@@ -3767,7 +3773,7 @@ function no(a, o) {
3767
3773
  }
3768
3774
  }
3769
3775
  var ro = no, so = ro;
3770
- function Lt(a, o, r, t, e) {
3776
+ function Dt(a, o, r, t, e) {
3771
3777
  var i = ao.apply(this, arguments);
3772
3778
  return a.addEventListener(r, i, e), {
3773
3779
  destroy: function() {
@@ -3776,8 +3782,8 @@ function Lt(a, o, r, t, e) {
3776
3782
  };
3777
3783
  }
3778
3784
  function oo(a, o, r, t, e) {
3779
- return typeof a.addEventListener == "function" ? Lt.apply(null, arguments) : typeof r == "function" ? Lt.bind(null, document).apply(null, arguments) : (typeof a == "string" && (a = document.querySelectorAll(a)), Array.prototype.map.call(a, function(i) {
3780
- return Lt(i, o, r, t, e);
3785
+ return typeof a.addEventListener == "function" ? Dt.apply(null, arguments) : typeof r == "function" ? Dt.bind(null, document).apply(null, arguments) : (typeof a == "string" && (a = document.querySelectorAll(a)), Array.prototype.map.call(a, function(i) {
3786
+ return Dt(i, o, r, t, e);
3781
3787
  }));
3782
3788
  }
3783
3789
  function ao(a, o, r, t) {
@@ -3786,7 +3792,7 @@ function ao(a, o, r, t) {
3786
3792
  };
3787
3793
  }
3788
3794
  var lo = oo;
3789
- const Ei = /* @__PURE__ */ Jt(lo);
3795
+ const Ei = /* @__PURE__ */ Zt(lo);
3790
3796
  var uo = {
3791
3797
  CONTROLS: "controls",
3792
3798
  ROOT: "root"
@@ -3804,7 +3810,7 @@ var uo = {
3804
3810
  ICON_DISABLE: "xg-icon-disable",
3805
3811
  ICON_HIDE: "xg-icon-hide"
3806
3812
  };
3807
- function Dt(a) {
3813
+ function Ot(a) {
3808
3814
  return a ? a.indexOf && /^(?:http|data:|\/)/.test(a) : !1;
3809
3815
  }
3810
3816
  function co(a, o) {
@@ -3821,8 +3827,8 @@ function xi(a, o) {
3821
3827
  return h.addClass(a, r), Object.keys(t).map(function(n) {
3822
3828
  a.setAttribute(n, t[n]);
3823
3829
  }), a;
3824
- if (Dt(a) || Dt(a.url))
3825
- return t.src = Dt(a) ? a : a.url || "", i = h.createDom(a.tag || "img", "", t, "xg-img ".concat(r)), i;
3830
+ if (Ot(a) || Ot(a.url))
3831
+ return t.src = Ot(a) ? a : a.url || "", i = h.createDom(a.tag || "img", "", t, "xg-img ".concat(r)), i;
3826
3832
  if (typeof a == "function")
3827
3833
  try {
3828
3834
  return i = a(), i instanceof window.Element ? (h.addClass(i, r), Object.keys(t).map(function(n) {
@@ -4569,7 +4575,7 @@ var yo = function(o, r) {
4569
4575
  };
4570
4576
  Object.keys(u).map(function(f) {
4571
4577
  e.root.style[f] = u[f];
4572
- }), this.left = this.find("xg-left-grid"), this.center = this.find("xg-center-grid"), this.right = this.find("xg-right-grid"), this.innerRoot = this.find("xg-inner-controls"), this.on(pt, function(f) {
4578
+ }), this.left = this.find("xg-left-grid"), this.center = this.find("xg-center-grid"), this.right = this.find("xg-right-grid"), this.innerRoot = this.find("xg-inner-controls"), this.on(vt, function(f) {
4573
4579
  f ? h.addClass(e.root, "mini-controls") : h.removeClass(e.root, "mini-controls");
4574
4580
  });
4575
4581
  var c = this.playerConfig.isMobileSimulateMode;
@@ -4776,14 +4782,14 @@ var yo = function(o, r) {
4776
4782
  langKeys: [],
4777
4783
  textKeys: []
4778
4784
  };
4779
- function it(a, o) {
4785
+ function nt(a, o) {
4780
4786
  return Object.keys(o).forEach(function(r) {
4781
4787
  var t = h.typeOf(o[r]), e = h.typeOf(a[r]);
4782
4788
  if (t === "Array") {
4783
4789
  var i;
4784
4790
  e !== "Array" && (a[r] = []), (i = a[r]).push.apply(i, fe(o[r]));
4785
4791
  } else
4786
- t === "Object" ? (e !== "Object" && (a[r] = {}), it(a[r], o[r])) : a[r] = o[r];
4792
+ t === "Object" ? (e !== "Object" && (a[r] = {}), nt(a[r], o[r])) : a[r] = o[r];
4787
4793
  }), a;
4788
4794
  }
4789
4795
  function yn() {
@@ -4803,15 +4809,15 @@ function Co(a, o) {
4803
4809
  }) : r = a;
4804
4810
  var t = o, e = t.lang;
4805
4811
  r.map(function(i) {
4806
- i.LANG === "zh" && (i.LANG = "zh-cn"), e[i.LANG] ? it(e[i.LANG] || {}, i.TEXT || {}) : ai(i, o);
4812
+ i.LANG === "zh" && (i.LANG = "zh-cn"), e[i.LANG] ? nt(e[i.LANG] || {}, i.TEXT || {}) : li(i, o);
4807
4813
  }), yn();
4808
4814
  }
4809
4815
  }
4810
- function ai(a, o) {
4816
+ function li(a, o) {
4811
4817
  var r = a.LANG;
4812
4818
  if (o || (o = se), !!o.lang) {
4813
4819
  var t = a.TEXT || {};
4814
- r === "zh" && (r = "zh-cn"), o.lang[r] ? it(o.lang[r], t) : (o.langKeys.push(r), o.lang[r] = t), yn();
4820
+ r === "zh" && (r = "zh-cn"), o.lang[r] ? nt(o.lang[r], t) : (o.langKeys.push(r), o.lang[r] = t), yn();
4815
4821
  }
4816
4822
  }
4817
4823
  function bo(a) {
@@ -4821,9 +4827,9 @@ function bo(a) {
4821
4827
  textKeys: {},
4822
4828
  pId: a
4823
4829
  };
4824
- return it(r.lang, se.lang), (o = r.langKeys).push.apply(o, fe(se.langKeys)), it(r.textKeys, se.textKeys), r;
4830
+ return nt(r.lang, se.lang), (o = r.langKeys).push.apply(o, fe(se.langKeys)), nt(r.textKeys, se.textKeys), r;
4825
4831
  }
4826
- ai(ko);
4832
+ li(ko);
4827
4833
  var Xe = {
4828
4834
  get textKeys() {
4829
4835
  return se.textKeys;
@@ -4838,7 +4844,7 @@ var Xe = {
4838
4844
  }), se.lang["zh-cn"] && (a.zh = se.lang["zh-cn"] || {}), a;
4839
4845
  },
4840
4846
  extend: Co,
4841
- use: ai,
4847
+ use: li,
4842
4848
  init: bo
4843
4849
  }, U = {
4844
4850
  INITIAL: 1,
@@ -4849,7 +4855,7 @@ var Xe = {
4849
4855
  RUNNING: 6,
4850
4856
  ENDED: 7,
4851
4857
  DESTROYED: 8
4852
- }, Pi = ["ERROR", "INITIAL", "READY", "ATTACHING", "ATTACHED", "NOTALLOW", "RUNNING", "ENDED", "DESTROYED"], ie = {}, Ot = null, _n = /* @__PURE__ */ function(a) {
4858
+ }, Pi = ["ERROR", "INITIAL", "READY", "ATTACHING", "ATTACHED", "NOTALLOW", "RUNNING", "ENDED", "DESTROYED"], ie = {}, Rt = null, _n = /* @__PURE__ */ function(a) {
4853
4859
  L(r, a);
4854
4860
  var o = D(r);
4855
4861
  function r() {
@@ -4932,7 +4938,7 @@ var Xe = {
4932
4938
  }], [{
4933
4939
  key: "getInstance",
4934
4940
  value: function() {
4935
- return Ot || (Ot = new r()), Ot;
4941
+ return Rt || (Rt = new r()), Rt;
4936
4942
  }
4937
4943
  }]), r;
4938
4944
  }(Xi.EventEmitter);
@@ -4944,7 +4950,7 @@ function wo(a) {
4944
4950
  }
4945
4951
  return null;
4946
4952
  }
4947
- var To = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /* @__PURE__ */ function(a) {
4953
+ var To = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, xt = /* @__PURE__ */ function(a) {
4948
4954
  L(r, a);
4949
4955
  var o = D(r);
4950
4956
  function r(t) {
@@ -4962,7 +4968,7 @@ var To = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /
4962
4968
  e.resize();
4963
4969
  }, 100);
4964
4970
  }, k = h.getFullScreenEl();
4965
- e._fullActionFrom ? e._fullActionFrom = "" : e.emit(mt, {
4971
+ e._fullActionFrom ? e._fullActionFrom = "" : e.emit(yt, {
4966
4972
  eventType: "system",
4967
4973
  action: "switch_fullscreen",
4968
4974
  pluginName: "player",
@@ -5028,7 +5034,7 @@ var To = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /
5028
5034
  }, e.instManager = be;
5029
5035
  var l = e._initDOM();
5030
5036
  if (!l)
5031
- return console.error(new Error("can't find the dom which id is ".concat(e.config.id, " or this.config.el does not exist"))), Qt(e);
5037
+ return console.error(new Error("can't find the dom which id is ".concat(e.config.id, " or this.config.el does not exist"))), ei(e);
5032
5038
  var u = e.config, c = u.definition, f = c === void 0 ? {} : c, g = u.url;
5033
5039
  if (!g && f.list && f.list.length > 0) {
5034
5040
  var p = f.list.find(function(d) {
@@ -5037,7 +5043,7 @@ var To = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /
5037
5043
  p || (f.defaultDefinition = f.list[0].definition, p = f.list[0]), e.config.url = p.url, e.curDefinition = p;
5038
5044
  }
5039
5045
  return e._bindEvents(), e._registerPresets(), e._registerPlugins(), q.onPluginsReady(m(e)), e.getInitDefinition(), e.setState(U.READY), h.setTimeout(m(e), function() {
5040
- e.emit(ni);
5046
+ e.emit(ri);
5041
5047
  }, 0), e.onReady && e.onReady(), (e.config.videoInit || e.config.autoplay) && (!e.hasStart || e.state < U.ATTACHED) && e.start(), e;
5042
5048
  }
5043
5049
  return I(r, [{
@@ -5049,7 +5055,7 @@ var To = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /
5049
5055
  if (n && n.nodeType === 1)
5050
5056
  this.root = n;
5051
5057
  else
5052
- return this.emit(rt, new ht("use", this.config.vid, {
5058
+ return this.emit(st, new dt("use", this.config.vid, {
5053
5059
  line: 32,
5054
5060
  handle: "Constructor",
5055
5061
  msg: "container id can't be empty"
@@ -5134,7 +5140,7 @@ var To = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /
5134
5140
  H.logInfo("_startInit readyState", s), this.config.autoplay && (!h.isMSE(this.media) && this.load(), (N.os.isIpad || N.os.isPhone) && this.mediaPlay());
5135
5141
  var l = this.config.startTime;
5136
5142
  this.__startTime = l > 0 ? l : -1, this.config.startTime = 0, s >= 2 && this.duration > 0 ? this.canPlayFunc() : this.on(ye, this.canPlayFunc), (!this.hasStart || this.state < U.ATTACHED) && q.afterInit(this), this.hasStart = !0, this.setState(U.ATTACHED), h.setTimeout(this, function() {
5137
- i.emit(wt);
5143
+ i.emit(Tt);
5138
5144
  }, 0);
5139
5145
  }
5140
5146
  }
@@ -5329,7 +5335,7 @@ var To = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /
5329
5335
  return;
5330
5336
  }
5331
5337
  n.name === "NotAllowedError" && (e._errorTimer = h.setTimeout(e, function() {
5332
- e._errorTimer = null, e.emit(ri), e.addClass(w.NOT_ALLOW_AUTOPLAY), e.removeClass(w.ENTER), e.pause(), e.setState(U.NOTALLOW);
5338
+ e._errorTimer = null, e.emit(si), e.addClass(w.NOT_ALLOW_AUTOPLAY), e.removeClass(w.ENTER), e.pause(), e.setState(U.NOTALLOW);
5333
5339
  }, 0));
5334
5340
  }) : (H.logWarn("video.play not return promise"), this.state < U.RUNNING && (this.setState(U.RUNNING), this.removeClass(w.NOT_ALLOW_AUTOPLAY), this.removeClass(w.NO_START), this.removeClass(w.ENTER), this.addClass(w.PLAYING), this.emit(Be))), i;
5335
5341
  }
@@ -5394,7 +5400,7 @@ var To = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /
5394
5400
  var n = this, s = this.config.definition;
5395
5401
  if (Array.isArray(s == null ? void 0 : s.list) && s.list.forEach(function(u) {
5396
5402
  (e == null ? void 0 : e.definition) === u.definition && (n.curDefinition = u);
5397
- }), e != null && e.bitrate && typeof e.bitrate != "number" && (e.bitrate = parseInt(e.bitrate, 10) || 0), this.emit(oi, {
5403
+ }), e != null && e.bitrate && typeof e.bitrate != "number" && (e.bitrate = parseInt(e.bitrate, 10) || 0), this.emit(ai, {
5398
5404
  from: i,
5399
5405
  to: e
5400
5406
  }), !this.hasStart) {
@@ -5405,11 +5411,11 @@ var To = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /
5405
5411
  seamless: s.seamless !== !1 && typeof MediaSource < "u" && typeof MediaSource.isTypeSupported == "function"
5406
5412
  }, e));
5407
5413
  l && l.then ? l.then(function() {
5408
- n.emit(Gt, {
5414
+ n.emit(Kt, {
5409
5415
  from: i,
5410
5416
  to: e
5411
5417
  });
5412
- }) : this.emit(Gt, {
5418
+ }) : this.emit(Kt, {
5413
5419
  from: i,
5414
5420
  to: e
5415
5421
  });
@@ -5427,7 +5433,7 @@ var To = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /
5427
5433
  var e = this, i = w.NOT_ALLOW_AUTOPLAY, n = w.PLAYING, s = w.NO_START, l = w.PAUSED, u = w.REPLAY, c = w.ENTER, f = w.ENDED, g = w.ERROR, p = w.LOADING, d = [i, n, s, l, u, c, f, g, p];
5428
5434
  this.hasStart = !1, this.isError = !1, this._useAutoplay = !1, this.mediaPause(), this._accPlayed.acc = 0, this._accPlayed.t = 0, this._accPlayed.loopAcc = 0, d.forEach(function(v) {
5429
5435
  e.removeClass(v);
5430
- }), this.addClass(w.NO_START), this.emit(Et);
5436
+ }), this.addClass(w.NO_START), this.emit(St);
5431
5437
  }
5432
5438
  }, {
5433
5439
  key: "reset",
@@ -5449,7 +5455,7 @@ var To = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /
5449
5455
  value: function() {
5450
5456
  var e, i = this, n = this.innerContainer, s = this.root, l = this.media;
5451
5457
  if (!(!s || !l)) {
5452
- if (this.hasStart = !1, this._useAutoplay = !1, s.removeAttribute(Oe), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), h.clearAllTimers(this), this.emit(si), (e = be) === null || e === void 0 || e.remove(this), q.destroy(this), mn(this), F(O(r.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), n)
5458
+ if (this.hasStart = !1, this._useAutoplay = !1, s.removeAttribute(Oe), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), h.clearAllTimers(this), this.emit(oi), (e = be) === null || e === void 0 || e.remove(this), q.destroy(this), mn(this), F(O(r.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), n)
5453
5459
  for (var u = n.children, c = 0; c < u.length; c++)
5454
5460
  n.removeChild(u[c]);
5455
5461
  !n && l instanceof window.Node && s.contains(l) && s.removeChild(l), ["topBar", "leftBar", "rightBar", "innerContainer"].map(function(g) {
@@ -5473,7 +5479,7 @@ var To = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /
5473
5479
  i && i.catch && i.catch(function(n) {
5474
5480
  console.log(n);
5475
5481
  });
5476
- }), e.emit(dt), e.onPlay();
5482
+ }), e.emit(gt), e.onPlay();
5477
5483
  });
5478
5484
  }
5479
5485
  }, {
@@ -5552,7 +5558,7 @@ var To = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /
5552
5558
  var i = e ? "".concat(w.INNER_FULLSCREEN, " ").concat(w.CSS_FULLSCREEN) : w.CSS_FULLSCREEN;
5553
5559
  this.changeFullStyle(this.root, e, i);
5554
5560
  var n = this.config.fullscreen, s = n === void 0 ? {} : n, l = s.useCssFullscreen === !0 || typeof s.useCssFullscreen == "function" && s.useCssFullscreen();
5555
- l && (this.fullscreen = !0, this.emit(ve, !0)), this._cssfullscreenEl = e, this.cssfullscreen = !0, this.emit(gt, !0);
5561
+ l && (this.fullscreen = !0, this.emit(ve, !0)), this._cssfullscreenEl = e, this.cssfullscreen = !0, this.emit(pt, !0);
5556
5562
  }
5557
5563
  }, {
5558
5564
  key: "exitCssFullscreen",
@@ -5564,7 +5570,7 @@ var To = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /
5564
5570
  var i = this.config.fullscreen, n = i === void 0 ? {} : i, s = n.useCssFullscreen === !0 || typeof n.useCssFullscreen == "function" && n.useCssFullscreen();
5565
5571
  s ? (this.recoverFullStyle(this.root, this._cssfullscreenEl, e), this.fullscreen = !1, this.emit(ve, !1)) : this.removeClass(e);
5566
5572
  }
5567
- this._cssfullscreenEl = null, this.cssfullscreen = !1, this.emit(gt, !1);
5573
+ this._cssfullscreenEl = null, this.cssfullscreen = !1, this.emit(pt, !1);
5568
5574
  }
5569
5575
  }, {
5570
5576
  key: "getRotateFullscreen",
@@ -5596,7 +5602,7 @@ var To = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /
5596
5602
  this.onFocus(e);
5597
5603
  return;
5598
5604
  }
5599
- this.emit(ii, G({
5605
+ this.emit(ni, G({
5600
5606
  paused: this.paused,
5601
5607
  ended: this.ended
5602
5608
  }, e));
@@ -5729,7 +5735,7 @@ var To = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /
5729
5735
  value: function(e, i, n) {
5730
5736
  if (!(!this.media || !i || !e)) {
5731
5737
  var s = h.typeOf(e) === "String" ? e : e.type || "";
5732
- n.props && h.typeOf(n.props) !== "Array" && (n.props = [n.props]), this.emit(mt, G({
5738
+ n.props && h.typeOf(n.props) !== "Array" && (n.props = [n.props]), this.emit(yt, G({
5733
5739
  eventType: s,
5734
5740
  action: i,
5735
5741
  currentTime: this.currentTime,
@@ -5815,7 +5821,7 @@ var To = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /
5815
5821
  value: function(e) {
5816
5822
  var i = this;
5817
5823
  this.resetState(), this.setConfig(e), this._currentTime = 0, this._duration = 0, me(this, "playnext", function() {
5818
- i.start(), i.emit(vt, e);
5824
+ i.start(), i.emit(mt, e);
5819
5825
  });
5820
5826
  }
5821
5827
  }, {
@@ -5953,7 +5959,7 @@ var To = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /
5953
5959
  }, {
5954
5960
  key: "version",
5955
5961
  get: function() {
5956
- return Wt;
5962
+ return $t;
5957
5963
  }
5958
5964
  }, {
5959
5965
  key: "playerId",
@@ -6054,17 +6060,17 @@ var To = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /
6054
6060
  }, {
6055
6061
  key: "hook",
6056
6062
  value: function(e, i) {
6057
- return yt.call.apply(yt, [this].concat(Array.prototype.slice.call(arguments)));
6063
+ return _t.call.apply(_t, [this].concat(Array.prototype.slice.call(arguments)));
6058
6064
  }
6059
6065
  }, {
6060
6066
  key: "useHooks",
6061
6067
  value: function(e, i) {
6062
- return _t.call.apply(_t, [this].concat(Array.prototype.slice.call(arguments)));
6068
+ return kt.call.apply(kt, [this].concat(Array.prototype.slice.call(arguments)));
6063
6069
  }
6064
6070
  }, {
6065
6071
  key: "removeHooks",
6066
6072
  value: function(e, i) {
6067
- return kt.call.apply(kt, [this].concat(Array.prototype.slice.call(arguments)));
6073
+ return Ct.call.apply(Ct, [this].concat(Array.prototype.slice.call(arguments)));
6068
6074
  }
6069
6075
  }, {
6070
6076
  key: "usePluginHooks",
@@ -6136,9 +6142,9 @@ var To = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /
6136
6142
  }
6137
6143
  }]), r;
6138
6144
  }(eo);
6139
- _(St, "defaultPreset", null);
6140
- _(St, "XgVideoProxy", null);
6141
- St.instManager = _n.getInstance();
6145
+ _(xt, "defaultPreset", null);
6146
+ _(xt, "XgVideoProxy", null);
6147
+ xt.instManager = _n.getInstance();
6142
6148
  function Z() {
6143
6149
  return (/* @__PURE__ */ new Date()).getTime();
6144
6150
  }
@@ -6202,18 +6208,18 @@ var we = {
6202
6208
  key: "afterCreate",
6203
6209
  value: function() {
6204
6210
  var e = this;
6205
- this._onReset(), this._waitType = "firstFrame", this._initOnceEvents(), this.newPointTime = Z(), this.loadedCostTime = 0, this.startCostTime = 0, this.on(ti, function() {
6211
+ this._onReset(), this._waitType = "firstFrame", this._initOnceEvents(), this.newPointTime = Z(), this.loadedCostTime = 0, this.startCostTime = 0, this.on(ii, function() {
6206
6212
  var i = e._state, n = i.autoplayStart, s = i.isFFSend;
6207
6213
  e.startCostTime = Z() - e.newPointTime, H.logInfo("[xgLogger]".concat(e.player.playerId, " LOAD_START"), "autoplayStart:".concat(n, " isFFSend:").concat(s, " startCostTime:").concat(e.startCostTime, " newPointTime").concat(e.newPointTime)), !s && (!i.isLs && e.emitLog(we.LOAD_START, {}), i.isLs = !0, i.isTimeUpdate = !1, i.isFFLoading = !0, e.pt = Z(), e.vt = 0, e.fvt = 0, e._initOnceEvents(), e._onWaitingLoadStart());
6208
6214
  }), this.on(Ce, function() {
6209
6215
  e.vt = Z(), e.fvt = e.vt - e.pt, e.loadedCostTime = e.vt - e.newPointTime;
6210
6216
  var i = e._state, n = i.isTimeUpdate, s = i.isFFSend, l = i.autoplayStart;
6211
6217
  H.logInfo("[xgLogger]".concat(e.player.playerId, " LOADED_DATA"), "fvt:".concat(e.fvt, " isTimeUpdate:").concat(e._state.isTimeUpdate, " loadedCostTime:").concat(e.loadedCostTime)), (n || l) && e._sendFF("loadedData"), s || e.emitLog(we.LOADED_DATA, {}), e.suspendWaitingStatus("loadeddata");
6212
- }), this.on(bt, this._onSeeking), this.on(_e, this._onSeeked), this.on(si, function() {
6218
+ }), this.on(wt, this._onSeeking), this.on(_e, this._onSeeked), this.on(oi, function() {
6213
6219
  e.endState("destroy");
6214
- }), this.on(Tt, function() {
6220
+ }), this.on(Et, function() {
6215
6221
  e.endState("urlChange"), H.logInfo("[xgLogger]".concat(e.player.playerId, " URL_CHANGE")), e._state.isFFSend && e._onReset();
6216
- }), this.on([ei, ye], this._onPlaying), this.on(st, this._onWaiting), this.on(rt, this._onError), this.on(Et, function() {
6222
+ }), this.on([ti, ye], this._onPlaying), this.on(ot, this._onWaiting), this.on(st, this._onError), this.on(St, function() {
6217
6223
  H.logInfo("[xgLogger]".concat(e.player.playerId, " RESET")), e.endState("reset"), e._initOnceEvents(), e._onReset();
6218
6224
  });
6219
6225
  }
@@ -6427,7 +6433,7 @@ var xo = /* @__PURE__ */ function(a) {
6427
6433
  e.isEndedShow && h.removeClass(e.root, "hide");
6428
6434
  }), this.config.hideCanplay ? (this.once(oe, function() {
6429
6435
  e.onTimeUpdate();
6430
- }), this.on(Tt, function() {
6436
+ }), this.on(Et, function() {
6431
6437
  h.removeClass(e.root, "hide"), h.addClass(e.root, "xg-showplay"), e.once(oe, function() {
6432
6438
  e.onTimeUpdate();
6433
6439
  });
@@ -6502,13 +6508,13 @@ var xo = /* @__PURE__ */ function(a) {
6502
6508
  }
6503
6509
  }]), r;
6504
6510
  }(z);
6505
- function li() {
6511
+ function ui() {
6506
6512
  return new DOMParser().parseFromString(`<svg class="play" xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="3 -4 28 40">
6507
6513
  <path fill="#fff" transform="scale(0.0320625 0.0320625)" d="M576,363L810,512L576,661zM342,214L576,363L576,661L342,810z"></path>
6508
6514
  </svg>
6509
6515
  `, "image/svg+xml").firstChild;
6510
6516
  }
6511
- function ui() {
6517
+ function ci() {
6512
6518
  return new DOMParser().parseFromString(`<svg class="pause" xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="3 -4 28 40">
6513
6519
  <path fill="#fff" transform="scale(0.0320625 0.0320625)" d="M598,214h170v596h-170v-596zM256 810v-596h170v596h-170z"></path>
6514
6520
  </svg>
@@ -6553,16 +6559,16 @@ var Ao = /* @__PURE__ */ function(a) {
6553
6559
  key: "afterCreate",
6554
6560
  value: function() {
6555
6561
  var e = this, i = this.player, n = this.playerConfig;
6556
- this.initIcons(), this.once(ni, function() {
6562
+ this.initIcons(), this.once(ri, function() {
6557
6563
  n && (n.lang && n.lang === "en" ? h.addClass(i.root, "lang-is-en") : n.lang === "jp" && h.addClass(i.root, "lang-is-jp"));
6558
- }), this.on(Be, this.onAutoplayStart), n.autoplay || this.show(), this.on(ri, function() {
6564
+ }), this.on(Be, this.onAutoplayStart), n.autoplay || this.show(), this.on(si, function() {
6559
6565
  var s = e.config.mode === "auto" ? "auto-hide" : "hide";
6560
6566
  e.setAttr("data-state", "play"), h.removeClass(e.root, s), e.show();
6561
6567
  }), this.on(ae, function() {
6562
6568
  e.onPlayPause("play");
6563
6569
  }), this.on(Ze, function() {
6564
6570
  e.onPlayPause("pause");
6565
- }), this.on(Et, function() {
6571
+ }), this.on(St, function() {
6566
6572
  e.onPlayerReset();
6567
6573
  }), this.clickHandler = this.hook("startClick", this.switchPausePlay, {
6568
6574
  pre: function(l) {
@@ -6581,11 +6587,11 @@ var Ao = /* @__PURE__ */ function(a) {
6581
6587
  value: function() {
6582
6588
  return {
6583
6589
  startPlay: {
6584
- icon: li,
6590
+ icon: ui,
6585
6591
  class: "xg-icon-play"
6586
6592
  },
6587
6593
  startPause: {
6588
- icon: ui,
6594
+ icon: ci,
6589
6595
  class: "xg-icon-pause"
6590
6596
  }
6591
6597
  };
@@ -6807,7 +6813,7 @@ function Ri(a) {
6807
6813
  var o = parseFloat(a), r = a.indexOf("%") === -1 && !Number.isNaN(o);
6808
6814
  return r && o;
6809
6815
  }
6810
- var ci = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"], kn = ci.length;
6816
+ var fi = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"], kn = fi.length;
6811
6817
  function Do() {
6812
6818
  for (var a = {
6813
6819
  width: 0,
@@ -6817,7 +6823,7 @@ function Do() {
6817
6823
  outerWidth: 0,
6818
6824
  outerHeight: 0
6819
6825
  }, o = 0; o < kn; o++) {
6820
- var r = ci[o];
6826
+ var r = fi[o];
6821
6827
  a[r] = 0;
6822
6828
  }
6823
6829
  return a;
@@ -6834,7 +6840,7 @@ function Fi(a) {
6834
6840
  var r = {};
6835
6841
  r.width = a.offsetWidth, r.height = a.offsetHeight;
6836
6842
  for (var t = r.isBorderBox = o.boxSizing === "border-box", e = 0; e < kn; e++) {
6837
- var i = ci[e], n = o[i], s = parseFloat(n);
6843
+ var i = fi[e], n = o[i], s = parseFloat(n);
6838
6844
  r[i] = Number.isNaN(s) ? 0 : s;
6839
6845
  }
6840
6846
  var l = r.paddingLeft + r.paddingRight, u = r.paddingTop + r.paddingBottom, c = r.marginLeft + r.marginRight, f = r.marginTop + r.marginBottom, g = r.borderLeftWidth + r.borderRightWidth, p = r.borderTopWidth + r.borderBottomWidth, d = t, v = Ri(o.width);
@@ -6843,14 +6849,14 @@ function Fi(a) {
6843
6849
  return y !== !1 && (r.height = y + (d ? 0 : u + p)), r.innerWidth = r.width - (l + g), r.innerHeight = r.height - (u + p), r.outerWidth = r.width + c, r.outerHeight = r.height + f, r;
6844
6850
  }
6845
6851
  }
6846
- function Rt(a, o) {
6852
+ function Ft(a, o) {
6847
6853
  for (var r = 0; r < a.length; r++) {
6848
6854
  var t = a[r];
6849
6855
  if (t.identifier === o)
6850
6856
  return t;
6851
6857
  }
6852
6858
  }
6853
- var Ft = {
6859
+ var Mt = {
6854
6860
  START: "dragStart",
6855
6861
  MOVE: "dragMove",
6856
6862
  ENDED: "dragEnded"
@@ -6869,7 +6875,7 @@ var Ft = {
6869
6875
  }, e.startPos = {
6870
6876
  x: 0,
6871
6877
  y: 0
6872
- }, e._root = t instanceof Element ? t : document.querySelector(t), e._handlerDom = i.handle instanceof Element ? i.handle : document.querySelector(i.handle), !e._root || !e._handlerDom ? Qt(e) : (e._bindStartEvent(), e);
6878
+ }, e._root = t instanceof Element ? t : document.querySelector(t), e._handlerDom = i.handle instanceof Element ? i.handle : document.querySelector(i.handle), !e._root || !e._handlerDom ? ei(e) : (e._bindStartEvent(), e);
6873
6879
  }
6874
6880
  return I(r, [{
6875
6881
  key: "_bindStartEvent",
@@ -6961,19 +6967,19 @@ var Ft = {
6961
6967
  }, {
6962
6968
  key: "ontouchmove",
6963
6969
  value: function(e) {
6964
- var i = Rt(e.changedTouches, this.touchIdentifier);
6970
+ var i = Ft(e.changedTouches, this.touchIdentifier);
6965
6971
  i && this.dragMove(e, i);
6966
6972
  }
6967
6973
  }, {
6968
6974
  key: "ontouchend",
6969
6975
  value: function(e) {
6970
- var i = Rt(e.changedTouches, this.touchIdentifier);
6976
+ var i = Ft(e.changedTouches, this.touchIdentifier);
6971
6977
  i && this.dragEnd(e, i), e.preventDefault();
6972
6978
  }
6973
6979
  }, {
6974
6980
  key: "ontouchcancel",
6975
6981
  value: function(e) {
6976
- var i = Rt(e.changedTouches, this.touchIdentifier);
6982
+ var i = Ft(e.changedTouches, this.touchIdentifier);
6977
6983
  i && this.dragCancel(e, i);
6978
6984
  }
6979
6985
  }, {
@@ -6988,12 +6994,12 @@ var Ft = {
6988
6994
  }, {
6989
6995
  key: "dragRealStart",
6990
6996
  value: function(e, i) {
6991
- this.isDragging = !0, this.animate(), this.emit(Ft.START, this.startPos);
6997
+ this.isDragging = !0, this.animate(), this.emit(Mt.START, this.startPos);
6992
6998
  }
6993
6999
  }, {
6994
7000
  key: "dragEnd",
6995
7001
  value: function(e, i) {
6996
- this._root && (this._unbindPostStartEvents(), this.isDragging && (this._root.style.transform = "", this.setLeftTop(), this.emit(Ft.ENDED)), this.presetInfo());
7002
+ this._root && (this._unbindPostStartEvents(), this.isDragging && (this._root.style.transform = "", this.setLeftTop(), this.emit(Mt.ENDED)), this.presetInfo());
6997
7003
  }
6998
7004
  }, {
6999
7005
  key: "_dragPointerMove",
@@ -7009,7 +7015,7 @@ var Ft = {
7009
7015
  value: function(e, i) {
7010
7016
  if (e = e || window.event, !!this.isDown) {
7011
7017
  var n = this.startPos, s = n.x, l = n.y, u = this._dragPointerMove(e, i), c = u.x, f = u.y;
7012
- c = this.checkContain("x", c, s), f = this.checkContain("y", f, l), this.position.x = s + c, this.position.y = l + f, this.dragPoint.x = c, this.dragPoint.y = f, this.emit(Ft.MOVE, this.position);
7018
+ c = this.checkContain("x", c, s), f = this.checkContain("y", f, l), this.position.x = s + c, this.position.y = l + f, this.dragPoint.x = c, this.dragPoint.y = f, this.emit(Mt.MOVE, this.position);
7013
7019
  }
7014
7020
  }
7015
7021
  }, {
@@ -7134,11 +7140,11 @@ var Ft = {
7134
7140
  value: function() {
7135
7141
  return {
7136
7142
  play: {
7137
- icon: li,
7143
+ icon: ui,
7138
7144
  class: "xg-icon-play"
7139
7145
  },
7140
7146
  pause: {
7141
- icon: ui,
7147
+ icon: ci,
7142
7148
  class: "xg-icon-pause"
7143
7149
  }
7144
7150
  };
@@ -7157,7 +7163,7 @@ var Ft = {
7157
7163
  var i = this.player, n = this.playerConfig, s = this.config.target || this.player.root;
7158
7164
  this.lastStyle = {}, h.addClass(i.root, "xgplayer-mini"), ["width", "height", "top", "left"].map(function(l) {
7159
7165
  e.lastStyle[l] = s.style[l], s.style[l] = "".concat(e.pos[l], "px");
7160
- }), n.fluid && (s.style["padding-top"] = ""), this.emit(pt, !0), i.isMini = this.isMini = !0;
7166
+ }), n.fluid && (s.style["padding-top"] = ""), this.emit(vt, !0), i.isMini = this.isMini = !0;
7161
7167
  }
7162
7168
  }
7163
7169
  }, {
@@ -7169,7 +7175,7 @@ var Ft = {
7169
7175
  var i = this.player, n = this.playerConfig, s = this.config.target || this.player.root;
7170
7176
  h.removeClass(i.root, "xgplayer-mini"), this.lastStyle && Object.keys(this.lastStyle).map(function(l) {
7171
7177
  s.style[l] = e.lastStyle[l];
7172
- }), this.lastStyle = null, n.fluid && (i.root.style.width = "100%", i.root.style.height = "0", i.root.style["padding-top"] = "".concat(n.height * 100 / n.width, "%")), this.emit(pt, !1), this.isMini = i.isMini = !1;
7178
+ }), this.lastStyle = null, n.fluid && (i.root.style.width = "100%", i.root.style.height = "0", i.root.style["padding-top"] = "".concat(n.height * 100 / n.width, "%")), this.emit(vt, !1), this.isMini = i.isMini = !1;
7173
7179
  }
7174
7180
  }, {
7175
7181
  key: "destroy",
@@ -7218,11 +7224,11 @@ var Ft = {
7218
7224
  };
7219
7225
  }
7220
7226
  }]), r;
7221
- }(z), at = {
7227
+ }(z), lt = {
7222
7228
  mouseenter: "onMouseEnter",
7223
7229
  mouseleave: "onMouseLeave",
7224
7230
  mousemove: "onMouseMove"
7225
- }, Mt = ["videoClick", "videoDbClick"], Nt = /* @__PURE__ */ function(a) {
7231
+ }, Nt = ["videoClick", "videoDbClick"], Bt = /* @__PURE__ */ function(a) {
7226
7232
  L(r, a);
7227
7233
  var o = D(r);
7228
7234
  function r() {
@@ -7251,7 +7257,7 @@ var Ft = {
7251
7257
  }), _(m(t), "onVideoClick", function(s) {
7252
7258
  var l = m(t), u = l.player, c = l.playerConfig;
7253
7259
  s.target && c.closeVideoClick || (s.target === u.root || s.target === u.media || s.target === u.innerContainer || s.target === u.media.__canvas) && (s.preventDefault(), c.closeVideoStopPropagation || s.stopPropagation(), t._clickCount++, t.clickTimer && (clearTimeout(t.clickTimer), t.clickTimer = null), t.clickTimer = setTimeout(function() {
7254
- t._clickCount && (t._clickCount--, me(m(t), Mt[0], function(f, g) {
7260
+ t._clickCount && (t._clickCount--, me(m(t), Nt[0], function(f, g) {
7255
7261
  t.switchPlayPause(g.e);
7256
7262
  }, {
7257
7263
  e: s,
@@ -7265,7 +7271,7 @@ var Ft = {
7265
7271
  t._clickCount = 0;
7266
7272
  return;
7267
7273
  }
7268
- t._clickCount = 0, t.clickTimer && (clearTimeout(t.clickTimer), t.clickTimer = null), s.preventDefault(), s.stopPropagation(), me(m(t), Mt[1], function(f, g) {
7274
+ t._clickCount = 0, t.clickTimer && (clearTimeout(t.clickTimer), t.clickTimer = null), s.preventDefault(), s.stopPropagation(), me(m(t), Nt[1], function(f, g) {
7269
7275
  t.emitUserAction(g.e, "switch_fullscreen", {
7270
7276
  props: "fullscreen",
7271
7277
  from: u.fullscreen,
@@ -7282,7 +7288,7 @@ var Ft = {
7282
7288
  key: "afterCreate",
7283
7289
  value: function() {
7284
7290
  var e = this;
7285
- this._clickCount = 0, Mt.map(function(n) {
7291
+ this._clickCount = 0, Nt.map(function(n) {
7286
7292
  e.__hooks[n] = null;
7287
7293
  });
7288
7294
  var i = this.playerConfig.isMobileSimulateMode;
@@ -7292,8 +7298,8 @@ var Ft = {
7292
7298
  key: "initEvents",
7293
7299
  value: function() {
7294
7300
  var e = this, i = this.player, n = i.media, s = i.root, l = this.playerConfig.enableContextmenu;
7295
- s && s.addEventListener("click", this.onVideoClick, !1), s && s.addEventListener("dblclick", this.onVideoDblClick, !1), Object.keys(at).map(function(u) {
7296
- s.addEventListener(u, e[at[u]], !1);
7301
+ s && s.addEventListener("click", this.onVideoClick, !1), s && s.addEventListener("dblclick", this.onVideoDblClick, !1), Object.keys(lt).map(function(u) {
7302
+ s.addEventListener(u, e[lt[u]], !1);
7297
7303
  }), !l && n && n.addEventListener("contextmenu", this.onContextmenu, !1);
7298
7304
  }
7299
7305
  }, {
@@ -7315,8 +7321,8 @@ var Ft = {
7315
7321
  key: "destroy",
7316
7322
  value: function() {
7317
7323
  var e = this, i = this.player, n = i.video, s = i.root;
7318
- this.clickTimer && clearTimeout(this.clickTimer), s.removeEventListener("click", this.onVideoClick, !1), s.removeEventListener("dblclick", this.onVideoDblClick, !1), n.removeEventListener("contextmenu", this.onContextmenu, !1), Object.keys(at).map(function(l) {
7319
- s.removeEventListener(l, e[at[l]], !1);
7324
+ this.clickTimer && clearTimeout(this.clickTimer), s.removeEventListener("click", this.onVideoClick, !1), s.removeEventListener("dblclick", this.onVideoDblClick, !1), n.removeEventListener("contextmenu", this.onContextmenu, !1), Object.keys(lt).map(function(l) {
7325
+ s.removeEventListener(l, e[lt[l]], !1);
7320
7326
  });
7321
7327
  }
7322
7328
  }], [{
@@ -7478,7 +7484,7 @@ var je = {
7478
7484
  SEEKING: "seeking",
7479
7485
  PLAYBACK: "playbackrate",
7480
7486
  LIGHT: ""
7481
- }, Bt = ["videoClick", "videoDbClick"], zo = /* @__PURE__ */ function(a) {
7487
+ }, Ht = ["videoClick", "videoDbClick"], zo = /* @__PURE__ */ function(a) {
7482
7488
  L(r, a);
7483
7489
  var o = D(r);
7484
7490
  function r(t) {
@@ -7559,7 +7565,7 @@ var je = {
7559
7565
  key: "afterCreate",
7560
7566
  value: function() {
7561
7567
  var e = this;
7562
- Bt.map(function(g) {
7568
+ Ht.map(function(g) {
7563
7569
  e.__hooks[g] = null;
7564
7570
  });
7565
7571
  var i = this.playerConfig, n = this.config, s = this.player;
@@ -7742,7 +7748,7 @@ var je = {
7742
7748
  key: "onClick",
7743
7749
  value: function(e) {
7744
7750
  var i = this, n = this.player;
7745
- me(this, Bt[0], function(s, l) {
7751
+ me(this, Ht[0], function(s, l) {
7746
7752
  i.clickHandler(l.e);
7747
7753
  }, {
7748
7754
  e,
@@ -7753,7 +7759,7 @@ var je = {
7753
7759
  key: "onDbClick",
7754
7760
  value: function(e) {
7755
7761
  var i = this, n = this.player;
7756
- me(this, Bt[1], function(s, l) {
7762
+ me(this, Ht[1], function(s, l) {
7757
7763
  i.dbClickHandler(l.e);
7758
7764
  }, {
7759
7765
  e,
@@ -8906,7 +8912,7 @@ var Wo = /* @__PURE__ */ function(a) {
8906
8912
  var e = this;
8907
8913
  F(O(r.prototype), "afterCreate", this).call(this);
8908
8914
  var i = this.player, n = this.config;
8909
- n.disable || (this.initIcons(), this.btnClick = this.btnClick.bind(this), this.bind(["touchend", "click"], this.btnClick), this.on([Ze, rt, Ue], function() {
8915
+ n.disable || (this.initIcons(), this.btnClick = this.btnClick.bind(this), this.bind(["touchend", "click"], this.btnClick), this.on([Ze, st, Ue], function() {
8910
8916
  e.animate(i.paused);
8911
8917
  }), this.on(ae, function() {
8912
8918
  e.animate(i.paused);
@@ -8917,11 +8923,11 @@ var Wo = /* @__PURE__ */ function(a) {
8917
8923
  value: function() {
8918
8924
  return {
8919
8925
  play: {
8920
- icon: li,
8926
+ icon: ui,
8921
8927
  class: "xg-icon-play"
8922
8928
  },
8923
8929
  pause: {
8924
- icon: ui,
8930
+ icon: ci,
8925
8931
  class: "xg-icon-pause"
8926
8932
  }
8927
8933
  };
@@ -9404,7 +9410,7 @@ var Qo = /* @__PURE__ */ function(a) {
9404
9410
  return I(r, [{
9405
9411
  key: "afterCreate",
9406
9412
  value: function() {
9407
- this.curIndex = -1, this.curPos = null, this.lastCurrentTime = 0, this.updateSegments(), this.on(Pe, this._onDurationChange), this.on(Ce, this._onLoadedData), this.on(oe, this._onTimeupdate), this.on(bt, this._onSeeking), this.on(ae, this._onPlay);
9413
+ this.curIndex = -1, this.curPos = null, this.lastCurrentTime = 0, this.updateSegments(), this.on(Pe, this._onDurationChange), this.on(Ce, this._onLoadedData), this.on(oe, this._onTimeupdate), this.on(wt, this._onSeeking), this.on(ae, this._onPlay);
9408
9414
  }
9409
9415
  }, {
9410
9416
  key: "setConfig",
@@ -9864,7 +9870,7 @@ var We = {
9864
9870
  key: "afterCreate",
9865
9871
  value: function() {
9866
9872
  var e = this;
9867
- this.isPIPAvailable() && (F(O(r.prototype), "afterCreate", this).call(this), this.pMode = We.INLINE, this.initPipEvents(), this.config.showIcon && this.initIcons(), this.once(wt, function() {
9873
+ this.isPIPAvailable() && (F(O(r.prototype), "afterCreate", this).call(this), this.pMode = We.INLINE, this.initPipEvents(), this.config.showIcon && this.initIcons(), this.once(Tt, function() {
9868
9874
  e.config.showIcon && (h.removeClass(e.find(".xgplayer-icon"), "xg-icon-disable"), e.bind("click", e.switchPIP));
9869
9875
  }));
9870
9876
  }
@@ -9896,9 +9902,9 @@ var We = {
9896
9902
  var n = i.paused;
9897
9903
  h.setTimeout(e, function() {
9898
9904
  !n && i.mediaPlay();
9899
- }, 0), !n && i.mediaPlay(), e.setAttr("data-state", "normal"), e.pipWindow = null, i.emit(Kt, !1);
9905
+ }, 0), !n && i.mediaPlay(), e.setAttr("data-state", "normal"), e.pipWindow = null, i.emit(Yt, !1);
9900
9906
  }, this.enterPIPCallback = function(n) {
9901
- i.emit(Kt, !0), n != null && n.pictureInPictureWindow && (e.pipWindow = n.pictureInPictureWindow), e.setAttr("data-state", "pip");
9907
+ i.emit(Yt, !0), n != null && n.pictureInPictureWindow && (e.pipWindow = n.pictureInPictureWindow), e.setAttr("data-state", "pip");
9902
9908
  }, this.onWebkitpresentationmodechanged = function(n) {
9903
9909
  var s = i.media.webkitPresentationMode;
9904
9910
  e.pMode === We.FULLSCREEN && s !== We.FULLSCREEN && i.onFullscreenChange(null, !1), e.pMode = s, s === We.PIP ? e.enterPIPCallback(n) : s === We.INLINE && e.leavePIPCallback(n);
@@ -10049,7 +10055,7 @@ var ha = /* @__PURE__ */ function(a) {
10049
10055
  var e;
10050
10056
  return x(this, r), e = o.call(this, t), _(m(e), "playNext", function(i) {
10051
10057
  var n = m(e), s = n.player;
10052
- i.preventDefault(), i.stopPropagation(), e.idx + 1 < e.config.urlList.length ? (e.idx++, e.nextHandler(e.config.urlList[e.idx], e.idx), s.emit(vt, e.idx + 1)) : (e.nextHandler(), s.emit(vt));
10058
+ i.preventDefault(), i.stopPropagation(), e.idx + 1 < e.config.urlList.length ? (e.idx++, e.nextHandler(e.config.urlList[e.idx], e.idx), s.emit(mt, e.idx + 1)) : (e.nextHandler(), s.emit(mt));
10053
10059
  }), e.idx = -1, e;
10054
10060
  }
10055
10061
  return I(r, [{
@@ -10184,7 +10190,7 @@ Use Save As... to download, then click back to return to this page.`) && (locati
10184
10190
  });
10185
10191
  })(Cn);
10186
10192
  var da = Cn.exports;
10187
- const ga = /* @__PURE__ */ Jt(da);
10193
+ const ga = /* @__PURE__ */ Zt(da);
10188
10194
  function pa() {
10189
10195
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24">
10190
10196
  <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
@@ -10483,7 +10489,7 @@ var va = /* @__PURE__ */ function(a) {
10483
10489
  function _a(a, o) {
10484
10490
  return a === de.SIDE ? o === W.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
10485
10491
  }
10486
- var De = N.device === "mobile", Ct = /* @__PURE__ */ function(a) {
10492
+ var De = N.device === "mobile", bt = /* @__PURE__ */ function(a) {
10487
10493
  L(r, a);
10488
10494
  var o = D(r);
10489
10495
  function r(t) {
@@ -10519,7 +10525,7 @@ var De = N.device === "mobile", Ct = /* @__PURE__ */ function(a) {
10519
10525
  e._resizeList();
10520
10526
  }), this.once(ye, function() {
10521
10527
  i.list && i.list.length > 0 && (e.renderItemList(i.list), e.show());
10522
- }), De && this.on(ii, function() {
10528
+ }), De && this.on(ni, function() {
10523
10529
  e.isActive && (e.optionsList && e.optionsList.hide(), e.isActive = !1);
10524
10530
  }), De ? (i.toggleMode = $e.CLICK, this.activeEvent = "touchend") : this.activeEvent = i.toggleMode === $e.CLICK ? "click" : "mouseenter", i.toggleMode === $e.CLICK ? this.bind(this.activeEvent, this.switchActiveState) : (this.bind(this.activeEvent, this.onEnter), this.bind("mouseleave", this.onLeave)), this.isIcons && this.bind("click", this.onIconClick);
10525
10531
  }
@@ -10676,7 +10682,7 @@ var De = N.device === "mobile", Ct = /* @__PURE__ */ function(a) {
10676
10682
  var e = this;
10677
10683
  F(O(r.prototype), "afterCreate", this).call(this), this.on("resourceReady", function(i) {
10678
10684
  e.changeDefinitionList(i);
10679
- }), this.on(oi, function(i) {
10685
+ }), this.on(ai, function(i) {
10680
10686
  e.renderItemList(e.config.list, i.to);
10681
10687
  }), this.player.definitionList.length < 2 && this.hide();
10682
10688
  }
@@ -10744,7 +10750,7 @@ var De = N.device === "mobile", Ct = /* @__PURE__ */ function(a) {
10744
10750
  }, {
10745
10751
  key: "defaultConfig",
10746
10752
  get: function() {
10747
- return G(G({}, Ct.defaultConfig), {}, {
10753
+ return G(G({}, bt.defaultConfig), {}, {
10748
10754
  position: W.CONTROLS_RIGHT,
10749
10755
  index: 3,
10750
10756
  list: [],
@@ -10756,7 +10762,7 @@ var De = N.device === "mobile", Ct = /* @__PURE__ */ function(a) {
10756
10762
  });
10757
10763
  }
10758
10764
  }]), r;
10759
- }(Ct), Ca = /* @__PURE__ */ function(a) {
10765
+ }(bt), Ca = /* @__PURE__ */ function(a) {
10760
10766
  L(r, a);
10761
10767
  var o = D(r);
10762
10768
  function r(t) {
@@ -10838,7 +10844,7 @@ var De = N.device === "mobile", Ct = /* @__PURE__ */ function(a) {
10838
10844
  }, {
10839
10845
  key: "defaultConfig",
10840
10846
  get: function() {
10841
- return G(G({}, Ct.defaultConfig), {}, {
10847
+ return G(G({}, bt.defaultConfig), {}, {
10842
10848
  position: W.CONTROLS_RIGHT,
10843
10849
  index: 4,
10844
10850
  list: [2, 1.5, 1, 0.75, 0.5],
@@ -10848,7 +10854,7 @@ var De = N.device === "mobile", Ct = /* @__PURE__ */ function(a) {
10848
10854
  });
10849
10855
  }
10850
10856
  }]), r;
10851
- }(Ct);
10857
+ }(bt);
10852
10858
  function ba() {
10853
10859
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
10854
10860
  <path fill="#fff" transform="scale(1.3, 1.3)" class='path_full' d="M9,10v1a.9.9,0,0,1-1,1,.9.9,0,0,1-1-1V9A.9.9,0,0,1,8,8h2a.9.9,0,0,1,1,1,.9.9,0,0,1-1,1Zm6,4V13a1,1,0,0,1,2,0v2a.9.9,0,0,1-1,1H14a1,1,0,0,1,0-2Zm3-7H6V17H18Zm2,0V17a2,2,0,0,1-2,2H6a2,2,0,0,1-2-2V7A2,2,0,0,1,6,5H18A2,2,0,0,1,20,7Z"></path>
@@ -10876,7 +10882,7 @@ var zi = /* @__PURE__ */ function(a) {
10876
10882
  key: "afterCreate",
10877
10883
  value: function() {
10878
10884
  var e = this;
10879
- F(O(r.prototype), "afterCreate", this).call(this), !this.config.disable && (this.config.target && (this.playerConfig.fullscreenTarget = this.config.target), this.initIcons(), this.on(gt, function(i) {
10885
+ F(O(r.prototype), "afterCreate", this).call(this), !this.config.disable && (this.config.target && (this.playerConfig.fullscreenTarget = this.config.target), this.initIcons(), this.on(pt, function(i) {
10880
10886
  e.animate(i);
10881
10887
  }), this.btnClick = this.btnClick.bind(this), this.handleCssFullscreen = this.hook("cssFullscreen_change", this.btnClick, {
10882
10888
  pre: function(n) {
@@ -10969,7 +10975,7 @@ var zi = /* @__PURE__ */ function(a) {
10969
10975
  pre: function(n) {
10970
10976
  n.preventDefault(), n.stopPropagation();
10971
10977
  }
10972
- }), this.onError = this.hook("showError", this.handleError), this.bind(".xgplayer-error-refresh", "click", this.clickHandler), this.on(rt, function(i) {
10978
+ }), this.onError = this.hook("showError", this.handleError), this.bind(".xgplayer-error-refresh", "click", this.clickHandler), this.on(st, function(i) {
10973
10979
  e.onError(i);
10974
10980
  });
10975
10981
  }
@@ -11680,7 +11686,7 @@ var Ge = {
11680
11686
  }
11681
11687
  }]), r;
11682
11688
  }(z);
11683
- function Ht(a) {
11689
+ function Ut(a) {
11684
11690
  return a ? "background:".concat(a, ";") : "";
11685
11691
  }
11686
11692
  var Pa = /* @__PURE__ */ function(a) {
@@ -11740,9 +11746,9 @@ var Pa = /* @__PURE__ */ function(a) {
11740
11746
  var e = this.playerConfig, i = e.commonStyle, n = e.miniprogress;
11741
11747
  if (n) {
11742
11748
  var s = this.config, l = s.mode, u = s.height, c = {
11743
- cached: Ht(i.cachedColor),
11744
- played: Ht(i.playedColor),
11745
- progress: Ht(i.progressColor),
11749
+ cached: Ut(i.cachedColor),
11750
+ played: Ut(i.playedColor),
11751
+ progress: Ut(i.progressColor),
11746
11752
  height: u > 0 && u !== 2 ? "height: ".concat(u, "px;") : ""
11747
11753
  }, f = l === "show" ? "xg-mini-progress-show" : "";
11748
11754
  return '<xg-mini-progress class="xg-mini-progress '.concat(f, '" style="').concat(c.progress, " ").concat(c.height, `">
@@ -11786,7 +11792,7 @@ function La() {
11786
11792
  return !1;
11787
11793
  }
11788
11794
  }
11789
- var lt = null, Da = /* @__PURE__ */ function(a) {
11795
+ var ut = null, Da = /* @__PURE__ */ function(a) {
11790
11796
  L(r, a);
11791
11797
  var o = D(r);
11792
11798
  function r() {
@@ -11827,7 +11833,7 @@ var lt = null, Da = /* @__PURE__ */ function(a) {
11827
11833
  x: 0,
11828
11834
  y: 0,
11829
11835
  pi: 0
11830
- }, this.isStart = !1, this._isLoaded = !1, this.videoPI = 0, this.preTime = 0, this.interval = parseInt(1e3 / l, 10), this.canvas = null, this.canvasCtx = null, this._frameCount = 0, this._loopType = this.config.mode !== Ke.REAL_TIME && this.interval >= 1e3 ? "timer" : "animation", this.once(wt, function() {
11836
+ }, this.isStart = !1, this._isLoaded = !1, this.videoPI = 0, this.preTime = 0, this.interval = parseInt(1e3 / l, 10), this.canvas = null, this.canvasCtx = null, this._frameCount = 0, this._loopType = this.config.mode !== Ke.REAL_TIME && this.interval >= 1e3 ? "timer" : "animation", this.once(Tt, function() {
11831
11837
  e.player && (e.init(), e.renderByPoster(), e.player.paused || e.start());
11832
11838
  }), s !== Ke.POSTER && (s !== Ke.FIRST_FRAME && (this.on(Ue, function() {
11833
11839
  e.stop();
@@ -11836,7 +11842,7 @@ var lt = null, Da = /* @__PURE__ */ function(a) {
11836
11842
  e._checkIfCanStart() && e.start(0, u);
11837
11843
  }), this.on(Ze, function() {
11838
11844
  e.stop();
11839
- })), this.on(Ce, this.onLoadedData), this.on(ti, function() {
11845
+ })), this.on(Ce, this.onLoadedData), this.on(ii, function() {
11840
11846
  e._isLoaded = !1, e.stop();
11841
11847
  }), document.addEventListener("visibilitychange", this.onVisibilitychange)));
11842
11848
  }
@@ -11980,7 +11986,7 @@ var lt = null, Da = /* @__PURE__ */ function(a) {
11980
11986
  }, {
11981
11987
  key: "isSupport",
11982
11988
  get: function() {
11983
- return typeof lt == "boolean" || (lt = La()), lt;
11989
+ return typeof ut == "boolean" || (ut = La()), ut;
11984
11990
  }
11985
11991
  }, {
11986
11992
  key: "supportCanvasFilter",
@@ -12063,7 +12069,7 @@ var lt = null, Da = /* @__PURE__ */ function(a) {
12063
12069
  FORWARD: "快进中",
12064
12070
  LIVE_TIP: "直播"
12065
12071
  }
12066
- }, et = "info", Ut = gn, Ra = /* @__PURE__ */ function(a) {
12072
+ }, et = "info", zt = gn, Ra = /* @__PURE__ */ function(a) {
12067
12073
  L(r, a);
12068
12074
  var o = D(r);
12069
12075
  function r() {
@@ -12102,7 +12108,7 @@ var lt = null, Da = /* @__PURE__ */ function(a) {
12102
12108
  }, {
12103
12109
  key: "afterCreate",
12104
12110
  value: function() {
12105
- this.reset(), this.on(mt, this._recordUserActions), this.on(Ut.STATS_INFO, this._recordInfo), this.on(Ut.STATS_DOWNLOAD, this._downloadStats), this.on(Ut.STATS_RESET, this._onReset);
12111
+ this.reset(), this.on(yt, this._recordUserActions), this.on(zt.STATS_INFO, this._recordInfo), this.on(zt.STATS_DOWNLOAD, this._downloadStats), this.on(zt.STATS_RESET, this._onReset);
12106
12112
  }
12107
12113
  }, {
12108
12114
  key: "destroy",
@@ -12248,9 +12254,9 @@ var lt = null, Da = /* @__PURE__ */ function(a) {
12248
12254
  key: "afterCreate",
12249
12255
  value: function() {
12250
12256
  var e = this, i = this.config.useGapJump;
12251
- i !== !1 && (this.hasPlayed = !1, this.seekingEventReceived = !1, this.isSafari = /(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent) && !/BlackBerry/.test(navigator.platform), this.on(st, this.onGapJump), this.on(ae, function() {
12257
+ i !== !1 && (this.hasPlayed = !1, this.seekingEventReceived = !1, this.isSafari = /(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent) && !/BlackBerry/.test(navigator.platform), this.on(ot, this.onGapJump), this.on(ae, function() {
12252
12258
  e.hasPlayed = !0;
12253
- }), this.on(bt, function() {
12259
+ }), this.on(wt, function() {
12254
12260
  e.seekingEventReceived = !0;
12255
12261
  }));
12256
12262
  }
@@ -12321,7 +12327,7 @@ var Fa = /* @__PURE__ */ function(a) {
12321
12327
  key: "afterCreate",
12322
12328
  value: function() {
12323
12329
  var e = this, i = this.config, n = i.useWaitingTimeoutJump, s = i.jumpSize;
12324
- n !== !1 && (this.hasPlayed = !1, this.jumpCnt = 0, this.timer = null, this.jumpSize = s, this.on(st, this.onWaiting), this.on([ei, ye], function() {
12330
+ n !== !1 && (this.hasPlayed = !1, this.jumpCnt = 0, this.timer = null, this.jumpSize = s, this.on(ot, this.onWaiting), this.on([ti, ye], function() {
12325
12331
  clearTimeout(e.timer), e.timer = null, e.jumpSize = e.config.jumpSize;
12326
12332
  }), this.on(ae, function() {
12327
12333
  e.hasPlayed = !0;
@@ -12343,7 +12349,7 @@ var Fa = /* @__PURE__ */ function(a) {
12343
12349
  };
12344
12350
  }
12345
12351
  }]), r;
12346
- }(z), Ye = "cdn", ut = ["cdn"], Ma = /* @__PURE__ */ function(a) {
12352
+ }(z), Ye = "cdn", ct = ["cdn"], Ma = /* @__PURE__ */ function(a) {
12347
12353
  L(r, a);
12348
12354
  var o = D(r);
12349
12355
  function r() {
@@ -12362,7 +12368,7 @@ var Fa = /* @__PURE__ */ function(a) {
12362
12368
  }), _(m(t), "startTimer", function() {
12363
12369
  h.isMSE(t.player.video) || (t.initSpeedList(), t.cnt = 0, t.timer = setTimeout(t.testSpeed, t.config.testTimeStep));
12364
12370
  }), _(m(t), "initSpeedList", function() {
12365
- t.speedListCache = {}, ut.forEach(function(s) {
12371
+ t.speedListCache = {}, ct.forEach(function(s) {
12366
12372
  t.speedListCache[s] = [];
12367
12373
  });
12368
12374
  }), _(m(t), "_onRealSpeedChange", function(s) {
@@ -12402,13 +12408,13 @@ var Fa = /* @__PURE__ */ function(a) {
12402
12408
  var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ye, l = t.getSpeed(s), u = m(t), c = u.player;
12403
12409
  if (c)
12404
12410
  if (s === Ye)
12405
- (!c.avgSpeed || l !== c.avgSpeed) && (c.avgSpeed = l, c.emit($t, {
12411
+ (!c.avgSpeed || l !== c.avgSpeed) && (c.avgSpeed = l, c.emit(Gt, {
12406
12412
  speed: l,
12407
12413
  realTimeSpeed: c.realTimeSpeed
12408
12414
  }));
12409
12415
  else {
12410
12416
  var f = t.getSpeedName("avg", s);
12411
- (!c[f] || l !== c[f]) && (c[f] = l, c.emit($t, {
12417
+ (!c[f] || l !== c[f]) && (c[f] = l, c.emit(Gt, {
12412
12418
  speed: l,
12413
12419
  realTimeSpeed: c.realTimeSpeed
12414
12420
  }));
@@ -12419,7 +12425,7 @@ var Fa = /* @__PURE__ */ function(a) {
12419
12425
  key: "afterCreate",
12420
12426
  value: function() {
12421
12427
  var e = this.config, i = e.openSpeed, n = e.addSpeedTypeList;
12422
- (n == null ? void 0 : n.length) > 0 && ut.push.apply(ut, fe(n)), this.initSpeedList(), this.on("real_time_speed", this._onRealSpeedChange), this.timer = null, this.cnt = 0, this.xhr = null, i && this.on([Ce, dt], this.startTimer);
12428
+ (n == null ? void 0 : n.length) > 0 && ct.push.apply(ct, fe(n)), this.initSpeedList(), this.on("real_time_speed", this._onRealSpeedChange), this.timer = null, this.cnt = 0, this.xhr = null, i && this.on([Ce, gt], this.startTimer);
12423
12429
  }
12424
12430
  }, {
12425
12431
  key: "getSpeedName",
@@ -12446,7 +12452,7 @@ var Fa = /* @__PURE__ */ function(a) {
12446
12452
  key: "destroy",
12447
12453
  value: function() {
12448
12454
  var e = this;
12449
- this.off("real_time_speed", this._onRealSpeedChange), this.off([Ce, dt], this.startTimer), ut.forEach(function(i) {
12455
+ this.off("real_time_speed", this._onRealSpeedChange), this.off([Ce, gt], this.startTimer), ct.forEach(function(i) {
12450
12456
  e.speedListCache && e.speedListCache[i] && (e.speedListCache[i] = []);
12451
12457
  }), 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);
12452
12458
  }
@@ -12588,15 +12594,15 @@ var Ba = /* @__PURE__ */ I(function a(o, r) {
12588
12594
  var f = n ? "mobile" : N.device;
12589
12595
  switch (f) {
12590
12596
  case "pc":
12591
- (t = this.plugins).push.apply(t, [Hi, Nt, zi, Ma, Na]);
12597
+ (t = this.plugins).push.apply(t, [Hi, Bt, zi, Ma, Na]);
12592
12598
  break;
12593
12599
  case "mobile":
12594
12600
  (e = this.plugins).push.apply(e, [zo]);
12595
12601
  break;
12596
12602
  default:
12597
- (i = this.plugins).push.apply(i, [Hi, Nt, zi]);
12603
+ (i = this.plugins).push.apply(i, [Hi, Bt, zi]);
12598
12604
  }
12599
- (N.os.isIpad || f === "pc") && this.plugins.push(Da), N.os.isIpad && this.plugins.push(Nt), this.ignores = [], this.i18n = [];
12605
+ (N.os.isIpad || f === "pc") && this.plugins.push(Da), N.os.isIpad && this.plugins.push(Bt), this.ignores = [], this.i18n = [];
12600
12606
  }), he = /* @__PURE__ */ function(a) {
12601
12607
  L(r, a);
12602
12608
  var o = D(r);
@@ -12604,11 +12610,11 @@ var Ba = /* @__PURE__ */ I(function a(o, r) {
12604
12610
  return x(this, r), o.apply(this, arguments);
12605
12611
  }
12606
12612
  return I(r);
12607
- }(St);
12613
+ }(xt);
12608
12614
  _(he, "defaultPreset", Ba);
12609
12615
  _(he, "Util", h);
12610
12616
  _(he, "Sniffer", N);
12611
- _(he, "Errors", ht);
12617
+ _(he, "Errors", dt);
12612
12618
  _(he, "Events", Zs);
12613
12619
  _(he, "Plugin", z);
12614
12620
  _(he, "BasePlugin", xe);
@@ -12618,7 +12624,7 @@ _(he, "InstManager", _n);
12618
12624
  const Ha = ["id"], Ua = /* @__PURE__ */ ue({
12619
12625
  name: "ElImageViewer",
12620
12626
  __name: "Player",
12621
- props: /* @__PURE__ */ ct({
12627
+ props: /* @__PURE__ */ ft({
12622
12628
  url: {
12623
12629
  type: String,
12624
12630
  default: ""
@@ -12639,12 +12645,12 @@ const Ha = ["id"], Ua = /* @__PURE__ */ ue({
12639
12645
  },
12640
12646
  modelModifiers: {}
12641
12647
  }),
12642
- emits: /* @__PURE__ */ ct({
12648
+ emits: /* @__PURE__ */ ft({
12643
12649
  close: () => !0
12644
12650
  }, ["update:modelValue"]),
12645
12651
  setup(a, { emit: o }) {
12646
12652
  let r = null;
12647
- const t = a, { cLoadUrl: e } = qt(t), i = ee(() => Je(e.value, t.url)), n = {
12653
+ const t = a, { cLoadUrl: e } = Jt(t), i = ee(() => Je(e.value, t.url)), n = {
12648
12654
  width: "100%",
12649
12655
  height: "100%",
12650
12656
  // 是否自动播放
@@ -12665,12 +12671,12 @@ const Ha = ["id"], Ua = /* @__PURE__ */ ue({
12665
12671
  }, s = ee(() => ({
12666
12672
  ...n,
12667
12673
  ...t.config
12668
- })), l = o, u = Yt(a, "modelValue"), c = Gi(), f = Fn("image-viewer");
12674
+ })), l = o, u = Xt(a, "modelValue"), c = Gi(), f = Fn("image-viewer");
12669
12675
  function g() {
12670
12676
  l("close"), u.value = !1, r.destroy();
12671
12677
  }
12672
- return Xt(() => u.value, (p) => {
12673
- p && ft(() => {
12678
+ return qt(() => u.value, (p) => {
12679
+ p && ht(() => {
12674
12680
  r = new he({
12675
12681
  id: c,
12676
12682
  url: i.value,
@@ -12750,13 +12756,13 @@ const Ha = ["id"], Ua = /* @__PURE__ */ ue({
12750
12756
  };
12751
12757
  }
12752
12758
  });
12753
- const za = /* @__PURE__ */ nt(Ua, [["__scopeId", "data-v-b301aa7d"]]), Va = Ie(za), fi = (a) => (Pn("data-v-48f27627"), a = a(), An(), a), ja = {
12759
+ const za = /* @__PURE__ */ rt(Ua, [["__scopeId", "data-v-b301aa7d"]]), Va = Ie(za), hi = (a) => (Pn("data-v-48f27627"), a = a(), An(), a), ja = {
12754
12760
  class: "approveProcess",
12755
12761
  id: "approveProcess"
12756
12762
  }, Wa = ["id"], $a = { class: "topBlock" }, Ga = { class: "left" }, Ka = { class: "nodeBg" }, Ya = ["src"], Xa = { class: "right" }, qa = { class: "topInfo" }, Ja = { key: 0 }, Za = {
12757
12763
  key: 0,
12758
12764
  class: "main-text"
12759
- }, Qa = { class: "name" }, el = { key: 0 }, tl = { key: 0 }, il = { key: 1 }, nl = /* @__PURE__ */ fi(() => /* @__PURE__ */ S(
12765
+ }, Qa = { class: "name" }, el = { key: 0 }, tl = { key: 0 }, il = { key: 1 }, nl = /* @__PURE__ */ hi(() => /* @__PURE__ */ S(
12760
12766
  "span",
12761
12767
  {
12762
12768
  class: "red",
@@ -12765,7 +12771,7 @@ const za = /* @__PURE__ */ nt(Ua, [["__scopeId", "data-v-b301aa7d"]]), Va = Ie(z
12765
12771
  " 退回至",
12766
12772
  -1
12767
12773
  /* HOISTED */
12768
- )), rl = { key: 0 }, sl = { key: 0 }, ol = { key: 1 }, al = { key: 1 }, ll = /* @__PURE__ */ fi(() => /* @__PURE__ */ S(
12774
+ )), rl = { key: 0 }, sl = { key: 0 }, ol = { key: 1 }, al = { key: 1 }, ll = /* @__PURE__ */ hi(() => /* @__PURE__ */ S(
12769
12775
  "div",
12770
12776
  { class: "main-text" },
12771
12777
  "抄送人员",
@@ -12789,7 +12795,7 @@ const za = /* @__PURE__ */ nt(Ua, [["__scopeId", "data-v-b301aa7d"]]), Va = Ie(z
12789
12795
  }, yl = { class: "time" }, _l = { key: 0 }, kl = { key: 1 }, Cl = ["onClick"], bl = ["onClick"], wl = {
12790
12796
  key: 0,
12791
12797
  class: "opinion"
12792
- }, Tl = { key: 0 }, El = { key: 1 }, Sl = /* @__PURE__ */ fi(() => /* @__PURE__ */ S(
12798
+ }, Tl = { key: 0 }, El = { key: 1 }, Sl = /* @__PURE__ */ hi(() => /* @__PURE__ */ S(
12793
12799
  "span",
12794
12800
  { class: "ik-text-primary" },
12795
12801
  "添加审批人",
@@ -12869,11 +12875,11 @@ const za = /* @__PURE__ */ nt(Ua, [["__scopeId", "data-v-b301aa7d"]]), Va = Ie(z
12869
12875
  },
12870
12876
  emits: ["preview"],
12871
12877
  setup(a, { emit: o }) {
12872
- const r = a, { cLoadUrl: t } = qt(r), e = Wi(jr(r));
12873
- Xt(
12878
+ const r = a, { cLoadUrl: t } = Jt(r), e = Wi(jr(r));
12879
+ qt(
12874
12880
  () => r.dataList,
12875
12881
  (c) => {
12876
- c && (ft(() => {
12882
+ c && (ht(() => {
12877
12883
  e.listData = c;
12878
12884
  }), setTimeout(() => {
12879
12885
  r.returnNode.length && i();
@@ -12892,7 +12898,7 @@ const za = /* @__PURE__ */ nt(Ua, [["__scopeId", "data-v-b301aa7d"]]), Va = Ie(z
12892
12898
  if (isNaN(c[1]))
12893
12899
  return;
12894
12900
  let f = Array.from(new Array(c[1] + 1).keys()).slice(c[0]);
12895
- ft(() => {
12901
+ ht(() => {
12896
12902
  n(f);
12897
12903
  });
12898
12904
  }
@@ -13282,7 +13288,7 @@ const za = /* @__PURE__ */ nt(Ua, [["__scopeId", "data-v-b301aa7d"]]), Va = Ie(z
13282
13288
  };
13283
13289
  }
13284
13290
  });
13285
- const Ul = /* @__PURE__ */ nt(Hl, [["__scopeId", "data-v-48f27627"]]), Wl = Ie(Ul);
13291
+ const Ul = /* @__PURE__ */ rt(Hl, [["__scopeId", "data-v-48f27627"]]), Wl = Ie(Ul);
13286
13292
  export {
13287
13293
  Wl as IKApprovalProcessDetail,
13288
13294
  Wl as default