iking-web-ui-pro 0.2.49 → 0.2.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { defineComponent as ee, computed as Z, openBlock as k, createElementBlock as T, createElementVNode as w, inject as ft, ref as pe, resolveComponent as Ye, Fragment as ae, createCommentVNode as I, renderList as Se, normalizeStyle as re, toDisplayString as X, normalizeClass as K, createVNode as $, unref as x, withModifiers as bt, createBlock as ve, renderSlot as Ne, withCtx as ne, mergeModels as Tt, useModel as hi, reactive as wn, watch as ot, nextTick as gt, createTextVNode as Ge, h as lr, mergeProps as bn, createSlots as ur, getCurrentScope as cr, onScopeDispose as fr, markRaw as Fi, effectScope as hr, shallowRef as dr, onMounted as Tn, Teleport as En, Transition as Sn, resolveDynamicComponent as gr, withDirectives as pr, vShow as vr, pushScopeId as mr, popScopeId as yr } from "vue";
1
+ import { defineComponent as te, computed as Z, openBlock as k, createElementBlock as E, createElementVNode as w, inject as ft, ref as ve, resolveComponent as Ye, Fragment as le, createCommentVNode as x, renderList as Se, normalizeStyle as re, toDisplayString as X, normalizeClass as K, createBlock as ue, unref as P, withModifiers as bt, renderSlot as Ne, createVNode as G, withCtx as ne, mergeModels as Tt, useModel as hi, reactive as wn, watch as ot, nextTick as gt, createTextVNode as Ge, h as lr, mergeProps as bn, createSlots as ur, getCurrentScope as cr, onScopeDispose as fr, markRaw as Fi, effectScope as hr, shallowRef as dr, onMounted as Tn, Teleport as En, Transition as Sn, resolveDynamicComponent as gr, withDirectives as pr, vShow as vr, pushScopeId as mr, popScopeId as yr } from "vue";
2
2
  import { paramType as ri, ikFile as _r, buildUUID as xn, ikColor as kr, _ as jt, ikDate as Cr } from "iking-utils-pro";
3
3
  import { useLocale as wr, useNamespace as In, useZIndex as br, ElIcon as Oe, EVENT_CODE as Je } from "element-plus";
