iking-web-ui-pro 0.2.50 → 0.2.52

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 Q, computed as q, openBlock as E, createElementBlock as A, createElementVNode as T, inject as lt, ref as ge, resolveComponent as $e, Fragment as Se, createCommentVNode as $, renderList as ft, normalizeStyle as oe, toDisplayString as be, normalizeClass as Y, createBlock as ie, unref as S, withModifiers as wt, renderSlot as ve, createVNode as G, withCtx as X, mergeModels as bt, useModel as hi, reactive as sr, watch as ht, nextTick as di, createTextVNode as st, h as or, mergeProps as ni, createSlots as ar, getCurrentScope as lr, onScopeDispose as ur, markRaw as Ri, effectScope as cr, shallowRef as fr, onMounted as hr, Teleport as Cn, Transition as wn, resolveDynamicComponent as dr, withDirectives as gr, vShow as pr, useCssVars as vr } from "vue";
1
+ import { defineComponent as Q, computed as q, openBlock as E, createElementBlock as L, createElementVNode as T, inject as lt, ref as ge, resolveComponent as $e, Fragment as ve, createCommentVNode as Y, renderList as ft, normalizeStyle as oe, toDisplayString as Te, normalizeClass as K, createBlock as ne, unref as S, withModifiers as wt, renderSlot as me, createVNode as G, withCtx as X, mergeModels as bt, useModel as hi, reactive as sr, watch as ht, nextTick as di, createTextVNode as st, h as or, mergeProps as ni, createSlots as ar, getCurrentScope as lr, onScopeDispose as ur, markRaw as Ri, effectScope as cr, shallowRef as fr, onMounted as hr, Teleport as Cn, Transition as wn, resolveDynamicComponent as dr, withDirectives as gr, vShow as pr, useCssVars as vr } from "vue";
2
2
  import { useLocale as mr, useNamespace as bn, useZIndex as yr, ElIcon as Oe, EVENT_CODE as qe, ElTag as _r } from "element-plus";
3
3
  import { paramType as ri, ikFile as kr, buildUUID as Tn, ikColor as Cr, _ as Vt } from "iking-utils-pro";
4
4
  const Ae = (a, o) => {
@@ -620,7 +620,7 @@ const Ae = (a, o) => {
620
620
  },
621
621
  setup(a) {
622
622
  const o = a, r = q(() => o.file ? si(o.file, o.fields) : o.type);
623
- return (t, e) => r.value === "image" ? (E(), A("svg", Tr, Pr)) : r.value === "zip" ? (E(), A("svg", Lr, Or)) : r.value === "ppt" ? (E(), A("svg", Rr, Nr)) : r.value === "word" ? (E(), A("svg", Br, zr)) : r.value === "pdf" ? (E(), A("svg", Vr, Gr)) : r.value === "txt" ? (E(), A("svg", $r, Xr)) : r.value === "audio" ? (E(), A("svg", qr, Qr)) : r.value === "video" ? (E(), A("svg", es, ns)) : r.value === "excel" ? (E(), A("svg", rs, ls)) : r.value === "exe" ? (E(), A("svg", us, gs)) : r.value === "json" ? (E(), A("svg", ps, _s)) : (E(), A("svg", ks, Ts));
623
+ return (t, e) => r.value === "image" ? (E(), L("svg", Tr, Pr)) : r.value === "zip" ? (E(), L("svg", Lr, Or)) : r.value === "ppt" ? (E(), L("svg", Rr, Nr)) : r.value === "word" ? (E(), L("svg", Br, zr)) : r.value === "pdf" ? (E(), L("svg", Vr, Gr)) : r.value === "txt" ? (E(), L("svg", $r, Xr)) : r.value === "audio" ? (E(), L("svg", qr, Qr)) : r.value === "video" ? (E(), L("svg", es, ns)) : r.value === "excel" ? (E(), L("svg", rs, ls)) : r.value === "exe" ? (E(), L("svg", us, gs)) : r.value === "json" ? (E(), L("svg", ps, _s)) : (E(), L("svg", ks, Ts));
624
624
  }
625
625
  }), Fi = Ae(Es);
626
626
  /*! Element Plus Icons Vue v2.3.1 */
