iking-web-ui-pro 0.2.50 → 0.2.51

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 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";
1
+ import { defineComponent as te, computed as Z, openBlock as k, createElementBlock as T, createElementVNode as w, inject as ft, ref as ve, resolveComponent as Ye, Fragment as re, createCommentVNode as I, renderList as Se, normalizeStyle as se, toDisplayString as X, normalizeClass as K, createBlock as fe, unref as P, withModifiers as bt, renderSlot as Ne, createVNode as $, 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) => {
@@ -620,7 +620,7 @@ 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(), 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));
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));
624
624
  }
625
625
  }), Ni = Le(xs);
626
626
  /*! Element Plus Icons Vue v2.3.1 */
@@ -628,7 +628,7 @@ var Is = /* @__PURE__ */ te({
628
628
  name: "ArrowLeft",
629
629
  __name: "arrow-left",
630
630
  setup(a) {
631
- return (o, r) => (k(), E("svg", {
631
+ return (o, r) => (k(), T("svg", {
632
632
  xmlns: "http://www.w3.org/2000/svg",
633
633
  viewBox: "0 0 1024 1024"
634
634
  }, [
@@ -642,7 +642,7 @@ var Is = /* @__PURE__ */ te({
642
642
  name: "ArrowRight",
643
643
  __name: "arrow-right",
644
644
  setup(a) {
645
- return (o, r) => (k(), E("svg", {
645
+ return (o, r) => (k(), T("svg", {
646
646
  xmlns: "http://www.w3.org/2000/svg",
647
647
  viewBox: "0 0 1024 1024"
648
648
  }, [
@@ -656,7 +656,7 @@ var Is = /* @__PURE__ */ te({
656
656
  name: "Close",
657
657
  __name: "close",
658
658
  setup(a) {
659
- return (o, r) => (k(), E("svg", {
659
+ return (o, r) => (k(), T("svg", {
660
660
  xmlns: "http://www.w3.org/2000/svg",
661
661
  viewBox: "0 0 1024 1024"
662
662
  }, [
@@ -670,7 +670,7 @@ var Is = /* @__PURE__ */ te({
670
670
  name: "FullScreen",
671
671
  __name: "full-screen",
672
672
  setup(a) {
673
- return (o, r) => (k(), E("svg", {
673
+ return (o, r) => (k(), T("svg", {
674
674
  xmlns: "http://www.w3.org/2000/svg",
675
675
  viewBox: "0 0 1024 1024"
676
676
  }, [
@@ -684,7 +684,7 @@ var Is = /* @__PURE__ */ te({
684
684
  name: "RefreshLeft",
685
685
  __name: "refresh-left",
686
686
  setup(a) {
687
- return (o, r) => (k(), E("svg", {
687
+ return (o, r) => (k(), T("svg", {
688
688
  xmlns: "http://www.w3.org/2000/svg",
689
689
  viewBox: "0 0 1024 1024"
690
690
  }, [
@@ -698,7 +698,7 @@ var Is = /* @__PURE__ */ te({
698
698
  name: "RefreshRight",
699
699
  __name: "refresh-right",
700
700
  setup(a) {
701
- return (o, r) => (k(), E("svg", {
701
+ return (o, r) => (k(), T("svg", {
702
702
  xmlns: "http://www.w3.org/2000/svg",
703
703
  viewBox: "0 0 1024 1024"
704
704
  }, [
@@ -712,7 +712,7 @@ var Is = /* @__PURE__ */ te({
712
712
  name: "ScaleToOriginal",
713
713
  __name: "scale-to-original",
714
714
  setup(a) {
715
- return (o, r) => (k(), E("svg", {
715
+ return (o, r) => (k(), T("svg", {
716
716
  xmlns: "http://www.w3.org/2000/svg",
717
717
  viewBox: "0 0 1024 1024"
718
718
  }, [
@@ -726,7 +726,7 @@ var Is = /* @__PURE__ */ te({
726
726
  name: "ZoomIn",
727
727
  __name: "zoom-in",
728
728
  setup(a) {
729
- return (o, r) => (k(), E("svg", {
729
+ return (o, r) => (k(), T("svg", {
730
730
  xmlns: "http://www.w3.org/2000/svg",
731
731
  viewBox: "0 0 1024 1024"
732
732
  }, [
@@ -740,7 +740,7 @@ var Is = /* @__PURE__ */ te({
740
740
  name: "ZoomOut",
741
741
  __name: "zoom-out",
742
742
  setup(a) {
743
- return (o, r) => (k(), E("svg", {
743
+ return (o, r) => (k(), T("svg", {
744
744
  xmlns: "http://www.w3.org/2000/svg",
745
745
  viewBox: "0 0 1024 1024"
746
746
  }, [
@@ -1030,7 +1030,7 @@ const Ft = (a, o) => {
1030
1030
  },
1031
1031
  emits: ["handPreview"],
1032
1032
  setup(a, { emit: o }) {
1033
- const r = a, t = Z(() => r.simple ? "simple" : "default"), { cLoadUrl: e, cOnlyofficeConfig: i, cOnlyofficePreviewType: n } = di(r), s = o, l = Z(() => ({
1033
+ const r = a, t = Z(() => r.simple ? "simple" : r.showType), { cLoadUrl: e, cOnlyofficeConfig: i, cOnlyofficePreviewType: n } = di(r), s = o, l = Z(() => ({
1034
1034
  name: "name",
1035
1035
  url: "url",
1036
1036
  suffix: "suffix",
@@ -1067,28 +1067,28 @@ const Ft = (a, o) => {
1067
1067
  return (v, m) => {
1068
1068
  var S, b, B;
1069
1069
  const C = Ye("tmplate");
1070
- return k(), E(
1071
- le,
1070
+ return k(), T(
1071
+ re,
1072
1072
  null,
1073
1073
  [
1074
- (S = a.list) != null && S.length ? (k(), E(
1075
- le,
1074
+ (S = a.list) != null && S.length ? (k(), T(
1075
+ re,
1076
1076
  { key: 0 },
1077
1077
  [
1078
- x(" 简单模式 "),
1079
- a.simple || t.value === "simple" ? (k(!0), E(
1080
- le,
1078
+ I(" 简单模式 "),
1079
+ t.value === "simple" ? (k(!0), T(
1080
+ re,
1081
1081
  { key: 0 },
1082
- Se(d.value, (I, H) => (k(), E("div", {
1082
+ Se(d.value, (x, H) => (k(), T("div", {
1083
1083
  class: "iking-privew-annex simple",
1084
1084
  key: H,
1085
- onClick: (O) => h(I),
1086
- style: re({ width: p.value })
1085
+ onClick: (O) => h(x),
1086
+ style: se({ width: p.value })
1087
1087
  }, [
1088
1088
  w(
1089
1089
  "div",
1090
1090
  Xs,
1091
- X(I.name),
1091
+ X(x.name),
1092
1092
  1
1093
1093
  /* TEXT */
1094
1094
  ),
@@ -1098,21 +1098,21 @@ const Ft = (a, o) => {
1098
1098
  class: K(["flex flex-center", { "hover-show": a.iconHoverShow }])
1099
1099
  },
1100
1100
  [
1101
- a.showDownloadBtn ? (k(), ue(P(We), {
1101
+ a.showDownloadBtn ? (k(), fe(P(We), {
1102
1102
  key: 0,
1103
1103
  name: "iksvg_daochu",
1104
- onClick: bt((O) => g(I), ["stop"]),
1104
+ onClick: bt((O) => g(x), ["stop"]),
1105
1105
  size: 20,
1106
1106
  active: ""
1107
- }, null, 8, ["onClick"])) : x("v-if", !0),
1108
- P(n).includes(I.suffix) || a.showPreviewBtn ? (k(), ue(P(We), {
1107
+ }, null, 8, ["onClick"])) : I("v-if", !0),
1108
+ P(n).includes(x.suffix) || a.showPreviewBtn ? (k(), fe(P(We), {
1109
1109
  key: 1,
1110
1110
  name: "iksvg_yulan",
1111
1111
  size: 20,
1112
1112
  active: ""
1113
- })) : x("v-if", !0),
1113
+ })) : I("v-if", !0),
1114
1114
  Ne(v.$slots, "operation", {
1115
- data: { ...I, findex: H }
1115
+ data: { ...x, findex: H }
1116
1116
  })
1117
1117
  ],
1118
1118
  2
@@ -1121,137 +1121,151 @@ const Ft = (a, o) => {
1121
1121
  ], 12, Ys))),
1122
1122
  128
1123
1123
  /* KEYED_FRAGMENT */
1124
- )) : x("v-if", !0),
1125
- x(" 简单图标模式 "),
1126
- t.value === "simple-icon" ? (k(!0), E(
1127
- le,
1124
+ )) : t.value === "simple-icon" ? (k(), T(
1125
+ re,
1128
1126
  { key: 1 },
1129
- Se(d.value, (I, H) => (k(), E("div", {
1130
- class: "iking-privew-annex simple-icon",
1131
- key: H,
1132
- onClick: (O) => h(I),
1133
- style: re({ width: p.value })
1134
- }, [
1135
- w("div", Zs, [
1136
- G(P(Ni), {
1137
- file: I,
1138
- style: re({ height: `${a.iconSize}px` }),
1139
- class: "ikui-w-auto",
1140
- fields: l.value
1141
- }, null, 8, ["file", "style", "fields"]),
1142
- w(
1143
- "div",
1144
- Js,
1145
- X(I.name),
1146
- 1
1147
- /* TEXT */
1148
- )
1149
- ]),
1150
- a.showDownloadBtn ? (k(), ue(P(We), {
1151
- key: 0,
1152
- name: "iksvg_daochu",
1153
- size: 20,
1154
- title: "下载",
1155
- active: "",
1156
- onClick: bt((O) => g(I), ["stop"])
1157
- }, null, 8, ["onClick"])) : x("v-if", !0)
1158
- ], 12, qs))),
1159
- 128
1160
- /* KEYED_FRAGMENT */
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,
1127
+ [
1128
+ I(" 简单图标模式 "),
1129
+ (k(!0), T(
1130
+ re,
1167
1131
  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
- }),
1132
+ Se(d.value, (x, H) => (k(), T("div", {
1133
+ class: "iking-privew-annex simple-icon",
1134
+ key: H,
1135
+ onClick: (O) => h(x),
1136
+ style: se({ width: p.value })
1137
+ }, [
1138
+ w("div", Zs, [
1139
+ $(P(Ni), {
1140
+ file: x,
1141
+ style: se({ height: `${a.iconSize}px` }),
1142
+ class: "ikui-w-auto",
1143
+ fields: l.value
1144
+ }, null, 8, ["file", "style", "fields"]),
1145
+ w(
1146
+ "div",
1147
+ Js,
1148
+ X(x.name),
1149
+ 1
1150
+ /* TEXT */
1151
+ )
1152
+ ]),
1153
+ a.showDownloadBtn ? (k(), fe(P(We), {
1154
+ key: 0,
1155
+ name: "iksvg_daochu",
1156
+ size: 20,
1157
+ title: "下载",
1158
+ active: "",
1159
+ onClick: bt((O) => g(x), ["stop"])
1160
+ }, null, 8, ["onClick"])) : I("v-if", !0)
1161
+ ], 12, qs))),
1241
1162
  128
1242
1163
  /* KEYED_FRAGMENT */
1243
1164
  ))
1244
- ]),
1245
- _: 3
1246
- /* FORWARDED */
1247
- })) : x("v-if", !0)
1165
+ ],
1166
+ 64
1167
+ /* STABLE_FRAGMENT */
1168
+ )) : (k(), T(
1169
+ re,
1170
+ { key: 2 },
1171
+ [
1172
+ I(" 默认模式 "),
1173
+ $(C, null, {
1174
+ default: ne(() => [
1175
+ (k(!0), T(
1176
+ re,
1177
+ null,
1178
+ Se(d.value, (x, H) => {
1179
+ var O;
1180
+ return k(), T(
1181
+ "div",
1182
+ {
1183
+ class: K(["iking-privew-annex", { "is-bg": a.showBg }]),
1184
+ key: H,
1185
+ style: se({
1186
+ marginBottom: H == ((O = a.list) == null ? void 0 : O.length) - 1 ? "0" : "10px",
1187
+ width: p.value
1188
+ })
1189
+ },
1190
+ [
1191
+ w("div", {
1192
+ class: "file-card",
1193
+ onClick: (J) => h(x)
1194
+ }, [
1195
+ $(P(Ni), {
1196
+ file: x,
1197
+ style: se({ height: `${a.iconSize}px` }),
1198
+ class: "ikui-w-auto",
1199
+ fields: l.value
1200
+ }, null, 8, ["file", "style", "fields"]),
1201
+ w("div", ea, [
1202
+ w(
1203
+ "div",
1204
+ ta,
1205
+ X(x.name),
1206
+ 1
1207
+ /* TEXT */
1208
+ ),
1209
+ w(
1210
+ "div",
1211
+ ia,
1212
+ X(P(Ks)(x.size)),
1213
+ 1
1214
+ /* TEXT */
1215
+ )
1216
+ ]),
1217
+ w(
1218
+ "div",
1219
+ {
1220
+ class: K(["flex flex-center", { "hover-show": a.iconHoverShow }])
1221
+ },
1222
+ [
1223
+ a.showDownloadBtn ? (k(), fe(P(We), {
1224
+ key: 0,
1225
+ name: "iksvg_daochu",
1226
+ onClick: bt((J) => g(x), ["stop"]),
1227
+ bg: a.showBg,
1228
+ size: a.showBg ? "default" : 20,
1229
+ title: "下载"
1230
+ }, null, 8, ["onClick", "bg", "size"])) : I("v-if", !0),
1231
+ P(n).includes(x.suffix) || a.showPreviewBtn ? (k(), fe(P(We), {
1232
+ key: 1,
1233
+ name: "iksvg_yulan",
1234
+ bg: a.showBg,
1235
+ size: a.showBg ? "default" : 20,
1236
+ title: "预览"
1237
+ }, null, 8, ["bg", "size"])) : I("v-if", !0),
1238
+ Ne(v.$slots, "operation", {
1239
+ data: { ...x, findex: H }
1240
+ })
1241
+ ],
1242
+ 2
1243
+ /* CLASS */
1244
+ )
1245
+ ], 8, Qs)
1246
+ ],
1247
+ 6
1248
+ /* CLASS, STYLE */
1249
+ );
1250
+ }),
1251
+ 128
1252
+ /* KEYED_FRAGMENT */
1253
+ ))
1254
+ ]),
1255
+ _: 3
1256
+ /* FORWARDED */
1257
+ })
1258
+ ],
1259
+ 2112
1260
+ /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
1261
+ ))
1248
1262
  ],
1249
1263
  64
1250
1264
  /* STABLE_FRAGMENT */
1251
- )) : x("v-if", !0),
1252
- G(P(aa), {
1265
+ )) : I("v-if", !0),
1266
+ $(P(aa), {
1253
1267
  show: c.value,
1254
- "onUpdate:show": m[0] || (m[0] = (I) => c.value = I),
1268
+ "onUpdate:show": m[0] || (m[0] = (x) => c.value = x),
1255
1269
  loadUrl: P(e),
1256
1270
  file: u.value,
1257
1271
  onlyofficeServer: ((b = P(i)) == null ? void 0 : b.serverUrl) || a.onlyofficeServer,
@@ -1364,26 +1378,26 @@ const ra = Le(na), sa = /* @__PURE__ */ te({
1364
1378
  };
1365
1379
  return (u, c) => {
1366
1380
  var h, g, p;
1367
- return r.value ? (k(), E(
1368
- le,
1381
+ return r.value ? (k(), T(
1382
+ re,
1369
1383
  { key: 0 },
1370
1384
  [
1371
- (h = i.value) != null && h.url && n.image ? (k(), ue(P($a), {
1385
+ (h = i.value) != null && h.url && n.image ? (k(), fe(P($a), {
1372
1386
  key: 0,
1373
1387
  onClose: c[0] || (c[0] = (d) => l()),
1374
1388
  ref: "previewImgRef",
1375
1389
  "url-list": [(g = i.value) == null ? void 0 : g.url],
1376
1390
  teleported: "",
1377
1391
  "z-index": 9999
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), {
1392
+ }, null, 8, ["url-list"])) : I("v-if", !0),
1393
+ I(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
1394
+ I(" 文档类 "),
1395
+ $(P(ou), {
1382
1396
  modelValue: n.video,
1383
1397
  "onUpdate:modelValue": c[1] || (c[1] = (d) => n.video = d),
1384
1398
  url: (p = i.value) == null ? void 0 : p.url
1385
1399
  }, null, 8, ["modelValue", "url"]),
1386
- G(P(ka), {
1400
+ $(P(ka), {
1387
1401
  modelValue: n.office,
1388
1402
  "onUpdate:modelValue": c[2] || (c[2] = (d) => n.office = d),
1389
1403
  draggable: "",
@@ -1401,7 +1415,7 @@ const ra = Le(na), sa = /* @__PURE__ */ te({
1401
1415
  default: ne(() => {
1402
1416
  var d;
1403
1417
  return [
1404
- G(P(Ia), {
1418
+ $(P(Ia), {
1405
1419
  "config-options": e.value,
1406
1420
  "document-server-url": ((d = a.onlyOfficeConfig) == null ? void 0 : d.serverUrl) || a.onlyofficeServer
1407
1421
  }, null, 8, ["config-options", "document-server-url"])
@@ -1413,7 +1427,7 @@ const ra = Le(na), sa = /* @__PURE__ */ te({
1413
1427
  ],
1414
1428
  64
1415
1429
  /* STABLE_FRAGMENT */
1416
- )) : x("v-if", !0);
1430
+ )) : I("v-if", !0);
1417
1431
  };
1418
1432
  }
1419
1433
  });
@@ -1488,8 +1502,8 @@ const aa = Le(sa), oa = {
1488
1502
  });
1489
1503
  return (i, n) => {
1490
1504
  const s = Ye("el-tooltip"), l = Ye("el-button");
1491
- return r.value.tableIconType === "icon" || !r.value.tableIconType ? (k(), E("span", oa, [
1492
- r.value.notip || !r.value.title ? (k(), E(
1505
+ return r.value.tableIconType === "icon" || !r.value.tableIconType ? (k(), T("span", oa, [
1506
+ r.value.notip || !r.value.title ? (k(), T(
1493
1507
  "i",
1494
1508
  {
1495
1509
  key: 0,
@@ -1506,34 +1520,34 @@ const aa = Le(sa), oa = {
1506
1520
  active: r.value.active,
1507
1521
  disabled: r.value.disabled
1508
1522
  }]),
1509
- style: re(e.value)
1523
+ style: se(e.value)
1510
1524
  },
1511
1525
  [
1512
- x(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
1513
- t.value === "iksig" ? (k(), E(
1526
+ I(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
1527
+ t.value === "iksig" ? (k(), T(
1514
1528
  "i",
1515
1529
  {
1516
1530
  key: 0,
1517
1531
  class: K(`iksig ${r.value.name}`),
1518
- style: re(e.value)
1532
+ style: se(e.value)
1519
1533
  },
1520
1534
  null,
1521
1535
  6
1522
1536
  /* CLASS, STYLE */
1523
- )) : t.value === "svg" ? (k(), E("svg", la, [
1537
+ )) : t.value === "svg" ? (k(), T("svg", la, [
1524
1538
  w("use", {
1525
1539
  "xlink:href": `#${r.value.name}`
1526
1540
  }, null, 8, ua)
1527
- ])) : t.value === "img" ? (k(), E("img", {
1541
+ ])) : t.value === "img" ? (k(), T("img", {
1528
1542
  key: 2,
1529
1543
  src: r.value.name,
1530
1544
  class: "h-[1em] w-[1em]"
1531
- }, null, 8, ca)) : (k(), E(
1545
+ }, null, 8, ca)) : (k(), T(
1532
1546
  "i",
1533
1547
  {
1534
1548
  key: 3,
1535
1549
  class: K(r.value.name),
1536
- style: re(e.value)
1550
+ style: se(e.value)
1537
1551
  },
1538
1552
  null,
1539
1553
  6
@@ -1542,7 +1556,7 @@ const aa = Le(sa), oa = {
1542
1556
  ],
1543
1557
  6
1544
1558
  /* CLASS, STYLE */
1545
- )) : (k(), ue(s, {
1559
+ )) : (k(), fe(s, {
1546
1560
  key: 1,
1547
1561
  content: r.value.title,
1548
1562
  placement: "top"
@@ -1563,33 +1577,33 @@ const aa = Le(sa), oa = {
1563
1577
  error: r.value.error || r.value.type === "error",
1564
1578
  active: r.value.active
1565
1579
  }]),
1566
- style: re(e.value)
1580
+ style: se(e.value)
1567
1581
  },
1568
1582
  [
1569
- t.value === "iksig" ? (k(), E(
1583
+ t.value === "iksig" ? (k(), T(
1570
1584
  "i",
1571
1585
  {
1572
1586
  key: 0,
1573
1587
  class: K(`iksig ${r.value.name}`),
1574
- style: re(e.value)
1588
+ style: se(e.value)
1575
1589
  },
1576
1590
  null,
1577
1591
  6
1578
1592
  /* CLASS, STYLE */
1579
- )) : t.value === "svg" ? (k(), E("svg", fa, [
1593
+ )) : t.value === "svg" ? (k(), T("svg", fa, [
1580
1594
  w("use", {
1581
1595
  "xlink:href": `#${r.value.name}`
1582
1596
  }, null, 8, ha)
1583
- ])) : t.value === "img" ? (k(), E("img", {
1597
+ ])) : t.value === "img" ? (k(), T("img", {
1584
1598
  key: 2,
1585
1599
  src: r.value.name,
1586
1600
  class: "h-[1em] w-[1em]"
1587
- }, null, 8, da)) : (k(), E(
1601
+ }, null, 8, da)) : (k(), T(
1588
1602
  "i",
1589
1603
  {
1590
1604
  key: 3,
1591
1605
  class: K(r.value.name),
1592
- style: re(e.value)
1606
+ style: se(e.value)
1593
1607
  },
1594
1608
  null,
1595
1609
  6
@@ -1603,7 +1617,7 @@ const aa = Le(sa), oa = {
1603
1617
  _: 1
1604
1618
  /* STABLE */
1605
1619
  }, 8, ["content"]))
1606
- ])) : (k(), ue(l, {
1620
+ ])) : (k(), fe(l, {
1607
1621
  key: 1,
1608
1622
  type: ["warning", "error"].includes(r.value.type) ? "danger" : ""
1609
1623
  }, {
@@ -1633,13 +1647,13 @@ const pa = /* @__PURE__ */ Ft(ga, [["__scopeId", "data-v-52806adf"]]), We = Le(p
1633
1647
  }
1634
1648
  },
1635
1649
  setup(a) {
1636
- return (o, r) => (k(), E(
1650
+ return (o, r) => (k(), T(
1637
1651
  "div",
1638
1652
  {
1639
1653
  class: K({ "exit-main-page-maximize": a.showBg && a.fullscreen })
1640
1654
  },
1641
1655
  [
1642
- G(P(We), {
1656
+ $(P(We), {
1643
1657
  name: "iksvg_guanbidanchuang",
1644
1658
  title: "关闭",
1645
1659
  size: 20,
@@ -1684,7 +1698,7 @@ const ma = /* @__PURE__ */ Ft(va, [["__scopeId", "data-v-da39e979"]]), ya = { cl
1684
1698
  });
1685
1699
  return (n, s) => {
1686
1700
  const l = Ye("el-dialog");
1687
- return k(), ue(l, bn({
1701
+ return k(), fe(l, bn({
1688
1702
  modelValue: r.value,
1689
1703
  "onUpdate:modelValue": s[0] || (s[0] = (u) => r.value = u),
1690
1704
  "align-center": ""
@@ -1713,13 +1727,13 @@ const ma = /* @__PURE__ */ Ft(va, [["__scopeId", "data-v-da39e979"]]), ya = { cl
1713
1727
  )
1714
1728
  ])
1715
1729
  ]),
1716
- n.$attrs.showClose ? (k(), ue(P(We), {
1730
+ n.$attrs.showClose ? (k(), fe(P(We), {
1717
1731
  key: 0,
1718
1732
  onClick: e,
1719
1733
  name: t.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
1720
1734
  class: "absolute! top-[18px] right-[50px] icon-dialog-full",
1721
1735
  title: t.value ? "退出全屏" : "全屏"
1722
- }, null, 8, ["name", "title"])) : x("v-if", !0)
1736
+ }, null, 8, ["name", "title"])) : I("v-if", !0)
1723
1737
  ]),
1724
1738
  default: ne(() => [
1725
1739
  Ne(n.$slots, "default")
@@ -2041,7 +2055,7 @@ var Ta = function(a, o) {
2041
2055
  });
2042
2056
  const Ea = ["id"];
2043
2057
  function Sa(a, o, r, t, e, i) {
2044
- return k(), E("div", { id: a.id }, null, 8, Ea);
2058
+ return k(), T("div", { id: a.id }, null, 8, Ea);
2045
2059
  }
2046
2060
  pi.render = Sa;
2047
2061
  pi.__file = "src/components/DocumentEditor.vue";
@@ -2074,13 +2088,13 @@ const xa = /* @__PURE__ */ te({
2074
2088
  }), t = () => {
2075
2089
  console.info("文档加载完成", o.configOptions);
2076
2090
  };
2077
- return (e, i) => (k(), E(
2091
+ return (e, i) => (k(), T(
2078
2092
  "div",
2079
2093
  {
2080
- style: re({ height: o.officeHeight })
2094
+ style: se({ height: o.officeHeight })
2081
2095
  },
2082
2096
  [
2083
- G(P(pi), {
2097
+ $(P(pi), {
2084
2098
  id: `${(/* @__PURE__ */ new Date()).getTime()}`,
2085
2099
  ref: "editorRef",
2086
2100
  "document-server-url": a.documentServerUrl,
@@ -2267,7 +2281,7 @@ const Ua = {
2267
2281
  }), C = ve(i.zIndex ?? u()), S = Z(() => {
2268
2282
  const { urlList: U } = i;
2269
2283
  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(() => [
2284
+ }), b = Z(() => d.value === 0), B = Z(() => d.value === i.urlList.length - 1), x = Z(() => i.urlList[d.value]), H = Z(() => [
2271
2285
  l.e("btn"),
2272
2286
  l.e("prev"),
2273
2287
  l.is("disabled", !i.infinite && b.value)
@@ -2276,12 +2290,12 @@ const Ua = {
2276
2290
  l.e("next"),
2277
2291
  l.is("disabled", !i.infinite && B.value)
2278
2292
  ]), J = Z(() => {
2279
- const { scale: U, deg: W, offsetX: Q, offsetY: me, enableTransition: ke } = m.value;
2293
+ const { scale: U, deg: G, offsetX: Q, offsetY: me, enableTransition: ke } = m.value;
2280
2294
  let Ce = Q / U, De = me / U;
2281
- const ct = W * Math.PI / 180, Oi = Math.cos(ct), Ri = Math.sin(ct);
2295
+ const ct = G * Math.PI / 180, Oi = Math.cos(ct), Ri = Math.sin(ct);
2282
2296
  Ce = Ce * Oi + De * Ri, De = De * Oi - Q / U * Ri;
2283
2297
  const Vt = {
2284
- transform: `scale(${U}) rotate(${W}deg) translate(${Ce}px, ${De}px)`,
2298
+ transform: `scale(${U}) rotate(${G}deg) translate(${Ce}px, ${De}px)`,
2285
2299
  transition: ke ? "transform .3s" : ""
2286
2300
  };
2287
2301
  return v.value.name === e.CONTAIN.name && (Vt.maxWidth = Vt.maxHeight = "100%"), Vt;
@@ -2311,7 +2325,7 @@ const Ua = {
2311
2325
  Ve("zoomOut");
2312
2326
  break;
2313
2327
  }
2314
- }), W = jt.throttle((Q) => {
2328
+ }), G = jt.throttle((Q) => {
2315
2329
  const me = Q.deltaY || Q.deltaX;
2316
2330
  Ve(me < 0 ? "zoomIn" : "zoomOut", {
2317
2331
  zoomRate: i.zoomRate,
@@ -2319,13 +2333,13 @@ const Ua = {
2319
2333
  });
2320
2334
  });
2321
2335
  g.run(() => {
2322
- yt(document, "keydown", U), yt(document, "wheel", W);
2336
+ yt(document, "keydown", U), yt(document, "wheel", G);
2323
2337
  });
2324
2338
  }
2325
2339
  function ie() {
2326
2340
  g.stop();
2327
2341
  }
2328
- function ae() {
2342
+ function oe() {
2329
2343
  p.value = !1;
2330
2344
  }
2331
2345
  function he(U) {
@@ -2335,10 +2349,10 @@ const Ua = {
2335
2349
  if (p.value || U.button !== 0 || !c.value)
2336
2350
  return;
2337
2351
  m.value.enableTransition = !1;
2338
- const { offsetX: W, offsetY: Q } = m.value, me = U.pageX, ke = U.pageY, Ce = jt.throttle((ct) => {
2352
+ const { offsetX: G, offsetY: Q } = m.value, me = U.pageX, ke = U.pageY, Ce = jt.throttle((ct) => {
2339
2353
  m.value = {
2340
2354
  ...m.value,
2341
- offsetX: W + ct.pageX - me,
2355
+ offsetX: G + ct.pageX - me,
2342
2356
  offsetY: Q + ct.pageY - ke
2343
2357
  };
2344
2358
  }), De = yt(document, "mousemove", Ce);
@@ -2358,12 +2372,12 @@ const Ua = {
2358
2372
  function Ai() {
2359
2373
  if (p.value)
2360
2374
  return;
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;
2375
+ const U = t(e), G = Object.values(e), Q = v.value.name, ke = ((G == null ? void 0 : G.findIndex((Ce) => Ce.name === Q)) + 1) % U.length;
2362
2376
  v.value = e[U[ke]], Pi();
2363
2377
  }
2364
2378
  function zt(U) {
2365
- const W = i.urlList.length;
2366
- d.value = (U + W) % W;
2379
+ const G = i.urlList.length;
2380
+ d.value = (U + G) % G;
2367
2381
  }
2368
2382
  function Li() {
2369
2383
  b.value && !i.infinite || zt(d.value - 1);
@@ -2371,14 +2385,14 @@ const Ua = {
2371
2385
  function Di() {
2372
2386
  B.value && !i.infinite || zt(d.value + 1);
2373
2387
  }
2374
- function Ve(U, W = {}) {
2388
+ function Ve(U, G = {}) {
2375
2389
  if (p.value)
2376
2390
  return;
2377
2391
  const { minScale: Q, maxScale: me } = i, { zoomRate: ke, rotateDeg: Ce, enableTransition: De } = {
2378
2392
  zoomRate: i.zoomRate,
2379
2393
  rotateDeg: 90,
2380
2394
  enableTransition: !0,
2381
- ...W
2395
+ ...G
2382
2396
  };
2383
2397
  switch (U) {
2384
2398
  case "zoomOut":
@@ -2400,7 +2414,7 @@ const Ua = {
2400
2414
  }
2401
2415
  m.value.enableTransition = De;
2402
2416
  }
2403
- return ot(I, () => {
2417
+ return ot(x, () => {
2404
2418
  gt(() => {
2405
2419
  const U = h.value[0];
2406
2420
  U != null && U.complete || (p.value = !0);
@@ -2408,15 +2422,15 @@ const Ua = {
2408
2422
  }), ot(d, (U) => {
2409
2423
  Pi(), n("switch", U);
2410
2424
  }), Tn(() => {
2411
- var U, W;
2412
- A(), (W = (U = c.value) == null ? void 0 : U.focus) == null || W.call(U);
2425
+ var U, G;
2426
+ A(), (G = (U = c.value) == null ? void 0 : U.focus) == null || G.call(U);
2413
2427
  }), o({
2414
2428
  /**
2415
2429
  * @description manually switch image
2416
2430
  */
2417
2431
  setActiveItem: zt
2418
- }), (U, W) => (k(), ue(En, { to: "body" }, [
2419
- G(Sn, {
2432
+ }), (U, G) => (k(), fe(En, { to: "body" }, [
2433
+ $(Sn, {
2420
2434
  name: "viewer-fade",
2421
2435
  appear: ""
2422
2436
  }, {
@@ -2428,20 +2442,20 @@ const Ua = {
2428
2442
  ref: c,
2429
2443
  tabindex: -1,
2430
2444
  class: K(P(l).e("wrapper")),
2431
- style: re({ zIndex: C.value })
2445
+ style: se({ zIndex: C.value })
2432
2446
  },
2433
2447
  [
2434
2448
  w(
2435
2449
  "div",
2436
2450
  {
2437
2451
  class: K(P(l).e("mask")),
2438
- onClick: W[0] || (W[0] = bt((Q) => U.hideOnClickModal && q(), ["self"]))
2452
+ onClick: G[0] || (G[0] = bt((Q) => U.hideOnClickModal && q(), ["self"]))
2439
2453
  },
2440
2454
  null,
2441
2455
  2
2442
2456
  /* CLASS */
2443
2457
  ),
2444
- x(" CLOSE "),
2458
+ I(" CLOSE "),
2445
2459
  w(
2446
2460
  "span",
2447
2461
  {
@@ -2449,9 +2463,9 @@ const Ua = {
2449
2463
  onClick: q
2450
2464
  },
2451
2465
  [
2452
- G(P(Oe), null, {
2466
+ $(P(Oe), null, {
2453
2467
  default: ne(() => [
2454
- G(P(Pn))
2468
+ $(P(Pn))
2455
2469
  ]),
2456
2470
  _: 1
2457
2471
  /* STABLE */
@@ -2460,9 +2474,9 @@ const Ua = {
2460
2474
  2
2461
2475
  /* CLASS */
2462
2476
  ),
2463
- x(" ARROW "),
2464
- S.value ? x("v-if", !0) : (k(), E(
2465
- le,
2477
+ I(" ARROW "),
2478
+ S.value ? I("v-if", !0) : (k(), T(
2479
+ re,
2466
2480
  { key: 0 },
2467
2481
  [
2468
2482
  w(
@@ -2472,9 +2486,9 @@ const Ua = {
2472
2486
  onClick: Li
2473
2487
  },
2474
2488
  [
2475
- G(P(Oe), null, {
2489
+ $(P(Oe), null, {
2476
2490
  default: ne(() => [
2477
- G(P(Ps))
2491
+ $(P(Ps))
2478
2492
  ]),
2479
2493
  _: 1
2480
2494
  /* STABLE */
@@ -2490,9 +2504,9 @@ const Ua = {
2490
2504
  onClick: Di
2491
2505
  },
2492
2506
  [
2493
- G(P(Oe), null, {
2507
+ $(P(Oe), null, {
2494
2508
  default: ne(() => [
2495
- G(P(Ls))
2509
+ $(P(Ls))
2496
2510
  ]),
2497
2511
  _: 1
2498
2512
  /* STABLE */
@@ -2505,7 +2519,7 @@ const Ua = {
2505
2519
  64
2506
2520
  /* STABLE_FRAGMENT */
2507
2521
  )),
2508
- x(" ACTIONS "),
2522
+ I(" ACTIONS "),
2509
2523
  w(
2510
2524
  "div",
2511
2525
  {
@@ -2518,20 +2532,20 @@ const Ua = {
2518
2532
  class: K(P(l).e("actions__inner"))
2519
2533
  },
2520
2534
  [
2521
- G(P(Oe), {
2522
- onClick: W[1] || (W[1] = (Q) => Ve("zoomOut"))
2535
+ $(P(Oe), {
2536
+ onClick: G[1] || (G[1] = (Q) => Ve("zoomOut"))
2523
2537
  }, {
2524
2538
  default: ne(() => [
2525
- G(P($s))
2539
+ $(P($s))
2526
2540
  ]),
2527
2541
  _: 1
2528
2542
  /* STABLE */
2529
2543
  }),
2530
- G(P(Oe), {
2531
- onClick: W[2] || (W[2] = (Q) => Ve("zoomIn"))
2544
+ $(P(Oe), {
2545
+ onClick: G[2] || (G[2] = (Q) => Ve("zoomIn"))
2532
2546
  }, {
2533
2547
  default: ne(() => [
2534
- G(P(Vs))
2548
+ $(P(Vs))
2535
2549
  ]),
2536
2550
  _: 1
2537
2551
  /* STABLE */
@@ -2545,9 +2559,9 @@ const Ua = {
2545
2559
  2
2546
2560
  /* CLASS */
2547
2561
  ),
2548
- G(P(Oe), { onClick: Ai }, {
2562
+ $(P(Oe), { onClick: Ai }, {
2549
2563
  default: ne(() => [
2550
- (k(), ue(gr(v.value.icon)))
2564
+ (k(), fe(gr(v.value.icon)))
2551
2565
  ]),
2552
2566
  _: 1
2553
2567
  /* STABLE */
@@ -2561,20 +2575,20 @@ const Ua = {
2561
2575
  2
2562
2576
  /* CLASS */
2563
2577
  ),
2564
- G(P(Oe), {
2565
- onClick: W[3] || (W[3] = (Q) => Ve("anticlockwise"))
2578
+ $(P(Oe), {
2579
+ onClick: G[3] || (G[3] = (Q) => Ve("anticlockwise"))
2566
2580
  }, {
2567
2581
  default: ne(() => [
2568
- G(P(Ms))
2582
+ $(P(Ms))
2569
2583
  ]),
2570
2584
  _: 1
2571
2585
  /* STABLE */
2572
2586
  }),
2573
- G(P(Oe), {
2574
- onClick: W[4] || (W[4] = (Q) => Ve("clockwise"))
2587
+ $(P(Oe), {
2588
+ onClick: G[4] || (G[4] = (Q) => Ve("clockwise"))
2575
2589
  }, {
2576
2590
  default: ne(() => [
2577
- G(P(Bs))
2591
+ $(P(Bs))
2578
2592
  ]),
2579
2593
  _: 1
2580
2594
  /* STABLE */
@@ -2587,25 +2601,25 @@ const Ua = {
2587
2601
  2
2588
2602
  /* CLASS */
2589
2603
  ),
2590
- x(" CANVAS "),
2604
+ I(" CANVAS "),
2591
2605
  w(
2592
2606
  "div",
2593
2607
  {
2594
2608
  class: K(P(l).e("canvas"))
2595
2609
  },
2596
2610
  [
2597
- (k(!0), E(
2598
- le,
2611
+ (k(!0), T(
2612
+ re,
2599
2613
  null,
2600
- Se(U.urlList, (Q, me) => pr((k(), E("img", {
2614
+ Se(U.urlList, (Q, me) => pr((k(), T("img", {
2601
2615
  ref_for: !0,
2602
2616
  ref: (ke) => h.value[me] = ke,
2603
2617
  key: Q,
2604
2618
  src: Q,
2605
- style: re(J.value),
2619
+ style: se(J.value),
2606
2620
  class: K(P(l).e("img")),
2607
2621
  crossorigin: U.crossorigin,
2608
- onLoad: ae,
2622
+ onLoad: oe,
2609
2623
  onError: he,
2610
2624
  onMousedown: Te
2611
2625
  }, null, 46, Va)), [
@@ -2651,13 +2665,13 @@ function ee(a) {
2651
2665
  }
2652
2666
  return a;
2653
2667
  }
2654
- function ce(a) {
2668
+ function ue(a) {
2655
2669
  "@babel/helpers - typeof";
2656
- return ce = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
2670
+ return ue = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
2657
2671
  return typeof o;
2658
2672
  } : function(o) {
2659
2673
  return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
2660
- }, ce(a);
2674
+ }, ue(a);
2661
2675
  }
2662
2676
  function L(a, o) {
2663
2677
  if (!(a instanceof o))
@@ -2867,7 +2881,7 @@ var On = { exports: {} };
2867
2881
  S[b - 1] = arguments[b];
2868
2882
  m.fn.apply(m.context, S);
2869
2883
  } else {
2870
- var B = m.length, I;
2884
+ var B = m.length, x;
2871
2885
  for (b = 0; b < B; b++)
2872
2886
  switch (m[b].once && this.removeListener(u, m[b].fn, void 0, !0), C) {
2873
2887
  case 1:
@@ -2884,8 +2898,8 @@ var On = { exports: {} };
2884
2898
  break;
2885
2899
  default:
2886
2900
  if (!S)
2887
- for (I = 1, S = new Array(C - 1); I < C; I++)
2888
- S[I - 1] = arguments[I];
2901
+ for (x = 1, S = new Array(C - 1); x < C; x++)
2902
+ S[x - 1] = arguments[x];
2889
2903
  m[b].fn.apply(m[b].context, S);
2890
2904
  }
2891
2905
  }
@@ -2995,7 +3009,7 @@ f.hasClass = function(a, o) {
2995
3009
  return t === o;
2996
3010
  });
2997
3011
  } catch {
2998
- var r = a.className && ce(a.className) === "object" ? a.getAttribute("class") : a.className;
3012
+ var r = a.className && ue(a.className) === "object" ? a.getAttribute("class") : a.className;
2999
3013
  return r && !!r.match(new RegExp("(\\s|^)" + o + "(\\s|$)"));
3000
3014
  }
3001
3015
  };
@@ -3006,7 +3020,7 @@ f.addClass = function(a, o) {
3006
3020
  r && a.classList.add(r);
3007
3021
  });
3008
3022
  } catch {
3009
- f.hasClass(a, o) || (a.className && ce(a.className) === "object" ? a.setAttribute("class", a.getAttribute("class") + " " + o) : a.className += " " + o);
3023
+ f.hasClass(a, o) || (a.className && ue(a.className) === "object" ? a.setAttribute("class", a.getAttribute("class") + " " + o) : a.className += " " + o);
3010
3024
  }
3011
3025
  };
3012
3026
  f.removeClass = function(a, o) {
@@ -3018,7 +3032,7 @@ f.removeClass = function(a, o) {
3018
3032
  } catch {
3019
3033
  f.hasClass(a, o) && o.split(/\s+/g).forEach(function(t) {
3020
3034
  var e = new RegExp("(\\s|^)" + t + "(\\s|$)");
3021
- a.className && ce(a.className) === "object" ? a.setAttribute("class", a.getAttribute("class").replace(e, " ")) : a.className = a.className.replace(e, " ");
3035
+ a.className && ue(a.className) === "object" ? a.setAttribute("class", a.getAttribute("class").replace(e, " ")) : a.className = a.className.replace(e, " ");
3022
3036
  });
3023
3037
  }
3024
3038
  };
@@ -3162,7 +3176,7 @@ f.checkIsFunction = function(a) {
3162
3176
  return a && typeof a == "function";
3163
3177
  };
3164
3178
  f.checkIsObject = function(a) {
3165
- return a !== null && ce(a) === "object";
3179
+ return a !== null && ue(a) === "object";
3166
3180
  };
3167
3181
  f.hide = function(a) {
3168
3182
  a.style.display = "none";
@@ -3392,7 +3406,7 @@ f.getCurrentTimeByOffset = function(a, o) {
3392
3406
  return a;
3393
3407
  };
3394
3408
  function Mn(a) {
3395
- var o = ce(a);
3409
+ var o = ue(a);
3396
3410
  return a !== null && (o === "object" || o === "function");
3397
3411
  }
3398
3412
  function io(a, o, r) {
@@ -3401,8 +3415,8 @@ function io(a, o, r) {
3401
3415
  throw new TypeError("Expected a function");
3402
3416
  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
3417
  function d(A) {
3404
- var ie = t, ae = e;
3405
- return t = e = void 0, u = A, n = a.apply(ae, ie), n;
3418
+ var ie = t, oe = e;
3419
+ return t = e = void 0, u = A, n = a.apply(oe, ie), n;
3406
3420
  }
3407
3421
  function v(A, ie) {
3408
3422
  return p ? (window.cancelAnimationFrame(s), window.requestAnimationFrame(A)) : setTimeout(A, ie);
@@ -3416,33 +3430,33 @@ function io(a, o, r) {
3416
3430
  return u = A, s = v(B, o), c ? d(A) : n;
3417
3431
  }
3418
3432
  function S(A) {
3419
- var ie = A - l, ae = A - u, he = o - ie;
3420
- return h ? Math.min(he, i - ae) : he;
3433
+ var ie = A - l, oe = A - u, he = o - ie;
3434
+ return h ? Math.min(he, i - oe) : he;
3421
3435
  }
3422
3436
  function b(A) {
3423
- var ie = A - l, ae = A - u;
3424
- return l === void 0 || ie >= o || ie < 0 || h && ae >= i;
3437
+ var ie = A - l, oe = A - u;
3438
+ return l === void 0 || ie >= o || ie < 0 || h && oe >= i;
3425
3439
  }
3426
3440
  function B() {
3427
3441
  var A = Date.now();
3428
3442
  if (b(A))
3429
- return I(A);
3443
+ return x(A);
3430
3444
  s = v(B, S(A));
3431
3445
  }
3432
- function I(A) {
3446
+ function x(A) {
3433
3447
  return s = void 0, g && t ? d(A) : (t = e = void 0, n);
3434
3448
  }
3435
3449
  function H() {
3436
3450
  s !== void 0 && m(s), u = 0, t = l = e = s = void 0;
3437
3451
  }
3438
3452
  function O() {
3439
- return s === void 0 ? n : I(Date.now());
3453
+ return s === void 0 ? n : x(Date.now());
3440
3454
  }
3441
3455
  function J() {
3442
3456
  return s !== void 0;
3443
3457
  }
3444
3458
  function q() {
3445
- for (var A = Date.now(), ie = b(A), ae = arguments.length, he = new Array(ae), Te = 0; Te < ae; Te++)
3459
+ for (var A = Date.now(), ie = b(A), oe = arguments.length, he = new Array(oe), Te = 0; Te < oe; Te++)
3446
3460
  he[Te] = arguments[Te];
3447
3461
  if (t = he, e = this, l = A, ie) {
3448
3462
  if (s === void 0)
@@ -4577,10 +4591,10 @@ function Xt(a) {
4577
4591
  return a ? a.indexOf && /^(?:http|data:|\/)/.test(a) : !1;
4578
4592
  }
4579
4593
  function Ao(a, o) {
4580
- return ce(a) === "object" && a.class && typeof a.class == "string" ? "".concat(o, " ").concat(a.class) : o;
4594
+ return ue(a) === "object" && a.class && typeof a.class == "string" ? "".concat(o, " ").concat(a.class) : o;
4581
4595
  }
4582
4596
  function Lo(a, o) {
4583
- return ce(a) === "object" && a.attr && ce(a.attr) === "object" && Object.keys(a.attr).map(function(r) {
4597
+ return ue(a) === "object" && a.attr && ue(a.attr) === "object" && Object.keys(a.attr).map(function(r) {
4584
4598
  o[r] = a.attr[r];
4585
4599
  }), o;
4586
4600
  }
@@ -4619,7 +4633,7 @@ function Oo(a, o) {
4619
4633
  });
4620
4634
  });
4621
4635
  }
4622
- var $ = /* @__PURE__ */ function(a) {
4636
+ var W = /* @__PURE__ */ function(a) {
4623
4637
  R(r, a);
4624
4638
  var o = F(r);
4625
4639
  function r() {
@@ -4660,11 +4674,11 @@ var $ = /* @__PURE__ */ function(a) {
4660
4674
  if (this.root) {
4661
4675
  this._children = [];
4662
4676
  var i = this.children();
4663
- i && ce(i) === "object" && Object.keys(i).length > 0 && Object.keys(i).map(function(n) {
4677
+ i && ue(i) === "object" && Object.keys(i).length > 0 && Object.keys(i).map(function(n) {
4664
4678
  var s = n, l = i[s], u = {
4665
4679
  root: e.root
4666
4680
  }, c, h;
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);
4681
+ 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);
4668
4682
  });
4669
4683
  }
4670
4684
  }
@@ -4983,7 +4997,7 @@ function Fo(a, o) {
4983
4997
  function Mo(a, o) {
4984
4998
  dt.unObserver(a, o);
4985
4999
  }
4986
- var se = {
5000
+ var ae = {
4987
5001
  pluginGroup: {},
4988
5002
  init: function(o) {
4989
5003
  var r = o._pluginInfoId;
@@ -5181,7 +5195,7 @@ var se = {
5181
5195
  delete this.pluginGroup[r], delete o._pluginInfoId;
5182
5196
  }
5183
5197
  }
5184
- }, T = {
5198
+ }, E = {
5185
5199
  DEFAULT: "xgplayer",
5186
5200
  DEFAULT_SKIN: "xgplayer-skin-default",
5187
5201
  ENTER: "xgplayer-is-enter",
@@ -5332,7 +5346,7 @@ var No = function(o, r) {
5332
5346
  value: function() {
5333
5347
  var e = this, i = this.config, n = i.disable, s = i.height, l = i.mode;
5334
5348
  if (!n) {
5335
- l === "flex" && this.player.addClass(T.FLEX_CONTROLS);
5349
+ l === "flex" && this.player.addClass(E.FLEX_CONTROLS);
5336
5350
  var u = {
5337
5351
  height: "".concat(s, "px")
5338
5352
  };
@@ -5369,12 +5383,12 @@ var No = function(o, r) {
5369
5383
  }, {
5370
5384
  key: "recoverAutoHide",
5371
5385
  value: function() {
5372
- this.config.autoHide && f.addClass(this.root, T.CONTROLS_AUTOHIDE);
5386
+ this.config.autoHide && f.addClass(this.root, E.CONTROLS_AUTOHIDE);
5373
5387
  }
5374
5388
  }, {
5375
5389
  key: "pauseAutoHide",
5376
5390
  value: function() {
5377
- f.removeClass(this.root, T.CONTROLS_AUTOHIDE);
5391
+ f.removeClass(this.root, E.CONTROLS_AUTOHIDE);
5378
5392
  }
5379
5393
  }, {
5380
5394
  key: "show",
@@ -5435,7 +5449,7 @@ var No = function(o, r) {
5435
5449
  "flex-controls": i === "flex"
5436
5450
  }, {
5437
5451
  "bottom-controls": i === "bottom"
5438
- }, _({}, T.CONTROLS_AUTOHIDE, n), {
5452
+ }, _({}, E.CONTROLS_AUTOHIDE, n), {
5439
5453
  "xgplayer-controls-initshow": s || !n
5440
5454
  });
5441
5455
  return '<xg-controls class="'.concat(u, `" unselectable="on">
@@ -5465,7 +5479,7 @@ var No = function(o, r) {
5465
5479
  };
5466
5480
  }
5467
5481
  }]), r;
5468
- }($), Ho = {
5482
+ }(W), Ho = {
5469
5483
  LANG: "en",
5470
5484
  TEXT: {
5471
5485
  ERROR_TYPES: {
@@ -5618,7 +5632,7 @@ var at = {
5618
5632
  RUNNING: 6,
5619
5633
  ENDED: 7,
5620
5634
  DESTROYED: 8
5621
- }, on = ["ERROR", "INITIAL", "READY", "ATTACHING", "ATTACHED", "NOTALLOW", "RUNNING", "ENDED", "DESTROYED"], fe = {}, qt = null, nr = /* @__PURE__ */ function(a) {
5635
+ }, on = ["ERROR", "INITIAL", "READY", "ATTACHING", "ATTACHED", "NOTALLOW", "RUNNING", "ENDED", "DESTROYED"], ce = {}, qt = null, nr = /* @__PURE__ */ function(a) {
5622
5636
  R(r, a);
5623
5637
  var o = F(r);
5624
5638
  function r() {
@@ -5627,20 +5641,20 @@ var at = {
5627
5641
  return D(r, [{
5628
5642
  key: "add",
5629
5643
  value: function(e) {
5630
- e && (fe[e.playerId] = e, Object.keys(fe).length === 1 && this.setActive(e.playerId, !0));
5644
+ e && (ce[e.playerId] = e, Object.keys(ce).length === 1 && this.setActive(e.playerId, !0));
5631
5645
  }
5632
5646
  }, {
5633
5647
  key: "remove",
5634
5648
  value: function(e) {
5635
- e && (e.isUserActive, delete fe[e.playerId]);
5649
+ e && (e.isUserActive, delete ce[e.playerId]);
5636
5650
  }
5637
5651
  }, {
5638
5652
  key: "_iterate",
5639
5653
  value: function(e) {
5640
5654
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
5641
- for (var n in fe)
5642
- if (Object.prototype.hasOwnProperty.call(fe, n)) {
5643
- var s = fe[n];
5655
+ for (var n in ce)
5656
+ if (Object.prototype.hasOwnProperty.call(ce, n)) {
5657
+ var s = ce[n];
5644
5658
  if (i) {
5645
5659
  if (e(s))
5646
5660
  break;
@@ -5674,16 +5688,16 @@ var at = {
5674
5688
  key: "setActive",
5675
5689
  value: function(e) {
5676
5690
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
5677
- if (fe[e])
5691
+ if (ce[e])
5678
5692
  return i ? this.forEach(function(n) {
5679
5693
  e === n.playerId ? (n.isUserActive = !0, n.isInstNext = !1) : n.isUserActive = !1;
5680
- }) : fe[e].isUserActive = i, e;
5694
+ }) : ce[e].isUserActive = i, e;
5681
5695
  }
5682
5696
  }, {
5683
5697
  key: "getActiveId",
5684
5698
  value: function() {
5685
- for (var e = Object.keys(fe), i = 0; i < e.length; i++) {
5686
- var n = fe[e[i]];
5699
+ for (var e = Object.keys(ce), i = 0; i < e.length; i++) {
5700
+ var n = ce[e[i]];
5687
5701
  if (n && n.isUserActive)
5688
5702
  return e[i];
5689
5703
  }
@@ -5693,10 +5707,10 @@ var at = {
5693
5707
  key: "setNext",
5694
5708
  value: function(e) {
5695
5709
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
5696
- if (fe[e])
5710
+ if (ce[e])
5697
5711
  return i ? this.forEach(function(n) {
5698
5712
  e === n.playerId ? (n.isUserActive = !1, n.isInstNext = !0) : n.isInstNext = !1;
5699
- }) : fe[e].isInstNext = i, e;
5713
+ }) : ce[e].isInstNext = i, e;
5700
5714
  }
5701
5715
  }], [{
5702
5716
  key: "getInstance",
@@ -5706,8 +5720,8 @@ var at = {
5706
5720
  }]), r;
5707
5721
  }(Rn.EventEmitter);
5708
5722
  function Vo(a) {
5709
- for (var o = Object.keys(fe), r = 0; r < o.length; r++) {
5710
- var t = fe[o[r]];
5723
+ for (var o = Object.keys(ce), r = 0; r < o.length; r++) {
5724
+ var t = ce[o[r]];
5711
5725
  if (t.root === a)
5712
5726
  return t;
5713
5727
  }
@@ -5723,7 +5737,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
5723
5737
  e = o.call(this, i), _(y(e), "canPlayFunc", function() {
5724
5738
  if (e.config) {
5725
5739
  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(T.ENTER);
5740
+ 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);
5727
5741
  }
5728
5742
  }), _(y(e), "onFullscreenChange", function(d, v) {
5729
5743
  var m = function() {
@@ -5745,17 +5759,17 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
5745
5759
  });
5746
5760
  var S = so(C, e.playerId, $e);
5747
5761
  if (v || C && (C === e._fullscreenEl || S))
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();
5762
+ 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();
5749
5763
  else if (e.fullscreen) {
5750
5764
  m();
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() {
5765
+ var b = y(e), B = b._fullScreenOffset, x = b.config;
5766
+ if (x.needFullscreenScroll ? (window.scrollTo(B.left, B.top), f.setTimeout(y(e), function() {
5753
5767
  e.fullscreen = !1, e._fullScreenOffset = null;
5754
5768
  }, 100)) : (!e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !1, e._fullScreenOffset = null), e.cssfullscreen)
5755
- e.removeClass(T.FULLSCREEN);
5769
+ e.removeClass(E.FULLSCREEN);
5756
5770
  else {
5757
5771
  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);
5772
+ !H && (e.root.contains(d.target) || d.target === e.root) && (H = d.target), e.recoverFullStyle(e.root, H, E.FULLSCREEN);
5759
5773
  }
5760
5774
  e._fullscreenEl = null, e.emit(Ee, !1);
5761
5775
  }
@@ -5805,7 +5819,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
5805
5819
  });
5806
5820
  p || (h.defaultDefinition = h.list[0].definition, p = h.list[0]), e.config.url = p.url, e.curDefinition = p;
5807
5821
  }
5808
- return e._bindEvents(), e._registerPresets(), e._registerPlugins(), se.onPluginsReady(y(e)), e.getInitDefinition(), e.setState(j.READY), f.setTimeout(y(e), function() {
5822
+ return e._bindEvents(), e._registerPresets(), e._registerPlugins(), ae.onPluginsReady(y(e)), e.getInitDefinition(), e.setState(j.READY), f.setTimeout(y(e), function() {
5809
5823
  e.emit(ki);
5810
5824
  }, 0), e.onReady && e.onReady(), (e.config.videoInit || e.config.autoplay) && (!e.hasStart || e.state < j.ATTACHED) && e.start(), e;
5811
5825
  }
@@ -5825,7 +5839,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
5825
5839
  })), console.error("this.confg.id or this.config.el can't be empty"), !1;
5826
5840
  }
5827
5841
  var s = Vo(this.root);
5828
- s && (V.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), s.destroy()), this.root.setAttribute($e, this.playerId), (e = Re) === null || e === void 0 || e.add(this), se.init(this), this._initBaseDoms();
5842
+ s && (V.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), s.destroy()), this.root.setAttribute($e, this.playerId), (e = Re) === null || e === void 0 || e.add(this), ae.init(this), this._initBaseDoms();
5829
5843
  var l = this.constructor.XgVideoProxy;
5830
5844
  if (l && this.mediaConfig.mediaType === l.mediaType) {
5831
5845
  var u = this.innerContainer || this.root;
@@ -5834,13 +5848,13 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
5834
5848
  this.attachVideoEvents(c), this.media = c;
5835
5849
  }
5836
5850
  if (this.media.setAttribute($e, this.playerId), this.config.controls) {
5837
- var h = this.config.controls.root || null, g = se.register(this, Bo, {
5851
+ var h = this.config.controls.root || null, g = ae.register(this, Bo, {
5838
5852
  root: h
5839
5853
  });
5840
5854
  this.controls = g;
5841
5855
  }
5842
5856
  var p = this.config.isMobileSimulateMode === "mobile" ? "mobile" : z.device;
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) {
5857
+ 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) {
5844
5858
  var d = this.config, v = d.width, m = d.height;
5845
5859
  (typeof v != "number" || typeof m != "number") && (v = 600, m = 337.5);
5846
5860
  var C = {
@@ -5856,8 +5870,8 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
5856
5870
  ["width", "height"].forEach(function(O) {
5857
5871
  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
5872
  });
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;
5873
+ var S = this.root.getBoundingClientRect(), b = S.width, B = S.height, x = S.left, H = S.top;
5874
+ return this.sizeInfo.width = b, this.sizeInfo.height = B, this.sizeInfo.left = x, this.sizeInfo.top = H, !0;
5861
5875
  }
5862
5876
  }, {
5863
5877
  key: "_initBaseDoms",
@@ -5902,7 +5916,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
5902
5916
  var s = this.media.readyState;
5903
5917
  V.logInfo("_startInit readyState", s), this.config.autoplay && (!f.isMSE(this.media) && this.load(), (z.os.isIpad || z.os.isPhone) && this.mediaPlay());
5904
5918
  var l = this.config.startTime;
5905
- this.__startTime = l > 0 ? l : -1, this.config.startTime = 0, s >= 2 && this.duration > 0 ? this.canPlayFunc() : this.on(Ie, this.canPlayFunc), (!this.hasStart || this.state < j.ATTACHED) && se.afterInit(this), this.hasStart = !0, this.setState(j.ATTACHED), f.setTimeout(this, function() {
5919
+ this.__startTime = l > 0 ? l : -1, this.config.startTime = 0, s >= 2 && this.duration > 0 ? this.canPlayFunc() : this.on(Ie, this.canPlayFunc), (!this.hasStart || this.state < j.ATTACHED) && ae.afterInit(this), this.hasStart = !0, this.setState(j.ATTACHED), f.setTimeout(this, function() {
5906
5920
  i.emit(Nt);
5907
5921
  }, 0);
5908
5922
  }
@@ -5923,7 +5937,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
5923
5937
  if (!i && c[g.toLowerCase()])
5924
5938
  return;
5925
5939
  if (h.lazy && h.loader) {
5926
- var p = se.lazyRegister(e, h);
5940
+ var p = ae.lazyRegister(e, h);
5927
5941
  h.forceBeforeInit && (p.then(function() {
5928
5942
  e._loadingPlugins.splice(e._loadingPlugins.indexOf(p), 1);
5929
5943
  }).catch(function(d) {
@@ -5957,7 +5971,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
5957
5971
  this.leftBar || (this.leftBar = f.createPositionBar("xg-left-bar", this.root)), i = this.leftBar;
5958
5972
  break;
5959
5973
  case Y.ROOT_TOP:
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;
5974
+ 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;
5961
5975
  break;
5962
5976
  default:
5963
5977
  i = this.innerContainer || this.root;
@@ -5968,17 +5982,17 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
5968
5982
  }, {
5969
5983
  key: "registerPlugin",
5970
5984
  value: function(e, i) {
5971
- var n = se.formatPluginInfo(e, i), s = n.PLUFGIN, l = n.options, u = this.config.plugins, c = se.checkPluginIfExits(s.pluginName, u);
5985
+ var n = ae.formatPluginInfo(e, i), s = n.PLUFGIN, l = n.options, u = this.config.plugins, c = ae.checkPluginIfExits(s.pluginName, u);
5972
5986
  !c && u.push(s);
5973
- var h = se.getRootByConfig(s.pluginName, this.config);
5987
+ var h = ae.getRootByConfig(s.pluginName, this.config);
5974
5988
  h.root && (l.root = h.root), h.position && (l.position = h.position);
5975
5989
  var g = l.position ? l.position : l.config && l.config.position || s.defaultConfig && s.defaultConfig.position;
5976
- return !l.root && typeof g == "string" && g.indexOf("controls") > -1 ? this.controls && this.controls.registerPlugin(s, l, s.pluginName) : (l.root || (l.root = this._getRootByPosition(g)), se.register(this, s, l));
5990
+ return !l.root && typeof g == "string" && g.indexOf("controls") > -1 ? this.controls && this.controls.registerPlugin(s, l, s.pluginName) : (l.root || (l.root = this._getRootByPosition(g)), ae.register(this, s, l));
5977
5991
  }
5978
5992
  }, {
5979
5993
  key: "deregister",
5980
5994
  value: function(e) {
5981
- typeof e == "string" ? se.unRegister(this, e) : e instanceof He && se.unRegister(this, e.pluginName);
5995
+ typeof e == "string" ? ae.unRegister(this, e) : e instanceof He && ae.unRegister(this, e.pluginName);
5982
5996
  }
5983
5997
  }, {
5984
5998
  key: "unRegisterPlugin",
@@ -6002,12 +6016,12 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6002
6016
  }, {
6003
6017
  key: "plugins",
6004
6018
  get: function() {
6005
- return se.getPlugins(this);
6019
+ return ae.getPlugins(this);
6006
6020
  }
6007
6021
  }, {
6008
6022
  key: "getPlugin",
6009
6023
  value: function(e) {
6010
- var i = se.findPlugin(this, e);
6024
+ var i = ae.findPlugin(this, e);
6011
6025
  return i && i.pluginName ? i : null;
6012
6026
  }
6013
6027
  }, {
@@ -6041,7 +6055,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6041
6055
  value: function(e) {
6042
6056
  var i = this;
6043
6057
  if (!(this.state > j.ATTACHING))
6044
- return !e && !this.config.url && this.getInitDefinition(), this.hasStart = !0, this.setState(j.ATTACHING), this._registerPlugins(!1), se.beforeInit(this).then(function() {
6058
+ return !e && !this.config.url && this.getInitDefinition(), this.hasStart = !0, this.setState(j.ATTACHING), this._registerPlugins(!1), ae.beforeInit(this).then(function() {
6045
6059
  if (i.config) {
6046
6060
  e || (e = i.url || i.config.url);
6047
6061
  var n = i._preProcessUrl(e), s = i._startInit(n.url);
@@ -6085,22 +6099,22 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6085
6099
  value: function() {
6086
6100
  var e = this;
6087
6101
  if (!this.hasStart && this.state < j.ATTACHED) {
6088
- this.removeClass(T.NO_START), this.addClass(T.ENTER), this.start(), this._useAutoplay = !0;
6102
+ this.removeClass(E.NO_START), this.addClass(E.ENTER), this.start(), this._useAutoplay = !0;
6089
6103
  return;
6090
6104
  }
6091
- this.state < j.RUNNING && (this.removeClass(T.NO_START), !this.isCanplay && this.addClass(T.ENTER));
6105
+ this.state < j.RUNNING && (this.removeClass(E.NO_START), !this.isCanplay && this.addClass(E.ENTER));
6092
6106
  var i = N(M(r.prototype), "play", this).call(this);
6093
6107
  return i !== void 0 && i && i.then ? i.then(function() {
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));
6108
+ 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));
6095
6109
  }).catch(function(n) {
6096
6110
  if (V.logWarn(">>>>playPromise.catch", n.name), e.media && e.media.error) {
6097
- e.onError(), e.removeClass(T.ENTER);
6111
+ e.onError(), e.removeClass(E.ENTER);
6098
6112
  return;
6099
6113
  }
6100
6114
  n.name === "NotAllowedError" && (e._errorTimer = f.setTimeout(e, function() {
6101
- e._errorTimer = null, e.emit(Ci), e.addClass(T.NOT_ALLOW_AUTOPLAY), e.removeClass(T.ENTER), e.pause(), e.setState(j.NOTALLOW);
6115
+ e._errorTimer = null, e.emit(Ci), e.addClass(E.NOT_ALLOW_AUTOPLAY), e.removeClass(E.ENTER), e.pause(), e.setState(j.NOTALLOW);
6102
6116
  }, 0));
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;
6117
+ }) : (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;
6104
6118
  }
6105
6119
  }, {
6106
6120
  key: "mediaPause",
@@ -6116,7 +6130,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6116
6130
  key: "play",
6117
6131
  value: function() {
6118
6132
  var e = this;
6119
- return this.removeClass(T.PAUSED), xe(this, "play", function() {
6133
+ return this.removeClass(E.PAUSED), xe(this, "play", function() {
6120
6134
  return e.mediaPlay();
6121
6135
  });
6122
6136
  }
@@ -6135,7 +6149,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6135
6149
  if (!(!this.media || Number.isNaN(Number(e)) || !this.hasStart)) {
6136
6150
  var s = this.config, l = s.isSeekedPlay, u = s.seekedStatus, c = i || (l ? "play" : u);
6137
6151
  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(T.ENTER), n.isSeeking = !1, c) {
6152
+ switch (n.removeClass(E.ENTER), n.isSeeking = !1, c) {
6139
6153
  case "play":
6140
6154
  n.play();
6141
6155
  break;
@@ -6146,7 +6160,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6146
6160
  n._isPauseBeforeSeek > 1 || n.paused ? n.pause() : n.play();
6147
6161
  }
6148
6162
  n._isPauseBeforeSeek = 0, n._onceSeekCanplay = null;
6149
- }, this.once(Pe, this._onceSeekCanplay), this.state < j.RUNNING ? (this.removeClass(T.NO_START), this.currentTime = e, this.play()) : this.currentTime = e;
6163
+ }, this.once(Pe, this._onceSeekCanplay), this.state < j.RUNNING ? (this.removeClass(E.NO_START), this.currentTime = e, this.play()) : this.currentTime = e;
6150
6164
  }
6151
6165
  }
6152
6166
  }, {
@@ -6193,10 +6207,10 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6193
6207
  }, {
6194
6208
  key: "resetState",
6195
6209
  value: function() {
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];
6210
+ 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];
6197
6211
  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
6212
  e.removeClass(v);
6199
- }), this.addClass(T.NO_START), this.emit(Ht);
6213
+ }), this.addClass(E.NO_START), this.emit(Ht);
6200
6214
  }
6201
6215
  }, {
6202
6216
  key: "reset",
@@ -6218,7 +6232,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6218
6232
  value: function() {
6219
6233
  var e, i = this, n = this.innerContainer, s = this.root, l = this.media;
6220
6234
  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), N(M(r.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), n)
6235
+ 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), ae.destroy(this), tr(this), N(M(r.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), n)
6222
6236
  for (var u = n.children, c = 0; c < u.length; c++)
6223
6237
  n.removeChild(u[c]);
6224
6238
  !n && l instanceof window.Node && s.contains(l) && s.removeChild(l), ["topBar", "leftBar", "rightBar", "innerContainer"].map(function(g) {
@@ -6236,7 +6250,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6236
6250
  key: "replay",
6237
6251
  value: function() {
6238
6252
  var e = this;
6239
- this.removeClass(T.ENDED), this.currentTime = 0, this.isSeeking = !1, xe(this, "replay", function() {
6253
+ this.removeClass(E.ENDED), this.currentTime = 0, this.isSeeking = !1, xe(this, "replay", function() {
6240
6254
  e.once(Pe, function() {
6241
6255
  var i = e.mediaPlay();
6242
6256
  i && i.catch && i.catch(function(n) {
@@ -6249,7 +6263,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6249
6263
  key: "retry",
6250
6264
  value: function() {
6251
6265
  var e = this;
6252
- this.removeClass(T.ERROR), this.addClass(T.LOADING), xe(this, "retry", function() {
6266
+ this.removeClass(E.ERROR), this.addClass(E.LOADING), xe(this, "retry", function() {
6253
6267
  var i = e.currentTime, n = e.config.url, s = f.isMSE(e.media) ? {
6254
6268
  url: n
6255
6269
  } : e._preProcessUrl(n);
@@ -6261,12 +6275,12 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6261
6275
  }, {
6262
6276
  key: "changeFullStyle",
6263
6277
  value: function(e, i, n, s) {
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)));
6278
+ 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)));
6265
6279
  }
6266
6280
  }, {
6267
6281
  key: "recoverFullStyle",
6268
6282
  value: function(e, i, n, s) {
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));
6283
+ 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));
6270
6284
  }
6271
6285
  }, {
6272
6286
  key: "getFullscreen",
@@ -6318,7 +6332,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6318
6332
  value: function() {
6319
6333
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.config.fullscreenTarget;
6320
6334
  this.isRotateFullscreen ? this.exitRotateFullscreen() : this.fullscreen && this.exitFullscreen();
6321
- var i = e ? "".concat(T.INNER_FULLSCREEN, " ").concat(T.CSS_FULLSCREEN) : T.CSS_FULLSCREEN;
6335
+ var i = e ? "".concat(E.INNER_FULLSCREEN, " ").concat(E.CSS_FULLSCREEN) : E.CSS_FULLSCREEN;
6322
6336
  this.changeFullStyle(this.root, e, i);
6323
6337
  var n = this.config.fullscreen, s = n === void 0 ? {} : n, l = s.useCssFullscreen === !0 || typeof s.useCssFullscreen == "function" && s.useCssFullscreen();
6324
6338
  l && (this.fullscreen = !0, this.emit(Ee, !0)), this._cssfullscreenEl = e, this.cssfullscreen = !0, this.emit(xt, !0);
@@ -6326,7 +6340,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6326
6340
  }, {
6327
6341
  key: "exitCssFullscreen",
6328
6342
  value: function() {
6329
- var e = this._cssfullscreenEl ? "".concat(T.INNER_FULLSCREEN, " ").concat(T.CSS_FULLSCREEN) : T.CSS_FULLSCREEN;
6343
+ var e = this._cssfullscreenEl ? "".concat(E.INNER_FULLSCREEN, " ").concat(E.CSS_FULLSCREEN) : E.CSS_FULLSCREEN;
6330
6344
  if (!this.fullscreen)
6331
6345
  this.recoverFullStyle(this.root, this._cssfullscreenEl, e);
6332
6346
  else {
@@ -6340,14 +6354,14 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6340
6354
  value: function() {
6341
6355
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.config.fullscreenTarget;
6342
6356
  this.cssfullscreen && this.exitCssFullscreen(e);
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);
6357
+ var i = e ? "".concat(E.INNER_FULLSCREEN, " ").concat(E.ROTATE_FULLSCREEN) : E.ROTATE_FULLSCREEN;
6358
+ 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);
6345
6359
  }
6346
6360
  }, {
6347
6361
  key: "exitRotateFullscreen",
6348
6362
  value: function(e) {
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);
6363
+ var i = this._fullscreenEl !== this.root ? "".concat(E.INNER_FULLSCREEN, " ").concat(E.ROTATE_FULLSCREEN) : E.ROTATE_FULLSCREEN;
6364
+ 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);
6351
6365
  }
6352
6366
  }, {
6353
6367
  key: "setRotateDeg",
@@ -6392,7 +6406,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6392
6406
  autoHide: !0,
6393
6407
  delay: 3e3
6394
6408
  }, n = this.innerStates;
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) {
6409
+ 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) {
6396
6410
  this._clearUserTimer();
6397
6411
  return;
6398
6412
  }
@@ -6407,7 +6421,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6407
6421
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = e.ignorePaused, n = i === void 0 ? !1 : i;
6408
6422
  if (!this.innerStates.isActiveLocked) {
6409
6423
  var s = this.config.closePauseVideoFocus;
6410
- this.isActive = !1, (n || s || !this.paused && !this.ended) && this.addClass(T.INACTIVE);
6424
+ this.isActive = !1, (n || s || !this.paused && !this.ended) && this.addClass(E.INACTIVE);
6411
6425
  }
6412
6426
  }
6413
6427
  }, {
@@ -6418,7 +6432,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6418
6432
  }, {
6419
6433
  key: "onCanplay",
6420
6434
  value: function() {
6421
- this.removeClass(T.ENTER), this.removeClass(T.ERROR), this.removeClass(T.LOADING), this.isCanplay = !0, this.waitTimer && f.clearTimeout(this, this.waitTimer);
6435
+ this.removeClass(E.ENTER), this.removeClass(E.ERROR), this.removeClass(E.LOADING), this.isCanplay = !0, this.waitTimer && f.clearTimeout(this, this.waitTimer);
6422
6436
  }
6423
6437
  }, {
6424
6438
  key: "onLoadeddata",
@@ -6428,44 +6442,44 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6428
6442
  }, {
6429
6443
  key: "onLoadstart",
6430
6444
  value: function() {
6431
- this.removeClass(T.ERROR), this.isCanplay = !1;
6445
+ this.removeClass(E.ERROR), this.isCanplay = !1;
6432
6446
  }
6433
6447
  }, {
6434
6448
  key: "onPlay",
6435
6449
  value: function() {
6436
- this.state === j.ENDED && this.setState(j.RUNNING), this.removeClass(T.PAUSED), this.ended && this.removeClass(T.ENDED), !this.config.closePlayVideoFocus && this.focus();
6450
+ this.state === j.ENDED && this.setState(j.RUNNING), this.removeClass(E.PAUSED), this.ended && this.removeClass(E.ENDED), !this.config.closePlayVideoFocus && this.focus();
6437
6451
  }
6438
6452
  }, {
6439
6453
  key: "onPause",
6440
6454
  value: function() {
6441
- this.addClass(T.PAUSED), this.updateAcc("pause"), this.config.closePauseVideoFocus || (this._clearUserTimer(), this.focus());
6455
+ this.addClass(E.PAUSED), this.updateAcc("pause"), this.config.closePauseVideoFocus || (this._clearUserTimer(), this.focus());
6442
6456
  }
6443
6457
  }, {
6444
6458
  key: "onEnded",
6445
6459
  value: function() {
6446
- this.updateAcc("ended"), this.addClass(T.ENDED), this.setState(j.ENDED);
6460
+ this.updateAcc("ended"), this.addClass(E.ENDED), this.setState(j.ENDED);
6447
6461
  }
6448
6462
  }, {
6449
6463
  key: "onError",
6450
6464
  value: function() {
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);
6465
+ 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);
6452
6466
  }
6453
6467
  }, {
6454
6468
  key: "onSeeking",
6455
6469
  value: function() {
6456
- this.isSeeking || this.updateAcc("seeking"), this.isSeeking = !0, this.addClass(T.SEEKING);
6470
+ this.isSeeking || this.updateAcc("seeking"), this.isSeeking = !0, this.addClass(E.SEEKING);
6457
6471
  }
6458
6472
  }, {
6459
6473
  key: "onSeeked",
6460
6474
  value: function() {
6461
- this.isSeeking = !1, this.waitTimer && f.clearTimeout(this, this.waitTimer), this.removeClass(T.LOADING), this.removeClass(T.SEEKING);
6475
+ this.isSeeking = !1, this.waitTimer && f.clearTimeout(this, this.waitTimer), this.removeClass(E.LOADING), this.removeClass(E.SEEKING);
6462
6476
  }
6463
6477
  }, {
6464
6478
  key: "onWaiting",
6465
6479
  value: function() {
6466
6480
  var e = this;
6467
6481
  this.waitTimer && f.clearTimeout(this, this.waitTimer), this.updateAcc("waiting"), this.waitTimer = f.setTimeout(this, function() {
6468
- e.addClass(T.LOADING), e.emit($n), f.clearTimeout(e, e.waitTimer), e.waitTimer = null;
6482
+ e.addClass(E.LOADING), e.emit($n), f.clearTimeout(e, e.waitTimer), e.waitTimer = null;
6469
6483
  }, this.config.minWaitDelay);
6470
6484
  }
6471
6485
  }, {
@@ -6473,7 +6487,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6473
6487
  value: function() {
6474
6488
  var e = this;
6475
6489
  this.isError = !1;
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];
6490
+ 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];
6477
6491
  h.forEach(function(g) {
6478
6492
  e.removeClass(g);
6479
6493
  }), !this._accPlayed.t && !this.paused && !this.ended && (this._accPlayed.t = (/* @__PURE__ */ new Date()).getTime());
@@ -6481,7 +6495,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6481
6495
  }, {
6482
6496
  key: "onTimeupdate",
6483
6497
  value: function() {
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());
6498
+ !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());
6485
6499
  }
6486
6500
  }, {
6487
6501
  key: "onVolumechange",
@@ -6540,13 +6554,13 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6540
6554
  this.videoPos.pi = c, u = u < 0 ? 0 : u;
6541
6555
  var h = {
6542
6556
  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, B = b, I = S;
6557
+ }, 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, x = S;
6544
6558
  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(I, "px"), this.media.style.height = "".concat(B, "px");
6559
+ 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(x, "px"), this.media.style.height = "".concat(B, "px");
6546
6560
  else if (v % 2 === 1) {
6547
- I = b, B = S;
6561
+ x = b, B = S;
6548
6562
  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");
6563
+ p = -H / 2 / x * 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(x, "px"), this.media.style.height = "".concat(B, "px");
6550
6564
  }
6551
6565
  var O = f.getTransformStyle(h, this.media.style.transform || this.media.style.webkitTransform);
6552
6566
  this.media.style.transform = O, this.media.style.webkitTransform = O;
@@ -6598,8 +6612,8 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6598
6612
  if ((h === "fill" || h === "cover" || h === "contain") && this.setAttribute("data-xgfill", h), !(!l || !s)) {
6599
6613
  this._videoHeight = l, this._videoWidth = s;
6600
6614
  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(I) {
6602
- e.root.style[I] = b[I];
6615
+ 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(x) {
6616
+ e.root.style[x] = b[x];
6603
6617
  }), (h === "fillHeight" && m < v || h === "fillWidth" && m > v) && this.setAttribute("data-xgfill", "cover");
6604
6618
  var B = {
6605
6619
  videoScale: v,
@@ -6706,7 +6720,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6706
6720
  console.error("Sorry, set lang fail, because the language [".concat(e, "] is not supported now, list of all supported languages is [").concat(at.langKeys.join(), "] "));
6707
6721
  return;
6708
6722
  }
6709
- this.config.lang = e, se.setLang(e, this);
6723
+ this.config.lang = e, ae.setLang(e, this);
6710
6724
  }
6711
6725
  }, {
6712
6726
  key: "i18n",
@@ -6908,7 +6922,7 @@ var jo = ["play", "pause", "replay", "retry"], ln = 0, un = 0, Re = null, Ut = /
6908
6922
  _(Ut, "defaultPreset", null);
6909
6923
  _(Ut, "XgVideoProxy", null);
6910
6924
  Ut.instManager = nr.getInstance();
6911
- function oe() {
6925
+ function le() {
6912
6926
  return (/* @__PURE__ */ new Date()).getTime();
6913
6927
  }
6914
6928
  var Fe = {
@@ -6938,23 +6952,23 @@ var Fe = {
6938
6952
  isTimeUpdate: !1,
6939
6953
  isFFSend: !1,
6940
6954
  isLs: !1
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;
6955
+ }, 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;
6942
6956
  }), _(y(t), "_onSeeking", function() {
6943
- t.seekingStart || (t.suspendWaitingStatus("seek"), t.seekingStart = oe(), t.emitLog(Fe.SEEK_START, {
6944
- start: oe()
6957
+ t.seekingStart || (t.suspendWaitingStatus("seek"), t.seekingStart = le(), t.emitLog(Fe.SEEK_START, {
6958
+ start: le()
6945
6959
  }));
6946
6960
  }), _(y(t), "_onSeeked", function() {
6947
6961
  t.suspendSeekingStatus("seeked");
6948
6962
  }), _(y(t), "_onWaitingLoadStart", function() {
6949
- t._isWaiting || t.vt || (t._isWaiting = !0, t.waitingStart = oe(), t.fixedWaitingStart = oe(), t._waitType = 1, t.emitLog(Fe.WAIT_START, {
6963
+ t._isWaiting || t.vt || (t._isWaiting = !0, t.waitingStart = le(), t.fixedWaitingStart = le(), t._waitType = 1, t.emitLog(Fe.WAIT_START, {
6950
6964
  fixedStart: t.fixedWaitingStart,
6951
6965
  start: t.waitingStart,
6952
6966
  type: 1,
6953
6967
  endType: "loadstart"
6954
6968
  }));
6955
6969
  }), _(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 = 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, {
6970
+ 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() {
6971
+ t._isWaiting && (t.waitingStart = le(), f.clearTimeout(y(t), t._waitTimer), t._waitTimer = null, t._startWaitTimeout(), t.emitLog(Fe.WAIT_START, {
6958
6972
  fixedStart: t.fixedWaitingStart,
6959
6973
  start: t.waitingStart,
6960
6974
  type: t._waitType,
@@ -6971,11 +6985,11 @@ var Fe = {
6971
6985
  key: "afterCreate",
6972
6986
  value: function() {
6973
6987
  var e = this;
6974
- this._onReset(), this._waitType = "firstFrame", this._initOnceEvents(), this.newPointTime = oe(), this.loadedCostTime = 0, this.startCostTime = 0, this.on(yi, function() {
6988
+ this._onReset(), this._waitType = "firstFrame", this._initOnceEvents(), this.newPointTime = le(), this.loadedCostTime = 0, this.startCostTime = 0, this.on(yi, function() {
6975
6989
  var i = e._state, n = i.autoplayStart, s = i.isFFSend;
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());
6990
+ 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());
6977
6991
  }), this.on(Ae, function() {
6978
- e.vt = oe(), e.fvt = e.vt - e.pt, e.loadedCostTime = e.vt - e.newPointTime;
6992
+ e.vt = le(), e.fvt = e.vt - e.pt, e.loadedCostTime = e.vt - e.newPointTime;
6979
6993
  var i = e._state, n = i.isTimeUpdate, s = i.isFFSend, l = i.autoplayStart;
6980
6994
  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
6995
  }), this.on(Mt, this._onSeeking), this.on(Pe, this._onSeeked), this.on(wi, function() {
@@ -6994,7 +7008,7 @@ var Fe = {
6994
7008
  }, {
6995
7009
  key: "_sendFF",
6996
7010
  value: function(e) {
6997
- this.s = oe();
7011
+ this.s = le();
6998
7012
  var i = this._state, n = i.isFFLoading, s = i.isFFSend;
6999
7013
  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
7014
  fvt: this.fvt,
@@ -7021,7 +7035,7 @@ var Fe = {
7021
7035
  key: "suspendSeekingStatus",
7022
7036
  value: function(e) {
7023
7037
  if (this.seekingStart) {
7024
- var i = oe(), n = i - this.seekingStart;
7038
+ var i = le(), n = i - this.seekingStart;
7025
7039
  this.seekingStart = 0, this.emitLog(Fe.SEEK_END, {
7026
7040
  end: i,
7027
7041
  costTime: n,
@@ -7033,7 +7047,7 @@ var Fe = {
7033
7047
  key: "suspendWaitingStatus",
7034
7048
  value: function(e) {
7035
7049
  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 = oe(), n = i - this.waitingStart, s = i - this.fixedWaitingStart, l = this.config.waitTimeout;
7050
+ var i = le(), n = i - this.waitingStart, s = i - this.fixedWaitingStart, l = this.config.waitTimeout;
7037
7051
  this._isWaiting = !1, this.waitingStart = 0, this.fixedWaitingStart = 0, this.emitLog(Fe.WAIT_END, {
7038
7052
  fixedCostTime: s > l ? l : s,
7039
7053
  costTime: n > l ? l : n,
@@ -7047,7 +7061,7 @@ var Fe = {
7047
7061
  value: function(e, i) {
7048
7062
  var n = this.player;
7049
7063
  this.emit(Yn, ee({
7050
- t: oe(),
7064
+ t: le(),
7051
7065
  host: f.getHostFromUrl(n.currentSrc),
7052
7066
  vtype: n.vtype,
7053
7067
  eventType: e,
@@ -7069,7 +7083,7 @@ var Fe = {
7069
7083
  };
7070
7084
  }
7071
7085
  }]), r;
7072
- }($);
7086
+ }(W);
7073
7087
  function Wo() {
7074
7088
  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
7089
  <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>
@@ -7093,7 +7107,7 @@ var Go = /* @__PURE__ */ function(a) {
7093
7107
  key: "afterCreate",
7094
7108
  value: function() {
7095
7109
  var e = this;
7096
- $.insert(this.icons.replay, this.root, 0), this.__handleReplay = this.hook("replayClick", function() {
7110
+ W.insert(this.icons.replay, this.root, 0), this.__handleReplay = this.hook("replayClick", function() {
7097
7111
  e.player.replay();
7098
7112
  }, {
7099
7113
  pre: function(n) {
@@ -7159,7 +7173,7 @@ var Go = /* @__PURE__ */ function(a) {
7159
7173
  };
7160
7174
  }
7161
7175
  }]), r;
7162
- }($), Ko = /* @__PURE__ */ function(a) {
7176
+ }(W), Ko = /* @__PURE__ */ function(a) {
7163
7177
  R(r, a);
7164
7178
  var o = F(r);
7165
7179
  function r() {
@@ -7270,7 +7284,7 @@ var Go = /* @__PURE__ */ function(a) {
7270
7284
  };
7271
7285
  }
7272
7286
  }]), r;
7273
- }($);
7287
+ }(W);
7274
7288
  function Ei() {
7275
7289
  return new DOMParser().parseFromString(`<svg class="play" xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="3 -4 28 40">
7276
7290
  <path fill="#fff" transform="scale(0.0320625 0.0320625)" d="M576,363L810,512L576,661zM342,214L576,363L576,661L342,810z"></path>
@@ -7477,7 +7491,7 @@ var Xo = /* @__PURE__ */ function(a) {
7477
7491
  };
7478
7492
  }
7479
7493
  }]), r;
7480
- }($), qo = /* @__PURE__ */ function(a) {
7494
+ }(W), qo = /* @__PURE__ */ function(a) {
7481
7495
  R(r, a);
7482
7496
  var o = F(r);
7483
7497
  function r() {
@@ -7512,7 +7526,7 @@ var Xo = /* @__PURE__ */ function(a) {
7512
7526
  };
7513
7527
  }
7514
7528
  }]), r;
7515
- }($);
7529
+ }(W);
7516
7530
  function ze(a, o, r) {
7517
7531
  try {
7518
7532
  return ' <div class="xg-tips '.concat(r ? "hide" : " ", '" lang-key="').concat(a.i18nKeys[o], `">
@@ -7571,7 +7585,7 @@ var fn = /* @__PURE__ */ function(a) {
7571
7585
  };
7572
7586
  }
7573
7587
  }]), r;
7574
- }($);
7588
+ }(W);
7575
7589
  function hn(a) {
7576
7590
  var o = parseFloat(a), r = a.indexOf("%") === -1 && !Number.isNaN(o);
7577
7591
  return r && o;
@@ -7596,7 +7610,7 @@ function Jo(a) {
7596
7610
  return o;
7597
7611
  }
7598
7612
  function dn(a) {
7599
- if (typeof a == "string" && (a = document.querySelector(a)), !(!a || ce(a) !== "object" || !a.nodeType)) {
7613
+ if (typeof a == "string" && (a = document.querySelector(a)), !(!a || ue(a) !== "object" || !a.nodeType)) {
7600
7614
  var o = Jo(a);
7601
7615
  if (o.display === "none")
7602
7616
  return Zo();
@@ -7987,7 +8001,7 @@ var Jt = {
7987
8001
  };
7988
8002
  }
7989
8003
  }]), r;
7990
- }($), kt = {
8004
+ }(W), kt = {
7991
8005
  mouseenter: "onMouseEnter",
7992
8006
  mouseleave: "onMouseLeave",
7993
8007
  mousemove: "onMouseMove"
@@ -8675,7 +8689,7 @@ var et = {
8675
8689
  };
8676
8690
  }
8677
8691
  }]), r;
8678
- }($);
8692
+ }(W);
8679
8693
  function ol(a) {
8680
8694
  a.preventDefault(), a.returnValue = !1;
8681
8695
  }
@@ -9012,7 +9026,7 @@ var ul = /* @__PURE__ */ function(a) {
9012
9026
  };
9013
9027
  }
9014
9028
  }]), r;
9015
- }($), cl = [{
9029
+ }(W), cl = [{
9016
9030
  tag: "xg-cache",
9017
9031
  className: "xgplayer-progress-cache",
9018
9032
  styleKey: "cachedColor"
@@ -9410,7 +9424,7 @@ var ul = /* @__PURE__ */ function(a) {
9410
9424
  key: "initCustomStyle",
9411
9425
  value: function() {
9412
9426
  var e = this.playerConfig || {}, i = e.commonStyle, n = i.sliderBtnStyle, s = this.progressBtn;
9413
- n && (typeof n == "string" ? s.style.boxShadow = n : ce(n) === "object" && Object.keys(n).map(function(l) {
9427
+ n && (typeof n == "string" ? s.style.boxShadow = n : ue(n) === "object" && Object.keys(n).map(function(l) {
9414
9428
  s.style[l] = n[l];
9415
9429
  }));
9416
9430
  }
@@ -9634,7 +9648,7 @@ var ul = /* @__PURE__ */ function(a) {
9634
9648
  return yn;
9635
9649
  }
9636
9650
  }]), r;
9637
- }($), Ze = /* @__PURE__ */ function(a) {
9651
+ }(W), Ze = /* @__PURE__ */ function(a) {
9638
9652
  R(r, a);
9639
9653
  var o = F(r);
9640
9654
  function r() {
@@ -9663,7 +9677,7 @@ var ul = /* @__PURE__ */ function(a) {
9663
9677
  this.unbind("mouseenter", this._onMouseenter), this.unbind("mouseleave", this._onMouseLeave);
9664
9678
  }
9665
9679
  }]), r;
9666
- }($), dl = /* @__PURE__ */ function(a) {
9680
+ }(W), dl = /* @__PURE__ */ function(a) {
9667
9681
  R(r, a);
9668
9682
  var o = F(r);
9669
9683
  function r() {
@@ -9818,7 +9832,7 @@ var pl = /* @__PURE__ */ function(a) {
9818
9832
  };
9819
9833
  }
9820
9834
  }]), r;
9821
- }($);
9835
+ }(W);
9822
9836
  function vl() {
9823
9837
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
9824
9838
  <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>
@@ -10117,7 +10131,7 @@ var yl = /* @__PURE__ */ function(a) {
10117
10131
  };
10118
10132
  }
10119
10133
  }]), r;
10120
- }($), kl = /* @__PURE__ */ function(a) {
10134
+ }(W), kl = /* @__PURE__ */ function(a) {
10121
10135
  R(r, a);
10122
10136
  var o = F(r);
10123
10137
  function r() {
@@ -10470,7 +10484,7 @@ var Tl = /* @__PURE__ */ function(a) {
10470
10484
  };
10471
10485
  }
10472
10486
  }]), r;
10473
- }($);
10487
+ }(W);
10474
10488
  function El() {
10475
10489
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="-4 -6 40 40" fill="none">
10476
10490
  <g clip-path="url(#clip0)">
@@ -10531,9 +10545,9 @@ var Sl = /* @__PURE__ */ function(a) {
10531
10545
  webKitTransform: S,
10532
10546
  height: v,
10533
10547
  width: d
10534
- }, B = i ? h : u, I = i ? n.getPlugin("poster") : null;
10548
+ }, B = i ? h : u, x = i ? n.getPlugin("poster") : null;
10535
10549
  Object.keys(b).map(function(H) {
10536
- B.style[H] = b[H], I && I.root && (I.root.style[H] = b[H]);
10550
+ B.style[H] = b[H], x && x.root && (x.root.style[H] = b[H]);
10537
10551
  });
10538
10552
  }
10539
10553
  }, {
@@ -10879,7 +10893,7 @@ var Ll = /* @__PURE__ */ function(a) {
10879
10893
  };
10880
10894
  }
10881
10895
  }]), r;
10882
- }($), sr = { exports: {} };
10896
+ }(W), sr = { exports: {} };
10883
10897
  (function(a, o) {
10884
10898
  (function(r, t) {
10885
10899
  a.exports = t();
@@ -10898,11 +10912,11 @@ var Ll = /* @__PURE__ */ function(a) {
10898
10912
  }
10899
10913
  if (/^data:([\w+-]+\/[\w+.-]+)?[,;]/.test(u))
10900
10914
  if (u.length > 1024 * 1024 * 1.999 && p !== g)
10901
- u = I(u), l = u.type || s;
10915
+ u = x(u), l = u.type || s;
10902
10916
  else
10903
10917
  return navigator.msSaveBlob ? (
10904
10918
  // IE10 can't do a[download], only Blobs:
10905
- navigator.msSaveBlob(I(u), d)
10919
+ navigator.msSaveBlob(x(u), d)
10906
10920
  ) : H(u);
10907
10921
  else if (/([\x80-\xff])/.test(u)) {
10908
10922
  var S = 0, b = new Uint8Array(u.length), B = b.length;
@@ -10911,9 +10925,9 @@ var Ll = /* @__PURE__ */ function(a) {
10911
10925
  u = new p([b], { type: l });
10912
10926
  }
10913
10927
  v = u instanceof p ? u : new p([u], { type: l });
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)
10928
+ function x(O) {
10929
+ var J = O.split(/[:;,]/), q = J[1], A = J[2] == "base64" ? atob : decodeURIComponent, ie = A(J.pop()), oe = ie.length, he = 0, Te = new Uint8Array(oe);
10930
+ for (he; he < oe; ++he)
10917
10931
  Te[he] = ie.charCodeAt(he);
10918
10932
  return new p([Te], { type: q });
10919
10933
  }
@@ -11114,8 +11128,8 @@ var Fl = /* @__PURE__ */ function(a) {
11114
11128
  d = u.media.canvas;
11115
11129
  else {
11116
11130
  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, 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);
11131
+ var m = u.media.videoWidth / u.media.videoHeight, C = d.width / d.height, S = 0, b = 0, B = u.media.videoWidth, x = u.media.videoHeight, H, O, J, q;
11132
+ 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, x, H, O, J, q);
11119
11133
  }
11120
11134
  var A = d.toDataURL(h, c).replace(h, "image/octet-stream");
11121
11135
  A = A.replace(/^data:image\/[^;]+/, "data:application/octet-stream"), g(A);
@@ -11177,7 +11191,7 @@ var Fl = /* @__PURE__ */ function(a) {
11177
11191
  maxHeight: r
11178
11192
  }), this.onItemClick = this.onItemClick.bind(this), this.renderItemList();
11179
11193
  var t = this.config.domEventType === "touch" ? "touchend" : "click";
11180
- this._delegates = $.delegate.call(this, this.root, "li", t, this.onItemClick);
11194
+ this._delegates = W.delegate.call(this, this.root, "li", t, this.onItemClick);
11181
11195
  }
11182
11196
  return D(a, [{
11183
11197
  key: "renderItemList",
@@ -11318,7 +11332,7 @@ var je = z.device === "mobile", Rt = /* @__PURE__ */ function(a) {
11318
11332
  var s = this.config.list;
11319
11333
  !n && (n = this.player.lang), i = !i || f.isUndefined(e[i]) ? "text" : i, typeof e == "number" && (e = s[e]);
11320
11334
  try {
11321
- return ce(e[i]) === "object" ? e[i][n] || e[i].en : e[i];
11335
+ return ue(e[i]) === "object" ? e[i][n] || e[i].en : e[i];
11322
11336
  } catch (l) {
11323
11337
  return console.warn(l), "";
11324
11338
  }
@@ -11424,7 +11438,7 @@ var je = z.device === "mobile", Rt = /* @__PURE__ */ function(a) {
11424
11438
  };
11425
11439
  }
11426
11440
  }]), r;
11427
- }($), Hl = /* @__PURE__ */ function(a) {
11441
+ }(W), Hl = /* @__PURE__ */ function(a) {
11428
11442
  R(r, a);
11429
11443
  var o = F(r);
11430
11444
  function r(t) {
@@ -11785,7 +11799,7 @@ var _n = /* @__PURE__ */ function(a) {
11785
11799
  return "error";
11786
11800
  }
11787
11801
  }]), r;
11788
- }($), $l = /* @__PURE__ */ function(a) {
11802
+ }(W), $l = /* @__PURE__ */ function(a) {
11789
11803
  R(r, a);
11790
11804
  var o = F(r);
11791
11805
  function r() {
@@ -11837,7 +11851,7 @@ var _n = /* @__PURE__ */ function(a) {
11837
11851
  }, {
11838
11852
  key: "render",
11839
11853
  value: function() {
11840
- return '<xg-prompt class="xgplayer-prompt '.concat(T.CONTROLS_FOLLOW, `">
11854
+ return '<xg-prompt class="xgplayer-prompt '.concat(E.CONTROLS_FOLLOW, `">
11841
11855
  <span class="xgplayer-prompt-detail"></span>
11842
11856
  </xg-prompt>`);
11843
11857
  }
@@ -11863,7 +11877,7 @@ var _n = /* @__PURE__ */ function(a) {
11863
11877
  };
11864
11878
  }
11865
11879
  }]), r;
11866
- }($), kn = {
11880
+ }(W), kn = {
11867
11881
  time: 0,
11868
11882
  text: "",
11869
11883
  id: 1,
@@ -12314,7 +12328,7 @@ var nt = {
12314
12328
  };
12315
12329
  }
12316
12330
  }]), r;
12317
- }($), Kl = /* @__PURE__ */ function(a) {
12331
+ }(W), Kl = /* @__PURE__ */ function(a) {
12318
12332
  R(r, a);
12319
12333
  var o = F(r);
12320
12334
  function r(t) {
@@ -12384,16 +12398,16 @@ var nt = {
12384
12398
  B < h / g ? (b = n, S = b * (h / g)) : (S = i, b = S / (h / g));
12385
12399
  } else
12386
12400
  n ? i || (b = n || g, S = b * (h / g)) : (S = i || h, b = S / (h / g));
12387
- var I = this.getUrlByIndex(d);
12401
+ var x = this.getUrlByIndex(d);
12388
12402
  return {
12389
12403
  urlIndex: d,
12390
12404
  rowIndex: m,
12391
12405
  colIndex: C,
12392
- url: I,
12406
+ url: x,
12393
12407
  height: b,
12394
12408
  width: S,
12395
12409
  style: {
12396
- backgroundImage: "url(".concat(I, ")"),
12410
+ backgroundImage: "url(".concat(x, ")"),
12397
12411
  backgroundSize: "".concat(S * c, "px auto"),
12398
12412
  backgroundPosition: "-".concat(C * S, "px -").concat(m * b, "px"),
12399
12413
  width: "".concat(S, "px"),
@@ -12448,7 +12462,7 @@ var nt = {
12448
12462
  };
12449
12463
  }
12450
12464
  }]), r;
12451
- }($);
12465
+ }(W);
12452
12466
  function ii(a) {
12453
12467
  return a ? "background:".concat(a, ";") : "";
12454
12468
  }
@@ -12534,7 +12548,7 @@ var Yl = /* @__PURE__ */ function(a) {
12534
12548
  };
12535
12549
  }
12536
12550
  }]), r;
12537
- }($), rt = {
12551
+ }(W), rt = {
12538
12552
  REAL_TIME: "realtime",
12539
12553
  FIRST_FRAME: "firstframe",
12540
12554
  FRAME_RATE: "framerate",
@@ -12757,7 +12771,7 @@ var Ct = null, Zl = /* @__PURE__ */ function(a) {
12757
12771
  return !(z.browser === "safari" || z.browser === "firefox");
12758
12772
  }
12759
12773
  }]), r;
12760
- }($), Jl = {
12774
+ }(W), Jl = {
12761
12775
  LANG: "zh-cn",
12762
12776
  TEXT: {
12763
12777
  ERROR_TYPES: {
@@ -13064,7 +13078,7 @@ var Ct = null, Zl = /* @__PURE__ */ function(a) {
13064
13078
  };
13065
13079
  }
13066
13080
  }]), r;
13067
- }($);
13081
+ }(W);
13068
13082
  or.BROWSER_GAP_TOLERANCE = 1e-3;
13069
13083
  var eu = /* @__PURE__ */ function(a) {
13070
13084
  R(r, a);
@@ -13112,7 +13126,7 @@ var eu = /* @__PURE__ */ function(a) {
13112
13126
  };
13113
13127
  }
13114
13128
  }]), r;
13115
- }($), st = "cdn", wt = ["cdn"], tu = /* @__PURE__ */ function(a) {
13129
+ }(W), st = "cdn", wt = ["cdn"], tu = /* @__PURE__ */ function(a) {
13116
13130
  R(r, a);
13117
13131
  var o = F(r);
13118
13132
  function r() {
@@ -13238,7 +13252,7 @@ var eu = /* @__PURE__ */ function(a) {
13238
13252
  };
13239
13253
  }
13240
13254
  }]), r;
13241
- }($), iu = /* @__PURE__ */ function(a) {
13255
+ }(W), iu = /* @__PURE__ */ function(a) {
13242
13256
  R(r, a);
13243
13257
  var o = F(r);
13244
13258
  function r() {
@@ -13347,7 +13361,7 @@ var eu = /* @__PURE__ */ function(a) {
13347
13361
  };
13348
13362
  }
13349
13363
  }]), r;
13350
- }($);
13364
+ }(W);
13351
13365
  at.use(Jl);
13352
13366
  var nu = /* @__PURE__ */ D(function a(o, r) {
13353
13367
  var t, e, i;
@@ -13379,10 +13393,10 @@ _(_e, "Util", f);
13379
13393
  _(_e, "Sniffer", z);
13380
13394
  _(_e, "Errors", Et);
13381
13395
  _(_e, "Events", yo);
13382
- _(_e, "Plugin", $);
13396
+ _(_e, "Plugin", W);
13383
13397
  _(_e, "BasePlugin", He);
13384
13398
  _(_e, "I18N", at);
13385
- _(_e, "STATE_CLASS", T);
13399
+ _(_e, "STATE_CLASS", E);
13386
13400
  _(_e, "InstManager", nr);
13387
13401
  const ru = ["id"], su = /* @__PURE__ */ te({
13388
13402
  name: "ElImageViewer",
@@ -13448,11 +13462,11 @@ const ru = ["id"], su = /* @__PURE__ */ te({
13448
13462
  });
13449
13463
  }), (p, d) => {
13450
13464
  const v = Ye("el-icon");
13451
- return u.value ? (k(), ue(En, {
13465
+ return u.value ? (k(), fe(En, {
13452
13466
  key: 0,
13453
13467
  to: "body"
13454
13468
  }, [
13455
- G(Sn, {
13469
+ $(Sn, {
13456
13470
  name: "viewer-fade",
13457
13471
  appear: ""
13458
13472
  }, {
@@ -13463,7 +13477,7 @@ const ru = ["id"], su = /* @__PURE__ */ te({
13463
13477
  ref: "wrapper",
13464
13478
  tabindex: -1,
13465
13479
  class: K(P(h).e("wrapper")),
13466
- style: re({ zIndex: a.zIndex })
13480
+ style: se({ zIndex: a.zIndex })
13467
13481
  },
13468
13482
  [
13469
13483
  w(
@@ -13475,7 +13489,7 @@ const ru = ["id"], su = /* @__PURE__ */ te({
13475
13489
  2
13476
13490
  /* CLASS */
13477
13491
  ),
13478
- x(" CANVAS "),
13492
+ I(" CANVAS "),
13479
13493
  w(
13480
13494
  "div",
13481
13495
  {
@@ -13483,7 +13497,7 @@ const ru = ["id"], su = /* @__PURE__ */ te({
13483
13497
  },
13484
13498
  [
13485
13499
  w("div", { id: P(c) }, null, 8, ru),
13486
- x(" CLOSE "),
13500
+ I(" CLOSE "),
13487
13501
  w(
13488
13502
  "span",
13489
13503
  {
@@ -13491,9 +13505,9 @@ const ru = ["id"], su = /* @__PURE__ */ te({
13491
13505
  onClick: g
13492
13506
  },
13493
13507
  [
13494
- G(v, { onClick: g }, {
13508
+ $(v, { onClick: g }, {
13495
13509
  default: ne(() => [
13496
- G(P(Pn))
13510
+ $(P(Pn))
13497
13511
  ]),
13498
13512
  _: 1
13499
13513
  /* STABLE */
@@ -13515,7 +13529,7 @@ const ru = ["id"], su = /* @__PURE__ */ te({
13515
13529
  _: 3
13516
13530
  /* FORWARDED */
13517
13531
  })
13518
- ])) : x("v-if", !0);
13532
+ ])) : I("v-if", !0);
13519
13533
  };
13520
13534
  }
13521
13535
  });
@@ -13669,8 +13683,8 @@ const au = /* @__PURE__ */ Ft(su, [["__scopeId", "data-v-b301aa7d"]]), ou = Le(a
13669
13683
  var C, S, b;
13670
13684
  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
13685
  c.forEach((B) => {
13672
- let I = document.getElementById(`${B}`);
13673
- p += I.offsetHeight;
13686
+ let x = document.getElementById(`${B}`);
13687
+ p += x.offsetHeight;
13674
13688
  }), setTimeout(() => {
13675
13689
  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
13690
  });
@@ -13714,13 +13728,13 @@ const au = /* @__PURE__ */ Ft(su, [["__scopeId", "data-v-b301aa7d"]]), ou = Le(a
13714
13728
  }, u = (c) => lt(t.value, c);
13715
13729
  return (c, h) => {
13716
13730
  const g = Ye("el-image"), p = Ye("IkingApprovalProcessDetail");
13717
- return k(), E("div", lu, [
13718
- (k(!0), E(
13719
- le,
13731
+ return k(), T("div", lu, [
13732
+ (k(!0), T(
13733
+ re,
13720
13734
  null,
13721
13735
  Se(e.listData, (d, v) => {
13722
- var m, C, S, b, B, I, H, O, J, q;
13723
- return k(), E("div", {
13736
+ var m, C, S, b, B, x, H, O, J, q;
13737
+ return k(), T("div", {
13724
13738
  class: "approveBlock",
13725
13739
  id: d[e.defaultFile.nodeId],
13726
13740
  key: d[e.defaultFile.nodeId]
@@ -13728,19 +13742,19 @@ const au = /* @__PURE__ */ Ft(su, [["__scopeId", "data-v-b301aa7d"]]), ou = Le(a
13728
13742
  w("div", cu, [
13729
13743
  w("div", fu, [
13730
13744
  w("span", hu, [
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", {
13745
+ I(' 用户列表长度等于1, :src="formatUrl(it)"并且存在头像 '),
13746
+ ((m = d[e.defaultFile.approvePersonList]) == null ? void 0 : m.length) == 1 && d[e.defaultFile.approvePersonList][0].userAvatar ? (k(), T("img", {
13733
13747
  key: 0,
13734
13748
  style: { width: "100%", height: "100%", "border-radius": "10px" },
13735
13749
  src: u(
13736
13750
  d[e.defaultFile.approvePersonList][0].userAvatar
13737
13751
  ),
13738
13752
  alt: ""
13739
- }, null, 8, du)) : (k(), E(
13740
- le,
13753
+ }, null, 8, du)) : (k(), T(
13754
+ re,
13741
13755
  { key: 1 },
13742
13756
  [
13743
- x(" 否则显示对应节点 "),
13757
+ I(" 否则显示对应节点 "),
13744
13758
  w(
13745
13759
  "i",
13746
13760
  {
@@ -13760,7 +13774,7 @@ const au = /* @__PURE__ */ Ft(su, [["__scopeId", "data-v-b301aa7d"]]), ou = Le(a
13760
13774
  2112
13761
13775
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
13762
13776
  )),
13763
- x(" 审批状态图标 "),
13777
+ I(" 审批状态图标 "),
13764
13778
  w(
13765
13779
  "i",
13766
13780
  {
@@ -13777,24 +13791,24 @@ const au = /* @__PURE__ */ Ft(su, [["__scopeId", "data-v-b301aa7d"]]), ou = Le(a
13777
13791
  w("div", gu, [
13778
13792
  w("div", pu, [
13779
13793
  w("div", null, [
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(
13794
+ I(" 不是抄送节点 "),
13795
+ e.nodeType.抄送节点 !== d[e.defaultFile.nodeType] ? (k(), T("div", vu, [
13796
+ I(" 撤销,评论不显示节点名称 "),
13797
+ d[e.defaultFile.approveStatus] != e.statusOption.撤销 && d[e.defaultFile.approveStatus] != e.statusOption.评论 && d[e.defaultFile.nodeType] !== e.nodeType.并行分支 ? (k(), T(
13784
13798
  "div",
13785
13799
  mu,
13786
13800
  X(d[e.defaultFile.nodeTypeName]),
13787
13801
  1
13788
13802
  /* TEXT */
13789
- )) : x("v-if", !0),
13790
- x(" 名字+审批状态 "),
13803
+ )) : I("v-if", !0),
13804
+ I(" 名字+审批状态 "),
13791
13805
  w("div", yu, [
13792
- x(" 已审批节点文本 "),
13793
- d[e.defaultFile.lineType] == "solid" ? (k(), E("div", _u, [
13806
+ I(" 已审批节点文本 "),
13807
+ d[e.defaultFile.lineType] == "solid" ? (k(), T("div", _u, [
13794
13808
  w(
13795
13809
  "span",
13796
13810
  {
13797
- style: re({
13811
+ style: se({
13798
13812
  color: d[e.defaultFile.approveStatus] == e.statusOption.评论 ? "#000" : ""
13799
13813
  })
13800
13814
  },
@@ -13802,60 +13816,60 @@ const au = /* @__PURE__ */ Ft(su, [["__scopeId", "data-v-b301aa7d"]]), ou = Le(a
13802
13816
  5
13803
13817
  /* TEXT, STYLE */
13804
13818
  ),
13805
- x(" 发起,退回不显示状态 "),
13806
- d[e.defaultFile.approveStatusName] && d[e.defaultFile.approveStatus] != e.statusOption.发起 && d[e.defaultFile.approveStatus] != e.statusOption.退回 ? (k(), E(
13819
+ I(" 发起,退回不显示状态 "),
13820
+ d[e.defaultFile.approveStatusName] && d[e.defaultFile.approveStatus] != e.statusOption.发起 && d[e.defaultFile.approveStatus] != e.statusOption.退回 ? (k(), T(
13807
13821
  "span",
13808
13822
  ku,
13809
13823
  X(d[e.defaultFile.approveStatus] == e.statusOption.评论 ? " 添加了评论" : d != null && d.nodeActionAliasName ? `(已${d.nodeActionAliasName})` : `(${d[e.defaultFile.approveStatusName]})`),
13810
13824
  1
13811
13825
  /* TEXT */
13812
- )) : x("v-if", !0),
13813
- x(" 退回状态显示 "),
13814
- d[e.defaultFile.approveStatus] == e.statusOption.退回 ? (k(), E("span", Cu, [
13826
+ )) : I("v-if", !0),
13827
+ I(" 退回状态显示 "),
13828
+ d[e.defaultFile.approveStatus] == e.statusOption.退回 ? (k(), T("span", Cu, [
13815
13829
  wu,
13816
13830
  Ge(
13817
13831
  " " + X(d[e.defaultFile.backToInstanceNodeName] || d[e.defaultFile.backToRecordNodeName]),
13818
13832
  1
13819
13833
  /* TEXT */
13820
13834
  )
13821
- ])) : x("v-if", !0)
13822
- ])) : (k(), E(
13823
- le,
13835
+ ])) : I("v-if", !0)
13836
+ ])) : (k(), T(
13837
+ re,
13824
13838
  { key: 1 },
13825
13839
  [
13826
- x(" 待审批节点 "),
13840
+ I(" 待审批节点 "),
13827
13841
  w("div", null, [
13828
- ((C = d[e.defaultFile.approvePersonList]) == null ? void 0 : C.length) == 1 ? (k(), E("span", bu, [
13842
+ ((C = d[e.defaultFile.approvePersonList]) == null ? void 0 : C.length) == 1 ? (k(), T("span", bu, [
13829
13843
  Ge(
13830
13844
  X(d[e.defaultFile.originator]) + " ",
13831
13845
  1
13832
13846
  /* TEXT */
13833
13847
  ),
13834
- d[e.defaultFile.approveStatus] == e.statusOption.等待 ? (k(), E(
13848
+ d[e.defaultFile.approveStatus] == e.statusOption.等待 ? (k(), T(
13835
13849
  "span",
13836
13850
  Tu,
13837
13851
  X(d != null && d.nodeActionAliasName ? `(已${d.nodeActionAliasName})` : `(${d[e.defaultFile.approveStatusName]})`),
13838
13852
  1
13839
13853
  /* TEXT */
13840
- )) : x("v-if", !0)
13841
- ])) : d[e.defaultFile.approvePersonList] ? (k(), E(
13854
+ )) : I("v-if", !0)
13855
+ ])) : d[e.defaultFile.approvePersonList] ? (k(), T(
13842
13856
  "span",
13843
13857
  Eu,
13844
13858
  X(`${(S = d[e.defaultFile.approvePersonList]) == null ? void 0 : S.length}人${d[e.defaultFile.approveTypeName]}`),
13845
13859
  1
13846
13860
  /* TEXT */
13847
- )) : x("v-if", !0)
13861
+ )) : I("v-if", !0)
13848
13862
  ])
13849
13863
  ],
13850
13864
  2112
13851
13865
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
13852
13866
  ))
13853
13867
  ])
13854
- ])) : (k(), E("div", Su, [
13868
+ ])) : (k(), T("div", Su, [
13855
13869
  xu,
13856
13870
  w("div", Iu, [
13857
- x(" 抄送一人时 "),
13858
- ((b = d[e.defaultFile.approvePersonList]) == null ? void 0 : b.length) == 1 ? (k(), E("span", Pu, [
13871
+ I(" 抄送一人时 "),
13872
+ ((b = d[e.defaultFile.approvePersonList]) == null ? void 0 : b.length) == 1 ? (k(), T("span", Pu, [
13859
13873
  w("span", null, [
13860
13874
  Ge("已抄送给 "),
13861
13875
  w(
@@ -13873,31 +13887,31 @@ const au = /* @__PURE__ */ Ft(su, [["__scopeId", "data-v-b301aa7d"]]), ou = Le(a
13873
13887
  1
13874
13888
  /* TEXT */
13875
13889
  )
13876
- ])) : x("v-if", !0),
13877
- x(" 抄送多人时 "),
13878
- ((B = d[e.defaultFile.approvePersonList]) == null ? void 0 : B.length) > 1 ? (k(), E("span", Du, [
13890
+ ])) : I("v-if", !0),
13891
+ I(" 抄送多人时 "),
13892
+ ((B = d[e.defaultFile.approvePersonList]) == null ? void 0 : B.length) > 1 ? (k(), T("span", Du, [
13879
13893
  Ge(
13880
- X(`已抄送${(I = d[e.defaultFile.approvePersonList]) == null ? void 0 : I.length}人`) + " ",
13894
+ X(`已抄送${(x = d[e.defaultFile.approvePersonList]) == null ? void 0 : x.length}人`) + " ",
13881
13895
  1
13882
13896
  /* TEXT */
13883
13897
  ),
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(
13898
+ d[e.defaultFile.allRead] ? (k(), T("span", Ou, " 全部已读 ")) : (k(), T("span", Ru, [
13899
+ d[e.defaultFile.read] ? I("v-if", !0) : (k(), T("span", Fu, " 全部未读 ")),
13900
+ d[e.defaultFile.read] ? (k(), T(
13887
13901
  "span",
13888
13902
  Mu,
13889
13903
  X(d[e.defaultFile.read]) + "人已读 ",
13890
13904
  1
13891
13905
  /* TEXT */
13892
- )) : x("v-if", !0)
13906
+ )) : I("v-if", !0)
13893
13907
  ]))
13894
- ])) : x("v-if", !0)
13908
+ ])) : I("v-if", !0)
13895
13909
  ])
13896
13910
  ]))
13897
13911
  ]),
13898
13912
  w("div", Nu, [
13899
- x(" 不是抄送节点,展示时间 "),
13900
- d[e.defaultFile.nodeType] != e.nodeType.抄送节点 && d[e.defaultFile.approveStatus] !== e.statusOption.等待 ? (k(), E(
13913
+ I(" 不是抄送节点,展示时间 "),
13914
+ d[e.defaultFile.nodeType] != e.nodeType.抄送节点 && d[e.defaultFile.approveStatus] !== e.statusOption.等待 ? (k(), T(
13901
13915
  "span",
13902
13916
  Bu,
13903
13917
  X(P(Cr).toDateTime(
@@ -13906,19 +13920,19 @@ const au = /* @__PURE__ */ Ft(su, [["__scopeId", "data-v-b301aa7d"]]), ou = Le(a
13906
13920
  )),
13907
13921
  1
13908
13922
  /* TEXT */
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", {
13923
+ )) : I("v-if", !0),
13924
+ I(" 是抄送节点,并且抄送人员大于1时,展示图标 "),
13925
+ d[e.defaultFile.nodeType] == e.nodeType.抄送节点 && ((H = d[e.defaultFile.approvePersonList]) == null ? void 0 : H.length) > 1 ? (k(), T("span", Hu, [
13926
+ d != null && d.show ? (k(), T("i", {
13913
13927
  key: 0,
13914
13928
  class: "ikapprove ikapprove-a-putongjiantouzhankai",
13915
13929
  onClick: (A) => l(d, "grid")
13916
- }, null, 8, Uu)) : (k(), E("i", {
13930
+ }, null, 8, Uu)) : (k(), T("i", {
13917
13931
  key: 1,
13918
13932
  onClick: (A) => l(d, "none"),
13919
13933
  class: "ikapprove ikapprove-a-putongjiantoushouqi"
13920
13934
  }, null, 8, zu))
13921
- ])) : x("v-if", !0)
13935
+ ])) : I("v-if", !0)
13922
13936
  ])
13923
13937
  ])
13924
13938
  ])
@@ -13927,26 +13941,26 @@ const au = /* @__PURE__ */ Ft(su, [["__scopeId", "data-v-b301aa7d"]]), ou = Le(a
13927
13941
  "div",
13928
13942
  {
13929
13943
  class: "bottomBlock",
13930
- style: re({
13944
+ style: se({
13931
13945
  borderLeft: v == e.listData.length - 1 ? "" : `2px ${d[e.defaultFile.lineType] || "dashed"} var(--el-border-color)`
13932
13946
  })
13933
13947
  },
13934
13948
  [
13935
- x(" 审批意见 "),
13936
- d[e.defaultFile.approveOpinion] || d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), E("div", Vu, [
13937
- d[e.defaultFile.approveOpinion] ? (k(), E(
13949
+ I(" 审批意见 "),
13950
+ d[e.defaultFile.approveOpinion] || d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), T("div", Vu, [
13951
+ d[e.defaultFile.approveOpinion] ? (k(), T(
13938
13952
  "span",
13939
13953
  ju,
13940
13954
  X(d[e.defaultFile.approveOpinion]),
13941
13955
  1
13942
13956
  /* TEXT */
13943
- )) : x("v-if", !0),
13944
- d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), E("span", $u, [
13957
+ )) : I("v-if", !0),
13958
+ d[e.defaultFile.approveStatus] == e.statusOption.加签 ? (k(), T("span", $u, [
13945
13959
  Wu,
13946
- (k(!0), E(
13947
- le,
13960
+ (k(!0), T(
13961
+ re,
13948
13962
  null,
13949
- Se(d[e.defaultFile.countersignPer], (A, ie) => (k(), E(
13963
+ Se(d[e.defaultFile.countersignPer], (A, ie) => (k(), T(
13950
13964
  "span",
13951
13965
  Gu,
13952
13966
  X(A == null ? void 0 : A.userName) + X(ie < d[e.defaultFile.countersignPer].length - 1 ? "、" : ""),
@@ -13956,25 +13970,25 @@ const au = /* @__PURE__ */ Ft(su, [["__scopeId", "data-v-b301aa7d"]]), ou = Le(a
13956
13970
  256
13957
13971
  /* UNKEYED_FRAGMENT */
13958
13972
  ))
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), {
13973
+ ])) : I("v-if", !0)
13974
+ ])) : I("v-if", !0),
13975
+ I(" 附件 "),
13976
+ (O = d[e.defaultFile.attachment]) != null && O.length ? (k(), fe(P(ra), {
13963
13977
  key: 1,
13964
13978
  list: d[e.defaultFile.attachment]
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,
13979
+ }, null, 8, ["list"])) : I("v-if", !0),
13980
+ I(" 附件图片 "),
13981
+ (J = d[e.defaultFile.attachmentImg]) != null && J.length ? (k(), T("div", Ku, [
13982
+ (k(!0), T(
13983
+ re,
13970
13984
  null,
13971
- Se(d[e.defaultFile.attachmentImg], (A, ie) => (k(), E("div", {
13985
+ Se(d[e.defaultFile.attachmentImg], (A, ie) => (k(), T("div", {
13972
13986
  class: "image",
13973
13987
  key: ie
13974
13988
  }, [
13975
- G(g, {
13989
+ $(g, {
13976
13990
  src: u(A),
13977
- "preview-src-list": d[e.defaultFile.attachmentImg].map((ae) => u(ae)),
13991
+ "preview-src-list": d[e.defaultFile.attachmentImg].map((oe) => u(oe)),
13978
13992
  fit: "cover",
13979
13993
  "z-index": "9999",
13980
13994
  "zoom-rate": 1.2,
@@ -13984,30 +13998,30 @@ const au = /* @__PURE__ */ Ft(su, [["__scopeId", "data-v-b301aa7d"]]), ou = Le(a
13984
13998
  128
13985
13999
  /* KEYED_FRAGMENT */
13986
14000
  ))
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,
14001
+ ])) : I("v-if", !0),
14002
+ I(" 抄送节点或是等待审批状态并且列表长度大于1 "),
14003
+ (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, [
14004
+ (k(!0), T(
14005
+ re,
13992
14006
  null,
13993
- Se(d[e.defaultFile.approvePersonList], (A) => (k(), E("div", {
14007
+ Se(d[e.defaultFile.approvePersonList], (A) => (k(), T("div", {
13994
14008
  class: "perBlock",
13995
14009
  key: A.userName
13996
14010
  }, [
13997
14011
  w("span", Xu, [
13998
- A.userAvatar ? (k(), E("img", {
14012
+ A.userAvatar ? (k(), T("img", {
13999
14013
  key: 0,
14000
14014
  style: { width: "100%", height: "100%", "border-radius": "50%" },
14001
14015
  src: u(A.userAvatar),
14002
14016
  alt: ""
14003
- }, null, 8, qu)) : (k(), E(
14017
+ }, null, 8, qu)) : (k(), T(
14004
14018
  "span",
14005
14019
  Zu,
14006
14020
  X(A.userName.slice(-2)),
14007
14021
  1
14008
14022
  /* TEXT */
14009
14023
  )),
14010
- A.status === "END" ? (k(), E("i", Ju)) : x("v-if", !0)
14024
+ A.status === "END" ? (k(), T("i", Ju)) : I("v-if", !0)
14011
14025
  ]),
14012
14026
  w("div", {
14013
14027
  class: "main-text",
@@ -14017,16 +14031,16 @@ const au = /* @__PURE__ */ Ft(su, [["__scopeId", "data-v-b301aa7d"]]), ou = Le(a
14017
14031
  128
14018
14032
  /* KEYED_FRAGMENT */
14019
14033
  ))
14020
- ])) : x("v-if", !0)
14034
+ ])) : I("v-if", !0)
14021
14035
  ],
14022
14036
  4
14023
14037
  /* STYLE */
14024
14038
  ),
14025
- d[e.defaultFile.nodeType] === e.nodeType.并行分支 ? (k(), E("div", ec, [
14026
- (k(!0), E(
14027
- le,
14039
+ d[e.defaultFile.nodeType] === e.nodeType.并行分支 ? (k(), T("div", ec, [
14040
+ (k(!0), T(
14041
+ re,
14028
14042
  null,
14029
- Se(d[e.defaultFile.parallelInstances], (A) => (k(), E("div", tc, [
14043
+ Se(d[e.defaultFile.parallelInstances], (A) => (k(), T("div", tc, [
14030
14044
  w(
14031
14045
  "div",
14032
14046
  ic,
@@ -14034,14 +14048,14 @@ const au = /* @__PURE__ */ Ft(su, [["__scopeId", "data-v-b301aa7d"]]), ou = Le(a
14034
14048
  1
14035
14049
  /* TEXT */
14036
14050
  ),
14037
- G(p, bn({ ref_for: !0 }, r, {
14051
+ $(p, bn({ ref_for: !0 }, r, {
14038
14052
  "data-list": (A == null ? void 0 : A.processInstanceNodes) || []
14039
14053
  }), null, 16, ["data-list"])
14040
14054
  ]))),
14041
14055
  256
14042
14056
  /* UNKEYED_FRAGMENT */
14043
14057
  ))
14044
- ])) : x("v-if", !0)
14058
+ ])) : I("v-if", !0)
14045
14059
  ], 8, uu);
14046
14060
  }),
14047
14061
  128