4
4
  const Le = (a, o) => {
@@ -598,7 +598,7 @@ const Le = (a, o) => {
598
598
  bs,
599
599
  Ts,
600
600
  Es
601
- ], xs = /* @__PURE__ */ ee({
601
+ ], xs = /* @__PURE__ */ te({
602
602
  __name: "IkFileIcon",
603
603
  props: {
604
604
  type: {
@@ -620,15 +620,15 @@ const Le = (a, o) => {
620
620
  },
621
621
  setup(a) {
622
622
  const o = a, r = Z(() => o.file ? si(o.file, o.fields) : o.type);
623
- return (t, e) => r.value === "image" ? (k(), T("svg", Sr, Lr)) : r.value === "zip" ? (k(), T("svg", Dr, Fr)) : r.value === "ppt" ? (k(), T("svg", Mr, Hr)) : r.value === "word" ? (k(), T("svg", Ur, jr)) : r.value === "pdf" ? (k(), T("svg", $r, Kr)) : r.value === "txt" ? (k(), T("svg", Yr, Zr)) : r.value === "audio" ? (k(), T("svg", Jr, ts)) : r.value === "video" ? (k(), T("svg", is, ss)) : r.value === "excel" ? (k(), T("svg", as, cs)) : r.value === "exe" ? (k(), T("svg", fs, vs)) : r.value === "json" ? (k(), T("svg", ms, Cs)) : (k(), T("svg", ws, Ss));
623
+ return (t, e) => r.value === "image" ? (k(), E("svg", Sr, Lr)) : r.value === "zip" ? (k(), E("svg", Dr, Fr)) : r.value === "ppt" ? (k(), E("svg", Mr, Hr)) : r.value === "word" ? (k(), E("svg", Ur, jr)) : r.value === "pdf" ? (k(), E("svg", $r, Kr)) : r.value === "txt" ? (k(), E("svg", Yr, Zr)) : r.value === "audio" ? (k(), E("svg", Jr, ts)) : r.value === "video" ? (k(), E("svg", is, ss)) : r.value === "excel" ? (k(), E("svg", as, cs)) : r.value === "exe" ? (k(), E("svg", fs, vs)) : r.value === "json" ? (k(), E("svg", ms, Cs)) : (k(), E("svg", ws, Ss));
624
624
  }
625
625
  }), Ni = Le(xs);
626
626
  /*! Element Plus Icons Vue v2.3.1 */
627
- var Is = /* @__PURE__ */ ee({
627
+ var Is = /* @__PURE__ */ te({
628
628
  name: "ArrowLeft",
629
629
  __name: "arrow-left",
630
630
  setup(a) {
631
- return (o, r) => (k(), T("svg", {
631
+ return (o, r) => (k(), E("svg", {
632
632
  xmlns: "http://www.w3.org/2000/svg",
633
633
  viewBox: "0 0 1024 1024"
634
634
  }, [
@@ -638,11 +638,11 @@ var Is = /* @__PURE__ */ ee({
638
638
  })
639
639
  ]));
640
640
  }
641
- }), Ps = Is, As = /* @__PURE__ */ ee({
641
+ }), Ps = Is, As = /* @__PURE__ */ te({
642
642
  name: "ArrowRight",
643
643
  __name: "arrow-right",
644
644
  setup(a) {
645
- return (o, r) => (k(), T("svg", {
645
+ return (o, r) => (k(), E("svg", {
646
646
  xmlns: "http://www.w3.org/2000/svg",
647
647
  viewBox: "0 0 1024 1024"
648
648
  }, [
@@ -652,11 +652,11 @@ var Is = /* @__PURE__ */ ee({
652
652
  })
653
653
  ]));
654
654
  }
655
- }), Ls = As, Ds = /* @__PURE__ */ ee({
655
+ }), Ls = As, Ds = /* @__PURE__ */ te({
656
656
  name: "Close",
657
657
  __name: "close",
658
658
  setup(a) {
659
- return (o, r) => (k(), T("svg", {
659
+ return (o, r) => (k(), E("svg", {
660
660
  xmlns: "http://www.w3.org/2000/svg",
661
661
  viewBox: "0 0 1024 1024"
662
662
  }, [
@@ -666,11 +666,11 @@ var Is = /* @__PURE__ */ ee({
666
666
  })
667
667
  ]));
668
668
  }
669
- }), Pn = Ds, Os = /* @__PURE__ */ ee({
669
+ }), Pn = Ds, Os = /* @__PURE__ */ te({
670
670
  name: "FullScreen",
671
671
  __name: "full-screen",
672
672
  setup(a) {
673
- return (o, r) => (k(), T("svg", {
673
+ return (o, r) => (k(), E("svg", {
674
674
  xmlns: "http://www.w3.org/2000/svg",
675
675
  viewBox: "0 0 1024 1024"
676
676
  }, [
@@ -680,11 +680,11 @@ var Is = /* @__PURE__ */ ee({
680
680
  })
681
681
  ]));
682
682
  }
683
- }), Rs = Os, Fs = /* @__PURE__ */ ee({
683
+ }), Rs = Os, Fs = /* @__PURE__ */ te({
684
684
  name: "RefreshLeft",
685
685
  __name: "refresh-left",
686
686
  setup(a) {
687
- return (o, r) => (k(), T("svg", {
687
+ return (o, r) => (k(), E("svg", {
688
688
  xmlns: "http://www.w3.org/2000/svg",
689
689
  viewBox: "0 0 1024 1024"
690
690
  }, [
@@ -694,11 +694,11 @@ var Is = /* @__PURE__ */ ee({
694
694
  })
695
695
  ]));
696
696
  }
697
- }), Ms = Fs, Ns = /* @__PURE__ */ ee({
697
+ }), Ms = Fs, Ns = /* @__PURE__ */ te({
698
698
  name: "RefreshRight",
699
699
  __name: "refresh-right",
700
700
  setup(a) {
701
- return (o, r) => (k(), T("svg", {
701
+ return (o, r) => (k(), E("svg", {
702
702
  xmlns: "http://www.w3.org/2000/svg",
703
703
  viewBox: "0 0 1024 1024"
704
704
  }, [
@@ -708,11 +708,11 @@ var Is = /* @__PURE__ */ ee({
708
708
  })
709
709
  ]));
710
710
  }
711
- }), Bs = Ns, Hs = /* @__PURE__ */ ee({
711
+ }), Bs = Ns, Hs = /* @__PURE__ */ te({
712
712
  name: "ScaleToOriginal",
713
713
  __name: "scale-to-original",
714
714
  setup(a) {
715
- return (o, r) => (k(), T("svg", {
715
+ return (o, r) => (k(), E("svg", {
716
716
  xmlns: "http://www.w3.org/2000/svg",
717
717
  viewBox: "0 0 1024 1024"
718
718
  }, [
@@ -722,11 +722,11 @@ var Is = /* @__PURE__ */ ee({
722
722
  })
723
723
  ]));
724
724
  }
725
- }), Us = Hs, zs = /* @__PURE__ */ ee({
725
+ }), Us = Hs, zs = /* @__PURE__ */ te({
726
726
  name: "ZoomIn",
727
727
  __name: "zoom-in",
728
728
  setup(a) {
729
- return (o, r) => (k(), T("svg", {
729
+ return (o, r) => (k(), E("svg", {
730
730
  xmlns: "http://www.w3.org/2000/svg",
731
731
  viewBox: "0 0 1024 1024"
732
732
  }, [
@@ -736,11 +736,11 @@ var Is = /* @__PURE__ */ ee({
736
736
  })
737
737
  ]));
738
738
  }
739
- }), Vs = zs, js = /* @__PURE__ */ ee({
739
+ }), Vs = zs, js = /* @__PURE__ */ te({
740
740
  name: "ZoomOut",
741
741
  __name: "zoom-out",
742
742
  setup(a) {
743
- return (o, r) => (k(), T("svg", {
743
+ return (o, r) => (k(), E("svg", {
744
744
  xmlns: "http://www.w3.org/2000/svg",
745
745
  viewBox: "0 0 1024 1024"
746
746
  }, [
@@ -939,7 +939,7 @@ const Ft = (a, o) => {
939
939
  const r = ["B", "KB", "MB", "GB", "TB"], t = Math.floor(Math.log(a) / Math.log(1024));
940
940
  let e = a / Math.pow(1024, t);
941
941
  return (e % 1 === 0 ? e.toFixed(o || 0) : e.toFixed(o)) + " " + r[t];
942
- }, lt = (a, o) => o ? o.startsWith("http") ? o : `${a || location.origin}${o}` : "", Ys = ["onClick"], Xs = { class: "fileName simple" }, qs = ["onClick"], Zs = { class: "file-list" }, Js = { class: "fileName simple" }, Qs = ["onClick"], ea = { class: "text" }, ta = { class: "fileName" }, ia = { class: "size" }, na = /* @__PURE__ */ ee({
942
+ }, lt = (a, o) => o ? o.startsWith("http") ? o : `${a || location.origin}${o}` : "", Ys = ["onClick"], Xs = { class: "fileName simple" }, qs = ["onClick"], Zs = { class: "file-list" }, Js = { class: "fileName simple" }, Qs = ["onClick"], ea = { class: "text" }, ta = { class: "fileName" }, ia = { class: "size" }, na = /* @__PURE__ */ te({
943
943
  __name: "IkPreviewFile",
944
944
  props: {
945
945
  list: {
@@ -1017,73 +1017,78 @@ const Ft = (a, o) => {
1017
1017
  type: String,
1018
1018
  default: "default"
1019
1019
  },
1020
- // shifout-是否显示下载按钮
1021
- showDownload: {
1020
+ // 是否显示下载按钮
1021
+ showDownloadBtn: {
1022
+ type: Boolean,
1023
+ default: !0
1024
+ },
1025
+ // 是否显示预览按钮
1026
+ showPreviewBtn: {
1022
1027
  type: Boolean,
1023
1028
  default: !0
1024
1029
  }
1025
1030
  },
1026
1031
  emits: ["handPreview"],
1027
1032
  setup(a, { emit: o }) {
1028
- const r = a, { cLoadUrl: t, cOnlyofficeConfig: e, cOnlyofficePreviewType: i } = di(r), n = o, s = Z(() => ({
1033
+ const r = a, t = Z(() => r.simple ? "simple" : "default"), { cLoadUrl: e, cOnlyofficeConfig: i, cOnlyofficePreviewType: n } = di(r), s = o, l = Z(() => ({
1029
1034
  name: "name",
1030
1035
  url: "url",
1031
1036
  suffix: "suffix",
1032
1037
  size: "size",
1033
1038
  ...r.field
1034
- })), l = pe({}), u = pe(!1), c = (d) => {
1035
- var v, m;
1036
- l.value = {
1037
- ...d,
1038
- name: d.name,
1039
+ })), u = ve({}), c = ve(!1), h = (v) => {
1040
+ var m, C;
1041
+ u.value = {
1042
+ ...v,
1043
+ name: v.name,
1039
1044
  url: lt(
1040
- t.value,
1041
- d[s.value.url] || ((m = (v = d == null ? void 0 : d.response) == null ? void 0 : v.data) == null ? void 0 : m.id) || (d == null ? void 0 : d.id)
1045
+ e.value,
1046
+ v[l.value.url] || ((C = (m = v == null ? void 0 : v.response) == null ? void 0 : m.data) == null ? void 0 : C.id) || (v == null ? void 0 : v.id)
1042
1047
  )
1043
- }, r.isOnlyOfficePreview && (u.value = !0), n("handPreview", l.value);
1044
- }, h = (d) => {
1048
+ }, r.isOnlyOfficePreview && (c.value = !0), s("handPreview", u.value);
1049
+ }, g = (v) => {
1045
1050
  _r.downloadFile(
1046
1051
  lt(
1047
- t.value,
1048
- d[s.value.url] || d.attachmentId || d.id
1052
+ e.value,
1053
+ v[l.value.url] || v.attachmentId || v.id
1049
1054
  ),
1050
- d[s.value.name] || d.attachmentName
1055
+ v[l.value.name] || v.attachmentName
1051
1056
  );
1052
- }, g = Z(() => ri.isNumber(r.width) ? `${r.width}px` : r.width), p = Z(() => r.list.map((d) => {
1053
- var m;
1054
- const v = d[s.value.name] || d.attachmentName;
1057
+ }, p = Z(() => ri.isNumber(r.width) ? `${r.width}px` : r.width), d = Z(() => r.list.map((v) => {
1058
+ var C;
1059
+ const m = v[l.value.name] || v.attachmentName;
1055
1060
  return {
1056
- ...d,
1057
- name: v,
1058
- size: d[s.value.size] || (d == null ? void 0 : d.fileSize) || (d == null ? void 0 : d.attachmentSize),
1059
- suffix: d[s.value.suffix] || (d == null ? void 0 : d.attachmentSuffix) || ((m = v.split(".")) == null ? void 0 : m.at(-1))
1061
+ ...v,
1062
+ name: m,
1063
+ size: v[l.value.size] || (v == null ? void 0 : v.fileSize) || (v == null ? void 0 : v.attachmentSize),
1064
+ suffix: v[l.value.suffix] || (v == null ? void 0 : v.attachmentSuffix) || ((C = m.split(".")) == null ? void 0 : C.at(-1))
1060
1065
  };
1061
1066
  }));
1062
- return (d, v) => {
1063
- var C, S, b;
1064
- const m = Ye("tmplate");
1065
- return k(), T(
1066
- ae,
1067
+ return (v, m) => {
1068
+ var S, b, B;
1069
+ const C = Ye("tmplate");
1070
+ return k(), E(
1071
+ le,
1067
1072
  null,
1068
1073
  [
1069
- (C = a.list) != null && C.length ? (k(), T(
1070
- ae,
1074
+ (S = a.list) != null && S.length ? (k(), E(
1075
+ le,
1071
1076
  { key: 0 },
1072
1077
  [
1073
- I(" 简单模式 "),
1074
- a.simple || a.showType === "simple" ? (k(!0), T(
1075
- ae,
1078
+ x(" 简单模式 "),
1079
+ a.simple || t.value === "simple" ? (k(!0), E(
1080
+ le,
1076
1081
  { key: 0 },
1077
- Se(p.value, (P, O) => (k(), T("div", {
1082
+ Se(d.value, (I, H) => (k(), E("div", {
1078
1083
  class: "iking-privew-annex simple",
1079
- key: O,
1080
- onClick: (U) => c(P),
1081
- style: re({ width: g.value })
1084
+ key: H,
1085
+ onClick: (O) => h(I),
1086
+ style: re({ width: p.value })
1082
1087
  }, [
1083
1088
  w(
1084
1089
  "div",
1085
1090
  Xs,
1086
- X(P.name),
1091
+ X(I.name),
1087
1092
  1
1088
1093
  /* TEXT */
1089
1094
  ),
@@ -1093,20 +1098,21 @@ const Ft = (a, o) => {
1093
1098
  class: K(["flex flex-center", { "hover-show": a.iconHoverShow }])
1094
1099
  },
1095
1100
  [
1096
- $(x(We), {
1101
+ a.showDownloadBtn ? (k(), ue(P(We), {
1102
+ key: 0,
1097
1103
  name: "iksvg_daochu",
1098
- onClick: bt((U) => h(P), ["stop"]),
1104
+ onClick: bt((O) => g(I), ["stop"]),
1099
1105
  size: 20,
1100
1106
  active: ""
1101
- }, null, 8, ["onClick"]),
1102
- x(i).includes(P.suffix) ? (k(), ve(x(We), {
1103
- key: 0,
1107
+ }, null, 8, ["onClick"])) : x("v-if", !0),
1108
+ P(n).includes(I.suffix) || a.showPreviewBtn ? (k(), ue(P(We), {
1109
+ key: 1,
1104
1110
  name: "iksvg_yulan",
1105
1111
  size: 20,
1106
1112
  active: ""
1107
- })) : I("v-if", !0),
1108
- Ne(d.$slots, "operation", {
1109
- data: { ...P, findex: O }
1113
+ })) : x("v-if", !0),
1114
+ Ne(v.$slots, "operation", {
1115
+ data: { ...I, findex: H }
1110
1116
  })
1111
1117
  ],
1112
1118
  2
@@ -1115,148 +1121,142 @@ const Ft = (a, o) => {
1115
1121
  ], 12, Ys))),
1116
1122
  128
1117
1123
  /* KEYED_FRAGMENT */
1118
- )) : I("v-if", !0),
1119
- I(" 简单图标模式 "),
1120
- a.showType === "simple-icon" ? (k(!0), T(
1121
- ae,
1124
+ )) : x("v-if", !0),
1125
+ x(" 简单图标模式 "),
1126
+ t.value === "simple-icon" ? (k(!0), E(
1127
+ le,
1122
1128
  { key: 1 },
1123
- Se(p.value, (P, O) => (k(), T("div", {
1129
+ Se(d.value, (I, H) => (k(), E("div", {
1124
1130
  class: "iking-privew-annex simple-icon",
1125
- key: O,
1126
- onClick: (U) => c(P),
1127
- style: re({ width: g.value })
1131
+ key: H,
1132
+ onClick: (O) => h(I),
1133
+ style: re({ width: p.value })
1128
1134
  }, [
1129
1135
  w("div", Zs, [
1130
- $(x(Ni), {
1131
- file: P,
1136
+ G(P(Ni), {
1137
+ file: I,
1132
1138
  style: re({ height: `${a.iconSize}px` }),
1133
1139
  class: "ikui-w-auto",
1134
- fields: s.value
1140
+ fields: l.value
1135
1141
  }, null, 8, ["file", "style", "fields"]),
1136
1142
  w(
1137
1143
  "div",
1138
1144
  Js,
1139
- X(P.name),
1145
+ X(I.name),
1140
1146
  1
1141
1147
  /* TEXT */
1142
1148
  )
1143
1149
  ]),
1144
- a.showDownload ? (k(), ve(x(We), {
1150
+ a.showDownloadBtn ? (k(), ue(P(We), {
1145
1151
  key: 0,
1146
1152
  name: "iksvg_daochu",
1147
1153
  size: 20,
1148
1154
  title: "下载",
1149
1155
  active: "",
1150
- onClick: bt((U) => h(P), ["stop"])
1151
- }, null, 8, ["onClick"])) : I("v-if", !0)
1156
+ onClick: bt((O) => g(I), ["stop"])
1157
+ }, null, 8, ["onClick"])) : x("v-if", !0)
1152
1158
  ], 12, qs))),
1153
1159
  128
1154
1160
  /* KEYED_FRAGMENT */
1155
- )) : (k(), T(
1156
- ae,
1157
- { key: 2 },
1158
- [
1159
- I(" 默认模式 "),
1160
- $(m, null, {
1161
- default: ne(() => [
1162
- (k(!0), T(
1163
- ae,
1164
- null,
1165
- Se(p.value, (P, O) => {
1166
- var U;
1167
- return k(), T(
1168
- "div",
1169
- {
1170
- class: K(["iking-privew-annex", { "is-bg": a.showBg }]),
1171
- key: O,
1172
- style: re({
1173
- marginBottom: O == ((U = a.list) == null ? void 0 : U.length) - 1 ? "0" : "10px",
1174
- width: g.value
1175
- })
1176
- },
1177
- [
1178
- w("div", {
1179
- class: "file-card",
1180
- onClick: (R) => c(P)
1181
- }, [
1182
- $(x(Ni), {
1183
- file: P,
1184
- style: re({ height: `${a.iconSize}px` }),
1185
- class: "ikui-w-auto",
1186
- fields: s.value
1187
- }, null, 8, ["file", "style", "fields"]),
1188
- w("div", ea, [
1189
- w(
1190
- "div",
1191
- ta,
1192
- X(P.name),
1193
- 1
1194
- /* TEXT */
1195
- ),
1196
- w(
1197
- "div",
1198
- ia,
1199
- X(x(Ks)(P.size)),
1200
- 1
1201
- /* TEXT */
1202
- )
1203
- ]),
1204
- w(
1205
- "div",
1206
- {
1207
- class: K(["flex flex-center", { "hover-show": a.iconHoverShow }])
1208
- },
1209
- [
1210
- $(x(We), {
1211
- name: "iksvg_daochu",
1212
- onClick: bt((R) => h(P), ["stop"]),
1213
- bg: a.showBg,
1214
- size: a.showBg ? "default" : 20,
1215
- title: "下载"
1216
- }, null, 8, ["onClick", "bg", "size"]),
1217
- x(i).includes(P.suffix) ? (k(), ve(x(We), {
1218
- key: 0,
1219
- name: "iksvg_yulan",
1220
- bg: a.showBg,
1221
- size: a.showBg ? "default" : 20,
1222
- title: "预览"
1223
- }, null, 8, ["bg", "size"])) : I("v-if", !0),
1224
- Ne(d.$slots, "operation", {
1225
- data: { ...P, findex: O }
1226
- })
1227
- ],
1228
- 2
1229
- /* CLASS */
1230
- )
1231
- ], 8, Qs)
1232
- ],
1233
- 6
1234
- /* CLASS, STYLE */
1235
- );
1236
- }),
1237
- 128
1238
- /* KEYED_FRAGMENT */
1239
- ))
1240
- ]),
1241
- _: 3
1242
- /* FORWARDED */
1243
- })
1244
- ],
1245
- 2112
1246
- /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
1247
- ))
1161
+ )) : x("v-if", !0),
1162
+ x(" 默认模式 "),
1163
+ t.value === "default" ? (k(), ue(C, { key: 2 }, {
1164
+ default: ne(() => [
1165
+ (k(!0), E(
1166
+ le,
1167
+ null,
1168
+ Se(d.value, (I, H) => {
1169
+ var O;
1170
+ return k(), E(
1171
+ "div",
1172
+ {
1173
+ class: K(["iking-privew-annex", { "is-bg": a.showBg }]),
1174
+ key: H,
1175
+ style: re({
1176
+ marginBottom: H == ((O = a.list) == null ? void 0 : O.length) - 1 ? "0" : "10px",
1177
+ width: p.value
1178
+ })
1179
+ },
1180
+ [
1181
+ w("div", {
1182
+ class: "file-card",
1183
+ onClick: (J) => h(I)
1184
+ }, [
1185
+ G(P(Ni), {
1186
+ file: I,
1187
+ style: re({ height: `${a.iconSize}px` }),
1188
+ class: "ikui-w-auto",
1189
+ fields: l.value
1190
+ }, null, 8, ["file", "style", "fields"]),
1191
+ w("div", ea, [
1192
+ w(
1193
+ "div",
1194
+ ta,
1195
+ X(I.name),
1196
+ 1
1197
+ /* TEXT */
1198
+ ),
1199
+ w(
1200
+ "div",
1201
+ ia,
1202
+ X(P(Ks)(I.size)),
1203
+ 1
1204
+ /* TEXT */
1205
+ )
1206
+ ]),
1207
+ w(
1208
+ "div",
1209
+ {
1210
+ class: K(["flex flex-center", { "hover-show": a.iconHoverShow }])
1211
+ },
1212
+ [
1213
+ a.showDownloadBtn ? (k(), ue(P(We), {
1214
+ key: 0,
1215
+ name: "iksvg_daochu",
1216
+ onClick: bt((J) => g(I), ["stop"]),
1217
+ bg: a.showBg,
1218
+ size: a.showBg ? "default" : 20,
1219
+ title: "下载"
1220
+ }, null, 8, ["onClick", "bg", "size"])) : x("v-if", !0),
1221
+ P(n).includes(I.suffix) || a.showPreviewBtn ? (k(), ue(P(We), {
1222
+ key: 1,
1223
+ name: "iksvg_yulan",
1224
+ bg: a.showBg,
1225
+ size: a.showBg ? "default" : 20,
1226
+ title: "预览"
1227
+ }, null, 8, ["bg", "size"])) : x("v-if", !0),
1228
+ Ne(v.$slots, "operation", {
1229
+ data: { ...I, findex: H }
1230
+ })
1231
+ ],
1232
+ 2
1233
+ /* CLASS */
1234
+ )
1235
+ ], 8, Qs)
1236
+ ],
1237
+ 6
1238
+ /* CLASS, STYLE */
1239
+ );
1240
+ }),
1241
+ 128
1242
+ /* KEYED_FRAGMENT */
1243
+ ))
1244
+ ]),
1245
+ _: 3
1246
+ /* FORWARDED */
1247
+ })) : x("v-if", !0)
1248
1248
  ],
1249
1249
  64
1250
1250
  /* STABLE_FRAGMENT */
1251
- )) : I("v-if", !0),
1252
- $(x(aa), {
1253
- show: u.value,
1254
- "onUpdate:show": v[0] || (v[0] = (P) => u.value = P),
1255
- loadUrl: x(t),
1256
- file: l.value,
1257
- onlyofficeServer: ((S = x(e)) == null ? void 0 : S.serverUrl) || a.onlyofficeServer,
1258
- onlyOfficeConfig: x(e),
1259
- onlyOfficeAccept: ((b = x(e)) == null ? void 0 : b.accept) || a.onlyOfficeAccept
1251
+ )) : x("v-if", !0),
1252
+ G(P(aa), {
1253
+ show: c.value,
1254
+ "onUpdate:show": m[0] || (m[0] = (I) => c.value = I),
1255
+ loadUrl: P(e),
1256
+ file: u.value,
1257
+ onlyofficeServer: ((b = P(i)) == null ? void 0 : b.serverUrl) || a.onlyofficeServer,
1258
+ onlyOfficeConfig: P(i),
1259
+ onlyOfficeAccept: ((B = P(i)) == null ? void 0 : B.accept) || a.onlyOfficeAccept
1260
1260
  }, null, 8, ["show", "loadUrl", "file", "onlyofficeServer", "onlyOfficeConfig", "onlyOfficeAccept"])
1261
1261
  ],
1262
1262
  64
@@ -1265,7 +1265,7 @@ const Ft = (a, o) => {
1265
1265
  };
1266
1266
  }
1267
1267
  });
1268
- const ra = Le(na), sa = /* @__PURE__ */ ee({
1268
+ const ra = Le(na), sa = /* @__PURE__ */ te({
1269
1269
  __name: "IkPreviewFileDialog",
1270
1270
  props: /* @__PURE__ */ Tt({
1271
1271
  file: {
@@ -1308,14 +1308,14 @@ const ra = Le(na), sa = /* @__PURE__ */ ee({
1308
1308
  suffix: "suffix",
1309
1309
  size: "fileSize",
1310
1310
  ...o.field
1311
- })), e = pe(null), i = pe(null), n = wn({
1311
+ })), e = ve(null), i = ve(null), n = wn({
1312
1312
  image: !1,
1313
1313
  office: !1,
1314
1314
  video: !1
1315
1315
  }), s = (u) => {
1316
1316
  var c, h, g, p, d, v, m;
1317
1317
  try {
1318
- const C = ((c = u == null ? void 0 : u.response) == null ? void 0 : c.data) || u, S = C[t.value.url] || (C == null ? void 0 : C.id) || C.attachmentId, b = (h = C[t.value.suffix] || C.attachmentSuffix) == null ? void 0 : h.toLowerCase(), P = C[t.value.name] || (C == null ? void 0 : C.attachmentName) || (C == null ? void 0 : C.originName);
1318
+ const C = ((c = u == null ? void 0 : u.response) == null ? void 0 : c.data) || u, S = C[t.value.url] || (C == null ? void 0 : C.id) || C.attachmentId, b = (h = C[t.value.suffix] || C.attachmentSuffix) == null ? void 0 : h.toLowerCase(), B = C[t.value.name] || (C == null ? void 0 : C.attachmentName) || (C == null ? void 0 : C.originName);
1319
1319
  if (i.value = {
1320
1320
  ...u,
1321
1321
  name: u[t.value.name],
@@ -1340,7 +1340,7 @@ const ra = Le(na), sa = /* @__PURE__ */ ee({
1340
1340
  },
1341
1341
  document: {
1342
1342
  key: xn(),
1343
- title: P,
1343
+ title: B,
1344
1344
  url: lt(o.loadUrl, S),
1345
1345
  fileType: b,
1346
1346
  ...((m = o.onlyOfficeConfig) == null ? void 0 : m.document) || {}
@@ -1364,26 +1364,26 @@ const ra = Le(na), sa = /* @__PURE__ */ ee({
1364
1364
  };
1365
1365
  return (u, c) => {
1366
1366
  var h, g, p;
1367
- return r.value ? (k(), T(
1368
- ae,
1367
+ return r.value ? (k(), E(
1368
+ le,
1369
1369
  { key: 0 },
1370
1370
  [
1371
- (h = i.value) != null && h.url && n.image ? (k(), ve(x($a), {
1371
+ (h = i.value) != null && h.url && n.image ? (k(), ue(P($a), {
1372
1372
  key: 0,
1373
1373
  onClose: c[0] || (c[0] = (d) => l()),
1374
1374
  ref: "previewImgRef",
1375
1375
  "url-list": [(g = i.value) == null ? void 0 : g.url],
1376
1376
  teleported: "",
1377
1377
  "z-index": 9999
1378
- }, null, 8, ["url-list"])) : I("v-if", !0),
1379
- I(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
1380
- I(" 文档类 "),
1381
- $(x(ou), {
1378
+ }, null, 8, ["url-list"])) : x("v-if", !0),
1379
+ x(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
1380
+ x(" 文档类 "),
1381
+ G(P(ou), {
1382
1382
  modelValue: n.video,
1383
1383
  "onUpdate:modelValue": c[1] || (c[1] = (d) => n.video = d),
1384
1384
  url: (p = i.value) == null ? void 0 : p.url
1385
1385
  }, null, 8, ["modelValue", "url"]),
1386
- $(x(ka), {
1386
+ G(P(ka), {
1387
1387
  modelValue: n.office,
1388
1388
  "onUpdate:modelValue": c[2] || (c[2] = (d) => n.office = d),
1389
1389
  draggable: "",
@@ -1401,7 +1401,7 @@ const ra = Le(na), sa = /* @__PURE__ */ ee({
1401
1401
  default: ne(() => {
1402
1402
  var d;
1403
1403
  return [
1404
- $(x(Ia), {
1404
+ G(P(Ia), {
1405
1405
  "config-options": e.value,
1406
1406
  "document-server-url": ((d = a.onlyOfficeConfig) == null ? void 0 : d.serverUrl) || a.onlyofficeServer
1407
1407
  }, null, 8, ["config-options", "document-server-url"])
@@ -1413,7 +1413,7 @@ const ra = Le(na), sa = /* @__PURE__ */ ee({
1413
1413
  ],
1414
1414
  64
1415
1415
  /* STABLE_FRAGMENT */
1416
- )) : I("v-if", !0);
1416
+ )) : x("v-if", !0);
1417
1417
  };
1418
1418
  }
1419
1419
  });
@@ -1428,7 +1428,7 @@ const aa = Le(sa), oa = {
1428
1428
  key: 1,
1429
1429
  class: "h-[1em] w-[1em]",
1430
1430
  "aria-hidden": "true"
1431
- }, ha = ["xlink:href"], da = ["src"], ga = /* @__PURE__ */ ee({
1431
+ }, ha = ["xlink:href"], da = ["src"], ga = /* @__PURE__ */ te({
1432
1432
  name: "IkSvgIcon",
1433
1433
  __name: "index",
1434
1434
  props: {
@@ -1488,8 +1488,8 @@ const aa = Le(sa), oa = {
1488
1488
  });
1489
1489
  return (i, n) => {
1490
1490
  const s = Ye("el-tooltip"), l = Ye("el-button");
1491
- return r.value.tableIconType === "icon" || !r.value.tableIconType ? (k(), T("span", oa, [
1492
- r.value.notip || !r.value.title ? (k(), T(
1491
+ return r.value.tableIconType === "icon" || !r.value.tableIconType ? (k(), E("span", oa, [
1492
+ r.value.notip || !r.value.title ? (k(), E(
1493
1493
  "i",
1494
1494
  {
1495
1495
  key: 0,
@@ -1509,8 +1509,8 @@ const aa = Le(sa), oa = {
1509
1509
  style: re(e.value)
1510
1510
  },
1511
1511
  [
1512
- I(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
1513
- t.value === "iksig" ? (k(), T(
1512
+ x(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
1513
+ t.value === "iksig" ? (k(), E(
1514
1514
  "i",
1515
1515
  {
1516
1516
  key: 0,
@@ -1520,15 +1520,15 @@ const aa = Le(sa), oa = {
1520
1520
  null,
1521
1521
  6
1522
1522
  /* CLASS, STYLE */
1523
- )) : t.value === "svg" ? (k(), T("svg", la, [
1523
+ )) : t.value === "svg" ? (k(), E("svg", la, [
1524
1524
  w("use", {
1525
1525
  "xlink:href": `#${r.value.name}`
1526
1526
  }, null, 8, ua)
1527
- ])) : t.value === "img" ? (k(), T("img", {
1527
+ ])) : t.value === "img" ? (k(), E("img", {
1528
1528
  key: 2,
1529
1529
  src: r.value.name,
1530
1530
  class: "h-[1em] w-[1em]"
1531
- }, null, 8, ca)) : (k(), T(
1531
+ }, null, 8, ca)) : (k(), E(
1532
1532
  "i",
1533
1533
  {
1534
1534
  key: 3,
@@ -1542,7 +1542,7 @@ const aa = Le(sa), oa = {
1542
1542
  ],
1543
1543
  6
1544
1544
  /* CLASS, STYLE */
1545
- )) : (k(), ve(s, {
1545
+ )) : (k(), ue(s, {
1546
1546
  key: 1,
1547
1547
  content: r.value.title,
1548
1548
  placement: "top"
@@ -1566,7 +1566,7 @@ const aa = Le(sa), oa = {
1566
1566
  style: re(e.value)
1567
1567
  },
1568
1568
  [
1569
- t.value === "iksig" ? (k(), T(
1569
+ t.value === "iksig" ? (k(), E(
1570
1570
  "i",
1571
1571
  {
1572
1572
  key: 0,
@@ -1576,15 +1576,15 @@ const aa = Le(sa), oa = {
1576
1576
  null,
1577
1577
  6
1578
1578
  /* CLASS, STYLE */
1579
- )) : t.value === "svg" ? (k(), T("svg", fa, [
1579
+ )) : t.value === "svg" ? (k(), E("svg", fa, [
1580
1580
  w("use", {
1581
1581
  "xlink:href": `#${r.value.name}`
1582
1582
  }, null, 8, ha)
1583
- ])) : t.value === "img" ? (k(), T("img", {
1583
+ ])) : t.value === "img" ? (k(), E("img", {
1584
1584
  key: 2,
1585
1585
  src: r.value.name,
1586
1586
  class: "h-[1em] w-[1em]"
1587
- }, null, 8, da)) : (k(), T(
1587
+ }, null, 8, da)) : (k(), E(
1588
1588
  "i",
1589
1589
  {
1590
1590
  key: 3,
@@ -1603,7 +1603,7 @@ const aa = Le(sa), oa = {
1603
1603
  _: 1
1604
1604
  /* STABLE */
1605
1605
  }, 8, ["content"]))
1606
- ])) : (k(), ve(l, {
1606
+ ])) : (k(), ue(l, {
1607
1607
  key: 1,
1608
1608
  type: ["warning", "error"].includes(r.value.type) ? "danger" : ""
1609
1609
  }, {
@@ -1620,7 +1620,7 @@ const aa = Le(sa), oa = {
1620
1620
  };
1621
1621
  }
1622
1622
  });
1623
- const pa = /* @__PURE__ */ Ft(ga, [["__scopeId", "data-v-52806adf"]]), We = Le(pa), va = /* @__PURE__ */ ee({
1623
+ const pa = /* @__PURE__ */ Ft(ga, [["__scopeId", "data-v-52806adf"]]), We = Le(pa), va = /* @__PURE__ */ te({
1624
1624
  __name: "CloseIcon",
1625
1625
  props: {
1626
1626
  showBg: {
@@ -1633,13 +1633,13 @@ const pa = /* @__PURE__ */ Ft(ga, [["__scopeId", "data-v-52806adf"]]), We = Le(p
1633
1633
  }
1634
1634
  },
1635
1635
  setup(a) {
1636
- return (o, r) => (k(), T(
1636
+ return (o, r) => (k(), E(
1637
1637
  "div",
1638
1638
  {
1639
1639
  class: K({ "exit-main-page-maximize": a.showBg && a.fullscreen })
1640
1640
  },
1641
1641
  [
1642
- $(x(We), {
1642
+ G(P(We), {
1643
1643
  name: "iksvg_guanbidanchuang",
1644
1644
  title: "关闭",
1645
1645
  size: 20,
@@ -1651,7 +1651,7 @@ const pa = /* @__PURE__ */ Ft(ga, [["__scopeId", "data-v-52806adf"]]), We = Le(p
1651
1651
  ));
1652
1652
  }
1653
1653
  });
1654
- const ma = /* @__PURE__ */ Ft(va, [["__scopeId", "data-v-da39e979"]]), ya = { class: "base-header" }, _a = /* @__PURE__ */ ee({
1654
+ const ma = /* @__PURE__ */ Ft(va, [["__scopeId", "data-v-da39e979"]]), ya = { class: "base-header" }, _a = /* @__PURE__ */ te({
1655
1655
  __name: "IkBaseDialog",
1656
1656
  props: /* @__PURE__ */ Tt({
1657
1657
  title: { default: "" },
@@ -1672,9 +1672,9 @@ const ma = /* @__PURE__ */ Ft(va, [["__scopeId", "data-v-da39e979"]]), ya = { cl
1672
1672
  }),
1673
1673
  emits: ["update:modelValue"],
1674
1674
  setup(a) {
1675
- const o = a, r = hi(a, "modelValue"), t = pe(o.fullscreen), e = () => {
1675
+ const o = a, r = hi(a, "modelValue"), t = ve(o.fullscreen), e = () => {
1676
1676
  t.value = !t.value;
1677
- }, i = ee({
1677
+ }, i = te({
1678
1678
  setup() {
1679
1679
  return () => lr(ma, {
1680
1680
  showBg: o.showCloseBg,
@@ -1684,12 +1684,12 @@ const ma = /* @__PURE__ */ Ft(va, [["__scopeId", "data-v-da39e979"]]), ya = { cl
1684
1684
  });
1685
1685
  return (n, s) => {
1686
1686
  const l = Ye("el-dialog");
1687
- return k(), ve(l, bn({
1687
+ return k(), ue(l, bn({
1688
1688
  modelValue: r.value,
1689
1689
  "onUpdate:modelValue": s[0] || (s[0] = (u) => r.value = u),
1690
1690
  "align-center": ""
1691
1691
  }, n.$attrs, {
1692
- "close-icon": x(i),
1692
+ "close-icon": P(i),
1693
1693
  class: `ik-base-dialog ${n.noHeader ? "no-header" : ""} ${n.noFooter ? "no-footer" : ""}`,
1694
1694
  fullscreen: t.value,
1695
1695
  "modal-class": "baseDialog"
@@ -1713,13 +1713,13 @@ const ma = /* @__PURE__ */ Ft(va, [["__scopeId", "data-v-da39e979"]]), ya = { cl
1713
1713
  )
1714
1714
  ])
1715
1715
  ]),
1716
- n.$attrs.showClose ? (k(), ve(x(We), {
1716
+ n.$attrs.showClose ? (k(), ue(P(We), {
1717
1717
  key: 0,
1718
1718
  onClick: e,
1719
1719
  name: t.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
1720
1720
  class: "absolute! top-[18px] right-[50px] icon-dialog-full",
1721
1721
  title: t.value ? "退出全屏" : "全屏"
1722
- }, null, 8, ["name", "title"])) : I("v-if", !0)
1722
+ }, null, 8, ["name", "title"])) : x("v-if", !0)
1723
1723
  ]),
1724
1724
  default: ne(() => [
1725
1725
  Ne(n.$slots, "default")
@@ -1870,7 +1870,7 @@ var Ta = function(a, o) {
1870
1870
  }, e.onerror = function(i) {
1871
1871
  e.removeAttribute("loading"), t(i);
1872
1872
  }, e.setAttribute("loading", ""), e;
1873
- }, pi = ee({
1873
+ }, pi = te({
1874
1874
  name: "DocumentEditor",
1875
1875
  props: {
1876
1876
  id: {
@@ -2041,11 +2041,11 @@ var Ta = function(a, o) {
2041
2041
  });
2042
2042
  const Ea = ["id"];
2043
2043
  function Sa(a, o, r, t, e, i) {
2044
- return k(), T("div", { id: a.id }, null, 8, Ea);
2044
+ return k(), E("div", { id: a.id }, null, 8, Ea);
2045
2045
  }
2046
2046
  pi.render = Sa;
2047
2047
  pi.__file = "src/components/DocumentEditor.vue";
2048
- const xa = /* @__PURE__ */ ee({
2048
+ const xa = /* @__PURE__ */ te({
2049
2049
  __name: "IkOnlyOffice",
2050
2050
  props: {
2051
2051
  // 文件服务器的服务的地址
@@ -2066,7 +2066,7 @@ const xa = /* @__PURE__ */ ee({
2066
2066
  }
2067
2067
  },
2068
2068
  setup(a) {
2069
- const o = a, r = pe({
2069
+ const o = a, r = ve({
2070
2070
  width: "100%",
2071
2071
  height: "100%",
2072
2072
  ...o.configOptions || {},
@@ -2074,13 +2074,13 @@ const xa = /* @__PURE__ */ ee({
2074
2074
  }), t = () => {
2075
2075
  console.info("文档加载完成", o.configOptions);
2076
2076
  };
2077
- return (e, i) => (k(), T(
2077
+ return (e, i) => (k(), E(
2078
2078
  "div",
2079
2079
  {
2080
2080
  style: re({ height: o.officeHeight })
2081
2081
  },
2082
2082
  [
2083
- $(x(pi), {
2083
+ G(P(pi), {
2084
2084
  id: `${(/* @__PURE__ */ new Date()).getTime()}`,
2085
2085
  ref: "editorRef",
2086
2086
  "document-server-url": a.documentServerUrl,
@@ -2098,7 +2098,7 @@ const An = typeof window < "u", Pa = (a) => typeof a == "string", Aa = () => {
2098
2098
  };
2099
2099
  An && ((Ui = window == null ? void 0 : window.navigator) != null && Ui.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
2100
2100
  function Ln(a) {
2101
- return typeof a == "function" ? a() : x(a);
2101
+ return typeof a == "function" ? a() : P(a);
2102
2102
  }
2103
2103
  function La(a) {
2104
2104
  return a;
@@ -2243,13 +2243,13 @@ const Ua = {
2243
2243
  close: () => !0,
2244
2244
  switch: (a) => ri.isNumber(a),
2245
2245
  rotate: (a) => ri.isNumber(a)
2246
- }, Va = ["src", "crossorigin"], ja = /* @__PURE__ */ ee({
2246
+ }, Va = ["src", "crossorigin"], ja = /* @__PURE__ */ te({
2247
2247
  name: "ElImageViewer",
2248
2248
  __name: "IkImageViewer",
2249
2249
  props: Ua,
2250
2250
  emits: za,
2251
2251
  setup(a, { expose: o, emit: r }) {
2252
- const t = (H) => Object.keys(H), e = {
2252
+ const t = (U) => Object.keys(U), e = {
2253
2253
  CONTAIN: {
2254
2254
  name: "contain",
2255
2255
  icon: Fi(Rs)
@@ -2258,30 +2258,30 @@ const Ua = {
2258
2258
  name: "original",
2259
2259
  icon: Fi(Us)
2260
2260
  }
2261
- }, i = a, n = r, { t: s } = wr(), l = In("image-viewer"), { nextZIndex: u } = br(), c = pe(), h = pe([]), g = hr(), p = pe(!0), d = pe(i.initialIndex), v = dr(e.CONTAIN), m = pe({
2261
+ }, i = a, n = r, { t: s } = wr(), l = In("image-viewer"), { nextZIndex: u } = br(), c = ve(), h = ve([]), g = hr(), p = ve(!0), d = ve(i.initialIndex), v = dr(e.CONTAIN), m = ve({
2262
2262
  scale: 1,
2263
2263
  deg: 0,
2264
2264
  offsetX: 0,
2265
2265
  offsetY: 0,
2266
2266
  enableTransition: !1
2267
- }), C = pe(i.zIndex ?? u()), S = Z(() => {
2268
- const { urlList: H } = i;
2269
- return H.length <= 1;
2270
- }), b = Z(() => d.value === 0), P = Z(() => d.value === i.urlList.length - 1), O = Z(() => i.urlList[d.value]), U = Z(() => [
2267
+ }), C = ve(i.zIndex ?? u()), S = Z(() => {
2268
+ const { urlList: U } = i;
2269
+ return U.length <= 1;
2270
+ }), b = Z(() => d.value === 0), B = Z(() => d.value === i.urlList.length - 1), I = Z(() => i.urlList[d.value]), H = Z(() => [
2271
2271
  l.e("btn"),
2272
2272
  l.e("prev"),
2273
2273
  l.is("disabled", !i.infinite && b.value)
2274
- ]), R = Z(() => [
2274
+ ]), O = Z(() => [
2275
2275
  l.e("btn"),
2276
2276
  l.e("next"),
2277
- l.is("disabled", !i.infinite && P.value)
2278
- ]), te = Z(() => {
2279
- const { scale: H, deg: G, offsetX: J, offsetY: me, enableTransition: ke } = m.value;
2280
- let Ce = J / H, De = me / H;
2281
- const ct = G * Math.PI / 180, Oi = Math.cos(ct), Ri = Math.sin(ct);
2282
- Ce = Ce * Oi + De * Ri, De = De * Oi - J / H * Ri;
2277
+ l.is("disabled", !i.infinite && B.value)
2278
+ ]), J = Z(() => {
2279
+ const { scale: U, deg: W, offsetX: Q, offsetY: me, enableTransition: ke } = m.value;
2280
+ let Ce = Q / U, De = me / U;
2281
+ const ct = W * Math.PI / 180, Oi = Math.cos(ct), Ri = Math.sin(ct);
2282
+ Ce = Ce * Oi + De * Ri, De = De * Oi - Q / U * Ri;
2283
2283
  const Vt = {
2284
- transform: `scale(${H}) rotate(${G}deg) translate(${Ce}px, ${De}px)`,
2284
+ transform: `scale(${U}) rotate(${W}deg) translate(${Ce}px, ${De}px)`,
2285
2285
  transition: ke ? "transform .3s" : ""
2286
2286
  };
2287
2287
  return v.value.name === e.CONTAIN.name && (Vt.maxWidth = Vt.maxHeight = "100%"), Vt;
@@ -2290,8 +2290,8 @@ const Ua = {
2290
2290
  ie(), n("close");
2291
2291
  }
2292
2292
  function A() {
2293
- const H = jt.throttle((J) => {
2294
- switch (J.code) {
2293
+ const U = jt.throttle((Q) => {
2294
+ switch (Q.code) {
2295
2295
  case Je.esc:
2296
2296
  i.closeOnPressEscape && q();
2297
2297
  break;
@@ -2311,40 +2311,40 @@ const Ua = {
2311
2311
  Ve("zoomOut");
2312
2312
  break;
2313
2313
  }
2314
- }), G = jt.throttle((J) => {
2315
- const me = J.deltaY || J.deltaX;
2314
+ }), W = jt.throttle((Q) => {
2315
+ const me = Q.deltaY || Q.deltaX;
2316
2316
  Ve(me < 0 ? "zoomIn" : "zoomOut", {
2317
2317
  zoomRate: i.zoomRate,
2318
2318
  enableTransition: !1
2319
2319
  });
2320
2320
  });
2321
2321
  g.run(() => {
2322
- yt(document, "keydown", H), yt(document, "wheel", G);
2322
+ yt(document, "keydown", U), yt(document, "wheel", W);
2323
2323
  });
2324
2324
  }
2325
2325
  function ie() {
2326
2326
  g.stop();
2327
2327
  }
2328
- function oe() {
2328
+ function ae() {
2329
2329
  p.value = !1;
2330
2330
  }
2331
- function fe(H) {
2332
- p.value = !1, H.target.alt = s("el.image.error");
2331
+ function he(U) {
2332
+ p.value = !1, U.target.alt = s("el.image.error");
2333
2333
  }
2334
- function Te(H) {
2335
- if (p.value || H.button !== 0 || !c.value)
2334
+ function Te(U) {
2335
+ if (p.value || U.button !== 0 || !c.value)
2336
2336
  return;
2337
2337
  m.value.enableTransition = !1;
2338
- const { offsetX: G, offsetY: J } = m.value, me = H.pageX, ke = H.pageY, Ce = jt.throttle((ct) => {
2338
+ const { offsetX: W, offsetY: Q } = m.value, me = U.pageX, ke = U.pageY, Ce = jt.throttle((ct) => {
2339
2339
  m.value = {
2340
2340
  ...m.value,
2341
- offsetX: G + ct.pageX - me,
2342
- offsetY: J + ct.pageY - ke
2341
+ offsetX: W + ct.pageX - me,
2342
+ offsetY: Q + ct.pageY - ke
2343
2343
  };
2344
2344
  }), De = yt(document, "mousemove", Ce);
2345
2345
  yt(document, "mouseup", () => {
2346
2346
  De();
2347
- }), H.preventDefault();
2347
+ }), U.preventDefault();
2348
2348
  }
2349
2349
  function Pi() {
2350
2350
  m.value = {
@@ -2358,31 +2358,31 @@ const Ua = {
2358
2358
  function Ai() {
2359
2359
  if (p.value)
2360
2360
  return;
2361
- const H = t(e), G = Object.values(e), J = v.value.name, ke = ((G == null ? void 0 : G.findIndex((Ce) => Ce.name === J)) + 1) % H.length;
2362
- v.value = e[H[ke]], Pi();
2361
+ const U = t(e), W = Object.values(e), Q = v.value.name, ke = ((W == null ? void 0 : W.findIndex((Ce) => Ce.name === Q)) + 1) % U.length;
2362
+ v.value = e[U[ke]], Pi();
2363
2363
  }
2364
- function zt(H) {
2365
- const G = i.urlList.length;
2366
- d.value = (H + G) % G;
2364
+ function zt(U) {
2365
+ const W = i.urlList.length;
2366
+ d.value = (U + W) % W;
2367
2367
  }
2368
2368
  function Li() {
2369
2369
  b.value && !i.infinite || zt(d.value - 1);
2370
2370
  }
2371
2371
  function Di() {
2372
- P.value && !i.infinite || zt(d.value + 1);
2372
+ B.value && !i.infinite || zt(d.value + 1);
2373
2373
  }
2374
- function Ve(H, G = {}) {
2374
+ function Ve(U, W = {}) {
2375
2375
  if (p.value)
2376
2376
  return;
2377
- const { minScale: J, maxScale: me } = i, { zoomRate: ke, rotateDeg: Ce, enableTransition: De } = {
2377
+ const { minScale: Q, maxScale: me } = i, { zoomRate: ke, rotateDeg: Ce, enableTransition: De } = {
2378
2378
  zoomRate: i.zoomRate,
2379
2379
  rotateDeg: 90,
2380
2380
  enableTransition: !0,
2381
- ...G
2381
+ ...W
2382
2382
  };
2383
- switch (H) {
2383
+ switch (U) {
2384
2384
  case "zoomOut":
2385
- m.value.scale > J && (m.value.scale = Number.parseFloat(
2385
+ m.value.scale > Q && (m.value.scale = Number.parseFloat(
2386
2386
  (m.value.scale / ke).toFixed(3)
2387
2387
  ));
2388
2388
  break;
@@ -2400,23 +2400,23 @@ const Ua = {
2400
2400
  }
2401
2401
  m.value.enableTransition = De;
2402
2402
  }
2403
- return ot(O, () => {
2403
+ return ot(I, () => {
2404
2404
  gt(() => {
2405
- const H = h.value[0];
2406
- H != null && H.complete || (p.value = !0);
2405
+ const U = h.value[0];
2406
+ U != null && U.complete || (p.value = !0);
2407
2407
  });
2408
- }), ot(d, (H) => {
2409
- Pi(), n("switch", H);
2408
+ }), ot(d, (U) => {
2409
+ Pi(), n("switch", U);
2410
2410
  }), Tn(() => {
2411
- var H, G;
2412
- A(), (G = (H = c.value) == null ? void 0 : H.focus) == null || G.call(H);
2411
+ var U, W;
2412
+ A(), (W = (U = c.value) == null ? void 0 : U.focus) == null || W.call(U);
2413
2413
  }), o({
2414
2414
  /**
2415
2415
  * @description manually switch image
2416
2416
  */
2417
2417
  setActiveItem: zt
2418
- }), (H, G) => (k(), ve(En, { to: "body" }, [
2419
- $(Sn, {
2418
+ }), (U, W) => (k(), ue(En, { to: "body" }, [
2419
+ G(Sn, {
2420
2420
  name: "viewer-fade",
2421
2421
  appear: ""
2422
2422
  }, {
@@ -2427,31 +2427,31 @@ const Ua = {
2427
2427
  ref_key: "wrapper",
2428
2428
  ref: c,
2429
2429
  tabindex: -1,
2430
- class: K(x(l).e("wrapper")),
2430
+ class: K(P(l).e("wrapper")),
2431
2431
  style: re({ zIndex: C.value })
2432
2432
  },
2433
2433
  [
2434
2434
  w(
2435
2435
  "div",
2436
2436
  {
2437
- class: K(x(l).e("mask")),
2438
- onClick: G[0] || (G[0] = bt((J) => H.hideOnClickModal && q(), ["self"]))
2437
+ class: K(P(l).e("mask")),
2438
+ onClick: W[0] || (W[0] = bt((Q) => U.hideOnClickModal && q(), ["self"]))
2439
2439
  },
2440
2440
  null,
2441
2441
  2
2442
2442
  /* CLASS */
2443
2443
  ),
2444
- I(" CLOSE "),
2444
+ x(" CLOSE "),
2445
2445
  w(
2446
2446
  "span",
2447
2447
  {
2448
- class: K([x(l).e("btn"), x(l).e("close")]),
2448
+ class: K([P(l).e("btn"), P(l).e("close")]),
2449
2449
  onClick: q
2450
2450
  },
2451
2451
  [
2452
- $(x(Oe), null, {
2452
+ G(P(Oe), null, {
2453
2453
  default: ne(() => [
2454
- $(x(Pn))
2454
+ G(P(Pn))
2455
2455
  ]),
2456
2456
  _: 1
2457
2457
  /* STABLE */
@@ -2460,21 +2460,21 @@ const Ua = {
2460
2460
  2
2461
2461
  /* CLASS */
2462
2462
  ),
2463
- I(" ARROW "),
2464
- S.value ? I("v-if", !0) : (k(), T(
2465
- ae,
2463
+ x(" ARROW "),
2464
+ S.value ? x("v-if", !0) : (k(), E(
2465
+ le,
2466
2466
  { key: 0 },
2467
2467
  [
2468
2468
  w(
2469
2469
  "span",
2470
2470
  {
2471
- class: K(U.value),
2471
+ class: K(H.value),
2472
2472
  onClick: Li
2473
2473
  },
2474
2474
  [
2475
- $(x(Oe), null, {
2475
+ G(P(Oe), null, {
2476
2476
  default: ne(() => [
2477
- $(x(Ps))
2477
+ G(P(Ps))
2478
2478
  ]),
2479
2479
  _: 1
2480
2480
  /* STABLE */
@@ -2486,13 +2486,13 @@ const Ua = {
2486
2486
  w(
2487
2487
  "span",
2488
2488
  {
2489
- class: K(R.value),
2489
+ class: K(O.value),
2490
2490
  onClick: Di
2491
2491
  },
2492
2492
  [
2493
- $(x(Oe), null, {
2493
+ G(P(Oe), null, {
2494
2494
  default: ne(() => [
2495
- $(x(Ls))
2495
+ G(P(Ls))
2496
2496
  ]),
2497
2497
  _: 1
2498
2498
  /* STABLE */
@@ -2505,33 +2505,33 @@ const Ua = {
2505
2505
  64
2506
2506
  /* STABLE_FRAGMENT */
2507
2507
  )),
2508
- I(" ACTIONS "),
2508
+ x(" ACTIONS "),
2509
2509
  w(
2510
2510
  "div",
2511
2511
  {
2512
- class: K([x(l).e("btn"), x(l).e("actions")])
2512
+ class: K([P(l).e("btn"), P(l).e("actions")])
2513
2513
  },
2514
2514
  [
2515
2515
  w(
2516
2516
  "div",
2517
2517
  {
2518
- class: K(x(l).e("actions__inner"))
2518
+ class: K(P(l).e("actions__inner"))
2519
2519
  },
2520
2520
  [
2521
- $(x(Oe), {
2522
- onClick: G[1] || (G[1] = (J) => Ve("zoomOut"))
2521
+ G(P(Oe), {
2522
+ onClick: W[1] || (W[1] = (Q) => Ve("zoomOut"))
2523
2523
  }, {
2524
2524
  default: ne(() => [
2525
- $(x($s))
2525
+ G(P($s))
2526
2526
  ]),
2527
2527
  _: 1
2528
2528
  /* STABLE */
2529
2529
  }),
2530
- $(x(Oe), {
2531
- onClick: G[2] || (G[2] = (J) => Ve("zoomIn"))
2530
+ G(P(Oe), {
2531
+ onClick: W[2] || (W[2] = (Q) => Ve("zoomIn"))
2532
2532
  }, {
2533
2533
  default: ne(() => [
2534
- $(x(Vs))
2534
+ G(P(Vs))
2535
2535
  ]),
2536
2536
  _: 1
2537
2537
  /* STABLE */
@@ -2539,15 +2539,15 @@ const Ua = {
2539
2539
  w(
2540
2540
  "i",
2541
2541
  {
2542
- class: K(x(l).e("actions__divider"))
2542
+ class: K(P(l).e("actions__divider"))
2543
2543
  },
2544
2544
  null,
2545
2545
  2
2546
2546
  /* CLASS */
2547
2547
  ),
2548
- $(x(Oe), { onClick: Ai }, {
2548
+ G(P(Oe), { onClick: Ai }, {
2549
2549
  default: ne(() => [
2550
- (k(), ve(gr(v.value.icon)))
2550
+ (k(), ue(gr(v.value.icon)))
2551
2551
  ]),
2552
2552
  _: 1
2553
2553
  /* STABLE */
@@ -2555,26 +2555,26 @@ const Ua = {
2555
2555
  w(
2556
2556
  "i",
2557
2557
  {
2558
- class: K(x(l).e("actions__divider"))
2558
+ class: K(P(l).e("actions__divider"))
2559
2559
  },
2560
2560
  null,
2561
2561
  2
2562
2562
  /* CLASS */
2563
2563
  ),
2564
- $(x(Oe), {
2565
- onClick: G[3] || (G[3] = (J) => Ve("anticlockwise"))
2564
+ G(P(Oe), {
2565
+ onClick: W[3] || (W[3] = (Q) => Ve("anticlockwise"))
2566
2566
  }, {
2567
2567
  default: ne(() => [
2568
- $(x(Ms))
2568
+ G(P(Ms))
2569
2569
  ]),
2570
2570
  _: 1
2571
2571
  /* STABLE */
2572
2572
  }),
2573
- $(x(Oe), {
2574
- onClick: G[4] || (G[4] = (J) => Ve("clockwise"))
2573
+ G(P(Oe), {
2574
+ onClick: W[4] || (W[4] = (Q) => Ve("clockwise"))
2575
2575
  }, {
2576
2576
  default: ne(() => [
2577
- $(x(Bs))
2577
+ G(P(Bs))
2578
2578
  ]),
2579
2579
  _: 1
2580
2580
  /* STABLE */
@@ -2587,26 +2587,26 @@ const Ua = {
2587
2587
  2
2588
2588
  /* CLASS */
2589
2589
  ),
2590
- I(" CANVAS "),
2590
+ x(" CANVAS "),
2591
2591
  w(
2592
2592
  "div",
2593
2593
  {
2594
- class: K(x(l).e("canvas"))
2594
+ class: K(P(l).e("canvas"))
2595
2595
  },
2596
2596
  [
2597
- (k(!0), T(
2598
- ae,
2597
+ (k(!0), E(
2598
+ le,
2599
2599
  null,
2600
- Se(H.urlList, (J, me) => pr((k(), T("img", {
2600
+ Se(U.urlList, (Q, me) => pr((k(), E("img", {
2601
2601
  ref_for: !0,
2602
2602
  ref: (ke) => h.value[me] = ke,
2603
- key: J,
2604
- src: J,
2605
- style: re(te.value),
2606
- class: K(x(l).e("img")),
2607
- crossorigin: H.crossorigin,
2608
- onLoad: oe,
2609
- onError: fe,
2603
+ key: Q,
2604
+ src: Q,
2605
+ style: re(J.value),
2606
+ class: K(P(l).e("img")),
2607
+ crossorigin: U.crossorigin,
2608
+ onLoad: ae,
2609
+ onError: he,
2610
2610
  onMousedown: Te
2611
2611
  }, null, 46, Va)), [
2612
2612
  [vr, me === d.value]
@@ -2618,7 +2618,7 @@ const Ua = {
2618
2618
  2
2619
2619
  /* CLASS */
2620
2620
  ),
2621
- Ne(H.$slots, "default")
2621
+ Ne(U.$slots, "default")
2622
2622
  ],
2623
2623
  6
2624
2624
  /* CLASS, STYLE */
@@ -2640,7 +2640,7 @@ function Gi(a, o) {
2640
2640
  }
2641
2641
  return r;
2642
2642
  }
2643
- function Q(a) {
2643
+ function ee(a) {
2644
2644
  for (var o = 1; o < arguments.length; o++) {
2645
2645
  var r = arguments[o] != null ? arguments[o] : {};
2646
2646
  o % 2 ? Gi(Object(r), !0).forEach(function(t) {
@@ -2651,13 +2651,13 @@ function Q(a) {
2651
2651
  }
2652
2652
  return a;
2653
2653
  }
2654
- function ue(a) {
2654
+ function ce(a) {
2655
2655
  "@babel/helpers - typeof";
2656
- return ue = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
2656
+ return ce = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
2657
2657
  return typeof o;
2658
2658
  } : function(o) {
2659
2659
  return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
2660
- }, ue(a);
2660
+ }, ce(a);
2661
2661
  }
2662
2662
  function L(a, o) {
2663
2663
  if (!(a instanceof o))
@@ -2682,7 +2682,7 @@ function _(a, o, r) {
2682
2682
  writable: !0
2683
2683
  }) : a[o] = r, a;
2684
2684
  }
2685
- function F(a, o) {
2685
+ function R(a, o) {
2686
2686
  if (typeof o != "function" && o !== null)
2687
2687
  throw new TypeError("Super expression must either be null or a function");
2688
2688
  a.prototype = Object.create(o && o.prototype, {
@@ -2695,10 +2695,10 @@ function F(a, o) {
2695
2695
  writable: !1
2696
2696
  }), o && ai(a, o);
2697
2697
  }
2698
- function N(a) {
2699
- return N = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(r) {
2698
+ function M(a) {
2699
+ return M = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(r) {
2700
2700
  return r.__proto__ || Object.getPrototypeOf(r);
2701
- }, N(a);
2701
+ }, M(a);
2702
2702
  }
2703
2703
  function ai(a, o) {
2704
2704
  return ai = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
@@ -2729,12 +2729,12 @@ function vi(a, o) {
2729
2729
  throw new TypeError("Derived constructors may only return object or undefined");
2730
2730
  return y(a);
2731
2731
  }
2732
- function M(a) {
2732
+ function F(a) {
2733
2733
  var o = Wa();
2734
2734
  return function() {
2735
- var t = N(a), e;
2735
+ var t = M(a), e;
2736
2736
  if (o) {
2737
- var i = N(this).constructor;
2737
+ var i = M(this).constructor;
2738
2738
  e = Reflect.construct(t, arguments, i);
2739
2739
  } else
2740
2740
  e = t.apply(this, arguments);
@@ -2742,18 +2742,18 @@ function M(a) {
2742
2742
  };
2743
2743
  }
2744
2744
  function Ga(a, o) {
2745
- for (; !Object.prototype.hasOwnProperty.call(a, o) && (a = N(a), a !== null); )
2745
+ for (; !Object.prototype.hasOwnProperty.call(a, o) && (a = M(a), a !== null); )
2746
2746
  ;
2747
2747
  return a;
2748
2748
  }
2749
- function B() {
2750
- return typeof Reflect < "u" && Reflect.get ? B = Reflect.get.bind() : B = function(o, r, t) {
2749
+ function N() {
2750
+ return typeof Reflect < "u" && Reflect.get ? N = Reflect.get.bind() : N = function(o, r, t) {
2751
2751
  var e = Ga(o, r);
2752
2752
  if (e) {
2753
2753
  var i = Object.getOwnPropertyDescriptor(e, r);
2754
2754
  return i.get ? i.get.call(arguments.length < 3 ? o : t) : i.value;
2755
2755
  }
2756
- }, B.apply(this, arguments);
2756
+ }, N.apply(this, arguments);
2757
2757
  }
2758
2758
  function ye(a) {
2759
2759
  return Ka(a) || Ya(a) || Xa(a) || qa();
@@ -2867,8 +2867,8 @@ var On = { exports: {} };
2867
2867
  S[b - 1] = arguments[b];
2868
2868
  m.fn.apply(m.context, S);
2869
2869
  } else {
2870
- var P = m.length, O;
2871
- for (b = 0; b < P; b++)
2870
+ var B = m.length, I;
2871
+ for (b = 0; b < B; b++)
2872
2872
  switch (m[b].once && this.removeListener(u, m[b].fn, void 0, !0), C) {
2873
2873
  case 1:
2874
2874
  m[b].fn.call(m[b].context);
@@ -2884,8 +2884,8 @@ var On = { exports: {} };
2884
2884
  break;
2885
2885
  default:
2886
2886
  if (!S)
2887
- for (O = 1, S = new Array(C - 1); O < C; O++)
2888
- S[O - 1] = arguments[O];
2887
+ for (I = 1, S = new Array(C - 1); I < C; I++)
2888
+ S[I - 1] = arguments[I];
2889
2889
  m[b].fn.apply(m[b].context, S);
2890
2890
  }
2891
2891
  }
@@ -2995,7 +2995,7 @@ f.hasClass = function(a, o) {
2995
2995
  return t === o;
2996
2996
  });
2997
2997
  } catch {
2998
- var r = a.className && ue(a.className) === "object" ? a.getAttribute("class") : a.className;
2998
+ var r = a.className && ce(a.className) === "object" ? a.getAttribute("class") : a.className;
2999
2999
  return r && !!r.match(new RegExp("(\\s|^)" + o + "(\\s|$)"));
3000
3000
  }
3001
3001
  };
@@ -3006,7 +3006,7 @@ f.addClass = function(a, o) {
3006
3006
  r && a.classList.add(r);
3007
3007
  });
3008
3008
  } catch {
3009
- f.hasClass(a, o) || (a.className && ue(a.className) === "object" ? a.setAttribute("class", a.getAttribute("class") + " " + o) : a.className += " " + o);
3009
+ f.hasClass(a, o) || (a.className && ce(a.className) === "object" ? a.setAttribute("class", a.getAttribute("class") + " " + o) : a.className += " " + o);
3010
3010
  }
3011
3011
  };
3012
3012
  f.removeClass = function(a, o) {
@@ -3018,7 +3018,7 @@ f.removeClass = function(a, o) {
3018
3018
  } catch {
3019
3019
  f.hasClass(a, o) && o.split(/\s+/g).forEach(function(t) {
3020
3020
  var e = new RegExp("(\\s|^)" + t + "(\\s|$)");
3021
- a.className && ue(a.className) === "object" ? a.setAttribute("class", a.getAttribute("class").replace(e, " ")) : a.className = a.className.replace(e, " ");
3021
+ a.className && ce(a.className) === "object" ? a.setAttribute("class", a.getAttribute("class").replace(e, " ")) : a.className = a.className.replace(e, " ");
3022
3022
  });
3023
3023
  }
3024
3024
  };
@@ -3162,7 +3162,7 @@ f.checkIsFunction = function(a) {
3162
3162
  return a && typeof a == "function";
3163
3163
  };
3164
3164
  f.checkIsObject = function(a) {
3165
- return a !== null && ue(a) === "object";
3165
+ return a !== null && ce(a) === "object";
3166
3166
  };
3167
3167
  f.hide = function(a) {
3168
3168
  a.style.display = "none";
@@ -3392,7 +3392,7 @@ f.getCurrentTimeByOffset = function(a, o) {
3392
3392
  return a;
3393
3393
  };
3394
3394
  function Mn(a) {
3395
- var o = ue(a);
3395
+ var o = ce(a);
3396
3396
  return a !== null && (o === "object" || o === "function");
3397
3397
  }
3398
3398
  function io(a, o, r) {
@@ -3401,8 +3401,8 @@ function io(a, o, r) {
3401
3401
  throw new TypeError("Expected a function");
3402
3402
  o = +o || 0, Mn(r) && (c = !!r.leading, h = "maxWait" in r, i = h ? Math.max(+r.maxWait || 0, o) : i, g = "trailing" in r ? !!r.trailing : g);
3403
3403
  function d(A) {
3404
- var ie = t, oe = e;
3405
- return t = e = void 0, u = A, n = a.apply(oe, ie), n;
3404
+ var ie = t, ae = e;
3405
+ return t = e = void 0, u = A, n = a.apply(ae, ie), n;
3406
3406
  }
3407
3407
  function v(A, ie) {
3408
3408
  return p ? (window.cancelAnimationFrame(s), window.requestAnimationFrame(A)) : setTimeout(A, ie);
@@ -3413,46 +3413,46 @@ function io(a, o, r) {
3413
3413
  clearTimeout(A);
3414
3414
  }
3415
3415
  function C(A) {
3416
- return u = A, s = v(P, o), c ? d(A) : n;
3416
+ return u = A, s = v(B, o), c ? d(A) : n;
3417
3417
  }
3418
3418
  function S(A) {
3419
- var ie = A - l, oe = A - u, fe = o - ie;
3420
- return h ? Math.min(fe, i - oe) : fe;
3419
+ var ie = A - l, ae = A - u, he = o - ie;
3420
+ return h ? Math.min(he, i - ae) : he;
3421
3421
  }
3422
3422
  function b(A) {
3423
- var ie = A - l, oe = A - u;
3424
- return l === void 0 || ie >= o || ie < 0 || h && oe >= i;
3423
+ var ie = A - l, ae = A - u;
3424
+ return l === void 0 || ie >= o || ie < 0 || h && ae >= i;
3425
3425
  }
3426
- function P() {
3426
+ function B() {
3427
3427
  var A = Date.now();
3428
3428
  if (b(A))
3429
- return O(A);
3430
- s = v(P, S(A));
3429
+ return I(A);
3430
+ s = v(B, S(A));
3431
3431
  }
3432
- function O(A) {
3432
+ function I(A) {
3433
3433
  return s = void 0, g && t ? d(A) : (t = e = void 0, n);
3434
3434
  }
3435
- function U() {
3435
+ function H() {
3436
3436
  s !== void 0 && m(s), u = 0, t = l = e = s = void 0;
3437
3437
  }
3438
- function R() {
3439
- return s === void 0 ? n : O(Date.now());
3438
+ function O() {
3439
+ return s === void 0 ? n : I(Date.now());
3440
3440
  }
3441
- function te() {
3441
+ function J() {
3442
3442
  return s !== void 0;
3443
3443
  }
3444
3444
  function q() {
3445
- for (var A = Date.now(), ie = b(A), oe = arguments.length, fe = new Array(oe), Te = 0; Te < oe; Te++)
3446
- fe[Te] = arguments[Te];
3447
- if (t = fe, e = this, l = A, ie) {
3445
+ for (var A = Date.now(), ie = b(A), ae = arguments.length, he = new Array(ae), Te = 0; Te < ae; Te++)
3446
+ he[Te] = arguments[Te];
3447
+ if (t = he, e = this, l = A, ie) {
3448
3448
  if (s === void 0)
3449
3449
  return C(l);
3450
3450
  if (h)
3451
- return s = v(P, o), d(l);
3451
+ return s = v(B, o), d(l);
3452
3452
  }
3453
- return s === void 0 && (s = v(P, o)), n;
3453
+ return s === void 0 && (s = v(B, o)), n;
3454
3454
  }
3455
- return q.cancel = U, q.flush = R, q.pending = te, q;
3455
+ return q.cancel = H, q.flush = O, q.pending = J, q;
3456
3456
  }
3457
3457
  function no(a, o, r) {
3458
3458
  var t = !0, e = !0;
@@ -3635,7 +3635,7 @@ var Yi = {
3635
3635
  return v.ex = t ? (t[arguments[0]] || {}).msg : "", v;
3636
3636
  }
3637
3637
  }
3638
- ), ge = "play", mi = "playing", Xe = "ended", ut = "pause", vt = "error", Mt = "seeking", Pe = "seeked", de = "timeupdate", mt = "waiting", Ie = "canplay", oo = "canplaythrough", Ue = "durationchange", Nn = "volumechange", Ae = "loadeddata", lo = "loadedmetadata", Bn = "ratechange", Hn = "progress", yi = "loadstart", qe = "emptied", uo = "stalled", co = "suspend", fo = "abort", ho = "bufferedChange", _i = "focus", Un = "blur", ki = "ready", zn = "urlNull", Ke = "autoplay_started", Ci = "autoplay_was_prevented", Nt = "complete", St = "replay", wi = "destroy", Bt = "urlchange", ui = "download_speed_change", Vn = "leaveplayer", jn = "enterplayer", $n = "loading", Ee = "fullscreen_change", xt = "cssFullscreen_change", It = "mini_state_change", bi = "definition_change", go = "before_definition_change", ci = "after_definition_change", po = "SEI_PARSED", vo = "retry", Be = "video_resize", fi = "pip_change", Wn = "rotate", Gn = "screenShot", Pt = "playnext", Kn = "shortcut", Yn = "xglog", At = "user_action", Ht = "reset", Xn = "source_error", qn = "source_success", mo = "switch_subtitle", Zn = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], Jn = {
3638
+ ), pe = "play", mi = "playing", Xe = "ended", ut = "pause", vt = "error", Mt = "seeking", Pe = "seeked", ge = "timeupdate", mt = "waiting", Ie = "canplay", oo = "canplaythrough", Ue = "durationchange", Nn = "volumechange", Ae = "loadeddata", lo = "loadedmetadata", Bn = "ratechange", Hn = "progress", yi = "loadstart", qe = "emptied", uo = "stalled", co = "suspend", fo = "abort", ho = "bufferedChange", _i = "focus", Un = "blur", ki = "ready", zn = "urlNull", Ke = "autoplay_started", Ci = "autoplay_was_prevented", Nt = "complete", St = "replay", wi = "destroy", Bt = "urlchange", ui = "download_speed_change", Vn = "leaveplayer", jn = "enterplayer", $n = "loading", Ee = "fullscreen_change", xt = "cssFullscreen_change", It = "mini_state_change", bi = "definition_change", go = "before_definition_change", ci = "after_definition_change", po = "SEI_PARSED", vo = "retry", Be = "video_resize", fi = "pip_change", Wn = "rotate", Gn = "screenShot", Pt = "playnext", Kn = "shortcut", Yn = "xglog", At = "user_action", Ht = "reset", Xn = "source_error", qn = "source_success", mo = "switch_subtitle", Zn = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], Jn = {
3639
3639
  STATS_INFO: "stats_info",
3640
3640
  STATS_DOWNLOAD: "stats_download",
3641
3641
  STATS_RESET: "stats_reset"
@@ -3670,7 +3670,7 @@ const yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3670
3670
  MINI_STATE_CHANGE: It,
3671
3671
  PAUSE: ut,
3672
3672
  PIP_CHANGE: fi,
3673
- PLAY: ge,
3673
+ PLAY: pe,
3674
3674
  PLAYER_BLUR: Un,
3675
3675
  PLAYER_FOCUS: _i,
3676
3676
  PLAYING: mi,
@@ -3693,7 +3693,7 @@ const yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3693
3693
  STATS_EVENTS: Jn,
3694
3694
  SUSPEND: co,
3695
3695
  SWITCH_SUBTITLE: mo,
3696
- TIME_UPDATE: de,
3696
+ TIME_UPDATE: ge,
3697
3697
  URL_CHANGE: Bt,
3698
3698
  URL_NULL: zn,
3699
3699
  USER_ACTION: At,
@@ -3742,8 +3742,8 @@ function _o(a, o) {
3742
3742
  };
3743
3743
  }
3744
3744
  var ko = /* @__PURE__ */ function(a) {
3745
- F(r, a);
3746
- var o = M(r);
3745
+ R(r, a);
3746
+ var o = F(r);
3747
3747
  function r(t) {
3748
3748
  var e;
3749
3749
  L(this, r), e = o.call(this, t), e._hasStart = !1, e._currentTime = 0, e._duration = 0, e._internalOp = {}, e._lastMuted = !1, e.vtype = "MP4", e._rate = -1, e.mediaConfig = Object.assign({}, {
@@ -4130,33 +4130,33 @@ var ko = /* @__PURE__ */ function(a) {
4130
4130
  value: function(e, i) {
4131
4131
  for (var n, s = arguments.length, l = new Array(s > 2 ? s - 2 : 0), u = 2; u < s; u++)
4132
4132
  l[u - 2] = arguments[u];
4133
- (n = B(N(r.prototype), "emit", this)).call.apply(n, [this, e, i].concat(l));
4133
+ (n = N(M(r.prototype), "emit", this)).call.apply(n, [this, e, i].concat(l));
4134
4134
  }
4135
4135
  }, {
4136
4136
  key: "on",
4137
4137
  value: function(e, i) {
4138
4138
  for (var n, s = arguments.length, l = new Array(s > 2 ? s - 2 : 0), u = 2; u < s; u++)
4139
4139
  l[u - 2] = arguments[u];
4140
- (n = B(N(r.prototype), "on", this)).call.apply(n, [this, e, i].concat(l));
4140
+ (n = N(M(r.prototype), "on", this)).call.apply(n, [this, e, i].concat(l));
4141
4141
  }
4142
4142
  }, {
4143
4143
  key: "once",
4144
4144
  value: function(e, i) {
4145
4145
  for (var n, s = arguments.length, l = new Array(s > 2 ? s - 2 : 0), u = 2; u < s; u++)
4146
4146
  l[u - 2] = arguments[u];
4147
- (n = B(N(r.prototype), "once", this)).call.apply(n, [this, e, i].concat(l));
4147
+ (n = N(M(r.prototype), "once", this)).call.apply(n, [this, e, i].concat(l));
4148
4148
  }
4149
4149
  }, {
4150
4150
  key: "off",
4151
4151
  value: function(e, i) {
4152
4152
  for (var n, s = arguments.length, l = new Array(s > 2 ? s - 2 : 0), u = 2; u < s; u++)
4153
4153
  l[u - 2] = arguments[u];
4154
- (n = B(N(r.prototype), "off", this)).call.apply(n, [this, e, i].concat(l));
4154
+ (n = N(M(r.prototype), "off", this)).call.apply(n, [this, e, i].concat(l));
4155
4155
  }
4156
4156
  }, {
4157
4157
  key: "offAll",
4158
4158
  value: function() {
4159
- B(N(r.prototype), "removeAllListeners", this).call(this);
4159
+ N(M(r.prototype), "removeAllListeners", this).call(this);
4160
4160
  }
4161
4161
  }]), r;
4162
4162
  }(Fn), Co = /* @__PURE__ */ function() {
@@ -4458,7 +4458,7 @@ var He = /* @__PURE__ */ function() {
4458
4458
  value: function(r, t) {
4459
4459
  var e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
4460
4460
  if (this.player) {
4461
- var i = Q(Q({}, e), {}, {
4461
+ var i = ee(ee({}, e), {}, {
4462
4462
  pluginName: this.pluginName
4463
4463
  });
4464
4464
  this.player.emitUserAction(r, t, i);
@@ -4577,10 +4577,10 @@ function Xt(a) {
4577
4577
  return a ? a.indexOf && /^(?:http|data:|\/)/.test(a) : !1;
4578
4578
  }
4579
4579
  function Ao(a, o) {
4580
- return ue(a) === "object" && a.class && typeof a.class == "string" ? "".concat(o, " ").concat(a.class) : o;
4580
+ return ce(a) === "object" && a.class && typeof a.class == "string" ? "".concat(o, " ").concat(a.class) : o;
4581
4581
  }
4582
4582
  function Lo(a, o) {
4583
- return ue(a) === "object" && a.attr && ue(a.attr) === "object" && Object.keys(a.attr).map(function(r) {
4583
+ return ce(a) === "object" && a.attr && ce(a.attr) === "object" && Object.keys(a.attr).map(function(r) {
4584
4584
  o[r] = a.attr[r];
4585
4585
  }), o;
4586
4586
  }
@@ -4619,9 +4619,9 @@ function Oo(a, o) {
4619
4619
  });
4620
4620
  });
4621
4621
  }
4622
- var W = /* @__PURE__ */ function(a) {
4623
- F(r, a);
4624
- var o = M(r);
4622
+ var $ = /* @__PURE__ */ function(a) {
4623
+ R(r, a);
4624
+ var o = F(r);
4625
4625
  function r() {
4626
4626
  var t, e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4627
4627
  return L(this, r), t = o.call(this, e), t.__delegates = [], t;
@@ -4629,7 +4629,7 @@ var W = /* @__PURE__ */ function(a) {
4629
4629
  return D(r, [{
4630
4630
  key: "__init",
4631
4631
  value: function(e) {
4632
- if (B(N(r.prototype), "__init", this).call(this, e), !!e.root) {
4632
+ if (N(M(r.prototype), "__init", this).call(this, e), !!e.root) {
4633
4633
  var i = e.root, n = null;
4634
4634
  this.icons = {}, this.root = null, this.parent = null;
4635
4635
  var s = this.registerIcons() || {};
@@ -4660,11 +4660,11 @@ var W = /* @__PURE__ */ function(a) {
4660
4660
  if (this.root) {
4661
4661
  this._children = [];
4662
4662
  var i = this.children();
4663
- i && ue(i) === "object" && Object.keys(i).length > 0 && Object.keys(i).map(function(n) {
4663
+ i && ce(i) === "object" && Object.keys(i).length > 0 && Object.keys(i).map(function(n) {
4664
4664
  var s = n, l = i[s], u = {
4665
4665
  root: e.root
4666
4666
  }, c, h;
4667
- typeof l == "function" ? (c = e.config[s] || {}, h = l) : ue(l) === "object" && typeof l.plugin == "function" && (c = l.options ? f.deepCopy(e.config[s] || {}, l.options) : e.config[s] || {}, h = l.plugin), u.config = c, c.index !== void 0 && (u.index = c.index), c.root && (u.root = c.root), e.registerPlugin(h, u, s);
4667
+ typeof l == "function" ? (c = e.config[s] || {}, h = l) : ce(l) === "object" && typeof l.plugin == "function" && (c = l.options ? f.deepCopy(e.config[s] || {}, l.options) : e.config[s] || {}, h = l.plugin), u.config = c, c.index !== void 0 && (u.index = c.index), c.root && (u.root = c.root), e.registerPlugin(h, u, s);
4668
4668
  });
4669
4669
  }
4670
4670
  }
@@ -4723,7 +4723,7 @@ var W = /* @__PURE__ */ function(a) {
4723
4723
  value: function(e) {
4724
4724
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "";
4725
4725
  i.root = i.root || this.root;
4726
- var s = B(N(r.prototype), "registerPlugin", this).call(this, e, i, n);
4726
+ var s = N(M(r.prototype), "registerPlugin", this).call(this, e, i, n);
4727
4727
  return this._children.push(s), s;
4728
4728
  }
4729
4729
  }, {
@@ -4858,7 +4858,7 @@ var W = /* @__PURE__ */ function(a) {
4858
4858
  n.destroy();
4859
4859
  }), this.__delegates = [], this._children instanceof Array && (this._children.map(function(n) {
4860
4860
  i.unRegisterPlugin(n.pluginName);
4861
- }), this._children = null), this.root && (this.root.hasOwnProperty("remove") ? this.root.remove() : this.root.parentNode && this.root.parentNode.removeChild(this.root)), B(N(r.prototype), "__destroy", this).call(this), this.icons = {}, ["root", "parent"].map(function(n) {
4861
+ }), this._children = null), this.root && (this.root.hasOwnProperty("remove") ? this.root.remove() : this.root.parentNode && this.root.parentNode.removeChild(this.root)), N(M(r.prototype), "__destroy", this).call(this), this.icons = {}, ["root", "parent"].map(function(n) {
4862
4862
  e[n] = null;
4863
4863
  });
4864
4864
  }
@@ -5181,7 +5181,7 @@ var se = {
5181
5181
  delete this.pluginGroup[r], delete o._pluginInfoId;
5182
5182
  }
5183
5183
  }
5184
- }, E = {
5184
+ }, T = {
5185
5185
  DEFAULT: "xgplayer",
5186
5186
  DEFAULT_SKIN: "xgplayer-skin-default",
5187
5187
  ENTER: "xgplayer-is-enter",
@@ -5305,8 +5305,8 @@ var No = function(o, r) {
5305
5305
  var v = o.config.i18n || [];
5306
5306
  d.push.apply(d, ye(v)), o.config.i18n = d;
5307
5307
  }, Bo = /* @__PURE__ */ function(a) {
5308
- F(r, a);
5309
- var o = M(r);
5308
+ R(r, a);
5309
+ var o = F(r);
5310
5310
  function r() {
5311
5311
  var t;
5312
5312
  L(this, r);
@@ -5332,7 +5332,7 @@ var No = function(o, r) {
5332
5332
  value: function() {
5333
5333
  var e = this, i = this.config, n = i.disable, s = i.height, l = i.mode;
5334
5334
  if (!n) {
5335
- l === "flex" && this.player.addClass(E.FLEX_CONTROLS);
5335
+ l === "flex" && this.player.addClass(T.FLEX_CONTROLS);
5336
5336
  var u = {
5337
5337
  height: "".concat(s, "px")
5338
5338
  };
@@ -5369,12 +5369,12 @@ var No = function(o, r) {
5369
5369
  }, {
5370
5370
  key: "recoverAutoHide",
5371
5371
  value: function() {
5372
- this.config.autoHide && f.addClass(this.root, E.CONTROLS_AUTOHIDE);
5372
+ this.config.autoHide && f.addClass(this.root, T.CONTROLS_AUTOHIDE);
5373
5373
  }
5374
5374
  }, {
5375
5375
  key: "pauseAutoHide",
5376
5376
  value: function() {
5377
- f.removeClass(this.root, E.CONTROLS_AUTOHIDE);
5377
+ f.removeClass(this.root, T.CONTROLS_AUTOHIDE);
5378
5378
  }
5379
5379
  }, {
5380
5380
  key: "show",
@@ -5415,7 +5415,7 @@ var No = function(o, r) {
5415
5415
  default:
5416
5416
  i.root = this.left;
5417
5417
  }
5418
- return B(N(r.prototype), "registerPlugin", this).call(this, e, i, n);
5418
+ return N(M(r.prototype), "registerPlugin", this).call(this, e, i, n);
5419
5419
  }
5420
5420
  }
5421
5421
  }
@@ -5435,7 +5435,7 @@ var No = function(o, r) {
5435
5435
  "flex-controls": i === "flex"
5436
5436
  }, {
5437
5437
  "bottom-controls": i === "bottom"
5438
- }, _({}, E.CONTROLS_AUTOHIDE, n), {
5438
+ }, _({}, T.CONTROLS_AUTOHIDE, n), {
5439
5439
  "xgplayer-controls-initshow": s || !n
5440
5440
  });
5441
5441
  return '<xg-controls class="'.concat(u, `" unselectable="on">
@@ -5465,7 +5465,7 @@ var No = function(o, r) {
5465
5465
  };
5466
5466
  }
5467
5467
  }]), r;
5468
- }(W), Ho = {
5468
+ }($), Ho = {
5469
5469
  LANG: "en",
5470
5470
  TEXT: {
5471
5471
  ERROR_TYPES: {
@@ -5540,7 +5540,7 @@ var No = function(o, r) {
5540
5540
  FORWARD: "forward",
5541
5541
  LIVE_TIP: "Live"
5542
5542
  }
5543
- }, he = {
5543
+ }, de = {
5544
5544
  lang: {},
5545
5545
  langKeys: [],
5546
5546
  textKeys: []
@@ -5556,13 +5556,13 @@ function pt(a, o) {
5556
5556
  }), a;
5557
5557
  }
5558
5558
  function ir() {
5559
- Object.keys(he.lang.en).map(function(a) {
5560
- he.textKeys[a] = a;
5559
+ Object.keys(de.lang.en).map(function(a) {
5560
+ de.textKeys[a] = a;
5561
5561
  });
5562
5562
  }
5563
5563
  function Uo(a, o) {
5564
5564
  var r = [];
5565
- if (o || (o = he), !!o.lang) {
5565
+ if (o || (o = de), !!o.lang) {
5566
5566
  f.typeOf(a) !== "Array" ? r = Object.keys(a).map(function(i) {
5567
5567
  var n = i === "zh" ? "zh-cn" : i;
5568
5568
  return {
@@ -5578,7 +5578,7 @@ function Uo(a, o) {
5578
5578
  }
5579
5579
  function Ti(a, o) {
5580
5580
  var r = a.LANG;
5581
- if (o || (o = he), !!o.lang) {
5581
+ if (o || (o = de), !!o.lang) {
5582
5582
  var t = a.TEXT || {};
5583
5583
  r === "zh" && (r = "zh-cn"), o.lang[r] ? pt(o.lang[r], t) : (o.langKeys.push(r), o.lang[r] = t), ir();
5584
5584
  }
@@ -5590,21 +5590,21 @@ function zo(a) {
5590
5590
  textKeys: {},
5591
5591
  pId: a
5592
5592
  };
5593
- return pt(r.lang, he.lang), (o = r.langKeys).push.apply(o, ye(he.langKeys)), pt(r.textKeys, he.textKeys), r;
5593
+ return pt(r.lang, de.lang), (o = r.langKeys).push.apply(o, ye(de.langKeys)), pt(r.textKeys, de.textKeys), r;
5594
5594
  }
5595
5595
  Ti(Ho);
5596
5596
  var at = {
5597
5597
  get textKeys() {
5598
- return he.textKeys;
5598
+ return de.textKeys;
5599
5599
  },
5600
5600
  get langKeys() {
5601
- return he.langKeys;
5601
+ return de.langKeys;
5602
5602
  },
5603
5603
  get lang() {
5604
5604
  var a = {};
5605
- return he.langKeys.map(function(o) {
5606
- a[o] = he.lang[o];
5607
- }), he.lang["zh-cn"] && (a.zh = he.lang["zh-cn"] || {}), a;
5605
+ return de.langKeys.map(function(o) {
5606
+ a[o] = de.lang[o];
5607
+ }), de.lang["zh-cn"] && (a.zh = de.lang["zh-cn"] || {}), a;
5608
5608
  },
5609
5609
  extend: Uo,
5610
5610
  use: Ti,
@@ -5618,29 +5618,29 @@ var at = {
5618
5618
  RUNNING: 6,
5619
5619
  ENDED: 7,
5620
5620
  DESTROYED: 8
5621
- }, on = ["ERROR", "INITIAL", "READY", "ATTACHING", "ATTACHED", "NOTALLOW", "RUNNING", "ENDED", "DESTROYED"], ce = {}, qt = null, nr = /* @__PURE__ */ function(a) {
5622
- F(r, a);
5623
- var o = M(r);
5621
+ }, on = ["ERROR", "INITIAL", "READY", "ATTACHING", "ATTACHED", "NOTALLOW", "RUNNING", "ENDED", "DESTROYED"], fe = {}, qt = null, nr = /* @__PURE__ */ function(a) {
5622
+ R(r, a);
5623
+ var o = F(r);
5624
5624
  function r() {
5625
5625
  return L(this, r), o.apply(this, arguments);
5626
5626
  }
5627
5627
  return D(r, [{
5628
5628
  key: "add",
5629
5629
  value: function(e) {
5630
- e && (ce[e.playerId] = e, Object.keys(ce).length === 1 && this.setActive(e.playerId, !0));
5630
+ e && (fe[e.playerId] = e, Object.keys(fe).length === 1 && this.setActive(e.playerId, !0));
5631
5631
  }
5632
5632
  }, {
5633
5633
  key: "remove",
5634
5634
  value: function(e) {
5635
- e && (e.isUserActive, delete ce[e.playerId]);
5635
+ e && (e.isUserActive, delete fe[e.playerId]);
5636
5636
  }
5637
5637
  }, {
5638
5638
  key: "_iterate",
5639
5639
  value: function(e) {
5640
5640
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
5641
- for (var n in ce)
5642
- if (Object.prototype.hasOwnProperty.call(ce, n)) {
5643
- var s = ce[n];
5641
+ for (var n in fe)
5642
+ if (Object.prototype.hasOwnProperty.call(fe, n)) {
5643
+ var s = fe[n];
5644
5644
  if (i) {
5645
5645
  if (e(s))
5646
5646
  break;
@@ -5674,16 +5674,16 @@ var at = {
5674
5674
  key: "setActive",
5675
5675
  value: function(e) {
5676
5676
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
5677
- if (ce[e])
5677
+ if (fe[e])
5678
5678
  return i ? this.forEach(function(n) {
5679
5679
  e === n.playerId ? (n.isUserActive = !0, n.isInstNext = !1) : n.isUserActive = !1;
5680
- }) : ce[e].isUserActive = i, e;
5680
+ }) : fe[e].isUserActive = i, e;
5681
5681
  }
5682
5682
  }, {
5683
5683
  key: "getActiveId",
5684
5684
  value: function() {
5685
- for (var e = Object.keys(ce), i = 0; i < e.length; i++) {
5686
- var n = ce[e[i]];
5685
+ for (var e = Object.keys(fe), i = 0; i < e.length; i++) {
5686
+ var n = fe[e[i]];
5687
5687
  if (n && n.isUserActive)
5688
5688
  return e[i];
5689
5689
  }
@@ -5693,10 +5693,10 @@ var at = {
5693
5693
  key: "setNext",
5694
5694
  value: function(e) {
5695
5695
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
5696
- if (ce[e])
5696
+ if (fe[e])
5697
5697
  return i ? this.forEach(function(n) {
5698
5698
  e === n.playerId ? (n.isUserActive = !1, n.isInstNext = !0) : n.isInstNext = !1;
5699
- }) : ce[e].isInstNext = i, e;
5699
+ }) : fe[e].isInstNext = i, e;
5700
5700
  }
5701
5701
  }], [{
5702
5702
  key: "getInstance",
@@ -5706,16 +5706,16 @@ var at = {
5706
5706
  }]), r;
5707
5707
  }(Rn.EventEmitter);
5708
5708
  function Vo(a) {
5709
- for (var o = Object.keys(ce), r = 0; r < o.length; r++) {
5710
- var t = ce[o[r]];
5709
+ for (var o = Object.keys(fe), r = 0; r < o.length; r++) {
5710
+ var t = fe[o[r]];
5711
5711
  if (t.root === a)
5712
5712
  return t;
5713
5713
  }
5714
5714
  return null;
5715
5715
  }
5716
5716
  var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /* @__PURE__ */ function(a) {
5717
- F(r, a);
5718
- var o = M(r);
5717
+ R(r, a);
5718
+ var o = F(r);
5719
5719
  function r(t) {
5720
5720
  var e;
5721
5721
  L(this, r);
@@ -5723,7 +5723,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
5723
5723
  e = o.call(this, i), _(y(e), "canPlayFunc", function() {
5724
5724
  if (e.config) {
5725
5725
  var d = e.config, v = d.autoplay, m = d.defaultPlaybackRate;
5726
- V.logInfo("player", "canPlayFunc, startTime", e.__startTime), e.__startTime > 0 && e.duration > 0 && (e.currentTime = e.__startTime > e.duration ? e.duration : e.__startTime, e.__startTime = -1), e.playbackRate = m, (v || e._useAutoplay) && e.mediaPlay(), e.off(Ie, e.canPlayFunc), e.removeClass(E.ENTER);
5726
+ V.logInfo("player", "canPlayFunc, startTime", e.__startTime), e.__startTime > 0 && e.duration > 0 && (e.currentTime = e.__startTime > e.duration ? e.duration : e.__startTime, e.__startTime = -1), e.playbackRate = m, (v || e._useAutoplay) && e.mediaPlay(), e.off(Ie, e.canPlayFunc), e.removeClass(T.ENTER);
5727
5727
  }
5728
5728
  }), _(y(e), "onFullscreenChange", function(d, v) {
5729
5729
  var m = function() {
@@ -5745,17 +5745,17 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
5745
5745
  });
5746
5746
  var S = so(C, e.playerId, $e);
5747
5747
  if (v || C && (C === e._fullscreenEl || S))
5748
- m(), !e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !0, e.changeFullStyle(e.root, C, E.FULLSCREEN), e.emit(Ee, !0, e._fullScreenOffset), e.cssfullscreen && e.exitCssFullscreen();
5748
+ m(), !e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !0, e.changeFullStyle(e.root, C, T.FULLSCREEN), e.emit(Ee, !0, e._fullScreenOffset), e.cssfullscreen && e.exitCssFullscreen();
5749
5749
  else if (e.fullscreen) {
5750
5750
  m();
5751
- var b = y(e), P = b._fullScreenOffset, O = b.config;
5752
- if (O.needFullscreenScroll ? (window.scrollTo(P.left, P.top), f.setTimeout(y(e), function() {
5751
+ var b = y(e), B = b._fullScreenOffset, I = b.config;
5752
+ if (I.needFullscreenScroll ? (window.scrollTo(B.left, B.top), f.setTimeout(y(e), function() {
5753
5753
  e.fullscreen = !1, e._fullScreenOffset = null;
5754
5754
  }, 100)) : (!e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !1, e._fullScreenOffset = null), e.cssfullscreen)
5755
- e.removeClass(E.FULLSCREEN);
5755
+ e.removeClass(T.FULLSCREEN);
5756
5756
  else {
5757
- var U = e._fullscreenEl;
5758
- !U && (e.root.contains(d.target) || d.target === e.root) && (U = d.target), e.recoverFullStyle(e.root, U, E.FULLSCREEN);
5757
+ var H = e._fullscreenEl;
5758
+ !H && (e.root.contains(d.target) || d.target === e.root) && (H = d.target), e.recoverFullStyle(e.root, H, T.FULLSCREEN);
5759
5759
  }
5760
5760
  e._fullscreenEl = null, e.emit(Ee, !1);
5761
5761
  }
@@ -5840,7 +5840,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
5840
5840
  this.controls = g;
5841
5841
  }
5842
5842
  var p = this.config.isMobileSimulateMode === "mobile" ? "mobile" : z.device;
5843
- if (this.addClass("".concat(E.DEFAULT, " ").concat(E.INACTIVE, " xgplayer-").concat(p, " ").concat(this.config.controls ? "" : E.NO_CONTROLS)), this.config.autoplay ? this.addClass(E.ENTER) : this.addClass(E.NO_START), this.config.fluid) {
5843
+ if (this.addClass("".concat(T.DEFAULT, " ").concat(T.INACTIVE, " xgplayer-").concat(p, " ").concat(this.config.controls ? "" : T.NO_CONTROLS)), this.config.autoplay ? this.addClass(T.ENTER) : this.addClass(T.NO_START), this.config.fluid) {
5844
5844
  var d = this.config, v = d.width, m = d.height;
5845
5845
  (typeof v != "number" || typeof m != "number") && (v = 600, m = 337.5);
5846
5846
  var C = {
@@ -5849,15 +5849,15 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
5849
5849
  "max-width": "100%",
5850
5850
  "padding-top": "".concat(m * 100 / v, "%")
5851
5851
  };
5852
- Object.keys(C).forEach(function(R) {
5853
- i.root.style[R] = C[R];
5852
+ Object.keys(C).forEach(function(O) {
5853
+ i.root.style[O] = C[O];
5854
5854
  });
5855
5855
  } else
5856
- ["width", "height"].forEach(function(R) {
5857
- i.config[R] && (typeof i.config[R] != "number" ? i.root.style[R] = i.config[R] : i.root.style[R] = "".concat(i.config[R], "px"));
5856
+ ["width", "height"].forEach(function(O) {
5857
+ i.config[O] && (typeof i.config[O] != "number" ? i.root.style[O] = i.config[O] : i.root.style[O] = "".concat(i.config[O], "px"));
5858
5858
  });
5859
- var S = this.root.getBoundingClientRect(), b = S.width, P = S.height, O = S.left, U = S.top;
5860
- return this.sizeInfo.width = b, this.sizeInfo.height = P, this.sizeInfo.left = O, this.sizeInfo.top = U, !0;
5859
+ var S = this.root.getBoundingClientRect(), b = S.width, B = S.height, I = S.left, H = S.top;
5860
+ return this.sizeInfo.width = b, this.sizeInfo.height = B, this.sizeInfo.left = I, this.sizeInfo.top = H, !0;
5861
5861
  }
5862
5862
  }, {
5863
5863
  key: "_initBaseDoms",
@@ -5876,7 +5876,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
5876
5876
  document && document.addEventListener(i, e.onFullscreenChange);
5877
5877
  }), z.os.isIos && (this.media.addEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.addEventListener("webkitendfullscreen", this._onWebkitendfullscreen)), this.once(Ae, this.resize), this.playFunc = function() {
5878
5878
  e.config.closeFocusVideoFocus || e.media.focus();
5879
- }, this.once(ge, this.playFunc);
5879
+ }, this.once(pe, this.playFunc);
5880
5880
  }
5881
5881
  }, {
5882
5882
  key: "_unbindEvents",
@@ -5884,7 +5884,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
5884
5884
  var e = this;
5885
5885
  this.root.removeEventListener("mousemove", this.mousemoveFunc), Zi.forEach(function(i) {
5886
5886
  document.removeEventListener(i, e.onFullscreenChange);
5887
- }), this.playFunc && this.off(ge, this.playFunc), this.off(Ie, this.canPlayFunc), this.media.removeEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.removeEventListener("webkitendfullscreen", this._onWebkitendfullscreen);
5887
+ }), this.playFunc && this.off(pe, this.playFunc), this.off(Ie, this.canPlayFunc), this.media.removeEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.removeEventListener("webkitendfullscreen", this._onWebkitendfullscreen);
5888
5888
  }
5889
5889
  }, {
5890
5890
  key: "_clearUserTimer",
@@ -5957,7 +5957,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
5957
5957
  this.leftBar || (this.leftBar = f.createPositionBar("xg-left-bar", this.root)), i = this.leftBar;
5958
5958
  break;
5959
5959
  case Y.ROOT_TOP:
5960
- this.topBar || (this.topBar = f.createPositionBar("xg-top-bar", this.root), this.config.topBarAutoHide && f.addClass(this.topBar, E.TOP_BAR_AUTOHIDE)), i = this.topBar;
5960
+ this.topBar || (this.topBar = f.createPositionBar("xg-top-bar", this.root), this.config.topBarAutoHide && f.addClass(this.topBar, T.TOP_BAR_AUTOHIDE)), i = this.topBar;
5961
5961
  break;
5962
5962
  default:
5963
5963
  i = this.innerContainer || this.root;
@@ -6085,38 +6085,38 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6085
6085
  value: function() {
6086
6086
  var e = this;
6087
6087
  if (!this.hasStart && this.state < j.ATTACHED) {
6088
- this.removeClass(E.NO_START), this.addClass(E.ENTER), this.start(), this._useAutoplay = !0;
6088
+ this.removeClass(T.NO_START), this.addClass(T.ENTER), this.start(), this._useAutoplay = !0;
6089
6089
  return;
6090
6090
  }
6091
- this.state < j.RUNNING && (this.removeClass(E.NO_START), !this.isCanplay && this.addClass(E.ENTER));
6092
- var i = B(N(r.prototype), "play", this).call(this);
6091
+ this.state < j.RUNNING && (this.removeClass(T.NO_START), !this.isCanplay && this.addClass(T.ENTER));
6092
+ var i = N(M(r.prototype), "play", this).call(this);
6093
6093
  return i !== void 0 && i && i.then ? i.then(function() {
6094
- e.removeClass(E.NOT_ALLOW_AUTOPLAY), e.addClass(E.PLAYING), e.state < j.RUNNING && (V.logInfo(">>>>playPromise.then"), e.setState(j.RUNNING), e.emit(Ke));
6094
+ e.removeClass(T.NOT_ALLOW_AUTOPLAY), e.addClass(T.PLAYING), e.state < j.RUNNING && (V.logInfo(">>>>playPromise.then"), e.setState(j.RUNNING), e.emit(Ke));
6095
6095
  }).catch(function(n) {
6096
6096
  if (V.logWarn(">>>>playPromise.catch", n.name), e.media && e.media.error) {
6097
- e.onError(), e.removeClass(E.ENTER);
6097
+ e.onError(), e.removeClass(T.ENTER);
6098
6098
  return;
6099
6099
  }
6100
6100
  n.name === "NotAllowedError" && (e._errorTimer = f.setTimeout(e, function() {
6101
- e._errorTimer = null, e.emit(Ci), e.addClass(E.NOT_ALLOW_AUTOPLAY), e.removeClass(E.ENTER), e.pause(), e.setState(j.NOTALLOW);
6101
+ e._errorTimer = null, e.emit(Ci), e.addClass(T.NOT_ALLOW_AUTOPLAY), e.removeClass(T.ENTER), e.pause(), e.setState(j.NOTALLOW);
6102
6102
  }, 0));
6103
- }) : (V.logWarn("video.play not return promise"), this.state < j.RUNNING && (this.setState(j.RUNNING), this.removeClass(E.NOT_ALLOW_AUTOPLAY), this.removeClass(E.NO_START), this.removeClass(E.ENTER), this.addClass(E.PLAYING), this.emit(Ke))), i;
6103
+ }) : (V.logWarn("video.play not return promise"), this.state < j.RUNNING && (this.setState(j.RUNNING), this.removeClass(T.NOT_ALLOW_AUTOPLAY), this.removeClass(T.NO_START), this.removeClass(T.ENTER), this.addClass(T.PLAYING), this.emit(Ke))), i;
6104
6104
  }
6105
6105
  }, {
6106
6106
  key: "mediaPause",
6107
6107
  value: function() {
6108
- B(N(r.prototype), "pause", this).call(this);
6108
+ N(M(r.prototype), "pause", this).call(this);
6109
6109
  }
6110
6110
  }, {
6111
6111
  key: "videoPause",
6112
6112
  value: function() {
6113
- B(N(r.prototype), "pause", this).call(this);
6113
+ N(M(r.prototype), "pause", this).call(this);
6114
6114
  }
6115
6115
  }, {
6116
6116
  key: "play",
6117
6117
  value: function() {
6118
6118
  var e = this;
6119
- return this.removeClass(E.PAUSED), xe(this, "play", function() {
6119
+ return this.removeClass(T.PAUSED), xe(this, "play", function() {
6120
6120
  return e.mediaPlay();
6121
6121
  });
6122
6122
  }
@@ -6125,7 +6125,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6125
6125
  value: function() {
6126
6126
  var e = this;
6127
6127
  xe(this, "pause", function() {
6128
- B(N(r.prototype), "pause", e).call(e);
6128
+ N(M(r.prototype), "pause", e).call(e);
6129
6129
  });
6130
6130
  }
6131
6131
  }, {
@@ -6135,7 +6135,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6135
6135
  if (!(!this.media || Number.isNaN(Number(e)) || !this.hasStart)) {
6136
6136
  var s = this.config, l = s.isSeekedPlay, u = s.seekedStatus, c = i || (l ? "play" : u);
6137
6137
  e = e < 0 ? 0 : e > this.duration ? parseInt(this.duration, 10) : e, !this._isPauseBeforeSeek && (this._isPauseBeforeSeek = this.paused ? 2 : 1), this._onceSeekCanplay && this.off(Pe, this._onceSeekCanplay), this._onceSeekCanplay = function() {
6138
- switch (n.removeClass(E.ENTER), n.isSeeking = !1, c) {
6138
+ switch (n.removeClass(T.ENTER), n.isSeeking = !1, c) {
6139
6139
  case "play":
6140
6140
  n.play();
6141
6141
  break;
@@ -6146,7 +6146,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6146
6146
  n._isPauseBeforeSeek > 1 || n.paused ? n.pause() : n.play();
6147
6147
  }
6148
6148
  n._isPauseBeforeSeek = 0, n._onceSeekCanplay = null;
6149
- }, this.once(Pe, this._onceSeekCanplay), this.state < j.RUNNING ? (this.removeClass(E.NO_START), this.currentTime = e, this.play()) : this.currentTime = e;
6149
+ }, this.once(Pe, this._onceSeekCanplay), this.state < j.RUNNING ? (this.removeClass(T.NO_START), this.currentTime = e, this.play()) : this.currentTime = e;
6150
6150
  }
6151
6151
  }
6152
6152
  }, {
@@ -6170,7 +6170,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6170
6170
  this.config.url = e.url;
6171
6171
  return;
6172
6172
  }
6173
- var l = this.switchURL(e.url, Q({
6173
+ var l = this.switchURL(e.url, ee({
6174
6174
  seamless: s.seamless !== !1 && typeof MediaSource < "u" && typeof MediaSource.isTypeSupported == "function"
6175
6175
  }, e));
6176
6176
  l && l.then ? l.then(function() {
@@ -6193,10 +6193,10 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6193
6193
  }, {
6194
6194
  key: "resetState",
6195
6195
  value: function() {
6196
- var e = this, i = E.NOT_ALLOW_AUTOPLAY, n = E.PLAYING, s = E.NO_START, l = E.PAUSED, u = E.REPLAY, c = E.ENTER, h = E.ENDED, g = E.ERROR, p = E.LOADING, d = [i, n, s, l, u, c, h, g, p];
6196
+ var e = this, i = T.NOT_ALLOW_AUTOPLAY, n = T.PLAYING, s = T.NO_START, l = T.PAUSED, u = T.REPLAY, c = T.ENTER, h = T.ENDED, g = T.ERROR, p = T.LOADING, d = [i, n, s, l, u, c, h, g, p];
6197
6197
  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) {
6198
6198
  e.removeClass(v);
6199
- }), this.addClass(E.NO_START), this.emit(Ht);
6199
+ }), this.addClass(T.NO_START), this.emit(Ht);
6200
6200
  }
6201
6201
  }, {
6202
6202
  key: "reset",
@@ -6218,7 +6218,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6218
6218
  value: function() {
6219
6219
  var e, i = this, n = this.innerContainer, s = this.root, l = this.media;
6220
6220
  if (!(!s || !l)) {
6221
- if (this.hasStart = !1, this._useAutoplay = !1, s.removeAttribute($e), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), f.clearAllTimers(this), this.emit(wi), (e = Re) === null || e === void 0 || e.remove(this), se.destroy(this), tr(this), B(N(r.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), n)
6221
+ if (this.hasStart = !1, this._useAutoplay = !1, s.removeAttribute($e), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), f.clearAllTimers(this), this.emit(wi), (e = Re) === null || e === void 0 || e.remove(this), se.destroy(this), tr(this), N(M(r.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), n)
6222
6222
  for (var u = n.children, c = 0; c < u.length; c++)
6223
6223
  n.removeChild(u[c]);
6224
6224
  !n && l instanceof window.Node && s.contains(l) && s.removeChild(l), ["topBar", "leftBar", "rightBar", "innerContainer"].map(function(g) {
@@ -6236,7 +6236,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6236
6236
  key: "replay",
6237
6237
  value: function() {
6238
6238
  var e = this;
6239
- this.removeClass(E.ENDED), this.currentTime = 0, this.isSeeking = !1, xe(this, "replay", function() {
6239
+ this.removeClass(T.ENDED), this.currentTime = 0, this.isSeeking = !1, xe(this, "replay", function() {
6240
6240
  e.once(Pe, function() {
6241
6241
  var i = e.mediaPlay();
6242
6242
  i && i.catch && i.catch(function(n) {
@@ -6249,7 +6249,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6249
6249
  key: "retry",
6250
6250
  value: function() {
6251
6251
  var e = this;
6252
- this.removeClass(E.ERROR), this.addClass(E.LOADING), xe(this, "retry", function() {
6252
+ this.removeClass(T.ERROR), this.addClass(T.LOADING), xe(this, "retry", function() {
6253
6253
  var i = e.currentTime, n = e.config.url, s = f.isMSE(e.media) ? {
6254
6254
  url: n
6255
6255
  } : e._preProcessUrl(n);
@@ -6261,12 +6261,12 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6261
6261
  }, {
6262
6262
  key: "changeFullStyle",
6263
6263
  value: function(e, i, n, s) {
6264
- e && (s || (s = E.PARENT_FULLSCREEN), this._orgCss || (this._orgCss = f.filterStyleFromText(e)), f.addClass(e, n), i && i !== e && !this._orgPCss && (this._orgPCss = f.filterStyleFromText(i), f.addClass(i, s), i.setAttribute($e, this.playerId)));
6264
+ e && (s || (s = T.PARENT_FULLSCREEN), this._orgCss || (this._orgCss = f.filterStyleFromText(e)), f.addClass(e, n), i && i !== e && !this._orgPCss && (this._orgPCss = f.filterStyleFromText(i), f.addClass(i, s), i.setAttribute($e, this.playerId)));
6265
6265
  }
6266
6266
  }, {
6267
6267
  key: "recoverFullStyle",
6268
6268
  value: function(e, i, n, s) {
6269
- s || (s = E.PARENT_FULLSCREEN), this._orgCss && (f.setStyleFromCsstext(e, this._orgCss), this._orgCss = ""), f.removeClass(e, n), i && i !== e && this._orgPCss && (f.setStyleFromCsstext(i, this._orgPCss), this._orgPCss = "", f.removeClass(i, s), i.removeAttribute($e));
6269
+ s || (s = T.PARENT_FULLSCREEN), this._orgCss && (f.setStyleFromCsstext(e, this._orgCss), this._orgCss = ""), f.removeClass(e, n), i && i !== e && this._orgPCss && (f.setStyleFromCsstext(i, this._orgPCss), this._orgPCss = "", f.removeClass(i, s), i.removeAttribute($e));
6270
6270
  }
6271
6271
  }, {
6272
6272
  key: "getFullscreen",
@@ -6318,7 +6318,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6318
6318
  value: function() {
6319
6319
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.config.fullscreenTarget;
6320
6320
  this.isRotateFullscreen ? this.exitRotateFullscreen() : this.fullscreen && this.exitFullscreen();
6321
- var i = e ? "".concat(E.INNER_FULLSCREEN, " ").concat(E.CSS_FULLSCREEN) : E.CSS_FULLSCREEN;
6321
+ var i = e ? "".concat(T.INNER_FULLSCREEN, " ").concat(T.CSS_FULLSCREEN) : T.CSS_FULLSCREEN;
6322
6322
  this.changeFullStyle(this.root, e, i);
6323
6323
  var n = this.config.fullscreen, s = n === void 0 ? {} : n, l = s.useCssFullscreen === !0 || typeof s.useCssFullscreen == "function" && s.useCssFullscreen();
6324
6324
  l && (this.fullscreen = !0, this.emit(Ee, !0)), this._cssfullscreenEl = e, this.cssfullscreen = !0, this.emit(xt, !0);
@@ -6326,7 +6326,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6326
6326
  }, {
6327
6327
  key: "exitCssFullscreen",
6328
6328
  value: function() {
6329
- var e = this._cssfullscreenEl ? "".concat(E.INNER_FULLSCREEN, " ").concat(E.CSS_FULLSCREEN) : E.CSS_FULLSCREEN;
6329
+ var e = this._cssfullscreenEl ? "".concat(T.INNER_FULLSCREEN, " ").concat(T.CSS_FULLSCREEN) : T.CSS_FULLSCREEN;
6330
6330
  if (!this.fullscreen)
6331
6331
  this.recoverFullStyle(this.root, this._cssfullscreenEl, e);
6332
6332
  else {
@@ -6340,14 +6340,14 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6340
6340
  value: function() {
6341
6341
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.config.fullscreenTarget;
6342
6342
  this.cssfullscreen && this.exitCssFullscreen(e);
6343
- var i = e ? "".concat(E.INNER_FULLSCREEN, " ").concat(E.ROTATE_FULLSCREEN) : E.ROTATE_FULLSCREEN;
6344
- this._fullscreenEl = e || this.root, this.changeFullStyle(this.root, e, i, E.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !0, this.fullscreen = !0, this.setRotateDeg(90), this._rootStyle = this.root.getAttribute("style"), this.root.style.width = "".concat(window.innerHeight, "px"), this.emit(Ee, !0);
6343
+ var i = e ? "".concat(T.INNER_FULLSCREEN, " ").concat(T.ROTATE_FULLSCREEN) : T.ROTATE_FULLSCREEN;
6344
+ this._fullscreenEl = e || this.root, this.changeFullStyle(this.root, e, i, T.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !0, this.fullscreen = !0, this.setRotateDeg(90), this._rootStyle = this.root.getAttribute("style"), this.root.style.width = "".concat(window.innerHeight, "px"), this.emit(Ee, !0);
6345
6345
  }
6346
6346
  }, {
6347
6347
  key: "exitRotateFullscreen",
6348
6348
  value: function(e) {
6349
- var i = this._fullscreenEl !== this.root ? "".concat(E.INNER_FULLSCREEN, " ").concat(E.ROTATE_FULLSCREEN) : E.ROTATE_FULLSCREEN;
6350
- this.recoverFullStyle(this.root, this._fullscreenEl, i, E.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !1, this.fullscreen = !1, this.setRotateDeg(0), this.emit(Ee, !1), this._rootStyle && (this.root.style.style = this._rootStyle, this._rootStyle = !1);
6349
+ var i = this._fullscreenEl !== this.root ? "".concat(T.INNER_FULLSCREEN, " ").concat(T.ROTATE_FULLSCREEN) : T.ROTATE_FULLSCREEN;
6350
+ this.recoverFullStyle(this.root, this._fullscreenEl, i, T.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !1, this.fullscreen = !1, this.setRotateDeg(0), this.emit(Ee, !1), this._rootStyle && (this.root.style.style = this._rootStyle, this._rootStyle = !1);
6351
6351
  }
6352
6352
  }, {
6353
6353
  key: "setRotateDeg",
@@ -6365,7 +6365,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6365
6365
  this.onFocus(e);
6366
6366
  return;
6367
6367
  }
6368
- this.emit(_i, Q({
6368
+ this.emit(_i, ee({
6369
6369
  paused: this.paused,
6370
6370
  ended: this.ended
6371
6371
  }, e));
@@ -6380,7 +6380,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6380
6380
  this.onBlur(e);
6381
6381
  return;
6382
6382
  }
6383
- this._clearUserTimer(), this.emit(Un, Q({
6383
+ this._clearUserTimer(), this.emit(Un, ee({
6384
6384
  paused: this.paused,
6385
6385
  ended: this.ended
6386
6386
  }, e));
@@ -6392,7 +6392,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6392
6392
  autoHide: !0,
6393
6393
  delay: 3e3
6394
6394
  }, n = this.innerStates;
6395
- if (this.isActive = !0, this.removeClass(E.INACTIVE), this._clearUserTimer(), i.isLock !== void 0 && (n.isActiveLocked = i.isLock), i.autoHide === !1 || i.isLock === !0 || n.isActiveLocked) {
6395
+ if (this.isActive = !0, this.removeClass(T.INACTIVE), this._clearUserTimer(), i.isLock !== void 0 && (n.isActiveLocked = i.isLock), i.autoHide === !1 || i.isLock === !0 || n.isActiveLocked) {
6396
6396
  this._clearUserTimer();
6397
6397
  return;
6398
6398
  }
@@ -6407,7 +6407,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6407
6407
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = e.ignorePaused, n = i === void 0 ? !1 : i;
6408
6408
  if (!this.innerStates.isActiveLocked) {
6409
6409
  var s = this.config.closePauseVideoFocus;
6410
- this.isActive = !1, (n || s || !this.paused && !this.ended) && this.addClass(E.INACTIVE);
6410
+ this.isActive = !1, (n || s || !this.paused && !this.ended) && this.addClass(T.INACTIVE);
6411
6411
  }
6412
6412
  }
6413
6413
  }, {
@@ -6418,7 +6418,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6418
6418
  }, {
6419
6419
  key: "onCanplay",
6420
6420
  value: function() {
6421
- this.removeClass(E.ENTER), this.removeClass(E.ERROR), this.removeClass(E.LOADING), this.isCanplay = !0, this.waitTimer && f.clearTimeout(this, this.waitTimer);
6421
+ this.removeClass(T.ENTER), this.removeClass(T.ERROR), this.removeClass(T.LOADING), this.isCanplay = !0, this.waitTimer && f.clearTimeout(this, this.waitTimer);
6422
6422
  }
6423
6423
  }, {
6424
6424
  key: "onLoadeddata",
@@ -6428,44 +6428,44 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6428
6428
  }, {
6429
6429
  key: "onLoadstart",
6430
6430
  value: function() {
6431
- this.removeClass(E.ERROR), this.isCanplay = !1;
6431
+ this.removeClass(T.ERROR), this.isCanplay = !1;
6432
6432
  }
6433
6433
  }, {
6434
6434
  key: "onPlay",
6435
6435
  value: function() {
6436
- this.state === j.ENDED && this.setState(j.RUNNING), this.removeClass(E.PAUSED), this.ended && this.removeClass(E.ENDED), !this.config.closePlayVideoFocus && this.focus();
6436
+ this.state === j.ENDED && this.setState(j.RUNNING), this.removeClass(T.PAUSED), this.ended && this.removeClass(T.ENDED), !this.config.closePlayVideoFocus && this.focus();
6437
6437
  }
6438
6438
  }, {
6439
6439
  key: "onPause",
6440
6440
  value: function() {
6441
- this.addClass(E.PAUSED), this.updateAcc("pause"), this.config.closePauseVideoFocus || (this._clearUserTimer(), this.focus());
6441
+ this.addClass(T.PAUSED), this.updateAcc("pause"), this.config.closePauseVideoFocus || (this._clearUserTimer(), this.focus());
6442
6442
  }
6443
6443
  }, {
6444
6444
  key: "onEnded",
6445
6445
  value: function() {
6446
- this.updateAcc("ended"), this.addClass(E.ENDED), this.setState(j.ENDED);
6446
+ this.updateAcc("ended"), this.addClass(T.ENDED), this.setState(j.ENDED);
6447
6447
  }
6448
6448
  }, {
6449
6449
  key: "onError",
6450
6450
  value: function() {
6451
- this.isError = !0, this.updateAcc("error"), this.removeClass(E.NOT_ALLOW_AUTOPLAY), this.removeClass(E.NO_START), this.removeClass(E.ENTER), this.removeClass(E.LOADING), this.addClass(E.ERROR);
6451
+ this.isError = !0, this.updateAcc("error"), this.removeClass(T.NOT_ALLOW_AUTOPLAY), this.removeClass(T.NO_START), this.removeClass(T.ENTER), this.removeClass(T.LOADING), this.addClass(T.ERROR);
6452
6452
  }
6453
6453
  }, {
6454
6454
  key: "onSeeking",
6455
6455
  value: function() {
6456
- this.isSeeking || this.updateAcc("seeking"), this.isSeeking = !0, this.addClass(E.SEEKING);
6456
+ this.isSeeking || this.updateAcc("seeking"), this.isSeeking = !0, this.addClass(T.SEEKING);
6457
6457
  }
6458
6458
  }, {
6459
6459
  key: "onSeeked",
6460
6460
  value: function() {
6461
- this.isSeeking = !1, this.waitTimer && f.clearTimeout(this, this.waitTimer), this.removeClass(E.LOADING), this.removeClass(E.SEEKING);
6461
+ this.isSeeking = !1, this.waitTimer && f.clearTimeout(this, this.waitTimer), this.removeClass(T.LOADING), this.removeClass(T.SEEKING);
6462
6462
  }
6463
6463
  }, {
6464
6464
  key: "onWaiting",
6465
6465
  value: function() {
6466
6466
  var e = this;
6467
6467
  this.waitTimer && f.clearTimeout(this, this.waitTimer), this.updateAcc("waiting"), this.waitTimer = f.setTimeout(this, function() {
6468
- e.addClass(E.LOADING), e.emit($n), f.clearTimeout(e, e.waitTimer), e.waitTimer = null;
6468
+ e.addClass(T.LOADING), e.emit($n), f.clearTimeout(e, e.waitTimer), e.waitTimer = null;
6469
6469
  }, this.config.minWaitDelay);
6470
6470
  }
6471
6471
  }, {
@@ -6473,7 +6473,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6473
6473
  value: function() {
6474
6474
  var e = this;
6475
6475
  this.isError = !1;
6476
- var i = E.NO_START, n = E.PAUSED, s = E.ENDED, l = E.ERROR, u = E.REPLAY, c = E.LOADING, h = [i, n, s, l, u, c];
6476
+ var i = T.NO_START, n = T.PAUSED, s = T.ENDED, l = T.ERROR, u = T.REPLAY, c = T.LOADING, h = [i, n, s, l, u, c];
6477
6477
  h.forEach(function(g) {
6478
6478
  e.removeClass(g);
6479
6479
  }), !this._accPlayed.t && !this.paused && !this.ended && (this._accPlayed.t = (/* @__PURE__ */ new Date()).getTime());
@@ -6481,7 +6481,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6481
6481
  }, {
6482
6482
  key: "onTimeupdate",
6483
6483
  value: function() {
6484
- !this._videoHeight && this.media.videoHeight && this.resize(), (this.waitTimer || this.hasClass(E.LOADING)) && this.media.readyState > 2 && (this.removeClass(E.LOADING), f.clearTimeout(this, this.waitTimer), this.waitTimer = null), !this.paused && this.state === j.NOTALLOW && this.duration && (this.setState(j.RUNNING), this.emit(Ke)), !this._accPlayed.t && !this.paused && !this.ended && (this._accPlayed.t = (/* @__PURE__ */ new Date()).getTime());
6484
+ !this._videoHeight && this.media.videoHeight && this.resize(), (this.waitTimer || this.hasClass(T.LOADING)) && this.media.readyState > 2 && (this.removeClass(T.LOADING), f.clearTimeout(this, this.waitTimer), this.waitTimer = null), !this.paused && this.state === j.NOTALLOW && this.duration && (this.setState(j.RUNNING), this.emit(Ke)), !this._accPlayed.t && !this.paused && !this.ended && (this._accPlayed.t = (/* @__PURE__ */ new Date()).getTime());
6485
6485
  }
6486
6486
  }, {
6487
6487
  key: "onVolumechange",
@@ -6498,7 +6498,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6498
6498
  value: function(e, i, n) {
6499
6499
  if (!(!this.media || !i || !e)) {
6500
6500
  var s = f.typeOf(e) === "String" ? e : e.type || "";
6501
- n.props && f.typeOf(n.props) !== "Array" && (n.props = [n.props]), this.emit(At, Q({
6501
+ n.props && f.typeOf(n.props) !== "Array" && (n.props = [n.props]), this.emit(At, ee({
6502
6502
  eventType: s,
6503
6503
  action: i,
6504
6504
  currentTime: this.currentTime,
@@ -6540,16 +6540,16 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6540
6540
  this.videoPos.pi = c, u = u < 0 ? 0 : u;
6541
6541
  var h = {
6542
6542
  rotate: u
6543
- }, g = 0, p = 0, d = 1, v = Math.abs(u / 90), m = this.root, C = this.innerContainer, S = m.offsetWidth, b = C ? C.offsetHeight : m.offsetHeight, P = b, O = S;
6543
+ }, g = 0, p = 0, d = 1, v = Math.abs(u / 90), m = this.root, C = this.innerContainer, S = m.offsetWidth, b = C ? C.offsetHeight : m.offsetHeight, B = b, I = S;
6544
6544
  if (v % 2 === 0)
6545
- d = s > 0 ? 100 / s : l > 0 ? 100 / l : 1, h.scale = d, g = i > 0 ? (100 - s) / 2 - i : 0, h.y = v === 2 ? 0 - g : g, p = n > 0 ? (100 - l) / 2 - n : 0, h.x = v === 2 ? 0 - p : p, this.media.style.width = "".concat(O, "px"), this.media.style.height = "".concat(P, "px");
6545
+ d = s > 0 ? 100 / s : l > 0 ? 100 / l : 1, h.scale = d, g = i > 0 ? (100 - s) / 2 - i : 0, h.y = v === 2 ? 0 - g : g, p = n > 0 ? (100 - l) / 2 - n : 0, h.x = v === 2 ? 0 - p : p, this.media.style.width = "".concat(I, "px"), this.media.style.height = "".concat(B, "px");
6546
6546
  else if (v % 2 === 1) {
6547
- O = b, P = S;
6548
- var U = b - S;
6549
- p = -U / 2 / O * 100, h.x = v === 3 ? p + i / 2 : p - i / 2, g = U / 2 / P * 100, h.y = v === 3 ? g + n / 2 : g - n / 2, h.scale = d, this.media.style.width = "".concat(O, "px"), this.media.style.height = "".concat(P, "px");
6547
+ I = b, B = S;
6548
+ var H = b - S;
6549
+ p = -H / 2 / I * 100, h.x = v === 3 ? p + i / 2 : p - i / 2, g = H / 2 / B * 100, h.y = v === 3 ? g + n / 2 : g - n / 2, h.scale = d, this.media.style.width = "".concat(I, "px"), this.media.style.height = "".concat(B, "px");
6550
6550
  }
6551
- var R = f.getTransformStyle(h, this.media.style.transform || this.media.style.webkitTransform);
6552
- this.media.style.transform = R, this.media.style.webkitTransform = R;
6551
+ var O = f.getTransformStyle(h, this.media.style.transform || this.media.style.webkitTransform);
6552
+ this.media.style.transform = O, this.media.style.webkitTransform = O;
6553
6553
  }
6554
6554
  }
6555
6555
  }
@@ -6598,17 +6598,17 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6598
6598
  if ((h === "fill" || h === "cover" || h === "contain") && this.setAttribute("data-xgfill", h), !(!l || !s)) {
6599
6599
  this._videoHeight = l, this._videoWidth = s;
6600
6600
  var g = this.controls && this.innerContainer ? this.controls.root.getBoundingClientRect().height : 0, p = i.width, d = i.height - g, v = parseInt(s / l * 1e3, 10), m = parseInt(p / d * 1e3, 10), C = p, S = d, b = {};
6601
- c === "auto" && m > v || c === "fixWidth" ? (S = p / v * 1e3, this.config.fluid ? b.paddingTop = "".concat(S * 100 / C, "%") : b.height = "".concat(S + g, "px")) : (c === "auto" && m < v || c === "fixHeight") && (C = v * d / 1e3, b.width = "".concat(C, "px")), !this.fullscreen && !this.cssfullscreen && Object.keys(b).forEach(function(O) {
6602
- e.root.style[O] = b[O];
6601
+ c === "auto" && m > v || c === "fixWidth" ? (S = p / v * 1e3, this.config.fluid ? b.paddingTop = "".concat(S * 100 / C, "%") : b.height = "".concat(S + g, "px")) : (c === "auto" && m < v || c === "fixHeight") && (C = v * d / 1e3, b.width = "".concat(C, "px")), !this.fullscreen && !this.cssfullscreen && Object.keys(b).forEach(function(I) {
6602
+ e.root.style[I] = b[I];
6603
6603
  }), (h === "fillHeight" && m < v || h === "fillWidth" && m > v) && this.setAttribute("data-xgfill", "cover");
6604
- var P = {
6604
+ var B = {
6605
6605
  videoScale: v,
6606
6606
  vWidth: C,
6607
6607
  vHeight: S,
6608
6608
  cWidth: C,
6609
6609
  cHeight: S + g
6610
6610
  };
6611
- this.resizePosition(), this.emit(Be, P);
6611
+ this.resizePosition(), this.emit(Be, B);
6612
6612
  }
6613
6613
  }
6614
6614
  }
@@ -6748,18 +6748,18 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6748
6748
  }, {
6749
6749
  key: "readyState",
6750
6750
  get: function() {
6751
- return B(N(r.prototype), "readyState", this);
6751
+ return N(M(r.prototype), "readyState", this);
6752
6752
  }
6753
6753
  }, {
6754
6754
  key: "error",
6755
6755
  get: function() {
6756
- var e = B(N(r.prototype), "error", this);
6756
+ var e = N(M(r.prototype), "error", this);
6757
6757
  return this.i18n[e] || e;
6758
6758
  }
6759
6759
  }, {
6760
6760
  key: "networkState",
6761
6761
  get: function() {
6762
- return B(N(r.prototype), "networkState", this);
6762
+ return N(M(r.prototype), "networkState", this);
6763
6763
  }
6764
6764
  }, {
6765
6765
  key: "fullscreenChanging",
@@ -6908,7 +6908,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6908
6908
  _(Ut, "defaultPreset", null);
6909
6909
  _(Ut, "XgVideoProxy", null);
6910
6910
  Ut.instManager = nr.getInstance();
6911
- function le() {
6911
+ function oe() {
6912
6912
  return (/* @__PURE__ */ new Date()).getTime();
6913
6913
  }
6914
6914
  var Fe = {
@@ -6920,8 +6920,8 @@ var Fe = {
6920
6920
  SEEK_START: "seekStart",
6921
6921
  SEEK_END: "seekEnd"
6922
6922
  }, $o = /* @__PURE__ */ function(a) {
6923
- F(r, a);
6924
- var o = M(r);
6923
+ R(r, a);
6924
+ var o = F(r);
6925
6925
  function r() {
6926
6926
  var t;
6927
6927
  L(this, r);
@@ -6938,23 +6938,23 @@ var Fe = {
6938
6938
  isTimeUpdate: !1,
6939
6939
  isFFSend: !1,
6940
6940
  isLs: !1
6941
- }, t.vt = 0, t.pt = 0, t.fvt = 0, t.newPointTime = le(), t.loadedCostTime = 0, t.startCostTime = 0, t._isSeeking = !1, t.seekingStart = 0, t.waitingStart = 0, t.fixedWaitingStart = 0, t._isWaiting = !1, t._waitTimer && f.clearTimeout(y(t), t._waitTimer), t._waittTimer && f.clearTimeout(y(t), t._waittTimer), t._waitTimer = null, t._waittTimer = null, t._waitType = 0;
6941
+ }, t.vt = 0, t.pt = 0, t.fvt = 0, t.newPointTime = oe(), t.loadedCostTime = 0, t.startCostTime = 0, t._isSeeking = !1, t.seekingStart = 0, t.waitingStart = 0, t.fixedWaitingStart = 0, t._isWaiting = !1, t._waitTimer && f.clearTimeout(y(t), t._waitTimer), t._waittTimer && f.clearTimeout(y(t), t._waittTimer), t._waitTimer = null, t._waittTimer = null, t._waitType = 0;
6942
6942
  }), _(y(t), "_onSeeking", function() {
6943
- t.seekingStart || (t.suspendWaitingStatus("seek"), t.seekingStart = le(), t.emitLog(Fe.SEEK_START, {
6944
- start: le()
6943
+ t.seekingStart || (t.suspendWaitingStatus("seek"), t.seekingStart = oe(), t.emitLog(Fe.SEEK_START, {
6944
+ start: oe()
6945
6945
  }));
6946
6946
  }), _(y(t), "_onSeeked", function() {
6947
6947
  t.suspendSeekingStatus("seeked");
6948
6948
  }), _(y(t), "_onWaitingLoadStart", function() {
6949
- t._isWaiting || t.vt || (t._isWaiting = !0, t.waitingStart = le(), t.fixedWaitingStart = le(), t._waitType = 1, t.emitLog(Fe.WAIT_START, {
6949
+ t._isWaiting || t.vt || (t._isWaiting = !0, t.waitingStart = oe(), t.fixedWaitingStart = oe(), t._waitType = 1, t.emitLog(Fe.WAIT_START, {
6950
6950
  fixedStart: t.fixedWaitingStart,
6951
6951
  start: t.waitingStart,
6952
6952
  type: 1,
6953
6953
  endType: "loadstart"
6954
6954
  }));
6955
6955
  }), _(y(t), "_onWaiting", function() {
6956
- t._isWaiting || !t.vt || (t._isWaiting = !0, t.vt ? t.seekingStart ? t._waitType = 2 : t._waitType = 0 : t._waitType = 1, t.fixedWaitingStart = le(), t._waitTimer = f.setTimeout(y(t), function() {
6957
- t._isWaiting && (t.waitingStart = le(), f.clearTimeout(y(t), t._waitTimer), t._waitTimer = null, t._startWaitTimeout(), t.emitLog(Fe.WAIT_START, {
6956
+ t._isWaiting || !t.vt || (t._isWaiting = !0, t.vt ? t.seekingStart ? t._waitType = 2 : t._waitType = 0 : t._waitType = 1, t.fixedWaitingStart = oe(), t._waitTimer = f.setTimeout(y(t), function() {
6957
+ t._isWaiting && (t.waitingStart = oe(), f.clearTimeout(y(t), t._waitTimer), t._waitTimer = null, t._startWaitTimeout(), t.emitLog(Fe.WAIT_START, {
6958
6958
  fixedStart: t.fixedWaitingStart,
6959
6959
  start: t.waitingStart,
6960
6960
  type: t._waitType,
@@ -6971,11 +6971,11 @@ var Fe = {
6971
6971
  key: "afterCreate",
6972
6972
  value: function() {
6973
6973
  var e = this;
6974
- this._onReset(), this._waitType = "firstFrame", this._initOnceEvents(), this.newPointTime = le(), this.loadedCostTime = 0, this.startCostTime = 0, this.on(yi, function() {
6974
+ this._onReset(), this._waitType = "firstFrame", this._initOnceEvents(), this.newPointTime = oe(), this.loadedCostTime = 0, this.startCostTime = 0, this.on(yi, function() {
6975
6975
  var i = e._state, n = i.autoplayStart, s = i.isFFSend;
6976
- e.startCostTime = le() - e.newPointTime, V.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(Fe.LOAD_START, {}), i.isLs = !0, i.isTimeUpdate = !1, i.isFFLoading = !0, e.pt = le(), e.vt = 0, e.fvt = 0, e._initOnceEvents(), e._onWaitingLoadStart());
6976
+ e.startCostTime = oe() - e.newPointTime, V.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(Fe.LOAD_START, {}), i.isLs = !0, i.isTimeUpdate = !1, i.isFFLoading = !0, e.pt = oe(), e.vt = 0, e.fvt = 0, e._initOnceEvents(), e._onWaitingLoadStart());
6977
6977
  }), this.on(Ae, function() {
6978
- e.vt = le(), e.fvt = e.vt - e.pt, e.loadedCostTime = e.vt - e.newPointTime;
6978
+ e.vt = oe(), e.fvt = e.vt - e.pt, e.loadedCostTime = e.vt - e.newPointTime;
6979
6979
  var i = e._state, n = i.isTimeUpdate, s = i.isFFSend, l = i.autoplayStart;
6980
6980
  V.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(Fe.LOADED_DATA, {}), e.suspendWaitingStatus("loadeddata");
6981
6981
  }), this.on(Mt, this._onSeeking), this.on(Pe, this._onSeeked), this.on(wi, function() {
@@ -6989,12 +6989,12 @@ var Fe = {
6989
6989
  }, {
6990
6990
  key: "_initOnceEvents",
6991
6991
  value: function() {
6992
- this.off(Ke, this._onAutoplayStart), this.off(de, this._onTimeupdate), this.once(Ke, this._onAutoplayStart), this.once(de, this._onTimeupdate);
6992
+ this.off(Ke, this._onAutoplayStart), this.off(ge, this._onTimeupdate), this.once(Ke, this._onAutoplayStart), this.once(ge, this._onTimeupdate);
6993
6993
  }
6994
6994
  }, {
6995
6995
  key: "_sendFF",
6996
6996
  value: function(e) {
6997
- this.s = le();
6997
+ this.s = oe();
6998
6998
  var i = this._state, n = i.isFFLoading, s = i.isFFSend;
6999
6999
  V.logInfo("[xgLogger]".concat(this.player.playerId, " _sendFF"), "".concat(e, " fvt:").concat(this.fvt, " isFFLoading:").concat(n, " !isFFSend:").concat(!s)), this.vt > 0 && n && !s && (V.logInfo("[xgLogger]".concat(this.player.playerId, " emitLog_firstFrame"), e), this._state.isFFLoading = !1, this._state.isFFSend = !0, this.emitLog(Fe.FIRST_FRAME, {
7000
7000
  fvt: this.fvt,
@@ -7021,7 +7021,7 @@ var Fe = {
7021
7021
  key: "suspendSeekingStatus",
7022
7022
  value: function(e) {
7023
7023
  if (this.seekingStart) {
7024
- var i = le(), n = i - this.seekingStart;
7024
+ var i = oe(), n = i - this.seekingStart;
7025
7025
  this.seekingStart = 0, this.emitLog(Fe.SEEK_END, {
7026
7026
  end: i,
7027
7027
  costTime: n,
@@ -7033,7 +7033,7 @@ var Fe = {
7033
7033
  key: "suspendWaitingStatus",
7034
7034
  value: function(e) {
7035
7035
  if (this._waitTimer && (f.clearTimeout(this, this._waitTimer), this._waitTimer = null), this._waittTimer && (f.clearTimeout(this, this._waittTimer), this._waittTimer = null), this._isWaiting = !1, !!this.waitingStart) {
7036
- var i = le(), n = i - this.waitingStart, s = i - this.fixedWaitingStart, l = this.config.waitTimeout;
7036
+ var i = oe(), n = i - this.waitingStart, s = i - this.fixedWaitingStart, l = this.config.waitTimeout;
7037
7037
  this._isWaiting = !1, this.waitingStart = 0, this.fixedWaitingStart = 0, this.emitLog(Fe.WAIT_END, {
7038
7038
  fixedCostTime: s > l ? l : s,
7039
7039
  costTime: n > l ? l : n,
@@ -7046,8 +7046,8 @@ var Fe = {
7046
7046
  key: "emitLog",
7047
7047
  value: function(e, i) {
7048
7048
  var n = this.player;
7049
- this.emit(Yn, Q({
7050
- t: le(),
7049
+ this.emit(Yn, ee({
7050
+ t: oe(),
7051
7051
  host: f.getHostFromUrl(n.currentSrc),
7052
7052
  vtype: n.vtype,
7053
7053
  eventType: e,
@@ -7069,7 +7069,7 @@ var Fe = {
7069
7069
  };
7070
7070
  }
7071
7071
  }]), r;
7072
- }(W);
7072
+ }($);
7073
7073
  function Wo() {
7074
7074
  return new DOMParser().parseFromString(`<svg class="xgplayer-replay-svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 78 78" width="78" height="78">
7075
7075
  <path fill="#fff" transform="translate(20, 20)" d="M8.22708362,13.8757234 L11.2677371,12.6472196 C11.7798067,12.4403301 12.3626381,12.6877273 12.5695276,13.1997969 L12.9441342,14.1269807 C13.1510237,14.6390502 12.9036264,15.2218816 12.3915569,15.4287712 L6.8284538,17.6764107 L5.90126995,18.0510173 C5.38920044,18.2579068 4.80636901,18.0105096 4.5994795,17.49844 L1.97723335,11.0081531 C1.77034384,10.4960836 2.0177411,9.91325213 2.52981061,9.70636262 L3.45699446,9.33175602 C3.96906396,9.12486652 4.5518954,9.37226378 4.75878491,9.88433329 L5.67885163,12.1615783 C7.99551726,6.6766934 13.3983951,3 19.5,3 C27.7842712,3 34.5,9.71572875 34.5,18 C34.5,26.2842712 27.7842712,33 19.5,33 C15.4573596,33 11.6658607,31.3912946 8.87004692,28.5831991 C8.28554571,27.9961303 8.28762719,27.0463851 8.87469603,26.4618839 C9.46176488,25.8773827 10.4115101,25.8794641 10.9960113,26.466533 C13.2344327,28.7147875 16.263503,30 19.5,30 C26.127417,30 31.5,24.627417 31.5,18 C31.5,11.372583 26.127417,6 19.5,6 C14.4183772,6 9.94214483,9.18783811 8.22708362,13.8757234 Z"></path>
@@ -7077,8 +7077,8 @@ function Wo() {
7077
7077
  `, "image/svg+xml").firstChild;
7078
7078
  }
7079
7079
  var Go = /* @__PURE__ */ function(a) {
7080
- F(r, a);
7081
- var o = M(r);
7080
+ R(r, a);
7081
+ var o = F(r);
7082
7082
  function r() {
7083
7083
  return L(this, r), o.apply(this, arguments);
7084
7084
  }
@@ -7093,7 +7093,7 @@ var Go = /* @__PURE__ */ function(a) {
7093
7093
  key: "afterCreate",
7094
7094
  value: function() {
7095
7095
  var e = this;
7096
- W.insert(this.icons.replay, this.root, 0), this.__handleReplay = this.hook("replayClick", function() {
7096
+ $.insert(this.icons.replay, this.root, 0), this.__handleReplay = this.hook("replayClick", function() {
7097
7097
  e.player.replay();
7098
7098
  }, {
7099
7099
  pre: function(n) {
@@ -7110,7 +7110,7 @@ var Go = /* @__PURE__ */ function(a) {
7110
7110
  i.setAttribute("transform", n);
7111
7111
  }
7112
7112
  }
7113
- }), this.on(ge, function() {
7113
+ }), this.on(pe, function() {
7114
7114
  e.hide();
7115
7115
  });
7116
7116
  }
@@ -7159,9 +7159,9 @@ var Go = /* @__PURE__ */ function(a) {
7159
7159
  };
7160
7160
  }
7161
7161
  }]), r;
7162
- }(W), Ko = /* @__PURE__ */ function(a) {
7163
- F(r, a);
7164
- var o = M(r);
7162
+ }($), Ko = /* @__PURE__ */ function(a) {
7163
+ R(r, a);
7164
+ var o = F(r);
7165
7165
  function r() {
7166
7166
  return L(this, r), o.apply(this, arguments);
7167
7167
  }
@@ -7194,13 +7194,13 @@ var Go = /* @__PURE__ */ function(a) {
7194
7194
  var e = this;
7195
7195
  this.on(Xe, function() {
7196
7196
  e.isEndedShow && f.removeClass(e.root, "hide");
7197
- }), this.config.hideCanplay ? (this.once(de, function() {
7197
+ }), this.config.hideCanplay ? (this.once(ge, function() {
7198
7198
  e.onTimeUpdate();
7199
7199
  }), this.on(Bt, function() {
7200
- f.removeClass(e.root, "hide"), f.addClass(e.root, "xg-showplay"), e.once(de, function() {
7200
+ f.removeClass(e.root, "hide"), f.addClass(e.root, "xg-showplay"), e.once(ge, function() {
7201
7201
  e.onTimeUpdate();
7202
7202
  });
7203
- })) : this.on(ge, function() {
7203
+ })) : this.on(pe, function() {
7204
7204
  f.addClass(e.root, "hide");
7205
7205
  });
7206
7206
  }
@@ -7218,7 +7218,7 @@ var Go = /* @__PURE__ */ function(a) {
7218
7218
  key: "onTimeUpdate",
7219
7219
  value: function() {
7220
7220
  var e = this;
7221
- this.player.currentTime ? f.removeClass(this.root, "xg-showplay") : this.once(de, function() {
7221
+ this.player.currentTime ? f.removeClass(this.root, "xg-showplay") : this.once(ge, function() {
7222
7222
  e.onTimeUpdate();
7223
7223
  });
7224
7224
  }
@@ -7270,7 +7270,7 @@ var Go = /* @__PURE__ */ function(a) {
7270
7270
  };
7271
7271
  }
7272
7272
  }]), r;
7273
- }(W);
7273
+ }($);
7274
7274
  function Ei() {
7275
7275
  return new DOMParser().parseFromString(`<svg class="play" xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="3 -4 28 40">
7276
7276
  <path fill="#fff" transform="scale(0.0320625 0.0320625)" d="M576,363L810,512L576,661zM342,214L576,363L576,661L342,810z"></path>
@@ -7303,8 +7303,8 @@ function cn(a) {
7303
7303
  });
7304
7304
  }
7305
7305
  var Xo = /* @__PURE__ */ function(a) {
7306
- F(r, a);
7307
- var o = M(r);
7306
+ R(r, a);
7307
+ var o = F(r);
7308
7308
  function r(t) {
7309
7309
  var e;
7310
7310
  return L(this, r), e = o.call(this, t), _(y(e), "onPlayerReset", function() {
@@ -7327,7 +7327,7 @@ var Xo = /* @__PURE__ */ function(a) {
7327
7327
  }), this.on(Ke, this.onAutoplayStart), n.autoplay || this.show(), this.on(Ci, function() {
7328
7328
  var s = e.config.mode === "auto" ? "auto-hide" : "hide";
7329
7329
  e.setAttr("data-state", "play"), f.removeClass(e.root, s), e.show();
7330
- }), this.on(ge, function() {
7330
+ }), this.on(pe, function() {
7331
7331
  e.onPlayPause("play");
7332
7332
  }), this.on(ut, function() {
7333
7333
  e.onPlayPause("pause");
@@ -7477,9 +7477,9 @@ var Xo = /* @__PURE__ */ function(a) {
7477
7477
  };
7478
7478
  }
7479
7479
  }]), r;
7480
- }(W), qo = /* @__PURE__ */ function(a) {
7481
- F(r, a);
7482
- var o = M(r);
7480
+ }($), qo = /* @__PURE__ */ function(a) {
7481
+ R(r, a);
7482
+ var o = F(r);
7483
7483
  function r() {
7484
7484
  return L(this, r), o.apply(this, arguments);
7485
7485
  }
@@ -7512,7 +7512,7 @@ var Xo = /* @__PURE__ */ function(a) {
7512
7512
  };
7513
7513
  }
7514
7514
  }]), r;
7515
- }(W);
7515
+ }($);
7516
7516
  function ze(a, o, r) {
7517
7517
  try {
7518
7518
  return ' <div class="xg-tips '.concat(r ? "hide" : " ", '" lang-key="').concat(a.i18nKeys[o], `">
@@ -7523,8 +7523,8 @@ function ze(a, o, r) {
7523
7523
  }
7524
7524
  }
7525
7525
  var fn = /* @__PURE__ */ function(a) {
7526
- F(r, a);
7527
- var o = M(r);
7526
+ R(r, a);
7527
+ var o = F(r);
7528
7528
  function r() {
7529
7529
  return L(this, r), o.apply(this, arguments);
7530
7530
  }
@@ -7571,7 +7571,7 @@ var fn = /* @__PURE__ */ function(a) {
7571
7571
  };
7572
7572
  }
7573
7573
  }]), r;
7574
- }(W);
7574
+ }($);
7575
7575
  function hn(a) {
7576
7576
  var o = parseFloat(a), r = a.indexOf("%") === -1 && !Number.isNaN(o);
7577
7577
  return r && o;
@@ -7596,7 +7596,7 @@ function Jo(a) {
7596
7596
  return o;
7597
7597
  }
7598
7598
  function dn(a) {
7599
- if (typeof a == "string" && (a = document.querySelector(a)), !(!a || ue(a) !== "object" || !a.nodeType)) {
7599
+ if (typeof a == "string" && (a = document.querySelector(a)), !(!a || ce(a) !== "object" || !a.nodeType)) {
7600
7600
  var o = Jo(a);
7601
7601
  if (o.display === "none")
7602
7602
  return Zo();
@@ -7628,8 +7628,8 @@ var Jt = {
7628
7628
  touchstart: ["touchmove", "touchend", "touchcancel"],
7629
7629
  pointerdown: ["pointermove", "pointerup", "pointercancel"]
7630
7630
  }, Qo = /* @__PURE__ */ function(a) {
7631
- F(r, a);
7632
- var o = M(r);
7631
+ R(r, a);
7632
+ var o = F(r);
7633
7633
  function r(t) {
7634
7634
  var e, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7635
7635
  return L(this, r), e = o.call(this), e.isEnabled = !0, e.isDragging = !1, e.isDown = !1, e.position = {}, e.downPoint = {}, e.dragPoint = {
@@ -7838,8 +7838,8 @@ var Jt = {
7838
7838
  }
7839
7839
  }]), r;
7840
7840
  }(Fn), el = /* @__PURE__ */ function(a) {
7841
- F(r, a);
7842
- var o = M(r);
7841
+ R(r, a);
7842
+ var o = F(r);
7843
7843
  function r(t) {
7844
7844
  var e;
7845
7845
  L(this, r), e = o.call(this, t), _(y(e), "onCancelClick", function(s) {
@@ -7873,7 +7873,7 @@ var Jt = {
7873
7873
  var e = this;
7874
7874
  this.initIcons(), this.on(ut, function() {
7875
7875
  e.setAttr("data-state", "pause");
7876
- }), this.on(ge, function() {
7876
+ }), this.on(pe, function() {
7877
7877
  e.setAttr("data-state", "play");
7878
7878
  });
7879
7879
  }
@@ -7987,13 +7987,13 @@ var Jt = {
7987
7987
  };
7988
7988
  }
7989
7989
  }]), r;
7990
- }(W), kt = {
7990
+ }($), kt = {
7991
7991
  mouseenter: "onMouseEnter",
7992
7992
  mouseleave: "onMouseLeave",
7993
7993
  mousemove: "onMouseMove"
7994
7994
  }, Qt = ["videoClick", "videoDbClick"], ei = /* @__PURE__ */ function(a) {
7995
- F(r, a);
7996
- var o = M(r);
7995
+ R(r, a);
7996
+ var o = F(r);
7997
7997
  function r() {
7998
7998
  var t;
7999
7999
  L(this, r);
@@ -8248,8 +8248,8 @@ var et = {
8248
8248
  PLAYBACK: "playbackrate",
8249
8249
  LIGHT: ""
8250
8250
  }, ti = ["videoClick", "videoDbClick"], al = /* @__PURE__ */ function(a) {
8251
- F(r, a);
8252
- var o = M(r);
8251
+ R(r, a);
8252
+ var o = F(r);
8253
8253
  function r(t) {
8254
8254
  var e;
8255
8255
  return L(this, r), e = o.call(this, t), _(y(e), "onTouchStart", function(i) {
@@ -8675,7 +8675,7 @@ var et = {
8675
8675
  };
8676
8676
  }
8677
8677
  }]), r;
8678
- }(W);
8678
+ }($);
8679
8679
  function ol(a) {
8680
8680
  a.preventDefault(), a.returnValue = !1;
8681
8681
  }
@@ -8684,8 +8684,8 @@ function vn(a) {
8684
8684
  return !!(o === "INPUT" || o === "TEXTAREA" || a.isContentEditable);
8685
8685
  }
8686
8686
  var mn = /* @__PURE__ */ function(a) {
8687
- F(r, a);
8688
- var o = M(r);
8687
+ R(r, a);
8688
+ var o = F(r);
8689
8689
  function r() {
8690
8690
  var t;
8691
8691
  L(this, r);
@@ -8919,7 +8919,7 @@ var mn = /* @__PURE__ */ function(a) {
8919
8919
  if (h === e) {
8920
8920
  if (!g && !(n && d)) {
8921
8921
  var v = n && p || c;
8922
- typeof v == "function" ? c(i, this.player, n) : typeof v == "string" && typeof this[v] == "function" && this[v](i, this.player, n), this.emit(Kn, Q({
8922
+ typeof v == "function" ? c(i, this.player, n) : typeof v == "string" && typeof this[v] == "function" && this[v](i, this.player, n), this.emit(Kn, ee({
8923
8923
  key: s[l],
8924
8924
  target: i.target,
8925
8925
  isPress: n
@@ -8974,8 +8974,8 @@ function ll() {
8974
8974
  `, "image/svg+xml").firstChild;
8975
8975
  }
8976
8976
  var ul = /* @__PURE__ */ function(a) {
8977
- F(r, a);
8978
- var o = M(r);
8977
+ R(r, a);
8978
+ var o = F(r);
8979
8979
  function r() {
8980
8980
  return L(this, r), o.apply(this, arguments);
8981
8981
  }
@@ -9012,7 +9012,7 @@ var ul = /* @__PURE__ */ function(a) {
9012
9012
  };
9013
9013
  }
9014
9014
  }]), r;
9015
- }(W), cl = [{
9015
+ }($), cl = [{
9016
9016
  tag: "xg-cache",
9017
9017
  className: "xgplayer-progress-cache",
9018
9018
  styleKey: "cachedColor"
@@ -9224,8 +9224,8 @@ var ul = /* @__PURE__ */ function(a) {
9224
9224
  POINT: "inner-focus-point",
9225
9225
  HIGHLIGHT: "inner-focus-highlight"
9226
9226
  }, hl = /* @__PURE__ */ function(a) {
9227
- F(r, a);
9228
- var o = M(r);
9227
+ R(r, a);
9228
+ var o = F(r);
9229
9229
  function r(t) {
9230
9230
  var e;
9231
9231
  return L(this, r), e = o.call(this, t), _(y(e), "onMoveOnly", function(i, n) {
@@ -9346,7 +9346,7 @@ var ul = /* @__PURE__ */ function(a) {
9346
9346
  (!i || i.length === 0) && (i = [{
9347
9347
  percent: 1
9348
9348
  }]);
9349
- var s = Q(Q({
9349
+ var s = ee(ee({
9350
9350
  fragments: i
9351
9351
  }, n), {}, {
9352
9352
  actionCallback: function(u) {
@@ -9383,7 +9383,7 @@ var ul = /* @__PURE__ */ function(a) {
9383
9383
  style: this.playerConfig.commonStyle || {}
9384
9384
  }), z.device === "mobile" && (this.config.isDragingSeek = !1, this.isMobile = !0), this.progressBtn = this.find(".xgplayer-progress-btn"), this.on(Ue, function() {
9385
9385
  e.onMouseLeave();
9386
- }), this.on(de, function() {
9386
+ }), this.on(ge, function() {
9387
9387
  e.onTimeupdate();
9388
9388
  }), this.on(Pe, function() {
9389
9389
  e.onTimeupdate(), e.onCacheUpdate();
@@ -9410,7 +9410,7 @@ var ul = /* @__PURE__ */ function(a) {
9410
9410
  key: "initCustomStyle",
9411
9411
  value: function() {
9412
9412
  var e = this.playerConfig || {}, i = e.commonStyle, n = i.sliderBtnStyle, s = this.progressBtn;
9413
- n && (typeof n == "string" ? s.style.boxShadow = n : ue(n) === "object" && Object.keys(n).map(function(l) {
9413
+ n && (typeof n == "string" ? s.style.boxShadow = n : ce(n) === "object" && Object.keys(n).map(function(l) {
9414
9414
  s.style[l] = n[l];
9415
9415
  }));
9416
9416
  }
@@ -9634,9 +9634,9 @@ var ul = /* @__PURE__ */ function(a) {
9634
9634
  return yn;
9635
9635
  }
9636
9636
  }]), r;
9637
- }(W), Ze = /* @__PURE__ */ function(a) {
9638
- F(r, a);
9639
- var o = M(r);
9637
+ }($), Ze = /* @__PURE__ */ function(a) {
9638
+ R(r, a);
9639
+ var o = F(r);
9640
9640
  function r() {
9641
9641
  var t;
9642
9642
  L(this, r);
@@ -9663,9 +9663,9 @@ var ul = /* @__PURE__ */ function(a) {
9663
9663
  this.unbind("mouseenter", this._onMouseenter), this.unbind("mouseleave", this._onMouseLeave);
9664
9664
  }
9665
9665
  }]), r;
9666
- }(W), dl = /* @__PURE__ */ function(a) {
9667
- F(r, a);
9668
- var o = M(r);
9666
+ }($), dl = /* @__PURE__ */ function(a) {
9667
+ R(r, a);
9668
+ var o = F(r);
9669
9669
  function r() {
9670
9670
  return L(this, r), o.apply(this, arguments);
9671
9671
  }
@@ -9673,11 +9673,11 @@ var ul = /* @__PURE__ */ function(a) {
9673
9673
  key: "afterCreate",
9674
9674
  value: function() {
9675
9675
  var e = this;
9676
- B(N(r.prototype), "afterCreate", this).call(this);
9676
+ N(M(r.prototype), "afterCreate", this).call(this);
9677
9677
  var i = this.player, n = this.config;
9678
9678
  n.disable || (this.initIcons(), this.btnClick = this.btnClick.bind(this), this.bind(["touchend", "click"], this.btnClick), this.on([ut, vt, qe], function() {
9679
9679
  e.animate(i.paused);
9680
- }), this.on(ge, function() {
9680
+ }), this.on(pe, function() {
9681
9681
  e.animate(i.paused);
9682
9682
  }), this.animate(!0));
9683
9683
  }
@@ -9723,7 +9723,7 @@ var ul = /* @__PURE__ */ function(a) {
9723
9723
  }, {
9724
9724
  key: "destroy",
9725
9725
  value: function() {
9726
- B(N(r.prototype), "destroy", this).call(this), this.unbind(["touchend", "click"], this.btnClick);
9726
+ N(M(r.prototype), "destroy", this).call(this), this.unbind(["touchend", "click"], this.btnClick);
9727
9727
  }
9728
9728
  }, {
9729
9729
  key: "render",
@@ -9759,8 +9759,8 @@ function gl() {
9759
9759
  </svg>`, "image/svg+xml").firstChild;
9760
9760
  }
9761
9761
  var pl = /* @__PURE__ */ function(a) {
9762
- F(r, a);
9763
- var o = M(r);
9762
+ R(r, a);
9763
+ var o = F(r);
9764
9764
  function r() {
9765
9765
  return L(this, r), o.apply(this, arguments);
9766
9766
  }
@@ -9818,7 +9818,7 @@ var pl = /* @__PURE__ */ function(a) {
9818
9818
  };
9819
9819
  }
9820
9820
  }]), r;
9821
- }(W);
9821
+ }($);
9822
9822
  function vl() {
9823
9823
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
9824
9824
  <path fill="#fff" transform="scale(0.0320625 0.0320625)" d="M598 214h212v212h-84v-128h-128v-84zM726 726v-128h84v212h-212v-84h128zM214 426v-212h212v84h-128v128h-84zM298 598v128h128v84h-212v-212h84z"></path>
@@ -9832,8 +9832,8 @@ function ml() {
9832
9832
  `, "image/svg+xml").firstChild;
9833
9833
  }
9834
9834
  var yl = /* @__PURE__ */ function(a) {
9835
- F(r, a);
9836
- var o = M(r);
9835
+ R(r, a);
9836
+ var o = F(r);
9837
9837
  function r() {
9838
9838
  var t;
9839
9839
  L(this, r);
@@ -9847,7 +9847,7 @@ var yl = /* @__PURE__ */ function(a) {
9847
9847
  key: "afterCreate",
9848
9848
  value: function() {
9849
9849
  var e = this;
9850
- B(N(r.prototype), "afterCreate", this).call(this);
9850
+ N(M(r.prototype), "afterCreate", this).call(this);
9851
9851
  var i = this.config, n = this.playerConfig;
9852
9852
  if (!i.disable) {
9853
9853
  i.target && (this.playerConfig.fullscreenTarget = this.config.target);
@@ -9894,7 +9894,7 @@ var yl = /* @__PURE__ */ function(a) {
9894
9894
  }, {
9895
9895
  key: "destroy",
9896
9896
  value: function() {
9897
- B(N(r.prototype), "destroy", this).call(this), this.unbind(".xgplayer-icon", z.device === "mobile" ? "touchend" : "click", this.handleFullscreen), z.device === "mobile" && window.removeEventListener("orientationchange", this._onOrientationChange);
9897
+ N(M(r.prototype), "destroy", this).call(this), this.unbind(".xgplayer-icon", z.device === "mobile" ? "touchend" : "click", this.handleFullscreen), z.device === "mobile" && window.removeEventListener("orientationchange", this._onOrientationChange);
9898
9898
  }
9899
9899
  }, {
9900
9900
  key: "initIcons",
@@ -9968,8 +9968,8 @@ var yl = /* @__PURE__ */ function(a) {
9968
9968
  }
9969
9969
  }]), r;
9970
9970
  }(Ze), _l = /* @__PURE__ */ function(a) {
9971
- F(r, a);
9972
- var o = M(r);
9971
+ R(r, a);
9972
+ var o = F(r);
9973
9973
  function r(t) {
9974
9974
  var e;
9975
9975
  return L(this, r), e = o.call(this, t), e.isActiving = !1, e;
@@ -9995,7 +9995,7 @@ var yl = /* @__PURE__ */ function(a) {
9995
9995
  key: "afterCreate",
9996
9996
  value: function() {
9997
9997
  var e = this, i = this.player.controls.config.mode;
9998
- this.mode = i === "flex" ? "flex" : "normal", !this.config.disable && (this.mode === "flex" && (this.createCenterTime(), this.root.style.display = "none"), this.durationDom = this.find(".time-duration"), this.timeDom = this.find(".time-current"), this.on([Ue, Pe, de], function(n) {
9998
+ this.mode = i === "flex" ? "flex" : "normal", !this.config.disable && (this.mode === "flex" && (this.createCenterTime(), this.root.style.display = "none"), this.durationDom = this.find(".time-duration"), this.timeDom = this.find(".time-current"), this.on([Ue, Pe, ge], function(n) {
9999
9999
  n.eventName === "durationchange" && (e.isActiving = !1), e.onTimeUpdate();
10000
10000
  }), this.on(Xe, function() {
10001
10001
  e.onTimeUpdate(!0);
@@ -10117,9 +10117,9 @@ var yl = /* @__PURE__ */ function(a) {
10117
10117
  };
10118
10118
  }
10119
10119
  }]), r;
10120
- }(W), kl = /* @__PURE__ */ function(a) {
10121
- F(r, a);
10122
- var o = M(r);
10120
+ }($), kl = /* @__PURE__ */ function(a) {
10121
+ R(r, a);
10122
+ var o = F(r);
10123
10123
  function r() {
10124
10124
  var t;
10125
10125
  L(this, r);
@@ -10173,7 +10173,7 @@ var yl = /* @__PURE__ */ function(a) {
10173
10173
  return D(r, [{
10174
10174
  key: "afterCreate",
10175
10175
  value: function() {
10176
- this.curIndex = -1, this.curPos = null, this.lastCurrentTime = 0, this.updateSegments(), this.on(Ue, this._onDurationChange), this.on(Ae, this._onLoadedData), this.on(de, this._onTimeupdate), this.on(Mt, this._onSeeking), this.on(ge, this._onPlay);
10176
+ this.curIndex = -1, this.curPos = null, this.lastCurrentTime = 0, this.updateSegments(), this.on(Ue, this._onDurationChange), this.on(Ae, this._onLoadedData), this.on(ge, this._onTimeupdate), this.on(Mt, this._onSeeking), this.on(pe, this._onPlay);
10177
10177
  }
10178
10178
  }, {
10179
10179
  key: "setConfig",
@@ -10277,8 +10277,8 @@ function bl() {
10277
10277
  `, "image/svg+xml").firstChild;
10278
10278
  }
10279
10279
  var Tl = /* @__PURE__ */ function(a) {
10280
- F(r, a);
10281
- var o = M(r);
10280
+ R(r, a);
10281
+ var o = F(r);
10282
10282
  function r() {
10283
10283
  var t;
10284
10284
  L(this, r);
@@ -10470,7 +10470,7 @@ var Tl = /* @__PURE__ */ function(a) {
10470
10470
  };
10471
10471
  }
10472
10472
  }]), r;
10473
- }(W);
10473
+ }($);
10474
10474
  function El() {
10475
10475
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="-4 -6 40 40" fill="none">
10476
10476
  <g clip-path="url(#clip0)">
@@ -10486,8 +10486,8 @@ function El() {
10486
10486
  `, "image/svg+xml").firstChild;
10487
10487
  }
10488
10488
  var Sl = /* @__PURE__ */ function(a) {
10489
- F(r, a);
10490
- var o = M(r);
10489
+ R(r, a);
10490
+ var o = F(r);
10491
10491
  function r(t) {
10492
10492
  var e;
10493
10493
  return L(this, r), e = o.call(this, t), e.rotateDeg = e.config.rotateDeg || 0, e;
@@ -10497,7 +10497,7 @@ var Sl = /* @__PURE__ */ function(a) {
10497
10497
  value: function() {
10498
10498
  var e = this;
10499
10499
  if (!this.config.disable) {
10500
- B(N(r.prototype), "afterCreate", this).call(this), this.appendChild(".xgplayer-icon", this.icons.rotate), this.onBtnClick = this.onBtnClick.bind(this), this.bind(".xgplayer-icon", ["click", "touchend"], this.onBtnClick), this.on(Be, function() {
10500
+ N(M(r.prototype), "afterCreate", this).call(this), this.appendChild(".xgplayer-icon", this.icons.rotate), this.onBtnClick = this.onBtnClick.bind(this), this.bind(".xgplayer-icon", ["click", "touchend"], this.onBtnClick), this.on(Be, function() {
10501
10501
  e.rotateDeg && e.config.innerRotate && f.setTimeout(e, function() {
10502
10502
  e.updateRotateDeg(e.rotateDeg, e.config.innerRotate);
10503
10503
  }, 100);
@@ -10509,7 +10509,7 @@ var Sl = /* @__PURE__ */ function(a) {
10509
10509
  }, {
10510
10510
  key: "destroy",
10511
10511
  value: function() {
10512
- B(N(r.prototype), "destroy", this).call(this), this.unbind(".xgplayer-icon", ["click", "touchend"], this.onBtnClick);
10512
+ N(M(r.prototype), "destroy", this).call(this), this.unbind(".xgplayer-icon", ["click", "touchend"], this.onBtnClick);
10513
10513
  }
10514
10514
  }, {
10515
10515
  key: "onBtnClick",
@@ -10531,9 +10531,9 @@ var Sl = /* @__PURE__ */ function(a) {
10531
10531
  webKitTransform: S,
10532
10532
  height: v,
10533
10533
  width: d
10534
- }, P = i ? h : u, O = i ? n.getPlugin("poster") : null;
10535
- Object.keys(b).map(function(U) {
10536
- P.style[U] = b[U], O && O.root && (O.root.style[U] = b[U]);
10534
+ }, B = i ? h : u, I = i ? n.getPlugin("poster") : null;
10535
+ Object.keys(b).map(function(H) {
10536
+ B.style[H] = b[H], I && I.root && (I.root.style[H] = b[H]);
10537
10537
  });
10538
10538
  }
10539
10539
  }, {
@@ -10603,8 +10603,8 @@ var tt = {
10603
10603
  INLINE: "inline",
10604
10604
  FULLSCREEN: "fullscreen"
10605
10605
  }, Pl = /* @__PURE__ */ function(a) {
10606
- F(r, a);
10607
- var o = M(r);
10606
+ R(r, a);
10607
+ var o = F(r);
10608
10608
  function r() {
10609
10609
  var t;
10610
10610
  L(this, r);
@@ -10633,7 +10633,7 @@ var tt = {
10633
10633
  key: "afterCreate",
10634
10634
  value: function() {
10635
10635
  var e = this;
10636
- this.isPIPAvailable() && (B(N(r.prototype), "afterCreate", this).call(this), this.pMode = tt.INLINE, this.initPipEvents(), this.config.showIcon && this.initIcons(), this.once(Nt, function() {
10636
+ this.isPIPAvailable() && (N(M(r.prototype), "afterCreate", this).call(this), this.pMode = tt.INLINE, this.initPipEvents(), this.config.showIcon && this.initIcons(), this.once(Nt, function() {
10637
10637
  e.config.showIcon && (f.removeClass(e.find(".xgplayer-icon"), "xg-icon-disable"), e.bind("click", e.switchPIP));
10638
10638
  }));
10639
10639
  }
@@ -10718,7 +10718,7 @@ var tt = {
10718
10718
  d === i.root && S.append(`
10719
10719
  .xgplayer{width: 100%!important; height: 100%!important;}
10720
10720
  `);
10721
- h.document.head.append(S), h.document.body.append(d), h.addEventListener("pagehide", function(P) {
10721
+ h.document.head.append(S), h.document.body.append(d), h.addEventListener("pagehide", function(B) {
10722
10722
  v && (C ? v.insertBefore(d, C) : m ? v.insertBefore(d, m.nextSibling) : v.appendChild(d)), e.leavePIPCallback();
10723
10723
  }, {
10724
10724
  once: !0
@@ -10765,7 +10765,7 @@ var tt = {
10765
10765
  }, {
10766
10766
  key: "destroy",
10767
10767
  value: function() {
10768
- B(N(r.prototype), "destroy", this).call(this);
10768
+ N(M(r.prototype), "destroy", this).call(this);
10769
10769
  var e = this.player;
10770
10770
  e.media.removeEventListener("enterpictureinpicture", this.enterPIPCallback), e.media.removeEventListener("leavepictureinpicture", this.leavePIPCallback), r.checkWebkitSetPresentationMode(e.media) && e.media.removeEventListener("webkitpresentationmodechanged", this.onWebkitpresentationmodechanged), this.exitPIP(), this.unbind("click", this.btnClick);
10771
10771
  }
@@ -10812,8 +10812,8 @@ function Al() {
10812
10812
  `, "image/svg+xml").firstChild;
10813
10813
  }
10814
10814
  var Ll = /* @__PURE__ */ function(a) {
10815
- F(r, a);
10816
- var o = M(r);
10815
+ R(r, a);
10816
+ var o = F(r);
10817
10817
  function r(t) {
10818
10818
  var e;
10819
10819
  return L(this, r), e = o.call(this, t), _(y(e), "playNext", function(i) {
@@ -10879,73 +10879,73 @@ var Ll = /* @__PURE__ */ function(a) {
10879
10879
  };
10880
10880
  }
10881
10881
  }]), r;
10882
- }(W), sr = { exports: {} };
10882
+ }($), sr = { exports: {} };
10883
10883
  (function(a, o) {
10884
10884
  (function(r, t) {
10885
10885
  a.exports = t();
10886
10886
  })(Ca, function() {
10887
10887
  return function r(t, e, i) {
10888
- var n = window, s = "application/octet-stream", l = i || s, u = t, c = !e && !i && u, h = document.createElement("a"), g = function(R) {
10889
- return String(R);
10888
+ var n = window, s = "application/octet-stream", l = i || s, u = t, c = !e && !i && u, h = document.createElement("a"), g = function(O) {
10889
+ return String(O);
10890
10890
  }, p = n.Blob || n.MozBlob || n.WebKitBlob || g, d = e || "download", v, m;
10891
10891
  if (p = p.call ? p.bind(n) : Blob, String(this) === "true" && (u = [u, l], l = u[0], u = u[1]), c && c.length < 2048 && (d = c.split("/").pop().split("?")[0], h.href = c, h.href.indexOf(c) !== -1)) {
10892
10892
  var C = new XMLHttpRequest();
10893
- return C.open("GET", c, !0), C.responseType = "blob", C.onload = function(R) {
10894
- r(R.target.response, d, s);
10893
+ return C.open("GET", c, !0), C.responseType = "blob", C.onload = function(O) {
10894
+ r(O.target.response, d, s);
10895
10895
  }, setTimeout(function() {
10896
10896
  C.send();
10897
10897
  }, 0), C;
10898
10898
  }
10899
10899
  if (/^data:([\w+-]+\/[\w+.-]+)?[,;]/.test(u))
10900
10900
  if (u.length > 1024 * 1024 * 1.999 && p !== g)
10901
- u = O(u), l = u.type || s;
10901
+ u = I(u), l = u.type || s;
10902
10902
  else
10903
10903
  return navigator.msSaveBlob ? (
10904
10904
  // IE10 can't do a[download], only Blobs:
10905
- navigator.msSaveBlob(O(u), d)
10906
- ) : U(u);
10905
+ navigator.msSaveBlob(I(u), d)
10906
+ ) : H(u);
10907
10907
  else if (/([\x80-\xff])/.test(u)) {
10908
- var S = 0, b = new Uint8Array(u.length), P = b.length;
10909
- for (S; S < P; ++S)
10908
+ var S = 0, b = new Uint8Array(u.length), B = b.length;
10909
+ for (S; S < B; ++S)
10910
10910
  b[S] = u.charCodeAt(S);
10911
10911
  u = new p([b], { type: l });
10912
10912
  }
10913
10913
  v = u instanceof p ? u : new p([u], { type: l });
10914
- function O(R) {
10915
- var te = R.split(/[:;,]/), q = te[1], A = te[2] == "base64" ? atob : decodeURIComponent, ie = A(te.pop()), oe = ie.length, fe = 0, Te = new Uint8Array(oe);
10916
- for (fe; fe < oe; ++fe)
10917
- Te[fe] = ie.charCodeAt(fe);
10914
+ function I(O) {
10915
+ var J = O.split(/[:;,]/), q = J[1], A = J[2] == "base64" ? atob : decodeURIComponent, ie = A(J.pop()), ae = ie.length, he = 0, Te = new Uint8Array(ae);
10916
+ for (he; he < ae; ++he)
10917
+ Te[he] = ie.charCodeAt(he);
10918
10918
  return new p([Te], { type: q });
10919
10919
  }
10920
- function U(R, te) {
10920
+ function H(O, J) {
10921
10921
  if ("download" in h)
10922
- return h.href = R, h.setAttribute("download", d), h.className = "download-js-link", h.innerHTML = "downloading...", h.style.display = "none", document.body.appendChild(h), setTimeout(function() {
10923
- h.click(), document.body.removeChild(h), te === !0 && setTimeout(function() {
10922
+ return h.href = O, h.setAttribute("download", d), h.className = "download-js-link", h.innerHTML = "downloading...", h.style.display = "none", document.body.appendChild(h), setTimeout(function() {
10923
+ h.click(), document.body.removeChild(h), J === !0 && setTimeout(function() {
10924
10924
  n.URL.revokeObjectURL(h.href);
10925
10925
  }, 250);
10926
10926
  }, 66), !0;
10927
10927
  if (/(Version)\/(\d+)\.(\d+)(?:\.(\d+))?.*Safari\//.test(navigator.userAgent))
10928
- return /^data:/.test(R) && (R = "data:" + R.replace(/^data:([\w\/\-\+]+)/, s)), window.open(R) || confirm(`Displaying New Document
10928
+ return /^data:/.test(O) && (O = "data:" + O.replace(/^data:([\w\/\-\+]+)/, s)), window.open(O) || confirm(`Displaying New Document
10929
10929
 
10930
- Use Save As... to download, then click back to return to this page.`) && (location.href = R), !0;
10930
+ Use Save As... to download, then click back to return to this page.`) && (location.href = O), !0;
10931
10931
  var q = document.createElement("iframe");
10932
- document.body.appendChild(q), !te && /^data:/.test(R) && (R = "data:" + R.replace(/^data:([\w\/\-\+]+)/, s)), q.src = R, setTimeout(function() {
10932
+ document.body.appendChild(q), !J && /^data:/.test(O) && (O = "data:" + O.replace(/^data:([\w\/\-\+]+)/, s)), q.src = O, setTimeout(function() {
10933
10933
  document.body.removeChild(q);
10934
10934
  }, 333);
10935
10935
  }
10936
10936
  if (navigator.msSaveBlob)
10937
10937
  return navigator.msSaveBlob(v, d);
10938
10938
  if (n.URL)
10939
- U(n.URL.createObjectURL(v), !0);
10939
+ H(n.URL.createObjectURL(v), !0);
10940
10940
  else {
10941
10941
  if (typeof v == "string" || v.constructor === g)
10942
10942
  try {
10943
- return U("data:" + l + ";base64," + n.btoa(v));
10943
+ return H("data:" + l + ";base64," + n.btoa(v));
10944
10944
  } catch {
10945
- return U("data:" + l + "," + encodeURIComponent(v));
10945
+ return H("data:" + l + "," + encodeURIComponent(v));
10946
10946
  }
10947
- m = new FileReader(), m.onload = function(R) {
10948
- U(this.result);
10947
+ m = new FileReader(), m.onload = function(O) {
10948
+ H(this.result);
10949
10949
  }, m.readAsDataURL(v);
10950
10950
  }
10951
10951
  return !0;
@@ -10972,8 +10972,8 @@ function Rl() {
10972
10972
  `, "image/svg+xml").firstChild;
10973
10973
  }
10974
10974
  var Fl = /* @__PURE__ */ function(a) {
10975
- F(r, a);
10976
- var o = M(r);
10975
+ R(r, a);
10976
+ var o = F(r);
10977
10977
  function r(t) {
10978
10978
  var e;
10979
10979
  return L(this, r), e = o.call(this, t), _(y(e), "download", function(i) {
@@ -10991,7 +10991,7 @@ var Fl = /* @__PURE__ */ function(a) {
10991
10991
  return D(r, [{
10992
10992
  key: "afterCreate",
10993
10993
  value: function() {
10994
- B(N(r.prototype), "afterCreate", this).call(this), !this.config.disable && (this.appendChild(".xgplayer-icon", this.icons.download), this._handler = this.hook("click", this.download, {
10994
+ N(M(r.prototype), "afterCreate", this).call(this), !this.config.disable && (this.appendChild(".xgplayer-icon", this.icons.download), this._handler = this.hook("click", this.download, {
10995
10995
  pre: function(i) {
10996
10996
  i.preventDefault(), i.stopPropagation();
10997
10997
  }
@@ -11016,7 +11016,7 @@ var Fl = /* @__PURE__ */ function(a) {
11016
11016
  }, {
11017
11017
  key: "destroy",
11018
11018
  value: function() {
11019
- B(N(r.prototype), "destroy", this).call(this), this.unbind(["click", "touchend"], this.download), window.clearTimeout(this.timer), this.timer = null;
11019
+ N(M(r.prototype), "destroy", this).call(this), this.unbind(["click", "touchend"], this.download), window.clearTimeout(this.timer), this.timer = null;
11020
11020
  }
11021
11021
  }, {
11022
11022
  key: "render",
@@ -11044,8 +11044,8 @@ var Fl = /* @__PURE__ */ function(a) {
11044
11044
  }
11045
11045
  }]), r;
11046
11046
  }(Ze), Ml = /* @__PURE__ */ function(a) {
11047
- F(r, a);
11048
- var o = M(r);
11047
+ R(r, a);
11048
+ var o = F(r);
11049
11049
  function r() {
11050
11050
  return L(this, r), o.apply(this, arguments);
11051
11051
  }
@@ -11057,7 +11057,7 @@ var Fl = /* @__PURE__ */ function(a) {
11057
11057
  }, {
11058
11058
  key: "afterCreate",
11059
11059
  value: function() {
11060
- B(N(r.prototype), "afterCreate", this).call(this), this.appendChild(".xgplayer-icon", this.icons.screenshotIcon);
11060
+ N(M(r.prototype), "afterCreate", this).call(this), this.appendChild(".xgplayer-icon", this.icons.screenshotIcon);
11061
11061
  var e = this.config;
11062
11062
  this.initSize = function(i) {
11063
11063
  e.fitVideo && (e.width = i.vWidth, e.height = i.vHeight);
@@ -11114,8 +11114,8 @@ var Fl = /* @__PURE__ */ function(a) {
11114
11114
  d = u.media.canvas;
11115
11115
  else {
11116
11116
  n.canvas ? (n.canvas.width = e || l.width, n.canvas.height = i || l.height) : n.createCanvas(e, i), d = n.canvas, v = n.canvasCtx;
11117
- var m = u.media.videoWidth / u.media.videoHeight, C = d.width / d.height, S = 0, b = 0, P = u.media.videoWidth, O = u.media.videoHeight, U, R, te, q;
11118
- m > C ? (te = d.width, q = d.width / m, U = 0, R = Math.round((d.height - q) / 2)) : m === C ? (te = d.width, q = d.height, U = 0, R = 0) : m < C && (te = d.height * m, q = d.height, U = Math.round((d.width - te) / 2), R = 0), v.drawImage(u.media, S, b, P, O, U, R, te, q);
11117
+ var m = u.media.videoWidth / u.media.videoHeight, C = d.width / d.height, S = 0, b = 0, B = u.media.videoWidth, I = u.media.videoHeight, H, O, J, q;
11118
+ m > C ? (J = d.width, q = d.width / m, H = 0, O = Math.round((d.height - q) / 2)) : m === C ? (J = d.width, q = d.height, H = 0, O = 0) : m < C && (J = d.height * m, q = d.height, H = Math.round((d.width - J) / 2), O = 0), v.drawImage(u.media, S, b, B, I, H, O, J, q);
11119
11119
  }
11120
11120
  var A = d.toDataURL(h, c).replace(h, "image/octet-stream");
11121
11121
  A = A.replace(/^data:image\/[^;]+/, "data:application/octet-stream"), g(A);
@@ -11131,7 +11131,7 @@ var Fl = /* @__PURE__ */ function(a) {
11131
11131
  }, {
11132
11132
  key: "destroy",
11133
11133
  value: function() {
11134
- B(N(r.prototype), "destroy", this).call(this), this.unbind(["click", "touchend"], this.onClickBtn), this.off(Be, this.initSize);
11134
+ N(M(r.prototype), "destroy", this).call(this), this.unbind(["click", "touchend"], this.onClickBtn), this.off(Be, this.initSize);
11135
11135
  }
11136
11136
  }, {
11137
11137
  key: "render",
@@ -11177,7 +11177,7 @@ var Fl = /* @__PURE__ */ function(a) {
11177
11177
  maxHeight: r
11178
11178
  }), this.onItemClick = this.onItemClick.bind(this), this.renderItemList();
11179
11179
  var t = this.config.domEventType === "touch" ? "touchend" : "click";
11180
- this._delegates = W.delegate.call(this, this.root, "li", t, this.onItemClick);
11180
+ this._delegates = $.delegate.call(this, this.root, "li", t, this.onItemClick);
11181
11181
  }
11182
11182
  return D(a, [{
11183
11183
  key: "renderItemList",
@@ -11253,8 +11253,8 @@ function Bl(a, o) {
11253
11253
  return a === we.SIDE ? o === Y.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
11254
11254
  }
11255
11255
  var je = z.device === "mobile", Rt = /* @__PURE__ */ function(a) {
11256
- F(r, a);
11257
- var o = M(r);
11256
+ R(r, a);
11257
+ var o = F(r);
11258
11258
  function r(t) {
11259
11259
  var e;
11260
11260
  return L(this, r), e = o.call(this, t), _(y(e), "onEnter", function(i) {
@@ -11318,7 +11318,7 @@ var je = z.device === "mobile", Rt = /* @__PURE__ */ function(a) {
11318
11318
  var s = this.config.list;
11319
11319
  !n && (n = this.player.lang), i = !i || f.isUndefined(e[i]) ? "text" : i, typeof e == "number" && (e = s[e]);
11320
11320
  try {
11321
- return ue(e[i]) === "object" ? e[i][n] || e[i].en : e[i];
11321
+ return ce(e[i]) === "object" ? e[i][n] || e[i].en : e[i];
11322
11322
  } catch (l) {
11323
11323
  return console.warn(l), "";
11324
11324
  }
@@ -11424,9 +11424,9 @@ var je = z.device === "mobile", Rt = /* @__PURE__ */ function(a) {
11424
11424
  };
11425
11425
  }
11426
11426
  }]), r;
11427
- }(W), Hl = /* @__PURE__ */ function(a) {
11428
- F(r, a);
11429
- var o = M(r);
11427
+ }($), Hl = /* @__PURE__ */ function(a) {
11428
+ R(r, a);
11429
+ var o = F(r);
11430
11430
  function r(t) {
11431
11431
  var e;
11432
11432
  return L(this, r), e = o.call(this, t), e.curTime = 0, e.isPaused = !0, e;
@@ -11443,7 +11443,7 @@ var je = z.device === "mobile", Rt = /* @__PURE__ */ function(a) {
11443
11443
  key: "afterCreate",
11444
11444
  value: function() {
11445
11445
  var e = this;
11446
- B(N(r.prototype), "afterCreate", this).call(this), this.on("resourceReady", function(i) {
11446
+ N(M(r.prototype), "afterCreate", this).call(this), this.on("resourceReady", function(i) {
11447
11447
  e.changeDefinitionList(i);
11448
11448
  }), this.on(bi, function(i) {
11449
11449
  e.renderItemList(e.config.list, i.to);
@@ -11473,13 +11473,13 @@ var je = z.device === "mobile", Rt = /* @__PURE__ */ function(a) {
11473
11473
  c.selected = !1;
11474
11474
  });
11475
11475
  var l = 0, u = i.map(function(c, h) {
11476
- var g = Q(Q({}, c), {}, {
11476
+ var g = ee(ee({}, c), {}, {
11477
11477
  showText: e.getTextByLang(c) || c.definition,
11478
11478
  selected: !1
11479
11479
  });
11480
11480
  return (c.selected || c.definition && c.definition == s) && (g.selected = !0, l = h), g;
11481
11481
  });
11482
- B(N(r.prototype), "renderItemList", this).call(this, u, l);
11482
+ N(M(r.prototype), "renderItemList", this).call(this, u, l);
11483
11483
  }
11484
11484
  }, {
11485
11485
  key: "changeDefinitionList",
@@ -11497,7 +11497,7 @@ var je = z.device === "mobile", Rt = /* @__PURE__ */ function(a) {
11497
11497
  key: "onItemClick",
11498
11498
  value: function(e, i) {
11499
11499
  var n = this.player.definitionList;
11500
- B(N(r.prototype), "onItemClick", this).apply(this, arguments), this.emitUserAction(e, "change_definition", {
11500
+ N(M(r.prototype), "onItemClick", this).apply(this, arguments), this.emitUserAction(e, "change_definition", {
11501
11501
  from: i.from,
11502
11502
  to: i.to
11503
11503
  });
@@ -11513,7 +11513,7 @@ var je = z.device === "mobile", Rt = /* @__PURE__ */ function(a) {
11513
11513
  }, {
11514
11514
  key: "defaultConfig",
11515
11515
  get: function() {
11516
- return Q(Q({}, Rt.defaultConfig), {}, {
11516
+ return ee(ee({}, Rt.defaultConfig), {}, {
11517
11517
  position: Y.CONTROLS_RIGHT,
11518
11518
  index: 3,
11519
11519
  list: [],
@@ -11526,8 +11526,8 @@ var je = z.device === "mobile", Rt = /* @__PURE__ */ function(a) {
11526
11526
  }
11527
11527
  }]), r;
11528
11528
  }(Rt), Ul = /* @__PURE__ */ function(a) {
11529
- F(r, a);
11530
- var o = M(r);
11529
+ R(r, a);
11530
+ var o = F(r);
11531
11531
  function r(t) {
11532
11532
  var e;
11533
11533
  return L(this, r), e = o.call(this, t), e.curRate = 1, e;
@@ -11547,19 +11547,19 @@ var je = z.device === "mobile", Rt = /* @__PURE__ */ function(a) {
11547
11547
  key: "afterCreate",
11548
11548
  value: function() {
11549
11549
  var e = this;
11550
- B(N(r.prototype), "afterCreate", this).call(this), this.on(Bn, function() {
11550
+ N(M(r.prototype), "afterCreate", this).call(this), this.on(Bn, function() {
11551
11551
  e.curValue !== e.player.playbackRate && e.renderItemList();
11552
11552
  }), this.renderItemList();
11553
11553
  }
11554
11554
  }, {
11555
11555
  key: "show",
11556
11556
  value: function(e) {
11557
- !this.config.list || this.config.list.length === 0 || B(N(r.prototype), "show", this).call(this);
11557
+ !this.config.list || this.config.list.length === 0 || N(M(r.prototype), "show", this).call(this);
11558
11558
  }
11559
11559
  }, {
11560
11560
  key: "onItemClick",
11561
11561
  value: function(e, i) {
11562
- B(N(r.prototype), "onItemClick", this).call(this, e, i);
11562
+ N(M(r.prototype), "onItemClick", this).call(this, e, i);
11563
11563
  var n = e.delegateTarget, s = Number(n.getAttribute("rate"));
11564
11564
  if (!s || s === this.curValue)
11565
11565
  return !1;
@@ -11584,7 +11584,7 @@ var je = z.device === "mobile", Rt = /* @__PURE__ */ function(a) {
11584
11584
  };
11585
11585
  return c.rate === i && (c.selected = !0, n = u), c.showText = e.getTextByLang(l), c;
11586
11586
  });
11587
- B(N(r.prototype), "renderItemList", this).call(this, s, n);
11587
+ N(M(r.prototype), "renderItemList", this).call(this, s, n);
11588
11588
  }
11589
11589
  }, {
11590
11590
  key: "changeCurrentText",
@@ -11597,7 +11597,7 @@ var je = z.device === "mobile", Rt = /* @__PURE__ */ function(a) {
11597
11597
  }, {
11598
11598
  key: "destroy",
11599
11599
  value: function() {
11600
- B(N(r.prototype), "destroy", this).call(this);
11600
+ N(M(r.prototype), "destroy", this).call(this);
11601
11601
  }
11602
11602
  }], [{
11603
11603
  key: "pluginName",
@@ -11607,7 +11607,7 @@ var je = z.device === "mobile", Rt = /* @__PURE__ */ function(a) {
11607
11607
  }, {
11608
11608
  key: "defaultConfig",
11609
11609
  get: function() {
11610
- return Q(Q({}, Rt.defaultConfig), {}, {
11610
+ return ee(ee({}, Rt.defaultConfig), {}, {
11611
11611
  position: Y.CONTROLS_RIGHT,
11612
11612
  index: 4,
11613
11613
  list: [2, 1.5, 1, 0.75, 0.5],
@@ -11631,8 +11631,8 @@ function Vl() {
11631
11631
  `, "image/svg+xml").firstChild;
11632
11632
  }
11633
11633
  var _n = /* @__PURE__ */ function(a) {
11634
- F(r, a);
11635
- var o = M(r);
11634
+ R(r, a);
11635
+ var o = F(r);
11636
11636
  function r() {
11637
11637
  return L(this, r), o.apply(this, arguments);
11638
11638
  }
@@ -11645,7 +11645,7 @@ var _n = /* @__PURE__ */ function(a) {
11645
11645
  key: "afterCreate",
11646
11646
  value: function() {
11647
11647
  var e = this;
11648
- B(N(r.prototype), "afterCreate", this).call(this), !this.config.disable && (this.config.target && (this.playerConfig.fullscreenTarget = this.config.target), this.initIcons(), this.on(xt, function(i) {
11648
+ N(M(r.prototype), "afterCreate", this).call(this), !this.config.disable && (this.config.target && (this.playerConfig.fullscreenTarget = this.config.target), this.initIcons(), this.on(xt, function(i) {
11649
11649
  e.animate(i);
11650
11650
  }), this.btnClick = this.btnClick.bind(this), this.handleCssFullscreen = this.hook("cssFullscreen_change", this.btnClick, {
11651
11651
  pre: function(n) {
@@ -11696,7 +11696,7 @@ var _n = /* @__PURE__ */ function(a) {
11696
11696
  }, {
11697
11697
  key: "destroy",
11698
11698
  value: function() {
11699
- B(N(r.prototype), "destroy", this).call(this), this.unbind(["click", "touchend"], this.btnClick);
11699
+ N(M(r.prototype), "destroy", this).call(this), this.unbind(["click", "touchend"], this.btnClick);
11700
11700
  }
11701
11701
  }, {
11702
11702
  key: "render",
@@ -11725,8 +11725,8 @@ var _n = /* @__PURE__ */ function(a) {
11725
11725
  }
11726
11726
  }]), r;
11727
11727
  }(Ze), jl = /* @__PURE__ */ function(a) {
11728
- F(r, a);
11729
- var o = M(r);
11728
+ R(r, a);
11729
+ var o = F(r);
11730
11730
  function r() {
11731
11731
  return L(this, r), o.apply(this, arguments);
11732
11732
  }
@@ -11785,9 +11785,9 @@ var _n = /* @__PURE__ */ function(a) {
11785
11785
  return "error";
11786
11786
  }
11787
11787
  }]), r;
11788
- }(W), $l = /* @__PURE__ */ function(a) {
11789
- F(r, a);
11790
- var o = M(r);
11788
+ }($), $l = /* @__PURE__ */ function(a) {
11789
+ R(r, a);
11790
+ var o = F(r);
11791
11791
  function r() {
11792
11792
  return L(this, r), o.apply(this, arguments);
11793
11793
  }
@@ -11837,7 +11837,7 @@ var _n = /* @__PURE__ */ function(a) {
11837
11837
  }, {
11838
11838
  key: "render",
11839
11839
  value: function() {
11840
- return '<xg-prompt class="xgplayer-prompt '.concat(E.CONTROLS_FOLLOW, `">
11840
+ return '<xg-prompt class="xgplayer-prompt '.concat(T.CONTROLS_FOLLOW, `">
11841
11841
  <span class="xgplayer-prompt-detail"></span>
11842
11842
  </xg-prompt>`);
11843
11843
  }
@@ -11863,7 +11863,7 @@ var _n = /* @__PURE__ */ function(a) {
11863
11863
  };
11864
11864
  }
11865
11865
  }]), r;
11866
- }(W), kn = {
11866
+ }($), kn = {
11867
11867
  time: 0,
11868
11868
  text: "",
11869
11869
  id: 1,
@@ -12040,8 +12040,8 @@ var nt = {
12040
12040
  mouseover: "onProgressMouseOver",
12041
12041
  mouseenter: "onProgressMouseOver"
12042
12042
  }, Gl = /* @__PURE__ */ function(a) {
12043
- F(r, a);
12044
- var o = M(r);
12043
+ R(r, a);
12044
+ var o = F(r);
12045
12045
  function r(t) {
12046
12046
  var e;
12047
12047
  return L(this, r), e = o.call(this, t), _(y(e), "onMousemove", function(i) {
@@ -12314,9 +12314,9 @@ var nt = {
12314
12314
  };
12315
12315
  }
12316
12316
  }]), r;
12317
- }(W), Kl = /* @__PURE__ */ function(a) {
12318
- F(r, a);
12319
- var o = M(r);
12317
+ }($), Kl = /* @__PURE__ */ function(a) {
12318
+ R(r, a);
12319
+ var o = F(r);
12320
12320
  function r(t) {
12321
12321
  var e;
12322
12322
  return L(this, r), e = o.call(this, t), e.ratio = 1, e.interval = null, e._preloadMark = {}, e;
@@ -12380,20 +12380,20 @@ var nt = {
12380
12380
  p = p > l ? l : p;
12381
12381
  var d = p < u * c ? 0 : Math.ceil(p / (u * c)) - 1, v = p - d * (c * u), m = v > 0 ? Math.ceil(v / c) - 1 : 0, C = v > 0 ? v - m * c - 1 : 0, S = 0, b = 0;
12382
12382
  if (i && n) {
12383
- var P = i / n;
12384
- P < h / g ? (b = n, S = b * (h / g)) : (S = i, b = S / (h / g));
12383
+ var B = i / n;
12384
+ B < h / g ? (b = n, S = b * (h / g)) : (S = i, b = S / (h / g));
12385
12385
  } else
12386
12386
  n ? i || (b = n || g, S = b * (h / g)) : (S = i || h, b = S / (h / g));
12387
- var O = this.getUrlByIndex(d);
12387
+ var I = this.getUrlByIndex(d);
12388
12388
  return {
12389
12389
  urlIndex: d,
12390
12390
  rowIndex: m,
12391
12391
  colIndex: C,
12392
- url: O,
12392
+ url: I,
12393
12393
  height: b,
12394
12394
  width: S,
12395
12395
  style: {
12396
- backgroundImage: "url(".concat(O, ")"),
12396
+ backgroundImage: "url(".concat(I, ")"),
12397
12397
  backgroundSize: "".concat(S * c, "px auto"),
12398
12398
  backgroundPosition: "-".concat(C * S, "px -").concat(m * b, "px"),
12399
12399
  width: "".concat(S, "px"),
@@ -12448,13 +12448,13 @@ var nt = {
12448
12448
  };
12449
12449
  }
12450
12450
  }]), r;
12451
- }(W);
12451
+ }($);
12452
12452
  function ii(a) {
12453
12453
  return a ? "background:".concat(a, ";") : "";
12454
12454
  }
12455
12455
  var Yl = /* @__PURE__ */ function(a) {
12456
- F(r, a);
12457
- var o = M(r);
12456
+ R(r, a);
12457
+ var o = F(r);
12458
12458
  function r() {
12459
12459
  var t;
12460
12460
  L(this, r);
@@ -12482,7 +12482,7 @@ var Yl = /* @__PURE__ */ function(a) {
12482
12482
  key: "afterCreate",
12483
12483
  value: function() {
12484
12484
  var e = this;
12485
- this.root && (this.on(de, this.onTimeupdate), this.on(qe, function() {
12485
+ this.root && (this.on(ge, this.onTimeupdate), this.on(qe, function() {
12486
12486
  e.reset();
12487
12487
  }));
12488
12488
  }
@@ -12534,7 +12534,7 @@ var Yl = /* @__PURE__ */ function(a) {
12534
12534
  };
12535
12535
  }
12536
12536
  }]), r;
12537
- }(W), rt = {
12537
+ }($), rt = {
12538
12538
  REAL_TIME: "realtime",
12539
12539
  FIRST_FRAME: "firstframe",
12540
12540
  FRAME_RATE: "framerate",
@@ -12556,22 +12556,22 @@ function ql() {
12556
12556
  }
12557
12557
  }
12558
12558
  var Ct = null, Zl = /* @__PURE__ */ function(a) {
12559
- F(r, a);
12560
- var o = M(r);
12559
+ R(r, a);
12560
+ var o = F(r);
12561
12561
  function r() {
12562
12562
  var t;
12563
12563
  L(this, r);
12564
12564
  for (var e = arguments.length, i = new Array(e), n = 0; n < e; n++)
12565
12565
  i[n] = arguments[n];
12566
12566
  return t = o.call.apply(o, [this].concat(i)), _(y(t), "onLoadedData", function(s) {
12567
- t.player && (t._frameCount = t.config.startFrameCount, t.stop(), t.renderOnTimeupdate(s), t.off(de, t.renderOnTimeupdate), t.on(de, t.renderOnTimeupdate));
12567
+ t.player && (t._frameCount = t.config.startFrameCount, t.stop(), t.renderOnTimeupdate(s), t.off(ge, t.renderOnTimeupdate), t.on(ge, t.renderOnTimeupdate));
12568
12568
  }), _(y(t), "onVisibilitychange", function(s) {
12569
12569
  document.visibilityState === "visible" ? t._checkIfCanStart() && t.start() : document.visibilityState === "hidden" && t.stop();
12570
12570
  }), _(y(t), "renderOnTimeupdate", function(s) {
12571
12571
  if (t._frameCount > 0)
12572
12572
  t.renderOnce(), t._frameCount--;
12573
12573
  else {
12574
- t._isLoaded = !0, t.off(de, t.renderOnTimeupdate);
12574
+ t._isLoaded = !0, t.off(ge, t.renderOnTimeupdate);
12575
12575
  var l = t.config.startInterval;
12576
12576
  !t.player.paused && t._checkIfCanStart() && t.start(0, l);
12577
12577
  }
@@ -12600,7 +12600,7 @@ var Ct = null, Zl = /* @__PURE__ */ function(a) {
12600
12600
  e.player && (e.init(), e.renderByPoster(), e.player.paused || e.start());
12601
12601
  }), s !== rt.POSTER && (s !== rt.FIRST_FRAME && (this.on(qe, function() {
12602
12602
  e.stop();
12603
- }), this.on(ge, function() {
12603
+ }), this.on(pe, function() {
12604
12604
  var u = e.config.startInterval;
12605
12605
  e._checkIfCanStart() && e.start(0, u);
12606
12606
  }), this.on(ut, function() {
@@ -12757,7 +12757,7 @@ var Ct = null, Zl = /* @__PURE__ */ function(a) {
12757
12757
  return !(z.browser === "safari" || z.browser === "firefox");
12758
12758
  }
12759
12759
  }]), r;
12760
- }(W), Jl = {
12760
+ }($), Jl = {
12761
12761
  LANG: "zh-cn",
12762
12762
  TEXT: {
12763
12763
  ERROR_TYPES: {
@@ -12833,8 +12833,8 @@ var Ct = null, Zl = /* @__PURE__ */ function(a) {
12833
12833
  LIVE_TIP: "直播"
12834
12834
  }
12835
12835
  }, ht = "info", ni = Jn, Ql = /* @__PURE__ */ function(a) {
12836
- F(r, a);
12837
- var o = M(r);
12836
+ R(r, a);
12837
+ var o = F(r);
12838
12838
  function r() {
12839
12839
  var t;
12840
12840
  L(this, r);
@@ -12844,7 +12844,7 @@ var Ct = null, Zl = /* @__PURE__ */ function(a) {
12844
12844
  var l = t._getTime(), u = Object.assign({}, s, {
12845
12845
  msg: s.msg || s.action
12846
12846
  });
12847
- t._stats[ht].push(Q(Q({
12847
+ t._stats[ht].push(ee(ee({
12848
12848
  type: "userAction"
12849
12849
  }, l), {}, {
12850
12850
  payload: u
@@ -12892,7 +12892,7 @@ var Ct = null, Zl = /* @__PURE__ */ function(a) {
12892
12892
  key: "_info",
12893
12893
  value: function(e) {
12894
12894
  var i = this._getTime();
12895
- this._stats[ht].push(Q(Q({}, i), {}, {
12895
+ this._stats[ht].push(ee(ee({}, i), {}, {
12896
12896
  payload: e
12897
12897
  }));
12898
12898
  }
@@ -12900,7 +12900,7 @@ var Ct = null, Zl = /* @__PURE__ */ function(a) {
12900
12900
  key: "_infoProfile",
12901
12901
  value: function(e) {
12902
12902
  if (e && e.startMs) {
12903
- var i = Date.now(), n = i - e.startMs, s = Q({
12903
+ var i = Date.now(), n = i - e.startMs, s = ee({
12904
12904
  cat: "function",
12905
12905
  dur: n,
12906
12906
  name: e.name || e.msg,
@@ -12977,8 +12977,8 @@ var Ct = null, Zl = /* @__PURE__ */ function(a) {
12977
12977
  }
12978
12978
  }]), r;
12979
12979
  }(He), or = /* @__PURE__ */ function(a) {
12980
- F(r, a);
12981
- var o = M(r);
12980
+ R(r, a);
12981
+ var o = F(r);
12982
12982
  function r() {
12983
12983
  var t;
12984
12984
  L(this, r);
@@ -13017,7 +13017,7 @@ var Ct = null, Zl = /* @__PURE__ */ function(a) {
13017
13017
  key: "afterCreate",
13018
13018
  value: function() {
13019
13019
  var e = this, i = this.config.useGapJump;
13020
- i !== !1 && (this.hasPlayed = !1, this.seekingEventReceived = !1, this.isSafari = /(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent) && !/BlackBerry/.test(navigator.platform), this.on(mt, this.onGapJump), this.on(ge, function() {
13020
+ i !== !1 && (this.hasPlayed = !1, this.seekingEventReceived = !1, this.isSafari = /(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent) && !/BlackBerry/.test(navigator.platform), this.on(mt, this.onGapJump), this.on(pe, function() {
13021
13021
  e.hasPlayed = !0;
13022
13022
  }), this.on(Mt, function() {
13023
13023
  e.seekingEventReceived = !0;
@@ -13064,11 +13064,11 @@ var Ct = null, Zl = /* @__PURE__ */ function(a) {
13064
13064
  };
13065
13065
  }
13066
13066
  }]), r;
13067
- }(W);
13067
+ }($);
13068
13068
  or.BROWSER_GAP_TOLERANCE = 1e-3;
13069
13069
  var eu = /* @__PURE__ */ function(a) {
13070
- F(r, a);
13071
- var o = M(r);
13070
+ R(r, a);
13071
+ var o = F(r);
13072
13072
  function r() {
13073
13073
  var t;
13074
13074
  L(this, r);
@@ -13092,7 +13092,7 @@ var eu = /* @__PURE__ */ function(a) {
13092
13092
  var e = this, i = this.config, n = i.useWaitingTimeoutJump, s = i.jumpSize;
13093
13093
  n !== !1 && (this.hasPlayed = !1, this.jumpCnt = 0, this.timer = null, this.jumpSize = s, this.on(mt, this.onWaiting), this.on([mi, Ie], function() {
13094
13094
  clearTimeout(e.timer), e.timer = null, e.jumpSize = e.config.jumpSize;
13095
- }), this.on(ge, function() {
13095
+ }), this.on(pe, function() {
13096
13096
  e.hasPlayed = !0;
13097
13097
  }));
13098
13098
  }
@@ -13112,9 +13112,9 @@ var eu = /* @__PURE__ */ function(a) {
13112
13112
  };
13113
13113
  }
13114
13114
  }]), r;
13115
- }(W), st = "cdn", wt = ["cdn"], tu = /* @__PURE__ */ function(a) {
13116
- F(r, a);
13117
- var o = M(r);
13115
+ }($), st = "cdn", wt = ["cdn"], tu = /* @__PURE__ */ function(a) {
13116
+ R(r, a);
13117
+ var o = F(r);
13118
13118
  function r() {
13119
13119
  var t;
13120
13120
  L(this, r);
@@ -13238,9 +13238,9 @@ var eu = /* @__PURE__ */ function(a) {
13238
13238
  };
13239
13239
  }
13240
13240
  }]), r;
13241
- }(W), iu = /* @__PURE__ */ function(a) {
13242
- F(r, a);
13243
- var o = M(r);
13241
+ }($), iu = /* @__PURE__ */ function(a) {
13242
+ R(r, a);
13243
+ var o = F(r);
13244
13244
  function r() {
13245
13245
  return L(this, r), o.apply(this, arguments);
13246
13246
  }
@@ -13250,7 +13250,7 @@ var eu = /* @__PURE__ */ function(a) {
13250
13250
  var e = this, i = this.player, n = this.config, s = i.media || i.video;
13251
13251
  if (this.timer = null, this._lastDecodedFrames = 0, this._currentStuckCount = 0, this._lastCheckPoint = null, this._payload = [], !n.disabled) {
13252
13252
  var l = s.getVideoPlaybackQuality;
13253
- l && (this.on(ge, function() {
13253
+ l && (this.on(pe, function() {
13254
13254
  e._startTick();
13255
13255
  }), this.on(ut, function() {
13256
13256
  e._stopTick();
@@ -13347,7 +13347,7 @@ var eu = /* @__PURE__ */ function(a) {
13347
13347
  };
13348
13348
  }
13349
13349
  }]), r;
13350
- }(W);
13350
+ }($);
13351
13351
  at.use(Jl);
13352
13352
  var nu = /* @__PURE__ */ D(function a(o, r) {
13353
13353
  var t, e, i;
@@ -13367,8 +13367,8 @@ var nu = /* @__PURE__ */ D(function a(o, r) {
13367
13367
  }
13368
13368
  (z.os.isIpad || h === "pc") && this.plugins.push(Zl), z.os.isIpad && this.plugins.push(ei), this.ignores = [], this.i18n = [];
13369
13369
  }), _e = /* @__PURE__ */ function(a) {
13370
- F(r, a);
13371
- var o = M(r);
13370
+ R(r, a);
13371
+ var o = F(r);
13372
13372
  function r() {
13373
13373
  return L(this, r), o.apply(this, arguments);
13374
13374
  }
@@ -13379,12 +13379,12 @@ _(_e, "Util", f);
13379
13379
  _(_e, "Sniffer", z);
13380
13380
  _(_e, "Errors", Et);
13381
13381
  _(_e, "Events", yo);
13382
- _(_e, "Plugin", W);
13382
+ _(_e, "Plugin", $);
13383
13383
  _(_e, "BasePlugin", He);
13384
13384
  _(_e, "I18N", at);
13385
- _(_e, "STATE_CLASS", E);
13385
+ _(_e, "STATE_CLASS", T);
13386
13386
  _(_e, "InstManager", nr);
13387
- const ru = ["id"], su = /* @__PURE__ */ ee({
13387
+ const ru = ["id"], su = /* @__PURE__ */ te({
13388
13388
  name: "ElImageViewer",
13389
13389
  __name: "Player",
13390
13390
  props: /* @__PURE__ */ Tt({
@@ -13448,11 +13448,11 @@ const ru = ["id"], su = /* @__PURE__ */ ee({
13448
13448
  });
13449
13449
  }), (p, d) => {
13450
13450
  const v = Ye("el-icon");
13451
- return u.value ? (k(), ve(En, {
13451
+ return u.value ? (k(), ue(En, {
13452
13452
  key: 0,
13453
13453
  to: "body"
13454
13454
  }, [
13455
- $(Sn, {
13455
+ G(Sn, {
13456
13456
  name: "viewer-fade",
13457
13457
  appear: ""
13458
13458
  }, {
@@ -13462,38 +13462,38 @@ const ru = ["id"], su = /* @__PURE__ */ ee({
13462
13462
  {
13463
13463
  ref: "wrapper",
13464
13464
  tabindex: -1,
13465
- class: K(x(h).e("wrapper")),
13465
+ class: K(P(h).e("wrapper")),
13466
13466
  style: re({ zIndex: a.zIndex })
13467
13467
  },
13468
13468
  [
13469
13469
  w(
13470
13470
  "div",
13471
13471
  {
13472
- class: K(x(h).e("mask"))
13472
+ class: K(P(h).e("mask"))
13473
13473
  },
13474
13474
  null,
13475
13475
  2
13476
13476
  /* CLASS */
13477
13477
  ),
13478
- I(" CANVAS "),
13478
+ x(" CANVAS "),
13479
13479
  w(
13480
13480
  "div",
13481
13481
  {
13482
- class: K(x(h).e("canvas"))
13482
+ class: K(P(h).e("canvas"))
13483
13483
  },
13484
13484
  [
13485
- w("div", { id: x(c) }, null, 8, ru),
13486
- I(" CLOSE "),
13485
+ w("div", { id: P(c) }, null, 8, ru),
13486
+ x(" CLOSE "),
13487
13487
  w(
13488
13488
  "span",
13489
13489
  {
13490
- class: K([x(h).e("btn"), x(h).e("close")]),
13490
+ class: K([P(h).e("btn"), P(h).e("close")]),
13491
13491
  onClick: g
13492
13492
  },
13493
13493
  [
13494
- $(v, { onClick: g }, {
13494
+ G(v, { onClick: g }, {
13495
13495
  default: ne(() => [
13496
- $(x(Pn))
13496
+ G(P(Pn))
13497
13497
  ]),
13498
13498
  _: 1
13499
13499
  /* STABLE */
@@ -13515,7 +13515,7 @@ const ru = ["id"], su = /* @__PURE__ */ ee({
13515
13515
  _: 3
13516
13516
  /* FORWARDED */
13517
13517
  })
13518
- ])) : I("v-if", !0);
13518
+ ])) : x("v-if", !0);
13519
13519
  };
13520
13520
  }
13521
13521
  });
@@ -13578,7 +13578,7 @@ const au = /* @__PURE__ */ Ft(su, [["__scopeId", "data-v-b301aa7d"]]), ou = Le(a
13578
13578
  class: "branch"
13579
13579
  }, tc = { class: "branch-card" }, ic = { class: "branch-name" }, nc = {
13580
13580
  name: "IkingApprovalProcessDetail"
13581
- }, rc = /* @__PURE__ */ ee({
13581
+ }, rc = /* @__PURE__ */ te({
13582
13582
  ...nc,
13583
13583
  props: {
13584
13584
  // 是否本地打开
@@ -13668,9 +13668,9 @@ const au = /* @__PURE__ */ Ft(su, [["__scopeId", "data-v-b301aa7d"]]), ou = Le(a
13668
13668
  }, n = (c) => {
13669
13669
  var C, S, b;
13670
13670
  let h = document.createElement("div"), g = document.getElementById("approveProcess"), p = 0, d = (C = document.getElementById(`${c[0]}`)) == null ? void 0 : C.offsetWidth, v = (S = document.getElementById(`${c[0]}`)) == null ? void 0 : S.offsetLeft, m = (b = document.getElementById(`${c[0]}`)) == null ? void 0 : b.offsetTop;
13671
- c.forEach((P) => {
13672
- let O = document.getElementById(`${P}`);
13673
- p += O.offsetHeight;
13671
+ c.forEach((B) => {
13672
+ let I = document.getElementById(`${B}`);
13673
+ p += I.offsetHeight;
13674
13674
  }), setTimeout(() => {
13675
13675
  h.style.width = d + 32 + "px", h.style.height = p + "px", h.style.background = "#f9f9f9", h.style.position = "absolute", h.style.top = m - 16 + "px", h.style.left = v - 16 + "px", h.style.zIndex = -1, g == null || g.appendChild(h);
13676
13676
  });
@@ -13714,13 +13714,13 @@ const au = /* @__PURE__ */ Ft(su, [["__scopeId", "data-v-b301aa7d"]]), ou = Le(a
13714
13714
  }, u = (c) => lt(t.value, c);
13715
13715
  return (c, h) => {
13716
13716
  const g = Ye("el-image"), p = Ye("IkingApprovalProcessDetail");
13717
- return k(), T("div", lu, [
13718
- (k(!0), T(
13719
- ae,
13717
+ return k(), E("div", lu, [
13718
+ (k(!0), E(
13719
+ le,
13720
13720
  null,
13721
13721
  Se(e.listData, (d, v) => {
13722
- var m, C, S, b, P, O, U, R, te, q;
13723
- return k(), T("div", {
13722
+ var m, C, S, b, B, I, H, O, J, q;
13723
+ return k(), E("div", {
13724
13724
  class: "approveBlock",
13725
13725
  id: d[e.defaultFile.nodeId],
13726
13726
  key: d[e.defaultFile.nodeId]
@@ -13728,24 +13728,24 @@ const au = /* @__PURE__ */ Ft(su, [["__scopeId", "data-v-b301aa7d"]]), ou = Le(a
13728
13728
  w("div", cu, [
13729
13729
  w("div", fu, [
13730
13730
  w("span", hu, [
13731
- I(' 用户列表长度等于1, :src="formatUrl(it)"并且存在头像 '),
13732
- ((m = d[e.defaultFile.approvePersonList]) == null ? void 0 : m.length) == 1 && d[e.defaultFile.approvePersonList][0].userAvatar ? (k(), T("img", {
13731
+ x(' 用户列表长度等于1, :src="formatUrl(it)"并且存在头像 '),
13732
+ ((m = d[e.defaultFile.approvePersonList]) == null ? void 0 : m.length) == 1 && d[e.defaultFile.approvePersonList][0].userAvatar ? (k(), E("img", {
13733
13733
  key: 0,
13734
13734
  style: { width: "100%", height: "100%", "border-radius": "10px" },
13735
13735
  src: u(
13736
13736
  d[e.defaultFile.approvePersonList][0].userAvatar
13737
13737
  ),
13738
13738
  alt: ""
13739
- }, null, 8, du)) : (k(), T(
13740
- ae,
13739
+ }, null, 8, du)) : (k(), E(
13740
+ le,
13741
13741
  { key: 1 },
13742
13742
  [
13743
- I(" 否则显示对应节点 "),
13743
+ x(" 否则显示对应节点 "),
13744
13744
  w(
13745
13745
  "i",
13746
13746
  {
13747
13747
  class: K(
13748
- x(Gs)(
13748
+ P(Gs)(
13749
13749
  e,
13750
13750
  d[e.defaultFile.nodeType],
13751
13751
  d[e.defaultFile.approvePersonList]
@@ -13760,7 +13760,7 @@ const au = /* @__PURE__ */ Ft(su, [["__scopeId", "data-v-b301aa7d"]]), ou = Le(a
13760
13760
  2112
13761
13761
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
13762
13762
  )),
13763
- I(" 审批状态图标 "),
13763
+ x(" 审批状态图标 "),
13764
13764
  w(
13765
13765
  "i",
13766
13766
  {
@@ -13777,20 +13777,20 @@ const au = /* @__PURE__ */ Ft(su, [["__scopeId", "data-v-b301aa7d"]]), ou = Le(a
13777
13777
  w("div", gu, [
13778
13778
  w("div", pu, [
13779
13779
  w("div", null, [
13780
- I(" 不是抄送节点 "),
13781
- e.nodeType.抄送节点 !== d[e.defaultFile.nodeType] ? (k(), T("div", vu, [
13782
- I(" 撤销,评论不显示节点名称 "),
13783
- d[e.defaultFile.approveStatus] != e.statusOption.撤销 && d[e.defaultFile.approveStatus] != e.statusOption.评论 && d[e.defaultFile.nodeType] !== e.nodeType.并行分支 ? (k(), T(
13780
+ x(" 不是抄送节点 "),
13781
+ e.nodeType.抄送节点 !== d[e.defaultFile.nodeType] ? (k(), E("div", vu, [
13782
+ x(" 撤销,评论不显示节点名称 "),
13783
+ d[e.defaultFile.approveStatus] != e.statusOption.撤销 && d[e.defaultFile.approveStatus] != e.statusOption.评论 && d[e.defaultFile.nodeType] !== e.nodeType.并行分支 ? (k(), E(
13784
13784
  "div",
13785
13785
  mu,
13786
13786
  X(d[e.defaultFile.nodeTypeName]),
13787
13787
  1
13788
13788
  /* TEXT */
13789
- )) : I("v-if", !0),
13790
- I(" 名字+审批状态 "),
13789
+ )) : x("v-if", !0),
13790
+ x(" 名字+审批状态 "),
13791
13791
  w("div", yu, [
13792
- I(" 已审批节点文本 "),
13793
- d[e.defaultFile.lineType] == "solid" ? (k(), T("div", _u, [
13792
+ x(" 已审批节点文本 "),
13793
+ d[e.defaultFile.lineType] == "solid" ? (k(), E("div", _u, [
13794
13794
  w(
13795
13795
  "span",
13796
13796
  {
@@ -13802,60 +13802,60 @@ const au = /* @__PURE__ */ Ft(su, [["__scopeId", "data-v-b301aa7d"]]), ou = Le(a
13802
13802
  5
13803
13803
  /* TEXT, STYLE */
13804
13804
  ),
13805
- I(" 发起,退回不显示状态 "),
13806
- d[e.defaultFile.approveStatusName] && d[e.defaultFile.approveStatus] != e.statusOption.发起 && d[e.defaultFile.approveStatus] != e.statusOption.退回 ? (k(), T(
13805
+ x(" 发起,退回不显示状态 "),
13806
+ d[e.defaultFile.approveStatusName] && d[e.defaultFile.approveStatus] != e.statusOption.发起 && d[e.defaultFile.approveStatus] != e.statusOption.退回 ? (k(), E(
13807
13807
  "span",
13808
13808
  ku,
13809
13809
  X(d[e.defaultFile.approveStatus] == e.statusOption.评论 ? " 添加了评论" : d != null && d.nodeActionAliasName ? `(已${d.nodeActionAliasName})` : `(${d[e.defaultFile.approveStatusName]})`),
13810
13810
  1
13811
13811
  /* TEXT */
13812
- )) : I("v-if", !0),
13813
- I(" 退回状态显示 "),
13814
- d[e.defaultFile.approveStatus] == e.statusOption.退回 ? (k(), T("span", Cu, [
13812
+ )) : x("v-if", !0),
13813
+ x(" 退回状态显示 "),
13814
+ d[e.defaultFile.approveStatus] == e.statusOption.退回 ? (k(), E("span", Cu, [
13815
13815
  wu,
13816
13816
  Ge(
13817
13817
  " " + X(d[e.defaultFile.backToInstanceNodeName] || d[e.defaultFile.backToRecordNodeName]),
13818
13818
  1
13819
13819
  /* TEXT */
13820
13820
  )
13821
- ])) : I("v-if", !0)
13822
- ])) : (k(), T(
13823
- ae,
13821
+ ])) : x("v-if", !0)
13822
+ ])) : (k(), E(
13823
+ le,
13824
13824
  { key: 1 },
13825
13825
  [
13826
- I(" 待审批节点 "),
13826
+ x(" 待审批节点 "),
13827
13827
  w("div", null, [
13828
- ((C = d[e.defaultFile.approvePersonList]) == null ? void 0 : C.length) == 1 ? (k(), T("span", bu, [
13828
+ ((C = d[e.defaultFile.approvePersonList]) == null ? void 0 : C.length) == 1 ? (k(), E("span", bu, [
13829
13829
  Ge(
13830
13830
  X(d[e.defaultFile.originator]) + " ",
13831
13831
  1
13832
13832
  /* TEXT */
13833
13833
  ),
13834
- d[e.defaultFile.approveStatus] == e.statusOption.等待 ? (k(), T(
13834
+ d[e.defaultFile.approveStatus] == e.statusOption.等待 ? (k(), E(
13835
13835
  "span",
13836
13836
  Tu,
13837
13837
  X(d != null && d.nodeActionAliasName ? `(已${d.nodeActionAliasName})` : `(${d[e.defaultFile.approveStatusName]})`),
13838
13838
  1
13839
13839
  /* TEXT */
13840
- )) : I("v-if", !0)
13841
- ])) : d[e.defaultFile.approvePersonList] ? (k(), T(
13840
+ )) : x("v-if", !0)
13841
+ ])) : d[e.defaultFile.approvePersonList] ? (k(), E(
13842
13842
  "span",
13843
13843
  Eu,
13844
13844
  X(`${(S = d[e.defaultFile.approvePersonList]) == null ? void 0 : S.length}人${d[e.defaultFile.approveTypeName]}`),
13845
13845
  1
13846
13846
  /* TEXT */
13847
- )) : I("v-if", !0)
13847
+ )) : x("v-if", !0)
13848
13848
  ])
13849
13849
  ],
13850
13850
  2112
13851
13851
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
13852
13852
  ))
13853
13853
  ])
13854
- ])) : (k(), T("div", Su, [
13854
+ ])) : (k(), E("div", Su, [
13855
13855
  xu,
13856
13856
  w("div", Iu, [
13857
- I(" 抄送一人时 "),
13858
- ((b = d[e.defaultFile.approvePersonList]) == null ? void 0 : b.length) == 1 ? (k(), T("span", Pu, [
13857
+ x(" 抄送一人时 "),
13858
+ ((b = d[e.defaultFile.approvePersonList]) == null ? void 0 : b.length) == 1 ? (k(), E("span", Pu, [
13859
13859
  w("span", null, [
13860
13860
  Ge("已抄送给 "),
13861
13861
  w(
@@ -13873,52 +13873,52 @@ const au = /* @__PURE__ */ Ft(su, [["__scopeId", "data-v-b301aa7d"]]), ou = Le(a
13873
13873
  1
13874
13874
  /* TEXT */
13875
13875
  )
13876
- ])) : I("v-if", !0),
13877
- I(" 抄送多人时 "),
13878
- ((P = d[e.defaultFile.approvePersonList]) == null ? void 0 : P.length) > 1 ? (k(), T("span", Du, [
13876
+ ])) : x("v-if", !0),
13877
+ x(" 抄送多人时 "),
13878
+ ((B = d[e.defaultFile.approvePersonList]) == null ? void 0 : B.length) > 1 ? (k(), E("span", Du, [
13879
13879
  Ge(
13880
- X(`已抄送${(O = d[e.defaultFile.approvePersonList]) == null ? void 0 : O.length}人`) + " ",
13880
+ X(`已抄送${(I = d[e.defaultFile.approvePersonList]) == null ? void 0 : I.length}人`) + " ",
13881
13881
  1
13882
13882
  /* TEXT */
13883
13883
  ),
13884
- d[e.defaultFile.allRead] ? (k(), T("span", Ou, " 全部已读 ")) : (k(), T("span", Ru, [
13885
- d[e.defaultFile.read] ? I("v-if", !0) : (k(), T("span", Fu, " 全部未读 ")),
13886
- d[e.defaultFile.read] ? (k(), T(
13884
+ d[e.defaultFile.allRead] ? (k(), E("span", Ou, " 全部已读 ")) : (k(), E("span", Ru, [
13885
+ d[e.defaultFile.read] ? x("v-if", !0) : (k(), E("span", Fu, " 全部未读 ")),
13886
+ d[e.defaultFile.read] ? (k(), E(
13887
13887
  "span",
13888
13888
  Mu,
13889
13889
  X(d[e.defaultFile.read]) + "人已读 ",
13890
13890
  1
13891
13891
  /* TEXT */
13892
- )) : I("v-if", !0)
13892
+ )) : x("v-if", !0)
13893
13893
  ]))
13894
- ])) : I("v-if", !0)
13894
+ ])) : x("v-if", !0)
13895
13895
  ])
13896
13896
  ]))
13897
13897
  ]),
13898
13898
  w("div", Nu, [
13899
- I(" 不是抄送节点,展示时间 "),
13900
- d[e.defaultFile.nodeType] != e.nodeType.抄送节点 && d[e.defaultFile.approveStatus] !== e.statusOption.等待 ? (k(), T(
13899
+ x(" 不是抄送节点,展示时间 "),
13900
+ d[e.defaultFile.nodeType] != e.nodeType.抄送节点 && d[e.defaultFile.approveStatus] !== e.statusOption.等待 ? (k(), E(
13901
13901
  "span",
13902
13902
  Bu,
13903
- X(x(Cr).toDateTime(
13903
+ X(P(Cr).toDateTime(
13904
13904
  d[e.defaultFile.operationTime],
13905
13905
  "MM/DD HH:mm"
13906
13906
  )),
13907
13907
  1
13908
13908
  /* TEXT */
13909
- )) : I("v-if", !0),
13910
- I(" 是抄送节点,并且抄送人员大于1时,展示图标 "),
13911
- d[e.defaultFile.nodeType] == e.nodeType.抄送节点 && ((U = d[e.defaultFile.approvePersonList]) == null ? void 0 : U.length) > 1 ? (k(), T("span", Hu, [
13912
- d != null && d.show ? (k(), T("i", {
13909
+ )) : x("v-if", !0),
13910
+ x(" 是抄送节点,并且抄送人员大于1时,展示图标 "),
13911
+ d[e.defaultFile.nodeType] == e.nodeType.抄送节点 && ((H = d[e.defaultFile.approvePersonList]) == null ? void 0 : H.length) > 1 ? (k(), E("span", Hu, [
13912
+ d != null && d.show ? (k(), E("i", {
13913
13913
  key: 0,
13914
13914
  class: "ikapprove ikapprove-a-putongjiantouzhankai",
13915
13915
  onClick: (A) => l(d, "grid")
13916
- }, null, 8, Uu)) : (k(), T("i", {
13916
+ }, null, 8, Uu)) : (k(), E("i", {
13917
13917
  key: 1,
13918
13918
  onClick: (A) => l(d, "none"),
13919
13919
  class: "ikapprove ikapprove-a-putongjiantoushouqi"
13920
13920
  }, null, 8, zu))
13921
- ])) : I("v-if", !0)
13921
+ ])) : x("v-if", !0)
13922
13922
  ])
13923
13923
  ])
13924
13924
  ])
@@ -13932,21 +13932,21 @@ const au = /* @__PURE__ */ Ft(su, [["__scopeId", "data-v-b301aa7d"]]), ou = Le(a
13932
13932
  })
13933
13933
  },
13934
13934
  [
13935
- I(" 审批意见 "),
13936
- d[e.defaultFile.approveOpinion] || d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), T("div", Vu, [
13937
- d[e.defaultFile.approveOpinion] ? (k(), T(
13935
+ x(" 审批意见 "),
13936
+ d[e.defaultFile.approveOpinion] || d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), E("div", Vu, [
13937
+ d[e.defaultFile.approveOpinion] ? (k(), E(
13938
13938
  "span",
13939
13939
  ju,
13940
13940
  X(d[e.defaultFile.approveOpinion]),
13941
13941
  1
13942
13942
  /* TEXT */
13943
- )) : I("v-if", !0),
13944
- d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), T("span", $u, [
13943
+ )) : x("v-if", !0),
13944
+ d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), E("span", $u, [
13945
13945
  Wu,
13946
- (k(!0), T(
13947
- ae,
13946
+ (k(!0), E(
13947
+ le,
13948
13948
  null,
13949
- Se(d[e.defaultFile.countersignPer], (A, ie) => (k(), T(
13949
+ Se(d[e.defaultFile.countersignPer], (A, ie) => (k(), E(
13950
13950
  "span",
13951
13951
  Gu,
13952
13952
  X(A == null ? void 0 : A.userName) + X(ie < d[e.defaultFile.countersignPer].length - 1 ? "、" : ""),
@@ -13956,25 +13956,25 @@ const au = /* @__PURE__ */ Ft(su, [["__scopeId", "data-v-b301aa7d"]]), ou = Le(a
13956
13956
  256
13957
13957
  /* UNKEYED_FRAGMENT */
13958
13958
  ))
13959
- ])) : I("v-if", !0)
13960
- ])) : I("v-if", !0),
13961
- I(" 附件 "),
13962
- (R = d[e.defaultFile.attachment]) != null && R.length ? (k(), ve(x(ra), {
13959
+ ])) : x("v-if", !0)
13960
+ ])) : x("v-if", !0),
13961
+ x(" 附件 "),
13962
+ (O = d[e.defaultFile.attachment]) != null && O.length ? (k(), ue(P(ra), {
13963
13963
  key: 1,
13964
13964
  list: d[e.defaultFile.attachment]
13965
- }, null, 8, ["list"])) : I("v-if", !0),
13966
- I(" 附件图片 "),
13967
- (te = d[e.defaultFile.attachmentImg]) != null && te.length ? (k(), T("div", Ku, [
13968
- (k(!0), T(
13969
- ae,
13965
+ }, null, 8, ["list"])) : x("v-if", !0),
13966
+ x(" 附件图片 "),
13967
+ (J = d[e.defaultFile.attachmentImg]) != null && J.length ? (k(), E("div", Ku, [
13968
+ (k(!0), E(
13969
+ le,
13970
13970
  null,
13971
- Se(d[e.defaultFile.attachmentImg], (A, ie) => (k(), T("div", {
13971
+ Se(d[e.defaultFile.attachmentImg], (A, ie) => (k(), E("div", {
13972
13972
  class: "image",
13973
13973
  key: ie
13974
13974
  }, [
13975
- $(g, {
13975
+ G(g, {
13976
13976
  src: u(A),
13977
- "preview-src-list": d[e.defaultFile.attachmentImg].map((oe) => u(oe)),
13977
+ "preview-src-list": d[e.defaultFile.attachmentImg].map((ae) => u(ae)),
13978
13978
  fit: "cover",
13979
13979
  "z-index": "9999",
13980
13980
  "zoom-rate": 1.2,
@@ -13984,30 +13984,30 @@ const au = /* @__PURE__ */ Ft(su, [["__scopeId", "data-v-b301aa7d"]]), ou = Le(a
13984
13984
  128
13985
13985
  /* KEYED_FRAGMENT */
13986
13986
  ))
13987
- ])) : I("v-if", !0),
13988
- I(" 抄送节点或是等待审批状态并且列表长度大于1 "),
13989
- (d[e.defaultFile.nodeType] == e.nodeType.抄送节点 || d[e.defaultFile.approveStatus] == e.statusOption.等待) && ((q = d[e.defaultFile.approvePersonList]) == null ? void 0 : q.length) > 1 ? (k(), T("div", Yu, [
13990
- (k(!0), T(
13991
- ae,
13987
+ ])) : x("v-if", !0),
13988
+ x(" 抄送节点或是等待审批状态并且列表长度大于1 "),
13989
+ (d[e.defaultFile.nodeType] == e.nodeType.抄送节点 || d[e.defaultFile.approveStatus] == e.statusOption.等待) && ((q = d[e.defaultFile.approvePersonList]) == null ? void 0 : q.length) > 1 ? (k(), E("div", Yu, [
13990
+ (k(!0), E(
13991
+ le,
13992
13992
  null,
13993
- Se(d[e.defaultFile.approvePersonList], (A) => (k(), T("div", {
13993
+ Se(d[e.defaultFile.approvePersonList], (A) => (k(), E("div", {
13994
13994
  class: "perBlock",
13995
13995
  key: A.userName
13996
13996
  }, [
13997
13997
  w("span", Xu, [
13998
- A.userAvatar ? (k(), T("img", {
13998
+ A.userAvatar ? (k(), E("img", {
13999
13999
  key: 0,
14000
14000
  style: { width: "100%", height: "100%", "border-radius": "50%" },
14001
14001
  src: u(A.userAvatar),
14002
14002
  alt: ""
14003
- }, null, 8, qu)) : (k(), T(
14003
+ }, null, 8, qu)) : (k(), E(
14004
14004
  "span",
14005
14005
  Zu,
14006
14006
  X(A.userName.slice(-2)),
14007
14007
  1
14008
14008
  /* TEXT */
14009
14009
  )),
14010
- A.status === "END" ? (k(), T("i", Ju)) : I("v-if", !0)
14010
+ A.status === "END" ? (k(), E("i", Ju)) : x("v-if", !0)
14011
14011
  ]),
14012
14012
  w("div", {
14013
14013
  class: "main-text",
@@ -14017,16 +14017,16 @@ const au = /* @__PURE__ */ Ft(su, [["__scopeId", "data-v-b301aa7d"]]), ou = Le(a
14017
14017
  128
14018
14018
  /* KEYED_FRAGMENT */
14019
14019
  ))
14020
- ])) : I("v-if", !0)
14020
+ ])) : x("v-if", !0)
14021
14021
  ],
14022
14022
  4
14023
14023
  /* STYLE */
14024
14024
  ),
14025
- d[e.defaultFile.nodeType] === e.nodeType.并行分支 ? (k(), T("div", ec, [
14026
- (k(!0), T(
14027
- ae,
14025
+ d[e.defaultFile.nodeType] === e.nodeType.并行分支 ? (k(), E("div", ec, [
14026
+ (k(!0), E(
14027
+ le,
14028
14028
  null,
14029
- Se(d[e.defaultFile.parallelInstances], (A) => (k(), T("div", tc, [
14029
+ Se(d[e.defaultFile.parallelInstances], (A) => (k(), E("div", tc, [
14030
14030
  w(
14031
14031
  "div",
14032
14032
  ic,
@@ -14034,14 +14034,14 @@ const au = /* @__PURE__ */ Ft(su, [["__scopeId", "data-v-b301aa7d"]]), ou = Le(a
14034
14034
  1
14035
14035
  /* TEXT */
14036
14036
  ),
14037
- $(p, bn({ ref_for: !0 }, r, {
14037
+ G(p, bn({ ref_for: !0 }, r, {
14038
14038
  "data-list": (A == null ? void 0 : A.processInstanceNodes) || []
14039
14039
  }), null, 16, ["data-list"])
14040
14040
  ]))),
14041
14041
  256
14042
14042
  /* UNKEYED_FRAGMENT */
14043
14043
  ))
14044
- ])) : I("v-if", !0)
14044
+ ])) : x("v-if", !0)
14045
14045
  ], 8, uu);
14046
14046
  }),
14047
14047
  128