@@ -628,7 +628,7 @@ var Ss = /* @__PURE__ */ Q({
628
628
  name: "ArrowLeft",
629
629
  __name: "arrow-left",
630
630
  setup(a) {
631
- return (o, r) => (E(), A("svg", {
631
+ return (o, r) => (E(), L("svg", {
632
632
  xmlns: "http://www.w3.org/2000/svg",
633
633
  viewBox: "0 0 1024 1024"
634
634
  }, [
@@ -642,7 +642,7 @@ var Ss = /* @__PURE__ */ Q({
642
642
  name: "ArrowRight",
643
643
  __name: "arrow-right",
644
644
  setup(a) {
645
- return (o, r) => (E(), A("svg", {
645
+ return (o, r) => (E(), L("svg", {
646
646
  xmlns: "http://www.w3.org/2000/svg",
647
647
  viewBox: "0 0 1024 1024"
648
648
  }, [
@@ -656,7 +656,7 @@ var Ss = /* @__PURE__ */ Q({
656
656
  name: "Close",
657
657
  __name: "close",
658
658
  setup(a) {
659
- return (o, r) => (E(), A("svg", {
659
+ return (o, r) => (E(), L("svg", {
660
660
  xmlns: "http://www.w3.org/2000/svg",
661
661
  viewBox: "0 0 1024 1024"
662
662
  }, [
@@ -670,7 +670,7 @@ var Ss = /* @__PURE__ */ Q({
670
670
  name: "FullScreen",
671
671
  __name: "full-screen",
672
672
  setup(a) {
673
- return (o, r) => (E(), A("svg", {
673
+ return (o, r) => (E(), L("svg", {
674
674
  xmlns: "http://www.w3.org/2000/svg",
675
675
  viewBox: "0 0 1024 1024"
676
676
  }, [
@@ -684,7 +684,7 @@ var Ss = /* @__PURE__ */ Q({
684
684
  name: "RefreshLeft",
685
685
  __name: "refresh-left",
686
686
  setup(a) {
687
- return (o, r) => (E(), A("svg", {
687
+ return (o, r) => (E(), L("svg", {
688
688
  xmlns: "http://www.w3.org/2000/svg",
689
689
  viewBox: "0 0 1024 1024"
690
690
  }, [
@@ -698,7 +698,7 @@ var Ss = /* @__PURE__ */ Q({
698
698
  name: "RefreshRight",
699
699
  __name: "refresh-right",
700
700
  setup(a) {
701
- return (o, r) => (E(), A("svg", {
701
+ return (o, r) => (E(), L("svg", {
702
702
  xmlns: "http://www.w3.org/2000/svg",
703
703
  viewBox: "0 0 1024 1024"
704
704
  }, [
@@ -712,7 +712,7 @@ var Ss = /* @__PURE__ */ Q({
712
712
  name: "ScaleToOriginal",
713
713
  __name: "scale-to-original",
714
714
  setup(a) {
715
- return (o, r) => (E(), A("svg", {
715
+ return (o, r) => (E(), L("svg", {
716
716
  xmlns: "http://www.w3.org/2000/svg",
717
717
  viewBox: "0 0 1024 1024"
718
718
  }, [
@@ -726,7 +726,7 @@ var Ss = /* @__PURE__ */ Q({
726
726
  name: "ZoomIn",
727
727
  __name: "zoom-in",
728
728
  setup(a) {
729
- return (o, r) => (E(), A("svg", {
729
+ return (o, r) => (E(), L("svg", {
730
730
  xmlns: "http://www.w3.org/2000/svg",
731
731
  viewBox: "0 0 1024 1024"
732
732
  }, [
@@ -740,7 +740,7 @@ var Ss = /* @__PURE__ */ Q({
740
740
  name: "ZoomOut",
741
741
  __name: "zoom-out",
742
742
  setup(a) {
743
- return (o, r) => (E(), A("svg", {
743
+ return (o, r) => (E(), L("svg", {
744
744
  xmlns: "http://www.w3.org/2000/svg",
745
745
  viewBox: "0 0 1024 1024"
746
746
  }, [
@@ -920,7 +920,7 @@ const Rt = (a, o) => {
920
920
  },
921
921
  emits: ["handPreview"],
922
922
  setup(a, { emit: o }) {
923
- const r = a, t = q(() => r.simple ? "simple" : "default"), { cLoadUrl: e, cOnlyofficeConfig: i, cOnlyofficePreviewType: n } = Sn(r), s = o, l = q(() => ({
923
+ const r = a, t = q(() => r.simple ? "simple" : r.showType), { cLoadUrl: e, cOnlyofficeConfig: i, cOnlyofficePreviewType: n } = Sn(r), s = o, l = q(() => ({
924
924
  name: "name",
925
925
  url: "url",
926
926
  suffix: "suffix",
@@ -957,51 +957,51 @@ const Rt = (a, o) => {
957
957
  return (v, y) => {
958
958
  var b, w, H;
959
959
  const k = $e("tmplate");
960
- return E(), A(
961
- Se,
960
+ return E(), L(
961
+ ve,
962
962
  null,
963
963
  [
964
- (b = a.list) != null && b.length ? (E(), A(
965
- Se,
964
+ (b = a.list) != null && b.length ? (E(), L(
965
+ ve,
966
966
  { key: 0 },
967
967
  [
968
- $(" 简单模式 "),
969
- a.simple || t.value === "simple" ? (E(!0), A(
970
- Se,
968
+ Y(" 简单模式 "),
969
+ t.value === "simple" ? (E(!0), L(
970
+ ve,
971
971
  { key: 0 },
972
- ft(p.value, (x, B) => (E(), A("div", {
972
+ ft(p.value, (x, B) => (E(), L("div", {
973
973
  class: "iking-privew-annex simple",
974
974
  key: B,
975
- onClick: (L) => h(x),
975
+ onClick: (A) => h(x),
976
976
  style: oe({ width: g.value })
977
977
  }, [
978
978
  T(
979
979
  "div",
980
980
  $s,
981
- be(x.name),
981
+ Te(x.name),
982
982
  1
983
983
  /* TEXT */
984
984
  ),
985
985
  T(
986
986
  "div",
987
987
  {
988
- class: Y(["flex flex-center", { "hover-show": a.iconHoverShow }])
988
+ class: K(["flex flex-center", { "hover-show": a.iconHoverShow }])
989
989
  },
990
990
  [
991
- a.showDownloadBtn ? (E(), ie(S(We), {
991
+ a.showDownloadBtn ? (E(), ne(S(We), {
992
992
  key: 0,
993
993
  name: "iksvg_daochu",
994
- onClick: wt((L) => d(x), ["stop"]),
994
+ onClick: wt((A) => d(x), ["stop"]),
995
995
  size: 20,
996
996
  active: ""
997
- }, null, 8, ["onClick"])) : $("v-if", !0),
998
- S(n).includes(x.suffix) || a.showPreviewBtn ? (E(), ie(S(We), {
997
+ }, null, 8, ["onClick"])) : Y("v-if", !0),
998
+ S(n).includes(x.suffix) && a.showPreviewBtn ? (E(), ne(S(We), {
999
999
  key: 1,
1000
1000
  name: "iksvg_yulan",
1001
1001
  size: 20,
1002
1002
  active: ""
1003
- })) : $("v-if", !0),
1004
- ve(v.$slots, "operation", {
1003
+ })) : Y("v-if", !0),
1004
+ me(v.$slots, "operation", {
1005
1005
  data: { ...x, findex: B }
1006
1006
  })
1007
1007
  ],
@@ -1011,134 +1011,148 @@ const Rt = (a, o) => {
1011
1011
  ], 12, Gs))),
1012
1012
  128
1013
1013
  /* KEYED_FRAGMENT */
1014
- )) : $("v-if", !0),
1015
- $(" 简单图标模式 "),
1016
- t.value === "simple-icon" ? (E(!0), A(
1017
- Se,
1014
+ )) : t.value === "simple-icon" ? (E(), L(
1015
+ ve,
1018
1016
  { key: 1 },
1019
- ft(p.value, (x, B) => (E(), A("div", {
1020
- class: "iking-privew-annex simple-icon",
1021
- key: B,
1022
- onClick: (L) => h(x),
1023
- style: oe({ width: g.value })
1024
- }, [
1025
- T("div", Ys, [
1026
- G(S(Fi), {
1027
- file: x,
1028
- style: oe({ height: `${a.iconSize}px` }),
1029
- class: "ikui-w-auto",
1030
- fields: l.value
1031
- }, null, 8, ["file", "style", "fields"]),
1032
- T(
1033
- "div",
1034
- Xs,
1035
- be(x.name),
1036
- 1
1037
- /* TEXT */
1038
- )
1039
- ]),
1040
- a.showDownloadBtn ? (E(), ie(S(We), {
1041
- key: 0,
1042
- name: "iksvg_daochu",
1043
- size: 20,
1044
- title: "下载",
1045
- active: "",
1046
- onClick: wt((L) => d(x), ["stop"])
1047
- }, null, 8, ["onClick"])) : $("v-if", !0)
1048
- ], 12, Ks))),
1049
- 128
1050
- /* KEYED_FRAGMENT */
1051
- )) : $("v-if", !0),
1052
- $(" 默认模式 "),
1053
- t.value === "default" ? (E(), ie(k, { key: 2 }, {
1054
- default: X(() => [
1055
- (E(!0), A(
1056
- Se,
1017
+ [
1018
+ Y(" 简单图标模式 "),
1019
+ (E(!0), L(
1020
+ ve,
1057
1021
  null,
1058
- ft(p.value, (x, B) => {
1059
- var L;
1060
- return E(), A(
1061
- "div",
1062
- {
1063
- class: Y(["iking-privew-annex", { "is-bg": a.showBg }]),
1064
- key: B,
1065
- style: oe({
1066
- marginBottom: B == ((L = a.list) == null ? void 0 : L.length) - 1 ? "0" : "10px",
1067
- width: g.value
1068
- })
1069
- },
1070
- [
1071
- T("div", {
1072
- class: "file-card",
1073
- onClick: (te) => h(x)
1074
- }, [
1075
- G(S(Fi), {
1076
- file: x,
1077
- style: oe({ height: `${a.iconSize}px` }),
1078
- class: "ikui-w-auto",
1079
- fields: l.value
1080
- }, null, 8, ["file", "style", "fields"]),
1081
- T("div", Zs, [
1082
- T(
1083
- "div",
1084
- Js,
1085
- be(x.name),
1086
- 1
1087
- /* TEXT */
1088
- ),
1089
- T(
1090
- "div",
1091
- Qs,
1092
- be(S(js)(x.size)),
1093
- 1
1094
- /* TEXT */
1095
- )
1096
- ]),
1097
- T(
1098
- "div",
1099
- {
1100
- class: Y(["flex flex-center", { "hover-show": a.iconHoverShow }])
1101
- },
1102
- [
1103
- a.showDownloadBtn ? (E(), ie(S(We), {
1104
- key: 0,
1105
- name: "iksvg_daochu",
1106
- onClick: wt((te) => d(x), ["stop"]),
1107
- bg: a.showBg,
1108
- size: a.showBg ? "default" : 20,
1109
- title: "下载"
1110
- }, null, 8, ["onClick", "bg", "size"])) : $("v-if", !0),
1111
- S(n).includes(x.suffix) || a.showPreviewBtn ? (E(), ie(S(We), {
1112
- key: 1,
1113
- name: "iksvg_yulan",
1114
- bg: a.showBg,
1115
- size: a.showBg ? "default" : 20,
1116
- title: "预览"
1117
- }, null, 8, ["bg", "size"])) : $("v-if", !0),
1118
- ve(v.$slots, "operation", {
1119
- data: { ...x, findex: B }
1120
- })
1121
- ],
1122
- 2
1123
- /* CLASS */
1124
- )
1125
- ], 8, qs)
1126
- ],
1127
- 6
1128
- /* CLASS, STYLE */
1129
- );
1130
- }),
1022
+ ft(p.value, (x, B) => (E(), L("div", {
1023
+ class: "iking-privew-annex simple-icon",
1024
+ key: B,
1025
+ onClick: (A) => h(x),
1026
+ style: oe({ width: g.value })
1027
+ }, [
1028
+ T("div", Ys, [
1029
+ G(S(Fi), {
1030
+ file: x,
1031
+ style: oe({ height: `${a.iconSize}px` }),
1032
+ class: "ikui-w-auto",
1033
+ fields: l.value
1034
+ }, null, 8, ["file", "style", "fields"]),
1035
+ T(
1036
+ "div",
1037
+ Xs,
1038
+ Te(x.name),
1039
+ 1
1040
+ /* TEXT */
1041
+ )
1042
+ ]),
1043
+ a.showDownloadBtn ? (E(), ne(S(We), {
1044
+ key: 0,
1045
+ name: "iksvg_daochu",
1046
+ size: 20,
1047
+ title: "下载",
1048
+ active: "",
1049
+ onClick: wt((A) => d(x), ["stop"])
1050
+ }, null, 8, ["onClick"])) : Y("v-if", !0)
1051
+ ], 12, Ks))),
1131
1052
  128
1132
1053
  /* KEYED_FRAGMENT */
1133
1054
  ))
1134
- ]),
1135
- _: 3
1136
- /* FORWARDED */
1137
- })) : $("v-if", !0)
1055
+ ],
1056
+ 64
1057
+ /* STABLE_FRAGMENT */
1058
+ )) : (E(), L(
1059
+ ve,
1060
+ { key: 2 },
1061
+ [
1062
+ Y(" 默认模式 "),
1063
+ G(k, null, {
1064
+ default: X(() => [
1065
+ (E(!0), L(
1066
+ ve,
1067
+ null,
1068
+ ft(p.value, (x, B) => {
1069
+ var A;
1070
+ return E(), L(
1071
+ "div",
1072
+ {
1073
+ class: K(["iking-privew-annex", { "is-bg": a.showBg }]),
1074
+ key: B,
1075
+ style: oe({
1076
+ marginBottom: B == ((A = a.list) == null ? void 0 : A.length) - 1 ? "0" : "10px",
1077
+ width: g.value
1078
+ })
1079
+ },
1080
+ [
1081
+ T("div", {
1082
+ class: "file-card",
1083
+ onClick: (te) => h(x)
1084
+ }, [
1085
+ G(S(Fi), {
1086
+ file: x,
1087
+ style: oe({ height: `${a.iconSize}px` }),
1088
+ class: "ikui-w-auto",
1089
+ fields: l.value
1090
+ }, null, 8, ["file", "style", "fields"]),
1091
+ T("div", Zs, [
1092
+ T(
1093
+ "div",
1094
+ Js,
1095
+ Te(x.name),
1096
+ 1
1097
+ /* TEXT */
1098
+ ),
1099
+ T(
1100
+ "div",
1101
+ Qs,
1102
+ Te(S(js)(x.size)),
1103
+ 1
1104
+ /* TEXT */
1105
+ )
1106
+ ]),
1107
+ T(
1108
+ "div",
1109
+ {
1110
+ class: K(["flex flex-center", { "hover-show": a.iconHoverShow }])
1111
+ },
1112
+ [
1113
+ a.showDownloadBtn ? (E(), ne(S(We), {
1114
+ key: 0,
1115
+ name: "iksvg_daochu",
1116
+ onClick: wt((te) => d(x), ["stop"]),
1117
+ bg: a.showBg,
1118
+ size: a.showBg ? "default" : 20,
1119
+ title: "下载"
1120
+ }, null, 8, ["onClick", "bg", "size"])) : Y("v-if", !0),
1121
+ S(n).includes(x.suffix) && a.showPreviewBtn ? (E(), ne(S(We), {
1122
+ key: 1,
1123
+ name: "iksvg_yulan",
1124
+ bg: a.showBg,
1125
+ size: a.showBg ? "default" : 20,
1126
+ title: "预览"
1127
+ }, null, 8, ["bg", "size"])) : Y("v-if", !0),
1128
+ me(v.$slots, "operation", {
1129
+ data: { ...x, findex: B }
1130
+ })
1131
+ ],
1132
+ 2
1133
+ /* CLASS */
1134
+ )
1135
+ ], 8, qs)
1136
+ ],
1137
+ 6
1138
+ /* CLASS, STYLE */
1139
+ );
1140
+ }),
1141
+ 128
1142
+ /* KEYED_FRAGMENT */
1143
+ ))
1144
+ ]),
1145
+ _: 3
1146
+ /* FORWARDED */
1147
+ })
1148
+ ],
1149
+ 2112
1150
+ /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
1151
+ ))
1138
1152
  ],
1139
1153
  64
1140
1154
  /* STABLE_FRAGMENT */
1141
- )) : $("v-if", !0),
1155
+ )) : Y("v-if", !0),
1142
1156
  G(S(no), {
1143
1157
  show: c.value,
1144
1158
  "onUpdate:show": y[0] || (y[0] = (x) => c.value = x),
@@ -1254,20 +1268,20 @@ const to = Ae(eo), io = /* @__PURE__ */ Q({
1254
1268
  };
1255
1269
  return (u, c) => {
1256
1270
  var h, d, g;
1257
- return r.value ? (E(), A(
1258
- Se,
1271
+ return r.value ? (E(), L(
1272
+ ve,
1259
1273
  { key: 0 },
1260
1274
  [
1261
- (h = i.value) != null && h.url && n.image ? (E(), ie(S(Vo), {
1275
+ (h = i.value) != null && h.url && n.image ? (E(), ne(S(Vo), {
1262
1276
  key: 0,
1263
1277
  onClose: c[0] || (c[0] = (p) => l()),
1264
1278
  ref: "previewImgRef",
1265
1279
  "url-list": [(d = i.value) == null ? void 0 : d.url],
1266
1280
  teleported: "",
1267
1281
  "z-index": 9999
1268
- }, null, 8, ["url-list"])) : $("v-if", !0),
1269
- $(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
1270
- $(" 文档类 "),
1282
+ }, null, 8, ["url-list"])) : Y("v-if", !0),
1283
+ Y(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
1284
+ Y(" 文档类 "),
1271
1285
  G(S(ru), {
1272
1286
  modelValue: n.video,
1273
1287
  "onUpdate:modelValue": c[1] || (c[1] = (p) => n.video = p),
@@ -1303,7 +1317,7 @@ const to = Ae(eo), io = /* @__PURE__ */ Q({
1303
1317
  ],
1304
1318
  64
1305
1319
  /* STABLE_FRAGMENT */
1306
- )) : $("v-if", !0);
1320
+ )) : Y("v-if", !0);
1307
1321
  };
1308
1322
  }
1309
1323
  });
@@ -1378,12 +1392,12 @@ const no = Ae(io), ro = {
1378
1392
  });
1379
1393
  return (i, n) => {
1380
1394
  const s = $e("el-tooltip"), l = $e("el-button");
1381
- return r.value.tableIconType === "icon" || !r.value.tableIconType ? (E(), A("span", ro, [
1382
- r.value.notip || !r.value.title ? (E(), A(
1395
+ return r.value.tableIconType === "icon" || !r.value.tableIconType ? (E(), L("span", ro, [
1396
+ r.value.notip || !r.value.title ? (E(), L(
1383
1397
  "i",
1384
1398
  {
1385
1399
  key: 0,
1386
- class: Y(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
1400
+ class: K(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
1387
1401
  [i.name]: t.value === "unocss",
1388
1402
  "show-bg": r.value.showBg || r.value.bg,
1389
1403
  default: r.value.size === "default",
@@ -1399,30 +1413,30 @@ const no = Ae(io), ro = {
1399
1413
  style: oe(e.value)
1400
1414
  },
1401
1415
  [
1402
- $(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
1403
- t.value === "iksig" ? (E(), A(
1416
+ Y(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
1417
+ t.value === "iksig" ? (E(), L(
1404
1418
  "i",
1405
1419
  {
1406
1420
  key: 0,
1407
- class: Y(`iksig ${r.value.name}`),
1421
+ class: K(`iksig ${r.value.name}`),
1408
1422
  style: oe(e.value)
1409
1423
  },
1410
1424
  null,
1411
1425
  6
1412
1426
  /* CLASS, STYLE */
1413
- )) : t.value === "svg" ? (E(), A("svg", so, [
1427
+ )) : t.value === "svg" ? (E(), L("svg", so, [
1414
1428
  T("use", {
1415
1429
  "xlink:href": `#${r.value.name}`
1416
1430
  }, null, 8, oo)
1417
- ])) : t.value === "img" ? (E(), A("img", {
1431
+ ])) : t.value === "img" ? (E(), L("img", {
1418
1432
  key: 2,
1419
1433
  src: r.value.name,
1420
1434
  class: "h-[1em] w-[1em]"
1421
- }, null, 8, ao)) : (E(), A(
1435
+ }, null, 8, ao)) : (E(), L(
1422
1436
  "i",
1423
1437
  {
1424
1438
  key: 3,
1425
- class: Y(r.value.name),
1439
+ class: K(r.value.name),
1426
1440
  style: oe(e.value)
1427
1441
  },
1428
1442
  null,
@@ -1432,7 +1446,7 @@ const no = Ae(io), ro = {
1432
1446
  ],
1433
1447
  6
1434
1448
  /* CLASS, STYLE */
1435
- )) : (E(), ie(s, {
1449
+ )) : (E(), ne(s, {
1436
1450
  key: 1,
1437
1451
  content: r.value.title,
1438
1452
  placement: "top"
@@ -1441,7 +1455,7 @@ const no = Ae(io), ro = {
1441
1455
  T(
1442
1456
  "i",
1443
1457
  {
1444
- class: Y(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
1458
+ class: K(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
1445
1459
  [i.name]: t.value === "unocss",
1446
1460
  "show-bg": r.value.showBg || r.value.bg,
1447
1461
  default: r.value.size === "default",
@@ -1456,29 +1470,29 @@ const no = Ae(io), ro = {
1456
1470
  style: oe(e.value)
1457
1471
  },
1458
1472
  [
1459
- t.value === "iksig" ? (E(), A(
1473
+ t.value === "iksig" ? (E(), L(
1460
1474
  "i",
1461
1475
  {
1462
1476
  key: 0,
1463
- class: Y(`iksig ${r.value.name}`),
1477
+ class: K(`iksig ${r.value.name}`),
1464
1478
  style: oe(e.value)
1465
1479
  },
1466
1480
  null,
1467
1481
  6
1468
1482
  /* CLASS, STYLE */
1469
- )) : t.value === "svg" ? (E(), A("svg", lo, [
1483
+ )) : t.value === "svg" ? (E(), L("svg", lo, [
1470
1484
  T("use", {
1471
1485
  "xlink:href": `#${r.value.name}`
1472
1486
  }, null, 8, uo)
1473
- ])) : t.value === "img" ? (E(), A("img", {
1487
+ ])) : t.value === "img" ? (E(), L("img", {
1474
1488
  key: 2,
1475
1489
  src: r.value.name,
1476
1490
  class: "h-[1em] w-[1em]"
1477
- }, null, 8, co)) : (E(), A(
1491
+ }, null, 8, co)) : (E(), L(
1478
1492
  "i",
1479
1493
  {
1480
1494
  key: 3,
1481
- class: Y(r.value.name),
1495
+ class: K(r.value.name),
1482
1496
  style: oe(e.value)
1483
1497
  },
1484
1498
  null,
@@ -1493,13 +1507,13 @@ const no = Ae(io), ro = {
1493
1507
  _: 1
1494
1508
  /* STABLE */
1495
1509
  }, 8, ["content"]))
1496
- ])) : (E(), ie(l, {
1510
+ ])) : (E(), ne(l, {
1497
1511
  key: 1,
1498
1512
  type: ["warning", "error"].includes(r.value.type) ? "danger" : ""
1499
1513
  }, {
1500
1514
  default: X(() => [
1501
1515
  st(
1502
- be(r.value.title),
1516
+ Te(r.value.title),
1503
1517
  1
1504
1518
  /* TEXT */
1505
1519
  )
@@ -1523,10 +1537,10 @@ const ho = /* @__PURE__ */ Rt(fo, [["__scopeId", "data-v-52806adf"]]), We = Ae(h
1523
1537
  }
1524
1538
  },
1525
1539
  setup(a) {
1526
- return (o, r) => (E(), A(
1540
+ return (o, r) => (E(), L(
1527
1541
  "div",
1528
1542
  {
1529
- class: Y({ "exit-main-page-maximize": a.showBg && a.fullscreen })
1543
+ class: K({ "exit-main-page-maximize": a.showBg && a.fullscreen })
1530
1544
  },
1531
1545
  [
1532
1546
  G(S(We), {
@@ -1574,7 +1588,7 @@ const po = /* @__PURE__ */ Rt(go, [["__scopeId", "data-v-da39e979"]]), vo = { cl
1574
1588
  });
1575
1589
  return (n, s) => {
1576
1590
  const l = $e("el-dialog");
1577
- return E(), ie(l, ni({
1591
+ return E(), ne(l, ni({
1578
1592
  modelValue: r.value,
1579
1593
  "onUpdate:modelValue": s[0] || (s[0] = (u) => r.value = u),
1580
1594
  "align-center": ""
@@ -1585,9 +1599,9 @@ const po = /* @__PURE__ */ Rt(go, [["__scopeId", "data-v-da39e979"]]), vo = { cl
1585
1599
  "modal-class": "baseDialog"
1586
1600
  }), ar({
1587
1601
  icon: X(() => [
1588
- ve(n.$slots, "title", {}, () => [
1602
+ me(n.$slots, "title", {}, () => [
1589
1603
  st(
1590
- be(n.title),
1604
+ Te(n.title),
1591
1605
  1
1592
1606
  /* TEXT */
1593
1607
  )
@@ -1595,24 +1609,24 @@ const po = /* @__PURE__ */ Rt(go, [["__scopeId", "data-v-da39e979"]]), vo = { cl
1595
1609
  ]),
1596
1610
  header: X(() => [
1597
1611
  T("div", vo, [
1598
- ve(n.$slots, "header", {}, () => [
1612
+ me(n.$slots, "header", {}, () => [
1599
1613
  st(
1600
- be(n.title),
1614
+ Te(n.title),
1601
1615
  1
1602
1616
  /* TEXT */
1603
1617
  )
1604
1618
  ])
1605
1619
  ]),
1606
- n.$attrs.showClose ? (E(), ie(S(We), {
1620
+ n.$attrs.showClose ? (E(), ne(S(We), {
1607
1621
  key: 0,
1608
1622
  onClick: e,
1609
1623
  name: t.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
1610
1624
  class: "absolute! top-[18px] right-[50px] icon-dialog-full",
1611
1625
  title: t.value ? "退出全屏" : "全屏"
1612
- }, null, 8, ["name", "title"])) : $("v-if", !0)
1626
+ }, null, 8, ["name", "title"])) : Y("v-if", !0)
1613
1627
  ]),
1614
1628
  default: X(() => [
1615
- ve(n.$slots, "default")
1629
+ me(n.$slots, "default")
1616
1630
  ]),
1617
1631
  _: 2
1618
1632
  /* DYNAMIC */
@@ -1620,7 +1634,7 @@ const po = /* @__PURE__ */ Rt(go, [["__scopeId", "data-v-da39e979"]]), vo = { cl
1620
1634
  n.$slots.footer ? {
1621
1635
  name: "footer",
1622
1636
  fn: X(() => [
1623
- ve(n.$slots, "footer")
1637
+ me(n.$slots, "footer")
1624
1638
  ]),
1625
1639
  key: "0"
1626
1640
  } : void 0
@@ -1931,7 +1945,7 @@ var wo = function(a, o) {
1931
1945
  });
1932
1946
  const bo = ["id"];
1933
1947
  function To(a, o, r, t, e, i) {
1934
- return E(), A("div", { id: a.id }, null, 8, bo);
1948
+ return E(), L("div", { id: a.id }, null, 8, bo);
1935
1949
  }
1936
1950
  pi.render = To;
1937
1951
  pi.__file = "src/components/DocumentEditor.vue";
@@ -1964,7 +1978,7 @@ const Eo = /* @__PURE__ */ Q({
1964
1978
  }), t = () => {
1965
1979
  console.info("文档加载完成", o.configOptions);
1966
1980
  };
1967
- return (e, i) => (E(), A(
1981
+ return (e, i) => (E(), L(
1968
1982
  "div",
1969
1983
  {
1970
1984
  style: oe({ height: o.officeHeight })
@@ -2161,18 +2175,18 @@ const Bo = {
2161
2175
  l.e("btn"),
2162
2176
  l.e("prev"),
2163
2177
  l.is("disabled", !i.infinite && w.value)
2164
- ]), L = q(() => [
2178
+ ]), A = q(() => [
2165
2179
  l.e("btn"),
2166
2180
  l.e("next"),
2167
2181
  l.is("disabled", !i.infinite && H.value)
2168
2182
  ]), te = q(() => {
2169
- const { scale: F, deg: W, offsetX: Z, offsetY: pe, enableTransition: _e } = y.value;
2170
- let ke = Z / F, De = pe / F;
2183
+ const { scale: F, deg: W, offsetX: Z, offsetY: pe, enableTransition: ke } = y.value;
2184
+ let Ce = Z / F, De = pe / F;
2171
2185
  const at = W * Math.PI / 180, Di = Math.cos(at), Oi = Math.sin(at);
2172
- ke = ke * Di + De * Oi, De = De * Di - Z / F * Oi;
2186
+ Ce = Ce * Di + De * Oi, De = De * Di - Z / F * Oi;
2173
2187
  const zt = {
2174
- transform: `scale(${F}) rotate(${W}deg) translate(${ke}px, ${De}px)`,
2175
- transition: _e ? "transform .3s" : ""
2188
+ transform: `scale(${F}) rotate(${W}deg) translate(${Ce}px, ${De}px)`,
2189
+ transition: ke ? "transform .3s" : ""
2176
2190
  };
2177
2191
  return v.value.name === e.CONTAIN.name && (zt.maxWidth = zt.maxHeight = "100%"), zt;
2178
2192
  });
@@ -2221,17 +2235,17 @@ const Bo = {
2221
2235
  function ce(F) {
2222
2236
  g.value = !1, F.target.alt = s("el.image.error");
2223
2237
  }
2224
- function Te(F) {
2238
+ function Ee(F) {
2225
2239
  if (g.value || F.button !== 0 || !c.value)
2226
2240
  return;
2227
2241
  y.value.enableTransition = !1;
2228
- const { offsetX: W, offsetY: Z } = y.value, pe = F.pageX, _e = F.pageY, ke = Vt.throttle((at) => {
2242
+ const { offsetX: W, offsetY: Z } = y.value, pe = F.pageX, ke = F.pageY, Ce = Vt.throttle((at) => {
2229
2243
  y.value = {
2230
2244
  ...y.value,
2231
2245
  offsetX: W + at.pageX - pe,
2232
- offsetY: Z + at.pageY - _e
2246
+ offsetY: Z + at.pageY - ke
2233
2247
  };
2234
- }), De = mt(document, "mousemove", ke);
2248
+ }), De = mt(document, "mousemove", Ce);
2235
2249
  mt(document, "mouseup", () => {
2236
2250
  De();
2237
2251
  }), F.preventDefault();
@@ -2248,8 +2262,8 @@ const Bo = {
2248
2262
  function Pi() {
2249
2263
  if (g.value)
2250
2264
  return;
2251
- const F = t(e), W = Object.values(e), Z = v.value.name, _e = ((W == null ? void 0 : W.findIndex((ke) => ke.name === Z)) + 1) % F.length;
2252
- v.value = e[F[_e]], Ii();
2265
+ const F = t(e), W = Object.values(e), Z = v.value.name, ke = ((W == null ? void 0 : W.findIndex((Ce) => Ce.name === Z)) + 1) % F.length;
2266
+ v.value = e[F[ke]], Ii();
2253
2267
  }
2254
2268
  function Ut(F) {
2255
2269
  const W = i.urlList.length;
@@ -2264,7 +2278,7 @@ const Bo = {
2264
2278
  function ze(F, W = {}) {
2265
2279
  if (g.value)
2266
2280
  return;
2267
- const { minScale: Z, maxScale: pe } = i, { zoomRate: _e, rotateDeg: ke, enableTransition: De } = {
2281
+ const { minScale: Z, maxScale: pe } = i, { zoomRate: ke, rotateDeg: Ce, enableTransition: De } = {
2268
2282
  zoomRate: i.zoomRate,
2269
2283
  rotateDeg: 90,
2270
2284
  enableTransition: !0,
@@ -2273,19 +2287,19 @@ const Bo = {
2273
2287
  switch (F) {
2274
2288
  case "zoomOut":
2275
2289
  y.value.scale > Z && (y.value.scale = Number.parseFloat(
2276
- (y.value.scale / _e).toFixed(3)
2290
+ (y.value.scale / ke).toFixed(3)
2277
2291
  ));
2278
2292
  break;
2279
2293
  case "zoomIn":
2280
2294
  y.value.scale < pe && (y.value.scale = Number.parseFloat(
2281
- (y.value.scale * _e).toFixed(3)
2295
+ (y.value.scale * ke).toFixed(3)
2282
2296
  ));
2283
2297
  break;
2284
2298
  case "clockwise":
2285
- y.value.deg += ke, n("rotate", y.value.deg);
2299
+ y.value.deg += Ce, n("rotate", y.value.deg);
2286
2300
  break;
2287
2301
  case "anticlockwise":
2288
- y.value.deg -= ke, n("rotate", y.value.deg);
2302
+ y.value.deg -= Ce, n("rotate", y.value.deg);
2289
2303
  break;
2290
2304
  }
2291
2305
  y.value.enableTransition = De;
@@ -2305,7 +2319,7 @@ const Bo = {
2305
2319
  * @description manually switch image
2306
2320
  */
2307
2321
  setActiveItem: Ut
2308
- }), (F, W) => (E(), ie(Cn, { to: "body" }, [
2322
+ }), (F, W) => (E(), ne(Cn, { to: "body" }, [
2309
2323
  G(wn, {
2310
2324
  name: "viewer-fade",
2311
2325
  appear: ""
@@ -2317,25 +2331,25 @@ const Bo = {
2317
2331
  ref_key: "wrapper",
2318
2332
  ref: c,
2319
2333
  tabindex: -1,
2320
- class: Y(S(l).e("wrapper")),
2334
+ class: K(S(l).e("wrapper")),
2321
2335
  style: oe({ zIndex: k.value })
2322
2336
  },
2323
2337
  [
2324
2338
  T(
2325
2339
  "div",
2326
2340
  {
2327
- class: Y(S(l).e("mask")),
2341
+ class: K(S(l).e("mask")),
2328
2342
  onClick: W[0] || (W[0] = wt((Z) => F.hideOnClickModal && ee(), ["self"]))
2329
2343
  },
2330
2344
  null,
2331
2345
  2
2332
2346
  /* CLASS */
2333
2347
  ),
2334
- $(" CLOSE "),
2348
+ Y(" CLOSE "),
2335
2349
  T(
2336
2350
  "span",
2337
2351
  {
2338
- class: Y([S(l).e("btn"), S(l).e("close")]),
2352
+ class: K([S(l).e("btn"), S(l).e("close")]),
2339
2353
  onClick: ee
2340
2354
  },
2341
2355
  [
@@ -2350,15 +2364,15 @@ const Bo = {
2350
2364
  2
2351
2365
  /* CLASS */
2352
2366
  ),
2353
- $(" ARROW "),
2354
- b.value ? $("v-if", !0) : (E(), A(
2355
- Se,
2367
+ Y(" ARROW "),
2368
+ b.value ? Y("v-if", !0) : (E(), L(
2369
+ ve,
2356
2370
  { key: 0 },
2357
2371
  [
2358
2372
  T(
2359
2373
  "span",
2360
2374
  {
2361
- class: Y(B.value),
2375
+ class: K(B.value),
2362
2376
  onClick: Li
2363
2377
  },
2364
2378
  [
@@ -2376,7 +2390,7 @@ const Bo = {
2376
2390
  T(
2377
2391
  "span",
2378
2392
  {
2379
- class: Y(L.value),
2393
+ class: K(A.value),
2380
2394
  onClick: Ai
2381
2395
  },
2382
2396
  [
@@ -2395,17 +2409,17 @@ const Bo = {
2395
2409
  64
2396
2410
  /* STABLE_FRAGMENT */
2397
2411
  )),
2398
- $(" ACTIONS "),
2412
+ Y(" ACTIONS "),
2399
2413
  T(
2400
2414
  "div",
2401
2415
  {
2402
- class: Y([S(l).e("btn"), S(l).e("actions")])
2416
+ class: K([S(l).e("btn"), S(l).e("actions")])
2403
2417
  },
2404
2418
  [
2405
2419
  T(
2406
2420
  "div",
2407
2421
  {
2408
- class: Y(S(l).e("actions__inner"))
2422
+ class: K(S(l).e("actions__inner"))
2409
2423
  },
2410
2424
  [
2411
2425
  G(S(Oe), {
@@ -2429,7 +2443,7 @@ const Bo = {
2429
2443
  T(
2430
2444
  "i",
2431
2445
  {
2432
- class: Y(S(l).e("actions__divider"))
2446
+ class: K(S(l).e("actions__divider"))
2433
2447
  },
2434
2448
  null,
2435
2449
  2
@@ -2437,7 +2451,7 @@ const Bo = {
2437
2451
  ),
2438
2452
  G(S(Oe), { onClick: Pi }, {
2439
2453
  default: X(() => [
2440
- (E(), ie(dr(v.value.icon)))
2454
+ (E(), ne(dr(v.value.icon)))
2441
2455
  ]),
2442
2456
  _: 1
2443
2457
  /* STABLE */
@@ -2445,7 +2459,7 @@ const Bo = {
2445
2459
  T(
2446
2460
  "i",
2447
2461
  {
2448
- class: Y(S(l).e("actions__divider"))
2462
+ class: K(S(l).e("actions__divider"))
2449
2463
  },
2450
2464
  null,
2451
2465
  2
@@ -2477,27 +2491,27 @@ const Bo = {
2477
2491
  2
2478
2492
  /* CLASS */
2479
2493
  ),
2480
- $(" CANVAS "),
2494
+ Y(" CANVAS "),
2481
2495
  T(
2482
2496
  "div",
2483
2497
  {
2484
- class: Y(S(l).e("canvas"))
2498
+ class: K(S(l).e("canvas"))
2485
2499
  },
2486
2500
  [
2487
- (E(!0), A(
2488
- Se,
2501
+ (E(!0), L(
2502
+ ve,
2489
2503
  null,
2490
- ft(F.urlList, (Z, pe) => gr((E(), A("img", {
2504
+ ft(F.urlList, (Z, pe) => gr((E(), L("img", {
2491
2505
  ref_for: !0,
2492
- ref: (_e) => h.value[pe] = _e,
2506
+ ref: (ke) => h.value[pe] = ke,
2493
2507
  key: Z,
2494
2508
  src: Z,
2495
2509
  style: oe(te.value),
2496
- class: Y(S(l).e("img")),
2510
+ class: K(S(l).e("img")),
2497
2511
  crossorigin: F.crossorigin,
2498
2512
  onLoad: ue,
2499
2513
  onError: ce,
2500
- onMousedown: Te
2514
+ onMousedown: Ee
2501
2515
  }, null, 46, Uo)), [
2502
2516
  [pr, pe === p.value]
2503
2517
  ])),
@@ -2508,7 +2522,7 @@ const Bo = {
2508
2522
  2
2509
2523
  /* CLASS */
2510
2524
  ),
2511
- ve(F.$slots, "default")
2525
+ me(F.$slots, "default")
2512
2526
  ],
2513
2527
  6
2514
2528
  /* CLASS, STYLE */
@@ -2645,7 +2659,7 @@ function M() {
2645
2659
  }
2646
2660
  }, M.apply(this, arguments);
2647
2661
  }
2648
- function me(a) {
2662
+ function ye(a) {
2649
2663
  return Go(a) || $o(a) || Ko(a) || Yo();
2650
2664
  }
2651
2665
  function Go(a) {
@@ -2971,7 +2985,7 @@ f.deepMerge = function(a, o) {
2971
2985
  if (f.typeOf(o[r]) === "Array" && f.typeOf(a[r]) === "Array") {
2972
2986
  if (f.typeOf(a[r]) === "Array") {
2973
2987
  var t;
2974
- (t = a[r]).push.apply(t, me(o[r]));
2988
+ (t = a[r]).push.apply(t, ye(o[r]));
2975
2989
  }
2976
2990
  } else
2977
2991
  f.typeOf(a[r]) === f.typeOf(o[r]) && a[r] !== null && f.typeOf(a[r]) === "Object" && !(o[r] instanceof window.Node) ? f.deepMerge(a[r], o[r]) : o[r] !== null && (a[r] = o[r]);
@@ -3325,15 +3339,15 @@ function ea(a, o, r) {
3325
3339
  function B() {
3326
3340
  s !== void 0 && y(s), u = 0, t = l = e = s = void 0;
3327
3341
  }
3328
- function L() {
3342
+ function A() {
3329
3343
  return s === void 0 ? n : x(Date.now());
3330
3344
  }
3331
3345
  function te() {
3332
3346
  return s !== void 0;
3333
3347
  }
3334
3348
  function ee() {
3335
- for (var z = Date.now(), re = w(z), ue = arguments.length, ce = new Array(ue), Te = 0; Te < ue; Te++)
3336
- ce[Te] = arguments[Te];
3349
+ for (var z = Date.now(), re = w(z), ue = arguments.length, ce = new Array(ue), Ee = 0; Ee < ue; Ee++)
3350
+ ce[Ee] = arguments[Ee];
3337
3351
  if (t = ce, e = this, l = z, re) {
3338
3352
  if (s === void 0)
3339
3353
  return k(l);
@@ -3342,7 +3356,7 @@ function ea(a, o, r) {
3342
3356
  }
3343
3357
  return s === void 0 && (s = v(H, o)), n;
3344
3358
  }
3345
- return ee.cancel = B, ee.flush = L, ee.pending = te, ee;
3359
+ return ee.cancel = B, ee.flush = A, ee.pending = te, ee;
3346
3360
  }
3347
3361
  function ta(a, o, r) {
3348
3362
  var t = !0, e = !0;
@@ -3525,7 +3539,7 @@ var Ki = {
3525
3539
  return v.ex = t ? (t[arguments[0]] || {}).msg : "", v;
3526
3540
  }
3527
3541
  }
3528
- ), de = "play", mi = "playing", Ke = "ended", ot = "pause", pt = "error", Mt = "seeking", Pe = "seeked", he = "timeupdate", vt = "waiting", Ie = "canplay", sa = "canplaythrough", He = "durationchange", Rn = "volumechange", Le = "loadeddata", oa = "loadedmetadata", Mn = "ratechange", Fn = "progress", yi = "loadstart", Ye = "emptied", aa = "stalled", la = "suspend", ua = "abort", ca = "bufferedChange", _i = "focus", Nn = "blur", ki = "ready", Bn = "urlNull", Ge = "autoplay_started", Ci = "autoplay_was_prevented", Ft = "complete", Et = "replay", wi = "destroy", Nt = "urlchange", ui = "download_speed_change", Hn = "leaveplayer", Un = "enterplayer", zn = "loading", Ee = "fullscreen_change", St = "cssFullscreen_change", xt = "mini_state_change", bi = "definition_change", fa = "before_definition_change", ci = "after_definition_change", ha = "SEI_PARSED", da = "retry", Ne = "video_resize", fi = "pip_change", Vn = "rotate", jn = "screenShot", It = "playnext", Wn = "shortcut", Gn = "xglog", Pt = "user_action", Bt = "reset", $n = "source_error", Kn = "source_success", ga = "switch_subtitle", Yn = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], Xn = {
3542
+ ), de = "play", mi = "playing", Ke = "ended", ot = "pause", pt = "error", Mt = "seeking", Pe = "seeked", he = "timeupdate", vt = "waiting", Ie = "canplay", sa = "canplaythrough", He = "durationchange", Rn = "volumechange", Le = "loadeddata", oa = "loadedmetadata", Mn = "ratechange", Fn = "progress", yi = "loadstart", Ye = "emptied", aa = "stalled", la = "suspend", ua = "abort", ca = "bufferedChange", _i = "focus", Nn = "blur", ki = "ready", Bn = "urlNull", Ge = "autoplay_started", Ci = "autoplay_was_prevented", Ft = "complete", Et = "replay", wi = "destroy", Nt = "urlchange", ui = "download_speed_change", Hn = "leaveplayer", Un = "enterplayer", zn = "loading", Se = "fullscreen_change", St = "cssFullscreen_change", xt = "mini_state_change", bi = "definition_change", fa = "before_definition_change", ci = "after_definition_change", ha = "SEI_PARSED", da = "retry", Ne = "video_resize", fi = "pip_change", Vn = "rotate", jn = "screenShot", It = "playnext", Wn = "shortcut", Gn = "xglog", Pt = "user_action", Bt = "reset", $n = "source_error", Kn = "source_success", ga = "switch_subtitle", Yn = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], Xn = {
3529
3543
  STATS_INFO: "stats_info",
3530
3544
  STATS_DOWNLOAD: "stats_download",
3531
3545
  STATS_RESET: "stats_reset"
@@ -3551,7 +3565,7 @@ const pa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3551
3565
  ENTER_PLAYER: Un,
3552
3566
  ERROR: pt,
3553
3567
  FPS_STUCK: qn,
3554
- FULLSCREEN_CHANGE: Ee,
3568
+ FULLSCREEN_CHANGE: Se,
3555
3569
  LEAVE_PLAYER: Hn,
3556
3570
  LOADED_DATA: Le,
3557
3571
  LOADED_METADATA: oa,
@@ -4156,7 +4170,7 @@ function Lt(a, o) {
4156
4170
  try {
4157
4171
  var n, s = (n = this.__hooks[a]).call.apply(n, [this, this].concat(Array.prototype.slice.call(arguments)));
4158
4172
  s ? s.then ? s.then(function(l) {
4159
- l !== !1 && yt.apply(void 0, [e, o, r.next].concat(me(t)));
4173
+ l !== !1 && yt.apply(void 0, [e, o, r.next].concat(ye(t)));
4160
4174
  }).catch(function(l) {
4161
4175
  throw l;
4162
4176
  }) : yt.apply(void 0, [this, o, r.next].concat(Array.prototype.slice.call(arguments))) : s === void 0 && yt.apply(void 0, [this, o, r.next].concat(Array.prototype.slice.call(arguments)));
@@ -4449,7 +4463,7 @@ const tn = /* @__PURE__ */ gi(Ea);
4449
4463
  var Sa = {
4450
4464
  CONTROLS: "controls",
4451
4465
  ROOT: "root"
4452
- }, K = {
4466
+ }, $ = {
4453
4467
  ROOT: "root",
4454
4468
  ROOT_LEFT: "rootLeft",
4455
4469
  ROOT_RIGHT: "rootRight",
@@ -4799,7 +4813,7 @@ var j = /* @__PURE__ */ function(a) {
4799
4813
  }, {
4800
4814
  key: "POSITIONS",
4801
4815
  get: function() {
4802
- return K;
4816
+ return $;
4803
4817
  }
4804
4818
  }]), r;
4805
4819
  }(Be), Aa = /* @__PURE__ */ function() {
@@ -4873,7 +4887,7 @@ function Da(a, o) {
4873
4887
  function Oa(a, o) {
4874
4888
  ct.unObserver(a, o);
4875
4889
  }
4876
- var ne = {
4890
+ var ie = {
4877
4891
  pluginGroup: {},
4878
4892
  init: function(o) {
4879
4893
  var r = o._pluginInfoId;
@@ -5189,11 +5203,11 @@ var Ra = function(o, r) {
5189
5203
  var t, e, i;
5190
5204
  r.preset && r.options ? i = new r.preset(r.options, o.config) : i = new r({}, o.config);
5191
5205
  var n = i, s = n.plugins, l = s === void 0 ? [] : s, u = n.ignores, c = u === void 0 ? [] : u, h = n.icons, d = h === void 0 ? {} : h, g = n.i18n, p = g === void 0 ? [] : g;
5192
- o.config.plugins || (o.config.plugins = []), o.config.ignores || (o.config.ignores = []), (t = o.config.plugins).push.apply(t, me(l)), (e = o.config.ignores).push.apply(e, me(c)), Object.keys(d).map(function(y) {
5206
+ o.config.plugins || (o.config.plugins = []), o.config.ignores || (o.config.ignores = []), (t = o.config.plugins).push.apply(t, ye(l)), (e = o.config.ignores).push.apply(e, ye(c)), Object.keys(d).map(function(y) {
5193
5207
  o.config.icons[y] || (o.config.icons[y] = d[y]);
5194
5208
  });
5195
5209
  var v = o.config.i18n || [];
5196
- p.push.apply(p, me(v)), o.config.i18n = p;
5210
+ p.push.apply(p, ye(v)), o.config.i18n = p;
5197
5211
  }, Ma = /* @__PURE__ */ function(a) {
5198
5212
  D(r, a);
5199
5213
  var o = O(r);
@@ -5290,16 +5304,16 @@ var Ra = function(o, r) {
5290
5304
  if (!i.root) {
5291
5305
  var l = i.position ? i.position : i.config && i.config.position ? i.config.position : s.position;
5292
5306
  switch (l) {
5293
- case K.CONTROLS_LEFT:
5307
+ case $.CONTROLS_LEFT:
5294
5308
  i.root = this.left;
5295
5309
  break;
5296
- case K.CONTROLS_RIGHT:
5310
+ case $.CONTROLS_RIGHT:
5297
5311
  i.root = this.right;
5298
5312
  break;
5299
- case K.CONTROLS_CENTER:
5313
+ case $.CONTROLS_CENTER:
5300
5314
  i.root = this.center;
5301
5315
  break;
5302
- case K.CONTROLS:
5316
+ case $.CONTROLS:
5303
5317
  i.root = this.root;
5304
5318
  break;
5305
5319
  default:
@@ -5440,7 +5454,7 @@ function gt(a, o) {
5440
5454
  var t = f.typeOf(o[r]), e = f.typeOf(a[r]);
5441
5455
  if (t === "Array") {
5442
5456
  var i;
5443
- e !== "Array" && (a[r] = []), (i = a[r]).push.apply(i, me(o[r]));
5457
+ e !== "Array" && (a[r] = []), (i = a[r]).push.apply(i, ye(o[r]));
5444
5458
  } else
5445
5459
  t === "Object" ? (e !== "Object" && (a[r] = {}), gt(a[r], o[r])) : a[r] = o[r];
5446
5460
  }), a;
@@ -5480,7 +5494,7 @@ function Ba(a) {
5480
5494
  textKeys: {},
5481
5495
  pId: a
5482
5496
  };
5483
- return gt(r.lang, fe.lang), (o = r.langKeys).push.apply(o, me(fe.langKeys)), gt(r.textKeys, fe.textKeys), r;
5497
+ return gt(r.lang, fe.lang), (o = r.langKeys).push.apply(o, ye(fe.langKeys)), gt(r.textKeys, fe.textKeys), r;
5484
5498
  }
5485
5499
  Ti(Fa);
5486
5500
  var rt = {
@@ -5635,7 +5649,7 @@ var Ua = ["play", "pause", "replay", "retry"], an = 0, ln = 0, Re = null, Ht = /
5635
5649
  });
5636
5650
  var b = na(k, e.playerId, je);
5637
5651
  if (v || k && (k === e._fullscreenEl || b))
5638
- y(), !e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !0, e.changeFullStyle(e.root, k, C.FULLSCREEN), e.emit(Ee, !0, e._fullScreenOffset), e.cssfullscreen && e.exitCssFullscreen();
5652
+ y(), !e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !0, e.changeFullStyle(e.root, k, C.FULLSCREEN), e.emit(Se, !0, e._fullScreenOffset), e.cssfullscreen && e.exitCssFullscreen();
5639
5653
  else if (e.fullscreen) {
5640
5654
  y();
5641
5655
  var w = m(e), H = w._fullScreenOffset, x = w.config;
@@ -5647,7 +5661,7 @@ var Ua = ["play", "pause", "replay", "retry"], an = 0, ln = 0, Re = null, Ht = /
5647
5661
  var B = e._fullscreenEl;
5648
5662
  !B && (e.root.contains(p.target) || p.target === e.root) && (B = p.target), e.recoverFullStyle(e.root, B, C.FULLSCREEN);
5649
5663
  }
5650
- e._fullscreenEl = null, e.emit(Ee, !1);
5664
+ e._fullscreenEl = null, e.emit(Se, !1);
5651
5665
  }
5652
5666
  }), _(m(e), "_onWebkitbeginfullscreen", function(p) {
5653
5667
  e._fullscreenEl = e.media, e.onFullscreenChange(p, !0);
@@ -5695,7 +5709,7 @@ var Ua = ["play", "pause", "replay", "retry"], an = 0, ln = 0, Re = null, Ht = /
5695
5709
  });
5696
5710
  g || (h.defaultDefinition = h.list[0].definition, g = h.list[0]), e.config.url = g.url, e.curDefinition = g;
5697
5711
  }
5698
- return e._bindEvents(), e._registerPresets(), e._registerPlugins(), ne.onPluginsReady(m(e)), e.getInitDefinition(), e.setState(V.READY), f.setTimeout(m(e), function() {
5712
+ return e._bindEvents(), e._registerPresets(), e._registerPlugins(), ie.onPluginsReady(m(e)), e.getInitDefinition(), e.setState(V.READY), f.setTimeout(m(e), function() {
5699
5713
  e.emit(ki);
5700
5714
  }, 0), e.onReady && e.onReady(), (e.config.videoInit || e.config.autoplay) && (!e.hasStart || e.state < V.ATTACHED) && e.start(), e;
5701
5715
  }
@@ -5715,7 +5729,7 @@ var Ua = ["play", "pause", "replay", "retry"], an = 0, ln = 0, Re = null, Ht = /
5715
5729
  })), console.error("this.confg.id or this.config.el can't be empty"), !1;
5716
5730
  }
5717
5731
  var s = Ha(this.root);
5718
- s && (U.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), s.destroy()), this.root.setAttribute(je, this.playerId), (e = Re) === null || e === void 0 || e.add(this), ne.init(this), this._initBaseDoms();
5732
+ s && (U.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), s.destroy()), this.root.setAttribute(je, this.playerId), (e = Re) === null || e === void 0 || e.add(this), ie.init(this), this._initBaseDoms();
5719
5733
  var l = this.constructor.XgVideoProxy;
5720
5734
  if (l && this.mediaConfig.mediaType === l.mediaType) {
5721
5735
  var u = this.innerContainer || this.root;
@@ -5724,7 +5738,7 @@ var Ua = ["play", "pause", "replay", "retry"], an = 0, ln = 0, Re = null, Ht = /
5724
5738
  this.attachVideoEvents(c), this.media = c;
5725
5739
  }
5726
5740
  if (this.media.setAttribute(je, this.playerId), this.config.controls) {
5727
- var h = this.config.controls.root || null, d = ne.register(this, Ma, {
5741
+ var h = this.config.controls.root || null, d = ie.register(this, Ma, {
5728
5742
  root: h
5729
5743
  });
5730
5744
  this.controls = d;
@@ -5739,12 +5753,12 @@ var Ua = ["play", "pause", "replay", "retry"], an = 0, ln = 0, Re = null, Ht = /
5739
5753
  "max-width": "100%",
5740
5754
  "padding-top": "".concat(y * 100 / v, "%")
5741
5755
  };
5742
- Object.keys(k).forEach(function(L) {
5743
- i.root.style[L] = k[L];
5756
+ Object.keys(k).forEach(function(A) {
5757
+ i.root.style[A] = k[A];
5744
5758
  });
5745
5759
  } else
5746
- ["width", "height"].forEach(function(L) {
5747
- i.config[L] && (typeof i.config[L] != "number" ? i.root.style[L] = i.config[L] : i.root.style[L] = "".concat(i.config[L], "px"));
5760
+ ["width", "height"].forEach(function(A) {
5761
+ i.config[A] && (typeof i.config[A] != "number" ? i.root.style[A] = i.config[A] : i.root.style[A] = "".concat(i.config[A], "px"));
5748
5762
  });
5749
5763
  var b = this.root.getBoundingClientRect(), w = b.width, H = b.height, x = b.left, B = b.top;
5750
5764
  return this.sizeInfo.width = w, this.sizeInfo.height = H, this.sizeInfo.left = x, this.sizeInfo.top = B, !0;
@@ -5792,7 +5806,7 @@ var Ua = ["play", "pause", "replay", "retry"], an = 0, ln = 0, Re = null, Ht = /
5792
5806
  var s = this.media.readyState;
5793
5807
  U.logInfo("_startInit readyState", s), this.config.autoplay && (!f.isMSE(this.media) && this.load(), (N.os.isIpad || N.os.isPhone) && this.mediaPlay());
5794
5808
  var l = this.config.startTime;
5795
- 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 < V.ATTACHED) && ne.afterInit(this), this.hasStart = !0, this.setState(V.ATTACHED), f.setTimeout(this, function() {
5809
+ 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 < V.ATTACHED) && ie.afterInit(this), this.hasStart = !0, this.setState(V.ATTACHED), f.setTimeout(this, function() {
5796
5810
  i.emit(Ft);
5797
5811
  }, 0);
5798
5812
  }
@@ -5813,7 +5827,7 @@ var Ua = ["play", "pause", "replay", "retry"], an = 0, ln = 0, Re = null, Ht = /
5813
5827
  if (!i && c[d.toLowerCase()])
5814
5828
  return;
5815
5829
  if (h.lazy && h.loader) {
5816
- var g = ne.lazyRegister(e, h);
5830
+ var g = ie.lazyRegister(e, h);
5817
5831
  h.forceBeforeInit && (g.then(function() {
5818
5832
  e._loadingPlugins.splice(e._loadingPlugins.indexOf(g), 1);
5819
5833
  }).catch(function(p) {
@@ -5840,13 +5854,13 @@ var Ua = ["play", "pause", "replay", "retry"], an = 0, ln = 0, Re = null, Ht = /
5840
5854
  value: function(e) {
5841
5855
  var i = null;
5842
5856
  switch (e) {
5843
- case K.ROOT_RIGHT:
5857
+ case $.ROOT_RIGHT:
5844
5858
  this.rightBar || (this.rightBar = f.createPositionBar("xg-right-bar", this.root)), i = this.rightBar;
5845
5859
  break;
5846
- case K.ROOT_LEFT:
5860
+ case $.ROOT_LEFT:
5847
5861
  this.leftBar || (this.leftBar = f.createPositionBar("xg-left-bar", this.root)), i = this.leftBar;
5848
5862
  break;
5849
- case K.ROOT_TOP:
5863
+ case $.ROOT_TOP:
5850
5864
  this.topBar || (this.topBar = f.createPositionBar("xg-top-bar", this.root), this.config.topBarAutoHide && f.addClass(this.topBar, C.TOP_BAR_AUTOHIDE)), i = this.topBar;
5851
5865
  break;
5852
5866
  default:
@@ -5858,17 +5872,17 @@ var Ua = ["play", "pause", "replay", "retry"], an = 0, ln = 0, Re = null, Ht = /
5858
5872
  }, {
5859
5873
  key: "registerPlugin",
5860
5874
  value: function(e, i) {
5861
- var n = ne.formatPluginInfo(e, i), s = n.PLUFGIN, l = n.options, u = this.config.plugins, c = ne.checkPluginIfExits(s.pluginName, u);
5875
+ var n = ie.formatPluginInfo(e, i), s = n.PLUFGIN, l = n.options, u = this.config.plugins, c = ie.checkPluginIfExits(s.pluginName, u);
5862
5876
  !c && u.push(s);
5863
- var h = ne.getRootByConfig(s.pluginName, this.config);
5877
+ var h = ie.getRootByConfig(s.pluginName, this.config);
5864
5878
  h.root && (l.root = h.root), h.position && (l.position = h.position);
5865
5879
  var d = l.position ? l.position : l.config && l.config.position || s.defaultConfig && s.defaultConfig.position;
5866
- return !l.root && typeof d == "string" && d.indexOf("controls") > -1 ? this.controls && this.controls.registerPlugin(s, l, s.pluginName) : (l.root || (l.root = this._getRootByPosition(d)), ne.register(this, s, l));
5880
+ return !l.root && typeof d == "string" && d.indexOf("controls") > -1 ? this.controls && this.controls.registerPlugin(s, l, s.pluginName) : (l.root || (l.root = this._getRootByPosition(d)), ie.register(this, s, l));
5867
5881
  }
5868
5882
  }, {
5869
5883
  key: "deregister",
5870
5884
  value: function(e) {
5871
- typeof e == "string" ? ne.unRegister(this, e) : e instanceof Be && ne.unRegister(this, e.pluginName);
5885
+ typeof e == "string" ? ie.unRegister(this, e) : e instanceof Be && ie.unRegister(this, e.pluginName);
5872
5886
  }
5873
5887
  }, {
5874
5888
  key: "unRegisterPlugin",
@@ -5892,12 +5906,12 @@ var Ua = ["play", "pause", "replay", "retry"], an = 0, ln = 0, Re = null, Ht = /
5892
5906
  }, {
5893
5907
  key: "plugins",
5894
5908
  get: function() {
5895
- return ne.getPlugins(this);
5909
+ return ie.getPlugins(this);
5896
5910
  }
5897
5911
  }, {
5898
5912
  key: "getPlugin",
5899
5913
  value: function(e) {
5900
- var i = ne.findPlugin(this, e);
5914
+ var i = ie.findPlugin(this, e);
5901
5915
  return i && i.pluginName ? i : null;
5902
5916
  }
5903
5917
  }, {
@@ -5931,7 +5945,7 @@ var Ua = ["play", "pause", "replay", "retry"], an = 0, ln = 0, Re = null, Ht = /
5931
5945
  value: function(e) {
5932
5946
  var i = this;
5933
5947
  if (!(this.state > V.ATTACHING))
5934
- return !e && !this.config.url && this.getInitDefinition(), this.hasStart = !0, this.setState(V.ATTACHING), this._registerPlugins(!1), ne.beforeInit(this).then(function() {
5948
+ return !e && !this.config.url && this.getInitDefinition(), this.hasStart = !0, this.setState(V.ATTACHING), this._registerPlugins(!1), ie.beforeInit(this).then(function() {
5935
5949
  if (i.config) {
5936
5950
  e || (e = i.url || i.config.url);
5937
5951
  var n = i._preProcessUrl(e), s = i._startInit(n.url);
@@ -6108,7 +6122,7 @@ var Ua = ["play", "pause", "replay", "retry"], an = 0, ln = 0, Re = null, Ht = /
6108
6122
  value: function() {
6109
6123
  var e, i = this, n = this.innerContainer, s = this.root, l = this.media;
6110
6124
  if (!(!s || !l)) {
6111
- if (this.hasStart = !1, this._useAutoplay = !1, s.removeAttribute(je), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), f.clearAllTimers(this), this.emit(wi), (e = Re) === null || e === void 0 || e.remove(this), ne.destroy(this), Jn(this), M(R(r.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), n)
6125
+ if (this.hasStart = !1, this._useAutoplay = !1, s.removeAttribute(je), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), f.clearAllTimers(this), this.emit(wi), (e = Re) === null || e === void 0 || e.remove(this), ie.destroy(this), Jn(this), M(R(r.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), n)
6112
6126
  for (var u = n.children, c = 0; c < u.length; c++)
6113
6127
  n.removeChild(u[c]);
6114
6128
  !n && l instanceof window.Node && s.contains(l) && s.removeChild(l), ["topBar", "leftBar", "rightBar", "innerContainer"].map(function(d) {
@@ -6211,7 +6225,7 @@ var Ua = ["play", "pause", "replay", "retry"], an = 0, ln = 0, Re = null, Ht = /
6211
6225
  var i = e ? "".concat(C.INNER_FULLSCREEN, " ").concat(C.CSS_FULLSCREEN) : C.CSS_FULLSCREEN;
6212
6226
  this.changeFullStyle(this.root, e, i);
6213
6227
  var n = this.config.fullscreen, s = n === void 0 ? {} : n, l = s.useCssFullscreen === !0 || typeof s.useCssFullscreen == "function" && s.useCssFullscreen();
6214
- l && (this.fullscreen = !0, this.emit(Ee, !0)), this._cssfullscreenEl = e, this.cssfullscreen = !0, this.emit(St, !0);
6228
+ l && (this.fullscreen = !0, this.emit(Se, !0)), this._cssfullscreenEl = e, this.cssfullscreen = !0, this.emit(St, !0);
6215
6229
  }
6216
6230
  }, {
6217
6231
  key: "exitCssFullscreen",
@@ -6221,7 +6235,7 @@ var Ua = ["play", "pause", "replay", "retry"], an = 0, ln = 0, Re = null, Ht = /
6221
6235
  this.recoverFullStyle(this.root, this._cssfullscreenEl, e);
6222
6236
  else {
6223
6237
  var i = this.config.fullscreen, n = i === void 0 ? {} : i, s = n.useCssFullscreen === !0 || typeof n.useCssFullscreen == "function" && n.useCssFullscreen();
6224
- s ? (this.recoverFullStyle(this.root, this._cssfullscreenEl, e), this.fullscreen = !1, this.emit(Ee, !1)) : this.removeClass(e);
6238
+ s ? (this.recoverFullStyle(this.root, this._cssfullscreenEl, e), this.fullscreen = !1, this.emit(Se, !1)) : this.removeClass(e);
6225
6239
  }
6226
6240
  this._cssfullscreenEl = null, this.cssfullscreen = !1, this.emit(St, !1);
6227
6241
  }
@@ -6231,13 +6245,13 @@ var Ua = ["play", "pause", "replay", "retry"], an = 0, ln = 0, Re = null, Ht = /
6231
6245
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.config.fullscreenTarget;
6232
6246
  this.cssfullscreen && this.exitCssFullscreen(e);
6233
6247
  var i = e ? "".concat(C.INNER_FULLSCREEN, " ").concat(C.ROTATE_FULLSCREEN) : C.ROTATE_FULLSCREEN;
6234
- this._fullscreenEl = e || this.root, this.changeFullStyle(this.root, e, i, C.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);
6248
+ this._fullscreenEl = e || this.root, this.changeFullStyle(this.root, e, i, C.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(Se, !0);
6235
6249
  }
6236
6250
  }, {
6237
6251
  key: "exitRotateFullscreen",
6238
6252
  value: function(e) {
6239
6253
  var i = this._fullscreenEl !== this.root ? "".concat(C.INNER_FULLSCREEN, " ").concat(C.ROTATE_FULLSCREEN) : C.ROTATE_FULLSCREEN;
6240
- this.recoverFullStyle(this.root, this._fullscreenEl, i, C.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);
6254
+ this.recoverFullStyle(this.root, this._fullscreenEl, i, C.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !1, this.fullscreen = !1, this.setRotateDeg(0), this.emit(Se, !1), this._rootStyle && (this.root.style.style = this._rootStyle, this._rootStyle = !1);
6241
6255
  }
6242
6256
  }, {
6243
6257
  key: "setRotateDeg",
@@ -6438,8 +6452,8 @@ var Ua = ["play", "pause", "replay", "retry"], an = 0, ln = 0, Re = null, Ht = /
6438
6452
  var B = w - b;
6439
6453
  g = -B / 2 / x * 100, h.x = v === 3 ? g + i / 2 : g - i / 2, d = B / 2 / H * 100, h.y = v === 3 ? d + n / 2 : d - n / 2, h.scale = p, this.media.style.width = "".concat(x, "px"), this.media.style.height = "".concat(H, "px");
6440
6454
  }
6441
- var L = f.getTransformStyle(h, this.media.style.transform || this.media.style.webkitTransform);
6442
- this.media.style.transform = L, this.media.style.webkitTransform = L;
6455
+ var A = f.getTransformStyle(h, this.media.style.transform || this.media.style.webkitTransform);
6456
+ this.media.style.transform = A, this.media.style.webkitTransform = A;
6443
6457
  }
6444
6458
  }
6445
6459
  }
@@ -6596,7 +6610,7 @@ var Ua = ["play", "pause", "replay", "retry"], an = 0, ln = 0, Re = null, Ht = /
6596
6610
  console.error("Sorry, set lang fail, because the language [".concat(e, "] is not supported now, list of all supported languages is [").concat(rt.langKeys.join(), "] "));
6597
6611
  return;
6598
6612
  }
6599
- this.config.lang = e, ne.setLang(e, this);
6613
+ this.config.lang = e, ie.setLang(e, this);
6600
6614
  }
6601
6615
  }, {
6602
6616
  key: "i18n",
@@ -7173,23 +7187,23 @@ function Si() {
7173
7187
  </svg>
7174
7188
  `, "image/svg+xml").firstChild;
7175
7189
  }
7176
- var we = {};
7190
+ var be = {};
7177
7191
  function Ga(a, o) {
7178
7192
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
7179
7193
  start: null,
7180
7194
  end: null
7181
7195
  };
7182
- return we[a] && window.clearTimeout(we[a].id), we[a] = {}, r.start && r.start(), we[a].id = window.setTimeout(function() {
7183
- r.end && r.end(), window.clearTimeout(we[a].id), delete we[a];
7184
- }, o), we[a].id;
7196
+ return be[a] && window.clearTimeout(be[a].id), be[a] = {}, r.start && r.start(), be[a].id = window.setTimeout(function() {
7197
+ r.end && r.end(), window.clearTimeout(be[a].id), delete be[a];
7198
+ }, o), be[a].id;
7185
7199
  }
7186
7200
  function un(a) {
7187
7201
  if (a) {
7188
7202
  window.clearTimeout(a);
7189
7203
  return;
7190
7204
  }
7191
- Object.keys(we).map(function(o) {
7192
- window.clearTimeout(we[o].id), delete we[o];
7205
+ Object.keys(be).map(function(o) {
7206
+ window.clearTimeout(be[o].id), delete be[o];
7193
7207
  });
7194
7208
  }
7195
7209
  var $a = /* @__PURE__ */ function(a) {
@@ -7456,7 +7470,7 @@ var cn = /* @__PURE__ */ function(a) {
7456
7470
  key: "defaultConfig",
7457
7471
  get: function() {
7458
7472
  return {
7459
- position: K.CONTROLS_RIGHT,
7473
+ position: $.CONTROLS_RIGHT,
7460
7474
  index: 10
7461
7475
  };
7462
7476
  }
@@ -8898,7 +8912,7 @@ var ol = /* @__PURE__ */ function(a) {
8898
8912
  key: "defaultConfig",
8899
8913
  get: function() {
8900
8914
  return {
8901
- position: K.ROOT
8915
+ position: $.ROOT
8902
8916
  };
8903
8917
  }
8904
8918
  }]), r;
@@ -9496,7 +9510,7 @@ var ol = /* @__PURE__ */ function(a) {
9496
9510
  key: "defaultConfig",
9497
9511
  get: function() {
9498
9512
  return {
9499
- position: K.CONTROLS_CENTER,
9513
+ position: $.CONTROLS_CENTER,
9500
9514
  index: 0,
9501
9515
  disable: !1,
9502
9516
  isDragingSeek: !0,
@@ -9634,7 +9648,7 @@ var ol = /* @__PURE__ */ function(a) {
9634
9648
  key: "defaultConfig",
9635
9649
  get: function() {
9636
9650
  return {
9637
- position: K.CONTROLS_LEFT,
9651
+ position: $.CONTROLS_LEFT,
9638
9652
  index: 0,
9639
9653
  disable: !1
9640
9654
  };
@@ -9703,7 +9717,7 @@ var hl = /* @__PURE__ */ function(a) {
9703
9717
  key: "defaultConfig",
9704
9718
  get: function() {
9705
9719
  return {
9706
- position: K.ROOT_TOP,
9720
+ position: $.ROOT_TOP,
9707
9721
  index: 0
9708
9722
  };
9709
9723
  }
@@ -9752,7 +9766,7 @@ var pl = /* @__PURE__ */ function(a) {
9752
9766
  to: !c
9753
9767
  });
9754
9768
  }
9755
- }), this.bind(".xgplayer-fullscreen", ["touchend", "click"], this.handleFullscreen), this.on(Ee, function(l) {
9769
+ }), this.bind(".xgplayer-fullscreen", ["touchend", "click"], this.handleFullscreen), this.on(Se, function(l) {
9756
9770
  var u = e.find(".xg-tips");
9757
9771
  u && e.changeLangTextKey(u, l ? e.i18nKeys.EXITFULLSCREEN_TIPS : e.i18nKeys.FULLSCREEN_TIPS), e.animate(l);
9758
9772
  }), this.config.needBackIcon && (this.topBackIcon = this.player.registerPlugin({
@@ -9844,7 +9858,7 @@ var pl = /* @__PURE__ */ function(a) {
9844
9858
  key: "defaultConfig",
9845
9859
  get: function() {
9846
9860
  return {
9847
- position: K.CONTROLS_RIGHT,
9861
+ position: $.CONTROLS_RIGHT,
9848
9862
  index: 0,
9849
9863
  useCssFullscreen: !1,
9850
9864
  rotateFullscreen: !1,
@@ -10001,7 +10015,7 @@ var pl = /* @__PURE__ */ function(a) {
10001
10015
  key: "defaultConfig",
10002
10016
  get: function() {
10003
10017
  return {
10004
- position: K.CONTROLS_LEFT,
10018
+ position: $.CONTROLS_LEFT,
10005
10019
  index: 2,
10006
10020
  disable: !1
10007
10021
  };
@@ -10351,7 +10365,7 @@ var Cl = /* @__PURE__ */ function(a) {
10351
10365
  key: "defaultConfig",
10352
10366
  get: function() {
10353
10367
  return {
10354
- position: K.CONTROLS_RIGHT,
10368
+ position: $.CONTROLS_RIGHT,
10355
10369
  index: 1,
10356
10370
  disable: !1,
10357
10371
  showValueLabel: !1,
@@ -10461,7 +10475,7 @@ var bl = /* @__PURE__ */ function(a) {
10461
10475
  key: "defaultConfig",
10462
10476
  get: function() {
10463
10477
  return {
10464
- position: K.CONTROLS_RIGHT,
10478
+ position: $.CONTROLS_RIGHT,
10465
10479
  index: 6,
10466
10480
  innerRotate: !0,
10467
10481
  clockwise: !1,
@@ -10566,9 +10580,9 @@ var Qe = {
10566
10580
  }, {
10567
10581
  key: "copyStyleIntoPiPWindow",
10568
10582
  value: function(e) {
10569
- var i = me(document.styleSheets).map(function(s) {
10583
+ var i = ye(document.styleSheets).map(function(s) {
10570
10584
  try {
10571
- return me(s.cssRules).map(function(u) {
10585
+ return ye(s.cssRules).map(function(u) {
10572
10586
  return u.cssText;
10573
10587
  }).join("");
10574
10588
  } catch {
@@ -10678,7 +10692,7 @@ var Qe = {
10678
10692
  key: "defaultConfig",
10679
10693
  get: function() {
10680
10694
  return {
10681
- position: K.CONTROLS_RIGHT,
10695
+ position: $.CONTROLS_RIGHT,
10682
10696
  index: 6,
10683
10697
  showIcon: !1,
10684
10698
  preferDocument: !1,
@@ -10762,7 +10776,7 @@ var Il = /* @__PURE__ */ function(a) {
10762
10776
  key: "defaultConfig",
10763
10777
  get: function() {
10764
10778
  return {
10765
- position: K.CONTROLS_LEFT,
10779
+ position: $.CONTROLS_LEFT,
10766
10780
  index: 1,
10767
10781
  url: null,
10768
10782
  urlList: []
@@ -10775,13 +10789,13 @@ var Il = /* @__PURE__ */ function(a) {
10775
10789
  a.exports = t();
10776
10790
  })(_o, function() {
10777
10791
  return function r(t, e, i) {
10778
- var n = window, s = "application/octet-stream", l = i || s, u = t, c = !e && !i && u, h = document.createElement("a"), d = function(L) {
10779
- return String(L);
10792
+ var n = window, s = "application/octet-stream", l = i || s, u = t, c = !e && !i && u, h = document.createElement("a"), d = function(A) {
10793
+ return String(A);
10780
10794
  }, g = n.Blob || n.MozBlob || n.WebKitBlob || d, p = e || "download", v, y;
10781
10795
  if (g = g.call ? g.bind(n) : Blob, String(this) === "true" && (u = [u, l], l = u[0], u = u[1]), c && c.length < 2048 && (p = c.split("/").pop().split("?")[0], h.href = c, h.href.indexOf(c) !== -1)) {
10782
10796
  var k = new XMLHttpRequest();
10783
- return k.open("GET", c, !0), k.responseType = "blob", k.onload = function(L) {
10784
- r(L.target.response, p, s);
10797
+ return k.open("GET", c, !0), k.responseType = "blob", k.onload = function(A) {
10798
+ r(A.target.response, p, s);
10785
10799
  }, setTimeout(function() {
10786
10800
  k.send();
10787
10801
  }, 0), k;
@@ -10801,25 +10815,25 @@ var Il = /* @__PURE__ */ function(a) {
10801
10815
  u = new g([w], { type: l });
10802
10816
  }
10803
10817
  v = u instanceof g ? u : new g([u], { type: l });
10804
- function x(L) {
10805
- var te = L.split(/[:;,]/), ee = te[1], z = te[2] == "base64" ? atob : decodeURIComponent, re = z(te.pop()), ue = re.length, ce = 0, Te = new Uint8Array(ue);
10818
+ function x(A) {
10819
+ var te = A.split(/[:;,]/), ee = te[1], z = te[2] == "base64" ? atob : decodeURIComponent, re = z(te.pop()), ue = re.length, ce = 0, Ee = new Uint8Array(ue);
10806
10820
  for (ce; ce < ue; ++ce)
10807
- Te[ce] = re.charCodeAt(ce);
10808
- return new g([Te], { type: ee });
10821
+ Ee[ce] = re.charCodeAt(ce);
10822
+ return new g([Ee], { type: ee });
10809
10823
  }
10810
- function B(L, te) {
10824
+ function B(A, te) {
10811
10825
  if ("download" in h)
10812
- return h.href = L, h.setAttribute("download", p), h.className = "download-js-link", h.innerHTML = "downloading...", h.style.display = "none", document.body.appendChild(h), setTimeout(function() {
10826
+ return h.href = A, h.setAttribute("download", p), h.className = "download-js-link", h.innerHTML = "downloading...", h.style.display = "none", document.body.appendChild(h), setTimeout(function() {
10813
10827
  h.click(), document.body.removeChild(h), te === !0 && setTimeout(function() {
10814
10828
  n.URL.revokeObjectURL(h.href);
10815
10829
  }, 250);
10816
10830
  }, 66), !0;
10817
10831
  if (/(Version)\/(\d+)\.(\d+)(?:\.(\d+))?.*Safari\//.test(navigator.userAgent))
10818
- return /^data:/.test(L) && (L = "data:" + L.replace(/^data:([\w\/\-\+]+)/, s)), window.open(L) || confirm(`Displaying New Document
10832
+ return /^data:/.test(A) && (A = "data:" + A.replace(/^data:([\w\/\-\+]+)/, s)), window.open(A) || confirm(`Displaying New Document
10819
10833
 
10820
- Use Save As... to download, then click back to return to this page.`) && (location.href = L), !0;
10834
+ Use Save As... to download, then click back to return to this page.`) && (location.href = A), !0;
10821
10835
  var ee = document.createElement("iframe");
10822
- document.body.appendChild(ee), !te && /^data:/.test(L) && (L = "data:" + L.replace(/^data:([\w\/\-\+]+)/, s)), ee.src = L, setTimeout(function() {
10836
+ document.body.appendChild(ee), !te && /^data:/.test(A) && (A = "data:" + A.replace(/^data:([\w\/\-\+]+)/, s)), ee.src = A, setTimeout(function() {
10823
10837
  document.body.removeChild(ee);
10824
10838
  }, 333);
10825
10839
  }
@@ -10834,7 +10848,7 @@ Use Save As... to download, then click back to return to this page.`) && (locati
10834
10848
  } catch {
10835
10849
  return B("data:" + l + "," + encodeURIComponent(v));
10836
10850
  }
10837
- y = new FileReader(), y.onload = function(L) {
10851
+ y = new FileReader(), y.onload = function(A) {
10838
10852
  B(this.result);
10839
10853
  }, y.readAsDataURL(v);
10840
10854
  }
@@ -10927,7 +10941,7 @@ var Dl = /* @__PURE__ */ function(a) {
10927
10941
  key: "defaultConfig",
10928
10942
  get: function() {
10929
10943
  return {
10930
- position: K.CONTROLS_RIGHT,
10944
+ position: $.CONTROLS_RIGHT,
10931
10945
  index: 3,
10932
10946
  disable: !0
10933
10947
  };
@@ -11004,8 +11018,8 @@ var Dl = /* @__PURE__ */ function(a) {
11004
11018
  p = u.media.canvas;
11005
11019
  else {
11006
11020
  n.canvas ? (n.canvas.width = e || l.width, n.canvas.height = i || l.height) : n.createCanvas(e, i), p = n.canvas, v = n.canvasCtx;
11007
- var y = u.media.videoWidth / u.media.videoHeight, k = p.width / p.height, b = 0, w = 0, H = u.media.videoWidth, x = u.media.videoHeight, B, L, te, ee;
11008
- y > k ? (te = p.width, ee = p.width / y, B = 0, L = Math.round((p.height - ee) / 2)) : y === k ? (te = p.width, ee = p.height, B = 0, L = 0) : y < k && (te = p.height * y, ee = p.height, B = Math.round((p.width - te) / 2), L = 0), v.drawImage(u.media, b, w, H, x, B, L, te, ee);
11021
+ var y = u.media.videoWidth / u.media.videoHeight, k = p.width / p.height, b = 0, w = 0, H = u.media.videoWidth, x = u.media.videoHeight, B, A, te, ee;
11022
+ y > k ? (te = p.width, ee = p.width / y, B = 0, A = Math.round((p.height - ee) / 2)) : y === k ? (te = p.width, ee = p.height, B = 0, A = 0) : y < k && (te = p.height * y, ee = p.height, B = Math.round((p.width - te) / 2), A = 0), v.drawImage(u.media, b, w, H, x, B, A, te, ee);
11009
11023
  }
11010
11024
  var z = p.toDataURL(h, c).replace(h, "image/octet-stream");
11011
11025
  z = z.replace(/^data:image\/[^;]+/, "data:application/octet-stream"), d(z);
@@ -11045,7 +11059,7 @@ var Dl = /* @__PURE__ */ function(a) {
11045
11059
  key: "defaultConfig",
11046
11060
  get: function() {
11047
11061
  return {
11048
- position: K.CONTROLS_RIGHT,
11062
+ position: $.CONTROLS_RIGHT,
11049
11063
  index: 5,
11050
11064
  quality: 0.92,
11051
11065
  type: "image/png",
@@ -11131,7 +11145,7 @@ var Dl = /* @__PURE__ */ function(a) {
11131
11145
  }), this._delegates = null), this.root.innerHTML = null, this.parent.removeChild(this.root), this.root = null;
11132
11146
  }
11133
11147
  }]), a;
11134
- }(), Ce = {
11148
+ }(), we = {
11135
11149
  SIDE: "side",
11136
11150
  MIDDLE: "middle",
11137
11151
  DEFAULT: "default"
@@ -11140,7 +11154,7 @@ var Dl = /* @__PURE__ */ function(a) {
11140
11154
  HOVER: "hover"
11141
11155
  };
11142
11156
  function Ml(a, o) {
11143
- return a === Ce.SIDE ? o === K.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
11157
+ return a === we.SIDE ? o === $.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
11144
11158
  }
11145
11159
  var Ve = N.device === "mobile", Ot = /* @__PURE__ */ function(a) {
11146
11160
  D(r, a);
@@ -11158,7 +11172,7 @@ var Ve = N.device === "mobile", Ot = /* @__PURE__ */ function(a) {
11158
11172
  }), _(m(e), "onLeave", function(i) {
11159
11173
  i.stopPropagation(), e.emit("icon_mouseleave", {
11160
11174
  pluginName: e.pluginName
11161
- }), e.config.listType !== Ce.SIDE && e.isActive && e.toggle(!1);
11175
+ }), e.config.listType !== we.SIDE && e.isActive && e.toggle(!1);
11162
11176
  }), _(m(e), "onListEnter", function(i) {
11163
11177
  e.enterType = 2;
11164
11178
  }), _(m(e), "onListLeave", function(i) {
@@ -11174,7 +11188,7 @@ var Ve = N.device === "mobile", Ot = /* @__PURE__ */ function(a) {
11174
11188
  key: "afterCreate",
11175
11189
  value: function() {
11176
11190
  var e = this, i = this.config;
11177
- this.initIcons(), Ve = Ve || this.domEventType === "touch", Ve && N.device === "mobile" && i.listType === Ce.DEFAULT && (i.listType = Ce.SIDE), i.hidePortrait && f.addClass(this.root, "portrait"), this.on([Ne, Ee], function() {
11191
+ this.initIcons(), Ve = Ve || this.domEventType === "touch", Ve && N.device === "mobile" && i.listType === we.DEFAULT && (i.listType = we.SIDE), i.hidePortrait && f.addClass(this.root, "portrait"), this.on([Ne, Se], function() {
11178
11192
  e._resizeList();
11179
11193
  }), this.once(Ie, function() {
11180
11194
  i.list && i.list.length > 0 && (e.renderItemList(i.list), e.show());
@@ -11218,7 +11232,7 @@ var Ve = N.device === "mobile", Ot = /* @__PURE__ */ function(a) {
11218
11232
  value: function(e) {
11219
11233
  if (!(e === this.isActive || this.config.disable)) {
11220
11234
  var i = this.player.controls, n = this.config.listType;
11221
- e ? (n === Ce.SIDE ? i.blur() : i.focus(), this.optionsList && this.optionsList.show()) : (n === Ce.SIDE ? i.focus() : i.focusAwhile(), this.optionsList && this.optionsList.hide()), this.isActive = e;
11235
+ e ? (n === we.SIDE ? i.blur() : i.focus(), this.optionsList && this.optionsList.show()) : (n === we.SIDE ? i.focus() : i.focusAwhile(), this.optionsList && this.optionsList.hide()), this.isActive = e;
11222
11236
  }
11223
11237
  }
11224
11238
  }, {
@@ -11228,7 +11242,7 @@ var Ve = N.device === "mobile", Ot = /* @__PURE__ */ function(a) {
11228
11242
  var n = this.config, s = n.listType, l = n.list;
11229
11243
  this.curIndex = i.to.index, this.curItem = l[this.curIndex], this.changeCurrentText();
11230
11244
  var u = this.config.isItemClickHide;
11231
- (u || Ve || s === Ce.SIDE) && this.toggle(!1);
11245
+ (u || Ve || s === we.SIDE) && this.toggle(!1);
11232
11246
  }
11233
11247
  }, {
11234
11248
  key: "onIconClick",
@@ -11259,10 +11273,10 @@ var Ve = N.device === "mobile", Ot = /* @__PURE__ */ function(a) {
11259
11273
  },
11260
11274
  domEventType: Ve ? "touch" : "mouse"
11261
11275
  },
11262
- root: s.listType === Ce.SIDE ? u.innerContainer || u.root : this.root
11276
+ root: s.listType === we.SIDE ? u.innerContainer || u.root : this.root
11263
11277
  };
11264
11278
  if (this.config.isShowIcon) {
11265
- var h = this.player.root.getBoundingClientRect(), d = h.height, g = s.listType === Ce.MIDDLE ? d - 50 : d;
11279
+ var h = this.player.root.getBoundingClientRect(), d = h.height, g = s.listType === we.MIDDLE ? d - 50 : d;
11266
11280
  g && s.heightLimit && (c.config.maxHeight = "".concat(g, "px")), this.optionsList = new Rl(c), this.changeCurrentText(), this.show();
11267
11281
  }
11268
11282
  this._resizeList();
@@ -11271,7 +11285,7 @@ var Ve = N.device === "mobile", Ot = /* @__PURE__ */ function(a) {
11271
11285
  key: "_resizeList",
11272
11286
  value: function() {
11273
11287
  if (this.config.heightLimit) {
11274
- var e = this.player.root.getBoundingClientRect(), i = e.height, n = this.config.listType === Ce.MIDDLE ? i - 50 : i;
11288
+ var e = this.player.root.getBoundingClientRect(), i = e.height, n = this.config.listType === we.MIDDLE ? i - 50 : i;
11275
11289
  this.optionsList && this.optionsList.setStyle({
11276
11290
  maxHeight: "".concat(n, "px")
11277
11291
  });
@@ -11301,7 +11315,7 @@ var Ve = N.device === "mobile", Ot = /* @__PURE__ */ function(a) {
11301
11315
  key: "defaultConfig",
11302
11316
  get: function() {
11303
11317
  return {
11304
- position: K.CONTROLS_RIGHT,
11318
+ position: $.CONTROLS_RIGHT,
11305
11319
  index: 100,
11306
11320
  list: [],
11307
11321
  listType: "default",
@@ -11404,7 +11418,7 @@ var Ve = N.device === "mobile", Ot = /* @__PURE__ */ function(a) {
11404
11418
  key: "defaultConfig",
11405
11419
  get: function() {
11406
11420
  return J(J({}, Ot.defaultConfig), {}, {
11407
- position: K.CONTROLS_RIGHT,
11421
+ position: $.CONTROLS_RIGHT,
11408
11422
  index: 3,
11409
11423
  list: [],
11410
11424
  defaultDefinition: "",
@@ -11498,7 +11512,7 @@ var Ve = N.device === "mobile", Ot = /* @__PURE__ */ function(a) {
11498
11512
  key: "defaultConfig",
11499
11513
  get: function() {
11500
11514
  return J(J({}, Ot.defaultConfig), {}, {
11501
- position: K.CONTROLS_RIGHT,
11515
+ position: $.CONTROLS_RIGHT,
11502
11516
  index: 4,
11503
11517
  list: [2, 1.5, 1, 0.75, 0.5],
11504
11518
  className: "xgplayer-playbackrate",
@@ -11607,7 +11621,7 @@ var yn = /* @__PURE__ */ function(a) {
11607
11621
  key: "defaultConfig",
11608
11622
  get: function() {
11609
11623
  return {
11610
- position: K.CONTROLS_RIGHT,
11624
+ position: $.CONTROLS_RIGHT,
11611
11625
  index: 1,
11612
11626
  disable: !1,
11613
11627
  target: null
@@ -13078,7 +13092,7 @@ var Zl = /* @__PURE__ */ function(a) {
13078
13092
  key: "afterCreate",
13079
13093
  value: function() {
13080
13094
  var e = this.config, i = e.openSpeed, n = e.addSpeedTypeList;
13081
- (n == null ? void 0 : n.length) > 0 && Ct.push.apply(Ct, me(n)), this.initSpeedList(), this.on("real_time_speed", this._onRealSpeedChange), this.timer = null, this.cnt = 0, this.xhr = null, i && this.on([Le, Et], this.startTimer);
13095
+ (n == null ? void 0 : n.length) > 0 && Ct.push.apply(Ct, ye(n)), this.initSpeedList(), this.on("real_time_speed", this._onRealSpeedChange), this.timer = null, this.cnt = 0, this.xhr = null, i && this.on([Le, Et], this.startTimer);
13082
13096
  }
13083
13097
  }, {
13084
13098
  key: "getSpeedName",
@@ -13243,7 +13257,7 @@ var eu = /* @__PURE__ */ P(function a(o, r) {
13243
13257
  var t, e, i;
13244
13258
  I(this, a);
13245
13259
  var n = r && r.isMobileSimulateMode === "mobile", s = r.isLive, l = s ? [] : [ml, ul, Gl, jl, vl], u = [].concat(l, [cl, pl, bl, Il, Fl, Nl, Dl, Ol, Cl, Sl]), c = [ja, Wa, $a, ol, Ka, Ul, zl, Wl, Za];
13246
- this.plugins = [ql, za].concat(me(u), c, [rr, Zl]);
13260
+ this.plugins = [ql, za].concat(ye(u), c, [rr, Zl]);
13247
13261
  var h = n ? "mobile" : N.device;
13248
13262
  switch (h) {
13249
13263
  case "pc":
@@ -13256,7 +13270,7 @@ var eu = /* @__PURE__ */ P(function a(o, r) {
13256
13270
  (i = this.plugins).push.apply(i, [vn, Qt, yn]);
13257
13271
  }
13258
13272
  (N.os.isIpad || h === "pc") && this.plugins.push(Yl), N.os.isIpad && this.plugins.push(Qt), this.ignores = [], this.i18n = [];
13259
- }), ye = /* @__PURE__ */ function(a) {
13273
+ }), _e = /* @__PURE__ */ function(a) {
13260
13274
  D(r, a);
13261
13275
  var o = O(r);
13262
13276
  function r() {
@@ -13264,16 +13278,16 @@ var eu = /* @__PURE__ */ P(function a(o, r) {
13264
13278
  }
13265
13279
  return P(r);
13266
13280
  }(Ht);
13267
- _(ye, "defaultPreset", eu);
13268
- _(ye, "Util", f);
13269
- _(ye, "Sniffer", N);
13270
- _(ye, "Errors", Tt);
13271
- _(ye, "Events", pa);
13272
- _(ye, "Plugin", j);
13273
- _(ye, "BasePlugin", Be);
13274
- _(ye, "I18N", rt);
13275
- _(ye, "STATE_CLASS", C);
13276
- _(ye, "InstManager", er);
13281
+ _(_e, "defaultPreset", eu);
13282
+ _(_e, "Util", f);
13283
+ _(_e, "Sniffer", N);
13284
+ _(_e, "Errors", Tt);
13285
+ _(_e, "Events", pa);
13286
+ _(_e, "Plugin", j);
13287
+ _(_e, "BasePlugin", Be);
13288
+ _(_e, "I18N", rt);
13289
+ _(_e, "STATE_CLASS", C);
13290
+ _(_e, "InstManager", er);
13277
13291
  const tu = ["id"], iu = /* @__PURE__ */ Q({
13278
13292
  name: "ElImageViewer",
13279
13293
  __name: "Player",
@@ -13330,7 +13344,7 @@ const tu = ["id"], iu = /* @__PURE__ */ Q({
13330
13344
  }
13331
13345
  return ht(() => u.value, (g) => {
13332
13346
  g && di(() => {
13333
- r = new ye({
13347
+ r = new _e({
13334
13348
  id: c,
13335
13349
  url: i.value,
13336
13350
  ...s.value
@@ -13338,7 +13352,7 @@ const tu = ["id"], iu = /* @__PURE__ */ Q({
13338
13352
  });
13339
13353
  }), (g, p) => {
13340
13354
  const v = $e("el-icon");
13341
- return u.value ? (E(), ie(Cn, {
13355
+ return u.value ? (E(), ne(Cn, {
13342
13356
  key: 0,
13343
13357
  to: "body"
13344
13358
  }, [
@@ -13352,32 +13366,32 @@ const tu = ["id"], iu = /* @__PURE__ */ Q({
13352
13366
  {
13353
13367
  ref: "wrapper",
13354
13368
  tabindex: -1,
13355
- class: Y(S(h).e("wrapper")),
13369
+ class: K(S(h).e("wrapper")),
13356
13370
  style: oe({ zIndex: a.zIndex })
13357
13371
  },
13358
13372
  [
13359
13373
  T(
13360
13374
  "div",
13361
13375
  {
13362
- class: Y(S(h).e("mask"))
13376
+ class: K(S(h).e("mask"))
13363
13377
  },
13364
13378
  null,
13365
13379
  2
13366
13380
  /* CLASS */
13367
13381
  ),
13368
- $(" CANVAS "),
13382
+ Y(" CANVAS "),
13369
13383
  T(
13370
13384
  "div",
13371
13385
  {
13372
- class: Y(S(h).e("canvas"))
13386
+ class: K(S(h).e("canvas"))
13373
13387
  },
13374
13388
  [
13375
13389
  T("div", { id: S(c) }, null, 8, tu),
13376
- $(" CLOSE "),
13390
+ Y(" CLOSE "),
13377
13391
  T(
13378
13392
  "span",
13379
13393
  {
13380
- class: Y([S(h).e("btn"), S(h).e("close")]),
13394
+ class: K([S(h).e("btn"), S(h).e("close")]),
13381
13395
  onClick: d
13382
13396
  },
13383
13397
  [
@@ -13396,7 +13410,7 @@ const tu = ["id"], iu = /* @__PURE__ */ Q({
13396
13410
  2
13397
13411
  /* CLASS */
13398
13412
  ),
13399
- ve(g.$slots, "default", {}, void 0, !0)
13413
+ me(g.$slots, "default", {}, void 0, !0)
13400
13414
  ],
13401
13415
  6
13402
13416
  /* CLASS, STYLE */
@@ -13405,7 +13419,7 @@ const tu = ["id"], iu = /* @__PURE__ */ Q({
13405
13419
  _: 3
13406
13420
  /* FORWARDED */
13407
13421
  })
13408
- ])) : $("v-if", !0);
13422
+ ])) : Y("v-if", !0);
13409
13423
  };
13410
13424
  }
13411
13425
  });
@@ -13463,18 +13477,18 @@ const nu = /* @__PURE__ */ Rt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
13463
13477
  }, t = q(() => typeof o.labelWidth == "number" ? `${o.labelWidth}px` : o.labelWidth);
13464
13478
  return (e, i) => {
13465
13479
  const n = $e("el-descriptions-item"), s = $e("el-descriptions");
13466
- return E(), ie(
13480
+ return E(), ne(
13467
13481
  s,
13468
13482
  ni({ class: "margin-top" }, { ...a.titleProps, ...o }),
13469
13483
  {
13470
13484
  extra: X(() => [
13471
- ve(e.$slots, "extra", {}, void 0, !0)
13485
+ me(e.$slots, "extra", {}, void 0, !0)
13472
13486
  ]),
13473
13487
  default: X(() => [
13474
- (E(!0), A(
13475
- Se,
13488
+ (E(!0), L(
13489
+ ve,
13476
13490
  null,
13477
- ft(a.listData, (l) => (E(), ie(
13491
+ ft(a.listData, (l) => (E(), ne(
13478
13492
  n,
13479
13493
  ni({
13480
13494
  key: l[r.id],
@@ -13482,22 +13496,22 @@ const nu = /* @__PURE__ */ Rt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
13482
13496
  }, l[r.props]),
13483
13497
  {
13484
13498
  label: X(() => [
13485
- ve(e.$slots, l[r.label], {}, () => [
13499
+ me(e.$slots, l[r.label], {}, () => [
13486
13500
  st(
13487
- be(l[r.label]),
13501
+ Te(l[r.label]),
13488
13502
  1
13489
13503
  /* TEXT */
13490
13504
  )
13491
13505
  ], !0)
13492
13506
  ]),
13493
13507
  default: X(() => [
13494
- ve(e.$slots, `${l[r.label]}_value`, {}, () => [
13508
+ me(e.$slots, `${l[r.label]}_value`, {}, () => [
13495
13509
  st(
13496
- be(l[r.value]) + " ",
13510
+ Te(l[r.value]) + " ",
13497
13511
  1
13498
13512
  /* TEXT */
13499
13513
  ),
13500
- l[r.tag] ? (E(), ie(
13514
+ l[r.tag] ? (E(), ne(
13501
13515
  S(_r),
13502
13516
  {
13503
13517
  key: 0,
@@ -13506,7 +13520,7 @@ const nu = /* @__PURE__ */ Rt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
13506
13520
  {
13507
13521
  default: X(() => [
13508
13522
  st(
13509
- be(l[r.value].value),
13523
+ Te(l[r.value].value),
13510
13524
  1
13511
13525
  /* TEXT */
13512
13526
  )
@@ -13516,7 +13530,7 @@ const nu = /* @__PURE__ */ Rt(iu, [["__scopeId", "data-v-b301aa7d"]]), ru = Ae(n
13516
13530
  },
13517
13531
  1024
13518
13532
  /* DYNAMIC_SLOTS */
13519
- )) : $("v-if", !0),
13533
+ )) : Y("v-if", !0),
13520
13534
  G(S(to), {
13521
13535
  list: l[r.fileList],
13522
13536
  field: a.fileField,